Next Previous Up Top Contents Index

4.2 Top-level items: exit, saveImage and startGUI

startGUI

Function

Structure

Shell

Type

val startGUI: unit -> unit

Syntax

startGUI () -> ()

Arguments

()

Values

()

Description

If MLWorks was started in TTY mode (that is, mlworks or mlworks-basis was started with argument -tty), this function allows you to start the GUI environment.

If you start the GUI interface with this function, then on exiting the GUI using File > Exit, the usual exit dialog also offers an End X session button which returns you to TTY mode.

If startGUI is called with the GUI already running, it prints

The MLWorks GUI is already running

MLWorks Reference Manual version 2.0 - 29 Jul 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker