destroy a widget while keeping the window with Glade
- From: Frank Cox <theatre melvilletheatre com>
- To: gtk-app-devel-list gnome org
- Subject: destroy a widget while keeping the window with Glade
- Date: Sat, 6 Oct 2012 23:57:28 -0600
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.
--
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]