[Contents] [Index] [Next] [Previous]

XmListUpdateSelectedList


NAME

XmListUpdateSelectedList - A List function that updates the XmNselectedItems resource

SYNOPSIS

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

DESCRIPTION

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.

widget
Specifies the ID of the List widget to update

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

RELATED INFORMATION

XmList(3X).