IRIX® Interactive Desktop Integration Guide

Document Number: 007-2006-130

Front Matter

| List of Figures | List of Examples | List of Tables |

Table of Contents

New Features in This Guide
Major Documentation Changes

About This Guide
What This Guide Contains
How to Use This Guide
What You Should Know Before Reading This Guide
Suggested Reading
Font Conventions in This Guide

Integrating an Application Into the IRIX Interactive Desktop Environment: An Introduction
About the IRIX Interactive Desktop Environment
Implementation Strategies and Toolkits
Integrating an Application

I. Getting the Right Look and Feel

1. Getting the Right Look and Feel: An Overview
About the IRIX Interactive Desktop Look and Feel
Getting the Right Look and Feel: The Basic Steps

2. Getting the IRIX Interactive Desktop Look

3. Using Schemes
Schemes Overview
Using Schemes in Your Application
Extending a Scheme to Support New Colors
Testing Your Application with Schemes
Creating New Schemes
Hard-Coding a Scheme for an Application

4. Using the SGI Enhanced Widgets
Using the SGI Enhanced Widgets
Using the Widget Demos
The Enhanced Widgets
The Mixed-Model Programming Widgets
The SGI Enhanced Widgets
HTML Viewer Component

5. Window, Session, and Desk Management
Window, Session, and Desk Management Overview
Implementing an Application Model
Interacting With the Window and Session Manager

6. Customizing Your Application's Minimized Windows
Some Different Sources for Minimized Window Images
Creating a Minimized Window Image: The Basic Steps
Setting the Minimized Window Label
Changing the Minimized Window Image

7. Interapplication Data Exchange
Data Exchange Overview
Implementing the Primary Transfer Model
Implementing the Clipboard Transfer Model
Supported Target Formats
Data Conversion Service

8. Monitoring Changes to Files and Directories
FAM Overview
The FAM Interface
Using FAM

9. Providing Online Help With SGIHelp
Overview of SGIHelp
The SGIHelp Interface
Implementing Help in an Application
Application Helpmap Files
Writing the Online Help
Producing the Final Product
Bibliography of SGML References

10. Handling Users' System Preferences
Handling the Mouse Double-Click Speed Setting
Using the Default Viewer and Editor Utilities Panel

II. Creating Desktop Icons

11. Creating Desktop Icons: An Overview
About IRIX Interactive Desktop Icons
Checklist for Creating an Icon
Creating an Icon: The Basic Steps Explained in Detail

12. Using IconSmith
About IconSmith
Where to Install Your Completed Icon
Some Definitions
Starting IconSmith
IconSmith Menus
IconSmith Windows
Drawing With IconSmith
Concave Polygons
Constraints: Gravity (Object) Snap and Grid Snap
Icon Design and Composition Conventions
Advanced IconSmith Techniques

13. File Typing Rules
A Table of the FTRs With Descriptions
Naming File Types: The TYPE Rule
Categorizing File Types: The SUPERTYPE Rule
Matching File Types With Applications: The MATCH Rule
Matching Non-Plain Files: The SPECIALFILE Rule
Adding a Descriptive Phrase: The LEGEND Rule
Setting FTR Variables: The SETVAR Rule
Programming Open Behavior: The CMD OPEN Rule
Programming Alt-Open Behavior: The CMD ALTOPEN Rule
Programming Drag and Drop Behavior: The CMD DROP and DROPIF Rules
Mapping Names: The MAP Rule
Programming Print Behavior: The CMD PRINT Rule
Adding Menu Items: The MENUCMD Rule
Getting the Icon Picture: The ICON Rule
Creating a File Type: An Example

14. Printing From the Desktop
About routeprint
Converting a File for Printing
The Print Conversion Rules
The Current Printer

A. Example Programs for SGI Enhanced Widgets
Example Program for Color Chooser
Example Program for Dial
Example Program for Drop Pocket
Example Program for Finder
Example Program for History Button (Dynamenu)
Example Program for ThumbWheel
Example Program for File Selection Box
Example Programs for Scale (Percent Done Indicator) Widget
Example Program for LED Widget

B. Desktop Variables
Variables Set By the Desktop
Variables Set By the User

C. Online Help Examples
A Simple Help Document
Allowable Elements in a Help Document
An Example of Implementing Help in an Application

D. The Icon Description Language

E. Predefined File Types
Naming Conventions for Predefined File Types
The Predefined File Types and What They Do

F. FTR File Directories

G. Using GoldenGate Data Conversion Services
Converting Data Using the GoldenGate Data Conversion Service
Compiling and Linking Your Program with GoldenGate
Writing Converters for the GoldenGate Data Conversion Service

H. Standard Menu Resources
Common Menu Bar Resources
Standard File Menu Resources
Standard Edit Menu Resources