Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ prefsize(3g) — GL2 W2.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

prefsize()  —  Silicon Graphics

NAME

prefsize - specifies the preferred size of a graphics port in the window manager

SPECIFICATION

C
prefsize(x, y)
long x, y;

FORTRAN
subroutine prefsi(x, y)
integer*4 x, y

Pascal
procedure prefsize(x, y: longint);

DESCRIPTION

prefsize specifies that the size of a graphics port should be x pixels by y pixels.  It is called at the beginning of a graphics program that will be run with the window manager.  The window manager will not allow the graphics port to be resized.  prefsize may also be called in conjuction with winconstraints to modify the enforced port size after the port has been created.  prefsize will be ignored if getport is not called or if the system is not running the window manager. 

SEE ALSO

getport
“Multiple Exposure: The IRIS  Window Manager” in the IRIS User’s Guide

NOTE

This command can be used only in immediate mode. 

Version 2.4  —  May 08, 1986

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026