mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27: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-TextEditor.md
Normal file
28
Base/usr/share/man/man5/GML-Widget-TextEditor.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
## Name
|
||||
|
||||
GML Text Editor Widget
|
||||
|
||||
## Description
|
||||
|
||||
Defines a GUI text editor widget.
|
||||
|
||||
## Synopsis
|
||||
|
||||
`@GUI::TextEditor`
|
||||
|
||||
## Examples
|
||||
|
||||
```gml
|
||||
@GUI::TextEditor {
|
||||
name: "text_editor"
|
||||
placeholder: "Text editor"
|
||||
}
|
||||
```
|
||||
|
||||
## Registered Properties
|
||||
|
||||
| Property | Type | Possible values | Description |
|
||||
|-------------|--------|---------------------------------|-----------------|
|
||||
| text | string | Any string | Set text |
|
||||
| placeholder | string | Any string | Set placeholder |
|
||||
| mode | enum | Editable, ReadOnly, DisplayOnly | Set editor mode |
|
Loading…
Add table
Add a link
Reference in a new issue