Hi,

I created a polygon shape using Canvas.AddPolygon as the following:


H = Canvas.AddPolygon(polygon_points, LineColor = '#1A1A1A', FillColor
= '#EEEE99')


When I move the mouse over the 'H' shape, I trigger a function called
'colorFlash':


H.Bind(FloatCanvas.EVT_FC_ENTER_OBJECT, self.colorFlash)


My question: what is the best way to change the color of 'H' inside the
'colorFlash' function? The end goal is to have a flashing effect when mouse
hover over the polygon shape in order to make it more obvious to the end
user.

Thanks.
_______________________________________________
FloatCanvas mailing list
[email protected]
http://paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to