mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:57:45 +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
28
Base/usr/share/man/man5/GML-Widget-SpinBox.md
Normal file
28
Base/usr/share/man/man5/GML-Widget-SpinBox.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
## Name
|
||||
|
||||
GML Spin Box Widget
|
||||
|
||||
## Description
|
||||
|
||||
Defines a GUI spin box widget. This is a number input with buttons to increment and decrement the value.
|
||||
|
||||
## Synopsis
|
||||
|
||||
`@GUI::SpinBox`
|
||||
|
||||
## Examples
|
||||
|
||||
```gml
|
||||
@GUI::SpinBox {
|
||||
name: "thickness_spinbox"
|
||||
min: 0
|
||||
max: 2
|
||||
}
|
||||
```
|
||||
|
||||
## Registered Properties
|
||||
|
||||
| Property | Type | Possible values | Description |
|
||||
|----------|-------|--------------------|----------------------------------------------|
|
||||
| min | int | Any 64 bit integer | Minimum number the spin box can increment to |
|
||||
| max | int | Any 64 bit integer | Maximum number the spin box can increment to |
|
Loading…
Add table
Add a link
Reference in a new issue