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: [EMAIL PROTECTED] | voice: +48228430101

"We read Knuth so you don't have to." (Tim Peters)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to