traitsui.editors.boolean_editor module

Defines the Boolean editor factory for all traits toolkit backends.

class traitsui.editors.boolean_editor.BooleanEditor(*args, **traits)[source]

Bases: TextEditor

Editor factory for Boolean editors.

mapping = mapping_trait

Dictionary mapping user input to other values. These definitions override definitions in the ‘text_editor’ version

traitsui.editors.boolean_editor.ToolkitEditorFactory

alias of BooleanEditor