All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

capi-object Class

Summary

The class capi-object is the superclass of all CAPI classes.

Package

capi

Superclasses

standard-class

Subclasses

item
callbacks
element
interface
pinboard-object

Initargs
:name
The name of the object.
:plist
A property list for storing miscellaneous information.
Accessors

capi-object-name
capi-object-plist

Description

The class capi-object provides a name and a property list for general purposes, along with the accessors capi-object-name and capi-object-plist respectively. The name of a capi-object is defaulted by define-interface to be the name of the slot into which the object is put.

Examples
(setq object (make-instance 'capi:capi-object
                            :name 'test))
(capi:capi-object-name object)
(setf (capi:capi-object-plist object)
       '(:red 1 :green 2 :blue 3))
(capi:capi-object-property object :green)
See also

capi-object-property
18.5 Object properties and name


CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27