Re: When to realize or free memory?



Olaf Broxtermann <Olaf.Broxtermann@stud.uni-hannover.de> writes:
> I was just wondering, when working with GTK Widgets,
> when is it necessary to realize a widget or when to
> free the memory from any of those widgets.
> 

It's never necessary to realize a widget yourself; just use
gtk_widget_show().

When you gtk_widget_destroy() a toplevel window, all the child widgets
are destroyed.

Havoc





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