MenuButton.setPopover

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.

class MenuButton
void
setPopover

Parameters

popover Widget

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

Meta

Since

3.12