Phoenix Logo

phoenix_title wx.IndividualLayoutConstraint


class_hierarchy Class Hierarchy

Inheritance diagram for class IndividualLayoutConstraint:

api Class API



class wx.IndividualLayoutConstraint(Object)

Possible constructors:

IndividualLayoutConstraint()

Methods



__init__(self)


Above(self, sibling, margin=LAYOUT_DEFAULT_MARGIN)
Parameters:


Absolute(self, val)
Parameters:val (int) –


AsIs(self)


Below(self, sibling, margin=LAYOUT_DEFAULT_MARGIN)
Parameters:


GetDone(self)
Return type:bool


GetEdge(self, which, thisWin, other)
Parameters:
Return type:

int



GetMargin(self)
Return type:int


GetMyEdge(self)
Return type: wx.Edge


GetOtherEdge(self)
Return type:int


GetOtherWindow(self)
Return type: wx.Window


GetPercent(self)
Return type:int


GetRelationship(self)
Return type: wx.Relationship


GetValue(self)
Return type:int


LeftOf(self, sibling, margin=LAYOUT_DEFAULT_MARGIN)
Parameters:


PercentOf(self, otherW, wh, per)
Parameters:


ResetIfWin(self, otherW)
Parameters:otherW (wx.Window) –
Return type:bool


RightOf(self, sibling, margin=LAYOUT_DEFAULT_MARGIN)
Parameters:


SameAs(self, otherW, edge, margin=LAYOUT_DEFAULT_MARGIN)
Parameters:


SatisfyConstraint(self, constraints, win)
Parameters:
Return type:

bool



Set(self, rel, otherW, otherE, val=0, margin=LAYOUT_DEFAULT_MARGIN)
Parameters:


SetDone(self, d)
Parameters:d (bool) –


SetEdge(self, which)
Parameters:which (Edge) –


SetMargin(self, m)
Parameters:m (int) –


SetRelationship(self, r)
Parameters:r (Relationship) –


SetValue(self, v)
Parameters:v (int) –


Unconstrained(self)

Properties



Done

See GetDone and SetDone



Margin

See GetMargin and SetMargin



MyEdge

See GetMyEdge



OtherEdge

See GetOtherEdge



OtherWindow

See GetOtherWindow



Percent

See GetPercent



Relationship

See GetRelationship and SetRelationship



Value

See GetValue and SetValue