MenuButton.menuModel

Get menuModel property.

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

Return Value

Type: 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.