Defines a procedure to call when a new graphics context is created.
Enhanced X-Windows Library (libX11.a)
int (*XESetCreateGC(DisplayPtr, Extension, Procedure))() Display *DisplayPtr; int Extension; int (*Procedure)();
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;
DisplayPtr | Specifies the display device. |
Extension | Specifies the extension number. |
Procedure | Specifies the routine to call when a graphics context is created. |
Using Extensions in AIXwindows in AIX Version 4.3 AIXwindows Programming Guide.
AIXwindows Overview for Programmers in AIX Version 4.3 AIXwindows Programming Guide.