DOKK / manpages / debian 11 / libmotif-dev / XmComboBoxSelectItem.3.en
XmComboBoxSelectItem(3) Library Functions Manual XmComboBoxSelectItem(3)

XmComboBoxSelectItem — select a XmComboBox item

#include <Xm/ComboBox.h>
void XmComboBoxSelectItem(
Widget w,
XmString item);

The XmComboBoxSelectItem function selects an item in the XmList of the XmComboBox widget.

The w argument specifies the XmComboBox widget ID.

The item argument specifies the XmString of the item to be selected. If the item is not found on the list, XmComboBoxSelectItem notifies the user via the XtWarning function.

The XmComboBoxSelectItem function returns no value.

XmComboBoxAddItem(3), XmComboBoxDeletePos(3), XmComboBoxSetItem(3); XtWarning(3). in the CAE Specification, Window Management: X Toolkit Intrinsics.