Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dxmsvnsetentry(3x) [osf1 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)

Check Out this Related Man Page

DXmSvnGetDisplayed(3X)													    DXmSvnGetDisplayed(3X)

NAME
DXmSvnGetDisplayed - Retrieves (returns) displayed entry numbers and related information necessary to draw a corresponding display. SYNOPSIS
void DXmSvnGetDisplayed( Widget widget, int *entries(), XtPointer *tags(), int *ys(), int len ); PARAMETERS
The identifier (widget ID) of the SVN widget. A pointer to an array of integers to receive the entry numbers of the entries being dis- played. A pointer to an array of longwords to receive the application's entry_tag value for each entry displayed. If tags are not required, a Null pointer may be passed. A pointer to an array of longwords to receive the y coordinates for each entry displayed. If y coordinates are not required, a Null pointer can be passed. The number of entries allocated in the provided array. DESCRIPTION
The 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). The application is responsible for managing the memory used to return this list of entries. As such, note the following: At the minimum, the number of entries in the array should be capable of holding at least the number of entries indicated by the value returned from the DXmSvnGetNumDisplayed routine. If there are more entries in the array than the application will need, the SVN widget will set the value for those extra entries to 0. If the capacity of the arrays passed is less than the number of selected entries, only the number of entries allocated in the provided array (the value for len) will be returned. DXmSvnGetDisplayed(3X)
Man Page