Re: [gnome-love] Exit confirmation



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]