Package: gio
Function gio:menu-item-new
Lambda Listgio:menu-item-new (label action) Argumentslabel -- a string with the section label, or nil action -- a detailed action string, or nil Return ValueThe new g:menu-item object. Details Creates a new g:menu-item object. If label is not nil it is used to set the "label"
attribute of the new menu item. If action is not nil it is used to set the "action" and possibly the "target" attribute of the new item. See the g:menu-item-set-detailed-action function for more information. | See also |
2024-12-30