X Toolkit - Intrinsics & Athena Widgets
by McCormack, Asente, Swick, & Weissman
ISBN 0-929306-04-X 1988 350 pages, Paperback $32.95 (US Dollars)
Summary
Contents
Table of Contents:
- Intrinsics and Widgets
- Terminology
- Intrinsics
- Procedures and Macros
- Widgets
- Implementation-Specific Data Types
- Widget Classing
- Widget Instantiation
- Initializing the X Toolkit
- Loading the Resource Database
- Parsing the Command Line
- Creating Widgets
- Realizing Widgets
- Obtaining Window Information from a Widget
- Destroying Widgets
- Exiting from an Application
- Composite Widgets & Their Children
- Addition of Children to a Composite Widget: the insert_child Procedure
- Insertion Order of Children: the insert_position Procedure
- Deletion of Children: the delete_child Procedure
- Adding and Removing Children from the Managed Set
- Controlling when Widgets get Mapped
- Constrained Composite Widgets
- Shell Widgets
- Pop-Up Widgets
- Pop-Up Widget Types
- Creating a Pop-Up Shell
- Creating Pop-Up Children
- Mapping a Pop-Up Widget
- Unmapping a Pop-Up Widget
- Geometry Management
- Initiating Geometry Changes
- General Geometry Manager Requests
- Resize Requests
- Potential Geometry Changes
- Child Geometry Management: the geometry_manager Procedure
- Widget Placement and Sizing
- Preferred Geometry
- Size Change Management: the resize Procedure
- Event Management
- Adding and Deleting Additional Event Sources
- Constraining Events to a Cascade of Widgets
- Focusing Events on a Child
- Querying Event Sources
- Dispatching Events
- The Application Input Loop
- Setting and Checking the Sensitivity State of a Widget
- Adding Background Work Procedures
- X Event Filters
- Widget Exposure and Visibility
- X Event Handlers
- Callbacks
- Using Callback Procedure and Callback List Definitions
- Identifying Callback Lists
- Adding Callback Procedures
- Removing Callback Procedures
- Executing Callback Procedures
- Checking the Status of a Callback List
- Resource Management
- Resource Lists
- Byte Offset Calculations
- Superclass to Subclass Chaining of Resource Lists
- Subresources
- Obtaining Application Resources
- Resource Conversions
- Reading and Writing Widget State
- Translation Management
- Action Tables
- Translation Tables
- Translation Table Management
- Using Accelerators
- Keycode-to-KeySym Conversions
- Obtaining a KeySym in an Action Procedure
- KeySym-to-KeyCode Conversions
- Registering Button and Key Grabs for Actions
- Invoking Actions Directly
- Utility Functions
- Determining the Number of Elements in an Array
- Translating Strings to Widget Instances
- Managing Memory Usage
- Sharing Graphics Contexts
- Managing Selections
- Merging Exposure Events into a Region
- Translating Widget Coordinates
- Translating a Window to a Widget
- Handling Errors
- Setting WM_COLORMAP_WINDOWS
- Finding File Names
- Non-widget Objects
- Data Structures
- Object Objects
- Rectangle Objects
- Undeclared Class
- Widget Arguments to Intrinsic Resources
- Evolution of the Intrinsics
- Determining Specification Revision Level
- Release 3 to Release 4 Compatibility
- Appendix A - Resource File Format
- Appendix B - Translation Table Syntax
- Appendix C - Conversion Notes
- Appendix D - Standard Errors and Warnings
- Appendix E - StringDefs.h Header File
- Index
|