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

NextPrevUpTopContentsIndex

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. A capi-object's name is defaulted by define-interface to be the name of the slot into which the object is put.

Example
(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
Object properties and name


CAPI User Guide and Reference Manual (Windows version) - 25 Feb 2015

NextPrevUpTopContentsIndex