traitsui.editors.drop_editor module

Defines a drop editor factory for all traits toolkit backends. A drop target editor handles drag and drop operations as a drop target.

class traitsui.editors.drop_editor.DropEditor(*args, **traits)[source]

Bases: TextEditor

Editor factory for drop editors.

binding = Bool(False)

Must allowable drop objects be bindings?

klass = Any()

Allowable drop objects must be of this class (optional)

readonly = Bool(True)

Can the user type into the editor, or is it read only?


alias of DropEditor