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




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]