Back to Serenity

CheckBox

Base/usr/share/man/man5/GML/Widget/CheckBox.md

latest855 B
Original Source

Name

GML Checkbox Widget

Description

Defines a GUI checkbox widget.

Synopsis

@GUI::CheckBox

Examples

gml
@GUI::CheckBox {
    name: "top_checkbox"
    text: "Checkbox"
}

@GUI::CheckBox {
    name: "bottom_checkbox"
    text: "Disabled"
    enabled: false
}

Registered Properties

PropertyTypePossible valuesDescription
autosizebooltrue or falseDetermines if auto-sized
checkbox_positionString"Left" or "Right"Place the checkbox itself on either the left or right of its label

See also