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

XESetFreeGC Extension Function

Purpose

Defines a procedure to call when a graphics context (GC) is freed.

Library

Enhanced X-Windows Library (libX11.a)

C Syntax

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

Description

The XESetFreeGC extension function defines a procedure to call when a GC is freed. This extension function returns any previously defined procedure, usually the value of Null.

When a GC is freed, the defined procedure is called with the following syntax:

(*Procedure)(DisplayPtr, GraphicsContext, Codes)
Display *DisplayPtr;
GC GraphicsContext;
XExtCodes *Codes;

Parameters

DisplayPtr Specifies the display device.
Extension Specifies the extension number.
Procedure Specifies the routine to call when a GC is freed.

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 ]