Package: gio

Function g-menu-item-new-from-model

Lambda List

g-menu-item-new-from-model (model index)

Arguments

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

Return Value

A 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 argument index must be valid, i.e. be sure to call the function g-menu-model-n-items first.
 

See also

2021-8-16