Package wx :: Class LayoutConstraints
[frames | no frames]

Type LayoutConstraints

object --+    
         |    
    Object --+
             |
            LayoutConstraints

Known Subclasses:
LayoutAnchors, Layoutf

Note: constraints are now deprecated and you should use sizers instead.

Objects of this class can be associated with a window to define its layout constraints, with respect to siblings or its parent.

The class consists of the following eight constraints of class wx.IndividualLayoutConstraint, some or all of which should be accessed directly to set the appropriate constraints.

Most constraints are initially set to have the relationship wxUnconstrained, which means that their values should be calculated by looking at known constraints. The exceptions are width and height, which are set to wxAsIs to ensure that if the user does not specify a constraint, the existing width and height will be used, to be compatible with panel items which often have take a default size. If the constraint is wx.AsIs, the dimension will not be changed.


See Also:

wx.IndividualLayoutConstraint, wx.Window.SetConstraints

Method Summary
LayoutConstraints __init__(self)
  __del__(self)
bool AreSatisfied(self)
(areSatisfied, noChanges) SatisfyConstraints(win)

Property Summary
  bottom
  centreX
  centreY
  height
  left
  right
  thisown: The membership flag
  top
  width

Property Details

thisown

The membership flag


Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:53:23 2009 http://epydoc.sf.net