patch [ 1277677 ] tkinter hello world example bug

This commit is contained in:
Georg Brandl 2005-09-15 16:02:13 +00:00
parent 6953772d90
commit 532dacffd8
1 changed files with 3 additions and 1 deletions

View File

@ -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}