| Method Summary |
| SizerItem |
__init__(self)
Constructs an empty wx.SizerItem. |
| |
__repr__(self)
|
| Size |
CalcMin(self)
Calculates the minimum desired size for the item, including any space
needed by borders. |
| |
DeleteWindows(self)
Destroy the window or the windows in a subsizer, depending on the type
of item. |
| |
DetachSizer(self)
Enable deleting the SizerItem without destroying the contained sizer. |
| int |
GetBorder(self)
Get the border value for this item. |
| int |
GetFlag(self)
Get the flag value for this item. |
| Size |
GetMinSize(self)
Get the minimum size needed for the item. |
| Size |
GetMinSizeWithBorder(self)
Get the minimum size needed for the item with space for the borders
added, if needed. |
| |
GetOption(*args,
**kwargs)
Please use GetProportion instead. |
| Point |
GetPosition(self)
Returns the current position of the item, as set in the last Layout. |
| int |
GetProportion(self)
Get the proportion value for this item. |
| float |
GetRatio(self)
Set the ratio item attribute. |
| Rect |
GetRect(self)
Returns the rectangle that the sizer item should occupy |
| Size |
GetSize(self)
Get the current size of the item, as set in the last Layout. |
| Sizer |
GetSizer(self)
Get the subsizer (if any) that is managed by this sizer item. |
| Size |
GetSpacer(self)
Get the size of the spacer managed by this sizer item. |
| PyObject |
GetUserData(self)
Returns the userData associated with this sizer item, or None if there
isn't any. |
| Window |
GetWindow(self)
Get the window (if any) that is managed by this sizer item. |
| bool |
IsShown(self)
Is the item to be shown in the layout? |
| bool |
IsSizer(self)
Is this sizer item a subsizer? |
| bool |
IsSpacer(self)
Is this sizer item a spacer? |
| bool |
IsWindow(self)
Is this sizer item a window? |
| |
SetBorder(self,
border)
Set the border value for this item. |
| |
SetDimension(self,
pos,
size)
Set the position and size of the space allocated for this item by the
sizer, and adjust the position and size of the item (window or
subsizer) to be within that space taking alignment and borders into
account. |
| |
SetFlag(self,
flag)
Set the flag value for this item. |
| |
SetInitSize(self,
x,
y)
|
| |
SetOption(*args,
**kwargs)
Please use SetProportion instead. |
| |
SetProportion(self,
proportion)
Set the proportion value for this item. |
| |
SetRatio(self,
ratio)
Set the ratio item attribute. |
| |
SetRatioSize(self,
size)
Set the ratio item attribute. |
| |
SetRatioWH(self,
width,
height)
Set the ratio item attribute. |
| |
SetSizer(self,
sizer)
Set the subsizer to be managed by this sizer item. |
| |
SetSpacer(self,
size)
Set the size of the spacer to be managed by this sizer item. |
| |
SetWindow(self,
window)
Set the window to be managed by this sizer item. |
| |
Show(self,
show)
Set the show item attribute, which sizers use to determine if the item
is to be made part of the layout or not. |