DXmSvnPositionDisplay(3X)DXmSvnPositionDisplay(3X)NAME
DXmSvnPositionDisplay - Displays a specified entry.
SYNOPSIS
int DXmSvnPositionDisplay(
Widget widget,
int entry,
int position );
PARAMETERS
The identifier (widget ID) of the SVN widget. An integer that represents the number of the entry. The position of the entry, indicated by
one of the following values:
---------------------------------------------------------------
Value Description
---------------------------------------------------------------
DXmSvnKpositionBottom The entry is positioned at the
bottom of the display.
DXmSvnKpositionTop The entry is positioned at the
top of the display.
DXmSvnKpositionMiddle The entry is positioned in the
middle of the display.
DXmSvnKpositionPreviousPage The entry is positioned on the
page (display) of entries previ-
ously displayed.
DXmSvnKpositionNextPage The entry is positioned on the
page (display) of entries to be
displayed next.
---------------------------------------------------------------
DESCRIPTION
The DXmSvnPositionDisplay routine ensures that the entries being displayed contain a specified entry. This routine allows the application
to position a particular entry at the top, middle, or bottom of the display regardless of the number of entries being displayed.
RETURN VALUES
An integer that returns as 1 (True). The routine returns a value of 0 (False) only when the specified position of the entry is SvnPosi-
tionNextPage and the user is already at the bottom of the page (display).
DXmSvnPositionDisplay(3X)
Check Out this Related Man Page
DXmSvnSetEntry(3X)DXmSvnSetEntry(3X)NAME
DXmSvnSetEntry - Provides the SVN widget with new entry level information.
SYNOPSIS
void DXmSvnSetEntry(
Widget widget,
int entry,
int width,
int height,
int number,
Boolean sens,
XtPointer tag,
Boolean index );
PARAMETERS
The identifier (widget ID) of the SVN widget. An integer that represents the number of the entry for which information will be set or
changed. An integer that represents the width of the entry. This value is used to allocate sufficient display space for the entry. If 0
is specified, the SVN widget will calculate the width based on the components and font. An integer that represents the height of the
entry. This value is used to allocate sufficient display space for the entry. If 0 is specified, the SVN widget will calculate the height
based on the components and font. An integer that represents the number of components in this entry. A Boolean value that, when True,
makes this entry sensitive (the user can select it). When False, the display for that entry will be dimmed to indicate that the entry is
not sensitive (the user cannot select it). The value that the application will associate with the entry. This value is returned in all
callbacks that set the entry_number field in the DXmSvnCallback structure. A Boolean value that, when True, indicates that all of the
entries being added should be displayed in the scroll index window when the user drags the slider. Note that if you set this argument to
True, the DXmNliveScrolling resource must be set to False.
DESCRIPTION
The DXmSvnSetEntry routine enables an application to respond to a DXmSvnCRGetEntry callback requesting the information for an entry. You
can specify a subset of the information allowed on this call by using the following routines: DXmSvnSetEntryNumComponents DXmSvnSetEntryTag
DXmSvnSetEntryIndexWindow DXmSvnSetEntrySensitivity DXmSvnSetEntry
Make this call in your application between calls to DXmSvnDisableDisplay and DXmSvnEnableDisplay. After making a call to this routine,
your application should call the DXmSvnSetComponentText, DXmSvnSetComponentPixmap, and DXmSvnSetComponentWidget routines to individually
supply the component information.
Note that if your application calls the DXmSvnSetEntry routine to modify an existing entry and the number of entries changes, all previous
component information is discarded.
DXmSvnSetEntry(3X)