MenuButtonCreatePopupFunc
Description:
[ CCode ( instance_pos = 1.9 ) ]
public delegate void MenuButtonCreatePopupFunc (MenuButton menu_button)
public delegate void MenuButtonCreatePopupFunc (MenuButton menu_button)
User-provided callback function to create a popup for a `GtkMenuButton` on demand.
This function is called when the popup of menu_button
is shown, but none has been provided via [method@Gtk.MenuButton.set_popover]
or [method@Gtk.MenuButton.set_menu_model].
Parameters:
menu_button |
the `GtkMenuButton` |
user_data |
User data passed to set_create_popup_func |
Namespace: Gtk
Package: gtk4