[pygtk] gtk main loop alternatives

Donn donn.ingle at gmail.com
Sun Oct 28 19:22:39 WST 2007


Hi,
I want to try and draw a series of cairo shapes in a loop that does other 
stuff like:

while True:
 canvas.draw()
 updateStuff()
 checkStuff()

How do I fit this concept together with the gtk.main() that seems to stop 
there? Am I looking at some kind of timeout() command?

\d


More information about the pygtk mailing list