mirror of
https://github.com/labwc/labwc.git
synced 2026-04-11 08:21:13 -04:00
[experiment] support menu.yaml
This commit is contained in:
parent
85b6e25484
commit
52a1c1c880
4 changed files with 119 additions and 33 deletions
|
|
@ -106,13 +106,23 @@ ID attributes are unique. Duplicates are ignored.
|
|||
When writing pipe menu scripts, make sure to escape XML special characters such
|
||||
as "&" ("&"), "<" ("<"), and ">" (">").
|
||||
|
||||
|
||||
# LOCALISATION
|
||||
|
||||
Available localisation for the default "client-menu" is only shown if no
|
||||
"client-menu" is present in menu.xml. Any menu definition in menu.xml is
|
||||
interpreted as a user-override.
|
||||
|
||||
# YAML SUPPORT
|
||||
|
||||
Like rc.yaml, labwc supports menu.yaml instead of menu.xml. See labwc-config(5)
|
||||
for its syntax. Note that following keys in singular form can be expressed as
|
||||
plural form in menu.yaml:
|
||||
|
||||
- *menus* (converted to *menu*)
|
||||
- *items* (converted to *item*)
|
||||
|
||||
See /usr/share/docs/labwc/menu.yaml for an example menu configuration in YAML.
|
||||
|
||||
# SEE ALSO
|
||||
|
||||
labwc(1), labwc-actions(5), labwc-config(5), labwc-theme(5)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue