[10263] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: widget deallocation
daemon@ATHENA.MIT.EDU (Tom Vogt)
Thu Nov 19 11:59:46 1998
Date: Thu, 19 Nov 1998 09:37:37 +0100
From: Tom Vogt <tom@lemuria.org>
To: gtk-list@redhat.com
In-Reply-To: <Pine.LNX.3.96.981118211106.10614B-100000@styx.phy.vanderbilt.edu>; from C.J. Beyer on Wed, Nov 18, 1998 at 09:13:43PM -0600
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
"C.J. Beyer" <cj@styx.phy.vanderbilt.edu> wrote:
> Is there a way to remove widgets from containers and destroy them?
yes, done that a hundred times on accident. :)
gtk_widget_destroy (or destroy_widget?)
you MIGHT run into trouble if the widget is the only one left in the
container. otherwise, those remaining will nicely rearrange themselves.
--
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null