At runtime, I'm stuffing a grid of widgets into an Fl_Scroll. My program structure demands that the grid is generated in column-major order, but I'd like a row-major tab order when I'm done.
I implemented this by using insert() to add each component at its (currently) correct position. When the grid is large, this is rather slow. Performance is obviously much better if I add() each component, then sort the Fl_Scroll's array of children when I'm all done. It seems to work, but I'm wondering if it's safe to do. TIA, Stan _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

