From: Guido van Rossum Date: Wed, 24 Sep 1997 13:39:51 +0000 (+0000) Subject: Change bind() to tag_bind() so it works again. X-Git-Tag: v1.5a4~139 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5edcf34fac3368cfa671b2fd9e1df2c1f47b4f2c;p=python Change bind() to tag_bind() so it works again. --- diff --git a/Demo/tkinter/matt/canvas-moving-or-creating.py b/Demo/tkinter/matt/canvas-moving-or-creating.py index f14a6dcb68..74729a652b 100644 --- a/Demo/tkinter/matt/canvas-moving-or-creating.py +++ b/Demo/tkinter/matt/canvas-moving-or-creating.py @@ -19,8 +19,8 @@ class Test(Frame): event.x - 10, event.y -10, event.x +10, event.y + 10, fill="green", tags=CURRENT) - self.draw.bind(fred, "", self.mouseEnter) - self.draw.bind(fred, "", self.mouseLeave) + self.draw.tag_bind(fred, "", self.mouseEnter) + self.draw.tag_bind(fred, "", self.mouseLeave) self.lastx = event.x self.lasty = event.y