Package: gio

Function g-menu-prepend-section

Lambda List

g-menu-prepend-section (menu label section)

Arguments

menu -- a g-menu object
label -- a string with the section label, or nil
section -- a g-menu-model object with the items of the section

Details

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

See also

2021-8-16