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

# XmComboBoxDeletePos(3)

Delete a XmComboBox item

## NAME

**XmComboBoxDeletePos** —  Delete a XmComboBox item

## SYNOPSIS

```
#include <Xm/ComboBox.h>
void XmComboBoxDeletePos(
Widget w,
int pos);
```

## DESCRIPTION

The **XmComboBoxDeletePos** function deletes a specified item from a XmComboBox widget.

The *w* argument specifies the XmComboBox widget ID.

The *pos* argument specifies the position of the item to be deleted.

## RETURN VALUE

The **XmComboBoxDeletePos** function returns no value.

## APPLICATION USAGE

The functions **XmComboBoxAddItem** and **XmComboBoxDeletePos** have different naming conventions (Item versus Pos) because of the objects they are manipulating. The Item is a string to be added, the Pos is a numeric position number.

## SEE ALSO

[**XmComboBoxAddItem**(3)](/XmComboBoxAddItem/3.md), [**XmComboBoxSetItem**(3)](/XmComboBoxSetItem/3.md), [**XmComboBoxSelectItem**(3)](/XmComboBoxSelectItem/3.md).
