[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Destroy signal: Quit Y/N?
- From: Erik de Castro Lopo <erikd zip com au>
- To: gtk-app-devel-list redhat com
- Subject: Destroy signal: Quit Y/N?
- Date: Wed, 20 Oct 1999 14:01:02 +0000
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]