LispWorks IDE User Guide > 20 Example: Using The Interface Builder


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.

  1. In an Editor tool, choose File > New or click
  2. to create a new file.
  3. Choose File > Save or click
  4. to save the file. Save it in the same directory you saved ib-example.lisp , and call this new file ib-callbacks.lisp .
  5. In the editor, specify the package for the callback definitions by typing the following into the ib-callbacks.lisp file:
  6. (in-package "COMMON-LISP-USER")
  7. Enter the function definitions given in the rest of this section.
  8. Choose File > Save or click
  9. 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:

20.6.1 Callbacks to update the display pane

20.6.2 Callbacks to display data in a dialog

20.6.3 Callbacks for menu items

20.6.4 Other miscellaneous functions

LispWorks IDE User Guide (Unix version) - 22 Dec 2009