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