source: sasview/calculatorview/docs/sphinx/_build/html/api/perspectives/calculator/aperture_editor.html @ 76f2d63

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 76f2d63 was 76f2d63, checked in by Gervaise Alina <gervyh@…>, 14 years ago

working on documentation

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