MenuButton.menuModel

gio.menu_model.MenuModel menuModel() @property

Get menuModel property.

Returns

The [gio.menu_model.MenuModel] from which the popup will be created.

See [gtk.menu_button.MenuButton.setMenuModel] for the interaction with the [gtk.menu_button.MenuButton.popover] property.

void menuModel(gio.menu_model.MenuModel propval) @property

Set menuModel property.

Parameters

propvalThe [gio.menu_model.MenuModel] from which the popup will be created. See [gtk.menu_button.MenuButton.setMenuModel] for the interaction with the [gtk.menu_button.MenuButton.popover] property.