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

Destroy signal: Quit Y/N?



Hi *,

I've got an app which does the standard handling of the
destroy signal ie:

gtk_signal_connect(GTK_OBJECT(window), "destroy",
      GTK_SIGNAL_FUNC(destroy_func), NULL);

with gtk_main_quit() called in destroy_func().

Is there any way to pop up a dialog box in destroy_func()
to give a Quit Y/N? option?

Thanks,
Erik
-- 
+-------------------------------------------------+
     Erik de Castro Lopo     erikd@zip.com.au
+-------------------------------------------------+
"I think there is a world market for maybe five computers." 
 -- Thomas Watson, Chairman of IBM, 1943



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