VtListAddItem(1vtcl)
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.
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004