>       I'd agree -- you only should need to call init_sizes()
>       after you change the arrangement of the child widgets yourself,
>       such as with size(), position() or resize().
>
>       You shouldn't need to call init_sizes() if the Fl_Group
>       is resized, it will handle auto-sizing the children automatically
>       to try to keep their relative size and position arrangement.

I guess it's the concept of changing things "yourself" that I'm
trying to get my mind around.  Can I conclude that init_sizes()
needs to be called (only) after calling resize (or one of its cousins)
on a group member, from outside the execution context of the group's
resize method?

For instance, suppose I've derived MyGroup from Fl_Group,
and implemented its resize() method.
Now, for MyGroup* my_group, my_group->child(0)->size(..)
should be followed by my_group->init_sizes(), but my_group->resize(..)
should not be, even though it may do the same thing to child(0).

Is that about right?
Cheers,
Stan



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

Reply via email to