




 
Consider the following example, where a closure is defined:
(let ((test-button (make-instance 'capi:button)))
(defun is-button-enabled ()
(capi:button-enabled test-button)))
This has defined the function 
is-button-enabled
, which is a closure over the variable 
test-button
, where the value of 
test-button
 is an instance of the 
capi:button
 class.
The Inspector examines the symbol 
is-button-enabled
. 
FUNCTION
 item to select the closure.