API Reference for Enthought Tool Suite 2.7.1
Normal background color:
BGColor = None
Initialize the various colors:
BGColor = color_tuple_for(wx.SYS_COLOUR_BTNFACE)
Bounds (i.e. x, y, dx, dy):
Bounds = Tuple(Int, Int, Int, Int)
CloseDragSize = 7
Images sizes (in pixels):
CloseTabSize = 10
DOCK_BAR = 6
DOCK_BOTTOM = 1
DOCK_EXPORT = 9
DOCK_LEFT = 2
DOCK_NONE = 7
DOCK_RIGHT = 3
DOCK_SPLITTER = 8
DOCK_TAB = 4
DOCK_TABADD = 5
Drop Info kinds:
DOCK_TOP = 0
Size of a docking marker bar:
DockBarSize = 6
Color used to update the screen while showing a docking operation in progress:
DockColor = (32, 255, 255)
Docking drag bar style:
DockStyle = Enum('horizontal', 'vertical', 'tab', 'fixed')
Size of a drag bar (in pixels):
DragBarSize = 14
Color used to update the screen while dragging a splitter bar:
DragColor = (96, 96, 96)
DragDarkColor = (172, 168, 153)
DragDarkColor = color_tuple_for(wx.SYS_COLOUR_BTNSHADOW)
Colors used to draw a grab bar:
DragLightColor = (255, 255, 255)
DragLightColor = color_tuple_for(wx.SYS_COLOUR_WINDOW)
FEATURE_CHANGED = 1
FEATURE_DISABLED = 3
FEATURE_DROP = 2
FEATURE_DROP_VISIBLE = 5
FEATURE_END_DROP = (FEATURE_DROP, FEATURE_VISIBLE, FEATURE_DROP_VISIBLE)
FEATURE_EXTERNAL_DRAG = 256
Feature modes:
FEATURE_NONE = -Const(1)
FEATURE_NORMAL = 0
FEATURE_PRE_NORMAL = 6
FEATURE_VISIBLE = 4
Feature overlay colors:
FeatureBrushColor = (255, 255, 255)
FeaturePenColor = (92, 92, 92)
The list of available DockWindowFeatures:
features = [ ]
FEATURES_VISIBLE = (FEATURE_VISIBLE, FEATURE_DROP_VISIBLE)
Color used to mark the DockWindow boundary while dragging:
MarkColor = (255, 255, 0)
Maximum allowed length of a tab label:
MaxTabLength = 30
Colors used to draw a notebook:
NBBGColor = (252, 252, 254)
NBBGColor = color_tuple_for(wx.SYS_COLOUR_MENU)
NBBGTabAColor = (252, 252, 254)
NBBGTabAColor = color_tuple_for(wx.SYS_COLOUR_MENU)
NBBGTabIColor = (246, 246, 243)
NBBGTabIColor = color_tuple_for(wx.SYS_COLOUR_MENU)
NBBGTabXColor = (255, 199, 60)
NBEdgeColor = (145, 155, 156)
NBEdgeColor = color_tuple_for(wx.SYS_COLOUR_BTNSHADOW)
NBEdgeTabAColor = (145, 155, 156)
NBEdgeTabIColor = (145, 155, 156)
NBEdgeTabXColor = (230, 139, 44)
NBMarginBottom = 9
Notebook margin and padding sizes:
NBMarginLeft = 7
NBMarginRight = 9
NBMarginTop = 3
NBPadding = 4
NBShadow1Color = (208, 206, 191)
NBShadow1Color = color_tuple_for(wx.SYS_COLOUR_BTNSHADOW)
NBShadow2Color = (227, 224, 208)
NBShadow2Color = color_tuple_for(wx.SYS_COLOUR_3DLIGHT)
Empty clipping area:
no_clip = (0, 0, 0, 0)
Create a reusable DockInfo indicating no information available:
no_dock_info = DockInfo(kind = DOCK_NONE)
Feature sets:
NO_FEATURE_ICON = (FEATURE_NONE, FEATURE_DISABLED, FEATURE_VISIBLE, FEATURE_DROP_VISIBLE)
NORMAL_FEATURES = (FEATURE_NORMAL, FEATURE_DISABLED)
Tab scrolling directions:
SCROLL_LEFT = 1
SCROLL_RIGHT = 2
SCROLL_TO = 3
Valid sequence types:
SequenceType = (list, tuple)
SPLIT_HBOTTOM = 5
SPLIT_HMIDDLE = 4
SPLIT_HTOP = 3
Splitter states:
SPLIT_VLEFT = 0
SPLIT_VMIDDLE = 1
SPLIT_VRIGHT = 2
Size of a splitter bar:
SplitterSizeH = 9
SplitterSizeV = 12
Standard font used by the DockWindow:
standard_font = None
TabActive = 1
Height of a notebook tab (in pixels):
TabHeight = 26
TabHover = 2
Tab drawing states:
TabInactive = 0
Width of a notebook tab's margin (in pixels):
TabMargin = 8
Define version dependent values:
wx_26 = wx.__version__[:3== '2.6'
Creates a singleton instance of the class:
DockImages = DockImages()
Adds a new DockWindowFeature class to the list of available features.
Clears a window to the standard background color.
Returns an (R, G, B) tuple for a specified wxPython system colour.
Sets the standard font to use for a specified device context.
| Local name | Refers to |
|---|---|
| Any | enthought.traits.traits.Any |
| Callable | enthought.traits.traits.Callable |
| Constant | enthought.traits.traits.Constant |
| do_after | enthought.pyface.timer.do_later.do_after |
| do_later | enthought.pyface.timer.do_later.do_later |
| Enum | enthought.traits.traits.Enum |
| Event | enthought.traits.traits.Event |
| false | enthought.traits.traits.false |
| HasPrivateTraits | enthought.traits.has_traits.HasPrivateTraits |
| IDockable | enthought.pyface.dock.idockable.IDockable |
| IFeatureTool | enthought.pyface.dock.ifeature_tool.IFeatureTool |
| ImageResource | enthought.pyface.image_resource.ImageResource |
| Instance | enthought.traits.traits.Instance |
| Int | enthought.traits.traits.Int |
| List | enthought.traits.traits.List |
| Property | enthought.traits.traits.Property |
| PythonDropSource | enthought.util.wx.drag_and_drop.PythonDropSource |
| Range | enthought.traits.traits.Range |
| Str | enthought.traits.traits.Str |
| true | enthought.traits.traits.true |
| Tuple | enthought.traits.traits.Tuple |
| Undefined | enthought.traits.trait_base.Undefined |
| wx | wx |
Copyright © 2002-2008 Enthought, Inc.