]> granicus.if.org Git - python/commitdiff
The lower() and tkraise() methods were calling the Canvas widget
authorGuido van Rossum <guido@python.org>
Tue, 10 Apr 2001 21:13:06 +0000 (21:13 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 10 Apr 2001 21:13:06 +0000 (21:13 +0000)
wrongly.  Fixed this.

This closes SF bug #412682.

Lib/lib-tk/Canvas.py

index ced84a91e705cf7acc78a0f7c4190053601dbfe4..ed4ba348cc49163e75e24058b2af90d6bd817875 100644 (file)
@@ -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)