DXmSvnSetComponentText(3X) — Subroutines
Digital
NAME
DXmSvnSetComponentText − Adds a read-only component string to an entry.
SYNOPSIS
void DXmSvnSetComponentText (widget, entry, comp_number,
x, y, text, font)
Widget widget;
int entry;
int comp_number;
int x;
int y;
XmString text;
XmFontList font;
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.
Arguments
widgetThe identifier (widget ID) of the SVN widget.
entryAn 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 argument to 0.)
textA compound string.
fontA valid XmFontList.