Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tree] Add a read-only parent property to TreeNode #1397

Closed
davep opened this issue Dec 19, 2022 · 1 comment · Fixed by #1488
Closed

[Tree] Add a read-only parent property to TreeNode #1397

davep opened this issue Dec 19, 2022 · 1 comment · Fixed by #1488
Assignees
Labels
enhancement New feature or request

Comments

@davep
Copy link
Contributor

davep commented Dec 19, 2022

It would be really helpful if TreeNode exposed parent as a public property. In combination with something like #1396 it would make for some easy path-building code that wouldn't always need to have knowledge of the underlying data for the Tree.

@davep davep added the enhancement New feature or request label Dec 19, 2022
@willmcgugan willmcgugan changed the title Consider making parent a public property of a TreeNode [Tree] Add a read-only parent property to TreeNode Jan 4, 2023
@davep davep self-assigned this Jan 5, 2023
davep added a commit to davep/textual that referenced this issue Jan 5, 2023
@davep davep linked a pull request Jan 5, 2023 that will close this issue
@Textualize Textualize deleted a comment from github-actions bot Jan 5, 2023
@github-actions
Copy link

github-actions bot commented Jan 6, 2023

Don't forget to star the repository!

Follow @textualizeio for Textual updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant