All Manuals > 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 to create a new file.
  2. 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 .
  3. In the editor, specify the package for the callback definitions by typing the following into the ib-callbacks.lisp file:
  4. (in-package "COMMON-LISP-USER")
  5. Enter the function definitions given in the rest of this section.
  6. 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:

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 (Windows version) - 25 Nov 2011