GUI thread and Python IDLE

Discussion in 'Python' started by huwind, Apr 28, 2004.

  1. huwind

    huwind Guest

    Hi,

    I got a problem with Python IDLE to run Tkinter application. I use
    thread to start a Tkinter application. It works fine on Linux when I
    invoke the program from command line. But when I try to use IDLE, the
    GUI doesn't show up until I close the IDLE edit window and the Python
    shell window. Does anybody have any idea?

    - huwind
     
    huwind, Apr 28, 2004
    #1
    1. Advertisements

  2. huwind

    Cy Edmunds Guest

    "huwind" <> wrote in message
    news:...
    > Hi,
    >
    > I got a problem with Python IDLE to run Tkinter application. I use
    > thread to start a Tkinter application. It works fine on Linux when I
    > invoke the program from command line. But when I try to use IDLE, the
    > GUI doesn't show up until I close the IDLE edit window and the Python
    > shell window. Does anybody have any idea?
    >
    > - huwind


    Have a look at:

    http://www.ferg.org/thinking_in_tkinter/index.html

    Evidently IDLE is itself a TKinter program.

    --
    Cy
    http://home.rochester.rr.com/cyhome/
     
    Cy Edmunds, Apr 29, 2004
    #2
    1. Advertisements

  3. huwind

    Steve Holden Guest

    huwind wrote:

    > Hi,
    >
    > I got a problem with Python IDLE to run Tkinter application. I use
    > thread to start a Tkinter application. It works fine on Linux when I
    > invoke the program from command line. But when I try to use IDLE, the
    > GUI doesn't show up until I close the IDLE edit window and the Python
    > shell window. Does anybody have any idea?


    IDLE is itself a Tkinter application, so you are probably experiencing
    conflict between the main loop of the two applications. It's a bit like
    getting into your car to drive from the front seat of your car to the
    back seat ...

    This is confirmed by the fact that the program runs fine independently.

    regards
    STeve
     
    Steve Holden, Apr 29, 2004
    #3
    1. Advertisements

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. ulysses
    Replies:
    4
    Views:
    1,060
    Werner Schiendl
    Oct 22, 2003
  2. Paul Dankoski

    Python IDLE GUI

    Paul Dankoski, Apr 19, 2004, in forum: Python
    Replies:
    1
    Views:
    818
    Arcane
    Jun 15, 2004
  3. Ashot
    Replies:
    22
    Views:
    4,478
    Fernando Perez
    Feb 8, 2005
  4. John (Z R) L
    Replies:
    6
    Views:
    1,938
    Hertha Steck
    Nov 21, 2006
  5. Lialie - KingMax
    Replies:
    1
    Views:
    396
    John Henry
    Dec 15, 2006
  6. Mark Summerfield
    Replies:
    0
    Views:
    377
    Mark Summerfield
    Jun 3, 2012
  7. Jai
    Replies:
    99
    Views:
    1,107
    Joshua Landau
    Dec 26, 2013
  8. Rolando
    Replies:
    3
    Views:
    218
Loading...