VxList(VTCL)

VxList(VTCL)


VxList -- create a list allowing titles and labels, return widget name

Syntax

VxList object_name [-title title ] [-label label ] VtListArgs

Description

Creates a VtList, allowing -title and -label.

Options

object_name
Widget hierarchy of list.

-title
Creates a form around the list widget and attaches a label above it. The label is attached to the top side of the form. The list widget is attached to left, right and bottom side of the form and also to the bottom side of the label.

-label
Creates a form around the list widget and attaches a label to the left side of it. The label is attached to the top and bottom of the form. The list widget is attached to the right, top and bottom side of the form.

VtListArgs
Any argument(s) legal for VtList.

Notes

Returns the widget name of the list created. To get the widgetName of the label or form that is created using this command use VxGetVar. For example:
VxGetVar $widgetName "form"
or
VxGetVar $widgetName "label"