Gtk.TreeView.prototype.collapse_row

function collapse_row(path:Gtk.TreePath):Boolean {
    // Gjs wrapper for gtk_tree_view_collapse_row()
}

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

path

path to a row in the tree_view

Returns

true if the row was collapsed.