You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the examples "interactive.jl" and "widgets.jl", there is some code (only run if Sys.isapple()) that waits for the Gtk4 event loop to be started before "using Gtk4Makie". Without this, on my Mac, the GTK event loop freezes. This wait shouldn't be required.
The text was updated successfully, but these errors were encountered:
Hey, I think I'm hitting this issue but I'm not totally sure. I'm trying to use Gtk4Makie inside a package, and the window just doesn't show up. Since I'm in a package I can't wait for the main loop to start before using Gtk4Makie. Is that the same issue ?
For now I'm doing this as a workaround :
using Gtk4; win = GtkWindow(); show(win); destroy(win); using MyApp; win = MyApp.start()
When I use Gtk4Makie inside a package on Linux and Windows I don't need to do anything special. The event loop on Mac OS is handled a little differently because of a REPL issue (JuliaGtk/Gtk4.jl#23) and I suspect that's related.
In the examples "interactive.jl" and "widgets.jl", there is some code (only run if
Sys.isapple()
) that waits for the Gtk4 event loop to be started before "using Gtk4Makie". Without this, on my Mac, the GTK event loop freezes. This wait shouldn't be required.The text was updated successfully, but these errors were encountered: