Sizer()
wxSizer is the abstract base class used for laying out subwindows in a window.
Initialize self. See help(type(self)) for accurate signature. |
|
Add(window, flags) -> SizerItem |
|
AddSpacer(size) -> SizerItem |
|
CalcMin() -> Size |
|
RecalcSizes() |
|
RowColSizer
(wx.Sizer)¶Sizer()
wxSizer is the abstract base class used for laying out subwindows in a window.
__init__
(self)¶Initialize self. See help(type(self)) for accurate signature.
Add
(self, item, option=0, flag=0, border=0, row=-1, col=-1, rowspan=1, colspan=1, pos=None, size=None)¶Add(window, flags) -> SizerItem Add(window, proportion=0, flag=0, border=0, userData=None) -> SizerItem Add(sizer, flags) -> SizerItem Add(sizer, proportion=0, flag=0, border=0, userData=None) -> SizerItem Add(width, height, proportion=0, flag=0, border=0, userData=None) -> SizerItem Add(width, height, flags) -> SizerItem Add(item) -> SizerItem Add(size, proportion=0, flag=0, border=0, /Transfer/=None) -> SizerItem Add(size, flags) -> SizerItem
Appends a child to the sizer.
AddGrowableCol
(self, idx)¶AddGrowableRow
(self, idx)¶AddSpacer
(self, width, height, option=0, flag=0, border=0, row=-1, col=-1, rowspan=1, colspan=1, pos=None, size=None)¶AddSpacer(size) -> SizerItem
This base function adds non-stretchable space to both the horizontal and vertical orientation of the sizer.
CalcMin
(self)¶CalcMin() -> Size
This method is abstract and has to be overwritten by any derived class.
RecalcSizes
(self)¶RecalcSizes()
This is a deprecated version of RepositionChildren()
SetItemBounds
(self, item, x, y, w, h)¶