Method

GtkMenuButtonset_popover

since: 3.12

Declaration [src]

void
gtk_menu_button_set_popover (
  GtkMenuButton* menu_button,
  GtkWidget* popover
)

Description [src]

Sets the GtkPopover that will be popped up when the menu_button is clicked, or NULL to dissociate any existing popover and disable the button.

If GtkMenuButton:menu-model or GtkMenuButton:popup are set, those objects are dissociated from the menu_button, and those properties are set to NULL.

Available since: 3.12

Sets propertyGtk.MenuButton:popover

Parameters

popover

Type: GtkWidget

A GtkPopover, or NULL to unset and disable the button.

The argument can be NULL.
The data is owned by the caller of the method.