Next Previous Up Top Contents Index

2 GP Reference Entries

register-image-translation

Function

Summary

Registers an image identifier and image loading function with a translation in an image translation table.
Signature

register-image-translation image-id translation 
                 &key image-translation-table image-load-fn
                 => 

Arguments

image-id

An image identifier

translation

An image translation

image-translation-table

An image translation table

image-load-fn

An image loading function

Values

Description

Theregister-image-translation function registers image-id and image-load-fn with the translation in the image-translation-table. Whenload-image is call with second argument image-id, the image-load-fn is called with translation as its second argument. If image-load-fn isnil, the image translation table's default image loader is used; this converts an external image object or file to an image. If translation isnil the identifier is deregistered. Returns the image-id and the image-load-fn. The default value of image-translation-table is*default-image-translation-table*.

LispWorks CAPI Reference Manual - 17 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker