You can create menus for an application using the
menu
class.
You should make sure you have defined the
test-callback
and
hello
functions before attempting any of the examples in this chapter. Their definitions are repeated here for convenience.
(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"))
CAPI User Guide (Unix version) - 30 Aug 2011