next up previous contents
Next: Client Resources Up: Some Basic Xlib Previous: Some Basic Xlib

Server Resources

Complex data structures such as: windows, pixmaps, colourmaps, cursors, fonts and graphics contexts are stored in the server. They are known as server resources and clients reference them using an integer ID. For example, a client can request the server to create a window, and the server returns the window's ID to the client. Form then onwards, that ID is used as one of the parameters of any Xlib routine that requires access to that window.



JR Pitchers
Wed May 3 16:45:04 BST 1995