Open Kochise opened 3 years ago
Still experiencing the issue :
TreeItemNode ObjectTypes selection_changed
TreeItemNode Types pressed <- PARENT (???)
TreeItemNode ObjectTypes pressed
TreeItemNode Types clicked <- PARENT (???)
TreeItemNode ObjectTypes clicked
TreeItemNode VariableTypes selection_changed
TreeItemNode ObjectTypes selection_changed <- SIBLING (previously clicked)
TreeItemNode Types pressed <- PARENT (???)
TreeItemNode VariableTypes pressed
TreeItemNode Types clicked <- PARENT (???)
TreeItemNode VariableTypes clicked
Is there any reasoning behind this behavior ? I have to filter things to avoid fetching the wrong data on click event.
Feel free to create a pull request.
Hacked in a little event filter. Not a silver bullet though.
Still dunno the difference between pressed
and clicked
.
And why both clicked
and double_clicked
have to be emitted.
Hi, just experienced a strange behavior of the
TreeViewItem
object.When clicking on a child, the parent gets triggered as well.
tree_view.enaml.txt