API Reference for Enthought Tool Suite 3.0.1
Adds a 'drag and drop' feature to DockWindow which exposes traits on the object associated with a DockControl as draggable or droppable items. If the object contains one or more traits with 'draggable' metadata, then the value of those traits will be draggable. If the object contains one or more traits with 'droppable' metadata, then each trait that will accept a specified item will receive that item when it is dropped on the feature.
Feature settings:
settings = (ImageResource('drag_feature'), ImageResource('drop_feature'), ImageResource('dragdrop_feature'))
| Local name | Refers to |
|---|---|
| DockWindowFeature | enthought.pyface.dock.dock_window_feature.DockWindowFeature |
| HasStrictTraits | enthought.traits.has_traits.HasStrictTraits |
| HasTraits | enthought.traits.has_traits.HasTraits |
| ImageResource | enthought.pyface.image_resource.ImageResource |
| List | enthought.traits.trait_types.List |
| Str | enthought.traits.trait_types.Str |
© Copyright 2002-2008 Enthought, Inc.