Re: when an applet gets removed ?



Am Son, 2002-08-18 um 12.20 schrieb Paolo Bacchilega:
Hi,

I need to remove some files when the user removes the applet from the
panel, is there a way know when this happens ?

g_signal_connect(GTK_OBJECT(applet_widget), "destroy",
                           GTK_SIGNAL_FUNC(applet_destroy),
                           data);

Catch the "destroy" signal of the applet widget.

Regards,
Jörgen







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