XESetCopyGC

Syntax

int (*XESetCopyGC(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 GC components are copied.

Description

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

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


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

See also

XESetBeforeFlush(), XESetCloseDisplay(), XESetCreateFont(), XESetCreateGC(), XESetError(), XESetErrorString(), XESetEventToWire(), XESetFlushGC(), XESetFreeFont(), XESetFreeGC(), XESetPrintErrorValues(), XESetWireToError(), XESetWireToEvent(), _XSetLastRequestRead(), "Hooks into the Library"
Christophe Tronche, ch@tronche.com