diff options
| author | Guido van Rossum <guido@python.org> | 1996-11-27 19:47:42 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1996-11-27 19:47:42 +0000 |
| commit | 58a7856961c9202ed80d0f72a7f0c4a116a41622 (patch) | |
| tree | a64f8a199070e98c814d7b7f3f5e52284c7a7579 /Demo/tkinter/matt/entry-with-shared-variable.py | |
| parent | 499181a833cb04e54eec1798f402b742935e7bb9 (diff) | |
| download | cpython-git-58a7856961c9202ed80d0f72a7f0c4a116a41622.tar.gz | |
Pass self as master to Entry() widget constructor.
Diffstat (limited to 'Demo/tkinter/matt/entry-with-shared-variable.py')
| -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 58fdfac58c..360f97373b 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", |
