X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c25f90f60ceb17d33900f6a94f7f4ff2a009c584..26ee65c723cf55822c540506f064ec11d9b26858:/wxPython/src/_treectrl.i diff --git a/wxPython/src/_treectrl.i b/wxPython/src/_treectrl.i index b50cb86f8c..d992e451b6 100644 --- a/wxPython/src/_treectrl.i +++ b/wxPython/src/_treectrl.i @@ -516,6 +516,9 @@ public: // is item text in bold font? bool IsBold(const wxTreeItemId& item) const; + // is the control empty? + bool IsEmpty() const; + // if 'recursively' is False, only immediate children count, otherwise // the returned number is the number of all items in this branch @@ -673,6 +676,12 @@ public: // collapse the item without removing its children void Collapse(const wxTreeItemId& item); + // collapse the item and all its childs and thats childs + void CollapseAllChildren(const wxTreeItemId& item); + + // collapse all items + void CollapseAll(); + // collapse the item and remove all children void CollapseAndReset(const wxTreeItemId& item);