Davy Durham wrote: >> 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?
No, just a side-effect of how Windows are created. Normally you can't move window widgets between windows... -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

