| SETWINSIZE | |
| Syntax | SETWINSIZE windowname [width
height] |
| Explanation | SETWINSIZE sets the size of a window.
Its input is the name of the window to resize, and a list
of two numbers: the width of the window in screen pixels
and the window height. WINSIZE
reports the current window size. Note that this command
changes the size of the window's drawing area; to change
the size of the outer bounds of a window including its
frame and title bar, use SETWSIZE. Change a window's position using SETPOS. |
| Examples | SETWINSIZE "GRAPHICS [600
300] SETWINSIZE "LISTENER [600 100] (To change a window's size in relation to its current size, follow the model of the next instruction. It reduces the size of the window by 75(each dimension is reduced by half). SETWINSIZE "GRAPHICS LIST (FIRST WINSIZE "GRAPHICS) * .5 (LAST WINSIZE "GRAPHICS) * .5" |