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>Plotter1D — guiframe 0.1.0 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.1.0', |
---|
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="guiframe 0.1.0 documentation" href="../../../index.html" /> |
---|
29 | <link rel="up" title="Local Perspective: plotting" href="index.html" /> |
---|
30 | <link rel="next" title="Plotter2D" href="Plotter2D.html" /> |
---|
31 | <link rel="prev" title="masking" href="masking.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="Plotter2D.html" title="Plotter2D" |
---|
45 | accesskey="N">next</a> |</li> |
---|
46 | <li class="right" > |
---|
47 | <a href="masking.html" title="masking" |
---|
48 | accesskey="P">previous</a> |</li> |
---|
49 | <li><a href="../../../index.html">guiframe 0.1.0 documentation</a> »</li> |
---|
50 | <li><a href="index.html" accesskey="U">Local Perspective: plotting</a> »</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="plotter1d"> |
---|
60 | <h1>Plotter1D<a class="headerlink" href="#plotter1d" title="Permalink to this headline">¶</a></h1> |
---|
61 | <div class="section" id="sans-guiframe-local-perspectives-plotting-plotter1d"> |
---|
62 | <h2><a class="reference internal" href="#module-sans.guiframe.local_perspectives.plotting.Plotter1D" title="sans.guiframe.local_perspectives.plotting.Plotter1D"><tt class="xref py py-mod docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.Plotter1D</span></tt></a><a class="headerlink" href="#sans-guiframe-local-perspectives-plotting-plotter1d" title="Permalink to this headline">¶</a></h2> |
---|
63 | <span class="target" id="module-sans.guiframe.local_perspectives.plotting.Plotter1D"></span><dl class="class"> |
---|
64 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D"> |
---|
65 | <em class="property">class </em><tt class="descclassname">sans.guiframe.local_perspectives.plotting.Plotter1D.</tt><tt class="descname">ModelPanel1D</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D" title="Permalink to this definition">¶</a></dt> |
---|
66 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">danse.common.plottools.PlotPanel.PlotPanel</span></tt>, <a class="reference internal" href="../../panel_base.html#sans.guiframe.panel_base.PanelBase" title="sans.guiframe.panel_base.PanelBase"><tt class="xref py py-class docutils literal"><span class="pre">sans.guiframe.panel_base.PanelBase</span></tt></a></p> |
---|
67 | <p>Plot panel for use with the GUI manager</p> |
---|
68 | <dl class="attribute"> |
---|
69 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ALWAYS_ON"> |
---|
70 | <tt class="descname">ALWAYS_ON</tt><em class="property"> = True</em><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ALWAYS_ON" title="Permalink to this definition">¶</a></dt> |
---|
71 | <dd></dd></dl> |
---|
72 | |
---|
73 | <dl class="attribute"> |
---|
74 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.AcceleratorTable"> |
---|
75 | <tt class="descname">AcceleratorTable</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.AcceleratorTable" title="Permalink to this definition">¶</a></dt> |
---|
76 | <dd><p>See <cite>GetAcceleratorTable</cite> and <cite>SetAcceleratorTable</cite></p> |
---|
77 | </dd></dl> |
---|
78 | |
---|
79 | <dl class="method"> |
---|
80 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.AcceptsFocus"> |
---|
81 | <tt class="descname">AcceptsFocus</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.AcceptsFocus" title="Permalink to this definition">¶</a></dt> |
---|
82 | <dd><p>Can this window have focus?</p> |
---|
83 | </dd></dl> |
---|
84 | |
---|
85 | <dl class="method"> |
---|
86 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.AcceptsFocusFromKeyboard"> |
---|
87 | <tt class="descname">AcceptsFocusFromKeyboard</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.AcceptsFocusFromKeyboard" title="Permalink to this definition">¶</a></dt> |
---|
88 | <dd><p>Can this window be given focus by keyboard navigation? if not, the |
---|
89 | only way to give it focus (provided it accepts it at all) is to click |
---|
90 | it.</p> |
---|
91 | </dd></dl> |
---|
92 | |
---|
93 | <dl class="method"> |
---|
94 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.AddChild"> |
---|
95 | <tt class="descname">AddChild</tt><big>(</big><em>self</em>, <em>Window child</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.AddChild" title="Permalink to this definition">¶</a></dt> |
---|
96 | <dd><p>Adds a child window. This is called automatically by window creation |
---|
97 | functions so should not be required by the application programmer.</p> |
---|
98 | </dd></dl> |
---|
99 | |
---|
100 | <dl class="method"> |
---|
101 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.AddPendingEvent"> |
---|
102 | <tt class="descname">AddPendingEvent</tt><big>(</big><em>self</em>, <em>Event event</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.AddPendingEvent" title="Permalink to this definition">¶</a></dt> |
---|
103 | <dd></dd></dl> |
---|
104 | |
---|
105 | <dl class="method"> |
---|
106 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.AdjustForLayoutDirection"> |
---|
107 | <tt class="descname">AdjustForLayoutDirection</tt><big>(</big><em>self</em>, <em>int x</em>, <em>int width</em>, <em>int widthTotal</em><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.AdjustForLayoutDirection" title="Permalink to this definition">¶</a></dt> |
---|
108 | <dd><p>Mirror coordinates for RTL layout if this window uses it and if the |
---|
109 | mirroring is not done automatically like Win32.</p> |
---|
110 | </dd></dl> |
---|
111 | |
---|
112 | <dl class="method"> |
---|
113 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.AssociateHandle"> |
---|
114 | <tt class="descname">AssociateHandle</tt><big>(</big><em>self</em>, <em>long handle</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.AssociateHandle" title="Permalink to this definition">¶</a></dt> |
---|
115 | <dd><p>Associate the window with a new native handle</p> |
---|
116 | </dd></dl> |
---|
117 | |
---|
118 | <dl class="attribute"> |
---|
119 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.AutoLayout"> |
---|
120 | <tt class="descname">AutoLayout</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.AutoLayout" title="Permalink to this definition">¶</a></dt> |
---|
121 | <dd><p>See <cite>GetAutoLayout</cite> and <cite>SetAutoLayout</cite></p> |
---|
122 | </dd></dl> |
---|
123 | |
---|
124 | <dl class="attribute"> |
---|
125 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.BackgroundColour"> |
---|
126 | <tt class="descname">BackgroundColour</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.BackgroundColour" title="Permalink to this definition">¶</a></dt> |
---|
127 | <dd><p>See <cite>GetBackgroundColour</cite> and <cite>SetBackgroundColour</cite></p> |
---|
128 | </dd></dl> |
---|
129 | |
---|
130 | <dl class="attribute"> |
---|
131 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.BackgroundStyle"> |
---|
132 | <tt class="descname">BackgroundStyle</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.BackgroundStyle" title="Permalink to this definition">¶</a></dt> |
---|
133 | <dd><p>See <cite>GetBackgroundStyle</cite> and <cite>SetBackgroundStyle</cite></p> |
---|
134 | </dd></dl> |
---|
135 | |
---|
136 | <dl class="attribute"> |
---|
137 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.BestSize"> |
---|
138 | <tt class="descname">BestSize</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.BestSize" title="Permalink to this definition">¶</a></dt> |
---|
139 | <dd><p>See <cite>GetBestSize</cite></p> |
---|
140 | </dd></dl> |
---|
141 | |
---|
142 | <dl class="attribute"> |
---|
143 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.BestVirtualSize"> |
---|
144 | <tt class="descname">BestVirtualSize</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.BestVirtualSize" title="Permalink to this definition">¶</a></dt> |
---|
145 | <dd><p>See <cite>GetBestVirtualSize</cite></p> |
---|
146 | </dd></dl> |
---|
147 | |
---|
148 | <dl class="method"> |
---|
149 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Bind"> |
---|
150 | <tt class="descname">Bind</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Bind" title="Permalink to this definition">¶</a></dt> |
---|
151 | <dd><p>Bind an event to an event handler.</p> |
---|
152 | <table class="docutils field-list" frame="void" rules="none"> |
---|
153 | <col class="field-name" /> |
---|
154 | <col class="field-body" /> |
---|
155 | <tbody valign="top"> |
---|
156 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
157 | <li><strong>event</strong> – One of the EVT_* objects that specifies the |
---|
158 | type of event to bind,</li> |
---|
159 | <li><strong>handler</strong> – A callable object to be invoked when the |
---|
160 | event is delivered to self. Pass None to |
---|
161 | disconnect an event handler.</li> |
---|
162 | <li><strong>source</strong> – Sometimes the event originates from a |
---|
163 | different window than self, but you still |
---|
164 | want to catch it in self. (For example, a |
---|
165 | button event delivered to a frame.) By |
---|
166 | passing the source of the event, the event |
---|
167 | handling system is able to differentiate |
---|
168 | between the same event type from different |
---|
169 | controls.</li> |
---|
170 | <li><strong>id</strong> – Used to spcify the event source by ID instead |
---|
171 | of instance.</li> |
---|
172 | <li><strong>id2</strong> – Used when it is desirable to bind a handler |
---|
173 | to a range of IDs, such as with EVT_MENU_RANGE.</li> |
---|
174 | </ul> |
---|
175 | </td> |
---|
176 | </tr> |
---|
177 | </tbody> |
---|
178 | </table> |
---|
179 | </dd></dl> |
---|
180 | |
---|
181 | <dl class="attribute"> |
---|
182 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Border"> |
---|
183 | <tt class="descname">Border</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Border" title="Permalink to this definition">¶</a></dt> |
---|
184 | <dd><p>See <cite>GetBorder</cite></p> |
---|
185 | </dd></dl> |
---|
186 | |
---|
187 | <dl class="method"> |
---|
188 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.CacheBestSize"> |
---|
189 | <tt class="descname">CacheBestSize</tt><big>(</big><em>self</em>, <em>Size size</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.CacheBestSize" title="Permalink to this definition">¶</a></dt> |
---|
190 | <dd><p>Cache the best size so it doesn’t need to be calculated again, (at least until |
---|
191 | some properties of the window change.)</p> |
---|
192 | </dd></dl> |
---|
193 | |
---|
194 | <dl class="method"> |
---|
195 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.CanSetTransparent"> |
---|
196 | <tt class="descname">CanSetTransparent</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.CanSetTransparent" title="Permalink to this definition">¶</a></dt> |
---|
197 | <dd><p>Returns <tt class="docutils literal"><span class="pre">True</span></tt> if the platform supports setting the transparency for |
---|
198 | this window. Note that this method will err on the side of caution, |
---|
199 | so it is possible that this will return <tt class="docutils literal"><span class="pre">False</span></tt> when it is in fact |
---|
200 | possible to set the transparency.</p> |
---|
201 | <p>NOTE: On X-windows systems the X server must have the composite |
---|
202 | extension loaded, and there must be a composite manager program (such |
---|
203 | as xcompmgr) running.</p> |
---|
204 | </dd></dl> |
---|
205 | |
---|
206 | <dl class="method"> |
---|
207 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.CaptureMouse"> |
---|
208 | <tt class="descname">CaptureMouse</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.CaptureMouse" title="Permalink to this definition">¶</a></dt> |
---|
209 | <dd><p>Directs all mouse input to this window. Call wx.Window.ReleaseMouse to |
---|
210 | release the capture.</p> |
---|
211 | <p>Note that wxWindows maintains the stack of windows having captured the |
---|
212 | mouse and when the mouse is released the capture returns to the window |
---|
213 | which had had captured it previously and it is only really released if |
---|
214 | there were no previous window. In particular, this means that you must |
---|
215 | release the mouse as many times as you capture it, unless the window |
---|
216 | receives the <cite>wx.MouseCaptureLostEvent</cite> event.</p> |
---|
217 | <p>Any application which captures the mouse in the beginning of some |
---|
218 | operation <em>must</em> handle <cite>wx.MouseCaptureLostEvent</cite> and cancel this |
---|
219 | operation when it receives the event. The event handler must not |
---|
220 | recapture mouse.</p> |
---|
221 | </dd></dl> |
---|
222 | |
---|
223 | <dl class="attribute"> |
---|
224 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Caret"> |
---|
225 | <tt class="descname">Caret</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Caret" title="Permalink to this definition">¶</a></dt> |
---|
226 | <dd><p>See <cite>GetCaret</cite> and <cite>SetCaret</cite></p> |
---|
227 | </dd></dl> |
---|
228 | |
---|
229 | <dl class="method"> |
---|
230 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Center"> |
---|
231 | <tt class="descname">Center</tt><big>(</big><em>self</em>, <em>int direction=BOTH</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Center" title="Permalink to this definition">¶</a></dt> |
---|
232 | <dd><p>Centers the window. The parameter specifies the direction for |
---|
233 | centering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may |
---|
234 | also include wx.CENTER_ON_SCREEN flag if you want to center the window |
---|
235 | on the entire screen and not on its parent window. If it is a |
---|
236 | top-level window and has no parent then it will always be centered |
---|
237 | relative to the screen.</p> |
---|
238 | </dd></dl> |
---|
239 | |
---|
240 | <dl class="method"> |
---|
241 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.CenterOnParent"> |
---|
242 | <tt class="descname">CenterOnParent</tt><big>(</big><em>self</em>, <em>int dir=BOTH</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.CenterOnParent" title="Permalink to this definition">¶</a></dt> |
---|
243 | <dd><p>Center with respect to the the parent window</p> |
---|
244 | </dd></dl> |
---|
245 | |
---|
246 | <dl class="method"> |
---|
247 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Centre"> |
---|
248 | <tt class="descname">Centre</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Centre" title="Permalink to this definition">¶</a></dt> |
---|
249 | <dd><p>Center(self, int direction=BOTH)</p> |
---|
250 | <p>Centers the window. The parameter specifies the direction for |
---|
251 | centering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may |
---|
252 | also include wx.CENTER_ON_SCREEN flag if you want to center the window |
---|
253 | on the entire screen and not on its parent window. If it is a |
---|
254 | top-level window and has no parent then it will always be centered |
---|
255 | relative to the screen.</p> |
---|
256 | </dd></dl> |
---|
257 | |
---|
258 | <dl class="method"> |
---|
259 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.CentreOnParent"> |
---|
260 | <tt class="descname">CentreOnParent</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.CentreOnParent" title="Permalink to this definition">¶</a></dt> |
---|
261 | <dd><p>CenterOnParent(self, int dir=BOTH)</p> |
---|
262 | <p>Center with respect to the the parent window</p> |
---|
263 | </dd></dl> |
---|
264 | |
---|
265 | <dl class="attribute"> |
---|
266 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.CharHeight"> |
---|
267 | <tt class="descname">CharHeight</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.CharHeight" title="Permalink to this definition">¶</a></dt> |
---|
268 | <dd><p>See <cite>GetCharHeight</cite></p> |
---|
269 | </dd></dl> |
---|
270 | |
---|
271 | <dl class="attribute"> |
---|
272 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.CharWidth"> |
---|
273 | <tt class="descname">CharWidth</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.CharWidth" title="Permalink to this definition">¶</a></dt> |
---|
274 | <dd><p>See <cite>GetCharWidth</cite></p> |
---|
275 | </dd></dl> |
---|
276 | |
---|
277 | <dl class="attribute"> |
---|
278 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Children"> |
---|
279 | <tt class="descname">Children</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Children" title="Permalink to this definition">¶</a></dt> |
---|
280 | <dd><p>See <cite>GetChildren</cite></p> |
---|
281 | </dd></dl> |
---|
282 | |
---|
283 | <dl class="attribute"> |
---|
284 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ClassName"> |
---|
285 | <tt class="descname">ClassName</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ClassName" title="Permalink to this definition">¶</a></dt> |
---|
286 | <dd><p>See <cite>GetClassName</cite></p> |
---|
287 | </dd></dl> |
---|
288 | |
---|
289 | <dl class="method"> |
---|
290 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ClearBackground"> |
---|
291 | <tt class="descname">ClearBackground</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ClearBackground" title="Permalink to this definition">¶</a></dt> |
---|
292 | <dd><p>Clears the window by filling it with the current background |
---|
293 | colour. Does not cause an erase background event to be generated.</p> |
---|
294 | </dd></dl> |
---|
295 | |
---|
296 | <dl class="attribute"> |
---|
297 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ClientAreaOrigin"> |
---|
298 | <tt class="descname">ClientAreaOrigin</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ClientAreaOrigin" title="Permalink to this definition">¶</a></dt> |
---|
299 | <dd><p>See <cite>GetClientAreaOrigin</cite></p> |
---|
300 | </dd></dl> |
---|
301 | |
---|
302 | <dl class="attribute"> |
---|
303 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ClientRect"> |
---|
304 | <tt class="descname">ClientRect</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ClientRect" title="Permalink to this definition">¶</a></dt> |
---|
305 | <dd><p>See <cite>GetClientRect</cite> and <cite>SetClientRect</cite></p> |
---|
306 | </dd></dl> |
---|
307 | |
---|
308 | <dl class="attribute"> |
---|
309 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ClientSize"> |
---|
310 | <tt class="descname">ClientSize</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ClientSize" title="Permalink to this definition">¶</a></dt> |
---|
311 | <dd><p>See <cite>GetClientSize</cite> and <cite>SetClientSize</cite></p> |
---|
312 | </dd></dl> |
---|
313 | |
---|
314 | <dl class="method"> |
---|
315 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ClientToScreen"> |
---|
316 | <tt class="descname">ClientToScreen</tt><big>(</big><em>self</em>, <em>Point pt</em><big>)</big> → Point<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ClientToScreen" title="Permalink to this definition">¶</a></dt> |
---|
317 | <dd><p>Converts to screen coordinates from coordinates relative to this window.</p> |
---|
318 | </dd></dl> |
---|
319 | |
---|
320 | <dl class="method"> |
---|
321 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ClientToScreenXY"> |
---|
322 | <tt class="descname">ClientToScreenXY</tt><big>(</big><em>int x</em>, <em>int y) -> (x</em>, <em>y</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ClientToScreenXY" title="Permalink to this definition">¶</a></dt> |
---|
323 | <dd><p>Converts to screen coordinates from coordinates relative to this window.</p> |
---|
324 | </dd></dl> |
---|
325 | |
---|
326 | <dl class="method"> |
---|
327 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ClientToWindowSize"> |
---|
328 | <tt class="descname">ClientToWindowSize</tt><big>(</big><em>self</em>, <em>Size size</em><big>)</big> → Size<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ClientToWindowSize" title="Permalink to this definition">¶</a></dt> |
---|
329 | <dd></dd></dl> |
---|
330 | |
---|
331 | <dl class="method"> |
---|
332 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Close"> |
---|
333 | <tt class="descname">Close</tt><big>(</big><em>self</em>, <em>bool force=False</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Close" title="Permalink to this definition">¶</a></dt> |
---|
334 | <dd><p>This function simply generates a EVT_CLOSE event whose handler usually |
---|
335 | tries to close the window. It doesn’t close the window itself, |
---|
336 | however. If force is False (the default) then the window’s close |
---|
337 | handler will be allowed to veto the destruction of the window.</p> |
---|
338 | </dd></dl> |
---|
339 | |
---|
340 | <dl class="method"> |
---|
341 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Connect"> |
---|
342 | <tt class="descname">Connect</tt><big>(</big><em>self</em>, <em>int id</em>, <em>int lastId</em>, <em>int eventType</em>, <em>PyObject func</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Connect" title="Permalink to this definition">¶</a></dt> |
---|
343 | <dd></dd></dl> |
---|
344 | |
---|
345 | <dl class="attribute"> |
---|
346 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Constraints"> |
---|
347 | <tt class="descname">Constraints</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Constraints" title="Permalink to this definition">¶</a></dt> |
---|
348 | <dd><p>See <cite>GetConstraints</cite> and <cite>SetConstraints</cite></p> |
---|
349 | </dd></dl> |
---|
350 | |
---|
351 | <dl class="attribute"> |
---|
352 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ContainingSizer"> |
---|
353 | <tt class="descname">ContainingSizer</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ContainingSizer" title="Permalink to this definition">¶</a></dt> |
---|
354 | <dd><p>See <cite>GetContainingSizer</cite> and <cite>SetContainingSizer</cite></p> |
---|
355 | </dd></dl> |
---|
356 | |
---|
357 | <dl class="method"> |
---|
358 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ConvertDialogPointToPixels"> |
---|
359 | <tt class="descname">ConvertDialogPointToPixels</tt><big>(</big><em>self</em>, <em>Point pt</em><big>)</big> → Point<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ConvertDialogPointToPixels" title="Permalink to this definition">¶</a></dt> |
---|
360 | <dd><p>Converts a point or size from dialog units to pixels. Dialog units |
---|
361 | are used for maintaining a dialog’s proportions even if the font |
---|
362 | changes. For the x dimension, the dialog units are multiplied by the |
---|
363 | average character width and then divided by 4. For the y dimension, |
---|
364 | the dialog units are multiplied by the average character height and |
---|
365 | then divided by 8.</p> |
---|
366 | </dd></dl> |
---|
367 | |
---|
368 | <dl class="method"> |
---|
369 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ConvertDialogSizeToPixels"> |
---|
370 | <tt class="descname">ConvertDialogSizeToPixels</tt><big>(</big><em>self</em>, <em>Size sz</em><big>)</big> → Size<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ConvertDialogSizeToPixels" title="Permalink to this definition">¶</a></dt> |
---|
371 | <dd><p>Converts a point or size from dialog units to pixels. Dialog units |
---|
372 | are used for maintaining a dialog’s proportions even if the font |
---|
373 | changes. For the x dimension, the dialog units are multiplied by the |
---|
374 | average character width and then divided by 4. For the y dimension, |
---|
375 | the dialog units are multiplied by the average character height and |
---|
376 | then divided by 8.</p> |
---|
377 | </dd></dl> |
---|
378 | |
---|
379 | <dl class="method"> |
---|
380 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ConvertPixelPointToDialog"> |
---|
381 | <tt class="descname">ConvertPixelPointToDialog</tt><big>(</big><em>self</em>, <em>Point pt</em><big>)</big> → Point<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ConvertPixelPointToDialog" title="Permalink to this definition">¶</a></dt> |
---|
382 | <dd></dd></dl> |
---|
383 | |
---|
384 | <dl class="method"> |
---|
385 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ConvertPixelSizeToDialog"> |
---|
386 | <tt class="descname">ConvertPixelSizeToDialog</tt><big>(</big><em>self</em>, <em>Size sz</em><big>)</big> → Size<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ConvertPixelSizeToDialog" title="Permalink to this definition">¶</a></dt> |
---|
387 | <dd></dd></dl> |
---|
388 | |
---|
389 | <dl class="method"> |
---|
390 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Create"> |
---|
391 | <tt class="descname">Create</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Create" title="Permalink to this definition">¶</a></dt> |
---|
392 | <dd><dl class="docutils"> |
---|
393 | <dt>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, </dt> |
---|
394 | <dd>Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, |
---|
395 | String name=PanelNameStr) -> bool</dd> |
---|
396 | </dl> |
---|
397 | <p>Create the GUI part of the Window for 2-phase creation mode.</p> |
---|
398 | </dd></dl> |
---|
399 | |
---|
400 | <dl class="attribute"> |
---|
401 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Cursor"> |
---|
402 | <tt class="descname">Cursor</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Cursor" title="Permalink to this definition">¶</a></dt> |
---|
403 | <dd><p>See <cite>GetCursor</cite> and <cite>SetCursor</cite></p> |
---|
404 | </dd></dl> |
---|
405 | |
---|
406 | <dl class="method"> |
---|
407 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.DLG_PNT"> |
---|
408 | <tt class="descname">DLG_PNT</tt><big>(</big><em>self</em>, <em>Point pt</em><big>)</big> → Point<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.DLG_PNT" title="Permalink to this definition">¶</a></dt> |
---|
409 | <dd><p>Converts a point or size from dialog units to pixels. Dialog units |
---|
410 | are used for maintaining a dialog’s proportions even if the font |
---|
411 | changes. For the x dimension, the dialog units are multiplied by the |
---|
412 | average character width and then divided by 4. For the y dimension, |
---|
413 | the dialog units are multiplied by the average character height and |
---|
414 | then divided by 8.</p> |
---|
415 | </dd></dl> |
---|
416 | |
---|
417 | <dl class="method"> |
---|
418 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.DLG_SZE"> |
---|
419 | <tt class="descname">DLG_SZE</tt><big>(</big><em>self</em>, <em>Size sz</em><big>)</big> → Size<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.DLG_SZE" title="Permalink to this definition">¶</a></dt> |
---|
420 | <dd><p>Converts a point or size from dialog units to pixels. Dialog units |
---|
421 | are used for maintaining a dialog’s proportions even if the font |
---|
422 | changes. For the x dimension, the dialog units are multiplied by the |
---|
423 | average character width and then divided by 4. For the y dimension, |
---|
424 | the dialog units are multiplied by the average character height and |
---|
425 | then divided by 8.</p> |
---|
426 | </dd></dl> |
---|
427 | |
---|
428 | <dl class="attribute"> |
---|
429 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.DefaultAttributes"> |
---|
430 | <tt class="descname">DefaultAttributes</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.DefaultAttributes" title="Permalink to this definition">¶</a></dt> |
---|
431 | <dd><p>See <cite>GetDefaultAttributes</cite></p> |
---|
432 | </dd></dl> |
---|
433 | |
---|
434 | <dl class="method"> |
---|
435 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Destroy"> |
---|
436 | <tt class="descname">Destroy</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Destroy" title="Permalink to this definition">¶</a></dt> |
---|
437 | <dd><p>Destroys the window safely. Frames and dialogs are not destroyed |
---|
438 | immediately when this function is called – they are added to a list |
---|
439 | of windows to be deleted on idle time, when all the window’s events |
---|
440 | have been processed. This prevents problems with events being sent to |
---|
441 | non-existent windows.</p> |
---|
442 | <p>Returns True if the window has either been successfully deleted, or it |
---|
443 | has been added to the list of windows pending real deletion.</p> |
---|
444 | </dd></dl> |
---|
445 | |
---|
446 | <dl class="method"> |
---|
447 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.DestroyChildren"> |
---|
448 | <tt class="descname">DestroyChildren</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.DestroyChildren" title="Permalink to this definition">¶</a></dt> |
---|
449 | <dd><p>Destroys all children of a window. Called automatically by the |
---|
450 | destructor.</p> |
---|
451 | </dd></dl> |
---|
452 | |
---|
453 | <dl class="method"> |
---|
454 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Disable"> |
---|
455 | <tt class="descname">Disable</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Disable" title="Permalink to this definition">¶</a></dt> |
---|
456 | <dd><p>Disables the window, same as Enable(false).</p> |
---|
457 | </dd></dl> |
---|
458 | |
---|
459 | <dl class="method"> |
---|
460 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Disconnect"> |
---|
461 | <tt class="descname">Disconnect</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Disconnect" title="Permalink to this definition">¶</a></dt> |
---|
462 | <dd><p>Disconnect(self, int id, int lastId=-1, EventType eventType=wxEVT_NULL, |
---|
463 | PyObject func=None) -> bool</p> |
---|
464 | </dd></dl> |
---|
465 | |
---|
466 | <dl class="method"> |
---|
467 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.DissociateHandle"> |
---|
468 | <tt class="descname">DissociateHandle</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.DissociateHandle" title="Permalink to this definition">¶</a></dt> |
---|
469 | <dd><p>Dissociate the current native handle from the window</p> |
---|
470 | </dd></dl> |
---|
471 | |
---|
472 | <dl class="method"> |
---|
473 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.DragAcceptFiles"> |
---|
474 | <tt class="descname">DragAcceptFiles</tt><big>(</big><em>self</em>, <em>bool accept</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.DragAcceptFiles" title="Permalink to this definition">¶</a></dt> |
---|
475 | <dd><p>Enables or disables eligibility for drop file events, EVT_DROP_FILES.</p> |
---|
476 | </dd></dl> |
---|
477 | |
---|
478 | <dl class="attribute"> |
---|
479 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.DropTarget"> |
---|
480 | <tt class="descname">DropTarget</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.DropTarget" title="Permalink to this definition">¶</a></dt> |
---|
481 | <dd><p>See <cite>GetDropTarget</cite> and <cite>SetDropTarget</cite></p> |
---|
482 | </dd></dl> |
---|
483 | |
---|
484 | <dl class="attribute"> |
---|
485 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.EffectiveMinSize"> |
---|
486 | <tt class="descname">EffectiveMinSize</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.EffectiveMinSize" title="Permalink to this definition">¶</a></dt> |
---|
487 | <dd><p>See <cite>GetEffectiveMinSize</cite></p> |
---|
488 | </dd></dl> |
---|
489 | |
---|
490 | <dl class="method"> |
---|
491 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Enable"> |
---|
492 | <tt class="descname">Enable</tt><big>(</big><em>self</em>, <em>bool enable=True</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Enable" title="Permalink to this definition">¶</a></dt> |
---|
493 | <dd><p>Enable or disable the window for user input. Note that when a parent |
---|
494 | window is disabled, all of its children are disabled as well and they |
---|
495 | are reenabled again when the parent is. Returns true if the window |
---|
496 | has been enabled or disabled, false if nothing was done, i.e. if the |
---|
497 | window had already been in the specified state.</p> |
---|
498 | </dd></dl> |
---|
499 | |
---|
500 | <dl class="attribute"> |
---|
501 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Enabled"> |
---|
502 | <tt class="descname">Enabled</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Enabled" title="Permalink to this definition">¶</a></dt> |
---|
503 | <dd><p>See <cite>IsEnabled</cite> and <cite>Enable</cite></p> |
---|
504 | </dd></dl> |
---|
505 | |
---|
506 | <dl class="attribute"> |
---|
507 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.EventHandler"> |
---|
508 | <tt class="descname">EventHandler</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.EventHandler" title="Permalink to this definition">¶</a></dt> |
---|
509 | <dd><p>See <cite>GetEventHandler</cite> and <cite>SetEventHandler</cite></p> |
---|
510 | </dd></dl> |
---|
511 | |
---|
512 | <dl class="attribute"> |
---|
513 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.EvtHandlerEnabled"> |
---|
514 | <tt class="descname">EvtHandlerEnabled</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.EvtHandlerEnabled" title="Permalink to this definition">¶</a></dt> |
---|
515 | <dd><p>See <cite>GetEvtHandlerEnabled</cite> and <cite>SetEvtHandlerEnabled</cite></p> |
---|
516 | </dd></dl> |
---|
517 | |
---|
518 | <dl class="attribute"> |
---|
519 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ExtraStyle"> |
---|
520 | <tt class="descname">ExtraStyle</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ExtraStyle" title="Permalink to this definition">¶</a></dt> |
---|
521 | <dd><p>See <cite>GetExtraStyle</cite> and <cite>SetExtraStyle</cite></p> |
---|
522 | </dd></dl> |
---|
523 | |
---|
524 | <dl class="staticmethod"> |
---|
525 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.FindFocus"> |
---|
526 | <em class="property">static </em><tt class="descname">FindFocus</tt><big>(</big><big>)</big> → Window<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.FindFocus" title="Permalink to this definition">¶</a></dt> |
---|
527 | <dd><p>Returns the window or control that currently has the keyboard focus, |
---|
528 | or None.</p> |
---|
529 | </dd></dl> |
---|
530 | |
---|
531 | <dl class="method"> |
---|
532 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.FindWindowById"> |
---|
533 | <tt class="descname">FindWindowById</tt><big>(</big><em>self</em>, <em>long winid</em><big>)</big> → Window<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.FindWindowById" title="Permalink to this definition">¶</a></dt> |
---|
534 | <dd><p>Find a child of this window by window ID</p> |
---|
535 | </dd></dl> |
---|
536 | |
---|
537 | <dl class="method"> |
---|
538 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.FindWindowByLabel"> |
---|
539 | <tt class="descname">FindWindowByLabel</tt><big>(</big><em>self</em>, <em>String label</em><big>)</big> → Window<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.FindWindowByLabel" title="Permalink to this definition">¶</a></dt> |
---|
540 | <dd><p>Find a child of this window by label</p> |
---|
541 | </dd></dl> |
---|
542 | |
---|
543 | <dl class="method"> |
---|
544 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.FindWindowByName"> |
---|
545 | <tt class="descname">FindWindowByName</tt><big>(</big><em>self</em>, <em>String name</em><big>)</big> → Window<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.FindWindowByName" title="Permalink to this definition">¶</a></dt> |
---|
546 | <dd><p>Find a child of this window by name</p> |
---|
547 | </dd></dl> |
---|
548 | |
---|
549 | <dl class="method"> |
---|
550 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Fit"> |
---|
551 | <tt class="descname">Fit</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Fit" title="Permalink to this definition">¶</a></dt> |
---|
552 | <dd><p>Sizes the window so that it fits around its subwindows. This function |
---|
553 | won’t do anything if there are no subwindows and will only really work |
---|
554 | correctly if sizers are used for the subwindows layout. Also, if the |
---|
555 | window has exactly one subwindow it is better (faster and the result |
---|
556 | is more precise as Fit adds some margin to account for fuzziness of |
---|
557 | its calculations) to call window.SetClientSize(child.GetSize()) |
---|
558 | instead of calling Fit.</p> |
---|
559 | </dd></dl> |
---|
560 | |
---|
561 | <dl class="method"> |
---|
562 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.FitInside"> |
---|
563 | <tt class="descname">FitInside</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.FitInside" title="Permalink to this definition">¶</a></dt> |
---|
564 | <dd><p>Similar to Fit, but sizes the interior (virtual) size of a |
---|
565 | window. Mainly useful with scrolled windows to reset scrollbars after |
---|
566 | sizing changes that do not trigger a size event, and/or scrolled |
---|
567 | windows without an interior sizer. This function similarly won’t do |
---|
568 | anything if there are no subwindows.</p> |
---|
569 | </dd></dl> |
---|
570 | |
---|
571 | <dl class="attribute"> |
---|
572 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Font"> |
---|
573 | <tt class="descname">Font</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Font" title="Permalink to this definition">¶</a></dt> |
---|
574 | <dd><p>See <cite>GetFont</cite> and <cite>SetFont</cite></p> |
---|
575 | </dd></dl> |
---|
576 | |
---|
577 | <dl class="attribute"> |
---|
578 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ForegroundColour"> |
---|
579 | <tt class="descname">ForegroundColour</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ForegroundColour" title="Permalink to this definition">¶</a></dt> |
---|
580 | <dd><p>See <cite>GetForegroundColour</cite> and <cite>SetForegroundColour</cite></p> |
---|
581 | </dd></dl> |
---|
582 | |
---|
583 | <dl class="method"> |
---|
584 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Freeze"> |
---|
585 | <tt class="descname">Freeze</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Freeze" title="Permalink to this definition">¶</a></dt> |
---|
586 | <dd><p>Freezes the window or, in other words, prevents any updates from |
---|
587 | taking place on screen, the window is not redrawn at all. Thaw must be |
---|
588 | called to reenable window redrawing. Calls to Freeze/Thaw may be |
---|
589 | nested, with the actual Thaw being delayed until all the nesting has |
---|
590 | been undone.</p> |
---|
591 | <p>This method is useful for visual appearance optimization (for example, |
---|
592 | it is a good idea to use it before inserting large amount of text into |
---|
593 | a wxTextCtrl under wxGTK) but is not implemented on all platforms nor |
---|
594 | for all controls so it is mostly just a hint to wxWindows and not a |
---|
595 | mandatory directive.</p> |
---|
596 | </dd></dl> |
---|
597 | |
---|
598 | <dl class="method"> |
---|
599 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetAcceleratorTable"> |
---|
600 | <tt class="descname">GetAcceleratorTable</tt><big>(</big><em>self</em><big>)</big> → AcceleratorTable<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetAcceleratorTable" title="Permalink to this definition">¶</a></dt> |
---|
601 | <dd><p>Gets the accelerator table for this window.</p> |
---|
602 | </dd></dl> |
---|
603 | |
---|
604 | <dl class="method"> |
---|
605 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetAdjustedBestSize"> |
---|
606 | <tt class="descname">GetAdjustedBestSize</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetAdjustedBestSize" title="Permalink to this definition">¶</a></dt> |
---|
607 | <dd><p>Use <cite>GetEffectiveMinSize</cite> instead.</p> |
---|
608 | </dd></dl> |
---|
609 | |
---|
610 | <dl class="method"> |
---|
611 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetAutoLayout"> |
---|
612 | <tt class="descname">GetAutoLayout</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetAutoLayout" title="Permalink to this definition">¶</a></dt> |
---|
613 | <dd><p>Returns the current autoLayout setting</p> |
---|
614 | </dd></dl> |
---|
615 | |
---|
616 | <dl class="method"> |
---|
617 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetBackgroundColour"> |
---|
618 | <tt class="descname">GetBackgroundColour</tt><big>(</big><em>self</em><big>)</big> → Colour<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetBackgroundColour" title="Permalink to this definition">¶</a></dt> |
---|
619 | <dd><p>Returns the background colour of the window.</p> |
---|
620 | </dd></dl> |
---|
621 | |
---|
622 | <dl class="method"> |
---|
623 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetBackgroundStyle"> |
---|
624 | <tt class="descname">GetBackgroundStyle</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetBackgroundStyle" title="Permalink to this definition">¶</a></dt> |
---|
625 | <dd><p>Returns the background style of the window.</p> |
---|
626 | <table class="docutils field-list" frame="void" rules="none"> |
---|
627 | <col class="field-name" /> |
---|
628 | <col class="field-body" /> |
---|
629 | <tbody valign="top"> |
---|
630 | <tr class="field-odd field"><th class="field-name">See :</th><td class="field-body"><cite>SetBackgroundStyle</cite></td> |
---|
631 | </tr> |
---|
632 | </tbody> |
---|
633 | </table> |
---|
634 | </dd></dl> |
---|
635 | |
---|
636 | <dl class="method"> |
---|
637 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetBestFittingSize"> |
---|
638 | <tt class="descname">GetBestFittingSize</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetBestFittingSize" title="Permalink to this definition">¶</a></dt> |
---|
639 | <dd><p>Use <cite>GetEffectiveMinSize</cite> instead.</p> |
---|
640 | </dd></dl> |
---|
641 | |
---|
642 | <dl class="method"> |
---|
643 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetBestSize"> |
---|
644 | <tt class="descname">GetBestSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetBestSize" title="Permalink to this definition">¶</a></dt> |
---|
645 | <dd><p>This function returns the best acceptable minimal size for the |
---|
646 | window, if applicable. For example, for a static text control, it will |
---|
647 | be the minimal size such that the control label is not truncated. For |
---|
648 | windows containing subwindows (such as wx.Panel), the size returned by |
---|
649 | this function will be the same as the size the window would have had |
---|
650 | after calling Fit.</p> |
---|
651 | </dd></dl> |
---|
652 | |
---|
653 | <dl class="method"> |
---|
654 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetBestSizeTuple"> |
---|
655 | <tt class="descname">GetBestSizeTuple</tt><big>(</big><em>) -> (width</em>, <em>height</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetBestSizeTuple" title="Permalink to this definition">¶</a></dt> |
---|
656 | <dd><p>This function returns the best acceptable minimal size for the |
---|
657 | window, if applicable. For example, for a static text control, it will |
---|
658 | be the minimal size such that the control label is not truncated. For |
---|
659 | windows containing subwindows (such as wx.Panel), the size returned by |
---|
660 | this function will be the same as the size the window would have had |
---|
661 | after calling Fit.</p> |
---|
662 | </dd></dl> |
---|
663 | |
---|
664 | <dl class="method"> |
---|
665 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetBestVirtualSize"> |
---|
666 | <tt class="descname">GetBestVirtualSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetBestVirtualSize" title="Permalink to this definition">¶</a></dt> |
---|
667 | <dd><p>Return the largest of ClientSize and BestSize (as determined by a |
---|
668 | sizer, interior children, or other means)</p> |
---|
669 | </dd></dl> |
---|
670 | |
---|
671 | <dl class="method"> |
---|
672 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetBorder"> |
---|
673 | <tt class="descname">GetBorder</tt><big>(</big><em>self</em>, <em>long flags</em><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetBorder" title="Permalink to this definition">¶</a></dt> |
---|
674 | <dd><p>GetBorder(self) -> int</p> |
---|
675 | <p>Get border for the flags of this window</p> |
---|
676 | </dd></dl> |
---|
677 | |
---|
678 | <dl class="staticmethod"> |
---|
679 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetCapture"> |
---|
680 | <em class="property">static </em><tt class="descname">GetCapture</tt><big>(</big><big>)</big> → Window<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetCapture" title="Permalink to this definition">¶</a></dt> |
---|
681 | <dd><p>Returns the window which currently captures the mouse or None</p> |
---|
682 | </dd></dl> |
---|
683 | |
---|
684 | <dl class="method"> |
---|
685 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetCaret"> |
---|
686 | <tt class="descname">GetCaret</tt><big>(</big><em>self</em><big>)</big> → Caret<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetCaret" title="Permalink to this definition">¶</a></dt> |
---|
687 | <dd><p>Returns the caret associated with the window.</p> |
---|
688 | </dd></dl> |
---|
689 | |
---|
690 | <dl class="method"> |
---|
691 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetCharHeight"> |
---|
692 | <tt class="descname">GetCharHeight</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetCharHeight" title="Permalink to this definition">¶</a></dt> |
---|
693 | <dd><p>Get the (average) character size for the current font.</p> |
---|
694 | </dd></dl> |
---|
695 | |
---|
696 | <dl class="method"> |
---|
697 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetCharWidth"> |
---|
698 | <tt class="descname">GetCharWidth</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetCharWidth" title="Permalink to this definition">¶</a></dt> |
---|
699 | <dd><p>Get the (average) character size for the current font.</p> |
---|
700 | </dd></dl> |
---|
701 | |
---|
702 | <dl class="method"> |
---|
703 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetChildren"> |
---|
704 | <tt class="descname">GetChildren</tt><big>(</big><em>self</em><big>)</big> → WindowList<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetChildren" title="Permalink to this definition">¶</a></dt> |
---|
705 | <dd><p>Returns an object containing a list of the window’s children. The |
---|
706 | object provides a Python sequence-like interface over the internal |
---|
707 | list maintained by the window..</p> |
---|
708 | </dd></dl> |
---|
709 | |
---|
710 | <dl class="staticmethod"> |
---|
711 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetClassDefaultAttributes"> |
---|
712 | <em class="property">static </em><tt class="descname">GetClassDefaultAttributes</tt><big>(</big><em>int variant=WINDOW_VARIANT_NORMAL</em><big>)</big> → VisualAttributes<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetClassDefaultAttributes" title="Permalink to this definition">¶</a></dt> |
---|
713 | <dd><p>Get the default attributes for this class. This is useful if you want |
---|
714 | to use the same font or colour in your own control as in a standard |
---|
715 | control – which is a much better idea than hard coding specific |
---|
716 | colours or fonts which might look completely out of place on the |
---|
717 | user’s system, especially if it uses themes.</p> |
---|
718 | <p>The variant parameter is only relevant under Mac currently and is |
---|
719 | ignore under other platforms. Under Mac, it will change the size of |
---|
720 | the returned font. See <cite>wx.Window.SetWindowVariant</cite> for more about |
---|
721 | this.</p> |
---|
722 | </dd></dl> |
---|
723 | |
---|
724 | <dl class="method"> |
---|
725 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetClassName"> |
---|
726 | <tt class="descname">GetClassName</tt><big>(</big><em>self</em><big>)</big> → String<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetClassName" title="Permalink to this definition">¶</a></dt> |
---|
727 | <dd><p>Returns the class name of the C++ class using wxRTTI.</p> |
---|
728 | </dd></dl> |
---|
729 | |
---|
730 | <dl class="method"> |
---|
731 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetClientAreaOrigin"> |
---|
732 | <tt class="descname">GetClientAreaOrigin</tt><big>(</big><em>self</em><big>)</big> → Point<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetClientAreaOrigin" title="Permalink to this definition">¶</a></dt> |
---|
733 | <dd><p>Get the origin of the client area of the window relative to the |
---|
734 | window’s top left corner (the client area may be shifted because of |
---|
735 | the borders, scrollbars, other decorations...)</p> |
---|
736 | </dd></dl> |
---|
737 | |
---|
738 | <dl class="method"> |
---|
739 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetClientRect"> |
---|
740 | <tt class="descname">GetClientRect</tt><big>(</big><em>self</em><big>)</big> → Rect<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetClientRect" title="Permalink to this definition">¶</a></dt> |
---|
741 | <dd><p>Get the client area position and size as a <cite>wx.Rect</cite> object.</p> |
---|
742 | </dd></dl> |
---|
743 | |
---|
744 | <dl class="method"> |
---|
745 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetClientSize"> |
---|
746 | <tt class="descname">GetClientSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetClientSize" title="Permalink to this definition">¶</a></dt> |
---|
747 | <dd><p>This gets the size of the window’s ‘client area’ in pixels. The client |
---|
748 | area is the area which may be drawn on by the programmer, excluding |
---|
749 | title bar, border, scrollbars, etc.</p> |
---|
750 | </dd></dl> |
---|
751 | |
---|
752 | <dl class="method"> |
---|
753 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetClientSizeTuple"> |
---|
754 | <tt class="descname">GetClientSizeTuple</tt><big>(</big><em>) -> (width</em>, <em>height</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetClientSizeTuple" title="Permalink to this definition">¶</a></dt> |
---|
755 | <dd><p>This gets the size of the window’s ‘client area’ in pixels. The client |
---|
756 | area is the area which may be drawn on by the programmer, excluding |
---|
757 | title bar, border, scrollbars, etc.</p> |
---|
758 | </dd></dl> |
---|
759 | |
---|
760 | <dl class="method"> |
---|
761 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetConstraints"> |
---|
762 | <tt class="descname">GetConstraints</tt><big>(</big><em>self</em><big>)</big> → LayoutConstraints<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetConstraints" title="Permalink to this definition">¶</a></dt> |
---|
763 | <dd><p>Returns a pointer to the window’s layout constraints, or None if there |
---|
764 | are none.</p> |
---|
765 | </dd></dl> |
---|
766 | |
---|
767 | <dl class="method"> |
---|
768 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetContainingSizer"> |
---|
769 | <tt class="descname">GetContainingSizer</tt><big>(</big><em>self</em><big>)</big> → Sizer<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetContainingSizer" title="Permalink to this definition">¶</a></dt> |
---|
770 | <dd><p>Return the sizer that this window is a member of, if any, otherwise None.</p> |
---|
771 | </dd></dl> |
---|
772 | |
---|
773 | <dl class="method"> |
---|
774 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetCursor"> |
---|
775 | <tt class="descname">GetCursor</tt><big>(</big><em>self</em><big>)</big> → Cursor<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetCursor" title="Permalink to this definition">¶</a></dt> |
---|
776 | <dd><p>Return the cursor associated with this window.</p> |
---|
777 | </dd></dl> |
---|
778 | |
---|
779 | <dl class="method"> |
---|
780 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetDefaultAttributes"> |
---|
781 | <tt class="descname">GetDefaultAttributes</tt><big>(</big><em>self</em><big>)</big> → VisualAttributes<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetDefaultAttributes" title="Permalink to this definition">¶</a></dt> |
---|
782 | <dd><p>Get the default attributes for an instance of this class. This is |
---|
783 | useful if you want to use the same font or colour in your own control |
---|
784 | as in a standard control – which is a much better idea than hard |
---|
785 | coding specific colours or fonts which might look completely out of |
---|
786 | place on the user’s system, especially if it uses themes.</p> |
---|
787 | </dd></dl> |
---|
788 | |
---|
789 | <dl class="method"> |
---|
790 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetDropTarget"> |
---|
791 | <tt class="descname">GetDropTarget</tt><big>(</big><em>self</em><big>)</big> → DropTarget<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetDropTarget" title="Permalink to this definition">¶</a></dt> |
---|
792 | <dd><p>Returns the associated drop target, which may be None.</p> |
---|
793 | </dd></dl> |
---|
794 | |
---|
795 | <dl class="method"> |
---|
796 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetEffectiveMinSize"> |
---|
797 | <tt class="descname">GetEffectiveMinSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetEffectiveMinSize" title="Permalink to this definition">¶</a></dt> |
---|
798 | <dd><p>This function will merge the window’s best size into the window’s |
---|
799 | minimum size, giving priority to the min size components, and returns |
---|
800 | the results.</p> |
---|
801 | </dd></dl> |
---|
802 | |
---|
803 | <dl class="method"> |
---|
804 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetEventHandler"> |
---|
805 | <tt class="descname">GetEventHandler</tt><big>(</big><em>self</em><big>)</big> → EvtHandler<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetEventHandler" title="Permalink to this definition">¶</a></dt> |
---|
806 | <dd><p>Returns the event handler for this window. By default, the window is |
---|
807 | its own event handler.</p> |
---|
808 | </dd></dl> |
---|
809 | |
---|
810 | <dl class="method"> |
---|
811 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetEvtHandlerEnabled"> |
---|
812 | <tt class="descname">GetEvtHandlerEnabled</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetEvtHandlerEnabled" title="Permalink to this definition">¶</a></dt> |
---|
813 | <dd></dd></dl> |
---|
814 | |
---|
815 | <dl class="method"> |
---|
816 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetExtraStyle"> |
---|
817 | <tt class="descname">GetExtraStyle</tt><big>(</big><em>self</em><big>)</big> → long<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetExtraStyle" title="Permalink to this definition">¶</a></dt> |
---|
818 | <dd><p>Returns the extra style bits for the window.</p> |
---|
819 | </dd></dl> |
---|
820 | |
---|
821 | <dl class="method"> |
---|
822 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetFont"> |
---|
823 | <tt class="descname">GetFont</tt><big>(</big><em>self</em><big>)</big> → Font<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetFont" title="Permalink to this definition">¶</a></dt> |
---|
824 | <dd><p>Returns the default font used for this window.</p> |
---|
825 | </dd></dl> |
---|
826 | |
---|
827 | <dl class="method"> |
---|
828 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetForegroundColour"> |
---|
829 | <tt class="descname">GetForegroundColour</tt><big>(</big><em>self</em><big>)</big> → Colour<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetForegroundColour" title="Permalink to this definition">¶</a></dt> |
---|
830 | <dd><p>Returns the foreground colour of the window. The interpretation of |
---|
831 | foreground colour is dependent on the window class; it may be the text |
---|
832 | colour or other colour, or it may not be used at all.</p> |
---|
833 | </dd></dl> |
---|
834 | |
---|
835 | <dl class="method"> |
---|
836 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetFullTextExtent"> |
---|
837 | <tt class="descname">GetFullTextExtent</tt><big>(</big><em>String string</em>, <em>Font font=None</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetFullTextExtent" title="Permalink to this definition">¶</a></dt> |
---|
838 | <dd><blockquote> |
---|
839 | <div>(width, height, descent, externalLeading)</div></blockquote> |
---|
840 | <p>Get the width, height, decent and leading of the text using the |
---|
841 | current or specified font.</p> |
---|
842 | </dd></dl> |
---|
843 | |
---|
844 | <dl class="method"> |
---|
845 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetGrandParent"> |
---|
846 | <tt class="descname">GetGrandParent</tt><big>(</big><em>self</em><big>)</big> → Window<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetGrandParent" title="Permalink to this definition">¶</a></dt> |
---|
847 | <dd><p>Returns the parent of the parent of this window, or None if there |
---|
848 | isn’t one.</p> |
---|
849 | </dd></dl> |
---|
850 | |
---|
851 | <dl class="method"> |
---|
852 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetGtkWidget"> |
---|
853 | <tt class="descname">GetGtkWidget</tt><big>(</big><em>self</em><big>)</big> → long<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetGtkWidget" title="Permalink to this definition">¶</a></dt> |
---|
854 | <dd><p>On wxGTK returns a pointer to the GtkWidget for this window as a long |
---|
855 | integer. On the other platforms this method returns zero.</p> |
---|
856 | </dd></dl> |
---|
857 | |
---|
858 | <dl class="method"> |
---|
859 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetHandle"> |
---|
860 | <tt class="descname">GetHandle</tt><big>(</big><em>self</em><big>)</big> → long<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetHandle" title="Permalink to this definition">¶</a></dt> |
---|
861 | <dd><p>Returns the platform-specific handle (as a long integer) of the |
---|
862 | physical window. On wxMSW this is the win32 window handle, on wxGTK |
---|
863 | it is the XWindow ID, and on wxMac it is the ControlRef.</p> |
---|
864 | </dd></dl> |
---|
865 | |
---|
866 | <dl class="method"> |
---|
867 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetHelpText"> |
---|
868 | <tt class="descname">GetHelpText</tt><big>(</big><em>self</em><big>)</big> → String<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetHelpText" title="Permalink to this definition">¶</a></dt> |
---|
869 | <dd><p>Gets the help text to be used as context-sensitive help for this |
---|
870 | window. Note that the text is actually stored by the current |
---|
871 | <cite>wx.HelpProvider</cite> implementation, and not in the window object itself.</p> |
---|
872 | </dd></dl> |
---|
873 | |
---|
874 | <dl class="method"> |
---|
875 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetHelpTextAtPoint"> |
---|
876 | <tt class="descname">GetHelpTextAtPoint</tt><big>(</big><em>self</em>, <em>Point pt</em>, <em>wxHelpEvent::Origin origin</em><big>)</big> → String<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetHelpTextAtPoint" title="Permalink to this definition">¶</a></dt> |
---|
877 | <dd><p>Get the help string associated with the given position in this window.</p> |
---|
878 | <p>Notice that pt may be invalid if event origin is keyboard or unknown |
---|
879 | and this method should return the global window help text then</p> |
---|
880 | </dd></dl> |
---|
881 | |
---|
882 | <dl class="method"> |
---|
883 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetId"> |
---|
884 | <tt class="descname">GetId</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetId" title="Permalink to this definition">¶</a></dt> |
---|
885 | <dd><p>Returns the identifier of the window. Each window has an integer |
---|
886 | identifier. If the application has not provided one (or the default Id |
---|
887 | -1 is used) then an unique identifier with a negative value will be |
---|
888 | generated.</p> |
---|
889 | </dd></dl> |
---|
890 | |
---|
891 | <dl class="method"> |
---|
892 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetLabel"> |
---|
893 | <tt class="descname">GetLabel</tt><big>(</big><em>self</em><big>)</big> → String<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetLabel" title="Permalink to this definition">¶</a></dt> |
---|
894 | <dd><p>Generic way of getting a label from any window, for identification |
---|
895 | purposes. The interpretation of this function differs from class to |
---|
896 | class. For frames and dialogs, the value returned is the title. For |
---|
897 | buttons or static text controls, it is the button text. This function |
---|
898 | can be useful for meta-programs such as testing tools or special-needs |
---|
899 | access programs)which need to identify windows by name.</p> |
---|
900 | </dd></dl> |
---|
901 | |
---|
902 | <dl class="method"> |
---|
903 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetLayoutDirection"> |
---|
904 | <tt class="descname">GetLayoutDirection</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetLayoutDirection" title="Permalink to this definition">¶</a></dt> |
---|
905 | <dd><p>Get the layout direction (LTR or RTL) for this window. Returns |
---|
906 | <tt class="docutils literal"><span class="pre">wx.Layout_Default</span></tt> if layout direction is not supported.</p> |
---|
907 | </dd></dl> |
---|
908 | |
---|
909 | <dl class="method"> |
---|
910 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetMaxHeight"> |
---|
911 | <tt class="descname">GetMaxHeight</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetMaxHeight" title="Permalink to this definition">¶</a></dt> |
---|
912 | <dd></dd></dl> |
---|
913 | |
---|
914 | <dl class="method"> |
---|
915 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetMaxSize"> |
---|
916 | <tt class="descname">GetMaxSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetMaxSize" title="Permalink to this definition">¶</a></dt> |
---|
917 | <dd></dd></dl> |
---|
918 | |
---|
919 | <dl class="method"> |
---|
920 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetMaxWidth"> |
---|
921 | <tt class="descname">GetMaxWidth</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetMaxWidth" title="Permalink to this definition">¶</a></dt> |
---|
922 | <dd></dd></dl> |
---|
923 | |
---|
924 | <dl class="method"> |
---|
925 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetMinHeight"> |
---|
926 | <tt class="descname">GetMinHeight</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetMinHeight" title="Permalink to this definition">¶</a></dt> |
---|
927 | <dd></dd></dl> |
---|
928 | |
---|
929 | <dl class="method"> |
---|
930 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetMinSize"> |
---|
931 | <tt class="descname">GetMinSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetMinSize" title="Permalink to this definition">¶</a></dt> |
---|
932 | <dd></dd></dl> |
---|
933 | |
---|
934 | <dl class="method"> |
---|
935 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetMinWidth"> |
---|
936 | <tt class="descname">GetMinWidth</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetMinWidth" title="Permalink to this definition">¶</a></dt> |
---|
937 | <dd></dd></dl> |
---|
938 | |
---|
939 | <dl class="method"> |
---|
940 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetName"> |
---|
941 | <tt class="descname">GetName</tt><big>(</big><em>self</em><big>)</big> → String<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetName" title="Permalink to this definition">¶</a></dt> |
---|
942 | <dd><p>Returns the windows name. This name is not guaranteed to be unique; |
---|
943 | it is up to the programmer to supply an appropriate name in the window |
---|
944 | constructor or via wx.Window.SetName.</p> |
---|
945 | </dd></dl> |
---|
946 | |
---|
947 | <dl class="method"> |
---|
948 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetNextHandler"> |
---|
949 | <tt class="descname">GetNextHandler</tt><big>(</big><em>self</em><big>)</big> → EvtHandler<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetNextHandler" title="Permalink to this definition">¶</a></dt> |
---|
950 | <dd></dd></dl> |
---|
951 | |
---|
952 | <dl class="method"> |
---|
953 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetParent"> |
---|
954 | <tt class="descname">GetParent</tt><big>(</big><em>self</em><big>)</big> → Window<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetParent" title="Permalink to this definition">¶</a></dt> |
---|
955 | <dd><p>Returns the parent window of this window, or None if there isn’t one.</p> |
---|
956 | </dd></dl> |
---|
957 | |
---|
958 | <dl class="method"> |
---|
959 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetPosition"> |
---|
960 | <tt class="descname">GetPosition</tt><big>(</big><em>self</em><big>)</big> → Point<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetPosition" title="Permalink to this definition">¶</a></dt> |
---|
961 | <dd><p>Get the window’s position. Notice that the position is in client |
---|
962 | coordinates for child windows and screen coordinates for the top level |
---|
963 | ones, use <cite>GetScreenPosition</cite> if you need screen coordinates for all |
---|
964 | kinds of windows.</p> |
---|
965 | </dd></dl> |
---|
966 | |
---|
967 | <dl class="method"> |
---|
968 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetPositionTuple"> |
---|
969 | <tt class="descname">GetPositionTuple</tt><big>(</big><em>) -> (x</em>, <em>y</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetPositionTuple" title="Permalink to this definition">¶</a></dt> |
---|
970 | <dd><p>Get the window’s position. Notice that the position is in client |
---|
971 | coordinates for child windows and screen coordinates for the top level |
---|
972 | ones, use <cite>GetScreenPosition</cite> if you need screen coordinates for all |
---|
973 | kinds of windows.</p> |
---|
974 | </dd></dl> |
---|
975 | |
---|
976 | <dl class="method"> |
---|
977 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetPreviousHandler"> |
---|
978 | <tt class="descname">GetPreviousHandler</tt><big>(</big><em>self</em><big>)</big> → EvtHandler<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetPreviousHandler" title="Permalink to this definition">¶</a></dt> |
---|
979 | <dd></dd></dl> |
---|
980 | |
---|
981 | <dl class="method"> |
---|
982 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetRect"> |
---|
983 | <tt class="descname">GetRect</tt><big>(</big><em>self</em><big>)</big> → Rect<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetRect" title="Permalink to this definition">¶</a></dt> |
---|
984 | <dd><p>Returns the size and position of the window as a <cite>wx.Rect</cite> object.</p> |
---|
985 | </dd></dl> |
---|
986 | |
---|
987 | <dl class="method"> |
---|
988 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetScreenPosition"> |
---|
989 | <tt class="descname">GetScreenPosition</tt><big>(</big><em>self</em><big>)</big> → Point<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetScreenPosition" title="Permalink to this definition">¶</a></dt> |
---|
990 | <dd><p>Get the position of the window in screen coordinantes.</p> |
---|
991 | </dd></dl> |
---|
992 | |
---|
993 | <dl class="method"> |
---|
994 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetScreenPositionTuple"> |
---|
995 | <tt class="descname">GetScreenPositionTuple</tt><big>(</big><em>) -> (x</em>, <em>y</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetScreenPositionTuple" title="Permalink to this definition">¶</a></dt> |
---|
996 | <dd><p>Get the position of the window in screen coordinantes.</p> |
---|
997 | </dd></dl> |
---|
998 | |
---|
999 | <dl class="method"> |
---|
1000 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetScreenRect"> |
---|
1001 | <tt class="descname">GetScreenRect</tt><big>(</big><em>self</em><big>)</big> → Rect<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetScreenRect" title="Permalink to this definition">¶</a></dt> |
---|
1002 | <dd><p>Returns the size and position of the window in screen coordinantes as |
---|
1003 | a <cite>wx.Rect</cite> object.</p> |
---|
1004 | </dd></dl> |
---|
1005 | |
---|
1006 | <dl class="method"> |
---|
1007 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetScrollPos"> |
---|
1008 | <tt class="descname">GetScrollPos</tt><big>(</big><em>self</em>, <em>int orientation</em><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetScrollPos" title="Permalink to this definition">¶</a></dt> |
---|
1009 | <dd><p>Returns the built-in scrollbar position.</p> |
---|
1010 | </dd></dl> |
---|
1011 | |
---|
1012 | <dl class="method"> |
---|
1013 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetScrollRange"> |
---|
1014 | <tt class="descname">GetScrollRange</tt><big>(</big><em>self</em>, <em>int orientation</em><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetScrollRange" title="Permalink to this definition">¶</a></dt> |
---|
1015 | <dd><p>Returns the built-in scrollbar range.</p> |
---|
1016 | </dd></dl> |
---|
1017 | |
---|
1018 | <dl class="method"> |
---|
1019 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetScrollThumb"> |
---|
1020 | <tt class="descname">GetScrollThumb</tt><big>(</big><em>self</em>, <em>int orientation</em><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetScrollThumb" title="Permalink to this definition">¶</a></dt> |
---|
1021 | <dd><p>Returns the built-in scrollbar thumb size.</p> |
---|
1022 | </dd></dl> |
---|
1023 | |
---|
1024 | <dl class="method"> |
---|
1025 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetSize"> |
---|
1026 | <tt class="descname">GetSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetSize" title="Permalink to this definition">¶</a></dt> |
---|
1027 | <dd><p>Get the window size.</p> |
---|
1028 | </dd></dl> |
---|
1029 | |
---|
1030 | <dl class="method"> |
---|
1031 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetSizeTuple"> |
---|
1032 | <tt class="descname">GetSizeTuple</tt><big>(</big><em>) -> (width</em>, <em>height</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetSizeTuple" title="Permalink to this definition">¶</a></dt> |
---|
1033 | <dd><p>Get the window size.</p> |
---|
1034 | </dd></dl> |
---|
1035 | |
---|
1036 | <dl class="method"> |
---|
1037 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetSizer"> |
---|
1038 | <tt class="descname">GetSizer</tt><big>(</big><em>self</em><big>)</big> → Sizer<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetSizer" title="Permalink to this definition">¶</a></dt> |
---|
1039 | <dd><p>Return the sizer associated with the window by a previous call to |
---|
1040 | SetSizer or None if there isn’t one.</p> |
---|
1041 | </dd></dl> |
---|
1042 | |
---|
1043 | <dl class="method"> |
---|
1044 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetTextExtent"> |
---|
1045 | <tt class="descname">GetTextExtent</tt><big>(</big><em>String string) -> (width</em>, <em>height</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetTextExtent" title="Permalink to this definition">¶</a></dt> |
---|
1046 | <dd><p>Get the width and height of the text using the current font.</p> |
---|
1047 | </dd></dl> |
---|
1048 | |
---|
1049 | <dl class="method"> |
---|
1050 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetThemeEnabled"> |
---|
1051 | <tt class="descname">GetThemeEnabled</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetThemeEnabled" title="Permalink to this definition">¶</a></dt> |
---|
1052 | <dd><p>Return the themeEnabled flag.</p> |
---|
1053 | </dd></dl> |
---|
1054 | |
---|
1055 | <dl class="method"> |
---|
1056 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetToolTip"> |
---|
1057 | <tt class="descname">GetToolTip</tt><big>(</big><em>self</em><big>)</big> → ToolTip<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetToolTip" title="Permalink to this definition">¶</a></dt> |
---|
1058 | <dd><p>get the associated tooltip or None if none</p> |
---|
1059 | </dd></dl> |
---|
1060 | |
---|
1061 | <dl class="method"> |
---|
1062 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetTopLevelParent"> |
---|
1063 | <tt class="descname">GetTopLevelParent</tt><big>(</big><em>self</em><big>)</big> → Window<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetTopLevelParent" title="Permalink to this definition">¶</a></dt> |
---|
1064 | <dd><p>Returns the first frame or dialog in this window’s parental hierarchy.</p> |
---|
1065 | </dd></dl> |
---|
1066 | |
---|
1067 | <dl class="method"> |
---|
1068 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetUpdateClientRect"> |
---|
1069 | <tt class="descname">GetUpdateClientRect</tt><big>(</big><em>self</em><big>)</big> → Rect<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetUpdateClientRect" title="Permalink to this definition">¶</a></dt> |
---|
1070 | <dd><p>Get the update rectangle region bounding box in client coords.</p> |
---|
1071 | </dd></dl> |
---|
1072 | |
---|
1073 | <dl class="method"> |
---|
1074 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetUpdateRegion"> |
---|
1075 | <tt class="descname">GetUpdateRegion</tt><big>(</big><em>self</em><big>)</big> → Region<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetUpdateRegion" title="Permalink to this definition">¶</a></dt> |
---|
1076 | <dd><p>Returns the region specifying which parts of the window have been |
---|
1077 | damaged. Should only be called within an EVT_PAINT handler.</p> |
---|
1078 | </dd></dl> |
---|
1079 | |
---|
1080 | <dl class="method"> |
---|
1081 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetValidator"> |
---|
1082 | <tt class="descname">GetValidator</tt><big>(</big><em>self</em><big>)</big> → Validator<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetValidator" title="Permalink to this definition">¶</a></dt> |
---|
1083 | <dd><p>Returns a pointer to the current validator for the window, or None if |
---|
1084 | there is none.</p> |
---|
1085 | </dd></dl> |
---|
1086 | |
---|
1087 | <dl class="method"> |
---|
1088 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetVirtualSize"> |
---|
1089 | <tt class="descname">GetVirtualSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetVirtualSize" title="Permalink to this definition">¶</a></dt> |
---|
1090 | <dd><p>Get the the virtual size of the window in pixels. For most windows |
---|
1091 | this is just the client area of the window, but for some like scrolled |
---|
1092 | windows it is more or less independent of the screen window size.</p> |
---|
1093 | </dd></dl> |
---|
1094 | |
---|
1095 | <dl class="method"> |
---|
1096 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetVirtualSizeTuple"> |
---|
1097 | <tt class="descname">GetVirtualSizeTuple</tt><big>(</big><em>) -> (width</em>, <em>height</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetVirtualSizeTuple" title="Permalink to this definition">¶</a></dt> |
---|
1098 | <dd><p>Get the the virtual size of the window in pixels. For most windows |
---|
1099 | this is just the client area of the window, but for some like scrolled |
---|
1100 | windows it is more or less independent of the screen window size.</p> |
---|
1101 | </dd></dl> |
---|
1102 | |
---|
1103 | <dl class="method"> |
---|
1104 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetWindowBorderSize"> |
---|
1105 | <tt class="descname">GetWindowBorderSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetWindowBorderSize" title="Permalink to this definition">¶</a></dt> |
---|
1106 | <dd><p>Return the size of the left/right and top/bottom borders.</p> |
---|
1107 | </dd></dl> |
---|
1108 | |
---|
1109 | <dl class="method"> |
---|
1110 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetWindowStyle"> |
---|
1111 | <tt class="descname">GetWindowStyle</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetWindowStyle" title="Permalink to this definition">¶</a></dt> |
---|
1112 | <dd><p>GetWindowStyleFlag(self) -> long</p> |
---|
1113 | <p>Gets the window style that was passed to the constructor or Create |
---|
1114 | method.</p> |
---|
1115 | </dd></dl> |
---|
1116 | |
---|
1117 | <dl class="method"> |
---|
1118 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetWindowStyleFlag"> |
---|
1119 | <tt class="descname">GetWindowStyleFlag</tt><big>(</big><em>self</em><big>)</big> → long<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetWindowStyleFlag" title="Permalink to this definition">¶</a></dt> |
---|
1120 | <dd><p>Gets the window style that was passed to the constructor or Create |
---|
1121 | method.</p> |
---|
1122 | </dd></dl> |
---|
1123 | |
---|
1124 | <dl class="method"> |
---|
1125 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetWindowVariant"> |
---|
1126 | <tt class="descname">GetWindowVariant</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GetWindowVariant" title="Permalink to this definition">¶</a></dt> |
---|
1127 | <dd></dd></dl> |
---|
1128 | |
---|
1129 | <dl class="attribute"> |
---|
1130 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GrandParent"> |
---|
1131 | <tt class="descname">GrandParent</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GrandParent" title="Permalink to this definition">¶</a></dt> |
---|
1132 | <dd><p>See <cite>GetGrandParent</cite></p> |
---|
1133 | </dd></dl> |
---|
1134 | |
---|
1135 | <dl class="attribute"> |
---|
1136 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GtkWidget"> |
---|
1137 | <tt class="descname">GtkWidget</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.GtkWidget" title="Permalink to this definition">¶</a></dt> |
---|
1138 | <dd><p>GetGtkWidget(self) -> long</p> |
---|
1139 | <p>On wxGTK returns a pointer to the GtkWidget for this window as a long |
---|
1140 | integer. On the other platforms this method returns zero.</p> |
---|
1141 | </dd></dl> |
---|
1142 | |
---|
1143 | <dl class="attribute"> |
---|
1144 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Handle"> |
---|
1145 | <tt class="descname">Handle</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Handle" title="Permalink to this definition">¶</a></dt> |
---|
1146 | <dd><p>See <cite>GetHandle</cite></p> |
---|
1147 | </dd></dl> |
---|
1148 | |
---|
1149 | <dl class="method"> |
---|
1150 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.HasCapture"> |
---|
1151 | <tt class="descname">HasCapture</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.HasCapture" title="Permalink to this definition">¶</a></dt> |
---|
1152 | <dd><p>Returns true if this window has the current mouse capture.</p> |
---|
1153 | </dd></dl> |
---|
1154 | |
---|
1155 | <dl class="method"> |
---|
1156 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.HasFlag"> |
---|
1157 | <tt class="descname">HasFlag</tt><big>(</big><em>self</em>, <em>int flag</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.HasFlag" title="Permalink to this definition">¶</a></dt> |
---|
1158 | <dd><p>Test if the given style is set for this window.</p> |
---|
1159 | </dd></dl> |
---|
1160 | |
---|
1161 | <dl class="method"> |
---|
1162 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.HasMultiplePages"> |
---|
1163 | <tt class="descname">HasMultiplePages</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.HasMultiplePages" title="Permalink to this definition">¶</a></dt> |
---|
1164 | <dd></dd></dl> |
---|
1165 | |
---|
1166 | <dl class="method"> |
---|
1167 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.HasScrollbar"> |
---|
1168 | <tt class="descname">HasScrollbar</tt><big>(</big><em>self</em>, <em>int orient</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.HasScrollbar" title="Permalink to this definition">¶</a></dt> |
---|
1169 | <dd><p>Does the window have the scrollbar for this orientation?</p> |
---|
1170 | </dd></dl> |
---|
1171 | |
---|
1172 | <dl class="method"> |
---|
1173 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.HasTransparentBackground"> |
---|
1174 | <tt class="descname">HasTransparentBackground</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.HasTransparentBackground" title="Permalink to this definition">¶</a></dt> |
---|
1175 | <dd><p>Returns True if this window’s background is transparent (as, for |
---|
1176 | example, for <cite>wx.StaticText</cite>) and should show the parent window’s |
---|
1177 | background.</p> |
---|
1178 | <p>This method is mostly used internally by the library itself and you |
---|
1179 | normally shouldn’t have to call it. You may, however, have to override |
---|
1180 | it in your custom control classes to ensure that background is painted |
---|
1181 | correctly.</p> |
---|
1182 | </dd></dl> |
---|
1183 | |
---|
1184 | <dl class="attribute"> |
---|
1185 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.HelpText"> |
---|
1186 | <tt class="descname">HelpText</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.HelpText" title="Permalink to this definition">¶</a></dt> |
---|
1187 | <dd><p>See <cite>GetHelpText</cite> and <cite>SetHelpText</cite></p> |
---|
1188 | </dd></dl> |
---|
1189 | |
---|
1190 | <dl class="method"> |
---|
1191 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Hide"> |
---|
1192 | <tt class="descname">Hide</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Hide" title="Permalink to this definition">¶</a></dt> |
---|
1193 | <dd><p>Equivalent to calling Show(False).</p> |
---|
1194 | </dd></dl> |
---|
1195 | |
---|
1196 | <dl class="method"> |
---|
1197 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.HitTest"> |
---|
1198 | <tt class="descname">HitTest</tt><big>(</big><em>self</em>, <em>Point pt</em><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.HitTest" title="Permalink to this definition">¶</a></dt> |
---|
1199 | <dd><p>Test where the given (in client coords) point lies</p> |
---|
1200 | </dd></dl> |
---|
1201 | |
---|
1202 | <dl class="method"> |
---|
1203 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.HitTestXY"> |
---|
1204 | <tt class="descname">HitTestXY</tt><big>(</big><em>self</em>, <em>int x</em>, <em>int y</em><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.HitTestXY" title="Permalink to this definition">¶</a></dt> |
---|
1205 | <dd><p>Test where the given (in client coords) point lies</p> |
---|
1206 | </dd></dl> |
---|
1207 | |
---|
1208 | <dl class="attribute"> |
---|
1209 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Id"> |
---|
1210 | <tt class="descname">Id</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Id" title="Permalink to this definition">¶</a></dt> |
---|
1211 | <dd><p>See <cite>GetId</cite> and <cite>SetId</cite></p> |
---|
1212 | </dd></dl> |
---|
1213 | |
---|
1214 | <dl class="method"> |
---|
1215 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.InheritAttributes"> |
---|
1216 | <tt class="descname">InheritAttributes</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.InheritAttributes" title="Permalink to this definition">¶</a></dt> |
---|
1217 | <dd><p>This function is (or should be, in case of custom controls) called |
---|
1218 | during window creation to intelligently set up the window visual |
---|
1219 | attributes, that is the font and the foreground and background |
---|
1220 | colours.</p> |
---|
1221 | <p>By ‘intelligently’ the following is meant: by default, all windows use |
---|
1222 | their own default attributes. However if some of the parent’s |
---|
1223 | attributes are explicitly changed (that is, using SetFont and not |
---|
1224 | SetOwnFont) and if the corresponding attribute hadn’t been |
---|
1225 | explicitly set for this window itself, then this window takes the same |
---|
1226 | value as used by the parent. In addition, if the window overrides |
---|
1227 | ShouldInheritColours to return false, the colours will not be changed |
---|
1228 | no matter what and only the font might.</p> |
---|
1229 | <p>This rather complicated logic is necessary in order to accommodate the |
---|
1230 | different usage scenarios. The most common one is when all default |
---|
1231 | attributes are used and in this case, nothing should be inherited as |
---|
1232 | in modern GUIs different controls use different fonts (and colours) |
---|
1233 | than their siblings so they can’t inherit the same value from the |
---|
1234 | parent. However it was also deemed desirable to allow to simply change |
---|
1235 | the attributes of all children at once by just changing the font or |
---|
1236 | colour of their common parent, hence in this case we do inherit the |
---|
1237 | parents attributes.</p> |
---|
1238 | </dd></dl> |
---|
1239 | |
---|
1240 | <dl class="method"> |
---|
1241 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.InheritsBackgroundColour"> |
---|
1242 | <tt class="descname">InheritsBackgroundColour</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.InheritsBackgroundColour" title="Permalink to this definition">¶</a></dt> |
---|
1243 | <dd></dd></dl> |
---|
1244 | |
---|
1245 | <dl class="method"> |
---|
1246 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.InitDialog"> |
---|
1247 | <tt class="descname">InitDialog</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.InitDialog" title="Permalink to this definition">¶</a></dt> |
---|
1248 | <dd><p>Sends an EVT_INIT_DIALOG event, whose handler usually transfers data |
---|
1249 | to the dialog via validators.</p> |
---|
1250 | </dd></dl> |
---|
1251 | |
---|
1252 | <dl class="method"> |
---|
1253 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.InvalidateBestSize"> |
---|
1254 | <tt class="descname">InvalidateBestSize</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.InvalidateBestSize" title="Permalink to this definition">¶</a></dt> |
---|
1255 | <dd><p>Reset the cached best size value so it will be recalculated the next |
---|
1256 | time it is needed.</p> |
---|
1257 | </dd></dl> |
---|
1258 | |
---|
1259 | <dl class="method"> |
---|
1260 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsBeingDeleted"> |
---|
1261 | <tt class="descname">IsBeingDeleted</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsBeingDeleted" title="Permalink to this definition">¶</a></dt> |
---|
1262 | <dd><p>Is the window in the process of being deleted?</p> |
---|
1263 | </dd></dl> |
---|
1264 | |
---|
1265 | <dl class="method"> |
---|
1266 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsDoubleBuffered"> |
---|
1267 | <tt class="descname">IsDoubleBuffered</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsDoubleBuffered" title="Permalink to this definition">¶</a></dt> |
---|
1268 | <dd><p>Returns <tt class="docutils literal"><span class="pre">True</span></tt> if the window contents is double-buffered by the |
---|
1269 | system, i.e. if any drawing done on the window is really done on a |
---|
1270 | temporary backing surface and transferred to the screen all at once |
---|
1271 | later.</p> |
---|
1272 | </dd></dl> |
---|
1273 | |
---|
1274 | <dl class="method"> |
---|
1275 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsEnabled"> |
---|
1276 | <tt class="descname">IsEnabled</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsEnabled" title="Permalink to this definition">¶</a></dt> |
---|
1277 | <dd><p>Returns true if the window is enabled for input, false otherwise.</p> |
---|
1278 | </dd></dl> |
---|
1279 | |
---|
1280 | <dl class="method"> |
---|
1281 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsExposed"> |
---|
1282 | <tt class="descname">IsExposed</tt><big>(</big><em>self</em>, <em>int x</em>, <em>int y</em>, <em>int w=1</em>, <em>int h=1</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsExposed" title="Permalink to this definition">¶</a></dt> |
---|
1283 | <dd><p>Returns true if the given point or rectangle area has been exposed |
---|
1284 | since the last repaint. Call this in an paint event handler to |
---|
1285 | optimize redrawing by only redrawing those areas, which have been |
---|
1286 | exposed.</p> |
---|
1287 | </dd></dl> |
---|
1288 | |
---|
1289 | <dl class="method"> |
---|
1290 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsExposedPoint"> |
---|
1291 | <tt class="descname">IsExposedPoint</tt><big>(</big><em>self</em>, <em>Point pt</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsExposedPoint" title="Permalink to this definition">¶</a></dt> |
---|
1292 | <dd><p>Returns true if the given point or rectangle area has been exposed |
---|
1293 | since the last repaint. Call this in an paint event handler to |
---|
1294 | optimize redrawing by only redrawing those areas, which have been |
---|
1295 | exposed.</p> |
---|
1296 | </dd></dl> |
---|
1297 | |
---|
1298 | <dl class="method"> |
---|
1299 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsExposedRect"> |
---|
1300 | <tt class="descname">IsExposedRect</tt><big>(</big><em>self</em>, <em>Rect rect</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsExposedRect" title="Permalink to this definition">¶</a></dt> |
---|
1301 | <dd><p>Returns true if the given point or rectangle area has been exposed |
---|
1302 | since the last repaint. Call this in an paint event handler to |
---|
1303 | optimize redrawing by only redrawing those areas, which have been |
---|
1304 | exposed.</p> |
---|
1305 | </dd></dl> |
---|
1306 | |
---|
1307 | <dl class="method"> |
---|
1308 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsFrozen"> |
---|
1309 | <tt class="descname">IsFrozen</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsFrozen" title="Permalink to this definition">¶</a></dt> |
---|
1310 | <dd><p>Returns <tt class="docutils literal"><span class="pre">True</span></tt> if the window has been frozen and not thawed yet.</p> |
---|
1311 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1312 | <col class="field-name" /> |
---|
1313 | <col class="field-body" /> |
---|
1314 | <tbody valign="top"> |
---|
1315 | <tr class="field-odd field"><th class="field-name">See :</th><td class="field-body"><cite>Freeze</cite> and <cite>Thaw</cite></td> |
---|
1316 | </tr> |
---|
1317 | </tbody> |
---|
1318 | </table> |
---|
1319 | </dd></dl> |
---|
1320 | |
---|
1321 | <dl class="method"> |
---|
1322 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsRetained"> |
---|
1323 | <tt class="descname">IsRetained</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsRetained" title="Permalink to this definition">¶</a></dt> |
---|
1324 | <dd><p>Returns true if the window is retained, false otherwise. Retained |
---|
1325 | windows are only available on X platforms.</p> |
---|
1326 | </dd></dl> |
---|
1327 | |
---|
1328 | <dl class="method"> |
---|
1329 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsSameAs"> |
---|
1330 | <tt class="descname">IsSameAs</tt><big>(</big><em>self</em>, <em>Object p</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsSameAs" title="Permalink to this definition">¶</a></dt> |
---|
1331 | <dd><p>For wx.Objects that use C++ reference counting internally, this method |
---|
1332 | can be used to determine if two objects are referencing the same data |
---|
1333 | object.</p> |
---|
1334 | </dd></dl> |
---|
1335 | |
---|
1336 | <dl class="method"> |
---|
1337 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsShown"> |
---|
1338 | <tt class="descname">IsShown</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsShown" title="Permalink to this definition">¶</a></dt> |
---|
1339 | <dd><p>Returns true if the window is shown, false if it has been hidden.</p> |
---|
1340 | </dd></dl> |
---|
1341 | |
---|
1342 | <dl class="method"> |
---|
1343 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsShownOnScreen"> |
---|
1344 | <tt class="descname">IsShownOnScreen</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsShownOnScreen" title="Permalink to this definition">¶</a></dt> |
---|
1345 | <dd><p>Returns <tt class="docutils literal"><span class="pre">True</span></tt> if the window is physically visible on the screen, |
---|
1346 | i.e. it is shown and all its parents up to the toplevel window are |
---|
1347 | shown as well.</p> |
---|
1348 | </dd></dl> |
---|
1349 | |
---|
1350 | <dl class="method"> |
---|
1351 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsTopLevel"> |
---|
1352 | <tt class="descname">IsTopLevel</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.IsTopLevel" title="Permalink to this definition">¶</a></dt> |
---|
1353 | <dd><p>Returns true if the given window is a top-level one. Currently all |
---|
1354 | frames and dialogs are always considered to be top-level windows (even |
---|
1355 | if they have a parent window).</p> |
---|
1356 | </dd></dl> |
---|
1357 | |
---|
1358 | <dl class="attribute"> |
---|
1359 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Label"> |
---|
1360 | <tt class="descname">Label</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Label" title="Permalink to this definition">¶</a></dt> |
---|
1361 | <dd><p>See <cite>GetLabel</cite> and <cite>SetLabel</cite></p> |
---|
1362 | </dd></dl> |
---|
1363 | |
---|
1364 | <dl class="method"> |
---|
1365 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Layout"> |
---|
1366 | <tt class="descname">Layout</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Layout" title="Permalink to this definition">¶</a></dt> |
---|
1367 | <dd><p>Invokes the constraint-based layout algorithm or the sizer-based |
---|
1368 | algorithm for this window. See SetAutoLayout: when auto layout is on, |
---|
1369 | this function gets called automatically by the default EVT_SIZE |
---|
1370 | handler when the window is resized.</p> |
---|
1371 | </dd></dl> |
---|
1372 | |
---|
1373 | <dl class="attribute"> |
---|
1374 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.LayoutDirection"> |
---|
1375 | <tt class="descname">LayoutDirection</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.LayoutDirection" title="Permalink to this definition">¶</a></dt> |
---|
1376 | <dd><p>See <cite>GetLayoutDirection</cite> and <cite>SetLayoutDirection</cite></p> |
---|
1377 | </dd></dl> |
---|
1378 | |
---|
1379 | <dl class="method"> |
---|
1380 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.LineDown"> |
---|
1381 | <tt class="descname">LineDown</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.LineDown" title="Permalink to this definition">¶</a></dt> |
---|
1382 | <dd><p>This is just a wrapper for ScrollLines(1).</p> |
---|
1383 | </dd></dl> |
---|
1384 | |
---|
1385 | <dl class="method"> |
---|
1386 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.LineUp"> |
---|
1387 | <tt class="descname">LineUp</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.LineUp" title="Permalink to this definition">¶</a></dt> |
---|
1388 | <dd><p>This is just a wrapper for ScrollLines(-1).</p> |
---|
1389 | </dd></dl> |
---|
1390 | |
---|
1391 | <dl class="method"> |
---|
1392 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Lower"> |
---|
1393 | <tt class="descname">Lower</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Lower" title="Permalink to this definition">¶</a></dt> |
---|
1394 | <dd><p>Lowers the window to the bottom of the window hierarchy. In current |
---|
1395 | version of wxWidgets this works both for managed and child windows.</p> |
---|
1396 | </dd></dl> |
---|
1397 | |
---|
1398 | <dl class="method"> |
---|
1399 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MakeModal"> |
---|
1400 | <tt class="descname">MakeModal</tt><big>(</big><em>self</em>, <em>bool modal=True</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MakeModal" title="Permalink to this definition">¶</a></dt> |
---|
1401 | <dd><p>Disables all other windows in the application so that the user can |
---|
1402 | only interact with this window. Passing False will reverse this |
---|
1403 | effect.</p> |
---|
1404 | </dd></dl> |
---|
1405 | |
---|
1406 | <dl class="attribute"> |
---|
1407 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MaxHeight"> |
---|
1408 | <tt class="descname">MaxHeight</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MaxHeight" title="Permalink to this definition">¶</a></dt> |
---|
1409 | <dd><p>See <cite>GetMaxHeight</cite></p> |
---|
1410 | </dd></dl> |
---|
1411 | |
---|
1412 | <dl class="attribute"> |
---|
1413 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MaxSize"> |
---|
1414 | <tt class="descname">MaxSize</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MaxSize" title="Permalink to this definition">¶</a></dt> |
---|
1415 | <dd><p>See <cite>GetMaxSize</cite> and <cite>SetMaxSize</cite></p> |
---|
1416 | </dd></dl> |
---|
1417 | |
---|
1418 | <dl class="attribute"> |
---|
1419 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MaxWidth"> |
---|
1420 | <tt class="descname">MaxWidth</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MaxWidth" title="Permalink to this definition">¶</a></dt> |
---|
1421 | <dd><p>See <cite>GetMaxWidth</cite></p> |
---|
1422 | </dd></dl> |
---|
1423 | |
---|
1424 | <dl class="attribute"> |
---|
1425 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MinHeight"> |
---|
1426 | <tt class="descname">MinHeight</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MinHeight" title="Permalink to this definition">¶</a></dt> |
---|
1427 | <dd><p>See <cite>GetMinHeight</cite></p> |
---|
1428 | </dd></dl> |
---|
1429 | |
---|
1430 | <dl class="attribute"> |
---|
1431 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MinSize"> |
---|
1432 | <tt class="descname">MinSize</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MinSize" title="Permalink to this definition">¶</a></dt> |
---|
1433 | <dd><p>See <cite>GetMinSize</cite> and <cite>SetMinSize</cite></p> |
---|
1434 | </dd></dl> |
---|
1435 | |
---|
1436 | <dl class="attribute"> |
---|
1437 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MinWidth"> |
---|
1438 | <tt class="descname">MinWidth</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MinWidth" title="Permalink to this definition">¶</a></dt> |
---|
1439 | <dd><p>See <cite>GetMinWidth</cite></p> |
---|
1440 | </dd></dl> |
---|
1441 | |
---|
1442 | <dl class="method"> |
---|
1443 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Move"> |
---|
1444 | <tt class="descname">Move</tt><big>(</big><em>self</em>, <em>Point pt</em>, <em>int flags=SIZE_USE_EXISTING</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Move" title="Permalink to this definition">¶</a></dt> |
---|
1445 | <dd><p>Moves the window to the given position.</p> |
---|
1446 | </dd></dl> |
---|
1447 | |
---|
1448 | <dl class="method"> |
---|
1449 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MoveAfterInTabOrder"> |
---|
1450 | <tt class="descname">MoveAfterInTabOrder</tt><big>(</big><em>self</em>, <em>Window win</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MoveAfterInTabOrder" title="Permalink to this definition">¶</a></dt> |
---|
1451 | <dd><p>Moves this window in the tab navigation order after the specified |
---|
1452 | sibling window. This means that when the user presses the TAB key on |
---|
1453 | that other window, the focus switches to this window.</p> |
---|
1454 | <p>The default tab order is the same as creation order. This function |
---|
1455 | and <cite>MoveBeforeInTabOrder</cite> allow to change it after creating all the |
---|
1456 | windows.</p> |
---|
1457 | </dd></dl> |
---|
1458 | |
---|
1459 | <dl class="method"> |
---|
1460 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MoveBeforeInTabOrder"> |
---|
1461 | <tt class="descname">MoveBeforeInTabOrder</tt><big>(</big><em>self</em>, <em>Window win</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MoveBeforeInTabOrder" title="Permalink to this definition">¶</a></dt> |
---|
1462 | <dd><p>Same as <cite>MoveAfterInTabOrder</cite> except that it inserts this window just |
---|
1463 | before win instead of putting it right after it.</p> |
---|
1464 | </dd></dl> |
---|
1465 | |
---|
1466 | <dl class="method"> |
---|
1467 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MoveXY"> |
---|
1468 | <tt class="descname">MoveXY</tt><big>(</big><em>self</em>, <em>int x</em>, <em>int y</em>, <em>int flags=SIZE_USE_EXISTING</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.MoveXY" title="Permalink to this definition">¶</a></dt> |
---|
1469 | <dd><p>Moves the window to the given position.</p> |
---|
1470 | </dd></dl> |
---|
1471 | |
---|
1472 | <dl class="attribute"> |
---|
1473 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Name"> |
---|
1474 | <tt class="descname">Name</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Name" title="Permalink to this definition">¶</a></dt> |
---|
1475 | <dd><p>See <cite>GetName</cite> and <cite>SetName</cite></p> |
---|
1476 | </dd></dl> |
---|
1477 | |
---|
1478 | <dl class="method"> |
---|
1479 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Navigate"> |
---|
1480 | <tt class="descname">Navigate</tt><big>(</big><em>self</em>, <em>int flags=NavigationKeyEvent.IsForward</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Navigate" title="Permalink to this definition">¶</a></dt> |
---|
1481 | <dd><p>Does keyboard navigation from this window to another, by sending a |
---|
1482 | <cite>wx.NavigationKeyEvent</cite>.</p> |
---|
1483 | </dd></dl> |
---|
1484 | |
---|
1485 | <dl class="staticmethod"> |
---|
1486 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.NewControlId"> |
---|
1487 | <em class="property">static </em><tt class="descname">NewControlId</tt><big>(</big><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.NewControlId" title="Permalink to this definition">¶</a></dt> |
---|
1488 | <dd><p>Generate a control id for the controls which were not given one.</p> |
---|
1489 | </dd></dl> |
---|
1490 | |
---|
1491 | <dl class="staticmethod"> |
---|
1492 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.NextControlId"> |
---|
1493 | <em class="property">static </em><tt class="descname">NextControlId</tt><big>(</big><em>int winid</em><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.NextControlId" title="Permalink to this definition">¶</a></dt> |
---|
1494 | <dd><p>Get the id of the control following the one with the given |
---|
1495 | autogenerated) id</p> |
---|
1496 | </dd></dl> |
---|
1497 | |
---|
1498 | <dl class="attribute"> |
---|
1499 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.NextHandler"> |
---|
1500 | <tt class="descname">NextHandler</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.NextHandler" title="Permalink to this definition">¶</a></dt> |
---|
1501 | <dd><p>See <cite>GetNextHandler</cite> and <cite>SetNextHandler</cite></p> |
---|
1502 | </dd></dl> |
---|
1503 | |
---|
1504 | <dl class="method"> |
---|
1505 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.OnCopyFigureMenu"> |
---|
1506 | <tt class="descname">OnCopyFigureMenu</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.OnCopyFigureMenu" title="Permalink to this definition">¶</a></dt> |
---|
1507 | <dd><p>Copy the current figure to clipboard</p> |
---|
1508 | </dd></dl> |
---|
1509 | |
---|
1510 | <dl class="method"> |
---|
1511 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.OnPaint"> |
---|
1512 | <tt class="descname">OnPaint</tt><big>(</big><em>self</em>, <em>PaintEvent event</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.OnPaint" title="Permalink to this definition">¶</a></dt> |
---|
1513 | <dd></dd></dl> |
---|
1514 | |
---|
1515 | <dl class="method"> |
---|
1516 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.On_Paint"> |
---|
1517 | <tt class="descname">On_Paint</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.On_Paint" title="Permalink to this definition">¶</a></dt> |
---|
1518 | <dd></dd></dl> |
---|
1519 | |
---|
1520 | <dl class="method"> |
---|
1521 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PageDown"> |
---|
1522 | <tt class="descname">PageDown</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PageDown" title="Permalink to this definition">¶</a></dt> |
---|
1523 | <dd><p>This is just a wrapper for ScrollPages(1).</p> |
---|
1524 | </dd></dl> |
---|
1525 | |
---|
1526 | <dl class="method"> |
---|
1527 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PageUp"> |
---|
1528 | <tt class="descname">PageUp</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PageUp" title="Permalink to this definition">¶</a></dt> |
---|
1529 | <dd><p>This is just a wrapper for ScrollPages(-1).</p> |
---|
1530 | </dd></dl> |
---|
1531 | |
---|
1532 | <dl class="attribute"> |
---|
1533 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Parent"> |
---|
1534 | <tt class="descname">Parent</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Parent" title="Permalink to this definition">¶</a></dt> |
---|
1535 | <dd><p>See <cite>GetParent</cite></p> |
---|
1536 | </dd></dl> |
---|
1537 | |
---|
1538 | <dl class="method"> |
---|
1539 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PopEventHandler"> |
---|
1540 | <tt class="descname">PopEventHandler</tt><big>(</big><em>self</em>, <em>bool deleteHandler=False</em><big>)</big> → EvtHandler<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PopEventHandler" title="Permalink to this definition">¶</a></dt> |
---|
1541 | <dd><p>Removes and returns the top-most event handler on the event handler |
---|
1542 | stack. If deleteHandler is True then the wx.EvtHandler object will be |
---|
1543 | destroyed after it is popped, and <tt class="docutils literal"><span class="pre">None</span></tt> will be returned instead.</p> |
---|
1544 | </dd></dl> |
---|
1545 | |
---|
1546 | <dl class="method"> |
---|
1547 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PopupMenu"> |
---|
1548 | <tt class="descname">PopupMenu</tt><big>(</big><em>self</em>, <em>Menu menu</em>, <em>Point pos=DefaultPosition</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PopupMenu" title="Permalink to this definition">¶</a></dt> |
---|
1549 | <dd><p>Pops up the given menu at the specified coordinates, relative to this window, |
---|
1550 | and returns control when the user has dismissed the menu. If a menu item is |
---|
1551 | selected, the corresponding menu event is generated and will be processed as |
---|
1552 | usual. If the default position is given then the current position of the |
---|
1553 | mouse cursor will be used.</p> |
---|
1554 | </dd></dl> |
---|
1555 | |
---|
1556 | <dl class="method"> |
---|
1557 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PopupMenuXY"> |
---|
1558 | <tt class="descname">PopupMenuXY</tt><big>(</big><em>self</em>, <em>Menu menu</em>, <em>int x=-1</em>, <em>int y=-1</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PopupMenuXY" title="Permalink to this definition">¶</a></dt> |
---|
1559 | <dd><p>Pops up the given menu at the specified coordinates, relative to this window, |
---|
1560 | and returns control when the user has dismissed the menu. If a menu item is |
---|
1561 | selected, the corresponding menu event is generated and will be processed as |
---|
1562 | usual. If the default position is given then the current position of the |
---|
1563 | mouse cursor will be used.</p> |
---|
1564 | </dd></dl> |
---|
1565 | |
---|
1566 | <dl class="attribute"> |
---|
1567 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Position"> |
---|
1568 | <tt class="descname">Position</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Position" title="Permalink to this definition">¶</a></dt> |
---|
1569 | <dd><p>See <cite>GetPosition</cite> and <cite>SetPosition</cite></p> |
---|
1570 | </dd></dl> |
---|
1571 | |
---|
1572 | <dl class="method"> |
---|
1573 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PostCreate"> |
---|
1574 | <tt class="descname">PostCreate</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PostCreate" title="Permalink to this definition">¶</a></dt> |
---|
1575 | <dd><p>Phase 3 of the 2-phase create <wink!> |
---|
1576 | Call this method after precreating the window with the 2-phase create method.</p> |
---|
1577 | </dd></dl> |
---|
1578 | |
---|
1579 | <dl class="method"> |
---|
1580 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PrepareDC"> |
---|
1581 | <tt class="descname">PrepareDC</tt><big>(</big><em>self</em>, <em>DC dc</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PrepareDC" title="Permalink to this definition">¶</a></dt> |
---|
1582 | <dd><p>Call this function to prepare the device context for drawing a |
---|
1583 | scrolled image. It sets the device origin according to the current |
---|
1584 | scroll position.</p> |
---|
1585 | </dd></dl> |
---|
1586 | |
---|
1587 | <dl class="staticmethod"> |
---|
1588 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PrevControlId"> |
---|
1589 | <em class="property">static </em><tt class="descname">PrevControlId</tt><big>(</big><em>int winid</em><big>)</big> → int<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PrevControlId" title="Permalink to this definition">¶</a></dt> |
---|
1590 | <dd><p>Get the id of the control preceding the one with the given |
---|
1591 | autogenerated) id</p> |
---|
1592 | </dd></dl> |
---|
1593 | |
---|
1594 | <dl class="attribute"> |
---|
1595 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PreviousHandler"> |
---|
1596 | <tt class="descname">PreviousHandler</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PreviousHandler" title="Permalink to this definition">¶</a></dt> |
---|
1597 | <dd><p>See <cite>GetPreviousHandler</cite> and <cite>SetPreviousHandler</cite></p> |
---|
1598 | </dd></dl> |
---|
1599 | |
---|
1600 | <dl class="method"> |
---|
1601 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ProcessEvent"> |
---|
1602 | <tt class="descname">ProcessEvent</tt><big>(</big><em>self</em>, <em>Event event</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ProcessEvent" title="Permalink to this definition">¶</a></dt> |
---|
1603 | <dd></dd></dl> |
---|
1604 | |
---|
1605 | <dl class="method"> |
---|
1606 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ProcessPendingEvents"> |
---|
1607 | <tt class="descname">ProcessPendingEvents</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ProcessPendingEvents" title="Permalink to this definition">¶</a></dt> |
---|
1608 | <dd></dd></dl> |
---|
1609 | |
---|
1610 | <dl class="method"> |
---|
1611 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PushEventHandler"> |
---|
1612 | <tt class="descname">PushEventHandler</tt><big>(</big><em>self</em>, <em>EvtHandler handler</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.PushEventHandler" title="Permalink to this definition">¶</a></dt> |
---|
1613 | <dd><p>Pushes this event handler onto the event handler stack for the window. |
---|
1614 | An event handler is an object that is capable of processing the events |
---|
1615 | sent to a window. (In other words, is able to dispatch the events to a |
---|
1616 | handler function.) By default, the window is its own event handler, |
---|
1617 | but an application may wish to substitute another, for example to |
---|
1618 | allow central implementation of event-handling for a variety of |
---|
1619 | different window classes.</p> |
---|
1620 | <p>wx.Window.PushEventHandler allows an application to set up a chain of |
---|
1621 | event handlers, where an event not handled by one event handler is |
---|
1622 | handed to the next one in the chain. Use <cite>wx.Window.PopEventHandler</cite> |
---|
1623 | to remove the event handler. Ownership of the handler is <em>not</em> given |
---|
1624 | to the window, so you should be sure to pop the handler before the |
---|
1625 | window is destroyed and either let PopEventHandler destroy it, or call |
---|
1626 | its Destroy method yourself.</p> |
---|
1627 | </dd></dl> |
---|
1628 | |
---|
1629 | <dl class="method"> |
---|
1630 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Raise"> |
---|
1631 | <tt class="descname">Raise</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Raise" title="Permalink to this definition">¶</a></dt> |
---|
1632 | <dd><p>Raises the window to the top of the window hierarchy. In current |
---|
1633 | version of wxWidgets this works both for managed and child windows.</p> |
---|
1634 | </dd></dl> |
---|
1635 | |
---|
1636 | <dl class="attribute"> |
---|
1637 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Rect"> |
---|
1638 | <tt class="descname">Rect</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Rect" title="Permalink to this definition">¶</a></dt> |
---|
1639 | <dd><p>See <cite>GetRect</cite> and <cite>SetRect</cite></p> |
---|
1640 | </dd></dl> |
---|
1641 | |
---|
1642 | <dl class="method"> |
---|
1643 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Refresh"> |
---|
1644 | <tt class="descname">Refresh</tt><big>(</big><em>self</em>, <em>bool eraseBackground=True</em>, <em>Rect rect=None</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Refresh" title="Permalink to this definition">¶</a></dt> |
---|
1645 | <dd><p>Mark the specified rectangle (or the whole window) as “dirty” so it |
---|
1646 | will be repainted. Causes an EVT_PAINT event to be generated and sent |
---|
1647 | to the window.</p> |
---|
1648 | </dd></dl> |
---|
1649 | |
---|
1650 | <dl class="method"> |
---|
1651 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.RefreshRect"> |
---|
1652 | <tt class="descname">RefreshRect</tt><big>(</big><em>self</em>, <em>Rect rect</em>, <em>bool eraseBackground=True</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.RefreshRect" title="Permalink to this definition">¶</a></dt> |
---|
1653 | <dd><p>Redraws the contents of the given rectangle: the area inside it will |
---|
1654 | be repainted. This is the same as Refresh but has a nicer syntax.</p> |
---|
1655 | </dd></dl> |
---|
1656 | |
---|
1657 | <dl class="method"> |
---|
1658 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.RegisterHotKey"> |
---|
1659 | <tt class="descname">RegisterHotKey</tt><big>(</big><em>self</em>, <em>int hotkeyId</em>, <em>int modifiers</em>, <em>int keycode</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.RegisterHotKey" title="Permalink to this definition">¶</a></dt> |
---|
1660 | <dd><p>Registers a system wide hotkey. Every time the user presses the hotkey |
---|
1661 | registered here, this window will receive a hotkey event. It will |
---|
1662 | receive the event even if the application is in the background and |
---|
1663 | does not have the input focus because the user is working with some |
---|
1664 | other application. To bind an event handler function to this hotkey |
---|
1665 | use EVT_HOTKEY with an id equal to hotkeyId. Returns True if the |
---|
1666 | hotkey was registered successfully.</p> |
---|
1667 | </dd></dl> |
---|
1668 | |
---|
1669 | <dl class="method"> |
---|
1670 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ReleaseMouse"> |
---|
1671 | <tt class="descname">ReleaseMouse</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ReleaseMouse" title="Permalink to this definition">¶</a></dt> |
---|
1672 | <dd><p>Releases mouse input captured with wx.Window.CaptureMouse.</p> |
---|
1673 | </dd></dl> |
---|
1674 | |
---|
1675 | <dl class="method"> |
---|
1676 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.RemoveChild"> |
---|
1677 | <tt class="descname">RemoveChild</tt><big>(</big><em>self</em>, <em>Window child</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.RemoveChild" title="Permalink to this definition">¶</a></dt> |
---|
1678 | <dd><p>Removes a child window. This is called automatically by window |
---|
1679 | deletion functions so should not be required by the application |
---|
1680 | programmer.</p> |
---|
1681 | </dd></dl> |
---|
1682 | |
---|
1683 | <dl class="method"> |
---|
1684 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.RemoveEventHandler"> |
---|
1685 | <tt class="descname">RemoveEventHandler</tt><big>(</big><em>self</em>, <em>EvtHandler handler</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.RemoveEventHandler" title="Permalink to this definition">¶</a></dt> |
---|
1686 | <dd><p>Find the given handler in the event handler chain and remove (but not |
---|
1687 | delete) it from the event handler chain, returns True if it was found |
---|
1688 | and False otherwise (this also results in an assert failure so this |
---|
1689 | function should only be called when the handler is supposed to be |
---|
1690 | there.)</p> |
---|
1691 | </dd></dl> |
---|
1692 | |
---|
1693 | <dl class="method"> |
---|
1694 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Reparent"> |
---|
1695 | <tt class="descname">Reparent</tt><big>(</big><em>self</em>, <em>Window newParent</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Reparent" title="Permalink to this definition">¶</a></dt> |
---|
1696 | <dd><p>Reparents the window, i.e the window will be removed from its current |
---|
1697 | parent window (e.g. a non-standard toolbar in a wxFrame) and then |
---|
1698 | re-inserted into another. Available on Windows and GTK. Returns True |
---|
1699 | if the parent was changed, False otherwise (error or newParent == |
---|
1700 | oldParent)</p> |
---|
1701 | </dd></dl> |
---|
1702 | |
---|
1703 | <dl class="attribute"> |
---|
1704 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ScreenPosition"> |
---|
1705 | <tt class="descname">ScreenPosition</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ScreenPosition" title="Permalink to this definition">¶</a></dt> |
---|
1706 | <dd><p>See <cite>GetScreenPosition</cite></p> |
---|
1707 | </dd></dl> |
---|
1708 | |
---|
1709 | <dl class="attribute"> |
---|
1710 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ScreenRect"> |
---|
1711 | <tt class="descname">ScreenRect</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ScreenRect" title="Permalink to this definition">¶</a></dt> |
---|
1712 | <dd><p>See <cite>GetScreenRect</cite></p> |
---|
1713 | </dd></dl> |
---|
1714 | |
---|
1715 | <dl class="method"> |
---|
1716 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ScreenToClient"> |
---|
1717 | <tt class="descname">ScreenToClient</tt><big>(</big><em>self</em>, <em>Point pt</em><big>)</big> → Point<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ScreenToClient" title="Permalink to this definition">¶</a></dt> |
---|
1718 | <dd><p>Converts from screen to client window coordinates.</p> |
---|
1719 | </dd></dl> |
---|
1720 | |
---|
1721 | <dl class="method"> |
---|
1722 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ScreenToClientXY"> |
---|
1723 | <tt class="descname">ScreenToClientXY</tt><big>(</big><em>int x</em>, <em>int y) -> (x</em>, <em>y</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ScreenToClientXY" title="Permalink to this definition">¶</a></dt> |
---|
1724 | <dd><p>Converts from screen to client window coordinates.</p> |
---|
1725 | </dd></dl> |
---|
1726 | |
---|
1727 | <dl class="method"> |
---|
1728 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ScrollLines"> |
---|
1729 | <tt class="descname">ScrollLines</tt><big>(</big><em>self</em>, <em>int lines</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ScrollLines" title="Permalink to this definition">¶</a></dt> |
---|
1730 | <dd><p>If the platform and window class supports it, scrolls the window by |
---|
1731 | the given number of lines down, if lines is positive, or up if lines |
---|
1732 | is negative. Returns True if the window was scrolled, False if it was |
---|
1733 | already on top/bottom and nothing was done.</p> |
---|
1734 | </dd></dl> |
---|
1735 | |
---|
1736 | <dl class="method"> |
---|
1737 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ScrollPages"> |
---|
1738 | <tt class="descname">ScrollPages</tt><big>(</big><em>self</em>, <em>int pages</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ScrollPages" title="Permalink to this definition">¶</a></dt> |
---|
1739 | <dd><p>If the platform and window class supports it, scrolls the window by |
---|
1740 | the given number of pages down, if pages is positive, or up if pages |
---|
1741 | is negative. Returns True if the window was scrolled, False if it was |
---|
1742 | already on top/bottom and nothing was done.</p> |
---|
1743 | </dd></dl> |
---|
1744 | |
---|
1745 | <dl class="method"> |
---|
1746 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ScrollWindow"> |
---|
1747 | <tt class="descname">ScrollWindow</tt><big>(</big><em>self</em>, <em>int dx</em>, <em>int dy</em>, <em>Rect rect=None</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ScrollWindow" title="Permalink to this definition">¶</a></dt> |
---|
1748 | <dd><p>Physically scrolls the pixels in the window and move child windows |
---|
1749 | accordingly. Use this function to optimise your scrolling |
---|
1750 | implementations, to minimise the area that must be redrawn. Note that |
---|
1751 | it is rarely required to call this function from a user program.</p> |
---|
1752 | </dd></dl> |
---|
1753 | |
---|
1754 | <dl class="method"> |
---|
1755 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SendSizeEvent"> |
---|
1756 | <tt class="descname">SendSizeEvent</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SendSizeEvent" title="Permalink to this definition">¶</a></dt> |
---|
1757 | <dd></dd></dl> |
---|
1758 | |
---|
1759 | <dl class="method"> |
---|
1760 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetAcceleratorTable"> |
---|
1761 | <tt class="descname">SetAcceleratorTable</tt><big>(</big><em>self</em>, <em>AcceleratorTable accel</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetAcceleratorTable" title="Permalink to this definition">¶</a></dt> |
---|
1762 | <dd><p>Sets the accelerator table for this window.</p> |
---|
1763 | </dd></dl> |
---|
1764 | |
---|
1765 | <dl class="method"> |
---|
1766 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetAutoLayout"> |
---|
1767 | <tt class="descname">SetAutoLayout</tt><big>(</big><em>self</em>, <em>bool autoLayout</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetAutoLayout" title="Permalink to this definition">¶</a></dt> |
---|
1768 | <dd><p>Determines whether the Layout function will be called automatically |
---|
1769 | when the window is resized. lease note that this only happens for the |
---|
1770 | windows usually used to contain children, namely <cite>wx.Panel</cite> and |
---|
1771 | <cite>wx.TopLevelWindow</cite> (and the classes deriving from them).</p> |
---|
1772 | <p>This method is called implicitly by <cite>SetSizer</cite> but if you use |
---|
1773 | <cite>SetConstraints</cite> you should call it manually or otherwise the window |
---|
1774 | layout won’t be correctly updated when its size changes.</p> |
---|
1775 | </dd></dl> |
---|
1776 | |
---|
1777 | <dl class="method"> |
---|
1778 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetBackgroundColour"> |
---|
1779 | <tt class="descname">SetBackgroundColour</tt><big>(</big><em>self</em>, <em>Colour colour</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetBackgroundColour" title="Permalink to this definition">¶</a></dt> |
---|
1780 | <dd><p>Sets the background colour of the window. Returns True if the colour |
---|
1781 | was changed. The background colour is usually painted by the default |
---|
1782 | EVT_ERASE_BACKGROUND event handler function under Windows and |
---|
1783 | automatically under GTK. Using <cite>wx.NullColour</cite> will reset the window |
---|
1784 | to the default background colour.</p> |
---|
1785 | <p>Note that setting the background colour may not cause an immediate |
---|
1786 | refresh, so you may wish to call <cite>ClearBackground</cite> or <cite>Refresh</cite> after |
---|
1787 | calling this function.</p> |
---|
1788 | <p>Using this function will disable attempts to use themes for this |
---|
1789 | window, if the system supports them. Use with care since usually the |
---|
1790 | themes represent the appearance chosen by the user to be used for all |
---|
1791 | applications on the system.</p> |
---|
1792 | </dd></dl> |
---|
1793 | |
---|
1794 | <dl class="method"> |
---|
1795 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetBackgroundStyle"> |
---|
1796 | <tt class="descname">SetBackgroundStyle</tt><big>(</big><em>self</em>, <em>int style</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetBackgroundStyle" title="Permalink to this definition">¶</a></dt> |
---|
1797 | <dd><p>Returns the background style of the window. The background style |
---|
1798 | indicates how the background of the window is drawn.</p> |
---|
1799 | <blockquote> |
---|
1800 | <div><table border="1" class="docutils"> |
---|
1801 | <colgroup> |
---|
1802 | <col width="35%" /> |
---|
1803 | <col width="65%" /> |
---|
1804 | </colgroup> |
---|
1805 | <tbody valign="top"> |
---|
1806 | <tr class="row-odd"><td>wx.BG_STYLE_SYSTEM</td> |
---|
1807 | <td>The background colour or pattern should |
---|
1808 | be determined by the system</td> |
---|
1809 | </tr> |
---|
1810 | <tr class="row-even"><td>wx.BG_STYLE_COLOUR</td> |
---|
1811 | <td>The background should be a solid colour</td> |
---|
1812 | </tr> |
---|
1813 | <tr class="row-odd"><td>wx.BG_STYLE_CUSTOM</td> |
---|
1814 | <td>The background will be implemented by the |
---|
1815 | application.</td> |
---|
1816 | </tr> |
---|
1817 | </tbody> |
---|
1818 | </table> |
---|
1819 | </div></blockquote> |
---|
1820 | <p>On GTK+, use of wx.BG_STYLE_CUSTOM allows the flicker-free drawing of |
---|
1821 | a custom background, such as a tiled bitmap. Currently the style has |
---|
1822 | no effect on other platforms.</p> |
---|
1823 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1824 | <col class="field-name" /> |
---|
1825 | <col class="field-body" /> |
---|
1826 | <tbody valign="top"> |
---|
1827 | <tr class="field-odd field"><th class="field-name">See :</th><td class="field-body"><cite>GetBackgroundStyle</cite>, <cite>SetBackgroundColour</cite></td> |
---|
1828 | </tr> |
---|
1829 | </tbody> |
---|
1830 | </table> |
---|
1831 | </dd></dl> |
---|
1832 | |
---|
1833 | <dl class="method"> |
---|
1834 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetBestFittingSize"> |
---|
1835 | <tt class="descname">SetBestFittingSize</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetBestFittingSize" title="Permalink to this definition">¶</a></dt> |
---|
1836 | <dd><p>Use <cite>SetInitialSize</cite></p> |
---|
1837 | </dd></dl> |
---|
1838 | |
---|
1839 | <dl class="method"> |
---|
1840 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetCaret"> |
---|
1841 | <tt class="descname">SetCaret</tt><big>(</big><em>self</em>, <em>Caret caret</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetCaret" title="Permalink to this definition">¶</a></dt> |
---|
1842 | <dd><p>Sets the caret associated with the window.</p> |
---|
1843 | </dd></dl> |
---|
1844 | |
---|
1845 | <dl class="method"> |
---|
1846 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetClientRect"> |
---|
1847 | <tt class="descname">SetClientRect</tt><big>(</big><em>self</em>, <em>Rect rect</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetClientRect" title="Permalink to this definition">¶</a></dt> |
---|
1848 | <dd><p>This sets the size of the window client area in pixels. Using this |
---|
1849 | function to size a window tends to be more device-independent than |
---|
1850 | wx.Window.SetSize, since the application need not worry about what |
---|
1851 | dimensions the border or title bar have when trying to fit the window |
---|
1852 | around panel items, for example.</p> |
---|
1853 | </dd></dl> |
---|
1854 | |
---|
1855 | <dl class="method"> |
---|
1856 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetClientSize"> |
---|
1857 | <tt class="descname">SetClientSize</tt><big>(</big><em>self</em>, <em>Size size</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetClientSize" title="Permalink to this definition">¶</a></dt> |
---|
1858 | <dd><p>This sets the size of the window client area in pixels. Using this |
---|
1859 | function to size a window tends to be more device-independent than |
---|
1860 | wx.Window.SetSize, since the application need not worry about what |
---|
1861 | dimensions the border or title bar have when trying to fit the window |
---|
1862 | around panel items, for example.</p> |
---|
1863 | </dd></dl> |
---|
1864 | |
---|
1865 | <dl class="method"> |
---|
1866 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetClientSizeWH"> |
---|
1867 | <tt class="descname">SetClientSizeWH</tt><big>(</big><em>self</em>, <em>int width</em>, <em>int height</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetClientSizeWH" title="Permalink to this definition">¶</a></dt> |
---|
1868 | <dd><p>This sets the size of the window client area in pixels. Using this |
---|
1869 | function to size a window tends to be more device-independent than |
---|
1870 | wx.Window.SetSize, since the application need not worry about what |
---|
1871 | dimensions the border or title bar have when trying to fit the window |
---|
1872 | around panel items, for example.</p> |
---|
1873 | </dd></dl> |
---|
1874 | |
---|
1875 | <dl class="method"> |
---|
1876 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetColor"> |
---|
1877 | <tt class="descname">SetColor</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetColor" title="Permalink to this definition">¶</a></dt> |
---|
1878 | <dd><p>Set figure and canvas colours to be the same</p> |
---|
1879 | </dd></dl> |
---|
1880 | |
---|
1881 | <dl class="method"> |
---|
1882 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetConstraints"> |
---|
1883 | <tt class="descname">SetConstraints</tt><big>(</big><em>self</em>, <em>LayoutConstraints constraints</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetConstraints" title="Permalink to this definition">¶</a></dt> |
---|
1884 | <dd><p>Sets the window to have the given layout constraints. If an existing |
---|
1885 | layout constraints object is already owned by the window, it will be |
---|
1886 | deleted. Pass None to disassociate and delete the window’s current |
---|
1887 | constraints.</p> |
---|
1888 | <p>You must call SetAutoLayout to tell a window to use the constraints |
---|
1889 | automatically in its default EVT_SIZE handler; otherwise, you must |
---|
1890 | handle EVT_SIZE yourself and call Layout() explicitly. When setting |
---|
1891 | both a wx.LayoutConstraints and a wx.Sizer, only the sizer will have |
---|
1892 | effect.</p> |
---|
1893 | </dd></dl> |
---|
1894 | |
---|
1895 | <dl class="method"> |
---|
1896 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetContainingSizer"> |
---|
1897 | <tt class="descname">SetContainingSizer</tt><big>(</big><em>self</em>, <em>Sizer sizer</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetContainingSizer" title="Permalink to this definition">¶</a></dt> |
---|
1898 | <dd><p>This normally does not need to be called by application code. It is |
---|
1899 | called internally when a window is added to a sizer, and is used so |
---|
1900 | the window can remove itself from the sizer when it is destroyed.</p> |
---|
1901 | </dd></dl> |
---|
1902 | |
---|
1903 | <dl class="method"> |
---|
1904 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetCursor"> |
---|
1905 | <tt class="descname">SetCursor</tt><big>(</big><em>self</em>, <em>Cursor cursor</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetCursor" title="Permalink to this definition">¶</a></dt> |
---|
1906 | <dd><p>Sets the window’s cursor. Notice that the window cursor also sets it |
---|
1907 | for the children of the window implicitly.</p> |
---|
1908 | <p>The cursor may be wx.NullCursor in which case the window cursor will |
---|
1909 | be reset back to default.</p> |
---|
1910 | </dd></dl> |
---|
1911 | |
---|
1912 | <dl class="method"> |
---|
1913 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetDimensions"> |
---|
1914 | <tt class="descname">SetDimensions</tt><big>(</big><em>self</em>, <em>int x</em>, <em>int y</em>, <em>int width</em>, <em>int height</em>, <em>int sizeFlags=SIZE_AUTO</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetDimensions" title="Permalink to this definition">¶</a></dt> |
---|
1915 | <dd><p>Sets the position and size of the window in pixels. The sizeFlags |
---|
1916 | parameter indicates the interpretation of the other params if they are |
---|
1917 | equal to -1.</p> |
---|
1918 | <blockquote> |
---|
1919 | <div><table border="1" class="docutils"> |
---|
1920 | <colgroup> |
---|
1921 | <col width="39%" /> |
---|
1922 | <col width="61%" /> |
---|
1923 | </colgroup> |
---|
1924 | <tbody valign="top"> |
---|
1925 | <tr class="row-odd"><td>wx.SIZE_AUTO</td> |
---|
1926 | <td>A -1 indicates that a class-specific |
---|
1927 | default should be used.</td> |
---|
1928 | </tr> |
---|
1929 | <tr class="row-even"><td>wx.SIZE_USE_EXISTING</td> |
---|
1930 | <td>Existing dimensions should be used if |
---|
1931 | -1 values are supplied.</td> |
---|
1932 | </tr> |
---|
1933 | <tr class="row-odd"><td>wxSIZE_ALLOW_MINUS_ONE</td> |
---|
1934 | <td>Allow dimensions of -1 and less to be |
---|
1935 | interpreted as real dimensions, not |
---|
1936 | default values.</td> |
---|
1937 | </tr> |
---|
1938 | </tbody> |
---|
1939 | </table> |
---|
1940 | </div></blockquote> |
---|
1941 | </dd></dl> |
---|
1942 | |
---|
1943 | <dl class="method"> |
---|
1944 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetDoubleBuffered"> |
---|
1945 | <tt class="descname">SetDoubleBuffered</tt><big>(</big><em>self</em>, <em>bool on</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetDoubleBuffered" title="Permalink to this definition">¶</a></dt> |
---|
1946 | <dd><p>Put the native window into double buffered or composited mode.</p> |
---|
1947 | </dd></dl> |
---|
1948 | |
---|
1949 | <dl class="method"> |
---|
1950 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetDropTarget"> |
---|
1951 | <tt class="descname">SetDropTarget</tt><big>(</big><em>self</em>, <em>DropTarget dropTarget</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetDropTarget" title="Permalink to this definition">¶</a></dt> |
---|
1952 | <dd><p>Associates a drop target with this window. If the window already has |
---|
1953 | a drop target, it is deleted.</p> |
---|
1954 | </dd></dl> |
---|
1955 | |
---|
1956 | <dl class="method"> |
---|
1957 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetEventHandler"> |
---|
1958 | <tt class="descname">SetEventHandler</tt><big>(</big><em>self</em>, <em>EvtHandler handler</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetEventHandler" title="Permalink to this definition">¶</a></dt> |
---|
1959 | <dd><p>Sets the event handler for this window. An event handler is an object |
---|
1960 | that is capable of processing the events sent to a window. (In other |
---|
1961 | words, is able to dispatch the events to handler function.) By |
---|
1962 | default, the window is its own event handler, but an application may |
---|
1963 | wish to substitute another, for example to allow central |
---|
1964 | implementation of event-handling for a variety of different window |
---|
1965 | classes.</p> |
---|
1966 | <p>It is usually better to use <cite>wx.Window.PushEventHandler</cite> since this sets |
---|
1967 | up a chain of event handlers, where an event not handled by one event |
---|
1968 | handler is handed off to the next one in the chain.</p> |
---|
1969 | </dd></dl> |
---|
1970 | |
---|
1971 | <dl class="method"> |
---|
1972 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetEvtHandlerEnabled"> |
---|
1973 | <tt class="descname">SetEvtHandlerEnabled</tt><big>(</big><em>self</em>, <em>bool enabled</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetEvtHandlerEnabled" title="Permalink to this definition">¶</a></dt> |
---|
1974 | <dd></dd></dl> |
---|
1975 | |
---|
1976 | <dl class="method"> |
---|
1977 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetExtraStyle"> |
---|
1978 | <tt class="descname">SetExtraStyle</tt><big>(</big><em>self</em>, <em>long exStyle</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetExtraStyle" title="Permalink to this definition">¶</a></dt> |
---|
1979 | <dd><p>Sets the extra style bits for the window. Extra styles are the less |
---|
1980 | often used style bits which can’t be set with the constructor or with |
---|
1981 | SetWindowStyleFlag()</p> |
---|
1982 | </dd></dl> |
---|
1983 | |
---|
1984 | <dl class="method"> |
---|
1985 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetFocus"> |
---|
1986 | <tt class="descname">SetFocus</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetFocus" title="Permalink to this definition">¶</a></dt> |
---|
1987 | <dd><p>Set’s the focus to this window, allowing it to receive keyboard input.</p> |
---|
1988 | </dd></dl> |
---|
1989 | |
---|
1990 | <dl class="method"> |
---|
1991 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetFocusFromKbd"> |
---|
1992 | <tt class="descname">SetFocusFromKbd</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetFocusFromKbd" title="Permalink to this definition">¶</a></dt> |
---|
1993 | <dd><p>Set focus to this window as the result of a keyboard action. Normally |
---|
1994 | only called internally.</p> |
---|
1995 | </dd></dl> |
---|
1996 | |
---|
1997 | <dl class="method"> |
---|
1998 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetFocusIgnoringChildren"> |
---|
1999 | <tt class="descname">SetFocusIgnoringChildren</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetFocusIgnoringChildren" title="Permalink to this definition">¶</a></dt> |
---|
2000 | <dd><p>In contrast to <cite>SetFocus</cite> (see above) this will set the focus to the |
---|
2001 | panel even of there are child windows in the panel. This is only |
---|
2002 | rarely needed.</p> |
---|
2003 | </dd></dl> |
---|
2004 | |
---|
2005 | <dl class="method"> |
---|
2006 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetFont"> |
---|
2007 | <tt class="descname">SetFont</tt><big>(</big><em>self</em>, <em>Font font</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetFont" title="Permalink to this definition">¶</a></dt> |
---|
2008 | <dd><p>Sets the font for this window.</p> |
---|
2009 | </dd></dl> |
---|
2010 | |
---|
2011 | <dl class="method"> |
---|
2012 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetForegroundColour"> |
---|
2013 | <tt class="descname">SetForegroundColour</tt><big>(</big><em>self</em>, <em>Colour colour</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetForegroundColour" title="Permalink to this definition">¶</a></dt> |
---|
2014 | <dd><p>Sets the foreground colour of the window. Returns True is the colour |
---|
2015 | was changed. The interpretation of foreground colour is dependent on |
---|
2016 | the window class; it may be the text colour or other colour, or it may |
---|
2017 | not be used at all.</p> |
---|
2018 | </dd></dl> |
---|
2019 | |
---|
2020 | <dl class="method"> |
---|
2021 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetHelpText"> |
---|
2022 | <tt class="descname">SetHelpText</tt><big>(</big><em>self</em>, <em>String text</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetHelpText" title="Permalink to this definition">¶</a></dt> |
---|
2023 | <dd><p>Sets the help text to be used as context-sensitive help for this |
---|
2024 | window. Note that the text is actually stored by the current |
---|
2025 | <cite>wx.HelpProvider</cite> implementation, and not in the window object itself.</p> |
---|
2026 | </dd></dl> |
---|
2027 | |
---|
2028 | <dl class="method"> |
---|
2029 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetHelpTextForId"> |
---|
2030 | <tt class="descname">SetHelpTextForId</tt><big>(</big><em>self</em>, <em>String text</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetHelpTextForId" title="Permalink to this definition">¶</a></dt> |
---|
2031 | <dd><p>Associate this help text with all windows with the same id as this |
---|
2032 | one.</p> |
---|
2033 | </dd></dl> |
---|
2034 | |
---|
2035 | <dl class="method"> |
---|
2036 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetId"> |
---|
2037 | <tt class="descname">SetId</tt><big>(</big><em>self</em>, <em>int winid</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetId" title="Permalink to this definition">¶</a></dt> |
---|
2038 | <dd><p>Sets the identifier of the window. Each window has an integer |
---|
2039 | identifier. If the application has not provided one, an identifier |
---|
2040 | will be generated. Normally, the identifier should be provided on |
---|
2041 | creation and should not be modified subsequently.</p> |
---|
2042 | </dd></dl> |
---|
2043 | |
---|
2044 | <dl class="method"> |
---|
2045 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetInitialSize"> |
---|
2046 | <tt class="descname">SetInitialSize</tt><big>(</big><em>self</em>, <em>Size size=DefaultSize</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetInitialSize" title="Permalink to this definition">¶</a></dt> |
---|
2047 | <dd><p>A ‘Smart’ SetSize that will fill in default size components with the |
---|
2048 | window’s <em>best size</em> values. Also set’s the minsize for use with sizers.</p> |
---|
2049 | </dd></dl> |
---|
2050 | |
---|
2051 | <dl class="method"> |
---|
2052 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetLabel"> |
---|
2053 | <tt class="descname">SetLabel</tt><big>(</big><em>self</em>, <em>String label</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetLabel" title="Permalink to this definition">¶</a></dt> |
---|
2054 | <dd><p>Set the text which the window shows in its label if applicable.</p> |
---|
2055 | </dd></dl> |
---|
2056 | |
---|
2057 | <dl class="method"> |
---|
2058 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetLayoutDirection"> |
---|
2059 | <tt class="descname">SetLayoutDirection</tt><big>(</big><em>self</em>, <em>int dir</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetLayoutDirection" title="Permalink to this definition">¶</a></dt> |
---|
2060 | <dd><p>Set the layout direction (LTR or RTL) for this window.</p> |
---|
2061 | </dd></dl> |
---|
2062 | |
---|
2063 | <dl class="method"> |
---|
2064 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetMaxSize"> |
---|
2065 | <tt class="descname">SetMaxSize</tt><big>(</big><em>self</em>, <em>Size maxSize</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetMaxSize" title="Permalink to this definition">¶</a></dt> |
---|
2066 | <dd><p>A more convenient method than <cite>SetSizeHints</cite> for setting just the |
---|
2067 | max size.</p> |
---|
2068 | </dd></dl> |
---|
2069 | |
---|
2070 | <dl class="method"> |
---|
2071 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetMinSize"> |
---|
2072 | <tt class="descname">SetMinSize</tt><big>(</big><em>self</em>, <em>Size minSize</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetMinSize" title="Permalink to this definition">¶</a></dt> |
---|
2073 | <dd><p>A more convenient method than <cite>SetSizeHints</cite> for setting just the |
---|
2074 | min size.</p> |
---|
2075 | </dd></dl> |
---|
2076 | |
---|
2077 | <dl class="method"> |
---|
2078 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetName"> |
---|
2079 | <tt class="descname">SetName</tt><big>(</big><em>self</em>, <em>String name</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetName" title="Permalink to this definition">¶</a></dt> |
---|
2080 | <dd><p>Sets the window’s name. The window name is used for ressource setting |
---|
2081 | in X, it is not the same as the window title/label</p> |
---|
2082 | </dd></dl> |
---|
2083 | |
---|
2084 | <dl class="method"> |
---|
2085 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetNextHandler"> |
---|
2086 | <tt class="descname">SetNextHandler</tt><big>(</big><em>self</em>, <em>EvtHandler handler</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetNextHandler" title="Permalink to this definition">¶</a></dt> |
---|
2087 | <dd></dd></dl> |
---|
2088 | |
---|
2089 | <dl class="method"> |
---|
2090 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetOwnBackgroundColour"> |
---|
2091 | <tt class="descname">SetOwnBackgroundColour</tt><big>(</big><em>self</em>, <em>Colour colour</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetOwnBackgroundColour" title="Permalink to this definition">¶</a></dt> |
---|
2092 | <dd></dd></dl> |
---|
2093 | |
---|
2094 | <dl class="method"> |
---|
2095 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetOwnFont"> |
---|
2096 | <tt class="descname">SetOwnFont</tt><big>(</big><em>self</em>, <em>Font font</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetOwnFont" title="Permalink to this definition">¶</a></dt> |
---|
2097 | <dd></dd></dl> |
---|
2098 | |
---|
2099 | <dl class="method"> |
---|
2100 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetOwnForegroundColour"> |
---|
2101 | <tt class="descname">SetOwnForegroundColour</tt><big>(</big><em>self</em>, <em>Colour colour</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetOwnForegroundColour" title="Permalink to this definition">¶</a></dt> |
---|
2102 | <dd></dd></dl> |
---|
2103 | |
---|
2104 | <dl class="method"> |
---|
2105 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetPosition"> |
---|
2106 | <tt class="descname">SetPosition</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetPosition" title="Permalink to this definition">¶</a></dt> |
---|
2107 | <dd><p>Move(self, Point pt, int flags=SIZE_USE_EXISTING)</p> |
---|
2108 | <p>Moves the window to the given position.</p> |
---|
2109 | </dd></dl> |
---|
2110 | |
---|
2111 | <dl class="method"> |
---|
2112 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetPreviousHandler"> |
---|
2113 | <tt class="descname">SetPreviousHandler</tt><big>(</big><em>self</em>, <em>EvtHandler handler</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetPreviousHandler" title="Permalink to this definition">¶</a></dt> |
---|
2114 | <dd></dd></dl> |
---|
2115 | |
---|
2116 | <dl class="method"> |
---|
2117 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetRect"> |
---|
2118 | <tt class="descname">SetRect</tt><big>(</big><em>self</em>, <em>Rect rect</em>, <em>int sizeFlags=SIZE_AUTO</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetRect" title="Permalink to this definition">¶</a></dt> |
---|
2119 | <dd><p>Sets the position and size of the window in pixels using a wx.Rect.</p> |
---|
2120 | </dd></dl> |
---|
2121 | |
---|
2122 | <dl class="method"> |
---|
2123 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetScrollPos"> |
---|
2124 | <tt class="descname">SetScrollPos</tt><big>(</big><em>self</em>, <em>int orientation</em>, <em>int pos</em>, <em>bool refresh=True</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetScrollPos" title="Permalink to this definition">¶</a></dt> |
---|
2125 | <dd><p>Sets the position of one of the built-in scrollbars.</p> |
---|
2126 | </dd></dl> |
---|
2127 | |
---|
2128 | <dl class="method"> |
---|
2129 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetScrollbar"> |
---|
2130 | <tt class="descname">SetScrollbar</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetScrollbar" title="Permalink to this definition">¶</a></dt> |
---|
2131 | <dd><dl class="docutils"> |
---|
2132 | <dt>SetScrollbar(self, int orientation, int position, int thumbSize, int range, </dt> |
---|
2133 | <dd>bool refresh=True)</dd> |
---|
2134 | </dl> |
---|
2135 | <p>Sets the scrollbar properties of a built-in scrollbar.</p> |
---|
2136 | </dd></dl> |
---|
2137 | |
---|
2138 | <dl class="method"> |
---|
2139 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetSize"> |
---|
2140 | <tt class="descname">SetSize</tt><big>(</big><em>self</em>, <em>Size size</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetSize" title="Permalink to this definition">¶</a></dt> |
---|
2141 | <dd><p>Sets the size of the window in pixels.</p> |
---|
2142 | </dd></dl> |
---|
2143 | |
---|
2144 | <dl class="method"> |
---|
2145 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetSizeHints"> |
---|
2146 | <tt class="descname">SetSizeHints</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetSizeHints" title="Permalink to this definition">¶</a></dt> |
---|
2147 | <dd><dl class="docutils"> |
---|
2148 | <dt>SetSizeHints(self, int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, </dt> |
---|
2149 | <dd>int incH=-1)</dd> |
---|
2150 | </dl> |
---|
2151 | <p>Allows specification of minimum and maximum window sizes, and window |
---|
2152 | size increments. If a pair of values is not set (or set to -1), the |
---|
2153 | default values will be used. If this function is called, the user |
---|
2154 | will not be able to size the window outside the given bounds (if it is |
---|
2155 | a top-level window.) Sizers will also inspect the minimum window size |
---|
2156 | and will use that value if set when calculating layout.</p> |
---|
2157 | <p>The resizing increments are only significant under Motif or Xt.</p> |
---|
2158 | </dd></dl> |
---|
2159 | |
---|
2160 | <dl class="method"> |
---|
2161 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetSizeHintsSz"> |
---|
2162 | <tt class="descname">SetSizeHintsSz</tt><big>(</big><em>self</em>, <em>Size minSize</em>, <em>Size maxSize=DefaultSize</em>, <em>Size incSize=DefaultSize</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetSizeHintsSz" title="Permalink to this definition">¶</a></dt> |
---|
2163 | <dd><p>Allows specification of minimum and maximum window sizes, and window |
---|
2164 | size increments. If a pair of values is not set (or set to -1), the |
---|
2165 | default values will be used. If this function is called, the user |
---|
2166 | will not be able to size the window outside the given bounds (if it is |
---|
2167 | a top-level window.) Sizers will also inspect the minimum window size |
---|
2168 | and will use that value if set when calculating layout.</p> |
---|
2169 | <p>The resizing increments are only significant under Motif or Xt.</p> |
---|
2170 | </dd></dl> |
---|
2171 | |
---|
2172 | <dl class="method"> |
---|
2173 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetSizeWH"> |
---|
2174 | <tt class="descname">SetSizeWH</tt><big>(</big><em>self</em>, <em>int width</em>, <em>int height</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetSizeWH" title="Permalink to this definition">¶</a></dt> |
---|
2175 | <dd><p>Sets the size of the window in pixels.</p> |
---|
2176 | </dd></dl> |
---|
2177 | |
---|
2178 | <dl class="method"> |
---|
2179 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetSizer"> |
---|
2180 | <tt class="descname">SetSizer</tt><big>(</big><em>self</em>, <em>Sizer sizer</em>, <em>bool deleteOld=True</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetSizer" title="Permalink to this definition">¶</a></dt> |
---|
2181 | <dd><p>Sets the window to have the given layout sizer. The window will then |
---|
2182 | own the object, and will take care of its deletion. If an existing |
---|
2183 | layout sizer object is already owned by the window, it will be deleted |
---|
2184 | if the deleteOld parameter is true. Note that this function will also |
---|
2185 | call SetAutoLayout implicitly with a True parameter if the sizer is |
---|
2186 | non-None, and False otherwise.</p> |
---|
2187 | </dd></dl> |
---|
2188 | |
---|
2189 | <dl class="method"> |
---|
2190 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetSizerAndFit"> |
---|
2191 | <tt class="descname">SetSizerAndFit</tt><big>(</big><em>self</em>, <em>Sizer sizer</em>, <em>bool deleteOld=True</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetSizerAndFit" title="Permalink to this definition">¶</a></dt> |
---|
2192 | <dd><p>The same as SetSizer, except it also sets the size hints for the |
---|
2193 | window based on the sizer’s minimum size.</p> |
---|
2194 | </dd></dl> |
---|
2195 | |
---|
2196 | <dl class="method"> |
---|
2197 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetThemeEnabled"> |
---|
2198 | <tt class="descname">SetThemeEnabled</tt><big>(</big><em>self</em>, <em>bool enableTheme</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetThemeEnabled" title="Permalink to this definition">¶</a></dt> |
---|
2199 | <dd><dl class="docutils"> |
---|
2200 | <dt>This function tells a window if it should use the system’s “theme”</dt> |
---|
2201 | <dd>code to draw the windows’ background instead if its own background |
---|
2202 | drawing code. This will only have an effect on platforms that support |
---|
2203 | the notion of themes in user defined windows. One such platform is |
---|
2204 | GTK+ where windows can have (very colourful) backgrounds defined by a |
---|
2205 | user’s selected theme.</dd> |
---|
2206 | </dl> |
---|
2207 | <p>Dialogs, notebook pages and the status bar have this flag set to true |
---|
2208 | by default so that the default look and feel is simulated best.</p> |
---|
2209 | </dd></dl> |
---|
2210 | |
---|
2211 | <dl class="method"> |
---|
2212 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetToolTip"> |
---|
2213 | <tt class="descname">SetToolTip</tt><big>(</big><em>self</em>, <em>ToolTip tip</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetToolTip" title="Permalink to this definition">¶</a></dt> |
---|
2214 | <dd><p>Attach a tooltip to the window.</p> |
---|
2215 | </dd></dl> |
---|
2216 | |
---|
2217 | <dl class="method"> |
---|
2218 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetToolTipString"> |
---|
2219 | <tt class="descname">SetToolTipString</tt><big>(</big><em>self</em>, <em>String tip</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetToolTipString" title="Permalink to this definition">¶</a></dt> |
---|
2220 | <dd><p>Attach a tooltip to the window.</p> |
---|
2221 | </dd></dl> |
---|
2222 | |
---|
2223 | <dl class="method"> |
---|
2224 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetTransparent"> |
---|
2225 | <tt class="descname">SetTransparent</tt><big>(</big><em>self</em>, <em>byte alpha</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetTransparent" title="Permalink to this definition">¶</a></dt> |
---|
2226 | <dd><p>Attempt to set the transparency of this window to the <tt class="docutils literal"><span class="pre">alpha</span></tt> value, |
---|
2227 | returns True on success. The <tt class="docutils literal"><span class="pre">alpha</span></tt> value is an integer in the |
---|
2228 | range of 0 to 255, where 0 is fully transparent and 255 is fully |
---|
2229 | opaque.</p> |
---|
2230 | </dd></dl> |
---|
2231 | |
---|
2232 | <dl class="method"> |
---|
2233 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetValidator"> |
---|
2234 | <tt class="descname">SetValidator</tt><big>(</big><em>self</em>, <em>Validator validator</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetValidator" title="Permalink to this definition">¶</a></dt> |
---|
2235 | <dd><p>Deletes the current validator (if any) and sets the window validator, |
---|
2236 | having called wx.Validator.Clone to create a new validator of this |
---|
2237 | type.</p> |
---|
2238 | </dd></dl> |
---|
2239 | |
---|
2240 | <dl class="method"> |
---|
2241 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetVirtualSize"> |
---|
2242 | <tt class="descname">SetVirtualSize</tt><big>(</big><em>self</em>, <em>Size size</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetVirtualSize" title="Permalink to this definition">¶</a></dt> |
---|
2243 | <dd><p>Set the the virtual size of a window in pixels. For most windows this |
---|
2244 | is just the client area of the window, but for some like scrolled |
---|
2245 | windows it is more or less independent of the screen window size.</p> |
---|
2246 | </dd></dl> |
---|
2247 | |
---|
2248 | <dl class="method"> |
---|
2249 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetVirtualSizeHints"> |
---|
2250 | <tt class="descname">SetVirtualSizeHints</tt><big>(</big><em>self</em>, <em>int minW</em>, <em>int minH</em>, <em>int maxW=-1</em>, <em>int maxH=-1</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetVirtualSizeHints" title="Permalink to this definition">¶</a></dt> |
---|
2251 | <dd><p>Allows specification of minimum and maximum virtual window sizes. If a |
---|
2252 | pair of values is not set (or set to -1), the default values will be |
---|
2253 | used. If this function is called, the user will not be able to size |
---|
2254 | the virtual area of the window outside the given bounds.</p> |
---|
2255 | </dd></dl> |
---|
2256 | |
---|
2257 | <dl class="method"> |
---|
2258 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetVirtualSizeHintsSz"> |
---|
2259 | <tt class="descname">SetVirtualSizeHintsSz</tt><big>(</big><em>self</em>, <em>Size minSize</em>, <em>Size maxSize=DefaultSize</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetVirtualSizeHintsSz" title="Permalink to this definition">¶</a></dt> |
---|
2260 | <dd><p>Allows specification of minimum and maximum virtual window sizes. If a |
---|
2261 | pair of values is not set (or set to -1), the default values will be |
---|
2262 | used. If this function is called, the user will not be able to size |
---|
2263 | the virtual area of the window outside the given bounds.</p> |
---|
2264 | </dd></dl> |
---|
2265 | |
---|
2266 | <dl class="method"> |
---|
2267 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetVirtualSizeWH"> |
---|
2268 | <tt class="descname">SetVirtualSizeWH</tt><big>(</big><em>self</em>, <em>int w</em>, <em>int h</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetVirtualSizeWH" title="Permalink to this definition">¶</a></dt> |
---|
2269 | <dd><p>Set the the virtual size of a window in pixels. For most windows this |
---|
2270 | is just the client area of the window, but for some like scrolled |
---|
2271 | windows it is more or less independent of the screen window size.</p> |
---|
2272 | </dd></dl> |
---|
2273 | |
---|
2274 | <dl class="method"> |
---|
2275 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetWindowStyle"> |
---|
2276 | <tt class="descname">SetWindowStyle</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetWindowStyle" title="Permalink to this definition">¶</a></dt> |
---|
2277 | <dd><p>SetWindowStyleFlag(self, long style)</p> |
---|
2278 | <p>Sets the style of the window. Please note that some styles cannot be |
---|
2279 | changed after the window creation and that Refresh() might need to be |
---|
2280 | called after changing the others for the change to take place |
---|
2281 | immediately.</p> |
---|
2282 | </dd></dl> |
---|
2283 | |
---|
2284 | <dl class="method"> |
---|
2285 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetWindowStyleFlag"> |
---|
2286 | <tt class="descname">SetWindowStyleFlag</tt><big>(</big><em>self</em>, <em>long style</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetWindowStyleFlag" title="Permalink to this definition">¶</a></dt> |
---|
2287 | <dd><p>Sets the style of the window. Please note that some styles cannot be |
---|
2288 | changed after the window creation and that Refresh() might need to be |
---|
2289 | called after changing the others for the change to take place |
---|
2290 | immediately.</p> |
---|
2291 | </dd></dl> |
---|
2292 | |
---|
2293 | <dl class="method"> |
---|
2294 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetWindowVariant"> |
---|
2295 | <tt class="descname">SetWindowVariant</tt><big>(</big><em>self</em>, <em>int variant</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.SetWindowVariant" title="Permalink to this definition">¶</a></dt> |
---|
2296 | <dd><p>Sets the variant of the window/font size to use for this window, if |
---|
2297 | the platform supports variants, for example, wxMac.</p> |
---|
2298 | </dd></dl> |
---|
2299 | |
---|
2300 | <dl class="method"> |
---|
2301 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ShouldInheritColours"> |
---|
2302 | <tt class="descname">ShouldInheritColours</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ShouldInheritColours" title="Permalink to this definition">¶</a></dt> |
---|
2303 | <dd><p>Return true from here to allow the colours of this window to be |
---|
2304 | changed by InheritAttributes, returning false forbids inheriting them |
---|
2305 | from the parent window.</p> |
---|
2306 | <p>The base class version returns false, but this method is overridden in |
---|
2307 | wxControl where it returns true.</p> |
---|
2308 | </dd></dl> |
---|
2309 | |
---|
2310 | <dl class="method"> |
---|
2311 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Show"> |
---|
2312 | <tt class="descname">Show</tt><big>(</big><em>self</em>, <em>bool show=True</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Show" title="Permalink to this definition">¶</a></dt> |
---|
2313 | <dd><p>Shows or hides the window. You may need to call Raise for a top level |
---|
2314 | window if you want to bring it to top, although this is not needed if |
---|
2315 | Show is called immediately after the frame creation. Returns True if |
---|
2316 | the window has been shown or hidden or False if nothing was done |
---|
2317 | because it already was in the requested state.</p> |
---|
2318 | </dd></dl> |
---|
2319 | |
---|
2320 | <dl class="attribute"> |
---|
2321 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Shown"> |
---|
2322 | <tt class="descname">Shown</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Shown" title="Permalink to this definition">¶</a></dt> |
---|
2323 | <dd><p>See <cite>IsShown</cite> and <cite>Show</cite></p> |
---|
2324 | </dd></dl> |
---|
2325 | |
---|
2326 | <dl class="attribute"> |
---|
2327 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Size"> |
---|
2328 | <tt class="descname">Size</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Size" title="Permalink to this definition">¶</a></dt> |
---|
2329 | <dd><p>See <cite>GetSize</cite> and <cite>SetSize</cite></p> |
---|
2330 | </dd></dl> |
---|
2331 | |
---|
2332 | <dl class="attribute"> |
---|
2333 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Sizer"> |
---|
2334 | <tt class="descname">Sizer</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Sizer" title="Permalink to this definition">¶</a></dt> |
---|
2335 | <dd><p>See <cite>GetSizer</cite> and <cite>SetSizer</cite></p> |
---|
2336 | </dd></dl> |
---|
2337 | |
---|
2338 | <dl class="method"> |
---|
2339 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Thaw"> |
---|
2340 | <tt class="descname">Thaw</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Thaw" title="Permalink to this definition">¶</a></dt> |
---|
2341 | <dd><p>Reenables window updating after a previous call to Freeze. Calls to |
---|
2342 | Freeze/Thaw may be nested, so Thaw must be called the same number of |
---|
2343 | times that Freeze was before the window will be updated.</p> |
---|
2344 | </dd></dl> |
---|
2345 | |
---|
2346 | <dl class="attribute"> |
---|
2347 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ThemeEnabled"> |
---|
2348 | <tt class="descname">ThemeEnabled</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ThemeEnabled" title="Permalink to this definition">¶</a></dt> |
---|
2349 | <dd><p>See <cite>GetThemeEnabled</cite> and <cite>SetThemeEnabled</cite></p> |
---|
2350 | </dd></dl> |
---|
2351 | |
---|
2352 | <dl class="method"> |
---|
2353 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ToggleWindowStyle"> |
---|
2354 | <tt class="descname">ToggleWindowStyle</tt><big>(</big><em>self</em>, <em>int flag</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ToggleWindowStyle" title="Permalink to this definition">¶</a></dt> |
---|
2355 | <dd><p>Turn the flag on if it had been turned off before and vice versa, |
---|
2356 | returns True if the flag is turned on by this function call.</p> |
---|
2357 | </dd></dl> |
---|
2358 | |
---|
2359 | <dl class="attribute"> |
---|
2360 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ToolTip"> |
---|
2361 | <tt class="descname">ToolTip</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ToolTip" title="Permalink to this definition">¶</a></dt> |
---|
2362 | <dd><p>See <cite>GetToolTip</cite> and <cite>SetToolTip</cite></p> |
---|
2363 | </dd></dl> |
---|
2364 | |
---|
2365 | <dl class="attribute"> |
---|
2366 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.TopLevel"> |
---|
2367 | <tt class="descname">TopLevel</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.TopLevel" title="Permalink to this definition">¶</a></dt> |
---|
2368 | <dd><p>See <cite>IsTopLevel</cite></p> |
---|
2369 | </dd></dl> |
---|
2370 | |
---|
2371 | <dl class="attribute"> |
---|
2372 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.TopLevelParent"> |
---|
2373 | <tt class="descname">TopLevelParent</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.TopLevelParent" title="Permalink to this definition">¶</a></dt> |
---|
2374 | <dd><p>See <cite>GetTopLevelParent</cite></p> |
---|
2375 | </dd></dl> |
---|
2376 | |
---|
2377 | <dl class="method"> |
---|
2378 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.TransferDataFromWindow"> |
---|
2379 | <tt class="descname">TransferDataFromWindow</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.TransferDataFromWindow" title="Permalink to this definition">¶</a></dt> |
---|
2380 | <dd><p>Transfers values from child controls to data areas specified by their |
---|
2381 | validators. Returns false if a transfer failed. If the window has |
---|
2382 | wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will |
---|
2383 | also call TransferDataFromWindow() of all child windows.</p> |
---|
2384 | </dd></dl> |
---|
2385 | |
---|
2386 | <dl class="method"> |
---|
2387 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.TransferDataToWindow"> |
---|
2388 | <tt class="descname">TransferDataToWindow</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.TransferDataToWindow" title="Permalink to this definition">¶</a></dt> |
---|
2389 | <dd><p>Transfers values to child controls from data areas specified by their |
---|
2390 | validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra |
---|
2391 | style flag set, the method will also call TransferDataToWindow() of |
---|
2392 | all child windows.</p> |
---|
2393 | </dd></dl> |
---|
2394 | |
---|
2395 | <dl class="method"> |
---|
2396 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Unbind"> |
---|
2397 | <tt class="descname">Unbind</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Unbind" title="Permalink to this definition">¶</a></dt> |
---|
2398 | <dd><p>Disconnects the event handler binding for event from self. |
---|
2399 | Returns True if successful.</p> |
---|
2400 | </dd></dl> |
---|
2401 | |
---|
2402 | <dl class="method"> |
---|
2403 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.UnregisterHotKey"> |
---|
2404 | <tt class="descname">UnregisterHotKey</tt><big>(</big><em>self</em>, <em>int hotkeyId</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.UnregisterHotKey" title="Permalink to this definition">¶</a></dt> |
---|
2405 | <dd><p>Unregisters a system wide hotkey.</p> |
---|
2406 | </dd></dl> |
---|
2407 | |
---|
2408 | <dl class="method"> |
---|
2409 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Update"> |
---|
2410 | <tt class="descname">Update</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Update" title="Permalink to this definition">¶</a></dt> |
---|
2411 | <dd><p>Calling this method immediately repaints the invalidated area of the |
---|
2412 | window instead of waiting for the EVT_PAINT event to happen, (normally |
---|
2413 | this would usually only happen when the flow of control returns to the |
---|
2414 | event loop.) Notice that this function doesn’t refresh the window and |
---|
2415 | does nothing if the window has been already repainted. Use <cite>Refresh</cite> |
---|
2416 | first if you want to immediately redraw the window (or some portion of |
---|
2417 | it) unconditionally.</p> |
---|
2418 | </dd></dl> |
---|
2419 | |
---|
2420 | <dl class="attribute"> |
---|
2421 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.UpdateClientRect"> |
---|
2422 | <tt class="descname">UpdateClientRect</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.UpdateClientRect" title="Permalink to this definition">¶</a></dt> |
---|
2423 | <dd><p>See <cite>GetUpdateClientRect</cite></p> |
---|
2424 | </dd></dl> |
---|
2425 | |
---|
2426 | <dl class="attribute"> |
---|
2427 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.UpdateRegion"> |
---|
2428 | <tt class="descname">UpdateRegion</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.UpdateRegion" title="Permalink to this definition">¶</a></dt> |
---|
2429 | <dd><p>See <cite>GetUpdateRegion</cite></p> |
---|
2430 | </dd></dl> |
---|
2431 | |
---|
2432 | <dl class="method"> |
---|
2433 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.UpdateWindowUI"> |
---|
2434 | <tt class="descname">UpdateWindowUI</tt><big>(</big><em>self</em>, <em>long flags=UPDATE_UI_NONE</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.UpdateWindowUI" title="Permalink to this definition">¶</a></dt> |
---|
2435 | <dd><p>This function sends EVT_UPDATE_UI events to the window. The particular |
---|
2436 | implementation depends on the window; for example a wx.ToolBar will |
---|
2437 | send an update UI event for each toolbar button, and a wx.Frame will |
---|
2438 | send an update UI event for each menubar menu item. You can call this |
---|
2439 | function from your application to ensure that your UI is up-to-date at |
---|
2440 | a particular point in time (as far as your EVT_UPDATE_UI handlers are |
---|
2441 | concerned). This may be necessary if you have called |
---|
2442 | <cite>wx.UpdateUIEvent.SetMode</cite> or <cite>wx.UpdateUIEvent.SetUpdateInterval</cite> to |
---|
2443 | limit the overhead that wxWindows incurs by sending update UI events |
---|
2444 | in idle time.</p> |
---|
2445 | </dd></dl> |
---|
2446 | |
---|
2447 | <dl class="method"> |
---|
2448 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.UseBgCol"> |
---|
2449 | <tt class="descname">UseBgCol</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.UseBgCol" title="Permalink to this definition">¶</a></dt> |
---|
2450 | <dd></dd></dl> |
---|
2451 | |
---|
2452 | <dl class="method"> |
---|
2453 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Validate"> |
---|
2454 | <tt class="descname">Validate</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Validate" title="Permalink to this definition">¶</a></dt> |
---|
2455 | <dd><p>Validates the current values of the child controls using their |
---|
2456 | validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra |
---|
2457 | style flag set, the method will also call Validate() of all child |
---|
2458 | windows. Returns false if any of the validations failed.</p> |
---|
2459 | </dd></dl> |
---|
2460 | |
---|
2461 | <dl class="attribute"> |
---|
2462 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Validator"> |
---|
2463 | <tt class="descname">Validator</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.Validator" title="Permalink to this definition">¶</a></dt> |
---|
2464 | <dd><p>See <cite>GetValidator</cite> and <cite>SetValidator</cite></p> |
---|
2465 | </dd></dl> |
---|
2466 | |
---|
2467 | <dl class="attribute"> |
---|
2468 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.VirtualSize"> |
---|
2469 | <tt class="descname">VirtualSize</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.VirtualSize" title="Permalink to this definition">¶</a></dt> |
---|
2470 | <dd><p>See <cite>GetVirtualSize</cite> and <cite>SetVirtualSize</cite></p> |
---|
2471 | </dd></dl> |
---|
2472 | |
---|
2473 | <dl class="method"> |
---|
2474 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.WarpPointer"> |
---|
2475 | <tt class="descname">WarpPointer</tt><big>(</big><em>self</em>, <em>int x</em>, <em>int y</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.WarpPointer" title="Permalink to this definition">¶</a></dt> |
---|
2476 | <dd><p>Moves the pointer to the given position on the window.</p> |
---|
2477 | <p>NOTE: This function is not supported under Mac because Apple Human |
---|
2478 | Interface Guidelines forbid moving the mouse cursor programmatically.</p> |
---|
2479 | </dd></dl> |
---|
2480 | |
---|
2481 | <dl class="attribute"> |
---|
2482 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.WindowStyle"> |
---|
2483 | <tt class="descname">WindowStyle</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.WindowStyle" title="Permalink to this definition">¶</a></dt> |
---|
2484 | <dd><p>See <cite>GetWindowStyle</cite> and <cite>SetWindowStyle</cite></p> |
---|
2485 | </dd></dl> |
---|
2486 | |
---|
2487 | <dl class="attribute"> |
---|
2488 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.WindowStyleFlag"> |
---|
2489 | <tt class="descname">WindowStyleFlag</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.WindowStyleFlag" title="Permalink to this definition">¶</a></dt> |
---|
2490 | <dd><p>See <cite>GetWindowStyleFlag</cite> and <cite>SetWindowStyleFlag</cite></p> |
---|
2491 | </dd></dl> |
---|
2492 | |
---|
2493 | <dl class="method"> |
---|
2494 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.WindowToClientSize"> |
---|
2495 | <tt class="descname">WindowToClientSize</tt><big>(</big><em>self</em>, <em>Size size</em><big>)</big> → Size<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.WindowToClientSize" title="Permalink to this definition">¶</a></dt> |
---|
2496 | <dd></dd></dl> |
---|
2497 | |
---|
2498 | <dl class="attribute"> |
---|
2499 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.WindowVariant"> |
---|
2500 | <tt class="descname">WindowVariant</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.WindowVariant" title="Permalink to this definition">¶</a></dt> |
---|
2501 | <dd><p>See <cite>GetWindowVariant</cite> and <cite>SetWindowVariant</cite></p> |
---|
2502 | </dd></dl> |
---|
2503 | |
---|
2504 | <dl class="method"> |
---|
2505 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._OnReSize"> |
---|
2506 | <tt class="descname">_OnReSize</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._OnReSize" title="Permalink to this definition">¶</a></dt> |
---|
2507 | <dd><p>On response of the resize of a panel, set axes_visiable False</p> |
---|
2508 | </dd></dl> |
---|
2509 | |
---|
2510 | <dl class="method"> |
---|
2511 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._SetSize"> |
---|
2512 | <tt class="descname">_SetSize</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._SetSize" title="Permalink to this definition">¶</a></dt> |
---|
2513 | <dd><p>This method can be called to force the Plot to be a desired size, |
---|
2514 | which defaults to the ClientSize of the panel</p> |
---|
2515 | </dd></dl> |
---|
2516 | |
---|
2517 | <dl class="attribute"> |
---|
2518 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__class__"> |
---|
2519 | <tt class="descname">__class__</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__class__" title="Permalink to this definition">¶</a></dt> |
---|
2520 | <dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p> |
---|
2521 | </dd></dl> |
---|
2522 | |
---|
2523 | <dl class="attribute"> |
---|
2524 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__delattr__"> |
---|
2525 | <tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__delattr__" title="Permalink to this definition">¶</a></dt> |
---|
2526 | <dd><p>x.__delattr__(‘name’) <==> del x.name</p> |
---|
2527 | </dd></dl> |
---|
2528 | |
---|
2529 | <dl class="attribute"> |
---|
2530 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__dict__"> |
---|
2531 | <tt class="descname">__dict__</tt><em class="property"> = <dictproxy object at 0x029672B0></em><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__dict__" title="Permalink to this definition">¶</a></dt> |
---|
2532 | <dd></dd></dl> |
---|
2533 | |
---|
2534 | <dl class="attribute"> |
---|
2535 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__getattribute__"> |
---|
2536 | <tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__getattribute__" title="Permalink to this definition">¶</a></dt> |
---|
2537 | <dd><p>x.__getattribute__(‘name’) <==> x.name</p> |
---|
2538 | </dd></dl> |
---|
2539 | |
---|
2540 | <dl class="attribute"> |
---|
2541 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__hash__"> |
---|
2542 | <tt class="descname">__hash__</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__hash__" title="Permalink to this definition">¶</a></dt> |
---|
2543 | <dd><p>x.__hash__() <==> hash(x)</p> |
---|
2544 | </dd></dl> |
---|
2545 | |
---|
2546 | <dl class="method"> |
---|
2547 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__init__"> |
---|
2548 | <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__init__" title="Permalink to this definition">¶</a></dt> |
---|
2549 | <dd></dd></dl> |
---|
2550 | |
---|
2551 | <dl class="attribute"> |
---|
2552 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__module__"> |
---|
2553 | <tt class="descname">__module__</tt><em class="property"> = 'sans.guiframe.local_perspectives.plotting.Plotter1D'</em><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__module__" title="Permalink to this definition">¶</a></dt> |
---|
2554 | <dd></dd></dl> |
---|
2555 | |
---|
2556 | <dl class="staticmethod"> |
---|
2557 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__new__"> |
---|
2558 | <em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> → a new object with type S, a subtype of T<a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__new__" title="Permalink to this definition">¶</a></dt> |
---|
2559 | <dd></dd></dl> |
---|
2560 | |
---|
2561 | <dl class="method"> |
---|
2562 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__reduce__"> |
---|
2563 | <tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__reduce__" title="Permalink to this definition">¶</a></dt> |
---|
2564 | <dd><p>helper for pickle</p> |
---|
2565 | </dd></dl> |
---|
2566 | |
---|
2567 | <dl class="method"> |
---|
2568 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__reduce_ex__"> |
---|
2569 | <tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__reduce_ex__" title="Permalink to this definition">¶</a></dt> |
---|
2570 | <dd><p>helper for pickle</p> |
---|
2571 | </dd></dl> |
---|
2572 | |
---|
2573 | <dl class="method"> |
---|
2574 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__repr__"> |
---|
2575 | <tt class="descname">__repr__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__repr__" title="Permalink to this definition">¶</a></dt> |
---|
2576 | <dd></dd></dl> |
---|
2577 | |
---|
2578 | <dl class="attribute"> |
---|
2579 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__setattr__"> |
---|
2580 | <tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__setattr__" title="Permalink to this definition">¶</a></dt> |
---|
2581 | <dd><p>x.__setattr__(‘name’, value) <==> x.name = value</p> |
---|
2582 | </dd></dl> |
---|
2583 | |
---|
2584 | <dl class="attribute"> |
---|
2585 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__str__"> |
---|
2586 | <tt class="descname">__str__</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__str__" title="Permalink to this definition">¶</a></dt> |
---|
2587 | <dd><p>x.__str__() <==> str(x)</p> |
---|
2588 | </dd></dl> |
---|
2589 | |
---|
2590 | <dl class="attribute"> |
---|
2591 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__weakref__"> |
---|
2592 | <tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.__weakref__" title="Permalink to this definition">¶</a></dt> |
---|
2593 | <dd><p>list of weak references to the object (if defined)</p> |
---|
2594 | </dd></dl> |
---|
2595 | |
---|
2596 | <dl class="method"> |
---|
2597 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._add_more_tool"> |
---|
2598 | <tt class="descname">_add_more_tool</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._add_more_tool" title="Permalink to this definition">¶</a></dt> |
---|
2599 | <dd><p>Add refresh, add/delete button in the tool bar</p> |
---|
2600 | </dd></dl> |
---|
2601 | |
---|
2602 | <dl class="method"> |
---|
2603 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._build_matrix"> |
---|
2604 | <tt class="descname">_build_matrix</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._build_matrix" title="Permalink to this definition">¶</a></dt> |
---|
2605 | <dd><p>Build a matrix for 2d plot from a vector |
---|
2606 | Returns a matrix (image) with ~ square binning |
---|
2607 | Requirement: need 1d array formats of |
---|
2608 | self.data, self.qx_data, and self.qy_data |
---|
2609 | where each one corresponds to z, x, or y axis values</p> |
---|
2610 | </dd></dl> |
---|
2611 | |
---|
2612 | <dl class="method"> |
---|
2613 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._check_zoom_plot"> |
---|
2614 | <tt class="descname">_check_zoom_plot</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._check_zoom_plot" title="Permalink to this definition">¶</a></dt> |
---|
2615 | <dd><p>Check the zoom range and plot (1D only)</p> |
---|
2616 | </dd></dl> |
---|
2617 | |
---|
2618 | <dl class="method"> |
---|
2619 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._color"> |
---|
2620 | <tt class="descname">_color</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._color" title="Permalink to this definition">¶</a></dt> |
---|
2621 | <dd><p>Return a particular colour</p> |
---|
2622 | </dd></dl> |
---|
2623 | |
---|
2624 | <dl class="method"> |
---|
2625 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._connect_to_xlim"> |
---|
2626 | <tt class="descname">_connect_to_xlim</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._connect_to_xlim" title="Permalink to this definition">¶</a></dt> |
---|
2627 | <dd><p>Bind the xlim change notification to the callback</p> |
---|
2628 | </dd></dl> |
---|
2629 | |
---|
2630 | <dl class="method"> |
---|
2631 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._dragHelper"> |
---|
2632 | <tt class="descname">_dragHelper</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._dragHelper" title="Permalink to this definition">¶</a></dt> |
---|
2633 | <dd><p>dragging occurs here</p> |
---|
2634 | </dd></dl> |
---|
2635 | |
---|
2636 | <dl class="method"> |
---|
2637 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._fillup_pixels"> |
---|
2638 | <tt class="descname">_fillup_pixels</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._fillup_pixels" title="Permalink to this definition">¶</a></dt> |
---|
2639 | <dd><p>Fill z values of the empty cells of 2d image matrix |
---|
2640 | with the average over up-to next nearest neighbor points</p> |
---|
2641 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2642 | <col class="field-name" /> |
---|
2643 | <col class="field-body" /> |
---|
2644 | <tbody valign="top"> |
---|
2645 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>image</strong> – (2d matrix with some zi = None)</td> |
---|
2646 | </tr> |
---|
2647 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">image (2d array )</td> |
---|
2648 | </tr> |
---|
2649 | <tr class="field-odd field"><th class="field-name">Todo :</th><td class="field-body">Find better way to do for-loop below</td> |
---|
2650 | </tr> |
---|
2651 | </tbody> |
---|
2652 | </table> |
---|
2653 | </dd></dl> |
---|
2654 | |
---|
2655 | <dl class="method"> |
---|
2656 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._get_bins"> |
---|
2657 | <tt class="descname">_get_bins</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._get_bins" title="Permalink to this definition">¶</a></dt> |
---|
2658 | <dd><p>get bins |
---|
2659 | set x_bins and y_bins into self, 1d arrays of the index with |
---|
2660 | ~ square binning |
---|
2661 | Requirement: need 1d array formats of |
---|
2662 | self.qx_data, and self.qy_data |
---|
2663 | where each one corresponds to x, or y axis values</p> |
---|
2664 | </dd></dl> |
---|
2665 | |
---|
2666 | <dl class="method"> |
---|
2667 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._linear_fit_close"> |
---|
2668 | <tt class="descname">_linear_fit_close</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._linear_fit_close" title="Permalink to this definition">¶</a></dt> |
---|
2669 | <dd><p>A fit dialog was closed</p> |
---|
2670 | </dd></dl> |
---|
2671 | |
---|
2672 | <dl class="method"> |
---|
2673 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._offset_graph"> |
---|
2674 | <tt class="descname">_offset_graph</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._offset_graph" title="Permalink to this definition">¶</a></dt> |
---|
2675 | <dd><p>Zoom and offset the graph to the last known settings</p> |
---|
2676 | </dd></dl> |
---|
2677 | |
---|
2678 | <dl class="method"> |
---|
2679 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._onEVT_FUNC_PROPERTY"> |
---|
2680 | <tt class="descname">_onEVT_FUNC_PROPERTY</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._onEVT_FUNC_PROPERTY" title="Permalink to this definition">¶</a></dt> |
---|
2681 | <dd><p>Receive the x and y transformation from myDialog, |
---|
2682 | Transforms x and y in View |
---|
2683 | and set the scale</p> |
---|
2684 | </dd></dl> |
---|
2685 | |
---|
2686 | <dl class="method"> |
---|
2687 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._onIdle"> |
---|
2688 | <tt class="descname">_onIdle</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._onIdle" title="Permalink to this definition">¶</a></dt> |
---|
2689 | <dd></dd></dl> |
---|
2690 | |
---|
2691 | <dl class="method"> |
---|
2692 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._onProperties"> |
---|
2693 | <tt class="descname">_onProperties</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._onProperties" title="Permalink to this definition">¶</a></dt> |
---|
2694 | <dd><p>when clicking on Properties on context menu , |
---|
2695 | The Property dialog is displayed |
---|
2696 | The user selects a transformation for x or y value and |
---|
2697 | a new plot is displayed</p> |
---|
2698 | </dd></dl> |
---|
2699 | |
---|
2700 | <dl class="method"> |
---|
2701 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._onRemove"> |
---|
2702 | <tt class="descname">_onRemove</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._onRemove" title="Permalink to this definition">¶</a></dt> |
---|
2703 | <dd><p>Remove a plottable from the graph and render the graph</p> |
---|
2704 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2705 | <col class="field-name" /> |
---|
2706 | <col class="field-body" /> |
---|
2707 | <tbody valign="top"> |
---|
2708 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> – Menu event</td> |
---|
2709 | </tr> |
---|
2710 | </tbody> |
---|
2711 | </table> |
---|
2712 | </dd></dl> |
---|
2713 | |
---|
2714 | <dl class="method"> |
---|
2715 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._onSave"> |
---|
2716 | <tt class="descname">_onSave</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._onSave" title="Permalink to this definition">¶</a></dt> |
---|
2717 | <dd><p>Save a data set to a text file</p> |
---|
2718 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2719 | <col class="field-name" /> |
---|
2720 | <col class="field-body" /> |
---|
2721 | <tbody valign="top"> |
---|
2722 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>evt</strong> – Menu event</td> |
---|
2723 | </tr> |
---|
2724 | </tbody> |
---|
2725 | </table> |
---|
2726 | </dd></dl> |
---|
2727 | |
---|
2728 | <dl class="method"> |
---|
2729 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._onSize"> |
---|
2730 | <tt class="descname">_onSize</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._onSize" title="Permalink to this definition">¶</a></dt> |
---|
2731 | <dd></dd></dl> |
---|
2732 | |
---|
2733 | <dl class="method"> |
---|
2734 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._onToggleScale"> |
---|
2735 | <tt class="descname">_onToggleScale</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._onToggleScale" title="Permalink to this definition">¶</a></dt> |
---|
2736 | <dd><p>toggle axis and replot image</p> |
---|
2737 | </dd></dl> |
---|
2738 | |
---|
2739 | <dl class="method"> |
---|
2740 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._on_addtext"> |
---|
2741 | <tt class="descname">_on_addtext</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._on_addtext" title="Permalink to this definition">¶</a></dt> |
---|
2742 | <dd><p>Allows you to add text to the plot</p> |
---|
2743 | </dd></dl> |
---|
2744 | |
---|
2745 | <dl class="method"> |
---|
2746 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._on_axis_label"> |
---|
2747 | <tt class="descname">_on_axis_label</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._on_axis_label" title="Permalink to this definition">¶</a></dt> |
---|
2748 | <dd><p>Modify axes labels</p> |
---|
2749 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2750 | <col class="field-name" /> |
---|
2751 | <col class="field-body" /> |
---|
2752 | <tbody valign="top"> |
---|
2753 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>axis</strong> – x or y axis [string]</td> |
---|
2754 | </tr> |
---|
2755 | </tbody> |
---|
2756 | </table> |
---|
2757 | </dd></dl> |
---|
2758 | |
---|
2759 | <dl class="method"> |
---|
2760 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._on_delete"> |
---|
2761 | <tt class="descname">_on_delete</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._on_delete" title="Permalink to this definition">¶</a></dt> |
---|
2762 | <dd><p>Refreshes the plotpanel on refresh tollbar button</p> |
---|
2763 | </dd></dl> |
---|
2764 | |
---|
2765 | <dl class="method"> |
---|
2766 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._on_removetext"> |
---|
2767 | <tt class="descname">_on_removetext</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._on_removetext" title="Permalink to this definition">¶</a></dt> |
---|
2768 | <dd><p>Removes all text from the plot. |
---|
2769 | Eventually, add option to remove specific text boxes</p> |
---|
2770 | </dd></dl> |
---|
2771 | |
---|
2772 | <dl class="method"> |
---|
2773 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._on_xaxis_label"> |
---|
2774 | <tt class="descname">_on_xaxis_label</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._on_xaxis_label" title="Permalink to this definition">¶</a></dt> |
---|
2775 | <dd><p>Allows you to add text to the plot</p> |
---|
2776 | </dd></dl> |
---|
2777 | |
---|
2778 | <dl class="method"> |
---|
2779 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._on_yaxis_label"> |
---|
2780 | <tt class="descname">_on_yaxis_label</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._on_yaxis_label" title="Permalink to this definition">¶</a></dt> |
---|
2781 | <dd><p>Allows you to add text to the plot</p> |
---|
2782 | </dd></dl> |
---|
2783 | |
---|
2784 | <dl class="method"> |
---|
2785 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._onsaveTXT"> |
---|
2786 | <tt class="descname">_onsaveTXT</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._onsaveTXT" title="Permalink to this definition">¶</a></dt> |
---|
2787 | <dd><p>Save file as txt</p> |
---|
2788 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2789 | <col class="field-name" /> |
---|
2790 | <col class="field-body" /> |
---|
2791 | <tbody valign="top"> |
---|
2792 | <tr class="field-odd field"><th class="field-name">Todo :</th><td class="field-body">Refactor and remove this method. See TODO in _onSave.</td> |
---|
2793 | </tr> |
---|
2794 | </tbody> |
---|
2795 | </table> |
---|
2796 | </dd></dl> |
---|
2797 | |
---|
2798 | <dl class="method"> |
---|
2799 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._ontoggle_hide_error"> |
---|
2800 | <tt class="descname">_ontoggle_hide_error</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._ontoggle_hide_error" title="Permalink to this definition">¶</a></dt> |
---|
2801 | <dd><p>Toggle error display to hide or show</p> |
---|
2802 | </dd></dl> |
---|
2803 | |
---|
2804 | <dl class="method"> |
---|
2805 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._replot"> |
---|
2806 | <tt class="descname">_replot</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._replot" title="Permalink to this definition">¶</a></dt> |
---|
2807 | <dd><p>Rescale the plottables according to the latest |
---|
2808 | user selection and update the plot</p> |
---|
2809 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2810 | <col class="field-name" /> |
---|
2811 | <col class="field-body" /> |
---|
2812 | <tbody valign="top"> |
---|
2813 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>remove_fit</strong> – Fit line will be removed if True</td> |
---|
2814 | </tr> |
---|
2815 | </tbody> |
---|
2816 | </table> |
---|
2817 | </dd></dl> |
---|
2818 | |
---|
2819 | <dl class="method"> |
---|
2820 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._reset"> |
---|
2821 | <tt class="descname">_reset</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._reset" title="Permalink to this definition">¶</a></dt> |
---|
2822 | <dd><p>Resets internal data and graph</p> |
---|
2823 | </dd></dl> |
---|
2824 | |
---|
2825 | <dl class="method"> |
---|
2826 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._setOORInfo"> |
---|
2827 | <tt class="descname">_setOORInfo</tt><big>(</big><em>self</em>, <em>PyObject _self</em>, <em>bool incref=True</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._setOORInfo" title="Permalink to this definition">¶</a></dt> |
---|
2828 | <dd></dd></dl> |
---|
2829 | |
---|
2830 | <dl class="method"> |
---|
2831 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_bookmark_flag"> |
---|
2832 | <tt class="descname">_set_bookmark_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_bookmark_flag" title="Permalink to this definition">¶</a></dt> |
---|
2833 | <dd><p>The derivative class sets the bookmark flag value to indicate that it |
---|
2834 | can be bookmarked</p> |
---|
2835 | </dd></dl> |
---|
2836 | |
---|
2837 | <dl class="method"> |
---|
2838 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_copy_flag"> |
---|
2839 | <tt class="descname">_set_copy_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_copy_flag" title="Permalink to this definition">¶</a></dt> |
---|
2840 | <dd><p>The derivative class sets the copy flag value to indicate that the |
---|
2841 | action done can be recovered</p> |
---|
2842 | </dd></dl> |
---|
2843 | |
---|
2844 | <dl class="method"> |
---|
2845 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_drag_flag"> |
---|
2846 | <tt class="descname">_set_drag_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_drag_flag" title="Permalink to this definition">¶</a></dt> |
---|
2847 | <dd><p>The derivative class sets the drag flag value to indicate that |
---|
2848 | dragging motion is possible</p> |
---|
2849 | </dd></dl> |
---|
2850 | |
---|
2851 | <dl class="method"> |
---|
2852 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_paste_flag"> |
---|
2853 | <tt class="descname">_set_paste_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_paste_flag" title="Permalink to this definition">¶</a></dt> |
---|
2854 | <dd><p>The derivative class sets the paste flag value to indicate that the |
---|
2855 | action done can be recovered</p> |
---|
2856 | </dd></dl> |
---|
2857 | |
---|
2858 | <dl class="method"> |
---|
2859 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_preview_flag"> |
---|
2860 | <tt class="descname">_set_preview_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_preview_flag" title="Permalink to this definition">¶</a></dt> |
---|
2861 | <dd><p>The derivative class sets the preview flag value to indicate that it |
---|
2862 | can be previewed</p> |
---|
2863 | </dd></dl> |
---|
2864 | |
---|
2865 | <dl class="method"> |
---|
2866 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_print_flag"> |
---|
2867 | <tt class="descname">_set_print_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_print_flag" title="Permalink to this definition">¶</a></dt> |
---|
2868 | <dd><p>The derivative class sets the print flag value to indicate that it can |
---|
2869 | be printed</p> |
---|
2870 | </dd></dl> |
---|
2871 | |
---|
2872 | <dl class="method"> |
---|
2873 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_redo_flag"> |
---|
2874 | <tt class="descname">_set_redo_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_redo_flag" title="Permalink to this definition">¶</a></dt> |
---|
2875 | <dd><p>The derivative class sets the redo flag value to indicate that the |
---|
2876 | action done can be recovered</p> |
---|
2877 | </dd></dl> |
---|
2878 | |
---|
2879 | <dl class="method"> |
---|
2880 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_reset_flag"> |
---|
2881 | <tt class="descname">_set_reset_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_reset_flag" title="Permalink to this definition">¶</a></dt> |
---|
2882 | <dd><p>The derivative class sets the reset flag value to indicate that it |
---|
2883 | can be reset</p> |
---|
2884 | </dd></dl> |
---|
2885 | |
---|
2886 | <dl class="method"> |
---|
2887 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_save_flag"> |
---|
2888 | <tt class="descname">_set_save_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_save_flag" title="Permalink to this definition">¶</a></dt> |
---|
2889 | <dd><p>The derivative class sets the drag flag value to indicate that it |
---|
2890 | can be saved</p> |
---|
2891 | </dd></dl> |
---|
2892 | |
---|
2893 | <dl class="method"> |
---|
2894 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_undo_flag"> |
---|
2895 | <tt class="descname">_set_undo_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_undo_flag" title="Permalink to this definition">¶</a></dt> |
---|
2896 | <dd><p>The derivative class sets the undo flag value to indicate that the |
---|
2897 | current action done can be canceled</p> |
---|
2898 | </dd></dl> |
---|
2899 | |
---|
2900 | <dl class="method"> |
---|
2901 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_zoom_flag"> |
---|
2902 | <tt class="descname">_set_zoom_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_zoom_flag" title="Permalink to this definition">¶</a></dt> |
---|
2903 | <dd><p>The derivative class sets the zoom flag value to indicate that it |
---|
2904 | can be zoomed</p> |
---|
2905 | </dd></dl> |
---|
2906 | |
---|
2907 | <dl class="method"> |
---|
2908 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_zoomed_in_flag"> |
---|
2909 | <tt class="descname">_set_zoomed_in_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_zoomed_in_flag" title="Permalink to this definition">¶</a></dt> |
---|
2910 | <dd><p>The derivative class sets the zoom in flag value to indicate that it |
---|
2911 | can be zoomed in</p> |
---|
2912 | </dd></dl> |
---|
2913 | |
---|
2914 | <dl class="method"> |
---|
2915 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_zoomed_out_flag"> |
---|
2916 | <tt class="descname">_set_zoomed_out_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._set_zoomed_out_flag" title="Permalink to this definition">¶</a></dt> |
---|
2917 | <dd><p>The derivative class sets the zoom out flag value to indicate that it |
---|
2918 | can be zoomed out</p> |
---|
2919 | </dd></dl> |
---|
2920 | |
---|
2921 | <dl class="method"> |
---|
2922 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._symbol"> |
---|
2923 | <tt class="descname">_symbol</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D._symbol" title="Permalink to this definition">¶</a></dt> |
---|
2924 | <dd><p>Return a particular symbol</p> |
---|
2925 | </dd></dl> |
---|
2926 | |
---|
2927 | <dl class="method"> |
---|
2928 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.add_toolbar"> |
---|
2929 | <tt class="descname">add_toolbar</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.add_toolbar" title="Permalink to this definition">¶</a></dt> |
---|
2930 | <dd><p>add toolbar</p> |
---|
2931 | </dd></dl> |
---|
2932 | |
---|
2933 | <dl class="method"> |
---|
2934 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.clear"> |
---|
2935 | <tt class="descname">clear</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.clear" title="Permalink to this definition">¶</a></dt> |
---|
2936 | <dd><p>Reset the plot</p> |
---|
2937 | </dd></dl> |
---|
2938 | |
---|
2939 | <dl class="method"> |
---|
2940 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.curve"> |
---|
2941 | <tt class="descname">curve</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.curve" title="Permalink to this definition">¶</a></dt> |
---|
2942 | <dd><p>Draw a line on a graph, possibly with confidence intervals.</p> |
---|
2943 | </dd></dl> |
---|
2944 | |
---|
2945 | <dl class="method"> |
---|
2946 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.draw"> |
---|
2947 | <tt class="descname">draw</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.draw" title="Permalink to this definition">¶</a></dt> |
---|
2948 | <dd><p>Where the actual drawing happens</p> |
---|
2949 | </dd></dl> |
---|
2950 | |
---|
2951 | <dl class="method"> |
---|
2952 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.draw_plot"> |
---|
2953 | <tt class="descname">draw_plot</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.draw_plot" title="Permalink to this definition">¶</a></dt> |
---|
2954 | <dd><p>Draw plot</p> |
---|
2955 | </dd></dl> |
---|
2956 | |
---|
2957 | <dl class="method"> |
---|
2958 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_bookmark_flag"> |
---|
2959 | <tt class="descname">get_bookmark_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_bookmark_flag" title="Permalink to this definition">¶</a></dt> |
---|
2960 | <dd><p>Get the bookmark flag to update appropriately the tool bar</p> |
---|
2961 | </dd></dl> |
---|
2962 | |
---|
2963 | <dl class="method"> |
---|
2964 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_color_label"> |
---|
2965 | <tt class="descname">get_color_label</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_color_label" title="Permalink to this definition">¶</a></dt> |
---|
2966 | <dd><p>Associates label to a specific color</p> |
---|
2967 | </dd></dl> |
---|
2968 | |
---|
2969 | <dl class="method"> |
---|
2970 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_copy_flag"> |
---|
2971 | <tt class="descname">get_copy_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_copy_flag" title="Permalink to this definition">¶</a></dt> |
---|
2972 | <dd><p>Get the copy flag to update appropriately the tool bar</p> |
---|
2973 | </dd></dl> |
---|
2974 | |
---|
2975 | <dl class="method"> |
---|
2976 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_data"> |
---|
2977 | <tt class="descname">get_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_data" title="Permalink to this definition">¶</a></dt> |
---|
2978 | <dd><p>return list of current data</p> |
---|
2979 | </dd></dl> |
---|
2980 | |
---|
2981 | <dl class="method"> |
---|
2982 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_drag_flag"> |
---|
2983 | <tt class="descname">get_drag_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_drag_flag" title="Permalink to this definition">¶</a></dt> |
---|
2984 | <dd><p>Get the drag flag to update appropriately the tool bar</p> |
---|
2985 | </dd></dl> |
---|
2986 | |
---|
2987 | <dl class="method"> |
---|
2988 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_loc_label"> |
---|
2989 | <tt class="descname">get_loc_label</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_loc_label" title="Permalink to this definition">¶</a></dt> |
---|
2990 | <dd><p>Associates label to a specific legend location</p> |
---|
2991 | </dd></dl> |
---|
2992 | |
---|
2993 | <dl class="method"> |
---|
2994 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_manager"> |
---|
2995 | <tt class="descname">get_manager</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_manager" title="Permalink to this definition">¶</a></dt> |
---|
2996 | <dd></dd></dl> |
---|
2997 | |
---|
2998 | <dl class="method"> |
---|
2999 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_paste_flag"> |
---|
3000 | <tt class="descname">get_paste_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_paste_flag" title="Permalink to this definition">¶</a></dt> |
---|
3001 | <dd><p>Get the copy flag to update appropriately the tool bar</p> |
---|
3002 | </dd></dl> |
---|
3003 | |
---|
3004 | <dl class="method"> |
---|
3005 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_preview_flag"> |
---|
3006 | <tt class="descname">get_preview_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_preview_flag" title="Permalink to this definition">¶</a></dt> |
---|
3007 | <dd><p>Get the preview flag to update appropriately the tool bar</p> |
---|
3008 | </dd></dl> |
---|
3009 | |
---|
3010 | <dl class="method"> |
---|
3011 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_print_flag"> |
---|
3012 | <tt class="descname">get_print_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_print_flag" title="Permalink to this definition">¶</a></dt> |
---|
3013 | <dd><p>Get the print flag to update appropriately the tool bar</p> |
---|
3014 | </dd></dl> |
---|
3015 | |
---|
3016 | <dl class="method"> |
---|
3017 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_redo_flag"> |
---|
3018 | <tt class="descname">get_redo_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_redo_flag" title="Permalink to this definition">¶</a></dt> |
---|
3019 | <dd><p>Get the redo flag to update appropriately the tool bar</p> |
---|
3020 | </dd></dl> |
---|
3021 | |
---|
3022 | <dl class="method"> |
---|
3023 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_reset_flag"> |
---|
3024 | <tt class="descname">get_reset_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_reset_flag" title="Permalink to this definition">¶</a></dt> |
---|
3025 | <dd><p>Get the reset flag to update appropriately the tool bar</p> |
---|
3026 | </dd></dl> |
---|
3027 | |
---|
3028 | <dl class="method"> |
---|
3029 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_save_flag"> |
---|
3030 | <tt class="descname">get_save_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_save_flag" title="Permalink to this definition">¶</a></dt> |
---|
3031 | <dd><p>Get the save flag to update appropriately the tool bar</p> |
---|
3032 | </dd></dl> |
---|
3033 | |
---|
3034 | <dl class="method"> |
---|
3035 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_state"> |
---|
3036 | <tt class="descname">get_state</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_state" title="Permalink to this definition">¶</a></dt> |
---|
3037 | <dd><p>return the current state</p> |
---|
3038 | </dd></dl> |
---|
3039 | |
---|
3040 | <dl class="method"> |
---|
3041 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_symbol_label"> |
---|
3042 | <tt class="descname">get_symbol_label</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_symbol_label" title="Permalink to this definition">¶</a></dt> |
---|
3043 | <dd><p>Associates label to symbol</p> |
---|
3044 | </dd></dl> |
---|
3045 | |
---|
3046 | <dl class="method"> |
---|
3047 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_undo_flag"> |
---|
3048 | <tt class="descname">get_undo_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_undo_flag" title="Permalink to this definition">¶</a></dt> |
---|
3049 | <dd><p>Get the undo flag to update appropriately the tool bar</p> |
---|
3050 | </dd></dl> |
---|
3051 | |
---|
3052 | <dl class="method"> |
---|
3053 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_xscale"> |
---|
3054 | <tt class="descname">get_xscale</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_xscale" title="Permalink to this definition">¶</a></dt> |
---|
3055 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
3056 | <col class="field-name" /> |
---|
3057 | <col class="field-body" /> |
---|
3058 | <tbody valign="top"> |
---|
3059 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">x-axis scale</td> |
---|
3060 | </tr> |
---|
3061 | </tbody> |
---|
3062 | </table> |
---|
3063 | </dd></dl> |
---|
3064 | |
---|
3065 | <dl class="method"> |
---|
3066 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_yscale"> |
---|
3067 | <tt class="descname">get_yscale</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_yscale" title="Permalink to this definition">¶</a></dt> |
---|
3068 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
3069 | <col class="field-name" /> |
---|
3070 | <col class="field-body" /> |
---|
3071 | <tbody valign="top"> |
---|
3072 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">Y-axis scale</td> |
---|
3073 | </tr> |
---|
3074 | </tbody> |
---|
3075 | </table> |
---|
3076 | </dd></dl> |
---|
3077 | |
---|
3078 | <dl class="method"> |
---|
3079 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_zoom_flag"> |
---|
3080 | <tt class="descname">get_zoom_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_zoom_flag" title="Permalink to this definition">¶</a></dt> |
---|
3081 | <dd><p>Get the zoom flag to update appropriately the tool bar</p> |
---|
3082 | </dd></dl> |
---|
3083 | |
---|
3084 | <dl class="method"> |
---|
3085 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_zoom_in_flag"> |
---|
3086 | <tt class="descname">get_zoom_in_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_zoom_in_flag" title="Permalink to this definition">¶</a></dt> |
---|
3087 | <dd><p>Get the zoom in flag to update appropriately the tool bar</p> |
---|
3088 | </dd></dl> |
---|
3089 | |
---|
3090 | <dl class="method"> |
---|
3091 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_zoom_out_flag"> |
---|
3092 | <tt class="descname">get_zoom_out_flag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_zoom_out_flag" title="Permalink to this definition">¶</a></dt> |
---|
3093 | <dd><p>Get the zoom out flag to update appropriately the tool bar</p> |
---|
3094 | </dd></dl> |
---|
3095 | |
---|
3096 | <dl class="attribute"> |
---|
3097 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.group_id"> |
---|
3098 | <tt class="descname">group_id</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.group_id" title="Permalink to this definition">¶</a></dt> |
---|
3099 | <dd></dd></dl> |
---|
3100 | |
---|
3101 | <dl class="method"> |
---|
3102 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.has_changed"> |
---|
3103 | <tt class="descname">has_changed</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.has_changed" title="Permalink to this definition">¶</a></dt> |
---|
3104 | <dd></dd></dl> |
---|
3105 | |
---|
3106 | <dl class="method"> |
---|
3107 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.image"> |
---|
3108 | <tt class="descname">image</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.image" title="Permalink to this definition">¶</a></dt> |
---|
3109 | <dd><p>Render the current data</p> |
---|
3110 | </dd></dl> |
---|
3111 | |
---|
3112 | <dl class="method"> |
---|
3113 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.interactive_curve"> |
---|
3114 | <tt class="descname">interactive_curve</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.interactive_curve" title="Permalink to this definition">¶</a></dt> |
---|
3115 | <dd><p>Draw markers with error bars</p> |
---|
3116 | </dd></dl> |
---|
3117 | |
---|
3118 | <dl class="method"> |
---|
3119 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.interactive_points"> |
---|
3120 | <tt class="descname">interactive_points</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.interactive_points" title="Permalink to this definition">¶</a></dt> |
---|
3121 | <dd><p>Draw markers with error bars</p> |
---|
3122 | </dd></dl> |
---|
3123 | |
---|
3124 | <dl class="method"> |
---|
3125 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.linear_plottable_fit"> |
---|
3126 | <tt class="descname">linear_plottable_fit</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.linear_plottable_fit" title="Permalink to this definition">¶</a></dt> |
---|
3127 | <dd><p>when clicking on linear Fit on context menu , display Fitting Dialog</p> |
---|
3128 | <table class="docutils field-list" frame="void" rules="none"> |
---|
3129 | <col class="field-name" /> |
---|
3130 | <col class="field-body" /> |
---|
3131 | <tbody valign="top"> |
---|
3132 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>plot</strong> – PlotPanel owning the graph</td> |
---|
3133 | </tr> |
---|
3134 | </tbody> |
---|
3135 | </table> |
---|
3136 | </dd></dl> |
---|
3137 | |
---|
3138 | <dl class="method"> |
---|
3139 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onChangeCaption"> |
---|
3140 | <tt class="descname">onChangeCaption</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onChangeCaption" title="Permalink to this definition">¶</a></dt> |
---|
3141 | <dd></dd></dl> |
---|
3142 | |
---|
3143 | <dl class="method"> |
---|
3144 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onChangeColor"> |
---|
3145 | <tt class="descname">onChangeColor</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onChangeColor" title="Permalink to this definition">¶</a></dt> |
---|
3146 | <dd><p>Changes the color of the graph when selected</p> |
---|
3147 | </dd></dl> |
---|
3148 | |
---|
3149 | <dl class="method"> |
---|
3150 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onChangeLegendLoc"> |
---|
3151 | <tt class="descname">onChangeLegendLoc</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onChangeLegendLoc" title="Permalink to this definition">¶</a></dt> |
---|
3152 | <dd><p>Changes legend loc based on user input</p> |
---|
3153 | </dd></dl> |
---|
3154 | |
---|
3155 | <dl class="method"> |
---|
3156 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onChangeSize"> |
---|
3157 | <tt class="descname">onChangeSize</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onChangeSize" title="Permalink to this definition">¶</a></dt> |
---|
3158 | <dd></dd></dl> |
---|
3159 | |
---|
3160 | <dl class="method"> |
---|
3161 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onChangeSymbol"> |
---|
3162 | <tt class="descname">onChangeSymbol</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onChangeSymbol" title="Permalink to this definition">¶</a></dt> |
---|
3163 | <dd></dd></dl> |
---|
3164 | |
---|
3165 | <dl class="method"> |
---|
3166 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onContextMenu"> |
---|
3167 | <tt class="descname">onContextMenu</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onContextMenu" title="Permalink to this definition">¶</a></dt> |
---|
3168 | <dd><p>1D plot context menu</p> |
---|
3169 | <table class="docutils field-list" frame="void" rules="none"> |
---|
3170 | <col class="field-name" /> |
---|
3171 | <col class="field-body" /> |
---|
3172 | <tbody valign="top"> |
---|
3173 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> – wx context event</td> |
---|
3174 | </tr> |
---|
3175 | </tbody> |
---|
3176 | </table> |
---|
3177 | </dd></dl> |
---|
3178 | |
---|
3179 | <dl class="method"> |
---|
3180 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onEditLabels"> |
---|
3181 | <tt class="descname">onEditLabels</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onEditLabels" title="Permalink to this definition">¶</a></dt> |
---|
3182 | <dd><p>Edit legend label</p> |
---|
3183 | </dd></dl> |
---|
3184 | |
---|
3185 | <dl class="method"> |
---|
3186 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onFitDisplay"> |
---|
3187 | <tt class="descname">onFitDisplay</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onFitDisplay" title="Permalink to this definition">¶</a></dt> |
---|
3188 | <dd><p>Add a new plottable into the graph .In this case this plottable |
---|
3189 | will be used to fit some data</p> |
---|
3190 | <table class="docutils field-list" frame="void" rules="none"> |
---|
3191 | <col class="field-name" /> |
---|
3192 | <col class="field-body" /> |
---|
3193 | <tbody valign="top"> |
---|
3194 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
3195 | <li><strong>tempx</strong> – The x data of fit line</li> |
---|
3196 | <li><strong>tempy</strong> – The y data of fit line</li> |
---|
3197 | <li><strong>xminView</strong> – the lower bound of fitting range</li> |
---|
3198 | <li><strong>xminView</strong> – the upper bound of fitting range</li> |
---|
3199 | <li><strong>xmin</strong> – the lowest value of data to fit to the line</li> |
---|
3200 | <li><strong>xmax</strong> – the highest value of data to fit to the line</li> |
---|
3201 | </ul> |
---|
3202 | </td> |
---|
3203 | </tr> |
---|
3204 | </tbody> |
---|
3205 | </table> |
---|
3206 | </dd></dl> |
---|
3207 | |
---|
3208 | <dl class="method"> |
---|
3209 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onFitting"> |
---|
3210 | <tt class="descname">onFitting</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onFitting" title="Permalink to this definition">¶</a></dt> |
---|
3211 | <dd><p>when clicking on linear Fit on context menu , display Fitting Dialog</p> |
---|
3212 | </dd></dl> |
---|
3213 | |
---|
3214 | <dl class="method"> |
---|
3215 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onFreeze"> |
---|
3216 | <tt class="descname">onFreeze</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onFreeze" title="Permalink to this definition">¶</a></dt> |
---|
3217 | <dd></dd></dl> |
---|
3218 | |
---|
3219 | <dl class="method"> |
---|
3220 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onGridOnOff"> |
---|
3221 | <tt class="descname">onGridOnOff</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onGridOnOff" title="Permalink to this definition">¶</a></dt> |
---|
3222 | <dd><p>Allows ON/OFF Grid</p> |
---|
3223 | </dd></dl> |
---|
3224 | |
---|
3225 | <dl class="method"> |
---|
3226 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onLeftDown"> |
---|
3227 | <tt class="descname">onLeftDown</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onLeftDown" title="Permalink to this definition">¶</a></dt> |
---|
3228 | <dd><p>left button down and ready to drag |
---|
3229 | Display the position of the mouse on the statusbar</p> |
---|
3230 | </dd></dl> |
---|
3231 | |
---|
3232 | <dl class="method"> |
---|
3233 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onLeftUp"> |
---|
3234 | <tt class="descname">onLeftUp</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onLeftUp" title="Permalink to this definition">¶</a></dt> |
---|
3235 | <dd><p>Dragging is done</p> |
---|
3236 | </dd></dl> |
---|
3237 | |
---|
3238 | <dl class="method"> |
---|
3239 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onLegend"> |
---|
3240 | <tt class="descname">onLegend</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onLegend" title="Permalink to this definition">¶</a></dt> |
---|
3241 | <dd><p>Toggles whether legend is visible/not visible</p> |
---|
3242 | </dd></dl> |
---|
3243 | |
---|
3244 | <dl class="method"> |
---|
3245 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onMouseMotion"> |
---|
3246 | <tt class="descname">onMouseMotion</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onMouseMotion" title="Permalink to this definition">¶</a></dt> |
---|
3247 | <dd><p>check if the left button is press and the mouse in moving. |
---|
3248 | computer delta for x and y coordinates and then calls draghelper |
---|
3249 | to perform the drag</p> |
---|
3250 | </dd></dl> |
---|
3251 | |
---|
3252 | <dl class="method"> |
---|
3253 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onPrint"> |
---|
3254 | <tt class="descname">onPrint</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onPrint" title="Permalink to this definition">¶</a></dt> |
---|
3255 | <dd></dd></dl> |
---|
3256 | |
---|
3257 | <dl class="method"> |
---|
3258 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onPrinterPreview"> |
---|
3259 | <tt class="descname">onPrinterPreview</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onPrinterPreview" title="Permalink to this definition">¶</a></dt> |
---|
3260 | <dd></dd></dl> |
---|
3261 | |
---|
3262 | <dl class="method"> |
---|
3263 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onPrinterSetup"> |
---|
3264 | <tt class="descname">onPrinterSetup</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onPrinterSetup" title="Permalink to this definition">¶</a></dt> |
---|
3265 | <dd></dd></dl> |
---|
3266 | |
---|
3267 | <dl class="method"> |
---|
3268 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onResetGraph"> |
---|
3269 | <tt class="descname">onResetGraph</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onResetGraph" title="Permalink to this definition">¶</a></dt> |
---|
3270 | <dd><p>Reset the graph by plotting the full range of data</p> |
---|
3271 | </dd></dl> |
---|
3272 | |
---|
3273 | <dl class="method"> |
---|
3274 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onSaveImage"> |
---|
3275 | <tt class="descname">onSaveImage</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onSaveImage" title="Permalink to this definition">¶</a></dt> |
---|
3276 | <dd><p>Implement save image</p> |
---|
3277 | </dd></dl> |
---|
3278 | |
---|
3279 | <dl class="method"> |
---|
3280 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onToolContextMenu"> |
---|
3281 | <tt class="descname">onToolContextMenu</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onToolContextMenu" title="Permalink to this definition">¶</a></dt> |
---|
3282 | <dd><p>ContextMenu from toolbar</p> |
---|
3283 | <table class="docutils field-list" frame="void" rules="none"> |
---|
3284 | <col class="field-name" /> |
---|
3285 | <col class="field-body" /> |
---|
3286 | <tbody valign="top"> |
---|
3287 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> – toolbar event</td> |
---|
3288 | </tr> |
---|
3289 | </tbody> |
---|
3290 | </table> |
---|
3291 | </dd></dl> |
---|
3292 | |
---|
3293 | <dl class="method"> |
---|
3294 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onWheel"> |
---|
3295 | <tt class="descname">onWheel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onWheel" title="Permalink to this definition">¶</a></dt> |
---|
3296 | <dd><p>Process mouse wheel as zoom events</p> |
---|
3297 | <table class="docutils field-list" frame="void" rules="none"> |
---|
3298 | <col class="field-name" /> |
---|
3299 | <col class="field-body" /> |
---|
3300 | <tbody valign="top"> |
---|
3301 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> – Wheel event</td> |
---|
3302 | </tr> |
---|
3303 | </tbody> |
---|
3304 | </table> |
---|
3305 | </dd></dl> |
---|
3306 | |
---|
3307 | <dl class="method"> |
---|
3308 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_batch_selection"> |
---|
3309 | <tt class="descname">on_batch_selection</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_batch_selection" title="Permalink to this definition">¶</a></dt> |
---|
3310 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
3311 | <col class="field-name" /> |
---|
3312 | <col class="field-body" /> |
---|
3313 | <tbody valign="top"> |
---|
3314 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> – contains parameter enable . when enable is set to True</td> |
---|
3315 | </tr> |
---|
3316 | </tbody> |
---|
3317 | </table> |
---|
3318 | <p>the application is in Batch mode |
---|
3319 | else the application is default mode(single mode)</p> |
---|
3320 | </dd></dl> |
---|
3321 | |
---|
3322 | <dl class="method"> |
---|
3323 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_bookmark"> |
---|
3324 | <tt class="descname">on_bookmark</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_bookmark" title="Permalink to this definition">¶</a></dt> |
---|
3325 | <dd><p>The derivative class is on bookmark mode if implemented</p> |
---|
3326 | </dd></dl> |
---|
3327 | |
---|
3328 | <dl class="method"> |
---|
3329 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_copy"> |
---|
3330 | <tt class="descname">on_copy</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_copy" title="Permalink to this definition">¶</a></dt> |
---|
3331 | <dd><p>The copy action if possible</p> |
---|
3332 | </dd></dl> |
---|
3333 | |
---|
3334 | <dl class="method"> |
---|
3335 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_drag"> |
---|
3336 | <tt class="descname">on_drag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_drag" title="Permalink to this definition">¶</a></dt> |
---|
3337 | <dd><p>The derivative class allows dragging motion if implemented</p> |
---|
3338 | </dd></dl> |
---|
3339 | |
---|
3340 | <dl class="method"> |
---|
3341 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_kill_focus"> |
---|
3342 | <tt class="descname">on_kill_focus</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_kill_focus" title="Permalink to this definition">¶</a></dt> |
---|
3343 | <dd><p>Reset the panel color</p> |
---|
3344 | </dd></dl> |
---|
3345 | |
---|
3346 | <dl class="method"> |
---|
3347 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_paste"> |
---|
3348 | <tt class="descname">on_paste</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_paste" title="Permalink to this definition">¶</a></dt> |
---|
3349 | <dd><p>The paste action if possible</p> |
---|
3350 | </dd></dl> |
---|
3351 | |
---|
3352 | <dl class="method"> |
---|
3353 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_preview"> |
---|
3354 | <tt class="descname">on_preview</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_preview" title="Permalink to this definition">¶</a></dt> |
---|
3355 | <dd><p>Display a printable version of the class derivative</p> |
---|
3356 | </dd></dl> |
---|
3357 | |
---|
3358 | <dl class="method"> |
---|
3359 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_redo"> |
---|
3360 | <tt class="descname">on_redo</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_redo" title="Permalink to this definition">¶</a></dt> |
---|
3361 | <dd><p>The previous action is restored if possible</p> |
---|
3362 | </dd></dl> |
---|
3363 | |
---|
3364 | <dl class="method"> |
---|
3365 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_reset"> |
---|
3366 | <tt class="descname">on_reset</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_reset" title="Permalink to this definition">¶</a></dt> |
---|
3367 | <dd><p>The derivative class state is restored</p> |
---|
3368 | </dd></dl> |
---|
3369 | |
---|
3370 | <dl class="method"> |
---|
3371 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_save"> |
---|
3372 | <tt class="descname">on_save</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_save" title="Permalink to this definition">¶</a></dt> |
---|
3373 | <dd><p>The state of the derivative class is restored</p> |
---|
3374 | </dd></dl> |
---|
3375 | |
---|
3376 | <dl class="method"> |
---|
3377 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_set_focus"> |
---|
3378 | <tt class="descname">on_set_focus</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_set_focus" title="Permalink to this definition">¶</a></dt> |
---|
3379 | <dd><p>Send to the parenet the current panel on focus</p> |
---|
3380 | </dd></dl> |
---|
3381 | |
---|
3382 | <dl class="method"> |
---|
3383 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_tap_focus"> |
---|
3384 | <tt class="descname">on_tap_focus</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_tap_focus" title="Permalink to this definition">¶</a></dt> |
---|
3385 | <dd><p>Update menu on clicking the panel tap</p> |
---|
3386 | </dd></dl> |
---|
3387 | |
---|
3388 | <dl class="method"> |
---|
3389 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_undo"> |
---|
3390 | <tt class="descname">on_undo</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_undo" title="Permalink to this definition">¶</a></dt> |
---|
3391 | <dd><p>The current action is canceled</p> |
---|
3392 | </dd></dl> |
---|
3393 | |
---|
3394 | <dl class="method"> |
---|
3395 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_zoom"> |
---|
3396 | <tt class="descname">on_zoom</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_zoom" title="Permalink to this definition">¶</a></dt> |
---|
3397 | <dd><p>The derivative class is on zoom mode (using pane) |
---|
3398 | if zoom mode is implemented</p> |
---|
3399 | </dd></dl> |
---|
3400 | |
---|
3401 | <dl class="method"> |
---|
3402 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_zoom_in"> |
---|
3403 | <tt class="descname">on_zoom_in</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_zoom_in" title="Permalink to this definition">¶</a></dt> |
---|
3404 | <dd><p>The derivative class is on zoom in mode if implemented</p> |
---|
3405 | </dd></dl> |
---|
3406 | |
---|
3407 | <dl class="method"> |
---|
3408 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_zoom_out"> |
---|
3409 | <tt class="descname">on_zoom_out</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_zoom_out" title="Permalink to this definition">¶</a></dt> |
---|
3410 | <dd><p>The derivative class is on zoom out mode if implemented</p> |
---|
3411 | </dd></dl> |
---|
3412 | |
---|
3413 | <dl class="method"> |
---|
3414 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.plot_data"> |
---|
3415 | <tt class="descname">plot_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.plot_data" title="Permalink to this definition">¶</a></dt> |
---|
3416 | <dd><p>Data is ready to be displayed</p> |
---|
3417 | <table class="docutils field-list" frame="void" rules="none"> |
---|
3418 | <col class="field-name" /> |
---|
3419 | <col class="field-body" /> |
---|
3420 | <tbody valign="top"> |
---|
3421 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> – data event</td> |
---|
3422 | </tr> |
---|
3423 | </tbody> |
---|
3424 | </table> |
---|
3425 | </dd></dl> |
---|
3426 | |
---|
3427 | <dl class="method"> |
---|
3428 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.plottable_selected"> |
---|
3429 | <tt class="descname">plottable_selected</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.plottable_selected" title="Permalink to this definition">¶</a></dt> |
---|
3430 | <dd><p>Called to register a plottable as selected</p> |
---|
3431 | </dd></dl> |
---|
3432 | |
---|
3433 | <dl class="method"> |
---|
3434 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.points"> |
---|
3435 | <tt class="descname">points</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.points" title="Permalink to this definition">¶</a></dt> |
---|
3436 | <dd><p>Draw markers with error bars</p> |
---|
3437 | </dd></dl> |
---|
3438 | |
---|
3439 | <dl class="method"> |
---|
3440 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.properties"> |
---|
3441 | <tt class="descname">properties</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.properties" title="Permalink to this definition">¶</a></dt> |
---|
3442 | <dd><p>Set some properties of the graph. |
---|
3443 | The set of properties is not yet determined.</p> |
---|
3444 | </dd></dl> |
---|
3445 | |
---|
3446 | <dl class="method"> |
---|
3447 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.remove_data_by_id"> |
---|
3448 | <tt class="descname">remove_data_by_id</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.remove_data_by_id" title="Permalink to this definition">¶</a></dt> |
---|
3449 | <dd><p>‘ |
---|
3450 | remove data from plot</p> |
---|
3451 | </dd></dl> |
---|
3452 | |
---|
3453 | <dl class="method"> |
---|
3454 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.remove_legend"> |
---|
3455 | <tt class="descname">remove_legend</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.remove_legend" title="Permalink to this definition">¶</a></dt> |
---|
3456 | <dd><p>Remove legend for ax or the current axes.</p> |
---|
3457 | </dd></dl> |
---|
3458 | |
---|
3459 | <dl class="method"> |
---|
3460 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.render"> |
---|
3461 | <tt class="descname">render</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.render" title="Permalink to this definition">¶</a></dt> |
---|
3462 | <dd><p>Commit the plot after all objects are drawn</p> |
---|
3463 | </dd></dl> |
---|
3464 | |
---|
3465 | <dl class="method"> |
---|
3466 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.resetFitView"> |
---|
3467 | <tt class="descname">resetFitView</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.resetFitView" title="Permalink to this definition">¶</a></dt> |
---|
3468 | <dd><p>For fit Dialog initial display</p> |
---|
3469 | </dd></dl> |
---|
3470 | |
---|
3471 | <dl class="method"> |
---|
3472 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.returnTrans"> |
---|
3473 | <tt class="descname">returnTrans</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.returnTrans" title="Permalink to this definition">¶</a></dt> |
---|
3474 | <dd><p>Return values and labels used by Fit Dialog</p> |
---|
3475 | </dd></dl> |
---|
3476 | |
---|
3477 | <dl class="method"> |
---|
3478 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.save_project"> |
---|
3479 | <tt class="descname">save_project</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.save_project" title="Permalink to this definition">¶</a></dt> |
---|
3480 | <dd><p>return an xml node containing state of the panel |
---|
3481 | that guiframe can write to file</p> |
---|
3482 | </dd></dl> |
---|
3483 | |
---|
3484 | <dl class="method"> |
---|
3485 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.schedule_full_draw"> |
---|
3486 | <tt class="descname">schedule_full_draw</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.schedule_full_draw" title="Permalink to this definition">¶</a></dt> |
---|
3487 | <dd><p>Put self in schedule to full redraw list</p> |
---|
3488 | </dd></dl> |
---|
3489 | |
---|
3490 | <dl class="method"> |
---|
3491 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.setTrans"> |
---|
3492 | <tt class="descname">setTrans</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.setTrans" title="Permalink to this definition">¶</a></dt> |
---|
3493 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
3494 | <col class="field-name" /> |
---|
3495 | <col class="field-body" /> |
---|
3496 | <tbody valign="top"> |
---|
3497 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
3498 | <li><strong>xtrans</strong> – set x transformation on Property dialog</li> |
---|
3499 | <li><strong>ytrans</strong> – set y transformation on Property dialog</li> |
---|
3500 | </ul> |
---|
3501 | </td> |
---|
3502 | </tr> |
---|
3503 | </tbody> |
---|
3504 | </table> |
---|
3505 | </dd></dl> |
---|
3506 | |
---|
3507 | <dl class="method"> |
---|
3508 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.set_data"> |
---|
3509 | <tt class="descname">set_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.set_data" title="Permalink to this definition">¶</a></dt> |
---|
3510 | <dd></dd></dl> |
---|
3511 | |
---|
3512 | <dl class="method"> |
---|
3513 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.set_manager"> |
---|
3514 | <tt class="descname">set_manager</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.set_manager" title="Permalink to this definition">¶</a></dt> |
---|
3515 | <dd></dd></dl> |
---|
3516 | |
---|
3517 | <dl class="method"> |
---|
3518 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.set_resizing"> |
---|
3519 | <tt class="descname">set_resizing</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.set_resizing" title="Permalink to this definition">¶</a></dt> |
---|
3520 | <dd><p>Set the resizing (True/False)</p> |
---|
3521 | </dd></dl> |
---|
3522 | |
---|
3523 | <dl class="method"> |
---|
3524 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.set_xscale"> |
---|
3525 | <tt class="descname">set_xscale</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.set_xscale" title="Permalink to this definition">¶</a></dt> |
---|
3526 | <dd><p>Set the scale on x-axis</p> |
---|
3527 | <table class="docutils field-list" frame="void" rules="none"> |
---|
3528 | <col class="field-name" /> |
---|
3529 | <col class="field-body" /> |
---|
3530 | <tbody valign="top"> |
---|
3531 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>scale</strong> – the scale of x-axis</td> |
---|
3532 | </tr> |
---|
3533 | </tbody> |
---|
3534 | </table> |
---|
3535 | </dd></dl> |
---|
3536 | |
---|
3537 | <dl class="method"> |
---|
3538 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.set_yscale"> |
---|
3539 | <tt class="descname">set_yscale</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.set_yscale" title="Permalink to this definition">¶</a></dt> |
---|
3540 | <dd><p>Set the scale on Y-axis</p> |
---|
3541 | <table class="docutils field-list" frame="void" rules="none"> |
---|
3542 | <col class="field-name" /> |
---|
3543 | <col class="field-body" /> |
---|
3544 | <tbody valign="top"> |
---|
3545 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>scale</strong> – the scale of y-axis</td> |
---|
3546 | </tr> |
---|
3547 | </tbody> |
---|
3548 | </table> |
---|
3549 | </dd></dl> |
---|
3550 | |
---|
3551 | <dl class="attribute"> |
---|
3552 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.thisown"> |
---|
3553 | <tt class="descname">thisown</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.thisown" title="Permalink to this definition">¶</a></dt> |
---|
3554 | <dd><p>The membership flag</p> |
---|
3555 | </dd></dl> |
---|
3556 | |
---|
3557 | <dl class="attribute"> |
---|
3558 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.uid"> |
---|
3559 | <tt class="descname">uid</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.uid" title="Permalink to this definition">¶</a></dt> |
---|
3560 | <dd></dd></dl> |
---|
3561 | |
---|
3562 | <dl class="attribute"> |
---|
3563 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.window_caption"> |
---|
3564 | <tt class="descname">window_caption</tt><em class="property"> = 'Graph'</em><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.window_caption" title="Permalink to this definition">¶</a></dt> |
---|
3565 | <dd></dd></dl> |
---|
3566 | |
---|
3567 | <dl class="attribute"> |
---|
3568 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.window_name"> |
---|
3569 | <tt class="descname">window_name</tt><em class="property"> = 'plotpanel'</em><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.window_name" title="Permalink to this definition">¶</a></dt> |
---|
3570 | <dd></dd></dl> |
---|
3571 | |
---|
3572 | <dl class="method"> |
---|
3573 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.xaxis"> |
---|
3574 | <tt class="descname">xaxis</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.xaxis" title="Permalink to this definition">¶</a></dt> |
---|
3575 | <dd><p>xaxis label and units.</p> |
---|
3576 | <p>Axis labels know about units.</p> |
---|
3577 | <p>We need to do this so that we can detect when axes are not |
---|
3578 | commesurate. Currently this is ignored other than for formatting |
---|
3579 | purposes.</p> |
---|
3580 | </dd></dl> |
---|
3581 | |
---|
3582 | <dl class="method"> |
---|
3583 | <dt id="sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.yaxis"> |
---|
3584 | <tt class="descname">yaxis</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.yaxis" title="Permalink to this definition">¶</a></dt> |
---|
3585 | <dd><p>yaxis label and units.</p> |
---|
3586 | </dd></dl> |
---|
3587 | |
---|
3588 | </dd></dl> |
---|
3589 | |
---|
3590 | </div> |
---|
3591 | </div> |
---|
3592 | |
---|
3593 | |
---|
3594 | </div> |
---|
3595 | </div> |
---|
3596 | </div> |
---|
3597 | <div class="sphinxsidebar"> |
---|
3598 | <div class="sphinxsidebarwrapper"> |
---|
3599 | <h3><a href="../../../index.html">Table Of Contents</a></h3> |
---|
3600 | <ul> |
---|
3601 | <li><a class="reference internal" href="#">Plotter1D</a><ul> |
---|
3602 | <li><a class="reference internal" href="#sans-guiframe-local-perspectives-plotting-plotter1d"><tt class="docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.Plotter1D</span></tt></a></li> |
---|
3603 | </ul> |
---|
3604 | </li> |
---|
3605 | </ul> |
---|
3606 | |
---|
3607 | <h4>Previous topic</h4> |
---|
3608 | <p class="topless"><a href="masking.html" |
---|
3609 | title="previous chapter">masking</a></p> |
---|
3610 | <h4>Next topic</h4> |
---|
3611 | <p class="topless"><a href="Plotter2D.html" |
---|
3612 | title="next chapter">Plotter2D</a></p> |
---|
3613 | <h3>This Page</h3> |
---|
3614 | <ul class="this-page-menu"> |
---|
3615 | <li><a href="../../../_sources/api/local_perspectives/plotting/Plotter1D.txt" |
---|
3616 | rel="nofollow">Show Source</a></li> |
---|
3617 | </ul> |
---|
3618 | <div id="searchbox" style="display: none"> |
---|
3619 | <h3>Quick search</h3> |
---|
3620 | <form class="search" action="../../../search.html" method="get"> |
---|
3621 | <input type="text" name="q" /> |
---|
3622 | <input type="submit" value="Go" /> |
---|
3623 | <input type="hidden" name="check_keywords" value="yes" /> |
---|
3624 | <input type="hidden" name="area" value="default" /> |
---|
3625 | </form> |
---|
3626 | <p class="searchtip" style="font-size: 90%"> |
---|
3627 | Enter search terms or a module, class or function name. |
---|
3628 | </p> |
---|
3629 | </div> |
---|
3630 | <script type="text/javascript">$('#searchbox').show(0);</script> |
---|
3631 | </div> |
---|
3632 | </div> |
---|
3633 | <div class="clearer"></div> |
---|
3634 | </div> |
---|
3635 | <div class="related"> |
---|
3636 | <h3>Navigation</h3> |
---|
3637 | <ul> |
---|
3638 | <li class="right" style="margin-right: 10px"> |
---|
3639 | <a href="../../../genindex.html" title="General Index" |
---|
3640 | >index</a></li> |
---|
3641 | <li class="right" > |
---|
3642 | <a href="../../../py-modindex.html" title="Python Module Index" |
---|
3643 | >modules</a> |</li> |
---|
3644 | <li class="right" > |
---|
3645 | <a href="Plotter2D.html" title="Plotter2D" |
---|
3646 | >next</a> |</li> |
---|
3647 | <li class="right" > |
---|
3648 | <a href="masking.html" title="masking" |
---|
3649 | >previous</a> |</li> |
---|
3650 | <li><a href="../../../index.html">guiframe 0.1.0 documentation</a> »</li> |
---|
3651 | <li><a href="index.html" >Local Perspective: plotting</a> »</li> |
---|
3652 | </ul> |
---|
3653 | </div> |
---|
3654 | <div class="footer"> |
---|
3655 | © Copyright 2010, sans group. |
---|
3656 | Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. |
---|
3657 | </div> |
---|
3658 | </body> |
---|
3659 | </html> |
---|