matthiasm wrote:
> Now for your problem: Fl_Window as a subwindow creates a true new  
> window (in the sense of that OS) that is a child of the top level OS  
> window. That means that this subwindow will provde its own functions  
> for drawing and refresh, but also that the window will have its very  
> own graphics context, which may be useful for embedding plugins. (This  
> is not true for OS X which has no concept of subwindows).
> 
> So if you call a parent redraw of a subwindow, the parent will be  
> redrawn. The caller itself however will not receive a redraw event  
> because it is entirely independent of the parent window. The correct  
> way s to call redraw() on the Fl_Double_Window itself.

        Ah, I didn't know that.

        If an STR is made, it should probably recommend the above,
        or something like it, be added to Fl_Window and Fl_Double_Window's docs.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to