CheckBox

Inherits: Button < BaseButton < Control < CanvasItem < Node < Object

Binary choice user interface widget. See also CheckButton.

Description

A checkbox allows the user to make a binary choice (choosing only one of two possible options). It’s similar to CheckButton in functionality, but it has a different appearance. To follow established UX patterns, it’s recommended to use CheckBox when toggling it has no immediate effect on something. For instance, it should be used when toggling it will only do something once a confirmation button is pressed.

See also BaseButton which contains common properties and methods associated with this node.

Properties

TextAlignalign0 (parent override)
booltoggle_modetrue (parent override)

Theme Properties

intcheck_vadjust0
Texturechecked 
StyleBoxdisabled 
StyleBoxfocus 
Fontfont 
Colorfont_colorColor( 0.88, 0.88, 0.88, 1 )
Colorfont_color_disabledColor( 0.9, 0.9, 0.9, 0.2 )
Colorfont_color_hoverColor( 0.94, 0.94, 0.94, 1 )
Colorfont_color_hover_pressedColor( 1, 1, 1, 1 )
Colorfont_color_pressedColor( 1, 1, 1, 1 )
StyleBoxhover 
StyleBoxhover_pressed 
inthseparation4
StyleBoxnormal 
StyleBoxpressed 
Textureradio_checked 
Textureradio_unchecked 
Textureunchecked