mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37: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-ComboBox.md
Normal file
32
Base/usr/share/man/man5/GML-Widget-ComboBox.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
## Name
|
||||
|
||||
GML Combo Box Widget
|
||||
|
||||
## Description
|
||||
|
||||
Defines a GUI combo box widget. Another name for this would be a dropdown or select.
|
||||
|
||||
## Synopsis
|
||||
|
||||
`@GUI::ComboBox`
|
||||
|
||||
## Examples
|
||||
|
||||
```gml
|
||||
@GUI::ComboBox {
|
||||
name: "msgbox_icon_combobox"
|
||||
model_only: true
|
||||
}
|
||||
|
||||
@GUI::ComboBox {
|
||||
name: "msgbox_buttons_combobox"
|
||||
model_only: true
|
||||
}
|
||||
```
|
||||
|
||||
## Registered Properties
|
||||
|
||||
| Property | Type | Possible values | Description |
|
||||
|-------------|--------|-----------------|------------------------------|
|
||||
| placeholder | string | Any string | Editor placeholder |
|
||||
| model_only | bool | true or false | Only allow values from model |
|
Loading…
Add table
Add a link
Reference in a new issue