Content-type: text/html
DXmSvnSetComponentWidget - Adds an SVN subwidget component to an entry.
void DXmSvnSetComponentWidget(
Widget widget,
int entry,
int comp_number,
int x,
int y,
Widget subw
);
The identifier (widget ID) of the SVN widget.
An integer that represents the entry number that this component
belongs to.
An integer that represents the component number within the
entry.
An integer that represents the
x
offset
within the entry where this component should be placed.
An integer that represents the
y
offset
within the entry where this component should be placed. (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.)
The identifier (widget ID) of the subwidget. This subwidget
will be a managed child of the SVN widget.
The DXmSvnSetComponentWidget routine sets a component of an entry to be a subwidget, which enables an application to put read-write text or a push button in an entry. The application is responsible for creating this subwidget and destroying it when the entry is deleted. If your application passes 0 for the value of the y offset, the SVN widget will automatically create a layout of the entry.