]> git.mdlowis.com Git - proto/labwc.git/commitdiff
doc: Add GrowToEdge, ShrinkToEdge actions
authorAxel Burri <axel@tty0.ch>
Sat, 5 Aug 2023 21:58:40 +0000 (23:58 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Thu, 19 Oct 2023 18:09:42 +0000 (19:09 +0100)
docs/labwc-actions.5.scd

index 4f650c602c73e8ba9b34f6641a0e96863146542f..d9defff1e351eea82cc4c216d27c6fad17c996bd 100644 (file)
@@ -56,6 +56,17 @@ Actions are used in menus and keyboard/mouse bindings.
        top or bottom tell how much to resize on that edge of window,
        positive values grow window, negative shrink window.
 
+*<action name="GrowToEdge" direction="value" />*
+       Resize window to fill the space between its edge and any other
+       window edge.
+
+       *direction* [left|up|right|down] Direction in which to grow.
+
+*<action name="ShrinkToEdge" direction="value" />*
+       Reverse of GrowToEdge. Shrinks by a maximum of 50%.
+
+       *direction* [left|up|right|down] Direction in which to shrink.
+
 *<action name="MoveTo" x="" y="" />*
        Move to position (x, y)