Am 12.01.2010 11:59, schrieb leowang:

> Dear Ian & Edzard, Many thanks for your suggestion. But the default
> callback of the button widget will be called after the release event.
> So the push event will not call the callback. How to change to make
> the push and release event can both call the callback function?

Should be

pButton->when(FL_WHEN_CHANGED);
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to