Package: gio

Function gio:menu-prepend

Lambda List

gio:menu-prepend (menu label action)

Arguments

menu -- a g:menu object
label -- a string with the section label, or nil
action -- a detailed action string, or nil

Details

Convenience function for prepending a normal menu item to the start of the menu. Combine the g:menu-item-new and g:menu-insert-item functions for a more flexible alternative.
 

See also

2024-12-30