Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ prefsize(3g) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

prefsize()  —  Silicon Graphics

NAME

prefsize − specifies the preferred size of a graphics window 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 the preferred size of a graphics window as x pixels by y pixels.  Call prefsize at the beginning of a graphics program that runs in the window manager.  You cannot resize the graphics window in the window manager. 

Use prefsize with winconstraints to modify the enforced window size after the window has been created.  prefsize is ignored if winopen is not called or if the system is not running the window manager. 

SEE ALSO

winopen Using mex, the IRIS Window Manager

NOTE

This routine is available only in immediate mode. 

Version 2.5r1  —  October 29, 1986

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