mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:07:44 +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
32
Base/usr/share/man/man5/GML/Widget/Toolbar.md
Normal file
32
Base/usr/share/man/man5/GML/Widget/Toolbar.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
## Name
|
||||
|
||||
GML Toolbar Widget
|
||||
|
||||
## Description
|
||||
|
||||
Defines a GUI toolbar widget.
|
||||
|
||||
When `collapsible` is set to `true`, the toolbar can be resized below the size of its items.
|
||||
Any items that do not fit the current size, will be placed in an overflow menu.
|
||||
To keep groups (i.e. Buttons/items separated by Separators) together, and move them to the overflow menu as one, set the `gouped` property.
|
||||
|
||||
## Synopsis
|
||||
|
||||
`@GUI::Toolbar`
|
||||
|
||||
## Examples
|
||||
|
||||
```gml
|
||||
@GUI::Toolbar {
|
||||
name: "toolbar"
|
||||
collapsible: true
|
||||
grouped: true
|
||||
}
|
||||
```
|
||||
|
||||
## Registered Properties
|
||||
|
||||
| Property | Type | Possible values | Description |
|
||||
|-------------|------|-----------------|---------------------------------------------------------------------------------------|
|
||||
| collapsible | bool | true or false | If items that do not fit should be placed in an overflow menu |
|
||||
| grouped | bool | true or false | If items should be moved to the overflow menu in groups, separated by Separator items |
|
Loading…
Add table
Add a link
Reference in a new issue