ListModelT.getObject

Get the item at @position. If @position is greater than the number of items in @list, %NULL is returned.

%NULL is never returned for an index that is smaller than the length of the list. See g_list_model_get_n_items().

template ListModelT(TStruct)
ObjectG
getObject
()

Parameters

position uint

the position of the item to fetch

Return Value

Type: ObjectG

the object at @position.

Meta

Since

2.44