traitsui.editors.rgb_color_editor module

Defines a subclass of the base color editor factory, for colors that are represented as tuples of the form ( red, green, blue ), where red, green and blue are floats in the range from 0.0 to 1.0.

traitsui.editors.rgb_color_editor.RGBColorEditor(*args, **traits)

Returns an instance of the toolkit-specific editor factory declared in traitsui.<toolkit>.rgb_color_editor. If such an editor factory cannot be located, an instance of the abstract ToolkitEditorFactory declared in traitsui.editors.rgb_color_editor is returned.

Parameters:**traits (*args,) – arguments and keywords to be passed on to the editor factory’s constructor.
class traitsui.editors.rgb_color_editor.ToolkitEditorFactory(*args, **traits)

Bases: traitsui.editors.color_editor.ToolkitEditorFactory

Factory for editors for RGB colors.

Previous topic

traitsui.editors.range_editor module

Next topic

traitsui.editors.scrubber_editor module

This Page