Re: Destroying widgets...
- From: Darin Fisher <dfisher jagger me berkeley edu>
- Cc: gtk <gtk-list gnome org>
- Subject: Re: Destroying widgets...
- Date: Mon, 02 Oct 2000 01:22:51 -0400
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]