Re: [Tutor] Tkinter, how to retrieve information about an object on canvas

2012-11-17 Thread Axel Wegen
Matheus Soares da Silva writes: > Hello, I would like to be able to get information from a Tkinter > canvas object. (color, width, tags, root points, etc), You can get the information of an object on the canvas by passing its id to certain canvas methods like itemconfigure: >>> c = Canvas() >>> c

Re: [Tutor] Tkinter, how to retrieve information about an object on canvas

2012-11-15 Thread Matheus Soares da Silva
2012/11/15 Peter Otten <__pete...@web.de> > Matheus Soares da Silva wrote: > > > Hello, I would like to be able to get information from a Tkinter canvas > > object. (color, width, tags, root points, etc), > > > > I wrote the following function that, with a canvas bind, returns me the > > widget t

Re: [Tutor] Tkinter, how to retrieve information about an object on canvas

2012-11-15 Thread Peter Otten
Matheus Soares da Silva wrote: > Hello, I would like to be able to get information from a Tkinter canvas > object. (color, width, tags, root points, etc), > > I wrote the following function that, with a canvas bind, returns me the > widget that has been clicked on, the widget is returned as a tu

Re: [Tutor] Tkinter, how to retrieve information about an object on canvas

2012-11-15 Thread Alan Gauld
On 15/11/12 02:32, Matheus Soares da Silva wrote: Hello, I would like to be able to get information from a Tkinter canvas object. (color, width, tags, root points, etc), I wrote the following function that, with a canvas bind, returns me the widget that has been clicked on, the widget is retu

[Tutor] Tkinter, how to retrieve information about an object on canvas

2012-11-14 Thread Matheus Soares da Silva
Hello, I would like to be able to get information from a Tkinter canvas object. (color, width, tags, root points, etc), I wrote the following function that, with a canvas bind, returns me the widget that has been clicked on, the widget is returned as a tuple by the find_overlapping method. # det