Topic was automatically imported from the old Question2Answer platform.
Asked By
Motenrain
I’ve been trying to find a way to implement a mouse enter/leave event for a list of Tree Items within a Tree parent (select mode set to row), with no luck so far. From what I can see the only enter/leave signal resides in the parent control (using its rect).
Does anyone know how I can resolve this issue? Or at the very least implement a custom event?
If you look at the docs for TreeItem, you can see that it only inherits from Object, so it doesn’t have any mouse signals. You’ll either have to try using the Tree functions or making your own tree with other controls.
Ah i see. I was hoping that wasn’t the case. Thanks for the info
If other unrelated code exists in the _process function add a bool and swap its state in these triggers. In my case the process only has one purpose so I enabled/disable the function.