This chapter contains information that does not belong in the more specific sections that follow, including functionality common to several (or most) pane classes. It also introduces classes allowing you to create more common windowing elements, beyond the few mentioned in Getting Started.
Before trying out the examples in this chapter, define the functions test-callback
and hello
in your Listener. The first displays the list of arguments it is given, and returns nil
. The second just displays a message.
(defun test-callback (data interface)
(display-message "Data ~S in interface ~S"
data interface))
(defun hello (data interface)
(declare (ignore data interface))
(display-message "Hello World"))
We will use these callbacks in the examples that follow.
CAPI User Guide and Reference Manual (Unix version) - 25 Feb 2015