Treeform.collapse

Treeform.collapse(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex) None