color propagation in tkinter
kyosohma at gmail.com
Mon Apr 20 19:59:40 CEST 2009
On Apr 20, 12:35 pm, Alan G Isaac <alan.is... at gmail.com> 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.)
> 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