From: Guido van Rossum Date: Mon, 14 Sep 1998 17:52:29 +0000 (+0000) Subject: Added the mainloop() call. X-Git-Tag: v1.5.2a2~282 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d24d3fcd03d2396eb5cc7524246183b661c4113e;p=thirdparty%2FPython%2Fcpython.git Added the mainloop() call. --- diff --git a/Demo/tkinter/guido/switch.py b/Demo/tkinter/guido/switch.py index 794403995c6a..3b58f7ce476f 100644 --- a/Demo/tkinter/guido/switch.py +++ b/Demo/tkinter/guido/switch.py @@ -49,6 +49,7 @@ def main(): app = App() app.addpanel("label", LabelPanel) app.addpanel("button", ButtonPanel) + app.top.mainloop() if __name__ == '__main__': main()