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

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

Arguments
object
property
A Lisp object.
Description

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.

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


CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:33:57