can you do multiple g_signal_connects?



Hi Everyone,

I want multiple methods to be called when a widget is destroyed. So I was
wondering if this would work:

 g_signal_connect (window, "destroy", G_CALLBACK (free_buffers), &temp);
 g_signal_connect (window, "destroy", G_CALLBACK (gtk_widget_destroyed), &window);

so when the window is destroyed, gtk takes care of its stuff, and i take care of
mine. Thanks!

-- 
Arash Nikkar
arash umail ucsb edu



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