Package: gtk
Accessor gtk:application-menubar
Lambda Listgtk:application-menubar (object) SyntaxArgumentsDetails The accessor for the menubar slot gets or sets the
menubar for windows of the application. Pass the nil value to unset the menubar. This is a menubar in the
traditional sense. This can only be done in the primary instance of the
application, after it has been registered. The handler for the "startup" signal is a good place to set the menubar. Depending on the desktop environment, the menubar may appear at the top of each window, or at the top of the screen. In some environments, if both the application menu and the menubar are set, the application menu will be presented as if it were the first item of the menubar. Other environments treat the two as completely separate - for example, the application menu may be rendered by the desktop shell while the menubar, if set, remains in each individual window. Use the base g:action-map interface to add actions, to respond to the user selecting these menu items. | See also |
2026-07-10