1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-21 15:35:07 +00:00
serenity/Base/usr/share/man/man5/GML/Widget-CheckBox.md
kleines Filmröllchen ad6cbc4192 Base: Move GML documentation into subsection
That was the whole point of this endeavour :^)
2023-01-02 06:15:13 -07:00

853 B

Name

GML Checkbox Widget

Description

Defines a GUI checkbox widget.

Synopsis

@GUI::CheckBox

Examples

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

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

Registered Properties

Property Type Possible values Description
autosize bool true or false Determines if auto-sized
checkbox_position String "Left" or "Right" Place the checkbox itself on either the left or right of its label

See also