XmComboBoxSetItem - Man Page

set an item in the XmComboBox list

Synopsis

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

Description

The XmComboBoxSetItem function selects an item in the XmList of the given XmComboBox widget and makes it the first visible item in the list​.

The w argument specifies the XmComboBox widget ID​.

The item argument specifies the XmString for the item to be set in the XmComboBox​. If the item is not found on the list, XmComboBoxSetItem notifies the user via the XtWarning function​.

Return Value

The XmComboBoxSetItem function returns no value​.

See Also

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

Referenced By

XmComboBoxAddItem(3), XmComboBoxDeletePos(3), XmComboBoxSelectItem(3).