first previous next last contents


tout_init output_path error_path

This command initialises the redirection of the text output commands. The two rrquired arguments specify the Tk pathnames of text widgets for the output and errors to be sent to. The function returns nothing.

The following example illustrates the usage. In practise the tout_create_wins command should be used instead to provide a common style interface.

pack [text .output -height 5] [text .error -height 5] -side top
tout_init .output .error
vmessage This appears in the output window
verror ERR_WARN This appears in the error window

first previous next last contents
This page is maintained by staden-package. Last generated on 1 March 2001.