1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:27:35 +00:00

Base: Extend and improve the GML documentation

This is a bundle of changes to the "new" GML documentation that I just
noticed two hours ago.
- Fix a bunch of typos, wording and style
- Rework layout object documentation (they're not widgets!)
- Document most of the common properties
- Finish (as for now) GML syntax documentation
- Extend GML usage explanation
- Add symlink "GML" so that man gml works
- Add a categorized GML page list to the introduction man page
- Cross-link much more

Much of the editing of existing docs is clearing up incorrect or
imprecise statements.

Note that because of massive changes in some places, git won't recognize
renames as such.
This commit is contained in:
kleines Filmröllchen 2022-03-25 00:06:10 +01:00 committed by Brian Gianforcaro
parent 743922984c
commit 426a09ca4a
16 changed files with 430 additions and 113 deletions

View file

@ -19,15 +19,16 @@ Defines a GUI Button widget.
@GUI::Button {
name: "disabled_normal_button"
text: "Disabled"
enabled: "false"
enabled: false
}
```
## Registered Properties
| Property | Type | Possible values | Description |
|--------------|--------|-----------------|------------------------------|
| button_style | enum | Normal, Coolbar | Sets the style of the button |
| text | string | Any string | Sets the label text |
| checked | bool | true or false | |
| checkable | bool | true or false | |
| Property | Type | Possible values | Description |
| ------------ | ------ | --------------- | ----------------------------------------------------------------------------------------------------- |
| button_style | enum | Normal, Coolbar | Sets the style of the button |
| text | string | Any string | Sets the label text |
| checked | bool | true or false | Whether the button is checked; this only applies to checkable subclasses |
| checkable | bool | true or false | Whether the button can be checked; this only applies to checkable subclasses |
| exclusive | bool | true or false | Whether the button's check state is exclusive to its group; this only applies to checkable subclasses |