source: sasview/guiframe/docs/sphinx/_build/html/api/local_perspectives/plotting/binder.html @ d955bf19

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since d955bf19 was d955bf19, checked in by Gervaise Alina <gervyh@…>, 14 years ago

working on documentation

  • Property mode set to 100644
File size: 8.0 KB
Line 
1
2
3<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
6<html xmlns="http://www.w3.org/1999/xhtml">
7  <head>
8    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9   
10    <title>binder &mdash; guiframe v0.1.0 documentation</title>
11    <link rel="stylesheet" href="../../../_static/default.css" type="text/css" />
12    <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
13    <script type="text/javascript">
14      var DOCUMENTATION_OPTIONS = {
15        URL_ROOT:    '../../../',
16        VERSION:     '0.1.0',
17        COLLAPSE_INDEX: false,
18        FILE_SUFFIX: '.html',
19        HAS_SOURCE:  true
20      };
21    </script>
22    <script type="text/javascript" src="../../../_static/jquery.js"></script>
23    <script type="text/javascript" src="../../../_static/underscore.js"></script>
24    <script type="text/javascript" src="../../../_static/doctools.js"></script>
25    <link rel="top" title="guiframe v0.1.0 documentation" href="../../../index.html" />
26    <link rel="up" title="Local Perspective: Plotting" href="index.html" />
27    <link rel="next" title="boxMask" href="boxMask.html" />
28    <link rel="prev" title="BaseInteractor" href="BaseInteractor.html" /> 
29  </head>
30  <body>
31    <div class="related">
32      <h3>Navigation</h3>
33      <ul>
34        <li class="right" style="margin-right: 10px">
35          <a href="../../../genindex.html" title="General Index"
36             accesskey="I">index</a></li>
37        <li class="right" >
38          <a href="../../../py-modindex.html" title="Python Module Index"
39             >modules</a> |</li>
40        <li class="right" >
41          <a href="boxMask.html" title="boxMask"
42             accesskey="N">next</a> |</li>
43        <li class="right" >
44          <a href="BaseInteractor.html" title="BaseInteractor"
45             accesskey="P">previous</a> |</li>
46        <li><a href="../../../index.html">guiframe v0.1.0 documentation</a> &raquo;</li>
47          <li><a href="index.html" accesskey="U">Local Perspective: Plotting</a> &raquo;</li> 
48      </ul>
49    </div> 
50
51    <div class="document">
52      <div class="documentwrapper">
53        <div class="bodywrapper">
54          <div class="body">
55           
56  <div class="section" id="binder">
57<h1>binder<a class="headerlink" href="#binder" title="Permalink to this headline">¶</a></h1>
58<div class="section" id="module-sans.guiframe.local_perspectives.plotting.binder">
59<span id="sans-guiframe-local-perspectives-plotting-binder"></span><h2><a class="reference internal" href="#module-sans.guiframe.local_perspectives.plotting.binder"><tt class="xref py py-mod docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.binder</span></tt></a><a class="headerlink" href="#module-sans.guiframe.local_perspectives.plotting.binder" title="Permalink to this headline">¶</a></h2>
60<p>Extension to MPL to support the binding of artists to key/mouse events.</p>
61<dl class="class">
62<dt id="sans.guiframe.local_perspectives.plotting.binder.BindArtist">
63<em class="property">class </em><tt class="descclassname">sans.guiframe.local_perspectives.plotting.binder.</tt><tt class="descname">BindArtist</tt><big>(</big><em>figure</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.binder.BindArtist" title="Permalink to this definition">¶</a></dt>
64<dd><dl class="method">
65<dt id="sans.guiframe.local_perspectives.plotting.binder.BindArtist.clear">
66<tt class="descname">clear</tt><big>(</big><em>*artists</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.binder.BindArtist.clear" title="Permalink to this definition">¶</a></dt>
67<dd><dl class="docutils">
68<dt>self.clear(h1,h2,...)</dt>
69<dd>Remove connections for artists h1, h2, ...</dd>
70</dl>
71<p>Use clearall() to reset all connections.</p>
72</dd></dl>
73
74<dl class="method">
75<dt id="sans.guiframe.local_perspectives.plotting.binder.BindArtist.clearall">
76<tt class="descname">clearall</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.binder.BindArtist.clearall" title="Permalink to this definition">¶</a></dt>
77<dd><p>Clear connections to all artists.</p>
78<p>Use clear(h1,h2,...) to reset specific artists.</p>
79</dd></dl>
80
81<dl class="method">
82<dt id="sans.guiframe.local_perspectives.plotting.binder.BindArtist.disconnect">
83<tt class="descname">disconnect</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.binder.BindArtist.disconnect" title="Permalink to this definition">¶</a></dt>
84<dd>In case we need to disconnect from the canvas...</dd></dl>
85
86<dl class="method">
87<dt id="sans.guiframe.local_perspectives.plotting.binder.BindArtist.trigger">
88<tt class="descname">trigger</tt><big>(</big><em>actor</em>, <em>action</em>, <em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.binder.BindArtist.trigger" title="Permalink to this definition">¶</a></dt>
89<dd>Trigger a particular event for the artist.  Fallback to axes,
90to figure, and to &#8216;all&#8217; if the event is not processed.</dd></dl>
91
92</dd></dl>
93
94<dl class="class">
95<dt id="sans.guiframe.local_perspectives.plotting.binder.Selection">
96<em class="property">class </em><tt class="descclassname">sans.guiframe.local_perspectives.plotting.binder.</tt><tt class="descname">Selection</tt><big>(</big><em>artist=None</em>, <em>prop={}</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.binder.Selection" title="Permalink to this definition">¶</a></dt>
97<dd>Store and compare selections.</dd></dl>
98
99</div>
100</div>
101
102
103          </div>
104        </div>
105      </div>
106      <div class="sphinxsidebar">
107        <div class="sphinxsidebarwrapper">
108  <h3><a href="../../../index.html">Table Of Contents</a></h3>
109  <ul>
110<li><a class="reference internal" href="#">binder</a><ul>
111<li><a class="reference internal" href="#module-sans.guiframe.local_perspectives.plotting.binder"><tt class="docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.binder</span></tt></a></li>
112</ul>
113</li>
114</ul>
115
116  <h4>Previous topic</h4>
117  <p class="topless"><a href="BaseInteractor.html"
118                        title="previous chapter">BaseInteractor</a></p>
119  <h4>Next topic</h4>
120  <p class="topless"><a href="boxMask.html"
121                        title="next chapter">boxMask</a></p>
122  <h3>This Page</h3>
123  <ul class="this-page-menu">
124    <li><a href="../../../_sources/api/local_perspectives/plotting/binder.txt"
125           rel="nofollow">Show Source</a></li>
126  </ul>
127<div id="searchbox" style="display: none">
128  <h3>Quick search</h3>
129    <form class="search" action="../../../search.html" method="get">
130      <input type="text" name="q" size="18" />
131      <input type="submit" value="Go" />
132      <input type="hidden" name="check_keywords" value="yes" />
133      <input type="hidden" name="area" value="default" />
134    </form>
135    <p class="searchtip" style="font-size: 90%">
136    Enter search terms or a module, class or function name.
137    </p>
138</div>
139<script type="text/javascript">$('#searchbox').show(0);</script>
140        </div>
141      </div>
142      <div class="clearer"></div>
143    </div>
144    <div class="related">
145      <h3>Navigation</h3>
146      <ul>
147        <li class="right" style="margin-right: 10px">
148          <a href="../../../genindex.html" title="General Index"
149             >index</a></li>
150        <li class="right" >
151          <a href="../../../py-modindex.html" title="Python Module Index"
152             >modules</a> |</li>
153        <li class="right" >
154          <a href="boxMask.html" title="boxMask"
155             >next</a> |</li>
156        <li class="right" >
157          <a href="BaseInteractor.html" title="BaseInteractor"
158             >previous</a> |</li>
159        <li><a href="../../../index.html">guiframe v0.1.0 documentation</a> &raquo;</li>
160          <li><a href="index.html" >Local Perspective: Plotting</a> &raquo;</li> 
161      </ul>
162    </div>
163    <div class="footer">
164        &copy; Copyright 2010, sans group.
165      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0b1.
166    </div>
167  </body>
168</html>
Note: See TracBrowser for help on using the repository browser.