Hi Florian,
On Friday 06 March 2009 Florian Giesen wrote:
> I have an inline application and would like to move a qooxdoo window
> to the click coordinates inside the application area. Has anybody a
> hint, how to implement this or is this not possible in a simple way?
I guess the easiest way would be to add a mouse event listener at the
"documentElement" element and check for this.
--snip--
qx.event.Registration.addListener(document.documentElement, "click",
function(e) {
var x_coord = e.getDocumentLeft();
var y_coord = e.getDocumentTop();
// move the window to the coords
}, this, true);
--snip--
cheers,
Alex
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel