15.3 Filtering the display

Sometimes an object may contain so many items that the list is confusing. If this happens, use the Filter box to limit the display to only those items you are interested in.

The example below shows you how to create and display an instance of a CAPI object, and then filter the attributes list so that the only slots displayed are those you are interested in:

  1. In a Listener, create and display a button by typing the following:
  2. (capi:contain (make-instance 'capi:button))
  3. Choose Values > Inspect to show the object in the Inspector.
  4. As you can see, this object has a large number of slots, but you can use the filter to screen out everything except the available callbacks.

  5. Type callback in the Filter box and press Return .

Figure 15.4 Using filters to limit the display in the Inspector

You can immediately see the button object slots with names that include "callback". The names of the slots, together with their slot values for the object being inspected, are displayed in the attributes list.

Common LispWorks User Guide (Unix version) - 11 Apr 2005