DECwindows Motif Guide to Application Programming


Previous Contents Index

Chapter 7
7 Using the Print Widget
     7.1     Overview of the Print Widget
     7.2     Print Widget Walk-Through
     7.3     Print Widget Components
     7.4     Print Widget Callbacks
     7.5     Print Widget File-Type Guesser
     7.6     Print Widget Resources
         7.6.1         Suppressing Print Widget Features
         7.6.2         Adding Print Widget Functions
             7.6.2.1             Adding Print Formats
             7.6.2.2             Adding to Option Menus
     7.7     Creating the Print Widget with UIL
     7.8     Creating the Print Widget with a Toolkit Routine
     7.9     Submitting Print Jobs
Chapter 8
8 Using the Compound String Text Widget
     8.1     Overview of the CSText Widget
     8.2     Modifying CSText Widget Resources
         8.2.1         Manipulating the Text Contents of the CSText Widget
             8.2.1.1             Placing a Compound String in a CSText Widget
             8.2.1.2             Retrieving Compound Strings from a CSText Widget
             8.2.1.3             Disabling Text Editing
             8.2.1.4             Limiting the Length of the Text
         8.2.2         Customizing the Appearance of the CSText Widget
             8.2.2.1             Specifying Size
             8.2.2.2             Specifying Margins
             8.2.2.3             Controlling Resizing Behavior
             8.2.2.4             Scroll Bar Positioning
             8.2.2.5             Controlling Text Cursor Appearance
             8.2.2.6             Positioning the Insertion Point
             8.2.2.7             Identifying the Current Writing and Editing Directions
         8.2.3         Multiline Editing in a CSText Widget
         8.2.4         Handling Text Selections
             8.2.4.1             Selecting Text
             8.2.4.2             Retrieving Selected Text
             8.2.4.3             Copy Selected Text to the Clipboard
             8.2.4.4             Pasting Selected Text from the Clipboard
             8.2.4.5             Deleting Selected Text from the Clipboard
             8.2.4.6             Getting Position Information About the Selection
             8.2.4.7             Determining Primary Selection Ownership
             8.2.4.8             Canceling the Selection of Text
         8.2.5         Associating Callbacks with CSText Widgets
     8.3     Conversion Routines
     8.4     Creating CSText Widgets
         8.4.1         Using UIL to Create a CSText Widget
         8.4.2         Using the Toolkit CSText Widget Creation Routine
Chapter 9
9 Using the SVN Widget
     9.1     Overview of the SVN Widget
         9.1.1         Components of an Entry
         9.1.2         Selection Mode
         9.1.3         Tree-Mode Navigation Window
         9.1.4         Location Cursor
         9.1.5         Highlighting Entries
         9.1.6         Editable Text
         9.1.7         Sensitive Entries
         9.1.8         Disabling/Enabling the SVN Widget
         9.1.9         Invalidating the SVN widget
         9.1.10         Outer Scroll Bar Arrows
         9.1.11         Scroll Bar Index Window
     9.2     SVN Widget Programming Considerations
         9.2.1         Creating the Data Hierarchy
             9.2.1.1             Attaching to Data---The DXmSvnNattachToSourceCallback Callback
             9.2.1.2             Understanding the entry_number Field
             9.2.1.3             Getting Information About an Entry
             9.2.1.4             Associating Hierarchy Data with SVN
         9.2.2         Disabling/Enabling the SVN Widget
         9.2.3         Setting the Location Cursor
         9.2.4         Invalidating an Entry
         9.2.5         Setting a Tree Style
         9.2.6         Setting the Display Mode
         9.2.7         Setting an Entry Coordinate Position
         9.2.8         Setting an Entry Position
         9.2.9         Selecting Entries
         9.2.10         Manipulating Entries
         9.2.11         Manipulating Column Mode Entries
         9.2.12         Flushing an Entry
         9.2.13         Manipulating Components
         9.2.14         Highlighting an Entry
         9.2.15         Getting the Displayed Entries
         9.2.16         Dragging an Entry
         9.2.17         Ghosting
         9.2.18         Setting Entry Font Lists
     9.3     Setting Tree-Mode Attributes
         9.3.1         Manipulating Tree Position
         9.3.2         Setting the Tree-Mode Arc Width
         9.3.3         Centering Tree-Mode Components
         9.3.4         Tree-Mode Outlines
         9.3.5         Tree-Mode Entry Shadows
         9.3.6         Tree-Mode Perpendicular Lines
     9.4     Associating Callbacks with an SVN Widget
     9.5     SVN Help Callback
         9.5.1         User-Generated Callbacks
     9.6     Creating an SVN Widget
     9.7     SVN Demo Application


Previous Next Contents Index