El 16/02/2014 14:03, "Cam Farnell" <ms...@bitflipper.ca> escribió: > > 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.
They are documented. http://www.tcl.tk/man/tcl8.6/TkCmd/colors.htm Regards
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org https://mail.python.org/mailman/listinfo/tkinter-discuss