Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Package ogl :: Class Constraint |
|
object
--+
|
Constraint
A Constraint object helps specify how child shapes are laid out with respect to siblings and parents.
Method Summary | |
---|---|
__init__(self,
type,
constraining,
constrained)
| |
__repr__(self)
| |
Return TRUE if x and y are approximately equal (for the purposes of evaluating the constraint). | |
Evaluate this constraint and return TRUE if anything changed. | |
Sets the horizontal and vertical spacing for the constraint. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Return hash(x)... | |
Return a new object with type S, a subtype of T... | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
Return str(x)... |
Method Details |
---|
Equals(self, a, b)Return TRUE if x and y are approximately equal (for the purposes of evaluating the constraint). |
Evaluate(self)Evaluate this constraint and return TRUE if anything changed. |
SetSpacing(self, x, y)Sets the horizontal and vertical spacing for the constraint. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Sat Jun 16 16:56:31 2007 | http://epydoc.sf.net |