From d24d3fcd03d2396eb5cc7524246183b661c4113e Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 14 Sep 1998 17:52:29 +0000 Subject: Added the mainloop() call. --- Demo/tkinter/guido/switch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Demo/tkinter/guido/switch.py b/Demo/tkinter/guido/switch.py index 7944039..3b58f7c 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() -- cgit v0.12