Useful snip classes are defined by instantiating derived subclasses of
snip-class%. A class derived from
serves as a kind of ``meta-class'' for snips; each snip is associated
with an instance of
snip-class% as its snip class.
In deriving a new
snip-class% class, override the
read method. Then, for each instance of the derived class (where each
instance corresponds to a single snip class):
Set the classname using
Set the version using
Install the class into the list returned by
get-the-snip-class-list using the
add method. Note that if the same name is inserted
into the same class list multiple times, all but the first insertion
See also Snip Classes.
(make-object snip-class%) ->
Creates a useless snip class.