mirror of
https://github.com/python/cpython.git
synced 2025-10-14 18:59:46 +00:00
fix for 4.0
This commit is contained in:
parent
9beefa2f85
commit
447ae53eab
1 changed files with 2 additions and 2 deletions
|
@ -33,8 +33,8 @@ class Test(Frame):
|
||||||
self.draw.scrollY = Scrollbar(self, {"orient" : "vertical"})
|
self.draw.scrollY = Scrollbar(self, {"orient" : "vertical"})
|
||||||
|
|
||||||
# now tie the three together. This is standard boilerplate text
|
# now tie the three together. This is standard boilerplate text
|
||||||
self.draw['xscroll'] = self.draw.scrollX.set
|
self.draw['xscrollcommand'] = self.draw.scrollX.set
|
||||||
self.draw['yscroll'] = self.draw.scrollY.set
|
self.draw['yscrollcommand'] = self.draw.scrollY.set
|
||||||
self.draw.scrollX['command'] = self.draw.xview
|
self.draw.scrollX['command'] = self.draw.xview
|
||||||
self.draw.scrollY['command'] = self.draw.yview
|
self.draw.scrollY['command'] = self.draw.yview
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue