API Reference for Enthought Tool Suite 3.2.0
Adds a 'debug' feature to DockWindow which exposes the object associated with a DockControl as a draggable item. This can be used to facilitate debugging when used in conjunction with other plugins such as 'object source' and 'universal inspector'.
dock_control_action = Action(name = 'DockControl', action = "self.set(mode='dock_control')", style = 'toggle')
feature_images = { Const('object') : CallFunc(Name('ImageResource'), [Const('debug_object_feature')], None, None), Const('dock_control') : CallFunc(Name('ImageResource'), [Const('debug_dock_control_feature')], None, None), Const('window') : CallFunc(Name('ImageResource'), [Const('debug_window_feature')], None, None), Const('ui') : CallFunc(Name('ImageResource'), [Const('debug_ui_feature')], None, None) }
object_action = Action(name = 'Object', action = "self.set(mode='object')", style = 'toggle')
ui_action = Action(name = 'Traits UI', action = "self.set(mode='ui')", style = 'toggle')
window_action = Action(name = 'Window', action = "self.set(mode='window')", style = 'toggle')
| Local name | Refers to |
|---|---|
| Action | enthought.traits.ui.menu.Action |
| Any | enthought.traits.trait_types.Any |
| DockWindow | enthought.pyface.dock.dock_window.DockWindow |
| DockWindowFeature | enthought.pyface.dock.dock_window_feature.DockWindowFeature |
| Enum | enthought.traits.trait_types.Enum |
| HasPayload | enthought.developer.helper.has_payload.HasPayload |
| IDockUIProvider | enthought.pyface.dock.idock_ui_provider.IDockUIProvider |
| ImageResource | enthought.pyface.image_resource.ImageResource |
| Item | enthought.traits.ui.item.Item |
| Menu | enthought.pyface.action.menu_manager.MenuManager |
| NoButtons | enthought.traits.ui.menu.NoButtons |
| Property | enthought.traits.traits.Property |
| ValueEditor | enthought.traits.ui.editors.value_editor.ValueEditor |
| View | enthought.traits.ui.view.View |
© Copyright 2002-2009 Enthought, Inc.