Background/foreground on disabled Tkinter.Entry

Martyn Quick martyn_quick at
Sun Jan 22 14:34:36 CET 2006

If I create a Tkinter.Entry widget, I can adjust the background and the
text colours, using the background and foreground options.  However, if
the state is "disabled", then this has no effect and it just appears as
grey on a light grey background.  E.g.,

Tkinter.Entry(root, foreground="black", background="white",

does not do what I expected.  What is the correct way to adjust the
foreground and background on disabled Entry widgets?



More information about the Python-list mailing list