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

View file

@ -258,8 +258,10 @@ class Application(Frame):
self.pack() self.pack()
self.createWidgets() self.createWidgets()
app = Application() root = Tk()
app = Application(master=root)
app.mainloop() app.mainloop()
root.destroy()
\end{verbatim} \end{verbatim}