X Windows Systems

Programming and Applications with Xt

Douglas A. Young

Publisher: Prentice Hall, 1989, 468 pages

ISBN: 0-13-972167-3

Keywords: Programming, Graphics

Last modified: May 10, 2021, 2:57 p.m.

X Windows Systems: Programming and Applications with Xt presents programming applications for the Xt Intrinsics and the various widget libraries. This approach to the X Window System enables the applications programmer to create easily and more efficiently the mouse-driven, graphical user interfaces.

Each one of the key features is illustrated with working programs, explanations, and pictures of the screen.

Additional highlights:

  • Builds and uses a running library of useful functions. This encourages the design of reusable software.
  • Contains over 40 working examples.
  • Offers the described Xt Intrinsics and X Widget set software at no cost to those with ARPA net access.
  • Contains 3 chapters that describe writing new widgets. Four complete widgets, designed just for the book, are presented and explained.
  1. An Introduction to the X Window System
    1. The Client-Server Model
    2. Displays and Screens
    3. Resources
    4. Requests
    5. Basic Window Concepts
    6. The Event Model
    7. Input Devices
    8. Window Management
    9. The Application Programmer's Interface to X
    10. Summary
  2. Programming with the Xt Intrinsics
    1. Naming Conventions
    2. Basic Xt Intrinsics Functions
    3. The X Toolkit Programming Model
    4. An Example: memo
    5. Application Contexts
    6. Summary
  3. The X Resource Manager
    1. What is a Resource?
    2. Specifying Resources
    3. Managing Application Resources
    4. Summary
  4. Programming with Widgets
    1. Widget Classes
    2. Widget Resource Conventions
    3. Intrinsic Widget Classes
    4. The X Widget Classes
    5. Using Popup Widgets
    6. Summary
  5. Handling Events
    1. What is an Event?
    2. Event Masks
    3. Event Types
    4. Handling Events with the Xt Intrinsics
    5. Managing the Event Queue
    6. Handling Timeouts
    7. Using Workprocs
    8. Handling Other Input Sources
    9. Summary
  6. Using Color
    1. The X Color Model
    2. Example: A Colormap Editor
    3. Summary
  7. Manipulating Raster Images
    1. Pixmaps
    2. Bitmaps
    3. Copying between Drawables
    4. Tiles
    5. Images
    6. Summary
  8. Graphics Contexts
    1. Creating Graphics Contexts
    2. Manipulating Graphics Contexts
    3. Graphic Exposures
    4. Regions
    5. Summary
  9. Text and Fonts
    1. Fonts
    2. Text Operations
    3. Example: A File Viewer
    4. Summary
  10. Using the X Graphics Primitives
    1. Drawing with Points
    2. Drawing with Lines
    3. Drawing with Polygons and Arcs
    4. Example: A Simple Drawing program
    5. Summary
  11. Interclient Communication
    1. Atoms
    2. Using Properties
    3. Communicating with Events
    4. The X Selection Mechanism
    5. Summary
  12. Creating New Widgets
    1. The Architecture of a Widget
    2. A Basic Widget: The Dial Widget
    3. Using Inheritance: The Squaredial Widget
    4. Meta-Classes
    5. Summary
  13. Creating Composite Widgets
    1. Architecture of a Composite Widget
    2. A Composite Widget: The Row Widget
    3. Summary
  14. Creating Constraint Widgets
    1. Architecture of Contraint Widgets
    2. A Constraint Widget: The Tree Widget
    3. Summary
  1. The X Widget Class Tree
  2. Quick Widget Reference
  3. Selected Xt Intrinsics Functions
  4. Where to get X
  5. X Events and Event Masks
  6. Complete LibXs Source Listing
  7. Using This Book With X11R2


X Windows Systems Programming and Applications with Xt

Reviewed by Roland Buresund

OK ***** (5 out of 10)

Last modified: May 21, 2007, 2:47 a.m.

The base upon which Motif was built. Only for interested parties (very few).


There are currently no comments

New Comment


required (not published)