DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

VtListGetSelectedItem(VTCL)


VtListGetSelectedItem -- return positions of selected items in a List

Syntax

VtListGetSelectedItem list_widgetName [options]

Description

Gets the list of selected items from a List. By default, the items are returned by PositionList. Only one option may be specifed at one time.

Options


-byItemList (NA)
Specifies that a list of selected items is to be returned. For example:
{{item 1} {item 2}}

-byPositionList (NA)
Sets the routine to return items by List position; for example:
{1 2}

Errors


NOT_LIST
referenced widget is not a List

OPTION_COUNT
too many or too few options specified

Standard errors
See ``Tcl widget creation errors'' in SCO Visual Tcl Programmer's Guide and Reference.

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003