TreeView.collapseRow

bool collapseRow(gtk.tree_path.TreePath path)

Collapses a row (hides its child rows, if they exist).

Parameters

pathpath to a row in the tree_view

Returns

true if the row was collapsed.

Deprecated

Use [gtk.list_view.ListView] or [gtk.column_view.ColumnView] instead