[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Fundamentals of GTK
- From: Iago Rubio <iago iagorubio com>
- To: gtk-app-devel-list gnome org
- Subject: Re: Fundamentals of GTK
- Date: Wed, 05 Apr 2006 11:44:10 +0200
On Tue, 2006-04-04 at 20:45 -0700, 3saul wrote:
> Thanks for the information...that was very helpful. So in terms of how the
> main function works in a GTK app is it like this:
>
>
> int main( int argc, char *argv[] ) - start here and work down to...
> gtk_main (); - check to see if anything needs to be done for the gui then
> loop back up to int main( int argc, char *argv[] )??
>
> Is that how it works?
No, it's first main() then gtk_main() and then the application stuck in
the gtk main loop until you call gtk_main_quit(). Then continues
procesing.
Your application will always 'live' in the gtk main loop proccesing GTK
events.
--
Iago Rubio
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]