Re: Destroying widgets...



Dani Mezher wrote:
> 
> Hello,
> 
>     A simple question I suppose. When I destroy a container widget do I
> destroy all widgets contained in my container. In other words, I am
> writing an application with lots of dialog windows (with plenty of entry
> fields per window). When I destroy the window, is the memory space
> allocated for the "child" widgets freed???
> 
> Best regards
> Dany
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list

When you destroy a container widget, it will unref() all of its
children,
which, unless you have added refs to the children, will destroy them
also.

Darin




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