Hello all,

Tkinter supports a bunch of standard colors, for example something like:

        MyButton = Button(activebackground='red')

works and somebody, somewhere, knows that 'red' means "#FF0000'.

What I'm trying to find out is if there is a programatic way of getting a list 
of the colors that are available. Anyone know this offhand? A quick look 
through Tkinter.py was not overly illuminating. I'm using Python 2.7.2 and 
whatever version of tk/tcl came with Ubuntu 12.04 LTS.

Thanks

Cam Farnell

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
https://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to