Michael Foord wrote: > 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 ?
same as RELIEF; see http://effbot.org/tkinterbook/button.htm#Tkinter.Button.config-method > 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. you can use <Enter> and <Leave> events for this; see: http://effbot.org/tkinterbook/tkinter-events-and-bindings.htm#events </F> _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss