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 function gtk-action-create-menu 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 function gtk-menu-new-from-model.
 

See also

2021-7-20