By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,742 Members | 1,327 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,742 IT Pros & Developers. It's quick & easy.

GUI thread and Python IDLE

P: n/a
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
Jul 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"huwind" <hu***@bu.edu> wrote in message
news:f3**************************@posting.google.c om...
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/
Jul 18 '05 #2

P: n/a
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
Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.