CAPI User Guide, Liquid Common Lisp Version 5.0

2 Getting Started

This chapter introduces some of the most basic CAPI elements and functions. The intention is simply that you should become familiar with the most useful elements available, before learning how you can use them constructively. You should work through the examples in this chapter.

A CAPI application consists of a hierarchy of CAPI objects, in much the same way as an application written using the LispWorks Toolkit consists of Toolkit objects. CAPI objects are created using make-instance, and although they are standard CLOS objects, CAPI features should generally be accessed in the ways described in this manual, and not using the CLOSslot-valuefunction. You should not rely onslot-value because the implementation of the CAPI classes may evolve.

Once an instance of a CAPI object has been created in an interface, it can be displayed on your screen using the functiondisplay.

2.1 - Loading the CAPI
2.2 - Creating a window
2.3 - Linking code into CAPI elements

CAPI User Guide, Liquid Common Lisp Version 5.0 - 2 OCT 1997

Generated with Harlequin WebMaker