traitsui.editors.set_editor module

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

class traitsui.editors.set_editor.SetEditor(*args, **traits)[source]

Bases: EditorWithListFactory

Editor factory for editors for sets.

can_move_all = Bool(True)

Can the user add and delete all items in the set at once?

left_column_title = Str()

Title of left column:

ordered = Bool(False)

Are the items in the set ordered (vs. unordered)?

right_column_title = Str()

Title of right column:

traitsui.editors.set_editor.ToolkitEditorFactory

alias of SetEditor