Getting Something to Show
This chapter is concerned with the basics of Xlib programming. The purpose of a Xlib program is to produce one, or more windows. So all Xlib programs produce at least a single window. Or do they? It is better to say Xlib is windows orientated. A Xlib program may not produce a window, instead use its input/output system for other purposes. In this chapter, the sounding of the bell on the X Window server is used as an example.