RE: GTK event loop
- From: "Freddie Unpenstein" <fredderic excite com>
- To: gtk callum com, gtk-app-devel-list gnome org
- Cc:
- Subject: RE: GTK event loop
- Date: Thu, 23 Oct 2003 09:34:34 -0400 (EDT)
i want to use gtk+ in my application to provide the gui elements and
internationalized text - from what i've seen and played with it
looks very good. The major issue issue i left is that my
application is a window manager so it's mostly sitting in a loop
responding to events the gtk documentation i've read indicates that
i must call gtk_main(); to enter the GTK event loop and this call
blocks until the application is terminated.
i'm sure many others have come across this before - what's the best
way to resolve it ?
Use it. That's what it's there for.
The GTK main loop does just about everything you need it to. Monitoring I/O streams, timeouts, idlers, and
just about anything else you can conceive of.
It takes a bit of a mind shift, but check it out. Sources are what you want for anything that doesn't "fit
the mould".
Fredderic
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]