pygtk + threading.Timer
Jarek Zgoda
jzgoda at o2.usun.pl
Mon Apr 14 06:01:20 EDT 2008
Dmitry Teslenko napisał(a):
> I have simple chat application with pygtk UI. I want some event (for
> example update user list) to have place every n seconds.
> What's the best way to archive it?
> I tried threading.Timer but result is following: all events wait till
> exit of gtk main loop and only then they occur.
> Thanks in advance
See gobject.timeout_add documentation in pygtk reference
--
Jarek Zgoda
Skype: jzgoda | GTalk: zgoda at jabber.aster.pl | voice: +48228430101
"We read Knuth so you don't have to." (Tim Peters)
More information about the Python-list
mailing list