get_item


Description:

[ Version ( since = "2.44" ) ]
public abstract Object? get_item (uint position)

Get the item at position.

If position is greater than the number of items in this, null is returned.

null is never returned for an index that is smaller than the length of the list.

See also: get_n_items

Parameters:

this

a ListModel

position

the position of the item to fetch

Returns:

the item at position.




2022 vala-language.org