On Thursday, January 10, 2013 1:13:38 PM UTC-6, Peter Otten wrote:
> mountdoom wrote:
> > I´m trying to make a script, which will change the background and
> > foreground color of widgets after hovering.
Peter's advice is spot on except you may want ALL widgets to change colors on
and events. I
mountdoo...@gmail.com wrote:
> I´m trying to make a script, which will change the background and
> foreground color of widgets after hovering.
> but when I hover on any button, nothing happens, they stay white. I know I
> could use a function, but there would be two functions for every widget (1
Hello,
I´m trying to make a script, which will change the background and foreground
color of widgets after hovering.
-
from Tkinter import *
root=Tk()
Hover1=Button(root,text="Red color", bg="white")
Hover1.pack()
Hover2=Button(root,text="Yellow color", bg="white")
Ho