Command: wsize

Syntax

wsize <window>

Description

Re-size a window.

Parameters

Switches

Notes

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.

Examples

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

See Also

Commands:

wclose, window, wmove, wopen

Structures:

window