![]() They basically said that both context menus and dropdown menus are outdated X11 "concepts", despite the fact that even android supports them. Since menus are gone, GtkMenuButton also lost its ability to show menus, and needs to be used with popovers in GTK 4. If you need complex layout in menu-like popups, consider directly using a GtkPopover instead. Tabular menus were rarely used and complicated the menu code, so they have not been brought over to GtkPopoverMenu. These new widgets can only be constructed from menu models, so the porting effort involves switching to menu models and actions. Additionally, GTK 4 introduces GtkPopoverMenuBar to replace menubars. Menus can already be replaced using GtkPopoverMenu in GTK 3. These widgets were heavily relying on X11-centric concepts such as override-redirect windows and grabs, and were hard to adjust to other windowing systems. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |