This is handled by the native system and you'll get different events
for double clicks vs regular clicks. I can't think of any reason you'd
need to emulate it in your own code (unlike some other cases, like how
much the cursor needs to move for it to count as a double click),
you'll have to use ctypes to access the native APIs for this.
···
On 5/29/07, Mariano Di Felice <mariano.difelice@gmail.com> wrote:
Hi,
How can I know how many milliseconds are set in system for
double-click event, in windows and mac??
I assumed we had one too, but since theres the _DCLICK events I
couldn't find a use case when I started thinking about it. You need
the x/y rectangle when you're implementing owner-drawn sub windows (as
in OGL), but not the timing.
···
On 5/29/07, Robin Dunn <robin@alldunn.com> wrote:
Mariano Di Felice wrote:
> Hi,
> How can I know how many milliseconds are set in system for
> double-click event, in windows and mac??
Hmm... I thought we had a wx.SystemSettings.GetMetric ID for it, but I
don't see it now...