[Tkinter-discuss] .mainloop(), what's the parameter for?

ron.longo longorh at npt.nuwc.navy.mil
Mon Nov 19 14:35:24 CET 2007


Tkinter.py defines mainloop with a single parameter n=0.  Does anyone know
what this parameter is for?  I've tried some experimenting and found that if
I pass anything other than 0, mainloop seems to execute at least one
complete interation without reporting an error, then it returns.  Could this
be what the parameter is for?  To allow a user to write his own mainloop?

Thanks,
Ron
-- 
View this message in context: http://www.nabble.com/.mainloop%28%29%2C-what%27s-the-parameter-for--tf4836365.html#a13836178
Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.



More information about the Tkinter-discuss mailing list