Package wx :: Package lib :: Package ogl :: Class Constraint
[frames | no frames]

Type Constraint

object --+
         |
        Constraint


A Constraint object helps specify how child shapes are laid out with respect to siblings and parents.

Derived from:
wxObject

Method Summary
  __init__(self, type, constraining, constrained)
  __repr__(self)
  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.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
Return hash(x)...
  __new__(T, S, ...)
Return a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
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.


Generated by Epydoc 2.1.20050511.rpd on Sat Jun 16 16:56:31 2007 http://epydoc.sf.net