I have a Gtk+ application with a widget that displays an OSG view using the osgGtk project (see http://sourceforge.net/projects/osggtk/
I am using a gtk_fixed widget so that I can place all of my widgets exactly where I want them, and I want to make the OSG widget the size of the entire screen and then place buttons, images, etc. on top of the OSG widget.
Normally I can use the gtk_fixed to make widgets overlap if I want to, but the osgGtk widget is always on top of everything else, despite my best efforts. Is there a way to tell Gtk+ that I always want a widget to appear in the foreground, on top of whatever is behind it? I'll post some skeleton code to show what I'm doing below.
Please let me know how I can help and thanks in advance for your help!
P.S. There's no Gtk+ or OSG zones in Experts Exchange, so if anyone can suggest a different zone than what I've listed, please let me know!
// make the image widget and the osg widget
gtk_widget_set_size_request(pOsgWidget, SCREEN_WIDTH, SCREEN_HEIGHT);
gtk_widget_set_size_request(pFrameImage, 100, 50);
gtk_fixed_put(GTK_FIXED(pFixedContainer), pOsgWidget, 0, 0);
gtk_fixed_put(GTK_FIXED(pFixedContainer), pFrameImage, 100, 100);
// I want the pFrameImage to be on top of the pOsgWidget, but the pOsgWidget is always on top!