Re: Question about memory in GTK+2.x....



Hi,

FMorales <altf2o attbi com> writes:

> Hello i had a quick question about allocating widgets in GTK+2.x...
> I haven't gotten into /alot/ of programming with 2.x yet, but i
> thought i remembered a
> "gtk_destroy", type function to destroy objects (widgets) created
> dynamically in 1.2 ... I.e. :
> 
> GtkWidget * window = gtk_window_new(GTK_TOPLEVEL_WINDOW);
> ............
> gtk_destroy(window); /* could have been gtk_destroy_object(window) ,
> or similar IIRC */
> ............

The function to destroy a widget is (and is has always been) called
gtk_widget_destroy().


Salut, Sven



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