VtListDeselectItem(VTCL)


VtListDeselectItem -- deselect item(s) from List

Synopsis

VtListDeselectItem list_widgetName [options]

Description

Deselects one or more items from a List.

Options


-all (NA)
Deselects the entire List.

-item string (C)
Deselects a List item.

-itemList list (C)
Deselects a list of items.

-notify (NA)
Calls the -callback for the selected item.

-position integer (NA)
Specifies the position of the item to deselect. (The base position is 1. To indicate the last item on the List, use 0.)

-positionList integer list (NA)
Specifies a list of positions to deselect.

Return values

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

INVALID_POSITION
the position value is outside the List range

NEED_OPTION
no option was specified

NO_FIELD
couldn't find the referenced field

NOT_LIST
referenced widget is not a List

OPTION_COUNT
too many or too few options specified

RECORD_COUNT
number of records specifed exceeds number of available records

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