diff options
Diffstat (limited to 'Demo/tkinter')
-rw-r--r-- | Demo/tkinter/matt/canvas-moving-or-creating.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/tkinter/matt/canvas-moving-or-creating.py b/Demo/tkinter/matt/canvas-moving-or-creating.py index f14a6dc..74729a6 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, "<Any-Enter>", self.mouseEnter) - self.draw.bind(fred, "<Any-Leave>", self.mouseLeave) + self.draw.tag_bind(fred, "<Any-Enter>", self.mouseEnter) + self.draw.tag_bind(fred, "<Any-Leave>", self.mouseLeave) self.lastx = event.x self.lasty = event.y |