summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/Canvas.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-04-10 21:13:06 (GMT)
committerGuido van Rossum <guido@python.org>2001-04-10 21:13:06 (GMT)
commit40f3c7fdf0e16dab993315d8531d9b0078aac796 (patch)
tree97ae94802f5b1f1a6baa53f33a6b0e1252960609 /Lib/lib-tk/Canvas.py
parent8875c86a125fda563c7d12576d6815e009a76aa5 (diff)
downloadcpython-40f3c7fdf0e16dab993315d8531d9b0078aac796.zip
cpython-40f3c7fdf0e16dab993315d8531d9b0078aac796.tar.gz
cpython-40f3c7fdf0e16dab993315d8531d9b0078aac796.tar.bz2
The lower() and tkraise() methods were calling the Canvas widget
wrongly. Fixed this. This closes SF bug #412682.
Diffstat (limited to 'Lib/lib-tk/Canvas.py')
-rw-r--r--Lib/lib-tk/Canvas.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-tk/Canvas.py b/Lib/lib-tk/Canvas.py
index ced84a9..ed4ba34 100644
--- a/Lib/lib-tk/Canvas.py
+++ b/Lib/lib-tk/Canvas.py
@@ -170,11 +170,11 @@ class Group:
def config(self, cnf={}, **kw):
return self.canvas.itemconfigure(self.tag, _cnfmerge((cnf,kw)))
def lower(self, belowThis=None):
- self._do('tag_lower', belowThis)
+ self._do('lower', belowThis)
def move(self, xAmount, yAmount):
self._do('move', xAmount, yAmount)
def tkraise(self, aboveThis=None):
- self._do('tag_raise', aboveThis)
+ self._do('raise', aboveThis)
lift = tkraise
def scale(self, xOrigin, yOrigin, xScale, yScale):
self._do('scale', xOrigin, yOrigin, xScale, yScale)