Hi Everyone, I'm still pretty new to fltk, but like it a lot. I'd like to know from some of the more experienced users how they usually go about updating the children Widgets of a Window.
The first time I did it, I made a new class for each Window and for each widget I made a pointer member. When the Widget was created, its pointer was assigned to the appropriate member. This time, I put the name of the Widget into the user_data field, and when I want to access a Widget, I cycle through the children using 'children()' and 'child()', checking for the name of the Widget I want using 'user_data()'. Is this generally how it's done, or is there something simpler I can do? Thanks, Jivan _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

