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