From a9fbcde29a706ad88de7ad22fb61530c6c1d561d Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 15 Sep 2005 16:02:09 +0000 Subject: backport 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