traitsui.editors.tuple_editor module

Defines the tuple editor factory for all traits user interface toolkits.

class traitsui.editors.tuple_editor.SimpleEditor(parent, **traits)

Bases: traitsui.editor.Editor

Simple style of editor for tuples.

The editor displays an editor for each of the fields in the tuple, based on the type of each field.

get_error_control()

Returns the editor’s control for indicating error status.

init(parent)

Finishes initializing the editor by creating the underlying toolkit widget.

update_editor()

Updates the editor when the object trait changes external to the editor.

class traitsui.editors.tuple_editor.ToolkitEditorFactory(*args, **traits)

Bases: traitsui.editor_factory.EditorFactory

Editor factory for tuple editors.

traitsui.editors.tuple_editor.TupleEditor

alias of traitsui.editors.tuple_editor.ToolkitEditorFactory

class traitsui.editors.tuple_editor.TupleStructure(editor)

Bases: traits.has_traits.HasTraits

Creates a view containing items for each field in a tuple.

Previous topic

traitsui.editors.tree_editor module

Next topic

traitsui.editors.value_editor module

This Page