DtComboBoxSetItem(3)
NAME
DtComboBoxSetItem − set an item in the DtComboBox list
SYNOPSIS
#include <Dt/ComboBox.h>
void DtComboBoxSetItem(Widget w,
XmString item);
DESCRIPTION
The DtComboBoxSetItem() function selects an item in the XmList of the given DtComboBox widget and makes it the first visible item in the list.
The w argument specifies the DtComboBox widget ID.
The item argument specifies the XmString for the item to be set in the DtComboBox. If the item is not found on the list, DtComboBoxSetItem() notifies the user via the XtWarning() function.
RETURN VALUE
The DtComboBoxSetItem() function returns no value.
SEE ALSO
DtComboBox(3X), DtComboBoxAddItem(3X), DtComboBoxDeletePos(3X), DtComboBoxSelectItem(3X); XtWarning(3X). in the .
SunOS 1.0.1 — Last change: 15 Jun 1994