MenuButton.setPopover

void setPopover(gtk.widget.Widget popover = null)

Sets the [gtk.popover.Popover] that will be popped up when the menu_button is clicked.

If popover is null, the button is disabled.

If propertyGtk.MenuButton:menu-model is set, the menu model is dissociated from the menu_button, and the property is set to null.

Parameters

popovera [gtk.popover.Popover], or null to unset and disable the button