ApplicationWindow.showMenubar

bool showMenubar() @property

Get showMenubar property.

Returns

If this property is true, the window will display a menubar

that includes the app menu and menubar, unless these are shown by the desktop shell. See [gtk.application.Application.setAppMenu] and [gtk.application.Application.setMenubar].

If false, the window will not display a menubar, regardless of whether the desktop shell is showing the menus or not.

void showMenubar(bool propval) @property

Set showMenubar property.

Parameters

propvalIf this property is true, the window will display a menubar that includes the app menu and menubar, unless these are shown by the desktop shell. See [gtk.application.Application.setAppMenu] and [gtk.application.Application.setMenubar]. If false, the window will not display a menubar, regardless of whether the desktop shell is showing the menus or not.