API Reference for Enthought Tool Suite 3.2.0
Adds an 'save' feature to DockWindow which displays a 'save' image whenever the associated object sets its 'needs_save' trait True. Then when the user clicks the 'save' image, the feature calls the object's 'save' method.
save_feature = ImageResource('save_feature')
| Local name | Refers to |
|---|---|
| DockWindowFeature | enthought.pyface.dock.dock_window_feature.DockWindowFeature |
| ImageResource | enthought.pyface.image_resource.ImageResource |
| Saveable | enthought.developer.helper.saveable.Saveable |
© Copyright 2002-2009 Enthought, Inc.