Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ prefpositio(3g) — GL2 W2.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

prefposition()  —  Silicon Graphics

NAME

prefposition - specifies the preferred location and size of a graphics port

SPECIFICATION

C
prefposition(x1, x2, y1, y2)
long x1, x2, y1, y2;

FORTRAN
subroutine prefpo(x1, x2, y1, y2)
integer*4 x1, x2, y1, y2

Pascal
procedure prefposition(x1, x2, y1, y2: longint);

DESCRIPTION

prefposition specifies the preferred location and size of a graphics port.  The location is specified in screen coordinates.  The window manager will not allow the graphics port to be relocated or resized.  prefposition is called at the beginning of a graphics program that will be run with the window manager.  prefposition may also be called in conjuction with winconstraints to modify the enforced size and location after the port has been created.  If getport is not called or if the system is not running the window manager, prefposition will be ignored. 

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