Mixin class for some methods used by the Sized*
classes.
AddChild |
This extends the default wx.Window behavior to also add the child |
GetSizerType |
Return the sizer type. |
SetSizerType |
Sets the sizer type and automatically re-assign any children |
SizedParent
¶Mixin class for some methods used by the Sized*
classes.
AddChild
(self, child)¶This extends the default wx.Window behavior to also add the child to its parent’s sizer, if one exists, and set default properties. When an entire UI layout is managed via Sizers, this helps reduce the amount of sizer boilerplate code that needs to be written.
Parameters: | child (wx.Window or wx.Sizer ) – child (window or another sizer) to be added to sizer. |
---|
GetSizerType
(self)¶Return the sizer type.
Return type: | string |
---|
SetSizerType
(self, type, options={})¶Sets the sizer type and automatically re-assign any children to it.
Parameters: |
|
---|