LispWorks CAPI Reference Manual > 1 CAPI Reference Entries

NextPrevUpTopContentsIndex

remove-capi-object-property

Function
Summary

Removes a property from the property list of an object.

Package

capi

Signature

remove-capi-object-property object property

Description

The remove-capi-object-property function removes a property from the property list of an object.

All CAPI objects contain a property list, similar to the symbol plist . The functions capi-object-property and (setf capi-object-property) are the recommended ways of setting properties, and remove-capi-object-property is the way to remove a property.

Example
(setq pane (make-instance 'capi:list-panel
                          :items '(1 2 3)))
(capi:capi-object-property pane 'test-property)
(setf (capi:capi-object-property pane 'test-property)
                                 "Test")
(capi:capi-object-property pane 'test-property)
(capi:remove-capi-object-property pane 'test-property)
(capi:capi-object-property pane 'test-property)
See also

capi-object-property
capi-object


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex