home *** CD-ROM | disk | FTP | other *** search
- This directory contains example programs that use ViewKit. Look at each
- sub-directory for details on the demos.
-
- The directories are:
-
- Basic
- ======
-
- Simple programs that demo the core functionality of the viewkit.
-
- CutPasteDragDrop
- ================
- Demo program for the ViewKit support for cut & paste, and drag & drop.
-
- Preferences
- ===========
-
- Demo programs for the preference panel facilities.
-
- Communication
- =============
-
- Demo programs for the ViewKit tooltalk support
-
- Icons
- =======
-
- Some demos of how to create icons using XPM and the viewkit support.
-
- Process
- ========
-
- Demos of various classes that support subprocesses.
-
- ComponentDemos
- ==============
-
- Demos of some ViewKit components.
-
- Components
- ==========
-
- Demos of custom components
-
- Utilities
- ==========
-
- Demos of various viewkit utility functions and classes.
-
- Dialogs
- ========
-
- Some examples ofm how to use the viewkit dialog manager facilities.
-
- Menus
- =====
-
- Demo programs that use the ViewKit menu package.
-
- ProgrammersGuide
- ============
-
- Source to the examples described in the ViewKit Programmer's Guide.
-
- QuickHelp
- ============
-
- A demo program that illustrates features of the VkSimpleWindow quick help
- facility. (I.e. message line help and popup help.)
-
-
- Applications
- ============
-
- Some larger ViewKit demos
-
-
- Building the ViewKit demos for different N32 or 64-bit
- ======================================================
-
- The demo Makefiles use /usr/include/make/common*. As of this writing
- (3/96), commondefs forces the default to be mips2, 32 bits, for all
- machines. The easiest way to override this is to execute the Makefile
- with your environment containing OBJECT_STYLE set.
-
- For either N32 or 64-bit, your machine may be set up for either mips3 or
- mips4 libraries. For optimal performance, you should build the same way.
- You can tell which is the case for your machine by running the appropriate
- one of the following commands (just cut-and-paste it), and setting
- OBJECT_STYLE apropriately:
-
- For an N32 build, enter:
- ls -l /usr/lib32 | sed -n '/-> mips[0-9]\//s/.* -> \(mips[0-9]\)\/.*/\1/p'
-
- if most, or all, of the output says mips3, then
- setenv OBJECT_STYLE N32_M3
-
- if most, or all, of the output says mips4, then
- setenv OBJECT_STYLE N32_M4
-
- For a 64-bit build, enter:
- ls -l /usr/lib64 | sed -n '/-> mips[0-9]\//s/.* -> \(mips[0-9]\)\/.*/\1/p'
-
- if most, or all, of the output says mips3, then
- setenv OBJECT_STYLE 64_M3
-
- if most, or all, of the output says mips4, then
- setenv OBJECT_STYLE 64_M4
-
- Alternatively, you can do one of:
-
- * env OBJECT_STYLE=N32_M3 make ...
- * env OBJECT_STYLE=N32_M4 make ...
- * env OBJECT_STYLE=64_M3 make ...
- * env OBJECT_STYLE=64_M4 make ...
-