get_object


Description:

[ Version ( since = "2.44" ) ]
public Object? get_object (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 get_n_items.

Parameters:

this

a ListModel

position

the position of the item to fetch

Returns:

the object at position.