mirror of
https://github.com/labwc/labwc.git
synced 2026-03-06 01:40:15 -05:00
Add default menu descriptions to labwc-menu.5.scd
This commit is contained in:
parent
ce36cbac2d
commit
08d14bea58
1 changed files with 6 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ Static menus are built based on content of XML files located at
|
||||||
|
|
||||||
# SYNTAX
|
# SYNTAX
|
||||||
|
|
||||||
A menu file must be entirely enclosed within <openbox_menu> and
|
The menu file must be entirely enclosed within <openbox_menu> and
|
||||||
</openbox_menu> tags. Inside these tags, menus are specified as follows:
|
</openbox_menu> tags. Inside these tags, menus are specified as follows:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
@ -39,6 +39,10 @@ A menu file must be entirely enclosed within <openbox_menu> and
|
||||||
*menu.id*
|
*menu.id*
|
||||||
Each menu must be given an id, which is a unique identifier of the menu.
|
Each menu must be given an id, which is a unique identifier of the menu.
|
||||||
This id is used to refer to the menu in a ShowMenu action.
|
This id is used to refer to the menu in a ShowMenu action.
|
||||||
|
Default identifiers are "client-menu" for the titlebar context menu and "root-menu"
|
||||||
|
for the root window context menu.
|
||||||
|
Available localisation for the default "client-menu" is
|
||||||
|
only shown if no "client-menu" is present in menu.xml.
|
||||||
|
|
||||||
*menu.label*
|
*menu.label*
|
||||||
The title of the menu, shown in its parent. A label must be given when
|
The title of the menu, shown in its parent. A label must be given when
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue