| |
Preface | xiii |
1. Introduction | 1 |
| ...Devguide and GXV | 1 |
| ...Names and Terminology | 2 |
| ...What You Need to Run GXV and Devguide | 2 |
| ...Installing GXV and Devguide | 2 |
| ...How You Interact with Devguide and GXV | 2 |
2. Getting Started with GXV | 5 |
| ...Creating an Application with GXV | 5 |
| ...Designing an Interface in Devguide | 6 |
| ......Handling Events with Connections | 7 |
| ...Using the Code Generator Tool | 8 |
| ......Using the File... Button | 10 |
| ......Using the Properties Window | 10 |
| ......GXV Options | 12 |
| |
| ......Internationalization Options | 13 |
| ......Applying Changes | 14 |
| ...Generating XView Code from Devguide GIL Files | 14 |
| ......GXV-Generated Files | 14 |
| ...Compiling and Testing Interface Code | 15 |
| ...Integrating Application Code with GXV Interface Code | 16 |
| ......Referencing Interface Objects in GXV | 16 |
| ...Regenerating Code for a Modified Interface | 17 |
| ...A Simple Example | 17 |
3. GXV Tutorial | 23 |
| ...Building the Interface | 24 |
| ......Creating a Directory for GIL and Project Files | 25 |
| ......Creating the Base Window Interface | 26 |
| ......Creating a Menu | 33 |
| ......Creating the Pop-up Window Interface | 34 |
| ......Creating and Saving a Project | 37 |
| ......Setting Up Connections | 38 |
| ...Experimenting with Test Mode | 41 |
| ...Generating Interface Source Code | 42 |
| ...Creating Custom Code Using GXV Files | 43 |
| ......Customizing the tutorial.c File | 43 |
| ......Customizing the tutorial.h File | 44 |
| ......Customizing the tutorial_popup_stubs.c File | 45 |
| ......Customizing the tutorial_main_stubs.c File | 45 |
| |
| ......Color Chooser (gcc) | 65 |
| ......Colormap Handler (gcm) | 67 |
| ......Drag and Drop Interface (gdd) | 68 |
| ......Group Package | 77 |
| ...Additional Programmer's Tips | 88 |
| ......Using Stubs Merge | 88 |
| ......Enabling and Disabling Menu Items | 89 |
| ......Tying a Pop-Up Window to a Button | 90 |
A. Files Provided with GXV | 91 |
| ......bin Subdirectory | 91 |
| ......demo Subdirectory | 91 |
| ......include Subdirectory | 92 |
| ......lib Subdirectory | 92 |
| ......lib/templates Subdirectory | 93 |
| ......man Subdirectory | 93 |
| ......src Subdirectory | 93 |
| ......doc Subdirectory | 93 |
B. Internationalization | 95 |
| ...Levels of Internationalization | 96 |
| ......Level 1--Text and Codesets | 96 |
| ......Level 2--Formats and Collation | 96 |
| ......Level 3--Messages and Text Presentation | 96 |
| ......Level 4--Asian Language Support | 97 |
| ...Basic Internationalization Tools | 97 |
| |
| ......Text Databases (Text Domains) | 97 |
| ......gettext() and dgettext() Routines | 98 |
| ......Portable Object and Message Object Files | 98 |
| ......xgettext and msgfmt Utilities | 99 |
| ...Internationalization Using Devguide | 99 |
| ......Text Translation | 100 |
| ......Size and Position of Elements | 100 |
| ......Options to GXV | 101 |
| ...From Internationalization to Localization | 104 |
| ...Localization Using Devguide | 104 |
| ......Options to GXV | 105 |
| ...Other Internationalization Assistance | 105 |
| ......Positioning Objects Explicitly | 105 |
| ......gmomerge Utility | 105 |
| ...Conclusions | 106 |
Index | 107 |