Pass self as master to Entry() widget constructor.

This commit is contained in:
Guido van Rossum 1996-11-27 19:47:42 +00:00
parent 499181a833
commit 58a7856961

View file

@ -8,7 +8,7 @@ def __init__(self, master=None):
Frame.__init__(self, master)
self.pack()
self.entrythingy = Entry()
self.entrythingy = Entry(self)
self.entrythingy.pack()
self.button = Button(self, text="Uppercase The Entry",