Hello kojix2 and everyone else,
Would it be possible to add a small example for how LibUI.new_scrolling_area
works?
Use case:
Actually I wrote a tiny ruby-gtk3 application that uses mpv to play local .mp3 files.
This is in a scrolled window, with a vbox, containing each local song via a button.
So I click on the button and then mpv plays the song. This is like the ultimate
minimal "jukebox".
On windows I tested - ffmpeg works, mpv works, libui works too.
And using the buttons works as well, but I'd like them in some scrolling container.
Unfortunately I have not yet managed to make this work. I'll google more to see
if I can find an example via scrolling-area, or perhaps I figure it out on my own
eventually. (The malloc and fiddle parts are over my head unfortunately ... I
should have started with C really ... )
At any rate as always please feel free to close the issue request at any moment
in time how you see fit. I also used glimmer-dsl-libui recently to embed images
into a "libui"-widget (on windows), that works too. I got some weird problems
though related to my own ruby code ... would be cool if fiddle-pointer stuff
could get better support for traceback problems. I kind of miss the introspection
you get with ruby methods. :(
Hello kojix2 and everyone else,
Would it be possible to add a small example for how LibUI.new_scrolling_area
works?
Use case:
Actually I wrote a tiny ruby-gtk3 application that uses mpv to play local .mp3 files.
This is in a scrolled window, with a vbox, containing each local song via a button.
So I click on the button and then mpv plays the song. This is like the ultimate
minimal "jukebox".
On windows I tested - ffmpeg works, mpv works, libui works too.
And using the buttons works as well, but I'd like them in some scrolling container.
Unfortunately I have not yet managed to make this work. I'll google more to see
if I can find an example via scrolling-area, or perhaps I figure it out on my own
eventually. (The malloc and fiddle parts are over my head unfortunately ... I
should have started with C really ... )
At any rate as always please feel free to close the issue request at any moment
in time how you see fit. I also used glimmer-dsl-libui recently to embed images
into a "libui"-widget (on windows), that works too. I got some weird problems
though related to my own ruby code ... would be cool if fiddle-pointer stuff
could get better support for traceback problems. I kind of miss the introspection
you get with ruby methods. :(