Threads and Tkinter GUI ...

Arild Hansen arildh at stud.cs.uit.no
Tue Oct 24 05:18:43 EDT 2000


Grant Edwards wrote:

> In article <slrn8v9440.2e0.grante at bambi.visi.com>, Grant Edwards wrote:
>
> >If I were you, I'd just use the after() method on the top-level window to
> >schedule a function to run every 5 seconds.  It's a lot simpler than doing
> >the whole thread thing.
>
> OTOH, I think your GUI will pause while that function is running, so you
> might not want to use it for a ping operation after all...
>
> --
> Grant Edwards                   grante             Yow!  HUGH BEAUMONT died
>                                   at               in 1982!!
>                                visi.com

OK, then I'll just continue using my threads.  Thx anyway,

Arild Hansen




More information about the Python-list mailing list