1 CAPI Reference Entries
define-contact-panemacro is used to place CLUE contacts in CAPI interfaces.
define-contact-pane (name contact-name) superclasses slots &rest options
define-contact-paneis a means of placing CLUE contacts in CAPI interfaces, and is provided for backwards compatibility. Portable applications should not be written using CLUE contacts.
contact-name. When an interface containing the contact pane is displayed, the CAPI creates an instance of the contact of class
contact-name(or more accurately, a subclass of the class
contact-namewhich contains some additional slots to be used by the CAPI).
defclass, and the superclasses, slots and options should be specified exactly as when using
defclass. The one exception is that the option
:contact-initargsis recognized, and these will become the default initargs for the contact when used in the CAPI.
contact-pane-contactis provided as a means of getting hold of the contact from the CAPI pane, and is to be used by code that needs to refer to slots in the contact.
capi-text-itemwhich is really a toolkit text item.
(capi:define-contact-pane (capi-text-item tk:text-item) () ()) (setq text-item (capi:contain (make-instance 'capi-text-item)))
(tk:contact-value (capi:contact-pane-contact text-item))
Generated with Harlequin WebMaker