MenuButton.setUsePopover

Sets whether to construct a #GtkPopover instead of #GtkMenu when gtk.menu_button.MenuButton.setMenuModel is called. Note that this property is only consulted when a new menu model is set.

class MenuButton
void
setUsePopover
()

Parameters

usePopover bool

true to construct a popover from the menu model