traitsui.tests.editors.test_default_override module

class traitsui.tests.editors.test_default_override.Dummy

Bases: traits.has_traits.HasTraits

class traitsui.tests.editors.test_default_override.DummyEditor(*args, **traits)

Bases: traitsui.editor_factory.EditorFactory

custom_editor(ui, object, name, description, parent)

Generates an editor using the “custom” style.

readonly_editor(ui, object, name, description, parent)

Generates an “editor” that is read-only.

simple_editor(ui, object, name, description, parent)

Generates an editor using the “simple” style.

text_editor(ui, object, name, description, parent)

Generates an editor using the “text” style.

class traitsui.tests.editors.test_default_override.NewInt(default_value=<traits.trait_handlers.NoDefaultSpecified object>, **metadata)

Bases: traits.trait_types.Int

create_editor()

Returns the default traits UI editor for this type of trait.

traitsui.tests.editors.test_default_override.test_custom_override()
traitsui.tests.editors.test_default_override.test_readonly_override()
traitsui.tests.editors.test_default_override.test_simple_override()
traitsui.tests.editors.test_default_override.test_text_override()

Previous topic

traitsui.tests.editors.test_csv_editor module

Next topic

traitsui.tests.editors.test_instance_editor module

This Page