MenuButton.setPopup

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

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

class MenuButton
void
setPopup

Parameters

menu Widget

a gtk.Menu, or NULL to unset and disable the button

Meta