Re: [gnome-love] Exit confirmation
- From: Anil <anil gdit iiit net>
- To: "Y. Peng" <pengy muss cis mcmaster ca>
- Cc: <gnome-love gnome org>
- Subject: Re: [gnome-love] Exit confirmation
- Date: Thu, 25 Jul 2002 13:02:02 +0530 (IST)
Hi,
The program will not terminate because the gtk_main() loop will be
still running. In order to stop it, you need to call gtk_main_quit().
On Wed, 24 Jul 2002, Y. Peng wrote:
Hi list,
I set up a little dialog box for confirmation when choosing "exit" at
the gnome main applicaton window. The question is: if "ok" is confirmed,
I need to close both the dialog and main application windows. I used
gnome_dialog_set_parent(GNOME_DIALOG(box), GTK_WINDOW(app));
...
gtk_widget_destroy(app);
The widgets disappear, but the program is still running. Could anybody
help me with the right solution? Thanks a lot.
Yuan Peng
_______________________________________________
gnome-love mailing list
gnome-love gnome org
http://mail.gnome.org/mailman/listinfo/gnome-love
--
/* ================================================================ */
Anil Kumar Putla
International Institute of Information Technology
Hyderabad, India
HomePage :: http://gdit.iiit.net/~anil/
Email :: anil gdit iiit net
/* ================================================================ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]