XESetFreeGC
Syntax
int (*XESetFreeGC(display, extension, proc))()
Display *display;
int extension;
int (*proc)();
Arguments
display
| Specifies the connection to the X server.
|
extension
| Specifies the extension number.
|
proc
| Specifies the procedure to call when a GC is freed.
|
Description
The
XESetFreeGC()
function defines a procedure to be called whenever
a GC is freed.
It returns any previously defined procedure, usually NULL.
When a GC is freed,
your procedure is called with these arguments:
(*proc)(display, gc, codes)
Display *display;
GC gc;
XExtCodes *codes;
See also
XESetBeforeFlush(),
XESetCloseDisplay(),
XESetCopyGC(),
XESetCreateFont(),
XESetCreateGC(),
XESetError(),
XESetErrorString(),
XESetEventToWire(),
XESetFlushGC(),
XESetFreeFont(),
XESetPrintErrorValues(),
XESetWireToError(),
XESetWireToEvent(),
_XSetLastRequestRead(),
"Hooks into the Library"
Christophe Tronche, ch@tronche.com