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