Solaris Common Desktop Environment: Motif Transition Guide
只搜尋這本書
以 PDF 格式下載這本書

............................Contents


Preface
xiii

1. Moving to Motif and CDE
1
...Which Motif? 1
......Summary of Motif Toolkits 3
...Moving to Motif 3
......Running Existing Motif Applications on the OpenWindows
........Desktop 3
......Developing CDE Motif Applications for the OpenWindows
........Desktop 4
...Moving to Solaris CDE 4
......Running Existing Applications on the Solaris CDE Desktop 5
......Porting OpenWindows Applications to the Solaris CDE
........Desktop 5
......Porting Motif Applications to the Solaris CDE Desktop 5
......Developing CDE Motif Applications for the Solaris CDE
........Desktop 6

2. Motif Environment
7
...Motif Packaging in the Solaris 2.5 and Solaris CDE 1.0 Software 7
...Compiling and Linking Motif Programs 8
...Shared Library Policy 9
...Future Motif Compatibility 9

3. CDE and Solaris Motif Toolkits
11
...CDE Motif Toolkit 11
......Features Added to Motif 1.2.3 12
......Enhancements to Existing Motif 1.2.3 Functionality 12
......CDE Motif Libraries 13
......Demo Programs 14
......Related Documentation 14
...Widgets Available for CDE Application Development 15
......CDE Motif Control Widgets 15
......CDE Terminal Widget 18
......Text Editor Widget 19
...Solaris Motif Toolkits 20
......IXI Motif 1.2.2 Toolkit 20

4. Development Environment Transition Issues
23
...Features Exclusive to CDE 23
...OpenWindows Versus Solaris CDE Development Environments 24
......GUI Application Builders 24
......Drag and Drop 25
......ToolTalk Messaging 25
......Typing 26
......Help 26
......Internationalization 28
......Fonts 28

5. Toolkit Transition Issues
31
...OPEN LOOK Versus CDE Motif Toolkits 31
......Features Only in the OPEN LOOK User Interface 32
......Features Only in the CDE Motif User Interface 32
......Notable Implementation Differences Between Toolkits 33
...XView Libraries Versus CDE Motif Libraries 35
......Terminology 35
......OPEN LOOK Versus Motif Toolkit Architecture 36
......Programming Model 36
......Differences Between XView and CDE Motif 38
......X Resources 39
......External Files 39
...OLIT Libraries Versus CDE Motif Libraries 39
......Routines Only in OLIT Library 39
......Routines Only in CDE Motif Libraries 40
......Widgets 40

6. Porting Issues and Ideas
45
...Elements of Migrating 46
...Do You Need to Port? 46
......Basic Integration 46
...If You Decide to Port 47
......Benefits of Porting 47
......Integrating into the Solaris CDE Environment 48
...Start Small 49
......Convert and Clean Up 49
......Use Application Builder 49
...Architectural Impact 50
......GUI and Internals 50
......Static Versus Dynamic Layout 51
......Study the Target Environment 52
......GUI Development Tools 53
...Use Transition Tools 53
......Tools to Transition to Motif 54
......Tools to Transition to the Solaris CDE Desktop 54
...Use Existing Code 55
......Application Builder 55
......Demo Code 55
...Tips 56
......Floating Menus 56
......Colormap Behavior 56
...Summary: Things to Keep in Mind 57

7. Porting Example: OPEN LOOK to CDE Motif
59
...OpenWindows 3.4 Snapshot Application 60
...Convert 61
...Clean Up 62
......Consider CDE Style Guidelines 62
......Other Design Considerations 63

A. CDE Motif Packaging
65

B. Internationalization and CDE
67
...Ensure Correct CDE NLS Environment 68
...Message Catalog Functions 68
...Locale Announcement 68
...Character Strings and XmStrings 68
......To Convert from Character String to XmString 68
......To Convert from XmString to Character String 69
...Include app-defaults File 69
...Localize Motif Resources 69
...Deliver Message Catalog 70
......CDE and gencat 70
.......msg Files 70
.......cat Files 70
...Fonts 70

C. Solaris 2.5 Motif Window Manager
71
...Setting Up the Motif Environment 72
...Setting Motif Window Manager as the Default 72
...Enabling Quit on the Workspace Menu 73
...Enabling Drag and Drop for the Motif Window Manager 73

D. Recommended Reading
75
...CDE Documentation 76
......Development Environment 76
......Run-time Environment 76
...ToolTalk Documentation 76
...Motif 1.2.3 Documentation 77
...OPEN LOOK to CDE Motif Transition 78
...Graphical User Interfaces 78
...Motif Programming 79
...OPEN LOOK Programming 79
...Xt/XLib Programming 80

Index
81