> Is it possible to free the memory allocated for a widget using gtk_widget_destroy(). 
> However, when I try to free a window or a button with 
>gtk_widget_destroy(GTK_WIDGET(widget)) 
> I have a run-time error saying that it is not a widget. 
> How do you deallocate any widget allocated with its gtk_<name>_new(...)? 

I use

gtk_object_destroy(GTK_OBJECT(blabla));

Salut,

Hugues
___
[EMAIL PROTECTED]


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to