From 58a7856961c9202ed80d0f72a7f0c4a116a41622 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 27 Nov 1996 19:47:42 +0000 Subject: Pass self as master to Entry() widget constructor. --- Demo/tkinter/matt/entry-with-shared-variable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit v0.12