Inserts an image into the editor.
The content of an editor can be changed by the system in response to other method calls, and such changes do not go through this method; use on-insert in text% or on-insert in pasteboard% to monitor content additions changes.
- (send an-editor insert-image filename type relative-path? inline?) -> void
filename = #f : string or #f
type = 'unknown : symbol in '(unknown gif jpeg xbm xpm bmp pict)
relative-path? = #f : boolean
inline? = #t : boolean
If filename is #f, then the
user is queried for a filename. The kind must one of
the symbols that can be passed to
After the filename has been determined, an image is created by
on-new-image-snip. See also