20.6 Defining the callbacks
This section shows you how to create the callback functions you need to define in order to complete the working example.
-
In an Editor tool, choose
File > New
or click
to create a new file.
-
Choose
File > Save
or click
to save the file. Save it in the same directory you saved
ib-example.lisp
, and call this new file
ib-callbacks.lisp
.
-
In the editor, specify the package for the callback definitions by typing the following into the
ib-callbacks.lisp
file:
(in-package "COMMON-LISP-USER")
-
Enter the function definitions given in the rest of this section.
-
Choose
File > Save
or click
to save the file when you have entered all the function definitions.
The functions that you need to define in this file are divided into the following categories:
-
Callbacks to update the display pane.
-
Callbacks to display data in a dialog.
-
Callbacks for menu items.
-
Other miscellaneous functions.
LispWorks IDE User Guide (Windows version) - 22 Dec 2009