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

item-pinboard-object Class

Summary

A pinboard-object that displays a single piece of text.

Package

capi

Superclasses

pinboard-object
item

Description

The class item-pinboard-object displays an item on a pinboard layout. It displays the text specified by the item in the usual way (either by the text field, or through printing the data with the print function).

Examples
(capi:contain (make-instance
                'capi:item-pinboard-object
                :text "Hello World"))
(capi:contain (make-instance 'capi:item-pinboard-object
                             :data :red
                             :print-function 
                               'string-capitalize))
See also

image-pinboard-object
pinboard-layout
12.3 Creating graphical objects


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42