request: treeview node highlight callback functionality #3

Closed
opened 3 years ago by urandom1 · 2 comments
urandom1 commented 3 years ago (Migrated from gitlab.com)
Owner

I'm currently using the SetSelectedFunc method of the treeview to do an action when a node is selected. However, I would like to do the action when the node is highlighted. Currently, the selection is done when a user presses [Enter]. Highlight would ideally be invoked when a node is set as the current node along with when SetCurrentNode is called.

Would such an API fit into the library?

I'm currently using the SetSelectedFunc method of the treeview to do an action when a node is selected. However, I would like to do the action when the node is highlighted. Currently, the selection is done when a user presses [Enter]. Highlight would ideally be invoked when a node is set as the current node along with when SetCurrentNode is called. Would such an API fit into the library?
tslocum commented 3 years ago (Migrated from gitlab.com)
Owner

Yes, this will fit into cview and I have started working on an implementation.

Yes, this will fit into cview and I have started working on an implementation.
tslocum commented 3 years ago (Migrated from gitlab.com)
Owner

closed via commit d7ac9e862c

closed via commit d7ac9e862c66e741c932d8ce8c1b781b1818e4cf
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.