Returns the identifier of the current window.
FORTRAN (libfgl.a)
Int32 winget( )
INTEGER*4 FUNCTION WINGET
The winget subroutine returns the identifier of the current window. The current window is the window into which all drawing is directed, the window most recently selected with the winset subroutine, or the window most recently created with the winopen subroutine. The window identifier of a window is the integer returned by the winopen subroutine.
Attention: If the current window is closed by the winclose subroutine, another window is chosen arbitrarily as the current window. In such cases, use the winset subroutine to choose a new current window.
Note: The winget subroutine cannot be used to add to a display list.
The identifier of 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. |
Closing the identified window with the winclose subroutine.
Creating a window with the winopen subroutine.
Setting the current window with the winset subroutine.
Creating and Managing Windows.