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