If you need control over that, use the BUTTON_CB callback instead of the
action callback. You will be able to distinguish between clicks and double
clicks.

Best,
Scuri



On Sat, Jun 28, 2014 at 1:42 PM, Robert Persson <[email protected]>
wrote:

> When clicking a button twice quite fast, it sends three ACTION callbacks.
> This has been discussed  quite a while ago on this list, and if I dont
> remember wrong it has something to do with the double click implementation
> of the button.
>
> This behaviour is quite a problem for me, I have a toolbar with undo/redo
> buttons, in a multi-undo application. Undoing two steps fast is quite
> common, so you see my problem.
>
> Other GUI toolkits i checked do not behave this way (and do not support
> double clicking for buttons since not relly usable (?))
>
> Could you guys at Tecgraf look if there is a way to fix this? Or possibly
> a way to at least disable this behaviour?
>
>
> /Regards
> Robert Persson, Sweden
>
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to