Suppose there are several points on my canvas, each corresponds to a data of the form [point index, point&#39;s x coordanate, point&#39;s y coordinate], all these points are <br>created by the following sentence,<br><br>for point in self.data:&nbsp;&nbsp; &nbsp;<br>
#self.data is a point list and has the form [point1, point2, ...]<br>&nbsp;&nbsp;&nbsp;&nbsp; self.drawing.create_oval(point[1]-2, point[2]-2, point[1]+2, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; point[2]+2,fill=&#39;black&#39;,tags=&#39;Toselect&#39;)<br>
#self.drawing is a Canvas <br>&nbsp;&nbsp;&nbsp;&nbsp; self.drawing.tag_bind(&#39;Toselect&#39;, &#39;&lt;Any-Enter&gt;&#39;, self.mouseEnter)<br><br>and the following is the self.mouseEnter function:<br><br>def mouseEnter(self,event):<br>&nbsp;&nbsp;&nbsp;&nbsp; self.CoordinateShow.configure(text=&#39;point:&#39;+str(event.x)+&#39;,&#39;+str(event.y))<br>
#self.CoordinateShow is a Label to show the point&#39;s information<br><br>I want to show the related information of the point when my mouse moves upon them...<br>The KEY problem is: How can the mouse read out that point&#39;s OWN information, such as the point&#39;s index, x and y coordinate, and even the point&#39;s color. You see, the mouse&#39;s function here accually works on its own x and y coordinates(event.x and event.y), not the point&#39;s value.<br>
(now the self.mouseEnter function don&#39;t manipulate color, but my future work will have to handle this...)<br><br>Thanks Very Much!<br><br><br>