getRow

open fun getRow(position: <Error class: unknown class>): TreeListRow?

Gets the row object for the given row.

If @position is greater than the number of items in @self, null is returned.

The row object can be used to expand and collapse rows as well as to inspect its position in the tree. See its documentation for details.

This row object is persistent and will refer to the current item as long as the row is present in @self, independent of other rows being added or removed.

If @self is set to not be passthrough, this function is equivalent to calling g_list_model_get_item().

Do not confuse this function with method@Gtk.TreeListModel.get_child_row.

Return

The row item

Parameters

position

the position of the row to fetch