Package ch.bailu.gtk.gtk
Interface MenuButton.OnMenuButtonCreatePopupFunc
- Enclosing class:
- MenuButton
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onMenuButtonCreatePopupFunc
(CallbackHandler __self, MenuButton menu_button, Pointer user_data) User-provided callback function to create a popup for a
`GtkMenuButton` on demand.
-
Method Details
-
onMenuButtonCreatePopupFunc
void onMenuButtonCreatePopupFunc(CallbackHandler __self, @Nonnull MenuButton menu_button, @Nullable Pointer user_data) 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 gtk_menu_button_set_create_popup_func()
-