CheckBox

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

类别: 核心

简要说明

二进制选择用户界面小部件。

主题属性

int

check_vadjust

0

Texture

选中的

StyleBox

残疾人

StyleBox

集中

Font

字体

Color

font_color

颜色(0.88、0.88、0.88、1)

Color

font_color_disabled

颜色(0.9、0.9、0.9、0.2)

Color

font_color_hover

颜色(0.94、0.94、0.94、1)

Color

font_color_hover_pressed

颜色(1,1,1,1)

Color

font_color_pressed

颜色(1,1,1,1)

StyleBox

悬停

StyleBox

hover_pressed

int

H分离

4

StyleBox

正常的

StyleBox

按下

Texture

radio_checked

Texture

radio_unchecked

Texture

未选中

描述

复选框允许用户进行二进制选择(只选择两个可能选项中的一个)。