All Manuals > CAPI User Guide and Reference Manual > 21 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 function remove-capi-object-property 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
Object properties and name


CAPI User Guide and Reference Manual (Windows version) - 3 Aug 2017

NextPrevUpTopContentsIndex