What do you mean with absolute coordinates.
Coordinates have to be relative to something.

You can use:
e.getDocumentLeft() and e.getDocumentTop() to get the coordinates relative
to the document.
e.getScreenLeft() and e.getScreenTop() to get the coordinates relative to
the screen.
e.getViewportLeft() and e.getViewportTop() to get the coordinates relative
to the viewport.

To get a coordinate relative to the widget, I think the best way is:
var pos = this.getContainerLocation();
var x = e.getDocumentLeft() - pos.left;
var y = e.getDocumentTop() - pos.top;




--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Mouse-Event-click-with-absolute-coordinates-tp7582205p7582211.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to