[pygtk] gtk main loop alternatives
skip at pobox.com
skip at pobox.com
Sun Oct 28 22:51:45 WST 2007
>> That's not the only way. You can use gobject.timeout_add() to arrange
>> for a function to be called at regular intervals.
Donn> Thanks again Greg, simplicity to the rescue :)
Take a look at gobject.idle_add() (perform a computation when the process is
otherwise idle) and gobject.io_add_watch() (ask gobject to listen to another
input source) as well. They may be appropriate in certain circumstances.
Skip
More information about the pygtk
mailing list