mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
patch [ 1277677 ] tkinter hello world example bug
This commit is contained in:
parent
6953772d90
commit
532dacffd8
1 changed files with 3 additions and 1 deletions
|
|
@ -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}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue