[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
OpenGL 1.2 for AIX: Reference Manual

glXGetSelectedEvent Subroutine

Purpose

Returns the GLX events that have been selected for GLX drawables.

Library

OpenGL C bindings library: libGL.a

C Syntax

void glXGetSelectedEvent(display *dpy

                        GLXDrawable draw
                        unsigned long *eventmask)

Description

The glXGetSelectedEvent subroutine sets the eventmask provided to the GLX events that has been selected for drawable. See glXSelectEvent for a list of event masks.

Parameters

dpy Specifies the connection to the X server.
drawable Specifies a GLX window id or a GLX pbuffer id.
eventmask Returns which GLX events have been selected for drawable.

Errors

GLXBadDrawable is generated draw is not a GLX window or a GLX pixmap drawable.

Files

/usr/include/GL/gl.h Contains C language constants, variable type definitions, and ANSI function prototypes for OpenGL.
/usr/include/GL/glx.h Contains C language constants, variable type definitions, and ANSI function prototypes for GLX.

Related Information

The glXSelectEvent subroutine.

OpenGL in the AIXwindows (GLX) Environment.

OpenGL Overview.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]