ListModelT.getItem

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
getItem
()

Parameters

position uint

the position of the item to fetch

Return: the item at @position.

Meta

Since

2.44