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

unqdevice Subroutine

Purpose

Disables an input device for event queuing

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void unqdevice(Device dev)

FORTRAN Syntax

SUBROUTINE UNQDEV(dev)
INTEGER*4 dev

Description

The unqdevice subroutine removes the specified device from the list of devices whose changes are recorded in the event queue. If a device has recorded events that have not been read, they remain in the queue.

Use the qreset subroutine to flush the event queue.

Note: This subroutine cannot be used to add to a display list.

Parameter

dev Specifies an identifier for the device to be disabled.

Example

The example C language program prompt.c uses the unqdevice subroutine to disable input from the keyboard.

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.
/usr/include/gl/device.h Contains C language constant and variable type definitions for GL.
/usr/include/gl/fdevice.h Contains FORTRAN constant and variable type definitions for GL.

Related Information

Enabling an input device for event queuing with the qdevice subroutine.

Emptying the event queue with the qreset subroutine.

AIX Graphics Library Overview and Controlling Queues and Devices.


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