traitsui.editors.color_editor module

Defines the color editor factory for the all traits toolkit backends.

traitsui.editors.color_editor.ColorEditor(*args, **traits)

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

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

Bases: traitsui.editor_factory.EditorFactory

Editor factory for color editors.

Previous topic

traitsui.editors.code_editor module

Next topic

traitsui.editors.compound_editor module

This Page