---
name: "XmComboBoxSelectItem"
section: "3"
platform: "linux"
package: "openmotif"
version: "2.3.8-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XmComboBoxSelectItem"
---

# XmComboBoxSelectItem(3)

select a XmComboBox item

## NAME

**XmComboBoxSelectItem** — select a XmComboBox item

## SYNOPSIS

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

## DESCRIPTION

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.

## RETURN VALUE

The **XmComboBoxSelectItem** function returns no value.

## SEE ALSO

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