Thank you. Never looked in qx.bom namespace.

asaris

Hugh Gibson wrote:
Does qooxdoo supports mouse coordinates relative to target widget? I cannot find such feature.

Asaris, you can find the coordinates of the target widget using:

         var oElement = oTargetWidget.getElement();
         var oPosition = qx.bom.element.Location.get(oElement);

I use that for when the context menu key is pressed and the menu has to
be shown at the correct position. That should be enough of a hint for you
to work out the coordinates relative to the target.
Hugh

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to