traitsui.editors.custom_editor module

Defines the editor factory used to wrap a non-Traits based custom control.

class traitsui.editors.custom_editor.CustomEditor(*args, **traits)[source]

Bases: BasicEditorFactory

Editor factory for custom editors.

args = Tuple()

Arguments to be passed to the user’s custom editor factory

factory = Callable()

Factory function used to create the custom control

klass = Property()

Editor class to be instantiated.

traitsui.editors.custom_editor.ToolkitEditorFactory

alias of CustomEditor