mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
labwc-actions(5): add example for ShowMenu with wtype
Related-to: #2726
This commit is contained in:
parent
08a6e29eb9
commit
2265dd647a
1 changed files with 15 additions and 0 deletions
|
|
@ -159,6 +159,21 @@ Actions are used in menus and keyboard/mouse bindings.
|
||||||
window and monitor for positive values, and to the right/bottom edge
|
window and monitor for positive values, and to the right/bottom edge
|
||||||
for negative values.
|
for negative values.
|
||||||
|
|
||||||
|
The example below demonstrates how the 'root-menu' can be opened from a
|
||||||
|
bottom aligned panel using the command `wtype -M logo -k Space`:
|
||||||
|
|
||||||
|
```
|
||||||
|
<keybind key="W-Space">
|
||||||
|
<action name="ShowMenu">
|
||||||
|
<menu>root-menu</menu>
|
||||||
|
<position>
|
||||||
|
<x>0</x>
|
||||||
|
<y>-0</y>
|
||||||
|
</position>
|
||||||
|
</action>
|
||||||
|
</keybind>
|
||||||
|
```
|
||||||
|
|
||||||
*<action name="SetDecorations" decorations="value" forceSSD="no" />*
|
*<action name="SetDecorations" decorations="value" forceSSD="no" />*
|
||||||
Set decorations of focused window.
|
Set decorations of focused window.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue