"mouseout" events bubble up the children hierarchy, but you can easily add a check for the event's target if you want to test for the "mouseout" event of the tree only: e.getTarget() should really help. This is used internally in many other places as well. Generally these DOM-like events often behave identical to the original DOM events.
Sebastian Ina Munteanu schrieb: > I tried to attach an event listener > myTree.addEventListener("mouseout", myEventHandler); > but this was no help. Mouseout event is dispatched each time i leave a > TreeFolder node from tree, not only when i leave the Tree. > > > Ina Munteanu wrote: >> Hi, >> >> I am using a qx.ui.tree.Tree with drag and drop between tree nodes just >> like in example >> http://demo.qooxdoo.org/current/demobrowser/#test~Tree_6.html. >> As you can see, when a dragged node leaves the Tree area, the mouse >> ToolTip changes to "not allowed". On this event, when the node leaves the >> tree area, i want to drop the node back to its initial position. I don't >> know where can i dispatch an event like "node is dragged outside the tree >> area".. What i want is that when mouse ToolTip changes to "not allowed", >> to drop back the node. I didn't find where exactly the mouse ToolTip >> change happens. >> Do you have any idea if there is an event that i could handle when node >> leaves tree area, OR where could i dispatch this event? >> >> Thanks, >> Ina >> > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel