checkbox
This type represents a checkbox control.
__call
Constructor
Constructs the checkbox.
Arguments
Name
Type
Description
Returns
Type
Description
checkbox
Checkbox instance.
Example
local cb = gui.checkbox(gui.control_id('my_id'));get_value
Method
Returns checkbox' value.
Arguments
None.
Returns
Type
Description
Value data.
Example
set_value
Method
Sets checkbox' value.
Arguments
Name
Type
Description
val
bool
New value.
Returns
Nothing.
Example
Last updated