24.16 text:1-pixel-string-snip%
Superclass: string-snip%
This class re-uses the implementation of
string-snip% to implement a string snip that just draws
a single pixel for each character in the string.
See also
text:1-pixel-tab-snip% for a similar extension to the
tab-snip%class.
This snip is used in conjunction with the
frame:delegate<%> and
text:delegate<%> interfaces.
(make-object text:1-pixel-string-snip%->allocsize)text:1-pixel-string-snip%object
allocsize=0: exact non-negative integerCreates an empty string snip. The
allocsizeargument is a hint about how much storage space for text should be initially allocated by the snip.
(make-object text:1-pixel-string-snip%->s)text:1-pixel-string-snip%object
s: stringCreates a string snip with the given initial string.
Methods
copy
draw
get-extent
insert
split
All Methods
adjust-cursor from snip%
blink-caret from snip%
can-do-edit-operation? (augmentable only) from snip%
copy from text:1-pixel-string-snip%
overrides copy from snip%
do-edit-operation from snip%
draw from text:1-pixel-string-snip%
overrides draw from snip%
find-scroll-step from snip%
get-admin from snip%
get-count from snip%
get-extent from text:1-pixel-string-snip%
overrides get-extent from snip%
get-flags from snip%
get-num-scroll-steps from snip%
get-scroll-step-offset from snip%
get-snipclass from snip%
get-style from snip%
get-text from snip%
get-text! from snip%
insert from text:1-pixel-string-snip%
overrides insert from string-snip%
is-owned? from snip%
match? from snip%
merge-with from snip%
next from snip%
on-char from snip%
on-event from snip%
own-caret from snip%
partial-offset from snip%
previous from snip%
read from string-snip%
release-from-owner from snip%
resize from snip%
set-admin from snip%
set-count from snip%
set-flags from snip%
set-snipclass from snip%
set-style from snip%
set-unmodified from snip%
size-cache-invalid from snip%
split from text:1-pixel-string-snip%
overrides split from snip%
write from snip%