From: Standreas Date: Fri, 22 Sep 2023 19:10:10 +0000 (+0200) Subject: Add default menu descriptions to labwc-menu.5.scd X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=08d14bea581cfba6471c0b7d847d5ee5c66b5b69;p=proto%2Flabwc.git Add default menu descriptions to labwc-menu.5.scd --- diff --git a/docs/labwc-menu.5.scd b/docs/labwc-menu.5.scd index a1219305..9d529551 100644 --- a/docs/labwc-menu.5.scd +++ b/docs/labwc-menu.5.scd @@ -11,7 +11,7 @@ Static menus are built based on content of XML files located at # SYNTAX -A menu file must be entirely enclosed within and +The menu file must be entirely enclosed within and tags. Inside these tags, menus are specified as follows: ``` @@ -38,7 +38,11 @@ A menu file must be entirely enclosed within and *menu.id* 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* The title of the menu, shown in its parent. A label must be given when