Package: gio

Function gio:menu-item-new-from-model

Lambda List

gio:menu-item-new-from-model (model index)

Arguments

model -- a g:menu-model object
index -- an integer with the index of a menu item in model

Return Value

The new g:menu-item object.

Details

Creates a g:menu-item object as an exact copy of an existing menu item in a g:menu-model object. The index argument must be valid, that is, be sure to call the g:menu-model-n-items function first.
 

See also

2024-12-30