Re:Subject: Delete event.
- From: Muthiah Annamalai <dearestchum yahoo co in>
- To: gtk-app-devel-list gnome org
- Subject: Re:Subject: Delete event.
- Date: Sun, 3 Jul 2005 00:33:52 -0700 (PDT)
In my application I am using a widget, say vbox.
When that widget is destroyed, I want to delete all
the associated objects that I allocated. So, I
attached a delete_event and destroy_event callback.
But this callback is not called, when I destroy the
container of the vbox.
Im able to do this by connecting to the "destroy"
signal, of the widget.
g_signal_connect(G_OBJECT(wid[i]),"destroy",
G_CALLBACK(label_del),NULL);
void label_del(GtkButton *b)
{
g_message(gtk_button_get_label(b));
return;
}
-Muthu
__________________________________
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]