Hi,

Thus spoketh pyt...@bdurham.com 
unto us on Tue, 30 Nov 2010 02:51:49 -0500:

> Tkinter has a cool way to create named font objects that can be
> used across widgets. When a named font object is updated, all the
> widgets that use the named font automatically update their fonts
> as well.
> 
> Is there a similar way to implement "named colors", eg. where we
> can update a "color object" in one place and have all widgets
> that reference this color object update their colors as well?

This is #30 on the Tk-9.0 wishlist, see:

    http://wiki.tcl.tk/4055

and to implement this in Python is surely not trivial, so I doubt that
such a thing exists (though I agree to you that it would be desirable).

Regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

        "Get back to your stations!"
        "We're beaming down to the planet, sir."
                -- Kirk and Mr. Leslie, "This Side of Paradise",
                   stardate 3417.3
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to