Next Prev Up Top Contents Index

7.1.3 Filtering slot information

The Filter box can be used to filter out information about slots you are not interested in. This is especially useful if you are examining classes which contain a large number of slots.

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

  1. In a listener, create a button object by typing the following:
  2. (capi:contain (make-instance 'capi:list-panel
                                 :items '("Apple" "Orange" "Pear")))

    This creates a list panel object and displays it on your screen.

  3. Choose Values > Class in the listener to examine the class of the object in the class browser.
  4. Click the Initargs tab in the class browser to switch to the initargs view.
  5. Suppose you are only interested in seeing the callbacks that can be defined in a list panel.

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

 

Figure 7.3 Using filters to limit the display in the class browser

You can immediately see the types of callback that are available to CAPI list panel objects. See the CAPI Reference Manual for details about these callbacks.


Common LispWorks User Guide - 14 Dec 2001

Next Prev Up Top Contents Index