CheckBox Documentation¶
CheckBox class¶
- class pygameyagui.CheckBox(toolbox, label)¶
This class creates a CheckBox widget.
- Parameters:
toolbox (
pygameyagui.Toolbox) – The toolbox that will host the widget.label (str) – The text to be shown in the CheckBox widget.
Inheritance
CheckBox class inherits from Widget class.
CheckBox methods¶
Nothing to see here
CheckBox class has no methods.
CheckBox properties¶
- property CheckBox.checked¶
Get or set the the state of a CheckBox (bool).
CheckBox constants¶
- constants.CHECKBOX_MIN_SIZE_FACTOR = 1¶
- constants.CHECKBOX_MAX_SIZE_FACTOR = 1¶
- constants.CHECKBOX_DEFAULT_SIZE_FACTOR = 1¶