[gnome-love] Exit confirmation
- From: "Y. Peng" <pengy muss cis mcmaster ca>
- To: gnome-love gnome org
- Subject: [gnome-love] Exit confirmation
- Date: Wed, 24 Jul 2002 16:26:54 -0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]