The LEDNumberCtrl can be used to display a series of digits, (plus spaces, colons or dashes,) using a style reminiscent of old-timey segmented digital displays.
Create a new LEDNumberCtrl. |
|
Create(parent : Window, id: int=ID_ANY, pos: Point=DefaultPosition, size: Size=DefaultSize, style: int=0, validator: Validator=DefaultValidator, name: str=ControlNameStr) -> bool |
|
Set how the digits will be aligned within the widget. |
|
Set whether unlit segments will still be draw with a faded version of |
|
Set the string value to be displayed. |
The LEDNumberCtrl can be used to display a series of digits, (plus spaces, colons or dashes,) using a style reminiscent of old-timey segmented digital displays.
Create a new LEDNumberCtrl.
Both the normal constructor style with all parameters, or wxWidgets 2-phase style default constructor is supported. If the default constructor is used then the Create method will need to be called later before the widget can actually be used.
Create(parent : Window, id: int=ID_ANY, pos: Point=DefaultPosition, size: Size=DefaultSize, style: int=0, validator: Validator=DefaultValidator, name: str=ControlNameStr) -> bool
Set how the digits will be aligned within the widget.
Supported values are LED_ALIGN_LEFT
, LED_ALIGN_RIGHT
,
and LED_ALIGN_CENTER
.
Set whether unlit segments will still be draw with a faded version of the foreground colour.
Set the string value to be displayed.
See SetAlignment
, GetAlignment
See SetDrawFaded
, GetDrawFaded