[ Previous | Next | Contents | Glossary | Home | Search ]
x11 R6 Technical Reference

XESetCreateGC Extension Function

Purpose

Defines a procedure to call when a new graphics context is created.

Library

Enhanced X-Windows Library (libX11.a)

C Syntax

int (*XESetCreateGC(DisplayPtr, Extension,  Procedure))()
Display *DisplayPtr;
int Extension;
int (*Procedure)();

Description

The XESetCreateGC extension function defines a procedure to call when a new graphics context is created. It returns any previously defined procedure, usually the value Null.

When a graphics context is created, the routine is called with the following:

(*Procedure)(DisplayPtr, GraphicsContext, Codes);
Display *display;
GC graphics context;
XExtCodes *codes;

Parameters

DisplayPtr Specifies the display device.
Extension Specifies the extension number.
Procedure Specifies the routine to call when a graphics context is created.

Related Information

Using Extensions in AIXwindows in AIX Version 4.3 AIXwindows Programming Guide.

AIXwindows Overview for Programmers in AIX Version 4.3 AIXwindows Programming Guide.


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