class openfl.gui.CheckBox extends Control
Available on all platforms
Instance Fields
var indeterminate:Bool
Gets whether or not the check box is partially checked, often used with CheckBoxNode.
function new(value:String, ?checked:Bool = false, ?font:String = 'Arial', ?fontStyle:FontStyle = null, ?embedded:Bool = false):Void
An option selector.
value | The text value of the check box. |
checked | The default check state. |
font | The embedded resource or device font to use. |
fontStyle | The style of the font, including size, color and underline. |
embedded | Whether to use embedded resources for the font. |