1.4 Overview of Xlib
Just what does the X library contain? Table 1-1 groups the Xlib routines according to their major function and lists the chapter in which the group is discussed.
Table 1-1. Xlib Routines by Function
Function Group | Description | Chapter |
|---|---|---|
Color | Routines to change the way colors drawn by an application are interpreted on the screen. | |
Cursors | Routines to change the shape and colors of the image that tracks the pointer around the screen. | |
Data Management | Several mechanisms to associate data with windows or numbers. | |
Display Connection | Routines to connect and disconnect an application with a display, possibly across the network. | |
Display and Server Specifications | Macros and equivalent functions are provided that provide information about a particular server implementation and the connected display hardware. | Volume One, throughout; Volume Two, Appendix C |
Drawing | Routines to draw dots, lines, rectangles, polygons, and arcs, and an analogous set to fill the last three. | |
Errors | Routines to set the functions called when errors occur. | |
Events | Routines to get input from the user, from other applications, and from the server. In X, these are collectively called events. | |
Extensions | Routines to find out what extensions are available on a particular server and get information about how to use one. | |
Fonts | Routines to list available fonts, load fonts, and find out their characteristics. | |
Geometry | Routines to manipulate and translate ... |
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