traitsui.editors.history_editor module

Defines a text editor which displays a text field and maintains a history of previously entered values.

class traitsui.editors.history_editor.ToolkitEditorFactory(*args, **traits)[source]

Bases: BasicEditorFactory

auto_set = Bool(False)

Should each keystroke update the value (or only the enter key, tab, etc.)?

entries = Int(10)

The number of entries in the history:

traitsui.editors.history_editor.history_editor(*args, **traits)[source]