DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

VtSeparator(1vtcl)


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.

25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004