Class containing information about alignment of a component. Use the
pre-instantiated classes.
|
__init__(self,
bitMask)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
isTop(self)
Checks if component is aligned to the top of the available space. |
source code
|
|
|
isBottom(self)
Checks if component is aligned to the bottom of the available space. |
source code
|
|
|
isLeft(self)
Checks if component is aligned to the left of the available space. |
source code
|
|
|
isRight(self)
Checks if component is aligned to the right of the available space. |
source code
|
|
|
isMiddle(self)
Checks if component is aligned middle (vertically center) of the
available space. |
source code
|
|
|
isCenter(self)
Checks if component is aligned center (horizontally) of the available
space. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|
|
TOP_RIGHT = Alignment((Bits.ALIGNMENT_TOP+ Bits.ALIGNMENT_RIGHT))
|
|
TOP_LEFT = Alignment((Bits.ALIGNMENT_TOP+ Bits.ALIGNMENT_LEFT))
|
|
TOP_CENTER = Alignment((Bits.ALIGNMENT_TOP+ Bits.ALIGNMENT_HOR...
|
|
MIDDLE_RIGHT = Alignment((Bits.ALIGNMENT_VERTICAL_CENTER+ Bits...
|
|
MIDDLE_LEFT = Alignment((Bits.ALIGNMENT_VERTICAL_CENTER+ Bits....
|
|
MIDDLE_CENTER = Alignment((Bits.ALIGNMENT_VERTICAL_CENTER+ Bit...
|
|
BOTTOM_RIGHT = Alignment((Bits.ALIGNMENT_BOTTOM+ Bits.ALIGNMEN...
|
|
BOTTOM_LEFT = Alignment((Bits.ALIGNMENT_BOTTOM+ Bits.ALIGNMENT...
|
|
BOTTOM_CENTER = Alignment((Bits.ALIGNMENT_BOTTOM+ Bits.ALIGNME...
|