MenuButtonCreatePopupFunc


Description:

[ CCode ( instance_pos = 1.9 ) ]
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 [ [email protected]_popover] or [[email protected]_menu_model].

Parameters:

menu_button

the `GtkMenuButton`

user_data

User data passed to set_create_popup_func


Namespace: Gtk
Package: gtk4



2022 vala-language.org