[..]
> Your example below says "parent()", which is not necessarily the same as 
> parent
> window == "window()". But I assume you know that ;-)
>
  Sure.  Just keeping the example simple.
[..]
> Whether or not it's reliable ... that depends on what you call reliable.

>
> IMHO parent()->redraw() will draw the entire parent group with all children.
> This will also draw the parent group's background. So far, so good, but if
> (a) the parent group doesn't have a background (FL_FRAME_BOX or FL_NO_BOX), or
> (b) the label overlaps the parent group's border(s), then this wouldn't work 
> as
> expected. Is this "reliable" enough?

  It's as good as it gets, right?  :)

>
> OTOH, if you call window()->redraw(), then this would reliably draw 
> everything,
> but might flicker, if you don't use double buffering (Fl_Double_Window).
>

Thanks Albrecht, that's very helpful

Best,
Stan


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

Reply via email to