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

NextPrevUpTopContentsIndex

image-pinboard-object

Class
Summary

An image pinboard object is 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 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 dynamically using the writer function

(setf image-pinboard-object-image)
Example
(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
Creating graphical objects
Working with images


CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017

NextPrevUpTopContentsIndex