Add default menu descriptions to labwc-menu.5.scd

This commit is contained in:
Standreas 2023-09-22 21:10:10 +02:00 committed by Johan Malm
parent ce36cbac2d
commit 08d14bea58

View file

@ -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