DtComboBoxSetItem(3)

DtComboBoxSetItem - set an item in the DtComboBox list

As shipped in IRIX 6.5.22. Added in IRIX 6.5.19.

     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 .