Tkinter - Button Overrelief

Fuzzyman fuzzyman at gmail.com
Tue Jun 27 08:06:05 EDT 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 Python-list mailing list