VtSeparator(VTCL)


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

Synopsis

VtSeparator widgetName [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.

Return values

If VtSeparator fails, it returns one of the following error messages:

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