[ Previous | Next | Contents | Glossary | Home | Search ]
Motif 2.1 Programmer's Reference


XmListUpdateSelectedList

A List function that updates the XmNselectedItems resource

Format

#include <Xm/List.h>
void XmListUpdateSelectedList
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 (3).

RELATED

XmList (3).


[ Previous | Next | Contents | Glossary | Home | Search ]