Re: [gtk-list] Is gtk_widget_destroy recursive?
- From: David Allen <opop erols com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Is gtk_widget_destroy recursive?
- Date: Mon, 16 Aug 1999 20:27:24 -0400
On Mon, Aug 16, 1999 at 07:20:47PM -0400, John C Atkeson wrote:
>
> This is probably related to the last question about unref'ing...
>
> Does gtk_widget_destroy just free the memory of one widget, or does it
> recursively free the children and grandchildren of that widget too?
>
> (If it doesn't, what does? I'd like to create and destroy container
> groups interactively.)
>
> John
Hi,
I asked this one earlier, and I got my answer, so here's yours. Yes, it is
recursive. When you smack one widget with gtk_widget_destroy everything else
under it dies and gets freed too. destroy one widget, forget about the
rest.
--
David Allen
http://opop.nols.com/
----------------------------------------
"But what we need to know is, do people want nasally-insertable
computers?"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]