CAPI User Guide, Liquid Common Lisp Version 5.0
Layouts are created just like any other CAPI element, by using
make-instance. Each layout must contain a description of the CAPI elements it contains, given as a list to the
A layout is used to group any instances of simple-pane and its subclasses (for instance all the elements you met in the last chapter), and pinboard object and its subclasses (discussed in Chapter 9, "Creating Your Own Panes"). Once again, you should make sure you have defined the
test-callback function before attempting any of the examples in this chapter. Its definition is repeated here for convenience.
(defun test-callback (data interface) (display-message "Data ~S in interface ~S" data interface))
Generated with Harlequin WebMaker