Re: simple newbie question



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]