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

winclose Subroutine

Purpose

Closes the identified window.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void winclose(Int32 windowid)

FORTRAN Syntax

SUBROUTINE WINCLO(windowid)
INTEGER*4 windowid;

Description

The winclose subroutine closes the window associated with the windowid parameter. The identifier for a window is the function return value from the call to the winopen subroutine that created the window.

Notes:
  1. If the current window is closed with the winclose subroutine, another window is chosen arbitrarily as the current window. All subsequent drawing is directed to this window. To avoid encountering unexpected behavior due to arbitrary window selection, use the winset subroutine to choose a new current window.
  2. The winclose subroutine cannot be used to add to a display list.

Parameter

windowid Specifies which window to close.

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

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 ]