summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-09-14 17:52:29 (GMT)
committerGuido van Rossum <guido@python.org>1998-09-14 17:52:29 (GMT)
commitd24d3fcd03d2396eb5cc7524246183b661c4113e (patch)
tree7b9154a1609e8221165147af210c1ad44a1af8c2 /Demo
parent5fae9e8b86a45f8906af36e1c8e21de767e341b2 (diff)
downloadcpython-d24d3fcd03d2396eb5cc7524246183b661c4113e.zip
cpython-d24d3fcd03d2396eb5cc7524246183b661c4113e.tar.gz
cpython-d24d3fcd03d2396eb5cc7524246183b661c4113e.tar.bz2
Added the mainloop() call.
Diffstat (limited to 'Demo')
-rw-r--r--Demo/tkinter/guido/switch.py1
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()