How to Use This Manual
Volume One is intended as an introduction to all the basic concepts of X programming and also as a useful reference for many of the most common programming techniques. It is divided into 14 chapters, which describe and demonstrate the use of the X programming library, and numerous appendices.
You will find it necessary to read at least Chapter 1, Chapter 2, and Chapter 3 before attempting to program with the X library. Chapter 1, provides a discussion of the context in which X programs operate. Chapter 2, describes the conceptual foundations underlying X programming. Chapter 3, presents a simple program.
Chapter 4 through Chapter 9 (Window Attributes, The Graphics Context, Drawing Graphics and Text, Color, Events, and The Keyboard and Pointer) discuss various programming techniques that are used in all X programs. These chapters can be read as a tutorial and consulted for reference later.
Chapter 10, and Chapter 11 describe the Xlib features for making an application usable in any language without changes to the application binary. These features were added in Release 5.
Chapter 12, is a description of communication between applications and between applications and the window manager, including properties and selections.
Chapter 13, describes the facilities provided for database management, parsing the command line, and managing user preferences. Xlib calls this the resource manager.
Chapter 14, provides an example of a complete application. This chapter is especially ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access