mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
After some internal discussion we've decided to keep `Tree.clear` as it was, and add a `Tree.reset`, which does a `Tree.clear` but resets the label and data of `Tree.root` to the values given, while mirroring how `Tree.__init__` takes those parameters.