> Link: http://www.fltk.org/str.php?L1774
> Version: 2.0-feature
>
>
> I think if you set the callback in the constructor you would achieve
> exactly the same functionality?

Not really.  The OP's idea ties the callback behavior to the
dynamic type of the class.  Setting the callback in the ctor
just sets a default (it can still be reset afterward).

I don't think I particularly care for the idea, but it's
not the same.


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

Reply via email to