Where do I find what colors and fonts are available?
klappnase
klappnase at web.de
Sat May 15 21:21:38 EDT 2004
>
> I didn't mention it in my original post, but I do need platform
> independence. I want to choose fonts and colors that will work with
> Windows or linux. So I need a way of knowing what my options are, i.e.,
> what colornames and fonts are available, both on my system and other
> peoples systems. For example, "blue" is always available, but "salmon"
> may not be.
> "courier" is probably always available, but "Bookman Old Style" may not
> be.
>
> At the moment I don't even know what's available on my own system, let
> alone other people's, and I have not found this info in any
> documentation.
>
> Does Tkinter include its own fonts and colors? If so, where do I find
> their names? If not, same question anyway.
>
> m
As far as colors are concerned I think it might be easiest to use
hexadecimal color descriptors if you are uncertain, like bg='#ff0000'
instead of 'red' .
Michael
More information about the Python-list
mailing list