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

image-pinboard-object Class

Summary

A pinboard object that displays itself as an image.

Package

capi

Superclasses

pinboard-object
titled-object

Initargs
:image
The image to be displayed.
Accessors

image-pinboard-object-image

Description

The class image-pinboard-object is a pinboard-object that displays itself as an image.

The image initarg for an image-pinboard-object should either be an external-image or any other object accepted by load-image. The image displayed in the object can be changed read or changed dynamically using the accessor image-pinboard-object-image.

Examples
(cd (example-file "capi/"))
 
(setf image
      (capi:contain
       (make-instance
        'capi:image-pinboard-object
        :image "applications/images/info.bmp")))
 
(capi:apply-in-pane-process 
 (capi:element-parent image)
 #'(setf capi:image-pinboard-object-image)
 "graphics/Setup.bmp" image)
 
(capi:apply-in-pane-process 
 (capi:element-parent image)
 #'(setf capi:image-pinboard-object-image)
 "applications/images/info.bmp" image)
 
(capi:contain 
 (make-instance
  'capi:image-pinboard-object
  :image "graphics/Setup.bmp"
  :title "LispWorks Splashscreen"
  :title-adjust :right
  :title-position :bottom))
See also

pinboard-layout
12.3 Creating graphical objects
13.10 Working with images


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