wx.IndividualLayoutConstraint¶
Methods Summary¶
Properties Summary¶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 |
Class API¶wx.IndividualLayoutConstraint(Object)¶Possible constructors:
IndividualLayoutConstraint()
__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 |
|---|
GetOtherEdge(self)¶| Return type: | int |
|---|
GetPercent(self)¶| Return type: | int |
|---|
GetRelationship(self)¶| Return type: | wx.Relationship |
|---|
GetValue(self)¶| Return type: | int |
|---|
LeftOf(self, sibling, margin=LAYOUT_DEFAULT_MARGIN)¶| Parameters: |
|
|---|
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) – |
|---|
SetMargin(self, m)¶| Parameters: | m (int) – |
|---|
SetRelationship(self, r)¶| Parameters: | r (Relationship) – |
|---|
SetValue(self, v)¶| Parameters: | v (int) – |
|---|
Unconstrained(self)¶OtherEdge¶See GetOtherEdge
OtherWindow¶See GetOtherWindow
Percent¶See GetPercent
Relationship¶See GetRelationship and SetRelationship