wx.lib.ogl.composit.ConstraintType¶
The ConstraintType
class.
Class Hierarchy¶
Methods Summary¶
Default class constructor. |
Class API¶
- class ConstraintType(object)¶
The
ConstraintType
class.
Methods¶
- __init__(self, theType, theName, thePhrase)¶
Default class constructor.
- Parameters:
theType – one of the following ====================================== ================================ Constraint type Description ====================================== ================================
CONSTRAINT_CENTRED_VERTICALLY
Centered verticallyCONSTRAINT_CENTRED_HORIZONTALLY
Centered horizontallyCONSTRAINT_CENTRED_BOTH
Centered in both directionsCONSTRAINT_LEFT_OF
Center left ofCONSTRAINT_RIGHT_OF
Center right ofCONSTRAINT_ABOVE
Center aboveCONSTRAINT_BELOW
Center belowCONSTRAINT_ALIGNED_TOP
Align topCONSTRAINT_ALIGNED_BOTTOM
Align bottomCONSTRAINT_ALIGNED_LEFT
Align leftCONSTRAINT_ALIGNED_RIGHT
Align rightCONSTRAINT_MIDALIGNED_TOP
Middle align topCONSTRAINT_MIDALIGNED_BOTTOM
Middle align bottomCONSTRAINT_MIDALIGNED_LEFT
Middle align leftCONSTRAINT_MIDALIGNED_RIGHT
Middle align right ====================================== ================================theName – the name for the constraint
thePhrase – the descriptive phrase