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

# XmListItemExists(3)

A List function that checks if a specified item is in the list

## NAME

**XmListItemExists** — A List function that checks if a specified item is in the list

## SYNOPSIS

```
#include <Xm/List.h>
Boolean XmListItemExists(
Widget widget,
XmString item);
```

## DESCRIPTION

**XmListItemExists** is a Boolean function that checks if a specified item is present in the list.

- *widget*

  Specifies the ID of the List widget

- *item*

  Specifies the item whose presence is checked

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

## RETURN

Returns True if the specified item is present in the list.

## RELATED

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