snip-admin%
See Administrators for information about the role of administrators.
The snip-admin% class is never instantiated directly. It
is not even instantiated through derived classes by most programmers;
each text% or pasteboard% object
creates its own administrator. However, it may be useful to derive a
new instance of this class to display snips in a new context. Also,
it may be useful to call the methods of an existing administrator
from an owned snip.
To create a new snip-admin% class, all methods described
here must be overridden. They are all invoked by the administrator's
snip.
Because a snip-admin% object typically owns more than one
snip, many methods require a snip% object as a argument.
(make-object snip-admin%) -> snip-admin% object
Creates a (useless) editor administrator.
Methods
get-dc
get-editor
get-view
get-view-size
modified
needs-update
popup-menu
recounted
release-snip
resized
scroll-to
set-caret-owner
update-cursor