> Is it possible to detect when the fl_repeat_button is 
> 'repeating'? I need 
> to be able to distinguish between the repeating behaviour on 
> click-and-hold, and users simply clicking the button very quickly.

I don't think so... However, the actual code for fl_repeat_button is
pretty small, so I guess it would be easy to create your own version (I
think maybe a subclass wouldn't be enough...), and simply have the
repeat_callback set a flag each time it fires the callback... Something
like that could work...





SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to