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



On Mon, 24 May 1999, Havoc Pennington wrote:

> 
> On Mon, 24 May 1999, pavel wrote:
> > Are the children destroyed only after toplevel container is destroyed?
> >
> 
> Yes, unless you destroy them yourself. (You *can* destroy a child manually
> with gtk_widget_destroy(), or by removing it from its container.)

...you can destroy a widget manually by removing it from a container, unless
you keep a reference count on it (i know you know that havoc, but it's not
really obvious). the widget in such a case will be destroyed on the next
_unref().

> 
> Havoc
> 
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 
> 

---
ciaoTJ



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