mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
docs/labwc-menu.5.scd: describe submenus
This commit is contained in:
parent
1c5b5c25c5
commit
12fb562682
1 changed files with 14 additions and 0 deletions
|
|
@ -16,9 +16,20 @@ A menu file must be entirely enclosed within <openbox_menu> and
|
|||
|
||||
```
|
||||
<menu id="" label="">
|
||||
|
||||
<!-- This is a menu item, such as a program -->
|
||||
<item label="">
|
||||
<action></action>
|
||||
</item>
|
||||
|
||||
<!-- This links to a submenu defined else where -->
|
||||
<menu id="" />
|
||||
|
||||
<!-- This links to a submenu defined inline -->
|
||||
<menu id="" label="">
|
||||
...some content...
|
||||
</menu>
|
||||
|
||||
</menu>
|
||||
```
|
||||
|
||||
|
|
@ -26,6 +37,9 @@ A menu file must be entirely enclosed within <openbox_menu> and
|
|||
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.
|
||||
|
||||
*menu.label*
|
||||
The title of the menu, shown in its parent.
|
||||
|
||||
*menu.item.label*
|
||||
The visible name of the menu item.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue