Package: gio

Function g-list-model-item

Lambda List

g-list-model-item (list position)

Arguments

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

Return Value

An pointer with the item at position.

Details

Get the item at position. If the position argument is greater than the number of items in the list, null-pointer is returned.

The null-pointer value is never returned for an index that is smaller than the length of the list. See the g-list-model-n-items function.
 

See also

2021-12-10