Sizer() -> None
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 : Window, flags : SizerFlags) -> SizerItem |
|
AddSpacer(size : int) -> SizerItem |
|
CalcMin() -> Size |
|
RecalcSizes() -> None |
|
RowColSizer
(wx.Sizer)¶Sizer() -> None
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 : Window, flags : SizerFlags) -> SizerItem Add(window : Window, proportion: int=0, flag: int=0, border: int=0, userData: Optional[PyUserData]=None) -> SizerItem Add(sizer : Sizer, flags : SizerFlags) -> SizerItem Add(sizer : Sizer, proportion: int=0, flag: int=0, border: int=0, userData: Optional[PyUserData]=None) -> SizerItem Add(width : int, height : int, proportion: int=0, flag: int=0, border: int=0, userData: Optional[PyUserData]=None) -> SizerItem Add(width : int, height : int, flags : SizerFlags) -> SizerItem Add(item : SizerItem) -> SizerItem Add(size: Size, proportion: int=0, flag: int=0, border: int=0, Transfer: Optional[PyUserDatauserData]=None) -> SizerItem Add(size: Size, flags: SizerFlags) -> 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 : int) -> 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() -> None
This is a deprecated version of RepositionChildren()
SetItemBounds
(self, item, x, y, w, h)¶