[ Previous | Next | Contents | Glossary | Home | Search ]
GL3.2 for AIX: Graphics Library (GL) Technical Reference

winget Subroutine

Purpose

Returns the identifier of the current window.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

Int32 winget( )

FORTRAN Syntax

INTEGER*4 FUNCTION WINGET

Description

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.

Return Value

The identifier of the current window.

Implementation Specifics

This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.

Files

/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.

Related Information

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.


[ Previous | Next | Contents | Glossary | Home | Search ]