1 Introduction to the Window Tool Kit

1.2 Initializing the Window Tool Kit

To use the window facilities described in this guide, you must first invoke Lisp from within the window environment and then initialize the Window Tool Kit.

The functioninitialize-windows starts up the Window Tool Kit. It allows you to use Lisp in the window provided by the existing window system, and it also gives you access to the Window Tool Kit. A new window is provided as a root viewport; any windows or viewports that you create appear in this window. A second, smaller window appears at the bottom of the window that contains the root viewport; this smaller window contains the who window.

To bring up a default initialized windows display, call the functioninitialize-windows with no arguments:

(initialize-windows)
If you use the host window system to close the Lisp window that contains the root viewport, the Lisp window disappears and is replaced with an icon. You can modify the image, location, label, and font of this icon; see Chapter 8, "Reference Pages" for a full description of theinitialize-windows arguments.

Note: If the Window Tool Kit has been initialized and the functiondisksave is invoked, the window environment is temporarily suspended. Oncedisksave has saved the Lisp image on disk, the windows on the running Lisp image are automatically restored. See Section 1.3 on page 9 for more information.

The functionleave-window-system exits the Window Tool Kit in such a way that you cannot return without reinitializing it.


The Window Tool Kit - 9 SEP 1996

Generated with Harlequin WebMaker