VtSeparator(VTCL)

VtSeparator(VTCL)


VtSeparator -- create horizontal or vertical line, return widget name

Syntax

VtSeparator object_name [options]

Description

Creates a Separator widget (a horizontal or vertical line). This is typically used to separate other widgets. Returns the separator widget's name.

For example, to create a separator which goes from the left to right side across a form:

VtSeparator $form.sep -leftSide FORM -rightSide FORM 

Options

-horizontal (CS)
Sets the orientation to horizontal.

-length int (CS)
Sets the length of the separator (specified in number of characters) to int in character mode. In graphical mode, set the length of the separator to int times the maximum font width.

-vertical (CS)
Sets the orientation to vertical.

See also