simple newbie question
- From: Syed Imran <s i azeezullah massey ac nz>
- To: gtk-app-devel-list gnome org
- Subject: simple newbie question
- Date: Fri, 01 Feb 2002 12:07:47 +1300
Hi all,
How do you quit from a gtk+ application? From what I have seen in
the tutorial and the first few programs in the tutorial I would use a
call to gtk_main_quit() in a function which I have written(say
quit(...)) and then my program would exit.
In a few examples in the end of the tutorial(tictactoe..), the destroy
signal for the window widget is hooked to gtk_exit().
Which is the preferable way and what is the difference other than the
fact that using gtk_main_quit() has to go through 1 extra function
call(my function quit()).
Regards,
Imran
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]