Package: gtk

Function gtk:action-create-menu

Lambda List

gtk:action-create-menu (action)

Arguments

action -- a gtk:action object

Return Value

The gtk:menu widget provided by the action, or nil.

Details

If the action provides a gtk:menu widget as a submenu for the menu item or the toolbar item it creates, this function returns an instance of that menu.

Warning

The gtk:action-create-menu function has been deprecated since version 3.10 and should not be used in newly written code. Use the g:action interface and the g:menu-model object instead, and create a gtk:menu widget with the gtk:menu-new-from-model function.
 

See also

2024-9-26