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

getopenobj Subroutine

Purpose

Returns the current open object.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

Int32 getopenobj( )

FORTRAN Syntax

INTEGER*4 FUNCTION GETOPE

Description

The getopenobj subroutine returns the identifier of the object that is currently open for editing. If no object is open, the subroutine returns -1.

Note: This editing subroutine itself cannot be added to a display list.

Return Value

The number of the object currently open for editing.

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 an object with the closeobj subroutine.

Opening an object for editing with the editobj subroutine.

Creating an object with the makeobj subroutine.

AIX Graphics Library Overview, Creating Objects (Display Lists), and Querying the System.


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