Base+Manpages: Add basic GML documentation

First draft of GML documentation, just to get things started.
This commit is contained in:
electrikmilk 2022-02-09 18:11:07 -05:00 committed by Brian Gianforcaro
commit 58a865f349
Notes: sideshowbarker 2024-07-17 17:58:43 +09:00
51 changed files with 1242 additions and 0 deletions

View file

@ -0,0 +1,32 @@
## 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 |