HP OpenVMS Systems Documentation |
DECwindows Extensions to Motif
DXmSvnAutoScrollCheck
Controls whether the DXmSvnAutoScrollDisplay routine should be called. Format
Return ValueAn integer that indicates whether the DXmSvnAutoScrollDisplay routine will be called, as follows: Arguments
DescriptionThe DXmSvnAutoScrollCheck routine determines whether the cursor is currently in an area where automatic scrolling (initiated when the user moves an entry outside the window) can occur. This routine returns True if the cursor is in such an area and if there are no entries displayed in that direction. The application should call the DXmSvnAutoScrollDisplay routine if this routine returns True. DXmSvnAutoScrollDisplay
Automatically scrolls the screen one unit based on the cursor position. Format
Arguments
DescriptionThe DXmSvnAutoScrollDisplay routine automatically scrolls the screen one unit based on the current cursor location. If the cursor is not in a location that permits automatic scrolling, this call is ignored. DXmSvnClearHighlight
Removes (clears) highlighting from a specified entry. Format
Arguments
DescriptionThe DXmSvnClearHighlight routine removes (clears) highlighting from a specified entry in the structure. If the entry is not currently highlighted, this call is ignored. Make this call in your application between calls to DXmSvnDisableDisplay and DXmSvnEnableDisplay. DXmSvnClearHighlighting
Removes (clears) all highlighting from the entries. Format
Arguments
DescriptionThe DXmSvnClearHighlighting routine removes (clears) all highlighting from all entries in the structure. If there are currently no highlighted entries, this call is ignored. Make this call in your application between calls to DXmSvnDisableDisplay and DXmSvnEnableDisplay. DXmSvnClearSelection
Clears (cancels) the selection of a specified entry. Format
Arguments
DescriptionThe DXmSvnClearSelection routine clears, or cancels, the selection of a particular entry in the structure. If the entry is not currently selected, the call is ignored. Make this call in your application between calls to DXmSvnDisableDisplay and DXmSvnEnableDisplay. DXmSvnClearSelections
Clears all selections. Format
Arguments
DescriptionThe DXmSvnClearSelections routine clears (cancels) all of the entries in the structure. If no entries are currently selected, the call is ignored. (Use the DXmSvnGetSelections, DXmSvnClearSelections, and DXmSvnShowSelections routines when getting, clearing, and showing selections.) Make this call in your application between calls to DXmSvnDisableDisplay and DXmSvnEnableDisplay. DXmSvnDeleteEntries
Deletes entries from the structure. Format
Arguments
DescriptionThe DXmSvnDeleteEntries routine enables an application to process the removal (collapse) of an entry. This routine specifies how many entries to delete and after which entry those deletions should begin. Make this call in your application between calls to DXmSvnDisableDisplay and DXmSvnEnableDisplay. DXmSvnDisableDisplay
Temporarily disables the SVN widget from generating a display. Format
Arguments
DescriptionThe DXmSvnDisableDisplay routine allows your application to make changes to the SVN widget without the user making additional changes. For example, the DXmSvnDisableDisplay routine must be called when the user has selected to either expand or collapse an entry in the structure. No further user actions will be processed (because the SVN widget is temporarily disabled) until that expand or collapse operation has been completed and the DXmSvnEnableDisplay routine has been called (which re-enables the SVN widget and makes the changes visible to the user). DXmSvnEnableDisplay
Reenables the SVN widget. Format
Arguments
DescriptionThe DXmSvnEnableDisplay routine reenables the SVN widget, which then determines whether to update the display (make changes visible to the user) based on activities recorded while the SVN widget was in the disabled mode. These activities can include changes to selections, the addition or deletion of entries, or changes to the appearance of entries. DXmSvnFlushEntry
Displays the specified entry on the screen if it is the next logically displayed entry. Format
Arguments
DescriptionThe DXmSvnFlushEntry routine displays (or "flushes") an entry on the screen (in outline mode only) if the entry number passed to the routine is one integer greater than the entry number of the last displayed entry and there is enough space for the entry to fit in the display. If there is not enough blank space for the entry to fit, DXmSvnFlushEntry permits the SVN widget to scroll to the entry. DXmSvnGetComponentNumber
Retrieves (returns) the component number containing a supplied tag value. Format
Return ValueAn integer that represents the component number. (Returns 0 if the supplied tag value is not found.) Arguments
DescriptionThe DXmSvnGetComponentNumber routine is called whenever the application requires the component number that is associated with a particular tag value. If the specified tag value is not found, then a value of 0 is returned. DXmSvnGetComponentTag
Retrieves (returns) a component tag for a specified component number. Format
Return ValueAn integer that represents the tag value (returns 0 if the component tag has not been set). Arguments
DescriptionThe DXmSvnGetComponentTag routine retrieves (returns) a component tag for a specified component number whenever the application requires that information. You can set the value for this tag by using the DXmSvnInsertComponent or DXmSvnSetComponentTag routine. DXmSvnGetComponentText
Retrieves (returns) the address of a compound string. Format
Return ValueA pointer to the compound string. Arguments
DescriptionThe DXmSvnGetComponentText routine returns the address of a compound string that was previously stored from a call to the DXmSvnSetComponentText routine. DXmSvnGetComponentWidth
Retrieves (returns) the width of a specified component. Format
Return ValueAn integer that represents the width of the component. Arguments
DescriptionThe DXmSvnGetComponentWidth routine is called whenever the application requires the component width that is associated with a particular component number. You can set the value for the width by using the DXmSvnInsertComponent or DXmSvnSetComponentWidth routine. Note that the SVN widget automatically increases the width field whenever it encounters a component that is wider than the current width value. DXmSvnGetDisplayed
Retrieves (returns) displayed entry numbers and related information necessary to draw a corresponding display. Format
Arguments
DescriptionThe DXmSvnGetDisplayed routine returns information about the entries that the SVN widget is currently displaying. This information can then be used to keep a simultaneous display up to date with the SVN widget window (in the case of a dialog box, for example, which might contain totals for the entries being displayed). DXmSvnGetEntryLevel
Retrieves (returns) the level of an entry in the display. Format
Return ValueAn integer that represents the entry level. Arguments
DescriptionThe DXmSvnGetEntryLevel routine is called whenever the application requires the level number for a given entry number. DXmSvnGetEntryNumber
Retrieves (returns) an entry number for a specified entry tag value. Format
Return ValueAn integer that represents the entry number (returns 0 if the entry tag value does not correspond to any entry number). Arguments
DescriptionThe DXmSvnGetEntryNumber routine retrieves (returns) an entry number for a specified entry tag value whenever the application requires that information. See the DXmSvnAddEntries and DXmSvnSetEntry routines for related information. DXmSvnGetEntryPosition
Retrieves (returns) the position of an entry in the display. Format
Arguments
DescriptionThe DXmSvnGetEntryPosition routine allows an application to determine the position of entries. The routine interprets the x- and y-coordinates differently, depending on the application's mode:
|