MenuButton.menuModel

Set menuModel property.

  1. gio.menu_model.MenuModel menuModel [@property getter]
  2. gio.menu_model.MenuModel menuModel [@property setter]
    class MenuButton
    @property
    void
    menuModel

Parameters

propval gio.menu_model.MenuModel

The #GMenuModel from which the popup will be created. Depending on the #GtkMenuButton:use-popover property, that may be a menu or a popover.

See gtk.menu_button.MenuButton.setMenuModel for the interaction with the #GtkMenuButton:popup property.