Hello,
I want to use Libhandy and its auto-adaptive window in my application.
Libhandy’s HdyLeaflet window adapts nicely to both smaller (phone screens) and larger (tablet or PC) screens.
I made a small test that is entirely based on the Libhandy’s example code.
My question:
My question concerns the sidebar labels when the GUI is in (small) phone view mode.
Please study screenshots “Radio1.png” and “Radio2.png”.
When I first click one of the sidebar labels, for example I click the “Show page2”, and it shows me the page2.
Then I return to the sidebar menu (via “<” back button).
NOW IT IS IMPOSSIBLE TO CLICK THE SAME ( “Show page2”) LABEL AGAIN. .
It cannot be selected twice subsequently.
Please help.
Here is my code Radio.tar.xz
https://drive.google.com/open?id=1JfCzZPPKvtT13bIwu-dgqvKD_zwDySnt
It requires the libhandy-0.0-dev package.
$ sudo apt install libhandy-0.0-dev
Or git clone it from https://source.puri.sm/Librem5/libhandy
Follow the instructions.
Unpack the Radio.tar.xz, then do:
$ cd Radio
$ meson . _build --reconfigure
$ ninja -C _build
Run it:
$ _build/src/radio
Libhandy docs:
http://honk.sigxcpu.org/projects/libhandy/doc/
ps. I have added the GtkStack (and GtkStackSidebar) pages manually in the code (in main.c).
This is what I know best. I am not very frequent user of Glade (GUI editor).
Screenshots Radio1.png, Radio2.png and Radio3.png:
https://drive.google.com/open?id=1JfCzZPPKvtT13bIwu-dgqvKD_zwDySnt
Cumprimentos
Osmo Moma Antero and Bica
Kind, wine drinking lad from Portugal