Re: simple newbie question
- From: Havoc Pennington <hp redhat com>
- To: Syed Imran <s i azeezullah massey ac nz>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: simple newbie question
- Date: 01 Feb 2002 01:16:48 -0500
Syed Imran <s i azeezullah massey ac nz> writes:
How do you quit from a gtk+ application?
No special way. Just call plain old C library exit().
The gtk_main_quit() doesn't quit the app, it quits the current
gtk_main() instance, which may return you to main(), and then main()
may (or may not) exit. So some people structure their program that
way.
gtk_exit() is the same as exit() and is deprecated in the devel
version of GTK. It has no reason to exist.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]