A Practical Guide to X Window Programming is a basic guide that takes readers step by step through developing applications using X-Windows (TM). 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.
Sprache
Verlagsort
Verlagsgruppe
Zielgruppe
Für höhere Schule und Studium
Für Beruf und Forschung
Gewicht
ISBN-13
978-0-8493-7406-7 (9780849374067)
Schweitzer Klassifikation
INTRODUCTION. A Brief History of X. The X-Window System Architecture. The X Programming Interface-Xlib. Reasons for Using Xt Over Xlib. Why a Practical Guide? FUNDAMENTALS: A HELPFUL REVIEW FOR UNDERSTANDING Xt. Review of Structures and Pointers. Window System Basics. Event-Driven Programming. Object-Oriented Programming. Xt BASICS: AN INTRODUCTION TO Xt-BASED WIDGETS. What Is a Widget, Really? Classes of Widgets. The Components of a Widget. A Windowless Object: The OSF/Motif Gadget. BASIC X GRAPHICS: TEXT, FONTS, BITMAPS, AND COLORS. Text and X. Graphics Context. Handling GCs. Multi-Font Text. Fonts. Bitmaps for Icons. Foreground and Background. BUILDING APPLICATIONS: DEVELOPING WITH Xt. Conventions. Application Structure. Providing Application Resources. Handling Events. BUILDING WIDGETS: PRIMITIVE WIDGETS. Structure of a Primitive Widget. Inheritance in Xt. Requirements for the FieldEd Widget. Constructing the Widget. Summing Up. BUILDING WIDGETS: CONTAINER WIDGETS. Composite Widget. Structure of a Composite Widget. Structure of a Constraint Widget. Summing Up. A SAMPLE APPLICATION: A CHARACTER-ORIENTED CLIENT. Designing an Xt Application. Standardizing the Interface. Selecting from the Widget Sets. Building the Application. Summing Up. A LOOK AT OSF/MOTIF. Motif Environment. Motif Window Manager. The Motif Widgets. Sample Motif Clients. A SAMPLE APPLICATION: MOTIF VERSION. Client Components. Building the Client. Summing Up. APPLICATION DEVELOPMENT: ADVANCED TOPICS. Inter-Client Communication. Using Multiple Displays. Summing Up. APPENDIX A: WIDGETS, CLASSING, AND EXPORTED FUNCTIONS OSF/MOTIF AND ATHENA XAW (R4 AND R3). Motif Widgets. Motif Widget Classing. Motif Exported Functions. XAW R4 Widgets. XAW (R4) Classing. XAW R4 Exported Functions. XAW R3 Widgets. XAW R3 Classing. XAW R3 Exported Functions. APPENDIX B: QUICK Xt REFERENCE GUIDE X11R4. Typedefs. BASE Widget Typedefs. Translation Management Typedefs. Intrinsic Specific Procedure Typedefs. Container Routines. Resource Conversion. Event Handling. Checking Routines. Selection Management. Geometry Management. Translation Management. Keycode and Keysym Procedures. Event Management. Event Gathering Routines. Logic Macros. Widget State. Argument List. Information Gathering Routines. Widget Mapping. Callbacks. Geometry Management. Pop-Ups. Widget Creation. Toolkit Initialization. Error Handling. Memory Management. Work Procedures. Graphics Context. Selection Mechanisms. Grabs. Miscellaneous. APPENDIX C: QUICK GUIDE TO THE OSF/MOTIF WIDGET SET. OSF Widgets. Convenience Routines. Xm Text Widget Public Routines. Resource Values. Motif Callback Data Structures. BIBLIOGRAPHY. INDEX.