API Reference for Enthought Tool Suite 3.0.1
Pyface 'DockSizer' support.
This package implements the sizer associated with a Pyface DockWindow component. The sizer manages the layout of the DockWindow child controls and the notebook tabs and dragbars associated with the DockWindow.
Normal background color:
BGColor = None
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
Color used to update the screen while showing a docking operation in progress:
DockColorBrush = (255, 0, 0, 96)
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)
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)
is_mac = sys.platform== 'darwin'
Maximum allowed length of a tab label:
MaxTabLength = 30
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)
NormalStates = (TabInactive, TabActive)
NotActiveStates = (TabInactive, TabHover)
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
Standard font used by the DockWindow:
standard_font = None
TabActive = 1
TabHover = 2
Tab drawing states:
TabInactive = 0
Standard font text height:
text_dy = 13
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.
Gets a temporary device context for a specified window to draw in.
Sets the standard font to use for a specified device context.
Returns the top-level window for a specified control.
© Copyright 2002-2008 Enthought, Inc.