XESetFreeFont

Syntax

int (*XESetFreeFont(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 font is freed.

Description

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

When XFreeFont() is called, your procedure is called with these arguments:


(*proc)(display, fs, codes)
	Display *display;
	XFontStruct *fs;
	XExtCodes *codes;

See also

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