API Reference for Enthought Tool Suite 3.2.0
Trait definition for a null-based (i.e., no UI) color.
Color traits
NullColor = Trait('white', convert_to_color, standard_colors, editor = get_color_editor)
standard_colors = { Const('aquamarine') : Const(7396243), Const('black') : Const(0), Const('blue') : Const(255), Const('blue violet') : Const(10444703), Const('brown') : Const(10824234), Const('cadet blue') : Const(6266783), Const('coral') : Const(16744192), Const('cornflower blue') : Const(4342383), Const('cyan') : Const(65535), Const('dark grey') : Const(3092271), Const('dark green') : Const(3100463), Const('dark olive green') : Const(5197615), Const('dark orchid') : Const(10040012), Const('dark slate blue') : Const(7021454), Const('dark slate grey') : Const(3100495), Const('dark turquoise') : Const(7377883), Const('dim grey') : Const(5526612), Const('firebrick') : Const(9315107), Const('forest green') : Const(2330147), Const('gold') : Const(13401906), Const('goldenrod') : Const(14408560), Const('grey') : Const(8421504), Const('green') : Const(65280), Const('green yellow') : Const(9689968), Const('indian red') : Const(5189423), Const('khaki') : Const(10461023), Const('light blue') : Const(12572888), Const('light grey') : Const(12632256), Const('light steel') : Const(0), Const('blue') : Const(255), Const('lime green') : Const(3329074), Const('magenta') : Const(16711935), Const('maroon') : Const(9315179), Const('medium aquamarine') : Const(3329177), Const('medium blue') : Const(3289804), Const('medium forest green') : Const(7048739), Const('medium goldenrod') : Const(15395501), Const('medium orchid') : Const(9662683), Const('medium sea green') : Const(4353858), Const('medium slate blue') : Const(8323327), Const('medium spring green') : Const(8388352), Const('medium turquoise') : Const(7396315), Const('medium violet red') : Const(14381203), Const('midnight blue') : Const(3092303), Const('navy') : Const(2302862), Const('orange') : Const(13382194), Const('orange red') : Const(16711807), Const('orchid') : Const(14381275), Const('pale green') : Const(9419919), Const('pink') : Const(12357610), Const('plum') : Const(15379946), Const('purple') : Const(11534591), Const('red') : Const(16711680), Const('salmon') : Const(7291458), Const('sea green') : Const(2330219), Const('sienna') : Const(9333539), Const('sky blue') : Const(3316172), Const('slate blue') : Const(32767), Const('spring green') : Const(65407), Const('steel blue') : Const(2321294), Const('tan') : Const(14390128), Const('thistle') : Const(14204888), Const('turquoise') : Const(11397866), Const('violet') : Const(5189455), Const('violet red') : Const(13382297), Const('wheat') : Const(14211263), Const('white') : Const(16777215), Const('yellow') : Const(16776960), Const('yellow green') : Const(10079282) }
Converts a number into a wxColour object.
| Local name | Refers to |
|---|---|
| Trait | enthought.traits.traits.Trait |
| TraitError | enthought.traits.trait_errors.TraitError |
© Copyright 2002-2009 Enthought, Inc.