Next: List basics Up: List Widgets Previous: List Widgets

List selection modes

Four types of selection are available. The List resource XmNselectionPolicy must be set accordingly:

Single
- XmSINGLE_SELECT (defined in <Xm/List.h>). Only one item may be selected.
Browse
- XmBROWSE_SELECT. Similar to Single selection, except a default selection can be provided and user interaction may vary.
Multiple
- XmMULTIPLE_SELECT. More than one item may be selected. A mouse click on a item will select it. If you click on an already selected item it will be deselected.
Extended
- XmEXTENDED_SELECT. Like Multiple selection. Here if you can drag the mouse over a number of items to select them.


Dave.Marshall@cm.cf.ac.uk
Tue May 24 16:52:56 BST 1994