DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

VtListGetSelectedItem(VTCL)


VtListGetSelectedItem -- return positions of selected items in a List

Synopsis

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}

Return values

If VtListGetSelectedItem fails, it returns one of the following error messages:

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 Developing Visual Tcl applications.

02 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005