MenuButtonCreatePopupFunc


Description:

[ CCode ( instance_pos = 1.9 ) ]
public delegate void MenuButtonCreatePopupFunc (MenuButton menu_button)

User-provided callback function to create a popup for menu_button on demand.

This function is called when the popup of menu_button is shown, but none has been provided via set_popover or set_menu_model.

Parameters:

menu_button

the MenuButton

user_data

User data passed to set_create_popup_func


Namespace: Gtk
Package: gtk4