VtSet(VTCL)
VtSet --
set value of a widget option
Syntax
VtSet widgetName [options]
VtSetValues widgetName [options]
Description
Used to set the value of a widget option.
The option name used is the same option used in widget creation.
Only options which have an ``S'' next to the option name in the command
reference can be set with VtSet.
VtSetFocus-
Sets focus on widget - see Note
VtSetSensitive-
Sets sensitivity of widget - see Note
VtSetValues-
Synonym of VtSet
Options
Use any valid options for the particular widget. xmArgs to pass
X resources to the server.
For example:
VtSetValues $myLabel -label foo
Sets the label string of $myLabel to ``foo''.
Notes
VtSetFocus
and
VtSetSensitive remain available in this release for
backward compatibility.
Please use VtSet with the appropriate options rather than
VtSetFocus or VtSetSensitive to ensure
forward compatibility.
For VtSetFocus, use:
VtSet -takeFocus
VtSet -focusDirection
For VtSetSensitive, use:
VtSet -sensitive
Errors
NOT_SETTABLE-
the option is not settable
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003