]> granicus.if.org Git - python/commitdiff
Added the mainloop() call.
authorGuido van Rossum <guido@python.org>
Mon, 14 Sep 1998 17:52:29 +0000 (17:52 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 14 Sep 1998 17:52:29 +0000 (17:52 +0000)
Demo/tkinter/guido/switch.py

index 794403995c6a389fbc9f26f697a1d729ec4d05f0..3b58f7ce476f39e39c3178b604d4b81513a03646 100644 (file)
@@ -49,6 +49,7 @@ def main():
     app = App()
     app.addpanel("label", LabelPanel)
     app.addpanel("button", ButtonPanel)
+    app.top.mainloop()
 
 if __name__ == '__main__':
     main()