The CompontPosition class represents a components position within the
absolute layout. It contains the attributes for left, right, top and
bottom and the units used to specify them.
|
|
__init__(self,
layout)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
setTop(self,
topValue,
topUnits)
Sets the 'top' attribute; distance from the top of the component to
the top edge of the layout. |
source code
|
|
|
|
setRight(self,
rightValue,
rightUnits)
Sets the 'right' attribute; distance from the right of the component
to the right edge of the layout. |
source code
|
|
|
|
setBottom(self,
bottomValue,
bottomUnits)
Sets the 'bottom' attribute; distance from the bottom of the
component to the bottom edge of the layout. |
source code
|
|
|
|
setLeft(self,
leftValue,
leftUnits)
Sets the 'left' attribute; distance from the left of the component to
the left edge of the layout. |
source code
|
|
|
|
|
|
|
setTopValue(self,
topValue)
Sets the value of the 'top' attribute; distance from the top of the
component to the top edge of the layout. |
source code
|
|
|
|
|
|
|
|
|
|
setRightValue(self,
rightValue)
Sets the 'right' attribute value (distance from the right of the
component to the right edge of the layout). |
source code
|
|
|
|
|
|
|
setBottomValue(self,
bottomValue)
Sets the 'bottom' attribute value (distance from the bottom of the
component to the bottom edge of the layout). |
source code
|
|
|
|
|
|
|
setLeftValue(self,
leftValue)
Sets the 'left' attribute value (distance from the left of the
component to the left edge of the layout). |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|