Closed kinten108101 closed 10 months ago
Using widgets to construct the menus is more flexible. I think it's also quite efficient and expressive. I see no reason to move away from it.
It's not an efficiency problem but more of a design problem.
Setzer:
GNOME Calender:
Fragments:
Differences are:
These differences are small, but it'd be nice for this app to share a consistent style with other apps.
While changes can be made to style_gtk.css and app code, a future-proof solution would be to use what GTK provides by default.
Thanks for pointing this out. I think the benefits from a custom solution are more important in this case.
Popover menus in this app do not share the same style with other GTK apps, especially recent ones which use the style from Adwaita.
This app uses a custom popover menu solution (popover_menu_builder.py). This solution relies on GtkButton and other custom elements to craft menu while most apps use GioMenu to layout the menu then the library handles the rest of the UI.
I wonder if there's a reason why we use a custom popover menu solution in the first place?
I'm currently experimenting with GioMenu in my fork. If needed, I am ready to take on the task of migrating to GioMenu.