textual icon indicating copy to clipboard operation
textual copied to clipboard

TreeNode is not "exported"

Open Midnighter opened this issue 1 year ago • 0 comments

To be added by @willmcgugan

I'm adapting the DirectoryTree class for my own purposes and I noticed that I needed the TreeNode class to provide the right type hints. This class is currently considered "private" rather than public to textual.widgets. I don't see why it shouldn't be made public for purposes of subclassing TreeControl.

Thank you for considering it.

Midnighter avatar Oct 23 '22 22:10 Midnighter