Changes the size and position of the current window.
void winposition (Int32 x1, Int32 x2, Int32 y1, Int32 y2)
SUBROUTINE WINPOS(x1, x2, y1, y2) INTEGER*4 x1, x2, y1, y2;
The winposition subroutine repositions and resizes the current window. The window is positioned at the new location as soon as the system receives the winposition subroutine call; the reposition is not deferred to a later time. If no window is open, this subroutine has no effect.
The winposition subroutine removes the current size constraint. After the winposition subroutine has been started, the user can interactively change the position and size of the window.
The winposition subroutine does not remove the other window constraints, such as the minimum and maximum size constraints, the aspect ratio, or the stepunit.
To keep the window size constrained, use the prefposition or the prefsize subroutines to move and resize a window.
Note: This subroutine cannot be used to add to a display list.
|x1||Specifies the x-pixel screen coordinate of the first corner of the new location for the current window. The first corner is diagonally opposite the second corner.|
|x2||Specifies the x-pixel screen coordinate of the second corner of the new location for the current window. The second corner is diagonally opposite the first corner.|
|y1||Specifies the y-pixel screen coordinate of the first corner of the new location for the current window.|
|y2||Specifies the y-pixel screen coordinate of the second corner of the new location for the current window.|
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
|/usr/include/gl/gl.h||Contains C language constant and variable type definitions for GL.|
|/usr/include/gl/fgl.h||Contains FORTRAN constant and variable type definitions for GL.|
Constraining the window position and size with the prefposition subroutine.
Constraining the window size with the prefsize subroutine.
Moving the current window by its lower-left corner with the winmove subroutine.
Raising the current window on top of all other windows with the winpop subroutine.
Lowering the current window beneath all other windows with the winpush subroutine.
Creating and Managing Windows.