1 CAPI Reference Entries

capi-object-property

Function

Summary

Thecapi-object-property function is used to set properties in a property list.

Syntax

capi-object-property object property

Description

All CAPI objects contain a property list, similar to the symbolplist. The recommended ways of setting properties arecapi-object-property and(setf capi-object-property). To remove a property, use the functionremove-capi-object-property.

Example

In this example a list panel is created, and a test property is set and examined usingcapi-object-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)

See Also

capi-object
remove-capi-object-property


CAPI Reference Manual, Liquid Common Lisp Version 5.0 - 3 OCT 1997

Generated with Harlequin WebMaker