labwc-actions(5): add missing position option to ShowMenu

This commit is contained in:
Johan Malm 2024-12-08 17:24:32 +00:00 committed by Consolatis
parent 71bf564a66
commit 08de4f3d6b

View file

@ -124,9 +124,20 @@ Actions are used in menus and keyboard/mouse bindings.
*<action name="Reconfigure" />*
Re-load configuration and theme files.
*<action name="ShowMenu" menu="value" atCursor="yes" />*
*<action name="ShowMenu" menu="root-menu"/>*
Show a menu.
```
<action name="ShowMenu" menu="MENU">
<atCursor>yes|no</atCursor>
<position>
<x>X</x>
<y>Y</y>
</position>
</action>
```
*menu* The name of the menu to show. The menus "root-menu",
"client-menu", "client-send-to-menu" and "client-list-combined-menu"
are guaranteed to exist, but others may be defined explicitly.