VtMainLoop(VTCL)


VtMainLoop -- start interaction between script and GUI rendering engine

Synopsis

VtAddMainLoop [-break]

Description

Starts interaction between the script and the SCO Visual Tcl graphical user interface (GUI) rendering engine. Causes the script application to become active and react to user and system actions. Usually called as the last command of a script after the GUI hierarchy is displayed with VtShow(VTCL).

Options


-break
Forces the original VtMainLoop command to end. This can only be executed after VtMainloop is executed, from inside a callback. This option leaves the interpreter and the server still connected.

Return values

If VtMainLoop fails, it returns one of the following error messages:

INVALID_ARGS
wrong number of arguments, argument not recognized, or argument options not recognized

MAINLOOP_ALREADY
the MainLoop is already running

02 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005