mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47:35 +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-Frame.md
Normal file
32
Base/usr/share/man/man5/GML-Widget-Frame.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
## Name
|
||||
|
||||
GML Frame Widget
|
||||
|
||||
## Description
|
||||
|
||||
Defines a GUI frame widget. Frames can contain other GUI widgets.
|
||||
|
||||
## Synopsis
|
||||
|
||||
`@GUI::Frame`
|
||||
|
||||
## Examples
|
||||
|
||||
```gml
|
||||
@GUI::Frame {
|
||||
name: "tip_frame"
|
||||
min_width: 340
|
||||
min_height: 160
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
margins: [0, 16, 0, 0]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Registered Properties
|
||||
|
||||
| Property | Type | Possible values | Description |
|
||||
|-----------|---------|--------------------------------------------------------------|--------------------|
|
||||
| thickness | integer | 64-bit integer | Sets the thickness |
|
||||
| shadow | enum | Plain, Raised, Sunken | Sets the shadow |
|
||||
| shape | enum | NoFrame, Box, Container, Panel, VerticalLine, HorizontalLine | Sets the shape |
|
Loading…
Add table
Add a link
Reference in a new issue