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

XESetCopyGC Extension Function

Purpose

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

Library

Enhanced X-Windows Library (libX11.a)

C Syntax

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

Description

The XESetCopyGC extension function defines a procedure to call whenever a GC is copied. This procedure returns any previously defined procedure, usually the value of Null.

When a GC is copied, the function is called with the following syntax:

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

Parameters

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

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 ]