DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

VtMainLoop(1vtcl)


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(1vtcl).

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

25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004