StringList.getString

string getString(uint position)

Gets the string that is at position in self.

If self does not contain position items, null is returned.

This function returns the const char *. To get the object wrapping it, use [gio.list_model.ListModel.getItem].

Parameters

positionthe position to get the string for

Returns

the string at the given position