Method

GtkMenuButtonset_use_popover

since: 3.12

Declaration [src]

void
gtk_menu_button_set_use_popover (
  GtkMenuButton* menu_button,
  gboolean use_popover
)

Description [src]

Sets whether to construct a GtkPopover instead of GtkMenu when gtk_menu_button_set_menu_model() is called. Note that this property is only consulted when a new menu model is set.

Available since: 3.12

Parameters

use_popover

Type: gboolean

TRUE to construct a popover from the menu model.