PopoverMenuBar.menuModel

gio.menu_model.MenuModel menuModel() @property nothrow

Get menuModel property.

Returns

The gio.menu_model.MenuModel from which the menu bar is created.

The model should only contain submenus as toplevel elements.

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

Set menuModel property.

Parameters

propvalThe gio.menu_model.MenuModel from which the menu bar is created. The model should only contain submenus as toplevel elements.