mirror of https://github.com/python/cpython
Pass self as master to Entry() widget constructor.
This commit is contained in:
parent
499181a833
commit
58a7856961
|
@ -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…
Reference in New Issue