Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9beefa2 commit 447ae53Copy full SHA for 447ae53
1 file changed
Demo/tkinter/matt/canvas-with-scrollbars.py
@@ -33,8 +33,8 @@ def createWidgets(self):
33
self.draw.scrollY = Scrollbar(self, {"orient" : "vertical"})
34
35
# now tie the three together. This is standard boilerplate text
36
- self.draw['xscroll'] = self.draw.scrollX.set
37
- self.draw['yscroll'] = self.draw.scrollY.set
+ self.draw['xscrollcommand'] = self.draw.scrollX.set
+ self.draw['yscrollcommand'] = self.draw.scrollY.set
38
self.draw.scrollX['command'] = self.draw.xview
39
self.draw.scrollY['command'] = self.draw.yview
40
0 commit comments