Re: [qooxdoo-devel] mouse event on drag node from tree outside the tree area

2008-04-23 Thread Ina Munteanu
Do you see any solution for this problem? (When i drag a node outside the tree area, i want to drop it back to it's initial position.. The current tree area - as the tree is now implemented - is not a rectangle. it only represents exactly the treeFolders and the border. ) Ina Munteanu wrote: >

Re: [qooxdoo-devel] mouse event on drag node from tree outside the tree area

2008-04-21 Thread Ina Munteanu
Hi, Sebastian! Thanks for your time. I attached a listener to my tree: myTree._containerObject.addEventListener("mouseout", onMouseOut); When moving the mouse over the tree area, e.getTarget() is always returns a TreeFolder. More, if i start dragging a node, "mouseout" event is no longer disp

Re: [qooxdoo-devel] mouse event on drag node from tree outside the tree area

2008-04-18 Thread Sebastian Werner
"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

Re: [qooxdoo-devel] mouse event on drag node from tree outside the tree area

2008-04-18 Thread Ina Munteanu
Hi, Derrell! Thanks for your suggestion. I tried to use myTree._containerObject.addEventListener("mouseout", "myEventHandler"); and myTree.getTree()._containerObject.addEventListener("mouseout", "myEventHandler"); Unfortunately, none of these two works. "mouseout" is still dispatched when i m

Re: [qooxdoo-devel] mouse event on drag node from tree outside the tree area

2008-04-17 Thread Derrell Lipman
On Thu, Apr 17, 2008 at 5:01 AM, Ina Munteanu <[EMAIL PROTECTED]> wrote: > > 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 Tr

Re: [qooxdoo-devel] mouse event on drag node from tree outside the tree area

2008-04-17 Thread Ina Munteanu
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 an

[qooxdoo-devel] mouse event on drag node from tree outside the tree area

2008-04-17 Thread Ina Munteanu
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