diff options
author | Guido van Rossum <guido@python.org> | 1998-09-14 17:52:29 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-09-14 17:52:29 (GMT) |
commit | d24d3fcd03d2396eb5cc7524246183b661c4113e (patch) | |
tree | 7b9154a1609e8221165147af210c1ad44a1af8c2 /Demo/tkinter | |
parent | 5fae9e8b86a45f8906af36e1c8e21de767e341b2 (diff) | |
download | cpython-d24d3fcd03d2396eb5cc7524246183b661c4113e.zip cpython-d24d3fcd03d2396eb5cc7524246183b661c4113e.tar.gz cpython-d24d3fcd03d2396eb5cc7524246183b661c4113e.tar.bz2 |
Added the mainloop() call.
Diffstat (limited to 'Demo/tkinter')
-rw-r--r-- | Demo/tkinter/guido/switch.py | 1 |
1 files changed, 1 insertions, 0 deletions
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() |