2022-02-09 18:11:07 -05:00
|
|
|
## 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
|
|
|
|
|
|
2022-05-09 19:20:35 +01:00
|
|
|
| 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 |
|
2022-03-25 00:06:10 +01:00
|
|
|
|
|
|
|
|
## See also
|
2022-12-14 17:24:11 +01:00
|
|
|
- [GML Button](help://man/5/GML/Widget/Button)
|