mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
labwc-actions(5): add missing position option to ShowMenu
This commit is contained in:
parent
71bf564a66
commit
08de4f3d6b
1 changed files with 12 additions and 1 deletions
|
|
@ -124,9 +124,20 @@ Actions are used in menus and keyboard/mouse bindings.
|
||||||
*<action name="Reconfigure" />*
|
*<action name="Reconfigure" />*
|
||||||
Re-load configuration and theme files.
|
Re-load configuration and theme files.
|
||||||
|
|
||||||
*<action name="ShowMenu" menu="value" atCursor="yes" />*
|
*<action name="ShowMenu" menu="root-menu"/>*
|
||||||
|
|
||||||
Show a 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",
|
*menu* The name of the menu to show. The menus "root-menu",
|
||||||
"client-menu", "client-send-to-menu" and "client-list-combined-menu"
|
"client-menu", "client-send-to-menu" and "client-list-combined-menu"
|
||||||
are guaranteed to exist, but others may be defined explicitly.
|
are guaranteed to exist, but others may be defined explicitly.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue