VtListAddItem(VTCL)
VtListAddItem --
add item(s) to List
Synopsis
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.)
Return values
If VtListAddItem fails,
it returns one of the following error messages:
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 Developing Visual Tcl applications.
02 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005