[ library(toplevel) | Reference Manual | Alphabetic Index ]

toplevel_init(?Type)

Initialize a toplevel
Type
one of the atoms 'tty' or 'gui'

Description

Initializes streams and event handlers in preparation to a call to toplevel/0. Two variants of toplevel loop can be selected: command line oriented (tty) or server oriented (gui). The latter is intended for an ECLiPSe which is embedded or remote-interfaced to a GUI-based host program.

See Also

toplevel / 0, break / 0