47 lines
1.4 KiB
HTML
47 lines
1.4 KiB
HTML
<html>
|
|
<head>
|
|
<!-- This file has been generated by unroff 1.0, 03/21/96 19:29:43. -->
|
|
<!-- Do not edit! -->
|
|
<link rev="made" href="mailto:net@informatik.uni-bremen.de">
|
|
<title>unroff Programmer's Manual, section 5.</title>
|
|
</head><body>
|
|
<h2><a name="section5">5.</a> <tt> </tt>Querying Event Handlers
|
|
</h2>
|
|
<p>
|
|
 <tt> </tt> <tt> </tt> <tt> </tt>In addition to associating event handlers with events by means
|
|
of the ``def'' primitives, several primitives exist to query
|
|
the currently defined handler for a given event:
|
|
<h2>
|
|
(requestdef <i>name</i>)
|
|
<br>
|
|
(macrodef <i>name</i>)
|
|
<br>
|
|
(specialdef <i>name</i>)
|
|
<br>
|
|
(stringdef <i>name</i>)
|
|
<br>
|
|
(numregdef <i>name</i>)
|
|
<br>
|
|
(escapedef <i>name</i>)
|
|
<br>
|
|
(chardef <i>name</i>)
|
|
<br>
|
|
(sentencedef)
|
|
<br>
|
|
(equationdef)
|
|
</h2>
|
|
<p>
|
|
 <tt> </tt> <tt> </tt> <tt> </tt>Observe that the name of each primitive is derived from the name
|
|
of the corresponding ``def'' primitive by exchanging the word
|
|
``def'' and the rest of the name.<tt> </tt>
|
|
Each
|
|
<i>name
|
|
</i>argument is subject to the constraints described under the
|
|
corresponding ``def'' primitive above.<tt> </tt>
|
|
Each primitive returns whatever object has been registered as
|
|
the event handler (procedure, string, symbol, character);
|
|
or #f if no handler has been defined for the event.<tt> </tt>
|
|
<p><hr>
|
|
Markup created by <em>unroff</em> 1.0, <tt> </tt> <tt> </tt>March 21, 1996, <tt> </tt> <tt> </tt>net@informatik.uni-bremen.de</body>
|
|
</html>
|