File: //usr/share/doc/python3-zope-event/html/api.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>zope.event API Reference — zope.event 4.2.0 documentation</title>
<link rel="stylesheet" href="_static/classic.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Class-based event handlers" href="classhandler.html" />
<link rel="prev" title="Theory of Operation" href="theory.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="classhandler.html" title="Class-based event handlers"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="theory.html" title="Theory of Operation"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">zope.event 4.2.0 documentation</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="zope-event-api-reference">
<span id="api-docs"></span><h1><code class="xref py py-mod docutils literal notranslate"><span class="pre">zope.event</span></code> API Reference<a class="headerlink" href="#zope-event-api-reference" title="Permalink to this headline">¶</a></h1>
<p>The package exports the following API symbols.</p>
<div class="section" id="data">
<h2>Data<a class="headerlink" href="#data" title="Permalink to this headline">¶</a></h2>
<dl class="data">
<dt id="zope.event.subscribers">
<code class="descclassname">zope.event.</code><code class="descname">subscribers</code><em class="property"> = []</em><a class="headerlink" href="#zope.event.subscribers" title="Permalink to this definition">¶</a></dt>
<dd><p>Applications may register for notification of events by appending a
callable to the <code class="docutils literal notranslate"><span class="pre">subscribers</span></code> list.</p>
<p>Each subscriber takes a single argument, which is the event object
being published.</p>
<p>Exceptions raised by subscribers will be propagated.</p>
</dd></dl>
</div>
<div class="section" id="functions">
<h2>Functions<a class="headerlink" href="#functions" title="Permalink to this headline">¶</a></h2>
<dl class="function">
<dt id="zope.event.notify">
<code class="descclassname">zope.event.</code><code class="descname">notify</code><span class="sig-paren">(</span><em>event</em><span class="sig-paren">)</span><a class="headerlink" href="#zope.event.notify" title="Permalink to this definition">¶</a></dt>
<dd><p>Notify all subscribers of <code class="docutils literal notranslate"><span class="pre">event</span></code>.</p>
</dd></dl>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h3><a href="index.html">Table Of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#"><code class="docutils literal notranslate"><span class="pre">zope.event</span></code> API Reference</a><ul>
<li><a class="reference internal" href="#data">Data</a></li>
<li><a class="reference internal" href="#functions">Functions</a></li>
</ul>
</li>
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="theory.html"
title="previous chapter">Theory of Operation</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="classhandler.html"
title="next chapter">Class-based event handlers</a></p>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/api.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="classhandler.html" title="Class-based event handlers"
>next</a> |</li>
<li class="right" >
<a href="theory.html" title="Theory of Operation"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">zope.event 4.2.0 documentation</a> »</li>
</ul>
</div>
<div class="footer" role="contentinfo">
© Copyright 2010, Zope Foundation and Contributors.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.7.6.
</div>
</body>
</html>