Package: gio

Function gio:menu-append-section

Lambda List

gio:menu-append-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 appending a section menu to the emd of the menu. Combine the g:menu-item-new-section and g:menu-insert-item functions for a more flexible alternative.
 

See also

2024-12-30