> You are using fltk-2 I guess? You did not say... Oh sorry, right, I`m using fltk-2!
> Anyway, child_of() mainly is used to tell the WM that your widget > *is* a child of another window, e.g. for making modal dialogs and > etc... For this it is better that the parent window is const, so you > can not inadvertently change it in some way. okay, no exact reason, but I can understand it! > If you just want to get a pointer to your window's parent, you can > probably either do that by calling parent(), or much better would be > to explicitly pass a pointer to the parent into your child window > code, and use that for all manipulation of the main window. Yes, that was my alternative, thx! _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

