MenuButton.setPopover

Sets the GtkPopover that will be popped up when the @menu_button is clicked.

If @popover is %NULL, the button is disabled.

If [property@Gtk.MenuButton:menu-model] is set, the menu model is dissociated from the @menu_button, and the property is set to %NULL.

class MenuButton
void
setPopover

Parameters

popover Widget

a GtkPopover, or %NULL to unset and disable the button

Meta