fix for 4.0

This commit is contained in:
Guido van Rossum 1995-10-08 00:41:25 +00:00
parent 9beefa2f85
commit 447ae53eab
1 changed files with 2 additions and 2 deletions

View 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