Michael Schmid wrote:
> Hi,
> 
> FLTK: 1.1.9
> 
> I have ten buttons which have all the same callback-function. How can I 
> find out which button it was that triggered callback?

The first argument of your callback function is a pointer to the widget 
that triggered the callback.

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

Reply via email to