VtSetAppValues(VTCL)

VtSetAppValues(VTCL)


VtSetAppValues -- set options for script (applet)

Syntax

VtSetAppValues app_widgetName [options]

Description

Sets the options for the script (applet). app_widgetName is the value returned when VtOpen was executed to create the application.

Options

-columnValue AVERAGE | MAXIMUM
Used to determine the number of pixels per character for the -columns option. If AVERAGE, then the width of the average character in the font is used. If MAXIMUM, then the width of the largest character in the font is used. The default is AVERAGE. This option has no effect in character mode.

-errorCallback cmd (C)
Sets command cmd as the procedure to call when an error occurs in a callback. When an error occurs, SCO Visual Tcl will go up the object tree until it finds an error callback to handle the error.

Additional callback keys:

callback
Callback that caused the error.

errorCode
Return code from Tcl eval.

result
Tcl Result string, the error string.

-versionString string (S)
Sets the version string string for a script. This is displayed when ``On version'' is picked from the Help menu.