API Reference for Enthought Tool Suite 3.2.0
Defines the various editors for a drag-and-drop editor, for the wxPython user interface toolkit. A drag-and-drop editor represents its value as a simple image which, depending upon the editor style, can be a drag source only, a drop target only, or both a drag source and a drop target.
The image to use when the editor accepts files:
file_image = ImageResource('file').create_image()
The image to use when the editor is disabled:
inactive_image = ImageResource('inactive').create_image()
The image to use when the editor accepts objects:
object_image = ImageResource('object').create_image()
String types:
string_type = (str, unicode)
| Local name | Refers to |
|---|---|
| Bool | enthought.traits.trait_types.Bool |
| clipboard | enthought.util.wx.drag_and_drop.clipboard |
| Editor | enthought.traits.ui.wx.editor.Editor |
| ImageResource | enthought.pyface.image_resource.ImageResource |
| load | cPickle.load |
| numpy | numpy |
| PythonDropSource | enthought.util.wx.drag_and_drop.PythonDropSource |
| PythonDropTarget | enthought.util.wx.drag_and_drop.PythonDropTarget |
| ToolkitEditorFactory | enthought.traits.ui.editors.dnd_editor.ToolkitEditorFactory |
| wx | wx |
© Copyright 2002-2009 Enthought, Inc.