phoenix_title wx.IndividualLayoutConstraint


class_hierarchy Class Hierarchy

Inheritance diagram for class IndividualLayoutConstraint:

method_summary Methods Summary

__init__

Above

Absolute

AsIs

Below

GetDone

GetEdge

GetMargin

GetMyEdge

GetOtherEdge

GetOtherWindow

GetPercent

GetRelationship

GetValue

LeftOf

PercentOf

ResetIfWin

RightOf

SameAs

SatisfyConstraint

Set

SetDone

SetEdge

SetMargin

SetRelationship

SetValue

Unconstrained


property_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


api Class API

class 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

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)
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