Next: lines-closer, Previous: input-translator, Up: GCL Reference
(interest (COMMAND [args]))
*
matches any value. nil
matches any value but supresses
the reporting of that value; its value is reported as nil
.
The purpose of the interest command is to allow external
modules to find out about things happening inside geomview.
For example, a module interested in knowing when a geom called
foo
is deleted could say (interest (delete foo))
and would
receive the string (delete foo)
when foo is deleted.
Picking is a special case of this. For most modules interested in pick
events the command (interest (pick world))
is sufficient. This
causes geomview to send a string of the form (pick world ...)
every time a pick event (right mouse double click). See the (pick ...)
command for details.