Documentation Home
> Solaris Common Desktop Environment: Motif Transition Guide
Solaris Common Desktop Environment: Motif Transition Guide
Book Information
Preface
Chapter 1 Moving to Motif and CDE
Summary of Motif Toolkits
Moving to Motif
Running Existing Motif Applications on the OpenWindows Desktop
Developing Solaris Motif Applications for the OpenWindows Desktop
Moving to Solaris CDE
Running Existing Applications on the Solaris CDE Desktop
Porting OpenWindows Applications to the Solaris CDE Desktop
Porting Motif Applications to the Solaris CDE Desktop
Developing and Debuggging Applications for the Solaris CDE Desktop
Developing Solaris Motif Applications
Solaris CDE Naming Conventions
Chapter 2 Motif Environment
Motif Packaging in the Solaris Software
Compiling and Linking Motif Programs
Shared Library Policy
Chapter 3 Solaris Motif Toolkits
Motif Toolkits in Solaris Software
Solaris 7 Motif
Enhancements to Existing Motif 2.1 Functionality
Solaris CDE Libraries for Motif
Motif Library (libXm)
Motif UIL library (libUill)
Motif Resource Manager Library (libMrm)
Related Documentation
IXI Motif 1.2.2 Toolkit
XmList convenience functions
XmForm widget
Complex Text Layout (CTL) Support
Widgets Available for CDE Application Development
Solaris Motif Control Widgets
Compatibility with Motif 2.1
Library and Header Files
Demo Programs
Related Documentation
CDE Terminal Widget
Library and Header Files
Demo Programs
Related Documentation
Text Editor Widget
Library and Header Files
Demo Programs
Related Documentation
Chapter 4 Development Environment Transition Issues
Features Exclusive to Solaris CDE
OpenWindows Versus Solaris CDE Development Environments
GUI Application Builders
Drag and Drop
ToolTalk Messaging
Typing
Help
User Model
Programming Tasks
Richness of Help System
Internationalization
Fonts
Motif Applications and Color
Chapter 5 Toolkit Transition Issues
OPEN LOOK Versus Solaris Motif Toolkits
Features Only in the OPEN LOOK User Interface
Features Only in the Solaris Motif User Interface
Notable Implementation Differences Between Toolkits
Tear-off Menus
Secondary Text Selection
Window Controls
Mouse Button Behavior
XView Libraries Versus Solaris Motif Libraries
Terminology
OPEN LOOK Versus Motif Toolkit Architecture
Programming Model
Common Types of User Interface Objects
Differences Between XView and Solaris Motif
X Resources
External Files
OLIT Libraries Versus Solaris Motif Libraries
Routines Only in OLIT Library
Routines Only in Solaris Motif Libraries
Widgets
Widgets Exclusive to Solaris Motif
Widgets Exclusive to OLIT
Chapter 6 Porting Issues and Ideas
Elements of Migrating
Do You Need to Port?
Basic Integration
If You Decide to Port
Benefits of Porting
Integrating into the Solaris CDE Environment
Recommended Integration
Optional Integration
Start Small
Convert and Clean Up
Use a Motif GUI Builder
Architectural Impact
GUI and Internals
Static Versus Dynamic Layout
Study the Target Environment
GUI Development Tools
Use Transition Tools
Tools to Transition to Motif
Tools to Transition to the Solaris CDE Desktop
Use Existing Code
GUI Builder Code
Demo Code
Tips
Floating Menus
Colormap Behavior
Summary: Things to Keep in Mind
Chapter 7 Porting Example: OPEN LOOK to Solaris Motif
OpenWindows 3.4 Snapshot Application
Convert
Clean Up
Consider CDE Style Guidelines
Other Design Considerations
Appendix A User Interaction Changes
Appendix B Internationalization and CDE
Ensure Correct CDE NLS Environment
Message Catalog Functions
Locale Announcement
Character Strings and XmStrings
To Convert from Character String to XmString
To Convert from XmString to Character String
Include app-defaults File
Localize Motif Resources
Deliver Message Catalog
CDE and gencat
.msg Files
.cat Files
Fonts
Internationalizing Shell Scripts
Appendix C Recommended Reading
CDE Documentation
Development Environment
Run-time Environment
ToolTalk Documentation
Motif 2.1 Documentation
Graphical User Interfaces
Motif Programming
OPEN LOOK Programming
Xt/XLib Programming
Index
A
B
C
D
E
F
G
H
I
L
M
N
O
P
Q
R
S
T
U
W
X
© 2010, Oracle Corporation and/or its affiliates