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

# XmListAddItemUnselected(3)

A List function that adds an item to the list

## NAME

**XmListAddItemUnselected** — A List function that adds an item to the list

## SYNOPSIS

```
#include <Xm/List.h>
void XmListAddItemUnselected(
Widget widget,
XmString item,
int position);
```

## DESCRIPTION

**XmListAddItemUnselected** adds an item to the list at the given position. The item does not appear selected, even if it matches an item in the current **XmNselectedItems** list.

- *widget*

  Specifies the ID of the List from whose list an item is added.

- *item*

  Specifies the item to be added to the list.

- *position*

  Specifies the position of the new item in the list. A value of 1 makes the new item the first item in the list; a value of 2 makes it the second item; and so on. A value of 0 (zero) makes the new item the last item in the list.

For a complete definition of List and its associated resources, see [**XmList**(3)](/XmList/3.md).

## RELATED

[**XmList**(3)](/XmList/3.md).
