From: Guido van Rossum Date: Fri, 24 May 1996 18:40:46 +0000 (+0000) Subject: Fix typos (need to use tag_bind, not bind). X-Git-Tag: v1.4b1~140 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=faefe4cb607575754b10a1a683061dbfe19b691c;p=python Fix typos (need to use tag_bind, not bind). --- diff --git a/Demo/tkinter/matt/canvas-moving-w-mouse.py b/Demo/tkinter/matt/canvas-moving-w-mouse.py index fab480b782..f07e6589dd 100644 --- a/Demo/tkinter/matt/canvas-moving-w-mouse.py +++ b/Demo/tkinter/matt/canvas-moving-w-mouse.py @@ -44,9 +44,8 @@ class Test(Frame): fred = self.draw.create_oval(0, 0, 20, 20, {"fill" : "green", "tag" : "selected"}) - 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) Widget.bind(self.draw, "<1>", self.mouseDown) Widget.bind(self.draw, "", self.mouseMove)