List of Examples
| Table of Contents | List of Figures | List of Examples | List of Tables |
- Example 1-1. The Simplest ViewKit Program: hello.c++
- Example 2-1. Example of a Component Constructor
- Example 2-2. Freeing Space in a Component Destructor
- Example 2-3. Component Constructor with Xt Callbacks
- Example 2-4. Initializing a Data Member from the Resource Database
- Example 2-5. Setting a Component's Default Resource Values
- Example 2-6. Using the Predefined deleteCallback ViewKit Callback
- Example 2-7. A Simple User-Defined Component
- Example 2-8. Example of Using a Component Directly
- Example 2-9. Example of Subclassing a Component
- Example 3-1. Typical Use of VkApp in a ViewKit Program
- Example 3-2. Example of Creating an Animated Busy Cursor
- Example 3-3. Using Busy States in a ViewKit Application
- Example 3-4. Example of Animating the Busy Cursor
- Example 3-5. Temporarily Installing an Interruptible Busy Dialog
- Example 3-6. Deriving a Subclass from VkApp
- Example 4-1. Example of Creating a Window Interface in the Class Constructor
- Example 4-2. Using a Component as a Window's View
- Example 4-3. Example of Creating a Window's Interface in the setUpInterface() Function
- Example 4-4. Example of Adding a View to a Direct Instantiation of a ViewKit Window Class
- Example 4-5. Setting Window and Icon Titles Using Resource Values
- Example 4-6. Example of Creating a Window Subclass
- Example 5-1. Providing Default Client Data When Using Static Menu Descriptions
- Example 5-2. Example of Creating a Menu Bar Using a Static Description
- Example 5-3. Example of Creating a Menu Bar Dynamically
- Example 5-4. Example of Manipulating Menu Items
- Example 5-5. Example of Using a VkRadioSubMenu Object
- Example 5-6. Example of Using a VkOptionMenu Object
- Example 5-7. Example of Using a VKPopupMenu Object
- Example 6-1. Adding a Non-Menu Item Directly to the Undo Stack
- Example 6-2. Example of Using the Undo Manager
- Example 7-1. Example of Posting a Dialog
- Example 7-2. Example of Posting an Information Dialog
- Example 7-3. Example of Using the Interruptible Busy Dialog
- Example 7-4. Extracting the Text String from a Prompt Dialog
- Example 7-5. Extracting the Text String from a File Selection Dialog
- Example 8-1. Example of Creating a ViewKit Preference Dialog
- Example 8-2. Setting Default Resource Values for Preference Items
- Example 8-3. Declaring Preference Items as Publicly Accessible
- Example 9-1. Example of Creating a Graph Using VkGraph
- Example 11-1. Code to Create Example Check Box
- Example 11-2. Code to Create Example Radio Box