get_n_items


Description:

[ Version ( since = "2.44" ) ]
public abstract uint get_n_items ()

Gets the number of items in this.

Depending on the model implementation, calling this function may be less efficient than iterating the list with increasing values for position until get_item returns null.

Parameters:

this

a ListModel

Returns:

the number of items in this.




2022 vala-language.org