[Tkinter-discuss] Button Overrelief

Michael Foord mike at pcblokes.com
Tue Jun 27 13:49:35 CEST 2006


Hello all,

I have some Tkinter buttons that display images. I would like to change
these to 'active' images when the mouse is over the button.

I see that the button widget can take an 'overrelief' argument in the
constructor. What values can this take ?

Also - can anyone provide an example of using the equivalent of a
'mouseover' event to change the image used by a button in Tkinter ? I'm
afraid google has not helped me much here.

Much Appreciated,


Fuzzyman
http://www.voidspace.org.uk/python/index.shtml



More information about the Tkinter-discuss mailing list