Hi,

I want to postion a qx.ui.window.Window according to the mouse position
after it appears. But I don`t know how to get the mouse Position inside this
Event.

I want to do something like this:

this.win.addEventListener("appear", function(e) {
     
      if(this.win.getRight() > this.win.getWidth())
      {
        this.setLeft(e.getClientX());
      }
}, this);

Does somebody know how to get ClientX inside this Event. I had a look at the
mouse event class and also onto the domEvent but can`t find a solution.

Thanks in advance for any help

Philipp 
-- 
View this message in context: 
http://www.nabble.com/get-mouse-position-in-a-window-%3Eappear-event--tf4344620.html#a12377442
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to