OSF/Motif Programmer's Guide
Front Matter
| List of Figures | List of Tables |
Table of Contents
- Preface
- Audience
- Applicability
- Purpose
- Document Usage
- Related Documents
- Typographic and Keying Conventions
- 1. Introduction
- The X Window System
- Xlib, Xt, and Motif
- Widget Classes and Hierarchy
- Header Files and Libraries
- 2. The Motif Programming Model
- A User-Centered Model
- Separating Interface from Application
- Building Blocks: Primitive Widgets and Gadgets
- Managers
- Shells
- Applications, Top-Level Widgets, and Dialogs
- Resources: User and Program Customization
- Handling Input and Output
- 3. Structure of a Motif Program
- Including Header Files
- Initializing the Intrinsics
- Creating Widgets
- Adding Callback Procedures
- Making Widgets Visible
- Entering the Event Loop
- 4. Structure of a Program Using UIL and MRM
- Structure of a UIL Module
- Structure of a Program Using MRM
- 5. Basic Controls
- Core, RectObj, XmPrimitive, and XmGadget Classes
- Labels, Buttons, and Separators
- ScrollBar
- Scale
- List
- Text and TextField
- 6. Menus and Options
- Menu Components: Buttons, RowColumn, MenuShell
- MenuBar
- PopupMenu
- PulldownMenu
- OptionMenu
- RadioBox and CheckBox
- TearOffMenus
- 7. Dialogs
- BulletinBoard and DialogShell
- Making a Selection: SelectionBox
- Choosing a Pathname: FileSelectionBox
- Command
- MessageBox
- Form
- 8. Text
- Text and TextField
- Selection
- Text Editing and Callbacks
- Text Resources and Geometry
- Convenience Routines
- ScrolledText
- Storing Text in a File
- Sharing Text Sources
- 9. Scrolling, Panes, and Frames
- ScrolledWindow
- Automatic Scrolling
- Application-Defined Scrolling
- MainWindow
- Frame
- PanedWindow
- 10. Managing Geometry
- Xt and Geometry Management
- Shells and Their Children
- Manager Widgets and Their Children
- Managing Geometry Using RowColumn
- Managing Geometry Using BulletinBoard and DrawingArea
- Managing Geometry Using Form
- 11. Internationalization
- Issues in Internationalized Applications
- Compound Strings, Fonts, and Text Display
- Localizing Applications
- Advanced Topics in Internationalization
- 12. Color and Pixmaps
- Default Colors and Pixmaps
- Application-Defined Color Generation
- Colormaps
- Using Pixmaps
- 13. Input, Focus, and Keyboard Navigation
- Focus Models
- Controlling Keyboard Navigation
- Translations and Actions
- Mnemonics and Accelerators
- Event Handlers
- 14. Graphics and Text in a DrawingArea
- DrawingArea: A General-Purpose Widget
- Event Handling and Callbacks
- Using a DrawingArea in a ScrolledWindow
- Using a DrawingArea for Graphics
- DrawingArea and Advanced Text Editing
- 15. Drag and Drop
- User Overview of Drag and Drop
- Technical Overview of Drag and Drop
- Drag and Drop Protocols
- Drop Receiver Responsibilities for Dragging
- Drag Initiator Responsibilities for Dragging
- Drop Receiver Responsibilities for Dropping
- Drag Initiator Responsibilities for Dropping
- 16. Interclient Communication
- Window Managers, ICCCM, and Shells
- MWM Properties and Resources
- Atom and Protocol Management
- Selections
- The Motif Clipboard
- A. The Widget Meta-Language Facility
- Using WML
- B. Drag and Drop Example Program
- DNDDemo.h
- DNDDemo.c
- DNDDraw.c
- Glossary
- Index
- Index