[Tkinter-discuss] How to distinguish canvas items?

2009-04-19 Thread Ben Koopmanschap
Hello everyone, According to one of the many examples brought with the Tkinter documentation, I am able to create some ovals on the canvas with: fred = self.draw.create_oval(40, 40, 60, 60, fill="green", tags="selected") followed by: wilma = self.draw.create

[Tkinter-discuss] How to distinguish canvas items (2)

2009-04-19 Thread Ben Koopmanschap
Hello everyone! Just discovered the trick to bind and distinguish specific items on the canvas in Tkinter :) According to 'Programming python' from Mark Lutz, page 541 it is possible with the widget.find_closest method to bind a specific item on a canvas. Just what I've been looking for! So I can