> Whether you go that route or with Fl_Tree, in either case > you'd want your widgets to be in an Fl_Group that is probably > a custom class of your own derived from Fl_Group. > This way you can create one instance of this custom group > for every 'line' in the browser.
I'd add that you should give some thought early on to how many widgets you have to be able to browse through. The design Greg is describing is great for a few hundred perhaps, but won't scale up well. To handle larger numbers is possible, but it's a lot more work... you'll have to take over the task of figuring out which widgets should be visible and only rendering those to the screen. It would be a shame to put in the effort to build something, only to discover that you have to start all over at a late date. Hope this helps a little, Stan _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

