VMS DECwindows Guide to Xlib (Release 4) Programming: MIT C Binding


Begin Index

Contents (summary)
Preface Preface
Chapter 1 Programming Overview of Xlib
Chapter 2 Managing the Client-Server Connection
Chapter 3 Working with Windows
Chapter 4 Defining Graphics Characteristics
Chapter 5 Using Color
Chapter 6 Drawing Graphics
Chapter 7 Using Pixmaps and Images
Chapter 8 Writing Text
Chapter 9 Handling Events
Chapter 10 Using the X Resource Manager
Chapter 11 Using Grabs
Chapter 12 Complying with Inter-Client Communications Conventions
Appendix A Compiling Fonts
Appendix B VMS DECwindows Named Colors
Appendix C VMS DECwindows Fonts
  Index
  Figures
  Examples
  Tables


Contents


Preface
Preface Preface
Chapter 1
1 Programming Overview of Xlib
     1.1     Overview of Xlib
     1.2     Sample Xlib Program
         1.2.1         Sample Initialization Routine
             1.2.1.1             Creating Windows
             1.2.1.2             Defining Colors
             1.2.1.3             Working with the Window Manager
             1.2.1.4             Making Windows Visible on the Screen
         1.2.2         Sample Event-Handling Routine
     1.3     Handling Error Conditions
     1.4     Debugging Xlib Programs
Chapter 2
2 Managing the Client-Server Connection
     2.1     Overview of the Client-Server Connection
     2.2     Establishing the Client-Server Connection
     2.3     Closing the Client-Server Connection
     2.4     Getting Information About the Client-Server Connection
     2.5     Managing Requests to the Server
Chapter 3
3 Working with Windows
     3.1     Window Fundamentals
         3.1.1         Window Hierarchy
         3.1.2         Window Position
         3.1.3         Window Visibility and Occlusion
     3.2     Creating Windows
         3.2.1         Using Attributes of the Parent Window
         3.2.2         Defining Window Attributes
     3.3     Destroying Windows
     3.4     Mapping and Unmapping Windows
     3.5     Associating Properties with Windows
     3.6     Exchanging Properties Between Clients
     3.7     Changing Window Characteristics
         3.7.1         Reconfiguring Windows
         3.7.2         Effects of Reconfiguring Windows
         3.7.3         Changing Stacking Order
         3.7.4         Changing Window Attributes
     3.8     Getting Information About Windows
Chapter 4
4 Defining Graphics Characteristics
     4.1     The Graphics Context
     4.2     Defining Multiple Graphics Characteristics in One Call
     4.3     Defining Individual Graphics Characteristics
     4.4     Copying, Changing, and Freeing Graphics Contexts
     4.5     Using Graphics Characteristics Efficiently
Chapter 5
5 Using Color
     5.1     Pixels and Color Maps
         5.1.1         Installing Color Maps
     5.2     Matching Color Requirements to Display Types
         5.2.1         Visual Types
         5.2.2         Determining the Default Visual Type
         5.2.3         Determining Multiple Visual Types
     5.3     Sharing Color Resources
         5.3.1         Using Named Colors
         5.3.2         Specifying Exact Color Values
     5.4     Allocating Colors for Exclusive Use
         5.4.1         Specifying a Color Map
         5.4.2         Allocating Color Cells
         5.4.3         Storing Color Values
     5.5     Freeing Color Resources
     5.6     Querying Color Map Entries
Chapter 6
6 Drawing Graphics
     6.1     Graphics Coordinates
     6.2     Using Graphics Routines Efficiently
     6.3     Drawing Points and Lines
         6.3.1         Drawing Points
         6.3.2         Drawing Lines and Line Segments
     6.4     Drawing Rectangles and Arcs
         6.4.1         Drawing Rectangles
         6.4.2         Drawing Arcs
     6.5     Filling Areas
         6.5.1         Filling Rectangles and Arcs
         6.5.2         Filling a Polygon
     6.6     Clearing and Copying Areas
         6.6.1         Clearing Window Areas
         6.6.2         Copying Areas of Windows and Pixmaps
     6.7     Defining Regions
         6.7.1         Creating Regions
         6.7.2         Managing Regions
     6.8     Defining Cursors
         6.8.1         Creating Cursors
         6.8.2         Managing Cursors
         6.8.3         Destroying Cursors
Chapter 7
7 Using Pixmaps and Images
     7.1     Creating and Freeing Pixmaps
     7.2     Creating and Managing Bitmaps
     7.3     Working with Images
Chapter 8
8 Writing Text
     8.1     Characters and Fonts
     8.2     Specifying Fonts
     8.3     Getting Information About a Font
     8.4     Freeing Font Resources
     8.5     Computing the Size of Text
     8.6     Drawing Text
     8.7     Font Usage Hints
         8.7.1         Font Fallback Strategy
         8.7.2         Speeding Up Font Name Searches
         8.7.3         Monitor Density Independence
         8.7.4         Character Set Considerations


Previous Next Contents Index