Treeform.setItemsExpandable

Treeform.setItemsExpandable(self, enable: bool, /) None