FORTRAN (libfgl.a)
void winset(Int32 windowid)
SUBROUTINE WINSET(windowid) INTEGER*4 windowid
The winset subroutine takes the window associated with the windowid parameter and makes it the current window.
All drawing (lines, polygons, and NURBS) is done in the current window. Lighting, depth-cueing, and z-buffering all apply to the current window. Every window has an independent set of stacks: matrix stack, name stack, attribute stack, and viewport stack, and all stack manipulation routines such as matrix multiplies are directed at the current window.
The only attributes that are shared across windows are those defined with the defcursor, deflinestyle, defpattern, defrasterfont, lmdef, loadXfont, and makeobj subroutines.
The winset subroutine is the only subroutine that switches graphics servers.
The winset subroutine does not raise the indicated window to the top position. Use the winpop subroutine to raise a window to the top.
Note: This subroutine cannot be used to add to a display list.
windowid | Specifies which window to set as current. |
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. |
Returning the identifier of the current window with the winget subroutine.
Creating a new window with the winopen subroutine.
Creating and Managing Windows.