FLTK is one of the best GUI libraries I've looked at.
And FLTK2 continues the trend, but ...

I'm confused why child widgets are added to the parent list by
use of a static pointer controlled by begin() / end()?

Would it not be cleaner to simply add a pointer to the parent
widget in the child widgets constructor?  That way the 'add'
function could be called directly with the parent widget rather
than through a system wide static pointer.

What is the advantage of this?

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

Reply via email to