Re: [gnome-love] Exit confirmation
- From: Jonathan Bartlett <johnnyb eskimo com>
- To: "Y. Peng" <pengy muss cis mcmaster ca>
- Cc: gnome-love gnome org
- Subject: Re: [gnome-love] Exit confirmation
- Date: Wed, 24 Jul 2002 15:13:35 -0700 (PDT)
I believe gtk_main_quit() is what you are looking for.
Jon
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]