You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the Tree widget sends out a message when a node is selected (that is, when there's a mouse click on a node, or the user presses Enter on a nide), when a node is expanded, and when a node is collapsed. Something that seems to be missing though is a message when a node is highlighted. This would allow other widgets to react to the cursor (that is, the node highlight) moving though the tree without needing to watch something like Tree.cursor_line, giving this sort of effect without needing to click on a node or expand it, etc:
Screen.Recording.2022-12-19.at.11.55.09.mov
The text was updated successfully, but these errors were encountered:
This is sort of different from selected. Selected is when someone mashes the
enter button or clicks on a node. Highlighted is when the cursor moves into
a new node.
See Textualize#1400.
davep
linked a pull request
Jan 9, 2023
that will
close
this issue
Currently the
Tree
widget sends out a message when a node is selected (that is, when there's a mouse click on a node, or the user presses Enter on a nide), when a node is expanded, and when a node is collapsed. Something that seems to be missing though is a message when a node is highlighted. This would allow other widgets to react to the cursor (that is, the node highlight) moving though the tree without needing to watch something likeTree.cursor_line
, giving this sort of effect without needing to click on a node or expand it, etc:Screen.Recording.2022-12-19.at.11.55.09.mov
The text was updated successfully, but these errors were encountered: