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