Jared Wahlstrand

Results 56 comments of Jared Wahlstrand

It works for me on Linux, but I also see the flashing on Windows. For me, the children of the window still respond, but the flashing is super unpleasant. This...

For now you could look at Gtk4Makie for an example. I do not see MenuBar in the GTK4 documentation. We only provide what's in GTK4.

Here's a bit of documentation, hope this helps: https://juliagtk.github.io/Gtk4.jl/dev/manual/menus/ There's also an example of defining a menu and menu button.

It works correctly for me on Linux, but I also see the boxes on Windows. Seems likely to be an upstream issue -- I'll try updating Pango_jll.

Updating HarfBuzz_jll, a dependency of Pango_jll and GTK4_jll, fixes this. There is a PR: https://github.com/JuliaPackaging/Yggdrasil/pull/8392 Until that goes through (and a few other PR's that will be necessary to allow...

Fixed by https://github.com/JuliaPackaging/Yggdrasil/pull/8392

I've only used the new list views using `GtkStringList`, which wraps strings as `GObject`s. You can use this to store a list of keys of a Julia `Dict`, and then...

It seems extreme to have to define a new GObject to properly use the new list views, but it looks like that's what you do in the Javascript bindings: https://rmnvgr.gitlab.io/gtk4-gjs-book/application/list-widgets/...

What I had in mind was to use `GtkStringList` as the model and use the string items to look up items from a Julia dictionary in the `bind` callback, like...

Yeah, I think GtkStringList is mostly meant to support simple situations like GtkDropDown. For optimal efficiency it seems like you're supposed to create your own GListModel that produces GObjects on...