Stewart Midwinter wrote: > On 10/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> What is the best way to popup a non-application (not running mainloop) Tk >> window in IDLE? > > Did you try Toplevel?
So, specifically, the issue is that if I enter these commands: import Tkinter tl = Tkinter.Toplevel() I get different behavior depending on whether Idle is running with subprocesses (normal) or without subprocesses (with the -n). With subprocesses, the only way that I have figured out to make the window appear is to issue: tl.mainloop() but then I loose the ability to enter commands in the Idle window. Is there code that will make Tkinter run the same (and show the window) under both versions? -Doug > S > > _______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss
