From 532dacffd8203c83a5dfedfe672050776a72cfde Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 15 Sep 2005 16:02:13 +0000 Subject: patch [ 1277677 ] tkinter hello world example bug --- Doc/lib/tkinter.tex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Doc/lib/tkinter.tex b/Doc/lib/tkinter.tex index 943c4f2..f223ff6 100644 --- a/Doc/lib/tkinter.tex +++ b/Doc/lib/tkinter.tex @@ -258,8 +258,10 @@ class Application(Frame): self.pack() self.createWidgets() -app = Application() +root = Tk() +app = Application(master=root) app.mainloop() +root.destroy() \end{verbatim} -- cgit v0.12