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