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,
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.
This page is not a part of the Xlib Programming manual.
Christophe Tronche, email@example.com