mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Pass self as master to Entry() widget constructor.
This commit is contained in:
parent
499181a833
commit
58a7856961
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ class App(Frame):
|
|||
Frame.__init__(self, master)
|
||||
self.pack()
|
||||
|
||||
self.entrythingy = Entry()
|
||||
self.entrythingy = Entry(self)
|
||||
self.entrythingy.pack()
|
||||
|
||||
self.button = Button(self, text="Uppercase The Entry",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue