Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ prefposit(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

prefposition(3G)  —  Silicon Graphics

NAME

prefposition − specifies the preferred location and size of a graphics window

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 window.  You specify the location in screen coordinates (x1, x2, y1, y2).  Call prefposition at the beginning of a graphics program that runs under the window manager.  Use prefposition in conjuction with winconstraints to modify the enforced size and location after the window has been created.  prefposition is ignored if winopen is not called, or if the window manager is not running. 

SEE ALSO

winconstraints, winopen Using mex, Chapter 2, Programming with mex

NOTE

This routine is available only in immediate mode. 

Version 3.6  —  December 20, 1987

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