VtDrawnListSetItemValues


Set the values of items in a DrawnList

Syntax

VtDrawnListSetItemValues drawnlist_widgetName [options]

Description

Sets the values of options for a specified item within a DrawnList. Currently, -overrideFont and -itemBorder are the only options available to set.

Options

-field column matchStr (NA)
Sets the value of an option for the item in which item number column matches the string matchStr. For example, if your list contains:
{0 1 "Apple"}
{0 1 "Orange"}  
{0 1 "Kumquat"}

specifying -field 2 "Kumquat" would match the last item in the list.

-itemBorder NONE | ONOFFDASH | DOUBLEDASH | SOLID (CS)
Specifies the type of border to display around a DrawnList item.

-overrideFont string (CS)
Specifies the font used to display a DrawnList item. Symbolic font names are defined in the IXI Visual Tcl application resource file.

-position integer (NA)
Sets the value of an option for the item at position integer in the DrawnList. The base position is 1. To indicate the last item on the list, use 0.