Wouldn't you just call your common callback from each widget's individual callback functions like this? common_callback(o, v);

On a related note, I tried coding this up in fluid. It works except that I can't get the label() of a menu item in its callback function. Is there a trick to that?

I've attached the .fl file.

Thanks,

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

Reply via email to