This book is a comprehensive tutorial as well as a reference guide for programming in X--the system known for its workstation versatility and advanced graphics-handling ability. The most up-to-date book of its kind, it covers the new X11R6 version and shows readers how to build interactive applications. The disk contains all the text examples, which work on a variety of systems.
SGI's X Windows graphics expert explains how to construct real and useful 3D applications using OpenGL and X, and how to tightly integrate OpenGL applications with the X Window System. Using the OpenGL Utility Toolkit (GLUT) to show how OpenGL programs can be quickly constructed, the book explores OpenGL features using examples written in GLUT.
This is the missing X Window book. While others have shown what the X Window system has available, this book shows how to convert this potential into working tools to fulfil your visualisation needs. It is of the show-me class of books. The majority of the book covers Xlib, although a short coverage of Xcb is also given. Included are: . The relationship between Xlib and the X Window protocol; . All the basic Xlib topics are covered; . Complete working programs with their results; . Exercises to reinforce the material just covered. A 9 part partition to building a complete X program is used throughout. This partitioning fosters the inclusion of all code necessary. All programs are written in C and are one to four pages in length. Open source programs with the occasional Postscript script are shown to provide support as needed. Throughout the examples consideration is given to using colour. The examples produce simple results with the aim of providing building blocks for application oriented codes. The book is directed at graduate students and researchers who create computer code to visualise their data.
This combined tutorial-reference for C programmers teaches how to develop X Window-based applications. The first part offers in-depth tutorials that ease programmers into the X Window system and show how to build interactive applications using X. Also includes reference entries on the X library routines and practical sample programs that reinforce this superb introductory guide.
A Practical Guide to X Window Programming is a basic guide that takes readers step by step through developing applications using X-Windows. The book covers the Xt Intrinsics portion of the X-Window system in detail and discusses the MIT Athena and OSF/Motif Widget Sets that are used in many of the examples. Topics covered include C programming fundamentals, text handling using X, fonts, event handling in Xt, extending the Widget Sets (building on Field Editor Widget), designing and constructing an application, building menus, printing help, OSF/Motif (including the window arranger) and interclient communication. Three extensive appendices are included: Widgets, Classing, and Exported Functions; Quick Xt Reference Guide (X11R4); and Quick Guide to OSF/Motif Widgets. Any applications designer interested in developing applications with Xt will find this book a valuable and enlightening resource.