source: sasview/calculatorview/docs/sphinx/html/api/perspectives/calculator/console.html @ 5f50326

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 5f50326 was 5f50326, checked in by Gervaise Alina <gervyh@…>, 13 years ago

edit calculator docs

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