The class capi-object
is the superclass of all CAPI classes.
capi
item
callbacks
element
interface
pinboard-object
:name |
The name of the object. |
:plist |
A property list for storing miscellaneous information. |
capi-object-name
capi-object-plist
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.
(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)
CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42