summaryrefslogtreecommitdiffstats
path: root/Lib/stdwin/TransParent.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-01-04 09:16:51 (GMT)
committerGuido van Rossum <guido@python.org>1993-01-04 09:16:51 (GMT)
commitfea2af1e9b0c99cac6cb8806c4af651a38e92d07 (patch)
treee9e0ec3b003498ab942e1c0b7dd3d28951ca2701 /Lib/stdwin/TransParent.py
parenta2b7f40513ba5d75a2063c3fabe47377cd8c0416 (diff)
downloadcpython-fea2af1e9b0c99cac6cb8806c4af651a38e92d07.zip
cpython-fea2af1e9b0c99cac6cb8806c4af651a38e92d07.tar.gz
cpython-fea2af1e9b0c99cac6cb8806c4af651a38e92d07.tar.bz2
* More changes due to stricter argument passing rules
* Fixed calendar.py, mimetools.py, whrandom.py to cope with time.time() returning a floating point number. (And fix old bug in calendar) * Add recursion level to mainloop.mainloop(), to make it reentrant.
Diffstat (limited to 'Lib/stdwin/TransParent.py')
-rwxr-xr-xLib/stdwin/TransParent.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/stdwin/TransParent.py b/Lib/stdwin/TransParent.py
index 27e9bbd..49dcd3d 100755
--- a/Lib/stdwin/TransParent.py
+++ b/Lib/stdwin/TransParent.py
@@ -60,12 +60,12 @@ class TransParent(ManageOneChild):
def realize(self):
if self.child:
self.child.realize()
- def draw(self, args):
+ def draw(self, d, area):
if self.child:
- self.child.draw(args)
- def altdraw(self, args):
+ self.child.draw(d, area)
+ def altdraw(self, area):
if self.child:
- self.child.altdraw(args)
+ self.child.altdraw(area)
#
# Downcalls only made after certain upcalls
#
@@ -117,7 +117,7 @@ class TransParent(ManageOneChild):
#
def change(self, area):
self.parent.change(area)
- def scroll(self, args):
- self.parent.scroll(args)
+ def scroll(self, area, vector):
+ self.parent.scroll(area, vector)
def settimer(self, itimer):
self.parent.settimer(itimer)