diff options
author | Guido van Rossum <guido@python.org> | 1995-10-08 00:41:25 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-10-08 00:41:25 (GMT) |
commit | 447ae53eab0ae1d0e9856a7145e9f8f7387150e6 (patch) | |
tree | 6c48d0b148090ed7c13c24685793343a782e52f0 /Demo | |
parent | 9beefa2f85d9bed7984ced96dc4d011740e04892 (diff) | |
download | cpython-447ae53eab0ae1d0e9856a7145e9f8f7387150e6.zip cpython-447ae53eab0ae1d0e9856a7145e9f8f7387150e6.tar.gz cpython-447ae53eab0ae1d0e9856a7145e9f8f7387150e6.tar.bz2 |
fix for 4.0
Diffstat (limited to 'Demo')
-rw-r--r-- | Demo/tkinter/matt/canvas-with-scrollbars.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/tkinter/matt/canvas-with-scrollbars.py b/Demo/tkinter/matt/canvas-with-scrollbars.py index fcbcd15..d249822 100644 --- a/Demo/tkinter/matt/canvas-with-scrollbars.py +++ b/Demo/tkinter/matt/canvas-with-scrollbars.py @@ -33,8 +33,8 @@ class Test(Frame): self.draw.scrollY = Scrollbar(self, {"orient" : "vertical"}) # now tie the three together. This is standard boilerplate text - self.draw['xscroll'] = self.draw.scrollX.set - self.draw['yscroll'] = self.draw.scrollY.set + self.draw['xscrollcommand'] = self.draw.scrollX.set + self.draw['yscrollcommand'] = self.draw.scrollY.set self.draw.scrollX['command'] = self.draw.xview self.draw.scrollY['command'] = self.draw.yview |