Thread for Tkinter (NT)

Andrew Cooke andrew at
Wed Jun 23 04:22:15 EDT 1999


Does the thread running Tk.mainloop() have to be the main (initial)
thread on W32?  This is what I seem to be experiencing, and given
W32's thread based messaging for windows it wouldn't surprise me,
but could someone please confirm?

And if so, is there any way around this - the GUI can't start first,
but is started via call to a subroutine.  If the main thread is
then locked in mainloop is there any way of starting a new thread
with the main thread's stack at that point and returning back to
the rest of the code (OK, I guess not :-)


Sent via
Share what you know. Learn what you don't.

More information about the Python-list mailing list