Kaydet (Commit) 447ae53e authored tarafından Guido van Rossum's avatar Guido van Rossum

fix for 4.0

üst 9beefa2f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment