]>
Commit | Line | Data |
---|---|---|
f32fc4bc | 1 | <?xml version="1.0"?> |
0f43fbdf | 2 | <wxPython-metadata> |
f32fc4bc RD |
3 | <module name="core"> |
4 | <pythoncode> | |
0f43fbdf RD |
5 | #// Give a reference to the dictionary of this module to the C++ extension |
6 | #// code. | |
7 | _core._wxPySetDictionary(vars()) | |
8 | ||
9 | #// A little trick to make 'wx' be a reference to this module so wx.Names can | |
10 | #// be used here. | |
11 | import sys as _sys | |
12 | wx = _sys.modules[__name__] | |
13 | </pythoncode> | |
f32fc4bc | 14 | <pythoncode> |
0f43fbdf RD |
15 | #--------------------------------------------------------------------------- |
16 | </pythoncode> | |
f32fc4bc RD |
17 | <class name="Object" oldname="wxObject" module="core"> |
18 | <docstring>The base class for most wx objects, although in wxPython not | |
0f43fbdf | 19 | much functionality is needed nor exposed.</docstring> |
f32fc4bc RD |
20 | <method name="GetClassName" type="String" overloaded="no"> |
21 | <autodoc>GetClassName() -> String</autodoc> | |
22 | <docstring>Returns the class name of the C++ object using wxRTTI.</docstring> | |
23 | </method> | |
24 | <method name="Destroy" type="" overloaded="no"> | |
25 | <autodoc>Destroy()</autodoc> | |
26 | <docstring>Deletes the C++ object this Python object is a proxy for.</docstring> | |
27 | </method> | |
28 | </class> | |
29 | <pythoncode> | |
0f43fbdf RD |
30 | #--------------------------------------------------------------------------- |
31 | </pythoncode> | |
f32fc4bc | 32 | <pythoncode> |
0f43fbdf RD |
33 | #--------------------------------------------------------------------------- |
34 | </pythoncode> | |
f32fc4bc RD |
35 | <class name="Size" oldname="wxSize" module="core"> |
36 | <docstring>wx.Size is a useful data structure used to represent the size of something. | |
0f43fbdf RD |
37 | It simply contians integer width and height proprtites. In most places in |
38 | wxPython where a wx.Size is expected a (width,height) tuple can be used | |
39 | instead.</docstring> | |
f32fc4bc RD |
40 | <constructor name="Size" overloaded="no"> |
41 | <autodoc>__init__(int w=0, int h=0) -> Size</autodoc> | |
42 | <docstring>Creates a size object.</docstring> | |
43 | <paramlist> | |
44 | <param name="w" type="int" default="0"/> | |
45 | <param name="h" type="int" default="0"/> | |
46 | </paramlist> | |
47 | </constructor> | |
48 | <destructor name="~wxSize" overloaded="no"> | |
49 | <autodoc>__del__()</autodoc> | |
50 | </destructor> | |
51 | <property name="width" type="int" readonly="no"/> | |
52 | <property name="height" type="int" readonly="no"/> | |
53 | <method name="__eq__" type="bool" overloaded="no"> | |
54 | <autodoc>__eq__(Size sz) -> bool</autodoc> | |
55 | <docstring>Test for equality of wx.Size objects.</docstring> | |
56 | <paramlist> | |
57 | <param name="sz" type="Size" default=""/> | |
58 | </paramlist> | |
59 | </method> | |
60 | <method name="__ne__" type="bool" overloaded="no"> | |
61 | <autodoc>__ne__(Size sz) -> bool</autodoc> | |
62 | <docstring>Test for inequality.</docstring> | |
63 | <paramlist> | |
64 | <param name="sz" type="Size" default=""/> | |
65 | </paramlist> | |
66 | </method> | |
67 | <method name="__add__" type="Size" overloaded="no"> | |
68 | <autodoc>__add__(Size sz) -> Size</autodoc> | |
69 | <docstring>Add sz's proprties to this and return the result.</docstring> | |
70 | <paramlist> | |
71 | <param name="sz" type="Size" default=""/> | |
72 | </paramlist> | |
73 | </method> | |
74 | <method name="__sub__" type="Size" overloaded="no"> | |
75 | <autodoc>__sub__(Size sz) -> Size</autodoc> | |
76 | <docstring>Subtract sz's properties from this and return the result.</docstring> | |
77 | <paramlist> | |
78 | <param name="sz" type="Size" default=""/> | |
79 | </paramlist> | |
80 | </method> | |
81 | <method name="IncTo" type="" overloaded="no"> | |
82 | <autodoc>IncTo(Size sz)</autodoc> | |
83 | <docstring>Increments this object so that both of its dimensions are not less | |
0f43fbdf | 84 | than the corresponding dimensions of the size.</docstring> |
f32fc4bc RD |
85 | <paramlist> |
86 | <param name="sz" type="Size" default=""/> | |
87 | </paramlist> | |
88 | </method> | |
89 | <method name="DecTo" type="" overloaded="no"> | |
90 | <autodoc>DecTo(Size sz)</autodoc> | |
91 | <docstring>Decrements this object so that both of its dimensions are not greater | |
0f43fbdf | 92 | than the corresponding dimensions of the size.</docstring> |
f32fc4bc RD |
93 | <paramlist> |
94 | <param name="sz" type="Size" default=""/> | |
95 | </paramlist> | |
96 | </method> | |
97 | <method name="Set" type="" overloaded="no"> | |
98 | <autodoc>Set(int w, int h)</autodoc> | |
99 | <docstring>Set both width and height.</docstring> | |
100 | <paramlist> | |
101 | <param name="w" type="int" default=""/> | |
102 | <param name="h" type="int" default=""/> | |
103 | </paramlist> | |
104 | </method> | |
105 | <method name="SetWidth" type="" overloaded="no"> | |
106 | <autodoc>SetWidth(int w)</autodoc> | |
107 | <paramlist> | |
108 | <param name="w" type="int" default=""/> | |
109 | </paramlist> | |
110 | </method> | |
111 | <method name="SetHeight" type="" overloaded="no"> | |
112 | <autodoc>SetHeight(int h)</autodoc> | |
113 | <paramlist> | |
114 | <param name="h" type="int" default=""/> | |
115 | </paramlist> | |
116 | </method> | |
117 | <method name="GetWidth" type="int" overloaded="no"> | |
118 | <autodoc>GetWidth() -> int</autodoc> | |
119 | </method> | |
120 | <method name="GetHeight" type="int" overloaded="no"> | |
121 | <autodoc>GetHeight() -> int</autodoc> | |
122 | </method> | |
123 | <method name="Get" type="PyObject" overloaded="no"> | |
124 | <autodoc>Get() -> (width,height)</autodoc> | |
125 | <docstring>Returns the width and height properties as a tuple.</docstring> | |
126 | </method> | |
127 | </class> | |
0dd25e81 | 128 | <pythoncode> |
0f43fbdf RD |
129 | #--------------------------------------------------------------------------- |
130 | </pythoncode> | |
f32fc4bc RD |
131 | <class name="RealPoint" oldname="wxRealPoint" module="core"> |
132 | <docstring>A data structure for representing a point or position with floating point x | |
0f43fbdf RD |
133 | and y properties. In wxPython most places that expect a wx.RealPoint can also |
134 | accept a (x,y) tuple.</docstring> | |
f32fc4bc RD |
135 | <constructor name="RealPoint" overloaded="no"> |
136 | <autodoc>__init__(double x=0.0, double y=0.0) -> RealPoint</autodoc> | |
137 | <docstring>Create a wx.RealPoint object</docstring> | |
138 | <paramlist> | |
139 | <param name="x" type="double" default="0.0"/> | |
140 | <param name="y" type="double" default="0.0"/> | |
141 | </paramlist> | |
142 | </constructor> | |
143 | <destructor name="~wxRealPoint" overloaded="no"> | |
144 | <autodoc>__del__()</autodoc> | |
145 | </destructor> | |
146 | <property name="x" type="double" readonly="no"/> | |
147 | <property name="y" type="double" readonly="no"/> | |
148 | <method name="__eq__" type="bool" overloaded="no"> | |
149 | <autodoc>__eq__(RealPoint pt) -> bool</autodoc> | |
150 | <docstring>Test for equality of wx.RealPoint objects.</docstring> | |
151 | <paramlist> | |
152 | <param name="pt" type="RealPoint" default=""/> | |
153 | </paramlist> | |
154 | </method> | |
155 | <method name="__ne__" type="bool" overloaded="no"> | |
156 | <autodoc>__ne__(RealPoint pt) -> bool</autodoc> | |
157 | <docstring>Test for inequality of wx.RealPoint objects.</docstring> | |
158 | <paramlist> | |
159 | <param name="pt" type="RealPoint" default=""/> | |
160 | </paramlist> | |
161 | </method> | |
162 | <method name="__add__" type="RealPoint" overloaded="no"> | |
163 | <autodoc>__add__(RealPoint pt) -> RealPoint</autodoc> | |
164 | <docstring>Add pt's proprties to this and return the result.</docstring> | |
165 | <paramlist> | |
166 | <param name="pt" type="RealPoint" default=""/> | |
167 | </paramlist> | |
168 | </method> | |
169 | <method name="__sub__" type="RealPoint" overloaded="no"> | |
170 | <autodoc>__sub__(RealPoint pt) -> RealPoint</autodoc> | |
171 | <docstring>Subtract pt's proprties from this and return the result</docstring> | |
172 | <paramlist> | |
173 | <param name="pt" type="RealPoint" default=""/> | |
174 | </paramlist> | |
175 | </method> | |
176 | <method name="Set" type="" overloaded="no"> | |
177 | <autodoc>Set(double x, double y)</autodoc> | |
178 | <docstring>Set both the x and y properties</docstring> | |
179 | <paramlist> | |
180 | <param name="x" type="double" default=""/> | |
181 | <param name="y" type="double" default=""/> | |
182 | </paramlist> | |
183 | </method> | |
184 | <method name="Get" type="PyObject" overloaded="no"> | |
185 | <autodoc>Get() -> (x,y)</autodoc> | |
186 | <docstring>Return the x and y properties as a tuple. </docstring> | |
187 | </method> | |
188 | </class> | |
0dd25e81 | 189 | <pythoncode> |
0f43fbdf RD |
190 | #--------------------------------------------------------------------------- |
191 | </pythoncode> | |
f32fc4bc RD |
192 | <class name="Point" oldname="wxPoint" module="core"> |
193 | <docstring>A data structure for representing a point or position with integer x and y | |
0f43fbdf RD |
194 | properties. Most places in wxPython that expect a wx.Point can also accept a |
195 | (x,y) tuple.</docstring> | |
f32fc4bc RD |
196 | <constructor name="Point" overloaded="no"> |
197 | <autodoc>__init__(int x=0, int y=0) -> Point</autodoc> | |
198 | <docstring>Create a wx.Point object</docstring> | |
199 | <paramlist> | |
200 | <param name="x" type="int" default="0"/> | |
201 | <param name="y" type="int" default="0"/> | |
202 | </paramlist> | |
203 | </constructor> | |
204 | <destructor name="~wxPoint" overloaded="no"> | |
205 | <autodoc>__del__()</autodoc> | |
206 | </destructor> | |
207 | <property name="x" type="int" readonly="no"/> | |
208 | <property name="y" type="int" readonly="no"/> | |
209 | <method name="__eq__" type="bool" overloaded="no"> | |
210 | <autodoc>__eq__(Point pt) -> bool</autodoc> | |
211 | <docstring>Test for equality of wx.Point objects.</docstring> | |
212 | <paramlist> | |
213 | <param name="pt" type="Point" default=""/> | |
214 | </paramlist> | |
215 | </method> | |
216 | <method name="__ne__" type="bool" overloaded="no"> | |
217 | <autodoc>__ne__(Point pt) -> bool</autodoc> | |
218 | <docstring>Test for inequality of wx.Point objects.</docstring> | |
219 | <paramlist> | |
220 | <param name="pt" type="Point" default=""/> | |
221 | </paramlist> | |
222 | </method> | |
223 | <method name="__add__" type="Point" overloaded="no"> | |
224 | <autodoc>__add__(Point pt) -> Point</autodoc> | |
225 | <docstring>Add pt's proprties to this and return the result.</docstring> | |
226 | <paramlist> | |
227 | <param name="pt" type="Point" default=""/> | |
228 | </paramlist> | |
229 | </method> | |
230 | <method name="__sub__" type="Point" overloaded="no"> | |
231 | <autodoc>__sub__(Point pt) -> Point</autodoc> | |
232 | <docstring>Subtract pt's proprties from this and return the result</docstring> | |
233 | <paramlist> | |
234 | <param name="pt" type="Point" default=""/> | |
235 | </paramlist> | |
236 | </method> | |
237 | <method name="__iadd__" type="Point" overloaded="no"> | |
238 | <autodoc>__iadd__(Point pt) -> Point</autodoc> | |
239 | <docstring>Add pt to this object.</docstring> | |
240 | <paramlist> | |
241 | <param name="pt" type="Point" default=""/> | |
242 | </paramlist> | |
243 | </method> | |
244 | <method name="__isub__" type="Point" overloaded="no"> | |
245 | <autodoc>__isub__(Point pt) -> Point</autodoc> | |
246 | <docstring>Subtract pt from this object.</docstring> | |
247 | <paramlist> | |
248 | <param name="pt" type="Point" default=""/> | |
249 | </paramlist> | |
250 | </method> | |
251 | <method name="Set" type="" overloaded="no"> | |
252 | <autodoc>Set(long x, long y)</autodoc> | |
253 | <docstring>Set both the x and y properties</docstring> | |
254 | <paramlist> | |
255 | <param name="x" type="long" default=""/> | |
256 | <param name="y" type="long" default=""/> | |
257 | </paramlist> | |
258 | </method> | |
259 | <method name="Get" type="PyObject" overloaded="no"> | |
260 | <autodoc>Get() -> (x,y)</autodoc> | |
261 | <docstring>Return the x and y properties as a tuple. </docstring> | |
262 | </method> | |
263 | </class> | |
0dd25e81 | 264 | <pythoncode> |
0f43fbdf RD |
265 | #--------------------------------------------------------------------------- |
266 | </pythoncode> | |
f32fc4bc RD |
267 | <class name="Rect" oldname="wxRect" module="core"> |
268 | <docstring>A class for representing and manipulating rectangles. It has x, y, width and | |
0f43fbdf RD |
269 | height properties. In wxPython most palces that expect a wx.Rect can also |
270 | accept a (x,y,width,height) tuple.</docstring> | |
f32fc4bc RD |
271 | <constructor name="Rect" overloaded="no"> |
272 | <autodoc>__init__(int x=0, int y=0, int width=0, int height=0) -> Rect</autodoc> | |
273 | <docstring>Create a new Rect object.</docstring> | |
274 | <paramlist> | |
275 | <param name="x" type="int" default="0"/> | |
276 | <param name="y" type="int" default="0"/> | |
277 | <param name="width" type="int" default="0"/> | |
278 | <param name="height" type="int" default="0"/> | |
279 | </paramlist> | |
280 | </constructor> | |
281 | <constructor name="RectPP" overloaded="no"> | |
282 | <autodoc>RectPP(Point topLeft, Point bottomRight) -> Rect</autodoc> | |
283 | <docstring>Create a new Rect object from Points representing two corners.</docstring> | |
284 | <paramlist> | |
285 | <param name="topLeft" type="Point" default=""/> | |
286 | <param name="bottomRight" type="Point" default=""/> | |
287 | </paramlist> | |
288 | </constructor> | |
289 | <constructor name="RectPS" overloaded="no"> | |
290 | <autodoc>RectPS(Point pos, Size size) -> Rect</autodoc> | |
291 | <docstring>Create a new Rect from a position and size.</docstring> | |
292 | <paramlist> | |
293 | <param name="pos" type="Point" default=""/> | |
294 | <param name="size" type="Size" default=""/> | |
295 | </paramlist> | |
296 | </constructor> | |
297 | <destructor name="~wxRect" overloaded="no"> | |
298 | <autodoc>__del__()</autodoc> | |
299 | </destructor> | |
300 | <method name="GetX" type="int" overloaded="no"> | |
301 | <autodoc>GetX() -> int</autodoc> | |
302 | </method> | |
303 | <method name="SetX" type="" overloaded="no"> | |
304 | <autodoc>SetX(int x)</autodoc> | |
305 | <paramlist> | |
306 | <param name="x" type="int" default=""/> | |
307 | </paramlist> | |
308 | </method> | |
309 | <method name="GetY" type="int" overloaded="no"> | |
310 | <autodoc>GetY() -> int</autodoc> | |
311 | </method> | |
312 | <method name="SetY" type="" overloaded="no"> | |
313 | <autodoc>SetY(int y)</autodoc> | |
314 | <paramlist> | |
315 | <param name="y" type="int" default=""/> | |
316 | </paramlist> | |
317 | </method> | |
318 | <method name="GetWidth" type="int" overloaded="no"> | |
319 | <autodoc>GetWidth() -> int</autodoc> | |
320 | </method> | |
321 | <method name="SetWidth" type="" overloaded="no"> | |
322 | <autodoc>SetWidth(int w)</autodoc> | |
323 | <paramlist> | |
324 | <param name="w" type="int" default=""/> | |
325 | </paramlist> | |
326 | </method> | |
327 | <method name="GetHeight" type="int" overloaded="no"> | |
328 | <autodoc>GetHeight() -> int</autodoc> | |
329 | </method> | |
330 | <method name="SetHeight" type="" overloaded="no"> | |
331 | <autodoc>SetHeight(int h)</autodoc> | |
332 | <paramlist> | |
333 | <param name="h" type="int" default=""/> | |
334 | </paramlist> | |
335 | </method> | |
336 | <method name="GetPosition" type="Point" overloaded="no"> | |
337 | <autodoc>GetPosition() -> Point</autodoc> | |
338 | </method> | |
339 | <method name="SetPosition" type="" overloaded="no"> | |
340 | <autodoc>SetPosition(Point p)</autodoc> | |
341 | <paramlist> | |
342 | <param name="p" type="Point" default=""/> | |
343 | </paramlist> | |
344 | </method> | |
345 | <method name="GetSize" type="Size" overloaded="no"> | |
346 | <autodoc>GetSize() -> Size</autodoc> | |
347 | </method> | |
348 | <method name="SetSize" type="" overloaded="no"> | |
349 | <autodoc>SetSize(Size s)</autodoc> | |
350 | <paramlist> | |
351 | <param name="s" type="Size" default=""/> | |
352 | </paramlist> | |
353 | </method> | |
354 | <method name="GetTopLeft" type="Point" overloaded="no"> | |
355 | <autodoc>GetTopLeft() -> Point</autodoc> | |
356 | </method> | |
357 | <method name="SetTopLeft" type="" overloaded="no"> | |
358 | <autodoc>SetTopLeft(Point p)</autodoc> | |
359 | <paramlist> | |
360 | <param name="p" type="Point" default=""/> | |
361 | </paramlist> | |
362 | </method> | |
363 | <method name="GetBottomRight" type="Point" overloaded="no"> | |
364 | <autodoc>GetBottomRight() -> Point</autodoc> | |
365 | </method> | |
366 | <method name="SetBottomRight" type="" overloaded="no"> | |
367 | <autodoc>SetBottomRight(Point p)</autodoc> | |
368 | <paramlist> | |
369 | <param name="p" type="Point" default=""/> | |
370 | </paramlist> | |
371 | </method> | |
372 | <method name="GetLeft" type="int" overloaded="no"> | |
373 | <autodoc>GetLeft() -> int</autodoc> | |
374 | </method> | |
375 | <method name="GetTop" type="int" overloaded="no"> | |
376 | <autodoc>GetTop() -> int</autodoc> | |
377 | </method> | |
378 | <method name="GetBottom" type="int" overloaded="no"> | |
379 | <autodoc>GetBottom() -> int</autodoc> | |
380 | </method> | |
381 | <method name="GetRight" type="int" overloaded="no"> | |
382 | <autodoc>GetRight() -> int</autodoc> | |
383 | </method> | |
384 | <method name="SetLeft" type="" overloaded="no"> | |
385 | <autodoc>SetLeft(int left)</autodoc> | |
386 | <paramlist> | |
387 | <param name="left" type="int" default=""/> | |
388 | </paramlist> | |
389 | </method> | |
390 | <method name="SetRight" type="" overloaded="no"> | |
391 | <autodoc>SetRight(int right)</autodoc> | |
392 | <paramlist> | |
393 | <param name="right" type="int" default=""/> | |
394 | </paramlist> | |
395 | </method> | |
396 | <method name="SetTop" type="" overloaded="no"> | |
397 | <autodoc>SetTop(int top)</autodoc> | |
398 | <paramlist> | |
399 | <param name="top" type="int" default=""/> | |
400 | </paramlist> | |
401 | </method> | |
402 | <method name="SetBottom" type="" overloaded="no"> | |
403 | <autodoc>SetBottom(int bottom)</autodoc> | |
404 | <paramlist> | |
405 | <param name="bottom" type="int" default=""/> | |
406 | </paramlist> | |
407 | </method> | |
408 | <method name="Inflate" type="Rect" overloaded="no"> | |
409 | <autodoc>Inflate(int dx, int dy) -> Rect</autodoc> | |
410 | <docstring>Increase the rectangle size by dx in x direction and dy in y direction. Both | |
0f43fbdf | 411 | (or one of) parameters may be negative to decrease the rectangle size.</docstring> |
f32fc4bc RD |
412 | <paramlist> |
413 | <param name="dx" type="int" default=""/> | |
414 | <param name="dy" type="int" default=""/> | |
415 | </paramlist> | |
416 | </method> | |
417 | <method name="Deflate" type="Rect" overloaded="no"> | |
418 | <autodoc>Deflate(int dx, int dy) -> Rect</autodoc> | |
419 | <docstring>Decrease the rectangle size by dx in x direction and dy in y direction. Both | |
0f43fbdf RD |
420 | (or one of) parameters may be negative to increase the rectngle size. This |
421 | method is the opposite of Inflate.</docstring> | |
f32fc4bc RD |
422 | <paramlist> |
423 | <param name="dx" type="int" default=""/> | |
424 | <param name="dy" type="int" default=""/> | |
425 | </paramlist> | |
426 | </method> | |
427 | <method name="OffsetXY" type="" overloaded="no"> | |
428 | <autodoc>OffsetXY(int dx, int dy)</autodoc> | |
429 | <docstring>Moves the rectangle by the specified offset. If dx is positive, the rectangle | |
0f43fbdf RD |
430 | is moved to the right, if dy is positive, it is moved to the bottom, otherwise |
431 | it is moved to the left or top respectively.</docstring> | |
f32fc4bc RD |
432 | <paramlist> |
433 | <param name="dx" type="int" default=""/> | |
434 | <param name="dy" type="int" default=""/> | |
435 | </paramlist> | |
436 | </method> | |
437 | <method name="Offset" type="" overloaded="no"> | |
438 | <autodoc>Offset(Point pt)</autodoc> | |
439 | <docstring>Same as OffsetXY but uses dx,dy from Point</docstring> | |
440 | <paramlist> | |
441 | <param name="pt" type="Point" default=""/> | |
442 | </paramlist> | |
443 | </method> | |
444 | <method name="Intersect" type="Rect" overloaded="no"> | |
445 | <autodoc>Intersect(Rect rect) -> Rect</autodoc> | |
446 | <docstring>Return the intersectsion of this rectangle and rect.</docstring> | |
447 | <paramlist> | |
448 | <param name="rect" type="Rect" default=""/> | |
449 | </paramlist> | |
450 | </method> | |
451 | <method name="__add__" type="Rect" overloaded="no"> | |
452 | <autodoc>__add__(Rect rect) -> Rect</autodoc> | |
453 | <docstring>Add the properties of rect to this rectangle and return the result.</docstring> | |
454 | <paramlist> | |
455 | <param name="rect" type="Rect" default=""/> | |
456 | </paramlist> | |
457 | </method> | |
458 | <method name="__iadd__" type="Rect" overloaded="no"> | |
459 | <autodoc>__iadd__(Rect rect) -> Rect</autodoc> | |
460 | <docstring>Add the properties of rect to this rectangle, updating this rectangle.</docstring> | |
461 | <paramlist> | |
462 | <param name="rect" type="Rect" default=""/> | |
463 | </paramlist> | |
464 | </method> | |
465 | <method name="__eq__" type="bool" overloaded="no"> | |
466 | <autodoc>__eq__(Rect rect) -> bool</autodoc> | |
467 | <docstring>Test for equality.</docstring> | |
468 | <paramlist> | |
469 | <param name="rect" type="Rect" default=""/> | |
470 | </paramlist> | |
471 | </method> | |
472 | <method name="__ne__" type="bool" overloaded="no"> | |
473 | <autodoc>__ne__(Rect rect) -> bool</autodoc> | |
474 | <docstring>Test for inequality.</docstring> | |
475 | <paramlist> | |
476 | <param name="rect" type="Rect" default=""/> | |
477 | </paramlist> | |
478 | </method> | |
479 | <method name="InsideXY" type="bool" overloaded="no"> | |
480 | <autodoc>InsideXY(int x, int y) -> bool</autodoc> | |
481 | <docstring>Return True if the point is (not strcitly) inside the rect.</docstring> | |
482 | <paramlist> | |
483 | <param name="x" type="int" default=""/> | |
484 | <param name="y" type="int" default=""/> | |
485 | </paramlist> | |
486 | </method> | |
487 | <method name="Inside" type="bool" overloaded="no"> | |
488 | <autodoc>Inside(Point pt) -> bool</autodoc> | |
489 | <docstring>Return True if the point is (not strcitly) inside the rect.</docstring> | |
490 | <paramlist> | |
491 | <param name="pt" type="Point" default=""/> | |
492 | </paramlist> | |
493 | </method> | |
494 | <method name="Intersects" type="bool" overloaded="no"> | |
495 | <autodoc>Intersects(Rect rect) -> bool</autodoc> | |
496 | <docstring>Returns True if the rectangles have a non empty intersection.</docstring> | |
497 | <paramlist> | |
498 | <param name="rect" type="Rect" default=""/> | |
499 | </paramlist> | |
500 | </method> | |
501 | <property name="x" type="int" readonly="no"/> | |
502 | <property name="y" type="int" readonly="no"/> | |
503 | <property name="width" type="int" readonly="no"/> | |
504 | <property name="height" type="int" readonly="no"/> | |
505 | <method name="Set" type="" overloaded="no"> | |
506 | <autodoc>Set(int x=0, int y=0, int width=0, int height=0)</autodoc> | |
507 | <docstring>Set all rectangle properties.</docstring> | |
508 | <paramlist> | |
509 | <param name="x" type="int" default="0"/> | |
510 | <param name="y" type="int" default="0"/> | |
511 | <param name="width" type="int" default="0"/> | |
512 | <param name="height" type="int" default="0"/> | |
513 | </paramlist> | |
514 | </method> | |
515 | <method name="Get" type="PyObject" overloaded="no"> | |
516 | <autodoc>Get() -> (x,y,width,height)</autodoc> | |
517 | <docstring>Return the rectangle properties as a tuple.</docstring> | |
518 | </method> | |
519 | </class> | |
520 | <method name="IntersectRect" oldname="wxIntersectRect" type="PyObject" overloaded="no"> | |
521 | <autodoc>IntersectRect(Rect r1, Rect r2) -> Rect</autodoc> | |
522 | <docstring>Calculate and return the intersection of r1 and r2.</docstring> | |
523 | <paramlist> | |
524 | <param name="r1" type="Rect" default=""/> | |
525 | <param name="r2" type="Rect" default=""/> | |
856bf319 RD |
526 | </paramlist> |
527 | </method> | |
0dd25e81 | 528 | <pythoncode> |
0f43fbdf RD |
529 | #--------------------------------------------------------------------------- |
530 | </pythoncode> | |
f32fc4bc RD |
531 | <class name="Point2D" oldname="wxPoint2D" module="core"> |
532 | <docstring>wx.Point2Ds represent a point or a vector in a 2d coordinate system with floating point values.</docstring> | |
533 | <constructor name="Point2D" overloaded="no"> | |
534 | <autodoc>__init__(double x=0.0, double y=0.0) -> Point2D</autodoc> | |
535 | <docstring>Create a w.Point2D object.</docstring> | |
536 | <paramlist> | |
537 | <param name="x" type="double" default="0.0"/> | |
538 | <param name="y" type="double" default="0.0"/> | |
539 | </paramlist> | |
540 | </constructor> | |
541 | <constructor name="Point2DCopy" overloaded="no"> | |
542 | <autodoc>Point2DCopy(Point2D pt) -> Point2D</autodoc> | |
543 | <docstring>Create a w.Point2D object.</docstring> | |
544 | <paramlist> | |
545 | <param name="pt" type="Point2D" default=""/> | |
546 | </paramlist> | |
547 | </constructor> | |
548 | <constructor name="Point2DFromPoint" overloaded="no"> | |
549 | <autodoc>Point2DFromPoint(Point pt) -> Point2D</autodoc> | |
550 | <docstring>Create a w.Point2D object.</docstring> | |
551 | <paramlist> | |
552 | <param name="pt" type="Point" default=""/> | |
553 | </paramlist> | |
554 | </constructor> | |
555 | <method name="GetFloor" type="" overloaded="no"> | |
556 | <autodoc>GetFloor() -> (x,y)</autodoc> | |
557 | <docstring>Convert to integer</docstring> | |
558 | <paramlist> | |
559 | <param name="OUTPUT" type="int" default=""/> | |
560 | <param name="OUTPUT" type="int" default=""/> | |
561 | </paramlist> | |
562 | </method> | |
563 | <method name="GetRounded" type="" overloaded="no"> | |
564 | <autodoc>GetRounded() -> (x,y)</autodoc> | |
565 | <docstring>Convert to integer</docstring> | |
566 | <paramlist> | |
567 | <param name="OUTPUT" type="int" default=""/> | |
568 | <param name="OUTPUT" type="int" default=""/> | |
569 | </paramlist> | |
570 | </method> | |
571 | <method name="GetVectorLength" type="double" overloaded="no"> | |
572 | <autodoc>GetVectorLength() -> double</autodoc> | |
573 | </method> | |
574 | <method name="GetVectorAngle" type="double" overloaded="no"> | |
575 | <autodoc>GetVectorAngle() -> double</autodoc> | |
576 | </method> | |
577 | <method name="SetVectorLength" type="" overloaded="no"> | |
578 | <autodoc>SetVectorLength(double length)</autodoc> | |
579 | <paramlist> | |
580 | <param name="length" type="double" default=""/> | |
581 | </paramlist> | |
582 | </method> | |
583 | <method name="SetVectorAngle" type="" overloaded="no"> | |
584 | <autodoc>SetVectorAngle(double degrees)</autodoc> | |
585 | <paramlist> | |
586 | <param name="degrees" type="double" default=""/> | |
587 | </paramlist> | |
588 | </method> | |
589 | <method name="GetDistance" type="double" overloaded="no"> | |
590 | <autodoc>GetDistance(Point2D pt) -> double</autodoc> | |
591 | <paramlist> | |
592 | <param name="pt" type="Point2D" default=""/> | |
593 | </paramlist> | |
594 | </method> | |
595 | <method name="GetDistanceSquare" type="double" overloaded="no"> | |
596 | <autodoc>GetDistanceSquare(Point2D pt) -> double</autodoc> | |
597 | <paramlist> | |
598 | <param name="pt" type="Point2D" default=""/> | |
599 | </paramlist> | |
600 | </method> | |
601 | <method name="GetDotProduct" type="double" overloaded="no"> | |
602 | <autodoc>GetDotProduct(Point2D vec) -> double</autodoc> | |
603 | <paramlist> | |
604 | <param name="vec" type="Point2D" default=""/> | |
605 | </paramlist> | |
606 | </method> | |
607 | <method name="GetCrossProduct" type="double" overloaded="no"> | |
608 | <autodoc>GetCrossProduct(Point2D vec) -> double</autodoc> | |
609 | <paramlist> | |
610 | <param name="vec" type="Point2D" default=""/> | |
611 | </paramlist> | |
612 | </method> | |
613 | <method name="__neg__" type="Point2D" overloaded="no"> | |
614 | <autodoc>__neg__() -> Point2D</autodoc> | |
615 | <docstring>the reflection of this point</docstring> | |
616 | </method> | |
617 | <method name="__iadd__" type="Point2D" overloaded="no"> | |
618 | <autodoc>__iadd__(Point2D pt) -> Point2D</autodoc> | |
619 | <paramlist> | |
620 | <param name="pt" type="Point2D" default=""/> | |
621 | </paramlist> | |
622 | </method> | |
623 | <method name="__isub__" type="Point2D" overloaded="no"> | |
624 | <autodoc>__isub__(Point2D pt) -> Point2D</autodoc> | |
625 | <paramlist> | |
626 | <param name="pt" type="Point2D" default=""/> | |
627 | </paramlist> | |
628 | </method> | |
629 | <method name="__imul__" type="Point2D" overloaded="no"> | |
630 | <autodoc>__imul__(Point2D pt) -> Point2D</autodoc> | |
631 | <paramlist> | |
632 | <param name="pt" type="Point2D" default=""/> | |
633 | </paramlist> | |
634 | </method> | |
635 | <method name="__idiv__" type="Point2D" overloaded="no"> | |
636 | <autodoc>__idiv__(Point2D pt) -> Point2D</autodoc> | |
637 | <paramlist> | |
638 | <param name="pt" type="Point2D" default=""/> | |
639 | </paramlist> | |
640 | </method> | |
641 | <method name="__eq__" type="bool" overloaded="no"> | |
642 | <autodoc>__eq__(Point2D pt) -> bool</autodoc> | |
643 | <docstring>Test for equality</docstring> | |
644 | <paramlist> | |
645 | <param name="pt" type="Point2D" default=""/> | |
646 | </paramlist> | |
647 | </method> | |
648 | <method name="__ne__" type="bool" overloaded="no"> | |
649 | <autodoc>__ne__(Point2D pt) -> bool</autodoc> | |
650 | <docstring>Test for inequality</docstring> | |
651 | <paramlist> | |
652 | <param name="pt" type="Point2D" default=""/> | |
653 | </paramlist> | |
654 | </method> | |
655 | <property name="x" type="double" readonly="no"/> | |
656 | <property name="y" type="double" readonly="no"/> | |
657 | <method name="Set" type="" overloaded="no"> | |
658 | <autodoc>Set(double x=0, double y=0)</autodoc> | |
659 | <paramlist> | |
660 | <param name="x" type="double" default="0"/> | |
661 | <param name="y" type="double" default="0"/> | |
662 | </paramlist> | |
663 | </method> | |
664 | <method name="Get" type="PyObject" overloaded="no"> | |
665 | <autodoc>Get() -> (x,y)</autodoc> | |
666 | <docstring>Return x and y properties as a tuple.</docstring> | |
667 | </method> | |
668 | </class> | |
0dd25e81 | 669 | <pythoncode> |
f32fc4bc RD |
670 | #--------------------------------------------------------------------------- |
671 | </pythoncode> | |
672 | <class name="InputStream" oldname="wxPyInputStream" module="core"> | |
673 | <constructor name="wxPyInputStream" overloaded="no"> | |
674 | <autodoc>__init__(PyObject p) -> InputStream</autodoc> | |
675 | <paramlist> | |
676 | <param name="p" type="PyObject" default=""/> | |
677 | </paramlist> | |
678 | </constructor> | |
679 | <method name="close" type="" overloaded="no"> | |
680 | <autodoc>close()</autodoc> | |
681 | </method> | |
682 | <method name="flush" type="" overloaded="no"> | |
683 | <autodoc>flush()</autodoc> | |
684 | </method> | |
685 | <method name="eof" type="bool" overloaded="no"> | |
686 | <autodoc>eof() -> bool</autodoc> | |
687 | </method> | |
688 | <method name="read" type="PyObject" overloaded="no"> | |
689 | <autodoc>read(int size=-1) -> PyObject</autodoc> | |
690 | <paramlist> | |
691 | <param name="size" type="int" default="-1"/> | |
692 | </paramlist> | |
693 | </method> | |
694 | <method name="readline" type="PyObject" overloaded="no"> | |
695 | <autodoc>readline(int size=-1) -> PyObject</autodoc> | |
696 | <paramlist> | |
697 | <param name="size" type="int" default="-1"/> | |
698 | </paramlist> | |
699 | </method> | |
700 | <method name="readlines" type="PyObject" overloaded="no"> | |
701 | <autodoc>readlines(int sizehint=-1) -> PyObject</autodoc> | |
702 | <paramlist> | |
703 | <param name="sizehint" type="int" default="-1"/> | |
704 | </paramlist> | |
705 | </method> | |
706 | <method name="seek" type="" overloaded="no"> | |
707 | <autodoc>seek(int offset, int whence=0)</autodoc> | |
708 | <paramlist> | |
709 | <param name="offset" type="int" default=""/> | |
710 | <param name="whence" type="int" default="0"/> | |
711 | </paramlist> | |
712 | </method> | |
713 | <method name="tell" type="int" overloaded="no"> | |
714 | <autodoc>tell() -> int</autodoc> | |
715 | </method> | |
716 | <method name="Peek" type="char" overloaded="no"> | |
717 | <autodoc>Peek() -> char</autodoc> | |
718 | </method> | |
719 | <method name="GetC" type="char" overloaded="no"> | |
720 | <autodoc>GetC() -> char</autodoc> | |
721 | </method> | |
722 | <method name="LastRead" type="size_t" overloaded="no"> | |
723 | <autodoc>LastRead() -> size_t</autodoc> | |
724 | </method> | |
725 | <method name="CanRead" type="bool" overloaded="no"> | |
726 | <autodoc>CanRead() -> bool</autodoc> | |
727 | </method> | |
728 | <method name="Eof" type="bool" overloaded="no"> | |
729 | <autodoc>Eof() -> bool</autodoc> | |
730 | </method> | |
731 | <method name="Ungetch" type="bool" overloaded="no"> | |
732 | <autodoc>Ungetch(char c) -> bool</autodoc> | |
733 | <paramlist> | |
734 | <param name="c" type="char" default=""/> | |
735 | </paramlist> | |
736 | </method> | |
737 | <method name="SeekI" type="long" overloaded="no"> | |
738 | <autodoc>SeekI(long pos, int mode=FromStart) -> long</autodoc> | |
739 | <paramlist> | |
740 | <param name="pos" type="long" default=""/> | |
741 | <param name="mode" type="wxSeekMode" default="wxFromStart"/> | |
742 | </paramlist> | |
743 | </method> | |
744 | <method name="TellI" type="long" overloaded="no"> | |
745 | <autodoc>TellI() -> long</autodoc> | |
746 | </method> | |
747 | </class> | |
748 | <class name="OutputStream" oldname="wxOutputStream" module="core"> | |
749 | <method name="write" type="" overloaded="no"> | |
750 | <autodoc>write(PyObject obj)</autodoc> | |
751 | <paramlist> | |
752 | <param name="obj" type="PyObject" default=""/> | |
753 | </paramlist> | |
754 | </method> | |
755 | </class> | |
0dd25e81 | 756 | <pythoncode> |
0f43fbdf RD |
757 | #--------------------------------------------------------------------------- |
758 | </pythoncode> | |
f32fc4bc RD |
759 | <class name="FSFile" oldname="wxFSFile" module="core"> |
760 | <baseclass name="Object"/> | |
761 | <constructor name="FSFile" overloaded="no"> | |
762 | <autodoc>__init__(InputStream stream, String loc, String mimetype, String anchor, | |
763 | DateTime modif) -> FSFile</autodoc> | |
764 | <paramlist> | |
765 | <param name="stream" type="wxInputStream" default=""/> | |
766 | <param name="loc" type="String" default=""/> | |
767 | <param name="mimetype" type="String" default=""/> | |
768 | <param name="anchor" type="String" default=""/> | |
769 | <param name="modif" type="wxDateTime" default=""/> | |
770 | </paramlist> | |
771 | </constructor> | |
772 | <destructor name="~wxFSFile" overloaded="no"> | |
773 | <autodoc>__del__()</autodoc> | |
774 | </destructor> | |
775 | <method name="GetStream" type="wxInputStream" overloaded="no"> | |
776 | <autodoc>GetStream() -> InputStream</autodoc> | |
777 | </method> | |
778 | <method name="GetMimeType" type="String" overloaded="no"> | |
779 | <autodoc>GetMimeType() -> String</autodoc> | |
780 | </method> | |
781 | <method name="GetLocation" type="String" overloaded="no"> | |
782 | <autodoc>GetLocation() -> String</autodoc> | |
783 | </method> | |
784 | <method name="GetAnchor" type="String" overloaded="no"> | |
785 | <autodoc>GetAnchor() -> String</autodoc> | |
786 | </method> | |
787 | <method name="GetModificationTime" type="wxDateTime" overloaded="no"> | |
788 | <autodoc>GetModificationTime() -> DateTime</autodoc> | |
789 | </method> | |
790 | </class> | |
791 | <class name="CPPFileSystemHandler" oldname="wxFileSystemHandler" module="core"/> | |
792 | <class name="FileSystemHandler" oldname="wxPyFileSystemHandler" module="core"> | |
793 | <baseclass name="CPPFileSystemHandler"/> | |
794 | <constructor name="wxPyFileSystemHandler" overloaded="no"> | |
795 | <autodoc>__init__() -> FileSystemHandler</autodoc> | |
796 | </constructor> | |
797 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
798 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
799 | <paramlist> | |
800 | <param name="self" type="PyObject" default=""/> | |
801 | <param name="_class" type="PyObject" default=""/> | |
802 | </paramlist> | |
803 | </method> | |
804 | <method name="CanOpen" type="bool" overloaded="no"> | |
805 | <autodoc>CanOpen(String location) -> bool</autodoc> | |
806 | <paramlist> | |
807 | <param name="location" type="String" default=""/> | |
808 | </paramlist> | |
809 | </method> | |
810 | <method name="OpenFile" type="FSFile" overloaded="no"> | |
811 | <autodoc>OpenFile(FileSystem fs, String location) -> FSFile</autodoc> | |
812 | <paramlist> | |
813 | <param name="fs" type="wxFileSystem" default=""/> | |
814 | <param name="location" type="String" default=""/> | |
815 | </paramlist> | |
816 | </method> | |
817 | <method name="FindFirst" type="String" overloaded="no"> | |
818 | <autodoc>FindFirst(String spec, int flags=0) -> String</autodoc> | |
819 | <paramlist> | |
820 | <param name="spec" type="String" default=""/> | |
821 | <param name="flags" type="int" default="0"/> | |
822 | </paramlist> | |
823 | </method> | |
824 | <method name="FindNext" type="String" overloaded="no"> | |
825 | <autodoc>FindNext() -> String</autodoc> | |
826 | </method> | |
827 | <method name="GetProtocol" type="String" overloaded="no"> | |
828 | <autodoc>GetProtocol(String location) -> String</autodoc> | |
829 | <paramlist> | |
830 | <param name="location" type="String" default=""/> | |
831 | </paramlist> | |
832 | </method> | |
833 | <method name="GetLeftLocation" type="String" overloaded="no"> | |
834 | <autodoc>GetLeftLocation(String location) -> String</autodoc> | |
835 | <paramlist> | |
836 | <param name="location" type="String" default=""/> | |
837 | </paramlist> | |
838 | </method> | |
839 | <method name="GetAnchor" type="String" overloaded="no"> | |
840 | <autodoc>GetAnchor(String location) -> String</autodoc> | |
841 | <paramlist> | |
842 | <param name="location" type="String" default=""/> | |
843 | </paramlist> | |
844 | </method> | |
845 | <method name="GetRightLocation" type="String" overloaded="no"> | |
846 | <autodoc>GetRightLocation(String location) -> String</autodoc> | |
847 | <paramlist> | |
848 | <param name="location" type="String" default=""/> | |
849 | </paramlist> | |
850 | </method> | |
851 | <method name="GetMimeTypeFromExt" type="String" overloaded="no"> | |
852 | <autodoc>GetMimeTypeFromExt(String location) -> String</autodoc> | |
853 | <paramlist> | |
854 | <param name="location" type="String" default=""/> | |
855 | </paramlist> | |
856 | </method> | |
857 | </class> | |
858 | <class name="FileSystem" oldname="wxFileSystem" module="core"> | |
859 | <baseclass name="Object"/> | |
860 | <constructor name="FileSystem" overloaded="no"> | |
861 | <autodoc>__init__() -> FileSystem</autodoc> | |
862 | </constructor> | |
863 | <destructor name="~wxFileSystem" overloaded="no"> | |
864 | <autodoc>__del__()</autodoc> | |
865 | </destructor> | |
866 | <method name="ChangePathTo" type="" overloaded="no"> | |
867 | <autodoc>ChangePathTo(String location, bool is_dir=False)</autodoc> | |
868 | <paramlist> | |
869 | <param name="location" type="String" default=""/> | |
870 | <param name="is_dir" type="bool" default="False"/> | |
871 | </paramlist> | |
872 | </method> | |
873 | <method name="GetPath" type="String" overloaded="no"> | |
874 | <autodoc>GetPath() -> String</autodoc> | |
875 | </method> | |
876 | <method name="OpenFile" type="FSFile" overloaded="no"> | |
877 | <autodoc>OpenFile(String location) -> FSFile</autodoc> | |
878 | <paramlist> | |
879 | <param name="location" type="String" default=""/> | |
880 | </paramlist> | |
881 | </method> | |
882 | <method name="FindFirst" type="String" overloaded="no"> | |
883 | <autodoc>FindFirst(String spec, int flags=0) -> String</autodoc> | |
884 | <paramlist> | |
885 | <param name="spec" type="String" default=""/> | |
886 | <param name="flags" type="int" default="0"/> | |
887 | </paramlist> | |
888 | </method> | |
889 | <method name="FindNext" type="String" overloaded="no"> | |
890 | <autodoc>FindNext() -> String</autodoc> | |
891 | </method> | |
892 | <staticmethod name="AddHandler" type="" overloaded="no"> | |
893 | <autodoc>AddHandler(CPPFileSystemHandler handler)</autodoc> | |
894 | <paramlist> | |
895 | <param name="handler" type="CPPFileSystemHandler" default=""/> | |
896 | </paramlist> | |
897 | </staticmethod> | |
898 | <staticmethod name="CleanUpHandlers" type="" overloaded="no"> | |
899 | <autodoc>CleanUpHandlers()</autodoc> | |
900 | </staticmethod> | |
901 | <staticmethod name="FileNameToURL" type="String" overloaded="no"> | |
902 | <autodoc>FileNameToURL(String filename) -> String</autodoc> | |
903 | <paramlist> | |
904 | <param name="filename" type="String" default=""/> | |
905 | </paramlist> | |
906 | </staticmethod> | |
907 | </class> | |
908 | <method name="FileSystem_URLToFileName" oldname="wxFileSystem_URLToFileName" type="String" overloaded="no"> | |
909 | <autodoc>FileSystem_URLToFileName(String url) -> String</autodoc> | |
910 | <paramlist> | |
911 | <param name="url" type="String" default=""/> | |
912 | </paramlist> | |
913 | </method> | |
914 | <class name="InternetFSHandler" oldname="wxInternetFSHandler" module="core"> | |
915 | <baseclass name="CPPFileSystemHandler"/> | |
916 | <constructor name="InternetFSHandler" overloaded="no"> | |
917 | <autodoc>__init__() -> InternetFSHandler</autodoc> | |
918 | </constructor> | |
919 | <method name="CanOpen" type="bool" overloaded="no"> | |
920 | <autodoc>CanOpen(String location) -> bool</autodoc> | |
921 | <paramlist> | |
922 | <param name="location" type="String" default=""/> | |
923 | </paramlist> | |
924 | </method> | |
925 | <method name="OpenFile" type="FSFile" overloaded="no"> | |
926 | <autodoc>OpenFile(FileSystem fs, String location) -> FSFile</autodoc> | |
927 | <paramlist> | |
928 | <param name="fs" type="FileSystem" default=""/> | |
929 | <param name="location" type="String" default=""/> | |
930 | </paramlist> | |
931 | </method> | |
932 | </class> | |
933 | <class name="ZipFSHandler" oldname="wxZipFSHandler" module="core"> | |
934 | <baseclass name="CPPFileSystemHandler"/> | |
935 | <constructor name="ZipFSHandler" overloaded="no"> | |
936 | <autodoc>__init__() -> ZipFSHandler</autodoc> | |
937 | </constructor> | |
938 | <method name="CanOpen" type="bool" overloaded="no"> | |
939 | <autodoc>CanOpen(String location) -> bool</autodoc> | |
940 | <paramlist> | |
941 | <param name="location" type="String" default=""/> | |
942 | </paramlist> | |
943 | </method> | |
944 | <method name="OpenFile" type="FSFile" overloaded="no"> | |
945 | <autodoc>OpenFile(FileSystem fs, String location) -> FSFile</autodoc> | |
946 | <paramlist> | |
947 | <param name="fs" type="FileSystem" default=""/> | |
948 | <param name="location" type="String" default=""/> | |
949 | </paramlist> | |
950 | </method> | |
951 | <method name="FindFirst" type="String" overloaded="no"> | |
952 | <autodoc>FindFirst(String spec, int flags=0) -> String</autodoc> | |
953 | <paramlist> | |
954 | <param name="spec" type="String" default=""/> | |
955 | <param name="flags" type="int" default="0"/> | |
956 | </paramlist> | |
957 | </method> | |
958 | <method name="FindNext" type="String" overloaded="no"> | |
959 | <autodoc>FindNext() -> String</autodoc> | |
960 | </method> | |
961 | </class> | |
962 | <method name="__wxMemoryFSHandler_AddFile_wxImage" oldname="__wxMemoryFSHandler_AddFile_wxImage" type="" overloaded="no"> | |
963 | <autodoc>__wxMemoryFSHandler_AddFile_wxImage(String filename, Image image, long type)</autodoc> | |
964 | <paramlist> | |
965 | <param name="filename" type="String" default=""/> | |
966 | <param name="image" type="wxImage" default=""/> | |
967 | <param name="type" type="long" default=""/> | |
856bf319 RD |
968 | </paramlist> |
969 | </method> | |
f32fc4bc RD |
970 | <method name="__wxMemoryFSHandler_AddFile_wxBitmap" oldname="__wxMemoryFSHandler_AddFile_wxBitmap" type="" overloaded="no"> |
971 | <autodoc>__wxMemoryFSHandler_AddFile_wxBitmap(String filename, Bitmap bitmap, long type)</autodoc> | |
856bf319 | 972 | <paramlist> |
f32fc4bc RD |
973 | <param name="filename" type="String" default=""/> |
974 | <param name="bitmap" type="wxBitmap" default=""/> | |
975 | <param name="type" type="long" default=""/> | |
856bf319 RD |
976 | </paramlist> |
977 | </method> | |
f32fc4bc RD |
978 | <method name="__wxMemoryFSHandler_AddFile_Data" oldname="__wxMemoryFSHandler_AddFile_Data" type="" overloaded="no"> |
979 | <autodoc>__wxMemoryFSHandler_AddFile_Data(String filename, PyObject data)</autodoc> | |
856bf319 | 980 | <paramlist> |
f32fc4bc RD |
981 | <param name="filename" type="String" default=""/> |
982 | <param name="data" type="PyObject" default=""/> | |
856bf319 RD |
983 | </paramlist> |
984 | </method> | |
f32fc4bc | 985 | <pythoncode> |
856bf319 RD |
986 | def MemoryFSHandler_AddFile(filename, a, b=''): |
987 | if isinstance(a, wx.Image): | |
988 | __wxMemoryFSHandler_AddFile_wxImage(filename, a, b) | |
989 | elif isinstance(a, wx.Bitmap): | |
990 | __wxMemoryFSHandler_AddFile_wxBitmap(filename, a, b) | |
991 | elif type(a) == str: | |
992 | __wxMemoryFSHandler_AddFile_Data(filename, a) | |
993 | else: raise TypeError, 'wx.Image, wx.Bitmap or string expected' | |
994 | </pythoncode> | |
f32fc4bc RD |
995 | <class name="MemoryFSHandler" oldname="wxMemoryFSHandler" module="core"> |
996 | <baseclass name="CPPFileSystemHandler"/> | |
997 | <constructor name="MemoryFSHandler" overloaded="no"> | |
998 | <autodoc>__init__() -> MemoryFSHandler</autodoc> | |
999 | </constructor> | |
1000 | <staticmethod name="RemoveFile" type="" overloaded="no"> | |
1001 | <autodoc>RemoveFile(String filename)</autodoc> | |
1002 | <paramlist> | |
1003 | <param name="filename" type="String" default=""/> | |
1004 | </paramlist> | |
1005 | </staticmethod> | |
1006 | <method name="CanOpen" type="bool" overloaded="no"> | |
1007 | <autodoc>CanOpen(String location) -> bool</autodoc> | |
1008 | <paramlist> | |
1009 | <param name="location" type="String" default=""/> | |
1010 | </paramlist> | |
1011 | </method> | |
1012 | <method name="OpenFile" type="FSFile" overloaded="no"> | |
1013 | <autodoc>OpenFile(FileSystem fs, String location) -> FSFile</autodoc> | |
1014 | <paramlist> | |
1015 | <param name="fs" type="FileSystem" default=""/> | |
1016 | <param name="location" type="String" default=""/> | |
1017 | </paramlist> | |
1018 | </method> | |
1019 | <method name="FindFirst" type="String" overloaded="no"> | |
1020 | <autodoc>FindFirst(String spec, int flags=0) -> String</autodoc> | |
1021 | <paramlist> | |
1022 | <param name="spec" type="String" default=""/> | |
1023 | <param name="flags" type="int" default="0"/> | |
1024 | </paramlist> | |
1025 | </method> | |
1026 | <method name="FindNext" type="String" overloaded="no"> | |
1027 | <autodoc>FindNext() -> String</autodoc> | |
1028 | </method> | |
1029 | </class> | |
1030 | <pythoncode> | |
0f43fbdf RD |
1031 | #--------------------------------------------------------------------------- |
1032 | </pythoncode> | |
f32fc4bc RD |
1033 | <class name="ImageHandler" oldname="wxImageHandler" module="core"> |
1034 | <baseclass name="Object"/> | |
1035 | <method name="GetName" type="String" overloaded="no"> | |
1036 | <autodoc>GetName() -> String</autodoc> | |
1037 | </method> | |
1038 | <method name="GetExtension" type="String" overloaded="no"> | |
1039 | <autodoc>GetExtension() -> String</autodoc> | |
1040 | </method> | |
1041 | <method name="GetType" type="long" overloaded="no"> | |
1042 | <autodoc>GetType() -> long</autodoc> | |
1043 | </method> | |
1044 | <method name="GetMimeType" type="String" overloaded="no"> | |
1045 | <autodoc>GetMimeType() -> String</autodoc> | |
1046 | </method> | |
1047 | <method name="CanRead" type="bool" overloaded="no"> | |
1048 | <autodoc>CanRead(String name) -> bool</autodoc> | |
1049 | <paramlist> | |
1050 | <param name="name" type="String" default=""/> | |
1051 | </paramlist> | |
1052 | </method> | |
1053 | <method name="SetName" type="" overloaded="no"> | |
1054 | <autodoc>SetName(String name)</autodoc> | |
1055 | <paramlist> | |
1056 | <param name="name" type="String" default=""/> | |
1057 | </paramlist> | |
1058 | </method> | |
1059 | <method name="SetExtension" type="" overloaded="no"> | |
1060 | <autodoc>SetExtension(String extension)</autodoc> | |
1061 | <paramlist> | |
1062 | <param name="extension" type="String" default=""/> | |
1063 | </paramlist> | |
1064 | </method> | |
1065 | <method name="SetType" type="" overloaded="no"> | |
1066 | <autodoc>SetType(long type)</autodoc> | |
1067 | <paramlist> | |
1068 | <param name="type" type="long" default=""/> | |
1069 | </paramlist> | |
1070 | </method> | |
1071 | <method name="SetMimeType" type="" overloaded="no"> | |
1072 | <autodoc>SetMimeType(String mimetype)</autodoc> | |
1073 | <paramlist> | |
1074 | <param name="mimetype" type="String" default=""/> | |
1075 | </paramlist> | |
1076 | </method> | |
1077 | </class> | |
1078 | <class name="ImageHistogram" oldname="wxImageHistogram" module="core"> | |
1079 | <constructor name="ImageHistogram" overloaded="no"> | |
1080 | <autodoc>__init__() -> ImageHistogram</autodoc> | |
1081 | </constructor> | |
1082 | <staticmethod name="MakeKey" type="unsigned long" overloaded="no"> | |
1083 | <autodoc>MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long</autodoc> | |
1084 | <docstring>Get the key in the histogram for the given RGB values</docstring> | |
1085 | <paramlist> | |
1086 | <param name="r" type="unsigned char" default=""/> | |
1087 | <param name="g" type="unsigned char" default=""/> | |
1088 | <param name="b" type="unsigned char" default=""/> | |
1089 | </paramlist> | |
1090 | </staticmethod> | |
1091 | <method name="FindFirstUnusedColour" type="bool" overloaded="no"> | |
1092 | <autodoc>FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b)</autodoc> | |
1093 | <docstring>Find first colour that is not used in the image and has higher RGB values than | |
856bf319 RD |
1094 | startR, startG, startB. Returns a tuple consisting of a success flag and rgb |
1095 | values.</docstring> | |
f32fc4bc RD |
1096 | <paramlist> |
1097 | <param name="OUTPUT" type="unsigned char" default=""/> | |
1098 | <param name="OUTPUT" type="unsigned char" default=""/> | |
1099 | <param name="OUTPUT" type="unsigned char" default=""/> | |
1100 | <param name="startR" type="unsigned char" default="1"/> | |
1101 | <param name="startG" type="unsigned char" default="0"/> | |
1102 | <param name="startB" type="unsigned char" default="0"/> | |
1103 | </paramlist> | |
1104 | </method> | |
1105 | </class> | |
1106 | <class name="Image" oldname="wxImage" module="core"> | |
1107 | <baseclass name="Object"/> | |
1108 | <constructor name="Image" overloaded="no"> | |
1109 | <autodoc>__init__(String name, long type=BITMAP_TYPE_ANY, int index=-1) -> Image</autodoc> | |
1110 | <paramlist> | |
1111 | <param name="name" type="String" default=""/> | |
1112 | <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/> | |
1113 | <param name="index" type="int" default="-1"/> | |
1114 | </paramlist> | |
1115 | </constructor> | |
1116 | <constructor name="ImageFromMime" overloaded="no"> | |
1117 | <autodoc>ImageFromMime(String name, String mimetype, int index=-1) -> Image</autodoc> | |
1118 | <paramlist> | |
1119 | <param name="name" type="String" default=""/> | |
1120 | <param name="mimetype" type="String" default=""/> | |
1121 | <param name="index" type="int" default="-1"/> | |
1122 | </paramlist> | |
1123 | </constructor> | |
1124 | <constructor name="ImageFromStream" overloaded="no"> | |
1125 | <autodoc>ImageFromStream(InputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -> Image</autodoc> | |
1126 | <paramlist> | |
1127 | <param name="stream" type="wxInputStream" default=""/> | |
1128 | <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/> | |
1129 | <param name="index" type="int" default="-1"/> | |
1130 | </paramlist> | |
1131 | </constructor> | |
1132 | <constructor name="ImageFromStreamMime" overloaded="no"> | |
1133 | <autodoc>ImageFromStreamMime(InputStream stream, String mimetype, int index=-1) -> Image</autodoc> | |
1134 | <paramlist> | |
1135 | <param name="stream" type="wxInputStream" default=""/> | |
1136 | <param name="mimetype" type="String" default=""/> | |
1137 | <param name="index" type="int" default="-1"/> | |
1138 | </paramlist> | |
1139 | </constructor> | |
1140 | <constructor name="EmptyImage" overloaded="no"> | |
1141 | <autodoc>EmptyImage(int width=0, int height=0, bool clear=True) -> Image</autodoc> | |
1142 | <paramlist> | |
1143 | <param name="width" type="int" default="0"/> | |
1144 | <param name="height" type="int" default="0"/> | |
1145 | <param name="clear" type="bool" default="True"/> | |
1146 | </paramlist> | |
1147 | </constructor> | |
1148 | <constructor name="ImageFromBitmap" overloaded="no"> | |
1149 | <autodoc>ImageFromBitmap(Bitmap bitmap) -> Image</autodoc> | |
1150 | <paramlist> | |
1151 | <param name="bitmap" type="wxBitmap" default=""/> | |
1152 | </paramlist> | |
1153 | </constructor> | |
1154 | <constructor name="ImageFromData" overloaded="no"> | |
1155 | <autodoc>ImageFromData(int width, int height, unsigned char data) -> Image</autodoc> | |
1156 | <paramlist> | |
1157 | <param name="width" type="int" default=""/> | |
1158 | <param name="height" type="int" default=""/> | |
1159 | <param name="data" type="unsigned char" default=""/> | |
1160 | </paramlist> | |
1161 | </constructor> | |
1162 | <destructor name="~wxImage" overloaded="no"> | |
1163 | <autodoc>__del__()</autodoc> | |
1164 | </destructor> | |
1165 | <method name="Create" type="" overloaded="no"> | |
1166 | <autodoc>Create(int width, int height)</autodoc> | |
1167 | <paramlist> | |
1168 | <param name="width" type="int" default=""/> | |
1169 | <param name="height" type="int" default=""/> | |
1170 | </paramlist> | |
1171 | </method> | |
1172 | <method name="Destroy" type="" overloaded="no"> | |
1173 | <autodoc>Destroy()</autodoc> | |
1174 | <docstring>Deletes the C++ object this Python object is a proxy for.</docstring> | |
1175 | </method> | |
1176 | <method name="Scale" type="Image" overloaded="no"> | |
1177 | <autodoc>Scale(int width, int height) -> Image</autodoc> | |
1178 | <paramlist> | |
1179 | <param name="width" type="int" default=""/> | |
1180 | <param name="height" type="int" default=""/> | |
1181 | </paramlist> | |
1182 | </method> | |
1183 | <method name="ShrinkBy" type="Image" overloaded="no"> | |
1184 | <autodoc>ShrinkBy(int xFactor, int yFactor) -> Image</autodoc> | |
1185 | <paramlist> | |
1186 | <param name="xFactor" type="int" default=""/> | |
1187 | <param name="yFactor" type="int" default=""/> | |
1188 | </paramlist> | |
1189 | </method> | |
1190 | <method name="Rescale" type="Image" overloaded="no"> | |
1191 | <autodoc>Rescale(int width, int height) -> Image</autodoc> | |
1192 | <paramlist> | |
1193 | <param name="width" type="int" default=""/> | |
1194 | <param name="height" type="int" default=""/> | |
1195 | </paramlist> | |
1196 | </method> | |
1197 | <method name="SetRGB" type="" overloaded="no"> | |
1198 | <autodoc>SetRGB(int x, int y, unsigned char r, unsigned char g, unsigned char b)</autodoc> | |
1199 | <paramlist> | |
1200 | <param name="x" type="int" default=""/> | |
1201 | <param name="y" type="int" default=""/> | |
1202 | <param name="r" type="unsigned char" default=""/> | |
1203 | <param name="g" type="unsigned char" default=""/> | |
1204 | <param name="b" type="unsigned char" default=""/> | |
1205 | </paramlist> | |
1206 | </method> | |
1207 | <method name="GetRed" type="unsigned char" overloaded="no"> | |
1208 | <autodoc>GetRed(int x, int y) -> unsigned char</autodoc> | |
1209 | <paramlist> | |
1210 | <param name="x" type="int" default=""/> | |
1211 | <param name="y" type="int" default=""/> | |
1212 | </paramlist> | |
1213 | </method> | |
1214 | <method name="GetGreen" type="unsigned char" overloaded="no"> | |
1215 | <autodoc>GetGreen(int x, int y) -> unsigned char</autodoc> | |
1216 | <paramlist> | |
1217 | <param name="x" type="int" default=""/> | |
1218 | <param name="y" type="int" default=""/> | |
1219 | </paramlist> | |
1220 | </method> | |
1221 | <method name="GetBlue" type="unsigned char" overloaded="no"> | |
1222 | <autodoc>GetBlue(int x, int y) -> unsigned char</autodoc> | |
1223 | <paramlist> | |
1224 | <param name="x" type="int" default=""/> | |
1225 | <param name="y" type="int" default=""/> | |
1226 | </paramlist> | |
1227 | </method> | |
1228 | <method name="SetAlpha" type="" overloaded="no"> | |
1229 | <autodoc>SetAlpha(int x, int y, unsigned char alpha)</autodoc> | |
1230 | <paramlist> | |
1231 | <param name="x" type="int" default=""/> | |
1232 | <param name="y" type="int" default=""/> | |
1233 | <param name="alpha" type="unsigned char" default=""/> | |
1234 | </paramlist> | |
1235 | </method> | |
1236 | <method name="GetAlpha" type="unsigned char" overloaded="no"> | |
1237 | <autodoc>GetAlpha(int x, int y) -> unsigned char</autodoc> | |
1238 | <paramlist> | |
1239 | <param name="x" type="int" default=""/> | |
1240 | <param name="y" type="int" default=""/> | |
1241 | </paramlist> | |
1242 | </method> | |
1243 | <method name="HasAlpha" type="bool" overloaded="no"> | |
1244 | <autodoc>HasAlpha() -> bool</autodoc> | |
1245 | </method> | |
1246 | <method name="FindFirstUnusedColour" type="bool" overloaded="no"> | |
1247 | <autodoc>FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b)</autodoc> | |
1248 | <docstring>Find first colour that is not used in the image and has higher RGB values than | |
856bf319 RD |
1249 | startR, startG, startB. Returns a tuple consisting of a success flag and rgb |
1250 | values.</docstring> | |
f32fc4bc RD |
1251 | <paramlist> |
1252 | <param name="OUTPUT" type="byte" default=""/> | |
1253 | <param name="OUTPUT" type="byte" default=""/> | |
1254 | <param name="OUTPUT" type="byte" default=""/> | |
1255 | <param name="startR" type="byte" default="0"/> | |
1256 | <param name="startG" type="byte" default="0"/> | |
1257 | <param name="startB" type="byte" default="0"/> | |
1258 | </paramlist> | |
1259 | </method> | |
1260 | <method name="SetMaskFromImage" type="bool" overloaded="no"> | |
1261 | <autodoc>SetMaskFromImage(Image mask, byte mr, byte mg, byte mb) -> bool</autodoc> | |
1262 | <paramlist> | |
1263 | <param name="mask" type="Image" default=""/> | |
1264 | <param name="mr" type="byte" default=""/> | |
1265 | <param name="mg" type="byte" default=""/> | |
1266 | <param name="mb" type="byte" default=""/> | |
1267 | </paramlist> | |
1268 | </method> | |
1269 | <staticmethod name="CanRead" type="bool" overloaded="no"> | |
1270 | <autodoc>CanRead(String name) -> bool</autodoc> | |
1271 | <paramlist> | |
1272 | <param name="name" type="String" default=""/> | |
1273 | </paramlist> | |
1274 | </staticmethod> | |
1275 | <staticmethod name="GetImageCount" type="int" overloaded="no"> | |
1276 | <autodoc>GetImageCount(String name, long type=BITMAP_TYPE_ANY) -> int</autodoc> | |
1277 | <paramlist> | |
1278 | <param name="name" type="String" default=""/> | |
1279 | <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/> | |
1280 | </paramlist> | |
1281 | </staticmethod> | |
1282 | <method name="LoadFile" type="bool" overloaded="no"> | |
1283 | <autodoc>LoadFile(String name, long type=BITMAP_TYPE_ANY, int index=-1) -> bool</autodoc> | |
1284 | <paramlist> | |
1285 | <param name="name" type="String" default=""/> | |
1286 | <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/> | |
1287 | <param name="index" type="int" default="-1"/> | |
1288 | </paramlist> | |
1289 | </method> | |
1290 | <method name="LoadMimeFile" type="bool" overloaded="no"> | |
1291 | <autodoc>LoadMimeFile(String name, String mimetype, int index=-1) -> bool</autodoc> | |
1292 | <paramlist> | |
1293 | <param name="name" type="String" default=""/> | |
1294 | <param name="mimetype" type="String" default=""/> | |
1295 | <param name="index" type="int" default="-1"/> | |
1296 | </paramlist> | |
1297 | </method> | |
1298 | <method name="SaveFile" type="bool" overloaded="no"> | |
1299 | <autodoc>SaveFile(String name, int type) -> bool</autodoc> | |
1300 | <paramlist> | |
1301 | <param name="name" type="String" default=""/> | |
1302 | <param name="type" type="int" default=""/> | |
1303 | </paramlist> | |
1304 | </method> | |
1305 | <method name="SaveMimeFile" type="bool" overloaded="no"> | |
1306 | <autodoc>SaveMimeFile(String name, String mimetype) -> bool</autodoc> | |
1307 | <paramlist> | |
1308 | <param name="name" type="String" default=""/> | |
1309 | <param name="mimetype" type="String" default=""/> | |
1310 | </paramlist> | |
1311 | </method> | |
1312 | <staticmethod name="CanReadStream" type="bool" overloaded="no"> | |
1313 | <autodoc>CanReadStream(InputStream stream) -> bool</autodoc> | |
1314 | <paramlist> | |
1315 | <param name="stream" type="wxInputStream" default=""/> | |
1316 | </paramlist> | |
1317 | </staticmethod> | |
1318 | <method name="LoadStream" type="bool" overloaded="no"> | |
1319 | <autodoc>LoadStream(InputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -> bool</autodoc> | |
1320 | <paramlist> | |
1321 | <param name="stream" type="wxInputStream" default=""/> | |
1322 | <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/> | |
1323 | <param name="index" type="int" default="-1"/> | |
1324 | </paramlist> | |
1325 | </method> | |
1326 | <method name="LoadMimeStream" type="bool" overloaded="no"> | |
1327 | <autodoc>LoadMimeStream(InputStream stream, String mimetype, int index=-1) -> bool</autodoc> | |
1328 | <paramlist> | |
1329 | <param name="stream" type="wxInputStream" default=""/> | |
1330 | <param name="mimetype" type="String" default=""/> | |
1331 | <param name="index" type="int" default="-1"/> | |
1332 | </paramlist> | |
1333 | </method> | |
1334 | <method name="Ok" type="bool" overloaded="no"> | |
1335 | <autodoc>Ok() -> bool</autodoc> | |
1336 | </method> | |
1337 | <method name="GetWidth" type="int" overloaded="no"> | |
1338 | <autodoc>GetWidth() -> int</autodoc> | |
1339 | </method> | |
1340 | <method name="GetHeight" type="int" overloaded="no"> | |
1341 | <autodoc>GetHeight() -> int</autodoc> | |
1342 | </method> | |
1343 | <method name="GetSubImage" type="Image" overloaded="no"> | |
1344 | <autodoc>GetSubImage(Rect rect) -> Image</autodoc> | |
1345 | <paramlist> | |
1346 | <param name="rect" type="Rect" default=""/> | |
1347 | </paramlist> | |
1348 | </method> | |
1349 | <method name="Copy" type="Image" overloaded="no"> | |
1350 | <autodoc>Copy() -> Image</autodoc> | |
1351 | </method> | |
1352 | <method name="Paste" type="" overloaded="no"> | |
1353 | <autodoc>Paste(Image image, int x, int y)</autodoc> | |
1354 | <paramlist> | |
1355 | <param name="image" type="Image" default=""/> | |
1356 | <param name="x" type="int" default=""/> | |
1357 | <param name="y" type="int" default=""/> | |
1358 | </paramlist> | |
1359 | </method> | |
1360 | <method name="GetData" type="PyObject" overloaded="no"> | |
1361 | <autodoc>GetData() -> PyObject</autodoc> | |
1362 | </method> | |
1363 | <method name="SetData" type="" overloaded="no"> | |
1364 | <autodoc>SetData(PyObject data)</autodoc> | |
1365 | <paramlist> | |
1366 | <param name="data" type="PyObject" default=""/> | |
1367 | </paramlist> | |
1368 | </method> | |
1369 | <method name="GetDataBuffer" type="PyObject" overloaded="no"> | |
1370 | <autodoc>GetDataBuffer() -> PyObject</autodoc> | |
1371 | </method> | |
1372 | <method name="SetDataBuffer" type="" overloaded="no"> | |
1373 | <autodoc>SetDataBuffer(PyObject data)</autodoc> | |
1374 | <paramlist> | |
1375 | <param name="data" type="PyObject" default=""/> | |
1376 | </paramlist> | |
1377 | </method> | |
1378 | <method name="GetAlphaData" type="PyObject" overloaded="no"> | |
1379 | <autodoc>GetAlphaData() -> PyObject</autodoc> | |
1380 | </method> | |
1381 | <method name="SetAlphaData" type="" overloaded="no"> | |
1382 | <autodoc>SetAlphaData(PyObject data)</autodoc> | |
1383 | <paramlist> | |
1384 | <param name="data" type="PyObject" default=""/> | |
1385 | </paramlist> | |
1386 | </method> | |
1387 | <method name="GetAlphaBuffer" type="PyObject" overloaded="no"> | |
1388 | <autodoc>GetAlphaBuffer() -> PyObject</autodoc> | |
1389 | </method> | |
1390 | <method name="SetAlphaBuffer" type="" overloaded="no"> | |
1391 | <autodoc>SetAlphaBuffer(PyObject data)</autodoc> | |
1392 | <paramlist> | |
1393 | <param name="data" type="PyObject" default=""/> | |
1394 | </paramlist> | |
1395 | </method> | |
1396 | <method name="SetMaskColour" type="" overloaded="no"> | |
1397 | <autodoc>SetMaskColour(unsigned char r, unsigned char g, unsigned char b)</autodoc> | |
1398 | <paramlist> | |
1399 | <param name="r" type="unsigned char" default=""/> | |
1400 | <param name="g" type="unsigned char" default=""/> | |
1401 | <param name="b" type="unsigned char" default=""/> | |
1402 | </paramlist> | |
1403 | </method> | |
1404 | <method name="GetMaskRed" type="unsigned char" overloaded="no"> | |
1405 | <autodoc>GetMaskRed() -> unsigned char</autodoc> | |
1406 | </method> | |
1407 | <method name="GetMaskGreen" type="unsigned char" overloaded="no"> | |
1408 | <autodoc>GetMaskGreen() -> unsigned char</autodoc> | |
1409 | </method> | |
1410 | <method name="GetMaskBlue" type="unsigned char" overloaded="no"> | |
1411 | <autodoc>GetMaskBlue() -> unsigned char</autodoc> | |
1412 | </method> | |
1413 | <method name="SetMask" type="" overloaded="no"> | |
1414 | <autodoc>SetMask(bool mask=True)</autodoc> | |
1415 | <paramlist> | |
1416 | <param name="mask" type="bool" default="True"/> | |
1417 | </paramlist> | |
1418 | </method> | |
1419 | <method name="HasMask" type="bool" overloaded="no"> | |
1420 | <autodoc>HasMask() -> bool</autodoc> | |
1421 | </method> | |
1422 | <method name="Rotate" type="Image" overloaded="no"> | |
1423 | <autodoc>Rotate(double angle, Point centre_of_rotation, bool interpolating=True, | |
856bf319 | 1424 | Point offset_after_rotation=None) -> Image</autodoc> |
f32fc4bc RD |
1425 | <paramlist> |
1426 | <param name="angle" type="double" default=""/> | |
1427 | <param name="centre_of_rotation" type="Point" default=""/> | |
1428 | <param name="interpolating" type="bool" default="True"/> | |
1429 | <param name="offset_after_rotation" type="Point" default="NULL"/> | |
1430 | </paramlist> | |
1431 | </method> | |
1432 | <method name="Rotate90" type="Image" overloaded="no"> | |
1433 | <autodoc>Rotate90(bool clockwise=True) -> Image</autodoc> | |
1434 | <paramlist> | |
1435 | <param name="clockwise" type="bool" default="True"/> | |
1436 | </paramlist> | |
1437 | </method> | |
1438 | <method name="Mirror" type="Image" overloaded="no"> | |
1439 | <autodoc>Mirror(bool horizontally=True) -> Image</autodoc> | |
1440 | <paramlist> | |
1441 | <param name="horizontally" type="bool" default="True"/> | |
1442 | </paramlist> | |
1443 | </method> | |
1444 | <method name="Replace" type="" overloaded="no"> | |
1445 | <autodoc>Replace(unsigned char r1, unsigned char g1, unsigned char b1, | |
856bf319 | 1446 | unsigned char r2, unsigned char g2, unsigned char b2)</autodoc> |
f32fc4bc RD |
1447 | <paramlist> |
1448 | <param name="r1" type="unsigned char" default=""/> | |
1449 | <param name="g1" type="unsigned char" default=""/> | |
1450 | <param name="b1" type="unsigned char" default=""/> | |
1451 | <param name="r2" type="unsigned char" default=""/> | |
1452 | <param name="g2" type="unsigned char" default=""/> | |
1453 | <param name="b2" type="unsigned char" default=""/> | |
1454 | </paramlist> | |
1455 | </method> | |
1456 | <method name="ConvertToMono" type="Image" overloaded="no"> | |
1457 | <autodoc>ConvertToMono(unsigned char r, unsigned char g, unsigned char b) -> Image</autodoc> | |
1458 | <paramlist> | |
1459 | <param name="r" type="unsigned char" default=""/> | |
1460 | <param name="g" type="unsigned char" default=""/> | |
1461 | <param name="b" type="unsigned char" default=""/> | |
1462 | </paramlist> | |
1463 | </method> | |
1464 | <method name="SetOption" type="" overloaded="no"> | |
1465 | <autodoc>SetOption(String name, String value)</autodoc> | |
1466 | <paramlist> | |
1467 | <param name="name" type="String" default=""/> | |
1468 | <param name="value" type="String" default=""/> | |
1469 | </paramlist> | |
1470 | </method> | |
1471 | <method name="SetOptionInt" type="" overloaded="no"> | |
1472 | <autodoc>SetOptionInt(String name, int value)</autodoc> | |
1473 | <paramlist> | |
1474 | <param name="name" type="String" default=""/> | |
1475 | <param name="value" type="int" default=""/> | |
1476 | </paramlist> | |
1477 | </method> | |
1478 | <method name="GetOption" type="String" overloaded="no"> | |
1479 | <autodoc>GetOption(String name) -> String</autodoc> | |
1480 | <paramlist> | |
1481 | <param name="name" type="String" default=""/> | |
1482 | </paramlist> | |
1483 | </method> | |
1484 | <method name="GetOptionInt" type="int" overloaded="no"> | |
1485 | <autodoc>GetOptionInt(String name) -> int</autodoc> | |
1486 | <paramlist> | |
1487 | <param name="name" type="String" default=""/> | |
1488 | </paramlist> | |
1489 | </method> | |
1490 | <method name="HasOption" type="bool" overloaded="no"> | |
1491 | <autodoc>HasOption(String name) -> bool</autodoc> | |
1492 | <paramlist> | |
1493 | <param name="name" type="String" default=""/> | |
1494 | </paramlist> | |
1495 | </method> | |
1496 | <method name="CountColours" type="unsigned long" overloaded="no"> | |
1497 | <autodoc>CountColours(unsigned long stopafter=(unsigned long) -1) -> unsigned long</autodoc> | |
1498 | <paramlist> | |
1499 | <param name="stopafter" type="unsigned long" default="(unsigned long) -1"/> | |
1500 | </paramlist> | |
1501 | </method> | |
1502 | <method name="ComputeHistogram" type="unsigned long" overloaded="no"> | |
1503 | <autodoc>ComputeHistogram(ImageHistogram h) -> unsigned long</autodoc> | |
1504 | <paramlist> | |
1505 | <param name="h" type="ImageHistogram" default=""/> | |
1506 | </paramlist> | |
1507 | </method> | |
1508 | <staticmethod name="AddHandler" type="" overloaded="no"> | |
1509 | <autodoc>AddHandler(ImageHandler handler)</autodoc> | |
1510 | <paramlist> | |
1511 | <param name="handler" type="ImageHandler" default=""/> | |
1512 | </paramlist> | |
1513 | </staticmethod> | |
1514 | <staticmethod name="InsertHandler" type="" overloaded="no"> | |
1515 | <autodoc>InsertHandler(ImageHandler handler)</autodoc> | |
1516 | <paramlist> | |
1517 | <param name="handler" type="ImageHandler" default=""/> | |
1518 | </paramlist> | |
1519 | </staticmethod> | |
1520 | <staticmethod name="RemoveHandler" type="bool" overloaded="no"> | |
1521 | <autodoc>RemoveHandler(String name) -> bool</autodoc> | |
1522 | <paramlist> | |
1523 | <param name="name" type="String" default=""/> | |
1524 | </paramlist> | |
1525 | </staticmethod> | |
1526 | <staticmethod name="GetImageExtWildcard" type="String" overloaded="no"> | |
1527 | <autodoc>GetImageExtWildcard() -> String</autodoc> | |
1528 | </staticmethod> | |
1529 | <method name="ConvertToBitmap" type="wxBitmap" overloaded="no"> | |
1530 | <autodoc>ConvertToBitmap() -> Bitmap</autodoc> | |
1531 | </method> | |
1532 | <method name="ConvertToMonoBitmap" type="wxBitmap" overloaded="no"> | |
1533 | <autodoc>ConvertToMonoBitmap(unsigned char red, unsigned char green, unsigned char blue) -> Bitmap</autodoc> | |
1534 | <paramlist> | |
1535 | <param name="red" type="unsigned char" default=""/> | |
1536 | <param name="green" type="unsigned char" default=""/> | |
1537 | <param name="blue" type="unsigned char" default=""/> | |
1538 | </paramlist> | |
1539 | </method> | |
1540 | </class> | |
1541 | <method name="InitAllImageHandlers" oldname="wxInitAllImageHandlers" type="" overloaded="no"> | |
1542 | <autodoc>InitAllImageHandlers()</autodoc> | |
1543 | </method> | |
1544 | <class name="BMPHandler" oldname="wxBMPHandler" module="core"> | |
1545 | <baseclass name="ImageHandler"/> | |
1546 | <constructor name="BMPHandler" overloaded="no"> | |
1547 | <autodoc>__init__() -> BMPHandler</autodoc> | |
1548 | </constructor> | |
1549 | </class> | |
1550 | <class name="ICOHandler" oldname="wxICOHandler" module="core"> | |
1551 | <baseclass name="BMPHandler"/> | |
1552 | <constructor name="ICOHandler" overloaded="no"> | |
1553 | <autodoc>__init__() -> ICOHandler</autodoc> | |
1554 | </constructor> | |
1555 | </class> | |
1556 | <class name="CURHandler" oldname="wxCURHandler" module="core"> | |
1557 | <baseclass name="ICOHandler"/> | |
1558 | <constructor name="CURHandler" overloaded="no"> | |
1559 | <autodoc>__init__() -> CURHandler</autodoc> | |
1560 | </constructor> | |
1561 | </class> | |
1562 | <class name="ANIHandler" oldname="wxANIHandler" module="core"> | |
1563 | <baseclass name="CURHandler"/> | |
1564 | <constructor name="ANIHandler" overloaded="no"> | |
1565 | <autodoc>__init__() -> ANIHandler</autodoc> | |
1566 | </constructor> | |
1567 | </class> | |
1568 | <class name="PNGHandler" oldname="wxPNGHandler" module="core"> | |
1569 | <baseclass name="ImageHandler"/> | |
1570 | <constructor name="PNGHandler" overloaded="no"> | |
1571 | <autodoc>__init__() -> PNGHandler</autodoc> | |
1572 | </constructor> | |
1573 | </class> | |
1574 | <class name="GIFHandler" oldname="wxGIFHandler" module="core"> | |
1575 | <baseclass name="ImageHandler"/> | |
1576 | <constructor name="GIFHandler" overloaded="no"> | |
1577 | <autodoc>__init__() -> GIFHandler</autodoc> | |
1578 | </constructor> | |
1579 | </class> | |
1580 | <class name="PCXHandler" oldname="wxPCXHandler" module="core"> | |
1581 | <baseclass name="ImageHandler"/> | |
1582 | <constructor name="PCXHandler" overloaded="no"> | |
1583 | <autodoc>__init__() -> PCXHandler</autodoc> | |
1584 | </constructor> | |
1585 | </class> | |
1586 | <class name="JPEGHandler" oldname="wxJPEGHandler" module="core"> | |
1587 | <baseclass name="ImageHandler"/> | |
1588 | <constructor name="JPEGHandler" overloaded="no"> | |
1589 | <autodoc>__init__() -> JPEGHandler</autodoc> | |
1590 | </constructor> | |
1591 | </class> | |
1592 | <class name="PNMHandler" oldname="wxPNMHandler" module="core"> | |
1593 | <baseclass name="ImageHandler"/> | |
1594 | <constructor name="PNMHandler" overloaded="no"> | |
1595 | <autodoc>__init__() -> PNMHandler</autodoc> | |
1596 | </constructor> | |
1597 | </class> | |
1598 | <class name="XPMHandler" oldname="wxXPMHandler" module="core"> | |
1599 | <baseclass name="ImageHandler"/> | |
1600 | <constructor name="XPMHandler" overloaded="no"> | |
1601 | <autodoc>__init__() -> XPMHandler</autodoc> | |
1602 | </constructor> | |
1603 | </class> | |
1604 | <class name="TIFFHandler" oldname="wxTIFFHandler" module="core"> | |
1605 | <baseclass name="ImageHandler"/> | |
1606 | <constructor name="TIFFHandler" overloaded="no"> | |
1607 | <autodoc>__init__() -> TIFFHandler</autodoc> | |
1608 | </constructor> | |
1609 | </class> | |
1610 | <pythoncode> | |
856bf319 RD |
1611 | #--------------------------------------------------------------------------- |
1612 | </pythoncode> | |
f32fc4bc RD |
1613 | <class name="EvtHandler" oldname="wxEvtHandler" module="core"> |
1614 | <baseclass name="Object"/> | |
1615 | <constructor name="EvtHandler" overloaded="no"> | |
1616 | <autodoc>__init__() -> EvtHandler</autodoc> | |
1617 | </constructor> | |
1618 | <method name="GetNextHandler" type="EvtHandler" overloaded="no"> | |
1619 | <autodoc>GetNextHandler() -> EvtHandler</autodoc> | |
1620 | </method> | |
1621 | <method name="GetPreviousHandler" type="EvtHandler" overloaded="no"> | |
1622 | <autodoc>GetPreviousHandler() -> EvtHandler</autodoc> | |
1623 | </method> | |
1624 | <method name="SetNextHandler" type="" overloaded="no"> | |
1625 | <autodoc>SetNextHandler(EvtHandler handler)</autodoc> | |
1626 | <paramlist> | |
1627 | <param name="handler" type="EvtHandler" default=""/> | |
1628 | </paramlist> | |
1629 | </method> | |
1630 | <method name="SetPreviousHandler" type="" overloaded="no"> | |
1631 | <autodoc>SetPreviousHandler(EvtHandler handler)</autodoc> | |
1632 | <paramlist> | |
1633 | <param name="handler" type="EvtHandler" default=""/> | |
1634 | </paramlist> | |
1635 | </method> | |
1636 | <method name="GetEvtHandlerEnabled" type="bool" overloaded="no"> | |
1637 | <autodoc>GetEvtHandlerEnabled() -> bool</autodoc> | |
1638 | </method> | |
1639 | <method name="SetEvtHandlerEnabled" type="" overloaded="no"> | |
1640 | <autodoc>SetEvtHandlerEnabled(bool enabled)</autodoc> | |
1641 | <paramlist> | |
1642 | <param name="enabled" type="bool" default=""/> | |
1643 | </paramlist> | |
1644 | </method> | |
1645 | <method name="ProcessEvent" type="bool" overloaded="no"> | |
1646 | <autodoc>ProcessEvent(Event event) -> bool</autodoc> | |
1647 | <paramlist> | |
1648 | <param name="event" type="wxEvent" default=""/> | |
1649 | </paramlist> | |
1650 | </method> | |
1651 | <method name="AddPendingEvent" type="" overloaded="no"> | |
1652 | <autodoc>AddPendingEvent(Event event)</autodoc> | |
1653 | <paramlist> | |
1654 | <param name="event" type="wxEvent" default=""/> | |
1655 | </paramlist> | |
1656 | </method> | |
1657 | <method name="ProcessPendingEvents" type="" overloaded="no"> | |
1658 | <autodoc>ProcessPendingEvents()</autodoc> | |
1659 | </method> | |
1660 | <method name="Connect" type="" overloaded="no"> | |
1661 | <autodoc>Connect(int id, int lastId, int eventType, PyObject func)</autodoc> | |
1662 | <paramlist> | |
1663 | <param name="id" type="int" default=""/> | |
1664 | <param name="lastId" type="int" default=""/> | |
1665 | <param name="eventType" type="int" default=""/> | |
1666 | <param name="func" type="PyObject" default=""/> | |
1667 | </paramlist> | |
1668 | </method> | |
1669 | <method name="Disconnect" type="bool" overloaded="no"> | |
1670 | <autodoc>Disconnect(int id, int lastId=-1, wxEventType eventType=wxEVT_NULL) -> bool</autodoc> | |
1671 | <paramlist> | |
1672 | <param name="id" type="int" default=""/> | |
1673 | <param name="lastId" type="int" default="-1"/> | |
1674 | <param name="eventType" type="wxEventType" default="wxEVT_NULL"/> | |
1675 | </paramlist> | |
1676 | </method> | |
1677 | <method name="_setOORInfo" type="" overloaded="no"> | |
1678 | <autodoc>_setOORInfo(PyObject _self)</autodoc> | |
1679 | <paramlist> | |
1680 | <param name="_self" type="PyObject" default=""/> | |
1681 | </paramlist> | |
1682 | </method> | |
1683 | </class> | |
856bf319 | 1684 | <pythoncode> |
856bf319 RD |
1685 | |
1686 | #--------------------------------------------------------------------------- | |
1687 | ||
1688 | class PyEventBinder(object): | |
1689 | """ | |
1690 | Instances of this class are used to bind specific events to event | |
1691 | handlers. | |
1692 | """ | |
1693 | def __init__(self, evtType, expectedIDs=0): | |
1694 | if expectedIDs not in [0, 1, 2]: | |
1695 | raise ValueError, "Invalid number of expectedIDs" | |
1696 | self.expectedIDs = expectedIDs | |
1697 | ||
1698 | if type(evtType) == list or type(evtType) == tuple: | |
1699 | self.evtType = evtType | |
1700 | else: | |
1701 | self.evtType = [evtType] | |
1702 | ||
1703 | ||
1704 | def Bind(self, target, id1, id2, function): | |
1705 | """Bind this set of event types to target.""" | |
1706 | for et in self.evtType: | |
1707 | target.Connect(id1, id2, et, function) | |
1708 | ||
1709 | ||
1710 | def __call__(self, *args): | |
1711 | """ | |
1712 | For backwards compatibility with the old EVT_* functions. | |
1713 | Should be called with either (window, func), (window, ID, | |
1714 | func) or (window, ID1, ID2, func) parameters depending on the | |
1715 | type of the event. | |
1716 | """ | |
1717 | assert len(args) == 2 + self.expectedIDs | |
1718 | id1 = wx.ID_ANY | |
1719 | id2 = wx.ID_ANY | |
1720 | target = args[0] | |
1721 | if self.expectedIDs == 0: | |
1722 | func = args[1] | |
1723 | elif self.expectedIDs == 1: | |
1724 | id1 = args[1] | |
1725 | func = args[2] | |
1726 | elif self.expectedIDs == 2: | |
1727 | id1 = args[1] | |
1728 | id2 = args[2] | |
1729 | func = args[3] | |
1730 | else: | |
1731 | raise ValueError, "Unexpected number of IDs" | |
1732 | ||
1733 | self.Bind(target, id1, id2, func) | |
1734 | ||
1735 | ||
1736 | # These two are square pegs that don't fit the PyEventBinder hole... | |
1737 | def EVT_COMMAND(win, id, cmd, func): | |
1738 | win.Connect(id, -1, cmd, func) | |
1739 | def EVT_COMMAND_RANGE(win, id1, id2, cmd, func): | |
1740 | win.Connect(id1, id2, cmd, func) | |
1741 | ||
1742 | ||
1743 | #--------------------------------------------------------------------------- | |
1744 | </pythoncode> | |
f32fc4bc | 1745 | <pythoncode> |
856bf319 RD |
1746 | #--------------------------------------------------------------------------- |
1747 | </pythoncode> | |
f32fc4bc RD |
1748 | <method name="NewEventType" oldname="wxNewEventType" type="wxEventType" overloaded="no"> |
1749 | <autodoc>NewEventType() -> wxEventType</autodoc> | |
1750 | </method> | |
1751 | <pythoncode> | |
856bf319 RD |
1752 | # |
1753 | # Create some event binders | |
1754 | EVT_SIZE = wx.PyEventBinder( wxEVT_SIZE ) | |
1755 | EVT_SIZING = wx.PyEventBinder( wxEVT_SIZING ) | |
1756 | EVT_MOVE = wx.PyEventBinder( wxEVT_MOVE ) | |
1757 | EVT_MOVING = wx.PyEventBinder( wxEVT_MOVING ) | |
1758 | EVT_CLOSE = wx.PyEventBinder( wxEVT_CLOSE_WINDOW ) | |
1759 | EVT_END_SESSION = wx.PyEventBinder( wxEVT_END_SESSION ) | |
1760 | EVT_QUERY_END_SESSION = wx.PyEventBinder( wxEVT_QUERY_END_SESSION ) | |
1761 | EVT_PAINT = wx.PyEventBinder( wxEVT_PAINT ) | |
1762 | EVT_NC_PAINT = wx.PyEventBinder( wxEVT_NC_PAINT ) | |
1763 | EVT_ERASE_BACKGROUND = wx.PyEventBinder( wxEVT_ERASE_BACKGROUND ) | |
1764 | EVT_CHAR = wx.PyEventBinder( wxEVT_CHAR ) | |
1765 | EVT_KEY_DOWN = wx.PyEventBinder( wxEVT_KEY_DOWN ) | |
1766 | EVT_KEY_UP = wx.PyEventBinder( wxEVT_KEY_UP ) | |
1767 | EVT_HOTKEY = wx.PyEventBinder( wxEVT_HOTKEY, 1) | |
1768 | EVT_CHAR_HOOK = wx.PyEventBinder( wxEVT_CHAR_HOOK ) | |
1769 | EVT_MENU_OPEN = wx.PyEventBinder( wxEVT_MENU_OPEN ) | |
1770 | EVT_MENU_CLOSE = wx.PyEventBinder( wxEVT_MENU_CLOSE ) | |
1771 | EVT_MENU_HIGHLIGHT = wx.PyEventBinder( wxEVT_MENU_HIGHLIGHT, 1) | |
1772 | EVT_MENU_HIGHLIGHT_ALL = wx.PyEventBinder( wxEVT_MENU_HIGHLIGHT ) | |
1773 | EVT_SET_FOCUS = wx.PyEventBinder( wxEVT_SET_FOCUS ) | |
1774 | EVT_KILL_FOCUS = wx.PyEventBinder( wxEVT_KILL_FOCUS ) | |
1775 | EVT_CHILD_FOCUS = wx.PyEventBinder( wxEVT_CHILD_FOCUS ) | |
1776 | EVT_ACTIVATE = wx.PyEventBinder( wxEVT_ACTIVATE ) | |
1777 | EVT_ACTIVATE_APP = wx.PyEventBinder( wxEVT_ACTIVATE_APP ) | |
1778 | EVT_END_SESSION = wx.PyEventBinder( wxEVT_END_SESSION ) | |
1779 | EVT_QUERY_END_SESSION = wx.PyEventBinder( wxEVT_QUERY_END_SESSION ) | |
1780 | EVT_DROP_FILES = wx.PyEventBinder( wxEVT_DROP_FILES ) | |
1781 | EVT_INIT_DIALOG = wx.PyEventBinder( wxEVT_INIT_DIALOG ) | |
1782 | EVT_SYS_COLOUR_CHANGED = wx.PyEventBinder( wxEVT_SYS_COLOUR_CHANGED ) | |
1783 | EVT_DISPLAY_CHANGED = wx.PyEventBinder( wxEVT_DISPLAY_CHANGED ) | |
1784 | EVT_SHOW = wx.PyEventBinder( wxEVT_SHOW ) | |
1785 | EVT_MAXIMIZE = wx.PyEventBinder( wxEVT_MAXIMIZE ) | |
1786 | EVT_ICONIZE = wx.PyEventBinder( wxEVT_ICONIZE ) | |
1787 | EVT_NAVIGATION_KEY = wx.PyEventBinder( wxEVT_NAVIGATION_KEY ) | |
1788 | EVT_PALETTE_CHANGED = wx.PyEventBinder( wxEVT_PALETTE_CHANGED ) | |
1789 | EVT_QUERY_NEW_PALETTE = wx.PyEventBinder( wxEVT_QUERY_NEW_PALETTE ) | |
1790 | EVT_WINDOW_CREATE = wx.PyEventBinder( wxEVT_CREATE ) | |
1791 | EVT_WINDOW_DESTROY = wx.PyEventBinder( wxEVT_DESTROY ) | |
1792 | EVT_SET_CURSOR = wx.PyEventBinder( wxEVT_SET_CURSOR ) | |
1793 | EVT_MOUSE_CAPTURE_CHANGED = wx.PyEventBinder( wxEVT_MOUSE_CAPTURE_CHANGED ) | |
1794 | ||
1795 | EVT_LEFT_DOWN = wx.PyEventBinder( wxEVT_LEFT_DOWN ) | |
1796 | EVT_LEFT_UP = wx.PyEventBinder( wxEVT_LEFT_UP ) | |
1797 | EVT_MIDDLE_DOWN = wx.PyEventBinder( wxEVT_MIDDLE_DOWN ) | |
1798 | EVT_MIDDLE_UP = wx.PyEventBinder( wxEVT_MIDDLE_UP ) | |
1799 | EVT_RIGHT_DOWN = wx.PyEventBinder( wxEVT_RIGHT_DOWN ) | |
1800 | EVT_RIGHT_UP = wx.PyEventBinder( wxEVT_RIGHT_UP ) | |
1801 | EVT_MOTION = wx.PyEventBinder( wxEVT_MOTION ) | |
1802 | EVT_LEFT_DCLICK = wx.PyEventBinder( wxEVT_LEFT_DCLICK ) | |
1803 | EVT_MIDDLE_DCLICK = wx.PyEventBinder( wxEVT_MIDDLE_DCLICK ) | |
1804 | EVT_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_RIGHT_DCLICK ) | |
1805 | EVT_LEAVE_WINDOW = wx.PyEventBinder( wxEVT_LEAVE_WINDOW ) | |
1806 | EVT_ENTER_WINDOW = wx.PyEventBinder( wxEVT_ENTER_WINDOW ) | |
1807 | EVT_MOUSEWHEEL = wx.PyEventBinder( wxEVT_MOUSEWHEEL ) | |
1808 | ||
1809 | EVT_MOUSE_EVENTS = wx.PyEventBinder([ wxEVT_LEFT_DOWN, | |
1810 | wxEVT_LEFT_UP, | |
1811 | wxEVT_MIDDLE_DOWN, | |
1812 | wxEVT_MIDDLE_UP, | |
1813 | wxEVT_RIGHT_DOWN, | |
1814 | wxEVT_RIGHT_UP, | |
1815 | wxEVT_MOTION, | |
1816 | wxEVT_LEFT_DCLICK, | |
1817 | wxEVT_MIDDLE_DCLICK, | |
1818 | wxEVT_RIGHT_DCLICK, | |
1819 | wxEVT_ENTER_WINDOW, | |
1820 | wxEVT_LEAVE_WINDOW, | |
1821 | wxEVT_MOUSEWHEEL | |
1822 | ]) | |
1823 | ||
1824 | ||
1825 | # Scrolling from wxWindow (sent to wxScrolledWindow) | |
1826 | EVT_SCROLLWIN = wx.PyEventBinder([ wxEVT_SCROLLWIN_TOP, | |
1827 | wxEVT_SCROLLWIN_BOTTOM, | |
1828 | wxEVT_SCROLLWIN_LINEUP, | |
1829 | wxEVT_SCROLLWIN_LINEDOWN, | |
1830 | wxEVT_SCROLLWIN_PAGEUP, | |
1831 | wxEVT_SCROLLWIN_PAGEDOWN, | |
1832 | wxEVT_SCROLLWIN_THUMBTRACK, | |
1833 | wxEVT_SCROLLWIN_THUMBRELEASE, | |
1834 | ]) | |
1835 | ||
1836 | EVT_SCROLLWIN_TOP = wx.PyEventBinder( wxEVT_SCROLLWIN_TOP ) | |
1837 | EVT_SCROLLWIN_BOTTOM = wx.PyEventBinder( wxEVT_SCROLLWIN_BOTTOM ) | |
1838 | EVT_SCROLLWIN_LINEUP = wx.PyEventBinder( wxEVT_SCROLLWIN_LINEUP ) | |
1839 | EVT_SCROLLWIN_LINEDOWN = wx.PyEventBinder( wxEVT_SCROLLWIN_LINEDOWN ) | |
1840 | EVT_SCROLLWIN_PAGEUP = wx.PyEventBinder( wxEVT_SCROLLWIN_PAGEUP ) | |
1841 | EVT_SCROLLWIN_PAGEDOWN = wx.PyEventBinder( wxEVT_SCROLLWIN_PAGEDOWN ) | |
1842 | EVT_SCROLLWIN_THUMBTRACK = wx.PyEventBinder( wxEVT_SCROLLWIN_THUMBTRACK ) | |
1843 | EVT_SCROLLWIN_THUMBRELEASE = wx.PyEventBinder( wxEVT_SCROLLWIN_THUMBRELEASE ) | |
1844 | ||
1845 | # Scrolling from wxSlider and wxScrollBar | |
1846 | EVT_SCROLL = wx.PyEventBinder([ wxEVT_SCROLL_TOP, | |
1847 | wxEVT_SCROLL_BOTTOM, | |
1848 | wxEVT_SCROLL_LINEUP, | |
1849 | wxEVT_SCROLL_LINEDOWN, | |
1850 | wxEVT_SCROLL_PAGEUP, | |
1851 | wxEVT_SCROLL_PAGEDOWN, | |
1852 | wxEVT_SCROLL_THUMBTRACK, | |
1853 | wxEVT_SCROLL_THUMBRELEASE, | |
1854 | wxEVT_SCROLL_ENDSCROLL, | |
1855 | ]) | |
1856 | ||
1857 | EVT_SCROLL_TOP = wx.PyEventBinder( wxEVT_SCROLL_TOP ) | |
1858 | EVT_SCROLL_BOTTOM = wx.PyEventBinder( wxEVT_SCROLL_BOTTOM ) | |
1859 | EVT_SCROLL_LINEUP = wx.PyEventBinder( wxEVT_SCROLL_LINEUP ) | |
1860 | EVT_SCROLL_LINEDOWN = wx.PyEventBinder( wxEVT_SCROLL_LINEDOWN ) | |
1861 | EVT_SCROLL_PAGEUP = wx.PyEventBinder( wxEVT_SCROLL_PAGEUP ) | |
1862 | EVT_SCROLL_PAGEDOWN = wx.PyEventBinder( wxEVT_SCROLL_PAGEDOWN ) | |
1863 | EVT_SCROLL_THUMBTRACK = wx.PyEventBinder( wxEVT_SCROLL_THUMBTRACK ) | |
1864 | EVT_SCROLL_THUMBRELEASE = wx.PyEventBinder( wxEVT_SCROLL_THUMBRELEASE ) | |
0f43fbdf RD |
1865 | EVT_SCROLL_ENDSCROLL = wx.PyEventBinder( wxEVT_SCROLL_ENDSCROLL ) |
1866 | ||
1867 | # Scrolling from wxSlider and wxScrollBar, with an id | |
1868 | EVT_COMMAND_SCROLL = wx.PyEventBinder([ wxEVT_SCROLL_TOP, | |
1869 | wxEVT_SCROLL_BOTTOM, | |
1870 | wxEVT_SCROLL_LINEUP, | |
1871 | wxEVT_SCROLL_LINEDOWN, | |
1872 | wxEVT_SCROLL_PAGEUP, | |
1873 | wxEVT_SCROLL_PAGEDOWN, | |
1874 | wxEVT_SCROLL_THUMBTRACK, | |
1875 | wxEVT_SCROLL_THUMBRELEASE, | |
1876 | wxEVT_SCROLL_ENDSCROLL, | |
1877 | ], 1) | |
1878 | ||
1879 | EVT_COMMAND_SCROLL_TOP = wx.PyEventBinder( wxEVT_SCROLL_TOP, 1) | |
1880 | EVT_COMMAND_SCROLL_BOTTOM = wx.PyEventBinder( wxEVT_SCROLL_BOTTOM, 1) | |
1881 | EVT_COMMAND_SCROLL_LINEUP = wx.PyEventBinder( wxEVT_SCROLL_LINEUP, 1) | |
1882 | EVT_COMMAND_SCROLL_LINEDOWN = wx.PyEventBinder( wxEVT_SCROLL_LINEDOWN, 1) | |
1883 | EVT_COMMAND_SCROLL_PAGEUP = wx.PyEventBinder( wxEVT_SCROLL_PAGEUP, 1) | |
1884 | EVT_COMMAND_SCROLL_PAGEDOWN = wx.PyEventBinder( wxEVT_SCROLL_PAGEDOWN, 1) | |
1885 | EVT_COMMAND_SCROLL_THUMBTRACK = wx.PyEventBinder( wxEVT_SCROLL_THUMBTRACK, 1) | |
1886 | EVT_COMMAND_SCROLL_THUMBRELEASE = wx.PyEventBinder( wxEVT_SCROLL_THUMBRELEASE, 1) | |
1887 | EVT_COMMAND_SCROLL_ENDSCROLL = wx.PyEventBinder( wxEVT_SCROLL_ENDSCROLL, 1) | |
1888 | ||
0f43fbdf RD |
1889 | EVT_BUTTON = wx.PyEventBinder( wxEVT_COMMAND_BUTTON_CLICKED, 1) |
1890 | EVT_CHECKBOX = wx.PyEventBinder( wxEVT_COMMAND_CHECKBOX_CLICKED, 1) | |
1891 | EVT_CHOICE = wx.PyEventBinder( wxEVT_COMMAND_CHOICE_SELECTED, 1) | |
1892 | EVT_LISTBOX = wx.PyEventBinder( wxEVT_COMMAND_LISTBOX_SELECTED, 1) | |
1893 | EVT_LISTBOX_DCLICK = wx.PyEventBinder( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, 1) | |
1894 | EVT_MENU = wx.PyEventBinder( wxEVT_COMMAND_MENU_SELECTED, 1) | |
1895 | EVT_MENU_RANGE = wx.PyEventBinder( wxEVT_COMMAND_MENU_SELECTED, 2) | |
1896 | EVT_SLIDER = wx.PyEventBinder( wxEVT_COMMAND_SLIDER_UPDATED, 1) | |
1897 | EVT_RADIOBOX = wx.PyEventBinder( wxEVT_COMMAND_RADIOBOX_SELECTED, 1) | |
1898 | EVT_RADIOBUTTON = wx.PyEventBinder( wxEVT_COMMAND_RADIOBUTTON_SELECTED, 1) | |
1899 | ||
1900 | EVT_SCROLLBAR = wx.PyEventBinder( wxEVT_COMMAND_SCROLLBAR_UPDATED, 1) | |
1901 | EVT_VLBOX = wx.PyEventBinder( wxEVT_COMMAND_VLBOX_SELECTED, 1) | |
1902 | EVT_COMBOBOX = wx.PyEventBinder( wxEVT_COMMAND_COMBOBOX_SELECTED, 1) | |
1903 | EVT_TOOL = wx.PyEventBinder( wxEVT_COMMAND_TOOL_CLICKED, 1) | |
1904 | EVT_TOOL_RANGE = wx.PyEventBinder( wxEVT_COMMAND_TOOL_CLICKED, 2) | |
1905 | EVT_TOOL_RCLICKED = wx.PyEventBinder( wxEVT_COMMAND_TOOL_RCLICKED, 1) | |
1906 | EVT_TOOL_RCLICKED_RANGE = wx.PyEventBinder( wxEVT_COMMAND_TOOL_RCLICKED, 2) | |
1907 | EVT_TOOL_ENTER = wx.PyEventBinder( wxEVT_COMMAND_TOOL_ENTER, 1) | |
1908 | EVT_CHECKLISTBOX = wx.PyEventBinder( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, 1) | |
1909 | ||
1910 | ||
1911 | EVT_COMMAND_LEFT_CLICK = wx.PyEventBinder( wxEVT_COMMAND_LEFT_CLICK, 1) | |
1912 | EVT_COMMAND_LEFT_DCLICK = wx.PyEventBinder( wxEVT_COMMAND_LEFT_DCLICK, 1) | |
1913 | EVT_COMMAND_RIGHT_CLICK = wx.PyEventBinder( wxEVT_COMMAND_RIGHT_CLICK, 1) | |
1914 | EVT_COMMAND_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_COMMAND_RIGHT_DCLICK, 1) | |
1915 | EVT_COMMAND_SET_FOCUS = wx.PyEventBinder( wxEVT_COMMAND_SET_FOCUS, 1) | |
1916 | EVT_COMMAND_KILL_FOCUS = wx.PyEventBinder( wxEVT_COMMAND_KILL_FOCUS, 1) | |
1917 | EVT_COMMAND_ENTER = wx.PyEventBinder( wxEVT_COMMAND_ENTER, 1) | |
1918 | ||
1919 | EVT_IDLE = wx.PyEventBinder( wxEVT_IDLE ) | |
1920 | ||
1921 | EVT_UPDATE_UI = wx.PyEventBinder( wxEVT_UPDATE_UI, 1) | |
1922 | EVT_UPDATE_UI_RANGE = wx.PyEventBinder( wxEVT_UPDATE_UI, 2) | |
1923 | ||
1924 | EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) | |
1925 | ||
1926 | ||
1927 | </pythoncode> | |
f32fc4bc | 1928 | <pythoncode> |
0f43fbdf RD |
1929 | #--------------------------------------------------------------------------- |
1930 | </pythoncode> | |
f32fc4bc RD |
1931 | <class name="Event" oldname="wxEvent" module="core"> |
1932 | <baseclass name="Object"/> | |
1933 | <destructor name="~wxEvent" overloaded="no"> | |
1934 | <autodoc>__del__()</autodoc> | |
1935 | </destructor> | |
1936 | <method name="SetEventType" type="" overloaded="no"> | |
1937 | <autodoc>SetEventType(wxEventType typ)</autodoc> | |
1938 | <paramlist> | |
1939 | <param name="typ" type="wxEventType" default=""/> | |
1940 | </paramlist> | |
1941 | </method> | |
1942 | <method name="GetEventType" type="wxEventType" overloaded="no"> | |
1943 | <autodoc>GetEventType() -> wxEventType</autodoc> | |
1944 | </method> | |
1945 | <method name="GetEventObject" type="Object" overloaded="no"> | |
1946 | <autodoc>GetEventObject() -> Object</autodoc> | |
1947 | </method> | |
1948 | <method name="SetEventObject" type="" overloaded="no"> | |
1949 | <autodoc>SetEventObject(Object obj)</autodoc> | |
1950 | <paramlist> | |
1951 | <param name="obj" type="Object" default=""/> | |
1952 | </paramlist> | |
1953 | </method> | |
1954 | <method name="GetTimestamp" type="long" overloaded="no"> | |
1955 | <autodoc>GetTimestamp() -> long</autodoc> | |
1956 | </method> | |
1957 | <method name="SetTimestamp" type="" overloaded="no"> | |
1958 | <autodoc>SetTimestamp(long ts=0)</autodoc> | |
1959 | <paramlist> | |
1960 | <param name="ts" type="long" default="0"/> | |
1961 | </paramlist> | |
1962 | </method> | |
1963 | <method name="GetId" type="int" overloaded="no"> | |
1964 | <autodoc>GetId() -> int</autodoc> | |
1965 | </method> | |
1966 | <method name="SetId" type="" overloaded="no"> | |
1967 | <autodoc>SetId(int Id)</autodoc> | |
1968 | <paramlist> | |
1969 | <param name="Id" type="int" default=""/> | |
1970 | </paramlist> | |
1971 | </method> | |
1972 | <method name="IsCommandEvent" type="bool" overloaded="no"> | |
1973 | <autodoc>IsCommandEvent() -> bool</autodoc> | |
1974 | </method> | |
1975 | <method name="Skip" type="" overloaded="no"> | |
1976 | <autodoc>Skip(bool skip=True)</autodoc> | |
1977 | <paramlist> | |
1978 | <param name="skip" type="bool" default="True"/> | |
1979 | </paramlist> | |
1980 | </method> | |
1981 | <method name="GetSkipped" type="bool" overloaded="no"> | |
1982 | <autodoc>GetSkipped() -> bool</autodoc> | |
1983 | </method> | |
1984 | <method name="ShouldPropagate" type="bool" overloaded="no"> | |
1985 | <autodoc>ShouldPropagate() -> bool</autodoc> | |
1986 | </method> | |
1987 | <method name="StopPropagation" type="int" overloaded="no"> | |
1988 | <autodoc>StopPropagation() -> int</autodoc> | |
1989 | </method> | |
1990 | <method name="ResumePropagation" type="" overloaded="no"> | |
1991 | <autodoc>ResumePropagation(int propagationLevel)</autodoc> | |
1992 | <paramlist> | |
1993 | <param name="propagationLevel" type="int" default=""/> | |
1994 | </paramlist> | |
1995 | </method> | |
1996 | <method name="Clone" type="Event" overloaded="no"> | |
1997 | <autodoc>Clone() -> Event</autodoc> | |
1998 | </method> | |
1999 | </class> | |
2000 | <pythoncode> | |
0f43fbdf RD |
2001 | #--------------------------------------------------------------------------- |
2002 | </pythoncode> | |
f32fc4bc RD |
2003 | <class name="PropagationDisabler" oldname="wxPropagationDisabler" module="core"> |
2004 | <constructor name="PropagationDisabler" overloaded="no"> | |
2005 | <autodoc>__init__(Event event) -> PropagationDisabler</autodoc> | |
2006 | <paramlist> | |
2007 | <param name="event" type="Event" default=""/> | |
2008 | </paramlist> | |
2009 | </constructor> | |
2010 | <destructor name="~wxPropagationDisabler" overloaded="no"> | |
2011 | <autodoc>__del__()</autodoc> | |
2012 | </destructor> | |
2013 | </class> | |
2014 | <class name="PropagateOnce" oldname="wxPropagateOnce" module="core"> | |
2015 | <constructor name="PropagateOnce" overloaded="no"> | |
2016 | <autodoc>__init__(Event event) -> PropagateOnce</autodoc> | |
2017 | <paramlist> | |
2018 | <param name="event" type="Event" default=""/> | |
2019 | </paramlist> | |
2020 | </constructor> | |
2021 | <destructor name="~wxPropagateOnce" overloaded="no"> | |
2022 | <autodoc>__del__()</autodoc> | |
2023 | </destructor> | |
2024 | </class> | |
2025 | <pythoncode> | |
0f43fbdf RD |
2026 | #--------------------------------------------------------------------------- |
2027 | </pythoncode> | |
f32fc4bc RD |
2028 | <class name="CommandEvent" oldname="wxCommandEvent" module="core"> |
2029 | <baseclass name="Event"/> | |
2030 | <constructor name="CommandEvent" overloaded="no"> | |
2031 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int winid=0) -> CommandEvent</autodoc> | |
2032 | <paramlist> | |
2033 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
2034 | <param name="winid" type="int" default="0"/> | |
2035 | </paramlist> | |
2036 | </constructor> | |
2037 | <method name="GetSelection" type="int" overloaded="no"> | |
2038 | <autodoc>GetSelection() -> int</autodoc> | |
2039 | </method> | |
2040 | <method name="SetString" type="" overloaded="no"> | |
2041 | <autodoc>SetString(String s)</autodoc> | |
2042 | <paramlist> | |
2043 | <param name="s" type="String" default=""/> | |
2044 | </paramlist> | |
2045 | </method> | |
2046 | <method name="GetString" type="String" overloaded="no"> | |
2047 | <autodoc>GetString() -> String</autodoc> | |
2048 | </method> | |
2049 | <method name="IsChecked" type="bool" overloaded="no"> | |
2050 | <autodoc>IsChecked() -> bool</autodoc> | |
2051 | </method> | |
2052 | <method name="IsSelection" type="bool" overloaded="no"> | |
2053 | <autodoc>IsSelection() -> bool</autodoc> | |
2054 | </method> | |
2055 | <method name="SetExtraLong" type="" overloaded="no"> | |
2056 | <autodoc>SetExtraLong(long extraLong)</autodoc> | |
2057 | <paramlist> | |
2058 | <param name="extraLong" type="long" default=""/> | |
2059 | </paramlist> | |
2060 | </method> | |
2061 | <method name="GetExtraLong" type="long" overloaded="no"> | |
2062 | <autodoc>GetExtraLong() -> long</autodoc> | |
2063 | </method> | |
2064 | <method name="SetInt" type="" overloaded="no"> | |
2065 | <autodoc>SetInt(int i)</autodoc> | |
2066 | <paramlist> | |
2067 | <param name="i" type="int" default=""/> | |
2068 | </paramlist> | |
2069 | </method> | |
2070 | <method name="GetInt" type="long" overloaded="no"> | |
2071 | <autodoc>GetInt() -> long</autodoc> | |
2072 | </method> | |
2073 | <method name="Clone" type="Event" overloaded="no"> | |
2074 | <autodoc>Clone() -> Event</autodoc> | |
2075 | </method> | |
2076 | </class> | |
2077 | <pythoncode> | |
0f43fbdf RD |
2078 | #--------------------------------------------------------------------------- |
2079 | </pythoncode> | |
f32fc4bc RD |
2080 | <class name="NotifyEvent" oldname="wxNotifyEvent" module="core"> |
2081 | <baseclass name="CommandEvent"/> | |
2082 | <constructor name="NotifyEvent" overloaded="no"> | |
2083 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int winid=0) -> NotifyEvent</autodoc> | |
2084 | <paramlist> | |
2085 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
2086 | <param name="winid" type="int" default="0"/> | |
2087 | </paramlist> | |
2088 | </constructor> | |
2089 | <method name="Veto" type="" overloaded="no"> | |
2090 | <autodoc>Veto()</autodoc> | |
2091 | </method> | |
2092 | <method name="Allow" type="" overloaded="no"> | |
2093 | <autodoc>Allow()</autodoc> | |
2094 | </method> | |
2095 | <method name="IsAllowed" type="bool" overloaded="no"> | |
2096 | <autodoc>IsAllowed() -> bool</autodoc> | |
2097 | </method> | |
2098 | </class> | |
2099 | <pythoncode> | |
0f43fbdf RD |
2100 | #--------------------------------------------------------------------------- |
2101 | </pythoncode> | |
f32fc4bc RD |
2102 | <class name="ScrollEvent" oldname="wxScrollEvent" module="core"> |
2103 | <baseclass name="CommandEvent"/> | |
2104 | <constructor name="ScrollEvent" overloaded="no"> | |
2105 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0, | |
0f43fbdf | 2106 | int orient=0) -> ScrollEvent</autodoc> |
f32fc4bc RD |
2107 | <paramlist> |
2108 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
2109 | <param name="winid" type="int" default="0"/> | |
2110 | <param name="pos" type="int" default="0"/> | |
2111 | <param name="orient" type="int" default="0"/> | |
2112 | </paramlist> | |
2113 | </constructor> | |
2114 | <method name="GetOrientation" type="int" overloaded="no"> | |
2115 | <autodoc>GetOrientation() -> int</autodoc> | |
2116 | </method> | |
2117 | <method name="GetPosition" type="int" overloaded="no"> | |
2118 | <autodoc>GetPosition() -> int</autodoc> | |
2119 | </method> | |
2120 | <method name="SetOrientation" type="" overloaded="no"> | |
2121 | <autodoc>SetOrientation(int orient)</autodoc> | |
2122 | <paramlist> | |
2123 | <param name="orient" type="int" default=""/> | |
2124 | </paramlist> | |
2125 | </method> | |
2126 | <method name="SetPosition" type="" overloaded="no"> | |
2127 | <autodoc>SetPosition(int pos)</autodoc> | |
2128 | <paramlist> | |
2129 | <param name="pos" type="int" default=""/> | |
2130 | </paramlist> | |
2131 | </method> | |
2132 | </class> | |
2133 | <pythoncode> | |
0f43fbdf RD |
2134 | #--------------------------------------------------------------------------- |
2135 | </pythoncode> | |
f32fc4bc RD |
2136 | <class name="ScrollWinEvent" oldname="wxScrollWinEvent" module="core"> |
2137 | <baseclass name="Event"/> | |
2138 | <constructor name="ScrollWinEvent" overloaded="no"> | |
2139 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int pos=0, int orient=0) -> ScrollWinEvent</autodoc> | |
2140 | <paramlist> | |
2141 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
2142 | <param name="pos" type="int" default="0"/> | |
2143 | <param name="orient" type="int" default="0"/> | |
2144 | </paramlist> | |
2145 | </constructor> | |
2146 | <method name="GetOrientation" type="int" overloaded="no"> | |
2147 | <autodoc>GetOrientation() -> int</autodoc> | |
2148 | </method> | |
2149 | <method name="GetPosition" type="int" overloaded="no"> | |
2150 | <autodoc>GetPosition() -> int</autodoc> | |
2151 | </method> | |
2152 | <method name="SetOrientation" type="" overloaded="no"> | |
2153 | <autodoc>SetOrientation(int orient)</autodoc> | |
2154 | <paramlist> | |
2155 | <param name="orient" type="int" default=""/> | |
2156 | </paramlist> | |
2157 | </method> | |
2158 | <method name="SetPosition" type="" overloaded="no"> | |
2159 | <autodoc>SetPosition(int pos)</autodoc> | |
2160 | <paramlist> | |
2161 | <param name="pos" type="int" default=""/> | |
2162 | </paramlist> | |
2163 | </method> | |
2164 | </class> | |
2165 | <pythoncode> | |
0f43fbdf RD |
2166 | #--------------------------------------------------------------------------- |
2167 | </pythoncode> | |
f32fc4bc RD |
2168 | <class name="MouseEvent" oldname="wxMouseEvent" module="core"> |
2169 | <baseclass name="Event"/> | |
2170 | <constructor name="MouseEvent" overloaded="no"> | |
2171 | <autodoc>__init__(wxEventType mouseType=wxEVT_NULL) -> MouseEvent</autodoc> | |
2172 | <paramlist> | |
2173 | <param name="mouseType" type="wxEventType" default="wxEVT_NULL"/> | |
2174 | </paramlist> | |
2175 | </constructor> | |
2176 | <method name="IsButton" type="bool" overloaded="no"> | |
2177 | <autodoc>IsButton() -> bool</autodoc> | |
2178 | </method> | |
2179 | <method name="ButtonDown" type="bool" overloaded="no"> | |
2180 | <autodoc>ButtonDown(int but=MOUSE_BTN_ANY) -> bool</autodoc> | |
2181 | <paramlist> | |
2182 | <param name="but" type="int" default="wxMOUSE_BTN_ANY"/> | |
2183 | </paramlist> | |
2184 | </method> | |
2185 | <method name="ButtonDClick" type="bool" overloaded="no"> | |
2186 | <autodoc>ButtonDClick(int but=MOUSE_BTN_ANY) -> bool</autodoc> | |
2187 | <paramlist> | |
2188 | <param name="but" type="int" default="wxMOUSE_BTN_ANY"/> | |
2189 | </paramlist> | |
2190 | </method> | |
2191 | <method name="ButtonUp" type="bool" overloaded="no"> | |
2192 | <autodoc>ButtonUp(int but=MOUSE_BTN_ANY) -> bool</autodoc> | |
2193 | <paramlist> | |
2194 | <param name="but" type="int" default="wxMOUSE_BTN_ANY"/> | |
2195 | </paramlist> | |
2196 | </method> | |
2197 | <method name="Button" type="bool" overloaded="no"> | |
2198 | <autodoc>Button(int but) -> bool</autodoc> | |
2199 | <paramlist> | |
2200 | <param name="but" type="int" default=""/> | |
2201 | </paramlist> | |
2202 | </method> | |
2203 | <method name="ButtonIsDown" type="bool" overloaded="no"> | |
2204 | <autodoc>ButtonIsDown(int but) -> bool</autodoc> | |
2205 | <paramlist> | |
2206 | <param name="but" type="int" default=""/> | |
2207 | </paramlist> | |
2208 | </method> | |
2209 | <method name="GetButton" type="int" overloaded="no"> | |
2210 | <autodoc>GetButton() -> int</autodoc> | |
2211 | </method> | |
2212 | <method name="ControlDown" type="bool" overloaded="no"> | |
2213 | <autodoc>ControlDown() -> bool</autodoc> | |
2214 | </method> | |
2215 | <method name="MetaDown" type="bool" overloaded="no"> | |
2216 | <autodoc>MetaDown() -> bool</autodoc> | |
2217 | </method> | |
2218 | <method name="AltDown" type="bool" overloaded="no"> | |
2219 | <autodoc>AltDown() -> bool</autodoc> | |
2220 | </method> | |
2221 | <method name="ShiftDown" type="bool" overloaded="no"> | |
2222 | <autodoc>ShiftDown() -> bool</autodoc> | |
2223 | </method> | |
2224 | <method name="LeftDown" type="bool" overloaded="no"> | |
2225 | <autodoc>LeftDown() -> bool</autodoc> | |
2226 | </method> | |
2227 | <method name="MiddleDown" type="bool" overloaded="no"> | |
2228 | <autodoc>MiddleDown() -> bool</autodoc> | |
2229 | </method> | |
2230 | <method name="RightDown" type="bool" overloaded="no"> | |
2231 | <autodoc>RightDown() -> bool</autodoc> | |
2232 | </method> | |
2233 | <method name="LeftUp" type="bool" overloaded="no"> | |
2234 | <autodoc>LeftUp() -> bool</autodoc> | |
2235 | </method> | |
2236 | <method name="MiddleUp" type="bool" overloaded="no"> | |
2237 | <autodoc>MiddleUp() -> bool</autodoc> | |
2238 | </method> | |
2239 | <method name="RightUp" type="bool" overloaded="no"> | |
2240 | <autodoc>RightUp() -> bool</autodoc> | |
2241 | </method> | |
2242 | <method name="LeftDClick" type="bool" overloaded="no"> | |
2243 | <autodoc>LeftDClick() -> bool</autodoc> | |
2244 | </method> | |
2245 | <method name="MiddleDClick" type="bool" overloaded="no"> | |
2246 | <autodoc>MiddleDClick() -> bool</autodoc> | |
2247 | </method> | |
2248 | <method name="RightDClick" type="bool" overloaded="no"> | |
2249 | <autodoc>RightDClick() -> bool</autodoc> | |
2250 | </method> | |
2251 | <method name="LeftIsDown" type="bool" overloaded="no"> | |
2252 | <autodoc>LeftIsDown() -> bool</autodoc> | |
2253 | </method> | |
2254 | <method name="MiddleIsDown" type="bool" overloaded="no"> | |
2255 | <autodoc>MiddleIsDown() -> bool</autodoc> | |
2256 | </method> | |
2257 | <method name="RightIsDown" type="bool" overloaded="no"> | |
2258 | <autodoc>RightIsDown() -> bool</autodoc> | |
2259 | </method> | |
2260 | <method name="Dragging" type="bool" overloaded="no"> | |
2261 | <autodoc>Dragging() -> bool</autodoc> | |
2262 | </method> | |
2263 | <method name="Moving" type="bool" overloaded="no"> | |
2264 | <autodoc>Moving() -> bool</autodoc> | |
2265 | </method> | |
2266 | <method name="Entering" type="bool" overloaded="no"> | |
2267 | <autodoc>Entering() -> bool</autodoc> | |
2268 | </method> | |
2269 | <method name="Leaving" type="bool" overloaded="no"> | |
2270 | <autodoc>Leaving() -> bool</autodoc> | |
2271 | </method> | |
2272 | <method name="GetPosition" type="Point" overloaded="no"> | |
2273 | <autodoc>GetPosition() -> Point</autodoc> | |
2274 | <docstring>Returns the position of the mouse in window coordinates when the event happened.</docstring> | |
2275 | </method> | |
2276 | <method name="GetPositionTuple" type="" overloaded="no"> | |
2277 | <autodoc>GetPositionTuple() -> (x,y)</autodoc> | |
2278 | <docstring>Returns the position of the mouse in window coordinates when the event happened.</docstring> | |
2279 | <paramlist> | |
2280 | <param name="OUTPUT" type="long" default=""/> | |
2281 | <param name="OUTPUT" type="long" default=""/> | |
2282 | </paramlist> | |
2283 | </method> | |
2284 | <method name="GetLogicalPosition" type="Point" overloaded="no"> | |
2285 | <autodoc>GetLogicalPosition(DC dc) -> Point</autodoc> | |
2286 | <paramlist> | |
2287 | <param name="dc" type="wxDC" default=""/> | |
2288 | </paramlist> | |
2289 | </method> | |
2290 | <method name="GetX" type="int" overloaded="no"> | |
2291 | <autodoc>GetX() -> int</autodoc> | |
2292 | </method> | |
2293 | <method name="GetY" type="int" overloaded="no"> | |
2294 | <autodoc>GetY() -> int</autodoc> | |
2295 | </method> | |
2296 | <method name="GetWheelRotation" type="int" overloaded="no"> | |
2297 | <autodoc>GetWheelRotation() -> int</autodoc> | |
2298 | </method> | |
2299 | <method name="GetWheelDelta" type="int" overloaded="no"> | |
2300 | <autodoc>GetWheelDelta() -> int</autodoc> | |
2301 | </method> | |
2302 | <method name="GetLinesPerAction" type="int" overloaded="no"> | |
2303 | <autodoc>GetLinesPerAction() -> int</autodoc> | |
2304 | </method> | |
2305 | <method name="IsPageScroll" type="bool" overloaded="no"> | |
2306 | <autodoc>IsPageScroll() -> bool</autodoc> | |
2307 | </method> | |
2308 | <property name="m_x" type="int" readonly="no"/> | |
2309 | <property name="m_y" type="int" readonly="no"/> | |
2310 | <property name="m_leftDown" type="bool" readonly="no"/> | |
2311 | <property name="m_middleDown" type="bool" readonly="no"/> | |
2312 | <property name="m_rightDown" type="bool" readonly="no"/> | |
2313 | <property name="m_controlDown" type="bool" readonly="no"/> | |
2314 | <property name="m_shiftDown" type="bool" readonly="no"/> | |
2315 | <property name="m_altDown" type="bool" readonly="no"/> | |
2316 | <property name="m_metaDown" type="bool" readonly="no"/> | |
2317 | <property name="m_wheelRotation" type="int" readonly="no"/> | |
2318 | <property name="m_wheelDelta" type="int" readonly="no"/> | |
2319 | <property name="m_linesPerAction" type="int" readonly="no"/> | |
2320 | </class> | |
2321 | <pythoncode> | |
0f43fbdf RD |
2322 | #--------------------------------------------------------------------------- |
2323 | </pythoncode> | |
f32fc4bc RD |
2324 | <class name="SetCursorEvent" oldname="wxSetCursorEvent" module="core"> |
2325 | <baseclass name="Event"/> | |
2326 | <constructor name="SetCursorEvent" overloaded="no"> | |
2327 | <autodoc>__init__(int x=0, int y=0) -> SetCursorEvent</autodoc> | |
2328 | <paramlist> | |
2329 | <param name="x" type="int" default="0"/> | |
2330 | <param name="y" type="int" default="0"/> | |
2331 | </paramlist> | |
2332 | </constructor> | |
2333 | <method name="GetX" type="int" overloaded="no"> | |
2334 | <autodoc>GetX() -> int</autodoc> | |
2335 | </method> | |
2336 | <method name="GetY" type="int" overloaded="no"> | |
2337 | <autodoc>GetY() -> int</autodoc> | |
2338 | </method> | |
2339 | <method name="SetCursor" type="" overloaded="no"> | |
2340 | <autodoc>SetCursor(Cursor cursor)</autodoc> | |
2341 | <paramlist> | |
2342 | <param name="cursor" type="wxCursor" default=""/> | |
2343 | </paramlist> | |
2344 | </method> | |
2345 | <method name="GetCursor" type="wxCursor" overloaded="no"> | |
2346 | <autodoc>GetCursor() -> Cursor</autodoc> | |
2347 | </method> | |
2348 | <method name="HasCursor" type="bool" overloaded="no"> | |
2349 | <autodoc>HasCursor() -> bool</autodoc> | |
2350 | </method> | |
2351 | </class> | |
2352 | <pythoncode> | |
0f43fbdf RD |
2353 | #--------------------------------------------------------------------------- |
2354 | </pythoncode> | |
f32fc4bc RD |
2355 | <class name="KeyEvent" oldname="wxKeyEvent" module="core"> |
2356 | <baseclass name="Event"/> | |
2357 | <constructor name="KeyEvent" overloaded="no"> | |
2358 | <autodoc>__init__(wxEventType keyType=wxEVT_NULL) -> KeyEvent</autodoc> | |
2359 | <paramlist> | |
2360 | <param name="keyType" type="wxEventType" default="wxEVT_NULL"/> | |
2361 | </paramlist> | |
2362 | </constructor> | |
2363 | <method name="ControlDown" type="bool" overloaded="no"> | |
2364 | <autodoc>ControlDown() -> bool</autodoc> | |
2365 | </method> | |
2366 | <method name="MetaDown" type="bool" overloaded="no"> | |
2367 | <autodoc>MetaDown() -> bool</autodoc> | |
2368 | </method> | |
2369 | <method name="AltDown" type="bool" overloaded="no"> | |
2370 | <autodoc>AltDown() -> bool</autodoc> | |
2371 | </method> | |
2372 | <method name="ShiftDown" type="bool" overloaded="no"> | |
2373 | <autodoc>ShiftDown() -> bool</autodoc> | |
2374 | </method> | |
2375 | <method name="HasModifiers" type="bool" overloaded="no"> | |
2376 | <autodoc>HasModifiers() -> bool</autodoc> | |
2377 | </method> | |
2378 | <method name="GetKeyCode" type="int" overloaded="no"> | |
2379 | <autodoc>GetKeyCode() -> int</autodoc> | |
2380 | </method> | |
2381 | <method name="GetUniChar" type="int" overloaded="no"> | |
2382 | <autodoc>GetUniChar() -> int</autodoc> | |
2383 | </method> | |
2384 | <method name="GetRawKeyCode" type="unsigned int" overloaded="no"> | |
2385 | <autodoc>GetRawKeyCode() -> unsigned int</autodoc> | |
2386 | </method> | |
2387 | <method name="GetRawKeyFlags" type="unsigned int" overloaded="no"> | |
2388 | <autodoc>GetRawKeyFlags() -> unsigned int</autodoc> | |
2389 | </method> | |
2390 | <method name="GetPosition" type="Point" overloaded="no"> | |
2391 | <autodoc>GetPosition() -> Point</autodoc> | |
2392 | <docstring>Find the position of the event.</docstring> | |
2393 | </method> | |
2394 | <method name="GetPositionTuple" type="" overloaded="no"> | |
2395 | <autodoc>GetPositionTuple() -> (x,y)</autodoc> | |
2396 | <docstring>Find the position of the event.</docstring> | |
2397 | <paramlist> | |
2398 | <param name="OUTPUT" type="long" default=""/> | |
2399 | <param name="OUTPUT" type="long" default=""/> | |
2400 | </paramlist> | |
2401 | </method> | |
2402 | <method name="GetX" type="int" overloaded="no"> | |
2403 | <autodoc>GetX() -> int</autodoc> | |
2404 | </method> | |
2405 | <method name="GetY" type="int" overloaded="no"> | |
2406 | <autodoc>GetY() -> int</autodoc> | |
2407 | </method> | |
2408 | <property name="m_x" type="int" readonly="no"/> | |
2409 | <property name="m_y" type="int" readonly="no"/> | |
2410 | <property name="m_keyCode" type="long" readonly="no"/> | |
2411 | <property name="m_controlDown" type="bool" readonly="no"/> | |
2412 | <property name="m_shiftDown" type="bool" readonly="no"/> | |
2413 | <property name="m_altDown" type="bool" readonly="no"/> | |
2414 | <property name="m_metaDown" type="bool" readonly="no"/> | |
2415 | <property name="m_scanCode" type="bool" readonly="no"/> | |
2416 | <property name="m_rawCode" type="unsigned int" readonly="no"/> | |
2417 | <property name="m_rawFlags" type="unsigned int" readonly="no"/> | |
2418 | </class> | |
2419 | <pythoncode> | |
0f43fbdf RD |
2420 | #--------------------------------------------------------------------------- |
2421 | </pythoncode> | |
f32fc4bc RD |
2422 | <class name="SizeEvent" oldname="wxSizeEvent" module="core"> |
2423 | <baseclass name="Event"/> | |
2424 | <constructor name="SizeEvent" overloaded="no"> | |
2425 | <autodoc>__init__(Size sz=DefaultSize, int winid=0) -> SizeEvent</autodoc> | |
2426 | <paramlist> | |
2427 | <param name="sz" type="Size" default="wxDefaultSize"/> | |
2428 | <param name="winid" type="int" default="0"/> | |
2429 | </paramlist> | |
2430 | </constructor> | |
2431 | <method name="GetSize" type="Size" overloaded="no"> | |
2432 | <autodoc>GetSize() -> Size</autodoc> | |
2433 | </method> | |
2434 | <method name="GetRect" type="Rect" overloaded="no"> | |
2435 | <autodoc>GetRect() -> Rect</autodoc> | |
2436 | </method> | |
2437 | <method name="SetRect" type="" overloaded="no"> | |
2438 | <autodoc>SetRect(Rect rect)</autodoc> | |
2439 | <paramlist> | |
2440 | <param name="rect" type="Rect" default=""/> | |
2441 | </paramlist> | |
2442 | </method> | |
2443 | <method name="SetSize" type="" overloaded="no"> | |
2444 | <autodoc>SetSize(Size size)</autodoc> | |
2445 | <paramlist> | |
2446 | <param name="size" type="Size" default=""/> | |
2447 | </paramlist> | |
2448 | </method> | |
2449 | <property name="m_size" type="Size" readonly="no"/> | |
2450 | <property name="m_rect" type="Rect" readonly="no"/> | |
2451 | </class> | |
2452 | <pythoncode> | |
0f43fbdf RD |
2453 | #--------------------------------------------------------------------------- |
2454 | </pythoncode> | |
f32fc4bc RD |
2455 | <class name="MoveEvent" oldname="wxMoveEvent" module="core"> |
2456 | <baseclass name="Event"/> | |
2457 | <constructor name="MoveEvent" overloaded="no"> | |
2458 | <autodoc>__init__(Point pos=DefaultPosition, int winid=0) -> MoveEvent</autodoc> | |
2459 | <paramlist> | |
2460 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
2461 | <param name="winid" type="int" default="0"/> | |
2462 | </paramlist> | |
2463 | </constructor> | |
2464 | <method name="GetPosition" type="Point" overloaded="no"> | |
2465 | <autodoc>GetPosition() -> Point</autodoc> | |
2466 | </method> | |
2467 | <method name="GetRect" type="Rect" overloaded="no"> | |
2468 | <autodoc>GetRect() -> Rect</autodoc> | |
2469 | </method> | |
2470 | <method name="SetRect" type="" overloaded="no"> | |
2471 | <autodoc>SetRect(Rect rect)</autodoc> | |
2472 | <paramlist> | |
2473 | <param name="rect" type="Rect" default=""/> | |
2474 | </paramlist> | |
2475 | </method> | |
2476 | <method name="SetPosition" type="" overloaded="no"> | |
2477 | <autodoc>SetPosition(Point pos)</autodoc> | |
2478 | <paramlist> | |
2479 | <param name="pos" type="Point" default=""/> | |
2480 | </paramlist> | |
2481 | </method> | |
2482 | <property name="m_pos" type="Point" readonly="no"/> | |
2483 | <property name="m_rect" type="Rect" readonly="no"/> | |
2484 | </class> | |
2485 | <pythoncode> | |
0f43fbdf RD |
2486 | #--------------------------------------------------------------------------- |
2487 | </pythoncode> | |
f32fc4bc RD |
2488 | <class name="PaintEvent" oldname="wxPaintEvent" module="core"> |
2489 | <baseclass name="Event"/> | |
2490 | <constructor name="PaintEvent" overloaded="no"> | |
2491 | <autodoc>__init__(int Id=0) -> PaintEvent</autodoc> | |
2492 | <paramlist> | |
2493 | <param name="Id" type="int" default="0"/> | |
2494 | </paramlist> | |
2495 | </constructor> | |
2496 | </class> | |
2497 | <class name="NcPaintEvent" oldname="wxNcPaintEvent" module="core"> | |
2498 | <baseclass name="Event"/> | |
2499 | <constructor name="NcPaintEvent" overloaded="no"> | |
2500 | <autodoc>__init__(int winid=0) -> NcPaintEvent</autodoc> | |
2501 | <paramlist> | |
2502 | <param name="winid" type="int" default="0"/> | |
2503 | </paramlist> | |
2504 | </constructor> | |
2505 | </class> | |
2506 | <pythoncode> | |
0f43fbdf RD |
2507 | #--------------------------------------------------------------------------- |
2508 | </pythoncode> | |
f32fc4bc RD |
2509 | <class name="EraseEvent" oldname="wxEraseEvent" module="core"> |
2510 | <baseclass name="Event"/> | |
2511 | <constructor name="EraseEvent" overloaded="no"> | |
2512 | <autodoc>__init__(int Id=0, DC dc=(wxDC *) NULL) -> EraseEvent</autodoc> | |
2513 | <paramlist> | |
2514 | <param name="Id" type="int" default="0"/> | |
2515 | <param name="dc" type="wxDC" default="(wxDC *) NULL"/> | |
2516 | </paramlist> | |
2517 | </constructor> | |
2518 | <method name="GetDC" type="wxDC" overloaded="no"> | |
2519 | <autodoc>GetDC() -> DC</autodoc> | |
2520 | </method> | |
2521 | </class> | |
2522 | <pythoncode> | |
0f43fbdf RD |
2523 | #--------------------------------------------------------------------------- |
2524 | </pythoncode> | |
f32fc4bc RD |
2525 | <class name="FocusEvent" oldname="wxFocusEvent" module="core"> |
2526 | <baseclass name="Event"/> | |
2527 | <constructor name="FocusEvent" overloaded="no"> | |
2528 | <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0) -> FocusEvent</autodoc> | |
2529 | <paramlist> | |
2530 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
2531 | <param name="winid" type="int" default="0"/> | |
2532 | </paramlist> | |
2533 | </constructor> | |
2534 | <method name="GetWindow" type="wxWindow" overloaded="no"> | |
2535 | <autodoc>GetWindow() -> Window</autodoc> | |
2536 | </method> | |
2537 | <method name="SetWindow" type="" overloaded="no"> | |
2538 | <autodoc>SetWindow(Window win)</autodoc> | |
2539 | <paramlist> | |
2540 | <param name="win" type="wxWindow" default=""/> | |
2541 | </paramlist> | |
2542 | </method> | |
2543 | </class> | |
2544 | <pythoncode> | |
0f43fbdf RD |
2545 | #--------------------------------------------------------------------------- |
2546 | </pythoncode> | |
f32fc4bc RD |
2547 | <class name="ChildFocusEvent" oldname="wxChildFocusEvent" module="core"> |
2548 | <baseclass name="CommandEvent"/> | |
2549 | <constructor name="ChildFocusEvent" overloaded="no"> | |
2550 | <autodoc>__init__(Window win=None) -> ChildFocusEvent</autodoc> | |
2551 | <paramlist> | |
2552 | <param name="win" type="wxWindow" default="NULL"/> | |
2553 | </paramlist> | |
2554 | </constructor> | |
2555 | <method name="GetWindow" type="wxWindow" overloaded="no"> | |
2556 | <autodoc>GetWindow() -> Window</autodoc> | |
2557 | </method> | |
2558 | </class> | |
2559 | <pythoncode> | |
0f43fbdf RD |
2560 | #--------------------------------------------------------------------------- |
2561 | </pythoncode> | |
f32fc4bc RD |
2562 | <class name="ActivateEvent" oldname="wxActivateEvent" module="core"> |
2563 | <baseclass name="Event"/> | |
2564 | <constructor name="ActivateEvent" overloaded="no"> | |
2565 | <autodoc>__init__(wxEventType type=wxEVT_NULL, bool active=True, int Id=0) -> ActivateEvent</autodoc> | |
2566 | <paramlist> | |
2567 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
2568 | <param name="active" type="bool" default="True"/> | |
2569 | <param name="Id" type="int" default="0"/> | |
2570 | </paramlist> | |
2571 | </constructor> | |
2572 | <method name="GetActive" type="bool" overloaded="no"> | |
2573 | <autodoc>GetActive() -> bool</autodoc> | |
2574 | </method> | |
2575 | </class> | |
2576 | <pythoncode> | |
0f43fbdf RD |
2577 | #--------------------------------------------------------------------------- |
2578 | </pythoncode> | |
f32fc4bc RD |
2579 | <class name="InitDialogEvent" oldname="wxInitDialogEvent" module="core"> |
2580 | <baseclass name="Event"/> | |
2581 | <constructor name="InitDialogEvent" overloaded="no"> | |
2582 | <autodoc>__init__(int Id=0) -> InitDialogEvent</autodoc> | |
2583 | <paramlist> | |
2584 | <param name="Id" type="int" default="0"/> | |
2585 | </paramlist> | |
2586 | </constructor> | |
2587 | </class> | |
2588 | <pythoncode> | |
0f43fbdf RD |
2589 | #--------------------------------------------------------------------------- |
2590 | </pythoncode> | |
f32fc4bc RD |
2591 | <class name="MenuEvent" oldname="wxMenuEvent" module="core"> |
2592 | <baseclass name="Event"/> | |
2593 | <constructor name="MenuEvent" overloaded="no"> | |
2594 | <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0, Menu menu=None) -> MenuEvent</autodoc> | |
2595 | <paramlist> | |
2596 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
2597 | <param name="winid" type="int" default="0"/> | |
2598 | <param name="menu" type="wxMenu" default="NULL"/> | |
2599 | </paramlist> | |
2600 | </constructor> | |
2601 | <method name="GetMenuId" type="int" overloaded="no"> | |
2602 | <autodoc>GetMenuId() -> int</autodoc> | |
2603 | </method> | |
2604 | <method name="IsPopup" type="bool" overloaded="no"> | |
2605 | <autodoc>IsPopup() -> bool</autodoc> | |
2606 | </method> | |
2607 | <method name="GetMenu" type="wxMenu" overloaded="no"> | |
2608 | <autodoc>GetMenu() -> Menu</autodoc> | |
2609 | </method> | |
2610 | </class> | |
2611 | <pythoncode> | |
0f43fbdf RD |
2612 | #--------------------------------------------------------------------------- |
2613 | </pythoncode> | |
f32fc4bc RD |
2614 | <class name="CloseEvent" oldname="wxCloseEvent" module="core"> |
2615 | <baseclass name="Event"/> | |
2616 | <constructor name="CloseEvent" overloaded="no"> | |
2617 | <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0) -> CloseEvent</autodoc> | |
2618 | <paramlist> | |
2619 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
2620 | <param name="winid" type="int" default="0"/> | |
2621 | </paramlist> | |
2622 | </constructor> | |
2623 | <method name="SetLoggingOff" type="" overloaded="no"> | |
2624 | <autodoc>SetLoggingOff(bool logOff)</autodoc> | |
2625 | <paramlist> | |
2626 | <param name="logOff" type="bool" default=""/> | |
2627 | </paramlist> | |
2628 | </method> | |
2629 | <method name="GetLoggingOff" type="bool" overloaded="no"> | |
2630 | <autodoc>GetLoggingOff() -> bool</autodoc> | |
2631 | </method> | |
2632 | <method name="Veto" type="" overloaded="no"> | |
2633 | <autodoc>Veto(bool veto=True)</autodoc> | |
2634 | <paramlist> | |
2635 | <param name="veto" type="bool" default="True"/> | |
2636 | </paramlist> | |
2637 | </method> | |
2638 | <method name="SetCanVeto" type="" overloaded="no"> | |
2639 | <autodoc>SetCanVeto(bool canVeto)</autodoc> | |
2640 | <paramlist> | |
2641 | <param name="canVeto" type="bool" default=""/> | |
2642 | </paramlist> | |
2643 | </method> | |
2644 | <method name="CanVeto" type="bool" overloaded="no"> | |
2645 | <autodoc>CanVeto() -> bool</autodoc> | |
2646 | </method> | |
2647 | <method name="GetVeto" type="bool" overloaded="no"> | |
2648 | <autodoc>GetVeto() -> bool</autodoc> | |
2649 | </method> | |
2650 | </class> | |
2651 | <pythoncode> | |
0f43fbdf RD |
2652 | #--------------------------------------------------------------------------- |
2653 | </pythoncode> | |
f32fc4bc RD |
2654 | <class name="ShowEvent" oldname="wxShowEvent" module="core"> |
2655 | <baseclass name="Event"/> | |
2656 | <constructor name="ShowEvent" overloaded="no"> | |
2657 | <autodoc>__init__(int winid=0, bool show=False) -> ShowEvent</autodoc> | |
2658 | <paramlist> | |
2659 | <param name="winid" type="int" default="0"/> | |
2660 | <param name="show" type="bool" default="False"/> | |
2661 | </paramlist> | |
2662 | </constructor> | |
2663 | <method name="SetShow" type="" overloaded="no"> | |
2664 | <autodoc>SetShow(bool show)</autodoc> | |
2665 | <paramlist> | |
2666 | <param name="show" type="bool" default=""/> | |
2667 | </paramlist> | |
2668 | </method> | |
2669 | <method name="GetShow" type="bool" overloaded="no"> | |
2670 | <autodoc>GetShow() -> bool</autodoc> | |
2671 | </method> | |
2672 | </class> | |
2673 | <pythoncode> | |
0f43fbdf RD |
2674 | #--------------------------------------------------------------------------- |
2675 | </pythoncode> | |
f32fc4bc RD |
2676 | <class name="IconizeEvent" oldname="wxIconizeEvent" module="core"> |
2677 | <baseclass name="Event"/> | |
2678 | <constructor name="IconizeEvent" overloaded="no"> | |
2679 | <autodoc>__init__(int id=0, bool iconized=True) -> IconizeEvent</autodoc> | |
2680 | <paramlist> | |
2681 | <param name="id" type="int" default="0"/> | |
2682 | <param name="iconized" type="bool" default="True"/> | |
2683 | </paramlist> | |
2684 | </constructor> | |
2685 | <method name="Iconized" type="bool" overloaded="no"> | |
2686 | <autodoc>Iconized() -> bool</autodoc> | |
2687 | </method> | |
2688 | </class> | |
2689 | <pythoncode> | |
0f43fbdf RD |
2690 | #--------------------------------------------------------------------------- |
2691 | </pythoncode> | |
f32fc4bc RD |
2692 | <class name="MaximizeEvent" oldname="wxMaximizeEvent" module="core"> |
2693 | <baseclass name="Event"/> | |
2694 | <constructor name="MaximizeEvent" overloaded="no"> | |
2695 | <autodoc>__init__(int id=0) -> MaximizeEvent</autodoc> | |
2696 | <paramlist> | |
2697 | <param name="id" type="int" default="0"/> | |
2698 | </paramlist> | |
2699 | </constructor> | |
2700 | </class> | |
2701 | <pythoncode> | |
0f43fbdf RD |
2702 | #--------------------------------------------------------------------------- |
2703 | </pythoncode> | |
f32fc4bc RD |
2704 | <class name="DropFilesEvent" oldname="wxDropFilesEvent" module="core"> |
2705 | <baseclass name="Event"/> | |
2706 | <method name="GetPosition" type="Point" overloaded="no"> | |
2707 | <autodoc>GetPosition() -> Point</autodoc> | |
2708 | </method> | |
2709 | <method name="GetNumberOfFiles" type="int" overloaded="no"> | |
2710 | <autodoc>GetNumberOfFiles() -> int</autodoc> | |
2711 | </method> | |
2712 | <method name="GetFiles" type="PyObject" overloaded="no"> | |
2713 | <autodoc>GetFiles() -> PyObject</autodoc> | |
2714 | </method> | |
2715 | </class> | |
2716 | <pythoncode> | |
0f43fbdf RD |
2717 | #--------------------------------------------------------------------------- |
2718 | </pythoncode> | |
f32fc4bc RD |
2719 | <class name="UpdateUIEvent" oldname="wxUpdateUIEvent" module="core"> |
2720 | <baseclass name="CommandEvent"/> | |
2721 | <constructor name="UpdateUIEvent" overloaded="no"> | |
2722 | <autodoc>__init__(int commandId=0) -> UpdateUIEvent</autodoc> | |
2723 | <paramlist> | |
2724 | <param name="commandId" type="int" default="0"/> | |
2725 | </paramlist> | |
2726 | </constructor> | |
2727 | <method name="GetChecked" type="bool" overloaded="no"> | |
2728 | <autodoc>GetChecked() -> bool</autodoc> | |
2729 | </method> | |
2730 | <method name="GetEnabled" type="bool" overloaded="no"> | |
2731 | <autodoc>GetEnabled() -> bool</autodoc> | |
2732 | </method> | |
2733 | <method name="GetText" type="String" overloaded="no"> | |
2734 | <autodoc>GetText() -> String</autodoc> | |
2735 | </method> | |
2736 | <method name="GetSetText" type="bool" overloaded="no"> | |
2737 | <autodoc>GetSetText() -> bool</autodoc> | |
2738 | </method> | |
2739 | <method name="GetSetChecked" type="bool" overloaded="no"> | |
2740 | <autodoc>GetSetChecked() -> bool</autodoc> | |
2741 | </method> | |
2742 | <method name="GetSetEnabled" type="bool" overloaded="no"> | |
2743 | <autodoc>GetSetEnabled() -> bool</autodoc> | |
2744 | </method> | |
2745 | <method name="Check" type="" overloaded="no"> | |
2746 | <autodoc>Check(bool check)</autodoc> | |
2747 | <paramlist> | |
2748 | <param name="check" type="bool" default=""/> | |
2749 | </paramlist> | |
2750 | </method> | |
2751 | <method name="Enable" type="" overloaded="no"> | |
2752 | <autodoc>Enable(bool enable)</autodoc> | |
2753 | <paramlist> | |
2754 | <param name="enable" type="bool" default=""/> | |
2755 | </paramlist> | |
2756 | </method> | |
2757 | <method name="SetText" type="" overloaded="no"> | |
2758 | <autodoc>SetText(String text)</autodoc> | |
2759 | <paramlist> | |
2760 | <param name="text" type="String" default=""/> | |
2761 | </paramlist> | |
2762 | </method> | |
2763 | <staticmethod name="SetUpdateInterval" type="" overloaded="no"> | |
2764 | <autodoc>SetUpdateInterval(long updateInterval)</autodoc> | |
2765 | <paramlist> | |
2766 | <param name="updateInterval" type="long" default=""/> | |
2767 | </paramlist> | |
2768 | </staticmethod> | |
2769 | <staticmethod name="GetUpdateInterval" type="long" overloaded="no"> | |
2770 | <autodoc>GetUpdateInterval() -> long</autodoc> | |
2771 | </staticmethod> | |
2772 | <staticmethod name="CanUpdate" type="bool" overloaded="no"> | |
2773 | <autodoc>CanUpdate(Window win) -> bool</autodoc> | |
2774 | <paramlist> | |
2775 | <param name="win" type="wxWindow" default=""/> | |
2776 | </paramlist> | |
2777 | </staticmethod> | |
2778 | <staticmethod name="ResetUpdateTime" type="" overloaded="no"> | |
2779 | <autodoc>ResetUpdateTime()</autodoc> | |
2780 | </staticmethod> | |
2781 | <staticmethod name="SetMode" type="" overloaded="no"> | |
2782 | <autodoc>SetMode(int mode)</autodoc> | |
2783 | <paramlist> | |
2784 | <param name="mode" type="wxUpdateUIMode" default=""/> | |
2785 | </paramlist> | |
2786 | </staticmethod> | |
2787 | <staticmethod name="GetMode" type="wxUpdateUIMode" overloaded="no"> | |
2788 | <autodoc>GetMode() -> int</autodoc> | |
2789 | </staticmethod> | |
2790 | </class> | |
2791 | <pythoncode> | |
0f43fbdf RD |
2792 | #--------------------------------------------------------------------------- |
2793 | </pythoncode> | |
f32fc4bc RD |
2794 | <class name="SysColourChangedEvent" oldname="wxSysColourChangedEvent" module="core"> |
2795 | <baseclass name="Event"/> | |
2796 | <constructor name="SysColourChangedEvent" overloaded="no"> | |
2797 | <autodoc>__init__() -> SysColourChangedEvent</autodoc> | |
2798 | </constructor> | |
2799 | </class> | |
2800 | <pythoncode> | |
0f43fbdf RD |
2801 | #--------------------------------------------------------------------------- |
2802 | </pythoncode> | |
f32fc4bc RD |
2803 | <class name="MouseCaptureChangedEvent" oldname="wxMouseCaptureChangedEvent" module="core"> |
2804 | <baseclass name="Event"/> | |
2805 | <constructor name="MouseCaptureChangedEvent" overloaded="no"> | |
2806 | <autodoc>__init__(int winid=0, Window gainedCapture=None) -> MouseCaptureChangedEvent</autodoc> | |
2807 | <paramlist> | |
2808 | <param name="winid" type="int" default="0"/> | |
2809 | <param name="gainedCapture" type="wxWindow" default="NULL"/> | |
2810 | </paramlist> | |
2811 | </constructor> | |
2812 | <method name="GetCapturedWindow" type="wxWindow" overloaded="no"> | |
2813 | <autodoc>GetCapturedWindow() -> Window</autodoc> | |
2814 | </method> | |
2815 | </class> | |
2816 | <pythoncode> | |
0f43fbdf RD |
2817 | #--------------------------------------------------------------------------- |
2818 | </pythoncode> | |
f32fc4bc RD |
2819 | <class name="DisplayChangedEvent" oldname="wxDisplayChangedEvent" module="core"> |
2820 | <baseclass name="Event"/> | |
2821 | <constructor name="DisplayChangedEvent" overloaded="no"> | |
2822 | <autodoc>__init__() -> DisplayChangedEvent</autodoc> | |
2823 | </constructor> | |
2824 | </class> | |
2825 | <pythoncode> | |
0f43fbdf RD |
2826 | #--------------------------------------------------------------------------- |
2827 | </pythoncode> | |
f32fc4bc RD |
2828 | <class name="PaletteChangedEvent" oldname="wxPaletteChangedEvent" module="core"> |
2829 | <baseclass name="Event"/> | |
2830 | <constructor name="PaletteChangedEvent" overloaded="no"> | |
2831 | <autodoc>__init__(int id=0) -> PaletteChangedEvent</autodoc> | |
2832 | <paramlist> | |
2833 | <param name="id" type="int" default="0"/> | |
2834 | </paramlist> | |
2835 | </constructor> | |
2836 | <method name="SetChangedWindow" type="" overloaded="no"> | |
2837 | <autodoc>SetChangedWindow(Window win)</autodoc> | |
2838 | <paramlist> | |
2839 | <param name="win" type="wxWindow" default=""/> | |
2840 | </paramlist> | |
2841 | </method> | |
2842 | <method name="GetChangedWindow" type="wxWindow" overloaded="no"> | |
2843 | <autodoc>GetChangedWindow() -> Window</autodoc> | |
2844 | </method> | |
2845 | </class> | |
2846 | <pythoncode> | |
0f43fbdf RD |
2847 | #--------------------------------------------------------------------------- |
2848 | </pythoncode> | |
f32fc4bc RD |
2849 | <class name="QueryNewPaletteEvent" oldname="wxQueryNewPaletteEvent" module="core"> |
2850 | <baseclass name="Event"/> | |
2851 | <constructor name="QueryNewPaletteEvent" overloaded="no"> | |
2852 | <autodoc>__init__(int winid=0) -> QueryNewPaletteEvent</autodoc> | |
2853 | <paramlist> | |
2854 | <param name="winid" type="int" default="0"/> | |
2855 | </paramlist> | |
2856 | </constructor> | |
2857 | <method name="SetPaletteRealized" type="" overloaded="no"> | |
2858 | <autodoc>SetPaletteRealized(bool realized)</autodoc> | |
2859 | <paramlist> | |
2860 | <param name="realized" type="bool" default=""/> | |
2861 | </paramlist> | |
2862 | </method> | |
2863 | <method name="GetPaletteRealized" type="bool" overloaded="no"> | |
2864 | <autodoc>GetPaletteRealized() -> bool</autodoc> | |
2865 | </method> | |
2866 | </class> | |
2867 | <pythoncode> | |
0f43fbdf RD |
2868 | #--------------------------------------------------------------------------- |
2869 | </pythoncode> | |
f32fc4bc RD |
2870 | <class name="NavigationKeyEvent" oldname="wxNavigationKeyEvent" module="core"> |
2871 | <baseclass name="Event"/> | |
2872 | <constructor name="NavigationKeyEvent" overloaded="no"> | |
2873 | <autodoc>__init__() -> NavigationKeyEvent</autodoc> | |
2874 | </constructor> | |
2875 | <method name="GetDirection" type="bool" overloaded="no"> | |
2876 | <autodoc>GetDirection() -> bool</autodoc> | |
2877 | </method> | |
2878 | <method name="SetDirection" type="" overloaded="no"> | |
2879 | <autodoc>SetDirection(bool bForward)</autodoc> | |
2880 | <paramlist> | |
2881 | <param name="bForward" type="bool" default=""/> | |
2882 | </paramlist> | |
2883 | </method> | |
2884 | <method name="IsWindowChange" type="bool" overloaded="no"> | |
2885 | <autodoc>IsWindowChange() -> bool</autodoc> | |
2886 | </method> | |
2887 | <method name="SetWindowChange" type="" overloaded="no"> | |
2888 | <autodoc>SetWindowChange(bool bIs)</autodoc> | |
2889 | <paramlist> | |
2890 | <param name="bIs" type="bool" default=""/> | |
2891 | </paramlist> | |
2892 | </method> | |
2893 | <method name="GetCurrentFocus" type="wxWindow" overloaded="no"> | |
2894 | <autodoc>GetCurrentFocus() -> Window</autodoc> | |
2895 | </method> | |
2896 | <method name="SetCurrentFocus" type="" overloaded="no"> | |
2897 | <autodoc>SetCurrentFocus(Window win)</autodoc> | |
2898 | <paramlist> | |
2899 | <param name="win" type="wxWindow" default=""/> | |
2900 | </paramlist> | |
2901 | </method> | |
2902 | </class> | |
2903 | <pythoncode> | |
0f43fbdf RD |
2904 | #--------------------------------------------------------------------------- |
2905 | </pythoncode> | |
f32fc4bc RD |
2906 | <class name="WindowCreateEvent" oldname="wxWindowCreateEvent" module="core"> |
2907 | <baseclass name="CommandEvent"/> | |
2908 | <constructor name="WindowCreateEvent" overloaded="no"> | |
2909 | <autodoc>__init__(Window win=None) -> WindowCreateEvent</autodoc> | |
2910 | <paramlist> | |
2911 | <param name="win" type="wxWindow" default="NULL"/> | |
2912 | </paramlist> | |
2913 | </constructor> | |
2914 | <method name="GetWindow" type="wxWindow" overloaded="no"> | |
2915 | <autodoc>GetWindow() -> Window</autodoc> | |
2916 | </method> | |
2917 | </class> | |
2918 | <class name="WindowDestroyEvent" oldname="wxWindowDestroyEvent" module="core"> | |
2919 | <baseclass name="CommandEvent"/> | |
2920 | <constructor name="WindowDestroyEvent" overloaded="no"> | |
2921 | <autodoc>__init__(Window win=None) -> WindowDestroyEvent</autodoc> | |
2922 | <paramlist> | |
2923 | <param name="win" type="wxWindow" default="NULL"/> | |
2924 | </paramlist> | |
2925 | </constructor> | |
2926 | <method name="GetWindow" type="wxWindow" overloaded="no"> | |
2927 | <autodoc>GetWindow() -> Window</autodoc> | |
2928 | </method> | |
2929 | </class> | |
2930 | <pythoncode> | |
0f43fbdf RD |
2931 | #--------------------------------------------------------------------------- |
2932 | </pythoncode> | |
f32fc4bc RD |
2933 | <class name="ContextMenuEvent" oldname="wxContextMenuEvent" module="core"> |
2934 | <baseclass name="CommandEvent"/> | |
2935 | <constructor name="ContextMenuEvent" overloaded="no"> | |
2936 | <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> ContextMenuEvent</autodoc> | |
2937 | <paramlist> | |
2938 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
2939 | <param name="winid" type="int" default="0"/> | |
2940 | <param name="pt" type="Point" default="wxDefaultPosition"/> | |
2941 | </paramlist> | |
2942 | </constructor> | |
2943 | <method name="GetPosition" type="Point" overloaded="no"> | |
2944 | <autodoc>GetPosition() -> Point</autodoc> | |
2945 | </method> | |
2946 | <method name="SetPosition" type="" overloaded="no"> | |
2947 | <autodoc>SetPosition(Point pos)</autodoc> | |
2948 | <paramlist> | |
2949 | <param name="pos" type="Point" default=""/> | |
2950 | </paramlist> | |
2951 | </method> | |
2952 | </class> | |
2953 | <pythoncode> | |
856bf319 RD |
2954 | #--------------------------------------------------------------------------- |
2955 | </pythoncode> | |
f32fc4bc RD |
2956 | <class name="IdleEvent" oldname="wxIdleEvent" module="core"> |
2957 | <baseclass name="Event"/> | |
2958 | <constructor name="IdleEvent" overloaded="no"> | |
2959 | <autodoc>__init__() -> IdleEvent</autodoc> | |
2960 | </constructor> | |
2961 | <method name="RequestMore" type="" overloaded="no"> | |
2962 | <autodoc>RequestMore(bool needMore=True)</autodoc> | |
2963 | <paramlist> | |
2964 | <param name="needMore" type="bool" default="True"/> | |
2965 | </paramlist> | |
2966 | </method> | |
2967 | <method name="MoreRequested" type="bool" overloaded="no"> | |
2968 | <autodoc>MoreRequested() -> bool</autodoc> | |
2969 | </method> | |
2970 | <staticmethod name="SetMode" type="" overloaded="no"> | |
2971 | <autodoc>SetMode(int mode)</autodoc> | |
2972 | <paramlist> | |
2973 | <param name="mode" type="wxIdleMode" default=""/> | |
2974 | </paramlist> | |
2975 | </staticmethod> | |
2976 | <staticmethod name="GetMode" type="wxIdleMode" overloaded="no"> | |
2977 | <autodoc>GetMode() -> int</autodoc> | |
2978 | </staticmethod> | |
2979 | <staticmethod name="CanSend" type="bool" overloaded="no"> | |
2980 | <autodoc>CanSend(Window win) -> bool</autodoc> | |
2981 | <paramlist> | |
2982 | <param name="win" type="wxWindow" default=""/> | |
2983 | </paramlist> | |
2984 | </staticmethod> | |
2985 | </class> | |
2986 | <pythoncode> | |
856bf319 RD |
2987 | #--------------------------------------------------------------------------- |
2988 | </pythoncode> | |
f32fc4bc RD |
2989 | <class name="PyEvent" oldname="wxPyEvent" module="core"> |
2990 | <baseclass name="Event"/> | |
2991 | <constructor name="PyEvent" overloaded="no"> | |
2992 | <autodoc>__init__(int winid=0, wxEventType commandType=wxEVT_NULL) -> PyEvent</autodoc> | |
2993 | <paramlist> | |
2994 | <param name="winid" type="int" default="0"/> | |
2995 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
2996 | </paramlist> | |
2997 | </constructor> | |
2998 | <destructor name="~wxPyEvent" overloaded="no"> | |
2999 | <autodoc>__del__()</autodoc> | |
3000 | </destructor> | |
3001 | <method name="SetSelf" type="" overloaded="no"> | |
3002 | <autodoc>SetSelf(PyObject self)</autodoc> | |
3003 | <paramlist> | |
3004 | <param name="self" type="PyObject" default=""/> | |
3005 | </paramlist> | |
3006 | </method> | |
3007 | <method name="GetSelf" type="PyObject" overloaded="no"> | |
3008 | <autodoc>GetSelf() -> PyObject</autodoc> | |
3009 | </method> | |
3010 | </class> | |
3011 | <class name="PyCommandEvent" oldname="wxPyCommandEvent" module="core"> | |
3012 | <baseclass name="CommandEvent"/> | |
3013 | <constructor name="PyCommandEvent" overloaded="no"> | |
3014 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> PyCommandEvent</autodoc> | |
3015 | <paramlist> | |
3016 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
3017 | <param name="id" type="int" default="0"/> | |
3018 | </paramlist> | |
3019 | </constructor> | |
3020 | <destructor name="~wxPyCommandEvent" overloaded="no"> | |
3021 | <autodoc>__del__()</autodoc> | |
3022 | </destructor> | |
3023 | <method name="SetSelf" type="" overloaded="no"> | |
3024 | <autodoc>SetSelf(PyObject self)</autodoc> | |
3025 | <paramlist> | |
3026 | <param name="self" type="PyObject" default=""/> | |
3027 | </paramlist> | |
3028 | </method> | |
3029 | <method name="GetSelf" type="PyObject" overloaded="no"> | |
3030 | <autodoc>GetSelf() -> PyObject</autodoc> | |
3031 | </method> | |
3032 | </class> | |
3033 | <pythoncode> | |
856bf319 RD |
3034 | #--------------------------------------------------------------------------- |
3035 | </pythoncode> | |
f32fc4bc RD |
3036 | <class name="PyApp" oldname="wxPyApp" module="core"> |
3037 | <baseclass name="EvtHandler"/> | |
3038 | <constructor name="PyApp" overloaded="no"> | |
3039 | <autodoc>__init__() -> PyApp</autodoc> | |
3040 | <docstring>Create a new application object, starting the bootstrap process.</docstring> | |
3041 | </constructor> | |
3042 | <destructor name="~wxPyApp" overloaded="no"> | |
3043 | <autodoc>__del__()</autodoc> | |
3044 | </destructor> | |
3045 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
3046 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
3047 | <paramlist> | |
3048 | <param name="self" type="PyObject" default=""/> | |
3049 | <param name="_class" type="PyObject" default=""/> | |
3050 | </paramlist> | |
3051 | </method> | |
3052 | <method name="GetAppName" type="String" overloaded="no"> | |
3053 | <autodoc>GetAppName() -> String</autodoc> | |
3054 | <docstring>Get the application name.</docstring> | |
3055 | </method> | |
3056 | <method name="SetAppName" type="" overloaded="no"> | |
3057 | <autodoc>SetAppName(String name)</autodoc> | |
3058 | <docstring>Set the application name. This value may be used automatically | |
856bf319 | 3059 | by wx.Config and such.</docstring> |
f32fc4bc RD |
3060 | <paramlist> |
3061 | <param name="name" type="String" default=""/> | |
3062 | </paramlist> | |
3063 | </method> | |
3064 | <method name="GetClassName" type="String" overloaded="no"> | |
3065 | <autodoc>GetClassName() -> String</autodoc> | |
3066 | <docstring>Get the application's class name.</docstring> | |
3067 | </method> | |
3068 | <method name="SetClassName" type="" overloaded="no"> | |
3069 | <autodoc>SetClassName(String name)</autodoc> | |
3070 | <docstring>Set the application's class name. This value may be used for X-resources if | |
856bf319 | 3071 | applicable for the platform</docstring> |
f32fc4bc RD |
3072 | <paramlist> |
3073 | <param name="name" type="String" default=""/> | |
3074 | </paramlist> | |
3075 | </method> | |
3076 | <method name="GetVendorName" type="String" overloaded="no"> | |
3077 | <autodoc>GetVendorName() -> String</autodoc> | |
3078 | <docstring>Get the application's vendor name.</docstring> | |
3079 | </method> | |
3080 | <method name="SetVendorName" type="" overloaded="no"> | |
3081 | <autodoc>SetVendorName(String name)</autodoc> | |
3082 | <docstring>Set the application's vendor name. This value may be used automatically | |
856bf319 | 3083 | by wx.Config and such.</docstring> |
f32fc4bc RD |
3084 | <paramlist> |
3085 | <param name="name" type="String" default=""/> | |
3086 | </paramlist> | |
3087 | </method> | |
3088 | <method name="GetTraits" type="wxAppTraits" overloaded="no"> | |
3089 | <autodoc>GetTraits() -> wxAppTraits</autodoc> | |
3090 | <docstring>Create the app traits object to which we delegate for everything which either | |
856bf319 RD |
3091 | should be configurable by the user (then he can change the default behaviour |
3092 | simply by overriding CreateTraits() and returning his own traits object) or | |
3093 | which is GUI/console dependent as then wx.AppTraits allows us to abstract the | |
3094 | differences behind the common facade</docstring> | |
f32fc4bc RD |
3095 | </method> |
3096 | <method name="ProcessPendingEvents" type="" overloaded="no"> | |
3097 | <autodoc>ProcessPendingEvents()</autodoc> | |
3098 | <docstring>Process all events in the Pending Events list -- it is necessary to call this | |
856bf319 RD |
3099 | function to process posted events. This happens during each event loop |
3100 | iteration.</docstring> | |
f32fc4bc RD |
3101 | </method> |
3102 | <method name="Yield" type="bool" overloaded="no"> | |
3103 | <autodoc>Yield(bool onlyIfNeeded=False) -> bool</autodoc> | |
3104 | <docstring>Process all currently pending events right now, instead of waiting until | |
856bf319 | 3105 | return to the event loop. It is an error to call Yield() recursively unless |
0f43fbdf RD |
3106 | the value of onlyIfNeeded is True. |
3107 | ||
3108 | WARNING: This function is dangerous as it can lead to unexpected | |
3109 | reentrancies (i.e. when called from an event handler it | |
3110 | may result in calling the same event handler again), use | |
3111 | with _extreme_ care or, better, don't use at all! | |
3112 | </docstring> | |
f32fc4bc RD |
3113 | <paramlist> |
3114 | <param name="onlyIfNeeded" type="bool" default="False"/> | |
3115 | </paramlist> | |
3116 | </method> | |
3117 | <method name="WakeUpIdle" type="" overloaded="no"> | |
3118 | <autodoc>WakeUpIdle()</autodoc> | |
3119 | <docstring>Make sure that idle events are sent again</docstring> | |
3120 | </method> | |
3121 | <method name="MainLoop" type="int" overloaded="no"> | |
3122 | <autodoc>MainLoop() -> int</autodoc> | |
3123 | <docstring>Execute the main GUI loop, the function returns when the loop ends.</docstring> | |
3124 | </method> | |
3125 | <method name="Exit" type="" overloaded="no"> | |
3126 | <autodoc>Exit()</autodoc> | |
3127 | <docstring>Exit the main loop thus terminating the application.</docstring> | |
3128 | </method> | |
3129 | <method name="ExitMainLoop" type="" overloaded="no"> | |
3130 | <autodoc>ExitMainLoop()</autodoc> | |
3131 | <docstring>Exit the main GUI loop during the next iteration (i.e. it does not | |
0f43fbdf | 3132 | stop the program immediately!)</docstring> |
f32fc4bc RD |
3133 | </method> |
3134 | <method name="Pending" type="bool" overloaded="no"> | |
3135 | <autodoc>Pending() -> bool</autodoc> | |
3136 | <docstring>Returns True if there are unprocessed events in the event queue.</docstring> | |
3137 | </method> | |
3138 | <method name="Dispatch" type="bool" overloaded="no"> | |
3139 | <autodoc>Dispatch() -> bool</autodoc> | |
3140 | <docstring>Process the first event in the event queue (blocks until an event | |
0f43fbdf | 3141 | appears if there are none currently)</docstring> |
f32fc4bc RD |
3142 | </method> |
3143 | <method name="ProcessIdle" type="bool" overloaded="no"> | |
3144 | <autodoc>ProcessIdle() -> bool</autodoc> | |
3145 | <docstring>Called from the MainLoop when the application becomes idle and sends an | |
0f43fbdf RD |
3146 | IdleEvent to all interested parties. Returns True is more idle events are |
3147 | needed, False if not.</docstring> | |
f32fc4bc RD |
3148 | </method> |
3149 | <method name="SendIdleEvents" type="bool" overloaded="no"> | |
3150 | <autodoc>SendIdleEvents(Window win, IdleEvent event) -> bool</autodoc> | |
3151 | <docstring>Send idle event to window and all subwindows. Returns True if more idle time | |
0f43fbdf | 3152 | is requested.</docstring> |
f32fc4bc RD |
3153 | <paramlist> |
3154 | <param name="win" type="wxWindow" default=""/> | |
3155 | <param name="event" type="IdleEvent" default=""/> | |
3156 | </paramlist> | |
3157 | </method> | |
3158 | <method name="IsActive" type="bool" overloaded="no"> | |
3159 | <autodoc>IsActive() -> bool</autodoc> | |
3160 | <docstring>Return True if our app has focus.</docstring> | |
3161 | </method> | |
3162 | <method name="SetTopWindow" type="" overloaded="no"> | |
3163 | <autodoc>SetTopWindow(Window win)</autodoc> | |
3164 | <docstring>Set the "main" top level window</docstring> | |
3165 | <paramlist> | |
3166 | <param name="win" type="wxWindow" default=""/> | |
3167 | </paramlist> | |
3168 | </method> | |
3169 | <method name="GetTopWindow" type="wxWindow" overloaded="no"> | |
3170 | <autodoc>GetTopWindow() -> Window</autodoc> | |
3171 | <docstring>Return the "main" top level window (if it hadn't been set previously with | |
0f43fbdf RD |
3172 | SetTopWindow(), will return just some top level window and, if there not any, |
3173 | will return None)</docstring> | |
f32fc4bc RD |
3174 | </method> |
3175 | <method name="SetExitOnFrameDelete" type="" overloaded="no"> | |
3176 | <autodoc>SetExitOnFrameDelete(bool flag)</autodoc> | |
3177 | <docstring>Control the exit behaviour: by default, the program will exit the main loop | |
0f43fbdf RD |
3178 | (and so, usually, terminate) when the last top-level program window is |
3179 | deleted. Beware that if you disable this behaviour (with | |
3180 | SetExitOnFrameDelete(False)), you'll have to call ExitMainLoop() explicitly | |
3181 | from somewhere. | |
3182 | </docstring> | |
f32fc4bc RD |
3183 | <paramlist> |
3184 | <param name="flag" type="bool" default=""/> | |
3185 | </paramlist> | |
3186 | </method> | |
3187 | <method name="GetExitOnFrameDelete" type="bool" overloaded="no"> | |
3188 | <autodoc>GetExitOnFrameDelete() -> bool</autodoc> | |
3189 | <docstring>Get the current exit behaviour setting.</docstring> | |
3190 | </method> | |
3191 | <method name="SetUseBestVisual" type="" overloaded="no"> | |
3192 | <autodoc>SetUseBestVisual(bool flag)</autodoc> | |
3193 | <docstring>Set whether the app should try to use the best available visual on systems | |
0f43fbdf | 3194 | where more than one is available, (Sun, SGI, XFree86 4, etc.)</docstring> |
f32fc4bc RD |
3195 | <paramlist> |
3196 | <param name="flag" type="bool" default=""/> | |
3197 | </paramlist> | |
3198 | </method> | |
3199 | <method name="GetUseBestVisual" type="bool" overloaded="no"> | |
3200 | <autodoc>GetUseBestVisual() -> bool</autodoc> | |
3201 | <docstring>Get current UseBestVisual setting.</docstring> | |
3202 | </method> | |
3203 | <method name="SetPrintMode" type="" overloaded="no"> | |
3204 | <autodoc>SetPrintMode(int mode)</autodoc> | |
3205 | <paramlist> | |
3206 | <param name="mode" type="int" default=""/> | |
3207 | </paramlist> | |
3208 | </method> | |
3209 | <method name="GetPrintMode" type="int" overloaded="no"> | |
3210 | <autodoc>GetPrintMode() -> int</autodoc> | |
3211 | </method> | |
3212 | <method name="SetAssertMode" type="" overloaded="no"> | |
3213 | <autodoc>SetAssertMode(int mode)</autodoc> | |
3214 | <docstring>Set the OnAssert behaviour for debug and hybrid builds. The following flags | |
0f43fbdf RD |
3215 | may be or'd together: |
3216 | ||
3217 | wx.PYAPP_ASSERT_SUPPRESS Don't do anything | |
3218 | wx.PYAPP_ASSERT_EXCEPTION Turn it into a Python exception if possible (default) | |
3219 | wx.PYAPP_ASSERT_DIALOG Display a message dialog | |
3220 | wx.PYAPP_ASSERT_LOG Write the assertion info to the wx.Log | |
3221 | </docstring> | |
f32fc4bc RD |
3222 | <paramlist> |
3223 | <param name="mode" type="int" default=""/> | |
3224 | </paramlist> | |
3225 | </method> | |
3226 | <method name="GetAssertMode" type="int" overloaded="no"> | |
3227 | <autodoc>GetAssertMode() -> int</autodoc> | |
3228 | <docstring>Get the current OnAssert behaviour setting.</docstring> | |
3229 | </method> | |
3230 | <staticmethod name="GetMacSupportPCMenuShortcuts" type="bool" overloaded="no"> | |
3231 | <autodoc>GetMacSupportPCMenuShortcuts() -> bool</autodoc> | |
3232 | </staticmethod> | |
3233 | <staticmethod name="GetMacAboutMenuItemId" type="long" overloaded="no"> | |
3234 | <autodoc>GetMacAboutMenuItemId() -> long</autodoc> | |
3235 | </staticmethod> | |
3236 | <staticmethod name="GetMacPreferencesMenuItemId" type="long" overloaded="no"> | |
3237 | <autodoc>GetMacPreferencesMenuItemId() -> long</autodoc> | |
3238 | </staticmethod> | |
3239 | <staticmethod name="GetMacExitMenuItemId" type="long" overloaded="no"> | |
3240 | <autodoc>GetMacExitMenuItemId() -> long</autodoc> | |
3241 | </staticmethod> | |
3242 | <staticmethod name="GetMacHelpMenuTitleName" type="String" overloaded="no"> | |
3243 | <autodoc>GetMacHelpMenuTitleName() -> String</autodoc> | |
3244 | </staticmethod> | |
3245 | <staticmethod name="SetMacSupportPCMenuShortcuts" type="" overloaded="no"> | |
3246 | <autodoc>SetMacSupportPCMenuShortcuts(bool val)</autodoc> | |
3247 | <paramlist> | |
3248 | <param name="val" type="bool" default=""/> | |
3249 | </paramlist> | |
3250 | </staticmethod> | |
3251 | <staticmethod name="SetMacAboutMenuItemId" type="" overloaded="no"> | |
3252 | <autodoc>SetMacAboutMenuItemId(long val)</autodoc> | |
3253 | <paramlist> | |
3254 | <param name="val" type="long" default=""/> | |
3255 | </paramlist> | |
3256 | </staticmethod> | |
3257 | <staticmethod name="SetMacPreferencesMenuItemId" type="" overloaded="no"> | |
3258 | <autodoc>SetMacPreferencesMenuItemId(long val)</autodoc> | |
3259 | <paramlist> | |
3260 | <param name="val" type="long" default=""/> | |
3261 | </paramlist> | |
3262 | </staticmethod> | |
3263 | <staticmethod name="SetMacExitMenuItemId" type="" overloaded="no"> | |
3264 | <autodoc>SetMacExitMenuItemId(long val)</autodoc> | |
3265 | <paramlist> | |
3266 | <param name="val" type="long" default=""/> | |
3267 | </paramlist> | |
3268 | </staticmethod> | |
3269 | <staticmethod name="SetMacHelpMenuTitleName" type="" overloaded="no"> | |
3270 | <autodoc>SetMacHelpMenuTitleName(String val)</autodoc> | |
3271 | <paramlist> | |
3272 | <param name="val" type="String" default=""/> | |
3273 | </paramlist> | |
3274 | </staticmethod> | |
3275 | <method name="_BootstrapApp" type="" overloaded="no"> | |
3276 | <autodoc>_BootstrapApp()</autodoc> | |
3277 | <docstring>For internal use only</docstring> | |
3278 | </method> | |
3279 | <staticmethod name="GetComCtl32Version" type="int" overloaded="no"> | |
3280 | <autodoc>GetComCtl32Version() -> int</autodoc> | |
3281 | <docstring>Returns 400, 470, 471 for comctl32.dll 4.00, 4.70, 4.71 or 0 if it | |
856bf319 | 3282 | wasn't found at all. Raises an exception on non-Windows platforms.</docstring> |
f32fc4bc RD |
3283 | </staticmethod> |
3284 | </class> | |
3285 | <pythoncode> | |
856bf319 RD |
3286 | #--------------------------------------------------------------------------- |
3287 | </pythoncode> | |
f32fc4bc RD |
3288 | <method name="Exit" oldname="wxExit" type="" overloaded="no"> |
3289 | <autodoc>Exit()</autodoc> | |
3290 | <docstring>Force an exit of the application. Convenience for wx.GetApp().Exit()</docstring> | |
3291 | </method> | |
3292 | <method name="Yield" oldname="wxYield" type="bool" overloaded="no"> | |
3293 | <autodoc>Yield() -> bool</autodoc> | |
3294 | <docstring>Yield to other apps/messages. Convenience for wx.GetApp().Yield()</docstring> | |
3295 | </method> | |
3296 | <method name="YieldIfNeeded" oldname="wxYieldIfNeeded" type="bool" overloaded="no"> | |
3297 | <autodoc>YieldIfNeeded() -> bool</autodoc> | |
3298 | <docstring>Yield to other apps/messages. Convenience for wx.GetApp().Yield(True)</docstring> | |
3299 | </method> | |
3300 | <method name="SafeYield" oldname="wxSafeYield" type="bool" overloaded="no"> | |
3301 | <autodoc>SafeYield(Window win=None, bool onlyIfNeeded=False) -> bool</autodoc> | |
3302 | <docstring>This function is similar to wx.Yield, except that it disables the user input | |
0f43fbdf RD |
3303 | to all program windows before calling wx.Yield and re-enables it again |
3304 | afterwards. If win is not None, this window will remain enabled, allowing the | |
3305 | implementation of some limited user interaction. | |
3306 | ||
3307 | Returns the result of the call to wx.Yield.</docstring> | |
f32fc4bc RD |
3308 | <paramlist> |
3309 | <param name="win" type="wxWindow" default="NULL"/> | |
3310 | <param name="onlyIfNeeded" type="bool" default="False"/> | |
3311 | </paramlist> | |
3312 | </method> | |
3313 | <method name="WakeUpIdle" oldname="wxWakeUpIdle" type="" overloaded="no"> | |
3314 | <autodoc>WakeUpIdle()</autodoc> | |
3315 | <docstring>Cause the message queue to become empty again, so idle events will be sent.</docstring> | |
3316 | </method> | |
3317 | <method name="PostEvent" oldname="wxPostEvent" type="" overloaded="no"> | |
3318 | <autodoc>PostEvent(EvtHandler dest, Event event)</autodoc> | |
3319 | <docstring>Send an event to a window or other wx.EvtHandler to be processed later.</docstring> | |
3320 | <paramlist> | |
3321 | <param name="dest" type="EvtHandler" default=""/> | |
3322 | <param name="event" type="Event" default=""/> | |
3323 | </paramlist> | |
3324 | </method> | |
3325 | <method name="App_CleanUp" oldname="wxApp_CleanUp" type="" overloaded="no"> | |
3326 | <autodoc>App_CleanUp()</autodoc> | |
3327 | <docstring>For internal use only, it is used to cleanup after wxWindows when Python shuts down.</docstring> | |
3328 | </method> | |
3329 | <method name="GetApp" oldname="wxGetApp" type="PyApp" overloaded="no"> | |
3330 | <autodoc>GetApp() -> PyApp</autodoc> | |
3331 | <docstring>Return a reference to the current wx.App object.</docstring> | |
3332 | </method> | |
3333 | <pythoncode> | |
0f43fbdf RD |
3334 | #---------------------------------------------------------------------- |
3335 | ||
3336 | class PyOnDemandOutputWindow: | |
3337 | """ | |
3338 | A class that can be used for redirecting Python's stdout and | |
3339 | stderr streams. It will do nothing until something is wrriten to | |
3340 | the stream at which point it will create a Frame with a text area | |
3341 | and write the text there. | |
3342 | """ | |
3343 | def __init__(self, title = "wxPython: stdout/stderr"): | |
3344 | self.frame = None | |
3345 | self.title = title | |
3346 | self.parent = None | |
3347 | ||
3348 | def SetParent(self, parent): | |
3349 | """Set the window to be used as the popup Frame's parent.""" | |
3350 | self.parent = parent | |
3351 | ||
3352 | ||
3353 | def CreateOutputWindow(self, st): | |
3354 | self.frame = wx.Frame(self.parent, -1, self.title, | |
3355 | style=wx.DEFAULT_FRAME_STYLE | wx.NO_FULL_REPAINT_ON_RESIZE) | |
3356 | self.text = wx.TextCtrl(self.frame, -1, "", | |
3357 | style = wx.TE_MULTILINE | wx.TE_READONLY) | |
cff531b1 | 3358 | self.text.AppendText(st) |
0f43fbdf RD |
3359 | self.frame.SetSize((450, 300)) |
3360 | self.frame.Show(True) | |
3361 | EVT_CLOSE(self.frame, self.OnCloseWindow) | |
3362 | ||
3363 | ||
b39e211b RD |
3364 | def OnCloseWindow(self, event): |
3365 | if self.frame is not None: | |
3366 | self.frame.Destroy() | |
3367 | self.frame = None | |
3368 | self.text = None | |
3369 | ||
3370 | ||
0f43fbdf RD |
3371 | # These methods provide the file-like output behaviour. |
3372 | def write(self, text): | |
3373 | """ | |
3374 | Create the output window if needed and write the string to it. | |
3375 | If not called in the context of the gui thread then uses | |
3376 | CallAfter to do the work there. | |
3377 | """ | |
3378 | if self.frame is None: | |
3379 | if not wx.Thread_IsMain(): | |
3380 | wx.CallAfter(self.CreateOutputWindow, text) | |
3381 | else: | |
3382 | self.CreateOutputWindow(text) | |
3383 | else: | |
3384 | if not wx.Thread_IsMain(): | |
3385 | wx.CallAfter(self.text.AppendText, text) | |
3386 | else: | |
3387 | self.text.AppendText(text) | |
3388 | ||
3389 | ||
3390 | def close(self): | |
3391 | if self.frame is not None: | |
3392 | wx.CallAfter(self.frame.Close) | |
3393 | ||
3394 | ||
0f43fbdf RD |
3395 | |
3396 | #---------------------------------------------------------------------- | |
3397 | ||
3398 | _defRedirect = (wx.Platform == '__WXMSW__' or wx.Platform == '__WXMAC__') | |
3399 | ||
3400 | class App(wx.PyApp): | |
3401 | """ | |
3402 | The main application class. Derive from this and implement an OnInit | |
3403 | method that creates a frame and then calls self.SetTopWindow(frame) | |
3404 | """ | |
3405 | outputWindowClass = PyOnDemandOutputWindow | |
3406 | ||
3407 | def __init__(self, redirect=_defRedirect, filename=None, useBestVisual=False): | |
3408 | wx.PyApp.__init__(self) | |
3409 | ||
3410 | if wx.Platform == "__WXMAC__": | |
3411 | try: | |
3412 | import MacOS | |
3413 | if not MacOS.WMAvailable(): | |
3414 | print """\\ | |
3415 | This program needs access to the screen. Please run with 'pythonw', | |
3416 | not 'python', and only when you are logged in on the main display of | |
3417 | your Mac.""" | |
3418 | _sys.exit(1) | |
3419 | except: | |
3420 | pass | |
3421 | ||
3422 | # This has to be done before OnInit | |
3423 | self.SetUseBestVisual(useBestVisual) | |
3424 | ||
3425 | # Set the default handler for SIGINT. This fixes a problem | |
3426 | # where if Ctrl-C is pressed in the console that started this | |
3427 | # app then it will not appear to do anything, (not even send | |
3428 | # KeyboardInterrupt???) but will later segfault on exit. By | |
3429 | # setting the default handler then the app will exit, as | |
3430 | # expected (depending on platform.) | |
3431 | try: | |
3432 | import signal | |
3433 | signal.signal(signal.SIGINT, signal.SIG_DFL) | |
3434 | except: | |
3435 | pass | |
3436 | ||
3437 | # Save and redirect the stdio to a window? | |
3438 | self.stdioWin = None | |
3439 | self.saveStdio = (_sys.stdout, _sys.stderr) | |
3440 | if redirect: | |
3441 | self.RedirectStdio(filename) | |
3442 | ||
3443 | # This finishes the initialization of wxWindows and then calls | |
3444 | # the OnInit that should be present in the derived class | |
3445 | self._BootstrapApp() | |
3446 | ||
3447 | ||
3448 | def __del__(self): | |
3449 | try: | |
3450 | self.RestoreStdio() # Just in case the MainLoop was overridden | |
3451 | except: | |
3452 | pass | |
3453 | ||
3454 | ||
3455 | def SetTopWindow(self, frame): | |
3456 | """Set the \\"main\\" top level window""" | |
3457 | if self.stdioWin: | |
3458 | self.stdioWin.SetParent(frame) | |
3459 | wx.PyApp.SetTopWindow(self, frame) | |
3460 | ||
3461 | ||
3462 | def MainLoop(self): | |
3463 | """Execute the main GUI event loop""" | |
3464 | wx.PyApp.MainLoop(self) | |
3465 | self.RestoreStdio() | |
3466 | ||
3467 | ||
b39e211b | 3468 | def RedirectStdio(self, filename=None): |
0f43fbdf RD |
3469 | """Redirect sys.stdout and sys.stderr to a file or a popup window.""" |
3470 | if filename: | |
3471 | _sys.stdout = _sys.stderr = open(filename, 'a') | |
3472 | else: | |
3473 | self.stdioWin = self.outputWindowClass() | |
3474 | _sys.stdout = _sys.stderr = self.stdioWin | |
3475 | ||
3476 | ||
3477 | def RestoreStdio(self): | |
3478 | _sys.stdout, _sys.stderr = self.saveStdio | |
3479 | ||
3480 | ||
3481 | ||
3482 | # change from wxPyApp_ to wxApp_ | |
3483 | App_GetMacSupportPCMenuShortcuts = _core.PyApp_GetMacSupportPCMenuShortcuts | |
3484 | App_GetMacAboutMenuItemId = _core.PyApp_GetMacAboutMenuItemId | |
3485 | App_GetMacPreferencesMenuItemId = _core.PyApp_GetMacPreferencesMenuItemId | |
3486 | App_GetMacExitMenuItemId = _core.PyApp_GetMacExitMenuItemId | |
3487 | App_GetMacHelpMenuTitleName = _core.PyApp_GetMacHelpMenuTitleName | |
3488 | App_SetMacSupportPCMenuShortcuts = _core.PyApp_SetMacSupportPCMenuShortcuts | |
3489 | App_SetMacAboutMenuItemId = _core.PyApp_SetMacAboutMenuItemId | |
3490 | App_SetMacPreferencesMenuItemId = _core.PyApp_SetMacPreferencesMenuItemId | |
3491 | App_SetMacExitMenuItemId = _core.PyApp_SetMacExitMenuItemId | |
3492 | App_SetMacHelpMenuTitleName = _core.PyApp_SetMacHelpMenuTitleName | |
3493 | App_GetComCtl32Version = _core.PyApp_GetComCtl32Version | |
3494 | ||
3495 | #---------------------------------------------------------------------------- | |
3496 | ||
3497 | class PySimpleApp(wx.App): | |
3498 | """ | |
3499 | A simple application class. You can just create one of these and | |
3500 | then then make your top level windows later, and not have to worry | |
3501 | about OnInit.""" | |
3502 | ||
3503 | def __init__(self, redirect=False, filename=None, useBestVisual=False): | |
3504 | wx.App.__init__(self, redirect, filename, useBestVisual) | |
3505 | ||
3506 | def OnInit(self): | |
3507 | wx.InitAllImageHandlers() | |
3508 | return True | |
3509 | ||
3510 | ||
3511 | # Is anybody using this one? | |
3512 | class PyWidgetTester(wx.App): | |
3513 | def __init__(self, size = (250, 100)): | |
3514 | self.size = size | |
3515 | wx.App.__init__(self, 0) | |
3516 | ||
3517 | def OnInit(self): | |
3518 | self.frame = wx.Frame(None, -1, "Widget Tester", pos=(0,0), size=self.size) | |
3519 | self.SetTopWindow(self.frame) | |
3520 | return True | |
3521 | ||
3522 | def SetWidget(self, widgetClass, *args): | |
3523 | w = widgetClass(self.frame, *args) | |
3524 | self.frame.Show(True) | |
3525 | ||
3526 | #---------------------------------------------------------------------------- | |
3527 | # DO NOT hold any other references to this object. This is how we | |
3528 | # know when to cleanup system resources that wxWin is holding. When | |
3529 | # the sys module is unloaded, the refcount on sys.__wxPythonCleanup | |
3530 | # goes to zero and it calls the wxApp_CleanUp function. | |
3531 | ||
3532 | class __wxPyCleanup: | |
3533 | def __init__(self): | |
3534 | self.cleanup = _core.App_CleanUp | |
3535 | def __del__(self): | |
3536 | self.cleanup() | |
3537 | ||
3538 | _sys.__wxPythonCleanup = __wxPyCleanup() | |
3539 | ||
3540 | ## # another possible solution, but it gets called too early... | |
3541 | ## if sys.version[0] == '2': | |
3542 | ## import atexit | |
3543 | ## atexit.register(_core.wxApp_CleanUp) | |
3544 | ## else: | |
3545 | ## sys.exitfunc = _core.wxApp_CleanUp | |
3546 | ||
3547 | ||
3548 | #---------------------------------------------------------------------------- | |
3549 | </pythoncode> | |
f32fc4bc | 3550 | <pythoncode> |
0f43fbdf RD |
3551 | #--------------------------------------------------------------------------- |
3552 | </pythoncode> | |
f32fc4bc RD |
3553 | <class name="AcceleratorEntry" oldname="wxAcceleratorEntry" module="core"> |
3554 | <constructor name="AcceleratorEntry" overloaded="no"> | |
3555 | <autodoc>__init__(int flags=0, int keyCode=0, int cmd=0, MenuItem item=None) -> AcceleratorEntry</autodoc> | |
3556 | <paramlist> | |
3557 | <param name="flags" type="int" default="0"/> | |
3558 | <param name="keyCode" type="int" default="0"/> | |
3559 | <param name="cmd" type="int" default="0"/> | |
3560 | <param name="item" type="wxMenuItem" default="NULL"/> | |
3561 | </paramlist> | |
3562 | </constructor> | |
3563 | <destructor name="~wxAcceleratorEntry" overloaded="no"> | |
3564 | <autodoc>__del__()</autodoc> | |
3565 | </destructor> | |
3566 | <method name="Set" type="" overloaded="no"> | |
3567 | <autodoc>Set(int flags, int keyCode, int cmd, MenuItem item=None)</autodoc> | |
3568 | <paramlist> | |
3569 | <param name="flags" type="int" default=""/> | |
3570 | <param name="keyCode" type="int" default=""/> | |
3571 | <param name="cmd" type="int" default=""/> | |
3572 | <param name="item" type="wxMenuItem" default="NULL"/> | |
3573 | </paramlist> | |
3574 | </method> | |
3575 | <method name="SetMenuItem" type="" overloaded="no"> | |
3576 | <autodoc>SetMenuItem(MenuItem item)</autodoc> | |
3577 | <paramlist> | |
3578 | <param name="item" type="wxMenuItem" default=""/> | |
3579 | </paramlist> | |
3580 | </method> | |
3581 | <method name="GetMenuItem" type="wxMenuItem" overloaded="no"> | |
3582 | <autodoc>GetMenuItem() -> MenuItem</autodoc> | |
3583 | </method> | |
3584 | <method name="GetFlags" type="int" overloaded="no"> | |
3585 | <autodoc>GetFlags() -> int</autodoc> | |
3586 | </method> | |
3587 | <method name="GetKeyCode" type="int" overloaded="no"> | |
3588 | <autodoc>GetKeyCode() -> int</autodoc> | |
3589 | </method> | |
3590 | <method name="GetCommand" type="int" overloaded="no"> | |
3591 | <autodoc>GetCommand() -> int</autodoc> | |
3592 | </method> | |
3593 | </class> | |
3594 | <class name="AcceleratorTable" oldname="wxAcceleratorTable" module="core"> | |
3595 | <baseclass name="Object"/> | |
3596 | <constructor name="AcceleratorTable" overloaded="no"> | |
3597 | <autodoc>__init__(entries) -> AcceleratorTable</autodoc> | |
3598 | <docstring>Construct an AcceleratorTable from a list of AcceleratorEntry items or | |
0f43fbdf | 3599 | 3-tuples (flags, keyCode, cmdID)</docstring> |
f32fc4bc RD |
3600 | <paramlist> |
3601 | <param name="n" type="int" default=""/> | |
3602 | <param name="entries" type="AcceleratorEntry" default=""/> | |
3603 | </paramlist> | |
3604 | </constructor> | |
3605 | <destructor name="~wxAcceleratorTable" overloaded="no"> | |
3606 | <autodoc>__del__()</autodoc> | |
3607 | </destructor> | |
3608 | <method name="Ok" type="bool" overloaded="no"> | |
3609 | <autodoc>Ok() -> bool</autodoc> | |
3610 | </method> | |
3611 | </class> | |
3612 | <method name="GetAccelFromString" oldname="wxGetAccelFromString" type="AcceleratorEntry" overloaded="no"> | |
3613 | <autodoc>GetAccelFromString(String label) -> AcceleratorEntry</autodoc> | |
3614 | <paramlist> | |
3615 | <param name="label" type="String" default=""/> | |
0f43fbdf | 3616 | </paramlist> |
0f43fbdf | 3617 | </method> |
f32fc4bc | 3618 | <pythoncode> |
0f43fbdf RD |
3619 | #--------------------------------------------------------------------------- |
3620 | </pythoncode> | |
f32fc4bc | 3621 | <class name="Window" oldname="wxWindow" module="core"> |
c2dda882 RD |
3622 | <docstring> |
3623 | wx.Window is the base class for all windows and represents any visible | |
3624 | object on the screen. All controls, top level windows and so on are | |
3625 | wx.Windows. Sizers and device contexts are not however, as they don't | |
3626 | appear on screen themselves. | |
3627 | </docstring> | |
3628 | <refdoc> | |
3629 | Styles | |
3630 | ||
3631 | wx.SIMPLE_BORDER: Displays a thin border around the window. | |
3632 | ||
3633 | wx.DOUBLE_BORDER: Displays a double border. Windows and Mac only. | |
3634 | ||
3635 | wx.SUNKEN_BORDER: Displays a sunken border. | |
3636 | ||
3637 | wx.RAISED_BORDER: Displays a raised border. | |
3638 | ||
3639 | wx.STATIC_BORDER: Displays a border suitable for a static | |
3640 | control. Windows only. | |
3641 | ||
3642 | wx.NO_BORDER: Displays no border, overriding the default | |
3643 | border style for the window. | |
3644 | ||
3645 | wx.TRANSPARENT_WINDOW: The window is transparent, that is, it | |
3646 | will not receive paint events. Windows only. | |
3647 | ||
3648 | wx.TAB_TRAVERSAL: Use this to enable tab traversal for | |
3649 | non-dialog windows. | |
3650 | ||
3651 | wx.WANTS_CHARS: Use this to indicate that the window | |
3652 | wants to get all char/key events for | |
3653 | all keys - even for keys like TAB or | |
3654 | ENTER which are usually used for | |
3655 | dialog navigation and which wouldn't | |
3656 | be generated without this style. If | |
3657 | you need to use this style in order to | |
3658 | get the arrows or etc., but would | |
3659 | still like to have normal keyboard | |
3660 | navigation take place, you should | |
3661 | create and send a wxNavigationKeyEvent | |
3662 | in response to the key events for Tab | |
3663 | and Shift-Tab. | |
3664 | ||
3665 | wx.NO_FULL_REPAINT_ON_RESIZE: Disables repainting the window | |
3666 | completely when its size is changed | |
3667 | - you will have to repaint the new | |
3668 | window area manually if you use this | |
3669 | style. As of version 2.5.1 this | |
3670 | style is on by default. Use | |
3671 | wx.FULL_REPAINT_ON_RESIZE to | |
3672 | deactivate it. | |
3673 | ||
3674 | wx.VSCROLL: Use this style to enable a vertical scrollbar. | |
3675 | ||
3676 | wx.HSCROLL: Use this style to enable a horizontal scrollbar. | |
3677 | ||
3678 | wx.ALWAYS_SHOW_SB: If a window has scrollbars, disable them | |
3679 | instead of hiding them when they are | |
3680 | not needed (i.e. when the size of the | |
3681 | window is big enough to not require | |
3682 | the scrollbars to navigate it). This | |
3683 | style is currently only implemented | |
3684 | for wxMSW and wxUniversal and does | |
3685 | nothing on the other platforms. | |
3686 | ||
3687 | wx.CLIP_CHILDREN: Use this style to eliminate flicker caused by | |
3688 | the background being repainted, then | |
3689 | children being painted over | |
3690 | them. Windows only. | |
3691 | ||
3692 | wx.FULL_REPAINT_ON_RESIZE: Use this style to force a complete | |
3693 | redraw of the window whenever it is | |
3694 | resized instead of redrawing just the | |
3695 | part of the window affected by | |
3696 | resizing. Note that this was the | |
3697 | behaviour by default before 2.5.1 | |
3698 | release and that if you experience | |
3699 | redraw problems with the code which | |
3700 | previously used to work you may want | |
3701 | to try this. | |
3702 | ||
3703 | Extra Styles | |
3704 | ||
3705 | wx.WS_EX_VALIDATE_RECURSIVELY: By default, | |
3706 | Validate/TransferDataTo/FromWindow() | |
3707 | only work on direct children of | |
3708 | the window (compatible | |
3709 | behaviour). Set this flag to make | |
3710 | them recursively descend into all | |
3711 | subwindows. | |
3712 | ||
3713 | wx.WS_EX_BLOCK_EVENTS: wx.CommandEvents and the objects of the | |
3714 | derived classes are forwarded to | |
3715 | the parent window and so on | |
3716 | recursively by default. Using this | |
3717 | flag for the given window allows | |
3718 | to block this propagation at this | |
3719 | window, i.e. prevent the events | |
3720 | from being propagated further | |
3721 | upwards. Dialogs have this flag on | |
3722 | by default. | |
3723 | ||
3724 | wx.WS_EX_TRANSIENT Don't use this window as an implicit parent for | |
3725 | the other windows: this must be | |
3726 | used with transient windows as | |
3727 | otherwise there is the risk of | |
3728 | creating a dialog/frame with this | |
3729 | window as a parent which would | |
3730 | lead to a crash if the parent is | |
3731 | destroyed before the child. | |
3732 | ||
3733 | wx.WS_EX_PROCESS_IDLE: This window should always process idle | |
3734 | events, even if the mode set by | |
3735 | wx.IdleEvent.SetMode is | |
3736 | wx.IDLE_PROCESS_SPECIFIED. | |
3737 | ||
3738 | wx.WS_EX_PROCESS_UI_UPDATES This window should always process UI | |
3739 | update events, even if the mode | |
3740 | set by wxUpdateUIEvent::SetMode is | |
3741 | wxUPDATE_UI_PROCESS_SPECIFIED. | |
3742 | ||
3743 | </refdoc> | |
f32fc4bc RD |
3744 | <baseclass name="EvtHandler"/> |
3745 | <constructor name="Window" overloaded="no"> | |
3746 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
0f43fbdf | 3747 | long style=0, String name=PanelNameStr) -> Window</autodoc> |
c2dda882 RD |
3748 | <docstring>Construct and show a generic Window.</docstring> |
3749 | <refdoc> | |
3750 | Styles | |
3751 | ||
3752 | wx.SIMPLE_BORDER: Displays a thin border around the window. | |
3753 | ||
3754 | wx.DOUBLE_BORDER: Displays a double border. Windows and Mac only. | |
3755 | ||
3756 | wx.SUNKEN_BORDER: Displays a sunken border. | |
3757 | ||
3758 | wx.RAISED_BORDER: Displays a raised border. | |
3759 | ||
3760 | wx.STATIC_BORDER: Displays a border suitable for a static | |
3761 | control. Windows only. | |
3762 | ||
3763 | wx.NO_BORDER: Displays no border, overriding the default | |
3764 | border style for the window. | |
3765 | ||
3766 | wx.TRANSPARENT_WINDOW: The window is transparent, that is, it | |
3767 | will not receive paint events. Windows only. | |
3768 | ||
3769 | wx.TAB_TRAVERSAL: Use this to enable tab traversal for | |
3770 | non-dialog windows. | |
3771 | ||
3772 | wx.WANTS_CHARS: Use this to indicate that the window | |
3773 | wants to get all char/key events for | |
3774 | all keys - even for keys like TAB or | |
3775 | ENTER which are usually used for | |
3776 | dialog navigation and which wouldn't | |
3777 | be generated without this style. If | |
3778 | you need to use this style in order to | |
3779 | get the arrows or etc., but would | |
3780 | still like to have normal keyboard | |
3781 | navigation take place, you should | |
3782 | create and send a wxNavigationKeyEvent | |
3783 | in response to the key events for Tab | |
3784 | and Shift-Tab. | |
3785 | ||
3786 | wx.NO_FULL_REPAINT_ON_RESIZE: Disables repainting the window | |
3787 | completely when its size is changed | |
3788 | - you will have to repaint the new | |
3789 | window area manually if you use this | |
3790 | style. As of version 2.5.1 this | |
3791 | style is on by default. Use | |
3792 | wx.FULL_REPAINT_ON_RESIZE to | |
3793 | deactivate it. | |
3794 | ||
3795 | wx.VSCROLL: Use this style to enable a vertical scrollbar. | |
3796 | ||
3797 | wx.HSCROLL: Use this style to enable a horizontal scrollbar. | |
3798 | ||
3799 | wx.ALWAYS_SHOW_SB: If a window has scrollbars, disable them | |
3800 | instead of hiding them when they are | |
3801 | not needed (i.e. when the size of the | |
3802 | window is big enough to not require | |
3803 | the scrollbars to navigate it). This | |
3804 | style is currently only implemented | |
3805 | for wxMSW and wxUniversal and does | |
3806 | nothing on the other platforms. | |
3807 | ||
3808 | wx.CLIP_CHILDREN: Use this style to eliminate flicker caused by | |
3809 | the background being repainted, then | |
3810 | children being painted over | |
3811 | them. Windows only. | |
3812 | ||
3813 | wx.FULL_REPAINT_ON_RESIZE: Use this style to force a complete | |
3814 | redraw of the window whenever it is | |
3815 | resized instead of redrawing just the | |
3816 | part of the window affected by | |
3817 | resizing. Note that this was the | |
3818 | behaviour by default before 2.5.1 | |
3819 | release and that if you experience | |
3820 | redraw problems with the code which | |
3821 | previously used to work you may want | |
3822 | to try this. | |
3823 | ||
3824 | Extra Styles | |
3825 | ||
3826 | wx.WS_EX_VALIDATE_RECURSIVELY: By default, | |
3827 | Validate/TransferDataTo/FromWindow() | |
3828 | only work on direct children of | |
3829 | the window (compatible | |
3830 | behaviour). Set this flag to make | |
3831 | them recursively descend into all | |
3832 | subwindows. | |
3833 | ||
3834 | wx.WS_EX_BLOCK_EVENTS: wx.CommandEvents and the objects of the | |
3835 | derived classes are forwarded to | |
3836 | the parent window and so on | |
3837 | recursively by default. Using this | |
3838 | flag for the given window allows | |
3839 | to block this propagation at this | |
3840 | window, i.e. prevent the events | |
3841 | from being propagated further | |
3842 | upwards. Dialogs have this flag on | |
3843 | by default. | |
3844 | ||
3845 | wx.WS_EX_TRANSIENT Don't use this window as an implicit parent for | |
3846 | the other windows: this must be | |
3847 | used with transient windows as | |
3848 | otherwise there is the risk of | |
3849 | creating a dialog/frame with this | |
3850 | window as a parent which would | |
3851 | lead to a crash if the parent is | |
3852 | destroyed before the child. | |
3853 | ||
3854 | wx.WS_EX_PROCESS_IDLE: This window should always process idle | |
3855 | events, even if the mode set by | |
3856 | wx.IdleEvent.SetMode is | |
3857 | wx.IDLE_PROCESS_SPECIFIED. | |
3858 | ||
3859 | wx.WS_EX_PROCESS_UI_UPDATES This window should always process UI | |
3860 | update events, even if the mode | |
3861 | set by wxUpdateUIEvent::SetMode is | |
3862 | wxUPDATE_UI_PROCESS_SPECIFIED. | |
3863 | ||
3864 | </refdoc> | |
f32fc4bc RD |
3865 | <paramlist> |
3866 | <param name="parent" type="Window" default=""/> | |
3867 | <param name="id" type="int" default=""/> | |
3868 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
3869 | <param name="size" type="Size" default="wxDefaultSize"/> | |
3870 | <param name="style" type="long" default="0"/> | |
3871 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
3872 | </paramlist> | |
3873 | </constructor> | |
3874 | <constructor name="PreWindow" overloaded="no"> | |
3875 | <autodoc>PreWindow() -> Window</autodoc> | |
c2dda882 RD |
3876 | <docstring>Precreate a Window for 2-phase creation.</docstring> |
3877 | <refdoc> | |
3878 | Styles | |
3879 | ||
3880 | wx.SIMPLE_BORDER: Displays a thin border around the window. | |
3881 | ||
3882 | wx.DOUBLE_BORDER: Displays a double border. Windows and Mac only. | |
3883 | ||
3884 | wx.SUNKEN_BORDER: Displays a sunken border. | |
3885 | ||
3886 | wx.RAISED_BORDER: Displays a raised border. | |
3887 | ||
3888 | wx.STATIC_BORDER: Displays a border suitable for a static | |
3889 | control. Windows only. | |
3890 | ||
3891 | wx.NO_BORDER: Displays no border, overriding the default | |
3892 | border style for the window. | |
3893 | ||
3894 | wx.TRANSPARENT_WINDOW: The window is transparent, that is, it | |
3895 | will not receive paint events. Windows only. | |
3896 | ||
3897 | wx.TAB_TRAVERSAL: Use this to enable tab traversal for | |
3898 | non-dialog windows. | |
3899 | ||
3900 | wx.WANTS_CHARS: Use this to indicate that the window | |
3901 | wants to get all char/key events for | |
3902 | all keys - even for keys like TAB or | |
3903 | ENTER which are usually used for | |
3904 | dialog navigation and which wouldn't | |
3905 | be generated without this style. If | |
3906 | you need to use this style in order to | |
3907 | get the arrows or etc., but would | |
3908 | still like to have normal keyboard | |
3909 | navigation take place, you should | |
3910 | create and send a wxNavigationKeyEvent | |
3911 | in response to the key events for Tab | |
3912 | and Shift-Tab. | |
3913 | ||
3914 | wx.NO_FULL_REPAINT_ON_RESIZE: Disables repainting the window | |
3915 | completely when its size is changed | |
3916 | - you will have to repaint the new | |
3917 | window area manually if you use this | |
3918 | style. As of version 2.5.1 this | |
3919 | style is on by default. Use | |
3920 | wx.FULL_REPAINT_ON_RESIZE to | |
3921 | deactivate it. | |
3922 | ||
3923 | wx.VSCROLL: Use this style to enable a vertical scrollbar. | |
3924 | ||
3925 | wx.HSCROLL: Use this style to enable a horizontal scrollbar. | |
3926 | ||
3927 | wx.ALWAYS_SHOW_SB: If a window has scrollbars, disable them | |
3928 | instead of hiding them when they are | |
3929 | not needed (i.e. when the size of the | |
3930 | window is big enough to not require | |
3931 | the scrollbars to navigate it). This | |
3932 | style is currently only implemented | |
3933 | for wxMSW and wxUniversal and does | |
3934 | nothing on the other platforms. | |
3935 | ||
3936 | wx.CLIP_CHILDREN: Use this style to eliminate flicker caused by | |
3937 | the background being repainted, then | |
3938 | children being painted over | |
3939 | them. Windows only. | |
3940 | ||
3941 | wx.FULL_REPAINT_ON_RESIZE: Use this style to force a complete | |
3942 | redraw of the window whenever it is | |
3943 | resized instead of redrawing just the | |
3944 | part of the window affected by | |
3945 | resizing. Note that this was the | |
3946 | behaviour by default before 2.5.1 | |
3947 | release and that if you experience | |
3948 | redraw problems with the code which | |
3949 | previously used to work you may want | |
3950 | to try this. | |
3951 | ||
3952 | Extra Styles | |
3953 | ||
3954 | wx.WS_EX_VALIDATE_RECURSIVELY: By default, | |
3955 | Validate/TransferDataTo/FromWindow() | |
3956 | only work on direct children of | |
3957 | the window (compatible | |
3958 | behaviour). Set this flag to make | |
3959 | them recursively descend into all | |
3960 | subwindows. | |
3961 | ||
3962 | wx.WS_EX_BLOCK_EVENTS: wx.CommandEvents and the objects of the | |
3963 | derived classes are forwarded to | |
3964 | the parent window and so on | |
3965 | recursively by default. Using this | |
3966 | flag for the given window allows | |
3967 | to block this propagation at this | |
3968 | window, i.e. prevent the events | |
3969 | from being propagated further | |
3970 | upwards. Dialogs have this flag on | |
3971 | by default. | |
3972 | ||
3973 | wx.WS_EX_TRANSIENT Don't use this window as an implicit parent for | |
3974 | the other windows: this must be | |
3975 | used with transient windows as | |
3976 | otherwise there is the risk of | |
3977 | creating a dialog/frame with this | |
3978 | window as a parent which would | |
3979 | lead to a crash if the parent is | |
3980 | destroyed before the child. | |
3981 | ||
3982 | wx.WS_EX_PROCESS_IDLE: This window should always process idle | |
3983 | events, even if the mode set by | |
3984 | wx.IdleEvent.SetMode is | |
3985 | wx.IDLE_PROCESS_SPECIFIED. | |
3986 | ||
3987 | wx.WS_EX_PROCESS_UI_UPDATES This window should always process UI | |
3988 | update events, even if the mode | |
3989 | set by wxUpdateUIEvent::SetMode is | |
3990 | wxUPDATE_UI_PROCESS_SPECIFIED. | |
3991 | ||
3992 | </refdoc> | |
f32fc4bc RD |
3993 | </constructor> |
3994 | <method name="Create" type="bool" overloaded="no"> | |
3995 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
0f43fbdf | 3996 | long style=0, String name=PanelNameStr) -> bool</autodoc> |
c2dda882 | 3997 | <docstring>Create the GUI part of the Window for 2-phase creation mode.</docstring> |
f32fc4bc RD |
3998 | <paramlist> |
3999 | <param name="parent" type="Window" default=""/> | |
4000 | <param name="id" type="int" default=""/> | |
4001 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
4002 | <param name="size" type="Size" default="wxDefaultSize"/> | |
4003 | <param name="style" type="long" default="0"/> | |
4004 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
4005 | </paramlist> | |
4006 | </method> | |
4007 | <method name="Close" type="bool" overloaded="no"> | |
4008 | <autodoc>Close(bool force=False) -> bool</autodoc> | |
c2dda882 RD |
4009 | <docstring>This function simply generates a EVT_CLOSE event whose handler usually |
4010 | tries to close the window. It doesn't close the window itself, | |
4011 | however. If force is False (the default) then the window's close | |
4012 | handler will be allowed to veto the destruction of the window. | |
4013 | ||
4014 | Usually Close is only used with the top level windows (wx.Frame and | |
4015 | wx.Dialog classes) as the others are not supposed to have any special | |
4016 | EVT_CLOSE logic. | |
4017 | ||
4018 | The close handler should check whether the window is being deleted | |
4019 | forcibly, using wx.CloseEvent.GetForce, in which case it should | |
4020 | destroy the window using wx.Window.Destroy. | |
4021 | ||
4022 | Note that calling Close does not guarantee that the window will be | |
4023 | destroyed; but it provides a way to simulate a manual close of a | |
4024 | window, which may or may not be implemented by destroying the | |
4025 | window. The default EVT_CLOSE handler for wx.Dialog does not | |
4026 | necessarily delete the dialog, since it will simply simulate an | |
4027 | wxID_CANCEL event which is handled by the appropriate button event | |
4028 | handler and may do anything at all. | |
4029 | ||
4030 | To guarantee that the window will be destroyed, call wx.Window.Destroy | |
4031 | instead.</docstring> | |
f32fc4bc RD |
4032 | <paramlist> |
4033 | <param name="force" type="bool" default="False"/> | |
4034 | </paramlist> | |
4035 | </method> | |
4036 | <method name="Destroy" type="bool" overloaded="no"> | |
4037 | <autodoc>Destroy() -> bool</autodoc> | |
c2dda882 RD |
4038 | <docstring>Destroys the window safely. Frames and dialogs are not destroyed |
4039 | immediately when this function is called -- they are added to a list | |
4040 | of windows to be deleted on idle time, when all the window's events | |
4041 | have been processed. This prevents problems with events being sent to | |
4042 | non-existent windows. | |
4043 | ||
4044 | Returns True if the window has either been successfully deleted, or it | |
4045 | has been added to the list of windows pending real deletion.</docstring> | |
f32fc4bc RD |
4046 | </method> |
4047 | <method name="DestroyChildren" type="bool" overloaded="no"> | |
4048 | <autodoc>DestroyChildren() -> bool</autodoc> | |
c2dda882 | 4049 | <docstring>Destroys all children of a window. Called automatically by the destructor.</docstring> |
f32fc4bc RD |
4050 | </method> |
4051 | <method name="IsBeingDeleted" type="bool" overloaded="no"> | |
4052 | <autodoc>IsBeingDeleted() -> bool</autodoc> | |
c2dda882 | 4053 | <docstring>Is the window in the process of being deleted?</docstring> |
f32fc4bc RD |
4054 | </method> |
4055 | <method name="SetTitle" type="" overloaded="no"> | |
4056 | <autodoc>SetTitle(String title)</autodoc> | |
c2dda882 | 4057 | <docstring>Sets the window's title. Applicable only to frames and dialogs.</docstring> |
f32fc4bc RD |
4058 | <paramlist> |
4059 | <param name="title" type="String" default=""/> | |
4060 | </paramlist> | |
4061 | </method> | |
4062 | <method name="GetTitle" type="String" overloaded="no"> | |
4063 | <autodoc>GetTitle() -> String</autodoc> | |
c2dda882 | 4064 | <docstring>Gets the window's title. Applicable only to frames and dialogs.</docstring> |
f32fc4bc RD |
4065 | </method> |
4066 | <method name="SetLabel" type="" overloaded="no"> | |
4067 | <autodoc>SetLabel(String label)</autodoc> | |
c2dda882 | 4068 | <docstring>Set the text which the window shows in its label if applicable.</docstring> |
f32fc4bc RD |
4069 | <paramlist> |
4070 | <param name="label" type="String" default=""/> | |
4071 | </paramlist> | |
4072 | </method> | |
4073 | <method name="GetLabel" type="String" overloaded="no"> | |
4074 | <autodoc>GetLabel() -> String</autodoc> | |
b39e211b RD |
4075 | <docstring>Generic way of getting a label from any window, for |
4076 | identification purposes. The interpretation of this function | |
4077 | differs from class to class. For frames and dialogs, the value | |
4078 | returned is the title. For buttons or static text controls, it is | |
4079 | the button text. This function can be useful for meta-programs | |
4080 | (such as testing tools or special-needs access programs) which | |
4081 | need to identify windows by name.</docstring> | |
f32fc4bc RD |
4082 | </method> |
4083 | <method name="SetName" type="" overloaded="no"> | |
4084 | <autodoc>SetName(String name)</autodoc> | |
b39e211b RD |
4085 | <docstring>Sets the window's name. The window name is used for ressource |
4086 | setting in X, it is not the same as the window title/label</docstring> | |
f32fc4bc RD |
4087 | <paramlist> |
4088 | <param name="name" type="String" default=""/> | |
4089 | </paramlist> | |
4090 | </method> | |
4091 | <method name="GetName" type="String" overloaded="no"> | |
4092 | <autodoc>GetName() -> String</autodoc> | |
b39e211b RD |
4093 | <docstring>Returns the window's name. This name is not guaranteed to be |
4094 | unique; it is up to the programmer to supply an appropriate name | |
4095 | in the window constructor or via wx.Window.SetName.</docstring> | |
4096 | </method> | |
4097 | <method name="SetWindowVariant" type="" overloaded="no"> | |
4098 | <autodoc>SetWindowVariant(int variant)</autodoc> | |
4099 | <docstring>Sets the variant of the window/font size to use for this window, | |
4100 | if the platform supports variants, (for example, wxMac.)</docstring> | |
4101 | <paramlist> | |
4102 | <param name="variant" type="wxWindowVariant" default=""/> | |
4103 | </paramlist> | |
4104 | </method> | |
4105 | <method name="GetWindowVariant" type="wxWindowVariant" overloaded="no"> | |
4106 | <autodoc>GetWindowVariant() -> int</autodoc> | |
f32fc4bc RD |
4107 | </method> |
4108 | <method name="SetId" type="" overloaded="no"> | |
4109 | <autodoc>SetId(int winid)</autodoc> | |
c2dda882 RD |
4110 | <docstring>Sets the identifier of the window. Each window has an integer |
4111 | identifier. If the application has not provided one, an identifier | |
4112 | will be generated. Normally, the identifier should be provided on | |
4113 | creation and should not be modified subsequently.</docstring> | |
f32fc4bc RD |
4114 | <paramlist> |
4115 | <param name="winid" type="int" default=""/> | |
4116 | </paramlist> | |
4117 | </method> | |
4118 | <method name="GetId" type="int" overloaded="no"> | |
4119 | <autodoc>GetId() -> int</autodoc> | |
c2dda882 RD |
4120 | <docstring>Returns the identifier of the window. Each window has an integer |
4121 | identifier. If the application has not provided one (or the default Id | |
4122 | -1 is used) then an unique identifier with a negative value will be | |
4123 | generated.</docstring> | |
f32fc4bc RD |
4124 | </method> |
4125 | <staticmethod name="NewControlId" type="int" overloaded="no"> | |
4126 | <autodoc>NewControlId() -> int</autodoc> | |
c2dda882 | 4127 | <docstring>Generate a control id for the controls which were not given one.</docstring> |
f32fc4bc RD |
4128 | </staticmethod> |
4129 | <staticmethod name="NextControlId" type="int" overloaded="no"> | |
4130 | <autodoc>NextControlId(int winid) -> int</autodoc> | |
c2dda882 RD |
4131 | <docstring>Get the id of the control following the one with the given |
4132 | (autogenerated) id</docstring> | |
f32fc4bc RD |
4133 | <paramlist> |
4134 | <param name="winid" type="int" default=""/> | |
4135 | </paramlist> | |
4136 | </staticmethod> | |
4137 | <staticmethod name="PrevControlId" type="int" overloaded="no"> | |
4138 | <autodoc>PrevControlId(int winid) -> int</autodoc> | |
c2dda882 RD |
4139 | <docstring>Get the id of the control preceding the one with the given |
4140 | (autogenerated) id</docstring> | |
f32fc4bc RD |
4141 | <paramlist> |
4142 | <param name="winid" type="int" default=""/> | |
4143 | </paramlist> | |
4144 | </staticmethod> | |
4145 | <method name="SetSize" type="" overloaded="no"> | |
4146 | <autodoc>SetSize(Size size)</autodoc> | |
c2dda882 | 4147 | <docstring>Sets the size of the window in pixels.</docstring> |
f32fc4bc RD |
4148 | <paramlist> |
4149 | <param name="size" type="Size" default=""/> | |
4150 | </paramlist> | |
4151 | </method> | |
4152 | <method name="SetDimensions" type="" overloaded="no"> | |
4153 | <autodoc>SetDimensions(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc> | |
c2dda882 RD |
4154 | <docstring>Sets the position and size of the window in pixels. The sizeFlags |
4155 | parameter indicates the interpretation of the other params if they are | |
4156 | -1. wx.SIZE_AUTO*: a -1 indicates that a class-specific default | |
4157 | shoudl be used. wx.SIZE_USE_EXISTING: existing dimensions should be | |
4158 | used if -1 values are supplied. wxSIZE_ALLOW_MINUS_ONE: allow | |
4159 | dimensions of -1 and less to be interpreted as real dimensions, not | |
4160 | default values.</docstring> | |
f32fc4bc RD |
4161 | <paramlist> |
4162 | <param name="x" type="int" default=""/> | |
4163 | <param name="y" type="int" default=""/> | |
4164 | <param name="width" type="int" default=""/> | |
4165 | <param name="height" type="int" default=""/> | |
4166 | <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/> | |
4167 | </paramlist> | |
4168 | </method> | |
4169 | <method name="SetRect" type="" overloaded="no"> | |
4170 | <autodoc>SetRect(Rect rect, int sizeFlags=SIZE_AUTO)</autodoc> | |
c2dda882 | 4171 | <docstring>Sets the position and size of the window in pixels using a wx.Rect.</docstring> |
f32fc4bc RD |
4172 | <paramlist> |
4173 | <param name="rect" type="Rect" default=""/> | |
4174 | <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/> | |
4175 | </paramlist> | |
4176 | </method> | |
4177 | <method name="SetSizeWH" type="" overloaded="no"> | |
4178 | <autodoc>SetSizeWH(int width, int height)</autodoc> | |
c2dda882 | 4179 | <docstring>Sets the size of the window in pixels.</docstring> |
f32fc4bc RD |
4180 | <paramlist> |
4181 | <param name="width" type="int" default=""/> | |
4182 | <param name="height" type="int" default=""/> | |
4183 | </paramlist> | |
4184 | </method> | |
4185 | <method name="Move" type="" overloaded="no"> | |
4186 | <autodoc>Move(Point pt, int flags=SIZE_USE_EXISTING)</autodoc> | |
c2dda882 | 4187 | <docstring>Moves the window to the given position.</docstring> |
f32fc4bc RD |
4188 | <paramlist> |
4189 | <param name="pt" type="Point" default=""/> | |
4190 | <param name="flags" type="int" default="wxSIZE_USE_EXISTING"/> | |
4191 | </paramlist> | |
4192 | </method> | |
4193 | <method name="MoveXY" type="" overloaded="no"> | |
4194 | <autodoc>MoveXY(int x, int y, int flags=SIZE_USE_EXISTING)</autodoc> | |
c2dda882 | 4195 | <docstring>Moves the window to the given position.</docstring> |
f32fc4bc RD |
4196 | <paramlist> |
4197 | <param name="x" type="int" default=""/> | |
4198 | <param name="y" type="int" default=""/> | |
4199 | <param name="flags" type="int" default="wxSIZE_USE_EXISTING"/> | |
4200 | </paramlist> | |
4201 | </method> | |
4202 | <method name="Raise" type="" overloaded="no"> | |
4203 | <autodoc>Raise()</autodoc> | |
c2dda882 RD |
4204 | <docstring>Raises the window to the top of the window hierarchy if it is a |
4205 | managed window (dialog or frame).</docstring> | |
f32fc4bc RD |
4206 | </method> |
4207 | <method name="Lower" type="" overloaded="no"> | |
4208 | <autodoc>Lower()</autodoc> | |
c2dda882 RD |
4209 | <docstring>Lowers the window to the bottom of the window hierarchy if it is a |
4210 | managed window (dialog or frame).</docstring> | |
f32fc4bc RD |
4211 | </method> |
4212 | <method name="SetClientSize" type="" overloaded="no"> | |
4213 | <autodoc>SetClientSize(Size size)</autodoc> | |
c2dda882 RD |
4214 | <docstring>This sets the size of the window client area in pixels. Using this |
4215 | function to size a window tends to be more device-independent than | |
4216 | wx.Window.SetSize, since the application need not worry about what | |
4217 | dimensions the border or title bar have when trying to fit the window | |
4218 | around panel items, for example.</docstring> | |
f32fc4bc RD |
4219 | <paramlist> |
4220 | <param name="size" type="Size" default=""/> | |
4221 | </paramlist> | |
4222 | </method> | |
4223 | <method name="SetClientSizeWH" type="" overloaded="no"> | |
4224 | <autodoc>SetClientSizeWH(int width, int height)</autodoc> | |
c2dda882 RD |
4225 | <docstring>This sets the size of the window client area in pixels. Using this |
4226 | function to size a window tends to be more device-independent than | |
4227 | wx.Window.SetSize, since the application need not worry about what | |
4228 | dimensions the border or title bar have when trying to fit the window | |
4229 | around panel items, for example.</docstring> | |
f32fc4bc RD |
4230 | <paramlist> |
4231 | <param name="width" type="int" default=""/> | |
4232 | <param name="height" type="int" default=""/> | |
4233 | </paramlist> | |
4234 | </method> | |
4235 | <method name="SetClientRect" type="" overloaded="no"> | |
4236 | <autodoc>SetClientRect(Rect rect)</autodoc> | |
c2dda882 RD |
4237 | <docstring>This sets the size of the window client area in pixels. Using this |
4238 | function to size a window tends to be more device-independent than | |
4239 | wx.Window.SetSize, since the application need not worry about what | |
4240 | dimensions the border or title bar have when trying to fit the window | |
4241 | around panel items, for example.</docstring> | |
f32fc4bc RD |
4242 | <paramlist> |
4243 | <param name="rect" type="Rect" default=""/> | |
4244 | </paramlist> | |
4245 | </method> | |
4246 | <method name="GetPosition" type="Point" overloaded="no"> | |
4247 | <autodoc>GetPosition() -> Point</autodoc> | |
4248 | <docstring>Get the window's position.</docstring> | |
4249 | </method> | |
4250 | <method name="GetPositionTuple" type="" overloaded="no"> | |
4251 | <autodoc>GetPositionTuple() -> (x,y)</autodoc> | |
4252 | <docstring>Get the window's position.</docstring> | |
4253 | <paramlist> | |
4254 | <param name="OUTPUT" type="int" default=""/> | |
4255 | <param name="OUTPUT" type="int" default=""/> | |
4256 | </paramlist> | |
4257 | </method> | |
4258 | <method name="GetSize" type="Size" overloaded="no"> | |
4259 | <autodoc>GetSize() -> Size</autodoc> | |
4260 | <docstring>Get the window size.</docstring> | |
4261 | </method> | |
4262 | <method name="GetSizeTuple" type="" overloaded="no"> | |
4263 | <autodoc>GetSizeTuple() -> (width, height)</autodoc> | |
4264 | <docstring>Get the window size.</docstring> | |
4265 | <paramlist> | |
4266 | <param name="OUTPUT" type="int" default=""/> | |
4267 | <param name="OUTPUT" type="int" default=""/> | |
4268 | </paramlist> | |
4269 | </method> | |
4270 | <method name="GetRect" type="Rect" overloaded="no"> | |
4271 | <autodoc>GetRect() -> Rect</autodoc> | |
c2dda882 | 4272 | <docstring>Returns the size and position of the window as a wx.Rect object.</docstring> |
f32fc4bc RD |
4273 | </method> |
4274 | <method name="GetClientSize" type="Size" overloaded="no"> | |
4275 | <autodoc>GetClientSize() -> Size</autodoc> | |
c2dda882 RD |
4276 | <docstring>This gets the size of the window's 'client area' in pixels. The client |
4277 | area is the area which may be drawn on by the programmer, excluding | |
4278 | title bar, border, scrollbars, etc.</docstring> | |
f32fc4bc RD |
4279 | </method> |
4280 | <method name="GetClientSizeTuple" type="" overloaded="no"> | |
4281 | <autodoc>GetClientSizeTuple() -> (width, height)</autodoc> | |
c2dda882 RD |
4282 | <docstring>This gets the size of the window's 'client area' in pixels. The client |
4283 | area is the area which may be drawn on by the programmer, excluding | |
4284 | title bar, border, scrollbars, etc.</docstring> | |
f32fc4bc RD |
4285 | <paramlist> |
4286 | <param name="OUTPUT" type="int" default=""/> | |
4287 | <param name="OUTPUT" type="int" default=""/> | |
4288 | </paramlist> | |
4289 | </method> | |
4290 | <method name="GetClientAreaOrigin" type="Point" overloaded="no"> | |
4291 | <autodoc>GetClientAreaOrigin() -> Point</autodoc> | |
c2dda882 RD |
4292 | <docstring>Get the origin of the client area of the window relative to the |
4293 | window's top left corner (the client area may be shifted because of | |
4294 | the borders, scrollbars, other decorations...)</docstring> | |
f32fc4bc RD |
4295 | </method> |
4296 | <method name="GetClientRect" type="Rect" overloaded="no"> | |
4297 | <autodoc>GetClientRect() -> Rect</autodoc> | |
c2dda882 | 4298 | <docstring>Get the client area position and size as a wx.Rect object.</docstring> |
f32fc4bc RD |
4299 | </method> |
4300 | <method name="GetBestSize" type="Size" overloaded="no"> | |
4301 | <autodoc>GetBestSize() -> Size</autodoc> | |
c2dda882 RD |
4302 | <docstring>This functions returns the best acceptable minimal size for the |
4303 | window, if applicable. For example, for a static text control, it will be | |
4304 | the minimal size such that the control label is not truncated. For | |
4305 | windows containing subwindows (suzh aswx.Panel), the size returned | |
4306 | by this function will be the same as the size the window would have | |
4307 | had after calling Fit.</docstring> | |
f32fc4bc RD |
4308 | </method> |
4309 | <method name="GetBestSizeTuple" type="" overloaded="no"> | |
4310 | <autodoc>GetBestSizeTuple() -> (width, height)</autodoc> | |
c2dda882 RD |
4311 | <docstring>This functions returns the best acceptable minimal size for the |
4312 | window, if applicable. For example, for a static text control, it will be | |
4313 | the minimal size such that the control label is not truncated. For | |
4314 | windows containing subwindows (suzh aswx.Panel), the size returned | |
4315 | by this function will be the same as the size the window would have | |
4316 | had after calling Fit.</docstring> | |
f32fc4bc RD |
4317 | <paramlist> |
4318 | <param name="OUTPUT" type="int" default=""/> | |
4319 | <param name="OUTPUT" type="int" default=""/> | |
4320 | </paramlist> | |
4321 | </method> | |
4322 | <method name="GetAdjustedBestSize" type="Size" overloaded="no"> | |
4323 | <autodoc>GetAdjustedBestSize() -> Size</autodoc> | |
c2dda882 RD |
4324 | <docstring>This method is similar to GetBestSize, except in one |
4325 | thing. GetBestSize should return the minimum untruncated size of the | |
4326 | window, while this method will return the largest of BestSize and any | |
4327 | user specified minimum size. ie. it is the minimum size the window | |
4328 | should currently be drawn at, not the minimal size it can possibly | |
4329 | tolerate.</docstring> | |
f32fc4bc RD |
4330 | </method> |
4331 | <method name="Center" type="" overloaded="no"> | |
4332 | <autodoc>Center(int direction=BOTH)</autodoc> | |
c2dda882 RD |
4333 | <docstring>Centers the window. The parameter specifies the direction for |
4334 | cetering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may | |
4335 | also include wx.CENTER_ON_SCREEN flag if you want to center the window | |
4336 | on the entire screen and not on its parent window. If it is a | |
4337 | top-level window and has no parent then it will always be centered | |
4338 | relative to the screen.</docstring> | |
f32fc4bc RD |
4339 | <paramlist> |
4340 | <param name="direction" type="int" default="wxBOTH"/> | |
4341 | </paramlist> | |
4342 | </method> | |
4343 | <method name="CenterOnScreen" type="" overloaded="no"> | |
4344 | <autodoc>CenterOnScreen(int dir=BOTH)</autodoc> | |
c2dda882 | 4345 | <docstring>Center on screen (only works for top level windows)</docstring> |
f32fc4bc RD |
4346 | <paramlist> |
4347 | <param name="dir" type="int" default="wxBOTH"/> | |
4348 | </paramlist> | |
4349 | </method> | |
4350 | <method name="CenterOnParent" type="" overloaded="no"> | |
4351 | <autodoc>CenterOnParent(int dir=BOTH)</autodoc> | |
c2dda882 | 4352 | <docstring>Center with respect to the the parent window</docstring> |
f32fc4bc RD |
4353 | <paramlist> |
4354 | <param name="dir" type="int" default="wxBOTH"/> | |
4355 | </paramlist> | |
4356 | </method> | |
4357 | <method name="Fit" type="" overloaded="no"> | |
4358 | <autodoc>Fit()</autodoc> | |
c2dda882 RD |
4359 | <docstring>Sizes the window so that it fits around its subwindows. This function |
4360 | won't do anything if there are no subwindows and will only really work | |
4361 | correctly if sizers are used for the subwindows layout. Also, if the | |
4362 | window has exactly one subwindow it is better (faster and the result | |
4363 | is more precise as Fit adds some margin to account for fuzziness of | |
4364 | its calculations) to call window.SetClientSize(child.GetSize()) | |
4365 | instead of calling Fit.</docstring> | |
f32fc4bc RD |
4366 | </method> |
4367 | <method name="FitInside" type="" overloaded="no"> | |
4368 | <autodoc>FitInside()</autodoc> | |
c2dda882 RD |
4369 | <docstring>Similar to Fit, but sizes the interior (virtual) size of a |
4370 | window. Mainly useful with scrolled windows to reset scrollbars after | |
4371 | sizing changes that do not trigger a size event, and/or scrolled | |
4372 | windows without an interior sizer. This function similarly won't do | |
4373 | anything if there are no subwindows.</docstring> | |
f32fc4bc RD |
4374 | </method> |
4375 | <method name="SetSizeHints" type="" overloaded="no"> | |
4376 | <autodoc>SetSizeHints(int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, | |
856bf319 | 4377 | int incH=-1)</autodoc> |
c2dda882 RD |
4378 | <docstring>Allows specification of minimum and maximum window sizes, and window |
4379 | size increments. If a pair of values is not set (or set to -1), the | |
4380 | default values will be used. If this function is called, the user | |
4381 | will not be able to size the window outside the given bounds. The | |
4382 | resizing increments are only significant under Motif or Xt.</docstring> | |
f32fc4bc RD |
4383 | <paramlist> |
4384 | <param name="minW" type="int" default=""/> | |
4385 | <param name="minH" type="int" default=""/> | |
4386 | <param name="maxW" type="int" default="-1"/> | |
4387 | <param name="maxH" type="int" default="-1"/> | |
4388 | <param name="incW" type="int" default="-1"/> | |
4389 | <param name="incH" type="int" default="-1"/> | |
4390 | </paramlist> | |
4391 | </method> | |
4392 | <method name="SetVirtualSizeHints" type="" overloaded="no"> | |
4393 | <autodoc>SetVirtualSizeHints(int minW, int minH, int maxW=-1, int maxH=-1)</autodoc> | |
c2dda882 RD |
4394 | <docstring>Allows specification of minimum and maximum virtual window sizes. If a |
4395 | pair of values is not set (or set to -1), the default values will be | |
4396 | used. If this function is called, the user will not be able to size | |
4397 | the virtual area of the window outside the given bounds.</docstring> | |
f32fc4bc RD |
4398 | <paramlist> |
4399 | <param name="minW" type="int" default=""/> | |
4400 | <param name="minH" type="int" default=""/> | |
4401 | <param name="maxW" type="int" default="-1"/> | |
4402 | <param name="maxH" type="int" default="-1"/> | |
4403 | </paramlist> | |
4404 | </method> | |
4405 | <method name="GetMinWidth" type="int" overloaded="no"> | |
4406 | <autodoc>GetMinWidth() -> int</autodoc> | |
4407 | </method> | |
4408 | <method name="GetMinHeight" type="int" overloaded="no"> | |
4409 | <autodoc>GetMinHeight() -> int</autodoc> | |
4410 | </method> | |
4411 | <method name="GetMaxWidth" type="int" overloaded="no"> | |
4412 | <autodoc>GetMaxWidth() -> int</autodoc> | |
4413 | </method> | |
4414 | <method name="GetMaxHeight" type="int" overloaded="no"> | |
4415 | <autodoc>GetMaxHeight() -> int</autodoc> | |
4416 | </method> | |
4417 | <method name="GetMaxSize" type="Size" overloaded="no"> | |
4418 | <autodoc>GetMaxSize() -> Size</autodoc> | |
4419 | </method> | |
4420 | <method name="SetVirtualSize" type="" overloaded="no"> | |
4421 | <autodoc>SetVirtualSize(Size size)</autodoc> | |
c2dda882 RD |
4422 | <docstring>Set the the virtual size of a window in pixels. For most windows this |
4423 | is just the client area of the window, but for some like scrolled | |
4424 | windows it is more or less independent of the screen window size.</docstring> | |
f32fc4bc RD |
4425 | <paramlist> |
4426 | <param name="size" type="Size" default=""/> | |
4427 | </paramlist> | |
4428 | </method> | |
4429 | <method name="SetVirtualSizeWH" type="" overloaded="no"> | |
4430 | <autodoc>SetVirtualSizeWH(int w, int h)</autodoc> | |
c2dda882 RD |
4431 | <docstring>Set the the virtual size of a window in pixels. For most windows this |
4432 | is just the client area of the window, but for some like scrolled | |
4433 | windows it is more or less independent of the screen window size.</docstring> | |
f32fc4bc RD |
4434 | <paramlist> |
4435 | <param name="w" type="int" default=""/> | |
4436 | <param name="h" type="int" default=""/> | |
4437 | </paramlist> | |
4438 | </method> | |
4439 | <method name="GetVirtualSize" type="Size" overloaded="no"> | |
4440 | <autodoc>GetVirtualSize() -> Size</autodoc> | |
c2dda882 RD |
4441 | <docstring>Get the the virtual size of the window in pixels. For most windows |
4442 | this is just the client area of the window, but for some like scrolled | |
4443 | windows it is more or less independent of the screen window size.</docstring> | |
f32fc4bc RD |
4444 | </method> |
4445 | <method name="GetVirtualSizeTuple" type="" overloaded="no"> | |
4446 | <autodoc>GetVirtualSizeTuple() -> (width, height)</autodoc> | |
c2dda882 RD |
4447 | <docstring>Get the the virtual size of the window in pixels. For most windows |
4448 | this is just the client area of the window, but for some like scrolled | |
4449 | windows it is more or less independent of the screen window size.</docstring> | |
f32fc4bc RD |
4450 | <paramlist> |
4451 | <param name="OUTPUT" type="int" default=""/> | |
4452 | <param name="OUTPUT" type="int" default=""/> | |
4453 | </paramlist> | |
4454 | </method> | |
4455 | <method name="GetBestVirtualSize" type="Size" overloaded="no"> | |
4456 | <autodoc>GetBestVirtualSize() -> Size</autodoc> | |
c2dda882 RD |
4457 | <docstring>Return the largest of ClientSize and BestSize (as determined by a |
4458 | sizer, interior children, or other means)</docstring> | |
f32fc4bc RD |
4459 | </method> |
4460 | <method name="Show" type="bool" overloaded="no"> | |
4461 | <autodoc>Show(bool show=True) -> bool</autodoc> | |
c2dda882 RD |
4462 | <docstring>Shows or hides the window. You may need to call Raise for a top level |
4463 | window if you want to bring it to top, although this is not needed if | |
4464 | Show is called immediately after the frame creation. Returns True if | |
4465 | the window has been shown or hidden or False if nothing was done | |
4466 | because it already was in the requested state.</docstring> | |
f32fc4bc RD |
4467 | <paramlist> |
4468 | <param name="show" type="bool" default="True"/> | |
4469 | </paramlist> | |
4470 | </method> | |
4471 | <method name="Hide" type="bool" overloaded="no"> | |
4472 | <autodoc>Hide() -> bool</autodoc> | |
c2dda882 | 4473 | <docstring>Equivalent to calling Show(False).</docstring> |
f32fc4bc RD |
4474 | </method> |
4475 | <method name="Enable" type="bool" overloaded="no"> | |
4476 | <autodoc>Enable(bool enable=True) -> bool</autodoc> | |
c2dda882 RD |
4477 | <docstring>Enable or disable the window for user input. Note that when a parent |
4478 | window is disabled, all of its children are disabled as well and they | |
4479 | are reenabled again when the parent is. Returns true if the window | |
4480 | has been enabled or disabled, false if nothing was done, i.e. if the | |
4481 | window had already been in the specified state.</docstring> | |
f32fc4bc RD |
4482 | <paramlist> |
4483 | <param name="enable" type="bool" default="True"/> | |
4484 | </paramlist> | |
4485 | </method> | |
4486 | <method name="Disable" type="bool" overloaded="no"> | |
4487 | <autodoc>Disable() -> bool</autodoc> | |
c2dda882 | 4488 | <docstring>Disables the window, same as Enable(false).</docstring> |
f32fc4bc RD |
4489 | </method> |
4490 | <method name="IsShown" type="bool" overloaded="no"> | |
4491 | <autodoc>IsShown() -> bool</autodoc> | |
c2dda882 | 4492 | <docstring>Returns true if the window is shown, false if it has been hidden.</docstring> |
f32fc4bc RD |
4493 | </method> |
4494 | <method name="IsEnabled" type="bool" overloaded="no"> | |
4495 | <autodoc>IsEnabled() -> bool</autodoc> | |
c2dda882 | 4496 | <docstring>Returns true if the window is enabled for input, false otherwise.</docstring> |
f32fc4bc RD |
4497 | </method> |
4498 | <method name="SetWindowStyleFlag" type="" overloaded="no"> | |
4499 | <autodoc>SetWindowStyleFlag(long style)</autodoc> | |
c2dda882 RD |
4500 | <docstring>Sets the style of the window. Please note that some styles cannot be |
4501 | changed after the window creation and that Refresh() might be called | |
4502 | after changing the others for the change to take place immediately.</docstring> | |
f32fc4bc RD |
4503 | <paramlist> |
4504 | <param name="style" type="long" default=""/> | |
4505 | </paramlist> | |
4506 | </method> | |
4507 | <method name="GetWindowStyleFlag" type="long" overloaded="no"> | |
4508 | <autodoc>GetWindowStyleFlag() -> long</autodoc> | |
c2dda882 RD |
4509 | <docstring>Gets the window style that was passed to the constructor or Create |
4510 | method.</docstring> | |
f32fc4bc RD |
4511 | </method> |
4512 | <method name="HasFlag" type="bool" overloaded="no"> | |
4513 | <autodoc>HasFlag(int flag) -> bool</autodoc> | |
c2dda882 | 4514 | <docstring>Test if the given style is set for this window.</docstring> |
f32fc4bc RD |
4515 | <paramlist> |
4516 | <param name="flag" type="int" default=""/> | |
4517 | </paramlist> | |
4518 | </method> | |
4519 | <method name="IsRetained" type="bool" overloaded="no"> | |
4520 | <autodoc>IsRetained() -> bool</autodoc> | |
c2dda882 RD |
4521 | <docstring>Returns true if the window is retained, false otherwise. Retained |
4522 | windows are only available on X platforms.</docstring> | |
f32fc4bc RD |
4523 | </method> |
4524 | <method name="SetExtraStyle" type="" overloaded="no"> | |
4525 | <autodoc>SetExtraStyle(long exStyle)</autodoc> | |
c2dda882 RD |
4526 | <docstring>Sets the extra style bits for the window. Extra styles are the less |
4527 | often used style bits which can't be set with the constructor or with | |
4528 | SetWindowStyleFlag()</docstring> | |
f32fc4bc RD |
4529 | <paramlist> |
4530 | <param name="exStyle" type="long" default=""/> | |
4531 | </paramlist> | |
4532 | </method> | |
4533 | <method name="GetExtraStyle" type="long" overloaded="no"> | |
4534 | <autodoc>GetExtraStyle() -> long</autodoc> | |
c2dda882 | 4535 | <docstring>Returns the extra style bits for the window.</docstring> |
f32fc4bc RD |
4536 | </method> |
4537 | <method name="MakeModal" type="" overloaded="no"> | |
4538 | <autodoc>MakeModal(bool modal=True)</autodoc> | |
c2dda882 RD |
4539 | <docstring>Disables all other windows in the application so that the user can |
4540 | only interact with this window. Passing False will reverse this | |
4541 | effect.</docstring> | |
f32fc4bc RD |
4542 | <paramlist> |
4543 | <param name="modal" type="bool" default="True"/> | |
4544 | </paramlist> | |
4545 | </method> | |
4546 | <method name="SetThemeEnabled" type="" overloaded="no"> | |
4547 | <autodoc>SetThemeEnabled(bool enableTheme)</autodoc> | |
c2dda882 RD |
4548 | <docstring>This function tells a window if it should use the system's "theme" |
4549 | code to draw the windows' background instead if its own background | |
4550 | drawing code. This will only have an effect on platforms that support | |
4551 | the notion of themes in user defined windows. One such platform is | |
4552 | GTK+ where windows can have (very colourful) backgrounds defined by a | |
4553 | user's selected theme. | |
4554 | ||
4555 | Dialogs, notebook pages and the status bar have this flag set to true | |
4556 | by default so that the default look and feel is simulated best.</docstring> | |
f32fc4bc RD |
4557 | <paramlist> |
4558 | <param name="enableTheme" type="bool" default=""/> | |
4559 | </paramlist> | |
4560 | </method> | |
4561 | <method name="GetThemeEnabled" type="bool" overloaded="no"> | |
4562 | <autodoc>GetThemeEnabled() -> bool</autodoc> | |
c2dda882 | 4563 | <docstring>Return the themeEnabled flag.</docstring> |
f32fc4bc RD |
4564 | </method> |
4565 | <method name="SetFocus" type="" overloaded="no"> | |
4566 | <autodoc>SetFocus()</autodoc> | |
c2dda882 | 4567 | <docstring>Set's the focus to this window, allowing it to receive keyboard input.</docstring> |
f32fc4bc RD |
4568 | </method> |
4569 | <method name="SetFocusFromKbd" type="" overloaded="no"> | |
4570 | <autodoc>SetFocusFromKbd()</autodoc> | |
c2dda882 RD |
4571 | <docstring>Set focus to this window as the result of a keyboard action. Normally |
4572 | only called internally.</docstring> | |
f32fc4bc RD |
4573 | </method> |
4574 | <staticmethod name="FindFocus" type="Window" overloaded="no"> | |
4575 | <autodoc>FindFocus() -> Window</autodoc> | |
c2dda882 RD |
4576 | <docstring>Returns the window or control that currently has the keyboard focus, |
4577 | or None.</docstring> | |
f32fc4bc RD |
4578 | </staticmethod> |
4579 | <method name="AcceptsFocus" type="bool" overloaded="no"> | |
4580 | <autodoc>AcceptsFocus() -> bool</autodoc> | |
c2dda882 | 4581 | <docstring>Can this window have focus?</docstring> |
f32fc4bc RD |
4582 | </method> |
4583 | <method name="AcceptsFocusFromKeyboard" type="bool" overloaded="no"> | |
4584 | <autodoc>AcceptsFocusFromKeyboard() -> bool</autodoc> | |
c2dda882 RD |
4585 | <docstring>Can this window be given focus by keyboard navigation? if not, the |
4586 | only way to give it focus (provided it accepts it at all) is to click | |
4587 | it.</docstring> | |
f32fc4bc RD |
4588 | </method> |
4589 | <method name="GetDefaultItem" type="Window" overloaded="no"> | |
4590 | <autodoc>GetDefaultItem() -> Window</autodoc> | |
c2dda882 RD |
4591 | <docstring>Get the default child of this parent, i.e. the one which is activated |
4592 | by pressing <Enter> such as the OK button on a wx.Dialog.</docstring> | |
f32fc4bc RD |
4593 | </method> |
4594 | <method name="SetDefaultItem" type="Window" overloaded="no"> | |
4595 | <autodoc>SetDefaultItem(Window child) -> Window</autodoc> | |
c2dda882 | 4596 | <docstring>Set this child as default, return the old default.</docstring> |
f32fc4bc RD |
4597 | <paramlist> |
4598 | <param name="child" type="Window" default=""/> | |
4599 | </paramlist> | |
4600 | </method> | |
4601 | <method name="SetTmpDefaultItem" type="" overloaded="no"> | |
4602 | <autodoc>SetTmpDefaultItem(Window win)</autodoc> | |
c2dda882 | 4603 | <docstring>Set this child as temporary default</docstring> |
f32fc4bc RD |
4604 | <paramlist> |
4605 | <param name="win" type="Window" default=""/> | |
4606 | </paramlist> | |
4607 | </method> | |
4608 | <method name="GetChildren" type="PyObject" overloaded="no"> | |
4609 | <autodoc>GetChildren() -> PyObject</autodoc> | |
c2dda882 RD |
4610 | <docstring>Returns a list of the window's children. NOTE: Currently this is a |
4611 | copy of the child window list maintained by the window, so the return | |
4612 | value of this function is only valid as long as the window's children | |
4613 | do not change.</docstring> | |
f32fc4bc RD |
4614 | </method> |
4615 | <method name="GetParent" type="Window" overloaded="no"> | |
4616 | <autodoc>GetParent() -> Window</autodoc> | |
c2dda882 | 4617 | <docstring>Returns the parent window of this window, or None if there isn't one.</docstring> |
f32fc4bc RD |
4618 | </method> |
4619 | <method name="GetGrandParent" type="Window" overloaded="no"> | |
4620 | <autodoc>GetGrandParent() -> Window</autodoc> | |
c2dda882 | 4621 | <docstring>Returns the parent of the parent of this window, or None if there isn't one.</docstring> |
f32fc4bc RD |
4622 | </method> |
4623 | <method name="IsTopLevel" type="bool" overloaded="no"> | |
4624 | <autodoc>IsTopLevel() -> bool</autodoc> | |
c2dda882 RD |
4625 | <docstring>Returns true if the given window is a top-level one. Currently all |
4626 | frames and dialogs are always considered to be top-level windows (even | |
4627 | if they have a parent window).</docstring> | |
f32fc4bc RD |
4628 | </method> |
4629 | <method name="Reparent" type="bool" overloaded="no"> | |
4630 | <autodoc>Reparent(Window newParent) -> bool</autodoc> | |
c2dda882 RD |
4631 | <docstring>Reparents the window, i.e the window will be removed from its current |
4632 | parent window (e.g. a non-standard toolbar in a wxFrame) and then | |
4633 | re-inserted into another. Available on Windows and GTK. Returns True | |
4634 | if the parent was changed, False otherwise (error or newParent == | |
4635 | oldParent)</docstring> | |
f32fc4bc RD |
4636 | <paramlist> |
4637 | <param name="newParent" type="Window" default=""/> | |
4638 | </paramlist> | |
4639 | </method> | |
4640 | <method name="AddChild" type="" overloaded="no"> | |
4641 | <autodoc>AddChild(Window child)</autodoc> | |
c2dda882 RD |
4642 | <docstring>Adds a child window. This is called automatically by window creation |
4643 | functions so should not be required by the application programmer.</docstring> | |
f32fc4bc RD |
4644 | <paramlist> |
4645 | <param name="child" type="Window" default=""/> | |
4646 | </paramlist> | |
4647 | </method> | |
4648 | <method name="RemoveChild" type="" overloaded="no"> | |
4649 | <autodoc>RemoveChild(Window child)</autodoc> | |
c2dda882 RD |
4650 | <docstring>Removes a child window. This is called automatically by window |
4651 | deletion functions so should not be required by the application | |
4652 | programmer.</docstring> | |
f32fc4bc RD |
4653 | <paramlist> |
4654 | <param name="child" type="Window" default=""/> | |
4655 | </paramlist> | |
4656 | </method> | |
4657 | <method name="FindWindowById" type="Window" overloaded="no"> | |
4658 | <autodoc>FindWindowById(long winid) -> Window</autodoc> | |
c2dda882 | 4659 | <docstring>Find a chld of this window by window ID</docstring> |
f32fc4bc RD |
4660 | <paramlist> |
4661 | <param name="winid" type="long" default=""/> | |
4662 | </paramlist> | |
4663 | </method> | |
4664 | <method name="FindWindowByName" type="Window" overloaded="no"> | |
4665 | <autodoc>FindWindowByName(String name) -> Window</autodoc> | |
c2dda882 | 4666 | <docstring>Find a child of this window by name</docstring> |
f32fc4bc RD |
4667 | <paramlist> |
4668 | <param name="name" type="String" default=""/> | |
4669 | </paramlist> | |
4670 | </method> | |
4671 | <method name="GetEventHandler" type="EvtHandler" overloaded="no"> | |
4672 | <autodoc>GetEventHandler() -> EvtHandler</autodoc> | |
c2dda882 RD |
4673 | <docstring>Returns the event handler for this window. By default, the window is |
4674 | its own event handler.</docstring> | |
f32fc4bc RD |
4675 | </method> |
4676 | <method name="SetEventHandler" type="" overloaded="no"> | |
4677 | <autodoc>SetEventHandler(EvtHandler handler)</autodoc> | |
c2dda882 RD |
4678 | <docstring>Sets the event handler for this window. An event handler is an object |
4679 | that is capable of processing the events sent to a window. By default, | |
4680 | the window is its own event handler, but an application may wish to | |
4681 | substitute another, for example to allow central implementation of | |
4682 | event-handling for a variety of different window classes. | |
4683 | ||
4684 | It is usually better to use wx.Window.PushEventHandler since this sets | |
4685 | up a chain of event handlers, where an event not handled by one event | |
4686 | handler is handed to the next one in the chain.</docstring> | |
f32fc4bc RD |
4687 | <paramlist> |
4688 | <param name="handler" type="EvtHandler" default=""/> | |
4689 | </paramlist> | |
4690 | </method> | |
4691 | <method name="PushEventHandler" type="" overloaded="no"> | |
4692 | <autodoc>PushEventHandler(EvtHandler handler)</autodoc> | |
c2dda882 RD |
4693 | <docstring>Pushes this event handler onto the event handler stack for the window. |
4694 | An event handler is an object that is capable of processing the events | |
4695 | sent to a window. By default, the window is its own event handler, but | |
4696 | an application may wish to substitute another, for example to allow | |
4697 | central implementation of event-handling for a variety of different | |
4698 | window classes. | |
4699 | ||
4700 | wx.Window.PushEventHandler allows an application to set up a chain of | |
4701 | event handlers, where an event not handled by one event handler is | |
4702 | handed to the next one in the chain. Use wx.Window.PopEventHandler to | |
4703 | remove the event handler.</docstring> | |
f32fc4bc RD |
4704 | <paramlist> |
4705 | <param name="handler" type="EvtHandler" default=""/> | |
4706 | </paramlist> | |
4707 | </method> | |
4708 | <method name="PopEventHandler" type="EvtHandler" overloaded="no"> | |
4709 | <autodoc>PopEventHandler(bool deleteHandler=False) -> EvtHandler</autodoc> | |
c2dda882 RD |
4710 | <docstring>Removes and returns the top-most event handler on the event handler |
4711 | stack. If deleteHandler is True then the wx.EvtHandler object will be | |
4712 | destroyed after it is popped.</docstring> | |
f32fc4bc RD |
4713 | <paramlist> |
4714 | <param name="deleteHandler" type="bool" default="False"/> | |
4715 | </paramlist> | |
4716 | </method> | |
4717 | <method name="RemoveEventHandler" type="bool" overloaded="no"> | |
4718 | <autodoc>RemoveEventHandler(EvtHandler handler) -> bool</autodoc> | |
c2dda882 RD |
4719 | <docstring>Find the given handler in the event handler chain and remove (but |
4720 | not delete) it from the event handler chain, return True if it was | |
4721 | found and False otherwise (this also results in an assert failure so | |
4722 | this function should only be called when the handler is supposed to | |
4723 | be there.)</docstring> | |
f32fc4bc RD |
4724 | <paramlist> |
4725 | <param name="handler" type="EvtHandler" default=""/> | |
4726 | </paramlist> | |
4727 | </method> | |
4728 | <method name="SetValidator" type="" overloaded="no"> | |
4729 | <autodoc>SetValidator(Validator validator)</autodoc> | |
c2dda882 RD |
4730 | <docstring>Deletes the current validator (if any) and sets the window validator, |
4731 | having called wx.Validator.Clone to create a new validator of this | |
4732 | type.</docstring> | |
f32fc4bc RD |
4733 | <paramlist> |
4734 | <param name="validator" type="wxValidator" default=""/> | |
4735 | </paramlist> | |
4736 | </method> | |
4737 | <method name="GetValidator" type="wxValidator" overloaded="no"> | |
4738 | <autodoc>GetValidator() -> Validator</autodoc> | |
c2dda882 RD |
4739 | <docstring>Returns a pointer to the current validator for the window, or None if |
4740 | there is none.</docstring> | |
f32fc4bc RD |
4741 | </method> |
4742 | <method name="SetAcceleratorTable" type="" overloaded="no"> | |
4743 | <autodoc>SetAcceleratorTable(AcceleratorTable accel)</autodoc> | |
c2dda882 | 4744 | <docstring>Sets the accelerator table for this window.</docstring> |
f32fc4bc RD |
4745 | <paramlist> |
4746 | <param name="accel" type="AcceleratorTable" default=""/> | |
4747 | </paramlist> | |
4748 | </method> | |
4749 | <method name="GetAcceleratorTable" type="AcceleratorTable" overloaded="no"> | |
4750 | <autodoc>GetAcceleratorTable() -> AcceleratorTable</autodoc> | |
c2dda882 | 4751 | <docstring>Gets the accelerator table for this window.</docstring> |
f32fc4bc RD |
4752 | </method> |
4753 | <method name="RegisterHotKey" type="bool" overloaded="no"> | |
4754 | <autodoc>RegisterHotKey(int hotkeyId, int modifiers, int keycode) -> bool</autodoc> | |
c2dda882 RD |
4755 | <docstring>Registers a system wide hotkey. Every time the user presses the hotkey |
4756 | registered here, this window will receive a hotkey event. It will | |
4757 | receive the event even if the application is in the background and | |
4758 | does not have the input focus because the user is working with some | |
4759 | other application. To bind an event handler function to this hotkey | |
4760 | use EVT_HOTKEY with an id equal to hotkeyId. Returns True if the | |
4761 | hotkey was registered successfully.</docstring> | |
f32fc4bc RD |
4762 | <paramlist> |
4763 | <param name="hotkeyId" type="int" default=""/> | |
4764 | <param name="modifiers" type="int" default=""/> | |
4765 | <param name="keycode" type="int" default=""/> | |
4766 | </paramlist> | |
4767 | </method> | |
4768 | <method name="UnregisterHotKey" type="bool" overloaded="no"> | |
4769 | <autodoc>UnregisterHotKey(int hotkeyId) -> bool</autodoc> | |
c2dda882 | 4770 | <docstring>Unregisters a system wide hotkey.</docstring> |
f32fc4bc RD |
4771 | <paramlist> |
4772 | <param name="hotkeyId" type="int" default=""/> | |
4773 | </paramlist> | |
4774 | </method> | |
4775 | <method name="ConvertDialogPointToPixels" type="Point" overloaded="no"> | |
4776 | <autodoc>ConvertDialogPointToPixels(Point pt) -> Point</autodoc> | |
c2dda882 RD |
4777 | <docstring>Converts a point or size from dialog units to pixels. Dialog units |
4778 | are used for maintaining a dialog's proportions even if the font | |
4779 | changes. For the x dimension, the dialog units are multiplied by the | |
4780 | average character width and then divided by 4. For the y dimension, | |
4781 | the dialog units are multiplied by the average character height and | |
4782 | then divided by 8.</docstring> | |
f32fc4bc RD |
4783 | <paramlist> |
4784 | <param name="pt" type="Point" default=""/> | |
4785 | </paramlist> | |
4786 | </method> | |
4787 | <method name="ConvertDialogSizeToPixels" type="Size" overloaded="no"> | |
4788 | <autodoc>ConvertDialogSizeToPixels(Size sz) -> Size</autodoc> | |
c2dda882 RD |
4789 | <docstring>Converts a point or size from dialog units to pixels. Dialog units |
4790 | are used for maintaining a dialog's proportions even if the font | |
4791 | changes. For the x dimension, the dialog units are multiplied by the | |
4792 | average character width and then divided by 4. For the y dimension, | |
4793 | the dialog units are multiplied by the average character height and | |
4794 | then divided by 8.</docstring> | |
f32fc4bc RD |
4795 | <paramlist> |
4796 | <param name="sz" type="Size" default=""/> | |
4797 | </paramlist> | |
4798 | </method> | |
4799 | <method name="DLG_PNT" type="Point" overloaded="no"> | |
4800 | <autodoc>DLG_PNT(Point pt) -> Point</autodoc> | |
c2dda882 RD |
4801 | <docstring>Converts a point or size from dialog units to pixels. Dialog units |
4802 | are used for maintaining a dialog's proportions even if the font | |
4803 | changes. For the x dimension, the dialog units are multiplied by the | |
4804 | average character width and then divided by 4. For the y dimension, | |
4805 | the dialog units are multiplied by the average character height and | |
4806 | then divided by 8.</docstring> | |
f32fc4bc RD |
4807 | <paramlist> |
4808 | <param name="pt" type="Point" default=""/> | |
4809 | </paramlist> | |
4810 | </method> | |
4811 | <method name="DLG_SZE" type="Size" overloaded="no"> | |
4812 | <autodoc>DLG_SZE(Size sz) -> Size</autodoc> | |
c2dda882 RD |
4813 | <docstring>Converts a point or size from dialog units to pixels. Dialog units |
4814 | are used for maintaining a dialog's proportions even if the font | |
4815 | changes. For the x dimension, the dialog units are multiplied by the | |
4816 | average character width and then divided by 4. For the y dimension, | |
4817 | the dialog units are multiplied by the average character height and | |
4818 | then divided by 8.</docstring> | |
f32fc4bc RD |
4819 | <paramlist> |
4820 | <param name="sz" type="Size" default=""/> | |
4821 | </paramlist> | |
4822 | </method> | |
4823 | <method name="ConvertPixelPointToDialog" type="Point" overloaded="no"> | |
4824 | <autodoc>ConvertPixelPointToDialog(Point pt) -> Point</autodoc> | |
4825 | <paramlist> | |
4826 | <param name="pt" type="Point" default=""/> | |
4827 | </paramlist> | |
4828 | </method> | |
4829 | <method name="ConvertPixelSizeToDialog" type="Size" overloaded="no"> | |
4830 | <autodoc>ConvertPixelSizeToDialog(Size sz) -> Size</autodoc> | |
4831 | <paramlist> | |
4832 | <param name="sz" type="Size" default=""/> | |
4833 | </paramlist> | |
4834 | </method> | |
4835 | <method name="WarpPointer" type="" overloaded="no"> | |
4836 | <autodoc>WarpPointer(int x, int y)</autodoc> | |
c2dda882 RD |
4837 | <docstring>Moves the pointer to the given position on the window. |
4838 | ||
4839 | NOTE: This function is not supported under Mac because Apple Human | |
4840 | Interface Guidelines forbid moving the mouse cursor programmatically.</docstring> | |
f32fc4bc RD |
4841 | <paramlist> |
4842 | <param name="x" type="int" default=""/> | |
4843 | <param name="y" type="int" default=""/> | |
4844 | </paramlist> | |
4845 | </method> | |
4846 | <method name="CaptureMouse" type="" overloaded="no"> | |
4847 | <autodoc>CaptureMouse()</autodoc> | |
c2dda882 RD |
4848 | <docstring>Directs all mouse input to this window. Call wx.Window.ReleaseMouse to |
4849 | release the capture. | |
4850 | ||
4851 | Note that wxWindows maintains the stack of windows having captured the | |
4852 | mouse and when the mouse is released the capture returns to the window | |
4853 | which had had captured it previously and it is only really released if | |
4854 | there were no previous window. In particular, this means that you must | |
4855 | release the mouse as many times as you capture it.</docstring> | |
f32fc4bc RD |
4856 | </method> |
4857 | <method name="ReleaseMouse" type="" overloaded="no"> | |
4858 | <autodoc>ReleaseMouse()</autodoc> | |
c2dda882 | 4859 | <docstring>Releases mouse input captured with wx.Window.CaptureMouse.</docstring> |
f32fc4bc RD |
4860 | </method> |
4861 | <staticmethod name="GetCapture" type="Window" overloaded="no"> | |
4862 | <autodoc>GetCapture() -> Window</autodoc> | |
c2dda882 | 4863 | <docstring>Returns the window which currently captures the mouse or None</docstring> |
f32fc4bc RD |
4864 | </staticmethod> |
4865 | <method name="HasCapture" type="bool" overloaded="no"> | |
4866 | <autodoc>HasCapture() -> bool</autodoc> | |
c2dda882 | 4867 | <docstring>Returns true if this window has the current mouse capture.</docstring> |
f32fc4bc RD |
4868 | </method> |
4869 | <method name="Refresh" type="" overloaded="no"> | |
4870 | <autodoc>Refresh(bool eraseBackground=True, Rect rect=None)</autodoc> | |
c2dda882 RD |
4871 | <docstring>Mark the specified rectangle (or the whole window) as "dirty" so it |
4872 | will be repainted. Causes an EVT_PAINT event to be generated and sent | |
4873 | to the window.</docstring> | |
f32fc4bc RD |
4874 | <paramlist> |
4875 | <param name="eraseBackground" type="bool" default="True"/> | |
4876 | <param name="rect" type="Rect" default="NULL"/> | |
4877 | </paramlist> | |
4878 | </method> | |
4879 | <method name="RefreshRect" type="" overloaded="no"> | |
4880 | <autodoc>RefreshRect(Rect rect)</autodoc> | |
c2dda882 RD |
4881 | <docstring>Redraws the contents of the given rectangle: the area inside it will |
4882 | be repainted. This is the same as Refresh but has a nicer syntax.</docstring> | |
f32fc4bc RD |
4883 | <paramlist> |
4884 | <param name="rect" type="Rect" default=""/> | |
4885 | </paramlist> | |
4886 | </method> | |
4887 | <method name="Update" type="" overloaded="no"> | |
4888 | <autodoc>Update()</autodoc> | |
c2dda882 RD |
4889 | <docstring>Calling this method immediately repaints the invalidated area of the |
4890 | window instead of waiting for the EVT_PAINT event to happen, (normally | |
4891 | this would usually only happen when the flow of control returns to the | |
4892 | event loop.) Notice that this function doesn't refresh the window and | |
4893 | does nothing if the window has been already repainted. Use Refresh | |
4894 | first if you want to immediately redraw the window (or some portion of | |
4895 | it) unconditionally.</docstring> | |
f32fc4bc RD |
4896 | </method> |
4897 | <method name="ClearBackground" type="" overloaded="no"> | |
4898 | <autodoc>ClearBackground()</autodoc> | |
c2dda882 RD |
4899 | <docstring>Clears the window by filling it with the current background |
4900 | colour. Does not cause an erase background event to be generated.</docstring> | |
f32fc4bc RD |
4901 | </method> |
4902 | <method name="Freeze" type="" overloaded="no"> | |
4903 | <autodoc>Freeze()</autodoc> | |
b39e211b RD |
4904 | <docstring>Freezes the window or, in other words, prevents any updates from taking place |
4905 | on screen, the window is not redrawn at all. Thaw must be called to reenable | |
4906 | window redrawing. Calls to Freeze/Thaw may be nested, with the actual Thaw | |
4907 | being delayed until all the nesting has been undone. | |
c2dda882 RD |
4908 | |
4909 | This method is useful for visual appearance optimization (for example, | |
4910 | it is a good idea to use it before inserting large amount of text into | |
4911 | a wxTextCtrl under wxGTK) but is not implemented on all platforms nor | |
4912 | for all controls so it is mostly just a hint to wxWindows and not a | |
4913 | mandatory directive.</docstring> | |
f32fc4bc RD |
4914 | </method> |
4915 | <method name="Thaw" type="" overloaded="no"> | |
4916 | <autodoc>Thaw()</autodoc> | |
b39e211b RD |
4917 | <docstring>Reenables window updating after a previous call to Freeze. Calls to |
4918 | Freeze/Thaw may be nested, so Thaw must be called the same number of times | |
4919 | that Freeze was before the window will be updated.</docstring> | |
f32fc4bc RD |
4920 | </method> |
4921 | <method name="PrepareDC" type="" overloaded="no"> | |
4922 | <autodoc>PrepareDC(DC dc)</autodoc> | |
c2dda882 RD |
4923 | <docstring>Call this function to prepare the device context for drawing a |
4924 | scrolled image. It sets the device origin according to the current | |
4925 | scroll position.</docstring> | |
f32fc4bc RD |
4926 | <paramlist> |
4927 | <param name="dc" type="wxDC" default=""/> | |
4928 | </paramlist> | |
4929 | </method> | |
4930 | <method name="GetUpdateRegion" type="wxRegion" overloaded="no"> | |
4931 | <autodoc>GetUpdateRegion() -> Region</autodoc> | |
c2dda882 RD |
4932 | <docstring>Returns the region specifying which parts of the window have been |
4933 | damaged. Should only be called within an EVT_PAINT handler.</docstring> | |
f32fc4bc RD |
4934 | </method> |
4935 | <method name="GetUpdateClientRect" type="Rect" overloaded="no"> | |
4936 | <autodoc>GetUpdateClientRect() -> Rect</autodoc> | |
c2dda882 | 4937 | <docstring>Get the update rectangle region bounding box in client coords.</docstring> |
f32fc4bc RD |
4938 | </method> |
4939 | <method name="IsExposed" type="bool" overloaded="no"> | |
4940 | <autodoc>IsExposed(int x, int y, int w=1, int h=1) -> bool</autodoc> | |
c2dda882 RD |
4941 | <docstring>Returns true if the given point or rectangle area has been exposed |
4942 | since the last repaint. Call this in an paint event handler to | |
4943 | optimize redrawing by only redrawing those areas, which have been | |
4944 | exposed.</docstring> | |
f32fc4bc RD |
4945 | <paramlist> |
4946 | <param name="x" type="int" default=""/> | |
4947 | <param name="y" type="int" default=""/> | |
4948 | <param name="w" type="int" default="1"/> | |
4949 | <param name="h" type="int" default="1"/> | |
4950 | </paramlist> | |
4951 | </method> | |
4952 | <method name="IsExposedPoint" type="bool" overloaded="no"> | |
4953 | <autodoc>IsExposedPoint(Point pt) -> bool</autodoc> | |
c2dda882 RD |
4954 | <docstring>Returns true if the given point or rectangle area has been exposed |
4955 | since the last repaint. Call this in an paint event handler to | |
4956 | optimize redrawing by only redrawing those areas, which have been | |
4957 | exposed.</docstring> | |
f32fc4bc RD |
4958 | <paramlist> |
4959 | <param name="pt" type="Point" default=""/> | |
4960 | </paramlist> | |
4961 | </method> | |
b39e211b RD |
4962 | <method name="IsExposedRect" type="bool" overloaded="no"> |
4963 | <autodoc>IsExposedRect(Rect rect) -> bool</autodoc> | |
c2dda882 RD |
4964 | <docstring>Returns true if the given point or rectangle area has been exposed |
4965 | since the last repaint. Call this in an paint event handler to | |
4966 | optimize redrawing by only redrawing those areas, which have been | |
4967 | exposed.</docstring> | |
f32fc4bc RD |
4968 | <paramlist> |
4969 | <param name="rect" type="Rect" default=""/> | |
4970 | </paramlist> | |
4971 | </method> | |
4972 | <method name="SetBackgroundColour" type="bool" overloaded="no"> | |
4973 | <autodoc>SetBackgroundColour(Colour colour) -> bool</autodoc> | |
c2dda882 RD |
4974 | <docstring>Sets the background colour of the window. Returns True if the colour |
4975 | was changed. The background colour is usually painted by the default | |
4976 | EVT_ERASE_BACKGROUND event handler function under Windows and | |
4977 | automatically under GTK. | |
4978 | ||
4979 | Note that setting the background colour does not cause an immediate | |
4980 | refresh, so you may wish to call ClearBackground or Refresh after | |
4981 | calling this function. | |
4982 | ||
4983 | Use this function with care under GTK+ as the new appearance of the | |
4984 | window might not look equally well when used with themes, i.e GTK+'s | |
4985 | ability to change its look as the user wishes with run-time loadable | |
4986 | modules.</docstring> | |
f32fc4bc RD |
4987 | <paramlist> |
4988 | <param name="colour" type="wxColour" default=""/> | |
4989 | </paramlist> | |
4990 | </method> | |
4991 | <method name="SetForegroundColour" type="bool" overloaded="no"> | |
4992 | <autodoc>SetForegroundColour(Colour colour) -> bool</autodoc> | |
c2dda882 RD |
4993 | <docstring>Sets the foreground colour of the window. Returns True is the colour |
4994 | was changed. The interpretation of foreground colour is dependent on | |
4995 | the window class; it may be the text colour or other colour, or it may | |
4996 | not be used at all.</docstring> | |
f32fc4bc RD |
4997 | <paramlist> |
4998 | <param name="colour" type="wxColour" default=""/> | |
4999 | </paramlist> | |
5000 | </method> | |
5001 | <method name="GetBackgroundColour" type="wxColour" overloaded="no"> | |
5002 | <autodoc>GetBackgroundColour() -> Colour</autodoc> | |
c2dda882 | 5003 | <docstring>Returns the background colour of the window.</docstring> |
f32fc4bc RD |
5004 | </method> |
5005 | <method name="GetForegroundColour" type="wxColour" overloaded="no"> | |
5006 | <autodoc>GetForegroundColour() -> Colour</autodoc> | |
c2dda882 RD |
5007 | <docstring>Returns the foreground colour of the window. The interpretation of |
5008 | foreground colour is dependent on the window class; it may be the text | |
5009 | colour or other colour, or it may not be used at all.</docstring> | |
f32fc4bc RD |
5010 | </method> |
5011 | <method name="SetCursor" type="bool" overloaded="no"> | |
5012 | <autodoc>SetCursor(Cursor cursor) -> bool</autodoc> | |
c2dda882 RD |
5013 | <docstring>Sets the window's cursor. Notice that the window cursor also sets it |
5014 | for the children of the window implicitly. | |
5015 | ||
5016 | The cursor may be wx.NullCursor in which case the window cursor will | |
5017 | be reset back to default.</docstring> | |
f32fc4bc RD |
5018 | <paramlist> |
5019 | <param name="cursor" type="wxCursor" default=""/> | |
5020 | </paramlist> | |
5021 | </method> | |
5022 | <method name="GetCursor" type="wxCursor" overloaded="no"> | |
5023 | <autodoc>GetCursor() -> Cursor</autodoc> | |
c2dda882 | 5024 | <docstring>Return the cursor associated with this window.</docstring> |
f32fc4bc RD |
5025 | </method> |
5026 | <method name="SetFont" type="bool" overloaded="no"> | |
5027 | <autodoc>SetFont(Font font) -> bool</autodoc> | |
c2dda882 | 5028 | <docstring>Sets the font for this window.</docstring> |
f32fc4bc RD |
5029 | <paramlist> |
5030 | <param name="font" type="wxFont" default=""/> | |
5031 | </paramlist> | |
5032 | </method> | |
5033 | <method name="GetFont" type="wxFont" overloaded="no"> | |
5034 | <autodoc>GetFont() -> Font</autodoc> | |
b39e211b | 5035 | <docstring>Returns the default font used for this window.</docstring> |
f32fc4bc RD |
5036 | </method> |
5037 | <method name="SetCaret" type="" overloaded="no"> | |
5038 | <autodoc>SetCaret(Caret caret)</autodoc> | |
c2dda882 | 5039 | <docstring>Sets the caret associated with the window.</docstring> |
f32fc4bc RD |
5040 | <paramlist> |
5041 | <param name="caret" type="wxCaret" default=""/> | |
5042 | </paramlist> | |
5043 | </method> | |
5044 | <method name="GetCaret" type="wxCaret" overloaded="no"> | |
5045 | <autodoc>GetCaret() -> Caret</autodoc> | |
c2dda882 | 5046 | <docstring>Returns the caret associated with the window.</docstring> |
f32fc4bc RD |
5047 | </method> |
5048 | <method name="GetCharHeight" type="int" overloaded="no"> | |
5049 | <autodoc>GetCharHeight() -> int</autodoc> | |
c2dda882 | 5050 | <docstring>Get the (average) character size for the current font.</docstring> |
f32fc4bc RD |
5051 | </method> |
5052 | <method name="GetCharWidth" type="int" overloaded="no"> | |
5053 | <autodoc>GetCharWidth() -> int</autodoc> | |
c2dda882 | 5054 | <docstring>Get the (average) character size for the current font.</docstring> |
f32fc4bc RD |
5055 | </method> |
5056 | <method name="GetTextExtent" type="" overloaded="no"> | |
5057 | <autodoc>GetTextExtent(String string) -> (width, height)</autodoc> | |
5058 | <docstring>Get the width and height of the text using the current font.</docstring> | |
5059 | <paramlist> | |
5060 | <param name="string" type="String" default=""/> | |
5061 | <param name="OUTPUT" type="int" default=""/> | |
5062 | <param name="OUTPUT" type="int" default=""/> | |
5063 | </paramlist> | |
5064 | </method> | |
5065 | <method name="GetFullTextExtent" type="" overloaded="no"> | |
5066 | <autodoc>GetFullTextExtent(String string, Font font=None) -> | |
5067 | (width, height, descent, externalLeading)</autodoc> | |
c2dda882 RD |
5068 | <docstring>Get the width, height, decent and leading of the text using the |
5069 | current or specified font.</docstring> | |
f32fc4bc RD |
5070 | <paramlist> |
5071 | <param name="string" type="String" default=""/> | |
5072 | <param name="OUTPUT" type="int" default=""/> | |
5073 | <param name="OUTPUT" type="int" default=""/> | |
5074 | <param name="OUTPUT" type="int" default=""/> | |
5075 | <param name="OUTPUT" type="int" default=""/> | |
5076 | <param name="font" type="wxFont" default="NULL"/> | |
5077 | </paramlist> | |
5078 | </method> | |
5079 | <method name="ClientToScreenXY" type="" overloaded="no"> | |
c2dda882 RD |
5080 | <autodoc>ClientToScreenXY(int x, int y) -> (x,y)</autodoc> |
5081 | <docstring>Converts to screen coordinates from coordinates relative to this window.</docstring> | |
f32fc4bc RD |
5082 | <paramlist> |
5083 | <param name="x" type="int" default=""/> | |
5084 | <param name="y" type="int" default=""/> | |
5085 | </paramlist> | |
5086 | </method> | |
5087 | <method name="ScreenToClientXY" type="" overloaded="no"> | |
c2dda882 RD |
5088 | <autodoc>ScreenToClientXY(int x, int y) -> (x,y)</autodoc> |
5089 | <docstring>Converts from screen to client window coordinates.</docstring> | |
f32fc4bc RD |
5090 | <paramlist> |
5091 | <param name="x" type="int" default=""/> | |
5092 | <param name="y" type="int" default=""/> | |
5093 | </paramlist> | |
5094 | </method> | |
5095 | <method name="ClientToScreen" type="Point" overloaded="no"> | |
5096 | <autodoc>ClientToScreen(Point pt) -> Point</autodoc> | |
c2dda882 | 5097 | <docstring>Converts to screen coordinates from coordinates relative to this window.</docstring> |
f32fc4bc RD |
5098 | <paramlist> |
5099 | <param name="pt" type="Point" default=""/> | |
5100 | </paramlist> | |
5101 | </method> | |
5102 | <method name="ScreenToClient" type="Point" overloaded="no"> | |
5103 | <autodoc>ScreenToClient(Point pt) -> Point</autodoc> | |
c2dda882 | 5104 | <docstring>Converts from screen to client window coordinates.</docstring> |
f32fc4bc RD |
5105 | <paramlist> |
5106 | <param name="pt" type="Point" default=""/> | |
5107 | </paramlist> | |
5108 | </method> | |
5109 | <method name="HitTestXY" type="wxHitTest" overloaded="no"> | |
5110 | <autodoc>HitTestXY(int x, int y) -> int</autodoc> | |
c2dda882 | 5111 | <docstring>Test where the given (in client coords) point lies</docstring> |
f32fc4bc RD |
5112 | <paramlist> |
5113 | <param name="x" type="int" default=""/> | |
5114 | <param name="y" type="int" default=""/> | |
5115 | </paramlist> | |
5116 | </method> | |
5117 | <method name="HitTest" type="wxHitTest" overloaded="no"> | |
5118 | <autodoc>HitTest(Point pt) -> int</autodoc> | |
c2dda882 | 5119 | <docstring>Test where the given (in client coords) point lies</docstring> |
f32fc4bc RD |
5120 | <paramlist> |
5121 | <param name="pt" type="Point" default=""/> | |
5122 | </paramlist> | |
5123 | </method> | |
c2dda882 RD |
5124 | <method name="GetBorder" type="wxBorder" overloaded="yes"> |
5125 | <docstring>Get the window border style from the given flags: this is different | |
5126 | from simply doing flags & wxBORDER_MASK because it uses | |
5127 | GetDefaultBorder() to translate wxBORDER_DEFAULT to something | |
5128 | reasonable. | |
5129 | </docstring> | |
f32fc4bc RD |
5130 | <paramlist> |
5131 | <param name="flags" type="long" default=""/> | |
5132 | </paramlist> | |
5133 | </method> | |
c2dda882 RD |
5134 | <method name="GetBorder" type="wxBorder" overloaded="yes"> |
5135 | <autodoc>GetBorder(long flags) -> int | |
5136 | GetBorder() -> int</autodoc> | |
5137 | <docstring>Get border for the flags of this window</docstring> | |
f32fc4bc RD |
5138 | </method> |
5139 | <method name="UpdateWindowUI" type="" overloaded="no"> | |
5140 | <autodoc>UpdateWindowUI(long flags=UPDATE_UI_NONE)</autodoc> | |
c2dda882 RD |
5141 | <docstring>This function sends EVT_UPDATE_UI events to the window. The particular |
5142 | implementation depends on the window; for example a wx.ToolBar will | |
5143 | send an update UI event for each toolbar button, and a wx.Frame will | |
5144 | send an update UI event for each menubar menu item. You can call this | |
5145 | function from your application to ensure that your UI is up-to-date at | |
5146 | a particular point in time (as far as your EVT_UPDATE_UI handlers are | |
5147 | concerned). This may be necessary if you have called | |
5148 | wx.UpdateUIEvent.SetMode or wx.UpdateUIEvent.SetUpdateInterval to | |
5149 | limit the overhead that wxWindows incurs by sending update UI events | |
5150 | in idle time. | |
5151 | ||
5152 | The flags should be a bitlist of one or more of the following values: | |
5153 | ||
5154 | wx.UPDATE_UI_NONE No particular value | |
5155 | wx.UPDATE_UI_RECURSE Call the function for descendants | |
5156 | wx.UPDATE_UI_FROMIDLE Invoked from OnIdle | |
5157 | ||
5158 | If you are calling this function from an OnIdle function, make sure | |
5159 | you pass the wx.UPDATE_UI_FROMIDLE flag, since this tells the window to | |
5160 | only update the UI elements that need to be updated in idle time. Some | |
5161 | windows update their elements only when necessary, for example when a | |
5162 | menu is about to be shown. The following is an example of how to call | |
5163 | UpdateWindowUI from an idle function. | |
5164 | ||
5165 | def OnIdle(self, evt): | |
5166 | if wx.UpdateUIEvent.CanUpdate(self): | |
5167 | self.UpdateWindowUI(wx.UPDATE_UI_FROMIDLE); | |
5168 | </docstring> | |
f32fc4bc RD |
5169 | <paramlist> |
5170 | <param name="flags" type="long" default="wxUPDATE_UI_NONE"/> | |
5171 | </paramlist> | |
5172 | </method> | |
5173 | <method name="PopupMenuXY" type="bool" overloaded="no"> | |
5174 | <autodoc>PopupMenuXY(Menu menu, int x, int y) -> bool</autodoc> | |
c2dda882 RD |
5175 | <docstring>Pops up the given menu at the specified coordinates, relative to this |
5176 | window, and returns control when the user has dismissed the menu. If a | |
5177 | menu item is selected, the corresponding menu event is generated and | |
5178 | will be processed as usual.</docstring> | |
f32fc4bc RD |
5179 | <paramlist> |
5180 | <param name="menu" type="wxMenu" default=""/> | |
5181 | <param name="x" type="int" default=""/> | |
5182 | <param name="y" type="int" default=""/> | |
5183 | </paramlist> | |
5184 | </method> | |
5185 | <method name="PopupMenu" type="bool" overloaded="no"> | |
5186 | <autodoc>PopupMenu(Menu menu, Point pos) -> bool</autodoc> | |
c2dda882 RD |
5187 | <docstring>Pops up the given menu at the specified coordinates, relative to this |
5188 | window, and returns control when the user has dismissed the menu. If a | |
5189 | menu item is selected, the corresponding menu event is generated and | |
5190 | will be processed as usual.</docstring> | |
f32fc4bc RD |
5191 | <paramlist> |
5192 | <param name="menu" type="wxMenu" default=""/> | |
5193 | <param name="pos" type="Point" default=""/> | |
5194 | </paramlist> | |
5195 | </method> | |
5196 | <method name="GetHandle" type="long" overloaded="no"> | |
5197 | <autodoc>GetHandle() -> long</autodoc> | |
c2dda882 RD |
5198 | <docstring>Returns the platform-specific handle (as a long integer) of the |
5199 | physical window. Currently on wxMac it returns the handle of the | |
5200 | toplevel parent of the window.</docstring> | |
f32fc4bc RD |
5201 | </method> |
5202 | <method name="HasScrollbar" type="bool" overloaded="no"> | |
5203 | <autodoc>HasScrollbar(int orient) -> bool</autodoc> | |
c2dda882 | 5204 | <docstring>Does the window have the scrollbar for this orientation?</docstring> |
f32fc4bc RD |
5205 | <paramlist> |
5206 | <param name="orient" type="int" default=""/> | |
5207 | </paramlist> | |
5208 | </method> | |
5209 | <method name="SetScrollbar" type="" overloaded="no"> | |
c2dda882 RD |
5210 | <autodoc>SetScrollbar(int orientation, int pos, int thumbvisible, int range, |
5211 | bool refresh=True)</autodoc> | |
5212 | <docstring>Sets the scrollbar properties of a built-in scrollbar. | |
5213 | ||
5214 | orientation: Determines the scrollbar whose page size is to be | |
5215 | set. May be wx.HORIZONTAL or wx.VERTICAL. | |
5216 | ||
5217 | position: The position of the scrollbar in scroll units. | |
5218 | ||
5219 | thumbSize: The size of the thumb, or visible portion of the | |
5220 | scrollbar, in scroll units. | |
5221 | ||
5222 | range: The maximum position of the scrollbar. | |
5223 | ||
5224 | refresh: True to redraw the scrollbar, false otherwise.</docstring> | |
f32fc4bc | 5225 | <paramlist> |
c2dda882 | 5226 | <param name="orientation" type="int" default=""/> |
f32fc4bc RD |
5227 | <param name="pos" type="int" default=""/> |
5228 | <param name="thumbvisible" type="int" default=""/> | |
5229 | <param name="range" type="int" default=""/> | |
5230 | <param name="refresh" type="bool" default="True"/> | |
5231 | </paramlist> | |
5232 | </method> | |
5233 | <method name="SetScrollPos" type="" overloaded="no"> | |
c2dda882 RD |
5234 | <autodoc>SetScrollPos(int orientation, int pos, bool refresh=True)</autodoc> |
5235 | <docstring>Sets the position of one of the built-in scrollbars.</docstring> | |
f32fc4bc | 5236 | <paramlist> |
c2dda882 | 5237 | <param name="orientation" type="int" default=""/> |
f32fc4bc RD |
5238 | <param name="pos" type="int" default=""/> |
5239 | <param name="refresh" type="bool" default="True"/> | |
5240 | </paramlist> | |
5241 | </method> | |
5242 | <method name="GetScrollPos" type="int" overloaded="no"> | |
c2dda882 RD |
5243 | <autodoc>GetScrollPos(int orientation) -> int</autodoc> |
5244 | <docstring>Returns the built-in scrollbar position.</docstring> | |
f32fc4bc | 5245 | <paramlist> |
c2dda882 | 5246 | <param name="orientation" type="int" default=""/> |
f32fc4bc RD |
5247 | </paramlist> |
5248 | </method> | |
5249 | <method name="GetScrollThumb" type="int" overloaded="no"> | |
c2dda882 RD |
5250 | <autodoc>GetScrollThumb(int orientation) -> int</autodoc> |
5251 | <docstring>Returns the built-in scrollbar thumb size.</docstring> | |
f32fc4bc | 5252 | <paramlist> |
c2dda882 | 5253 | <param name="orientation" type="int" default=""/> |
f32fc4bc RD |
5254 | </paramlist> |
5255 | </method> | |
5256 | <method name="GetScrollRange" type="int" overloaded="no"> | |
c2dda882 RD |
5257 | <autodoc>GetScrollRange(int orientation) -> int</autodoc> |
5258 | <docstring>Returns the built-in scrollbar range.</docstring> | |
f32fc4bc | 5259 | <paramlist> |
c2dda882 | 5260 | <param name="orientation" type="int" default=""/> |
f32fc4bc RD |
5261 | </paramlist> |
5262 | </method> | |
5263 | <method name="ScrollWindow" type="" overloaded="no"> | |
5264 | <autodoc>ScrollWindow(int dx, int dy, Rect rect=None)</autodoc> | |
c2dda882 RD |
5265 | <docstring>Physically scrolls the pixels in the window and move child windows |
5266 | accordingly. Use this function to optimise your scrolling | |
5267 | implementations, to minimise the area that must be redrawn. Note that | |
5268 | it is rarely required to call this function from a user program. | |
5269 | ||
5270 | dx: Amount to scroll horizontally. | |
5271 | ||
5272 | dy: Amount to scroll vertically. | |
5273 | ||
5274 | rect: Rectangle to invalidate. If this is None, the whole window | |
5275 | is invalidated. If you pass a rectangle corresponding to the | |
5276 | area of the window exposed by the scroll, your painting | |
5277 | handler can optimize painting by checking for the | |
5278 | invalidated region.</docstring> | |
f32fc4bc RD |
5279 | <paramlist> |
5280 | <param name="dx" type="int" default=""/> | |
5281 | <param name="dy" type="int" default=""/> | |
5282 | <param name="rect" type="Rect" default="NULL"/> | |
5283 | </paramlist> | |
5284 | </method> | |
5285 | <method name="ScrollLines" type="bool" overloaded="no"> | |
5286 | <autodoc>ScrollLines(int lines) -> bool</autodoc> | |
c2dda882 RD |
5287 | <docstring>If the platform and window class supports it, scrolls the window by |
5288 | the given number of lines down, if lines is positive, or up if lines | |
5289 | is negative. Returns True if the window was scrolled, False if it was | |
5290 | already on top/bottom and nothing was done.</docstring> | |
f32fc4bc RD |
5291 | <paramlist> |
5292 | <param name="lines" type="int" default=""/> | |
5293 | </paramlist> | |
5294 | </method> | |
5295 | <method name="ScrollPages" type="bool" overloaded="no"> | |
5296 | <autodoc>ScrollPages(int pages) -> bool</autodoc> | |
c2dda882 RD |
5297 | <docstring>If the platform and window class supports it, scrolls the window by |
5298 | the given number of pages down, if pages is positive, or up if pages | |
5299 | is negative. Returns True if the window was scrolled, False if it was | |
5300 | already on top/bottom and nothing was done.</docstring> | |
f32fc4bc RD |
5301 | <paramlist> |
5302 | <param name="pages" type="int" default=""/> | |
5303 | </paramlist> | |
5304 | </method> | |
5305 | <method name="LineUp" type="bool" overloaded="no"> | |
5306 | <autodoc>LineUp() -> bool</autodoc> | |
c2dda882 | 5307 | <docstring>This is just a wrapper for ScrollLines(-1).</docstring> |
f32fc4bc RD |
5308 | </method> |
5309 | <method name="LineDown" type="bool" overloaded="no"> | |
5310 | <autodoc>LineDown() -> bool</autodoc> | |
c2dda882 | 5311 | <docstring>This is just a wrapper for ScrollLines(1).</docstring> |
f32fc4bc RD |
5312 | </method> |
5313 | <method name="PageUp" type="bool" overloaded="no"> | |
5314 | <autodoc>PageUp() -> bool</autodoc> | |
c2dda882 | 5315 | <docstring>This is just a wrapper for ScrollPages(-1).</docstring> |
f32fc4bc RD |
5316 | </method> |
5317 | <method name="PageDown" type="bool" overloaded="no"> | |
5318 | <autodoc>PageDown() -> bool</autodoc> | |
c2dda882 | 5319 | <docstring>This is just a wrapper for ScrollPages(1).</docstring> |
f32fc4bc RD |
5320 | </method> |
5321 | <method name="SetHelpText" type="" overloaded="no"> | |
5322 | <autodoc>SetHelpText(String text)</autodoc> | |
c2dda882 RD |
5323 | <docstring>Sets the help text to be used as context-sensitive help for this |
5324 | window. Note that the text is actually stored by the current | |
5325 | wxHelpProvider implementation, and not in the window object itself.</docstring> | |
f32fc4bc RD |
5326 | <paramlist> |
5327 | <param name="text" type="String" default=""/> | |
5328 | </paramlist> | |
5329 | </method> | |
5330 | <method name="SetHelpTextForId" type="" overloaded="no"> | |
5331 | <autodoc>SetHelpTextForId(String text)</autodoc> | |
c2dda882 RD |
5332 | <docstring>Associate this help text with all windows with the same id as this |
5333 | one.</docstring> | |
f32fc4bc RD |
5334 | <paramlist> |
5335 | <param name="text" type="String" default=""/> | |
5336 | </paramlist> | |
5337 | </method> | |
5338 | <method name="GetHelpText" type="String" overloaded="no"> | |
5339 | <autodoc>GetHelpText() -> String</autodoc> | |
c2dda882 RD |
5340 | <docstring>Gets the help text to be used as context-sensitive help for this |
5341 | window. Note that the text is actually stored by the current | |
5342 | wxHelpProvider implementation, and not in the window object itself.</docstring> | |
f32fc4bc RD |
5343 | </method> |
5344 | <method name="SetToolTipString" type="" overloaded="no"> | |
5345 | <autodoc>SetToolTipString(String tip)</autodoc> | |
c2dda882 | 5346 | <docstring>Attach a tooltip to the window.</docstring> |
f32fc4bc RD |
5347 | <paramlist> |
5348 | <param name="tip" type="String" default=""/> | |
5349 | </paramlist> | |
5350 | </method> | |
5351 | <method name="SetToolTip" type="" overloaded="no"> | |
5352 | <autodoc>SetToolTip(ToolTip tip)</autodoc> | |
c2dda882 | 5353 | <docstring>Attach a tooltip to the window.</docstring> |
f32fc4bc RD |
5354 | <paramlist> |
5355 | <param name="tip" type="wxToolTip" default=""/> | |
5356 | </paramlist> | |
5357 | </method> | |
5358 | <method name="GetToolTip" type="wxToolTip" overloaded="no"> | |
5359 | <autodoc>GetToolTip() -> ToolTip</autodoc> | |
c2dda882 | 5360 | <docstring>get the associated tooltip or None if none</docstring> |
f32fc4bc RD |
5361 | </method> |
5362 | <method name="SetDropTarget" type="" overloaded="no"> | |
c2dda882 RD |
5363 | <autodoc>SetDropTarget(DropTarget dropTarget)</autodoc> |
5364 | <docstring>Associates a drop target with this window. If the window already has | |
5365 | a drop target, it is deleted.</docstring> | |
f32fc4bc RD |
5366 | <paramlist> |
5367 | <param name="dropTarget" type="wxPyDropTarget" default=""/> | |
5368 | </paramlist> | |
5369 | </method> | |
5370 | <method name="GetDropTarget" type="wxPyDropTarget" overloaded="no"> | |
c2dda882 RD |
5371 | <autodoc>GetDropTarget() -> DropTarget</autodoc> |
5372 | <docstring>Returns the associated drop target, which may be None.</docstring> | |
f32fc4bc RD |
5373 | </method> |
5374 | <method name="SetConstraints" type="" overloaded="no"> | |
5375 | <autodoc>SetConstraints(LayoutConstraints constraints)</autodoc> | |
c2dda882 RD |
5376 | <docstring>Sets the window to have the given layout constraints. If an existing |
5377 | layout constraints object is already owned by the window, it will be | |
5378 | deleted. Pass None to disassociate and delete the window's current | |
5379 | constraints. | |
5380 | ||
5381 | You must call SetAutoLayout to tell a window to use the constraints | |
5382 | automatically in its default EVT_SIZE handler; otherwise, you must | |
5383 | handle EVT_SIZE yourself and call Layout() explicitly. When setting | |
5384 | both a wx.LayoutConstraints and a wx.Sizer, only the sizer will have | |
5385 | effect.</docstring> | |
f32fc4bc RD |
5386 | <paramlist> |
5387 | <param name="constraints" type="wxLayoutConstraints" default=""/> | |
5388 | </paramlist> | |
5389 | </method> | |
5390 | <method name="GetConstraints" type="wxLayoutConstraints" overloaded="no"> | |
5391 | <autodoc>GetConstraints() -> LayoutConstraints</autodoc> | |
c2dda882 RD |
5392 | <docstring>Returns a pointer to the window's layout constraints, or None if there |
5393 | are none.</docstring> | |
f32fc4bc RD |
5394 | </method> |
5395 | <method name="SetAutoLayout" type="" overloaded="no"> | |
5396 | <autodoc>SetAutoLayout(bool autoLayout)</autodoc> | |
c2dda882 RD |
5397 | <docstring>Determines whether the Layout function will be called automatically |
5398 | when the window is resized. It is called implicitly by SetSizer but | |
5399 | if you use SetConstraints you should call it manually or otherwise the | |
5400 | window layout won't be correctly updated when its size changes.</docstring> | |
f32fc4bc RD |
5401 | <paramlist> |
5402 | <param name="autoLayout" type="bool" default=""/> | |
5403 | </paramlist> | |
5404 | </method> | |
5405 | <method name="GetAutoLayout" type="bool" overloaded="no"> | |
5406 | <autodoc>GetAutoLayout() -> bool</autodoc> | |
c2dda882 | 5407 | <docstring>Returns the current autoLayout setting</docstring> |
f32fc4bc RD |
5408 | </method> |
5409 | <method name="Layout" type="bool" overloaded="no"> | |
5410 | <autodoc>Layout() -> bool</autodoc> | |
c2dda882 RD |
5411 | <docstring>Invokes the constraint-based layout algorithm or the sizer-based |
5412 | algorithm for this window. See SetAutoLayout: when auto layout is on, | |
5413 | this function gets called automatically by the default EVT_SIZE | |
5414 | handler when the window is resized.</docstring> | |
f32fc4bc RD |
5415 | </method> |
5416 | <method name="SetSizer" type="" overloaded="no"> | |
5417 | <autodoc>SetSizer(Sizer sizer, bool deleteOld=True)</autodoc> | |
c2dda882 RD |
5418 | <docstring>Sets the window to have the given layout sizer. The window will then |
5419 | own the object, and will take care of its deletion. If an existing | |
5420 | layout sizer object is already owned by the window, it will be deleted | |
5421 | if the deleteOld parameter is true. Note that this function will also | |
5422 | call SetAutoLayout implicitly with a True parameter if the sizer is | |
5423 | non-NoneL and False otherwise.</docstring> | |
f32fc4bc RD |
5424 | <paramlist> |
5425 | <param name="sizer" type="wxSizer" default=""/> | |
5426 | <param name="deleteOld" type="bool" default="True"/> | |
5427 | </paramlist> | |
5428 | </method> | |
5429 | <method name="SetSizerAndFit" type="" overloaded="no"> | |
5430 | <autodoc>SetSizerAndFit(Sizer sizer, bool deleteOld=True)</autodoc> | |
c2dda882 RD |
5431 | <docstring>The same as SetSizer, except it also sets the size hints for the |
5432 | window based on the sizer's minimum size.</docstring> | |
f32fc4bc RD |
5433 | <paramlist> |
5434 | <param name="sizer" type="wxSizer" default=""/> | |
5435 | <param name="deleteOld" type="bool" default="True"/> | |
5436 | </paramlist> | |
5437 | </method> | |
5438 | <method name="GetSizer" type="wxSizer" overloaded="no"> | |
5439 | <autodoc>GetSizer() -> Sizer</autodoc> | |
c2dda882 RD |
5440 | <docstring>Return the sizer associated with the window by a previous call to |
5441 | SetSizer or None if there isn't one.</docstring> | |
f32fc4bc RD |
5442 | </method> |
5443 | <method name="SetContainingSizer" type="" overloaded="no"> | |
5444 | <autodoc>SetContainingSizer(Sizer sizer)</autodoc> | |
c2dda882 RD |
5445 | <docstring>This normally does not need to be called by application code. It is |
5446 | called internally when a window is added to a sizer, and is used so | |
5447 | the window can remove itself from the sizer when it is destroyed.</docstring> | |
f32fc4bc RD |
5448 | <paramlist> |
5449 | <param name="sizer" type="wxSizer" default=""/> | |
5450 | </paramlist> | |
5451 | </method> | |
5452 | <method name="GetContainingSizer" type="wxSizer" overloaded="no"> | |
5453 | <autodoc>GetContainingSizer() -> Sizer</autodoc> | |
c2dda882 | 5454 | <docstring>Return the sizer that this window is a member of, if any, otherwise None.</docstring> |
f32fc4bc RD |
5455 | </method> |
5456 | </class> | |
5457 | <pythoncode> | |
5458 | def DLG_PNT(win, point_or_x, y=None): | |
c2dda882 RD |
5459 | """ |
5460 | Convenience function for converting a Point or (x,y) in | |
5461 | dialog units to pixel units. | |
5462 | """ | |
f32fc4bc RD |
5463 | if y is None: |
5464 | return win.ConvertDialogPointToPixels(point_or_x) | |
5465 | else: | |
5466 | return win.ConvertDialogPointToPixels(wx.Point(point_or_x, y)) | |
5467 | ||
5468 | def DLG_SZE(win, size_width, height=None): | |
c2dda882 RD |
5469 | """ |
5470 | Convenience function for converting a Size or (w,h) in | |
5471 | dialog units to pixel units. | |
5472 | """ | |
f32fc4bc RD |
5473 | if height is None: |
5474 | return win.ConvertDialogSizeToPixels(size_width) | |
5475 | else: | |
5476 | return win.ConvertDialogSizeToPixels(wx.Size(size_width, height)) | |
5477 | </pythoncode> | |
5478 | <method name="FindWindowById" oldname="wxFindWindowById" type="Window" overloaded="no"> | |
5479 | <autodoc>FindWindowById(long id, Window parent=None) -> Window</autodoc> | |
c2dda882 RD |
5480 | <docstring>Find the first window in the application with the given id. If parent |
5481 | is None, the search will start from all top-level frames and dialog | |
5482 | boxes; if non-None, the search will be limited to the given window | |
5483 | hierarchy. The search is recursive in both cases.</docstring> | |
856bf319 | 5484 | <paramlist> |
f32fc4bc RD |
5485 | <param name="id" type="long" default=""/> |
5486 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
5487 | </paramlist> |
5488 | </method> | |
f32fc4bc RD |
5489 | <method name="FindWindowByName" oldname="wxFindWindowByName" type="Window" overloaded="no"> |
5490 | <autodoc>FindWindowByName(String name, Window parent=None) -> Window</autodoc> | |
c2dda882 RD |
5491 | <docstring>Find a window by its name (as given in a window constructor or Create |
5492 | function call). If parent is None, the search will start from all | |
5493 | top-level frames and dialog boxes; if non-None, the search will be | |
5494 | limited to the given window hierarchy. The search is recursive in both | |
5495 | cases. | |
5496 | ||
5497 | If no window with such name is found, wx.FindWindowByLabel is called.</docstring> | |
856bf319 | 5498 | <paramlist> |
f32fc4bc RD |
5499 | <param name="name" type="String" default=""/> |
5500 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
5501 | </paramlist> |
5502 | </method> | |
f32fc4bc RD |
5503 | <method name="FindWindowByLabel" oldname="wxFindWindowByLabel" type="Window" overloaded="no"> |
5504 | <autodoc>FindWindowByLabel(String label, Window parent=None) -> Window</autodoc> | |
c2dda882 RD |
5505 | <docstring>Find a window by its label. Depending on the type of window, the label |
5506 | may be a window title or panel item label. If parent is None, the | |
5507 | search will start from all top-level frames and dialog boxes; if | |
5508 | non-None, the search will be limited to the given window | |
5509 | hierarchy. The search is recursive in both cases.</docstring> | |
856bf319 | 5510 | <paramlist> |
f32fc4bc RD |
5511 | <param name="label" type="String" default=""/> |
5512 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
5513 | </paramlist> |
5514 | </method> | |
f32fc4bc | 5515 | <method name="Window_FromHWND" oldname="wxWindow_FromHWND" type="Window" overloaded="no"> |
b39e211b | 5516 | <autodoc>Window_FromHWND(Window parent, unsigned long _hWnd) -> Window</autodoc> |
856bf319 | 5517 | <paramlist> |
b39e211b RD |
5518 | <param name="parent" type="Window" default=""/> |
5519 | <param name="_hWnd" type="unsigned long" default=""/> | |
856bf319 RD |
5520 | </paramlist> |
5521 | </method> | |
856bf319 | 5522 | <pythoncode> |
856bf319 RD |
5523 | #--------------------------------------------------------------------------- |
5524 | </pythoncode> | |
f32fc4bc RD |
5525 | <class name="Validator" oldname="wxValidator" module="core"> |
5526 | <baseclass name="EvtHandler"/> | |
5527 | <constructor name="Validator" overloaded="no"> | |
5528 | <autodoc>__init__() -> Validator</autodoc> | |
5529 | </constructor> | |
5530 | <method name="Clone" type="Validator" overloaded="no"> | |
5531 | <autodoc>Clone() -> Validator</autodoc> | |
5532 | </method> | |
5533 | <method name="Validate" type="bool" overloaded="no"> | |
5534 | <autodoc>Validate(Window parent) -> bool</autodoc> | |
5535 | <paramlist> | |
5536 | <param name="parent" type="Window" default=""/> | |
5537 | </paramlist> | |
5538 | </method> | |
5539 | <method name="TransferToWindow" type="bool" overloaded="no"> | |
5540 | <autodoc>TransferToWindow() -> bool</autodoc> | |
5541 | </method> | |
5542 | <method name="TransferFromWindow" type="bool" overloaded="no"> | |
5543 | <autodoc>TransferFromWindow() -> bool</autodoc> | |
5544 | </method> | |
5545 | <method name="GetWindow" type="Window" overloaded="no"> | |
5546 | <autodoc>GetWindow() -> Window</autodoc> | |
5547 | </method> | |
5548 | <method name="SetWindow" type="" overloaded="no"> | |
5549 | <autodoc>SetWindow(Window window)</autodoc> | |
5550 | <paramlist> | |
5551 | <param name="window" type="Window" default=""/> | |
5552 | </paramlist> | |
5553 | </method> | |
5554 | <staticmethod name="IsSilent" type="bool" overloaded="no"> | |
5555 | <autodoc>IsSilent() -> bool</autodoc> | |
5556 | </staticmethod> | |
5557 | <staticmethod name="SetBellOnError" type="" overloaded="no"> | |
5558 | <autodoc>SetBellOnError(int doIt=True)</autodoc> | |
5559 | <paramlist> | |
5560 | <param name="doIt" type="int" default="True"/> | |
5561 | </paramlist> | |
5562 | </staticmethod> | |
5563 | </class> | |
5564 | <class name="PyValidator" oldname="wxPyValidator" module="core"> | |
5565 | <baseclass name="Validator"/> | |
5566 | <constructor name="PyValidator" overloaded="no"> | |
5567 | <autodoc>__init__() -> PyValidator</autodoc> | |
5568 | </constructor> | |
5569 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
5570 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class, int incref=True)</autodoc> | |
5571 | <paramlist> | |
5572 | <param name="self" type="PyObject" default=""/> | |
5573 | <param name="_class" type="PyObject" default=""/> | |
5574 | <param name="incref" type="int" default="True"/> | |
5575 | </paramlist> | |
5576 | </method> | |
5577 | </class> | |
5578 | <pythoncode> | |
856bf319 RD |
5579 | #--------------------------------------------------------------------------- |
5580 | </pythoncode> | |
f32fc4bc RD |
5581 | <class name="Menu" oldname="wxMenu" module="core"> |
5582 | <baseclass name="EvtHandler"/> | |
5583 | <constructor name="Menu" overloaded="no"> | |
5584 | <autodoc>__init__(String title=EmptyString, long style=0) -> Menu</autodoc> | |
5585 | <paramlist> | |
5586 | <param name="title" type="String" default="wxPyEmptyString"/> | |
5587 | <param name="style" type="long" default="0"/> | |
5588 | </paramlist> | |
5589 | </constructor> | |
5590 | <method name="Append" type="wxMenuItem" overloaded="no"> | |
5591 | <autodoc>Append(int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -> MenuItem</autodoc> | |
5592 | <paramlist> | |
5593 | <param name="id" type="int" default=""/> | |
5594 | <param name="text" type="String" default=""/> | |
5595 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5596 | <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/> | |
5597 | </paramlist> | |
5598 | </method> | |
5599 | <method name="AppendSeparator" type="wxMenuItem" overloaded="no"> | |
5600 | <autodoc>AppendSeparator() -> MenuItem</autodoc> | |
5601 | </method> | |
5602 | <method name="AppendCheckItem" type="wxMenuItem" overloaded="no"> | |
5603 | <autodoc>AppendCheckItem(int id, String text, String help=EmptyString) -> MenuItem</autodoc> | |
5604 | <paramlist> | |
5605 | <param name="id" type="int" default=""/> | |
5606 | <param name="text" type="String" default=""/> | |
5607 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5608 | </paramlist> | |
5609 | </method> | |
5610 | <method name="AppendRadioItem" type="wxMenuItem" overloaded="no"> | |
5611 | <autodoc>AppendRadioItem(int id, String text, String help=EmptyString) -> MenuItem</autodoc> | |
5612 | <paramlist> | |
5613 | <param name="id" type="int" default=""/> | |
5614 | <param name="text" type="String" default=""/> | |
5615 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5616 | </paramlist> | |
5617 | </method> | |
5618 | <method name="AppendMenu" type="wxMenuItem" overloaded="no"> | |
5619 | <autodoc>AppendMenu(int id, String text, Menu submenu, String help=EmptyString) -> MenuItem</autodoc> | |
5620 | <paramlist> | |
5621 | <param name="id" type="int" default=""/> | |
5622 | <param name="text" type="String" default=""/> | |
5623 | <param name="submenu" type="Menu" default=""/> | |
5624 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5625 | </paramlist> | |
5626 | </method> | |
5627 | <method name="AppendItem" type="wxMenuItem" overloaded="no"> | |
5628 | <autodoc>AppendItem(MenuItem item) -> MenuItem</autodoc> | |
5629 | <paramlist> | |
5630 | <param name="item" type="wxMenuItem" default=""/> | |
5631 | </paramlist> | |
5632 | </method> | |
5633 | <method name="Break" type="" overloaded="no"> | |
5634 | <autodoc>Break()</autodoc> | |
5635 | </method> | |
5636 | <method name="InsertItem" type="wxMenuItem" overloaded="no"> | |
5637 | <autodoc>InsertItem(size_t pos, MenuItem item) -> MenuItem</autodoc> | |
5638 | <paramlist> | |
5639 | <param name="pos" type="size_t" default=""/> | |
5640 | <param name="item" type="wxMenuItem" default=""/> | |
5641 | </paramlist> | |
5642 | </method> | |
5643 | <method name="Insert" type="wxMenuItem" overloaded="no"> | |
5644 | <autodoc>Insert(size_t pos, int id, String text, String help=EmptyString, | |
856bf319 | 5645 | int kind=ITEM_NORMAL) -> MenuItem</autodoc> |
f32fc4bc RD |
5646 | <paramlist> |
5647 | <param name="pos" type="size_t" default=""/> | |
5648 | <param name="id" type="int" default=""/> | |
5649 | <param name="text" type="String" default=""/> | |
5650 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5651 | <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/> | |
5652 | </paramlist> | |
5653 | </method> | |
5654 | <method name="InsertSeparator" type="wxMenuItem" overloaded="no"> | |
5655 | <autodoc>InsertSeparator(size_t pos) -> MenuItem</autodoc> | |
5656 | <paramlist> | |
5657 | <param name="pos" type="size_t" default=""/> | |
5658 | </paramlist> | |
5659 | </method> | |
5660 | <method name="InsertCheckItem" type="wxMenuItem" overloaded="no"> | |
5661 | <autodoc>InsertCheckItem(size_t pos, int id, String text, String help=EmptyString) -> MenuItem</autodoc> | |
5662 | <paramlist> | |
5663 | <param name="pos" type="size_t" default=""/> | |
5664 | <param name="id" type="int" default=""/> | |
5665 | <param name="text" type="String" default=""/> | |
5666 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5667 | </paramlist> | |
5668 | </method> | |
5669 | <method name="InsertRadioItem" type="wxMenuItem" overloaded="no"> | |
5670 | <autodoc>InsertRadioItem(size_t pos, int id, String text, String help=EmptyString) -> MenuItem</autodoc> | |
5671 | <paramlist> | |
5672 | <param name="pos" type="size_t" default=""/> | |
5673 | <param name="id" type="int" default=""/> | |
5674 | <param name="text" type="String" default=""/> | |
5675 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5676 | </paramlist> | |
5677 | </method> | |
5678 | <method name="InsertMenu" type="wxMenuItem" overloaded="no"> | |
5679 | <autodoc>InsertMenu(size_t pos, int id, String text, Menu submenu, String help=EmptyString) -> MenuItem</autodoc> | |
5680 | <paramlist> | |
5681 | <param name="pos" type="size_t" default=""/> | |
5682 | <param name="id" type="int" default=""/> | |
5683 | <param name="text" type="String" default=""/> | |
5684 | <param name="submenu" type="Menu" default=""/> | |
5685 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5686 | </paramlist> | |
5687 | </method> | |
5688 | <method name="PrependItem" type="wxMenuItem" overloaded="no"> | |
5689 | <autodoc>PrependItem(MenuItem item) -> MenuItem</autodoc> | |
5690 | <paramlist> | |
5691 | <param name="item" type="wxMenuItem" default=""/> | |
5692 | </paramlist> | |
5693 | </method> | |
5694 | <method name="Prepend" type="wxMenuItem" overloaded="no"> | |
5695 | <autodoc>Prepend(int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -> MenuItem</autodoc> | |
5696 | <paramlist> | |
5697 | <param name="id" type="int" default=""/> | |
5698 | <param name="text" type="String" default=""/> | |
5699 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5700 | <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/> | |
5701 | </paramlist> | |
5702 | </method> | |
5703 | <method name="PrependSeparator" type="wxMenuItem" overloaded="no"> | |
5704 | <autodoc>PrependSeparator() -> MenuItem</autodoc> | |
5705 | </method> | |
5706 | <method name="PrependCheckItem" type="wxMenuItem" overloaded="no"> | |
5707 | <autodoc>PrependCheckItem(int id, String text, String help=EmptyString) -> MenuItem</autodoc> | |
5708 | <paramlist> | |
5709 | <param name="id" type="int" default=""/> | |
5710 | <param name="text" type="String" default=""/> | |
5711 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5712 | </paramlist> | |
5713 | </method> | |
5714 | <method name="PrependRadioItem" type="wxMenuItem" overloaded="no"> | |
5715 | <autodoc>PrependRadioItem(int id, String text, String help=EmptyString) -> MenuItem</autodoc> | |
5716 | <paramlist> | |
5717 | <param name="id" type="int" default=""/> | |
5718 | <param name="text" type="String" default=""/> | |
5719 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5720 | </paramlist> | |
5721 | </method> | |
5722 | <method name="PrependMenu" type="wxMenuItem" overloaded="no"> | |
5723 | <autodoc>PrependMenu(int id, String text, Menu submenu, String help=EmptyString) -> MenuItem</autodoc> | |
5724 | <paramlist> | |
5725 | <param name="id" type="int" default=""/> | |
5726 | <param name="text" type="String" default=""/> | |
5727 | <param name="submenu" type="Menu" default=""/> | |
5728 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5729 | </paramlist> | |
5730 | </method> | |
5731 | <method name="Remove" type="wxMenuItem" overloaded="no"> | |
5732 | <autodoc>Remove(int id) -> MenuItem</autodoc> | |
5733 | <paramlist> | |
5734 | <param name="id" type="int" default=""/> | |
5735 | </paramlist> | |
5736 | </method> | |
5737 | <method name="RemoveItem" type="wxMenuItem" overloaded="no"> | |
5738 | <autodoc>RemoveItem(MenuItem item) -> MenuItem</autodoc> | |
5739 | <paramlist> | |
5740 | <param name="item" type="wxMenuItem" default=""/> | |
5741 | </paramlist> | |
5742 | </method> | |
5743 | <method name="Delete" type="bool" overloaded="no"> | |
5744 | <autodoc>Delete(int id) -> bool</autodoc> | |
5745 | <paramlist> | |
5746 | <param name="id" type="int" default=""/> | |
5747 | </paramlist> | |
5748 | </method> | |
5749 | <method name="DeleteItem" type="bool" overloaded="no"> | |
5750 | <autodoc>DeleteItem(MenuItem item) -> bool</autodoc> | |
5751 | <paramlist> | |
5752 | <param name="item" type="wxMenuItem" default=""/> | |
5753 | </paramlist> | |
5754 | </method> | |
5755 | <method name="Destroy" type="" overloaded="no"> | |
5756 | <autodoc>Destroy()</autodoc> | |
5757 | <docstring>Deletes the C++ object this Python object is a proxy for.</docstring> | |
5758 | </method> | |
5759 | <method name="DestroyId" type="bool" overloaded="no"> | |
5760 | <autodoc>DestroyId(int id) -> bool</autodoc> | |
5761 | <docstring>Deletes the C++ object this Python object is a proxy for.</docstring> | |
5762 | <paramlist> | |
5763 | <param name="id" type="int" default=""/> | |
5764 | </paramlist> | |
5765 | </method> | |
5766 | <method name="DestroyItem" type="bool" overloaded="no"> | |
5767 | <autodoc>DestroyItem(MenuItem item) -> bool</autodoc> | |
5768 | <docstring>Deletes the C++ object this Python object is a proxy for.</docstring> | |
5769 | <paramlist> | |
5770 | <param name="item" type="wxMenuItem" default=""/> | |
5771 | </paramlist> | |
5772 | </method> | |
5773 | <method name="GetMenuItemCount" type="size_t" overloaded="no"> | |
5774 | <autodoc>GetMenuItemCount() -> size_t</autodoc> | |
5775 | </method> | |
5776 | <method name="GetMenuItems" type="PyObject" overloaded="no"> | |
5777 | <autodoc>GetMenuItems() -> PyObject</autodoc> | |
5778 | </method> | |
5779 | <method name="FindItem" type="int" overloaded="no"> | |
5780 | <autodoc>FindItem(String item) -> int</autodoc> | |
5781 | <paramlist> | |
5782 | <param name="item" type="String" default=""/> | |
5783 | </paramlist> | |
5784 | </method> | |
5785 | <method name="FindItemById" type="wxMenuItem" overloaded="no"> | |
5786 | <autodoc>FindItemById(int id) -> MenuItem</autodoc> | |
5787 | <paramlist> | |
5788 | <param name="id" type="int" default=""/> | |
5789 | </paramlist> | |
5790 | </method> | |
5791 | <method name="FindItemByPosition" type="wxMenuItem" overloaded="no"> | |
5792 | <autodoc>FindItemByPosition(size_t position) -> MenuItem</autodoc> | |
5793 | <paramlist> | |
5794 | <param name="position" type="size_t" default=""/> | |
5795 | </paramlist> | |
5796 | </method> | |
5797 | <method name="Enable" type="" overloaded="no"> | |
5798 | <autodoc>Enable(int id, bool enable)</autodoc> | |
5799 | <paramlist> | |
5800 | <param name="id" type="int" default=""/> | |
5801 | <param name="enable" type="bool" default=""/> | |
5802 | </paramlist> | |
5803 | </method> | |
5804 | <method name="IsEnabled" type="bool" overloaded="no"> | |
5805 | <autodoc>IsEnabled(int id) -> bool</autodoc> | |
5806 | <paramlist> | |
5807 | <param name="id" type="int" default=""/> | |
5808 | </paramlist> | |
5809 | </method> | |
5810 | <method name="Check" type="" overloaded="no"> | |
5811 | <autodoc>Check(int id, bool check)</autodoc> | |
5812 | <paramlist> | |
5813 | <param name="id" type="int" default=""/> | |
5814 | <param name="check" type="bool" default=""/> | |
5815 | </paramlist> | |
5816 | </method> | |
5817 | <method name="IsChecked" type="bool" overloaded="no"> | |
5818 | <autodoc>IsChecked(int id) -> bool</autodoc> | |
5819 | <paramlist> | |
5820 | <param name="id" type="int" default=""/> | |
5821 | </paramlist> | |
5822 | </method> | |
5823 | <method name="SetLabel" type="" overloaded="no"> | |
5824 | <autodoc>SetLabel(int id, String label)</autodoc> | |
5825 | <paramlist> | |
5826 | <param name="id" type="int" default=""/> | |
5827 | <param name="label" type="String" default=""/> | |
5828 | </paramlist> | |
5829 | </method> | |
5830 | <method name="GetLabel" type="String" overloaded="no"> | |
5831 | <autodoc>GetLabel(int id) -> String</autodoc> | |
5832 | <paramlist> | |
5833 | <param name="id" type="int" default=""/> | |
5834 | </paramlist> | |
5835 | </method> | |
5836 | <method name="SetHelpString" type="" overloaded="no"> | |
5837 | <autodoc>SetHelpString(int id, String helpString)</autodoc> | |
5838 | <paramlist> | |
5839 | <param name="id" type="int" default=""/> | |
5840 | <param name="helpString" type="String" default=""/> | |
5841 | </paramlist> | |
5842 | </method> | |
5843 | <method name="GetHelpString" type="String" overloaded="no"> | |
5844 | <autodoc>GetHelpString(int id) -> String</autodoc> | |
5845 | <paramlist> | |
5846 | <param name="id" type="int" default=""/> | |
5847 | </paramlist> | |
5848 | </method> | |
5849 | <method name="SetTitle" type="" overloaded="no"> | |
5850 | <autodoc>SetTitle(String title)</autodoc> | |
5851 | <paramlist> | |
5852 | <param name="title" type="String" default=""/> | |
5853 | </paramlist> | |
5854 | </method> | |
5855 | <method name="GetTitle" type="String" overloaded="no"> | |
5856 | <autodoc>GetTitle() -> String</autodoc> | |
5857 | </method> | |
5858 | <method name="SetEventHandler" type="" overloaded="no"> | |
5859 | <autodoc>SetEventHandler(EvtHandler handler)</autodoc> | |
5860 | <paramlist> | |
5861 | <param name="handler" type="EvtHandler" default=""/> | |
5862 | </paramlist> | |
5863 | </method> | |
5864 | <method name="GetEventHandler" type="EvtHandler" overloaded="no"> | |
5865 | <autodoc>GetEventHandler() -> EvtHandler</autodoc> | |
5866 | </method> | |
5867 | <method name="SetInvokingWindow" type="" overloaded="no"> | |
5868 | <autodoc>SetInvokingWindow(Window win)</autodoc> | |
5869 | <paramlist> | |
5870 | <param name="win" type="Window" default=""/> | |
5871 | </paramlist> | |
5872 | </method> | |
5873 | <method name="GetInvokingWindow" type="Window" overloaded="no"> | |
5874 | <autodoc>GetInvokingWindow() -> Window</autodoc> | |
5875 | </method> | |
5876 | <method name="GetStyle" type="long" overloaded="no"> | |
5877 | <autodoc>GetStyle() -> long</autodoc> | |
5878 | </method> | |
5879 | <method name="UpdateUI" type="" overloaded="no"> | |
5880 | <autodoc>UpdateUI(EvtHandler source=None)</autodoc> | |
5881 | <paramlist> | |
5882 | <param name="source" type="EvtHandler" default="NULL"/> | |
5883 | </paramlist> | |
5884 | </method> | |
5885 | <method name="GetMenuBar" type="wxMenuBar" overloaded="no"> | |
5886 | <autodoc>GetMenuBar() -> MenuBar</autodoc> | |
5887 | </method> | |
5888 | <method name="Attach" type="" overloaded="no"> | |
5889 | <autodoc>Attach(wxMenuBarBase menubar)</autodoc> | |
5890 | <paramlist> | |
5891 | <param name="menubar" type="wxMenuBarBase" default=""/> | |
5892 | </paramlist> | |
5893 | </method> | |
5894 | <method name="Detach" type="" overloaded="no"> | |
5895 | <autodoc>Detach()</autodoc> | |
5896 | </method> | |
5897 | <method name="IsAttached" type="bool" overloaded="no"> | |
5898 | <autodoc>IsAttached() -> bool</autodoc> | |
5899 | </method> | |
5900 | <method name="SetParent" type="" overloaded="no"> | |
5901 | <autodoc>SetParent(Menu parent)</autodoc> | |
5902 | <paramlist> | |
5903 | <param name="parent" type="Menu" default=""/> | |
5904 | </paramlist> | |
5905 | </method> | |
5906 | <method name="GetParent" type="Menu" overloaded="no"> | |
5907 | <autodoc>GetParent() -> Menu</autodoc> | |
5908 | </method> | |
5909 | </class> | |
5910 | <pythoncode> | |
856bf319 RD |
5911 | #--------------------------------------------------------------------------- |
5912 | </pythoncode> | |
f32fc4bc RD |
5913 | <class name="MenuBar" oldname="wxMenuBar" module="core"> |
5914 | <baseclass name="Window"/> | |
5915 | <constructor name="MenuBar" overloaded="no"> | |
5916 | <autodoc>__init__(long style=0) -> MenuBar</autodoc> | |
5917 | <paramlist> | |
5918 | <param name="style" type="long" default="0"/> | |
5919 | </paramlist> | |
5920 | </constructor> | |
5921 | <method name="Append" type="bool" overloaded="no"> | |
5922 | <autodoc>Append(Menu menu, String title) -> bool</autodoc> | |
5923 | <paramlist> | |
5924 | <param name="menu" type="Menu" default=""/> | |
5925 | <param name="title" type="String" default=""/> | |
5926 | </paramlist> | |
5927 | </method> | |
5928 | <method name="Insert" type="bool" overloaded="no"> | |
5929 | <autodoc>Insert(size_t pos, Menu menu, String title) -> bool</autodoc> | |
5930 | <paramlist> | |
5931 | <param name="pos" type="size_t" default=""/> | |
5932 | <param name="menu" type="Menu" default=""/> | |
5933 | <param name="title" type="String" default=""/> | |
5934 | </paramlist> | |
5935 | </method> | |
5936 | <method name="GetMenuCount" type="size_t" overloaded="no"> | |
5937 | <autodoc>GetMenuCount() -> size_t</autodoc> | |
5938 | </method> | |
5939 | <method name="GetMenu" type="Menu" overloaded="no"> | |
5940 | <autodoc>GetMenu(size_t pos) -> Menu</autodoc> | |
5941 | <paramlist> | |
5942 | <param name="pos" type="size_t" default=""/> | |
5943 | </paramlist> | |
5944 | </method> | |
5945 | <method name="Replace" type="Menu" overloaded="no"> | |
5946 | <autodoc>Replace(size_t pos, Menu menu, String title) -> Menu</autodoc> | |
5947 | <paramlist> | |
5948 | <param name="pos" type="size_t" default=""/> | |
5949 | <param name="menu" type="Menu" default=""/> | |
5950 | <param name="title" type="String" default=""/> | |
5951 | </paramlist> | |
5952 | </method> | |
5953 | <method name="Remove" type="Menu" overloaded="no"> | |
5954 | <autodoc>Remove(size_t pos) -> Menu</autodoc> | |
5955 | <paramlist> | |
5956 | <param name="pos" type="size_t" default=""/> | |
5957 | </paramlist> | |
5958 | </method> | |
5959 | <method name="EnableTop" type="" overloaded="no"> | |
5960 | <autodoc>EnableTop(size_t pos, bool enable)</autodoc> | |
5961 | <paramlist> | |
5962 | <param name="pos" type="size_t" default=""/> | |
5963 | <param name="enable" type="bool" default=""/> | |
5964 | </paramlist> | |
5965 | </method> | |
5966 | <method name="IsEnabledTop" type="bool" overloaded="no"> | |
5967 | <autodoc>IsEnabledTop(size_t pos) -> bool</autodoc> | |
5968 | <paramlist> | |
5969 | <param name="pos" type="size_t" default=""/> | |
5970 | </paramlist> | |
5971 | </method> | |
5972 | <method name="SetLabelTop" type="" overloaded="no"> | |
5973 | <autodoc>SetLabelTop(size_t pos, String label)</autodoc> | |
5974 | <paramlist> | |
5975 | <param name="pos" type="size_t" default=""/> | |
5976 | <param name="label" type="String" default=""/> | |
5977 | </paramlist> | |
5978 | </method> | |
5979 | <method name="GetLabelTop" type="String" overloaded="no"> | |
5980 | <autodoc>GetLabelTop(size_t pos) -> String</autodoc> | |
5981 | <paramlist> | |
5982 | <param name="pos" type="size_t" default=""/> | |
5983 | </paramlist> | |
5984 | </method> | |
5985 | <method name="FindMenuItem" type="int" overloaded="no"> | |
5986 | <autodoc>FindMenuItem(String menu, String item) -> int</autodoc> | |
5987 | <paramlist> | |
5988 | <param name="menu" type="String" default=""/> | |
5989 | <param name="item" type="String" default=""/> | |
5990 | </paramlist> | |
5991 | </method> | |
5992 | <method name="FindItemById" type="wxMenuItem" overloaded="no"> | |
5993 | <autodoc>FindItemById(int id) -> MenuItem</autodoc> | |
5994 | <paramlist> | |
5995 | <param name="id" type="int" default=""/> | |
5996 | </paramlist> | |
5997 | </method> | |
5998 | <method name="FindMenu" type="int" overloaded="no"> | |
5999 | <autodoc>FindMenu(String title) -> int</autodoc> | |
6000 | <paramlist> | |
6001 | <param name="title" type="String" default=""/> | |
6002 | </paramlist> | |
6003 | </method> | |
6004 | <method name="Enable" type="" overloaded="no"> | |
6005 | <autodoc>Enable(int id, bool enable)</autodoc> | |
6006 | <paramlist> | |
6007 | <param name="id" type="int" default=""/> | |
6008 | <param name="enable" type="bool" default=""/> | |
6009 | </paramlist> | |
6010 | </method> | |
6011 | <method name="Check" type="" overloaded="no"> | |
6012 | <autodoc>Check(int id, bool check)</autodoc> | |
6013 | <paramlist> | |
6014 | <param name="id" type="int" default=""/> | |
6015 | <param name="check" type="bool" default=""/> | |
6016 | </paramlist> | |
6017 | </method> | |
6018 | <method name="IsChecked" type="bool" overloaded="no"> | |
6019 | <autodoc>IsChecked(int id) -> bool</autodoc> | |
6020 | <paramlist> | |
6021 | <param name="id" type="int" default=""/> | |
6022 | </paramlist> | |
6023 | </method> | |
6024 | <method name="IsEnabled" type="bool" overloaded="no"> | |
6025 | <autodoc>IsEnabled(int id) -> bool</autodoc> | |
6026 | <paramlist> | |
6027 | <param name="id" type="int" default=""/> | |
6028 | </paramlist> | |
6029 | </method> | |
6030 | <method name="SetLabel" type="" overloaded="no"> | |
6031 | <autodoc>SetLabel(int id, String label)</autodoc> | |
6032 | <paramlist> | |
6033 | <param name="id" type="int" default=""/> | |
6034 | <param name="label" type="String" default=""/> | |
6035 | </paramlist> | |
6036 | </method> | |
6037 | <method name="GetLabel" type="String" overloaded="no"> | |
6038 | <autodoc>GetLabel(int id) -> String</autodoc> | |
6039 | <paramlist> | |
6040 | <param name="id" type="int" default=""/> | |
6041 | </paramlist> | |
6042 | </method> | |
6043 | <method name="SetHelpString" type="" overloaded="no"> | |
6044 | <autodoc>SetHelpString(int id, String helpString)</autodoc> | |
6045 | <paramlist> | |
6046 | <param name="id" type="int" default=""/> | |
6047 | <param name="helpString" type="String" default=""/> | |
6048 | </paramlist> | |
6049 | </method> | |
6050 | <method name="GetHelpString" type="String" overloaded="no"> | |
6051 | <autodoc>GetHelpString(int id) -> String</autodoc> | |
6052 | <paramlist> | |
6053 | <param name="id" type="int" default=""/> | |
6054 | </paramlist> | |
6055 | </method> | |
6056 | <method name="GetFrame" type="wxFrame" overloaded="no"> | |
6057 | <autodoc>GetFrame() -> wxFrame</autodoc> | |
6058 | </method> | |
6059 | <method name="IsAttached" type="bool" overloaded="no"> | |
6060 | <autodoc>IsAttached() -> bool</autodoc> | |
6061 | </method> | |
6062 | <method name="Attach" type="" overloaded="no"> | |
6063 | <autodoc>Attach(wxFrame frame)</autodoc> | |
6064 | <paramlist> | |
6065 | <param name="frame" type="wxFrame" default=""/> | |
6066 | </paramlist> | |
6067 | </method> | |
6068 | <method name="Detach" type="" overloaded="no"> | |
6069 | <autodoc>Detach()</autodoc> | |
6070 | </method> | |
6071 | </class> | |
6072 | <pythoncode> | |
856bf319 RD |
6073 | #--------------------------------------------------------------------------- |
6074 | </pythoncode> | |
f32fc4bc RD |
6075 | <class name="MenuItem" oldname="wxMenuItem" module="core"> |
6076 | <baseclass name="Object"/> | |
6077 | <constructor name="MenuItem" overloaded="no"> | |
6078 | <autodoc>__init__(Menu parentMenu=None, int id=ID_SEPARATOR, String text=EmptyString, | |
856bf319 RD |
6079 | String help=EmptyString, int kind=ITEM_NORMAL, |
6080 | Menu subMenu=None) -> MenuItem</autodoc> | |
f32fc4bc RD |
6081 | <paramlist> |
6082 | <param name="parentMenu" type="Menu" default="NULL"/> | |
6083 | <param name="id" type="int" default="wxID_SEPARATOR"/> | |
6084 | <param name="text" type="String" default="wxPyEmptyString"/> | |
6085 | <param name="help" type="String" default="wxPyEmptyString"/> | |
6086 | <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/> | |
6087 | <param name="subMenu" type="Menu" default="NULL"/> | |
6088 | </paramlist> | |
6089 | </constructor> | |
6090 | <method name="GetMenu" type="Menu" overloaded="no"> | |
6091 | <autodoc>GetMenu() -> Menu</autodoc> | |
6092 | </method> | |
6093 | <method name="SetMenu" type="" overloaded="no"> | |
6094 | <autodoc>SetMenu(Menu menu)</autodoc> | |
6095 | <paramlist> | |
6096 | <param name="menu" type="Menu" default=""/> | |
6097 | </paramlist> | |
6098 | </method> | |
6099 | <method name="SetId" type="" overloaded="no"> | |
6100 | <autodoc>SetId(int id)</autodoc> | |
6101 | <paramlist> | |
6102 | <param name="id" type="int" default=""/> | |
6103 | </paramlist> | |
6104 | </method> | |
6105 | <method name="GetId" type="int" overloaded="no"> | |
6106 | <autodoc>GetId() -> int</autodoc> | |
6107 | </method> | |
6108 | <method name="IsSeparator" type="bool" overloaded="no"> | |
6109 | <autodoc>IsSeparator() -> bool</autodoc> | |
6110 | </method> | |
6111 | <method name="SetText" type="" overloaded="no"> | |
6112 | <autodoc>SetText(String str)</autodoc> | |
6113 | <paramlist> | |
6114 | <param name="str" type="String" default=""/> | |
6115 | </paramlist> | |
6116 | </method> | |
6117 | <method name="GetLabel" type="String" overloaded="no"> | |
6118 | <autodoc>GetLabel() -> String</autodoc> | |
6119 | </method> | |
6120 | <method name="GetText" type="String" overloaded="no"> | |
6121 | <autodoc>GetText() -> String</autodoc> | |
6122 | </method> | |
6123 | <staticmethod name="GetLabelFromText" type="String" overloaded="no"> | |
6124 | <autodoc>GetLabelFromText(String text) -> String</autodoc> | |
6125 | <paramlist> | |
6126 | <param name="text" type="String" default=""/> | |
6127 | </paramlist> | |
6128 | </staticmethod> | |
6129 | <method name="GetKind" type="wxItemKind" overloaded="no"> | |
6130 | <autodoc>GetKind() -> int</autodoc> | |
6131 | </method> | |
6132 | <method name="SetCheckable" type="" overloaded="no"> | |
6133 | <autodoc>SetCheckable(bool checkable)</autodoc> | |
6134 | <paramlist> | |
6135 | <param name="checkable" type="bool" default=""/> | |
6136 | </paramlist> | |
6137 | </method> | |
6138 | <method name="IsCheckable" type="bool" overloaded="no"> | |
6139 | <autodoc>IsCheckable() -> bool</autodoc> | |
6140 | </method> | |
6141 | <method name="IsSubMenu" type="bool" overloaded="no"> | |
6142 | <autodoc>IsSubMenu() -> bool</autodoc> | |
6143 | </method> | |
6144 | <method name="SetSubMenu" type="" overloaded="no"> | |
6145 | <autodoc>SetSubMenu(Menu menu)</autodoc> | |
6146 | <paramlist> | |
6147 | <param name="menu" type="Menu" default=""/> | |
6148 | </paramlist> | |
6149 | </method> | |
6150 | <method name="GetSubMenu" type="Menu" overloaded="no"> | |
6151 | <autodoc>GetSubMenu() -> Menu</autodoc> | |
6152 | </method> | |
6153 | <method name="Enable" type="" overloaded="no"> | |
6154 | <autodoc>Enable(bool enable=True)</autodoc> | |
6155 | <paramlist> | |
6156 | <param name="enable" type="bool" default="True"/> | |
6157 | </paramlist> | |
6158 | </method> | |
6159 | <method name="IsEnabled" type="bool" overloaded="no"> | |
6160 | <autodoc>IsEnabled() -> bool</autodoc> | |
6161 | </method> | |
6162 | <method name="Check" type="" overloaded="no"> | |
6163 | <autodoc>Check(bool check=True)</autodoc> | |
6164 | <paramlist> | |
6165 | <param name="check" type="bool" default="True"/> | |
6166 | </paramlist> | |
6167 | </method> | |
6168 | <method name="IsChecked" type="bool" overloaded="no"> | |
6169 | <autodoc>IsChecked() -> bool</autodoc> | |
6170 | </method> | |
6171 | <method name="Toggle" type="" overloaded="no"> | |
6172 | <autodoc>Toggle()</autodoc> | |
6173 | </method> | |
6174 | <method name="SetHelp" type="" overloaded="no"> | |
6175 | <autodoc>SetHelp(String str)</autodoc> | |
6176 | <paramlist> | |
6177 | <param name="str" type="String" default=""/> | |
6178 | </paramlist> | |
6179 | </method> | |
6180 | <method name="GetHelp" type="String" overloaded="no"> | |
6181 | <autodoc>GetHelp() -> String</autodoc> | |
6182 | </method> | |
6183 | <method name="GetAccel" type="AcceleratorEntry" overloaded="no"> | |
6184 | <autodoc>GetAccel() -> AcceleratorEntry</autodoc> | |
6185 | </method> | |
6186 | <method name="SetAccel" type="" overloaded="no"> | |
6187 | <autodoc>SetAccel(AcceleratorEntry accel)</autodoc> | |
6188 | <paramlist> | |
6189 | <param name="accel" type="AcceleratorEntry" default=""/> | |
6190 | </paramlist> | |
6191 | </method> | |
6192 | <staticmethod name="GetDefaultMarginWidth" type="int" overloaded="no"> | |
6193 | <autodoc>GetDefaultMarginWidth() -> int</autodoc> | |
6194 | </staticmethod> | |
6195 | <method name="SetBitmap" type="" overloaded="no"> | |
6196 | <autodoc>SetBitmap(Bitmap bitmap)</autodoc> | |
6197 | <paramlist> | |
6198 | <param name="bitmap" type="wxBitmap" default=""/> | |
6199 | </paramlist> | |
6200 | </method> | |
6201 | <method name="GetBitmap" type="wxBitmap" overloaded="no"> | |
6202 | <autodoc>GetBitmap() -> Bitmap</autodoc> | |
6203 | </method> | |
6204 | </class> | |
6205 | <pythoncode> | |
0f43fbdf RD |
6206 | #--------------------------------------------------------------------------- |
6207 | </pythoncode> | |
f32fc4bc | 6208 | <class name="Control" oldname="wxControl" module="core"> |
c2dda882 RD |
6209 | <docstring>This is the base class for a control or 'widget'. |
6210 | ||
6211 | A control is generally a small window which processes user input and/or | |
6212 | displays one or more item of data.</docstring> | |
f32fc4bc RD |
6213 | <baseclass name="Window"/> |
6214 | <constructor name="Control" overloaded="no"> | |
6215 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
0f43fbdf RD |
6216 | long style=0, Validator validator=DefaultValidator, |
6217 | String name=ControlNameStr) -> Control</autodoc> | |
c2dda882 RD |
6218 | <docstring>Create a Control. Normally you should only call this from a |
6219 | subclass' __init__ as a plain old wx.Control is not very useful.</docstring> | |
f32fc4bc RD |
6220 | <paramlist> |
6221 | <param name="parent" type="Window" default=""/> | |
6222 | <param name="id" type="int" default=""/> | |
6223 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
6224 | <param name="size" type="Size" default="wxDefaultSize"/> | |
6225 | <param name="style" type="long" default="0"/> | |
6226 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
6227 | <param name="name" type="String" default="wxPyControlNameStr"/> | |
6228 | </paramlist> | |
6229 | </constructor> | |
6230 | <constructor name="PreControl" overloaded="no"> | |
6231 | <autodoc>PreControl() -> Control</autodoc> | |
c2dda882 | 6232 | <docstring>Precreate a Control control for 2-phase creation</docstring> |
f32fc4bc RD |
6233 | </constructor> |
6234 | <method name="Create" type="bool" overloaded="no"> | |
6235 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
0f43fbdf RD |
6236 | long style=0, Validator validator=DefaultValidator, |
6237 | String name=ControlNameStr) -> bool</autodoc> | |
c2dda882 | 6238 | <docstring>Do the 2nd phase and create the GUI control.</docstring> |
f32fc4bc RD |
6239 | <paramlist> |
6240 | <param name="parent" type="Window" default=""/> | |
6241 | <param name="id" type="int" default=""/> | |
6242 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
6243 | <param name="size" type="Size" default="wxDefaultSize"/> | |
6244 | <param name="style" type="long" default="0"/> | |
6245 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
6246 | <param name="name" type="String" default="wxPyControlNameStr"/> | |
6247 | </paramlist> | |
6248 | </method> | |
6249 | <method name="Command" type="" overloaded="no"> | |
6250 | <autodoc>Command(CommandEvent event)</autodoc> | |
c2dda882 RD |
6251 | <docstring>Simulates the effect of the user issuing a command to the |
6252 | item. See wxCommandEvent.</docstring> | |
f32fc4bc RD |
6253 | <paramlist> |
6254 | <param name="event" type="CommandEvent" default=""/> | |
6255 | </paramlist> | |
6256 | </method> | |
6257 | <method name="GetLabel" type="String" overloaded="no"> | |
6258 | <autodoc>GetLabel() -> String</autodoc> | |
c2dda882 | 6259 | <docstring>Return a control's text.</docstring> |
f32fc4bc RD |
6260 | </method> |
6261 | <method name="SetLabel" type="" overloaded="no"> | |
6262 | <autodoc>SetLabel(String label)</autodoc> | |
c2dda882 | 6263 | <docstring>Sets the item's text.</docstring> |
f32fc4bc RD |
6264 | <paramlist> |
6265 | <param name="label" type="String" default=""/> | |
6266 | </paramlist> | |
6267 | </method> | |
6268 | </class> | |
6269 | <pythoncode> | |
0f43fbdf RD |
6270 | #--------------------------------------------------------------------------- |
6271 | </pythoncode> | |
f32fc4bc | 6272 | <class name="ItemContainer" oldname="wxItemContainer" module="core"> |
c2dda882 RD |
6273 | <docstring>wx.ItemContainer defines an interface which is implemented by all |
6274 | controls which have string subitems, each of which may be | |
6275 | selected, such as wx.ListBox, wx.CheckListBox, wx.Choice and | |
6276 | wx.ComboBox (which implements an extended interface deriving from | |
6277 | this one) | |
6278 | ||
6279 | It defines the methods for accessing the control's items and | |
6280 | although each of the derived classes implements them differently, | |
6281 | they still all conform to the same interface. | |
6282 | ||
6283 | The items in a wx.ItemContainer have (non empty) string labels | |
6284 | and, optionally, client data associated with them. | |
6285 | </docstring> | |
f32fc4bc RD |
6286 | <method name="Append" type="int" overloaded="no"> |
6287 | <autodoc>Append(String item, PyObject clientData=None) -> int</autodoc> | |
c2dda882 RD |
6288 | <docstring>Adds the item to the control, associating the given data with the |
6289 | item if not None. The return value is the index of the newly | |
6290 | added item which may be different from the last one if the | |
6291 | control is sorted (e.g. has wx.LB_SORT or wx.CB_SORT style).</docstring> | |
f32fc4bc RD |
6292 | <paramlist> |
6293 | <param name="item" type="String" default=""/> | |
6294 | <param name="clientData" type="PyObject" default="NULL"/> | |
6295 | </paramlist> | |
6296 | </method> | |
6297 | <method name="AppendItems" type="" overloaded="no"> | |
6298 | <autodoc>AppendItems(wxArrayString strings)</autodoc> | |
c2dda882 RD |
6299 | <docstring>Apend several items at once to the control. Notice that calling |
6300 | this method may be much faster than appending the items one by | |
6301 | one if you need to add a lot of items.</docstring> | |
f32fc4bc RD |
6302 | <paramlist> |
6303 | <param name="strings" type="wxArrayString" default=""/> | |
6304 | </paramlist> | |
6305 | </method> | |
6306 | <method name="Insert" type="int" overloaded="no"> | |
6307 | <autodoc>Insert(String item, int pos, PyObject clientData=None) -> int</autodoc> | |
c2dda882 RD |
6308 | <docstring>Insert an item into the control before the item at the pos index, |
6309 | optionally associating some data object with the item.</docstring> | |
f32fc4bc RD |
6310 | <paramlist> |
6311 | <param name="item" type="String" default=""/> | |
6312 | <param name="pos" type="int" default=""/> | |
6313 | <param name="clientData" type="PyObject" default="NULL"/> | |
6314 | </paramlist> | |
6315 | </method> | |
6316 | <method name="Clear" type="" overloaded="no"> | |
6317 | <autodoc>Clear()</autodoc> | |
c2dda882 | 6318 | <docstring>Removes all items from the control.</docstring> |
f32fc4bc RD |
6319 | </method> |
6320 | <method name="Delete" type="" overloaded="no"> | |
6321 | <autodoc>Delete(int n)</autodoc> | |
c2dda882 RD |
6322 | <docstring>Deletes the item at the zero-based index 'n' from the control. |
6323 | Note that it is an error (signalled by a PyAssertionError | |
6324 | exception if enabled) to remove an item with the index negative | |
6325 | or greater or equal than the number of items in the control.</docstring> | |
f32fc4bc RD |
6326 | <paramlist> |
6327 | <param name="n" type="int" default=""/> | |
6328 | </paramlist> | |
6329 | </method> | |
6330 | <method name="GetCount" type="int" overloaded="no"> | |
6331 | <autodoc>GetCount() -> int</autodoc> | |
c2dda882 | 6332 | <docstring>Returns the number of items in the control.</docstring> |
f32fc4bc RD |
6333 | </method> |
6334 | <method name="IsEmpty" type="bool" overloaded="no"> | |
6335 | <autodoc>IsEmpty() -> bool</autodoc> | |
c2dda882 | 6336 | <docstring>Returns True if the control is empty or False if it has some items.</docstring> |
f32fc4bc RD |
6337 | </method> |
6338 | <method name="GetString" type="String" overloaded="no"> | |
6339 | <autodoc>GetString(int n) -> String</autodoc> | |
c2dda882 | 6340 | <docstring>Returns the label of the item with the given index.</docstring> |
f32fc4bc RD |
6341 | <paramlist> |
6342 | <param name="n" type="int" default=""/> | |
6343 | </paramlist> | |
6344 | </method> | |
6345 | <method name="GetStrings" type="wxArrayString" overloaded="no"> | |
6346 | <autodoc>GetStrings() -> wxArrayString</autodoc> | |
6347 | </method> | |
6348 | <method name="SetString" type="" overloaded="no"> | |
6349 | <autodoc>SetString(int n, String s)</autodoc> | |
c2dda882 | 6350 | <docstring>Sets the label for the given item.</docstring> |
f32fc4bc RD |
6351 | <paramlist> |
6352 | <param name="n" type="int" default=""/> | |
6353 | <param name="s" type="String" default=""/> | |
6354 | </paramlist> | |
6355 | </method> | |
6356 | <method name="FindString" type="int" overloaded="no"> | |
6357 | <autodoc>FindString(String s) -> int</autodoc> | |
c2dda882 RD |
6358 | <docstring>Finds an item whose label matches the given string. Returns the |
6359 | zero-based position of the item, or wx.NOT_FOUND if the string | |
6360 | was not found.</docstring> | |
f32fc4bc RD |
6361 | <paramlist> |
6362 | <param name="s" type="String" default=""/> | |
6363 | </paramlist> | |
6364 | </method> | |
6365 | <method name="Select" type="" overloaded="no"> | |
6366 | <autodoc>Select(int n)</autodoc> | |
c2dda882 | 6367 | <docstring>Sets the item at index 'n' to be the selected item.</docstring> |
f32fc4bc RD |
6368 | <paramlist> |
6369 | <param name="n" type="int" default=""/> | |
6370 | </paramlist> | |
6371 | </method> | |
6372 | <method name="GetSelection" type="int" overloaded="no"> | |
6373 | <autodoc>GetSelection() -> int</autodoc> | |
c2dda882 | 6374 | <docstring>Returns the index of the selected item or wx.NOT_FOUND if no item is selected.</docstring> |
f32fc4bc RD |
6375 | </method> |
6376 | <method name="GetStringSelection" type="String" overloaded="no"> | |
6377 | <autodoc>GetStringSelection() -> String</autodoc> | |
c2dda882 | 6378 | <docstring>Returns the label of the selected item or an empty string if no item is selected.</docstring> |
f32fc4bc RD |
6379 | </method> |
6380 | <method name="GetClientData" type="PyObject" overloaded="no"> | |
6381 | <autodoc>GetClientData(int n) -> PyObject</autodoc> | |
c2dda882 | 6382 | <docstring>Returns the client data associated with the given item, (if any.)</docstring> |
f32fc4bc RD |
6383 | <paramlist> |
6384 | <param name="n" type="int" default=""/> | |
6385 | </paramlist> | |
6386 | </method> | |
6387 | <method name="SetClientData" type="" overloaded="no"> | |
6388 | <autodoc>SetClientData(int n, PyObject clientData)</autodoc> | |
c2dda882 | 6389 | <docstring>Associate the given client data with the item at position n.</docstring> |
f32fc4bc RD |
6390 | <paramlist> |
6391 | <param name="n" type="int" default=""/> | |
6392 | <param name="clientData" type="PyObject" default=""/> | |
6393 | </paramlist> | |
6394 | </method> | |
6395 | </class> | |
6396 | <pythoncode> | |
0f43fbdf RD |
6397 | #--------------------------------------------------------------------------- |
6398 | </pythoncode> | |
f32fc4bc | 6399 | <class name="ControlWithItems" oldname="wxControlWithItems" module="core"> |
c2dda882 RD |
6400 | <docstring>wx.ControlWithItems combines the wx.ItemContainer class with the |
6401 | wx.Control class, and is used for the base class of various | |
6402 | controls that have items.</docstring> | |
f32fc4bc RD |
6403 | <baseclass name="Control"/> |
6404 | <baseclass name="ItemContainer"/> | |
6405 | </class> | |
6406 | <pythoncode> | |
0f43fbdf RD |
6407 | #--------------------------------------------------------------------------- |
6408 | </pythoncode> | |
f32fc4bc RD |
6409 | <class name="SizerItem" oldname="wxSizerItem" module="core"> |
6410 | <baseclass name="Object"/> | |
6411 | <constructor name="SizerItem" overloaded="no"> | |
6412 | <autodoc>__init__() -> SizerItem</autodoc> | |
6413 | </constructor> | |
6414 | <constructor name="SizerItemSpacer" overloaded="no"> | |
6415 | <autodoc>SizerItemSpacer(int width, int height, int proportion, int flag, int border, | |
0f43fbdf | 6416 | Object userData) -> SizerItem</autodoc> |
f32fc4bc RD |
6417 | <paramlist> |
6418 | <param name="width" type="int" default=""/> | |
6419 | <param name="height" type="int" default=""/> | |
6420 | <param name="proportion" type="int" default=""/> | |
6421 | <param name="flag" type="int" default=""/> | |
6422 | <param name="border" type="int" default=""/> | |
6423 | <param name="userData" type="Object" default=""/> | |
6424 | </paramlist> | |
6425 | </constructor> | |
6426 | <constructor name="SizerItemWindow" overloaded="no"> | |
6427 | <autodoc>SizerItemWindow(Window window, int proportion, int flag, int border, | |
0f43fbdf | 6428 | Object userData) -> SizerItem</autodoc> |
f32fc4bc RD |
6429 | <paramlist> |
6430 | <param name="window" type="Window" default=""/> | |
6431 | <param name="proportion" type="int" default=""/> | |
6432 | <param name="flag" type="int" default=""/> | |
6433 | <param name="border" type="int" default=""/> | |
6434 | <param name="userData" type="Object" default=""/> | |
6435 | </paramlist> | |
6436 | </constructor> | |
6437 | <constructor name="SizerItemSizer" overloaded="no"> | |
6438 | <autodoc>SizerItemSizer(Sizer sizer, int proportion, int flag, int border, | |
0f43fbdf | 6439 | Object userData) -> SizerItem</autodoc> |
f32fc4bc RD |
6440 | <paramlist> |
6441 | <param name="sizer" type="wxSizer" default=""/> | |
6442 | <param name="proportion" type="int" default=""/> | |
6443 | <param name="flag" type="int" default=""/> | |
6444 | <param name="border" type="int" default=""/> | |
6445 | <param name="userData" type="Object" default=""/> | |
6446 | </paramlist> | |
6447 | </constructor> | |
6448 | <method name="DeleteWindows" type="" overloaded="no"> | |
6449 | <autodoc>DeleteWindows()</autodoc> | |
6450 | </method> | |
6451 | <method name="DetachSizer" type="" overloaded="no"> | |
6452 | <autodoc>DetachSizer()</autodoc> | |
6453 | </method> | |
6454 | <method name="GetSize" type="Size" overloaded="no"> | |
6455 | <autodoc>GetSize() -> Size</autodoc> | |
6456 | </method> | |
6457 | <method name="CalcMin" type="Size" overloaded="no"> | |
6458 | <autodoc>CalcMin() -> Size</autodoc> | |
6459 | </method> | |
6460 | <method name="SetDimension" type="" overloaded="no"> | |
6461 | <autodoc>SetDimension(Point pos, Size size)</autodoc> | |
6462 | <paramlist> | |
6463 | <param name="pos" type="Point" default=""/> | |
6464 | <param name="size" type="Size" default=""/> | |
6465 | </paramlist> | |
6466 | </method> | |
6467 | <method name="GetMinSize" type="Size" overloaded="no"> | |
6468 | <autodoc>GetMinSize() -> Size</autodoc> | |
6469 | </method> | |
6470 | <method name="SetInitSize" type="" overloaded="no"> | |
6471 | <autodoc>SetInitSize(int x, int y)</autodoc> | |
6472 | <paramlist> | |
6473 | <param name="x" type="int" default=""/> | |
6474 | <param name="y" type="int" default=""/> | |
6475 | </paramlist> | |
6476 | </method> | |
6477 | <method name="SetRatioWH" type="" overloaded="no"> | |
6478 | <autodoc>SetRatioWH(int width, int height)</autodoc> | |
6479 | <paramlist> | |
6480 | <param name="width" type="int" default=""/> | |
6481 | <param name="height" type="int" default=""/> | |
6482 | </paramlist> | |
6483 | </method> | |
6484 | <method name="SetRatioSize" type="" overloaded="no"> | |
6485 | <autodoc>SetRatioSize(Size size)</autodoc> | |
6486 | <paramlist> | |
6487 | <param name="size" type="Size" default=""/> | |
6488 | </paramlist> | |
6489 | </method> | |
6490 | <method name="SetRatio" type="" overloaded="no"> | |
6491 | <autodoc>SetRatio(float ratio)</autodoc> | |
6492 | <paramlist> | |
6493 | <param name="ratio" type="float" default=""/> | |
6494 | </paramlist> | |
6495 | </method> | |
6496 | <method name="GetRatio" type="float" overloaded="no"> | |
6497 | <autodoc>GetRatio() -> float</autodoc> | |
6498 | </method> | |
6499 | <method name="IsWindow" type="bool" overloaded="no"> | |
6500 | <autodoc>IsWindow() -> bool</autodoc> | |
6501 | </method> | |
6502 | <method name="IsSizer" type="bool" overloaded="no"> | |
6503 | <autodoc>IsSizer() -> bool</autodoc> | |
6504 | </method> | |
6505 | <method name="IsSpacer" type="bool" overloaded="no"> | |
6506 | <autodoc>IsSpacer() -> bool</autodoc> | |
6507 | </method> | |
6508 | <method name="SetProportion" type="" overloaded="no"> | |
6509 | <autodoc>SetProportion(int proportion)</autodoc> | |
6510 | <paramlist> | |
6511 | <param name="proportion" type="int" default=""/> | |
6512 | </paramlist> | |
6513 | </method> | |
6514 | <method name="GetProportion" type="int" overloaded="no"> | |
6515 | <autodoc>GetProportion() -> int</autodoc> | |
6516 | </method> | |
6517 | <method name="SetFlag" type="" overloaded="no"> | |
6518 | <autodoc>SetFlag(int flag)</autodoc> | |
6519 | <paramlist> | |
6520 | <param name="flag" type="int" default=""/> | |
6521 | </paramlist> | |
6522 | </method> | |
6523 | <method name="GetFlag" type="int" overloaded="no"> | |
6524 | <autodoc>GetFlag() -> int</autodoc> | |
6525 | </method> | |
6526 | <method name="SetBorder" type="" overloaded="no"> | |
6527 | <autodoc>SetBorder(int border)</autodoc> | |
6528 | <paramlist> | |
6529 | <param name="border" type="int" default=""/> | |
6530 | </paramlist> | |
6531 | </method> | |
6532 | <method name="GetBorder" type="int" overloaded="no"> | |
6533 | <autodoc>GetBorder() -> int</autodoc> | |
6534 | </method> | |
6535 | <method name="GetWindow" type="Window" overloaded="no"> | |
6536 | <autodoc>GetWindow() -> Window</autodoc> | |
6537 | </method> | |
6538 | <method name="SetWindow" type="" overloaded="no"> | |
6539 | <autodoc>SetWindow(Window window)</autodoc> | |
6540 | <paramlist> | |
6541 | <param name="window" type="Window" default=""/> | |
6542 | </paramlist> | |
6543 | </method> | |
6544 | <method name="GetSizer" type="wxSizer" overloaded="no"> | |
6545 | <autodoc>GetSizer() -> Sizer</autodoc> | |
6546 | </method> | |
6547 | <method name="SetSizer" type="" overloaded="no"> | |
6548 | <autodoc>SetSizer(Sizer sizer)</autodoc> | |
6549 | <paramlist> | |
6550 | <param name="sizer" type="wxSizer" default=""/> | |
6551 | </paramlist> | |
6552 | </method> | |
6553 | <method name="GetSpacer" type="Size" overloaded="no"> | |
6554 | <autodoc>GetSpacer() -> Size</autodoc> | |
6555 | </method> | |
6556 | <method name="SetSpacer" type="" overloaded="no"> | |
6557 | <autodoc>SetSpacer(Size size)</autodoc> | |
6558 | <paramlist> | |
6559 | <param name="size" type="Size" default=""/> | |
6560 | </paramlist> | |
6561 | </method> | |
6562 | <method name="Show" type="" overloaded="no"> | |
6563 | <autodoc>Show(bool show)</autodoc> | |
6564 | <paramlist> | |
6565 | <param name="show" type="bool" default=""/> | |
6566 | </paramlist> | |
6567 | </method> | |
6568 | <method name="IsShown" type="bool" overloaded="no"> | |
6569 | <autodoc>IsShown() -> bool</autodoc> | |
6570 | </method> | |
6571 | <method name="GetPosition" type="Point" overloaded="no"> | |
6572 | <autodoc>GetPosition() -> Point</autodoc> | |
6573 | </method> | |
6574 | <method name="GetUserData" type="PyObject" overloaded="no"> | |
6575 | <autodoc>GetUserData() -> PyObject</autodoc> | |
6576 | </method> | |
6577 | </class> | |
6578 | <class name="Sizer" oldname="wxSizer" module="core"> | |
6579 | <baseclass name="Object"/> | |
6580 | <method name="_setOORInfo" type="" overloaded="no"> | |
6581 | <autodoc>_setOORInfo(PyObject _self)</autodoc> | |
6582 | <paramlist> | |
6583 | <param name="_self" type="PyObject" default=""/> | |
6584 | </paramlist> | |
6585 | </method> | |
6586 | <method name="Add" type="" overloaded="no"> | |
6587 | <autodoc>Add(PyObject item, int proportion=0, int flag=0, int border=0, | |
0f43fbdf | 6588 | PyObject userData=None)</autodoc> |
f32fc4bc RD |
6589 | <paramlist> |
6590 | <param name="item" type="PyObject" default=""/> | |
6591 | <param name="proportion" type="int" default="0"/> | |
6592 | <param name="flag" type="int" default="0"/> | |
6593 | <param name="border" type="int" default="0"/> | |
6594 | <param name="userData" type="PyObject" default="NULL"/> | |
6595 | </paramlist> | |
6596 | </method> | |
6597 | <method name="Insert" type="" overloaded="no"> | |
6598 | <autodoc>Insert(int before, PyObject item, int proportion=0, int flag=0, | |
0f43fbdf | 6599 | int border=0, PyObject userData=None)</autodoc> |
f32fc4bc RD |
6600 | <paramlist> |
6601 | <param name="before" type="int" default=""/> | |
6602 | <param name="item" type="PyObject" default=""/> | |
6603 | <param name="proportion" type="int" default="0"/> | |
6604 | <param name="flag" type="int" default="0"/> | |
6605 | <param name="border" type="int" default="0"/> | |
6606 | <param name="userData" type="PyObject" default="NULL"/> | |
6607 | </paramlist> | |
6608 | </method> | |
6609 | <method name="Prepend" type="" overloaded="no"> | |
6610 | <autodoc>Prepend(PyObject item, int proportion=0, int flag=0, int border=0, | |
0f43fbdf | 6611 | PyObject userData=None)</autodoc> |
f32fc4bc RD |
6612 | <paramlist> |
6613 | <param name="item" type="PyObject" default=""/> | |
6614 | <param name="proportion" type="int" default="0"/> | |
6615 | <param name="flag" type="int" default="0"/> | |
6616 | <param name="border" type="int" default="0"/> | |
6617 | <param name="userData" type="PyObject" default="NULL"/> | |
6618 | </paramlist> | |
6619 | </method> | |
6620 | <method name="Remove" type="bool" overloaded="no"> | |
6621 | <autodoc>Remove(PyObject item) -> bool</autodoc> | |
6622 | <paramlist> | |
6623 | <param name="item" type="PyObject" default=""/> | |
6624 | </paramlist> | |
6625 | </method> | |
6626 | <method name="_SetItemMinSize" type="" overloaded="no"> | |
6627 | <autodoc>_SetItemMinSize(PyObject item, Size size)</autodoc> | |
6628 | <paramlist> | |
6629 | <param name="item" type="PyObject" default=""/> | |
6630 | <param name="size" type="Size" default=""/> | |
6631 | </paramlist> | |
6632 | </method> | |
6633 | <method name="AddItem" type="" overloaded="no"> | |
6634 | <autodoc>AddItem(SizerItem item)</autodoc> | |
6635 | <paramlist> | |
6636 | <param name="item" type="SizerItem" default=""/> | |
6637 | </paramlist> | |
6638 | </method> | |
6639 | <method name="InsertItem" type="" overloaded="no"> | |
6640 | <autodoc>InsertItem(size_t index, SizerItem item)</autodoc> | |
6641 | <paramlist> | |
6642 | <param name="index" type="size_t" default=""/> | |
6643 | <param name="item" type="SizerItem" default=""/> | |
6644 | </paramlist> | |
6645 | </method> | |
6646 | <method name="PrependItem" type="" overloaded="no"> | |
6647 | <autodoc>PrependItem(SizerItem item)</autodoc> | |
6648 | <paramlist> | |
6649 | <param name="item" type="SizerItem" default=""/> | |
6650 | </paramlist> | |
6651 | </method> | |
6652 | <method name="SetDimension" type="" overloaded="no"> | |
6653 | <autodoc>SetDimension(int x, int y, int width, int height)</autodoc> | |
6654 | <paramlist> | |
6655 | <param name="x" type="int" default=""/> | |
6656 | <param name="y" type="int" default=""/> | |
6657 | <param name="width" type="int" default=""/> | |
6658 | <param name="height" type="int" default=""/> | |
6659 | </paramlist> | |
6660 | </method> | |
6661 | <method name="SetMinSize" type="" overloaded="no"> | |
6662 | <autodoc>SetMinSize(Size size)</autodoc> | |
6663 | <paramlist> | |
6664 | <param name="size" type="Size" default=""/> | |
6665 | </paramlist> | |
6666 | </method> | |
6667 | <method name="GetSize" type="Size" overloaded="no"> | |
6668 | <autodoc>GetSize() -> Size</autodoc> | |
6669 | </method> | |
6670 | <method name="GetPosition" type="Point" overloaded="no"> | |
6671 | <autodoc>GetPosition() -> Point</autodoc> | |
6672 | </method> | |
6673 | <method name="GetMinSize" type="Size" overloaded="no"> | |
6674 | <autodoc>GetMinSize() -> Size</autodoc> | |
6675 | </method> | |
6676 | <method name="RecalcSizes" type="" overloaded="no"> | |
6677 | <autodoc>RecalcSizes()</autodoc> | |
6678 | </method> | |
6679 | <method name="CalcMin" type="Size" overloaded="no"> | |
6680 | <autodoc>CalcMin() -> Size</autodoc> | |
6681 | </method> | |
6682 | <method name="Layout" type="" overloaded="no"> | |
6683 | <autodoc>Layout()</autodoc> | |
6684 | </method> | |
6685 | <method name="Fit" type="Size" overloaded="no"> | |
6686 | <autodoc>Fit(Window window) -> Size</autodoc> | |
6687 | <paramlist> | |
6688 | <param name="window" type="Window" default=""/> | |
6689 | </paramlist> | |
6690 | </method> | |
6691 | <method name="FitInside" type="" overloaded="no"> | |
6692 | <autodoc>FitInside(Window window)</autodoc> | |
6693 | <paramlist> | |
6694 | <param name="window" type="Window" default=""/> | |
6695 | </paramlist> | |
6696 | </method> | |
6697 | <method name="SetSizeHints" type="" overloaded="no"> | |
6698 | <autodoc>SetSizeHints(Window window)</autodoc> | |
6699 | <paramlist> | |
6700 | <param name="window" type="Window" default=""/> | |
6701 | </paramlist> | |
6702 | </method> | |
6703 | <method name="SetVirtualSizeHints" type="" overloaded="no"> | |
6704 | <autodoc>SetVirtualSizeHints(Window window)</autodoc> | |
6705 | <paramlist> | |
6706 | <param name="window" type="Window" default=""/> | |
6707 | </paramlist> | |
6708 | </method> | |
6709 | <method name="Clear" type="" overloaded="no"> | |
6710 | <autodoc>Clear(bool delete_windows=False)</autodoc> | |
6711 | <paramlist> | |
6712 | <param name="delete_windows" type="bool" default="False"/> | |
6713 | </paramlist> | |
6714 | </method> | |
6715 | <method name="DeleteWindows" type="" overloaded="no"> | |
6716 | <autodoc>DeleteWindows()</autodoc> | |
6717 | </method> | |
6718 | <method name="GetChildren" type="PyObject" overloaded="no"> | |
6719 | <autodoc>GetChildren() -> PyObject</autodoc> | |
6720 | </method> | |
6721 | <method name="Show" type="" overloaded="no"> | |
6722 | <autodoc>Show(PyObject item, bool show=True)</autodoc> | |
6723 | <paramlist> | |
6724 | <param name="item" type="PyObject" default=""/> | |
6725 | <param name="show" type="bool" default="True"/> | |
6726 | </paramlist> | |
6727 | </method> | |
6728 | <method name="Hide" type="" overloaded="no"> | |
6729 | <autodoc>Hide(PyObject item)</autodoc> | |
6730 | <paramlist> | |
6731 | <param name="item" type="PyObject" default=""/> | |
6732 | </paramlist> | |
6733 | </method> | |
6734 | <method name="IsShown" type="bool" overloaded="no"> | |
6735 | <autodoc>IsShown(PyObject item) -> bool</autodoc> | |
6736 | <paramlist> | |
6737 | <param name="item" type="PyObject" default=""/> | |
6738 | </paramlist> | |
6739 | </method> | |
6740 | <method name="ShowItems" type="" overloaded="no"> | |
6741 | <autodoc>ShowItems(bool show)</autodoc> | |
6742 | <paramlist> | |
6743 | <param name="show" type="bool" default=""/> | |
6744 | </paramlist> | |
6745 | </method> | |
6746 | </class> | |
6747 | <class name="PySizer" oldname="wxPySizer" module="core"> | |
6748 | <baseclass name="Sizer"/> | |
6749 | <constructor name="PySizer" overloaded="no"> | |
6750 | <autodoc>__init__() -> PySizer</autodoc> | |
6751 | </constructor> | |
6752 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
6753 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
6754 | <paramlist> | |
6755 | <param name="self" type="PyObject" default=""/> | |
6756 | <param name="_class" type="PyObject" default=""/> | |
6757 | </paramlist> | |
6758 | </method> | |
6759 | </class> | |
0dd25e81 | 6760 | <pythoncode> |
0f43fbdf RD |
6761 | #--------------------------------------------------------------------------- |
6762 | </pythoncode> | |
f32fc4bc RD |
6763 | <class name="BoxSizer" oldname="wxBoxSizer" module="core"> |
6764 | <baseclass name="Sizer"/> | |
6765 | <constructor name="BoxSizer" overloaded="no"> | |
6766 | <autodoc>__init__(int orient=HORIZONTAL) -> BoxSizer</autodoc> | |
6767 | <paramlist> | |
6768 | <param name="orient" type="int" default="wxHORIZONTAL"/> | |
6769 | </paramlist> | |
6770 | </constructor> | |
6771 | <method name="GetOrientation" type="int" overloaded="no"> | |
6772 | <autodoc>GetOrientation() -> int</autodoc> | |
6773 | </method> | |
6774 | <method name="SetOrientation" type="" overloaded="no"> | |
6775 | <autodoc>SetOrientation(int orient)</autodoc> | |
6776 | <paramlist> | |
6777 | <param name="orient" type="int" default=""/> | |
6778 | </paramlist> | |
6779 | </method> | |
6780 | <method name="RecalcSizes" type="" overloaded="no"> | |
6781 | <autodoc>RecalcSizes()</autodoc> | |
6782 | </method> | |
6783 | <method name="CalcMin" type="Size" overloaded="no"> | |
6784 | <autodoc>CalcMin() -> Size</autodoc> | |
6785 | </method> | |
6786 | </class> | |
6787 | <pythoncode> | |
0f43fbdf RD |
6788 | #--------------------------------------------------------------------------- |
6789 | </pythoncode> | |
f32fc4bc RD |
6790 | <class name="StaticBoxSizer" oldname="wxStaticBoxSizer" module="core"> |
6791 | <baseclass name="BoxSizer"/> | |
6792 | <constructor name="StaticBoxSizer" overloaded="no"> | |
6793 | <autodoc>__init__(wxStaticBox box, int orient=HORIZONTAL) -> StaticBoxSizer</autodoc> | |
6794 | <paramlist> | |
6795 | <param name="box" type="wxStaticBox" default=""/> | |
6796 | <param name="orient" type="int" default="wxHORIZONTAL"/> | |
6797 | </paramlist> | |
6798 | </constructor> | |
6799 | <method name="GetStaticBox" type="wxStaticBox" overloaded="no"> | |
6800 | <autodoc>GetStaticBox() -> wxStaticBox</autodoc> | |
6801 | </method> | |
6802 | <method name="RecalcSizes" type="" overloaded="no"> | |
6803 | <autodoc>RecalcSizes()</autodoc> | |
6804 | </method> | |
6805 | <method name="CalcMin" type="Size" overloaded="no"> | |
6806 | <autodoc>CalcMin() -> Size</autodoc> | |
6807 | </method> | |
6808 | </class> | |
6809 | <pythoncode> | |
0f43fbdf RD |
6810 | #--------------------------------------------------------------------------- |
6811 | </pythoncode> | |
f32fc4bc RD |
6812 | <class name="GridSizer" oldname="wxGridSizer" module="core"> |
6813 | <baseclass name="Sizer"/> | |
6814 | <constructor name="GridSizer" overloaded="no"> | |
6815 | <autodoc>__init__(int rows=1, int cols=0, int vgap=0, int hgap=0) -> GridSizer</autodoc> | |
6816 | <paramlist> | |
6817 | <param name="rows" type="int" default="1"/> | |
6818 | <param name="cols" type="int" default="0"/> | |
6819 | <param name="vgap" type="int" default="0"/> | |
6820 | <param name="hgap" type="int" default="0"/> | |
6821 | </paramlist> | |
6822 | </constructor> | |
6823 | <method name="RecalcSizes" type="" overloaded="no"> | |
6824 | <autodoc>RecalcSizes()</autodoc> | |
6825 | </method> | |
6826 | <method name="CalcMin" type="Size" overloaded="no"> | |
6827 | <autodoc>CalcMin() -> Size</autodoc> | |
6828 | </method> | |
6829 | <method name="SetCols" type="" overloaded="no"> | |
6830 | <autodoc>SetCols(int cols)</autodoc> | |
6831 | <paramlist> | |
6832 | <param name="cols" type="int" default=""/> | |
6833 | </paramlist> | |
6834 | </method> | |
6835 | <method name="SetRows" type="" overloaded="no"> | |
6836 | <autodoc>SetRows(int rows)</autodoc> | |
6837 | <paramlist> | |
6838 | <param name="rows" type="int" default=""/> | |
6839 | </paramlist> | |
6840 | </method> | |
6841 | <method name="SetVGap" type="" overloaded="no"> | |
6842 | <autodoc>SetVGap(int gap)</autodoc> | |
6843 | <paramlist> | |
6844 | <param name="gap" type="int" default=""/> | |
6845 | </paramlist> | |
6846 | </method> | |
6847 | <method name="SetHGap" type="" overloaded="no"> | |
6848 | <autodoc>SetHGap(int gap)</autodoc> | |
6849 | <paramlist> | |
6850 | <param name="gap" type="int" default=""/> | |
6851 | </paramlist> | |
6852 | </method> | |
6853 | <method name="GetCols" type="int" overloaded="no"> | |
6854 | <autodoc>GetCols() -> int</autodoc> | |
6855 | </method> | |
6856 | <method name="GetRows" type="int" overloaded="no"> | |
6857 | <autodoc>GetRows() -> int</autodoc> | |
6858 | </method> | |
6859 | <method name="GetVGap" type="int" overloaded="no"> | |
6860 | <autodoc>GetVGap() -> int</autodoc> | |
6861 | </method> | |
6862 | <method name="GetHGap" type="int" overloaded="no"> | |
6863 | <autodoc>GetHGap() -> int</autodoc> | |
6864 | </method> | |
6865 | </class> | |
6866 | <pythoncode> | |
0f43fbdf RD |
6867 | #--------------------------------------------------------------------------- |
6868 | </pythoncode> | |
f32fc4bc RD |
6869 | <class name="FlexGridSizer" oldname="wxFlexGridSizer" module="core"> |
6870 | <baseclass name="GridSizer"/> | |
6871 | <constructor name="FlexGridSizer" overloaded="no"> | |
6872 | <autodoc>__init__(int rows=1, int cols=0, int vgap=0, int hgap=0) -> FlexGridSizer</autodoc> | |
6873 | <paramlist> | |
6874 | <param name="rows" type="int" default="1"/> | |
6875 | <param name="cols" type="int" default="0"/> | |
6876 | <param name="vgap" type="int" default="0"/> | |
6877 | <param name="hgap" type="int" default="0"/> | |
6878 | </paramlist> | |
6879 | </constructor> | |
6880 | <method name="RecalcSizes" type="" overloaded="no"> | |
6881 | <autodoc>RecalcSizes()</autodoc> | |
6882 | </method> | |
6883 | <method name="CalcMin" type="Size" overloaded="no"> | |
6884 | <autodoc>CalcMin() -> Size</autodoc> | |
6885 | </method> | |
6886 | <method name="AddGrowableRow" type="" overloaded="no"> | |
6887 | <autodoc>AddGrowableRow(size_t idx, int proportion=0)</autodoc> | |
6888 | <paramlist> | |
6889 | <param name="idx" type="size_t" default=""/> | |
6890 | <param name="proportion" type="int" default="0"/> | |
6891 | </paramlist> | |
6892 | </method> | |
6893 | <method name="RemoveGrowableRow" type="" overloaded="no"> | |
6894 | <autodoc>RemoveGrowableRow(size_t idx)</autodoc> | |
6895 | <paramlist> | |
6896 | <param name="idx" type="size_t" default=""/> | |
6897 | </paramlist> | |
6898 | </method> | |
6899 | <method name="AddGrowableCol" type="" overloaded="no"> | |
6900 | <autodoc>AddGrowableCol(size_t idx, int proportion=0)</autodoc> | |
6901 | <paramlist> | |
6902 | <param name="idx" type="size_t" default=""/> | |
6903 | <param name="proportion" type="int" default="0"/> | |
6904 | </paramlist> | |
6905 | </method> | |
6906 | <method name="RemoveGrowableCol" type="" overloaded="no"> | |
6907 | <autodoc>RemoveGrowableCol(size_t idx)</autodoc> | |
6908 | <paramlist> | |
6909 | <param name="idx" type="size_t" default=""/> | |
6910 | </paramlist> | |
6911 | </method> | |
6912 | <method name="SetFlexibleDirection" type="" overloaded="no"> | |
6913 | <autodoc>SetFlexibleDirection(int direction)</autodoc> | |
6914 | <paramlist> | |
6915 | <param name="direction" type="int" default=""/> | |
6916 | </paramlist> | |
6917 | </method> | |
6918 | <method name="GetFlexibleDirection" type="int" overloaded="no"> | |
6919 | <autodoc>GetFlexibleDirection() -> int</autodoc> | |
6920 | </method> | |
6921 | <method name="SetNonFlexibleGrowMode" type="" overloaded="no"> | |
6922 | <autodoc>SetNonFlexibleGrowMode(int mode)</autodoc> | |
6923 | <paramlist> | |
6924 | <param name="mode" type="wxFlexSizerGrowMode" default=""/> | |
6925 | </paramlist> | |
6926 | </method> | |
6927 | <method name="GetNonFlexibleGrowMode" type="wxFlexSizerGrowMode" overloaded="no"> | |
6928 | <autodoc>GetNonFlexibleGrowMode() -> int</autodoc> | |
6929 | </method> | |
6930 | <method name="GetRowHeights" type="wxArrayInt" overloaded="no"> | |
6931 | <autodoc>GetRowHeights() -> wxArrayInt</autodoc> | |
6932 | </method> | |
6933 | <method name="GetColWidths" type="wxArrayInt" overloaded="no"> | |
6934 | <autodoc>GetColWidths() -> wxArrayInt</autodoc> | |
6935 | </method> | |
6936 | </class> | |
6937 | <pythoncode> | |
0f43fbdf RD |
6938 | #--------------------------------------------------------------------------- |
6939 | </pythoncode> | |
f32fc4bc RD |
6940 | <class name="GBPosition" oldname="wxGBPosition" module="core"> |
6941 | <constructor name="GBPosition" overloaded="no"> | |
6942 | <autodoc>__init__(int row=0, int col=0) -> GBPosition</autodoc> | |
6943 | <paramlist> | |
6944 | <param name="row" type="int" default="0"/> | |
6945 | <param name="col" type="int" default="0"/> | |
6946 | </paramlist> | |
6947 | </constructor> | |
6948 | <method name="GetRow" type="int" overloaded="no"> | |
6949 | <autodoc>GetRow() -> int</autodoc> | |
6950 | </method> | |
6951 | <method name="GetCol" type="int" overloaded="no"> | |
6952 | <autodoc>GetCol() -> int</autodoc> | |
6953 | </method> | |
6954 | <method name="SetRow" type="" overloaded="no"> | |
6955 | <autodoc>SetRow(int row)</autodoc> | |
6956 | <paramlist> | |
6957 | <param name="row" type="int" default=""/> | |
6958 | </paramlist> | |
6959 | </method> | |
6960 | <method name="SetCol" type="" overloaded="no"> | |
6961 | <autodoc>SetCol(int col)</autodoc> | |
6962 | <paramlist> | |
6963 | <param name="col" type="int" default=""/> | |
6964 | </paramlist> | |
6965 | </method> | |
6966 | <method name="__eq__" type="bool" overloaded="no"> | |
c2dda882 | 6967 | <autodoc>__eq__(GBPosition other) -> bool</autodoc> |
f32fc4bc | 6968 | <paramlist> |
c2dda882 | 6969 | <param name="other" type="GBPosition" default=""/> |
f32fc4bc RD |
6970 | </paramlist> |
6971 | </method> | |
6972 | <method name="__ne__" type="bool" overloaded="no"> | |
c2dda882 | 6973 | <autodoc>__ne__(GBPosition other) -> bool</autodoc> |
f32fc4bc | 6974 | <paramlist> |
c2dda882 | 6975 | <param name="other" type="GBPosition" default=""/> |
f32fc4bc RD |
6976 | </paramlist> |
6977 | </method> | |
6978 | <method name="Set" type="" overloaded="no"> | |
6979 | <autodoc>Set(int row=0, int col=0)</autodoc> | |
6980 | <paramlist> | |
6981 | <param name="row" type="int" default="0"/> | |
6982 | <param name="col" type="int" default="0"/> | |
6983 | </paramlist> | |
6984 | </method> | |
6985 | <method name="Get" type="PyObject" overloaded="no"> | |
6986 | <autodoc>Get() -> PyObject</autodoc> | |
6987 | </method> | |
6988 | </class> | |
6989 | <class name="GBSpan" oldname="wxGBSpan" module="core"> | |
6990 | <constructor name="GBSpan" overloaded="no"> | |
6991 | <autodoc>__init__(int rowspan=1, int colspan=1) -> GBSpan</autodoc> | |
6992 | <paramlist> | |
6993 | <param name="rowspan" type="int" default="1"/> | |
6994 | <param name="colspan" type="int" default="1"/> | |
6995 | </paramlist> | |
6996 | </constructor> | |
6997 | <method name="GetRowspan" type="int" overloaded="no"> | |
6998 | <autodoc>GetRowspan() -> int</autodoc> | |
6999 | </method> | |
7000 | <method name="GetColspan" type="int" overloaded="no"> | |
7001 | <autodoc>GetColspan() -> int</autodoc> | |
7002 | </method> | |
7003 | <method name="SetRowspan" type="" overloaded="no"> | |
7004 | <autodoc>SetRowspan(int rowspan)</autodoc> | |
7005 | <paramlist> | |
7006 | <param name="rowspan" type="int" default=""/> | |
7007 | </paramlist> | |
7008 | </method> | |
7009 | <method name="SetColspan" type="" overloaded="no"> | |
7010 | <autodoc>SetColspan(int colspan)</autodoc> | |
7011 | <paramlist> | |
7012 | <param name="colspan" type="int" default=""/> | |
7013 | </paramlist> | |
7014 | </method> | |
7015 | <method name="__eq__" type="bool" overloaded="no"> | |
c2dda882 | 7016 | <autodoc>__eq__(GBSpan other) -> bool</autodoc> |
f32fc4bc | 7017 | <paramlist> |
c2dda882 | 7018 | <param name="other" type="GBSpan" default=""/> |
f32fc4bc RD |
7019 | </paramlist> |
7020 | </method> | |
7021 | <method name="__ne__" type="bool" overloaded="no"> | |
c2dda882 | 7022 | <autodoc>__ne__(GBSpan other) -> bool</autodoc> |
f32fc4bc | 7023 | <paramlist> |
c2dda882 | 7024 | <param name="other" type="GBSpan" default=""/> |
f32fc4bc RD |
7025 | </paramlist> |
7026 | </method> | |
7027 | <method name="Set" type="" overloaded="no"> | |
7028 | <autodoc>Set(int rowspan=1, int colspan=1)</autodoc> | |
7029 | <paramlist> | |
7030 | <param name="rowspan" type="int" default="1"/> | |
7031 | <param name="colspan" type="int" default="1"/> | |
7032 | </paramlist> | |
7033 | </method> | |
7034 | <method name="Get" type="PyObject" overloaded="no"> | |
7035 | <autodoc>Get() -> PyObject</autodoc> | |
7036 | </method> | |
7037 | </class> | |
7038 | <class name="GBSizerItem" oldname="wxGBSizerItem" module="core"> | |
7039 | <baseclass name="SizerItem"/> | |
7040 | <constructor name="GBSizerItem" overloaded="no"> | |
7041 | <autodoc>__init__() -> GBSizerItem</autodoc> | |
7042 | </constructor> | |
7043 | <constructor name="GBSizerItemWindow" overloaded="no"> | |
7044 | <autodoc>GBSizerItemWindow(Window window, GBPosition pos, GBSpan span, int flag, | |
0f43fbdf | 7045 | int border, Object userData) -> GBSizerItem</autodoc> |
f32fc4bc RD |
7046 | <paramlist> |
7047 | <param name="window" type="Window" default=""/> | |
7048 | <param name="pos" type="GBPosition" default=""/> | |
7049 | <param name="span" type="GBSpan" default=""/> | |
7050 | <param name="flag" type="int" default=""/> | |
7051 | <param name="border" type="int" default=""/> | |
7052 | <param name="userData" type="Object" default=""/> | |
7053 | </paramlist> | |
7054 | </constructor> | |
7055 | <constructor name="GBSizerItemSizer" overloaded="no"> | |
7056 | <autodoc>GBSizerItemSizer(Sizer sizer, GBPosition pos, GBSpan span, int flag, | |
0f43fbdf | 7057 | int border, Object userData) -> GBSizerItem</autodoc> |
f32fc4bc RD |
7058 | <paramlist> |
7059 | <param name="sizer" type="Sizer" default=""/> | |
7060 | <param name="pos" type="GBPosition" default=""/> | |
7061 | <param name="span" type="GBSpan" default=""/> | |
7062 | <param name="flag" type="int" default=""/> | |
7063 | <param name="border" type="int" default=""/> | |
7064 | <param name="userData" type="Object" default=""/> | |
7065 | </paramlist> | |
7066 | </constructor> | |
7067 | <constructor name="GBSizerItemSpacer" overloaded="no"> | |
7068 | <autodoc>GBSizerItemSpacer(int width, int height, GBPosition pos, GBSpan span, | |
0f43fbdf | 7069 | int flag, int border, Object userData) -> GBSizerItem</autodoc> |
f32fc4bc RD |
7070 | <paramlist> |
7071 | <param name="width" type="int" default=""/> | |
7072 | <param name="height" type="int" default=""/> | |
7073 | <param name="pos" type="GBPosition" default=""/> | |
7074 | <param name="span" type="GBSpan" default=""/> | |
7075 | <param name="flag" type="int" default=""/> | |
7076 | <param name="border" type="int" default=""/> | |
7077 | <param name="userData" type="Object" default=""/> | |
7078 | </paramlist> | |
7079 | </constructor> | |
7080 | <method name="GetPos" type="GBPosition" overloaded="no"> | |
7081 | <autodoc>GetPos() -> GBPosition</autodoc> | |
7082 | </method> | |
7083 | <method name="GetSpan" type="GBSpan" overloaded="no"> | |
7084 | <autodoc>GetSpan() -> GBSpan</autodoc> | |
7085 | </method> | |
7086 | <method name="SetPos" type="bool" overloaded="no"> | |
7087 | <autodoc>SetPos(GBPosition pos) -> bool</autodoc> | |
7088 | <paramlist> | |
7089 | <param name="pos" type="GBPosition" default=""/> | |
7090 | </paramlist> | |
7091 | </method> | |
7092 | <method name="SetSpan" type="bool" overloaded="no"> | |
7093 | <autodoc>SetSpan(GBSpan span) -> bool</autodoc> | |
7094 | <paramlist> | |
7095 | <param name="span" type="GBSpan" default=""/> | |
7096 | </paramlist> | |
7097 | </method> | |
7098 | <method name="Intersects" type="bool" overloaded="yes"> | |
7099 | <paramlist> | |
7100 | <param name="other" type="GBSizerItem" default=""/> | |
7101 | </paramlist> | |
7102 | </method> | |
7103 | <method name="Intersects" type="bool" overloaded="yes"> | |
7104 | <autodoc>Intersects(GBSizerItem other) -> bool | |
0f43fbdf | 7105 | Intersects(GBPosition pos, GBSpan span) -> bool</autodoc> |
f32fc4bc RD |
7106 | <paramlist> |
7107 | <param name="pos" type="GBPosition" default=""/> | |
7108 | <param name="span" type="GBSpan" default=""/> | |
7109 | </paramlist> | |
7110 | </method> | |
7111 | <method name="GetEndPos" type="" overloaded="no"> | |
7112 | <autodoc>GetEndPos(int row, int col)</autodoc> | |
7113 | <paramlist> | |
7114 | <param name="row" type="int" default=""/> | |
7115 | <param name="col" type="int" default=""/> | |
7116 | </paramlist> | |
7117 | </method> | |
7118 | <method name="GetGBSizer" type="wxGridBagSizer" overloaded="no"> | |
7119 | <autodoc>GetGBSizer() -> GridBagSizer</autodoc> | |
7120 | </method> | |
7121 | <method name="SetGBSizer" type="" overloaded="no"> | |
7122 | <autodoc>SetGBSizer(GridBagSizer sizer)</autodoc> | |
7123 | <paramlist> | |
7124 | <param name="sizer" type="wxGridBagSizer" default=""/> | |
7125 | </paramlist> | |
7126 | </method> | |
7127 | </class> | |
7128 | <class name="GridBagSizer" oldname="wxGridBagSizer" module="core"> | |
7129 | <baseclass name="FlexGridSizer"/> | |
7130 | <constructor name="GridBagSizer" overloaded="no"> | |
7131 | <autodoc>__init__(int vgap=0, int hgap=0) -> GridBagSizer</autodoc> | |
7132 | <paramlist> | |
7133 | <param name="vgap" type="int" default="0"/> | |
7134 | <param name="hgap" type="int" default="0"/> | |
7135 | </paramlist> | |
7136 | </constructor> | |
7137 | <method name="Add" type="bool" overloaded="no"> | |
7138 | <autodoc>Add(PyObject item, GBPosition pos, GBSpan span=DefaultSpan, | |
0f43fbdf | 7139 | int flag=0, int border=0, PyObject userData=None) -> bool</autodoc> |
f32fc4bc RD |
7140 | <paramlist> |
7141 | <param name="item" type="PyObject" default=""/> | |
7142 | <param name="pos" type="GBPosition" default=""/> | |
7143 | <param name="span" type="GBSpan" default="wxDefaultSpan"/> | |
7144 | <param name="flag" type="int" default="0"/> | |
7145 | <param name="border" type="int" default="0"/> | |
7146 | <param name="userData" type="PyObject" default="NULL"/> | |
7147 | </paramlist> | |
7148 | </method> | |
7149 | <method name="AddItem" type="bool" overloaded="no"> | |
7150 | <autodoc>AddItem(GBSizerItem item) -> bool</autodoc> | |
7151 | <paramlist> | |
7152 | <param name="item" type="GBSizerItem" default=""/> | |
7153 | </paramlist> | |
7154 | </method> | |
7155 | <method name="GetEmptyCellSize" type="Size" overloaded="no"> | |
7156 | <autodoc>GetEmptyCellSize() -> Size</autodoc> | |
7157 | </method> | |
7158 | <method name="SetEmptyCellSize" type="" overloaded="no"> | |
7159 | <autodoc>SetEmptyCellSize(Size sz)</autodoc> | |
7160 | <paramlist> | |
7161 | <param name="sz" type="Size" default=""/> | |
7162 | </paramlist> | |
7163 | </method> | |
7164 | <method name="GetItemPosition" type="GBPosition" overloaded="yes"> | |
7165 | <paramlist> | |
7166 | <param name="window" type="Window" default=""/> | |
7167 | </paramlist> | |
7168 | </method> | |
7169 | <method name="GetItemPosition" type="GBPosition" overloaded="yes"> | |
7170 | <paramlist> | |
7171 | <param name="sizer" type="Sizer" default=""/> | |
7172 | </paramlist> | |
7173 | </method> | |
7174 | <method name="GetItemPosition" type="GBPosition" overloaded="yes"> | |
7175 | <autodoc>GetItemPosition(Window window) -> GBPosition | |
0f43fbdf RD |
7176 | GetItemPosition(Sizer sizer) -> GBPosition |
7177 | GetItemPosition(size_t index) -> GBPosition</autodoc> | |
f32fc4bc RD |
7178 | <paramlist> |
7179 | <param name="index" type="size_t" default=""/> | |
7180 | </paramlist> | |
7181 | </method> | |
7182 | <method name="SetItemPosition" type="bool" overloaded="yes"> | |
7183 | <paramlist> | |
7184 | <param name="window" type="Window" default=""/> | |
7185 | <param name="pos" type="GBPosition" default=""/> | |
7186 | </paramlist> | |
7187 | </method> | |
7188 | <method name="SetItemPosition" type="bool" overloaded="yes"> | |
7189 | <paramlist> | |
7190 | <param name="sizer" type="Sizer" default=""/> | |
7191 | <param name="pos" type="GBPosition" default=""/> | |
7192 | </paramlist> | |
7193 | </method> | |
7194 | <method name="SetItemPosition" type="bool" overloaded="yes"> | |
7195 | <autodoc>SetItemPosition(Window window, GBPosition pos) -> bool | |
0f43fbdf RD |
7196 | SetItemPosition(Sizer sizer, GBPosition pos) -> bool |
7197 | SetItemPosition(size_t index, GBPosition pos) -> bool</autodoc> | |
f32fc4bc RD |
7198 | <paramlist> |
7199 | <param name="index" type="size_t" default=""/> | |
7200 | <param name="pos" type="GBPosition" default=""/> | |
7201 | </paramlist> | |
7202 | </method> | |
7203 | <method name="GetItemSpan" type="GBSpan" overloaded="yes"> | |
7204 | <paramlist> | |
7205 | <param name="window" type="Window" default=""/> | |
7206 | </paramlist> | |
7207 | </method> | |
7208 | <method name="GetItemSpan" type="GBSpan" overloaded="yes"> | |
7209 | <paramlist> | |
7210 | <param name="sizer" type="Sizer" default=""/> | |
7211 | </paramlist> | |
7212 | </method> | |
7213 | <method name="GetItemSpan" type="GBSpan" overloaded="yes"> | |
7214 | <autodoc>GetItemSpan(Window window) -> GBSpan | |
0f43fbdf RD |
7215 | GetItemSpan(Sizer sizer) -> GBSpan |
7216 | GetItemSpan(size_t index) -> GBSpan</autodoc> | |
f32fc4bc RD |
7217 | <paramlist> |
7218 | <param name="index" type="size_t" default=""/> | |
7219 | </paramlist> | |
7220 | </method> | |
7221 | <method name="SetItemSpan" type="bool" overloaded="yes"> | |
7222 | <paramlist> | |
7223 | <param name="window" type="Window" default=""/> | |
7224 | <param name="span" type="GBSpan" default=""/> | |
7225 | </paramlist> | |
7226 | </method> | |
7227 | <method name="SetItemSpan" type="bool" overloaded="yes"> | |
7228 | <paramlist> | |
7229 | <param name="sizer" type="Sizer" default=""/> | |
7230 | <param name="span" type="GBSpan" default=""/> | |
7231 | </paramlist> | |
7232 | </method> | |
7233 | <method name="SetItemSpan" type="bool" overloaded="yes"> | |
7234 | <autodoc>SetItemSpan(Window window, GBSpan span) -> bool | |
0f43fbdf RD |
7235 | SetItemSpan(Sizer sizer, GBSpan span) -> bool |
7236 | SetItemSpan(size_t index, GBSpan span) -> bool</autodoc> | |
f32fc4bc RD |
7237 | <paramlist> |
7238 | <param name="index" type="size_t" default=""/> | |
7239 | <param name="span" type="GBSpan" default=""/> | |
7240 | </paramlist> | |
7241 | </method> | |
7242 | <method name="FindItem" type="GBSizerItem" overloaded="yes"> | |
7243 | <paramlist> | |
7244 | <param name="window" type="Window" default=""/> | |
7245 | </paramlist> | |
7246 | </method> | |
7247 | <method name="FindItem" type="GBSizerItem" overloaded="yes"> | |
7248 | <autodoc>FindItem(Window window) -> GBSizerItem | |
0f43fbdf | 7249 | FindItem(Sizer sizer) -> GBSizerItem</autodoc> |
f32fc4bc RD |
7250 | <paramlist> |
7251 | <param name="sizer" type="Sizer" default=""/> | |
7252 | </paramlist> | |
7253 | </method> | |
7254 | <method name="FindItemAtPosition" type="GBSizerItem" overloaded="no"> | |
7255 | <autodoc>FindItemAtPosition(GBPosition pos) -> GBSizerItem</autodoc> | |
7256 | <paramlist> | |
7257 | <param name="pos" type="GBPosition" default=""/> | |
7258 | </paramlist> | |
7259 | </method> | |
7260 | <method name="FindItemAtPoint" type="GBSizerItem" overloaded="no"> | |
7261 | <autodoc>FindItemAtPoint(Point pt) -> GBSizerItem</autodoc> | |
7262 | <paramlist> | |
7263 | <param name="pt" type="Point" default=""/> | |
7264 | </paramlist> | |
7265 | </method> | |
7266 | <method name="FindItemWithData" type="GBSizerItem" overloaded="no"> | |
7267 | <autodoc>FindItemWithData(Object userData) -> GBSizerItem</autodoc> | |
7268 | <paramlist> | |
7269 | <param name="userData" type="Object" default=""/> | |
7270 | </paramlist> | |
7271 | </method> | |
7272 | <method name="RecalcSizes" type="" overloaded="no"> | |
7273 | <autodoc>RecalcSizes()</autodoc> | |
7274 | </method> | |
7275 | <method name="CalcMin" type="Size" overloaded="no"> | |
7276 | <autodoc>CalcMin() -> Size</autodoc> | |
7277 | </method> | |
7278 | <method name="CheckForIntersection" type="bool" overloaded="yes"> | |
7279 | <paramlist> | |
7280 | <param name="item" type="GBSizerItem" default=""/> | |
7281 | <param name="excludeItem" type="GBSizerItem" default="NULL"/> | |
7282 | </paramlist> | |
7283 | </method> | |
7284 | <method name="CheckForIntersection" type="bool" overloaded="yes"> | |
7285 | <autodoc>CheckForIntersection(GBSizerItem item, GBSizerItem excludeItem=None) -> bool | |
0f43fbdf | 7286 | CheckForIntersection(GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) -> bool</autodoc> |
f32fc4bc RD |
7287 | <paramlist> |
7288 | <param name="pos" type="GBPosition" default=""/> | |
7289 | <param name="span" type="GBSpan" default=""/> | |
7290 | <param name="excludeItem" type="GBSizerItem" default="NULL"/> | |
7291 | </paramlist> | |
7292 | </method> | |
7293 | </class> | |
7294 | <pythoncode> | |
0f43fbdf RD |
7295 | #--------------------------------------------------------------------------- |
7296 | </pythoncode> | |
f32fc4bc | 7297 | <class name="IndividualLayoutConstraint" oldname="wxIndividualLayoutConstraint" module="core"> |
c2dda882 RD |
7298 | <docstring>Objects of this class are stored in the wx.LayoutConstraint class as one of |
7299 | eight possible constraints that a window can be involved in. You will never | |
7300 | need to create an instance of wx.IndividualLayoutConstraint, rather you should | |
7301 | use create a wx.LayoutContstraints instance and use the individual contstraints | |
7302 | that it contains. | |
7303 | ||
7304 | Constraints are initially set to have the relationship wx.Unconstrained, which | |
7305 | means that their values should be calculated by looking at known constraints. | |
7306 | ||
7307 | The Edge specifies the type of edge or dimension of a window. | |
7308 | ||
7309 | Edges | |
7310 | ||
7311 | wx.Left The left edge. | |
7312 | wx.Top The top edge. | |
7313 | wx.Right The right edge. | |
7314 | wx.Bottom The bottom edge. | |
7315 | wx.CentreX The x-coordinate of the centre of the window. | |
7316 | wx.CentreY The y-coordinate of the centre of the window. | |
7317 | ||
7318 | ||
7319 | The Relationship specifies the relationship that this edge or dimension has | |
7320 | with another specified edge or dimension. Normally, the user doesn't use these | |
7321 | directly because functions such as Below and RightOf are a convenience for | |
7322 | using the more general Set function. | |
7323 | ||
7324 | Relationships | |
7325 | ||
7326 | wx.Unconstrained The edge or dimension is unconstrained | |
7327 | (the default for edges.) | |
7328 | wx.AsIs The edge or dimension is to be taken from the current | |
7329 | window position or size (the default for dimensions.) | |
7330 | wx.Above The edge should be above another edge. | |
7331 | wx.Below The edge should be below another edge. | |
7332 | wx.LeftOf The edge should be to the left of another edge. | |
7333 | wx.RightOf The edge should be to the right of another edge. | |
7334 | wx.SameAs The edge or dimension should be the same as another edge | |
7335 | or dimension. | |
7336 | wx.PercentOf The edge or dimension should be a percentage of another | |
7337 | edge or dimension. | |
7338 | wx.Absolute The edge or dimension should be a given absolute value. | |
7339 | ||
7340 | </docstring> | |
f32fc4bc RD |
7341 | <baseclass name="Object"/> |
7342 | <method name="Set" type="" overloaded="no"> | |
7343 | <autodoc>Set(int rel, Window otherW, int otherE, int val=0, int marg=wxLAYOUT_DEFAULT_MARGIN)</autodoc> | |
7344 | <paramlist> | |
7345 | <param name="rel" type="wxRelationship" default=""/> | |
7346 | <param name="otherW" type="Window" default=""/> | |
7347 | <param name="otherE" type="wxEdge" default=""/> | |
7348 | <param name="val" type="int" default="0"/> | |
7349 | <param name="marg" type="int" default="wxLAYOUT_DEFAULT_MARGIN"/> | |
7350 | </paramlist> | |
7351 | </method> | |
7352 | <method name="LeftOf" type="" overloaded="no"> | |
7353 | <autodoc>LeftOf(Window sibling, int marg=0)</autodoc> | |
c2dda882 | 7354 | <docstring>Sibling relationship</docstring> |
f32fc4bc RD |
7355 | <paramlist> |
7356 | <param name="sibling" type="Window" default=""/> | |
7357 | <param name="marg" type="int" default="0"/> | |
7358 | </paramlist> | |
7359 | </method> | |
7360 | <method name="RightOf" type="" overloaded="no"> | |
7361 | <autodoc>RightOf(Window sibling, int marg=0)</autodoc> | |
c2dda882 | 7362 | <docstring>Sibling relationship</docstring> |
f32fc4bc RD |
7363 | <paramlist> |
7364 | <param name="sibling" type="Window" default=""/> | |
7365 | <param name="marg" type="int" default="0"/> | |
7366 | </paramlist> | |
7367 | </method> | |
7368 | <method name="Above" type="" overloaded="no"> | |
7369 | <autodoc>Above(Window sibling, int marg=0)</autodoc> | |
c2dda882 | 7370 | <docstring>Sibling relationship</docstring> |
f32fc4bc RD |
7371 | <paramlist> |
7372 | <param name="sibling" type="Window" default=""/> | |
7373 | <param name="marg" type="int" default="0"/> | |
7374 | </paramlist> | |
7375 | </method> | |
7376 | <method name="Below" type="" overloaded="no"> | |
7377 | <autodoc>Below(Window sibling, int marg=0)</autodoc> | |
c2dda882 | 7378 | <docstring>Sibling relationship</docstring> |
f32fc4bc RD |
7379 | <paramlist> |
7380 | <param name="sibling" type="Window" default=""/> | |
7381 | <param name="marg" type="int" default="0"/> | |
7382 | </paramlist> | |
7383 | </method> | |
7384 | <method name="SameAs" type="" overloaded="no"> | |
7385 | <autodoc>SameAs(Window otherW, int edge, int marg=0)</autodoc> | |
c2dda882 | 7386 | <docstring>'Same edge' alignment</docstring> |
f32fc4bc RD |
7387 | <paramlist> |
7388 | <param name="otherW" type="Window" default=""/> | |
7389 | <param name="edge" type="wxEdge" default=""/> | |
7390 | <param name="marg" type="int" default="0"/> | |
7391 | </paramlist> | |
7392 | </method> | |
7393 | <method name="PercentOf" type="" overloaded="no"> | |
7394 | <autodoc>PercentOf(Window otherW, int wh, int per)</autodoc> | |
c2dda882 | 7395 | <docstring>The edge is a percentage of the other window's edge</docstring> |
f32fc4bc RD |
7396 | <paramlist> |
7397 | <param name="otherW" type="Window" default=""/> | |
7398 | <param name="wh" type="wxEdge" default=""/> | |
7399 | <param name="per" type="int" default=""/> | |
7400 | </paramlist> | |
7401 | </method> | |
7402 | <method name="Absolute" type="" overloaded="no"> | |
7403 | <autodoc>Absolute(int val)</autodoc> | |
c2dda882 | 7404 | <docstring>Edge has absolute value</docstring> |
f32fc4bc RD |
7405 | <paramlist> |
7406 | <param name="val" type="int" default=""/> | |
7407 | </paramlist> | |
7408 | </method> | |
7409 | <method name="Unconstrained" type="" overloaded="no"> | |
7410 | <autodoc>Unconstrained()</autodoc> | |
c2dda882 | 7411 | <docstring>Dimension is unconstrained</docstring> |
f32fc4bc RD |
7412 | </method> |
7413 | <method name="AsIs" type="" overloaded="no"> | |
7414 | <autodoc>AsIs()</autodoc> | |
c2dda882 | 7415 | <docstring>Dimension is 'as is' (use current size settings)</docstring> |
f32fc4bc RD |
7416 | </method> |
7417 | <method name="GetOtherWindow" type="Window" overloaded="no"> | |
7418 | <autodoc>GetOtherWindow() -> Window</autodoc> | |
7419 | </method> | |
7420 | <method name="GetMyEdge" type="wxEdge" overloaded="no"> | |
7421 | <autodoc>GetMyEdge() -> int</autodoc> | |
7422 | </method> | |
7423 | <method name="SetEdge" type="" overloaded="no"> | |
7424 | <autodoc>SetEdge(int which)</autodoc> | |
7425 | <paramlist> | |
7426 | <param name="which" type="wxEdge" default=""/> | |
7427 | </paramlist> | |
7428 | </method> | |
7429 | <method name="SetValue" type="" overloaded="no"> | |
7430 | <autodoc>SetValue(int v)</autodoc> | |
7431 | <paramlist> | |
7432 | <param name="v" type="int" default=""/> | |
7433 | </paramlist> | |
7434 | </method> | |
7435 | <method name="GetMargin" type="int" overloaded="no"> | |
7436 | <autodoc>GetMargin() -> int</autodoc> | |
7437 | </method> | |
7438 | <method name="SetMargin" type="" overloaded="no"> | |
7439 | <autodoc>SetMargin(int m)</autodoc> | |
7440 | <paramlist> | |
7441 | <param name="m" type="int" default=""/> | |
7442 | </paramlist> | |
7443 | </method> | |
7444 | <method name="GetValue" type="int" overloaded="no"> | |
7445 | <autodoc>GetValue() -> int</autodoc> | |
7446 | </method> | |
7447 | <method name="GetPercent" type="int" overloaded="no"> | |
7448 | <autodoc>GetPercent() -> int</autodoc> | |
7449 | </method> | |
7450 | <method name="GetOtherEdge" type="int" overloaded="no"> | |
7451 | <autodoc>GetOtherEdge() -> int</autodoc> | |
7452 | </method> | |
7453 | <method name="GetDone" type="bool" overloaded="no"> | |
7454 | <autodoc>GetDone() -> bool</autodoc> | |
7455 | </method> | |
7456 | <method name="SetDone" type="" overloaded="no"> | |
7457 | <autodoc>SetDone(bool d)</autodoc> | |
7458 | <paramlist> | |
7459 | <param name="d" type="bool" default=""/> | |
7460 | </paramlist> | |
7461 | </method> | |
7462 | <method name="GetRelationship" type="wxRelationship" overloaded="no"> | |
7463 | <autodoc>GetRelationship() -> int</autodoc> | |
7464 | </method> | |
7465 | <method name="SetRelationship" type="" overloaded="no"> | |
7466 | <autodoc>SetRelationship(int r)</autodoc> | |
7467 | <paramlist> | |
7468 | <param name="r" type="wxRelationship" default=""/> | |
7469 | </paramlist> | |
7470 | </method> | |
7471 | <method name="ResetIfWin" type="bool" overloaded="no"> | |
7472 | <autodoc>ResetIfWin(Window otherW) -> bool</autodoc> | |
c2dda882 | 7473 | <docstring>Reset constraint if it mentions otherWin</docstring> |
f32fc4bc RD |
7474 | <paramlist> |
7475 | <param name="otherW" type="Window" default=""/> | |
7476 | </paramlist> | |
7477 | </method> | |
7478 | <method name="SatisfyConstraint" type="bool" overloaded="no"> | |
7479 | <autodoc>SatisfyConstraint(LayoutConstraints constraints, Window win) -> bool</autodoc> | |
c2dda882 | 7480 | <docstring>Try to satisfy constraint</docstring> |
f32fc4bc RD |
7481 | <paramlist> |
7482 | <param name="constraints" type="wxLayoutConstraints" default=""/> | |
7483 | <param name="win" type="Window" default=""/> | |
7484 | </paramlist> | |
7485 | </method> | |
7486 | <method name="GetEdge" type="int" overloaded="no"> | |
7487 | <autodoc>GetEdge(int which, Window thisWin, Window other) -> int</autodoc> | |
c2dda882 RD |
7488 | <docstring>Get the value of this edge or dimension, or if this |
7489 | is not determinable, -1.</docstring> | |
f32fc4bc RD |
7490 | <paramlist> |
7491 | <param name="which" type="wxEdge" default=""/> | |
7492 | <param name="thisWin" type="Window" default=""/> | |
7493 | <param name="other" type="Window" default=""/> | |
7494 | </paramlist> | |
7495 | </method> | |
7496 | </class> | |
7497 | <class name="LayoutConstraints" oldname="wxLayoutConstraints" module="core"> | |
c2dda882 RD |
7498 | <docstring>Note: constraints are now deprecated and you should use sizers instead. |
7499 | ||
7500 | Objects of this class can be associated with a window to define its layout | |
7501 | constraints, with respect to siblings or its parent. | |
7502 | ||
7503 | The class consists of the following eight constraints of class | |
7504 | wx.IndividualLayoutConstraint, some or all of which should be accessed | |
7505 | directly to set the appropriate constraints. | |
7506 | ||
7507 | * left: represents the left hand edge of the window | |
7508 | * right: represents the right hand edge of the window | |
7509 | * top: represents the top edge of the window | |
7510 | * bottom: represents the bottom edge of the window | |
7511 | * width: represents the width of the window | |
7512 | * height: represents the height of the window | |
7513 | * centreX: represents the horizontal centre point of the window | |
7514 | * centreY: represents the vertical centre point of the window | |
7515 | ||
7516 | Most constraints are initially set to have the relationship wxUnconstrained, | |
7517 | which means that their values should be calculated by looking at known | |
7518 | constraints. The exceptions are width and height, which are set to wxAsIs to | |
7519 | ensure that if the user does not specify a constraint, the existing width and | |
7520 | height will be used, to be compatible with panel items which often have take a | |
7521 | default size. If the constraint is wxAsIs, the dimension will not be changed. | |
7522 | </docstring> | |
f32fc4bc RD |
7523 | <baseclass name="Object"/> |
7524 | <constructor name="LayoutConstraints" overloaded="no"> | |
7525 | <autodoc>__init__() -> LayoutConstraints</autodoc> | |
7526 | </constructor> | |
7527 | <property name="left" type="IndividualLayoutConstraint" readonly="yes"/> | |
7528 | <property name="top" type="IndividualLayoutConstraint" readonly="yes"/> | |
7529 | <property name="right" type="IndividualLayoutConstraint" readonly="yes"/> | |
7530 | <property name="bottom" type="IndividualLayoutConstraint" readonly="yes"/> | |
7531 | <property name="width" type="IndividualLayoutConstraint" readonly="yes"/> | |
7532 | <property name="height" type="IndividualLayoutConstraint" readonly="yes"/> | |
7533 | <property name="centreX" type="IndividualLayoutConstraint" readonly="yes"/> | |
7534 | <property name="centreY" type="IndividualLayoutConstraint" readonly="yes"/> | |
7535 | <method name="SatisfyConstraints" type="bool" overloaded="no"> | |
7536 | <autodoc>SatisfyConstraints(Window win) -> (areSatisfied, noChanges)</autodoc> | |
7537 | <paramlist> | |
7538 | <param name="win" type="Window" default=""/> | |
7539 | <param name="OUTPUT" type="int" default=""/> | |
7540 | </paramlist> | |
7541 | </method> | |
7542 | <method name="AreSatisfied" type="bool" overloaded="no"> | |
7543 | <autodoc>AreSatisfied() -> bool</autodoc> | |
7544 | </method> | |
7545 | </class> | |
7546 | <pythoncode>#---------------------------------------------------------------------------- | |
0f43fbdf RD |
7547 | |
7548 | # Use Python's bool constants if available, make some if not | |
7549 | try: | |
7550 | True | |
7551 | except NameError: | |
7552 | __builtins__.True = 1==1 | |
7553 | __builtins__.False = 1==0 | |
7554 | ||
7555 | ||
7556 | ||
7557 | # workarounds for bad wxRTTI names | |
7558 | __wxPyPtrTypeMap['wxGauge95'] = 'wxGauge' | |
7559 | __wxPyPtrTypeMap['wxSlider95'] = 'wxSlider' | |
7560 | __wxPyPtrTypeMap['wxStatusBar95'] = 'wxStatusBar' | |
7561 | ||
7562 | ||
7563 | #---------------------------------------------------------------------------- | |
7564 | # Load version numbers from __version__... Ensure that major and minor | |
7565 | # versions are the same for both wxPython and wxWindows. | |
7566 | ||
7567 | from __version__ import * | |
7568 | __version__ = VERSION_STRING | |
7569 | ||
7570 | assert MAJOR_VERSION == _core.MAJOR_VERSION, "wxPython/wxWindows version mismatch" | |
7571 | assert MINOR_VERSION == _core.MINOR_VERSION, "wxPython/wxWindows version mismatch" | |
7572 | if RELEASE_VERSION != _core.RELEASE_VERSION: | |
7573 | import warnings | |
7574 | warnings.warn("wxPython/wxWindows release number mismatch") | |
7575 | ||
7576 | #---------------------------------------------------------------------------- | |
7577 | ||
7578 | class PyDeadObjectError(AttributeError): | |
7579 | pass | |
7580 | ||
7581 | class _wxPyDeadObject(object): | |
7582 | """ | |
7583 | Instances of wx objects that are OOR capable will have their __class__ | |
7584 | changed to this class when the C++ object is deleted. This should help | |
7585 | prevent crashes due to referencing a bogus C++ pointer. | |
7586 | """ | |
7587 | reprStr = "wxPython wrapper for DELETED %s object! (The C++ object no longer exists.)" | |
7588 | attrStr = "The C++ part of the %s object has been deleted, attribute access no longer allowed." | |
7589 | ||
7590 | def __repr__(self): | |
7591 | if not hasattr(self, "_name"): | |
7592 | self._name = "[unknown]" | |
7593 | return self.reprStr % self._name | |
7594 | ||
7595 | def __getattr__(self, *args): | |
7596 | if not hasattr(self, "_name"): | |
7597 | self._name = "[unknown]" | |
7598 | raise PyDeadObjectError(self.attrStr % self._name) | |
7599 | ||
7600 | def __nonzero__(self): | |
7601 | return 0 | |
7602 | ||
7603 | ||
7604 | ||
7605 | class PyUnbornObjectError(AttributeError): | |
7606 | pass | |
7607 | ||
7608 | class _wxPyUnbornObject(object): | |
7609 | """ | |
7610 | Some stock objects are created when the wx.core module is | |
7611 | imported, but their C++ instance is not created until the wx.App | |
7612 | object is created and initialized. These object instances will | |
7613 | temporarily have their __class__ changed to this class so an | |
7614 | exception will be raised if they are used before the C++ instance | |
7615 | is ready. | |
7616 | """ | |
7617 | ||
7618 | reprStr = "wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.)" | |
7619 | attrStr = "The C++ part of this object has not been initialized, attribute access not allowed." | |
7620 | ||
7621 | def __repr__(self): | |
7622 | #if not hasattr(self, "_name"): | |
7623 | # self._name = "[unknown]" | |
7624 | return self.reprStr #% self._name | |
7625 | ||
7626 | def __getattr__(self, *args): | |
7627 | #if not hasattr(self, "_name"): | |
7628 | # self._name = "[unknown]" | |
7629 | raise PyUnbornObjectError(self.attrStr) # % self._name ) | |
7630 | ||
7631 | def __nonzero__(self): | |
7632 | return 0 | |
7633 | ||
7634 | ||
7635 | #---------------------------------------------------------------------------- | |
7636 | _wxPyCallAfterId = None | |
7637 | ||
7638 | def CallAfter(callable, *args, **kw): | |
7639 | """ | |
7640 | Call the specified function after the current and pending event | |
7641 | handlers have been completed. This is also good for making GUI | |
7642 | method calls from non-GUI threads. | |
7643 | """ | |
7644 | app = wx.GetApp() | |
7645 | assert app, 'No wxApp created yet' | |
7646 | ||
7647 | global _wxPyCallAfterId | |
7648 | if _wxPyCallAfterId is None: | |
7649 | _wxPyCallAfterId = wx.NewEventType() | |
7650 | app.Connect(-1, -1, _wxPyCallAfterId, | |
7651 | lambda event: event.callable(*event.args, **event.kw) ) | |
7652 | evt = wx.PyEvent() | |
7653 | evt.SetEventType(_wxPyCallAfterId) | |
7654 | evt.callable = callable | |
7655 | evt.args = args | |
7656 | evt.kw = kw | |
7657 | wx.PostEvent(app, evt) | |
7658 | ||
7659 | ||
7660 | #---------------------------------------------------------------------------- | |
7661 | ||
7662 | ||
7663 | class FutureCall: | |
7664 | """ | |
b39e211b | 7665 | A convenience class for wx.Timer, that calls the given callable |
0f43fbdf RD |
7666 | object once after the given amount of milliseconds, passing any |
7667 | positional or keyword args. The return value of the callable is | |
7668 | availbale after it has been run with the GetResult method. | |
7669 | ||
7670 | If you don't need to get the return value or restart the timer | |
7671 | then there is no need to hold a reference to this object. It will | |
7672 | hold a reference to itself while the timer is running (the timer | |
7673 | has a reference to self.Notify) but the cycle will be broken when | |
7674 | the timer completes, automatically cleaning up the wx.FutureCall | |
7675 | object. | |
7676 | """ | |
7677 | def __init__(self, millis, callable, *args, **kwargs): | |
7678 | self.millis = millis | |
7679 | self.callable = callable | |
7680 | self.SetArgs(*args, **kwargs) | |
7681 | self.runCount = 0 | |
b39e211b | 7682 | self.running = False |
0f43fbdf RD |
7683 | self.hasRun = False |
7684 | self.result = None | |
7685 | self.timer = None | |
7686 | self.Start() | |
7687 | ||
7688 | def __del__(self): | |
7689 | self.Stop() | |
7690 | ||
7691 | ||
7692 | def Start(self, millis=None, *args, **kwargs): | |
7693 | """ | |
7694 | (Re)start the timer | |
7695 | """ | |
7696 | self.hasRun = False | |
7697 | if millis is not None: | |
7698 | self.millis = millis | |
7699 | if args or kwargs: | |
7700 | self.SetArgs(*args, **kwargs) | |
7701 | self.Stop() | |
7702 | self.timer = wx.PyTimer(self.Notify) | |
7703 | self.timer.Start(self.millis, wx.TIMER_ONE_SHOT) | |
b39e211b | 7704 | self.running = True |
0f43fbdf RD |
7705 | Restart = Start |
7706 | ||
7707 | ||
7708 | def Stop(self): | |
7709 | """ | |
7710 | Stop and destroy the timer. | |
7711 | """ | |
7712 | if self.timer is not None: | |
7713 | self.timer.Stop() | |
7714 | self.timer = None | |
7715 | ||
7716 | ||
7717 | def GetInterval(self): | |
7718 | if self.timer is not None: | |
7719 | return self.timer.GetInterval() | |
7720 | else: | |
7721 | return 0 | |
7722 | ||
7723 | ||
7724 | def IsRunning(self): | |
7725 | return self.timer is not None and self.timer.IsRunning() | |
7726 | ||
7727 | ||
7728 | def SetArgs(self, *args, **kwargs): | |
7729 | """ | |
7730 | (Re)set the args passed to the callable object. This is | |
7731 | useful in conjunction with Restart if you want to schedule a | |
7732 | new call to the same callable object but with different | |
7733 | parameters. | |
7734 | """ | |
7735 | self.args = args | |
7736 | self.kwargs = kwargs | |
7737 | ||
7738 | ||
7739 | def HasRun(self): | |
7740 | return self.hasRun | |
7741 | ||
7742 | def GetResult(self): | |
7743 | return self.result | |
7744 | ||
7745 | def Notify(self): | |
7746 | """ | |
7747 | The timer has expired so call the callable. | |
7748 | """ | |
7749 | if self.callable and getattr(self.callable, 'im_self', True): | |
7750 | self.runCount += 1 | |
b39e211b | 7751 | self.running = False |
0f43fbdf RD |
7752 | self.result = self.callable(*self.args, **self.kwargs) |
7753 | self.hasRun = True | |
b39e211b RD |
7754 | if not self.running: |
7755 | # if it wasn't restarted, then cleanup | |
7756 | wx.CallAfter(self.Stop) | |
0f43fbdf RD |
7757 | |
7758 | ||
7759 | #---------------------------------------------------------------------------- | |
7760 | #---------------------------------------------------------------------------- | |
7761 | ||
7762 | # Import other modules in this package that should show up in the | |
7763 | # "core" wx namespace | |
7764 | from gdi import * | |
7765 | from windows import * | |
7766 | from controls import * | |
7767 | from misc import * | |
7768 | ||
7769 | ||
7770 | # Fixup the stock objects since they can't be used yet. (They will be | |
7771 | # restored in wx.PyApp.OnInit.) | |
7772 | _core._wxPyFixStockObjects() | |
7773 | ||
7774 | #---------------------------------------------------------------------------- | |
7775 | #---------------------------------------------------------------------------- | |
7776 | </pythoncode> | |
f32fc4bc RD |
7777 | </module> |
7778 | <module name="gdi"> | |
7779 | <import name="core"/> | |
7780 | <pythoncode> wx = core </pythoncode> | |
7781 | <pythoncode> | |
856bf319 RD |
7782 | #--------------------------------------------------------------------------- |
7783 | </pythoncode> | |
f32fc4bc RD |
7784 | <class name="GDIObject" oldname="wxGDIObject" module="gdi"> |
7785 | <baseclass name="Object"/> | |
7786 | <constructor name="GDIObject" overloaded="no"> | |
7787 | <autodoc>__init__() -> GDIObject</autodoc> | |
7788 | </constructor> | |
7789 | <destructor name="~wxGDIObject" overloaded="no"> | |
7790 | <autodoc>__del__()</autodoc> | |
7791 | </destructor> | |
7792 | <method name="GetVisible" type="bool" overloaded="no"> | |
7793 | <autodoc>GetVisible() -> bool</autodoc> | |
7794 | </method> | |
7795 | <method name="SetVisible" type="" overloaded="no"> | |
7796 | <autodoc>SetVisible(bool visible)</autodoc> | |
7797 | <paramlist> | |
7798 | <param name="visible" type="bool" default=""/> | |
7799 | </paramlist> | |
7800 | </method> | |
7801 | <method name="IsNull" type="bool" overloaded="no"> | |
7802 | <autodoc>IsNull() -> bool</autodoc> | |
7803 | </method> | |
7804 | </class> | |
7805 | <pythoncode> | |
856bf319 RD |
7806 | #--------------------------------------------------------------------------- |
7807 | </pythoncode> | |
f32fc4bc | 7808 | <class name="Colour" oldname="wxColour" module="gdi"> |
c2dda882 RD |
7809 | <docstring>A colour is an object representing a combination of Red, Green, and Blue (RGB) |
7810 | intensity values, and is used to determine drawing colours, window colours, | |
7811 | etc. Valid RGB values are in the range 0 to 255. | |
7812 | ||
7813 | In wxPython there are typemaps that will automatically convert from a colour | |
7814 | name, or from a "#RRGGBB" colour hex value string to a wx.Colour object when | |
7815 | calling C++ methods that expect a wxColour. This means that the following are | |
7816 | all equivallent: | |
7817 | ||
7818 | win.SetBackgroundColour(wxColour(0,0,255)) | |
7819 | win.SetBackgroundColour("BLUE") | |
7820 | win.SetBackgroundColour("#0000FF") | |
7821 | ||
7822 | You can retrieve the various current system colour settings with | |
7823 | wx.SystemSettings.GetColour.</docstring> | |
f32fc4bc RD |
7824 | <baseclass name="Object"/> |
7825 | <constructor name="Colour" overloaded="no"> | |
7826 | <autodoc>__init__(unsigned char red=0, unsigned char green=0, unsigned char blue=0) -> Colour</autodoc> | |
c2dda882 | 7827 | <docstring>Constructs a colour from red, green and blue values.</docstring> |
f32fc4bc RD |
7828 | <paramlist> |
7829 | <param name="red" type="unsigned char" default="0"/> | |
7830 | <param name="green" type="unsigned char" default="0"/> | |
7831 | <param name="blue" type="unsigned char" default="0"/> | |
7832 | </paramlist> | |
7833 | </constructor> | |
7834 | <constructor name="NamedColour" overloaded="no"> | |
7835 | <autodoc>NamedColour(String colorName) -> Colour</autodoc> | |
c2dda882 | 7836 | <docstring>Constructs a colour object using a colour name listed in wx.TheColourDatabase.</docstring> |
f32fc4bc RD |
7837 | <paramlist> |
7838 | <param name="colorName" type="String" default=""/> | |
7839 | </paramlist> | |
7840 | </constructor> | |
7841 | <constructor name="ColourRGB" overloaded="no"> | |
7842 | <autodoc>ColourRGB(unsigned long colRGB) -> Colour</autodoc> | |
c2dda882 | 7843 | <docstring>Constructs a colour from a packed RGB value.</docstring> |
f32fc4bc RD |
7844 | <paramlist> |
7845 | <param name="colRGB" type="unsigned long" default=""/> | |
7846 | </paramlist> | |
7847 | </constructor> | |
7848 | <destructor name="~wxColour" overloaded="no"> | |
7849 | <autodoc>__del__()</autodoc> | |
7850 | </destructor> | |
7851 | <method name="Red" type="unsigned char" overloaded="no"> | |
7852 | <autodoc>Red() -> unsigned char</autodoc> | |
c2dda882 | 7853 | <docstring>Returns the red intensity.</docstring> |
f32fc4bc RD |
7854 | </method> |
7855 | <method name="Green" type="unsigned char" overloaded="no"> | |
7856 | <autodoc>Green() -> unsigned char</autodoc> | |
c2dda882 | 7857 | <docstring>Returns the green intensity.</docstring> |
f32fc4bc RD |
7858 | </method> |
7859 | <method name="Blue" type="unsigned char" overloaded="no"> | |
7860 | <autodoc>Blue() -> unsigned char</autodoc> | |
c2dda882 | 7861 | <docstring>Returns the blue intensity.</docstring> |
f32fc4bc RD |
7862 | </method> |
7863 | <method name="Ok" type="bool" overloaded="no"> | |
7864 | <autodoc>Ok() -> bool</autodoc> | |
c2dda882 RD |
7865 | <docstring>Returns True if the colour object is valid (the colour has been |
7866 | initialised with RGB values).</docstring> | |
f32fc4bc RD |
7867 | </method> |
7868 | <method name="Set" type="" overloaded="no"> | |
7869 | <autodoc>Set(unsigned char red, unsigned char green, unsigned char blue)</autodoc> | |
c2dda882 | 7870 | <docstring>Sets the RGB intensity values.</docstring> |
f32fc4bc RD |
7871 | <paramlist> |
7872 | <param name="red" type="unsigned char" default=""/> | |
7873 | <param name="green" type="unsigned char" default=""/> | |
7874 | <param name="blue" type="unsigned char" default=""/> | |
7875 | </paramlist> | |
7876 | </method> | |
7877 | <method name="SetRGB" type="" overloaded="no"> | |
7878 | <autodoc>SetRGB(unsigned long colRGB)</autodoc> | |
c2dda882 | 7879 | <docstring>Sets the RGB intensity values from a packed RGB value.</docstring> |
f32fc4bc RD |
7880 | <paramlist> |
7881 | <param name="colRGB" type="unsigned long" default=""/> | |
7882 | </paramlist> | |
7883 | </method> | |
c2dda882 RD |
7884 | <method name="SetFromName" type="" overloaded="no"> |
7885 | <autodoc>SetFromName(String colourName)</autodoc> | |
7886 | <docstring>Sets the RGB intensity values using a colour name listed in wx.TheColourDatabase.</docstring> | |
7887 | <paramlist> | |
7888 | <param name="colourName" type="String" default=""/> | |
7889 | </paramlist> | |
7890 | </method> | |
7891 | <method name="GetPixel" type="long" overloaded="no"> | |
7892 | <autodoc>GetPixel() -> long</autodoc> | |
7893 | <docstring>Returns a pixel value which is platform-dependent. On Windows, a | |
7894 | COLORREF is returned. On X, an allocated pixel value is returned. | |
7895 | -1 is returned if the pixel is invalid (on X, unallocated).</docstring> | |
7896 | </method> | |
f32fc4bc RD |
7897 | <method name="__eq__" type="bool" overloaded="no"> |
7898 | <autodoc>__eq__(Colour colour) -> bool</autodoc> | |
c2dda882 | 7899 | <docstring>Compare colours for equality</docstring> |
f32fc4bc RD |
7900 | <paramlist> |
7901 | <param name="colour" type="Colour" default=""/> | |
7902 | </paramlist> | |
7903 | </method> | |
7904 | <method name="__ne__" type="bool" overloaded="no"> | |
7905 | <autodoc>__ne__(Colour colour) -> bool</autodoc> | |
c2dda882 | 7906 | <docstring>Compare colours for inequality</docstring> |
f32fc4bc RD |
7907 | <paramlist> |
7908 | <param name="colour" type="Colour" default=""/> | |
7909 | </paramlist> | |
7910 | </method> | |
f32fc4bc | 7911 | <method name="Get" type="PyObject" overloaded="no"> |
c2dda882 RD |
7912 | <autodoc>Get() -> (r, g, b)</autodoc> |
7913 | <docstring>Returns the RGB intensity values as a tuple.</docstring> | |
7914 | </method> | |
7915 | <method name="GetRGB" type="unsigned long" overloaded="no"> | |
7916 | <autodoc>GetRGB() -> unsigned long</autodoc> | |
7917 | <docstring>Return the colour as a packed RGB value</docstring> | |
f32fc4bc RD |
7918 | </method> |
7919 | </class> | |
856bf319 | 7920 | <pythoncode> |
856bf319 RD |
7921 | Color = Colour |
7922 | NamedColor = NamedColour | |
7923 | ColorRGB = ColourRGB | |
7924 | </pythoncode> | |
f32fc4bc RD |
7925 | <class name="Palette" oldname="wxPalette" module="gdi"> |
7926 | <baseclass name="GDIObject"/> | |
7927 | <constructor name="Palette" overloaded="no"> | |
7928 | <autodoc>__init__(int n, unsigned char red, unsigned char green, unsigned char blue) -> Palette</autodoc> | |
7929 | <paramlist> | |
7930 | <param name="n" type="int" default=""/> | |
7931 | <param name="red" type="unsigned char" default=""/> | |
7932 | <param name="green" type="unsigned char" default=""/> | |
7933 | <param name="blue" type="unsigned char" default=""/> | |
7934 | </paramlist> | |
7935 | </constructor> | |
7936 | <destructor name="~wxPalette" overloaded="no"> | |
7937 | <autodoc>__del__()</autodoc> | |
7938 | </destructor> | |
7939 | <method name="GetPixel" type="int" overloaded="no"> | |
7940 | <autodoc>GetPixel(byte red, byte green, byte blue) -> int</autodoc> | |
7941 | <paramlist> | |
7942 | <param name="red" type="byte" default=""/> | |
7943 | <param name="green" type="byte" default=""/> | |
7944 | <param name="blue" type="byte" default=""/> | |
7945 | </paramlist> | |
7946 | </method> | |
7947 | <method name="GetRGB" type="bool" overloaded="no"> | |
7948 | <autodoc>GetRGB(int pixel) -> (R,G,B)</autodoc> | |
7949 | <paramlist> | |
7950 | <param name="pixel" type="int" default=""/> | |
7951 | <param name="OUTPUT" type="byte" default=""/> | |
7952 | <param name="OUTPUT" type="byte" default=""/> | |
7953 | <param name="OUTPUT" type="byte" default=""/> | |
7954 | </paramlist> | |
7955 | </method> | |
7956 | <method name="Ok" type="bool" overloaded="no"> | |
7957 | <autodoc>Ok() -> bool</autodoc> | |
7958 | </method> | |
7959 | </class> | |
7960 | <pythoncode> | |
856bf319 RD |
7961 | #--------------------------------------------------------------------------- |
7962 | </pythoncode> | |
f32fc4bc RD |
7963 | <class name="Pen" oldname="wxPen" module="gdi"> |
7964 | <baseclass name="GDIObject"/> | |
7965 | <constructor name="Pen" overloaded="no"> | |
7966 | <autodoc>__init__(Colour colour, int width=1, int style=SOLID) -> Pen</autodoc> | |
7967 | <paramlist> | |
7968 | <param name="colour" type="Colour" default=""/> | |
7969 | <param name="width" type="int" default="1"/> | |
7970 | <param name="style" type="int" default="wxSOLID"/> | |
7971 | </paramlist> | |
7972 | </constructor> | |
7973 | <destructor name="~wxPen" overloaded="no"> | |
7974 | <autodoc>__del__()</autodoc> | |
7975 | </destructor> | |
7976 | <method name="GetCap" type="int" overloaded="no"> | |
7977 | <autodoc>GetCap() -> int</autodoc> | |
7978 | </method> | |
7979 | <method name="GetColour" type="Colour" overloaded="no"> | |
7980 | <autodoc>GetColour() -> Colour</autodoc> | |
7981 | </method> | |
7982 | <method name="GetJoin" type="int" overloaded="no"> | |
7983 | <autodoc>GetJoin() -> int</autodoc> | |
7984 | </method> | |
7985 | <method name="GetStyle" type="int" overloaded="no"> | |
7986 | <autodoc>GetStyle() -> int</autodoc> | |
7987 | </method> | |
7988 | <method name="GetWidth" type="int" overloaded="no"> | |
7989 | <autodoc>GetWidth() -> int</autodoc> | |
7990 | </method> | |
7991 | <method name="Ok" type="bool" overloaded="no"> | |
7992 | <autodoc>Ok() -> bool</autodoc> | |
7993 | </method> | |
7994 | <method name="SetCap" type="" overloaded="no"> | |
7995 | <autodoc>SetCap(int cap_style)</autodoc> | |
7996 | <paramlist> | |
7997 | <param name="cap_style" type="int" default=""/> | |
7998 | </paramlist> | |
7999 | </method> | |
8000 | <method name="SetColour" type="" overloaded="no"> | |
8001 | <autodoc>SetColour(Colour colour)</autodoc> | |
8002 | <paramlist> | |
8003 | <param name="colour" type="Colour" default=""/> | |
8004 | </paramlist> | |
8005 | </method> | |
8006 | <method name="SetJoin" type="" overloaded="no"> | |
8007 | <autodoc>SetJoin(int join_style)</autodoc> | |
8008 | <paramlist> | |
8009 | <param name="join_style" type="int" default=""/> | |
8010 | </paramlist> | |
8011 | </method> | |
8012 | <method name="SetStyle" type="" overloaded="no"> | |
8013 | <autodoc>SetStyle(int style)</autodoc> | |
8014 | <paramlist> | |
8015 | <param name="style" type="int" default=""/> | |
8016 | </paramlist> | |
8017 | </method> | |
8018 | <method name="SetWidth" type="" overloaded="no"> | |
8019 | <autodoc>SetWidth(int width)</autodoc> | |
8020 | <paramlist> | |
8021 | <param name="width" type="int" default=""/> | |
8022 | </paramlist> | |
8023 | </method> | |
8024 | <method name="SetDashes" type="" overloaded="no"> | |
8025 | <autodoc>SetDashes(int dashes, wxDash dashes_array)</autodoc> | |
8026 | <paramlist> | |
8027 | <param name="dashes" type="int" default=""/> | |
8028 | <param name="dashes_array" type="wxDash" default=""/> | |
8029 | </paramlist> | |
8030 | </method> | |
8031 | <method name="GetDashes" type="PyObject" overloaded="no"> | |
8032 | <autodoc>GetDashes() -> PyObject</autodoc> | |
8033 | </method> | |
8034 | <method name="__eq__" type="bool" overloaded="no"> | |
c2dda882 | 8035 | <autodoc>__eq__(Pen other) -> bool</autodoc> |
f32fc4bc | 8036 | <paramlist> |
c2dda882 RD |
8037 | <param name="other" type="Pen" default=""/> |
8038 | </paramlist> | |
8039 | </method> | |
8040 | <method name="__ne__" type="bool" overloaded="no"> | |
8041 | <autodoc>__ne__(Pen other) -> bool</autodoc> | |
8042 | <paramlist> | |
8043 | <param name="other" type="Pen" default=""/> | |
f32fc4bc RD |
8044 | </paramlist> |
8045 | </method> | |
8046 | <method name="GetDashCount" type="int" overloaded="no"> | |
8047 | <autodoc>GetDashCount() -> int</autodoc> | |
8048 | </method> | |
8049 | </class> | |
8050 | <class name="PyPen" oldname="wxPyPen" module="gdi"> | |
8051 | <baseclass name="Pen"/> | |
8052 | <constructor name="PyPen" overloaded="no"> | |
8053 | <autodoc>__init__(Colour colour, int width=1, int style=SOLID) -> PyPen</autodoc> | |
8054 | <paramlist> | |
8055 | <param name="colour" type="Colour" default=""/> | |
8056 | <param name="width" type="int" default="1"/> | |
8057 | <param name="style" type="int" default="wxSOLID"/> | |
8058 | </paramlist> | |
8059 | </constructor> | |
8060 | <destructor name="~wxPyPen" overloaded="no"> | |
8061 | <autodoc>__del__()</autodoc> | |
8062 | </destructor> | |
8063 | <method name="SetDashes" type="" overloaded="no"> | |
8064 | <autodoc>SetDashes(int dashes, wxDash dashes_array)</autodoc> | |
8065 | <paramlist> | |
8066 | <param name="dashes" type="int" default=""/> | |
8067 | <param name="dashes_array" type="wxDash" default=""/> | |
8068 | </paramlist> | |
8069 | </method> | |
8070 | </class> | |
8071 | <pythoncode> Pen = PyPen </pythoncode> | |
8072 | <pythoncode> | |
856bf319 RD |
8073 | #--------------------------------------------------------------------------- |
8074 | </pythoncode> | |
f32fc4bc RD |
8075 | <class name="Brush" oldname="wxBrush" module="gdi"> |
8076 | <docstring>A brush is a drawing tool for filling in areas. It is used for painting the | |
856bf319 | 8077 | background of rectangles, ellipses, etc. It has a colour and a style.</docstring> |
f32fc4bc RD |
8078 | <baseclass name="GDIObject"/> |
8079 | <constructor name="Brush" overloaded="no"> | |
8080 | <autodoc>__init__(Colour colour, int style=SOLID) -> Brush</autodoc> | |
8081 | <docstring>Constructs a brush from a colour object and style.</docstring> | |
8082 | <paramlist> | |
8083 | <param name="colour" type="Colour" default=""/> | |
8084 | <param name="style" type="int" default="wxSOLID"/> | |
8085 | </paramlist> | |
8086 | </constructor> | |
8087 | <destructor name="~wxBrush" overloaded="no"> | |
8088 | <autodoc>__del__()</autodoc> | |
8089 | </destructor> | |
8090 | <method name="SetColour" type="" overloaded="no"> | |
8091 | <autodoc>SetColour(Colour col)</autodoc> | |
8092 | <paramlist> | |
8093 | <param name="col" type="Colour" default=""/> | |
8094 | </paramlist> | |
8095 | </method> | |
8096 | <method name="SetStyle" type="" overloaded="no"> | |
8097 | <autodoc>SetStyle(int style)</autodoc> | |
8098 | <paramlist> | |
8099 | <param name="style" type="int" default=""/> | |
8100 | </paramlist> | |
8101 | </method> | |
8102 | <method name="SetStipple" type="" overloaded="no"> | |
8103 | <autodoc>SetStipple(Bitmap stipple)</autodoc> | |
8104 | <paramlist> | |
8105 | <param name="stipple" type="wxBitmap" default=""/> | |
8106 | </paramlist> | |
8107 | </method> | |
8108 | <method name="GetColour" type="Colour" overloaded="no"> | |
8109 | <autodoc>GetColour() -> Colour</autodoc> | |
8110 | </method> | |
8111 | <method name="GetStyle" type="int" overloaded="no"> | |
8112 | <autodoc>GetStyle() -> int</autodoc> | |
8113 | </method> | |
8114 | <method name="GetStipple" type="wxBitmap" overloaded="no"> | |
8115 | <autodoc>GetStipple() -> Bitmap</autodoc> | |
8116 | </method> | |
8117 | <method name="Ok" type="bool" overloaded="no"> | |
8118 | <autodoc>Ok() -> bool</autodoc> | |
8119 | </method> | |
8120 | </class> | |
8121 | <class name="Bitmap" oldname="wxBitmap" module="gdi"> | |
8122 | <baseclass name="GDIObject"/> | |
8123 | <constructor name="Bitmap" overloaded="no"> | |
8124 | <autodoc>__init__(String name, int type=BITMAP_TYPE_ANY) -> Bitmap</autodoc> | |
8125 | <docstring>Loads a bitmap from a file.</docstring> | |
8126 | <paramlist> | |
8127 | <param name="name" type="String" default=""/> | |
8128 | <param name="type" type="wxBitmapType" default="wxBITMAP_TYPE_ANY"/> | |
8129 | </paramlist> | |
8130 | </constructor> | |
8131 | <constructor name="EmptyBitmap" overloaded="no"> | |
8132 | <autodoc>EmptyBitmap(int width, int height, int depth=-1) -> Bitmap</autodoc> | |
8133 | <docstring>Creates a new bitmap of the given size. A depth of -1 indicates the depth of | |
856bf319 RD |
8134 | the current screen or visual. Some platforms only support 1 for monochrome and |
8135 | -1 for the current colour setting.</docstring> | |
f32fc4bc RD |
8136 | <paramlist> |
8137 | <param name="width" type="int" default=""/> | |
8138 | <param name="height" type="int" default=""/> | |
8139 | <param name="depth" type="int" default="-1"/> | |
8140 | </paramlist> | |
8141 | </constructor> | |
8142 | <constructor name="BitmapFromIcon" overloaded="no"> | |
8143 | <autodoc>BitmapFromIcon(Icon icon) -> Bitmap</autodoc> | |
8144 | <docstring>Create a new bitmap from an Icon object.</docstring> | |
8145 | <paramlist> | |
8146 | <param name="icon" type="wxIcon" default=""/> | |
8147 | </paramlist> | |
8148 | </constructor> | |
8149 | <constructor name="BitmapFromImage" overloaded="no"> | |
8150 | <autodoc>BitmapFromImage(Image image, int depth=-1) -> Bitmap</autodoc> | |
8151 | <docstring>Creates bitmap object from the image. This has to be done to actually display | |
856bf319 RD |
8152 | an image as you cannot draw an image directly on a window. The resulting |
8153 | bitmap will use the provided colour depth (or that of the current system if | |
8154 | depth is -1) which entails that a colour reduction has to take place.</docstring> | |
f32fc4bc RD |
8155 | <paramlist> |
8156 | <param name="image" type="Image" default=""/> | |
8157 | <param name="depth" type="int" default="-1"/> | |
8158 | </paramlist> | |
8159 | </constructor> | |
8160 | <constructor name="BitmapFromXPMData" overloaded="no"> | |
8161 | <autodoc>BitmapFromXPMData(PyObject listOfStrings) -> Bitmap</autodoc> | |
8162 | <docstring>Construct a Bitmap from a list of strings formatted as XPM data.</docstring> | |
8163 | <paramlist> | |
8164 | <param name="listOfStrings" type="PyObject" default=""/> | |
8165 | </paramlist> | |
8166 | </constructor> | |
8167 | <constructor name="BitmapFromBits" overloaded="no"> | |
8168 | <autodoc>BitmapFromBits(PyObject bits, int width, int height, int depth=1) -> Bitmap</autodoc> | |
8169 | <docstring>Creates a bitmap from an array of bits. You should only use this function for | |
856bf319 RD |
8170 | monochrome bitmaps (depth 1) in portable programs: in this case the bits |
8171 | parameter should contain an XBM image. For other bit depths, the behaviour is | |
8172 | platform dependent.</docstring> | |
f32fc4bc RD |
8173 | <paramlist> |
8174 | <param name="bits" type="PyObject" default=""/> | |
8175 | <param name="width" type="int" default=""/> | |
8176 | <param name="height" type="int" default=""/> | |
8177 | <param name="depth" type="int" default="1"/> | |
8178 | </paramlist> | |
8179 | </constructor> | |
8180 | <destructor name="~wxBitmap" overloaded="no"> | |
8181 | <autodoc>__del__()</autodoc> | |
8182 | </destructor> | |
8183 | <method name="Ok" type="bool" overloaded="no"> | |
8184 | <autodoc>Ok() -> bool</autodoc> | |
8185 | </method> | |
8186 | <method name="GetWidth" type="int" overloaded="no"> | |
8187 | <autodoc>GetWidth() -> int</autodoc> | |
8188 | <docstring>Gets the width of the bitmap in pixels.</docstring> | |
8189 | </method> | |
8190 | <method name="GetHeight" type="int" overloaded="no"> | |
8191 | <autodoc>GetHeight() -> int</autodoc> | |
8192 | <docstring>Gets the height of the bitmap in pixels.</docstring> | |
8193 | </method> | |
8194 | <method name="GetDepth" type="int" overloaded="no"> | |
8195 | <autodoc>GetDepth() -> int</autodoc> | |
8196 | <docstring>Gets the colour depth of the bitmap. A value of 1 indicates a | |
856bf319 | 8197 | monochrome bitmap.</docstring> |
f32fc4bc RD |
8198 | </method> |
8199 | <method name="ConvertToImage" type="Image" overloaded="no"> | |
8200 | <autodoc>ConvertToImage() -> Image</autodoc> | |
8201 | <docstring>Creates a platform-independent image from a platform-dependent bitmap. This | |
856bf319 RD |
8202 | preserves mask information so that bitmaps and images can be converted back |
8203 | and forth without loss in that respect.</docstring> | |
f32fc4bc RD |
8204 | </method> |
8205 | <method name="GetMask" type="wxMask" overloaded="no"> | |
8206 | <autodoc>GetMask() -> Mask</autodoc> | |
8207 | <docstring>Gets the associated mask (if any) which may have been loaded from a file | |
856bf319 | 8208 | or explpicitly set for the bitmap.</docstring> |
f32fc4bc RD |
8209 | </method> |
8210 | <method name="SetMask" type="" overloaded="no"> | |
8211 | <autodoc>SetMask(Mask mask)</autodoc> | |
8212 | <docstring>Sets the mask for this bitmap.</docstring> | |
8213 | <paramlist> | |
8214 | <param name="mask" type="wxMask" default=""/> | |
8215 | </paramlist> | |
8216 | </method> | |
8217 | <method name="SetMaskColour" type="" overloaded="no"> | |
8218 | <autodoc>SetMaskColour(Colour colour)</autodoc> | |
8219 | <docstring>Create a Mask based on a specified colour in the Bitmap.</docstring> | |
8220 | <paramlist> | |
8221 | <param name="colour" type="Colour" default=""/> | |
8222 | </paramlist> | |
8223 | </method> | |
8224 | <method name="GetSubBitmap" type="Bitmap" overloaded="no"> | |
8225 | <autodoc>GetSubBitmap(Rect rect) -> Bitmap</autodoc> | |
8226 | <docstring>Returns a sub bitmap of the current one as long as the rect belongs entirely | |
856bf319 | 8227 | to the bitmap. This function preserves bit depth and mask information.</docstring> |
f32fc4bc RD |
8228 | <paramlist> |
8229 | <param name="rect" type="Rect" default=""/> | |
8230 | </paramlist> | |
8231 | </method> | |
8232 | <method name="SaveFile" type="bool" overloaded="no"> | |
8233 | <autodoc>SaveFile(String name, int type, Palette palette=(wxPalette *) NULL) -> bool</autodoc> | |
8234 | <docstring>Saves a bitmap in the named file.</docstring> | |
8235 | <paramlist> | |
8236 | <param name="name" type="String" default=""/> | |
8237 | <param name="type" type="wxBitmapType" default=""/> | |
8238 | <param name="palette" type="Palette" default="(wxPalette *) NULL"/> | |
8239 | </paramlist> | |
8240 | </method> | |
8241 | <method name="LoadFile" type="bool" overloaded="no"> | |
8242 | <autodoc>LoadFile(String name, int type) -> bool</autodoc> | |
8243 | <docstring>Loads a bitmap from a file</docstring> | |
8244 | <paramlist> | |
8245 | <param name="name" type="String" default=""/> | |
8246 | <param name="type" type="wxBitmapType" default=""/> | |
8247 | </paramlist> | |
8248 | </method> | |
8249 | <method name="CopyFromIcon" type="bool" overloaded="no"> | |
8250 | <autodoc>CopyFromIcon(Icon icon) -> bool</autodoc> | |
8251 | <paramlist> | |
8252 | <param name="icon" type="wxIcon" default=""/> | |
8253 | </paramlist> | |
8254 | </method> | |
8255 | <method name="SetHeight" type="" overloaded="no"> | |
8256 | <autodoc>SetHeight(int height)</autodoc> | |
8257 | <docstring>Set the height property (does not affect the bitmap data).</docstring> | |
8258 | <paramlist> | |
8259 | <param name="height" type="int" default=""/> | |
8260 | </paramlist> | |
8261 | </method> | |
8262 | <method name="SetWidth" type="" overloaded="no"> | |
8263 | <autodoc>SetWidth(int width)</autodoc> | |
8264 | <docstring>Set the width property (does not affect the bitmap data).</docstring> | |
8265 | <paramlist> | |
8266 | <param name="width" type="int" default=""/> | |
8267 | </paramlist> | |
8268 | </method> | |
8269 | <method name="SetDepth" type="" overloaded="no"> | |
8270 | <autodoc>SetDepth(int depth)</autodoc> | |
8271 | <docstring>Set the depth property (does not affect the bitmap data).</docstring> | |
8272 | <paramlist> | |
8273 | <param name="depth" type="int" default=""/> | |
8274 | </paramlist> | |
8275 | </method> | |
b39e211b RD |
8276 | <method name="__eq__" type="bool" overloaded="no"> |
8277 | <autodoc>__eq__(Bitmap other) -> bool</autodoc> | |
8278 | <paramlist> | |
8279 | <param name="other" type="Bitmap" default=""/> | |
8280 | </paramlist> | |
8281 | </method> | |
8282 | <method name="__ne__" type="bool" overloaded="no"> | |
8283 | <autodoc>__ne__(Bitmap other) -> bool</autodoc> | |
8284 | <paramlist> | |
8285 | <param name="other" type="Bitmap" default=""/> | |
8286 | </paramlist> | |
8287 | </method> | |
f32fc4bc RD |
8288 | </class> |
8289 | <class name="Mask" oldname="wxMask" module="gdi"> | |
8290 | <docstring>This class encapsulates a monochrome mask bitmap, where the masked area is | |
8291 | black and the unmasked area is white. When associated with a bitmap and drawn | |
8292 | in a device context, the unmasked area of the bitmap will be drawn, and the | |
8293 | masked area will not be drawn.</docstring> | |
8294 | <baseclass name="Object"/> | |
8295 | <constructor name="Mask" overloaded="no"> | |
8296 | <autodoc>__init__(Bitmap bitmap, Colour colour=NullColour) -> Mask</autodoc> | |
8297 | <docstring>Constructs a mask from a bitmap and a colour in that bitmap that indicates | |
8298 | the transparent portions of the mask, by default BLACK is used.</docstring> | |
8299 | <paramlist> | |
8300 | <param name="bitmap" type="Bitmap" default=""/> | |
8301 | <param name="colour" type="Colour" default="wxNullColour"/> | |
8302 | </paramlist> | |
8303 | </constructor> | |
8304 | </class> | |
8305 | <pythoncode> MaskColour = Mask </pythoncode> | |
8306 | <class name="Icon" oldname="wxIcon" module="gdi"> | |
8307 | <baseclass name="GDIObject"/> | |
8308 | <constructor name="Icon" overloaded="no"> | |
8309 | <autodoc>__init__(String name, int type, int desiredWidth=-1, int desiredHeight=-1) -> Icon</autodoc> | |
8310 | <paramlist> | |
8311 | <param name="name" type="String" default=""/> | |
8312 | <param name="type" type="wxBitmapType" default=""/> | |
8313 | <param name="desiredWidth" type="int" default="-1"/> | |
8314 | <param name="desiredHeight" type="int" default="-1"/> | |
8315 | </paramlist> | |
8316 | </constructor> | |
8317 | <constructor name="EmptyIcon" overloaded="no"> | |
8318 | <autodoc>EmptyIcon() -> Icon</autodoc> | |
8319 | </constructor> | |
8320 | <constructor name="IconFromLocation" overloaded="no"> | |
8321 | <autodoc>IconFromLocation(IconLocation loc) -> Icon</autodoc> | |
8322 | <paramlist> | |
8323 | <param name="loc" type="wxIconLocation" default=""/> | |
8324 | </paramlist> | |
8325 | </constructor> | |
8326 | <constructor name="IconFromBitmap" overloaded="no"> | |
8327 | <autodoc>IconFromBitmap(Bitmap bmp) -> Icon</autodoc> | |
8328 | <paramlist> | |
8329 | <param name="bmp" type="Bitmap" default=""/> | |
8330 | </paramlist> | |
8331 | </constructor> | |
8332 | <constructor name="IconFromXPMData" overloaded="no"> | |
8333 | <autodoc>IconFromXPMData(PyObject listOfStrings) -> Icon</autodoc> | |
8334 | <paramlist> | |
8335 | <param name="listOfStrings" type="PyObject" default=""/> | |
8336 | </paramlist> | |
8337 | </constructor> | |
8338 | <destructor name="~wxIcon" overloaded="no"> | |
8339 | <autodoc>__del__()</autodoc> | |
8340 | </destructor> | |
8341 | <method name="LoadFile" type="bool" overloaded="no"> | |
8342 | <autodoc>LoadFile(String name, int type) -> bool</autodoc> | |
8343 | <paramlist> | |
8344 | <param name="name" type="String" default=""/> | |
8345 | <param name="type" type="wxBitmapType" default=""/> | |
8346 | </paramlist> | |
8347 | </method> | |
8348 | <method name="Ok" type="bool" overloaded="no"> | |
8349 | <autodoc>Ok() -> bool</autodoc> | |
8350 | </method> | |
8351 | <method name="GetWidth" type="int" overloaded="no"> | |
8352 | <autodoc>GetWidth() -> int</autodoc> | |
8353 | </method> | |
8354 | <method name="GetHeight" type="int" overloaded="no"> | |
8355 | <autodoc>GetHeight() -> int</autodoc> | |
8356 | </method> | |
8357 | <method name="GetDepth" type="int" overloaded="no"> | |
8358 | <autodoc>GetDepth() -> int</autodoc> | |
8359 | </method> | |
8360 | <method name="SetWidth" type="" overloaded="no"> | |
8361 | <autodoc>SetWidth(int w)</autodoc> | |
8362 | <paramlist> | |
8363 | <param name="w" type="int" default=""/> | |
8364 | </paramlist> | |
8365 | </method> | |
8366 | <method name="SetHeight" type="" overloaded="no"> | |
8367 | <autodoc>SetHeight(int h)</autodoc> | |
8368 | <paramlist> | |
8369 | <param name="h" type="int" default=""/> | |
8370 | </paramlist> | |
8371 | </method> | |
8372 | <method name="SetDepth" type="" overloaded="no"> | |
8373 | <autodoc>SetDepth(int d)</autodoc> | |
8374 | <paramlist> | |
8375 | <param name="d" type="int" default=""/> | |
8376 | </paramlist> | |
8377 | </method> | |
8378 | <method name="CopyFromBitmap" type="" overloaded="no"> | |
8379 | <autodoc>CopyFromBitmap(Bitmap bmp)</autodoc> | |
8380 | <paramlist> | |
8381 | <param name="bmp" type="Bitmap" default=""/> | |
8382 | </paramlist> | |
8383 | </method> | |
8384 | </class> | |
8385 | <class name="IconLocation" oldname="wxIconLocation" module="gdi"> | |
8386 | <constructor name="IconLocation" overloaded="no"> | |
8387 | <autodoc>__init__(String filename=&wxPyEmptyString, int num=0) -> IconLocation</autodoc> | |
8388 | <paramlist> | |
8389 | <param name="filename" type="String" default="&wxPyEmptyString"/> | |
8390 | <param name="num" type="int" default="0"/> | |
8391 | </paramlist> | |
8392 | </constructor> | |
8393 | <destructor name="~wxIconLocation" overloaded="no"> | |
8394 | <autodoc>__del__()</autodoc> | |
8395 | </destructor> | |
8396 | <method name="IsOk" type="bool" overloaded="no"> | |
8397 | <autodoc>IsOk() -> bool</autodoc> | |
8398 | </method> | |
8399 | <method name="SetFileName" type="" overloaded="no"> | |
8400 | <autodoc>SetFileName(String filename)</autodoc> | |
8401 | <paramlist> | |
8402 | <param name="filename" type="String" default=""/> | |
8403 | </paramlist> | |
8404 | </method> | |
8405 | <method name="GetFileName" type="String" overloaded="no"> | |
8406 | <autodoc>GetFileName() -> String</autodoc> | |
8407 | </method> | |
8408 | <method name="SetIndex" type="" overloaded="no"> | |
8409 | <autodoc>SetIndex(int num)</autodoc> | |
8410 | <paramlist> | |
8411 | <param name="num" type="int" default=""/> | |
8412 | </paramlist> | |
8413 | </method> | |
8414 | <method name="GetIndex" type="int" overloaded="no"> | |
8415 | <autodoc>GetIndex() -> int</autodoc> | |
8416 | </method> | |
8417 | </class> | |
8418 | <class name="IconBundle" oldname="wxIconBundle" module="gdi"> | |
8419 | <constructor name="IconBundle" overloaded="no"> | |
8420 | <autodoc>__init__() -> IconBundle</autodoc> | |
8421 | </constructor> | |
8422 | <constructor name="IconBundleFromFile" overloaded="no"> | |
8423 | <autodoc>IconBundleFromFile(String file, long type) -> IconBundle</autodoc> | |
8424 | <paramlist> | |
8425 | <param name="file" type="String" default=""/> | |
8426 | <param name="type" type="long" default=""/> | |
8427 | </paramlist> | |
8428 | </constructor> | |
8429 | <constructor name="IconBundleFromIcon" overloaded="no"> | |
8430 | <autodoc>IconBundleFromIcon(Icon icon) -> IconBundle</autodoc> | |
8431 | <paramlist> | |
8432 | <param name="icon" type="Icon" default=""/> | |
8433 | </paramlist> | |
8434 | </constructor> | |
8435 | <destructor name="~wxIconBundle" overloaded="no"> | |
8436 | <autodoc>__del__()</autodoc> | |
8437 | </destructor> | |
8438 | <method name="AddIcon" type="" overloaded="no"> | |
8439 | <autodoc>AddIcon(Icon icon)</autodoc> | |
8440 | <paramlist> | |
8441 | <param name="icon" type="Icon" default=""/> | |
8442 | </paramlist> | |
8443 | </method> | |
8444 | <method name="AddIconFromFile" type="" overloaded="no"> | |
8445 | <autodoc>AddIconFromFile(String file, long type)</autodoc> | |
8446 | <paramlist> | |
8447 | <param name="file" type="String" default=""/> | |
8448 | <param name="type" type="long" default=""/> | |
8449 | </paramlist> | |
8450 | </method> | |
8451 | <method name="GetIcon" type="Icon" overloaded="no"> | |
8452 | <autodoc>GetIcon(Size size) -> Icon</autodoc> | |
8453 | <paramlist> | |
8454 | <param name="size" type="Size" default=""/> | |
8455 | </paramlist> | |
8456 | </method> | |
8457 | </class> | |
8458 | <class name="Cursor" oldname="wxCursor" module="gdi"> | |
c2dda882 RD |
8459 | <docstring>A cursor is a small bitmap usually used for denoting where the |
8460 | mouse pointer is, with a picture that might indicate the | |
8461 | interpretation of a mouse click. | |
8462 | ||
8463 | A single cursor object may be used in many windows (any subwindow | |
8464 | type). The wxWindows convention is to set the cursor for a | |
8465 | window, as in X, rather than to set it globally as in MS Windows, | |
8466 | although a global wx.SetCursor function is also available for use | |
8467 | on MS Windows.</docstring> | |
f32fc4bc RD |
8468 | <baseclass name="GDIObject"/> |
8469 | <constructor name="Cursor" overloaded="no"> | |
c2dda882 RD |
8470 | <autodoc>__init__(String cursorName, long type, int hotSpotX=0, int hotSpotY=0) -> Cursor</autodoc> |
8471 | <docstring>Construct a Cursor from a file. Specify the type of file using | |
8472 | wx.BITAMP_TYPE* constants, and specify the hotspot if not using a | |
8473 | .cur file. | |
8474 | ||
8475 | This cursor is not available on wxGTK, use wx.StockCursor, | |
8476 | wx.CursorFromImage, or wx.CursorFromBits instead.</docstring> | |
f32fc4bc RD |
8477 | <paramlist> |
8478 | <param name="cursorName" type="String" default=""/> | |
c2dda882 | 8479 | <param name="type" type="long" default=""/> |
f32fc4bc RD |
8480 | <param name="hotSpotX" type="int" default="0"/> |
8481 | <param name="hotSpotY" type="int" default="0"/> | |
8482 | </paramlist> | |
8483 | </constructor> | |
8484 | <constructor name="StockCursor" overloaded="no"> | |
8485 | <autodoc>StockCursor(int id) -> Cursor</autodoc> | |
c2dda882 RD |
8486 | <docstring>Create a cursor using one of the stock cursors. Note that not |
8487 | all cursors are available on all platforms.</docstring> | |
8488 | <refdoc> | |
8489 | Stock Cursor IDs | |
8490 | ||
8491 | wx.CURSOR_ARROW A standard arrow cursor. | |
8492 | wx.CURSOR_RIGHT_ARROW A standard arrow cursor pointing to the right. | |
8493 | wx.CURSOR_BLANK Transparent cursor. | |
8494 | wx.CURSOR_BULLSEYE Bullseye cursor. | |
8495 | wx.CURSOR_CHAR Rectangular character cursor. | |
8496 | wx.CURSOR_CROSS A cross cursor. | |
8497 | wx.CURSOR_HAND A hand cursor. | |
8498 | wx.CURSOR_IBEAM An I-beam cursor (vertical line). | |
8499 | wx.CURSOR_LEFT_BUTTON Represents a mouse with the left button depressed. | |
8500 | wx.CURSOR_MAGNIFIER A magnifier icon. | |
8501 | wx.CURSOR_MIDDLE_BUTTON Represents a mouse with the middle button depressed. | |
8502 | wx.CURSOR_NO_ENTRY A no-entry sign cursor. | |
8503 | wx.CURSOR_PAINT_BRUSH A paintbrush cursor. | |
8504 | wx.CURSOR_PENCIL A pencil cursor. | |
8505 | wx.CURSOR_POINT_LEFT A cursor that points left. | |
8506 | wx.CURSOR_POINT_RIGHT A cursor that points right. | |
8507 | wx.CURSOR_QUESTION_ARROW An arrow and question mark. | |
8508 | wx.CURSOR_RIGHT_BUTTON Represents a mouse with the right button depressed. | |
8509 | wx.CURSOR_SIZENESW A sizing cursor pointing NE-SW. | |
8510 | wx.CURSOR_SIZENS A sizing cursor pointing N-S. | |
8511 | wx.CURSOR_SIZENWSE A sizing cursor pointing NW-SE. | |
8512 | wx.CURSOR_SIZEWE A sizing cursor pointing W-E. | |
8513 | wx.CURSOR_SIZING A general sizing cursor. | |
8514 | wx.CURSOR_SPRAYCAN A spraycan cursor. | |
8515 | wx.CURSOR_WAIT A wait cursor. | |
8516 | wx.CURSOR_WATCH A watch cursor. | |
8517 | wx.CURSOR_ARROWWAIT A cursor with both an arrow and an hourglass, (windows.) | |
8518 | ||
8519 | </refdoc> | |
f32fc4bc RD |
8520 | <paramlist> |
8521 | <param name="id" type="int" default=""/> | |
8522 | </paramlist> | |
8523 | </constructor> | |
8524 | <constructor name="CursorFromImage" overloaded="no"> | |
8525 | <autodoc>CursorFromImage(Image image) -> Cursor</autodoc> | |
c2dda882 RD |
8526 | <docstring>Constructs a cursor from a wxImage. The cursor is monochrome, |
8527 | colors with the RGB elements all greater than 127 will be | |
8528 | foreground, colors less than this background. The mask (if any) | |
8529 | will be used as transparent. | |
8530 | ||
8531 | In MSW the foreground will be white and the background black. The | |
8532 | cursor is resized to 32x32 In GTK, the two most frequent colors | |
8533 | will be used for foreground and background. The cursor will be | |
8534 | displayed at the size of the image. On MacOS the cursor is | |
8535 | resized to 16x16 and currently only shown as black/white (mask | |
8536 | respected).</docstring> | |
f32fc4bc RD |
8537 | <paramlist> |
8538 | <param name="image" type="Image" default=""/> | |
8539 | </paramlist> | |
8540 | </constructor> | |
f32fc4bc RD |
8541 | <destructor name="~wxCursor" overloaded="no"> |
8542 | <autodoc>__del__()</autodoc> | |
8543 | </destructor> | |
8544 | <method name="Ok" type="bool" overloaded="no"> | |
8545 | <autodoc>Ok() -> bool</autodoc> | |
8546 | </method> | |
8547 | </class> | |
8548 | <pythoncode> | |
8549 | #--------------------------------------------------------------------------- | |
8550 | </pythoncode> | |
8551 | <class name="Region" oldname="wxRegion" module="gdi"> | |
8552 | <baseclass name="GDIObject"/> | |
8553 | <constructor name="Region" overloaded="no"> | |
8554 | <autodoc>__init__(int x=0, int y=0, int width=0, int height=0) -> Region</autodoc> | |
8555 | <paramlist> | |
8556 | <param name="x" type="int" default="0"/> | |
8557 | <param name="y" type="int" default="0"/> | |
8558 | <param name="width" type="int" default="0"/> | |
8559 | <param name="height" type="int" default="0"/> | |
8560 | </paramlist> | |
8561 | </constructor> | |
8562 | <constructor name="RegionFromBitmap" overloaded="no"> | |
8563 | <autodoc>RegionFromBitmap(Bitmap bmp, Colour transColour=NullColour, int tolerance=0) -> Region</autodoc> | |
8564 | <paramlist> | |
8565 | <param name="bmp" type="Bitmap" default=""/> | |
8566 | <param name="transColour" type="Colour" default="wxNullColour"/> | |
8567 | <param name="tolerance" type="int" default="0"/> | |
8568 | </paramlist> | |
8569 | </constructor> | |
8570 | <constructor name="RegionFromPoints" overloaded="no"> | |
8571 | <autodoc>RegionFromPoints(int points, Point points_array, int fillStyle=WINDING_RULE) -> Region</autodoc> | |
8572 | <paramlist> | |
8573 | <param name="points" type="int" default=""/> | |
8574 | <param name="points_array" type="Point" default=""/> | |
8575 | <param name="fillStyle" type="int" default="wxWINDING_RULE"/> | |
8576 | </paramlist> | |
8577 | </constructor> | |
8578 | <destructor name="~wxRegion" overloaded="no"> | |
8579 | <autodoc>__del__()</autodoc> | |
8580 | </destructor> | |
8581 | <method name="Clear" type="" overloaded="no"> | |
8582 | <autodoc>Clear()</autodoc> | |
8583 | </method> | |
8584 | <method name="Offset" type="bool" overloaded="no"> | |
8585 | <autodoc>Offset(int x, int y) -> bool</autodoc> | |
8586 | <paramlist> | |
8587 | <param name="x" type="int" default=""/> | |
8588 | <param name="y" type="int" default=""/> | |
8589 | </paramlist> | |
8590 | </method> | |
8591 | <method name="Contains" type="wxRegionContain" overloaded="no"> | |
8592 | <autodoc>Contains(int x, int y) -> int</autodoc> | |
8593 | <paramlist> | |
8594 | <param name="x" type="int" default=""/> | |
8595 | <param name="y" type="int" default=""/> | |
8596 | </paramlist> | |
8597 | </method> | |
8598 | <method name="ContainsPoint" type="wxRegionContain" overloaded="no"> | |
8599 | <autodoc>ContainsPoint(Point pt) -> int</autodoc> | |
8600 | <paramlist> | |
8601 | <param name="pt" type="Point" default=""/> | |
8602 | </paramlist> | |
8603 | </method> | |
8604 | <method name="ContainsRect" type="wxRegionContain" overloaded="no"> | |
8605 | <autodoc>ContainsRect(Rect rect) -> int</autodoc> | |
8606 | <paramlist> | |
8607 | <param name="rect" type="Rect" default=""/> | |
8608 | </paramlist> | |
8609 | </method> | |
8610 | <method name="ContainsRectDim" type="wxRegionContain" overloaded="no"> | |
8611 | <autodoc>ContainsRectDim(int x, int y, int w, int h) -> int</autodoc> | |
8612 | <paramlist> | |
8613 | <param name="x" type="int" default=""/> | |
8614 | <param name="y" type="int" default=""/> | |
8615 | <param name="w" type="int" default=""/> | |
8616 | <param name="h" type="int" default=""/> | |
8617 | </paramlist> | |
8618 | </method> | |
8619 | <method name="GetBox" type="Rect" overloaded="no"> | |
8620 | <autodoc>GetBox() -> Rect</autodoc> | |
8621 | </method> | |
8622 | <method name="Intersect" type="bool" overloaded="no"> | |
8623 | <autodoc>Intersect(int x, int y, int width, int height) -> bool</autodoc> | |
8624 | <paramlist> | |
8625 | <param name="x" type="int" default=""/> | |
8626 | <param name="y" type="int" default=""/> | |
8627 | <param name="width" type="int" default=""/> | |
8628 | <param name="height" type="int" default=""/> | |
8629 | </paramlist> | |
8630 | </method> | |
8631 | <method name="IntersectRect" type="bool" overloaded="no"> | |
8632 | <autodoc>IntersectRect(Rect rect) -> bool</autodoc> | |
8633 | <paramlist> | |
8634 | <param name="rect" type="Rect" default=""/> | |
8635 | </paramlist> | |
8636 | </method> | |
8637 | <method name="IntersectRegion" type="bool" overloaded="no"> | |
8638 | <autodoc>IntersectRegion(Region region) -> bool</autodoc> | |
8639 | <paramlist> | |
8640 | <param name="region" type="Region" default=""/> | |
8641 | </paramlist> | |
8642 | </method> | |
8643 | <method name="IsEmpty" type="bool" overloaded="no"> | |
8644 | <autodoc>IsEmpty() -> bool</autodoc> | |
8645 | </method> | |
8646 | <method name="Union" type="bool" overloaded="no"> | |
8647 | <autodoc>Union(int x, int y, int width, int height) -> bool</autodoc> | |
8648 | <paramlist> | |
8649 | <param name="x" type="int" default=""/> | |
8650 | <param name="y" type="int" default=""/> | |
8651 | <param name="width" type="int" default=""/> | |
8652 | <param name="height" type="int" default=""/> | |
8653 | </paramlist> | |
8654 | </method> | |
8655 | <method name="UnionRect" type="bool" overloaded="no"> | |
8656 | <autodoc>UnionRect(Rect rect) -> bool</autodoc> | |
8657 | <paramlist> | |
8658 | <param name="rect" type="Rect" default=""/> | |
8659 | </paramlist> | |
8660 | </method> | |
8661 | <method name="UnionRegion" type="bool" overloaded="no"> | |
8662 | <autodoc>UnionRegion(Region region) -> bool</autodoc> | |
8663 | <paramlist> | |
8664 | <param name="region" type="Region" default=""/> | |
8665 | </paramlist> | |
8666 | </method> | |
8667 | <method name="Subtract" type="bool" overloaded="no"> | |
8668 | <autodoc>Subtract(int x, int y, int width, int height) -> bool</autodoc> | |
8669 | <paramlist> | |
8670 | <param name="x" type="int" default=""/> | |
8671 | <param name="y" type="int" default=""/> | |
8672 | <param name="width" type="int" default=""/> | |
8673 | <param name="height" type="int" default=""/> | |
8674 | </paramlist> | |
8675 | </method> | |
8676 | <method name="SubtractRect" type="bool" overloaded="no"> | |
8677 | <autodoc>SubtractRect(Rect rect) -> bool</autodoc> | |
8678 | <paramlist> | |
8679 | <param name="rect" type="Rect" default=""/> | |
8680 | </paramlist> | |
8681 | </method> | |
8682 | <method name="SubtractRegion" type="bool" overloaded="no"> | |
8683 | <autodoc>SubtractRegion(Region region) -> bool</autodoc> | |
8684 | <paramlist> | |
8685 | <param name="region" type="Region" default=""/> | |
8686 | </paramlist> | |
8687 | </method> | |
8688 | <method name="Xor" type="bool" overloaded="no"> | |
8689 | <autodoc>Xor(int x, int y, int width, int height) -> bool</autodoc> | |
8690 | <paramlist> | |
8691 | <param name="x" type="int" default=""/> | |
8692 | <param name="y" type="int" default=""/> | |
8693 | <param name="width" type="int" default=""/> | |
8694 | <param name="height" type="int" default=""/> | |
8695 | </paramlist> | |
8696 | </method> | |
8697 | <method name="XorRect" type="bool" overloaded="no"> | |
8698 | <autodoc>XorRect(Rect rect) -> bool</autodoc> | |
8699 | <paramlist> | |
8700 | <param name="rect" type="Rect" default=""/> | |
8701 | </paramlist> | |
8702 | </method> | |
8703 | <method name="XorRegion" type="bool" overloaded="no"> | |
8704 | <autodoc>XorRegion(Region region) -> bool</autodoc> | |
8705 | <paramlist> | |
8706 | <param name="region" type="Region" default=""/> | |
8707 | </paramlist> | |
8708 | </method> | |
8709 | <method name="ConvertToBitmap" type="Bitmap" overloaded="no"> | |
8710 | <autodoc>ConvertToBitmap() -> Bitmap</autodoc> | |
8711 | </method> | |
8712 | <method name="UnionBitmap" type="bool" overloaded="no"> | |
8713 | <autodoc>UnionBitmap(Bitmap bmp, Colour transColour=NullColour, int tolerance=0) -> bool</autodoc> | |
8714 | <paramlist> | |
8715 | <param name="bmp" type="Bitmap" default=""/> | |
8716 | <param name="transColour" type="Colour" default="wxNullColour"/> | |
8717 | <param name="tolerance" type="int" default="0"/> | |
8718 | </paramlist> | |
8719 | </method> | |
8720 | </class> | |
8721 | <class name="RegionIterator" oldname="wxRegionIterator" module="gdi"> | |
8722 | <baseclass name="Object"/> | |
8723 | <constructor name="RegionIterator" overloaded="no"> | |
8724 | <autodoc>__init__(Region region) -> RegionIterator</autodoc> | |
8725 | <paramlist> | |
8726 | <param name="region" type="Region" default=""/> | |
8727 | </paramlist> | |
8728 | </constructor> | |
8729 | <destructor name="~wxRegionIterator" overloaded="no"> | |
8730 | <autodoc>__del__()</autodoc> | |
8731 | </destructor> | |
8732 | <method name="GetX" type="int" overloaded="no"> | |
8733 | <autodoc>GetX() -> int</autodoc> | |
8734 | </method> | |
8735 | <method name="GetY" type="int" overloaded="no"> | |
8736 | <autodoc>GetY() -> int</autodoc> | |
8737 | </method> | |
8738 | <method name="GetW" type="int" overloaded="no"> | |
8739 | <autodoc>GetW() -> int</autodoc> | |
8740 | </method> | |
8741 | <method name="GetWidth" type="int" overloaded="no"> | |
8742 | <autodoc>GetWidth() -> int</autodoc> | |
8743 | </method> | |
8744 | <method name="GetH" type="int" overloaded="no"> | |
8745 | <autodoc>GetH() -> int</autodoc> | |
8746 | </method> | |
8747 | <method name="GetHeight" type="int" overloaded="no"> | |
8748 | <autodoc>GetHeight() -> int</autodoc> | |
8749 | </method> | |
8750 | <method name="GetRect" type="Rect" overloaded="no"> | |
8751 | <autodoc>GetRect() -> Rect</autodoc> | |
8752 | </method> | |
8753 | <method name="HaveRects" type="bool" overloaded="no"> | |
8754 | <autodoc>HaveRects() -> bool</autodoc> | |
8755 | </method> | |
8756 | <method name="Reset" type="" overloaded="no"> | |
8757 | <autodoc>Reset()</autodoc> | |
8758 | </method> | |
8759 | <method name="Next" type="" overloaded="no"> | |
8760 | <autodoc>Next()</autodoc> | |
8761 | </method> | |
8762 | <method name="__nonzero__" type="bool" overloaded="no"> | |
8763 | <autodoc>__nonzero__() -> bool</autodoc> | |
8764 | </method> | |
8765 | </class> | |
8766 | <pythoncode> | |
8767 | #--------------------------------------------------------------------------- | |
8768 | </pythoncode> | |
8769 | <pythoncode> | |
8770 | #--------------------------------------------------------------------------- | |
8771 | </pythoncode> | |
8772 | <class name="NativeFontInfo" oldname="wxNativeFontInfo" module="gdi"> | |
8773 | <constructor name="NativeFontInfo" overloaded="no"> | |
8774 | <autodoc>__init__() -> NativeFontInfo</autodoc> | |
8775 | </constructor> | |
8776 | <destructor name="~wxNativeFontInfo" overloaded="no"> | |
8777 | <autodoc>__del__()</autodoc> | |
8778 | </destructor> | |
8779 | <method name="Init" type="" overloaded="no"> | |
8780 | <autodoc>Init()</autodoc> | |
8781 | </method> | |
8782 | <method name="InitFromFont" type="" overloaded="no"> | |
8783 | <autodoc>InitFromFont(Font font)</autodoc> | |
8784 | <paramlist> | |
8785 | <param name="font" type="wxFont" default=""/> | |
8786 | </paramlist> | |
8787 | </method> | |
8788 | <method name="GetPointSize" type="int" overloaded="no"> | |
8789 | <autodoc>GetPointSize() -> int</autodoc> | |
8790 | </method> | |
8791 | <method name="GetStyle" type="wxFontStyle" overloaded="no"> | |
8792 | <autodoc>GetStyle() -> int</autodoc> | |
8793 | </method> | |
8794 | <method name="GetWeight" type="wxFontWeight" overloaded="no"> | |
8795 | <autodoc>GetWeight() -> int</autodoc> | |
8796 | </method> | |
8797 | <method name="GetUnderlined" type="bool" overloaded="no"> | |
8798 | <autodoc>GetUnderlined() -> bool</autodoc> | |
8799 | </method> | |
8800 | <method name="GetFaceName" type="String" overloaded="no"> | |
8801 | <autodoc>GetFaceName() -> String</autodoc> | |
8802 | </method> | |
8803 | <method name="GetFamily" type="wxFontFamily" overloaded="no"> | |
8804 | <autodoc>GetFamily() -> int</autodoc> | |
8805 | </method> | |
8806 | <method name="GetEncoding" type="wxFontEncoding" overloaded="no"> | |
8807 | <autodoc>GetEncoding() -> int</autodoc> | |
8808 | </method> | |
8809 | <method name="SetPointSize" type="" overloaded="no"> | |
8810 | <autodoc>SetPointSize(int pointsize)</autodoc> | |
8811 | <paramlist> | |
8812 | <param name="pointsize" type="int" default=""/> | |
8813 | </paramlist> | |
8814 | </method> | |
8815 | <method name="SetStyle" type="" overloaded="no"> | |
8816 | <autodoc>SetStyle(int style)</autodoc> | |
8817 | <paramlist> | |
8818 | <param name="style" type="wxFontStyle" default=""/> | |
8819 | </paramlist> | |
8820 | </method> | |
8821 | <method name="SetWeight" type="" overloaded="no"> | |
8822 | <autodoc>SetWeight(int weight)</autodoc> | |
8823 | <paramlist> | |
8824 | <param name="weight" type="wxFontWeight" default=""/> | |
8825 | </paramlist> | |
8826 | </method> | |
8827 | <method name="SetUnderlined" type="" overloaded="no"> | |
8828 | <autodoc>SetUnderlined(bool underlined)</autodoc> | |
8829 | <paramlist> | |
8830 | <param name="underlined" type="bool" default=""/> | |
8831 | </paramlist> | |
8832 | </method> | |
8833 | <method name="SetFaceName" type="" overloaded="no"> | |
8834 | <autodoc>SetFaceName(String facename)</autodoc> | |
8835 | <paramlist> | |
8836 | <param name="facename" type="String" default=""/> | |
8837 | </paramlist> | |
8838 | </method> | |
8839 | <method name="SetFamily" type="" overloaded="no"> | |
8840 | <autodoc>SetFamily(int family)</autodoc> | |
8841 | <paramlist> | |
8842 | <param name="family" type="wxFontFamily" default=""/> | |
8843 | </paramlist> | |
8844 | </method> | |
8845 | <method name="SetEncoding" type="" overloaded="no"> | |
8846 | <autodoc>SetEncoding(int encoding)</autodoc> | |
8847 | <paramlist> | |
8848 | <param name="encoding" type="wxFontEncoding" default=""/> | |
8849 | </paramlist> | |
8850 | </method> | |
8851 | <method name="FromString" type="bool" overloaded="no"> | |
8852 | <autodoc>FromString(String s) -> bool</autodoc> | |
8853 | <paramlist> | |
8854 | <param name="s" type="String" default=""/> | |
8855 | </paramlist> | |
8856 | </method> | |
8857 | <method name="ToString" type="String" overloaded="no"> | |
8858 | <autodoc>ToString() -> String</autodoc> | |
8859 | </method> | |
8860 | <method name="__str__" type="String" overloaded="no"> | |
8861 | <autodoc>__str__() -> String</autodoc> | |
8862 | </method> | |
8863 | <method name="FromUserString" type="bool" overloaded="no"> | |
8864 | <autodoc>FromUserString(String s) -> bool</autodoc> | |
8865 | <paramlist> | |
8866 | <param name="s" type="String" default=""/> | |
8867 | </paramlist> | |
8868 | </method> | |
8869 | <method name="ToUserString" type="String" overloaded="no"> | |
8870 | <autodoc>ToUserString() -> String</autodoc> | |
8871 | </method> | |
8872 | </class> | |
8873 | <class name="NativeEncodingInfo" oldname="wxNativeEncodingInfo" module="gdi"> | |
8874 | <constructor name="NativeEncodingInfo" overloaded="no"> | |
8875 | <autodoc>__init__() -> NativeEncodingInfo</autodoc> | |
8876 | </constructor> | |
8877 | <destructor name="~wxNativeEncodingInfo" overloaded="no"> | |
8878 | <autodoc>__del__()</autodoc> | |
8879 | </destructor> | |
8880 | <property name="facename" type="String" readonly="no"/> | |
8881 | <property name="encoding" type="wxFontEncoding" readonly="no"/> | |
8882 | <method name="FromString" type="bool" overloaded="no"> | |
8883 | <autodoc>FromString(String s) -> bool</autodoc> | |
8884 | <paramlist> | |
8885 | <param name="s" type="String" default=""/> | |
8886 | </paramlist> | |
8887 | </method> | |
8888 | <method name="ToString" type="String" overloaded="no"> | |
8889 | <autodoc>ToString() -> String</autodoc> | |
8890 | </method> | |
8891 | </class> | |
8892 | <method name="GetNativeFontEncoding" oldname="wxGetNativeFontEncoding" type="NativeEncodingInfo" overloaded="no"> | |
8893 | <autodoc>GetNativeFontEncoding(int encoding) -> NativeEncodingInfo</autodoc> | |
856bf319 | 8894 | <paramlist> |
f32fc4bc | 8895 | <param name="encoding" type="wxFontEncoding" default=""/> |
856bf319 RD |
8896 | </paramlist> |
8897 | </method> | |
f32fc4bc RD |
8898 | <method name="TestFontEncoding" oldname="wxTestFontEncoding" type="bool" overloaded="no"> |
8899 | <autodoc>TestFontEncoding(NativeEncodingInfo info) -> bool</autodoc> | |
856bf319 | 8900 | <paramlist> |
f32fc4bc | 8901 | <param name="info" type="NativeEncodingInfo" default=""/> |
856bf319 RD |
8902 | </paramlist> |
8903 | </method> | |
f32fc4bc RD |
8904 | <pythoncode> |
8905 | #--------------------------------------------------------------------------- | |
8906 | </pythoncode> | |
8907 | <class name="FontMapper" oldname="wxFontMapper" module="gdi"> | |
8908 | <constructor name="FontMapper" overloaded="no"> | |
8909 | <autodoc>__init__() -> FontMapper</autodoc> | |
8910 | </constructor> | |
8911 | <destructor name="~wxFontMapper" overloaded="no"> | |
8912 | <autodoc>__del__()</autodoc> | |
8913 | </destructor> | |
8914 | <staticmethod name="Get" type="FontMapper" overloaded="no"> | |
8915 | <autodoc>Get() -> FontMapper</autodoc> | |
8916 | </staticmethod> | |
8917 | <staticmethod name="Set" type="FontMapper" overloaded="no"> | |
8918 | <autodoc>Set(FontMapper mapper) -> FontMapper</autodoc> | |
8919 | <paramlist> | |
8920 | <param name="mapper" type="FontMapper" default=""/> | |
8921 | </paramlist> | |
8922 | </staticmethod> | |
8923 | <method name="CharsetToEncoding" type="wxFontEncoding" overloaded="no"> | |
8924 | <autodoc>CharsetToEncoding(String charset, bool interactive=True) -> int</autodoc> | |
8925 | <paramlist> | |
8926 | <param name="charset" type="String" default=""/> | |
8927 | <param name="interactive" type="bool" default="True"/> | |
8928 | </paramlist> | |
8929 | </method> | |
8930 | <staticmethod name="GetSupportedEncodingsCount" type="size_t" overloaded="no"> | |
8931 | <autodoc>GetSupportedEncodingsCount() -> size_t</autodoc> | |
8932 | </staticmethod> | |
8933 | <staticmethod name="GetEncoding" type="wxFontEncoding" overloaded="no"> | |
8934 | <autodoc>GetEncoding(size_t n) -> int</autodoc> | |
8935 | <paramlist> | |
8936 | <param name="n" type="size_t" default=""/> | |
8937 | </paramlist> | |
8938 | </staticmethod> | |
8939 | <staticmethod name="GetEncodingName" type="String" overloaded="no"> | |
8940 | <autodoc>GetEncodingName(int encoding) -> String</autodoc> | |
8941 | <paramlist> | |
8942 | <param name="encoding" type="wxFontEncoding" default=""/> | |
8943 | </paramlist> | |
8944 | </staticmethod> | |
8945 | <staticmethod name="GetEncodingDescription" type="String" overloaded="no"> | |
8946 | <autodoc>GetEncodingDescription(int encoding) -> String</autodoc> | |
8947 | <paramlist> | |
8948 | <param name="encoding" type="wxFontEncoding" default=""/> | |
8949 | </paramlist> | |
8950 | </staticmethod> | |
8951 | <method name="SetConfig" type="" overloaded="no"> | |
8952 | <autodoc>SetConfig(ConfigBase config)</autodoc> | |
8953 | <paramlist> | |
8954 | <param name="config" type="wxConfigBase" default=""/> | |
8955 | </paramlist> | |
8956 | </method> | |
8957 | <method name="SetConfigPath" type="" overloaded="no"> | |
8958 | <autodoc>SetConfigPath(String prefix)</autodoc> | |
8959 | <paramlist> | |
8960 | <param name="prefix" type="String" default=""/> | |
8961 | </paramlist> | |
8962 | </method> | |
8963 | <staticmethod name="GetDefaultConfigPath" type="String" overloaded="no"> | |
8964 | <autodoc>GetDefaultConfigPath() -> String</autodoc> | |
8965 | </staticmethod> | |
8966 | <method name="GetAltForEncoding" type="PyObject" overloaded="no"> | |
8967 | <autodoc>GetAltForEncoding(int encoding, String facename=EmptyString, bool interactive=True) -> PyObject</autodoc> | |
8968 | <paramlist> | |
8969 | <param name="encoding" type="wxFontEncoding" default=""/> | |
8970 | <param name="facename" type="String" default="wxPyEmptyString"/> | |
8971 | <param name="interactive" type="bool" default="True"/> | |
8972 | </paramlist> | |
8973 | </method> | |
8974 | <method name="IsEncodingAvailable" type="bool" overloaded="no"> | |
8975 | <autodoc>IsEncodingAvailable(int encoding, String facename=EmptyString) -> bool</autodoc> | |
8976 | <paramlist> | |
8977 | <param name="encoding" type="wxFontEncoding" default=""/> | |
8978 | <param name="facename" type="String" default="wxPyEmptyString"/> | |
8979 | </paramlist> | |
8980 | </method> | |
8981 | <method name="SetDialogParent" type="" overloaded="no"> | |
8982 | <autodoc>SetDialogParent(Window parent)</autodoc> | |
8983 | <paramlist> | |
8984 | <param name="parent" type="Window" default=""/> | |
8985 | </paramlist> | |
8986 | </method> | |
8987 | <method name="SetDialogTitle" type="" overloaded="no"> | |
8988 | <autodoc>SetDialogTitle(String title)</autodoc> | |
8989 | <paramlist> | |
8990 | <param name="title" type="String" default=""/> | |
8991 | </paramlist> | |
8992 | </method> | |
8993 | </class> | |
8994 | <pythoncode> | |
8995 | #--------------------------------------------------------------------------- | |
8996 | </pythoncode> | |
8997 | <class name="Font" oldname="wxFont" module="gdi"> | |
8998 | <baseclass name="GDIObject"/> | |
8999 | <constructor name="Font" overloaded="no"> | |
9000 | <autodoc>__init__(int pointSize, int family, int style, int weight, bool underline=False, | |
9001 | String face=EmptyString, | |
9002 | int encoding=FONTENCODING_DEFAULT) -> Font</autodoc> | |
9003 | <paramlist> | |
9004 | <param name="pointSize" type="int" default=""/> | |
9005 | <param name="family" type="int" default=""/> | |
9006 | <param name="style" type="int" default=""/> | |
9007 | <param name="weight" type="int" default=""/> | |
9008 | <param name="underline" type="bool" default="False"/> | |
9009 | <param name="face" type="String" default="wxPyEmptyString"/> | |
9010 | <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_DEFAULT"/> | |
9011 | </paramlist> | |
9012 | </constructor> | |
9013 | <constructor name="FontFromNativeInfo" overloaded="no"> | |
9014 | <autodoc>FontFromNativeInfo(NativeFontInfo info) -> Font</autodoc> | |
9015 | <paramlist> | |
9016 | <param name="info" type="NativeFontInfo" default=""/> | |
9017 | </paramlist> | |
9018 | </constructor> | |
9019 | <constructor name="FontFromNativeInfoString" overloaded="no"> | |
9020 | <autodoc>FontFromNativeInfoString(String info) -> Font</autodoc> | |
9021 | <paramlist> | |
9022 | <param name="info" type="String" default=""/> | |
9023 | </paramlist> | |
9024 | </constructor> | |
9025 | <constructor name="Font2" overloaded="no"> | |
9026 | <autodoc>Font2(int pointSize, int family, int flags=FONTFLAG_DEFAULT, | |
9027 | String face=EmptyString, int encoding=FONTENCODING_DEFAULT) -> Font</autodoc> | |
9028 | <paramlist> | |
9029 | <param name="pointSize" type="int" default=""/> | |
9030 | <param name="family" type="wxFontFamily" default=""/> | |
9031 | <param name="flags" type="int" default="wxFONTFLAG_DEFAULT"/> | |
9032 | <param name="face" type="String" default="wxPyEmptyString"/> | |
9033 | <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_DEFAULT"/> | |
9034 | </paramlist> | |
9035 | </constructor> | |
9036 | <destructor name="~wxFont" overloaded="no"> | |
9037 | <autodoc>__del__()</autodoc> | |
9038 | </destructor> | |
9039 | <method name="Ok" type="bool" overloaded="no"> | |
9040 | <autodoc>Ok() -> bool</autodoc> | |
9041 | </method> | |
9042 | <method name="__eq__" type="bool" overloaded="no"> | |
c2dda882 | 9043 | <autodoc>__eq__(Font other) -> bool</autodoc> |
f32fc4bc | 9044 | <paramlist> |
c2dda882 | 9045 | <param name="other" type="Font" default=""/> |
f32fc4bc RD |
9046 | </paramlist> |
9047 | </method> | |
9048 | <method name="__ne__" type="bool" overloaded="no"> | |
c2dda882 | 9049 | <autodoc>__ne__(Font other) -> bool</autodoc> |
f32fc4bc | 9050 | <paramlist> |
c2dda882 | 9051 | <param name="other" type="Font" default=""/> |
f32fc4bc RD |
9052 | </paramlist> |
9053 | </method> | |
9054 | <method name="GetPointSize" type="int" overloaded="no"> | |
9055 | <autodoc>GetPointSize() -> int</autodoc> | |
9056 | </method> | |
9057 | <method name="GetFamily" type="int" overloaded="no"> | |
9058 | <autodoc>GetFamily() -> int</autodoc> | |
9059 | </method> | |
9060 | <method name="GetStyle" type="int" overloaded="no"> | |
9061 | <autodoc>GetStyle() -> int</autodoc> | |
9062 | </method> | |
9063 | <method name="GetWeight" type="int" overloaded="no"> | |
9064 | <autodoc>GetWeight() -> int</autodoc> | |
9065 | </method> | |
9066 | <method name="GetUnderlined" type="bool" overloaded="no"> | |
9067 | <autodoc>GetUnderlined() -> bool</autodoc> | |
9068 | </method> | |
9069 | <method name="GetFaceName" type="String" overloaded="no"> | |
9070 | <autodoc>GetFaceName() -> String</autodoc> | |
9071 | </method> | |
9072 | <method name="GetEncoding" type="wxFontEncoding" overloaded="no"> | |
9073 | <autodoc>GetEncoding() -> int</autodoc> | |
9074 | </method> | |
9075 | <method name="GetNativeFontInfo" type="NativeFontInfo" overloaded="no"> | |
9076 | <autodoc>GetNativeFontInfo() -> NativeFontInfo</autodoc> | |
9077 | </method> | |
9078 | <method name="IsFixedWidth" type="bool" overloaded="no"> | |
9079 | <autodoc>IsFixedWidth() -> bool</autodoc> | |
9080 | </method> | |
9081 | <method name="GetNativeFontInfoDesc" type="String" overloaded="no"> | |
9082 | <autodoc>GetNativeFontInfoDesc() -> String</autodoc> | |
9083 | </method> | |
9084 | <method name="GetNativeFontInfoUserDesc" type="String" overloaded="no"> | |
9085 | <autodoc>GetNativeFontInfoUserDesc() -> String</autodoc> | |
9086 | </method> | |
9087 | <method name="SetPointSize" type="" overloaded="no"> | |
9088 | <autodoc>SetPointSize(int pointSize)</autodoc> | |
9089 | <paramlist> | |
9090 | <param name="pointSize" type="int" default=""/> | |
9091 | </paramlist> | |
9092 | </method> | |
9093 | <method name="SetFamily" type="" overloaded="no"> | |
9094 | <autodoc>SetFamily(int family)</autodoc> | |
9095 | <paramlist> | |
9096 | <param name="family" type="int" default=""/> | |
9097 | </paramlist> | |
9098 | </method> | |
9099 | <method name="SetStyle" type="" overloaded="no"> | |
9100 | <autodoc>SetStyle(int style)</autodoc> | |
9101 | <paramlist> | |
9102 | <param name="style" type="int" default=""/> | |
9103 | </paramlist> | |
9104 | </method> | |
9105 | <method name="SetWeight" type="" overloaded="no"> | |
9106 | <autodoc>SetWeight(int weight)</autodoc> | |
9107 | <paramlist> | |
9108 | <param name="weight" type="int" default=""/> | |
9109 | </paramlist> | |
9110 | </method> | |
9111 | <method name="SetFaceName" type="" overloaded="no"> | |
9112 | <autodoc>SetFaceName(String faceName)</autodoc> | |
9113 | <paramlist> | |
9114 | <param name="faceName" type="String" default=""/> | |
9115 | </paramlist> | |
9116 | </method> | |
9117 | <method name="SetUnderlined" type="" overloaded="no"> | |
9118 | <autodoc>SetUnderlined(bool underlined)</autodoc> | |
9119 | <paramlist> | |
9120 | <param name="underlined" type="bool" default=""/> | |
9121 | </paramlist> | |
9122 | </method> | |
9123 | <method name="SetEncoding" type="" overloaded="no"> | |
9124 | <autodoc>SetEncoding(int encoding)</autodoc> | |
9125 | <paramlist> | |
9126 | <param name="encoding" type="wxFontEncoding" default=""/> | |
9127 | </paramlist> | |
9128 | </method> | |
9129 | <method name="SetNativeFontInfo" type="" overloaded="no"> | |
9130 | <autodoc>SetNativeFontInfo(NativeFontInfo info)</autodoc> | |
9131 | <paramlist> | |
9132 | <param name="info" type="NativeFontInfo" default=""/> | |
9133 | </paramlist> | |
9134 | </method> | |
9135 | <method name="SetNativeFontInfoFromString" type="" overloaded="no"> | |
9136 | <autodoc>SetNativeFontInfoFromString(String info)</autodoc> | |
9137 | <paramlist> | |
9138 | <param name="info" type="String" default=""/> | |
9139 | </paramlist> | |
9140 | </method> | |
9141 | <method name="SetNativeFontInfoUserDesc" type="" overloaded="no"> | |
9142 | <autodoc>SetNativeFontInfoUserDesc(String info)</autodoc> | |
9143 | <paramlist> | |
9144 | <param name="info" type="String" default=""/> | |
9145 | </paramlist> | |
9146 | </method> | |
9147 | <method name="GetFamilyString" type="String" overloaded="no"> | |
9148 | <autodoc>GetFamilyString() -> String</autodoc> | |
9149 | </method> | |
9150 | <method name="GetStyleString" type="String" overloaded="no"> | |
9151 | <autodoc>GetStyleString() -> String</autodoc> | |
9152 | </method> | |
9153 | <method name="GetWeightString" type="String" overloaded="no"> | |
9154 | <autodoc>GetWeightString() -> String</autodoc> | |
9155 | </method> | |
9156 | <method name="SetNoAntiAliasing" type="" overloaded="no"> | |
9157 | <autodoc>SetNoAntiAliasing(bool no=True)</autodoc> | |
9158 | <paramlist> | |
9159 | <param name="no" type="bool" default="True"/> | |
9160 | </paramlist> | |
9161 | </method> | |
9162 | <method name="GetNoAntiAliasing" type="bool" overloaded="no"> | |
9163 | <autodoc>GetNoAntiAliasing() -> bool</autodoc> | |
9164 | </method> | |
9165 | <staticmethod name="GetDefaultEncoding" type="wxFontEncoding" overloaded="no"> | |
9166 | <autodoc>GetDefaultEncoding() -> int</autodoc> | |
9167 | </staticmethod> | |
9168 | <staticmethod name="SetDefaultEncoding" type="" overloaded="no"> | |
9169 | <autodoc>SetDefaultEncoding(int encoding)</autodoc> | |
9170 | <paramlist> | |
9171 | <param name="encoding" type="wxFontEncoding" default=""/> | |
9172 | </paramlist> | |
9173 | </staticmethod> | |
9174 | </class> | |
9175 | <pythoncode> | |
9176 | #--------------------------------------------------------------------------- | |
9177 | </pythoncode> | |
9178 | <class name="FontEnumerator" oldname="wxPyFontEnumerator" module="gdi"> | |
9179 | <constructor name="wxPyFontEnumerator" overloaded="no"> | |
9180 | <autodoc>__init__() -> FontEnumerator</autodoc> | |
9181 | </constructor> | |
9182 | <destructor name="~wxPyFontEnumerator" overloaded="no"> | |
9183 | <autodoc>__del__()</autodoc> | |
9184 | </destructor> | |
9185 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
9186 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class, bool incref)</autodoc> | |
9187 | <paramlist> | |
9188 | <param name="self" type="PyObject" default=""/> | |
9189 | <param name="_class" type="PyObject" default=""/> | |
9190 | <param name="incref" type="bool" default=""/> | |
9191 | </paramlist> | |
9192 | </method> | |
9193 | <method name="EnumerateFacenames" type="bool" overloaded="no"> | |
9194 | <autodoc>EnumerateFacenames(int encoding=FONTENCODING_SYSTEM, bool fixedWidthOnly=False) -> bool</autodoc> | |
9195 | <paramlist> | |
9196 | <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_SYSTEM"/> | |
9197 | <param name="fixedWidthOnly" type="bool" default="False"/> | |
9198 | </paramlist> | |
9199 | </method> | |
9200 | <method name="EnumerateEncodings" type="bool" overloaded="no"> | |
9201 | <autodoc>EnumerateEncodings(String facename=EmptyString) -> bool</autodoc> | |
9202 | <paramlist> | |
9203 | <param name="facename" type="String" default="wxPyEmptyString"/> | |
9204 | </paramlist> | |
9205 | </method> | |
9206 | <method name="GetEncodings" type="PyObject" overloaded="no"> | |
9207 | <autodoc>GetEncodings() -> PyObject</autodoc> | |
9208 | </method> | |
9209 | <method name="GetFacenames" type="PyObject" overloaded="no"> | |
9210 | <autodoc>GetFacenames() -> PyObject</autodoc> | |
9211 | </method> | |
9212 | </class> | |
9213 | <pythoncode> | |
9214 | #--------------------------------------------------------------------------- | |
9215 | </pythoncode> | |
9216 | <class name="LanguageInfo" oldname="wxLanguageInfo" module="gdi"> | |
9217 | <property name="Language" type="int" readonly="no"/> | |
9218 | <property name="CanonicalName" type="String" readonly="no"/> | |
9219 | <property name="Description" type="String" readonly="no"/> | |
9220 | </class> | |
9221 | <class name="Locale" oldname="wxLocale" module="gdi"> | |
9222 | <constructor name="Locale" overloaded="no"> | |
9223 | <autodoc>__init__(int language=LANGUAGE_DEFAULT, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -> Locale</autodoc> | |
9224 | <paramlist> | |
9225 | <param name="language" type="int" default="wxLANGUAGE_DEFAULT"/> | |
9226 | <param name="flags" type="int" default="wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING"/> | |
9227 | </paramlist> | |
9228 | </constructor> | |
9229 | <destructor name="~wxLocale" overloaded="no"> | |
9230 | <autodoc>__del__()</autodoc> | |
9231 | </destructor> | |
9232 | <method name="Init1" type="bool" overloaded="no"> | |
9233 | <autodoc>Init1(String szName, String szShort=EmptyString, String szLocale=EmptyString, | |
9234 | bool bLoadDefault=True, | |
9235 | bool bConvertEncoding=False) -> bool</autodoc> | |
9236 | <paramlist> | |
9237 | <param name="szName" type="String" default=""/> | |
9238 | <param name="szShort" type="String" default="wxPyEmptyString"/> | |
9239 | <param name="szLocale" type="String" default="wxPyEmptyString"/> | |
9240 | <param name="bLoadDefault" type="bool" default="True"/> | |
9241 | <param name="bConvertEncoding" type="bool" default="False"/> | |
9242 | </paramlist> | |
9243 | </method> | |
9244 | <method name="Init2" type="bool" overloaded="no"> | |
9245 | <autodoc>Init2(int language=LANGUAGE_DEFAULT, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -> bool</autodoc> | |
9246 | <paramlist> | |
9247 | <param name="language" type="int" default="wxLANGUAGE_DEFAULT"/> | |
9248 | <param name="flags" type="int" default="wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING"/> | |
9249 | </paramlist> | |
9250 | </method> | |
9251 | <staticmethod name="GetSystemLanguage" type="int" overloaded="no"> | |
9252 | <autodoc>GetSystemLanguage() -> int</autodoc> | |
9253 | </staticmethod> | |
9254 | <staticmethod name="GetSystemEncoding" type="wxFontEncoding" overloaded="no"> | |
9255 | <autodoc>GetSystemEncoding() -> int</autodoc> | |
9256 | </staticmethod> | |
9257 | <staticmethod name="GetSystemEncodingName" type="String" overloaded="no"> | |
9258 | <autodoc>GetSystemEncodingName() -> String</autodoc> | |
9259 | </staticmethod> | |
9260 | <method name="IsOk" type="bool" overloaded="no"> | |
9261 | <autodoc>IsOk() -> bool</autodoc> | |
9262 | </method> | |
9263 | <method name="GetLocale" type="String" overloaded="no"> | |
9264 | <autodoc>GetLocale() -> String</autodoc> | |
9265 | </method> | |
9266 | <method name="GetLanguage" type="int" overloaded="no"> | |
9267 | <autodoc>GetLanguage() -> int</autodoc> | |
9268 | </method> | |
9269 | <method name="GetSysName" type="String" overloaded="no"> | |
9270 | <autodoc>GetSysName() -> String</autodoc> | |
9271 | </method> | |
9272 | <method name="GetCanonicalName" type="String" overloaded="no"> | |
9273 | <autodoc>GetCanonicalName() -> String</autodoc> | |
9274 | </method> | |
9275 | <staticmethod name="AddCatalogLookupPathPrefix" type="" overloaded="no"> | |
9276 | <autodoc>AddCatalogLookupPathPrefix(String prefix)</autodoc> | |
9277 | <paramlist> | |
9278 | <param name="prefix" type="String" default=""/> | |
9279 | </paramlist> | |
9280 | </staticmethod> | |
9281 | <method name="AddCatalog" type="bool" overloaded="no"> | |
9282 | <autodoc>AddCatalog(String szDomain) -> bool</autodoc> | |
9283 | <paramlist> | |
9284 | <param name="szDomain" type="String" default=""/> | |
9285 | </paramlist> | |
9286 | </method> | |
9287 | <method name="IsLoaded" type="bool" overloaded="no"> | |
9288 | <autodoc>IsLoaded(String szDomain) -> bool</autodoc> | |
9289 | <paramlist> | |
9290 | <param name="szDomain" type="String" default=""/> | |
9291 | </paramlist> | |
9292 | </method> | |
9293 | <staticmethod name="GetLanguageInfo" type="LanguageInfo" overloaded="no"> | |
9294 | <autodoc>GetLanguageInfo(int lang) -> LanguageInfo</autodoc> | |
9295 | <paramlist> | |
9296 | <param name="lang" type="int" default=""/> | |
9297 | </paramlist> | |
9298 | </staticmethod> | |
9299 | <staticmethod name="GetLanguageName" type="String" overloaded="no"> | |
9300 | <autodoc>GetLanguageName(int lang) -> String</autodoc> | |
9301 | <paramlist> | |
9302 | <param name="lang" type="int" default=""/> | |
9303 | </paramlist> | |
9304 | </staticmethod> | |
9305 | <staticmethod name="FindLanguageInfo" type="LanguageInfo" overloaded="no"> | |
9306 | <autodoc>FindLanguageInfo(String locale) -> LanguageInfo</autodoc> | |
9307 | <paramlist> | |
9308 | <param name="locale" type="String" default=""/> | |
9309 | </paramlist> | |
9310 | </staticmethod> | |
9311 | <staticmethod name="AddLanguage" type="" overloaded="no"> | |
9312 | <autodoc>AddLanguage(LanguageInfo info)</autodoc> | |
9313 | <paramlist> | |
9314 | <param name="info" type="LanguageInfo" default=""/> | |
9315 | </paramlist> | |
9316 | </staticmethod> | |
9317 | <method name="GetString" type="String" overloaded="no"> | |
9318 | <autodoc>GetString(String szOrigString, String szDomain=EmptyString) -> String</autodoc> | |
9319 | <paramlist> | |
9320 | <param name="szOrigString" type="String" default=""/> | |
9321 | <param name="szDomain" type="String" default="wxPyEmptyString"/> | |
9322 | </paramlist> | |
9323 | </method> | |
9324 | <method name="GetName" type="String" overloaded="no"> | |
9325 | <autodoc>GetName() -> String</autodoc> | |
9326 | </method> | |
9327 | </class> | |
9328 | <method name="GetLocale" oldname="wxGetLocale" type="Locale" overloaded="no"> | |
9329 | <autodoc>GetLocale() -> Locale</autodoc> | |
9330 | </method> | |
9331 | <method name="GetTranslation" oldname="wxGetTranslation" type="String" overloaded="yes"> | |
9332 | <paramlist> | |
9333 | <param name="str" type="String" default=""/> | |
9334 | </paramlist> | |
9335 | </method> | |
9336 | <method name="GetTranslation" oldname="wxGetTranslation" type="String" overloaded="yes"> | |
9337 | <autodoc>GetTranslation(String str) -> String | |
9338 | GetTranslation(String str, String strPlural, size_t n) -> String</autodoc> | |
856bf319 | 9339 | <paramlist> |
f32fc4bc RD |
9340 | <param name="str" type="String" default=""/> |
9341 | <param name="strPlural" type="String" default=""/> | |
9342 | <param name="n" type="size_t" default=""/> | |
856bf319 RD |
9343 | </paramlist> |
9344 | </method> | |
f32fc4bc | 9345 | <pythoncode> |
856bf319 RD |
9346 | #--------------------------------------------------------------------------- |
9347 | </pythoncode> | |
f32fc4bc RD |
9348 | <class name="EncodingConverter" oldname="wxEncodingConverter" module="gdi"> |
9349 | <baseclass name="Object"/> | |
9350 | <constructor name="EncodingConverter" overloaded="no"> | |
9351 | <autodoc>__init__() -> EncodingConverter</autodoc> | |
9352 | </constructor> | |
9353 | <destructor name="~wxEncodingConverter" overloaded="no"> | |
9354 | <autodoc>__del__()</autodoc> | |
9355 | </destructor> | |
9356 | <method name="Init" type="bool" overloaded="no"> | |
9357 | <autodoc>Init(int input_enc, int output_enc, int method=CONVERT_STRICT) -> bool</autodoc> | |
9358 | <paramlist> | |
9359 | <param name="input_enc" type="wxFontEncoding" default=""/> | |
9360 | <param name="output_enc" type="wxFontEncoding" default=""/> | |
9361 | <param name="method" type="int" default="wxCONVERT_STRICT"/> | |
9362 | </paramlist> | |
9363 | </method> | |
9364 | <method name="Convert" type="String" overloaded="no"> | |
9365 | <autodoc>Convert(String input) -> String</autodoc> | |
9366 | <paramlist> | |
9367 | <param name="input" type="String" default=""/> | |
9368 | </paramlist> | |
9369 | </method> | |
9370 | <staticmethod name="GetPlatformEquivalents" type="wxFontEncodingArray" overloaded="no"> | |
9371 | <autodoc>GetPlatformEquivalents(int enc, int platform=PLATFORM_CURRENT) -> wxFontEncodingArray</autodoc> | |
9372 | <paramlist> | |
9373 | <param name="enc" type="wxFontEncoding" default=""/> | |
9374 | <param name="platform" type="int" default="wxPLATFORM_CURRENT"/> | |
9375 | </paramlist> | |
9376 | </staticmethod> | |
9377 | <staticmethod name="GetAllEquivalents" type="wxFontEncodingArray" overloaded="no"> | |
9378 | <autodoc>GetAllEquivalents(int enc) -> wxFontEncodingArray</autodoc> | |
9379 | <paramlist> | |
9380 | <param name="enc" type="wxFontEncoding" default=""/> | |
9381 | </paramlist> | |
9382 | </staticmethod> | |
9383 | <staticmethod name="CanConvert" type="bool" overloaded="no"> | |
9384 | <autodoc>CanConvert(int encIn, int encOut) -> bool</autodoc> | |
9385 | <paramlist> | |
9386 | <param name="encIn" type="wxFontEncoding" default=""/> | |
9387 | <param name="encOut" type="wxFontEncoding" default=""/> | |
9388 | </paramlist> | |
9389 | </staticmethod> | |
9390 | </class> | |
9391 | <pythoncode>#---------------------------------------------------------------------------- | |
9392 | # wxGTK sets the locale when initialized. Doing this at the Python | |
9393 | # level should set it up to match what GTK is doing at the C level. | |
9394 | if wx.Platform == "__WXGTK__": | |
9395 | try: | |
9396 | import locale | |
9397 | locale.setlocale(locale.LC_ALL, "") | |
9398 | except: | |
9399 | pass | |
9400 | ||
9401 | # On MSW add the directory where the wxWindows catalogs were installed | |
9402 | # to the default catalog path. | |
9403 | if wx.Platform == "__WXMSW__": | |
9404 | import os | |
9405 | localedir = os.path.join(os.path.split(__file__)[0], "locale") | |
9406 | Locale_AddCatalogLookupPathPrefix(localedir) | |
9407 | del os | |
9408 | ||
9409 | #---------------------------------------------------------------------------- | |
9410 | </pythoncode> | |
9411 | <pythoncode> | |
0f43fbdf RD |
9412 | #--------------------------------------------------------------------------- |
9413 | </pythoncode> | |
f32fc4bc RD |
9414 | <class name="DC" oldname="wxDC" module="gdi"> |
9415 | <baseclass name="Object"/> | |
9416 | <destructor name="~wxDC" overloaded="no"> | |
9417 | <autodoc>__del__()</autodoc> | |
9418 | </destructor> | |
9419 | <method name="BeginDrawing" type="" overloaded="no"> | |
9420 | <autodoc>BeginDrawing()</autodoc> | |
9421 | </method> | |
9422 | <method name="EndDrawing" type="" overloaded="no"> | |
9423 | <autodoc>EndDrawing()</autodoc> | |
9424 | </method> | |
9425 | <method name="FloodFillXY" type="bool" overloaded="no"> | |
9426 | <autodoc>FloodFillXY(int x, int y, Colour col, int style=FLOOD_SURFACE) -> bool</autodoc> | |
9427 | <paramlist> | |
9428 | <param name="x" type="int" default=""/> | |
9429 | <param name="y" type="int" default=""/> | |
9430 | <param name="col" type="Colour" default=""/> | |
9431 | <param name="style" type="int" default="wxFLOOD_SURFACE"/> | |
9432 | </paramlist> | |
9433 | </method> | |
9434 | <method name="FloodFill" type="bool" overloaded="no"> | |
9435 | <autodoc>FloodFill(Point pt, Colour col, int style=FLOOD_SURFACE) -> bool</autodoc> | |
9436 | <paramlist> | |
9437 | <param name="pt" type="Point" default=""/> | |
9438 | <param name="col" type="Colour" default=""/> | |
9439 | <param name="style" type="int" default="wxFLOOD_SURFACE"/> | |
9440 | </paramlist> | |
9441 | </method> | |
9442 | <method name="GetPixelXY" type="Colour" overloaded="no"> | |
9443 | <autodoc>GetPixelXY(int x, int y) -> Colour</autodoc> | |
9444 | <paramlist> | |
9445 | <param name="x" type="int" default=""/> | |
9446 | <param name="y" type="int" default=""/> | |
9447 | </paramlist> | |
9448 | </method> | |
9449 | <method name="GetPixel" type="Colour" overloaded="no"> | |
9450 | <autodoc>GetPixel(Point pt) -> Colour</autodoc> | |
9451 | <paramlist> | |
9452 | <param name="pt" type="Point" default=""/> | |
9453 | </paramlist> | |
9454 | </method> | |
9455 | <method name="DrawLineXY" type="" overloaded="no"> | |
9456 | <autodoc>DrawLineXY(int x1, int y1, int x2, int y2)</autodoc> | |
9457 | <paramlist> | |
9458 | <param name="x1" type="int" default=""/> | |
9459 | <param name="y1" type="int" default=""/> | |
9460 | <param name="x2" type="int" default=""/> | |
9461 | <param name="y2" type="int" default=""/> | |
9462 | </paramlist> | |
9463 | </method> | |
9464 | <method name="DrawLine" type="" overloaded="no"> | |
9465 | <autodoc>DrawLine(Point pt1, Point pt2)</autodoc> | |
9466 | <paramlist> | |
9467 | <param name="pt1" type="Point" default=""/> | |
9468 | <param name="pt2" type="Point" default=""/> | |
9469 | </paramlist> | |
9470 | </method> | |
9471 | <method name="CrossHairXY" type="" overloaded="no"> | |
9472 | <autodoc>CrossHairXY(int x, int y)</autodoc> | |
9473 | <paramlist> | |
9474 | <param name="x" type="int" default=""/> | |
9475 | <param name="y" type="int" default=""/> | |
9476 | </paramlist> | |
9477 | </method> | |
9478 | <method name="CrossHair" type="" overloaded="no"> | |
9479 | <autodoc>CrossHair(Point pt)</autodoc> | |
9480 | <paramlist> | |
9481 | <param name="pt" type="Point" default=""/> | |
9482 | </paramlist> | |
9483 | </method> | |
9484 | <method name="DrawArcXY" type="" overloaded="no"> | |
9485 | <autodoc>DrawArcXY(int x1, int y1, int x2, int y2, int xc, int yc)</autodoc> | |
9486 | <paramlist> | |
9487 | <param name="x1" type="int" default=""/> | |
9488 | <param name="y1" type="int" default=""/> | |
9489 | <param name="x2" type="int" default=""/> | |
9490 | <param name="y2" type="int" default=""/> | |
9491 | <param name="xc" type="int" default=""/> | |
9492 | <param name="yc" type="int" default=""/> | |
9493 | </paramlist> | |
9494 | </method> | |
9495 | <method name="DrawArc" type="" overloaded="no"> | |
9496 | <autodoc>DrawArc(Point pt1, Point pt2, Point centre)</autodoc> | |
9497 | <paramlist> | |
9498 | <param name="pt1" type="Point" default=""/> | |
9499 | <param name="pt2" type="Point" default=""/> | |
9500 | <param name="centre" type="Point" default=""/> | |
9501 | </paramlist> | |
9502 | </method> | |
9503 | <method name="DrawCheckMarkXY" type="" overloaded="no"> | |
9504 | <autodoc>DrawCheckMarkXY(int x, int y, int width, int height)</autodoc> | |
9505 | <paramlist> | |
9506 | <param name="x" type="int" default=""/> | |
9507 | <param name="y" type="int" default=""/> | |
9508 | <param name="width" type="int" default=""/> | |
9509 | <param name="height" type="int" default=""/> | |
9510 | </paramlist> | |
9511 | </method> | |
9512 | <method name="DrawCheckMark" type="" overloaded="no"> | |
9513 | <autodoc>DrawCheckMark(Rect rect)</autodoc> | |
9514 | <paramlist> | |
9515 | <param name="rect" type="Rect" default=""/> | |
9516 | </paramlist> | |
9517 | </method> | |
9518 | <method name="DrawEllipticArcXY" type="" overloaded="no"> | |
9519 | <autodoc>DrawEllipticArcXY(int x, int y, int w, int h, double sa, double ea)</autodoc> | |
9520 | <paramlist> | |
9521 | <param name="x" type="int" default=""/> | |
9522 | <param name="y" type="int" default=""/> | |
9523 | <param name="w" type="int" default=""/> | |
9524 | <param name="h" type="int" default=""/> | |
9525 | <param name="sa" type="double" default=""/> | |
9526 | <param name="ea" type="double" default=""/> | |
9527 | </paramlist> | |
9528 | </method> | |
9529 | <method name="DrawEllipticArc" type="" overloaded="no"> | |
9530 | <autodoc>DrawEllipticArc(Point pt, Size sz, double sa, double ea)</autodoc> | |
9531 | <paramlist> | |
9532 | <param name="pt" type="Point" default=""/> | |
9533 | <param name="sz" type="Size" default=""/> | |
9534 | <param name="sa" type="double" default=""/> | |
9535 | <param name="ea" type="double" default=""/> | |
9536 | </paramlist> | |
9537 | </method> | |
9538 | <method name="DrawPointXY" type="" overloaded="no"> | |
9539 | <autodoc>DrawPointXY(int x, int y)</autodoc> | |
9540 | <paramlist> | |
9541 | <param name="x" type="int" default=""/> | |
9542 | <param name="y" type="int" default=""/> | |
9543 | </paramlist> | |
9544 | </method> | |
9545 | <method name="DrawPoint" type="" overloaded="no"> | |
9546 | <autodoc>DrawPoint(Point pt)</autodoc> | |
9547 | <paramlist> | |
9548 | <param name="pt" type="Point" default=""/> | |
9549 | </paramlist> | |
9550 | </method> | |
9551 | <method name="DrawRectangleXY" type="" overloaded="no"> | |
9552 | <autodoc>DrawRectangleXY(int x, int y, int width, int height)</autodoc> | |
9553 | <paramlist> | |
9554 | <param name="x" type="int" default=""/> | |
9555 | <param name="y" type="int" default=""/> | |
9556 | <param name="width" type="int" default=""/> | |
9557 | <param name="height" type="int" default=""/> | |
9558 | </paramlist> | |
9559 | </method> | |
9560 | <method name="DrawRectangle" type="" overloaded="no"> | |
9561 | <autodoc>DrawRectangle(Point pt, Size sz)</autodoc> | |
9562 | <paramlist> | |
9563 | <param name="pt" type="Point" default=""/> | |
9564 | <param name="sz" type="Size" default=""/> | |
9565 | </paramlist> | |
9566 | </method> | |
9567 | <method name="DrawRectangleRect" type="" overloaded="no"> | |
9568 | <autodoc>DrawRectangleRect(Rect rect)</autodoc> | |
9569 | <paramlist> | |
9570 | <param name="rect" type="Rect" default=""/> | |
9571 | </paramlist> | |
9572 | </method> | |
9573 | <method name="DrawRoundedRectangleXY" type="" overloaded="no"> | |
9574 | <autodoc>DrawRoundedRectangleXY(int x, int y, int width, int height, double radius)</autodoc> | |
9575 | <paramlist> | |
9576 | <param name="x" type="int" default=""/> | |
9577 | <param name="y" type="int" default=""/> | |
9578 | <param name="width" type="int" default=""/> | |
9579 | <param name="height" type="int" default=""/> | |
9580 | <param name="radius" type="double" default=""/> | |
9581 | </paramlist> | |
9582 | </method> | |
9583 | <method name="DrawRoundedRectangle" type="" overloaded="no"> | |
9584 | <autodoc>DrawRoundedRectangle(Point pt, Size sz, double radius)</autodoc> | |
9585 | <paramlist> | |
9586 | <param name="pt" type="Point" default=""/> | |
9587 | <param name="sz" type="Size" default=""/> | |
9588 | <param name="radius" type="double" default=""/> | |
9589 | </paramlist> | |
9590 | </method> | |
9591 | <method name="DrawRoundedRectangleRect" type="" overloaded="no"> | |
9592 | <autodoc>DrawRoundedRectangleRect(Rect r, double radius)</autodoc> | |
9593 | <paramlist> | |
9594 | <param name="r" type="Rect" default=""/> | |
9595 | <param name="radius" type="double" default=""/> | |
9596 | </paramlist> | |
9597 | </method> | |
9598 | <method name="DrawCircleXY" type="" overloaded="no"> | |
9599 | <autodoc>DrawCircleXY(int x, int y, int radius)</autodoc> | |
9600 | <paramlist> | |
9601 | <param name="x" type="int" default=""/> | |
9602 | <param name="y" type="int" default=""/> | |
9603 | <param name="radius" type="int" default=""/> | |
9604 | </paramlist> | |
9605 | </method> | |
9606 | <method name="DrawCircle" type="" overloaded="no"> | |
9607 | <autodoc>DrawCircle(Point pt, int radius)</autodoc> | |
9608 | <paramlist> | |
9609 | <param name="pt" type="Point" default=""/> | |
9610 | <param name="radius" type="int" default=""/> | |
9611 | </paramlist> | |
9612 | </method> | |
9613 | <method name="DrawEllipseXY" type="" overloaded="no"> | |
9614 | <autodoc>DrawEllipseXY(int x, int y, int width, int height)</autodoc> | |
9615 | <paramlist> | |
9616 | <param name="x" type="int" default=""/> | |
9617 | <param name="y" type="int" default=""/> | |
9618 | <param name="width" type="int" default=""/> | |
9619 | <param name="height" type="int" default=""/> | |
9620 | </paramlist> | |
9621 | </method> | |
9622 | <method name="DrawEllipse" type="" overloaded="no"> | |
9623 | <autodoc>DrawEllipse(Point pt, Size sz)</autodoc> | |
9624 | <paramlist> | |
9625 | <param name="pt" type="Point" default=""/> | |
9626 | <param name="sz" type="Size" default=""/> | |
9627 | </paramlist> | |
9628 | </method> | |
9629 | <method name="DrawEllipseRect" type="" overloaded="no"> | |
9630 | <autodoc>DrawEllipseRect(Rect rect)</autodoc> | |
9631 | <paramlist> | |
9632 | <param name="rect" type="Rect" default=""/> | |
9633 | </paramlist> | |
9634 | </method> | |
9635 | <method name="DrawIconXY" type="" overloaded="no"> | |
9636 | <autodoc>DrawIconXY(Icon icon, int x, int y)</autodoc> | |
9637 | <paramlist> | |
9638 | <param name="icon" type="Icon" default=""/> | |
9639 | <param name="x" type="int" default=""/> | |
9640 | <param name="y" type="int" default=""/> | |
9641 | </paramlist> | |
9642 | </method> | |
9643 | <method name="DrawIcon" type="" overloaded="no"> | |
9644 | <autodoc>DrawIcon(Icon icon, Point pt)</autodoc> | |
9645 | <paramlist> | |
9646 | <param name="icon" type="Icon" default=""/> | |
9647 | <param name="pt" type="Point" default=""/> | |
9648 | </paramlist> | |
9649 | </method> | |
9650 | <method name="DrawBitmapXY" type="" overloaded="no"> | |
9651 | <autodoc>DrawBitmapXY(Bitmap bmp, int x, int y, bool useMask=False)</autodoc> | |
9652 | <paramlist> | |
9653 | <param name="bmp" type="Bitmap" default=""/> | |
9654 | <param name="x" type="int" default=""/> | |
9655 | <param name="y" type="int" default=""/> | |
9656 | <param name="useMask" type="bool" default="False"/> | |
9657 | </paramlist> | |
9658 | </method> | |
9659 | <method name="DrawBitmap" type="" overloaded="no"> | |
9660 | <autodoc>DrawBitmap(Bitmap bmp, Point pt, bool useMask=False)</autodoc> | |
9661 | <paramlist> | |
9662 | <param name="bmp" type="Bitmap" default=""/> | |
9663 | <param name="pt" type="Point" default=""/> | |
9664 | <param name="useMask" type="bool" default="False"/> | |
9665 | </paramlist> | |
9666 | </method> | |
9667 | <method name="DrawTextXY" type="" overloaded="no"> | |
9668 | <autodoc>DrawTextXY(String text, int x, int y)</autodoc> | |
9669 | <paramlist> | |
9670 | <param name="text" type="String" default=""/> | |
9671 | <param name="x" type="int" default=""/> | |
9672 | <param name="y" type="int" default=""/> | |
9673 | </paramlist> | |
9674 | </method> | |
9675 | <method name="DrawText" type="" overloaded="no"> | |
9676 | <autodoc>DrawText(String text, Point pt)</autodoc> | |
9677 | <paramlist> | |
9678 | <param name="text" type="String" default=""/> | |
9679 | <param name="pt" type="Point" default=""/> | |
9680 | </paramlist> | |
9681 | </method> | |
9682 | <method name="DrawRotatedTextXY" type="" overloaded="no"> | |
9683 | <autodoc>DrawRotatedTextXY(String text, int x, int y, double angle)</autodoc> | |
9684 | <paramlist> | |
9685 | <param name="text" type="String" default=""/> | |
9686 | <param name="x" type="int" default=""/> | |
9687 | <param name="y" type="int" default=""/> | |
9688 | <param name="angle" type="double" default=""/> | |
9689 | </paramlist> | |
9690 | </method> | |
9691 | <method name="DrawRotatedText" type="" overloaded="no"> | |
9692 | <autodoc>DrawRotatedText(String text, Point pt, double angle)</autodoc> | |
9693 | <paramlist> | |
9694 | <param name="text" type="String" default=""/> | |
9695 | <param name="pt" type="Point" default=""/> | |
9696 | <param name="angle" type="double" default=""/> | |
9697 | </paramlist> | |
9698 | </method> | |
9699 | <method name="BlitXY" type="bool" overloaded="no"> | |
9700 | <autodoc>BlitXY(int xdest, int ydest, int width, int height, DC source, | |
9701 | int xsrc, int ysrc, int rop=COPY, bool useMask=False, | |
9702 | int xsrcMask=-1, int ysrcMask=-1) -> bool</autodoc> | |
9703 | <paramlist> | |
9704 | <param name="xdest" type="int" default=""/> | |
9705 | <param name="ydest" type="int" default=""/> | |
9706 | <param name="width" type="int" default=""/> | |
9707 | <param name="height" type="int" default=""/> | |
9708 | <param name="source" type="DC" default=""/> | |
9709 | <param name="xsrc" type="int" default=""/> | |
9710 | <param name="ysrc" type="int" default=""/> | |
9711 | <param name="rop" type="int" default="wxCOPY"/> | |
9712 | <param name="useMask" type="bool" default="False"/> | |
9713 | <param name="xsrcMask" type="int" default="-1"/> | |
9714 | <param name="ysrcMask" type="int" default="-1"/> | |
9715 | </paramlist> | |
9716 | </method> | |
9717 | <method name="Blit" type="bool" overloaded="no"> | |
9718 | <autodoc>Blit(Point destPt, Size sz, DC source, Point srcPt, int rop=COPY, | |
9719 | bool useMask=False, Point srcPtMask=DefaultPosition) -> bool</autodoc> | |
9720 | <paramlist> | |
9721 | <param name="destPt" type="Point" default=""/> | |
9722 | <param name="sz" type="Size" default=""/> | |
9723 | <param name="source" type="DC" default=""/> | |
9724 | <param name="srcPt" type="Point" default=""/> | |
9725 | <param name="rop" type="int" default="wxCOPY"/> | |
9726 | <param name="useMask" type="bool" default="False"/> | |
9727 | <param name="srcPtMask" type="Point" default="wxDefaultPosition"/> | |
9728 | </paramlist> | |
9729 | </method> | |
9730 | <method name="DrawLines" type="" overloaded="no"> | |
9731 | <autodoc>DrawLines(int points, Point points_array, int xoffset=0, int yoffset=0)</autodoc> | |
9732 | <paramlist> | |
9733 | <param name="points" type="int" default=""/> | |
9734 | <param name="points_array" type="Point" default=""/> | |
9735 | <param name="xoffset" type="int" default="0"/> | |
9736 | <param name="yoffset" type="int" default="0"/> | |
9737 | </paramlist> | |
9738 | </method> | |
9739 | <method name="DrawPolygon" type="" overloaded="no"> | |
9740 | <autodoc>DrawPolygon(int points, Point points_array, int xoffset=0, int yoffset=0, | |
9741 | int fillStyle=ODDEVEN_RULE)</autodoc> | |
9742 | <paramlist> | |
9743 | <param name="points" type="int" default=""/> | |
9744 | <param name="points_array" type="Point" default=""/> | |
9745 | <param name="xoffset" type="int" default="0"/> | |
9746 | <param name="yoffset" type="int" default="0"/> | |
9747 | <param name="fillStyle" type="int" default="wxODDEVEN_RULE"/> | |
9748 | </paramlist> | |
9749 | </method> | |
9750 | <method name="DrawLabel" type="" overloaded="no"> | |
9751 | <autodoc>DrawLabel(String text, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, | |
9752 | int indexAccel=-1)</autodoc> | |
9753 | <paramlist> | |
9754 | <param name="text" type="String" default=""/> | |
9755 | <param name="rect" type="Rect" default=""/> | |
9756 | <param name="alignment" type="int" default="wxALIGN_LEFT|wxALIGN_TOP"/> | |
9757 | <param name="indexAccel" type="int" default="-1"/> | |
9758 | </paramlist> | |
9759 | </method> | |
9760 | <method name="DrawImageLabel" type="Rect" overloaded="no"> | |
9761 | <autodoc>DrawImageLabel(String text, Bitmap image, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, | |
9762 | int indexAccel=-1) -> Rect</autodoc> | |
9763 | <paramlist> | |
9764 | <param name="text" type="String" default=""/> | |
9765 | <param name="image" type="Bitmap" default=""/> | |
9766 | <param name="rect" type="Rect" default=""/> | |
9767 | <param name="alignment" type="int" default="wxALIGN_LEFT|wxALIGN_TOP"/> | |
9768 | <param name="indexAccel" type="int" default="-1"/> | |
9769 | </paramlist> | |
9770 | </method> | |
9771 | <method name="DrawSpline" type="" overloaded="no"> | |
9772 | <autodoc>DrawSpline(int points, Point points_array)</autodoc> | |
9773 | <paramlist> | |
9774 | <param name="points" type="int" default=""/> | |
9775 | <param name="points_array" type="Point" default=""/> | |
9776 | </paramlist> | |
9777 | </method> | |
9778 | <method name="Clear" type="" overloaded="no"> | |
9779 | <autodoc>Clear()</autodoc> | |
9780 | </method> | |
9781 | <method name="StartDoc" type="bool" overloaded="no"> | |
9782 | <autodoc>StartDoc(String message) -> bool</autodoc> | |
9783 | <paramlist> | |
9784 | <param name="message" type="String" default=""/> | |
9785 | </paramlist> | |
9786 | </method> | |
9787 | <method name="EndDoc" type="" overloaded="no"> | |
9788 | <autodoc>EndDoc()</autodoc> | |
9789 | </method> | |
9790 | <method name="StartPage" type="" overloaded="no"> | |
9791 | <autodoc>StartPage()</autodoc> | |
9792 | </method> | |
9793 | <method name="EndPage" type="" overloaded="no"> | |
9794 | <autodoc>EndPage()</autodoc> | |
9795 | </method> | |
9796 | <method name="SetFont" type="" overloaded="no"> | |
9797 | <autodoc>SetFont(Font font)</autodoc> | |
9798 | <paramlist> | |
9799 | <param name="font" type="Font" default=""/> | |
9800 | </paramlist> | |
9801 | </method> | |
9802 | <method name="SetPen" type="" overloaded="no"> | |
9803 | <autodoc>SetPen(Pen pen)</autodoc> | |
9804 | <paramlist> | |
9805 | <param name="pen" type="Pen" default=""/> | |
9806 | </paramlist> | |
9807 | </method> | |
9808 | <method name="SetBrush" type="" overloaded="no"> | |
9809 | <autodoc>SetBrush(Brush brush)</autodoc> | |
9810 | <paramlist> | |
9811 | <param name="brush" type="Brush" default=""/> | |
9812 | </paramlist> | |
9813 | </method> | |
9814 | <method name="SetBackground" type="" overloaded="no"> | |
9815 | <autodoc>SetBackground(Brush brush)</autodoc> | |
9816 | <paramlist> | |
9817 | <param name="brush" type="Brush" default=""/> | |
9818 | </paramlist> | |
9819 | </method> | |
9820 | <method name="SetBackgroundMode" type="" overloaded="no"> | |
9821 | <autodoc>SetBackgroundMode(int mode)</autodoc> | |
9822 | <paramlist> | |
9823 | <param name="mode" type="int" default=""/> | |
9824 | </paramlist> | |
9825 | </method> | |
9826 | <method name="SetPalette" type="" overloaded="no"> | |
9827 | <autodoc>SetPalette(Palette palette)</autodoc> | |
9828 | <paramlist> | |
9829 | <param name="palette" type="Palette" default=""/> | |
9830 | </paramlist> | |
9831 | </method> | |
9832 | <method name="SetClippingRegionXY" type="" overloaded="no"> | |
9833 | <autodoc>SetClippingRegionXY(int x, int y, int width, int height)</autodoc> | |
9834 | <paramlist> | |
9835 | <param name="x" type="int" default=""/> | |
9836 | <param name="y" type="int" default=""/> | |
9837 | <param name="width" type="int" default=""/> | |
9838 | <param name="height" type="int" default=""/> | |
9839 | </paramlist> | |
9840 | </method> | |
9841 | <method name="SetClippingRegion" type="" overloaded="no"> | |
9842 | <autodoc>SetClippingRegion(Point pt, Size sz)</autodoc> | |
9843 | <paramlist> | |
9844 | <param name="pt" type="Point" default=""/> | |
9845 | <param name="sz" type="Size" default=""/> | |
9846 | </paramlist> | |
9847 | </method> | |
9848 | <method name="SetClippingRect" type="" overloaded="no"> | |
9849 | <autodoc>SetClippingRect(Rect rect)</autodoc> | |
9850 | <paramlist> | |
9851 | <param name="rect" type="Rect" default=""/> | |
9852 | </paramlist> | |
9853 | </method> | |
9854 | <method name="SetClippingRegionAsRegion" type="" overloaded="no"> | |
9855 | <autodoc>SetClippingRegionAsRegion(Region region)</autodoc> | |
9856 | <paramlist> | |
9857 | <param name="region" type="Region" default=""/> | |
9858 | </paramlist> | |
9859 | </method> | |
9860 | <method name="DestroyClippingRegion" type="" overloaded="no"> | |
9861 | <autodoc>DestroyClippingRegion()</autodoc> | |
9862 | </method> | |
9863 | <method name="GetClippingBox" type="" overloaded="no"> | |
9864 | <autodoc>GetClippingBox() -> (x, y, width, height)</autodoc> | |
9865 | <paramlist> | |
9866 | <param name="OUTPUT" type="int" default=""/> | |
9867 | <param name="OUTPUT" type="int" default=""/> | |
9868 | <param name="OUTPUT" type="int" default=""/> | |
9869 | <param name="OUTPUT" type="int" default=""/> | |
9870 | </paramlist> | |
9871 | </method> | |
9872 | <method name="GetClippingRect" type="Rect" overloaded="no"> | |
9873 | <autodoc>GetClippingRect() -> Rect</autodoc> | |
9874 | </method> | |
9875 | <method name="GetCharHeight" type="int" overloaded="no"> | |
9876 | <autodoc>GetCharHeight() -> int</autodoc> | |
9877 | </method> | |
9878 | <method name="GetCharWidth" type="int" overloaded="no"> | |
9879 | <autodoc>GetCharWidth() -> int</autodoc> | |
9880 | </method> | |
9881 | <method name="GetTextExtent" type="" overloaded="no"> | |
9882 | <autodoc>GetTextExtent(wxString string) -> (width, height)</autodoc> | |
9883 | <docstring>Get the width and height of the text using the current font. | |
9884 | Only works for single line strings.</docstring> | |
9885 | <paramlist> | |
9886 | <param name="string" type="String" default=""/> | |
9887 | <param name="OUTPUT" type="int" default=""/> | |
9888 | <param name="OUTPUT" type="int" default=""/> | |
9889 | </paramlist> | |
9890 | </method> | |
9891 | <method name="GetFullTextExtent" type="" overloaded="no"> | |
9892 | <autodoc>GetFullTextExtent(wxString string, Font font=None) -> | |
9893 | (width, height, descent, externalLeading)</autodoc> | |
9894 | <docstring>Get the width, height, decent and leading of the text using the current or specified font. | |
9895 | Only works for single line strings.</docstring> | |
9896 | <paramlist> | |
9897 | <param name="string" type="String" default=""/> | |
9898 | <param name="OUTPUT" type="int" default=""/> | |
9899 | <param name="OUTPUT" type="int" default=""/> | |
9900 | <param name="OUTPUT" type="int" default=""/> | |
9901 | <param name="OUTPUT" type="int" default=""/> | |
9902 | <param name="font" type="Font" default="NULL"/> | |
9903 | </paramlist> | |
9904 | </method> | |
9905 | <method name="GetMultiLineTextExtent" type="" overloaded="no"> | |
9906 | <autodoc>GetMultiLineTextExtent(wxString string, Font font=None) -> | |
9907 | (width, height, descent, externalLeading)</autodoc> | |
9908 | <docstring>Get the width, height, decent and leading of the text using the current or specified font. | |
9909 | Works for single as well as multi-line strings.</docstring> | |
9910 | <paramlist> | |
9911 | <param name="text" type="String" default=""/> | |
9912 | <param name="OUTPUT" type="int" default=""/> | |
9913 | <param name="OUTPUT" type="int" default=""/> | |
9914 | <param name="OUTPUT" type="int" default=""/> | |
9915 | <param name="font" type="Font" default="NULL"/> | |
9916 | </paramlist> | |
9917 | </method> | |
9918 | <method name="GetPartialTextExtents" type="wxArrayInt" overloaded="no"> | |
9919 | <autodoc>GetPartialTextExtents(String text) -> wxArrayInt</autodoc> | |
9920 | <paramlist> | |
9921 | <param name="text" type="String" default=""/> | |
9922 | </paramlist> | |
9923 | </method> | |
9924 | <method name="GetSize" type="Size" overloaded="no"> | |
9925 | <autodoc>GetSize() -> Size</autodoc> | |
9926 | <docstring>Get the DC size in device units.</docstring> | |
9927 | </method> | |
9928 | <method name="GetSizeTuple" type="" overloaded="no"> | |
9929 | <autodoc>GetSizeTuple() -> (width, height)</autodoc> | |
9930 | <docstring>Get the DC size in device units.</docstring> | |
9931 | <paramlist> | |
9932 | <param name="OUTPUT" type="int" default=""/> | |
9933 | <param name="OUTPUT" type="int" default=""/> | |
9934 | </paramlist> | |
9935 | </method> | |
9936 | <method name="GetSizeMM" type="Size" overloaded="no"> | |
9937 | <autodoc>GetSizeMM() -> Size</autodoc> | |
9938 | <docstring>Get the DC size in milimeters.</docstring> | |
9939 | </method> | |
9940 | <method name="GetSizeMMTuple" type="" overloaded="no"> | |
9941 | <autodoc>GetSizeMMTuple() -> (width, height)</autodoc> | |
9942 | <docstring>Get the DC size in milimeters.</docstring> | |
9943 | <paramlist> | |
9944 | <param name="OUTPUT" type="int" default=""/> | |
9945 | <param name="OUTPUT" type="int" default=""/> | |
9946 | </paramlist> | |
9947 | </method> | |
9948 | <method name="DeviceToLogicalX" type="int" overloaded="no"> | |
9949 | <autodoc>DeviceToLogicalX(int x) -> int</autodoc> | |
9950 | <paramlist> | |
9951 | <param name="x" type="int" default=""/> | |
9952 | </paramlist> | |
9953 | </method> | |
9954 | <method name="DeviceToLogicalY" type="int" overloaded="no"> | |
9955 | <autodoc>DeviceToLogicalY(int y) -> int</autodoc> | |
9956 | <paramlist> | |
9957 | <param name="y" type="int" default=""/> | |
9958 | </paramlist> | |
9959 | </method> | |
9960 | <method name="DeviceToLogicalXRel" type="int" overloaded="no"> | |
9961 | <autodoc>DeviceToLogicalXRel(int x) -> int</autodoc> | |
9962 | <paramlist> | |
9963 | <param name="x" type="int" default=""/> | |
9964 | </paramlist> | |
9965 | </method> | |
9966 | <method name="DeviceToLogicalYRel" type="int" overloaded="no"> | |
9967 | <autodoc>DeviceToLogicalYRel(int y) -> int</autodoc> | |
9968 | <paramlist> | |
9969 | <param name="y" type="int" default=""/> | |
9970 | </paramlist> | |
9971 | </method> | |
9972 | <method name="LogicalToDeviceX" type="int" overloaded="no"> | |
9973 | <autodoc>LogicalToDeviceX(int x) -> int</autodoc> | |
9974 | <paramlist> | |
9975 | <param name="x" type="int" default=""/> | |
9976 | </paramlist> | |
9977 | </method> | |
9978 | <method name="LogicalToDeviceY" type="int" overloaded="no"> | |
9979 | <autodoc>LogicalToDeviceY(int y) -> int</autodoc> | |
9980 | <paramlist> | |
9981 | <param name="y" type="int" default=""/> | |
9982 | </paramlist> | |
9983 | </method> | |
9984 | <method name="LogicalToDeviceXRel" type="int" overloaded="no"> | |
9985 | <autodoc>LogicalToDeviceXRel(int x) -> int</autodoc> | |
9986 | <paramlist> | |
9987 | <param name="x" type="int" default=""/> | |
9988 | </paramlist> | |
9989 | </method> | |
9990 | <method name="LogicalToDeviceYRel" type="int" overloaded="no"> | |
9991 | <autodoc>LogicalToDeviceYRel(int y) -> int</autodoc> | |
9992 | <paramlist> | |
9993 | <param name="y" type="int" default=""/> | |
9994 | </paramlist> | |
9995 | </method> | |
9996 | <method name="CanDrawBitmap" type="bool" overloaded="no"> | |
9997 | <autodoc>CanDrawBitmap() -> bool</autodoc> | |
9998 | </method> | |
9999 | <method name="CanGetTextExtent" type="bool" overloaded="no"> | |
10000 | <autodoc>CanGetTextExtent() -> bool</autodoc> | |
10001 | </method> | |
10002 | <method name="GetDepth" type="int" overloaded="no"> | |
10003 | <autodoc>GetDepth() -> int</autodoc> | |
10004 | </method> | |
10005 | <method name="GetPPI" type="Size" overloaded="no"> | |
10006 | <autodoc>GetPPI() -> Size</autodoc> | |
10007 | </method> | |
10008 | <method name="Ok" type="bool" overloaded="no"> | |
10009 | <autodoc>Ok() -> bool</autodoc> | |
10010 | </method> | |
10011 | <method name="GetBackgroundMode" type="int" overloaded="no"> | |
10012 | <autodoc>GetBackgroundMode() -> int</autodoc> | |
10013 | </method> | |
10014 | <method name="GetBackground" type="Brush" overloaded="no"> | |
10015 | <autodoc>GetBackground() -> Brush</autodoc> | |
10016 | </method> | |
10017 | <method name="GetBrush" type="Brush" overloaded="no"> | |
10018 | <autodoc>GetBrush() -> Brush</autodoc> | |
10019 | </method> | |
10020 | <method name="GetFont" type="Font" overloaded="no"> | |
10021 | <autodoc>GetFont() -> Font</autodoc> | |
10022 | </method> | |
10023 | <method name="GetPen" type="Pen" overloaded="no"> | |
10024 | <autodoc>GetPen() -> Pen</autodoc> | |
10025 | </method> | |
10026 | <method name="GetTextBackground" type="Colour" overloaded="no"> | |
10027 | <autodoc>GetTextBackground() -> Colour</autodoc> | |
10028 | </method> | |
10029 | <method name="GetTextForeground" type="Colour" overloaded="no"> | |
10030 | <autodoc>GetTextForeground() -> Colour</autodoc> | |
10031 | </method> | |
10032 | <method name="SetTextForeground" type="" overloaded="no"> | |
10033 | <autodoc>SetTextForeground(Colour colour)</autodoc> | |
10034 | <paramlist> | |
10035 | <param name="colour" type="Colour" default=""/> | |
10036 | </paramlist> | |
10037 | </method> | |
10038 | <method name="SetTextBackground" type="" overloaded="no"> | |
10039 | <autodoc>SetTextBackground(Colour colour)</autodoc> | |
10040 | <paramlist> | |
10041 | <param name="colour" type="Colour" default=""/> | |
10042 | </paramlist> | |
10043 | </method> | |
10044 | <method name="GetMapMode" type="int" overloaded="no"> | |
10045 | <autodoc>GetMapMode() -> int</autodoc> | |
10046 | </method> | |
10047 | <method name="SetMapMode" type="" overloaded="no"> | |
10048 | <autodoc>SetMapMode(int mode)</autodoc> | |
10049 | <paramlist> | |
10050 | <param name="mode" type="int" default=""/> | |
10051 | </paramlist> | |
10052 | </method> | |
10053 | <method name="GetUserScale" type="" overloaded="no"> | |
10054 | <autodoc>GetUserScale() -> (xScale, yScale)</autodoc> | |
10055 | <paramlist> | |
10056 | <param name="OUTPUT" type="double" default=""/> | |
10057 | <param name="OUTPUT" type="double" default=""/> | |
10058 | </paramlist> | |
10059 | </method> | |
10060 | <method name="SetUserScale" type="" overloaded="no"> | |
10061 | <autodoc>SetUserScale(double x, double y)</autodoc> | |
10062 | <paramlist> | |
10063 | <param name="x" type="double" default=""/> | |
10064 | <param name="y" type="double" default=""/> | |
10065 | </paramlist> | |
10066 | </method> | |
10067 | <method name="GetLogicalScale" type="" overloaded="no"> | |
10068 | <autodoc>GetLogicalScale() -> (xScale, yScale)</autodoc> | |
10069 | <paramlist> | |
10070 | <param name="OUTPUT" type="double" default=""/> | |
10071 | <param name="OUTPUT" type="double" default=""/> | |
10072 | </paramlist> | |
10073 | </method> | |
10074 | <method name="SetLogicalScale" type="" overloaded="no"> | |
10075 | <autodoc>SetLogicalScale(double x, double y)</autodoc> | |
10076 | <paramlist> | |
10077 | <param name="x" type="double" default=""/> | |
10078 | <param name="y" type="double" default=""/> | |
10079 | </paramlist> | |
10080 | </method> | |
10081 | <method name="GetLogicalOrigin" type="Point" overloaded="no"> | |
10082 | <autodoc>GetLogicalOrigin() -> Point</autodoc> | |
10083 | </method> | |
10084 | <method name="GetLogicalOriginTuple" type="" overloaded="no"> | |
10085 | <autodoc>GetLogicalOriginTuple() -> (x,y)</autodoc> | |
10086 | <paramlist> | |
10087 | <param name="OUTPUT" type="int" default=""/> | |
10088 | <param name="OUTPUT" type="int" default=""/> | |
10089 | </paramlist> | |
10090 | </method> | |
10091 | <method name="SetLogicalOrigin" type="" overloaded="no"> | |
10092 | <autodoc>SetLogicalOrigin(int x, int y)</autodoc> | |
10093 | <paramlist> | |
10094 | <param name="x" type="int" default=""/> | |
10095 | <param name="y" type="int" default=""/> | |
10096 | </paramlist> | |
10097 | </method> | |
10098 | <method name="GetDeviceOrigin" type="Point" overloaded="no"> | |
10099 | <autodoc>GetDeviceOrigin() -> Point</autodoc> | |
10100 | </method> | |
10101 | <method name="GetDeviceOriginTuple" type="" overloaded="no"> | |
10102 | <autodoc>GetDeviceOriginTuple() -> (x,y)</autodoc> | |
10103 | <paramlist> | |
10104 | <param name="OUTPUT" type="int" default=""/> | |
10105 | <param name="OUTPUT" type="int" default=""/> | |
10106 | </paramlist> | |
10107 | </method> | |
10108 | <method name="SetDeviceOrigin" type="" overloaded="no"> | |
10109 | <autodoc>SetDeviceOrigin(int x, int y)</autodoc> | |
10110 | <paramlist> | |
10111 | <param name="x" type="int" default=""/> | |
10112 | <param name="y" type="int" default=""/> | |
10113 | </paramlist> | |
10114 | </method> | |
10115 | <method name="SetAxisOrientation" type="" overloaded="no"> | |
10116 | <autodoc>SetAxisOrientation(bool xLeftRight, bool yBottomUp)</autodoc> | |
10117 | <paramlist> | |
10118 | <param name="xLeftRight" type="bool" default=""/> | |
10119 | <param name="yBottomUp" type="bool" default=""/> | |
10120 | </paramlist> | |
10121 | </method> | |
10122 | <method name="GetLogicalFunction" type="int" overloaded="no"> | |
10123 | <autodoc>GetLogicalFunction() -> int</autodoc> | |
10124 | </method> | |
10125 | <method name="SetLogicalFunction" type="" overloaded="no"> | |
10126 | <autodoc>SetLogicalFunction(int function)</autodoc> | |
10127 | <paramlist> | |
10128 | <param name="function" type="int" default=""/> | |
10129 | </paramlist> | |
10130 | </method> | |
10131 | <method name="SetOptimization" type="" overloaded="no"> | |
10132 | <autodoc>SetOptimization(bool opt)</autodoc> | |
10133 | <paramlist> | |
10134 | <param name="opt" type="bool" default=""/> | |
10135 | </paramlist> | |
10136 | </method> | |
10137 | <method name="GetOptimization" type="bool" overloaded="no"> | |
10138 | <autodoc>GetOptimization() -> bool</autodoc> | |
10139 | </method> | |
10140 | <method name="CalcBoundingBox" type="" overloaded="no"> | |
10141 | <autodoc>CalcBoundingBox(int x, int y)</autodoc> | |
10142 | <paramlist> | |
10143 | <param name="x" type="int" default=""/> | |
10144 | <param name="y" type="int" default=""/> | |
10145 | </paramlist> | |
10146 | </method> | |
10147 | <method name="ResetBoundingBox" type="" overloaded="no"> | |
10148 | <autodoc>ResetBoundingBox()</autodoc> | |
10149 | </method> | |
10150 | <method name="MinX" type="int" overloaded="no"> | |
10151 | <autodoc>MinX() -> int</autodoc> | |
10152 | </method> | |
10153 | <method name="MaxX" type="int" overloaded="no"> | |
10154 | <autodoc>MaxX() -> int</autodoc> | |
10155 | </method> | |
10156 | <method name="MinY" type="int" overloaded="no"> | |
10157 | <autodoc>MinY() -> int</autodoc> | |
10158 | </method> | |
10159 | <method name="MaxY" type="int" overloaded="no"> | |
10160 | <autodoc>MaxY() -> int</autodoc> | |
10161 | </method> | |
10162 | <method name="GetBoundingBox" type="" overloaded="no"> | |
10163 | <autodoc>GetBoundingBox() -> (x1,y1, x2,y2)</autodoc> | |
10164 | <paramlist> | |
10165 | <param name="OUTPUT" type="int" default=""/> | |
10166 | <param name="OUTPUT" type="int" default=""/> | |
10167 | <param name="OUTPUT" type="int" default=""/> | |
10168 | <param name="OUTPUT" type="int" default=""/> | |
10169 | </paramlist> | |
10170 | </method> | |
10171 | <method name="_DrawPointList" type="PyObject" overloaded="no"> | |
10172 | <autodoc>_DrawPointList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc> | |
10173 | <paramlist> | |
10174 | <param name="pyCoords" type="PyObject" default=""/> | |
10175 | <param name="pyPens" type="PyObject" default=""/> | |
10176 | <param name="pyBrushes" type="PyObject" default=""/> | |
10177 | </paramlist> | |
10178 | </method> | |
10179 | <method name="_DrawLineList" type="PyObject" overloaded="no"> | |
10180 | <autodoc>_DrawLineList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc> | |
10181 | <paramlist> | |
10182 | <param name="pyCoords" type="PyObject" default=""/> | |
10183 | <param name="pyPens" type="PyObject" default=""/> | |
10184 | <param name="pyBrushes" type="PyObject" default=""/> | |
10185 | </paramlist> | |
10186 | </method> | |
10187 | <method name="_DrawRectangleList" type="PyObject" overloaded="no"> | |
10188 | <autodoc>_DrawRectangleList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc> | |
10189 | <paramlist> | |
10190 | <param name="pyCoords" type="PyObject" default=""/> | |
10191 | <param name="pyPens" type="PyObject" default=""/> | |
10192 | <param name="pyBrushes" type="PyObject" default=""/> | |
10193 | </paramlist> | |
10194 | </method> | |
10195 | <method name="_DrawEllipseList" type="PyObject" overloaded="no"> | |
10196 | <autodoc>_DrawEllipseList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc> | |
10197 | <paramlist> | |
10198 | <param name="pyCoords" type="PyObject" default=""/> | |
10199 | <param name="pyPens" type="PyObject" default=""/> | |
10200 | <param name="pyBrushes" type="PyObject" default=""/> | |
10201 | </paramlist> | |
10202 | </method> | |
10203 | <method name="_DrawPolygonList" type="PyObject" overloaded="no"> | |
10204 | <autodoc>_DrawPolygonList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc> | |
10205 | <paramlist> | |
10206 | <param name="pyCoords" type="PyObject" default=""/> | |
10207 | <param name="pyPens" type="PyObject" default=""/> | |
10208 | <param name="pyBrushes" type="PyObject" default=""/> | |
10209 | </paramlist> | |
10210 | </method> | |
10211 | <method name="_DrawTextList" type="PyObject" overloaded="no"> | |
10212 | <autodoc>_DrawTextList(PyObject textList, PyObject pyPoints, PyObject foregroundList, | |
10213 | PyObject backgroundList) -> PyObject</autodoc> | |
10214 | <paramlist> | |
10215 | <param name="textList" type="PyObject" default=""/> | |
10216 | <param name="pyPoints" type="PyObject" default=""/> | |
10217 | <param name="foregroundList" type="PyObject" default=""/> | |
10218 | <param name="backgroundList" type="PyObject" default=""/> | |
10219 | </paramlist> | |
10220 | </method> | |
10221 | </class> | |
10222 | <pythoncode> | |
0f43fbdf RD |
10223 | #--------------------------------------------------------------------------- |
10224 | </pythoncode> | |
f32fc4bc RD |
10225 | <class name="MemoryDC" oldname="wxMemoryDC" module="gdi"> |
10226 | <baseclass name="DC"/> | |
10227 | <constructor name="MemoryDC" overloaded="no"> | |
10228 | <autodoc>__init__() -> MemoryDC</autodoc> | |
10229 | </constructor> | |
10230 | <constructor name="MemoryDCFromDC" overloaded="no"> | |
10231 | <autodoc>MemoryDCFromDC(DC oldDC) -> MemoryDC</autodoc> | |
10232 | <paramlist> | |
10233 | <param name="oldDC" type="DC" default=""/> | |
10234 | </paramlist> | |
10235 | </constructor> | |
10236 | <method name="SelectObject" type="" overloaded="no"> | |
10237 | <autodoc>SelectObject(Bitmap bitmap)</autodoc> | |
10238 | <paramlist> | |
10239 | <param name="bitmap" type="Bitmap" default=""/> | |
10240 | </paramlist> | |
10241 | </method> | |
10242 | </class> | |
10243 | <pythoncode> | |
856bf319 RD |
10244 | #--------------------------------------------------------------------------- |
10245 | </pythoncode> | |
f32fc4bc RD |
10246 | <class name="BufferedDC" oldname="wxBufferedDC" module="gdi"> |
10247 | <baseclass name="MemoryDC"/> | |
10248 | <constructor name="BufferedDC" overloaded="yes"> | |
10249 | <paramlist> | |
10250 | <param name="dc" type="DC" default=""/> | |
10251 | <param name="buffer" type="Bitmap" default=""/> | |
10252 | </paramlist> | |
10253 | </constructor> | |
10254 | <constructor name="BufferedDC" overloaded="yes"> | |
10255 | <autodoc>__init__(DC dc, Bitmap buffer) -> BufferedDC | |
c2dda882 | 10256 | __init__(DC dc, Size area) -> BufferedDC</autodoc> |
f32fc4bc RD |
10257 | <paramlist> |
10258 | <param name="dc" type="DC" default=""/> | |
10259 | <param name="area" type="Size" default=""/> | |
f32fc4bc RD |
10260 | </paramlist> |
10261 | </constructor> | |
10262 | <constructor name="BufferedDCInternalBuffer" overloaded="no"> | |
c2dda882 | 10263 | <autodoc>BufferedDCInternalBuffer(DC dc, Size area) -> BufferedDC</autodoc> |
f32fc4bc RD |
10264 | <paramlist> |
10265 | <param name="dc" type="DC" default=""/> | |
10266 | <param name="area" type="Size" default=""/> | |
f32fc4bc RD |
10267 | </paramlist> |
10268 | </constructor> | |
c2dda882 RD |
10269 | <destructor name="~wxBufferedDC" overloaded="no"> |
10270 | <autodoc>__del__()</autodoc> | |
10271 | </destructor> | |
f32fc4bc RD |
10272 | <method name="UnMask" type="" overloaded="no"> |
10273 | <autodoc>UnMask()</autodoc> | |
10274 | </method> | |
10275 | </class> | |
10276 | <class name="BufferedPaintDC" oldname="wxBufferedPaintDC" module="gdi"> | |
10277 | <baseclass name="BufferedDC"/> | |
c2dda882 RD |
10278 | <constructor name="BufferedPaintDC" overloaded="no"> |
10279 | <autodoc>__init__(Window window, Bitmap buffer=NullBitmap) -> BufferedPaintDC</autodoc> | |
f32fc4bc RD |
10280 | <paramlist> |
10281 | <param name="window" type="Window" default=""/> | |
c2dda882 | 10282 | <param name="buffer" type="Bitmap" default="wxNullBitmap"/> |
f32fc4bc RD |
10283 | </paramlist> |
10284 | </constructor> | |
10285 | </class> | |
10286 | <pythoncode> | |
856bf319 RD |
10287 | #--------------------------------------------------------------------------- |
10288 | </pythoncode> | |
f32fc4bc RD |
10289 | <class name="ScreenDC" oldname="wxScreenDC" module="gdi"> |
10290 | <baseclass name="DC"/> | |
10291 | <constructor name="ScreenDC" overloaded="no"> | |
10292 | <autodoc>__init__() -> ScreenDC</autodoc> | |
10293 | </constructor> | |
10294 | <method name="StartDrawingOnTopWin" type="bool" overloaded="no"> | |
10295 | <autodoc>StartDrawingOnTopWin(Window window) -> bool</autodoc> | |
10296 | <paramlist> | |
10297 | <param name="window" type="Window" default=""/> | |
10298 | </paramlist> | |
10299 | </method> | |
10300 | <method name="StartDrawingOnTop" type="bool" overloaded="no"> | |
10301 | <autodoc>StartDrawingOnTop(Rect rect=None) -> bool</autodoc> | |
10302 | <paramlist> | |
10303 | <param name="rect" type="Rect" default="NULL"/> | |
10304 | </paramlist> | |
10305 | </method> | |
10306 | <method name="EndDrawingOnTop" type="bool" overloaded="no"> | |
10307 | <autodoc>EndDrawingOnTop() -> bool</autodoc> | |
10308 | </method> | |
10309 | </class> | |
10310 | <pythoncode> | |
0f43fbdf RD |
10311 | #--------------------------------------------------------------------------- |
10312 | </pythoncode> | |
f32fc4bc RD |
10313 | <class name="ClientDC" oldname="wxClientDC" module="gdi"> |
10314 | <baseclass name="DC"/> | |
10315 | <constructor name="ClientDC" overloaded="no"> | |
10316 | <autodoc>__init__(Window win) -> ClientDC</autodoc> | |
10317 | <paramlist> | |
10318 | <param name="win" type="Window" default=""/> | |
10319 | </paramlist> | |
10320 | </constructor> | |
10321 | </class> | |
10322 | <pythoncode> | |
0f43fbdf RD |
10323 | #--------------------------------------------------------------------------- |
10324 | </pythoncode> | |
f32fc4bc RD |
10325 | <class name="PaintDC" oldname="wxPaintDC" module="gdi"> |
10326 | <baseclass name="DC"/> | |
10327 | <constructor name="PaintDC" overloaded="no"> | |
10328 | <autodoc>__init__(Window win) -> PaintDC</autodoc> | |
10329 | <paramlist> | |
10330 | <param name="win" type="Window" default=""/> | |
10331 | </paramlist> | |
10332 | </constructor> | |
10333 | </class> | |
0dd25e81 | 10334 | <pythoncode> |
0f43fbdf RD |
10335 | #--------------------------------------------------------------------------- |
10336 | </pythoncode> | |
f32fc4bc RD |
10337 | <class name="WindowDC" oldname="wxWindowDC" module="gdi"> |
10338 | <baseclass name="DC"/> | |
10339 | <constructor name="WindowDC" overloaded="no"> | |
10340 | <autodoc>__init__(Window win) -> WindowDC</autodoc> | |
10341 | <paramlist> | |
10342 | <param name="win" type="Window" default=""/> | |
10343 | </paramlist> | |
10344 | </constructor> | |
10345 | </class> | |
10346 | <pythoncode> | |
10347 | #--------------------------------------------------------------------------- | |
0f43fbdf | 10348 | </pythoncode> |
f32fc4bc RD |
10349 | <class name="MirrorDC" oldname="wxMirrorDC" module="gdi"> |
10350 | <baseclass name="DC"/> | |
10351 | <constructor name="MirrorDC" overloaded="no"> | |
10352 | <autodoc>__init__(DC dc, bool mirror) -> MirrorDC</autodoc> | |
10353 | <paramlist> | |
10354 | <param name="dc" type="DC" default=""/> | |
10355 | <param name="mirror" type="bool" default=""/> | |
10356 | </paramlist> | |
10357 | </constructor> | |
10358 | </class> | |
10359 | <pythoncode> | |
0f43fbdf RD |
10360 | #--------------------------------------------------------------------------- |
10361 | </pythoncode> | |
f32fc4bc RD |
10362 | <class name="PostScriptDC" oldname="wxPostScriptDC" module="gdi"> |
10363 | <baseclass name="DC"/> | |
10364 | <constructor name="PostScriptDC" overloaded="no"> | |
10365 | <autodoc>__init__(wxPrintData printData) -> PostScriptDC</autodoc> | |
10366 | <paramlist> | |
10367 | <param name="printData" type="wxPrintData" default=""/> | |
10368 | </paramlist> | |
10369 | </constructor> | |
10370 | <method name="GetPrintData" type="wxPrintData" overloaded="no"> | |
10371 | <autodoc>GetPrintData() -> wxPrintData</autodoc> | |
10372 | </method> | |
10373 | <method name="SetPrintData" type="" overloaded="no"> | |
10374 | <autodoc>SetPrintData(wxPrintData data)</autodoc> | |
10375 | <paramlist> | |
10376 | <param name="data" type="wxPrintData" default=""/> | |
10377 | </paramlist> | |
10378 | </method> | |
10379 | <staticmethod name="SetResolution" type="" overloaded="no"> | |
10380 | <autodoc>SetResolution(int ppi)</autodoc> | |
10381 | <paramlist> | |
10382 | <param name="ppi" type="int" default=""/> | |
10383 | </paramlist> | |
10384 | </staticmethod> | |
10385 | <staticmethod name="GetResolution" type="int" overloaded="no"> | |
10386 | <autodoc>GetResolution() -> int</autodoc> | |
10387 | </staticmethod> | |
10388 | </class> | |
0dd25e81 | 10389 | <pythoncode> |
0f43fbdf RD |
10390 | #--------------------------------------------------------------------------- |
10391 | </pythoncode> | |
f32fc4bc RD |
10392 | <class name="MetaFile" oldname="wxMetaFile" module="gdi"> |
10393 | <baseclass name="Object"/> | |
10394 | <constructor name="MetaFile" overloaded="no"> | |
10395 | <autodoc>__init__(String filename=EmptyString) -> MetaFile</autodoc> | |
10396 | <paramlist> | |
10397 | <param name="filename" type="String" default="wxPyEmptyString"/> | |
10398 | </paramlist> | |
10399 | </constructor> | |
10400 | </class> | |
10401 | <class name="MetaFileDC" oldname="wxMetaFileDC" module="gdi"> | |
10402 | <baseclass name="DC"/> | |
10403 | <constructor name="MetaFileDC" overloaded="no"> | |
10404 | <autodoc>__init__(String filename=EmptyString, int width=0, int height=0, | |
0f43fbdf | 10405 | String description=EmptyString) -> MetaFileDC</autodoc> |
f32fc4bc RD |
10406 | <paramlist> |
10407 | <param name="filename" type="String" default="wxPyEmptyString"/> | |
10408 | <param name="width" type="int" default="0"/> | |
10409 | <param name="height" type="int" default="0"/> | |
10410 | <param name="description" type="String" default="wxPyEmptyString"/> | |
10411 | </paramlist> | |
10412 | </constructor> | |
10413 | </class> | |
10414 | <class name="PrinterDC" oldname="wxPrinterDC" module="gdi"> | |
10415 | <baseclass name="DC"/> | |
10416 | <constructor name="PrinterDC" overloaded="no"> | |
10417 | <autodoc>__init__(wxPrintData printData) -> PrinterDC</autodoc> | |
10418 | <paramlist> | |
10419 | <param name="printData" type="wxPrintData" default=""/> | |
10420 | </paramlist> | |
10421 | </constructor> | |
10422 | </class> | |
10423 | <pythoncode> | |
cff531b1 RD |
10424 | class DC_old(DC): |
10425 | """DC class that has methods with 2.4 compatible parameters.""" | |
10426 | FloodFill = DC.FloodFillXY | |
10427 | GetPixel = DC.GetPixelXY | |
10428 | DrawLine = DC.DrawLineXY | |
10429 | CrossHair = DC.CrossHairXY | |
10430 | DrawArc = DC.DrawArcXY | |
10431 | DrawCheckMark = DC.DrawCheckMarkXY | |
10432 | DrawEllipticArc = DC.DrawEllipticArcXY | |
10433 | DrawPoint = DC.DrawPointXY | |
10434 | DrawRectangle = DC.DrawRectangleXY | |
10435 | DrawRoundedRectangle = DC.DrawRoundedRectangleXY | |
10436 | DrawCircle = DC.DrawCircleXY | |
10437 | DrawEllipse = DC.DrawEllipseXY | |
10438 | DrawIcon = DC.DrawIconXY | |
10439 | DrawBitmap = DC.DrawBitmapXY | |
10440 | DrawText = DC.DrawTextXY | |
10441 | DrawRotatedText = DC.DrawRotatedTextXY | |
10442 | Blit = DC.BlitXY | |
10443 | </pythoncode> | |
f32fc4bc | 10444 | <pythoncode> |
cff531b1 RD |
10445 | class MemoryDC_old(MemoryDC): |
10446 | """DC class that has methods with 2.4 compatible parameters.""" | |
10447 | FloodFill = MemoryDC.FloodFillXY | |
10448 | GetPixel = MemoryDC.GetPixelXY | |
10449 | DrawLine = MemoryDC.DrawLineXY | |
10450 | CrossHair = MemoryDC.CrossHairXY | |
10451 | DrawArc = MemoryDC.DrawArcXY | |
10452 | DrawCheckMark = MemoryDC.DrawCheckMarkXY | |
10453 | DrawEllipticArc = MemoryDC.DrawEllipticArcXY | |
10454 | DrawPoint = MemoryDC.DrawPointXY | |
10455 | DrawRectangle = MemoryDC.DrawRectangleXY | |
10456 | DrawRoundedRectangle = MemoryDC.DrawRoundedRectangleXY | |
10457 | DrawCircle = MemoryDC.DrawCircleXY | |
10458 | DrawEllipse = MemoryDC.DrawEllipseXY | |
10459 | DrawIcon = MemoryDC.DrawIconXY | |
10460 | DrawBitmap = MemoryDC.DrawBitmapXY | |
10461 | DrawText = MemoryDC.DrawTextXY | |
10462 | DrawRotatedText = MemoryDC.DrawRotatedTextXY | |
10463 | Blit = MemoryDC.BlitXY | |
10464 | </pythoncode> | |
f32fc4bc | 10465 | <pythoncode> |
cff531b1 RD |
10466 | class BufferedDC_old(BufferedDC): |
10467 | """DC class that has methods with 2.4 compatible parameters.""" | |
10468 | FloodFill = BufferedDC.FloodFillXY | |
10469 | GetPixel = BufferedDC.GetPixelXY | |
10470 | DrawLine = BufferedDC.DrawLineXY | |
10471 | CrossHair = BufferedDC.CrossHairXY | |
10472 | DrawArc = BufferedDC.DrawArcXY | |
10473 | DrawCheckMark = BufferedDC.DrawCheckMarkXY | |
10474 | DrawEllipticArc = BufferedDC.DrawEllipticArcXY | |
10475 | DrawPoint = BufferedDC.DrawPointXY | |
10476 | DrawRectangle = BufferedDC.DrawRectangleXY | |
10477 | DrawRoundedRectangle = BufferedDC.DrawRoundedRectangleXY | |
10478 | DrawCircle = BufferedDC.DrawCircleXY | |
10479 | DrawEllipse = BufferedDC.DrawEllipseXY | |
10480 | DrawIcon = BufferedDC.DrawIconXY | |
10481 | DrawBitmap = BufferedDC.DrawBitmapXY | |
10482 | DrawText = BufferedDC.DrawTextXY | |
10483 | DrawRotatedText = BufferedDC.DrawRotatedTextXY | |
10484 | Blit = BufferedDC.BlitXY | |
10485 | </pythoncode> | |
f32fc4bc | 10486 | <pythoncode> |
cff531b1 RD |
10487 | class BufferedPaintDC_old(BufferedPaintDC): |
10488 | """DC class that has methods with 2.4 compatible parameters.""" | |
10489 | FloodFill = BufferedPaintDC.FloodFillXY | |
10490 | GetPixel = BufferedPaintDC.GetPixelXY | |
10491 | DrawLine = BufferedPaintDC.DrawLineXY | |
10492 | CrossHair = BufferedPaintDC.CrossHairXY | |
10493 | DrawArc = BufferedPaintDC.DrawArcXY | |
10494 | DrawCheckMark = BufferedPaintDC.DrawCheckMarkXY | |
10495 | DrawEllipticArc = BufferedPaintDC.DrawEllipticArcXY | |
10496 | DrawPoint = BufferedPaintDC.DrawPointXY | |
10497 | DrawRectangle = BufferedPaintDC.DrawRectangleXY | |
10498 | DrawRoundedRectangle = BufferedPaintDC.DrawRoundedRectangleXY | |
10499 | DrawCircle = BufferedPaintDC.DrawCircleXY | |
10500 | DrawEllipse = BufferedPaintDC.DrawEllipseXY | |
10501 | DrawIcon = BufferedPaintDC.DrawIconXY | |
10502 | DrawBitmap = BufferedPaintDC.DrawBitmapXY | |
10503 | DrawText = BufferedPaintDC.DrawTextXY | |
10504 | DrawRotatedText = BufferedPaintDC.DrawRotatedTextXY | |
10505 | Blit = BufferedPaintDC.BlitXY | |
10506 | </pythoncode> | |
f32fc4bc | 10507 | <pythoncode> |
cff531b1 RD |
10508 | class ScreenDC_old(ScreenDC): |
10509 | """DC class that has methods with 2.4 compatible parameters.""" | |
10510 | FloodFill = ScreenDC.FloodFillXY | |
10511 | GetPixel = ScreenDC.GetPixelXY | |
10512 | DrawLine = ScreenDC.DrawLineXY | |
10513 | CrossHair = ScreenDC.CrossHairXY | |
10514 | DrawArc = ScreenDC.DrawArcXY | |
10515 | DrawCheckMark = ScreenDC.DrawCheckMarkXY | |
10516 | DrawEllipticArc = ScreenDC.DrawEllipticArcXY | |
10517 | DrawPoint = ScreenDC.DrawPointXY | |
10518 | DrawRectangle = ScreenDC.DrawRectangleXY | |
10519 | DrawRoundedRectangle = ScreenDC.DrawRoundedRectangleXY | |
10520 | DrawCircle = ScreenDC.DrawCircleXY | |
10521 | DrawEllipse = ScreenDC.DrawEllipseXY | |
10522 | DrawIcon = ScreenDC.DrawIconXY | |
10523 | DrawBitmap = ScreenDC.DrawBitmapXY | |
10524 | DrawText = ScreenDC.DrawTextXY | |
10525 | DrawRotatedText = ScreenDC.DrawRotatedTextXY | |
10526 | Blit = ScreenDC.BlitXY | |
10527 | </pythoncode> | |
f32fc4bc | 10528 | <pythoncode> |
cff531b1 RD |
10529 | class ClientDC_old(ClientDC): |
10530 | """DC class that has methods with 2.4 compatible parameters.""" | |
10531 | FloodFill = ClientDC.FloodFillXY | |
10532 | GetPixel = ClientDC.GetPixelXY | |
10533 | DrawLine = ClientDC.DrawLineXY | |
10534 | CrossHair = ClientDC.CrossHairXY | |
10535 | DrawArc = ClientDC.DrawArcXY | |
10536 | DrawCheckMark = ClientDC.DrawCheckMarkXY | |
10537 | DrawEllipticArc = ClientDC.DrawEllipticArcXY | |
10538 | DrawPoint = ClientDC.DrawPointXY | |
10539 | DrawRectangle = ClientDC.DrawRectangleXY | |
10540 | DrawRoundedRectangle = ClientDC.DrawRoundedRectangleXY | |
10541 | DrawCircle = ClientDC.DrawCircleXY | |
10542 | DrawEllipse = ClientDC.DrawEllipseXY | |
10543 | DrawIcon = ClientDC.DrawIconXY | |
10544 | DrawBitmap = ClientDC.DrawBitmapXY | |
10545 | DrawText = ClientDC.DrawTextXY | |
10546 | DrawRotatedText = ClientDC.DrawRotatedTextXY | |
10547 | Blit = ClientDC.BlitXY | |
10548 | </pythoncode> | |
f32fc4bc | 10549 | <pythoncode> |
cff531b1 RD |
10550 | class PaintDC_old(PaintDC): |
10551 | """DC class that has methods with 2.4 compatible parameters.""" | |
10552 | FloodFill = PaintDC.FloodFillXY | |
10553 | GetPixel = PaintDC.GetPixelXY | |
10554 | DrawLine = PaintDC.DrawLineXY | |
10555 | CrossHair = PaintDC.CrossHairXY | |
10556 | DrawArc = PaintDC.DrawArcXY | |
10557 | DrawCheckMark = PaintDC.DrawCheckMarkXY | |
10558 | DrawEllipticArc = PaintDC.DrawEllipticArcXY | |
10559 | DrawPoint = PaintDC.DrawPointXY | |
10560 | DrawRectangle = PaintDC.DrawRectangleXY | |
10561 | DrawRoundedRectangle = PaintDC.DrawRoundedRectangleXY | |
10562 | DrawCircle = PaintDC.DrawCircleXY | |
10563 | DrawEllipse = PaintDC.DrawEllipseXY | |
10564 | DrawIcon = PaintDC.DrawIconXY | |
10565 | DrawBitmap = PaintDC.DrawBitmapXY | |
10566 | DrawText = PaintDC.DrawTextXY | |
10567 | DrawRotatedText = PaintDC.DrawRotatedTextXY | |
10568 | Blit = PaintDC.BlitXY | |
10569 | </pythoncode> | |
f32fc4bc | 10570 | <pythoncode> |
cff531b1 RD |
10571 | class WindowDC_old(WindowDC): |
10572 | """DC class that has methods with 2.4 compatible parameters.""" | |
10573 | FloodFill = WindowDC.FloodFillXY | |
10574 | GetPixel = WindowDC.GetPixelXY | |
10575 | DrawLine = WindowDC.DrawLineXY | |
10576 | CrossHair = WindowDC.CrossHairXY | |
10577 | DrawArc = WindowDC.DrawArcXY | |
10578 | DrawCheckMark = WindowDC.DrawCheckMarkXY | |
10579 | DrawEllipticArc = WindowDC.DrawEllipticArcXY | |
10580 | DrawPoint = WindowDC.DrawPointXY | |
10581 | DrawRectangle = WindowDC.DrawRectangleXY | |
10582 | DrawRoundedRectangle = WindowDC.DrawRoundedRectangleXY | |
10583 | DrawCircle = WindowDC.DrawCircleXY | |
10584 | DrawEllipse = WindowDC.DrawEllipseXY | |
10585 | DrawIcon = WindowDC.DrawIconXY | |
10586 | DrawBitmap = WindowDC.DrawBitmapXY | |
10587 | DrawText = WindowDC.DrawTextXY | |
10588 | DrawRotatedText = WindowDC.DrawRotatedTextXY | |
10589 | Blit = WindowDC.BlitXY | |
10590 | </pythoncode> | |
f32fc4bc | 10591 | <pythoncode> |
cff531b1 RD |
10592 | class MirrorDC_old(MirrorDC): |
10593 | """DC class that has methods with 2.4 compatible parameters.""" | |
10594 | FloodFill = MirrorDC.FloodFillXY | |
10595 | GetPixel = MirrorDC.GetPixelXY | |
10596 | DrawLine = MirrorDC.DrawLineXY | |
10597 | CrossHair = MirrorDC.CrossHairXY | |
10598 | DrawArc = MirrorDC.DrawArcXY | |
10599 | DrawCheckMark = MirrorDC.DrawCheckMarkXY | |
10600 | DrawEllipticArc = MirrorDC.DrawEllipticArcXY | |
10601 | DrawPoint = MirrorDC.DrawPointXY | |
10602 | DrawRectangle = MirrorDC.DrawRectangleXY | |
10603 | DrawRoundedRectangle = MirrorDC.DrawRoundedRectangleXY | |
10604 | DrawCircle = MirrorDC.DrawCircleXY | |
10605 | DrawEllipse = MirrorDC.DrawEllipseXY | |
10606 | DrawIcon = MirrorDC.DrawIconXY | |
10607 | DrawBitmap = MirrorDC.DrawBitmapXY | |
10608 | DrawText = MirrorDC.DrawTextXY | |
10609 | DrawRotatedText = MirrorDC.DrawRotatedTextXY | |
10610 | Blit = MirrorDC.BlitXY | |
10611 | </pythoncode> | |
f32fc4bc | 10612 | <pythoncode> |
cff531b1 RD |
10613 | class PostScriptDC_old(PostScriptDC): |
10614 | """DC class that has methods with 2.4 compatible parameters.""" | |
10615 | FloodFill = PostScriptDC.FloodFillXY | |
10616 | GetPixel = PostScriptDC.GetPixelXY | |
10617 | DrawLine = PostScriptDC.DrawLineXY | |
10618 | CrossHair = PostScriptDC.CrossHairXY | |
10619 | DrawArc = PostScriptDC.DrawArcXY | |
10620 | DrawCheckMark = PostScriptDC.DrawCheckMarkXY | |
10621 | DrawEllipticArc = PostScriptDC.DrawEllipticArcXY | |
10622 | DrawPoint = PostScriptDC.DrawPointXY | |
10623 | DrawRectangle = PostScriptDC.DrawRectangleXY | |
10624 | DrawRoundedRectangle = PostScriptDC.DrawRoundedRectangleXY | |
10625 | DrawCircle = PostScriptDC.DrawCircleXY | |
10626 | DrawEllipse = PostScriptDC.DrawEllipseXY | |
10627 | DrawIcon = PostScriptDC.DrawIconXY | |
10628 | DrawBitmap = PostScriptDC.DrawBitmapXY | |
10629 | DrawText = PostScriptDC.DrawTextXY | |
10630 | DrawRotatedText = PostScriptDC.DrawRotatedTextXY | |
10631 | Blit = PostScriptDC.BlitXY | |
10632 | </pythoncode> | |
f32fc4bc | 10633 | <pythoncode> |
cff531b1 RD |
10634 | class MetaFileDC_old(MetaFileDC): |
10635 | """DC class that has methods with 2.4 compatible parameters.""" | |
10636 | FloodFill = MetaFileDC.FloodFillXY | |
10637 | GetPixel = MetaFileDC.GetPixelXY | |
10638 | DrawLine = MetaFileDC.DrawLineXY | |
10639 | CrossHair = MetaFileDC.CrossHairXY | |
10640 | DrawArc = MetaFileDC.DrawArcXY | |
10641 | DrawCheckMark = MetaFileDC.DrawCheckMarkXY | |
10642 | DrawEllipticArc = MetaFileDC.DrawEllipticArcXY | |
10643 | DrawPoint = MetaFileDC.DrawPointXY | |
10644 | DrawRectangle = MetaFileDC.DrawRectangleXY | |
10645 | DrawRoundedRectangle = MetaFileDC.DrawRoundedRectangleXY | |
10646 | DrawCircle = MetaFileDC.DrawCircleXY | |
10647 | DrawEllipse = MetaFileDC.DrawEllipseXY | |
10648 | DrawIcon = MetaFileDC.DrawIconXY | |
10649 | DrawBitmap = MetaFileDC.DrawBitmapXY | |
10650 | DrawText = MetaFileDC.DrawTextXY | |
10651 | DrawRotatedText = MetaFileDC.DrawRotatedTextXY | |
10652 | Blit = MetaFileDC.BlitXY | |
10653 | </pythoncode> | |
f32fc4bc | 10654 | <pythoncode> |
cff531b1 RD |
10655 | class PrinterDC_old(PrinterDC): |
10656 | """DC class that has methods with 2.4 compatible parameters.""" | |
10657 | FloodFill = PrinterDC.FloodFillXY | |
10658 | GetPixel = PrinterDC.GetPixelXY | |
10659 | DrawLine = PrinterDC.DrawLineXY | |
10660 | CrossHair = PrinterDC.CrossHairXY | |
10661 | DrawArc = PrinterDC.DrawArcXY | |
10662 | DrawCheckMark = PrinterDC.DrawCheckMarkXY | |
10663 | DrawEllipticArc = PrinterDC.DrawEllipticArcXY | |
10664 | DrawPoint = PrinterDC.DrawPointXY | |
10665 | DrawRectangle = PrinterDC.DrawRectangleXY | |
10666 | DrawRoundedRectangle = PrinterDC.DrawRoundedRectangleXY | |
10667 | DrawCircle = PrinterDC.DrawCircleXY | |
10668 | DrawEllipse = PrinterDC.DrawEllipseXY | |
10669 | DrawIcon = PrinterDC.DrawIconXY | |
10670 | DrawBitmap = PrinterDC.DrawBitmapXY | |
10671 | DrawText = PrinterDC.DrawTextXY | |
10672 | DrawRotatedText = PrinterDC.DrawRotatedTextXY | |
10673 | Blit = PrinterDC.BlitXY | |
10674 | </pythoncode> | |
f32fc4bc | 10675 | <pythoncode> |
856bf319 RD |
10676 | #--------------------------------------------------------------------------- |
10677 | </pythoncode> | |
f32fc4bc RD |
10678 | <class name="ImageList" oldname="wxImageList" module="gdi"> |
10679 | <baseclass name="Object"/> | |
10680 | <constructor name="ImageList" overloaded="no"> | |
10681 | <autodoc>__init__(int width, int height, int mask=True, int initialCount=1) -> ImageList</autodoc> | |
10682 | <paramlist> | |
10683 | <param name="width" type="int" default=""/> | |
10684 | <param name="height" type="int" default=""/> | |
10685 | <param name="mask" type="int" default="True"/> | |
10686 | <param name="initialCount" type="int" default="1"/> | |
10687 | </paramlist> | |
10688 | </constructor> | |
10689 | <destructor name="~wxImageList" overloaded="no"> | |
10690 | <autodoc>__del__()</autodoc> | |
10691 | </destructor> | |
10692 | <method name="Add" type="int" overloaded="no"> | |
10693 | <autodoc>Add(Bitmap bitmap, Bitmap mask=NullBitmap) -> int</autodoc> | |
10694 | <paramlist> | |
10695 | <param name="bitmap" type="Bitmap" default=""/> | |
10696 | <param name="mask" type="Bitmap" default="wxNullBitmap"/> | |
10697 | </paramlist> | |
10698 | </method> | |
10699 | <method name="AddWithColourMask" type="int" overloaded="no"> | |
10700 | <autodoc>AddWithColourMask(Bitmap bitmap, Colour maskColour) -> int</autodoc> | |
10701 | <paramlist> | |
10702 | <param name="bitmap" type="Bitmap" default=""/> | |
10703 | <param name="maskColour" type="Colour" default=""/> | |
10704 | </paramlist> | |
10705 | </method> | |
10706 | <method name="AddIcon" type="int" overloaded="no"> | |
10707 | <autodoc>AddIcon(Icon icon) -> int</autodoc> | |
10708 | <paramlist> | |
10709 | <param name="icon" type="Icon" default=""/> | |
10710 | </paramlist> | |
10711 | </method> | |
10712 | <method name="Replace" type="bool" overloaded="no"> | |
10713 | <autodoc>Replace(int index, Bitmap bitmap) -> bool</autodoc> | |
10714 | <paramlist> | |
10715 | <param name="index" type="int" default=""/> | |
10716 | <param name="bitmap" type="Bitmap" default=""/> | |
10717 | </paramlist> | |
10718 | </method> | |
10719 | <method name="Draw" type="bool" overloaded="no"> | |
10720 | <autodoc>Draw(int index, DC dc, int x, int x, int flags=IMAGELIST_DRAW_NORMAL, | |
856bf319 | 10721 | bool solidBackground=False) -> bool</autodoc> |
f32fc4bc RD |
10722 | <paramlist> |
10723 | <param name="index" type="int" default=""/> | |
10724 | <param name="dc" type="DC" default=""/> | |
10725 | <param name="x" type="int" default=""/> | |
10726 | <param name="x" type="int" default=""/> | |
10727 | <param name="flags" type="int" default="wxIMAGELIST_DRAW_NORMAL"/> | |
10728 | <param name="solidBackground" type="bool" default="False"/> | |
10729 | </paramlist> | |
10730 | </method> | |
10731 | <method name="GetImageCount" type="int" overloaded="no"> | |
10732 | <autodoc>GetImageCount() -> int</autodoc> | |
10733 | </method> | |
10734 | <method name="Remove" type="bool" overloaded="no"> | |
10735 | <autodoc>Remove(int index) -> bool</autodoc> | |
10736 | <paramlist> | |
10737 | <param name="index" type="int" default=""/> | |
10738 | </paramlist> | |
10739 | </method> | |
10740 | <method name="RemoveAll" type="bool" overloaded="no"> | |
10741 | <autodoc>RemoveAll() -> bool</autodoc> | |
10742 | </method> | |
10743 | <method name="GetSize" type="" overloaded="no"> | |
10744 | <autodoc>GetSize() -> (width,height)</autodoc> | |
10745 | <paramlist> | |
10746 | <param name="index" type="int" default=""/> | |
10747 | <param name="OUTPUT" type="int" default=""/> | |
10748 | <param name="OUTPUT" type="int" default=""/> | |
10749 | </paramlist> | |
10750 | </method> | |
10751 | </class> | |
10752 | <pythoncode> | |
856bf319 RD |
10753 | #--------------------------------------------------------------------------- |
10754 | </pythoncode> | |
f32fc4bc RD |
10755 | <class name="PenList" oldname="wxPenList" module="gdi"> |
10756 | <baseclass name="Object"/> | |
10757 | <method name="AddPen" type="" overloaded="no"> | |
10758 | <autodoc>AddPen(Pen pen)</autodoc> | |
10759 | <paramlist> | |
10760 | <param name="pen" type="Pen" default=""/> | |
10761 | </paramlist> | |
10762 | </method> | |
10763 | <method name="FindOrCreatePen" type="Pen" overloaded="no"> | |
10764 | <autodoc>FindOrCreatePen(Colour colour, int width, int style) -> Pen</autodoc> | |
10765 | <paramlist> | |
10766 | <param name="colour" type="Colour" default=""/> | |
10767 | <param name="width" type="int" default=""/> | |
10768 | <param name="style" type="int" default=""/> | |
10769 | </paramlist> | |
10770 | </method> | |
10771 | <method name="RemovePen" type="" overloaded="no"> | |
10772 | <autodoc>RemovePen(Pen pen)</autodoc> | |
10773 | <paramlist> | |
10774 | <param name="pen" type="Pen" default=""/> | |
10775 | </paramlist> | |
10776 | </method> | |
10777 | <method name="GetCount" type="int" overloaded="no"> | |
10778 | <autodoc>GetCount() -> int</autodoc> | |
10779 | </method> | |
10780 | </class> | |
10781 | <class name="BrushList" oldname="wxBrushList" module="gdi"> | |
10782 | <baseclass name="Object"/> | |
10783 | <method name="AddBrush" type="" overloaded="no"> | |
10784 | <autodoc>AddBrush(Brush brush)</autodoc> | |
10785 | <paramlist> | |
10786 | <param name="brush" type="Brush" default=""/> | |
10787 | </paramlist> | |
10788 | </method> | |
10789 | <method name="FindOrCreateBrush" type="Brush" overloaded="no"> | |
10790 | <autodoc>FindOrCreateBrush(Colour colour, int style) -> Brush</autodoc> | |
10791 | <paramlist> | |
10792 | <param name="colour" type="Colour" default=""/> | |
10793 | <param name="style" type="int" default=""/> | |
10794 | </paramlist> | |
10795 | </method> | |
10796 | <method name="RemoveBrush" type="" overloaded="no"> | |
10797 | <autodoc>RemoveBrush(Brush brush)</autodoc> | |
10798 | <paramlist> | |
10799 | <param name="brush" type="Brush" default=""/> | |
10800 | </paramlist> | |
10801 | </method> | |
10802 | <method name="GetCount" type="int" overloaded="no"> | |
10803 | <autodoc>GetCount() -> int</autodoc> | |
10804 | </method> | |
10805 | </class> | |
10806 | <class name="ColourDatabase" oldname="wxColourDatabase" module="gdi"> | |
10807 | <baseclass name="Object"/> | |
10808 | <constructor name="ColourDatabase" overloaded="no"> | |
10809 | <autodoc>__init__() -> ColourDatabase</autodoc> | |
10810 | </constructor> | |
10811 | <destructor name="~wxColourDatabase" overloaded="no"> | |
10812 | <autodoc>__del__()</autodoc> | |
10813 | </destructor> | |
10814 | <method name="Find" type="Colour" overloaded="no"> | |
10815 | <autodoc>Find(String name) -> Colour</autodoc> | |
10816 | <paramlist> | |
10817 | <param name="name" type="String" default=""/> | |
10818 | </paramlist> | |
10819 | </method> | |
10820 | <method name="FindName" type="String" overloaded="no"> | |
10821 | <autodoc>FindName(Colour colour) -> String</autodoc> | |
10822 | <paramlist> | |
10823 | <param name="colour" type="Colour" default=""/> | |
10824 | </paramlist> | |
10825 | </method> | |
10826 | <method name="AddColour" type="" overloaded="no"> | |
10827 | <autodoc>AddColour(String name, Colour colour)</autodoc> | |
10828 | <paramlist> | |
10829 | <param name="name" type="String" default=""/> | |
10830 | <param name="colour" type="Colour" default=""/> | |
10831 | </paramlist> | |
10832 | </method> | |
10833 | <method name="Append" type="" overloaded="no"> | |
10834 | <autodoc>Append(String name, int red, int green, int blue)</autodoc> | |
10835 | <paramlist> | |
10836 | <param name="name" type="String" default=""/> | |
10837 | <param name="red" type="int" default=""/> | |
10838 | <param name="green" type="int" default=""/> | |
10839 | <param name="blue" type="int" default=""/> | |
10840 | </paramlist> | |
10841 | </method> | |
10842 | </class> | |
10843 | <class name="FontList" oldname="wxFontList" module="gdi"> | |
10844 | <baseclass name="Object"/> | |
10845 | <method name="AddFont" type="" overloaded="no"> | |
10846 | <autodoc>AddFont(Font font)</autodoc> | |
10847 | <paramlist> | |
10848 | <param name="font" type="Font" default=""/> | |
10849 | </paramlist> | |
10850 | </method> | |
10851 | <method name="FindOrCreateFont" type="Font" overloaded="no"> | |
10852 | <autodoc>FindOrCreateFont(int point_size, int family, int style, int weight, | |
856bf319 RD |
10853 | bool underline=False, String facename=EmptyString, |
10854 | int encoding=FONTENCODING_DEFAULT) -> Font</autodoc> | |
f32fc4bc RD |
10855 | <paramlist> |
10856 | <param name="point_size" type="int" default=""/> | |
10857 | <param name="family" type="int" default=""/> | |
10858 | <param name="style" type="int" default=""/> | |
10859 | <param name="weight" type="int" default=""/> | |
10860 | <param name="underline" type="bool" default="False"/> | |
10861 | <param name="facename" type="String" default="wxPyEmptyString"/> | |
10862 | <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_DEFAULT"/> | |
10863 | </paramlist> | |
10864 | </method> | |
10865 | <method name="RemoveFont" type="" overloaded="no"> | |
10866 | <autodoc>RemoveFont(Font font)</autodoc> | |
10867 | <paramlist> | |
10868 | <param name="font" type="Font" default=""/> | |
10869 | </paramlist> | |
10870 | </method> | |
10871 | <method name="GetCount" type="int" overloaded="no"> | |
10872 | <autodoc>GetCount() -> int</autodoc> | |
10873 | </method> | |
10874 | </class> | |
10875 | <pythoncode> | |
856bf319 RD |
10876 | #--------------------------------------------------------------------------- |
10877 | </pythoncode> | |
f32fc4bc RD |
10878 | <pythoncode> NullColor = NullColour </pythoncode> |
10879 | <pythoncode> | |
856bf319 RD |
10880 | #--------------------------------------------------------------------------- |
10881 | </pythoncode> | |
f32fc4bc RD |
10882 | <class name="Effects" oldname="wxEffects" module="gdi"> |
10883 | <baseclass name="Object"/> | |
10884 | <constructor name="Effects" overloaded="no"> | |
10885 | <autodoc>__init__() -> Effects</autodoc> | |
10886 | </constructor> | |
10887 | <method name="GetHighlightColour" type="Colour" overloaded="no"> | |
10888 | <autodoc>GetHighlightColour() -> Colour</autodoc> | |
10889 | </method> | |
10890 | <method name="GetLightShadow" type="Colour" overloaded="no"> | |
10891 | <autodoc>GetLightShadow() -> Colour</autodoc> | |
10892 | </method> | |
10893 | <method name="GetFaceColour" type="Colour" overloaded="no"> | |
10894 | <autodoc>GetFaceColour() -> Colour</autodoc> | |
10895 | </method> | |
10896 | <method name="GetMediumShadow" type="Colour" overloaded="no"> | |
10897 | <autodoc>GetMediumShadow() -> Colour</autodoc> | |
10898 | </method> | |
10899 | <method name="GetDarkShadow" type="Colour" overloaded="no"> | |
10900 | <autodoc>GetDarkShadow() -> Colour</autodoc> | |
10901 | </method> | |
10902 | <method name="SetHighlightColour" type="" overloaded="no"> | |
10903 | <autodoc>SetHighlightColour(Colour c)</autodoc> | |
10904 | <paramlist> | |
10905 | <param name="c" type="Colour" default=""/> | |
10906 | </paramlist> | |
10907 | </method> | |
10908 | <method name="SetLightShadow" type="" overloaded="no"> | |
10909 | <autodoc>SetLightShadow(Colour c)</autodoc> | |
10910 | <paramlist> | |
10911 | <param name="c" type="Colour" default=""/> | |
10912 | </paramlist> | |
10913 | </method> | |
10914 | <method name="SetFaceColour" type="" overloaded="no"> | |
10915 | <autodoc>SetFaceColour(Colour c)</autodoc> | |
10916 | <paramlist> | |
10917 | <param name="c" type="Colour" default=""/> | |
10918 | </paramlist> | |
10919 | </method> | |
10920 | <method name="SetMediumShadow" type="" overloaded="no"> | |
10921 | <autodoc>SetMediumShadow(Colour c)</autodoc> | |
10922 | <paramlist> | |
10923 | <param name="c" type="Colour" default=""/> | |
10924 | </paramlist> | |
10925 | </method> | |
10926 | <method name="SetDarkShadow" type="" overloaded="no"> | |
10927 | <autodoc>SetDarkShadow(Colour c)</autodoc> | |
10928 | <paramlist> | |
10929 | <param name="c" type="Colour" default=""/> | |
10930 | </paramlist> | |
10931 | </method> | |
10932 | <method name="Set" type="" overloaded="no"> | |
10933 | <autodoc>Set(Colour highlightColour, Colour lightShadow, Colour faceColour, | |
856bf319 | 10934 | Colour mediumShadow, Colour darkShadow)</autodoc> |
f32fc4bc RD |
10935 | <paramlist> |
10936 | <param name="highlightColour" type="Colour" default=""/> | |
10937 | <param name="lightShadow" type="Colour" default=""/> | |
10938 | <param name="faceColour" type="Colour" default=""/> | |
10939 | <param name="mediumShadow" type="Colour" default=""/> | |
10940 | <param name="darkShadow" type="Colour" default=""/> | |
10941 | </paramlist> | |
10942 | </method> | |
10943 | <method name="DrawSunkenEdge" type="" overloaded="no"> | |
10944 | <autodoc>DrawSunkenEdge(DC dc, Rect rect, int borderSize=1)</autodoc> | |
10945 | <paramlist> | |
10946 | <param name="dc" type="DC" default=""/> | |
10947 | <param name="rect" type="Rect" default=""/> | |
10948 | <param name="borderSize" type="int" default="1"/> | |
10949 | </paramlist> | |
10950 | </method> | |
10951 | <method name="TileBitmap" type="bool" overloaded="no"> | |
10952 | <autodoc>TileBitmap(Rect rect, DC dc, Bitmap bitmap) -> bool</autodoc> | |
10953 | <paramlist> | |
10954 | <param name="rect" type="Rect" default=""/> | |
10955 | <param name="dc" type="DC" default=""/> | |
10956 | <param name="bitmap" type="Bitmap" default=""/> | |
10957 | </paramlist> | |
10958 | </method> | |
10959 | </class> | |
10960 | </module> | |
10961 | <module name="windows"> | |
10962 | <import name="core"/> | |
10963 | <pythoncode> wx = core </pythoncode> | |
10964 | <pythoncode> | |
856bf319 RD |
10965 | #--------------------------------------------------------------------------- |
10966 | </pythoncode> | |
f32fc4bc RD |
10967 | <class name="Panel" oldname="wxPanel" module="windows"> |
10968 | <baseclass name="Window"/> | |
10969 | <constructor name="Panel" overloaded="no"> | |
10970 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
856bf319 RD |
10971 | Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, |
10972 | String name=PanelNameStr) -> Panel</autodoc> | |
f32fc4bc RD |
10973 | <paramlist> |
10974 | <param name="parent" type="Window" default=""/> | |
10975 | <param name="id" type="int" default="-1"/> | |
10976 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
10977 | <param name="size" type="Size" default="wxDefaultSize"/> | |
10978 | <param name="style" type="long" default="wxTAB_TRAVERSAL|wxNO_BORDER"/> | |
10979 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
10980 | </paramlist> | |
10981 | </constructor> | |
10982 | <constructor name="PrePanel" overloaded="no"> | |
10983 | <autodoc>PrePanel() -> Panel</autodoc> | |
10984 | </constructor> | |
10985 | <method name="Create" type="bool" overloaded="no"> | |
10986 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
10987 | long style=wxTAB_TRAVERSAL|wxNO_BORDER, |
10988 | String name=PanelNameStr) -> bool</autodoc> | |
c2dda882 | 10989 | <docstring>Create the GUI part of the Window for 2-phase creation mode.</docstring> |
f32fc4bc RD |
10990 | <paramlist> |
10991 | <param name="parent" type="Window" default=""/> | |
10992 | <param name="id" type="int" default=""/> | |
10993 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
10994 | <param name="size" type="Size" default="wxDefaultSize"/> | |
10995 | <param name="style" type="long" default="wxTAB_TRAVERSAL|wxNO_BORDER"/> | |
10996 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
10997 | </paramlist> | |
10998 | </method> | |
10999 | <method name="InitDialog" type="" overloaded="no"> | |
11000 | <autodoc>InitDialog()</autodoc> | |
11001 | </method> | |
11002 | </class> | |
11003 | <pythoncode> | |
856bf319 RD |
11004 | #--------------------------------------------------------------------------- |
11005 | </pythoncode> | |
f32fc4bc RD |
11006 | <class name="ScrolledWindow" oldname="wxScrolledWindow" module="windows"> |
11007 | <baseclass name="Panel"/> | |
11008 | <constructor name="ScrolledWindow" overloaded="no"> | |
11009 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
856bf319 RD |
11010 | Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, |
11011 | String name=PanelNameStr) -> ScrolledWindow</autodoc> | |
f32fc4bc RD |
11012 | <paramlist> |
11013 | <param name="parent" type="Window" default=""/> | |
11014 | <param name="id" type="int" default="-1"/> | |
11015 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11016 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11017 | <param name="style" type="long" default="wxHSCROLL|wxVSCROLL"/> | |
11018 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
11019 | </paramlist> | |
11020 | </constructor> | |
11021 | <constructor name="PreScrolledWindow" overloaded="no"> | |
11022 | <autodoc>PreScrolledWindow() -> ScrolledWindow</autodoc> | |
11023 | </constructor> | |
11024 | <method name="Create" type="bool" overloaded="no"> | |
11025 | <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, | |
856bf319 RD |
11026 | Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, |
11027 | String name=PanelNameStr) -> bool</autodoc> | |
c2dda882 | 11028 | <docstring>Create the GUI part of the Window for 2-phase creation mode.</docstring> |
f32fc4bc RD |
11029 | <paramlist> |
11030 | <param name="parent" type="Window" default=""/> | |
11031 | <param name="id" type="int" default="-1"/> | |
11032 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11033 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11034 | <param name="style" type="long" default="wxHSCROLL|wxVSCROLL"/> | |
11035 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
11036 | </paramlist> | |
11037 | </method> | |
11038 | <method name="SetScrollbars" type="" overloaded="no"> | |
11039 | <autodoc>SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX, | |
856bf319 | 11040 | int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)</autodoc> |
f32fc4bc RD |
11041 | <paramlist> |
11042 | <param name="pixelsPerUnitX" type="int" default=""/> | |
11043 | <param name="pixelsPerUnitY" type="int" default=""/> | |
11044 | <param name="noUnitsX" type="int" default=""/> | |
11045 | <param name="noUnitsY" type="int" default=""/> | |
11046 | <param name="xPos" type="int" default="0"/> | |
11047 | <param name="yPos" type="int" default="0"/> | |
11048 | <param name="noRefresh" type="bool" default="False"/> | |
11049 | </paramlist> | |
11050 | </method> | |
11051 | <method name="Scroll" type="" overloaded="no"> | |
11052 | <autodoc>Scroll(int x, int y)</autodoc> | |
11053 | <paramlist> | |
11054 | <param name="x" type="int" default=""/> | |
11055 | <param name="y" type="int" default=""/> | |
11056 | </paramlist> | |
11057 | </method> | |
11058 | <method name="GetScrollPageSize" type="int" overloaded="no"> | |
11059 | <autodoc>GetScrollPageSize(int orient) -> int</autodoc> | |
11060 | <paramlist> | |
11061 | <param name="orient" type="int" default=""/> | |
11062 | </paramlist> | |
11063 | </method> | |
11064 | <method name="SetScrollPageSize" type="" overloaded="no"> | |
11065 | <autodoc>SetScrollPageSize(int orient, int pageSize)</autodoc> | |
11066 | <paramlist> | |
11067 | <param name="orient" type="int" default=""/> | |
11068 | <param name="pageSize" type="int" default=""/> | |
11069 | </paramlist> | |
11070 | </method> | |
11071 | <method name="SetScrollRate" type="" overloaded="no"> | |
11072 | <autodoc>SetScrollRate(int xstep, int ystep)</autodoc> | |
11073 | <paramlist> | |
11074 | <param name="xstep" type="int" default=""/> | |
11075 | <param name="ystep" type="int" default=""/> | |
11076 | </paramlist> | |
11077 | </method> | |
11078 | <method name="GetScrollPixelsPerUnit" type="" overloaded="no"> | |
11079 | <autodoc>GetScrollPixelsPerUnit() -> (xUnit, yUnit)</autodoc> | |
11080 | <docstring>Get the size of one logical unit in physical units.</docstring> | |
11081 | <paramlist> | |
11082 | <param name="OUTPUT" type="int" default=""/> | |
11083 | <param name="OUTPUT" type="int" default=""/> | |
11084 | </paramlist> | |
11085 | </method> | |
11086 | <method name="EnableScrolling" type="" overloaded="no"> | |
11087 | <autodoc>EnableScrolling(bool x_scrolling, bool y_scrolling)</autodoc> | |
11088 | <paramlist> | |
11089 | <param name="x_scrolling" type="bool" default=""/> | |
11090 | <param name="y_scrolling" type="bool" default=""/> | |
11091 | </paramlist> | |
11092 | </method> | |
11093 | <method name="GetViewStart" type="" overloaded="no"> | |
11094 | <autodoc>GetViewStart() -> (x,y)</autodoc> | |
11095 | <docstring>Get the view start</docstring> | |
11096 | <paramlist> | |
11097 | <param name="OUTPUT" type="int" default=""/> | |
11098 | <param name="OUTPUT" type="int" default=""/> | |
11099 | </paramlist> | |
11100 | </method> | |
11101 | <method name="SetScale" type="" overloaded="no"> | |
11102 | <autodoc>SetScale(double xs, double ys)</autodoc> | |
11103 | <paramlist> | |
11104 | <param name="xs" type="double" default=""/> | |
11105 | <param name="ys" type="double" default=""/> | |
11106 | </paramlist> | |
11107 | </method> | |
11108 | <method name="GetScaleX" type="double" overloaded="no"> | |
11109 | <autodoc>GetScaleX() -> double</autodoc> | |
11110 | </method> | |
11111 | <method name="GetScaleY" type="double" overloaded="no"> | |
11112 | <autodoc>GetScaleY() -> double</autodoc> | |
11113 | </method> | |
11114 | <method name="CalcScrolledPosition" type="Point" overloaded="yes"> | |
11115 | <docstring>Translate between scrolled and unscrolled coordinates.</docstring> | |
11116 | <paramlist> | |
11117 | <param name="pt" type="Point" default=""/> | |
11118 | </paramlist> | |
11119 | </method> | |
11120 | <method name="CalcScrolledPosition" type="" overloaded="yes"> | |
11121 | <autodoc>CalcScrolledPosition(Point pt) -> Point | |
856bf319 | 11122 | CalcScrolledPosition(int x, int y) -> (sx, sy)</autodoc> |
f32fc4bc RD |
11123 | <docstring>Translate between scrolled and unscrolled coordinates.</docstring> |
11124 | <paramlist> | |
11125 | <param name="x" type="int" default=""/> | |
11126 | <param name="y" type="int" default=""/> | |
11127 | <param name="OUTPUT" type="int" default=""/> | |
11128 | <param name="OUTPUT" type="int" default=""/> | |
11129 | </paramlist> | |
11130 | </method> | |
11131 | <method name="CalcUnscrolledPosition" type="Point" overloaded="yes"> | |
11132 | <docstring>Translate between scrolled and unscrolled coordinates.</docstring> | |
11133 | <paramlist> | |
11134 | <param name="pt" type="Point" default=""/> | |
11135 | </paramlist> | |
11136 | </method> | |
11137 | <method name="CalcUnscrolledPosition" type="" overloaded="yes"> | |
11138 | <autodoc>CalcUnscrolledPosition(Point pt) -> Point | |
856bf319 | 11139 | CalcUnscrolledPosition(int x, int y) -> (ux, uy)</autodoc> |
f32fc4bc RD |
11140 | <docstring>Translate between scrolled and unscrolled coordinates.</docstring> |
11141 | <paramlist> | |
11142 | <param name="x" type="int" default=""/> | |
11143 | <param name="y" type="int" default=""/> | |
11144 | <param name="OUTPUT" type="int" default=""/> | |
11145 | <param name="OUTPUT" type="int" default=""/> | |
11146 | </paramlist> | |
11147 | </method> | |
11148 | <method name="AdjustScrollbars" type="" overloaded="no"> | |
11149 | <autodoc>AdjustScrollbars()</autodoc> | |
11150 | </method> | |
11151 | <method name="CalcScrollInc" type="int" overloaded="no"> | |
11152 | <autodoc>CalcScrollInc(ScrollWinEvent event) -> int</autodoc> | |
11153 | <paramlist> | |
11154 | <param name="event" type="ScrollWinEvent" default=""/> | |
11155 | </paramlist> | |
11156 | </method> | |
11157 | <method name="SetTargetWindow" type="" overloaded="no"> | |
11158 | <autodoc>SetTargetWindow(Window target)</autodoc> | |
11159 | <paramlist> | |
11160 | <param name="target" type="Window" default=""/> | |
11161 | </paramlist> | |
11162 | </method> | |
11163 | <method name="GetTargetWindow" type="Window" overloaded="no"> | |
11164 | <autodoc>GetTargetWindow() -> Window</autodoc> | |
11165 | </method> | |
11166 | </class> | |
11167 | <pythoncode> | |
856bf319 RD |
11168 | #--------------------------------------------------------------------------- |
11169 | </pythoncode> | |
f32fc4bc RD |
11170 | <class name="TopLevelWindow" oldname="wxTopLevelWindow" module="windows"> |
11171 | <baseclass name="Window"/> | |
11172 | <method name="Maximize" type="" overloaded="no"> | |
11173 | <autodoc>Maximize(bool maximize=True)</autodoc> | |
11174 | <paramlist> | |
11175 | <param name="maximize" type="bool" default="True"/> | |
11176 | </paramlist> | |
11177 | </method> | |
11178 | <method name="Restore" type="" overloaded="no"> | |
11179 | <autodoc>Restore()</autodoc> | |
11180 | </method> | |
11181 | <method name="Iconize" type="" overloaded="no"> | |
11182 | <autodoc>Iconize(bool iconize=True)</autodoc> | |
11183 | <paramlist> | |
11184 | <param name="iconize" type="bool" default="True"/> | |
11185 | </paramlist> | |
11186 | </method> | |
11187 | <method name="IsMaximized" type="bool" overloaded="no"> | |
11188 | <autodoc>IsMaximized() -> bool</autodoc> | |
11189 | </method> | |
11190 | <method name="IsIconized" type="bool" overloaded="no"> | |
11191 | <autodoc>IsIconized() -> bool</autodoc> | |
11192 | </method> | |
11193 | <method name="GetIcon" type="Icon" overloaded="no"> | |
11194 | <autodoc>GetIcon() -> Icon</autodoc> | |
11195 | </method> | |
11196 | <method name="SetIcon" type="" overloaded="no"> | |
11197 | <autodoc>SetIcon(Icon icon)</autodoc> | |
11198 | <paramlist> | |
11199 | <param name="icon" type="Icon" default=""/> | |
11200 | </paramlist> | |
11201 | </method> | |
11202 | <method name="SetIcons" type="" overloaded="no"> | |
11203 | <autodoc>SetIcons(wxIconBundle icons)</autodoc> | |
11204 | <paramlist> | |
11205 | <param name="icons" type="IconBundle" default=""/> | |
11206 | </paramlist> | |
11207 | </method> | |
11208 | <method name="ShowFullScreen" type="bool" overloaded="no"> | |
11209 | <autodoc>ShowFullScreen(bool show, long style=FULLSCREEN_ALL) -> bool</autodoc> | |
11210 | <paramlist> | |
11211 | <param name="show" type="bool" default=""/> | |
11212 | <param name="style" type="long" default="wxFULLSCREEN_ALL"/> | |
11213 | </paramlist> | |
11214 | </method> | |
11215 | <method name="IsFullScreen" type="bool" overloaded="no"> | |
11216 | <autodoc>IsFullScreen() -> bool</autodoc> | |
11217 | </method> | |
11218 | <method name="SetTitle" type="" overloaded="no"> | |
11219 | <autodoc>SetTitle(String title)</autodoc> | |
c2dda882 | 11220 | <docstring>Sets the window's title. Applicable only to frames and dialogs.</docstring> |
f32fc4bc RD |
11221 | <paramlist> |
11222 | <param name="title" type="String" default=""/> | |
11223 | </paramlist> | |
11224 | </method> | |
11225 | <method name="GetTitle" type="String" overloaded="no"> | |
11226 | <autodoc>GetTitle() -> String</autodoc> | |
c2dda882 | 11227 | <docstring>Gets the window's title. Applicable only to frames and dialogs.</docstring> |
f32fc4bc RD |
11228 | </method> |
11229 | <method name="SetShape" type="bool" overloaded="no"> | |
11230 | <autodoc>SetShape(Region region) -> bool</autodoc> | |
11231 | <paramlist> | |
11232 | <param name="region" type="Region" default=""/> | |
11233 | </paramlist> | |
11234 | </method> | |
11235 | </class> | |
11236 | <pythoncode> | |
856bf319 RD |
11237 | #--------------------------------------------------------------------------- |
11238 | </pythoncode> | |
f32fc4bc RD |
11239 | <class name="Frame" oldname="wxFrame" module="windows"> |
11240 | <baseclass name="TopLevelWindow"/> | |
11241 | <constructor name="Frame" overloaded="no"> | |
11242 | <autodoc>__init__(Window parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
11243 | Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, |
11244 | String name=FrameNameStr) -> Frame</autodoc> | |
f32fc4bc RD |
11245 | <paramlist> |
11246 | <param name="parent" type="Window" default=""/> | |
11247 | <param name="id" type="int" default=""/> | |
11248 | <param name="title" type="String" default=""/> | |
11249 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11250 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11251 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
11252 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
11253 | </paramlist> | |
11254 | </constructor> | |
11255 | <constructor name="PreFrame" overloaded="no"> | |
11256 | <autodoc>PreFrame() -> Frame</autodoc> | |
11257 | </constructor> | |
11258 | <method name="Create" type="bool" overloaded="no"> | |
11259 | <autodoc>Create(Window parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
11260 | Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, |
11261 | String name=FrameNameStr) -> bool</autodoc> | |
f32fc4bc RD |
11262 | <paramlist> |
11263 | <param name="parent" type="Window" default=""/> | |
11264 | <param name="id" type="int" default=""/> | |
11265 | <param name="title" type="String" default=""/> | |
11266 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11267 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11268 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
11269 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
11270 | </paramlist> | |
11271 | </method> | |
11272 | <method name="GetClientAreaOrigin" type="Point" overloaded="no"> | |
11273 | <autodoc>GetClientAreaOrigin() -> Point</autodoc> | |
c2dda882 RD |
11274 | <docstring>Get the origin of the client area of the window relative to the |
11275 | window's top left corner (the client area may be shifted because of | |
11276 | the borders, scrollbars, other decorations...)</docstring> | |
f32fc4bc RD |
11277 | </method> |
11278 | <method name="SendSizeEvent" type="" overloaded="no"> | |
11279 | <autodoc>SendSizeEvent()</autodoc> | |
11280 | </method> | |
11281 | <method name="SetMenuBar" type="" overloaded="no"> | |
11282 | <autodoc>SetMenuBar(MenuBar menubar)</autodoc> | |
11283 | <paramlist> | |
11284 | <param name="menubar" type="MenuBar" default=""/> | |
11285 | </paramlist> | |
11286 | </method> | |
11287 | <method name="GetMenuBar" type="MenuBar" overloaded="no"> | |
11288 | <autodoc>GetMenuBar() -> MenuBar</autodoc> | |
11289 | </method> | |
11290 | <method name="ProcessCommand" type="bool" overloaded="no"> | |
11291 | <autodoc>ProcessCommand(int winid) -> bool</autodoc> | |
11292 | <paramlist> | |
11293 | <param name="winid" type="int" default=""/> | |
11294 | </paramlist> | |
11295 | </method> | |
11296 | <method name="CreateStatusBar" type="wxStatusBar" overloaded="no"> | |
b39e211b RD |
11297 | <autodoc>CreateStatusBar(int number=1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE, |
11298 | int winid=0, String name=StatusLineNameStr) -> StatusBar</autodoc> | |
f32fc4bc RD |
11299 | <paramlist> |
11300 | <param name="number" type="int" default="1"/> | |
b39e211b | 11301 | <param name="style" type="long" default="wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE"/> |
f32fc4bc RD |
11302 | <param name="winid" type="int" default="0"/> |
11303 | <param name="name" type="String" default="wxPyStatusLineNameStr"/> | |
11304 | </paramlist> | |
11305 | </method> | |
11306 | <method name="GetStatusBar" type="wxStatusBar" overloaded="no"> | |
11307 | <autodoc>GetStatusBar() -> StatusBar</autodoc> | |
11308 | </method> | |
11309 | <method name="SetStatusBar" type="" overloaded="no"> | |
11310 | <autodoc>SetStatusBar(StatusBar statBar)</autodoc> | |
11311 | <paramlist> | |
11312 | <param name="statBar" type="wxStatusBar" default=""/> | |
11313 | </paramlist> | |
11314 | </method> | |
11315 | <method name="SetStatusText" type="" overloaded="no"> | |
11316 | <autodoc>SetStatusText(String text, int number=0)</autodoc> | |
11317 | <paramlist> | |
11318 | <param name="text" type="String" default=""/> | |
11319 | <param name="number" type="int" default="0"/> | |
11320 | </paramlist> | |
11321 | </method> | |
11322 | <method name="SetStatusWidths" type="" overloaded="no"> | |
11323 | <autodoc>SetStatusWidths(int widths, int widths_field)</autodoc> | |
11324 | <paramlist> | |
11325 | <param name="widths" type="int" default=""/> | |
11326 | <param name="widths_field" type="int" default=""/> | |
11327 | </paramlist> | |
11328 | </method> | |
11329 | <method name="PushStatusText" type="" overloaded="no"> | |
11330 | <autodoc>PushStatusText(String text, int number=0)</autodoc> | |
11331 | <paramlist> | |
11332 | <param name="text" type="String" default=""/> | |
11333 | <param name="number" type="int" default="0"/> | |
11334 | </paramlist> | |
11335 | </method> | |
11336 | <method name="PopStatusText" type="" overloaded="no"> | |
11337 | <autodoc>PopStatusText(int number=0)</autodoc> | |
11338 | <paramlist> | |
11339 | <param name="number" type="int" default="0"/> | |
11340 | </paramlist> | |
11341 | </method> | |
11342 | <method name="SetStatusBarPane" type="" overloaded="no"> | |
11343 | <autodoc>SetStatusBarPane(int n)</autodoc> | |
11344 | <paramlist> | |
11345 | <param name="n" type="int" default=""/> | |
11346 | </paramlist> | |
11347 | </method> | |
11348 | <method name="GetStatusBarPane" type="int" overloaded="no"> | |
11349 | <autodoc>GetStatusBarPane() -> int</autodoc> | |
11350 | </method> | |
11351 | <method name="CreateToolBar" type="wxToolBar" overloaded="no"> | |
11352 | <autodoc>CreateToolBar(long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar</autodoc> | |
11353 | <paramlist> | |
11354 | <param name="style" type="long" default="-1"/> | |
11355 | <param name="winid" type="int" default="-1"/> | |
11356 | <param name="name" type="String" default="wxPyToolBarNameStr"/> | |
11357 | </paramlist> | |
11358 | </method> | |
11359 | <method name="GetToolBar" type="wxToolBar" overloaded="no"> | |
11360 | <autodoc>GetToolBar() -> wxToolBar</autodoc> | |
11361 | </method> | |
11362 | <method name="SetToolBar" type="" overloaded="no"> | |
11363 | <autodoc>SetToolBar(wxToolBar toolbar)</autodoc> | |
11364 | <paramlist> | |
11365 | <param name="toolbar" type="wxToolBar" default=""/> | |
11366 | </paramlist> | |
11367 | </method> | |
11368 | <method name="DoGiveHelp" type="" overloaded="no"> | |
11369 | <autodoc>DoGiveHelp(String text, bool show)</autodoc> | |
11370 | <paramlist> | |
11371 | <param name="text" type="String" default=""/> | |
11372 | <param name="show" type="bool" default=""/> | |
11373 | </paramlist> | |
11374 | </method> | |
11375 | <method name="DoMenuUpdates" type="" overloaded="no"> | |
11376 | <autodoc>DoMenuUpdates(Menu menu=None)</autodoc> | |
11377 | <paramlist> | |
11378 | <param name="menu" type="Menu" default="NULL"/> | |
11379 | </paramlist> | |
11380 | </method> | |
11381 | </class> | |
11382 | <pythoncode> | |
856bf319 RD |
11383 | #--------------------------------------------------------------------------- |
11384 | </pythoncode> | |
f32fc4bc RD |
11385 | <class name="Dialog" oldname="wxDialog" module="windows"> |
11386 | <baseclass name="TopLevelWindow"/> | |
11387 | <constructor name="Dialog" overloaded="no"> | |
11388 | <autodoc>__init__(Window parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
11389 | Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, |
11390 | String name=DialogNameStr) -> Dialog</autodoc> | |
f32fc4bc RD |
11391 | <paramlist> |
11392 | <param name="parent" type="Window" default=""/> | |
11393 | <param name="id" type="int" default=""/> | |
11394 | <param name="title" type="String" default=""/> | |
11395 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11396 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11397 | <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/> | |
11398 | <param name="name" type="String" default="wxPyDialogNameStr"/> | |
11399 | </paramlist> | |
11400 | </constructor> | |
11401 | <constructor name="PreDialog" overloaded="no"> | |
11402 | <autodoc>PreDialog() -> Dialog</autodoc> | |
11403 | </constructor> | |
11404 | <method name="Create" type="bool" overloaded="no"> | |
11405 | <autodoc>Create(Window parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
11406 | Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, |
11407 | String name=DialogNameStr) -> bool</autodoc> | |
f32fc4bc RD |
11408 | <paramlist> |
11409 | <param name="parent" type="Window" default=""/> | |
11410 | <param name="id" type="int" default=""/> | |
11411 | <param name="title" type="String" default=""/> | |
11412 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11413 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11414 | <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/> | |
11415 | <param name="name" type="String" default="wxPyDialogNameStr"/> | |
11416 | </paramlist> | |
11417 | </method> | |
11418 | <method name="SetReturnCode" type="" overloaded="no"> | |
11419 | <autodoc>SetReturnCode(int returnCode)</autodoc> | |
11420 | <paramlist> | |
11421 | <param name="returnCode" type="int" default=""/> | |
11422 | </paramlist> | |
11423 | </method> | |
11424 | <method name="GetReturnCode" type="int" overloaded="no"> | |
11425 | <autodoc>GetReturnCode() -> int</autodoc> | |
11426 | </method> | |
11427 | <method name="CreateTextSizer" type="Sizer" overloaded="no"> | |
11428 | <autodoc>CreateTextSizer(String message) -> Sizer</autodoc> | |
11429 | <paramlist> | |
11430 | <param name="message" type="String" default=""/> | |
11431 | </paramlist> | |
11432 | </method> | |
11433 | <method name="CreateButtonSizer" type="Sizer" overloaded="no"> | |
11434 | <autodoc>CreateButtonSizer(long flags) -> Sizer</autodoc> | |
11435 | <paramlist> | |
11436 | <param name="flags" type="long" default=""/> | |
11437 | </paramlist> | |
11438 | </method> | |
11439 | <method name="IsModal" type="bool" overloaded="no"> | |
11440 | <autodoc>IsModal() -> bool</autodoc> | |
11441 | </method> | |
11442 | <method name="ShowModal" type="int" overloaded="no"> | |
11443 | <autodoc>ShowModal() -> int</autodoc> | |
11444 | </method> | |
11445 | <method name="EndModal" type="" overloaded="no"> | |
11446 | <autodoc>EndModal(int retCode)</autodoc> | |
11447 | <paramlist> | |
11448 | <param name="retCode" type="int" default=""/> | |
11449 | </paramlist> | |
11450 | </method> | |
11451 | <method name="IsModalShowing" type="bool" overloaded="no"> | |
11452 | <autodoc>IsModalShowing() -> bool</autodoc> | |
11453 | </method> | |
11454 | </class> | |
11455 | <pythoncode> | |
856bf319 RD |
11456 | #--------------------------------------------------------------------------- |
11457 | </pythoncode> | |
f32fc4bc RD |
11458 | <class name="MiniFrame" oldname="wxMiniFrame" module="windows"> |
11459 | <baseclass name="Frame"/> | |
11460 | <constructor name="MiniFrame" overloaded="no"> | |
11461 | <autodoc>__init__(Window parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
11462 | Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, |
11463 | String name=FrameNameStr) -> MiniFrame</autodoc> | |
f32fc4bc RD |
11464 | <paramlist> |
11465 | <param name="parent" type="Window" default=""/> | |
11466 | <param name="id" type="int" default=""/> | |
11467 | <param name="title" type="String" default=""/> | |
11468 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11469 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11470 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
11471 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
11472 | </paramlist> | |
11473 | </constructor> | |
11474 | <constructor name="PreMiniFrame" overloaded="no"> | |
11475 | <autodoc>PreMiniFrame() -> MiniFrame</autodoc> | |
11476 | </constructor> | |
11477 | <method name="Create" type="bool" overloaded="no"> | |
11478 | <autodoc>Create(Window parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
11479 | Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, |
11480 | String name=FrameNameStr) -> bool</autodoc> | |
f32fc4bc RD |
11481 | <paramlist> |
11482 | <param name="parent" type="Window" default=""/> | |
11483 | <param name="id" type="int" default=""/> | |
11484 | <param name="title" type="String" default=""/> | |
11485 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11486 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11487 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
11488 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
11489 | </paramlist> | |
11490 | </method> | |
11491 | </class> | |
11492 | <pythoncode> | |
856bf319 RD |
11493 | #--------------------------------------------------------------------------- |
11494 | </pythoncode> | |
f32fc4bc RD |
11495 | <class name="SplashScreenWindow" oldname="wxSplashScreenWindow" module="windows"> |
11496 | <baseclass name="Window"/> | |
11497 | <constructor name="SplashScreenWindow" overloaded="no"> | |
11498 | <autodoc>__init__(Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition, | |
856bf319 | 11499 | Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow</autodoc> |
f32fc4bc RD |
11500 | <paramlist> |
11501 | <param name="bitmap" type="Bitmap" default=""/> | |
11502 | <param name="parent" type="Window" default=""/> | |
11503 | <param name="id" type="int" default=""/> | |
11504 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11505 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11506 | <param name="style" type="long" default="wxNO_BORDER"/> | |
11507 | </paramlist> | |
11508 | </constructor> | |
11509 | <method name="SetBitmap" type="" overloaded="no"> | |
11510 | <autodoc>SetBitmap(Bitmap bitmap)</autodoc> | |
11511 | <paramlist> | |
11512 | <param name="bitmap" type="Bitmap" default=""/> | |
11513 | </paramlist> | |
11514 | </method> | |
11515 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
11516 | <autodoc>GetBitmap() -> Bitmap</autodoc> | |
11517 | </method> | |
11518 | </class> | |
11519 | <class name="SplashScreen" oldname="wxSplashScreen" module="windows"> | |
11520 | <baseclass name="Frame"/> | |
11521 | <constructor name="SplashScreen" overloaded="no"> | |
11522 | <autodoc>__init__(Bitmap bitmap, long splashStyle, int milliseconds, | |
856bf319 RD |
11523 | Window parent, int id, Point pos=DefaultPosition, |
11524 | Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen</autodoc> | |
f32fc4bc RD |
11525 | <paramlist> |
11526 | <param name="bitmap" type="Bitmap" default=""/> | |
11527 | <param name="splashStyle" type="long" default=""/> | |
11528 | <param name="milliseconds" type="int" default=""/> | |
11529 | <param name="parent" type="Window" default=""/> | |
11530 | <param name="id" type="int" default=""/> | |
11531 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11532 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11533 | <param name="style" type="long" default="wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP"/> | |
11534 | </paramlist> | |
11535 | </constructor> | |
11536 | <method name="GetSplashStyle" type="long" overloaded="no"> | |
11537 | <autodoc>GetSplashStyle() -> long</autodoc> | |
11538 | </method> | |
11539 | <method name="GetSplashWindow" type="SplashScreenWindow" overloaded="no"> | |
11540 | <autodoc>GetSplashWindow() -> SplashScreenWindow</autodoc> | |
11541 | </method> | |
11542 | <method name="GetTimeout" type="int" overloaded="no"> | |
11543 | <autodoc>GetTimeout() -> int</autodoc> | |
11544 | </method> | |
11545 | </class> | |
11546 | <pythoncode> | |
856bf319 RD |
11547 | #--------------------------------------------------------------------------- |
11548 | </pythoncode> | |
f32fc4bc RD |
11549 | <class name="StatusBar" oldname="wxStatusBar" module="windows"> |
11550 | <baseclass name="Window"/> | |
11551 | <constructor name="StatusBar" overloaded="no"> | |
b39e211b RD |
11552 | <autodoc>__init__(Window parent, int id=-1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE, |
11553 | String name=StatusLineNameStr) -> StatusBar</autodoc> | |
f32fc4bc RD |
11554 | <paramlist> |
11555 | <param name="parent" type="Window" default=""/> | |
11556 | <param name="id" type="int" default="-1"/> | |
b39e211b | 11557 | <param name="style" type="long" default="wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE"/> |
f32fc4bc RD |
11558 | <param name="name" type="String" default="wxPyStatusLineNameStr"/> |
11559 | </paramlist> | |
11560 | </constructor> | |
11561 | <constructor name="PreStatusBar" overloaded="no"> | |
11562 | <autodoc>PreStatusBar() -> StatusBar</autodoc> | |
11563 | </constructor> | |
11564 | <method name="Create" type="bool" overloaded="no"> | |
11565 | <autodoc>Create(Window parent, int id, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool</autodoc> | |
11566 | <paramlist> | |
11567 | <param name="parent" type="Window" default=""/> | |
11568 | <param name="id" type="int" default=""/> | |
11569 | <param name="style" type="long" default="wxST_SIZEGRIP"/> | |
11570 | <param name="name" type="String" default="wxPyStatusLineNameStr"/> | |
11571 | </paramlist> | |
11572 | </method> | |
11573 | <method name="SetFieldsCount" type="" overloaded="no"> | |
11574 | <autodoc>SetFieldsCount(int number=1)</autodoc> | |
11575 | <paramlist> | |
11576 | <param name="number" type="int" default="1"/> | |
11577 | </paramlist> | |
11578 | </method> | |
11579 | <method name="GetFieldsCount" type="int" overloaded="no"> | |
11580 | <autodoc>GetFieldsCount() -> int</autodoc> | |
11581 | </method> | |
11582 | <method name="SetStatusText" type="" overloaded="no"> | |
11583 | <autodoc>SetStatusText(String text, int number=0)</autodoc> | |
11584 | <paramlist> | |
11585 | <param name="text" type="String" default=""/> | |
11586 | <param name="number" type="int" default="0"/> | |
11587 | </paramlist> | |
11588 | </method> | |
11589 | <method name="GetStatusText" type="String" overloaded="no"> | |
11590 | <autodoc>GetStatusText(int number=0) -> String</autodoc> | |
11591 | <paramlist> | |
11592 | <param name="number" type="int" default="0"/> | |
11593 | </paramlist> | |
11594 | </method> | |
11595 | <method name="PushStatusText" type="" overloaded="no"> | |
11596 | <autodoc>PushStatusText(String text, int number=0)</autodoc> | |
11597 | <paramlist> | |
11598 | <param name="text" type="String" default=""/> | |
11599 | <param name="number" type="int" default="0"/> | |
11600 | </paramlist> | |
11601 | </method> | |
11602 | <method name="PopStatusText" type="" overloaded="no"> | |
11603 | <autodoc>PopStatusText(int number=0)</autodoc> | |
11604 | <paramlist> | |
11605 | <param name="number" type="int" default="0"/> | |
11606 | </paramlist> | |
11607 | </method> | |
11608 | <method name="SetStatusWidths" type="" overloaded="no"> | |
11609 | <autodoc>SetStatusWidths(int widths, int widths_field)</autodoc> | |
11610 | <paramlist> | |
11611 | <param name="widths" type="int" default=""/> | |
11612 | <param name="widths_field" type="int" default=""/> | |
11613 | </paramlist> | |
11614 | </method> | |
11615 | <method name="GetFieldRect" type="Rect" overloaded="no"> | |
11616 | <autodoc>GetFieldRect(int i) -> Rect</autodoc> | |
11617 | <paramlist> | |
11618 | <param name="i" type="int" default=""/> | |
11619 | </paramlist> | |
11620 | </method> | |
11621 | <method name="SetMinHeight" type="" overloaded="no"> | |
11622 | <autodoc>SetMinHeight(int height)</autodoc> | |
11623 | <paramlist> | |
11624 | <param name="height" type="int" default=""/> | |
11625 | </paramlist> | |
11626 | </method> | |
11627 | <method name="GetBorderX" type="int" overloaded="no"> | |
11628 | <autodoc>GetBorderX() -> int</autodoc> | |
11629 | </method> | |
11630 | <method name="GetBorderY" type="int" overloaded="no"> | |
11631 | <autodoc>GetBorderY() -> int</autodoc> | |
11632 | </method> | |
11633 | </class> | |
11634 | <pythoncode> | |
856bf319 RD |
11635 | #--------------------------------------------------------------------------- |
11636 | </pythoncode> | |
f32fc4bc RD |
11637 | <class name="SplitterWindow" oldname="wxSplitterWindow" module="windows"> |
11638 | <baseclass name="Window"/> | |
11639 | <constructor name="SplitterWindow" overloaded="no"> | |
11640 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 | 11641 | long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow</autodoc> |
f32fc4bc RD |
11642 | <paramlist> |
11643 | <param name="parent" type="Window" default=""/> | |
11644 | <param name="id" type="int" default=""/> | |
11645 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11646 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11647 | <param name="style" type="long" default="wxSP_3D"/> | |
11648 | <param name="name" type="String" default="wxPySplitterNameStr"/> | |
11649 | </paramlist> | |
11650 | </constructor> | |
11651 | <constructor name="PreSplitterWindow" overloaded="no"> | |
11652 | <autodoc>PreSplitterWindow() -> SplitterWindow</autodoc> | |
11653 | </constructor> | |
11654 | <method name="Create" type="bool" overloaded="no"> | |
11655 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 | 11656 | long style=SP_3D, String name=SplitterNameStr) -> bool</autodoc> |
f32fc4bc RD |
11657 | <paramlist> |
11658 | <param name="parent" type="Window" default=""/> | |
11659 | <param name="id" type="int" default=""/> | |
11660 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11661 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11662 | <param name="style" type="long" default="wxSP_3D"/> | |
11663 | <param name="name" type="String" default="wxPySplitterNameStr"/> | |
11664 | </paramlist> | |
11665 | </method> | |
11666 | <method name="GetWindow1" type="Window" overloaded="no"> | |
11667 | <autodoc>GetWindow1() -> Window</autodoc> | |
11668 | </method> | |
11669 | <method name="GetWindow2" type="Window" overloaded="no"> | |
11670 | <autodoc>GetWindow2() -> Window</autodoc> | |
11671 | </method> | |
11672 | <method name="SetSplitMode" type="" overloaded="no"> | |
11673 | <autodoc>SetSplitMode(int mode)</autodoc> | |
11674 | <paramlist> | |
11675 | <param name="mode" type="int" default=""/> | |
11676 | </paramlist> | |
11677 | </method> | |
11678 | <method name="GetSplitMode" type="wxSplitMode" overloaded="no"> | |
11679 | <autodoc>GetSplitMode() -> int</autodoc> | |
11680 | </method> | |
11681 | <method name="Initialize" type="" overloaded="no"> | |
11682 | <autodoc>Initialize(Window window)</autodoc> | |
11683 | <paramlist> | |
11684 | <param name="window" type="Window" default=""/> | |
11685 | </paramlist> | |
11686 | </method> | |
11687 | <method name="SplitVertically" type="bool" overloaded="no"> | |
11688 | <autodoc>SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool</autodoc> | |
11689 | <paramlist> | |
11690 | <param name="window1" type="Window" default=""/> | |
11691 | <param name="window2" type="Window" default=""/> | |
11692 | <param name="sashPosition" type="int" default="0"/> | |
11693 | </paramlist> | |
11694 | </method> | |
11695 | <method name="SplitHorizontally" type="bool" overloaded="no"> | |
11696 | <autodoc>SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool</autodoc> | |
11697 | <paramlist> | |
11698 | <param name="window1" type="Window" default=""/> | |
11699 | <param name="window2" type="Window" default=""/> | |
11700 | <param name="sashPosition" type="int" default="0"/> | |
11701 | </paramlist> | |
11702 | </method> | |
11703 | <method name="Unsplit" type="bool" overloaded="no"> | |
11704 | <autodoc>Unsplit(Window toRemove=None) -> bool</autodoc> | |
11705 | <paramlist> | |
11706 | <param name="toRemove" type="Window" default="NULL"/> | |
11707 | </paramlist> | |
11708 | </method> | |
11709 | <method name="ReplaceWindow" type="bool" overloaded="no"> | |
11710 | <autodoc>ReplaceWindow(Window winOld, Window winNew) -> bool</autodoc> | |
11711 | <paramlist> | |
11712 | <param name="winOld" type="Window" default=""/> | |
11713 | <param name="winNew" type="Window" default=""/> | |
11714 | </paramlist> | |
11715 | </method> | |
11716 | <method name="IsSplit" type="bool" overloaded="no"> | |
11717 | <autodoc>IsSplit() -> bool</autodoc> | |
11718 | </method> | |
11719 | <method name="SetSashSize" type="" overloaded="no"> | |
11720 | <autodoc>SetSashSize(int width)</autodoc> | |
11721 | <paramlist> | |
11722 | <param name="width" type="int" default=""/> | |
11723 | </paramlist> | |
11724 | </method> | |
11725 | <method name="SetBorderSize" type="" overloaded="no"> | |
11726 | <autodoc>SetBorderSize(int width)</autodoc> | |
11727 | <paramlist> | |
11728 | <param name="width" type="int" default=""/> | |
11729 | </paramlist> | |
11730 | </method> | |
11731 | <method name="GetSashSize" type="int" overloaded="no"> | |
11732 | <autodoc>GetSashSize() -> int</autodoc> | |
11733 | </method> | |
11734 | <method name="GetBorderSize" type="int" overloaded="no"> | |
11735 | <autodoc>GetBorderSize() -> int</autodoc> | |
11736 | </method> | |
11737 | <method name="SetSashPosition" type="" overloaded="no"> | |
11738 | <autodoc>SetSashPosition(int position, bool redraw=True)</autodoc> | |
11739 | <paramlist> | |
11740 | <param name="position" type="int" default=""/> | |
11741 | <param name="redraw" type="bool" default="True"/> | |
11742 | </paramlist> | |
11743 | </method> | |
11744 | <method name="GetSashPosition" type="int" overloaded="no"> | |
11745 | <autodoc>GetSashPosition() -> int</autodoc> | |
11746 | </method> | |
11747 | <method name="SetMinimumPaneSize" type="" overloaded="no"> | |
11748 | <autodoc>SetMinimumPaneSize(int min)</autodoc> | |
11749 | <paramlist> | |
11750 | <param name="min" type="int" default=""/> | |
11751 | </paramlist> | |
11752 | </method> | |
11753 | <method name="GetMinimumPaneSize" type="int" overloaded="no"> | |
11754 | <autodoc>GetMinimumPaneSize() -> int</autodoc> | |
11755 | </method> | |
11756 | <method name="SashHitTest" type="bool" overloaded="no"> | |
11757 | <autodoc>SashHitTest(int x, int y, int tolerance=5) -> bool</autodoc> | |
11758 | <paramlist> | |
11759 | <param name="x" type="int" default=""/> | |
11760 | <param name="y" type="int" default=""/> | |
11761 | <param name="tolerance" type="int" default="5"/> | |
11762 | </paramlist> | |
11763 | </method> | |
11764 | <method name="SizeWindows" type="" overloaded="no"> | |
11765 | <autodoc>SizeWindows()</autodoc> | |
11766 | </method> | |
11767 | <method name="SetNeedUpdating" type="" overloaded="no"> | |
11768 | <autodoc>SetNeedUpdating(bool needUpdating)</autodoc> | |
11769 | <paramlist> | |
11770 | <param name="needUpdating" type="bool" default=""/> | |
11771 | </paramlist> | |
11772 | </method> | |
11773 | <method name="GetNeedUpdating" type="bool" overloaded="no"> | |
11774 | <autodoc>GetNeedUpdating() -> bool</autodoc> | |
11775 | </method> | |
11776 | </class> | |
11777 | <class name="SplitterEvent" oldname="wxSplitterEvent" module="windows"> | |
11778 | <baseclass name="NotifyEvent"/> | |
11779 | <constructor name="SplitterEvent" overloaded="no"> | |
11780 | <autodoc>__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent</autodoc> | |
11781 | <paramlist> | |
11782 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
11783 | <param name="splitter" type="SplitterWindow" default="(wxSplitterWindow *) NULL"/> | |
11784 | </paramlist> | |
11785 | </constructor> | |
11786 | <method name="SetSashPosition" type="" overloaded="no"> | |
11787 | <autodoc>SetSashPosition(int pos)</autodoc> | |
11788 | <paramlist> | |
11789 | <param name="pos" type="int" default=""/> | |
11790 | </paramlist> | |
11791 | </method> | |
11792 | <method name="GetSashPosition" type="int" overloaded="no"> | |
11793 | <autodoc>GetSashPosition() -> int</autodoc> | |
11794 | </method> | |
11795 | <method name="GetWindowBeingRemoved" type="Window" overloaded="no"> | |
11796 | <autodoc>GetWindowBeingRemoved() -> Window</autodoc> | |
11797 | </method> | |
11798 | <method name="GetX" type="int" overloaded="no"> | |
11799 | <autodoc>GetX() -> int</autodoc> | |
11800 | </method> | |
11801 | <method name="GetY" type="int" overloaded="no"> | |
11802 | <autodoc>GetY() -> int</autodoc> | |
11803 | </method> | |
11804 | </class> | |
11805 | <pythoncode> | |
856bf319 RD |
11806 | EVT_SPLITTER_SASH_POS_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 1 ) |
11807 | EVT_SPLITTER_SASH_POS_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 1 ) | |
11808 | EVT_SPLITTER_DOUBLECLICKED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 1 ) | |
11809 | EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) | |
11810 | </pythoncode> | |
f32fc4bc | 11811 | <pythoncode> |
856bf319 RD |
11812 | #--------------------------------------------------------------------------- |
11813 | </pythoncode> | |
f32fc4bc RD |
11814 | <class name="SashWindow" oldname="wxSashWindow" module="windows"> |
11815 | <baseclass name="Window"/> | |
11816 | <constructor name="SashWindow" overloaded="no"> | |
11817 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
11818 | long style=wxCLIP_CHILDREN|wxSW_3D, |
11819 | String name=SashNameStr) -> SashWindow</autodoc> | |
f32fc4bc RD |
11820 | <paramlist> |
11821 | <param name="parent" type="Window" default=""/> | |
11822 | <param name="id" type="int" default=""/> | |
11823 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11824 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11825 | <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/> | |
11826 | <param name="name" type="String" default="wxPySashNameStr"/> | |
11827 | </paramlist> | |
11828 | </constructor> | |
11829 | <constructor name="PreSashWindow" overloaded="no"> | |
11830 | <autodoc>PreSashWindow() -> SashWindow</autodoc> | |
11831 | </constructor> | |
11832 | <method name="Create" type="bool" overloaded="no"> | |
11833 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
11834 | long style=wxCLIP_CHILDREN|wxSW_3D, |
11835 | String name=SashNameStr) -> bool</autodoc> | |
f32fc4bc RD |
11836 | <paramlist> |
11837 | <param name="parent" type="Window" default=""/> | |
11838 | <param name="id" type="int" default=""/> | |
11839 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11840 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11841 | <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/> | |
11842 | <param name="name" type="String" default="wxPySashNameStr"/> | |
11843 | </paramlist> | |
11844 | </method> | |
11845 | <method name="SetSashVisible" type="" overloaded="no"> | |
11846 | <autodoc>SetSashVisible(int edge, bool sash)</autodoc> | |
11847 | <paramlist> | |
11848 | <param name="edge" type="wxSashEdgePosition" default=""/> | |
11849 | <param name="sash" type="bool" default=""/> | |
11850 | </paramlist> | |
11851 | </method> | |
11852 | <method name="GetSashVisible" type="bool" overloaded="no"> | |
11853 | <autodoc>GetSashVisible(int edge) -> bool</autodoc> | |
11854 | <paramlist> | |
11855 | <param name="edge" type="wxSashEdgePosition" default=""/> | |
11856 | </paramlist> | |
11857 | </method> | |
11858 | <method name="SetSashBorder" type="" overloaded="no"> | |
11859 | <autodoc>SetSashBorder(int edge, bool border)</autodoc> | |
11860 | <paramlist> | |
11861 | <param name="edge" type="wxSashEdgePosition" default=""/> | |
11862 | <param name="border" type="bool" default=""/> | |
11863 | </paramlist> | |
11864 | </method> | |
11865 | <method name="HasBorder" type="bool" overloaded="no"> | |
11866 | <autodoc>HasBorder(int edge) -> bool</autodoc> | |
11867 | <paramlist> | |
11868 | <param name="edge" type="wxSashEdgePosition" default=""/> | |
11869 | </paramlist> | |
11870 | </method> | |
11871 | <method name="GetEdgeMargin" type="int" overloaded="no"> | |
11872 | <autodoc>GetEdgeMargin(int edge) -> int</autodoc> | |
11873 | <paramlist> | |
11874 | <param name="edge" type="wxSashEdgePosition" default=""/> | |
11875 | </paramlist> | |
11876 | </method> | |
11877 | <method name="SetDefaultBorderSize" type="" overloaded="no"> | |
11878 | <autodoc>SetDefaultBorderSize(int width)</autodoc> | |
11879 | <paramlist> | |
11880 | <param name="width" type="int" default=""/> | |
11881 | </paramlist> | |
11882 | </method> | |
11883 | <method name="GetDefaultBorderSize" type="int" overloaded="no"> | |
11884 | <autodoc>GetDefaultBorderSize() -> int</autodoc> | |
11885 | </method> | |
11886 | <method name="SetExtraBorderSize" type="" overloaded="no"> | |
11887 | <autodoc>SetExtraBorderSize(int width)</autodoc> | |
11888 | <paramlist> | |
11889 | <param name="width" type="int" default=""/> | |
11890 | </paramlist> | |
11891 | </method> | |
11892 | <method name="GetExtraBorderSize" type="int" overloaded="no"> | |
11893 | <autodoc>GetExtraBorderSize() -> int</autodoc> | |
11894 | </method> | |
11895 | <method name="SetMinimumSizeX" type="" overloaded="no"> | |
11896 | <autodoc>SetMinimumSizeX(int min)</autodoc> | |
11897 | <paramlist> | |
11898 | <param name="min" type="int" default=""/> | |
11899 | </paramlist> | |
11900 | </method> | |
11901 | <method name="SetMinimumSizeY" type="" overloaded="no"> | |
11902 | <autodoc>SetMinimumSizeY(int min)</autodoc> | |
11903 | <paramlist> | |
11904 | <param name="min" type="int" default=""/> | |
11905 | </paramlist> | |
11906 | </method> | |
11907 | <method name="GetMinimumSizeX" type="int" overloaded="no"> | |
11908 | <autodoc>GetMinimumSizeX() -> int</autodoc> | |
11909 | </method> | |
11910 | <method name="GetMinimumSizeY" type="int" overloaded="no"> | |
11911 | <autodoc>GetMinimumSizeY() -> int</autodoc> | |
11912 | </method> | |
11913 | <method name="SetMaximumSizeX" type="" overloaded="no"> | |
11914 | <autodoc>SetMaximumSizeX(int max)</autodoc> | |
11915 | <paramlist> | |
11916 | <param name="max" type="int" default=""/> | |
11917 | </paramlist> | |
11918 | </method> | |
11919 | <method name="SetMaximumSizeY" type="" overloaded="no"> | |
11920 | <autodoc>SetMaximumSizeY(int max)</autodoc> | |
11921 | <paramlist> | |
11922 | <param name="max" type="int" default=""/> | |
11923 | </paramlist> | |
11924 | </method> | |
11925 | <method name="GetMaximumSizeX" type="int" overloaded="no"> | |
11926 | <autodoc>GetMaximumSizeX() -> int</autodoc> | |
11927 | </method> | |
11928 | <method name="GetMaximumSizeY" type="int" overloaded="no"> | |
11929 | <autodoc>GetMaximumSizeY() -> int</autodoc> | |
11930 | </method> | |
11931 | <method name="SashHitTest" type="wxSashEdgePosition" overloaded="no"> | |
11932 | <autodoc>SashHitTest(int x, int y, int tolerance=2) -> int</autodoc> | |
11933 | <paramlist> | |
11934 | <param name="x" type="int" default=""/> | |
11935 | <param name="y" type="int" default=""/> | |
11936 | <param name="tolerance" type="int" default="2"/> | |
11937 | </paramlist> | |
11938 | </method> | |
11939 | <method name="SizeWindows" type="" overloaded="no"> | |
11940 | <autodoc>SizeWindows()</autodoc> | |
11941 | </method> | |
11942 | </class> | |
11943 | <class name="SashEvent" oldname="wxSashEvent" module="windows"> | |
11944 | <baseclass name="CommandEvent"/> | |
11945 | <constructor name="SashEvent" overloaded="no"> | |
11946 | <autodoc>__init__(int id=0, int edge=SASH_NONE) -> SashEvent</autodoc> | |
11947 | <paramlist> | |
11948 | <param name="id" type="int" default="0"/> | |
11949 | <param name="edge" type="wxSashEdgePosition" default="wxSASH_NONE"/> | |
11950 | </paramlist> | |
11951 | </constructor> | |
11952 | <method name="SetEdge" type="" overloaded="no"> | |
11953 | <autodoc>SetEdge(int edge)</autodoc> | |
11954 | <paramlist> | |
11955 | <param name="edge" type="wxSashEdgePosition" default=""/> | |
11956 | </paramlist> | |
11957 | </method> | |
11958 | <method name="GetEdge" type="wxSashEdgePosition" overloaded="no"> | |
11959 | <autodoc>GetEdge() -> int</autodoc> | |
11960 | </method> | |
11961 | <method name="SetDragRect" type="" overloaded="no"> | |
11962 | <autodoc>SetDragRect(Rect rect)</autodoc> | |
11963 | <paramlist> | |
11964 | <param name="rect" type="Rect" default=""/> | |
11965 | </paramlist> | |
11966 | </method> | |
11967 | <method name="GetDragRect" type="Rect" overloaded="no"> | |
11968 | <autodoc>GetDragRect() -> Rect</autodoc> | |
11969 | </method> | |
11970 | <method name="SetDragStatus" type="" overloaded="no"> | |
11971 | <autodoc>SetDragStatus(int status)</autodoc> | |
11972 | <paramlist> | |
11973 | <param name="status" type="wxSashDragStatus" default=""/> | |
11974 | </paramlist> | |
11975 | </method> | |
11976 | <method name="GetDragStatus" type="wxSashDragStatus" overloaded="no"> | |
11977 | <autodoc>GetDragStatus() -> int</autodoc> | |
11978 | </method> | |
11979 | </class> | |
11980 | <pythoncode> | |
856bf319 RD |
11981 | EVT_SASH_DRAGGED = wx.PyEventBinder( wxEVT_SASH_DRAGGED, 1 ) |
11982 | EVT_SASH_DRAGGED_RANGE = wx.PyEventBinder( wxEVT_SASH_DRAGGED, 2 ) | |
11983 | </pythoncode> | |
f32fc4bc | 11984 | <pythoncode> |
856bf319 RD |
11985 | #--------------------------------------------------------------------------- |
11986 | </pythoncode> | |
f32fc4bc RD |
11987 | <class name="QueryLayoutInfoEvent" oldname="wxQueryLayoutInfoEvent" module="windows"> |
11988 | <baseclass name="Event"/> | |
11989 | <constructor name="QueryLayoutInfoEvent" overloaded="no"> | |
11990 | <autodoc>__init__(int id=0) -> QueryLayoutInfoEvent</autodoc> | |
11991 | <paramlist> | |
11992 | <param name="id" type="int" default="0"/> | |
11993 | </paramlist> | |
11994 | </constructor> | |
11995 | <method name="SetRequestedLength" type="" overloaded="no"> | |
11996 | <autodoc>SetRequestedLength(int length)</autodoc> | |
11997 | <paramlist> | |
11998 | <param name="length" type="int" default=""/> | |
11999 | </paramlist> | |
12000 | </method> | |
12001 | <method name="GetRequestedLength" type="int" overloaded="no"> | |
12002 | <autodoc>GetRequestedLength() -> int</autodoc> | |
12003 | </method> | |
12004 | <method name="SetFlags" type="" overloaded="no"> | |
12005 | <autodoc>SetFlags(int flags)</autodoc> | |
12006 | <paramlist> | |
12007 | <param name="flags" type="int" default=""/> | |
12008 | </paramlist> | |
12009 | </method> | |
12010 | <method name="GetFlags" type="int" overloaded="no"> | |
12011 | <autodoc>GetFlags() -> int</autodoc> | |
12012 | </method> | |
12013 | <method name="SetSize" type="" overloaded="no"> | |
12014 | <autodoc>SetSize(Size size)</autodoc> | |
12015 | <paramlist> | |
12016 | <param name="size" type="Size" default=""/> | |
12017 | </paramlist> | |
12018 | </method> | |
12019 | <method name="GetSize" type="Size" overloaded="no"> | |
12020 | <autodoc>GetSize() -> Size</autodoc> | |
12021 | </method> | |
12022 | <method name="SetOrientation" type="" overloaded="no"> | |
12023 | <autodoc>SetOrientation(int orient)</autodoc> | |
12024 | <paramlist> | |
12025 | <param name="orient" type="wxLayoutOrientation" default=""/> | |
12026 | </paramlist> | |
12027 | </method> | |
12028 | <method name="GetOrientation" type="wxLayoutOrientation" overloaded="no"> | |
12029 | <autodoc>GetOrientation() -> int</autodoc> | |
12030 | </method> | |
12031 | <method name="SetAlignment" type="" overloaded="no"> | |
12032 | <autodoc>SetAlignment(int align)</autodoc> | |
12033 | <paramlist> | |
12034 | <param name="align" type="wxLayoutAlignment" default=""/> | |
12035 | </paramlist> | |
12036 | </method> | |
12037 | <method name="GetAlignment" type="wxLayoutAlignment" overloaded="no"> | |
12038 | <autodoc>GetAlignment() -> int</autodoc> | |
12039 | </method> | |
12040 | </class> | |
12041 | <class name="CalculateLayoutEvent" oldname="wxCalculateLayoutEvent" module="windows"> | |
12042 | <baseclass name="Event"/> | |
12043 | <constructor name="CalculateLayoutEvent" overloaded="no"> | |
12044 | <autodoc>__init__(int id=0) -> CalculateLayoutEvent</autodoc> | |
12045 | <paramlist> | |
12046 | <param name="id" type="int" default="0"/> | |
12047 | </paramlist> | |
12048 | </constructor> | |
12049 | <method name="SetFlags" type="" overloaded="no"> | |
12050 | <autodoc>SetFlags(int flags)</autodoc> | |
12051 | <paramlist> | |
12052 | <param name="flags" type="int" default=""/> | |
12053 | </paramlist> | |
12054 | </method> | |
12055 | <method name="GetFlags" type="int" overloaded="no"> | |
12056 | <autodoc>GetFlags() -> int</autodoc> | |
12057 | </method> | |
12058 | <method name="SetRect" type="" overloaded="no"> | |
12059 | <autodoc>SetRect(Rect rect)</autodoc> | |
12060 | <paramlist> | |
12061 | <param name="rect" type="Rect" default=""/> | |
12062 | </paramlist> | |
12063 | </method> | |
12064 | <method name="GetRect" type="Rect" overloaded="no"> | |
12065 | <autodoc>GetRect() -> Rect</autodoc> | |
12066 | </method> | |
12067 | </class> | |
12068 | <pythoncode> | |
856bf319 RD |
12069 | EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO ) |
12070 | EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT ) | |
12071 | </pythoncode> | |
f32fc4bc RD |
12072 | <class name="SashLayoutWindow" oldname="wxSashLayoutWindow" module="windows"> |
12073 | <baseclass name="SashWindow"/> | |
12074 | <constructor name="SashLayoutWindow" overloaded="no"> | |
12075 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
12076 | long style=wxCLIP_CHILDREN|wxSW_3D, |
12077 | String name=SashLayoutNameStr) -> SashLayoutWindow</autodoc> | |
f32fc4bc RD |
12078 | <paramlist> |
12079 | <param name="parent" type="Window" default=""/> | |
12080 | <param name="id" type="int" default=""/> | |
12081 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12082 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12083 | <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/> | |
12084 | <param name="name" type="String" default="wxPySashLayoutNameStr"/> | |
12085 | </paramlist> | |
12086 | </constructor> | |
12087 | <constructor name="PreSashLayoutWindow" overloaded="no"> | |
12088 | <autodoc>PreSashLayoutWindow() -> SashLayoutWindow</autodoc> | |
12089 | </constructor> | |
12090 | <method name="Create" type="bool" overloaded="no"> | |
12091 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
12092 | long style=wxCLIP_CHILDREN|wxSW_3D, |
12093 | String name=SashLayoutNameStr) -> bool</autodoc> | |
f32fc4bc RD |
12094 | <paramlist> |
12095 | <param name="parent" type="Window" default=""/> | |
12096 | <param name="id" type="int" default=""/> | |
12097 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12098 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12099 | <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/> | |
12100 | <param name="name" type="String" default="wxPySashLayoutNameStr"/> | |
12101 | </paramlist> | |
12102 | </method> | |
12103 | <method name="GetAlignment" type="wxLayoutAlignment" overloaded="no"> | |
12104 | <autodoc>GetAlignment() -> int</autodoc> | |
12105 | </method> | |
12106 | <method name="GetOrientation" type="wxLayoutOrientation" overloaded="no"> | |
12107 | <autodoc>GetOrientation() -> int</autodoc> | |
12108 | </method> | |
12109 | <method name="SetAlignment" type="" overloaded="no"> | |
12110 | <autodoc>SetAlignment(int alignment)</autodoc> | |
12111 | <paramlist> | |
12112 | <param name="alignment" type="wxLayoutAlignment" default=""/> | |
12113 | </paramlist> | |
12114 | </method> | |
12115 | <method name="SetDefaultSize" type="" overloaded="no"> | |
12116 | <autodoc>SetDefaultSize(Size size)</autodoc> | |
12117 | <paramlist> | |
12118 | <param name="size" type="Size" default=""/> | |
12119 | </paramlist> | |
12120 | </method> | |
12121 | <method name="SetOrientation" type="" overloaded="no"> | |
12122 | <autodoc>SetOrientation(int orientation)</autodoc> | |
12123 | <paramlist> | |
12124 | <param name="orientation" type="wxLayoutOrientation" default=""/> | |
12125 | </paramlist> | |
12126 | </method> | |
12127 | </class> | |
12128 | <class name="LayoutAlgorithm" oldname="wxLayoutAlgorithm" module="windows"> | |
12129 | <baseclass name="Object"/> | |
12130 | <constructor name="LayoutAlgorithm" overloaded="no"> | |
12131 | <autodoc>__init__() -> LayoutAlgorithm</autodoc> | |
12132 | </constructor> | |
12133 | <destructor name="~wxLayoutAlgorithm" overloaded="no"> | |
12134 | <autodoc>__del__()</autodoc> | |
12135 | </destructor> | |
12136 | <method name="LayoutMDIFrame" type="bool" overloaded="no"> | |
12137 | <autodoc>LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool</autodoc> | |
12138 | <paramlist> | |
12139 | <param name="frame" type="wxMDIParentFrame" default=""/> | |
12140 | <param name="rect" type="Rect" default="NULL"/> | |
12141 | </paramlist> | |
12142 | </method> | |
12143 | <method name="LayoutFrame" type="bool" overloaded="no"> | |
12144 | <autodoc>LayoutFrame(Frame frame, Window mainWindow=None) -> bool</autodoc> | |
12145 | <paramlist> | |
12146 | <param name="frame" type="Frame" default=""/> | |
12147 | <param name="mainWindow" type="Window" default="NULL"/> | |
12148 | </paramlist> | |
12149 | </method> | |
12150 | <method name="LayoutWindow" type="bool" overloaded="no"> | |
12151 | <autodoc>LayoutWindow(Window parent, Window mainWindow=None) -> bool</autodoc> | |
12152 | <paramlist> | |
12153 | <param name="parent" type="Window" default=""/> | |
12154 | <param name="mainWindow" type="Window" default="NULL"/> | |
12155 | </paramlist> | |
12156 | </method> | |
12157 | </class> | |
12158 | <pythoncode> | |
856bf319 RD |
12159 | #--------------------------------------------------------------------------- |
12160 | </pythoncode> | |
f32fc4bc RD |
12161 | <class name="PopupWindow" oldname="wxPopupWindow" module="windows"> |
12162 | <baseclass name="Window"/> | |
12163 | <constructor name="PopupWindow" overloaded="no"> | |
12164 | <autodoc>__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow</autodoc> | |
12165 | <paramlist> | |
12166 | <param name="parent" type="Window" default=""/> | |
12167 | <param name="flags" type="int" default="wxBORDER_NONE"/> | |
12168 | </paramlist> | |
12169 | </constructor> | |
12170 | <constructor name="PrePopupWindow" overloaded="no"> | |
12171 | <autodoc>PrePopupWindow() -> PopupWindow</autodoc> | |
12172 | </constructor> | |
12173 | <method name="Create" type="bool" overloaded="no"> | |
12174 | <autodoc>Create(Window parent, int flags=BORDER_NONE) -> bool</autodoc> | |
12175 | <paramlist> | |
12176 | <param name="parent" type="Window" default=""/> | |
12177 | <param name="flags" type="int" default="wxBORDER_NONE"/> | |
12178 | </paramlist> | |
12179 | </method> | |
12180 | <method name="Position" type="" overloaded="no"> | |
12181 | <autodoc>Position(Point ptOrigin, Size size)</autodoc> | |
12182 | <paramlist> | |
12183 | <param name="ptOrigin" type="Point" default=""/> | |
12184 | <param name="size" type="Size" default=""/> | |
12185 | </paramlist> | |
12186 | </method> | |
12187 | </class> | |
12188 | <pythoncode> | |
856bf319 RD |
12189 | #--------------------------------------------------------------------------- |
12190 | </pythoncode> | |
f32fc4bc RD |
12191 | <class name="PopupTransientWindow" oldname="wxPyPopupTransientWindow" module="windows"> |
12192 | <baseclass name="PopupWindow"/> | |
12193 | <constructor name="wxPyPopupTransientWindow" overloaded="no"> | |
12194 | <autodoc>__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow</autodoc> | |
12195 | <paramlist> | |
12196 | <param name="parent" type="Window" default=""/> | |
12197 | <param name="style" type="int" default="wxBORDER_NONE"/> | |
12198 | </paramlist> | |
12199 | </constructor> | |
12200 | <constructor name="PrePopupTransientWindow" overloaded="no"> | |
12201 | <autodoc>PrePopupTransientWindow() -> PopupTransientWindow</autodoc> | |
12202 | </constructor> | |
12203 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
12204 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
12205 | <paramlist> | |
12206 | <param name="self" type="PyObject" default=""/> | |
12207 | <param name="_class" type="PyObject" default=""/> | |
12208 | </paramlist> | |
12209 | </method> | |
12210 | <method name="Popup" type="" overloaded="no"> | |
12211 | <autodoc>Popup(Window focus=None)</autodoc> | |
12212 | <paramlist> | |
12213 | <param name="focus" type="Window" default="NULL"/> | |
12214 | </paramlist> | |
12215 | </method> | |
12216 | <method name="Dismiss" type="" overloaded="no"> | |
12217 | <autodoc>Dismiss()</autodoc> | |
12218 | </method> | |
12219 | </class> | |
12220 | <pythoncode> | |
856bf319 RD |
12221 | #--------------------------------------------------------------------------- |
12222 | </pythoncode> | |
f32fc4bc RD |
12223 | <class name="TipWindow" oldname="wxTipWindow" module="windows"> |
12224 | <baseclass name="PopupTransientWindow"/> | |
12225 | <constructor name="TipWindow" overloaded="no"> | |
12226 | <autodoc>__init__(Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow</autodoc> | |
12227 | <paramlist> | |
12228 | <param name="parent" type="Window" default=""/> | |
12229 | <param name="text" type="String" default=""/> | |
12230 | <param name="maxLength" type="int" default="100"/> | |
12231 | <param name="rectBound" type="Rect" default="NULL"/> | |
12232 | </paramlist> | |
12233 | </constructor> | |
12234 | <method name="SetBoundingRect" type="" overloaded="no"> | |
12235 | <autodoc>SetBoundingRect(Rect rectBound)</autodoc> | |
12236 | <paramlist> | |
12237 | <param name="rectBound" type="Rect" default=""/> | |
12238 | </paramlist> | |
12239 | </method> | |
12240 | <method name="Close" type="" overloaded="no"> | |
12241 | <autodoc>Close()</autodoc> | |
12242 | </method> | |
12243 | </class> | |
12244 | <pythoncode> | |
856bf319 RD |
12245 | #--------------------------------------------------------------------------- |
12246 | </pythoncode> | |
f32fc4bc RD |
12247 | <class name="VScrolledWindow" oldname="wxPyVScrolledWindow" module="windows"> |
12248 | <baseclass name="Panel"/> | |
12249 | <constructor name="wxPyVScrolledWindow" overloaded="no"> | |
12250 | <autodoc>__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, | |
856bf319 | 12251 | Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow</autodoc> |
f32fc4bc RD |
12252 | <paramlist> |
12253 | <param name="parent" type="Window" default=""/> | |
12254 | <param name="id" type="int" default="wxID_ANY"/> | |
12255 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12256 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12257 | <param name="style" type="long" default="0"/> | |
12258 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
12259 | </paramlist> | |
12260 | </constructor> | |
12261 | <constructor name="PreVScrolledWindow" overloaded="no"> | |
12262 | <autodoc>PreVScrolledWindow() -> VScrolledWindow</autodoc> | |
12263 | </constructor> | |
12264 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
12265 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
12266 | <paramlist> | |
12267 | <param name="self" type="PyObject" default=""/> | |
12268 | <param name="_class" type="PyObject" default=""/> | |
12269 | </paramlist> | |
12270 | </method> | |
12271 | <method name="Create" type="bool" overloaded="no"> | |
12272 | <autodoc>Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, | |
856bf319 | 12273 | Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool</autodoc> |
f32fc4bc RD |
12274 | <paramlist> |
12275 | <param name="parent" type="Window" default=""/> | |
12276 | <param name="id" type="int" default="wxID_ANY"/> | |
12277 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12278 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12279 | <param name="style" type="long" default="0"/> | |
12280 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
12281 | </paramlist> | |
12282 | </method> | |
12283 | <method name="SetLineCount" type="" overloaded="no"> | |
12284 | <autodoc>SetLineCount(size_t count)</autodoc> | |
12285 | <paramlist> | |
12286 | <param name="count" type="size_t" default=""/> | |
12287 | </paramlist> | |
12288 | </method> | |
12289 | <method name="ScrollToLine" type="bool" overloaded="no"> | |
12290 | <autodoc>ScrollToLine(size_t line) -> bool</autodoc> | |
12291 | <paramlist> | |
12292 | <param name="line" type="size_t" default=""/> | |
12293 | </paramlist> | |
12294 | </method> | |
12295 | <method name="ScrollLines" type="bool" overloaded="no"> | |
12296 | <autodoc>ScrollLines(int lines) -> bool</autodoc> | |
c2dda882 RD |
12297 | <docstring>If the platform and window class supports it, scrolls the window by |
12298 | the given number of lines down, if lines is positive, or up if lines | |
12299 | is negative. Returns True if the window was scrolled, False if it was | |
12300 | already on top/bottom and nothing was done.</docstring> | |
f32fc4bc RD |
12301 | <paramlist> |
12302 | <param name="lines" type="int" default=""/> | |
12303 | </paramlist> | |
12304 | </method> | |
12305 | <method name="ScrollPages" type="bool" overloaded="no"> | |
12306 | <autodoc>ScrollPages(int pages) -> bool</autodoc> | |
c2dda882 RD |
12307 | <docstring>If the platform and window class supports it, scrolls the window by |
12308 | the given number of pages down, if pages is positive, or up if pages | |
12309 | is negative. Returns True if the window was scrolled, False if it was | |
12310 | already on top/bottom and nothing was done.</docstring> | |
f32fc4bc RD |
12311 | <paramlist> |
12312 | <param name="pages" type="int" default=""/> | |
12313 | </paramlist> | |
12314 | </method> | |
12315 | <method name="RefreshLine" type="" overloaded="no"> | |
12316 | <autodoc>RefreshLine(size_t line)</autodoc> | |
12317 | <paramlist> | |
12318 | <param name="line" type="size_t" default=""/> | |
12319 | </paramlist> | |
12320 | </method> | |
12321 | <method name="RefreshLines" type="" overloaded="no"> | |
12322 | <autodoc>RefreshLines(size_t from, size_t to)</autodoc> | |
12323 | <paramlist> | |
12324 | <param name="from" type="size_t" default=""/> | |
12325 | <param name="to" type="size_t" default=""/> | |
12326 | </paramlist> | |
12327 | </method> | |
12328 | <method name="HitTestXT" type="int" overloaded="no"> | |
12329 | <autodoc>HitTestXT(int x, int y) -> int</autodoc> | |
c2dda882 | 12330 | <docstring>Test where the given (in client coords) point lies</docstring> |
f32fc4bc RD |
12331 | <paramlist> |
12332 | <param name="x" type="int" default=""/> | |
12333 | <param name="y" type="int" default=""/> | |
12334 | </paramlist> | |
12335 | </method> | |
12336 | <method name="HitTest" type="int" overloaded="no"> | |
12337 | <autodoc>HitTest(Point pt) -> int</autodoc> | |
c2dda882 | 12338 | <docstring>Test where the given (in client coords) point lies</docstring> |
f32fc4bc RD |
12339 | <paramlist> |
12340 | <param name="pt" type="Point" default=""/> | |
12341 | </paramlist> | |
12342 | </method> | |
12343 | <method name="RefreshAll" type="" overloaded="no"> | |
12344 | <autodoc>RefreshAll()</autodoc> | |
12345 | </method> | |
12346 | <method name="GetLineCount" type="size_t" overloaded="no"> | |
12347 | <autodoc>GetLineCount() -> size_t</autodoc> | |
12348 | </method> | |
12349 | <method name="GetFirstVisibleLine" type="size_t" overloaded="no"> | |
12350 | <autodoc>GetFirstVisibleLine() -> size_t</autodoc> | |
12351 | </method> | |
12352 | <method name="GetLastVisibleLine" type="size_t" overloaded="no"> | |
12353 | <autodoc>GetLastVisibleLine() -> size_t</autodoc> | |
12354 | </method> | |
12355 | <method name="IsVisible" type="bool" overloaded="no"> | |
12356 | <autodoc>IsVisible(size_t line) -> bool</autodoc> | |
12357 | <paramlist> | |
12358 | <param name="line" type="size_t" default=""/> | |
12359 | </paramlist> | |
12360 | </method> | |
12361 | </class> | |
12362 | <class name="VListBox" oldname="wxPyVListBox" module="windows"> | |
12363 | <baseclass name="VScrolledWindow"/> | |
12364 | <constructor name="wxPyVListBox" overloaded="no"> | |
12365 | <autodoc>__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, | |
856bf319 | 12366 | Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox</autodoc> |
f32fc4bc RD |
12367 | <paramlist> |
12368 | <param name="parent" type="Window" default=""/> | |
12369 | <param name="id" type="int" default="wxID_ANY"/> | |
12370 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12371 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12372 | <param name="style" type="long" default="0"/> | |
12373 | <param name="name" type="String" default="wxPyVListBoxNameStr"/> | |
12374 | </paramlist> | |
12375 | </constructor> | |
12376 | <constructor name="PreVListBox" overloaded="no"> | |
12377 | <autodoc>PreVListBox() -> VListBox</autodoc> | |
12378 | </constructor> | |
12379 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
12380 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
12381 | <paramlist> | |
12382 | <param name="self" type="PyObject" default=""/> | |
12383 | <param name="_class" type="PyObject" default=""/> | |
12384 | </paramlist> | |
12385 | </method> | |
12386 | <method name="Create" type="bool" overloaded="no"> | |
12387 | <autodoc>Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, | |
856bf319 | 12388 | Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool</autodoc> |
f32fc4bc RD |
12389 | <paramlist> |
12390 | <param name="parent" type="Window" default=""/> | |
12391 | <param name="id" type="int" default="wxID_ANY"/> | |
12392 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12393 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12394 | <param name="style" type="long" default="0"/> | |
12395 | <param name="name" type="String" default="wxPyVListBoxNameStr"/> | |
12396 | </paramlist> | |
12397 | </method> | |
12398 | <method name="GetItemCount" type="size_t" overloaded="no"> | |
12399 | <autodoc>GetItemCount() -> size_t</autodoc> | |
12400 | </method> | |
12401 | <method name="HasMultipleSelection" type="bool" overloaded="no"> | |
12402 | <autodoc>HasMultipleSelection() -> bool</autodoc> | |
12403 | </method> | |
12404 | <method name="GetSelection" type="int" overloaded="no"> | |
12405 | <autodoc>GetSelection() -> int</autodoc> | |
12406 | </method> | |
12407 | <method name="IsCurrent" type="bool" overloaded="no"> | |
12408 | <autodoc>IsCurrent(size_t item) -> bool</autodoc> | |
12409 | <paramlist> | |
12410 | <param name="item" type="size_t" default=""/> | |
12411 | </paramlist> | |
12412 | </method> | |
12413 | <method name="IsSelected" type="bool" overloaded="no"> | |
12414 | <autodoc>IsSelected(size_t item) -> bool</autodoc> | |
12415 | <paramlist> | |
12416 | <param name="item" type="size_t" default=""/> | |
12417 | </paramlist> | |
12418 | </method> | |
12419 | <method name="GetSelectedCount" type="size_t" overloaded="no"> | |
12420 | <autodoc>GetSelectedCount() -> size_t</autodoc> | |
12421 | </method> | |
12422 | <method name="GetFirstSelected" type="int" overloaded="no"> | |
12423 | <autodoc>GetFirstSelected(unsigned long cookie) -> int</autodoc> | |
12424 | <paramlist> | |
12425 | <param name="cookie" type="unsigned long" default=""/> | |
12426 | </paramlist> | |
12427 | </method> | |
12428 | <method name="GetNextSelected" type="int" overloaded="no"> | |
12429 | <autodoc>GetNextSelected(unsigned long cookie) -> int</autodoc> | |
12430 | <paramlist> | |
12431 | <param name="cookie" type="unsigned long" default=""/> | |
12432 | </paramlist> | |
12433 | </method> | |
12434 | <method name="GetMargins" type="Point" overloaded="no"> | |
12435 | <autodoc>GetMargins() -> Point</autodoc> | |
12436 | </method> | |
12437 | <method name="GetSelectionBackground" type="Colour" overloaded="no"> | |
12438 | <autodoc>GetSelectionBackground() -> Colour</autodoc> | |
12439 | </method> | |
12440 | <method name="SetItemCount" type="" overloaded="no"> | |
12441 | <autodoc>SetItemCount(size_t count)</autodoc> | |
12442 | <paramlist> | |
12443 | <param name="count" type="size_t" default=""/> | |
12444 | </paramlist> | |
12445 | </method> | |
12446 | <method name="Clear" type="" overloaded="no"> | |
12447 | <autodoc>Clear()</autodoc> | |
12448 | </method> | |
12449 | <method name="SetSelection" type="" overloaded="no"> | |
12450 | <autodoc>SetSelection(int selection)</autodoc> | |
12451 | <paramlist> | |
12452 | <param name="selection" type="int" default=""/> | |
12453 | </paramlist> | |
12454 | </method> | |
12455 | <method name="Select" type="bool" overloaded="no"> | |
12456 | <autodoc>Select(size_t item, bool select=True) -> bool</autodoc> | |
12457 | <paramlist> | |
12458 | <param name="item" type="size_t" default=""/> | |
12459 | <param name="select" type="bool" default="True"/> | |
12460 | </paramlist> | |
12461 | </method> | |
12462 | <method name="SelectRange" type="bool" overloaded="no"> | |
12463 | <autodoc>SelectRange(size_t from, size_t to) -> bool</autodoc> | |
12464 | <paramlist> | |
12465 | <param name="from" type="size_t" default=""/> | |
12466 | <param name="to" type="size_t" default=""/> | |
12467 | </paramlist> | |
12468 | </method> | |
12469 | <method name="Toggle" type="" overloaded="no"> | |
12470 | <autodoc>Toggle(size_t item)</autodoc> | |
12471 | <paramlist> | |
12472 | <param name="item" type="size_t" default=""/> | |
12473 | </paramlist> | |
12474 | </method> | |
12475 | <method name="SelectAll" type="bool" overloaded="no"> | |
12476 | <autodoc>SelectAll() -> bool</autodoc> | |
12477 | </method> | |
12478 | <method name="DeselectAll" type="bool" overloaded="no"> | |
12479 | <autodoc>DeselectAll() -> bool</autodoc> | |
12480 | </method> | |
12481 | <method name="SetMargins" type="" overloaded="no"> | |
12482 | <autodoc>SetMargins(Point pt)</autodoc> | |
12483 | <paramlist> | |
12484 | <param name="pt" type="Point" default=""/> | |
12485 | </paramlist> | |
12486 | </method> | |
12487 | <method name="SetMarginsXY" type="" overloaded="no"> | |
12488 | <autodoc>SetMarginsXY(int x, int y)</autodoc> | |
12489 | <paramlist> | |
12490 | <param name="x" type="int" default=""/> | |
12491 | <param name="y" type="int" default=""/> | |
12492 | </paramlist> | |
12493 | </method> | |
12494 | <method name="SetSelectionBackground" type="" overloaded="no"> | |
12495 | <autodoc>SetSelectionBackground(Colour col)</autodoc> | |
12496 | <paramlist> | |
12497 | <param name="col" type="Colour" default=""/> | |
12498 | </paramlist> | |
12499 | </method> | |
12500 | </class> | |
12501 | <class name="HtmlListBox" oldname="wxPyHtmlListBox" module="windows"> | |
12502 | <baseclass name="VListBox"/> | |
12503 | <constructor name="wxPyHtmlListBox" overloaded="no"> | |
12504 | <autodoc>__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, | |
856bf319 | 12505 | Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox</autodoc> |
f32fc4bc RD |
12506 | <paramlist> |
12507 | <param name="parent" type="Window" default=""/> | |
12508 | <param name="id" type="int" default="wxID_ANY"/> | |
12509 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12510 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12511 | <param name="style" type="long" default="0"/> | |
12512 | <param name="name" type="String" default="wxPyVListBoxNameStr"/> | |
12513 | </paramlist> | |
12514 | </constructor> | |
12515 | <constructor name="PreHtmlListBox" overloaded="no"> | |
12516 | <autodoc>PreHtmlListBox() -> HtmlListBox</autodoc> | |
12517 | </constructor> | |
12518 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
12519 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
12520 | <paramlist> | |
12521 | <param name="self" type="PyObject" default=""/> | |
12522 | <param name="_class" type="PyObject" default=""/> | |
12523 | </paramlist> | |
12524 | </method> | |
12525 | <method name="Create" type="bool" overloaded="no"> | |
12526 | <autodoc>Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, | |
856bf319 | 12527 | Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool</autodoc> |
f32fc4bc RD |
12528 | <paramlist> |
12529 | <param name="parent" type="Window" default=""/> | |
12530 | <param name="id" type="int" default="wxID_ANY"/> | |
12531 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12532 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12533 | <param name="style" type="long" default="0"/> | |
12534 | <param name="name" type="String" default="wxPyVListBoxNameStr"/> | |
12535 | </paramlist> | |
12536 | </method> | |
12537 | <method name="RefreshAll" type="" overloaded="no"> | |
12538 | <autodoc>RefreshAll()</autodoc> | |
12539 | </method> | |
12540 | <method name="SetItemCount" type="" overloaded="no"> | |
12541 | <autodoc>SetItemCount(size_t count)</autodoc> | |
12542 | <paramlist> | |
12543 | <param name="count" type="size_t" default=""/> | |
12544 | </paramlist> | |
12545 | </method> | |
12546 | </class> | |
12547 | <pythoncode> | |
856bf319 RD |
12548 | #--------------------------------------------------------------------------- |
12549 | </pythoncode> | |
f32fc4bc RD |
12550 | <class name="TaskBarIcon" oldname="wxTaskBarIcon" module="windows"> |
12551 | <baseclass name="EvtHandler"/> | |
12552 | <constructor name="TaskBarIcon" overloaded="no"> | |
12553 | <autodoc>__init__() -> TaskBarIcon</autodoc> | |
12554 | </constructor> | |
12555 | <destructor name="~wxTaskBarIcon" overloaded="no"> | |
12556 | <autodoc>__del__()</autodoc> | |
12557 | </destructor> | |
12558 | <method name="IsOk" type="bool" overloaded="no"> | |
12559 | <autodoc>IsOk() -> bool</autodoc> | |
12560 | </method> | |
12561 | <method name="IsIconInstalled" type="bool" overloaded="no"> | |
12562 | <autodoc>IsIconInstalled() -> bool</autodoc> | |
12563 | </method> | |
12564 | <method name="SetIcon" type="bool" overloaded="no"> | |
12565 | <autodoc>SetIcon(Icon icon, String tooltip=EmptyString) -> bool</autodoc> | |
12566 | <paramlist> | |
12567 | <param name="icon" type="Icon" default=""/> | |
12568 | <param name="tooltip" type="String" default="wxPyEmptyString"/> | |
12569 | </paramlist> | |
12570 | </method> | |
12571 | <method name="RemoveIcon" type="bool" overloaded="no"> | |
12572 | <autodoc>RemoveIcon() -> bool</autodoc> | |
12573 | </method> | |
12574 | <method name="PopupMenu" type="bool" overloaded="no"> | |
12575 | <autodoc>PopupMenu(Menu menu) -> bool</autodoc> | |
12576 | <paramlist> | |
12577 | <param name="menu" type="Menu" default=""/> | |
12578 | </paramlist> | |
12579 | </method> | |
12580 | </class> | |
12581 | <class name="TaskBarIconEvent" oldname="wxTaskBarIconEvent" module="windows"> | |
12582 | <baseclass name="Event"/> | |
12583 | <constructor name="TaskBarIconEvent" overloaded="no"> | |
12584 | <autodoc>__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent</autodoc> | |
12585 | <paramlist> | |
12586 | <param name="evtType" type="wxEventType" default=""/> | |
12587 | <param name="tbIcon" type="TaskBarIcon" default=""/> | |
12588 | </paramlist> | |
12589 | </constructor> | |
12590 | </class> | |
12591 | <pythoncode> | |
856bf319 RD |
12592 | EVT_TASKBAR_MOVE = wx.PyEventBinder ( wxEVT_TASKBAR_MOVE ) |
12593 | EVT_TASKBAR_LEFT_DOWN = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN ) | |
12594 | EVT_TASKBAR_LEFT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP ) | |
12595 | EVT_TASKBAR_RIGHT_DOWN = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN ) | |
12596 | EVT_TASKBAR_RIGHT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP ) | |
12597 | EVT_TASKBAR_LEFT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK ) | |
12598 | EVT_TASKBAR_RIGHT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK ) | |
12599 | </pythoncode> | |
f32fc4bc | 12600 | <pythoncode> |
856bf319 RD |
12601 | #--------------------------------------------------------------------------- |
12602 | </pythoncode> | |
f32fc4bc | 12603 | <class name="ColourData" oldname="wxColourData" module="windows"> |
c2dda882 | 12604 | <docstring>This class holds a variety of information related to colour dialogs.</docstring> |
f32fc4bc RD |
12605 | <baseclass name="Object"/> |
12606 | <constructor name="ColourData" overloaded="no"> | |
12607 | <autodoc>__init__() -> ColourData</autodoc> | |
c2dda882 | 12608 | <docstring>Constructor, sets default values.</docstring> |
f32fc4bc RD |
12609 | </constructor> |
12610 | <destructor name="~wxColourData" overloaded="no"> | |
12611 | <autodoc>__del__()</autodoc> | |
12612 | </destructor> | |
12613 | <method name="GetChooseFull" type="bool" overloaded="no"> | |
12614 | <autodoc>GetChooseFull() -> bool</autodoc> | |
c2dda882 RD |
12615 | <docstring>Under Windows, determines whether the Windows colour dialog will display |
12616 | the full dialog with custom colour selection controls. Has no meaning | |
12617 | under other platforms. The default value is true.</docstring> | |
f32fc4bc RD |
12618 | </method> |
12619 | <method name="GetColour" type="Colour" overloaded="no"> | |
12620 | <autodoc>GetColour() -> Colour</autodoc> | |
c2dda882 | 12621 | <docstring>Gets the colour (pre)selected by the dialog.</docstring> |
f32fc4bc RD |
12622 | </method> |
12623 | <method name="GetCustomColour" type="Colour" overloaded="no"> | |
12624 | <autodoc>GetCustomColour(int i) -> Colour</autodoc> | |
c2dda882 RD |
12625 | <docstring>Gets the i'th custom colour associated with the colour dialog. i should |
12626 | be an integer between 0 and 15. The default custom colours are all white.</docstring> | |
f32fc4bc RD |
12627 | <paramlist> |
12628 | <param name="i" type="int" default=""/> | |
12629 | </paramlist> | |
12630 | </method> | |
12631 | <method name="SetChooseFull" type="" overloaded="no"> | |
12632 | <autodoc>SetChooseFull(int flag)</autodoc> | |
c2dda882 RD |
12633 | <docstring>Under Windows, tells the Windows colour dialog to display the full dialog |
12634 | with custom colour selection controls. Under other platforms, has no effect. | |
12635 | The default value is true.</docstring> | |
f32fc4bc RD |
12636 | <paramlist> |
12637 | <param name="flag" type="int" default=""/> | |
12638 | </paramlist> | |
12639 | </method> | |
12640 | <method name="SetColour" type="" overloaded="no"> | |
12641 | <autodoc>SetColour(Colour colour)</autodoc> | |
c2dda882 | 12642 | <docstring>Sets the default colour for the colour dialog. The default colour is black.</docstring> |
f32fc4bc RD |
12643 | <paramlist> |
12644 | <param name="colour" type="Colour" default=""/> | |
12645 | </paramlist> | |
12646 | </method> | |
12647 | <method name="SetCustomColour" type="" overloaded="no"> | |
12648 | <autodoc>SetCustomColour(int i, Colour colour)</autodoc> | |
c2dda882 RD |
12649 | <docstring>Sets the i'th custom colour for the colour dialog. i should be an integer |
12650 | between 0 and 15. The default custom colours are all white.</docstring> | |
f32fc4bc RD |
12651 | <paramlist> |
12652 | <param name="i" type="int" default=""/> | |
12653 | <param name="colour" type="Colour" default=""/> | |
12654 | </paramlist> | |
12655 | </method> | |
12656 | </class> | |
12657 | <class name="ColourDialog" oldname="wxColourDialog" module="windows"> | |
c2dda882 | 12658 | <docstring>This class represents the colour chooser dialog.</docstring> |
f32fc4bc RD |
12659 | <baseclass name="Dialog"/> |
12660 | <constructor name="ColourDialog" overloaded="no"> | |
12661 | <autodoc>__init__(Window parent, ColourData data=None) -> ColourDialog</autodoc> | |
c2dda882 RD |
12662 | <docstring>Constructor. Pass a parent window, and optionally a ColourData, which |
12663 | will be copied to the colour dialog's internal ColourData instance.</docstring> | |
f32fc4bc RD |
12664 | <paramlist> |
12665 | <param name="parent" type="Window" default=""/> | |
12666 | <param name="data" type="ColourData" default="NULL"/> | |
12667 | </paramlist> | |
12668 | </constructor> | |
12669 | <method name="GetColourData" type="ColourData" overloaded="no"> | |
12670 | <autodoc>GetColourData() -> ColourData</autodoc> | |
c2dda882 | 12671 | <docstring>Returns a reference to the ColourData used by the dialog.</docstring> |
f32fc4bc RD |
12672 | </method> |
12673 | </class> | |
12674 | <class name="DirDialog" oldname="wxDirDialog" module="windows"> | |
c2dda882 RD |
12675 | <docstring>This class represents the directory chooser dialog.</docstring> |
12676 | <refdoc> | |
12677 | Styles | |
12678 | wxDD_NEW_DIR_BUTTON Add "Create new directory" button and allow | |
12679 | directory names to be editable. On Windows the new | |
12680 | directory button is only available with recent | |
12681 | versions of the common dialogs.</refdoc> | |
f32fc4bc RD |
12682 | <baseclass name="Dialog"/> |
12683 | <constructor name="DirDialog" overloaded="no"> | |
12684 | <autodoc>__init__(Window parent, String message=DirSelectorPromptStr, | |
856bf319 RD |
12685 | String defaultPath=EmptyString, long style=0, |
12686 | Point pos=DefaultPosition, Size size=DefaultSize, | |
12687 | String name=DirDialogNameStr) -> DirDialog</autodoc> | |
c2dda882 RD |
12688 | <docstring>Constructor. Use ShowModal method to show the dialog.</docstring> |
12689 | <refdoc> | |
12690 | Styles | |
12691 | wxDD_NEW_DIR_BUTTON Add "Create new directory" button and allow | |
12692 | directory names to be editable. On Windows the new | |
12693 | directory button is only available with recent | |
12694 | versions of the common dialogs.</refdoc> | |
f32fc4bc RD |
12695 | <paramlist> |
12696 | <param name="parent" type="Window" default=""/> | |
12697 | <param name="message" type="String" default="wxPyDirSelectorPromptStr"/> | |
12698 | <param name="defaultPath" type="String" default="wxPyEmptyString"/> | |
12699 | <param name="style" type="long" default="0"/> | |
12700 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12701 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12702 | <param name="name" type="String" default="wxPyDirDialogNameStr"/> | |
12703 | </paramlist> | |
12704 | </constructor> | |
12705 | <method name="GetPath" type="String" overloaded="no"> | |
12706 | <autodoc>GetPath() -> String</autodoc> | |
c2dda882 | 12707 | <docstring>Returns the default or user-selected path.</docstring> |
f32fc4bc RD |
12708 | </method> |
12709 | <method name="GetMessage" type="String" overloaded="no"> | |
12710 | <autodoc>GetMessage() -> String</autodoc> | |
c2dda882 | 12711 | <docstring>Returns the message that will be displayed on the dialog.</docstring> |
f32fc4bc RD |
12712 | </method> |
12713 | <method name="GetStyle" type="long" overloaded="no"> | |
12714 | <autodoc>GetStyle() -> long</autodoc> | |
c2dda882 | 12715 | <docstring>Returns the dialog style.</docstring> |
f32fc4bc RD |
12716 | </method> |
12717 | <method name="SetMessage" type="" overloaded="no"> | |
12718 | <autodoc>SetMessage(String message)</autodoc> | |
c2dda882 | 12719 | <docstring>Sets the message that will be displayed on the dialog.</docstring> |
f32fc4bc RD |
12720 | <paramlist> |
12721 | <param name="message" type="String" default=""/> | |
12722 | </paramlist> | |
12723 | </method> | |
12724 | <method name="SetPath" type="" overloaded="no"> | |
12725 | <autodoc>SetPath(String path)</autodoc> | |
c2dda882 | 12726 | <docstring>Sets the default path.</docstring> |
f32fc4bc RD |
12727 | <paramlist> |
12728 | <param name="path" type="String" default=""/> | |
12729 | </paramlist> | |
12730 | </method> | |
f32fc4bc RD |
12731 | </class> |
12732 | <class name="FileDialog" oldname="wxFileDialog" module="windows"> | |
c2dda882 RD |
12733 | <docstring>This class represents the file chooser dialog.</docstring> |
12734 | <refdoc> | |
12735 | In Windows, this is the common file selector dialog. In X, this is a file | |
12736 | selector box with somewhat less functionality. The path and filename are | |
12737 | distinct elements of a full file pathname. If path is "", the current | |
12738 | directory will be used. If filename is "", no default filename will be | |
12739 | supplied. The wildcard determines what files are displayed in the file | |
12740 | selector, and file extension supplies a type extension for the required | |
12741 | filename. | |
12742 | ||
12743 | Both the X and Windows versions implement a wildcard filter. Typing a filename | |
12744 | containing wildcards (*, ?) in the filename text item, and clicking on Ok, | |
12745 | will result in only those files matching the pattern being displayed. The | |
12746 | wildcard may be a specification for multiple types of file with a description | |
12747 | for each, such as: | |
12748 | ||
12749 | "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif" | |
12750 | ||
12751 | Styles | |
12752 | wx.OPEN This is an open dialog. | |
12753 | ||
12754 | wx.SAVE This is a save dialog. | |
12755 | ||
12756 | wx.HIDE_READONLY For open dialog only: hide the checkbox allowing to | |
12757 | open the file in read-only mode. | |
12758 | ||
12759 | wx.OVERWRITE_PROMPT For save dialog only: prompt for a confirmation if a | |
12760 | file will be overwritten. | |
12761 | ||
12762 | wx.MULTIPLE For open dialog only: allows selecting multiple files. | |
12763 | ||
12764 | wx.CHANGE_DIR Change the current working directory to the directory | |
12765 | where the file(s) chosen by the user are. | |
12766 | </refdoc> | |
f32fc4bc RD |
12767 | <baseclass name="Dialog"/> |
12768 | <constructor name="FileDialog" overloaded="no"> | |
12769 | <autodoc>__init__(Window parent, String message=FileSelectorPromptStr, | |
856bf319 RD |
12770 | String defaultDir=EmptyString, String defaultFile=EmptyString, |
12771 | String wildcard=FileSelectorDefaultWildcardStr, | |
12772 | long style=0, Point pos=DefaultPosition) -> FileDialog</autodoc> | |
c2dda882 RD |
12773 | <docstring>Constructor. Use ShowModal method to show the dialog.</docstring> |
12774 | <refdoc> | |
12775 | In Windows, this is the common file selector dialog. In X, this is a file | |
12776 | selector box with somewhat less functionality. The path and filename are | |
12777 | distinct elements of a full file pathname. If path is "", the current | |
12778 | directory will be used. If filename is "", no default filename will be | |
12779 | supplied. The wildcard determines what files are displayed in the file | |
12780 | selector, and file extension supplies a type extension for the required | |
12781 | filename. | |
12782 | ||
12783 | Both the X and Windows versions implement a wildcard filter. Typing a filename | |
12784 | containing wildcards (*, ?) in the filename text item, and clicking on Ok, | |
12785 | will result in only those files matching the pattern being displayed. The | |
12786 | wildcard may be a specification for multiple types of file with a description | |
12787 | for each, such as: | |
12788 | ||
12789 | "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif" | |
12790 | ||
12791 | Styles | |
12792 | wx.OPEN This is an open dialog. | |
12793 | ||
12794 | wx.SAVE This is a save dialog. | |
12795 | ||
12796 | wx.HIDE_READONLY For open dialog only: hide the checkbox allowing to | |
12797 | open the file in read-only mode. | |
12798 | ||
12799 | wx.OVERWRITE_PROMPT For save dialog only: prompt for a confirmation if a | |
12800 | file will be overwritten. | |
12801 | ||
12802 | wx.MULTIPLE For open dialog only: allows selecting multiple files. | |
12803 | ||
12804 | wx.CHANGE_DIR Change the current working directory to the directory | |
12805 | where the file(s) chosen by the user are. | |
12806 | </refdoc> | |
f32fc4bc RD |
12807 | <paramlist> |
12808 | <param name="parent" type="Window" default=""/> | |
12809 | <param name="message" type="String" default="wxPyFileSelectorPromptStr"/> | |
12810 | <param name="defaultDir" type="String" default="wxPyEmptyString"/> | |
12811 | <param name="defaultFile" type="String" default="wxPyEmptyString"/> | |
12812 | <param name="wildcard" type="String" default="wxPyFileSelectorDefaultWildcardStr"/> | |
12813 | <param name="style" type="long" default="0"/> | |
12814 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12815 | </paramlist> | |
12816 | </constructor> | |
12817 | <method name="SetMessage" type="" overloaded="no"> | |
12818 | <autodoc>SetMessage(String message)</autodoc> | |
c2dda882 | 12819 | <docstring>Sets the message that will be displayed on the dialog.</docstring> |
f32fc4bc RD |
12820 | <paramlist> |
12821 | <param name="message" type="String" default=""/> | |
12822 | </paramlist> | |
12823 | </method> | |
12824 | <method name="SetPath" type="" overloaded="no"> | |
12825 | <autodoc>SetPath(String path)</autodoc> | |
c2dda882 RD |
12826 | <docstring>Sets the path (the combined directory and filename that will |
12827 | be returned when the dialog is dismissed).</docstring> | |
f32fc4bc RD |
12828 | <paramlist> |
12829 | <param name="path" type="String" default=""/> | |
12830 | </paramlist> | |
12831 | </method> | |
12832 | <method name="SetDirectory" type="" overloaded="no"> | |
12833 | <autodoc>SetDirectory(String dir)</autodoc> | |
c2dda882 | 12834 | <docstring>Sets the default directory.</docstring> |
f32fc4bc RD |
12835 | <paramlist> |
12836 | <param name="dir" type="String" default=""/> | |
12837 | </paramlist> | |
12838 | </method> | |
12839 | <method name="SetFilename" type="" overloaded="no"> | |
12840 | <autodoc>SetFilename(String name)</autodoc> | |
c2dda882 | 12841 | <docstring>Sets the default filename.</docstring> |
f32fc4bc RD |
12842 | <paramlist> |
12843 | <param name="name" type="String" default=""/> | |
12844 | </paramlist> | |
12845 | </method> | |
12846 | <method name="SetWildcard" type="" overloaded="no"> | |
12847 | <autodoc>SetWildcard(String wildCard)</autodoc> | |
c2dda882 RD |
12848 | <docstring>Sets the wildcard, which can contain multiple file types, for example: |
12849 | "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"</docstring> | |
f32fc4bc RD |
12850 | <paramlist> |
12851 | <param name="wildCard" type="String" default=""/> | |
12852 | </paramlist> | |
12853 | </method> | |
12854 | <method name="SetStyle" type="" overloaded="no"> | |
12855 | <autodoc>SetStyle(long style)</autodoc> | |
c2dda882 | 12856 | <docstring>Sets the dialog style.</docstring> |
f32fc4bc RD |
12857 | <paramlist> |
12858 | <param name="style" type="long" default=""/> | |
12859 | </paramlist> | |
12860 | </method> | |
12861 | <method name="SetFilterIndex" type="" overloaded="no"> | |
12862 | <autodoc>SetFilterIndex(int filterIndex)</autodoc> | |
c2dda882 | 12863 | <docstring>Sets the default filter index, starting from zero.</docstring> |
f32fc4bc RD |
12864 | <paramlist> |
12865 | <param name="filterIndex" type="int" default=""/> | |
12866 | </paramlist> | |
12867 | </method> | |
12868 | <method name="GetMessage" type="String" overloaded="no"> | |
12869 | <autodoc>GetMessage() -> String</autodoc> | |
c2dda882 | 12870 | <docstring>Returns the message that will be displayed on the dialog.</docstring> |
f32fc4bc RD |
12871 | </method> |
12872 | <method name="GetPath" type="String" overloaded="no"> | |
12873 | <autodoc>GetPath() -> String</autodoc> | |
c2dda882 | 12874 | <docstring>Returns the full path (directory and filename) of the selected file.</docstring> |
f32fc4bc RD |
12875 | </method> |
12876 | <method name="GetDirectory" type="String" overloaded="no"> | |
12877 | <autodoc>GetDirectory() -> String</autodoc> | |
c2dda882 | 12878 | <docstring>Returns the default directory.</docstring> |
f32fc4bc RD |
12879 | </method> |
12880 | <method name="GetFilename" type="String" overloaded="no"> | |
12881 | <autodoc>GetFilename() -> String</autodoc> | |
c2dda882 | 12882 | <docstring>Returns the default filename.</docstring> |
f32fc4bc RD |
12883 | </method> |
12884 | <method name="GetWildcard" type="String" overloaded="no"> | |
12885 | <autodoc>GetWildcard() -> String</autodoc> | |
c2dda882 | 12886 | <docstring>Returns the file dialog wildcard.</docstring> |
f32fc4bc RD |
12887 | </method> |
12888 | <method name="GetStyle" type="long" overloaded="no"> | |
12889 | <autodoc>GetStyle() -> long</autodoc> | |
c2dda882 | 12890 | <docstring>Returns the dialog style.</docstring> |
f32fc4bc RD |
12891 | </method> |
12892 | <method name="GetFilterIndex" type="int" overloaded="no"> | |
12893 | <autodoc>GetFilterIndex() -> int</autodoc> | |
c2dda882 RD |
12894 | <docstring>Returns the index into the list of filters supplied, optionally, in |
12895 | the wildcard parameter. Before the dialog is shown, this is the index | |
12896 | which will be used when the dialog is first displayed. After the dialog | |
12897 | is shown, this is the index selected by the user.</docstring> | |
f32fc4bc RD |
12898 | </method> |
12899 | <method name="GetFilenames" type="PyObject" overloaded="no"> | |
12900 | <autodoc>GetFilenames() -> PyObject</autodoc> | |
c2dda882 RD |
12901 | <docstring>Returns a list of filenames chosen in the dialog. This function should |
12902 | only be used with the dialogs which have wx.MULTIPLE style, use | |
12903 | GetFilename for the others.</docstring> | |
f32fc4bc RD |
12904 | </method> |
12905 | <method name="GetPaths" type="PyObject" overloaded="no"> | |
12906 | <autodoc>GetPaths() -> PyObject</autodoc> | |
c2dda882 RD |
12907 | <docstring>Fills the array paths with the full paths of the files chosen. This |
12908 | function should only be used with the dialogs which have wx.MULTIPLE style, | |
12909 | use GetPath for the others.</docstring> | |
f32fc4bc RD |
12910 | </method> |
12911 | </class> | |
12912 | <class name="MultiChoiceDialog" oldname="wxMultiChoiceDialog" module="windows"> | |
c2dda882 | 12913 | <docstring>A simple dialog with a multi selection listbox.</docstring> |
f32fc4bc RD |
12914 | <baseclass name="Dialog"/> |
12915 | <constructor name="MultiChoiceDialog" overloaded="no"> | |
c2dda882 RD |
12916 | <autodoc>__init__(Window parent, String message, String caption, |
12917 | List choices=[], long style=CHOICEDLG_STYLE, | |
856bf319 | 12918 | Point pos=DefaultPosition) -> MultiChoiceDialog</autodoc> |
c2dda882 | 12919 | <docstring>Constructor. Use ShowModal method to show the dialog.</docstring> |
f32fc4bc RD |
12920 | <paramlist> |
12921 | <param name="parent" type="Window" default=""/> | |
12922 | <param name="message" type="String" default=""/> | |
12923 | <param name="caption" type="String" default=""/> | |
12924 | <param name="choices" type="int" default="0"/> | |
12925 | <param name="choices_array" type="String" default=""/> | |
12926 | <param name="style" type="long" default="wxCHOICEDLG_STYLE"/> | |
12927 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12928 | </paramlist> | |
12929 | </constructor> | |
12930 | <method name="SetSelections" type="" overloaded="no"> | |
c2dda882 RD |
12931 | <autodoc>SetSelections(List selections)</autodoc> |
12932 | <docstring>Specify the items in the list that shoudl be selected, using a list of integers.</docstring> | |
f32fc4bc RD |
12933 | <paramlist> |
12934 | <param name="selections" type="wxArrayInt" default=""/> | |
12935 | </paramlist> | |
12936 | </method> | |
12937 | <method name="GetSelections" type="PyObject" overloaded="no"> | |
c2dda882 RD |
12938 | <autodoc>GetSelections() -> [selections]</autodoc> |
12939 | <docstring>Returns a list of integers representing the items that are selected.</docstring> | |
f32fc4bc RD |
12940 | </method> |
12941 | </class> | |
12942 | <class name="SingleChoiceDialog" oldname="wxSingleChoiceDialog" module="windows"> | |
c2dda882 | 12943 | <docstring>A simple dialog with a single selection listbox.</docstring> |
f32fc4bc RD |
12944 | <baseclass name="Dialog"/> |
12945 | <constructor name="SingleChoiceDialog" overloaded="no"> | |
c2dda882 RD |
12946 | <autodoc>__init__(Window parent, String message, String caption, |
12947 | List choices=[], long style=CHOICEDLG_STYLE, | |
856bf319 | 12948 | Point pos=DefaultPosition) -> SingleChoiceDialog</autodoc> |
c2dda882 | 12949 | <docstring>Constructor. Use ShowModal method to show the dialog.</docstring> |
f32fc4bc RD |
12950 | <paramlist> |
12951 | <param name="parent" type="Window" default=""/> | |
12952 | <param name="message" type="String" default=""/> | |
12953 | <param name="caption" type="String" default=""/> | |
12954 | <param name="choices" type="int" default=""/> | |
12955 | <param name="choices_array" type="String" default=""/> | |
12956 | <param name="style" type="long" default="wxCHOICEDLG_STYLE"/> | |
12957 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12958 | </paramlist> | |
12959 | </constructor> | |
12960 | <method name="GetSelection" type="int" overloaded="no"> | |
12961 | <autodoc>GetSelection() -> int</autodoc> | |
c2dda882 | 12962 | <docstring>Get the index of teh currently selected item.</docstring> |
f32fc4bc RD |
12963 | </method> |
12964 | <method name="GetStringSelection" type="String" overloaded="no"> | |
12965 | <autodoc>GetStringSelection() -> String</autodoc> | |
c2dda882 | 12966 | <docstring>Returns the string value of the currently selected item</docstring> |
f32fc4bc RD |
12967 | </method> |
12968 | <method name="SetSelection" type="" overloaded="no"> | |
12969 | <autodoc>SetSelection(int sel)</autodoc> | |
c2dda882 | 12970 | <docstring>Set the current selected item to sel</docstring> |
f32fc4bc RD |
12971 | <paramlist> |
12972 | <param name="sel" type="int" default=""/> | |
12973 | </paramlist> | |
12974 | </method> | |
f32fc4bc RD |
12975 | </class> |
12976 | <class name="TextEntryDialog" oldname="wxTextEntryDialog" module="windows"> | |
c2dda882 | 12977 | <docstring>A dialog with text control, [ok] and [cancel] buttons</docstring> |
f32fc4bc RD |
12978 | <baseclass name="Dialog"/> |
12979 | <constructor name="TextEntryDialog" overloaded="no"> | |
12980 | <autodoc>__init__(Window parent, String message, String caption=GetTextFromUserPromptStr, | |
856bf319 RD |
12981 | String defaultValue=EmptyString, |
12982 | long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog</autodoc> | |
c2dda882 | 12983 | <docstring>Constructor. Use ShowModal method to show the dialog.</docstring> |
f32fc4bc RD |
12984 | <paramlist> |
12985 | <param name="parent" type="Window" default=""/> | |
12986 | <param name="message" type="String" default=""/> | |
12987 | <param name="caption" type="String" default="wxPyGetTextFromUserPromptStr"/> | |
12988 | <param name="defaultValue" type="String" default="wxPyEmptyString"/> | |
12989 | <param name="style" type="long" default="wxOK|wxCANCEL|wxCENTRE"/> | |
12990 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12991 | </paramlist> | |
12992 | </constructor> | |
12993 | <method name="GetValue" type="String" overloaded="no"> | |
12994 | <autodoc>GetValue() -> String</autodoc> | |
c2dda882 RD |
12995 | <docstring>Returns the text that the user has entered if the user has pressed OK, |
12996 | or the original value if the user has pressed Cancel.</docstring> | |
f32fc4bc RD |
12997 | </method> |
12998 | <method name="SetValue" type="" overloaded="no"> | |
12999 | <autodoc>SetValue(String value)</autodoc> | |
c2dda882 | 13000 | <docstring>Sets the default text value.</docstring> |
f32fc4bc RD |
13001 | <paramlist> |
13002 | <param name="value" type="String" default=""/> | |
13003 | </paramlist> | |
13004 | </method> | |
f32fc4bc RD |
13005 | </class> |
13006 | <class name="FontData" oldname="wxFontData" module="windows"> | |
c2dda882 | 13007 | <docstring>This class holds a variety of information related to font dialogs.</docstring> |
f32fc4bc RD |
13008 | <baseclass name="Object"/> |
13009 | <constructor name="FontData" overloaded="no"> | |
13010 | <autodoc>__init__() -> FontData</autodoc> | |
c2dda882 | 13011 | <docstring>This class holds a variety of information related to font dialogs.</docstring> |
f32fc4bc RD |
13012 | </constructor> |
13013 | <destructor name="~wxFontData" overloaded="no"> | |
13014 | <autodoc>__del__()</autodoc> | |
13015 | </destructor> | |
13016 | <method name="EnableEffects" type="" overloaded="no"> | |
13017 | <autodoc>EnableEffects(bool enable)</autodoc> | |
c2dda882 RD |
13018 | <docstring>Enables or disables 'effects' under MS Windows only. This refers |
13019 | to the controls for manipulating colour, strikeout and underline | |
13020 | properties. The default value is true.</docstring> | |
f32fc4bc RD |
13021 | <paramlist> |
13022 | <param name="enable" type="bool" default=""/> | |
13023 | </paramlist> | |
13024 | </method> | |
13025 | <method name="GetAllowSymbols" type="bool" overloaded="no"> | |
13026 | <autodoc>GetAllowSymbols() -> bool</autodoc> | |
c2dda882 RD |
13027 | <docstring>Under MS Windows, returns a flag determining whether symbol fonts can be |
13028 | selected. Has no effect on other platforms. The default value is true.</docstring> | |
f32fc4bc RD |
13029 | </method> |
13030 | <method name="GetColour" type="Colour" overloaded="no"> | |
13031 | <autodoc>GetColour() -> Colour</autodoc> | |
c2dda882 | 13032 | <docstring>Gets the colour associated with the font dialog. The default value is black.</docstring> |
f32fc4bc RD |
13033 | </method> |
13034 | <method name="GetChosenFont" type="Font" overloaded="no"> | |
13035 | <autodoc>GetChosenFont() -> Font</autodoc> | |
c2dda882 | 13036 | <docstring>Gets the font chosen by the user.</docstring> |
f32fc4bc RD |
13037 | </method> |
13038 | <method name="GetEnableEffects" type="bool" overloaded="no"> | |
13039 | <autodoc>GetEnableEffects() -> bool</autodoc> | |
c2dda882 | 13040 | <docstring>Determines whether 'effects' are enabled under Windows.</docstring> |
f32fc4bc RD |
13041 | </method> |
13042 | <method name="GetInitialFont" type="Font" overloaded="no"> | |
13043 | <autodoc>GetInitialFont() -> Font</autodoc> | |
c2dda882 RD |
13044 | <docstring>Gets the font that will be initially used by the font dialog. This should have |
13045 | previously been set by the application.</docstring> | |
f32fc4bc RD |
13046 | </method> |
13047 | <method name="GetShowHelp" type="bool" overloaded="no"> | |
13048 | <autodoc>GetShowHelp() -> bool</autodoc> | |
c2dda882 RD |
13049 | <docstring>Returns true if the Help button will be shown (Windows only). The default |
13050 | value is false.</docstring> | |
f32fc4bc RD |
13051 | </method> |
13052 | <method name="SetAllowSymbols" type="" overloaded="no"> | |
13053 | <autodoc>SetAllowSymbols(bool allowSymbols)</autodoc> | |
c2dda882 RD |
13054 | <docstring>Under MS Windows, determines whether symbol fonts can be selected. Has no |
13055 | effect on other platforms. The default value is true.</docstring> | |
f32fc4bc RD |
13056 | <paramlist> |
13057 | <param name="allowSymbols" type="bool" default=""/> | |
13058 | </paramlist> | |
13059 | </method> | |
13060 | <method name="SetChosenFont" type="" overloaded="no"> | |
13061 | <autodoc>SetChosenFont(Font font)</autodoc> | |
c2dda882 | 13062 | <docstring>Sets the font that will be returned to the user (for internal use only).</docstring> |
f32fc4bc RD |
13063 | <paramlist> |
13064 | <param name="font" type="Font" default=""/> | |
13065 | </paramlist> | |
13066 | </method> | |
13067 | <method name="SetColour" type="" overloaded="no"> | |
13068 | <autodoc>SetColour(Colour colour)</autodoc> | |
c2dda882 RD |
13069 | <docstring>Sets the colour that will be used for the font foreground colour. The default |
13070 | colour is black.</docstring> | |
f32fc4bc RD |
13071 | <paramlist> |
13072 | <param name="colour" type="Colour" default=""/> | |
13073 | </paramlist> | |
13074 | </method> | |
13075 | <method name="SetInitialFont" type="" overloaded="no"> | |
13076 | <autodoc>SetInitialFont(Font font)</autodoc> | |
c2dda882 | 13077 | <docstring>Sets the font that will be initially used by the font dialog.</docstring> |
f32fc4bc RD |
13078 | <paramlist> |
13079 | <param name="font" type="Font" default=""/> | |
13080 | </paramlist> | |
13081 | </method> | |
13082 | <method name="SetRange" type="" overloaded="no"> | |
13083 | <autodoc>SetRange(int min, int max)</autodoc> | |
c2dda882 RD |
13084 | <docstring>Sets the valid range for the font point size (Windows only). The default is |
13085 | 0, 0 (unrestricted range).</docstring> | |
f32fc4bc RD |
13086 | <paramlist> |
13087 | <param name="min" type="int" default=""/> | |
13088 | <param name="max" type="int" default=""/> | |
13089 | </paramlist> | |
13090 | </method> | |
13091 | <method name="SetShowHelp" type="" overloaded="no"> | |
13092 | <autodoc>SetShowHelp(bool showHelp)</autodoc> | |
c2dda882 RD |
13093 | <docstring>Determines whether the Help button will be displayed in the font dialog |
13094 | (Windows only). The default value is false.</docstring> | |
f32fc4bc RD |
13095 | <paramlist> |
13096 | <param name="showHelp" type="bool" default=""/> | |
13097 | </paramlist> | |
13098 | </method> | |
13099 | </class> | |
13100 | <class name="FontDialog" oldname="wxFontDialog" module="windows"> | |
c2dda882 | 13101 | <docstring>This class represents the font chooser dialog.</docstring> |
f32fc4bc RD |
13102 | <baseclass name="Dialog"/> |
13103 | <constructor name="FontDialog" overloaded="no"> | |
13104 | <autodoc>__init__(Window parent, FontData data) -> FontDialog</autodoc> | |
c2dda882 RD |
13105 | <docstring>Constructor. Pass a parent window and the FontData object to be |
13106 | used to initialize the dialog controls.</docstring> | |
f32fc4bc RD |
13107 | <paramlist> |
13108 | <param name="parent" type="Window" default=""/> | |
13109 | <param name="data" type="FontData" default=""/> | |
13110 | </paramlist> | |
13111 | </constructor> | |
13112 | <method name="GetFontData" type="FontData" overloaded="no"> | |
13113 | <autodoc>GetFontData() -> FontData</autodoc> | |
c2dda882 | 13114 | <docstring>Returns a reference to the internal FontData used by the FontDialog.</docstring> |
f32fc4bc RD |
13115 | </method> |
13116 | </class> | |
13117 | <class name="MessageDialog" oldname="wxMessageDialog" module="windows"> | |
c2dda882 RD |
13118 | <docstring>This class provides a dialog that shows a single or multi-line message, with |
13119 | a choice of OK, Yes, No and Cancel buttons.</docstring> | |
13120 | <refdoc> | |
13121 | Styles | |
13122 | wx.OK: Show an OK button. | |
13123 | ||
13124 | wx.CANCEL: Show a Cancel button. | |
13125 | ||
13126 | wx.YES_NO: Show Yes and No buttons. | |
13127 | ||
13128 | wx.YES_DEFAULT: Used with wxYES_NO, makes Yes button the default - which is the default behaviour. | |
13129 | ||
13130 | wx.NO_DEFAULT: Used with wxYES_NO, makes No button the default. | |
13131 | ||
13132 | wx.ICON_EXCLAMATION: Shows an exclamation mark icon. | |
13133 | ||
13134 | wx.ICON_HAND: Shows an error icon. | |
13135 | ||
13136 | wx.ICON_ERROR: Shows an error icon - the same as wxICON_HAND. | |
13137 | ||
13138 | wx.ICON_QUESTION: Shows a question mark icon. | |
13139 | ||
13140 | wx.ICON_INFORMATION: Shows an information (i) icon. | |
13141 | ||
13142 | wx.STAY_ON_TOP: The message box stays on top of all other window, even those of the other applications (Windows only). | |
13143 | </refdoc> | |
f32fc4bc RD |
13144 | <baseclass name="Dialog"/> |
13145 | <constructor name="MessageDialog" overloaded="no"> | |
13146 | <autodoc>__init__(Window parent, String message, String caption=MessageBoxCaptionStr, | |
856bf319 RD |
13147 | long style=wxOK|wxCANCEL|wxCENTRE, |
13148 | Point pos=DefaultPosition) -> MessageDialog</autodoc> | |
c2dda882 RD |
13149 | <docstring>This class provides a dialog that shows a single or multi-line message, with |
13150 | a choice of OK, Yes, No and Cancel buttons.</docstring> | |
13151 | <refdoc> | |
13152 | Styles | |
13153 | wx.OK: Show an OK button. | |
13154 | ||
13155 | wx.CANCEL: Show a Cancel button. | |
13156 | ||
13157 | wx.YES_NO: Show Yes and No buttons. | |
13158 | ||
13159 | wx.YES_DEFAULT: Used with wxYES_NO, makes Yes button the default - which is the default behaviour. | |
13160 | ||
13161 | wx.NO_DEFAULT: Used with wxYES_NO, makes No button the default. | |
13162 | ||
13163 | wx.ICON_EXCLAMATION: Shows an exclamation mark icon. | |
13164 | ||
13165 | wx.ICON_HAND: Shows an error icon. | |
13166 | ||
13167 | wx.ICON_ERROR: Shows an error icon - the same as wxICON_HAND. | |
13168 | ||
13169 | wx.ICON_QUESTION: Shows a question mark icon. | |
13170 | ||
13171 | wx.ICON_INFORMATION: Shows an information (i) icon. | |
13172 | ||
13173 | wx.STAY_ON_TOP: The message box stays on top of all other window, even those of the other applications (Windows only). | |
13174 | </refdoc> | |
f32fc4bc RD |
13175 | <paramlist> |
13176 | <param name="parent" type="Window" default=""/> | |
13177 | <param name="message" type="String" default=""/> | |
13178 | <param name="caption" type="String" default="wxPyMessageBoxCaptionStr"/> | |
13179 | <param name="style" type="long" default="wxOK|wxCANCEL|wxCENTRE"/> | |
13180 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
13181 | </paramlist> | |
13182 | </constructor> | |
f32fc4bc RD |
13183 | </class> |
13184 | <class name="ProgressDialog" oldname="wxProgressDialog" module="windows"> | |
c2dda882 RD |
13185 | <docstring>A dialog that shows a short message and a progress bar. Optionally, it can |
13186 | display an ABORT button.</docstring> | |
13187 | <refdoc> | |
13188 | Styles | |
13189 | ||
13190 | wx.PD_APP_MODAL: Make the progress dialog modal. If this flag is | |
13191 | not given, it is only "locally" modal - that is | |
13192 | the input to the parent window is disabled, | |
13193 | but not to the other ones. | |
13194 | ||
13195 | wx.PD_AUTO_HIDE: Causes the progress dialog to disappear from screen | |
13196 | as soon as the maximum value of the progress | |
13197 | meter has been reached. | |
13198 | ||
13199 | wx.PD_CAN_ABORT: This flag tells the dialog that it should have | |
13200 | a "Cancel" button which the user may press. If | |
13201 | this happens, the next call to Update() will | |
13202 | return false. | |
13203 | ||
13204 | wx.PD_ELAPSED_TIME: This flag tells the dialog that it should show | |
13205 | elapsed time (since creating the dialog). | |
13206 | ||
13207 | wx.PD_ESTIMATED_TIME: This flag tells the dialog that it should show | |
13208 | estimated time. | |
13209 | ||
13210 | wx.PD_REMAINING_TIME: This flag tells the dialog that it should show | |
13211 | remaining time. | |
13212 | </refdoc> | |
f32fc4bc RD |
13213 | <baseclass name="Frame"/> |
13214 | <constructor name="ProgressDialog" overloaded="no"> | |
13215 | <autodoc>__init__(String title, String message, int maximum=100, Window parent=None, | |
856bf319 | 13216 | int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog</autodoc> |
c2dda882 RD |
13217 | <docstring>Constructor. Creates the dialog, displays it and disables user input for other |
13218 | windows, or, if wxPD_APP_MODAL flag is not given, for its parent window only.</docstring> | |
13219 | <refdoc> | |
13220 | Styles | |
13221 | ||
13222 | wx.PD_APP_MODAL: Make the progress dialog modal. If this flag is | |
13223 | not given, it is only "locally" modal - that is | |
13224 | the input to the parent window is disabled, | |
13225 | but not to the other ones. | |
13226 | ||
13227 | wx.PD_AUTO_HIDE: Causes the progress dialog to disappear from screen | |
13228 | as soon as the maximum value of the progress | |
13229 | meter has been reached. | |
13230 | ||
13231 | wx.PD_CAN_ABORT: This flag tells the dialog that it should have | |
13232 | a "Cancel" button which the user may press. If | |
13233 | this happens, the next call to Update() will | |
13234 | return false. | |
13235 | ||
13236 | wx.PD_ELAPSED_TIME: This flag tells the dialog that it should show | |
13237 | elapsed time (since creating the dialog). | |
13238 | ||
13239 | wx.PD_ESTIMATED_TIME: This flag tells the dialog that it should show | |
13240 | estimated time. | |
13241 | ||
13242 | wx.PD_REMAINING_TIME: This flag tells the dialog that it should show | |
13243 | remaining time. | |
13244 | </refdoc> | |
f32fc4bc RD |
13245 | <paramlist> |
13246 | <param name="title" type="String" default=""/> | |
13247 | <param name="message" type="String" default=""/> | |
13248 | <param name="maximum" type="int" default="100"/> | |
13249 | <param name="parent" type="Window" default="NULL"/> | |
13250 | <param name="style" type="int" default="wxPD_AUTO_HIDE|wxPD_APP_MODAL"/> | |
13251 | </paramlist> | |
13252 | </constructor> | |
13253 | <method name="Update" type="bool" overloaded="no"> | |
13254 | <autodoc>Update(int value, String newmsg=EmptyString) -> bool</autodoc> | |
c2dda882 RD |
13255 | <docstring>Updates the dialog, setting the progress bar to the new value and, if given |
13256 | changes the message above it. Returns true unless the Cancel button has been | |
13257 | pressed. | |
13258 | ||
13259 | If false is returned, the application can either immediately destroy the | |
13260 | dialog or ask the user for the confirmation and if the abort is not confirmed | |
13261 | the dialog may be resumed with Resume function.</docstring> | |
f32fc4bc RD |
13262 | <paramlist> |
13263 | <param name="value" type="int" default=""/> | |
13264 | <param name="newmsg" type="String" default="wxPyEmptyString"/> | |
13265 | </paramlist> | |
13266 | </method> | |
13267 | <method name="Resume" type="" overloaded="no"> | |
13268 | <autodoc>Resume()</autodoc> | |
c2dda882 | 13269 | <docstring>Can be used to continue with the dialog, after the user had chosen to abort.</docstring> |
f32fc4bc RD |
13270 | </method> |
13271 | </class> | |
13272 | <pythoncode> | |
856bf319 RD |
13273 | EVT_FIND = wx.PyEventBinder( wxEVT_COMMAND_FIND, 1 ) |
13274 | EVT_FIND_NEXT = wx.PyEventBinder( wxEVT_COMMAND_FIND_NEXT, 1 ) | |
13275 | EVT_FIND_REPLACE = wx.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE, 1 ) | |
13276 | EVT_FIND_REPLACE_ALL = wx.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL, 1 ) | |
13277 | EVT_FIND_CLOSE = wx.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE, 1 ) | |
13278 | ||
13279 | # For backwards compatibility. Should they be removed? | |
13280 | EVT_COMMAND_FIND = EVT_FIND | |
13281 | EVT_COMMAND_FIND_NEXT = EVT_FIND_NEXT | |
13282 | EVT_COMMAND_FIND_REPLACE = EVT_FIND_REPLACE | |
13283 | EVT_COMMAND_FIND_REPLACE_ALL = EVT_FIND_REPLACE_ALL | |
13284 | EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE | |
13285 | </pythoncode> | |
f32fc4bc | 13286 | <class name="FindDialogEvent" oldname="wxFindDialogEvent" module="windows"> |
c2dda882 | 13287 | <docstring>Events for the FindReplaceDialog</docstring> |
f32fc4bc RD |
13288 | <baseclass name="CommandEvent"/> |
13289 | <constructor name="FindDialogEvent" overloaded="no"> | |
13290 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent</autodoc> | |
c2dda882 | 13291 | <docstring>Events for the FindReplaceDialog</docstring> |
f32fc4bc RD |
13292 | <paramlist> |
13293 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
13294 | <param name="id" type="int" default="0"/> | |
13295 | </paramlist> | |
13296 | </constructor> | |
13297 | <method name="GetFlags" type="int" overloaded="no"> | |
13298 | <autodoc>GetFlags() -> int</autodoc> | |
c2dda882 RD |
13299 | <docstring>Get the currently selected flags: this is the combination of |
13300 | wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.</docstring> | |
f32fc4bc RD |
13301 | </method> |
13302 | <method name="GetFindString" type="String" overloaded="no"> | |
13303 | <autodoc>GetFindString() -> String</autodoc> | |
c2dda882 | 13304 | <docstring>Return the string to find (never empty).</docstring> |
f32fc4bc RD |
13305 | </method> |
13306 | <method name="GetReplaceString" type="String" overloaded="no"> | |
13307 | <autodoc>GetReplaceString() -> String</autodoc> | |
c2dda882 RD |
13308 | <docstring>Return the string to replace the search string with (only |
13309 | for replace and replace all events).</docstring> | |
f32fc4bc RD |
13310 | </method> |
13311 | <method name="GetDialog" type="wxFindReplaceDialog" overloaded="no"> | |
13312 | <autodoc>GetDialog() -> FindReplaceDialog</autodoc> | |
c2dda882 | 13313 | <docstring>Return the pointer to the dialog which generated this event.</docstring> |
f32fc4bc RD |
13314 | </method> |
13315 | <method name="SetFlags" type="" overloaded="no"> | |
13316 | <autodoc>SetFlags(int flags)</autodoc> | |
13317 | <paramlist> | |
13318 | <param name="flags" type="int" default=""/> | |
13319 | </paramlist> | |
13320 | </method> | |
13321 | <method name="SetFindString" type="" overloaded="no"> | |
13322 | <autodoc>SetFindString(String str)</autodoc> | |
13323 | <paramlist> | |
13324 | <param name="str" type="String" default=""/> | |
13325 | </paramlist> | |
13326 | </method> | |
13327 | <method name="SetReplaceString" type="" overloaded="no"> | |
13328 | <autodoc>SetReplaceString(String str)</autodoc> | |
13329 | <paramlist> | |
13330 | <param name="str" type="String" default=""/> | |
13331 | </paramlist> | |
13332 | </method> | |
13333 | </class> | |
13334 | <class name="FindReplaceData" oldname="wxFindReplaceData" module="windows"> | |
c2dda882 RD |
13335 | <docstring>FindReplaceData holds the data for FindReplaceDialog. It is used to initialize |
13336 | the dialog with the default values and will keep the last values from the | |
13337 | dialog when it is closed. It is also updated each time a wxFindDialogEvent is | |
13338 | generated so instead of using the wxFindDialogEvent methods you can also | |
13339 | directly query this object. | |
13340 | ||
13341 | Note that all SetXXX() methods may only be called before showing the dialog | |
13342 | and calling them has no effect later. | |
13343 | ||
13344 | Flags | |
13345 | wxFR_DOWN: downward search/replace selected (otherwise, upwards) | |
13346 | ||
13347 | wxFR_WHOLEWORD: whole word search/replace selected | |
13348 | ||
13349 | wxFR_MATCHCASE: case sensitive search/replace selected (otherwise, | |
13350 | case insensitive) | |
13351 | </docstring> | |
f32fc4bc RD |
13352 | <baseclass name="Object"/> |
13353 | <constructor name="FindReplaceData" overloaded="no"> | |
13354 | <autodoc>__init__(int flags=0) -> FindReplaceData</autodoc> | |
c2dda882 | 13355 | <docstring>Constuctor initializes the flags to default value (0).</docstring> |
f32fc4bc RD |
13356 | <paramlist> |
13357 | <param name="flags" type="int" default="0"/> | |
13358 | </paramlist> | |
13359 | </constructor> | |
13360 | <destructor name="~wxFindReplaceData" overloaded="no"> | |
13361 | <autodoc>__del__()</autodoc> | |
13362 | </destructor> | |
13363 | <method name="GetFindString" type="String" overloaded="no"> | |
13364 | <autodoc>GetFindString() -> String</autodoc> | |
c2dda882 | 13365 | <docstring>Get the string to find.</docstring> |
f32fc4bc RD |
13366 | </method> |
13367 | <method name="GetReplaceString" type="String" overloaded="no"> | |
13368 | <autodoc>GetReplaceString() -> String</autodoc> | |
c2dda882 | 13369 | <docstring>Get the replacement string.</docstring> |
f32fc4bc RD |
13370 | </method> |
13371 | <method name="GetFlags" type="int" overloaded="no"> | |
13372 | <autodoc>GetFlags() -> int</autodoc> | |
c2dda882 | 13373 | <docstring>Get the combination of flag values.</docstring> |
f32fc4bc RD |
13374 | </method> |
13375 | <method name="SetFlags" type="" overloaded="no"> | |
13376 | <autodoc>SetFlags(int flags)</autodoc> | |
c2dda882 | 13377 | <docstring>Set the flags to use to initialize the controls of the dialog.</docstring> |
f32fc4bc RD |
13378 | <paramlist> |
13379 | <param name="flags" type="int" default=""/> | |
13380 | </paramlist> | |
13381 | </method> | |
13382 | <method name="SetFindString" type="" overloaded="no"> | |
13383 | <autodoc>SetFindString(String str)</autodoc> | |
c2dda882 | 13384 | <docstring>Set the string to find (used as initial value by the dialog).</docstring> |
f32fc4bc RD |
13385 | <paramlist> |
13386 | <param name="str" type="String" default=""/> | |
13387 | </paramlist> | |
13388 | </method> | |
13389 | <method name="SetReplaceString" type="" overloaded="no"> | |
13390 | <autodoc>SetReplaceString(String str)</autodoc> | |
c2dda882 | 13391 | <docstring>Set the replacement string (used as initial value by the dialog).</docstring> |
f32fc4bc RD |
13392 | <paramlist> |
13393 | <param name="str" type="String" default=""/> | |
13394 | </paramlist> | |
13395 | </method> | |
13396 | </class> | |
13397 | <class name="FindReplaceDialog" oldname="wxFindReplaceDialog" module="windows"> | |
c2dda882 RD |
13398 | <docstring>FindReplaceDialog is a standard modeless dialog which is used to allow the |
13399 | user to search for some text (and possibly replace it with something | |
13400 | else). The actual searching is supposed to be done in the owner window which | |
13401 | is the parent of this dialog. Note that it means that unlike for the other | |
13402 | standard dialogs this one must have a parent window. Also note that there is | |
13403 | no way to use this dialog in a modal way; it is always, by design and | |
13404 | implementation, modeless.</docstring> | |
13405 | <refdoc> | |
13406 | Styles | |
13407 | wx.FR_REPLACEDIALOG: replace dialog (otherwise find dialog) | |
13408 | ||
13409 | wx.FR_NOUPDOWN: don't allow changing the search direction | |
13410 | ||
13411 | wx.FR_NOMATCHCASE: don't allow case sensitive searching | |
13412 | ||
13413 | wx.FR_NOWHOLEWORD: don't allow whole word searching | |
13414 | </refdoc> | |
f32fc4bc RD |
13415 | <baseclass name="Dialog"/> |
13416 | <constructor name="FindReplaceDialog" overloaded="no"> | |
13417 | <autodoc>__init__(Window parent, FindReplaceData data, String title, | |
856bf319 | 13418 | int style=0) -> FindReplaceDialog</autodoc> |
c2dda882 RD |
13419 | <docstring>Create a FindReplaceDialog. The parent and data parameters must be |
13420 | non-None. Use Show to display the dialog.</docstring> | |
13421 | <refdoc> | |
13422 | Styles | |
13423 | wx.FR_REPLACEDIALOG: replace dialog (otherwise find dialog) | |
13424 | ||
13425 | wx.FR_NOUPDOWN: don't allow changing the search direction | |
13426 | ||
13427 | wx.FR_NOMATCHCASE: don't allow case sensitive searching | |
13428 | ||
13429 | wx.FR_NOWHOLEWORD: don't allow whole word searching | |
13430 | </refdoc> | |
f32fc4bc RD |
13431 | <paramlist> |
13432 | <param name="parent" type="Window" default=""/> | |
13433 | <param name="data" type="FindReplaceData" default=""/> | |
13434 | <param name="title" type="String" default=""/> | |
13435 | <param name="style" type="int" default="0"/> | |
13436 | </paramlist> | |
13437 | </constructor> | |
13438 | <constructor name="PreFindReplaceDialog" overloaded="no"> | |
13439 | <autodoc>PreFindReplaceDialog() -> FindReplaceDialog</autodoc> | |
c2dda882 RD |
13440 | <docstring>Precreate a FindReplaceDialog for 2-phase creation</docstring> |
13441 | <refdoc> | |
13442 | Styles | |
13443 | wx.FR_REPLACEDIALOG: replace dialog (otherwise find dialog) | |
13444 | ||
13445 | wx.FR_NOUPDOWN: don't allow changing the search direction | |
13446 | ||
13447 | wx.FR_NOMATCHCASE: don't allow case sensitive searching | |
13448 | ||
13449 | wx.FR_NOWHOLEWORD: don't allow whole word searching | |
13450 | </refdoc> | |
f32fc4bc RD |
13451 | </constructor> |
13452 | <method name="Create" type="bool" overloaded="no"> | |
13453 | <autodoc>Create(Window parent, FindReplaceData data, String title, | |
856bf319 | 13454 | int style=0) -> bool</autodoc> |
c2dda882 | 13455 | <docstring>Create the dialog, for 2-phase create.</docstring> |
f32fc4bc RD |
13456 | <paramlist> |
13457 | <param name="parent" type="Window" default=""/> | |
13458 | <param name="data" type="FindReplaceData" default=""/> | |
13459 | <param name="title" type="String" default=""/> | |
13460 | <param name="style" type="int" default="0"/> | |
13461 | </paramlist> | |
13462 | </method> | |
13463 | <method name="GetData" type="FindReplaceData" overloaded="no"> | |
13464 | <autodoc>GetData() -> FindReplaceData</autodoc> | |
c2dda882 | 13465 | <docstring>Get the FindReplaceData object used by this dialog.</docstring> |
f32fc4bc RD |
13466 | </method> |
13467 | <method name="SetData" type="" overloaded="no"> | |
13468 | <autodoc>SetData(FindReplaceData data)</autodoc> | |
c2dda882 | 13469 | <docstring>Set the FindReplaceData object used by this dialog.</docstring> |
f32fc4bc RD |
13470 | <paramlist> |
13471 | <param name="data" type="FindReplaceData" default=""/> | |
13472 | </paramlist> | |
13473 | </method> | |
13474 | </class> | |
13475 | <pythoncode> | |
856bf319 RD |
13476 | #--------------------------------------------------------------------------- |
13477 | </pythoncode> | |
f32fc4bc RD |
13478 | <class name="MDIParentFrame" oldname="wxMDIParentFrame" module="windows"> |
13479 | <baseclass name="Frame"/> | |
13480 | <constructor name="MDIParentFrame" overloaded="no"> | |
13481 | <autodoc>__init__(Window parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
13482 | Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, |
13483 | String name=FrameNameStr) -> MDIParentFrame</autodoc> | |
f32fc4bc RD |
13484 | <paramlist> |
13485 | <param name="parent" type="Window" default=""/> | |
13486 | <param name="id" type="int" default=""/> | |
13487 | <param name="title" type="String" default=""/> | |
13488 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
13489 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13490 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL"/> | |
13491 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
13492 | </paramlist> | |
13493 | </constructor> | |
13494 | <constructor name="PreMDIParentFrame" overloaded="no"> | |
13495 | <autodoc>PreMDIParentFrame() -> MDIParentFrame</autodoc> | |
13496 | </constructor> | |
13497 | <method name="Create" type="bool" overloaded="no"> | |
13498 | <autodoc>Create(Window parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
13499 | Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, |
13500 | String name=FrameNameStr) -> bool</autodoc> | |
f32fc4bc RD |
13501 | <paramlist> |
13502 | <param name="parent" type="Window" default=""/> | |
13503 | <param name="id" type="int" default=""/> | |
13504 | <param name="title" type="String" default=""/> | |
13505 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
13506 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13507 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL"/> | |
13508 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
13509 | </paramlist> | |
13510 | </method> | |
13511 | <method name="ActivateNext" type="" overloaded="no"> | |
13512 | <autodoc>ActivateNext()</autodoc> | |
13513 | </method> | |
13514 | <method name="ActivatePrevious" type="" overloaded="no"> | |
13515 | <autodoc>ActivatePrevious()</autodoc> | |
13516 | </method> | |
13517 | <method name="ArrangeIcons" type="" overloaded="no"> | |
13518 | <autodoc>ArrangeIcons()</autodoc> | |
13519 | </method> | |
13520 | <method name="Cascade" type="" overloaded="no"> | |
13521 | <autodoc>Cascade()</autodoc> | |
13522 | </method> | |
13523 | <method name="GetActiveChild" type="wxMDIChildFrame" overloaded="no"> | |
13524 | <autodoc>GetActiveChild() -> MDIChildFrame</autodoc> | |
13525 | </method> | |
13526 | <method name="GetClientWindow" type="wxMDIClientWindow" overloaded="no"> | |
13527 | <autodoc>GetClientWindow() -> MDIClientWindow</autodoc> | |
13528 | </method> | |
13529 | <method name="GetToolBar" type="Window" overloaded="no"> | |
13530 | <autodoc>GetToolBar() -> Window</autodoc> | |
13531 | </method> | |
13532 | <method name="Tile" type="" overloaded="no"> | |
13533 | <autodoc>Tile()</autodoc> | |
13534 | </method> | |
13535 | </class> | |
13536 | <class name="MDIChildFrame" oldname="wxMDIChildFrame" module="windows"> | |
13537 | <baseclass name="Frame"/> | |
13538 | <constructor name="MDIChildFrame" overloaded="no"> | |
13539 | <autodoc>__init__(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
13540 | Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, |
13541 | String name=FrameNameStr) -> MDIChildFrame</autodoc> | |
f32fc4bc RD |
13542 | <paramlist> |
13543 | <param name="parent" type="MDIParentFrame" default=""/> | |
13544 | <param name="id" type="int" default=""/> | |
13545 | <param name="title" type="String" default=""/> | |
13546 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
13547 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13548 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
13549 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
13550 | </paramlist> | |
13551 | </constructor> | |
13552 | <constructor name="PreMDIChildFrame" overloaded="no"> | |
13553 | <autodoc>PreMDIChildFrame() -> MDIChildFrame</autodoc> | |
13554 | </constructor> | |
13555 | <method name="Create" type="bool" overloaded="no"> | |
13556 | <autodoc>Create(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
13557 | Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, |
13558 | String name=FrameNameStr) -> bool</autodoc> | |
f32fc4bc RD |
13559 | <paramlist> |
13560 | <param name="parent" type="MDIParentFrame" default=""/> | |
13561 | <param name="id" type="int" default=""/> | |
13562 | <param name="title" type="String" default=""/> | |
13563 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
13564 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13565 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
13566 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
13567 | </paramlist> | |
13568 | </method> | |
13569 | <method name="Activate" type="" overloaded="no"> | |
13570 | <autodoc>Activate()</autodoc> | |
13571 | </method> | |
13572 | <method name="Maximize" type="" overloaded="no"> | |
13573 | <autodoc>Maximize(bool maximize)</autodoc> | |
13574 | <paramlist> | |
13575 | <param name="maximize" type="bool" default=""/> | |
13576 | </paramlist> | |
13577 | </method> | |
13578 | <method name="Restore" type="" overloaded="no"> | |
13579 | <autodoc>Restore()</autodoc> | |
13580 | </method> | |
13581 | </class> | |
13582 | <class name="MDIClientWindow" oldname="wxMDIClientWindow" module="windows"> | |
13583 | <baseclass name="Window"/> | |
13584 | <constructor name="MDIClientWindow" overloaded="no"> | |
13585 | <autodoc>__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow</autodoc> | |
13586 | <paramlist> | |
13587 | <param name="parent" type="MDIParentFrame" default=""/> | |
13588 | <param name="style" type="long" default="0"/> | |
13589 | </paramlist> | |
13590 | </constructor> | |
13591 | <constructor name="PreMDIClientWindow" overloaded="no"> | |
13592 | <autodoc>PreMDIClientWindow() -> MDIClientWindow</autodoc> | |
13593 | </constructor> | |
13594 | <method name="Create" type="bool" overloaded="no"> | |
13595 | <autodoc>Create(MDIParentFrame parent, long style=0) -> bool</autodoc> | |
13596 | <paramlist> | |
13597 | <param name="parent" type="MDIParentFrame" default=""/> | |
13598 | <param name="style" type="long" default="0"/> | |
13599 | </paramlist> | |
13600 | </method> | |
13601 | </class> | |
13602 | <pythoncode> | |
856bf319 RD |
13603 | #--------------------------------------------------------------------------- |
13604 | </pythoncode> | |
f32fc4bc RD |
13605 | <class name="PyWindow" oldname="wxPyWindow" module="windows"> |
13606 | <baseclass name="Window"/> | |
13607 | <constructor name="PyWindow" overloaded="no"> | |
13608 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 | 13609 | long style=0, String name=PanelNameStr) -> PyWindow</autodoc> |
f32fc4bc RD |
13610 | <paramlist> |
13611 | <param name="parent" type="Window" default=""/> | |
13612 | <param name="id" type="int" default=""/> | |
13613 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
13614 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13615 | <param name="style" type="long" default="0"/> | |
13616 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
13617 | </paramlist> | |
13618 | </constructor> | |
13619 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
13620 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
13621 | <paramlist> | |
13622 | <param name="self" type="PyObject" default=""/> | |
13623 | <param name="_class" type="PyObject" default=""/> | |
13624 | </paramlist> | |
13625 | </method> | |
13626 | <method name="base_DoMoveWindow" type="" overloaded="no"> | |
13627 | <autodoc>base_DoMoveWindow(int x, int y, int width, int height)</autodoc> | |
13628 | <paramlist> | |
13629 | <param name="x" type="int" default=""/> | |
13630 | <param name="y" type="int" default=""/> | |
13631 | <param name="width" type="int" default=""/> | |
13632 | <param name="height" type="int" default=""/> | |
13633 | </paramlist> | |
13634 | </method> | |
13635 | <method name="base_DoSetSize" type="" overloaded="no"> | |
13636 | <autodoc>base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc> | |
13637 | <paramlist> | |
13638 | <param name="x" type="int" default=""/> | |
13639 | <param name="y" type="int" default=""/> | |
13640 | <param name="width" type="int" default=""/> | |
13641 | <param name="height" type="int" default=""/> | |
13642 | <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/> | |
13643 | </paramlist> | |
13644 | </method> | |
13645 | <method name="base_DoSetClientSize" type="" overloaded="no"> | |
13646 | <autodoc>base_DoSetClientSize(int width, int height)</autodoc> | |
13647 | <paramlist> | |
13648 | <param name="width" type="int" default=""/> | |
13649 | <param name="height" type="int" default=""/> | |
13650 | </paramlist> | |
13651 | </method> | |
13652 | <method name="base_DoSetVirtualSize" type="" overloaded="no"> | |
13653 | <autodoc>base_DoSetVirtualSize(int x, int y)</autodoc> | |
13654 | <paramlist> | |
13655 | <param name="x" type="int" default=""/> | |
13656 | <param name="y" type="int" default=""/> | |
13657 | </paramlist> | |
13658 | </method> | |
13659 | <method name="base_DoGetSize" type="" overloaded="no"> | |
13660 | <autodoc>base_DoGetSize() -> (width, height)</autodoc> | |
13661 | <paramlist> | |
13662 | <param name="OUTPUT" type="int" default=""/> | |
13663 | <param name="OUTPUT" type="int" default=""/> | |
13664 | </paramlist> | |
13665 | </method> | |
13666 | <method name="base_DoGetClientSize" type="" overloaded="no"> | |
13667 | <autodoc>base_DoGetClientSize() -> (width, height)</autodoc> | |
13668 | <paramlist> | |
13669 | <param name="OUTPUT" type="int" default=""/> | |
13670 | <param name="OUTPUT" type="int" default=""/> | |
13671 | </paramlist> | |
13672 | </method> | |
13673 | <method name="base_DoGetPosition" type="" overloaded="no"> | |
13674 | <autodoc>base_DoGetPosition() -> (x,y)</autodoc> | |
13675 | <paramlist> | |
13676 | <param name="OUTPUT" type="int" default=""/> | |
13677 | <param name="OUTPUT" type="int" default=""/> | |
13678 | </paramlist> | |
13679 | </method> | |
13680 | <method name="base_DoGetVirtualSize" type="Size" overloaded="no"> | |
13681 | <autodoc>base_DoGetVirtualSize() -> Size</autodoc> | |
13682 | </method> | |
13683 | <method name="base_DoGetBestSize" type="Size" overloaded="no"> | |
13684 | <autodoc>base_DoGetBestSize() -> Size</autodoc> | |
13685 | </method> | |
13686 | <method name="base_InitDialog" type="" overloaded="no"> | |
13687 | <autodoc>base_InitDialog()</autodoc> | |
13688 | </method> | |
13689 | <method name="base_TransferDataToWindow" type="bool" overloaded="no"> | |
13690 | <autodoc>base_TransferDataToWindow() -> bool</autodoc> | |
13691 | </method> | |
13692 | <method name="base_TransferDataFromWindow" type="bool" overloaded="no"> | |
13693 | <autodoc>base_TransferDataFromWindow() -> bool</autodoc> | |
13694 | </method> | |
13695 | <method name="base_Validate" type="bool" overloaded="no"> | |
13696 | <autodoc>base_Validate() -> bool</autodoc> | |
13697 | </method> | |
13698 | <method name="base_AcceptsFocus" type="bool" overloaded="no"> | |
13699 | <autodoc>base_AcceptsFocus() -> bool</autodoc> | |
13700 | </method> | |
13701 | <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no"> | |
13702 | <autodoc>base_AcceptsFocusFromKeyboard() -> bool</autodoc> | |
13703 | </method> | |
13704 | <method name="base_GetMaxSize" type="Size" overloaded="no"> | |
13705 | <autodoc>base_GetMaxSize() -> Size</autodoc> | |
13706 | </method> | |
13707 | <method name="base_AddChild" type="" overloaded="no"> | |
13708 | <autodoc>base_AddChild(Window child)</autodoc> | |
13709 | <paramlist> | |
13710 | <param name="child" type="Window" default=""/> | |
13711 | </paramlist> | |
13712 | </method> | |
13713 | <method name="base_RemoveChild" type="" overloaded="no"> | |
13714 | <autodoc>base_RemoveChild(Window child)</autodoc> | |
13715 | <paramlist> | |
13716 | <param name="child" type="Window" default=""/> | |
13717 | </paramlist> | |
13718 | </method> | |
13719 | </class> | |
13720 | <class name="PyPanel" oldname="wxPyPanel" module="windows"> | |
13721 | <baseclass name="Panel"/> | |
13722 | <constructor name="PyPanel" overloaded="no"> | |
13723 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 | 13724 | long style=0, String name=PanelNameStr) -> PyPanel</autodoc> |
f32fc4bc RD |
13725 | <paramlist> |
13726 | <param name="parent" type="Window" default=""/> | |
13727 | <param name="id" type="int" default=""/> | |
13728 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
13729 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13730 | <param name="style" type="long" default="0"/> | |
13731 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
13732 | </paramlist> | |
13733 | </constructor> | |
13734 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
13735 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
13736 | <paramlist> | |
13737 | <param name="self" type="PyObject" default=""/> | |
13738 | <param name="_class" type="PyObject" default=""/> | |
13739 | </paramlist> | |
13740 | </method> | |
13741 | <method name="base_DoMoveWindow" type="" overloaded="no"> | |
13742 | <autodoc>base_DoMoveWindow(int x, int y, int width, int height)</autodoc> | |
13743 | <paramlist> | |
13744 | <param name="x" type="int" default=""/> | |
13745 | <param name="y" type="int" default=""/> | |
13746 | <param name="width" type="int" default=""/> | |
13747 | <param name="height" type="int" default=""/> | |
13748 | </paramlist> | |
13749 | </method> | |
13750 | <method name="base_DoSetSize" type="" overloaded="no"> | |
13751 | <autodoc>base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc> | |
13752 | <paramlist> | |
13753 | <param name="x" type="int" default=""/> | |
13754 | <param name="y" type="int" default=""/> | |
13755 | <param name="width" type="int" default=""/> | |
13756 | <param name="height" type="int" default=""/> | |
13757 | <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/> | |
13758 | </paramlist> | |
13759 | </method> | |
13760 | <method name="base_DoSetClientSize" type="" overloaded="no"> | |
13761 | <autodoc>base_DoSetClientSize(int width, int height)</autodoc> | |
13762 | <paramlist> | |
13763 | <param name="width" type="int" default=""/> | |
13764 | <param name="height" type="int" default=""/> | |
13765 | </paramlist> | |
13766 | </method> | |
13767 | <method name="base_DoSetVirtualSize" type="" overloaded="no"> | |
13768 | <autodoc>base_DoSetVirtualSize(int x, int y)</autodoc> | |
13769 | <paramlist> | |
13770 | <param name="x" type="int" default=""/> | |
13771 | <param name="y" type="int" default=""/> | |
13772 | </paramlist> | |
13773 | </method> | |
13774 | <method name="base_DoGetSize" type="" overloaded="no"> | |
13775 | <autodoc>base_DoGetSize() -> (width, height)</autodoc> | |
13776 | <paramlist> | |
13777 | <param name="OUTPUT" type="int" default=""/> | |
13778 | <param name="OUTPUT" type="int" default=""/> | |
13779 | </paramlist> | |
13780 | </method> | |
13781 | <method name="base_DoGetClientSize" type="" overloaded="no"> | |
13782 | <autodoc>base_DoGetClientSize() -> (width, height)</autodoc> | |
13783 | <paramlist> | |
13784 | <param name="OUTPUT" type="int" default=""/> | |
13785 | <param name="OUTPUT" type="int" default=""/> | |
13786 | </paramlist> | |
13787 | </method> | |
13788 | <method name="base_DoGetPosition" type="" overloaded="no"> | |
13789 | <autodoc>base_DoGetPosition() -> (x,y)</autodoc> | |
13790 | <paramlist> | |
13791 | <param name="OUTPUT" type="int" default=""/> | |
13792 | <param name="OUTPUT" type="int" default=""/> | |
13793 | </paramlist> | |
13794 | </method> | |
13795 | <method name="base_DoGetVirtualSize" type="Size" overloaded="no"> | |
13796 | <autodoc>base_DoGetVirtualSize() -> Size</autodoc> | |
13797 | </method> | |
13798 | <method name="base_DoGetBestSize" type="Size" overloaded="no"> | |
13799 | <autodoc>base_DoGetBestSize() -> Size</autodoc> | |
13800 | </method> | |
13801 | <method name="base_InitDialog" type="" overloaded="no"> | |
13802 | <autodoc>base_InitDialog()</autodoc> | |
13803 | </method> | |
13804 | <method name="base_TransferDataToWindow" type="bool" overloaded="no"> | |
13805 | <autodoc>base_TransferDataToWindow() -> bool</autodoc> | |
13806 | </method> | |
13807 | <method name="base_TransferDataFromWindow" type="bool" overloaded="no"> | |
13808 | <autodoc>base_TransferDataFromWindow() -> bool</autodoc> | |
13809 | </method> | |
13810 | <method name="base_Validate" type="bool" overloaded="no"> | |
13811 | <autodoc>base_Validate() -> bool</autodoc> | |
13812 | </method> | |
13813 | <method name="base_AcceptsFocus" type="bool" overloaded="no"> | |
13814 | <autodoc>base_AcceptsFocus() -> bool</autodoc> | |
13815 | </method> | |
13816 | <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no"> | |
13817 | <autodoc>base_AcceptsFocusFromKeyboard() -> bool</autodoc> | |
13818 | </method> | |
13819 | <method name="base_GetMaxSize" type="Size" overloaded="no"> | |
13820 | <autodoc>base_GetMaxSize() -> Size</autodoc> | |
13821 | </method> | |
13822 | <method name="base_AddChild" type="" overloaded="no"> | |
13823 | <autodoc>base_AddChild(Window child)</autodoc> | |
13824 | <paramlist> | |
13825 | <param name="child" type="Window" default=""/> | |
13826 | </paramlist> | |
13827 | </method> | |
13828 | <method name="base_RemoveChild" type="" overloaded="no"> | |
13829 | <autodoc>base_RemoveChild(Window child)</autodoc> | |
13830 | <paramlist> | |
13831 | <param name="child" type="Window" default=""/> | |
13832 | </paramlist> | |
13833 | </method> | |
13834 | </class> | |
13835 | <pythoncode> | |
856bf319 RD |
13836 | #--------------------------------------------------------------------------- |
13837 | </pythoncode> | |
f32fc4bc RD |
13838 | <class name="PrintData" oldname="wxPrintData" module="windows"> |
13839 | <baseclass name="Object"/> | |
13840 | <constructor name="PrintData" overloaded="no"> | |
13841 | <autodoc>__init__() -> PrintData</autodoc> | |
13842 | </constructor> | |
13843 | <destructor name="~wxPrintData" overloaded="no"> | |
13844 | <autodoc>__del__()</autodoc> | |
13845 | </destructor> | |
13846 | <method name="GetNoCopies" type="int" overloaded="no"> | |
13847 | <autodoc>GetNoCopies() -> int</autodoc> | |
13848 | </method> | |
13849 | <method name="GetCollate" type="bool" overloaded="no"> | |
13850 | <autodoc>GetCollate() -> bool</autodoc> | |
13851 | </method> | |
13852 | <method name="GetOrientation" type="int" overloaded="no"> | |
13853 | <autodoc>GetOrientation() -> int</autodoc> | |
13854 | </method> | |
13855 | <method name="Ok" type="bool" overloaded="no"> | |
13856 | <autodoc>Ok() -> bool</autodoc> | |
13857 | </method> | |
13858 | <method name="GetPrinterName" type="String" overloaded="no"> | |
13859 | <autodoc>GetPrinterName() -> String</autodoc> | |
13860 | </method> | |
13861 | <method name="GetColour" type="bool" overloaded="no"> | |
13862 | <autodoc>GetColour() -> bool</autodoc> | |
13863 | </method> | |
13864 | <method name="GetDuplex" type="wxDuplexMode" overloaded="no"> | |
13865 | <autodoc>GetDuplex() -> int</autodoc> | |
13866 | </method> | |
13867 | <method name="GetPaperId" type="wxPaperSize" overloaded="no"> | |
13868 | <autodoc>GetPaperId() -> int</autodoc> | |
13869 | </method> | |
13870 | <method name="GetPaperSize" type="Size" overloaded="no"> | |
13871 | <autodoc>GetPaperSize() -> Size</autodoc> | |
13872 | </method> | |
13873 | <method name="GetQuality" type="int" overloaded="no"> | |
13874 | <autodoc>GetQuality() -> int</autodoc> | |
13875 | </method> | |
13876 | <method name="SetNoCopies" type="" overloaded="no"> | |
13877 | <autodoc>SetNoCopies(int v)</autodoc> | |
13878 | <paramlist> | |
13879 | <param name="v" type="int" default=""/> | |
13880 | </paramlist> | |
13881 | </method> | |
13882 | <method name="SetCollate" type="" overloaded="no"> | |
13883 | <autodoc>SetCollate(bool flag)</autodoc> | |
13884 | <paramlist> | |
13885 | <param name="flag" type="bool" default=""/> | |
13886 | </paramlist> | |
13887 | </method> | |
13888 | <method name="SetOrientation" type="" overloaded="no"> | |
13889 | <autodoc>SetOrientation(int orient)</autodoc> | |
13890 | <paramlist> | |
13891 | <param name="orient" type="int" default=""/> | |
13892 | </paramlist> | |
13893 | </method> | |
13894 | <method name="SetPrinterName" type="" overloaded="no"> | |
13895 | <autodoc>SetPrinterName(String name)</autodoc> | |
13896 | <paramlist> | |
13897 | <param name="name" type="String" default=""/> | |
13898 | </paramlist> | |
13899 | </method> | |
13900 | <method name="SetColour" type="" overloaded="no"> | |
13901 | <autodoc>SetColour(bool colour)</autodoc> | |
13902 | <paramlist> | |
13903 | <param name="colour" type="bool" default=""/> | |
13904 | </paramlist> | |
13905 | </method> | |
13906 | <method name="SetDuplex" type="" overloaded="no"> | |
13907 | <autodoc>SetDuplex(int duplex)</autodoc> | |
13908 | <paramlist> | |
13909 | <param name="duplex" type="wxDuplexMode" default=""/> | |
13910 | </paramlist> | |
13911 | </method> | |
13912 | <method name="SetPaperId" type="" overloaded="no"> | |
13913 | <autodoc>SetPaperId(int sizeId)</autodoc> | |
13914 | <paramlist> | |
13915 | <param name="sizeId" type="wxPaperSize" default=""/> | |
13916 | </paramlist> | |
13917 | </method> | |
13918 | <method name="SetPaperSize" type="" overloaded="no"> | |
13919 | <autodoc>SetPaperSize(Size sz)</autodoc> | |
13920 | <paramlist> | |
13921 | <param name="sz" type="Size" default=""/> | |
13922 | </paramlist> | |
13923 | </method> | |
13924 | <method name="SetQuality" type="" overloaded="no"> | |
13925 | <autodoc>SetQuality(int quality)</autodoc> | |
13926 | <paramlist> | |
13927 | <param name="quality" type="int" default=""/> | |
13928 | </paramlist> | |
13929 | </method> | |
13930 | <method name="GetPrinterCommand" type="String" overloaded="no"> | |
13931 | <autodoc>GetPrinterCommand() -> String</autodoc> | |
13932 | </method> | |
13933 | <method name="GetPrinterOptions" type="String" overloaded="no"> | |
13934 | <autodoc>GetPrinterOptions() -> String</autodoc> | |
13935 | </method> | |
13936 | <method name="GetPreviewCommand" type="String" overloaded="no"> | |
13937 | <autodoc>GetPreviewCommand() -> String</autodoc> | |
13938 | </method> | |
13939 | <method name="GetFilename" type="String" overloaded="no"> | |
13940 | <autodoc>GetFilename() -> String</autodoc> | |
13941 | </method> | |
13942 | <method name="GetFontMetricPath" type="String" overloaded="no"> | |
13943 | <autodoc>GetFontMetricPath() -> String</autodoc> | |
13944 | </method> | |
13945 | <method name="GetPrinterScaleX" type="double" overloaded="no"> | |
13946 | <autodoc>GetPrinterScaleX() -> double</autodoc> | |
13947 | </method> | |
13948 | <method name="GetPrinterScaleY" type="double" overloaded="no"> | |
13949 | <autodoc>GetPrinterScaleY() -> double</autodoc> | |
13950 | </method> | |
13951 | <method name="GetPrinterTranslateX" type="long" overloaded="no"> | |
13952 | <autodoc>GetPrinterTranslateX() -> long</autodoc> | |
13953 | </method> | |
13954 | <method name="GetPrinterTranslateY" type="long" overloaded="no"> | |
13955 | <autodoc>GetPrinterTranslateY() -> long</autodoc> | |
13956 | </method> | |
13957 | <method name="GetPrintMode" type="wxPrintMode" overloaded="no"> | |
13958 | <autodoc>GetPrintMode() -> int</autodoc> | |
13959 | </method> | |
13960 | <method name="SetPrinterCommand" type="" overloaded="no"> | |
13961 | <autodoc>SetPrinterCommand(String command)</autodoc> | |
13962 | <paramlist> | |
13963 | <param name="command" type="String" default=""/> | |
13964 | </paramlist> | |
13965 | </method> | |
13966 | <method name="SetPrinterOptions" type="" overloaded="no"> | |
13967 | <autodoc>SetPrinterOptions(String options)</autodoc> | |
13968 | <paramlist> | |
13969 | <param name="options" type="String" default=""/> | |
13970 | </paramlist> | |
13971 | </method> | |
13972 | <method name="SetPreviewCommand" type="" overloaded="no"> | |
13973 | <autodoc>SetPreviewCommand(String command)</autodoc> | |
13974 | <paramlist> | |
13975 | <param name="command" type="String" default=""/> | |
13976 | </paramlist> | |
13977 | </method> | |
13978 | <method name="SetFilename" type="" overloaded="no"> | |
13979 | <autodoc>SetFilename(String filename)</autodoc> | |
13980 | <paramlist> | |
13981 | <param name="filename" type="String" default=""/> | |
13982 | </paramlist> | |
13983 | </method> | |
13984 | <method name="SetFontMetricPath" type="" overloaded="no"> | |
13985 | <autodoc>SetFontMetricPath(String path)</autodoc> | |
13986 | <paramlist> | |
13987 | <param name="path" type="String" default=""/> | |
13988 | </paramlist> | |
13989 | </method> | |
13990 | <method name="SetPrinterScaleX" type="" overloaded="no"> | |
13991 | <autodoc>SetPrinterScaleX(double x)</autodoc> | |
13992 | <paramlist> | |
13993 | <param name="x" type="double" default=""/> | |
13994 | </paramlist> | |
13995 | </method> | |
13996 | <method name="SetPrinterScaleY" type="" overloaded="no"> | |
13997 | <autodoc>SetPrinterScaleY(double y)</autodoc> | |
13998 | <paramlist> | |
13999 | <param name="y" type="double" default=""/> | |
14000 | </paramlist> | |
14001 | </method> | |
14002 | <method name="SetPrinterScaling" type="" overloaded="no"> | |
14003 | <autodoc>SetPrinterScaling(double x, double y)</autodoc> | |
14004 | <paramlist> | |
14005 | <param name="x" type="double" default=""/> | |
14006 | <param name="y" type="double" default=""/> | |
14007 | </paramlist> | |
14008 | </method> | |
14009 | <method name="SetPrinterTranslateX" type="" overloaded="no"> | |
14010 | <autodoc>SetPrinterTranslateX(long x)</autodoc> | |
14011 | <paramlist> | |
14012 | <param name="x" type="long" default=""/> | |
14013 | </paramlist> | |
14014 | </method> | |
14015 | <method name="SetPrinterTranslateY" type="" overloaded="no"> | |
14016 | <autodoc>SetPrinterTranslateY(long y)</autodoc> | |
14017 | <paramlist> | |
14018 | <param name="y" type="long" default=""/> | |
14019 | </paramlist> | |
14020 | </method> | |
14021 | <method name="SetPrinterTranslation" type="" overloaded="no"> | |
14022 | <autodoc>SetPrinterTranslation(long x, long y)</autodoc> | |
14023 | <paramlist> | |
14024 | <param name="x" type="long" default=""/> | |
14025 | <param name="y" type="long" default=""/> | |
14026 | </paramlist> | |
14027 | </method> | |
14028 | <method name="SetPrintMode" type="" overloaded="no"> | |
14029 | <autodoc>SetPrintMode(int printMode)</autodoc> | |
14030 | <paramlist> | |
14031 | <param name="printMode" type="wxPrintMode" default=""/> | |
14032 | </paramlist> | |
14033 | </method> | |
14034 | <method name="GetOutputStream" type="OutputStream" overloaded="no"> | |
14035 | <autodoc>GetOutputStream() -> OutputStream</autodoc> | |
14036 | </method> | |
14037 | <method name="SetOutputStream" type="" overloaded="no"> | |
14038 | <autodoc>SetOutputStream(OutputStream outputstream)</autodoc> | |
14039 | <paramlist> | |
14040 | <param name="outputstream" type="OutputStream" default=""/> | |
14041 | </paramlist> | |
14042 | </method> | |
14043 | </class> | |
14044 | <class name="PageSetupDialogData" oldname="wxPageSetupDialogData" module="windows"> | |
14045 | <baseclass name="Object"/> | |
14046 | <constructor name="PageSetupDialogData" overloaded="no"> | |
14047 | <autodoc>__init__() -> PageSetupDialogData</autodoc> | |
14048 | </constructor> | |
14049 | <destructor name="~wxPageSetupDialogData" overloaded="no"> | |
14050 | <autodoc>__del__()</autodoc> | |
14051 | </destructor> | |
14052 | <method name="EnableHelp" type="" overloaded="no"> | |
14053 | <autodoc>EnableHelp(bool flag)</autodoc> | |
14054 | <paramlist> | |
14055 | <param name="flag" type="bool" default=""/> | |
14056 | </paramlist> | |
14057 | </method> | |
14058 | <method name="EnableMargins" type="" overloaded="no"> | |
14059 | <autodoc>EnableMargins(bool flag)</autodoc> | |
14060 | <paramlist> | |
14061 | <param name="flag" type="bool" default=""/> | |
14062 | </paramlist> | |
14063 | </method> | |
14064 | <method name="EnableOrientation" type="" overloaded="no"> | |
14065 | <autodoc>EnableOrientation(bool flag)</autodoc> | |
14066 | <paramlist> | |
14067 | <param name="flag" type="bool" default=""/> | |
14068 | </paramlist> | |
14069 | </method> | |
14070 | <method name="EnablePaper" type="" overloaded="no"> | |
14071 | <autodoc>EnablePaper(bool flag)</autodoc> | |
14072 | <paramlist> | |
14073 | <param name="flag" type="bool" default=""/> | |
14074 | </paramlist> | |
14075 | </method> | |
14076 | <method name="EnablePrinter" type="" overloaded="no"> | |
14077 | <autodoc>EnablePrinter(bool flag)</autodoc> | |
14078 | <paramlist> | |
14079 | <param name="flag" type="bool" default=""/> | |
14080 | </paramlist> | |
14081 | </method> | |
14082 | <method name="GetDefaultMinMargins" type="bool" overloaded="no"> | |
14083 | <autodoc>GetDefaultMinMargins() -> bool</autodoc> | |
14084 | </method> | |
14085 | <method name="GetEnableMargins" type="bool" overloaded="no"> | |
14086 | <autodoc>GetEnableMargins() -> bool</autodoc> | |
14087 | </method> | |
14088 | <method name="GetEnableOrientation" type="bool" overloaded="no"> | |
14089 | <autodoc>GetEnableOrientation() -> bool</autodoc> | |
14090 | </method> | |
14091 | <method name="GetEnablePaper" type="bool" overloaded="no"> | |
14092 | <autodoc>GetEnablePaper() -> bool</autodoc> | |
14093 | </method> | |
14094 | <method name="GetEnablePrinter" type="bool" overloaded="no"> | |
14095 | <autodoc>GetEnablePrinter() -> bool</autodoc> | |
14096 | </method> | |
14097 | <method name="GetEnableHelp" type="bool" overloaded="no"> | |
14098 | <autodoc>GetEnableHelp() -> bool</autodoc> | |
14099 | </method> | |
14100 | <method name="GetDefaultInfo" type="bool" overloaded="no"> | |
14101 | <autodoc>GetDefaultInfo() -> bool</autodoc> | |
14102 | </method> | |
14103 | <method name="GetMarginTopLeft" type="Point" overloaded="no"> | |
14104 | <autodoc>GetMarginTopLeft() -> Point</autodoc> | |
14105 | </method> | |
14106 | <method name="GetMarginBottomRight" type="Point" overloaded="no"> | |
14107 | <autodoc>GetMarginBottomRight() -> Point</autodoc> | |
14108 | </method> | |
14109 | <method name="GetMinMarginTopLeft" type="Point" overloaded="no"> | |
14110 | <autodoc>GetMinMarginTopLeft() -> Point</autodoc> | |
14111 | </method> | |
14112 | <method name="GetMinMarginBottomRight" type="Point" overloaded="no"> | |
14113 | <autodoc>GetMinMarginBottomRight() -> Point</autodoc> | |
14114 | </method> | |
14115 | <method name="GetPaperId" type="wxPaperSize" overloaded="no"> | |
14116 | <autodoc>GetPaperId() -> int</autodoc> | |
14117 | </method> | |
14118 | <method name="GetPaperSize" type="Size" overloaded="no"> | |
14119 | <autodoc>GetPaperSize() -> Size</autodoc> | |
14120 | </method> | |
14121 | <method name="GetPrintData" type="PrintData" overloaded="no"> | |
14122 | <autodoc>GetPrintData() -> PrintData</autodoc> | |
14123 | </method> | |
14124 | <method name="Ok" type="bool" overloaded="no"> | |
14125 | <autodoc>Ok() -> bool</autodoc> | |
14126 | </method> | |
14127 | <method name="SetDefaultInfo" type="" overloaded="no"> | |
14128 | <autodoc>SetDefaultInfo(bool flag)</autodoc> | |
14129 | <paramlist> | |
14130 | <param name="flag" type="bool" default=""/> | |
14131 | </paramlist> | |
14132 | </method> | |
14133 | <method name="SetDefaultMinMargins" type="" overloaded="no"> | |
14134 | <autodoc>SetDefaultMinMargins(bool flag)</autodoc> | |
14135 | <paramlist> | |
14136 | <param name="flag" type="bool" default=""/> | |
14137 | </paramlist> | |
14138 | </method> | |
14139 | <method name="SetMarginTopLeft" type="" overloaded="no"> | |
14140 | <autodoc>SetMarginTopLeft(Point pt)</autodoc> | |
14141 | <paramlist> | |
14142 | <param name="pt" type="Point" default=""/> | |
14143 | </paramlist> | |
14144 | </method> | |
14145 | <method name="SetMarginBottomRight" type="" overloaded="no"> | |
14146 | <autodoc>SetMarginBottomRight(Point pt)</autodoc> | |
14147 | <paramlist> | |
14148 | <param name="pt" type="Point" default=""/> | |
14149 | </paramlist> | |
14150 | </method> | |
14151 | <method name="SetMinMarginTopLeft" type="" overloaded="no"> | |
14152 | <autodoc>SetMinMarginTopLeft(Point pt)</autodoc> | |
14153 | <paramlist> | |
14154 | <param name="pt" type="Point" default=""/> | |
14155 | </paramlist> | |
14156 | </method> | |
14157 | <method name="SetMinMarginBottomRight" type="" overloaded="no"> | |
14158 | <autodoc>SetMinMarginBottomRight(Point pt)</autodoc> | |
14159 | <paramlist> | |
14160 | <param name="pt" type="Point" default=""/> | |
14161 | </paramlist> | |
14162 | </method> | |
14163 | <method name="SetPaperId" type="" overloaded="no"> | |
14164 | <autodoc>SetPaperId(int id)</autodoc> | |
14165 | <paramlist> | |
14166 | <param name="id" type="wxPaperSize" default=""/> | |
14167 | </paramlist> | |
14168 | </method> | |
14169 | <method name="SetPaperSize" type="" overloaded="no"> | |
14170 | <autodoc>SetPaperSize(Size size)</autodoc> | |
14171 | <paramlist> | |
14172 | <param name="size" type="Size" default=""/> | |
14173 | </paramlist> | |
14174 | </method> | |
14175 | <method name="SetPrintData" type="" overloaded="no"> | |
14176 | <autodoc>SetPrintData(PrintData printData)</autodoc> | |
14177 | <paramlist> | |
14178 | <param name="printData" type="PrintData" default=""/> | |
14179 | </paramlist> | |
14180 | </method> | |
14181 | </class> | |
14182 | <class name="PageSetupDialog" oldname="wxPageSetupDialog" module="windows"> | |
14183 | <baseclass name="Dialog"/> | |
14184 | <constructor name="PageSetupDialog" overloaded="no"> | |
14185 | <autodoc>__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog</autodoc> | |
14186 | <paramlist> | |
14187 | <param name="parent" type="Window" default=""/> | |
14188 | <param name="data" type="PageSetupDialogData" default="NULL"/> | |
14189 | </paramlist> | |
14190 | </constructor> | |
14191 | <method name="GetPageSetupData" type="PageSetupDialogData" overloaded="no"> | |
14192 | <autodoc>GetPageSetupData() -> PageSetupDialogData</autodoc> | |
14193 | </method> | |
14194 | <method name="ShowModal" type="int" overloaded="no"> | |
14195 | <autodoc>ShowModal() -> int</autodoc> | |
14196 | </method> | |
14197 | </class> | |
14198 | <class name="PrintDialogData" oldname="wxPrintDialogData" module="windows"> | |
14199 | <baseclass name="Object"/> | |
b39e211b RD |
14200 | <constructor name="PrintDialogData" overloaded="yes"/> |
14201 | <constructor name="PrintDialogData" overloaded="yes"> | |
14202 | <autodoc>__init__() -> PrintDialogData | |
14203 | __init__(PrintData printData) -> PrintDialogData</autodoc> | |
14204 | <paramlist> | |
14205 | <param name="printData" type="PrintData" default=""/> | |
14206 | </paramlist> | |
f32fc4bc RD |
14207 | </constructor> |
14208 | <destructor name="~wxPrintDialogData" overloaded="no"> | |
14209 | <autodoc>__del__()</autodoc> | |
14210 | </destructor> | |
14211 | <method name="GetFromPage" type="int" overloaded="no"> | |
14212 | <autodoc>GetFromPage() -> int</autodoc> | |
14213 | </method> | |
14214 | <method name="GetToPage" type="int" overloaded="no"> | |
14215 | <autodoc>GetToPage() -> int</autodoc> | |
14216 | </method> | |
14217 | <method name="GetMinPage" type="int" overloaded="no"> | |
14218 | <autodoc>GetMinPage() -> int</autodoc> | |
14219 | </method> | |
14220 | <method name="GetMaxPage" type="int" overloaded="no"> | |
14221 | <autodoc>GetMaxPage() -> int</autodoc> | |
14222 | </method> | |
14223 | <method name="GetNoCopies" type="int" overloaded="no"> | |
14224 | <autodoc>GetNoCopies() -> int</autodoc> | |
14225 | </method> | |
14226 | <method name="GetAllPages" type="bool" overloaded="no"> | |
14227 | <autodoc>GetAllPages() -> bool</autodoc> | |
14228 | </method> | |
14229 | <method name="GetSelection" type="bool" overloaded="no"> | |
14230 | <autodoc>GetSelection() -> bool</autodoc> | |
14231 | </method> | |
14232 | <method name="GetCollate" type="bool" overloaded="no"> | |
14233 | <autodoc>GetCollate() -> bool</autodoc> | |
14234 | </method> | |
14235 | <method name="GetPrintToFile" type="bool" overloaded="no"> | |
14236 | <autodoc>GetPrintToFile() -> bool</autodoc> | |
14237 | </method> | |
14238 | <method name="GetSetupDialog" type="bool" overloaded="no"> | |
14239 | <autodoc>GetSetupDialog() -> bool</autodoc> | |
14240 | </method> | |
14241 | <method name="SetFromPage" type="" overloaded="no"> | |
14242 | <autodoc>SetFromPage(int v)</autodoc> | |
14243 | <paramlist> | |
14244 | <param name="v" type="int" default=""/> | |
14245 | </paramlist> | |
14246 | </method> | |
14247 | <method name="SetToPage" type="" overloaded="no"> | |
14248 | <autodoc>SetToPage(int v)</autodoc> | |
14249 | <paramlist> | |
14250 | <param name="v" type="int" default=""/> | |
14251 | </paramlist> | |
14252 | </method> | |
14253 | <method name="SetMinPage" type="" overloaded="no"> | |
14254 | <autodoc>SetMinPage(int v)</autodoc> | |
14255 | <paramlist> | |
14256 | <param name="v" type="int" default=""/> | |
14257 | </paramlist> | |
14258 | </method> | |
14259 | <method name="SetMaxPage" type="" overloaded="no"> | |
14260 | <autodoc>SetMaxPage(int v)</autodoc> | |
14261 | <paramlist> | |
14262 | <param name="v" type="int" default=""/> | |
14263 | </paramlist> | |
14264 | </method> | |
14265 | <method name="SetNoCopies" type="" overloaded="no"> | |
14266 | <autodoc>SetNoCopies(int v)</autodoc> | |
14267 | <paramlist> | |
14268 | <param name="v" type="int" default=""/> | |
14269 | </paramlist> | |
14270 | </method> | |
14271 | <method name="SetAllPages" type="" overloaded="no"> | |
14272 | <autodoc>SetAllPages(bool flag)</autodoc> | |
14273 | <paramlist> | |
14274 | <param name="flag" type="bool" default=""/> | |
14275 | </paramlist> | |
14276 | </method> | |
14277 | <method name="SetSelection" type="" overloaded="no"> | |
14278 | <autodoc>SetSelection(bool flag)</autodoc> | |
14279 | <paramlist> | |
14280 | <param name="flag" type="bool" default=""/> | |
14281 | </paramlist> | |
14282 | </method> | |
14283 | <method name="SetCollate" type="" overloaded="no"> | |
14284 | <autodoc>SetCollate(bool flag)</autodoc> | |
14285 | <paramlist> | |
14286 | <param name="flag" type="bool" default=""/> | |
14287 | </paramlist> | |
14288 | </method> | |
14289 | <method name="SetPrintToFile" type="" overloaded="no"> | |
14290 | <autodoc>SetPrintToFile(bool flag)</autodoc> | |
14291 | <paramlist> | |
14292 | <param name="flag" type="bool" default=""/> | |
14293 | </paramlist> | |
14294 | </method> | |
14295 | <method name="SetSetupDialog" type="" overloaded="no"> | |
14296 | <autodoc>SetSetupDialog(bool flag)</autodoc> | |
14297 | <paramlist> | |
14298 | <param name="flag" type="bool" default=""/> | |
14299 | </paramlist> | |
14300 | </method> | |
14301 | <method name="EnablePrintToFile" type="" overloaded="no"> | |
14302 | <autodoc>EnablePrintToFile(bool flag)</autodoc> | |
14303 | <paramlist> | |
14304 | <param name="flag" type="bool" default=""/> | |
14305 | </paramlist> | |
14306 | </method> | |
14307 | <method name="EnableSelection" type="" overloaded="no"> | |
14308 | <autodoc>EnableSelection(bool flag)</autodoc> | |
14309 | <paramlist> | |
14310 | <param name="flag" type="bool" default=""/> | |
14311 | </paramlist> | |
14312 | </method> | |
14313 | <method name="EnablePageNumbers" type="" overloaded="no"> | |
14314 | <autodoc>EnablePageNumbers(bool flag)</autodoc> | |
14315 | <paramlist> | |
14316 | <param name="flag" type="bool" default=""/> | |
14317 | </paramlist> | |
14318 | </method> | |
14319 | <method name="EnableHelp" type="" overloaded="no"> | |
14320 | <autodoc>EnableHelp(bool flag)</autodoc> | |
14321 | <paramlist> | |
14322 | <param name="flag" type="bool" default=""/> | |
14323 | </paramlist> | |
14324 | </method> | |
14325 | <method name="GetEnablePrintToFile" type="bool" overloaded="no"> | |
14326 | <autodoc>GetEnablePrintToFile() -> bool</autodoc> | |
14327 | </method> | |
14328 | <method name="GetEnableSelection" type="bool" overloaded="no"> | |
14329 | <autodoc>GetEnableSelection() -> bool</autodoc> | |
14330 | </method> | |
14331 | <method name="GetEnablePageNumbers" type="bool" overloaded="no"> | |
14332 | <autodoc>GetEnablePageNumbers() -> bool</autodoc> | |
14333 | </method> | |
14334 | <method name="GetEnableHelp" type="bool" overloaded="no"> | |
14335 | <autodoc>GetEnableHelp() -> bool</autodoc> | |
14336 | </method> | |
14337 | <method name="Ok" type="bool" overloaded="no"> | |
14338 | <autodoc>Ok() -> bool</autodoc> | |
14339 | </method> | |
14340 | <method name="GetPrintData" type="PrintData" overloaded="no"> | |
14341 | <autodoc>GetPrintData() -> PrintData</autodoc> | |
14342 | </method> | |
14343 | <method name="SetPrintData" type="" overloaded="no"> | |
14344 | <autodoc>SetPrintData(PrintData printData)</autodoc> | |
14345 | <paramlist> | |
14346 | <param name="printData" type="PrintData" default=""/> | |
14347 | </paramlist> | |
14348 | </method> | |
14349 | </class> | |
14350 | <class name="PrintDialog" oldname="wxPrintDialog" module="windows"> | |
14351 | <baseclass name="Dialog"/> | |
14352 | <constructor name="PrintDialog" overloaded="no"> | |
14353 | <autodoc>__init__(Window parent, PrintDialogData data=None) -> PrintDialog</autodoc> | |
14354 | <paramlist> | |
14355 | <param name="parent" type="Window" default=""/> | |
14356 | <param name="data" type="PrintDialogData" default="NULL"/> | |
14357 | </paramlist> | |
14358 | </constructor> | |
14359 | <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no"> | |
14360 | <autodoc>GetPrintDialogData() -> PrintDialogData</autodoc> | |
14361 | </method> | |
14362 | <method name="GetPrintDC" type="DC" overloaded="no"> | |
14363 | <autodoc>GetPrintDC() -> DC</autodoc> | |
14364 | </method> | |
14365 | <method name="ShowModal" type="int" overloaded="no"> | |
14366 | <autodoc>ShowModal() -> int</autodoc> | |
14367 | </method> | |
14368 | </class> | |
14369 | <class name="Printer" oldname="wxPrinter" module="windows"> | |
14370 | <baseclass name="Object"/> | |
14371 | <constructor name="Printer" overloaded="no"> | |
14372 | <autodoc>__init__(PrintDialogData data=None) -> Printer</autodoc> | |
14373 | <paramlist> | |
14374 | <param name="data" type="PrintDialogData" default="NULL"/> | |
14375 | </paramlist> | |
14376 | </constructor> | |
14377 | <destructor name="~wxPrinter" overloaded="no"> | |
14378 | <autodoc>__del__()</autodoc> | |
14379 | </destructor> | |
14380 | <method name="CreateAbortWindow" type="" overloaded="no"> | |
14381 | <autodoc>CreateAbortWindow(Window parent, Printout printout)</autodoc> | |
14382 | <paramlist> | |
14383 | <param name="parent" type="Window" default=""/> | |
14384 | <param name="printout" type="wxPyPrintout" default=""/> | |
14385 | </paramlist> | |
14386 | </method> | |
14387 | <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no"> | |
14388 | <autodoc>GetPrintDialogData() -> PrintDialogData</autodoc> | |
14389 | </method> | |
14390 | <method name="Print" type="bool" overloaded="no"> | |
14391 | <autodoc>Print(Window parent, Printout printout, int prompt=True) -> bool</autodoc> | |
14392 | <paramlist> | |
14393 | <param name="parent" type="Window" default=""/> | |
14394 | <param name="printout" type="wxPyPrintout" default=""/> | |
14395 | <param name="prompt" type="int" default="True"/> | |
14396 | </paramlist> | |
14397 | </method> | |
14398 | <method name="PrintDialog" type="DC" overloaded="no"> | |
14399 | <autodoc>PrintDialog(Window parent) -> DC</autodoc> | |
14400 | <paramlist> | |
14401 | <param name="parent" type="Window" default=""/> | |
14402 | </paramlist> | |
14403 | </method> | |
14404 | <method name="ReportError" type="" overloaded="no"> | |
14405 | <autodoc>ReportError(Window parent, Printout printout, String message)</autodoc> | |
14406 | <paramlist> | |
14407 | <param name="parent" type="Window" default=""/> | |
14408 | <param name="printout" type="wxPyPrintout" default=""/> | |
14409 | <param name="message" type="String" default=""/> | |
14410 | </paramlist> | |
14411 | </method> | |
14412 | <method name="Setup" type="bool" overloaded="no"> | |
14413 | <autodoc>Setup(Window parent) -> bool</autodoc> | |
14414 | <paramlist> | |
14415 | <param name="parent" type="Window" default=""/> | |
14416 | </paramlist> | |
14417 | </method> | |
14418 | <method name="GetAbort" type="bool" overloaded="no"> | |
14419 | <autodoc>GetAbort() -> bool</autodoc> | |
14420 | </method> | |
14421 | <staticmethod name="GetLastError" type="wxPrinterError" overloaded="no"> | |
14422 | <autodoc>GetLastError() -> int</autodoc> | |
14423 | </staticmethod> | |
14424 | </class> | |
14425 | <class name="Printout" oldname="wxPyPrintout" module="windows"> | |
14426 | <baseclass name="Object"/> | |
14427 | <constructor name="wxPyPrintout" overloaded="no"> | |
14428 | <autodoc>__init__(String title=PrintoutTitleStr) -> Printout</autodoc> | |
14429 | <paramlist> | |
14430 | <param name="title" type="String" default="wxPyPrintoutTitleStr"/> | |
14431 | </paramlist> | |
14432 | </constructor> | |
14433 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
14434 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
14435 | <paramlist> | |
14436 | <param name="self" type="PyObject" default=""/> | |
14437 | <param name="_class" type="PyObject" default=""/> | |
14438 | </paramlist> | |
14439 | </method> | |
14440 | <method name="GetTitle" type="String" overloaded="no"> | |
14441 | <autodoc>GetTitle() -> String</autodoc> | |
14442 | </method> | |
14443 | <method name="GetDC" type="DC" overloaded="no"> | |
14444 | <autodoc>GetDC() -> DC</autodoc> | |
14445 | </method> | |
14446 | <method name="SetDC" type="" overloaded="no"> | |
14447 | <autodoc>SetDC(DC dc)</autodoc> | |
14448 | <paramlist> | |
14449 | <param name="dc" type="DC" default=""/> | |
14450 | </paramlist> | |
14451 | </method> | |
14452 | <method name="SetPageSizePixels" type="" overloaded="no"> | |
14453 | <autodoc>SetPageSizePixels(int w, int h)</autodoc> | |
14454 | <paramlist> | |
14455 | <param name="w" type="int" default=""/> | |
14456 | <param name="h" type="int" default=""/> | |
14457 | </paramlist> | |
14458 | </method> | |
14459 | <method name="GetPageSizePixels" type="" overloaded="no"> | |
14460 | <autodoc>GetPageSizePixels() -> (w, h)</autodoc> | |
14461 | <paramlist> | |
14462 | <param name="OUTPUT" type="int" default=""/> | |
14463 | <param name="OUTPUT" type="int" default=""/> | |
14464 | </paramlist> | |
14465 | </method> | |
14466 | <method name="SetPageSizeMM" type="" overloaded="no"> | |
14467 | <autodoc>SetPageSizeMM(int w, int h)</autodoc> | |
14468 | <paramlist> | |
14469 | <param name="w" type="int" default=""/> | |
14470 | <param name="h" type="int" default=""/> | |
14471 | </paramlist> | |
14472 | </method> | |
14473 | <method name="GetPageSizeMM" type="" overloaded="no"> | |
14474 | <autodoc>GetPageSizeMM() -> (w, h)</autodoc> | |
14475 | <paramlist> | |
14476 | <param name="OUTPUT" type="int" default=""/> | |
14477 | <param name="OUTPUT" type="int" default=""/> | |
14478 | </paramlist> | |
14479 | </method> | |
14480 | <method name="SetPPIScreen" type="" overloaded="no"> | |
14481 | <autodoc>SetPPIScreen(int x, int y)</autodoc> | |
14482 | <paramlist> | |
14483 | <param name="x" type="int" default=""/> | |
14484 | <param name="y" type="int" default=""/> | |
14485 | </paramlist> | |
14486 | </method> | |
14487 | <method name="GetPPIScreen" type="" overloaded="no"> | |
14488 | <autodoc>GetPPIScreen() -> (x,y)</autodoc> | |
14489 | <paramlist> | |
14490 | <param name="OUTPUT" type="int" default=""/> | |
14491 | <param name="OUTPUT" type="int" default=""/> | |
14492 | </paramlist> | |
14493 | </method> | |
14494 | <method name="SetPPIPrinter" type="" overloaded="no"> | |
14495 | <autodoc>SetPPIPrinter(int x, int y)</autodoc> | |
14496 | <paramlist> | |
14497 | <param name="x" type="int" default=""/> | |
14498 | <param name="y" type="int" default=""/> | |
14499 | </paramlist> | |
14500 | </method> | |
14501 | <method name="GetPPIPrinter" type="" overloaded="no"> | |
14502 | <autodoc>GetPPIPrinter() -> (x,y)</autodoc> | |
14503 | <paramlist> | |
14504 | <param name="OUTPUT" type="int" default=""/> | |
14505 | <param name="OUTPUT" type="int" default=""/> | |
14506 | </paramlist> | |
14507 | </method> | |
14508 | <method name="IsPreview" type="bool" overloaded="no"> | |
14509 | <autodoc>IsPreview() -> bool</autodoc> | |
14510 | </method> | |
14511 | <method name="SetIsPreview" type="" overloaded="no"> | |
14512 | <autodoc>SetIsPreview(bool p)</autodoc> | |
14513 | <paramlist> | |
14514 | <param name="p" type="bool" default=""/> | |
14515 | </paramlist> | |
14516 | </method> | |
14517 | <method name="base_OnBeginDocument" type="bool" overloaded="no"> | |
14518 | <autodoc>base_OnBeginDocument(int startPage, int endPage) -> bool</autodoc> | |
14519 | <paramlist> | |
14520 | <param name="startPage" type="int" default=""/> | |
14521 | <param name="endPage" type="int" default=""/> | |
14522 | </paramlist> | |
14523 | </method> | |
14524 | <method name="base_OnEndDocument" type="" overloaded="no"> | |
14525 | <autodoc>base_OnEndDocument()</autodoc> | |
14526 | </method> | |
14527 | <method name="base_OnBeginPrinting" type="" overloaded="no"> | |
14528 | <autodoc>base_OnBeginPrinting()</autodoc> | |
14529 | </method> | |
14530 | <method name="base_OnEndPrinting" type="" overloaded="no"> | |
14531 | <autodoc>base_OnEndPrinting()</autodoc> | |
14532 | </method> | |
14533 | <method name="base_OnPreparePrinting" type="" overloaded="no"> | |
14534 | <autodoc>base_OnPreparePrinting()</autodoc> | |
14535 | </method> | |
14536 | <method name="base_HasPage" type="bool" overloaded="no"> | |
14537 | <autodoc>base_HasPage(int page) -> bool</autodoc> | |
14538 | <paramlist> | |
14539 | <param name="page" type="int" default=""/> | |
14540 | </paramlist> | |
14541 | </method> | |
14542 | <method name="base_GetPageInfo" type="" overloaded="no"> | |
14543 | <autodoc>base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)</autodoc> | |
14544 | <paramlist> | |
14545 | <param name="OUTPUT" type="int" default=""/> | |
14546 | <param name="OUTPUT" type="int" default=""/> | |
14547 | <param name="OUTPUT" type="int" default=""/> | |
14548 | <param name="OUTPUT" type="int" default=""/> | |
14549 | </paramlist> | |
14550 | </method> | |
14551 | </class> | |
14552 | <class name="PreviewCanvas" oldname="wxPreviewCanvas" module="windows"> | |
14553 | <baseclass name="ScrolledWindow"/> | |
14554 | <constructor name="PreviewCanvas" overloaded="no"> | |
14555 | <autodoc>__init__(PrintPreview preview, Window parent, Point pos=DefaultPosition, | |
856bf319 RD |
14556 | Size size=DefaultSize, long style=0, |
14557 | String name=PreviewCanvasNameStr) -> PreviewCanvas</autodoc> | |
f32fc4bc RD |
14558 | <paramlist> |
14559 | <param name="preview" type="wxPrintPreview" default=""/> | |
14560 | <param name="parent" type="Window" default=""/> | |
14561 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14562 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14563 | <param name="style" type="long" default="0"/> | |
14564 | <param name="name" type="String" default="wxPyPreviewCanvasNameStr"/> | |
14565 | </paramlist> | |
14566 | </constructor> | |
14567 | </class> | |
14568 | <class name="PreviewFrame" oldname="wxPreviewFrame" module="windows"> | |
14569 | <baseclass name="Frame"/> | |
14570 | <constructor name="PreviewFrame" overloaded="no"> | |
14571 | <autodoc>__init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition, | |
856bf319 RD |
14572 | Size size=DefaultSize, |
14573 | long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame</autodoc> | |
f32fc4bc RD |
14574 | <paramlist> |
14575 | <param name="preview" type="wxPrintPreview" default=""/> | |
14576 | <param name="parent" type="Frame" default=""/> | |
14577 | <param name="title" type="String" default=""/> | |
14578 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14579 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14580 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
14581 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
14582 | </paramlist> | |
14583 | </constructor> | |
14584 | <method name="Initialize" type="" overloaded="no"> | |
14585 | <autodoc>Initialize()</autodoc> | |
14586 | </method> | |
14587 | <method name="CreateControlBar" type="" overloaded="no"> | |
14588 | <autodoc>CreateControlBar()</autodoc> | |
14589 | </method> | |
14590 | <method name="CreateCanvas" type="" overloaded="no"> | |
14591 | <autodoc>CreateCanvas()</autodoc> | |
14592 | </method> | |
14593 | <method name="GetControlBar" type="wxPreviewControlBar" overloaded="no"> | |
14594 | <autodoc>GetControlBar() -> PreviewControlBar</autodoc> | |
14595 | </method> | |
14596 | </class> | |
14597 | <class name="PreviewControlBar" oldname="wxPreviewControlBar" module="windows"> | |
14598 | <baseclass name="Panel"/> | |
14599 | <constructor name="PreviewControlBar" overloaded="no"> | |
14600 | <autodoc>__init__(PrintPreview preview, long buttons, Window parent, | |
856bf319 RD |
14601 | Point pos=DefaultPosition, Size size=DefaultSize, |
14602 | long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar</autodoc> | |
f32fc4bc RD |
14603 | <paramlist> |
14604 | <param name="preview" type="wxPrintPreview" default=""/> | |
14605 | <param name="buttons" type="long" default=""/> | |
14606 | <param name="parent" type="Window" default=""/> | |
14607 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14608 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14609 | <param name="style" type="long" default="wxTAB_TRAVERSAL"/> | |
14610 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
14611 | </paramlist> | |
14612 | </constructor> | |
14613 | <method name="GetZoomControl" type="int" overloaded="no"> | |
14614 | <autodoc>GetZoomControl() -> int</autodoc> | |
14615 | </method> | |
14616 | <method name="SetZoomControl" type="" overloaded="no"> | |
14617 | <autodoc>SetZoomControl(int zoom)</autodoc> | |
14618 | <paramlist> | |
14619 | <param name="zoom" type="int" default=""/> | |
14620 | </paramlist> | |
14621 | </method> | |
14622 | <method name="GetPrintPreview" type="wxPrintPreview" overloaded="no"> | |
14623 | <autodoc>GetPrintPreview() -> PrintPreview</autodoc> | |
14624 | </method> | |
14625 | <method name="OnNext" type="" overloaded="no"> | |
14626 | <autodoc>OnNext()</autodoc> | |
14627 | </method> | |
14628 | <method name="OnPrevious" type="" overloaded="no"> | |
14629 | <autodoc>OnPrevious()</autodoc> | |
14630 | </method> | |
14631 | <method name="OnFirst" type="" overloaded="no"> | |
14632 | <autodoc>OnFirst()</autodoc> | |
14633 | </method> | |
14634 | <method name="OnLast" type="" overloaded="no"> | |
14635 | <autodoc>OnLast()</autodoc> | |
14636 | </method> | |
14637 | <method name="OnGoto" type="" overloaded="no"> | |
14638 | <autodoc>OnGoto()</autodoc> | |
14639 | </method> | |
14640 | </class> | |
14641 | <class name="PrintPreview" oldname="wxPrintPreview" module="windows"> | |
14642 | <baseclass name="Object"/> | |
b39e211b | 14643 | <constructor name="PrintPreview" overloaded="yes"> |
f32fc4bc RD |
14644 | <paramlist> |
14645 | <param name="printout" type="Printout" default=""/> | |
14646 | <param name="printoutForPrinting" type="Printout" default=""/> | |
b39e211b RD |
14647 | <param name="data" type="PrintDialogData" default="NULL"/> |
14648 | </paramlist> | |
14649 | </constructor> | |
14650 | <constructor name="PrintPreview" overloaded="yes"> | |
14651 | <autodoc>__init__(Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview | |
14652 | __init__(Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview</autodoc> | |
14653 | <paramlist> | |
14654 | <param name="printout" type="Printout" default=""/> | |
14655 | <param name="printoutForPrinting" type="Printout" default=""/> | |
14656 | <param name="data" type="PrintData" default=""/> | |
f32fc4bc RD |
14657 | </paramlist> |
14658 | </constructor> | |
14659 | <method name="SetCurrentPage" type="bool" overloaded="no"> | |
14660 | <autodoc>SetCurrentPage(int pageNum) -> bool</autodoc> | |
14661 | <paramlist> | |
14662 | <param name="pageNum" type="int" default=""/> | |
14663 | </paramlist> | |
14664 | </method> | |
14665 | <method name="GetCurrentPage" type="int" overloaded="no"> | |
14666 | <autodoc>GetCurrentPage() -> int</autodoc> | |
14667 | </method> | |
14668 | <method name="SetPrintout" type="" overloaded="no"> | |
14669 | <autodoc>SetPrintout(Printout printout)</autodoc> | |
14670 | <paramlist> | |
14671 | <param name="printout" type="Printout" default=""/> | |
14672 | </paramlist> | |
14673 | </method> | |
14674 | <method name="GetPrintout" type="Printout" overloaded="no"> | |
14675 | <autodoc>GetPrintout() -> Printout</autodoc> | |
14676 | </method> | |
14677 | <method name="GetPrintoutForPrinting" type="Printout" overloaded="no"> | |
14678 | <autodoc>GetPrintoutForPrinting() -> Printout</autodoc> | |
14679 | </method> | |
14680 | <method name="SetFrame" type="" overloaded="no"> | |
14681 | <autodoc>SetFrame(Frame frame)</autodoc> | |
14682 | <paramlist> | |
14683 | <param name="frame" type="Frame" default=""/> | |
14684 | </paramlist> | |
14685 | </method> | |
14686 | <method name="SetCanvas" type="" overloaded="no"> | |
14687 | <autodoc>SetCanvas(PreviewCanvas canvas)</autodoc> | |
14688 | <paramlist> | |
14689 | <param name="canvas" type="PreviewCanvas" default=""/> | |
14690 | </paramlist> | |
14691 | </method> | |
14692 | <method name="GetFrame" type="Frame" overloaded="no"> | |
14693 | <autodoc>GetFrame() -> Frame</autodoc> | |
14694 | </method> | |
14695 | <method name="GetCanvas" type="PreviewCanvas" overloaded="no"> | |
14696 | <autodoc>GetCanvas() -> PreviewCanvas</autodoc> | |
14697 | </method> | |
14698 | <method name="PaintPage" type="bool" overloaded="no"> | |
14699 | <autodoc>PaintPage(PreviewCanvas canvas, DC dc) -> bool</autodoc> | |
14700 | <paramlist> | |
14701 | <param name="canvas" type="PreviewCanvas" default=""/> | |
14702 | <param name="dc" type="DC" default=""/> | |
14703 | </paramlist> | |
14704 | </method> | |
14705 | <method name="DrawBlankPage" type="bool" overloaded="no"> | |
14706 | <autodoc>DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool</autodoc> | |
14707 | <paramlist> | |
14708 | <param name="canvas" type="PreviewCanvas" default=""/> | |
14709 | <param name="dc" type="DC" default=""/> | |
14710 | </paramlist> | |
14711 | </method> | |
14712 | <method name="RenderPage" type="bool" overloaded="no"> | |
14713 | <autodoc>RenderPage(int pageNum) -> bool</autodoc> | |
14714 | <paramlist> | |
14715 | <param name="pageNum" type="int" default=""/> | |
14716 | </paramlist> | |
14717 | </method> | |
14718 | <method name="AdjustScrollbars" type="" overloaded="no"> | |
14719 | <autodoc>AdjustScrollbars(PreviewCanvas canvas)</autodoc> | |
14720 | <paramlist> | |
14721 | <param name="canvas" type="PreviewCanvas" default=""/> | |
14722 | </paramlist> | |
14723 | </method> | |
14724 | <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no"> | |
14725 | <autodoc>GetPrintDialogData() -> PrintDialogData</autodoc> | |
14726 | </method> | |
14727 | <method name="SetZoom" type="" overloaded="no"> | |
14728 | <autodoc>SetZoom(int percent)</autodoc> | |
14729 | <paramlist> | |
14730 | <param name="percent" type="int" default=""/> | |
14731 | </paramlist> | |
14732 | </method> | |
14733 | <method name="GetZoom" type="int" overloaded="no"> | |
14734 | <autodoc>GetZoom() -> int</autodoc> | |
14735 | </method> | |
14736 | <method name="GetMaxPage" type="int" overloaded="no"> | |
14737 | <autodoc>GetMaxPage() -> int</autodoc> | |
14738 | </method> | |
14739 | <method name="GetMinPage" type="int" overloaded="no"> | |
14740 | <autodoc>GetMinPage() -> int</autodoc> | |
14741 | </method> | |
14742 | <method name="Ok" type="bool" overloaded="no"> | |
14743 | <autodoc>Ok() -> bool</autodoc> | |
14744 | </method> | |
14745 | <method name="SetOk" type="" overloaded="no"> | |
14746 | <autodoc>SetOk(bool ok)</autodoc> | |
14747 | <paramlist> | |
14748 | <param name="ok" type="bool" default=""/> | |
14749 | </paramlist> | |
14750 | </method> | |
14751 | <method name="Print" type="bool" overloaded="no"> | |
14752 | <autodoc>Print(bool interactive) -> bool</autodoc> | |
14753 | <paramlist> | |
14754 | <param name="interactive" type="bool" default=""/> | |
14755 | </paramlist> | |
14756 | </method> | |
14757 | <method name="DetermineScaling" type="" overloaded="no"> | |
14758 | <autodoc>DetermineScaling()</autodoc> | |
14759 | </method> | |
14760 | </class> | |
14761 | <class name="PyPrintPreview" oldname="wxPyPrintPreview" module="windows"> | |
14762 | <baseclass name="PrintPreview"/> | |
b39e211b | 14763 | <constructor name="PyPrintPreview" overloaded="yes"> |
f32fc4bc RD |
14764 | <paramlist> |
14765 | <param name="printout" type="Printout" default=""/> | |
14766 | <param name="printoutForPrinting" type="Printout" default=""/> | |
b39e211b RD |
14767 | <param name="data" type="PrintDialogData" default="NULL"/> |
14768 | </paramlist> | |
14769 | </constructor> | |
14770 | <constructor name="PyPrintPreview" overloaded="yes"> | |
14771 | <autodoc>__init__(Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview | |
14772 | __init__(Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview</autodoc> | |
14773 | <paramlist> | |
14774 | <param name="printout" type="Printout" default=""/> | |
14775 | <param name="printoutForPrinting" type="Printout" default=""/> | |
14776 | <param name="data" type="PrintData" default=""/> | |
f32fc4bc RD |
14777 | </paramlist> |
14778 | </constructor> | |
14779 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
14780 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
14781 | <paramlist> | |
14782 | <param name="self" type="PyObject" default=""/> | |
14783 | <param name="_class" type="PyObject" default=""/> | |
14784 | </paramlist> | |
14785 | </method> | |
14786 | <method name="base_SetCurrentPage" type="bool" overloaded="no"> | |
14787 | <autodoc>base_SetCurrentPage(int pageNum) -> bool</autodoc> | |
14788 | <paramlist> | |
14789 | <param name="pageNum" type="int" default=""/> | |
14790 | </paramlist> | |
14791 | </method> | |
14792 | <method name="base_PaintPage" type="bool" overloaded="no"> | |
14793 | <autodoc>base_PaintPage(PreviewCanvas canvas, DC dc) -> bool</autodoc> | |
14794 | <paramlist> | |
14795 | <param name="canvas" type="PreviewCanvas" default=""/> | |
14796 | <param name="dc" type="DC" default=""/> | |
14797 | </paramlist> | |
14798 | </method> | |
14799 | <method name="base_DrawBlankPage" type="bool" overloaded="no"> | |
14800 | <autodoc>base_DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool</autodoc> | |
14801 | <paramlist> | |
14802 | <param name="canvas" type="PreviewCanvas" default=""/> | |
14803 | <param name="dc" type="DC" default=""/> | |
14804 | </paramlist> | |
14805 | </method> | |
14806 | <method name="base_RenderPage" type="bool" overloaded="no"> | |
14807 | <autodoc>base_RenderPage(int pageNum) -> bool</autodoc> | |
14808 | <paramlist> | |
14809 | <param name="pageNum" type="int" default=""/> | |
14810 | </paramlist> | |
14811 | </method> | |
14812 | <method name="base_SetZoom" type="" overloaded="no"> | |
14813 | <autodoc>base_SetZoom(int percent)</autodoc> | |
14814 | <paramlist> | |
14815 | <param name="percent" type="int" default=""/> | |
14816 | </paramlist> | |
14817 | </method> | |
14818 | <method name="base_Print" type="bool" overloaded="no"> | |
14819 | <autodoc>base_Print(bool interactive) -> bool</autodoc> | |
14820 | <paramlist> | |
14821 | <param name="interactive" type="bool" default=""/> | |
14822 | </paramlist> | |
14823 | </method> | |
14824 | <method name="base_DetermineScaling" type="" overloaded="no"> | |
14825 | <autodoc>base_DetermineScaling()</autodoc> | |
14826 | </method> | |
14827 | </class> | |
14828 | <class name="PyPreviewFrame" oldname="wxPyPreviewFrame" module="windows"> | |
14829 | <baseclass name="PreviewFrame"/> | |
14830 | <constructor name="PyPreviewFrame" overloaded="no"> | |
14831 | <autodoc>__init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition, | |
856bf319 RD |
14832 | Size size=DefaultSize, |
14833 | long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame</autodoc> | |
f32fc4bc RD |
14834 | <paramlist> |
14835 | <param name="preview" type="PrintPreview" default=""/> | |
14836 | <param name="parent" type="Frame" default=""/> | |
14837 | <param name="title" type="String" default=""/> | |
14838 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14839 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14840 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
14841 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
14842 | </paramlist> | |
14843 | </constructor> | |
14844 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
14845 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
14846 | <paramlist> | |
14847 | <param name="self" type="PyObject" default=""/> | |
14848 | <param name="_class" type="PyObject" default=""/> | |
14849 | </paramlist> | |
14850 | </method> | |
14851 | <method name="SetPreviewCanvas" type="" overloaded="no"> | |
14852 | <autodoc>SetPreviewCanvas(PreviewCanvas canvas)</autodoc> | |
14853 | <paramlist> | |
14854 | <param name="canvas" type="PreviewCanvas" default=""/> | |
14855 | </paramlist> | |
14856 | </method> | |
14857 | <method name="SetControlBar" type="" overloaded="no"> | |
14858 | <autodoc>SetControlBar(PreviewControlBar bar)</autodoc> | |
14859 | <paramlist> | |
14860 | <param name="bar" type="PreviewControlBar" default=""/> | |
14861 | </paramlist> | |
14862 | </method> | |
14863 | <method name="base_Initialize" type="" overloaded="no"> | |
14864 | <autodoc>base_Initialize()</autodoc> | |
14865 | </method> | |
14866 | <method name="base_CreateCanvas" type="" overloaded="no"> | |
14867 | <autodoc>base_CreateCanvas()</autodoc> | |
14868 | </method> | |
14869 | <method name="base_CreateControlBar" type="" overloaded="no"> | |
14870 | <autodoc>base_CreateControlBar()</autodoc> | |
14871 | </method> | |
14872 | </class> | |
14873 | <class name="PyPreviewControlBar" oldname="wxPyPreviewControlBar" module="windows"> | |
14874 | <baseclass name="PreviewControlBar"/> | |
14875 | <constructor name="PyPreviewControlBar" overloaded="no"> | |
14876 | <autodoc>__init__(PrintPreview preview, long buttons, Window parent, | |
856bf319 RD |
14877 | Point pos=DefaultPosition, Size size=DefaultSize, |
14878 | long style=0, String name=PanelNameStr) -> PyPreviewControlBar</autodoc> | |
f32fc4bc RD |
14879 | <paramlist> |
14880 | <param name="preview" type="PrintPreview" default=""/> | |
14881 | <param name="buttons" type="long" default=""/> | |
14882 | <param name="parent" type="Window" default=""/> | |
14883 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14884 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14885 | <param name="style" type="long" default="0"/> | |
14886 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
14887 | </paramlist> | |
14888 | </constructor> | |
14889 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
14890 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
14891 | <paramlist> | |
14892 | <param name="self" type="PyObject" default=""/> | |
14893 | <param name="_class" type="PyObject" default=""/> | |
14894 | </paramlist> | |
14895 | </method> | |
14896 | <method name="SetPrintPreview" type="" overloaded="no"> | |
14897 | <autodoc>SetPrintPreview(PrintPreview preview)</autodoc> | |
14898 | <paramlist> | |
14899 | <param name="preview" type="PrintPreview" default=""/> | |
14900 | </paramlist> | |
14901 | </method> | |
14902 | <method name="base_CreateButtons" type="" overloaded="no"> | |
14903 | <autodoc>base_CreateButtons()</autodoc> | |
14904 | </method> | |
14905 | <method name="base_SetZoomControl" type="" overloaded="no"> | |
14906 | <autodoc>base_SetZoomControl(int zoom)</autodoc> | |
14907 | <paramlist> | |
14908 | <param name="zoom" type="int" default=""/> | |
14909 | </paramlist> | |
14910 | </method> | |
14911 | </class> | |
14912 | </module> | |
14913 | <module name="controls"> | |
14914 | <import name="core"/> | |
14915 | <pythoncode> wx = core </pythoncode> | |
14916 | <pythoncode> | |
856bf319 RD |
14917 | #--------------------------------------------------------------------------- |
14918 | </pythoncode> | |
f32fc4bc RD |
14919 | <class name="Button" oldname="wxButton" module="controls"> |
14920 | <docstring>A button is a control that contains a text string, and is one of the most | |
856bf319 RD |
14921 | common elements of a GUI. It may be placed on a dialog box or panel, or |
14922 | indeed almost any other window.</docstring> | |
f32fc4bc | 14923 | <refdoc> |
856bf319 RD |
14924 | Styles |
14925 | wx.BU_LEFT: Left-justifies the label. WIN32 only. | |
14926 | wx.BU_TOP: Aligns the label to the top of the button. WIN32 only. | |
14927 | wx.BU_RIGHT: Right-justifies the bitmap label. WIN32 only. | |
14928 | wx.BU_BOTTOM: Aligns the label to the bottom of the button. WIN32 only. | |
14929 | wx.BU_EXACTFIT: Creates the button as small as possible instead of making | |
14930 | it of the standard size (which is the default behaviour.) | |
14931 | ||
14932 | Events | |
14933 | EVT_BUTTON: Sent when the button is clicked. | |
14934 | </refdoc> | |
f32fc4bc RD |
14935 | <baseclass name="Control"/> |
14936 | <constructor name="Button" overloaded="no"> | |
14937 | <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
14938 | Size size=DefaultSize, long style=0, |
14939 | Validator validator=DefaultValidator, String name=ButtonNameStr) -> Button</autodoc> | |
f32fc4bc RD |
14940 | <docstring>Create and show a button.</docstring> |
14941 | <paramlist> | |
14942 | <param name="parent" type="Window" default=""/> | |
14943 | <param name="id" type="int" default=""/> | |
14944 | <param name="label" type="String" default=""/> | |
14945 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14946 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14947 | <param name="style" type="long" default="0"/> | |
14948 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
14949 | <param name="name" type="String" default="wxPyButtonNameStr"/> | |
14950 | </paramlist> | |
14951 | </constructor> | |
14952 | <constructor name="PreButton" overloaded="no"> | |
14953 | <autodoc>PreButton() -> Button</autodoc> | |
14954 | <docstring>Precreate a Button for 2-phase creation.</docstring> | |
14955 | </constructor> | |
14956 | <method name="Create" type="bool" overloaded="no"> | |
14957 | <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
14958 | Size size=DefaultSize, long style=0, |
14959 | Validator validator=DefaultValidator, String name=ButtonNameStr) -> bool</autodoc> | |
f32fc4bc RD |
14960 | <docstring>Acutally create the GUI Button for 2-phase creation.</docstring> |
14961 | <paramlist> | |
14962 | <param name="parent" type="Window" default=""/> | |
14963 | <param name="id" type="int" default=""/> | |
14964 | <param name="label" type="String" default=""/> | |
14965 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14966 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14967 | <param name="style" type="long" default="0"/> | |
14968 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
14969 | <param name="name" type="String" default="wxPyButtonNameStr"/> | |
14970 | </paramlist> | |
14971 | </method> | |
14972 | <method name="SetDefault" type="" overloaded="no"> | |
14973 | <autodoc>SetDefault()</autodoc> | |
14974 | <docstring>This sets the button to be the default item for the panel or dialog box.</docstring> | |
14975 | </method> | |
14976 | <staticmethod name="GetDefaultSize" type="Size" overloaded="no"> | |
14977 | <autodoc>GetDefaultSize() -> Size</autodoc> | |
14978 | </staticmethod> | |
14979 | </class> | |
14980 | <class name="BitmapButton" oldname="wxBitmapButton" module="controls"> | |
14981 | <docstring>A Button that contains a bitmap. A bitmap button can be supplied with a | |
856bf319 RD |
14982 | single bitmap, and wxWindows will draw all button states using this bitmap. If |
14983 | the application needs more control, additional bitmaps for the selected state, | |
14984 | unpressed focused state, and greyed-out state may be supplied. | |
14985 | </docstring> | |
f32fc4bc RD |
14986 | <baseclass name="Button"/> |
14987 | <constructor name="BitmapButton" overloaded="no"> | |
14988 | <autodoc>__init__(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition, | |
856bf319 RD |
14989 | Size size=DefaultSize, long style=BU_AUTODRAW, |
14990 | Validator validator=DefaultValidator, | |
14991 | String name=ButtonNameStr) -> BitmapButton</autodoc> | |
f32fc4bc RD |
14992 | <docstring>Create and show a button with a bitmap for the label.</docstring> |
14993 | <paramlist> | |
14994 | <param name="parent" type="Window" default=""/> | |
14995 | <param name="id" type="int" default=""/> | |
14996 | <param name="bitmap" type="Bitmap" default=""/> | |
14997 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14998 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14999 | <param name="style" type="long" default="wxBU_AUTODRAW"/> | |
15000 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15001 | <param name="name" type="String" default="wxPyButtonNameStr"/> | |
15002 | </paramlist> | |
15003 | </constructor> | |
15004 | <constructor name="PreBitmapButton" overloaded="no"> | |
15005 | <autodoc>PreBitmapButton() -> BitmapButton</autodoc> | |
15006 | <docstring>Precreate a BitmapButton for 2-phase creation.</docstring> | |
15007 | </constructor> | |
15008 | <method name="Create" type="bool" overloaded="no"> | |
15009 | <autodoc>Create(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition, | |
856bf319 RD |
15010 | Size size=DefaultSize, long style=BU_AUTODRAW, |
15011 | Validator validator=DefaultValidator, | |
15012 | String name=ButtonNameStr) -> bool</autodoc> | |
f32fc4bc RD |
15013 | <docstring>Acutally create the GUI BitmapButton for 2-phase creation.</docstring> |
15014 | <paramlist> | |
15015 | <param name="parent" type="Window" default=""/> | |
15016 | <param name="id" type="int" default=""/> | |
15017 | <param name="bitmap" type="Bitmap" default=""/> | |
15018 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15019 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15020 | <param name="style" type="long" default="wxBU_AUTODRAW"/> | |
15021 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15022 | <param name="name" type="String" default="wxPyButtonNameStr"/> | |
15023 | </paramlist> | |
15024 | </method> | |
15025 | <method name="GetBitmapLabel" type="Bitmap" overloaded="no"> | |
15026 | <autodoc>GetBitmapLabel() -> Bitmap</autodoc> | |
15027 | <docstring>Returns the label bitmap (the one passed to the constructor).</docstring> | |
15028 | </method> | |
15029 | <method name="GetBitmapDisabled" type="Bitmap" overloaded="no"> | |
15030 | <autodoc>GetBitmapDisabled() -> Bitmap</autodoc> | |
15031 | <docstring>Returns the bitmap for the disabled state.</docstring> | |
15032 | </method> | |
15033 | <method name="GetBitmapFocus" type="Bitmap" overloaded="no"> | |
15034 | <autodoc>GetBitmapFocus() -> Bitmap</autodoc> | |
15035 | <docstring>Returns the bitmap for the focused state.</docstring> | |
15036 | </method> | |
15037 | <method name="GetBitmapSelected" type="Bitmap" overloaded="no"> | |
15038 | <autodoc>GetBitmapSelected() -> Bitmap</autodoc> | |
15039 | <docstring>Returns the bitmap for the selected state.</docstring> | |
15040 | </method> | |
15041 | <method name="SetBitmapDisabled" type="" overloaded="no"> | |
15042 | <autodoc>SetBitmapDisabled(Bitmap bitmap)</autodoc> | |
15043 | <docstring>Sets the bitmap for the disabled button appearance.</docstring> | |
15044 | <paramlist> | |
15045 | <param name="bitmap" type="Bitmap" default=""/> | |
15046 | </paramlist> | |
15047 | </method> | |
15048 | <method name="SetBitmapFocus" type="" overloaded="no"> | |
15049 | <autodoc>SetBitmapFocus(Bitmap bitmap)</autodoc> | |
15050 | <docstring>Sets the bitmap for the button appearance when it has the keyboard focus.</docstring> | |
15051 | <paramlist> | |
15052 | <param name="bitmap" type="Bitmap" default=""/> | |
15053 | </paramlist> | |
15054 | </method> | |
15055 | <method name="SetBitmapSelected" type="" overloaded="no"> | |
15056 | <autodoc>SetBitmapSelected(Bitmap bitmap)</autodoc> | |
15057 | <docstring>Sets the bitmap for the selected (depressed) button appearance.</docstring> | |
15058 | <paramlist> | |
15059 | <param name="bitmap" type="Bitmap" default=""/> | |
15060 | </paramlist> | |
15061 | </method> | |
15062 | <method name="SetBitmapLabel" type="" overloaded="no"> | |
15063 | <autodoc>SetBitmapLabel(Bitmap bitmap)</autodoc> | |
15064 | <docstring>Sets the bitmap label for the button. This is the bitmap used for the | |
856bf319 | 15065 | unselected state, and for all other states if no other bitmaps are provided.</docstring> |
f32fc4bc RD |
15066 | <paramlist> |
15067 | <param name="bitmap" type="Bitmap" default=""/> | |
15068 | </paramlist> | |
15069 | </method> | |
15070 | <method name="SetMargins" type="" overloaded="no"> | |
15071 | <autodoc>SetMargins(int x, int y)</autodoc> | |
15072 | <paramlist> | |
15073 | <param name="x" type="int" default=""/> | |
15074 | <param name="y" type="int" default=""/> | |
15075 | </paramlist> | |
15076 | </method> | |
15077 | <method name="GetMarginX" type="int" overloaded="no"> | |
15078 | <autodoc>GetMarginX() -> int</autodoc> | |
15079 | </method> | |
15080 | <method name="GetMarginY" type="int" overloaded="no"> | |
15081 | <autodoc>GetMarginY() -> int</autodoc> | |
15082 | </method> | |
15083 | </class> | |
15084 | <pythoncode> | |
856bf319 RD |
15085 | #--------------------------------------------------------------------------- |
15086 | </pythoncode> | |
f32fc4bc | 15087 | <class name="CheckBox" oldname="wxCheckBox" module="controls"> |
c2dda882 RD |
15088 | <docstring>A checkbox is a labelled box which by default is either on (checkmark is |
15089 | visible) or off (no checkmark). Optionally (When the wxCHK_3STATE style flag | |
15090 | is set) it can have a third state, called the mixed or undetermined | |
15091 | state. Often this is used as a "Does Not Apply" state.</docstring> | |
15092 | <refdoc> | |
15093 | Styles | |
15094 | wx.CHK_2STATE: Create a 2-state checkbox. This is the default. | |
15095 | wx.CHK_3STATE: Create a 3-state checkbox. | |
15096 | wx.CHK_ALLOW_3RD_STATE_FOR_USER: By default a user can't set a 3-state | |
15097 | checkbox to the third state. It can only | |
15098 | be done from code. Using this flags | |
15099 | allows the user to set the checkbox to | |
15100 | the third state by clicking. | |
15101 | wx.ALIGN_RIGHT: Makes the text appear on the left of the checkbox. | |
15102 | ||
15103 | Events | |
15104 | EVT_CHECKBOX: Sent when checkbox is clicked. | |
15105 | </refdoc> | |
f32fc4bc RD |
15106 | <baseclass name="Control"/> |
15107 | <constructor name="CheckBox" overloaded="no"> | |
15108 | <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
15109 | Size size=DefaultSize, long style=0, |
15110 | Validator validator=DefaultValidator, String name=CheckBoxNameStr) -> CheckBox</autodoc> | |
c2dda882 RD |
15111 | <docstring>Creates and shows a CheckBox control</docstring> |
15112 | <refdoc> | |
15113 | Styles | |
15114 | wx.CHK_2STATE: Create a 2-state checkbox. This is the default. | |
15115 | wx.CHK_3STATE: Create a 3-state checkbox. | |
15116 | wx.CHK_ALLOW_3RD_STATE_FOR_USER: By default a user can't set a 3-state | |
15117 | checkbox to the third state. It can only | |
15118 | be done from code. Using this flags | |
15119 | allows the user to set the checkbox to | |
15120 | the third state by clicking. | |
15121 | wx.ALIGN_RIGHT: Makes the text appear on the left of the checkbox. | |
15122 | ||
15123 | Events | |
15124 | EVT_CHECKBOX: Sent when checkbox is clicked. | |
15125 | </refdoc> | |
f32fc4bc RD |
15126 | <paramlist> |
15127 | <param name="parent" type="Window" default=""/> | |
15128 | <param name="id" type="int" default=""/> | |
15129 | <param name="label" type="String" default=""/> | |
15130 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15131 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15132 | <param name="style" type="long" default="0"/> | |
15133 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15134 | <param name="name" type="String" default="wxPyCheckBoxNameStr"/> | |
15135 | </paramlist> | |
15136 | </constructor> | |
15137 | <constructor name="PreCheckBox" overloaded="no"> | |
15138 | <autodoc>PreCheckBox() -> CheckBox</autodoc> | |
c2dda882 RD |
15139 | <docstring>Precreate a CheckBox for 2-phase creation.</docstring> |
15140 | <refdoc> | |
15141 | Styles | |
15142 | wx.CHK_2STATE: Create a 2-state checkbox. This is the default. | |
15143 | wx.CHK_3STATE: Create a 3-state checkbox. | |
15144 | wx.CHK_ALLOW_3RD_STATE_FOR_USER: By default a user can't set a 3-state | |
15145 | checkbox to the third state. It can only | |
15146 | be done from code. Using this flags | |
15147 | allows the user to set the checkbox to | |
15148 | the third state by clicking. | |
15149 | wx.ALIGN_RIGHT: Makes the text appear on the left of the checkbox. | |
15150 | ||
15151 | Events | |
15152 | EVT_CHECKBOX: Sent when checkbox is clicked. | |
15153 | </refdoc> | |
f32fc4bc RD |
15154 | </constructor> |
15155 | <method name="Create" type="bool" overloaded="no"> | |
15156 | <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
15157 | Size size=DefaultSize, long style=0, |
15158 | Validator validator=DefaultValidator, String name=CheckBoxNameStr) -> bool</autodoc> | |
c2dda882 | 15159 | <docstring>Actually create the GUI CheckBox for 2-phase creation.</docstring> |
f32fc4bc RD |
15160 | <paramlist> |
15161 | <param name="parent" type="Window" default=""/> | |
15162 | <param name="id" type="int" default=""/> | |
15163 | <param name="label" type="String" default=""/> | |
15164 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15165 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15166 | <param name="style" type="long" default="0"/> | |
15167 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15168 | <param name="name" type="String" default="wxPyCheckBoxNameStr"/> | |
15169 | </paramlist> | |
15170 | </method> | |
15171 | <method name="GetValue" type="bool" overloaded="no"> | |
15172 | <autodoc>GetValue() -> bool</autodoc> | |
c2dda882 RD |
15173 | <docstring>Gets the state of a 2-state CheckBox. Returns True if it is checked, |
15174 | False otherwise.</docstring> | |
f32fc4bc RD |
15175 | </method> |
15176 | <method name="IsChecked" type="bool" overloaded="no"> | |
15177 | <autodoc>IsChecked() -> bool</autodoc> | |
c2dda882 | 15178 | <docstring>Similar to GetValue, but raises an exception if it is not a 2-state CheckBox.</docstring> |
f32fc4bc RD |
15179 | </method> |
15180 | <method name="SetValue" type="" overloaded="no"> | |
15181 | <autodoc>SetValue(bool state)</autodoc> | |
c2dda882 RD |
15182 | <docstring>Set the state of a 2-state CheckBox. Pass True for checked, |
15183 | False for unchecked.</docstring> | |
f32fc4bc RD |
15184 | <paramlist> |
15185 | <param name="state" type="bool" default=""/> | |
15186 | </paramlist> | |
15187 | </method> | |
15188 | <method name="Get3StateValue" type="wxCheckBoxState" overloaded="no"> | |
15189 | <autodoc>Get3StateValue() -> int</autodoc> | |
c2dda882 RD |
15190 | <docstring>Returns wx.CHK_UNCHECKED when the CheckBox is unchecked, wx.CHK_CHECKED when |
15191 | it is checked and wx.CHK_UNDETERMINED when it's in the undetermined state. | |
15192 | Raises an exceptiion when the function is used with a 2-state CheckBox.</docstring> | |
f32fc4bc RD |
15193 | </method> |
15194 | <method name="Set3StateValue" type="" overloaded="no"> | |
15195 | <autodoc>Set3StateValue(int state)</autodoc> | |
c2dda882 RD |
15196 | <docstring>Sets the CheckBox to the given state. The state parameter can be |
15197 | one of the following: wx.CHK_UNCHECKED (Check is off), wx.CHK_CHECKED | |
15198 | (Check is on) or wx.CHK_UNDETERMINED (Check is mixed). Raises an | |
15199 | exception when the CheckBox is a 2-state checkbox and setting the state | |
15200 | to wx.CHK_UNDETERMINED.</docstring> | |
f32fc4bc RD |
15201 | <paramlist> |
15202 | <param name="state" type="wxCheckBoxState" default=""/> | |
15203 | </paramlist> | |
15204 | </method> | |
15205 | <method name="Is3State" type="bool" overloaded="no"> | |
15206 | <autodoc>Is3State() -> bool</autodoc> | |
c2dda882 | 15207 | <docstring>Returns whether or not the CheckBox is a 3-state CheckBox.</docstring> |
f32fc4bc RD |
15208 | </method> |
15209 | <method name="Is3rdStateAllowedForUser" type="bool" overloaded="no"> | |
15210 | <autodoc>Is3rdStateAllowedForUser() -> bool</autodoc> | |
c2dda882 | 15211 | <docstring>Returns whether or not the user can set the CheckBox to the third state.</docstring> |
f32fc4bc RD |
15212 | </method> |
15213 | </class> | |
15214 | <pythoncode> | |
856bf319 RD |
15215 | #--------------------------------------------------------------------------- |
15216 | </pythoncode> | |
f32fc4bc | 15217 | <class name="Choice" oldname="wxChoice" module="controls"> |
c2dda882 RD |
15218 | <docstring>A Choice control is used to select one of a list of strings. Unlike a ListBox, |
15219 | only the selection is visible until the user pulls down the menu of choices.</docstring> | |
15220 | <refdoc> | |
15221 | Events | |
15222 | EVT_CHOICE: Sent when an item in the list is selected. | |
15223 | </refdoc> | |
f32fc4bc RD |
15224 | <baseclass name="ControlWithItems"/> |
15225 | <constructor name="Choice" overloaded="no"> | |
c2dda882 RD |
15226 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, |
15227 | List choices=[], long style=0, Validator validator=DefaultValidator, | |
856bf319 | 15228 | String name=ChoiceNameStr) -> Choice</autodoc> |
c2dda882 RD |
15229 | <docstring>Create and show a Choice control</docstring> |
15230 | <refdoc> | |
15231 | Events | |
15232 | EVT_CHOICE: Sent when an item in the list is selected. | |
15233 | </refdoc> | |
f32fc4bc RD |
15234 | <paramlist> |
15235 | <param name="parent" type="Window" default=""/> | |
15236 | <param name="id" type="int" default=""/> | |
15237 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15238 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15239 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
15240 | <param name="style" type="long" default="0"/> | |
15241 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15242 | <param name="name" type="String" default="wxPyChoiceNameStr"/> | |
15243 | </paramlist> | |
15244 | </constructor> | |
15245 | <constructor name="PreChoice" overloaded="no"> | |
15246 | <autodoc>PreChoice() -> Choice</autodoc> | |
c2dda882 RD |
15247 | <docstring>Precreate a Choice control for 2-phase creation.</docstring> |
15248 | <refdoc> | |
15249 | Events | |
15250 | EVT_CHOICE: Sent when an item in the list is selected. | |
15251 | </refdoc> | |
f32fc4bc RD |
15252 | </constructor> |
15253 | <method name="Create" type="bool" overloaded="no"> | |
c2dda882 RD |
15254 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, |
15255 | List choices=[], long style=0, Validator validator=DefaultValidator, | |
856bf319 | 15256 | String name=ChoiceNameStr) -> bool</autodoc> |
c2dda882 | 15257 | <docstring>Actually create the GUI Choice control for 2-phase creation</docstring> |
f32fc4bc RD |
15258 | <paramlist> |
15259 | <param name="parent" type="Window" default=""/> | |
15260 | <param name="id" type="int" default=""/> | |
15261 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15262 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15263 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
15264 | <param name="style" type="long" default="0"/> | |
15265 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15266 | <param name="name" type="String" default="wxPyChoiceNameStr"/> | |
15267 | </paramlist> | |
15268 | </method> | |
f32fc4bc RD |
15269 | <method name="SetSelection" type="" overloaded="no"> |
15270 | <autodoc>SetSelection(int n)</autodoc> | |
c2dda882 | 15271 | <docstring>Select the n'th item (zero based) in the list.</docstring> |
f32fc4bc RD |
15272 | <paramlist> |
15273 | <param name="n" type="int" default=""/> | |
15274 | </paramlist> | |
15275 | </method> | |
15276 | <method name="SetStringSelection" type="" overloaded="no"> | |
15277 | <autodoc>SetStringSelection(String string)</autodoc> | |
c2dda882 | 15278 | <docstring>Select the item with the specifed string</docstring> |
f32fc4bc RD |
15279 | <paramlist> |
15280 | <param name="string" type="String" default=""/> | |
15281 | </paramlist> | |
15282 | </method> | |
15283 | <method name="SetString" type="" overloaded="no"> | |
c2dda882 RD |
15284 | <autodoc>SetString(int n, String string)</autodoc> |
15285 | <docstring>Set the label for the n'th item (zero based) in the list.</docstring> | |
f32fc4bc RD |
15286 | <paramlist> |
15287 | <param name="n" type="int" default=""/> | |
c2dda882 | 15288 | <param name="string" type="String" default=""/> |
f32fc4bc RD |
15289 | </paramlist> |
15290 | </method> | |
15291 | </class> | |
15292 | <pythoncode> | |
856bf319 RD |
15293 | #--------------------------------------------------------------------------- |
15294 | </pythoncode> | |
f32fc4bc | 15295 | <class name="ComboBox" oldname="wxComboBox" module="controls"> |
c2dda882 RD |
15296 | <docstring>A combobox is like a combination of an edit control and a listbox. It can be |
15297 | displayed as static list with editable or read-only text field; or a drop-down | |
15298 | list with text field.</docstring> | |
15299 | <refdoc> | |
15300 | Styles | |
15301 | wx.CB_SIMPLE: Creates a combobox with a permanently displayed list. | |
15302 | Windows only. | |
15303 | ||
15304 | wx.CB_DROPDOWN: Creates a combobox with a drop-down list. | |
15305 | ||
15306 | wx.CB_READONLY: Same as wxCB_DROPDOWN but only the strings specified as | |
15307 | the combobox choices can be selected, it is impossible | |
15308 | to select (even from a program) a string which is not in | |
15309 | the choices list. | |
15310 | ||
15311 | wx.CB_SORT: Sorts the entries in the list alphabetically. | |
15312 | ||
15313 | Events | |
15314 | ||
15315 | EVT_COMBOBOX: Sent when an item on the list is selected. | |
15316 | EVT_TEXT: Sent when the combobox text changes. | |
15317 | </refdoc> | |
f32fc4bc RD |
15318 | <baseclass name="Control"/> |
15319 | <baseclass name="ItemContainer"/> | |
15320 | <constructor name="ComboBox" overloaded="no"> | |
c2dda882 RD |
15321 | <autodoc>__init__(Window parent, int id, String value=EmptyString, |
15322 | Point pos=DefaultPosition, Size size=DefaultSize, | |
15323 | List choices=[], long style=0, Validator validator=DefaultValidator, | |
15324 | String name=ComboBoxNameStr) -> ComboBox</autodoc> | |
15325 | <docstring>Constructor, creates and shows a ComboBox control.</docstring> | |
15326 | <refdoc> | |
15327 | Styles | |
15328 | wx.CB_SIMPLE: Creates a combobox with a permanently displayed list. | |
15329 | Windows only. | |
15330 | ||
15331 | wx.CB_DROPDOWN: Creates a combobox with a drop-down list. | |
15332 | ||
15333 | wx.CB_READONLY: Same as wxCB_DROPDOWN but only the strings specified as | |
15334 | the combobox choices can be selected, it is impossible | |
15335 | to select (even from a program) a string which is not in | |
15336 | the choices list. | |
15337 | ||
15338 | wx.CB_SORT: Sorts the entries in the list alphabetically. | |
15339 | ||
15340 | Events | |
15341 | ||
15342 | EVT_COMBOBOX: Sent when an item on the list is selected. | |
15343 | EVT_TEXT: Sent when the combobox text changes. | |
15344 | </refdoc> | |
f32fc4bc RD |
15345 | <paramlist> |
15346 | <param name="parent" type="Window" default=""/> | |
15347 | <param name="id" type="int" default=""/> | |
15348 | <param name="value" type="String" default="wxPyEmptyString"/> | |
15349 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15350 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15351 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
15352 | <param name="style" type="long" default="0"/> | |
15353 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15354 | <param name="name" type="String" default="wxPyComboBoxNameStr"/> | |
15355 | </paramlist> | |
15356 | </constructor> | |
15357 | <constructor name="PreComboBox" overloaded="no"> | |
15358 | <autodoc>PreComboBox() -> ComboBox</autodoc> | |
c2dda882 RD |
15359 | <docstring>Precreate a ComboBox control for 2-phase creation.</docstring> |
15360 | <refdoc> | |
15361 | Styles | |
15362 | wx.CB_SIMPLE: Creates a combobox with a permanently displayed list. | |
15363 | Windows only. | |
15364 | ||
15365 | wx.CB_DROPDOWN: Creates a combobox with a drop-down list. | |
15366 | ||
15367 | wx.CB_READONLY: Same as wxCB_DROPDOWN but only the strings specified as | |
15368 | the combobox choices can be selected, it is impossible | |
15369 | to select (even from a program) a string which is not in | |
15370 | the choices list. | |
15371 | ||
15372 | wx.CB_SORT: Sorts the entries in the list alphabetically. | |
15373 | ||
15374 | Events | |
15375 | ||
15376 | EVT_COMBOBOX: Sent when an item on the list is selected. | |
15377 | EVT_TEXT: Sent when the combobox text changes. | |
15378 | </refdoc> | |
f32fc4bc RD |
15379 | </constructor> |
15380 | <method name="Create" type="bool" overloaded="no"> | |
c2dda882 RD |
15381 | <autodoc>Create(Window parent, int id, String value=EmptyString, |
15382 | Point pos=DefaultPosition, Size size=DefaultSize, | |
15383 | List choices=[], long style=0, Validator validator=DefaultValidator, | |
15384 | String name=ChoiceNameStr) -> bool</autodoc> | |
15385 | <docstring>Actually create the GUI wxComboBox control for 2-phase creation</docstring> | |
f32fc4bc RD |
15386 | <paramlist> |
15387 | <param name="parent" type="Window" default=""/> | |
15388 | <param name="id" type="int" default=""/> | |
15389 | <param name="value" type="String" default="wxPyEmptyString"/> | |
15390 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15391 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15392 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
15393 | <param name="style" type="long" default="0"/> | |
15394 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
c2dda882 | 15395 | <param name="name" type="String" default="wxPyChoiceNameStr"/> |
f32fc4bc RD |
15396 | </paramlist> |
15397 | </method> | |
15398 | <method name="GetValue" type="String" overloaded="no"> | |
15399 | <autodoc>GetValue() -> String</autodoc> | |
c2dda882 | 15400 | <docstring>Returns the current value in the combobox text field.</docstring> |
f32fc4bc RD |
15401 | </method> |
15402 | <method name="SetValue" type="" overloaded="no"> | |
15403 | <autodoc>SetValue(String value)</autodoc> | |
15404 | <paramlist> | |
15405 | <param name="value" type="String" default=""/> | |
15406 | </paramlist> | |
15407 | </method> | |
15408 | <method name="Copy" type="" overloaded="no"> | |
15409 | <autodoc>Copy()</autodoc> | |
c2dda882 | 15410 | <docstring>Copies the selected text to the clipboard.</docstring> |
f32fc4bc RD |
15411 | </method> |
15412 | <method name="Cut" type="" overloaded="no"> | |
15413 | <autodoc>Cut()</autodoc> | |
c2dda882 | 15414 | <docstring>Copies the selected text to the clipboard and removes the selection.</docstring> |
f32fc4bc RD |
15415 | </method> |
15416 | <method name="Paste" type="" overloaded="no"> | |
15417 | <autodoc>Paste()</autodoc> | |
c2dda882 | 15418 | <docstring>Pastes text from the clipboard to the text field.</docstring> |
f32fc4bc RD |
15419 | </method> |
15420 | <method name="SetInsertionPoint" type="" overloaded="no"> | |
15421 | <autodoc>SetInsertionPoint(long pos)</autodoc> | |
c2dda882 | 15422 | <docstring>Sets the insertion point in the combobox text field.</docstring> |
f32fc4bc RD |
15423 | <paramlist> |
15424 | <param name="pos" type="long" default=""/> | |
15425 | </paramlist> | |
15426 | </method> | |
15427 | <method name="GetInsertionPoint" type="long" overloaded="no"> | |
15428 | <autodoc>GetInsertionPoint() -> long</autodoc> | |
c2dda882 | 15429 | <docstring>Returns the insertion point for the combobox's text field.</docstring> |
f32fc4bc RD |
15430 | </method> |
15431 | <method name="GetLastPosition" type="long" overloaded="no"> | |
15432 | <autodoc>GetLastPosition() -> long</autodoc> | |
c2dda882 | 15433 | <docstring>Returns the last position in the combobox text field.</docstring> |
f32fc4bc RD |
15434 | </method> |
15435 | <method name="Replace" type="" overloaded="no"> | |
15436 | <autodoc>Replace(long from, long to, String value)</autodoc> | |
c2dda882 RD |
15437 | <docstring>Replaces the text between two positions with the given text, in the |
15438 | combobox text field.</docstring> | |
f32fc4bc RD |
15439 | <paramlist> |
15440 | <param name="from" type="long" default=""/> | |
15441 | <param name="to" type="long" default=""/> | |
15442 | <param name="value" type="String" default=""/> | |
15443 | </paramlist> | |
15444 | </method> | |
15445 | <method name="SetSelection" type="" overloaded="no"> | |
15446 | <autodoc>SetSelection(int n)</autodoc> | |
c2dda882 | 15447 | <docstring>Selects the text between the two positions, in the combobox text field.</docstring> |
f32fc4bc RD |
15448 | <paramlist> |
15449 | <param name="n" type="int" default=""/> | |
15450 | </paramlist> | |
15451 | </method> | |
15452 | <method name="SetMark" type="" overloaded="no"> | |
15453 | <autodoc>SetMark(long from, long to)</autodoc> | |
15454 | <paramlist> | |
15455 | <param name="from" type="long" default=""/> | |
15456 | <param name="to" type="long" default=""/> | |
15457 | </paramlist> | |
15458 | </method> | |
15459 | <method name="SetEditable" type="" overloaded="no"> | |
15460 | <autodoc>SetEditable(bool editable)</autodoc> | |
15461 | <paramlist> | |
15462 | <param name="editable" type="bool" default=""/> | |
15463 | </paramlist> | |
15464 | </method> | |
15465 | <method name="SetInsertionPointEnd" type="" overloaded="no"> | |
15466 | <autodoc>SetInsertionPointEnd()</autodoc> | |
c2dda882 | 15467 | <docstring>Sets the insertion point at the end of the combobox text field.</docstring> |
f32fc4bc RD |
15468 | </method> |
15469 | <method name="Remove" type="" overloaded="no"> | |
15470 | <autodoc>Remove(long from, long to)</autodoc> | |
c2dda882 | 15471 | <docstring>Removes the text between the two positions in the combobox text field.</docstring> |
f32fc4bc RD |
15472 | <paramlist> |
15473 | <param name="from" type="long" default=""/> | |
15474 | <param name="to" type="long" default=""/> | |
15475 | </paramlist> | |
15476 | </method> | |
15477 | </class> | |
15478 | <pythoncode> | |
856bf319 RD |
15479 | #--------------------------------------------------------------------------- |
15480 | </pythoncode> | |
f32fc4bc RD |
15481 | <class name="Gauge" oldname="wxGauge" module="controls"> |
15482 | <baseclass name="Control"/> | |
15483 | <constructor name="Gauge" overloaded="no"> | |
15484 | <autodoc>__init__(Window parent, int id, int range, Point pos=DefaultPosition, | |
856bf319 RD |
15485 | Size size=DefaultSize, long style=GA_HORIZONTAL, |
15486 | Validator validator=DefaultValidator, | |
15487 | String name=GaugeNameStr) -> Gauge</autodoc> | |
f32fc4bc RD |
15488 | <paramlist> |
15489 | <param name="parent" type="Window" default=""/> | |
15490 | <param name="id" type="int" default=""/> | |
15491 | <param name="range" type="int" default=""/> | |
15492 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15493 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15494 | <param name="style" type="long" default="wxGA_HORIZONTAL"/> | |
15495 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15496 | <param name="name" type="String" default="wxPyGaugeNameStr"/> | |
15497 | </paramlist> | |
15498 | </constructor> | |
15499 | <constructor name="PreGauge" overloaded="no"> | |
15500 | <autodoc>PreGauge() -> Gauge</autodoc> | |
15501 | </constructor> | |
15502 | <method name="Create" type="bool" overloaded="no"> | |
15503 | <autodoc>Create(Window parent, int id, int range, Point pos=DefaultPosition, | |
856bf319 RD |
15504 | Size size=DefaultSize, long style=GA_HORIZONTAL, |
15505 | Validator validator=DefaultValidator, | |
15506 | String name=GaugeNameStr) -> bool</autodoc> | |
f32fc4bc RD |
15507 | <paramlist> |
15508 | <param name="parent" type="Window" default=""/> | |
15509 | <param name="id" type="int" default=""/> | |
15510 | <param name="range" type="int" default=""/> | |
15511 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15512 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15513 | <param name="style" type="long" default="wxGA_HORIZONTAL"/> | |
15514 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15515 | <param name="name" type="String" default="wxPyGaugeNameStr"/> | |
15516 | </paramlist> | |
15517 | </method> | |
15518 | <method name="SetRange" type="" overloaded="no"> | |
15519 | <autodoc>SetRange(int range)</autodoc> | |
15520 | <paramlist> | |
15521 | <param name="range" type="int" default=""/> | |
15522 | </paramlist> | |
15523 | </method> | |
15524 | <method name="GetRange" type="int" overloaded="no"> | |
15525 | <autodoc>GetRange() -> int</autodoc> | |
15526 | </method> | |
15527 | <method name="SetValue" type="" overloaded="no"> | |
15528 | <autodoc>SetValue(int pos)</autodoc> | |
15529 | <paramlist> | |
15530 | <param name="pos" type="int" default=""/> | |
15531 | </paramlist> | |
15532 | </method> | |
15533 | <method name="GetValue" type="int" overloaded="no"> | |
15534 | <autodoc>GetValue() -> int</autodoc> | |
15535 | </method> | |
15536 | <method name="IsVertical" type="bool" overloaded="no"> | |
15537 | <autodoc>IsVertical() -> bool</autodoc> | |
15538 | </method> | |
15539 | <method name="SetShadowWidth" type="" overloaded="no"> | |
15540 | <autodoc>SetShadowWidth(int w)</autodoc> | |
15541 | <paramlist> | |
15542 | <param name="w" type="int" default=""/> | |
15543 | </paramlist> | |
15544 | </method> | |
15545 | <method name="GetShadowWidth" type="int" overloaded="no"> | |
15546 | <autodoc>GetShadowWidth() -> int</autodoc> | |
15547 | </method> | |
15548 | <method name="SetBezelFace" type="" overloaded="no"> | |
15549 | <autodoc>SetBezelFace(int w)</autodoc> | |
15550 | <paramlist> | |
15551 | <param name="w" type="int" default=""/> | |
15552 | </paramlist> | |
15553 | </method> | |
15554 | <method name="GetBezelFace" type="int" overloaded="no"> | |
15555 | <autodoc>GetBezelFace() -> int</autodoc> | |
15556 | </method> | |
15557 | </class> | |
15558 | <pythoncode> | |
856bf319 RD |
15559 | #--------------------------------------------------------------------------- |
15560 | </pythoncode> | |
f32fc4bc RD |
15561 | <class name="StaticBox" oldname="wxStaticBox" module="controls"> |
15562 | <baseclass name="Control"/> | |
15563 | <constructor name="StaticBox" overloaded="no"> | |
15564 | <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
15565 | Size size=DefaultSize, long style=0, |
15566 | String name=StaticBoxNameStr) -> StaticBox</autodoc> | |
f32fc4bc RD |
15567 | <paramlist> |
15568 | <param name="parent" type="Window" default=""/> | |
15569 | <param name="id" type="int" default=""/> | |
15570 | <param name="label" type="String" default=""/> | |
15571 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15572 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15573 | <param name="style" type="long" default="0"/> | |
15574 | <param name="name" type="String" default="wxPyStaticBoxNameStr"/> | |
15575 | </paramlist> | |
15576 | </constructor> | |
15577 | <constructor name="PreStaticBox" overloaded="no"> | |
15578 | <autodoc>PreStaticBox() -> StaticBox</autodoc> | |
15579 | </constructor> | |
15580 | <method name="Create" type="bool" overloaded="no"> | |
15581 | <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
15582 | Size size=DefaultSize, long style=0, |
15583 | String name=StaticBoxNameStr) -> bool</autodoc> | |
f32fc4bc RD |
15584 | <paramlist> |
15585 | <param name="parent" type="Window" default=""/> | |
15586 | <param name="id" type="int" default=""/> | |
15587 | <param name="label" type="String" default=""/> | |
15588 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15589 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15590 | <param name="style" type="long" default="0"/> | |
15591 | <param name="name" type="String" default="wxPyStaticBoxNameStr"/> | |
15592 | </paramlist> | |
15593 | </method> | |
15594 | </class> | |
15595 | <pythoncode> | |
856bf319 RD |
15596 | #--------------------------------------------------------------------------- |
15597 | </pythoncode> | |
f32fc4bc RD |
15598 | <class name="StaticLine" oldname="wxStaticLine" module="controls"> |
15599 | <baseclass name="Control"/> | |
15600 | <constructor name="StaticLine" overloaded="no"> | |
15601 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
15602 | long style=LI_HORIZONTAL, |
15603 | String name=StaticTextNameStr) -> StaticLine</autodoc> | |
f32fc4bc RD |
15604 | <paramlist> |
15605 | <param name="parent" type="Window" default=""/> | |
15606 | <param name="id" type="int" default=""/> | |
15607 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15608 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15609 | <param name="style" type="long" default="wxLI_HORIZONTAL"/> | |
15610 | <param name="name" type="String" default="wxPyStaticTextNameStr"/> | |
15611 | </paramlist> | |
15612 | </constructor> | |
15613 | <constructor name="PreStaticLine" overloaded="no"> | |
15614 | <autodoc>PreStaticLine() -> StaticLine</autodoc> | |
15615 | </constructor> | |
15616 | <method name="Create" type="bool" overloaded="no"> | |
15617 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
15618 | long style=LI_HORIZONTAL, |
15619 | String name=StaticTextNameStr) -> bool</autodoc> | |
f32fc4bc RD |
15620 | <paramlist> |
15621 | <param name="parent" type="Window" default=""/> | |
15622 | <param name="id" type="int" default=""/> | |
15623 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15624 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15625 | <param name="style" type="long" default="wxLI_HORIZONTAL"/> | |
15626 | <param name="name" type="String" default="wxPyStaticTextNameStr"/> | |
15627 | </paramlist> | |
15628 | </method> | |
15629 | <method name="IsVertical" type="bool" overloaded="no"> | |
15630 | <autodoc>IsVertical() -> bool</autodoc> | |
15631 | </method> | |
15632 | <staticmethod name="GetDefaultSize" type="int" overloaded="no"> | |
15633 | <autodoc>GetDefaultSize() -> int</autodoc> | |
15634 | </staticmethod> | |
15635 | </class> | |
15636 | <pythoncode> | |
856bf319 RD |
15637 | #--------------------------------------------------------------------------- |
15638 | </pythoncode> | |
f32fc4bc RD |
15639 | <class name="StaticText" oldname="wxStaticText" module="controls"> |
15640 | <baseclass name="Control"/> | |
15641 | <constructor name="StaticText" overloaded="no"> | |
15642 | <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
15643 | Size size=DefaultSize, long style=0, |
15644 | String name=StaticTextNameStr) -> StaticText</autodoc> | |
f32fc4bc RD |
15645 | <paramlist> |
15646 | <param name="parent" type="Window" default=""/> | |
15647 | <param name="id" type="int" default=""/> | |
15648 | <param name="label" type="String" default=""/> | |
15649 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15650 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15651 | <param name="style" type="long" default="0"/> | |
15652 | <param name="name" type="String" default="wxPyStaticTextNameStr"/> | |
15653 | </paramlist> | |
15654 | </constructor> | |
15655 | <constructor name="PreStaticText" overloaded="no"> | |
15656 | <autodoc>PreStaticText() -> StaticText</autodoc> | |
15657 | </constructor> | |
15658 | <method name="Create" type="bool" overloaded="no"> | |
15659 | <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
15660 | Size size=DefaultSize, long style=0, |
15661 | String name=StaticTextNameStr) -> bool</autodoc> | |
f32fc4bc RD |
15662 | <paramlist> |
15663 | <param name="parent" type="Window" default=""/> | |
15664 | <param name="id" type="int" default=""/> | |
15665 | <param name="label" type="String" default=""/> | |
15666 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15667 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15668 | <param name="style" type="long" default="0"/> | |
15669 | <param name="name" type="String" default="wxPyStaticTextNameStr"/> | |
15670 | </paramlist> | |
15671 | </method> | |
15672 | </class> | |
15673 | <pythoncode> | |
856bf319 RD |
15674 | #--------------------------------------------------------------------------- |
15675 | </pythoncode> | |
f32fc4bc RD |
15676 | <class name="StaticBitmap" oldname="wxStaticBitmap" module="controls"> |
15677 | <baseclass name="Control"/> | |
15678 | <constructor name="StaticBitmap" overloaded="no"> | |
15679 | <autodoc>__init__(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition, | |
856bf319 RD |
15680 | Size size=DefaultSize, long style=0, |
15681 | String name=StaticBitmapNameStr) -> StaticBitmap</autodoc> | |
f32fc4bc RD |
15682 | <paramlist> |
15683 | <param name="parent" type="Window" default=""/> | |
15684 | <param name="id" type="int" default=""/> | |
15685 | <param name="bitmap" type="Bitmap" default=""/> | |
15686 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15687 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15688 | <param name="style" type="long" default="0"/> | |
15689 | <param name="name" type="String" default="wxPyStaticBitmapNameStr"/> | |
15690 | </paramlist> | |
15691 | </constructor> | |
15692 | <constructor name="PreStaticBitmap" overloaded="no"> | |
15693 | <autodoc>PreStaticBitmap() -> StaticBitmap</autodoc> | |
15694 | </constructor> | |
15695 | <method name="Create" type="bool" overloaded="no"> | |
15696 | <autodoc>Create(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition, | |
856bf319 RD |
15697 | Size size=DefaultSize, long style=0, |
15698 | String name=StaticBitmapNameStr) -> bool</autodoc> | |
f32fc4bc RD |
15699 | <paramlist> |
15700 | <param name="parent" type="Window" default=""/> | |
15701 | <param name="id" type="int" default=""/> | |
15702 | <param name="bitmap" type="Bitmap" default=""/> | |
15703 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15704 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15705 | <param name="style" type="long" default="0"/> | |
15706 | <param name="name" type="String" default="wxPyStaticBitmapNameStr"/> | |
15707 | </paramlist> | |
15708 | </method> | |
15709 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
15710 | <autodoc>GetBitmap() -> Bitmap</autodoc> | |
15711 | </method> | |
15712 | <method name="SetBitmap" type="" overloaded="no"> | |
15713 | <autodoc>SetBitmap(Bitmap bitmap)</autodoc> | |
15714 | <paramlist> | |
15715 | <param name="bitmap" type="Bitmap" default=""/> | |
15716 | </paramlist> | |
15717 | </method> | |
15718 | <method name="SetIcon" type="" overloaded="no"> | |
15719 | <autodoc>SetIcon(Icon icon)</autodoc> | |
15720 | <paramlist> | |
15721 | <param name="icon" type="Icon" default=""/> | |
15722 | </paramlist> | |
15723 | </method> | |
15724 | </class> | |
15725 | <pythoncode> | |
856bf319 RD |
15726 | #--------------------------------------------------------------------------- |
15727 | </pythoncode> | |
f32fc4bc RD |
15728 | <class name="ListBox" oldname="wxListBox" module="controls"> |
15729 | <baseclass name="ControlWithItems"/> | |
15730 | <constructor name="ListBox" overloaded="no"> | |
15731 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
15732 | wxArrayString choices=wxPyEmptyStringArray, |
15733 | long style=0, Validator validator=DefaultValidator, | |
15734 | String name=ListBoxNameStr) -> ListBox</autodoc> | |
f32fc4bc RD |
15735 | <paramlist> |
15736 | <param name="parent" type="Window" default=""/> | |
15737 | <param name="id" type="int" default=""/> | |
15738 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15739 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15740 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
15741 | <param name="style" type="long" default="0"/> | |
15742 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15743 | <param name="name" type="String" default="wxPyListBoxNameStr"/> | |
15744 | </paramlist> | |
15745 | </constructor> | |
15746 | <constructor name="PreListBox" overloaded="no"> | |
15747 | <autodoc>PreListBox() -> ListBox</autodoc> | |
15748 | </constructor> | |
15749 | <method name="Create" type="bool" overloaded="no"> | |
15750 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
15751 | wxArrayString choices=wxPyEmptyStringArray, |
15752 | long style=0, Validator validator=DefaultValidator, | |
15753 | String name=ListBoxNameStr) -> bool</autodoc> | |
f32fc4bc RD |
15754 | <paramlist> |
15755 | <param name="parent" type="Window" default=""/> | |
15756 | <param name="id" type="int" default=""/> | |
15757 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15758 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15759 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
15760 | <param name="style" type="long" default="0"/> | |
15761 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15762 | <param name="name" type="String" default="wxPyListBoxNameStr"/> | |
15763 | </paramlist> | |
15764 | </method> | |
15765 | <method name="Insert" type="" overloaded="no"> | |
15766 | <autodoc>Insert(String item, int pos, PyObject clientData=None)</autodoc> | |
c2dda882 RD |
15767 | <docstring>Insert an item into the control before the item at the pos index, |
15768 | optionally associating some data object with the item.</docstring> | |
f32fc4bc RD |
15769 | <paramlist> |
15770 | <param name="item" type="String" default=""/> | |
15771 | <param name="pos" type="int" default=""/> | |
15772 | <param name="clientData" type="PyObject" default="NULL"/> | |
15773 | </paramlist> | |
15774 | </method> | |
15775 | <method name="InsertItems" type="" overloaded="no"> | |
15776 | <autodoc>InsertItems(wxArrayString items, int pos)</autodoc> | |
15777 | <paramlist> | |
15778 | <param name="items" type="wxArrayString" default=""/> | |
15779 | <param name="pos" type="int" default=""/> | |
15780 | </paramlist> | |
15781 | </method> | |
15782 | <method name="Set" type="" overloaded="no"> | |
15783 | <autodoc>Set(wxArrayString items)</autodoc> | |
15784 | <paramlist> | |
15785 | <param name="items" type="wxArrayString" default=""/> | |
15786 | </paramlist> | |
15787 | </method> | |
15788 | <method name="IsSelected" type="bool" overloaded="no"> | |
15789 | <autodoc>IsSelected(int n) -> bool</autodoc> | |
15790 | <paramlist> | |
15791 | <param name="n" type="int" default=""/> | |
15792 | </paramlist> | |
15793 | </method> | |
15794 | <method name="SetSelection" type="" overloaded="no"> | |
15795 | <autodoc>SetSelection(int n, bool select=True)</autodoc> | |
15796 | <paramlist> | |
15797 | <param name="n" type="int" default=""/> | |
15798 | <param name="select" type="bool" default="True"/> | |
15799 | </paramlist> | |
15800 | </method> | |
15801 | <method name="Select" type="" overloaded="no"> | |
15802 | <autodoc>Select(int n)</autodoc> | |
c2dda882 | 15803 | <docstring>Sets the item at index 'n' to be the selected item.</docstring> |
f32fc4bc RD |
15804 | <paramlist> |
15805 | <param name="n" type="int" default=""/> | |
15806 | </paramlist> | |
15807 | </method> | |
15808 | <method name="Deselect" type="" overloaded="no"> | |
15809 | <autodoc>Deselect(int n)</autodoc> | |
15810 | <paramlist> | |
15811 | <param name="n" type="int" default=""/> | |
15812 | </paramlist> | |
15813 | </method> | |
15814 | <method name="DeselectAll" type="" overloaded="no"> | |
15815 | <autodoc>DeselectAll(int itemToLeaveSelected=-1)</autodoc> | |
15816 | <paramlist> | |
15817 | <param name="itemToLeaveSelected" type="int" default="-1"/> | |
15818 | </paramlist> | |
15819 | </method> | |
15820 | <method name="SetStringSelection" type="bool" overloaded="no"> | |
15821 | <autodoc>SetStringSelection(String s, bool select=True) -> bool</autodoc> | |
15822 | <paramlist> | |
15823 | <param name="s" type="String" default=""/> | |
15824 | <param name="select" type="bool" default="True"/> | |
15825 | </paramlist> | |
15826 | </method> | |
15827 | <method name="GetSelections" type="PyObject" overloaded="no"> | |
15828 | <autodoc>GetSelections() -> PyObject</autodoc> | |
15829 | </method> | |
15830 | <method name="SetFirstItem" type="" overloaded="no"> | |
15831 | <autodoc>SetFirstItem(int n)</autodoc> | |
15832 | <paramlist> | |
15833 | <param name="n" type="int" default=""/> | |
15834 | </paramlist> | |
15835 | </method> | |
15836 | <method name="SetFirstItemStr" type="" overloaded="no"> | |
15837 | <autodoc>SetFirstItemStr(String s)</autodoc> | |
15838 | <paramlist> | |
15839 | <param name="s" type="String" default=""/> | |
15840 | </paramlist> | |
15841 | </method> | |
15842 | <method name="EnsureVisible" type="" overloaded="no"> | |
15843 | <autodoc>EnsureVisible(int n)</autodoc> | |
15844 | <paramlist> | |
15845 | <param name="n" type="int" default=""/> | |
15846 | </paramlist> | |
15847 | </method> | |
15848 | <method name="AppendAndEnsureVisible" type="" overloaded="no"> | |
15849 | <autodoc>AppendAndEnsureVisible(String s)</autodoc> | |
15850 | <paramlist> | |
15851 | <param name="s" type="String" default=""/> | |
15852 | </paramlist> | |
15853 | </method> | |
15854 | <method name="IsSorted" type="bool" overloaded="no"> | |
15855 | <autodoc>IsSorted() -> bool</autodoc> | |
15856 | </method> | |
15857 | <method name="SetItemForegroundColour" type="" overloaded="no"> | |
15858 | <autodoc>SetItemForegroundColour(int item, Colour c)</autodoc> | |
15859 | <paramlist> | |
15860 | <param name="item" type="int" default=""/> | |
15861 | <param name="c" type="Colour" default=""/> | |
15862 | </paramlist> | |
15863 | </method> | |
15864 | <method name="SetItemBackgroundColour" type="" overloaded="no"> | |
15865 | <autodoc>SetItemBackgroundColour(int item, Colour c)</autodoc> | |
15866 | <paramlist> | |
15867 | <param name="item" type="int" default=""/> | |
15868 | <param name="c" type="Colour" default=""/> | |
15869 | </paramlist> | |
15870 | </method> | |
15871 | <method name="SetItemFont" type="" overloaded="no"> | |
15872 | <autodoc>SetItemFont(int item, Font f)</autodoc> | |
15873 | <paramlist> | |
15874 | <param name="item" type="int" default=""/> | |
15875 | <param name="f" type="Font" default=""/> | |
15876 | </paramlist> | |
15877 | </method> | |
15878 | </class> | |
15879 | <pythoncode> | |
0f43fbdf RD |
15880 | #--------------------------------------------------------------------------- |
15881 | </pythoncode> | |
f32fc4bc RD |
15882 | <class name="CheckListBox" oldname="wxCheckListBox" module="controls"> |
15883 | <baseclass name="ListBox"/> | |
15884 | <constructor name="CheckListBox" overloaded="no"> | |
15885 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
15886 | wxArrayString choices=wxPyEmptyStringArray, |
15887 | long style=0, Validator validator=DefaultValidator, | |
15888 | String name=ListBoxNameStr) -> CheckListBox</autodoc> | |
f32fc4bc RD |
15889 | <paramlist> |
15890 | <param name="parent" type="Window" default=""/> | |
15891 | <param name="id" type="int" default=""/> | |
15892 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15893 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15894 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
15895 | <param name="style" type="long" default="0"/> | |
15896 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15897 | <param name="name" type="String" default="wxPyListBoxNameStr"/> | |
15898 | </paramlist> | |
15899 | </constructor> | |
15900 | <constructor name="PreCheckListBox" overloaded="no"> | |
15901 | <autodoc>PreCheckListBox() -> CheckListBox</autodoc> | |
15902 | </constructor> | |
15903 | <method name="Create" type="bool" overloaded="no"> | |
15904 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
15905 | wxArrayString choices=wxPyEmptyStringArray, |
15906 | long style=0, Validator validator=DefaultValidator, | |
15907 | String name=ListBoxNameStr) -> bool</autodoc> | |
f32fc4bc RD |
15908 | <paramlist> |
15909 | <param name="parent" type="Window" default=""/> | |
15910 | <param name="id" type="int" default=""/> | |
15911 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15912 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15913 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
15914 | <param name="style" type="long" default="0"/> | |
15915 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15916 | <param name="name" type="String" default="wxPyListBoxNameStr"/> | |
15917 | </paramlist> | |
15918 | </method> | |
15919 | <method name="IsChecked" type="bool" overloaded="no"> | |
15920 | <autodoc>IsChecked(int index) -> bool</autodoc> | |
15921 | <paramlist> | |
15922 | <param name="index" type="int" default=""/> | |
15923 | </paramlist> | |
15924 | </method> | |
15925 | <method name="Check" type="" overloaded="no"> | |
15926 | <autodoc>Check(int index, int check=True)</autodoc> | |
15927 | <paramlist> | |
15928 | <param name="index" type="int" default=""/> | |
15929 | <param name="check" type="int" default="True"/> | |
15930 | </paramlist> | |
15931 | </method> | |
15932 | <method name="GetItemHeight" type="int" overloaded="no"> | |
15933 | <autodoc>GetItemHeight() -> int</autodoc> | |
15934 | </method> | |
15935 | <method name="HitTest" type="int" overloaded="no"> | |
15936 | <autodoc>HitTest(Point pt) -> int</autodoc> | |
c2dda882 | 15937 | <docstring>Test where the given (in client coords) point lies</docstring> |
f32fc4bc RD |
15938 | <paramlist> |
15939 | <param name="pt" type="Point" default=""/> | |
15940 | </paramlist> | |
15941 | </method> | |
15942 | <method name="HitTestXY" type="int" overloaded="no"> | |
15943 | <autodoc>HitTestXY(int x, int y) -> int</autodoc> | |
c2dda882 | 15944 | <docstring>Test where the given (in client coords) point lies</docstring> |
f32fc4bc RD |
15945 | <paramlist> |
15946 | <param name="x" type="int" default=""/> | |
15947 | <param name="y" type="int" default=""/> | |
15948 | </paramlist> | |
15949 | </method> | |
15950 | </class> | |
15951 | <pythoncode> | |
0f43fbdf RD |
15952 | #--------------------------------------------------------------------------- |
15953 | </pythoncode> | |
f32fc4bc RD |
15954 | <class name="TextAttr" oldname="wxTextAttr" module="controls"> |
15955 | <constructor name="TextAttr" overloaded="yes"/> | |
15956 | <constructor name="TextAttr" overloaded="yes"> | |
15957 | <autodoc>__init__() -> TextAttr | |
856bf319 RD |
15958 | __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont, |
15959 | int alignment=TEXT_ALIGNMENT_DEFAULT) -> TextAttr</autodoc> | |
f32fc4bc RD |
15960 | <paramlist> |
15961 | <param name="colText" type="Colour" default=""/> | |
15962 | <param name="colBack" type="Colour" default="wxNullColour"/> | |
15963 | <param name="font" type="Font" default="wxNullFont"/> | |
15964 | <param name="alignment" type="wxTextAttrAlignment" default="wxTEXT_ALIGNMENT_DEFAULT"/> | |
15965 | </paramlist> | |
15966 | </constructor> | |
15967 | <destructor name="~wxTextAttr" overloaded="no"> | |
15968 | <autodoc>__del__()</autodoc> | |
15969 | </destructor> | |
15970 | <method name="Init" type="" overloaded="no"> | |
15971 | <autodoc>Init()</autodoc> | |
15972 | </method> | |
15973 | <method name="SetTextColour" type="" overloaded="no"> | |
15974 | <autodoc>SetTextColour(Colour colText)</autodoc> | |
15975 | <paramlist> | |
15976 | <param name="colText" type="Colour" default=""/> | |
15977 | </paramlist> | |
15978 | </method> | |
15979 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
15980 | <autodoc>SetBackgroundColour(Colour colBack)</autodoc> | |
15981 | <paramlist> | |
15982 | <param name="colBack" type="Colour" default=""/> | |
15983 | </paramlist> | |
15984 | </method> | |
15985 | <method name="SetFont" type="" overloaded="no"> | |
15986 | <autodoc>SetFont(Font font, long flags=TEXT_ATTR_FONT)</autodoc> | |
15987 | <paramlist> | |
15988 | <param name="font" type="Font" default=""/> | |
15989 | <param name="flags" type="long" default="wxTEXT_ATTR_FONT"/> | |
15990 | </paramlist> | |
15991 | </method> | |
15992 | <method name="SetAlignment" type="" overloaded="no"> | |
15993 | <autodoc>SetAlignment(int alignment)</autodoc> | |
15994 | <paramlist> | |
15995 | <param name="alignment" type="wxTextAttrAlignment" default=""/> | |
15996 | </paramlist> | |
15997 | </method> | |
15998 | <method name="SetTabs" type="" overloaded="no"> | |
15999 | <autodoc>SetTabs(wxArrayInt tabs)</autodoc> | |
16000 | <paramlist> | |
16001 | <param name="tabs" type="wxArrayInt" default=""/> | |
16002 | </paramlist> | |
16003 | </method> | |
16004 | <method name="SetLeftIndent" type="" overloaded="no"> | |
16005 | <autodoc>SetLeftIndent(int indent)</autodoc> | |
16006 | <paramlist> | |
16007 | <param name="indent" type="int" default=""/> | |
16008 | </paramlist> | |
16009 | </method> | |
16010 | <method name="SetRightIndent" type="" overloaded="no"> | |
16011 | <autodoc>SetRightIndent(int indent)</autodoc> | |
16012 | <paramlist> | |
16013 | <param name="indent" type="int" default=""/> | |
16014 | </paramlist> | |
16015 | </method> | |
16016 | <method name="SetFlags" type="" overloaded="no"> | |
16017 | <autodoc>SetFlags(long flags)</autodoc> | |
16018 | <paramlist> | |
16019 | <param name="flags" type="long" default=""/> | |
16020 | </paramlist> | |
16021 | </method> | |
16022 | <method name="HasTextColour" type="bool" overloaded="no"> | |
16023 | <autodoc>HasTextColour() -> bool</autodoc> | |
16024 | </method> | |
16025 | <method name="HasBackgroundColour" type="bool" overloaded="no"> | |
16026 | <autodoc>HasBackgroundColour() -> bool</autodoc> | |
16027 | </method> | |
16028 | <method name="HasFont" type="bool" overloaded="no"> | |
16029 | <autodoc>HasFont() -> bool</autodoc> | |
16030 | </method> | |
16031 | <method name="HasAlignment" type="bool" overloaded="no"> | |
16032 | <autodoc>HasAlignment() -> bool</autodoc> | |
16033 | </method> | |
16034 | <method name="HasTabs" type="bool" overloaded="no"> | |
16035 | <autodoc>HasTabs() -> bool</autodoc> | |
16036 | </method> | |
16037 | <method name="HasLeftIndent" type="bool" overloaded="no"> | |
16038 | <autodoc>HasLeftIndent() -> bool</autodoc> | |
16039 | </method> | |
16040 | <method name="HasRightIndent" type="bool" overloaded="no"> | |
16041 | <autodoc>HasRightIndent() -> bool</autodoc> | |
16042 | </method> | |
16043 | <method name="HasFlag" type="bool" overloaded="no"> | |
16044 | <autodoc>HasFlag(long flag) -> bool</autodoc> | |
16045 | <paramlist> | |
16046 | <param name="flag" type="long" default=""/> | |
16047 | </paramlist> | |
16048 | </method> | |
16049 | <method name="GetTextColour" type="Colour" overloaded="no"> | |
16050 | <autodoc>GetTextColour() -> Colour</autodoc> | |
16051 | </method> | |
16052 | <method name="GetBackgroundColour" type="Colour" overloaded="no"> | |
16053 | <autodoc>GetBackgroundColour() -> Colour</autodoc> | |
16054 | </method> | |
16055 | <method name="GetFont" type="Font" overloaded="no"> | |
16056 | <autodoc>GetFont() -> Font</autodoc> | |
16057 | </method> | |
16058 | <method name="GetAlignment" type="wxTextAttrAlignment" overloaded="no"> | |
16059 | <autodoc>GetAlignment() -> int</autodoc> | |
16060 | </method> | |
16061 | <method name="GetTabs" type="wxArrayInt" overloaded="no"> | |
16062 | <autodoc>GetTabs() -> wxArrayInt</autodoc> | |
16063 | </method> | |
16064 | <method name="GetLeftIndent" type="long" overloaded="no"> | |
16065 | <autodoc>GetLeftIndent() -> long</autodoc> | |
16066 | </method> | |
16067 | <method name="GetRightIndent" type="long" overloaded="no"> | |
16068 | <autodoc>GetRightIndent() -> long</autodoc> | |
16069 | </method> | |
16070 | <method name="GetFlags" type="long" overloaded="no"> | |
16071 | <autodoc>GetFlags() -> long</autodoc> | |
16072 | </method> | |
16073 | <method name="IsDefault" type="bool" overloaded="no"> | |
16074 | <autodoc>IsDefault() -> bool</autodoc> | |
16075 | </method> | |
16076 | <staticmethod name="Combine" type="TextAttr" overloaded="no"> | |
16077 | <autodoc>Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -> TextAttr</autodoc> | |
16078 | <paramlist> | |
16079 | <param name="attr" type="TextAttr" default=""/> | |
16080 | <param name="attrDef" type="TextAttr" default=""/> | |
16081 | <param name="text" type="wxTextCtrl" default=""/> | |
16082 | </paramlist> | |
16083 | </staticmethod> | |
16084 | </class> | |
16085 | <class name="TextCtrl" oldname="wxTextCtrl" module="controls"> | |
16086 | <baseclass name="Control"/> | |
16087 | <constructor name="TextCtrl" overloaded="no"> | |
16088 | <autodoc>__init__(Window parent, int id, String value=EmptyString, Point pos=DefaultPosition, | |
856bf319 RD |
16089 | Size size=DefaultSize, |
16090 | long style=0, Validator validator=DefaultValidator, | |
16091 | String name=TextCtrlNameStr) -> TextCtrl</autodoc> | |
f32fc4bc RD |
16092 | <paramlist> |
16093 | <param name="parent" type="Window" default=""/> | |
16094 | <param name="id" type="int" default=""/> | |
16095 | <param name="value" type="String" default="wxPyEmptyString"/> | |
16096 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16097 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16098 | <param name="style" type="long" default="0"/> | |
16099 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16100 | <param name="name" type="String" default="wxPyTextCtrlNameStr"/> | |
16101 | </paramlist> | |
16102 | </constructor> | |
16103 | <constructor name="PreTextCtrl" overloaded="no"> | |
16104 | <autodoc>PreTextCtrl() -> TextCtrl</autodoc> | |
16105 | </constructor> | |
16106 | <method name="Create" type="bool" overloaded="no"> | |
16107 | <autodoc>Create(Window parent, int id, String value=EmptyString, Point pos=DefaultPosition, | |
856bf319 RD |
16108 | Size size=DefaultSize, |
16109 | long style=0, Validator validator=DefaultValidator, | |
16110 | String name=TextCtrlNameStr) -> bool</autodoc> | |
f32fc4bc RD |
16111 | <paramlist> |
16112 | <param name="parent" type="Window" default=""/> | |
16113 | <param name="id" type="int" default=""/> | |
16114 | <param name="value" type="String" default="wxPyEmptyString"/> | |
16115 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16116 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16117 | <param name="style" type="long" default="0"/> | |
16118 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16119 | <param name="name" type="String" default="wxPyTextCtrlNameStr"/> | |
16120 | </paramlist> | |
16121 | </method> | |
16122 | <method name="GetValue" type="String" overloaded="no"> | |
16123 | <autodoc>GetValue() -> String</autodoc> | |
16124 | </method> | |
16125 | <method name="SetValue" type="" overloaded="no"> | |
16126 | <autodoc>SetValue(String value)</autodoc> | |
16127 | <paramlist> | |
16128 | <param name="value" type="String" default=""/> | |
16129 | </paramlist> | |
16130 | </method> | |
16131 | <method name="GetRange" type="String" overloaded="no"> | |
16132 | <autodoc>GetRange(long from, long to) -> String</autodoc> | |
16133 | <paramlist> | |
16134 | <param name="from" type="long" default=""/> | |
16135 | <param name="to" type="long" default=""/> | |
16136 | </paramlist> | |
16137 | </method> | |
16138 | <method name="GetLineLength" type="int" overloaded="no"> | |
16139 | <autodoc>GetLineLength(long lineNo) -> int</autodoc> | |
16140 | <paramlist> | |
16141 | <param name="lineNo" type="long" default=""/> | |
16142 | </paramlist> | |
16143 | </method> | |
16144 | <method name="GetLineText" type="String" overloaded="no"> | |
16145 | <autodoc>GetLineText(long lineNo) -> String</autodoc> | |
16146 | <paramlist> | |
16147 | <param name="lineNo" type="long" default=""/> | |
16148 | </paramlist> | |
16149 | </method> | |
16150 | <method name="GetNumberOfLines" type="int" overloaded="no"> | |
16151 | <autodoc>GetNumberOfLines() -> int</autodoc> | |
16152 | </method> | |
16153 | <method name="IsModified" type="bool" overloaded="no"> | |
16154 | <autodoc>IsModified() -> bool</autodoc> | |
16155 | </method> | |
16156 | <method name="IsEditable" type="bool" overloaded="no"> | |
16157 | <autodoc>IsEditable() -> bool</autodoc> | |
16158 | </method> | |
16159 | <method name="IsSingleLine" type="bool" overloaded="no"> | |
16160 | <autodoc>IsSingleLine() -> bool</autodoc> | |
16161 | </method> | |
16162 | <method name="IsMultiLine" type="bool" overloaded="no"> | |
16163 | <autodoc>IsMultiLine() -> bool</autodoc> | |
16164 | </method> | |
16165 | <method name="GetSelection" type="" overloaded="no"> | |
16166 | <autodoc>GetSelection() -> (from, to)</autodoc> | |
16167 | <docstring>If the return values from and to are the same, there is no selection.</docstring> | |
16168 | <paramlist> | |
16169 | <param name="OUTPUT" type="long" default=""/> | |
16170 | <param name="OUTPUT" type="long" default=""/> | |
16171 | </paramlist> | |
16172 | </method> | |
16173 | <method name="GetStringSelection" type="String" overloaded="no"> | |
16174 | <autodoc>GetStringSelection() -> String</autodoc> | |
16175 | </method> | |
16176 | <method name="Clear" type="" overloaded="no"> | |
16177 | <autodoc>Clear()</autodoc> | |
16178 | </method> | |
16179 | <method name="Replace" type="" overloaded="no"> | |
16180 | <autodoc>Replace(long from, long to, String value)</autodoc> | |
16181 | <paramlist> | |
16182 | <param name="from" type="long" default=""/> | |
16183 | <param name="to" type="long" default=""/> | |
16184 | <param name="value" type="String" default=""/> | |
16185 | </paramlist> | |
16186 | </method> | |
16187 | <method name="Remove" type="" overloaded="no"> | |
16188 | <autodoc>Remove(long from, long to)</autodoc> | |
16189 | <paramlist> | |
16190 | <param name="from" type="long" default=""/> | |
16191 | <param name="to" type="long" default=""/> | |
16192 | </paramlist> | |
16193 | </method> | |
16194 | <method name="LoadFile" type="bool" overloaded="no"> | |
16195 | <autodoc>LoadFile(String file) -> bool</autodoc> | |
16196 | <paramlist> | |
16197 | <param name="file" type="String" default=""/> | |
16198 | </paramlist> | |
16199 | </method> | |
16200 | <method name="SaveFile" type="bool" overloaded="no"> | |
16201 | <autodoc>SaveFile(String file=EmptyString) -> bool</autodoc> | |
16202 | <paramlist> | |
16203 | <param name="file" type="String" default="wxPyEmptyString"/> | |
16204 | </paramlist> | |
16205 | </method> | |
16206 | <method name="MarkDirty" type="" overloaded="no"> | |
16207 | <autodoc>MarkDirty()</autodoc> | |
16208 | </method> | |
16209 | <method name="DiscardEdits" type="" overloaded="no"> | |
16210 | <autodoc>DiscardEdits()</autodoc> | |
16211 | </method> | |
16212 | <method name="SetMaxLength" type="" overloaded="no"> | |
16213 | <autodoc>SetMaxLength(unsigned long len)</autodoc> | |
16214 | <paramlist> | |
16215 | <param name="len" type="unsigned long" default=""/> | |
16216 | </paramlist> | |
16217 | </method> | |
16218 | <method name="WriteText" type="" overloaded="no"> | |
16219 | <autodoc>WriteText(String text)</autodoc> | |
16220 | <paramlist> | |
16221 | <param name="text" type="String" default=""/> | |
16222 | </paramlist> | |
16223 | </method> | |
16224 | <method name="AppendText" type="" overloaded="no"> | |
16225 | <autodoc>AppendText(String text)</autodoc> | |
16226 | <paramlist> | |
16227 | <param name="text" type="String" default=""/> | |
16228 | </paramlist> | |
16229 | </method> | |
16230 | <method name="EmulateKeyPress" type="bool" overloaded="no"> | |
16231 | <autodoc>EmulateKeyPress(KeyEvent event) -> bool</autodoc> | |
16232 | <paramlist> | |
16233 | <param name="event" type="KeyEvent" default=""/> | |
16234 | </paramlist> | |
16235 | </method> | |
16236 | <method name="SetStyle" type="bool" overloaded="no"> | |
16237 | <autodoc>SetStyle(long start, long end, TextAttr style) -> bool</autodoc> | |
16238 | <paramlist> | |
16239 | <param name="start" type="long" default=""/> | |
16240 | <param name="end" type="long" default=""/> | |
16241 | <param name="style" type="TextAttr" default=""/> | |
16242 | </paramlist> | |
16243 | </method> | |
16244 | <method name="GetStyle" type="bool" overloaded="no"> | |
16245 | <autodoc>GetStyle(long position, TextAttr style) -> bool</autodoc> | |
16246 | <paramlist> | |
16247 | <param name="position" type="long" default=""/> | |
16248 | <param name="style" type="TextAttr" default=""/> | |
16249 | </paramlist> | |
16250 | </method> | |
16251 | <method name="SetDefaultStyle" type="bool" overloaded="no"> | |
16252 | <autodoc>SetDefaultStyle(TextAttr style) -> bool</autodoc> | |
16253 | <paramlist> | |
16254 | <param name="style" type="TextAttr" default=""/> | |
16255 | </paramlist> | |
16256 | </method> | |
16257 | <method name="GetDefaultStyle" type="TextAttr" overloaded="no"> | |
16258 | <autodoc>GetDefaultStyle() -> TextAttr</autodoc> | |
16259 | </method> | |
16260 | <method name="XYToPosition" type="long" overloaded="no"> | |
16261 | <autodoc>XYToPosition(long x, long y) -> long</autodoc> | |
16262 | <paramlist> | |
16263 | <param name="x" type="long" default=""/> | |
16264 | <param name="y" type="long" default=""/> | |
16265 | </paramlist> | |
16266 | </method> | |
16267 | <method name="PositionToXY" type="" overloaded="no"> | |
16268 | <autodoc>PositionToXY(long pos) -> (x, y)</autodoc> | |
16269 | <paramlist> | |
16270 | <param name="pos" type="long" default=""/> | |
16271 | <param name="OUTPUT" type="long" default=""/> | |
16272 | <param name="OUTPUT" type="long" default=""/> | |
16273 | </paramlist> | |
16274 | </method> | |
16275 | <method name="ShowPosition" type="" overloaded="no"> | |
16276 | <autodoc>ShowPosition(long pos)</autodoc> | |
16277 | <paramlist> | |
16278 | <param name="pos" type="long" default=""/> | |
16279 | </paramlist> | |
16280 | </method> | |
16281 | <method name="HitTest" type="wxTextCtrlHitTestResult" overloaded="no"> | |
16282 | <autodoc>HitTest(Point pt) -> (result, row, col)</autodoc> | |
16283 | <docstring>Find the character at position given in pixels. | |
856bf319 RD |
16284 | NB: pt is in device coords (not adjusted for the client area |
16285 | origin nor scrolling)</docstring> | |
f32fc4bc RD |
16286 | <paramlist> |
16287 | <param name="pt" type="Point" default=""/> | |
16288 | <param name="OUTPUT" type="long" default=""/> | |
16289 | <param name="OUTPUT" type="long" default=""/> | |
16290 | </paramlist> | |
16291 | </method> | |
16292 | <method name="Copy" type="" overloaded="no"> | |
16293 | <autodoc>Copy()</autodoc> | |
16294 | </method> | |
16295 | <method name="Cut" type="" overloaded="no"> | |
16296 | <autodoc>Cut()</autodoc> | |
16297 | </method> | |
16298 | <method name="Paste" type="" overloaded="no"> | |
16299 | <autodoc>Paste()</autodoc> | |
16300 | </method> | |
16301 | <method name="CanCopy" type="bool" overloaded="no"> | |
16302 | <autodoc>CanCopy() -> bool</autodoc> | |
16303 | </method> | |
16304 | <method name="CanCut" type="bool" overloaded="no"> | |
16305 | <autodoc>CanCut() -> bool</autodoc> | |
16306 | </method> | |
16307 | <method name="CanPaste" type="bool" overloaded="no"> | |
16308 | <autodoc>CanPaste() -> bool</autodoc> | |
16309 | </method> | |
16310 | <method name="Undo" type="" overloaded="no"> | |
16311 | <autodoc>Undo()</autodoc> | |
16312 | </method> | |
16313 | <method name="Redo" type="" overloaded="no"> | |
16314 | <autodoc>Redo()</autodoc> | |
16315 | </method> | |
16316 | <method name="CanUndo" type="bool" overloaded="no"> | |
16317 | <autodoc>CanUndo() -> bool</autodoc> | |
16318 | </method> | |
16319 | <method name="CanRedo" type="bool" overloaded="no"> | |
16320 | <autodoc>CanRedo() -> bool</autodoc> | |
16321 | </method> | |
16322 | <method name="SetInsertionPoint" type="" overloaded="no"> | |
16323 | <autodoc>SetInsertionPoint(long pos)</autodoc> | |
16324 | <paramlist> | |
16325 | <param name="pos" type="long" default=""/> | |
16326 | </paramlist> | |
16327 | </method> | |
16328 | <method name="SetInsertionPointEnd" type="" overloaded="no"> | |
16329 | <autodoc>SetInsertionPointEnd()</autodoc> | |
16330 | </method> | |
16331 | <method name="GetInsertionPoint" type="long" overloaded="no"> | |
16332 | <autodoc>GetInsertionPoint() -> long</autodoc> | |
16333 | </method> | |
16334 | <method name="GetLastPosition" type="long" overloaded="no"> | |
16335 | <autodoc>GetLastPosition() -> long</autodoc> | |
16336 | </method> | |
16337 | <method name="SetSelection" type="" overloaded="no"> | |
16338 | <autodoc>SetSelection(long from, long to)</autodoc> | |
16339 | <paramlist> | |
16340 | <param name="from" type="long" default=""/> | |
16341 | <param name="to" type="long" default=""/> | |
16342 | </paramlist> | |
16343 | </method> | |
16344 | <method name="SelectAll" type="" overloaded="no"> | |
16345 | <autodoc>SelectAll()</autodoc> | |
16346 | </method> | |
16347 | <method name="SetEditable" type="" overloaded="no"> | |
16348 | <autodoc>SetEditable(bool editable)</autodoc> | |
16349 | <paramlist> | |
16350 | <param name="editable" type="bool" default=""/> | |
16351 | </paramlist> | |
16352 | </method> | |
16353 | <method name="write" type="" overloaded="no"> | |
16354 | <autodoc>write(String text)</autodoc> | |
16355 | <paramlist> | |
16356 | <param name="text" type="String" default=""/> | |
16357 | </paramlist> | |
16358 | </method> | |
16359 | <method name="GetString" type="String" overloaded="no"> | |
16360 | <autodoc>GetString(long from, long to) -> String</autodoc> | |
16361 | <paramlist> | |
16362 | <param name="from" type="long" default=""/> | |
16363 | <param name="to" type="long" default=""/> | |
16364 | </paramlist> | |
16365 | </method> | |
16366 | </class> | |
16367 | <class name="TextUrlEvent" oldname="wxTextUrlEvent" module="controls"> | |
16368 | <baseclass name="CommandEvent"/> | |
16369 | <constructor name="TextUrlEvent" overloaded="no"> | |
16370 | <autodoc>__init__(int winid, MouseEvent evtMouse, long start, long end) -> TextUrlEvent</autodoc> | |
16371 | <paramlist> | |
16372 | <param name="winid" type="int" default=""/> | |
16373 | <param name="evtMouse" type="MouseEvent" default=""/> | |
16374 | <param name="start" type="long" default=""/> | |
16375 | <param name="end" type="long" default=""/> | |
16376 | </paramlist> | |
16377 | </constructor> | |
16378 | <method name="GetMouseEvent" type="MouseEvent" overloaded="no"> | |
16379 | <autodoc>GetMouseEvent() -> MouseEvent</autodoc> | |
16380 | </method> | |
16381 | <method name="GetURLStart" type="long" overloaded="no"> | |
16382 | <autodoc>GetURLStart() -> long</autodoc> | |
16383 | </method> | |
16384 | <method name="GetURLEnd" type="long" overloaded="no"> | |
16385 | <autodoc>GetURLEnd() -> long</autodoc> | |
16386 | </method> | |
16387 | </class> | |
16388 | <pythoncode> | |
856bf319 RD |
16389 | EVT_TEXT = wx.PyEventBinder( wxEVT_COMMAND_TEXT_UPDATED, 1) |
16390 | EVT_TEXT_ENTER = wx.PyEventBinder( wxEVT_COMMAND_TEXT_ENTER, 1) | |
16391 | EVT_TEXT_URL = wx.PyEventBinder( wxEVT_COMMAND_TEXT_URL, 1) | |
16392 | EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1) | |
16393 | </pythoncode> | |
f32fc4bc | 16394 | <pythoncode> |
856bf319 RD |
16395 | #--------------------------------------------------------------------------- |
16396 | </pythoncode> | |
f32fc4bc RD |
16397 | <class name="ScrollBar" oldname="wxScrollBar" module="controls"> |
16398 | <baseclass name="Control"/> | |
16399 | <constructor name="ScrollBar" overloaded="no"> | |
16400 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
856bf319 RD |
16401 | Size size=DefaultSize, long style=SB_HORIZONTAL, |
16402 | Validator validator=DefaultValidator, String name=ScrollBarNameStr) -> ScrollBar</autodoc> | |
f32fc4bc RD |
16403 | <paramlist> |
16404 | <param name="parent" type="Window" default=""/> | |
16405 | <param name="id" type="int" default="-1"/> | |
16406 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16407 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16408 | <param name="style" type="long" default="wxSB_HORIZONTAL"/> | |
16409 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16410 | <param name="name" type="String" default="wxPyScrollBarNameStr"/> | |
16411 | </paramlist> | |
16412 | </constructor> | |
16413 | <constructor name="PreScrollBar" overloaded="no"> | |
16414 | <autodoc>PreScrollBar() -> ScrollBar</autodoc> | |
16415 | </constructor> | |
16416 | <method name="Create" type="bool" overloaded="no"> | |
16417 | <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, | |
856bf319 RD |
16418 | Size size=DefaultSize, long style=SB_HORIZONTAL, |
16419 | Validator validator=DefaultValidator, String name=ScrollBarNameStr) -> bool</autodoc> | |
c2dda882 | 16420 | <docstring>Do the 2nd phase and create the GUI control.</docstring> |
f32fc4bc RD |
16421 | <paramlist> |
16422 | <param name="parent" type="Window" default=""/> | |
16423 | <param name="id" type="int" default="-1"/> | |
16424 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16425 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16426 | <param name="style" type="long" default="wxSB_HORIZONTAL"/> | |
16427 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16428 | <param name="name" type="String" default="wxPyScrollBarNameStr"/> | |
16429 | </paramlist> | |
16430 | </method> | |
16431 | <method name="GetThumbPosition" type="int" overloaded="no"> | |
16432 | <autodoc>GetThumbPosition() -> int</autodoc> | |
16433 | </method> | |
16434 | <method name="GetThumbSize" type="int" overloaded="no"> | |
16435 | <autodoc>GetThumbSize() -> int</autodoc> | |
16436 | </method> | |
16437 | <method name="GetPageSize" type="int" overloaded="no"> | |
16438 | <autodoc>GetPageSize() -> int</autodoc> | |
16439 | </method> | |
16440 | <method name="GetRange" type="int" overloaded="no"> | |
16441 | <autodoc>GetRange() -> int</autodoc> | |
16442 | </method> | |
16443 | <method name="IsVertical" type="bool" overloaded="no"> | |
16444 | <autodoc>IsVertical() -> bool</autodoc> | |
16445 | </method> | |
16446 | <method name="SetThumbPosition" type="" overloaded="no"> | |
16447 | <autodoc>SetThumbPosition(int viewStart)</autodoc> | |
16448 | <paramlist> | |
16449 | <param name="viewStart" type="int" default=""/> | |
16450 | </paramlist> | |
16451 | </method> | |
16452 | <method name="SetScrollbar" type="" overloaded="no"> | |
16453 | <autodoc>SetScrollbar(int position, int thumbSize, int range, int pageSize, | |
856bf319 | 16454 | bool refresh=True)</autodoc> |
c2dda882 RD |
16455 | <docstring>Sets the scrollbar properties of a built-in scrollbar. |
16456 | ||
16457 | orientation: Determines the scrollbar whose page size is to be | |
16458 | set. May be wx.HORIZONTAL or wx.VERTICAL. | |
16459 | ||
16460 | position: The position of the scrollbar in scroll units. | |
16461 | ||
16462 | thumbSize: The size of the thumb, or visible portion of the | |
16463 | scrollbar, in scroll units. | |
16464 | ||
16465 | range: The maximum position of the scrollbar. | |
16466 | ||
16467 | refresh: True to redraw the scrollbar, false otherwise.</docstring> | |
f32fc4bc RD |
16468 | <paramlist> |
16469 | <param name="position" type="int" default=""/> | |
16470 | <param name="thumbSize" type="int" default=""/> | |
16471 | <param name="range" type="int" default=""/> | |
16472 | <param name="pageSize" type="int" default=""/> | |
16473 | <param name="refresh" type="bool" default="True"/> | |
16474 | </paramlist> | |
16475 | </method> | |
16476 | </class> | |
16477 | <pythoncode> | |
0f43fbdf RD |
16478 | #--------------------------------------------------------------------------- |
16479 | </pythoncode> | |
f32fc4bc RD |
16480 | <class name="SpinButton" oldname="wxSpinButton" module="controls"> |
16481 | <baseclass name="Control"/> | |
16482 | <constructor name="SpinButton" overloaded="no"> | |
16483 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
856bf319 RD |
16484 | Size size=DefaultSize, long style=SP_HORIZONTAL, |
16485 | String name=SPIN_BUTTON_NAME) -> SpinButton</autodoc> | |
f32fc4bc RD |
16486 | <paramlist> |
16487 | <param name="parent" type="Window" default=""/> | |
16488 | <param name="id" type="int" default="-1"/> | |
16489 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16490 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16491 | <param name="style" type="long" default="wxSP_HORIZONTAL"/> | |
16492 | <param name="name" type="String" default="wxPySPIN_BUTTON_NAME"/> | |
16493 | </paramlist> | |
16494 | </constructor> | |
16495 | <constructor name="PreSpinButton" overloaded="no"> | |
16496 | <autodoc>PreSpinButton() -> SpinButton</autodoc> | |
16497 | </constructor> | |
16498 | <method name="Create" type="bool" overloaded="no"> | |
16499 | <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, | |
856bf319 RD |
16500 | Size size=DefaultSize, long style=SP_HORIZONTAL, |
16501 | String name=SPIN_BUTTON_NAME) -> bool</autodoc> | |
f32fc4bc RD |
16502 | <paramlist> |
16503 | <param name="parent" type="Window" default=""/> | |
16504 | <param name="id" type="int" default="-1"/> | |
16505 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16506 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16507 | <param name="style" type="long" default="wxSP_HORIZONTAL"/> | |
16508 | <param name="name" type="String" default="wxPySPIN_BUTTON_NAME"/> | |
16509 | </paramlist> | |
16510 | </method> | |
16511 | <method name="GetValue" type="int" overloaded="no"> | |
16512 | <autodoc>GetValue() -> int</autodoc> | |
16513 | </method> | |
16514 | <method name="GetMin" type="int" overloaded="no"> | |
16515 | <autodoc>GetMin() -> int</autodoc> | |
16516 | </method> | |
16517 | <method name="GetMax" type="int" overloaded="no"> | |
16518 | <autodoc>GetMax() -> int</autodoc> | |
16519 | </method> | |
16520 | <method name="SetValue" type="" overloaded="no"> | |
16521 | <autodoc>SetValue(int val)</autodoc> | |
16522 | <paramlist> | |
16523 | <param name="val" type="int" default=""/> | |
16524 | </paramlist> | |
16525 | </method> | |
16526 | <method name="SetMin" type="" overloaded="no"> | |
16527 | <autodoc>SetMin(int minVal)</autodoc> | |
16528 | <paramlist> | |
16529 | <param name="minVal" type="int" default=""/> | |
16530 | </paramlist> | |
16531 | </method> | |
16532 | <method name="SetMax" type="" overloaded="no"> | |
16533 | <autodoc>SetMax(int maxVal)</autodoc> | |
16534 | <paramlist> | |
16535 | <param name="maxVal" type="int" default=""/> | |
16536 | </paramlist> | |
16537 | </method> | |
16538 | <method name="SetRange" type="" overloaded="no"> | |
16539 | <autodoc>SetRange(int minVal, int maxVal)</autodoc> | |
16540 | <paramlist> | |
16541 | <param name="minVal" type="int" default=""/> | |
16542 | <param name="maxVal" type="int" default=""/> | |
16543 | </paramlist> | |
16544 | </method> | |
16545 | <method name="IsVertical" type="bool" overloaded="no"> | |
16546 | <autodoc>IsVertical() -> bool</autodoc> | |
16547 | </method> | |
16548 | </class> | |
16549 | <class name="SpinCtrl" oldname="wxSpinCtrl" module="controls"> | |
16550 | <baseclass name="Control"/> | |
16551 | <constructor name="SpinCtrl" overloaded="no"> | |
16552 | <autodoc>__init__(Window parent, int id=-1, String value=EmptyString, | |
856bf319 RD |
16553 | Point pos=DefaultPosition, Size size=DefaultSize, |
16554 | long style=SP_ARROW_KEYS, int min=0, int max=100, | |
16555 | int initial=0, String name=SpinCtrlNameStr) -> SpinCtrl</autodoc> | |
f32fc4bc RD |
16556 | <paramlist> |
16557 | <param name="parent" type="Window" default=""/> | |
16558 | <param name="id" type="int" default="-1"/> | |
16559 | <param name="value" type="String" default="wxPyEmptyString"/> | |
16560 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16561 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16562 | <param name="style" type="long" default="wxSP_ARROW_KEYS"/> | |
16563 | <param name="min" type="int" default="0"/> | |
16564 | <param name="max" type="int" default="100"/> | |
16565 | <param name="initial" type="int" default="0"/> | |
16566 | <param name="name" type="String" default="wxPySpinCtrlNameStr"/> | |
16567 | </paramlist> | |
16568 | </constructor> | |
16569 | <constructor name="PreSpinCtrl" overloaded="no"> | |
16570 | <autodoc>PreSpinCtrl() -> SpinCtrl</autodoc> | |
16571 | </constructor> | |
16572 | <method name="Create" type="bool" overloaded="no"> | |
16573 | <autodoc>Create(Window parent, int id=-1, String value=EmptyString, | |
856bf319 RD |
16574 | Point pos=DefaultPosition, Size size=DefaultSize, |
16575 | long style=SP_ARROW_KEYS, int min=0, int max=100, | |
16576 | int initial=0, String name=SpinCtrlNameStr) -> bool</autodoc> | |
f32fc4bc RD |
16577 | <paramlist> |
16578 | <param name="parent" type="Window" default=""/> | |
16579 | <param name="id" type="int" default="-1"/> | |
16580 | <param name="value" type="String" default="wxPyEmptyString"/> | |
16581 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16582 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16583 | <param name="style" type="long" default="wxSP_ARROW_KEYS"/> | |
16584 | <param name="min" type="int" default="0"/> | |
16585 | <param name="max" type="int" default="100"/> | |
16586 | <param name="initial" type="int" default="0"/> | |
16587 | <param name="name" type="String" default="wxPySpinCtrlNameStr"/> | |
16588 | </paramlist> | |
16589 | </method> | |
16590 | <method name="GetValue" type="int" overloaded="no"> | |
16591 | <autodoc>GetValue() -> int</autodoc> | |
16592 | </method> | |
16593 | <method name="SetValue" type="" overloaded="no"> | |
16594 | <autodoc>SetValue(int value)</autodoc> | |
16595 | <paramlist> | |
16596 | <param name="value" type="int" default=""/> | |
16597 | </paramlist> | |
16598 | </method> | |
16599 | <method name="SetValueString" type="" overloaded="no"> | |
16600 | <autodoc>SetValueString(String text)</autodoc> | |
16601 | <paramlist> | |
16602 | <param name="text" type="String" default=""/> | |
16603 | </paramlist> | |
16604 | </method> | |
16605 | <method name="SetRange" type="" overloaded="no"> | |
16606 | <autodoc>SetRange(int minVal, int maxVal)</autodoc> | |
16607 | <paramlist> | |
16608 | <param name="minVal" type="int" default=""/> | |
16609 | <param name="maxVal" type="int" default=""/> | |
16610 | </paramlist> | |
16611 | </method> | |
16612 | <method name="GetMin" type="int" overloaded="no"> | |
16613 | <autodoc>GetMin() -> int</autodoc> | |
16614 | </method> | |
16615 | <method name="GetMax" type="int" overloaded="no"> | |
16616 | <autodoc>GetMax() -> int</autodoc> | |
16617 | </method> | |
16618 | <method name="SetSelection" type="" overloaded="no"> | |
16619 | <autodoc>SetSelection(long from, long to)</autodoc> | |
16620 | <paramlist> | |
16621 | <param name="from" type="long" default=""/> | |
16622 | <param name="to" type="long" default=""/> | |
16623 | </paramlist> | |
16624 | </method> | |
16625 | </class> | |
16626 | <class name="SpinEvent" oldname="wxSpinEvent" module="controls"> | |
16627 | <baseclass name="NotifyEvent"/> | |
16628 | <constructor name="SpinEvent" overloaded="no"> | |
16629 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int winid=0) -> SpinEvent</autodoc> | |
16630 | <paramlist> | |
16631 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
16632 | <param name="winid" type="int" default="0"/> | |
16633 | </paramlist> | |
16634 | </constructor> | |
16635 | <method name="GetPosition" type="int" overloaded="no"> | |
16636 | <autodoc>GetPosition() -> int</autodoc> | |
16637 | </method> | |
16638 | <method name="SetPosition" type="" overloaded="no"> | |
16639 | <autodoc>SetPosition(int pos)</autodoc> | |
16640 | <paramlist> | |
16641 | <param name="pos" type="int" default=""/> | |
16642 | </paramlist> | |
16643 | </method> | |
16644 | </class> | |
16645 | <pythoncode> | |
856bf319 RD |
16646 | EVT_SPIN_UP = wx.PyEventBinder( wx.wxEVT_SCROLL_LINEUP, 1) |
16647 | EVT_SPIN_DOWN = wx.PyEventBinder( wx.wxEVT_SCROLL_LINEDOWN, 1) | |
16648 | EVT_SPIN = wx.PyEventBinder( wx.wxEVT_SCROLL_THUMBTRACK, 1) | |
16649 | EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) | |
16650 | </pythoncode> | |
f32fc4bc | 16651 | <pythoncode> |
0f43fbdf RD |
16652 | #--------------------------------------------------------------------------- |
16653 | </pythoncode> | |
f32fc4bc RD |
16654 | <class name="RadioBox" oldname="wxRadioBox" module="controls"> |
16655 | <baseclass name="Control"/> | |
16656 | <constructor name="RadioBox" overloaded="no"> | |
16657 | <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
16658 | Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray, |
16659 | int majorDimension=0, | |
16660 | long style=RA_HORIZONTAL, Validator validator=DefaultValidator, | |
16661 | String name=RadioBoxNameStr) -> RadioBox</autodoc> | |
f32fc4bc RD |
16662 | <paramlist> |
16663 | <param name="parent" type="Window" default=""/> | |
16664 | <param name="id" type="int" default=""/> | |
16665 | <param name="label" type="String" default=""/> | |
16666 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16667 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16668 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
16669 | <param name="majorDimension" type="int" default="0"/> | |
16670 | <param name="style" type="long" default="wxRA_HORIZONTAL"/> | |
16671 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16672 | <param name="name" type="String" default="wxPyRadioBoxNameStr"/> | |
16673 | </paramlist> | |
16674 | </constructor> | |
16675 | <constructor name="PreRadioBox" overloaded="no"> | |
16676 | <autodoc>PreRadioBox() -> RadioBox</autodoc> | |
16677 | </constructor> | |
16678 | <method name="Create" type="bool" overloaded="no"> | |
16679 | <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
16680 | Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray, |
16681 | int majorDimension=0, | |
16682 | long style=RA_HORIZONTAL, Validator validator=DefaultValidator, | |
16683 | String name=RadioBoxNameStr) -> bool</autodoc> | |
f32fc4bc RD |
16684 | <paramlist> |
16685 | <param name="parent" type="Window" default=""/> | |
16686 | <param name="id" type="int" default=""/> | |
16687 | <param name="label" type="String" default=""/> | |
16688 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16689 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16690 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
16691 | <param name="majorDimension" type="int" default="0"/> | |
16692 | <param name="style" type="long" default="wxRA_HORIZONTAL"/> | |
16693 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16694 | <param name="name" type="String" default="wxPyRadioBoxNameStr"/> | |
16695 | </paramlist> | |
16696 | </method> | |
16697 | <method name="SetSelection" type="" overloaded="no"> | |
16698 | <autodoc>SetSelection(int n)</autodoc> | |
16699 | <paramlist> | |
16700 | <param name="n" type="int" default=""/> | |
16701 | </paramlist> | |
16702 | </method> | |
16703 | <method name="GetSelection" type="int" overloaded="no"> | |
16704 | <autodoc>GetSelection() -> int</autodoc> | |
16705 | </method> | |
16706 | <method name="GetStringSelection" type="String" overloaded="no"> | |
16707 | <autodoc>GetStringSelection() -> String</autodoc> | |
16708 | </method> | |
16709 | <method name="SetStringSelection" type="bool" overloaded="no"> | |
16710 | <autodoc>SetStringSelection(String s) -> bool</autodoc> | |
16711 | <paramlist> | |
16712 | <param name="s" type="String" default=""/> | |
16713 | </paramlist> | |
16714 | </method> | |
16715 | <method name="GetCount" type="int" overloaded="no"> | |
16716 | <autodoc>GetCount() -> int</autodoc> | |
16717 | </method> | |
16718 | <method name="FindString" type="int" overloaded="no"> | |
16719 | <autodoc>FindString(String s) -> int</autodoc> | |
16720 | <paramlist> | |
16721 | <param name="s" type="String" default=""/> | |
16722 | </paramlist> | |
16723 | </method> | |
16724 | <method name="GetString" type="String" overloaded="no"> | |
16725 | <autodoc>GetString(int n) -> String</autodoc> | |
16726 | <paramlist> | |
16727 | <param name="n" type="int" default=""/> | |
16728 | </paramlist> | |
16729 | </method> | |
16730 | <method name="SetString" type="" overloaded="no"> | |
16731 | <autodoc>SetString(int n, String label)</autodoc> | |
16732 | <paramlist> | |
16733 | <param name="n" type="int" default=""/> | |
16734 | <param name="label" type="String" default=""/> | |
16735 | </paramlist> | |
16736 | </method> | |
16737 | <method name="EnableItem" type="" overloaded="no"> | |
16738 | <autodoc>EnableItem(int n, bool enable=True)</autodoc> | |
16739 | <paramlist> | |
16740 | <param name="n" type="int" default=""/> | |
16741 | <param name="enable" type="bool" default="True"/> | |
16742 | </paramlist> | |
16743 | </method> | |
16744 | <method name="ShowItem" type="" overloaded="no"> | |
16745 | <autodoc>ShowItem(int n, bool show=True)</autodoc> | |
16746 | <paramlist> | |
16747 | <param name="n" type="int" default=""/> | |
16748 | <param name="show" type="bool" default="True"/> | |
16749 | </paramlist> | |
16750 | </method> | |
16751 | <method name="GetColumnCount" type="int" overloaded="no"> | |
16752 | <autodoc>GetColumnCount() -> int</autodoc> | |
16753 | </method> | |
16754 | <method name="GetRowCount" type="int" overloaded="no"> | |
16755 | <autodoc>GetRowCount() -> int</autodoc> | |
16756 | </method> | |
16757 | <method name="GetNextItem" type="int" overloaded="no"> | |
16758 | <autodoc>GetNextItem(int item, int dir, long style) -> int</autodoc> | |
16759 | <paramlist> | |
16760 | <param name="item" type="int" default=""/> | |
16761 | <param name="dir" type="wxDirection" default=""/> | |
16762 | <param name="style" type="long" default=""/> | |
16763 | </paramlist> | |
16764 | </method> | |
16765 | </class> | |
16766 | <pythoncode> | |
0f43fbdf RD |
16767 | #--------------------------------------------------------------------------- |
16768 | </pythoncode> | |
f32fc4bc RD |
16769 | <class name="RadioButton" oldname="wxRadioButton" module="controls"> |
16770 | <baseclass name="Control"/> | |
16771 | <constructor name="RadioButton" overloaded="no"> | |
16772 | <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
16773 | Size size=DefaultSize, long style=0, |
16774 | Validator validator=DefaultValidator, String name=RadioButtonNameStr) -> RadioButton</autodoc> | |
f32fc4bc RD |
16775 | <paramlist> |
16776 | <param name="parent" type="Window" default=""/> | |
16777 | <param name="id" type="int" default=""/> | |
16778 | <param name="label" type="String" default=""/> | |
16779 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16780 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16781 | <param name="style" type="long" default="0"/> | |
16782 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16783 | <param name="name" type="String" default="wxPyRadioButtonNameStr"/> | |
16784 | </paramlist> | |
16785 | </constructor> | |
16786 | <constructor name="PreRadioButton" overloaded="no"> | |
16787 | <autodoc>PreRadioButton() -> RadioButton</autodoc> | |
16788 | </constructor> | |
16789 | <method name="Create" type="bool" overloaded="no"> | |
16790 | <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
16791 | Size size=DefaultSize, long style=0, |
16792 | Validator validator=DefaultValidator, String name=RadioButtonNameStr) -> bool</autodoc> | |
f32fc4bc RD |
16793 | <paramlist> |
16794 | <param name="parent" type="Window" default=""/> | |
16795 | <param name="id" type="int" default=""/> | |
16796 | <param name="label" type="String" default=""/> | |
16797 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16798 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16799 | <param name="style" type="long" default="0"/> | |
16800 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16801 | <param name="name" type="String" default="wxPyRadioButtonNameStr"/> | |
16802 | </paramlist> | |
16803 | </method> | |
16804 | <method name="GetValue" type="bool" overloaded="no"> | |
16805 | <autodoc>GetValue() -> bool</autodoc> | |
16806 | </method> | |
16807 | <method name="SetValue" type="" overloaded="no"> | |
16808 | <autodoc>SetValue(bool value)</autodoc> | |
16809 | <paramlist> | |
16810 | <param name="value" type="bool" default=""/> | |
16811 | </paramlist> | |
16812 | </method> | |
16813 | </class> | |
16814 | <pythoncode> | |
0f43fbdf RD |
16815 | #--------------------------------------------------------------------------- |
16816 | </pythoncode> | |
f32fc4bc RD |
16817 | <class name="Slider" oldname="wxSlider" module="controls"> |
16818 | <baseclass name="Control"/> | |
16819 | <constructor name="Slider" overloaded="no"> | |
16820 | <autodoc>__init__(Window parent, int id, int value, int minValue, int maxValue, | |
856bf319 RD |
16821 | Point pos=DefaultPosition, Size size=DefaultSize, |
16822 | long style=SL_HORIZONTAL, Validator validator=DefaultValidator, | |
16823 | String name=SliderNameStr) -> Slider</autodoc> | |
f32fc4bc RD |
16824 | <paramlist> |
16825 | <param name="parent" type="Window" default=""/> | |
16826 | <param name="id" type="int" default=""/> | |
16827 | <param name="value" type="int" default=""/> | |
16828 | <param name="minValue" type="int" default=""/> | |
16829 | <param name="maxValue" type="int" default=""/> | |
16830 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16831 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16832 | <param name="style" type="long" default="wxSL_HORIZONTAL"/> | |
16833 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16834 | <param name="name" type="String" default="wxPySliderNameStr"/> | |
16835 | </paramlist> | |
16836 | </constructor> | |
16837 | <constructor name="PreSlider" overloaded="no"> | |
16838 | <autodoc>PreSlider() -> Slider</autodoc> | |
16839 | </constructor> | |
16840 | <method name="Create" type="bool" overloaded="no"> | |
16841 | <autodoc>Create(Window parent, int id, int value, int minValue, int maxValue, | |
856bf319 RD |
16842 | Point pos=DefaultPosition, Size size=DefaultSize, |
16843 | long style=SL_HORIZONTAL, Validator validator=DefaultValidator, | |
16844 | String name=SliderNameStr) -> bool</autodoc> | |
f32fc4bc RD |
16845 | <paramlist> |
16846 | <param name="parent" type="Window" default=""/> | |
16847 | <param name="id" type="int" default=""/> | |
16848 | <param name="value" type="int" default=""/> | |
16849 | <param name="minValue" type="int" default=""/> | |
16850 | <param name="maxValue" type="int" default=""/> | |
16851 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16852 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16853 | <param name="style" type="long" default="wxSL_HORIZONTAL"/> | |
16854 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16855 | <param name="name" type="String" default="wxPySliderNameStr"/> | |
16856 | </paramlist> | |
16857 | </method> | |
16858 | <method name="GetValue" type="int" overloaded="no"> | |
16859 | <autodoc>GetValue() -> int</autodoc> | |
16860 | </method> | |
16861 | <method name="SetValue" type="" overloaded="no"> | |
16862 | <autodoc>SetValue(int value)</autodoc> | |
16863 | <paramlist> | |
16864 | <param name="value" type="int" default=""/> | |
16865 | </paramlist> | |
16866 | </method> | |
16867 | <method name="SetRange" type="" overloaded="no"> | |
16868 | <autodoc>SetRange(int minValue, int maxValue)</autodoc> | |
16869 | <paramlist> | |
16870 | <param name="minValue" type="int" default=""/> | |
16871 | <param name="maxValue" type="int" default=""/> | |
16872 | </paramlist> | |
16873 | </method> | |
16874 | <method name="GetMin" type="int" overloaded="no"> | |
16875 | <autodoc>GetMin() -> int</autodoc> | |
16876 | </method> | |
16877 | <method name="GetMax" type="int" overloaded="no"> | |
16878 | <autodoc>GetMax() -> int</autodoc> | |
16879 | </method> | |
16880 | <method name="SetMin" type="" overloaded="no"> | |
16881 | <autodoc>SetMin(int minValue)</autodoc> | |
16882 | <paramlist> | |
16883 | <param name="minValue" type="int" default=""/> | |
16884 | </paramlist> | |
16885 | </method> | |
16886 | <method name="SetMax" type="" overloaded="no"> | |
16887 | <autodoc>SetMax(int maxValue)</autodoc> | |
16888 | <paramlist> | |
16889 | <param name="maxValue" type="int" default=""/> | |
16890 | </paramlist> | |
16891 | </method> | |
16892 | <method name="SetLineSize" type="" overloaded="no"> | |
16893 | <autodoc>SetLineSize(int lineSize)</autodoc> | |
16894 | <paramlist> | |
16895 | <param name="lineSize" type="int" default=""/> | |
16896 | </paramlist> | |
16897 | </method> | |
16898 | <method name="SetPageSize" type="" overloaded="no"> | |
16899 | <autodoc>SetPageSize(int pageSize)</autodoc> | |
16900 | <paramlist> | |
16901 | <param name="pageSize" type="int" default=""/> | |
16902 | </paramlist> | |
16903 | </method> | |
16904 | <method name="GetLineSize" type="int" overloaded="no"> | |
16905 | <autodoc>GetLineSize() -> int</autodoc> | |
16906 | </method> | |
16907 | <method name="GetPageSize" type="int" overloaded="no"> | |
16908 | <autodoc>GetPageSize() -> int</autodoc> | |
16909 | </method> | |
16910 | <method name="SetThumbLength" type="" overloaded="no"> | |
16911 | <autodoc>SetThumbLength(int lenPixels)</autodoc> | |
16912 | <paramlist> | |
16913 | <param name="lenPixels" type="int" default=""/> | |
16914 | </paramlist> | |
16915 | </method> | |
16916 | <method name="GetThumbLength" type="int" overloaded="no"> | |
16917 | <autodoc>GetThumbLength() -> int</autodoc> | |
16918 | </method> | |
16919 | <method name="SetTickFreq" type="" overloaded="no"> | |
16920 | <autodoc>SetTickFreq(int n, int pos=1)</autodoc> | |
16921 | <paramlist> | |
16922 | <param name="n" type="int" default=""/> | |
16923 | <param name="pos" type="int" default="1"/> | |
16924 | </paramlist> | |
16925 | </method> | |
16926 | <method name="GetTickFreq" type="int" overloaded="no"> | |
16927 | <autodoc>GetTickFreq() -> int</autodoc> | |
16928 | </method> | |
16929 | <method name="ClearTicks" type="" overloaded="no"> | |
16930 | <autodoc>ClearTicks()</autodoc> | |
16931 | </method> | |
16932 | <method name="SetTick" type="" overloaded="no"> | |
16933 | <autodoc>SetTick(int tickPos)</autodoc> | |
16934 | <paramlist> | |
16935 | <param name="tickPos" type="int" default=""/> | |
16936 | </paramlist> | |
16937 | </method> | |
16938 | <method name="ClearSel" type="" overloaded="no"> | |
16939 | <autodoc>ClearSel()</autodoc> | |
16940 | </method> | |
16941 | <method name="GetSelEnd" type="int" overloaded="no"> | |
16942 | <autodoc>GetSelEnd() -> int</autodoc> | |
16943 | </method> | |
16944 | <method name="GetSelStart" type="int" overloaded="no"> | |
16945 | <autodoc>GetSelStart() -> int</autodoc> | |
16946 | </method> | |
16947 | <method name="SetSelection" type="" overloaded="no"> | |
16948 | <autodoc>SetSelection(int min, int max)</autodoc> | |
16949 | <paramlist> | |
16950 | <param name="min" type="int" default=""/> | |
16951 | <param name="max" type="int" default=""/> | |
16952 | </paramlist> | |
16953 | </method> | |
16954 | </class> | |
16955 | <pythoncode> | |
0f43fbdf RD |
16956 | #--------------------------------------------------------------------------- |
16957 | </pythoncode> | |
f32fc4bc | 16958 | <pythoncode> |
856bf319 | 16959 | EVT_TOGGLEBUTTON = wx.PyEventBinder( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 1) |
0f43fbdf | 16960 | </pythoncode> |
f32fc4bc RD |
16961 | <class name="ToggleButton" oldname="wxToggleButton" module="controls"> |
16962 | <baseclass name="Control"/> | |
16963 | <constructor name="ToggleButton" overloaded="no"> | |
16964 | <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
16965 | Size size=DefaultSize, long style=0, |
16966 | Validator validator=DefaultValidator, String name=ToggleButtonNameStr) -> ToggleButton</autodoc> | |
f32fc4bc RD |
16967 | <paramlist> |
16968 | <param name="parent" type="Window" default=""/> | |
16969 | <param name="id" type="int" default=""/> | |
16970 | <param name="label" type="String" default=""/> | |
16971 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16972 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16973 | <param name="style" type="long" default="0"/> | |
16974 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16975 | <param name="name" type="String" default="wxPyToggleButtonNameStr"/> | |
16976 | </paramlist> | |
16977 | </constructor> | |
16978 | <constructor name="PreToggleButton" overloaded="no"> | |
16979 | <autodoc>PreToggleButton() -> ToggleButton</autodoc> | |
16980 | </constructor> | |
16981 | <method name="Create" type="bool" overloaded="no"> | |
16982 | <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
16983 | Size size=DefaultSize, long style=0, |
16984 | Validator validator=DefaultValidator, String name=ToggleButtonNameStr) -> bool</autodoc> | |
f32fc4bc RD |
16985 | <paramlist> |
16986 | <param name="parent" type="Window" default=""/> | |
16987 | <param name="id" type="int" default=""/> | |
16988 | <param name="label" type="String" default=""/> | |
16989 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16990 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16991 | <param name="style" type="long" default="0"/> | |
16992 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16993 | <param name="name" type="String" default="wxPyToggleButtonNameStr"/> | |
16994 | </paramlist> | |
16995 | </method> | |
16996 | <method name="SetValue" type="" overloaded="no"> | |
16997 | <autodoc>SetValue(bool value)</autodoc> | |
16998 | <paramlist> | |
16999 | <param name="value" type="bool" default=""/> | |
17000 | </paramlist> | |
17001 | </method> | |
17002 | <method name="GetValue" type="bool" overloaded="no"> | |
17003 | <autodoc>GetValue() -> bool</autodoc> | |
17004 | </method> | |
17005 | <method name="SetLabel" type="" overloaded="no"> | |
17006 | <autodoc>SetLabel(String label)</autodoc> | |
c2dda882 | 17007 | <docstring>Sets the item's text.</docstring> |
f32fc4bc RD |
17008 | <paramlist> |
17009 | <param name="label" type="String" default=""/> | |
17010 | </paramlist> | |
17011 | </method> | |
17012 | </class> | |
17013 | <pythoncode> | |
0f43fbdf RD |
17014 | #--------------------------------------------------------------------------- |
17015 | </pythoncode> | |
f32fc4bc RD |
17016 | <class name="BookCtrl" oldname="wxBookCtrl" module="controls"> |
17017 | <baseclass name="Control"/> | |
17018 | <method name="GetPageCount" type="size_t" overloaded="no"> | |
17019 | <autodoc>GetPageCount() -> size_t</autodoc> | |
17020 | </method> | |
17021 | <method name="GetPage" type="Window" overloaded="no"> | |
17022 | <autodoc>GetPage(size_t n) -> Window</autodoc> | |
17023 | <paramlist> | |
17024 | <param name="n" type="size_t" default=""/> | |
17025 | </paramlist> | |
17026 | </method> | |
17027 | <method name="GetSelection" type="int" overloaded="no"> | |
17028 | <autodoc>GetSelection() -> int</autodoc> | |
17029 | </method> | |
17030 | <method name="SetPageText" type="bool" overloaded="no"> | |
17031 | <autodoc>SetPageText(size_t n, String strText) -> bool</autodoc> | |
17032 | <paramlist> | |
17033 | <param name="n" type="size_t" default=""/> | |
17034 | <param name="strText" type="String" default=""/> | |
17035 | </paramlist> | |
17036 | </method> | |
17037 | <method name="GetPageText" type="String" overloaded="no"> | |
17038 | <autodoc>GetPageText(size_t n) -> String</autodoc> | |
17039 | <paramlist> | |
17040 | <param name="n" type="size_t" default=""/> | |
17041 | </paramlist> | |
17042 | </method> | |
17043 | <method name="SetImageList" type="" overloaded="no"> | |
17044 | <autodoc>SetImageList(ImageList imageList)</autodoc> | |
17045 | <paramlist> | |
17046 | <param name="imageList" type="ImageList" default=""/> | |
17047 | </paramlist> | |
17048 | </method> | |
17049 | <method name="AssignImageList" type="" overloaded="no"> | |
17050 | <autodoc>AssignImageList(ImageList imageList)</autodoc> | |
17051 | <paramlist> | |
17052 | <param name="imageList" type="ImageList" default=""/> | |
17053 | </paramlist> | |
17054 | </method> | |
17055 | <method name="GetImageList" type="ImageList" overloaded="no"> | |
17056 | <autodoc>GetImageList() -> ImageList</autodoc> | |
17057 | </method> | |
17058 | <method name="GetPageImage" type="int" overloaded="no"> | |
17059 | <autodoc>GetPageImage(size_t n) -> int</autodoc> | |
17060 | <paramlist> | |
17061 | <param name="n" type="size_t" default=""/> | |
17062 | </paramlist> | |
17063 | </method> | |
17064 | <method name="SetPageImage" type="bool" overloaded="no"> | |
17065 | <autodoc>SetPageImage(size_t n, int imageId) -> bool</autodoc> | |
17066 | <paramlist> | |
17067 | <param name="n" type="size_t" default=""/> | |
17068 | <param name="imageId" type="int" default=""/> | |
17069 | </paramlist> | |
17070 | </method> | |
17071 | <method name="SetPageSize" type="" overloaded="no"> | |
17072 | <autodoc>SetPageSize(Size size)</autodoc> | |
17073 | <paramlist> | |
17074 | <param name="size" type="Size" default=""/> | |
17075 | </paramlist> | |
17076 | </method> | |
17077 | <method name="CalcSizeFromPage" type="Size" overloaded="no"> | |
17078 | <autodoc>CalcSizeFromPage(Size sizePage) -> Size</autodoc> | |
17079 | <paramlist> | |
17080 | <param name="sizePage" type="Size" default=""/> | |
17081 | </paramlist> | |
17082 | </method> | |
17083 | <method name="DeletePage" type="bool" overloaded="no"> | |
17084 | <autodoc>DeletePage(size_t n) -> bool</autodoc> | |
17085 | <paramlist> | |
17086 | <param name="n" type="size_t" default=""/> | |
17087 | </paramlist> | |
17088 | </method> | |
17089 | <method name="RemovePage" type="bool" overloaded="no"> | |
17090 | <autodoc>RemovePage(size_t n) -> bool</autodoc> | |
17091 | <paramlist> | |
17092 | <param name="n" type="size_t" default=""/> | |
17093 | </paramlist> | |
17094 | </method> | |
17095 | <method name="DeleteAllPages" type="bool" overloaded="no"> | |
17096 | <autodoc>DeleteAllPages() -> bool</autodoc> | |
17097 | </method> | |
17098 | <method name="AddPage" type="bool" overloaded="no"> | |
17099 | <autodoc>AddPage(Window page, String text, bool select=False, int imageId=-1) -> bool</autodoc> | |
17100 | <paramlist> | |
17101 | <param name="page" type="Window" default=""/> | |
17102 | <param name="text" type="String" default=""/> | |
17103 | <param name="select" type="bool" default="False"/> | |
17104 | <param name="imageId" type="int" default="-1"/> | |
17105 | </paramlist> | |
17106 | </method> | |
17107 | <method name="InsertPage" type="bool" overloaded="no"> | |
17108 | <autodoc>InsertPage(size_t n, Window page, String text, bool select=False, | |
856bf319 | 17109 | int imageId=-1) -> bool</autodoc> |
f32fc4bc RD |
17110 | <paramlist> |
17111 | <param name="n" type="size_t" default=""/> | |
17112 | <param name="page" type="Window" default=""/> | |
17113 | <param name="text" type="String" default=""/> | |
17114 | <param name="select" type="bool" default="False"/> | |
17115 | <param name="imageId" type="int" default="-1"/> | |
17116 | </paramlist> | |
17117 | </method> | |
17118 | <method name="SetSelection" type="int" overloaded="no"> | |
17119 | <autodoc>SetSelection(size_t n) -> int</autodoc> | |
17120 | <paramlist> | |
17121 | <param name="n" type="size_t" default=""/> | |
17122 | </paramlist> | |
17123 | </method> | |
17124 | <method name="AdvanceSelection" type="" overloaded="no"> | |
17125 | <autodoc>AdvanceSelection(bool forward=True)</autodoc> | |
17126 | <paramlist> | |
17127 | <param name="forward" type="bool" default="True"/> | |
17128 | </paramlist> | |
17129 | </method> | |
17130 | </class> | |
17131 | <class name="BookCtrlEvent" oldname="wxBookCtrlEvent" module="controls"> | |
17132 | <baseclass name="NotifyEvent"/> | |
17133 | <constructor name="BookCtrlEvent" overloaded="no"> | |
17134 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, | |
856bf319 | 17135 | int nOldSel=-1) -> BookCtrlEvent</autodoc> |
f32fc4bc RD |
17136 | <paramlist> |
17137 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
17138 | <param name="id" type="int" default="0"/> | |
17139 | <param name="nSel" type="int" default="-1"/> | |
17140 | <param name="nOldSel" type="int" default="-1"/> | |
17141 | </paramlist> | |
17142 | </constructor> | |
17143 | <method name="GetSelection" type="int" overloaded="no"> | |
17144 | <autodoc>GetSelection() -> int</autodoc> | |
17145 | </method> | |
17146 | <method name="SetSelection" type="" overloaded="no"> | |
17147 | <autodoc>SetSelection(int nSel)</autodoc> | |
17148 | <paramlist> | |
17149 | <param name="nSel" type="int" default=""/> | |
17150 | </paramlist> | |
17151 | </method> | |
17152 | <method name="GetOldSelection" type="int" overloaded="no"> | |
17153 | <autodoc>GetOldSelection() -> int</autodoc> | |
17154 | </method> | |
17155 | <method name="SetOldSelection" type="" overloaded="no"> | |
17156 | <autodoc>SetOldSelection(int nOldSel)</autodoc> | |
17157 | <paramlist> | |
17158 | <param name="nOldSel" type="int" default=""/> | |
17159 | </paramlist> | |
17160 | </method> | |
17161 | </class> | |
17162 | <pythoncode> | |
0f43fbdf RD |
17163 | #--------------------------------------------------------------------------- |
17164 | </pythoncode> | |
f32fc4bc RD |
17165 | <class name="Notebook" oldname="wxNotebook" module="controls"> |
17166 | <baseclass name="BookCtrl"/> | |
17167 | <constructor name="Notebook" overloaded="no"> | |
17168 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 | 17169 | long style=0, String name=NOTEBOOK_NAME) -> Notebook</autodoc> |
f32fc4bc RD |
17170 | <paramlist> |
17171 | <param name="parent" type="Window" default=""/> | |
17172 | <param name="id" type="int" default=""/> | |
17173 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
17174 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17175 | <param name="style" type="long" default="0"/> | |
17176 | <param name="name" type="String" default="wxPyNOTEBOOK_NAME"/> | |
17177 | </paramlist> | |
17178 | </constructor> | |
17179 | <constructor name="PreNotebook" overloaded="no"> | |
17180 | <autodoc>PreNotebook() -> Notebook</autodoc> | |
17181 | </constructor> | |
17182 | <method name="Create" type="bool" overloaded="no"> | |
17183 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 | 17184 | long style=0, String name=NOTEBOOK_NAME) -> bool</autodoc> |
f32fc4bc RD |
17185 | <paramlist> |
17186 | <param name="parent" type="Window" default=""/> | |
17187 | <param name="id" type="int" default=""/> | |
17188 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
17189 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17190 | <param name="style" type="long" default="0"/> | |
17191 | <param name="name" type="String" default="wxPyNOTEBOOK_NAME"/> | |
17192 | </paramlist> | |
17193 | </method> | |
17194 | <method name="GetRowCount" type="int" overloaded="no"> | |
17195 | <autodoc>GetRowCount() -> int</autodoc> | |
17196 | </method> | |
17197 | <method name="SetPadding" type="" overloaded="no"> | |
17198 | <autodoc>SetPadding(Size padding)</autodoc> | |
17199 | <paramlist> | |
17200 | <param name="padding" type="Size" default=""/> | |
17201 | </paramlist> | |
17202 | </method> | |
17203 | <method name="SetTabSize" type="" overloaded="no"> | |
17204 | <autodoc>SetTabSize(Size sz)</autodoc> | |
17205 | <paramlist> | |
17206 | <param name="sz" type="Size" default=""/> | |
17207 | </paramlist> | |
17208 | </method> | |
17209 | <method name="HitTest" type="int" overloaded="no"> | |
17210 | <autodoc>HitTest(Point pt) -> (tab, where)</autodoc> | |
17211 | <docstring>Returns the tab which is hit, and flags indicating where using wx.NB_HITTEST_ flags.</docstring> | |
17212 | <paramlist> | |
17213 | <param name="pt" type="Point" default=""/> | |
17214 | <param name="OUTPUT" type="long" default=""/> | |
17215 | </paramlist> | |
17216 | </method> | |
17217 | <method name="CalcSizeFromPage" type="Size" overloaded="no"> | |
17218 | <autodoc>CalcSizeFromPage(Size sizePage) -> Size</autodoc> | |
17219 | <paramlist> | |
17220 | <param name="sizePage" type="Size" default=""/> | |
17221 | </paramlist> | |
17222 | </method> | |
17223 | </class> | |
17224 | <class name="NotebookEvent" oldname="wxNotebookEvent" module="controls"> | |
17225 | <baseclass name="BookCtrlEvent"/> | |
17226 | <constructor name="NotebookEvent" overloaded="no"> | |
17227 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, | |
856bf319 | 17228 | int nOldSel=-1) -> NotebookEvent</autodoc> |
f32fc4bc RD |
17229 | <paramlist> |
17230 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
17231 | <param name="id" type="int" default="0"/> | |
17232 | <param name="nSel" type="int" default="-1"/> | |
17233 | <param name="nOldSel" type="int" default="-1"/> | |
17234 | </paramlist> | |
17235 | </constructor> | |
17236 | </class> | |
17237 | <pythoncode> | |
856bf319 RD |
17238 | # wxNotebook events |
17239 | EVT_NOTEBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 1 ) | |
17240 | EVT_NOTEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 1 ) | |
0f43fbdf | 17241 | </pythoncode> |
f32fc4bc | 17242 | <pythoncode> |
856bf319 RD |
17243 | #---------------------------------------------------------------------------- |
17244 | ||
17245 | class NotebookPage(wx.Panel): | |
17246 | """ | |
17247 | There is an old (and apparently unsolvable) bug when placing a | |
17248 | window with a nonstandard background colour in a wxNotebook on | |
17249 | wxGTK, as the notbooks's background colour would always be used | |
17250 | when the window is refreshed. The solution is to place a panel in | |
17251 | the notbook and the coloured window on the panel, sized to cover | |
17252 | the panel. This simple class does that for you, just put an | |
17253 | instance of this in the notebook and make your regular window a | |
17254 | child of this one and it will handle the resize for you. | |
17255 | """ | |
17256 | def __init__(self, parent, id=-1, | |
17257 | pos=wx.DefaultPosition, size=wx.DefaultSize, | |
17258 | style=wx.TAB_TRAVERSAL, name="panel"): | |
17259 | wx.Panel.__init__(self, parent, id, pos, size, style, name) | |
17260 | self.child = None | |
17261 | EVT_SIZE(self, self.OnSize) | |
17262 | ||
17263 | def OnSize(self, evt): | |
17264 | if self.child is None: | |
17265 | children = self.GetChildren() | |
17266 | if len(children): | |
17267 | self.child = children[0] | |
17268 | if self.child: | |
17269 | self.child.SetPosition((0,0)) | |
17270 | self.child.SetSize(self.GetSize()) | |
17271 | ||
0f43fbdf | 17272 | </pythoncode> |
f32fc4bc | 17273 | <pythoncode> |
0f43fbdf RD |
17274 | #--------------------------------------------------------------------------- |
17275 | </pythoncode> | |
f32fc4bc RD |
17276 | <class name="Listbook" oldname="wxListbook" module="controls"> |
17277 | <baseclass name="BookCtrl"/> | |
17278 | <constructor name="Listbook" overloaded="no"> | |
17279 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 | 17280 | long style=0, String name=EmptyString) -> Listbook</autodoc> |
f32fc4bc RD |
17281 | <paramlist> |
17282 | <param name="parent" type="Window" default=""/> | |
17283 | <param name="id" type="int" default=""/> | |
17284 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
17285 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17286 | <param name="style" type="long" default="0"/> | |
17287 | <param name="name" type="String" default="wxPyEmptyString"/> | |
17288 | </paramlist> | |
17289 | </constructor> | |
17290 | <constructor name="PreListbook" overloaded="no"> | |
17291 | <autodoc>PreListbook() -> Listbook</autodoc> | |
17292 | </constructor> | |
17293 | <method name="Create" type="bool" overloaded="no"> | |
17294 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 | 17295 | long style=0, String name=EmptyString) -> bool</autodoc> |
f32fc4bc RD |
17296 | <paramlist> |
17297 | <param name="parent" type="Window" default=""/> | |
17298 | <param name="id" type="int" default=""/> | |
17299 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
17300 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17301 | <param name="style" type="long" default="0"/> | |
17302 | <param name="name" type="String" default="wxPyEmptyString"/> | |
17303 | </paramlist> | |
17304 | </method> | |
17305 | <method name="IsVertical" type="bool" overloaded="no"> | |
17306 | <autodoc>IsVertical() -> bool</autodoc> | |
17307 | </method> | |
17308 | </class> | |
17309 | <class name="ListbookEvent" oldname="wxListbookEvent" module="controls"> | |
17310 | <baseclass name="BookCtrlEvent"/> | |
17311 | <constructor name="ListbookEvent" overloaded="no"> | |
17312 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, | |
856bf319 | 17313 | int nOldSel=-1) -> ListbookEvent</autodoc> |
f32fc4bc RD |
17314 | <paramlist> |
17315 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
17316 | <param name="id" type="int" default="0"/> | |
17317 | <param name="nSel" type="int" default="-1"/> | |
17318 | <param name="nOldSel" type="int" default="-1"/> | |
17319 | </paramlist> | |
17320 | </constructor> | |
17321 | </class> | |
17322 | <pythoncode> | |
856bf319 RD |
17323 | EVT_LISTBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 1 ) |
17324 | EVT_LISTBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 1 ) | |
0f43fbdf | 17325 | </pythoncode> |
f32fc4bc RD |
17326 | <pythoncode> |
17327 | #--------------------------------------------------------------------------- | |
17328 | </pythoncode> | |
17329 | <class name="BookCtrlSizer" oldname="wxBookCtrlSizer" module="controls"> | |
17330 | <baseclass name="Sizer"/> | |
17331 | <constructor name="BookCtrlSizer" overloaded="no"> | |
17332 | <autodoc>__init__(BookCtrl nb) -> BookCtrlSizer</autodoc> | |
17333 | <paramlist> | |
17334 | <param name="nb" type="BookCtrl" default=""/> | |
17335 | </paramlist> | |
17336 | </constructor> | |
17337 | <method name="RecalcSizes" type="" overloaded="no"> | |
17338 | <autodoc>RecalcSizes()</autodoc> | |
17339 | </method> | |
17340 | <method name="CalcMin" type="Size" overloaded="no"> | |
17341 | <autodoc>CalcMin() -> Size</autodoc> | |
17342 | </method> | |
17343 | <method name="GetControl" type="BookCtrl" overloaded="no"> | |
17344 | <autodoc>GetControl() -> BookCtrl</autodoc> | |
17345 | </method> | |
17346 | </class> | |
17347 | <class name="NotebookSizer" oldname="wxNotebookSizer" module="controls"> | |
17348 | <baseclass name="Sizer"/> | |
17349 | <constructor name="NotebookSizer" overloaded="no"> | |
17350 | <autodoc>__init__(Notebook nb) -> NotebookSizer</autodoc> | |
17351 | <paramlist> | |
17352 | <param name="nb" type="Notebook" default=""/> | |
17353 | </paramlist> | |
17354 | </constructor> | |
17355 | <method name="RecalcSizes" type="" overloaded="no"> | |
17356 | <autodoc>RecalcSizes()</autodoc> | |
17357 | </method> | |
17358 | <method name="CalcMin" type="Size" overloaded="no"> | |
17359 | <autodoc>CalcMin() -> Size</autodoc> | |
17360 | </method> | |
17361 | <method name="GetNotebook" type="Notebook" overloaded="no"> | |
17362 | <autodoc>GetNotebook() -> Notebook</autodoc> | |
17363 | </method> | |
17364 | </class> | |
17365 | <pythoncode> | |
17366 | #--------------------------------------------------------------------------- | |
17367 | </pythoncode> | |
17368 | <class name="ToolBarToolBase" oldname="wxToolBarToolBase" module="controls"> | |
17369 | <baseclass name="Object"/> | |
17370 | <method name="GetId" type="int" overloaded="no"> | |
17371 | <autodoc>GetId() -> int</autodoc> | |
17372 | </method> | |
17373 | <method name="GetControl" type="Control" overloaded="no"> | |
17374 | <autodoc>GetControl() -> Control</autodoc> | |
17375 | </method> | |
17376 | <method name="GetToolBar" type="wxToolBarBase" overloaded="no"> | |
17377 | <autodoc>GetToolBar() -> ToolBarBase</autodoc> | |
17378 | </method> | |
17379 | <method name="IsButton" type="int" overloaded="no"> | |
17380 | <autodoc>IsButton() -> int</autodoc> | |
17381 | </method> | |
17382 | <method name="IsControl" type="int" overloaded="no"> | |
17383 | <autodoc>IsControl() -> int</autodoc> | |
17384 | </method> | |
17385 | <method name="IsSeparator" type="int" overloaded="no"> | |
17386 | <autodoc>IsSeparator() -> int</autodoc> | |
17387 | </method> | |
17388 | <method name="GetStyle" type="int" overloaded="no"> | |
17389 | <autodoc>GetStyle() -> int</autodoc> | |
17390 | </method> | |
17391 | <method name="GetKind" type="wxItemKind" overloaded="no"> | |
17392 | <autodoc>GetKind() -> int</autodoc> | |
17393 | </method> | |
17394 | <method name="IsEnabled" type="bool" overloaded="no"> | |
17395 | <autodoc>IsEnabled() -> bool</autodoc> | |
17396 | </method> | |
17397 | <method name="IsToggled" type="bool" overloaded="no"> | |
17398 | <autodoc>IsToggled() -> bool</autodoc> | |
17399 | </method> | |
17400 | <method name="CanBeToggled" type="bool" overloaded="no"> | |
17401 | <autodoc>CanBeToggled() -> bool</autodoc> | |
17402 | </method> | |
17403 | <method name="GetNormalBitmap" type="Bitmap" overloaded="no"> | |
17404 | <autodoc>GetNormalBitmap() -> Bitmap</autodoc> | |
17405 | </method> | |
17406 | <method name="GetDisabledBitmap" type="Bitmap" overloaded="no"> | |
17407 | <autodoc>GetDisabledBitmap() -> Bitmap</autodoc> | |
17408 | </method> | |
17409 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
17410 | <autodoc>GetBitmap() -> Bitmap</autodoc> | |
17411 | </method> | |
17412 | <method name="GetLabel" type="String" overloaded="no"> | |
17413 | <autodoc>GetLabel() -> String</autodoc> | |
17414 | </method> | |
17415 | <method name="GetShortHelp" type="String" overloaded="no"> | |
17416 | <autodoc>GetShortHelp() -> String</autodoc> | |
17417 | </method> | |
17418 | <method name="GetLongHelp" type="String" overloaded="no"> | |
17419 | <autodoc>GetLongHelp() -> String</autodoc> | |
17420 | </method> | |
17421 | <method name="Enable" type="bool" overloaded="no"> | |
17422 | <autodoc>Enable(bool enable) -> bool</autodoc> | |
17423 | <paramlist> | |
17424 | <param name="enable" type="bool" default=""/> | |
17425 | </paramlist> | |
17426 | </method> | |
17427 | <method name="Toggle" type="" overloaded="no"> | |
17428 | <autodoc>Toggle()</autodoc> | |
17429 | </method> | |
17430 | <method name="SetToggle" type="bool" overloaded="no"> | |
17431 | <autodoc>SetToggle(bool toggle) -> bool</autodoc> | |
17432 | <paramlist> | |
17433 | <param name="toggle" type="bool" default=""/> | |
17434 | </paramlist> | |
17435 | </method> | |
17436 | <method name="SetShortHelp" type="bool" overloaded="no"> | |
17437 | <autodoc>SetShortHelp(String help) -> bool</autodoc> | |
17438 | <paramlist> | |
17439 | <param name="help" type="String" default=""/> | |
17440 | </paramlist> | |
17441 | </method> | |
17442 | <method name="SetLongHelp" type="bool" overloaded="no"> | |
17443 | <autodoc>SetLongHelp(String help) -> bool</autodoc> | |
17444 | <paramlist> | |
17445 | <param name="help" type="String" default=""/> | |
17446 | </paramlist> | |
17447 | </method> | |
17448 | <method name="SetNormalBitmap" type="" overloaded="no"> | |
17449 | <autodoc>SetNormalBitmap(Bitmap bmp)</autodoc> | |
17450 | <paramlist> | |
17451 | <param name="bmp" type="Bitmap" default=""/> | |
17452 | </paramlist> | |
17453 | </method> | |
17454 | <method name="SetDisabledBitmap" type="" overloaded="no"> | |
17455 | <autodoc>SetDisabledBitmap(Bitmap bmp)</autodoc> | |
17456 | <paramlist> | |
17457 | <param name="bmp" type="Bitmap" default=""/> | |
17458 | </paramlist> | |
17459 | </method> | |
17460 | <method name="SetLabel" type="" overloaded="no"> | |
17461 | <autodoc>SetLabel(String label)</autodoc> | |
17462 | <paramlist> | |
17463 | <param name="label" type="String" default=""/> | |
17464 | </paramlist> | |
17465 | </method> | |
17466 | <method name="Detach" type="" overloaded="no"> | |
17467 | <autodoc>Detach()</autodoc> | |
17468 | </method> | |
17469 | <method name="Attach" type="" overloaded="no"> | |
17470 | <autodoc>Attach(ToolBarBase tbar)</autodoc> | |
17471 | <paramlist> | |
17472 | <param name="tbar" type="wxToolBarBase" default=""/> | |
17473 | </paramlist> | |
17474 | </method> | |
17475 | <method name="GetClientData" type="PyObject" overloaded="no"> | |
17476 | <autodoc>GetClientData() -> PyObject</autodoc> | |
17477 | </method> | |
17478 | <method name="SetClientData" type="" overloaded="no"> | |
17479 | <autodoc>SetClientData(PyObject clientData)</autodoc> | |
17480 | <paramlist> | |
17481 | <param name="clientData" type="PyObject" default=""/> | |
17482 | </paramlist> | |
17483 | </method> | |
17484 | </class> | |
17485 | <class name="ToolBarBase" oldname="wxToolBarBase" module="controls"> | |
17486 | <baseclass name="Control"/> | |
17487 | <method name="DoAddTool" type="ToolBarToolBase" overloaded="no"> | |
17488 | <autodoc>DoAddTool(int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap, | |
17489 | int kind=ITEM_NORMAL, String shortHelp=EmptyString, | |
17490 | String longHelp=EmptyString, | |
17491 | PyObject clientData=None) -> ToolBarToolBase</autodoc> | |
17492 | <paramlist> | |
17493 | <param name="id" type="int" default=""/> | |
17494 | <param name="label" type="String" default=""/> | |
17495 | <param name="bitmap" type="Bitmap" default=""/> | |
17496 | <param name="bmpDisabled" type="Bitmap" default="wxNullBitmap"/> | |
17497 | <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/> | |
17498 | <param name="shortHelp" type="String" default="wxPyEmptyString"/> | |
17499 | <param name="longHelp" type="String" default="wxPyEmptyString"/> | |
17500 | <param name="clientData" type="PyObject" default="NULL"/> | |
17501 | </paramlist> | |
17502 | </method> | |
17503 | <method name="DoInsertTool" type="ToolBarToolBase" overloaded="no"> | |
17504 | <autodoc>DoInsertTool(size_t pos, int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap, | |
17505 | int kind=ITEM_NORMAL, | |
17506 | String shortHelp=EmptyString, String longHelp=EmptyString, | |
17507 | PyObject clientData=None) -> ToolBarToolBase</autodoc> | |
17508 | <paramlist> | |
17509 | <param name="pos" type="size_t" default=""/> | |
17510 | <param name="id" type="int" default=""/> | |
17511 | <param name="label" type="String" default=""/> | |
17512 | <param name="bitmap" type="Bitmap" default=""/> | |
17513 | <param name="bmpDisabled" type="Bitmap" default="wxNullBitmap"/> | |
17514 | <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/> | |
17515 | <param name="shortHelp" type="String" default="wxPyEmptyString"/> | |
17516 | <param name="longHelp" type="String" default="wxPyEmptyString"/> | |
17517 | <param name="clientData" type="PyObject" default="NULL"/> | |
17518 | </paramlist> | |
17519 | </method> | |
17520 | <method name="AddToolItem" type="ToolBarToolBase" overloaded="no"> | |
17521 | <autodoc>AddToolItem(ToolBarToolBase tool) -> ToolBarToolBase</autodoc> | |
17522 | <paramlist> | |
17523 | <param name="tool" type="ToolBarToolBase" default=""/> | |
17524 | </paramlist> | |
17525 | </method> | |
17526 | <method name="InsertToolItem" type="ToolBarToolBase" overloaded="no"> | |
17527 | <autodoc>InsertToolItem(size_t pos, ToolBarToolBase tool) -> ToolBarToolBase</autodoc> | |
17528 | <paramlist> | |
17529 | <param name="pos" type="size_t" default=""/> | |
17530 | <param name="tool" type="ToolBarToolBase" default=""/> | |
17531 | </paramlist> | |
17532 | </method> | |
17533 | <method name="AddControl" type="ToolBarToolBase" overloaded="no"> | |
17534 | <autodoc>AddControl(Control control) -> ToolBarToolBase</autodoc> | |
17535 | <paramlist> | |
17536 | <param name="control" type="Control" default=""/> | |
17537 | </paramlist> | |
17538 | </method> | |
17539 | <method name="InsertControl" type="ToolBarToolBase" overloaded="no"> | |
17540 | <autodoc>InsertControl(size_t pos, Control control) -> ToolBarToolBase</autodoc> | |
17541 | <paramlist> | |
17542 | <param name="pos" type="size_t" default=""/> | |
17543 | <param name="control" type="Control" default=""/> | |
17544 | </paramlist> | |
17545 | </method> | |
17546 | <method name="FindControl" type="Control" overloaded="no"> | |
17547 | <autodoc>FindControl(int id) -> Control</autodoc> | |
17548 | <paramlist> | |
17549 | <param name="id" type="int" default=""/> | |
17550 | </paramlist> | |
17551 | </method> | |
17552 | <method name="AddSeparator" type="ToolBarToolBase" overloaded="no"> | |
17553 | <autodoc>AddSeparator() -> ToolBarToolBase</autodoc> | |
17554 | </method> | |
17555 | <method name="InsertSeparator" type="ToolBarToolBase" overloaded="no"> | |
17556 | <autodoc>InsertSeparator(size_t pos) -> ToolBarToolBase</autodoc> | |
17557 | <paramlist> | |
17558 | <param name="pos" type="size_t" default=""/> | |
17559 | </paramlist> | |
17560 | </method> | |
17561 | <method name="RemoveTool" type="ToolBarToolBase" overloaded="no"> | |
17562 | <autodoc>RemoveTool(int id) -> ToolBarToolBase</autodoc> | |
17563 | <paramlist> | |
17564 | <param name="id" type="int" default=""/> | |
17565 | </paramlist> | |
17566 | </method> | |
17567 | <method name="DeleteToolByPos" type="bool" overloaded="no"> | |
17568 | <autodoc>DeleteToolByPos(size_t pos) -> bool</autodoc> | |
17569 | <paramlist> | |
17570 | <param name="pos" type="size_t" default=""/> | |
17571 | </paramlist> | |
17572 | </method> | |
17573 | <method name="DeleteTool" type="bool" overloaded="no"> | |
17574 | <autodoc>DeleteTool(int id) -> bool</autodoc> | |
17575 | <paramlist> | |
17576 | <param name="id" type="int" default=""/> | |
17577 | </paramlist> | |
17578 | </method> | |
17579 | <method name="ClearTools" type="" overloaded="no"> | |
17580 | <autodoc>ClearTools()</autodoc> | |
17581 | </method> | |
17582 | <method name="Realize" type="bool" overloaded="no"> | |
17583 | <autodoc>Realize() -> bool</autodoc> | |
17584 | </method> | |
17585 | <method name="EnableTool" type="" overloaded="no"> | |
17586 | <autodoc>EnableTool(int id, bool enable)</autodoc> | |
17587 | <paramlist> | |
17588 | <param name="id" type="int" default=""/> | |
17589 | <param name="enable" type="bool" default=""/> | |
17590 | </paramlist> | |
17591 | </method> | |
17592 | <method name="ToggleTool" type="" overloaded="no"> | |
17593 | <autodoc>ToggleTool(int id, bool toggle)</autodoc> | |
17594 | <paramlist> | |
17595 | <param name="id" type="int" default=""/> | |
17596 | <param name="toggle" type="bool" default=""/> | |
17597 | </paramlist> | |
17598 | </method> | |
17599 | <method name="SetToggle" type="" overloaded="no"> | |
17600 | <autodoc>SetToggle(int id, bool toggle)</autodoc> | |
17601 | <paramlist> | |
17602 | <param name="id" type="int" default=""/> | |
17603 | <param name="toggle" type="bool" default=""/> | |
17604 | </paramlist> | |
17605 | </method> | |
17606 | <method name="GetToolClientData" type="PyObject" overloaded="no"> | |
17607 | <autodoc>GetToolClientData(int id) -> PyObject</autodoc> | |
17608 | <paramlist> | |
17609 | <param name="id" type="int" default=""/> | |
17610 | </paramlist> | |
17611 | </method> | |
17612 | <method name="SetToolClientData" type="" overloaded="no"> | |
17613 | <autodoc>SetToolClientData(int id, PyObject clientData)</autodoc> | |
17614 | <paramlist> | |
17615 | <param name="id" type="int" default=""/> | |
17616 | <param name="clientData" type="PyObject" default=""/> | |
17617 | </paramlist> | |
17618 | </method> | |
17619 | <method name="GetToolPos" type="int" overloaded="no"> | |
17620 | <autodoc>GetToolPos(int id) -> int</autodoc> | |
17621 | <paramlist> | |
17622 | <param name="id" type="int" default=""/> | |
17623 | </paramlist> | |
17624 | </method> | |
17625 | <method name="GetToolState" type="bool" overloaded="no"> | |
17626 | <autodoc>GetToolState(int id) -> bool</autodoc> | |
17627 | <paramlist> | |
17628 | <param name="id" type="int" default=""/> | |
17629 | </paramlist> | |
17630 | </method> | |
17631 | <method name="GetToolEnabled" type="bool" overloaded="no"> | |
17632 | <autodoc>GetToolEnabled(int id) -> bool</autodoc> | |
17633 | <paramlist> | |
17634 | <param name="id" type="int" default=""/> | |
17635 | </paramlist> | |
17636 | </method> | |
17637 | <method name="SetToolShortHelp" type="" overloaded="no"> | |
17638 | <autodoc>SetToolShortHelp(int id, String helpString)</autodoc> | |
17639 | <paramlist> | |
17640 | <param name="id" type="int" default=""/> | |
17641 | <param name="helpString" type="String" default=""/> | |
17642 | </paramlist> | |
17643 | </method> | |
17644 | <method name="GetToolShortHelp" type="String" overloaded="no"> | |
17645 | <autodoc>GetToolShortHelp(int id) -> String</autodoc> | |
17646 | <paramlist> | |
17647 | <param name="id" type="int" default=""/> | |
17648 | </paramlist> | |
17649 | </method> | |
17650 | <method name="SetToolLongHelp" type="" overloaded="no"> | |
17651 | <autodoc>SetToolLongHelp(int id, String helpString)</autodoc> | |
17652 | <paramlist> | |
17653 | <param name="id" type="int" default=""/> | |
17654 | <param name="helpString" type="String" default=""/> | |
17655 | </paramlist> | |
17656 | </method> | |
17657 | <method name="GetToolLongHelp" type="String" overloaded="no"> | |
17658 | <autodoc>GetToolLongHelp(int id) -> String</autodoc> | |
17659 | <paramlist> | |
17660 | <param name="id" type="int" default=""/> | |
17661 | </paramlist> | |
17662 | </method> | |
17663 | <method name="SetMarginsXY" type="" overloaded="no"> | |
17664 | <autodoc>SetMarginsXY(int x, int y)</autodoc> | |
17665 | <paramlist> | |
17666 | <param name="x" type="int" default=""/> | |
17667 | <param name="y" type="int" default=""/> | |
17668 | </paramlist> | |
17669 | </method> | |
17670 | <method name="SetMargins" type="" overloaded="no"> | |
17671 | <autodoc>SetMargins(Size size)</autodoc> | |
17672 | <paramlist> | |
17673 | <param name="size" type="Size" default=""/> | |
17674 | </paramlist> | |
17675 | </method> | |
17676 | <method name="SetToolPacking" type="" overloaded="no"> | |
17677 | <autodoc>SetToolPacking(int packing)</autodoc> | |
17678 | <paramlist> | |
17679 | <param name="packing" type="int" default=""/> | |
17680 | </paramlist> | |
17681 | </method> | |
17682 | <method name="SetToolSeparation" type="" overloaded="no"> | |
17683 | <autodoc>SetToolSeparation(int separation)</autodoc> | |
17684 | <paramlist> | |
17685 | <param name="separation" type="int" default=""/> | |
17686 | </paramlist> | |
17687 | </method> | |
17688 | <method name="GetToolMargins" type="Size" overloaded="no"> | |
17689 | <autodoc>GetToolMargins() -> Size</autodoc> | |
17690 | </method> | |
17691 | <method name="GetMargins" type="Size" overloaded="no"> | |
17692 | <autodoc>GetMargins() -> Size</autodoc> | |
17693 | </method> | |
17694 | <method name="GetToolPacking" type="int" overloaded="no"> | |
17695 | <autodoc>GetToolPacking() -> int</autodoc> | |
17696 | </method> | |
17697 | <method name="GetToolSeparation" type="int" overloaded="no"> | |
17698 | <autodoc>GetToolSeparation() -> int</autodoc> | |
17699 | </method> | |
17700 | <method name="SetRows" type="" overloaded="no"> | |
17701 | <autodoc>SetRows(int nRows)</autodoc> | |
17702 | <paramlist> | |
17703 | <param name="nRows" type="int" default=""/> | |
17704 | </paramlist> | |
17705 | </method> | |
17706 | <method name="SetMaxRowsCols" type="" overloaded="no"> | |
17707 | <autodoc>SetMaxRowsCols(int rows, int cols)</autodoc> | |
17708 | <paramlist> | |
17709 | <param name="rows" type="int" default=""/> | |
17710 | <param name="cols" type="int" default=""/> | |
17711 | </paramlist> | |
17712 | </method> | |
17713 | <method name="GetMaxRows" type="int" overloaded="no"> | |
17714 | <autodoc>GetMaxRows() -> int</autodoc> | |
17715 | </method> | |
17716 | <method name="GetMaxCols" type="int" overloaded="no"> | |
17717 | <autodoc>GetMaxCols() -> int</autodoc> | |
17718 | </method> | |
17719 | <method name="SetToolBitmapSize" type="" overloaded="no"> | |
17720 | <autodoc>SetToolBitmapSize(Size size)</autodoc> | |
17721 | <paramlist> | |
17722 | <param name="size" type="Size" default=""/> | |
17723 | </paramlist> | |
17724 | </method> | |
17725 | <method name="GetToolBitmapSize" type="Size" overloaded="no"> | |
17726 | <autodoc>GetToolBitmapSize() -> Size</autodoc> | |
17727 | </method> | |
17728 | <method name="GetToolSize" type="Size" overloaded="no"> | |
17729 | <autodoc>GetToolSize() -> Size</autodoc> | |
17730 | </method> | |
17731 | <method name="FindToolForPosition" type="ToolBarToolBase" overloaded="no"> | |
17732 | <autodoc>FindToolForPosition(int x, int y) -> ToolBarToolBase</autodoc> | |
17733 | <paramlist> | |
17734 | <param name="x" type="int" default=""/> | |
17735 | <param name="y" type="int" default=""/> | |
17736 | </paramlist> | |
17737 | </method> | |
17738 | <method name="FindById" type="ToolBarToolBase" overloaded="no"> | |
17739 | <autodoc>FindById(int toolid) -> ToolBarToolBase</autodoc> | |
17740 | <paramlist> | |
17741 | <param name="toolid" type="int" default=""/> | |
17742 | </paramlist> | |
17743 | </method> | |
17744 | <method name="IsVertical" type="bool" overloaded="no"> | |
17745 | <autodoc>IsVertical() -> bool</autodoc> | |
17746 | </method> | |
17747 | </class> | |
17748 | <class name="ToolBar" oldname="wxToolBar" module="controls"> | |
17749 | <baseclass name="ToolBarBase"/> | |
17750 | <constructor name="ToolBar" overloaded="no"> | |
17751 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
17752 | long style=wxNO_BORDER|wxTB_HORIZONTAL, | |
17753 | String name=wxPyToolBarNameStr) -> ToolBar</autodoc> | |
17754 | <paramlist> | |
17755 | <param name="parent" type="Window" default=""/> | |
17756 | <param name="id" type="int" default=""/> | |
17757 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
17758 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17759 | <param name="style" type="long" default="wxNO_BORDER|wxTB_HORIZONTAL"/> | |
17760 | <param name="name" type="String" default="wxPyToolBarNameStr"/> | |
17761 | </paramlist> | |
17762 | </constructor> | |
17763 | <constructor name="PreToolBar" overloaded="no"> | |
17764 | <autodoc>PreToolBar() -> ToolBar</autodoc> | |
17765 | </constructor> | |
17766 | <method name="Create" type="bool" overloaded="no"> | |
17767 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
17768 | long style=wxNO_BORDER|wxTB_HORIZONTAL, | |
17769 | String name=wxPyToolBarNameStr) -> bool</autodoc> | |
17770 | <paramlist> | |
17771 | <param name="parent" type="Window" default=""/> | |
17772 | <param name="id" type="int" default=""/> | |
17773 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
17774 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17775 | <param name="style" type="long" default="wxNO_BORDER|wxTB_HORIZONTAL"/> | |
17776 | <param name="name" type="String" default="wxPyToolBarNameStr"/> | |
17777 | </paramlist> | |
17778 | </method> | |
17779 | <method name="FindToolForPosition" type="ToolBarToolBase" overloaded="no"> | |
17780 | <autodoc>FindToolForPosition(int x, int y) -> ToolBarToolBase</autodoc> | |
17781 | <paramlist> | |
17782 | <param name="x" type="int" default=""/> | |
17783 | <param name="y" type="int" default=""/> | |
17784 | </paramlist> | |
17785 | </method> | |
17786 | </class> | |
17787 | <pythoncode> | |
17788 | #--------------------------------------------------------------------------- | |
17789 | </pythoncode> | |
17790 | <pythoncode> | |
17791 | #--------------------------------------------------------------------------- | |
17792 | </pythoncode> | |
17793 | <class name="ListItemAttr" oldname="wxListItemAttr" module="controls"> | |
17794 | <constructor name="ListItemAttr" overloaded="no"> | |
17795 | <autodoc>__init__(Colour colText=wxNullColour, Colour colBack=wxNullColour, | |
17796 | Font font=wxNullFont) -> ListItemAttr</autodoc> | |
17797 | <paramlist> | |
17798 | <param name="colText" type="Colour" default="wxNullColour"/> | |
17799 | <param name="colBack" type="Colour" default="wxNullColour"/> | |
17800 | <param name="font" type="Font" default="wxNullFont"/> | |
17801 | </paramlist> | |
17802 | </constructor> | |
17803 | <method name="SetTextColour" type="" overloaded="no"> | |
17804 | <autodoc>SetTextColour(Colour colText)</autodoc> | |
17805 | <paramlist> | |
17806 | <param name="colText" type="Colour" default=""/> | |
17807 | </paramlist> | |
17808 | </method> | |
17809 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
17810 | <autodoc>SetBackgroundColour(Colour colBack)</autodoc> | |
17811 | <paramlist> | |
17812 | <param name="colBack" type="Colour" default=""/> | |
17813 | </paramlist> | |
17814 | </method> | |
17815 | <method name="SetFont" type="" overloaded="no"> | |
17816 | <autodoc>SetFont(Font font)</autodoc> | |
17817 | <paramlist> | |
17818 | <param name="font" type="Font" default=""/> | |
17819 | </paramlist> | |
17820 | </method> | |
17821 | <method name="HasTextColour" type="bool" overloaded="no"> | |
17822 | <autodoc>HasTextColour() -> bool</autodoc> | |
17823 | </method> | |
17824 | <method name="HasBackgroundColour" type="bool" overloaded="no"> | |
17825 | <autodoc>HasBackgroundColour() -> bool</autodoc> | |
17826 | </method> | |
17827 | <method name="HasFont" type="bool" overloaded="no"> | |
17828 | <autodoc>HasFont() -> bool</autodoc> | |
17829 | </method> | |
17830 | <method name="GetTextColour" type="Colour" overloaded="no"> | |
17831 | <autodoc>GetTextColour() -> Colour</autodoc> | |
17832 | </method> | |
17833 | <method name="GetBackgroundColour" type="Colour" overloaded="no"> | |
17834 | <autodoc>GetBackgroundColour() -> Colour</autodoc> | |
17835 | </method> | |
17836 | <method name="GetFont" type="Font" overloaded="no"> | |
17837 | <autodoc>GetFont() -> Font</autodoc> | |
17838 | </method> | |
17839 | <method name="Destroy" type="" overloaded="no"> | |
17840 | <autodoc>Destroy()</autodoc> | |
17841 | </method> | |
17842 | </class> | |
17843 | <pythoncode> | |
17844 | #--------------------------------------------------------------------------- | |
17845 | </pythoncode> | |
17846 | <class name="ListItem" oldname="wxListItem" module="controls"> | |
17847 | <baseclass name="Object"/> | |
17848 | <constructor name="ListItem" overloaded="no"> | |
17849 | <autodoc>__init__() -> ListItem</autodoc> | |
17850 | </constructor> | |
17851 | <destructor name="~wxListItem" overloaded="no"> | |
17852 | <autodoc>__del__()</autodoc> | |
17853 | </destructor> | |
17854 | <method name="Clear" type="" overloaded="no"> | |
17855 | <autodoc>Clear()</autodoc> | |
17856 | </method> | |
17857 | <method name="ClearAttributes" type="" overloaded="no"> | |
17858 | <autodoc>ClearAttributes()</autodoc> | |
17859 | </method> | |
17860 | <method name="SetMask" type="" overloaded="no"> | |
17861 | <autodoc>SetMask(long mask)</autodoc> | |
17862 | <paramlist> | |
17863 | <param name="mask" type="long" default=""/> | |
17864 | </paramlist> | |
17865 | </method> | |
17866 | <method name="SetId" type="" overloaded="no"> | |
17867 | <autodoc>SetId(long id)</autodoc> | |
17868 | <paramlist> | |
17869 | <param name="id" type="long" default=""/> | |
17870 | </paramlist> | |
17871 | </method> | |
17872 | <method name="SetColumn" type="" overloaded="no"> | |
17873 | <autodoc>SetColumn(int col)</autodoc> | |
17874 | <paramlist> | |
17875 | <param name="col" type="int" default=""/> | |
17876 | </paramlist> | |
17877 | </method> | |
17878 | <method name="SetState" type="" overloaded="no"> | |
17879 | <autodoc>SetState(long state)</autodoc> | |
17880 | <paramlist> | |
17881 | <param name="state" type="long" default=""/> | |
17882 | </paramlist> | |
17883 | </method> | |
17884 | <method name="SetStateMask" type="" overloaded="no"> | |
17885 | <autodoc>SetStateMask(long stateMask)</autodoc> | |
17886 | <paramlist> | |
17887 | <param name="stateMask" type="long" default=""/> | |
17888 | </paramlist> | |
17889 | </method> | |
17890 | <method name="SetText" type="" overloaded="no"> | |
17891 | <autodoc>SetText(String text)</autodoc> | |
17892 | <paramlist> | |
17893 | <param name="text" type="String" default=""/> | |
17894 | </paramlist> | |
17895 | </method> | |
17896 | <method name="SetImage" type="" overloaded="no"> | |
17897 | <autodoc>SetImage(int image)</autodoc> | |
17898 | <paramlist> | |
17899 | <param name="image" type="int" default=""/> | |
17900 | </paramlist> | |
17901 | </method> | |
17902 | <method name="SetData" type="" overloaded="no"> | |
17903 | <autodoc>SetData(long data)</autodoc> | |
17904 | <paramlist> | |
17905 | <param name="data" type="long" default=""/> | |
17906 | </paramlist> | |
17907 | </method> | |
17908 | <method name="SetWidth" type="" overloaded="no"> | |
17909 | <autodoc>SetWidth(int width)</autodoc> | |
17910 | <paramlist> | |
17911 | <param name="width" type="int" default=""/> | |
17912 | </paramlist> | |
17913 | </method> | |
17914 | <method name="SetAlign" type="" overloaded="no"> | |
17915 | <autodoc>SetAlign(int align)</autodoc> | |
17916 | <paramlist> | |
17917 | <param name="align" type="wxListColumnFormat" default=""/> | |
17918 | </paramlist> | |
17919 | </method> | |
17920 | <method name="SetTextColour" type="" overloaded="no"> | |
17921 | <autodoc>SetTextColour(Colour colText)</autodoc> | |
17922 | <paramlist> | |
17923 | <param name="colText" type="Colour" default=""/> | |
17924 | </paramlist> | |
17925 | </method> | |
17926 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
17927 | <autodoc>SetBackgroundColour(Colour colBack)</autodoc> | |
17928 | <paramlist> | |
17929 | <param name="colBack" type="Colour" default=""/> | |
17930 | </paramlist> | |
17931 | </method> | |
17932 | <method name="SetFont" type="" overloaded="no"> | |
17933 | <autodoc>SetFont(Font font)</autodoc> | |
17934 | <paramlist> | |
17935 | <param name="font" type="Font" default=""/> | |
17936 | </paramlist> | |
17937 | </method> | |
17938 | <method name="GetMask" type="long" overloaded="no"> | |
17939 | <autodoc>GetMask() -> long</autodoc> | |
17940 | </method> | |
17941 | <method name="GetId" type="long" overloaded="no"> | |
17942 | <autodoc>GetId() -> long</autodoc> | |
17943 | </method> | |
17944 | <method name="GetColumn" type="int" overloaded="no"> | |
17945 | <autodoc>GetColumn() -> int</autodoc> | |
17946 | </method> | |
17947 | <method name="GetState" type="long" overloaded="no"> | |
17948 | <autodoc>GetState() -> long</autodoc> | |
17949 | </method> | |
17950 | <method name="GetText" type="String" overloaded="no"> | |
17951 | <autodoc>GetText() -> String</autodoc> | |
17952 | </method> | |
17953 | <method name="GetImage" type="int" overloaded="no"> | |
17954 | <autodoc>GetImage() -> int</autodoc> | |
17955 | </method> | |
17956 | <method name="GetData" type="long" overloaded="no"> | |
17957 | <autodoc>GetData() -> long</autodoc> | |
17958 | </method> | |
17959 | <method name="GetWidth" type="int" overloaded="no"> | |
17960 | <autodoc>GetWidth() -> int</autodoc> | |
17961 | </method> | |
17962 | <method name="GetAlign" type="wxListColumnFormat" overloaded="no"> | |
17963 | <autodoc>GetAlign() -> int</autodoc> | |
17964 | </method> | |
17965 | <method name="GetAttributes" type="ListItemAttr" overloaded="no"> | |
17966 | <autodoc>GetAttributes() -> ListItemAttr</autodoc> | |
17967 | </method> | |
17968 | <method name="HasAttributes" type="bool" overloaded="no"> | |
17969 | <autodoc>HasAttributes() -> bool</autodoc> | |
17970 | </method> | |
17971 | <method name="GetTextColour" type="Colour" overloaded="no"> | |
17972 | <autodoc>GetTextColour() -> Colour</autodoc> | |
17973 | </method> | |
17974 | <method name="GetBackgroundColour" type="Colour" overloaded="no"> | |
17975 | <autodoc>GetBackgroundColour() -> Colour</autodoc> | |
17976 | </method> | |
17977 | <method name="GetFont" type="Font" overloaded="no"> | |
17978 | <autodoc>GetFont() -> Font</autodoc> | |
17979 | </method> | |
17980 | <property name="m_mask" type="long" readonly="no"/> | |
17981 | <property name="m_itemId" type="long" readonly="no"/> | |
17982 | <property name="m_col" type="int" readonly="no"/> | |
17983 | <property name="m_state" type="long" readonly="no"/> | |
17984 | <property name="m_stateMask" type="long" readonly="no"/> | |
17985 | <property name="m_text" type="String" readonly="no"/> | |
17986 | <property name="m_image" type="int" readonly="no"/> | |
17987 | <property name="m_data" type="long" readonly="no"/> | |
17988 | <property name="m_format" type="int" readonly="no"/> | |
17989 | <property name="m_width" type="int" readonly="no"/> | |
17990 | </class> | |
17991 | <pythoncode> | |
17992 | #--------------------------------------------------------------------------- | |
17993 | </pythoncode> | |
17994 | <class name="ListEvent" oldname="wxListEvent" module="controls"> | |
17995 | <baseclass name="NotifyEvent"/> | |
17996 | <constructor name="ListEvent" overloaded="no"> | |
17997 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> ListEvent</autodoc> | |
17998 | <paramlist> | |
17999 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
18000 | <param name="id" type="int" default="0"/> | |
18001 | </paramlist> | |
18002 | </constructor> | |
18003 | <property name="m_code" type="int" readonly="no"/> | |
18004 | <property name="m_oldItemIndex" type="long" readonly="no"/> | |
18005 | <property name="m_itemIndex" type="long" readonly="no"/> | |
18006 | <property name="m_col" type="int" readonly="no"/> | |
18007 | <property name="m_pointDrag" type="Point" readonly="no"/> | |
18008 | <property name="m_item" type="ListItem" readonly="yes"/> | |
18009 | <method name="GetKeyCode" type="int" overloaded="no"> | |
18010 | <autodoc>GetKeyCode() -> int</autodoc> | |
18011 | </method> | |
18012 | <method name="GetIndex" type="long" overloaded="no"> | |
18013 | <autodoc>GetIndex() -> long</autodoc> | |
18014 | </method> | |
18015 | <method name="GetColumn" type="int" overloaded="no"> | |
18016 | <autodoc>GetColumn() -> int</autodoc> | |
18017 | </method> | |
18018 | <method name="GetPoint" type="Point" overloaded="no"> | |
18019 | <autodoc>GetPoint() -> Point</autodoc> | |
18020 | </method> | |
18021 | <method name="GetLabel" type="String" overloaded="no"> | |
18022 | <autodoc>GetLabel() -> String</autodoc> | |
18023 | </method> | |
18024 | <method name="GetText" type="String" overloaded="no"> | |
18025 | <autodoc>GetText() -> String</autodoc> | |
18026 | </method> | |
18027 | <method name="GetImage" type="int" overloaded="no"> | |
18028 | <autodoc>GetImage() -> int</autodoc> | |
18029 | </method> | |
18030 | <method name="GetData" type="long" overloaded="no"> | |
18031 | <autodoc>GetData() -> long</autodoc> | |
18032 | </method> | |
18033 | <method name="GetMask" type="long" overloaded="no"> | |
18034 | <autodoc>GetMask() -> long</autodoc> | |
18035 | </method> | |
18036 | <method name="GetItem" type="ListItem" overloaded="no"> | |
18037 | <autodoc>GetItem() -> ListItem</autodoc> | |
18038 | </method> | |
18039 | <method name="GetCacheFrom" type="long" overloaded="no"> | |
18040 | <autodoc>GetCacheFrom() -> long</autodoc> | |
18041 | </method> | |
18042 | <method name="GetCacheTo" type="long" overloaded="no"> | |
18043 | <autodoc>GetCacheTo() -> long</autodoc> | |
18044 | </method> | |
18045 | <method name="IsEditCancelled" type="bool" overloaded="no"> | |
18046 | <autodoc>IsEditCancelled() -> bool</autodoc> | |
18047 | </method> | |
18048 | <method name="SetEditCanceled" type="" overloaded="no"> | |
18049 | <autodoc>SetEditCanceled(bool editCancelled)</autodoc> | |
18050 | <paramlist> | |
18051 | <param name="editCancelled" type="bool" default=""/> | |
18052 | </paramlist> | |
18053 | </method> | |
18054 | </class> | |
18055 | <pythoncode> | |
18056 | ||
18057 | EVT_LIST_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_DRAG , 1) | |
18058 | EVT_LIST_BEGIN_RDRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_RDRAG , 1) | |
18059 | EVT_LIST_BEGIN_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT , 1) | |
18060 | EVT_LIST_END_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_LIST_END_LABEL_EDIT , 1) | |
18061 | EVT_LIST_DELETE_ITEM = wx.PyEventBinder(wxEVT_COMMAND_LIST_DELETE_ITEM , 1) | |
18062 | EVT_LIST_DELETE_ALL_ITEMS = wx.PyEventBinder(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS , 1) | |
18063 | EVT_LIST_GET_INFO = wx.PyEventBinder(wxEVT_COMMAND_LIST_GET_INFO , 1) | |
18064 | EVT_LIST_SET_INFO = wx.PyEventBinder(wxEVT_COMMAND_LIST_SET_INFO , 1) | |
18065 | EVT_LIST_ITEM_SELECTED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_SELECTED , 1) | |
18066 | EVT_LIST_ITEM_DESELECTED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_DESELECTED , 1) | |
18067 | EVT_LIST_KEY_DOWN = wx.PyEventBinder(wxEVT_COMMAND_LIST_KEY_DOWN , 1) | |
18068 | EVT_LIST_INSERT_ITEM = wx.PyEventBinder(wxEVT_COMMAND_LIST_INSERT_ITEM , 1) | |
18069 | EVT_LIST_COL_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_CLICK , 1) | |
18070 | EVT_LIST_ITEM_RIGHT_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK , 1) | |
18071 | EVT_LIST_ITEM_MIDDLE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 1) | |
18072 | EVT_LIST_ITEM_ACTIVATED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_ACTIVATED , 1) | |
18073 | EVT_LIST_CACHE_HINT = wx.PyEventBinder(wxEVT_COMMAND_LIST_CACHE_HINT , 1) | |
18074 | EVT_LIST_COL_RIGHT_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK , 1) | |
18075 | EVT_LIST_COL_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG , 1) | |
18076 | EVT_LIST_COL_DRAGGING = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_DRAGGING , 1) | |
18077 | EVT_LIST_COL_END_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_END_DRAG , 1) | |
18078 | EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED , 1) | |
18079 | </pythoncode> | |
18080 | <pythoncode> | |
18081 | #--------------------------------------------------------------------------- | |
18082 | </pythoncode> | |
18083 | <class name="ListCtrl" oldname="wxPyListCtrl" module="controls"> | |
18084 | <baseclass name="Control"/> | |
18085 | <constructor name="wxPyListCtrl" overloaded="no"> | |
18086 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
18087 | Size size=DefaultSize, long style=LC_ICON, | |
18088 | Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> ListCtrl</autodoc> | |
18089 | <paramlist> | |
18090 | <param name="parent" type="Window" default=""/> | |
18091 | <param name="id" type="int" default="-1"/> | |
18092 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
18093 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18094 | <param name="style" type="long" default="wxLC_ICON"/> | |
18095 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
18096 | <param name="name" type="String" default="wxPyListCtrlNameStr"/> | |
18097 | </paramlist> | |
18098 | </constructor> | |
18099 | <constructor name="PreListCtrl" overloaded="no"> | |
18100 | <autodoc>PreListCtrl() -> ListCtrl</autodoc> | |
18101 | </constructor> | |
18102 | <method name="Create" type="bool" overloaded="no"> | |
18103 | <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, | |
18104 | Size size=DefaultSize, long style=LC_ICON, | |
18105 | Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> bool</autodoc> | |
c2dda882 | 18106 | <docstring>Do the 2nd phase and create the GUI control.</docstring> |
f32fc4bc RD |
18107 | <paramlist> |
18108 | <param name="parent" type="Window" default=""/> | |
18109 | <param name="id" type="int" default="-1"/> | |
18110 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
18111 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18112 | <param name="style" type="long" default="wxLC_ICON"/> | |
18113 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
18114 | <param name="name" type="String" default="wxPyListCtrlNameStr"/> | |
18115 | </paramlist> | |
18116 | </method> | |
18117 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
18118 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
18119 | <paramlist> | |
18120 | <param name="self" type="PyObject" default=""/> | |
18121 | <param name="_class" type="PyObject" default=""/> | |
18122 | </paramlist> | |
18123 | </method> | |
18124 | <method name="SetForegroundColour" type="bool" overloaded="no"> | |
18125 | <autodoc>SetForegroundColour(Colour col) -> bool</autodoc> | |
c2dda882 RD |
18126 | <docstring>Sets the foreground colour of the window. Returns True is the colour |
18127 | was changed. The interpretation of foreground colour is dependent on | |
18128 | the window class; it may be the text colour or other colour, or it may | |
18129 | not be used at all.</docstring> | |
f32fc4bc RD |
18130 | <paramlist> |
18131 | <param name="col" type="Colour" default=""/> | |
18132 | </paramlist> | |
18133 | </method> | |
18134 | <method name="SetBackgroundColour" type="bool" overloaded="no"> | |
18135 | <autodoc>SetBackgroundColour(Colour col) -> bool</autodoc> | |
c2dda882 RD |
18136 | <docstring>Sets the background colour of the window. Returns True if the colour |
18137 | was changed. The background colour is usually painted by the default | |
18138 | EVT_ERASE_BACKGROUND event handler function under Windows and | |
18139 | automatically under GTK. | |
18140 | ||
18141 | Note that setting the background colour does not cause an immediate | |
18142 | refresh, so you may wish to call ClearBackground or Refresh after | |
18143 | calling this function. | |
18144 | ||
18145 | Use this function with care under GTK+ as the new appearance of the | |
18146 | window might not look equally well when used with themes, i.e GTK+'s | |
18147 | ability to change its look as the user wishes with run-time loadable | |
18148 | modules.</docstring> | |
f32fc4bc RD |
18149 | <paramlist> |
18150 | <param name="col" type="Colour" default=""/> | |
18151 | </paramlist> | |
18152 | </method> | |
18153 | <method name="GetColumn" type="ListItem" overloaded="no"> | |
18154 | <autodoc>GetColumn(int col) -> ListItem</autodoc> | |
18155 | <paramlist> | |
18156 | <param name="col" type="int" default=""/> | |
18157 | </paramlist> | |
18158 | </method> | |
18159 | <method name="SetColumn" type="bool" overloaded="no"> | |
18160 | <autodoc>SetColumn(int col, ListItem item) -> bool</autodoc> | |
18161 | <paramlist> | |
18162 | <param name="col" type="int" default=""/> | |
18163 | <param name="item" type="ListItem" default=""/> | |
18164 | </paramlist> | |
18165 | </method> | |
18166 | <method name="GetColumnWidth" type="int" overloaded="no"> | |
18167 | <autodoc>GetColumnWidth(int col) -> int</autodoc> | |
18168 | <paramlist> | |
18169 | <param name="col" type="int" default=""/> | |
18170 | </paramlist> | |
18171 | </method> | |
18172 | <method name="SetColumnWidth" type="bool" overloaded="no"> | |
18173 | <autodoc>SetColumnWidth(int col, int width) -> bool</autodoc> | |
18174 | <paramlist> | |
18175 | <param name="col" type="int" default=""/> | |
18176 | <param name="width" type="int" default=""/> | |
18177 | </paramlist> | |
18178 | </method> | |
18179 | <method name="GetCountPerPage" type="int" overloaded="no"> | |
18180 | <autodoc>GetCountPerPage() -> int</autodoc> | |
18181 | </method> | |
18182 | <method name="GetViewRect" type="Rect" overloaded="no"> | |
18183 | <autodoc>GetViewRect() -> Rect</autodoc> | |
18184 | </method> | |
18185 | <method name="GetItem" type="ListItem" overloaded="no"> | |
18186 | <autodoc>GetItem(long itemId, int col=0) -> ListItem</autodoc> | |
18187 | <paramlist> | |
18188 | <param name="itemId" type="long" default=""/> | |
18189 | <param name="col" type="int" default="0"/> | |
18190 | </paramlist> | |
18191 | </method> | |
18192 | <method name="SetItem" type="bool" overloaded="no"> | |
18193 | <autodoc>SetItem(ListItem info) -> bool</autodoc> | |
18194 | <paramlist> | |
18195 | <param name="info" type="ListItem" default=""/> | |
18196 | </paramlist> | |
18197 | </method> | |
18198 | <method name="SetStringItem" type="long" overloaded="no"> | |
18199 | <autodoc>SetStringItem(long index, int col, String label, int imageId=-1) -> long</autodoc> | |
18200 | <paramlist> | |
18201 | <param name="index" type="long" default=""/> | |
18202 | <param name="col" type="int" default=""/> | |
18203 | <param name="label" type="String" default=""/> | |
18204 | <param name="imageId" type="int" default="-1"/> | |
18205 | </paramlist> | |
18206 | </method> | |
18207 | <method name="GetItemState" type="int" overloaded="no"> | |
18208 | <autodoc>GetItemState(long item, long stateMask) -> int</autodoc> | |
18209 | <paramlist> | |
18210 | <param name="item" type="long" default=""/> | |
18211 | <param name="stateMask" type="long" default=""/> | |
18212 | </paramlist> | |
18213 | </method> | |
18214 | <method name="SetItemState" type="bool" overloaded="no"> | |
18215 | <autodoc>SetItemState(long item, long state, long stateMask) -> bool</autodoc> | |
18216 | <paramlist> | |
18217 | <param name="item" type="long" default=""/> | |
18218 | <param name="state" type="long" default=""/> | |
18219 | <param name="stateMask" type="long" default=""/> | |
18220 | </paramlist> | |
18221 | </method> | |
18222 | <method name="SetItemImage" type="bool" overloaded="no"> | |
18223 | <autodoc>SetItemImage(long item, int image, int selImage) -> bool</autodoc> | |
18224 | <paramlist> | |
18225 | <param name="item" type="long" default=""/> | |
18226 | <param name="image" type="int" default=""/> | |
18227 | <param name="selImage" type="int" default=""/> | |
18228 | </paramlist> | |
18229 | </method> | |
18230 | <method name="GetItemText" type="String" overloaded="no"> | |
18231 | <autodoc>GetItemText(long item) -> String</autodoc> | |
18232 | <paramlist> | |
18233 | <param name="item" type="long" default=""/> | |
18234 | </paramlist> | |
18235 | </method> | |
18236 | <method name="SetItemText" type="" overloaded="no"> | |
18237 | <autodoc>SetItemText(long item, String str)</autodoc> | |
18238 | <paramlist> | |
18239 | <param name="item" type="long" default=""/> | |
18240 | <param name="str" type="String" default=""/> | |
18241 | </paramlist> | |
18242 | </method> | |
18243 | <method name="GetItemData" type="long" overloaded="no"> | |
18244 | <autodoc>GetItemData(long item) -> long</autodoc> | |
18245 | <paramlist> | |
18246 | <param name="item" type="long" default=""/> | |
18247 | </paramlist> | |
18248 | </method> | |
18249 | <method name="SetItemData" type="bool" overloaded="no"> | |
18250 | <autodoc>SetItemData(long item, long data) -> bool</autodoc> | |
18251 | <paramlist> | |
18252 | <param name="item" type="long" default=""/> | |
18253 | <param name="data" type="long" default=""/> | |
18254 | </paramlist> | |
18255 | </method> | |
18256 | <method name="GetItemPosition" type="Point" overloaded="no"> | |
18257 | <autodoc>GetItemPosition(long item) -> Point</autodoc> | |
18258 | <paramlist> | |
18259 | <param name="item" type="long" default=""/> | |
18260 | </paramlist> | |
18261 | </method> | |
18262 | <method name="GetItemRect" type="Rect" overloaded="no"> | |
18263 | <autodoc>GetItemRect(long item, int code=LIST_RECT_BOUNDS) -> Rect</autodoc> | |
18264 | <paramlist> | |
18265 | <param name="item" type="long" default=""/> | |
18266 | <param name="code" type="int" default="wxLIST_RECT_BOUNDS"/> | |
18267 | </paramlist> | |
18268 | </method> | |
18269 | <method name="SetItemPosition" type="bool" overloaded="no"> | |
18270 | <autodoc>SetItemPosition(long item, Point pos) -> bool</autodoc> | |
18271 | <paramlist> | |
18272 | <param name="item" type="long" default=""/> | |
18273 | <param name="pos" type="Point" default=""/> | |
18274 | </paramlist> | |
18275 | </method> | |
18276 | <method name="GetItemCount" type="int" overloaded="no"> | |
18277 | <autodoc>GetItemCount() -> int</autodoc> | |
18278 | </method> | |
18279 | <method name="GetColumnCount" type="int" overloaded="no"> | |
18280 | <autodoc>GetColumnCount() -> int</autodoc> | |
18281 | </method> | |
18282 | <method name="GetItemSpacing" type="Size" overloaded="no"> | |
18283 | <autodoc>GetItemSpacing() -> Size</autodoc> | |
18284 | </method> | |
18285 | <method name="SetItemSpacing" type="" overloaded="no"> | |
18286 | <autodoc>SetItemSpacing(int spacing, bool isSmall=False)</autodoc> | |
18287 | <paramlist> | |
18288 | <param name="spacing" type="int" default=""/> | |
18289 | <param name="isSmall" type="bool" default="False"/> | |
18290 | </paramlist> | |
18291 | </method> | |
18292 | <method name="GetSelectedItemCount" type="int" overloaded="no"> | |
18293 | <autodoc>GetSelectedItemCount() -> int</autodoc> | |
18294 | </method> | |
18295 | <method name="GetTextColour" type="Colour" overloaded="no"> | |
18296 | <autodoc>GetTextColour() -> Colour</autodoc> | |
18297 | </method> | |
18298 | <method name="SetTextColour" type="" overloaded="no"> | |
18299 | <autodoc>SetTextColour(Colour col)</autodoc> | |
18300 | <paramlist> | |
18301 | <param name="col" type="Colour" default=""/> | |
18302 | </paramlist> | |
18303 | </method> | |
18304 | <method name="GetTopItem" type="long" overloaded="no"> | |
18305 | <autodoc>GetTopItem() -> long</autodoc> | |
18306 | </method> | |
18307 | <method name="SetSingleStyle" type="" overloaded="no"> | |
18308 | <autodoc>SetSingleStyle(long style, bool add=True)</autodoc> | |
18309 | <paramlist> | |
18310 | <param name="style" type="long" default=""/> | |
18311 | <param name="add" type="bool" default="True"/> | |
18312 | </paramlist> | |
18313 | </method> | |
18314 | <method name="SetWindowStyleFlag" type="" overloaded="no"> | |
18315 | <autodoc>SetWindowStyleFlag(long style)</autodoc> | |
c2dda882 RD |
18316 | <docstring>Sets the style of the window. Please note that some styles cannot be |
18317 | changed after the window creation and that Refresh() might be called | |
18318 | after changing the others for the change to take place immediately.</docstring> | |
f32fc4bc RD |
18319 | <paramlist> |
18320 | <param name="style" type="long" default=""/> | |
18321 | </paramlist> | |
18322 | </method> | |
18323 | <method name="GetNextItem" type="long" overloaded="no"> | |
18324 | <autodoc>GetNextItem(long item, int geometry=LIST_NEXT_ALL, int state=LIST_STATE_DONTCARE) -> long</autodoc> | |
18325 | <paramlist> | |
18326 | <param name="item" type="long" default=""/> | |
18327 | <param name="geometry" type="int" default="wxLIST_NEXT_ALL"/> | |
18328 | <param name="state" type="int" default="wxLIST_STATE_DONTCARE"/> | |
18329 | </paramlist> | |
18330 | </method> | |
18331 | <method name="GetImageList" type="ImageList" overloaded="no"> | |
18332 | <autodoc>GetImageList(int which) -> ImageList</autodoc> | |
18333 | <paramlist> | |
18334 | <param name="which" type="int" default=""/> | |
18335 | </paramlist> | |
18336 | </method> | |
18337 | <method name="SetImageList" type="" overloaded="no"> | |
18338 | <autodoc>SetImageList(ImageList imageList, int which)</autodoc> | |
18339 | <paramlist> | |
18340 | <param name="imageList" type="ImageList" default=""/> | |
18341 | <param name="which" type="int" default=""/> | |
18342 | </paramlist> | |
18343 | </method> | |
18344 | <method name="AssignImageList" type="" overloaded="no"> | |
18345 | <autodoc>AssignImageList(ImageList imageList, int which)</autodoc> | |
18346 | <paramlist> | |
18347 | <param name="imageList" type="ImageList" default=""/> | |
18348 | <param name="which" type="int" default=""/> | |
18349 | </paramlist> | |
18350 | </method> | |
b39e211b RD |
18351 | <method name="InReportView" type="bool" overloaded="no"> |
18352 | <autodoc>InReportView() -> bool</autodoc> | |
18353 | </method> | |
f32fc4bc RD |
18354 | <method name="IsVirtual" type="bool" overloaded="no"> |
18355 | <autodoc>IsVirtual() -> bool</autodoc> | |
18356 | </method> | |
18357 | <method name="RefreshItem" type="" overloaded="no"> | |
18358 | <autodoc>RefreshItem(long item)</autodoc> | |
18359 | <paramlist> | |
18360 | <param name="item" type="long" default=""/> | |
18361 | </paramlist> | |
18362 | </method> | |
18363 | <method name="RefreshItems" type="" overloaded="no"> | |
18364 | <autodoc>RefreshItems(long itemFrom, long itemTo)</autodoc> | |
18365 | <paramlist> | |
18366 | <param name="itemFrom" type="long" default=""/> | |
18367 | <param name="itemTo" type="long" default=""/> | |
18368 | </paramlist> | |
18369 | </method> | |
18370 | <method name="Arrange" type="bool" overloaded="no"> | |
18371 | <autodoc>Arrange(int flag=LIST_ALIGN_DEFAULT) -> bool</autodoc> | |
18372 | <paramlist> | |
18373 | <param name="flag" type="int" default="wxLIST_ALIGN_DEFAULT"/> | |
18374 | </paramlist> | |
18375 | </method> | |
18376 | <method name="DeleteItem" type="bool" overloaded="no"> | |
18377 | <autodoc>DeleteItem(long item) -> bool</autodoc> | |
18378 | <paramlist> | |
18379 | <param name="item" type="long" default=""/> | |
18380 | </paramlist> | |
18381 | </method> | |
18382 | <method name="DeleteAllItems" type="bool" overloaded="no"> | |
18383 | <autodoc>DeleteAllItems() -> bool</autodoc> | |
18384 | </method> | |
18385 | <method name="DeleteColumn" type="bool" overloaded="no"> | |
18386 | <autodoc>DeleteColumn(int col) -> bool</autodoc> | |
18387 | <paramlist> | |
18388 | <param name="col" type="int" default=""/> | |
18389 | </paramlist> | |
18390 | </method> | |
18391 | <method name="DeleteAllColumns" type="bool" overloaded="no"> | |
18392 | <autodoc>DeleteAllColumns() -> bool</autodoc> | |
18393 | </method> | |
18394 | <method name="ClearAll" type="" overloaded="no"> | |
18395 | <autodoc>ClearAll()</autodoc> | |
18396 | </method> | |
18397 | <method name="EditLabel" type="" overloaded="no"> | |
18398 | <autodoc>EditLabel(long item)</autodoc> | |
18399 | <paramlist> | |
18400 | <param name="item" type="long" default=""/> | |
18401 | </paramlist> | |
18402 | </method> | |
18403 | <method name="EnsureVisible" type="bool" overloaded="no"> | |
18404 | <autodoc>EnsureVisible(long item) -> bool</autodoc> | |
18405 | <paramlist> | |
18406 | <param name="item" type="long" default=""/> | |
18407 | </paramlist> | |
18408 | </method> | |
18409 | <method name="FindItem" type="long" overloaded="no"> | |
18410 | <autodoc>FindItem(long start, String str, bool partial=False) -> long</autodoc> | |
18411 | <paramlist> | |
18412 | <param name="start" type="long" default=""/> | |
18413 | <param name="str" type="String" default=""/> | |
18414 | <param name="partial" type="bool" default="False"/> | |
18415 | </paramlist> | |
18416 | </method> | |
18417 | <method name="FindItemData" type="long" overloaded="no"> | |
18418 | <autodoc>FindItemData(long start, long data) -> long</autodoc> | |
18419 | <paramlist> | |
18420 | <param name="start" type="long" default=""/> | |
18421 | <param name="data" type="long" default=""/> | |
18422 | </paramlist> | |
18423 | </method> | |
18424 | <method name="FindItemAtPos" type="long" overloaded="no"> | |
18425 | <autodoc>FindItemAtPos(long start, Point pt, int direction) -> long</autodoc> | |
18426 | <paramlist> | |
18427 | <param name="start" type="long" default=""/> | |
18428 | <param name="pt" type="Point" default=""/> | |
18429 | <param name="direction" type="int" default=""/> | |
18430 | </paramlist> | |
18431 | </method> | |
18432 | <method name="HitTest" type="long" overloaded="no"> | |
18433 | <autodoc>HitTest(Point point) -> (item, where)</autodoc> | |
18434 | <docstring>Determines which item (if any) is at the specified point, | |
18435 | giving details in the second return value (see wxLIST_HITTEST_... flags.)</docstring> | |
18436 | <paramlist> | |
18437 | <param name="point" type="Point" default=""/> | |
18438 | <param name="OUTPUT" type="int" default=""/> | |
18439 | </paramlist> | |
18440 | </method> | |
18441 | <method name="InsertItem" type="long" overloaded="no"> | |
18442 | <autodoc>InsertItem(ListItem info) -> long</autodoc> | |
18443 | <paramlist> | |
18444 | <param name="info" type="ListItem" default=""/> | |
18445 | </paramlist> | |
18446 | </method> | |
18447 | <method name="InsertStringItem" type="long" overloaded="no"> | |
18448 | <autodoc>InsertStringItem(long index, String label) -> long</autodoc> | |
18449 | <paramlist> | |
18450 | <param name="index" type="long" default=""/> | |
18451 | <param name="label" type="String" default=""/> | |
18452 | </paramlist> | |
18453 | </method> | |
18454 | <method name="InsertImageItem" type="long" overloaded="no"> | |
18455 | <autodoc>InsertImageItem(long index, int imageIndex) -> long</autodoc> | |
18456 | <paramlist> | |
18457 | <param name="index" type="long" default=""/> | |
18458 | <param name="imageIndex" type="int" default=""/> | |
18459 | </paramlist> | |
18460 | </method> | |
18461 | <method name="InsertImageStringItem" type="long" overloaded="no"> | |
18462 | <autodoc>InsertImageStringItem(long index, String label, int imageIndex) -> long</autodoc> | |
18463 | <paramlist> | |
18464 | <param name="index" type="long" default=""/> | |
18465 | <param name="label" type="String" default=""/> | |
18466 | <param name="imageIndex" type="int" default=""/> | |
18467 | </paramlist> | |
18468 | </method> | |
18469 | <method name="InsertColumnInfo" type="long" overloaded="no"> | |
18470 | <autodoc>InsertColumnInfo(long col, ListItem info) -> long</autodoc> | |
18471 | <paramlist> | |
18472 | <param name="col" type="long" default=""/> | |
18473 | <param name="info" type="ListItem" default=""/> | |
18474 | </paramlist> | |
18475 | </method> | |
18476 | <method name="InsertColumn" type="long" overloaded="no"> | |
18477 | <autodoc>InsertColumn(long col, String heading, int format=LIST_FORMAT_LEFT, | |
18478 | int width=-1) -> long</autodoc> | |
18479 | <paramlist> | |
18480 | <param name="col" type="long" default=""/> | |
18481 | <param name="heading" type="String" default=""/> | |
18482 | <param name="format" type="int" default="wxLIST_FORMAT_LEFT"/> | |
18483 | <param name="width" type="int" default="-1"/> | |
18484 | </paramlist> | |
18485 | </method> | |
18486 | <method name="SetItemCount" type="" overloaded="no"> | |
18487 | <autodoc>SetItemCount(long count)</autodoc> | |
18488 | <paramlist> | |
18489 | <param name="count" type="long" default=""/> | |
18490 | </paramlist> | |
18491 | </method> | |
18492 | <method name="ScrollList" type="bool" overloaded="no"> | |
18493 | <autodoc>ScrollList(int dx, int dy) -> bool</autodoc> | |
18494 | <paramlist> | |
18495 | <param name="dx" type="int" default=""/> | |
18496 | <param name="dy" type="int" default=""/> | |
18497 | </paramlist> | |
18498 | </method> | |
18499 | <method name="SetItemTextColour" type="" overloaded="no"> | |
18500 | <autodoc>SetItemTextColour(long item, Colour col)</autodoc> | |
18501 | <paramlist> | |
18502 | <param name="item" type="long" default=""/> | |
18503 | <param name="col" type="Colour" default=""/> | |
18504 | </paramlist> | |
18505 | </method> | |
18506 | <method name="GetItemTextColour" type="Colour" overloaded="no"> | |
18507 | <autodoc>GetItemTextColour(long item) -> Colour</autodoc> | |
18508 | <paramlist> | |
18509 | <param name="item" type="long" default=""/> | |
18510 | </paramlist> | |
18511 | </method> | |
18512 | <method name="SetItemBackgroundColour" type="" overloaded="no"> | |
18513 | <autodoc>SetItemBackgroundColour(long item, Colour col)</autodoc> | |
18514 | <paramlist> | |
18515 | <param name="item" type="long" default=""/> | |
18516 | <param name="col" type="Colour" default=""/> | |
18517 | </paramlist> | |
18518 | </method> | |
18519 | <method name="GetItemBackgroundColour" type="Colour" overloaded="no"> | |
18520 | <autodoc>GetItemBackgroundColour(long item) -> Colour</autodoc> | |
18521 | <paramlist> | |
18522 | <param name="item" type="long" default=""/> | |
18523 | </paramlist> | |
18524 | </method> | |
18525 | <method name="SortItems" type="bool" overloaded="no"> | |
18526 | <autodoc>SortItems(PyObject func) -> bool</autodoc> | |
18527 | <paramlist> | |
18528 | <param name="func" type="PyObject" default=""/> | |
18529 | </paramlist> | |
18530 | </method> | |
18531 | <method name="GetMainWindow" type="Window" overloaded="no"> | |
18532 | <autodoc>GetMainWindow() -> Window</autodoc> | |
18533 | </method> | |
18534 | </class> | |
18535 | <pythoncode> | |
18536 | #--------------------------------------------------------------------------- | |
18537 | </pythoncode> | |
18538 | <class name="ListView" oldname="wxListView" module="controls"> | |
18539 | <baseclass name="ListCtrl"/> | |
18540 | <constructor name="ListView" overloaded="no"> | |
18541 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
18542 | Size size=DefaultSize, long style=LC_REPORT, | |
18543 | Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> ListView</autodoc> | |
18544 | <paramlist> | |
18545 | <param name="parent" type="Window" default=""/> | |
18546 | <param name="id" type="int" default="-1"/> | |
18547 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
18548 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18549 | <param name="style" type="long" default="wxLC_REPORT"/> | |
18550 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
18551 | <param name="name" type="String" default="wxPyListCtrlNameStr"/> | |
18552 | </paramlist> | |
18553 | </constructor> | |
18554 | <constructor name="PreListView" overloaded="no"> | |
18555 | <autodoc>PreListView() -> ListView</autodoc> | |
18556 | </constructor> | |
18557 | <method name="Create" type="bool" overloaded="no"> | |
18558 | <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, | |
18559 | Size size=DefaultSize, long style=LC_REPORT, | |
18560 | Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> bool</autodoc> | |
c2dda882 | 18561 | <docstring>Do the 2nd phase and create the GUI control.</docstring> |
f32fc4bc RD |
18562 | <paramlist> |
18563 | <param name="parent" type="Window" default=""/> | |
18564 | <param name="id" type="int" default="-1"/> | |
18565 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
18566 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18567 | <param name="style" type="long" default="wxLC_REPORT"/> | |
18568 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
18569 | <param name="name" type="String" default="wxPyListCtrlNameStr"/> | |
18570 | </paramlist> | |
18571 | </method> | |
18572 | <method name="Select" type="" overloaded="no"> | |
18573 | <autodoc>Select(long n, bool on=True)</autodoc> | |
18574 | <paramlist> | |
18575 | <param name="n" type="long" default=""/> | |
18576 | <param name="on" type="bool" default="True"/> | |
18577 | </paramlist> | |
18578 | </method> | |
18579 | <method name="Focus" type="" overloaded="no"> | |
18580 | <autodoc>Focus(long index)</autodoc> | |
18581 | <paramlist> | |
18582 | <param name="index" type="long" default=""/> | |
18583 | </paramlist> | |
18584 | </method> | |
18585 | <method name="GetFocusedItem" type="long" overloaded="no"> | |
18586 | <autodoc>GetFocusedItem() -> long</autodoc> | |
18587 | </method> | |
18588 | <method name="GetNextSelected" type="long" overloaded="no"> | |
18589 | <autodoc>GetNextSelected(long item) -> long</autodoc> | |
18590 | <paramlist> | |
18591 | <param name="item" type="long" default=""/> | |
18592 | </paramlist> | |
18593 | </method> | |
18594 | <method name="GetFirstSelected" type="long" overloaded="no"> | |
18595 | <autodoc>GetFirstSelected() -> long</autodoc> | |
18596 | </method> | |
18597 | <method name="IsSelected" type="bool" overloaded="no"> | |
18598 | <autodoc>IsSelected(long index) -> bool</autodoc> | |
18599 | <paramlist> | |
18600 | <param name="index" type="long" default=""/> | |
18601 | </paramlist> | |
18602 | </method> | |
18603 | <method name="SetColumnImage" type="" overloaded="no"> | |
18604 | <autodoc>SetColumnImage(int col, int image)</autodoc> | |
18605 | <paramlist> | |
18606 | <param name="col" type="int" default=""/> | |
18607 | <param name="image" type="int" default=""/> | |
18608 | </paramlist> | |
18609 | </method> | |
18610 | <method name="ClearColumnImage" type="" overloaded="no"> | |
18611 | <autodoc>ClearColumnImage(int col)</autodoc> | |
18612 | <paramlist> | |
18613 | <param name="col" type="int" default=""/> | |
18614 | </paramlist> | |
18615 | </method> | |
18616 | </class> | |
18617 | <pythoncode> | |
18618 | #--------------------------------------------------------------------------- | |
18619 | </pythoncode> | |
18620 | <pythoncode> | |
18621 | #--------------------------------------------------------------------------- | |
18622 | </pythoncode> | |
18623 | <class name="TreeItemId" oldname="wxTreeItemId" module="controls"> | |
18624 | <constructor name="TreeItemId" overloaded="no"> | |
18625 | <autodoc>__init__() -> TreeItemId</autodoc> | |
18626 | </constructor> | |
18627 | <destructor name="~wxTreeItemId" overloaded="no"> | |
18628 | <autodoc>__del__()</autodoc> | |
18629 | </destructor> | |
18630 | <method name="IsOk" type="bool" overloaded="no"> | |
18631 | <autodoc>IsOk() -> bool</autodoc> | |
18632 | </method> | |
18633 | <method name="__eq__" type="bool" overloaded="no"> | |
18634 | <autodoc>__eq__(TreeItemId other) -> bool</autodoc> | |
18635 | <paramlist> | |
18636 | <param name="other" type="TreeItemId" default=""/> | |
18637 | </paramlist> | |
18638 | </method> | |
18639 | <method name="__ne__" type="bool" overloaded="no"> | |
18640 | <autodoc>__ne__(TreeItemId other) -> bool</autodoc> | |
18641 | <paramlist> | |
18642 | <param name="other" type="TreeItemId" default=""/> | |
18643 | </paramlist> | |
18644 | </method> | |
18645 | <property name="m_pItem" type="" readonly="no"/> | |
18646 | </class> | |
18647 | <class name="TreeItemData" oldname="wxPyTreeItemData" module="controls"> | |
18648 | <constructor name="wxPyTreeItemData" overloaded="no"> | |
18649 | <autodoc>__init__(PyObject obj=None) -> TreeItemData</autodoc> | |
18650 | <paramlist> | |
18651 | <param name="obj" type="PyObject" default="NULL"/> | |
18652 | </paramlist> | |
18653 | </constructor> | |
18654 | <method name="GetData" type="PyObject" overloaded="no"> | |
18655 | <autodoc>GetData() -> PyObject</autodoc> | |
18656 | </method> | |
18657 | <method name="SetData" type="" overloaded="no"> | |
18658 | <autodoc>SetData(PyObject obj)</autodoc> | |
18659 | <paramlist> | |
18660 | <param name="obj" type="PyObject" default=""/> | |
18661 | </paramlist> | |
18662 | </method> | |
18663 | <method name="GetId" type="TreeItemId" overloaded="no"> | |
18664 | <autodoc>GetId() -> TreeItemId</autodoc> | |
18665 | </method> | |
18666 | <method name="SetId" type="" overloaded="no"> | |
18667 | <autodoc>SetId(TreeItemId id)</autodoc> | |
18668 | <paramlist> | |
18669 | <param name="id" type="TreeItemId" default=""/> | |
18670 | </paramlist> | |
18671 | </method> | |
18672 | <method name="Destroy" type="" overloaded="no"> | |
18673 | <autodoc>Destroy()</autodoc> | |
18674 | </method> | |
18675 | </class> | |
18676 | <pythoncode> | |
18677 | #--------------------------------------------------------------------------- | |
18678 | </pythoncode> | |
18679 | <pythoncode> | |
18680 | ||
18681 | EVT_TREE_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_DRAG , 1) | |
18682 | EVT_TREE_BEGIN_RDRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_RDRAG , 1) | |
18683 | EVT_TREE_BEGIN_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT , 1) | |
18684 | EVT_TREE_END_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_TREE_END_LABEL_EDIT , 1) | |
18685 | EVT_TREE_DELETE_ITEM = wx.PyEventBinder(wxEVT_COMMAND_TREE_DELETE_ITEM , 1) | |
18686 | EVT_TREE_GET_INFO = wx.PyEventBinder(wxEVT_COMMAND_TREE_GET_INFO , 1) | |
18687 | EVT_TREE_SET_INFO = wx.PyEventBinder(wxEVT_COMMAND_TREE_SET_INFO , 1) | |
18688 | EVT_TREE_ITEM_EXPANDED = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_EXPANDED , 1) | |
18689 | EVT_TREE_ITEM_EXPANDING = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_EXPANDING , 1) | |
18690 | EVT_TREE_ITEM_COLLAPSED = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_COLLAPSED , 1) | |
18691 | EVT_TREE_ITEM_COLLAPSING = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_COLLAPSING , 1) | |
18692 | EVT_TREE_SEL_CHANGED = wx.PyEventBinder(wxEVT_COMMAND_TREE_SEL_CHANGED , 1) | |
18693 | EVT_TREE_SEL_CHANGING = wx.PyEventBinder(wxEVT_COMMAND_TREE_SEL_CHANGING , 1) | |
18694 | EVT_TREE_KEY_DOWN = wx.PyEventBinder(wxEVT_COMMAND_TREE_KEY_DOWN , 1) | |
18695 | EVT_TREE_ITEM_ACTIVATED = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_ACTIVATED , 1) | |
18696 | EVT_TREE_ITEM_RIGHT_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK , 1) | |
18697 | EVT_TREE_ITEM_MIDDLE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 1) | |
18698 | EVT_TREE_END_DRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_END_DRAG , 1) | |
18699 | EVT_TREE_STATE_IMAGE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 1) | |
18700 | EVT_TREE_ITEM_GETTOOLTIP = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 1) | |
18701 | </pythoncode> | |
18702 | <class name="TreeEvent" oldname="wxTreeEvent" module="controls"> | |
18703 | <baseclass name="NotifyEvent"/> | |
18704 | <constructor name="TreeEvent" overloaded="no"> | |
18705 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> TreeEvent</autodoc> | |
18706 | <paramlist> | |
18707 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
18708 | <param name="id" type="int" default="0"/> | |
18709 | </paramlist> | |
18710 | </constructor> | |
18711 | <method name="GetItem" type="TreeItemId" overloaded="no"> | |
18712 | <autodoc>GetItem() -> TreeItemId</autodoc> | |
18713 | </method> | |
18714 | <method name="SetItem" type="" overloaded="no"> | |
18715 | <autodoc>SetItem(TreeItemId item)</autodoc> | |
18716 | <paramlist> | |
18717 | <param name="item" type="TreeItemId" default=""/> | |
18718 | </paramlist> | |
18719 | </method> | |
18720 | <method name="GetOldItem" type="TreeItemId" overloaded="no"> | |
18721 | <autodoc>GetOldItem() -> TreeItemId</autodoc> | |
18722 | </method> | |
18723 | <method name="SetOldItem" type="" overloaded="no"> | |
18724 | <autodoc>SetOldItem(TreeItemId item)</autodoc> | |
18725 | <paramlist> | |
18726 | <param name="item" type="TreeItemId" default=""/> | |
18727 | </paramlist> | |
18728 | </method> | |
18729 | <method name="GetPoint" type="Point" overloaded="no"> | |
18730 | <autodoc>GetPoint() -> Point</autodoc> | |
18731 | </method> | |
18732 | <method name="SetPoint" type="" overloaded="no"> | |
18733 | <autodoc>SetPoint(Point pt)</autodoc> | |
18734 | <paramlist> | |
18735 | <param name="pt" type="Point" default=""/> | |
18736 | </paramlist> | |
18737 | </method> | |
18738 | <method name="GetKeyEvent" type="KeyEvent" overloaded="no"> | |
18739 | <autodoc>GetKeyEvent() -> KeyEvent</autodoc> | |
18740 | </method> | |
18741 | <method name="GetKeyCode" type="int" overloaded="no"> | |
18742 | <autodoc>GetKeyCode() -> int</autodoc> | |
18743 | </method> | |
18744 | <method name="SetKeyEvent" type="" overloaded="no"> | |
18745 | <autodoc>SetKeyEvent(KeyEvent evt)</autodoc> | |
18746 | <paramlist> | |
18747 | <param name="evt" type="KeyEvent" default=""/> | |
18748 | </paramlist> | |
18749 | </method> | |
18750 | <method name="GetLabel" type="String" overloaded="no"> | |
18751 | <autodoc>GetLabel() -> String</autodoc> | |
18752 | </method> | |
18753 | <method name="SetLabel" type="" overloaded="no"> | |
18754 | <autodoc>SetLabel(String label)</autodoc> | |
18755 | <paramlist> | |
18756 | <param name="label" type="String" default=""/> | |
18757 | </paramlist> | |
18758 | </method> | |
18759 | <method name="IsEditCancelled" type="bool" overloaded="no"> | |
18760 | <autodoc>IsEditCancelled() -> bool</autodoc> | |
18761 | </method> | |
18762 | <method name="SetEditCanceled" type="" overloaded="no"> | |
18763 | <autodoc>SetEditCanceled(bool editCancelled)</autodoc> | |
18764 | <paramlist> | |
18765 | <param name="editCancelled" type="bool" default=""/> | |
18766 | </paramlist> | |
18767 | </method> | |
18768 | <method name="SetToolTip" type="" overloaded="no"> | |
18769 | <autodoc>SetToolTip(String toolTip)</autodoc> | |
18770 | <paramlist> | |
18771 | <param name="toolTip" type="String" default=""/> | |
18772 | </paramlist> | |
18773 | </method> | |
18774 | </class> | |
18775 | <pythoncode> | |
18776 | #--------------------------------------------------------------------------- | |
18777 | </pythoncode> | |
18778 | <class name="TreeCtrl" oldname="wxPyTreeCtrl" module="controls"> | |
18779 | <baseclass name="Control"/> | |
18780 | <constructor name="wxPyTreeCtrl" overloaded="no"> | |
18781 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
18782 | Size size=DefaultSize, long style=TR_DEFAULT_STYLE, | |
18783 | Validator validator=DefaultValidator, | |
18784 | String name=TreeCtrlNameStr) -> TreeCtrl</autodoc> | |
18785 | <paramlist> | |
18786 | <param name="parent" type="Window" default=""/> | |
18787 | <param name="id" type="int" default="-1"/> | |
18788 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
18789 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18790 | <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/> | |
18791 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
18792 | <param name="name" type="String" default="wxPyTreeCtrlNameStr"/> | |
18793 | </paramlist> | |
18794 | </constructor> | |
18795 | <constructor name="PreTreeCtrl" overloaded="no"> | |
18796 | <autodoc>PreTreeCtrl() -> TreeCtrl</autodoc> | |
18797 | </constructor> | |
18798 | <method name="Create" type="bool" overloaded="no"> | |
18799 | <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, | |
18800 | Size size=DefaultSize, long style=TR_DEFAULT_STYLE, | |
18801 | Validator validator=DefaultValidator, | |
18802 | String name=TreeCtrlNameStr) -> bool</autodoc> | |
c2dda882 | 18803 | <docstring>Do the 2nd phase and create the GUI control.</docstring> |
f32fc4bc RD |
18804 | <paramlist> |
18805 | <param name="parent" type="Window" default=""/> | |
18806 | <param name="id" type="int" default="-1"/> | |
18807 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
18808 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18809 | <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/> | |
18810 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
18811 | <param name="name" type="String" default="wxPyTreeCtrlNameStr"/> | |
18812 | </paramlist> | |
18813 | </method> | |
18814 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
18815 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
18816 | <paramlist> | |
18817 | <param name="self" type="PyObject" default=""/> | |
18818 | <param name="_class" type="PyObject" default=""/> | |
18819 | </paramlist> | |
18820 | </method> | |
18821 | <method name="GetCount" type="size_t" overloaded="no"> | |
18822 | <autodoc>GetCount() -> size_t</autodoc> | |
18823 | </method> | |
18824 | <method name="GetIndent" type="unsigned int" overloaded="no"> | |
18825 | <autodoc>GetIndent() -> unsigned int</autodoc> | |
18826 | </method> | |
18827 | <method name="SetIndent" type="" overloaded="no"> | |
18828 | <autodoc>SetIndent(unsigned int indent)</autodoc> | |
18829 | <paramlist> | |
18830 | <param name="indent" type="unsigned int" default=""/> | |
18831 | </paramlist> | |
18832 | </method> | |
18833 | <method name="GetSpacing" type="unsigned int" overloaded="no"> | |
18834 | <autodoc>GetSpacing() -> unsigned int</autodoc> | |
18835 | </method> | |
18836 | <method name="SetSpacing" type="" overloaded="no"> | |
18837 | <autodoc>SetSpacing(unsigned int spacing)</autodoc> | |
18838 | <paramlist> | |
18839 | <param name="spacing" type="unsigned int" default=""/> | |
18840 | </paramlist> | |
18841 | </method> | |
18842 | <method name="GetImageList" type="ImageList" overloaded="no"> | |
18843 | <autodoc>GetImageList() -> ImageList</autodoc> | |
18844 | </method> | |
18845 | <method name="GetStateImageList" type="ImageList" overloaded="no"> | |
18846 | <autodoc>GetStateImageList() -> ImageList</autodoc> | |
18847 | </method> | |
18848 | <method name="SetImageList" type="" overloaded="no"> | |
18849 | <autodoc>SetImageList(ImageList imageList)</autodoc> | |
18850 | <paramlist> | |
18851 | <param name="imageList" type="ImageList" default=""/> | |
18852 | </paramlist> | |
18853 | </method> | |
18854 | <method name="SetStateImageList" type="" overloaded="no"> | |
18855 | <autodoc>SetStateImageList(ImageList imageList)</autodoc> | |
18856 | <paramlist> | |
18857 | <param name="imageList" type="ImageList" default=""/> | |
18858 | </paramlist> | |
18859 | </method> | |
18860 | <method name="AssignImageList" type="" overloaded="no"> | |
18861 | <autodoc>AssignImageList(ImageList imageList)</autodoc> | |
18862 | <paramlist> | |
18863 | <param name="imageList" type="ImageList" default=""/> | |
18864 | </paramlist> | |
18865 | </method> | |
18866 | <method name="AssignStateImageList" type="" overloaded="no"> | |
18867 | <autodoc>AssignStateImageList(ImageList imageList)</autodoc> | |
18868 | <paramlist> | |
18869 | <param name="imageList" type="ImageList" default=""/> | |
18870 | </paramlist> | |
18871 | </method> | |
18872 | <method name="GetItemText" type="String" overloaded="no"> | |
18873 | <autodoc>GetItemText(TreeItemId item) -> String</autodoc> | |
18874 | <paramlist> | |
18875 | <param name="item" type="TreeItemId" default=""/> | |
18876 | </paramlist> | |
18877 | </method> | |
18878 | <method name="GetItemImage" type="int" overloaded="no"> | |
18879 | <autodoc>GetItemImage(TreeItemId item, int which=TreeItemIcon_Normal) -> int</autodoc> | |
18880 | <paramlist> | |
18881 | <param name="item" type="TreeItemId" default=""/> | |
18882 | <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/> | |
18883 | </paramlist> | |
18884 | </method> | |
18885 | <method name="GetItemData" type="TreeItemData" overloaded="no"> | |
18886 | <autodoc>GetItemData(TreeItemId item) -> TreeItemData</autodoc> | |
18887 | <paramlist> | |
18888 | <param name="item" type="TreeItemId" default=""/> | |
18889 | </paramlist> | |
18890 | </method> | |
18891 | <method name="GetItemPyData" type="PyObject" overloaded="no"> | |
18892 | <autodoc>GetItemPyData(TreeItemId item) -> PyObject</autodoc> | |
18893 | <paramlist> | |
18894 | <param name="item" type="TreeItemId" default=""/> | |
18895 | </paramlist> | |
18896 | </method> | |
18897 | <method name="GetItemTextColour" type="Colour" overloaded="no"> | |
18898 | <autodoc>GetItemTextColour(TreeItemId item) -> Colour</autodoc> | |
18899 | <paramlist> | |
18900 | <param name="item" type="TreeItemId" default=""/> | |
18901 | </paramlist> | |
18902 | </method> | |
18903 | <method name="GetItemBackgroundColour" type="Colour" overloaded="no"> | |
18904 | <autodoc>GetItemBackgroundColour(TreeItemId item) -> Colour</autodoc> | |
18905 | <paramlist> | |
18906 | <param name="item" type="TreeItemId" default=""/> | |
18907 | </paramlist> | |
18908 | </method> | |
18909 | <method name="GetItemFont" type="Font" overloaded="no"> | |
18910 | <autodoc>GetItemFont(TreeItemId item) -> Font</autodoc> | |
18911 | <paramlist> | |
18912 | <param name="item" type="TreeItemId" default=""/> | |
18913 | </paramlist> | |
18914 | </method> | |
18915 | <method name="SetItemText" type="" overloaded="no"> | |
18916 | <autodoc>SetItemText(TreeItemId item, String text)</autodoc> | |
18917 | <paramlist> | |
18918 | <param name="item" type="TreeItemId" default=""/> | |
18919 | <param name="text" type="String" default=""/> | |
18920 | </paramlist> | |
18921 | </method> | |
18922 | <method name="SetItemImage" type="" overloaded="no"> | |
18923 | <autodoc>SetItemImage(TreeItemId item, int image, int which=TreeItemIcon_Normal)</autodoc> | |
18924 | <paramlist> | |
18925 | <param name="item" type="TreeItemId" default=""/> | |
18926 | <param name="image" type="int" default=""/> | |
18927 | <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/> | |
18928 | </paramlist> | |
18929 | </method> | |
18930 | <method name="SetItemData" type="" overloaded="no"> | |
18931 | <autodoc>SetItemData(TreeItemId item, TreeItemData data)</autodoc> | |
18932 | <paramlist> | |
18933 | <param name="item" type="TreeItemId" default=""/> | |
18934 | <param name="data" type="TreeItemData" default=""/> | |
18935 | </paramlist> | |
18936 | </method> | |
18937 | <method name="SetItemPyData" type="" overloaded="no"> | |
18938 | <autodoc>SetItemPyData(TreeItemId item, PyObject obj)</autodoc> | |
18939 | <paramlist> | |
18940 | <param name="item" type="TreeItemId" default=""/> | |
18941 | <param name="obj" type="PyObject" default=""/> | |
18942 | </paramlist> | |
18943 | </method> | |
18944 | <method name="SetItemHasChildren" type="" overloaded="no"> | |
18945 | <autodoc>SetItemHasChildren(TreeItemId item, bool has=True)</autodoc> | |
18946 | <paramlist> | |
18947 | <param name="item" type="TreeItemId" default=""/> | |
18948 | <param name="has" type="bool" default="True"/> | |
18949 | </paramlist> | |
18950 | </method> | |
18951 | <method name="SetItemBold" type="" overloaded="no"> | |
18952 | <autodoc>SetItemBold(TreeItemId item, bool bold=True)</autodoc> | |
18953 | <paramlist> | |
18954 | <param name="item" type="TreeItemId" default=""/> | |
18955 | <param name="bold" type="bool" default="True"/> | |
18956 | </paramlist> | |
18957 | </method> | |
18958 | <method name="SetItemTextColour" type="" overloaded="no"> | |
18959 | <autodoc>SetItemTextColour(TreeItemId item, Colour col)</autodoc> | |
18960 | <paramlist> | |
18961 | <param name="item" type="TreeItemId" default=""/> | |
18962 | <param name="col" type="Colour" default=""/> | |
18963 | </paramlist> | |
18964 | </method> | |
18965 | <method name="SetItemBackgroundColour" type="" overloaded="no"> | |
18966 | <autodoc>SetItemBackgroundColour(TreeItemId item, Colour col)</autodoc> | |
18967 | <paramlist> | |
18968 | <param name="item" type="TreeItemId" default=""/> | |
18969 | <param name="col" type="Colour" default=""/> | |
18970 | </paramlist> | |
18971 | </method> | |
18972 | <method name="SetItemFont" type="" overloaded="no"> | |
18973 | <autodoc>SetItemFont(TreeItemId item, Font font)</autodoc> | |
18974 | <paramlist> | |
18975 | <param name="item" type="TreeItemId" default=""/> | |
18976 | <param name="font" type="Font" default=""/> | |
18977 | </paramlist> | |
18978 | </method> | |
18979 | <method name="IsVisible" type="bool" overloaded="no"> | |
18980 | <autodoc>IsVisible(TreeItemId item) -> bool</autodoc> | |
18981 | <paramlist> | |
18982 | <param name="item" type="TreeItemId" default=""/> | |
18983 | </paramlist> | |
18984 | </method> | |
18985 | <method name="ItemHasChildren" type="bool" overloaded="no"> | |
18986 | <autodoc>ItemHasChildren(TreeItemId item) -> bool</autodoc> | |
18987 | <paramlist> | |
18988 | <param name="item" type="TreeItemId" default=""/> | |
18989 | </paramlist> | |
18990 | </method> | |
18991 | <method name="IsExpanded" type="bool" overloaded="no"> | |
18992 | <autodoc>IsExpanded(TreeItemId item) -> bool</autodoc> | |
18993 | <paramlist> | |
18994 | <param name="item" type="TreeItemId" default=""/> | |
18995 | </paramlist> | |
18996 | </method> | |
18997 | <method name="IsSelected" type="bool" overloaded="no"> | |
18998 | <autodoc>IsSelected(TreeItemId item) -> bool</autodoc> | |
18999 | <paramlist> | |
19000 | <param name="item" type="TreeItemId" default=""/> | |
19001 | </paramlist> | |
19002 | </method> | |
19003 | <method name="IsBold" type="bool" overloaded="no"> | |
19004 | <autodoc>IsBold(TreeItemId item) -> bool</autodoc> | |
19005 | <paramlist> | |
19006 | <param name="item" type="TreeItemId" default=""/> | |
19007 | </paramlist> | |
19008 | </method> | |
19009 | <method name="GetChildrenCount" type="size_t" overloaded="no"> | |
19010 | <autodoc>GetChildrenCount(TreeItemId item, bool recursively=True) -> size_t</autodoc> | |
19011 | <paramlist> | |
19012 | <param name="item" type="TreeItemId" default=""/> | |
19013 | <param name="recursively" type="bool" default="True"/> | |
19014 | </paramlist> | |
19015 | </method> | |
19016 | <method name="GetRootItem" type="TreeItemId" overloaded="no"> | |
19017 | <autodoc>GetRootItem() -> TreeItemId</autodoc> | |
19018 | </method> | |
19019 | <method name="GetSelection" type="TreeItemId" overloaded="no"> | |
19020 | <autodoc>GetSelection() -> TreeItemId</autodoc> | |
19021 | </method> | |
19022 | <method name="GetSelections" type="PyObject" overloaded="no"> | |
19023 | <autodoc>GetSelections() -> PyObject</autodoc> | |
19024 | </method> | |
19025 | <method name="GetItemParent" type="TreeItemId" overloaded="no"> | |
19026 | <autodoc>GetItemParent(TreeItemId item) -> TreeItemId</autodoc> | |
19027 | <paramlist> | |
19028 | <param name="item" type="TreeItemId" default=""/> | |
19029 | </paramlist> | |
19030 | </method> | |
19031 | <method name="GetFirstChild" type="PyObject" overloaded="no"> | |
19032 | <autodoc>GetFirstChild(TreeItemId item) -> PyObject</autodoc> | |
19033 | <paramlist> | |
19034 | <param name="item" type="TreeItemId" default=""/> | |
19035 | </paramlist> | |
19036 | </method> | |
19037 | <method name="GetNextChild" type="PyObject" overloaded="no"> | |
19038 | <autodoc>GetNextChild(TreeItemId item, void cookie) -> PyObject</autodoc> | |
19039 | <paramlist> | |
19040 | <param name="item" type="TreeItemId" default=""/> | |
19041 | <param name="cookie" type="" default=""/> | |
19042 | </paramlist> | |
19043 | </method> | |
19044 | <method name="GetLastChild" type="TreeItemId" overloaded="no"> | |
19045 | <autodoc>GetLastChild(TreeItemId item) -> TreeItemId</autodoc> | |
19046 | <paramlist> | |
19047 | <param name="item" type="TreeItemId" default=""/> | |
19048 | </paramlist> | |
19049 | </method> | |
19050 | <method name="GetNextSibling" type="TreeItemId" overloaded="no"> | |
19051 | <autodoc>GetNextSibling(TreeItemId item) -> TreeItemId</autodoc> | |
19052 | <paramlist> | |
19053 | <param name="item" type="TreeItemId" default=""/> | |
19054 | </paramlist> | |
19055 | </method> | |
19056 | <method name="GetPrevSibling" type="TreeItemId" overloaded="no"> | |
19057 | <autodoc>GetPrevSibling(TreeItemId item) -> TreeItemId</autodoc> | |
19058 | <paramlist> | |
19059 | <param name="item" type="TreeItemId" default=""/> | |
19060 | </paramlist> | |
19061 | </method> | |
19062 | <method name="GetFirstVisibleItem" type="TreeItemId" overloaded="no"> | |
19063 | <autodoc>GetFirstVisibleItem() -> TreeItemId</autodoc> | |
19064 | </method> | |
19065 | <method name="GetNextVisible" type="TreeItemId" overloaded="no"> | |
19066 | <autodoc>GetNextVisible(TreeItemId item) -> TreeItemId</autodoc> | |
19067 | <paramlist> | |
19068 | <param name="item" type="TreeItemId" default=""/> | |
19069 | </paramlist> | |
19070 | </method> | |
19071 | <method name="GetPrevVisible" type="TreeItemId" overloaded="no"> | |
19072 | <autodoc>GetPrevVisible(TreeItemId item) -> TreeItemId</autodoc> | |
19073 | <paramlist> | |
19074 | <param name="item" type="TreeItemId" default=""/> | |
19075 | </paramlist> | |
19076 | </method> | |
19077 | <method name="AddRoot" type="TreeItemId" overloaded="no"> | |
19078 | <autodoc>AddRoot(String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc> | |
19079 | <paramlist> | |
19080 | <param name="text" type="String" default=""/> | |
19081 | <param name="image" type="int" default="-1"/> | |
19082 | <param name="selectedImage" type="int" default="-1"/> | |
19083 | <param name="data" type="TreeItemData" default="NULL"/> | |
19084 | </paramlist> | |
19085 | </method> | |
19086 | <method name="PrependItem" type="TreeItemId" overloaded="no"> | |
19087 | <autodoc>PrependItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1, | |
19088 | TreeItemData data=None) -> TreeItemId</autodoc> | |
19089 | <paramlist> | |
19090 | <param name="parent" type="TreeItemId" default=""/> | |
19091 | <param name="text" type="String" default=""/> | |
19092 | <param name="image" type="int" default="-1"/> | |
19093 | <param name="selectedImage" type="int" default="-1"/> | |
19094 | <param name="data" type="TreeItemData" default="NULL"/> | |
19095 | </paramlist> | |
19096 | </method> | |
19097 | <method name="InsertItem" type="TreeItemId" overloaded="no"> | |
19098 | <autodoc>InsertItem(TreeItemId parent, TreeItemId idPrevious, String text, | |
19099 | int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc> | |
19100 | <paramlist> | |
19101 | <param name="parent" type="TreeItemId" default=""/> | |
19102 | <param name="idPrevious" type="TreeItemId" default=""/> | |
19103 | <param name="text" type="String" default=""/> | |
19104 | <param name="image" type="int" default="-1"/> | |
19105 | <param name="selectedImage" type="int" default="-1"/> | |
19106 | <param name="data" type="TreeItemData" default="NULL"/> | |
19107 | </paramlist> | |
19108 | </method> | |
19109 | <method name="InsertItemBefore" type="TreeItemId" overloaded="no"> | |
19110 | <autodoc>InsertItemBefore(TreeItemId parent, size_t index, String text, int image=-1, | |
19111 | int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc> | |
19112 | <paramlist> | |
19113 | <param name="parent" type="TreeItemId" default=""/> | |
19114 | <param name="index" type="size_t" default=""/> | |
19115 | <param name="text" type="String" default=""/> | |
19116 | <param name="image" type="int" default="-1"/> | |
19117 | <param name="selectedImage" type="int" default="-1"/> | |
19118 | <param name="data" type="TreeItemData" default="NULL"/> | |
19119 | </paramlist> | |
19120 | </method> | |
19121 | <method name="AppendItem" type="TreeItemId" overloaded="no"> | |
19122 | <autodoc>AppendItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1, | |
19123 | TreeItemData data=None) -> TreeItemId</autodoc> | |
19124 | <paramlist> | |
19125 | <param name="parent" type="TreeItemId" default=""/> | |
19126 | <param name="text" type="String" default=""/> | |
19127 | <param name="image" type="int" default="-1"/> | |
19128 | <param name="selectedImage" type="int" default="-1"/> | |
19129 | <param name="data" type="TreeItemData" default="NULL"/> | |
19130 | </paramlist> | |
19131 | </method> | |
19132 | <method name="Delete" type="" overloaded="no"> | |
19133 | <autodoc>Delete(TreeItemId item)</autodoc> | |
19134 | <paramlist> | |
19135 | <param name="item" type="TreeItemId" default=""/> | |
19136 | </paramlist> | |
19137 | </method> | |
19138 | <method name="DeleteChildren" type="" overloaded="no"> | |
19139 | <autodoc>DeleteChildren(TreeItemId item)</autodoc> | |
19140 | <paramlist> | |
19141 | <param name="item" type="TreeItemId" default=""/> | |
19142 | </paramlist> | |
19143 | </method> | |
19144 | <method name="DeleteAllItems" type="" overloaded="no"> | |
19145 | <autodoc>DeleteAllItems()</autodoc> | |
19146 | </method> | |
19147 | <method name="Expand" type="" overloaded="no"> | |
19148 | <autodoc>Expand(TreeItemId item)</autodoc> | |
19149 | <paramlist> | |
19150 | <param name="item" type="TreeItemId" default=""/> | |
19151 | </paramlist> | |
19152 | </method> | |
19153 | <method name="Collapse" type="" overloaded="no"> | |
19154 | <autodoc>Collapse(TreeItemId item)</autodoc> | |
19155 | <paramlist> | |
19156 | <param name="item" type="TreeItemId" default=""/> | |
19157 | </paramlist> | |
19158 | </method> | |
19159 | <method name="CollapseAndReset" type="" overloaded="no"> | |
19160 | <autodoc>CollapseAndReset(TreeItemId item)</autodoc> | |
19161 | <paramlist> | |
19162 | <param name="item" type="TreeItemId" default=""/> | |
19163 | </paramlist> | |
19164 | </method> | |
19165 | <method name="Toggle" type="" overloaded="no"> | |
19166 | <autodoc>Toggle(TreeItemId item)</autodoc> | |
19167 | <paramlist> | |
19168 | <param name="item" type="TreeItemId" default=""/> | |
19169 | </paramlist> | |
19170 | </method> | |
19171 | <method name="Unselect" type="" overloaded="no"> | |
19172 | <autodoc>Unselect()</autodoc> | |
19173 | </method> | |
19174 | <method name="UnselectItem" type="" overloaded="no"> | |
19175 | <autodoc>UnselectItem(TreeItemId item)</autodoc> | |
19176 | <paramlist> | |
19177 | <param name="item" type="TreeItemId" default=""/> | |
19178 | </paramlist> | |
19179 | </method> | |
19180 | <method name="UnselectAll" type="" overloaded="no"> | |
19181 | <autodoc>UnselectAll()</autodoc> | |
19182 | </method> | |
19183 | <method name="SelectItem" type="" overloaded="no"> | |
19184 | <autodoc>SelectItem(TreeItemId item, bool select=True)</autodoc> | |
19185 | <paramlist> | |
19186 | <param name="item" type="TreeItemId" default=""/> | |
19187 | <param name="select" type="bool" default="True"/> | |
19188 | </paramlist> | |
19189 | </method> | |
19190 | <method name="ToggleItemSelection" type="" overloaded="no"> | |
19191 | <autodoc>ToggleItemSelection(TreeItemId item)</autodoc> | |
19192 | <paramlist> | |
19193 | <param name="item" type="TreeItemId" default=""/> | |
19194 | </paramlist> | |
19195 | </method> | |
19196 | <method name="EnsureVisible" type="" overloaded="no"> | |
19197 | <autodoc>EnsureVisible(TreeItemId item)</autodoc> | |
19198 | <paramlist> | |
19199 | <param name="item" type="TreeItemId" default=""/> | |
19200 | </paramlist> | |
19201 | </method> | |
19202 | <method name="ScrollTo" type="" overloaded="no"> | |
19203 | <autodoc>ScrollTo(TreeItemId item)</autodoc> | |
19204 | <paramlist> | |
19205 | <param name="item" type="TreeItemId" default=""/> | |
19206 | </paramlist> | |
19207 | </method> | |
19208 | <method name="EditLabel" type="" overloaded="no"> | |
19209 | <autodoc>EditLabel(TreeItemId item)</autodoc> | |
19210 | <paramlist> | |
19211 | <param name="item" type="TreeItemId" default=""/> | |
19212 | </paramlist> | |
19213 | </method> | |
19214 | <method name="GetEditControl" type="TextCtrl" overloaded="no"> | |
19215 | <autodoc>GetEditControl() -> TextCtrl</autodoc> | |
19216 | </method> | |
19217 | <method name="SortChildren" type="" overloaded="no"> | |
19218 | <autodoc>SortChildren(TreeItemId item)</autodoc> | |
19219 | <paramlist> | |
19220 | <param name="item" type="TreeItemId" default=""/> | |
19221 | </paramlist> | |
19222 | </method> | |
19223 | <method name="HitTest" type="TreeItemId" overloaded="no"> | |
19224 | <autodoc>HitTest(Point point) -> (item, where)</autodoc> | |
19225 | <docstring>Determine which item (if any) belongs the given point. The | |
19226 | coordinates specified are relative to the client area of tree ctrl | |
19227 | and the where return value is set to a bitmask of wxTREE_HITTEST_xxx | |
19228 | constants. | |
19229 | </docstring> | |
19230 | <paramlist> | |
19231 | <param name="point" type="Point" default=""/> | |
19232 | <param name="OUTPUT" type="int" default=""/> | |
19233 | </paramlist> | |
19234 | </method> | |
19235 | <method name="GetBoundingRect" type="PyObject" overloaded="no"> | |
19236 | <autodoc>GetBoundingRect(TreeItemId item, bool textOnly=False) -> PyObject</autodoc> | |
19237 | <paramlist> | |
19238 | <param name="item" type="TreeItemId" default=""/> | |
19239 | <param name="textOnly" type="bool" default="False"/> | |
19240 | </paramlist> | |
19241 | </method> | |
19242 | </class> | |
19243 | <pythoncode> | |
19244 | #--------------------------------------------------------------------------- | |
19245 | </pythoncode> | |
19246 | <class name="GenericDirCtrl" oldname="wxGenericDirCtrl" module="controls"> | |
19247 | <baseclass name="Control"/> | |
19248 | <constructor name="GenericDirCtrl" overloaded="no"> | |
19249 | <autodoc>__init__(Window parent, int id=-1, String dir=DirDialogDefaultFolderStr, | |
19250 | Point pos=DefaultPosition, Size size=DefaultSize, | |
19251 | long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, | |
19252 | String filter=EmptyString, | |
19253 | int defaultFilter=0, String name=TreeCtrlNameStr) -> GenericDirCtrl</autodoc> | |
19254 | <paramlist> | |
19255 | <param name="parent" type="Window" default=""/> | |
19256 | <param name="id" type="int" default="-1"/> | |
19257 | <param name="dir" type="String" default="wxPyDirDialogDefaultFolderStr"/> | |
19258 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
19259 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19260 | <param name="style" type="long" default="wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER"/> | |
19261 | <param name="filter" type="String" default="wxPyEmptyString"/> | |
19262 | <param name="defaultFilter" type="int" default="0"/> | |
19263 | <param name="name" type="String" default="wxPyTreeCtrlNameStr"/> | |
19264 | </paramlist> | |
19265 | </constructor> | |
19266 | <constructor name="PreGenericDirCtrl" overloaded="no"> | |
19267 | <autodoc>PreGenericDirCtrl() -> GenericDirCtrl</autodoc> | |
19268 | </constructor> | |
19269 | <method name="Create" type="bool" overloaded="no"> | |
19270 | <autodoc>Create(Window parent, int id=-1, String dir=DirDialogDefaultFolderStr, | |
19271 | Point pos=DefaultPosition, Size size=DefaultSize, | |
19272 | long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, | |
19273 | String filter=EmptyString, | |
19274 | int defaultFilter=0, String name=TreeCtrlNameStr) -> bool</autodoc> | |
19275 | <paramlist> | |
19276 | <param name="parent" type="Window" default=""/> | |
19277 | <param name="id" type="int" default="-1"/> | |
19278 | <param name="dir" type="String" default="wxPyDirDialogDefaultFolderStr"/> | |
19279 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
19280 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19281 | <param name="style" type="long" default="wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER"/> | |
19282 | <param name="filter" type="String" default="wxPyEmptyString"/> | |
19283 | <param name="defaultFilter" type="int" default="0"/> | |
19284 | <param name="name" type="String" default="wxPyTreeCtrlNameStr"/> | |
19285 | </paramlist> | |
19286 | </method> | |
19287 | <method name="ExpandPath" type="bool" overloaded="no"> | |
19288 | <autodoc>ExpandPath(String path) -> bool</autodoc> | |
19289 | <paramlist> | |
19290 | <param name="path" type="String" default=""/> | |
19291 | </paramlist> | |
19292 | </method> | |
19293 | <method name="GetDefaultPath" type="String" overloaded="no"> | |
19294 | <autodoc>GetDefaultPath() -> String</autodoc> | |
19295 | </method> | |
19296 | <method name="SetDefaultPath" type="" overloaded="no"> | |
19297 | <autodoc>SetDefaultPath(String path)</autodoc> | |
19298 | <paramlist> | |
19299 | <param name="path" type="String" default=""/> | |
19300 | </paramlist> | |
19301 | </method> | |
19302 | <method name="GetPath" type="String" overloaded="no"> | |
19303 | <autodoc>GetPath() -> String</autodoc> | |
19304 | </method> | |
19305 | <method name="GetFilePath" type="String" overloaded="no"> | |
19306 | <autodoc>GetFilePath() -> String</autodoc> | |
19307 | </method> | |
19308 | <method name="SetPath" type="" overloaded="no"> | |
19309 | <autodoc>SetPath(String path)</autodoc> | |
19310 | <paramlist> | |
19311 | <param name="path" type="String" default=""/> | |
19312 | </paramlist> | |
19313 | </method> | |
19314 | <method name="ShowHidden" type="" overloaded="no"> | |
19315 | <autodoc>ShowHidden(bool show)</autodoc> | |
19316 | <paramlist> | |
19317 | <param name="show" type="bool" default=""/> | |
19318 | </paramlist> | |
19319 | </method> | |
19320 | <method name="GetShowHidden" type="bool" overloaded="no"> | |
19321 | <autodoc>GetShowHidden() -> bool</autodoc> | |
19322 | </method> | |
19323 | <method name="GetFilter" type="String" overloaded="no"> | |
19324 | <autodoc>GetFilter() -> String</autodoc> | |
19325 | </method> | |
19326 | <method name="SetFilter" type="" overloaded="no"> | |
19327 | <autodoc>SetFilter(String filter)</autodoc> | |
19328 | <paramlist> | |
19329 | <param name="filter" type="String" default=""/> | |
19330 | </paramlist> | |
19331 | </method> | |
19332 | <method name="GetFilterIndex" type="int" overloaded="no"> | |
19333 | <autodoc>GetFilterIndex() -> int</autodoc> | |
19334 | </method> | |
19335 | <method name="SetFilterIndex" type="" overloaded="no"> | |
19336 | <autodoc>SetFilterIndex(int n)</autodoc> | |
19337 | <paramlist> | |
19338 | <param name="n" type="int" default=""/> | |
19339 | </paramlist> | |
19340 | </method> | |
19341 | <method name="GetRootId" type="TreeItemId" overloaded="no"> | |
19342 | <autodoc>GetRootId() -> TreeItemId</autodoc> | |
19343 | </method> | |
19344 | <method name="GetTreeCtrl" type="TreeCtrl" overloaded="no"> | |
19345 | <autodoc>GetTreeCtrl() -> TreeCtrl</autodoc> | |
19346 | </method> | |
19347 | <method name="GetFilterListCtrl" type="wxDirFilterListCtrl" overloaded="no"> | |
19348 | <autodoc>GetFilterListCtrl() -> DirFilterListCtrl</autodoc> | |
19349 | </method> | |
19350 | <method name="FindChild" type="TreeItemId" overloaded="no"> | |
19351 | <autodoc>FindChild(wxTreeItemId parentId, wxString path) -> (item, done)</autodoc> | |
19352 | <docstring>Find the child that matches the first part of 'path'. E.g. if a child path is | |
19353 | "/usr" and 'path' is "/usr/include" then the child for /usr is returned. | |
19354 | If the path string has been used (we're at the leaf), done is set to True | |
19355 | </docstring> | |
19356 | <paramlist> | |
19357 | <param name="parentId" type="TreeItemId" default=""/> | |
19358 | <param name="path" type="String" default=""/> | |
19359 | <param name="OUTPUT" type="bool" default=""/> | |
19360 | </paramlist> | |
19361 | </method> | |
19362 | <method name="DoResize" type="" overloaded="no"> | |
19363 | <autodoc>DoResize()</autodoc> | |
19364 | </method> | |
19365 | <method name="ReCreateTree" type="" overloaded="no"> | |
19366 | <autodoc>ReCreateTree()</autodoc> | |
19367 | </method> | |
19368 | </class> | |
19369 | <class name="DirFilterListCtrl" oldname="wxDirFilterListCtrl" module="controls"> | |
19370 | <baseclass name="Choice"/> | |
19371 | <constructor name="DirFilterListCtrl" overloaded="no"> | |
19372 | <autodoc>__init__(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, | |
19373 | Size size=DefaultSize, long style=0) -> DirFilterListCtrl</autodoc> | |
19374 | <paramlist> | |
19375 | <param name="parent" type="GenericDirCtrl" default=""/> | |
19376 | <param name="id" type="int" default="-1"/> | |
19377 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
19378 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19379 | <param name="style" type="long" default="0"/> | |
19380 | </paramlist> | |
19381 | </constructor> | |
19382 | <constructor name="PreDirFilterListCtrl" overloaded="no"> | |
19383 | <autodoc>PreDirFilterListCtrl() -> DirFilterListCtrl</autodoc> | |
19384 | </constructor> | |
19385 | <method name="Create" type="bool" overloaded="no"> | |
19386 | <autodoc>Create(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, | |
19387 | Size size=DefaultSize, long style=0) -> bool</autodoc> | |
19388 | <paramlist> | |
19389 | <param name="parent" type="GenericDirCtrl" default=""/> | |
19390 | <param name="id" type="int" default="-1"/> | |
19391 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
19392 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19393 | <param name="style" type="long" default="0"/> | |
19394 | </paramlist> | |
19395 | </method> | |
19396 | <method name="FillFilterList" type="" overloaded="no"> | |
19397 | <autodoc>FillFilterList(String filter, int defaultFilter)</autodoc> | |
19398 | <paramlist> | |
19399 | <param name="filter" type="String" default=""/> | |
19400 | <param name="defaultFilter" type="int" default=""/> | |
19401 | </paramlist> | |
19402 | </method> | |
19403 | </class> | |
19404 | <pythoncode> | |
19405 | #--------------------------------------------------------------------------- | |
19406 | </pythoncode> | |
19407 | <class name="PyControl" oldname="wxPyControl" module="controls"> | |
19408 | <baseclass name="Control"/> | |
19409 | <constructor name="PyControl" overloaded="no"> | |
19410 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
19411 | long style=0, Validator validator=DefaultValidator, | |
19412 | String name=ControlNameStr) -> PyControl</autodoc> | |
19413 | <paramlist> | |
19414 | <param name="parent" type="Window" default=""/> | |
19415 | <param name="id" type="int" default=""/> | |
19416 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
19417 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19418 | <param name="style" type="long" default="0"/> | |
19419 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
19420 | <param name="name" type="String" default="wxPyControlNameStr"/> | |
19421 | </paramlist> | |
19422 | </constructor> | |
19423 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
19424 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
19425 | <paramlist> | |
19426 | <param name="self" type="PyObject" default=""/> | |
19427 | <param name="_class" type="PyObject" default=""/> | |
19428 | </paramlist> | |
19429 | </method> | |
19430 | <method name="base_DoMoveWindow" type="" overloaded="no"> | |
19431 | <autodoc>base_DoMoveWindow(int x, int y, int width, int height)</autodoc> | |
19432 | <paramlist> | |
19433 | <param name="x" type="int" default=""/> | |
19434 | <param name="y" type="int" default=""/> | |
19435 | <param name="width" type="int" default=""/> | |
19436 | <param name="height" type="int" default=""/> | |
19437 | </paramlist> | |
19438 | </method> | |
19439 | <method name="base_DoSetSize" type="" overloaded="no"> | |
19440 | <autodoc>base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc> | |
19441 | <paramlist> | |
19442 | <param name="x" type="int" default=""/> | |
19443 | <param name="y" type="int" default=""/> | |
19444 | <param name="width" type="int" default=""/> | |
19445 | <param name="height" type="int" default=""/> | |
19446 | <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/> | |
19447 | </paramlist> | |
19448 | </method> | |
19449 | <method name="base_DoSetClientSize" type="" overloaded="no"> | |
19450 | <autodoc>base_DoSetClientSize(int width, int height)</autodoc> | |
19451 | <paramlist> | |
19452 | <param name="width" type="int" default=""/> | |
19453 | <param name="height" type="int" default=""/> | |
19454 | </paramlist> | |
19455 | </method> | |
19456 | <method name="base_DoSetVirtualSize" type="" overloaded="no"> | |
19457 | <autodoc>base_DoSetVirtualSize(int x, int y)</autodoc> | |
19458 | <paramlist> | |
19459 | <param name="x" type="int" default=""/> | |
19460 | <param name="y" type="int" default=""/> | |
19461 | </paramlist> | |
19462 | </method> | |
19463 | <method name="base_DoGetSize" type="" overloaded="no"> | |
19464 | <autodoc>base_DoGetSize() -> (width, height)</autodoc> | |
19465 | <paramlist> | |
19466 | <param name="OUTPUT" type="int" default=""/> | |
19467 | <param name="OUTPUT" type="int" default=""/> | |
19468 | </paramlist> | |
19469 | </method> | |
19470 | <method name="base_DoGetClientSize" type="" overloaded="no"> | |
19471 | <autodoc>base_DoGetClientSize() -> (width, height)</autodoc> | |
19472 | <paramlist> | |
19473 | <param name="OUTPUT" type="int" default=""/> | |
19474 | <param name="OUTPUT" type="int" default=""/> | |
19475 | </paramlist> | |
19476 | </method> | |
19477 | <method name="base_DoGetPosition" type="" overloaded="no"> | |
19478 | <autodoc>base_DoGetPosition() -> (x,y)</autodoc> | |
19479 | <paramlist> | |
19480 | <param name="OUTPUT" type="int" default=""/> | |
19481 | <param name="OUTPUT" type="int" default=""/> | |
19482 | </paramlist> | |
19483 | </method> | |
19484 | <method name="base_DoGetVirtualSize" type="Size" overloaded="no"> | |
19485 | <autodoc>base_DoGetVirtualSize() -> Size</autodoc> | |
19486 | </method> | |
19487 | <method name="base_DoGetBestSize" type="Size" overloaded="no"> | |
19488 | <autodoc>base_DoGetBestSize() -> Size</autodoc> | |
19489 | </method> | |
19490 | <method name="base_InitDialog" type="" overloaded="no"> | |
19491 | <autodoc>base_InitDialog()</autodoc> | |
19492 | </method> | |
19493 | <method name="base_TransferDataToWindow" type="bool" overloaded="no"> | |
19494 | <autodoc>base_TransferDataToWindow() -> bool</autodoc> | |
19495 | </method> | |
19496 | <method name="base_TransferDataFromWindow" type="bool" overloaded="no"> | |
19497 | <autodoc>base_TransferDataFromWindow() -> bool</autodoc> | |
19498 | </method> | |
19499 | <method name="base_Validate" type="bool" overloaded="no"> | |
19500 | <autodoc>base_Validate() -> bool</autodoc> | |
19501 | </method> | |
19502 | <method name="base_AcceptsFocus" type="bool" overloaded="no"> | |
19503 | <autodoc>base_AcceptsFocus() -> bool</autodoc> | |
19504 | </method> | |
19505 | <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no"> | |
19506 | <autodoc>base_AcceptsFocusFromKeyboard() -> bool</autodoc> | |
19507 | </method> | |
19508 | <method name="base_GetMaxSize" type="Size" overloaded="no"> | |
19509 | <autodoc>base_GetMaxSize() -> Size</autodoc> | |
19510 | </method> | |
19511 | <method name="base_AddChild" type="" overloaded="no"> | |
19512 | <autodoc>base_AddChild(Window child)</autodoc> | |
19513 | <paramlist> | |
19514 | <param name="child" type="Window" default=""/> | |
19515 | </paramlist> | |
19516 | </method> | |
19517 | <method name="base_RemoveChild" type="" overloaded="no"> | |
19518 | <autodoc>base_RemoveChild(Window child)</autodoc> | |
19519 | <paramlist> | |
19520 | <param name="child" type="Window" default=""/> | |
19521 | </paramlist> | |
19522 | </method> | |
19523 | </class> | |
19524 | <pythoncode> | |
19525 | #--------------------------------------------------------------------------- | |
19526 | </pythoncode> | |
19527 | <pythoncode> | |
19528 | EVT_HELP = wx.PyEventBinder( wxEVT_HELP, 1) | |
19529 | EVT_HELP_RANGE = wx.PyEventBinder( wxEVT_HELP, 2) | |
19530 | EVT_DETAILED_HELP = wx.PyEventBinder( wxEVT_DETAILED_HELP, 1) | |
19531 | EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) | |
19532 | </pythoncode> | |
19533 | <class name="HelpEvent" oldname="wxHelpEvent" module="controls"> | |
c2dda882 RD |
19534 | <docstring>A help event is sent when the user has requested |
19535 | context-sensitive help. This can either be caused by the | |
19536 | application requesting context-sensitive help mode via | |
19537 | wx.ContextHelp, or (on MS Windows) by the system generating a | |
19538 | WM_HELP message when the user pressed F1 or clicked on the query | |
19539 | button in a dialog caption. | |
19540 | ||
19541 | A help event is sent to the window that the user clicked on, and | |
19542 | is propagated up the window hierarchy until the event is | |
19543 | processed or there are no more event handlers. The application | |
19544 | should call event.GetId to check the identity of the clicked-on | |
19545 | window, and then either show some suitable help or call | |
19546 | event.Skip if the identifier is unrecognised. Calling Skip is | |
19547 | important because it allows wxWindows to generate further events | |
19548 | for ancestors of the clicked-on window. Otherwise it would be | |
19549 | impossible to show help for container windows, since processing | |
19550 | would stop after the first window found. | |
19551 | ||
19552 | Events | |
19553 | EVT_HELP Sent when the user has requested context- | |
19554 | sensitive help. | |
19555 | EVT_HELP_RANGE Allows to catch EVT_HELP for a range of IDs | |
19556 | </docstring> | |
f32fc4bc RD |
19557 | <baseclass name="CommandEvent"/> |
19558 | <constructor name="HelpEvent" overloaded="no"> | |
19559 | <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> HelpEvent</autodoc> | |
19560 | <paramlist> | |
19561 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
19562 | <param name="winid" type="int" default="0"/> | |
19563 | <param name="pt" type="Point" default="wxDefaultPosition"/> | |
19564 | </paramlist> | |
19565 | </constructor> | |
19566 | <method name="GetPosition" type="Point" overloaded="no"> | |
19567 | <autodoc>GetPosition() -> Point</autodoc> | |
c2dda882 RD |
19568 | <docstring>Returns the left-click position of the mouse, in screen |
19569 | coordinates. This allows the application to position the help | |
19570 | appropriately.</docstring> | |
f32fc4bc RD |
19571 | </method> |
19572 | <method name="SetPosition" type="" overloaded="no"> | |
19573 | <autodoc>SetPosition(Point pos)</autodoc> | |
c2dda882 | 19574 | <docstring>Sets the left-click position of the mouse, in screen coordinates.</docstring> |
f32fc4bc RD |
19575 | <paramlist> |
19576 | <param name="pos" type="Point" default=""/> | |
19577 | </paramlist> | |
19578 | </method> | |
19579 | <method name="GetLink" type="String" overloaded="no"> | |
19580 | <autodoc>GetLink() -> String</autodoc> | |
c2dda882 | 19581 | <docstring>Get an optional link to further help</docstring> |
f32fc4bc RD |
19582 | </method> |
19583 | <method name="SetLink" type="" overloaded="no"> | |
19584 | <autodoc>SetLink(String link)</autodoc> | |
c2dda882 | 19585 | <docstring>Set an optional link to further help</docstring> |
f32fc4bc RD |
19586 | <paramlist> |
19587 | <param name="link" type="String" default=""/> | |
19588 | </paramlist> | |
19589 | </method> | |
19590 | <method name="GetTarget" type="String" overloaded="no"> | |
19591 | <autodoc>GetTarget() -> String</autodoc> | |
c2dda882 | 19592 | <docstring>Get an optional target to display help in. E.g. a window specification</docstring> |
f32fc4bc RD |
19593 | </method> |
19594 | <method name="SetTarget" type="" overloaded="no"> | |
19595 | <autodoc>SetTarget(String target)</autodoc> | |
c2dda882 | 19596 | <docstring>Set an optional target to display help in. E.g. a window specification</docstring> |
f32fc4bc RD |
19597 | <paramlist> |
19598 | <param name="target" type="String" default=""/> | |
19599 | </paramlist> | |
19600 | </method> | |
19601 | </class> | |
19602 | <class name="ContextHelp" oldname="wxContextHelp" module="controls"> | |
c2dda882 RD |
19603 | <docstring>This class changes the cursor to a query and puts the application |
19604 | into a 'context-sensitive help mode'. When the user left-clicks | |
19605 | on a window within the specified window, a EVT_HELP event is sent | |
19606 | to that control, and the application may respond to it by popping | |
19607 | up some help. | |
19608 | ||
19609 | There are a couple of ways to invoke this behaviour implicitly: | |
19610 | ||
19611 | * Use the wx.DIALOG_EX_CONTEXTHELP extended style for a | |
19612 | dialog (Windows only). This will put a question mark in the | |
19613 | titlebar, and Windows will put the application into | |
19614 | context-sensitive help mode automatically, with further | |
19615 | programming. | |
19616 | ||
19617 | * Create a wx.ContextHelpButton, whose predefined behaviour | |
19618 | is to create a context help object. Normally you will write | |
19619 | your application so that this button is only added to a | |
19620 | dialog for non-Windows platforms (use | |
19621 | wx.DIALOG_EX_CONTEXTHELP on Windows). | |
19622 | </docstring> | |
f32fc4bc RD |
19623 | <baseclass name="Object"/> |
19624 | <constructor name="ContextHelp" overloaded="no"> | |
19625 | <autodoc>__init__(Window window=None, bool doNow=True) -> ContextHelp</autodoc> | |
c2dda882 RD |
19626 | <docstring>Constructs a context help object, calling BeginContextHelp if |
19627 | doNow is true (the default). | |
19628 | ||
19629 | If window is None, the top window is used.</docstring> | |
f32fc4bc RD |
19630 | <paramlist> |
19631 | <param name="window" type="Window" default="NULL"/> | |
19632 | <param name="doNow" type="bool" default="True"/> | |
19633 | </paramlist> | |
19634 | </constructor> | |
19635 | <destructor name="~wxContextHelp" overloaded="no"> | |
19636 | <autodoc>__del__()</autodoc> | |
19637 | </destructor> | |
19638 | <method name="BeginContextHelp" type="bool" overloaded="no"> | |
19639 | <autodoc>BeginContextHelp(Window window=None) -> bool</autodoc> | |
c2dda882 RD |
19640 | <docstring>Puts the application into context-sensitive help mode. window is |
19641 | the window which will be used to catch events; if NULL, the top | |
19642 | window will be used. | |
19643 | ||
19644 | Returns true if the application was successfully put into | |
19645 | context-sensitive help mode. This function only returns when the | |
19646 | event loop has finished.</docstring> | |
f32fc4bc RD |
19647 | <paramlist> |
19648 | <param name="window" type="Window" default="NULL"/> | |
19649 | </paramlist> | |
19650 | </method> | |
19651 | <method name="EndContextHelp" type="bool" overloaded="no"> | |
19652 | <autodoc>EndContextHelp() -> bool</autodoc> | |
c2dda882 RD |
19653 | <docstring>Ends context-sensitive help mode. Not normally called by the |
19654 | application.</docstring> | |
f32fc4bc RD |
19655 | </method> |
19656 | </class> | |
19657 | <class name="ContextHelpButton" oldname="wxContextHelpButton" module="controls"> | |
c2dda882 RD |
19658 | <docstring>Instances of this class may be used to add a question mark button |
19659 | that when pressed, puts the application into context-help | |
19660 | mode. It does this by creating a wx.ContextHelp object which | |
19661 | itself generates a EVT_HELP event when the user clicks on a | |
19662 | window. | |
19663 | ||
19664 | On Windows, you may add a question-mark icon to a dialog by use | |
19665 | of the wx.DIALOG_EX_CONTEXTHELP extra style, but on other | |
19666 | platforms you will have to add a button explicitly, usually next | |
19667 | to OK, Cancel or similar buttons. | |
19668 | </docstring> | |
f32fc4bc RD |
19669 | <baseclass name="BitmapButton"/> |
19670 | <constructor name="ContextHelpButton" overloaded="no"> | |
19671 | <autodoc>__init__(Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition, | |
19672 | Size size=DefaultSize, long style=BU_AUTODRAW) -> ContextHelpButton</autodoc> | |
c2dda882 | 19673 | <docstring>Constructor, creating and showing a context help button.</docstring> |
f32fc4bc RD |
19674 | <paramlist> |
19675 | <param name="parent" type="Window" default=""/> | |
19676 | <param name="id" type="int" default="wxID_CONTEXT_HELP"/> | |
19677 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
19678 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19679 | <param name="style" type="long" default="wxBU_AUTODRAW"/> | |
19680 | </paramlist> | |
19681 | </constructor> | |
19682 | </class> | |
19683 | <class name="HelpProvider" oldname="wxHelpProvider" module="controls"> | |
c2dda882 RD |
19684 | <docstring>wx.HelpProvider is an abstract class used by a program |
19685 | implementing context-sensitive help to show the help text for the | |
19686 | given window. | |
19687 | ||
19688 | The current help provider must be explicitly set by the | |
19689 | application using wx.HelpProvider.Set().</docstring> | |
f32fc4bc RD |
19690 | <staticmethod name="Set" type="HelpProvider" overloaded="no"> |
19691 | <autodoc>Set(HelpProvider helpProvider) -> HelpProvider</autodoc> | |
c2dda882 RD |
19692 | <docstring>Sset the current, application-wide help provider. Returns the |
19693 | previous one. Unlike some other classes, the help provider is | |
19694 | not created on demand. This must be explicitly done by the | |
19695 | application.</docstring> | |
f32fc4bc RD |
19696 | <paramlist> |
19697 | <param name="helpProvider" type="HelpProvider" default=""/> | |
19698 | </paramlist> | |
19699 | </staticmethod> | |
19700 | <staticmethod name="Get" type="HelpProvider" overloaded="no"> | |
19701 | <autodoc>Get() -> HelpProvider</autodoc> | |
c2dda882 | 19702 | <docstring>Return the current application-wide help provider.</docstring> |
f32fc4bc RD |
19703 | </staticmethod> |
19704 | <method name="GetHelp" type="String" overloaded="no"> | |
19705 | <autodoc>GetHelp(Window window) -> String</autodoc> | |
c2dda882 RD |
19706 | <docstring>Gets the help string for this window. Its interpretation is |
19707 | dependent on the help provider except that empty string always | |
19708 | means that no help is associated with the window.</docstring> | |
f32fc4bc RD |
19709 | <paramlist> |
19710 | <param name="window" type="Window" default=""/> | |
19711 | </paramlist> | |
19712 | </method> | |
19713 | <method name="ShowHelp" type="bool" overloaded="no"> | |
19714 | <autodoc>ShowHelp(Window window) -> bool</autodoc> | |
c2dda882 RD |
19715 | <docstring>Shows help for the given window. Uses GetHelp internally if |
19716 | applicable. | |
19717 | ||
19718 | Returns true if it was done, or false if no help was available | |
19719 | for this window.</docstring> | |
f32fc4bc RD |
19720 | <paramlist> |
19721 | <param name="window" type="Window" default=""/> | |
19722 | </paramlist> | |
19723 | </method> | |
19724 | <method name="AddHelp" type="" overloaded="no"> | |
19725 | <autodoc>AddHelp(Window window, String text)</autodoc> | |
c2dda882 | 19726 | <docstring>Associates the text with the given window.</docstring> |
f32fc4bc RD |
19727 | <paramlist> |
19728 | <param name="window" type="Window" default=""/> | |
19729 | <param name="text" type="String" default=""/> | |
19730 | </paramlist> | |
19731 | </method> | |
19732 | <method name="AddHelpById" type="" overloaded="no"> | |
19733 | <autodoc>AddHelpById(int id, String text)</autodoc> | |
c2dda882 RD |
19734 | <docstring>This version associates the given text with all windows with this |
19735 | id. May be used to set the same help string for all Cancel | |
19736 | buttons in the application, for example.</docstring> | |
f32fc4bc RD |
19737 | <paramlist> |
19738 | <param name="id" type="int" default=""/> | |
19739 | <param name="text" type="String" default=""/> | |
19740 | </paramlist> | |
19741 | </method> | |
c2dda882 RD |
19742 | <method name="RemoveHelp" type="" overloaded="no"> |
19743 | <autodoc>RemoveHelp(Window window)</autodoc> | |
19744 | <docstring>Removes the association between the window pointer and the help | |
19745 | text. This is called by the wx.Window destructor. Without this, | |
19746 | the table of help strings will fill up and when window pointers | |
19747 | are reused, the wrong help string will be found.</docstring> | |
19748 | <paramlist> | |
19749 | <param name="window" type="Window" default=""/> | |
19750 | </paramlist> | |
19751 | </method> | |
f32fc4bc RD |
19752 | <method name="Destroy" type="" overloaded="no"> |
19753 | <autodoc>Destroy()</autodoc> | |
19754 | </method> | |
19755 | </class> | |
19756 | <class name="SimpleHelpProvider" oldname="wxSimpleHelpProvider" module="controls"> | |
c2dda882 RD |
19757 | <docstring>wx.SimpleHelpProvider is an implementation of wx.HelpProvider |
19758 | which supports only plain text help strings, and shows the string | |
19759 | associated with the control (if any) in a tooltip.</docstring> | |
f32fc4bc RD |
19760 | <baseclass name="HelpProvider"/> |
19761 | <constructor name="SimpleHelpProvider" overloaded="no"> | |
19762 | <autodoc>__init__() -> SimpleHelpProvider</autodoc> | |
c2dda882 RD |
19763 | <docstring>wx.SimpleHelpProvider is an implementation of wx.HelpProvider |
19764 | which supports only plain text help strings, and shows the string | |
19765 | associated with the control (if any) in a tooltip.</docstring> | |
f32fc4bc RD |
19766 | </constructor> |
19767 | </class> | |
19768 | <pythoncode> | |
19769 | #--------------------------------------------------------------------------- | |
19770 | </pythoncode> | |
19771 | <class name="DragImage" oldname="wxGenericDragImage" module="controls"> | |
19772 | <baseclass name="Object"/> | |
19773 | <constructor name="wxGenericDragImage" overloaded="no"> | |
19774 | <autodoc>__init__(Bitmap image, Cursor cursor=wxNullCursor) -> DragImage</autodoc> | |
19775 | <paramlist> | |
19776 | <param name="image" type="Bitmap" default=""/> | |
19777 | <param name="cursor" type="Cursor" default="wxNullCursor"/> | |
19778 | </paramlist> | |
19779 | </constructor> | |
19780 | <constructor name="DragIcon" overloaded="no"> | |
19781 | <autodoc>DragIcon(Icon image, Cursor cursor=wxNullCursor) -> DragImage</autodoc> | |
19782 | <paramlist> | |
19783 | <param name="image" type="Icon" default=""/> | |
19784 | <param name="cursor" type="Cursor" default="wxNullCursor"/> | |
19785 | </paramlist> | |
19786 | </constructor> | |
19787 | <constructor name="DragString" overloaded="no"> | |
19788 | <autodoc>DragString(String str, Cursor cursor=wxNullCursor) -> DragImage</autodoc> | |
19789 | <paramlist> | |
19790 | <param name="str" type="String" default=""/> | |
19791 | <param name="cursor" type="Cursor" default="wxNullCursor"/> | |
19792 | </paramlist> | |
19793 | </constructor> | |
19794 | <constructor name="DragTreeItem" overloaded="no"> | |
19795 | <autodoc>DragTreeItem(TreeCtrl treeCtrl, TreeItemId id) -> DragImage</autodoc> | |
19796 | <paramlist> | |
19797 | <param name="treeCtrl" type="TreeCtrl" default=""/> | |
19798 | <param name="id" type="TreeItemId" default=""/> | |
19799 | </paramlist> | |
19800 | </constructor> | |
19801 | <constructor name="DragListItem" overloaded="no"> | |
19802 | <autodoc>DragListItem(ListCtrl listCtrl, long id) -> DragImage</autodoc> | |
19803 | <paramlist> | |
19804 | <param name="listCtrl" type="ListCtrl" default=""/> | |
19805 | <param name="id" type="long" default=""/> | |
19806 | </paramlist> | |
19807 | </constructor> | |
19808 | <destructor name="~wxGenericDragImage" overloaded="no"> | |
19809 | <autodoc>__del__()</autodoc> | |
19810 | </destructor> | |
19811 | <method name="SetBackingBitmap" type="" overloaded="no"> | |
19812 | <autodoc>SetBackingBitmap(Bitmap bitmap)</autodoc> | |
19813 | <paramlist> | |
19814 | <param name="bitmap" type="Bitmap" default=""/> | |
19815 | </paramlist> | |
19816 | </method> | |
19817 | <method name="BeginDrag" type="bool" overloaded="no"> | |
19818 | <autodoc>BeginDrag(Point hotspot, Window window, bool fullScreen=False, | |
19819 | Rect rect=None) -> bool</autodoc> | |
19820 | <paramlist> | |
19821 | <param name="hotspot" type="Point" default=""/> | |
19822 | <param name="window" type="Window" default=""/> | |
19823 | <param name="fullScreen" type="bool" default="False"/> | |
19824 | <param name="rect" type="Rect" default="NULL"/> | |
19825 | </paramlist> | |
19826 | </method> | |
19827 | <method name="BeginDragBounded" type="bool" overloaded="no"> | |
19828 | <autodoc>BeginDragBounded(Point hotspot, Window window, Window boundingWindow) -> bool</autodoc> | |
19829 | <paramlist> | |
19830 | <param name="hotspot" type="Point" default=""/> | |
19831 | <param name="window" type="Window" default=""/> | |
19832 | <param name="boundingWindow" type="Window" default=""/> | |
19833 | </paramlist> | |
19834 | </method> | |
19835 | <method name="EndDrag" type="bool" overloaded="no"> | |
19836 | <autodoc>EndDrag() -> bool</autodoc> | |
19837 | </method> | |
19838 | <method name="Move" type="bool" overloaded="no"> | |
19839 | <autodoc>Move(Point pt) -> bool</autodoc> | |
19840 | <paramlist> | |
19841 | <param name="pt" type="Point" default=""/> | |
19842 | </paramlist> | |
19843 | </method> | |
19844 | <method name="Show" type="bool" overloaded="no"> | |
19845 | <autodoc>Show() -> bool</autodoc> | |
19846 | </method> | |
19847 | <method name="Hide" type="bool" overloaded="no"> | |
19848 | <autodoc>Hide() -> bool</autodoc> | |
19849 | </method> | |
19850 | <method name="GetImageRect" type="Rect" overloaded="no"> | |
19851 | <autodoc>GetImageRect(Point pos) -> Rect</autodoc> | |
19852 | <paramlist> | |
19853 | <param name="pos" type="Point" default=""/> | |
19854 | </paramlist> | |
19855 | </method> | |
19856 | <method name="DoDrawImage" type="bool" overloaded="no"> | |
19857 | <autodoc>DoDrawImage(DC dc, Point pos) -> bool</autodoc> | |
19858 | <paramlist> | |
19859 | <param name="dc" type="DC" default=""/> | |
19860 | <param name="pos" type="Point" default=""/> | |
19861 | </paramlist> | |
19862 | </method> | |
19863 | <method name="UpdateBackingFromWindow" type="bool" overloaded="no"> | |
19864 | <autodoc>UpdateBackingFromWindow(DC windowDC, MemoryDC destDC, Rect sourceRect, Rect destRect) -> bool</autodoc> | |
19865 | <paramlist> | |
19866 | <param name="windowDC" type="DC" default=""/> | |
19867 | <param name="destDC" type="MemoryDC" default=""/> | |
19868 | <param name="sourceRect" type="Rect" default=""/> | |
19869 | <param name="destRect" type="Rect" default=""/> | |
19870 | </paramlist> | |
19871 | </method> | |
19872 | <method name="RedrawImage" type="bool" overloaded="no"> | |
19873 | <autodoc>RedrawImage(Point oldPos, Point newPos, bool eraseOld, bool drawNew) -> bool</autodoc> | |
19874 | <paramlist> | |
19875 | <param name="oldPos" type="Point" default=""/> | |
19876 | <param name="newPos" type="Point" default=""/> | |
19877 | <param name="eraseOld" type="bool" default=""/> | |
19878 | <param name="drawNew" type="bool" default=""/> | |
19879 | </paramlist> | |
19880 | </method> | |
19881 | </class> | |
19882 | </module> | |
19883 | <module name="misc"> | |
19884 | <import name="core"/> | |
19885 | <pythoncode> wx = core </pythoncode> | |
19886 | <pythoncode> | |
19887 | #--------------------------------------------------------------------------- | |
19888 | </pythoncode> | |
19889 | <class name="SystemSettings" oldname="wxSystemSettings" module="misc"> | |
19890 | <staticmethod name="GetColour" type="Colour" overloaded="no"> | |
19891 | <autodoc>GetColour(int index) -> Colour</autodoc> | |
19892 | <paramlist> | |
19893 | <param name="index" type="wxSystemColour" default=""/> | |
19894 | </paramlist> | |
19895 | </staticmethod> | |
19896 | <staticmethod name="GetFont" type="Font" overloaded="no"> | |
19897 | <autodoc>GetFont(int index) -> Font</autodoc> | |
19898 | <paramlist> | |
19899 | <param name="index" type="wxSystemFont" default=""/> | |
19900 | </paramlist> | |
19901 | </staticmethod> | |
19902 | <staticmethod name="GetMetric" type="int" overloaded="no"> | |
19903 | <autodoc>GetMetric(int index) -> int</autodoc> | |
19904 | <paramlist> | |
19905 | <param name="index" type="wxSystemMetric" default=""/> | |
19906 | </paramlist> | |
19907 | </staticmethod> | |
19908 | <staticmethod name="HasFeature" type="bool" overloaded="no"> | |
19909 | <autodoc>HasFeature(int index) -> bool</autodoc> | |
19910 | <paramlist> | |
19911 | <param name="index" type="wxSystemFeature" default=""/> | |
19912 | </paramlist> | |
19913 | </staticmethod> | |
19914 | <staticmethod name="GetScreenType" type="wxSystemScreenType" overloaded="no"> | |
19915 | <autodoc>GetScreenType() -> int</autodoc> | |
19916 | </staticmethod> | |
19917 | <staticmethod name="SetScreenType" type="" overloaded="no"> | |
19918 | <autodoc>SetScreenType(int screen)</autodoc> | |
19919 | <paramlist> | |
19920 | <param name="screen" type="wxSystemScreenType" default=""/> | |
19921 | </paramlist> | |
19922 | </staticmethod> | |
19923 | </class> | |
19924 | <class name="SystemOptions" oldname="wxSystemOptions" module="misc"> | |
19925 | <baseclass name="Object"/> | |
19926 | <constructor name="SystemOptions" overloaded="no"> | |
19927 | <autodoc>__init__() -> SystemOptions</autodoc> | |
19928 | </constructor> | |
19929 | <staticmethod name="SetOption" type="" overloaded="no"> | |
19930 | <autodoc>SetOption(String name, String value)</autodoc> | |
19931 | <paramlist> | |
19932 | <param name="name" type="String" default=""/> | |
19933 | <param name="value" type="String" default=""/> | |
19934 | </paramlist> | |
19935 | </staticmethod> | |
19936 | <staticmethod name="SetOptionInt" type="" overloaded="no"> | |
19937 | <autodoc>SetOptionInt(String name, int value)</autodoc> | |
19938 | <paramlist> | |
19939 | <param name="name" type="String" default=""/> | |
19940 | <param name="value" type="int" default=""/> | |
19941 | </paramlist> | |
19942 | </staticmethod> | |
19943 | <staticmethod name="GetOption" type="String" overloaded="no"> | |
19944 | <autodoc>GetOption(String name) -> String</autodoc> | |
19945 | <paramlist> | |
19946 | <param name="name" type="String" default=""/> | |
19947 | </paramlist> | |
19948 | </staticmethod> | |
19949 | <staticmethod name="GetOptionInt" type="int" overloaded="no"> | |
19950 | <autodoc>GetOptionInt(String name) -> int</autodoc> | |
19951 | <paramlist> | |
19952 | <param name="name" type="String" default=""/> | |
19953 | </paramlist> | |
19954 | </staticmethod> | |
19955 | <staticmethod name="HasOption" type="bool" overloaded="no"> | |
19956 | <autodoc>HasOption(String name) -> bool</autodoc> | |
19957 | <paramlist> | |
19958 | <param name="name" type="String" default=""/> | |
19959 | </paramlist> | |
19960 | </staticmethod> | |
19961 | </class> | |
19962 | <pythoncode> | |
0f43fbdf RD |
19963 | #--------------------------------------------------------------------------- |
19964 | </pythoncode> | |
f32fc4bc RD |
19965 | <method name="NewId" oldname="wxNewId" type="long" overloaded="no"> |
19966 | <autodoc>NewId() -> long</autodoc> | |
19967 | </method> | |
19968 | <method name="RegisterId" oldname="wxRegisterId" type="" overloaded="no"> | |
19969 | <autodoc>RegisterId(long id)</autodoc> | |
856bf319 | 19970 | <paramlist> |
f32fc4bc | 19971 | <param name="id" type="long" default=""/> |
856bf319 | 19972 | </paramlist> |
856bf319 | 19973 | </method> |
f32fc4bc RD |
19974 | <method name="GetCurrentId" oldname="wxGetCurrentId" type="long" overloaded="no"> |
19975 | <autodoc>GetCurrentId() -> long</autodoc> | |
856bf319 | 19976 | </method> |
f32fc4bc RD |
19977 | <method name="Bell" oldname="wxBell" type="" overloaded="no"> |
19978 | <autodoc>Bell()</autodoc> | |
856bf319 | 19979 | </method> |
f32fc4bc RD |
19980 | <method name="EndBusyCursor" oldname="wxEndBusyCursor" type="" overloaded="no"> |
19981 | <autodoc>EndBusyCursor()</autodoc> | |
19982 | </method> | |
19983 | <method name="GetElapsedTime" oldname="wxGetElapsedTime" type="long" overloaded="no"> | |
19984 | <autodoc>GetElapsedTime(bool resetTimer=True) -> long</autodoc> | |
856bf319 | 19985 | <paramlist> |
f32fc4bc | 19986 | <param name="resetTimer" type="bool" default="True"/> |
856bf319 | 19987 | </paramlist> |
856bf319 | 19988 | </method> |
f32fc4bc RD |
19989 | <method name="GetMousePosition" oldname="wxGetMousePosition" type="" overloaded="no"> |
19990 | <autodoc>GetMousePosition() -> (x,y)</autodoc> | |
19991 | <paramlist> | |
19992 | <param name="OUTPUT" type="int" default=""/> | |
19993 | <param name="OUTPUT" type="int" default=""/> | |
19994 | </paramlist> | |
856bf319 | 19995 | </method> |
f32fc4bc RD |
19996 | <method name="IsBusy" oldname="wxIsBusy" type="bool" overloaded="no"> |
19997 | <autodoc>IsBusy() -> bool</autodoc> | |
856bf319 | 19998 | </method> |
f32fc4bc RD |
19999 | <method name="Now" oldname="wxNow" type="String" overloaded="no"> |
20000 | <autodoc>Now() -> String</autodoc> | |
856bf319 | 20001 | </method> |
f32fc4bc RD |
20002 | <method name="Shell" oldname="wxShell" type="bool" overloaded="no"> |
20003 | <autodoc>Shell(String command=EmptyString) -> bool</autodoc> | |
20004 | <paramlist> | |
20005 | <param name="command" type="String" default="wxPyEmptyString"/> | |
20006 | </paramlist> | |
856bf319 | 20007 | </method> |
f32fc4bc RD |
20008 | <method name="StartTimer" oldname="wxStartTimer" type="" overloaded="no"> |
20009 | <autodoc>StartTimer()</autodoc> | |
856bf319 | 20010 | </method> |
f32fc4bc RD |
20011 | <method name="GetOsVersion" oldname="wxGetOsVersion" type="int" overloaded="no"> |
20012 | <autodoc>GetOsVersion() -> (platform, major, minor)</autodoc> | |
20013 | <paramlist> | |
20014 | <param name="OUTPUT" type="int" default=""/> | |
20015 | <param name="OUTPUT" type="int" default=""/> | |
20016 | </paramlist> | |
856bf319 | 20017 | </method> |
f32fc4bc RD |
20018 | <method name="GetOsDescription" oldname="wxGetOsDescription" type="String" overloaded="no"> |
20019 | <autodoc>GetOsDescription() -> String</autodoc> | |
856bf319 | 20020 | </method> |
f32fc4bc RD |
20021 | <method name="GetFreeMemory" oldname="wxGetFreeMemory" type="long" overloaded="no"> |
20022 | <autodoc>GetFreeMemory() -> long</autodoc> | |
856bf319 | 20023 | </method> |
f32fc4bc RD |
20024 | <method name="Shutdown" oldname="wxShutdown" type="bool" overloaded="no"> |
20025 | <autodoc>Shutdown(int wFlags) -> bool</autodoc> | |
20026 | <paramlist> | |
20027 | <param name="wFlags" type="wxShutdownFlags" default=""/> | |
20028 | </paramlist> | |
856bf319 | 20029 | </method> |
f32fc4bc RD |
20030 | <method name="Sleep" oldname="wxSleep" type="" overloaded="no"> |
20031 | <autodoc>Sleep(int secs)</autodoc> | |
20032 | <paramlist> | |
20033 | <param name="secs" type="int" default=""/> | |
20034 | </paramlist> | |
856bf319 | 20035 | </method> |
f32fc4bc RD |
20036 | <method name="Usleep" oldname="wxUsleep" type="" overloaded="no"> |
20037 | <autodoc>Usleep(unsigned long milliseconds)</autodoc> | |
20038 | <paramlist> | |
20039 | <param name="milliseconds" type="unsigned long" default=""/> | |
20040 | </paramlist> | |
856bf319 | 20041 | </method> |
f32fc4bc RD |
20042 | <method name="EnableTopLevelWindows" oldname="wxEnableTopLevelWindows" type="" overloaded="no"> |
20043 | <autodoc>EnableTopLevelWindows(bool enable)</autodoc> | |
20044 | <paramlist> | |
20045 | <param name="enable" type="bool" default=""/> | |
20046 | </paramlist> | |
856bf319 | 20047 | </method> |
f32fc4bc RD |
20048 | <method name="StripMenuCodes" oldname="wxStripMenuCodes" type="String" overloaded="no"> |
20049 | <autodoc>StripMenuCodes(String in) -> String</autodoc> | |
20050 | <paramlist> | |
20051 | <param name="in" type="String" default=""/> | |
20052 | </paramlist> | |
856bf319 | 20053 | </method> |
f32fc4bc RD |
20054 | <method name="GetEmailAddress" oldname="wxGetEmailAddress" type="String" overloaded="no"> |
20055 | <autodoc>GetEmailAddress() -> String</autodoc> | |
856bf319 | 20056 | </method> |
f32fc4bc RD |
20057 | <method name="GetHostName" oldname="wxGetHostName" type="String" overloaded="no"> |
20058 | <autodoc>GetHostName() -> String</autodoc> | |
856bf319 | 20059 | </method> |
f32fc4bc RD |
20060 | <method name="GetFullHostName" oldname="wxGetFullHostName" type="String" overloaded="no"> |
20061 | <autodoc>GetFullHostName() -> String</autodoc> | |
856bf319 | 20062 | </method> |
f32fc4bc RD |
20063 | <method name="GetUserId" oldname="wxGetUserId" type="String" overloaded="no"> |
20064 | <autodoc>GetUserId() -> String</autodoc> | |
856bf319 | 20065 | </method> |
f32fc4bc RD |
20066 | <method name="GetUserName" oldname="wxGetUserName" type="String" overloaded="no"> |
20067 | <autodoc>GetUserName() -> String</autodoc> | |
856bf319 | 20068 | </method> |
f32fc4bc RD |
20069 | <method name="GetHomeDir" oldname="wxGetHomeDir" type="String" overloaded="no"> |
20070 | <autodoc>GetHomeDir() -> String</autodoc> | |
856bf319 | 20071 | </method> |
f32fc4bc RD |
20072 | <method name="GetUserHome" oldname="wxGetUserHome" type="String" overloaded="no"> |
20073 | <autodoc>GetUserHome(String user=EmptyString) -> String</autodoc> | |
856bf319 | 20074 | <paramlist> |
f32fc4bc | 20075 | <param name="user" type="String" default="wxPyEmptyString"/> |
856bf319 RD |
20076 | </paramlist> |
20077 | </method> | |
f32fc4bc RD |
20078 | <method name="GetProcessId" oldname="wxGetProcessId" type="unsigned long" overloaded="no"> |
20079 | <autodoc>GetProcessId() -> unsigned long</autodoc> | |
20080 | </method> | |
20081 | <method name="Trap" oldname="wxTrap" type="" overloaded="no"> | |
20082 | <autodoc>Trap()</autodoc> | |
856bf319 | 20083 | </method> |
f32fc4bc RD |
20084 | <method name="FileSelector" oldname="wxFileSelector" type="String" overloaded="no"> |
20085 | <autodoc>FileSelector(String message=FileSelectorPromptStr, String default_path=EmptyString, | |
20086 | String default_filename=EmptyString, | |
20087 | String default_extension=EmptyString, | |
20088 | String wildcard=FileSelectorDefaultWildcardStr, | |
20089 | int flags=0, Window parent=None, int x=-1, | |
20090 | int y=-1) -> String</autodoc> | |
856bf319 | 20091 | <paramlist> |
f32fc4bc RD |
20092 | <param name="message" type="String" default="wxPyFileSelectorPromptStr"/> |
20093 | <param name="default_path" type="String" default="wxPyEmptyString"/> | |
20094 | <param name="default_filename" type="String" default="wxPyEmptyString"/> | |
20095 | <param name="default_extension" type="String" default="wxPyEmptyString"/> | |
20096 | <param name="wildcard" type="String" default="wxPyFileSelectorDefaultWildcardStr"/> | |
20097 | <param name="flags" type="int" default="0"/> | |
20098 | <param name="parent" type="Window" default="NULL"/> | |
20099 | <param name="x" type="int" default="-1"/> | |
20100 | <param name="y" type="int" default="-1"/> | |
856bf319 RD |
20101 | </paramlist> |
20102 | </method> | |
f32fc4bc RD |
20103 | <method name="LoadFileSelector" oldname="wxLoadFileSelector" type="String" overloaded="no"> |
20104 | <autodoc>LoadFileSelector(String what, String extension, String default_name=EmptyString, | |
20105 | Window parent=None) -> String</autodoc> | |
856bf319 | 20106 | <paramlist> |
f32fc4bc RD |
20107 | <param name="what" type="String" default=""/> |
20108 | <param name="extension" type="String" default=""/> | |
20109 | <param name="default_name" type="String" default="wxPyEmptyString"/> | |
20110 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
20111 | </paramlist> |
20112 | </method> | |
f32fc4bc RD |
20113 | <method name="SaveFileSelector" oldname="wxSaveFileSelector" type="String" overloaded="no"> |
20114 | <autodoc>SaveFileSelector(String what, String extension, String default_name=EmptyString, | |
20115 | Window parent=None) -> String</autodoc> | |
856bf319 | 20116 | <paramlist> |
f32fc4bc RD |
20117 | <param name="what" type="String" default=""/> |
20118 | <param name="extension" type="String" default=""/> | |
20119 | <param name="default_name" type="String" default="wxPyEmptyString"/> | |
20120 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
20121 | </paramlist> |
20122 | </method> | |
f32fc4bc RD |
20123 | <method name="DirSelector" oldname="wxDirSelector" type="String" overloaded="no"> |
20124 | <autodoc>DirSelector(String message=DirSelectorPromptStr, String defaultPath=EmptyString, | |
20125 | long style=DD_DEFAULT_STYLE, | |
20126 | Point pos=DefaultPosition, Window parent=None) -> String</autodoc> | |
856bf319 | 20127 | <paramlist> |
f32fc4bc RD |
20128 | <param name="message" type="String" default="wxPyDirSelectorPromptStr"/> |
20129 | <param name="defaultPath" type="String" default="wxPyEmptyString"/> | |
20130 | <param name="style" type="long" default="wxDD_DEFAULT_STYLE"/> | |
20131 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
20132 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
20133 | </paramlist> |
20134 | </method> | |
f32fc4bc RD |
20135 | <method name="GetTextFromUser" oldname="wxGetTextFromUser" type="String" overloaded="no"> |
20136 | <autodoc>GetTextFromUser(String message, String caption=EmptyString, String default_value=EmptyString, | |
20137 | Window parent=None, | |
20138 | int x=-1, int y=-1, bool centre=True) -> String</autodoc> | |
856bf319 | 20139 | <paramlist> |
f32fc4bc RD |
20140 | <param name="message" type="String" default=""/> |
20141 | <param name="caption" type="String" default="wxPyEmptyString"/> | |
20142 | <param name="default_value" type="String" default="wxPyEmptyString"/> | |
20143 | <param name="parent" type="Window" default="NULL"/> | |
20144 | <param name="x" type="int" default="-1"/> | |
20145 | <param name="y" type="int" default="-1"/> | |
20146 | <param name="centre" type="bool" default="True"/> | |
856bf319 RD |
20147 | </paramlist> |
20148 | </method> | |
f32fc4bc RD |
20149 | <method name="GetPasswordFromUser" oldname="wxGetPasswordFromUser" type="String" overloaded="no"> |
20150 | <autodoc>GetPasswordFromUser(String message, String caption=EmptyString, String default_value=EmptyString, | |
20151 | Window parent=None) -> String</autodoc> | |
856bf319 | 20152 | <paramlist> |
f32fc4bc RD |
20153 | <param name="message" type="String" default=""/> |
20154 | <param name="caption" type="String" default="wxPyEmptyString"/> | |
20155 | <param name="default_value" type="String" default="wxPyEmptyString"/> | |
20156 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
20157 | </paramlist> |
20158 | </method> | |
f32fc4bc RD |
20159 | <method name="GetSingleChoice" oldname="wxGetSingleChoice" type="String" overloaded="no"> |
20160 | <autodoc>GetSingleChoice(String message, String caption, int choices, String choices_array, | |
20161 | Window parent=None, int x=-1, | |
20162 | int y=-1, bool centre=True, int width=150, int height=200) -> String</autodoc> | |
856bf319 | 20163 | <paramlist> |
f32fc4bc RD |
20164 | <param name="message" type="String" default=""/> |
20165 | <param name="caption" type="String" default=""/> | |
20166 | <param name="choices" type="int" default=""/> | |
20167 | <param name="choices_array" type="String" default=""/> | |
20168 | <param name="parent" type="Window" default="NULL"/> | |
20169 | <param name="x" type="int" default="-1"/> | |
20170 | <param name="y" type="int" default="-1"/> | |
20171 | <param name="centre" type="bool" default="True"/> | |
20172 | <param name="width" type="int" default="150"/> | |
20173 | <param name="height" type="int" default="200"/> | |
856bf319 RD |
20174 | </paramlist> |
20175 | </method> | |
f32fc4bc RD |
20176 | <method name="GetSingleChoiceIndex" oldname="wxGetSingleChoiceIndex" type="int" overloaded="no"> |
20177 | <autodoc>GetSingleChoiceIndex(String message, String caption, int choices, String choices_array, | |
20178 | Window parent=None, int x=-1, | |
20179 | int y=-1, bool centre=True, int width=150, int height=200) -> int</autodoc> | |
856bf319 | 20180 | <paramlist> |
f32fc4bc RD |
20181 | <param name="message" type="String" default=""/> |
20182 | <param name="caption" type="String" default=""/> | |
20183 | <param name="choices" type="int" default=""/> | |
20184 | <param name="choices_array" type="String" default=""/> | |
20185 | <param name="parent" type="Window" default="NULL"/> | |
20186 | <param name="x" type="int" default="-1"/> | |
20187 | <param name="y" type="int" default="-1"/> | |
20188 | <param name="centre" type="bool" default="True"/> | |
20189 | <param name="width" type="int" default="150"/> | |
20190 | <param name="height" type="int" default="200"/> | |
856bf319 RD |
20191 | </paramlist> |
20192 | </method> | |
f32fc4bc RD |
20193 | <method name="MessageBox" oldname="wxMessageBox" type="int" overloaded="no"> |
20194 | <autodoc>MessageBox(String message, String caption=EmptyString, int style=wxOK|wxCENTRE, | |
20195 | Window parent=None, int x=-1, | |
20196 | int y=-1) -> int</autodoc> | |
856bf319 | 20197 | <paramlist> |
f32fc4bc RD |
20198 | <param name="message" type="String" default=""/> |
20199 | <param name="caption" type="String" default="wxPyEmptyString"/> | |
20200 | <param name="style" type="int" default="wxOK|wxCENTRE"/> | |
20201 | <param name="parent" type="Window" default="NULL"/> | |
20202 | <param name="x" type="int" default="-1"/> | |
20203 | <param name="y" type="int" default="-1"/> | |
856bf319 RD |
20204 | </paramlist> |
20205 | </method> | |
f32fc4bc RD |
20206 | <method name="GetNumberFromUser" oldname="wxGetNumberFromUser" type="long" overloaded="no"> |
20207 | <autodoc>GetNumberFromUser(String message, String prompt, String caption, long value, | |
20208 | long min=0, long max=100, Window parent=None, | |
20209 | Point pos=DefaultPosition) -> long</autodoc> | |
856bf319 | 20210 | <paramlist> |
f32fc4bc RD |
20211 | <param name="message" type="String" default=""/> |
20212 | <param name="prompt" type="String" default=""/> | |
20213 | <param name="caption" type="String" default=""/> | |
20214 | <param name="value" type="long" default=""/> | |
20215 | <param name="min" type="long" default="0"/> | |
20216 | <param name="max" type="long" default="100"/> | |
20217 | <param name="parent" type="Window" default="NULL"/> | |
20218 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
856bf319 RD |
20219 | </paramlist> |
20220 | </method> | |
f32fc4bc RD |
20221 | <method name="ColourDisplay" oldname="wxColourDisplay" type="bool" overloaded="no"> |
20222 | <autodoc>ColourDisplay() -> bool</autodoc> | |
20223 | </method> | |
20224 | <method name="DisplayDepth" oldname="wxDisplayDepth" type="int" overloaded="no"> | |
20225 | <autodoc>DisplayDepth() -> int</autodoc> | |
20226 | </method> | |
20227 | <method name="GetDisplayDepth" oldname="wxGetDisplayDepth" type="int" overloaded="no"> | |
20228 | <autodoc>GetDisplayDepth() -> int</autodoc> | |
20229 | </method> | |
20230 | <method name="DisplaySize" oldname="wxDisplaySize" type="" overloaded="no"> | |
20231 | <autodoc>DisplaySize() -> (width, height)</autodoc> | |
856bf319 | 20232 | <paramlist> |
f32fc4bc RD |
20233 | <param name="OUTPUT" type="int" default=""/> |
20234 | <param name="OUTPUT" type="int" default=""/> | |
856bf319 RD |
20235 | </paramlist> |
20236 | </method> | |
f32fc4bc RD |
20237 | <method name="GetDisplaySize" oldname="wxGetDisplaySize" type="Size" overloaded="no"> |
20238 | <autodoc>GetDisplaySize() -> Size</autodoc> | |
20239 | </method> | |
20240 | <method name="DisplaySizeMM" oldname="wxDisplaySizeMM" type="" overloaded="no"> | |
20241 | <autodoc>DisplaySizeMM() -> (width, height)</autodoc> | |
856bf319 | 20242 | <paramlist> |
f32fc4bc RD |
20243 | <param name="OUTPUT" type="int" default=""/> |
20244 | <param name="OUTPUT" type="int" default=""/> | |
856bf319 RD |
20245 | </paramlist> |
20246 | </method> | |
f32fc4bc RD |
20247 | <method name="GetDisplaySizeMM" oldname="wxGetDisplaySizeMM" type="Size" overloaded="no"> |
20248 | <autodoc>GetDisplaySizeMM() -> Size</autodoc> | |
20249 | </method> | |
20250 | <method name="ClientDisplayRect" oldname="wxClientDisplayRect" type="" overloaded="no"> | |
20251 | <autodoc>ClientDisplayRect() -> (x, y, width, height)</autodoc> | |
856bf319 | 20252 | <paramlist> |
f32fc4bc RD |
20253 | <param name="OUTPUT" type="int" default=""/> |
20254 | <param name="OUTPUT" type="int" default=""/> | |
20255 | <param name="OUTPUT" type="int" default=""/> | |
20256 | <param name="OUTPUT" type="int" default=""/> | |
856bf319 RD |
20257 | </paramlist> |
20258 | </method> | |
f32fc4bc RD |
20259 | <method name="GetClientDisplayRect" oldname="wxGetClientDisplayRect" type="Rect" overloaded="no"> |
20260 | <autodoc>GetClientDisplayRect() -> Rect</autodoc> | |
20261 | </method> | |
20262 | <method name="SetCursor" oldname="wxSetCursor" type="" overloaded="no"> | |
20263 | <autodoc>SetCursor(Cursor cursor)</autodoc> | |
856bf319 | 20264 | <paramlist> |
f32fc4bc | 20265 | <param name="cursor" type="Cursor" default=""/> |
856bf319 RD |
20266 | </paramlist> |
20267 | </method> | |
f32fc4bc RD |
20268 | <method name="BeginBusyCursor" oldname="wxBeginBusyCursor" type="" overloaded="no"> |
20269 | <autodoc>BeginBusyCursor(Cursor cursor=wxHOURGLASS_CURSOR)</autodoc> | |
856bf319 | 20270 | <paramlist> |
f32fc4bc | 20271 | <param name="cursor" type="Cursor" default="wxHOURGLASS_CURSOR"/> |
856bf319 RD |
20272 | </paramlist> |
20273 | </method> | |
f32fc4bc RD |
20274 | <method name="GetActiveWindow" oldname="wxGetActiveWindow" type="Window" overloaded="no"> |
20275 | <autodoc>GetActiveWindow() -> Window</autodoc> | |
856bf319 | 20276 | </method> |
f32fc4bc RD |
20277 | <method name="GenericFindWindowAtPoint" oldname="wxGenericFindWindowAtPoint" type="Window" overloaded="no"> |
20278 | <autodoc>GenericFindWindowAtPoint(Point pt) -> Window</autodoc> | |
856bf319 | 20279 | <paramlist> |
f32fc4bc | 20280 | <param name="pt" type="Point" default=""/> |
856bf319 RD |
20281 | </paramlist> |
20282 | </method> | |
f32fc4bc RD |
20283 | <method name="FindWindowAtPoint" oldname="wxFindWindowAtPoint" type="Window" overloaded="no"> |
20284 | <autodoc>FindWindowAtPoint(Point pt) -> Window</autodoc> | |
856bf319 | 20285 | <paramlist> |
f32fc4bc | 20286 | <param name="pt" type="Point" default=""/> |
856bf319 RD |
20287 | </paramlist> |
20288 | </method> | |
f32fc4bc RD |
20289 | <method name="GetTopLevelParent" oldname="wxGetTopLevelParent" type="Window" overloaded="no"> |
20290 | <autodoc>GetTopLevelParent(Window win) -> Window</autodoc> | |
856bf319 | 20291 | <paramlist> |
f32fc4bc | 20292 | <param name="win" type="Window" default=""/> |
856bf319 RD |
20293 | </paramlist> |
20294 | </method> | |
f32fc4bc RD |
20295 | <method name="GetKeyState" oldname="wxGetKeyState" type="bool" overloaded="no"> |
20296 | <autodoc>GetKeyState(int key) -> bool</autodoc> | |
856bf319 | 20297 | <paramlist> |
f32fc4bc | 20298 | <param name="key" type="wxKeyCode" default=""/> |
856bf319 RD |
20299 | </paramlist> |
20300 | </method> | |
f32fc4bc RD |
20301 | <method name="WakeUpMainThread" oldname="wxWakeUpMainThread" type="" overloaded="no"> |
20302 | <autodoc>WakeUpMainThread()</autodoc> | |
856bf319 | 20303 | </method> |
f32fc4bc RD |
20304 | <method name="MutexGuiEnter" oldname="wxMutexGuiEnter" type="" overloaded="no"> |
20305 | <autodoc>MutexGuiEnter()</autodoc> | |
856bf319 | 20306 | </method> |
f32fc4bc RD |
20307 | <method name="MutexGuiLeave" oldname="wxMutexGuiLeave" type="" overloaded="no"> |
20308 | <autodoc>MutexGuiLeave()</autodoc> | |
856bf319 | 20309 | </method> |
f32fc4bc RD |
20310 | <class name="MutexGuiLocker" oldname="wxMutexGuiLocker" module="misc"> |
20311 | <constructor name="MutexGuiLocker" overloaded="no"> | |
20312 | <autodoc>__init__() -> MutexGuiLocker</autodoc> | |
20313 | </constructor> | |
20314 | <destructor name="~wxMutexGuiLocker" overloaded="no"> | |
20315 | <autodoc>__del__()</autodoc> | |
20316 | </destructor> | |
20317 | </class> | |
20318 | <method name="Thread_IsMain" oldname="wxThread_IsMain" type="bool" overloaded="no"> | |
20319 | <autodoc>Thread_IsMain() -> bool</autodoc> | |
856bf319 | 20320 | </method> |
f32fc4bc RD |
20321 | <pythoncode> |
20322 | #--------------------------------------------------------------------------- | |
20323 | </pythoncode> | |
20324 | <class name="ToolTip" oldname="wxToolTip" module="misc"> | |
20325 | <baseclass name="Object"/> | |
20326 | <constructor name="ToolTip" overloaded="no"> | |
20327 | <autodoc>__init__(String tip) -> ToolTip</autodoc> | |
20328 | <paramlist> | |
20329 | <param name="tip" type="String" default=""/> | |
20330 | </paramlist> | |
20331 | </constructor> | |
20332 | <method name="SetTip" type="" overloaded="no"> | |
20333 | <autodoc>SetTip(String tip)</autodoc> | |
20334 | <paramlist> | |
20335 | <param name="tip" type="String" default=""/> | |
20336 | </paramlist> | |
20337 | </method> | |
20338 | <method name="GetTip" type="String" overloaded="no"> | |
20339 | <autodoc>GetTip() -> String</autodoc> | |
20340 | </method> | |
20341 | <method name="GetWindow" type="Window" overloaded="no"> | |
20342 | <autodoc>GetWindow() -> Window</autodoc> | |
20343 | </method> | |
20344 | <staticmethod name="Enable" type="" overloaded="no"> | |
20345 | <autodoc>Enable(bool flag)</autodoc> | |
20346 | <paramlist> | |
20347 | <param name="flag" type="bool" default=""/> | |
20348 | </paramlist> | |
20349 | </staticmethod> | |
20350 | <staticmethod name="SetDelay" type="" overloaded="no"> | |
20351 | <autodoc>SetDelay(long milliseconds)</autodoc> | |
20352 | <paramlist> | |
20353 | <param name="milliseconds" type="long" default=""/> | |
20354 | </paramlist> | |
20355 | </staticmethod> | |
20356 | </class> | |
20357 | <class name="Caret" oldname="wxCaret" module="misc"> | |
20358 | <constructor name="Caret" overloaded="no"> | |
20359 | <autodoc>__init__(Window window, Size size) -> Caret</autodoc> | |
20360 | <paramlist> | |
20361 | <param name="window" type="Window" default=""/> | |
20362 | <param name="size" type="Size" default=""/> | |
20363 | </paramlist> | |
20364 | </constructor> | |
20365 | <destructor name="~wxCaret" overloaded="no"> | |
20366 | <autodoc>__del__()</autodoc> | |
20367 | </destructor> | |
20368 | <method name="IsOk" type="bool" overloaded="no"> | |
20369 | <autodoc>IsOk() -> bool</autodoc> | |
20370 | </method> | |
20371 | <method name="IsVisible" type="bool" overloaded="no"> | |
20372 | <autodoc>IsVisible() -> bool</autodoc> | |
20373 | </method> | |
20374 | <method name="GetPosition" type="Point" overloaded="no"> | |
20375 | <autodoc>GetPosition() -> Point</autodoc> | |
20376 | </method> | |
20377 | <method name="GetPositionTuple" type="" overloaded="no"> | |
20378 | <autodoc>GetPositionTuple() -> (x,y)</autodoc> | |
20379 | <paramlist> | |
20380 | <param name="OUTPUT" type="int" default=""/> | |
20381 | <param name="OUTPUT" type="int" default=""/> | |
20382 | </paramlist> | |
20383 | </method> | |
20384 | <method name="GetSize" type="Size" overloaded="no"> | |
20385 | <autodoc>GetSize() -> Size</autodoc> | |
20386 | </method> | |
20387 | <method name="GetSizeTuple" type="" overloaded="no"> | |
20388 | <autodoc>GetSizeTuple() -> (width, height)</autodoc> | |
20389 | <paramlist> | |
20390 | <param name="OUTPUT" type="int" default=""/> | |
20391 | <param name="OUTPUT" type="int" default=""/> | |
20392 | </paramlist> | |
20393 | </method> | |
20394 | <method name="GetWindow" type="Window" overloaded="no"> | |
20395 | <autodoc>GetWindow() -> Window</autodoc> | |
20396 | </method> | |
20397 | <method name="MoveXY" type="" overloaded="no"> | |
20398 | <autodoc>MoveXY(int x, int y)</autodoc> | |
20399 | <paramlist> | |
20400 | <param name="x" type="int" default=""/> | |
20401 | <param name="y" type="int" default=""/> | |
20402 | </paramlist> | |
20403 | </method> | |
20404 | <method name="Move" type="" overloaded="no"> | |
20405 | <autodoc>Move(Point pt)</autodoc> | |
20406 | <paramlist> | |
20407 | <param name="pt" type="Point" default=""/> | |
20408 | </paramlist> | |
20409 | </method> | |
20410 | <method name="SetSizeWH" type="" overloaded="no"> | |
20411 | <autodoc>SetSizeWH(int width, int height)</autodoc> | |
20412 | <paramlist> | |
20413 | <param name="width" type="int" default=""/> | |
20414 | <param name="height" type="int" default=""/> | |
20415 | </paramlist> | |
20416 | </method> | |
20417 | <method name="SetSize" type="" overloaded="no"> | |
20418 | <autodoc>SetSize(Size size)</autodoc> | |
20419 | <paramlist> | |
20420 | <param name="size" type="Size" default=""/> | |
20421 | </paramlist> | |
20422 | </method> | |
20423 | <method name="Show" type="" overloaded="no"> | |
20424 | <autodoc>Show(int show=True)</autodoc> | |
20425 | <paramlist> | |
20426 | <param name="show" type="int" default="True"/> | |
20427 | </paramlist> | |
20428 | </method> | |
20429 | <method name="Hide" type="" overloaded="no"> | |
20430 | <autodoc>Hide()</autodoc> | |
20431 | </method> | |
20432 | </class> | |
20433 | <method name="Caret_GetBlinkTime" oldname="wxCaret_GetBlinkTime" type="int" overloaded="no"> | |
20434 | <autodoc>Caret_GetBlinkTime() -> int</autodoc> | |
20435 | </method> | |
20436 | <method name="Caret_SetBlinkTime" oldname="wxCaret_SetBlinkTime" type="" overloaded="no"> | |
20437 | <autodoc>Caret_SetBlinkTime(int milliseconds)</autodoc> | |
856bf319 | 20438 | <paramlist> |
f32fc4bc | 20439 | <param name="milliseconds" type="int" default=""/> |
856bf319 RD |
20440 | </paramlist> |
20441 | </method> | |
f32fc4bc RD |
20442 | <class name="BusyCursor" oldname="wxBusyCursor" module="misc"> |
20443 | <constructor name="BusyCursor" overloaded="no"> | |
20444 | <autodoc>__init__(Cursor cursor=wxHOURGLASS_CURSOR) -> BusyCursor</autodoc> | |
20445 | <paramlist> | |
20446 | <param name="cursor" type="Cursor" default="wxHOURGLASS_CURSOR"/> | |
20447 | </paramlist> | |
20448 | </constructor> | |
20449 | <destructor name="~wxBusyCursor" overloaded="no"> | |
20450 | <autodoc>__del__()</autodoc> | |
20451 | </destructor> | |
20452 | </class> | |
20453 | <class name="WindowDisabler" oldname="wxWindowDisabler" module="misc"> | |
20454 | <constructor name="WindowDisabler" overloaded="no"> | |
20455 | <autodoc>__init__(Window winToSkip=None) -> WindowDisabler</autodoc> | |
20456 | <paramlist> | |
20457 | <param name="winToSkip" type="Window" default="NULL"/> | |
20458 | </paramlist> | |
20459 | </constructor> | |
20460 | <destructor name="~wxWindowDisabler" overloaded="no"> | |
20461 | <autodoc>__del__()</autodoc> | |
20462 | </destructor> | |
20463 | </class> | |
20464 | <class name="BusyInfo" oldname="wxBusyInfo" module="misc"> | |
20465 | <baseclass name="Object"/> | |
20466 | <constructor name="BusyInfo" overloaded="no"> | |
20467 | <autodoc>__init__(String message) -> BusyInfo</autodoc> | |
20468 | <paramlist> | |
20469 | <param name="message" type="String" default=""/> | |
20470 | </paramlist> | |
20471 | </constructor> | |
20472 | <destructor name="~wxBusyInfo" overloaded="no"> | |
20473 | <autodoc>__del__()</autodoc> | |
20474 | </destructor> | |
20475 | </class> | |
20476 | <class name="StopWatch" oldname="wxStopWatch" module="misc"> | |
20477 | <constructor name="StopWatch" overloaded="no"> | |
20478 | <autodoc>__init__() -> StopWatch</autodoc> | |
20479 | </constructor> | |
20480 | <method name="Start" type="" overloaded="no"> | |
20481 | <autodoc>Start(long t0=0)</autodoc> | |
20482 | <paramlist> | |
20483 | <param name="t0" type="long" default="0"/> | |
20484 | </paramlist> | |
20485 | </method> | |
20486 | <method name="Pause" type="" overloaded="no"> | |
20487 | <autodoc>Pause()</autodoc> | |
20488 | </method> | |
20489 | <method name="Resume" type="" overloaded="no"> | |
20490 | <autodoc>Resume()</autodoc> | |
20491 | </method> | |
20492 | <method name="Time" type="long" overloaded="no"> | |
20493 | <autodoc>Time() -> long</autodoc> | |
20494 | </method> | |
20495 | </class> | |
20496 | <class name="FileHistory" oldname="wxFileHistory" module="misc"> | |
20497 | <baseclass name="Object"/> | |
20498 | <constructor name="FileHistory" overloaded="no"> | |
20499 | <autodoc>__init__(int maxFiles=9) -> FileHistory</autodoc> | |
20500 | <paramlist> | |
20501 | <param name="maxFiles" type="int" default="9"/> | |
20502 | </paramlist> | |
20503 | </constructor> | |
20504 | <destructor name="~wxFileHistory" overloaded="no"> | |
20505 | <autodoc>__del__()</autodoc> | |
20506 | </destructor> | |
20507 | <method name="AddFileToHistory" type="" overloaded="no"> | |
20508 | <autodoc>AddFileToHistory(String file)</autodoc> | |
20509 | <paramlist> | |
20510 | <param name="file" type="String" default=""/> | |
20511 | </paramlist> | |
20512 | </method> | |
20513 | <method name="RemoveFileFromHistory" type="" overloaded="no"> | |
20514 | <autodoc>RemoveFileFromHistory(int i)</autodoc> | |
20515 | <paramlist> | |
20516 | <param name="i" type="int" default=""/> | |
20517 | </paramlist> | |
20518 | </method> | |
20519 | <method name="GetMaxFiles" type="int" overloaded="no"> | |
20520 | <autodoc>GetMaxFiles() -> int</autodoc> | |
20521 | </method> | |
20522 | <method name="UseMenu" type="" overloaded="no"> | |
20523 | <autodoc>UseMenu(Menu menu)</autodoc> | |
20524 | <paramlist> | |
20525 | <param name="menu" type="Menu" default=""/> | |
20526 | </paramlist> | |
20527 | </method> | |
20528 | <method name="RemoveMenu" type="" overloaded="no"> | |
20529 | <autodoc>RemoveMenu(Menu menu)</autodoc> | |
20530 | <paramlist> | |
20531 | <param name="menu" type="Menu" default=""/> | |
20532 | </paramlist> | |
20533 | </method> | |
20534 | <method name="Load" type="" overloaded="no"> | |
20535 | <autodoc>Load(ConfigBase config)</autodoc> | |
20536 | <paramlist> | |
20537 | <param name="config" type="wxConfigBase" default=""/> | |
20538 | </paramlist> | |
20539 | </method> | |
20540 | <method name="Save" type="" overloaded="no"> | |
20541 | <autodoc>Save(ConfigBase config)</autodoc> | |
20542 | <paramlist> | |
20543 | <param name="config" type="wxConfigBase" default=""/> | |
20544 | </paramlist> | |
20545 | </method> | |
20546 | <method name="AddFilesToMenu" type="" overloaded="no"> | |
20547 | <autodoc>AddFilesToMenu()</autodoc> | |
20548 | </method> | |
20549 | <method name="AddFilesToThisMenu" type="" overloaded="no"> | |
20550 | <autodoc>AddFilesToThisMenu(Menu menu)</autodoc> | |
20551 | <paramlist> | |
20552 | <param name="menu" type="Menu" default=""/> | |
20553 | </paramlist> | |
20554 | </method> | |
20555 | <method name="GetHistoryFile" type="String" overloaded="no"> | |
20556 | <autodoc>GetHistoryFile(int i) -> String</autodoc> | |
20557 | <paramlist> | |
20558 | <param name="i" type="int" default=""/> | |
20559 | </paramlist> | |
20560 | </method> | |
20561 | <method name="GetCount" type="int" overloaded="no"> | |
20562 | <autodoc>GetCount() -> int</autodoc> | |
20563 | </method> | |
20564 | </class> | |
20565 | <class name="SingleInstanceChecker" oldname="wxSingleInstanceChecker" module="misc"> | |
20566 | <constructor name="SingleInstanceChecker" overloaded="no"> | |
20567 | <autodoc>__init__(String name, String path=EmptyString) -> SingleInstanceChecker</autodoc> | |
20568 | <paramlist> | |
20569 | <param name="name" type="String" default=""/> | |
20570 | <param name="path" type="String" default="wxPyEmptyString"/> | |
20571 | </paramlist> | |
20572 | </constructor> | |
20573 | <constructor name="PreSingleInstanceChecker" overloaded="no"> | |
20574 | <autodoc>PreSingleInstanceChecker() -> SingleInstanceChecker</autodoc> | |
20575 | </constructor> | |
20576 | <destructor name="~wxSingleInstanceChecker" overloaded="no"> | |
20577 | <autodoc>__del__()</autodoc> | |
20578 | </destructor> | |
20579 | <method name="Create" type="bool" overloaded="no"> | |
20580 | <autodoc>Create(String name, String path=EmptyString) -> bool</autodoc> | |
20581 | <paramlist> | |
20582 | <param name="name" type="String" default=""/> | |
20583 | <param name="path" type="String" default="wxPyEmptyString"/> | |
20584 | </paramlist> | |
20585 | </method> | |
20586 | <method name="IsAnotherRunning" type="bool" overloaded="no"> | |
20587 | <autodoc>IsAnotherRunning() -> bool</autodoc> | |
20588 | </method> | |
20589 | </class> | |
20590 | <method name="DrawWindowOnDC" oldname="wxDrawWindowOnDC" type="" overloaded="no"> | |
20591 | <autodoc>DrawWindowOnDC(Window window, DC dc, int method)</autodoc> | |
20592 | <paramlist> | |
20593 | <param name="window" type="Window" default=""/> | |
20594 | <param name="dc" type="DC" default=""/> | |
20595 | <param name="method" type="int" default=""/> | |
856bf319 RD |
20596 | </paramlist> |
20597 | </method> | |
f32fc4bc RD |
20598 | <pythoncode> |
20599 | #--------------------------------------------------------------------------- | |
20600 | </pythoncode> | |
20601 | <class name="TipProvider" oldname="wxTipProvider" module="misc"> | |
20602 | <destructor name="~wxTipProvider" overloaded="no"> | |
20603 | <autodoc>__del__()</autodoc> | |
20604 | </destructor> | |
20605 | <method name="GetTip" type="String" overloaded="no"> | |
20606 | <autodoc>GetTip() -> String</autodoc> | |
20607 | </method> | |
20608 | <method name="GetCurrentTip" type="size_t" overloaded="no"> | |
20609 | <autodoc>GetCurrentTip() -> size_t</autodoc> | |
20610 | </method> | |
20611 | <method name="PreprocessTip" type="String" overloaded="no"> | |
20612 | <autodoc>PreprocessTip(String tip) -> String</autodoc> | |
20613 | <paramlist> | |
20614 | <param name="tip" type="String" default=""/> | |
20615 | </paramlist> | |
20616 | </method> | |
20617 | </class> | |
20618 | <class name="PyTipProvider" oldname="wxPyTipProvider" module="misc"> | |
20619 | <baseclass name="TipProvider"/> | |
20620 | <constructor name="PyTipProvider" overloaded="no"> | |
20621 | <autodoc>__init__(size_t currentTip) -> PyTipProvider</autodoc> | |
20622 | <paramlist> | |
20623 | <param name="currentTip" type="size_t" default=""/> | |
20624 | </paramlist> | |
20625 | </constructor> | |
20626 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
20627 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
20628 | <paramlist> | |
20629 | <param name="self" type="PyObject" default=""/> | |
20630 | <param name="_class" type="PyObject" default=""/> | |
20631 | </paramlist> | |
20632 | </method> | |
20633 | </class> | |
20634 | <method name="ShowTip" oldname="wxShowTip" type="bool" overloaded="no"> | |
20635 | <autodoc>ShowTip(Window parent, TipProvider tipProvider, bool showAtStartup=True) -> bool</autodoc> | |
20636 | <paramlist> | |
20637 | <param name="parent" type="Window" default=""/> | |
20638 | <param name="tipProvider" type="TipProvider" default=""/> | |
20639 | <param name="showAtStartup" type="bool" default="True"/> | |
20640 | </paramlist> | |
20641 | </method> | |
20642 | <method name="CreateFileTipProvider" oldname="wxCreateFileTipProvider" type="TipProvider" overloaded="no"> | |
20643 | <autodoc>CreateFileTipProvider(String filename, size_t currentTip) -> TipProvider</autodoc> | |
20644 | <paramlist> | |
20645 | <param name="filename" type="String" default=""/> | |
20646 | <param name="currentTip" type="size_t" default=""/> | |
856bf319 RD |
20647 | </paramlist> |
20648 | </method> | |
f32fc4bc | 20649 | <pythoncode> |
0f43fbdf RD |
20650 | #--------------------------------------------------------------------------- |
20651 | </pythoncode> | |
f32fc4bc RD |
20652 | <class name="Timer" oldname="wxPyTimer" module="misc"> |
20653 | <baseclass name="EvtHandler"/> | |
20654 | <constructor name="wxPyTimer" overloaded="no"> | |
20655 | <autodoc>__init__(EvtHandler owner=None, int id=-1) -> Timer</autodoc> | |
20656 | <paramlist> | |
20657 | <param name="owner" type="EvtHandler" default="NULL"/> | |
20658 | <param name="id" type="int" default="-1"/> | |
20659 | </paramlist> | |
20660 | </constructor> | |
20661 | <destructor name="~wxPyTimer" overloaded="no"> | |
20662 | <autodoc>__del__()</autodoc> | |
20663 | </destructor> | |
20664 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
b39e211b | 20665 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class, int incref=1)</autodoc> |
f32fc4bc RD |
20666 | <paramlist> |
20667 | <param name="self" type="PyObject" default=""/> | |
20668 | <param name="_class" type="PyObject" default=""/> | |
b39e211b | 20669 | <param name="incref" type="int" default="1"/> |
f32fc4bc RD |
20670 | </paramlist> |
20671 | </method> | |
20672 | <method name="SetOwner" type="" overloaded="no"> | |
20673 | <autodoc>SetOwner(EvtHandler owner, int id=-1)</autodoc> | |
20674 | <paramlist> | |
20675 | <param name="owner" type="EvtHandler" default=""/> | |
20676 | <param name="id" type="int" default="-1"/> | |
20677 | </paramlist> | |
20678 | </method> | |
20679 | <method name="Start" type="bool" overloaded="no"> | |
20680 | <autodoc>Start(int milliseconds=-1, bool oneShot=False) -> bool</autodoc> | |
20681 | <paramlist> | |
20682 | <param name="milliseconds" type="int" default="-1"/> | |
20683 | <param name="oneShot" type="bool" default="False"/> | |
20684 | </paramlist> | |
20685 | </method> | |
20686 | <method name="Stop" type="" overloaded="no"> | |
20687 | <autodoc>Stop()</autodoc> | |
20688 | </method> | |
20689 | <method name="IsRunning" type="bool" overloaded="no"> | |
20690 | <autodoc>IsRunning() -> bool</autodoc> | |
20691 | </method> | |
20692 | <method name="GetInterval" type="int" overloaded="no"> | |
20693 | <autodoc>GetInterval() -> int</autodoc> | |
20694 | </method> | |
20695 | <method name="IsOneShot" type="bool" overloaded="no"> | |
20696 | <autodoc>IsOneShot() -> bool</autodoc> | |
20697 | </method> | |
20698 | <method name="GetId" type="int" overloaded="no"> | |
20699 | <autodoc>GetId() -> int</autodoc> | |
20700 | </method> | |
20701 | </class> | |
b39e211b | 20702 | <pythoncode> |
f32fc4bc RD |
20703 | # For backwards compatibility with 2.4 |
20704 | class PyTimer(Timer): | |
20705 | def __init__(self, notify): | |
20706 | Timer.__init__(self) | |
20707 | self.notify = notify | |
20708 | ||
20709 | def Notify(self): | |
20710 | if self.notify: | |
20711 | self.notify() | |
20712 | ||
20713 | ||
20714 | EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 ) | |
b39e211b | 20715 | |
0f43fbdf | 20716 | </pythoncode> |
f32fc4bc RD |
20717 | <class name="TimerEvent" oldname="wxTimerEvent" module="misc"> |
20718 | <baseclass name="Event"/> | |
20719 | <constructor name="TimerEvent" overloaded="no"> | |
20720 | <autodoc>__init__(int timerid=0, int interval=0) -> TimerEvent</autodoc> | |
20721 | <paramlist> | |
20722 | <param name="timerid" type="int" default="0"/> | |
20723 | <param name="interval" type="int" default="0"/> | |
20724 | </paramlist> | |
20725 | </constructor> | |
20726 | <method name="GetInterval" type="int" overloaded="no"> | |
20727 | <autodoc>GetInterval() -> int</autodoc> | |
20728 | </method> | |
20729 | </class> | |
20730 | <class name="TimerRunner" oldname="wxTimerRunner" module="misc"> | |
20731 | <constructor name="TimerRunner" overloaded="yes"> | |
20732 | <paramlist> | |
20733 | <param name="timer" type="wxTimer" default=""/> | |
20734 | </paramlist> | |
20735 | </constructor> | |
20736 | <constructor name="TimerRunner" overloaded="yes"> | |
20737 | <autodoc>__init__(wxTimer timer) -> TimerRunner | |
20738 | __init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner</autodoc> | |
20739 | <paramlist> | |
20740 | <param name="timer" type="wxTimer" default=""/> | |
20741 | <param name="milli" type="int" default=""/> | |
20742 | <param name="oneShot" type="bool" default="False"/> | |
20743 | </paramlist> | |
20744 | </constructor> | |
20745 | <destructor name="~wxTimerRunner" overloaded="no"> | |
20746 | <autodoc>__del__()</autodoc> | |
20747 | </destructor> | |
20748 | <method name="Start" type="" overloaded="no"> | |
20749 | <autodoc>Start(int milli, bool oneShot=False)</autodoc> | |
20750 | <paramlist> | |
20751 | <param name="milli" type="int" default=""/> | |
20752 | <param name="oneShot" type="bool" default="False"/> | |
20753 | </paramlist> | |
20754 | </method> | |
20755 | </class> | |
20756 | <pythoncode> | |
0f43fbdf RD |
20757 | #--------------------------------------------------------------------------- |
20758 | </pythoncode> | |
f32fc4bc RD |
20759 | <class name="Log" oldname="wxLog" module="misc"> |
20760 | <constructor name="Log" overloaded="no"> | |
20761 | <autodoc>__init__() -> Log</autodoc> | |
20762 | </constructor> | |
20763 | <staticmethod name="IsEnabled" type="bool" overloaded="no"> | |
20764 | <autodoc>IsEnabled() -> bool</autodoc> | |
20765 | </staticmethod> | |
20766 | <staticmethod name="EnableLogging" type="bool" overloaded="no"> | |
20767 | <autodoc>EnableLogging(bool doIt=True) -> bool</autodoc> | |
20768 | <paramlist> | |
20769 | <param name="doIt" type="bool" default="True"/> | |
20770 | </paramlist> | |
20771 | </staticmethod> | |
20772 | <staticmethod name="OnLog" type="" overloaded="no"> | |
20773 | <autodoc>OnLog(wxLogLevel level, wxChar szString, time_t t)</autodoc> | |
20774 | <paramlist> | |
20775 | <param name="level" type="wxLogLevel" default=""/> | |
20776 | <param name="szString" type="wxChar" default=""/> | |
20777 | <param name="t" type="time_t" default=""/> | |
20778 | </paramlist> | |
20779 | </staticmethod> | |
20780 | <method name="Flush" type="" overloaded="no"> | |
20781 | <autodoc>Flush()</autodoc> | |
20782 | </method> | |
20783 | <staticmethod name="FlushActive" type="" overloaded="no"> | |
20784 | <autodoc>FlushActive()</autodoc> | |
20785 | </staticmethod> | |
20786 | <staticmethod name="GetActiveTarget" type="Log" overloaded="no"> | |
20787 | <autodoc>GetActiveTarget() -> Log</autodoc> | |
20788 | </staticmethod> | |
20789 | <staticmethod name="SetActiveTarget" type="Log" overloaded="no"> | |
20790 | <autodoc>SetActiveTarget(Log pLogger) -> Log</autodoc> | |
20791 | <paramlist> | |
20792 | <param name="pLogger" type="Log" default=""/> | |
20793 | </paramlist> | |
20794 | </staticmethod> | |
20795 | <staticmethod name="Suspend" type="" overloaded="no"> | |
20796 | <autodoc>Suspend()</autodoc> | |
20797 | </staticmethod> | |
20798 | <staticmethod name="Resume" type="" overloaded="no"> | |
20799 | <autodoc>Resume()</autodoc> | |
20800 | </staticmethod> | |
20801 | <staticmethod name="SetVerbose" type="" overloaded="no"> | |
20802 | <autodoc>SetVerbose(bool bVerbose=True)</autodoc> | |
20803 | <paramlist> | |
20804 | <param name="bVerbose" type="bool" default="True"/> | |
20805 | </paramlist> | |
20806 | </staticmethod> | |
20807 | <staticmethod name="SetLogLevel" type="" overloaded="no"> | |
20808 | <autodoc>SetLogLevel(wxLogLevel logLevel)</autodoc> | |
20809 | <paramlist> | |
20810 | <param name="logLevel" type="wxLogLevel" default=""/> | |
20811 | </paramlist> | |
20812 | </staticmethod> | |
20813 | <staticmethod name="DontCreateOnDemand" type="" overloaded="no"> | |
20814 | <autodoc>DontCreateOnDemand()</autodoc> | |
20815 | </staticmethod> | |
20816 | <staticmethod name="SetTraceMask" type="" overloaded="no"> | |
20817 | <autodoc>SetTraceMask(wxTraceMask ulMask)</autodoc> | |
20818 | <paramlist> | |
20819 | <param name="ulMask" type="wxTraceMask" default=""/> | |
20820 | </paramlist> | |
20821 | </staticmethod> | |
20822 | <staticmethod name="AddTraceMask" type="" overloaded="no"> | |
20823 | <autodoc>AddTraceMask(String str)</autodoc> | |
20824 | <paramlist> | |
20825 | <param name="str" type="String" default=""/> | |
20826 | </paramlist> | |
20827 | </staticmethod> | |
20828 | <staticmethod name="RemoveTraceMask" type="" overloaded="no"> | |
20829 | <autodoc>RemoveTraceMask(String str)</autodoc> | |
20830 | <paramlist> | |
20831 | <param name="str" type="String" default=""/> | |
20832 | </paramlist> | |
20833 | </staticmethod> | |
20834 | <staticmethod name="ClearTraceMasks" type="" overloaded="no"> | |
20835 | <autodoc>ClearTraceMasks()</autodoc> | |
20836 | </staticmethod> | |
20837 | <staticmethod name="GetTraceMasks" type="wxArrayString" overloaded="no"> | |
20838 | <autodoc>GetTraceMasks() -> wxArrayString</autodoc> | |
20839 | </staticmethod> | |
20840 | <staticmethod name="SetTimestamp" type="" overloaded="no"> | |
20841 | <autodoc>SetTimestamp(wxChar ts)</autodoc> | |
20842 | <paramlist> | |
20843 | <param name="ts" type="wxChar" default=""/> | |
20844 | </paramlist> | |
20845 | </staticmethod> | |
20846 | <staticmethod name="GetVerbose" type="bool" overloaded="no"> | |
20847 | <autodoc>GetVerbose() -> bool</autodoc> | |
20848 | </staticmethod> | |
20849 | <staticmethod name="GetTraceMask" type="wxTraceMask" overloaded="no"> | |
20850 | <autodoc>GetTraceMask() -> wxTraceMask</autodoc> | |
20851 | </staticmethod> | |
20852 | <staticmethod name="IsAllowedTraceMask" type="bool" overloaded="no"> | |
20853 | <autodoc>IsAllowedTraceMask(wxChar mask) -> bool</autodoc> | |
20854 | <paramlist> | |
20855 | <param name="mask" type="wxChar" default=""/> | |
20856 | </paramlist> | |
20857 | </staticmethod> | |
20858 | <staticmethod name="GetLogLevel" type="wxLogLevel" overloaded="no"> | |
20859 | <autodoc>GetLogLevel() -> wxLogLevel</autodoc> | |
20860 | </staticmethod> | |
20861 | <staticmethod name="GetTimestamp" type="wxChar" overloaded="no"> | |
20862 | <autodoc>GetTimestamp() -> wxChar</autodoc> | |
20863 | </staticmethod> | |
20864 | <staticmethod name="TimeStamp" type="String" overloaded="no"> | |
20865 | <autodoc>TimeStamp() -> String</autodoc> | |
20866 | </staticmethod> | |
20867 | <method name="Destroy" type="" overloaded="no"> | |
20868 | <autodoc>Destroy()</autodoc> | |
20869 | </method> | |
20870 | </class> | |
20871 | <class name="LogStderr" oldname="wxLogStderr" module="misc"> | |
20872 | <baseclass name="Log"/> | |
20873 | <constructor name="LogStderr" overloaded="no"> | |
20874 | <autodoc>__init__() -> LogStderr</autodoc> | |
20875 | </constructor> | |
20876 | </class> | |
20877 | <class name="LogTextCtrl" oldname="wxLogTextCtrl" module="misc"> | |
20878 | <baseclass name="Log"/> | |
20879 | <constructor name="LogTextCtrl" overloaded="no"> | |
20880 | <autodoc>__init__(wxTextCtrl pTextCtrl) -> LogTextCtrl</autodoc> | |
20881 | <paramlist> | |
20882 | <param name="pTextCtrl" type="TextCtrl" default=""/> | |
20883 | </paramlist> | |
20884 | </constructor> | |
20885 | </class> | |
20886 | <class name="LogGui" oldname="wxLogGui" module="misc"> | |
20887 | <baseclass name="Log"/> | |
20888 | <constructor name="LogGui" overloaded="no"> | |
20889 | <autodoc>__init__() -> LogGui</autodoc> | |
20890 | </constructor> | |
20891 | </class> | |
20892 | <class name="LogWindow" oldname="wxLogWindow" module="misc"> | |
20893 | <baseclass name="Log"/> | |
20894 | <constructor name="LogWindow" overloaded="no"> | |
20895 | <autodoc>__init__(wxFrame pParent, String szTitle, bool bShow=True, bool bPassToOld=True) -> LogWindow</autodoc> | |
20896 | <paramlist> | |
20897 | <param name="pParent" type="Frame" default=""/> | |
20898 | <param name="szTitle" type="String" default=""/> | |
20899 | <param name="bShow" type="bool" default="True"/> | |
20900 | <param name="bPassToOld" type="bool" default="True"/> | |
20901 | </paramlist> | |
20902 | </constructor> | |
20903 | <method name="Show" type="" overloaded="no"> | |
20904 | <autodoc>Show(bool bShow=True)</autodoc> | |
20905 | <paramlist> | |
20906 | <param name="bShow" type="bool" default="True"/> | |
20907 | </paramlist> | |
20908 | </method> | |
20909 | <method name="GetFrame" type="Frame" overloaded="no"> | |
20910 | <autodoc>GetFrame() -> wxFrame</autodoc> | |
20911 | </method> | |
20912 | <method name="GetOldLog" type="Log" overloaded="no"> | |
20913 | <autodoc>GetOldLog() -> Log</autodoc> | |
20914 | </method> | |
20915 | <method name="IsPassingMessages" type="bool" overloaded="no"> | |
20916 | <autodoc>IsPassingMessages() -> bool</autodoc> | |
20917 | </method> | |
20918 | <method name="PassMessages" type="" overloaded="no"> | |
20919 | <autodoc>PassMessages(bool bDoPass)</autodoc> | |
20920 | <paramlist> | |
20921 | <param name="bDoPass" type="bool" default=""/> | |
20922 | </paramlist> | |
20923 | </method> | |
20924 | </class> | |
20925 | <class name="LogChain" oldname="wxLogChain" module="misc"> | |
20926 | <baseclass name="Log"/> | |
20927 | <constructor name="LogChain" overloaded="no"> | |
20928 | <autodoc>__init__(Log logger) -> LogChain</autodoc> | |
20929 | <paramlist> | |
20930 | <param name="logger" type="Log" default=""/> | |
20931 | </paramlist> | |
20932 | </constructor> | |
20933 | <method name="SetLog" type="" overloaded="no"> | |
20934 | <autodoc>SetLog(Log logger)</autodoc> | |
20935 | <paramlist> | |
20936 | <param name="logger" type="Log" default=""/> | |
20937 | </paramlist> | |
20938 | </method> | |
20939 | <method name="PassMessages" type="" overloaded="no"> | |
20940 | <autodoc>PassMessages(bool bDoPass)</autodoc> | |
20941 | <paramlist> | |
20942 | <param name="bDoPass" type="bool" default=""/> | |
20943 | </paramlist> | |
20944 | </method> | |
20945 | <method name="IsPassingMessages" type="bool" overloaded="no"> | |
20946 | <autodoc>IsPassingMessages() -> bool</autodoc> | |
20947 | </method> | |
20948 | <method name="GetOldLog" type="Log" overloaded="no"> | |
20949 | <autodoc>GetOldLog() -> Log</autodoc> | |
20950 | </method> | |
20951 | </class> | |
20952 | <method name="SysErrorCode" oldname="wxSysErrorCode" type="unsigned long" overloaded="no"> | |
20953 | <autodoc>SysErrorCode() -> unsigned long</autodoc> | |
20954 | </method> | |
20955 | <method name="SysErrorMsg" oldname="wxSysErrorMsg" type="String" overloaded="no"> | |
20956 | <autodoc>SysErrorMsg(unsigned long nErrCode=0) -> String</autodoc> | |
20957 | <paramlist> | |
20958 | <param name="nErrCode" type="unsigned long" default="0"/> | |
20959 | </paramlist> | |
20960 | </method> | |
20961 | <method name="LogFatalError" oldname="wxLogFatalError" type="" overloaded="no"> | |
20962 | <autodoc>LogFatalError(String msg)</autodoc> | |
20963 | <paramlist> | |
20964 | <param name="msg" type="String" default=""/> | |
20965 | </paramlist> | |
20966 | </method> | |
20967 | <method name="LogError" oldname="wxLogError" type="" overloaded="no"> | |
20968 | <autodoc>LogError(String msg)</autodoc> | |
20969 | <paramlist> | |
20970 | <param name="msg" type="String" default=""/> | |
20971 | </paramlist> | |
20972 | </method> | |
20973 | <method name="LogWarning" oldname="wxLogWarning" type="" overloaded="no"> | |
20974 | <autodoc>LogWarning(String msg)</autodoc> | |
20975 | <paramlist> | |
20976 | <param name="msg" type="String" default=""/> | |
20977 | </paramlist> | |
20978 | </method> | |
20979 | <method name="LogMessage" oldname="wxLogMessage" type="" overloaded="no"> | |
20980 | <autodoc>LogMessage(String msg)</autodoc> | |
856bf319 | 20981 | <paramlist> |
f32fc4bc | 20982 | <param name="msg" type="String" default=""/> |
856bf319 RD |
20983 | </paramlist> |
20984 | </method> | |
f32fc4bc RD |
20985 | <method name="LogInfo" oldname="wxLogInfo" type="" overloaded="no"> |
20986 | <autodoc>LogInfo(String msg)</autodoc> | |
856bf319 | 20987 | <paramlist> |
f32fc4bc | 20988 | <param name="msg" type="String" default=""/> |
856bf319 RD |
20989 | </paramlist> |
20990 | </method> | |
f32fc4bc RD |
20991 | <method name="LogDebug" oldname="wxLogDebug" type="" overloaded="no"> |
20992 | <autodoc>LogDebug(String msg)</autodoc> | |
856bf319 | 20993 | <paramlist> |
f32fc4bc | 20994 | <param name="msg" type="String" default=""/> |
856bf319 RD |
20995 | </paramlist> |
20996 | </method> | |
f32fc4bc RD |
20997 | <method name="LogVerbose" oldname="wxLogVerbose" type="" overloaded="no"> |
20998 | <autodoc>LogVerbose(String msg)</autodoc> | |
856bf319 | 20999 | <paramlist> |
f32fc4bc | 21000 | <param name="msg" type="String" default=""/> |
856bf319 RD |
21001 | </paramlist> |
21002 | </method> | |
f32fc4bc RD |
21003 | <method name="LogStatus" oldname="wxLogStatus" type="" overloaded="no"> |
21004 | <autodoc>LogStatus(String msg)</autodoc> | |
856bf319 | 21005 | <paramlist> |
f32fc4bc | 21006 | <param name="msg" type="String" default=""/> |
856bf319 RD |
21007 | </paramlist> |
21008 | </method> | |
f32fc4bc RD |
21009 | <method name="LogStatusFrame" oldname="wxLogStatus" type="" overloaded="no"> |
21010 | <autodoc>LogStatusFrame(wxFrame pFrame, String msg)</autodoc> | |
856bf319 | 21011 | <paramlist> |
f32fc4bc RD |
21012 | <param name="pFrame" type="Frame" default=""/> |
21013 | <param name="msg" type="String" default=""/> | |
856bf319 RD |
21014 | </paramlist> |
21015 | </method> | |
f32fc4bc RD |
21016 | <method name="LogSysError" oldname="wxLogSysError" type="" overloaded="no"> |
21017 | <autodoc>LogSysError(String msg)</autodoc> | |
856bf319 | 21018 | <paramlist> |
f32fc4bc | 21019 | <param name="msg" type="String" default=""/> |
856bf319 RD |
21020 | </paramlist> |
21021 | </method> | |
f32fc4bc | 21022 | <method name="LogTrace" oldname="wxLogTrace" type="" overloaded="yes"> |
856bf319 | 21023 | <paramlist> |
f32fc4bc RD |
21024 | <param name="mask" type="unsigned long" default=""/> |
21025 | <param name="msg" type="String" default=""/> | |
856bf319 RD |
21026 | </paramlist> |
21027 | </method> | |
f32fc4bc RD |
21028 | <method name="LogTrace" oldname="wxLogTrace" type="" overloaded="yes"> |
21029 | <autodoc>LogTrace(unsigned long mask, String msg) | |
21030 | LogTrace(String mask, String msg)</autodoc> | |
856bf319 | 21031 | <paramlist> |
f32fc4bc RD |
21032 | <param name="mask" type="String" default=""/> |
21033 | <param name="msg" type="String" default=""/> | |
21034 | </paramlist> | |
21035 | </method> | |
21036 | <method name="LogGeneric" oldname="wxLogGeneric" type="" overloaded="no"> | |
21037 | <autodoc>LogGeneric(unsigned long level, String msg)</autodoc> | |
21038 | <paramlist> | |
21039 | <param name="level" type="unsigned long" default=""/> | |
21040 | <param name="msg" type="String" default=""/> | |
21041 | </paramlist> | |
21042 | </method> | |
21043 | <method name="SafeShowMessage" oldname="wxSafeShowMessage" type="" overloaded="no"> | |
21044 | <autodoc>SafeShowMessage(String title, String text)</autodoc> | |
21045 | <paramlist> | |
21046 | <param name="title" type="String" default=""/> | |
21047 | <param name="text" type="String" default=""/> | |
21048 | </paramlist> | |
21049 | </method> | |
21050 | <class name="LogNull" oldname="wxLogNull" module="misc"> | |
21051 | <constructor name="LogNull" overloaded="no"> | |
21052 | <autodoc>__init__() -> LogNull</autodoc> | |
21053 | </constructor> | |
21054 | <destructor name="~wxLogNull" overloaded="no"> | |
21055 | <autodoc>__del__()</autodoc> | |
21056 | </destructor> | |
21057 | </class> | |
21058 | <class name="PyLog" oldname="wxPyLog" module="misc"> | |
21059 | <baseclass name="Log"/> | |
21060 | <constructor name="PyLog" overloaded="no"> | |
21061 | <autodoc>__init__() -> PyLog</autodoc> | |
21062 | </constructor> | |
21063 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
21064 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
21065 | <paramlist> | |
21066 | <param name="self" type="PyObject" default=""/> | |
21067 | <param name="_class" type="PyObject" default=""/> | |
21068 | </paramlist> | |
21069 | </method> | |
21070 | </class> | |
21071 | <pythoncode> | |
0f43fbdf RD |
21072 | #--------------------------------------------------------------------------- |
21073 | </pythoncode> | |
f32fc4bc RD |
21074 | <class name="Process" oldname="wxPyProcess" module="misc"> |
21075 | <baseclass name="EvtHandler"/> | |
21076 | <constructor name="wxPyProcess" overloaded="no"> | |
21077 | <autodoc>__init__(EvtHandler parent=None, int id=-1) -> Process</autodoc> | |
21078 | <paramlist> | |
21079 | <param name="parent" type="EvtHandler" default="NULL"/> | |
21080 | <param name="id" type="int" default="-1"/> | |
21081 | </paramlist> | |
21082 | </constructor> | |
21083 | <staticmethod name="Kill" type="wxKillError" overloaded="no"> | |
21084 | <autodoc>Kill(int pid, int sig=SIGTERM) -> int</autodoc> | |
21085 | <paramlist> | |
21086 | <param name="pid" type="int" default=""/> | |
21087 | <param name="sig" type="wxSignal" default="wxSIGTERM"/> | |
21088 | </paramlist> | |
21089 | </staticmethod> | |
21090 | <staticmethod name="Exists" type="bool" overloaded="no"> | |
21091 | <autodoc>Exists(int pid) -> bool</autodoc> | |
21092 | <paramlist> | |
21093 | <param name="pid" type="int" default=""/> | |
21094 | </paramlist> | |
21095 | </staticmethod> | |
21096 | <staticmethod name="Open" type="Process" overloaded="no"> | |
21097 | <autodoc>Open(String cmd, int flags=EXEC_ASYNC) -> Process</autodoc> | |
21098 | <paramlist> | |
21099 | <param name="cmd" type="String" default=""/> | |
21100 | <param name="flags" type="int" default="wxEXEC_ASYNC"/> | |
21101 | </paramlist> | |
21102 | </staticmethod> | |
21103 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
21104 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
21105 | <paramlist> | |
21106 | <param name="self" type="PyObject" default=""/> | |
21107 | <param name="_class" type="PyObject" default=""/> | |
21108 | </paramlist> | |
21109 | </method> | |
21110 | <method name="base_OnTerminate" type="" overloaded="no"> | |
21111 | <autodoc>base_OnTerminate(int pid, int status)</autodoc> | |
21112 | <paramlist> | |
21113 | <param name="pid" type="int" default=""/> | |
21114 | <param name="status" type="int" default=""/> | |
21115 | </paramlist> | |
21116 | </method> | |
21117 | <method name="Redirect" type="" overloaded="no"> | |
21118 | <autodoc>Redirect()</autodoc> | |
21119 | </method> | |
21120 | <method name="IsRedirected" type="bool" overloaded="no"> | |
21121 | <autodoc>IsRedirected() -> bool</autodoc> | |
21122 | </method> | |
21123 | <method name="Detach" type="" overloaded="no"> | |
21124 | <autodoc>Detach()</autodoc> | |
21125 | </method> | |
21126 | <method name="GetInputStream" type="wxInputStream" overloaded="no"> | |
21127 | <autodoc>GetInputStream() -> InputStream</autodoc> | |
21128 | </method> | |
21129 | <method name="GetErrorStream" type="wxInputStream" overloaded="no"> | |
21130 | <autodoc>GetErrorStream() -> InputStream</autodoc> | |
21131 | </method> | |
21132 | <method name="GetOutputStream" type="OutputStream" overloaded="no"> | |
21133 | <autodoc>GetOutputStream() -> OutputStream</autodoc> | |
21134 | </method> | |
21135 | <method name="CloseOutput" type="" overloaded="no"> | |
21136 | <autodoc>CloseOutput()</autodoc> | |
21137 | </method> | |
21138 | <method name="IsInputOpened" type="bool" overloaded="no"> | |
21139 | <autodoc>IsInputOpened() -> bool</autodoc> | |
21140 | </method> | |
21141 | <method name="IsInputAvailable" type="bool" overloaded="no"> | |
21142 | <autodoc>IsInputAvailable() -> bool</autodoc> | |
21143 | </method> | |
21144 | <method name="IsErrorAvailable" type="bool" overloaded="no"> | |
21145 | <autodoc>IsErrorAvailable() -> bool</autodoc> | |
21146 | </method> | |
21147 | </class> | |
21148 | <class name="ProcessEvent" oldname="wxProcessEvent" module="misc"> | |
21149 | <baseclass name="Event"/> | |
21150 | <constructor name="ProcessEvent" overloaded="no"> | |
21151 | <autodoc>__init__(int id=0, int pid=0, int exitcode=0) -> ProcessEvent</autodoc> | |
21152 | <paramlist> | |
21153 | <param name="id" type="int" default="0"/> | |
21154 | <param name="pid" type="int" default="0"/> | |
21155 | <param name="exitcode" type="int" default="0"/> | |
21156 | </paramlist> | |
21157 | </constructor> | |
21158 | <method name="GetPid" type="int" overloaded="no"> | |
21159 | <autodoc>GetPid() -> int</autodoc> | |
21160 | </method> | |
21161 | <method name="GetExitCode" type="int" overloaded="no"> | |
21162 | <autodoc>GetExitCode() -> int</autodoc> | |
21163 | </method> | |
21164 | <property name="m_pid" type="int" readonly="no"/> | |
21165 | <property name="m_exitcode" type="int" readonly="no"/> | |
21166 | </class> | |
21167 | <pythoncode> | |
21168 | EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS, 1 ) | |
21169 | </pythoncode> | |
21170 | <method name="Execute" oldname="wxExecute" type="long" overloaded="no"> | |
21171 | <autodoc>Execute(String command, int flags=EXEC_ASYNC, Process process=None) -> long</autodoc> | |
856bf319 | 21172 | <paramlist> |
f32fc4bc RD |
21173 | <param name="command" type="String" default=""/> |
21174 | <param name="flags" type="int" default="wxEXEC_ASYNC"/> | |
21175 | <param name="process" type="Process" default="NULL"/> | |
856bf319 RD |
21176 | </paramlist> |
21177 | </method> | |
f32fc4bc RD |
21178 | <pythoncode> |
21179 | #--------------------------------------------------------------------------- | |
21180 | </pythoncode> | |
21181 | <class name="Joystick" oldname="wxJoystick" module="misc"> | |
21182 | <constructor name="Joystick" overloaded="no"> | |
21183 | <autodoc>__init__(int joystick=JOYSTICK1) -> Joystick</autodoc> | |
21184 | <paramlist> | |
21185 | <param name="joystick" type="int" default="wxJOYSTICK1"/> | |
21186 | </paramlist> | |
21187 | </constructor> | |
21188 | <destructor name="~wxJoystick" overloaded="no"> | |
21189 | <autodoc>__del__()</autodoc> | |
21190 | </destructor> | |
21191 | <method name="GetPosition" type="Point" overloaded="no"> | |
21192 | <autodoc>GetPosition() -> Point</autodoc> | |
21193 | </method> | |
21194 | <method name="GetZPosition" type="int" overloaded="no"> | |
21195 | <autodoc>GetZPosition() -> int</autodoc> | |
21196 | </method> | |
21197 | <method name="GetButtonState" type="int" overloaded="no"> | |
21198 | <autodoc>GetButtonState() -> int</autodoc> | |
21199 | </method> | |
21200 | <method name="GetPOVPosition" type="int" overloaded="no"> | |
21201 | <autodoc>GetPOVPosition() -> int</autodoc> | |
21202 | </method> | |
21203 | <method name="GetPOVCTSPosition" type="int" overloaded="no"> | |
21204 | <autodoc>GetPOVCTSPosition() -> int</autodoc> | |
21205 | </method> | |
21206 | <method name="GetRudderPosition" type="int" overloaded="no"> | |
21207 | <autodoc>GetRudderPosition() -> int</autodoc> | |
21208 | </method> | |
21209 | <method name="GetUPosition" type="int" overloaded="no"> | |
21210 | <autodoc>GetUPosition() -> int</autodoc> | |
21211 | </method> | |
21212 | <method name="GetVPosition" type="int" overloaded="no"> | |
21213 | <autodoc>GetVPosition() -> int</autodoc> | |
21214 | </method> | |
21215 | <method name="GetMovementThreshold" type="int" overloaded="no"> | |
21216 | <autodoc>GetMovementThreshold() -> int</autodoc> | |
21217 | </method> | |
21218 | <method name="SetMovementThreshold" type="" overloaded="no"> | |
21219 | <autodoc>SetMovementThreshold(int threshold)</autodoc> | |
21220 | <paramlist> | |
21221 | <param name="threshold" type="int" default=""/> | |
21222 | </paramlist> | |
21223 | </method> | |
21224 | <method name="IsOk" type="bool" overloaded="no"> | |
21225 | <autodoc>IsOk() -> bool</autodoc> | |
21226 | </method> | |
21227 | <method name="GetNumberJoysticks" type="int" overloaded="no"> | |
21228 | <autodoc>GetNumberJoysticks() -> int</autodoc> | |
21229 | </method> | |
21230 | <method name="GetManufacturerId" type="int" overloaded="no"> | |
21231 | <autodoc>GetManufacturerId() -> int</autodoc> | |
21232 | </method> | |
21233 | <method name="GetProductId" type="int" overloaded="no"> | |
21234 | <autodoc>GetProductId() -> int</autodoc> | |
21235 | </method> | |
21236 | <method name="GetProductName" type="String" overloaded="no"> | |
21237 | <autodoc>GetProductName() -> String</autodoc> | |
21238 | </method> | |
21239 | <method name="GetXMin" type="int" overloaded="no"> | |
21240 | <autodoc>GetXMin() -> int</autodoc> | |
21241 | </method> | |
21242 | <method name="GetYMin" type="int" overloaded="no"> | |
21243 | <autodoc>GetYMin() -> int</autodoc> | |
21244 | </method> | |
21245 | <method name="GetZMin" type="int" overloaded="no"> | |
21246 | <autodoc>GetZMin() -> int</autodoc> | |
21247 | </method> | |
21248 | <method name="GetXMax" type="int" overloaded="no"> | |
21249 | <autodoc>GetXMax() -> int</autodoc> | |
21250 | </method> | |
21251 | <method name="GetYMax" type="int" overloaded="no"> | |
21252 | <autodoc>GetYMax() -> int</autodoc> | |
21253 | </method> | |
21254 | <method name="GetZMax" type="int" overloaded="no"> | |
21255 | <autodoc>GetZMax() -> int</autodoc> | |
21256 | </method> | |
21257 | <method name="GetNumberButtons" type="int" overloaded="no"> | |
21258 | <autodoc>GetNumberButtons() -> int</autodoc> | |
21259 | </method> | |
21260 | <method name="GetNumberAxes" type="int" overloaded="no"> | |
21261 | <autodoc>GetNumberAxes() -> int</autodoc> | |
21262 | </method> | |
21263 | <method name="GetMaxButtons" type="int" overloaded="no"> | |
21264 | <autodoc>GetMaxButtons() -> int</autodoc> | |
21265 | </method> | |
21266 | <method name="GetMaxAxes" type="int" overloaded="no"> | |
21267 | <autodoc>GetMaxAxes() -> int</autodoc> | |
21268 | </method> | |
21269 | <method name="GetPollingMin" type="int" overloaded="no"> | |
21270 | <autodoc>GetPollingMin() -> int</autodoc> | |
21271 | </method> | |
21272 | <method name="GetPollingMax" type="int" overloaded="no"> | |
21273 | <autodoc>GetPollingMax() -> int</autodoc> | |
21274 | </method> | |
21275 | <method name="GetRudderMin" type="int" overloaded="no"> | |
21276 | <autodoc>GetRudderMin() -> int</autodoc> | |
21277 | </method> | |
21278 | <method name="GetRudderMax" type="int" overloaded="no"> | |
21279 | <autodoc>GetRudderMax() -> int</autodoc> | |
21280 | </method> | |
21281 | <method name="GetUMin" type="int" overloaded="no"> | |
21282 | <autodoc>GetUMin() -> int</autodoc> | |
21283 | </method> | |
21284 | <method name="GetUMax" type="int" overloaded="no"> | |
21285 | <autodoc>GetUMax() -> int</autodoc> | |
21286 | </method> | |
21287 | <method name="GetVMin" type="int" overloaded="no"> | |
21288 | <autodoc>GetVMin() -> int</autodoc> | |
21289 | </method> | |
21290 | <method name="GetVMax" type="int" overloaded="no"> | |
21291 | <autodoc>GetVMax() -> int</autodoc> | |
21292 | </method> | |
21293 | <method name="HasRudder" type="bool" overloaded="no"> | |
21294 | <autodoc>HasRudder() -> bool</autodoc> | |
21295 | </method> | |
21296 | <method name="HasZ" type="bool" overloaded="no"> | |
21297 | <autodoc>HasZ() -> bool</autodoc> | |
21298 | </method> | |
21299 | <method name="HasU" type="bool" overloaded="no"> | |
21300 | <autodoc>HasU() -> bool</autodoc> | |
21301 | </method> | |
21302 | <method name="HasV" type="bool" overloaded="no"> | |
21303 | <autodoc>HasV() -> bool</autodoc> | |
21304 | </method> | |
21305 | <method name="HasPOV" type="bool" overloaded="no"> | |
21306 | <autodoc>HasPOV() -> bool</autodoc> | |
21307 | </method> | |
21308 | <method name="HasPOV4Dir" type="bool" overloaded="no"> | |
21309 | <autodoc>HasPOV4Dir() -> bool</autodoc> | |
21310 | </method> | |
21311 | <method name="HasPOVCTS" type="bool" overloaded="no"> | |
21312 | <autodoc>HasPOVCTS() -> bool</autodoc> | |
21313 | </method> | |
21314 | <method name="SetCapture" type="bool" overloaded="no"> | |
21315 | <autodoc>SetCapture(Window win, int pollingFreq=0) -> bool</autodoc> | |
21316 | <paramlist> | |
21317 | <param name="win" type="Window" default=""/> | |
21318 | <param name="pollingFreq" type="int" default="0"/> | |
21319 | </paramlist> | |
21320 | </method> | |
21321 | <method name="ReleaseCapture" type="bool" overloaded="no"> | |
21322 | <autodoc>ReleaseCapture() -> bool</autodoc> | |
21323 | </method> | |
21324 | </class> | |
21325 | <class name="JoystickEvent" oldname="wxJoystickEvent" module="misc"> | |
21326 | <baseclass name="Event"/> | |
21327 | <constructor name="JoystickEvent" overloaded="no"> | |
21328 | <autodoc>__init__(wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1, | |
21329 | int change=0) -> JoystickEvent</autodoc> | |
21330 | <paramlist> | |
21331 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
21332 | <param name="state" type="int" default="0"/> | |
21333 | <param name="joystick" type="int" default="wxJOYSTICK1"/> | |
21334 | <param name="change" type="int" default="0"/> | |
21335 | </paramlist> | |
21336 | </constructor> | |
21337 | <property name="m_pos" type="Point" readonly="no"/> | |
21338 | <property name="m_zPosition" type="int" readonly="no"/> | |
21339 | <property name="m_buttonChange" type="int" readonly="no"/> | |
21340 | <property name="m_buttonState" type="int" readonly="no"/> | |
21341 | <property name="m_joyStick" type="int" readonly="no"/> | |
21342 | <method name="GetPosition" type="Point" overloaded="no"> | |
21343 | <autodoc>GetPosition() -> Point</autodoc> | |
21344 | </method> | |
21345 | <method name="GetZPosition" type="int" overloaded="no"> | |
21346 | <autodoc>GetZPosition() -> int</autodoc> | |
21347 | </method> | |
21348 | <method name="GetButtonState" type="int" overloaded="no"> | |
21349 | <autodoc>GetButtonState() -> int</autodoc> | |
21350 | </method> | |
21351 | <method name="GetButtonChange" type="int" overloaded="no"> | |
21352 | <autodoc>GetButtonChange() -> int</autodoc> | |
21353 | </method> | |
21354 | <method name="GetJoystick" type="int" overloaded="no"> | |
21355 | <autodoc>GetJoystick() -> int</autodoc> | |
21356 | </method> | |
21357 | <method name="SetJoystick" type="" overloaded="no"> | |
21358 | <autodoc>SetJoystick(int stick)</autodoc> | |
21359 | <paramlist> | |
21360 | <param name="stick" type="int" default=""/> | |
21361 | </paramlist> | |
21362 | </method> | |
21363 | <method name="SetButtonState" type="" overloaded="no"> | |
21364 | <autodoc>SetButtonState(int state)</autodoc> | |
21365 | <paramlist> | |
21366 | <param name="state" type="int" default=""/> | |
21367 | </paramlist> | |
21368 | </method> | |
21369 | <method name="SetButtonChange" type="" overloaded="no"> | |
21370 | <autodoc>SetButtonChange(int change)</autodoc> | |
21371 | <paramlist> | |
21372 | <param name="change" type="int" default=""/> | |
21373 | </paramlist> | |
21374 | </method> | |
21375 | <method name="SetPosition" type="" overloaded="no"> | |
21376 | <autodoc>SetPosition(Point pos)</autodoc> | |
21377 | <paramlist> | |
21378 | <param name="pos" type="Point" default=""/> | |
21379 | </paramlist> | |
21380 | </method> | |
21381 | <method name="SetZPosition" type="" overloaded="no"> | |
21382 | <autodoc>SetZPosition(int zPos)</autodoc> | |
21383 | <paramlist> | |
21384 | <param name="zPos" type="int" default=""/> | |
21385 | </paramlist> | |
21386 | </method> | |
21387 | <method name="IsButton" type="bool" overloaded="no"> | |
21388 | <autodoc>IsButton() -> bool</autodoc> | |
21389 | </method> | |
21390 | <method name="IsMove" type="bool" overloaded="no"> | |
21391 | <autodoc>IsMove() -> bool</autodoc> | |
21392 | </method> | |
21393 | <method name="IsZMove" type="bool" overloaded="no"> | |
21394 | <autodoc>IsZMove() -> bool</autodoc> | |
21395 | </method> | |
21396 | <method name="ButtonDown" type="bool" overloaded="no"> | |
21397 | <autodoc>ButtonDown(int but=JOY_BUTTON_ANY) -> bool</autodoc> | |
21398 | <paramlist> | |
21399 | <param name="but" type="int" default="wxJOY_BUTTON_ANY"/> | |
21400 | </paramlist> | |
21401 | </method> | |
21402 | <method name="ButtonUp" type="bool" overloaded="no"> | |
21403 | <autodoc>ButtonUp(int but=JOY_BUTTON_ANY) -> bool</autodoc> | |
21404 | <paramlist> | |
21405 | <param name="but" type="int" default="wxJOY_BUTTON_ANY"/> | |
21406 | </paramlist> | |
21407 | </method> | |
21408 | <method name="ButtonIsDown" type="bool" overloaded="no"> | |
21409 | <autodoc>ButtonIsDown(int but=JOY_BUTTON_ANY) -> bool</autodoc> | |
21410 | <paramlist> | |
21411 | <param name="but" type="int" default="wxJOY_BUTTON_ANY"/> | |
21412 | </paramlist> | |
21413 | </method> | |
21414 | </class> | |
21415 | <pythoncode> | |
21416 | EVT_JOY_BUTTON_DOWN = wx.PyEventBinder( wxEVT_JOY_BUTTON_DOWN ) | |
21417 | EVT_JOY_BUTTON_UP = wx.PyEventBinder( wxEVT_JOY_BUTTON_UP ) | |
21418 | EVT_JOY_MOVE = wx.PyEventBinder( wxEVT_JOY_MOVE ) | |
21419 | EVT_JOY_ZMOVE = wx.PyEventBinder( wxEVT_JOY_ZMOVE ) | |
21420 | ||
21421 | EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN, | |
21422 | wxEVT_JOY_BUTTON_UP, | |
21423 | wxEVT_JOY_MOVE, | |
21424 | wxEVT_JOY_ZMOVE, | |
21425 | ]) | |
856bf319 | 21426 | |
0f43fbdf | 21427 | </pythoncode> |
f32fc4bc | 21428 | <pythoncode> |
0f43fbdf RD |
21429 | #--------------------------------------------------------------------------- |
21430 | </pythoncode> | |
f32fc4bc RD |
21431 | <class name="Sound" oldname="wxSound" module="misc"> |
21432 | <constructor name="Sound" overloaded="yes"/> | |
21433 | <constructor name="Sound" overloaded="yes"> | |
21434 | <paramlist> | |
21435 | <param name="fileName" type="String" default=""/> | |
21436 | <param name="isResource" type="bool" default="false"/> | |
21437 | </paramlist> | |
21438 | </constructor> | |
21439 | <constructor name="Sound" overloaded="yes"> | |
21440 | <autodoc>__init__() -> Sound | |
21441 | __init__(String fileName, bool isResource=false) -> Sound | |
21442 | __init__(int size, wxByte data) -> Sound</autodoc> | |
21443 | <paramlist> | |
21444 | <param name="size" type="int" default=""/> | |
21445 | <param name="data" type="wxByte" default=""/> | |
21446 | </paramlist> | |
21447 | </constructor> | |
21448 | <destructor name="~wxSound" overloaded="no"> | |
21449 | <autodoc>__del__()</autodoc> | |
21450 | </destructor> | |
21451 | <method name="Create" type="bool" overloaded="yes"> | |
21452 | <paramlist> | |
21453 | <param name="fileName" type="String" default=""/> | |
21454 | <param name="isResource" type="bool" default="false"/> | |
21455 | </paramlist> | |
21456 | </method> | |
21457 | <method name="Create" type="bool" overloaded="yes"> | |
21458 | <autodoc>Create(String fileName, bool isResource=false) -> bool | |
21459 | Create(int size, wxByte data) -> bool</autodoc> | |
21460 | <paramlist> | |
21461 | <param name="size" type="int" default=""/> | |
21462 | <param name="data" type="wxByte" default=""/> | |
21463 | </paramlist> | |
21464 | </method> | |
21465 | <method name="IsOk" type="bool" overloaded="no"> | |
21466 | <autodoc>IsOk() -> bool</autodoc> | |
21467 | </method> | |
21468 | <method name="Play" type="bool" overloaded="no"> | |
21469 | <autodoc>Play(unsigned int flags=SOUND_ASYNC) -> bool</autodoc> | |
21470 | <paramlist> | |
21471 | <param name="flags" type="unsigned int" default="wxSOUND_ASYNC"/> | |
21472 | </paramlist> | |
21473 | </method> | |
21474 | <staticmethod name="PlaySound" type="bool" overloaded="no"> | |
21475 | <autodoc>PlaySound(String filename, unsigned int flags=SOUND_ASYNC) -> bool</autodoc> | |
21476 | <paramlist> | |
21477 | <param name="filename" type="String" default=""/> | |
21478 | <param name="flags" type="unsigned int" default="wxSOUND_ASYNC"/> | |
21479 | </paramlist> | |
21480 | </staticmethod> | |
21481 | <staticmethod name="Stop" type="" overloaded="no"> | |
21482 | <autodoc>Stop()</autodoc> | |
21483 | </staticmethod> | |
21484 | </class> | |
21485 | <pythoncode> | |
21486 | #--------------------------------------------------------------------------- | |
21487 | </pythoncode> | |
21488 | <class name="FileTypeInfo" oldname="wxFileTypeInfo" module="misc"> | |
21489 | <constructor name="FileTypeInfo" overloaded="no"> | |
21490 | <autodoc>__init__(String mimeType, String openCmd, String printCmd, String desc) -> FileTypeInfo</autodoc> | |
21491 | <paramlist> | |
21492 | <param name="mimeType" type="String" default=""/> | |
21493 | <param name="openCmd" type="String" default=""/> | |
21494 | <param name="printCmd" type="String" default=""/> | |
21495 | <param name="desc" type="String" default=""/> | |
21496 | </paramlist> | |
21497 | </constructor> | |
21498 | <constructor name="FileTypeInfoSequence" overloaded="no"> | |
21499 | <autodoc>FileTypeInfoSequence(wxArrayString sArray) -> FileTypeInfo</autodoc> | |
21500 | <paramlist> | |
21501 | <param name="sArray" type="wxArrayString" default=""/> | |
21502 | </paramlist> | |
21503 | </constructor> | |
21504 | <constructor name="NullFileTypeInfo" overloaded="no"> | |
21505 | <autodoc>NullFileTypeInfo() -> FileTypeInfo</autodoc> | |
21506 | </constructor> | |
21507 | <method name="IsValid" type="bool" overloaded="no"> | |
21508 | <autodoc>IsValid() -> bool</autodoc> | |
21509 | </method> | |
21510 | <method name="SetIcon" type="" overloaded="no"> | |
21511 | <autodoc>SetIcon(String iconFile, int iconIndex=0)</autodoc> | |
21512 | <paramlist> | |
21513 | <param name="iconFile" type="String" default=""/> | |
21514 | <param name="iconIndex" type="int" default="0"/> | |
21515 | </paramlist> | |
21516 | </method> | |
21517 | <method name="SetShortDesc" type="" overloaded="no"> | |
21518 | <autodoc>SetShortDesc(String shortDesc)</autodoc> | |
21519 | <paramlist> | |
21520 | <param name="shortDesc" type="String" default=""/> | |
21521 | </paramlist> | |
21522 | </method> | |
21523 | <method name="GetMimeType" type="String" overloaded="no"> | |
21524 | <autodoc>GetMimeType() -> String</autodoc> | |
21525 | </method> | |
21526 | <method name="GetOpenCommand" type="String" overloaded="no"> | |
21527 | <autodoc>GetOpenCommand() -> String</autodoc> | |
21528 | </method> | |
21529 | <method name="GetPrintCommand" type="String" overloaded="no"> | |
21530 | <autodoc>GetPrintCommand() -> String</autodoc> | |
21531 | </method> | |
21532 | <method name="GetShortDesc" type="String" overloaded="no"> | |
21533 | <autodoc>GetShortDesc() -> String</autodoc> | |
21534 | </method> | |
21535 | <method name="GetDescription" type="String" overloaded="no"> | |
21536 | <autodoc>GetDescription() -> String</autodoc> | |
21537 | </method> | |
21538 | <method name="GetExtensions" type="wxArrayString" overloaded="no"> | |
21539 | <autodoc>GetExtensions() -> wxArrayString</autodoc> | |
21540 | </method> | |
21541 | <method name="GetExtensionsCount" type="int" overloaded="no"> | |
21542 | <autodoc>GetExtensionsCount() -> int</autodoc> | |
21543 | </method> | |
21544 | <method name="GetIconFile" type="String" overloaded="no"> | |
21545 | <autodoc>GetIconFile() -> String</autodoc> | |
21546 | </method> | |
21547 | <method name="GetIconIndex" type="int" overloaded="no"> | |
21548 | <autodoc>GetIconIndex() -> int</autodoc> | |
21549 | </method> | |
21550 | </class> | |
21551 | <class name="FileType" oldname="wxFileType" module="misc"> | |
21552 | <constructor name="FileType" overloaded="no"> | |
21553 | <autodoc>__init__(FileTypeInfo ftInfo) -> FileType</autodoc> | |
21554 | <paramlist> | |
21555 | <param name="ftInfo" type="FileTypeInfo" default=""/> | |
21556 | </paramlist> | |
21557 | </constructor> | |
21558 | <destructor name="~wxFileType" overloaded="no"> | |
21559 | <autodoc>__del__()</autodoc> | |
21560 | </destructor> | |
21561 | <method name="GetMimeType" type="PyObject" overloaded="no"> | |
21562 | <autodoc>GetMimeType() -> PyObject</autodoc> | |
21563 | </method> | |
21564 | <method name="GetMimeTypes" type="PyObject" overloaded="no"> | |
21565 | <autodoc>GetMimeTypes() -> PyObject</autodoc> | |
21566 | </method> | |
21567 | <method name="GetExtensions" type="PyObject" overloaded="no"> | |
21568 | <autodoc>GetExtensions() -> PyObject</autodoc> | |
21569 | </method> | |
21570 | <method name="GetIcon" type="Icon" overloaded="no"> | |
21571 | <autodoc>GetIcon() -> Icon</autodoc> | |
21572 | </method> | |
21573 | <method name="GetIconInfo" type="PyObject" overloaded="no"> | |
21574 | <autodoc>GetIconInfo() -> PyObject</autodoc> | |
21575 | </method> | |
21576 | <method name="GetDescription" type="PyObject" overloaded="no"> | |
21577 | <autodoc>GetDescription() -> PyObject</autodoc> | |
21578 | </method> | |
21579 | <method name="GetOpenCommand" type="PyObject" overloaded="no"> | |
21580 | <autodoc>GetOpenCommand(String filename, String mimetype=EmptyString) -> PyObject</autodoc> | |
21581 | <paramlist> | |
21582 | <param name="filename" type="String" default=""/> | |
21583 | <param name="mimetype" type="String" default="wxPyEmptyString"/> | |
21584 | </paramlist> | |
21585 | </method> | |
21586 | <method name="GetPrintCommand" type="PyObject" overloaded="no"> | |
21587 | <autodoc>GetPrintCommand(String filename, String mimetype=EmptyString) -> PyObject</autodoc> | |
21588 | <paramlist> | |
21589 | <param name="filename" type="String" default=""/> | |
21590 | <param name="mimetype" type="String" default="wxPyEmptyString"/> | |
21591 | </paramlist> | |
21592 | </method> | |
21593 | <method name="GetAllCommands" type="PyObject" overloaded="no"> | |
21594 | <autodoc>GetAllCommands(String filename, String mimetype=EmptyString) -> PyObject</autodoc> | |
21595 | <paramlist> | |
21596 | <param name="filename" type="String" default=""/> | |
21597 | <param name="mimetype" type="String" default="wxPyEmptyString"/> | |
21598 | </paramlist> | |
21599 | </method> | |
21600 | <method name="SetCommand" type="bool" overloaded="no"> | |
21601 | <autodoc>SetCommand(String cmd, String verb, bool overwriteprompt=True) -> bool</autodoc> | |
21602 | <paramlist> | |
21603 | <param name="cmd" type="String" default=""/> | |
21604 | <param name="verb" type="String" default=""/> | |
21605 | <param name="overwriteprompt" type="bool" default="True"/> | |
21606 | </paramlist> | |
21607 | </method> | |
21608 | <method name="SetDefaultIcon" type="bool" overloaded="no"> | |
21609 | <autodoc>SetDefaultIcon(String cmd=EmptyString, int index=0) -> bool</autodoc> | |
21610 | <paramlist> | |
21611 | <param name="cmd" type="String" default="wxPyEmptyString"/> | |
21612 | <param name="index" type="int" default="0"/> | |
21613 | </paramlist> | |
21614 | </method> | |
21615 | <method name="Unassociate" type="bool" overloaded="no"> | |
21616 | <autodoc>Unassociate() -> bool</autodoc> | |
21617 | </method> | |
21618 | <staticmethod name="ExpandCommand" type="String" overloaded="no"> | |
21619 | <autodoc>ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String</autodoc> | |
21620 | <paramlist> | |
21621 | <param name="command" type="String" default=""/> | |
21622 | <param name="filename" type="String" default=""/> | |
21623 | <param name="mimetype" type="String" default="wxPyEmptyString"/> | |
21624 | </paramlist> | |
21625 | </staticmethod> | |
21626 | </class> | |
21627 | <class name="MimeTypesManager" oldname="wxMimeTypesManager" module="misc"> | |
21628 | <constructor name="MimeTypesManager" overloaded="no"> | |
21629 | <autodoc>__init__() -> MimeTypesManager</autodoc> | |
21630 | </constructor> | |
21631 | <destructor name="~wxMimeTypesManager" overloaded="no"> | |
21632 | <autodoc>__del__()</autodoc> | |
21633 | </destructor> | |
21634 | <staticmethod name="IsOfType" type="bool" overloaded="no"> | |
21635 | <autodoc>IsOfType(String mimeType, String wildcard) -> bool</autodoc> | |
21636 | <paramlist> | |
21637 | <param name="mimeType" type="String" default=""/> | |
21638 | <param name="wildcard" type="String" default=""/> | |
21639 | </paramlist> | |
21640 | </staticmethod> | |
21641 | <method name="Initialize" type="" overloaded="no"> | |
21642 | <autodoc>Initialize(int mailcapStyle=MAILCAP_ALL, String extraDir=EmptyString)</autodoc> | |
21643 | <paramlist> | |
21644 | <param name="mailcapStyle" type="int" default="wxMAILCAP_ALL"/> | |
21645 | <param name="extraDir" type="String" default="wxPyEmptyString"/> | |
21646 | </paramlist> | |
21647 | </method> | |
21648 | <method name="ClearData" type="" overloaded="no"> | |
21649 | <autodoc>ClearData()</autodoc> | |
21650 | </method> | |
21651 | <method name="GetFileTypeFromExtension" type="FileType" overloaded="no"> | |
21652 | <autodoc>GetFileTypeFromExtension(String ext) -> FileType</autodoc> | |
21653 | <paramlist> | |
21654 | <param name="ext" type="String" default=""/> | |
21655 | </paramlist> | |
21656 | </method> | |
21657 | <method name="GetFileTypeFromMimeType" type="FileType" overloaded="no"> | |
21658 | <autodoc>GetFileTypeFromMimeType(String mimeType) -> FileType</autodoc> | |
21659 | <paramlist> | |
21660 | <param name="mimeType" type="String" default=""/> | |
21661 | </paramlist> | |
21662 | </method> | |
21663 | <method name="ReadMailcap" type="bool" overloaded="no"> | |
21664 | <autodoc>ReadMailcap(String filename, bool fallback=False) -> bool</autodoc> | |
21665 | <paramlist> | |
21666 | <param name="filename" type="String" default=""/> | |
21667 | <param name="fallback" type="bool" default="False"/> | |
21668 | </paramlist> | |
21669 | </method> | |
21670 | <method name="ReadMimeTypes" type="bool" overloaded="no"> | |
21671 | <autodoc>ReadMimeTypes(String filename) -> bool</autodoc> | |
21672 | <paramlist> | |
21673 | <param name="filename" type="String" default=""/> | |
21674 | </paramlist> | |
21675 | </method> | |
21676 | <method name="EnumAllFileTypes" type="PyObject" overloaded="no"> | |
21677 | <autodoc>EnumAllFileTypes() -> PyObject</autodoc> | |
21678 | </method> | |
21679 | <method name="AddFallback" type="" overloaded="no"> | |
21680 | <autodoc>AddFallback(FileTypeInfo ft)</autodoc> | |
21681 | <paramlist> | |
21682 | <param name="ft" type="FileTypeInfo" default=""/> | |
21683 | </paramlist> | |
21684 | </method> | |
21685 | <method name="Associate" type="FileType" overloaded="no"> | |
21686 | <autodoc>Associate(FileTypeInfo ftInfo) -> FileType</autodoc> | |
21687 | <paramlist> | |
21688 | <param name="ftInfo" type="FileTypeInfo" default=""/> | |
21689 | </paramlist> | |
21690 | </method> | |
21691 | <method name="Unassociate" type="bool" overloaded="no"> | |
21692 | <autodoc>Unassociate(FileType ft) -> bool</autodoc> | |
21693 | <paramlist> | |
21694 | <param name="ft" type="FileType" default=""/> | |
21695 | </paramlist> | |
21696 | </method> | |
21697 | </class> | |
21698 | <pythoncode> | |
21699 | #--------------------------------------------------------------------------- | |
21700 | </pythoncode> | |
21701 | <class name="ArtProvider" oldname="wxPyArtProvider" module="misc"> | |
21702 | <constructor name="wxPyArtProvider" overloaded="no"> | |
21703 | <autodoc>__init__() -> ArtProvider</autodoc> | |
21704 | </constructor> | |
21705 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
21706 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
21707 | <paramlist> | |
21708 | <param name="self" type="PyObject" default=""/> | |
21709 | <param name="_class" type="PyObject" default=""/> | |
21710 | </paramlist> | |
21711 | </method> | |
21712 | <staticmethod name="PushProvider" type="" overloaded="no"> | |
21713 | <autodoc>PushProvider(ArtProvider provider)</autodoc> | |
21714 | <docstring>Add new provider to the top of providers stack.</docstring> | |
21715 | <paramlist> | |
21716 | <param name="provider" type="ArtProvider" default=""/> | |
21717 | </paramlist> | |
21718 | </staticmethod> | |
21719 | <staticmethod name="PopProvider" type="bool" overloaded="no"> | |
21720 | <autodoc>PopProvider() -> bool</autodoc> | |
21721 | <docstring>Remove latest added provider and delete it.</docstring> | |
21722 | </staticmethod> | |
21723 | <staticmethod name="RemoveProvider" type="bool" overloaded="no"> | |
21724 | <autodoc>RemoveProvider(ArtProvider provider) -> bool</autodoc> | |
21725 | <docstring>Remove provider. The provider must have been added previously! | |
21726 | The provider is _not_ deleted.</docstring> | |
21727 | <paramlist> | |
21728 | <param name="provider" type="ArtProvider" default=""/> | |
21729 | </paramlist> | |
21730 | </staticmethod> | |
21731 | <staticmethod name="GetBitmap" type="Bitmap" overloaded="no"> | |
21732 | <autodoc>GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -> Bitmap</autodoc> | |
21733 | <docstring>Query the providers for bitmap with given ID and return it. Return | |
21734 | wx.NullBitmap if no provider provides it.</docstring> | |
21735 | <paramlist> | |
21736 | <param name="id" type="String" default=""/> | |
21737 | <param name="client" type="String" default="wxPyART_OTHER"/> | |
21738 | <param name="size" type="Size" default="wxDefaultSize"/> | |
21739 | </paramlist> | |
21740 | </staticmethod> | |
21741 | <staticmethod name="GetIcon" type="Icon" overloaded="no"> | |
21742 | <autodoc>GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -> Icon</autodoc> | |
21743 | <docstring>Query the providers for icon with given ID and return it. Return | |
21744 | wx.NullIcon if no provider provides it.</docstring> | |
21745 | <paramlist> | |
21746 | <param name="id" type="String" default=""/> | |
21747 | <param name="client" type="String" default="wxPyART_OTHER"/> | |
21748 | <param name="size" type="Size" default="wxDefaultSize"/> | |
21749 | </paramlist> | |
21750 | </staticmethod> | |
21751 | <method name="Destroy" type="" overloaded="no"> | |
21752 | <autodoc>Destroy()</autodoc> | |
21753 | </method> | |
21754 | </class> | |
21755 | <pythoncode> | |
21756 | #--------------------------------------------------------------------------- | |
21757 | </pythoncode> | |
21758 | <class name="ConfigBase" oldname="wxConfigBase" module="misc"> | |
c2dda882 RD |
21759 | <docstring>wx.ConfigBase class defines the basic interface of all config |
21760 | classes. It can not be used by itself (it is an abstract base | |
21761 | class) and you will always use one of its derivations: wx.Config | |
21762 | or wx.FileConfig. | |
21763 | ||
b39e211b RD |
21764 | wx.ConfigBase organizes the items in a tree-like structure, |
21765 | modeled after the Unix/Dos filesystem. There are groups that act | |
21766 | like directories and entries, key/value pairs that act like | |
21767 | files. There is always one current group given by the current | |
21768 | path. As in the file system case, to specify a key in the config | |
21769 | class you must use a path to it. Config classes also support the | |
21770 | notion of the current group, which makes it possible to use | |
21771 | relative paths. | |
21772 | ||
21773 | Keys are pairs "key_name = value" where value may be of string, | |
21774 | integer floating point or boolean, you can not store binary data | |
21775 | without first encoding it as a string. For performance reasons | |
21776 | items should be kept small, no more than a couple kilobytes. | |
c2dda882 | 21777 | </docstring> |
f32fc4bc RD |
21778 | <destructor name="~wxConfigBase" overloaded="no"> |
21779 | <autodoc>__del__()</autodoc> | |
21780 | </destructor> | |
21781 | <staticmethod name="Set" type="ConfigBase" overloaded="no"> | |
c2dda882 RD |
21782 | <autodoc>Set(ConfigBase config) -> ConfigBase</autodoc> |
21783 | <docstring>Sets the global config object (the one returned by Get) and | |
21784 | returns a reference to the previous global config object.</docstring> | |
f32fc4bc | 21785 | <paramlist> |
c2dda882 | 21786 | <param name="config" type="ConfigBase" default=""/> |
f32fc4bc RD |
21787 | </paramlist> |
21788 | </staticmethod> | |
21789 | <staticmethod name="Get" type="ConfigBase" overloaded="no"> | |
21790 | <autodoc>Get(bool createOnDemand=True) -> ConfigBase</autodoc> | |
c2dda882 | 21791 | <docstring>Returns the current global config object, creating one if neccessary.</docstring> |
f32fc4bc RD |
21792 | <paramlist> |
21793 | <param name="createOnDemand" type="bool" default="True"/> | |
21794 | </paramlist> | |
21795 | </staticmethod> | |
21796 | <staticmethod name="Create" type="ConfigBase" overloaded="no"> | |
21797 | <autodoc>Create() -> ConfigBase</autodoc> | |
c2dda882 RD |
21798 | <docstring>Create and return a new global config object. This function will |
21799 | create the "best" implementation of wx.Config available for the | |
21800 | current platform.</docstring> | |
f32fc4bc RD |
21801 | </staticmethod> |
21802 | <staticmethod name="DontCreateOnDemand" type="" overloaded="no"> | |
21803 | <autodoc>DontCreateOnDemand()</autodoc> | |
c2dda882 | 21804 | <docstring>Should Get() try to create a new log object if there isn't a current one?</docstring> |
f32fc4bc RD |
21805 | </staticmethod> |
21806 | <method name="SetPath" type="" overloaded="no"> | |
c2dda882 RD |
21807 | <autodoc>SetPath(String path)</autodoc> |
21808 | <docstring>Set current path: if the first character is '/', it's the absolute path, | |
21809 | otherwise it's a relative path. '..' is supported. If the strPath | |
21810 | doesn't exist it is created.</docstring> | |
f32fc4bc | 21811 | <paramlist> |
c2dda882 | 21812 | <param name="path" type="String" default=""/> |
f32fc4bc RD |
21813 | </paramlist> |
21814 | </method> | |
21815 | <method name="GetPath" type="String" overloaded="no"> | |
21816 | <autodoc>GetPath() -> String</autodoc> | |
c2dda882 | 21817 | <docstring>Retrieve the current path (always as absolute path)</docstring> |
f32fc4bc RD |
21818 | </method> |
21819 | <method name="GetFirstGroup" type="PyObject" overloaded="no"> | |
c2dda882 RD |
21820 | <autodoc>GetFirstGroup() -> (more, value, index)</autodoc> |
21821 | <docstring>Allows enumerating the subgroups in a config object. Returns | |
21822 | a tuple containing a flag indicating there are more items, the | |
21823 | name of the current item, and an index to pass to GetNextGroup to | |
21824 | fetch the next item.</docstring> | |
f32fc4bc RD |
21825 | </method> |
21826 | <method name="GetNextGroup" type="PyObject" overloaded="no"> | |
c2dda882 RD |
21827 | <autodoc>GetNextGroup(long index) -> (more, value, index)</autodoc> |
21828 | <docstring>Allows enumerating the subgroups in a config object. Returns | |
21829 | a tuple containing a flag indicating there are more items, the | |
21830 | name of the current item, and an index to pass to GetNextGroup to | |
21831 | fetch the next item.</docstring> | |
f32fc4bc RD |
21832 | <paramlist> |
21833 | <param name="index" type="long" default=""/> | |
21834 | </paramlist> | |
21835 | </method> | |
21836 | <method name="GetFirstEntry" type="PyObject" overloaded="no"> | |
c2dda882 RD |
21837 | <autodoc>GetFirstEntry() -> (more, value, index)</autodoc> |
21838 | <docstring>Allows enumerating the entries in the current group in a config | |
21839 | object. Returns a tuple containing a flag indicating there are | |
21840 | more items, the name of the current item, and an index to pass to | |
21841 | GetNextGroup to fetch the next item.</docstring> | |
f32fc4bc RD |
21842 | </method> |
21843 | <method name="GetNextEntry" type="PyObject" overloaded="no"> | |
c2dda882 RD |
21844 | <autodoc>GetNextEntry(long index) -> (more, value, index)</autodoc> |
21845 | <docstring>Allows enumerating the entries in the current group in a config | |
21846 | object. Returns a tuple containing a flag indicating there are | |
21847 | more items, the name of the current item, and an index to pass to | |
21848 | GetNextGroup to fetch the next item.</docstring> | |
f32fc4bc RD |
21849 | <paramlist> |
21850 | <param name="index" type="long" default=""/> | |
21851 | </paramlist> | |
21852 | </method> | |
21853 | <method name="GetNumberOfEntries" type="size_t" overloaded="no"> | |
c2dda882 RD |
21854 | <autodoc>GetNumberOfEntries(bool recursive=False) -> size_t</autodoc> |
21855 | <docstring>Get the number of entries in the current group, with or | |
21856 | without its subgroups.</docstring> | |
f32fc4bc | 21857 | <paramlist> |
c2dda882 | 21858 | <param name="recursive" type="bool" default="False"/> |
f32fc4bc RD |
21859 | </paramlist> |
21860 | </method> | |
21861 | <method name="GetNumberOfGroups" type="size_t" overloaded="no"> | |
c2dda882 RD |
21862 | <autodoc>GetNumberOfGroups(bool recursive=False) -> size_t</autodoc> |
21863 | <docstring>Get the number of subgroups in the current group, with or | |
21864 | without its subgroups.</docstring> | |
f32fc4bc | 21865 | <paramlist> |
c2dda882 | 21866 | <param name="recursive" type="bool" default="False"/> |
f32fc4bc RD |
21867 | </paramlist> |
21868 | </method> | |
21869 | <method name="HasGroup" type="bool" overloaded="no"> | |
c2dda882 RD |
21870 | <autodoc>HasGroup(String name) -> bool</autodoc> |
21871 | <docstring>Returns True if the group by this name exists</docstring> | |
f32fc4bc | 21872 | <paramlist> |
c2dda882 | 21873 | <param name="name" type="String" default=""/> |
f32fc4bc RD |
21874 | </paramlist> |
21875 | </method> | |
21876 | <method name="HasEntry" type="bool" overloaded="no"> | |
c2dda882 RD |
21877 | <autodoc>HasEntry(String name) -> bool</autodoc> |
21878 | <docstring>Returns True if the entry by this name exists</docstring> | |
f32fc4bc | 21879 | <paramlist> |
c2dda882 | 21880 | <param name="name" type="String" default=""/> |
f32fc4bc RD |
21881 | </paramlist> |
21882 | </method> | |
21883 | <method name="Exists" type="bool" overloaded="no"> | |
c2dda882 RD |
21884 | <autodoc>Exists(String name) -> bool</autodoc> |
21885 | <docstring>Returns True if either a group or an entry with a given name exists</docstring> | |
f32fc4bc | 21886 | <paramlist> |
c2dda882 | 21887 | <param name="name" type="String" default=""/> |
f32fc4bc RD |
21888 | </paramlist> |
21889 | </method> | |
21890 | <method name="GetEntryType" type="wxConfigBase::EntryType" overloaded="no"> | |
21891 | <autodoc>GetEntryType(String name) -> int</autodoc> | |
c2dda882 | 21892 | <docstring>Get the type of the entry. Returns one of the wx.Config.Type_XXX values.</docstring> |
f32fc4bc RD |
21893 | <paramlist> |
21894 | <param name="name" type="String" default=""/> | |
21895 | </paramlist> | |
21896 | </method> | |
21897 | <method name="Read" type="String" overloaded="no"> | |
21898 | <autodoc>Read(String key, String defaultVal=EmptyString) -> String</autodoc> | |
c2dda882 | 21899 | <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring> |
f32fc4bc RD |
21900 | <paramlist> |
21901 | <param name="key" type="String" default=""/> | |
21902 | <param name="defaultVal" type="String" default="wxPyEmptyString"/> | |
21903 | </paramlist> | |
21904 | </method> | |
21905 | <method name="ReadInt" type="long" overloaded="no"> | |
21906 | <autodoc>ReadInt(String key, long defaultVal=0) -> long</autodoc> | |
c2dda882 | 21907 | <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring> |
f32fc4bc RD |
21908 | <paramlist> |
21909 | <param name="key" type="String" default=""/> | |
21910 | <param name="defaultVal" type="long" default="0"/> | |
21911 | </paramlist> | |
21912 | </method> | |
21913 | <method name="ReadFloat" type="double" overloaded="no"> | |
21914 | <autodoc>ReadFloat(String key, double defaultVal=0.0) -> double</autodoc> | |
c2dda882 | 21915 | <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring> |
f32fc4bc RD |
21916 | <paramlist> |
21917 | <param name="key" type="String" default=""/> | |
21918 | <param name="defaultVal" type="double" default="0.0"/> | |
21919 | </paramlist> | |
21920 | </method> | |
21921 | <method name="ReadBool" type="bool" overloaded="no"> | |
21922 | <autodoc>ReadBool(String key, bool defaultVal=False) -> bool</autodoc> | |
c2dda882 | 21923 | <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring> |
f32fc4bc RD |
21924 | <paramlist> |
21925 | <param name="key" type="String" default=""/> | |
21926 | <param name="defaultVal" type="bool" default="False"/> | |
21927 | </paramlist> | |
21928 | </method> | |
21929 | <method name="Write" type="bool" overloaded="no"> | |
21930 | <autodoc>Write(String key, String value) -> bool</autodoc> | |
c2dda882 | 21931 | <docstring>write the value (return True on success)</docstring> |
f32fc4bc RD |
21932 | <paramlist> |
21933 | <param name="key" type="String" default=""/> | |
21934 | <param name="value" type="String" default=""/> | |
21935 | </paramlist> | |
21936 | </method> | |
21937 | <method name="WriteInt" type="bool" overloaded="no"> | |
21938 | <autodoc>WriteInt(String key, long value) -> bool</autodoc> | |
c2dda882 | 21939 | <docstring>write the value (return True on success)</docstring> |
f32fc4bc RD |
21940 | <paramlist> |
21941 | <param name="key" type="String" default=""/> | |
21942 | <param name="value" type="long" default=""/> | |
21943 | </paramlist> | |
21944 | </method> | |
21945 | <method name="WriteFloat" type="bool" overloaded="no"> | |
21946 | <autodoc>WriteFloat(String key, double value) -> bool</autodoc> | |
c2dda882 | 21947 | <docstring>write the value (return True on success)</docstring> |
f32fc4bc RD |
21948 | <paramlist> |
21949 | <param name="key" type="String" default=""/> | |
21950 | <param name="value" type="double" default=""/> | |
21951 | </paramlist> | |
21952 | </method> | |
21953 | <method name="WriteBool" type="bool" overloaded="no"> | |
21954 | <autodoc>WriteBool(String key, bool value) -> bool</autodoc> | |
c2dda882 | 21955 | <docstring>write the value (return True on success)</docstring> |
f32fc4bc RD |
21956 | <paramlist> |
21957 | <param name="key" type="String" default=""/> | |
21958 | <param name="value" type="bool" default=""/> | |
21959 | </paramlist> | |
21960 | </method> | |
21961 | <method name="Flush" type="bool" overloaded="no"> | |
c2dda882 RD |
21962 | <autodoc>Flush(bool currentOnly=False) -> bool</autodoc> |
21963 | <docstring>permanently writes all changes</docstring> | |
f32fc4bc | 21964 | <paramlist> |
c2dda882 | 21965 | <param name="currentOnly" type="bool" default="False"/> |
f32fc4bc RD |
21966 | </paramlist> |
21967 | </method> | |
21968 | <method name="RenameEntry" type="bool" overloaded="no"> | |
21969 | <autodoc>RenameEntry(String oldName, String newName) -> bool</autodoc> | |
c2dda882 RD |
21970 | <docstring>Rename an entry. Returns False on failure (probably because the new |
21971 | name is already taken by an existing entry)</docstring> | |
f32fc4bc RD |
21972 | <paramlist> |
21973 | <param name="oldName" type="String" default=""/> | |
21974 | <param name="newName" type="String" default=""/> | |
21975 | </paramlist> | |
21976 | </method> | |
21977 | <method name="RenameGroup" type="bool" overloaded="no"> | |
21978 | <autodoc>RenameGroup(String oldName, String newName) -> bool</autodoc> | |
c2dda882 RD |
21979 | <docstring>Rename aa group. Returns False on failure (probably because the new |
21980 | name is already taken by an existing entry)</docstring> | |
f32fc4bc RD |
21981 | <paramlist> |
21982 | <param name="oldName" type="String" default=""/> | |
21983 | <param name="newName" type="String" default=""/> | |
21984 | </paramlist> | |
21985 | </method> | |
21986 | <method name="DeleteEntry" type="bool" overloaded="no"> | |
c2dda882 RD |
21987 | <autodoc>DeleteEntry(String key, bool deleteGroupIfEmpty=True) -> bool</autodoc> |
21988 | <docstring>Deletes the specified entry and the group it belongs to if | |
21989 | it was the last key in it and the second parameter is True</docstring> | |
f32fc4bc RD |
21990 | <paramlist> |
21991 | <param name="key" type="String" default=""/> | |
c2dda882 | 21992 | <param name="deleteGroupIfEmpty" type="bool" default="True"/> |
f32fc4bc RD |
21993 | </paramlist> |
21994 | </method> | |
21995 | <method name="DeleteGroup" type="bool" overloaded="no"> | |
21996 | <autodoc>DeleteGroup(String key) -> bool</autodoc> | |
c2dda882 | 21997 | <docstring>Delete the group (with all subgroups)</docstring> |
f32fc4bc RD |
21998 | <paramlist> |
21999 | <param name="key" type="String" default=""/> | |
22000 | </paramlist> | |
22001 | </method> | |
22002 | <method name="DeleteAll" type="bool" overloaded="no"> | |
22003 | <autodoc>DeleteAll() -> bool</autodoc> | |
c2dda882 RD |
22004 | <docstring>Delete the whole underlying object (disk file, registry key, ...) |
22005 | primarly intended for use by desinstallation routine.</docstring> | |
f32fc4bc RD |
22006 | </method> |
22007 | <method name="SetExpandEnvVars" type="" overloaded="no"> | |
c2dda882 RD |
22008 | <autodoc>SetExpandEnvVars(bool doIt=True)</autodoc> |
22009 | <docstring>We can automatically expand environment variables in the config entries | |
22010 | (this option is on by default, you can turn it on/off at any time)</docstring> | |
f32fc4bc | 22011 | <paramlist> |
c2dda882 | 22012 | <param name="doIt" type="bool" default="True"/> |
f32fc4bc RD |
22013 | </paramlist> |
22014 | </method> | |
c2dda882 RD |
22015 | <method name="IsExpandingEnvVars" type="bool" overloaded="no"> |
22016 | <autodoc>IsExpandingEnvVars() -> bool</autodoc> | |
22017 | <docstring>Are we currently expanding environment variables?</docstring> | |
22018 | </method> | |
f32fc4bc | 22019 | <method name="SetRecordDefaults" type="" overloaded="no"> |
c2dda882 RD |
22020 | <autodoc>SetRecordDefaults(bool doIt=True)</autodoc> |
22021 | <docstring>Set whether the config objec should record default values.</docstring> | |
f32fc4bc | 22022 | <paramlist> |
c2dda882 | 22023 | <param name="doIt" type="bool" default="True"/> |
f32fc4bc RD |
22024 | </paramlist> |
22025 | </method> | |
22026 | <method name="IsRecordingDefaults" type="bool" overloaded="no"> | |
22027 | <autodoc>IsRecordingDefaults() -> bool</autodoc> | |
c2dda882 | 22028 | <docstring>Are we currently recording default values?</docstring> |
f32fc4bc RD |
22029 | </method> |
22030 | <method name="ExpandEnvVars" type="String" overloaded="no"> | |
22031 | <autodoc>ExpandEnvVars(String str) -> String</autodoc> | |
c2dda882 | 22032 | <docstring>Expand any environment variables in str and return the result</docstring> |
f32fc4bc RD |
22033 | <paramlist> |
22034 | <param name="str" type="String" default=""/> | |
22035 | </paramlist> | |
22036 | </method> | |
22037 | <method name="GetAppName" type="String" overloaded="no"> | |
22038 | <autodoc>GetAppName() -> String</autodoc> | |
22039 | </method> | |
22040 | <method name="GetVendorName" type="String" overloaded="no"> | |
22041 | <autodoc>GetVendorName() -> String</autodoc> | |
22042 | </method> | |
22043 | <method name="SetAppName" type="" overloaded="no"> | |
22044 | <autodoc>SetAppName(String appName)</autodoc> | |
22045 | <paramlist> | |
22046 | <param name="appName" type="String" default=""/> | |
22047 | </paramlist> | |
22048 | </method> | |
22049 | <method name="SetVendorName" type="" overloaded="no"> | |
22050 | <autodoc>SetVendorName(String vendorName)</autodoc> | |
22051 | <paramlist> | |
22052 | <param name="vendorName" type="String" default=""/> | |
22053 | </paramlist> | |
22054 | </method> | |
22055 | <method name="SetStyle" type="" overloaded="no"> | |
22056 | <autodoc>SetStyle(long style)</autodoc> | |
22057 | <paramlist> | |
22058 | <param name="style" type="long" default=""/> | |
22059 | </paramlist> | |
22060 | </method> | |
22061 | <method name="GetStyle" type="long" overloaded="no"> | |
22062 | <autodoc>GetStyle() -> long</autodoc> | |
22063 | </method> | |
22064 | </class> | |
f32fc4bc | 22065 | <class name="Config" oldname="wxConfig" module="misc"> |
c2dda882 RD |
22066 | <docstring>This ConfigBase-derived class will use the registry on Windows, |
22067 | and will be a wx.FileConfig on other platforms.</docstring> | |
f32fc4bc RD |
22068 | <baseclass name="ConfigBase"/> |
22069 | <constructor name="Config" overloaded="no"> | |
22070 | <autodoc>__init__(String appName=EmptyString, String vendorName=EmptyString, | |
22071 | String localFilename=EmptyString, String globalFilename=EmptyString, | |
22072 | long style=0) -> Config</autodoc> | |
22073 | <paramlist> | |
22074 | <param name="appName" type="String" default="wxPyEmptyString"/> | |
22075 | <param name="vendorName" type="String" default="wxPyEmptyString"/> | |
22076 | <param name="localFilename" type="String" default="wxPyEmptyString"/> | |
22077 | <param name="globalFilename" type="String" default="wxPyEmptyString"/> | |
22078 | <param name="style" type="long" default="0"/> | |
22079 | </paramlist> | |
22080 | </constructor> | |
22081 | <destructor name="~wxConfig" overloaded="no"> | |
22082 | <autodoc>__del__()</autodoc> | |
22083 | </destructor> | |
22084 | </class> | |
22085 | <class name="FileConfig" oldname="wxFileConfig" module="misc"> | |
c2dda882 | 22086 | <docstring>This config class will use a file for storage on all platforms.</docstring> |
f32fc4bc RD |
22087 | <baseclass name="ConfigBase"/> |
22088 | <constructor name="FileConfig" overloaded="no"> | |
22089 | <autodoc>__init__(String appName=EmptyString, String vendorName=EmptyString, | |
22090 | String localFilename=EmptyString, String globalFilename=EmptyString, | |
b39e211b | 22091 | long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -> FileConfig</autodoc> |
f32fc4bc RD |
22092 | <paramlist> |
22093 | <param name="appName" type="String" default="wxPyEmptyString"/> | |
22094 | <param name="vendorName" type="String" default="wxPyEmptyString"/> | |
22095 | <param name="localFilename" type="String" default="wxPyEmptyString"/> | |
22096 | <param name="globalFilename" type="String" default="wxPyEmptyString"/> | |
b39e211b | 22097 | <param name="style" type="long" default="wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE"/> |
f32fc4bc RD |
22098 | </paramlist> |
22099 | </constructor> | |
22100 | <destructor name="~wxFileConfig" overloaded="no"> | |
22101 | <autodoc>__del__()</autodoc> | |
22102 | </destructor> | |
22103 | </class> | |
c2dda882 RD |
22104 | <class name="ConfigPathChanger" oldname="wxConfigPathChanger" module="misc"> |
22105 | <docstring>A handy little class which changes current path to the path of | |
22106 | given entry and restores it in the destructoir: so if you declare | |
22107 | a local variable of this type, you work in the entry directory | |
22108 | and the path is automatically restored when the function returns.</docstring> | |
22109 | <constructor name="ConfigPathChanger" overloaded="no"> | |
22110 | <autodoc>__init__(ConfigBase config, String entry) -> ConfigPathChanger</autodoc> | |
22111 | <paramlist> | |
22112 | <param name="config" type="ConfigBase" default=""/> | |
22113 | <param name="entry" type="String" default=""/> | |
22114 | </paramlist> | |
22115 | </constructor> | |
22116 | <destructor name="~wxConfigPathChanger" overloaded="no"> | |
22117 | <autodoc>__del__()</autodoc> | |
22118 | </destructor> | |
22119 | <method name="Name" type="String" overloaded="no"> | |
22120 | <autodoc>Name() -> String</autodoc> | |
22121 | <docstring>Get the key name</docstring> | |
22122 | </method> | |
22123 | </class> | |
f32fc4bc RD |
22124 | <method name="ExpandEnvVars" oldname="wxExpandEnvVars" type="String" overloaded="no"> |
22125 | <autodoc>ExpandEnvVars(String sz) -> String</autodoc> | |
c2dda882 RD |
22126 | <docstring>Replace environment variables ($SOMETHING) with their values. The |
22127 | format is $VARNAME or ${VARNAME} where VARNAME contains | |
22128 | alphanumeric characters and '_' only. '$' must be escaped ('\\$') | |
22129 | in order to be taken literally.</docstring> | |
f32fc4bc RD |
22130 | <paramlist> |
22131 | <param name="sz" type="String" default=""/> | |
856bf319 RD |
22132 | </paramlist> |
22133 | </method> | |
f32fc4bc RD |
22134 | <pythoncode> |
22135 | #--------------------------------------------------------------------------- | |
22136 | </pythoncode> | |
22137 | <class name="DateTime" oldname="wxDateTime" module="misc"> | |
22138 | <constructor name="DateTime" overloaded="no"> | |
22139 | <autodoc>__init__() -> DateTime</autodoc> | |
22140 | </constructor> | |
22141 | <constructor name="DateTimeFromTimeT" overloaded="no"> | |
22142 | <autodoc>DateTimeFromTimeT(time_t timet) -> DateTime</autodoc> | |
22143 | <paramlist> | |
22144 | <param name="timet" type="time_t" default=""/> | |
22145 | </paramlist> | |
22146 | </constructor> | |
22147 | <constructor name="DateTimeFromJDN" overloaded="no"> | |
22148 | <autodoc>DateTimeFromJDN(double jdn) -> DateTime</autodoc> | |
22149 | <paramlist> | |
22150 | <param name="jdn" type="double" default=""/> | |
22151 | </paramlist> | |
22152 | </constructor> | |
22153 | <constructor name="DateTimeFromHMS" overloaded="no"> | |
22154 | <autodoc>DateTimeFromHMS(int hour, int minute=0, int second=0, int millisec=0) -> DateTime</autodoc> | |
22155 | <paramlist> | |
22156 | <param name="hour" type="int" default=""/> | |
22157 | <param name="minute" type="int" default="0"/> | |
22158 | <param name="second" type="int" default="0"/> | |
22159 | <param name="millisec" type="int" default="0"/> | |
22160 | </paramlist> | |
22161 | </constructor> | |
22162 | <constructor name="DateTimeFromDMY" overloaded="no"> | |
22163 | <autodoc>DateTimeFromDMY(int day, int month=Inv_Month, int year=Inv_Year, int hour=0, | |
22164 | int minute=0, int second=0, int millisec=0) -> DateTime</autodoc> | |
22165 | <paramlist> | |
22166 | <param name="day" type="int" default=""/> | |
22167 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
22168 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22169 | <param name="hour" type="int" default="0"/> | |
22170 | <param name="minute" type="int" default="0"/> | |
22171 | <param name="second" type="int" default="0"/> | |
22172 | <param name="millisec" type="int" default="0"/> | |
22173 | </paramlist> | |
22174 | </constructor> | |
22175 | <destructor name="~wxDateTime" overloaded="no"> | |
22176 | <autodoc>__del__()</autodoc> | |
22177 | </destructor> | |
22178 | <staticmethod name="SetCountry" type="" overloaded="no"> | |
22179 | <autodoc>SetCountry(int country)</autodoc> | |
22180 | <paramlist> | |
22181 | <param name="country" type="wxDateTime::Country" default=""/> | |
22182 | </paramlist> | |
22183 | </staticmethod> | |
22184 | <staticmethod name="GetCountry" type="wxDateTime::Country" overloaded="no"> | |
22185 | <autodoc>GetCountry() -> int</autodoc> | |
22186 | </staticmethod> | |
22187 | <staticmethod name="IsWestEuropeanCountry" type="bool" overloaded="no"> | |
22188 | <autodoc>IsWestEuropeanCountry(int country=Country_Default) -> bool</autodoc> | |
22189 | <paramlist> | |
22190 | <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/> | |
22191 | </paramlist> | |
22192 | </staticmethod> | |
22193 | <staticmethod name="GetCurrentYear" type="int" overloaded="no"> | |
22194 | <autodoc>GetCurrentYear(int cal=Gregorian) -> int</autodoc> | |
22195 | <paramlist> | |
22196 | <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/> | |
22197 | </paramlist> | |
22198 | </staticmethod> | |
22199 | <staticmethod name="ConvertYearToBC" type="int" overloaded="no"> | |
22200 | <autodoc>ConvertYearToBC(int year) -> int</autodoc> | |
22201 | <paramlist> | |
22202 | <param name="year" type="int" default=""/> | |
22203 | </paramlist> | |
22204 | </staticmethod> | |
22205 | <staticmethod name="GetCurrentMonth" type="wxDateTime::Month" overloaded="no"> | |
22206 | <autodoc>GetCurrentMonth(int cal=Gregorian) -> int</autodoc> | |
22207 | <paramlist> | |
22208 | <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/> | |
22209 | </paramlist> | |
22210 | </staticmethod> | |
22211 | <staticmethod name="IsLeapYear" type="bool" overloaded="no"> | |
22212 | <autodoc>IsLeapYear(int year=Inv_Year, int cal=Gregorian) -> bool</autodoc> | |
22213 | <paramlist> | |
22214 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22215 | <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/> | |
22216 | </paramlist> | |
22217 | </staticmethod> | |
22218 | <staticmethod name="GetCentury" type="int" overloaded="no"> | |
22219 | <autodoc>GetCentury(int year=Inv_Year) -> int</autodoc> | |
22220 | <paramlist> | |
22221 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22222 | </paramlist> | |
22223 | </staticmethod> | |
22224 | <staticmethod name="GetNumberOfDaysinYear" type="int" overloaded="no"> | |
22225 | <autodoc>GetNumberOfDaysinYear(int year, int cal=Gregorian) -> int</autodoc> | |
22226 | <paramlist> | |
22227 | <param name="year" type="int" default=""/> | |
22228 | <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/> | |
22229 | </paramlist> | |
22230 | </staticmethod> | |
22231 | <staticmethod name="GetNumberOfDaysInMonth" type="int" overloaded="no"> | |
22232 | <autodoc>GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -> int</autodoc> | |
22233 | <paramlist> | |
22234 | <param name="month" type="wxDateTime::Month" default=""/> | |
22235 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22236 | <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/> | |
22237 | </paramlist> | |
22238 | </staticmethod> | |
22239 | <staticmethod name="GetMonthName" type="String" overloaded="no"> | |
22240 | <autodoc>GetMonthName(int month, int flags=Name_Full) -> String</autodoc> | |
22241 | <paramlist> | |
22242 | <param name="month" type="wxDateTime::Month" default=""/> | |
22243 | <param name="flags" type="wxDateTime::NameFlags" default="wxDateTime::Name_Full"/> | |
22244 | </paramlist> | |
22245 | </staticmethod> | |
22246 | <staticmethod name="GetWeekDayName" type="String" overloaded="no"> | |
22247 | <autodoc>GetWeekDayName(int weekday, int flags=Name_Full) -> String</autodoc> | |
22248 | <paramlist> | |
22249 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22250 | <param name="flags" type="wxDateTime::NameFlags" default="wxDateTime::Name_Full"/> | |
22251 | </paramlist> | |
22252 | </staticmethod> | |
22253 | <staticmethod name="GetAmPmStrings" type="" overloaded="no"> | |
22254 | <autodoc>GetAmPmStrings() -> (am, pm)</autodoc> | |
22255 | <docstring>Get the AM and PM strings in the current locale (may be empty)</docstring> | |
22256 | <paramlist> | |
22257 | <param name="OUTPUT" type="String" default=""/> | |
22258 | <param name="OUTPUT" type="String" default=""/> | |
22259 | </paramlist> | |
22260 | </staticmethod> | |
22261 | <staticmethod name="IsDSTApplicable" type="bool" overloaded="no"> | |
22262 | <autodoc>IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -> bool</autodoc> | |
22263 | <paramlist> | |
22264 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22265 | <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/> | |
22266 | </paramlist> | |
22267 | </staticmethod> | |
22268 | <staticmethod name="GetBeginDST" type="DateTime" overloaded="no"> | |
22269 | <autodoc>GetBeginDST(int year=Inv_Year, int country=Country_Default) -> DateTime</autodoc> | |
22270 | <paramlist> | |
22271 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22272 | <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/> | |
22273 | </paramlist> | |
22274 | </staticmethod> | |
22275 | <staticmethod name="GetEndDST" type="DateTime" overloaded="no"> | |
22276 | <autodoc>GetEndDST(int year=Inv_Year, int country=Country_Default) -> DateTime</autodoc> | |
22277 | <paramlist> | |
22278 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22279 | <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/> | |
22280 | </paramlist> | |
22281 | </staticmethod> | |
22282 | <staticmethod name="Now" type="DateTime" overloaded="no"> | |
22283 | <autodoc>Now() -> DateTime</autodoc> | |
22284 | </staticmethod> | |
22285 | <staticmethod name="UNow" type="DateTime" overloaded="no"> | |
22286 | <autodoc>UNow() -> DateTime</autodoc> | |
22287 | </staticmethod> | |
22288 | <staticmethod name="Today" type="DateTime" overloaded="no"> | |
22289 | <autodoc>Today() -> DateTime</autodoc> | |
22290 | </staticmethod> | |
22291 | <method name="SetToCurrent" type="DateTime" overloaded="no"> | |
22292 | <autodoc>SetToCurrent() -> DateTime</autodoc> | |
22293 | </method> | |
22294 | <method name="SetTimeT" type="DateTime" overloaded="no"> | |
22295 | <autodoc>SetTimeT(time_t timet) -> DateTime</autodoc> | |
22296 | <paramlist> | |
22297 | <param name="timet" type="time_t" default=""/> | |
22298 | </paramlist> | |
22299 | </method> | |
22300 | <method name="SetJDN" type="DateTime" overloaded="no"> | |
22301 | <autodoc>SetJDN(double jdn) -> DateTime</autodoc> | |
22302 | <paramlist> | |
22303 | <param name="jdn" type="double" default=""/> | |
22304 | </paramlist> | |
22305 | </method> | |
22306 | <method name="SetHMS" type="DateTime" overloaded="no"> | |
22307 | <autodoc>SetHMS(int hour, int minute=0, int second=0, int millisec=0) -> DateTime</autodoc> | |
22308 | <paramlist> | |
22309 | <param name="hour" type="int" default=""/> | |
22310 | <param name="minute" type="int" default="0"/> | |
22311 | <param name="second" type="int" default="0"/> | |
22312 | <param name="millisec" type="int" default="0"/> | |
22313 | </paramlist> | |
22314 | </method> | |
22315 | <method name="Set" type="DateTime" overloaded="no"> | |
22316 | <autodoc>Set(int day, int month=Inv_Month, int year=Inv_Year, int hour=0, | |
22317 | int minute=0, int second=0, int millisec=0) -> DateTime</autodoc> | |
22318 | <paramlist> | |
22319 | <param name="day" type="int" default=""/> | |
22320 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
22321 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22322 | <param name="hour" type="int" default="0"/> | |
22323 | <param name="minute" type="int" default="0"/> | |
22324 | <param name="second" type="int" default="0"/> | |
22325 | <param name="millisec" type="int" default="0"/> | |
22326 | </paramlist> | |
22327 | </method> | |
22328 | <method name="ResetTime" type="DateTime" overloaded="no"> | |
22329 | <autodoc>ResetTime() -> DateTime</autodoc> | |
22330 | </method> | |
22331 | <method name="SetYear" type="DateTime" overloaded="no"> | |
22332 | <autodoc>SetYear(int year) -> DateTime</autodoc> | |
22333 | <paramlist> | |
22334 | <param name="year" type="int" default=""/> | |
22335 | </paramlist> | |
22336 | </method> | |
22337 | <method name="SetMonth" type="DateTime" overloaded="no"> | |
22338 | <autodoc>SetMonth(int month) -> DateTime</autodoc> | |
22339 | <paramlist> | |
22340 | <param name="month" type="wxDateTime::Month" default=""/> | |
22341 | </paramlist> | |
22342 | </method> | |
22343 | <method name="SetDay" type="DateTime" overloaded="no"> | |
22344 | <autodoc>SetDay(int day) -> DateTime</autodoc> | |
22345 | <paramlist> | |
22346 | <param name="day" type="int" default=""/> | |
22347 | </paramlist> | |
22348 | </method> | |
22349 | <method name="SetHour" type="DateTime" overloaded="no"> | |
22350 | <autodoc>SetHour(int hour) -> DateTime</autodoc> | |
22351 | <paramlist> | |
22352 | <param name="hour" type="int" default=""/> | |
22353 | </paramlist> | |
22354 | </method> | |
22355 | <method name="SetMinute" type="DateTime" overloaded="no"> | |
22356 | <autodoc>SetMinute(int minute) -> DateTime</autodoc> | |
22357 | <paramlist> | |
22358 | <param name="minute" type="int" default=""/> | |
22359 | </paramlist> | |
22360 | </method> | |
22361 | <method name="SetSecond" type="DateTime" overloaded="no"> | |
22362 | <autodoc>SetSecond(int second) -> DateTime</autodoc> | |
22363 | <paramlist> | |
22364 | <param name="second" type="int" default=""/> | |
22365 | </paramlist> | |
22366 | </method> | |
22367 | <method name="SetMillisecond" type="DateTime" overloaded="no"> | |
22368 | <autodoc>SetMillisecond(int millisecond) -> DateTime</autodoc> | |
22369 | <paramlist> | |
22370 | <param name="millisecond" type="int" default=""/> | |
22371 | </paramlist> | |
22372 | </method> | |
22373 | <method name="SetToWeekDayInSameWeek" type="DateTime" overloaded="no"> | |
22374 | <autodoc>SetToWeekDayInSameWeek(int weekday, int flags=Monday_First) -> DateTime</autodoc> | |
22375 | <paramlist> | |
22376 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22377 | <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/> | |
22378 | </paramlist> | |
22379 | </method> | |
22380 | <method name="GetWeekDayInSameWeek" type="DateTime" overloaded="no"> | |
22381 | <autodoc>GetWeekDayInSameWeek(int weekday, int flags=Monday_First) -> DateTime</autodoc> | |
22382 | <paramlist> | |
22383 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22384 | <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/> | |
22385 | </paramlist> | |
22386 | </method> | |
22387 | <method name="SetToNextWeekDay" type="DateTime" overloaded="no"> | |
22388 | <autodoc>SetToNextWeekDay(int weekday) -> DateTime</autodoc> | |
22389 | <paramlist> | |
22390 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22391 | </paramlist> | |
22392 | </method> | |
22393 | <method name="GetNextWeekDay" type="DateTime" overloaded="no"> | |
22394 | <autodoc>GetNextWeekDay(int weekday) -> DateTime</autodoc> | |
22395 | <paramlist> | |
22396 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22397 | </paramlist> | |
22398 | </method> | |
22399 | <method name="SetToPrevWeekDay" type="DateTime" overloaded="no"> | |
22400 | <autodoc>SetToPrevWeekDay(int weekday) -> DateTime</autodoc> | |
22401 | <paramlist> | |
22402 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22403 | </paramlist> | |
22404 | </method> | |
22405 | <method name="GetPrevWeekDay" type="DateTime" overloaded="no"> | |
22406 | <autodoc>GetPrevWeekDay(int weekday) -> DateTime</autodoc> | |
22407 | <paramlist> | |
22408 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22409 | </paramlist> | |
22410 | </method> | |
22411 | <method name="SetToWeekDay" type="bool" overloaded="no"> | |
22412 | <autodoc>SetToWeekDay(int weekday, int n=1, int month=Inv_Month, int year=Inv_Year) -> bool</autodoc> | |
22413 | <paramlist> | |
22414 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22415 | <param name="n" type="int" default="1"/> | |
22416 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
22417 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22418 | </paramlist> | |
22419 | </method> | |
22420 | <method name="SetToLastWeekDay" type="bool" overloaded="no"> | |
22421 | <autodoc>SetToLastWeekDay(int weekday, int month=Inv_Month, int year=Inv_Year) -> bool</autodoc> | |
22422 | <paramlist> | |
22423 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22424 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
22425 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22426 | </paramlist> | |
22427 | </method> | |
22428 | <method name="GetLastWeekDay" type="DateTime" overloaded="no"> | |
22429 | <autodoc>GetLastWeekDay(int weekday, int month=Inv_Month, int year=Inv_Year) -> DateTime</autodoc> | |
22430 | <paramlist> | |
22431 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22432 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
22433 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22434 | </paramlist> | |
22435 | </method> | |
22436 | <method name="SetToTheWeek" type="bool" overloaded="no"> | |
22437 | <autodoc>SetToTheWeek(int numWeek, int weekday=Mon, int flags=Monday_First) -> bool</autodoc> | |
22438 | <paramlist> | |
22439 | <param name="numWeek" type="int" default=""/> | |
22440 | <param name="weekday" type="wxDateTime::WeekDay" default="wxDateTime::Mon"/> | |
22441 | <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/> | |
22442 | </paramlist> | |
22443 | </method> | |
22444 | <method name="GetWeek" type="DateTime" overloaded="no"> | |
22445 | <autodoc>GetWeek(int numWeek, int weekday=Mon, int flags=Monday_First) -> DateTime</autodoc> | |
22446 | <paramlist> | |
22447 | <param name="numWeek" type="int" default=""/> | |
22448 | <param name="weekday" type="wxDateTime::WeekDay" default="wxDateTime::Mon"/> | |
22449 | <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/> | |
22450 | </paramlist> | |
22451 | </method> | |
22452 | <method name="SetToLastMonthDay" type="DateTime" overloaded="no"> | |
22453 | <autodoc>SetToLastMonthDay(int month=Inv_Month, int year=Inv_Year) -> DateTime</autodoc> | |
22454 | <paramlist> | |
22455 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
22456 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22457 | </paramlist> | |
22458 | </method> | |
22459 | <method name="GetLastMonthDay" type="DateTime" overloaded="no"> | |
22460 | <autodoc>GetLastMonthDay(int month=Inv_Month, int year=Inv_Year) -> DateTime</autodoc> | |
22461 | <paramlist> | |
22462 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
22463 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22464 | </paramlist> | |
22465 | </method> | |
22466 | <method name="SetToYearDay" type="DateTime" overloaded="no"> | |
22467 | <autodoc>SetToYearDay(int yday) -> DateTime</autodoc> | |
22468 | <paramlist> | |
22469 | <param name="yday" type="int" default=""/> | |
22470 | </paramlist> | |
22471 | </method> | |
22472 | <method name="GetYearDay" type="DateTime" overloaded="no"> | |
22473 | <autodoc>GetYearDay(int yday) -> DateTime</autodoc> | |
22474 | <paramlist> | |
22475 | <param name="yday" type="int" default=""/> | |
22476 | </paramlist> | |
22477 | </method> | |
22478 | <method name="GetJulianDayNumber" type="double" overloaded="no"> | |
22479 | <autodoc>GetJulianDayNumber() -> double</autodoc> | |
22480 | </method> | |
22481 | <method name="GetJDN" type="double" overloaded="no"> | |
22482 | <autodoc>GetJDN() -> double</autodoc> | |
22483 | </method> | |
22484 | <method name="GetModifiedJulianDayNumber" type="double" overloaded="no"> | |
22485 | <autodoc>GetModifiedJulianDayNumber() -> double</autodoc> | |
22486 | </method> | |
22487 | <method name="GetMJD" type="double" overloaded="no"> | |
22488 | <autodoc>GetMJD() -> double</autodoc> | |
22489 | </method> | |
22490 | <method name="GetRataDie" type="double" overloaded="no"> | |
22491 | <autodoc>GetRataDie() -> double</autodoc> | |
22492 | </method> | |
22493 | <method name="ToTimezone" type="DateTime" overloaded="no"> | |
22494 | <autodoc>ToTimezone(wxDateTime::TimeZone tz, bool noDST=False) -> DateTime</autodoc> | |
22495 | <paramlist> | |
22496 | <param name="tz" type="wxDateTime::TimeZone" default=""/> | |
22497 | <param name="noDST" type="bool" default="False"/> | |
22498 | </paramlist> | |
22499 | </method> | |
22500 | <method name="MakeTimezone" type="DateTime" overloaded="no"> | |
22501 | <autodoc>MakeTimezone(wxDateTime::TimeZone tz, bool noDST=False) -> DateTime</autodoc> | |
22502 | <paramlist> | |
22503 | <param name="tz" type="wxDateTime::TimeZone" default=""/> | |
22504 | <param name="noDST" type="bool" default="False"/> | |
22505 | </paramlist> | |
22506 | </method> | |
22507 | <method name="ToGMT" type="DateTime" overloaded="no"> | |
22508 | <autodoc>ToGMT(bool noDST=False) -> DateTime</autodoc> | |
22509 | <paramlist> | |
22510 | <param name="noDST" type="bool" default="False"/> | |
22511 | </paramlist> | |
22512 | </method> | |
22513 | <method name="MakeGMT" type="DateTime" overloaded="no"> | |
22514 | <autodoc>MakeGMT(bool noDST=False) -> DateTime</autodoc> | |
22515 | <paramlist> | |
22516 | <param name="noDST" type="bool" default="False"/> | |
22517 | </paramlist> | |
22518 | </method> | |
22519 | <method name="IsDST" type="int" overloaded="no"> | |
22520 | <autodoc>IsDST(int country=Country_Default) -> int</autodoc> | |
22521 | <paramlist> | |
22522 | <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/> | |
22523 | </paramlist> | |
22524 | </method> | |
22525 | <method name="IsValid" type="bool" overloaded="no"> | |
22526 | <autodoc>IsValid() -> bool</autodoc> | |
22527 | </method> | |
22528 | <method name="GetTicks" type="time_t" overloaded="no"> | |
22529 | <autodoc>GetTicks() -> time_t</autodoc> | |
22530 | </method> | |
22531 | <method name="GetYear" type="int" overloaded="no"> | |
22532 | <autodoc>GetYear(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22533 | <paramlist> | |
22534 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22535 | </paramlist> | |
22536 | </method> | |
22537 | <method name="GetMonth" type="wxDateTime::Month" overloaded="no"> | |
22538 | <autodoc>GetMonth(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22539 | <paramlist> | |
22540 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22541 | </paramlist> | |
22542 | </method> | |
22543 | <method name="GetDay" type="int" overloaded="no"> | |
22544 | <autodoc>GetDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22545 | <paramlist> | |
22546 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22547 | </paramlist> | |
22548 | </method> | |
22549 | <method name="GetWeekDay" type="wxDateTime::WeekDay" overloaded="no"> | |
22550 | <autodoc>GetWeekDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22551 | <paramlist> | |
22552 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22553 | </paramlist> | |
22554 | </method> | |
22555 | <method name="GetHour" type="int" overloaded="no"> | |
22556 | <autodoc>GetHour(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22557 | <paramlist> | |
22558 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22559 | </paramlist> | |
22560 | </method> | |
22561 | <method name="GetMinute" type="int" overloaded="no"> | |
22562 | <autodoc>GetMinute(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22563 | <paramlist> | |
22564 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22565 | </paramlist> | |
22566 | </method> | |
22567 | <method name="GetSecond" type="int" overloaded="no"> | |
22568 | <autodoc>GetSecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22569 | <paramlist> | |
22570 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22571 | </paramlist> | |
22572 | </method> | |
22573 | <method name="GetMillisecond" type="int" overloaded="no"> | |
22574 | <autodoc>GetMillisecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22575 | <paramlist> | |
22576 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22577 | </paramlist> | |
22578 | </method> | |
22579 | <method name="GetDayOfYear" type="int" overloaded="no"> | |
22580 | <autodoc>GetDayOfYear(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22581 | <paramlist> | |
22582 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22583 | </paramlist> | |
22584 | </method> | |
22585 | <method name="GetWeekOfYear" type="int" overloaded="no"> | |
22586 | <autodoc>GetWeekOfYear(int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22587 | <paramlist> | |
22588 | <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/> | |
22589 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22590 | </paramlist> | |
22591 | </method> | |
22592 | <method name="GetWeekOfMonth" type="int" overloaded="no"> | |
22593 | <autodoc>GetWeekOfMonth(int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22594 | <paramlist> | |
22595 | <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/> | |
22596 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22597 | </paramlist> | |
22598 | </method> | |
22599 | <method name="IsWorkDay" type="bool" overloaded="no"> | |
22600 | <autodoc>IsWorkDay(int country=Country_Default) -> bool</autodoc> | |
22601 | <paramlist> | |
22602 | <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/> | |
22603 | </paramlist> | |
22604 | </method> | |
22605 | <method name="IsEqualTo" type="bool" overloaded="no"> | |
22606 | <autodoc>IsEqualTo(DateTime datetime) -> bool</autodoc> | |
22607 | <paramlist> | |
22608 | <param name="datetime" type="DateTime" default=""/> | |
22609 | </paramlist> | |
22610 | </method> | |
22611 | <method name="IsEarlierThan" type="bool" overloaded="no"> | |
22612 | <autodoc>IsEarlierThan(DateTime datetime) -> bool</autodoc> | |
22613 | <paramlist> | |
22614 | <param name="datetime" type="DateTime" default=""/> | |
22615 | </paramlist> | |
22616 | </method> | |
22617 | <method name="IsLaterThan" type="bool" overloaded="no"> | |
22618 | <autodoc>IsLaterThan(DateTime datetime) -> bool</autodoc> | |
22619 | <paramlist> | |
22620 | <param name="datetime" type="DateTime" default=""/> | |
22621 | </paramlist> | |
22622 | </method> | |
22623 | <method name="IsStrictlyBetween" type="bool" overloaded="no"> | |
22624 | <autodoc>IsStrictlyBetween(DateTime t1, DateTime t2) -> bool</autodoc> | |
22625 | <paramlist> | |
22626 | <param name="t1" type="DateTime" default=""/> | |
22627 | <param name="t2" type="DateTime" default=""/> | |
22628 | </paramlist> | |
22629 | </method> | |
22630 | <method name="IsBetween" type="bool" overloaded="no"> | |
22631 | <autodoc>IsBetween(DateTime t1, DateTime t2) -> bool</autodoc> | |
22632 | <paramlist> | |
22633 | <param name="t1" type="DateTime" default=""/> | |
22634 | <param name="t2" type="DateTime" default=""/> | |
22635 | </paramlist> | |
22636 | </method> | |
22637 | <method name="IsSameDate" type="bool" overloaded="no"> | |
22638 | <autodoc>IsSameDate(DateTime dt) -> bool</autodoc> | |
22639 | <paramlist> | |
22640 | <param name="dt" type="DateTime" default=""/> | |
22641 | </paramlist> | |
22642 | </method> | |
22643 | <method name="IsSameTime" type="bool" overloaded="no"> | |
22644 | <autodoc>IsSameTime(DateTime dt) -> bool</autodoc> | |
22645 | <paramlist> | |
22646 | <param name="dt" type="DateTime" default=""/> | |
22647 | </paramlist> | |
22648 | </method> | |
22649 | <method name="IsEqualUpTo" type="bool" overloaded="no"> | |
22650 | <autodoc>IsEqualUpTo(DateTime dt, TimeSpan ts) -> bool</autodoc> | |
22651 | <paramlist> | |
22652 | <param name="dt" type="DateTime" default=""/> | |
22653 | <param name="ts" type="wxTimeSpan" default=""/> | |
22654 | </paramlist> | |
22655 | </method> | |
22656 | <method name="AddTS" type="DateTime" overloaded="no"> | |
22657 | <autodoc>AddTS(TimeSpan diff) -> DateTime</autodoc> | |
22658 | <paramlist> | |
22659 | <param name="diff" type="wxTimeSpan" default=""/> | |
22660 | </paramlist> | |
22661 | </method> | |
22662 | <method name="AddDS" type="DateTime" overloaded="no"> | |
22663 | <autodoc>AddDS(DateSpan diff) -> DateTime</autodoc> | |
22664 | <paramlist> | |
22665 | <param name="diff" type="wxDateSpan" default=""/> | |
22666 | </paramlist> | |
22667 | </method> | |
22668 | <method name="SubtractTS" type="DateTime" overloaded="no"> | |
22669 | <autodoc>SubtractTS(TimeSpan diff) -> DateTime</autodoc> | |
22670 | <paramlist> | |
22671 | <param name="diff" type="wxTimeSpan" default=""/> | |
22672 | </paramlist> | |
22673 | </method> | |
22674 | <method name="SubtractDS" type="DateTime" overloaded="no"> | |
22675 | <autodoc>SubtractDS(DateSpan diff) -> DateTime</autodoc> | |
22676 | <paramlist> | |
22677 | <param name="diff" type="wxDateSpan" default=""/> | |
22678 | </paramlist> | |
22679 | </method> | |
22680 | <method name="Subtract" type="wxTimeSpan" overloaded="no"> | |
22681 | <autodoc>Subtract(DateTime dt) -> TimeSpan</autodoc> | |
22682 | <paramlist> | |
22683 | <param name="dt" type="DateTime" default=""/> | |
22684 | </paramlist> | |
22685 | </method> | |
22686 | <method name="__iadd__" type="DateTime" overloaded="yes"> | |
22687 | <paramlist> | |
22688 | <param name="diff" type="wxTimeSpan" default=""/> | |
22689 | </paramlist> | |
22690 | </method> | |
22691 | <method name="__iadd__" type="DateTime" overloaded="yes"> | |
22692 | <autodoc>__iadd__(TimeSpan diff) -> DateTime | |
22693 | __iadd__(DateSpan diff) -> DateTime</autodoc> | |
22694 | <paramlist> | |
22695 | <param name="diff" type="wxDateSpan" default=""/> | |
22696 | </paramlist> | |
22697 | </method> | |
22698 | <method name="__isub__" type="DateTime" overloaded="yes"> | |
22699 | <paramlist> | |
22700 | <param name="diff" type="wxTimeSpan" default=""/> | |
22701 | </paramlist> | |
22702 | </method> | |
22703 | <method name="__isub__" type="DateTime" overloaded="yes"> | |
22704 | <autodoc>__isub__(TimeSpan diff) -> DateTime | |
22705 | __isub__(DateSpan diff) -> DateTime</autodoc> | |
22706 | <paramlist> | |
22707 | <param name="diff" type="wxDateSpan" default=""/> | |
22708 | </paramlist> | |
22709 | </method> | |
22710 | <method name="__add__" type="DateTime" overloaded="yes"> | |
22711 | <paramlist> | |
22712 | <param name="other" type="wxTimeSpan" default=""/> | |
22713 | </paramlist> | |
22714 | </method> | |
22715 | <method name="__add__" type="DateTime" overloaded="yes"> | |
22716 | <autodoc>__add__(TimeSpan other) -> DateTime | |
22717 | __add__(DateSpan other) -> DateTime</autodoc> | |
22718 | <paramlist> | |
22719 | <param name="other" type="wxDateSpan" default=""/> | |
22720 | </paramlist> | |
22721 | </method> | |
22722 | <method name="__sub__" type="wxTimeSpan" overloaded="yes"> | |
22723 | <paramlist> | |
22724 | <param name="other" type="DateTime" default=""/> | |
22725 | </paramlist> | |
22726 | </method> | |
22727 | <method name="__sub__" type="DateTime" overloaded="yes"> | |
22728 | <paramlist> | |
22729 | <param name="other" type="wxTimeSpan" default=""/> | |
22730 | </paramlist> | |
22731 | </method> | |
22732 | <method name="__sub__" type="DateTime" overloaded="yes"> | |
22733 | <autodoc>__sub__(DateTime other) -> TimeSpan | |
22734 | __sub__(TimeSpan other) -> DateTime | |
22735 | __sub__(DateSpan other) -> DateTime</autodoc> | |
22736 | <paramlist> | |
22737 | <param name="other" type="wxDateSpan" default=""/> | |
22738 | </paramlist> | |
22739 | </method> | |
22740 | <method name="__lt__" type="bool" overloaded="no"> | |
22741 | <autodoc>__lt__(DateTime other) -> bool</autodoc> | |
22742 | <paramlist> | |
22743 | <param name="other" type="DateTime" default=""/> | |
22744 | </paramlist> | |
22745 | </method> | |
22746 | <method name="__le__" type="bool" overloaded="no"> | |
22747 | <autodoc>__le__(DateTime other) -> bool</autodoc> | |
22748 | <paramlist> | |
22749 | <param name="other" type="DateTime" default=""/> | |
22750 | </paramlist> | |
22751 | </method> | |
22752 | <method name="__gt__" type="bool" overloaded="no"> | |
22753 | <autodoc>__gt__(DateTime other) -> bool</autodoc> | |
22754 | <paramlist> | |
22755 | <param name="other" type="DateTime" default=""/> | |
22756 | </paramlist> | |
22757 | </method> | |
22758 | <method name="__ge__" type="bool" overloaded="no"> | |
22759 | <autodoc>__ge__(DateTime other) -> bool</autodoc> | |
22760 | <paramlist> | |
22761 | <param name="other" type="DateTime" default=""/> | |
22762 | </paramlist> | |
22763 | </method> | |
22764 | <method name="__eq__" type="bool" overloaded="no"> | |
22765 | <autodoc>__eq__(DateTime other) -> bool</autodoc> | |
22766 | <paramlist> | |
22767 | <param name="other" type="DateTime" default=""/> | |
22768 | </paramlist> | |
22769 | </method> | |
22770 | <method name="__ne__" type="bool" overloaded="no"> | |
22771 | <autodoc>__ne__(DateTime other) -> bool</autodoc> | |
22772 | <paramlist> | |
22773 | <param name="other" type="DateTime" default=""/> | |
22774 | </paramlist> | |
22775 | </method> | |
22776 | <method name="ParseRfc822Date" type="int" overloaded="no"> | |
22777 | <autodoc>ParseRfc822Date(String date) -> int</autodoc> | |
22778 | <paramlist> | |
22779 | <param name="date" type="String" default=""/> | |
22780 | </paramlist> | |
22781 | </method> | |
22782 | <method name="ParseFormat" type="int" overloaded="no"> | |
22783 | <autodoc>ParseFormat(String date, String format=DateFormatStr, DateTime dateDef=DefaultDateTime) -> int</autodoc> | |
22784 | <paramlist> | |
22785 | <param name="date" type="String" default=""/> | |
22786 | <param name="format" type="String" default="wxPyDateFormatStr"/> | |
22787 | <param name="dateDef" type="DateTime" default="wxDefaultDateTime"/> | |
22788 | </paramlist> | |
22789 | </method> | |
22790 | <method name="ParseDateTime" type="int" overloaded="no"> | |
22791 | <autodoc>ParseDateTime(String datetime) -> int</autodoc> | |
22792 | <paramlist> | |
22793 | <param name="datetime" type="String" default=""/> | |
22794 | </paramlist> | |
22795 | </method> | |
22796 | <method name="ParseDate" type="int" overloaded="no"> | |
22797 | <autodoc>ParseDate(String date) -> int</autodoc> | |
22798 | <paramlist> | |
22799 | <param name="date" type="String" default=""/> | |
22800 | </paramlist> | |
22801 | </method> | |
22802 | <method name="ParseTime" type="int" overloaded="no"> | |
22803 | <autodoc>ParseTime(String time) -> int</autodoc> | |
22804 | <paramlist> | |
22805 | <param name="time" type="String" default=""/> | |
22806 | </paramlist> | |
22807 | </method> | |
22808 | <method name="Format" type="String" overloaded="no"> | |
22809 | <autodoc>Format(String format=DateFormatStr, wxDateTime::TimeZone tz=LOCAL_TZ) -> String</autodoc> | |
22810 | <paramlist> | |
22811 | <param name="format" type="String" default="wxPyDateFormatStr"/> | |
22812 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22813 | </paramlist> | |
22814 | </method> | |
22815 | <method name="FormatDate" type="String" overloaded="no"> | |
22816 | <autodoc>FormatDate() -> String</autodoc> | |
22817 | </method> | |
22818 | <method name="FormatTime" type="String" overloaded="no"> | |
22819 | <autodoc>FormatTime() -> String</autodoc> | |
22820 | </method> | |
22821 | <method name="FormatISODate" type="String" overloaded="no"> | |
22822 | <autodoc>FormatISODate() -> String</autodoc> | |
22823 | </method> | |
22824 | <method name="FormatISOTime" type="String" overloaded="no"> | |
22825 | <autodoc>FormatISOTime() -> String</autodoc> | |
22826 | </method> | |
22827 | </class> | |
22828 | <class name="TimeSpan" oldname="wxTimeSpan" module="misc"> | |
22829 | <constructor name="TimeSpan" overloaded="no"> | |
22830 | <autodoc>__init__(long hours=0, long minutes=0, long seconds=0, long milliseconds=0) -> TimeSpan</autodoc> | |
22831 | <paramlist> | |
22832 | <param name="hours" type="long" default="0"/> | |
22833 | <param name="minutes" type="long" default="0"/> | |
22834 | <param name="seconds" type="long" default="0"/> | |
22835 | <param name="milliseconds" type="long" default="0"/> | |
22836 | </paramlist> | |
22837 | </constructor> | |
22838 | <destructor name="~wxTimeSpan" overloaded="no"> | |
22839 | <autodoc>__del__()</autodoc> | |
22840 | </destructor> | |
22841 | <staticmethod name="Seconds" type="TimeSpan" overloaded="no"> | |
22842 | <autodoc>Seconds(long sec) -> TimeSpan</autodoc> | |
22843 | <paramlist> | |
22844 | <param name="sec" type="long" default=""/> | |
22845 | </paramlist> | |
22846 | </staticmethod> | |
22847 | <staticmethod name="Second" type="TimeSpan" overloaded="no"> | |
22848 | <autodoc>Second() -> TimeSpan</autodoc> | |
22849 | </staticmethod> | |
22850 | <staticmethod name="Minutes" type="TimeSpan" overloaded="no"> | |
22851 | <autodoc>Minutes(long min) -> TimeSpan</autodoc> | |
22852 | <paramlist> | |
22853 | <param name="min" type="long" default=""/> | |
22854 | </paramlist> | |
22855 | </staticmethod> | |
22856 | <staticmethod name="Minute" type="TimeSpan" overloaded="no"> | |
22857 | <autodoc>Minute() -> TimeSpan</autodoc> | |
22858 | </staticmethod> | |
22859 | <staticmethod name="Hours" type="TimeSpan" overloaded="no"> | |
22860 | <autodoc>Hours(long hours) -> TimeSpan</autodoc> | |
22861 | <paramlist> | |
22862 | <param name="hours" type="long" default=""/> | |
22863 | </paramlist> | |
22864 | </staticmethod> | |
22865 | <staticmethod name="Hour" type="TimeSpan" overloaded="no"> | |
22866 | <autodoc>Hour() -> TimeSpan</autodoc> | |
22867 | </staticmethod> | |
22868 | <staticmethod name="Days" type="TimeSpan" overloaded="no"> | |
22869 | <autodoc>Days(long days) -> TimeSpan</autodoc> | |
22870 | <paramlist> | |
22871 | <param name="days" type="long" default=""/> | |
22872 | </paramlist> | |
22873 | </staticmethod> | |
22874 | <staticmethod name="Day" type="TimeSpan" overloaded="no"> | |
22875 | <autodoc>Day() -> TimeSpan</autodoc> | |
22876 | </staticmethod> | |
22877 | <staticmethod name="Weeks" type="TimeSpan" overloaded="no"> | |
22878 | <autodoc>Weeks(long days) -> TimeSpan</autodoc> | |
22879 | <paramlist> | |
22880 | <param name="days" type="long" default=""/> | |
22881 | </paramlist> | |
22882 | </staticmethod> | |
22883 | <staticmethod name="Week" type="TimeSpan" overloaded="no"> | |
22884 | <autodoc>Week() -> TimeSpan</autodoc> | |
22885 | </staticmethod> | |
22886 | <method name="Add" type="TimeSpan" overloaded="no"> | |
22887 | <autodoc>Add(TimeSpan diff) -> TimeSpan</autodoc> | |
22888 | <paramlist> | |
22889 | <param name="diff" type="TimeSpan" default=""/> | |
22890 | </paramlist> | |
22891 | </method> | |
22892 | <method name="Subtract" type="TimeSpan" overloaded="no"> | |
22893 | <autodoc>Subtract(TimeSpan diff) -> TimeSpan</autodoc> | |
22894 | <paramlist> | |
22895 | <param name="diff" type="TimeSpan" default=""/> | |
22896 | </paramlist> | |
22897 | </method> | |
22898 | <method name="Multiply" type="TimeSpan" overloaded="no"> | |
22899 | <autodoc>Multiply(int n) -> TimeSpan</autodoc> | |
22900 | <paramlist> | |
22901 | <param name="n" type="int" default=""/> | |
22902 | </paramlist> | |
22903 | </method> | |
22904 | <method name="Neg" type="TimeSpan" overloaded="no"> | |
22905 | <autodoc>Neg() -> TimeSpan</autodoc> | |
22906 | </method> | |
22907 | <method name="Abs" type="TimeSpan" overloaded="no"> | |
22908 | <autodoc>Abs() -> TimeSpan</autodoc> | |
22909 | </method> | |
22910 | <method name="__iadd__" type="TimeSpan" overloaded="no"> | |
22911 | <autodoc>__iadd__(TimeSpan diff) -> TimeSpan</autodoc> | |
22912 | <paramlist> | |
22913 | <param name="diff" type="TimeSpan" default=""/> | |
22914 | </paramlist> | |
22915 | </method> | |
22916 | <method name="__isub__" type="TimeSpan" overloaded="no"> | |
22917 | <autodoc>__isub__(TimeSpan diff) -> TimeSpan</autodoc> | |
22918 | <paramlist> | |
22919 | <param name="diff" type="TimeSpan" default=""/> | |
22920 | </paramlist> | |
22921 | </method> | |
22922 | <method name="__imul__" type="TimeSpan" overloaded="no"> | |
22923 | <autodoc>__imul__(int n) -> TimeSpan</autodoc> | |
22924 | <paramlist> | |
22925 | <param name="n" type="int" default=""/> | |
22926 | </paramlist> | |
22927 | </method> | |
22928 | <method name="__neg__" type="TimeSpan" overloaded="no"> | |
22929 | <autodoc>__neg__() -> TimeSpan</autodoc> | |
22930 | </method> | |
22931 | <method name="__add__" type="TimeSpan" overloaded="no"> | |
22932 | <autodoc>__add__(TimeSpan other) -> TimeSpan</autodoc> | |
22933 | <paramlist> | |
22934 | <param name="other" type="TimeSpan" default=""/> | |
22935 | </paramlist> | |
22936 | </method> | |
22937 | <method name="__sub__" type="TimeSpan" overloaded="no"> | |
22938 | <autodoc>__sub__(TimeSpan other) -> TimeSpan</autodoc> | |
22939 | <paramlist> | |
22940 | <param name="other" type="TimeSpan" default=""/> | |
22941 | </paramlist> | |
22942 | </method> | |
22943 | <method name="__mul__" type="TimeSpan" overloaded="no"> | |
22944 | <autodoc>__mul__(int n) -> TimeSpan</autodoc> | |
22945 | <paramlist> | |
22946 | <param name="n" type="int" default=""/> | |
22947 | </paramlist> | |
22948 | </method> | |
22949 | <method name="__rmul__" type="TimeSpan" overloaded="no"> | |
22950 | <autodoc>__rmul__(int n) -> TimeSpan</autodoc> | |
22951 | <paramlist> | |
22952 | <param name="n" type="int" default=""/> | |
22953 | </paramlist> | |
22954 | </method> | |
22955 | <method name="__lt__" type="bool" overloaded="no"> | |
22956 | <autodoc>__lt__(TimeSpan other) -> bool</autodoc> | |
22957 | <paramlist> | |
22958 | <param name="other" type="TimeSpan" default=""/> | |
22959 | </paramlist> | |
22960 | </method> | |
22961 | <method name="__le__" type="bool" overloaded="no"> | |
22962 | <autodoc>__le__(TimeSpan other) -> bool</autodoc> | |
22963 | <paramlist> | |
22964 | <param name="other" type="TimeSpan" default=""/> | |
22965 | </paramlist> | |
22966 | </method> | |
22967 | <method name="__gt__" type="bool" overloaded="no"> | |
22968 | <autodoc>__gt__(TimeSpan other) -> bool</autodoc> | |
22969 | <paramlist> | |
22970 | <param name="other" type="TimeSpan" default=""/> | |
22971 | </paramlist> | |
22972 | </method> | |
22973 | <method name="__ge__" type="bool" overloaded="no"> | |
22974 | <autodoc>__ge__(TimeSpan other) -> bool</autodoc> | |
22975 | <paramlist> | |
22976 | <param name="other" type="TimeSpan" default=""/> | |
22977 | </paramlist> | |
22978 | </method> | |
22979 | <method name="__eq__" type="bool" overloaded="no"> | |
22980 | <autodoc>__eq__(TimeSpan other) -> bool</autodoc> | |
22981 | <paramlist> | |
22982 | <param name="other" type="TimeSpan" default=""/> | |
22983 | </paramlist> | |
22984 | </method> | |
22985 | <method name="__ne__" type="bool" overloaded="no"> | |
22986 | <autodoc>__ne__(TimeSpan other) -> bool</autodoc> | |
22987 | <paramlist> | |
22988 | <param name="other" type="TimeSpan" default=""/> | |
22989 | </paramlist> | |
22990 | </method> | |
22991 | <method name="IsNull" type="bool" overloaded="no"> | |
22992 | <autodoc>IsNull() -> bool</autodoc> | |
22993 | </method> | |
22994 | <method name="IsPositive" type="bool" overloaded="no"> | |
22995 | <autodoc>IsPositive() -> bool</autodoc> | |
22996 | </method> | |
22997 | <method name="IsNegative" type="bool" overloaded="no"> | |
22998 | <autodoc>IsNegative() -> bool</autodoc> | |
22999 | </method> | |
23000 | <method name="IsEqualTo" type="bool" overloaded="no"> | |
23001 | <autodoc>IsEqualTo(TimeSpan ts) -> bool</autodoc> | |
23002 | <paramlist> | |
23003 | <param name="ts" type="TimeSpan" default=""/> | |
23004 | </paramlist> | |
23005 | </method> | |
23006 | <method name="IsLongerThan" type="bool" overloaded="no"> | |
23007 | <autodoc>IsLongerThan(TimeSpan ts) -> bool</autodoc> | |
23008 | <paramlist> | |
23009 | <param name="ts" type="TimeSpan" default=""/> | |
23010 | </paramlist> | |
23011 | </method> | |
23012 | <method name="IsShorterThan" type="bool" overloaded="no"> | |
23013 | <autodoc>IsShorterThan(TimeSpan t) -> bool</autodoc> | |
23014 | <paramlist> | |
23015 | <param name="t" type="TimeSpan" default=""/> | |
23016 | </paramlist> | |
23017 | </method> | |
23018 | <method name="GetWeeks" type="int" overloaded="no"> | |
23019 | <autodoc>GetWeeks() -> int</autodoc> | |
23020 | </method> | |
23021 | <method name="GetDays" type="int" overloaded="no"> | |
23022 | <autodoc>GetDays() -> int</autodoc> | |
23023 | </method> | |
23024 | <method name="GetHours" type="int" overloaded="no"> | |
23025 | <autodoc>GetHours() -> int</autodoc> | |
23026 | </method> | |
23027 | <method name="GetMinutes" type="int" overloaded="no"> | |
23028 | <autodoc>GetMinutes() -> int</autodoc> | |
23029 | </method> | |
23030 | <method name="GetSeconds" type="wxLongLong" overloaded="no"> | |
23031 | <autodoc>GetSeconds() -> wxLongLong</autodoc> | |
23032 | </method> | |
23033 | <method name="GetMilliseconds" type="wxLongLong" overloaded="no"> | |
23034 | <autodoc>GetMilliseconds() -> wxLongLong</autodoc> | |
23035 | </method> | |
23036 | <method name="Format" type="String" overloaded="no"> | |
23037 | <autodoc>Format(String format=TimeSpanFormatStr) -> String</autodoc> | |
23038 | <paramlist> | |
23039 | <param name="format" type="String" default="wxPyTimeSpanFormatStr"/> | |
23040 | </paramlist> | |
23041 | </method> | |
23042 | </class> | |
23043 | <class name="DateSpan" oldname="wxDateSpan" module="misc"> | |
23044 | <constructor name="DateSpan" overloaded="no"> | |
23045 | <autodoc>__init__(int years=0, int months=0, int weeks=0, int days=0) -> DateSpan</autodoc> | |
23046 | <paramlist> | |
23047 | <param name="years" type="int" default="0"/> | |
23048 | <param name="months" type="int" default="0"/> | |
23049 | <param name="weeks" type="int" default="0"/> | |
23050 | <param name="days" type="int" default="0"/> | |
23051 | </paramlist> | |
23052 | </constructor> | |
23053 | <destructor name="~wxDateSpan" overloaded="no"> | |
23054 | <autodoc>__del__()</autodoc> | |
23055 | </destructor> | |
23056 | <staticmethod name="Days" type="DateSpan" overloaded="no"> | |
23057 | <autodoc>Days(int days) -> DateSpan</autodoc> | |
23058 | <paramlist> | |
23059 | <param name="days" type="int" default=""/> | |
23060 | </paramlist> | |
23061 | </staticmethod> | |
23062 | <staticmethod name="Day" type="DateSpan" overloaded="no"> | |
23063 | <autodoc>Day() -> DateSpan</autodoc> | |
23064 | </staticmethod> | |
23065 | <staticmethod name="Weeks" type="DateSpan" overloaded="no"> | |
23066 | <autodoc>Weeks(int weeks) -> DateSpan</autodoc> | |
23067 | <paramlist> | |
23068 | <param name="weeks" type="int" default=""/> | |
23069 | </paramlist> | |
23070 | </staticmethod> | |
23071 | <staticmethod name="Week" type="DateSpan" overloaded="no"> | |
23072 | <autodoc>Week() -> DateSpan</autodoc> | |
23073 | </staticmethod> | |
23074 | <staticmethod name="Months" type="DateSpan" overloaded="no"> | |
23075 | <autodoc>Months(int mon) -> DateSpan</autodoc> | |
23076 | <paramlist> | |
23077 | <param name="mon" type="int" default=""/> | |
23078 | </paramlist> | |
23079 | </staticmethod> | |
23080 | <staticmethod name="Month" type="DateSpan" overloaded="no"> | |
23081 | <autodoc>Month() -> DateSpan</autodoc> | |
23082 | </staticmethod> | |
23083 | <staticmethod name="Years" type="DateSpan" overloaded="no"> | |
23084 | <autodoc>Years(int years) -> DateSpan</autodoc> | |
23085 | <paramlist> | |
23086 | <param name="years" type="int" default=""/> | |
23087 | </paramlist> | |
23088 | </staticmethod> | |
23089 | <staticmethod name="Year" type="DateSpan" overloaded="no"> | |
23090 | <autodoc>Year() -> DateSpan</autodoc> | |
23091 | </staticmethod> | |
23092 | <method name="SetYears" type="DateSpan" overloaded="no"> | |
23093 | <autodoc>SetYears(int n) -> DateSpan</autodoc> | |
23094 | <paramlist> | |
23095 | <param name="n" type="int" default=""/> | |
23096 | </paramlist> | |
23097 | </method> | |
23098 | <method name="SetMonths" type="DateSpan" overloaded="no"> | |
23099 | <autodoc>SetMonths(int n) -> DateSpan</autodoc> | |
23100 | <paramlist> | |
23101 | <param name="n" type="int" default=""/> | |
23102 | </paramlist> | |
23103 | </method> | |
23104 | <method name="SetWeeks" type="DateSpan" overloaded="no"> | |
23105 | <autodoc>SetWeeks(int n) -> DateSpan</autodoc> | |
23106 | <paramlist> | |
23107 | <param name="n" type="int" default=""/> | |
23108 | </paramlist> | |
23109 | </method> | |
23110 | <method name="SetDays" type="DateSpan" overloaded="no"> | |
23111 | <autodoc>SetDays(int n) -> DateSpan</autodoc> | |
23112 | <paramlist> | |
23113 | <param name="n" type="int" default=""/> | |
23114 | </paramlist> | |
23115 | </method> | |
23116 | <method name="GetYears" type="int" overloaded="no"> | |
23117 | <autodoc>GetYears() -> int</autodoc> | |
23118 | </method> | |
23119 | <method name="GetMonths" type="int" overloaded="no"> | |
23120 | <autodoc>GetMonths() -> int</autodoc> | |
23121 | </method> | |
23122 | <method name="GetWeeks" type="int" overloaded="no"> | |
23123 | <autodoc>GetWeeks() -> int</autodoc> | |
23124 | </method> | |
23125 | <method name="GetDays" type="int" overloaded="no"> | |
23126 | <autodoc>GetDays() -> int</autodoc> | |
23127 | </method> | |
23128 | <method name="GetTotalDays" type="int" overloaded="no"> | |
23129 | <autodoc>GetTotalDays() -> int</autodoc> | |
23130 | </method> | |
23131 | <method name="Add" type="DateSpan" overloaded="no"> | |
23132 | <autodoc>Add(DateSpan other) -> DateSpan</autodoc> | |
23133 | <paramlist> | |
23134 | <param name="other" type="DateSpan" default=""/> | |
23135 | </paramlist> | |
23136 | </method> | |
23137 | <method name="Subtract" type="DateSpan" overloaded="no"> | |
23138 | <autodoc>Subtract(DateSpan other) -> DateSpan</autodoc> | |
23139 | <paramlist> | |
23140 | <param name="other" type="DateSpan" default=""/> | |
23141 | </paramlist> | |
23142 | </method> | |
23143 | <method name="Neg" type="DateSpan" overloaded="no"> | |
23144 | <autodoc>Neg() -> DateSpan</autodoc> | |
23145 | </method> | |
23146 | <method name="Multiply" type="DateSpan" overloaded="no"> | |
23147 | <autodoc>Multiply(int factor) -> DateSpan</autodoc> | |
23148 | <paramlist> | |
23149 | <param name="factor" type="int" default=""/> | |
23150 | </paramlist> | |
23151 | </method> | |
23152 | <method name="__iadd__" type="DateSpan" overloaded="no"> | |
23153 | <autodoc>__iadd__(DateSpan other) -> DateSpan</autodoc> | |
23154 | <paramlist> | |
23155 | <param name="other" type="DateSpan" default=""/> | |
23156 | </paramlist> | |
23157 | </method> | |
23158 | <method name="__isub__" type="DateSpan" overloaded="no"> | |
23159 | <autodoc>__isub__(DateSpan other) -> DateSpan</autodoc> | |
23160 | <paramlist> | |
23161 | <param name="other" type="DateSpan" default=""/> | |
23162 | </paramlist> | |
23163 | </method> | |
23164 | <method name="__neg__" type="DateSpan" overloaded="no"> | |
23165 | <autodoc>__neg__() -> DateSpan</autodoc> | |
23166 | </method> | |
23167 | <method name="__imul__" type="DateSpan" overloaded="no"> | |
23168 | <autodoc>__imul__(int factor) -> DateSpan</autodoc> | |
23169 | <paramlist> | |
23170 | <param name="factor" type="int" default=""/> | |
23171 | </paramlist> | |
23172 | </method> | |
23173 | <method name="__add__" type="DateSpan" overloaded="no"> | |
23174 | <autodoc>__add__(DateSpan other) -> DateSpan</autodoc> | |
23175 | <paramlist> | |
23176 | <param name="other" type="DateSpan" default=""/> | |
23177 | </paramlist> | |
23178 | </method> | |
23179 | <method name="__sub__" type="DateSpan" overloaded="no"> | |
23180 | <autodoc>__sub__(DateSpan other) -> DateSpan</autodoc> | |
23181 | <paramlist> | |
23182 | <param name="other" type="DateSpan" default=""/> | |
23183 | </paramlist> | |
23184 | </method> | |
23185 | <method name="__mul__" type="DateSpan" overloaded="no"> | |
23186 | <autodoc>__mul__(int n) -> DateSpan</autodoc> | |
23187 | <paramlist> | |
23188 | <param name="n" type="int" default=""/> | |
23189 | </paramlist> | |
23190 | </method> | |
23191 | <method name="__rmul__" type="DateSpan" overloaded="no"> | |
23192 | <autodoc>__rmul__(int n) -> DateSpan</autodoc> | |
23193 | <paramlist> | |
23194 | <param name="n" type="int" default=""/> | |
23195 | </paramlist> | |
23196 | </method> | |
23197 | <method name="__eq__" type="bool" overloaded="no"> | |
23198 | <autodoc>__eq__(DateSpan other) -> bool</autodoc> | |
23199 | <paramlist> | |
23200 | <param name="other" type="DateSpan" default=""/> | |
23201 | </paramlist> | |
23202 | </method> | |
23203 | <method name="__ne__" type="bool" overloaded="no"> | |
23204 | <autodoc>__ne__(DateSpan other) -> bool</autodoc> | |
23205 | <paramlist> | |
23206 | <param name="other" type="DateSpan" default=""/> | |
23207 | </paramlist> | |
23208 | </method> | |
23209 | </class> | |
23210 | <method name="GetLocalTime" oldname="wxGetLocalTime" type="long" overloaded="no"> | |
23211 | <autodoc>GetLocalTime() -> long</autodoc> | |
23212 | </method> | |
23213 | <method name="GetUTCTime" oldname="wxGetUTCTime" type="long" overloaded="no"> | |
23214 | <autodoc>GetUTCTime() -> long</autodoc> | |
23215 | </method> | |
23216 | <method name="GetCurrentTime" oldname="wxGetCurrentTime" type="long" overloaded="no"> | |
23217 | <autodoc>GetCurrentTime() -> long</autodoc> | |
23218 | </method> | |
23219 | <method name="GetLocalTimeMillis" oldname="wxGetLocalTimeMillis" type="wxLongLong" overloaded="no"> | |
23220 | <autodoc>GetLocalTimeMillis() -> wxLongLong</autodoc> | |
856bf319 | 23221 | </method> |
f32fc4bc RD |
23222 | <pythoncode> |
23223 | #--------------------------------------------------------------------------- | |
23224 | </pythoncode> | |
23225 | <class name="DataFormat" oldname="wxDataFormat" module="misc"> | |
c2dda882 RD |
23226 | <docstring>A wx.DataFormat is an encapsulation of a platform-specific format |
23227 | handle which is used by the system for the clipboard and drag and | |
23228 | drop operations. The applications are usually only interested in, | |
23229 | for example, pasting data from the clipboard only if the data is | |
23230 | in a format the program understands. A data format is is used to | |
23231 | uniquely identify this format. | |
23232 | ||
23233 | On the system level, a data format is usually just a number | |
23234 | (CLIPFORMAT under Windows or Atom under X11, for example).</docstring> | |
f32fc4bc RD |
23235 | <constructor name="DataFormat" overloaded="no"> |
23236 | <autodoc>__init__(int type) -> DataFormat</autodoc> | |
c2dda882 RD |
23237 | <docstring>Constructs a data format object for one of the standard data |
23238 | formats or an empty data object (use SetType or SetId later in | |
23239 | this case)</docstring> | |
f32fc4bc RD |
23240 | <paramlist> |
23241 | <param name="type" type="wxDataFormatId" default=""/> | |
23242 | </paramlist> | |
23243 | </constructor> | |
23244 | <constructor name="CustomDataFormat" overloaded="no"> | |
23245 | <autodoc>CustomDataFormat(String format) -> DataFormat</autodoc> | |
c2dda882 | 23246 | <docstring>Constructs a data format object for a custom format identified by its name.</docstring> |
f32fc4bc RD |
23247 | <paramlist> |
23248 | <param name="format" type="String" default=""/> | |
23249 | </paramlist> | |
23250 | </constructor> | |
23251 | <destructor name="~wxDataFormat" overloaded="no"> | |
23252 | <autodoc>__del__()</autodoc> | |
23253 | </destructor> | |
23254 | <method name="__eq__" type="bool" overloaded="yes"> | |
23255 | <paramlist> | |
23256 | <param name="format" type="wxDataFormatId" default=""/> | |
23257 | </paramlist> | |
23258 | </method> | |
23259 | <method name="__ne__" type="bool" overloaded="yes"> | |
23260 | <paramlist> | |
23261 | <param name="format" type="wxDataFormatId" default=""/> | |
23262 | </paramlist> | |
23263 | </method> | |
23264 | <method name="__eq__" type="bool" overloaded="yes"> | |
23265 | <autodoc>__eq__(int format) -> bool | |
23266 | __eq__(DataFormat format) -> bool</autodoc> | |
23267 | <paramlist> | |
23268 | <param name="format" type="DataFormat" default=""/> | |
23269 | </paramlist> | |
23270 | </method> | |
23271 | <method name="__ne__" type="bool" overloaded="yes"> | |
23272 | <autodoc>__ne__(int format) -> bool | |
23273 | __ne__(DataFormat format) -> bool</autodoc> | |
23274 | <paramlist> | |
23275 | <param name="format" type="DataFormat" default=""/> | |
23276 | </paramlist> | |
23277 | </method> | |
23278 | <method name="SetType" type="" overloaded="no"> | |
23279 | <autodoc>SetType(int format)</autodoc> | |
c2dda882 | 23280 | <docstring>Sets the format to the given value, which should be one of wx.DF_XXX constants.</docstring> |
f32fc4bc RD |
23281 | <paramlist> |
23282 | <param name="format" type="wxDataFormatId" default=""/> | |
23283 | </paramlist> | |
23284 | </method> | |
23285 | <method name="GetType" type="wxDataFormatId" overloaded="no"> | |
23286 | <autodoc>GetType() -> int</autodoc> | |
c2dda882 | 23287 | <docstring>Returns the platform-specific number identifying the format.</docstring> |
f32fc4bc RD |
23288 | </method> |
23289 | <method name="GetId" type="String" overloaded="no"> | |
23290 | <autodoc>GetId() -> String</autodoc> | |
c2dda882 | 23291 | <docstring>Returns the name of a custom format (this function will fail for a standard format).</docstring> |
f32fc4bc RD |
23292 | </method> |
23293 | <method name="SetId" type="" overloaded="no"> | |
23294 | <autodoc>SetId(String format)</autodoc> | |
c2dda882 | 23295 | <docstring>Sets the format to be the custom format identified by the given name.</docstring> |
f32fc4bc RD |
23296 | <paramlist> |
23297 | <param name="format" type="String" default=""/> | |
23298 | </paramlist> | |
23299 | </method> | |
23300 | </class> | |
23301 | <class name="DataObject" oldname="wxDataObject" module="misc"> | |
23302 | <destructor name="~wxDataObject" overloaded="no"> | |
23303 | <autodoc>__del__()</autodoc> | |
23304 | </destructor> | |
23305 | <method name="GetPreferredFormat" type="DataFormat" overloaded="no"> | |
23306 | <autodoc>GetPreferredFormat(int dir=Get) -> DataFormat</autodoc> | |
23307 | <paramlist> | |
23308 | <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/> | |
23309 | </paramlist> | |
23310 | </method> | |
23311 | <method name="GetFormatCount" type="size_t" overloaded="no"> | |
23312 | <autodoc>GetFormatCount(int dir=Get) -> size_t</autodoc> | |
23313 | <paramlist> | |
23314 | <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/> | |
23315 | </paramlist> | |
23316 | </method> | |
23317 | <method name="IsSupported" type="bool" overloaded="no"> | |
23318 | <autodoc>IsSupported(DataFormat format, int dir=Get) -> bool</autodoc> | |
23319 | <paramlist> | |
23320 | <param name="format" type="DataFormat" default=""/> | |
23321 | <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/> | |
23322 | </paramlist> | |
23323 | </method> | |
23324 | <method name="GetDataSize" type="size_t" overloaded="no"> | |
23325 | <autodoc>GetDataSize(DataFormat format) -> size_t</autodoc> | |
23326 | <paramlist> | |
23327 | <param name="format" type="DataFormat" default=""/> | |
23328 | </paramlist> | |
23329 | </method> | |
23330 | <method name="GetAllFormats" type="" overloaded="no"> | |
23331 | <autodoc>GetAllFormats(DataFormat formats, int dir=Get)</autodoc> | |
23332 | <paramlist> | |
23333 | <param name="formats" type="DataFormat" default=""/> | |
23334 | <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/> | |
23335 | </paramlist> | |
23336 | </method> | |
23337 | <method name="GetDataHere" type="bool" overloaded="no"> | |
23338 | <autodoc>GetDataHere(DataFormat format, void buf) -> bool</autodoc> | |
23339 | <paramlist> | |
23340 | <param name="format" type="DataFormat" default=""/> | |
23341 | <param name="buf" type="" default=""/> | |
23342 | </paramlist> | |
23343 | </method> | |
23344 | <method name="SetData" type="bool" overloaded="no"> | |
23345 | <autodoc>SetData(DataFormat format, size_t len, void buf) -> bool</autodoc> | |
23346 | <paramlist> | |
23347 | <param name="format" type="DataFormat" default=""/> | |
23348 | <param name="len" type="size_t" default=""/> | |
23349 | <param name="buf" type="" default=""/> | |
23350 | </paramlist> | |
23351 | </method> | |
23352 | </class> | |
23353 | <class name="DataObjectSimple" oldname="wxDataObjectSimple" module="misc"> | |
23354 | <baseclass name="DataObject"/> | |
23355 | <constructor name="DataObjectSimple" overloaded="no"> | |
23356 | <autodoc>__init__(DataFormat format=FormatInvalid) -> DataObjectSimple</autodoc> | |
23357 | <paramlist> | |
23358 | <param name="format" type="DataFormat" default="wxFormatInvalid"/> | |
23359 | </paramlist> | |
23360 | </constructor> | |
23361 | <method name="GetFormat" type="DataFormat" overloaded="no"> | |
23362 | <autodoc>GetFormat() -> DataFormat</autodoc> | |
23363 | </method> | |
23364 | <method name="SetFormat" type="" overloaded="no"> | |
23365 | <autodoc>SetFormat(DataFormat format)</autodoc> | |
23366 | <paramlist> | |
23367 | <param name="format" type="DataFormat" default=""/> | |
23368 | </paramlist> | |
23369 | </method> | |
23370 | </class> | |
23371 | <class name="PyDataObjectSimple" oldname="wxPyDataObjectSimple" module="misc"> | |
23372 | <baseclass name="DataObjectSimple"/> | |
23373 | <constructor name="PyDataObjectSimple" overloaded="no"> | |
23374 | <autodoc>__init__(DataFormat format=FormatInvalid) -> PyDataObjectSimple</autodoc> | |
23375 | <paramlist> | |
23376 | <param name="format" type="DataFormat" default="wxFormatInvalid"/> | |
23377 | </paramlist> | |
23378 | </constructor> | |
23379 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
23380 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
23381 | <paramlist> | |
23382 | <param name="self" type="PyObject" default=""/> | |
23383 | <param name="_class" type="PyObject" default=""/> | |
23384 | </paramlist> | |
23385 | </method> | |
23386 | </class> | |
23387 | <class name="DataObjectComposite" oldname="wxDataObjectComposite" module="misc"> | |
23388 | <baseclass name="DataObject"/> | |
23389 | <constructor name="DataObjectComposite" overloaded="no"> | |
23390 | <autodoc>__init__() -> DataObjectComposite</autodoc> | |
23391 | </constructor> | |
23392 | <method name="Add" type="" overloaded="no"> | |
23393 | <autodoc>Add(DataObjectSimple dataObject, int preferred=False)</autodoc> | |
23394 | <paramlist> | |
23395 | <param name="dataObject" type="DataObjectSimple" default=""/> | |
23396 | <param name="preferred" type="int" default="False"/> | |
23397 | </paramlist> | |
23398 | </method> | |
23399 | </class> | |
23400 | <class name="TextDataObject" oldname="wxTextDataObject" module="misc"> | |
23401 | <baseclass name="DataObjectSimple"/> | |
23402 | <constructor name="TextDataObject" overloaded="no"> | |
23403 | <autodoc>__init__(String text=EmptyString) -> TextDataObject</autodoc> | |
23404 | <paramlist> | |
23405 | <param name="text" type="String" default="wxPyEmptyString"/> | |
23406 | </paramlist> | |
23407 | </constructor> | |
23408 | <method name="GetTextLength" type="size_t" overloaded="no"> | |
23409 | <autodoc>GetTextLength() -> size_t</autodoc> | |
23410 | </method> | |
23411 | <method name="GetText" type="String" overloaded="no"> | |
23412 | <autodoc>GetText() -> String</autodoc> | |
23413 | </method> | |
23414 | <method name="SetText" type="" overloaded="no"> | |
23415 | <autodoc>SetText(String text)</autodoc> | |
23416 | <paramlist> | |
23417 | <param name="text" type="String" default=""/> | |
23418 | </paramlist> | |
23419 | </method> | |
23420 | </class> | |
23421 | <class name="PyTextDataObject" oldname="wxPyTextDataObject" module="misc"> | |
23422 | <baseclass name="TextDataObject"/> | |
23423 | <constructor name="PyTextDataObject" overloaded="no"> | |
23424 | <autodoc>__init__(String text=EmptyString) -> PyTextDataObject</autodoc> | |
23425 | <paramlist> | |
23426 | <param name="text" type="String" default="wxPyEmptyString"/> | |
23427 | </paramlist> | |
23428 | </constructor> | |
23429 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
23430 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
23431 | <paramlist> | |
23432 | <param name="self" type="PyObject" default=""/> | |
23433 | <param name="_class" type="PyObject" default=""/> | |
23434 | </paramlist> | |
23435 | </method> | |
23436 | </class> | |
23437 | <class name="BitmapDataObject" oldname="wxBitmapDataObject" module="misc"> | |
23438 | <baseclass name="DataObjectSimple"/> | |
23439 | <constructor name="BitmapDataObject" overloaded="no"> | |
23440 | <autodoc>__init__(Bitmap bitmap=wxNullBitmap) -> BitmapDataObject</autodoc> | |
23441 | <paramlist> | |
23442 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
23443 | </paramlist> | |
23444 | </constructor> | |
23445 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
23446 | <autodoc>GetBitmap() -> Bitmap</autodoc> | |
23447 | </method> | |
23448 | <method name="SetBitmap" type="" overloaded="no"> | |
23449 | <autodoc>SetBitmap(Bitmap bitmap)</autodoc> | |
23450 | <paramlist> | |
23451 | <param name="bitmap" type="Bitmap" default=""/> | |
23452 | </paramlist> | |
23453 | </method> | |
23454 | </class> | |
23455 | <class name="PyBitmapDataObject" oldname="wxPyBitmapDataObject" module="misc"> | |
23456 | <baseclass name="BitmapDataObject"/> | |
23457 | <constructor name="PyBitmapDataObject" overloaded="no"> | |
23458 | <autodoc>__init__(Bitmap bitmap=wxNullBitmap) -> PyBitmapDataObject</autodoc> | |
23459 | <paramlist> | |
23460 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
23461 | </paramlist> | |
23462 | </constructor> | |
23463 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
23464 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
23465 | <paramlist> | |
23466 | <param name="self" type="PyObject" default=""/> | |
23467 | <param name="_class" type="PyObject" default=""/> | |
23468 | </paramlist> | |
23469 | </method> | |
23470 | </class> | |
23471 | <class name="FileDataObject" oldname="wxFileDataObject" module="misc"> | |
23472 | <baseclass name="DataObjectSimple"/> | |
23473 | <constructor name="FileDataObject" overloaded="no"> | |
23474 | <autodoc>__init__() -> FileDataObject</autodoc> | |
23475 | </constructor> | |
23476 | <method name="GetFilenames" type="wxArrayString" overloaded="no"> | |
23477 | <autodoc>GetFilenames() -> wxArrayString</autodoc> | |
23478 | </method> | |
c2dda882 RD |
23479 | <method name="AddFile" type="" overloaded="no"> |
23480 | <autodoc>AddFile(String filename)</autodoc> | |
23481 | <paramlist> | |
23482 | <param name="filename" type="String" default=""/> | |
23483 | </paramlist> | |
23484 | </method> | |
f32fc4bc RD |
23485 | </class> |
23486 | <class name="CustomDataObject" oldname="wxCustomDataObject" module="misc"> | |
23487 | <baseclass name="DataObjectSimple"/> | |
23488 | <constructor name="CustomDataObject" overloaded="no"> | |
23489 | <autodoc>__init__(DataFormat format=FormatInvalid) -> CustomDataObject</autodoc> | |
23490 | <paramlist> | |
23491 | <param name="format" type="DataFormat" default="wxFormatInvalid"/> | |
23492 | </paramlist> | |
23493 | </constructor> | |
23494 | <method name="TakeData" type="" overloaded="no"> | |
23495 | <autodoc>TakeData(PyObject data)</autodoc> | |
23496 | <paramlist> | |
23497 | <param name="data" type="PyObject" default=""/> | |
23498 | </paramlist> | |
23499 | </method> | |
23500 | <method name="SetData" type="bool" overloaded="no"> | |
23501 | <autodoc>SetData(PyObject data) -> bool</autodoc> | |
23502 | <paramlist> | |
23503 | <param name="data" type="PyObject" default=""/> | |
23504 | </paramlist> | |
23505 | </method> | |
23506 | <method name="GetSize" type="size_t" overloaded="no"> | |
23507 | <autodoc>GetSize() -> size_t</autodoc> | |
23508 | </method> | |
23509 | <method name="GetData" type="PyObject" overloaded="no"> | |
23510 | <autodoc>GetData() -> PyObject</autodoc> | |
23511 | </method> | |
23512 | </class> | |
23513 | <class name="URLDataObject" oldname="wxURLDataObject" module="misc"> | |
23514 | <baseclass name="DataObjectComposite"/> | |
23515 | <constructor name="URLDataObject" overloaded="no"> | |
23516 | <autodoc>__init__() -> URLDataObject</autodoc> | |
23517 | </constructor> | |
23518 | <method name="GetURL" type="String" overloaded="no"> | |
23519 | <autodoc>GetURL() -> String</autodoc> | |
23520 | </method> | |
23521 | <method name="SetURL" type="" overloaded="no"> | |
23522 | <autodoc>SetURL(String url)</autodoc> | |
23523 | <paramlist> | |
23524 | <param name="url" type="String" default=""/> | |
23525 | </paramlist> | |
23526 | </method> | |
23527 | </class> | |
23528 | <class name="MetafileDataObject" oldname="wxMetafileDataObject" module="misc"> | |
23529 | <baseclass name="DataObjectSimple"/> | |
23530 | <constructor name="MetafileDataObject" overloaded="no"> | |
23531 | <autodoc>__init__() -> MetafileDataObject</autodoc> | |
23532 | </constructor> | |
23533 | </class> | |
23534 | <pythoncode> | |
23535 | #--------------------------------------------------------------------------- | |
23536 | </pythoncode> | |
23537 | <method name="IsDragResultOk" oldname="wxIsDragResultOk" type="bool" overloaded="no"> | |
23538 | <autodoc>IsDragResultOk(int res) -> bool</autodoc> | |
856bf319 | 23539 | <paramlist> |
f32fc4bc | 23540 | <param name="res" type="wxDragResult" default=""/> |
856bf319 RD |
23541 | </paramlist> |
23542 | </method> | |
f32fc4bc RD |
23543 | <class name="DropSource" oldname="wxPyDropSource" module="misc"> |
23544 | <constructor name="wxPyDropSource" overloaded="no"> | |
23545 | <autodoc>__init__(Window win, Icon copy=wxNullIcon, Icon move=wxNullIcon, | |
23546 | Icon none=wxNullIcon) -> DropSource</autodoc> | |
23547 | <paramlist> | |
23548 | <param name="win" type="Window" default=""/> | |
23549 | <param name="copy" type="Icon" default="wxNullIcon"/> | |
23550 | <param name="move" type="Icon" default="wxNullIcon"/> | |
23551 | <param name="none" type="Icon" default="wxNullIcon"/> | |
23552 | </paramlist> | |
23553 | </constructor> | |
23554 | <destructor name="~wxPyDropSource" overloaded="no"> | |
23555 | <autodoc>__del__()</autodoc> | |
23556 | </destructor> | |
23557 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
23558 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class, int incref)</autodoc> | |
23559 | <paramlist> | |
23560 | <param name="self" type="PyObject" default=""/> | |
23561 | <param name="_class" type="PyObject" default=""/> | |
23562 | <param name="incref" type="int" default=""/> | |
23563 | </paramlist> | |
23564 | </method> | |
23565 | <method name="SetData" type="" overloaded="no"> | |
23566 | <autodoc>SetData(DataObject data)</autodoc> | |
23567 | <paramlist> | |
23568 | <param name="data" type="DataObject" default=""/> | |
23569 | </paramlist> | |
23570 | </method> | |
23571 | <method name="GetDataObject" type="DataObject" overloaded="no"> | |
23572 | <autodoc>GetDataObject() -> DataObject</autodoc> | |
23573 | </method> | |
23574 | <method name="SetCursor" type="" overloaded="no"> | |
23575 | <autodoc>SetCursor(int res, Cursor cursor)</autodoc> | |
23576 | <paramlist> | |
23577 | <param name="res" type="wxDragResult" default=""/> | |
23578 | <param name="cursor" type="Cursor" default=""/> | |
23579 | </paramlist> | |
23580 | </method> | |
23581 | <method name="DoDragDrop" type="wxDragResult" overloaded="no"> | |
23582 | <autodoc>DoDragDrop(int flags=Drag_CopyOnly) -> int</autodoc> | |
23583 | <paramlist> | |
23584 | <param name="flags" type="int" default="wxDrag_CopyOnly"/> | |
23585 | </paramlist> | |
23586 | </method> | |
23587 | <method name="base_GiveFeedback" type="bool" overloaded="no"> | |
23588 | <autodoc>base_GiveFeedback(int effect) -> bool</autodoc> | |
23589 | <paramlist> | |
23590 | <param name="effect" type="wxDragResult" default=""/> | |
23591 | </paramlist> | |
23592 | </method> | |
23593 | </class> | |
23594 | <class name="DropTarget" oldname="wxPyDropTarget" module="misc"> | |
c2dda882 RD |
23595 | <constructor name="DropTarget" overloaded="no"> |
23596 | <autodoc>__init__(DataObject dataObject=None) -> DropTarget</autodoc> | |
f32fc4bc RD |
23597 | <paramlist> |
23598 | <param name="dataObject" type="DataObject" default="NULL"/> | |
23599 | </paramlist> | |
23600 | </constructor> | |
23601 | <destructor name="~wxPyDropTarget" overloaded="no"> | |
23602 | <autodoc>__del__()</autodoc> | |
23603 | </destructor> | |
23604 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
23605 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
23606 | <paramlist> | |
23607 | <param name="self" type="PyObject" default=""/> | |
23608 | <param name="_class" type="PyObject" default=""/> | |
23609 | </paramlist> | |
23610 | </method> | |
23611 | <method name="GetDataObject" type="DataObject" overloaded="no"> | |
23612 | <autodoc>GetDataObject() -> DataObject</autodoc> | |
23613 | </method> | |
23614 | <method name="SetDataObject" type="" overloaded="no"> | |
23615 | <autodoc>SetDataObject(DataObject dataObject)</autodoc> | |
23616 | <paramlist> | |
23617 | <param name="dataObject" type="DataObject" default=""/> | |
23618 | </paramlist> | |
23619 | </method> | |
23620 | <method name="base_OnEnter" type="wxDragResult" overloaded="no"> | |
23621 | <autodoc>base_OnEnter(int x, int y, int def) -> int</autodoc> | |
23622 | <paramlist> | |
23623 | <param name="x" type="int" default=""/> | |
23624 | <param name="y" type="int" default=""/> | |
23625 | <param name="def" type="wxDragResult" default=""/> | |
23626 | </paramlist> | |
23627 | </method> | |
23628 | <method name="base_OnDragOver" type="wxDragResult" overloaded="no"> | |
23629 | <autodoc>base_OnDragOver(int x, int y, int def) -> int</autodoc> | |
23630 | <paramlist> | |
23631 | <param name="x" type="int" default=""/> | |
23632 | <param name="y" type="int" default=""/> | |
23633 | <param name="def" type="wxDragResult" default=""/> | |
23634 | </paramlist> | |
23635 | </method> | |
23636 | <method name="base_OnLeave" type="" overloaded="no"> | |
23637 | <autodoc>base_OnLeave()</autodoc> | |
23638 | </method> | |
23639 | <method name="base_OnDrop" type="bool" overloaded="no"> | |
23640 | <autodoc>base_OnDrop(int x, int y) -> bool</autodoc> | |
23641 | <paramlist> | |
23642 | <param name="x" type="int" default=""/> | |
23643 | <param name="y" type="int" default=""/> | |
23644 | </paramlist> | |
23645 | </method> | |
23646 | <method name="GetData" type="bool" overloaded="no"> | |
23647 | <autodoc>GetData() -> bool</autodoc> | |
23648 | </method> | |
23649 | </class> | |
23650 | <pythoncode> PyDropTarget = DropTarget </pythoncode> | |
23651 | <class name="TextDropTarget" oldname="wxPyTextDropTarget" module="misc"> | |
23652 | <baseclass name="DropTarget"/> | |
23653 | <constructor name="wxPyTextDropTarget" overloaded="no"> | |
23654 | <autodoc>__init__() -> TextDropTarget</autodoc> | |
23655 | </constructor> | |
23656 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
23657 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
23658 | <paramlist> | |
23659 | <param name="self" type="PyObject" default=""/> | |
23660 | <param name="_class" type="PyObject" default=""/> | |
23661 | </paramlist> | |
23662 | </method> | |
23663 | <method name="base_OnEnter" type="wxDragResult" overloaded="no"> | |
23664 | <autodoc>base_OnEnter(int x, int y, int def) -> int</autodoc> | |
23665 | <paramlist> | |
23666 | <param name="x" type="int" default=""/> | |
23667 | <param name="y" type="int" default=""/> | |
23668 | <param name="def" type="wxDragResult" default=""/> | |
23669 | </paramlist> | |
23670 | </method> | |
23671 | <method name="base_OnDragOver" type="wxDragResult" overloaded="no"> | |
23672 | <autodoc>base_OnDragOver(int x, int y, int def) -> int</autodoc> | |
23673 | <paramlist> | |
23674 | <param name="x" type="int" default=""/> | |
23675 | <param name="y" type="int" default=""/> | |
23676 | <param name="def" type="wxDragResult" default=""/> | |
23677 | </paramlist> | |
23678 | </method> | |
23679 | <method name="base_OnLeave" type="" overloaded="no"> | |
23680 | <autodoc>base_OnLeave()</autodoc> | |
23681 | </method> | |
23682 | <method name="base_OnDrop" type="bool" overloaded="no"> | |
23683 | <autodoc>base_OnDrop(int x, int y) -> bool</autodoc> | |
23684 | <paramlist> | |
23685 | <param name="x" type="int" default=""/> | |
23686 | <param name="y" type="int" default=""/> | |
23687 | </paramlist> | |
23688 | </method> | |
23689 | <method name="base_OnData" type="wxDragResult" overloaded="no"> | |
23690 | <autodoc>base_OnData(int x, int y, int def) -> int</autodoc> | |
23691 | <paramlist> | |
23692 | <param name="x" type="int" default=""/> | |
23693 | <param name="y" type="int" default=""/> | |
23694 | <param name="def" type="wxDragResult" default=""/> | |
23695 | </paramlist> | |
23696 | </method> | |
23697 | </class> | |
23698 | <class name="FileDropTarget" oldname="wxPyFileDropTarget" module="misc"> | |
23699 | <baseclass name="DropTarget"/> | |
23700 | <constructor name="wxPyFileDropTarget" overloaded="no"> | |
23701 | <autodoc>__init__() -> FileDropTarget</autodoc> | |
23702 | </constructor> | |
23703 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
23704 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
23705 | <paramlist> | |
23706 | <param name="self" type="PyObject" default=""/> | |
23707 | <param name="_class" type="PyObject" default=""/> | |
23708 | </paramlist> | |
23709 | </method> | |
23710 | <method name="base_OnEnter" type="wxDragResult" overloaded="no"> | |
23711 | <autodoc>base_OnEnter(int x, int y, int def) -> int</autodoc> | |
23712 | <paramlist> | |
23713 | <param name="x" type="int" default=""/> | |
23714 | <param name="y" type="int" default=""/> | |
23715 | <param name="def" type="wxDragResult" default=""/> | |
23716 | </paramlist> | |
23717 | </method> | |
23718 | <method name="base_OnDragOver" type="wxDragResult" overloaded="no"> | |
23719 | <autodoc>base_OnDragOver(int x, int y, int def) -> int</autodoc> | |
23720 | <paramlist> | |
23721 | <param name="x" type="int" default=""/> | |
23722 | <param name="y" type="int" default=""/> | |
23723 | <param name="def" type="wxDragResult" default=""/> | |
23724 | </paramlist> | |
23725 | </method> | |
23726 | <method name="base_OnLeave" type="" overloaded="no"> | |
23727 | <autodoc>base_OnLeave()</autodoc> | |
23728 | </method> | |
23729 | <method name="base_OnDrop" type="bool" overloaded="no"> | |
23730 | <autodoc>base_OnDrop(int x, int y) -> bool</autodoc> | |
23731 | <paramlist> | |
23732 | <param name="x" type="int" default=""/> | |
23733 | <param name="y" type="int" default=""/> | |
23734 | </paramlist> | |
23735 | </method> | |
23736 | <method name="base_OnData" type="wxDragResult" overloaded="no"> | |
23737 | <autodoc>base_OnData(int x, int y, int def) -> int</autodoc> | |
23738 | <paramlist> | |
23739 | <param name="x" type="int" default=""/> | |
23740 | <param name="y" type="int" default=""/> | |
23741 | <param name="def" type="wxDragResult" default=""/> | |
23742 | </paramlist> | |
23743 | </method> | |
23744 | </class> | |
0dd25e81 | 23745 | <pythoncode> |
f32fc4bc RD |
23746 | #--------------------------------------------------------------------------- |
23747 | </pythoncode> | |
23748 | <class name="Clipboard" oldname="wxClipboard" module="misc"> | |
c2dda882 RD |
23749 | <docstring>wx.Clipboard represents the system clipboard and provides methods to copy data |
23750 | to or paste data from it. Normally, you should only use wx.TheClipboard which | |
23751 | is a reference to a global wx.Clipboard instance. | |
23752 | ||
23753 | Call wx.TheClipboard.Open to get ownership of the clipboard. If this operation | |
23754 | returns True, you now own the clipboard. Call wx.TheClipboard.SetData to put | |
23755 | data on the clipboard, or wx.TheClipboard.GetData to retrieve data from the | |
23756 | clipboard. Call wx.TheClipboard.Close to close the clipboard and relinquish | |
23757 | ownership. You should keep the clipboard open only momentarily. | |
23758 | </docstring> | |
f32fc4bc RD |
23759 | <baseclass name="Object"/> |
23760 | <constructor name="Clipboard" overloaded="no"> | |
23761 | <autodoc>__init__() -> Clipboard</autodoc> | |
23762 | </constructor> | |
23763 | <destructor name="~wxClipboard" overloaded="no"> | |
23764 | <autodoc>__del__()</autodoc> | |
23765 | </destructor> | |
23766 | <method name="Open" type="bool" overloaded="no"> | |
23767 | <autodoc>Open() -> bool</autodoc> | |
c2dda882 RD |
23768 | <docstring>Call this function to open the clipboard before calling SetData |
23769 | and GetData. Call Close when you have finished with the clipboard. | |
23770 | You should keep the clipboard open for only a very short time. | |
23771 | Returns true on success. </docstring> | |
f32fc4bc RD |
23772 | </method> |
23773 | <method name="Close" type="" overloaded="no"> | |
23774 | <autodoc>Close()</autodoc> | |
c2dda882 | 23775 | <docstring>Closes the clipboard.</docstring> |
f32fc4bc RD |
23776 | </method> |
23777 | <method name="IsOpened" type="bool" overloaded="no"> | |
23778 | <autodoc>IsOpened() -> bool</autodoc> | |
c2dda882 | 23779 | <docstring>Query whether the clipboard is opened</docstring> |
f32fc4bc RD |
23780 | </method> |
23781 | <method name="AddData" type="bool" overloaded="no"> | |
23782 | <autodoc>AddData(DataObject data) -> bool</autodoc> | |
c2dda882 RD |
23783 | <docstring>Call this function to add the data object to the clipboard. You |
23784 | may call this function repeatedly after having cleared the clipboard. | |
23785 | After this function has been called, the clipboard owns the data, so | |
23786 | do not delete the data explicitly.</docstring> | |
f32fc4bc RD |
23787 | <paramlist> |
23788 | <param name="data" type="DataObject" default=""/> | |
23789 | </paramlist> | |
23790 | </method> | |
23791 | <method name="SetData" type="bool" overloaded="no"> | |
23792 | <autodoc>SetData(DataObject data) -> bool</autodoc> | |
c2dda882 | 23793 | <docstring>Set the clipboard data, this is the same as Clear followed by AddData.</docstring> |
f32fc4bc RD |
23794 | <paramlist> |
23795 | <param name="data" type="DataObject" default=""/> | |
23796 | </paramlist> | |
23797 | </method> | |
23798 | <method name="IsSupported" type="bool" overloaded="no"> | |
23799 | <autodoc>IsSupported(DataFormat format) -> bool</autodoc> | |
c2dda882 RD |
23800 | <docstring>Returns True if the given format is available in the data object(s) on |
23801 | the clipboard.</docstring> | |
f32fc4bc RD |
23802 | <paramlist> |
23803 | <param name="format" type="DataFormat" default=""/> | |
23804 | </paramlist> | |
23805 | </method> | |
23806 | <method name="GetData" type="bool" overloaded="no"> | |
23807 | <autodoc>GetData(DataObject data) -> bool</autodoc> | |
c2dda882 RD |
23808 | <docstring>Call this function to fill data with data on the clipboard, if available |
23809 | in the required format. Returns true on success.</docstring> | |
f32fc4bc RD |
23810 | <paramlist> |
23811 | <param name="data" type="DataObject" default=""/> | |
23812 | </paramlist> | |
23813 | </method> | |
23814 | <method name="Clear" type="" overloaded="no"> | |
23815 | <autodoc>Clear()</autodoc> | |
c2dda882 RD |
23816 | <docstring>Clears data from the clipboard object and also the system's clipboard |
23817 | if possible.</docstring> | |
f32fc4bc RD |
23818 | </method> |
23819 | <method name="Flush" type="bool" overloaded="no"> | |
23820 | <autodoc>Flush() -> bool</autodoc> | |
c2dda882 RD |
23821 | <docstring>Flushes the clipboard: this means that the data which is currently on |
23822 | clipboard will stay available even after the application exits (possibly | |
23823 | eating memory), otherwise the clipboard will be emptied on exit. | |
23824 | Returns False if the operation is unsuccesful for any reason.</docstring> | |
f32fc4bc RD |
23825 | </method> |
23826 | <method name="UsePrimarySelection" type="" overloaded="no"> | |
c2dda882 RD |
23827 | <autodoc>UsePrimarySelection(bool primary=True)</autodoc> |
23828 | <docstring>On platforms supporting it (the X11 based platforms), selects the so | |
23829 | called PRIMARY SELECTION as the clipboard as opposed to the normal | |
23830 | clipboard, if primary is True.</docstring> | |
f32fc4bc | 23831 | <paramlist> |
c2dda882 | 23832 | <param name="primary" type="bool" default="True"/> |
f32fc4bc RD |
23833 | </paramlist> |
23834 | </method> | |
23835 | </class> | |
23836 | <class name="ClipboardLocker" oldname="wxClipboardLocker" module="misc"> | |
c2dda882 RD |
23837 | <docstring>A helpful class for opening the clipboard and automatically closing it when |
23838 | the locker is destroyed.</docstring> | |
f32fc4bc RD |
23839 | <constructor name="ClipboardLocker" overloaded="no"> |
23840 | <autodoc>__init__(Clipboard clipboard=None) -> ClipboardLocker</autodoc> | |
c2dda882 RD |
23841 | <docstring>A helpful class for opening the clipboard and automatically closing it when |
23842 | the locker is destroyed.</docstring> | |
f32fc4bc RD |
23843 | <paramlist> |
23844 | <param name="clipboard" type="Clipboard" default="NULL"/> | |
23845 | </paramlist> | |
23846 | </constructor> | |
23847 | <destructor name="~wxClipboardLocker" overloaded="no"> | |
23848 | <autodoc>__del__()</autodoc> | |
23849 | </destructor> | |
23850 | <method name="__nonzero__" type="bool" overloaded="no"> | |
23851 | <autodoc>__nonzero__() -> bool</autodoc> | |
c2dda882 RD |
23852 | <docstring>A ClipboardLocker instance evaluates to True if the clipboard was |
23853 | successfully opened.</docstring> | |
f32fc4bc RD |
23854 | </method> |
23855 | </class> | |
b39e211b RD |
23856 | <pythoncode> |
23857 | #--------------------------------------------------------------------------- | |
23858 | </pythoncode> | |
23859 | <class name="VideoMode" oldname="wxVideoMode" module="misc"> | |
23860 | <docstring>A simple struct containing video mode parameters for a display</docstring> | |
23861 | <constructor name="VideoMode" overloaded="no"> | |
23862 | <autodoc>__init__(int width=0, int height=0, int depth=0, int freq=0) -> VideoMode</autodoc> | |
23863 | <docstring>A simple struct containing video mode parameters for a display</docstring> | |
23864 | <paramlist> | |
23865 | <param name="width" type="int" default="0"/> | |
23866 | <param name="height" type="int" default="0"/> | |
23867 | <param name="depth" type="int" default="0"/> | |
23868 | <param name="freq" type="int" default="0"/> | |
23869 | </paramlist> | |
23870 | </constructor> | |
23871 | <destructor name="~wxVideoMode" overloaded="no"> | |
23872 | <autodoc>__del__()</autodoc> | |
23873 | </destructor> | |
23874 | <method name="Matches" type="bool" overloaded="no"> | |
23875 | <autodoc>Matches(VideoMode other) -> bool</autodoc> | |
23876 | <docstring>Returns true if this mode matches the other one in the sense that | |
23877 | all non zero fields of the other mode have the same value in this | |
23878 | one (except for refresh which is allowed to have a greater value)</docstring> | |
23879 | <paramlist> | |
23880 | <param name="other" type="VideoMode" default=""/> | |
23881 | </paramlist> | |
23882 | </method> | |
23883 | <method name="GetWidth" type="int" overloaded="no"> | |
23884 | <autodoc>GetWidth() -> int</autodoc> | |
23885 | <docstring>Returns the screen width in pixels (e.g. 640*480), 0 means | |
23886 | unspecified</docstring> | |
23887 | </method> | |
23888 | <method name="GetHeight" type="int" overloaded="no"> | |
23889 | <autodoc>GetHeight() -> int</autodoc> | |
23890 | <docstring>Returns the screen width in pixels (e.g. 640*480), 0 means | |
23891 | unspecified</docstring> | |
23892 | </method> | |
23893 | <method name="GetDepth" type="int" overloaded="no"> | |
23894 | <autodoc>GetDepth() -> int</autodoc> | |
23895 | <docstring>Returns the screen's bits per pixel (e.g. 32), 1 is monochrome | |
23896 | and 0 means unspecified/known</docstring> | |
23897 | </method> | |
23898 | <method name="IsOk" type="bool" overloaded="no"> | |
23899 | <autodoc>IsOk() -> bool</autodoc> | |
23900 | <docstring>returns true if the object has been initialized</docstring> | |
23901 | </method> | |
23902 | <method name="__eq__" type="bool" overloaded="no"> | |
23903 | <autodoc>__eq__(VideoMode other) -> bool</autodoc> | |
23904 | <paramlist> | |
23905 | <param name="other" type="VideoMode" default=""/> | |
23906 | </paramlist> | |
23907 | </method> | |
23908 | <method name="__ne__" type="bool" overloaded="no"> | |
23909 | <autodoc>__ne__(VideoMode other) -> bool</autodoc> | |
23910 | <paramlist> | |
23911 | <param name="other" type="VideoMode" default=""/> | |
23912 | </paramlist> | |
23913 | </method> | |
23914 | <property name="w" type="int" readonly="no"/> | |
23915 | <property name="h" type="int" readonly="no"/> | |
23916 | <property name="bpp" type="int" readonly="no"/> | |
23917 | <property name="refresh" type="int" readonly="no"/> | |
23918 | </class> | |
23919 | <class name="Display" oldname="wxDisplay" module="misc"> | |
23920 | <docstring>Represents a display/monitor attached to the system</docstring> | |
23921 | <constructor name="Display" overloaded="no"> | |
23922 | <autodoc>__init__(size_t index=0) -> Display</autodoc> | |
23923 | <docstring>Set up a Display instance with the specified display. The | |
23924 | displays are numbered from 0 to GetCount() - 1, 0 is always the | |
23925 | primary display and the only one which is always supported</docstring> | |
23926 | <paramlist> | |
23927 | <param name="index" type="size_t" default="0"/> | |
23928 | </paramlist> | |
23929 | </constructor> | |
23930 | <destructor name="~wxDisplay" overloaded="no"> | |
23931 | <autodoc>__del__()</autodoc> | |
23932 | </destructor> | |
23933 | <staticmethod name="GetCount" type="size_t" overloaded="no"> | |
23934 | <autodoc>GetCount() -> size_t</autodoc> | |
23935 | <docstring>Return the number of available displays.</docstring> | |
23936 | </staticmethod> | |
23937 | <staticmethod name="GetFromPoint" type="int" overloaded="no"> | |
23938 | <autodoc>GetFromPoint(Point pt) -> int</autodoc> | |
23939 | <docstring>Find the display where the given point lies, return wx.NOT_FOUND | |
23940 | if it doesn't belong to any display</docstring> | |
23941 | <paramlist> | |
23942 | <param name="pt" type="Point" default=""/> | |
23943 | </paramlist> | |
23944 | </staticmethod> | |
23945 | <staticmethod name="GetFromWindow" type="int" overloaded="no"> | |
23946 | <autodoc>GetFromWindow(Window window) -> int</autodoc> | |
23947 | <docstring>Find the display where the given window lies, return wx.NOT_FOUND | |
23948 | if it is not shown at all.</docstring> | |
23949 | <paramlist> | |
23950 | <param name="window" type="Window" default=""/> | |
23951 | </paramlist> | |
23952 | </staticmethod> | |
23953 | <method name="IsOk" type="bool" overloaded="no"> | |
23954 | <autodoc>IsOk() -> bool</autodoc> | |
23955 | <docstring>Return true if the object was initialized successfully</docstring> | |
23956 | </method> | |
23957 | <method name="GetGeometry" type="Rect" overloaded="no"> | |
23958 | <autodoc>GetGeometry() -> Rect</autodoc> | |
23959 | <docstring>Returns the bounding rectangle of the display whose index was | |
23960 | passed to the constructor.</docstring> | |
23961 | </method> | |
23962 | <method name="GetName" type="String" overloaded="no"> | |
23963 | <autodoc>GetName() -> String</autodoc> | |
23964 | <docstring>Returns the display's name. A name is not available on all platforms.</docstring> | |
23965 | </method> | |
23966 | <method name="IsPrimary" type="bool" overloaded="no"> | |
23967 | <autodoc>IsPrimary() -> bool</autodoc> | |
23968 | <docstring>Returns true if the display is the primary display. The primary | |
23969 | display is the one whose index is 0.</docstring> | |
23970 | </method> | |
23971 | <method name="GetModes" type="PyObject" overloaded="no"> | |
23972 | <autodoc>GetModes(VideoMode mode=DefaultVideoMode) -> [videoMode...]</autodoc> | |
23973 | <docstring>Enumerate all video modes supported by this display matching the | |
23974 | given one (in the sense of VideoMode.Match()). | |
23975 | ||
23976 | As any mode matches the default value of the argument and there | |
23977 | is always at least one video mode supported by display, the | |
23978 | returned array is only empty for the default value of the | |
23979 | argument if this function is not supported at all on this | |
23980 | platform.</docstring> | |
23981 | <paramlist> | |
23982 | <param name="mode" type="VideoMode" default="wxDefaultVideoMode"/> | |
23983 | </paramlist> | |
23984 | </method> | |
23985 | <method name="GetCurrentMode" type="VideoMode" overloaded="no"> | |
23986 | <autodoc>GetCurrentMode() -> VideoMode</autodoc> | |
23987 | <docstring>Get the current video mode.</docstring> | |
23988 | </method> | |
23989 | <method name="ChangeMode" type="bool" overloaded="no"> | |
23990 | <autodoc>ChangeMode(VideoMode mode=DefaultVideoMode) -> bool</autodoc> | |
23991 | <docstring>Change current mode, return true if succeeded, false otherwise</docstring> | |
23992 | <paramlist> | |
23993 | <param name="mode" type="VideoMode" default="wxDefaultVideoMode"/> | |
23994 | </paramlist> | |
23995 | </method> | |
23996 | <method name="ResetMode" type="" overloaded="no"> | |
23997 | <autodoc>ResetMode()</autodoc> | |
23998 | <docstring>Restore the default video mode (just a more readable synonym)</docstring> | |
23999 | </method> | |
24000 | </class> | |
f32fc4bc RD |
24001 | </module> |
24002 | <module name="calendar"> | |
24003 | <import name="misc"/> | |
24004 | <pythoncode> wx = core </pythoncode> | |
24005 | <class name="CalendarDateAttr" oldname="wxCalendarDateAttr" module="calendar"> | |
24006 | <docstring>A set of customization attributes for a calendar date, which can be used to | |
24007 | control the look of the Calendar object.</docstring> | |
24008 | <constructor name="CalendarDateAttr" overloaded="no"> | |
24009 | <autodoc>__init__(Colour colText=wxNullColour, Colour colBack=wxNullColour, | |
24010 | Colour colBorder=wxNullColour, Font font=wxNullFont, | |
24011 | int border=CAL_BORDER_NONE) -> CalendarDateAttr</autodoc> | |
24012 | <docstring>Create a CalendarDateAttr.</docstring> | |
24013 | <paramlist> | |
24014 | <param name="colText" type="Colour" default="wxNullColour"/> | |
24015 | <param name="colBack" type="Colour" default="wxNullColour"/> | |
24016 | <param name="colBorder" type="Colour" default="wxNullColour"/> | |
24017 | <param name="font" type="Font" default="wxNullFont"/> | |
24018 | <param name="border" type="wxCalendarDateBorder" default="wxCAL_BORDER_NONE"/> | |
24019 | </paramlist> | |
24020 | </constructor> | |
24021 | <method name="SetTextColour" type="" overloaded="no"> | |
24022 | <autodoc>SetTextColour(Colour colText)</autodoc> | |
24023 | <paramlist> | |
24024 | <param name="colText" type="Colour" default=""/> | |
24025 | </paramlist> | |
24026 | </method> | |
24027 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
24028 | <autodoc>SetBackgroundColour(Colour colBack)</autodoc> | |
24029 | <paramlist> | |
24030 | <param name="colBack" type="Colour" default=""/> | |
24031 | </paramlist> | |
24032 | </method> | |
24033 | <method name="SetBorderColour" type="" overloaded="no"> | |
24034 | <autodoc>SetBorderColour(Colour col)</autodoc> | |
24035 | <paramlist> | |
24036 | <param name="col" type="Colour" default=""/> | |
24037 | </paramlist> | |
24038 | </method> | |
24039 | <method name="SetFont" type="" overloaded="no"> | |
24040 | <autodoc>SetFont(Font font)</autodoc> | |
24041 | <paramlist> | |
24042 | <param name="font" type="Font" default=""/> | |
24043 | </paramlist> | |
24044 | </method> | |
24045 | <method name="SetBorder" type="" overloaded="no"> | |
24046 | <autodoc>SetBorder(int border)</autodoc> | |
24047 | <paramlist> | |
24048 | <param name="border" type="wxCalendarDateBorder" default=""/> | |
24049 | </paramlist> | |
24050 | </method> | |
24051 | <method name="SetHoliday" type="" overloaded="no"> | |
24052 | <autodoc>SetHoliday(bool holiday)</autodoc> | |
24053 | <paramlist> | |
24054 | <param name="holiday" type="bool" default=""/> | |
24055 | </paramlist> | |
24056 | </method> | |
24057 | <method name="HasTextColour" type="bool" overloaded="no"> | |
24058 | <autodoc>HasTextColour() -> bool</autodoc> | |
24059 | </method> | |
24060 | <method name="HasBackgroundColour" type="bool" overloaded="no"> | |
24061 | <autodoc>HasBackgroundColour() -> bool</autodoc> | |
24062 | </method> | |
24063 | <method name="HasBorderColour" type="bool" overloaded="no"> | |
24064 | <autodoc>HasBorderColour() -> bool</autodoc> | |
24065 | </method> | |
24066 | <method name="HasFont" type="bool" overloaded="no"> | |
24067 | <autodoc>HasFont() -> bool</autodoc> | |
24068 | </method> | |
24069 | <method name="HasBorder" type="bool" overloaded="no"> | |
24070 | <autodoc>HasBorder() -> bool</autodoc> | |
24071 | </method> | |
24072 | <method name="IsHoliday" type="bool" overloaded="no"> | |
24073 | <autodoc>IsHoliday() -> bool</autodoc> | |
24074 | </method> | |
24075 | <method name="GetTextColour" type="Colour" overloaded="no"> | |
24076 | <autodoc>GetTextColour() -> Colour</autodoc> | |
24077 | </method> | |
24078 | <method name="GetBackgroundColour" type="Colour" overloaded="no"> | |
24079 | <autodoc>GetBackgroundColour() -> Colour</autodoc> | |
24080 | </method> | |
24081 | <method name="GetBorderColour" type="Colour" overloaded="no"> | |
24082 | <autodoc>GetBorderColour() -> Colour</autodoc> | |
24083 | </method> | |
24084 | <method name="GetFont" type="Font" overloaded="no"> | |
24085 | <autodoc>GetFont() -> Font</autodoc> | |
24086 | </method> | |
24087 | <method name="GetBorder" type="wxCalendarDateBorder" overloaded="no"> | |
24088 | <autodoc>GetBorder() -> int</autodoc> | |
24089 | </method> | |
24090 | </class> | |
24091 | <class name="CalendarEvent" oldname="wxCalendarEvent" module="calendar"> | |
24092 | <baseclass name="CommandEvent"/> | |
24093 | <constructor name="CalendarEvent" overloaded="no"> | |
24094 | <autodoc>__init__(CalendarCtrl cal, wxEventType type) -> CalendarEvent</autodoc> | |
24095 | <paramlist> | |
24096 | <param name="cal" type="wxCalendarCtrl" default=""/> | |
24097 | <param name="type" type="wxEventType" default=""/> | |
24098 | </paramlist> | |
24099 | </constructor> | |
24100 | <method name="GetDate" type="DateTime" overloaded="no"> | |
24101 | <autodoc>GetDate() -> DateTime</autodoc> | |
24102 | </method> | |
24103 | <method name="SetDate" type="" overloaded="no"> | |
24104 | <autodoc>SetDate(DateTime date)</autodoc> | |
24105 | <paramlist> | |
24106 | <param name="date" type="DateTime" default=""/> | |
24107 | </paramlist> | |
24108 | </method> | |
24109 | <method name="SetWeekDay" type="" overloaded="no"> | |
24110 | <autodoc>SetWeekDay(int wd)</autodoc> | |
24111 | <paramlist> | |
24112 | <param name="wd" type="wxDateTime::WeekDay" default=""/> | |
24113 | </paramlist> | |
24114 | </method> | |
24115 | <method name="GetWeekDay" type="wxDateTime::WeekDay" overloaded="no"> | |
24116 | <autodoc>GetWeekDay() -> int</autodoc> | |
24117 | </method> | |
24118 | </class> | |
24119 | <pythoncode> | |
24120 | EVT_CALENDAR = wx.PyEventBinder( wxEVT_CALENDAR_DOUBLECLICKED, 1) | |
24121 | EVT_CALENDAR_SEL_CHANGED = wx.PyEventBinder( wxEVT_CALENDAR_SEL_CHANGED, 1) | |
24122 | EVT_CALENDAR_DAY = wx.PyEventBinder( wxEVT_CALENDAR_DAY_CHANGED, 1) | |
24123 | EVT_CALENDAR_MONTH = wx.PyEventBinder( wxEVT_CALENDAR_MONTH_CHANGED, 1) | |
24124 | EVT_CALENDAR_YEAR = wx.PyEventBinder( wxEVT_CALENDAR_YEAR_CHANGED, 1) | |
24125 | EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, 1) | |
24126 | </pythoncode> | |
24127 | <class name="CalendarCtrl" oldname="wxCalendarCtrl" module="calendar"> | |
24128 | <docstring>The calendar control allows the user to pick a date interactively.</docstring> | |
24129 | <refdoc>The CalendarCtrl displays a window containing several parts: the control to | |
24130 | pick the month and the year at the top (either or both of them may be | |
24131 | disabled) and a month area below them which shows all the days in the | |
24132 | month. The user can move the current selection using the keyboard and select | |
24133 | the date (generating EVT_CALENDAR event) by pressing <Return> or double | |
24134 | clicking it. | |
0f43fbdf | 24135 | |
f32fc4bc RD |
24136 | It has advanced possibilities for the customization of its display. All global |
24137 | settings (such as colours and fonts used) can, of course, be changed. But | |
24138 | also, the display style for each day in the month can be set independently | |
24139 | using CalendarDateAttr class. | |
856bf319 | 24140 | |
f32fc4bc RD |
24141 | An item without custom attributes is drawn with the default colours and font |
24142 | and without border, but setting custom attributes with SetAttr allows to | |
24143 | modify its appearance. Just create a custom attribute object and set it for | |
24144 | the day you want to be displayed specially A day may be marked as being a | |
24145 | holiday, (even if it is not recognized as one by wx.DateTime) by using the | |
24146 | SetHoliday method. | |
856bf319 | 24147 | |
f32fc4bc RD |
24148 | As the attributes are specified for each day, they may change when the month |
24149 | is changed, so you will often want to update them in an EVT_CALENDAR_MONTH | |
24150 | event handler. | |
856bf319 | 24151 | |
f32fc4bc RD |
24152 | Styles |
24153 | CAL_SUNDAY_FIRST: Show Sunday as the first day in the week | |
24154 | CAL_MONDAY_FIRST: Show Monday as the first day in the week | |
24155 | CAL_SHOW_HOLIDAYS: Highlight holidays in the calendar | |
24156 | CAL_NO_YEAR_CHANGE: Disable the year changing | |
24157 | CAL_NO_MONTH_CHANGE: Disable the month (and, implicitly, the year) changing | |
24158 | CAL_SHOW_SURROUNDING_WEEKS: Show the neighbouring weeks in the previous and next months | |
24159 | CAL_SEQUENTIAL_MONTH_SELECTION: Use alternative, more compact, style for the month and year selection controls. | |
856bf319 | 24160 | |
f32fc4bc | 24161 | The default calendar style is wxCAL_SHOW_HOLIDAYS. |
856bf319 | 24162 | |
f32fc4bc RD |
24163 | Events |
24164 | EVT_CALENDAR: A day was double clicked in the calendar. | |
24165 | EVT_CALENDAR_SEL_CHANGED: The selected date changed. | |
24166 | EVT_CALENDAR_DAY: The selected day changed. | |
24167 | EVT_CALENDAR_MONTH: The selected month changed. | |
24168 | EVT_CALENDAR_YEAR: The selected year changed. | |
24169 | EVT_CALENDAR_WEEKDAY_CLICKED: User clicked on the week day header | |
856bf319 | 24170 | |
f32fc4bc RD |
24171 | Note that changing the selected date will result in either of |
24172 | EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED event. | |
24173 | ||
24174 | </refdoc> | |
24175 | <baseclass name="Control"/> | |
24176 | <constructor name="CalendarCtrl" overloaded="no"> | |
24177 | <autodoc>__init__(Window parent, int id, DateTime date=DefaultDateTime, | |
24178 | Point pos=DefaultPosition, Size size=DefaultSize, | |
24179 | long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, | |
24180 | String name=CalendarNameStr) -> CalendarCtrl</autodoc> | |
24181 | <docstring>Create and show a calendar control.</docstring> | |
24182 | <refdoc>The CalendarCtrl displays a window containing several parts: the control to | |
24183 | pick the month and the year at the top (either or both of them may be | |
24184 | disabled) and a month area below them which shows all the days in the | |
24185 | month. The user can move the current selection using the keyboard and select | |
24186 | the date (generating EVT_CALENDAR event) by pressing <Return> or double | |
24187 | clicking it. | |
856bf319 | 24188 | |
f32fc4bc RD |
24189 | It has advanced possibilities for the customization of its display. All global |
24190 | settings (such as colours and fonts used) can, of course, be changed. But | |
24191 | also, the display style for each day in the month can be set independently | |
24192 | using CalendarDateAttr class. | |
24193 | ||
24194 | An item without custom attributes is drawn with the default colours and font | |
24195 | and without border, but setting custom attributes with SetAttr allows to | |
24196 | modify its appearance. Just create a custom attribute object and set it for | |
24197 | the day you want to be displayed specially A day may be marked as being a | |
24198 | holiday, (even if it is not recognized as one by wx.DateTime) by using the | |
24199 | SetHoliday method. | |
24200 | ||
24201 | As the attributes are specified for each day, they may change when the month | |
24202 | is changed, so you will often want to update them in an EVT_CALENDAR_MONTH | |
24203 | event handler. | |
24204 | ||
24205 | Styles | |
24206 | CAL_SUNDAY_FIRST: Show Sunday as the first day in the week | |
24207 | CAL_MONDAY_FIRST: Show Monday as the first day in the week | |
24208 | CAL_SHOW_HOLIDAYS: Highlight holidays in the calendar | |
24209 | CAL_NO_YEAR_CHANGE: Disable the year changing | |
24210 | CAL_NO_MONTH_CHANGE: Disable the month (and, implicitly, the year) changing | |
24211 | CAL_SHOW_SURROUNDING_WEEKS: Show the neighbouring weeks in the previous and next months | |
24212 | CAL_SEQUENTIAL_MONTH_SELECTION: Use alternative, more compact, style for the month and year selection controls. | |
24213 | ||
24214 | The default calendar style is wxCAL_SHOW_HOLIDAYS. | |
24215 | ||
24216 | Events | |
24217 | EVT_CALENDAR: A day was double clicked in the calendar. | |
24218 | EVT_CALENDAR_SEL_CHANGED: The selected date changed. | |
24219 | EVT_CALENDAR_DAY: The selected day changed. | |
24220 | EVT_CALENDAR_MONTH: The selected month changed. | |
24221 | EVT_CALENDAR_YEAR: The selected year changed. | |
24222 | EVT_CALENDAR_WEEKDAY_CLICKED: User clicked on the week day header | |
24223 | ||
24224 | Note that changing the selected date will result in either of | |
24225 | EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED event. | |
24226 | ||
24227 | </refdoc> | |
24228 | <paramlist> | |
24229 | <param name="parent" type="Window" default=""/> | |
24230 | <param name="id" type="int" default=""/> | |
24231 | <param name="date" type="DateTime" default="wxDefaultDateTime"/> | |
24232 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
24233 | <param name="size" type="Size" default="wxDefaultSize"/> | |
24234 | <param name="style" type="long" default="wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS"/> | |
24235 | <param name="name" type="String" default="wxPyCalendarNameStr"/> | |
24236 | </paramlist> | |
24237 | </constructor> | |
24238 | <constructor name="PreCalendarCtrl" overloaded="no"> | |
24239 | <autodoc>PreCalendarCtrl() -> CalendarCtrl</autodoc> | |
24240 | <docstring>Precreate a CalendarCtrl for 2-phase creation.</docstring> | |
24241 | <refdoc>The CalendarCtrl displays a window containing several parts: the control to | |
24242 | pick the month and the year at the top (either or both of them may be | |
24243 | disabled) and a month area below them which shows all the days in the | |
24244 | month. The user can move the current selection using the keyboard and select | |
24245 | the date (generating EVT_CALENDAR event) by pressing <Return> or double | |
24246 | clicking it. | |
24247 | ||
24248 | It has advanced possibilities for the customization of its display. All global | |
24249 | settings (such as colours and fonts used) can, of course, be changed. But | |
24250 | also, the display style for each day in the month can be set independently | |
24251 | using CalendarDateAttr class. | |
24252 | ||
24253 | An item without custom attributes is drawn with the default colours and font | |
24254 | and without border, but setting custom attributes with SetAttr allows to | |
24255 | modify its appearance. Just create a custom attribute object and set it for | |
24256 | the day you want to be displayed specially A day may be marked as being a | |
24257 | holiday, (even if it is not recognized as one by wx.DateTime) by using the | |
24258 | SetHoliday method. | |
24259 | ||
24260 | As the attributes are specified for each day, they may change when the month | |
24261 | is changed, so you will often want to update them in an EVT_CALENDAR_MONTH | |
24262 | event handler. | |
24263 | ||
24264 | Styles | |
24265 | CAL_SUNDAY_FIRST: Show Sunday as the first day in the week | |
24266 | CAL_MONDAY_FIRST: Show Monday as the first day in the week | |
24267 | CAL_SHOW_HOLIDAYS: Highlight holidays in the calendar | |
24268 | CAL_NO_YEAR_CHANGE: Disable the year changing | |
24269 | CAL_NO_MONTH_CHANGE: Disable the month (and, implicitly, the year) changing | |
24270 | CAL_SHOW_SURROUNDING_WEEKS: Show the neighbouring weeks in the previous and next months | |
24271 | CAL_SEQUENTIAL_MONTH_SELECTION: Use alternative, more compact, style for the month and year selection controls. | |
24272 | ||
24273 | The default calendar style is wxCAL_SHOW_HOLIDAYS. | |
24274 | ||
24275 | Events | |
24276 | EVT_CALENDAR: A day was double clicked in the calendar. | |
24277 | EVT_CALENDAR_SEL_CHANGED: The selected date changed. | |
24278 | EVT_CALENDAR_DAY: The selected day changed. | |
24279 | EVT_CALENDAR_MONTH: The selected month changed. | |
24280 | EVT_CALENDAR_YEAR: The selected year changed. | |
24281 | EVT_CALENDAR_WEEKDAY_CLICKED: User clicked on the week day header | |
24282 | ||
24283 | Note that changing the selected date will result in either of | |
24284 | EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED event. | |
24285 | ||
24286 | </refdoc> | |
24287 | </constructor> | |
24288 | <method name="Create" type="bool" overloaded="no"> | |
24289 | <autodoc>Create(Window parent, int id, DateTime date=DefaultDateTime, | |
24290 | Point pos=DefaultPosition, Size size=DefaultSize, | |
24291 | long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, | |
24292 | String name=CalendarNameStr) -> bool</autodoc> | |
24293 | <docstring>Acutally create the GUI portion of the CalendarCtrl for 2-phase creation.</docstring> | |
24294 | <paramlist> | |
24295 | <param name="parent" type="Window" default=""/> | |
24296 | <param name="id" type="int" default=""/> | |
24297 | <param name="date" type="DateTime" default="wxDefaultDateTime"/> | |
24298 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
24299 | <param name="size" type="Size" default="wxDefaultSize"/> | |
24300 | <param name="style" type="long" default="wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS"/> | |
24301 | <param name="name" type="String" default="wxPyCalendarNameStr"/> | |
24302 | </paramlist> | |
24303 | </method> | |
24304 | <method name="SetDate" type="" overloaded="no"> | |
24305 | <autodoc>SetDate(DateTime date)</autodoc> | |
24306 | <docstring>Sets the current date.</docstring> | |
24307 | <paramlist> | |
24308 | <param name="date" type="DateTime" default=""/> | |
24309 | </paramlist> | |
24310 | </method> | |
24311 | <method name="GetDate" type="DateTime" overloaded="no"> | |
24312 | <autodoc>GetDate() -> DateTime</autodoc> | |
24313 | <docstring>Gets the currently selected date.</docstring> | |
24314 | </method> | |
24315 | <method name="SetLowerDateLimit" type="bool" overloaded="no"> | |
24316 | <autodoc>SetLowerDateLimit(DateTime date=DefaultDateTime) -> bool</autodoc> | |
24317 | <docstring>set the range in which selection can occur</docstring> | |
24318 | <paramlist> | |
24319 | <param name="date" type="DateTime" default="wxDefaultDateTime"/> | |
24320 | </paramlist> | |
24321 | </method> | |
24322 | <method name="SetUpperDateLimit" type="bool" overloaded="no"> | |
24323 | <autodoc>SetUpperDateLimit(DateTime date=DefaultDateTime) -> bool</autodoc> | |
24324 | <docstring>set the range in which selection can occur</docstring> | |
24325 | <paramlist> | |
24326 | <param name="date" type="DateTime" default="wxDefaultDateTime"/> | |
24327 | </paramlist> | |
24328 | </method> | |
24329 | <method name="GetLowerDateLimit" type="DateTime" overloaded="no"> | |
24330 | <autodoc>GetLowerDateLimit() -> DateTime</autodoc> | |
24331 | <docstring>get the range in which selection can occur</docstring> | |
24332 | </method> | |
24333 | <method name="GetUpperDateLimit" type="DateTime" overloaded="no"> | |
24334 | <autodoc>GetUpperDateLimit() -> DateTime</autodoc> | |
24335 | <docstring>get the range in which selection can occur</docstring> | |
24336 | </method> | |
24337 | <method name="SetDateRange" type="bool" overloaded="no"> | |
24338 | <autodoc>SetDateRange(DateTime lowerdate=DefaultDateTime, DateTime upperdate=DefaultDateTime) -> bool</autodoc> | |
24339 | <docstring>set the range in which selection can occur</docstring> | |
24340 | <paramlist> | |
24341 | <param name="lowerdate" type="DateTime" default="wxDefaultDateTime"/> | |
24342 | <param name="upperdate" type="DateTime" default="wxDefaultDateTime"/> | |
24343 | </paramlist> | |
24344 | </method> | |
24345 | <method name="EnableYearChange" type="" overloaded="no"> | |
24346 | <autodoc>EnableYearChange(bool enable=True)</autodoc> | |
24347 | <docstring>This function should be used instead of changing CAL_NO_YEAR_CHANGE | |
24348 | style bit directly. It allows or disallows the user to change the year | |
24349 | interactively.</docstring> | |
24350 | <paramlist> | |
24351 | <param name="enable" type="bool" default="True"/> | |
24352 | </paramlist> | |
24353 | </method> | |
24354 | <method name="EnableMonthChange" type="" overloaded="no"> | |
24355 | <autodoc>EnableMonthChange(bool enable=True)</autodoc> | |
24356 | <docstring>This function should be used instead of changing CAL_NO_MONTH_CHANGE style | |
24357 | bit. It allows or disallows the user to change the month interactively. Note | |
24358 | that if the month can not be changed, the year can not be changed either.</docstring> | |
24359 | <paramlist> | |
24360 | <param name="enable" type="bool" default="True"/> | |
24361 | </paramlist> | |
24362 | </method> | |
24363 | <method name="EnableHolidayDisplay" type="" overloaded="no"> | |
24364 | <autodoc>EnableHolidayDisplay(bool display=True)</autodoc> | |
24365 | <docstring>This function should be used instead of changing CAL_SHOW_HOLIDAYS style | |
24366 | bit directly. It enables or disables the special highlighting of the holidays.</docstring> | |
24367 | <paramlist> | |
24368 | <param name="display" type="bool" default="True"/> | |
24369 | </paramlist> | |
24370 | </method> | |
24371 | <method name="SetHeaderColours" type="" overloaded="no"> | |
24372 | <autodoc>SetHeaderColours(Colour colFg, Colour colBg)</autodoc> | |
24373 | <docstring>header colours are used for painting the weekdays at the top</docstring> | |
24374 | <paramlist> | |
24375 | <param name="colFg" type="Colour" default=""/> | |
24376 | <param name="colBg" type="Colour" default=""/> | |
24377 | </paramlist> | |
24378 | </method> | |
24379 | <method name="GetHeaderColourFg" type="Colour" overloaded="no"> | |
24380 | <autodoc>GetHeaderColourFg() -> Colour</autodoc> | |
24381 | <docstring>header colours are used for painting the weekdays at the top</docstring> | |
24382 | </method> | |
24383 | <method name="GetHeaderColourBg" type="Colour" overloaded="no"> | |
24384 | <autodoc>GetHeaderColourBg() -> Colour</autodoc> | |
24385 | <docstring>header colours are used for painting the weekdays at the top</docstring> | |
24386 | </method> | |
24387 | <method name="SetHighlightColours" type="" overloaded="no"> | |
24388 | <autodoc>SetHighlightColours(Colour colFg, Colour colBg)</autodoc> | |
24389 | <docstring>highlight colour is used for the currently selected date</docstring> | |
24390 | <paramlist> | |
24391 | <param name="colFg" type="Colour" default=""/> | |
24392 | <param name="colBg" type="Colour" default=""/> | |
24393 | </paramlist> | |
24394 | </method> | |
24395 | <method name="GetHighlightColourFg" type="Colour" overloaded="no"> | |
24396 | <autodoc>GetHighlightColourFg() -> Colour</autodoc> | |
24397 | <docstring>highlight colour is used for the currently selected date</docstring> | |
24398 | </method> | |
24399 | <method name="GetHighlightColourBg" type="Colour" overloaded="no"> | |
24400 | <autodoc>GetHighlightColourBg() -> Colour</autodoc> | |
24401 | <docstring>highlight colour is used for the currently selected date</docstring> | |
24402 | </method> | |
24403 | <method name="SetHolidayColours" type="" overloaded="no"> | |
24404 | <autodoc>SetHolidayColours(Colour colFg, Colour colBg)</autodoc> | |
24405 | <docstring>holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used)</docstring> | |
24406 | <paramlist> | |
24407 | <param name="colFg" type="Colour" default=""/> | |
24408 | <param name="colBg" type="Colour" default=""/> | |
24409 | </paramlist> | |
24410 | </method> | |
24411 | <method name="GetHolidayColourFg" type="Colour" overloaded="no"> | |
24412 | <autodoc>GetHolidayColourFg() -> Colour</autodoc> | |
24413 | <docstring>holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used)</docstring> | |
24414 | </method> | |
24415 | <method name="GetHolidayColourBg" type="Colour" overloaded="no"> | |
24416 | <autodoc>GetHolidayColourBg() -> Colour</autodoc> | |
24417 | <docstring>holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used)</docstring> | |
24418 | </method> | |
24419 | <method name="GetAttr" type="CalendarDateAttr" overloaded="no"> | |
24420 | <autodoc>GetAttr(size_t day) -> CalendarDateAttr</autodoc> | |
24421 | <docstring>Returns the attribute for the given date (should be in the range 1...31). | |
24422 | The returned value may be None</docstring> | |
24423 | <paramlist> | |
24424 | <param name="day" type="size_t" default=""/> | |
24425 | </paramlist> | |
24426 | </method> | |
24427 | <method name="SetAttr" type="" overloaded="no"> | |
24428 | <autodoc>SetAttr(size_t day, CalendarDateAttr attr)</autodoc> | |
24429 | <docstring>Associates the attribute with the specified date (in the range 1...31). | |
24430 | If the attribute passed is None, the items attribute is cleared.</docstring> | |
24431 | <paramlist> | |
24432 | <param name="day" type="size_t" default=""/> | |
24433 | <param name="attr" type="CalendarDateAttr" default=""/> | |
24434 | </paramlist> | |
24435 | </method> | |
24436 | <method name="SetHoliday" type="" overloaded="no"> | |
24437 | <autodoc>SetHoliday(size_t day)</autodoc> | |
24438 | <docstring>Marks the specified day as being a holiday in the current month.</docstring> | |
24439 | <paramlist> | |
24440 | <param name="day" type="size_t" default=""/> | |
24441 | </paramlist> | |
24442 | </method> | |
24443 | <method name="ResetAttr" type="" overloaded="no"> | |
24444 | <autodoc>ResetAttr(size_t day)</autodoc> | |
24445 | <docstring>Clears any attributes associated with the given day (in the range 1...31).</docstring> | |
24446 | <paramlist> | |
24447 | <param name="day" type="size_t" default=""/> | |
24448 | </paramlist> | |
24449 | </method> | |
24450 | <method name="HitTest" type="PyObject" overloaded="no"> | |
24451 | <autodoc>HitTest(Point pos) -> (result, date, weekday)</autodoc> | |
24452 | <docstring>Returns 3-tuple with information about the given position on the calendar | |
24453 | control. The first value of the tuple is a result code and determines the | |
24454 | validity of the remaining two values. The result codes are: | |
24455 | ||
24456 | CAL_HITTEST_NOWHERE: hit outside of anything | |
24457 | CAL_HITTEST_HEADER: hit on the header, weekday is valid | |
24458 | CAL_HITTEST_DAY: hit on a day in the calendar, date is set. | |
24459 | </docstring> | |
24460 | <paramlist> | |
24461 | <param name="pos" type="Point" default=""/> | |
24462 | </paramlist> | |
24463 | </method> | |
24464 | <method name="GetMonthControl" type="Control" overloaded="no"> | |
24465 | <autodoc>GetMonthControl() -> Control</autodoc> | |
24466 | <docstring>get the currently shown control for month</docstring> | |
24467 | </method> | |
24468 | <method name="GetYearControl" type="Control" overloaded="no"> | |
24469 | <autodoc>GetYearControl() -> Control</autodoc> | |
24470 | <docstring>get the currently shown control for year</docstring> | |
24471 | </method> | |
24472 | </class> | |
24473 | </module> | |
24474 | <module name="grid"> | |
24475 | <import name="windows"/> | |
24476 | <pythoncode> wx = core </pythoncode> | |
24477 | <class name="GridCellRenderer" oldname="wxGridCellRenderer" module="grid"> | |
24478 | <method name="_setOORInfo" type="" overloaded="no"> | |
24479 | <autodoc>_setOORInfo(PyObject _self)</autodoc> | |
24480 | <paramlist> | |
24481 | <param name="_self" type="PyObject" default=""/> | |
24482 | </paramlist> | |
24483 | </method> | |
24484 | <method name="SetParameters" type="" overloaded="no"> | |
24485 | <autodoc>SetParameters(String params)</autodoc> | |
24486 | <paramlist> | |
24487 | <param name="params" type="String" default=""/> | |
24488 | </paramlist> | |
24489 | </method> | |
24490 | <method name="IncRef" type="" overloaded="no"> | |
24491 | <autodoc>IncRef()</autodoc> | |
24492 | </method> | |
24493 | <method name="DecRef" type="" overloaded="no"> | |
24494 | <autodoc>DecRef()</autodoc> | |
24495 | </method> | |
24496 | <method name="Draw" type="" overloaded="no"> | |
24497 | <autodoc>Draw(Grid grid, GridCellAttr attr, DC dc, Rect rect, int row, | |
24498 | int col, bool isSelected)</autodoc> | |
24499 | <paramlist> | |
24500 | <param name="grid" type="wxGrid" default=""/> | |
24501 | <param name="attr" type="wxGridCellAttr" default=""/> | |
24502 | <param name="dc" type="DC" default=""/> | |
24503 | <param name="rect" type="Rect" default=""/> | |
24504 | <param name="row" type="int" default=""/> | |
24505 | <param name="col" type="int" default=""/> | |
24506 | <param name="isSelected" type="bool" default=""/> | |
24507 | </paramlist> | |
24508 | </method> | |
24509 | <method name="GetBestSize" type="Size" overloaded="no"> | |
24510 | <autodoc>GetBestSize(Grid grid, GridCellAttr attr, DC dc, int row, int col) -> Size</autodoc> | |
24511 | <paramlist> | |
24512 | <param name="grid" type="wxGrid" default=""/> | |
24513 | <param name="attr" type="wxGridCellAttr" default=""/> | |
24514 | <param name="dc" type="DC" default=""/> | |
24515 | <param name="row" type="int" default=""/> | |
24516 | <param name="col" type="int" default=""/> | |
24517 | </paramlist> | |
24518 | </method> | |
24519 | <method name="Clone" type="GridCellRenderer" overloaded="no"> | |
24520 | <autodoc>Clone() -> GridCellRenderer</autodoc> | |
24521 | </method> | |
24522 | </class> | |
24523 | <class name="PyGridCellRenderer" oldname="wxPyGridCellRenderer" module="grid"> | |
24524 | <baseclass name="GridCellRenderer"/> | |
24525 | <constructor name="PyGridCellRenderer" overloaded="no"> | |
24526 | <autodoc>__init__() -> PyGridCellRenderer</autodoc> | |
24527 | </constructor> | |
24528 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
24529 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
24530 | <paramlist> | |
24531 | <param name="self" type="PyObject" default=""/> | |
24532 | <param name="_class" type="PyObject" default=""/> | |
24533 | </paramlist> | |
24534 | </method> | |
24535 | <method name="base_SetParameters" type="" overloaded="no"> | |
24536 | <autodoc>base_SetParameters(String params)</autodoc> | |
24537 | <paramlist> | |
24538 | <param name="params" type="String" default=""/> | |
24539 | </paramlist> | |
24540 | </method> | |
24541 | </class> | |
24542 | <class name="GridCellStringRenderer" oldname="wxGridCellStringRenderer" module="grid"> | |
24543 | <baseclass name="GridCellRenderer"/> | |
24544 | <constructor name="GridCellStringRenderer" overloaded="no"> | |
24545 | <autodoc>__init__() -> GridCellStringRenderer</autodoc> | |
24546 | </constructor> | |
24547 | </class> | |
24548 | <class name="GridCellNumberRenderer" oldname="wxGridCellNumberRenderer" module="grid"> | |
24549 | <baseclass name="GridCellStringRenderer"/> | |
24550 | <constructor name="GridCellNumberRenderer" overloaded="no"> | |
24551 | <autodoc>__init__() -> GridCellNumberRenderer</autodoc> | |
24552 | </constructor> | |
24553 | </class> | |
24554 | <class name="GridCellFloatRenderer" oldname="wxGridCellFloatRenderer" module="grid"> | |
24555 | <baseclass name="GridCellStringRenderer"/> | |
24556 | <constructor name="GridCellFloatRenderer" overloaded="no"> | |
24557 | <autodoc>__init__(int width=-1, int precision=-1) -> GridCellFloatRenderer</autodoc> | |
24558 | <paramlist> | |
24559 | <param name="width" type="int" default="-1"/> | |
24560 | <param name="precision" type="int" default="-1"/> | |
24561 | </paramlist> | |
24562 | </constructor> | |
24563 | <method name="GetWidth" type="int" overloaded="no"> | |
24564 | <autodoc>GetWidth() -> int</autodoc> | |
24565 | </method> | |
24566 | <method name="SetWidth" type="" overloaded="no"> | |
24567 | <autodoc>SetWidth(int width)</autodoc> | |
24568 | <paramlist> | |
24569 | <param name="width" type="int" default=""/> | |
24570 | </paramlist> | |
24571 | </method> | |
24572 | <method name="GetPrecision" type="int" overloaded="no"> | |
24573 | <autodoc>GetPrecision() -> int</autodoc> | |
24574 | </method> | |
24575 | <method name="SetPrecision" type="" overloaded="no"> | |
24576 | <autodoc>SetPrecision(int precision)</autodoc> | |
24577 | <paramlist> | |
24578 | <param name="precision" type="int" default=""/> | |
24579 | </paramlist> | |
24580 | </method> | |
24581 | </class> | |
24582 | <class name="GridCellBoolRenderer" oldname="wxGridCellBoolRenderer" module="grid"> | |
24583 | <baseclass name="GridCellRenderer"/> | |
24584 | <constructor name="GridCellBoolRenderer" overloaded="no"> | |
24585 | <autodoc>__init__() -> GridCellBoolRenderer</autodoc> | |
24586 | </constructor> | |
24587 | </class> | |
24588 | <class name="GridCellDateTimeRenderer" oldname="wxGridCellDateTimeRenderer" module="grid"> | |
24589 | <baseclass name="GridCellStringRenderer"/> | |
24590 | <constructor name="GridCellDateTimeRenderer" overloaded="no"> | |
24591 | <autodoc>__init__(String outformat=DateTimeFormatStr, String informat=DateTimeFormatStr) -> GridCellDateTimeRenderer</autodoc> | |
24592 | <paramlist> | |
24593 | <param name="outformat" type="String" default="wxPyDateTimeFormatStr"/> | |
24594 | <param name="informat" type="String" default="wxPyDateTimeFormatStr"/> | |
24595 | </paramlist> | |
24596 | </constructor> | |
24597 | </class> | |
24598 | <class name="GridCellEnumRenderer" oldname="wxGridCellEnumRenderer" module="grid"> | |
24599 | <baseclass name="GridCellStringRenderer"/> | |
24600 | <constructor name="GridCellEnumRenderer" overloaded="no"> | |
24601 | <autodoc>__init__(String choices=EmptyString) -> GridCellEnumRenderer</autodoc> | |
24602 | <paramlist> | |
24603 | <param name="choices" type="String" default="wxPyEmptyString"/> | |
24604 | </paramlist> | |
24605 | </constructor> | |
24606 | </class> | |
24607 | <class name="GridCellAutoWrapStringRenderer" oldname="wxGridCellAutoWrapStringRenderer" module="grid"> | |
24608 | <baseclass name="GridCellStringRenderer"/> | |
24609 | <constructor name="GridCellAutoWrapStringRenderer" overloaded="no"> | |
24610 | <autodoc>__init__() -> GridCellAutoWrapStringRenderer</autodoc> | |
24611 | </constructor> | |
24612 | </class> | |
24613 | <class name="GridCellEditor" oldname="wxGridCellEditor" module="grid"> | |
24614 | <method name="_setOORInfo" type="" overloaded="no"> | |
24615 | <autodoc>_setOORInfo(PyObject _self)</autodoc> | |
24616 | <paramlist> | |
24617 | <param name="_self" type="PyObject" default=""/> | |
24618 | </paramlist> | |
24619 | </method> | |
24620 | <method name="IsCreated" type="bool" overloaded="no"> | |
24621 | <autodoc>IsCreated() -> bool</autodoc> | |
24622 | </method> | |
24623 | <method name="GetControl" type="Control" overloaded="no"> | |
24624 | <autodoc>GetControl() -> Control</autodoc> | |
24625 | </method> | |
24626 | <method name="SetControl" type="" overloaded="no"> | |
24627 | <autodoc>SetControl(Control control)</autodoc> | |
24628 | <paramlist> | |
24629 | <param name="control" type="Control" default=""/> | |
24630 | </paramlist> | |
24631 | </method> | |
24632 | <method name="GetCellAttr" type="wxGridCellAttr" overloaded="no"> | |
24633 | <autodoc>GetCellAttr() -> GridCellAttr</autodoc> | |
24634 | </method> | |
24635 | <method name="SetCellAttr" type="" overloaded="no"> | |
24636 | <autodoc>SetCellAttr(GridCellAttr attr)</autodoc> | |
24637 | <paramlist> | |
24638 | <param name="attr" type="wxGridCellAttr" default=""/> | |
24639 | </paramlist> | |
24640 | </method> | |
24641 | <method name="SetParameters" type="" overloaded="no"> | |
24642 | <autodoc>SetParameters(String params)</autodoc> | |
24643 | <paramlist> | |
24644 | <param name="params" type="String" default=""/> | |
24645 | </paramlist> | |
24646 | </method> | |
24647 | <method name="IncRef" type="" overloaded="no"> | |
24648 | <autodoc>IncRef()</autodoc> | |
24649 | </method> | |
24650 | <method name="DecRef" type="" overloaded="no"> | |
24651 | <autodoc>DecRef()</autodoc> | |
24652 | </method> | |
24653 | <method name="Create" type="" overloaded="no"> | |
24654 | <autodoc>Create(Window parent, int id, EvtHandler evtHandler)</autodoc> | |
24655 | <paramlist> | |
24656 | <param name="parent" type="Window" default=""/> | |
24657 | <param name="id" type="int" default=""/> | |
24658 | <param name="evtHandler" type="EvtHandler" default=""/> | |
24659 | </paramlist> | |
24660 | </method> | |
24661 | <method name="BeginEdit" type="" overloaded="no"> | |
24662 | <autodoc>BeginEdit(int row, int col, Grid grid)</autodoc> | |
24663 | <paramlist> | |
24664 | <param name="row" type="int" default=""/> | |
24665 | <param name="col" type="int" default=""/> | |
24666 | <param name="grid" type="wxGrid" default=""/> | |
24667 | </paramlist> | |
24668 | </method> | |
24669 | <method name="EndEdit" type="bool" overloaded="no"> | |
24670 | <autodoc>EndEdit(int row, int col, Grid grid) -> bool</autodoc> | |
24671 | <paramlist> | |
24672 | <param name="row" type="int" default=""/> | |
24673 | <param name="col" type="int" default=""/> | |
24674 | <param name="grid" type="wxGrid" default=""/> | |
24675 | </paramlist> | |
24676 | </method> | |
24677 | <method name="Reset" type="" overloaded="no"> | |
24678 | <autodoc>Reset()</autodoc> | |
24679 | </method> | |
24680 | <method name="Clone" type="GridCellEditor" overloaded="no"> | |
24681 | <autodoc>Clone() -> GridCellEditor</autodoc> | |
24682 | </method> | |
24683 | <method name="SetSize" type="" overloaded="no"> | |
24684 | <autodoc>SetSize(Rect rect)</autodoc> | |
24685 | <paramlist> | |
24686 | <param name="rect" type="Rect" default=""/> | |
24687 | </paramlist> | |
24688 | </method> | |
24689 | <method name="Show" type="" overloaded="no"> | |
24690 | <autodoc>Show(bool show, GridCellAttr attr=None)</autodoc> | |
24691 | <paramlist> | |
24692 | <param name="show" type="bool" default=""/> | |
24693 | <param name="attr" type="wxGridCellAttr" default="NULL"/> | |
24694 | </paramlist> | |
24695 | </method> | |
24696 | <method name="PaintBackground" type="" overloaded="no"> | |
24697 | <autodoc>PaintBackground(Rect rectCell, GridCellAttr attr)</autodoc> | |
24698 | <paramlist> | |
24699 | <param name="rectCell" type="Rect" default=""/> | |
24700 | <param name="attr" type="wxGridCellAttr" default=""/> | |
24701 | </paramlist> | |
24702 | </method> | |
24703 | <method name="IsAcceptedKey" type="bool" overloaded="no"> | |
24704 | <autodoc>IsAcceptedKey(KeyEvent event) -> bool</autodoc> | |
24705 | <paramlist> | |
24706 | <param name="event" type="KeyEvent" default=""/> | |
24707 | </paramlist> | |
24708 | </method> | |
24709 | <method name="StartingKey" type="" overloaded="no"> | |
24710 | <autodoc>StartingKey(KeyEvent event)</autodoc> | |
24711 | <paramlist> | |
24712 | <param name="event" type="KeyEvent" default=""/> | |
24713 | </paramlist> | |
24714 | </method> | |
24715 | <method name="StartingClick" type="" overloaded="no"> | |
24716 | <autodoc>StartingClick()</autodoc> | |
24717 | </method> | |
24718 | <method name="HandleReturn" type="" overloaded="no"> | |
24719 | <autodoc>HandleReturn(KeyEvent event)</autodoc> | |
24720 | <paramlist> | |
24721 | <param name="event" type="KeyEvent" default=""/> | |
24722 | </paramlist> | |
24723 | </method> | |
24724 | <method name="Destroy" type="" overloaded="no"> | |
24725 | <autodoc>Destroy()</autodoc> | |
24726 | </method> | |
24727 | </class> | |
24728 | <class name="PyGridCellEditor" oldname="wxPyGridCellEditor" module="grid"> | |
24729 | <baseclass name="GridCellEditor"/> | |
24730 | <constructor name="PyGridCellEditor" overloaded="no"> | |
24731 | <autodoc>__init__() -> PyGridCellEditor</autodoc> | |
24732 | </constructor> | |
24733 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
24734 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
24735 | <paramlist> | |
24736 | <param name="self" type="PyObject" default=""/> | |
24737 | <param name="_class" type="PyObject" default=""/> | |
24738 | </paramlist> | |
24739 | </method> | |
24740 | <method name="base_SetSize" type="" overloaded="no"> | |
24741 | <autodoc>base_SetSize(Rect rect)</autodoc> | |
24742 | <paramlist> | |
24743 | <param name="rect" type="Rect" default=""/> | |
24744 | </paramlist> | |
24745 | </method> | |
24746 | <method name="base_Show" type="" overloaded="no"> | |
24747 | <autodoc>base_Show(bool show, GridCellAttr attr=None)</autodoc> | |
24748 | <paramlist> | |
24749 | <param name="show" type="bool" default=""/> | |
24750 | <param name="attr" type="wxGridCellAttr" default="NULL"/> | |
24751 | </paramlist> | |
24752 | </method> | |
24753 | <method name="base_PaintBackground" type="" overloaded="no"> | |
24754 | <autodoc>base_PaintBackground(Rect rectCell, GridCellAttr attr)</autodoc> | |
24755 | <paramlist> | |
24756 | <param name="rectCell" type="Rect" default=""/> | |
24757 | <param name="attr" type="wxGridCellAttr" default=""/> | |
24758 | </paramlist> | |
24759 | </method> | |
24760 | <method name="base_IsAcceptedKey" type="bool" overloaded="no"> | |
24761 | <autodoc>base_IsAcceptedKey(KeyEvent event) -> bool</autodoc> | |
24762 | <paramlist> | |
24763 | <param name="event" type="KeyEvent" default=""/> | |
24764 | </paramlist> | |
24765 | </method> | |
24766 | <method name="base_StartingKey" type="" overloaded="no"> | |
24767 | <autodoc>base_StartingKey(KeyEvent event)</autodoc> | |
24768 | <paramlist> | |
24769 | <param name="event" type="KeyEvent" default=""/> | |
24770 | </paramlist> | |
24771 | </method> | |
24772 | <method name="base_StartingClick" type="" overloaded="no"> | |
24773 | <autodoc>base_StartingClick()</autodoc> | |
24774 | </method> | |
24775 | <method name="base_HandleReturn" type="" overloaded="no"> | |
24776 | <autodoc>base_HandleReturn(KeyEvent event)</autodoc> | |
24777 | <paramlist> | |
24778 | <param name="event" type="KeyEvent" default=""/> | |
24779 | </paramlist> | |
24780 | </method> | |
24781 | <method name="base_Destroy" type="" overloaded="no"> | |
24782 | <autodoc>base_Destroy()</autodoc> | |
24783 | </method> | |
24784 | <method name="base_SetParameters" type="" overloaded="no"> | |
24785 | <autodoc>base_SetParameters(String params)</autodoc> | |
24786 | <paramlist> | |
24787 | <param name="params" type="String" default=""/> | |
24788 | </paramlist> | |
24789 | </method> | |
24790 | </class> | |
24791 | <class name="GridCellTextEditor" oldname="wxGridCellTextEditor" module="grid"> | |
24792 | <baseclass name="GridCellEditor"/> | |
24793 | <constructor name="GridCellTextEditor" overloaded="no"> | |
24794 | <autodoc>__init__() -> GridCellTextEditor</autodoc> | |
24795 | </constructor> | |
24796 | <method name="GetValue" type="String" overloaded="no"> | |
24797 | <autodoc>GetValue() -> String</autodoc> | |
24798 | </method> | |
24799 | </class> | |
24800 | <class name="GridCellNumberEditor" oldname="wxGridCellNumberEditor" module="grid"> | |
24801 | <baseclass name="GridCellTextEditor"/> | |
24802 | <constructor name="GridCellNumberEditor" overloaded="no"> | |
24803 | <autodoc>__init__(int min=-1, int max=-1) -> GridCellNumberEditor</autodoc> | |
24804 | <paramlist> | |
24805 | <param name="min" type="int" default="-1"/> | |
24806 | <param name="max" type="int" default="-1"/> | |
24807 | </paramlist> | |
24808 | </constructor> | |
24809 | <method name="GetValue" type="String" overloaded="no"> | |
24810 | <autodoc>GetValue() -> String</autodoc> | |
24811 | </method> | |
24812 | </class> | |
24813 | <class name="GridCellFloatEditor" oldname="wxGridCellFloatEditor" module="grid"> | |
24814 | <baseclass name="GridCellTextEditor"/> | |
24815 | <constructor name="GridCellFloatEditor" overloaded="no"> | |
24816 | <autodoc>__init__() -> GridCellFloatEditor</autodoc> | |
24817 | </constructor> | |
24818 | <method name="GetValue" type="String" overloaded="no"> | |
24819 | <autodoc>GetValue() -> String</autodoc> | |
24820 | </method> | |
24821 | </class> | |
24822 | <class name="GridCellBoolEditor" oldname="wxGridCellBoolEditor" module="grid"> | |
24823 | <baseclass name="GridCellEditor"/> | |
24824 | <constructor name="GridCellBoolEditor" overloaded="no"> | |
24825 | <autodoc>__init__() -> GridCellBoolEditor</autodoc> | |
24826 | </constructor> | |
24827 | <method name="GetValue" type="String" overloaded="no"> | |
24828 | <autodoc>GetValue() -> String</autodoc> | |
24829 | </method> | |
24830 | </class> | |
24831 | <class name="GridCellChoiceEditor" oldname="wxGridCellChoiceEditor" module="grid"> | |
24832 | <baseclass name="GridCellEditor"/> | |
24833 | <constructor name="GridCellChoiceEditor" overloaded="no"> | |
24834 | <autodoc>__init__(int choices=0, String choices_array=None, bool allowOthers=False) -> GridCellChoiceEditor</autodoc> | |
24835 | <paramlist> | |
24836 | <param name="choices" type="int" default="0"/> | |
24837 | <param name="choices_array" type="String" default="NULL"/> | |
24838 | <param name="allowOthers" type="bool" default="False"/> | |
24839 | </paramlist> | |
24840 | </constructor> | |
24841 | <method name="GetValue" type="String" overloaded="no"> | |
24842 | <autodoc>GetValue() -> String</autodoc> | |
24843 | </method> | |
24844 | </class> | |
24845 | <class name="GridCellEnumEditor" oldname="wxGridCellEnumEditor" module="grid"> | |
24846 | <baseclass name="GridCellChoiceEditor"/> | |
24847 | <constructor name="GridCellEnumEditor" overloaded="no"> | |
24848 | <autodoc>__init__(String choices=EmptyString) -> GridCellEnumEditor</autodoc> | |
24849 | <paramlist> | |
24850 | <param name="choices" type="String" default="wxPyEmptyString"/> | |
24851 | </paramlist> | |
24852 | </constructor> | |
24853 | <method name="GetValue" type="String" overloaded="no"> | |
24854 | <autodoc>GetValue() -> String</autodoc> | |
24855 | </method> | |
24856 | </class> | |
24857 | <class name="GridCellAutoWrapStringEditor" oldname="wxGridCellAutoWrapStringEditor" module="grid"> | |
24858 | <baseclass name="GridCellTextEditor"/> | |
24859 | <constructor name="GridCellAutoWrapStringEditor" overloaded="no"> | |
24860 | <autodoc>__init__() -> GridCellAutoWrapStringEditor</autodoc> | |
24861 | </constructor> | |
24862 | <method name="GetValue" type="String" overloaded="no"> | |
24863 | <autodoc>GetValue() -> String</autodoc> | |
24864 | </method> | |
24865 | </class> | |
24866 | <class name="GridCellAttr" oldname="wxGridCellAttr" module="grid"> | |
24867 | <constructor name="GridCellAttr" overloaded="no"> | |
24868 | <autodoc>__init__(GridCellAttr attrDefault=None) -> GridCellAttr</autodoc> | |
24869 | <paramlist> | |
24870 | <param name="attrDefault" type="GridCellAttr" default="NULL"/> | |
24871 | </paramlist> | |
24872 | </constructor> | |
24873 | <method name="_setOORInfo" type="" overloaded="no"> | |
24874 | <autodoc>_setOORInfo(PyObject _self)</autodoc> | |
24875 | <paramlist> | |
24876 | <param name="_self" type="PyObject" default=""/> | |
24877 | </paramlist> | |
24878 | </method> | |
24879 | <method name="Clone" type="GridCellAttr" overloaded="no"> | |
24880 | <autodoc>Clone() -> GridCellAttr</autodoc> | |
24881 | </method> | |
24882 | <method name="MergeWith" type="" overloaded="no"> | |
24883 | <autodoc>MergeWith(GridCellAttr mergefrom)</autodoc> | |
24884 | <paramlist> | |
24885 | <param name="mergefrom" type="GridCellAttr" default=""/> | |
24886 | </paramlist> | |
24887 | </method> | |
24888 | <method name="IncRef" type="" overloaded="no"> | |
24889 | <autodoc>IncRef()</autodoc> | |
24890 | </method> | |
24891 | <method name="DecRef" type="" overloaded="no"> | |
24892 | <autodoc>DecRef()</autodoc> | |
24893 | </method> | |
24894 | <method name="SetTextColour" type="" overloaded="no"> | |
24895 | <autodoc>SetTextColour(Colour colText)</autodoc> | |
24896 | <paramlist> | |
24897 | <param name="colText" type="Colour" default=""/> | |
24898 | </paramlist> | |
24899 | </method> | |
24900 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
24901 | <autodoc>SetBackgroundColour(Colour colBack)</autodoc> | |
24902 | <paramlist> | |
24903 | <param name="colBack" type="Colour" default=""/> | |
24904 | </paramlist> | |
24905 | </method> | |
24906 | <method name="SetFont" type="" overloaded="no"> | |
24907 | <autodoc>SetFont(Font font)</autodoc> | |
24908 | <paramlist> | |
24909 | <param name="font" type="Font" default=""/> | |
24910 | </paramlist> | |
24911 | </method> | |
24912 | <method name="SetAlignment" type="" overloaded="no"> | |
24913 | <autodoc>SetAlignment(int hAlign, int vAlign)</autodoc> | |
24914 | <paramlist> | |
24915 | <param name="hAlign" type="int" default=""/> | |
24916 | <param name="vAlign" type="int" default=""/> | |
24917 | </paramlist> | |
24918 | </method> | |
24919 | <method name="SetSize" type="" overloaded="no"> | |
24920 | <autodoc>SetSize(int num_rows, int num_cols)</autodoc> | |
24921 | <paramlist> | |
24922 | <param name="num_rows" type="int" default=""/> | |
24923 | <param name="num_cols" type="int" default=""/> | |
24924 | </paramlist> | |
24925 | </method> | |
24926 | <method name="SetOverflow" type="" overloaded="no"> | |
24927 | <autodoc>SetOverflow(bool allow=True)</autodoc> | |
24928 | <paramlist> | |
24929 | <param name="allow" type="bool" default="True"/> | |
24930 | </paramlist> | |
24931 | </method> | |
24932 | <method name="SetReadOnly" type="" overloaded="no"> | |
24933 | <autodoc>SetReadOnly(bool isReadOnly=True)</autodoc> | |
24934 | <paramlist> | |
24935 | <param name="isReadOnly" type="bool" default="True"/> | |
24936 | </paramlist> | |
24937 | </method> | |
24938 | <method name="SetRenderer" type="" overloaded="no"> | |
24939 | <autodoc>SetRenderer(GridCellRenderer renderer)</autodoc> | |
24940 | <paramlist> | |
24941 | <param name="renderer" type="GridCellRenderer" default=""/> | |
24942 | </paramlist> | |
24943 | </method> | |
24944 | <method name="SetEditor" type="" overloaded="no"> | |
24945 | <autodoc>SetEditor(GridCellEditor editor)</autodoc> | |
24946 | <paramlist> | |
24947 | <param name="editor" type="GridCellEditor" default=""/> | |
24948 | </paramlist> | |
24949 | </method> | |
24950 | <method name="SetKind" type="" overloaded="no"> | |
24951 | <autodoc>SetKind(int kind)</autodoc> | |
24952 | <paramlist> | |
24953 | <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/> | |
24954 | </paramlist> | |
24955 | </method> | |
24956 | <method name="HasTextColour" type="bool" overloaded="no"> | |
24957 | <autodoc>HasTextColour() -> bool</autodoc> | |
24958 | </method> | |
24959 | <method name="HasBackgroundColour" type="bool" overloaded="no"> | |
24960 | <autodoc>HasBackgroundColour() -> bool</autodoc> | |
24961 | </method> | |
24962 | <method name="HasFont" type="bool" overloaded="no"> | |
24963 | <autodoc>HasFont() -> bool</autodoc> | |
24964 | </method> | |
24965 | <method name="HasAlignment" type="bool" overloaded="no"> | |
24966 | <autodoc>HasAlignment() -> bool</autodoc> | |
24967 | </method> | |
24968 | <method name="HasRenderer" type="bool" overloaded="no"> | |
24969 | <autodoc>HasRenderer() -> bool</autodoc> | |
24970 | </method> | |
24971 | <method name="HasEditor" type="bool" overloaded="no"> | |
24972 | <autodoc>HasEditor() -> bool</autodoc> | |
24973 | </method> | |
24974 | <method name="HasReadWriteMode" type="bool" overloaded="no"> | |
24975 | <autodoc>HasReadWriteMode() -> bool</autodoc> | |
24976 | </method> | |
24977 | <method name="HasOverflowMode" type="bool" overloaded="no"> | |
24978 | <autodoc>HasOverflowMode() -> bool</autodoc> | |
24979 | </method> | |
24980 | <method name="GetTextColour" type="Colour" overloaded="no"> | |
24981 | <autodoc>GetTextColour() -> Colour</autodoc> | |
24982 | </method> | |
24983 | <method name="GetBackgroundColour" type="Colour" overloaded="no"> | |
24984 | <autodoc>GetBackgroundColour() -> Colour</autodoc> | |
24985 | </method> | |
24986 | <method name="GetFont" type="Font" overloaded="no"> | |
24987 | <autodoc>GetFont() -> Font</autodoc> | |
24988 | </method> | |
24989 | <method name="GetAlignment" type="" overloaded="no"> | |
24990 | <autodoc>GetAlignment() -> (hAlign, vAlign)</autodoc> | |
24991 | <paramlist> | |
24992 | <param name="OUTPUT" type="int" default=""/> | |
24993 | <param name="OUTPUT" type="int" default=""/> | |
24994 | </paramlist> | |
24995 | </method> | |
24996 | <method name="GetSize" type="" overloaded="no"> | |
24997 | <autodoc>GetSize() -> (num_rows, num_cols)</autodoc> | |
24998 | <paramlist> | |
24999 | <param name="OUTPUT" type="int" default=""/> | |
25000 | <param name="OUTPUT" type="int" default=""/> | |
25001 | </paramlist> | |
25002 | </method> | |
25003 | <method name="GetOverflow" type="bool" overloaded="no"> | |
25004 | <autodoc>GetOverflow() -> bool</autodoc> | |
25005 | </method> | |
25006 | <method name="GetRenderer" type="GridCellRenderer" overloaded="no"> | |
25007 | <autodoc>GetRenderer(Grid grid, int row, int col) -> GridCellRenderer</autodoc> | |
25008 | <paramlist> | |
25009 | <param name="grid" type="wxGrid" default=""/> | |
25010 | <param name="row" type="int" default=""/> | |
25011 | <param name="col" type="int" default=""/> | |
25012 | </paramlist> | |
25013 | </method> | |
25014 | <method name="GetEditor" type="GridCellEditor" overloaded="no"> | |
25015 | <autodoc>GetEditor(Grid grid, int row, int col) -> GridCellEditor</autodoc> | |
25016 | <paramlist> | |
25017 | <param name="grid" type="wxGrid" default=""/> | |
25018 | <param name="row" type="int" default=""/> | |
25019 | <param name="col" type="int" default=""/> | |
25020 | </paramlist> | |
25021 | </method> | |
25022 | <method name="IsReadOnly" type="bool" overloaded="no"> | |
25023 | <autodoc>IsReadOnly() -> bool</autodoc> | |
25024 | </method> | |
25025 | <method name="SetDefAttr" type="" overloaded="no"> | |
25026 | <autodoc>SetDefAttr(GridCellAttr defAttr)</autodoc> | |
25027 | <paramlist> | |
25028 | <param name="defAttr" type="GridCellAttr" default=""/> | |
25029 | </paramlist> | |
25030 | </method> | |
25031 | </class> | |
25032 | <class name="GridCellAttrProvider" oldname="wxGridCellAttrProvider" module="grid"> | |
25033 | <constructor name="GridCellAttrProvider" overloaded="no"> | |
25034 | <autodoc>__init__() -> GridCellAttrProvider</autodoc> | |
25035 | </constructor> | |
25036 | <method name="_setOORInfo" type="" overloaded="no"> | |
25037 | <autodoc>_setOORInfo(PyObject _self)</autodoc> | |
25038 | <paramlist> | |
25039 | <param name="_self" type="PyObject" default=""/> | |
25040 | </paramlist> | |
25041 | </method> | |
25042 | <method name="GetAttr" type="GridCellAttr" overloaded="no"> | |
25043 | <autodoc>GetAttr(int row, int col, int kind) -> GridCellAttr</autodoc> | |
25044 | <paramlist> | |
25045 | <param name="row" type="int" default=""/> | |
25046 | <param name="col" type="int" default=""/> | |
25047 | <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/> | |
25048 | </paramlist> | |
25049 | </method> | |
25050 | <method name="SetAttr" type="" overloaded="no"> | |
25051 | <autodoc>SetAttr(GridCellAttr attr, int row, int col)</autodoc> | |
25052 | <paramlist> | |
25053 | <param name="attr" type="GridCellAttr" default=""/> | |
25054 | <param name="row" type="int" default=""/> | |
25055 | <param name="col" type="int" default=""/> | |
25056 | </paramlist> | |
25057 | </method> | |
25058 | <method name="SetRowAttr" type="" overloaded="no"> | |
25059 | <autodoc>SetRowAttr(GridCellAttr attr, int row)</autodoc> | |
25060 | <paramlist> | |
25061 | <param name="attr" type="GridCellAttr" default=""/> | |
25062 | <param name="row" type="int" default=""/> | |
25063 | </paramlist> | |
25064 | </method> | |
25065 | <method name="SetColAttr" type="" overloaded="no"> | |
25066 | <autodoc>SetColAttr(GridCellAttr attr, int col)</autodoc> | |
25067 | <paramlist> | |
25068 | <param name="attr" type="GridCellAttr" default=""/> | |
25069 | <param name="col" type="int" default=""/> | |
25070 | </paramlist> | |
25071 | </method> | |
25072 | <method name="UpdateAttrRows" type="" overloaded="no"> | |
25073 | <autodoc>UpdateAttrRows(size_t pos, int numRows)</autodoc> | |
25074 | <paramlist> | |
25075 | <param name="pos" type="size_t" default=""/> | |
25076 | <param name="numRows" type="int" default=""/> | |
25077 | </paramlist> | |
25078 | </method> | |
25079 | <method name="UpdateAttrCols" type="" overloaded="no"> | |
25080 | <autodoc>UpdateAttrCols(size_t pos, int numCols)</autodoc> | |
25081 | <paramlist> | |
25082 | <param name="pos" type="size_t" default=""/> | |
25083 | <param name="numCols" type="int" default=""/> | |
25084 | </paramlist> | |
25085 | </method> | |
25086 | </class> | |
25087 | <class name="PyGridCellAttrProvider" oldname="wxPyGridCellAttrProvider" module="grid"> | |
25088 | <baseclass name="GridCellAttrProvider"/> | |
25089 | <constructor name="PyGridCellAttrProvider" overloaded="no"> | |
25090 | <autodoc>__init__() -> PyGridCellAttrProvider</autodoc> | |
25091 | </constructor> | |
25092 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
25093 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
25094 | <paramlist> | |
25095 | <param name="self" type="PyObject" default=""/> | |
25096 | <param name="_class" type="PyObject" default=""/> | |
25097 | </paramlist> | |
25098 | </method> | |
25099 | <method name="base_GetAttr" type="GridCellAttr" overloaded="no"> | |
25100 | <autodoc>base_GetAttr(int row, int col, int kind) -> GridCellAttr</autodoc> | |
25101 | <paramlist> | |
25102 | <param name="row" type="int" default=""/> | |
25103 | <param name="col" type="int" default=""/> | |
25104 | <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/> | |
25105 | </paramlist> | |
25106 | </method> | |
25107 | <method name="base_SetAttr" type="" overloaded="no"> | |
25108 | <autodoc>base_SetAttr(GridCellAttr attr, int row, int col)</autodoc> | |
25109 | <paramlist> | |
25110 | <param name="attr" type="GridCellAttr" default=""/> | |
25111 | <param name="row" type="int" default=""/> | |
25112 | <param name="col" type="int" default=""/> | |
25113 | </paramlist> | |
25114 | </method> | |
25115 | <method name="base_SetRowAttr" type="" overloaded="no"> | |
25116 | <autodoc>base_SetRowAttr(GridCellAttr attr, int row)</autodoc> | |
25117 | <paramlist> | |
25118 | <param name="attr" type="GridCellAttr" default=""/> | |
25119 | <param name="row" type="int" default=""/> | |
25120 | </paramlist> | |
25121 | </method> | |
25122 | <method name="base_SetColAttr" type="" overloaded="no"> | |
25123 | <autodoc>base_SetColAttr(GridCellAttr attr, int col)</autodoc> | |
25124 | <paramlist> | |
25125 | <param name="attr" type="GridCellAttr" default=""/> | |
25126 | <param name="col" type="int" default=""/> | |
25127 | </paramlist> | |
25128 | </method> | |
25129 | </class> | |
25130 | <class name="GridTableBase" oldname="wxGridTableBase" module="grid"> | |
25131 | <baseclass name="Object"/> | |
25132 | <method name="_setOORInfo" type="" overloaded="no"> | |
25133 | <autodoc>_setOORInfo(PyObject _self)</autodoc> | |
25134 | <paramlist> | |
25135 | <param name="_self" type="PyObject" default=""/> | |
25136 | </paramlist> | |
25137 | </method> | |
25138 | <method name="SetAttrProvider" type="" overloaded="no"> | |
25139 | <autodoc>SetAttrProvider(GridCellAttrProvider attrProvider)</autodoc> | |
25140 | <paramlist> | |
25141 | <param name="attrProvider" type="GridCellAttrProvider" default=""/> | |
25142 | </paramlist> | |
25143 | </method> | |
25144 | <method name="GetAttrProvider" type="GridCellAttrProvider" overloaded="no"> | |
25145 | <autodoc>GetAttrProvider() -> GridCellAttrProvider</autodoc> | |
25146 | </method> | |
25147 | <method name="SetView" type="" overloaded="no"> | |
25148 | <autodoc>SetView(Grid grid)</autodoc> | |
25149 | <paramlist> | |
25150 | <param name="grid" type="wxGrid" default=""/> | |
25151 | </paramlist> | |
25152 | </method> | |
25153 | <method name="GetView" type="wxGrid" overloaded="no"> | |
25154 | <autodoc>GetView() -> Grid</autodoc> | |
25155 | </method> | |
25156 | <method name="GetNumberRows" type="int" overloaded="no"> | |
25157 | <autodoc>GetNumberRows() -> int</autodoc> | |
25158 | </method> | |
25159 | <method name="GetNumberCols" type="int" overloaded="no"> | |
25160 | <autodoc>GetNumberCols() -> int</autodoc> | |
25161 | </method> | |
25162 | <method name="IsEmptyCell" type="bool" overloaded="no"> | |
25163 | <autodoc>IsEmptyCell(int row, int col) -> bool</autodoc> | |
25164 | <paramlist> | |
25165 | <param name="row" type="int" default=""/> | |
25166 | <param name="col" type="int" default=""/> | |
25167 | </paramlist> | |
25168 | </method> | |
25169 | <method name="GetValue" type="String" overloaded="no"> | |
25170 | <autodoc>GetValue(int row, int col) -> String</autodoc> | |
25171 | <paramlist> | |
25172 | <param name="row" type="int" default=""/> | |
25173 | <param name="col" type="int" default=""/> | |
25174 | </paramlist> | |
25175 | </method> | |
25176 | <method name="SetValue" type="" overloaded="no"> | |
25177 | <autodoc>SetValue(int row, int col, String value)</autodoc> | |
25178 | <paramlist> | |
25179 | <param name="row" type="int" default=""/> | |
25180 | <param name="col" type="int" default=""/> | |
25181 | <param name="value" type="String" default=""/> | |
25182 | </paramlist> | |
25183 | </method> | |
25184 | <method name="GetTypeName" type="String" overloaded="no"> | |
25185 | <autodoc>GetTypeName(int row, int col) -> String</autodoc> | |
25186 | <paramlist> | |
25187 | <param name="row" type="int" default=""/> | |
25188 | <param name="col" type="int" default=""/> | |
25189 | </paramlist> | |
25190 | </method> | |
25191 | <method name="CanGetValueAs" type="bool" overloaded="no"> | |
25192 | <autodoc>CanGetValueAs(int row, int col, String typeName) -> bool</autodoc> | |
25193 | <paramlist> | |
25194 | <param name="row" type="int" default=""/> | |
25195 | <param name="col" type="int" default=""/> | |
25196 | <param name="typeName" type="String" default=""/> | |
25197 | </paramlist> | |
25198 | </method> | |
25199 | <method name="CanSetValueAs" type="bool" overloaded="no"> | |
25200 | <autodoc>CanSetValueAs(int row, int col, String typeName) -> bool</autodoc> | |
25201 | <paramlist> | |
25202 | <param name="row" type="int" default=""/> | |
25203 | <param name="col" type="int" default=""/> | |
25204 | <param name="typeName" type="String" default=""/> | |
25205 | </paramlist> | |
25206 | </method> | |
25207 | <method name="GetValueAsLong" type="long" overloaded="no"> | |
25208 | <autodoc>GetValueAsLong(int row, int col) -> long</autodoc> | |
25209 | <paramlist> | |
25210 | <param name="row" type="int" default=""/> | |
25211 | <param name="col" type="int" default=""/> | |
25212 | </paramlist> | |
25213 | </method> | |
25214 | <method name="GetValueAsDouble" type="double" overloaded="no"> | |
25215 | <autodoc>GetValueAsDouble(int row, int col) -> double</autodoc> | |
25216 | <paramlist> | |
25217 | <param name="row" type="int" default=""/> | |
25218 | <param name="col" type="int" default=""/> | |
25219 | </paramlist> | |
25220 | </method> | |
25221 | <method name="GetValueAsBool" type="bool" overloaded="no"> | |
25222 | <autodoc>GetValueAsBool(int row, int col) -> bool</autodoc> | |
25223 | <paramlist> | |
25224 | <param name="row" type="int" default=""/> | |
25225 | <param name="col" type="int" default=""/> | |
25226 | </paramlist> | |
25227 | </method> | |
25228 | <method name="SetValueAsLong" type="" overloaded="no"> | |
25229 | <autodoc>SetValueAsLong(int row, int col, long value)</autodoc> | |
25230 | <paramlist> | |
25231 | <param name="row" type="int" default=""/> | |
25232 | <param name="col" type="int" default=""/> | |
25233 | <param name="value" type="long" default=""/> | |
25234 | </paramlist> | |
25235 | </method> | |
25236 | <method name="SetValueAsDouble" type="" overloaded="no"> | |
25237 | <autodoc>SetValueAsDouble(int row, int col, double value)</autodoc> | |
25238 | <paramlist> | |
25239 | <param name="row" type="int" default=""/> | |
25240 | <param name="col" type="int" default=""/> | |
25241 | <param name="value" type="double" default=""/> | |
25242 | </paramlist> | |
25243 | </method> | |
25244 | <method name="SetValueAsBool" type="" overloaded="no"> | |
25245 | <autodoc>SetValueAsBool(int row, int col, bool value)</autodoc> | |
25246 | <paramlist> | |
25247 | <param name="row" type="int" default=""/> | |
25248 | <param name="col" type="int" default=""/> | |
25249 | <param name="value" type="bool" default=""/> | |
25250 | </paramlist> | |
25251 | </method> | |
25252 | <method name="Clear" type="" overloaded="no"> | |
25253 | <autodoc>Clear()</autodoc> | |
25254 | </method> | |
25255 | <method name="InsertRows" type="bool" overloaded="no"> | |
25256 | <autodoc>InsertRows(size_t pos=0, size_t numRows=1) -> bool</autodoc> | |
25257 | <paramlist> | |
25258 | <param name="pos" type="size_t" default="0"/> | |
25259 | <param name="numRows" type="size_t" default="1"/> | |
25260 | </paramlist> | |
25261 | </method> | |
25262 | <method name="AppendRows" type="bool" overloaded="no"> | |
25263 | <autodoc>AppendRows(size_t numRows=1) -> bool</autodoc> | |
25264 | <paramlist> | |
25265 | <param name="numRows" type="size_t" default="1"/> | |
25266 | </paramlist> | |
25267 | </method> | |
25268 | <method name="DeleteRows" type="bool" overloaded="no"> | |
25269 | <autodoc>DeleteRows(size_t pos=0, size_t numRows=1) -> bool</autodoc> | |
25270 | <paramlist> | |
25271 | <param name="pos" type="size_t" default="0"/> | |
25272 | <param name="numRows" type="size_t" default="1"/> | |
25273 | </paramlist> | |
25274 | </method> | |
25275 | <method name="InsertCols" type="bool" overloaded="no"> | |
25276 | <autodoc>InsertCols(size_t pos=0, size_t numCols=1) -> bool</autodoc> | |
25277 | <paramlist> | |
25278 | <param name="pos" type="size_t" default="0"/> | |
25279 | <param name="numCols" type="size_t" default="1"/> | |
25280 | </paramlist> | |
25281 | </method> | |
25282 | <method name="AppendCols" type="bool" overloaded="no"> | |
25283 | <autodoc>AppendCols(size_t numCols=1) -> bool</autodoc> | |
25284 | <paramlist> | |
25285 | <param name="numCols" type="size_t" default="1"/> | |
25286 | </paramlist> | |
25287 | </method> | |
25288 | <method name="DeleteCols" type="bool" overloaded="no"> | |
25289 | <autodoc>DeleteCols(size_t pos=0, size_t numCols=1) -> bool</autodoc> | |
25290 | <paramlist> | |
25291 | <param name="pos" type="size_t" default="0"/> | |
25292 | <param name="numCols" type="size_t" default="1"/> | |
25293 | </paramlist> | |
25294 | </method> | |
25295 | <method name="GetRowLabelValue" type="String" overloaded="no"> | |
25296 | <autodoc>GetRowLabelValue(int row) -> String</autodoc> | |
25297 | <paramlist> | |
25298 | <param name="row" type="int" default=""/> | |
25299 | </paramlist> | |
25300 | </method> | |
25301 | <method name="GetColLabelValue" type="String" overloaded="no"> | |
25302 | <autodoc>GetColLabelValue(int col) -> String</autodoc> | |
25303 | <paramlist> | |
25304 | <param name="col" type="int" default=""/> | |
25305 | </paramlist> | |
25306 | </method> | |
25307 | <method name="SetRowLabelValue" type="" overloaded="no"> | |
25308 | <autodoc>SetRowLabelValue(int row, String value)</autodoc> | |
25309 | <paramlist> | |
25310 | <param name="row" type="int" default=""/> | |
25311 | <param name="value" type="String" default=""/> | |
25312 | </paramlist> | |
25313 | </method> | |
25314 | <method name="SetColLabelValue" type="" overloaded="no"> | |
25315 | <autodoc>SetColLabelValue(int col, String value)</autodoc> | |
25316 | <paramlist> | |
25317 | <param name="col" type="int" default=""/> | |
25318 | <param name="value" type="String" default=""/> | |
25319 | </paramlist> | |
25320 | </method> | |
25321 | <method name="CanHaveAttributes" type="bool" overloaded="no"> | |
25322 | <autodoc>CanHaveAttributes() -> bool</autodoc> | |
25323 | </method> | |
25324 | <method name="GetAttr" type="GridCellAttr" overloaded="no"> | |
25325 | <autodoc>GetAttr(int row, int col, int kind) -> GridCellAttr</autodoc> | |
25326 | <paramlist> | |
25327 | <param name="row" type="int" default=""/> | |
25328 | <param name="col" type="int" default=""/> | |
25329 | <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/> | |
25330 | </paramlist> | |
25331 | </method> | |
25332 | <method name="SetAttr" type="" overloaded="no"> | |
25333 | <autodoc>SetAttr(GridCellAttr attr, int row, int col)</autodoc> | |
25334 | <paramlist> | |
25335 | <param name="attr" type="GridCellAttr" default=""/> | |
25336 | <param name="row" type="int" default=""/> | |
25337 | <param name="col" type="int" default=""/> | |
25338 | </paramlist> | |
25339 | </method> | |
25340 | <method name="SetRowAttr" type="" overloaded="no"> | |
25341 | <autodoc>SetRowAttr(GridCellAttr attr, int row)</autodoc> | |
25342 | <paramlist> | |
25343 | <param name="attr" type="GridCellAttr" default=""/> | |
25344 | <param name="row" type="int" default=""/> | |
25345 | </paramlist> | |
25346 | </method> | |
25347 | <method name="SetColAttr" type="" overloaded="no"> | |
25348 | <autodoc>SetColAttr(GridCellAttr attr, int col)</autodoc> | |
25349 | <paramlist> | |
25350 | <param name="attr" type="GridCellAttr" default=""/> | |
25351 | <param name="col" type="int" default=""/> | |
25352 | </paramlist> | |
25353 | </method> | |
25354 | </class> | |
25355 | <class name="PyGridTableBase" oldname="wxPyGridTableBase" module="grid"> | |
25356 | <baseclass name="GridTableBase"/> | |
25357 | <constructor name="PyGridTableBase" overloaded="no"> | |
25358 | <autodoc>__init__() -> PyGridTableBase</autodoc> | |
25359 | </constructor> | |
25360 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
25361 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
25362 | <paramlist> | |
25363 | <param name="self" type="PyObject" default=""/> | |
25364 | <param name="_class" type="PyObject" default=""/> | |
25365 | </paramlist> | |
25366 | </method> | |
25367 | <method name="Destroy" type="" overloaded="no"> | |
25368 | <autodoc>Destroy()</autodoc> | |
25369 | <docstring>Deletes the C++ object this Python object is a proxy for.</docstring> | |
25370 | </method> | |
25371 | <method name="base_GetTypeName" type="String" overloaded="no"> | |
25372 | <autodoc>base_GetTypeName(int row, int col) -> String</autodoc> | |
25373 | <paramlist> | |
25374 | <param name="row" type="int" default=""/> | |
25375 | <param name="col" type="int" default=""/> | |
25376 | </paramlist> | |
25377 | </method> | |
25378 | <method name="base_CanGetValueAs" type="bool" overloaded="no"> | |
25379 | <autodoc>base_CanGetValueAs(int row, int col, String typeName) -> bool</autodoc> | |
25380 | <paramlist> | |
25381 | <param name="row" type="int" default=""/> | |
25382 | <param name="col" type="int" default=""/> | |
25383 | <param name="typeName" type="String" default=""/> | |
25384 | </paramlist> | |
25385 | </method> | |
25386 | <method name="base_CanSetValueAs" type="bool" overloaded="no"> | |
25387 | <autodoc>base_CanSetValueAs(int row, int col, String typeName) -> bool</autodoc> | |
25388 | <paramlist> | |
25389 | <param name="row" type="int" default=""/> | |
25390 | <param name="col" type="int" default=""/> | |
25391 | <param name="typeName" type="String" default=""/> | |
25392 | </paramlist> | |
25393 | </method> | |
25394 | <method name="base_Clear" type="" overloaded="no"> | |
25395 | <autodoc>base_Clear()</autodoc> | |
25396 | </method> | |
25397 | <method name="base_InsertRows" type="bool" overloaded="no"> | |
25398 | <autodoc>base_InsertRows(size_t pos=0, size_t numRows=1) -> bool</autodoc> | |
25399 | <paramlist> | |
25400 | <param name="pos" type="size_t" default="0"/> | |
25401 | <param name="numRows" type="size_t" default="1"/> | |
25402 | </paramlist> | |
25403 | </method> | |
25404 | <method name="base_AppendRows" type="bool" overloaded="no"> | |
25405 | <autodoc>base_AppendRows(size_t numRows=1) -> bool</autodoc> | |
25406 | <paramlist> | |
25407 | <param name="numRows" type="size_t" default="1"/> | |
25408 | </paramlist> | |
25409 | </method> | |
25410 | <method name="base_DeleteRows" type="bool" overloaded="no"> | |
25411 | <autodoc>base_DeleteRows(size_t pos=0, size_t numRows=1) -> bool</autodoc> | |
25412 | <paramlist> | |
25413 | <param name="pos" type="size_t" default="0"/> | |
25414 | <param name="numRows" type="size_t" default="1"/> | |
25415 | </paramlist> | |
25416 | </method> | |
25417 | <method name="base_InsertCols" type="bool" overloaded="no"> | |
25418 | <autodoc>base_InsertCols(size_t pos=0, size_t numCols=1) -> bool</autodoc> | |
25419 | <paramlist> | |
25420 | <param name="pos" type="size_t" default="0"/> | |
25421 | <param name="numCols" type="size_t" default="1"/> | |
25422 | </paramlist> | |
25423 | </method> | |
25424 | <method name="base_AppendCols" type="bool" overloaded="no"> | |
25425 | <autodoc>base_AppendCols(size_t numCols=1) -> bool</autodoc> | |
25426 | <paramlist> | |
25427 | <param name="numCols" type="size_t" default="1"/> | |
25428 | </paramlist> | |
25429 | </method> | |
25430 | <method name="base_DeleteCols" type="bool" overloaded="no"> | |
25431 | <autodoc>base_DeleteCols(size_t pos=0, size_t numCols=1) -> bool</autodoc> | |
25432 | <paramlist> | |
25433 | <param name="pos" type="size_t" default="0"/> | |
25434 | <param name="numCols" type="size_t" default="1"/> | |
25435 | </paramlist> | |
25436 | </method> | |
25437 | <method name="base_GetRowLabelValue" type="String" overloaded="no"> | |
25438 | <autodoc>base_GetRowLabelValue(int row) -> String</autodoc> | |
25439 | <paramlist> | |
25440 | <param name="row" type="int" default=""/> | |
25441 | </paramlist> | |
25442 | </method> | |
25443 | <method name="base_GetColLabelValue" type="String" overloaded="no"> | |
25444 | <autodoc>base_GetColLabelValue(int col) -> String</autodoc> | |
25445 | <paramlist> | |
25446 | <param name="col" type="int" default=""/> | |
25447 | </paramlist> | |
25448 | </method> | |
25449 | <method name="base_SetRowLabelValue" type="" overloaded="no"> | |
25450 | <autodoc>base_SetRowLabelValue(int row, String value)</autodoc> | |
25451 | <paramlist> | |
25452 | <param name="row" type="int" default=""/> | |
25453 | <param name="value" type="String" default=""/> | |
25454 | </paramlist> | |
25455 | </method> | |
25456 | <method name="base_SetColLabelValue" type="" overloaded="no"> | |
25457 | <autodoc>base_SetColLabelValue(int col, String value)</autodoc> | |
25458 | <paramlist> | |
25459 | <param name="col" type="int" default=""/> | |
25460 | <param name="value" type="String" default=""/> | |
25461 | </paramlist> | |
25462 | </method> | |
25463 | <method name="base_CanHaveAttributes" type="bool" overloaded="no"> | |
25464 | <autodoc>base_CanHaveAttributes() -> bool</autodoc> | |
25465 | </method> | |
25466 | <method name="base_GetAttr" type="GridCellAttr" overloaded="no"> | |
25467 | <autodoc>base_GetAttr(int row, int col, int kind) -> GridCellAttr</autodoc> | |
25468 | <paramlist> | |
25469 | <param name="row" type="int" default=""/> | |
25470 | <param name="col" type="int" default=""/> | |
25471 | <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/> | |
25472 | </paramlist> | |
25473 | </method> | |
25474 | <method name="base_SetAttr" type="" overloaded="no"> | |
25475 | <autodoc>base_SetAttr(GridCellAttr attr, int row, int col)</autodoc> | |
25476 | <paramlist> | |
25477 | <param name="attr" type="GridCellAttr" default=""/> | |
25478 | <param name="row" type="int" default=""/> | |
25479 | <param name="col" type="int" default=""/> | |
25480 | </paramlist> | |
25481 | </method> | |
25482 | <method name="base_SetRowAttr" type="" overloaded="no"> | |
25483 | <autodoc>base_SetRowAttr(GridCellAttr attr, int row)</autodoc> | |
25484 | <paramlist> | |
25485 | <param name="attr" type="GridCellAttr" default=""/> | |
25486 | <param name="row" type="int" default=""/> | |
25487 | </paramlist> | |
25488 | </method> | |
25489 | <method name="base_SetColAttr" type="" overloaded="no"> | |
25490 | <autodoc>base_SetColAttr(GridCellAttr attr, int col)</autodoc> | |
25491 | <paramlist> | |
25492 | <param name="attr" type="GridCellAttr" default=""/> | |
25493 | <param name="col" type="int" default=""/> | |
25494 | </paramlist> | |
25495 | </method> | |
25496 | </class> | |
25497 | <class name="GridStringTable" oldname="wxGridStringTable" module="grid"> | |
25498 | <baseclass name="GridTableBase"/> | |
25499 | <constructor name="GridStringTable" overloaded="no"> | |
25500 | <autodoc>__init__(int numRows=0, int numCols=0) -> GridStringTable</autodoc> | |
25501 | <paramlist> | |
25502 | <param name="numRows" type="int" default="0"/> | |
25503 | <param name="numCols" type="int" default="0"/> | |
25504 | </paramlist> | |
25505 | </constructor> | |
25506 | </class> | |
25507 | <class name="GridTableMessage" oldname="wxGridTableMessage" module="grid"> | |
25508 | <constructor name="GridTableMessage" overloaded="no"> | |
25509 | <autodoc>__init__(GridTableBase table, int id, int comInt1=-1, int comInt2=-1) -> GridTableMessage</autodoc> | |
25510 | <paramlist> | |
25511 | <param name="table" type="GridTableBase" default=""/> | |
25512 | <param name="id" type="int" default=""/> | |
25513 | <param name="comInt1" type="int" default="-1"/> | |
25514 | <param name="comInt2" type="int" default="-1"/> | |
25515 | </paramlist> | |
25516 | </constructor> | |
25517 | <destructor name="~wxGridTableMessage" overloaded="no"> | |
25518 | <autodoc>__del__()</autodoc> | |
25519 | </destructor> | |
25520 | <method name="SetTableObject" type="" overloaded="no"> | |
25521 | <autodoc>SetTableObject(GridTableBase table)</autodoc> | |
25522 | <paramlist> | |
25523 | <param name="table" type="GridTableBase" default=""/> | |
25524 | </paramlist> | |
25525 | </method> | |
25526 | <method name="GetTableObject" type="GridTableBase" overloaded="no"> | |
25527 | <autodoc>GetTableObject() -> GridTableBase</autodoc> | |
25528 | </method> | |
25529 | <method name="SetId" type="" overloaded="no"> | |
25530 | <autodoc>SetId(int id)</autodoc> | |
25531 | <paramlist> | |
25532 | <param name="id" type="int" default=""/> | |
25533 | </paramlist> | |
25534 | </method> | |
25535 | <method name="GetId" type="int" overloaded="no"> | |
25536 | <autodoc>GetId() -> int</autodoc> | |
25537 | </method> | |
25538 | <method name="SetCommandInt" type="" overloaded="no"> | |
25539 | <autodoc>SetCommandInt(int comInt1)</autodoc> | |
25540 | <paramlist> | |
25541 | <param name="comInt1" type="int" default=""/> | |
25542 | </paramlist> | |
25543 | </method> | |
25544 | <method name="GetCommandInt" type="int" overloaded="no"> | |
25545 | <autodoc>GetCommandInt() -> int</autodoc> | |
25546 | </method> | |
25547 | <method name="SetCommandInt2" type="" overloaded="no"> | |
25548 | <autodoc>SetCommandInt2(int comInt2)</autodoc> | |
25549 | <paramlist> | |
25550 | <param name="comInt2" type="int" default=""/> | |
25551 | </paramlist> | |
25552 | </method> | |
25553 | <method name="GetCommandInt2" type="int" overloaded="no"> | |
25554 | <autodoc>GetCommandInt2() -> int</autodoc> | |
25555 | </method> | |
25556 | </class> | |
25557 | <class name="GridCellCoords" oldname="wxGridCellCoords" module="grid"> | |
25558 | <constructor name="GridCellCoords" overloaded="no"> | |
25559 | <autodoc>__init__(int r=-1, int c=-1) -> GridCellCoords</autodoc> | |
25560 | <paramlist> | |
25561 | <param name="r" type="int" default="-1"/> | |
25562 | <param name="c" type="int" default="-1"/> | |
25563 | </paramlist> | |
25564 | </constructor> | |
25565 | <destructor name="~wxGridCellCoords" overloaded="no"> | |
25566 | <autodoc>__del__()</autodoc> | |
25567 | </destructor> | |
25568 | <method name="GetRow" type="int" overloaded="no"> | |
25569 | <autodoc>GetRow() -> int</autodoc> | |
25570 | </method> | |
25571 | <method name="SetRow" type="" overloaded="no"> | |
25572 | <autodoc>SetRow(int n)</autodoc> | |
25573 | <paramlist> | |
25574 | <param name="n" type="int" default=""/> | |
25575 | </paramlist> | |
25576 | </method> | |
25577 | <method name="GetCol" type="int" overloaded="no"> | |
25578 | <autodoc>GetCol() -> int</autodoc> | |
25579 | </method> | |
25580 | <method name="SetCol" type="" overloaded="no"> | |
25581 | <autodoc>SetCol(int n)</autodoc> | |
25582 | <paramlist> | |
25583 | <param name="n" type="int" default=""/> | |
25584 | </paramlist> | |
25585 | </method> | |
25586 | <method name="Set" type="" overloaded="no"> | |
25587 | <autodoc>Set(int row, int col)</autodoc> | |
25588 | <paramlist> | |
25589 | <param name="row" type="int" default=""/> | |
25590 | <param name="col" type="int" default=""/> | |
25591 | </paramlist> | |
25592 | </method> | |
25593 | <method name="__eq__" type="bool" overloaded="no"> | |
25594 | <autodoc>__eq__(GridCellCoords other) -> bool</autodoc> | |
25595 | <paramlist> | |
25596 | <param name="other" type="GridCellCoords" default=""/> | |
25597 | </paramlist> | |
25598 | </method> | |
25599 | <method name="__ne__" type="bool" overloaded="no"> | |
25600 | <autodoc>__ne__(GridCellCoords other) -> bool</autodoc> | |
25601 | <paramlist> | |
25602 | <param name="other" type="GridCellCoords" default=""/> | |
25603 | </paramlist> | |
25604 | </method> | |
25605 | <method name="asTuple" type="PyObject" overloaded="no"> | |
25606 | <autodoc>asTuple() -> PyObject</autodoc> | |
25607 | </method> | |
25608 | </class> | |
25609 | <class name="Grid" oldname="wxGrid" module="grid"> | |
25610 | <baseclass name="ScrolledWindow"/> | |
25611 | <constructor name="Grid" overloaded="no"> | |
25612 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
25613 | long style=WANTS_CHARS, | |
25614 | String name=PanelNameStr) -> Grid</autodoc> | |
25615 | <paramlist> | |
25616 | <param name="parent" type="Window" default=""/> | |
25617 | <param name="id" type="int" default=""/> | |
25618 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
25619 | <param name="size" type="Size" default="wxDefaultSize"/> | |
25620 | <param name="style" type="long" default="wxWANTS_CHARS"/> | |
25621 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
25622 | </paramlist> | |
25623 | </constructor> | |
25624 | <method name="CreateGrid" type="bool" overloaded="no"> | |
25625 | <autodoc>CreateGrid(int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool</autodoc> | |
25626 | <paramlist> | |
25627 | <param name="numRows" type="int" default=""/> | |
25628 | <param name="numCols" type="int" default=""/> | |
25629 | <param name="selmode" type="WXGRIDSELECTIONMODES" default="wxGrid::wxGridSelectCells"/> | |
25630 | </paramlist> | |
25631 | </method> | |
25632 | <method name="SetSelectionMode" type="" overloaded="no"> | |
25633 | <autodoc>SetSelectionMode(WXGRIDSELECTIONMODES selmode)</autodoc> | |
25634 | <paramlist> | |
25635 | <param name="selmode" type="WXGRIDSELECTIONMODES" default=""/> | |
25636 | </paramlist> | |
25637 | </method> | |
25638 | <method name="GetSelectionMode" type="WXGRIDSELECTIONMODES" overloaded="no"> | |
25639 | <autodoc>GetSelectionMode() -> WXGRIDSELECTIONMODES</autodoc> | |
25640 | </method> | |
25641 | <method name="GetNumberRows" type="int" overloaded="no"> | |
25642 | <autodoc>GetNumberRows() -> int</autodoc> | |
25643 | </method> | |
25644 | <method name="GetNumberCols" type="int" overloaded="no"> | |
25645 | <autodoc>GetNumberCols() -> int</autodoc> | |
25646 | </method> | |
25647 | <method name="ProcessTableMessage" type="bool" overloaded="no"> | |
25648 | <autodoc>ProcessTableMessage(GridTableMessage ??) -> bool</autodoc> | |
25649 | <paramlist> | |
25650 | <param name="" type="GridTableMessage" default=""/> | |
25651 | </paramlist> | |
25652 | </method> | |
25653 | <method name="GetTable" type="GridTableBase" overloaded="no"> | |
25654 | <autodoc>GetTable() -> GridTableBase</autodoc> | |
25655 | </method> | |
25656 | <method name="SetTable" type="bool" overloaded="no"> | |
25657 | <autodoc>SetTable(GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool</autodoc> | |
25658 | <paramlist> | |
25659 | <param name="table" type="GridTableBase" default=""/> | |
25660 | <param name="takeOwnership" type="bool" default="False"/> | |
25661 | <param name="selmode" type="WXGRIDSELECTIONMODES" default="wxGrid::wxGridSelectCells"/> | |
25662 | </paramlist> | |
25663 | </method> | |
25664 | <method name="ClearGrid" type="" overloaded="no"> | |
25665 | <autodoc>ClearGrid()</autodoc> | |
25666 | </method> | |
25667 | <method name="InsertRows" type="bool" overloaded="no"> | |
25668 | <autodoc>InsertRows(int pos=0, int numRows=1, bool updateLabels=True) -> bool</autodoc> | |
25669 | <paramlist> | |
25670 | <param name="pos" type="int" default="0"/> | |
25671 | <param name="numRows" type="int" default="1"/> | |
25672 | <param name="updateLabels" type="bool" default="True"/> | |
25673 | </paramlist> | |
25674 | </method> | |
25675 | <method name="AppendRows" type="bool" overloaded="no"> | |
25676 | <autodoc>AppendRows(int numRows=1, bool updateLabels=True) -> bool</autodoc> | |
25677 | <paramlist> | |
25678 | <param name="numRows" type="int" default="1"/> | |
25679 | <param name="updateLabels" type="bool" default="True"/> | |
25680 | </paramlist> | |
25681 | </method> | |
25682 | <method name="DeleteRows" type="bool" overloaded="no"> | |
25683 | <autodoc>DeleteRows(int pos=0, int numRows=1, bool updateLabels=True) -> bool</autodoc> | |
25684 | <paramlist> | |
25685 | <param name="pos" type="int" default="0"/> | |
25686 | <param name="numRows" type="int" default="1"/> | |
25687 | <param name="updateLabels" type="bool" default="True"/> | |
25688 | </paramlist> | |
25689 | </method> | |
25690 | <method name="InsertCols" type="bool" overloaded="no"> | |
25691 | <autodoc>InsertCols(int pos=0, int numCols=1, bool updateLabels=True) -> bool</autodoc> | |
25692 | <paramlist> | |
25693 | <param name="pos" type="int" default="0"/> | |
25694 | <param name="numCols" type="int" default="1"/> | |
25695 | <param name="updateLabels" type="bool" default="True"/> | |
25696 | </paramlist> | |
25697 | </method> | |
25698 | <method name="AppendCols" type="bool" overloaded="no"> | |
25699 | <autodoc>AppendCols(int numCols=1, bool updateLabels=True) -> bool</autodoc> | |
25700 | <paramlist> | |
25701 | <param name="numCols" type="int" default="1"/> | |
25702 | <param name="updateLabels" type="bool" default="True"/> | |
25703 | </paramlist> | |
25704 | </method> | |
25705 | <method name="DeleteCols" type="bool" overloaded="no"> | |
25706 | <autodoc>DeleteCols(int pos=0, int numCols=1, bool updateLabels=True) -> bool</autodoc> | |
25707 | <paramlist> | |
25708 | <param name="pos" type="int" default="0"/> | |
25709 | <param name="numCols" type="int" default="1"/> | |
25710 | <param name="updateLabels" type="bool" default="True"/> | |
25711 | </paramlist> | |
25712 | </method> | |
25713 | <method name="DrawCellHighlight" type="" overloaded="no"> | |
25714 | <autodoc>DrawCellHighlight(DC dc, GridCellAttr attr)</autodoc> | |
25715 | <paramlist> | |
25716 | <param name="dc" type="DC" default=""/> | |
25717 | <param name="attr" type="GridCellAttr" default=""/> | |
25718 | </paramlist> | |
25719 | </method> | |
25720 | <method name="DrawTextRectangle" type="" overloaded="no"> | |
25721 | <autodoc>DrawTextRectangle(DC dc, String ??, Rect ??, int horizontalAlignment=LEFT, | |
25722 | int verticalAlignment=TOP, int textOrientation=HORIZONTAL)</autodoc> | |
25723 | <paramlist> | |
25724 | <param name="dc" type="DC" default=""/> | |
25725 | <param name="" type="String" default=""/> | |
25726 | <param name="" type="Rect" default=""/> | |
25727 | <param name="horizontalAlignment" type="int" default="wxLEFT"/> | |
25728 | <param name="verticalAlignment" type="int" default="wxTOP"/> | |
25729 | <param name="textOrientation" type="int" default="wxHORIZONTAL"/> | |
25730 | </paramlist> | |
25731 | </method> | |
25732 | <method name="GetTextBoxSize" type="" overloaded="no"> | |
25733 | <autodoc>GetTextBoxSize(DC dc, list lines) -> (width, height)</autodoc> | |
25734 | <paramlist> | |
25735 | <param name="dc" type="DC" default=""/> | |
25736 | <param name="lines" type="wxArrayString" default=""/> | |
25737 | <param name="OUTPUT" type="long" default=""/> | |
25738 | <param name="OUTPUT" type="long" default=""/> | |
25739 | </paramlist> | |
25740 | </method> | |
25741 | <method name="BeginBatch" type="" overloaded="no"> | |
25742 | <autodoc>BeginBatch()</autodoc> | |
25743 | </method> | |
25744 | <method name="EndBatch" type="" overloaded="no"> | |
25745 | <autodoc>EndBatch()</autodoc> | |
25746 | </method> | |
25747 | <method name="GetBatchCount" type="int" overloaded="no"> | |
25748 | <autodoc>GetBatchCount() -> int</autodoc> | |
25749 | </method> | |
25750 | <method name="ForceRefresh" type="" overloaded="no"> | |
25751 | <autodoc>ForceRefresh()</autodoc> | |
25752 | </method> | |
f32fc4bc RD |
25753 | <method name="IsEditable" type="bool" overloaded="no"> |
25754 | <autodoc>IsEditable() -> bool</autodoc> | |
25755 | </method> | |
25756 | <method name="EnableEditing" type="" overloaded="no"> | |
25757 | <autodoc>EnableEditing(bool edit)</autodoc> | |
25758 | <paramlist> | |
25759 | <param name="edit" type="bool" default=""/> | |
25760 | </paramlist> | |
25761 | </method> | |
25762 | <method name="EnableCellEditControl" type="" overloaded="no"> | |
25763 | <autodoc>EnableCellEditControl(bool enable=True)</autodoc> | |
25764 | <paramlist> | |
25765 | <param name="enable" type="bool" default="True"/> | |
25766 | </paramlist> | |
25767 | </method> | |
25768 | <method name="DisableCellEditControl" type="" overloaded="no"> | |
25769 | <autodoc>DisableCellEditControl()</autodoc> | |
25770 | </method> | |
25771 | <method name="CanEnableCellControl" type="bool" overloaded="no"> | |
25772 | <autodoc>CanEnableCellControl() -> bool</autodoc> | |
25773 | </method> | |
25774 | <method name="IsCellEditControlEnabled" type="bool" overloaded="no"> | |
25775 | <autodoc>IsCellEditControlEnabled() -> bool</autodoc> | |
25776 | </method> | |
25777 | <method name="IsCellEditControlShown" type="bool" overloaded="no"> | |
25778 | <autodoc>IsCellEditControlShown() -> bool</autodoc> | |
25779 | </method> | |
25780 | <method name="IsCurrentCellReadOnly" type="bool" overloaded="no"> | |
25781 | <autodoc>IsCurrentCellReadOnly() -> bool</autodoc> | |
25782 | </method> | |
25783 | <method name="ShowCellEditControl" type="" overloaded="no"> | |
25784 | <autodoc>ShowCellEditControl()</autodoc> | |
25785 | </method> | |
25786 | <method name="HideCellEditControl" type="" overloaded="no"> | |
25787 | <autodoc>HideCellEditControl()</autodoc> | |
25788 | </method> | |
25789 | <method name="SaveEditControlValue" type="" overloaded="no"> | |
25790 | <autodoc>SaveEditControlValue()</autodoc> | |
25791 | </method> | |
25792 | <method name="XYToCell" type="GridCellCoords" overloaded="no"> | |
25793 | <autodoc>XYToCell(int x, int y) -> GridCellCoords</autodoc> | |
25794 | <paramlist> | |
25795 | <param name="x" type="int" default=""/> | |
25796 | <param name="y" type="int" default=""/> | |
25797 | </paramlist> | |
25798 | </method> | |
25799 | <method name="YToRow" type="int" overloaded="no"> | |
25800 | <autodoc>YToRow(int y) -> int</autodoc> | |
25801 | <paramlist> | |
25802 | <param name="y" type="int" default=""/> | |
25803 | </paramlist> | |
25804 | </method> | |
25805 | <method name="XToCol" type="int" overloaded="no"> | |
25806 | <autodoc>XToCol(int x) -> int</autodoc> | |
25807 | <paramlist> | |
25808 | <param name="x" type="int" default=""/> | |
25809 | </paramlist> | |
25810 | </method> | |
25811 | <method name="YToEdgeOfRow" type="int" overloaded="no"> | |
25812 | <autodoc>YToEdgeOfRow(int y) -> int</autodoc> | |
25813 | <paramlist> | |
25814 | <param name="y" type="int" default=""/> | |
25815 | </paramlist> | |
25816 | </method> | |
25817 | <method name="XToEdgeOfCol" type="int" overloaded="no"> | |
25818 | <autodoc>XToEdgeOfCol(int x) -> int</autodoc> | |
25819 | <paramlist> | |
25820 | <param name="x" type="int" default=""/> | |
25821 | </paramlist> | |
25822 | </method> | |
25823 | <method name="CellToRect" type="Rect" overloaded="no"> | |
25824 | <autodoc>CellToRect(int row, int col) -> Rect</autodoc> | |
25825 | <paramlist> | |
25826 | <param name="row" type="int" default=""/> | |
25827 | <param name="col" type="int" default=""/> | |
25828 | </paramlist> | |
25829 | </method> | |
25830 | <method name="GetGridCursorRow" type="int" overloaded="no"> | |
25831 | <autodoc>GetGridCursorRow() -> int</autodoc> | |
25832 | </method> | |
25833 | <method name="GetGridCursorCol" type="int" overloaded="no"> | |
25834 | <autodoc>GetGridCursorCol() -> int</autodoc> | |
25835 | </method> | |
25836 | <method name="IsVisible" type="bool" overloaded="no"> | |
25837 | <autodoc>IsVisible(int row, int col, bool wholeCellVisible=True) -> bool</autodoc> | |
25838 | <paramlist> | |
25839 | <param name="row" type="int" default=""/> | |
25840 | <param name="col" type="int" default=""/> | |
25841 | <param name="wholeCellVisible" type="bool" default="True"/> | |
25842 | </paramlist> | |
25843 | </method> | |
25844 | <method name="MakeCellVisible" type="" overloaded="no"> | |
25845 | <autodoc>MakeCellVisible(int row, int col)</autodoc> | |
25846 | <paramlist> | |
25847 | <param name="row" type="int" default=""/> | |
25848 | <param name="col" type="int" default=""/> | |
25849 | </paramlist> | |
25850 | </method> | |
25851 | <method name="SetGridCursor" type="" overloaded="no"> | |
25852 | <autodoc>SetGridCursor(int row, int col)</autodoc> | |
25853 | <paramlist> | |
25854 | <param name="row" type="int" default=""/> | |
25855 | <param name="col" type="int" default=""/> | |
25856 | </paramlist> | |
25857 | </method> | |
25858 | <method name="MoveCursorUp" type="bool" overloaded="no"> | |
25859 | <autodoc>MoveCursorUp(bool expandSelection) -> bool</autodoc> | |
25860 | <paramlist> | |
25861 | <param name="expandSelection" type="bool" default=""/> | |
25862 | </paramlist> | |
25863 | </method> | |
25864 | <method name="MoveCursorDown" type="bool" overloaded="no"> | |
25865 | <autodoc>MoveCursorDown(bool expandSelection) -> bool</autodoc> | |
25866 | <paramlist> | |
25867 | <param name="expandSelection" type="bool" default=""/> | |
25868 | </paramlist> | |
25869 | </method> | |
25870 | <method name="MoveCursorLeft" type="bool" overloaded="no"> | |
25871 | <autodoc>MoveCursorLeft(bool expandSelection) -> bool</autodoc> | |
25872 | <paramlist> | |
25873 | <param name="expandSelection" type="bool" default=""/> | |
25874 | </paramlist> | |
25875 | </method> | |
25876 | <method name="MoveCursorRight" type="bool" overloaded="no"> | |
25877 | <autodoc>MoveCursorRight(bool expandSelection) -> bool</autodoc> | |
25878 | <paramlist> | |
25879 | <param name="expandSelection" type="bool" default=""/> | |
25880 | </paramlist> | |
25881 | </method> | |
25882 | <method name="MovePageDown" type="bool" overloaded="no"> | |
25883 | <autodoc>MovePageDown() -> bool</autodoc> | |
25884 | </method> | |
25885 | <method name="MovePageUp" type="bool" overloaded="no"> | |
25886 | <autodoc>MovePageUp() -> bool</autodoc> | |
25887 | </method> | |
25888 | <method name="MoveCursorUpBlock" type="bool" overloaded="no"> | |
25889 | <autodoc>MoveCursorUpBlock(bool expandSelection) -> bool</autodoc> | |
25890 | <paramlist> | |
25891 | <param name="expandSelection" type="bool" default=""/> | |
25892 | </paramlist> | |
25893 | </method> | |
25894 | <method name="MoveCursorDownBlock" type="bool" overloaded="no"> | |
25895 | <autodoc>MoveCursorDownBlock(bool expandSelection) -> bool</autodoc> | |
25896 | <paramlist> | |
25897 | <param name="expandSelection" type="bool" default=""/> | |
25898 | </paramlist> | |
25899 | </method> | |
25900 | <method name="MoveCursorLeftBlock" type="bool" overloaded="no"> | |
25901 | <autodoc>MoveCursorLeftBlock(bool expandSelection) -> bool</autodoc> | |
25902 | <paramlist> | |
25903 | <param name="expandSelection" type="bool" default=""/> | |
25904 | </paramlist> | |
25905 | </method> | |
25906 | <method name="MoveCursorRightBlock" type="bool" overloaded="no"> | |
25907 | <autodoc>MoveCursorRightBlock(bool expandSelection) -> bool</autodoc> | |
25908 | <paramlist> | |
25909 | <param name="expandSelection" type="bool" default=""/> | |
25910 | </paramlist> | |
25911 | </method> | |
25912 | <method name="GetDefaultRowLabelSize" type="int" overloaded="no"> | |
25913 | <autodoc>GetDefaultRowLabelSize() -> int</autodoc> | |
25914 | </method> | |
25915 | <method name="GetRowLabelSize" type="int" overloaded="no"> | |
25916 | <autodoc>GetRowLabelSize() -> int</autodoc> | |
25917 | </method> | |
25918 | <method name="GetDefaultColLabelSize" type="int" overloaded="no"> | |
25919 | <autodoc>GetDefaultColLabelSize() -> int</autodoc> | |
25920 | </method> | |
25921 | <method name="GetColLabelSize" type="int" overloaded="no"> | |
25922 | <autodoc>GetColLabelSize() -> int</autodoc> | |
25923 | </method> | |
25924 | <method name="GetLabelBackgroundColour" type="Colour" overloaded="no"> | |
25925 | <autodoc>GetLabelBackgroundColour() -> Colour</autodoc> | |
25926 | </method> | |
25927 | <method name="GetLabelTextColour" type="Colour" overloaded="no"> | |
25928 | <autodoc>GetLabelTextColour() -> Colour</autodoc> | |
25929 | </method> | |
25930 | <method name="GetLabelFont" type="Font" overloaded="no"> | |
25931 | <autodoc>GetLabelFont() -> Font</autodoc> | |
25932 | </method> | |
25933 | <method name="GetRowLabelAlignment" type="" overloaded="no"> | |
25934 | <autodoc>GetRowLabelAlignment() -> (horiz, vert)</autodoc> | |
25935 | <paramlist> | |
25936 | <param name="OUTPUT" type="int" default=""/> | |
25937 | <param name="OUTPUT" type="int" default=""/> | |
25938 | </paramlist> | |
25939 | </method> | |
25940 | <method name="GetColLabelAlignment" type="" overloaded="no"> | |
25941 | <autodoc>GetColLabelAlignment() -> (horiz, vert)</autodoc> | |
25942 | <paramlist> | |
25943 | <param name="OUTPUT" type="int" default=""/> | |
25944 | <param name="OUTPUT" type="int" default=""/> | |
25945 | </paramlist> | |
25946 | </method> | |
25947 | <method name="GetColLabelTextOrientation" type="int" overloaded="no"> | |
25948 | <autodoc>GetColLabelTextOrientation() -> int</autodoc> | |
25949 | </method> | |
25950 | <method name="GetRowLabelValue" type="String" overloaded="no"> | |
25951 | <autodoc>GetRowLabelValue(int row) -> String</autodoc> | |
25952 | <paramlist> | |
25953 | <param name="row" type="int" default=""/> | |
25954 | </paramlist> | |
25955 | </method> | |
25956 | <method name="GetColLabelValue" type="String" overloaded="no"> | |
25957 | <autodoc>GetColLabelValue(int col) -> String</autodoc> | |
25958 | <paramlist> | |
25959 | <param name="col" type="int" default=""/> | |
25960 | </paramlist> | |
25961 | </method> | |
25962 | <method name="GetGridLineColour" type="Colour" overloaded="no"> | |
25963 | <autodoc>GetGridLineColour() -> Colour</autodoc> | |
25964 | </method> | |
25965 | <method name="GetCellHighlightColour" type="Colour" overloaded="no"> | |
25966 | <autodoc>GetCellHighlightColour() -> Colour</autodoc> | |
25967 | </method> | |
25968 | <method name="GetCellHighlightPenWidth" type="int" overloaded="no"> | |
25969 | <autodoc>GetCellHighlightPenWidth() -> int</autodoc> | |
25970 | </method> | |
25971 | <method name="GetCellHighlightROPenWidth" type="int" overloaded="no"> | |
25972 | <autodoc>GetCellHighlightROPenWidth() -> int</autodoc> | |
25973 | </method> | |
25974 | <method name="SetRowLabelSize" type="" overloaded="no"> | |
25975 | <autodoc>SetRowLabelSize(int width)</autodoc> | |
25976 | <paramlist> | |
25977 | <param name="width" type="int" default=""/> | |
25978 | </paramlist> | |
25979 | </method> | |
25980 | <method name="SetColLabelSize" type="" overloaded="no"> | |
25981 | <autodoc>SetColLabelSize(int height)</autodoc> | |
25982 | <paramlist> | |
25983 | <param name="height" type="int" default=""/> | |
25984 | </paramlist> | |
25985 | </method> | |
25986 | <method name="SetLabelBackgroundColour" type="" overloaded="no"> | |
25987 | <autodoc>SetLabelBackgroundColour(Colour ??)</autodoc> | |
25988 | <paramlist> | |
25989 | <param name="" type="Colour" default=""/> | |
25990 | </paramlist> | |
25991 | </method> | |
25992 | <method name="SetLabelTextColour" type="" overloaded="no"> | |
25993 | <autodoc>SetLabelTextColour(Colour ??)</autodoc> | |
25994 | <paramlist> | |
25995 | <param name="" type="Colour" default=""/> | |
25996 | </paramlist> | |
25997 | </method> | |
25998 | <method name="SetLabelFont" type="" overloaded="no"> | |
25999 | <autodoc>SetLabelFont(Font ??)</autodoc> | |
26000 | <paramlist> | |
26001 | <param name="" type="Font" default=""/> | |
26002 | </paramlist> | |
26003 | </method> | |
26004 | <method name="SetRowLabelAlignment" type="" overloaded="no"> | |
26005 | <autodoc>SetRowLabelAlignment(int horiz, int vert)</autodoc> | |
26006 | <paramlist> | |
26007 | <param name="horiz" type="int" default=""/> | |
26008 | <param name="vert" type="int" default=""/> | |
26009 | </paramlist> | |
26010 | </method> | |
26011 | <method name="SetColLabelAlignment" type="" overloaded="no"> | |
26012 | <autodoc>SetColLabelAlignment(int horiz, int vert)</autodoc> | |
26013 | <paramlist> | |
26014 | <param name="horiz" type="int" default=""/> | |
26015 | <param name="vert" type="int" default=""/> | |
26016 | </paramlist> | |
26017 | </method> | |
26018 | <method name="SetColLabelTextOrientation" type="" overloaded="no"> | |
26019 | <autodoc>SetColLabelTextOrientation(int textOrientation)</autodoc> | |
26020 | <paramlist> | |
26021 | <param name="textOrientation" type="int" default=""/> | |
26022 | </paramlist> | |
26023 | </method> | |
26024 | <method name="SetRowLabelValue" type="" overloaded="no"> | |
26025 | <autodoc>SetRowLabelValue(int row, String ??)</autodoc> | |
26026 | <paramlist> | |
26027 | <param name="row" type="int" default=""/> | |
26028 | <param name="" type="String" default=""/> | |
26029 | </paramlist> | |
26030 | </method> | |
26031 | <method name="SetColLabelValue" type="" overloaded="no"> | |
26032 | <autodoc>SetColLabelValue(int col, String ??)</autodoc> | |
26033 | <paramlist> | |
26034 | <param name="col" type="int" default=""/> | |
26035 | <param name="" type="String" default=""/> | |
26036 | </paramlist> | |
26037 | </method> | |
26038 | <method name="SetGridLineColour" type="" overloaded="no"> | |
26039 | <autodoc>SetGridLineColour(Colour ??)</autodoc> | |
26040 | <paramlist> | |
26041 | <param name="" type="Colour" default=""/> | |
26042 | </paramlist> | |
26043 | </method> | |
26044 | <method name="SetCellHighlightColour" type="" overloaded="no"> | |
26045 | <autodoc>SetCellHighlightColour(Colour ??)</autodoc> | |
26046 | <paramlist> | |
26047 | <param name="" type="Colour" default=""/> | |
26048 | </paramlist> | |
26049 | </method> | |
26050 | <method name="SetCellHighlightPenWidth" type="" overloaded="no"> | |
26051 | <autodoc>SetCellHighlightPenWidth(int width)</autodoc> | |
26052 | <paramlist> | |
26053 | <param name="width" type="int" default=""/> | |
26054 | </paramlist> | |
26055 | </method> | |
26056 | <method name="SetCellHighlightROPenWidth" type="" overloaded="no"> | |
26057 | <autodoc>SetCellHighlightROPenWidth(int width)</autodoc> | |
26058 | <paramlist> | |
26059 | <param name="width" type="int" default=""/> | |
26060 | </paramlist> | |
26061 | </method> | |
26062 | <method name="EnableDragRowSize" type="" overloaded="no"> | |
26063 | <autodoc>EnableDragRowSize(bool enable=True)</autodoc> | |
26064 | <paramlist> | |
26065 | <param name="enable" type="bool" default="True"/> | |
26066 | </paramlist> | |
26067 | </method> | |
26068 | <method name="DisableDragRowSize" type="" overloaded="no"> | |
26069 | <autodoc>DisableDragRowSize()</autodoc> | |
26070 | </method> | |
26071 | <method name="CanDragRowSize" type="bool" overloaded="no"> | |
26072 | <autodoc>CanDragRowSize() -> bool</autodoc> | |
26073 | </method> | |
26074 | <method name="EnableDragColSize" type="" overloaded="no"> | |
26075 | <autodoc>EnableDragColSize(bool enable=True)</autodoc> | |
26076 | <paramlist> | |
26077 | <param name="enable" type="bool" default="True"/> | |
26078 | </paramlist> | |
26079 | </method> | |
26080 | <method name="DisableDragColSize" type="" overloaded="no"> | |
26081 | <autodoc>DisableDragColSize()</autodoc> | |
26082 | </method> | |
26083 | <method name="CanDragColSize" type="bool" overloaded="no"> | |
26084 | <autodoc>CanDragColSize() -> bool</autodoc> | |
26085 | </method> | |
26086 | <method name="EnableDragGridSize" type="" overloaded="no"> | |
26087 | <autodoc>EnableDragGridSize(bool enable=True)</autodoc> | |
26088 | <paramlist> | |
26089 | <param name="enable" type="bool" default="True"/> | |
26090 | </paramlist> | |
26091 | </method> | |
26092 | <method name="DisableDragGridSize" type="" overloaded="no"> | |
26093 | <autodoc>DisableDragGridSize()</autodoc> | |
26094 | </method> | |
26095 | <method name="CanDragGridSize" type="bool" overloaded="no"> | |
26096 | <autodoc>CanDragGridSize() -> bool</autodoc> | |
26097 | </method> | |
26098 | <method name="SetAttr" type="" overloaded="no"> | |
26099 | <autodoc>SetAttr(int row, int col, GridCellAttr attr)</autodoc> | |
26100 | <paramlist> | |
26101 | <param name="row" type="int" default=""/> | |
26102 | <param name="col" type="int" default=""/> | |
26103 | <param name="attr" type="GridCellAttr" default=""/> | |
26104 | </paramlist> | |
26105 | </method> | |
26106 | <method name="SetRowAttr" type="" overloaded="no"> | |
26107 | <autodoc>SetRowAttr(int row, GridCellAttr attr)</autodoc> | |
26108 | <paramlist> | |
26109 | <param name="row" type="int" default=""/> | |
26110 | <param name="attr" type="GridCellAttr" default=""/> | |
26111 | </paramlist> | |
26112 | </method> | |
26113 | <method name="SetColAttr" type="" overloaded="no"> | |
26114 | <autodoc>SetColAttr(int col, GridCellAttr attr)</autodoc> | |
26115 | <paramlist> | |
26116 | <param name="col" type="int" default=""/> | |
26117 | <param name="attr" type="GridCellAttr" default=""/> | |
26118 | </paramlist> | |
26119 | </method> | |
26120 | <method name="SetColFormatBool" type="" overloaded="no"> | |
26121 | <autodoc>SetColFormatBool(int col)</autodoc> | |
26122 | <paramlist> | |
26123 | <param name="col" type="int" default=""/> | |
26124 | </paramlist> | |
26125 | </method> | |
26126 | <method name="SetColFormatNumber" type="" overloaded="no"> | |
26127 | <autodoc>SetColFormatNumber(int col)</autodoc> | |
26128 | <paramlist> | |
26129 | <param name="col" type="int" default=""/> | |
26130 | </paramlist> | |
26131 | </method> | |
26132 | <method name="SetColFormatFloat" type="" overloaded="no"> | |
26133 | <autodoc>SetColFormatFloat(int col, int width=-1, int precision=-1)</autodoc> | |
26134 | <paramlist> | |
26135 | <param name="col" type="int" default=""/> | |
26136 | <param name="width" type="int" default="-1"/> | |
26137 | <param name="precision" type="int" default="-1"/> | |
26138 | </paramlist> | |
26139 | </method> | |
26140 | <method name="SetColFormatCustom" type="" overloaded="no"> | |
26141 | <autodoc>SetColFormatCustom(int col, String typeName)</autodoc> | |
26142 | <paramlist> | |
26143 | <param name="col" type="int" default=""/> | |
26144 | <param name="typeName" type="String" default=""/> | |
26145 | </paramlist> | |
26146 | </method> | |
26147 | <method name="EnableGridLines" type="" overloaded="no"> | |
26148 | <autodoc>EnableGridLines(bool enable=True)</autodoc> | |
26149 | <paramlist> | |
26150 | <param name="enable" type="bool" default="True"/> | |
26151 | </paramlist> | |
26152 | </method> | |
26153 | <method name="GridLinesEnabled" type="bool" overloaded="no"> | |
26154 | <autodoc>GridLinesEnabled() -> bool</autodoc> | |
26155 | </method> | |
26156 | <method name="GetDefaultRowSize" type="int" overloaded="no"> | |
26157 | <autodoc>GetDefaultRowSize() -> int</autodoc> | |
26158 | </method> | |
26159 | <method name="GetRowSize" type="int" overloaded="no"> | |
26160 | <autodoc>GetRowSize(int row) -> int</autodoc> | |
26161 | <paramlist> | |
26162 | <param name="row" type="int" default=""/> | |
26163 | </paramlist> | |
26164 | </method> | |
26165 | <method name="GetDefaultColSize" type="int" overloaded="no"> | |
26166 | <autodoc>GetDefaultColSize() -> int</autodoc> | |
26167 | </method> | |
26168 | <method name="GetColSize" type="int" overloaded="no"> | |
26169 | <autodoc>GetColSize(int col) -> int</autodoc> | |
26170 | <paramlist> | |
26171 | <param name="col" type="int" default=""/> | |
26172 | </paramlist> | |
26173 | </method> | |
26174 | <method name="GetDefaultCellBackgroundColour" type="Colour" overloaded="no"> | |
26175 | <autodoc>GetDefaultCellBackgroundColour() -> Colour</autodoc> | |
26176 | </method> | |
26177 | <method name="GetCellBackgroundColour" type="Colour" overloaded="no"> | |
26178 | <autodoc>GetCellBackgroundColour(int row, int col) -> Colour</autodoc> | |
26179 | <paramlist> | |
26180 | <param name="row" type="int" default=""/> | |
26181 | <param name="col" type="int" default=""/> | |
26182 | </paramlist> | |
26183 | </method> | |
26184 | <method name="GetDefaultCellTextColour" type="Colour" overloaded="no"> | |
26185 | <autodoc>GetDefaultCellTextColour() -> Colour</autodoc> | |
26186 | </method> | |
26187 | <method name="GetCellTextColour" type="Colour" overloaded="no"> | |
26188 | <autodoc>GetCellTextColour(int row, int col) -> Colour</autodoc> | |
26189 | <paramlist> | |
26190 | <param name="row" type="int" default=""/> | |
26191 | <param name="col" type="int" default=""/> | |
26192 | </paramlist> | |
26193 | </method> | |
26194 | <method name="GetDefaultCellFont" type="Font" overloaded="no"> | |
26195 | <autodoc>GetDefaultCellFont() -> Font</autodoc> | |
26196 | </method> | |
26197 | <method name="GetCellFont" type="Font" overloaded="no"> | |
26198 | <autodoc>GetCellFont(int row, int col) -> Font</autodoc> | |
26199 | <paramlist> | |
26200 | <param name="row" type="int" default=""/> | |
26201 | <param name="col" type="int" default=""/> | |
26202 | </paramlist> | |
26203 | </method> | |
26204 | <method name="GetDefaultCellAlignment" type="" overloaded="no"> | |
26205 | <autodoc>GetDefaultCellAlignment() -> (horiz, vert)</autodoc> | |
26206 | <paramlist> | |
26207 | <param name="OUTPUT" type="int" default=""/> | |
26208 | <param name="OUTPUT" type="int" default=""/> | |
26209 | </paramlist> | |
26210 | </method> | |
26211 | <method name="GetCellAlignment" type="" overloaded="no"> | |
26212 | <autodoc>GetCellAlignment() -> (horiz, vert)</autodoc> | |
26213 | <paramlist> | |
26214 | <param name="row" type="int" default=""/> | |
26215 | <param name="col" type="int" default=""/> | |
26216 | <param name="OUTPUT" type="int" default=""/> | |
26217 | <param name="OUTPUT" type="int" default=""/> | |
26218 | </paramlist> | |
26219 | </method> | |
26220 | <method name="GetDefaultCellOverflow" type="bool" overloaded="no"> | |
26221 | <autodoc>GetDefaultCellOverflow() -> bool</autodoc> | |
26222 | </method> | |
26223 | <method name="GetCellOverflow" type="bool" overloaded="no"> | |
26224 | <autodoc>GetCellOverflow(int row, int col) -> bool</autodoc> | |
26225 | <paramlist> | |
26226 | <param name="row" type="int" default=""/> | |
26227 | <param name="col" type="int" default=""/> | |
26228 | </paramlist> | |
26229 | </method> | |
26230 | <method name="GetCellSize" type="" overloaded="no"> | |
26231 | <autodoc>GetCellSize(int row, int col) -> (num_rows, num_cols)</autodoc> | |
26232 | <paramlist> | |
26233 | <param name="row" type="int" default=""/> | |
26234 | <param name="col" type="int" default=""/> | |
26235 | <param name="OUTPUT" type="int" default=""/> | |
26236 | <param name="OUTPUT" type="int" default=""/> | |
26237 | </paramlist> | |
26238 | </method> | |
26239 | <method name="SetDefaultRowSize" type="" overloaded="no"> | |
26240 | <autodoc>SetDefaultRowSize(int height, bool resizeExistingRows=False)</autodoc> | |
26241 | <paramlist> | |
26242 | <param name="height" type="int" default=""/> | |
26243 | <param name="resizeExistingRows" type="bool" default="False"/> | |
26244 | </paramlist> | |
26245 | </method> | |
26246 | <method name="SetRowSize" type="" overloaded="no"> | |
26247 | <autodoc>SetRowSize(int row, int height)</autodoc> | |
26248 | <paramlist> | |
26249 | <param name="row" type="int" default=""/> | |
26250 | <param name="height" type="int" default=""/> | |
26251 | </paramlist> | |
26252 | </method> | |
26253 | <method name="SetDefaultColSize" type="" overloaded="no"> | |
26254 | <autodoc>SetDefaultColSize(int width, bool resizeExistingCols=False)</autodoc> | |
26255 | <paramlist> | |
26256 | <param name="width" type="int" default=""/> | |
26257 | <param name="resizeExistingCols" type="bool" default="False"/> | |
26258 | </paramlist> | |
26259 | </method> | |
26260 | <method name="SetColSize" type="" overloaded="no"> | |
26261 | <autodoc>SetColSize(int col, int width)</autodoc> | |
26262 | <paramlist> | |
26263 | <param name="col" type="int" default=""/> | |
26264 | <param name="width" type="int" default=""/> | |
26265 | </paramlist> | |
26266 | </method> | |
26267 | <method name="AutoSizeColumn" type="" overloaded="no"> | |
26268 | <autodoc>AutoSizeColumn(int col, bool setAsMin=True)</autodoc> | |
26269 | <paramlist> | |
26270 | <param name="col" type="int" default=""/> | |
26271 | <param name="setAsMin" type="bool" default="True"/> | |
26272 | </paramlist> | |
26273 | </method> | |
26274 | <method name="AutoSizeRow" type="" overloaded="no"> | |
26275 | <autodoc>AutoSizeRow(int row, bool setAsMin=True)</autodoc> | |
26276 | <paramlist> | |
26277 | <param name="row" type="int" default=""/> | |
26278 | <param name="setAsMin" type="bool" default="True"/> | |
26279 | </paramlist> | |
26280 | </method> | |
26281 | <method name="AutoSizeColumns" type="" overloaded="no"> | |
26282 | <autodoc>AutoSizeColumns(bool setAsMin=True)</autodoc> | |
26283 | <paramlist> | |
26284 | <param name="setAsMin" type="bool" default="True"/> | |
26285 | </paramlist> | |
26286 | </method> | |
26287 | <method name="AutoSizeRows" type="" overloaded="no"> | |
26288 | <autodoc>AutoSizeRows(bool setAsMin=True)</autodoc> | |
26289 | <paramlist> | |
26290 | <param name="setAsMin" type="bool" default="True"/> | |
26291 | </paramlist> | |
26292 | </method> | |
26293 | <method name="AutoSize" type="" overloaded="no"> | |
26294 | <autodoc>AutoSize()</autodoc> | |
26295 | </method> | |
26296 | <method name="AutoSizeRowLabelSize" type="" overloaded="no"> | |
26297 | <autodoc>AutoSizeRowLabelSize(int row)</autodoc> | |
26298 | <paramlist> | |
26299 | <param name="row" type="int" default=""/> | |
26300 | </paramlist> | |
26301 | </method> | |
26302 | <method name="AutoSizeColLabelSize" type="" overloaded="no"> | |
26303 | <autodoc>AutoSizeColLabelSize(int col)</autodoc> | |
26304 | <paramlist> | |
26305 | <param name="col" type="int" default=""/> | |
26306 | </paramlist> | |
26307 | </method> | |
26308 | <method name="SetColMinimalWidth" type="" overloaded="no"> | |
26309 | <autodoc>SetColMinimalWidth(int col, int width)</autodoc> | |
26310 | <paramlist> | |
26311 | <param name="col" type="int" default=""/> | |
26312 | <param name="width" type="int" default=""/> | |
26313 | </paramlist> | |
26314 | </method> | |
26315 | <method name="SetRowMinimalHeight" type="" overloaded="no"> | |
26316 | <autodoc>SetRowMinimalHeight(int row, int width)</autodoc> | |
26317 | <paramlist> | |
26318 | <param name="row" type="int" default=""/> | |
26319 | <param name="width" type="int" default=""/> | |
26320 | </paramlist> | |
26321 | </method> | |
26322 | <method name="SetColMinimalAcceptableWidth" type="" overloaded="no"> | |
26323 | <autodoc>SetColMinimalAcceptableWidth(int width)</autodoc> | |
26324 | <paramlist> | |
26325 | <param name="width" type="int" default=""/> | |
26326 | </paramlist> | |
26327 | </method> | |
26328 | <method name="SetRowMinimalAcceptableHeight" type="" overloaded="no"> | |
26329 | <autodoc>SetRowMinimalAcceptableHeight(int width)</autodoc> | |
26330 | <paramlist> | |
26331 | <param name="width" type="int" default=""/> | |
26332 | </paramlist> | |
26333 | </method> | |
26334 | <method name="GetColMinimalAcceptableWidth" type="int" overloaded="no"> | |
26335 | <autodoc>GetColMinimalAcceptableWidth() -> int</autodoc> | |
26336 | </method> | |
26337 | <method name="GetRowMinimalAcceptableHeight" type="int" overloaded="no"> | |
26338 | <autodoc>GetRowMinimalAcceptableHeight() -> int</autodoc> | |
26339 | </method> | |
26340 | <method name="SetDefaultCellBackgroundColour" type="" overloaded="no"> | |
26341 | <autodoc>SetDefaultCellBackgroundColour(Colour ??)</autodoc> | |
26342 | <paramlist> | |
26343 | <param name="" type="Colour" default=""/> | |
26344 | </paramlist> | |
26345 | </method> | |
26346 | <method name="SetCellBackgroundColour" type="" overloaded="no"> | |
26347 | <autodoc>SetCellBackgroundColour(int row, int col, Colour ??)</autodoc> | |
26348 | <paramlist> | |
26349 | <param name="row" type="int" default=""/> | |
26350 | <param name="col" type="int" default=""/> | |
26351 | <param name="" type="Colour" default=""/> | |
26352 | </paramlist> | |
26353 | </method> | |
26354 | <method name="SetDefaultCellTextColour" type="" overloaded="no"> | |
26355 | <autodoc>SetDefaultCellTextColour(Colour ??)</autodoc> | |
26356 | <paramlist> | |
26357 | <param name="" type="Colour" default=""/> | |
26358 | </paramlist> | |
26359 | </method> | |
26360 | <method name="SetCellTextColour" type="" overloaded="no"> | |
26361 | <autodoc>SetCellTextColour(int row, int col, Colour ??)</autodoc> | |
26362 | <paramlist> | |
26363 | <param name="row" type="int" default=""/> | |
26364 | <param name="col" type="int" default=""/> | |
26365 | <param name="" type="Colour" default=""/> | |
26366 | </paramlist> | |
26367 | </method> | |
26368 | <method name="SetDefaultCellFont" type="" overloaded="no"> | |
26369 | <autodoc>SetDefaultCellFont(Font ??)</autodoc> | |
26370 | <paramlist> | |
26371 | <param name="" type="Font" default=""/> | |
26372 | </paramlist> | |
26373 | </method> | |
26374 | <method name="SetCellFont" type="" overloaded="no"> | |
26375 | <autodoc>SetCellFont(int row, int col, Font ??)</autodoc> | |
26376 | <paramlist> | |
26377 | <param name="row" type="int" default=""/> | |
26378 | <param name="col" type="int" default=""/> | |
26379 | <param name="" type="Font" default=""/> | |
26380 | </paramlist> | |
26381 | </method> | |
26382 | <method name="SetDefaultCellAlignment" type="" overloaded="no"> | |
26383 | <autodoc>SetDefaultCellAlignment(int horiz, int vert)</autodoc> | |
26384 | <paramlist> | |
26385 | <param name="horiz" type="int" default=""/> | |
26386 | <param name="vert" type="int" default=""/> | |
26387 | </paramlist> | |
26388 | </method> | |
26389 | <method name="SetCellAlignment" type="" overloaded="no"> | |
26390 | <autodoc>SetCellAlignment(int row, int col, int horiz, int vert)</autodoc> | |
26391 | <paramlist> | |
26392 | <param name="row" type="int" default=""/> | |
26393 | <param name="col" type="int" default=""/> | |
26394 | <param name="horiz" type="int" default=""/> | |
26395 | <param name="vert" type="int" default=""/> | |
26396 | </paramlist> | |
26397 | </method> | |
26398 | <method name="SetDefaultCellOverflow" type="" overloaded="no"> | |
26399 | <autodoc>SetDefaultCellOverflow(bool allow)</autodoc> | |
26400 | <paramlist> | |
26401 | <param name="allow" type="bool" default=""/> | |
26402 | </paramlist> | |
26403 | </method> | |
26404 | <method name="SetCellOverflow" type="" overloaded="no"> | |
26405 | <autodoc>SetCellOverflow(int row, int col, bool allow)</autodoc> | |
26406 | <paramlist> | |
26407 | <param name="row" type="int" default=""/> | |
26408 | <param name="col" type="int" default=""/> | |
26409 | <param name="allow" type="bool" default=""/> | |
26410 | </paramlist> | |
26411 | </method> | |
26412 | <method name="SetCellSize" type="" overloaded="no"> | |
26413 | <autodoc>SetCellSize(int row, int col, int num_rows, int num_cols)</autodoc> | |
26414 | <paramlist> | |
26415 | <param name="row" type="int" default=""/> | |
26416 | <param name="col" type="int" default=""/> | |
26417 | <param name="num_rows" type="int" default=""/> | |
26418 | <param name="num_cols" type="int" default=""/> | |
26419 | </paramlist> | |
26420 | </method> | |
26421 | <method name="SetDefaultRenderer" type="" overloaded="no"> | |
26422 | <autodoc>SetDefaultRenderer(GridCellRenderer renderer)</autodoc> | |
26423 | <paramlist> | |
26424 | <param name="renderer" type="GridCellRenderer" default=""/> | |
26425 | </paramlist> | |
26426 | </method> | |
26427 | <method name="SetCellRenderer" type="" overloaded="no"> | |
26428 | <autodoc>SetCellRenderer(int row, int col, GridCellRenderer renderer)</autodoc> | |
26429 | <paramlist> | |
26430 | <param name="row" type="int" default=""/> | |
26431 | <param name="col" type="int" default=""/> | |
26432 | <param name="renderer" type="GridCellRenderer" default=""/> | |
26433 | </paramlist> | |
26434 | </method> | |
26435 | <method name="GetDefaultRenderer" type="GridCellRenderer" overloaded="no"> | |
26436 | <autodoc>GetDefaultRenderer() -> GridCellRenderer</autodoc> | |
26437 | </method> | |
26438 | <method name="GetCellRenderer" type="GridCellRenderer" overloaded="no"> | |
26439 | <autodoc>GetCellRenderer(int row, int col) -> GridCellRenderer</autodoc> | |
26440 | <paramlist> | |
26441 | <param name="row" type="int" default=""/> | |
26442 | <param name="col" type="int" default=""/> | |
26443 | </paramlist> | |
26444 | </method> | |
26445 | <method name="SetDefaultEditor" type="" overloaded="no"> | |
26446 | <autodoc>SetDefaultEditor(GridCellEditor editor)</autodoc> | |
26447 | <paramlist> | |
26448 | <param name="editor" type="GridCellEditor" default=""/> | |
26449 | </paramlist> | |
26450 | </method> | |
26451 | <method name="SetCellEditor" type="" overloaded="no"> | |
26452 | <autodoc>SetCellEditor(int row, int col, GridCellEditor editor)</autodoc> | |
26453 | <paramlist> | |
26454 | <param name="row" type="int" default=""/> | |
26455 | <param name="col" type="int" default=""/> | |
26456 | <param name="editor" type="GridCellEditor" default=""/> | |
26457 | </paramlist> | |
26458 | </method> | |
26459 | <method name="GetDefaultEditor" type="GridCellEditor" overloaded="no"> | |
26460 | <autodoc>GetDefaultEditor() -> GridCellEditor</autodoc> | |
26461 | </method> | |
26462 | <method name="GetCellEditor" type="GridCellEditor" overloaded="no"> | |
26463 | <autodoc>GetCellEditor(int row, int col) -> GridCellEditor</autodoc> | |
26464 | <paramlist> | |
26465 | <param name="row" type="int" default=""/> | |
26466 | <param name="col" type="int" default=""/> | |
26467 | </paramlist> | |
26468 | </method> | |
26469 | <method name="GetCellValue" type="String" overloaded="no"> | |
26470 | <autodoc>GetCellValue(int row, int col) -> String</autodoc> | |
26471 | <paramlist> | |
26472 | <param name="row" type="int" default=""/> | |
26473 | <param name="col" type="int" default=""/> | |
26474 | </paramlist> | |
26475 | </method> | |
26476 | <method name="SetCellValue" type="" overloaded="no"> | |
26477 | <autodoc>SetCellValue(int row, int col, String s)</autodoc> | |
26478 | <paramlist> | |
26479 | <param name="row" type="int" default=""/> | |
26480 | <param name="col" type="int" default=""/> | |
26481 | <param name="s" type="String" default=""/> | |
26482 | </paramlist> | |
26483 | </method> | |
26484 | <method name="IsReadOnly" type="bool" overloaded="no"> | |
26485 | <autodoc>IsReadOnly(int row, int col) -> bool</autodoc> | |
26486 | <paramlist> | |
26487 | <param name="row" type="int" default=""/> | |
26488 | <param name="col" type="int" default=""/> | |
26489 | </paramlist> | |
26490 | </method> | |
26491 | <method name="SetReadOnly" type="" overloaded="no"> | |
26492 | <autodoc>SetReadOnly(int row, int col, bool isReadOnly=True)</autodoc> | |
26493 | <paramlist> | |
26494 | <param name="row" type="int" default=""/> | |
26495 | <param name="col" type="int" default=""/> | |
26496 | <param name="isReadOnly" type="bool" default="True"/> | |
26497 | </paramlist> | |
26498 | </method> | |
26499 | <method name="SelectRow" type="" overloaded="no"> | |
26500 | <autodoc>SelectRow(int row, bool addToSelected=False)</autodoc> | |
26501 | <paramlist> | |
26502 | <param name="row" type="int" default=""/> | |
26503 | <param name="addToSelected" type="bool" default="False"/> | |
26504 | </paramlist> | |
26505 | </method> | |
26506 | <method name="SelectCol" type="" overloaded="no"> | |
26507 | <autodoc>SelectCol(int col, bool addToSelected=False)</autodoc> | |
26508 | <paramlist> | |
26509 | <param name="col" type="int" default=""/> | |
26510 | <param name="addToSelected" type="bool" default="False"/> | |
26511 | </paramlist> | |
26512 | </method> | |
26513 | <method name="SelectBlock" type="" overloaded="no"> | |
26514 | <autodoc>SelectBlock(int topRow, int leftCol, int bottomRow, int rightCol, | |
26515 | bool addToSelected=False)</autodoc> | |
26516 | <paramlist> | |
26517 | <param name="topRow" type="int" default=""/> | |
26518 | <param name="leftCol" type="int" default=""/> | |
26519 | <param name="bottomRow" type="int" default=""/> | |
26520 | <param name="rightCol" type="int" default=""/> | |
26521 | <param name="addToSelected" type="bool" default="False"/> | |
26522 | </paramlist> | |
26523 | </method> | |
26524 | <method name="SelectAll" type="" overloaded="no"> | |
26525 | <autodoc>SelectAll()</autodoc> | |
26526 | </method> | |
26527 | <method name="IsSelection" type="bool" overloaded="no"> | |
26528 | <autodoc>IsSelection() -> bool</autodoc> | |
26529 | </method> | |
26530 | <method name="ClearSelection" type="" overloaded="no"> | |
26531 | <autodoc>ClearSelection()</autodoc> | |
26532 | </method> | |
26533 | <method name="IsInSelection" type="bool" overloaded="no"> | |
26534 | <autodoc>IsInSelection(int row, int col) -> bool</autodoc> | |
26535 | <paramlist> | |
26536 | <param name="row" type="int" default=""/> | |
26537 | <param name="col" type="int" default=""/> | |
26538 | </paramlist> | |
26539 | </method> | |
26540 | <method name="GetSelectedCells" type="wxGridCellCoordsArray" overloaded="no"> | |
26541 | <autodoc>GetSelectedCells() -> wxGridCellCoordsArray</autodoc> | |
26542 | </method> | |
26543 | <method name="GetSelectionBlockTopLeft" type="wxGridCellCoordsArray" overloaded="no"> | |
26544 | <autodoc>GetSelectionBlockTopLeft() -> wxGridCellCoordsArray</autodoc> | |
26545 | </method> | |
26546 | <method name="GetSelectionBlockBottomRight" type="wxGridCellCoordsArray" overloaded="no"> | |
26547 | <autodoc>GetSelectionBlockBottomRight() -> wxGridCellCoordsArray</autodoc> | |
26548 | </method> | |
26549 | <method name="GetSelectedRows" type="wxArrayInt" overloaded="no"> | |
26550 | <autodoc>GetSelectedRows() -> wxArrayInt</autodoc> | |
26551 | </method> | |
26552 | <method name="GetSelectedCols" type="wxArrayInt" overloaded="no"> | |
26553 | <autodoc>GetSelectedCols() -> wxArrayInt</autodoc> | |
26554 | </method> | |
26555 | <method name="DeselectRow" type="" overloaded="no"> | |
26556 | <autodoc>DeselectRow(int row)</autodoc> | |
26557 | <paramlist> | |
26558 | <param name="row" type="int" default=""/> | |
26559 | </paramlist> | |
26560 | </method> | |
26561 | <method name="DeselectCol" type="" overloaded="no"> | |
26562 | <autodoc>DeselectCol(int col)</autodoc> | |
26563 | <paramlist> | |
26564 | <param name="col" type="int" default=""/> | |
26565 | </paramlist> | |
26566 | </method> | |
26567 | <method name="DeselectCell" type="" overloaded="no"> | |
26568 | <autodoc>DeselectCell(int row, int col)</autodoc> | |
26569 | <paramlist> | |
26570 | <param name="row" type="int" default=""/> | |
26571 | <param name="col" type="int" default=""/> | |
26572 | </paramlist> | |
26573 | </method> | |
26574 | <method name="BlockToDeviceRect" type="Rect" overloaded="no"> | |
26575 | <autodoc>BlockToDeviceRect(GridCellCoords topLeft, GridCellCoords bottomRight) -> Rect</autodoc> | |
26576 | <paramlist> | |
26577 | <param name="topLeft" type="GridCellCoords" default=""/> | |
26578 | <param name="bottomRight" type="GridCellCoords" default=""/> | |
26579 | </paramlist> | |
26580 | </method> | |
26581 | <method name="GetSelectionBackground" type="Colour" overloaded="no"> | |
26582 | <autodoc>GetSelectionBackground() -> Colour</autodoc> | |
26583 | </method> | |
26584 | <method name="GetSelectionForeground" type="Colour" overloaded="no"> | |
26585 | <autodoc>GetSelectionForeground() -> Colour</autodoc> | |
26586 | </method> | |
26587 | <method name="SetSelectionBackground" type="" overloaded="no"> | |
26588 | <autodoc>SetSelectionBackground(Colour c)</autodoc> | |
26589 | <paramlist> | |
26590 | <param name="c" type="Colour" default=""/> | |
26591 | </paramlist> | |
26592 | </method> | |
26593 | <method name="SetSelectionForeground" type="" overloaded="no"> | |
26594 | <autodoc>SetSelectionForeground(Colour c)</autodoc> | |
26595 | <paramlist> | |
26596 | <param name="c" type="Colour" default=""/> | |
26597 | </paramlist> | |
26598 | </method> | |
26599 | <method name="RegisterDataType" type="" overloaded="no"> | |
26600 | <autodoc>RegisterDataType(String typeName, GridCellRenderer renderer, GridCellEditor editor)</autodoc> | |
26601 | <paramlist> | |
26602 | <param name="typeName" type="String" default=""/> | |
26603 | <param name="renderer" type="GridCellRenderer" default=""/> | |
26604 | <param name="editor" type="GridCellEditor" default=""/> | |
26605 | </paramlist> | |
26606 | </method> | |
26607 | <method name="GetDefaultEditorForCell" type="GridCellEditor" overloaded="no"> | |
26608 | <autodoc>GetDefaultEditorForCell(int row, int col) -> GridCellEditor</autodoc> | |
26609 | <paramlist> | |
26610 | <param name="row" type="int" default=""/> | |
26611 | <param name="col" type="int" default=""/> | |
26612 | </paramlist> | |
26613 | </method> | |
26614 | <method name="GetDefaultRendererForCell" type="GridCellRenderer" overloaded="no"> | |
26615 | <autodoc>GetDefaultRendererForCell(int row, int col) -> GridCellRenderer</autodoc> | |
26616 | <paramlist> | |
26617 | <param name="row" type="int" default=""/> | |
26618 | <param name="col" type="int" default=""/> | |
26619 | </paramlist> | |
26620 | </method> | |
26621 | <method name="GetDefaultEditorForType" type="GridCellEditor" overloaded="no"> | |
26622 | <autodoc>GetDefaultEditorForType(String typeName) -> GridCellEditor</autodoc> | |
26623 | <paramlist> | |
26624 | <param name="typeName" type="String" default=""/> | |
26625 | </paramlist> | |
26626 | </method> | |
26627 | <method name="GetDefaultRendererForType" type="GridCellRenderer" overloaded="no"> | |
26628 | <autodoc>GetDefaultRendererForType(String typeName) -> GridCellRenderer</autodoc> | |
26629 | <paramlist> | |
26630 | <param name="typeName" type="String" default=""/> | |
26631 | </paramlist> | |
26632 | </method> | |
26633 | <method name="SetMargins" type="" overloaded="no"> | |
26634 | <autodoc>SetMargins(int extraWidth, int extraHeight)</autodoc> | |
26635 | <paramlist> | |
26636 | <param name="extraWidth" type="int" default=""/> | |
26637 | <param name="extraHeight" type="int" default=""/> | |
26638 | </paramlist> | |
26639 | </method> | |
26640 | <method name="GetGridWindow" type="Window" overloaded="no"> | |
26641 | <autodoc>GetGridWindow() -> Window</autodoc> | |
26642 | </method> | |
26643 | <method name="GetGridRowLabelWindow" type="Window" overloaded="no"> | |
26644 | <autodoc>GetGridRowLabelWindow() -> Window</autodoc> | |
26645 | </method> | |
26646 | <method name="GetGridColLabelWindow" type="Window" overloaded="no"> | |
26647 | <autodoc>GetGridColLabelWindow() -> Window</autodoc> | |
26648 | </method> | |
26649 | <method name="GetGridCornerLabelWindow" type="Window" overloaded="no"> | |
26650 | <autodoc>GetGridCornerLabelWindow() -> Window</autodoc> | |
26651 | </method> | |
26652 | </class> | |
26653 | <class name="GridEvent" oldname="wxGridEvent" module="grid"> | |
26654 | <baseclass name="NotifyEvent"/> | |
26655 | <constructor name="GridEvent" overloaded="no"> | |
26656 | <autodoc>__init__(int id, wxEventType type, Grid obj, int row=-1, int col=-1, | |
26657 | int x=-1, int y=-1, bool sel=True, bool control=False, | |
26658 | bool shift=False, bool alt=False, | |
26659 | bool meta=False) -> GridEvent</autodoc> | |
26660 | <paramlist> | |
26661 | <param name="id" type="int" default=""/> | |
26662 | <param name="type" type="wxEventType" default=""/> | |
26663 | <param name="obj" type="Grid" default=""/> | |
26664 | <param name="row" type="int" default="-1"/> | |
26665 | <param name="col" type="int" default="-1"/> | |
26666 | <param name="x" type="int" default="-1"/> | |
26667 | <param name="y" type="int" default="-1"/> | |
26668 | <param name="sel" type="bool" default="True"/> | |
26669 | <param name="control" type="bool" default="False"/> | |
26670 | <param name="shift" type="bool" default="False"/> | |
26671 | <param name="alt" type="bool" default="False"/> | |
26672 | <param name="meta" type="bool" default="False"/> | |
26673 | </paramlist> | |
26674 | </constructor> | |
26675 | <method name="GetRow" type="int" overloaded="no"> | |
26676 | <autodoc>GetRow() -> int</autodoc> | |
26677 | </method> | |
26678 | <method name="GetCol" type="int" overloaded="no"> | |
26679 | <autodoc>GetCol() -> int</autodoc> | |
26680 | </method> | |
26681 | <method name="GetPosition" type="Point" overloaded="no"> | |
26682 | <autodoc>GetPosition() -> Point</autodoc> | |
26683 | </method> | |
26684 | <method name="Selecting" type="bool" overloaded="no"> | |
26685 | <autodoc>Selecting() -> bool</autodoc> | |
26686 | </method> | |
26687 | <method name="ControlDown" type="bool" overloaded="no"> | |
26688 | <autodoc>ControlDown() -> bool</autodoc> | |
26689 | </method> | |
26690 | <method name="MetaDown" type="bool" overloaded="no"> | |
26691 | <autodoc>MetaDown() -> bool</autodoc> | |
26692 | </method> | |
26693 | <method name="ShiftDown" type="bool" overloaded="no"> | |
26694 | <autodoc>ShiftDown() -> bool</autodoc> | |
26695 | </method> | |
26696 | <method name="AltDown" type="bool" overloaded="no"> | |
26697 | <autodoc>AltDown() -> bool</autodoc> | |
26698 | </method> | |
26699 | </class> | |
26700 | <class name="GridSizeEvent" oldname="wxGridSizeEvent" module="grid"> | |
26701 | <baseclass name="NotifyEvent"/> | |
26702 | <constructor name="GridSizeEvent" overloaded="no"> | |
26703 | <autodoc>__init__(int id, wxEventType type, Grid obj, int rowOrCol=-1, | |
26704 | int x=-1, int y=-1, bool control=False, bool shift=False, | |
26705 | bool alt=False, bool meta=False) -> GridSizeEvent</autodoc> | |
26706 | <paramlist> | |
26707 | <param name="id" type="int" default=""/> | |
26708 | <param name="type" type="wxEventType" default=""/> | |
26709 | <param name="obj" type="Grid" default=""/> | |
26710 | <param name="rowOrCol" type="int" default="-1"/> | |
26711 | <param name="x" type="int" default="-1"/> | |
26712 | <param name="y" type="int" default="-1"/> | |
26713 | <param name="control" type="bool" default="False"/> | |
26714 | <param name="shift" type="bool" default="False"/> | |
26715 | <param name="alt" type="bool" default="False"/> | |
26716 | <param name="meta" type="bool" default="False"/> | |
26717 | </paramlist> | |
26718 | </constructor> | |
26719 | <method name="GetRowOrCol" type="int" overloaded="no"> | |
26720 | <autodoc>GetRowOrCol() -> int</autodoc> | |
26721 | </method> | |
26722 | <method name="GetPosition" type="Point" overloaded="no"> | |
26723 | <autodoc>GetPosition() -> Point</autodoc> | |
26724 | </method> | |
26725 | <method name="ControlDown" type="bool" overloaded="no"> | |
26726 | <autodoc>ControlDown() -> bool</autodoc> | |
26727 | </method> | |
26728 | <method name="MetaDown" type="bool" overloaded="no"> | |
26729 | <autodoc>MetaDown() -> bool</autodoc> | |
26730 | </method> | |
26731 | <method name="ShiftDown" type="bool" overloaded="no"> | |
26732 | <autodoc>ShiftDown() -> bool</autodoc> | |
26733 | </method> | |
26734 | <method name="AltDown" type="bool" overloaded="no"> | |
26735 | <autodoc>AltDown() -> bool</autodoc> | |
26736 | </method> | |
26737 | </class> | |
26738 | <class name="GridRangeSelectEvent" oldname="wxGridRangeSelectEvent" module="grid"> | |
26739 | <baseclass name="NotifyEvent"/> | |
26740 | <constructor name="GridRangeSelectEvent" overloaded="no"> | |
26741 | <autodoc>__init__(int id, wxEventType type, Grid obj, GridCellCoords topLeft, | |
26742 | GridCellCoords bottomRight, bool sel=True, | |
26743 | bool control=False, bool shift=False, | |
26744 | bool alt=False, bool meta=False) -> GridRangeSelectEvent</autodoc> | |
26745 | <paramlist> | |
26746 | <param name="id" type="int" default=""/> | |
26747 | <param name="type" type="wxEventType" default=""/> | |
26748 | <param name="obj" type="Grid" default=""/> | |
26749 | <param name="topLeft" type="GridCellCoords" default=""/> | |
26750 | <param name="bottomRight" type="GridCellCoords" default=""/> | |
26751 | <param name="sel" type="bool" default="True"/> | |
26752 | <param name="control" type="bool" default="False"/> | |
26753 | <param name="shift" type="bool" default="False"/> | |
26754 | <param name="alt" type="bool" default="False"/> | |
26755 | <param name="meta" type="bool" default="False"/> | |
26756 | </paramlist> | |
26757 | </constructor> | |
26758 | <method name="GetTopLeftCoords" type="GridCellCoords" overloaded="no"> | |
26759 | <autodoc>GetTopLeftCoords() -> GridCellCoords</autodoc> | |
26760 | </method> | |
26761 | <method name="GetBottomRightCoords" type="GridCellCoords" overloaded="no"> | |
26762 | <autodoc>GetBottomRightCoords() -> GridCellCoords</autodoc> | |
26763 | </method> | |
26764 | <method name="GetTopRow" type="int" overloaded="no"> | |
26765 | <autodoc>GetTopRow() -> int</autodoc> | |
26766 | </method> | |
26767 | <method name="GetBottomRow" type="int" overloaded="no"> | |
26768 | <autodoc>GetBottomRow() -> int</autodoc> | |
26769 | </method> | |
26770 | <method name="GetLeftCol" type="int" overloaded="no"> | |
26771 | <autodoc>GetLeftCol() -> int</autodoc> | |
26772 | </method> | |
26773 | <method name="GetRightCol" type="int" overloaded="no"> | |
26774 | <autodoc>GetRightCol() -> int</autodoc> | |
26775 | </method> | |
26776 | <method name="Selecting" type="bool" overloaded="no"> | |
26777 | <autodoc>Selecting() -> bool</autodoc> | |
26778 | </method> | |
26779 | <method name="ControlDown" type="bool" overloaded="no"> | |
26780 | <autodoc>ControlDown() -> bool</autodoc> | |
26781 | </method> | |
26782 | <method name="MetaDown" type="bool" overloaded="no"> | |
26783 | <autodoc>MetaDown() -> bool</autodoc> | |
26784 | </method> | |
26785 | <method name="ShiftDown" type="bool" overloaded="no"> | |
26786 | <autodoc>ShiftDown() -> bool</autodoc> | |
26787 | </method> | |
26788 | <method name="AltDown" type="bool" overloaded="no"> | |
26789 | <autodoc>AltDown() -> bool</autodoc> | |
26790 | </method> | |
26791 | </class> | |
26792 | <class name="GridEditorCreatedEvent" oldname="wxGridEditorCreatedEvent" module="grid"> | |
26793 | <baseclass name="CommandEvent"/> | |
26794 | <constructor name="GridEditorCreatedEvent" overloaded="no"> | |
26795 | <autodoc>__init__(int id, wxEventType type, Object obj, int row, int col, | |
26796 | Control ctrl) -> GridEditorCreatedEvent</autodoc> | |
26797 | <paramlist> | |
26798 | <param name="id" type="int" default=""/> | |
26799 | <param name="type" type="wxEventType" default=""/> | |
26800 | <param name="obj" type="Object" default=""/> | |
26801 | <param name="row" type="int" default=""/> | |
26802 | <param name="col" type="int" default=""/> | |
26803 | <param name="ctrl" type="Control" default=""/> | |
26804 | </paramlist> | |
26805 | </constructor> | |
26806 | <method name="GetRow" type="int" overloaded="no"> | |
26807 | <autodoc>GetRow() -> int</autodoc> | |
26808 | </method> | |
26809 | <method name="GetCol" type="int" overloaded="no"> | |
26810 | <autodoc>GetCol() -> int</autodoc> | |
26811 | </method> | |
26812 | <method name="GetControl" type="Control" overloaded="no"> | |
26813 | <autodoc>GetControl() -> Control</autodoc> | |
26814 | </method> | |
26815 | <method name="SetRow" type="" overloaded="no"> | |
26816 | <autodoc>SetRow(int row)</autodoc> | |
26817 | <paramlist> | |
26818 | <param name="row" type="int" default=""/> | |
26819 | </paramlist> | |
26820 | </method> | |
26821 | <method name="SetCol" type="" overloaded="no"> | |
26822 | <autodoc>SetCol(int col)</autodoc> | |
26823 | <paramlist> | |
26824 | <param name="col" type="int" default=""/> | |
26825 | </paramlist> | |
26826 | </method> | |
26827 | <method name="SetControl" type="" overloaded="no"> | |
26828 | <autodoc>SetControl(Control ctrl)</autodoc> | |
26829 | <paramlist> | |
26830 | <param name="ctrl" type="Control" default=""/> | |
26831 | </paramlist> | |
26832 | </method> | |
26833 | </class> | |
26834 | <pythoncode> | |
26835 | EVT_GRID_CELL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_CLICK ) | |
26836 | EVT_GRID_CELL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_CLICK ) | |
26837 | EVT_GRID_CELL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_DCLICK ) | |
26838 | EVT_GRID_CELL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_DCLICK ) | |
26839 | EVT_GRID_LABEL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_CLICK ) | |
26840 | EVT_GRID_LABEL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_CLICK ) | |
26841 | EVT_GRID_LABEL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_DCLICK ) | |
26842 | EVT_GRID_LABEL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_DCLICK ) | |
26843 | EVT_GRID_ROW_SIZE = wx.PyEventBinder( wxEVT_GRID_ROW_SIZE ) | |
26844 | EVT_GRID_COL_SIZE = wx.PyEventBinder( wxEVT_GRID_COL_SIZE ) | |
26845 | EVT_GRID_RANGE_SELECT = wx.PyEventBinder( wxEVT_GRID_RANGE_SELECT ) | |
26846 | EVT_GRID_CELL_CHANGE = wx.PyEventBinder( wxEVT_GRID_CELL_CHANGE ) | |
26847 | EVT_GRID_SELECT_CELL = wx.PyEventBinder( wxEVT_GRID_SELECT_CELL ) | |
26848 | EVT_GRID_EDITOR_SHOWN = wx.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN ) | |
26849 | EVT_GRID_EDITOR_HIDDEN = wx.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN ) | |
26850 | EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) | |
0f43fbdf | 26851 | </pythoncode> |
f32fc4bc RD |
26852 | </module> |
26853 | <module name="html"> | |
26854 | <import name="windows"/> | |
26855 | <pythoncode> wx = core </pythoncode> | |
26856 | <pythoncode> | |
0f43fbdf RD |
26857 | #--------------------------------------------------------------------------- |
26858 | </pythoncode> | |
f32fc4bc RD |
26859 | <class name="HtmlLinkInfo" oldname="wxHtmlLinkInfo" module="html"> |
26860 | <baseclass name="Object"/> | |
26861 | <constructor name="HtmlLinkInfo" overloaded="no"> | |
26862 | <autodoc>__init__(String href, String target=EmptyString) -> HtmlLinkInfo</autodoc> | |
26863 | <paramlist> | |
26864 | <param name="href" type="String" default=""/> | |
26865 | <param name="target" type="String" default="wxPyEmptyString"/> | |
26866 | </paramlist> | |
26867 | </constructor> | |
26868 | <method name="GetHref" type="String" overloaded="no"> | |
26869 | <autodoc>GetHref() -> String</autodoc> | |
26870 | </method> | |
26871 | <method name="GetTarget" type="String" overloaded="no"> | |
26872 | <autodoc>GetTarget() -> String</autodoc> | |
26873 | </method> | |
26874 | <method name="GetEvent" type="MouseEvent" overloaded="no"> | |
26875 | <autodoc>GetEvent() -> MouseEvent</autodoc> | |
26876 | </method> | |
26877 | <method name="GetHtmlCell" type="wxHtmlCell" overloaded="no"> | |
26878 | <autodoc>GetHtmlCell() -> HtmlCell</autodoc> | |
26879 | </method> | |
26880 | <method name="SetEvent" type="" overloaded="no"> | |
26881 | <autodoc>SetEvent(MouseEvent e)</autodoc> | |
26882 | <paramlist> | |
26883 | <param name="e" type="MouseEvent" default=""/> | |
26884 | </paramlist> | |
26885 | </method> | |
26886 | <method name="SetHtmlCell" type="" overloaded="no"> | |
26887 | <autodoc>SetHtmlCell(HtmlCell e)</autodoc> | |
26888 | <paramlist> | |
26889 | <param name="e" type="wxHtmlCell" default=""/> | |
26890 | </paramlist> | |
26891 | </method> | |
26892 | </class> | |
26893 | <class name="HtmlTag" oldname="wxHtmlTag" module="html"> | |
26894 | <baseclass name="Object"/> | |
26895 | <method name="GetName" type="String" overloaded="no"> | |
26896 | <autodoc>GetName() -> String</autodoc> | |
26897 | </method> | |
26898 | <method name="HasParam" type="bool" overloaded="no"> | |
26899 | <autodoc>HasParam(String par) -> bool</autodoc> | |
26900 | <paramlist> | |
26901 | <param name="par" type="String" default=""/> | |
26902 | </paramlist> | |
26903 | </method> | |
26904 | <method name="GetParam" type="String" overloaded="no"> | |
26905 | <autodoc>GetParam(String par, int with_commas=False) -> String</autodoc> | |
26906 | <paramlist> | |
26907 | <param name="par" type="String" default=""/> | |
26908 | <param name="with_commas" type="int" default="False"/> | |
26909 | </paramlist> | |
26910 | </method> | |
26911 | <method name="GetAllParams" type="String" overloaded="no"> | |
26912 | <autodoc>GetAllParams() -> String</autodoc> | |
26913 | </method> | |
26914 | <method name="HasEnding" type="bool" overloaded="no"> | |
26915 | <autodoc>HasEnding() -> bool</autodoc> | |
26916 | </method> | |
26917 | <method name="GetBeginPos" type="int" overloaded="no"> | |
26918 | <autodoc>GetBeginPos() -> int</autodoc> | |
26919 | </method> | |
26920 | <method name="GetEndPos1" type="int" overloaded="no"> | |
26921 | <autodoc>GetEndPos1() -> int</autodoc> | |
26922 | </method> | |
26923 | <method name="GetEndPos2" type="int" overloaded="no"> | |
26924 | <autodoc>GetEndPos2() -> int</autodoc> | |
26925 | </method> | |
26926 | </class> | |
26927 | <class name="HtmlParser" oldname="wxHtmlParser" module="html"> | |
26928 | <baseclass name="Object"/> | |
26929 | <method name="SetFS" type="" overloaded="no"> | |
26930 | <autodoc>SetFS(FileSystem fs)</autodoc> | |
26931 | <paramlist> | |
26932 | <param name="fs" type="FileSystem" default=""/> | |
26933 | </paramlist> | |
26934 | </method> | |
26935 | <method name="GetFS" type="FileSystem" overloaded="no"> | |
26936 | <autodoc>GetFS() -> FileSystem</autodoc> | |
26937 | </method> | |
26938 | <method name="Parse" type="Object" overloaded="no"> | |
26939 | <autodoc>Parse(String source) -> Object</autodoc> | |
26940 | <paramlist> | |
26941 | <param name="source" type="String" default=""/> | |
26942 | </paramlist> | |
26943 | </method> | |
26944 | <method name="InitParser" type="" overloaded="no"> | |
26945 | <autodoc>InitParser(String source)</autodoc> | |
26946 | <paramlist> | |
26947 | <param name="source" type="String" default=""/> | |
26948 | </paramlist> | |
26949 | </method> | |
26950 | <method name="DoneParser" type="" overloaded="no"> | |
26951 | <autodoc>DoneParser()</autodoc> | |
26952 | </method> | |
26953 | <method name="DoParsing" type="" overloaded="no"> | |
26954 | <autodoc>DoParsing(int begin_pos, int end_pos)</autodoc> | |
26955 | <paramlist> | |
26956 | <param name="begin_pos" type="int" default=""/> | |
26957 | <param name="end_pos" type="int" default=""/> | |
26958 | </paramlist> | |
26959 | </method> | |
26960 | <method name="StopParsing" type="" overloaded="no"> | |
26961 | <autodoc>StopParsing()</autodoc> | |
26962 | </method> | |
26963 | <method name="AddTagHandler" type="" overloaded="no"> | |
26964 | <autodoc>AddTagHandler(HtmlTagHandler handler)</autodoc> | |
26965 | <paramlist> | |
26966 | <param name="handler" type="wxHtmlTagHandler" default=""/> | |
26967 | </paramlist> | |
26968 | </method> | |
26969 | <method name="GetSource" type="String" overloaded="no"> | |
26970 | <autodoc>GetSource() -> String</autodoc> | |
26971 | </method> | |
26972 | <method name="PushTagHandler" type="" overloaded="no"> | |
26973 | <autodoc>PushTagHandler(HtmlTagHandler handler, String tags)</autodoc> | |
26974 | <paramlist> | |
26975 | <param name="handler" type="wxHtmlTagHandler" default=""/> | |
26976 | <param name="tags" type="String" default=""/> | |
26977 | </paramlist> | |
26978 | </method> | |
26979 | <method name="PopTagHandler" type="" overloaded="no"> | |
26980 | <autodoc>PopTagHandler()</autodoc> | |
26981 | </method> | |
26982 | </class> | |
26983 | <class name="HtmlWinParser" oldname="wxHtmlWinParser" module="html"> | |
26984 | <baseclass name="HtmlParser"/> | |
26985 | <constructor name="HtmlWinParser" overloaded="no"> | |
26986 | <autodoc>__init__(HtmlWindow wnd=None) -> HtmlWinParser</autodoc> | |
26987 | <paramlist> | |
26988 | <param name="wnd" type="wxPyHtmlWindow" default="NULL"/> | |
26989 | </paramlist> | |
26990 | </constructor> | |
26991 | <method name="SetDC" type="" overloaded="no"> | |
26992 | <autodoc>SetDC(DC dc)</autodoc> | |
26993 | <paramlist> | |
26994 | <param name="dc" type="DC" default=""/> | |
26995 | </paramlist> | |
26996 | </method> | |
26997 | <method name="GetDC" type="DC" overloaded="no"> | |
26998 | <autodoc>GetDC() -> DC</autodoc> | |
26999 | </method> | |
27000 | <method name="GetCharHeight" type="int" overloaded="no"> | |
27001 | <autodoc>GetCharHeight() -> int</autodoc> | |
27002 | </method> | |
27003 | <method name="GetCharWidth" type="int" overloaded="no"> | |
27004 | <autodoc>GetCharWidth() -> int</autodoc> | |
27005 | </method> | |
27006 | <method name="GetWindow" type="wxPyHtmlWindow" overloaded="no"> | |
27007 | <autodoc>GetWindow() -> HtmlWindow</autodoc> | |
27008 | </method> | |
27009 | <method name="SetFonts" type="" overloaded="no"> | |
27010 | <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc> | |
27011 | <paramlist> | |
27012 | <param name="normal_face" type="String" default=""/> | |
27013 | <param name="fixed_face" type="String" default=""/> | |
27014 | <param name="sizes" type="PyObject" default="NULL"/> | |
27015 | </paramlist> | |
27016 | </method> | |
27017 | <method name="GetContainer" type="wxHtmlContainerCell" overloaded="no"> | |
27018 | <autodoc>GetContainer() -> HtmlContainerCell</autodoc> | |
27019 | </method> | |
27020 | <method name="OpenContainer" type="wxHtmlContainerCell" overloaded="no"> | |
27021 | <autodoc>OpenContainer() -> HtmlContainerCell</autodoc> | |
27022 | </method> | |
27023 | <method name="SetContainer" type="wxHtmlContainerCell" overloaded="no"> | |
27024 | <autodoc>SetContainer(HtmlContainerCell c) -> HtmlContainerCell</autodoc> | |
27025 | <paramlist> | |
27026 | <param name="c" type="wxHtmlContainerCell" default=""/> | |
27027 | </paramlist> | |
27028 | </method> | |
27029 | <method name="CloseContainer" type="wxHtmlContainerCell" overloaded="no"> | |
27030 | <autodoc>CloseContainer() -> HtmlContainerCell</autodoc> | |
27031 | </method> | |
27032 | <method name="GetFontSize" type="int" overloaded="no"> | |
27033 | <autodoc>GetFontSize() -> int</autodoc> | |
27034 | </method> | |
27035 | <method name="SetFontSize" type="" overloaded="no"> | |
27036 | <autodoc>SetFontSize(int s)</autodoc> | |
27037 | <paramlist> | |
27038 | <param name="s" type="int" default=""/> | |
27039 | </paramlist> | |
27040 | </method> | |
27041 | <method name="GetFontBold" type="int" overloaded="no"> | |
27042 | <autodoc>GetFontBold() -> int</autodoc> | |
27043 | </method> | |
27044 | <method name="SetFontBold" type="" overloaded="no"> | |
27045 | <autodoc>SetFontBold(int x)</autodoc> | |
27046 | <paramlist> | |
27047 | <param name="x" type="int" default=""/> | |
27048 | </paramlist> | |
27049 | </method> | |
27050 | <method name="GetFontItalic" type="int" overloaded="no"> | |
27051 | <autodoc>GetFontItalic() -> int</autodoc> | |
27052 | </method> | |
27053 | <method name="SetFontItalic" type="" overloaded="no"> | |
27054 | <autodoc>SetFontItalic(int x)</autodoc> | |
27055 | <paramlist> | |
27056 | <param name="x" type="int" default=""/> | |
27057 | </paramlist> | |
27058 | </method> | |
27059 | <method name="GetFontUnderlined" type="int" overloaded="no"> | |
27060 | <autodoc>GetFontUnderlined() -> int</autodoc> | |
27061 | </method> | |
27062 | <method name="SetFontUnderlined" type="" overloaded="no"> | |
27063 | <autodoc>SetFontUnderlined(int x)</autodoc> | |
27064 | <paramlist> | |
27065 | <param name="x" type="int" default=""/> | |
27066 | </paramlist> | |
27067 | </method> | |
27068 | <method name="GetFontFixed" type="int" overloaded="no"> | |
27069 | <autodoc>GetFontFixed() -> int</autodoc> | |
27070 | </method> | |
27071 | <method name="SetFontFixed" type="" overloaded="no"> | |
27072 | <autodoc>SetFontFixed(int x)</autodoc> | |
27073 | <paramlist> | |
27074 | <param name="x" type="int" default=""/> | |
27075 | </paramlist> | |
27076 | </method> | |
27077 | <method name="GetAlign" type="int" overloaded="no"> | |
27078 | <autodoc>GetAlign() -> int</autodoc> | |
27079 | </method> | |
27080 | <method name="SetAlign" type="" overloaded="no"> | |
27081 | <autodoc>SetAlign(int a)</autodoc> | |
27082 | <paramlist> | |
27083 | <param name="a" type="int" default=""/> | |
27084 | </paramlist> | |
27085 | </method> | |
27086 | <method name="GetLinkColor" type="Colour" overloaded="no"> | |
27087 | <autodoc>GetLinkColor() -> Colour</autodoc> | |
27088 | </method> | |
27089 | <method name="SetLinkColor" type="" overloaded="no"> | |
27090 | <autodoc>SetLinkColor(Colour clr)</autodoc> | |
27091 | <paramlist> | |
27092 | <param name="clr" type="Colour" default=""/> | |
27093 | </paramlist> | |
27094 | </method> | |
27095 | <method name="GetActualColor" type="Colour" overloaded="no"> | |
27096 | <autodoc>GetActualColor() -> Colour</autodoc> | |
27097 | </method> | |
27098 | <method name="SetActualColor" type="" overloaded="no"> | |
27099 | <autodoc>SetActualColor(Colour clr)</autodoc> | |
27100 | <paramlist> | |
27101 | <param name="clr" type="Colour" default=""/> | |
27102 | </paramlist> | |
27103 | </method> | |
27104 | <method name="SetLink" type="" overloaded="no"> | |
27105 | <autodoc>SetLink(String link)</autodoc> | |
27106 | <paramlist> | |
27107 | <param name="link" type="String" default=""/> | |
27108 | </paramlist> | |
27109 | </method> | |
27110 | <method name="CreateCurrentFont" type="Font" overloaded="no"> | |
27111 | <autodoc>CreateCurrentFont() -> Font</autodoc> | |
27112 | </method> | |
27113 | <method name="GetLink" type="HtmlLinkInfo" overloaded="no"> | |
27114 | <autodoc>GetLink() -> HtmlLinkInfo</autodoc> | |
27115 | </method> | |
27116 | </class> | |
27117 | <class name="HtmlTagHandler" oldname="wxPyHtmlTagHandler" module="html"> | |
27118 | <baseclass name="Object"/> | |
27119 | <constructor name="wxPyHtmlTagHandler" overloaded="no"> | |
27120 | <autodoc>__init__() -> HtmlTagHandler</autodoc> | |
27121 | </constructor> | |
27122 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
27123 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
27124 | <paramlist> | |
27125 | <param name="self" type="PyObject" default=""/> | |
27126 | <param name="_class" type="PyObject" default=""/> | |
27127 | </paramlist> | |
27128 | </method> | |
27129 | <method name="SetParser" type="" overloaded="no"> | |
27130 | <autodoc>SetParser(HtmlParser parser)</autodoc> | |
27131 | <paramlist> | |
27132 | <param name="parser" type="HtmlParser" default=""/> | |
27133 | </paramlist> | |
27134 | </method> | |
27135 | <method name="GetParser" type="HtmlParser" overloaded="no"> | |
27136 | <autodoc>GetParser() -> HtmlParser</autodoc> | |
27137 | </method> | |
27138 | <method name="ParseInner" type="" overloaded="no"> | |
27139 | <autodoc>ParseInner(HtmlTag tag)</autodoc> | |
27140 | <paramlist> | |
27141 | <param name="tag" type="HtmlTag" default=""/> | |
27142 | </paramlist> | |
27143 | </method> | |
27144 | </class> | |
27145 | <class name="HtmlWinTagHandler" oldname="wxPyHtmlWinTagHandler" module="html"> | |
27146 | <baseclass name="HtmlTagHandler"/> | |
27147 | <constructor name="wxPyHtmlWinTagHandler" overloaded="no"> | |
27148 | <autodoc>__init__() -> HtmlWinTagHandler</autodoc> | |
27149 | </constructor> | |
27150 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
27151 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
27152 | <paramlist> | |
27153 | <param name="self" type="PyObject" default=""/> | |
27154 | <param name="_class" type="PyObject" default=""/> | |
27155 | </paramlist> | |
27156 | </method> | |
27157 | <method name="SetParser" type="" overloaded="no"> | |
27158 | <autodoc>SetParser(HtmlParser parser)</autodoc> | |
27159 | <paramlist> | |
27160 | <param name="parser" type="HtmlParser" default=""/> | |
27161 | </paramlist> | |
27162 | </method> | |
27163 | <method name="GetParser" type="HtmlWinParser" overloaded="no"> | |
27164 | <autodoc>GetParser() -> HtmlWinParser</autodoc> | |
27165 | </method> | |
27166 | <method name="ParseInner" type="" overloaded="no"> | |
27167 | <autodoc>ParseInner(HtmlTag tag)</autodoc> | |
27168 | <paramlist> | |
27169 | <param name="tag" type="HtmlTag" default=""/> | |
27170 | </paramlist> | |
27171 | </method> | |
27172 | </class> | |
27173 | <method name="HtmlWinParser_AddTagHandler" oldname="wxHtmlWinParser_AddTagHandler" type="" overloaded="no"> | |
27174 | <autodoc>HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)</autodoc> | |
27175 | <paramlist> | |
27176 | <param name="tagHandlerClass" type="PyObject" default=""/> | |
856bf319 RD |
27177 | </paramlist> |
27178 | </method> | |
0dd25e81 | 27179 | <pythoncode> |
0f43fbdf RD |
27180 | #--------------------------------------------------------------------------- |
27181 | </pythoncode> | |
f32fc4bc RD |
27182 | <class name="HtmlSelection" oldname="wxHtmlSelection" module="html"> |
27183 | <constructor name="HtmlSelection" overloaded="no"> | |
27184 | <autodoc>__init__() -> HtmlSelection</autodoc> | |
27185 | </constructor> | |
27186 | <destructor name="~wxHtmlSelection" overloaded="no"> | |
27187 | <autodoc>__del__()</autodoc> | |
27188 | </destructor> | |
27189 | <method name="Set" type="" overloaded="no"> | |
27190 | <autodoc>Set(Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)</autodoc> | |
27191 | <paramlist> | |
27192 | <param name="fromPos" type="Point" default=""/> | |
27193 | <param name="fromCell" type="wxHtmlCell" default=""/> | |
27194 | <param name="toPos" type="Point" default=""/> | |
27195 | <param name="toCell" type="wxHtmlCell" default=""/> | |
27196 | </paramlist> | |
27197 | </method> | |
27198 | <method name="SetCells" type="" overloaded="no"> | |
27199 | <autodoc>SetCells(HtmlCell fromCell, HtmlCell toCell)</autodoc> | |
27200 | <paramlist> | |
27201 | <param name="fromCell" type="wxHtmlCell" default=""/> | |
27202 | <param name="toCell" type="wxHtmlCell" default=""/> | |
27203 | </paramlist> | |
27204 | </method> | |
27205 | <method name="GetFromCell" type="wxHtmlCell" overloaded="no"> | |
27206 | <autodoc>GetFromCell() -> HtmlCell</autodoc> | |
27207 | </method> | |
27208 | <method name="GetToCell" type="wxHtmlCell" overloaded="no"> | |
27209 | <autodoc>GetToCell() -> HtmlCell</autodoc> | |
27210 | </method> | |
27211 | <method name="GetFromPos" type="Point" overloaded="no"> | |
27212 | <autodoc>GetFromPos() -> Point</autodoc> | |
27213 | </method> | |
27214 | <method name="GetToPos" type="Point" overloaded="no"> | |
27215 | <autodoc>GetToPos() -> Point</autodoc> | |
27216 | </method> | |
27217 | <method name="GetFromPrivPos" type="Point" overloaded="no"> | |
27218 | <autodoc>GetFromPrivPos() -> Point</autodoc> | |
27219 | </method> | |
27220 | <method name="GetToPrivPos" type="Point" overloaded="no"> | |
27221 | <autodoc>GetToPrivPos() -> Point</autodoc> | |
27222 | </method> | |
27223 | <method name="SetFromPrivPos" type="" overloaded="no"> | |
27224 | <autodoc>SetFromPrivPos(Point pos)</autodoc> | |
27225 | <paramlist> | |
27226 | <param name="pos" type="Point" default=""/> | |
27227 | </paramlist> | |
27228 | </method> | |
27229 | <method name="SetToPrivPos" type="" overloaded="no"> | |
27230 | <autodoc>SetToPrivPos(Point pos)</autodoc> | |
27231 | <paramlist> | |
27232 | <param name="pos" type="Point" default=""/> | |
27233 | </paramlist> | |
27234 | </method> | |
27235 | <method name="ClearPrivPos" type="" overloaded="no"> | |
27236 | <autodoc>ClearPrivPos()</autodoc> | |
27237 | </method> | |
27238 | <method name="IsEmpty" type="bool" overloaded="no"> | |
27239 | <autodoc>IsEmpty() -> bool</autodoc> | |
27240 | </method> | |
27241 | </class> | |
27242 | <class name="HtmlRenderingState" oldname="wxHtmlRenderingState" module="html"> | |
27243 | <constructor name="HtmlRenderingState" overloaded="no"> | |
27244 | <autodoc>__init__() -> HtmlRenderingState</autodoc> | |
27245 | </constructor> | |
27246 | <destructor name="~wxHtmlRenderingState" overloaded="no"> | |
27247 | <autodoc>__del__()</autodoc> | |
27248 | </destructor> | |
27249 | <method name="SetSelectionState" type="" overloaded="no"> | |
27250 | <autodoc>SetSelectionState(int s)</autodoc> | |
27251 | <paramlist> | |
27252 | <param name="s" type="wxHtmlSelectionState" default=""/> | |
27253 | </paramlist> | |
27254 | </method> | |
27255 | <method name="GetSelectionState" type="wxHtmlSelectionState" overloaded="no"> | |
27256 | <autodoc>GetSelectionState() -> int</autodoc> | |
27257 | </method> | |
27258 | <method name="SetFgColour" type="" overloaded="no"> | |
27259 | <autodoc>SetFgColour(Colour c)</autodoc> | |
27260 | <paramlist> | |
27261 | <param name="c" type="Colour" default=""/> | |
27262 | </paramlist> | |
27263 | </method> | |
27264 | <method name="GetFgColour" type="Colour" overloaded="no"> | |
27265 | <autodoc>GetFgColour() -> Colour</autodoc> | |
27266 | </method> | |
27267 | <method name="SetBgColour" type="" overloaded="no"> | |
27268 | <autodoc>SetBgColour(Colour c)</autodoc> | |
27269 | <paramlist> | |
27270 | <param name="c" type="Colour" default=""/> | |
27271 | </paramlist> | |
27272 | </method> | |
27273 | <method name="GetBgColour" type="Colour" overloaded="no"> | |
27274 | <autodoc>GetBgColour() -> Colour</autodoc> | |
27275 | </method> | |
27276 | </class> | |
27277 | <class name="HtmlRenderingStyle" oldname="wxHtmlRenderingStyle" module="html"> | |
27278 | <method name="GetSelectedTextColour" type="Colour" overloaded="no"> | |
27279 | <autodoc>GetSelectedTextColour(Colour clr) -> Colour</autodoc> | |
27280 | <paramlist> | |
27281 | <param name="clr" type="Colour" default=""/> | |
27282 | </paramlist> | |
27283 | </method> | |
27284 | <method name="GetSelectedTextBgColour" type="Colour" overloaded="no"> | |
27285 | <autodoc>GetSelectedTextBgColour(Colour clr) -> Colour</autodoc> | |
27286 | <paramlist> | |
27287 | <param name="clr" type="Colour" default=""/> | |
27288 | </paramlist> | |
27289 | </method> | |
27290 | </class> | |
27291 | <class name="DefaultHtmlRenderingStyle" oldname="wxDefaultHtmlRenderingStyle" module="html"> | |
27292 | <baseclass name="HtmlRenderingStyle"/> | |
27293 | <method name="GetSelectedTextColour" type="Colour" overloaded="no"> | |
27294 | <autodoc>GetSelectedTextColour(Colour clr) -> Colour</autodoc> | |
27295 | <paramlist> | |
27296 | <param name="clr" type="Colour" default=""/> | |
27297 | </paramlist> | |
27298 | </method> | |
27299 | <method name="GetSelectedTextBgColour" type="Colour" overloaded="no"> | |
27300 | <autodoc>GetSelectedTextBgColour(Colour clr) -> Colour</autodoc> | |
27301 | <paramlist> | |
27302 | <param name="clr" type="Colour" default=""/> | |
27303 | </paramlist> | |
27304 | </method> | |
27305 | </class> | |
27306 | <class name="HtmlRenderingInfo" oldname="wxHtmlRenderingInfo" module="html"> | |
27307 | <constructor name="HtmlRenderingInfo" overloaded="no"> | |
27308 | <autodoc>__init__() -> HtmlRenderingInfo</autodoc> | |
27309 | </constructor> | |
27310 | <destructor name="~wxHtmlRenderingInfo" overloaded="no"> | |
27311 | <autodoc>__del__()</autodoc> | |
27312 | </destructor> | |
27313 | <method name="SetSelection" type="" overloaded="no"> | |
27314 | <autodoc>SetSelection(HtmlSelection s)</autodoc> | |
27315 | <paramlist> | |
27316 | <param name="s" type="HtmlSelection" default=""/> | |
27317 | </paramlist> | |
27318 | </method> | |
27319 | <method name="GetSelection" type="HtmlSelection" overloaded="no"> | |
27320 | <autodoc>GetSelection() -> HtmlSelection</autodoc> | |
27321 | </method> | |
27322 | <method name="SetStyle" type="" overloaded="no"> | |
27323 | <autodoc>SetStyle(HtmlRenderingStyle style)</autodoc> | |
27324 | <paramlist> | |
27325 | <param name="style" type="HtmlRenderingStyle" default=""/> | |
27326 | </paramlist> | |
27327 | </method> | |
27328 | <method name="GetStyle" type="HtmlRenderingStyle" overloaded="no"> | |
27329 | <autodoc>GetStyle() -> HtmlRenderingStyle</autodoc> | |
27330 | </method> | |
27331 | <method name="GetState" type="HtmlRenderingState" overloaded="no"> | |
27332 | <autodoc>GetState() -> HtmlRenderingState</autodoc> | |
27333 | </method> | |
27334 | </class> | |
27335 | <pythoncode> | |
27336 | #--------------------------------------------------------------------------- | |
856bf319 | 27337 | </pythoncode> |
f32fc4bc RD |
27338 | <class name="HtmlCell" oldname="wxHtmlCell" module="html"> |
27339 | <baseclass name="Object"/> | |
27340 | <constructor name="HtmlCell" overloaded="no"> | |
27341 | <autodoc>__init__() -> HtmlCell</autodoc> | |
27342 | </constructor> | |
27343 | <method name="GetPosX" type="int" overloaded="no"> | |
27344 | <autodoc>GetPosX() -> int</autodoc> | |
27345 | </method> | |
27346 | <method name="GetPosY" type="int" overloaded="no"> | |
27347 | <autodoc>GetPosY() -> int</autodoc> | |
27348 | </method> | |
27349 | <method name="GetWidth" type="int" overloaded="no"> | |
27350 | <autodoc>GetWidth() -> int</autodoc> | |
27351 | </method> | |
27352 | <method name="GetHeight" type="int" overloaded="no"> | |
27353 | <autodoc>GetHeight() -> int</autodoc> | |
27354 | </method> | |
27355 | <method name="GetDescent" type="int" overloaded="no"> | |
27356 | <autodoc>GetDescent() -> int</autodoc> | |
27357 | </method> | |
27358 | <method name="GetId" type="String" overloaded="no"> | |
27359 | <autodoc>GetId() -> String</autodoc> | |
27360 | </method> | |
27361 | <method name="SetId" type="" overloaded="no"> | |
27362 | <autodoc>SetId(String id)</autodoc> | |
27363 | <paramlist> | |
27364 | <param name="id" type="String" default=""/> | |
27365 | </paramlist> | |
27366 | </method> | |
27367 | <method name="GetLink" type="HtmlLinkInfo" overloaded="no"> | |
27368 | <autodoc>GetLink(int x=0, int y=0) -> HtmlLinkInfo</autodoc> | |
27369 | <paramlist> | |
27370 | <param name="x" type="int" default="0"/> | |
27371 | <param name="y" type="int" default="0"/> | |
27372 | </paramlist> | |
27373 | </method> | |
27374 | <method name="GetNext" type="HtmlCell" overloaded="no"> | |
27375 | <autodoc>GetNext() -> HtmlCell</autodoc> | |
27376 | </method> | |
27377 | <method name="GetParent" type="wxHtmlContainerCell" overloaded="no"> | |
27378 | <autodoc>GetParent() -> HtmlContainerCell</autodoc> | |
27379 | </method> | |
27380 | <method name="GetFirstChild" type="HtmlCell" overloaded="no"> | |
27381 | <autodoc>GetFirstChild() -> HtmlCell</autodoc> | |
27382 | </method> | |
27383 | <method name="GetCursor" type="Cursor" overloaded="no"> | |
27384 | <autodoc>GetCursor() -> Cursor</autodoc> | |
27385 | </method> | |
27386 | <method name="IsFormattingCell" type="bool" overloaded="no"> | |
27387 | <autodoc>IsFormattingCell() -> bool</autodoc> | |
27388 | </method> | |
27389 | <method name="SetLink" type="" overloaded="no"> | |
27390 | <autodoc>SetLink(HtmlLinkInfo link)</autodoc> | |
27391 | <paramlist> | |
27392 | <param name="link" type="HtmlLinkInfo" default=""/> | |
27393 | </paramlist> | |
27394 | </method> | |
27395 | <method name="SetNext" type="" overloaded="no"> | |
27396 | <autodoc>SetNext(HtmlCell cell)</autodoc> | |
27397 | <paramlist> | |
27398 | <param name="cell" type="HtmlCell" default=""/> | |
27399 | </paramlist> | |
27400 | </method> | |
27401 | <method name="SetParent" type="" overloaded="no"> | |
27402 | <autodoc>SetParent(HtmlContainerCell p)</autodoc> | |
27403 | <paramlist> | |
27404 | <param name="p" type="wxHtmlContainerCell" default=""/> | |
27405 | </paramlist> | |
27406 | </method> | |
27407 | <method name="SetPos" type="" overloaded="no"> | |
27408 | <autodoc>SetPos(int x, int y)</autodoc> | |
27409 | <paramlist> | |
27410 | <param name="x" type="int" default=""/> | |
27411 | <param name="y" type="int" default=""/> | |
27412 | </paramlist> | |
27413 | </method> | |
27414 | <method name="Layout" type="" overloaded="no"> | |
27415 | <autodoc>Layout(int w)</autodoc> | |
27416 | <paramlist> | |
27417 | <param name="w" type="int" default=""/> | |
27418 | </paramlist> | |
27419 | </method> | |
27420 | <method name="Draw" type="" overloaded="no"> | |
27421 | <autodoc>Draw(DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)</autodoc> | |
27422 | <paramlist> | |
27423 | <param name="dc" type="DC" default=""/> | |
27424 | <param name="x" type="int" default=""/> | |
27425 | <param name="y" type="int" default=""/> | |
27426 | <param name="view_y1" type="int" default=""/> | |
27427 | <param name="view_y2" type="int" default=""/> | |
27428 | <param name="info" type="HtmlRenderingInfo" default=""/> | |
27429 | </paramlist> | |
27430 | </method> | |
27431 | <method name="DrawInvisible" type="" overloaded="no"> | |
27432 | <autodoc>DrawInvisible(DC dc, int x, int y, HtmlRenderingInfo info)</autodoc> | |
27433 | <paramlist> | |
27434 | <param name="dc" type="DC" default=""/> | |
27435 | <param name="x" type="int" default=""/> | |
27436 | <param name="y" type="int" default=""/> | |
27437 | <param name="info" type="HtmlRenderingInfo" default=""/> | |
27438 | </paramlist> | |
27439 | </method> | |
27440 | <method name="Find" type="HtmlCell" overloaded="no"> | |
27441 | <autodoc>Find(int condition, void param) -> HtmlCell</autodoc> | |
27442 | <paramlist> | |
27443 | <param name="condition" type="int" default=""/> | |
27444 | <param name="param" type="" default=""/> | |
27445 | </paramlist> | |
27446 | </method> | |
27447 | <method name="AdjustPagebreak" type="bool" overloaded="no"> | |
27448 | <autodoc>AdjustPagebreak(int INOUT) -> bool</autodoc> | |
27449 | <paramlist> | |
27450 | <param name="INOUT" type="int" default=""/> | |
27451 | </paramlist> | |
27452 | </method> | |
27453 | <method name="SetCanLiveOnPagebreak" type="" overloaded="no"> | |
27454 | <autodoc>SetCanLiveOnPagebreak(bool can)</autodoc> | |
27455 | <paramlist> | |
27456 | <param name="can" type="bool" default=""/> | |
27457 | </paramlist> | |
27458 | </method> | |
27459 | <method name="IsLinebreakAllowed" type="bool" overloaded="no"> | |
27460 | <autodoc>IsLinebreakAllowed() -> bool</autodoc> | |
27461 | </method> | |
27462 | <method name="IsTerminalCell" type="bool" overloaded="no"> | |
27463 | <autodoc>IsTerminalCell() -> bool</autodoc> | |
27464 | </method> | |
27465 | <method name="FindCellByPos" type="HtmlCell" overloaded="no"> | |
27466 | <autodoc>FindCellByPos(int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell</autodoc> | |
27467 | <paramlist> | |
27468 | <param name="x" type="int" default=""/> | |
27469 | <param name="y" type="int" default=""/> | |
27470 | <param name="flags" type="unsigned int" default="wxHTML_FIND_EXACT"/> | |
27471 | </paramlist> | |
27472 | </method> | |
27473 | <method name="GetAbsPos" type="Point" overloaded="no"> | |
27474 | <autodoc>GetAbsPos() -> Point</autodoc> | |
27475 | </method> | |
27476 | <method name="GetFirstTerminal" type="HtmlCell" overloaded="no"> | |
27477 | <autodoc>GetFirstTerminal() -> HtmlCell</autodoc> | |
27478 | </method> | |
27479 | <method name="GetLastTerminal" type="HtmlCell" overloaded="no"> | |
27480 | <autodoc>GetLastTerminal() -> HtmlCell</autodoc> | |
27481 | </method> | |
27482 | <method name="GetDepth" type="unsigned int" overloaded="no"> | |
27483 | <autodoc>GetDepth() -> unsigned int</autodoc> | |
27484 | </method> | |
27485 | <method name="IsBefore" type="bool" overloaded="no"> | |
27486 | <autodoc>IsBefore(HtmlCell cell) -> bool</autodoc> | |
27487 | <paramlist> | |
27488 | <param name="cell" type="HtmlCell" default=""/> | |
27489 | </paramlist> | |
27490 | </method> | |
27491 | <method name="ConvertToText" type="String" overloaded="no"> | |
27492 | <autodoc>ConvertToText(HtmlSelection sel) -> String</autodoc> | |
27493 | <paramlist> | |
27494 | <param name="sel" type="HtmlSelection" default=""/> | |
27495 | </paramlist> | |
27496 | </method> | |
27497 | </class> | |
27498 | <class name="HtmlWordCell" oldname="wxHtmlWordCell" module="html"> | |
27499 | <baseclass name="HtmlCell"/> | |
27500 | <constructor name="HtmlWordCell" overloaded="no"> | |
27501 | <autodoc>__init__(String word, DC dc) -> HtmlWordCell</autodoc> | |
27502 | <paramlist> | |
27503 | <param name="word" type="String" default=""/> | |
27504 | <param name="dc" type="DC" default=""/> | |
27505 | </paramlist> | |
27506 | </constructor> | |
27507 | </class> | |
27508 | <class name="HtmlContainerCell" oldname="wxHtmlContainerCell" module="html"> | |
27509 | <baseclass name="HtmlCell"/> | |
27510 | <constructor name="HtmlContainerCell" overloaded="no"> | |
27511 | <autodoc>__init__(HtmlContainerCell parent) -> HtmlContainerCell</autodoc> | |
27512 | <paramlist> | |
27513 | <param name="parent" type="HtmlContainerCell" default=""/> | |
27514 | </paramlist> | |
27515 | </constructor> | |
27516 | <method name="InsertCell" type="" overloaded="no"> | |
27517 | <autodoc>InsertCell(HtmlCell cell)</autodoc> | |
27518 | <paramlist> | |
27519 | <param name="cell" type="HtmlCell" default=""/> | |
27520 | </paramlist> | |
27521 | </method> | |
27522 | <method name="SetAlignHor" type="" overloaded="no"> | |
27523 | <autodoc>SetAlignHor(int al)</autodoc> | |
27524 | <paramlist> | |
27525 | <param name="al" type="int" default=""/> | |
27526 | </paramlist> | |
27527 | </method> | |
27528 | <method name="GetAlignHor" type="int" overloaded="no"> | |
27529 | <autodoc>GetAlignHor() -> int</autodoc> | |
27530 | </method> | |
27531 | <method name="SetAlignVer" type="" overloaded="no"> | |
27532 | <autodoc>SetAlignVer(int al)</autodoc> | |
27533 | <paramlist> | |
27534 | <param name="al" type="int" default=""/> | |
27535 | </paramlist> | |
27536 | </method> | |
27537 | <method name="GetAlignVer" type="int" overloaded="no"> | |
27538 | <autodoc>GetAlignVer() -> int</autodoc> | |
27539 | </method> | |
27540 | <method name="SetIndent" type="" overloaded="no"> | |
27541 | <autodoc>SetIndent(int i, int what, int units=HTML_UNITS_PIXELS)</autodoc> | |
27542 | <paramlist> | |
27543 | <param name="i" type="int" default=""/> | |
27544 | <param name="what" type="int" default=""/> | |
27545 | <param name="units" type="int" default="wxHTML_UNITS_PIXELS"/> | |
27546 | </paramlist> | |
27547 | </method> | |
27548 | <method name="GetIndent" type="int" overloaded="no"> | |
27549 | <autodoc>GetIndent(int ind) -> int</autodoc> | |
27550 | <paramlist> | |
27551 | <param name="ind" type="int" default=""/> | |
27552 | </paramlist> | |
27553 | </method> | |
27554 | <method name="GetIndentUnits" type="int" overloaded="no"> | |
27555 | <autodoc>GetIndentUnits(int ind) -> int</autodoc> | |
27556 | <paramlist> | |
27557 | <param name="ind" type="int" default=""/> | |
27558 | </paramlist> | |
27559 | </method> | |
27560 | <method name="SetAlign" type="" overloaded="no"> | |
27561 | <autodoc>SetAlign(HtmlTag tag)</autodoc> | |
27562 | <paramlist> | |
27563 | <param name="tag" type="HtmlTag" default=""/> | |
27564 | </paramlist> | |
27565 | </method> | |
27566 | <method name="SetWidthFloat" type="" overloaded="no"> | |
27567 | <autodoc>SetWidthFloat(int w, int units)</autodoc> | |
27568 | <paramlist> | |
27569 | <param name="w" type="int" default=""/> | |
27570 | <param name="units" type="int" default=""/> | |
27571 | </paramlist> | |
27572 | </method> | |
27573 | <method name="SetWidthFloatFromTag" type="" overloaded="no"> | |
27574 | <autodoc>SetWidthFloatFromTag(HtmlTag tag)</autodoc> | |
27575 | <paramlist> | |
27576 | <param name="tag" type="HtmlTag" default=""/> | |
27577 | </paramlist> | |
27578 | </method> | |
27579 | <method name="SetMinHeight" type="" overloaded="no"> | |
27580 | <autodoc>SetMinHeight(int h, int align=HTML_ALIGN_TOP)</autodoc> | |
27581 | <paramlist> | |
27582 | <param name="h" type="int" default=""/> | |
27583 | <param name="align" type="int" default="wxHTML_ALIGN_TOP"/> | |
27584 | </paramlist> | |
27585 | </method> | |
27586 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
27587 | <autodoc>SetBackgroundColour(Colour clr)</autodoc> | |
27588 | <paramlist> | |
27589 | <param name="clr" type="Colour" default=""/> | |
27590 | </paramlist> | |
27591 | </method> | |
27592 | <method name="GetBackgroundColour" type="Colour" overloaded="no"> | |
27593 | <autodoc>GetBackgroundColour() -> Colour</autodoc> | |
27594 | </method> | |
27595 | <method name="SetBorder" type="" overloaded="no"> | |
27596 | <autodoc>SetBorder(Colour clr1, Colour clr2)</autodoc> | |
27597 | <paramlist> | |
27598 | <param name="clr1" type="Colour" default=""/> | |
27599 | <param name="clr2" type="Colour" default=""/> | |
27600 | </paramlist> | |
27601 | </method> | |
27602 | <method name="GetFirstChild" type="HtmlCell" overloaded="no"> | |
27603 | <autodoc>GetFirstChild() -> HtmlCell</autodoc> | |
27604 | </method> | |
27605 | </class> | |
27606 | <class name="HtmlColourCell" oldname="wxHtmlColourCell" module="html"> | |
27607 | <baseclass name="HtmlCell"/> | |
27608 | <constructor name="HtmlColourCell" overloaded="no"> | |
27609 | <autodoc>__init__(Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell</autodoc> | |
27610 | <paramlist> | |
27611 | <param name="clr" type="Colour" default=""/> | |
27612 | <param name="flags" type="int" default="wxHTML_CLR_FOREGROUND"/> | |
27613 | </paramlist> | |
27614 | </constructor> | |
27615 | </class> | |
27616 | <class name="HtmlFontCell" oldname="wxHtmlFontCell" module="html"> | |
27617 | <baseclass name="HtmlCell"/> | |
27618 | <constructor name="HtmlFontCell" overloaded="no"> | |
27619 | <autodoc>__init__(Font font) -> HtmlFontCell</autodoc> | |
27620 | <paramlist> | |
27621 | <param name="font" type="Font" default=""/> | |
27622 | </paramlist> | |
27623 | </constructor> | |
27624 | </class> | |
27625 | <class name="HtmlWidgetCell" oldname="wxHtmlWidgetCell" module="html"> | |
27626 | <baseclass name="HtmlCell"/> | |
27627 | <constructor name="HtmlWidgetCell" overloaded="no"> | |
27628 | <autodoc>__init__(Window wnd, int w=0) -> HtmlWidgetCell</autodoc> | |
27629 | <paramlist> | |
27630 | <param name="wnd" type="Window" default=""/> | |
27631 | <param name="w" type="int" default="0"/> | |
27632 | </paramlist> | |
27633 | </constructor> | |
27634 | </class> | |
27635 | <pythoncode> | |
0f43fbdf RD |
27636 | #--------------------------------------------------------------------------- |
27637 | </pythoncode> | |
f32fc4bc RD |
27638 | <class name="HtmlFilter" oldname="wxPyHtmlFilter" module="html"> |
27639 | <baseclass name="Object"/> | |
27640 | <constructor name="wxPyHtmlFilter" overloaded="no"> | |
27641 | <autodoc>__init__() -> HtmlFilter</autodoc> | |
27642 | </constructor> | |
27643 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
27644 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
27645 | <paramlist> | |
27646 | <param name="self" type="PyObject" default=""/> | |
27647 | <param name="_class" type="PyObject" default=""/> | |
27648 | </paramlist> | |
27649 | </method> | |
27650 | </class> | |
27651 | <pythoncode> | |
0f43fbdf RD |
27652 | #--------------------------------------------------------------------------- |
27653 | </pythoncode> | |
f32fc4bc RD |
27654 | <class name="HtmlWindow" oldname="wxPyHtmlWindow" module="html"> |
27655 | <baseclass name="ScrolledWindow"/> | |
27656 | <constructor name="wxPyHtmlWindow" overloaded="no"> | |
27657 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
27658 | Size size=DefaultSize, int style=HW_DEFAULT_STYLE, | |
27659 | String name=HtmlWindowNameStr) -> HtmlWindow</autodoc> | |
27660 | <paramlist> | |
27661 | <param name="parent" type="Window" default=""/> | |
27662 | <param name="id" type="int" default="-1"/> | |
27663 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
27664 | <param name="size" type="Size" default="wxDefaultSize"/> | |
27665 | <param name="style" type="int" default="wxHW_DEFAULT_STYLE"/> | |
27666 | <param name="name" type="String" default="wxPyHtmlWindowNameStr"/> | |
27667 | </paramlist> | |
27668 | </constructor> | |
27669 | <constructor name="PreHtmlWindow" overloaded="no"> | |
27670 | <autodoc>PreHtmlWindow() -> HtmlWindow</autodoc> | |
27671 | </constructor> | |
27672 | <method name="Create" type="bool" overloaded="no"> | |
27673 | <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, | |
27674 | Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO, | |
27675 | String name=HtmlWindowNameStr) -> bool</autodoc> | |
27676 | <paramlist> | |
27677 | <param name="parent" type="Window" default=""/> | |
27678 | <param name="id" type="int" default="-1"/> | |
27679 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
27680 | <param name="size" type="Size" default="wxDefaultSize"/> | |
27681 | <param name="style" type="int" default="wxHW_SCROLLBAR_AUTO"/> | |
27682 | <param name="name" type="String" default="wxPyHtmlWindowNameStr"/> | |
27683 | </paramlist> | |
27684 | </method> | |
27685 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
27686 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
27687 | <paramlist> | |
27688 | <param name="self" type="PyObject" default=""/> | |
27689 | <param name="_class" type="PyObject" default=""/> | |
27690 | </paramlist> | |
27691 | </method> | |
27692 | <method name="SetPage" type="bool" overloaded="no"> | |
27693 | <autodoc>SetPage(String source) -> bool</autodoc> | |
27694 | <paramlist> | |
27695 | <param name="source" type="String" default=""/> | |
27696 | </paramlist> | |
27697 | </method> | |
27698 | <method name="LoadPage" type="bool" overloaded="no"> | |
27699 | <autodoc>LoadPage(String location) -> bool</autodoc> | |
27700 | <paramlist> | |
27701 | <param name="location" type="String" default=""/> | |
27702 | </paramlist> | |
27703 | </method> | |
27704 | <method name="LoadFile" type="bool" overloaded="no"> | |
27705 | <autodoc>LoadFile(String filename) -> bool</autodoc> | |
27706 | <paramlist> | |
27707 | <param name="filename" type="String" default=""/> | |
27708 | </paramlist> | |
27709 | </method> | |
27710 | <method name="AppendToPage" type="bool" overloaded="no"> | |
27711 | <autodoc>AppendToPage(String source) -> bool</autodoc> | |
27712 | <paramlist> | |
27713 | <param name="source" type="String" default=""/> | |
27714 | </paramlist> | |
27715 | </method> | |
27716 | <method name="GetOpenedPage" type="String" overloaded="no"> | |
27717 | <autodoc>GetOpenedPage() -> String</autodoc> | |
27718 | </method> | |
27719 | <method name="GetOpenedAnchor" type="String" overloaded="no"> | |
27720 | <autodoc>GetOpenedAnchor() -> String</autodoc> | |
27721 | </method> | |
27722 | <method name="GetOpenedPageTitle" type="String" overloaded="no"> | |
27723 | <autodoc>GetOpenedPageTitle() -> String</autodoc> | |
27724 | </method> | |
27725 | <method name="SetRelatedFrame" type="" overloaded="no"> | |
27726 | <autodoc>SetRelatedFrame(Frame frame, String format)</autodoc> | |
27727 | <paramlist> | |
27728 | <param name="frame" type="Frame" default=""/> | |
27729 | <param name="format" type="String" default=""/> | |
27730 | </paramlist> | |
27731 | </method> | |
27732 | <method name="GetRelatedFrame" type="Frame" overloaded="no"> | |
27733 | <autodoc>GetRelatedFrame() -> Frame</autodoc> | |
27734 | </method> | |
27735 | <method name="SetRelatedStatusBar" type="" overloaded="no"> | |
27736 | <autodoc>SetRelatedStatusBar(int bar)</autodoc> | |
27737 | <paramlist> | |
27738 | <param name="bar" type="int" default=""/> | |
27739 | </paramlist> | |
27740 | </method> | |
27741 | <method name="SetFonts" type="" overloaded="no"> | |
27742 | <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc> | |
27743 | <paramlist> | |
27744 | <param name="normal_face" type="String" default=""/> | |
27745 | <param name="fixed_face" type="String" default=""/> | |
27746 | <param name="sizes" type="PyObject" default="NULL"/> | |
27747 | </paramlist> | |
27748 | </method> | |
27749 | <method name="SetTitle" type="" overloaded="no"> | |
27750 | <autodoc>SetTitle(String title)</autodoc> | |
27751 | <paramlist> | |
27752 | <param name="title" type="String" default=""/> | |
27753 | </paramlist> | |
27754 | </method> | |
27755 | <method name="SetBorders" type="" overloaded="no"> | |
27756 | <autodoc>SetBorders(int b)</autodoc> | |
27757 | <paramlist> | |
27758 | <param name="b" type="int" default=""/> | |
27759 | </paramlist> | |
27760 | </method> | |
27761 | <method name="ReadCustomization" type="" overloaded="no"> | |
27762 | <autodoc>ReadCustomization(ConfigBase cfg, String path=EmptyString)</autodoc> | |
27763 | <paramlist> | |
27764 | <param name="cfg" type="ConfigBase" default=""/> | |
27765 | <param name="path" type="String" default="wxPyEmptyString"/> | |
27766 | </paramlist> | |
27767 | </method> | |
27768 | <method name="WriteCustomization" type="" overloaded="no"> | |
27769 | <autodoc>WriteCustomization(ConfigBase cfg, String path=EmptyString)</autodoc> | |
27770 | <paramlist> | |
27771 | <param name="cfg" type="ConfigBase" default=""/> | |
27772 | <param name="path" type="String" default="wxPyEmptyString"/> | |
27773 | </paramlist> | |
27774 | </method> | |
27775 | <method name="HistoryBack" type="bool" overloaded="no"> | |
27776 | <autodoc>HistoryBack() -> bool</autodoc> | |
27777 | </method> | |
27778 | <method name="HistoryForward" type="bool" overloaded="no"> | |
27779 | <autodoc>HistoryForward() -> bool</autodoc> | |
27780 | </method> | |
27781 | <method name="HistoryCanBack" type="bool" overloaded="no"> | |
27782 | <autodoc>HistoryCanBack() -> bool</autodoc> | |
27783 | </method> | |
27784 | <method name="HistoryCanForward" type="bool" overloaded="no"> | |
27785 | <autodoc>HistoryCanForward() -> bool</autodoc> | |
27786 | </method> | |
27787 | <method name="HistoryClear" type="" overloaded="no"> | |
27788 | <autodoc>HistoryClear()</autodoc> | |
27789 | </method> | |
27790 | <method name="GetInternalRepresentation" type="HtmlContainerCell" overloaded="no"> | |
27791 | <autodoc>GetInternalRepresentation() -> HtmlContainerCell</autodoc> | |
27792 | </method> | |
27793 | <method name="GetParser" type="HtmlWinParser" overloaded="no"> | |
27794 | <autodoc>GetParser() -> HtmlWinParser</autodoc> | |
27795 | </method> | |
27796 | <method name="ScrollToAnchor" type="bool" overloaded="no"> | |
27797 | <autodoc>ScrollToAnchor(String anchor) -> bool</autodoc> | |
27798 | <paramlist> | |
27799 | <param name="anchor" type="String" default=""/> | |
27800 | </paramlist> | |
27801 | </method> | |
27802 | <method name="HasAnchor" type="bool" overloaded="no"> | |
27803 | <autodoc>HasAnchor(String anchor) -> bool</autodoc> | |
27804 | <paramlist> | |
27805 | <param name="anchor" type="String" default=""/> | |
27806 | </paramlist> | |
27807 | </method> | |
27808 | <staticmethod name="AddFilter" type="" overloaded="no"> | |
27809 | <autodoc>AddFilter(HtmlFilter filter)</autodoc> | |
27810 | <paramlist> | |
27811 | <param name="filter" type="HtmlFilter" default=""/> | |
27812 | </paramlist> | |
27813 | </staticmethod> | |
27814 | <method name="SelectWord" type="" overloaded="no"> | |
27815 | <autodoc>SelectWord(Point pos)</autodoc> | |
27816 | <paramlist> | |
27817 | <param name="pos" type="Point" default=""/> | |
27818 | </paramlist> | |
27819 | </method> | |
27820 | <method name="SelectLine" type="" overloaded="no"> | |
27821 | <autodoc>SelectLine(Point pos)</autodoc> | |
27822 | <paramlist> | |
27823 | <param name="pos" type="Point" default=""/> | |
27824 | </paramlist> | |
27825 | </method> | |
27826 | <method name="SelectAll" type="" overloaded="no"> | |
27827 | <autodoc>SelectAll()</autodoc> | |
27828 | </method> | |
27829 | <method name="base_OnLinkClicked" type="" overloaded="no"> | |
27830 | <autodoc>base_OnLinkClicked(HtmlLinkInfo link)</autodoc> | |
27831 | <paramlist> | |
27832 | <param name="link" type="HtmlLinkInfo" default=""/> | |
27833 | </paramlist> | |
27834 | </method> | |
27835 | <method name="base_OnSetTitle" type="" overloaded="no"> | |
27836 | <autodoc>base_OnSetTitle(String title)</autodoc> | |
27837 | <paramlist> | |
27838 | <param name="title" type="String" default=""/> | |
27839 | </paramlist> | |
27840 | </method> | |
27841 | <method name="base_OnCellMouseHover" type="" overloaded="no"> | |
27842 | <autodoc>base_OnCellMouseHover(HtmlCell cell, int x, int y)</autodoc> | |
27843 | <paramlist> | |
27844 | <param name="cell" type="HtmlCell" default=""/> | |
27845 | <param name="x" type="int" default=""/> | |
27846 | <param name="y" type="int" default=""/> | |
27847 | </paramlist> | |
27848 | </method> | |
27849 | <method name="base_OnCellClicked" type="" overloaded="no"> | |
27850 | <autodoc>base_OnCellClicked(HtmlCell cell, int x, int y, MouseEvent event)</autodoc> | |
27851 | <paramlist> | |
27852 | <param name="cell" type="HtmlCell" default=""/> | |
27853 | <param name="x" type="int" default=""/> | |
27854 | <param name="y" type="int" default=""/> | |
27855 | <param name="event" type="MouseEvent" default=""/> | |
27856 | </paramlist> | |
27857 | </method> | |
27858 | </class> | |
27859 | <pythoncode> | |
0f43fbdf RD |
27860 | #--------------------------------------------------------------------------- |
27861 | </pythoncode> | |
f32fc4bc RD |
27862 | <class name="HtmlDCRenderer" oldname="wxHtmlDCRenderer" module="html"> |
27863 | <baseclass name="Object"/> | |
27864 | <constructor name="HtmlDCRenderer" overloaded="no"> | |
27865 | <autodoc>__init__() -> HtmlDCRenderer</autodoc> | |
27866 | </constructor> | |
27867 | <destructor name="~wxHtmlDCRenderer" overloaded="no"> | |
27868 | <autodoc>__del__()</autodoc> | |
27869 | </destructor> | |
27870 | <method name="SetDC" type="" overloaded="no"> | |
27871 | <autodoc>SetDC(DC dc, int maxwidth)</autodoc> | |
27872 | <paramlist> | |
27873 | <param name="dc" type="DC" default=""/> | |
27874 | <param name="maxwidth" type="int" default=""/> | |
27875 | </paramlist> | |
27876 | </method> | |
27877 | <method name="SetSize" type="" overloaded="no"> | |
27878 | <autodoc>SetSize(int width, int height)</autodoc> | |
27879 | <paramlist> | |
27880 | <param name="width" type="int" default=""/> | |
27881 | <param name="height" type="int" default=""/> | |
27882 | </paramlist> | |
27883 | </method> | |
27884 | <method name="SetHtmlText" type="" overloaded="no"> | |
27885 | <autodoc>SetHtmlText(String html, String basepath=EmptyString, bool isdir=True)</autodoc> | |
27886 | <paramlist> | |
27887 | <param name="html" type="String" default=""/> | |
27888 | <param name="basepath" type="String" default="wxPyEmptyString"/> | |
27889 | <param name="isdir" type="bool" default="True"/> | |
27890 | </paramlist> | |
27891 | </method> | |
27892 | <method name="SetFonts" type="" overloaded="no"> | |
27893 | <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc> | |
27894 | <paramlist> | |
27895 | <param name="normal_face" type="String" default=""/> | |
27896 | <param name="fixed_face" type="String" default=""/> | |
27897 | <param name="sizes" type="PyObject" default="NULL"/> | |
27898 | </paramlist> | |
27899 | </method> | |
27900 | <method name="Render" type="int" overloaded="no"> | |
27901 | <autodoc>Render(int x, int y, int from=0, int dont_render=False, int to=INT_MAX, | |
27902 | int choices=None, int LCOUNT=0) -> int</autodoc> | |
27903 | <paramlist> | |
27904 | <param name="x" type="int" default=""/> | |
27905 | <param name="y" type="int" default=""/> | |
27906 | <param name="from" type="int" default="0"/> | |
27907 | <param name="dont_render" type="int" default="False"/> | |
27908 | <param name="to" type="int" default="INT_MAX"/> | |
27909 | <param name="choices" type="int" default="NULL"/> | |
27910 | <param name="LCOUNT" type="int" default="0"/> | |
27911 | </paramlist> | |
27912 | </method> | |
27913 | <method name="GetTotalHeight" type="int" overloaded="no"> | |
27914 | <autodoc>GetTotalHeight() -> int</autodoc> | |
27915 | </method> | |
27916 | </class> | |
27917 | <class name="HtmlPrintout" oldname="wxHtmlPrintout" module="html"> | |
27918 | <baseclass name="Printout"/> | |
27919 | <constructor name="HtmlPrintout" overloaded="no"> | |
27920 | <autodoc>__init__(String title=HtmlPrintoutTitleStr) -> HtmlPrintout</autodoc> | |
27921 | <paramlist> | |
27922 | <param name="title" type="String" default="wxPyHtmlPrintoutTitleStr"/> | |
27923 | </paramlist> | |
27924 | </constructor> | |
27925 | <method name="SetHtmlText" type="" overloaded="no"> | |
27926 | <autodoc>SetHtmlText(String html, String basepath=EmptyString, bool isdir=True)</autodoc> | |
27927 | <paramlist> | |
27928 | <param name="html" type="String" default=""/> | |
27929 | <param name="basepath" type="String" default="wxPyEmptyString"/> | |
27930 | <param name="isdir" type="bool" default="True"/> | |
27931 | </paramlist> | |
27932 | </method> | |
27933 | <method name="SetHtmlFile" type="" overloaded="no"> | |
27934 | <autodoc>SetHtmlFile(String htmlfile)</autodoc> | |
27935 | <paramlist> | |
27936 | <param name="htmlfile" type="String" default=""/> | |
27937 | </paramlist> | |
27938 | </method> | |
27939 | <method name="SetHeader" type="" overloaded="no"> | |
27940 | <autodoc>SetHeader(String header, int pg=PAGE_ALL)</autodoc> | |
27941 | <paramlist> | |
27942 | <param name="header" type="String" default=""/> | |
27943 | <param name="pg" type="int" default="wxPAGE_ALL"/> | |
27944 | </paramlist> | |
27945 | </method> | |
27946 | <method name="SetFooter" type="" overloaded="no"> | |
27947 | <autodoc>SetFooter(String footer, int pg=PAGE_ALL)</autodoc> | |
27948 | <paramlist> | |
27949 | <param name="footer" type="String" default=""/> | |
27950 | <param name="pg" type="int" default="wxPAGE_ALL"/> | |
27951 | </paramlist> | |
27952 | </method> | |
27953 | <method name="SetFonts" type="" overloaded="no"> | |
27954 | <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc> | |
27955 | <paramlist> | |
27956 | <param name="normal_face" type="String" default=""/> | |
27957 | <param name="fixed_face" type="String" default=""/> | |
27958 | <param name="sizes" type="PyObject" default="NULL"/> | |
27959 | </paramlist> | |
27960 | </method> | |
27961 | <method name="SetMargins" type="" overloaded="no"> | |
27962 | <autodoc>SetMargins(float top=25.2, float bottom=25.2, float left=25.2, | |
27963 | float right=25.2, float spaces=5)</autodoc> | |
27964 | <paramlist> | |
27965 | <param name="top" type="float" default="25.2"/> | |
27966 | <param name="bottom" type="float" default="25.2"/> | |
27967 | <param name="left" type="float" default="25.2"/> | |
27968 | <param name="right" type="float" default="25.2"/> | |
27969 | <param name="spaces" type="float" default="5"/> | |
27970 | </paramlist> | |
27971 | </method> | |
27972 | <staticmethod name="AddFilter" type="" overloaded="no"> | |
27973 | <autodoc>AddFilter(wxHtmlFilter filter)</autodoc> | |
27974 | <paramlist> | |
27975 | <param name="filter" type="wxHtmlFilter" default=""/> | |
27976 | </paramlist> | |
27977 | </staticmethod> | |
27978 | <staticmethod name="CleanUpStatics" type="" overloaded="no"> | |
27979 | <autodoc>CleanUpStatics()</autodoc> | |
27980 | </staticmethod> | |
27981 | </class> | |
27982 | <class name="HtmlEasyPrinting" oldname="wxHtmlEasyPrinting" module="html"> | |
27983 | <baseclass name="Object"/> | |
27984 | <constructor name="HtmlEasyPrinting" overloaded="no"> | |
27985 | <autodoc>__init__(String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting</autodoc> | |
27986 | <paramlist> | |
27987 | <param name="name" type="String" default="wxPyHtmlPrintingTitleStr"/> | |
27988 | <param name="parentWindow" type="Window" default="NULL"/> | |
27989 | </paramlist> | |
27990 | </constructor> | |
27991 | <destructor name="~wxHtmlEasyPrinting" overloaded="no"> | |
27992 | <autodoc>__del__()</autodoc> | |
27993 | </destructor> | |
27994 | <method name="PreviewFile" type="" overloaded="no"> | |
27995 | <autodoc>PreviewFile(String htmlfile)</autodoc> | |
27996 | <paramlist> | |
27997 | <param name="htmlfile" type="String" default=""/> | |
27998 | </paramlist> | |
27999 | </method> | |
28000 | <method name="PreviewText" type="" overloaded="no"> | |
28001 | <autodoc>PreviewText(String htmltext, String basepath=EmptyString)</autodoc> | |
28002 | <paramlist> | |
28003 | <param name="htmltext" type="String" default=""/> | |
28004 | <param name="basepath" type="String" default="wxPyEmptyString"/> | |
28005 | </paramlist> | |
28006 | </method> | |
28007 | <method name="PrintFile" type="" overloaded="no"> | |
28008 | <autodoc>PrintFile(String htmlfile)</autodoc> | |
28009 | <paramlist> | |
28010 | <param name="htmlfile" type="String" default=""/> | |
28011 | </paramlist> | |
28012 | </method> | |
28013 | <method name="PrintText" type="" overloaded="no"> | |
28014 | <autodoc>PrintText(String htmltext, String basepath=EmptyString)</autodoc> | |
28015 | <paramlist> | |
28016 | <param name="htmltext" type="String" default=""/> | |
28017 | <param name="basepath" type="String" default="wxPyEmptyString"/> | |
28018 | </paramlist> | |
28019 | </method> | |
28020 | <method name="PrinterSetup" type="" overloaded="no"> | |
28021 | <autodoc>PrinterSetup()</autodoc> | |
28022 | </method> | |
28023 | <method name="PageSetup" type="" overloaded="no"> | |
28024 | <autodoc>PageSetup()</autodoc> | |
28025 | </method> | |
28026 | <method name="SetHeader" type="" overloaded="no"> | |
28027 | <autodoc>SetHeader(String header, int pg=PAGE_ALL)</autodoc> | |
28028 | <paramlist> | |
28029 | <param name="header" type="String" default=""/> | |
28030 | <param name="pg" type="int" default="wxPAGE_ALL"/> | |
28031 | </paramlist> | |
28032 | </method> | |
28033 | <method name="SetFooter" type="" overloaded="no"> | |
28034 | <autodoc>SetFooter(String footer, int pg=PAGE_ALL)</autodoc> | |
28035 | <paramlist> | |
28036 | <param name="footer" type="String" default=""/> | |
28037 | <param name="pg" type="int" default="wxPAGE_ALL"/> | |
28038 | </paramlist> | |
28039 | </method> | |
28040 | <method name="SetFonts" type="" overloaded="no"> | |
28041 | <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc> | |
28042 | <paramlist> | |
28043 | <param name="normal_face" type="String" default=""/> | |
28044 | <param name="fixed_face" type="String" default=""/> | |
28045 | <param name="sizes" type="PyObject" default="NULL"/> | |
28046 | </paramlist> | |
28047 | </method> | |
28048 | <method name="GetPrintData" type="PrintData" overloaded="no"> | |
28049 | <autodoc>GetPrintData() -> PrintData</autodoc> | |
28050 | </method> | |
28051 | <method name="GetPageSetupData" type="PageSetupDialogData" overloaded="no"> | |
28052 | <autodoc>GetPageSetupData() -> PageSetupDialogData</autodoc> | |
28053 | </method> | |
28054 | </class> | |
28055 | <pythoncode> | |
0dd25e81 RD |
28056 | #--------------------------------------------------------------------------- |
28057 | </pythoncode> | |
f32fc4bc RD |
28058 | <class name="HtmlBookRecord" oldname="wxHtmlBookRecord" module="html"> |
28059 | <constructor name="HtmlBookRecord" overloaded="no"> | |
28060 | <autodoc>__init__(String bookfile, String basepath, String title, String start) -> HtmlBookRecord</autodoc> | |
28061 | <paramlist> | |
28062 | <param name="bookfile" type="String" default=""/> | |
28063 | <param name="basepath" type="String" default=""/> | |
28064 | <param name="title" type="String" default=""/> | |
28065 | <param name="start" type="String" default=""/> | |
28066 | </paramlist> | |
28067 | </constructor> | |
28068 | <method name="GetBookFile" type="String" overloaded="no"> | |
28069 | <autodoc>GetBookFile() -> String</autodoc> | |
28070 | </method> | |
28071 | <method name="GetTitle" type="String" overloaded="no"> | |
28072 | <autodoc>GetTitle() -> String</autodoc> | |
28073 | </method> | |
28074 | <method name="GetStart" type="String" overloaded="no"> | |
28075 | <autodoc>GetStart() -> String</autodoc> | |
28076 | </method> | |
28077 | <method name="GetBasePath" type="String" overloaded="no"> | |
28078 | <autodoc>GetBasePath() -> String</autodoc> | |
28079 | </method> | |
28080 | <method name="SetContentsRange" type="" overloaded="no"> | |
28081 | <autodoc>SetContentsRange(int start, int end)</autodoc> | |
28082 | <paramlist> | |
28083 | <param name="start" type="int" default=""/> | |
28084 | <param name="end" type="int" default=""/> | |
28085 | </paramlist> | |
28086 | </method> | |
28087 | <method name="GetContentsStart" type="int" overloaded="no"> | |
28088 | <autodoc>GetContentsStart() -> int</autodoc> | |
28089 | </method> | |
28090 | <method name="GetContentsEnd" type="int" overloaded="no"> | |
28091 | <autodoc>GetContentsEnd() -> int</autodoc> | |
28092 | </method> | |
28093 | <method name="SetTitle" type="" overloaded="no"> | |
28094 | <autodoc>SetTitle(String title)</autodoc> | |
28095 | <paramlist> | |
28096 | <param name="title" type="String" default=""/> | |
28097 | </paramlist> | |
28098 | </method> | |
28099 | <method name="SetBasePath" type="" overloaded="no"> | |
28100 | <autodoc>SetBasePath(String path)</autodoc> | |
28101 | <paramlist> | |
28102 | <param name="path" type="String" default=""/> | |
28103 | </paramlist> | |
28104 | </method> | |
28105 | <method name="SetStart" type="" overloaded="no"> | |
28106 | <autodoc>SetStart(String start)</autodoc> | |
28107 | <paramlist> | |
28108 | <param name="start" type="String" default=""/> | |
28109 | </paramlist> | |
28110 | </method> | |
28111 | <method name="GetFullPath" type="String" overloaded="no"> | |
28112 | <autodoc>GetFullPath(String page) -> String</autodoc> | |
28113 | <paramlist> | |
28114 | <param name="page" type="String" default=""/> | |
28115 | </paramlist> | |
28116 | </method> | |
28117 | </class> | |
28118 | <class name="HtmlContentsItem" oldname="wxHtmlContentsItem" module="html"> | |
28119 | <method name="GetLevel" type="int" overloaded="no"> | |
28120 | <autodoc>GetLevel() -> int</autodoc> | |
28121 | </method> | |
28122 | <method name="GetID" type="int" overloaded="no"> | |
28123 | <autodoc>GetID() -> int</autodoc> | |
28124 | </method> | |
28125 | <method name="GetName" type="String" overloaded="no"> | |
28126 | <autodoc>GetName() -> String</autodoc> | |
28127 | </method> | |
28128 | <method name="GetPage" type="String" overloaded="no"> | |
28129 | <autodoc>GetPage() -> String</autodoc> | |
28130 | </method> | |
28131 | <method name="GetBook" type="HtmlBookRecord" overloaded="no"> | |
28132 | <autodoc>GetBook() -> HtmlBookRecord</autodoc> | |
28133 | </method> | |
28134 | </class> | |
28135 | <class name="HtmlSearchStatus" oldname="wxHtmlSearchStatus" module="html"> | |
28136 | <method name="Search" type="bool" overloaded="no"> | |
28137 | <autodoc>Search() -> bool</autodoc> | |
28138 | </method> | |
28139 | <method name="IsActive" type="bool" overloaded="no"> | |
28140 | <autodoc>IsActive() -> bool</autodoc> | |
28141 | </method> | |
28142 | <method name="GetCurIndex" type="int" overloaded="no"> | |
28143 | <autodoc>GetCurIndex() -> int</autodoc> | |
28144 | </method> | |
28145 | <method name="GetMaxIndex" type="int" overloaded="no"> | |
28146 | <autodoc>GetMaxIndex() -> int</autodoc> | |
28147 | </method> | |
28148 | <method name="GetName" type="String" overloaded="no"> | |
28149 | <autodoc>GetName() -> String</autodoc> | |
28150 | </method> | |
28151 | <method name="GetContentsItem" type="HtmlContentsItem" overloaded="no"> | |
28152 | <autodoc>GetContentsItem() -> HtmlContentsItem</autodoc> | |
28153 | </method> | |
28154 | </class> | |
28155 | <class name="HtmlHelpData" oldname="wxHtmlHelpData" module="html"> | |
28156 | <constructor name="HtmlHelpData" overloaded="no"> | |
28157 | <autodoc>__init__() -> HtmlHelpData</autodoc> | |
28158 | </constructor> | |
28159 | <destructor name="~wxHtmlHelpData" overloaded="no"> | |
28160 | <autodoc>__del__()</autodoc> | |
28161 | </destructor> | |
28162 | <method name="SetTempDir" type="" overloaded="no"> | |
28163 | <autodoc>SetTempDir(String path)</autodoc> | |
28164 | <paramlist> | |
28165 | <param name="path" type="String" default=""/> | |
28166 | </paramlist> | |
28167 | </method> | |
28168 | <method name="AddBook" type="bool" overloaded="no"> | |
28169 | <autodoc>AddBook(String book) -> bool</autodoc> | |
28170 | <paramlist> | |
28171 | <param name="book" type="String" default=""/> | |
28172 | </paramlist> | |
28173 | </method> | |
28174 | <method name="FindPageByName" type="String" overloaded="no"> | |
28175 | <autodoc>FindPageByName(String page) -> String</autodoc> | |
28176 | <paramlist> | |
28177 | <param name="page" type="String" default=""/> | |
28178 | </paramlist> | |
28179 | </method> | |
28180 | <method name="FindPageById" type="String" overloaded="no"> | |
28181 | <autodoc>FindPageById(int id) -> String</autodoc> | |
28182 | <paramlist> | |
28183 | <param name="id" type="int" default=""/> | |
28184 | </paramlist> | |
28185 | </method> | |
28186 | <method name="GetBookRecArray" type="wxHtmlBookRecArray" overloaded="no"> | |
28187 | <autodoc>GetBookRecArray() -> wxHtmlBookRecArray</autodoc> | |
28188 | </method> | |
28189 | <method name="GetContents" type="HtmlContentsItem" overloaded="no"> | |
28190 | <autodoc>GetContents() -> HtmlContentsItem</autodoc> | |
28191 | </method> | |
28192 | <method name="GetContentsCnt" type="int" overloaded="no"> | |
28193 | <autodoc>GetContentsCnt() -> int</autodoc> | |
28194 | </method> | |
28195 | <method name="GetIndex" type="HtmlContentsItem" overloaded="no"> | |
28196 | <autodoc>GetIndex() -> HtmlContentsItem</autodoc> | |
28197 | </method> | |
28198 | <method name="GetIndexCnt" type="int" overloaded="no"> | |
28199 | <autodoc>GetIndexCnt() -> int</autodoc> | |
28200 | </method> | |
28201 | </class> | |
28202 | <class name="HtmlHelpFrame" oldname="wxHtmlHelpFrame" module="html"> | |
28203 | <baseclass name="Frame"/> | |
28204 | <constructor name="HtmlHelpFrame" overloaded="no"> | |
28205 | <autodoc>__init__(Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE, | |
28206 | HtmlHelpData data=None) -> HtmlHelpFrame</autodoc> | |
28207 | <paramlist> | |
28208 | <param name="parent" type="Window" default=""/> | |
28209 | <param name="" type="int" default=""/> | |
28210 | <param name="title" type="String" default="wxPyEmptyString"/> | |
28211 | <param name="style" type="int" default="wxHF_DEFAULTSTYLE"/> | |
28212 | <param name="data" type="HtmlHelpData" default="NULL"/> | |
28213 | </paramlist> | |
28214 | </constructor> | |
28215 | <method name="GetData" type="HtmlHelpData" overloaded="no"> | |
28216 | <autodoc>GetData() -> HtmlHelpData</autodoc> | |
28217 | </method> | |
28218 | <method name="SetTitleFormat" type="" overloaded="no"> | |
28219 | <autodoc>SetTitleFormat(String format)</autodoc> | |
28220 | <paramlist> | |
28221 | <param name="format" type="String" default=""/> | |
28222 | </paramlist> | |
28223 | </method> | |
28224 | <method name="Display" type="" overloaded="no"> | |
28225 | <autodoc>Display(String x)</autodoc> | |
28226 | <paramlist> | |
28227 | <param name="x" type="String" default=""/> | |
28228 | </paramlist> | |
28229 | </method> | |
28230 | <method name="DisplayID" type="" overloaded="no"> | |
28231 | <autodoc>DisplayID(int id)</autodoc> | |
28232 | <paramlist> | |
28233 | <param name="id" type="int" default=""/> | |
28234 | </paramlist> | |
28235 | </method> | |
28236 | <method name="DisplayContents" type="" overloaded="no"> | |
28237 | <autodoc>DisplayContents()</autodoc> | |
28238 | </method> | |
28239 | <method name="DisplayIndex" type="" overloaded="no"> | |
28240 | <autodoc>DisplayIndex()</autodoc> | |
28241 | </method> | |
28242 | <method name="KeywordSearch" type="bool" overloaded="no"> | |
28243 | <autodoc>KeywordSearch(String keyword) -> bool</autodoc> | |
28244 | <paramlist> | |
28245 | <param name="keyword" type="String" default=""/> | |
28246 | </paramlist> | |
28247 | </method> | |
28248 | <method name="UseConfig" type="" overloaded="no"> | |
28249 | <autodoc>UseConfig(ConfigBase config, String rootpath=EmptyString)</autodoc> | |
28250 | <paramlist> | |
28251 | <param name="config" type="ConfigBase" default=""/> | |
28252 | <param name="rootpath" type="String" default="wxPyEmptyString"/> | |
28253 | </paramlist> | |
28254 | </method> | |
28255 | <method name="ReadCustomization" type="" overloaded="no"> | |
28256 | <autodoc>ReadCustomization(ConfigBase cfg, String path=EmptyString)</autodoc> | |
28257 | <paramlist> | |
28258 | <param name="cfg" type="ConfigBase" default=""/> | |
28259 | <param name="path" type="String" default="wxPyEmptyString"/> | |
28260 | </paramlist> | |
28261 | </method> | |
28262 | <method name="WriteCustomization" type="" overloaded="no"> | |
28263 | <autodoc>WriteCustomization(ConfigBase cfg, String path=EmptyString)</autodoc> | |
28264 | <paramlist> | |
28265 | <param name="cfg" type="ConfigBase" default=""/> | |
28266 | <param name="path" type="String" default="wxPyEmptyString"/> | |
28267 | </paramlist> | |
28268 | </method> | |
28269 | </class> | |
28270 | <class name="HtmlHelpController" oldname="wxHtmlHelpController" module="html"> | |
28271 | <baseclass name="EvtHandler"/> | |
28272 | <constructor name="HtmlHelpController" overloaded="no"> | |
28273 | <autodoc>__init__(int style=HF_DEFAULTSTYLE) -> HtmlHelpController</autodoc> | |
28274 | <paramlist> | |
28275 | <param name="style" type="int" default="wxHF_DEFAULTSTYLE"/> | |
28276 | </paramlist> | |
28277 | </constructor> | |
28278 | <destructor name="~wxHtmlHelpController" overloaded="no"> | |
28279 | <autodoc>__del__()</autodoc> | |
28280 | </destructor> | |
28281 | <method name="SetTitleFormat" type="" overloaded="no"> | |
28282 | <autodoc>SetTitleFormat(String format)</autodoc> | |
28283 | <paramlist> | |
28284 | <param name="format" type="String" default=""/> | |
28285 | </paramlist> | |
28286 | </method> | |
28287 | <method name="SetTempDir" type="" overloaded="no"> | |
28288 | <autodoc>SetTempDir(String path)</autodoc> | |
28289 | <paramlist> | |
28290 | <param name="path" type="String" default=""/> | |
28291 | </paramlist> | |
28292 | </method> | |
28293 | <method name="AddBook" type="bool" overloaded="no"> | |
28294 | <autodoc>AddBook(String book, int show_wait_msg=False) -> bool</autodoc> | |
28295 | <paramlist> | |
28296 | <param name="book" type="String" default=""/> | |
28297 | <param name="show_wait_msg" type="int" default="False"/> | |
28298 | </paramlist> | |
28299 | </method> | |
28300 | <method name="Display" type="" overloaded="no"> | |
28301 | <autodoc>Display(String x)</autodoc> | |
28302 | <paramlist> | |
28303 | <param name="x" type="String" default=""/> | |
28304 | </paramlist> | |
28305 | </method> | |
28306 | <method name="DisplayID" type="" overloaded="no"> | |
28307 | <autodoc>DisplayID(int id)</autodoc> | |
28308 | <paramlist> | |
28309 | <param name="id" type="int" default=""/> | |
28310 | </paramlist> | |
28311 | </method> | |
28312 | <method name="DisplayContents" type="" overloaded="no"> | |
28313 | <autodoc>DisplayContents()</autodoc> | |
28314 | </method> | |
28315 | <method name="DisplayIndex" type="" overloaded="no"> | |
28316 | <autodoc>DisplayIndex()</autodoc> | |
28317 | </method> | |
28318 | <method name="KeywordSearch" type="bool" overloaded="no"> | |
28319 | <autodoc>KeywordSearch(String keyword) -> bool</autodoc> | |
28320 | <paramlist> | |
28321 | <param name="keyword" type="String" default=""/> | |
28322 | </paramlist> | |
28323 | </method> | |
28324 | <method name="UseConfig" type="" overloaded="no"> | |
28325 | <autodoc>UseConfig(ConfigBase config, String rootpath=EmptyString)</autodoc> | |
28326 | <paramlist> | |
28327 | <param name="config" type="ConfigBase" default=""/> | |
28328 | <param name="rootpath" type="String" default="wxPyEmptyString"/> | |
28329 | </paramlist> | |
28330 | </method> | |
28331 | <method name="ReadCustomization" type="" overloaded="no"> | |
28332 | <autodoc>ReadCustomization(ConfigBase cfg, String path=EmptyString)</autodoc> | |
28333 | <paramlist> | |
28334 | <param name="cfg" type="ConfigBase" default=""/> | |
28335 | <param name="path" type="String" default="wxPyEmptyString"/> | |
28336 | </paramlist> | |
28337 | </method> | |
28338 | <method name="WriteCustomization" type="" overloaded="no"> | |
28339 | <autodoc>WriteCustomization(ConfigBase cfg, String path=EmptyString)</autodoc> | |
28340 | <paramlist> | |
28341 | <param name="cfg" type="ConfigBase" default=""/> | |
28342 | <param name="path" type="String" default="wxPyEmptyString"/> | |
28343 | </paramlist> | |
28344 | </method> | |
28345 | <method name="GetFrame" type="HtmlHelpFrame" overloaded="no"> | |
28346 | <autodoc>GetFrame() -> HtmlHelpFrame</autodoc> | |
28347 | </method> | |
28348 | </class> | |
28349 | </module> | |
28350 | <module name="wizard"> | |
28351 | <import name="windows"/> | |
28352 | <pythoncode> wx = core </pythoncode> | |
28353 | <pythoncode> | |
28354 | EVT_WIZARD_PAGE_CHANGED = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGED, 1) | |
28355 | EVT_WIZARD_PAGE_CHANGING = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGING, 1) | |
28356 | EVT_WIZARD_CANCEL = wx.PyEventBinder( wxEVT_WIZARD_CANCEL, 1) | |
28357 | EVT_WIZARD_HELP = wx.PyEventBinder( wxEVT_WIZARD_HELP, 1) | |
28358 | EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) | |
0dd25e81 | 28359 | </pythoncode> |
f32fc4bc RD |
28360 | <class name="WizardEvent" oldname="wxWizardEvent" module="wizard"> |
28361 | <baseclass name="NotifyEvent"/> | |
28362 | <constructor name="WizardEvent" overloaded="no"> | |
28363 | <autodoc>__init__(wxEventType type=wxEVT_NULL, int id=-1, bool direction=True, | |
28364 | WizardPage page=None) -> WizardEvent</autodoc> | |
28365 | <paramlist> | |
28366 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
28367 | <param name="id" type="int" default="-1"/> | |
28368 | <param name="direction" type="bool" default="True"/> | |
28369 | <param name="page" type="wxWizardPage" default="NULL"/> | |
28370 | </paramlist> | |
28371 | </constructor> | |
28372 | <method name="GetDirection" type="bool" overloaded="no"> | |
28373 | <autodoc>GetDirection() -> bool</autodoc> | |
28374 | </method> | |
28375 | <method name="GetPage" type="wxWizardPage" overloaded="no"> | |
28376 | <autodoc>GetPage() -> WizardPage</autodoc> | |
28377 | </method> | |
28378 | </class> | |
28379 | <class name="WizardPage" oldname="wxWizardPage" module="wizard"> | |
28380 | <baseclass name="Panel"/> | |
28381 | <method name="Create" type="bool" overloaded="no"> | |
28382 | <autodoc>Create(Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool</autodoc> | |
28383 | <paramlist> | |
28384 | <param name="parent" type="wxWizard" default=""/> | |
28385 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
28386 | <param name="resource" type="String" default="wxPyEmptyString"/> | |
28387 | </paramlist> | |
28388 | </method> | |
28389 | <method name="GetPrev" type="WizardPage" overloaded="no"> | |
28390 | <autodoc>GetPrev() -> WizardPage</autodoc> | |
28391 | </method> | |
28392 | <method name="GetNext" type="WizardPage" overloaded="no"> | |
28393 | <autodoc>GetNext() -> WizardPage</autodoc> | |
28394 | </method> | |
28395 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
28396 | <autodoc>GetBitmap() -> Bitmap</autodoc> | |
28397 | </method> | |
28398 | </class> | |
28399 | <class name="PyWizardPage" oldname="wxPyWizardPage" module="wizard"> | |
28400 | <baseclass name="WizardPage"/> | |
28401 | <constructor name="PyWizardPage" overloaded="no"> | |
28402 | <autodoc>__init__(Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage</autodoc> | |
28403 | <paramlist> | |
28404 | <param name="parent" type="wxWizard" default=""/> | |
28405 | <param name="bitmap" type="Bitmap" default="&wxNullBitmap"/> | |
28406 | <param name="resource" type="String" default="&wxPyEmptyString"/> | |
28407 | </paramlist> | |
28408 | </constructor> | |
28409 | <constructor name="PrePyWizardPage" overloaded="no"> | |
28410 | <autodoc>PrePyWizardPage() -> PyWizardPage</autodoc> | |
28411 | </constructor> | |
28412 | <method name="Create" type="bool" overloaded="no"> | |
28413 | <autodoc>Create(Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool</autodoc> | |
28414 | <paramlist> | |
28415 | <param name="parent" type="wxWizard" default=""/> | |
28416 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
28417 | <param name="resource" type="String" default="wxPyEmptyString"/> | |
28418 | </paramlist> | |
28419 | </method> | |
28420 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
28421 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
28422 | <paramlist> | |
28423 | <param name="self" type="PyObject" default=""/> | |
28424 | <param name="_class" type="PyObject" default=""/> | |
28425 | </paramlist> | |
28426 | </method> | |
28427 | <method name="base_DoMoveWindow" type="" overloaded="no"> | |
28428 | <autodoc>base_DoMoveWindow(int x, int y, int width, int height)</autodoc> | |
28429 | <paramlist> | |
28430 | <param name="x" type="int" default=""/> | |
28431 | <param name="y" type="int" default=""/> | |
28432 | <param name="width" type="int" default=""/> | |
28433 | <param name="height" type="int" default=""/> | |
28434 | </paramlist> | |
28435 | </method> | |
28436 | <method name="base_DoSetSize" type="" overloaded="no"> | |
28437 | <autodoc>base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc> | |
28438 | <paramlist> | |
28439 | <param name="x" type="int" default=""/> | |
28440 | <param name="y" type="int" default=""/> | |
28441 | <param name="width" type="int" default=""/> | |
28442 | <param name="height" type="int" default=""/> | |
28443 | <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/> | |
28444 | </paramlist> | |
28445 | </method> | |
28446 | <method name="base_DoSetClientSize" type="" overloaded="no"> | |
28447 | <autodoc>base_DoSetClientSize(int width, int height)</autodoc> | |
28448 | <paramlist> | |
28449 | <param name="width" type="int" default=""/> | |
28450 | <param name="height" type="int" default=""/> | |
28451 | </paramlist> | |
28452 | </method> | |
28453 | <method name="base_DoSetVirtualSize" type="" overloaded="no"> | |
28454 | <autodoc>base_DoSetVirtualSize(int x, int y)</autodoc> | |
28455 | <paramlist> | |
28456 | <param name="x" type="int" default=""/> | |
28457 | <param name="y" type="int" default=""/> | |
28458 | </paramlist> | |
28459 | </method> | |
28460 | <method name="base_DoGetSize" type="" overloaded="no"> | |
28461 | <autodoc>base_DoGetSize() -> (width, height)</autodoc> | |
28462 | <paramlist> | |
28463 | <param name="OUTPUT" type="int" default=""/> | |
28464 | <param name="OUTPUT" type="int" default=""/> | |
28465 | </paramlist> | |
28466 | </method> | |
28467 | <method name="base_DoGetClientSize" type="" overloaded="no"> | |
28468 | <autodoc>base_DoGetClientSize() -> (width, height)</autodoc> | |
28469 | <paramlist> | |
28470 | <param name="OUTPUT" type="int" default=""/> | |
28471 | <param name="OUTPUT" type="int" default=""/> | |
28472 | </paramlist> | |
28473 | </method> | |
28474 | <method name="base_DoGetPosition" type="" overloaded="no"> | |
28475 | <autodoc>base_DoGetPosition() -> (x,y)</autodoc> | |
28476 | <paramlist> | |
28477 | <param name="OUTPUT" type="int" default=""/> | |
28478 | <param name="OUTPUT" type="int" default=""/> | |
28479 | </paramlist> | |
28480 | </method> | |
28481 | <method name="base_DoGetVirtualSize" type="Size" overloaded="no"> | |
28482 | <autodoc>base_DoGetVirtualSize() -> Size</autodoc> | |
28483 | </method> | |
28484 | <method name="base_DoGetBestSize" type="Size" overloaded="no"> | |
28485 | <autodoc>base_DoGetBestSize() -> Size</autodoc> | |
28486 | </method> | |
28487 | <method name="base_InitDialog" type="" overloaded="no"> | |
28488 | <autodoc>base_InitDialog()</autodoc> | |
28489 | </method> | |
28490 | <method name="base_TransferDataToWindow" type="bool" overloaded="no"> | |
28491 | <autodoc>base_TransferDataToWindow() -> bool</autodoc> | |
28492 | </method> | |
28493 | <method name="base_TransferDataFromWindow" type="bool" overloaded="no"> | |
28494 | <autodoc>base_TransferDataFromWindow() -> bool</autodoc> | |
28495 | </method> | |
28496 | <method name="base_Validate" type="bool" overloaded="no"> | |
28497 | <autodoc>base_Validate() -> bool</autodoc> | |
28498 | </method> | |
28499 | <method name="base_AcceptsFocus" type="bool" overloaded="no"> | |
28500 | <autodoc>base_AcceptsFocus() -> bool</autodoc> | |
28501 | </method> | |
28502 | <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no"> | |
28503 | <autodoc>base_AcceptsFocusFromKeyboard() -> bool</autodoc> | |
28504 | </method> | |
28505 | <method name="base_GetMaxSize" type="Size" overloaded="no"> | |
28506 | <autodoc>base_GetMaxSize() -> Size</autodoc> | |
28507 | </method> | |
28508 | <method name="base_AddChild" type="" overloaded="no"> | |
28509 | <autodoc>base_AddChild(Window child)</autodoc> | |
28510 | <paramlist> | |
28511 | <param name="child" type="Window" default=""/> | |
28512 | </paramlist> | |
28513 | </method> | |
28514 | <method name="base_RemoveChild" type="" overloaded="no"> | |
28515 | <autodoc>base_RemoveChild(Window child)</autodoc> | |
28516 | <paramlist> | |
28517 | <param name="child" type="Window" default=""/> | |
28518 | </paramlist> | |
28519 | </method> | |
28520 | </class> | |
28521 | <class name="WizardPageSimple" oldname="wxWizardPageSimple" module="wizard"> | |
28522 | <baseclass name="WizardPage"/> | |
28523 | <constructor name="WizardPageSimple" overloaded="no"> | |
28524 | <autodoc>__init__(Wizard parent, WizardPage prev=None, WizardPage next=None, | |
28525 | Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple</autodoc> | |
28526 | <paramlist> | |
28527 | <param name="parent" type="wxWizard" default=""/> | |
28528 | <param name="prev" type="WizardPage" default="NULL"/> | |
28529 | <param name="next" type="WizardPage" default="NULL"/> | |
28530 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
28531 | <param name="resource" type="wxChar" default="NULL"/> | |
28532 | </paramlist> | |
28533 | </constructor> | |
28534 | <constructor name="PreWizardPageSimple" overloaded="no"> | |
28535 | <autodoc>PreWizardPageSimple() -> WizardPageSimple</autodoc> | |
28536 | </constructor> | |
28537 | <method name="Create" type="bool" overloaded="no"> | |
28538 | <autodoc>Create(Wizard parent=None, WizardPage prev=None, WizardPage next=None, | |
28539 | Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool</autodoc> | |
28540 | <paramlist> | |
28541 | <param name="parent" type="wxWizard" default="NULL"/> | |
28542 | <param name="prev" type="WizardPage" default="NULL"/> | |
28543 | <param name="next" type="WizardPage" default="NULL"/> | |
28544 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
28545 | <param name="resource" type="wxChar" default="NULL"/> | |
28546 | </paramlist> | |
28547 | </method> | |
28548 | <method name="SetPrev" type="" overloaded="no"> | |
28549 | <autodoc>SetPrev(WizardPage prev)</autodoc> | |
28550 | <paramlist> | |
28551 | <param name="prev" type="WizardPage" default=""/> | |
28552 | </paramlist> | |
28553 | </method> | |
28554 | <method name="SetNext" type="" overloaded="no"> | |
28555 | <autodoc>SetNext(WizardPage next)</autodoc> | |
28556 | <paramlist> | |
28557 | <param name="next" type="WizardPage" default=""/> | |
28558 | </paramlist> | |
28559 | </method> | |
28560 | <staticmethod name="Chain" type="" overloaded="no"> | |
28561 | <autodoc>Chain(WizardPageSimple first, WizardPageSimple second)</autodoc> | |
28562 | <paramlist> | |
28563 | <param name="first" type="WizardPageSimple" default=""/> | |
28564 | <param name="second" type="WizardPageSimple" default=""/> | |
28565 | </paramlist> | |
28566 | </staticmethod> | |
28567 | </class> | |
28568 | <class name="Wizard" oldname="wxWizard" module="wizard"> | |
28569 | <baseclass name="Dialog"/> | |
28570 | <constructor name="Wizard" overloaded="no"> | |
28571 | <autodoc>__init__(Window parent, int id=-1, String title=EmptyString, | |
28572 | Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition, | |
28573 | long style=DEFAULT_DIALOG_STYLE) -> Wizard</autodoc> | |
28574 | <paramlist> | |
28575 | <param name="parent" type="Window" default=""/> | |
28576 | <param name="id" type="int" default="-1"/> | |
28577 | <param name="title" type="String" default="wxPyEmptyString"/> | |
28578 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
28579 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
28580 | <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/> | |
28581 | </paramlist> | |
28582 | </constructor> | |
28583 | <constructor name="PreWizard" overloaded="no"> | |
28584 | <autodoc>PreWizard() -> Wizard</autodoc> | |
28585 | </constructor> | |
28586 | <method name="Create" type="bool" overloaded="no"> | |
28587 | <autodoc>Create(Window parent, int id=-1, String title=EmptyString, | |
28588 | Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool</autodoc> | |
28589 | <paramlist> | |
28590 | <param name="parent" type="Window" default=""/> | |
28591 | <param name="id" type="int" default="-1"/> | |
28592 | <param name="title" type="String" default="wxPyEmptyString"/> | |
28593 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
28594 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
28595 | </paramlist> | |
28596 | </method> | |
28597 | <method name="Init" type="" overloaded="no"> | |
28598 | <autodoc>Init()</autodoc> | |
28599 | </method> | |
28600 | <method name="RunWizard" type="bool" overloaded="no"> | |
28601 | <autodoc>RunWizard(WizardPage firstPage) -> bool</autodoc> | |
28602 | <paramlist> | |
28603 | <param name="firstPage" type="WizardPage" default=""/> | |
28604 | </paramlist> | |
28605 | </method> | |
28606 | <method name="GetCurrentPage" type="WizardPage" overloaded="no"> | |
28607 | <autodoc>GetCurrentPage() -> WizardPage</autodoc> | |
28608 | </method> | |
28609 | <method name="SetPageSize" type="" overloaded="no"> | |
28610 | <autodoc>SetPageSize(Size size)</autodoc> | |
28611 | <paramlist> | |
28612 | <param name="size" type="Size" default=""/> | |
28613 | </paramlist> | |
28614 | </method> | |
28615 | <method name="GetPageSize" type="Size" overloaded="no"> | |
28616 | <autodoc>GetPageSize() -> Size</autodoc> | |
28617 | </method> | |
28618 | <method name="FitToPage" type="" overloaded="no"> | |
28619 | <autodoc>FitToPage(WizardPage firstPage)</autodoc> | |
28620 | <paramlist> | |
28621 | <param name="firstPage" type="WizardPage" default=""/> | |
28622 | </paramlist> | |
28623 | </method> | |
28624 | <method name="GetPageAreaSizer" type="Sizer" overloaded="no"> | |
28625 | <autodoc>GetPageAreaSizer() -> Sizer</autodoc> | |
28626 | </method> | |
28627 | <method name="SetBorder" type="" overloaded="no"> | |
28628 | <autodoc>SetBorder(int border)</autodoc> | |
28629 | <paramlist> | |
28630 | <param name="border" type="int" default=""/> | |
28631 | </paramlist> | |
28632 | </method> | |
28633 | <method name="IsRunning" type="bool" overloaded="no"> | |
28634 | <autodoc>IsRunning() -> bool</autodoc> | |
28635 | </method> | |
28636 | <method name="ShowPage" type="bool" overloaded="no"> | |
28637 | <autodoc>ShowPage(WizardPage page, bool goingForward=True) -> bool</autodoc> | |
28638 | <paramlist> | |
28639 | <param name="page" type="WizardPage" default=""/> | |
28640 | <param name="goingForward" type="bool" default="True"/> | |
28641 | </paramlist> | |
28642 | </method> | |
28643 | <method name="HasNextPage" type="bool" overloaded="no"> | |
28644 | <autodoc>HasNextPage(WizardPage page) -> bool</autodoc> | |
28645 | <paramlist> | |
28646 | <param name="page" type="WizardPage" default=""/> | |
28647 | </paramlist> | |
28648 | </method> | |
28649 | <method name="HasPrevPage" type="bool" overloaded="no"> | |
28650 | <autodoc>HasPrevPage(WizardPage page) -> bool</autodoc> | |
28651 | <paramlist> | |
28652 | <param name="page" type="WizardPage" default=""/> | |
28653 | </paramlist> | |
28654 | </method> | |
28655 | </class> | |
28656 | </module> | |
28657 | <module name="glcanvas"> | |
28658 | <import name="core"/> | |
28659 | <pythoncode> wx = core </pythoncode> | |
28660 | <class name="GLContext" oldname="wxGLContext" module="glcanvas"> | |
28661 | <baseclass name="Object"/> | |
28662 | <constructor name="GLContext" overloaded="no"> | |
28663 | <autodoc>__init__(bool isRGB, GLCanvas win, wxPalette palette=wxNullPalette, | |
28664 | GLContext other=None) -> GLContext</autodoc> | |
28665 | <paramlist> | |
28666 | <param name="isRGB" type="bool" default=""/> | |
28667 | <param name="win" type="wxGLCanvas" default=""/> | |
28668 | <param name="palette" type="Palette" default="wxNullPalette"/> | |
28669 | <param name="other" type="GLContext" default="NULL"/> | |
28670 | </paramlist> | |
28671 | </constructor> | |
28672 | <destructor name="~wxGLContext" overloaded="no"> | |
28673 | <autodoc>__del__()</autodoc> | |
28674 | </destructor> | |
28675 | <method name="SetCurrent" type="" overloaded="no"> | |
28676 | <autodoc>SetCurrent()</autodoc> | |
28677 | </method> | |
28678 | <method name="SetColour" type="" overloaded="no"> | |
28679 | <autodoc>SetColour(String colour)</autodoc> | |
28680 | <paramlist> | |
28681 | <param name="colour" type="String" default=""/> | |
28682 | </paramlist> | |
28683 | </method> | |
28684 | <method name="SwapBuffers" type="" overloaded="no"> | |
28685 | <autodoc>SwapBuffers()</autodoc> | |
28686 | </method> | |
28687 | <method name="SetupPixelFormat" type="" overloaded="no"> | |
28688 | <autodoc>SetupPixelFormat()</autodoc> | |
28689 | </method> | |
28690 | <method name="SetupPalette" type="" overloaded="no"> | |
28691 | <autodoc>SetupPalette(wxPalette palette)</autodoc> | |
28692 | <paramlist> | |
28693 | <param name="palette" type="Palette" default=""/> | |
28694 | </paramlist> | |
28695 | </method> | |
28696 | <method name="CreateDefaultPalette" type="Palette" overloaded="no"> | |
28697 | <autodoc>CreateDefaultPalette() -> wxPalette</autodoc> | |
28698 | </method> | |
28699 | <method name="GetPalette" type="Palette" overloaded="no"> | |
28700 | <autodoc>GetPalette() -> wxPalette</autodoc> | |
28701 | </method> | |
28702 | <method name="GetWindow" type="Window" overloaded="no"> | |
28703 | <autodoc>GetWindow() -> Window</autodoc> | |
28704 | </method> | |
28705 | </class> | |
28706 | <class name="GLCanvas" oldname="wxGLCanvas" module="glcanvas"> | |
28707 | <baseclass name="Window"/> | |
28708 | <constructor name="GLCanvas" overloaded="no"> | |
28709 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
28710 | Size size=DefaultSize, long style=0, String name=GLCanvasNameStr, | |
28711 | int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas</autodoc> | |
28712 | <paramlist> | |
28713 | <param name="parent" type="Window" default=""/> | |
28714 | <param name="id" type="int" default="-1"/> | |
28715 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
28716 | <param name="size" type="Size" default="wxDefaultSize"/> | |
28717 | <param name="style" type="long" default="0"/> | |
28718 | <param name="name" type="String" default="wxPyGLCanvasNameStr"/> | |
28719 | <param name="attribList" type="int" default="NULL"/> | |
28720 | <param name="palette" type="Palette" default="wxNullPalette"/> | |
28721 | </paramlist> | |
28722 | </constructor> | |
28723 | <constructor name="GLCanvasWithContext" overloaded="no"> | |
28724 | <autodoc>GLCanvasWithContext(Window parent, GLContext shared=None, int id=-1, Point pos=DefaultPosition, | |
28725 | Size size=DefaultSize, | |
28726 | long style=0, String name=GLCanvasNameStr, | |
28727 | int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas</autodoc> | |
28728 | <paramlist> | |
28729 | <param name="parent" type="Window" default=""/> | |
28730 | <param name="shared" type="GLContext" default="NULL"/> | |
28731 | <param name="id" type="int" default="-1"/> | |
28732 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
28733 | <param name="size" type="Size" default="wxDefaultSize"/> | |
28734 | <param name="style" type="long" default="0"/> | |
28735 | <param name="name" type="String" default="wxPyGLCanvasNameStr"/> | |
28736 | <param name="attribList" type="int" default="NULL"/> | |
28737 | <param name="palette" type="Palette" default="wxNullPalette"/> | |
28738 | </paramlist> | |
28739 | </constructor> | |
28740 | <method name="SetCurrent" type="" overloaded="no"> | |
28741 | <autodoc>SetCurrent()</autodoc> | |
28742 | </method> | |
28743 | <method name="SetColour" type="" overloaded="no"> | |
28744 | <autodoc>SetColour(String colour)</autodoc> | |
28745 | <paramlist> | |
28746 | <param name="colour" type="String" default=""/> | |
28747 | </paramlist> | |
28748 | </method> | |
28749 | <method name="SwapBuffers" type="" overloaded="no"> | |
28750 | <autodoc>SwapBuffers()</autodoc> | |
28751 | </method> | |
28752 | <method name="GetContext" type="GLContext" overloaded="no"> | |
28753 | <autodoc>GetContext() -> GLContext</autodoc> | |
28754 | </method> | |
28755 | </class> | |
28756 | </module> | |
28757 | <module name="ogl"> | |
28758 | <import name="windows"/> | |
28759 | <pythoncode> wx = core </pythoncode> | |
28760 | <pythoncode> | |
0dd25e81 RD |
28761 | #--------------------------------------------------------------------------- |
28762 | </pythoncode> | |
f32fc4bc RD |
28763 | <class name="ShapeRegion" oldname="wxShapeRegion" module="ogl"> |
28764 | <baseclass name="Object"/> | |
28765 | <constructor name="ShapeRegion" overloaded="no"> | |
28766 | <autodoc>__init__() -> ShapeRegion</autodoc> | |
28767 | </constructor> | |
28768 | <method name="SetText" type="" overloaded="no"> | |
28769 | <autodoc>SetText(String s)</autodoc> | |
28770 | <paramlist> | |
28771 | <param name="s" type="String" default=""/> | |
28772 | </paramlist> | |
28773 | </method> | |
28774 | <method name="SetFont" type="" overloaded="no"> | |
28775 | <autodoc>SetFont(Font f)</autodoc> | |
28776 | <paramlist> | |
28777 | <param name="f" type="Font" default=""/> | |
28778 | </paramlist> | |
28779 | </method> | |
28780 | <method name="SetMinSize" type="" overloaded="no"> | |
28781 | <autodoc>SetMinSize(double w, double h)</autodoc> | |
28782 | <paramlist> | |
28783 | <param name="w" type="double" default=""/> | |
28784 | <param name="h" type="double" default=""/> | |
28785 | </paramlist> | |
28786 | </method> | |
28787 | <method name="SetSize" type="" overloaded="no"> | |
28788 | <autodoc>SetSize(double w, double h)</autodoc> | |
28789 | <paramlist> | |
28790 | <param name="w" type="double" default=""/> | |
28791 | <param name="h" type="double" default=""/> | |
28792 | </paramlist> | |
28793 | </method> | |
28794 | <method name="SetPosition" type="" overloaded="no"> | |
28795 | <autodoc>SetPosition(double x, double y)</autodoc> | |
28796 | <paramlist> | |
28797 | <param name="x" type="double" default=""/> | |
28798 | <param name="y" type="double" default=""/> | |
28799 | </paramlist> | |
28800 | </method> | |
28801 | <method name="SetProportions" type="" overloaded="no"> | |
28802 | <autodoc>SetProportions(double x, double y)</autodoc> | |
28803 | <paramlist> | |
28804 | <param name="x" type="double" default=""/> | |
28805 | <param name="y" type="double" default=""/> | |
28806 | </paramlist> | |
28807 | </method> | |
28808 | <method name="SetFormatMode" type="" overloaded="no"> | |
28809 | <autodoc>SetFormatMode(int mode)</autodoc> | |
28810 | <paramlist> | |
28811 | <param name="mode" type="int" default=""/> | |
28812 | </paramlist> | |
28813 | </method> | |
28814 | <method name="SetName" type="" overloaded="no"> | |
28815 | <autodoc>SetName(String s)</autodoc> | |
28816 | <paramlist> | |
28817 | <param name="s" type="String" default=""/> | |
28818 | </paramlist> | |
28819 | </method> | |
28820 | <method name="SetColour" type="" overloaded="no"> | |
28821 | <autodoc>SetColour(String col)</autodoc> | |
28822 | <paramlist> | |
28823 | <param name="col" type="String" default=""/> | |
28824 | </paramlist> | |
28825 | </method> | |
28826 | <method name="GetText" type="String" overloaded="no"> | |
28827 | <autodoc>GetText() -> String</autodoc> | |
28828 | </method> | |
28829 | <method name="GetFont" type="Font" overloaded="no"> | |
28830 | <autodoc>GetFont() -> Font</autodoc> | |
28831 | </method> | |
28832 | <method name="GetMinSize" type="" overloaded="no"> | |
28833 | <autodoc>GetMinSize(double OUTPUT, double OUTPUT)</autodoc> | |
28834 | <paramlist> | |
28835 | <param name="OUTPUT" type="double" default=""/> | |
28836 | <param name="OUTPUT" type="double" default=""/> | |
28837 | </paramlist> | |
28838 | </method> | |
28839 | <method name="GetProportion" type="" overloaded="no"> | |
28840 | <autodoc>GetProportion(double OUTPUT, double OUTPUT)</autodoc> | |
28841 | <paramlist> | |
28842 | <param name="OUTPUT" type="double" default=""/> | |
28843 | <param name="OUTPUT" type="double" default=""/> | |
28844 | </paramlist> | |
28845 | </method> | |
28846 | <method name="GetSize" type="" overloaded="no"> | |
28847 | <autodoc>GetSize(double OUTPUT, double OUTPUT)</autodoc> | |
28848 | <paramlist> | |
28849 | <param name="OUTPUT" type="double" default=""/> | |
28850 | <param name="OUTPUT" type="double" default=""/> | |
28851 | </paramlist> | |
28852 | </method> | |
28853 | <method name="GetPosition" type="" overloaded="no"> | |
28854 | <autodoc>GetPosition(double OUTPUT, double OUTPUT)</autodoc> | |
28855 | <paramlist> | |
28856 | <param name="OUTPUT" type="double" default=""/> | |
28857 | <param name="OUTPUT" type="double" default=""/> | |
28858 | </paramlist> | |
28859 | </method> | |
28860 | <method name="GetFormatMode" type="int" overloaded="no"> | |
28861 | <autodoc>GetFormatMode() -> int</autodoc> | |
28862 | </method> | |
28863 | <method name="GetName" type="String" overloaded="no"> | |
28864 | <autodoc>GetName() -> String</autodoc> | |
28865 | </method> | |
28866 | <method name="GetColour" type="String" overloaded="no"> | |
28867 | <autodoc>GetColour() -> String</autodoc> | |
28868 | </method> | |
28869 | <method name="GetActualColourObject" type="Colour" overloaded="no"> | |
28870 | <autodoc>GetActualColourObject() -> Colour</autodoc> | |
28871 | </method> | |
28872 | <method name="GetFormattedText" type="wxList" overloaded="no"> | |
28873 | <autodoc>GetFormattedText() -> wxList</autodoc> | |
28874 | </method> | |
28875 | <method name="GetPenColour" type="String" overloaded="no"> | |
28876 | <autodoc>GetPenColour() -> String</autodoc> | |
28877 | </method> | |
28878 | <method name="GetPenStyle" type="int" overloaded="no"> | |
28879 | <autodoc>GetPenStyle() -> int</autodoc> | |
28880 | </method> | |
28881 | <method name="SetPenStyle" type="" overloaded="no"> | |
28882 | <autodoc>SetPenStyle(int style)</autodoc> | |
28883 | <paramlist> | |
28884 | <param name="style" type="int" default=""/> | |
28885 | </paramlist> | |
28886 | </method> | |
28887 | <method name="SetPenColour" type="" overloaded="no"> | |
28888 | <autodoc>SetPenColour(String col)</autodoc> | |
28889 | <paramlist> | |
28890 | <param name="col" type="String" default=""/> | |
28891 | </paramlist> | |
28892 | </method> | |
28893 | <method name="GetActualPen" type="Pen" overloaded="no"> | |
28894 | <autodoc>GetActualPen() -> wxPen</autodoc> | |
28895 | </method> | |
28896 | <method name="GetWidth" type="double" overloaded="no"> | |
28897 | <autodoc>GetWidth() -> double</autodoc> | |
28898 | </method> | |
28899 | <method name="GetHeight" type="double" overloaded="no"> | |
28900 | <autodoc>GetHeight() -> double</autodoc> | |
28901 | </method> | |
28902 | <method name="ClearText" type="" overloaded="no"> | |
28903 | <autodoc>ClearText()</autodoc> | |
28904 | </method> | |
28905 | </class> | |
28906 | <class name="AttachmentPoint" oldname="wxAttachmentPoint" module="ogl"> | |
28907 | <baseclass name="Object"/> | |
28908 | <constructor name="AttachmentPoint" overloaded="no"> | |
28909 | <autodoc>__init__(int id=0, double x=0.0, double y=0.0) -> AttachmentPoint</autodoc> | |
28910 | <paramlist> | |
28911 | <param name="id" type="int" default="0"/> | |
28912 | <param name="x" type="double" default="0.0"/> | |
28913 | <param name="y" type="double" default="0.0"/> | |
28914 | </paramlist> | |
28915 | </constructor> | |
28916 | <property name="m_id" type="int" readonly="no"/> | |
28917 | <property name="m_x" type="double" readonly="no"/> | |
28918 | <property name="m_y" type="double" readonly="no"/> | |
28919 | </class> | |
28920 | <class name="PyShapeEvtHandler" oldname="wxPyShapeEvtHandler" module="ogl"> | |
28921 | <baseclass name="Object"/> | |
28922 | <constructor name="PyShapeEvtHandler" overloaded="no"> | |
28923 | <autodoc>__init__(PyShapeEvtHandler prev=None, PyShape shape=None) -> PyShapeEvtHandler</autodoc> | |
28924 | <paramlist> | |
28925 | <param name="prev" type="PyShapeEvtHandler" default="NULL"/> | |
28926 | <param name="shape" type="wxPyShape" default="NULL"/> | |
28927 | </paramlist> | |
28928 | </constructor> | |
28929 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
28930 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
28931 | <paramlist> | |
28932 | <param name="self" type="PyObject" default=""/> | |
28933 | <param name="_class" type="PyObject" default=""/> | |
28934 | </paramlist> | |
28935 | </method> | |
28936 | <method name="_setOORInfo" type="" overloaded="no"> | |
28937 | <autodoc>_setOORInfo(PyObject _self)</autodoc> | |
28938 | <paramlist> | |
28939 | <param name="_self" type="PyObject" default=""/> | |
28940 | </paramlist> | |
28941 | </method> | |
28942 | <method name="SetShape" type="" overloaded="no"> | |
28943 | <autodoc>SetShape(PyShape sh)</autodoc> | |
28944 | <paramlist> | |
28945 | <param name="sh" type="wxPyShape" default=""/> | |
28946 | </paramlist> | |
28947 | </method> | |
28948 | <method name="GetShape" type="wxPyShape" overloaded="no"> | |
28949 | <autodoc>GetShape() -> PyShape</autodoc> | |
28950 | </method> | |
28951 | <method name="SetPreviousHandler" type="" overloaded="no"> | |
28952 | <autodoc>SetPreviousHandler(PyShapeEvtHandler handler)</autodoc> | |
28953 | <paramlist> | |
28954 | <param name="handler" type="PyShapeEvtHandler" default=""/> | |
28955 | </paramlist> | |
28956 | </method> | |
28957 | <method name="GetPreviousHandler" type="PyShapeEvtHandler" overloaded="no"> | |
28958 | <autodoc>GetPreviousHandler() -> PyShapeEvtHandler</autodoc> | |
28959 | </method> | |
28960 | <method name="CreateNewCopy" type="PyShapeEvtHandler" overloaded="no"> | |
28961 | <autodoc>CreateNewCopy() -> PyShapeEvtHandler</autodoc> | |
28962 | </method> | |
28963 | <method name="base_OnDelete" type="" overloaded="no"> | |
28964 | <autodoc>base_OnDelete()</autodoc> | |
28965 | </method> | |
28966 | <method name="base_OnDraw" type="" overloaded="no"> | |
28967 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
28968 | <paramlist> | |
28969 | <param name="dc" type="DC" default=""/> | |
28970 | </paramlist> | |
28971 | </method> | |
28972 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
28973 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
28974 | <paramlist> | |
28975 | <param name="dc" type="DC" default=""/> | |
28976 | </paramlist> | |
28977 | </method> | |
28978 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
28979 | <autodoc>base_OnDrawBranches(DC dc, bool erase=False)</autodoc> | |
28980 | <paramlist> | |
28981 | <param name="dc" type="DC" default=""/> | |
28982 | <param name="erase" type="bool" default="False"/> | |
28983 | </paramlist> | |
28984 | </method> | |
28985 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
28986 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
28987 | <paramlist> | |
28988 | <param name="dc" type="DC" default=""/> | |
28989 | </paramlist> | |
28990 | </method> | |
28991 | <method name="base_OnErase" type="" overloaded="no"> | |
28992 | <autodoc>base_OnErase(DC dc)</autodoc> | |
28993 | <paramlist> | |
28994 | <param name="dc" type="DC" default=""/> | |
28995 | </paramlist> | |
28996 | </method> | |
28997 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
28998 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
28999 | <paramlist> | |
29000 | <param name="dc" type="DC" default=""/> | |
29001 | </paramlist> | |
29002 | </method> | |
29003 | <method name="base_OnHighlight" type="" overloaded="no"> | |
29004 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
29005 | <paramlist> | |
29006 | <param name="dc" type="DC" default=""/> | |
29007 | </paramlist> | |
29008 | </method> | |
29009 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
29010 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
29011 | <paramlist> | |
29012 | <param name="x" type="double" default=""/> | |
29013 | <param name="y" type="double" default=""/> | |
29014 | <param name="keys" type="int" default="0"/> | |
29015 | <param name="attachment" type="int" default="0"/> | |
29016 | </paramlist> | |
29017 | </method> | |
29018 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
29019 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
29020 | <paramlist> | |
29021 | <param name="x" type="double" default=""/> | |
29022 | <param name="y" type="double" default=""/> | |
29023 | <param name="keys" type="int" default="0"/> | |
29024 | <param name="attachment" type="int" default="0"/> | |
29025 | </paramlist> | |
29026 | </method> | |
29027 | <method name="base_OnRightClick" type="" overloaded="no"> | |
29028 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
29029 | <paramlist> | |
29030 | <param name="x" type="double" default=""/> | |
29031 | <param name="y" type="double" default=""/> | |
29032 | <param name="keys" type="int" default="0"/> | |
29033 | <param name="attachment" type="int" default="0"/> | |
29034 | </paramlist> | |
29035 | </method> | |
29036 | <method name="base_OnSize" type="" overloaded="no"> | |
29037 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
29038 | <paramlist> | |
29039 | <param name="x" type="double" default=""/> | |
29040 | <param name="y" type="double" default=""/> | |
29041 | </paramlist> | |
29042 | </method> | |
29043 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
29044 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
29045 | bool display=True) -> bool</autodoc> | |
29046 | <paramlist> | |
29047 | <param name="dc" type="DC" default=""/> | |
29048 | <param name="x" type="double" default=""/> | |
29049 | <param name="y" type="double" default=""/> | |
29050 | <param name="old_x" type="double" default=""/> | |
29051 | <param name="old_y" type="double" default=""/> | |
29052 | <param name="display" type="bool" default="True"/> | |
29053 | </paramlist> | |
29054 | </method> | |
29055 | <method name="base_OnMovePost" type="" overloaded="no"> | |
29056 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
29057 | bool display=True)</autodoc> | |
29058 | <paramlist> | |
29059 | <param name="dc" type="DC" default=""/> | |
29060 | <param name="x" type="double" default=""/> | |
29061 | <param name="y" type="double" default=""/> | |
29062 | <param name="old_x" type="double" default=""/> | |
29063 | <param name="old_y" type="double" default=""/> | |
29064 | <param name="display" type="bool" default="True"/> | |
29065 | </paramlist> | |
29066 | </method> | |
29067 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
29068 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
29069 | <paramlist> | |
29070 | <param name="draw" type="bool" default=""/> | |
29071 | <param name="x" type="double" default=""/> | |
29072 | <param name="y" type="double" default=""/> | |
29073 | <param name="keys" type="int" default="0"/> | |
29074 | <param name="attachment" type="int" default="0"/> | |
29075 | </paramlist> | |
29076 | </method> | |
29077 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
29078 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
29079 | <paramlist> | |
29080 | <param name="x" type="double" default=""/> | |
29081 | <param name="y" type="double" default=""/> | |
29082 | <param name="keys" type="int" default="0"/> | |
29083 | <param name="attachment" type="int" default="0"/> | |
29084 | </paramlist> | |
29085 | </method> | |
29086 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
29087 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
29088 | <paramlist> | |
29089 | <param name="x" type="double" default=""/> | |
29090 | <param name="y" type="double" default=""/> | |
29091 | <param name="keys" type="int" default="0"/> | |
29092 | <param name="attachment" type="int" default="0"/> | |
29093 | </paramlist> | |
29094 | </method> | |
29095 | <method name="base_OnDragRight" type="" overloaded="no"> | |
29096 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
29097 | <paramlist> | |
29098 | <param name="draw" type="bool" default=""/> | |
29099 | <param name="x" type="double" default=""/> | |
29100 | <param name="y" type="double" default=""/> | |
29101 | <param name="keys" type="int" default="0"/> | |
29102 | <param name="attachment" type="int" default="0"/> | |
29103 | </paramlist> | |
29104 | </method> | |
29105 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
29106 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
29107 | <paramlist> | |
29108 | <param name="x" type="double" default=""/> | |
29109 | <param name="y" type="double" default=""/> | |
29110 | <param name="keys" type="int" default="0"/> | |
29111 | <param name="attachment" type="int" default="0"/> | |
29112 | </paramlist> | |
29113 | </method> | |
29114 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
29115 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
29116 | <paramlist> | |
29117 | <param name="x" type="double" default=""/> | |
29118 | <param name="y" type="double" default=""/> | |
29119 | <param name="keys" type="int" default="0"/> | |
29120 | <param name="attachment" type="int" default="0"/> | |
29121 | </paramlist> | |
29122 | </method> | |
29123 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
29124 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
29125 | <paramlist> | |
29126 | <param name="dc" type="DC" default=""/> | |
29127 | <param name="x" type="double" default=""/> | |
29128 | <param name="y" type="double" default=""/> | |
29129 | <param name="w" type="double" default=""/> | |
29130 | <param name="h" type="double" default=""/> | |
29131 | </paramlist> | |
29132 | </method> | |
29133 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
29134 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
29135 | <paramlist> | |
29136 | <param name="dc" type="DC" default=""/> | |
29137 | </paramlist> | |
29138 | </method> | |
29139 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
29140 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
29141 | <paramlist> | |
29142 | <param name="dc" type="DC" default=""/> | |
29143 | </paramlist> | |
29144 | </method> | |
29145 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
29146 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
29147 | <paramlist> | |
29148 | <param name="dc" type="DC" default=""/> | |
29149 | <param name="moveControlPoints" type="bool" default="True"/> | |
29150 | </paramlist> | |
29151 | </method> | |
29152 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
29153 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
29154 | int attachment=0)</autodoc> | |
29155 | <paramlist> | |
29156 | <param name="pt" type="wxPyControlPoint" default=""/> | |
29157 | <param name="draw" type="bool" default=""/> | |
29158 | <param name="x" type="double" default=""/> | |
29159 | <param name="y" type="double" default=""/> | |
29160 | <param name="keys" type="int" default="0"/> | |
29161 | <param name="attachment" type="int" default="0"/> | |
29162 | </paramlist> | |
29163 | </method> | |
29164 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
29165 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
29166 | int attachment=0)</autodoc> | |
29167 | <paramlist> | |
29168 | <param name="pt" type="wxPyControlPoint" default=""/> | |
29169 | <param name="x" type="double" default=""/> | |
29170 | <param name="y" type="double" default=""/> | |
29171 | <param name="keys" type="int" default="0"/> | |
29172 | <param name="attachment" type="int" default="0"/> | |
29173 | </paramlist> | |
29174 | </method> | |
29175 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
29176 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
29177 | int attachment=0)</autodoc> | |
29178 | <paramlist> | |
29179 | <param name="pt" type="wxPyControlPoint" default=""/> | |
29180 | <param name="x" type="double" default=""/> | |
29181 | <param name="y" type="double" default=""/> | |
29182 | <param name="keys" type="int" default="0"/> | |
29183 | <param name="attachment" type="int" default="0"/> | |
29184 | </paramlist> | |
29185 | </method> | |
29186 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
29187 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
29188 | <paramlist> | |
29189 | <param name="w" type="double" default=""/> | |
29190 | <param name="h" type="double" default=""/> | |
29191 | </paramlist> | |
29192 | </method> | |
29193 | <method name="base_OnEndSize" type="" overloaded="no"> | |
29194 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
29195 | <paramlist> | |
29196 | <param name="w" type="double" default=""/> | |
29197 | <param name="h" type="double" default=""/> | |
29198 | </paramlist> | |
29199 | </method> | |
29200 | </class> | |
29201 | <class name="PyShape" oldname="wxPyShape" module="ogl"> | |
29202 | <baseclass name="PyShapeEvtHandler"/> | |
29203 | <constructor name="PyShape" overloaded="no"> | |
29204 | <autodoc>__init__(PyShapeCanvas can=None) -> PyShape</autodoc> | |
29205 | <paramlist> | |
29206 | <param name="can" type="wxPyShapeCanvas" default="NULL"/> | |
29207 | </paramlist> | |
29208 | </constructor> | |
29209 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
29210 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
29211 | <paramlist> | |
29212 | <param name="self" type="PyObject" default=""/> | |
29213 | <param name="_class" type="PyObject" default=""/> | |
29214 | </paramlist> | |
29215 | </method> | |
29216 | <method name="GetBoundingBoxMax" type="" overloaded="no"> | |
29217 | <autodoc>GetBoundingBoxMax(double OUTPUT, double OUTPUT)</autodoc> | |
29218 | <paramlist> | |
29219 | <param name="OUTPUT" type="double" default=""/> | |
29220 | <param name="OUTPUT" type="double" default=""/> | |
29221 | </paramlist> | |
29222 | </method> | |
29223 | <method name="GetBoundingBoxMin" type="" overloaded="no"> | |
29224 | <autodoc>GetBoundingBoxMin(double OUTPUT, double OUTPUT)</autodoc> | |
29225 | <paramlist> | |
29226 | <param name="OUTPUT" type="double" default=""/> | |
29227 | <param name="OUTPUT" type="double" default=""/> | |
29228 | </paramlist> | |
29229 | </method> | |
29230 | <method name="GetPerimeterPoint" type="bool" overloaded="no"> | |
29231 | <autodoc>GetPerimeterPoint(double x1, double y1, double x2, double y2, double OUTPUT, | |
29232 | double OUTPUT) -> bool</autodoc> | |
29233 | <paramlist> | |
29234 | <param name="x1" type="double" default=""/> | |
29235 | <param name="y1" type="double" default=""/> | |
29236 | <param name="x2" type="double" default=""/> | |
29237 | <param name="y2" type="double" default=""/> | |
29238 | <param name="OUTPUT" type="double" default=""/> | |
29239 | <param name="OUTPUT" type="double" default=""/> | |
29240 | </paramlist> | |
29241 | </method> | |
29242 | <method name="GetCanvas" type="wxPyShapeCanvas" overloaded="no"> | |
29243 | <autodoc>GetCanvas() -> PyShapeCanvas</autodoc> | |
29244 | </method> | |
29245 | <method name="SetCanvas" type="" overloaded="no"> | |
29246 | <autodoc>SetCanvas(PyShapeCanvas the_canvas)</autodoc> | |
29247 | <paramlist> | |
29248 | <param name="the_canvas" type="wxPyShapeCanvas" default=""/> | |
29249 | </paramlist> | |
29250 | </method> | |
29251 | <method name="AddToCanvas" type="" overloaded="no"> | |
29252 | <autodoc>AddToCanvas(PyShapeCanvas the_canvas, PyShape addAfter=None)</autodoc> | |
29253 | <paramlist> | |
29254 | <param name="the_canvas" type="wxPyShapeCanvas" default=""/> | |
29255 | <param name="addAfter" type="PyShape" default="NULL"/> | |
29256 | </paramlist> | |
29257 | </method> | |
29258 | <method name="InsertInCanvas" type="" overloaded="no"> | |
29259 | <autodoc>InsertInCanvas(PyShapeCanvas the_canvas)</autodoc> | |
29260 | <paramlist> | |
29261 | <param name="the_canvas" type="wxPyShapeCanvas" default=""/> | |
29262 | </paramlist> | |
29263 | </method> | |
29264 | <method name="RemoveFromCanvas" type="" overloaded="no"> | |
29265 | <autodoc>RemoveFromCanvas(PyShapeCanvas the_canvas)</autodoc> | |
29266 | <paramlist> | |
29267 | <param name="the_canvas" type="wxPyShapeCanvas" default=""/> | |
29268 | </paramlist> | |
29269 | </method> | |
29270 | <method name="GetX" type="double" overloaded="no"> | |
29271 | <autodoc>GetX() -> double</autodoc> | |
29272 | </method> | |
29273 | <method name="GetY" type="double" overloaded="no"> | |
29274 | <autodoc>GetY() -> double</autodoc> | |
29275 | </method> | |
29276 | <method name="SetX" type="" overloaded="no"> | |
29277 | <autodoc>SetX(double x)</autodoc> | |
29278 | <paramlist> | |
29279 | <param name="x" type="double" default=""/> | |
29280 | </paramlist> | |
29281 | </method> | |
29282 | <method name="SetY" type="" overloaded="no"> | |
29283 | <autodoc>SetY(double y)</autodoc> | |
29284 | <paramlist> | |
29285 | <param name="y" type="double" default=""/> | |
29286 | </paramlist> | |
29287 | </method> | |
29288 | <method name="GetParent" type="PyShape" overloaded="no"> | |
29289 | <autodoc>GetParent() -> PyShape</autodoc> | |
29290 | </method> | |
29291 | <method name="SetParent" type="" overloaded="no"> | |
29292 | <autodoc>SetParent(PyShape p)</autodoc> | |
29293 | <paramlist> | |
29294 | <param name="p" type="PyShape" default=""/> | |
29295 | </paramlist> | |
29296 | </method> | |
29297 | <method name="GetTopAncestor" type="PyShape" overloaded="no"> | |
29298 | <autodoc>GetTopAncestor() -> PyShape</autodoc> | |
29299 | </method> | |
29300 | <method name="GetChildren" type="PyObject" overloaded="no"> | |
29301 | <autodoc>GetChildren() -> PyObject</autodoc> | |
29302 | </method> | |
29303 | <method name="Unlink" type="" overloaded="no"> | |
29304 | <autodoc>Unlink()</autodoc> | |
29305 | </method> | |
29306 | <method name="SetDrawHandles" type="" overloaded="no"> | |
29307 | <autodoc>SetDrawHandles(bool drawH)</autodoc> | |
29308 | <paramlist> | |
29309 | <param name="drawH" type="bool" default=""/> | |
29310 | </paramlist> | |
29311 | </method> | |
29312 | <method name="GetDrawHandles" type="bool" overloaded="no"> | |
29313 | <autodoc>GetDrawHandles() -> bool</autodoc> | |
29314 | </method> | |
29315 | <method name="MakeControlPoints" type="" overloaded="no"> | |
29316 | <autodoc>MakeControlPoints()</autodoc> | |
29317 | </method> | |
29318 | <method name="DeleteControlPoints" type="" overloaded="no"> | |
29319 | <autodoc>DeleteControlPoints(DC dc=None)</autodoc> | |
29320 | <paramlist> | |
29321 | <param name="dc" type="DC" default="NULL"/> | |
29322 | </paramlist> | |
29323 | </method> | |
29324 | <method name="ResetControlPoints" type="" overloaded="no"> | |
29325 | <autodoc>ResetControlPoints()</autodoc> | |
29326 | </method> | |
29327 | <method name="GetEventHandler" type="PyShapeEvtHandler" overloaded="no"> | |
29328 | <autodoc>GetEventHandler() -> PyShapeEvtHandler</autodoc> | |
29329 | </method> | |
29330 | <method name="SetEventHandler" type="" overloaded="no"> | |
29331 | <autodoc>SetEventHandler(PyShapeEvtHandler handler)</autodoc> | |
29332 | <paramlist> | |
29333 | <param name="handler" type="PyShapeEvtHandler" default=""/> | |
29334 | </paramlist> | |
29335 | </method> | |
29336 | <method name="MakeMandatoryControlPoints" type="" overloaded="no"> | |
29337 | <autodoc>MakeMandatoryControlPoints()</autodoc> | |
29338 | </method> | |
29339 | <method name="ResetMandatoryControlPoints" type="" overloaded="no"> | |
29340 | <autodoc>ResetMandatoryControlPoints()</autodoc> | |
29341 | </method> | |
29342 | <method name="Recompute" type="bool" overloaded="no"> | |
29343 | <autodoc>Recompute() -> bool</autodoc> | |
29344 | </method> | |
29345 | <method name="CalculateSize" type="" overloaded="no"> | |
29346 | <autodoc>CalculateSize()</autodoc> | |
29347 | </method> | |
29348 | <method name="Select" type="" overloaded="no"> | |
29349 | <autodoc>Select(bool select=True, DC dc=None)</autodoc> | |
29350 | <paramlist> | |
29351 | <param name="select" type="bool" default="True"/> | |
29352 | <param name="dc" type="DC" default="NULL"/> | |
29353 | </paramlist> | |
29354 | </method> | |
29355 | <method name="SetHighlight" type="" overloaded="no"> | |
29356 | <autodoc>SetHighlight(bool hi=True, bool recurse=False)</autodoc> | |
29357 | <paramlist> | |
29358 | <param name="hi" type="bool" default="True"/> | |
29359 | <param name="recurse" type="bool" default="False"/> | |
29360 | </paramlist> | |
29361 | </method> | |
29362 | <method name="IsHighlighted" type="bool" overloaded="no"> | |
29363 | <autodoc>IsHighlighted() -> bool</autodoc> | |
29364 | </method> | |
29365 | <method name="Selected" type="bool" overloaded="no"> | |
29366 | <autodoc>Selected() -> bool</autodoc> | |
29367 | </method> | |
29368 | <method name="AncestorSelected" type="bool" overloaded="no"> | |
29369 | <autodoc>AncestorSelected() -> bool</autodoc> | |
29370 | </method> | |
29371 | <method name="SetSensitivityFilter" type="" overloaded="no"> | |
29372 | <autodoc>SetSensitivityFilter(int sens=OP_ALL, bool recursive=False)</autodoc> | |
29373 | <paramlist> | |
29374 | <param name="sens" type="int" default="OP_ALL"/> | |
29375 | <param name="recursive" type="bool" default="False"/> | |
29376 | </paramlist> | |
29377 | </method> | |
29378 | <method name="GetSensitivityFilter" type="int" overloaded="no"> | |
29379 | <autodoc>GetSensitivityFilter() -> int</autodoc> | |
29380 | </method> | |
29381 | <method name="SetDraggable" type="" overloaded="no"> | |
29382 | <autodoc>SetDraggable(bool drag, bool recursive=False)</autodoc> | |
29383 | <paramlist> | |
29384 | <param name="drag" type="bool" default=""/> | |
29385 | <param name="recursive" type="bool" default="False"/> | |
29386 | </paramlist> | |
29387 | </method> | |
29388 | <method name="SetFixedSize" type="" overloaded="no"> | |
29389 | <autodoc>SetFixedSize(bool x, bool y)</autodoc> | |
29390 | <paramlist> | |
29391 | <param name="x" type="bool" default=""/> | |
29392 | <param name="y" type="bool" default=""/> | |
29393 | </paramlist> | |
29394 | </method> | |
29395 | <method name="GetFixedSize" type="" overloaded="no"> | |
29396 | <autodoc>GetFixedSize(bool OUTPUT, bool OUTPUT)</autodoc> | |
29397 | <paramlist> | |
29398 | <param name="OUTPUT" type="bool" default=""/> | |
29399 | <param name="OUTPUT" type="bool" default=""/> | |
29400 | </paramlist> | |
29401 | </method> | |
29402 | <method name="GetFixedWidth" type="bool" overloaded="no"> | |
29403 | <autodoc>GetFixedWidth() -> bool</autodoc> | |
29404 | </method> | |
29405 | <method name="GetFixedHeight" type="bool" overloaded="no"> | |
29406 | <autodoc>GetFixedHeight() -> bool</autodoc> | |
29407 | </method> | |
29408 | <method name="SetSpaceAttachments" type="" overloaded="no"> | |
29409 | <autodoc>SetSpaceAttachments(bool sp)</autodoc> | |
29410 | <paramlist> | |
29411 | <param name="sp" type="bool" default=""/> | |
29412 | </paramlist> | |
29413 | </method> | |
29414 | <method name="GetSpaceAttachments" type="bool" overloaded="no"> | |
29415 | <autodoc>GetSpaceAttachments() -> bool</autodoc> | |
29416 | </method> | |
29417 | <method name="SetShadowMode" type="" overloaded="no"> | |
29418 | <autodoc>SetShadowMode(int mode, bool redraw=False)</autodoc> | |
29419 | <paramlist> | |
29420 | <param name="mode" type="int" default=""/> | |
29421 | <param name="redraw" type="bool" default="False"/> | |
29422 | </paramlist> | |
29423 | </method> | |
29424 | <method name="GetShadowMode" type="int" overloaded="no"> | |
29425 | <autodoc>GetShadowMode() -> int</autodoc> | |
29426 | </method> | |
29427 | <method name="HitTest" type="bool" overloaded="no"> | |
29428 | <autodoc>HitTest(double x, double y, int OUTPUT, double OUTPUT) -> bool</autodoc> | |
29429 | <paramlist> | |
29430 | <param name="x" type="double" default=""/> | |
29431 | <param name="y" type="double" default=""/> | |
29432 | <param name="OUTPUT" type="int" default=""/> | |
29433 | <param name="OUTPUT" type="double" default=""/> | |
29434 | </paramlist> | |
29435 | </method> | |
29436 | <method name="SetCentreResize" type="" overloaded="no"> | |
29437 | <autodoc>SetCentreResize(bool cr)</autodoc> | |
29438 | <paramlist> | |
29439 | <param name="cr" type="bool" default=""/> | |
29440 | </paramlist> | |
29441 | </method> | |
29442 | <method name="GetCentreResize" type="bool" overloaded="no"> | |
29443 | <autodoc>GetCentreResize() -> bool</autodoc> | |
29444 | </method> | |
29445 | <method name="SetMaintainAspectRatio" type="" overloaded="no"> | |
29446 | <autodoc>SetMaintainAspectRatio(bool ar)</autodoc> | |
29447 | <paramlist> | |
29448 | <param name="ar" type="bool" default=""/> | |
29449 | </paramlist> | |
29450 | </method> | |
29451 | <method name="GetMaintainAspectRatio" type="bool" overloaded="no"> | |
29452 | <autodoc>GetMaintainAspectRatio() -> bool</autodoc> | |
29453 | </method> | |
29454 | <method name="GetLines" type="PyObject" overloaded="no"> | |
29455 | <autodoc>GetLines() -> PyObject</autodoc> | |
29456 | </method> | |
29457 | <method name="SetDisableLabel" type="" overloaded="no"> | |
29458 | <autodoc>SetDisableLabel(bool flag)</autodoc> | |
29459 | <paramlist> | |
29460 | <param name="flag" type="bool" default=""/> | |
29461 | </paramlist> | |
29462 | </method> | |
29463 | <method name="GetDisableLabel" type="bool" overloaded="no"> | |
29464 | <autodoc>GetDisableLabel() -> bool</autodoc> | |
29465 | </method> | |
29466 | <method name="SetAttachmentMode" type="" overloaded="no"> | |
29467 | <autodoc>SetAttachmentMode(int mode)</autodoc> | |
29468 | <paramlist> | |
29469 | <param name="mode" type="int" default=""/> | |
29470 | </paramlist> | |
29471 | </method> | |
29472 | <method name="GetAttachmentMode" type="int" overloaded="no"> | |
29473 | <autodoc>GetAttachmentMode() -> int</autodoc> | |
29474 | </method> | |
29475 | <method name="SetId" type="" overloaded="no"> | |
29476 | <autodoc>SetId(long i)</autodoc> | |
29477 | <paramlist> | |
29478 | <param name="i" type="long" default=""/> | |
29479 | </paramlist> | |
29480 | </method> | |
29481 | <method name="GetId" type="long" overloaded="no"> | |
29482 | <autodoc>GetId() -> long</autodoc> | |
29483 | </method> | |
29484 | <method name="SetPen" type="" overloaded="no"> | |
29485 | <autodoc>SetPen(wxPen pen)</autodoc> | |
29486 | <paramlist> | |
29487 | <param name="pen" type="Pen" default=""/> | |
29488 | </paramlist> | |
29489 | </method> | |
29490 | <method name="SetBrush" type="" overloaded="no"> | |
29491 | <autodoc>SetBrush(wxBrush brush)</autodoc> | |
29492 | <paramlist> | |
29493 | <param name="brush" type="Brush" default=""/> | |
29494 | </paramlist> | |
29495 | </method> | |
29496 | <method name="Show" type="" overloaded="no"> | |
29497 | <autodoc>Show(bool show)</autodoc> | |
29498 | <paramlist> | |
29499 | <param name="show" type="bool" default=""/> | |
29500 | </paramlist> | |
29501 | </method> | |
29502 | <method name="IsShown" type="bool" overloaded="no"> | |
29503 | <autodoc>IsShown() -> bool</autodoc> | |
29504 | </method> | |
29505 | <method name="Move" type="" overloaded="no"> | |
29506 | <autodoc>Move(DC dc, double x1, double y1, bool display=True)</autodoc> | |
29507 | <paramlist> | |
29508 | <param name="dc" type="DC" default=""/> | |
29509 | <param name="x1" type="double" default=""/> | |
29510 | <param name="y1" type="double" default=""/> | |
29511 | <param name="display" type="bool" default="True"/> | |
29512 | </paramlist> | |
29513 | </method> | |
29514 | <method name="Erase" type="" overloaded="no"> | |
29515 | <autodoc>Erase(DC dc)</autodoc> | |
29516 | <paramlist> | |
29517 | <param name="dc" type="DC" default=""/> | |
29518 | </paramlist> | |
29519 | </method> | |
29520 | <method name="EraseContents" type="" overloaded="no"> | |
29521 | <autodoc>EraseContents(DC dc)</autodoc> | |
29522 | <paramlist> | |
29523 | <param name="dc" type="DC" default=""/> | |
29524 | </paramlist> | |
29525 | </method> | |
29526 | <method name="Draw" type="" overloaded="no"> | |
29527 | <autodoc>Draw(DC dc)</autodoc> | |
29528 | <paramlist> | |
29529 | <param name="dc" type="DC" default=""/> | |
29530 | </paramlist> | |
29531 | </method> | |
29532 | <method name="Flash" type="" overloaded="no"> | |
29533 | <autodoc>Flash()</autodoc> | |
29534 | </method> | |
29535 | <method name="MoveLinks" type="" overloaded="no"> | |
29536 | <autodoc>MoveLinks(DC dc)</autodoc> | |
29537 | <paramlist> | |
29538 | <param name="dc" type="DC" default=""/> | |
29539 | </paramlist> | |
29540 | </method> | |
29541 | <method name="DrawContents" type="" overloaded="no"> | |
29542 | <autodoc>DrawContents(DC dc)</autodoc> | |
29543 | <paramlist> | |
29544 | <param name="dc" type="DC" default=""/> | |
29545 | </paramlist> | |
29546 | </method> | |
29547 | <method name="SetSize" type="" overloaded="no"> | |
29548 | <autodoc>SetSize(double x, double y, bool recursive=True)</autodoc> | |
29549 | <paramlist> | |
29550 | <param name="x" type="double" default=""/> | |
29551 | <param name="y" type="double" default=""/> | |
29552 | <param name="recursive" type="bool" default="True"/> | |
29553 | </paramlist> | |
29554 | </method> | |
29555 | <method name="SetAttachmentSize" type="" overloaded="no"> | |
29556 | <autodoc>SetAttachmentSize(double x, double y)</autodoc> | |
29557 | <paramlist> | |
29558 | <param name="x" type="double" default=""/> | |
29559 | <param name="y" type="double" default=""/> | |
29560 | </paramlist> | |
29561 | </method> | |
29562 | <method name="Attach" type="" overloaded="no"> | |
29563 | <autodoc>Attach(PyShapeCanvas can)</autodoc> | |
29564 | <paramlist> | |
29565 | <param name="can" type="wxPyShapeCanvas" default=""/> | |
29566 | </paramlist> | |
29567 | </method> | |
29568 | <method name="Detach" type="" overloaded="no"> | |
29569 | <autodoc>Detach()</autodoc> | |
29570 | </method> | |
29571 | <method name="Constrain" type="bool" overloaded="no"> | |
29572 | <autodoc>Constrain() -> bool</autodoc> | |
29573 | </method> | |
29574 | <method name="AddLine" type="" overloaded="no"> | |
29575 | <autodoc>AddLine(PyLineShape line, PyShape other, int attachFrom=0, | |
29576 | int attachTo=0, int positionFrom=-1, int positionTo=-1)</autodoc> | |
29577 | <paramlist> | |
29578 | <param name="line" type="wxPyLineShape" default=""/> | |
29579 | <param name="other" type="PyShape" default=""/> | |
29580 | <param name="attachFrom" type="int" default="0"/> | |
29581 | <param name="attachTo" type="int" default="0"/> | |
29582 | <param name="positionFrom" type="int" default="-1"/> | |
29583 | <param name="positionTo" type="int" default="-1"/> | |
29584 | </paramlist> | |
29585 | </method> | |
29586 | <method name="GetLinePosition" type="int" overloaded="no"> | |
29587 | <autodoc>GetLinePosition(PyLineShape line) -> int</autodoc> | |
29588 | <paramlist> | |
29589 | <param name="line" type="wxPyLineShape" default=""/> | |
29590 | </paramlist> | |
29591 | </method> | |
29592 | <method name="AddText" type="" overloaded="no"> | |
29593 | <autodoc>AddText(String string)</autodoc> | |
29594 | <paramlist> | |
29595 | <param name="string" type="String" default=""/> | |
29596 | </paramlist> | |
29597 | </method> | |
29598 | <method name="GetPen" type="Pen" overloaded="no"> | |
29599 | <autodoc>GetPen() -> wxPen</autodoc> | |
29600 | </method> | |
29601 | <method name="GetBrush" type="Brush" overloaded="no"> | |
29602 | <autodoc>GetBrush() -> wxBrush</autodoc> | |
29603 | </method> | |
29604 | <method name="SetDefaultRegionSize" type="" overloaded="no"> | |
29605 | <autodoc>SetDefaultRegionSize()</autodoc> | |
29606 | </method> | |
29607 | <method name="FormatText" type="" overloaded="no"> | |
29608 | <autodoc>FormatText(DC dc, String s, int regionId=0)</autodoc> | |
29609 | <paramlist> | |
29610 | <param name="dc" type="DC" default=""/> | |
29611 | <param name="s" type="String" default=""/> | |
29612 | <param name="regionId" type="int" default="0"/> | |
29613 | </paramlist> | |
29614 | </method> | |
29615 | <method name="SetFormatMode" type="" overloaded="no"> | |
29616 | <autodoc>SetFormatMode(int mode, int regionId=0)</autodoc> | |
29617 | <paramlist> | |
29618 | <param name="mode" type="int" default=""/> | |
29619 | <param name="regionId" type="int" default="0"/> | |
29620 | </paramlist> | |
29621 | </method> | |
29622 | <method name="GetFormatMode" type="int" overloaded="no"> | |
29623 | <autodoc>GetFormatMode(int regionId=0) -> int</autodoc> | |
29624 | <paramlist> | |
29625 | <param name="regionId" type="int" default="0"/> | |
29626 | </paramlist> | |
29627 | </method> | |
29628 | <method name="SetFont" type="" overloaded="no"> | |
29629 | <autodoc>SetFont(Font font, int regionId=0)</autodoc> | |
29630 | <paramlist> | |
29631 | <param name="font" type="Font" default=""/> | |
29632 | <param name="regionId" type="int" default="0"/> | |
29633 | </paramlist> | |
29634 | </method> | |
29635 | <method name="GetFont" type="Font" overloaded="no"> | |
29636 | <autodoc>GetFont(int regionId=0) -> Font</autodoc> | |
29637 | <paramlist> | |
29638 | <param name="regionId" type="int" default="0"/> | |
29639 | </paramlist> | |
29640 | </method> | |
29641 | <method name="SetTextColour" type="" overloaded="no"> | |
29642 | <autodoc>SetTextColour(String colour, int regionId=0)</autodoc> | |
29643 | <paramlist> | |
29644 | <param name="colour" type="String" default=""/> | |
29645 | <param name="regionId" type="int" default="0"/> | |
29646 | </paramlist> | |
29647 | </method> | |
29648 | <method name="GetTextColour" type="String" overloaded="no"> | |
29649 | <autodoc>GetTextColour(int regionId=0) -> String</autodoc> | |
29650 | <paramlist> | |
29651 | <param name="regionId" type="int" default="0"/> | |
29652 | </paramlist> | |
29653 | </method> | |
29654 | <method name="GetNumberOfTextRegions" type="int" overloaded="no"> | |
29655 | <autodoc>GetNumberOfTextRegions() -> int</autodoc> | |
29656 | </method> | |
29657 | <method name="SetRegionName" type="" overloaded="no"> | |
29658 | <autodoc>SetRegionName(String name, int regionId=0)</autodoc> | |
29659 | <paramlist> | |
29660 | <param name="name" type="String" default=""/> | |
29661 | <param name="regionId" type="int" default="0"/> | |
29662 | </paramlist> | |
29663 | </method> | |
29664 | <method name="GetRegionName" type="String" overloaded="no"> | |
29665 | <autodoc>GetRegionName(int regionId) -> String</autodoc> | |
29666 | <paramlist> | |
29667 | <param name="regionId" type="int" default=""/> | |
29668 | </paramlist> | |
29669 | </method> | |
29670 | <method name="GetRegionId" type="int" overloaded="no"> | |
29671 | <autodoc>GetRegionId(String name) -> int</autodoc> | |
29672 | <paramlist> | |
29673 | <param name="name" type="String" default=""/> | |
29674 | </paramlist> | |
29675 | </method> | |
29676 | <method name="NameRegions" type="" overloaded="no"> | |
29677 | <autodoc>NameRegions(String parentName=EmptyString)</autodoc> | |
29678 | <paramlist> | |
29679 | <param name="parentName" type="String" default="wxPyEmptyString"/> | |
29680 | </paramlist> | |
29681 | </method> | |
29682 | <method name="GetRegions" type="PyObject" overloaded="no"> | |
29683 | <autodoc>GetRegions() -> PyObject</autodoc> | |
29684 | </method> | |
29685 | <method name="AddRegion" type="" overloaded="no"> | |
29686 | <autodoc>AddRegion(ShapeRegion region)</autodoc> | |
29687 | <paramlist> | |
29688 | <param name="region" type="ShapeRegion" default=""/> | |
29689 | </paramlist> | |
29690 | </method> | |
29691 | <method name="ClearRegions" type="" overloaded="no"> | |
29692 | <autodoc>ClearRegions()</autodoc> | |
29693 | </method> | |
29694 | <method name="AssignNewIds" type="" overloaded="no"> | |
29695 | <autodoc>AssignNewIds()</autodoc> | |
29696 | </method> | |
29697 | <method name="FindRegion" type="PyShape" overloaded="no"> | |
29698 | <autodoc>FindRegion(String regionName, int OUTPUT) -> PyShape</autodoc> | |
29699 | <paramlist> | |
29700 | <param name="regionName" type="String" default=""/> | |
29701 | <param name="OUTPUT" type="int" default=""/> | |
29702 | </paramlist> | |
29703 | </method> | |
29704 | <method name="FindRegionNames" type="" overloaded="no"> | |
29705 | <autodoc>FindRegionNames(wxStringList list)</autodoc> | |
29706 | <paramlist> | |
29707 | <param name="list" type="wxStringList" default=""/> | |
29708 | </paramlist> | |
29709 | </method> | |
29710 | <method name="ClearText" type="" overloaded="no"> | |
29711 | <autodoc>ClearText(int regionId=0)</autodoc> | |
29712 | <paramlist> | |
29713 | <param name="regionId" type="int" default="0"/> | |
29714 | </paramlist> | |
29715 | </method> | |
29716 | <method name="RemoveLine" type="" overloaded="no"> | |
29717 | <autodoc>RemoveLine(PyLineShape line)</autodoc> | |
29718 | <paramlist> | |
29719 | <param name="line" type="wxPyLineShape" default=""/> | |
29720 | </paramlist> | |
29721 | </method> | |
29722 | <method name="GetAttachmentPosition" type="bool" overloaded="no"> | |
29723 | <autodoc>GetAttachmentPosition(int attachment, double OUTPUT, double OUTPUT, int nth=0, | |
29724 | int no_arcs=1, PyLineShape line=None) -> bool</autodoc> | |
29725 | <paramlist> | |
29726 | <param name="attachment" type="int" default=""/> | |
29727 | <param name="OUTPUT" type="double" default=""/> | |
29728 | <param name="OUTPUT" type="double" default=""/> | |
29729 | <param name="nth" type="int" default="0"/> | |
29730 | <param name="no_arcs" type="int" default="1"/> | |
29731 | <param name="line" type="wxPyLineShape" default="NULL"/> | |
29732 | </paramlist> | |
29733 | </method> | |
29734 | <method name="GetNumberOfAttachments" type="int" overloaded="no"> | |
29735 | <autodoc>GetNumberOfAttachments() -> int</autodoc> | |
29736 | </method> | |
29737 | <method name="AttachmentIsValid" type="bool" overloaded="no"> | |
29738 | <autodoc>AttachmentIsValid(int attachment) -> bool</autodoc> | |
29739 | <paramlist> | |
29740 | <param name="attachment" type="int" default=""/> | |
29741 | </paramlist> | |
29742 | </method> | |
29743 | <method name="GetAttachments" type="PyObject" overloaded="no"> | |
29744 | <autodoc>GetAttachments() -> PyObject</autodoc> | |
29745 | </method> | |
29746 | <method name="GetAttachmentPositionEdge" type="bool" overloaded="no"> | |
29747 | <autodoc>GetAttachmentPositionEdge(int attachment, double OUTPUT, double OUTPUT, int nth=0, | |
29748 | int no_arcs=1, PyLineShape line=None) -> bool</autodoc> | |
29749 | <paramlist> | |
29750 | <param name="attachment" type="int" default=""/> | |
29751 | <param name="OUTPUT" type="double" default=""/> | |
29752 | <param name="OUTPUT" type="double" default=""/> | |
29753 | <param name="nth" type="int" default="0"/> | |
29754 | <param name="no_arcs" type="int" default="1"/> | |
29755 | <param name="line" type="wxPyLineShape" default="NULL"/> | |
29756 | </paramlist> | |
29757 | </method> | |
29758 | <method name="CalcSimpleAttachment" type="RealPoint" overloaded="no"> | |
29759 | <autodoc>CalcSimpleAttachment(RealPoint pt1, RealPoint pt2, int nth, int noArcs, | |
29760 | PyLineShape line) -> RealPoint</autodoc> | |
29761 | <paramlist> | |
29762 | <param name="pt1" type="RealPoint" default=""/> | |
29763 | <param name="pt2" type="RealPoint" default=""/> | |
29764 | <param name="nth" type="int" default=""/> | |
29765 | <param name="noArcs" type="int" default=""/> | |
29766 | <param name="line" type="wxPyLineShape" default=""/> | |
29767 | </paramlist> | |
29768 | </method> | |
29769 | <method name="AttachmentSortTest" type="bool" overloaded="no"> | |
29770 | <autodoc>AttachmentSortTest(int attachmentPoint, RealPoint pt1, RealPoint pt2) -> bool</autodoc> | |
29771 | <paramlist> | |
29772 | <param name="attachmentPoint" type="int" default=""/> | |
29773 | <param name="pt1" type="RealPoint" default=""/> | |
29774 | <param name="pt2" type="RealPoint" default=""/> | |
29775 | </paramlist> | |
29776 | </method> | |
29777 | <method name="EraseLinks" type="" overloaded="no"> | |
29778 | <autodoc>EraseLinks(DC dc, int attachment=-1, bool recurse=False)</autodoc> | |
29779 | <paramlist> | |
29780 | <param name="dc" type="DC" default=""/> | |
29781 | <param name="attachment" type="int" default="-1"/> | |
29782 | <param name="recurse" type="bool" default="False"/> | |
29783 | </paramlist> | |
29784 | </method> | |
29785 | <method name="DrawLinks" type="" overloaded="no"> | |
29786 | <autodoc>DrawLinks(DC dc, int attachment=-1, bool recurse=False)</autodoc> | |
29787 | <paramlist> | |
29788 | <param name="dc" type="DC" default=""/> | |
29789 | <param name="attachment" type="int" default="-1"/> | |
29790 | <param name="recurse" type="bool" default="False"/> | |
29791 | </paramlist> | |
29792 | </method> | |
29793 | <method name="MoveLineToNewAttachment" type="bool" overloaded="no"> | |
29794 | <autodoc>MoveLineToNewAttachment(DC dc, PyLineShape to_move, double x, double y) -> bool</autodoc> | |
29795 | <paramlist> | |
29796 | <param name="dc" type="DC" default=""/> | |
29797 | <param name="to_move" type="wxPyLineShape" default=""/> | |
29798 | <param name="x" type="double" default=""/> | |
29799 | <param name="y" type="double" default=""/> | |
29800 | </paramlist> | |
29801 | </method> | |
29802 | <method name="ApplyAttachmentOrdering" type="" overloaded="no"> | |
29803 | <autodoc>ApplyAttachmentOrdering(PyObject linesToSort)</autodoc> | |
29804 | <paramlist> | |
29805 | <param name="linesToSort" type="PyObject" default=""/> | |
29806 | </paramlist> | |
29807 | </method> | |
29808 | <method name="GetBranchingAttachmentRoot" type="RealPoint" overloaded="no"> | |
29809 | <autodoc>GetBranchingAttachmentRoot(int attachment) -> RealPoint</autodoc> | |
29810 | <paramlist> | |
29811 | <param name="attachment" type="int" default=""/> | |
29812 | </paramlist> | |
29813 | </method> | |
29814 | <method name="GetBranchingAttachmentInfo" type="bool" overloaded="no"> | |
29815 | <autodoc>GetBranchingAttachmentInfo(int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1, | |
29816 | RealPoint shoulder2) -> bool</autodoc> | |
29817 | <paramlist> | |
29818 | <param name="attachment" type="int" default=""/> | |
29819 | <param name="root" type="RealPoint" default=""/> | |
29820 | <param name="neck" type="RealPoint" default=""/> | |
29821 | <param name="shoulder1" type="RealPoint" default=""/> | |
29822 | <param name="shoulder2" type="RealPoint" default=""/> | |
29823 | </paramlist> | |
29824 | </method> | |
29825 | <method name="GetBranchingAttachmentPoint" type="bool" overloaded="no"> | |
29826 | <autodoc>GetBranchingAttachmentPoint(int attachment, int n, RealPoint attachmentPoint, RealPoint stemPoint) -> bool</autodoc> | |
29827 | <paramlist> | |
29828 | <param name="attachment" type="int" default=""/> | |
29829 | <param name="n" type="int" default=""/> | |
29830 | <param name="attachmentPoint" type="RealPoint" default=""/> | |
29831 | <param name="stemPoint" type="RealPoint" default=""/> | |
29832 | </paramlist> | |
29833 | </method> | |
29834 | <method name="GetAttachmentLineCount" type="int" overloaded="no"> | |
29835 | <autodoc>GetAttachmentLineCount(int attachment) -> int</autodoc> | |
29836 | <paramlist> | |
29837 | <param name="attachment" type="int" default=""/> | |
29838 | </paramlist> | |
29839 | </method> | |
29840 | <method name="SetBranchNeckLength" type="" overloaded="no"> | |
29841 | <autodoc>SetBranchNeckLength(int len)</autodoc> | |
29842 | <paramlist> | |
29843 | <param name="len" type="int" default=""/> | |
29844 | </paramlist> | |
29845 | </method> | |
29846 | <method name="GetBranchNeckLength" type="int" overloaded="no"> | |
29847 | <autodoc>GetBranchNeckLength() -> int</autodoc> | |
29848 | </method> | |
29849 | <method name="SetBranchStemLength" type="" overloaded="no"> | |
29850 | <autodoc>SetBranchStemLength(int len)</autodoc> | |
29851 | <paramlist> | |
29852 | <param name="len" type="int" default=""/> | |
29853 | </paramlist> | |
29854 | </method> | |
29855 | <method name="GetBranchStemLength" type="int" overloaded="no"> | |
29856 | <autodoc>GetBranchStemLength() -> int</autodoc> | |
29857 | </method> | |
29858 | <method name="SetBranchSpacing" type="" overloaded="no"> | |
29859 | <autodoc>SetBranchSpacing(int len)</autodoc> | |
29860 | <paramlist> | |
29861 | <param name="len" type="int" default=""/> | |
29862 | </paramlist> | |
29863 | </method> | |
29864 | <method name="GetBranchSpacing" type="int" overloaded="no"> | |
29865 | <autodoc>GetBranchSpacing() -> int</autodoc> | |
29866 | </method> | |
29867 | <method name="SetBranchStyle" type="" overloaded="no"> | |
29868 | <autodoc>SetBranchStyle(long style)</autodoc> | |
29869 | <paramlist> | |
29870 | <param name="style" type="long" default=""/> | |
29871 | </paramlist> | |
29872 | </method> | |
29873 | <method name="GetBranchStyle" type="long" overloaded="no"> | |
29874 | <autodoc>GetBranchStyle() -> long</autodoc> | |
29875 | </method> | |
29876 | <method name="PhysicalToLogicalAttachment" type="int" overloaded="no"> | |
29877 | <autodoc>PhysicalToLogicalAttachment(int physicalAttachment) -> int</autodoc> | |
29878 | <paramlist> | |
29879 | <param name="physicalAttachment" type="int" default=""/> | |
29880 | </paramlist> | |
29881 | </method> | |
29882 | <method name="LogicalToPhysicalAttachment" type="int" overloaded="no"> | |
29883 | <autodoc>LogicalToPhysicalAttachment(int logicalAttachment) -> int</autodoc> | |
29884 | <paramlist> | |
29885 | <param name="logicalAttachment" type="int" default=""/> | |
29886 | </paramlist> | |
29887 | </method> | |
29888 | <method name="Draggable" type="bool" overloaded="no"> | |
29889 | <autodoc>Draggable() -> bool</autodoc> | |
29890 | </method> | |
29891 | <method name="HasDescendant" type="bool" overloaded="no"> | |
29892 | <autodoc>HasDescendant(PyShape image) -> bool</autodoc> | |
29893 | <paramlist> | |
29894 | <param name="image" type="PyShape" default=""/> | |
29895 | </paramlist> | |
29896 | </method> | |
29897 | <method name="CreateNewCopy" type="PyShape" overloaded="no"> | |
29898 | <autodoc>CreateNewCopy(bool resetMapping=True, bool recompute=True) -> PyShape</autodoc> | |
29899 | <paramlist> | |
29900 | <param name="resetMapping" type="bool" default="True"/> | |
29901 | <param name="recompute" type="bool" default="True"/> | |
29902 | </paramlist> | |
29903 | </method> | |
29904 | <method name="Copy" type="" overloaded="no"> | |
29905 | <autodoc>Copy(PyShape copy)</autodoc> | |
29906 | <paramlist> | |
29907 | <param name="copy" type="PyShape" default=""/> | |
29908 | </paramlist> | |
29909 | </method> | |
29910 | <method name="CopyWithHandler" type="" overloaded="no"> | |
29911 | <autodoc>CopyWithHandler(PyShape copy)</autodoc> | |
29912 | <paramlist> | |
29913 | <param name="copy" type="PyShape" default=""/> | |
29914 | </paramlist> | |
29915 | </method> | |
29916 | <method name="Rotate" type="" overloaded="no"> | |
29917 | <autodoc>Rotate(double x, double y, double theta)</autodoc> | |
29918 | <paramlist> | |
29919 | <param name="x" type="double" default=""/> | |
29920 | <param name="y" type="double" default=""/> | |
29921 | <param name="theta" type="double" default=""/> | |
29922 | </paramlist> | |
29923 | </method> | |
29924 | <method name="GetRotation" type="double" overloaded="no"> | |
29925 | <autodoc>GetRotation() -> double</autodoc> | |
29926 | </method> | |
29927 | <method name="SetRotation" type="" overloaded="no"> | |
29928 | <autodoc>SetRotation(double rotation)</autodoc> | |
29929 | <paramlist> | |
29930 | <param name="rotation" type="double" default=""/> | |
29931 | </paramlist> | |
29932 | </method> | |
29933 | <method name="ClearAttachments" type="" overloaded="no"> | |
29934 | <autodoc>ClearAttachments()</autodoc> | |
29935 | </method> | |
29936 | <method name="Recentre" type="" overloaded="no"> | |
29937 | <autodoc>Recentre(DC dc)</autodoc> | |
29938 | <paramlist> | |
29939 | <param name="dc" type="DC" default=""/> | |
29940 | </paramlist> | |
29941 | </method> | |
29942 | <method name="ClearPointList" type="" overloaded="no"> | |
29943 | <autodoc>ClearPointList(wxList list)</autodoc> | |
29944 | <paramlist> | |
29945 | <param name="list" type="wxList" default=""/> | |
29946 | </paramlist> | |
29947 | </method> | |
29948 | <method name="GetBackgroundPen" type="Pen" overloaded="no"> | |
29949 | <autodoc>GetBackgroundPen() -> wxPen</autodoc> | |
29950 | </method> | |
29951 | <method name="GetBackgroundBrush" type="Brush" overloaded="no"> | |
29952 | <autodoc>GetBackgroundBrush() -> wxBrush</autodoc> | |
29953 | </method> | |
29954 | <method name="base_OnDelete" type="" overloaded="no"> | |
29955 | <autodoc>base_OnDelete()</autodoc> | |
29956 | </method> | |
29957 | <method name="base_OnDraw" type="" overloaded="no"> | |
29958 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
29959 | <paramlist> | |
29960 | <param name="dc" type="DC" default=""/> | |
29961 | </paramlist> | |
29962 | </method> | |
29963 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
29964 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
29965 | <paramlist> | |
29966 | <param name="dc" type="DC" default=""/> | |
29967 | </paramlist> | |
29968 | </method> | |
29969 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
29970 | <autodoc>base_OnDrawBranches(DC dc, bool erase=False)</autodoc> | |
29971 | <paramlist> | |
29972 | <param name="dc" type="DC" default=""/> | |
29973 | <param name="erase" type="bool" default="False"/> | |
29974 | </paramlist> | |
29975 | </method> | |
29976 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
29977 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
29978 | <paramlist> | |
29979 | <param name="dc" type="DC" default=""/> | |
29980 | </paramlist> | |
29981 | </method> | |
29982 | <method name="base_OnErase" type="" overloaded="no"> | |
29983 | <autodoc>base_OnErase(DC dc)</autodoc> | |
29984 | <paramlist> | |
29985 | <param name="dc" type="DC" default=""/> | |
29986 | </paramlist> | |
29987 | </method> | |
29988 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
29989 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
29990 | <paramlist> | |
29991 | <param name="dc" type="DC" default=""/> | |
29992 | </paramlist> | |
29993 | </method> | |
29994 | <method name="base_OnHighlight" type="" overloaded="no"> | |
29995 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
29996 | <paramlist> | |
29997 | <param name="dc" type="DC" default=""/> | |
29998 | </paramlist> | |
29999 | </method> | |
30000 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
30001 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30002 | <paramlist> | |
30003 | <param name="x" type="double" default=""/> | |
30004 | <param name="y" type="double" default=""/> | |
30005 | <param name="keys" type="int" default="0"/> | |
30006 | <param name="attachment" type="int" default="0"/> | |
30007 | </paramlist> | |
30008 | </method> | |
30009 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
30010 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30011 | <paramlist> | |
30012 | <param name="x" type="double" default=""/> | |
30013 | <param name="y" type="double" default=""/> | |
30014 | <param name="keys" type="int" default="0"/> | |
30015 | <param name="attachment" type="int" default="0"/> | |
30016 | </paramlist> | |
30017 | </method> | |
30018 | <method name="base_OnRightClick" type="" overloaded="no"> | |
30019 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30020 | <paramlist> | |
30021 | <param name="x" type="double" default=""/> | |
30022 | <param name="y" type="double" default=""/> | |
30023 | <param name="keys" type="int" default="0"/> | |
30024 | <param name="attachment" type="int" default="0"/> | |
30025 | </paramlist> | |
30026 | </method> | |
30027 | <method name="base_OnSize" type="" overloaded="no"> | |
30028 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
30029 | <paramlist> | |
30030 | <param name="x" type="double" default=""/> | |
30031 | <param name="y" type="double" default=""/> | |
30032 | </paramlist> | |
30033 | </method> | |
30034 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
30035 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
30036 | bool display=True) -> bool</autodoc> | |
30037 | <paramlist> | |
30038 | <param name="dc" type="DC" default=""/> | |
30039 | <param name="x" type="double" default=""/> | |
30040 | <param name="y" type="double" default=""/> | |
30041 | <param name="old_x" type="double" default=""/> | |
30042 | <param name="old_y" type="double" default=""/> | |
30043 | <param name="display" type="bool" default="True"/> | |
30044 | </paramlist> | |
30045 | </method> | |
30046 | <method name="base_OnMovePost" type="" overloaded="no"> | |
30047 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
30048 | bool display=True)</autodoc> | |
30049 | <paramlist> | |
30050 | <param name="dc" type="DC" default=""/> | |
30051 | <param name="x" type="double" default=""/> | |
30052 | <param name="y" type="double" default=""/> | |
30053 | <param name="old_x" type="double" default=""/> | |
30054 | <param name="old_y" type="double" default=""/> | |
30055 | <param name="display" type="bool" default="True"/> | |
30056 | </paramlist> | |
30057 | </method> | |
30058 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
30059 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
30060 | <paramlist> | |
30061 | <param name="draw" type="bool" default=""/> | |
30062 | <param name="x" type="double" default=""/> | |
30063 | <param name="y" type="double" default=""/> | |
30064 | <param name="keys" type="int" default="0"/> | |
30065 | <param name="attachment" type="int" default="0"/> | |
30066 | </paramlist> | |
30067 | </method> | |
30068 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
30069 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30070 | <paramlist> | |
30071 | <param name="x" type="double" default=""/> | |
30072 | <param name="y" type="double" default=""/> | |
30073 | <param name="keys" type="int" default="0"/> | |
30074 | <param name="attachment" type="int" default="0"/> | |
30075 | </paramlist> | |
30076 | </method> | |
30077 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
30078 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30079 | <paramlist> | |
30080 | <param name="x" type="double" default=""/> | |
30081 | <param name="y" type="double" default=""/> | |
30082 | <param name="keys" type="int" default="0"/> | |
30083 | <param name="attachment" type="int" default="0"/> | |
30084 | </paramlist> | |
30085 | </method> | |
30086 | <method name="base_OnDragRight" type="" overloaded="no"> | |
30087 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
30088 | <paramlist> | |
30089 | <param name="draw" type="bool" default=""/> | |
30090 | <param name="x" type="double" default=""/> | |
30091 | <param name="y" type="double" default=""/> | |
30092 | <param name="keys" type="int" default="0"/> | |
30093 | <param name="attachment" type="int" default="0"/> | |
30094 | </paramlist> | |
30095 | </method> | |
30096 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
30097 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30098 | <paramlist> | |
30099 | <param name="x" type="double" default=""/> | |
30100 | <param name="y" type="double" default=""/> | |
30101 | <param name="keys" type="int" default="0"/> | |
30102 | <param name="attachment" type="int" default="0"/> | |
30103 | </paramlist> | |
30104 | </method> | |
30105 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
30106 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30107 | <paramlist> | |
30108 | <param name="x" type="double" default=""/> | |
30109 | <param name="y" type="double" default=""/> | |
30110 | <param name="keys" type="int" default="0"/> | |
30111 | <param name="attachment" type="int" default="0"/> | |
30112 | </paramlist> | |
30113 | </method> | |
30114 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
30115 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
30116 | <paramlist> | |
30117 | <param name="dc" type="DC" default=""/> | |
30118 | <param name="x" type="double" default=""/> | |
30119 | <param name="y" type="double" default=""/> | |
30120 | <param name="w" type="double" default=""/> | |
30121 | <param name="h" type="double" default=""/> | |
30122 | </paramlist> | |
30123 | </method> | |
30124 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
30125 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
30126 | <paramlist> | |
30127 | <param name="dc" type="DC" default=""/> | |
30128 | </paramlist> | |
30129 | </method> | |
30130 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
30131 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
30132 | <paramlist> | |
30133 | <param name="dc" type="DC" default=""/> | |
30134 | </paramlist> | |
30135 | </method> | |
30136 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
30137 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
30138 | <paramlist> | |
30139 | <param name="dc" type="DC" default=""/> | |
30140 | <param name="moveControlPoints" type="bool" default="True"/> | |
30141 | </paramlist> | |
30142 | </method> | |
30143 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
30144 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
30145 | int attachment=0)</autodoc> | |
30146 | <paramlist> | |
30147 | <param name="pt" type="wxPyControlPoint" default=""/> | |
30148 | <param name="draw" type="bool" default=""/> | |
30149 | <param name="x" type="double" default=""/> | |
30150 | <param name="y" type="double" default=""/> | |
30151 | <param name="keys" type="int" default="0"/> | |
30152 | <param name="attachment" type="int" default="0"/> | |
30153 | </paramlist> | |
30154 | </method> | |
30155 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
30156 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
30157 | int attachment=0)</autodoc> | |
30158 | <paramlist> | |
30159 | <param name="pt" type="wxPyControlPoint" default=""/> | |
30160 | <param name="x" type="double" default=""/> | |
30161 | <param name="y" type="double" default=""/> | |
30162 | <param name="keys" type="int" default="0"/> | |
30163 | <param name="attachment" type="int" default="0"/> | |
30164 | </paramlist> | |
30165 | </method> | |
30166 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
30167 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
30168 | int attachment=0)</autodoc> | |
30169 | <paramlist> | |
30170 | <param name="pt" type="wxPyControlPoint" default=""/> | |
30171 | <param name="x" type="double" default=""/> | |
30172 | <param name="y" type="double" default=""/> | |
30173 | <param name="keys" type="int" default="0"/> | |
30174 | <param name="attachment" type="int" default="0"/> | |
30175 | </paramlist> | |
30176 | </method> | |
30177 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
30178 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
30179 | <paramlist> | |
30180 | <param name="w" type="double" default=""/> | |
30181 | <param name="h" type="double" default=""/> | |
30182 | </paramlist> | |
30183 | </method> | |
30184 | <method name="base_OnEndSize" type="" overloaded="no"> | |
30185 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
30186 | <paramlist> | |
30187 | <param name="w" type="double" default=""/> | |
30188 | <param name="h" type="double" default=""/> | |
30189 | </paramlist> | |
30190 | </method> | |
30191 | </class> | |
30192 | <class name="PseudoMetaFile" oldname="wxPseudoMetaFile" module="ogl"> | |
30193 | <baseclass name="Object"/> | |
30194 | <constructor name="PseudoMetaFile" overloaded="no"> | |
30195 | <autodoc>__init__() -> PseudoMetaFile</autodoc> | |
30196 | </constructor> | |
30197 | <destructor name="~wxPseudoMetaFile" overloaded="no"> | |
30198 | <autodoc>__del__()</autodoc> | |
30199 | </destructor> | |
30200 | <method name="Draw" type="" overloaded="no"> | |
30201 | <autodoc>Draw(DC dc, double xoffset, double yoffset)</autodoc> | |
30202 | <paramlist> | |
30203 | <param name="dc" type="DC" default=""/> | |
30204 | <param name="xoffset" type="double" default=""/> | |
30205 | <param name="yoffset" type="double" default=""/> | |
30206 | </paramlist> | |
30207 | </method> | |
30208 | <method name="Clear" type="" overloaded="no"> | |
30209 | <autodoc>Clear()</autodoc> | |
30210 | </method> | |
30211 | <method name="Copy" type="" overloaded="no"> | |
30212 | <autodoc>Copy(PseudoMetaFile copy)</autodoc> | |
30213 | <paramlist> | |
30214 | <param name="copy" type="PseudoMetaFile" default=""/> | |
30215 | </paramlist> | |
30216 | </method> | |
30217 | <method name="Scale" type="" overloaded="no"> | |
30218 | <autodoc>Scale(double sx, double sy)</autodoc> | |
30219 | <paramlist> | |
30220 | <param name="sx" type="double" default=""/> | |
30221 | <param name="sy" type="double" default=""/> | |
30222 | </paramlist> | |
30223 | </method> | |
30224 | <method name="ScaleTo" type="" overloaded="no"> | |
30225 | <autodoc>ScaleTo(double w, double h)</autodoc> | |
30226 | <paramlist> | |
30227 | <param name="w" type="double" default=""/> | |
30228 | <param name="h" type="double" default=""/> | |
30229 | </paramlist> | |
30230 | </method> | |
30231 | <method name="Translate" type="" overloaded="no"> | |
30232 | <autodoc>Translate(double x, double y)</autodoc> | |
30233 | <paramlist> | |
30234 | <param name="x" type="double" default=""/> | |
30235 | <param name="y" type="double" default=""/> | |
30236 | </paramlist> | |
30237 | </method> | |
30238 | <method name="Rotate" type="" overloaded="no"> | |
30239 | <autodoc>Rotate(double x, double y, double theta)</autodoc> | |
30240 | <paramlist> | |
30241 | <param name="x" type="double" default=""/> | |
30242 | <param name="y" type="double" default=""/> | |
30243 | <param name="theta" type="double" default=""/> | |
30244 | </paramlist> | |
30245 | </method> | |
30246 | <method name="LoadFromMetaFile" type="bool" overloaded="no"> | |
30247 | <autodoc>LoadFromMetaFile(String filename, double width, double height) -> bool</autodoc> | |
30248 | <paramlist> | |
30249 | <param name="filename" type="String" default=""/> | |
30250 | <param name="width" type="double" default=""/> | |
30251 | <param name="height" type="double" default=""/> | |
30252 | </paramlist> | |
30253 | </method> | |
30254 | <method name="GetBounds" type="" overloaded="no"> | |
30255 | <autodoc>GetBounds(double minX, double minY, double maxX, double maxY)</autodoc> | |
30256 | <paramlist> | |
30257 | <param name="minX" type="double" default=""/> | |
30258 | <param name="minY" type="double" default=""/> | |
30259 | <param name="maxX" type="double" default=""/> | |
30260 | <param name="maxY" type="double" default=""/> | |
30261 | </paramlist> | |
30262 | </method> | |
30263 | <method name="CalculateSize" type="" overloaded="no"> | |
30264 | <autodoc>CalculateSize(PyDrawnShape shape)</autodoc> | |
30265 | <paramlist> | |
30266 | <param name="shape" type="wxPyDrawnShape" default=""/> | |
30267 | </paramlist> | |
30268 | </method> | |
30269 | <method name="SetRotateable" type="" overloaded="no"> | |
30270 | <autodoc>SetRotateable(bool rot)</autodoc> | |
30271 | <paramlist> | |
30272 | <param name="rot" type="bool" default=""/> | |
30273 | </paramlist> | |
30274 | </method> | |
30275 | <method name="GetRotateable" type="bool" overloaded="no"> | |
30276 | <autodoc>GetRotateable() -> bool</autodoc> | |
30277 | </method> | |
30278 | <method name="SetSize" type="" overloaded="no"> | |
30279 | <autodoc>SetSize(double w, double h)</autodoc> | |
30280 | <paramlist> | |
30281 | <param name="w" type="double" default=""/> | |
30282 | <param name="h" type="double" default=""/> | |
30283 | </paramlist> | |
30284 | </method> | |
30285 | <method name="SetFillBrush" type="" overloaded="no"> | |
30286 | <autodoc>SetFillBrush(wxBrush brush)</autodoc> | |
30287 | <paramlist> | |
30288 | <param name="brush" type="Brush" default=""/> | |
30289 | </paramlist> | |
30290 | </method> | |
30291 | <method name="GetFillBrush" type="Brush" overloaded="no"> | |
30292 | <autodoc>GetFillBrush() -> wxBrush</autodoc> | |
30293 | </method> | |
30294 | <method name="SetOutlinePen" type="" overloaded="no"> | |
30295 | <autodoc>SetOutlinePen(wxPen pen)</autodoc> | |
30296 | <paramlist> | |
30297 | <param name="pen" type="Pen" default=""/> | |
30298 | </paramlist> | |
30299 | </method> | |
30300 | <method name="GetOutlinePen" type="Pen" overloaded="no"> | |
30301 | <autodoc>GetOutlinePen() -> wxPen</autodoc> | |
30302 | </method> | |
30303 | <method name="SetOutlineOp" type="" overloaded="no"> | |
30304 | <autodoc>SetOutlineOp(int op)</autodoc> | |
30305 | <paramlist> | |
30306 | <param name="op" type="int" default=""/> | |
30307 | </paramlist> | |
30308 | </method> | |
30309 | <method name="GetOutlineOp" type="int" overloaded="no"> | |
30310 | <autodoc>GetOutlineOp() -> int</autodoc> | |
30311 | </method> | |
30312 | <method name="IsValid" type="bool" overloaded="no"> | |
30313 | <autodoc>IsValid() -> bool</autodoc> | |
30314 | </method> | |
30315 | <method name="DrawLine" type="" overloaded="no"> | |
30316 | <autodoc>DrawLine(Point pt1, Point pt2)</autodoc> | |
30317 | <paramlist> | |
30318 | <param name="pt1" type="Point" default=""/> | |
30319 | <param name="pt2" type="Point" default=""/> | |
30320 | </paramlist> | |
30321 | </method> | |
30322 | <method name="DrawRectangle" type="" overloaded="no"> | |
30323 | <autodoc>DrawRectangle(Rect rect)</autodoc> | |
30324 | <paramlist> | |
30325 | <param name="rect" type="Rect" default=""/> | |
30326 | </paramlist> | |
30327 | </method> | |
30328 | <method name="DrawRoundedRectangle" type="" overloaded="no"> | |
30329 | <autodoc>DrawRoundedRectangle(Rect rect, double radius)</autodoc> | |
30330 | <paramlist> | |
30331 | <param name="rect" type="Rect" default=""/> | |
30332 | <param name="radius" type="double" default=""/> | |
30333 | </paramlist> | |
30334 | </method> | |
30335 | <method name="DrawArc" type="" overloaded="no"> | |
30336 | <autodoc>DrawArc(Point centrePt, Point startPt, Point endPt)</autodoc> | |
30337 | <paramlist> | |
30338 | <param name="centrePt" type="Point" default=""/> | |
30339 | <param name="startPt" type="Point" default=""/> | |
30340 | <param name="endPt" type="Point" default=""/> | |
30341 | </paramlist> | |
30342 | </method> | |
30343 | <method name="DrawEllipticArc" type="" overloaded="no"> | |
30344 | <autodoc>DrawEllipticArc(Rect rect, double startAngle, double endAngle)</autodoc> | |
30345 | <paramlist> | |
30346 | <param name="rect" type="Rect" default=""/> | |
30347 | <param name="startAngle" type="double" default=""/> | |
30348 | <param name="endAngle" type="double" default=""/> | |
30349 | </paramlist> | |
30350 | </method> | |
30351 | <method name="DrawEllipse" type="" overloaded="no"> | |
30352 | <autodoc>DrawEllipse(Rect rect)</autodoc> | |
30353 | <paramlist> | |
30354 | <param name="rect" type="Rect" default=""/> | |
30355 | </paramlist> | |
30356 | </method> | |
30357 | <method name="DrawPoint" type="" overloaded="no"> | |
30358 | <autodoc>DrawPoint(Point pt)</autodoc> | |
30359 | <paramlist> | |
30360 | <param name="pt" type="Point" default=""/> | |
30361 | </paramlist> | |
30362 | </method> | |
30363 | <method name="DrawText" type="" overloaded="no"> | |
30364 | <autodoc>DrawText(String text, Point pt)</autodoc> | |
30365 | <paramlist> | |
30366 | <param name="text" type="String" default=""/> | |
30367 | <param name="pt" type="Point" default=""/> | |
30368 | </paramlist> | |
30369 | </method> | |
30370 | <method name="DrawLines" type="" overloaded="no"> | |
30371 | <autodoc>DrawLines(int PCOUNT, Point points)</autodoc> | |
30372 | <paramlist> | |
30373 | <param name="PCOUNT" type="int" default=""/> | |
30374 | <param name="points" type="Point" default=""/> | |
30375 | </paramlist> | |
30376 | </method> | |
30377 | <method name="DrawPolygon" type="" overloaded="no"> | |
30378 | <autodoc>DrawPolygon(int PCOUNT, Point points, int flags=0)</autodoc> | |
30379 | <paramlist> | |
30380 | <param name="PCOUNT" type="int" default=""/> | |
30381 | <param name="points" type="Point" default=""/> | |
30382 | <param name="flags" type="int" default="0"/> | |
30383 | </paramlist> | |
30384 | </method> | |
30385 | <method name="DrawSpline" type="" overloaded="no"> | |
30386 | <autodoc>DrawSpline(int PCOUNT, Point points)</autodoc> | |
30387 | <paramlist> | |
30388 | <param name="PCOUNT" type="int" default=""/> | |
30389 | <param name="points" type="Point" default=""/> | |
30390 | </paramlist> | |
30391 | </method> | |
30392 | <method name="SetClippingRect" type="" overloaded="no"> | |
30393 | <autodoc>SetClippingRect(Rect rect)</autodoc> | |
30394 | <paramlist> | |
30395 | <param name="rect" type="Rect" default=""/> | |
30396 | </paramlist> | |
30397 | </method> | |
30398 | <method name="DestroyClippingRect" type="" overloaded="no"> | |
30399 | <autodoc>DestroyClippingRect()</autodoc> | |
30400 | </method> | |
30401 | <method name="SetPen" type="" overloaded="no"> | |
30402 | <autodoc>SetPen(wxPen pen, bool isOutline=FALSE)</autodoc> | |
30403 | <paramlist> | |
30404 | <param name="pen" type="Pen" default=""/> | |
30405 | <param name="isOutline" type="bool" default="FALSE"/> | |
30406 | </paramlist> | |
30407 | </method> | |
30408 | <method name="SetBrush" type="" overloaded="no"> | |
30409 | <autodoc>SetBrush(wxBrush brush, bool isFill=FALSE)</autodoc> | |
30410 | <paramlist> | |
30411 | <param name="brush" type="Brush" default=""/> | |
30412 | <param name="isFill" type="bool" default="FALSE"/> | |
30413 | </paramlist> | |
30414 | </method> | |
30415 | <method name="SetFont" type="" overloaded="no"> | |
30416 | <autodoc>SetFont(Font font)</autodoc> | |
30417 | <paramlist> | |
30418 | <param name="font" type="Font" default=""/> | |
30419 | </paramlist> | |
30420 | </method> | |
30421 | <method name="SetTextColour" type="" overloaded="no"> | |
30422 | <autodoc>SetTextColour(Colour colour)</autodoc> | |
30423 | <paramlist> | |
30424 | <param name="colour" type="Colour" default=""/> | |
30425 | </paramlist> | |
30426 | </method> | |
30427 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
30428 | <autodoc>SetBackgroundColour(Colour colour)</autodoc> | |
30429 | <paramlist> | |
30430 | <param name="colour" type="Colour" default=""/> | |
30431 | </paramlist> | |
30432 | </method> | |
30433 | <method name="SetBackgroundMode" type="" overloaded="no"> | |
30434 | <autodoc>SetBackgroundMode(int mode)</autodoc> | |
30435 | <paramlist> | |
30436 | <param name="mode" type="int" default=""/> | |
30437 | </paramlist> | |
30438 | </method> | |
30439 | </class> | |
30440 | <class name="PyRectangleShape" oldname="wxPyRectangleShape" module="ogl"> | |
30441 | <baseclass name="PyShape"/> | |
30442 | <constructor name="PyRectangleShape" overloaded="no"> | |
30443 | <autodoc>__init__(double width=0.0, double height=0.0) -> PyRectangleShape</autodoc> | |
30444 | <paramlist> | |
30445 | <param name="width" type="double" default="0.0"/> | |
30446 | <param name="height" type="double" default="0.0"/> | |
30447 | </paramlist> | |
30448 | </constructor> | |
30449 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
30450 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
30451 | <paramlist> | |
30452 | <param name="self" type="PyObject" default=""/> | |
30453 | <param name="_class" type="PyObject" default=""/> | |
30454 | </paramlist> | |
30455 | </method> | |
30456 | <method name="SetCornerRadius" type="" overloaded="no"> | |
30457 | <autodoc>SetCornerRadius(double radius)</autodoc> | |
30458 | <paramlist> | |
30459 | <param name="radius" type="double" default=""/> | |
30460 | </paramlist> | |
30461 | </method> | |
30462 | <method name="GetCornerRadius" type="double" overloaded="no"> | |
30463 | <autodoc>GetCornerRadius() -> double</autodoc> | |
30464 | </method> | |
30465 | <method name="base_OnDelete" type="" overloaded="no"> | |
30466 | <autodoc>base_OnDelete()</autodoc> | |
30467 | </method> | |
30468 | <method name="base_OnDraw" type="" overloaded="no"> | |
30469 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
30470 | <paramlist> | |
30471 | <param name="dc" type="DC" default=""/> | |
30472 | </paramlist> | |
30473 | </method> | |
30474 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
30475 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
30476 | <paramlist> | |
30477 | <param name="dc" type="DC" default=""/> | |
30478 | </paramlist> | |
30479 | </method> | |
30480 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
30481 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
30482 | <paramlist> | |
30483 | <param name="dc" type="DC" default=""/> | |
30484 | <param name="erase" type="bool" default="FALSE"/> | |
30485 | </paramlist> | |
30486 | </method> | |
30487 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
30488 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
30489 | <paramlist> | |
30490 | <param name="dc" type="DC" default=""/> | |
30491 | </paramlist> | |
30492 | </method> | |
30493 | <method name="base_OnErase" type="" overloaded="no"> | |
30494 | <autodoc>base_OnErase(DC dc)</autodoc> | |
30495 | <paramlist> | |
30496 | <param name="dc" type="DC" default=""/> | |
30497 | </paramlist> | |
30498 | </method> | |
30499 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
30500 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
30501 | <paramlist> | |
30502 | <param name="dc" type="DC" default=""/> | |
30503 | </paramlist> | |
30504 | </method> | |
30505 | <method name="base_OnHighlight" type="" overloaded="no"> | |
30506 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
30507 | <paramlist> | |
30508 | <param name="dc" type="DC" default=""/> | |
30509 | </paramlist> | |
30510 | </method> | |
30511 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
30512 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30513 | <paramlist> | |
30514 | <param name="x" type="double" default=""/> | |
30515 | <param name="y" type="double" default=""/> | |
30516 | <param name="keys" type="int" default="0"/> | |
30517 | <param name="attachment" type="int" default="0"/> | |
30518 | </paramlist> | |
30519 | </method> | |
30520 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
30521 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30522 | <paramlist> | |
30523 | <param name="x" type="double" default=""/> | |
30524 | <param name="y" type="double" default=""/> | |
30525 | <param name="keys" type="int" default="0"/> | |
30526 | <param name="attachment" type="int" default="0"/> | |
30527 | </paramlist> | |
30528 | </method> | |
30529 | <method name="base_OnRightClick" type="" overloaded="no"> | |
30530 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30531 | <paramlist> | |
30532 | <param name="x" type="double" default=""/> | |
30533 | <param name="y" type="double" default=""/> | |
30534 | <param name="keys" type="int" default="0"/> | |
30535 | <param name="attachment" type="int" default="0"/> | |
30536 | </paramlist> | |
30537 | </method> | |
30538 | <method name="base_OnSize" type="" overloaded="no"> | |
30539 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
30540 | <paramlist> | |
30541 | <param name="x" type="double" default=""/> | |
30542 | <param name="y" type="double" default=""/> | |
30543 | </paramlist> | |
30544 | </method> | |
30545 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
30546 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
30547 | bool display=True) -> bool</autodoc> | |
30548 | <paramlist> | |
30549 | <param name="dc" type="DC" default=""/> | |
30550 | <param name="x" type="double" default=""/> | |
30551 | <param name="y" type="double" default=""/> | |
30552 | <param name="old_x" type="double" default=""/> | |
30553 | <param name="old_y" type="double" default=""/> | |
30554 | <param name="display" type="bool" default="True"/> | |
30555 | </paramlist> | |
30556 | </method> | |
30557 | <method name="base_OnMovePost" type="" overloaded="no"> | |
30558 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
30559 | bool display=True)</autodoc> | |
30560 | <paramlist> | |
30561 | <param name="dc" type="DC" default=""/> | |
30562 | <param name="x" type="double" default=""/> | |
30563 | <param name="y" type="double" default=""/> | |
30564 | <param name="old_x" type="double" default=""/> | |
30565 | <param name="old_y" type="double" default=""/> | |
30566 | <param name="display" type="bool" default="True"/> | |
30567 | </paramlist> | |
30568 | </method> | |
30569 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
30570 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
30571 | <paramlist> | |
30572 | <param name="draw" type="bool" default=""/> | |
30573 | <param name="x" type="double" default=""/> | |
30574 | <param name="y" type="double" default=""/> | |
30575 | <param name="keys" type="int" default="0"/> | |
30576 | <param name="attachment" type="int" default="0"/> | |
30577 | </paramlist> | |
30578 | </method> | |
30579 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
30580 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30581 | <paramlist> | |
30582 | <param name="x" type="double" default=""/> | |
30583 | <param name="y" type="double" default=""/> | |
30584 | <param name="keys" type="int" default="0"/> | |
30585 | <param name="attachment" type="int" default="0"/> | |
30586 | </paramlist> | |
30587 | </method> | |
30588 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
30589 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30590 | <paramlist> | |
30591 | <param name="x" type="double" default=""/> | |
30592 | <param name="y" type="double" default=""/> | |
30593 | <param name="keys" type="int" default="0"/> | |
30594 | <param name="attachment" type="int" default="0"/> | |
30595 | </paramlist> | |
30596 | </method> | |
30597 | <method name="base_OnDragRight" type="" overloaded="no"> | |
30598 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
30599 | <paramlist> | |
30600 | <param name="draw" type="bool" default=""/> | |
30601 | <param name="x" type="double" default=""/> | |
30602 | <param name="y" type="double" default=""/> | |
30603 | <param name="keys" type="int" default="0"/> | |
30604 | <param name="attachment" type="int" default="0"/> | |
30605 | </paramlist> | |
30606 | </method> | |
30607 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
30608 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30609 | <paramlist> | |
30610 | <param name="x" type="double" default=""/> | |
30611 | <param name="y" type="double" default=""/> | |
30612 | <param name="keys" type="int" default="0"/> | |
30613 | <param name="attachment" type="int" default="0"/> | |
30614 | </paramlist> | |
30615 | </method> | |
30616 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
30617 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30618 | <paramlist> | |
30619 | <param name="x" type="double" default=""/> | |
30620 | <param name="y" type="double" default=""/> | |
30621 | <param name="keys" type="int" default="0"/> | |
30622 | <param name="attachment" type="int" default="0"/> | |
30623 | </paramlist> | |
30624 | </method> | |
30625 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
30626 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
30627 | <paramlist> | |
30628 | <param name="dc" type="DC" default=""/> | |
30629 | <param name="x" type="double" default=""/> | |
30630 | <param name="y" type="double" default=""/> | |
30631 | <param name="w" type="double" default=""/> | |
30632 | <param name="h" type="double" default=""/> | |
30633 | </paramlist> | |
30634 | </method> | |
30635 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
30636 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
30637 | <paramlist> | |
30638 | <param name="dc" type="DC" default=""/> | |
30639 | </paramlist> | |
30640 | </method> | |
30641 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
30642 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
30643 | <paramlist> | |
30644 | <param name="dc" type="DC" default=""/> | |
30645 | </paramlist> | |
30646 | </method> | |
30647 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
30648 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
30649 | <paramlist> | |
30650 | <param name="dc" type="DC" default=""/> | |
30651 | <param name="moveControlPoints" type="bool" default="True"/> | |
30652 | </paramlist> | |
30653 | </method> | |
30654 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
30655 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
30656 | int attachment=0)</autodoc> | |
30657 | <paramlist> | |
30658 | <param name="pt" type="wxPyControlPoint" default=""/> | |
30659 | <param name="draw" type="bool" default=""/> | |
30660 | <param name="x" type="double" default=""/> | |
30661 | <param name="y" type="double" default=""/> | |
30662 | <param name="keys" type="int" default="0"/> | |
30663 | <param name="attachment" type="int" default="0"/> | |
30664 | </paramlist> | |
30665 | </method> | |
30666 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
30667 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
30668 | int attachment=0)</autodoc> | |
30669 | <paramlist> | |
30670 | <param name="pt" type="wxPyControlPoint" default=""/> | |
30671 | <param name="x" type="double" default=""/> | |
30672 | <param name="y" type="double" default=""/> | |
30673 | <param name="keys" type="int" default="0"/> | |
30674 | <param name="attachment" type="int" default="0"/> | |
30675 | </paramlist> | |
30676 | </method> | |
30677 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
30678 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
30679 | int attachment=0)</autodoc> | |
30680 | <paramlist> | |
30681 | <param name="pt" type="wxPyControlPoint" default=""/> | |
30682 | <param name="x" type="double" default=""/> | |
30683 | <param name="y" type="double" default=""/> | |
30684 | <param name="keys" type="int" default="0"/> | |
30685 | <param name="attachment" type="int" default="0"/> | |
30686 | </paramlist> | |
30687 | </method> | |
30688 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
30689 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
30690 | <paramlist> | |
30691 | <param name="w" type="double" default=""/> | |
30692 | <param name="h" type="double" default=""/> | |
30693 | </paramlist> | |
30694 | </method> | |
30695 | <method name="base_OnEndSize" type="" overloaded="no"> | |
30696 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
30697 | <paramlist> | |
30698 | <param name="w" type="double" default=""/> | |
30699 | <param name="h" type="double" default=""/> | |
30700 | </paramlist> | |
30701 | </method> | |
30702 | </class> | |
30703 | <class name="PyControlPoint" oldname="wxPyControlPoint" module="ogl"> | |
30704 | <baseclass name="PyRectangleShape"/> | |
30705 | <constructor name="PyControlPoint" overloaded="no"> | |
30706 | <autodoc>__init__(PyShapeCanvas the_canvas=None, PyShape object=None, | |
30707 | double size=0.0, double the_xoffset=0.0, double the_yoffset=0.0, | |
30708 | int the_type=0) -> PyControlPoint</autodoc> | |
30709 | <paramlist> | |
30710 | <param name="the_canvas" type="wxPyShapeCanvas" default="NULL"/> | |
30711 | <param name="object" type="PyShape" default="NULL"/> | |
30712 | <param name="size" type="double" default="0.0"/> | |
30713 | <param name="the_xoffset" type="double" default="0.0"/> | |
30714 | <param name="the_yoffset" type="double" default="0.0"/> | |
30715 | <param name="the_type" type="int" default="0"/> | |
30716 | </paramlist> | |
30717 | </constructor> | |
30718 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
30719 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
30720 | <paramlist> | |
30721 | <param name="self" type="PyObject" default=""/> | |
30722 | <param name="_class" type="PyObject" default=""/> | |
30723 | </paramlist> | |
30724 | </method> | |
30725 | <method name="SetCornerRadius" type="" overloaded="no"> | |
30726 | <autodoc>SetCornerRadius(double radius)</autodoc> | |
30727 | <paramlist> | |
30728 | <param name="radius" type="double" default=""/> | |
30729 | </paramlist> | |
30730 | </method> | |
30731 | <method name="base_OnDelete" type="" overloaded="no"> | |
30732 | <autodoc>base_OnDelete()</autodoc> | |
30733 | </method> | |
30734 | <method name="base_OnDraw" type="" overloaded="no"> | |
30735 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
30736 | <paramlist> | |
30737 | <param name="dc" type="DC" default=""/> | |
30738 | </paramlist> | |
30739 | </method> | |
30740 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
30741 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
30742 | <paramlist> | |
30743 | <param name="dc" type="DC" default=""/> | |
30744 | </paramlist> | |
30745 | </method> | |
30746 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
30747 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
30748 | <paramlist> | |
30749 | <param name="dc" type="DC" default=""/> | |
30750 | <param name="erase" type="bool" default="FALSE"/> | |
30751 | </paramlist> | |
30752 | </method> | |
30753 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
30754 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
30755 | <paramlist> | |
30756 | <param name="dc" type="DC" default=""/> | |
30757 | </paramlist> | |
30758 | </method> | |
30759 | <method name="base_OnErase" type="" overloaded="no"> | |
30760 | <autodoc>base_OnErase(DC dc)</autodoc> | |
30761 | <paramlist> | |
30762 | <param name="dc" type="DC" default=""/> | |
30763 | </paramlist> | |
30764 | </method> | |
30765 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
30766 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
30767 | <paramlist> | |
30768 | <param name="dc" type="DC" default=""/> | |
30769 | </paramlist> | |
30770 | </method> | |
30771 | <method name="base_OnHighlight" type="" overloaded="no"> | |
30772 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
30773 | <paramlist> | |
30774 | <param name="dc" type="DC" default=""/> | |
30775 | </paramlist> | |
30776 | </method> | |
30777 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
30778 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30779 | <paramlist> | |
30780 | <param name="x" type="double" default=""/> | |
30781 | <param name="y" type="double" default=""/> | |
30782 | <param name="keys" type="int" default="0"/> | |
30783 | <param name="attachment" type="int" default="0"/> | |
30784 | </paramlist> | |
30785 | </method> | |
30786 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
30787 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30788 | <paramlist> | |
30789 | <param name="x" type="double" default=""/> | |
30790 | <param name="y" type="double" default=""/> | |
30791 | <param name="keys" type="int" default="0"/> | |
30792 | <param name="attachment" type="int" default="0"/> | |
30793 | </paramlist> | |
30794 | </method> | |
30795 | <method name="base_OnRightClick" type="" overloaded="no"> | |
30796 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30797 | <paramlist> | |
30798 | <param name="x" type="double" default=""/> | |
30799 | <param name="y" type="double" default=""/> | |
30800 | <param name="keys" type="int" default="0"/> | |
30801 | <param name="attachment" type="int" default="0"/> | |
30802 | </paramlist> | |
30803 | </method> | |
30804 | <method name="base_OnSize" type="" overloaded="no"> | |
30805 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
30806 | <paramlist> | |
30807 | <param name="x" type="double" default=""/> | |
30808 | <param name="y" type="double" default=""/> | |
30809 | </paramlist> | |
30810 | </method> | |
30811 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
30812 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
30813 | bool display=True) -> bool</autodoc> | |
30814 | <paramlist> | |
30815 | <param name="dc" type="DC" default=""/> | |
30816 | <param name="x" type="double" default=""/> | |
30817 | <param name="y" type="double" default=""/> | |
30818 | <param name="old_x" type="double" default=""/> | |
30819 | <param name="old_y" type="double" default=""/> | |
30820 | <param name="display" type="bool" default="True"/> | |
30821 | </paramlist> | |
30822 | </method> | |
30823 | <method name="base_OnMovePost" type="" overloaded="no"> | |
30824 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
30825 | bool display=True)</autodoc> | |
30826 | <paramlist> | |
30827 | <param name="dc" type="DC" default=""/> | |
30828 | <param name="x" type="double" default=""/> | |
30829 | <param name="y" type="double" default=""/> | |
30830 | <param name="old_x" type="double" default=""/> | |
30831 | <param name="old_y" type="double" default=""/> | |
30832 | <param name="display" type="bool" default="True"/> | |
30833 | </paramlist> | |
30834 | </method> | |
30835 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
30836 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
30837 | <paramlist> | |
30838 | <param name="draw" type="bool" default=""/> | |
30839 | <param name="x" type="double" default=""/> | |
30840 | <param name="y" type="double" default=""/> | |
30841 | <param name="keys" type="int" default="0"/> | |
30842 | <param name="attachment" type="int" default="0"/> | |
30843 | </paramlist> | |
30844 | </method> | |
30845 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
30846 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30847 | <paramlist> | |
30848 | <param name="x" type="double" default=""/> | |
30849 | <param name="y" type="double" default=""/> | |
30850 | <param name="keys" type="int" default="0"/> | |
30851 | <param name="attachment" type="int" default="0"/> | |
30852 | </paramlist> | |
30853 | </method> | |
30854 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
30855 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30856 | <paramlist> | |
30857 | <param name="x" type="double" default=""/> | |
30858 | <param name="y" type="double" default=""/> | |
30859 | <param name="keys" type="int" default="0"/> | |
30860 | <param name="attachment" type="int" default="0"/> | |
30861 | </paramlist> | |
30862 | </method> | |
30863 | <method name="base_OnDragRight" type="" overloaded="no"> | |
30864 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
30865 | <paramlist> | |
30866 | <param name="draw" type="bool" default=""/> | |
30867 | <param name="x" type="double" default=""/> | |
30868 | <param name="y" type="double" default=""/> | |
30869 | <param name="keys" type="int" default="0"/> | |
30870 | <param name="attachment" type="int" default="0"/> | |
30871 | </paramlist> | |
30872 | </method> | |
30873 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
30874 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30875 | <paramlist> | |
30876 | <param name="x" type="double" default=""/> | |
30877 | <param name="y" type="double" default=""/> | |
30878 | <param name="keys" type="int" default="0"/> | |
30879 | <param name="attachment" type="int" default="0"/> | |
30880 | </paramlist> | |
30881 | </method> | |
30882 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
30883 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30884 | <paramlist> | |
30885 | <param name="x" type="double" default=""/> | |
30886 | <param name="y" type="double" default=""/> | |
30887 | <param name="keys" type="int" default="0"/> | |
30888 | <param name="attachment" type="int" default="0"/> | |
30889 | </paramlist> | |
30890 | </method> | |
30891 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
30892 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
30893 | <paramlist> | |
30894 | <param name="dc" type="DC" default=""/> | |
30895 | <param name="x" type="double" default=""/> | |
30896 | <param name="y" type="double" default=""/> | |
30897 | <param name="w" type="double" default=""/> | |
30898 | <param name="h" type="double" default=""/> | |
30899 | </paramlist> | |
30900 | </method> | |
30901 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
30902 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
30903 | <paramlist> | |
30904 | <param name="dc" type="DC" default=""/> | |
30905 | </paramlist> | |
30906 | </method> | |
30907 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
30908 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
30909 | <paramlist> | |
30910 | <param name="dc" type="DC" default=""/> | |
30911 | </paramlist> | |
30912 | </method> | |
30913 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
30914 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
30915 | <paramlist> | |
30916 | <param name="dc" type="DC" default=""/> | |
30917 | <param name="moveControlPoints" type="bool" default="True"/> | |
30918 | </paramlist> | |
30919 | </method> | |
30920 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
30921 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
30922 | int attachment=0)</autodoc> | |
30923 | <paramlist> | |
30924 | <param name="pt" type="PyControlPoint" default=""/> | |
30925 | <param name="draw" type="bool" default=""/> | |
30926 | <param name="x" type="double" default=""/> | |
30927 | <param name="y" type="double" default=""/> | |
30928 | <param name="keys" type="int" default="0"/> | |
30929 | <param name="attachment" type="int" default="0"/> | |
30930 | </paramlist> | |
30931 | </method> | |
30932 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
30933 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
30934 | int attachment=0)</autodoc> | |
30935 | <paramlist> | |
30936 | <param name="pt" type="PyControlPoint" default=""/> | |
30937 | <param name="x" type="double" default=""/> | |
30938 | <param name="y" type="double" default=""/> | |
30939 | <param name="keys" type="int" default="0"/> | |
30940 | <param name="attachment" type="int" default="0"/> | |
30941 | </paramlist> | |
30942 | </method> | |
30943 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
30944 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
30945 | int attachment=0)</autodoc> | |
30946 | <paramlist> | |
30947 | <param name="pt" type="PyControlPoint" default=""/> | |
30948 | <param name="x" type="double" default=""/> | |
30949 | <param name="y" type="double" default=""/> | |
30950 | <param name="keys" type="int" default="0"/> | |
30951 | <param name="attachment" type="int" default="0"/> | |
30952 | </paramlist> | |
30953 | </method> | |
30954 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
30955 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
30956 | <paramlist> | |
30957 | <param name="w" type="double" default=""/> | |
30958 | <param name="h" type="double" default=""/> | |
30959 | </paramlist> | |
30960 | </method> | |
30961 | <method name="base_OnEndSize" type="" overloaded="no"> | |
30962 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
30963 | <paramlist> | |
30964 | <param name="w" type="double" default=""/> | |
30965 | <param name="h" type="double" default=""/> | |
30966 | </paramlist> | |
30967 | </method> | |
30968 | </class> | |
30969 | <class name="PyBitmapShape" oldname="wxPyBitmapShape" module="ogl"> | |
30970 | <baseclass name="PyRectangleShape"/> | |
30971 | <constructor name="PyBitmapShape" overloaded="no"> | |
30972 | <autodoc>__init__() -> PyBitmapShape</autodoc> | |
30973 | </constructor> | |
30974 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
30975 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
30976 | <paramlist> | |
30977 | <param name="self" type="PyObject" default=""/> | |
30978 | <param name="_class" type="PyObject" default=""/> | |
30979 | </paramlist> | |
30980 | </method> | |
30981 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
30982 | <autodoc>GetBitmap() -> Bitmap</autodoc> | |
30983 | </method> | |
30984 | <method name="GetFilename" type="String" overloaded="no"> | |
30985 | <autodoc>GetFilename() -> String</autodoc> | |
30986 | </method> | |
30987 | <method name="SetBitmap" type="" overloaded="no"> | |
30988 | <autodoc>SetBitmap(Bitmap bitmap)</autodoc> | |
30989 | <paramlist> | |
30990 | <param name="bitmap" type="Bitmap" default=""/> | |
30991 | </paramlist> | |
30992 | </method> | |
30993 | <method name="SetFilename" type="" overloaded="no"> | |
30994 | <autodoc>SetFilename(String filename)</autodoc> | |
30995 | <paramlist> | |
30996 | <param name="filename" type="String" default=""/> | |
30997 | </paramlist> | |
30998 | </method> | |
30999 | <method name="base_OnDelete" type="" overloaded="no"> | |
31000 | <autodoc>base_OnDelete()</autodoc> | |
31001 | </method> | |
31002 | <method name="base_OnDraw" type="" overloaded="no"> | |
31003 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
31004 | <paramlist> | |
31005 | <param name="dc" type="DC" default=""/> | |
31006 | </paramlist> | |
31007 | </method> | |
31008 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
31009 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
31010 | <paramlist> | |
31011 | <param name="dc" type="DC" default=""/> | |
31012 | </paramlist> | |
31013 | </method> | |
31014 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
31015 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
31016 | <paramlist> | |
31017 | <param name="dc" type="DC" default=""/> | |
31018 | <param name="erase" type="bool" default="FALSE"/> | |
31019 | </paramlist> | |
31020 | </method> | |
31021 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
31022 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
31023 | <paramlist> | |
31024 | <param name="dc" type="DC" default=""/> | |
31025 | </paramlist> | |
31026 | </method> | |
31027 | <method name="base_OnErase" type="" overloaded="no"> | |
31028 | <autodoc>base_OnErase(DC dc)</autodoc> | |
31029 | <paramlist> | |
31030 | <param name="dc" type="DC" default=""/> | |
31031 | </paramlist> | |
31032 | </method> | |
31033 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
31034 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
31035 | <paramlist> | |
31036 | <param name="dc" type="DC" default=""/> | |
31037 | </paramlist> | |
31038 | </method> | |
31039 | <method name="base_OnHighlight" type="" overloaded="no"> | |
31040 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
31041 | <paramlist> | |
31042 | <param name="dc" type="DC" default=""/> | |
31043 | </paramlist> | |
31044 | </method> | |
31045 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
31046 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31047 | <paramlist> | |
31048 | <param name="x" type="double" default=""/> | |
31049 | <param name="y" type="double" default=""/> | |
31050 | <param name="keys" type="int" default="0"/> | |
31051 | <param name="attachment" type="int" default="0"/> | |
31052 | </paramlist> | |
31053 | </method> | |
31054 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
31055 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31056 | <paramlist> | |
31057 | <param name="x" type="double" default=""/> | |
31058 | <param name="y" type="double" default=""/> | |
31059 | <param name="keys" type="int" default="0"/> | |
31060 | <param name="attachment" type="int" default="0"/> | |
31061 | </paramlist> | |
31062 | </method> | |
31063 | <method name="base_OnRightClick" type="" overloaded="no"> | |
31064 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31065 | <paramlist> | |
31066 | <param name="x" type="double" default=""/> | |
31067 | <param name="y" type="double" default=""/> | |
31068 | <param name="keys" type="int" default="0"/> | |
31069 | <param name="attachment" type="int" default="0"/> | |
31070 | </paramlist> | |
31071 | </method> | |
31072 | <method name="base_OnSize" type="" overloaded="no"> | |
31073 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
31074 | <paramlist> | |
31075 | <param name="x" type="double" default=""/> | |
31076 | <param name="y" type="double" default=""/> | |
31077 | </paramlist> | |
31078 | </method> | |
31079 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
31080 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
31081 | bool display=True) -> bool</autodoc> | |
31082 | <paramlist> | |
31083 | <param name="dc" type="DC" default=""/> | |
31084 | <param name="x" type="double" default=""/> | |
31085 | <param name="y" type="double" default=""/> | |
31086 | <param name="old_x" type="double" default=""/> | |
31087 | <param name="old_y" type="double" default=""/> | |
31088 | <param name="display" type="bool" default="True"/> | |
31089 | </paramlist> | |
31090 | </method> | |
31091 | <method name="base_OnMovePost" type="" overloaded="no"> | |
31092 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
31093 | bool display=True)</autodoc> | |
31094 | <paramlist> | |
31095 | <param name="dc" type="DC" default=""/> | |
31096 | <param name="x" type="double" default=""/> | |
31097 | <param name="y" type="double" default=""/> | |
31098 | <param name="old_x" type="double" default=""/> | |
31099 | <param name="old_y" type="double" default=""/> | |
31100 | <param name="display" type="bool" default="True"/> | |
31101 | </paramlist> | |
31102 | </method> | |
31103 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
31104 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
31105 | <paramlist> | |
31106 | <param name="draw" type="bool" default=""/> | |
31107 | <param name="x" type="double" default=""/> | |
31108 | <param name="y" type="double" default=""/> | |
31109 | <param name="keys" type="int" default="0"/> | |
31110 | <param name="attachment" type="int" default="0"/> | |
31111 | </paramlist> | |
31112 | </method> | |
31113 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
31114 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31115 | <paramlist> | |
31116 | <param name="x" type="double" default=""/> | |
31117 | <param name="y" type="double" default=""/> | |
31118 | <param name="keys" type="int" default="0"/> | |
31119 | <param name="attachment" type="int" default="0"/> | |
31120 | </paramlist> | |
31121 | </method> | |
31122 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
31123 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31124 | <paramlist> | |
31125 | <param name="x" type="double" default=""/> | |
31126 | <param name="y" type="double" default=""/> | |
31127 | <param name="keys" type="int" default="0"/> | |
31128 | <param name="attachment" type="int" default="0"/> | |
31129 | </paramlist> | |
31130 | </method> | |
31131 | <method name="base_OnDragRight" type="" overloaded="no"> | |
31132 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
31133 | <paramlist> | |
31134 | <param name="draw" type="bool" default=""/> | |
31135 | <param name="x" type="double" default=""/> | |
31136 | <param name="y" type="double" default=""/> | |
31137 | <param name="keys" type="int" default="0"/> | |
31138 | <param name="attachment" type="int" default="0"/> | |
31139 | </paramlist> | |
31140 | </method> | |
31141 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
31142 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31143 | <paramlist> | |
31144 | <param name="x" type="double" default=""/> | |
31145 | <param name="y" type="double" default=""/> | |
31146 | <param name="keys" type="int" default="0"/> | |
31147 | <param name="attachment" type="int" default="0"/> | |
31148 | </paramlist> | |
31149 | </method> | |
31150 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
31151 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31152 | <paramlist> | |
31153 | <param name="x" type="double" default=""/> | |
31154 | <param name="y" type="double" default=""/> | |
31155 | <param name="keys" type="int" default="0"/> | |
31156 | <param name="attachment" type="int" default="0"/> | |
31157 | </paramlist> | |
31158 | </method> | |
31159 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
31160 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
31161 | <paramlist> | |
31162 | <param name="dc" type="DC" default=""/> | |
31163 | <param name="x" type="double" default=""/> | |
31164 | <param name="y" type="double" default=""/> | |
31165 | <param name="w" type="double" default=""/> | |
31166 | <param name="h" type="double" default=""/> | |
31167 | </paramlist> | |
31168 | </method> | |
31169 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
31170 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
31171 | <paramlist> | |
31172 | <param name="dc" type="DC" default=""/> | |
31173 | </paramlist> | |
31174 | </method> | |
31175 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
31176 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
31177 | <paramlist> | |
31178 | <param name="dc" type="DC" default=""/> | |
31179 | </paramlist> | |
31180 | </method> | |
31181 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
31182 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
31183 | <paramlist> | |
31184 | <param name="dc" type="DC" default=""/> | |
31185 | <param name="moveControlPoints" type="bool" default="True"/> | |
31186 | </paramlist> | |
31187 | </method> | |
31188 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
31189 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
31190 | int attachment=0)</autodoc> | |
31191 | <paramlist> | |
31192 | <param name="pt" type="PyControlPoint" default=""/> | |
31193 | <param name="draw" type="bool" default=""/> | |
31194 | <param name="x" type="double" default=""/> | |
31195 | <param name="y" type="double" default=""/> | |
31196 | <param name="keys" type="int" default="0"/> | |
31197 | <param name="attachment" type="int" default="0"/> | |
31198 | </paramlist> | |
31199 | </method> | |
31200 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
31201 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
31202 | int attachment=0)</autodoc> | |
31203 | <paramlist> | |
31204 | <param name="pt" type="PyControlPoint" default=""/> | |
31205 | <param name="x" type="double" default=""/> | |
31206 | <param name="y" type="double" default=""/> | |
31207 | <param name="keys" type="int" default="0"/> | |
31208 | <param name="attachment" type="int" default="0"/> | |
31209 | </paramlist> | |
31210 | </method> | |
31211 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
31212 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
31213 | int attachment=0)</autodoc> | |
31214 | <paramlist> | |
31215 | <param name="pt" type="PyControlPoint" default=""/> | |
31216 | <param name="x" type="double" default=""/> | |
31217 | <param name="y" type="double" default=""/> | |
31218 | <param name="keys" type="int" default="0"/> | |
31219 | <param name="attachment" type="int" default="0"/> | |
31220 | </paramlist> | |
31221 | </method> | |
31222 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
31223 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
31224 | <paramlist> | |
31225 | <param name="w" type="double" default=""/> | |
31226 | <param name="h" type="double" default=""/> | |
31227 | </paramlist> | |
31228 | </method> | |
31229 | <method name="base_OnEndSize" type="" overloaded="no"> | |
31230 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
31231 | <paramlist> | |
31232 | <param name="w" type="double" default=""/> | |
31233 | <param name="h" type="double" default=""/> | |
31234 | </paramlist> | |
31235 | </method> | |
31236 | </class> | |
31237 | <class name="PyDrawnShape" oldname="wxPyDrawnShape" module="ogl"> | |
31238 | <baseclass name="PyRectangleShape"/> | |
31239 | <constructor name="PyDrawnShape" overloaded="no"> | |
31240 | <autodoc>__init__() -> PyDrawnShape</autodoc> | |
31241 | </constructor> | |
31242 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
31243 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
31244 | <paramlist> | |
31245 | <param name="self" type="PyObject" default=""/> | |
31246 | <param name="_class" type="PyObject" default=""/> | |
31247 | </paramlist> | |
31248 | </method> | |
31249 | <method name="CalculateSize" type="" overloaded="no"> | |
31250 | <autodoc>CalculateSize()</autodoc> | |
31251 | </method> | |
31252 | <method name="DestroyClippingRect" type="" overloaded="no"> | |
31253 | <autodoc>DestroyClippingRect()</autodoc> | |
31254 | </method> | |
31255 | <method name="DrawArc" type="" overloaded="no"> | |
31256 | <autodoc>DrawArc(Point centrePoint, Point startPoint, Point endPoint)</autodoc> | |
31257 | <paramlist> | |
31258 | <param name="centrePoint" type="Point" default=""/> | |
31259 | <param name="startPoint" type="Point" default=""/> | |
31260 | <param name="endPoint" type="Point" default=""/> | |
31261 | </paramlist> | |
31262 | </method> | |
31263 | <method name="DrawAtAngle" type="" overloaded="no"> | |
31264 | <autodoc>DrawAtAngle(int angle)</autodoc> | |
31265 | <paramlist> | |
31266 | <param name="angle" type="int" default=""/> | |
31267 | </paramlist> | |
31268 | </method> | |
31269 | <method name="DrawEllipticArc" type="" overloaded="no"> | |
31270 | <autodoc>DrawEllipticArc(Rect rect, double startAngle, double endAngle)</autodoc> | |
31271 | <paramlist> | |
31272 | <param name="rect" type="Rect" default=""/> | |
31273 | <param name="startAngle" type="double" default=""/> | |
31274 | <param name="endAngle" type="double" default=""/> | |
31275 | </paramlist> | |
31276 | </method> | |
31277 | <method name="DrawLine" type="" overloaded="no"> | |
31278 | <autodoc>DrawLine(Point point1, Point point2)</autodoc> | |
31279 | <paramlist> | |
31280 | <param name="point1" type="Point" default=""/> | |
31281 | <param name="point2" type="Point" default=""/> | |
31282 | </paramlist> | |
31283 | </method> | |
31284 | <method name="DrawLines" type="" overloaded="no"> | |
31285 | <autodoc>DrawLines(int PCOUNT, Point points)</autodoc> | |
31286 | <paramlist> | |
31287 | <param name="PCOUNT" type="int" default=""/> | |
31288 | <param name="points" type="Point" default=""/> | |
31289 | </paramlist> | |
31290 | </method> | |
31291 | <method name="DrawPoint" type="" overloaded="no"> | |
31292 | <autodoc>DrawPoint(Point point)</autodoc> | |
31293 | <paramlist> | |
31294 | <param name="point" type="Point" default=""/> | |
31295 | </paramlist> | |
31296 | </method> | |
31297 | <method name="DrawPolygon" type="" overloaded="no"> | |
31298 | <autodoc>DrawPolygon(int PCOUNT, Point points, int flags=0)</autodoc> | |
31299 | <paramlist> | |
31300 | <param name="PCOUNT" type="int" default=""/> | |
31301 | <param name="points" type="Point" default=""/> | |
31302 | <param name="flags" type="int" default="0"/> | |
31303 | </paramlist> | |
31304 | </method> | |
31305 | <method name="DrawRectangle" type="" overloaded="no"> | |
31306 | <autodoc>DrawRectangle(Rect rect)</autodoc> | |
31307 | <paramlist> | |
31308 | <param name="rect" type="Rect" default=""/> | |
31309 | </paramlist> | |
31310 | </method> | |
31311 | <method name="DrawRoundedRectangle" type="" overloaded="no"> | |
31312 | <autodoc>DrawRoundedRectangle(Rect rect, double radius)</autodoc> | |
31313 | <paramlist> | |
31314 | <param name="rect" type="Rect" default=""/> | |
31315 | <param name="radius" type="double" default=""/> | |
31316 | </paramlist> | |
31317 | </method> | |
31318 | <method name="DrawSpline" type="" overloaded="no"> | |
31319 | <autodoc>DrawSpline(int PCOUNT, Point points)</autodoc> | |
31320 | <paramlist> | |
31321 | <param name="PCOUNT" type="int" default=""/> | |
31322 | <param name="points" type="Point" default=""/> | |
31323 | </paramlist> | |
31324 | </method> | |
31325 | <method name="DrawText" type="" overloaded="no"> | |
31326 | <autodoc>DrawText(String text, Point point)</autodoc> | |
31327 | <paramlist> | |
31328 | <param name="text" type="String" default=""/> | |
31329 | <param name="point" type="Point" default=""/> | |
31330 | </paramlist> | |
31331 | </method> | |
31332 | <method name="GetAngle" type="int" overloaded="no"> | |
31333 | <autodoc>GetAngle() -> int</autodoc> | |
31334 | </method> | |
31335 | <method name="GetMetaFile" type="PseudoMetaFile" overloaded="no"> | |
31336 | <autodoc>GetMetaFile() -> PseudoMetaFile</autodoc> | |
31337 | </method> | |
31338 | <method name="GetRotation" type="double" overloaded="no"> | |
31339 | <autodoc>GetRotation() -> double</autodoc> | |
31340 | </method> | |
31341 | <method name="LoadFromMetaFile" type="bool" overloaded="no"> | |
31342 | <autodoc>LoadFromMetaFile(String filename) -> bool</autodoc> | |
31343 | <paramlist> | |
31344 | <param name="filename" type="String" default=""/> | |
31345 | </paramlist> | |
31346 | </method> | |
31347 | <method name="Rotate" type="" overloaded="no"> | |
31348 | <autodoc>Rotate(double x, double y, double theta)</autodoc> | |
31349 | <paramlist> | |
31350 | <param name="x" type="double" default=""/> | |
31351 | <param name="y" type="double" default=""/> | |
31352 | <param name="theta" type="double" default=""/> | |
31353 | </paramlist> | |
31354 | </method> | |
31355 | <method name="SetClippingRect" type="" overloaded="no"> | |
31356 | <autodoc>SetClippingRect(Rect rect)</autodoc> | |
31357 | <paramlist> | |
31358 | <param name="rect" type="Rect" default=""/> | |
31359 | </paramlist> | |
31360 | </method> | |
31361 | <method name="SetDrawnBackgroundColour" type="" overloaded="no"> | |
31362 | <autodoc>SetDrawnBackgroundColour(Colour colour)</autodoc> | |
31363 | <paramlist> | |
31364 | <param name="colour" type="Colour" default=""/> | |
31365 | </paramlist> | |
31366 | </method> | |
31367 | <method name="SetDrawnBackgroundMode" type="" overloaded="no"> | |
31368 | <autodoc>SetDrawnBackgroundMode(int mode)</autodoc> | |
31369 | <paramlist> | |
31370 | <param name="mode" type="int" default=""/> | |
31371 | </paramlist> | |
31372 | </method> | |
31373 | <method name="SetDrawnBrush" type="" overloaded="no"> | |
31374 | <autodoc>SetDrawnBrush(wxBrush pen, bool isOutline=FALSE)</autodoc> | |
31375 | <paramlist> | |
31376 | <param name="pen" type="Brush" default=""/> | |
31377 | <param name="isOutline" type="bool" default="FALSE"/> | |
31378 | </paramlist> | |
31379 | </method> | |
31380 | <method name="SetDrawnFont" type="" overloaded="no"> | |
31381 | <autodoc>SetDrawnFont(Font font)</autodoc> | |
31382 | <paramlist> | |
31383 | <param name="font" type="Font" default=""/> | |
31384 | </paramlist> | |
31385 | </method> | |
31386 | <method name="SetDrawnPen" type="" overloaded="no"> | |
31387 | <autodoc>SetDrawnPen(wxPen pen, bool isOutline=FALSE)</autodoc> | |
31388 | <paramlist> | |
31389 | <param name="pen" type="Pen" default=""/> | |
31390 | <param name="isOutline" type="bool" default="FALSE"/> | |
31391 | </paramlist> | |
31392 | </method> | |
31393 | <method name="SetDrawnTextColour" type="" overloaded="no"> | |
31394 | <autodoc>SetDrawnTextColour(Colour colour)</autodoc> | |
31395 | <paramlist> | |
31396 | <param name="colour" type="Colour" default=""/> | |
31397 | </paramlist> | |
31398 | </method> | |
31399 | <method name="Scale" type="" overloaded="no"> | |
31400 | <autodoc>Scale(double sx, double sy)</autodoc> | |
31401 | <paramlist> | |
31402 | <param name="sx" type="double" default=""/> | |
31403 | <param name="sy" type="double" default=""/> | |
31404 | </paramlist> | |
31405 | </method> | |
31406 | <method name="SetSaveToFile" type="" overloaded="no"> | |
31407 | <autodoc>SetSaveToFile(bool save)</autodoc> | |
31408 | <paramlist> | |
31409 | <param name="save" type="bool" default=""/> | |
31410 | </paramlist> | |
31411 | </method> | |
31412 | <method name="Translate" type="" overloaded="no"> | |
31413 | <autodoc>Translate(double x, double y)</autodoc> | |
31414 | <paramlist> | |
31415 | <param name="x" type="double" default=""/> | |
31416 | <param name="y" type="double" default=""/> | |
31417 | </paramlist> | |
31418 | </method> | |
31419 | <method name="base_OnDelete" type="" overloaded="no"> | |
31420 | <autodoc>base_OnDelete()</autodoc> | |
31421 | </method> | |
31422 | <method name="base_OnDraw" type="" overloaded="no"> | |
31423 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
31424 | <paramlist> | |
31425 | <param name="dc" type="DC" default=""/> | |
31426 | </paramlist> | |
31427 | </method> | |
31428 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
31429 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
31430 | <paramlist> | |
31431 | <param name="dc" type="DC" default=""/> | |
31432 | </paramlist> | |
31433 | </method> | |
31434 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
31435 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
31436 | <paramlist> | |
31437 | <param name="dc" type="DC" default=""/> | |
31438 | <param name="erase" type="bool" default="FALSE"/> | |
31439 | </paramlist> | |
31440 | </method> | |
31441 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
31442 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
31443 | <paramlist> | |
31444 | <param name="dc" type="DC" default=""/> | |
31445 | </paramlist> | |
31446 | </method> | |
31447 | <method name="base_OnErase" type="" overloaded="no"> | |
31448 | <autodoc>base_OnErase(DC dc)</autodoc> | |
31449 | <paramlist> | |
31450 | <param name="dc" type="DC" default=""/> | |
31451 | </paramlist> | |
31452 | </method> | |
31453 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
31454 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
31455 | <paramlist> | |
31456 | <param name="dc" type="DC" default=""/> | |
31457 | </paramlist> | |
31458 | </method> | |
31459 | <method name="base_OnHighlight" type="" overloaded="no"> | |
31460 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
31461 | <paramlist> | |
31462 | <param name="dc" type="DC" default=""/> | |
31463 | </paramlist> | |
31464 | </method> | |
31465 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
31466 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31467 | <paramlist> | |
31468 | <param name="x" type="double" default=""/> | |
31469 | <param name="y" type="double" default=""/> | |
31470 | <param name="keys" type="int" default="0"/> | |
31471 | <param name="attachment" type="int" default="0"/> | |
31472 | </paramlist> | |
31473 | </method> | |
31474 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
31475 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31476 | <paramlist> | |
31477 | <param name="x" type="double" default=""/> | |
31478 | <param name="y" type="double" default=""/> | |
31479 | <param name="keys" type="int" default="0"/> | |
31480 | <param name="attachment" type="int" default="0"/> | |
31481 | </paramlist> | |
31482 | </method> | |
31483 | <method name="base_OnRightClick" type="" overloaded="no"> | |
31484 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31485 | <paramlist> | |
31486 | <param name="x" type="double" default=""/> | |
31487 | <param name="y" type="double" default=""/> | |
31488 | <param name="keys" type="int" default="0"/> | |
31489 | <param name="attachment" type="int" default="0"/> | |
31490 | </paramlist> | |
31491 | </method> | |
31492 | <method name="base_OnSize" type="" overloaded="no"> | |
31493 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
31494 | <paramlist> | |
31495 | <param name="x" type="double" default=""/> | |
31496 | <param name="y" type="double" default=""/> | |
31497 | </paramlist> | |
31498 | </method> | |
31499 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
31500 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
31501 | bool display=True) -> bool</autodoc> | |
31502 | <paramlist> | |
31503 | <param name="dc" type="DC" default=""/> | |
31504 | <param name="x" type="double" default=""/> | |
31505 | <param name="y" type="double" default=""/> | |
31506 | <param name="old_x" type="double" default=""/> | |
31507 | <param name="old_y" type="double" default=""/> | |
31508 | <param name="display" type="bool" default="True"/> | |
31509 | </paramlist> | |
31510 | </method> | |
31511 | <method name="base_OnMovePost" type="" overloaded="no"> | |
31512 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
31513 | bool display=True)</autodoc> | |
31514 | <paramlist> | |
31515 | <param name="dc" type="DC" default=""/> | |
31516 | <param name="x" type="double" default=""/> | |
31517 | <param name="y" type="double" default=""/> | |
31518 | <param name="old_x" type="double" default=""/> | |
31519 | <param name="old_y" type="double" default=""/> | |
31520 | <param name="display" type="bool" default="True"/> | |
31521 | </paramlist> | |
31522 | </method> | |
31523 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
31524 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
31525 | <paramlist> | |
31526 | <param name="draw" type="bool" default=""/> | |
31527 | <param name="x" type="double" default=""/> | |
31528 | <param name="y" type="double" default=""/> | |
31529 | <param name="keys" type="int" default="0"/> | |
31530 | <param name="attachment" type="int" default="0"/> | |
31531 | </paramlist> | |
31532 | </method> | |
31533 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
31534 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31535 | <paramlist> | |
31536 | <param name="x" type="double" default=""/> | |
31537 | <param name="y" type="double" default=""/> | |
31538 | <param name="keys" type="int" default="0"/> | |
31539 | <param name="attachment" type="int" default="0"/> | |
31540 | </paramlist> | |
31541 | </method> | |
31542 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
31543 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31544 | <paramlist> | |
31545 | <param name="x" type="double" default=""/> | |
31546 | <param name="y" type="double" default=""/> | |
31547 | <param name="keys" type="int" default="0"/> | |
31548 | <param name="attachment" type="int" default="0"/> | |
31549 | </paramlist> | |
31550 | </method> | |
31551 | <method name="base_OnDragRight" type="" overloaded="no"> | |
31552 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
31553 | <paramlist> | |
31554 | <param name="draw" type="bool" default=""/> | |
31555 | <param name="x" type="double" default=""/> | |
31556 | <param name="y" type="double" default=""/> | |
31557 | <param name="keys" type="int" default="0"/> | |
31558 | <param name="attachment" type="int" default="0"/> | |
31559 | </paramlist> | |
31560 | </method> | |
31561 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
31562 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31563 | <paramlist> | |
31564 | <param name="x" type="double" default=""/> | |
31565 | <param name="y" type="double" default=""/> | |
31566 | <param name="keys" type="int" default="0"/> | |
31567 | <param name="attachment" type="int" default="0"/> | |
31568 | </paramlist> | |
31569 | </method> | |
31570 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
31571 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31572 | <paramlist> | |
31573 | <param name="x" type="double" default=""/> | |
31574 | <param name="y" type="double" default=""/> | |
31575 | <param name="keys" type="int" default="0"/> | |
31576 | <param name="attachment" type="int" default="0"/> | |
31577 | </paramlist> | |
31578 | </method> | |
31579 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
31580 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
31581 | <paramlist> | |
31582 | <param name="dc" type="DC" default=""/> | |
31583 | <param name="x" type="double" default=""/> | |
31584 | <param name="y" type="double" default=""/> | |
31585 | <param name="w" type="double" default=""/> | |
31586 | <param name="h" type="double" default=""/> | |
31587 | </paramlist> | |
31588 | </method> | |
31589 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
31590 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
31591 | <paramlist> | |
31592 | <param name="dc" type="DC" default=""/> | |
31593 | </paramlist> | |
31594 | </method> | |
31595 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
31596 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
31597 | <paramlist> | |
31598 | <param name="dc" type="DC" default=""/> | |
31599 | </paramlist> | |
31600 | </method> | |
31601 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
31602 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
31603 | <paramlist> | |
31604 | <param name="dc" type="DC" default=""/> | |
31605 | <param name="moveControlPoints" type="bool" default="True"/> | |
31606 | </paramlist> | |
31607 | </method> | |
31608 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
31609 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
31610 | int attachment=0)</autodoc> | |
31611 | <paramlist> | |
31612 | <param name="pt" type="PyControlPoint" default=""/> | |
31613 | <param name="draw" type="bool" default=""/> | |
31614 | <param name="x" type="double" default=""/> | |
31615 | <param name="y" type="double" default=""/> | |
31616 | <param name="keys" type="int" default="0"/> | |
31617 | <param name="attachment" type="int" default="0"/> | |
31618 | </paramlist> | |
31619 | </method> | |
31620 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
31621 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
31622 | int attachment=0)</autodoc> | |
31623 | <paramlist> | |
31624 | <param name="pt" type="PyControlPoint" default=""/> | |
31625 | <param name="x" type="double" default=""/> | |
31626 | <param name="y" type="double" default=""/> | |
31627 | <param name="keys" type="int" default="0"/> | |
31628 | <param name="attachment" type="int" default="0"/> | |
31629 | </paramlist> | |
31630 | </method> | |
31631 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
31632 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
31633 | int attachment=0)</autodoc> | |
31634 | <paramlist> | |
31635 | <param name="pt" type="PyControlPoint" default=""/> | |
31636 | <param name="x" type="double" default=""/> | |
31637 | <param name="y" type="double" default=""/> | |
31638 | <param name="keys" type="int" default="0"/> | |
31639 | <param name="attachment" type="int" default="0"/> | |
31640 | </paramlist> | |
31641 | </method> | |
31642 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
31643 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
31644 | <paramlist> | |
31645 | <param name="w" type="double" default=""/> | |
31646 | <param name="h" type="double" default=""/> | |
31647 | </paramlist> | |
31648 | </method> | |
31649 | <method name="base_OnEndSize" type="" overloaded="no"> | |
31650 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
31651 | <paramlist> | |
31652 | <param name="w" type="double" default=""/> | |
31653 | <param name="h" type="double" default=""/> | |
31654 | </paramlist> | |
31655 | </method> | |
31656 | </class> | |
31657 | <class name="OGLConstraint" oldname="wxOGLConstraint" module="ogl"> | |
31658 | <baseclass name="Object"/> | |
31659 | <constructor name="OGLConstraint" overloaded="no"> | |
31660 | <autodoc>__init__(int type, PyShape constraining, PyObject constrained) -> OGLConstraint</autodoc> | |
31661 | <paramlist> | |
31662 | <param name="type" type="int" default=""/> | |
31663 | <param name="constraining" type="PyShape" default=""/> | |
31664 | <param name="constrained" type="PyObject" default=""/> | |
31665 | </paramlist> | |
31666 | </constructor> | |
31667 | <method name="Evaluate" type="bool" overloaded="no"> | |
31668 | <autodoc>Evaluate() -> bool</autodoc> | |
31669 | </method> | |
31670 | <method name="SetSpacing" type="" overloaded="no"> | |
31671 | <autodoc>SetSpacing(double x, double y)</autodoc> | |
31672 | <paramlist> | |
31673 | <param name="x" type="double" default=""/> | |
31674 | <param name="y" type="double" default=""/> | |
31675 | </paramlist> | |
31676 | </method> | |
31677 | <method name="Equals" type="bool" overloaded="no"> | |
31678 | <autodoc>Equals(double a, double b) -> bool</autodoc> | |
31679 | <paramlist> | |
31680 | <param name="a" type="double" default=""/> | |
31681 | <param name="b" type="double" default=""/> | |
31682 | </paramlist> | |
31683 | </method> | |
31684 | </class> | |
31685 | <class name="PyCompositeShape" oldname="wxPyCompositeShape" module="ogl"> | |
31686 | <baseclass name="PyRectangleShape"/> | |
31687 | <constructor name="PyCompositeShape" overloaded="no"> | |
31688 | <autodoc>__init__() -> PyCompositeShape</autodoc> | |
31689 | </constructor> | |
31690 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
31691 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
31692 | <paramlist> | |
31693 | <param name="self" type="PyObject" default=""/> | |
31694 | <param name="_class" type="PyObject" default=""/> | |
31695 | </paramlist> | |
31696 | </method> | |
31697 | <method name="AddChild" type="" overloaded="no"> | |
31698 | <autodoc>AddChild(PyShape child, PyShape addAfter=None)</autodoc> | |
31699 | <paramlist> | |
31700 | <param name="child" type="PyShape" default=""/> | |
31701 | <param name="addAfter" type="PyShape" default="NULL"/> | |
31702 | </paramlist> | |
31703 | </method> | |
31704 | <method name="AddConstraint" type="OGLConstraint" overloaded="no"> | |
31705 | <autodoc>AddConstraint(OGLConstraint constraint) -> OGLConstraint</autodoc> | |
31706 | <paramlist> | |
31707 | <param name="constraint" type="OGLConstraint" default=""/> | |
31708 | </paramlist> | |
31709 | </method> | |
31710 | <method name="AddConstrainedShapes" type="OGLConstraint" overloaded="no"> | |
31711 | <autodoc>AddConstrainedShapes(int type, PyShape constraining, PyObject constrained) -> OGLConstraint</autodoc> | |
31712 | <paramlist> | |
31713 | <param name="type" type="int" default=""/> | |
31714 | <param name="constraining" type="PyShape" default=""/> | |
31715 | <param name="constrained" type="PyObject" default=""/> | |
31716 | </paramlist> | |
31717 | </method> | |
31718 | <method name="AddSimpleConstraint" type="OGLConstraint" overloaded="no"> | |
31719 | <autodoc>AddSimpleConstraint(int type, PyShape constraining, PyShape constrained) -> OGLConstraint</autodoc> | |
31720 | <paramlist> | |
31721 | <param name="type" type="int" default=""/> | |
31722 | <param name="constraining" type="PyShape" default=""/> | |
31723 | <param name="constrained" type="PyShape" default=""/> | |
31724 | </paramlist> | |
31725 | </method> | |
31726 | <method name="CalculateSize" type="" overloaded="no"> | |
31727 | <autodoc>CalculateSize()</autodoc> | |
31728 | </method> | |
31729 | <method name="ContainsDivision" type="bool" overloaded="no"> | |
31730 | <autodoc>ContainsDivision(PyDivisionShape division) -> bool</autodoc> | |
31731 | <paramlist> | |
31732 | <param name="division" type="wxPyDivisionShape" default=""/> | |
31733 | </paramlist> | |
31734 | </method> | |
31735 | <method name="DeleteConstraint" type="" overloaded="no"> | |
31736 | <autodoc>DeleteConstraint(OGLConstraint constraint)</autodoc> | |
31737 | <paramlist> | |
31738 | <param name="constraint" type="OGLConstraint" default=""/> | |
31739 | </paramlist> | |
31740 | </method> | |
31741 | <method name="DeleteConstraintsInvolvingChild" type="" overloaded="no"> | |
31742 | <autodoc>DeleteConstraintsInvolvingChild(PyShape child)</autodoc> | |
31743 | <paramlist> | |
31744 | <param name="child" type="PyShape" default=""/> | |
31745 | </paramlist> | |
31746 | </method> | |
31747 | <method name="FindContainerImage" type="PyShape" overloaded="no"> | |
31748 | <autodoc>FindContainerImage() -> PyShape</autodoc> | |
31749 | </method> | |
31750 | <method name="GetConstraints" type="PyObject" overloaded="no"> | |
31751 | <autodoc>GetConstraints() -> PyObject</autodoc> | |
31752 | </method> | |
31753 | <method name="GetDivisions" type="PyObject" overloaded="no"> | |
31754 | <autodoc>GetDivisions() -> PyObject</autodoc> | |
31755 | </method> | |
31756 | <method name="MakeContainer" type="" overloaded="no"> | |
31757 | <autodoc>MakeContainer()</autodoc> | |
31758 | </method> | |
31759 | <method name="Recompute" type="bool" overloaded="no"> | |
31760 | <autodoc>Recompute() -> bool</autodoc> | |
31761 | </method> | |
31762 | <method name="RemoveChild" type="" overloaded="no"> | |
31763 | <autodoc>RemoveChild(PyShape child)</autodoc> | |
31764 | <paramlist> | |
31765 | <param name="child" type="PyShape" default=""/> | |
31766 | </paramlist> | |
31767 | </method> | |
31768 | <method name="base_OnDelete" type="" overloaded="no"> | |
31769 | <autodoc>base_OnDelete()</autodoc> | |
31770 | </method> | |
31771 | <method name="base_OnDraw" type="" overloaded="no"> | |
31772 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
31773 | <paramlist> | |
31774 | <param name="dc" type="DC" default=""/> | |
31775 | </paramlist> | |
31776 | </method> | |
31777 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
31778 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
31779 | <paramlist> | |
31780 | <param name="dc" type="DC" default=""/> | |
31781 | </paramlist> | |
31782 | </method> | |
31783 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
31784 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
31785 | <paramlist> | |
31786 | <param name="dc" type="DC" default=""/> | |
31787 | <param name="erase" type="bool" default="FALSE"/> | |
31788 | </paramlist> | |
31789 | </method> | |
31790 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
31791 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
31792 | <paramlist> | |
31793 | <param name="dc" type="DC" default=""/> | |
31794 | </paramlist> | |
31795 | </method> | |
31796 | <method name="base_OnErase" type="" overloaded="no"> | |
31797 | <autodoc>base_OnErase(DC dc)</autodoc> | |
31798 | <paramlist> | |
31799 | <param name="dc" type="DC" default=""/> | |
31800 | </paramlist> | |
31801 | </method> | |
31802 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
31803 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
31804 | <paramlist> | |
31805 | <param name="dc" type="DC" default=""/> | |
31806 | </paramlist> | |
31807 | </method> | |
31808 | <method name="base_OnHighlight" type="" overloaded="no"> | |
31809 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
31810 | <paramlist> | |
31811 | <param name="dc" type="DC" default=""/> | |
31812 | </paramlist> | |
31813 | </method> | |
31814 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
31815 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31816 | <paramlist> | |
31817 | <param name="x" type="double" default=""/> | |
31818 | <param name="y" type="double" default=""/> | |
31819 | <param name="keys" type="int" default="0"/> | |
31820 | <param name="attachment" type="int" default="0"/> | |
31821 | </paramlist> | |
31822 | </method> | |
31823 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
31824 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31825 | <paramlist> | |
31826 | <param name="x" type="double" default=""/> | |
31827 | <param name="y" type="double" default=""/> | |
31828 | <param name="keys" type="int" default="0"/> | |
31829 | <param name="attachment" type="int" default="0"/> | |
31830 | </paramlist> | |
31831 | </method> | |
31832 | <method name="base_OnRightClick" type="" overloaded="no"> | |
31833 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31834 | <paramlist> | |
31835 | <param name="x" type="double" default=""/> | |
31836 | <param name="y" type="double" default=""/> | |
31837 | <param name="keys" type="int" default="0"/> | |
31838 | <param name="attachment" type="int" default="0"/> | |
31839 | </paramlist> | |
31840 | </method> | |
31841 | <method name="base_OnSize" type="" overloaded="no"> | |
31842 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
31843 | <paramlist> | |
31844 | <param name="x" type="double" default=""/> | |
31845 | <param name="y" type="double" default=""/> | |
31846 | </paramlist> | |
31847 | </method> | |
31848 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
31849 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
31850 | bool display=True) -> bool</autodoc> | |
31851 | <paramlist> | |
31852 | <param name="dc" type="DC" default=""/> | |
31853 | <param name="x" type="double" default=""/> | |
31854 | <param name="y" type="double" default=""/> | |
31855 | <param name="old_x" type="double" default=""/> | |
31856 | <param name="old_y" type="double" default=""/> | |
31857 | <param name="display" type="bool" default="True"/> | |
31858 | </paramlist> | |
31859 | </method> | |
31860 | <method name="base_OnMovePost" type="" overloaded="no"> | |
31861 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
31862 | bool display=True)</autodoc> | |
31863 | <paramlist> | |
31864 | <param name="dc" type="DC" default=""/> | |
31865 | <param name="x" type="double" default=""/> | |
31866 | <param name="y" type="double" default=""/> | |
31867 | <param name="old_x" type="double" default=""/> | |
31868 | <param name="old_y" type="double" default=""/> | |
31869 | <param name="display" type="bool" default="True"/> | |
31870 | </paramlist> | |
31871 | </method> | |
31872 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
31873 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
31874 | <paramlist> | |
31875 | <param name="draw" type="bool" default=""/> | |
31876 | <param name="x" type="double" default=""/> | |
31877 | <param name="y" type="double" default=""/> | |
31878 | <param name="keys" type="int" default="0"/> | |
31879 | <param name="attachment" type="int" default="0"/> | |
31880 | </paramlist> | |
31881 | </method> | |
31882 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
31883 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31884 | <paramlist> | |
31885 | <param name="x" type="double" default=""/> | |
31886 | <param name="y" type="double" default=""/> | |
31887 | <param name="keys" type="int" default="0"/> | |
31888 | <param name="attachment" type="int" default="0"/> | |
31889 | </paramlist> | |
31890 | </method> | |
31891 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
31892 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31893 | <paramlist> | |
31894 | <param name="x" type="double" default=""/> | |
31895 | <param name="y" type="double" default=""/> | |
31896 | <param name="keys" type="int" default="0"/> | |
31897 | <param name="attachment" type="int" default="0"/> | |
31898 | </paramlist> | |
31899 | </method> | |
31900 | <method name="base_OnDragRight" type="" overloaded="no"> | |
31901 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
31902 | <paramlist> | |
31903 | <param name="draw" type="bool" default=""/> | |
31904 | <param name="x" type="double" default=""/> | |
31905 | <param name="y" type="double" default=""/> | |
31906 | <param name="keys" type="int" default="0"/> | |
31907 | <param name="attachment" type="int" default="0"/> | |
31908 | </paramlist> | |
31909 | </method> | |
31910 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
31911 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31912 | <paramlist> | |
31913 | <param name="x" type="double" default=""/> | |
31914 | <param name="y" type="double" default=""/> | |
31915 | <param name="keys" type="int" default="0"/> | |
31916 | <param name="attachment" type="int" default="0"/> | |
31917 | </paramlist> | |
31918 | </method> | |
31919 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
31920 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31921 | <paramlist> | |
31922 | <param name="x" type="double" default=""/> | |
31923 | <param name="y" type="double" default=""/> | |
31924 | <param name="keys" type="int" default="0"/> | |
31925 | <param name="attachment" type="int" default="0"/> | |
31926 | </paramlist> | |
31927 | </method> | |
31928 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
31929 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
31930 | <paramlist> | |
31931 | <param name="dc" type="DC" default=""/> | |
31932 | <param name="x" type="double" default=""/> | |
31933 | <param name="y" type="double" default=""/> | |
31934 | <param name="w" type="double" default=""/> | |
31935 | <param name="h" type="double" default=""/> | |
31936 | </paramlist> | |
31937 | </method> | |
31938 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
31939 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
31940 | <paramlist> | |
31941 | <param name="dc" type="DC" default=""/> | |
31942 | </paramlist> | |
31943 | </method> | |
31944 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
31945 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
31946 | <paramlist> | |
31947 | <param name="dc" type="DC" default=""/> | |
31948 | </paramlist> | |
31949 | </method> | |
31950 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
31951 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
31952 | <paramlist> | |
31953 | <param name="dc" type="DC" default=""/> | |
31954 | <param name="moveControlPoints" type="bool" default="True"/> | |
31955 | </paramlist> | |
31956 | </method> | |
31957 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
31958 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
31959 | int attachment=0)</autodoc> | |
31960 | <paramlist> | |
31961 | <param name="pt" type="PyControlPoint" default=""/> | |
31962 | <param name="draw" type="bool" default=""/> | |
31963 | <param name="x" type="double" default=""/> | |
31964 | <param name="y" type="double" default=""/> | |
31965 | <param name="keys" type="int" default="0"/> | |
31966 | <param name="attachment" type="int" default="0"/> | |
31967 | </paramlist> | |
31968 | </method> | |
31969 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
31970 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
31971 | int attachment=0)</autodoc> | |
31972 | <paramlist> | |
31973 | <param name="pt" type="PyControlPoint" default=""/> | |
31974 | <param name="x" type="double" default=""/> | |
31975 | <param name="y" type="double" default=""/> | |
31976 | <param name="keys" type="int" default="0"/> | |
31977 | <param name="attachment" type="int" default="0"/> | |
31978 | </paramlist> | |
31979 | </method> | |
31980 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
31981 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
31982 | int attachment=0)</autodoc> | |
31983 | <paramlist> | |
31984 | <param name="pt" type="PyControlPoint" default=""/> | |
31985 | <param name="x" type="double" default=""/> | |
31986 | <param name="y" type="double" default=""/> | |
31987 | <param name="keys" type="int" default="0"/> | |
31988 | <param name="attachment" type="int" default="0"/> | |
31989 | </paramlist> | |
31990 | </method> | |
31991 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
31992 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
31993 | <paramlist> | |
31994 | <param name="w" type="double" default=""/> | |
31995 | <param name="h" type="double" default=""/> | |
31996 | </paramlist> | |
31997 | </method> | |
31998 | <method name="base_OnEndSize" type="" overloaded="no"> | |
31999 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
32000 | <paramlist> | |
32001 | <param name="w" type="double" default=""/> | |
32002 | <param name="h" type="double" default=""/> | |
32003 | </paramlist> | |
32004 | </method> | |
32005 | </class> | |
32006 | <class name="PyDividedShape" oldname="wxPyDividedShape" module="ogl"> | |
32007 | <baseclass name="PyRectangleShape"/> | |
32008 | <constructor name="PyDividedShape" overloaded="no"> | |
32009 | <autodoc>__init__(double width=0.0, double height=0.0) -> PyDividedShape</autodoc> | |
32010 | <paramlist> | |
32011 | <param name="width" type="double" default="0.0"/> | |
32012 | <param name="height" type="double" default="0.0"/> | |
32013 | </paramlist> | |
32014 | </constructor> | |
32015 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
32016 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
32017 | <paramlist> | |
32018 | <param name="self" type="PyObject" default=""/> | |
32019 | <param name="_class" type="PyObject" default=""/> | |
32020 | </paramlist> | |
32021 | </method> | |
32022 | <method name="EditRegions" type="" overloaded="no"> | |
32023 | <autodoc>EditRegions()</autodoc> | |
32024 | </method> | |
32025 | <method name="SetRegionSizes" type="" overloaded="no"> | |
32026 | <autodoc>SetRegionSizes()</autodoc> | |
32027 | </method> | |
32028 | <method name="base_OnDelete" type="" overloaded="no"> | |
32029 | <autodoc>base_OnDelete()</autodoc> | |
32030 | </method> | |
32031 | <method name="base_OnDraw" type="" overloaded="no"> | |
32032 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
32033 | <paramlist> | |
32034 | <param name="dc" type="DC" default=""/> | |
32035 | </paramlist> | |
32036 | </method> | |
32037 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
32038 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
32039 | <paramlist> | |
32040 | <param name="dc" type="DC" default=""/> | |
32041 | </paramlist> | |
32042 | </method> | |
32043 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
32044 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
32045 | <paramlist> | |
32046 | <param name="dc" type="DC" default=""/> | |
32047 | <param name="erase" type="bool" default="FALSE"/> | |
32048 | </paramlist> | |
32049 | </method> | |
32050 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
32051 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
32052 | <paramlist> | |
32053 | <param name="dc" type="DC" default=""/> | |
32054 | </paramlist> | |
32055 | </method> | |
32056 | <method name="base_OnErase" type="" overloaded="no"> | |
32057 | <autodoc>base_OnErase(DC dc)</autodoc> | |
32058 | <paramlist> | |
32059 | <param name="dc" type="DC" default=""/> | |
32060 | </paramlist> | |
32061 | </method> | |
32062 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
32063 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
32064 | <paramlist> | |
32065 | <param name="dc" type="DC" default=""/> | |
32066 | </paramlist> | |
32067 | </method> | |
32068 | <method name="base_OnHighlight" type="" overloaded="no"> | |
32069 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
32070 | <paramlist> | |
32071 | <param name="dc" type="DC" default=""/> | |
32072 | </paramlist> | |
32073 | </method> | |
32074 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
32075 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32076 | <paramlist> | |
32077 | <param name="x" type="double" default=""/> | |
32078 | <param name="y" type="double" default=""/> | |
32079 | <param name="keys" type="int" default="0"/> | |
32080 | <param name="attachment" type="int" default="0"/> | |
32081 | </paramlist> | |
32082 | </method> | |
32083 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
32084 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32085 | <paramlist> | |
32086 | <param name="x" type="double" default=""/> | |
32087 | <param name="y" type="double" default=""/> | |
32088 | <param name="keys" type="int" default="0"/> | |
32089 | <param name="attachment" type="int" default="0"/> | |
32090 | </paramlist> | |
32091 | </method> | |
32092 | <method name="base_OnRightClick" type="" overloaded="no"> | |
32093 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32094 | <paramlist> | |
32095 | <param name="x" type="double" default=""/> | |
32096 | <param name="y" type="double" default=""/> | |
32097 | <param name="keys" type="int" default="0"/> | |
32098 | <param name="attachment" type="int" default="0"/> | |
32099 | </paramlist> | |
32100 | </method> | |
32101 | <method name="base_OnSize" type="" overloaded="no"> | |
32102 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
32103 | <paramlist> | |
32104 | <param name="x" type="double" default=""/> | |
32105 | <param name="y" type="double" default=""/> | |
32106 | </paramlist> | |
32107 | </method> | |
32108 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
32109 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
32110 | bool display=True) -> bool</autodoc> | |
32111 | <paramlist> | |
32112 | <param name="dc" type="DC" default=""/> | |
32113 | <param name="x" type="double" default=""/> | |
32114 | <param name="y" type="double" default=""/> | |
32115 | <param name="old_x" type="double" default=""/> | |
32116 | <param name="old_y" type="double" default=""/> | |
32117 | <param name="display" type="bool" default="True"/> | |
32118 | </paramlist> | |
32119 | </method> | |
32120 | <method name="base_OnMovePost" type="" overloaded="no"> | |
32121 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
32122 | bool display=True)</autodoc> | |
32123 | <paramlist> | |
32124 | <param name="dc" type="DC" default=""/> | |
32125 | <param name="x" type="double" default=""/> | |
32126 | <param name="y" type="double" default=""/> | |
32127 | <param name="old_x" type="double" default=""/> | |
32128 | <param name="old_y" type="double" default=""/> | |
32129 | <param name="display" type="bool" default="True"/> | |
32130 | </paramlist> | |
32131 | </method> | |
32132 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
32133 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
32134 | <paramlist> | |
32135 | <param name="draw" type="bool" default=""/> | |
32136 | <param name="x" type="double" default=""/> | |
32137 | <param name="y" type="double" default=""/> | |
32138 | <param name="keys" type="int" default="0"/> | |
32139 | <param name="attachment" type="int" default="0"/> | |
32140 | </paramlist> | |
32141 | </method> | |
32142 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
32143 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32144 | <paramlist> | |
32145 | <param name="x" type="double" default=""/> | |
32146 | <param name="y" type="double" default=""/> | |
32147 | <param name="keys" type="int" default="0"/> | |
32148 | <param name="attachment" type="int" default="0"/> | |
32149 | </paramlist> | |
32150 | </method> | |
32151 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
32152 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32153 | <paramlist> | |
32154 | <param name="x" type="double" default=""/> | |
32155 | <param name="y" type="double" default=""/> | |
32156 | <param name="keys" type="int" default="0"/> | |
32157 | <param name="attachment" type="int" default="0"/> | |
32158 | </paramlist> | |
32159 | </method> | |
32160 | <method name="base_OnDragRight" type="" overloaded="no"> | |
32161 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
32162 | <paramlist> | |
32163 | <param name="draw" type="bool" default=""/> | |
32164 | <param name="x" type="double" default=""/> | |
32165 | <param name="y" type="double" default=""/> | |
32166 | <param name="keys" type="int" default="0"/> | |
32167 | <param name="attachment" type="int" default="0"/> | |
32168 | </paramlist> | |
32169 | </method> | |
32170 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
32171 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32172 | <paramlist> | |
32173 | <param name="x" type="double" default=""/> | |
32174 | <param name="y" type="double" default=""/> | |
32175 | <param name="keys" type="int" default="0"/> | |
32176 | <param name="attachment" type="int" default="0"/> | |
32177 | </paramlist> | |
32178 | </method> | |
32179 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
32180 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32181 | <paramlist> | |
32182 | <param name="x" type="double" default=""/> | |
32183 | <param name="y" type="double" default=""/> | |
32184 | <param name="keys" type="int" default="0"/> | |
32185 | <param name="attachment" type="int" default="0"/> | |
32186 | </paramlist> | |
32187 | </method> | |
32188 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
32189 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
32190 | <paramlist> | |
32191 | <param name="dc" type="DC" default=""/> | |
32192 | <param name="x" type="double" default=""/> | |
32193 | <param name="y" type="double" default=""/> | |
32194 | <param name="w" type="double" default=""/> | |
32195 | <param name="h" type="double" default=""/> | |
32196 | </paramlist> | |
32197 | </method> | |
32198 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
32199 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
32200 | <paramlist> | |
32201 | <param name="dc" type="DC" default=""/> | |
32202 | </paramlist> | |
32203 | </method> | |
32204 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
32205 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
32206 | <paramlist> | |
32207 | <param name="dc" type="DC" default=""/> | |
32208 | </paramlist> | |
32209 | </method> | |
32210 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
32211 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
32212 | <paramlist> | |
32213 | <param name="dc" type="DC" default=""/> | |
32214 | <param name="moveControlPoints" type="bool" default="True"/> | |
32215 | </paramlist> | |
32216 | </method> | |
32217 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
32218 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
32219 | int attachment=0)</autodoc> | |
32220 | <paramlist> | |
32221 | <param name="pt" type="PyControlPoint" default=""/> | |
32222 | <param name="draw" type="bool" default=""/> | |
32223 | <param name="x" type="double" default=""/> | |
32224 | <param name="y" type="double" default=""/> | |
32225 | <param name="keys" type="int" default="0"/> | |
32226 | <param name="attachment" type="int" default="0"/> | |
32227 | </paramlist> | |
32228 | </method> | |
32229 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
32230 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
32231 | int attachment=0)</autodoc> | |
32232 | <paramlist> | |
32233 | <param name="pt" type="PyControlPoint" default=""/> | |
32234 | <param name="x" type="double" default=""/> | |
32235 | <param name="y" type="double" default=""/> | |
32236 | <param name="keys" type="int" default="0"/> | |
32237 | <param name="attachment" type="int" default="0"/> | |
32238 | </paramlist> | |
32239 | </method> | |
32240 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
32241 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
32242 | int attachment=0)</autodoc> | |
32243 | <paramlist> | |
32244 | <param name="pt" type="PyControlPoint" default=""/> | |
32245 | <param name="x" type="double" default=""/> | |
32246 | <param name="y" type="double" default=""/> | |
32247 | <param name="keys" type="int" default="0"/> | |
32248 | <param name="attachment" type="int" default="0"/> | |
32249 | </paramlist> | |
32250 | </method> | |
32251 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
32252 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
32253 | <paramlist> | |
32254 | <param name="w" type="double" default=""/> | |
32255 | <param name="h" type="double" default=""/> | |
32256 | </paramlist> | |
32257 | </method> | |
32258 | <method name="base_OnEndSize" type="" overloaded="no"> | |
32259 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
32260 | <paramlist> | |
32261 | <param name="w" type="double" default=""/> | |
32262 | <param name="h" type="double" default=""/> | |
32263 | </paramlist> | |
32264 | </method> | |
32265 | </class> | |
32266 | <class name="PyDivisionShape" oldname="wxPyDivisionShape" module="ogl"> | |
32267 | <baseclass name="PyCompositeShape"/> | |
32268 | <constructor name="PyDivisionShape" overloaded="no"> | |
32269 | <autodoc>__init__() -> PyDivisionShape</autodoc> | |
32270 | </constructor> | |
32271 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
32272 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
32273 | <paramlist> | |
32274 | <param name="self" type="PyObject" default=""/> | |
32275 | <param name="_class" type="PyObject" default=""/> | |
32276 | </paramlist> | |
32277 | </method> | |
32278 | <method name="AdjustBottom" type="" overloaded="no"> | |
32279 | <autodoc>AdjustBottom(double bottom, bool test)</autodoc> | |
32280 | <paramlist> | |
32281 | <param name="bottom" type="double" default=""/> | |
32282 | <param name="test" type="bool" default=""/> | |
32283 | </paramlist> | |
32284 | </method> | |
32285 | <method name="AdjustLeft" type="" overloaded="no"> | |
32286 | <autodoc>AdjustLeft(double left, bool test)</autodoc> | |
32287 | <paramlist> | |
32288 | <param name="left" type="double" default=""/> | |
32289 | <param name="test" type="bool" default=""/> | |
32290 | </paramlist> | |
32291 | </method> | |
32292 | <method name="AdjustRight" type="" overloaded="no"> | |
32293 | <autodoc>AdjustRight(double right, bool test)</autodoc> | |
32294 | <paramlist> | |
32295 | <param name="right" type="double" default=""/> | |
32296 | <param name="test" type="bool" default=""/> | |
32297 | </paramlist> | |
32298 | </method> | |
32299 | <method name="AdjustTop" type="" overloaded="no"> | |
32300 | <autodoc>AdjustTop(double top, bool test)</autodoc> | |
32301 | <paramlist> | |
32302 | <param name="top" type="double" default=""/> | |
32303 | <param name="test" type="bool" default=""/> | |
32304 | </paramlist> | |
32305 | </method> | |
32306 | <method name="Divide" type="" overloaded="no"> | |
32307 | <autodoc>Divide(int direction)</autodoc> | |
32308 | <paramlist> | |
32309 | <param name="direction" type="int" default=""/> | |
32310 | </paramlist> | |
32311 | </method> | |
32312 | <method name="EditEdge" type="" overloaded="no"> | |
32313 | <autodoc>EditEdge(int side)</autodoc> | |
32314 | <paramlist> | |
32315 | <param name="side" type="int" default=""/> | |
32316 | </paramlist> | |
32317 | </method> | |
32318 | <method name="GetBottomSide" type="PyDivisionShape" overloaded="no"> | |
32319 | <autodoc>GetBottomSide() -> PyDivisionShape</autodoc> | |
32320 | </method> | |
32321 | <method name="GetHandleSide" type="int" overloaded="no"> | |
32322 | <autodoc>GetHandleSide() -> int</autodoc> | |
32323 | </method> | |
32324 | <method name="GetLeftSide" type="PyDivisionShape" overloaded="no"> | |
32325 | <autodoc>GetLeftSide() -> PyDivisionShape</autodoc> | |
32326 | </method> | |
32327 | <method name="GetLeftSideColour" type="String" overloaded="no"> | |
32328 | <autodoc>GetLeftSideColour() -> String</autodoc> | |
32329 | </method> | |
32330 | <method name="GetLeftSidePen" type="Pen" overloaded="no"> | |
32331 | <autodoc>GetLeftSidePen() -> wxPen</autodoc> | |
32332 | </method> | |
32333 | <method name="GetRightSide" type="PyDivisionShape" overloaded="no"> | |
32334 | <autodoc>GetRightSide() -> PyDivisionShape</autodoc> | |
32335 | </method> | |
32336 | <method name="GetTopSide" type="PyDivisionShape" overloaded="no"> | |
32337 | <autodoc>GetTopSide() -> PyDivisionShape</autodoc> | |
32338 | </method> | |
32339 | <method name="GetTopSidePen" type="Pen" overloaded="no"> | |
32340 | <autodoc>GetTopSidePen() -> wxPen</autodoc> | |
32341 | </method> | |
32342 | <method name="ResizeAdjoining" type="" overloaded="no"> | |
32343 | <autodoc>ResizeAdjoining(int side, double newPos, bool test)</autodoc> | |
32344 | <paramlist> | |
32345 | <param name="side" type="int" default=""/> | |
32346 | <param name="newPos" type="double" default=""/> | |
32347 | <param name="test" type="bool" default=""/> | |
32348 | </paramlist> | |
32349 | </method> | |
32350 | <method name="PopupMenu" type="" overloaded="no"> | |
32351 | <autodoc>PopupMenu(double x, double y)</autodoc> | |
32352 | <paramlist> | |
32353 | <param name="x" type="double" default=""/> | |
32354 | <param name="y" type="double" default=""/> | |
32355 | </paramlist> | |
32356 | </method> | |
32357 | <method name="SetBottomSide" type="" overloaded="no"> | |
32358 | <autodoc>SetBottomSide(PyDivisionShape shape)</autodoc> | |
32359 | <paramlist> | |
32360 | <param name="shape" type="PyDivisionShape" default=""/> | |
32361 | </paramlist> | |
32362 | </method> | |
32363 | <method name="SetHandleSide" type="" overloaded="no"> | |
32364 | <autodoc>SetHandleSide(int side)</autodoc> | |
32365 | <paramlist> | |
32366 | <param name="side" type="int" default=""/> | |
32367 | </paramlist> | |
32368 | </method> | |
32369 | <method name="SetLeftSide" type="" overloaded="no"> | |
32370 | <autodoc>SetLeftSide(PyDivisionShape shape)</autodoc> | |
32371 | <paramlist> | |
32372 | <param name="shape" type="PyDivisionShape" default=""/> | |
32373 | </paramlist> | |
32374 | </method> | |
32375 | <method name="SetLeftSideColour" type="" overloaded="no"> | |
32376 | <autodoc>SetLeftSideColour(String colour)</autodoc> | |
32377 | <paramlist> | |
32378 | <param name="colour" type="String" default=""/> | |
32379 | </paramlist> | |
32380 | </method> | |
32381 | <method name="SetLeftSidePen" type="" overloaded="no"> | |
32382 | <autodoc>SetLeftSidePen(wxPen pen)</autodoc> | |
32383 | <paramlist> | |
32384 | <param name="pen" type="Pen" default=""/> | |
32385 | </paramlist> | |
32386 | </method> | |
32387 | <method name="SetRightSide" type="" overloaded="no"> | |
32388 | <autodoc>SetRightSide(PyDivisionShape shape)</autodoc> | |
32389 | <paramlist> | |
32390 | <param name="shape" type="PyDivisionShape" default=""/> | |
32391 | </paramlist> | |
32392 | </method> | |
32393 | <method name="SetTopSide" type="" overloaded="no"> | |
32394 | <autodoc>SetTopSide(PyDivisionShape shape)</autodoc> | |
32395 | <paramlist> | |
32396 | <param name="shape" type="PyDivisionShape" default=""/> | |
32397 | </paramlist> | |
32398 | </method> | |
32399 | <method name="SetTopSideColour" type="" overloaded="no"> | |
32400 | <autodoc>SetTopSideColour(String colour)</autodoc> | |
32401 | <paramlist> | |
32402 | <param name="colour" type="String" default=""/> | |
32403 | </paramlist> | |
32404 | </method> | |
32405 | <method name="SetTopSidePen" type="" overloaded="no"> | |
32406 | <autodoc>SetTopSidePen(wxPen pen)</autodoc> | |
32407 | <paramlist> | |
32408 | <param name="pen" type="Pen" default=""/> | |
32409 | </paramlist> | |
32410 | </method> | |
32411 | <method name="base_OnDelete" type="" overloaded="no"> | |
32412 | <autodoc>base_OnDelete()</autodoc> | |
32413 | </method> | |
32414 | <method name="base_OnDraw" type="" overloaded="no"> | |
32415 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
32416 | <paramlist> | |
32417 | <param name="dc" type="DC" default=""/> | |
32418 | </paramlist> | |
32419 | </method> | |
32420 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
32421 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
32422 | <paramlist> | |
32423 | <param name="dc" type="DC" default=""/> | |
32424 | </paramlist> | |
32425 | </method> | |
32426 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
32427 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
32428 | <paramlist> | |
32429 | <param name="dc" type="DC" default=""/> | |
32430 | <param name="erase" type="bool" default="FALSE"/> | |
32431 | </paramlist> | |
32432 | </method> | |
32433 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
32434 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
32435 | <paramlist> | |
32436 | <param name="dc" type="DC" default=""/> | |
32437 | </paramlist> | |
32438 | </method> | |
32439 | <method name="base_OnErase" type="" overloaded="no"> | |
32440 | <autodoc>base_OnErase(DC dc)</autodoc> | |
32441 | <paramlist> | |
32442 | <param name="dc" type="DC" default=""/> | |
32443 | </paramlist> | |
32444 | </method> | |
32445 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
32446 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
32447 | <paramlist> | |
32448 | <param name="dc" type="DC" default=""/> | |
32449 | </paramlist> | |
32450 | </method> | |
32451 | <method name="base_OnHighlight" type="" overloaded="no"> | |
32452 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
32453 | <paramlist> | |
32454 | <param name="dc" type="DC" default=""/> | |
32455 | </paramlist> | |
32456 | </method> | |
32457 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
32458 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32459 | <paramlist> | |
32460 | <param name="x" type="double" default=""/> | |
32461 | <param name="y" type="double" default=""/> | |
32462 | <param name="keys" type="int" default="0"/> | |
32463 | <param name="attachment" type="int" default="0"/> | |
32464 | </paramlist> | |
32465 | </method> | |
32466 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
32467 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32468 | <paramlist> | |
32469 | <param name="x" type="double" default=""/> | |
32470 | <param name="y" type="double" default=""/> | |
32471 | <param name="keys" type="int" default="0"/> | |
32472 | <param name="attachment" type="int" default="0"/> | |
32473 | </paramlist> | |
32474 | </method> | |
32475 | <method name="base_OnRightClick" type="" overloaded="no"> | |
32476 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32477 | <paramlist> | |
32478 | <param name="x" type="double" default=""/> | |
32479 | <param name="y" type="double" default=""/> | |
32480 | <param name="keys" type="int" default="0"/> | |
32481 | <param name="attachment" type="int" default="0"/> | |
32482 | </paramlist> | |
32483 | </method> | |
32484 | <method name="base_OnSize" type="" overloaded="no"> | |
32485 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
32486 | <paramlist> | |
32487 | <param name="x" type="double" default=""/> | |
32488 | <param name="y" type="double" default=""/> | |
32489 | </paramlist> | |
32490 | </method> | |
32491 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
32492 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
32493 | bool display=True) -> bool</autodoc> | |
32494 | <paramlist> | |
32495 | <param name="dc" type="DC" default=""/> | |
32496 | <param name="x" type="double" default=""/> | |
32497 | <param name="y" type="double" default=""/> | |
32498 | <param name="old_x" type="double" default=""/> | |
32499 | <param name="old_y" type="double" default=""/> | |
32500 | <param name="display" type="bool" default="True"/> | |
32501 | </paramlist> | |
32502 | </method> | |
32503 | <method name="base_OnMovePost" type="" overloaded="no"> | |
32504 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
32505 | bool display=True)</autodoc> | |
32506 | <paramlist> | |
32507 | <param name="dc" type="DC" default=""/> | |
32508 | <param name="x" type="double" default=""/> | |
32509 | <param name="y" type="double" default=""/> | |
32510 | <param name="old_x" type="double" default=""/> | |
32511 | <param name="old_y" type="double" default=""/> | |
32512 | <param name="display" type="bool" default="True"/> | |
32513 | </paramlist> | |
32514 | </method> | |
32515 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
32516 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
32517 | <paramlist> | |
32518 | <param name="draw" type="bool" default=""/> | |
32519 | <param name="x" type="double" default=""/> | |
32520 | <param name="y" type="double" default=""/> | |
32521 | <param name="keys" type="int" default="0"/> | |
32522 | <param name="attachment" type="int" default="0"/> | |
32523 | </paramlist> | |
32524 | </method> | |
32525 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
32526 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32527 | <paramlist> | |
32528 | <param name="x" type="double" default=""/> | |
32529 | <param name="y" type="double" default=""/> | |
32530 | <param name="keys" type="int" default="0"/> | |
32531 | <param name="attachment" type="int" default="0"/> | |
32532 | </paramlist> | |
32533 | </method> | |
32534 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
32535 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32536 | <paramlist> | |
32537 | <param name="x" type="double" default=""/> | |
32538 | <param name="y" type="double" default=""/> | |
32539 | <param name="keys" type="int" default="0"/> | |
32540 | <param name="attachment" type="int" default="0"/> | |
32541 | </paramlist> | |
32542 | </method> | |
32543 | <method name="base_OnDragRight" type="" overloaded="no"> | |
32544 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
32545 | <paramlist> | |
32546 | <param name="draw" type="bool" default=""/> | |
32547 | <param name="x" type="double" default=""/> | |
32548 | <param name="y" type="double" default=""/> | |
32549 | <param name="keys" type="int" default="0"/> | |
32550 | <param name="attachment" type="int" default="0"/> | |
32551 | </paramlist> | |
32552 | </method> | |
32553 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
32554 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32555 | <paramlist> | |
32556 | <param name="x" type="double" default=""/> | |
32557 | <param name="y" type="double" default=""/> | |
32558 | <param name="keys" type="int" default="0"/> | |
32559 | <param name="attachment" type="int" default="0"/> | |
32560 | </paramlist> | |
32561 | </method> | |
32562 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
32563 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32564 | <paramlist> | |
32565 | <param name="x" type="double" default=""/> | |
32566 | <param name="y" type="double" default=""/> | |
32567 | <param name="keys" type="int" default="0"/> | |
32568 | <param name="attachment" type="int" default="0"/> | |
32569 | </paramlist> | |
32570 | </method> | |
32571 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
32572 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
32573 | <paramlist> | |
32574 | <param name="dc" type="DC" default=""/> | |
32575 | <param name="x" type="double" default=""/> | |
32576 | <param name="y" type="double" default=""/> | |
32577 | <param name="w" type="double" default=""/> | |
32578 | <param name="h" type="double" default=""/> | |
32579 | </paramlist> | |
32580 | </method> | |
32581 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
32582 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
32583 | <paramlist> | |
32584 | <param name="dc" type="DC" default=""/> | |
32585 | </paramlist> | |
32586 | </method> | |
32587 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
32588 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
32589 | <paramlist> | |
32590 | <param name="dc" type="DC" default=""/> | |
32591 | </paramlist> | |
32592 | </method> | |
32593 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
32594 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
32595 | <paramlist> | |
32596 | <param name="dc" type="DC" default=""/> | |
32597 | <param name="moveControlPoints" type="bool" default="True"/> | |
32598 | </paramlist> | |
32599 | </method> | |
32600 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
32601 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
32602 | int attachment=0)</autodoc> | |
32603 | <paramlist> | |
32604 | <param name="pt" type="PyControlPoint" default=""/> | |
32605 | <param name="draw" type="bool" default=""/> | |
32606 | <param name="x" type="double" default=""/> | |
32607 | <param name="y" type="double" default=""/> | |
32608 | <param name="keys" type="int" default="0"/> | |
32609 | <param name="attachment" type="int" default="0"/> | |
32610 | </paramlist> | |
32611 | </method> | |
32612 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
32613 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
32614 | int attachment=0)</autodoc> | |
32615 | <paramlist> | |
32616 | <param name="pt" type="PyControlPoint" default=""/> | |
32617 | <param name="x" type="double" default=""/> | |
32618 | <param name="y" type="double" default=""/> | |
32619 | <param name="keys" type="int" default="0"/> | |
32620 | <param name="attachment" type="int" default="0"/> | |
32621 | </paramlist> | |
32622 | </method> | |
32623 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
32624 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
32625 | int attachment=0)</autodoc> | |
32626 | <paramlist> | |
32627 | <param name="pt" type="PyControlPoint" default=""/> | |
32628 | <param name="x" type="double" default=""/> | |
32629 | <param name="y" type="double" default=""/> | |
32630 | <param name="keys" type="int" default="0"/> | |
32631 | <param name="attachment" type="int" default="0"/> | |
32632 | </paramlist> | |
32633 | </method> | |
32634 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
32635 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
32636 | <paramlist> | |
32637 | <param name="w" type="double" default=""/> | |
32638 | <param name="h" type="double" default=""/> | |
32639 | </paramlist> | |
32640 | </method> | |
32641 | <method name="base_OnEndSize" type="" overloaded="no"> | |
32642 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
32643 | <paramlist> | |
32644 | <param name="w" type="double" default=""/> | |
32645 | <param name="h" type="double" default=""/> | |
32646 | </paramlist> | |
32647 | </method> | |
32648 | </class> | |
32649 | <class name="PyEllipseShape" oldname="wxPyEllipseShape" module="ogl"> | |
32650 | <baseclass name="PyShape"/> | |
32651 | <constructor name="PyEllipseShape" overloaded="no"> | |
32652 | <autodoc>__init__(double width=0.0, double height=0.0) -> PyEllipseShape</autodoc> | |
32653 | <paramlist> | |
32654 | <param name="width" type="double" default="0.0"/> | |
32655 | <param name="height" type="double" default="0.0"/> | |
32656 | </paramlist> | |
32657 | </constructor> | |
32658 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
32659 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
32660 | <paramlist> | |
32661 | <param name="self" type="PyObject" default=""/> | |
32662 | <param name="_class" type="PyObject" default=""/> | |
32663 | </paramlist> | |
32664 | </method> | |
32665 | <method name="base_OnDraw" type="" overloaded="no"> | |
32666 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
32667 | <paramlist> | |
32668 | <param name="dc" type="DC" default=""/> | |
32669 | </paramlist> | |
32670 | </method> | |
32671 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
32672 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
32673 | <paramlist> | |
32674 | <param name="dc" type="DC" default=""/> | |
32675 | </paramlist> | |
32676 | </method> | |
32677 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
32678 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
32679 | <paramlist> | |
32680 | <param name="dc" type="DC" default=""/> | |
32681 | <param name="erase" type="bool" default="FALSE"/> | |
32682 | </paramlist> | |
32683 | </method> | |
32684 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
32685 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
32686 | <paramlist> | |
32687 | <param name="dc" type="DC" default=""/> | |
32688 | </paramlist> | |
32689 | </method> | |
32690 | <method name="base_OnErase" type="" overloaded="no"> | |
32691 | <autodoc>base_OnErase(DC dc)</autodoc> | |
32692 | <paramlist> | |
32693 | <param name="dc" type="DC" default=""/> | |
32694 | </paramlist> | |
32695 | </method> | |
32696 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
32697 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
32698 | <paramlist> | |
32699 | <param name="dc" type="DC" default=""/> | |
32700 | </paramlist> | |
32701 | </method> | |
32702 | <method name="base_OnHighlight" type="" overloaded="no"> | |
32703 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
32704 | <paramlist> | |
32705 | <param name="dc" type="DC" default=""/> | |
32706 | </paramlist> | |
32707 | </method> | |
32708 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
32709 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32710 | <paramlist> | |
32711 | <param name="x" type="double" default=""/> | |
32712 | <param name="y" type="double" default=""/> | |
32713 | <param name="keys" type="int" default="0"/> | |
32714 | <param name="attachment" type="int" default="0"/> | |
32715 | </paramlist> | |
32716 | </method> | |
32717 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
32718 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32719 | <paramlist> | |
32720 | <param name="x" type="double" default=""/> | |
32721 | <param name="y" type="double" default=""/> | |
32722 | <param name="keys" type="int" default="0"/> | |
32723 | <param name="attachment" type="int" default="0"/> | |
32724 | </paramlist> | |
32725 | </method> | |
32726 | <method name="base_OnRightClick" type="" overloaded="no"> | |
32727 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32728 | <paramlist> | |
32729 | <param name="x" type="double" default=""/> | |
32730 | <param name="y" type="double" default=""/> | |
32731 | <param name="keys" type="int" default="0"/> | |
32732 | <param name="attachment" type="int" default="0"/> | |
32733 | </paramlist> | |
32734 | </method> | |
32735 | <method name="base_OnSize" type="" overloaded="no"> | |
32736 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
32737 | <paramlist> | |
32738 | <param name="x" type="double" default=""/> | |
32739 | <param name="y" type="double" default=""/> | |
32740 | </paramlist> | |
32741 | </method> | |
32742 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
32743 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
32744 | bool display=True) -> bool</autodoc> | |
32745 | <paramlist> | |
32746 | <param name="dc" type="DC" default=""/> | |
32747 | <param name="x" type="double" default=""/> | |
32748 | <param name="y" type="double" default=""/> | |
32749 | <param name="old_x" type="double" default=""/> | |
32750 | <param name="old_y" type="double" default=""/> | |
32751 | <param name="display" type="bool" default="True"/> | |
32752 | </paramlist> | |
32753 | </method> | |
32754 | <method name="base_OnMovePost" type="" overloaded="no"> | |
32755 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
32756 | bool display=True)</autodoc> | |
32757 | <paramlist> | |
32758 | <param name="dc" type="DC" default=""/> | |
32759 | <param name="x" type="double" default=""/> | |
32760 | <param name="y" type="double" default=""/> | |
32761 | <param name="old_x" type="double" default=""/> | |
32762 | <param name="old_y" type="double" default=""/> | |
32763 | <param name="display" type="bool" default="True"/> | |
32764 | </paramlist> | |
32765 | </method> | |
32766 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
32767 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
32768 | <paramlist> | |
32769 | <param name="draw" type="bool" default=""/> | |
32770 | <param name="x" type="double" default=""/> | |
32771 | <param name="y" type="double" default=""/> | |
32772 | <param name="keys" type="int" default="0"/> | |
32773 | <param name="attachment" type="int" default="0"/> | |
32774 | </paramlist> | |
32775 | </method> | |
32776 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
32777 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32778 | <paramlist> | |
32779 | <param name="x" type="double" default=""/> | |
32780 | <param name="y" type="double" default=""/> | |
32781 | <param name="keys" type="int" default="0"/> | |
32782 | <param name="attachment" type="int" default="0"/> | |
32783 | </paramlist> | |
32784 | </method> | |
32785 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
32786 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32787 | <paramlist> | |
32788 | <param name="x" type="double" default=""/> | |
32789 | <param name="y" type="double" default=""/> | |
32790 | <param name="keys" type="int" default="0"/> | |
32791 | <param name="attachment" type="int" default="0"/> | |
32792 | </paramlist> | |
32793 | </method> | |
32794 | <method name="base_OnDragRight" type="" overloaded="no"> | |
32795 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
32796 | <paramlist> | |
32797 | <param name="draw" type="bool" default=""/> | |
32798 | <param name="x" type="double" default=""/> | |
32799 | <param name="y" type="double" default=""/> | |
32800 | <param name="keys" type="int" default="0"/> | |
32801 | <param name="attachment" type="int" default="0"/> | |
32802 | </paramlist> | |
32803 | </method> | |
32804 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
32805 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32806 | <paramlist> | |
32807 | <param name="x" type="double" default=""/> | |
32808 | <param name="y" type="double" default=""/> | |
32809 | <param name="keys" type="int" default="0"/> | |
32810 | <param name="attachment" type="int" default="0"/> | |
32811 | </paramlist> | |
32812 | </method> | |
32813 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
32814 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32815 | <paramlist> | |
32816 | <param name="x" type="double" default=""/> | |
32817 | <param name="y" type="double" default=""/> | |
32818 | <param name="keys" type="int" default="0"/> | |
32819 | <param name="attachment" type="int" default="0"/> | |
32820 | </paramlist> | |
32821 | </method> | |
32822 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
32823 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
32824 | <paramlist> | |
32825 | <param name="dc" type="DC" default=""/> | |
32826 | <param name="x" type="double" default=""/> | |
32827 | <param name="y" type="double" default=""/> | |
32828 | <param name="w" type="double" default=""/> | |
32829 | <param name="h" type="double" default=""/> | |
32830 | </paramlist> | |
32831 | </method> | |
32832 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
32833 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
32834 | <paramlist> | |
32835 | <param name="dc" type="DC" default=""/> | |
32836 | </paramlist> | |
32837 | </method> | |
32838 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
32839 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
32840 | <paramlist> | |
32841 | <param name="dc" type="DC" default=""/> | |
32842 | </paramlist> | |
32843 | </method> | |
32844 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
32845 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
32846 | <paramlist> | |
32847 | <param name="dc" type="DC" default=""/> | |
32848 | <param name="moveControlPoints" type="bool" default="True"/> | |
32849 | </paramlist> | |
32850 | </method> | |
32851 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
32852 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
32853 | int attachment=0)</autodoc> | |
32854 | <paramlist> | |
32855 | <param name="pt" type="PyControlPoint" default=""/> | |
32856 | <param name="draw" type="bool" default=""/> | |
32857 | <param name="x" type="double" default=""/> | |
32858 | <param name="y" type="double" default=""/> | |
32859 | <param name="keys" type="int" default="0"/> | |
32860 | <param name="attachment" type="int" default="0"/> | |
32861 | </paramlist> | |
32862 | </method> | |
32863 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
32864 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
32865 | int attachment=0)</autodoc> | |
32866 | <paramlist> | |
32867 | <param name="pt" type="PyControlPoint" default=""/> | |
32868 | <param name="x" type="double" default=""/> | |
32869 | <param name="y" type="double" default=""/> | |
32870 | <param name="keys" type="int" default="0"/> | |
32871 | <param name="attachment" type="int" default="0"/> | |
32872 | </paramlist> | |
32873 | </method> | |
32874 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
32875 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
32876 | int attachment=0)</autodoc> | |
32877 | <paramlist> | |
32878 | <param name="pt" type="PyControlPoint" default=""/> | |
32879 | <param name="x" type="double" default=""/> | |
32880 | <param name="y" type="double" default=""/> | |
32881 | <param name="keys" type="int" default="0"/> | |
32882 | <param name="attachment" type="int" default="0"/> | |
32883 | </paramlist> | |
32884 | </method> | |
32885 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
32886 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
32887 | <paramlist> | |
32888 | <param name="w" type="double" default=""/> | |
32889 | <param name="h" type="double" default=""/> | |
32890 | </paramlist> | |
32891 | </method> | |
32892 | <method name="base_OnEndSize" type="" overloaded="no"> | |
32893 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
32894 | <paramlist> | |
32895 | <param name="w" type="double" default=""/> | |
32896 | <param name="h" type="double" default=""/> | |
32897 | </paramlist> | |
32898 | </method> | |
32899 | </class> | |
32900 | <class name="PyCircleShape" oldname="wxPyCircleShape" module="ogl"> | |
32901 | <baseclass name="PyEllipseShape"/> | |
32902 | <constructor name="PyCircleShape" overloaded="no"> | |
32903 | <autodoc>__init__(double width=0.0) -> PyCircleShape</autodoc> | |
32904 | <paramlist> | |
32905 | <param name="width" type="double" default="0.0"/> | |
32906 | </paramlist> | |
32907 | </constructor> | |
32908 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
32909 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
32910 | <paramlist> | |
32911 | <param name="self" type="PyObject" default=""/> | |
32912 | <param name="_class" type="PyObject" default=""/> | |
32913 | </paramlist> | |
32914 | </method> | |
32915 | <method name="base_OnDraw" type="" overloaded="no"> | |
32916 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
32917 | <paramlist> | |
32918 | <param name="dc" type="DC" default=""/> | |
32919 | </paramlist> | |
32920 | </method> | |
32921 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
32922 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
32923 | <paramlist> | |
32924 | <param name="dc" type="DC" default=""/> | |
32925 | </paramlist> | |
32926 | </method> | |
32927 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
32928 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
32929 | <paramlist> | |
32930 | <param name="dc" type="DC" default=""/> | |
32931 | <param name="erase" type="bool" default="FALSE"/> | |
32932 | </paramlist> | |
32933 | </method> | |
32934 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
32935 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
32936 | <paramlist> | |
32937 | <param name="dc" type="DC" default=""/> | |
32938 | </paramlist> | |
32939 | </method> | |
32940 | <method name="base_OnErase" type="" overloaded="no"> | |
32941 | <autodoc>base_OnErase(DC dc)</autodoc> | |
32942 | <paramlist> | |
32943 | <param name="dc" type="DC" default=""/> | |
32944 | </paramlist> | |
32945 | </method> | |
32946 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
32947 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
32948 | <paramlist> | |
32949 | <param name="dc" type="DC" default=""/> | |
32950 | </paramlist> | |
32951 | </method> | |
32952 | <method name="base_OnHighlight" type="" overloaded="no"> | |
32953 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
32954 | <paramlist> | |
32955 | <param name="dc" type="DC" default=""/> | |
32956 | </paramlist> | |
32957 | </method> | |
32958 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
32959 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32960 | <paramlist> | |
32961 | <param name="x" type="double" default=""/> | |
32962 | <param name="y" type="double" default=""/> | |
32963 | <param name="keys" type="int" default="0"/> | |
32964 | <param name="attachment" type="int" default="0"/> | |
32965 | </paramlist> | |
32966 | </method> | |
32967 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
32968 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32969 | <paramlist> | |
32970 | <param name="x" type="double" default=""/> | |
32971 | <param name="y" type="double" default=""/> | |
32972 | <param name="keys" type="int" default="0"/> | |
32973 | <param name="attachment" type="int" default="0"/> | |
32974 | </paramlist> | |
32975 | </method> | |
32976 | <method name="base_OnRightClick" type="" overloaded="no"> | |
32977 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32978 | <paramlist> | |
32979 | <param name="x" type="double" default=""/> | |
32980 | <param name="y" type="double" default=""/> | |
32981 | <param name="keys" type="int" default="0"/> | |
32982 | <param name="attachment" type="int" default="0"/> | |
32983 | </paramlist> | |
32984 | </method> | |
32985 | <method name="base_OnSize" type="" overloaded="no"> | |
32986 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
32987 | <paramlist> | |
32988 | <param name="x" type="double" default=""/> | |
32989 | <param name="y" type="double" default=""/> | |
32990 | </paramlist> | |
32991 | </method> | |
32992 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
32993 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
32994 | bool display=True) -> bool</autodoc> | |
32995 | <paramlist> | |
32996 | <param name="dc" type="DC" default=""/> | |
32997 | <param name="x" type="double" default=""/> | |
32998 | <param name="y" type="double" default=""/> | |
32999 | <param name="old_x" type="double" default=""/> | |
33000 | <param name="old_y" type="double" default=""/> | |
33001 | <param name="display" type="bool" default="True"/> | |
33002 | </paramlist> | |
33003 | </method> | |
33004 | <method name="base_OnMovePost" type="" overloaded="no"> | |
33005 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
33006 | bool display=True)</autodoc> | |
33007 | <paramlist> | |
33008 | <param name="dc" type="DC" default=""/> | |
33009 | <param name="x" type="double" default=""/> | |
33010 | <param name="y" type="double" default=""/> | |
33011 | <param name="old_x" type="double" default=""/> | |
33012 | <param name="old_y" type="double" default=""/> | |
33013 | <param name="display" type="bool" default="True"/> | |
33014 | </paramlist> | |
33015 | </method> | |
33016 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
33017 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
33018 | <paramlist> | |
33019 | <param name="draw" type="bool" default=""/> | |
33020 | <param name="x" type="double" default=""/> | |
33021 | <param name="y" type="double" default=""/> | |
33022 | <param name="keys" type="int" default="0"/> | |
33023 | <param name="attachment" type="int" default="0"/> | |
33024 | </paramlist> | |
33025 | </method> | |
33026 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
33027 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33028 | <paramlist> | |
33029 | <param name="x" type="double" default=""/> | |
33030 | <param name="y" type="double" default=""/> | |
33031 | <param name="keys" type="int" default="0"/> | |
33032 | <param name="attachment" type="int" default="0"/> | |
33033 | </paramlist> | |
33034 | </method> | |
33035 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
33036 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33037 | <paramlist> | |
33038 | <param name="x" type="double" default=""/> | |
33039 | <param name="y" type="double" default=""/> | |
33040 | <param name="keys" type="int" default="0"/> | |
33041 | <param name="attachment" type="int" default="0"/> | |
33042 | </paramlist> | |
33043 | </method> | |
33044 | <method name="base_OnDragRight" type="" overloaded="no"> | |
33045 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
33046 | <paramlist> | |
33047 | <param name="draw" type="bool" default=""/> | |
33048 | <param name="x" type="double" default=""/> | |
33049 | <param name="y" type="double" default=""/> | |
33050 | <param name="keys" type="int" default="0"/> | |
33051 | <param name="attachment" type="int" default="0"/> | |
33052 | </paramlist> | |
33053 | </method> | |
33054 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
33055 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33056 | <paramlist> | |
33057 | <param name="x" type="double" default=""/> | |
33058 | <param name="y" type="double" default=""/> | |
33059 | <param name="keys" type="int" default="0"/> | |
33060 | <param name="attachment" type="int" default="0"/> | |
33061 | </paramlist> | |
33062 | </method> | |
33063 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
33064 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33065 | <paramlist> | |
33066 | <param name="x" type="double" default=""/> | |
33067 | <param name="y" type="double" default=""/> | |
33068 | <param name="keys" type="int" default="0"/> | |
33069 | <param name="attachment" type="int" default="0"/> | |
33070 | </paramlist> | |
33071 | </method> | |
33072 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
33073 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
33074 | <paramlist> | |
33075 | <param name="dc" type="DC" default=""/> | |
33076 | <param name="x" type="double" default=""/> | |
33077 | <param name="y" type="double" default=""/> | |
33078 | <param name="w" type="double" default=""/> | |
33079 | <param name="h" type="double" default=""/> | |
33080 | </paramlist> | |
33081 | </method> | |
33082 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
33083 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
33084 | <paramlist> | |
33085 | <param name="dc" type="DC" default=""/> | |
33086 | </paramlist> | |
33087 | </method> | |
33088 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
33089 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
33090 | <paramlist> | |
33091 | <param name="dc" type="DC" default=""/> | |
33092 | </paramlist> | |
33093 | </method> | |
33094 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
33095 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
33096 | <paramlist> | |
33097 | <param name="dc" type="DC" default=""/> | |
33098 | <param name="moveControlPoints" type="bool" default="True"/> | |
33099 | </paramlist> | |
33100 | </method> | |
33101 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
33102 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
33103 | int attachment=0)</autodoc> | |
33104 | <paramlist> | |
33105 | <param name="pt" type="PyControlPoint" default=""/> | |
33106 | <param name="draw" type="bool" default=""/> | |
33107 | <param name="x" type="double" default=""/> | |
33108 | <param name="y" type="double" default=""/> | |
33109 | <param name="keys" type="int" default="0"/> | |
33110 | <param name="attachment" type="int" default="0"/> | |
33111 | </paramlist> | |
33112 | </method> | |
33113 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
33114 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
33115 | int attachment=0)</autodoc> | |
33116 | <paramlist> | |
33117 | <param name="pt" type="PyControlPoint" default=""/> | |
33118 | <param name="x" type="double" default=""/> | |
33119 | <param name="y" type="double" default=""/> | |
33120 | <param name="keys" type="int" default="0"/> | |
33121 | <param name="attachment" type="int" default="0"/> | |
33122 | </paramlist> | |
33123 | </method> | |
33124 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
33125 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
33126 | int attachment=0)</autodoc> | |
33127 | <paramlist> | |
33128 | <param name="pt" type="PyControlPoint" default=""/> | |
33129 | <param name="x" type="double" default=""/> | |
33130 | <param name="y" type="double" default=""/> | |
33131 | <param name="keys" type="int" default="0"/> | |
33132 | <param name="attachment" type="int" default="0"/> | |
33133 | </paramlist> | |
33134 | </method> | |
33135 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
33136 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
33137 | <paramlist> | |
33138 | <param name="w" type="double" default=""/> | |
33139 | <param name="h" type="double" default=""/> | |
33140 | </paramlist> | |
33141 | </method> | |
33142 | <method name="base_OnEndSize" type="" overloaded="no"> | |
33143 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
33144 | <paramlist> | |
33145 | <param name="w" type="double" default=""/> | |
33146 | <param name="h" type="double" default=""/> | |
33147 | </paramlist> | |
33148 | </method> | |
33149 | </class> | |
33150 | <class name="ArrowHead" oldname="wxArrowHead" module="ogl"> | |
33151 | <baseclass name="Object"/> | |
33152 | <constructor name="ArrowHead" overloaded="no"> | |
33153 | <autodoc>__init__(int type=0, int end=0, double size=0.0, double dist=0.0, | |
33154 | String name=EmptyString, PseudoMetaFile mf=None, | |
33155 | long arrowId=-1) -> ArrowHead</autodoc> | |
33156 | <paramlist> | |
33157 | <param name="type" type="int" default="0"/> | |
33158 | <param name="end" type="int" default="0"/> | |
33159 | <param name="size" type="double" default="0.0"/> | |
33160 | <param name="dist" type="double" default="0.0"/> | |
33161 | <param name="name" type="String" default="wxPyEmptyString"/> | |
33162 | <param name="mf" type="PseudoMetaFile" default="NULL"/> | |
33163 | <param name="arrowId" type="long" default="-1"/> | |
33164 | </paramlist> | |
33165 | </constructor> | |
33166 | <destructor name="~wxArrowHead" overloaded="no"> | |
33167 | <autodoc>__del__()</autodoc> | |
33168 | </destructor> | |
33169 | <method name="_GetType" type="int" overloaded="no"> | |
33170 | <autodoc>_GetType() -> int</autodoc> | |
33171 | </method> | |
33172 | <method name="GetPosition" type="int" overloaded="no"> | |
33173 | <autodoc>GetPosition() -> int</autodoc> | |
33174 | </method> | |
33175 | <method name="SetPosition" type="" overloaded="no"> | |
33176 | <autodoc>SetPosition(int pos)</autodoc> | |
33177 | <paramlist> | |
33178 | <param name="pos" type="int" default=""/> | |
33179 | </paramlist> | |
33180 | </method> | |
33181 | <method name="GetXOffset" type="double" overloaded="no"> | |
33182 | <autodoc>GetXOffset() -> double</autodoc> | |
33183 | </method> | |
33184 | <method name="GetYOffset" type="double" overloaded="no"> | |
33185 | <autodoc>GetYOffset() -> double</autodoc> | |
33186 | </method> | |
33187 | <method name="GetSpacing" type="double" overloaded="no"> | |
33188 | <autodoc>GetSpacing() -> double</autodoc> | |
33189 | </method> | |
33190 | <method name="GetSize" type="double" overloaded="no"> | |
33191 | <autodoc>GetSize() -> double</autodoc> | |
33192 | </method> | |
33193 | <method name="GetName" type="String" overloaded="no"> | |
33194 | <autodoc>GetName() -> String</autodoc> | |
33195 | </method> | |
33196 | <method name="SetXOffset" type="" overloaded="no"> | |
33197 | <autodoc>SetXOffset(double x)</autodoc> | |
33198 | <paramlist> | |
33199 | <param name="x" type="double" default=""/> | |
33200 | </paramlist> | |
33201 | </method> | |
33202 | <method name="SetYOffset" type="" overloaded="no"> | |
33203 | <autodoc>SetYOffset(double y)</autodoc> | |
33204 | <paramlist> | |
33205 | <param name="y" type="double" default=""/> | |
33206 | </paramlist> | |
33207 | </method> | |
33208 | <method name="GetMetaFile" type="PseudoMetaFile" overloaded="no"> | |
33209 | <autodoc>GetMetaFile() -> PseudoMetaFile</autodoc> | |
33210 | </method> | |
33211 | <method name="GetId" type="long" overloaded="no"> | |
33212 | <autodoc>GetId() -> long</autodoc> | |
33213 | </method> | |
33214 | <method name="GetArrowEnd" type="int" overloaded="no"> | |
33215 | <autodoc>GetArrowEnd() -> int</autodoc> | |
33216 | </method> | |
33217 | <method name="GetArrowSize" type="double" overloaded="no"> | |
33218 | <autodoc>GetArrowSize() -> double</autodoc> | |
33219 | </method> | |
33220 | <method name="SetSize" type="" overloaded="no"> | |
33221 | <autodoc>SetSize(double size)</autodoc> | |
33222 | <paramlist> | |
33223 | <param name="size" type="double" default=""/> | |
33224 | </paramlist> | |
33225 | </method> | |
33226 | <method name="SetSpacing" type="" overloaded="no"> | |
33227 | <autodoc>SetSpacing(double sp)</autodoc> | |
33228 | <paramlist> | |
33229 | <param name="sp" type="double" default=""/> | |
33230 | </paramlist> | |
33231 | </method> | |
33232 | </class> | |
33233 | <class name="PyLineShape" oldname="wxPyLineShape" module="ogl"> | |
33234 | <baseclass name="PyShape"/> | |
33235 | <constructor name="PyLineShape" overloaded="no"> | |
33236 | <autodoc>__init__() -> PyLineShape</autodoc> | |
33237 | </constructor> | |
33238 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
33239 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
33240 | <paramlist> | |
33241 | <param name="self" type="PyObject" default=""/> | |
33242 | <param name="_class" type="PyObject" default=""/> | |
33243 | </paramlist> | |
33244 | </method> | |
33245 | <method name="AddArrow" type="" overloaded="no"> | |
33246 | <autodoc>AddArrow(int type, int end=ARROW_POSITION_END, double arrowSize=10.0, | |
33247 | double xOffset=0.0, String name=EmptyString, | |
33248 | PseudoMetaFile mf=None, long arrowId=-1)</autodoc> | |
33249 | <paramlist> | |
33250 | <param name="type" type="int" default=""/> | |
33251 | <param name="end" type="int" default="ARROW_POSITION_END"/> | |
33252 | <param name="arrowSize" type="double" default="10.0"/> | |
33253 | <param name="xOffset" type="double" default="0.0"/> | |
33254 | <param name="name" type="String" default="wxPyEmptyString"/> | |
33255 | <param name="mf" type="PseudoMetaFile" default="NULL"/> | |
33256 | <param name="arrowId" type="long" default="-1"/> | |
33257 | </paramlist> | |
33258 | </method> | |
33259 | <method name="AddArrowOrdered" type="" overloaded="no"> | |
33260 | <autodoc>AddArrowOrdered(ArrowHead arrow, PyObject referenceList, int end)</autodoc> | |
33261 | <paramlist> | |
33262 | <param name="arrow" type="ArrowHead" default=""/> | |
33263 | <param name="referenceList" type="PyObject" default=""/> | |
33264 | <param name="end" type="int" default=""/> | |
33265 | </paramlist> | |
33266 | </method> | |
33267 | <method name="ClearArrow" type="bool" overloaded="no"> | |
33268 | <autodoc>ClearArrow(String name) -> bool</autodoc> | |
33269 | <paramlist> | |
33270 | <param name="name" type="String" default=""/> | |
33271 | </paramlist> | |
33272 | </method> | |
33273 | <method name="ClearArrowsAtPosition" type="" overloaded="no"> | |
33274 | <autodoc>ClearArrowsAtPosition(int position=-1)</autodoc> | |
33275 | <paramlist> | |
33276 | <param name="position" type="int" default="-1"/> | |
33277 | </paramlist> | |
33278 | </method> | |
33279 | <method name="DrawArrow" type="" overloaded="no"> | |
33280 | <autodoc>DrawArrow(DC dc, ArrowHead arrow, double xOffset, bool proportionalOffset)</autodoc> | |
33281 | <paramlist> | |
33282 | <param name="dc" type="DC" default=""/> | |
33283 | <param name="arrow" type="ArrowHead" default=""/> | |
33284 | <param name="xOffset" type="double" default=""/> | |
33285 | <param name="proportionalOffset" type="bool" default=""/> | |
33286 | </paramlist> | |
33287 | </method> | |
33288 | <method name="DeleteArrowHeadId" type="bool" overloaded="no"> | |
33289 | <autodoc>DeleteArrowHeadId(long arrowId) -> bool</autodoc> | |
33290 | <paramlist> | |
33291 | <param name="arrowId" type="long" default=""/> | |
33292 | </paramlist> | |
33293 | </method> | |
33294 | <method name="DeleteArrowHead" type="bool" overloaded="no"> | |
33295 | <autodoc>DeleteArrowHead(int position, String name) -> bool</autodoc> | |
33296 | <paramlist> | |
33297 | <param name="position" type="int" default=""/> | |
33298 | <param name="name" type="String" default=""/> | |
33299 | </paramlist> | |
33300 | </method> | |
33301 | <method name="DeleteLineControlPoint" type="bool" overloaded="no"> | |
33302 | <autodoc>DeleteLineControlPoint() -> bool</autodoc> | |
33303 | </method> | |
33304 | <method name="DrawArrows" type="" overloaded="no"> | |
33305 | <autodoc>DrawArrows(DC dc)</autodoc> | |
33306 | <paramlist> | |
33307 | <param name="dc" type="DC" default=""/> | |
33308 | </paramlist> | |
33309 | </method> | |
33310 | <method name="DrawRegion" type="" overloaded="no"> | |
33311 | <autodoc>DrawRegion(DC dc, ShapeRegion region, double x, double y)</autodoc> | |
33312 | <paramlist> | |
33313 | <param name="dc" type="DC" default=""/> | |
33314 | <param name="region" type="ShapeRegion" default=""/> | |
33315 | <param name="x" type="double" default=""/> | |
33316 | <param name="y" type="double" default=""/> | |
33317 | </paramlist> | |
33318 | </method> | |
33319 | <method name="EraseRegion" type="" overloaded="no"> | |
33320 | <autodoc>EraseRegion(DC dc, ShapeRegion region, double x, double y)</autodoc> | |
33321 | <paramlist> | |
33322 | <param name="dc" type="DC" default=""/> | |
33323 | <param name="region" type="ShapeRegion" default=""/> | |
33324 | <param name="x" type="double" default=""/> | |
33325 | <param name="y" type="double" default=""/> | |
33326 | </paramlist> | |
33327 | </method> | |
33328 | <method name="FindArrowHeadId" type="ArrowHead" overloaded="no"> | |
33329 | <autodoc>FindArrowHeadId(long arrowId) -> ArrowHead</autodoc> | |
33330 | <paramlist> | |
33331 | <param name="arrowId" type="long" default=""/> | |
33332 | </paramlist> | |
33333 | </method> | |
33334 | <method name="FindArrowHead" type="ArrowHead" overloaded="no"> | |
33335 | <autodoc>FindArrowHead(int position, String name) -> ArrowHead</autodoc> | |
33336 | <paramlist> | |
33337 | <param name="position" type="int" default=""/> | |
33338 | <param name="name" type="String" default=""/> | |
33339 | </paramlist> | |
33340 | </method> | |
33341 | <method name="FindLineEndPoints" type="" overloaded="no"> | |
33342 | <autodoc>FindLineEndPoints(double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)</autodoc> | |
33343 | <paramlist> | |
33344 | <param name="OUTPUT" type="double" default=""/> | |
33345 | <param name="OUTPUT" type="double" default=""/> | |
33346 | <param name="OUTPUT" type="double" default=""/> | |
33347 | <param name="OUTPUT" type="double" default=""/> | |
33348 | </paramlist> | |
33349 | </method> | |
33350 | <method name="FindLinePosition" type="int" overloaded="no"> | |
33351 | <autodoc>FindLinePosition(double x, double y) -> int</autodoc> | |
33352 | <paramlist> | |
33353 | <param name="x" type="double" default=""/> | |
33354 | <param name="y" type="double" default=""/> | |
33355 | </paramlist> | |
33356 | </method> | |
33357 | <method name="FindMinimumWidth" type="double" overloaded="no"> | |
33358 | <autodoc>FindMinimumWidth() -> double</autodoc> | |
33359 | </method> | |
33360 | <method name="FindNth" type="" overloaded="no"> | |
33361 | <autodoc>FindNth(PyShape image, int OUTPUT, int OUTPUT, bool incoming)</autodoc> | |
33362 | <paramlist> | |
33363 | <param name="image" type="PyShape" default=""/> | |
33364 | <param name="OUTPUT" type="int" default=""/> | |
33365 | <param name="OUTPUT" type="int" default=""/> | |
33366 | <param name="incoming" type="bool" default=""/> | |
33367 | </paramlist> | |
33368 | </method> | |
33369 | <method name="GetAttachmentFrom" type="int" overloaded="no"> | |
33370 | <autodoc>GetAttachmentFrom() -> int</autodoc> | |
33371 | </method> | |
33372 | <method name="GetAttachmentTo" type="int" overloaded="no"> | |
33373 | <autodoc>GetAttachmentTo() -> int</autodoc> | |
33374 | </method> | |
33375 | <method name="GetEnds" type="" overloaded="no"> | |
33376 | <autodoc>GetEnds(double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)</autodoc> | |
33377 | <paramlist> | |
33378 | <param name="OUTPUT" type="double" default=""/> | |
33379 | <param name="OUTPUT" type="double" default=""/> | |
33380 | <param name="OUTPUT" type="double" default=""/> | |
33381 | <param name="OUTPUT" type="double" default=""/> | |
33382 | </paramlist> | |
33383 | </method> | |
33384 | <method name="GetFrom" type="PyShape" overloaded="no"> | |
33385 | <autodoc>GetFrom() -> PyShape</autodoc> | |
33386 | </method> | |
33387 | <method name="GetLabelPosition" type="" overloaded="no"> | |
33388 | <autodoc>GetLabelPosition(int position, double OUTPUT, double OUTPUT)</autodoc> | |
33389 | <paramlist> | |
33390 | <param name="position" type="int" default=""/> | |
33391 | <param name="OUTPUT" type="double" default=""/> | |
33392 | <param name="OUTPUT" type="double" default=""/> | |
33393 | </paramlist> | |
33394 | </method> | |
33395 | <method name="GetNextControlPoint" type="RealPoint" overloaded="no"> | |
33396 | <autodoc>GetNextControlPoint(PyShape shape) -> RealPoint</autodoc> | |
33397 | <paramlist> | |
33398 | <param name="shape" type="PyShape" default=""/> | |
33399 | </paramlist> | |
33400 | </method> | |
33401 | <method name="GetTo" type="PyShape" overloaded="no"> | |
33402 | <autodoc>GetTo() -> PyShape</autodoc> | |
33403 | </method> | |
33404 | <method name="Initialise" type="" overloaded="no"> | |
33405 | <autodoc>Initialise()</autodoc> | |
33406 | </method> | |
33407 | <method name="InsertLineControlPoint" type="" overloaded="no"> | |
33408 | <autodoc>InsertLineControlPoint(DC dc)</autodoc> | |
33409 | <paramlist> | |
33410 | <param name="dc" type="DC" default=""/> | |
33411 | </paramlist> | |
33412 | </method> | |
33413 | <method name="IsEnd" type="bool" overloaded="no"> | |
33414 | <autodoc>IsEnd(PyShape shape) -> bool</autodoc> | |
33415 | <paramlist> | |
33416 | <param name="shape" type="PyShape" default=""/> | |
33417 | </paramlist> | |
33418 | </method> | |
33419 | <method name="IsSpline" type="bool" overloaded="no"> | |
33420 | <autodoc>IsSpline() -> bool</autodoc> | |
33421 | </method> | |
33422 | <method name="MakeLineControlPoints" type="" overloaded="no"> | |
33423 | <autodoc>MakeLineControlPoints(int n)</autodoc> | |
33424 | <paramlist> | |
33425 | <param name="n" type="int" default=""/> | |
33426 | </paramlist> | |
33427 | </method> | |
33428 | <method name="GetLineControlPoints" type="PyObject" overloaded="no"> | |
33429 | <autodoc>GetLineControlPoints() -> PyObject</autodoc> | |
33430 | </method> | |
33431 | <method name="SetAttachmentFrom" type="" overloaded="no"> | |
33432 | <autodoc>SetAttachmentFrom(int fromAttach)</autodoc> | |
33433 | <paramlist> | |
33434 | <param name="fromAttach" type="int" default=""/> | |
33435 | </paramlist> | |
33436 | </method> | |
33437 | <method name="SetAttachments" type="" overloaded="no"> | |
33438 | <autodoc>SetAttachments(int fromAttach, int toAttach)</autodoc> | |
33439 | <paramlist> | |
33440 | <param name="fromAttach" type="int" default=""/> | |
33441 | <param name="toAttach" type="int" default=""/> | |
33442 | </paramlist> | |
33443 | </method> | |
33444 | <method name="SetAttachmentTo" type="" overloaded="no"> | |
33445 | <autodoc>SetAttachmentTo(int toAttach)</autodoc> | |
33446 | <paramlist> | |
33447 | <param name="toAttach" type="int" default=""/> | |
33448 | </paramlist> | |
33449 | </method> | |
33450 | <method name="SetEnds" type="" overloaded="no"> | |
33451 | <autodoc>SetEnds(double x1, double y1, double x2, double y2)</autodoc> | |
33452 | <paramlist> | |
33453 | <param name="x1" type="double" default=""/> | |
33454 | <param name="y1" type="double" default=""/> | |
33455 | <param name="x2" type="double" default=""/> | |
33456 | <param name="y2" type="double" default=""/> | |
33457 | </paramlist> | |
33458 | </method> | |
33459 | <method name="SetFrom" type="" overloaded="no"> | |
33460 | <autodoc>SetFrom(PyShape object)</autodoc> | |
33461 | <paramlist> | |
33462 | <param name="object" type="PyShape" default=""/> | |
33463 | </paramlist> | |
33464 | </method> | |
33465 | <method name="SetIgnoreOffsets" type="" overloaded="no"> | |
33466 | <autodoc>SetIgnoreOffsets(bool ignore)</autodoc> | |
33467 | <paramlist> | |
33468 | <param name="ignore" type="bool" default=""/> | |
33469 | </paramlist> | |
33470 | </method> | |
33471 | <method name="SetSpline" type="" overloaded="no"> | |
33472 | <autodoc>SetSpline(bool spline)</autodoc> | |
33473 | <paramlist> | |
33474 | <param name="spline" type="bool" default=""/> | |
33475 | </paramlist> | |
33476 | </method> | |
33477 | <method name="SetTo" type="" overloaded="no"> | |
33478 | <autodoc>SetTo(PyShape object)</autodoc> | |
33479 | <paramlist> | |
33480 | <param name="object" type="PyShape" default=""/> | |
33481 | </paramlist> | |
33482 | </method> | |
33483 | <method name="Straighten" type="" overloaded="no"> | |
33484 | <autodoc>Straighten(DC dc=None)</autodoc> | |
33485 | <paramlist> | |
33486 | <param name="dc" type="DC" default="NULL"/> | |
33487 | </paramlist> | |
33488 | </method> | |
33489 | <method name="Unlink" type="" overloaded="no"> | |
33490 | <autodoc>Unlink()</autodoc> | |
33491 | </method> | |
33492 | <method name="SetAlignmentOrientation" type="" overloaded="no"> | |
33493 | <autodoc>SetAlignmentOrientation(bool isEnd, bool isHoriz)</autodoc> | |
33494 | <paramlist> | |
33495 | <param name="isEnd" type="bool" default=""/> | |
33496 | <param name="isHoriz" type="bool" default=""/> | |
33497 | </paramlist> | |
33498 | </method> | |
33499 | <method name="SetAlignmentType" type="" overloaded="no"> | |
33500 | <autodoc>SetAlignmentType(bool isEnd, int alignType)</autodoc> | |
33501 | <paramlist> | |
33502 | <param name="isEnd" type="bool" default=""/> | |
33503 | <param name="alignType" type="int" default=""/> | |
33504 | </paramlist> | |
33505 | </method> | |
33506 | <method name="GetAlignmentOrientation" type="bool" overloaded="no"> | |
33507 | <autodoc>GetAlignmentOrientation(bool isEnd) -> bool</autodoc> | |
33508 | <paramlist> | |
33509 | <param name="isEnd" type="bool" default=""/> | |
33510 | </paramlist> | |
33511 | </method> | |
33512 | <method name="GetAlignmentType" type="int" overloaded="no"> | |
33513 | <autodoc>GetAlignmentType(bool isEnd) -> int</autodoc> | |
33514 | <paramlist> | |
33515 | <param name="isEnd" type="bool" default=""/> | |
33516 | </paramlist> | |
33517 | </method> | |
33518 | <method name="GetAlignmentStart" type="int" overloaded="no"> | |
33519 | <autodoc>GetAlignmentStart() -> int</autodoc> | |
33520 | </method> | |
33521 | <method name="GetAlignmentEnd" type="int" overloaded="no"> | |
33522 | <autodoc>GetAlignmentEnd() -> int</autodoc> | |
33523 | </method> | |
33524 | <method name="base_OnDraw" type="" overloaded="no"> | |
33525 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
33526 | <paramlist> | |
33527 | <param name="dc" type="DC" default=""/> | |
33528 | </paramlist> | |
33529 | </method> | |
33530 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
33531 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
33532 | <paramlist> | |
33533 | <param name="dc" type="DC" default=""/> | |
33534 | </paramlist> | |
33535 | </method> | |
33536 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
33537 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
33538 | <paramlist> | |
33539 | <param name="dc" type="DC" default=""/> | |
33540 | <param name="erase" type="bool" default="FALSE"/> | |
33541 | </paramlist> | |
33542 | </method> | |
33543 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
33544 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
33545 | <paramlist> | |
33546 | <param name="dc" type="DC" default=""/> | |
33547 | </paramlist> | |
33548 | </method> | |
33549 | <method name="base_OnErase" type="" overloaded="no"> | |
33550 | <autodoc>base_OnErase(DC dc)</autodoc> | |
33551 | <paramlist> | |
33552 | <param name="dc" type="DC" default=""/> | |
33553 | </paramlist> | |
33554 | </method> | |
33555 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
33556 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
33557 | <paramlist> | |
33558 | <param name="dc" type="DC" default=""/> | |
33559 | </paramlist> | |
33560 | </method> | |
33561 | <method name="base_OnHighlight" type="" overloaded="no"> | |
33562 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
33563 | <paramlist> | |
33564 | <param name="dc" type="DC" default=""/> | |
33565 | </paramlist> | |
33566 | </method> | |
33567 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
33568 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33569 | <paramlist> | |
33570 | <param name="x" type="double" default=""/> | |
33571 | <param name="y" type="double" default=""/> | |
33572 | <param name="keys" type="int" default="0"/> | |
33573 | <param name="attachment" type="int" default="0"/> | |
33574 | </paramlist> | |
33575 | </method> | |
33576 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
33577 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33578 | <paramlist> | |
33579 | <param name="x" type="double" default=""/> | |
33580 | <param name="y" type="double" default=""/> | |
33581 | <param name="keys" type="int" default="0"/> | |
33582 | <param name="attachment" type="int" default="0"/> | |
33583 | </paramlist> | |
33584 | </method> | |
33585 | <method name="base_OnRightClick" type="" overloaded="no"> | |
33586 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33587 | <paramlist> | |
33588 | <param name="x" type="double" default=""/> | |
33589 | <param name="y" type="double" default=""/> | |
33590 | <param name="keys" type="int" default="0"/> | |
33591 | <param name="attachment" type="int" default="0"/> | |
33592 | </paramlist> | |
33593 | </method> | |
33594 | <method name="base_OnSize" type="" overloaded="no"> | |
33595 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
33596 | <paramlist> | |
33597 | <param name="x" type="double" default=""/> | |
33598 | <param name="y" type="double" default=""/> | |
33599 | </paramlist> | |
33600 | </method> | |
33601 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
33602 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
33603 | bool display=True) -> bool</autodoc> | |
33604 | <paramlist> | |
33605 | <param name="dc" type="DC" default=""/> | |
33606 | <param name="x" type="double" default=""/> | |
33607 | <param name="y" type="double" default=""/> | |
33608 | <param name="old_x" type="double" default=""/> | |
33609 | <param name="old_y" type="double" default=""/> | |
33610 | <param name="display" type="bool" default="True"/> | |
33611 | </paramlist> | |
33612 | </method> | |
33613 | <method name="base_OnMovePost" type="" overloaded="no"> | |
33614 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
33615 | bool display=True)</autodoc> | |
33616 | <paramlist> | |
33617 | <param name="dc" type="DC" default=""/> | |
33618 | <param name="x" type="double" default=""/> | |
33619 | <param name="y" type="double" default=""/> | |
33620 | <param name="old_x" type="double" default=""/> | |
33621 | <param name="old_y" type="double" default=""/> | |
33622 | <param name="display" type="bool" default="True"/> | |
33623 | </paramlist> | |
33624 | </method> | |
33625 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
33626 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
33627 | <paramlist> | |
33628 | <param name="draw" type="bool" default=""/> | |
33629 | <param name="x" type="double" default=""/> | |
33630 | <param name="y" type="double" default=""/> | |
33631 | <param name="keys" type="int" default="0"/> | |
33632 | <param name="attachment" type="int" default="0"/> | |
33633 | </paramlist> | |
33634 | </method> | |
33635 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
33636 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33637 | <paramlist> | |
33638 | <param name="x" type="double" default=""/> | |
33639 | <param name="y" type="double" default=""/> | |
33640 | <param name="keys" type="int" default="0"/> | |
33641 | <param name="attachment" type="int" default="0"/> | |
33642 | </paramlist> | |
33643 | </method> | |
33644 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
33645 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33646 | <paramlist> | |
33647 | <param name="x" type="double" default=""/> | |
33648 | <param name="y" type="double" default=""/> | |
33649 | <param name="keys" type="int" default="0"/> | |
33650 | <param name="attachment" type="int" default="0"/> | |
33651 | </paramlist> | |
33652 | </method> | |
33653 | <method name="base_OnDragRight" type="" overloaded="no"> | |
33654 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
33655 | <paramlist> | |
33656 | <param name="draw" type="bool" default=""/> | |
33657 | <param name="x" type="double" default=""/> | |
33658 | <param name="y" type="double" default=""/> | |
33659 | <param name="keys" type="int" default="0"/> | |
33660 | <param name="attachment" type="int" default="0"/> | |
33661 | </paramlist> | |
33662 | </method> | |
33663 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
33664 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33665 | <paramlist> | |
33666 | <param name="x" type="double" default=""/> | |
33667 | <param name="y" type="double" default=""/> | |
33668 | <param name="keys" type="int" default="0"/> | |
33669 | <param name="attachment" type="int" default="0"/> | |
33670 | </paramlist> | |
33671 | </method> | |
33672 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
33673 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33674 | <paramlist> | |
33675 | <param name="x" type="double" default=""/> | |
33676 | <param name="y" type="double" default=""/> | |
33677 | <param name="keys" type="int" default="0"/> | |
33678 | <param name="attachment" type="int" default="0"/> | |
33679 | </paramlist> | |
33680 | </method> | |
33681 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
33682 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
33683 | <paramlist> | |
33684 | <param name="dc" type="DC" default=""/> | |
33685 | <param name="x" type="double" default=""/> | |
33686 | <param name="y" type="double" default=""/> | |
33687 | <param name="w" type="double" default=""/> | |
33688 | <param name="h" type="double" default=""/> | |
33689 | </paramlist> | |
33690 | </method> | |
33691 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
33692 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
33693 | <paramlist> | |
33694 | <param name="dc" type="DC" default=""/> | |
33695 | </paramlist> | |
33696 | </method> | |
33697 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
33698 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
33699 | <paramlist> | |
33700 | <param name="dc" type="DC" default=""/> | |
33701 | </paramlist> | |
33702 | </method> | |
33703 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
33704 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
33705 | <paramlist> | |
33706 | <param name="dc" type="DC" default=""/> | |
33707 | <param name="moveControlPoints" type="bool" default="True"/> | |
33708 | </paramlist> | |
33709 | </method> | |
33710 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
33711 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
33712 | int attachment=0)</autodoc> | |
33713 | <paramlist> | |
33714 | <param name="pt" type="PyControlPoint" default=""/> | |
33715 | <param name="draw" type="bool" default=""/> | |
33716 | <param name="x" type="double" default=""/> | |
33717 | <param name="y" type="double" default=""/> | |
33718 | <param name="keys" type="int" default="0"/> | |
33719 | <param name="attachment" type="int" default="0"/> | |
33720 | </paramlist> | |
33721 | </method> | |
33722 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
33723 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
33724 | int attachment=0)</autodoc> | |
33725 | <paramlist> | |
33726 | <param name="pt" type="PyControlPoint" default=""/> | |
33727 | <param name="x" type="double" default=""/> | |
33728 | <param name="y" type="double" default=""/> | |
33729 | <param name="keys" type="int" default="0"/> | |
33730 | <param name="attachment" type="int" default="0"/> | |
33731 | </paramlist> | |
33732 | </method> | |
33733 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
33734 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
33735 | int attachment=0)</autodoc> | |
33736 | <paramlist> | |
33737 | <param name="pt" type="PyControlPoint" default=""/> | |
33738 | <param name="x" type="double" default=""/> | |
33739 | <param name="y" type="double" default=""/> | |
33740 | <param name="keys" type="int" default="0"/> | |
33741 | <param name="attachment" type="int" default="0"/> | |
33742 | </paramlist> | |
33743 | </method> | |
33744 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
33745 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
33746 | <paramlist> | |
33747 | <param name="w" type="double" default=""/> | |
33748 | <param name="h" type="double" default=""/> | |
33749 | </paramlist> | |
33750 | </method> | |
33751 | <method name="base_OnEndSize" type="" overloaded="no"> | |
33752 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
33753 | <paramlist> | |
33754 | <param name="w" type="double" default=""/> | |
33755 | <param name="h" type="double" default=""/> | |
33756 | </paramlist> | |
33757 | </method> | |
33758 | </class> | |
33759 | <class name="PyPolygonShape" oldname="wxPyPolygonShape" module="ogl"> | |
33760 | <baseclass name="PyShape"/> | |
33761 | <constructor name="PyPolygonShape" overloaded="no"> | |
33762 | <autodoc>__init__() -> PyPolygonShape</autodoc> | |
33763 | </constructor> | |
33764 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
33765 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
33766 | <paramlist> | |
33767 | <param name="self" type="PyObject" default=""/> | |
33768 | <param name="_class" type="PyObject" default=""/> | |
33769 | </paramlist> | |
33770 | </method> | |
33771 | <method name="Create" type="PyObject" overloaded="no"> | |
33772 | <autodoc>Create(PyObject points) -> PyObject</autodoc> | |
33773 | <paramlist> | |
33774 | <param name="points" type="PyObject" default=""/> | |
33775 | </paramlist> | |
33776 | </method> | |
33777 | <method name="AddPolygonPoint" type="" overloaded="no"> | |
33778 | <autodoc>AddPolygonPoint(int pos=0)</autodoc> | |
33779 | <paramlist> | |
33780 | <param name="pos" type="int" default="0"/> | |
33781 | </paramlist> | |
33782 | </method> | |
33783 | <method name="CalculatePolygonCentre" type="" overloaded="no"> | |
33784 | <autodoc>CalculatePolygonCentre()</autodoc> | |
33785 | </method> | |
33786 | <method name="DeletePolygonPoint" type="" overloaded="no"> | |
33787 | <autodoc>DeletePolygonPoint(int pos=0)</autodoc> | |
33788 | <paramlist> | |
33789 | <param name="pos" type="int" default="0"/> | |
33790 | </paramlist> | |
33791 | </method> | |
33792 | <method name="GetPoints" type="PyObject" overloaded="no"> | |
33793 | <autodoc>GetPoints() -> PyObject</autodoc> | |
33794 | </method> | |
33795 | <method name="GetOriginalPoints" type="PyObject" overloaded="no"> | |
33796 | <autodoc>GetOriginalPoints() -> PyObject</autodoc> | |
33797 | </method> | |
33798 | <method name="GetOriginalWidth" type="double" overloaded="no"> | |
33799 | <autodoc>GetOriginalWidth() -> double</autodoc> | |
33800 | </method> | |
33801 | <method name="GetOriginalHeight" type="double" overloaded="no"> | |
33802 | <autodoc>GetOriginalHeight() -> double</autodoc> | |
33803 | </method> | |
33804 | <method name="SetOriginalWidth" type="" overloaded="no"> | |
33805 | <autodoc>SetOriginalWidth(double w)</autodoc> | |
33806 | <paramlist> | |
33807 | <param name="w" type="double" default=""/> | |
33808 | </paramlist> | |
33809 | </method> | |
33810 | <method name="SetOriginalHeight" type="" overloaded="no"> | |
33811 | <autodoc>SetOriginalHeight(double h)</autodoc> | |
33812 | <paramlist> | |
33813 | <param name="h" type="double" default=""/> | |
33814 | </paramlist> | |
33815 | </method> | |
33816 | <method name="UpdateOriginalPoints" type="" overloaded="no"> | |
33817 | <autodoc>UpdateOriginalPoints()</autodoc> | |
33818 | </method> | |
33819 | <method name="base_OnDraw" type="" overloaded="no"> | |
33820 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
33821 | <paramlist> | |
33822 | <param name="dc" type="DC" default=""/> | |
33823 | </paramlist> | |
33824 | </method> | |
33825 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
33826 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
33827 | <paramlist> | |
33828 | <param name="dc" type="DC" default=""/> | |
33829 | </paramlist> | |
33830 | </method> | |
33831 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
33832 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
33833 | <paramlist> | |
33834 | <param name="dc" type="DC" default=""/> | |
33835 | <param name="erase" type="bool" default="FALSE"/> | |
33836 | </paramlist> | |
33837 | </method> | |
33838 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
33839 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
33840 | <paramlist> | |
33841 | <param name="dc" type="DC" default=""/> | |
33842 | </paramlist> | |
33843 | </method> | |
33844 | <method name="base_OnErase" type="" overloaded="no"> | |
33845 | <autodoc>base_OnErase(DC dc)</autodoc> | |
33846 | <paramlist> | |
33847 | <param name="dc" type="DC" default=""/> | |
33848 | </paramlist> | |
33849 | </method> | |
33850 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
33851 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
33852 | <paramlist> | |
33853 | <param name="dc" type="DC" default=""/> | |
33854 | </paramlist> | |
33855 | </method> | |
33856 | <method name="base_OnHighlight" type="" overloaded="no"> | |
33857 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
33858 | <paramlist> | |
33859 | <param name="dc" type="DC" default=""/> | |
33860 | </paramlist> | |
33861 | </method> | |
33862 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
33863 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33864 | <paramlist> | |
33865 | <param name="x" type="double" default=""/> | |
33866 | <param name="y" type="double" default=""/> | |
33867 | <param name="keys" type="int" default="0"/> | |
33868 | <param name="attachment" type="int" default="0"/> | |
33869 | </paramlist> | |
33870 | </method> | |
33871 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
33872 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33873 | <paramlist> | |
33874 | <param name="x" type="double" default=""/> | |
33875 | <param name="y" type="double" default=""/> | |
33876 | <param name="keys" type="int" default="0"/> | |
33877 | <param name="attachment" type="int" default="0"/> | |
33878 | </paramlist> | |
33879 | </method> | |
33880 | <method name="base_OnRightClick" type="" overloaded="no"> | |
33881 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33882 | <paramlist> | |
33883 | <param name="x" type="double" default=""/> | |
33884 | <param name="y" type="double" default=""/> | |
33885 | <param name="keys" type="int" default="0"/> | |
33886 | <param name="attachment" type="int" default="0"/> | |
33887 | </paramlist> | |
33888 | </method> | |
33889 | <method name="base_OnSize" type="" overloaded="no"> | |
33890 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
33891 | <paramlist> | |
33892 | <param name="x" type="double" default=""/> | |
33893 | <param name="y" type="double" default=""/> | |
33894 | </paramlist> | |
33895 | </method> | |
33896 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
33897 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
33898 | bool display=True) -> bool</autodoc> | |
33899 | <paramlist> | |
33900 | <param name="dc" type="DC" default=""/> | |
33901 | <param name="x" type="double" default=""/> | |
33902 | <param name="y" type="double" default=""/> | |
33903 | <param name="old_x" type="double" default=""/> | |
33904 | <param name="old_y" type="double" default=""/> | |
33905 | <param name="display" type="bool" default="True"/> | |
33906 | </paramlist> | |
33907 | </method> | |
33908 | <method name="base_OnMovePost" type="" overloaded="no"> | |
33909 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
33910 | bool display=True)</autodoc> | |
33911 | <paramlist> | |
33912 | <param name="dc" type="DC" default=""/> | |
33913 | <param name="x" type="double" default=""/> | |
33914 | <param name="y" type="double" default=""/> | |
33915 | <param name="old_x" type="double" default=""/> | |
33916 | <param name="old_y" type="double" default=""/> | |
33917 | <param name="display" type="bool" default="True"/> | |
33918 | </paramlist> | |
33919 | </method> | |
33920 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
33921 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
33922 | <paramlist> | |
33923 | <param name="draw" type="bool" default=""/> | |
33924 | <param name="x" type="double" default=""/> | |
33925 | <param name="y" type="double" default=""/> | |
33926 | <param name="keys" type="int" default="0"/> | |
33927 | <param name="attachment" type="int" default="0"/> | |
33928 | </paramlist> | |
33929 | </method> | |
33930 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
33931 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33932 | <paramlist> | |
33933 | <param name="x" type="double" default=""/> | |
33934 | <param name="y" type="double" default=""/> | |
33935 | <param name="keys" type="int" default="0"/> | |
33936 | <param name="attachment" type="int" default="0"/> | |
33937 | </paramlist> | |
33938 | </method> | |
33939 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
33940 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33941 | <paramlist> | |
33942 | <param name="x" type="double" default=""/> | |
33943 | <param name="y" type="double" default=""/> | |
33944 | <param name="keys" type="int" default="0"/> | |
33945 | <param name="attachment" type="int" default="0"/> | |
33946 | </paramlist> | |
33947 | </method> | |
33948 | <method name="base_OnDragRight" type="" overloaded="no"> | |
33949 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
33950 | <paramlist> | |
33951 | <param name="draw" type="bool" default=""/> | |
33952 | <param name="x" type="double" default=""/> | |
33953 | <param name="y" type="double" default=""/> | |
33954 | <param name="keys" type="int" default="0"/> | |
33955 | <param name="attachment" type="int" default="0"/> | |
33956 | </paramlist> | |
33957 | </method> | |
33958 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
33959 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33960 | <paramlist> | |
33961 | <param name="x" type="double" default=""/> | |
33962 | <param name="y" type="double" default=""/> | |
33963 | <param name="keys" type="int" default="0"/> | |
33964 | <param name="attachment" type="int" default="0"/> | |
33965 | </paramlist> | |
33966 | </method> | |
33967 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
33968 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33969 | <paramlist> | |
33970 | <param name="x" type="double" default=""/> | |
33971 | <param name="y" type="double" default=""/> | |
33972 | <param name="keys" type="int" default="0"/> | |
33973 | <param name="attachment" type="int" default="0"/> | |
33974 | </paramlist> | |
33975 | </method> | |
33976 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
33977 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
33978 | <paramlist> | |
33979 | <param name="dc" type="DC" default=""/> | |
33980 | <param name="x" type="double" default=""/> | |
33981 | <param name="y" type="double" default=""/> | |
33982 | <param name="w" type="double" default=""/> | |
33983 | <param name="h" type="double" default=""/> | |
33984 | </paramlist> | |
33985 | </method> | |
33986 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
33987 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
33988 | <paramlist> | |
33989 | <param name="dc" type="DC" default=""/> | |
33990 | </paramlist> | |
33991 | </method> | |
33992 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
33993 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
33994 | <paramlist> | |
33995 | <param name="dc" type="DC" default=""/> | |
33996 | </paramlist> | |
33997 | </method> | |
33998 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
33999 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
34000 | <paramlist> | |
34001 | <param name="dc" type="DC" default=""/> | |
34002 | <param name="moveControlPoints" type="bool" default="True"/> | |
34003 | </paramlist> | |
34004 | </method> | |
34005 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
34006 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
34007 | int attachment=0)</autodoc> | |
34008 | <paramlist> | |
34009 | <param name="pt" type="PyControlPoint" default=""/> | |
34010 | <param name="draw" type="bool" default=""/> | |
34011 | <param name="x" type="double" default=""/> | |
34012 | <param name="y" type="double" default=""/> | |
34013 | <param name="keys" type="int" default="0"/> | |
34014 | <param name="attachment" type="int" default="0"/> | |
34015 | </paramlist> | |
34016 | </method> | |
34017 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
34018 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
34019 | int attachment=0)</autodoc> | |
34020 | <paramlist> | |
34021 | <param name="pt" type="PyControlPoint" default=""/> | |
34022 | <param name="x" type="double" default=""/> | |
34023 | <param name="y" type="double" default=""/> | |
34024 | <param name="keys" type="int" default="0"/> | |
34025 | <param name="attachment" type="int" default="0"/> | |
34026 | </paramlist> | |
34027 | </method> | |
34028 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
34029 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
34030 | int attachment=0)</autodoc> | |
34031 | <paramlist> | |
34032 | <param name="pt" type="PyControlPoint" default=""/> | |
34033 | <param name="x" type="double" default=""/> | |
34034 | <param name="y" type="double" default=""/> | |
34035 | <param name="keys" type="int" default="0"/> | |
34036 | <param name="attachment" type="int" default="0"/> | |
34037 | </paramlist> | |
34038 | </method> | |
34039 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
34040 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
34041 | <paramlist> | |
34042 | <param name="w" type="double" default=""/> | |
34043 | <param name="h" type="double" default=""/> | |
34044 | </paramlist> | |
34045 | </method> | |
34046 | <method name="base_OnEndSize" type="" overloaded="no"> | |
34047 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
34048 | <paramlist> | |
34049 | <param name="w" type="double" default=""/> | |
34050 | <param name="h" type="double" default=""/> | |
34051 | </paramlist> | |
34052 | </method> | |
34053 | </class> | |
34054 | <class name="PyTextShape" oldname="wxPyTextShape" module="ogl"> | |
34055 | <baseclass name="PyRectangleShape"/> | |
34056 | <constructor name="PyTextShape" overloaded="no"> | |
34057 | <autodoc>__init__(double width=0.0, double height=0.0) -> PyTextShape</autodoc> | |
34058 | <paramlist> | |
34059 | <param name="width" type="double" default="0.0"/> | |
34060 | <param name="height" type="double" default="0.0"/> | |
34061 | </paramlist> | |
34062 | </constructor> | |
34063 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
34064 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
34065 | <paramlist> | |
34066 | <param name="self" type="PyObject" default=""/> | |
34067 | <param name="_class" type="PyObject" default=""/> | |
34068 | </paramlist> | |
34069 | </method> | |
34070 | <method name="base_OnDelete" type="" overloaded="no"> | |
34071 | <autodoc>base_OnDelete()</autodoc> | |
34072 | </method> | |
34073 | <method name="base_OnDraw" type="" overloaded="no"> | |
34074 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
34075 | <paramlist> | |
34076 | <param name="dc" type="DC" default=""/> | |
34077 | </paramlist> | |
34078 | </method> | |
34079 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
34080 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
34081 | <paramlist> | |
34082 | <param name="dc" type="DC" default=""/> | |
34083 | </paramlist> | |
34084 | </method> | |
34085 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
34086 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
34087 | <paramlist> | |
34088 | <param name="dc" type="DC" default=""/> | |
34089 | <param name="erase" type="bool" default="FALSE"/> | |
34090 | </paramlist> | |
34091 | </method> | |
34092 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
34093 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
34094 | <paramlist> | |
34095 | <param name="dc" type="DC" default=""/> | |
34096 | </paramlist> | |
34097 | </method> | |
34098 | <method name="base_OnErase" type="" overloaded="no"> | |
34099 | <autodoc>base_OnErase(DC dc)</autodoc> | |
34100 | <paramlist> | |
34101 | <param name="dc" type="DC" default=""/> | |
34102 | </paramlist> | |
34103 | </method> | |
34104 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
34105 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
34106 | <paramlist> | |
34107 | <param name="dc" type="DC" default=""/> | |
34108 | </paramlist> | |
34109 | </method> | |
34110 | <method name="base_OnHighlight" type="" overloaded="no"> | |
34111 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
34112 | <paramlist> | |
34113 | <param name="dc" type="DC" default=""/> | |
34114 | </paramlist> | |
34115 | </method> | |
34116 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
34117 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
34118 | <paramlist> | |
34119 | <param name="x" type="double" default=""/> | |
34120 | <param name="y" type="double" default=""/> | |
34121 | <param name="keys" type="int" default="0"/> | |
34122 | <param name="attachment" type="int" default="0"/> | |
34123 | </paramlist> | |
34124 | </method> | |
34125 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
34126 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
34127 | <paramlist> | |
34128 | <param name="x" type="double" default=""/> | |
34129 | <param name="y" type="double" default=""/> | |
34130 | <param name="keys" type="int" default="0"/> | |
34131 | <param name="attachment" type="int" default="0"/> | |
34132 | </paramlist> | |
34133 | </method> | |
34134 | <method name="base_OnRightClick" type="" overloaded="no"> | |
34135 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
34136 | <paramlist> | |
34137 | <param name="x" type="double" default=""/> | |
34138 | <param name="y" type="double" default=""/> | |
34139 | <param name="keys" type="int" default="0"/> | |
34140 | <param name="attachment" type="int" default="0"/> | |
34141 | </paramlist> | |
34142 | </method> | |
34143 | <method name="base_OnSize" type="" overloaded="no"> | |
34144 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
34145 | <paramlist> | |
34146 | <param name="x" type="double" default=""/> | |
34147 | <param name="y" type="double" default=""/> | |
34148 | </paramlist> | |
34149 | </method> | |
34150 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
34151 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
34152 | bool display=True) -> bool</autodoc> | |
34153 | <paramlist> | |
34154 | <param name="dc" type="DC" default=""/> | |
34155 | <param name="x" type="double" default=""/> | |
34156 | <param name="y" type="double" default=""/> | |
34157 | <param name="old_x" type="double" default=""/> | |
34158 | <param name="old_y" type="double" default=""/> | |
34159 | <param name="display" type="bool" default="True"/> | |
34160 | </paramlist> | |
34161 | </method> | |
34162 | <method name="base_OnMovePost" type="" overloaded="no"> | |
34163 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
34164 | bool display=True)</autodoc> | |
34165 | <paramlist> | |
34166 | <param name="dc" type="DC" default=""/> | |
34167 | <param name="x" type="double" default=""/> | |
34168 | <param name="y" type="double" default=""/> | |
34169 | <param name="old_x" type="double" default=""/> | |
34170 | <param name="old_y" type="double" default=""/> | |
34171 | <param name="display" type="bool" default="True"/> | |
34172 | </paramlist> | |
34173 | </method> | |
34174 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
34175 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
34176 | <paramlist> | |
34177 | <param name="draw" type="bool" default=""/> | |
34178 | <param name="x" type="double" default=""/> | |
34179 | <param name="y" type="double" default=""/> | |
34180 | <param name="keys" type="int" default="0"/> | |
34181 | <param name="attachment" type="int" default="0"/> | |
34182 | </paramlist> | |
34183 | </method> | |
34184 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
34185 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
34186 | <paramlist> | |
34187 | <param name="x" type="double" default=""/> | |
34188 | <param name="y" type="double" default=""/> | |
34189 | <param name="keys" type="int" default="0"/> | |
34190 | <param name="attachment" type="int" default="0"/> | |
34191 | </paramlist> | |
34192 | </method> | |
34193 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
34194 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
34195 | <paramlist> | |
34196 | <param name="x" type="double" default=""/> | |
34197 | <param name="y" type="double" default=""/> | |
34198 | <param name="keys" type="int" default="0"/> | |
34199 | <param name="attachment" type="int" default="0"/> | |
34200 | </paramlist> | |
34201 | </method> | |
34202 | <method name="base_OnDragRight" type="" overloaded="no"> | |
34203 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
34204 | <paramlist> | |
34205 | <param name="draw" type="bool" default=""/> | |
34206 | <param name="x" type="double" default=""/> | |
34207 | <param name="y" type="double" default=""/> | |
34208 | <param name="keys" type="int" default="0"/> | |
34209 | <param name="attachment" type="int" default="0"/> | |
34210 | </paramlist> | |
34211 | </method> | |
34212 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
34213 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
34214 | <paramlist> | |
34215 | <param name="x" type="double" default=""/> | |
34216 | <param name="y" type="double" default=""/> | |
34217 | <param name="keys" type="int" default="0"/> | |
34218 | <param name="attachment" type="int" default="0"/> | |
34219 | </paramlist> | |
34220 | </method> | |
34221 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
34222 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
34223 | <paramlist> | |
34224 | <param name="x" type="double" default=""/> | |
34225 | <param name="y" type="double" default=""/> | |
34226 | <param name="keys" type="int" default="0"/> | |
34227 | <param name="attachment" type="int" default="0"/> | |
34228 | </paramlist> | |
34229 | </method> | |
34230 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
34231 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
34232 | <paramlist> | |
34233 | <param name="dc" type="DC" default=""/> | |
34234 | <param name="x" type="double" default=""/> | |
34235 | <param name="y" type="double" default=""/> | |
34236 | <param name="w" type="double" default=""/> | |
34237 | <param name="h" type="double" default=""/> | |
34238 | </paramlist> | |
34239 | </method> | |
34240 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
34241 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
34242 | <paramlist> | |
34243 | <param name="dc" type="DC" default=""/> | |
34244 | </paramlist> | |
34245 | </method> | |
34246 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
34247 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
34248 | <paramlist> | |
34249 | <param name="dc" type="DC" default=""/> | |
34250 | </paramlist> | |
34251 | </method> | |
34252 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
34253 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
34254 | <paramlist> | |
34255 | <param name="dc" type="DC" default=""/> | |
34256 | <param name="moveControlPoints" type="bool" default="True"/> | |
34257 | </paramlist> | |
34258 | </method> | |
34259 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
34260 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
34261 | int attachment=0)</autodoc> | |
34262 | <paramlist> | |
34263 | <param name="pt" type="PyControlPoint" default=""/> | |
34264 | <param name="draw" type="bool" default=""/> | |
34265 | <param name="x" type="double" default=""/> | |
34266 | <param name="y" type="double" default=""/> | |
34267 | <param name="keys" type="int" default="0"/> | |
34268 | <param name="attachment" type="int" default="0"/> | |
34269 | </paramlist> | |
34270 | </method> | |
34271 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
34272 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
34273 | int attachment=0)</autodoc> | |
34274 | <paramlist> | |
34275 | <param name="pt" type="PyControlPoint" default=""/> | |
34276 | <param name="x" type="double" default=""/> | |
34277 | <param name="y" type="double" default=""/> | |
34278 | <param name="keys" type="int" default="0"/> | |
34279 | <param name="attachment" type="int" default="0"/> | |
34280 | </paramlist> | |
34281 | </method> | |
34282 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
34283 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
34284 | int attachment=0)</autodoc> | |
34285 | <paramlist> | |
34286 | <param name="pt" type="PyControlPoint" default=""/> | |
34287 | <param name="x" type="double" default=""/> | |
34288 | <param name="y" type="double" default=""/> | |
34289 | <param name="keys" type="int" default="0"/> | |
34290 | <param name="attachment" type="int" default="0"/> | |
34291 | </paramlist> | |
34292 | </method> | |
34293 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
34294 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
34295 | <paramlist> | |
34296 | <param name="w" type="double" default=""/> | |
34297 | <param name="h" type="double" default=""/> | |
34298 | </paramlist> | |
34299 | </method> | |
34300 | <method name="base_OnEndSize" type="" overloaded="no"> | |
34301 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
34302 | <paramlist> | |
34303 | <param name="w" type="double" default=""/> | |
34304 | <param name="h" type="double" default=""/> | |
34305 | </paramlist> | |
34306 | </method> | |
34307 | </class> | |
34308 | <class name="Diagram" oldname="wxDiagram" module="ogl"> | |
34309 | <baseclass name="Object"/> | |
34310 | <constructor name="Diagram" overloaded="no"> | |
34311 | <autodoc>__init__() -> Diagram</autodoc> | |
34312 | </constructor> | |
34313 | <method name="AddShape" type="" overloaded="no"> | |
34314 | <autodoc>AddShape(PyShape shape, PyShape addAfter=None)</autodoc> | |
34315 | <paramlist> | |
34316 | <param name="shape" type="PyShape" default=""/> | |
34317 | <param name="addAfter" type="PyShape" default="NULL"/> | |
34318 | </paramlist> | |
34319 | </method> | |
34320 | <method name="Clear" type="" overloaded="no"> | |
34321 | <autodoc>Clear(DC dc)</autodoc> | |
34322 | <paramlist> | |
34323 | <param name="dc" type="DC" default=""/> | |
34324 | </paramlist> | |
34325 | </method> | |
34326 | <method name="DeleteAllShapes" type="" overloaded="no"> | |
34327 | <autodoc>DeleteAllShapes()</autodoc> | |
34328 | </method> | |
34329 | <method name="DrawOutline" type="" overloaded="no"> | |
34330 | <autodoc>DrawOutline(DC dc, double x1, double y1, double x2, double y2)</autodoc> | |
34331 | <paramlist> | |
34332 | <param name="dc" type="DC" default=""/> | |
34333 | <param name="x1" type="double" default=""/> | |
34334 | <param name="y1" type="double" default=""/> | |
34335 | <param name="x2" type="double" default=""/> | |
34336 | <param name="y2" type="double" default=""/> | |
34337 | </paramlist> | |
34338 | </method> | |
34339 | <method name="FindShape" type="PyShape" overloaded="no"> | |
34340 | <autodoc>FindShape(long id) -> PyShape</autodoc> | |
34341 | <paramlist> | |
34342 | <param name="id" type="long" default=""/> | |
34343 | </paramlist> | |
34344 | </method> | |
34345 | <method name="GetCanvas" type="wxPyShapeCanvas" overloaded="no"> | |
34346 | <autodoc>GetCanvas() -> PyShapeCanvas</autodoc> | |
34347 | </method> | |
34348 | <method name="GetCount" type="int" overloaded="no"> | |
34349 | <autodoc>GetCount() -> int</autodoc> | |
34350 | </method> | |
34351 | <method name="GetGridSpacing" type="double" overloaded="no"> | |
34352 | <autodoc>GetGridSpacing() -> double</autodoc> | |
34353 | </method> | |
34354 | <method name="GetMouseTolerance" type="int" overloaded="no"> | |
34355 | <autodoc>GetMouseTolerance() -> int</autodoc> | |
34356 | </method> | |
34357 | <method name="GetShapeList" type="PyObject" overloaded="no"> | |
34358 | <autodoc>GetShapeList() -> PyObject</autodoc> | |
34359 | </method> | |
34360 | <method name="GetQuickEditMode" type="bool" overloaded="no"> | |
34361 | <autodoc>GetQuickEditMode() -> bool</autodoc> | |
34362 | </method> | |
34363 | <method name="GetSnapToGrid" type="bool" overloaded="no"> | |
34364 | <autodoc>GetSnapToGrid() -> bool</autodoc> | |
34365 | </method> | |
34366 | <method name="InsertShape" type="" overloaded="no"> | |
34367 | <autodoc>InsertShape(PyShape shape)</autodoc> | |
34368 | <paramlist> | |
34369 | <param name="shape" type="PyShape" default=""/> | |
34370 | </paramlist> | |
34371 | </method> | |
34372 | <method name="RecentreAll" type="" overloaded="no"> | |
34373 | <autodoc>RecentreAll(DC dc)</autodoc> | |
34374 | <paramlist> | |
34375 | <param name="dc" type="DC" default=""/> | |
34376 | </paramlist> | |
34377 | </method> | |
34378 | <method name="Redraw" type="" overloaded="no"> | |
34379 | <autodoc>Redraw(DC dc)</autodoc> | |
34380 | <paramlist> | |
34381 | <param name="dc" type="DC" default=""/> | |
34382 | </paramlist> | |
34383 | </method> | |
34384 | <method name="RemoveAllShapes" type="" overloaded="no"> | |
34385 | <autodoc>RemoveAllShapes()</autodoc> | |
34386 | </method> | |
34387 | <method name="RemoveShape" type="" overloaded="no"> | |
34388 | <autodoc>RemoveShape(PyShape shape)</autodoc> | |
34389 | <paramlist> | |
34390 | <param name="shape" type="PyShape" default=""/> | |
34391 | </paramlist> | |
34392 | </method> | |
34393 | <method name="SetCanvas" type="" overloaded="no"> | |
34394 | <autodoc>SetCanvas(PyShapeCanvas canvas)</autodoc> | |
34395 | <paramlist> | |
34396 | <param name="canvas" type="wxPyShapeCanvas" default=""/> | |
34397 | </paramlist> | |
34398 | </method> | |
34399 | <method name="SetGridSpacing" type="" overloaded="no"> | |
34400 | <autodoc>SetGridSpacing(double spacing)</autodoc> | |
34401 | <paramlist> | |
34402 | <param name="spacing" type="double" default=""/> | |
34403 | </paramlist> | |
34404 | </method> | |
34405 | <method name="SetMouseTolerance" type="" overloaded="no"> | |
34406 | <autodoc>SetMouseTolerance(int tolerance)</autodoc> | |
34407 | <paramlist> | |
34408 | <param name="tolerance" type="int" default=""/> | |
34409 | </paramlist> | |
34410 | </method> | |
34411 | <method name="SetQuickEditMode" type="" overloaded="no"> | |
34412 | <autodoc>SetQuickEditMode(bool mode)</autodoc> | |
34413 | <paramlist> | |
34414 | <param name="mode" type="bool" default=""/> | |
34415 | </paramlist> | |
34416 | </method> | |
34417 | <method name="SetSnapToGrid" type="" overloaded="no"> | |
34418 | <autodoc>SetSnapToGrid(bool snap)</autodoc> | |
34419 | <paramlist> | |
34420 | <param name="snap" type="bool" default=""/> | |
34421 | </paramlist> | |
34422 | </method> | |
34423 | <method name="ShowAll" type="" overloaded="no"> | |
34424 | <autodoc>ShowAll(bool show)</autodoc> | |
34425 | <paramlist> | |
34426 | <param name="show" type="bool" default=""/> | |
34427 | </paramlist> | |
34428 | </method> | |
34429 | <method name="Snap" type="" overloaded="no"> | |
34430 | <autodoc>Snap(double INOUT, double INOUT)</autodoc> | |
34431 | <paramlist> | |
34432 | <param name="INOUT" type="double" default=""/> | |
34433 | <param name="INOUT" type="double" default=""/> | |
34434 | </paramlist> | |
34435 | </method> | |
34436 | </class> | |
34437 | <class name="PyShapeCanvas" oldname="wxPyShapeCanvas" module="ogl"> | |
34438 | <baseclass name="ScrolledWindow"/> | |
34439 | <constructor name="PyShapeCanvas" overloaded="no"> | |
34440 | <autodoc>__init__(Window parent=None, int id=-1, Point pos=DefaultPosition, | |
34441 | Size size=DefaultSize, long style=BORDER, | |
34442 | String name=wxPyShapeCanvasNameStr) -> PyShapeCanvas</autodoc> | |
34443 | <paramlist> | |
34444 | <param name="parent" type="Window" default="NULL"/> | |
34445 | <param name="id" type="int" default="-1"/> | |
34446 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
34447 | <param name="size" type="Size" default="wxDefaultSize"/> | |
34448 | <param name="style" type="long" default="wxBORDER"/> | |
34449 | <param name="name" type="String" default="wxPyShapeCanvasNameStr"/> | |
34450 | </paramlist> | |
34451 | </constructor> | |
34452 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
34453 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
34454 | <paramlist> | |
34455 | <param name="self" type="PyObject" default=""/> | |
34456 | <param name="_class" type="PyObject" default=""/> | |
34457 | </paramlist> | |
34458 | </method> | |
34459 | <method name="AddShape" type="" overloaded="no"> | |
34460 | <autodoc>AddShape(PyShape shape, PyShape addAfter=None)</autodoc> | |
34461 | <paramlist> | |
34462 | <param name="shape" type="PyShape" default=""/> | |
34463 | <param name="addAfter" type="PyShape" default="NULL"/> | |
34464 | </paramlist> | |
34465 | </method> | |
34466 | <method name="FindShape" type="PyShape" overloaded="no"> | |
34467 | <autodoc>FindShape(double x1, double y, int OUTPUT, wxClassInfo info=None, | |
34468 | PyShape notImage=None) -> PyShape</autodoc> | |
34469 | <paramlist> | |
34470 | <param name="x1" type="double" default=""/> | |
34471 | <param name="y" type="double" default=""/> | |
34472 | <param name="OUTPUT" type="int" default=""/> | |
34473 | <param name="info" type="wxClassInfo" default="NULL"/> | |
34474 | <param name="notImage" type="PyShape" default="NULL"/> | |
34475 | </paramlist> | |
34476 | </method> | |
34477 | <method name="FindFirstSensitiveShape" type="PyShape" overloaded="no"> | |
34478 | <autodoc>FindFirstSensitiveShape(double x1, double y, int OUTPUT, int op) -> PyShape</autodoc> | |
34479 | <paramlist> | |
34480 | <param name="x1" type="double" default=""/> | |
34481 | <param name="y" type="double" default=""/> | |
34482 | <param name="OUTPUT" type="int" default=""/> | |
34483 | <param name="op" type="int" default=""/> | |
34484 | </paramlist> | |
34485 | </method> | |
34486 | <method name="GetDiagram" type="Diagram" overloaded="no"> | |
34487 | <autodoc>GetDiagram() -> Diagram</autodoc> | |
34488 | </method> | |
34489 | <method name="GetQuickEditMode" type="bool" overloaded="no"> | |
34490 | <autodoc>GetQuickEditMode() -> bool</autodoc> | |
34491 | </method> | |
34492 | <method name="InsertShape" type="" overloaded="no"> | |
34493 | <autodoc>InsertShape(PyShape shape)</autodoc> | |
34494 | <paramlist> | |
34495 | <param name="shape" type="PyShape" default=""/> | |
34496 | </paramlist> | |
34497 | </method> | |
34498 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
34499 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0)</autodoc> | |
34500 | <paramlist> | |
34501 | <param name="x" type="double" default=""/> | |
34502 | <param name="y" type="double" default=""/> | |
34503 | <param name="keys" type="int" default="0"/> | |
34504 | </paramlist> | |
34505 | </method> | |
34506 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
34507 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0)</autodoc> | |
34508 | <paramlist> | |
34509 | <param name="x" type="double" default=""/> | |
34510 | <param name="y" type="double" default=""/> | |
34511 | <param name="keys" type="int" default="0"/> | |
34512 | </paramlist> | |
34513 | </method> | |
34514 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
34515 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0)</autodoc> | |
34516 | <paramlist> | |
34517 | <param name="x" type="double" default=""/> | |
34518 | <param name="y" type="double" default=""/> | |
34519 | <param name="keys" type="int" default="0"/> | |
34520 | </paramlist> | |
34521 | </method> | |
34522 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
34523 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0)</autodoc> | |
34524 | <paramlist> | |
34525 | <param name="x" type="double" default=""/> | |
34526 | <param name="y" type="double" default=""/> | |
34527 | <param name="keys" type="int" default="0"/> | |
34528 | </paramlist> | |
34529 | </method> | |
34530 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
34531 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0)</autodoc> | |
34532 | <paramlist> | |
34533 | <param name="draw" type="bool" default=""/> | |
34534 | <param name="x" type="double" default=""/> | |
34535 | <param name="y" type="double" default=""/> | |
34536 | <param name="keys" type="int" default="0"/> | |
34537 | </paramlist> | |
34538 | </method> | |
34539 | <method name="base_OnDragRight" type="" overloaded="no"> | |
34540 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0)</autodoc> | |
34541 | <paramlist> | |
34542 | <param name="draw" type="bool" default=""/> | |
34543 | <param name="x" type="double" default=""/> | |
34544 | <param name="y" type="double" default=""/> | |
34545 | <param name="keys" type="int" default="0"/> | |
34546 | </paramlist> | |
34547 | </method> | |
34548 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
34549 | <autodoc>base_OnLeftClick(double x, double y, int keys=0)</autodoc> | |
34550 | <paramlist> | |
34551 | <param name="x" type="double" default=""/> | |
34552 | <param name="y" type="double" default=""/> | |
34553 | <param name="keys" type="int" default="0"/> | |
34554 | </paramlist> | |
34555 | </method> | |
34556 | <method name="base_OnRightClick" type="" overloaded="no"> | |
34557 | <autodoc>base_OnRightClick(double x, double y, int keys=0)</autodoc> | |
34558 | <paramlist> | |
34559 | <param name="x" type="double" default=""/> | |
34560 | <param name="y" type="double" default=""/> | |
34561 | <param name="keys" type="int" default="0"/> | |
34562 | </paramlist> | |
34563 | </method> | |
34564 | <method name="Redraw" type="" overloaded="no"> | |
34565 | <autodoc>Redraw(DC dc)</autodoc> | |
34566 | <paramlist> | |
34567 | <param name="dc" type="DC" default=""/> | |
34568 | </paramlist> | |
34569 | </method> | |
34570 | <method name="RemoveShape" type="" overloaded="no"> | |
34571 | <autodoc>RemoveShape(PyShape shape)</autodoc> | |
34572 | <paramlist> | |
34573 | <param name="shape" type="PyShape" default=""/> | |
34574 | </paramlist> | |
34575 | </method> | |
34576 | <method name="SetDiagram" type="" overloaded="no"> | |
34577 | <autodoc>SetDiagram(Diagram diagram)</autodoc> | |
34578 | <paramlist> | |
34579 | <param name="diagram" type="Diagram" default=""/> | |
34580 | </paramlist> | |
34581 | </method> | |
34582 | <method name="Snap" type="" overloaded="no"> | |
34583 | <autodoc>Snap(double INOUT, double INOUT)</autodoc> | |
34584 | <paramlist> | |
34585 | <param name="INOUT" type="double" default=""/> | |
34586 | <param name="INOUT" type="double" default=""/> | |
34587 | </paramlist> | |
34588 | </method> | |
34589 | </class> | |
34590 | <pythoncode> | |
34591 | # Aliases | |
34592 | ShapeCanvas = PyShapeCanvas | |
34593 | ShapeEvtHandler = PyShapeEvtHandler | |
34594 | Shape = PyShape | |
34595 | RectangleShape = PyRectangleShape | |
34596 | BitmapShape = PyBitmapShape | |
34597 | DrawnShape = PyDrawnShape | |
34598 | CompositeShape = PyCompositeShape | |
34599 | DividedShape = PyDividedShape | |
34600 | DivisionShape = PyDivisionShape | |
34601 | EllipseShape = PyEllipseShape | |
34602 | CircleShape = PyCircleShape | |
34603 | LineShape = PyLineShape | |
34604 | PolygonShape = PyPolygonShape | |
34605 | TextShape = PyTextShape | |
34606 | ControlPoint = PyControlPoint | |
34607 | </pythoncode> | |
34608 | <method name="OGLInitialize" oldname="wxOGLInitialize" type="" overloaded="no"> | |
34609 | <autodoc>OGLInitialize()</autodoc> | |
34610 | </method> | |
34611 | <method name="OGLCleanUp" oldname="wxOGLCleanUp" type="" overloaded="no"> | |
34612 | <autodoc>OGLCleanUp()</autodoc> | |
34613 | </method> | |
34614 | </module> | |
34615 | <module name="stc"> | |
34616 | <import name="core"/> | |
34617 | <import name="misc"/> | |
34618 | <pythoncode> wx = core </pythoncode> | |
34619 | <class name="StyledTextCtrl" oldname="wxStyledTextCtrl" module="stc"> | |
34620 | <baseclass name="Control"/> | |
34621 | <constructor name="StyledTextCtrl" overloaded="no"> | |
34622 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
34623 | long style=0, String name=STCNameStr) -> StyledTextCtrl</autodoc> | |
34624 | <paramlist> | |
34625 | <param name="parent" type="Window" default=""/> | |
34626 | <param name="id" type="int" default=""/> | |
34627 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
34628 | <param name="size" type="Size" default="wxDefaultSize"/> | |
34629 | <param name="style" type="long" default="0"/> | |
34630 | <param name="name" type="String" default="wxPySTCNameStr"/> | |
34631 | </paramlist> | |
34632 | </constructor> | |
34633 | <constructor name="PreStyledTextCtrl" overloaded="no"> | |
34634 | <autodoc>PreStyledTextCtrl() -> StyledTextCtrl</autodoc> | |
34635 | </constructor> | |
34636 | <method name="Create" type="" overloaded="no"> | |
34637 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
34638 | long style=0, String name=wxSTCNameStr)</autodoc> | |
34639 | <paramlist> | |
34640 | <param name="parent" type="Window" default=""/> | |
34641 | <param name="id" type="int" default=""/> | |
34642 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
34643 | <param name="size" type="Size" default="wxDefaultSize"/> | |
34644 | <param name="style" type="long" default="0"/> | |
34645 | <param name="name" type="String" default="wxSTCNameStr"/> | |
34646 | </paramlist> | |
34647 | </method> | |
34648 | <method name="AddText" type="" overloaded="no"> | |
34649 | <autodoc>AddText(String text)</autodoc> | |
34650 | <paramlist> | |
34651 | <param name="text" type="String" default=""/> | |
34652 | </paramlist> | |
34653 | </method> | |
34654 | <method name="AddStyledText" type="" overloaded="no"> | |
34655 | <autodoc>AddStyledText(wxMemoryBuffer data)</autodoc> | |
34656 | <paramlist> | |
34657 | <param name="data" type="wxMemoryBuffer" default=""/> | |
34658 | </paramlist> | |
34659 | </method> | |
34660 | <method name="InsertText" type="" overloaded="no"> | |
34661 | <autodoc>InsertText(int pos, String text)</autodoc> | |
34662 | <paramlist> | |
34663 | <param name="pos" type="int" default=""/> | |
34664 | <param name="text" type="String" default=""/> | |
34665 | </paramlist> | |
34666 | </method> | |
34667 | <method name="ClearAll" type="" overloaded="no"> | |
34668 | <autodoc>ClearAll()</autodoc> | |
34669 | </method> | |
34670 | <method name="ClearDocumentStyle" type="" overloaded="no"> | |
34671 | <autodoc>ClearDocumentStyle()</autodoc> | |
34672 | </method> | |
34673 | <method name="GetLength" type="int" overloaded="no"> | |
34674 | <autodoc>GetLength() -> int</autodoc> | |
34675 | </method> | |
34676 | <method name="GetCharAt" type="int" overloaded="no"> | |
34677 | <autodoc>GetCharAt(int pos) -> int</autodoc> | |
34678 | <paramlist> | |
34679 | <param name="pos" type="int" default=""/> | |
34680 | </paramlist> | |
34681 | </method> | |
34682 | <method name="GetCurrentPos" type="int" overloaded="no"> | |
34683 | <autodoc>GetCurrentPos() -> int</autodoc> | |
34684 | </method> | |
34685 | <method name="GetAnchor" type="int" overloaded="no"> | |
34686 | <autodoc>GetAnchor() -> int</autodoc> | |
34687 | </method> | |
34688 | <method name="GetStyleAt" type="int" overloaded="no"> | |
34689 | <autodoc>GetStyleAt(int pos) -> int</autodoc> | |
34690 | <paramlist> | |
34691 | <param name="pos" type="int" default=""/> | |
34692 | </paramlist> | |
34693 | </method> | |
34694 | <method name="Redo" type="" overloaded="no"> | |
34695 | <autodoc>Redo()</autodoc> | |
34696 | </method> | |
34697 | <method name="SetUndoCollection" type="" overloaded="no"> | |
34698 | <autodoc>SetUndoCollection(bool collectUndo)</autodoc> | |
34699 | <paramlist> | |
34700 | <param name="collectUndo" type="bool" default=""/> | |
34701 | </paramlist> | |
34702 | </method> | |
34703 | <method name="SelectAll" type="" overloaded="no"> | |
34704 | <autodoc>SelectAll()</autodoc> | |
34705 | </method> | |
34706 | <method name="SetSavePoint" type="" overloaded="no"> | |
34707 | <autodoc>SetSavePoint()</autodoc> | |
34708 | </method> | |
34709 | <method name="GetStyledText" type="wxMemoryBuffer" overloaded="no"> | |
34710 | <autodoc>GetStyledText(int startPos, int endPos) -> wxMemoryBuffer</autodoc> | |
34711 | <paramlist> | |
34712 | <param name="startPos" type="int" default=""/> | |
34713 | <param name="endPos" type="int" default=""/> | |
34714 | </paramlist> | |
34715 | </method> | |
34716 | <method name="CanRedo" type="bool" overloaded="no"> | |
34717 | <autodoc>CanRedo() -> bool</autodoc> | |
34718 | </method> | |
34719 | <method name="MarkerLineFromHandle" type="int" overloaded="no"> | |
34720 | <autodoc>MarkerLineFromHandle(int handle) -> int</autodoc> | |
34721 | <paramlist> | |
34722 | <param name="handle" type="int" default=""/> | |
34723 | </paramlist> | |
34724 | </method> | |
34725 | <method name="MarkerDeleteHandle" type="" overloaded="no"> | |
34726 | <autodoc>MarkerDeleteHandle(int handle)</autodoc> | |
34727 | <paramlist> | |
34728 | <param name="handle" type="int" default=""/> | |
34729 | </paramlist> | |
34730 | </method> | |
34731 | <method name="GetUndoCollection" type="bool" overloaded="no"> | |
34732 | <autodoc>GetUndoCollection() -> bool</autodoc> | |
34733 | </method> | |
34734 | <method name="GetViewWhiteSpace" type="int" overloaded="no"> | |
34735 | <autodoc>GetViewWhiteSpace() -> int</autodoc> | |
34736 | </method> | |
34737 | <method name="SetViewWhiteSpace" type="" overloaded="no"> | |
34738 | <autodoc>SetViewWhiteSpace(int viewWS)</autodoc> | |
34739 | <paramlist> | |
34740 | <param name="viewWS" type="int" default=""/> | |
34741 | </paramlist> | |
34742 | </method> | |
34743 | <method name="PositionFromPoint" type="int" overloaded="no"> | |
34744 | <autodoc>PositionFromPoint(Point pt) -> int</autodoc> | |
34745 | <paramlist> | |
34746 | <param name="pt" type="Point" default=""/> | |
34747 | </paramlist> | |
34748 | </method> | |
34749 | <method name="PositionFromPointClose" type="int" overloaded="no"> | |
34750 | <autodoc>PositionFromPointClose(int x, int y) -> int</autodoc> | |
34751 | <paramlist> | |
34752 | <param name="x" type="int" default=""/> | |
34753 | <param name="y" type="int" default=""/> | |
34754 | </paramlist> | |
34755 | </method> | |
34756 | <method name="GotoLine" type="" overloaded="no"> | |
34757 | <autodoc>GotoLine(int line)</autodoc> | |
34758 | <paramlist> | |
34759 | <param name="line" type="int" default=""/> | |
34760 | </paramlist> | |
34761 | </method> | |
34762 | <method name="GotoPos" type="" overloaded="no"> | |
34763 | <autodoc>GotoPos(int pos)</autodoc> | |
34764 | <paramlist> | |
34765 | <param name="pos" type="int" default=""/> | |
34766 | </paramlist> | |
34767 | </method> | |
34768 | <method name="SetAnchor" type="" overloaded="no"> | |
34769 | <autodoc>SetAnchor(int posAnchor)</autodoc> | |
34770 | <paramlist> | |
34771 | <param name="posAnchor" type="int" default=""/> | |
34772 | </paramlist> | |
34773 | </method> | |
34774 | <method name="GetCurLine" type="String" overloaded="no"> | |
34775 | <autodoc>GetCurLine(int OUTPUT) -> String</autodoc> | |
34776 | <paramlist> | |
34777 | <param name="OUTPUT" type="int" default=""/> | |
34778 | </paramlist> | |
34779 | </method> | |
34780 | <method name="GetEndStyled" type="int" overloaded="no"> | |
34781 | <autodoc>GetEndStyled() -> int</autodoc> | |
34782 | </method> | |
34783 | <method name="ConvertEOLs" type="" overloaded="no"> | |
34784 | <autodoc>ConvertEOLs(int eolMode)</autodoc> | |
34785 | <paramlist> | |
34786 | <param name="eolMode" type="int" default=""/> | |
34787 | </paramlist> | |
34788 | </method> | |
34789 | <method name="GetEOLMode" type="int" overloaded="no"> | |
34790 | <autodoc>GetEOLMode() -> int</autodoc> | |
34791 | </method> | |
34792 | <method name="SetEOLMode" type="" overloaded="no"> | |
34793 | <autodoc>SetEOLMode(int eolMode)</autodoc> | |
34794 | <paramlist> | |
34795 | <param name="eolMode" type="int" default=""/> | |
34796 | </paramlist> | |
34797 | </method> | |
34798 | <method name="StartStyling" type="" overloaded="no"> | |
34799 | <autodoc>StartStyling(int pos, int mask)</autodoc> | |
34800 | <paramlist> | |
34801 | <param name="pos" type="int" default=""/> | |
34802 | <param name="mask" type="int" default=""/> | |
34803 | </paramlist> | |
34804 | </method> | |
34805 | <method name="SetStyling" type="" overloaded="no"> | |
34806 | <autodoc>SetStyling(int length, int style)</autodoc> | |
34807 | <paramlist> | |
34808 | <param name="length" type="int" default=""/> | |
34809 | <param name="style" type="int" default=""/> | |
34810 | </paramlist> | |
34811 | </method> | |
34812 | <method name="GetBufferedDraw" type="bool" overloaded="no"> | |
34813 | <autodoc>GetBufferedDraw() -> bool</autodoc> | |
34814 | </method> | |
34815 | <method name="SetBufferedDraw" type="" overloaded="no"> | |
34816 | <autodoc>SetBufferedDraw(bool buffered)</autodoc> | |
34817 | <paramlist> | |
34818 | <param name="buffered" type="bool" default=""/> | |
34819 | </paramlist> | |
34820 | </method> | |
34821 | <method name="SetTabWidth" type="" overloaded="no"> | |
34822 | <autodoc>SetTabWidth(int tabWidth)</autodoc> | |
34823 | <paramlist> | |
34824 | <param name="tabWidth" type="int" default=""/> | |
34825 | </paramlist> | |
34826 | </method> | |
34827 | <method name="GetTabWidth" type="int" overloaded="no"> | |
34828 | <autodoc>GetTabWidth() -> int</autodoc> | |
34829 | </method> | |
34830 | <method name="SetCodePage" type="" overloaded="no"> | |
34831 | <autodoc>SetCodePage(int codePage)</autodoc> | |
34832 | <paramlist> | |
34833 | <param name="codePage" type="int" default=""/> | |
34834 | </paramlist> | |
34835 | </method> | |
34836 | <method name="MarkerDefine" type="" overloaded="no"> | |
34837 | <autodoc>MarkerDefine(int markerNumber, int markerSymbol, Colour foreground=wxNullColour, | |
34838 | Colour background=wxNullColour)</autodoc> | |
34839 | <paramlist> | |
34840 | <param name="markerNumber" type="int" default=""/> | |
34841 | <param name="markerSymbol" type="int" default=""/> | |
34842 | <param name="foreground" type="Colour" default="wxNullColour"/> | |
34843 | <param name="background" type="Colour" default="wxNullColour"/> | |
34844 | </paramlist> | |
34845 | </method> | |
34846 | <method name="MarkerSetForeground" type="" overloaded="no"> | |
34847 | <autodoc>MarkerSetForeground(int markerNumber, Colour fore)</autodoc> | |
34848 | <paramlist> | |
34849 | <param name="markerNumber" type="int" default=""/> | |
34850 | <param name="fore" type="Colour" default=""/> | |
34851 | </paramlist> | |
34852 | </method> | |
34853 | <method name="MarkerSetBackground" type="" overloaded="no"> | |
34854 | <autodoc>MarkerSetBackground(int markerNumber, Colour back)</autodoc> | |
34855 | <paramlist> | |
34856 | <param name="markerNumber" type="int" default=""/> | |
34857 | <param name="back" type="Colour" default=""/> | |
34858 | </paramlist> | |
34859 | </method> | |
34860 | <method name="MarkerAdd" type="int" overloaded="no"> | |
34861 | <autodoc>MarkerAdd(int line, int markerNumber) -> int</autodoc> | |
34862 | <paramlist> | |
34863 | <param name="line" type="int" default=""/> | |
34864 | <param name="markerNumber" type="int" default=""/> | |
34865 | </paramlist> | |
34866 | </method> | |
34867 | <method name="MarkerDelete" type="" overloaded="no"> | |
34868 | <autodoc>MarkerDelete(int line, int markerNumber)</autodoc> | |
34869 | <paramlist> | |
34870 | <param name="line" type="int" default=""/> | |
34871 | <param name="markerNumber" type="int" default=""/> | |
34872 | </paramlist> | |
34873 | </method> | |
34874 | <method name="MarkerDeleteAll" type="" overloaded="no"> | |
34875 | <autodoc>MarkerDeleteAll(int markerNumber)</autodoc> | |
34876 | <paramlist> | |
34877 | <param name="markerNumber" type="int" default=""/> | |
34878 | </paramlist> | |
34879 | </method> | |
34880 | <method name="MarkerGet" type="int" overloaded="no"> | |
34881 | <autodoc>MarkerGet(int line) -> int</autodoc> | |
34882 | <paramlist> | |
34883 | <param name="line" type="int" default=""/> | |
34884 | </paramlist> | |
34885 | </method> | |
34886 | <method name="MarkerNext" type="int" overloaded="no"> | |
34887 | <autodoc>MarkerNext(int lineStart, int markerMask) -> int</autodoc> | |
34888 | <paramlist> | |
34889 | <param name="lineStart" type="int" default=""/> | |
34890 | <param name="markerMask" type="int" default=""/> | |
34891 | </paramlist> | |
34892 | </method> | |
34893 | <method name="MarkerPrevious" type="int" overloaded="no"> | |
34894 | <autodoc>MarkerPrevious(int lineStart, int markerMask) -> int</autodoc> | |
34895 | <paramlist> | |
34896 | <param name="lineStart" type="int" default=""/> | |
34897 | <param name="markerMask" type="int" default=""/> | |
34898 | </paramlist> | |
34899 | </method> | |
34900 | <method name="MarkerDefineBitmap" type="" overloaded="no"> | |
34901 | <autodoc>MarkerDefineBitmap(int markerNumber, Bitmap bmp)</autodoc> | |
34902 | <paramlist> | |
34903 | <param name="markerNumber" type="int" default=""/> | |
34904 | <param name="bmp" type="Bitmap" default=""/> | |
34905 | </paramlist> | |
34906 | </method> | |
34907 | <method name="SetMarginType" type="" overloaded="no"> | |
34908 | <autodoc>SetMarginType(int margin, int marginType)</autodoc> | |
34909 | <paramlist> | |
34910 | <param name="margin" type="int" default=""/> | |
34911 | <param name="marginType" type="int" default=""/> | |
34912 | </paramlist> | |
34913 | </method> | |
34914 | <method name="GetMarginType" type="int" overloaded="no"> | |
34915 | <autodoc>GetMarginType(int margin) -> int</autodoc> | |
34916 | <paramlist> | |
34917 | <param name="margin" type="int" default=""/> | |
34918 | </paramlist> | |
34919 | </method> | |
34920 | <method name="SetMarginWidth" type="" overloaded="no"> | |
34921 | <autodoc>SetMarginWidth(int margin, int pixelWidth)</autodoc> | |
34922 | <paramlist> | |
34923 | <param name="margin" type="int" default=""/> | |
34924 | <param name="pixelWidth" type="int" default=""/> | |
34925 | </paramlist> | |
34926 | </method> | |
34927 | <method name="GetMarginWidth" type="int" overloaded="no"> | |
34928 | <autodoc>GetMarginWidth(int margin) -> int</autodoc> | |
34929 | <paramlist> | |
34930 | <param name="margin" type="int" default=""/> | |
34931 | </paramlist> | |
34932 | </method> | |
34933 | <method name="SetMarginMask" type="" overloaded="no"> | |
34934 | <autodoc>SetMarginMask(int margin, int mask)</autodoc> | |
34935 | <paramlist> | |
34936 | <param name="margin" type="int" default=""/> | |
34937 | <param name="mask" type="int" default=""/> | |
34938 | </paramlist> | |
34939 | </method> | |
34940 | <method name="GetMarginMask" type="int" overloaded="no"> | |
34941 | <autodoc>GetMarginMask(int margin) -> int</autodoc> | |
34942 | <paramlist> | |
34943 | <param name="margin" type="int" default=""/> | |
34944 | </paramlist> | |
34945 | </method> | |
34946 | <method name="SetMarginSensitive" type="" overloaded="no"> | |
34947 | <autodoc>SetMarginSensitive(int margin, bool sensitive)</autodoc> | |
34948 | <paramlist> | |
34949 | <param name="margin" type="int" default=""/> | |
34950 | <param name="sensitive" type="bool" default=""/> | |
34951 | </paramlist> | |
34952 | </method> | |
34953 | <method name="GetMarginSensitive" type="bool" overloaded="no"> | |
34954 | <autodoc>GetMarginSensitive(int margin) -> bool</autodoc> | |
34955 | <paramlist> | |
34956 | <param name="margin" type="int" default=""/> | |
34957 | </paramlist> | |
34958 | </method> | |
34959 | <method name="StyleClearAll" type="" overloaded="no"> | |
34960 | <autodoc>StyleClearAll()</autodoc> | |
34961 | </method> | |
34962 | <method name="StyleSetForeground" type="" overloaded="no"> | |
34963 | <autodoc>StyleSetForeground(int style, Colour fore)</autodoc> | |
34964 | <paramlist> | |
34965 | <param name="style" type="int" default=""/> | |
34966 | <param name="fore" type="Colour" default=""/> | |
34967 | </paramlist> | |
34968 | </method> | |
34969 | <method name="StyleSetBackground" type="" overloaded="no"> | |
34970 | <autodoc>StyleSetBackground(int style, Colour back)</autodoc> | |
34971 | <paramlist> | |
34972 | <param name="style" type="int" default=""/> | |
34973 | <param name="back" type="Colour" default=""/> | |
34974 | </paramlist> | |
34975 | </method> | |
34976 | <method name="StyleSetBold" type="" overloaded="no"> | |
34977 | <autodoc>StyleSetBold(int style, bool bold)</autodoc> | |
34978 | <paramlist> | |
34979 | <param name="style" type="int" default=""/> | |
34980 | <param name="bold" type="bool" default=""/> | |
34981 | </paramlist> | |
34982 | </method> | |
34983 | <method name="StyleSetItalic" type="" overloaded="no"> | |
34984 | <autodoc>StyleSetItalic(int style, bool italic)</autodoc> | |
34985 | <paramlist> | |
34986 | <param name="style" type="int" default=""/> | |
34987 | <param name="italic" type="bool" default=""/> | |
34988 | </paramlist> | |
34989 | </method> | |
34990 | <method name="StyleSetSize" type="" overloaded="no"> | |
34991 | <autodoc>StyleSetSize(int style, int sizePoints)</autodoc> | |
34992 | <paramlist> | |
34993 | <param name="style" type="int" default=""/> | |
34994 | <param name="sizePoints" type="int" default=""/> | |
34995 | </paramlist> | |
34996 | </method> | |
34997 | <method name="StyleSetFaceName" type="" overloaded="no"> | |
34998 | <autodoc>StyleSetFaceName(int style, String fontName)</autodoc> | |
34999 | <paramlist> | |
35000 | <param name="style" type="int" default=""/> | |
35001 | <param name="fontName" type="String" default=""/> | |
35002 | </paramlist> | |
35003 | </method> | |
35004 | <method name="StyleSetEOLFilled" type="" overloaded="no"> | |
35005 | <autodoc>StyleSetEOLFilled(int style, bool filled)</autodoc> | |
35006 | <paramlist> | |
35007 | <param name="style" type="int" default=""/> | |
35008 | <param name="filled" type="bool" default=""/> | |
35009 | </paramlist> | |
35010 | </method> | |
35011 | <method name="StyleResetDefault" type="" overloaded="no"> | |
35012 | <autodoc>StyleResetDefault()</autodoc> | |
35013 | </method> | |
35014 | <method name="StyleSetUnderline" type="" overloaded="no"> | |
35015 | <autodoc>StyleSetUnderline(int style, bool underline)</autodoc> | |
35016 | <paramlist> | |
35017 | <param name="style" type="int" default=""/> | |
35018 | <param name="underline" type="bool" default=""/> | |
35019 | </paramlist> | |
35020 | </method> | |
35021 | <method name="StyleSetCase" type="" overloaded="no"> | |
35022 | <autodoc>StyleSetCase(int style, int caseForce)</autodoc> | |
35023 | <paramlist> | |
35024 | <param name="style" type="int" default=""/> | |
35025 | <param name="caseForce" type="int" default=""/> | |
35026 | </paramlist> | |
35027 | </method> | |
35028 | <method name="StyleSetCharacterSet" type="" overloaded="no"> | |
35029 | <autodoc>StyleSetCharacterSet(int style, int characterSet)</autodoc> | |
35030 | <paramlist> | |
35031 | <param name="style" type="int" default=""/> | |
35032 | <param name="characterSet" type="int" default=""/> | |
35033 | </paramlist> | |
35034 | </method> | |
35035 | <method name="StyleSetHotSpot" type="" overloaded="no"> | |
35036 | <autodoc>StyleSetHotSpot(int style, bool hotspot)</autodoc> | |
35037 | <paramlist> | |
35038 | <param name="style" type="int" default=""/> | |
35039 | <param name="hotspot" type="bool" default=""/> | |
35040 | </paramlist> | |
35041 | </method> | |
35042 | <method name="SetSelForeground" type="" overloaded="no"> | |
35043 | <autodoc>SetSelForeground(bool useSetting, Colour fore)</autodoc> | |
35044 | <paramlist> | |
35045 | <param name="useSetting" type="bool" default=""/> | |
35046 | <param name="fore" type="Colour" default=""/> | |
35047 | </paramlist> | |
35048 | </method> | |
35049 | <method name="SetSelBackground" type="" overloaded="no"> | |
35050 | <autodoc>SetSelBackground(bool useSetting, Colour back)</autodoc> | |
35051 | <paramlist> | |
35052 | <param name="useSetting" type="bool" default=""/> | |
35053 | <param name="back" type="Colour" default=""/> | |
35054 | </paramlist> | |
35055 | </method> | |
35056 | <method name="SetCaretForeground" type="" overloaded="no"> | |
35057 | <autodoc>SetCaretForeground(Colour fore)</autodoc> | |
35058 | <paramlist> | |
35059 | <param name="fore" type="Colour" default=""/> | |
35060 | </paramlist> | |
35061 | </method> | |
35062 | <method name="CmdKeyAssign" type="" overloaded="no"> | |
35063 | <autodoc>CmdKeyAssign(int key, int modifiers, int cmd)</autodoc> | |
35064 | <paramlist> | |
35065 | <param name="key" type="int" default=""/> | |
35066 | <param name="modifiers" type="int" default=""/> | |
35067 | <param name="cmd" type="int" default=""/> | |
35068 | </paramlist> | |
35069 | </method> | |
35070 | <method name="CmdKeyClear" type="" overloaded="no"> | |
35071 | <autodoc>CmdKeyClear(int key, int modifiers)</autodoc> | |
35072 | <paramlist> | |
35073 | <param name="key" type="int" default=""/> | |
35074 | <param name="modifiers" type="int" default=""/> | |
35075 | </paramlist> | |
35076 | </method> | |
35077 | <method name="CmdKeyClearAll" type="" overloaded="no"> | |
35078 | <autodoc>CmdKeyClearAll()</autodoc> | |
35079 | </method> | |
35080 | <method name="SetStyleBytes" type="" overloaded="no"> | |
35081 | <autodoc>SetStyleBytes(int length, char styleBytes)</autodoc> | |
35082 | <paramlist> | |
35083 | <param name="length" type="int" default=""/> | |
35084 | <param name="styleBytes" type="char" default=""/> | |
35085 | </paramlist> | |
35086 | </method> | |
35087 | <method name="StyleSetVisible" type="" overloaded="no"> | |
35088 | <autodoc>StyleSetVisible(int style, bool visible)</autodoc> | |
35089 | <paramlist> | |
35090 | <param name="style" type="int" default=""/> | |
35091 | <param name="visible" type="bool" default=""/> | |
35092 | </paramlist> | |
35093 | </method> | |
35094 | <method name="GetCaretPeriod" type="int" overloaded="no"> | |
35095 | <autodoc>GetCaretPeriod() -> int</autodoc> | |
35096 | </method> | |
35097 | <method name="SetCaretPeriod" type="" overloaded="no"> | |
35098 | <autodoc>SetCaretPeriod(int periodMilliseconds)</autodoc> | |
35099 | <paramlist> | |
35100 | <param name="periodMilliseconds" type="int" default=""/> | |
35101 | </paramlist> | |
35102 | </method> | |
35103 | <method name="SetWordChars" type="" overloaded="no"> | |
35104 | <autodoc>SetWordChars(String characters)</autodoc> | |
35105 | <paramlist> | |
35106 | <param name="characters" type="String" default=""/> | |
35107 | </paramlist> | |
35108 | </method> | |
35109 | <method name="BeginUndoAction" type="" overloaded="no"> | |
35110 | <autodoc>BeginUndoAction()</autodoc> | |
35111 | </method> | |
35112 | <method name="EndUndoAction" type="" overloaded="no"> | |
35113 | <autodoc>EndUndoAction()</autodoc> | |
35114 | </method> | |
35115 | <method name="IndicatorSetStyle" type="" overloaded="no"> | |
35116 | <autodoc>IndicatorSetStyle(int indic, int style)</autodoc> | |
35117 | <paramlist> | |
35118 | <param name="indic" type="int" default=""/> | |
35119 | <param name="style" type="int" default=""/> | |
35120 | </paramlist> | |
35121 | </method> | |
35122 | <method name="IndicatorGetStyle" type="int" overloaded="no"> | |
35123 | <autodoc>IndicatorGetStyle(int indic) -> int</autodoc> | |
35124 | <paramlist> | |
35125 | <param name="indic" type="int" default=""/> | |
35126 | </paramlist> | |
35127 | </method> | |
35128 | <method name="IndicatorSetForeground" type="" overloaded="no"> | |
35129 | <autodoc>IndicatorSetForeground(int indic, Colour fore)</autodoc> | |
35130 | <paramlist> | |
35131 | <param name="indic" type="int" default=""/> | |
35132 | <param name="fore" type="Colour" default=""/> | |
35133 | </paramlist> | |
35134 | </method> | |
35135 | <method name="IndicatorGetForeground" type="Colour" overloaded="no"> | |
35136 | <autodoc>IndicatorGetForeground(int indic) -> Colour</autodoc> | |
35137 | <paramlist> | |
35138 | <param name="indic" type="int" default=""/> | |
35139 | </paramlist> | |
35140 | </method> | |
35141 | <method name="SetWhitespaceForeground" type="" overloaded="no"> | |
35142 | <autodoc>SetWhitespaceForeground(bool useSetting, Colour fore)</autodoc> | |
35143 | <paramlist> | |
35144 | <param name="useSetting" type="bool" default=""/> | |
35145 | <param name="fore" type="Colour" default=""/> | |
35146 | </paramlist> | |
35147 | </method> | |
35148 | <method name="SetWhitespaceBackground" type="" overloaded="no"> | |
35149 | <autodoc>SetWhitespaceBackground(bool useSetting, Colour back)</autodoc> | |
35150 | <paramlist> | |
35151 | <param name="useSetting" type="bool" default=""/> | |
35152 | <param name="back" type="Colour" default=""/> | |
35153 | </paramlist> | |
35154 | </method> | |
35155 | <method name="SetStyleBits" type="" overloaded="no"> | |
35156 | <autodoc>SetStyleBits(int bits)</autodoc> | |
35157 | <paramlist> | |
35158 | <param name="bits" type="int" default=""/> | |
35159 | </paramlist> | |
35160 | </method> | |
35161 | <method name="GetStyleBits" type="int" overloaded="no"> | |
35162 | <autodoc>GetStyleBits() -> int</autodoc> | |
35163 | </method> | |
35164 | <method name="SetLineState" type="" overloaded="no"> | |
35165 | <autodoc>SetLineState(int line, int state)</autodoc> | |
35166 | <paramlist> | |
35167 | <param name="line" type="int" default=""/> | |
35168 | <param name="state" type="int" default=""/> | |
35169 | </paramlist> | |
35170 | </method> | |
35171 | <method name="GetLineState" type="int" overloaded="no"> | |
35172 | <autodoc>GetLineState(int line) -> int</autodoc> | |
35173 | <paramlist> | |
35174 | <param name="line" type="int" default=""/> | |
35175 | </paramlist> | |
35176 | </method> | |
35177 | <method name="GetMaxLineState" type="int" overloaded="no"> | |
35178 | <autodoc>GetMaxLineState() -> int</autodoc> | |
35179 | </method> | |
35180 | <method name="GetCaretLineVisible" type="bool" overloaded="no"> | |
35181 | <autodoc>GetCaretLineVisible() -> bool</autodoc> | |
35182 | </method> | |
35183 | <method name="SetCaretLineVisible" type="" overloaded="no"> | |
35184 | <autodoc>SetCaretLineVisible(bool show)</autodoc> | |
35185 | <paramlist> | |
35186 | <param name="show" type="bool" default=""/> | |
35187 | </paramlist> | |
35188 | </method> | |
35189 | <method name="GetCaretLineBack" type="Colour" overloaded="no"> | |
35190 | <autodoc>GetCaretLineBack() -> Colour</autodoc> | |
35191 | </method> | |
35192 | <method name="SetCaretLineBack" type="" overloaded="no"> | |
35193 | <autodoc>SetCaretLineBack(Colour back)</autodoc> | |
35194 | <paramlist> | |
35195 | <param name="back" type="Colour" default=""/> | |
35196 | </paramlist> | |
35197 | </method> | |
35198 | <method name="StyleSetChangeable" type="" overloaded="no"> | |
35199 | <autodoc>StyleSetChangeable(int style, bool changeable)</autodoc> | |
35200 | <paramlist> | |
35201 | <param name="style" type="int" default=""/> | |
35202 | <param name="changeable" type="bool" default=""/> | |
35203 | </paramlist> | |
35204 | </method> | |
35205 | <method name="AutoCompShow" type="" overloaded="no"> | |
35206 | <autodoc>AutoCompShow(int lenEntered, String itemList)</autodoc> | |
35207 | <paramlist> | |
35208 | <param name="lenEntered" type="int" default=""/> | |
35209 | <param name="itemList" type="String" default=""/> | |
35210 | </paramlist> | |
35211 | </method> | |
35212 | <method name="AutoCompCancel" type="" overloaded="no"> | |
35213 | <autodoc>AutoCompCancel()</autodoc> | |
35214 | </method> | |
35215 | <method name="AutoCompActive" type="bool" overloaded="no"> | |
35216 | <autodoc>AutoCompActive() -> bool</autodoc> | |
35217 | </method> | |
35218 | <method name="AutoCompPosStart" type="int" overloaded="no"> | |
35219 | <autodoc>AutoCompPosStart() -> int</autodoc> | |
35220 | </method> | |
35221 | <method name="AutoCompComplete" type="" overloaded="no"> | |
35222 | <autodoc>AutoCompComplete()</autodoc> | |
35223 | </method> | |
35224 | <method name="AutoCompStops" type="" overloaded="no"> | |
35225 | <autodoc>AutoCompStops(String characterSet)</autodoc> | |
35226 | <paramlist> | |
35227 | <param name="characterSet" type="String" default=""/> | |
35228 | </paramlist> | |
35229 | </method> | |
35230 | <method name="AutoCompSetSeparator" type="" overloaded="no"> | |
35231 | <autodoc>AutoCompSetSeparator(int separatorCharacter)</autodoc> | |
35232 | <paramlist> | |
35233 | <param name="separatorCharacter" type="int" default=""/> | |
35234 | </paramlist> | |
35235 | </method> | |
35236 | <method name="AutoCompGetSeparator" type="int" overloaded="no"> | |
35237 | <autodoc>AutoCompGetSeparator() -> int</autodoc> | |
35238 | </method> | |
35239 | <method name="AutoCompSelect" type="" overloaded="no"> | |
35240 | <autodoc>AutoCompSelect(String text)</autodoc> | |
35241 | <paramlist> | |
35242 | <param name="text" type="String" default=""/> | |
35243 | </paramlist> | |
35244 | </method> | |
35245 | <method name="AutoCompSetCancelAtStart" type="" overloaded="no"> | |
35246 | <autodoc>AutoCompSetCancelAtStart(bool cancel)</autodoc> | |
35247 | <paramlist> | |
35248 | <param name="cancel" type="bool" default=""/> | |
35249 | </paramlist> | |
35250 | </method> | |
35251 | <method name="AutoCompGetCancelAtStart" type="bool" overloaded="no"> | |
35252 | <autodoc>AutoCompGetCancelAtStart() -> bool</autodoc> | |
35253 | </method> | |
35254 | <method name="AutoCompSetFillUps" type="" overloaded="no"> | |
35255 | <autodoc>AutoCompSetFillUps(String characterSet)</autodoc> | |
35256 | <paramlist> | |
35257 | <param name="characterSet" type="String" default=""/> | |
35258 | </paramlist> | |
35259 | </method> | |
35260 | <method name="AutoCompSetChooseSingle" type="" overloaded="no"> | |
35261 | <autodoc>AutoCompSetChooseSingle(bool chooseSingle)</autodoc> | |
35262 | <paramlist> | |
35263 | <param name="chooseSingle" type="bool" default=""/> | |
35264 | </paramlist> | |
35265 | </method> | |
35266 | <method name="AutoCompGetChooseSingle" type="bool" overloaded="no"> | |
35267 | <autodoc>AutoCompGetChooseSingle() -> bool</autodoc> | |
35268 | </method> | |
35269 | <method name="AutoCompSetIgnoreCase" type="" overloaded="no"> | |
35270 | <autodoc>AutoCompSetIgnoreCase(bool ignoreCase)</autodoc> | |
35271 | <paramlist> | |
35272 | <param name="ignoreCase" type="bool" default=""/> | |
35273 | </paramlist> | |
35274 | </method> | |
35275 | <method name="AutoCompGetIgnoreCase" type="bool" overloaded="no"> | |
35276 | <autodoc>AutoCompGetIgnoreCase() -> bool</autodoc> | |
35277 | </method> | |
35278 | <method name="UserListShow" type="" overloaded="no"> | |
35279 | <autodoc>UserListShow(int listType, String itemList)</autodoc> | |
35280 | <paramlist> | |
35281 | <param name="listType" type="int" default=""/> | |
35282 | <param name="itemList" type="String" default=""/> | |
35283 | </paramlist> | |
35284 | </method> | |
35285 | <method name="AutoCompSetAutoHide" type="" overloaded="no"> | |
35286 | <autodoc>AutoCompSetAutoHide(bool autoHide)</autodoc> | |
35287 | <paramlist> | |
35288 | <param name="autoHide" type="bool" default=""/> | |
35289 | </paramlist> | |
35290 | </method> | |
35291 | <method name="AutoCompGetAutoHide" type="bool" overloaded="no"> | |
35292 | <autodoc>AutoCompGetAutoHide() -> bool</autodoc> | |
35293 | </method> | |
35294 | <method name="AutoCompSetDropRestOfWord" type="" overloaded="no"> | |
35295 | <autodoc>AutoCompSetDropRestOfWord(bool dropRestOfWord)</autodoc> | |
35296 | <paramlist> | |
35297 | <param name="dropRestOfWord" type="bool" default=""/> | |
35298 | </paramlist> | |
35299 | </method> | |
35300 | <method name="AutoCompGetDropRestOfWord" type="bool" overloaded="no"> | |
35301 | <autodoc>AutoCompGetDropRestOfWord() -> bool</autodoc> | |
35302 | </method> | |
35303 | <method name="RegisterImage" type="" overloaded="no"> | |
35304 | <autodoc>RegisterImage(int type, Bitmap bmp)</autodoc> | |
35305 | <paramlist> | |
35306 | <param name="type" type="int" default=""/> | |
35307 | <param name="bmp" type="Bitmap" default=""/> | |
35308 | </paramlist> | |
35309 | </method> | |
35310 | <method name="ClearRegisteredImages" type="" overloaded="no"> | |
35311 | <autodoc>ClearRegisteredImages()</autodoc> | |
35312 | </method> | |
35313 | <method name="AutoCompGetTypeSeparator" type="int" overloaded="no"> | |
35314 | <autodoc>AutoCompGetTypeSeparator() -> int</autodoc> | |
35315 | </method> | |
35316 | <method name="AutoCompSetTypeSeparator" type="" overloaded="no"> | |
35317 | <autodoc>AutoCompSetTypeSeparator(int separatorCharacter)</autodoc> | |
35318 | <paramlist> | |
35319 | <param name="separatorCharacter" type="int" default=""/> | |
35320 | </paramlist> | |
35321 | </method> | |
35322 | <method name="SetIndent" type="" overloaded="no"> | |
35323 | <autodoc>SetIndent(int indentSize)</autodoc> | |
35324 | <paramlist> | |
35325 | <param name="indentSize" type="int" default=""/> | |
35326 | </paramlist> | |
35327 | </method> | |
35328 | <method name="GetIndent" type="int" overloaded="no"> | |
35329 | <autodoc>GetIndent() -> int</autodoc> | |
35330 | </method> | |
35331 | <method name="SetUseTabs" type="" overloaded="no"> | |
35332 | <autodoc>SetUseTabs(bool useTabs)</autodoc> | |
35333 | <paramlist> | |
35334 | <param name="useTabs" type="bool" default=""/> | |
35335 | </paramlist> | |
35336 | </method> | |
35337 | <method name="GetUseTabs" type="bool" overloaded="no"> | |
35338 | <autodoc>GetUseTabs() -> bool</autodoc> | |
35339 | </method> | |
35340 | <method name="SetLineIndentation" type="" overloaded="no"> | |
35341 | <autodoc>SetLineIndentation(int line, int indentSize)</autodoc> | |
35342 | <paramlist> | |
35343 | <param name="line" type="int" default=""/> | |
35344 | <param name="indentSize" type="int" default=""/> | |
35345 | </paramlist> | |
35346 | </method> | |
35347 | <method name="GetLineIndentation" type="int" overloaded="no"> | |
35348 | <autodoc>GetLineIndentation(int line) -> int</autodoc> | |
35349 | <paramlist> | |
35350 | <param name="line" type="int" default=""/> | |
35351 | </paramlist> | |
35352 | </method> | |
35353 | <method name="GetLineIndentPosition" type="int" overloaded="no"> | |
35354 | <autodoc>GetLineIndentPosition(int line) -> int</autodoc> | |
35355 | <paramlist> | |
35356 | <param name="line" type="int" default=""/> | |
35357 | </paramlist> | |
35358 | </method> | |
35359 | <method name="GetColumn" type="int" overloaded="no"> | |
35360 | <autodoc>GetColumn(int pos) -> int</autodoc> | |
35361 | <paramlist> | |
35362 | <param name="pos" type="int" default=""/> | |
35363 | </paramlist> | |
35364 | </method> | |
35365 | <method name="SetUseHorizontalScrollBar" type="" overloaded="no"> | |
35366 | <autodoc>SetUseHorizontalScrollBar(bool show)</autodoc> | |
35367 | <paramlist> | |
35368 | <param name="show" type="bool" default=""/> | |
35369 | </paramlist> | |
35370 | </method> | |
35371 | <method name="GetUseHorizontalScrollBar" type="bool" overloaded="no"> | |
35372 | <autodoc>GetUseHorizontalScrollBar() -> bool</autodoc> | |
35373 | </method> | |
35374 | <method name="SetIndentationGuides" type="" overloaded="no"> | |
35375 | <autodoc>SetIndentationGuides(bool show)</autodoc> | |
35376 | <paramlist> | |
35377 | <param name="show" type="bool" default=""/> | |
35378 | </paramlist> | |
35379 | </method> | |
35380 | <method name="GetIndentationGuides" type="bool" overloaded="no"> | |
35381 | <autodoc>GetIndentationGuides() -> bool</autodoc> | |
35382 | </method> | |
35383 | <method name="SetHighlightGuide" type="" overloaded="no"> | |
35384 | <autodoc>SetHighlightGuide(int column)</autodoc> | |
35385 | <paramlist> | |
35386 | <param name="column" type="int" default=""/> | |
35387 | </paramlist> | |
35388 | </method> | |
35389 | <method name="GetHighlightGuide" type="int" overloaded="no"> | |
35390 | <autodoc>GetHighlightGuide() -> int</autodoc> | |
35391 | </method> | |
35392 | <method name="GetLineEndPosition" type="int" overloaded="no"> | |
35393 | <autodoc>GetLineEndPosition(int line) -> int</autodoc> | |
35394 | <paramlist> | |
35395 | <param name="line" type="int" default=""/> | |
35396 | </paramlist> | |
35397 | </method> | |
35398 | <method name="GetCodePage" type="int" overloaded="no"> | |
35399 | <autodoc>GetCodePage() -> int</autodoc> | |
35400 | </method> | |
35401 | <method name="GetCaretForeground" type="Colour" overloaded="no"> | |
35402 | <autodoc>GetCaretForeground() -> Colour</autodoc> | |
35403 | </method> | |
35404 | <method name="GetReadOnly" type="bool" overloaded="no"> | |
35405 | <autodoc>GetReadOnly() -> bool</autodoc> | |
35406 | </method> | |
35407 | <method name="SetCurrentPos" type="" overloaded="no"> | |
35408 | <autodoc>SetCurrentPos(int pos)</autodoc> | |
35409 | <paramlist> | |
35410 | <param name="pos" type="int" default=""/> | |
35411 | </paramlist> | |
35412 | </method> | |
35413 | <method name="SetSelectionStart" type="" overloaded="no"> | |
35414 | <autodoc>SetSelectionStart(int pos)</autodoc> | |
35415 | <paramlist> | |
35416 | <param name="pos" type="int" default=""/> | |
35417 | </paramlist> | |
35418 | </method> | |
35419 | <method name="GetSelectionStart" type="int" overloaded="no"> | |
35420 | <autodoc>GetSelectionStart() -> int</autodoc> | |
35421 | </method> | |
35422 | <method name="SetSelectionEnd" type="" overloaded="no"> | |
35423 | <autodoc>SetSelectionEnd(int pos)</autodoc> | |
35424 | <paramlist> | |
35425 | <param name="pos" type="int" default=""/> | |
35426 | </paramlist> | |
35427 | </method> | |
35428 | <method name="GetSelectionEnd" type="int" overloaded="no"> | |
35429 | <autodoc>GetSelectionEnd() -> int</autodoc> | |
35430 | </method> | |
35431 | <method name="SetPrintMagnification" type="" overloaded="no"> | |
35432 | <autodoc>SetPrintMagnification(int magnification)</autodoc> | |
35433 | <paramlist> | |
35434 | <param name="magnification" type="int" default=""/> | |
35435 | </paramlist> | |
35436 | </method> | |
35437 | <method name="GetPrintMagnification" type="int" overloaded="no"> | |
35438 | <autodoc>GetPrintMagnification() -> int</autodoc> | |
35439 | </method> | |
35440 | <method name="SetPrintColourMode" type="" overloaded="no"> | |
35441 | <autodoc>SetPrintColourMode(int mode)</autodoc> | |
35442 | <paramlist> | |
35443 | <param name="mode" type="int" default=""/> | |
35444 | </paramlist> | |
35445 | </method> | |
35446 | <method name="GetPrintColourMode" type="int" overloaded="no"> | |
35447 | <autodoc>GetPrintColourMode() -> int</autodoc> | |
35448 | </method> | |
35449 | <method name="FindText" type="int" overloaded="no"> | |
35450 | <autodoc>FindText(int minPos, int maxPos, String text, int flags=0) -> int</autodoc> | |
35451 | <paramlist> | |
35452 | <param name="minPos" type="int" default=""/> | |
35453 | <param name="maxPos" type="int" default=""/> | |
35454 | <param name="text" type="String" default=""/> | |
35455 | <param name="flags" type="int" default="0"/> | |
35456 | </paramlist> | |
35457 | </method> | |
35458 | <method name="FormatRange" type="int" overloaded="no"> | |
35459 | <autodoc>FormatRange(bool doDraw, int startPos, int endPos, DC draw, DC target, | |
35460 | Rect renderRect, Rect pageRect) -> int</autodoc> | |
35461 | <paramlist> | |
35462 | <param name="doDraw" type="bool" default=""/> | |
35463 | <param name="startPos" type="int" default=""/> | |
35464 | <param name="endPos" type="int" default=""/> | |
35465 | <param name="draw" type="DC" default=""/> | |
35466 | <param name="target" type="DC" default=""/> | |
35467 | <param name="renderRect" type="Rect" default=""/> | |
35468 | <param name="pageRect" type="Rect" default=""/> | |
35469 | </paramlist> | |
35470 | </method> | |
35471 | <method name="GetFirstVisibleLine" type="int" overloaded="no"> | |
35472 | <autodoc>GetFirstVisibleLine() -> int</autodoc> | |
35473 | </method> | |
35474 | <method name="GetLine" type="String" overloaded="no"> | |
35475 | <autodoc>GetLine(int line) -> String</autodoc> | |
35476 | <paramlist> | |
35477 | <param name="line" type="int" default=""/> | |
35478 | </paramlist> | |
35479 | </method> | |
35480 | <method name="GetLineCount" type="int" overloaded="no"> | |
35481 | <autodoc>GetLineCount() -> int</autodoc> | |
35482 | </method> | |
35483 | <method name="SetMarginLeft" type="" overloaded="no"> | |
35484 | <autodoc>SetMarginLeft(int pixelWidth)</autodoc> | |
35485 | <paramlist> | |
35486 | <param name="pixelWidth" type="int" default=""/> | |
35487 | </paramlist> | |
35488 | </method> | |
35489 | <method name="GetMarginLeft" type="int" overloaded="no"> | |
35490 | <autodoc>GetMarginLeft() -> int</autodoc> | |
35491 | </method> | |
35492 | <method name="SetMarginRight" type="" overloaded="no"> | |
35493 | <autodoc>SetMarginRight(int pixelWidth)</autodoc> | |
35494 | <paramlist> | |
35495 | <param name="pixelWidth" type="int" default=""/> | |
35496 | </paramlist> | |
35497 | </method> | |
35498 | <method name="GetMarginRight" type="int" overloaded="no"> | |
35499 | <autodoc>GetMarginRight() -> int</autodoc> | |
35500 | </method> | |
35501 | <method name="GetModify" type="bool" overloaded="no"> | |
35502 | <autodoc>GetModify() -> bool</autodoc> | |
35503 | </method> | |
35504 | <method name="SetSelection" type="" overloaded="no"> | |
35505 | <autodoc>SetSelection(int start, int end)</autodoc> | |
35506 | <paramlist> | |
35507 | <param name="start" type="int" default=""/> | |
35508 | <param name="end" type="int" default=""/> | |
35509 | </paramlist> | |
35510 | </method> | |
35511 | <method name="GetSelectedText" type="String" overloaded="no"> | |
35512 | <autodoc>GetSelectedText() -> String</autodoc> | |
35513 | </method> | |
35514 | <method name="GetTextRange" type="String" overloaded="no"> | |
35515 | <autodoc>GetTextRange(int startPos, int endPos) -> String</autodoc> | |
35516 | <paramlist> | |
35517 | <param name="startPos" type="int" default=""/> | |
35518 | <param name="endPos" type="int" default=""/> | |
35519 | </paramlist> | |
35520 | </method> | |
35521 | <method name="HideSelection" type="" overloaded="no"> | |
35522 | <autodoc>HideSelection(bool normal)</autodoc> | |
35523 | <paramlist> | |
35524 | <param name="normal" type="bool" default=""/> | |
35525 | </paramlist> | |
35526 | </method> | |
35527 | <method name="LineFromPosition" type="int" overloaded="no"> | |
35528 | <autodoc>LineFromPosition(int pos) -> int</autodoc> | |
35529 | <paramlist> | |
35530 | <param name="pos" type="int" default=""/> | |
35531 | </paramlist> | |
35532 | </method> | |
35533 | <method name="PositionFromLine" type="int" overloaded="no"> | |
35534 | <autodoc>PositionFromLine(int line) -> int</autodoc> | |
35535 | <paramlist> | |
35536 | <param name="line" type="int" default=""/> | |
35537 | </paramlist> | |
35538 | </method> | |
35539 | <method name="LineScroll" type="" overloaded="no"> | |
35540 | <autodoc>LineScroll(int columns, int lines)</autodoc> | |
35541 | <paramlist> | |
35542 | <param name="columns" type="int" default=""/> | |
35543 | <param name="lines" type="int" default=""/> | |
35544 | </paramlist> | |
35545 | </method> | |
35546 | <method name="EnsureCaretVisible" type="" overloaded="no"> | |
35547 | <autodoc>EnsureCaretVisible()</autodoc> | |
35548 | </method> | |
35549 | <method name="ReplaceSelection" type="" overloaded="no"> | |
35550 | <autodoc>ReplaceSelection(String text)</autodoc> | |
35551 | <paramlist> | |
35552 | <param name="text" type="String" default=""/> | |
35553 | </paramlist> | |
35554 | </method> | |
35555 | <method name="SetReadOnly" type="" overloaded="no"> | |
35556 | <autodoc>SetReadOnly(bool readOnly)</autodoc> | |
35557 | <paramlist> | |
35558 | <param name="readOnly" type="bool" default=""/> | |
35559 | </paramlist> | |
35560 | </method> | |
35561 | <method name="CanPaste" type="bool" overloaded="no"> | |
35562 | <autodoc>CanPaste() -> bool</autodoc> | |
35563 | </method> | |
35564 | <method name="CanUndo" type="bool" overloaded="no"> | |
35565 | <autodoc>CanUndo() -> bool</autodoc> | |
35566 | </method> | |
35567 | <method name="EmptyUndoBuffer" type="" overloaded="no"> | |
35568 | <autodoc>EmptyUndoBuffer()</autodoc> | |
35569 | </method> | |
35570 | <method name="Undo" type="" overloaded="no"> | |
35571 | <autodoc>Undo()</autodoc> | |
35572 | </method> | |
35573 | <method name="Cut" type="" overloaded="no"> | |
35574 | <autodoc>Cut()</autodoc> | |
35575 | </method> | |
35576 | <method name="Copy" type="" overloaded="no"> | |
35577 | <autodoc>Copy()</autodoc> | |
35578 | </method> | |
35579 | <method name="Paste" type="" overloaded="no"> | |
35580 | <autodoc>Paste()</autodoc> | |
35581 | </method> | |
35582 | <method name="Clear" type="" overloaded="no"> | |
35583 | <autodoc>Clear()</autodoc> | |
35584 | </method> | |
35585 | <method name="SetText" type="" overloaded="no"> | |
35586 | <autodoc>SetText(String text)</autodoc> | |
35587 | <paramlist> | |
35588 | <param name="text" type="String" default=""/> | |
35589 | </paramlist> | |
35590 | </method> | |
35591 | <method name="GetText" type="String" overloaded="no"> | |
35592 | <autodoc>GetText() -> String</autodoc> | |
35593 | </method> | |
35594 | <method name="GetTextLength" type="int" overloaded="no"> | |
35595 | <autodoc>GetTextLength() -> int</autodoc> | |
35596 | </method> | |
35597 | <method name="SetOvertype" type="" overloaded="no"> | |
35598 | <autodoc>SetOvertype(bool overtype)</autodoc> | |
35599 | <paramlist> | |
35600 | <param name="overtype" type="bool" default=""/> | |
35601 | </paramlist> | |
35602 | </method> | |
35603 | <method name="GetOvertype" type="bool" overloaded="no"> | |
35604 | <autodoc>GetOvertype() -> bool</autodoc> | |
35605 | </method> | |
35606 | <method name="SetCaretWidth" type="" overloaded="no"> | |
35607 | <autodoc>SetCaretWidth(int pixelWidth)</autodoc> | |
35608 | <paramlist> | |
35609 | <param name="pixelWidth" type="int" default=""/> | |
35610 | </paramlist> | |
35611 | </method> | |
35612 | <method name="GetCaretWidth" type="int" overloaded="no"> | |
35613 | <autodoc>GetCaretWidth() -> int</autodoc> | |
35614 | </method> | |
35615 | <method name="SetTargetStart" type="" overloaded="no"> | |
35616 | <autodoc>SetTargetStart(int pos)</autodoc> | |
35617 | <paramlist> | |
35618 | <param name="pos" type="int" default=""/> | |
35619 | </paramlist> | |
35620 | </method> | |
35621 | <method name="GetTargetStart" type="int" overloaded="no"> | |
35622 | <autodoc>GetTargetStart() -> int</autodoc> | |
35623 | </method> | |
35624 | <method name="SetTargetEnd" type="" overloaded="no"> | |
35625 | <autodoc>SetTargetEnd(int pos)</autodoc> | |
35626 | <paramlist> | |
35627 | <param name="pos" type="int" default=""/> | |
35628 | </paramlist> | |
35629 | </method> | |
35630 | <method name="GetTargetEnd" type="int" overloaded="no"> | |
35631 | <autodoc>GetTargetEnd() -> int</autodoc> | |
35632 | </method> | |
35633 | <method name="ReplaceTarget" type="int" overloaded="no"> | |
35634 | <autodoc>ReplaceTarget(String text) -> int</autodoc> | |
35635 | <paramlist> | |
35636 | <param name="text" type="String" default=""/> | |
35637 | </paramlist> | |
35638 | </method> | |
35639 | <method name="ReplaceTargetRE" type="int" overloaded="no"> | |
35640 | <autodoc>ReplaceTargetRE(String text) -> int</autodoc> | |
35641 | <paramlist> | |
35642 | <param name="text" type="String" default=""/> | |
35643 | </paramlist> | |
35644 | </method> | |
35645 | <method name="SearchInTarget" type="int" overloaded="no"> | |
35646 | <autodoc>SearchInTarget(String text) -> int</autodoc> | |
35647 | <paramlist> | |
35648 | <param name="text" type="String" default=""/> | |
35649 | </paramlist> | |
35650 | </method> | |
35651 | <method name="SetSearchFlags" type="" overloaded="no"> | |
35652 | <autodoc>SetSearchFlags(int flags)</autodoc> | |
35653 | <paramlist> | |
35654 | <param name="flags" type="int" default=""/> | |
35655 | </paramlist> | |
35656 | </method> | |
35657 | <method name="GetSearchFlags" type="int" overloaded="no"> | |
35658 | <autodoc>GetSearchFlags() -> int</autodoc> | |
35659 | </method> | |
35660 | <method name="CallTipShow" type="" overloaded="no"> | |
35661 | <autodoc>CallTipShow(int pos, String definition)</autodoc> | |
35662 | <paramlist> | |
35663 | <param name="pos" type="int" default=""/> | |
35664 | <param name="definition" type="String" default=""/> | |
35665 | </paramlist> | |
35666 | </method> | |
35667 | <method name="CallTipCancel" type="" overloaded="no"> | |
35668 | <autodoc>CallTipCancel()</autodoc> | |
35669 | </method> | |
35670 | <method name="CallTipActive" type="bool" overloaded="no"> | |
35671 | <autodoc>CallTipActive() -> bool</autodoc> | |
35672 | </method> | |
35673 | <method name="CallTipPosAtStart" type="int" overloaded="no"> | |
35674 | <autodoc>CallTipPosAtStart() -> int</autodoc> | |
35675 | </method> | |
35676 | <method name="CallTipSetHighlight" type="" overloaded="no"> | |
35677 | <autodoc>CallTipSetHighlight(int start, int end)</autodoc> | |
35678 | <paramlist> | |
35679 | <param name="start" type="int" default=""/> | |
35680 | <param name="end" type="int" default=""/> | |
35681 | </paramlist> | |
35682 | </method> | |
35683 | <method name="CallTipSetBackground" type="" overloaded="no"> | |
35684 | <autodoc>CallTipSetBackground(Colour back)</autodoc> | |
35685 | <paramlist> | |
35686 | <param name="back" type="Colour" default=""/> | |
35687 | </paramlist> | |
35688 | </method> | |
35689 | <method name="CallTipSetForeground" type="" overloaded="no"> | |
35690 | <autodoc>CallTipSetForeground(Colour fore)</autodoc> | |
35691 | <paramlist> | |
35692 | <param name="fore" type="Colour" default=""/> | |
35693 | </paramlist> | |
35694 | </method> | |
35695 | <method name="CallTipSetForegroundHighlight" type="" overloaded="no"> | |
35696 | <autodoc>CallTipSetForegroundHighlight(Colour fore)</autodoc> | |
35697 | <paramlist> | |
35698 | <param name="fore" type="Colour" default=""/> | |
35699 | </paramlist> | |
35700 | </method> | |
35701 | <method name="VisibleFromDocLine" type="int" overloaded="no"> | |
35702 | <autodoc>VisibleFromDocLine(int line) -> int</autodoc> | |
35703 | <paramlist> | |
35704 | <param name="line" type="int" default=""/> | |
35705 | </paramlist> | |
35706 | </method> | |
35707 | <method name="DocLineFromVisible" type="int" overloaded="no"> | |
35708 | <autodoc>DocLineFromVisible(int lineDisplay) -> int</autodoc> | |
35709 | <paramlist> | |
35710 | <param name="lineDisplay" type="int" default=""/> | |
35711 | </paramlist> | |
35712 | </method> | |
35713 | <method name="SetFoldLevel" type="" overloaded="no"> | |
35714 | <autodoc>SetFoldLevel(int line, int level)</autodoc> | |
35715 | <paramlist> | |
35716 | <param name="line" type="int" default=""/> | |
35717 | <param name="level" type="int" default=""/> | |
35718 | </paramlist> | |
35719 | </method> | |
35720 | <method name="GetFoldLevel" type="int" overloaded="no"> | |
35721 | <autodoc>GetFoldLevel(int line) -> int</autodoc> | |
35722 | <paramlist> | |
35723 | <param name="line" type="int" default=""/> | |
35724 | </paramlist> | |
35725 | </method> | |
35726 | <method name="GetLastChild" type="int" overloaded="no"> | |
35727 | <autodoc>GetLastChild(int line, int level) -> int</autodoc> | |
35728 | <paramlist> | |
35729 | <param name="line" type="int" default=""/> | |
35730 | <param name="level" type="int" default=""/> | |
35731 | </paramlist> | |
35732 | </method> | |
35733 | <method name="GetFoldParent" type="int" overloaded="no"> | |
35734 | <autodoc>GetFoldParent(int line) -> int</autodoc> | |
35735 | <paramlist> | |
35736 | <param name="line" type="int" default=""/> | |
35737 | </paramlist> | |
35738 | </method> | |
35739 | <method name="ShowLines" type="" overloaded="no"> | |
35740 | <autodoc>ShowLines(int lineStart, int lineEnd)</autodoc> | |
35741 | <paramlist> | |
35742 | <param name="lineStart" type="int" default=""/> | |
35743 | <param name="lineEnd" type="int" default=""/> | |
35744 | </paramlist> | |
35745 | </method> | |
35746 | <method name="HideLines" type="" overloaded="no"> | |
35747 | <autodoc>HideLines(int lineStart, int lineEnd)</autodoc> | |
35748 | <paramlist> | |
35749 | <param name="lineStart" type="int" default=""/> | |
35750 | <param name="lineEnd" type="int" default=""/> | |
35751 | </paramlist> | |
35752 | </method> | |
35753 | <method name="GetLineVisible" type="bool" overloaded="no"> | |
35754 | <autodoc>GetLineVisible(int line) -> bool</autodoc> | |
35755 | <paramlist> | |
35756 | <param name="line" type="int" default=""/> | |
35757 | </paramlist> | |
35758 | </method> | |
35759 | <method name="SetFoldExpanded" type="" overloaded="no"> | |
35760 | <autodoc>SetFoldExpanded(int line, bool expanded)</autodoc> | |
35761 | <paramlist> | |
35762 | <param name="line" type="int" default=""/> | |
35763 | <param name="expanded" type="bool" default=""/> | |
35764 | </paramlist> | |
35765 | </method> | |
35766 | <method name="GetFoldExpanded" type="bool" overloaded="no"> | |
35767 | <autodoc>GetFoldExpanded(int line) -> bool</autodoc> | |
35768 | <paramlist> | |
35769 | <param name="line" type="int" default=""/> | |
35770 | </paramlist> | |
35771 | </method> | |
35772 | <method name="ToggleFold" type="" overloaded="no"> | |
35773 | <autodoc>ToggleFold(int line)</autodoc> | |
35774 | <paramlist> | |
35775 | <param name="line" type="int" default=""/> | |
35776 | </paramlist> | |
35777 | </method> | |
35778 | <method name="EnsureVisible" type="" overloaded="no"> | |
35779 | <autodoc>EnsureVisible(int line)</autodoc> | |
35780 | <paramlist> | |
35781 | <param name="line" type="int" default=""/> | |
35782 | </paramlist> | |
35783 | </method> | |
35784 | <method name="SetFoldFlags" type="" overloaded="no"> | |
35785 | <autodoc>SetFoldFlags(int flags)</autodoc> | |
35786 | <paramlist> | |
35787 | <param name="flags" type="int" default=""/> | |
35788 | </paramlist> | |
35789 | </method> | |
35790 | <method name="EnsureVisibleEnforcePolicy" type="" overloaded="no"> | |
35791 | <autodoc>EnsureVisibleEnforcePolicy(int line)</autodoc> | |
35792 | <paramlist> | |
35793 | <param name="line" type="int" default=""/> | |
35794 | </paramlist> | |
35795 | </method> | |
35796 | <method name="SetTabIndents" type="" overloaded="no"> | |
35797 | <autodoc>SetTabIndents(bool tabIndents)</autodoc> | |
35798 | <paramlist> | |
35799 | <param name="tabIndents" type="bool" default=""/> | |
35800 | </paramlist> | |
35801 | </method> | |
35802 | <method name="GetTabIndents" type="bool" overloaded="no"> | |
35803 | <autodoc>GetTabIndents() -> bool</autodoc> | |
35804 | </method> | |
35805 | <method name="SetBackSpaceUnIndents" type="" overloaded="no"> | |
35806 | <autodoc>SetBackSpaceUnIndents(bool bsUnIndents)</autodoc> | |
35807 | <paramlist> | |
35808 | <param name="bsUnIndents" type="bool" default=""/> | |
35809 | </paramlist> | |
35810 | </method> | |
35811 | <method name="GetBackSpaceUnIndents" type="bool" overloaded="no"> | |
35812 | <autodoc>GetBackSpaceUnIndents() -> bool</autodoc> | |
35813 | </method> | |
35814 | <method name="SetMouseDwellTime" type="" overloaded="no"> | |
35815 | <autodoc>SetMouseDwellTime(int periodMilliseconds)</autodoc> | |
35816 | <paramlist> | |
35817 | <param name="periodMilliseconds" type="int" default=""/> | |
35818 | </paramlist> | |
35819 | </method> | |
35820 | <method name="GetMouseDwellTime" type="int" overloaded="no"> | |
35821 | <autodoc>GetMouseDwellTime() -> int</autodoc> | |
35822 | </method> | |
35823 | <method name="WordStartPosition" type="int" overloaded="no"> | |
35824 | <autodoc>WordStartPosition(int pos, bool onlyWordCharacters) -> int</autodoc> | |
35825 | <paramlist> | |
35826 | <param name="pos" type="int" default=""/> | |
35827 | <param name="onlyWordCharacters" type="bool" default=""/> | |
35828 | </paramlist> | |
35829 | </method> | |
35830 | <method name="WordEndPosition" type="int" overloaded="no"> | |
35831 | <autodoc>WordEndPosition(int pos, bool onlyWordCharacters) -> int</autodoc> | |
35832 | <paramlist> | |
35833 | <param name="pos" type="int" default=""/> | |
35834 | <param name="onlyWordCharacters" type="bool" default=""/> | |
35835 | </paramlist> | |
35836 | </method> | |
35837 | <method name="SetWrapMode" type="" overloaded="no"> | |
35838 | <autodoc>SetWrapMode(int mode)</autodoc> | |
35839 | <paramlist> | |
35840 | <param name="mode" type="int" default=""/> | |
35841 | </paramlist> | |
35842 | </method> | |
35843 | <method name="GetWrapMode" type="int" overloaded="no"> | |
35844 | <autodoc>GetWrapMode() -> int</autodoc> | |
35845 | </method> | |
35846 | <method name="SetLayoutCache" type="" overloaded="no"> | |
35847 | <autodoc>SetLayoutCache(int mode)</autodoc> | |
35848 | <paramlist> | |
35849 | <param name="mode" type="int" default=""/> | |
35850 | </paramlist> | |
35851 | </method> | |
35852 | <method name="GetLayoutCache" type="int" overloaded="no"> | |
35853 | <autodoc>GetLayoutCache() -> int</autodoc> | |
35854 | </method> | |
35855 | <method name="SetScrollWidth" type="" overloaded="no"> | |
35856 | <autodoc>SetScrollWidth(int pixelWidth)</autodoc> | |
35857 | <paramlist> | |
35858 | <param name="pixelWidth" type="int" default=""/> | |
35859 | </paramlist> | |
35860 | </method> | |
35861 | <method name="GetScrollWidth" type="int" overloaded="no"> | |
35862 | <autodoc>GetScrollWidth() -> int</autodoc> | |
35863 | </method> | |
35864 | <method name="TextWidth" type="int" overloaded="no"> | |
35865 | <autodoc>TextWidth(int style, String text) -> int</autodoc> | |
35866 | <paramlist> | |
35867 | <param name="style" type="int" default=""/> | |
35868 | <param name="text" type="String" default=""/> | |
35869 | </paramlist> | |
35870 | </method> | |
35871 | <method name="SetEndAtLastLine" type="" overloaded="no"> | |
35872 | <autodoc>SetEndAtLastLine(bool endAtLastLine)</autodoc> | |
35873 | <paramlist> | |
35874 | <param name="endAtLastLine" type="bool" default=""/> | |
35875 | </paramlist> | |
35876 | </method> | |
35877 | <method name="GetEndAtLastLine" type="int" overloaded="no"> | |
35878 | <autodoc>GetEndAtLastLine() -> int</autodoc> | |
35879 | </method> | |
35880 | <method name="TextHeight" type="int" overloaded="no"> | |
35881 | <autodoc>TextHeight(int line) -> int</autodoc> | |
35882 | <paramlist> | |
35883 | <param name="line" type="int" default=""/> | |
35884 | </paramlist> | |
35885 | </method> | |
35886 | <method name="SetUseVerticalScrollBar" type="" overloaded="no"> | |
35887 | <autodoc>SetUseVerticalScrollBar(bool show)</autodoc> | |
35888 | <paramlist> | |
35889 | <param name="show" type="bool" default=""/> | |
35890 | </paramlist> | |
35891 | </method> | |
35892 | <method name="GetUseVerticalScrollBar" type="bool" overloaded="no"> | |
35893 | <autodoc>GetUseVerticalScrollBar() -> bool</autodoc> | |
35894 | </method> | |
35895 | <method name="AppendText" type="" overloaded="no"> | |
35896 | <autodoc>AppendText(int length, String text)</autodoc> | |
35897 | <paramlist> | |
35898 | <param name="length" type="int" default=""/> | |
35899 | <param name="text" type="String" default=""/> | |
35900 | </paramlist> | |
35901 | </method> | |
35902 | <method name="GetTwoPhaseDraw" type="bool" overloaded="no"> | |
35903 | <autodoc>GetTwoPhaseDraw() -> bool</autodoc> | |
35904 | </method> | |
35905 | <method name="SetTwoPhaseDraw" type="" overloaded="no"> | |
35906 | <autodoc>SetTwoPhaseDraw(bool twoPhase)</autodoc> | |
35907 | <paramlist> | |
35908 | <param name="twoPhase" type="bool" default=""/> | |
35909 | </paramlist> | |
35910 | </method> | |
35911 | <method name="TargetFromSelection" type="" overloaded="no"> | |
35912 | <autodoc>TargetFromSelection()</autodoc> | |
35913 | </method> | |
35914 | <method name="LinesJoin" type="" overloaded="no"> | |
35915 | <autodoc>LinesJoin()</autodoc> | |
35916 | </method> | |
35917 | <method name="LinesSplit" type="" overloaded="no"> | |
35918 | <autodoc>LinesSplit(int pixelWidth)</autodoc> | |
35919 | <paramlist> | |
35920 | <param name="pixelWidth" type="int" default=""/> | |
35921 | </paramlist> | |
35922 | </method> | |
35923 | <method name="SetFoldMarginColour" type="" overloaded="no"> | |
35924 | <autodoc>SetFoldMarginColour(bool useSetting, Colour back)</autodoc> | |
35925 | <paramlist> | |
35926 | <param name="useSetting" type="bool" default=""/> | |
35927 | <param name="back" type="Colour" default=""/> | |
35928 | </paramlist> | |
35929 | </method> | |
35930 | <method name="SetFoldMarginHiColour" type="" overloaded="no"> | |
35931 | <autodoc>SetFoldMarginHiColour(bool useSetting, Colour fore)</autodoc> | |
35932 | <paramlist> | |
35933 | <param name="useSetting" type="bool" default=""/> | |
35934 | <param name="fore" type="Colour" default=""/> | |
35935 | </paramlist> | |
35936 | </method> | |
b39e211b RD |
35937 | <method name="LineDown" type="" overloaded="no"> |
35938 | <autodoc>LineDown()</autodoc> | |
35939 | <docstring>This is just a wrapper for ScrollLines(1).</docstring> | |
35940 | </method> | |
35941 | <method name="LineDownExtend" type="" overloaded="no"> | |
35942 | <autodoc>LineDownExtend()</autodoc> | |
35943 | </method> | |
35944 | <method name="LineUp" type="" overloaded="no"> | |
35945 | <autodoc>LineUp()</autodoc> | |
35946 | <docstring>This is just a wrapper for ScrollLines(-1).</docstring> | |
35947 | </method> | |
35948 | <method name="LineUpExtend" type="" overloaded="no"> | |
35949 | <autodoc>LineUpExtend()</autodoc> | |
35950 | </method> | |
35951 | <method name="CharLeft" type="" overloaded="no"> | |
35952 | <autodoc>CharLeft()</autodoc> | |
35953 | </method> | |
35954 | <method name="CharLeftExtend" type="" overloaded="no"> | |
35955 | <autodoc>CharLeftExtend()</autodoc> | |
35956 | </method> | |
35957 | <method name="CharRight" type="" overloaded="no"> | |
35958 | <autodoc>CharRight()</autodoc> | |
35959 | </method> | |
35960 | <method name="CharRightExtend" type="" overloaded="no"> | |
35961 | <autodoc>CharRightExtend()</autodoc> | |
35962 | </method> | |
35963 | <method name="WordLeft" type="" overloaded="no"> | |
35964 | <autodoc>WordLeft()</autodoc> | |
35965 | </method> | |
35966 | <method name="WordLeftExtend" type="" overloaded="no"> | |
35967 | <autodoc>WordLeftExtend()</autodoc> | |
35968 | </method> | |
35969 | <method name="WordRight" type="" overloaded="no"> | |
35970 | <autodoc>WordRight()</autodoc> | |
35971 | </method> | |
35972 | <method name="WordRightExtend" type="" overloaded="no"> | |
35973 | <autodoc>WordRightExtend()</autodoc> | |
35974 | </method> | |
35975 | <method name="Home" type="" overloaded="no"> | |
35976 | <autodoc>Home()</autodoc> | |
35977 | </method> | |
35978 | <method name="HomeExtend" type="" overloaded="no"> | |
35979 | <autodoc>HomeExtend()</autodoc> | |
35980 | </method> | |
35981 | <method name="LineEnd" type="" overloaded="no"> | |
35982 | <autodoc>LineEnd()</autodoc> | |
35983 | </method> | |
35984 | <method name="LineEndExtend" type="" overloaded="no"> | |
35985 | <autodoc>LineEndExtend()</autodoc> | |
35986 | </method> | |
35987 | <method name="DocumentStart" type="" overloaded="no"> | |
35988 | <autodoc>DocumentStart()</autodoc> | |
35989 | </method> | |
35990 | <method name="DocumentStartExtend" type="" overloaded="no"> | |
35991 | <autodoc>DocumentStartExtend()</autodoc> | |
35992 | </method> | |
35993 | <method name="DocumentEnd" type="" overloaded="no"> | |
35994 | <autodoc>DocumentEnd()</autodoc> | |
35995 | </method> | |
35996 | <method name="DocumentEndExtend" type="" overloaded="no"> | |
35997 | <autodoc>DocumentEndExtend()</autodoc> | |
35998 | </method> | |
35999 | <method name="PageUp" type="" overloaded="no"> | |
36000 | <autodoc>PageUp()</autodoc> | |
36001 | <docstring>This is just a wrapper for ScrollPages(-1).</docstring> | |
36002 | </method> | |
36003 | <method name="PageUpExtend" type="" overloaded="no"> | |
36004 | <autodoc>PageUpExtend()</autodoc> | |
36005 | </method> | |
36006 | <method name="PageDown" type="" overloaded="no"> | |
36007 | <autodoc>PageDown()</autodoc> | |
36008 | <docstring>This is just a wrapper for ScrollPages(1).</docstring> | |
36009 | </method> | |
36010 | <method name="PageDownExtend" type="" overloaded="no"> | |
36011 | <autodoc>PageDownExtend()</autodoc> | |
36012 | </method> | |
36013 | <method name="EditToggleOvertype" type="" overloaded="no"> | |
36014 | <autodoc>EditToggleOvertype()</autodoc> | |
36015 | </method> | |
36016 | <method name="Cancel" type="" overloaded="no"> | |
36017 | <autodoc>Cancel()</autodoc> | |
36018 | </method> | |
36019 | <method name="DeleteBack" type="" overloaded="no"> | |
36020 | <autodoc>DeleteBack()</autodoc> | |
36021 | </method> | |
36022 | <method name="Tab" type="" overloaded="no"> | |
36023 | <autodoc>Tab()</autodoc> | |
36024 | </method> | |
36025 | <method name="BackTab" type="" overloaded="no"> | |
36026 | <autodoc>BackTab()</autodoc> | |
36027 | </method> | |
36028 | <method name="NewLine" type="" overloaded="no"> | |
36029 | <autodoc>NewLine()</autodoc> | |
36030 | </method> | |
36031 | <method name="FormFeed" type="" overloaded="no"> | |
36032 | <autodoc>FormFeed()</autodoc> | |
36033 | </method> | |
36034 | <method name="VCHome" type="" overloaded="no"> | |
36035 | <autodoc>VCHome()</autodoc> | |
36036 | </method> | |
36037 | <method name="VCHomeExtend" type="" overloaded="no"> | |
36038 | <autodoc>VCHomeExtend()</autodoc> | |
36039 | </method> | |
36040 | <method name="ZoomIn" type="" overloaded="no"> | |
36041 | <autodoc>ZoomIn()</autodoc> | |
36042 | </method> | |
36043 | <method name="ZoomOut" type="" overloaded="no"> | |
36044 | <autodoc>ZoomOut()</autodoc> | |
36045 | </method> | |
36046 | <method name="DelWordLeft" type="" overloaded="no"> | |
36047 | <autodoc>DelWordLeft()</autodoc> | |
36048 | </method> | |
36049 | <method name="DelWordRight" type="" overloaded="no"> | |
36050 | <autodoc>DelWordRight()</autodoc> | |
36051 | </method> | |
36052 | <method name="LineCut" type="" overloaded="no"> | |
36053 | <autodoc>LineCut()</autodoc> | |
36054 | </method> | |
36055 | <method name="LineDelete" type="" overloaded="no"> | |
36056 | <autodoc>LineDelete()</autodoc> | |
36057 | </method> | |
36058 | <method name="LineTranspose" type="" overloaded="no"> | |
36059 | <autodoc>LineTranspose()</autodoc> | |
36060 | </method> | |
f32fc4bc RD |
36061 | <method name="LineDuplicate" type="" overloaded="no"> |
36062 | <autodoc>LineDuplicate()</autodoc> | |
36063 | </method> | |
b39e211b RD |
36064 | <method name="LowerCase" type="" overloaded="no"> |
36065 | <autodoc>LowerCase()</autodoc> | |
36066 | </method> | |
36067 | <method name="UpperCase" type="" overloaded="no"> | |
36068 | <autodoc>UpperCase()</autodoc> | |
36069 | </method> | |
36070 | <method name="LineScrollDown" type="" overloaded="no"> | |
36071 | <autodoc>LineScrollDown()</autodoc> | |
36072 | </method> | |
36073 | <method name="LineScrollUp" type="" overloaded="no"> | |
36074 | <autodoc>LineScrollUp()</autodoc> | |
36075 | </method> | |
36076 | <method name="DeleteBackNotLine" type="" overloaded="no"> | |
36077 | <autodoc>DeleteBackNotLine()</autodoc> | |
36078 | </method> | |
f32fc4bc RD |
36079 | <method name="HomeDisplay" type="" overloaded="no"> |
36080 | <autodoc>HomeDisplay()</autodoc> | |
36081 | </method> | |
36082 | <method name="HomeDisplayExtend" type="" overloaded="no"> | |
36083 | <autodoc>HomeDisplayExtend()</autodoc> | |
36084 | </method> | |
36085 | <method name="LineEndDisplay" type="" overloaded="no"> | |
36086 | <autodoc>LineEndDisplay()</autodoc> | |
36087 | </method> | |
36088 | <method name="LineEndDisplayExtend" type="" overloaded="no"> | |
36089 | <autodoc>LineEndDisplayExtend()</autodoc> | |
36090 | </method> | |
b39e211b RD |
36091 | <method name="HomeWrap" type="" overloaded="no"> |
36092 | <autodoc>HomeWrap()</autodoc> | |
36093 | </method> | |
36094 | <method name="HomeWrapExtend" type="" overloaded="no"> | |
36095 | <autodoc>HomeWrapExtend()</autodoc> | |
36096 | </method> | |
36097 | <method name="LineEndWrap" type="" overloaded="no"> | |
36098 | <autodoc>LineEndWrap()</autodoc> | |
36099 | </method> | |
36100 | <method name="LineEndWrapExtend" type="" overloaded="no"> | |
36101 | <autodoc>LineEndWrapExtend()</autodoc> | |
36102 | </method> | |
36103 | <method name="VCHomeWrap" type="" overloaded="no"> | |
36104 | <autodoc>VCHomeWrap()</autodoc> | |
36105 | </method> | |
36106 | <method name="VCHomeWrapExtend" type="" overloaded="no"> | |
36107 | <autodoc>VCHomeWrapExtend()</autodoc> | |
36108 | </method> | |
f32fc4bc RD |
36109 | <method name="LineCopy" type="" overloaded="no"> |
36110 | <autodoc>LineCopy()</autodoc> | |
36111 | </method> | |
36112 | <method name="MoveCaretInsideView" type="" overloaded="no"> | |
36113 | <autodoc>MoveCaretInsideView()</autodoc> | |
36114 | </method> | |
36115 | <method name="LineLength" type="int" overloaded="no"> | |
36116 | <autodoc>LineLength(int line) -> int</autodoc> | |
36117 | <paramlist> | |
36118 | <param name="line" type="int" default=""/> | |
36119 | </paramlist> | |
36120 | </method> | |
36121 | <method name="BraceHighlight" type="" overloaded="no"> | |
36122 | <autodoc>BraceHighlight(int pos1, int pos2)</autodoc> | |
36123 | <paramlist> | |
36124 | <param name="pos1" type="int" default=""/> | |
36125 | <param name="pos2" type="int" default=""/> | |
36126 | </paramlist> | |
36127 | </method> | |
36128 | <method name="BraceBadLight" type="" overloaded="no"> | |
36129 | <autodoc>BraceBadLight(int pos)</autodoc> | |
36130 | <paramlist> | |
36131 | <param name="pos" type="int" default=""/> | |
36132 | </paramlist> | |
36133 | </method> | |
36134 | <method name="BraceMatch" type="int" overloaded="no"> | |
36135 | <autodoc>BraceMatch(int pos) -> int</autodoc> | |
36136 | <paramlist> | |
36137 | <param name="pos" type="int" default=""/> | |
36138 | </paramlist> | |
36139 | </method> | |
36140 | <method name="GetViewEOL" type="bool" overloaded="no"> | |
36141 | <autodoc>GetViewEOL() -> bool</autodoc> | |
36142 | </method> | |
36143 | <method name="SetViewEOL" type="" overloaded="no"> | |
36144 | <autodoc>SetViewEOL(bool visible)</autodoc> | |
36145 | <paramlist> | |
36146 | <param name="visible" type="bool" default=""/> | |
36147 | </paramlist> | |
36148 | </method> | |
36149 | <method name="GetDocPointer" type="" overloaded="no"> | |
36150 | <autodoc>GetDocPointer() -> void</autodoc> | |
36151 | </method> | |
36152 | <method name="SetDocPointer" type="" overloaded="no"> | |
36153 | <autodoc>SetDocPointer(void docPointer)</autodoc> | |
36154 | <paramlist> | |
36155 | <param name="docPointer" type="" default=""/> | |
36156 | </paramlist> | |
36157 | </method> | |
36158 | <method name="SetModEventMask" type="" overloaded="no"> | |
36159 | <autodoc>SetModEventMask(int mask)</autodoc> | |
36160 | <paramlist> | |
36161 | <param name="mask" type="int" default=""/> | |
36162 | </paramlist> | |
36163 | </method> | |
36164 | <method name="GetEdgeColumn" type="int" overloaded="no"> | |
36165 | <autodoc>GetEdgeColumn() -> int</autodoc> | |
36166 | </method> | |
36167 | <method name="SetEdgeColumn" type="" overloaded="no"> | |
36168 | <autodoc>SetEdgeColumn(int column)</autodoc> | |
36169 | <paramlist> | |
36170 | <param name="column" type="int" default=""/> | |
36171 | </paramlist> | |
36172 | </method> | |
36173 | <method name="GetEdgeMode" type="int" overloaded="no"> | |
36174 | <autodoc>GetEdgeMode() -> int</autodoc> | |
36175 | </method> | |
36176 | <method name="SetEdgeMode" type="" overloaded="no"> | |
36177 | <autodoc>SetEdgeMode(int mode)</autodoc> | |
36178 | <paramlist> | |
36179 | <param name="mode" type="int" default=""/> | |
36180 | </paramlist> | |
36181 | </method> | |
36182 | <method name="GetEdgeColour" type="Colour" overloaded="no"> | |
36183 | <autodoc>GetEdgeColour() -> Colour</autodoc> | |
36184 | </method> | |
36185 | <method name="SetEdgeColour" type="" overloaded="no"> | |
36186 | <autodoc>SetEdgeColour(Colour edgeColour)</autodoc> | |
36187 | <paramlist> | |
36188 | <param name="edgeColour" type="Colour" default=""/> | |
36189 | </paramlist> | |
36190 | </method> | |
36191 | <method name="SearchAnchor" type="" overloaded="no"> | |
36192 | <autodoc>SearchAnchor()</autodoc> | |
36193 | </method> | |
36194 | <method name="SearchNext" type="int" overloaded="no"> | |
36195 | <autodoc>SearchNext(int flags, String text) -> int</autodoc> | |
36196 | <paramlist> | |
36197 | <param name="flags" type="int" default=""/> | |
36198 | <param name="text" type="String" default=""/> | |
36199 | </paramlist> | |
36200 | </method> | |
36201 | <method name="SearchPrev" type="int" overloaded="no"> | |
36202 | <autodoc>SearchPrev(int flags, String text) -> int</autodoc> | |
36203 | <paramlist> | |
36204 | <param name="flags" type="int" default=""/> | |
36205 | <param name="text" type="String" default=""/> | |
36206 | </paramlist> | |
36207 | </method> | |
36208 | <method name="LinesOnScreen" type="int" overloaded="no"> | |
36209 | <autodoc>LinesOnScreen() -> int</autodoc> | |
36210 | </method> | |
36211 | <method name="UsePopUp" type="" overloaded="no"> | |
36212 | <autodoc>UsePopUp(bool allowPopUp)</autodoc> | |
36213 | <paramlist> | |
36214 | <param name="allowPopUp" type="bool" default=""/> | |
36215 | </paramlist> | |
36216 | </method> | |
36217 | <method name="SelectionIsRectangle" type="bool" overloaded="no"> | |
36218 | <autodoc>SelectionIsRectangle() -> bool</autodoc> | |
36219 | </method> | |
36220 | <method name="SetZoom" type="" overloaded="no"> | |
36221 | <autodoc>SetZoom(int zoom)</autodoc> | |
36222 | <paramlist> | |
36223 | <param name="zoom" type="int" default=""/> | |
36224 | </paramlist> | |
36225 | </method> | |
36226 | <method name="GetZoom" type="int" overloaded="no"> | |
36227 | <autodoc>GetZoom() -> int</autodoc> | |
36228 | </method> | |
36229 | <method name="CreateDocument" type="" overloaded="no"> | |
36230 | <autodoc>CreateDocument() -> void</autodoc> | |
36231 | </method> | |
36232 | <method name="AddRefDocument" type="" overloaded="no"> | |
36233 | <autodoc>AddRefDocument(void docPointer)</autodoc> | |
36234 | <paramlist> | |
36235 | <param name="docPointer" type="" default=""/> | |
36236 | </paramlist> | |
36237 | </method> | |
36238 | <method name="ReleaseDocument" type="" overloaded="no"> | |
36239 | <autodoc>ReleaseDocument(void docPointer)</autodoc> | |
36240 | <paramlist> | |
36241 | <param name="docPointer" type="" default=""/> | |
36242 | </paramlist> | |
36243 | </method> | |
36244 | <method name="GetModEventMask" type="int" overloaded="no"> | |
36245 | <autodoc>GetModEventMask() -> int</autodoc> | |
36246 | </method> | |
36247 | <method name="SetSTCFocus" type="" overloaded="no"> | |
36248 | <autodoc>SetSTCFocus(bool focus)</autodoc> | |
36249 | <paramlist> | |
36250 | <param name="focus" type="bool" default=""/> | |
36251 | </paramlist> | |
36252 | </method> | |
36253 | <method name="GetSTCFocus" type="bool" overloaded="no"> | |
36254 | <autodoc>GetSTCFocus() -> bool</autodoc> | |
36255 | </method> | |
36256 | <method name="SetStatus" type="" overloaded="no"> | |
36257 | <autodoc>SetStatus(int statusCode)</autodoc> | |
36258 | <paramlist> | |
36259 | <param name="statusCode" type="int" default=""/> | |
36260 | </paramlist> | |
36261 | </method> | |
36262 | <method name="GetStatus" type="int" overloaded="no"> | |
36263 | <autodoc>GetStatus() -> int</autodoc> | |
36264 | </method> | |
36265 | <method name="SetMouseDownCaptures" type="" overloaded="no"> | |
36266 | <autodoc>SetMouseDownCaptures(bool captures)</autodoc> | |
36267 | <paramlist> | |
36268 | <param name="captures" type="bool" default=""/> | |
36269 | </paramlist> | |
36270 | </method> | |
36271 | <method name="GetMouseDownCaptures" type="bool" overloaded="no"> | |
36272 | <autodoc>GetMouseDownCaptures() -> bool</autodoc> | |
36273 | </method> | |
36274 | <method name="SetSTCCursor" type="" overloaded="no"> | |
36275 | <autodoc>SetSTCCursor(int cursorType)</autodoc> | |
36276 | <paramlist> | |
36277 | <param name="cursorType" type="int" default=""/> | |
36278 | </paramlist> | |
36279 | </method> | |
36280 | <method name="GetSTCCursor" type="int" overloaded="no"> | |
36281 | <autodoc>GetSTCCursor() -> int</autodoc> | |
36282 | </method> | |
36283 | <method name="SetControlCharSymbol" type="" overloaded="no"> | |
36284 | <autodoc>SetControlCharSymbol(int symbol)</autodoc> | |
36285 | <paramlist> | |
36286 | <param name="symbol" type="int" default=""/> | |
36287 | </paramlist> | |
36288 | </method> | |
36289 | <method name="GetControlCharSymbol" type="int" overloaded="no"> | |
36290 | <autodoc>GetControlCharSymbol() -> int</autodoc> | |
36291 | </method> | |
36292 | <method name="WordPartLeft" type="" overloaded="no"> | |
36293 | <autodoc>WordPartLeft()</autodoc> | |
36294 | </method> | |
36295 | <method name="WordPartLeftExtend" type="" overloaded="no"> | |
36296 | <autodoc>WordPartLeftExtend()</autodoc> | |
36297 | </method> | |
36298 | <method name="WordPartRight" type="" overloaded="no"> | |
36299 | <autodoc>WordPartRight()</autodoc> | |
36300 | </method> | |
36301 | <method name="WordPartRightExtend" type="" overloaded="no"> | |
36302 | <autodoc>WordPartRightExtend()</autodoc> | |
36303 | </method> | |
36304 | <method name="SetVisiblePolicy" type="" overloaded="no"> | |
36305 | <autodoc>SetVisiblePolicy(int visiblePolicy, int visibleSlop)</autodoc> | |
36306 | <paramlist> | |
36307 | <param name="visiblePolicy" type="int" default=""/> | |
36308 | <param name="visibleSlop" type="int" default=""/> | |
36309 | </paramlist> | |
36310 | </method> | |
36311 | <method name="DelLineLeft" type="" overloaded="no"> | |
36312 | <autodoc>DelLineLeft()</autodoc> | |
36313 | </method> | |
36314 | <method name="DelLineRight" type="" overloaded="no"> | |
36315 | <autodoc>DelLineRight()</autodoc> | |
36316 | </method> | |
36317 | <method name="SetXOffset" type="" overloaded="no"> | |
36318 | <autodoc>SetXOffset(int newOffset)</autodoc> | |
36319 | <paramlist> | |
36320 | <param name="newOffset" type="int" default=""/> | |
36321 | </paramlist> | |
36322 | </method> | |
36323 | <method name="GetXOffset" type="int" overloaded="no"> | |
36324 | <autodoc>GetXOffset() -> int</autodoc> | |
36325 | </method> | |
36326 | <method name="ChooseCaretX" type="" overloaded="no"> | |
36327 | <autodoc>ChooseCaretX()</autodoc> | |
36328 | </method> | |
36329 | <method name="SetXCaretPolicy" type="" overloaded="no"> | |
36330 | <autodoc>SetXCaretPolicy(int caretPolicy, int caretSlop)</autodoc> | |
36331 | <paramlist> | |
36332 | <param name="caretPolicy" type="int" default=""/> | |
36333 | <param name="caretSlop" type="int" default=""/> | |
36334 | </paramlist> | |
36335 | </method> | |
36336 | <method name="SetYCaretPolicy" type="" overloaded="no"> | |
36337 | <autodoc>SetYCaretPolicy(int caretPolicy, int caretSlop)</autodoc> | |
36338 | <paramlist> | |
36339 | <param name="caretPolicy" type="int" default=""/> | |
36340 | <param name="caretSlop" type="int" default=""/> | |
36341 | </paramlist> | |
36342 | </method> | |
36343 | <method name="SetPrintWrapMode" type="" overloaded="no"> | |
36344 | <autodoc>SetPrintWrapMode(int mode)</autodoc> | |
36345 | <paramlist> | |
36346 | <param name="mode" type="int" default=""/> | |
36347 | </paramlist> | |
36348 | </method> | |
36349 | <method name="GetPrintWrapMode" type="int" overloaded="no"> | |
36350 | <autodoc>GetPrintWrapMode() -> int</autodoc> | |
36351 | </method> | |
36352 | <method name="SetHotspotActiveForeground" type="" overloaded="no"> | |
36353 | <autodoc>SetHotspotActiveForeground(bool useSetting, Colour fore)</autodoc> | |
36354 | <paramlist> | |
36355 | <param name="useSetting" type="bool" default=""/> | |
36356 | <param name="fore" type="Colour" default=""/> | |
36357 | </paramlist> | |
36358 | </method> | |
36359 | <method name="SetHotspotActiveBackground" type="" overloaded="no"> | |
36360 | <autodoc>SetHotspotActiveBackground(bool useSetting, Colour back)</autodoc> | |
36361 | <paramlist> | |
36362 | <param name="useSetting" type="bool" default=""/> | |
36363 | <param name="back" type="Colour" default=""/> | |
36364 | </paramlist> | |
36365 | </method> | |
36366 | <method name="SetHotspotActiveUnderline" type="" overloaded="no"> | |
36367 | <autodoc>SetHotspotActiveUnderline(bool underline)</autodoc> | |
36368 | <paramlist> | |
36369 | <param name="underline" type="bool" default=""/> | |
36370 | </paramlist> | |
36371 | </method> | |
36372 | <method name="SetHotspotSingleLine" type="" overloaded="no"> | |
36373 | <autodoc>SetHotspotSingleLine(bool singleLine)</autodoc> | |
36374 | <paramlist> | |
36375 | <param name="singleLine" type="bool" default=""/> | |
36376 | </paramlist> | |
36377 | </method> | |
b39e211b RD |
36378 | <method name="ParaDown" type="" overloaded="no"> |
36379 | <autodoc>ParaDown()</autodoc> | |
36380 | </method> | |
36381 | <method name="ParaDownExtend" type="" overloaded="no"> | |
36382 | <autodoc>ParaDownExtend()</autodoc> | |
36383 | </method> | |
36384 | <method name="ParaUp" type="" overloaded="no"> | |
36385 | <autodoc>ParaUp()</autodoc> | |
36386 | </method> | |
36387 | <method name="ParaUpExtend" type="" overloaded="no"> | |
36388 | <autodoc>ParaUpExtend()</autodoc> | |
36389 | </method> | |
f32fc4bc RD |
36390 | <method name="PositionBefore" type="int" overloaded="no"> |
36391 | <autodoc>PositionBefore(int pos) -> int</autodoc> | |
36392 | <paramlist> | |
36393 | <param name="pos" type="int" default=""/> | |
36394 | </paramlist> | |
36395 | </method> | |
36396 | <method name="PositionAfter" type="int" overloaded="no"> | |
36397 | <autodoc>PositionAfter(int pos) -> int</autodoc> | |
36398 | <paramlist> | |
36399 | <param name="pos" type="int" default=""/> | |
36400 | </paramlist> | |
36401 | </method> | |
36402 | <method name="CopyRange" type="" overloaded="no"> | |
36403 | <autodoc>CopyRange(int start, int end)</autodoc> | |
36404 | <paramlist> | |
36405 | <param name="start" type="int" default=""/> | |
36406 | <param name="end" type="int" default=""/> | |
36407 | </paramlist> | |
36408 | </method> | |
36409 | <method name="CopyText" type="" overloaded="no"> | |
36410 | <autodoc>CopyText(int length, String text)</autodoc> | |
36411 | <paramlist> | |
36412 | <param name="length" type="int" default=""/> | |
36413 | <param name="text" type="String" default=""/> | |
36414 | </paramlist> | |
36415 | </method> | |
36416 | <method name="SetSelectionMode" type="" overloaded="no"> | |
36417 | <autodoc>SetSelectionMode(int mode)</autodoc> | |
36418 | <paramlist> | |
36419 | <param name="mode" type="int" default=""/> | |
36420 | </paramlist> | |
36421 | </method> | |
36422 | <method name="GetSelectionMode" type="int" overloaded="no"> | |
36423 | <autodoc>GetSelectionMode() -> int</autodoc> | |
36424 | </method> | |
36425 | <method name="GetLineSelStartPosition" type="int" overloaded="no"> | |
36426 | <autodoc>GetLineSelStartPosition(int line) -> int</autodoc> | |
36427 | <paramlist> | |
36428 | <param name="line" type="int" default=""/> | |
36429 | </paramlist> | |
36430 | </method> | |
36431 | <method name="GetLineSelEndPosition" type="int" overloaded="no"> | |
36432 | <autodoc>GetLineSelEndPosition(int line) -> int</autodoc> | |
36433 | <paramlist> | |
36434 | <param name="line" type="int" default=""/> | |
36435 | </paramlist> | |
36436 | </method> | |
b39e211b RD |
36437 | <method name="LineDownRectExtend" type="" overloaded="no"> |
36438 | <autodoc>LineDownRectExtend()</autodoc> | |
36439 | </method> | |
36440 | <method name="LineUpRectExtend" type="" overloaded="no"> | |
36441 | <autodoc>LineUpRectExtend()</autodoc> | |
36442 | </method> | |
36443 | <method name="CharLeftRectExtend" type="" overloaded="no"> | |
36444 | <autodoc>CharLeftRectExtend()</autodoc> | |
36445 | </method> | |
36446 | <method name="CharRightRectExtend" type="" overloaded="no"> | |
36447 | <autodoc>CharRightRectExtend()</autodoc> | |
36448 | </method> | |
36449 | <method name="HomeRectExtend" type="" overloaded="no"> | |
36450 | <autodoc>HomeRectExtend()</autodoc> | |
36451 | </method> | |
36452 | <method name="VCHomeRectExtend" type="" overloaded="no"> | |
36453 | <autodoc>VCHomeRectExtend()</autodoc> | |
36454 | </method> | |
36455 | <method name="LineEndRectExtend" type="" overloaded="no"> | |
36456 | <autodoc>LineEndRectExtend()</autodoc> | |
36457 | </method> | |
36458 | <method name="PageUpRectExtend" type="" overloaded="no"> | |
36459 | <autodoc>PageUpRectExtend()</autodoc> | |
36460 | </method> | |
36461 | <method name="PageDownRectExtend" type="" overloaded="no"> | |
36462 | <autodoc>PageDownRectExtend()</autodoc> | |
36463 | </method> | |
36464 | <method name="StutteredPageUp" type="" overloaded="no"> | |
36465 | <autodoc>StutteredPageUp()</autodoc> | |
36466 | </method> | |
36467 | <method name="StutteredPageUpExtend" type="" overloaded="no"> | |
36468 | <autodoc>StutteredPageUpExtend()</autodoc> | |
36469 | </method> | |
36470 | <method name="StutteredPageDown" type="" overloaded="no"> | |
36471 | <autodoc>StutteredPageDown()</autodoc> | |
36472 | </method> | |
36473 | <method name="StutteredPageDownExtend" type="" overloaded="no"> | |
36474 | <autodoc>StutteredPageDownExtend()</autodoc> | |
36475 | </method> | |
36476 | <method name="WordLeftEnd" type="" overloaded="no"> | |
36477 | <autodoc>WordLeftEnd()</autodoc> | |
36478 | </method> | |
36479 | <method name="WordLeftEndExtend" type="" overloaded="no"> | |
36480 | <autodoc>WordLeftEndExtend()</autodoc> | |
36481 | </method> | |
36482 | <method name="WordRightEnd" type="" overloaded="no"> | |
36483 | <autodoc>WordRightEnd()</autodoc> | |
36484 | </method> | |
36485 | <method name="WordRightEndExtend" type="" overloaded="no"> | |
36486 | <autodoc>WordRightEndExtend()</autodoc> | |
36487 | </method> | |
f32fc4bc RD |
36488 | <method name="SetWhitespaceChars" type="" overloaded="no"> |
36489 | <autodoc>SetWhitespaceChars(String characters)</autodoc> | |
36490 | <paramlist> | |
36491 | <param name="characters" type="String" default=""/> | |
36492 | </paramlist> | |
36493 | </method> | |
36494 | <method name="SetCharsDefault" type="" overloaded="no"> | |
36495 | <autodoc>SetCharsDefault()</autodoc> | |
36496 | </method> | |
36497 | <method name="AutoCompGetCurrent" type="int" overloaded="no"> | |
36498 | <autodoc>AutoCompGetCurrent() -> int</autodoc> | |
36499 | </method> | |
36500 | <method name="StartRecord" type="" overloaded="no"> | |
36501 | <autodoc>StartRecord()</autodoc> | |
36502 | </method> | |
36503 | <method name="StopRecord" type="" overloaded="no"> | |
36504 | <autodoc>StopRecord()</autodoc> | |
36505 | </method> | |
36506 | <method name="SetLexer" type="" overloaded="no"> | |
36507 | <autodoc>SetLexer(int lexer)</autodoc> | |
36508 | <paramlist> | |
36509 | <param name="lexer" type="int" default=""/> | |
36510 | </paramlist> | |
36511 | </method> | |
36512 | <method name="GetLexer" type="int" overloaded="no"> | |
36513 | <autodoc>GetLexer() -> int</autodoc> | |
36514 | </method> | |
36515 | <method name="Colourise" type="" overloaded="no"> | |
36516 | <autodoc>Colourise(int start, int end)</autodoc> | |
36517 | <paramlist> | |
36518 | <param name="start" type="int" default=""/> | |
36519 | <param name="end" type="int" default=""/> | |
36520 | </paramlist> | |
36521 | </method> | |
36522 | <method name="SetProperty" type="" overloaded="no"> | |
36523 | <autodoc>SetProperty(String key, String value)</autodoc> | |
36524 | <paramlist> | |
36525 | <param name="key" type="String" default=""/> | |
36526 | <param name="value" type="String" default=""/> | |
36527 | </paramlist> | |
36528 | </method> | |
36529 | <method name="SetKeyWords" type="" overloaded="no"> | |
36530 | <autodoc>SetKeyWords(int keywordSet, String keyWords)</autodoc> | |
36531 | <paramlist> | |
36532 | <param name="keywordSet" type="int" default=""/> | |
36533 | <param name="keyWords" type="String" default=""/> | |
36534 | </paramlist> | |
36535 | </method> | |
36536 | <method name="SetLexerLanguage" type="" overloaded="no"> | |
36537 | <autodoc>SetLexerLanguage(String language)</autodoc> | |
36538 | <paramlist> | |
36539 | <param name="language" type="String" default=""/> | |
36540 | </paramlist> | |
36541 | </method> | |
36542 | <method name="GetCurrentLine" type="int" overloaded="no"> | |
36543 | <autodoc>GetCurrentLine() -> int</autodoc> | |
36544 | </method> | |
36545 | <method name="StyleSetSpec" type="" overloaded="no"> | |
36546 | <autodoc>StyleSetSpec(int styleNum, String spec)</autodoc> | |
36547 | <paramlist> | |
36548 | <param name="styleNum" type="int" default=""/> | |
36549 | <param name="spec" type="String" default=""/> | |
36550 | </paramlist> | |
36551 | </method> | |
36552 | <method name="StyleSetFont" type="" overloaded="no"> | |
36553 | <autodoc>StyleSetFont(int styleNum, Font font)</autodoc> | |
36554 | <paramlist> | |
36555 | <param name="styleNum" type="int" default=""/> | |
36556 | <param name="font" type="Font" default=""/> | |
36557 | </paramlist> | |
36558 | </method> | |
36559 | <method name="StyleSetFontAttr" type="" overloaded="no"> | |
36560 | <autodoc>StyleSetFontAttr(int styleNum, int size, String faceName, bool bold, | |
36561 | bool italic, bool underline)</autodoc> | |
36562 | <paramlist> | |
36563 | <param name="styleNum" type="int" default=""/> | |
36564 | <param name="size" type="int" default=""/> | |
36565 | <param name="faceName" type="String" default=""/> | |
36566 | <param name="bold" type="bool" default=""/> | |
36567 | <param name="italic" type="bool" default=""/> | |
36568 | <param name="underline" type="bool" default=""/> | |
36569 | </paramlist> | |
36570 | </method> | |
36571 | <method name="CmdKeyExecute" type="" overloaded="no"> | |
36572 | <autodoc>CmdKeyExecute(int cmd)</autodoc> | |
36573 | <paramlist> | |
36574 | <param name="cmd" type="int" default=""/> | |
36575 | </paramlist> | |
36576 | </method> | |
36577 | <method name="SetMargins" type="" overloaded="no"> | |
36578 | <autodoc>SetMargins(int left, int right)</autodoc> | |
36579 | <paramlist> | |
36580 | <param name="left" type="int" default=""/> | |
36581 | <param name="right" type="int" default=""/> | |
36582 | </paramlist> | |
36583 | </method> | |
36584 | <method name="GetSelection" type="" overloaded="no"> | |
36585 | <autodoc>GetSelection(int OUTPUT, int OUTPUT)</autodoc> | |
36586 | <paramlist> | |
36587 | <param name="OUTPUT" type="int" default=""/> | |
36588 | <param name="OUTPUT" type="int" default=""/> | |
36589 | </paramlist> | |
36590 | </method> | |
36591 | <method name="PointFromPosition" type="Point" overloaded="no"> | |
36592 | <autodoc>PointFromPosition(int pos) -> Point</autodoc> | |
36593 | <paramlist> | |
36594 | <param name="pos" type="int" default=""/> | |
36595 | </paramlist> | |
36596 | </method> | |
36597 | <method name="ScrollToLine" type="" overloaded="no"> | |
36598 | <autodoc>ScrollToLine(int line)</autodoc> | |
36599 | <paramlist> | |
36600 | <param name="line" type="int" default=""/> | |
36601 | </paramlist> | |
36602 | </method> | |
36603 | <method name="ScrollToColumn" type="" overloaded="no"> | |
36604 | <autodoc>ScrollToColumn(int column)</autodoc> | |
36605 | <paramlist> | |
36606 | <param name="column" type="int" default=""/> | |
36607 | </paramlist> | |
36608 | </method> | |
36609 | <method name="SendMsg" type="long" overloaded="no"> | |
36610 | <autodoc>SendMsg(int msg, long wp=0, long lp=0) -> long</autodoc> | |
36611 | <paramlist> | |
36612 | <param name="msg" type="int" default=""/> | |
36613 | <param name="wp" type="long" default="0"/> | |
36614 | <param name="lp" type="long" default="0"/> | |
36615 | </paramlist> | |
36616 | </method> | |
36617 | <method name="SetVScrollBar" type="" overloaded="no"> | |
36618 | <autodoc>SetVScrollBar(wxScrollBar bar)</autodoc> | |
36619 | <paramlist> | |
36620 | <param name="bar" type="ScrollBar" default=""/> | |
36621 | </paramlist> | |
36622 | </method> | |
36623 | <method name="SetHScrollBar" type="" overloaded="no"> | |
36624 | <autodoc>SetHScrollBar(wxScrollBar bar)</autodoc> | |
36625 | <paramlist> | |
36626 | <param name="bar" type="ScrollBar" default=""/> | |
36627 | </paramlist> | |
36628 | </method> | |
36629 | <method name="GetLastKeydownProcessed" type="bool" overloaded="no"> | |
36630 | <autodoc>GetLastKeydownProcessed() -> bool</autodoc> | |
36631 | </method> | |
36632 | <method name="SetLastKeydownProcessed" type="" overloaded="no"> | |
36633 | <autodoc>SetLastKeydownProcessed(bool val)</autodoc> | |
36634 | <paramlist> | |
36635 | <param name="val" type="bool" default=""/> | |
36636 | </paramlist> | |
36637 | </method> | |
36638 | <method name="SaveFile" type="bool" overloaded="no"> | |
36639 | <autodoc>SaveFile(String filename) -> bool</autodoc> | |
36640 | <paramlist> | |
36641 | <param name="filename" type="String" default=""/> | |
36642 | </paramlist> | |
36643 | </method> | |
36644 | <method name="LoadFile" type="bool" overloaded="no"> | |
36645 | <autodoc>LoadFile(String filename) -> bool</autodoc> | |
36646 | <paramlist> | |
36647 | <param name="filename" type="String" default=""/> | |
36648 | </paramlist> | |
36649 | </method> | |
36650 | <method name="DoDragOver" type="wxDragResult" overloaded="no"> | |
36651 | <autodoc>DoDragOver(int x, int y, int def) -> int</autodoc> | |
36652 | <paramlist> | |
36653 | <param name="x" type="int" default=""/> | |
36654 | <param name="y" type="int" default=""/> | |
36655 | <param name="def" type="wxDragResult" default=""/> | |
36656 | </paramlist> | |
36657 | </method> | |
36658 | <method name="DoDropText" type="bool" overloaded="no"> | |
36659 | <autodoc>DoDropText(long x, long y, String data) -> bool</autodoc> | |
36660 | <paramlist> | |
36661 | <param name="x" type="long" default=""/> | |
36662 | <param name="y" type="long" default=""/> | |
36663 | <param name="data" type="String" default=""/> | |
36664 | </paramlist> | |
36665 | </method> | |
36666 | <method name="SetUseAntiAliasing" type="" overloaded="no"> | |
36667 | <autodoc>SetUseAntiAliasing(bool useAA)</autodoc> | |
36668 | <paramlist> | |
36669 | <param name="useAA" type="bool" default=""/> | |
36670 | </paramlist> | |
36671 | </method> | |
36672 | <method name="GetUseAntiAliasing" type="bool" overloaded="no"> | |
36673 | <autodoc>GetUseAntiAliasing() -> bool</autodoc> | |
36674 | </method> | |
36675 | </class> | |
36676 | <class name="StyledTextEvent" oldname="wxStyledTextEvent" module="stc"> | |
36677 | <baseclass name="CommandEvent"/> | |
36678 | <constructor name="StyledTextEvent" overloaded="no"> | |
36679 | <autodoc>__init__(wxEventType commandType=0, int id=0) -> StyledTextEvent</autodoc> | |
36680 | <paramlist> | |
36681 | <param name="commandType" type="wxEventType" default="0"/> | |
36682 | <param name="id" type="int" default="0"/> | |
36683 | </paramlist> | |
36684 | </constructor> | |
36685 | <destructor name="~wxStyledTextEvent" overloaded="no"> | |
36686 | <autodoc>__del__()</autodoc> | |
36687 | </destructor> | |
36688 | <method name="SetPosition" type="" overloaded="no"> | |
36689 | <autodoc>SetPosition(int pos)</autodoc> | |
36690 | <paramlist> | |
36691 | <param name="pos" type="int" default=""/> | |
36692 | </paramlist> | |
36693 | </method> | |
36694 | <method name="SetKey" type="" overloaded="no"> | |
36695 | <autodoc>SetKey(int k)</autodoc> | |
36696 | <paramlist> | |
36697 | <param name="k" type="int" default=""/> | |
36698 | </paramlist> | |
36699 | </method> | |
36700 | <method name="SetModifiers" type="" overloaded="no"> | |
36701 | <autodoc>SetModifiers(int m)</autodoc> | |
36702 | <paramlist> | |
36703 | <param name="m" type="int" default=""/> | |
36704 | </paramlist> | |
36705 | </method> | |
36706 | <method name="SetModificationType" type="" overloaded="no"> | |
36707 | <autodoc>SetModificationType(int t)</autodoc> | |
36708 | <paramlist> | |
36709 | <param name="t" type="int" default=""/> | |
36710 | </paramlist> | |
36711 | </method> | |
36712 | <method name="SetText" type="" overloaded="no"> | |
36713 | <autodoc>SetText(String t)</autodoc> | |
36714 | <paramlist> | |
36715 | <param name="t" type="String" default=""/> | |
36716 | </paramlist> | |
36717 | </method> | |
36718 | <method name="SetLength" type="" overloaded="no"> | |
36719 | <autodoc>SetLength(int len)</autodoc> | |
36720 | <paramlist> | |
36721 | <param name="len" type="int" default=""/> | |
36722 | </paramlist> | |
36723 | </method> | |
36724 | <method name="SetLinesAdded" type="" overloaded="no"> | |
36725 | <autodoc>SetLinesAdded(int num)</autodoc> | |
36726 | <paramlist> | |
36727 | <param name="num" type="int" default=""/> | |
36728 | </paramlist> | |
36729 | </method> | |
36730 | <method name="SetLine" type="" overloaded="no"> | |
36731 | <autodoc>SetLine(int val)</autodoc> | |
36732 | <paramlist> | |
36733 | <param name="val" type="int" default=""/> | |
36734 | </paramlist> | |
36735 | </method> | |
36736 | <method name="SetFoldLevelNow" type="" overloaded="no"> | |
36737 | <autodoc>SetFoldLevelNow(int val)</autodoc> | |
36738 | <paramlist> | |
36739 | <param name="val" type="int" default=""/> | |
36740 | </paramlist> | |
36741 | </method> | |
36742 | <method name="SetFoldLevelPrev" type="" overloaded="no"> | |
36743 | <autodoc>SetFoldLevelPrev(int val)</autodoc> | |
36744 | <paramlist> | |
36745 | <param name="val" type="int" default=""/> | |
36746 | </paramlist> | |
36747 | </method> | |
36748 | <method name="SetMargin" type="" overloaded="no"> | |
36749 | <autodoc>SetMargin(int val)</autodoc> | |
36750 | <paramlist> | |
36751 | <param name="val" type="int" default=""/> | |
36752 | </paramlist> | |
36753 | </method> | |
36754 | <method name="SetMessage" type="" overloaded="no"> | |
36755 | <autodoc>SetMessage(int val)</autodoc> | |
36756 | <paramlist> | |
36757 | <param name="val" type="int" default=""/> | |
36758 | </paramlist> | |
36759 | </method> | |
36760 | <method name="SetWParam" type="" overloaded="no"> | |
36761 | <autodoc>SetWParam(int val)</autodoc> | |
36762 | <paramlist> | |
36763 | <param name="val" type="int" default=""/> | |
36764 | </paramlist> | |
36765 | </method> | |
36766 | <method name="SetLParam" type="" overloaded="no"> | |
36767 | <autodoc>SetLParam(int val)</autodoc> | |
36768 | <paramlist> | |
36769 | <param name="val" type="int" default=""/> | |
36770 | </paramlist> | |
36771 | </method> | |
36772 | <method name="SetListType" type="" overloaded="no"> | |
36773 | <autodoc>SetListType(int val)</autodoc> | |
36774 | <paramlist> | |
36775 | <param name="val" type="int" default=""/> | |
36776 | </paramlist> | |
36777 | </method> | |
36778 | <method name="SetX" type="" overloaded="no"> | |
36779 | <autodoc>SetX(int val)</autodoc> | |
36780 | <paramlist> | |
36781 | <param name="val" type="int" default=""/> | |
36782 | </paramlist> | |
36783 | </method> | |
36784 | <method name="SetY" type="" overloaded="no"> | |
36785 | <autodoc>SetY(int val)</autodoc> | |
36786 | <paramlist> | |
36787 | <param name="val" type="int" default=""/> | |
36788 | </paramlist> | |
36789 | </method> | |
36790 | <method name="SetDragText" type="" overloaded="no"> | |
36791 | <autodoc>SetDragText(String val)</autodoc> | |
36792 | <paramlist> | |
36793 | <param name="val" type="String" default=""/> | |
36794 | </paramlist> | |
36795 | </method> | |
36796 | <method name="SetDragAllowMove" type="" overloaded="no"> | |
36797 | <autodoc>SetDragAllowMove(bool val)</autodoc> | |
36798 | <paramlist> | |
36799 | <param name="val" type="bool" default=""/> | |
36800 | </paramlist> | |
36801 | </method> | |
36802 | <method name="SetDragResult" type="" overloaded="no"> | |
36803 | <autodoc>SetDragResult(int val)</autodoc> | |
36804 | <paramlist> | |
36805 | <param name="val" type="wxDragResult" default=""/> | |
36806 | </paramlist> | |
36807 | </method> | |
36808 | <method name="GetPosition" type="int" overloaded="no"> | |
36809 | <autodoc>GetPosition() -> int</autodoc> | |
36810 | </method> | |
36811 | <method name="GetKey" type="int" overloaded="no"> | |
36812 | <autodoc>GetKey() -> int</autodoc> | |
36813 | </method> | |
36814 | <method name="GetModifiers" type="int" overloaded="no"> | |
36815 | <autodoc>GetModifiers() -> int</autodoc> | |
36816 | </method> | |
36817 | <method name="GetModificationType" type="int" overloaded="no"> | |
36818 | <autodoc>GetModificationType() -> int</autodoc> | |
36819 | </method> | |
36820 | <method name="GetText" type="String" overloaded="no"> | |
36821 | <autodoc>GetText() -> String</autodoc> | |
36822 | </method> | |
36823 | <method name="GetLength" type="int" overloaded="no"> | |
36824 | <autodoc>GetLength() -> int</autodoc> | |
36825 | </method> | |
36826 | <method name="GetLinesAdded" type="int" overloaded="no"> | |
36827 | <autodoc>GetLinesAdded() -> int</autodoc> | |
36828 | </method> | |
36829 | <method name="GetLine" type="int" overloaded="no"> | |
36830 | <autodoc>GetLine() -> int</autodoc> | |
36831 | </method> | |
36832 | <method name="GetFoldLevelNow" type="int" overloaded="no"> | |
36833 | <autodoc>GetFoldLevelNow() -> int</autodoc> | |
36834 | </method> | |
36835 | <method name="GetFoldLevelPrev" type="int" overloaded="no"> | |
36836 | <autodoc>GetFoldLevelPrev() -> int</autodoc> | |
36837 | </method> | |
36838 | <method name="GetMargin" type="int" overloaded="no"> | |
36839 | <autodoc>GetMargin() -> int</autodoc> | |
36840 | </method> | |
36841 | <method name="GetMessage" type="int" overloaded="no"> | |
36842 | <autodoc>GetMessage() -> int</autodoc> | |
36843 | </method> | |
36844 | <method name="GetWParam" type="int" overloaded="no"> | |
36845 | <autodoc>GetWParam() -> int</autodoc> | |
36846 | </method> | |
36847 | <method name="GetLParam" type="int" overloaded="no"> | |
36848 | <autodoc>GetLParam() -> int</autodoc> | |
36849 | </method> | |
36850 | <method name="GetListType" type="int" overloaded="no"> | |
36851 | <autodoc>GetListType() -> int</autodoc> | |
36852 | </method> | |
36853 | <method name="GetX" type="int" overloaded="no"> | |
36854 | <autodoc>GetX() -> int</autodoc> | |
36855 | </method> | |
36856 | <method name="GetY" type="int" overloaded="no"> | |
36857 | <autodoc>GetY() -> int</autodoc> | |
36858 | </method> | |
36859 | <method name="GetDragText" type="String" overloaded="no"> | |
36860 | <autodoc>GetDragText() -> String</autodoc> | |
36861 | </method> | |
36862 | <method name="GetDragAllowMove" type="bool" overloaded="no"> | |
36863 | <autodoc>GetDragAllowMove() -> bool</autodoc> | |
36864 | </method> | |
36865 | <method name="GetDragResult" type="wxDragResult" overloaded="no"> | |
36866 | <autodoc>GetDragResult() -> int</autodoc> | |
36867 | </method> | |
36868 | <method name="GetShift" type="bool" overloaded="no"> | |
36869 | <autodoc>GetShift() -> bool</autodoc> | |
36870 | </method> | |
36871 | <method name="GetControl" type="bool" overloaded="no"> | |
36872 | <autodoc>GetControl() -> bool</autodoc> | |
36873 | </method> | |
36874 | <method name="GetAlt" type="bool" overloaded="no"> | |
36875 | <autodoc>GetAlt() -> bool</autodoc> | |
36876 | </method> | |
36877 | <method name="Clone" type="Event" overloaded="no"> | |
36878 | <autodoc>Clone() -> Event</autodoc> | |
36879 | </method> | |
36880 | </class> | |
36881 | <pythoncode> | |
36882 | EVT_STC_CHANGE = wx.PyEventBinder( wxEVT_STC_CHANGE, 1 ) | |
36883 | EVT_STC_STYLENEEDED = wx.PyEventBinder( wxEVT_STC_STYLENEEDED, 1 ) | |
36884 | EVT_STC_CHARADDED = wx.PyEventBinder( wxEVT_STC_CHARADDED, 1 ) | |
36885 | EVT_STC_SAVEPOINTREACHED = wx.PyEventBinder( wxEVT_STC_SAVEPOINTREACHED, 1 ) | |
36886 | EVT_STC_SAVEPOINTLEFT = wx.PyEventBinder( wxEVT_STC_SAVEPOINTLEFT, 1 ) | |
36887 | EVT_STC_ROMODIFYATTEMPT = wx.PyEventBinder( wxEVT_STC_ROMODIFYATTEMPT, 1 ) | |
36888 | EVT_STC_KEY = wx.PyEventBinder( wxEVT_STC_KEY, 1 ) | |
36889 | EVT_STC_DOUBLECLICK = wx.PyEventBinder( wxEVT_STC_DOUBLECLICK, 1 ) | |
36890 | EVT_STC_UPDATEUI = wx.PyEventBinder( wxEVT_STC_UPDATEUI, 1 ) | |
36891 | EVT_STC_MODIFIED = wx.PyEventBinder( wxEVT_STC_MODIFIED, 1 ) | |
36892 | EVT_STC_MACRORECORD = wx.PyEventBinder( wxEVT_STC_MACRORECORD, 1 ) | |
36893 | EVT_STC_MARGINCLICK = wx.PyEventBinder( wxEVT_STC_MARGINCLICK, 1 ) | |
36894 | EVT_STC_NEEDSHOWN = wx.PyEventBinder( wxEVT_STC_NEEDSHOWN, 1 ) | |
36895 | EVT_STC_POSCHANGED = wx.PyEventBinder( wxEVT_STC_POSCHANGED, 1 ) | |
36896 | EVT_STC_PAINTED = wx.PyEventBinder( wxEVT_STC_PAINTED, 1 ) | |
36897 | EVT_STC_USERLISTSELECTION = wx.PyEventBinder( wxEVT_STC_USERLISTSELECTION, 1 ) | |
36898 | EVT_STC_URIDROPPED = wx.PyEventBinder( wxEVT_STC_URIDROPPED, 1 ) | |
36899 | EVT_STC_DWELLSTART = wx.PyEventBinder( wxEVT_STC_DWELLSTART, 1 ) | |
36900 | EVT_STC_DWELLEND = wx.PyEventBinder( wxEVT_STC_DWELLEND, 1 ) | |
36901 | EVT_STC_START_DRAG = wx.PyEventBinder( wxEVT_STC_START_DRAG, 1 ) | |
36902 | EVT_STC_DRAG_OVER = wx.PyEventBinder( wxEVT_STC_DRAG_OVER, 1 ) | |
36903 | EVT_STC_DO_DROP = wx.PyEventBinder( wxEVT_STC_DO_DROP, 1 ) | |
36904 | EVT_STC_ZOOM = wx.PyEventBinder( wxEVT_STC_ZOOM, 1 ) | |
36905 | EVT_STC_HOTSPOT_CLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_CLICK, 1 ) | |
36906 | EVT_STC_HOTSPOT_DCLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_DCLICK, 1 ) | |
36907 | EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 ) | |
36908 | </pythoncode> | |
36909 | </module> | |
36910 | <module name="xrc"> | |
36911 | <import name="core"/> | |
36912 | <pythoncode> wx = core </pythoncode> | |
36913 | <pythoncode> | |
36914 | #--------------------------------------------------------------------------- | |
36915 | </pythoncode> | |
36916 | <class name="XmlResource" oldname="wxXmlResource" module="xrc"> | |
36917 | <baseclass name="Object"/> | |
36918 | <constructor name="XmlResource" overloaded="no"> | |
36919 | <autodoc>__init__(String filemask, int flags=XRC_USE_LOCALE) -> XmlResource</autodoc> | |
36920 | <paramlist> | |
36921 | <param name="filemask" type="String" default=""/> | |
36922 | <param name="flags" type="int" default="wxXRC_USE_LOCALE"/> | |
36923 | </paramlist> | |
36924 | </constructor> | |
36925 | <constructor name="EmptyXmlResource" overloaded="no"> | |
36926 | <autodoc>EmptyXmlResource(int flags=XRC_USE_LOCALE) -> XmlResource</autodoc> | |
36927 | <paramlist> | |
36928 | <param name="flags" type="int" default="wxXRC_USE_LOCALE"/> | |
36929 | </paramlist> | |
36930 | </constructor> | |
36931 | <destructor name="~wxXmlResource" overloaded="no"> | |
36932 | <autodoc>__del__()</autodoc> | |
36933 | </destructor> | |
36934 | <method name="Load" type="bool" overloaded="no"> | |
36935 | <autodoc>Load(String filemask) -> bool</autodoc> | |
36936 | <paramlist> | |
36937 | <param name="filemask" type="String" default=""/> | |
36938 | </paramlist> | |
36939 | </method> | |
36940 | <method name="LoadFromString" type="bool" overloaded="no"> | |
36941 | <autodoc>LoadFromString(String data) -> bool</autodoc> | |
36942 | <paramlist> | |
36943 | <param name="data" type="String" default=""/> | |
36944 | </paramlist> | |
36945 | </method> | |
36946 | <method name="InitAllHandlers" type="" overloaded="no"> | |
36947 | <autodoc>InitAllHandlers()</autodoc> | |
36948 | </method> | |
36949 | <method name="AddHandler" type="" overloaded="no"> | |
36950 | <autodoc>AddHandler(XmlResourceHandler handler)</autodoc> | |
36951 | <paramlist> | |
36952 | <param name="handler" type="wxPyXmlResourceHandler" default=""/> | |
36953 | </paramlist> | |
36954 | </method> | |
36955 | <method name="InsertHandler" type="" overloaded="no"> | |
36956 | <autodoc>InsertHandler(XmlResourceHandler handler)</autodoc> | |
36957 | <paramlist> | |
36958 | <param name="handler" type="wxPyXmlResourceHandler" default=""/> | |
36959 | </paramlist> | |
36960 | </method> | |
36961 | <method name="ClearHandlers" type="" overloaded="no"> | |
36962 | <autodoc>ClearHandlers()</autodoc> | |
36963 | </method> | |
36964 | <staticmethod name="AddSubclassFactory" type="" overloaded="no"> | |
36965 | <autodoc>AddSubclassFactory(XmlSubclassFactory factory)</autodoc> | |
36966 | <paramlist> | |
36967 | <param name="factory" type="wxPyXmlSubclassFactory" default=""/> | |
36968 | </paramlist> | |
36969 | </staticmethod> | |
36970 | <method name="LoadMenu" type="Menu" overloaded="no"> | |
36971 | <autodoc>LoadMenu(String name) -> Menu</autodoc> | |
36972 | <paramlist> | |
36973 | <param name="name" type="String" default=""/> | |
36974 | </paramlist> | |
36975 | </method> | |
36976 | <method name="LoadMenuBar" type="MenuBar" overloaded="no"> | |
36977 | <autodoc>LoadMenuBar(String name) -> MenuBar</autodoc> | |
36978 | <paramlist> | |
36979 | <param name="name" type="String" default=""/> | |
36980 | </paramlist> | |
36981 | </method> | |
36982 | <method name="LoadMenuBarOnFrame" type="MenuBar" overloaded="no"> | |
36983 | <autodoc>LoadMenuBarOnFrame(Window parent, String name) -> MenuBar</autodoc> | |
36984 | <paramlist> | |
36985 | <param name="parent" type="Window" default=""/> | |
36986 | <param name="name" type="String" default=""/> | |
36987 | </paramlist> | |
36988 | </method> | |
36989 | <method name="LoadToolBar" type="ToolBar" overloaded="no"> | |
36990 | <autodoc>LoadToolBar(Window parent, String name) -> wxToolBar</autodoc> | |
36991 | <paramlist> | |
36992 | <param name="parent" type="Window" default=""/> | |
36993 | <param name="name" type="String" default=""/> | |
36994 | </paramlist> | |
36995 | </method> | |
36996 | <method name="LoadDialog" type="Dialog" overloaded="no"> | |
36997 | <autodoc>LoadDialog(Window parent, String name) -> wxDialog</autodoc> | |
36998 | <paramlist> | |
36999 | <param name="parent" type="Window" default=""/> | |
37000 | <param name="name" type="String" default=""/> | |
37001 | </paramlist> | |
37002 | </method> | |
37003 | <method name="LoadOnDialog" type="bool" overloaded="no"> | |
37004 | <autodoc>LoadOnDialog(wxDialog dlg, Window parent, String name) -> bool</autodoc> | |
37005 | <paramlist> | |
37006 | <param name="dlg" type="Dialog" default=""/> | |
37007 | <param name="parent" type="Window" default=""/> | |
37008 | <param name="name" type="String" default=""/> | |
37009 | </paramlist> | |
37010 | </method> | |
37011 | <method name="LoadPanel" type="Panel" overloaded="no"> | |
37012 | <autodoc>LoadPanel(Window parent, String name) -> wxPanel</autodoc> | |
37013 | <paramlist> | |
37014 | <param name="parent" type="Window" default=""/> | |
37015 | <param name="name" type="String" default=""/> | |
37016 | </paramlist> | |
37017 | </method> | |
37018 | <method name="LoadOnPanel" type="bool" overloaded="no"> | |
37019 | <autodoc>LoadOnPanel(wxPanel panel, Window parent, String name) -> bool</autodoc> | |
37020 | <paramlist> | |
37021 | <param name="panel" type="Panel" default=""/> | |
37022 | <param name="parent" type="Window" default=""/> | |
37023 | <param name="name" type="String" default=""/> | |
37024 | </paramlist> | |
37025 | </method> | |
37026 | <method name="LoadFrame" type="Frame" overloaded="no"> | |
37027 | <autodoc>LoadFrame(Window parent, String name) -> wxFrame</autodoc> | |
37028 | <paramlist> | |
37029 | <param name="parent" type="Window" default=""/> | |
37030 | <param name="name" type="String" default=""/> | |
37031 | </paramlist> | |
37032 | </method> | |
37033 | <method name="LoadOnFrame" type="bool" overloaded="no"> | |
37034 | <autodoc>LoadOnFrame(wxFrame frame, Window parent, String name) -> bool</autodoc> | |
37035 | <paramlist> | |
37036 | <param name="frame" type="Frame" default=""/> | |
37037 | <param name="parent" type="Window" default=""/> | |
37038 | <param name="name" type="String" default=""/> | |
37039 | </paramlist> | |
37040 | </method> | |
37041 | <method name="LoadObject" type="Object" overloaded="no"> | |
37042 | <autodoc>LoadObject(Window parent, String name, String classname) -> Object</autodoc> | |
37043 | <paramlist> | |
37044 | <param name="parent" type="Window" default=""/> | |
37045 | <param name="name" type="String" default=""/> | |
37046 | <param name="classname" type="String" default=""/> | |
37047 | </paramlist> | |
37048 | </method> | |
37049 | <method name="LoadOnObject" type="bool" overloaded="no"> | |
37050 | <autodoc>LoadOnObject(Object instance, Window parent, String name, String classname) -> bool</autodoc> | |
37051 | <paramlist> | |
37052 | <param name="instance" type="Object" default=""/> | |
37053 | <param name="parent" type="Window" default=""/> | |
37054 | <param name="name" type="String" default=""/> | |
37055 | <param name="classname" type="String" default=""/> | |
37056 | </paramlist> | |
37057 | </method> | |
37058 | <method name="LoadBitmap" type="Bitmap" overloaded="no"> | |
37059 | <autodoc>LoadBitmap(String name) -> Bitmap</autodoc> | |
37060 | <paramlist> | |
37061 | <param name="name" type="String" default=""/> | |
37062 | </paramlist> | |
37063 | </method> | |
37064 | <method name="LoadIcon" type="Icon" overloaded="no"> | |
37065 | <autodoc>LoadIcon(String name) -> Icon</autodoc> | |
37066 | <paramlist> | |
37067 | <param name="name" type="String" default=""/> | |
37068 | </paramlist> | |
37069 | </method> | |
37070 | <method name="AttachUnknownControl" type="bool" overloaded="no"> | |
37071 | <autodoc>AttachUnknownControl(String name, Window control, Window parent=None) -> bool</autodoc> | |
37072 | <paramlist> | |
37073 | <param name="name" type="String" default=""/> | |
37074 | <param name="control" type="Window" default=""/> | |
37075 | <param name="parent" type="Window" default="NULL"/> | |
37076 | </paramlist> | |
37077 | </method> | |
37078 | <staticmethod name="GetXRCID" type="int" overloaded="no"> | |
37079 | <autodoc>GetXRCID(String str_id) -> int</autodoc> | |
37080 | <paramlist> | |
37081 | <param name="str_id" type="String" default=""/> | |
37082 | </paramlist> | |
37083 | </staticmethod> | |
37084 | <method name="GetVersion" type="long" overloaded="no"> | |
37085 | <autodoc>GetVersion() -> long</autodoc> | |
37086 | </method> | |
37087 | <method name="CompareVersion" type="int" overloaded="no"> | |
37088 | <autodoc>CompareVersion(int major, int minor, int release, int revision) -> int</autodoc> | |
37089 | <paramlist> | |
37090 | <param name="major" type="int" default=""/> | |
37091 | <param name="minor" type="int" default=""/> | |
37092 | <param name="release" type="int" default=""/> | |
37093 | <param name="revision" type="int" default=""/> | |
37094 | </paramlist> | |
37095 | </method> | |
37096 | <staticmethod name="Get" type="XmlResource" overloaded="no"> | |
37097 | <autodoc>Get() -> XmlResource</autodoc> | |
37098 | </staticmethod> | |
37099 | <staticmethod name="Set" type="XmlResource" overloaded="no"> | |
37100 | <autodoc>Set(XmlResource res) -> XmlResource</autodoc> | |
37101 | <paramlist> | |
37102 | <param name="res" type="XmlResource" default=""/> | |
37103 | </paramlist> | |
37104 | </staticmethod> | |
37105 | <method name="GetFlags" type="int" overloaded="no"> | |
37106 | <autodoc>GetFlags() -> int</autodoc> | |
37107 | </method> | |
37108 | <method name="SetFlags" type="" overloaded="no"> | |
37109 | <autodoc>SetFlags(int flags)</autodoc> | |
37110 | <paramlist> | |
37111 | <param name="flags" type="int" default=""/> | |
37112 | </paramlist> | |
37113 | </method> | |
37114 | </class> | |
37115 | <pythoncode> | |
37116 | def XRCID(str_id): | |
37117 | return XmlResource_GetXRCID(str_id) | |
37118 | ||
37119 | def XRCCTRL(window, str_id, *ignoreargs): | |
37120 | return window.FindWindowById(XRCID(str_id)) | |
37121 | </pythoncode> | |
37122 | <pythoncode> | |
37123 | #--------------------------------------------------------------------------- | |
37124 | </pythoncode> | |
37125 | <class name="XmlSubclassFactory" oldname="wxPyXmlSubclassFactory" module="xrc"> | |
37126 | <constructor name="wxPyXmlSubclassFactory" overloaded="no"> | |
37127 | <autodoc>__init__() -> XmlSubclassFactory</autodoc> | |
37128 | </constructor> | |
37129 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
37130 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
37131 | <paramlist> | |
37132 | <param name="self" type="PyObject" default=""/> | |
37133 | <param name="_class" type="PyObject" default=""/> | |
37134 | </paramlist> | |
37135 | </method> | |
37136 | </class> | |
37137 | <pythoncode> | |
37138 | #--------------------------------------------------------------------------- | |
37139 | </pythoncode> | |
37140 | <class name="XmlProperty" oldname="wxXmlProperty" module="xrc"> | |
37141 | <constructor name="XmlProperty" overloaded="no"> | |
37142 | <autodoc>__init__(String name=EmptyString, String value=EmptyString, | |
37143 | XmlProperty next=None) -> XmlProperty</autodoc> | |
37144 | <paramlist> | |
37145 | <param name="name" type="String" default="wxPyEmptyString"/> | |
37146 | <param name="value" type="String" default="wxPyEmptyString"/> | |
37147 | <param name="next" type="XmlProperty" default="NULL"/> | |
37148 | </paramlist> | |
37149 | </constructor> | |
37150 | <method name="GetName" type="String" overloaded="no"> | |
37151 | <autodoc>GetName() -> String</autodoc> | |
37152 | </method> | |
37153 | <method name="GetValue" type="String" overloaded="no"> | |
37154 | <autodoc>GetValue() -> String</autodoc> | |
37155 | </method> | |
37156 | <method name="GetNext" type="XmlProperty" overloaded="no"> | |
37157 | <autodoc>GetNext() -> XmlProperty</autodoc> | |
37158 | </method> | |
37159 | <method name="SetName" type="" overloaded="no"> | |
37160 | <autodoc>SetName(String name)</autodoc> | |
37161 | <paramlist> | |
37162 | <param name="name" type="String" default=""/> | |
37163 | </paramlist> | |
37164 | </method> | |
37165 | <method name="SetValue" type="" overloaded="no"> | |
37166 | <autodoc>SetValue(String value)</autodoc> | |
37167 | <paramlist> | |
37168 | <param name="value" type="String" default=""/> | |
37169 | </paramlist> | |
37170 | </method> | |
37171 | <method name="SetNext" type="" overloaded="no"> | |
37172 | <autodoc>SetNext(XmlProperty next)</autodoc> | |
37173 | <paramlist> | |
37174 | <param name="next" type="XmlProperty" default=""/> | |
37175 | </paramlist> | |
37176 | </method> | |
37177 | </class> | |
37178 | <class name="XmlNode" oldname="wxXmlNode" module="xrc"> | |
37179 | <constructor name="XmlNode" overloaded="no"> | |
37180 | <autodoc>__init__(XmlNode parent=None, int type=0, String name=EmptyString, | |
37181 | String content=EmptyString, XmlProperty props=None, | |
37182 | XmlNode next=None) -> XmlNode</autodoc> | |
37183 | <paramlist> | |
37184 | <param name="parent" type="XmlNode" default="NULL"/> | |
37185 | <param name="type" type="wxXmlNodeType" default="0"/> | |
37186 | <param name="name" type="String" default="wxPyEmptyString"/> | |
37187 | <param name="content" type="String" default="wxPyEmptyString"/> | |
37188 | <param name="props" type="XmlProperty" default="NULL"/> | |
37189 | <param name="next" type="XmlNode" default="NULL"/> | |
37190 | </paramlist> | |
37191 | </constructor> | |
37192 | <constructor name="XmlNodeEasy" overloaded="no"> | |
37193 | <autodoc>XmlNodeEasy(int type, String name, String content=EmptyString) -> XmlNode</autodoc> | |
37194 | <paramlist> | |
37195 | <param name="type" type="wxXmlNodeType" default=""/> | |
37196 | <param name="name" type="String" default=""/> | |
37197 | <param name="content" type="String" default="wxPyEmptyString"/> | |
37198 | </paramlist> | |
37199 | </constructor> | |
37200 | <destructor name="~wxXmlNode" overloaded="no"> | |
37201 | <autodoc>__del__()</autodoc> | |
37202 | </destructor> | |
37203 | <method name="AddChild" type="" overloaded="no"> | |
37204 | <autodoc>AddChild(XmlNode child)</autodoc> | |
37205 | <paramlist> | |
37206 | <param name="child" type="XmlNode" default=""/> | |
37207 | </paramlist> | |
37208 | </method> | |
37209 | <method name="InsertChild" type="" overloaded="no"> | |
37210 | <autodoc>InsertChild(XmlNode child, XmlNode before_node)</autodoc> | |
37211 | <paramlist> | |
37212 | <param name="child" type="XmlNode" default=""/> | |
37213 | <param name="before_node" type="XmlNode" default=""/> | |
37214 | </paramlist> | |
37215 | </method> | |
37216 | <method name="RemoveChild" type="bool" overloaded="no"> | |
37217 | <autodoc>RemoveChild(XmlNode child) -> bool</autodoc> | |
37218 | <paramlist> | |
37219 | <param name="child" type="XmlNode" default=""/> | |
37220 | </paramlist> | |
37221 | </method> | |
37222 | <method name="AddProperty" type="" overloaded="no"> | |
37223 | <autodoc>AddProperty(XmlProperty prop)</autodoc> | |
37224 | <paramlist> | |
37225 | <param name="prop" type="XmlProperty" default=""/> | |
37226 | </paramlist> | |
37227 | </method> | |
37228 | <method name="AddPropertyName" type="" overloaded="no"> | |
37229 | <autodoc>AddPropertyName(String name, String value)</autodoc> | |
37230 | <paramlist> | |
37231 | <param name="name" type="String" default=""/> | |
37232 | <param name="value" type="String" default=""/> | |
37233 | </paramlist> | |
37234 | </method> | |
37235 | <method name="DeleteProperty" type="bool" overloaded="no"> | |
37236 | <autodoc>DeleteProperty(String name) -> bool</autodoc> | |
37237 | <paramlist> | |
37238 | <param name="name" type="String" default=""/> | |
37239 | </paramlist> | |
37240 | </method> | |
37241 | <method name="GetType" type="wxXmlNodeType" overloaded="no"> | |
37242 | <autodoc>GetType() -> int</autodoc> | |
37243 | </method> | |
37244 | <method name="GetName" type="String" overloaded="no"> | |
37245 | <autodoc>GetName() -> String</autodoc> | |
37246 | </method> | |
37247 | <method name="GetContent" type="String" overloaded="no"> | |
37248 | <autodoc>GetContent() -> String</autodoc> | |
37249 | </method> | |
37250 | <method name="GetParent" type="XmlNode" overloaded="no"> | |
37251 | <autodoc>GetParent() -> XmlNode</autodoc> | |
37252 | </method> | |
37253 | <method name="GetNext" type="XmlNode" overloaded="no"> | |
37254 | <autodoc>GetNext() -> XmlNode</autodoc> | |
37255 | </method> | |
37256 | <method name="GetChildren" type="XmlNode" overloaded="no"> | |
37257 | <autodoc>GetChildren() -> XmlNode</autodoc> | |
37258 | </method> | |
37259 | <method name="GetProperties" type="XmlProperty" overloaded="no"> | |
37260 | <autodoc>GetProperties() -> XmlProperty</autodoc> | |
37261 | </method> | |
37262 | <method name="GetPropVal" type="String" overloaded="no"> | |
37263 | <autodoc>GetPropVal(String propName, String defaultVal) -> String</autodoc> | |
37264 | <paramlist> | |
37265 | <param name="propName" type="String" default=""/> | |
37266 | <param name="defaultVal" type="String" default=""/> | |
37267 | </paramlist> | |
37268 | </method> | |
37269 | <method name="HasProp" type="bool" overloaded="no"> | |
37270 | <autodoc>HasProp(String propName) -> bool</autodoc> | |
37271 | <paramlist> | |
37272 | <param name="propName" type="String" default=""/> | |
37273 | </paramlist> | |
37274 | </method> | |
37275 | <method name="SetType" type="" overloaded="no"> | |
37276 | <autodoc>SetType(int type)</autodoc> | |
37277 | <paramlist> | |
37278 | <param name="type" type="wxXmlNodeType" default=""/> | |
37279 | </paramlist> | |
37280 | </method> | |
37281 | <method name="SetName" type="" overloaded="no"> | |
37282 | <autodoc>SetName(String name)</autodoc> | |
37283 | <paramlist> | |
37284 | <param name="name" type="String" default=""/> | |
37285 | </paramlist> | |
37286 | </method> | |
37287 | <method name="SetContent" type="" overloaded="no"> | |
37288 | <autodoc>SetContent(String con)</autodoc> | |
37289 | <paramlist> | |
37290 | <param name="con" type="String" default=""/> | |
37291 | </paramlist> | |
37292 | </method> | |
37293 | <method name="SetParent" type="" overloaded="no"> | |
37294 | <autodoc>SetParent(XmlNode parent)</autodoc> | |
37295 | <paramlist> | |
37296 | <param name="parent" type="XmlNode" default=""/> | |
37297 | </paramlist> | |
37298 | </method> | |
37299 | <method name="SetNext" type="" overloaded="no"> | |
37300 | <autodoc>SetNext(XmlNode next)</autodoc> | |
37301 | <paramlist> | |
37302 | <param name="next" type="XmlNode" default=""/> | |
37303 | </paramlist> | |
37304 | </method> | |
37305 | <method name="SetChildren" type="" overloaded="no"> | |
37306 | <autodoc>SetChildren(XmlNode child)</autodoc> | |
37307 | <paramlist> | |
37308 | <param name="child" type="XmlNode" default=""/> | |
37309 | </paramlist> | |
37310 | </method> | |
37311 | <method name="SetProperties" type="" overloaded="no"> | |
37312 | <autodoc>SetProperties(XmlProperty prop)</autodoc> | |
37313 | <paramlist> | |
37314 | <param name="prop" type="XmlProperty" default=""/> | |
37315 | </paramlist> | |
37316 | </method> | |
37317 | </class> | |
37318 | <class name="XmlDocument" oldname="wxXmlDocument" module="xrc"> | |
37319 | <baseclass name="Object"/> | |
37320 | <constructor name="XmlDocument" overloaded="no"> | |
37321 | <autodoc>__init__(String filename, String encoding=UTF8String) -> XmlDocument</autodoc> | |
37322 | <paramlist> | |
37323 | <param name="filename" type="String" default=""/> | |
37324 | <param name="encoding" type="String" default="wxPyUTF8String"/> | |
37325 | </paramlist> | |
37326 | </constructor> | |
37327 | <constructor name="XmlDocumentFromStream" overloaded="no"> | |
37328 | <autodoc>XmlDocumentFromStream(InputStream stream, String encoding=UTF8String) -> XmlDocument</autodoc> | |
37329 | <paramlist> | |
37330 | <param name="stream" type="wxInputStream" default=""/> | |
37331 | <param name="encoding" type="String" default="wxPyUTF8String"/> | |
37332 | </paramlist> | |
37333 | </constructor> | |
37334 | <constructor name="EmptyXmlDocument" overloaded="no"> | |
37335 | <autodoc>EmptyXmlDocument() -> XmlDocument</autodoc> | |
37336 | </constructor> | |
37337 | <destructor name="~wxXmlDocument" overloaded="no"> | |
37338 | <autodoc>__del__()</autodoc> | |
37339 | </destructor> | |
37340 | <method name="Load" type="bool" overloaded="no"> | |
37341 | <autodoc>Load(String filename, String encoding=UTF8String) -> bool</autodoc> | |
37342 | <paramlist> | |
37343 | <param name="filename" type="String" default=""/> | |
37344 | <param name="encoding" type="String" default="wxPyUTF8String"/> | |
37345 | </paramlist> | |
37346 | </method> | |
37347 | <method name="LoadFromStream" type="bool" overloaded="no"> | |
37348 | <autodoc>LoadFromStream(InputStream stream, String encoding=UTF8String) -> bool</autodoc> | |
37349 | <paramlist> | |
37350 | <param name="stream" type="wxInputStream" default=""/> | |
37351 | <param name="encoding" type="String" default="wxPyUTF8String"/> | |
37352 | </paramlist> | |
37353 | </method> | |
37354 | <method name="Save" type="bool" overloaded="no"> | |
37355 | <autodoc>Save(String filename) -> bool</autodoc> | |
37356 | <paramlist> | |
37357 | <param name="filename" type="String" default=""/> | |
37358 | </paramlist> | |
37359 | </method> | |
37360 | <method name="SaveToStream" type="bool" overloaded="no"> | |
37361 | <autodoc>SaveToStream(OutputStream stream) -> bool</autodoc> | |
37362 | <paramlist> | |
37363 | <param name="stream" type="OutputStream" default=""/> | |
37364 | </paramlist> | |
37365 | </method> | |
37366 | <method name="IsOk" type="bool" overloaded="no"> | |
37367 | <autodoc>IsOk() -> bool</autodoc> | |
37368 | </method> | |
37369 | <method name="GetRoot" type="XmlNode" overloaded="no"> | |
37370 | <autodoc>GetRoot() -> XmlNode</autodoc> | |
37371 | </method> | |
37372 | <method name="GetVersion" type="String" overloaded="no"> | |
37373 | <autodoc>GetVersion() -> String</autodoc> | |
37374 | </method> | |
37375 | <method name="GetFileEncoding" type="String" overloaded="no"> | |
37376 | <autodoc>GetFileEncoding() -> String</autodoc> | |
37377 | </method> | |
37378 | <method name="SetRoot" type="" overloaded="no"> | |
37379 | <autodoc>SetRoot(XmlNode node)</autodoc> | |
37380 | <paramlist> | |
37381 | <param name="node" type="XmlNode" default=""/> | |
37382 | </paramlist> | |
37383 | </method> | |
37384 | <method name="SetVersion" type="" overloaded="no"> | |
37385 | <autodoc>SetVersion(String version)</autodoc> | |
37386 | <paramlist> | |
37387 | <param name="version" type="String" default=""/> | |
37388 | </paramlist> | |
37389 | </method> | |
37390 | <method name="SetFileEncoding" type="" overloaded="no"> | |
37391 | <autodoc>SetFileEncoding(String encoding)</autodoc> | |
37392 | <paramlist> | |
37393 | <param name="encoding" type="String" default=""/> | |
37394 | </paramlist> | |
37395 | </method> | |
37396 | </class> | |
37397 | <pythoncode> | |
37398 | #--------------------------------------------------------------------------- | |
37399 | </pythoncode> | |
37400 | <class name="XmlResourceHandler" oldname="wxPyXmlResourceHandler" module="xrc"> | |
37401 | <baseclass name="Object"/> | |
37402 | <constructor name="wxPyXmlResourceHandler" overloaded="no"> | |
37403 | <autodoc>__init__() -> XmlResourceHandler</autodoc> | |
37404 | </constructor> | |
37405 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
37406 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
37407 | <paramlist> | |
37408 | <param name="self" type="PyObject" default=""/> | |
37409 | <param name="_class" type="PyObject" default=""/> | |
37410 | </paramlist> | |
37411 | </method> | |
37412 | <method name="CreateResource" type="Object" overloaded="no"> | |
37413 | <autodoc>CreateResource(XmlNode node, Object parent, Object instance) -> Object</autodoc> | |
37414 | <paramlist> | |
37415 | <param name="node" type="XmlNode" default=""/> | |
37416 | <param name="parent" type="Object" default=""/> | |
37417 | <param name="instance" type="Object" default=""/> | |
37418 | </paramlist> | |
37419 | </method> | |
37420 | <method name="SetParentResource" type="" overloaded="no"> | |
37421 | <autodoc>SetParentResource(XmlResource res)</autodoc> | |
37422 | <paramlist> | |
37423 | <param name="res" type="XmlResource" default=""/> | |
37424 | </paramlist> | |
37425 | </method> | |
37426 | <method name="GetResource" type="XmlResource" overloaded="no"> | |
37427 | <autodoc>GetResource() -> XmlResource</autodoc> | |
37428 | </method> | |
37429 | <method name="GetNode" type="XmlNode" overloaded="no"> | |
37430 | <autodoc>GetNode() -> XmlNode</autodoc> | |
37431 | </method> | |
37432 | <method name="GetClass" type="String" overloaded="no"> | |
37433 | <autodoc>GetClass() -> String</autodoc> | |
37434 | </method> | |
37435 | <method name="GetParent" type="Object" overloaded="no"> | |
37436 | <autodoc>GetParent() -> Object</autodoc> | |
37437 | </method> | |
37438 | <method name="GetInstance" type="Object" overloaded="no"> | |
37439 | <autodoc>GetInstance() -> Object</autodoc> | |
37440 | </method> | |
37441 | <method name="GetParentAsWindow" type="Window" overloaded="no"> | |
37442 | <autodoc>GetParentAsWindow() -> Window</autodoc> | |
37443 | </method> | |
37444 | <method name="GetInstanceAsWindow" type="Window" overloaded="no"> | |
37445 | <autodoc>GetInstanceAsWindow() -> Window</autodoc> | |
37446 | </method> | |
37447 | <method name="IsOfClass" type="bool" overloaded="no"> | |
37448 | <autodoc>IsOfClass(XmlNode node, String classname) -> bool</autodoc> | |
37449 | <paramlist> | |
37450 | <param name="node" type="XmlNode" default=""/> | |
37451 | <param name="classname" type="String" default=""/> | |
37452 | </paramlist> | |
37453 | </method> | |
37454 | <method name="GetNodeContent" type="String" overloaded="no"> | |
37455 | <autodoc>GetNodeContent(XmlNode node) -> String</autodoc> | |
37456 | <paramlist> | |
37457 | <param name="node" type="XmlNode" default=""/> | |
37458 | </paramlist> | |
37459 | </method> | |
37460 | <method name="HasParam" type="bool" overloaded="no"> | |
37461 | <autodoc>HasParam(String param) -> bool</autodoc> | |
37462 | <paramlist> | |
37463 | <param name="param" type="String" default=""/> | |
37464 | </paramlist> | |
37465 | </method> | |
37466 | <method name="GetParamNode" type="XmlNode" overloaded="no"> | |
37467 | <autodoc>GetParamNode(String param) -> XmlNode</autodoc> | |
37468 | <paramlist> | |
37469 | <param name="param" type="String" default=""/> | |
37470 | </paramlist> | |
37471 | </method> | |
37472 | <method name="GetParamValue" type="String" overloaded="no"> | |
37473 | <autodoc>GetParamValue(String param) -> String</autodoc> | |
37474 | <paramlist> | |
37475 | <param name="param" type="String" default=""/> | |
37476 | </paramlist> | |
37477 | </method> | |
37478 | <method name="AddStyle" type="" overloaded="no"> | |
37479 | <autodoc>AddStyle(String name, int value)</autodoc> | |
37480 | <paramlist> | |
37481 | <param name="name" type="String" default=""/> | |
37482 | <param name="value" type="int" default=""/> | |
37483 | </paramlist> | |
37484 | </method> | |
37485 | <method name="AddWindowStyles" type="" overloaded="no"> | |
37486 | <autodoc>AddWindowStyles()</autodoc> | |
37487 | </method> | |
37488 | <method name="GetStyle" type="int" overloaded="no"> | |
37489 | <autodoc>GetStyle(String param=StyleString, int defaults=0) -> int</autodoc> | |
37490 | <paramlist> | |
37491 | <param name="param" type="String" default="wxPyStyleString"/> | |
37492 | <param name="defaults" type="int" default="0"/> | |
37493 | </paramlist> | |
37494 | </method> | |
37495 | <method name="GetText" type="String" overloaded="no"> | |
37496 | <autodoc>GetText(String param, bool translate=True) -> String</autodoc> | |
37497 | <paramlist> | |
37498 | <param name="param" type="String" default=""/> | |
37499 | <param name="translate" type="bool" default="True"/> | |
37500 | </paramlist> | |
37501 | </method> | |
37502 | <method name="GetID" type="int" overloaded="no"> | |
37503 | <autodoc>GetID() -> int</autodoc> | |
37504 | </method> | |
37505 | <method name="GetName" type="String" overloaded="no"> | |
37506 | <autodoc>GetName() -> String</autodoc> | |
37507 | </method> | |
37508 | <method name="GetBool" type="bool" overloaded="no"> | |
37509 | <autodoc>GetBool(String param, bool defaultv=False) -> bool</autodoc> | |
37510 | <paramlist> | |
37511 | <param name="param" type="String" default=""/> | |
37512 | <param name="defaultv" type="bool" default="False"/> | |
37513 | </paramlist> | |
37514 | </method> | |
37515 | <method name="GetLong" type="long" overloaded="no"> | |
37516 | <autodoc>GetLong(String param, long defaultv=0) -> long</autodoc> | |
37517 | <paramlist> | |
37518 | <param name="param" type="String" default=""/> | |
37519 | <param name="defaultv" type="long" default="0"/> | |
37520 | </paramlist> | |
37521 | </method> | |
37522 | <method name="GetColour" type="Colour" overloaded="no"> | |
37523 | <autodoc>GetColour(String param) -> Colour</autodoc> | |
37524 | <paramlist> | |
37525 | <param name="param" type="String" default=""/> | |
37526 | </paramlist> | |
37527 | </method> | |
37528 | <method name="GetSize" type="Size" overloaded="no"> | |
37529 | <autodoc>GetSize(String param=SizeString) -> Size</autodoc> | |
37530 | <paramlist> | |
37531 | <param name="param" type="String" default="wxPySizeString"/> | |
37532 | </paramlist> | |
37533 | </method> | |
37534 | <method name="GetPosition" type="Point" overloaded="no"> | |
37535 | <autodoc>GetPosition(String param=PosString) -> Point</autodoc> | |
37536 | <paramlist> | |
37537 | <param name="param" type="String" default="wxPyPosString"/> | |
37538 | </paramlist> | |
37539 | </method> | |
37540 | <method name="GetDimension" type="int" overloaded="no"> | |
37541 | <autodoc>GetDimension(String param, int defaultv=0) -> int</autodoc> | |
37542 | <paramlist> | |
37543 | <param name="param" type="String" default=""/> | |
37544 | <param name="defaultv" type="int" default="0"/> | |
37545 | </paramlist> | |
37546 | </method> | |
37547 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
37548 | <autodoc>GetBitmap(String param=BitmapString, wxArtClient defaultArtClient=wxART_OTHER, | |
37549 | Size size=DefaultSize) -> Bitmap</autodoc> | |
37550 | <paramlist> | |
37551 | <param name="param" type="String" default="wxPyBitmapString"/> | |
37552 | <param name="defaultArtClient" type="wxArtClient" default="wxART_OTHER"/> | |
37553 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37554 | </paramlist> | |
37555 | </method> | |
37556 | <method name="GetIcon" type="Icon" overloaded="no"> | |
37557 | <autodoc>GetIcon(String param=IconString, wxArtClient defaultArtClient=wxART_OTHER, | |
37558 | Size size=DefaultSize) -> Icon</autodoc> | |
37559 | <paramlist> | |
37560 | <param name="param" type="String" default="wxPyIconString"/> | |
37561 | <param name="defaultArtClient" type="wxArtClient" default="wxART_OTHER"/> | |
37562 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37563 | </paramlist> | |
37564 | </method> | |
37565 | <method name="GetFont" type="Font" overloaded="no"> | |
37566 | <autodoc>GetFont(String param=FontString) -> Font</autodoc> | |
37567 | <paramlist> | |
37568 | <param name="param" type="String" default="wxPyFontString"/> | |
37569 | </paramlist> | |
37570 | </method> | |
37571 | <method name="SetupWindow" type="" overloaded="no"> | |
37572 | <autodoc>SetupWindow(Window wnd)</autodoc> | |
37573 | <paramlist> | |
37574 | <param name="wnd" type="Window" default=""/> | |
37575 | </paramlist> | |
37576 | </method> | |
37577 | <method name="CreateChildren" type="" overloaded="no"> | |
37578 | <autodoc>CreateChildren(Object parent, bool this_hnd_only=False)</autodoc> | |
37579 | <paramlist> | |
37580 | <param name="parent" type="Object" default=""/> | |
37581 | <param name="this_hnd_only" type="bool" default="False"/> | |
37582 | </paramlist> | |
37583 | </method> | |
37584 | <method name="CreateChildrenPrivately" type="" overloaded="no"> | |
37585 | <autodoc>CreateChildrenPrivately(Object parent, XmlNode rootnode=None)</autodoc> | |
37586 | <paramlist> | |
37587 | <param name="parent" type="Object" default=""/> | |
37588 | <param name="rootnode" type="XmlNode" default="NULL"/> | |
37589 | </paramlist> | |
37590 | </method> | |
37591 | <method name="CreateResFromNode" type="Object" overloaded="no"> | |
37592 | <autodoc>CreateResFromNode(XmlNode node, Object parent, Object instance=None) -> Object</autodoc> | |
37593 | <paramlist> | |
37594 | <param name="node" type="XmlNode" default=""/> | |
37595 | <param name="parent" type="Object" default=""/> | |
37596 | <param name="instance" type="Object" default="NULL"/> | |
37597 | </paramlist> | |
37598 | </method> | |
37599 | <method name="GetCurFileSystem" type="FileSystem" overloaded="no"> | |
37600 | <autodoc>GetCurFileSystem() -> FileSystem</autodoc> | |
37601 | </method> | |
37602 | </class> | |
37603 | <pythoncode>#---------------------------------------------------------------------------- | |
37604 | # The global was removed in favor of static accessor functions. This is for | |
37605 | # backwards compatibility: | |
37606 | ||
37607 | TheXmlResource = XmlResource_Get() | |
37608 | ||
37609 | ||
37610 | #---------------------------------------------------------------------------- | |
37611 | # Create a factory for handling the subclass property of the object tag. | |
37612 | ||
37613 | ||
37614 | def _my_import(name): | |
37615 | mod = __import__(name) | |
37616 | components = name.split('.') | |
37617 | for comp in components[1:]: | |
37618 | mod = getattr(mod, comp) | |
37619 | return mod | |
37620 | ||
37621 | ||
37622 | class XmlSubclassFactory_Python(XmlSubclassFactory): | |
37623 | def __init__(self): | |
37624 | XmlSubclassFactory.__init__(self) | |
37625 | ||
37626 | def Create(self, className): | |
37627 | assert className.find('.') != -1, "Module name must be specified!" | |
37628 | mname = className[:className.rfind('.')] | |
37629 | cname = className[className.rfind('.')+1:] | |
37630 | module = _my_import(mname) | |
37631 | klass = getattr(module, cname) | |
37632 | inst = klass() | |
37633 | return inst | |
37634 | ||
37635 | ||
37636 | XmlResource_AddSubclassFactory(XmlSubclassFactory_Python()) | |
37637 | ||
37638 | #---------------------------------------------------------------------------- | |
37639 | </pythoncode> | |
37640 | </module> | |
37641 | <module name="gizmos"> | |
37642 | <import name="windows"/> | |
37643 | <import name="controls"/> | |
37644 | <pythoncode> wx = core </pythoncode> | |
37645 | <class name="DynamicSashSplitEvent" oldname="wxDynamicSashSplitEvent" module="gizmos"> | |
37646 | <baseclass name="CommandEvent"/> | |
37647 | <constructor name="DynamicSashSplitEvent" overloaded="no"> | |
37648 | <autodoc>__init__(Object target) -> DynamicSashSplitEvent</autodoc> | |
37649 | <paramlist> | |
37650 | <param name="target" type="Object" default=""/> | |
37651 | </paramlist> | |
37652 | </constructor> | |
37653 | </class> | |
37654 | <class name="DynamicSashUnifyEvent" oldname="wxDynamicSashUnifyEvent" module="gizmos"> | |
37655 | <baseclass name="CommandEvent"/> | |
37656 | <constructor name="DynamicSashUnifyEvent" overloaded="no"> | |
37657 | <autodoc>__init__(Object target) -> DynamicSashUnifyEvent</autodoc> | |
37658 | <paramlist> | |
37659 | <param name="target" type="Object" default=""/> | |
37660 | </paramlist> | |
37661 | </constructor> | |
37662 | </class> | |
37663 | <class name="DynamicSashWindow" oldname="wxDynamicSashWindow" module="gizmos"> | |
37664 | <baseclass name="Window"/> | |
37665 | <constructor name="DynamicSashWindow" overloaded="no"> | |
37666 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
37667 | long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, | |
37668 | String name=DynamicSashNameStr) -> DynamicSashWindow</autodoc> | |
37669 | <paramlist> | |
37670 | <param name="parent" type="Window" default=""/> | |
37671 | <param name="id" type="int" default=""/> | |
37672 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37673 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37674 | <param name="style" type="long" default="wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER"/> | |
37675 | <param name="name" type="String" default="wxPyDynamicSashNameStr"/> | |
37676 | </paramlist> | |
37677 | </constructor> | |
37678 | <constructor name="PreDynamicSashWindow" overloaded="no"> | |
37679 | <autodoc>PreDynamicSashWindow() -> DynamicSashWindow</autodoc> | |
37680 | </constructor> | |
37681 | <method name="Create" type="bool" overloaded="no"> | |
37682 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
37683 | long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, | |
37684 | String name=DynamicSashNameStr) -> bool</autodoc> | |
37685 | <paramlist> | |
37686 | <param name="parent" type="Window" default=""/> | |
37687 | <param name="id" type="int" default=""/> | |
37688 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37689 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37690 | <param name="style" type="long" default="wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER"/> | |
37691 | <param name="name" type="String" default="wxPyDynamicSashNameStr"/> | |
37692 | </paramlist> | |
37693 | </method> | |
37694 | <method name="GetHScrollBar" type="ScrollBar" overloaded="no"> | |
37695 | <autodoc>GetHScrollBar(Window child) -> ScrollBar</autodoc> | |
37696 | <paramlist> | |
37697 | <param name="child" type="Window" default=""/> | |
37698 | </paramlist> | |
37699 | </method> | |
37700 | <method name="GetVScrollBar" type="ScrollBar" overloaded="no"> | |
37701 | <autodoc>GetVScrollBar(Window child) -> ScrollBar</autodoc> | |
37702 | <paramlist> | |
37703 | <param name="child" type="Window" default=""/> | |
37704 | </paramlist> | |
37705 | </method> | |
37706 | </class> | |
37707 | <pythoncode> | |
37708 | EVT_DYNAMIC_SASH_SPLIT = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT, 1 ) | |
37709 | EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) | |
37710 | </pythoncode> | |
37711 | <class name="EditableListBox" oldname="wxEditableListBox" module="gizmos"> | |
37712 | <baseclass name="Panel"/> | |
37713 | <constructor name="EditableListBox" overloaded="no"> | |
37714 | <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, | |
37715 | Size size=DefaultSize, long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE, | |
37716 | String name=EditableListBoxNameStr) -> EditableListBox</autodoc> | |
37717 | <paramlist> | |
37718 | <param name="parent" type="Window" default=""/> | |
37719 | <param name="id" type="int" default=""/> | |
37720 | <param name="label" type="String" default=""/> | |
37721 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37722 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37723 | <param name="style" type="long" default="wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE"/> | |
37724 | <param name="name" type="String" default="wxPyEditableListBoxNameStr"/> | |
37725 | </paramlist> | |
37726 | </constructor> | |
37727 | <method name="SetStrings" type="" overloaded="no"> | |
37728 | <autodoc>SetStrings(wxArrayString strings)</autodoc> | |
37729 | <paramlist> | |
37730 | <param name="strings" type="wxArrayString" default=""/> | |
37731 | </paramlist> | |
37732 | </method> | |
37733 | <method name="GetStrings" type="PyObject" overloaded="no"> | |
37734 | <autodoc>GetStrings() -> PyObject</autodoc> | |
37735 | </method> | |
37736 | <method name="GetListCtrl" type="wxListCtrl" overloaded="no"> | |
37737 | <autodoc>GetListCtrl() -> wxListCtrl</autodoc> | |
37738 | </method> | |
37739 | <method name="GetDelButton" type="BitmapButton" overloaded="no"> | |
37740 | <autodoc>GetDelButton() -> BitmapButton</autodoc> | |
37741 | </method> | |
37742 | <method name="GetNewButton" type="BitmapButton" overloaded="no"> | |
37743 | <autodoc>GetNewButton() -> BitmapButton</autodoc> | |
37744 | </method> | |
37745 | <method name="GetUpButton" type="BitmapButton" overloaded="no"> | |
37746 | <autodoc>GetUpButton() -> BitmapButton</autodoc> | |
37747 | </method> | |
37748 | <method name="GetDownButton" type="BitmapButton" overloaded="no"> | |
37749 | <autodoc>GetDownButton() -> BitmapButton</autodoc> | |
37750 | </method> | |
37751 | <method name="GetEditButton" type="BitmapButton" overloaded="no"> | |
37752 | <autodoc>GetEditButton() -> BitmapButton</autodoc> | |
37753 | </method> | |
37754 | </class> | |
37755 | <class name="RemotelyScrolledTreeCtrl" oldname="wxRemotelyScrolledTreeCtrl" module="gizmos"> | |
37756 | <baseclass name="TreeCtrl"/> | |
37757 | <constructor name="RemotelyScrolledTreeCtrl" overloaded="no"> | |
37758 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
37759 | long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl</autodoc> | |
37760 | <paramlist> | |
37761 | <param name="parent" type="Window" default=""/> | |
37762 | <param name="id" type="int" default=""/> | |
37763 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37764 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37765 | <param name="style" type="long" default="wxTR_HAS_BUTTONS"/> | |
37766 | </paramlist> | |
37767 | </constructor> | |
37768 | <method name="HideVScrollbar" type="" overloaded="no"> | |
37769 | <autodoc>HideVScrollbar()</autodoc> | |
37770 | </method> | |
37771 | <method name="AdjustRemoteScrollbars" type="" overloaded="no"> | |
37772 | <autodoc>AdjustRemoteScrollbars()</autodoc> | |
37773 | </method> | |
37774 | <method name="GetScrolledWindow" type="ScrolledWindow" overloaded="no"> | |
37775 | <autodoc>GetScrolledWindow() -> ScrolledWindow</autodoc> | |
37776 | </method> | |
37777 | <method name="ScrollToLine" type="" overloaded="no"> | |
37778 | <autodoc>ScrollToLine(int posHoriz, int posVert)</autodoc> | |
37779 | <paramlist> | |
37780 | <param name="posHoriz" type="int" default=""/> | |
37781 | <param name="posVert" type="int" default=""/> | |
37782 | </paramlist> | |
37783 | </method> | |
37784 | <method name="SetCompanionWindow" type="" overloaded="no"> | |
37785 | <autodoc>SetCompanionWindow(Window companion)</autodoc> | |
37786 | <paramlist> | |
37787 | <param name="companion" type="Window" default=""/> | |
37788 | </paramlist> | |
37789 | </method> | |
37790 | <method name="GetCompanionWindow" type="Window" overloaded="no"> | |
37791 | <autodoc>GetCompanionWindow() -> Window</autodoc> | |
37792 | </method> | |
37793 | </class> | |
37794 | <class name="TreeCompanionWindow" oldname="wxPyTreeCompanionWindow" module="gizmos"> | |
37795 | <baseclass name="Window"/> | |
37796 | <constructor name="wxPyTreeCompanionWindow" overloaded="no"> | |
37797 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
37798 | Size size=DefaultSize, long style=0) -> TreeCompanionWindow</autodoc> | |
37799 | <paramlist> | |
37800 | <param name="parent" type="Window" default=""/> | |
37801 | <param name="id" type="int" default="-1"/> | |
37802 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37803 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37804 | <param name="style" type="long" default="0"/> | |
37805 | </paramlist> | |
37806 | </constructor> | |
37807 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
37808 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
37809 | <paramlist> | |
37810 | <param name="self" type="PyObject" default=""/> | |
37811 | <param name="_class" type="PyObject" default=""/> | |
37812 | </paramlist> | |
37813 | </method> | |
37814 | <method name="GetTreeCtrl" type="RemotelyScrolledTreeCtrl" overloaded="no"> | |
37815 | <autodoc>GetTreeCtrl() -> RemotelyScrolledTreeCtrl</autodoc> | |
37816 | </method> | |
37817 | <method name="SetTreeCtrl" type="" overloaded="no"> | |
37818 | <autodoc>SetTreeCtrl(RemotelyScrolledTreeCtrl treeCtrl)</autodoc> | |
37819 | <paramlist> | |
37820 | <param name="treeCtrl" type="RemotelyScrolledTreeCtrl" default=""/> | |
37821 | </paramlist> | |
37822 | </method> | |
37823 | </class> | |
37824 | <class name="ThinSplitterWindow" oldname="wxThinSplitterWindow" module="gizmos"> | |
37825 | <baseclass name="SplitterWindow"/> | |
37826 | <constructor name="ThinSplitterWindow" overloaded="no"> | |
37827 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
37828 | Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow</autodoc> | |
37829 | <paramlist> | |
37830 | <param name="parent" type="Window" default=""/> | |
37831 | <param name="id" type="int" default="-1"/> | |
37832 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37833 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37834 | <param name="style" type="long" default="wxSP_3D|wxCLIP_CHILDREN"/> | |
37835 | </paramlist> | |
37836 | </constructor> | |
37837 | </class> | |
37838 | <class name="SplitterScrolledWindow" oldname="wxSplitterScrolledWindow" module="gizmos"> | |
37839 | <baseclass name="ScrolledWindow"/> | |
37840 | <constructor name="SplitterScrolledWindow" overloaded="no"> | |
37841 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
37842 | Size size=DefaultSize, long style=0) -> SplitterScrolledWindow</autodoc> | |
37843 | <paramlist> | |
37844 | <param name="parent" type="Window" default=""/> | |
37845 | <param name="id" type="int" default="-1"/> | |
37846 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37847 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37848 | <param name="style" type="long" default="0"/> | |
37849 | </paramlist> | |
37850 | </constructor> | |
37851 | </class> | |
37852 | <class name="LEDNumberCtrl" oldname="wxLEDNumberCtrl" module="gizmos"> | |
37853 | <baseclass name="Control"/> | |
37854 | <constructor name="LEDNumberCtrl" overloaded="no"> | |
37855 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
37856 | Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl</autodoc> | |
37857 | <paramlist> | |
37858 | <param name="parent" type="Window" default=""/> | |
37859 | <param name="id" type="int" default="-1"/> | |
37860 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37861 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37862 | <param name="style" type="long" default="wxLED_ALIGN_LEFT|wxLED_DRAW_FADED"/> | |
37863 | </paramlist> | |
37864 | </constructor> | |
37865 | <constructor name="PreLEDNumberCtrl" overloaded="no"> | |
37866 | <autodoc>PreLEDNumberCtrl() -> LEDNumberCtrl</autodoc> | |
37867 | </constructor> | |
37868 | <method name="Create" type="bool" overloaded="no"> | |
37869 | <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, | |
37870 | Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool</autodoc> | |
37871 | <paramlist> | |
37872 | <param name="parent" type="Window" default=""/> | |
37873 | <param name="id" type="int" default="-1"/> | |
37874 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37875 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37876 | <param name="style" type="long" default="wxLED_ALIGN_LEFT|wxLED_DRAW_FADED"/> | |
37877 | </paramlist> | |
37878 | </method> | |
37879 | <method name="GetAlignment" type="wxLEDValueAlign" overloaded="no"> | |
37880 | <autodoc>GetAlignment() -> int</autodoc> | |
37881 | </method> | |
37882 | <method name="GetDrawFaded" type="bool" overloaded="no"> | |
37883 | <autodoc>GetDrawFaded() -> bool</autodoc> | |
37884 | </method> | |
37885 | <method name="GetValue" type="String" overloaded="no"> | |
37886 | <autodoc>GetValue() -> String</autodoc> | |
37887 | </method> | |
37888 | <method name="SetAlignment" type="" overloaded="no"> | |
37889 | <autodoc>SetAlignment(int Alignment, bool Redraw=true)</autodoc> | |
37890 | <paramlist> | |
37891 | <param name="Alignment" type="wxLEDValueAlign" default=""/> | |
37892 | <param name="Redraw" type="bool" default="true"/> | |
37893 | </paramlist> | |
37894 | </method> | |
37895 | <method name="SetDrawFaded" type="" overloaded="no"> | |
37896 | <autodoc>SetDrawFaded(bool DrawFaded, bool Redraw=true)</autodoc> | |
37897 | <paramlist> | |
37898 | <param name="DrawFaded" type="bool" default=""/> | |
37899 | <param name="Redraw" type="bool" default="true"/> | |
37900 | </paramlist> | |
37901 | </method> | |
37902 | <method name="SetValue" type="" overloaded="no"> | |
37903 | <autodoc>SetValue(String Value, bool Redraw=true)</autodoc> | |
37904 | <paramlist> | |
37905 | <param name="Value" type="String" default=""/> | |
37906 | <param name="Redraw" type="bool" default="true"/> | |
37907 | </paramlist> | |
37908 | </method> | |
37909 | </class> | |
37910 | <class name="TreeListColumnInfo" oldname="wxTreeListColumnInfo" module="gizmos"> | |
37911 | <baseclass name="Object"/> | |
37912 | <constructor name="TreeListColumnInfo" overloaded="no"> | |
37913 | <autodoc>__init__(String text=EmptyString, int image=-1, size_t width=100, | |
37914 | int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo</autodoc> | |
37915 | <paramlist> | |
37916 | <param name="text" type="String" default="wxPyEmptyString"/> | |
37917 | <param name="image" type="int" default="-1"/> | |
37918 | <param name="width" type="size_t" default="100"/> | |
37919 | <param name="alignment" type="wxTreeListColumnAlign" default="wxTL_ALIGN_LEFT"/> | |
37920 | </paramlist> | |
37921 | </constructor> | |
37922 | <method name="GetAlignment" type="wxTreeListColumnAlign" overloaded="no"> | |
37923 | <autodoc>GetAlignment() -> int</autodoc> | |
37924 | </method> | |
37925 | <method name="GetText" type="String" overloaded="no"> | |
37926 | <autodoc>GetText() -> String</autodoc> | |
37927 | </method> | |
37928 | <method name="GetImage" type="int" overloaded="no"> | |
37929 | <autodoc>GetImage() -> int</autodoc> | |
37930 | </method> | |
37931 | <method name="GetSelectedImage" type="int" overloaded="no"> | |
37932 | <autodoc>GetSelectedImage() -> int</autodoc> | |
37933 | </method> | |
37934 | <method name="GetWidth" type="size_t" overloaded="no"> | |
37935 | <autodoc>GetWidth() -> size_t</autodoc> | |
37936 | </method> | |
37937 | <method name="SetAlignment" type="" overloaded="no"> | |
37938 | <autodoc>SetAlignment(int alignment)</autodoc> | |
37939 | <paramlist> | |
37940 | <param name="alignment" type="wxTreeListColumnAlign" default=""/> | |
37941 | </paramlist> | |
37942 | </method> | |
37943 | <method name="SetText" type="" overloaded="no"> | |
37944 | <autodoc>SetText(String text)</autodoc> | |
37945 | <paramlist> | |
37946 | <param name="text" type="String" default=""/> | |
37947 | </paramlist> | |
37948 | </method> | |
37949 | <method name="SetImage" type="" overloaded="no"> | |
37950 | <autodoc>SetImage(int image)</autodoc> | |
37951 | <paramlist> | |
37952 | <param name="image" type="int" default=""/> | |
37953 | </paramlist> | |
37954 | </method> | |
37955 | <method name="SetSelectedImage" type="" overloaded="no"> | |
37956 | <autodoc>SetSelectedImage(int image)</autodoc> | |
37957 | <paramlist> | |
37958 | <param name="image" type="int" default=""/> | |
37959 | </paramlist> | |
37960 | </method> | |
37961 | <method name="SetWidth" type="" overloaded="no"> | |
37962 | <autodoc>SetWidth(size_t with)</autodoc> | |
37963 | <paramlist> | |
37964 | <param name="with" type="size_t" default=""/> | |
37965 | </paramlist> | |
37966 | </method> | |
37967 | </class> | |
37968 | <class name="TreeListCtrl" oldname="wxPyTreeListCtrl" module="gizmos"> | |
37969 | <baseclass name="Control"/> | |
37970 | <constructor name="wxPyTreeListCtrl" overloaded="no"> | |
37971 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
37972 | Size size=DefaultSize, long style=TR_DEFAULT_STYLE, | |
37973 | Validator validator=DefaultValidator, | |
37974 | String name=TreeListCtrlNameStr) -> TreeListCtrl</autodoc> | |
37975 | <paramlist> | |
37976 | <param name="parent" type="Window" default=""/> | |
37977 | <param name="id" type="int" default="-1"/> | |
37978 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37979 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37980 | <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/> | |
37981 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
37982 | <param name="name" type="String" default="wxPyTreeListCtrlNameStr"/> | |
37983 | </paramlist> | |
37984 | </constructor> | |
37985 | <constructor name="PreTreeListCtrl" overloaded="no"> | |
37986 | <autodoc>PreTreeListCtrl() -> TreeListCtrl</autodoc> | |
37987 | </constructor> | |
37988 | <method name="Create" type="bool" overloaded="no"> | |
37989 | <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, | |
37990 | Size size=DefaultSize, long style=TR_DEFAULT_STYLE, | |
37991 | Validator validator=DefaultValidator, | |
37992 | String name=TreeListCtrlNameStr) -> bool</autodoc> | |
c2dda882 | 37993 | <docstring>Do the 2nd phase and create the GUI control.</docstring> |
f32fc4bc RD |
37994 | <paramlist> |
37995 | <param name="parent" type="Window" default=""/> | |
37996 | <param name="id" type="int" default="-1"/> | |
37997 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37998 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37999 | <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/> | |
38000 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
38001 | <param name="name" type="String" default="wxPyTreeListCtrlNameStr"/> | |
38002 | </paramlist> | |
38003 | </method> | |
38004 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
38005 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
38006 | <paramlist> | |
38007 | <param name="self" type="PyObject" default=""/> | |
38008 | <param name="_class" type="PyObject" default=""/> | |
38009 | </paramlist> | |
38010 | </method> | |
38011 | <method name="GetCount" type="size_t" overloaded="no"> | |
38012 | <autodoc>GetCount() -> size_t</autodoc> | |
38013 | </method> | |
38014 | <method name="GetIndent" type="unsigned int" overloaded="no"> | |
38015 | <autodoc>GetIndent() -> unsigned int</autodoc> | |
38016 | </method> | |
38017 | <method name="SetIndent" type="" overloaded="no"> | |
38018 | <autodoc>SetIndent(unsigned int indent)</autodoc> | |
38019 | <paramlist> | |
38020 | <param name="indent" type="unsigned int" default=""/> | |
38021 | </paramlist> | |
38022 | </method> | |
38023 | <method name="GetSpacing" type="unsigned int" overloaded="no"> | |
38024 | <autodoc>GetSpacing() -> unsigned int</autodoc> | |
38025 | </method> | |
38026 | <method name="SetSpacing" type="" overloaded="no"> | |
38027 | <autodoc>SetSpacing(unsigned int spacing)</autodoc> | |
38028 | <paramlist> | |
38029 | <param name="spacing" type="unsigned int" default=""/> | |
38030 | </paramlist> | |
38031 | </method> | |
38032 | <method name="GetLineSpacing" type="unsigned int" overloaded="no"> | |
38033 | <autodoc>GetLineSpacing() -> unsigned int</autodoc> | |
38034 | </method> | |
38035 | <method name="SetLineSpacing" type="" overloaded="no"> | |
38036 | <autodoc>SetLineSpacing(unsigned int spacing)</autodoc> | |
38037 | <paramlist> | |
38038 | <param name="spacing" type="unsigned int" default=""/> | |
38039 | </paramlist> | |
38040 | </method> | |
38041 | <method name="GetImageList" type="ImageList" overloaded="no"> | |
38042 | <autodoc>GetImageList() -> ImageList</autodoc> | |
38043 | </method> | |
38044 | <method name="GetStateImageList" type="ImageList" overloaded="no"> | |
38045 | <autodoc>GetStateImageList() -> ImageList</autodoc> | |
38046 | </method> | |
38047 | <method name="GetButtonsImageList" type="ImageList" overloaded="no"> | |
38048 | <autodoc>GetButtonsImageList() -> ImageList</autodoc> | |
38049 | </method> | |
38050 | <method name="SetImageList" type="" overloaded="no"> | |
38051 | <autodoc>SetImageList(ImageList imageList)</autodoc> | |
38052 | <paramlist> | |
38053 | <param name="imageList" type="ImageList" default=""/> | |
38054 | </paramlist> | |
38055 | </method> | |
38056 | <method name="SetStateImageList" type="" overloaded="no"> | |
38057 | <autodoc>SetStateImageList(ImageList imageList)</autodoc> | |
38058 | <paramlist> | |
38059 | <param name="imageList" type="ImageList" default=""/> | |
38060 | </paramlist> | |
38061 | </method> | |
38062 | <method name="SetButtonsImageList" type="" overloaded="no"> | |
38063 | <autodoc>SetButtonsImageList(ImageList imageList)</autodoc> | |
38064 | <paramlist> | |
38065 | <param name="imageList" type="ImageList" default=""/> | |
38066 | </paramlist> | |
38067 | </method> | |
38068 | <method name="AssignImageList" type="" overloaded="no"> | |
38069 | <autodoc>AssignImageList(ImageList imageList)</autodoc> | |
38070 | <paramlist> | |
38071 | <param name="imageList" type="ImageList" default=""/> | |
38072 | </paramlist> | |
38073 | </method> | |
38074 | <method name="AssignStateImageList" type="" overloaded="no"> | |
38075 | <autodoc>AssignStateImageList(ImageList imageList)</autodoc> | |
38076 | <paramlist> | |
38077 | <param name="imageList" type="ImageList" default=""/> | |
38078 | </paramlist> | |
38079 | </method> | |
38080 | <method name="AssignButtonsImageList" type="" overloaded="no"> | |
38081 | <autodoc>AssignButtonsImageList(ImageList imageList)</autodoc> | |
38082 | <paramlist> | |
38083 | <param name="imageList" type="ImageList" default=""/> | |
38084 | </paramlist> | |
38085 | </method> | |
38086 | <method name="AddColumn" type="" overloaded="no"> | |
38087 | <autodoc>AddColumn(String text)</autodoc> | |
38088 | <paramlist> | |
38089 | <param name="text" type="String" default=""/> | |
38090 | </paramlist> | |
38091 | </method> | |
38092 | <method name="AddColumnInfo" type="" overloaded="no"> | |
38093 | <autodoc>AddColumnInfo(TreeListColumnInfo col)</autodoc> | |
38094 | <paramlist> | |
38095 | <param name="col" type="TreeListColumnInfo" default=""/> | |
38096 | </paramlist> | |
38097 | </method> | |
38098 | <method name="InsertColumn" type="" overloaded="no"> | |
38099 | <autodoc>InsertColumn(size_t before, String text)</autodoc> | |
38100 | <paramlist> | |
38101 | <param name="before" type="size_t" default=""/> | |
38102 | <param name="text" type="String" default=""/> | |
38103 | </paramlist> | |
38104 | </method> | |
38105 | <method name="InsertColumnInfo" type="" overloaded="no"> | |
38106 | <autodoc>InsertColumnInfo(size_t before, TreeListColumnInfo col)</autodoc> | |
38107 | <paramlist> | |
38108 | <param name="before" type="size_t" default=""/> | |
38109 | <param name="col" type="TreeListColumnInfo" default=""/> | |
38110 | </paramlist> | |
38111 | </method> | |
38112 | <method name="RemoveColumn" type="" overloaded="no"> | |
38113 | <autodoc>RemoveColumn(size_t column)</autodoc> | |
38114 | <paramlist> | |
38115 | <param name="column" type="size_t" default=""/> | |
38116 | </paramlist> | |
38117 | </method> | |
38118 | <method name="GetColumnCount" type="size_t" overloaded="no"> | |
38119 | <autodoc>GetColumnCount() -> size_t</autodoc> | |
38120 | </method> | |
38121 | <method name="SetColumnWidth" type="" overloaded="no"> | |
38122 | <autodoc>SetColumnWidth(size_t column, size_t width)</autodoc> | |
38123 | <paramlist> | |
38124 | <param name="column" type="size_t" default=""/> | |
38125 | <param name="width" type="size_t" default=""/> | |
38126 | </paramlist> | |
38127 | </method> | |
38128 | <method name="GetColumnWidth" type="int" overloaded="no"> | |
38129 | <autodoc>GetColumnWidth(size_t column) -> int</autodoc> | |
38130 | <paramlist> | |
38131 | <param name="column" type="size_t" default=""/> | |
38132 | </paramlist> | |
38133 | </method> | |
38134 | <method name="SetMainColumn" type="" overloaded="no"> | |
38135 | <autodoc>SetMainColumn(size_t column)</autodoc> | |
38136 | <paramlist> | |
38137 | <param name="column" type="size_t" default=""/> | |
38138 | </paramlist> | |
38139 | </method> | |
38140 | <method name="GetMainColumn" type="size_t" overloaded="no"> | |
38141 | <autodoc>GetMainColumn() -> size_t</autodoc> | |
38142 | </method> | |
38143 | <method name="SetColumnText" type="" overloaded="no"> | |
38144 | <autodoc>SetColumnText(size_t column, String text)</autodoc> | |
38145 | <paramlist> | |
38146 | <param name="column" type="size_t" default=""/> | |
38147 | <param name="text" type="String" default=""/> | |
38148 | </paramlist> | |
38149 | </method> | |
38150 | <method name="GetColumnText" type="String" overloaded="no"> | |
38151 | <autodoc>GetColumnText(size_t column) -> String</autodoc> | |
38152 | <paramlist> | |
38153 | <param name="column" type="size_t" default=""/> | |
38154 | </paramlist> | |
38155 | </method> | |
38156 | <method name="SetColumn" type="" overloaded="no"> | |
38157 | <autodoc>SetColumn(size_t column, TreeListColumnInfo info)</autodoc> | |
38158 | <paramlist> | |
38159 | <param name="column" type="size_t" default=""/> | |
38160 | <param name="info" type="TreeListColumnInfo" default=""/> | |
38161 | </paramlist> | |
38162 | </method> | |
38163 | <method name="GetColumn" type="TreeListColumnInfo" overloaded="no"> | |
38164 | <autodoc>GetColumn(size_t column) -> TreeListColumnInfo</autodoc> | |
38165 | <paramlist> | |
38166 | <param name="column" type="size_t" default=""/> | |
38167 | </paramlist> | |
38168 | </method> | |
38169 | <method name="SetColumnAlignment" type="" overloaded="no"> | |
38170 | <autodoc>SetColumnAlignment(size_t column, int align)</autodoc> | |
38171 | <paramlist> | |
38172 | <param name="column" type="size_t" default=""/> | |
38173 | <param name="align" type="wxTreeListColumnAlign" default=""/> | |
38174 | </paramlist> | |
38175 | </method> | |
38176 | <method name="GetColumnAlignment" type="wxTreeListColumnAlign" overloaded="no"> | |
38177 | <autodoc>GetColumnAlignment(size_t column) -> int</autodoc> | |
38178 | <paramlist> | |
38179 | <param name="column" type="size_t" default=""/> | |
38180 | </paramlist> | |
38181 | </method> | |
38182 | <method name="SetColumnImage" type="" overloaded="no"> | |
38183 | <autodoc>SetColumnImage(size_t column, int image)</autodoc> | |
38184 | <paramlist> | |
38185 | <param name="column" type="size_t" default=""/> | |
38186 | <param name="image" type="int" default=""/> | |
38187 | </paramlist> | |
38188 | </method> | |
38189 | <method name="GetColumnImage" type="int" overloaded="no"> | |
38190 | <autodoc>GetColumnImage(size_t column) -> int</autodoc> | |
38191 | <paramlist> | |
38192 | <param name="column" type="size_t" default=""/> | |
38193 | </paramlist> | |
38194 | </method> | |
38195 | <method name="GetItemText" type="String" overloaded="no"> | |
38196 | <autodoc>GetItemText(TreeItemId item, int column=-1) -> String</autodoc> | |
38197 | <paramlist> | |
38198 | <param name="item" type="TreeItemId" default=""/> | |
38199 | <param name="column" type="int" default="-1"/> | |
38200 | </paramlist> | |
38201 | </method> | |
38202 | <method name="GetItemImage" type="int" overloaded="no"> | |
38203 | <autodoc>GetItemImage(TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int</autodoc> | |
38204 | <paramlist> | |
38205 | <param name="item" type="TreeItemId" default=""/> | |
38206 | <param name="column" type="int" default="-1"/> | |
38207 | <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/> | |
38208 | </paramlist> | |
38209 | </method> | |
38210 | <method name="SetItemText" type="" overloaded="no"> | |
38211 | <autodoc>SetItemText(TreeItemId item, String text, int column=-1)</autodoc> | |
38212 | <paramlist> | |
38213 | <param name="item" type="TreeItemId" default=""/> | |
38214 | <param name="text" type="String" default=""/> | |
38215 | <param name="column" type="int" default="-1"/> | |
38216 | </paramlist> | |
38217 | </method> | |
38218 | <method name="SetItemImage" type="" overloaded="no"> | |
38219 | <autodoc>SetItemImage(TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)</autodoc> | |
38220 | <paramlist> | |
38221 | <param name="item" type="TreeItemId" default=""/> | |
38222 | <param name="image" type="int" default=""/> | |
38223 | <param name="column" type="int" default="-1"/> | |
38224 | <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/> | |
38225 | </paramlist> | |
38226 | </method> | |
38227 | <method name="GetItemData" type="TreeItemData" overloaded="no"> | |
38228 | <autodoc>GetItemData(TreeItemId item) -> TreeItemData</autodoc> | |
38229 | <paramlist> | |
38230 | <param name="item" type="TreeItemId" default=""/> | |
38231 | </paramlist> | |
38232 | </method> | |
38233 | <method name="SetItemData" type="" overloaded="no"> | |
38234 | <autodoc>SetItemData(TreeItemId item, TreeItemData data)</autodoc> | |
38235 | <paramlist> | |
38236 | <param name="item" type="TreeItemId" default=""/> | |
38237 | <param name="data" type="TreeItemData" default=""/> | |
38238 | </paramlist> | |
38239 | </method> | |
38240 | <method name="GetItemPyData" type="PyObject" overloaded="no"> | |
38241 | <autodoc>GetItemPyData(TreeItemId item) -> PyObject</autodoc> | |
38242 | <paramlist> | |
38243 | <param name="item" type="TreeItemId" default=""/> | |
38244 | </paramlist> | |
38245 | </method> | |
38246 | <method name="SetItemPyData" type="" overloaded="no"> | |
38247 | <autodoc>SetItemPyData(TreeItemId item, PyObject obj)</autodoc> | |
38248 | <paramlist> | |
38249 | <param name="item" type="TreeItemId" default=""/> | |
38250 | <param name="obj" type="PyObject" default=""/> | |
38251 | </paramlist> | |
38252 | </method> | |
38253 | <method name="SetItemHasChildren" type="" overloaded="no"> | |
38254 | <autodoc>SetItemHasChildren(TreeItemId item, bool has=True)</autodoc> | |
38255 | <paramlist> | |
38256 | <param name="item" type="TreeItemId" default=""/> | |
38257 | <param name="has" type="bool" default="True"/> | |
38258 | </paramlist> | |
38259 | </method> | |
38260 | <method name="SetItemBold" type="" overloaded="no"> | |
38261 | <autodoc>SetItemBold(TreeItemId item, bool bold=True)</autodoc> | |
38262 | <paramlist> | |
38263 | <param name="item" type="TreeItemId" default=""/> | |
38264 | <param name="bold" type="bool" default="True"/> | |
38265 | </paramlist> | |
38266 | </method> | |
38267 | <method name="SetItemTextColour" type="" overloaded="no"> | |
38268 | <autodoc>SetItemTextColour(TreeItemId item, Colour col)</autodoc> | |
38269 | <paramlist> | |
38270 | <param name="item" type="TreeItemId" default=""/> | |
38271 | <param name="col" type="Colour" default=""/> | |
38272 | </paramlist> | |
38273 | </method> | |
38274 | <method name="SetItemBackgroundColour" type="" overloaded="no"> | |
38275 | <autodoc>SetItemBackgroundColour(TreeItemId item, Colour col)</autodoc> | |
38276 | <paramlist> | |
38277 | <param name="item" type="TreeItemId" default=""/> | |
38278 | <param name="col" type="Colour" default=""/> | |
38279 | </paramlist> | |
38280 | </method> | |
38281 | <method name="SetItemFont" type="" overloaded="no"> | |
38282 | <autodoc>SetItemFont(TreeItemId item, Font font)</autodoc> | |
38283 | <paramlist> | |
38284 | <param name="item" type="TreeItemId" default=""/> | |
38285 | <param name="font" type="Font" default=""/> | |
38286 | </paramlist> | |
38287 | </method> | |
38288 | <method name="GetItemBold" type="bool" overloaded="no"> | |
38289 | <autodoc>GetItemBold(TreeItemId item) -> bool</autodoc> | |
38290 | <paramlist> | |
38291 | <param name="item" type="TreeItemId" default=""/> | |
38292 | </paramlist> | |
38293 | </method> | |
38294 | <method name="GetItemTextColour" type="Colour" overloaded="no"> | |
38295 | <autodoc>GetItemTextColour(TreeItemId item) -> Colour</autodoc> | |
38296 | <paramlist> | |
38297 | <param name="item" type="TreeItemId" default=""/> | |
38298 | </paramlist> | |
38299 | </method> | |
38300 | <method name="GetItemBackgroundColour" type="Colour" overloaded="no"> | |
38301 | <autodoc>GetItemBackgroundColour(TreeItemId item) -> Colour</autodoc> | |
38302 | <paramlist> | |
38303 | <param name="item" type="TreeItemId" default=""/> | |
38304 | </paramlist> | |
38305 | </method> | |
38306 | <method name="GetItemFont" type="Font" overloaded="no"> | |
38307 | <autodoc>GetItemFont(TreeItemId item) -> Font</autodoc> | |
38308 | <paramlist> | |
38309 | <param name="item" type="TreeItemId" default=""/> | |
38310 | </paramlist> | |
38311 | </method> | |
38312 | <method name="IsVisible" type="bool" overloaded="no"> | |
38313 | <autodoc>IsVisible(TreeItemId item) -> bool</autodoc> | |
38314 | <paramlist> | |
38315 | <param name="item" type="TreeItemId" default=""/> | |
38316 | </paramlist> | |
38317 | </method> | |
38318 | <method name="ItemHasChildren" type="bool" overloaded="no"> | |
38319 | <autodoc>ItemHasChildren(TreeItemId item) -> bool</autodoc> | |
38320 | <paramlist> | |
38321 | <param name="item" type="TreeItemId" default=""/> | |
38322 | </paramlist> | |
38323 | </method> | |
38324 | <method name="IsExpanded" type="bool" overloaded="no"> | |
38325 | <autodoc>IsExpanded(TreeItemId item) -> bool</autodoc> | |
38326 | <paramlist> | |
38327 | <param name="item" type="TreeItemId" default=""/> | |
38328 | </paramlist> | |
38329 | </method> | |
38330 | <method name="IsSelected" type="bool" overloaded="no"> | |
38331 | <autodoc>IsSelected(TreeItemId item) -> bool</autodoc> | |
38332 | <paramlist> | |
38333 | <param name="item" type="TreeItemId" default=""/> | |
38334 | </paramlist> | |
38335 | </method> | |
38336 | <method name="IsBold" type="bool" overloaded="no"> | |
38337 | <autodoc>IsBold(TreeItemId item) -> bool</autodoc> | |
38338 | <paramlist> | |
38339 | <param name="item" type="TreeItemId" default=""/> | |
38340 | </paramlist> | |
38341 | </method> | |
38342 | <method name="GetChildrenCount" type="size_t" overloaded="no"> | |
38343 | <autodoc>GetChildrenCount(TreeItemId item, bool recursively=True) -> size_t</autodoc> | |
38344 | <paramlist> | |
38345 | <param name="item" type="TreeItemId" default=""/> | |
38346 | <param name="recursively" type="bool" default="True"/> | |
38347 | </paramlist> | |
38348 | </method> | |
38349 | <method name="GetRootItem" type="TreeItemId" overloaded="no"> | |
38350 | <autodoc>GetRootItem() -> TreeItemId</autodoc> | |
38351 | </method> | |
38352 | <method name="GetSelection" type="TreeItemId" overloaded="no"> | |
38353 | <autodoc>GetSelection() -> TreeItemId</autodoc> | |
38354 | </method> | |
38355 | <method name="GetSelections" type="PyObject" overloaded="no"> | |
38356 | <autodoc>GetSelections() -> PyObject</autodoc> | |
38357 | </method> | |
38358 | <method name="GetItemParent" type="TreeItemId" overloaded="no"> | |
38359 | <autodoc>GetItemParent(TreeItemId item) -> TreeItemId</autodoc> | |
38360 | <paramlist> | |
38361 | <param name="item" type="TreeItemId" default=""/> | |
38362 | </paramlist> | |
38363 | </method> | |
38364 | <method name="GetFirstChild" type="PyObject" overloaded="no"> | |
38365 | <autodoc>GetFirstChild(TreeItemId item) -> PyObject</autodoc> | |
38366 | <paramlist> | |
38367 | <param name="item" type="TreeItemId" default=""/> | |
38368 | </paramlist> | |
38369 | </method> | |
38370 | <method name="GetNextChild" type="PyObject" overloaded="no"> | |
38371 | <autodoc>GetNextChild(TreeItemId item, long cookie) -> PyObject</autodoc> | |
38372 | <paramlist> | |
38373 | <param name="item" type="TreeItemId" default=""/> | |
38374 | <param name="cookie" type="long" default=""/> | |
38375 | </paramlist> | |
38376 | </method> | |
38377 | <method name="GetLastChild" type="TreeItemId" overloaded="no"> | |
38378 | <autodoc>GetLastChild(TreeItemId item) -> TreeItemId</autodoc> | |
38379 | <paramlist> | |
38380 | <param name="item" type="TreeItemId" default=""/> | |
38381 | </paramlist> | |
38382 | </method> | |
38383 | <method name="GetNextSibling" type="TreeItemId" overloaded="no"> | |
38384 | <autodoc>GetNextSibling(TreeItemId item) -> TreeItemId</autodoc> | |
38385 | <paramlist> | |
38386 | <param name="item" type="TreeItemId" default=""/> | |
38387 | </paramlist> | |
38388 | </method> | |
38389 | <method name="GetPrevSibling" type="TreeItemId" overloaded="no"> | |
38390 | <autodoc>GetPrevSibling(TreeItemId item) -> TreeItemId</autodoc> | |
38391 | <paramlist> | |
38392 | <param name="item" type="TreeItemId" default=""/> | |
38393 | </paramlist> | |
38394 | </method> | |
38395 | <method name="GetFirstVisibleItem" type="TreeItemId" overloaded="no"> | |
38396 | <autodoc>GetFirstVisibleItem() -> TreeItemId</autodoc> | |
38397 | </method> | |
38398 | <method name="GetNextVisible" type="TreeItemId" overloaded="no"> | |
38399 | <autodoc>GetNextVisible(TreeItemId item) -> TreeItemId</autodoc> | |
38400 | <paramlist> | |
38401 | <param name="item" type="TreeItemId" default=""/> | |
38402 | </paramlist> | |
38403 | </method> | |
38404 | <method name="GetPrevVisible" type="TreeItemId" overloaded="no"> | |
38405 | <autodoc>GetPrevVisible(TreeItemId item) -> TreeItemId</autodoc> | |
38406 | <paramlist> | |
38407 | <param name="item" type="TreeItemId" default=""/> | |
38408 | </paramlist> | |
38409 | </method> | |
38410 | <method name="GetNext" type="TreeItemId" overloaded="no"> | |
38411 | <autodoc>GetNext(TreeItemId item) -> TreeItemId</autodoc> | |
38412 | <paramlist> | |
38413 | <param name="item" type="TreeItemId" default=""/> | |
38414 | </paramlist> | |
38415 | </method> | |
38416 | <method name="AddRoot" type="TreeItemId" overloaded="no"> | |
38417 | <autodoc>AddRoot(String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc> | |
38418 | <paramlist> | |
38419 | <param name="text" type="String" default=""/> | |
38420 | <param name="image" type="int" default="-1"/> | |
38421 | <param name="selectedImage" type="int" default="-1"/> | |
38422 | <param name="data" type="TreeItemData" default="NULL"/> | |
38423 | </paramlist> | |
38424 | </method> | |
38425 | <method name="PrependItem" type="TreeItemId" overloaded="no"> | |
38426 | <autodoc>PrependItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1, | |
0f43fbdf | 38427 | TreeItemData data=None) -> TreeItemId</autodoc> |
f32fc4bc RD |
38428 | <paramlist> |
38429 | <param name="parent" type="TreeItemId" default=""/> | |
38430 | <param name="text" type="String" default=""/> | |
38431 | <param name="image" type="int" default="-1"/> | |
38432 | <param name="selectedImage" type="int" default="-1"/> | |
38433 | <param name="data" type="TreeItemData" default="NULL"/> | |
38434 | </paramlist> | |
38435 | </method> | |
38436 | <method name="InsertItem" type="TreeItemId" overloaded="no"> | |
38437 | <autodoc>InsertItem(TreeItemId parent, TreeItemId idPrevious, String text, | |
0f43fbdf | 38438 | int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc> |
f32fc4bc RD |
38439 | <paramlist> |
38440 | <param name="parent" type="TreeItemId" default=""/> | |
38441 | <param name="idPrevious" type="TreeItemId" default=""/> | |
38442 | <param name="text" type="String" default=""/> | |
38443 | <param name="image" type="int" default="-1"/> | |
38444 | <param name="selectedImage" type="int" default="-1"/> | |
38445 | <param name="data" type="TreeItemData" default="NULL"/> | |
38446 | </paramlist> | |
38447 | </method> | |
38448 | <method name="InsertItemBefore" type="TreeItemId" overloaded="no"> | |
38449 | <autodoc>InsertItemBefore(TreeItemId parent, size_t index, String text, int image=-1, | |
0f43fbdf | 38450 | int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc> |
f32fc4bc RD |
38451 | <paramlist> |
38452 | <param name="parent" type="TreeItemId" default=""/> | |
38453 | <param name="index" type="size_t" default=""/> | |
38454 | <param name="text" type="String" default=""/> | |
38455 | <param name="image" type="int" default="-1"/> | |
38456 | <param name="selectedImage" type="int" default="-1"/> | |
38457 | <param name="data" type="TreeItemData" default="NULL"/> | |
38458 | </paramlist> | |
38459 | </method> | |
38460 | <method name="AppendItem" type="TreeItemId" overloaded="no"> | |
38461 | <autodoc>AppendItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1, | |
0f43fbdf | 38462 | TreeItemData data=None) -> TreeItemId</autodoc> |
f32fc4bc RD |
38463 | <paramlist> |
38464 | <param name="parent" type="TreeItemId" default=""/> | |
38465 | <param name="text" type="String" default=""/> | |
38466 | <param name="image" type="int" default="-1"/> | |
38467 | <param name="selectedImage" type="int" default="-1"/> | |
38468 | <param name="data" type="TreeItemData" default="NULL"/> | |
38469 | </paramlist> | |
38470 | </method> | |
38471 | <method name="Delete" type="" overloaded="no"> | |
38472 | <autodoc>Delete(TreeItemId item)</autodoc> | |
38473 | <paramlist> | |
38474 | <param name="item" type="TreeItemId" default=""/> | |
38475 | </paramlist> | |
38476 | </method> | |
38477 | <method name="DeleteChildren" type="" overloaded="no"> | |
38478 | <autodoc>DeleteChildren(TreeItemId item)</autodoc> | |
38479 | <paramlist> | |
38480 | <param name="item" type="TreeItemId" default=""/> | |
38481 | </paramlist> | |
38482 | </method> | |
38483 | <method name="DeleteAllItems" type="" overloaded="no"> | |
38484 | <autodoc>DeleteAllItems()</autodoc> | |
38485 | </method> | |
38486 | <method name="Expand" type="" overloaded="no"> | |
38487 | <autodoc>Expand(TreeItemId item)</autodoc> | |
38488 | <paramlist> | |
38489 | <param name="item" type="TreeItemId" default=""/> | |
38490 | </paramlist> | |
38491 | </method> | |
38492 | <method name="ExpandAll" type="" overloaded="no"> | |
38493 | <autodoc>ExpandAll(TreeItemId item)</autodoc> | |
38494 | <paramlist> | |
38495 | <param name="item" type="TreeItemId" default=""/> | |
38496 | </paramlist> | |
38497 | </method> | |
38498 | <method name="Collapse" type="" overloaded="no"> | |
38499 | <autodoc>Collapse(TreeItemId item)</autodoc> | |
38500 | <paramlist> | |
38501 | <param name="item" type="TreeItemId" default=""/> | |
38502 | </paramlist> | |
38503 | </method> | |
38504 | <method name="CollapseAndReset" type="" overloaded="no"> | |
38505 | <autodoc>CollapseAndReset(TreeItemId item)</autodoc> | |
38506 | <paramlist> | |
38507 | <param name="item" type="TreeItemId" default=""/> | |
38508 | </paramlist> | |
38509 | </method> | |
38510 | <method name="Toggle" type="" overloaded="no"> | |
38511 | <autodoc>Toggle(TreeItemId item)</autodoc> | |
38512 | <paramlist> | |
38513 | <param name="item" type="TreeItemId" default=""/> | |
38514 | </paramlist> | |
38515 | </method> | |
38516 | <method name="Unselect" type="" overloaded="no"> | |
38517 | <autodoc>Unselect()</autodoc> | |
38518 | </method> | |
38519 | <method name="UnselectAll" type="" overloaded="no"> | |
38520 | <autodoc>UnselectAll()</autodoc> | |
38521 | </method> | |
38522 | <method name="SelectItem" type="" overloaded="no"> | |
38523 | <autodoc>SelectItem(TreeItemId item, bool unselect_others=True, bool extended_select=False)</autodoc> | |
38524 | <paramlist> | |
38525 | <param name="item" type="TreeItemId" default=""/> | |
38526 | <param name="unselect_others" type="bool" default="True"/> | |
38527 | <param name="extended_select" type="bool" default="False"/> | |
38528 | </paramlist> | |
38529 | </method> | |
38530 | <method name="EnsureVisible" type="" overloaded="no"> | |
38531 | <autodoc>EnsureVisible(TreeItemId item)</autodoc> | |
38532 | <paramlist> | |
38533 | <param name="item" type="TreeItemId" default=""/> | |
38534 | </paramlist> | |
38535 | </method> | |
38536 | <method name="ScrollTo" type="" overloaded="no"> | |
38537 | <autodoc>ScrollTo(TreeItemId item)</autodoc> | |
38538 | <paramlist> | |
38539 | <param name="item" type="TreeItemId" default=""/> | |
38540 | </paramlist> | |
38541 | </method> | |
38542 | <method name="HitTest" type="TreeItemId" overloaded="no"> | |
38543 | <autodoc>HitTest(Point point, int OUTPUT, int OUTPUT) -> TreeItemId</autodoc> | |
38544 | <paramlist> | |
38545 | <param name="point" type="Point" default=""/> | |
38546 | <param name="OUTPUT" type="int" default=""/> | |
38547 | <param name="OUTPUT" type="int" default=""/> | |
38548 | </paramlist> | |
38549 | </method> | |
38550 | <method name="GetBoundingRect" type="PyObject" overloaded="no"> | |
38551 | <autodoc>GetBoundingRect(TreeItemId item, bool textOnly=False) -> PyObject</autodoc> | |
38552 | <paramlist> | |
38553 | <param name="item" type="TreeItemId" default=""/> | |
38554 | <param name="textOnly" type="bool" default="False"/> | |
38555 | </paramlist> | |
38556 | </method> | |
38557 | <method name="EditLabel" type="" overloaded="no"> | |
38558 | <autodoc>EditLabel(TreeItemId item)</autodoc> | |
38559 | <paramlist> | |
38560 | <param name="item" type="TreeItemId" default=""/> | |
38561 | </paramlist> | |
38562 | </method> | |
38563 | <method name="Edit" type="" overloaded="no"> | |
38564 | <autodoc>Edit(TreeItemId item)</autodoc> | |
38565 | <paramlist> | |
38566 | <param name="item" type="TreeItemId" default=""/> | |
38567 | </paramlist> | |
38568 | </method> | |
38569 | <method name="SortChildren" type="" overloaded="no"> | |
38570 | <autodoc>SortChildren(TreeItemId item)</autodoc> | |
38571 | <paramlist> | |
38572 | <param name="item" type="TreeItemId" default=""/> | |
38573 | </paramlist> | |
38574 | </method> | |
38575 | <method name="GetItemSelectedImage" type="int" overloaded="no"> | |
38576 | <autodoc>GetItemSelectedImage(TreeItemId item) -> int</autodoc> | |
38577 | <paramlist> | |
38578 | <param name="item" type="TreeItemId" default=""/> | |
38579 | </paramlist> | |
38580 | </method> | |
38581 | <method name="SetItemSelectedImage" type="" overloaded="no"> | |
38582 | <autodoc>SetItemSelectedImage(TreeItemId item, int image)</autodoc> | |
38583 | <paramlist> | |
38584 | <param name="item" type="TreeItemId" default=""/> | |
38585 | <param name="image" type="int" default=""/> | |
38586 | </paramlist> | |
38587 | </method> | |
38588 | <method name="GetHeaderWindow" type="Window" overloaded="no"> | |
38589 | <autodoc>GetHeaderWindow() -> Window</autodoc> | |
38590 | </method> | |
38591 | <method name="GetMainWindow" type="Window" overloaded="no"> | |
38592 | <autodoc>GetMainWindow() -> Window</autodoc> | |
38593 | </method> | |
38594 | </class> | |
38595 | </module> | |
0dd25e81 | 38596 | </wxPython-metadata> |