destructors?



Hi folks,

How can I write a destructor for my own GtkWidget?  I mean, I want to
ensure that a certain function gets called when the widget is destroyed,
but I don't want to connect "destroy" to this function by hand; this
should clear internal data structures, so it must get called no matter
what.

Thanks,
Mihai

-- 

  ... and on the seventh day, He exited from append mode.




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