The main list is the most interesting part of the inspector. Each item in this list describes an attribute of the inspected object by displaying its name (the first field in each entry) and the printed representation of its value (the second field). For example, the inspection of a CLOS object yields a list of its slots and their values. The description is called an inspection .
(make-instance 'capi:display-pane :text "My Display Pane")
Ctrl+C Ctrl+I
.The object you created is inspected in the inspector.
Figure 13.2 Examining an item in the inspector
When inspecting instances of CLOS classes, you can choose to display only those slots which are local to the class. By default, all slots are displayed, including those inherited from superclasses of the class of the inspected object.
Figure 13.3 Inspector showing local slots
Because the text
slot is the only slot defined locally for a display-pane
, it is the only one listed.