source: sasview/calculatorview/docs/sphinx/html/api/perspectives/calculator/collimation_editor.html @ 82a9f90

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 82a9f90 was 82a9f90, checked in by Jessica Tumarkin <jtumarki@…>, 13 years ago

HTML folder generated by Sphinx

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