tkinter and threads

Discussion in 'Python' started by Nir Aides, May 4, 2005.

  1. Nir Aides

    Nir Aides Guest

    Hello,

    In Tkinter, is it safe to call widget.after(time, callback) from another
    thread (other than the gui thread)?

    Thanks,
    Nir
     
    Nir Aides, May 4, 2005
    #1
    1. Advertising

  2. I might be wrong, but my experience is to keep all tkinter calls in the main
    thread and use queues to have other threads tell the main one what to do.

    Regards,

    Philippe



    Nir Aides wrote:

    > Hello,
    >
    > In Tkinter, is it safe to call widget.after(time, callback) from another
    > thread (other than the gui thread)?
    >
    > Thanks,
    > Nir
     
    Philippe C. Martin, May 4, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Julia Goolia

    tkinter, sockets and threads together

    Julia Goolia, Sep 11, 2003, in forum: Python
    Replies:
    4
    Views:
    552
    Steve Holden
    Sep 12, 2003
  2. Replies:
    5
    Views:
    609
    Eric Brunel
    Feb 12, 2004
  3. Boman Romain

    Tkinter and threads

    Boman Romain, May 4, 2004, in forum: Python
    Replies:
    0
    Views:
    346
    Boman Romain
    May 4, 2004
  4. Rod Stephenson
    Replies:
    0
    Views:
    461
    Rod Stephenson
    Jun 22, 2004
  5. Une bévue
    Replies:
    0
    Views:
    177
    Une bévue
    Jun 14, 2006
Loading...

Share This Page