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

XmMultiListSelectItems — A MultiList function that selects items in the list by matching column entries "XmMultiListSelectItems" "List functions" "XmMultiListSelectItems"

#include <Xm/MultiList.h>
void XmMultiListSelectItems(
Widget widget,
XmString item,
int column,
Boolean notify);

XmMultiListSelectItems highlights rows in the list where column number column matches item.

Specifies the ID of the MultiList widget from whose list an item is selected.
Specifies XmString to use as selection key.
Specifies a column number (starting from 0) to match, or XmANY_COLUMN for looking for any column.
Specifies a Boolean value that when TRUE invokes the selection callback for the current mode. From an application interface view, calling this function with notify True is indistinguishable from a user-initiated selection action. When notify is FALSE, no callbacks are called.

For a complete definition of MultiList and its associated resources, see XmMultiList(3).

XmMultiList(3) and XmMultiListGetSelectRows(3).