mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:27:34 +00:00
Base: Move GML Widget documentation to subsubsection
This is not only convenient, but also a subsection testcase :^)
This commit is contained in:
parent
ad6cbc4192
commit
3df2eb66be
44 changed files with 43 additions and 43 deletions
34
Base/usr/share/man/man5/GML/Widget/Button.md
Normal file
34
Base/usr/share/man/man5/GML/Widget/Button.md
Normal file
|
@ -0,0 +1,34 @@
|
|||
## Name
|
||||
|
||||
## Description
|
||||
|
||||
Defines a GUI Button widget.
|
||||
|
||||
## Synopsis
|
||||
|
||||
`@GUI::Button`
|
||||
|
||||
## Examples
|
||||
|
||||
```gml
|
||||
@GUI::Button {
|
||||
name: "normal_button"
|
||||
text: "Button"
|
||||
}
|
||||
|
||||
@GUI::Button {
|
||||
name: "disabled_normal_button"
|
||||
text: "Disabled"
|
||||
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 | 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 |
|
Loading…
Add table
Add a link
Reference in a new issue