Gtk Documentation
»
Gtk.TreeView
»
Gtk.TreeView.collapse_all
Recursively collapses all visible, expanded nodes in @tree_view.
More About
Gtk.TreeView