Package: gio

Function gio:menu-item-new-submenu

Lambda List

gio:menu-item-new-submenu (label submenu)

Arguments

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

Return Value

The new g:menu-item object.

Details

Creates a new g:menu-item object representing a submenu. This is a convenience API around the g:menu-item-new and g:menu-item-set-submenu functions.
 

See also

2024-12-30