mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:07:36 +00:00
Base+Manpages: Add basic GML documentation
First draft of GML documentation, just to get things started.
This commit is contained in:
parent
d01d754b83
commit
58a865f349
51 changed files with 1242 additions and 0 deletions
32
Base/usr/share/man/man5/GML-Widget-CheckBox.md
Normal file
32
Base/usr/share/man/man5/GML-Widget-CheckBox.md
Normal 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 |
|
Loading…
Add table
Add a link
Reference in a new issue