summaryrefslogtreecommitdiff
path: root/Demo/tkinter
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-10-08 00:41:25 +0000
committerGuido van Rossum <guido@python.org>1995-10-08 00:41:25 +0000
commitf982c18b35b22667c5c4a6ce6c81eb716ab1037d (patch)
tree428decbd4bdde1f263f2e67639a039f91cfa3336 /Demo/tkinter
parent5506e7dc45f126f7d4f2e3eb3f5472ad1330d2fc (diff)
downloadcpython-f982c18b35b22667c5c4a6ce6c81eb716ab1037d.tar.gz
fix for 4.0
Diffstat (limited to 'Demo/tkinter')
-rw-r--r--Demo/tkinter/matt/canvas-with-scrollbars.py4
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 fcbcd151a6..d2498222ee 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