API Reference for Enthought Tool Suite 3.0.1
Adds a 'popup_menu' feature to DockWindow which will display a popup menu defined by an object when the user clicks on the feature image. The associated object must have a 'popup_menu' attribute, which can either be a menu or a function which returns a menu.
| Local name | Refers to |
|---|---|
| Action | enthought.traits.ui.menu.Action |
| DockWindowFeature | enthought.pyface.dock.dock_window_feature.DockWindowFeature |
| ImageResource | enthought.pyface.image_resource.ImageResource |
| Menu | enthought.pyface.action.menu_manager.MenuManager |
© Copyright 2002-2008 Enthought, Inc.