DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

VtListAddItem(VTCL)


VtListAddItem -- add item(s) to List

Syntax

VtListAddItem list_widgetName [options]

Description

Adds one or more items to a List.

Options


-item string (C)
Sets an item for the List widget.

-itemList list (C)
Sets a list of items for the List widget.

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

Errors


ITEM_AND_LIST
cannot set both -item and -itemList

ITEM_OR_LIST
need to set either -item or -itemList

ITEM_OR_POSITION
need to set either -item or -position

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