XESetCreateGC

Syntax

int (*XESetCreateGC(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 closed.

Description

The XESetCreateGC() function defines a procedure to be called whenever a new GC is created. It returns any previously defined procedure, usually NULL.

When a GC is created, your procedure is called with these arguments:


(*proc)(display, gc, codes)
	Display *display;
	GC gc;
	XExtCodes *codes;

See also

XESetBeforeFlush(), XESetCloseDisplay(), XESetCopyGC(), XESetCreateFont(), XESetError(), XESetErrorString(), XESetEventToWire(), XESetFlushGC(), XESetFreeFont(), XESetFreeGC(), XESetPrintErrorValues(), XESetWireToError(), XESetWireToEvent(), _XSetLastRequestRead(), "Hooks into the Library"
Christophe Tronche, [email protected]