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