GContext and GC in Xlib

Many Xlib functions will return and use an integer resource ID, which allows you to refer to objects stored on the X server (see "Overview of the X Window System"), such as Window, Font, Pixmap, Colormap and Cursor. GCs however, are references to opaque structures stored on the client side for efficiency reasons. For each GC there is a correponding XID, whose type is GContext.
Back to the Xlib programming manual
This page is not a part of the Xlib Programming manual.
Christophe Tronche, ch.tronche@computer.org