The above pic is from Blender (which uses its home-built graphics kit), I like that 2D menu, is it possible to create one similarly with Gtk?
Expected; wanted to know if Gtk has built-in support for 2D menu, anyway np
There is an internal widget called GtkTreeMenu
but:
- is private
- it uses tree models and cell renderers
- it’s gone away from GTK4, just like every other
GtkMenu
-related widget
Popovers can hold complex widgets, which means they can deal with complex layouts; menus cannot, because menu widgets were written for very specific UI guidelines.
I see. Are the methods Gtk.Box.pack_start
,Gtk.Box.pack_end
being dropped too? After the release or just as the Gtk 4 is developing, can we get a list of changes that must be taken care while making apps for future compatibility?
Yes.
We have a whole porting guide. It’s usually kept up to date, and will definitely be the canonical source on release.
Found a typo; https://gnome.pages.gitlab.gnome.org/gtk/gtk/ch29s02.html#id-1.6.4.4.17, it should be “Adapt to GtkBox API changes”
Done! Forking took time…
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.