mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
mousebind: update documentation
This commit is contained in:
parent
6b948c7106
commit
ddf6555557
2 changed files with 26 additions and 1 deletions
|
|
@ -111,7 +111,16 @@ Configuration must be wrapped in a <labwc_config> root-node.
|
||||||
|
|
||||||
*<mouse><context name=""><mousebind button="" action="">*
|
*<mouse><context name=""><mousebind button="" action="">*
|
||||||
Define a mouse binding. Supported context-names include:
|
Define a mouse binding. Supported context-names include:
|
||||||
'TitleBar'.
|
- TitleBar: The area where the title of the window is shown.
|
||||||
|
- Iconify: The button that looks like an underline.
|
||||||
|
- Maximize: The button that looks like a box.
|
||||||
|
- Close: The button that looks like an X.
|
||||||
|
|
||||||
|
Supported mouse actions include:
|
||||||
|
- Press: Pressing the specified button down in the context.
|
||||||
|
- Release: Releasing the specified button in the context.
|
||||||
|
- Click: Pressing and then releasing inside of the the context.
|
||||||
|
- DoubleClick: Two presses within the doubleClickTime.
|
||||||
|
|
||||||
# LIBINPUT
|
# LIBINPUT
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -118,6 +118,22 @@
|
||||||
<action name="ToggleMaximize"/>
|
<action name="ToggleMaximize"/>
|
||||||
</mousebind>
|
</mousebind>
|
||||||
</context>
|
</context>
|
||||||
|
<context name="Maximize">
|
||||||
|
<mousebind button="Left" action="Click">
|
||||||
|
<action name="ToggleMaximize"/>
|
||||||
|
</mousebind>
|
||||||
|
</context>
|
||||||
|
<context name="Iconify">
|
||||||
|
<mousebind button="left" action="Click">
|
||||||
|
<action name="Iconify"/>
|
||||||
|
</mousebind>
|
||||||
|
</context>
|
||||||
|
<context name="Close">
|
||||||
|
<mousebind button="Left" action="Click">
|
||||||
|
<action name="Close"/>
|
||||||
|
</mousebind>
|
||||||
|
</context>
|
||||||
|
|
||||||
</mouse>
|
</mouse>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue