home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.3 Development Libraries / SGI IRIX 6.3 Development Libraries.iso / dist / dist6.3 / ViewKit_dev.idb / usr / share / src / ViewKit / README.z / README
Encoding:
Text File  |  1996-09-20  |  2.6 KB  |  116 lines

  1. This directory contains example programs that use ViewKit. Look at each
  2. sub-directory for details on the demos. 
  3.  
  4. The directories are:
  5.  
  6. Basic
  7. ======
  8.  
  9. Simple programs that demo the core functionality of the viewkit.
  10.  
  11. CutPasteDragDrop
  12. ================
  13. Demo program for the ViewKit support for cut & paste, and drag & drop.
  14.  
  15. Preferences
  16. ===========
  17.  
  18. Demo programs for the preference panel facilities.
  19.  
  20. Communication
  21. =============
  22.  
  23. Demo programs for the ViewKit tooltalk support
  24.  
  25. Icons
  26. =======
  27.  
  28. Some demos of how to create icons using XPM and the viewkit support.
  29.  
  30. Process
  31. ========
  32.  
  33. Demos of various classes that support subprocesses.
  34.  
  35. ComponentDemos
  36. ==============
  37.  
  38. Demos of some ViewKit components.
  39.  
  40. Components
  41. ==========
  42.  
  43. Demos of custom components
  44.  
  45. Utilities
  46. ==========
  47.  
  48. Demos of various viewkit utility functions and classes.
  49.  
  50. Dialogs
  51. ========
  52.  
  53. Some examples ofm how to use the viewkit dialog manager facilities.
  54.  
  55. Menus
  56. =====
  57.  
  58. Demo programs that use the ViewKit menu package.
  59.  
  60. ProgrammersGuide
  61. ============
  62.  
  63. Source to the examples described in the ViewKit Programmer's Guide.
  64.  
  65. QuickHelp
  66. ============
  67.  
  68. A demo program that illustrates features of the VkSimpleWindow quick help
  69. facility.  (I.e. message line help and popup help.)
  70.  
  71.  
  72. Applications
  73. ============
  74.  
  75. Some larger ViewKit demos
  76.  
  77.  
  78. Building the ViewKit demos for different N32 or 64-bit
  79. ======================================================
  80.  
  81. The demo Makefiles use /usr/include/make/common*.  As of this writing
  82. (3/96), commondefs forces the default to be mips2, 32 bits, for all
  83. machines.  The easiest way to override this is to execute the Makefile
  84. with your environment containing OBJECT_STYLE set.
  85.  
  86. For either N32 or 64-bit, your machine may be set up for either mips3 or
  87. mips4 libraries.  For optimal performance, you should build the same way.
  88. You can tell which is the case for your machine by running the appropriate
  89. one of the following commands (just cut-and-paste it), and setting
  90. OBJECT_STYLE apropriately:
  91.  
  92. For an N32 build, enter:
  93.   ls -l /usr/lib32 | sed -n '/-> mips[0-9]\//s/.* -> \(mips[0-9]\)\/.*/\1/p'
  94.  
  95.   if most, or all, of the output says mips3, then
  96.     setenv OBJECT_STYLE N32_M3
  97.  
  98.   if most, or all, of the output says mips4, then
  99.     setenv OBJECT_STYLE N32_M4
  100.  
  101. For a 64-bit build, enter:
  102.   ls -l /usr/lib64 | sed -n '/-> mips[0-9]\//s/.* -> \(mips[0-9]\)\/.*/\1/p'
  103.  
  104.   if most, or all, of the output says mips3, then
  105.     setenv OBJECT_STYLE 64_M3
  106.  
  107.   if most, or all, of the output says mips4, then
  108.     setenv OBJECT_STYLE 64_M4
  109.  
  110. Alternatively, you can do one of:
  111.  
  112.     * env OBJECT_STYLE=N32_M3 make ...
  113.     * env OBJECT_STYLE=N32_M4 make ...
  114.     * env OBJECT_STYLE=64_M3  make ...
  115.     * env OBJECT_STYLE=64_M4  make ...
  116.