Treeform.setAttribute Treeform.setAttribute(self, arg__1: PySide6.QtCore.Qt.WidgetAttribute, on: bool = True) → None