1labwc-menu(5)                 File Formats Manual                labwc-menu(5)
2
3
4

NAME

6       labwc - menu files
7

DESCRIPTION

9       Static menus are built based on content of XML files located at
10       "~/.config/labwc" and equivalent XDG Base Directories.
11

SYNTAX

13       The menu file must be entirely enclosed within <openbox_menu> and
14       </openbox_menu> tags.  Inside these tags, menus are specified as fol‐
15       lows:
16
17           <menu id="">
18
19             <!-- A menu entry with an action, for example to execute an application -->
20             <item label="">
21               <action></action>
22             </item>
23
24             <!-- A submenu defined elsewhere -->
25             <menu id="" />
26
27             <!-- Horizontal line >
28             <separator />
29
30             <!-- An inline submenu -->
31             <menu id="" label="">
32               ...some content...
33             </menu>
34
35           </menu>
36
37       menu.id
38           Each menu must be given an id, which is a unique identifier of the
39           menu. This id is used to refer to the menu in a ShowMenu action.
40           Default identifiers are "client-menu" for the titlebar context menu
41           and "root-menu" for the root window context menu. Available locali‐
42           sation for the default "client-menu" is only shown if no "client-
43           menu" is present in menu.xml.
44
45       menu.label
46           The title of the menu, shown in its parent. A label must be given
47           when defining a menu.
48
49       menu.item.label
50           The visible name of the menu item.
51
52       menu.item.action
53           See labwc-action(5). Note: XML CDATA is supported for this node in
54           order to maintain compatibility with obmenu-generator.
55
56       menu.separator
57           Horizontal line.
58

SEE ALSO

60       labwc(1), labwc-action(5), labwc-config(5), labwc-theme(5)
61
62
63
64                                  2023-11-26                     labwc-menu(5)
Impressum