Removes a property from the property list of an object.
capi
remove-capi-object-property object property
| object⇩ |
A capi-object. |
| property⇩ |
A Lisp object. |
The function remove-capi-object-property removes the property named by property from the property list of 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.
(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)
capi-object-property
capi-object
18.5 Object properties and name
CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:33:57