Index Click this button to go to the index for this section.


DXmSvnSetComponentWidget(3X)

NAME

DXmSvnSetComponentWidget - Adds an SVN subwidget component to an entry.

SYNOPSIS

void DXmSvnSetComponentWidget (widget, entry, comp_number, x, y, subw) Widget widget; int entry; int comp_number; int x; int y; Widget subw;

PARAMETERS

widget The identifier (widget ID) of the SVN widget. entry An integer that represents the entry number that this component belongs to. comp_number An integer that represents the component number within the entry. x An integer that represents the x offset within the entry where this component should be placed. y 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.) subw The identifier (widget ID) of the subwidget. This subwidget will be a managed child of the SVN widget.

DESCRIPTION

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.