Am 12.01.2010 06:33, schrieb leowang:
> Dear All, As we know, the button widget has a callback, by default it
> will excute this callback afte we push and release the button. But
> how to add another callback to the button widget. So I can excute
> callback A when push the button, and excute callback B when release
> the button. Thanks.

Why not using the one and only callback, but checking for the last event
(FL_PUSH/ FL_RELEASE) to branch?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to