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