Control(parent : Window, id: int=ID_ANY, pos: Point=DefaultPosition, size: Size=DefaultSize, style: int=0, validator: Validator=DefaultValidator, name: str=ControlNameStr) -> None Control() -> None
This is the base class for a control or “widget”.
Initialize self. See help(type(self)) for accurate signature. |
|
DoGetBestSize(self) -> Size |
|
Enable(enable: bool=True) -> bool |
|
GetFont() -> Font |
|
SetFont(font : Font) -> bool |
|
|
|
|
Control(parent : Window, id: int=ID_ANY, pos: Point=DefaultPosition, size: Size=DefaultSize, style: int=0, validator: Validator=DefaultValidator, name: str=ControlNameStr) -> None Control() -> None
This is the base class for a control or “widget”.
Initialize self. See help(type(self)) for accurate signature.
DoGetBestSize(self) -> Size
Enable(enable: bool=True) -> bool
Enable or disable the window for user input.
GetFont() -> Font
Returns the font for this window.
SetFont(font : Font) -> bool
Sets the font for this window.