color propagation in tkinter

Mike Driscoll kyosohma at
Mon Apr 20 19:59:40 CEST 2009

On Apr 20, 12:35 pm, Alan G Isaac < at> wrote:
> I'm a tkinter novice.
> If I want to propagate changes to a font,
> I can just use a named font.
> What if I want to propagate color changes?
> (E.g., a change in background color for
> a number of widgets.)
> Thanks,
> Alan Isaac

One way would be to keep a list of the widgets that you want to be
able to change the color of, and then loop over the list and change
their respective colors as needed.


More information about the Python-list mailing list