Hi Ron, I didn't know that parameter either, so I thought I'd take a look. I found the following loop in 'Tkapp_MainLoop' in '_tkinter.c':
while (Tk_GetNumMainWindows() > threshold && !quitMainLoop && !errorInCmd) { ... The parameter 'n' is the 'threshold' in the above 'if'. If I understand the man-page of 'Tk_GetNumMainWindows' right the code above drops out of the 'mainloop' when the number of toplevel windows drops to 'threshold' or below. Has anyone used this for values other than '0'? I have never seen code using this. What is the idea? Close the application when one of the main windows gets closed? Regards, Matthias Kievernagel (mkiever/at/web/dot/de) _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss