# ACTIONS
-Actions are used in keyboard bindings.
+Actions are used in menus and keyboard/mouse bindings.
*<action name="Close">*
- Close top-most view.
+ Close top-most window.
*<action name="Execute"><command>*
Execute command. Note that in the interest of backward compatibility,
Begin interactive move of window under cursor
*<action name="MoveToEdge"><direction>*
- Move view to edge of outputs. Understands directions "left", "up",
+ Move window to edge of outputs. Understands directions "left", "up",
"right" and "down".
*<action name="Resize">*
Begin interactive resize of window under cursor
*<action name="SnapToEdge"><direction>*
- Resize view to fill half the output in the given direction. Supports
+ Resize window to fill half the output in the given direction. Supports
directions "left", "up", "right", "down" and "center".
*<action name="NextWindow">*
```
<menu id="" label="">
- <!-- This is a menu item, such as a program -->
+ <!-- A menu entry with an action, for example to execute an application -->
<item label="">
<action></action>
</item>
- <!-- This links to a submenu defined else where -->
+ <!-- A submenu defined elsewhere -->
<menu id="" />
- <!-- This links to a submenu defined inline -->
+ <!-- An inline submenu -->
<menu id="" label="">
...some content...
</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.
+ The title of the menu, shown in its parent. A label must be given when
+ defining a menu.
*menu.item.label*
The visible name of the menu item.
<cycleViewPreview>no</cycleViewPreview>
</core>
- <!--
- <font><theme> can be defined without an attribute to set all places
- -->
+ <!-- <font><theme> can be defined without an attribute to set all places -->
<theme>
<name></name>
<cornerRadius>8</cornerRadius>
<raiseOnFocus>no</raiseOnFocus>
</focus>
- <!--
- Set range to 0 to disable window snapping completely
- -->
+ <!-- Set range to 0 to disable window snapping completely -->
<snapping>
<range>1</range>
<topMaximize>yes</topMaximize>