Sebastian Werner <[EMAIL PROTECTED]> writes:

> Daniel Dumitrescu schrieb:
>> I need to differentiate the "click" and "dblclick" events on the same
>> QxAtom widget. I saw that on "dblclick" mouse event the "click" event is
>> generated twice and i need to have different behavior on these two mouse
>> events.
>
> There is a special dblclick event, too. I am sorry, but we have no
> possibility to hide these click events as for the first click the system
> don't already know if this will be a dblclick later.

The operating system distinguishes these with a (configurable) timer.  No
event is generated upon an initial click until the timer has expired or
another click arrives.  If another click arrives within the timeout period,
then a doubleclick event is generated.  Otherwise, when the timer for the
initial click expires without another click arriving, a singleclick event is
generated.  Qooxdoo could do the same thing to provide both types of events.

Derrell


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
Qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to