API Reference for Enthought Tool Suite 2.7.1
Sorting order for the Contacts ('add' = order the Contacts are added in):
ADD = 0
Sorting direction for the Contacts:
ASCENDING = 0
Create a default track style:
default_track_style = OMTrackStyle()
DESCENDING = 1
HORIZONTAL = 1
INNER_BOTTOM = 7
INNER_LEFT = 4
INNER_RIGHT = 5
INNER_TOP = 6
NAME = 1
OUTER_BOTTOM = 3
Position of the track relative to the associated component:
OUTER_LEFT = 0
OUTER_RIGHT = 1
OUTER_TOP = 2
Map Track positions to Contact positions:
track_to_contact_map = [ 'left', 'right', 'top', 'bottom', 'left', 'right', 'top', 'bottom' ]
Margin around the sides of the track:
TrackMargin = Range(0, 31, 0)
TrackOrder = Trait('add', { Const('add') : Name('ADD'), Const('name') : Name('NAME') })
TrackOrientation = Trait('vertical', { Const('vertical') : Name('VERTICAL'), Const('horizontal') : Name('HORIZONTAL') })
TrackPosition = Trait('left', { Const('left') : Name('OUTER_LEFT'), Const('right') : Name('OUTER_RIGHT'), Const('top') : Name('OUTER_TOP'), Const('bottom') : Name('OUTER_BOTTOM'), Const('inner left') : Name('INNER_LEFT'), Const('inner right') : Name('INNER_RIGHT'), Const('inner top') : Name('INNER_TOP'), Const('inner bottom') : Name('INNER_BOTTOM') })
TrackSort = Trait('ascending', { Const('ascending') : Name('ASCENDING'), Const('descending') : Name('DESCENDING') })
Contact/Group spacing:
TrackSpacing = Range(0, 31, 3)
Layout orientation of the track:
VERTICAL = 0
| Local name | Refers to |
|---|---|
| ContactCategory | enthought.enable.om.om_traits.ContactCategory |
| default_track_group_style | enthought.enable.om.om_track_group.default_track_group_style |
| HasPrivateTraits | enthought.traits.has_traits.HasPrivateTraits |
| HasStrictTraits | enthought.traits.has_traits.HasStrictTraits |
| Instance | enthought.traits.traits.Instance |
| List | enthought.traits.traits.List |
| OffsetXY | enthought.enable.om.om_traits.OffsetXY |
| OMComponent | enthought.enable.om.om_component.OMComponent |
| OMContact | enthought.enable.om.om_contact.OMContact |
| OMTrackGroup | enthought.enable.om.om_track_group.OMTrackGroup |
| OMTrackGroupStyle | enthought.enable.om.om_track_group.OMTrackGroupStyle |
| Property | enthought.traits.traits.Property |
| Range | enthought.traits.traits.Range |
| SizeXY | enthought.enable.om.om_traits.SizeXY |
| Str | enthought.traits.traits.Str |
| StyleDelegate | enthought.enable.om.om_traits.StyleDelegate |
| Trait | enthought.traits.traits.Trait |
Copyright © 2002-2008 Enthought, Inc.