mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 14:15:07 +00:00
32 lines
508 B
Markdown
32 lines
508 B
Markdown
## 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
|
|
|
|
| Property | Type | Possible values | Description |
|
|
|----------|------|-----------------|--------------------------|
|
|
| autosize | bool | true or false | Determines if auto-sized |
|