> Hey, I'm new to fltk and will probably have a lot of questions.. I'm > attempting to go with fltk2 on x11 presently. > > Here's my first one: > > I have an fltk::Widget with a bmp image on it. > > I create the widget, then sometime later I'm trying to call > mainWindow->add(my_widget).. but it's not becoming a child of the main window. > > Any ideas? > > Thanks, > Davy
Ok, I discovered the problem, and it's probably a bug that may need to be addressed. If you create a Widget and show() it, it becomes a top-level window. But if you later try to add() it to a Window, the Widget doesn't get made a child window embedded in the Window you added it to. Again, this is x11 bug? _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

