Package: gio

Function gio:list-model-item

Lambda List

gio:list-model-item (model pos)

Arguments

model -- a g:list-model object
pos -- an unsigned integer with the position of the item to fetch

Return Value

The g:object instance at pos.

Details

Get the item at pos. If the pos argument is greater than the number of items in the list model, nil is returned. The nil value is never returned for an index that is smaller than the length of the list model. See the g:list-model-n-items function.
 

See also

2024-12-17