Re: [gnome-love] Exit confirmation: Solved
- From: "Y. Peng" <pengy muss cis mcmaster ca>
- To: gnome-love gnome org
- Subject: Re: [gnome-love] Exit confirmation: Solved
- Date: Fri, 26 Jul 2002 10:58:03 -0400
Both gtk_exit(0) and gtk_main_quit() work well. Thank to all.
Best regards,
Yuan Peng
On 25 Jul 2002 02:03:04 -0500
Archit Baweja <bighead users sourceforge net> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey
Umm.......did u call gtk_main_quit ()? or gtk_exit ()?
Try it. It should work :-)
HTH
Archit Baweja
"Y. Peng" <pengy muss cis mcmaster ca> writes:
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
- --
Homepage: http://symonds.net/~bighead/
GPG Key: http://symonds.net/~bighead/bighead-gpg-key.asc
Gnome in Hindi: http://symonds.net/~bighead/gnome/gnome-devnag-howto/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard
<http://www.gnupg.org/>
iD8DBQE9P6Ko2rWNPKmGjMcRAv5zAJ4oscrksxH3UBGGETF1UvSKR6jdXwCeJlix
UrJFlvmpfN4ompMB+ftIUKY=
=PSdD
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]