DXmSvnSetComponentText(3X) — Subroutines
NAME
DXmSvnSetComponentText − Adds a read-only component string to an entry.
SYNOPSIS
void DXmSvnSetComponentText(
Widget widget,
int entry,
int comp_number,
int x,
int y,
XmString text,
XmFontList font );
PARAMETERS
widget
The identifier (widget ID) of the SVN widget.
entry
An integer that represents the number of the entry that this component belongs to.
comp_number
An integer that represents the component number within the entry.
xAn integer that specifies the x position of the component within the entry.
yAn integer that specifies the y position of the component within the entry. (Note that if you want the SVN widget to automatically create a layout of the entry for you, set the value of this parameter to 0.)
textA compound string.
fontA valid XmFontList.
DESCRIPTION
The DXmSvnSetComponentText routine sets a component of an entry to be a read-only compound string. Make this call in your application between calls to DXmSvnDisableDisplay and DXmSvnEnableDisplay. If your application passes 0 for the value of the y offset, the SVN widget will automatically create a layout of the entry.