Package: gtk
Accessor gtk:application-app-menu
Lambda Listgtk:application-app-menu (object) SyntaxArgumentsDetails Accessor of the app-menu slot of the gtk:application class. The gtk:application-app-menu function returns the application menu that has been set. The (setf gtk:application-app-menu) function sets the
application menu. 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 call this. The application menu is a single menu containing items that typically impact the application as a whole, rather than acting on a specific window or document. For example, you would expect to see "Preferences" or "Quit" in an application menu, but not "Save" or "Print". If supported, the application menu will be rendered by the desktop environment. Use the g:action-map interface to add actions, to respond to the user selecting these menu items. | See also |
2024-3-15