DOKK / manpages / debian 10 / libmotif-dev / XmListUpdateSelectedList.3.en
XmListUpdateSelectedList(3) Library Functions Manual XmListUpdateSelectedList(3)

XmListUpdateSelectedList — A List function that updates the XmNselectedItems resource "XmListUpdateSelectedList" "List functions" "XmListUpdateSelectedList"

#include <Xm/List.h>
void XmListUpdateSelectedList(
Widget widget);

XmListUpdateSelectedList frees the contents of the current XmNselectedItems list. The routine traverses the XmNitems list and adds each currently selected item to the XmNselectedItems list. For each selected item, there is a corresponding entry in the updated XmNselectedItems list.

Specifies the ID of the List widget to update

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

XmList(3).