DOKK / manpages / debian 12 / libmotif-dev / XmListItemExists.3.en
XmListItemExists(3) Library Functions Manual XmListItemExists(3)

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

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

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

Specifies the ID of the List widget
Specifies the item whose presence is checked

For a complete definition of List and its associated resources, see XmList(3).

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

XmList(3).