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