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       A menu file must be entirely enclosed within <openbox_menu> and </open‐
14       box_menu> tags.  Inside these tags, menus are specified as follows:
15
16           <menu id="">
17
18             <!-- A menu entry with an action, for example to execute an application -->
19             <item label="">
20               <action></action>
21             </item>
22
23             <!-- A submenu defined elsewhere -->
24             <menu id="" />
25
26             <!-- An inline submenu -->
27             <menu id="" label="">
28               ...some content...
29             </menu>
30
31           </menu>
32
33       menu.id
34           Each menu must be given an id, which is a unique identifier of the
35           menu. This id is used to refer to the menu in a ShowMenu action.
36
37       menu.label
38           The title of the menu, shown in its parent. A label must be given
39           when defining a menu.
40
41       menu.item.label
42           The visible name of the menu item.
43
44       menu.item.action
45           See labwc-action(5)
46

SEE ALSO

48       labwc(1), labwc-action(5), labwc-config(5), labwc-theme(5)
49
50
51
52                                  2022-12-04                     labwc-menu(5)
Impressum