Checkbox - guiled/LRE GitHub Wiki
Checkboxes
Introduction
LRE allows you to disable a checkbox (even if you click on it, it doesn't change.
Specific methods
not
The method checkbox.not()
returns the inverse of the checkbox value : false
when it is checked, true
when it is unchecked
enable, disable
You can enable or disable the checkbox with the two following methods :
checkbox.enable(value: boolean = true)
checkbox.disable(value: boolean = true)
The value
argument is a boolean. Note that checkbox.enable(false)
disables the checkbox, and checkbox.disable(false)
enables it. This argument can be a dynamic value.
isEnabled, isDisabled
Return a boolean based on the current enabling state of the checkbox.