list-widget-set-index

Function

Package: common-graphics

Arguments: list-widget index &optional off-p

Changes the selection status of list-widget's item at the given index. If off-p is true the item will be selected; otherwise it will be deselected.

Returns nil if an error occurs, otherwise returns true.

If list-widget is a multi-item-list and the index that is passed is -1, then all of the items are deselected if off-p is true and are selected if off-p is nil. off-p defaults to nil.

list-widget can be a single-item-list, a multi-item-list, or a combo-box.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.