On Sun, Oct 7, 2012 at 2:57 PM, Frank Cox <thea...@melvilletheatre.com> wrote: > I've just started playing with Glade and once again I'm wondering if I'm using > the wrong approach to get stuff done, since I can't find anything that tells > me > how to do this. > > So far, I've been creating a main window for the program and simply creating > and > destroying boxes and widgets within that window as different menu options are > selected. > > Here is a simple example. > > I have a window with a box in it, which in turn contains a button. > > Now I want to be able to click on that button and destroy the box without > destroying the window, then create a new box and a new button within the > existing window. > > I can do this easily enough by writing the code to do the layout myself, but I > don't see a way to do a Glade layout that can accomplish this.
Just right click on any widget in Glade's palette and chose "Add as toplevel" Glade/GtkBuilder do not restrict you to using toplevel GtkWindows in your xml. Cheers, -Tristan _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list