list-widget-get-index

Function

Package: common-graphics

Arguments: list-widget

Returns the index of the selected item in list-widget. Zero indicates the top item in the list. If no item is selected, nil is returned. If the widget is a multi-item-list, then a list of the selected values is returned, or nil if no items are selected.

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.