Package: gio

Function gio:menu-insert

Lambda List

gio:menu-insert (menu pos label action)

Arguments

menu -- a g:menu object
pos -- an integer with the position at which to insert the menu item
label -- a string with the section label, or nil
action -- a detailed action string, or nil

Details

Convenience function for inserting a normal menu item into the menu. Combine the g:menu-item-new and g:menu-insert-item functions for a more flexible alternative.
 

See also

2024-12-30