diff options
author | Guido van Rossum <guido@python.org> | 1996-11-27 19:47:42 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-11-27 19:47:42 (GMT) |
commit | 58a7856961c9202ed80d0f72a7f0c4a116a41622 (patch) | |
tree | a64f8a199070e98c814d7b7f3f5e52284c7a7579 /Demo/tkinter | |
parent | 499181a833cb04e54eec1798f402b742935e7bb9 (diff) | |
download | cpython-58a7856961c9202ed80d0f72a7f0c4a116a41622.zip cpython-58a7856961c9202ed80d0f72a7f0c4a116a41622.tar.gz cpython-58a7856961c9202ed80d0f72a7f0c4a116a41622.tar.bz2 |
Pass self as master to Entry() widget constructor.
Diffstat (limited to 'Demo/tkinter')
-rw-r--r-- | Demo/tkinter/matt/entry-with-shared-variable.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tkinter/matt/entry-with-shared-variable.py b/Demo/tkinter/matt/entry-with-shared-variable.py index 58fdfac..360f973 100644 --- a/Demo/tkinter/matt/entry-with-shared-variable.py +++ b/Demo/tkinter/matt/entry-with-shared-variable.py @@ -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", |