Skip to content

Conversation

@danirabbit
Copy link
Member

@danirabbit danirabbit commented Jan 16, 2026

Can be rebase merged

  • Use GLib.Menu instead of Gtk.MenuItem
  • PopoverMenu is sealed in GTK4, so make this a namespace with a static func to return a menu.
  • While we're here, set item sensitivity when the menu is shown, not when it's constructed. This way we can cache a copy of the menu and don't have to construct a new one every time

@danirabbit danirabbit requested a review from a team January 16, 2026 16:46
@danirabbit danirabbit moved this to Needs Review in GTK4 Porting Jan 16, 2026
@danirabbit danirabbit force-pushed the danirabbit/eventmenu-gtk4 branch from a1c2f4c to 0d6d471 Compare January 16, 2026 17:29
@danirabbit danirabbit force-pushed the danirabbit/eventmenu-gtk4 branch 4 times, most recently from e95ba0f to f33917c Compare January 20, 2026 15:52
@danirabbit
Copy link
Member Author

@leolost2605 can I get a re-review please : )

Fix remove item labels

Fix extra whitespace
Make it a namespace
@danirabbit danirabbit force-pushed the danirabbit/eventmenu-gtk4 branch from f33917c to c6494b0 Compare January 20, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

3 participants