VtFrame(VTCL)

VtFrame(VTCL)


VtFrame -- create frame around single child, return widget name

Syntax

VtFrame object_name [options]

Description

Creates a Frame widget which places a three-dimensional border around a single child. Returns the widget name of the Frame.

The border can have different shadow types in the graphical environment, but in the character mode server it is just a single line.

For example, to create an empty box:

set frame [VtFrame $form.frame -shadowType ETCHED_IN]
set rowcol [VtRowColumn $frame.rowcol ] 
VtLabel $rowcol.lab1 -label "        "

Options

-shadowType IN | OUT | ETCHED_IN | ETCHED_OUT (CSG)
Sets the shadow type of the frame.

-title string (C)
Puts the title at the top of the frame widget. This is not supported in character mode.

See also