code: def expand_all(self):
          
          if implementsCollapseAPI(self._tree):
              self._tree.expand_all()
              self._walker.clear_cache()
              self.refresh()
docs: Expand all positions; works only if the underlying tree allows it.