(make-object editor-snip% editor with-border? left-margin top-margin right-margin bottom-margin left-inset top-inset right-inset bottom-inset min-width max-width min-height max-height) -> editor-snip% object
editor = #f : text% object or #f
with-border? = #t : boolean
left-margin = 5 : exact non-negative integer
top-margin = 5 : exact non-negative integer
right-margin = 5 : exact non-negative integer
bottom-margin = 5 : exact non-negative integer
left-inset = 1 : exact non-negative integer
top-inset = 1 : exact non-negative integer
right-inset = 1 : exact non-negative integer
bottom-inset = 1 : exact non-negative integer
min-width = 'none : non-negative real number or 'none
max-width = 'none : non-negative real number or 'none
min-height = 'none : non-negative real number or 'none
max-height = 'none : non-negative real number or 'none
If editor is non-#f, then it will be used as the editor
contained by the snip. See also
set-editor.
If with-border? is not #f, then a border will be drawn
around the snip. The editor display will be inset in the snip area by
the amounts specified in the -margin arguments. The border
will be drawn with an inset specified by the -inset arguments.
See
get-inset and
get-margin for information about the inset and margin arguments.