DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

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.

-helpCallback cmd (C)
Sets command cmd as the procedure to call, overriding the help system, in response to any help invocation (key or button press) that does not already have a callback set.

Additional callback keys:


dialog
Dialog from which the help was requested.

widget
Widget from which the help was requested.

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

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003