insert-image in editor<%>
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.
(-> voidsendan-editorinsert-imagefilenametyperelative-path?inline?)
filename=#f: path or#f
type='unknown: symbol in'(unknown gif jpeg xbm xpm bmp pict)
relative-path?=#f: boolean
inline?=#t: booleanIf
filenameis#f, then the user is queried for a filename. Thekindmust one of the symbols that can be passed toload-file.After the filename has been determined, an image is created by calling
on-new-image-snip. See alsoimage-snip%.