MenuButton.setUsePopover

void setUsePopover(bool usePopover)

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.

Parameters

usePopovertrue to construct a popover from the menu model