Re: [gtk-list] gtk question (1)
- From: Havoc Pennington <rhp zirx pair com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] gtk question (1)
- Date: Mon, 24 May 1999 12:11:36 -0400 (EDT)
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]