wsize <window>
Re-size a window.
<window>
A window identifier.
-h=<num>
The new height of the window in pixels.
-j=<just>
The justification of the window relative to the full screen. Any combination of L (left),
R (right), T (top), B (bottom) and M (middle) is permitted. This is a
string value and should be within quotes.
-pos=<screen_xy>
Redefine the new position of the top left corner of the window. <screen_xy> should be a 2-element
numeric array, or two numeric values within hairpins. The values are in
pixels with 0,0 being the top left corner of the full screen.
-w=<num>
The new width of the window in pixels.
If the switches are omitted, the window will be re-positioned via an interactive rubber box.
If the window is not currently in use, interactive re-sizing will not be performed, but the -pos values will be used to set the window position for when the window contents become defined.
A window can also be re-sized by window manager mouse action, or by redefining window structure values.
A resize procedure (window.resize) may be defined for a window. This will be executed automatically whenever a window’s size changes, just prior to its contents being repainted.
Interactive re-sizing.
wsize win1
Specific re-sizing.
wsize win1, -pos=<200,200>, -w=400, -h=400
Specific re-sizing by justification.
wsize win1, -j='TL', -w=500, -h=500
Commands: |
|
Structures: |