![[index]](../icons/index.gif)
Next: get-filename
Up: Editor Class Reference
Previous: set-map
Superclass: snip%
An image-snip% is a snip that can display bitmap images
(usually loaded from a file). When the image file cannot be found, a
box containing an ``X'' is drawn.
- (make-object image-snip% filename kind relative-path? inline?) -> image-snip% object
filename = #f : string or #f
kind = 'unknown : symbol in '(unknown gif jpeg xbm xpm bmp pict)
relative-path? = #f : boolean
inline? = #t : boolean
Creates an image snip, loading the image filename if specified.
See also
load-file.
- (make-object image-snip% bitmap) -> image-snip% object
bitmap : bitmap% object
Creates an image snip with the given bitmap. See also
set-bitmap.
Methods
All Methods
![[index]](../icons/index.gif)
Next: get-filename
Up: Editor Class Reference
Previous: set-map
PLT