DtSpinBoxSetItem(3)

NAME
DtSpinBoxSetItem - set an item in the DtSpinBox list

SYNOPSIS
#include <Dt/SpinBox.h>

void DtSpinBoxSetItem(Widget w,
	XmString item);

DESCRIPTION
The DtSpinBoxSetItem() function selects an item in the list of the given DtSpinBox widget and makes it the current value.

The w argument specifies the widget ID.

The item argument specifies the XmString for the item to be set in the DtSpinBox. If the item is not found on the list, DtSpinBoxSetItem() notifies the user via the XtWarning() function.

RETURN VALUE
The DtSpinBoxSetItem() function returns no value.

SEE ALSO
DtSpinBox(3X), DtSpinBoxAddItem(3X), DtSpinBoxDeletePos(3X); XtWarning(3X). in the .