Re: pygtk + threading.Timer

2008-04-14 Thread Dmitry Teslenko
2008/4/14 Jarek Zgoda <[EMAIL PROTECTED]>: > > 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 > >

Re: pygtk + threading.Timer

2008-04-14 Thread Jarek Zgoda
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 onl

pygtk + threading.Timer

2008-04-14 Thread Dmitry Teslenko
Hello! 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 adv