Re: freeing GTK+ memory



On Fri, 17 Oct 2008 01:48:18 +0200
Pablo Yanez Trujillo <yanezp informatik uni-freiburg de> wrote:
[snip]
> One question remains unanswered though: if I use gtk_widget_destroy
> then the memory for this widget (and children if they exist) will be
> (automatically) freed by Gtk/Glib? Sometimes you really want to
> destroy a window/widget/whatever you don't need anymore.

See
http://library.gnome.org/devel/gtk/stable/GtkObject.html#GtkObject.description 

This does not apply to pure GObjects not derived from GInitiallyUnowned.

Chris



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