Re: [gtk-list] Re: gtk question (1)



Are the children destroyed only after toplevel container is destroyed?

On Mon, 24 May 1999, Havoc Pennington wrote:

> 
> On Sun, 23 May 1999, pavel wrote:
> > 
> > We, coders, aren't responsible for freeing widgets, are we? I'm guessing
> > "no", but then when and how are they deleted?
> > 
> 
> Children of containers are automatically deleted, but you have to free the
> toplevel container (GtkWindow, basically). Use gtk_widget_destroy().
> You are also responsible for any widgets that aren't ever placed in a
> container.
> 
> Havoc
> 
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]