source: sasview/plottools/docs/sphinx/html/api/plottable_interactor.html @ 3a3dd9c

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 3a3dd9c was 82a54b8, checked in by Mathieu Doucet <doucetm@…>, 13 years ago

adding plottools Part 2

  • Property mode set to 100644
File size: 11.9 KB
RevLine 
[82a54b8]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
7<html xmlns="http://www.w3.org/1999/xhtml">
8  <head>
9    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10   
11    <title>plottable_interactor &mdash; plottools 0.10 documentation</title>
12   
13    <link rel="stylesheet" href="../_static/default.css" type="text/css" />
14    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
15   
16    <script type="text/javascript">
17      var DOCUMENTATION_OPTIONS = {
18        URL_ROOT:    '../',
19        VERSION:     '0.10',
20        COLLAPSE_INDEX: false,
21        FILE_SUFFIX: '.html',
22        HAS_SOURCE:  true
23      };
24    </script>
25    <script type="text/javascript" src="../_static/jquery.js"></script>
26    <script type="text/javascript" src="../_static/underscore.js"></script>
27    <script type="text/javascript" src="../_static/doctools.js"></script>
28    <link rel="top" title="plottools 0.10 documentation" href="../index.html" />
29    <link rel="up" title="Reference" href="index.html" />
30    <link rel="next" title="plottables" href="plottables.html" />
31    <link rel="prev" title="PlotPanel" href="PlotPanel.html" /> 
32  </head>
33  <body>
34    <div class="related">
35      <h3>Navigation</h3>
36      <ul>
37        <li class="right" style="margin-right: 10px">
38          <a href="../genindex.html" title="General Index"
39             accesskey="I">index</a></li>
40        <li class="right" >
41          <a href="../py-modindex.html" title="Python Module Index"
42             >modules</a> |</li>
43        <li class="right" >
44          <a href="plottables.html" title="plottables"
45             accesskey="N">next</a> |</li>
46        <li class="right" >
47          <a href="PlotPanel.html" title="PlotPanel"
48             accesskey="P">previous</a> |</li>
49        <li><a href="../index.html">plottools 0.10 documentation</a> &raquo;</li>
50          <li><a href="index.html" accesskey="U">Reference</a> &raquo;</li> 
51      </ul>
52    </div> 
53
54    <div class="document">
55      <div class="documentwrapper">
56        <div class="bodywrapper">
57          <div class="body">
58           
59  <div class="section" id="plottable-interactor">
60<h1>plottable_interactor<a class="headerlink" href="#plottable-interactor" title="Permalink to this headline">¶</a></h1>
61<div class="section" id="danse-common-plottools-plottable-interactor">
62<h2><a class="reference internal" href="#module-danse.common.plottools.plottable_interactor" title="danse.common.plottools.plottable_interactor"><tt class="xref py py-mod docutils literal"><span class="pre">danse.common.plottools.plottable_interactor</span></tt></a><a class="headerlink" href="#danse-common-plottools-plottable-interactor" title="Permalink to this headline">¶</a></h2>
63<span class="target" id="module-danse.common.plottools.plottable_interactor"></span><p>This module allows more interaction with the plot</p>
64<dl class="class">
65<dt id="danse.common.plottools.plottable_interactor.PointInteractor">
66<em class="property">class </em><tt class="descclassname">danse.common.plottools.plottable_interactor.</tt><tt class="descname">PointInteractor</tt><a class="headerlink" href="#danse.common.plottools.plottable_interactor.PointInteractor" title="Permalink to this definition">¶</a></dt>
67<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">danse.common.plottools.BaseInteractor._BaseInteractor</span></tt></p>
68<dl class="method">
69<dt id="danse.common.plottools.plottable_interactor.PointInteractor.clear">
70<tt class="descname">clear</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.plottable_interactor.PointInteractor.clear" title="Permalink to this definition">¶</a></dt>
71<dd></dd></dl>
72
73<dl class="method">
74<dt id="danse.common.plottools.plottable_interactor.PointInteractor.clear_markers">
75<tt class="descname">clear_markers</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.plottable_interactor.PointInteractor.clear_markers" title="Permalink to this definition">¶</a></dt>
76<dd><p>Clear old markers and interfaces.</p>
77</dd></dl>
78
79<dl class="method">
80<dt id="danse.common.plottools.plottable_interactor.PointInteractor.connect_markers">
81<tt class="descname">connect_markers</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.plottable_interactor.PointInteractor.connect_markers" title="Permalink to this definition">¶</a></dt>
82<dd><p>Connect markers to callbacks</p>
83</dd></dl>
84
85<dl class="method">
86<dt id="danse.common.plottools.plottable_interactor.PointInteractor.curve">
87<tt class="descname">curve</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.plottable_interactor.PointInteractor.curve" title="Permalink to this definition">¶</a></dt>
88<dd></dd></dl>
89
90<dl class="method">
91<dt id="danse.common.plottools.plottable_interactor.PointInteractor.dpixel">
92<tt class="descname">dpixel</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.plottable_interactor.PointInteractor.dpixel" title="Permalink to this definition">¶</a></dt>
93<dd><p>Return the step size in data coordinates for a small
94step in screen coordinates.  If nudge is False (default)
95the step size is one pixel.  If nudge is True, the step
96size is 0.2 pixels.</p>
97</dd></dl>
98
99<dl class="method">
100<dt id="danse.common.plottools.plottable_interactor.PointInteractor.move">
101<tt class="descname">move</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.plottable_interactor.PointInteractor.move" title="Permalink to this definition">¶</a></dt>
102<dd></dd></dl>
103
104<dl class="method">
105<dt id="danse.common.plottools.plottable_interactor.PointInteractor.moveend">
106<tt class="descname">moveend</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.plottable_interactor.PointInteractor.moveend" title="Permalink to this definition">¶</a></dt>
107<dd></dd></dl>
108
109<dl class="method">
110<dt id="danse.common.plottools.plottable_interactor.PointInteractor.onClick">
111<tt class="descname">onClick</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.plottable_interactor.PointInteractor.onClick" title="Permalink to this definition">¶</a></dt>
112<dd><p>Prepare to move the artist.  Calls save() to preserve the state for
113later restore().</p>
114</dd></dl>
115
116<dl class="method">
117<dt id="danse.common.plottools.plottable_interactor.PointInteractor.onDrag">
118<tt class="descname">onDrag</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.plottable_interactor.PointInteractor.onDrag" title="Permalink to this definition">¶</a></dt>
119<dd><p>Move the artist.  Calls move() to update the state, or restore() if
120the mouse leaves the window.</p>
121</dd></dl>
122
123<dl class="method">
124<dt id="danse.common.plottools.plottable_interactor.PointInteractor.onHilite">
125<tt class="descname">onHilite</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.plottable_interactor.PointInteractor.onHilite" title="Permalink to this definition">¶</a></dt>
126<dd><p>Hilite the artist reporting the event, indicating that it is
127ready to receive a click.</p>
128</dd></dl>
129
130<dl class="method">
131<dt id="danse.common.plottools.plottable_interactor.PointInteractor.onKey">
132<tt class="descname">onKey</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.plottable_interactor.PointInteractor.onKey" title="Permalink to this definition">¶</a></dt>
133<dd><p>Respond to keyboard events.  Arrow keys move the widget.  Escape
134restores it to the position before the last click.</p>
135<p>Calls move() to update the state.  Calls restore() on escape.</p>
136</dd></dl>
137
138<dl class="method">
139<dt id="danse.common.plottools.plottable_interactor.PointInteractor.onLeave">
140<tt class="descname">onLeave</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.plottable_interactor.PointInteractor.onLeave" title="Permalink to this definition">¶</a></dt>
141<dd><p>Restore the artist to the original colour when the cursor leaves.</p>
142</dd></dl>
143
144<dl class="method">
145<dt id="danse.common.plottools.plottable_interactor.PointInteractor.onRelease">
146<tt class="descname">onRelease</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.plottable_interactor.PointInteractor.onRelease" title="Permalink to this definition">¶</a></dt>
147<dd></dd></dl>
148
149<dl class="method">
150<dt id="danse.common.plottools.plottable_interactor.PointInteractor.points">
151<tt class="descname">points</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.plottable_interactor.PointInteractor.points" title="Permalink to this definition">¶</a></dt>
152<dd></dd></dl>
153
154<dl class="method">
155<dt id="danse.common.plottools.plottable_interactor.PointInteractor.restore">
156<tt class="descname">restore</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.plottable_interactor.PointInteractor.restore" title="Permalink to this definition">¶</a></dt>
157<dd></dd></dl>
158
159<dl class="method">
160<dt id="danse.common.plottools.plottable_interactor.PointInteractor.save">
161<tt class="descname">save</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.plottable_interactor.PointInteractor.save" title="Permalink to this definition">¶</a></dt>
162<dd></dd></dl>
163
164<dl class="method">
165<dt id="danse.common.plottools.plottable_interactor.PointInteractor.update">
166<tt class="descname">update</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.plottable_interactor.PointInteractor.update" title="Permalink to this definition">¶</a></dt>
167<dd><p>Update</p>
168</dd></dl>
169
170</dd></dl>
171
172</div>
173</div>
174
175
176          </div>
177        </div>
178      </div>
179      <div class="sphinxsidebar">
180        <div class="sphinxsidebarwrapper">
181  <h3><a href="../index.html">Table Of Contents</a></h3>
182  <ul>
183<li><a class="reference internal" href="#">plottable_interactor</a><ul>
184<li><a class="reference internal" href="#danse-common-plottools-plottable-interactor"><tt class="docutils literal"><span class="pre">danse.common.plottools.plottable_interactor</span></tt></a></li>
185</ul>
186</li>
187</ul>
188
189  <h4>Previous topic</h4>
190  <p class="topless"><a href="PlotPanel.html"
191                        title="previous chapter">PlotPanel</a></p>
192  <h4>Next topic</h4>
193  <p class="topless"><a href="plottables.html"
194                        title="next chapter">plottables</a></p>
195  <h3>This Page</h3>
196  <ul class="this-page-menu">
197    <li><a href="../_sources/api/plottable_interactor.txt"
198           rel="nofollow">Show Source</a></li>
199  </ul>
200<div id="searchbox" style="display: none">
201  <h3>Quick search</h3>
202    <form class="search" action="../search.html" method="get">
203      <input type="text" name="q" />
204      <input type="submit" value="Go" />
205      <input type="hidden" name="check_keywords" value="yes" />
206      <input type="hidden" name="area" value="default" />
207    </form>
208    <p class="searchtip" style="font-size: 90%">
209    Enter search terms or a module, class or function name.
210    </p>
211</div>
212<script type="text/javascript">$('#searchbox').show(0);</script>
213        </div>
214      </div>
215      <div class="clearer"></div>
216    </div>
217    <div class="related">
218      <h3>Navigation</h3>
219      <ul>
220        <li class="right" style="margin-right: 10px">
221          <a href="../genindex.html" title="General Index"
222             >index</a></li>
223        <li class="right" >
224          <a href="../py-modindex.html" title="Python Module Index"
225             >modules</a> |</li>
226        <li class="right" >
227          <a href="plottables.html" title="plottables"
228             >next</a> |</li>
229        <li class="right" >
230          <a href="PlotPanel.html" title="PlotPanel"
231             >previous</a> |</li>
232        <li><a href="../index.html">plottools 0.10 documentation</a> &raquo;</li>
233          <li><a href="index.html" >Reference</a> &raquo;</li> 
234      </ul>
235    </div>
236    <div class="footer">
237        &copy; Copyright 2010, sans/reflectometry group.
238      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.
239    </div>
240  </body>
241</html>
Note: See TracBrowser for help on using the repository browser.