11.1 Examining objects

11.1.2 Filtering the display

Sometimes an object may contain so many items that the display in the Main area is confusing. If this happens, use the Filter area 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 limit the display in the inspector 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:

(capi:contain (make-instance 'capi:button))

2. Choose Values > Inspect to copy the object into the inspector.

As you can see, this object has a large number of slots. You can use the Filter area to screen out everything except the available callbacks.

3. Typecallback in the Filter area and press Return.

Figure 11.5 Using filters to limit the display in the inspector

You can immediately see that the callback types that have slots in CAPI button objects. The names of the slots, together with their slot values for the object created, are displayed in the inspector.


Common LispWorks User Guide, Liquid Common Lisp Version 5.0 - 18 OCT 1996

Generated with Harlequin WebMaker