prefposition() — 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). In the window manager, you cannot relocate or resize the graphics window. Call prefposition at the beginning of a graphics program that runs in the window manager. You can 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 system is not running the window manager,
SEE ALSO
winopen, winconstraints Using mex, the IRIS Window Manager
NOTE
This routine is available only in immediate mode.
Version 2.5 — April 22, 1987