]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix for 4.0
authorGuido van Rossum <guido@python.org>
Sun, 8 Oct 1995 00:41:25 +0000 (00:41 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 8 Oct 1995 00:41:25 +0000 (00:41 +0000)
Demo/tkinter/matt/canvas-with-scrollbars.py

index fcbcd151a62a9a14ac97a6b51591c493174b3158..d2498222ee0d2d0e83091f87f1228470d3c28a29 100644 (file)
@@ -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