]> git.saurik.com Git - wxWidgets.git/blob - wxPython/docs/xml/wxPython-metadata.xml
fix some wording
[wxWidgets.git] / wxPython / docs / xml / wxPython-metadata.xml
1 <?xml version="1.0"?>
2 <wxPython-metadata>
3 <module name="_core">
4 <pythoncode>
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
14 </pythoncode>
15 <pythoncode>
16 #----------------------------------------------------------------------------
17
18 def _deprecated(callable, msg=None):
19 """
20 Create a wrapper function that will raise a DeprecationWarning
21 before calling the callable.
22 """
23 if msg is None:
24 msg = "%s is deprecated" % callable
25 def deprecatedWrapper(*args, **kwargs):
26 import warnings
27 warnings.warn(msg, DeprecationWarning, stacklevel=2)
28 return callable(*args, **kwargs)
29 deprecatedWrapper.__doc__ = msg
30 return deprecatedWrapper
31
32
33 #----------------------------------------------------------------------------
34 </pythoncode>
35 <pythoncode>
36 #---------------------------------------------------------------------------
37 </pythoncode>
38 <class name="Object" oldname="wxObject" module="_core">
39 <docstring>The base class for most wx objects, although in wxPython not
40 much functionality is needed nor exposed.</docstring>
41 <method name="GetClassName" type="String" overloaded="no">
42 <autodoc>GetClassName(self) -&gt; String</autodoc>
43 <docstring>Returns the class name of the C++ class using wxRTTI.</docstring>
44 </method>
45 <method name="Destroy" type="" overloaded="no">
46 <autodoc>Destroy(self)</autodoc>
47 <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
48 </method>
49 </class>
50 <pythoncode>
51 #---------------------------------------------------------------------------
52 </pythoncode>
53 <pythoncode>
54 #---------------------------------------------------------------------------
55 </pythoncode>
56 <class name="Size" oldname="wxSize" module="_core">
57 <docstring>wx.Size is a useful data structure used to represent the size of
58 something. It simply contians integer width and height proprtites.
59 In most places in wxPython where a wx.Size is expected a
60 (width,height) tuple can be used instead.</docstring>
61 <constructor name="Size" overloaded="no">
62 <autodoc>__init__(self, int w=0, int h=0) -&gt; Size</autodoc>
63 <docstring>Creates a size object.</docstring>
64 <paramlist>
65 <param name="w" type="int" default="0"/>
66 <param name="h" type="int" default="0"/>
67 </paramlist>
68 </constructor>
69 <destructor name="~wxSize" overloaded="no">
70 <autodoc>__del__(self)</autodoc>
71 </destructor>
72 <property name="width" type="int" readonly="no"/>
73 <property name="height" type="int" readonly="no"/>
74 <method name="__eq__" type="bool" overloaded="no">
75 <autodoc>__eq__(self, Size sz) -&gt; bool</autodoc>
76 <docstring>Test for equality of wx.Size objects.</docstring>
77 <paramlist>
78 <param name="sz" type="Size" default=""/>
79 </paramlist>
80 </method>
81 <method name="__ne__" type="bool" overloaded="no">
82 <autodoc>__ne__(self, Size sz) -&gt; bool</autodoc>
83 <docstring>Test for inequality.</docstring>
84 <paramlist>
85 <param name="sz" type="Size" default=""/>
86 </paramlist>
87 </method>
88 <method name="__add__" type="Size" overloaded="no">
89 <autodoc>__add__(self, Size sz) -&gt; Size</autodoc>
90 <docstring>Add sz's proprties to this and return the result.</docstring>
91 <paramlist>
92 <param name="sz" type="Size" default=""/>
93 </paramlist>
94 </method>
95 <method name="__sub__" type="Size" overloaded="no">
96 <autodoc>__sub__(self, Size sz) -&gt; Size</autodoc>
97 <docstring>Subtract sz's properties from this and return the result.</docstring>
98 <paramlist>
99 <param name="sz" type="Size" default=""/>
100 </paramlist>
101 </method>
102 <method name="IncTo" type="" overloaded="no">
103 <autodoc>IncTo(self, Size sz)</autodoc>
104 <docstring>Increments this object so that both of its dimensions are not less
105 than the corresponding dimensions of the size.</docstring>
106 <paramlist>
107 <param name="sz" type="Size" default=""/>
108 </paramlist>
109 </method>
110 <method name="DecTo" type="" overloaded="no">
111 <autodoc>DecTo(self, Size sz)</autodoc>
112 <docstring>Decrements this object so that both of its dimensions are not greater
113 than the corresponding dimensions of the size.</docstring>
114 <paramlist>
115 <param name="sz" type="Size" default=""/>
116 </paramlist>
117 </method>
118 <method name="Set" type="" overloaded="no">
119 <autodoc>Set(self, int w, int h)</autodoc>
120 <docstring>Set both width and height.</docstring>
121 <paramlist>
122 <param name="w" type="int" default=""/>
123 <param name="h" type="int" default=""/>
124 </paramlist>
125 </method>
126 <method name="SetWidth" type="" overloaded="no">
127 <autodoc>SetWidth(self, int w)</autodoc>
128 <paramlist>
129 <param name="w" type="int" default=""/>
130 </paramlist>
131 </method>
132 <method name="SetHeight" type="" overloaded="no">
133 <autodoc>SetHeight(self, int h)</autodoc>
134 <paramlist>
135 <param name="h" type="int" default=""/>
136 </paramlist>
137 </method>
138 <method name="GetWidth" type="int" overloaded="no">
139 <autodoc>GetWidth(self) -&gt; int</autodoc>
140 </method>
141 <method name="GetHeight" type="int" overloaded="no">
142 <autodoc>GetHeight(self) -&gt; int</autodoc>
143 </method>
144 <method name="IsFullySpecified" type="bool" overloaded="no">
145 <autodoc>IsFullySpecified(self) -&gt; bool</autodoc>
146 <docstring>Returns True if both components of the size are non-default values.</docstring>
147 </method>
148 <method name="SetDefaults" type="" overloaded="no">
149 <autodoc>SetDefaults(self, Size size)</autodoc>
150 <docstring>Combine this size with the other one replacing the default components
151 of this object (i.e. equal to -1) with those of the other.</docstring>
152 <paramlist>
153 <param name="size" type="Size" default=""/>
154 </paramlist>
155 </method>
156 <method name="Get" type="PyObject" overloaded="no">
157 <autodoc>Get() -&gt; (width,height)</autodoc>
158 <docstring>Returns the width and height properties as a tuple.</docstring>
159 </method>
160 </class>
161 <pythoncode>
162 #---------------------------------------------------------------------------
163 </pythoncode>
164 <class name="RealPoint" oldname="wxRealPoint" module="_core">
165 <docstring>A data structure for representing a point or position with floating
166 point x and y properties. In wxPython most places that expect a
167 wx.RealPoint can also accept a (x,y) tuple.</docstring>
168 <constructor name="RealPoint" overloaded="no">
169 <autodoc>__init__(self, double x=0.0, double y=0.0) -&gt; RealPoint</autodoc>
170 <docstring>Create a wx.RealPoint object</docstring>
171 <paramlist>
172 <param name="x" type="double" default="0.0"/>
173 <param name="y" type="double" default="0.0"/>
174 </paramlist>
175 </constructor>
176 <destructor name="~wxRealPoint" overloaded="no">
177 <autodoc>__del__(self)</autodoc>
178 </destructor>
179 <property name="x" type="double" readonly="no"/>
180 <property name="y" type="double" readonly="no"/>
181 <method name="__eq__" type="bool" overloaded="no">
182 <autodoc>__eq__(self, RealPoint pt) -&gt; bool</autodoc>
183 <docstring>Test for equality of wx.RealPoint objects.</docstring>
184 <paramlist>
185 <param name="pt" type="RealPoint" default=""/>
186 </paramlist>
187 </method>
188 <method name="__ne__" type="bool" overloaded="no">
189 <autodoc>__ne__(self, RealPoint pt) -&gt; bool</autodoc>
190 <docstring>Test for inequality of wx.RealPoint objects.</docstring>
191 <paramlist>
192 <param name="pt" type="RealPoint" default=""/>
193 </paramlist>
194 </method>
195 <method name="__add__" type="RealPoint" overloaded="no">
196 <autodoc>__add__(self, RealPoint pt) -&gt; RealPoint</autodoc>
197 <docstring>Add pt's proprties to this and return the result.</docstring>
198 <paramlist>
199 <param name="pt" type="RealPoint" default=""/>
200 </paramlist>
201 </method>
202 <method name="__sub__" type="RealPoint" overloaded="no">
203 <autodoc>__sub__(self, RealPoint pt) -&gt; RealPoint</autodoc>
204 <docstring>Subtract pt's proprties from this and return the result</docstring>
205 <paramlist>
206 <param name="pt" type="RealPoint" default=""/>
207 </paramlist>
208 </method>
209 <method name="Set" type="" overloaded="no">
210 <autodoc>Set(self, double x, double y)</autodoc>
211 <docstring>Set both the x and y properties</docstring>
212 <paramlist>
213 <param name="x" type="double" default=""/>
214 <param name="y" type="double" default=""/>
215 </paramlist>
216 </method>
217 <method name="Get" type="PyObject" overloaded="no">
218 <autodoc>Get() -&gt; (x,y)</autodoc>
219 <docstring>Return the x and y properties as a tuple. </docstring>
220 </method>
221 </class>
222 <pythoncode>
223 #---------------------------------------------------------------------------
224 </pythoncode>
225 <class name="Point" oldname="wxPoint" module="_core">
226 <docstring>A data structure for representing a point or position with integer x
227 and y properties. Most places in wxPython that expect a wx.Point can
228 also accept a (x,y) tuple.</docstring>
229 <constructor name="Point" overloaded="no">
230 <autodoc>__init__(self, int x=0, int y=0) -&gt; Point</autodoc>
231 <docstring>Create a wx.Point object</docstring>
232 <paramlist>
233 <param name="x" type="int" default="0"/>
234 <param name="y" type="int" default="0"/>
235 </paramlist>
236 </constructor>
237 <destructor name="~wxPoint" overloaded="no">
238 <autodoc>__del__(self)</autodoc>
239 </destructor>
240 <property name="x" type="int" readonly="no"/>
241 <property name="y" type="int" readonly="no"/>
242 <method name="__eq__" type="bool" overloaded="no">
243 <autodoc>__eq__(self, Point pt) -&gt; bool</autodoc>
244 <docstring>Test for equality of wx.Point objects.</docstring>
245 <paramlist>
246 <param name="pt" type="Point" default=""/>
247 </paramlist>
248 </method>
249 <method name="__ne__" type="bool" overloaded="no">
250 <autodoc>__ne__(self, Point pt) -&gt; bool</autodoc>
251 <docstring>Test for inequality of wx.Point objects.</docstring>
252 <paramlist>
253 <param name="pt" type="Point" default=""/>
254 </paramlist>
255 </method>
256 <method name="__add__" type="Point" overloaded="no">
257 <autodoc>__add__(self, Point pt) -&gt; Point</autodoc>
258 <docstring>Add pt's proprties to this and return the result.</docstring>
259 <paramlist>
260 <param name="pt" type="Point" default=""/>
261 </paramlist>
262 </method>
263 <method name="__sub__" type="Point" overloaded="no">
264 <autodoc>__sub__(self, Point pt) -&gt; Point</autodoc>
265 <docstring>Subtract pt's proprties from this and return the result</docstring>
266 <paramlist>
267 <param name="pt" type="Point" default=""/>
268 </paramlist>
269 </method>
270 <method name="__iadd__" type="Point" overloaded="no">
271 <autodoc>__iadd__(self, Point pt) -&gt; Point</autodoc>
272 <docstring>Add pt to this object.</docstring>
273 <paramlist>
274 <param name="pt" type="Point" default=""/>
275 </paramlist>
276 </method>
277 <method name="__isub__" type="Point" overloaded="no">
278 <autodoc>__isub__(self, Point pt) -&gt; Point</autodoc>
279 <docstring>Subtract pt from this object.</docstring>
280 <paramlist>
281 <param name="pt" type="Point" default=""/>
282 </paramlist>
283 </method>
284 <method name="Set" type="" overloaded="no">
285 <autodoc>Set(self, long x, long y)</autodoc>
286 <docstring>Set both the x and y properties</docstring>
287 <paramlist>
288 <param name="x" type="long" default=""/>
289 <param name="y" type="long" default=""/>
290 </paramlist>
291 </method>
292 <method name="Get" type="PyObject" overloaded="no">
293 <autodoc>Get() -&gt; (x,y)</autodoc>
294 <docstring>Return the x and y properties as a tuple. </docstring>
295 </method>
296 </class>
297 <pythoncode>
298 #---------------------------------------------------------------------------
299 </pythoncode>
300 <class name="Rect" oldname="wxRect" module="_core">
301 <docstring>A class for representing and manipulating rectangles. It has x, y,
302 width and height properties. In wxPython most palces that expect a
303 wx.Rect can also accept a (x,y,width,height) tuple.</docstring>
304 <constructor name="Rect" overloaded="no">
305 <autodoc>__init__(self, int x=0, int y=0, int width=0, int height=0) -&gt; Rect</autodoc>
306 <docstring>Create a new Rect object.</docstring>
307 <paramlist>
308 <param name="x" type="int" default="0"/>
309 <param name="y" type="int" default="0"/>
310 <param name="width" type="int" default="0"/>
311 <param name="height" type="int" default="0"/>
312 </paramlist>
313 </constructor>
314 <constructor name="RectPP" overloaded="no">
315 <autodoc>RectPP(Point topLeft, Point bottomRight) -&gt; Rect</autodoc>
316 <docstring>Create a new Rect object from Points representing two corners.</docstring>
317 <paramlist>
318 <param name="topLeft" type="Point" default=""/>
319 <param name="bottomRight" type="Point" default=""/>
320 </paramlist>
321 </constructor>
322 <constructor name="RectPS" overloaded="no">
323 <autodoc>RectPS(Point pos, Size size) -&gt; Rect</autodoc>
324 <docstring>Create a new Rect from a position and size.</docstring>
325 <paramlist>
326 <param name="pos" type="Point" default=""/>
327 <param name="size" type="Size" default=""/>
328 </paramlist>
329 </constructor>
330 <destructor name="~wxRect" overloaded="no">
331 <autodoc>__del__(self)</autodoc>
332 </destructor>
333 <method name="GetX" type="int" overloaded="no">
334 <autodoc>GetX(self) -&gt; int</autodoc>
335 </method>
336 <method name="SetX" type="" overloaded="no">
337 <autodoc>SetX(self, int x)</autodoc>
338 <paramlist>
339 <param name="x" type="int" default=""/>
340 </paramlist>
341 </method>
342 <method name="GetY" type="int" overloaded="no">
343 <autodoc>GetY(self) -&gt; int</autodoc>
344 </method>
345 <method name="SetY" type="" overloaded="no">
346 <autodoc>SetY(self, int y)</autodoc>
347 <paramlist>
348 <param name="y" type="int" default=""/>
349 </paramlist>
350 </method>
351 <method name="GetWidth" type="int" overloaded="no">
352 <autodoc>GetWidth(self) -&gt; int</autodoc>
353 </method>
354 <method name="SetWidth" type="" overloaded="no">
355 <autodoc>SetWidth(self, int w)</autodoc>
356 <paramlist>
357 <param name="w" type="int" default=""/>
358 </paramlist>
359 </method>
360 <method name="GetHeight" type="int" overloaded="no">
361 <autodoc>GetHeight(self) -&gt; int</autodoc>
362 </method>
363 <method name="SetHeight" type="" overloaded="no">
364 <autodoc>SetHeight(self, int h)</autodoc>
365 <paramlist>
366 <param name="h" type="int" default=""/>
367 </paramlist>
368 </method>
369 <method name="GetPosition" type="Point" overloaded="no">
370 <autodoc>GetPosition(self) -&gt; Point</autodoc>
371 </method>
372 <method name="SetPosition" type="" overloaded="no">
373 <autodoc>SetPosition(self, Point p)</autodoc>
374 <paramlist>
375 <param name="p" type="Point" default=""/>
376 </paramlist>
377 </method>
378 <method name="GetSize" type="Size" overloaded="no">
379 <autodoc>GetSize(self) -&gt; Size</autodoc>
380 </method>
381 <method name="SetSize" type="" overloaded="no">
382 <autodoc>SetSize(self, Size s)</autodoc>
383 <paramlist>
384 <param name="s" type="Size" default=""/>
385 </paramlist>
386 </method>
387 <method name="GetTopLeft" type="Point" overloaded="no">
388 <autodoc>GetTopLeft(self) -&gt; Point</autodoc>
389 </method>
390 <method name="SetTopLeft" type="" overloaded="no">
391 <autodoc>SetTopLeft(self, Point p)</autodoc>
392 <paramlist>
393 <param name="p" type="Point" default=""/>
394 </paramlist>
395 </method>
396 <method name="GetBottomRight" type="Point" overloaded="no">
397 <autodoc>GetBottomRight(self) -&gt; Point</autodoc>
398 </method>
399 <method name="SetBottomRight" type="" overloaded="no">
400 <autodoc>SetBottomRight(self, Point p)</autodoc>
401 <paramlist>
402 <param name="p" type="Point" default=""/>
403 </paramlist>
404 </method>
405 <method name="GetLeft" type="int" overloaded="no">
406 <autodoc>GetLeft(self) -&gt; int</autodoc>
407 </method>
408 <method name="GetTop" type="int" overloaded="no">
409 <autodoc>GetTop(self) -&gt; int</autodoc>
410 </method>
411 <method name="GetBottom" type="int" overloaded="no">
412 <autodoc>GetBottom(self) -&gt; int</autodoc>
413 </method>
414 <method name="GetRight" type="int" overloaded="no">
415 <autodoc>GetRight(self) -&gt; int</autodoc>
416 </method>
417 <method name="SetLeft" type="" overloaded="no">
418 <autodoc>SetLeft(self, int left)</autodoc>
419 <paramlist>
420 <param name="left" type="int" default=""/>
421 </paramlist>
422 </method>
423 <method name="SetRight" type="" overloaded="no">
424 <autodoc>SetRight(self, int right)</autodoc>
425 <paramlist>
426 <param name="right" type="int" default=""/>
427 </paramlist>
428 </method>
429 <method name="SetTop" type="" overloaded="no">
430 <autodoc>SetTop(self, int top)</autodoc>
431 <paramlist>
432 <param name="top" type="int" default=""/>
433 </paramlist>
434 </method>
435 <method name="SetBottom" type="" overloaded="no">
436 <autodoc>SetBottom(self, int bottom)</autodoc>
437 <paramlist>
438 <param name="bottom" type="int" default=""/>
439 </paramlist>
440 </method>
441 <method name="Inflate" type="Rect" overloaded="no">
442 <autodoc>Inflate(self, int dx, int dy) -&gt; Rect</autodoc>
443 <docstring>Increase the rectangle size by dx in x direction and dy in y
444 direction. Both or one of) parameters may be negative to decrease the
445 rectangle size.</docstring>
446 <paramlist>
447 <param name="dx" type="int" default=""/>
448 <param name="dy" type="int" default=""/>
449 </paramlist>
450 </method>
451 <method name="Deflate" type="Rect" overloaded="no">
452 <autodoc>Deflate(self, int dx, int dy) -&gt; Rect</autodoc>
453 <docstring>Decrease the rectangle size by dx in x direction and dy in y
454 direction. Both or one of) parameters may be negative to increase the
455 rectngle size. This method is the opposite of Inflate.</docstring>
456 <paramlist>
457 <param name="dx" type="int" default=""/>
458 <param name="dy" type="int" default=""/>
459 </paramlist>
460 </method>
461 <method name="OffsetXY" type="" overloaded="no">
462 <autodoc>OffsetXY(self, int dx, int dy)</autodoc>
463 <docstring>Moves the rectangle by the specified offset. If dx is positive, the
464 rectangle is moved to the right, if dy is positive, it is moved to the
465 bottom, otherwise it is moved to the left or top respectively.</docstring>
466 <paramlist>
467 <param name="dx" type="int" default=""/>
468 <param name="dy" type="int" default=""/>
469 </paramlist>
470 </method>
471 <method name="Offset" type="" overloaded="no">
472 <autodoc>Offset(self, Point pt)</autodoc>
473 <docstring>Same as OffsetXY but uses dx,dy from Point</docstring>
474 <paramlist>
475 <param name="pt" type="Point" default=""/>
476 </paramlist>
477 </method>
478 <method name="Intersect" type="Rect" overloaded="no">
479 <autodoc>Intersect(self, Rect rect) -&gt; Rect</autodoc>
480 <docstring>Return the intersectsion of this rectangle and rect.</docstring>
481 <paramlist>
482 <param name="rect" type="Rect" default=""/>
483 </paramlist>
484 </method>
485 <method name="__add__" type="Rect" overloaded="no">
486 <autodoc>__add__(self, Rect rect) -&gt; Rect</autodoc>
487 <docstring>Add the properties of rect to this rectangle and return the result.</docstring>
488 <paramlist>
489 <param name="rect" type="Rect" default=""/>
490 </paramlist>
491 </method>
492 <method name="__iadd__" type="Rect" overloaded="no">
493 <autodoc>__iadd__(self, Rect rect) -&gt; Rect</autodoc>
494 <docstring>Add the properties of rect to this rectangle, updating this rectangle.</docstring>
495 <paramlist>
496 <param name="rect" type="Rect" default=""/>
497 </paramlist>
498 </method>
499 <method name="__eq__" type="bool" overloaded="no">
500 <autodoc>__eq__(self, Rect rect) -&gt; bool</autodoc>
501 <docstring>Test for equality.</docstring>
502 <paramlist>
503 <param name="rect" type="Rect" default=""/>
504 </paramlist>
505 </method>
506 <method name="__ne__" type="bool" overloaded="no">
507 <autodoc>__ne__(self, Rect rect) -&gt; bool</autodoc>
508 <docstring>Test for inequality.</docstring>
509 <paramlist>
510 <param name="rect" type="Rect" default=""/>
511 </paramlist>
512 </method>
513 <method name="InsideXY" type="bool" overloaded="no">
514 <autodoc>InsideXY(self, int x, int y) -&gt; bool</autodoc>
515 <docstring>Return True if the point is (not strcitly) inside the rect.</docstring>
516 <paramlist>
517 <param name="x" type="int" default=""/>
518 <param name="y" type="int" default=""/>
519 </paramlist>
520 </method>
521 <method name="Inside" type="bool" overloaded="no">
522 <autodoc>Inside(self, Point pt) -&gt; bool</autodoc>
523 <docstring>Return True if the point is (not strcitly) inside the rect.</docstring>
524 <paramlist>
525 <param name="pt" type="Point" default=""/>
526 </paramlist>
527 </method>
528 <method name="Intersects" type="bool" overloaded="no">
529 <autodoc>Intersects(self, Rect rect) -&gt; bool</autodoc>
530 <docstring>Returns True if the rectangles have a non empty intersection.</docstring>
531 <paramlist>
532 <param name="rect" type="Rect" default=""/>
533 </paramlist>
534 </method>
535 <property name="x" type="int" readonly="no"/>
536 <property name="y" type="int" readonly="no"/>
537 <property name="width" type="int" readonly="no"/>
538 <property name="height" type="int" readonly="no"/>
539 <method name="Set" type="" overloaded="no">
540 <autodoc>Set(self, int x=0, int y=0, int width=0, int height=0)</autodoc>
541 <docstring>Set all rectangle properties.</docstring>
542 <paramlist>
543 <param name="x" type="int" default="0"/>
544 <param name="y" type="int" default="0"/>
545 <param name="width" type="int" default="0"/>
546 <param name="height" type="int" default="0"/>
547 </paramlist>
548 </method>
549 <method name="Get" type="PyObject" overloaded="no">
550 <autodoc>Get() -&gt; (x,y,width,height)</autodoc>
551 <docstring>Return the rectangle properties as a tuple.</docstring>
552 </method>
553 </class>
554 <method name="IntersectRect" oldname="wxIntersectRect" type="PyObject" overloaded="no">
555 <autodoc>IntersectRect(Rect r1, Rect r2) -&gt; Rect</autodoc>
556 <docstring>Calculate and return the intersection of r1 and r2.</docstring>
557 <paramlist>
558 <param name="r1" type="Rect" default=""/>
559 <param name="r2" type="Rect" default=""/>
560 </paramlist>
561 </method>
562 <pythoncode>
563 #---------------------------------------------------------------------------
564 </pythoncode>
565 <class name="Point2D" oldname="wxPoint2D" module="_core">
566 <docstring>wx.Point2Ds represent a point or a vector in a 2d coordinate system
567 with floating point values.</docstring>
568 <constructor name="Point2D" overloaded="no">
569 <autodoc>__init__(self, double x=0.0, double y=0.0) -&gt; Point2D</autodoc>
570 <docstring>Create a w.Point2D object.</docstring>
571 <paramlist>
572 <param name="x" type="double" default="0.0"/>
573 <param name="y" type="double" default="0.0"/>
574 </paramlist>
575 </constructor>
576 <constructor name="Point2DCopy" overloaded="no">
577 <autodoc>Point2DCopy(Point2D pt) -&gt; Point2D</autodoc>
578 <docstring>Create a w.Point2D object.</docstring>
579 <paramlist>
580 <param name="pt" type="Point2D" default=""/>
581 </paramlist>
582 </constructor>
583 <constructor name="Point2DFromPoint" overloaded="no">
584 <autodoc>Point2DFromPoint(Point pt) -&gt; Point2D</autodoc>
585 <docstring>Create a w.Point2D object.</docstring>
586 <paramlist>
587 <param name="pt" type="Point" default=""/>
588 </paramlist>
589 </constructor>
590 <method name="GetFloor" type="" overloaded="no">
591 <autodoc>GetFloor() -&gt; (x,y)</autodoc>
592 <paramlist>
593 <param name="OUTPUT" type="int" default=""/>
594 <param name="OUTPUT" type="int" default=""/>
595 </paramlist>
596 </method>
597 <method name="GetRounded" type="" overloaded="no">
598 <autodoc>GetRounded() -&gt; (x,y)</autodoc>
599 <paramlist>
600 <param name="OUTPUT" type="int" default=""/>
601 <param name="OUTPUT" type="int" default=""/>
602 </paramlist>
603 </method>
604 <method name="GetVectorLength" type="double" overloaded="no">
605 <autodoc>GetVectorLength(self) -&gt; double</autodoc>
606 </method>
607 <method name="GetVectorAngle" type="double" overloaded="no">
608 <autodoc>GetVectorAngle(self) -&gt; double</autodoc>
609 </method>
610 <method name="SetVectorLength" type="" overloaded="no">
611 <autodoc>SetVectorLength(self, double length)</autodoc>
612 <paramlist>
613 <param name="length" type="double" default=""/>
614 </paramlist>
615 </method>
616 <method name="SetVectorAngle" type="" overloaded="no">
617 <autodoc>SetVectorAngle(self, double degrees)</autodoc>
618 <paramlist>
619 <param name="degrees" type="double" default=""/>
620 </paramlist>
621 </method>
622 <method name="GetDistance" type="double" overloaded="no">
623 <autodoc>GetDistance(self, Point2D pt) -&gt; double</autodoc>
624 <paramlist>
625 <param name="pt" type="Point2D" default=""/>
626 </paramlist>
627 </method>
628 <method name="GetDistanceSquare" type="double" overloaded="no">
629 <autodoc>GetDistanceSquare(self, Point2D pt) -&gt; double</autodoc>
630 <paramlist>
631 <param name="pt" type="Point2D" default=""/>
632 </paramlist>
633 </method>
634 <method name="GetDotProduct" type="double" overloaded="no">
635 <autodoc>GetDotProduct(self, Point2D vec) -&gt; double</autodoc>
636 <paramlist>
637 <param name="vec" type="Point2D" default=""/>
638 </paramlist>
639 </method>
640 <method name="GetCrossProduct" type="double" overloaded="no">
641 <autodoc>GetCrossProduct(self, Point2D vec) -&gt; double</autodoc>
642 <paramlist>
643 <param name="vec" type="Point2D" default=""/>
644 </paramlist>
645 </method>
646 <method name="__neg__" type="Point2D" overloaded="no">
647 <autodoc>__neg__(self) -&gt; Point2D</autodoc>
648 <docstring>the reflection of this point</docstring>
649 </method>
650 <method name="__iadd__" type="Point2D" overloaded="no">
651 <autodoc>__iadd__(self, Point2D pt) -&gt; Point2D</autodoc>
652 <paramlist>
653 <param name="pt" type="Point2D" default=""/>
654 </paramlist>
655 </method>
656 <method name="__isub__" type="Point2D" overloaded="no">
657 <autodoc>__isub__(self, Point2D pt) -&gt; Point2D</autodoc>
658 <paramlist>
659 <param name="pt" type="Point2D" default=""/>
660 </paramlist>
661 </method>
662 <method name="__imul__" type="Point2D" overloaded="no">
663 <autodoc>__imul__(self, Point2D pt) -&gt; Point2D</autodoc>
664 <paramlist>
665 <param name="pt" type="Point2D" default=""/>
666 </paramlist>
667 </method>
668 <method name="__idiv__" type="Point2D" overloaded="no">
669 <autodoc>__idiv__(self, Point2D pt) -&gt; Point2D</autodoc>
670 <paramlist>
671 <param name="pt" type="Point2D" default=""/>
672 </paramlist>
673 </method>
674 <method name="__eq__" type="bool" overloaded="no">
675 <autodoc>__eq__(self, Point2D pt) -&gt; bool</autodoc>
676 <docstring>Test for equality</docstring>
677 <paramlist>
678 <param name="pt" type="Point2D" default=""/>
679 </paramlist>
680 </method>
681 <method name="__ne__" type="bool" overloaded="no">
682 <autodoc>__ne__(self, Point2D pt) -&gt; bool</autodoc>
683 <docstring>Test for inequality</docstring>
684 <paramlist>
685 <param name="pt" type="Point2D" default=""/>
686 </paramlist>
687 </method>
688 <property name="x" type="double" readonly="no"/>
689 <property name="y" type="double" readonly="no"/>
690 <method name="Set" type="" overloaded="no">
691 <autodoc>Set(self, double x=0, double y=0)</autodoc>
692 <paramlist>
693 <param name="x" type="double" default="0"/>
694 <param name="y" type="double" default="0"/>
695 </paramlist>
696 </method>
697 <method name="Get" type="PyObject" overloaded="no">
698 <autodoc>Get() -&gt; (x,y)</autodoc>
699 <docstring>Return x and y properties as a tuple.</docstring>
700 </method>
701 </class>
702 <pythoncode>
703 #---------------------------------------------------------------------------
704 </pythoncode>
705 <class name="InputStream" oldname="wxPyInputStream" module="_core">
706 <constructor name="wxPyInputStream" overloaded="no">
707 <autodoc>__init__(self, PyObject p) -&gt; InputStream</autodoc>
708 <paramlist>
709 <param name="p" type="PyObject" default=""/>
710 </paramlist>
711 </constructor>
712 <method name="close" type="" overloaded="no">
713 <autodoc>close(self)</autodoc>
714 </method>
715 <method name="flush" type="" overloaded="no">
716 <autodoc>flush(self)</autodoc>
717 </method>
718 <method name="eof" type="bool" overloaded="no">
719 <autodoc>eof(self) -&gt; bool</autodoc>
720 </method>
721 <method name="read" type="PyObject" overloaded="no">
722 <autodoc>read(self, int size=-1) -&gt; PyObject</autodoc>
723 <paramlist>
724 <param name="size" type="int" default="-1"/>
725 </paramlist>
726 </method>
727 <method name="readline" type="PyObject" overloaded="no">
728 <autodoc>readline(self, int size=-1) -&gt; PyObject</autodoc>
729 <paramlist>
730 <param name="size" type="int" default="-1"/>
731 </paramlist>
732 </method>
733 <method name="readlines" type="PyObject" overloaded="no">
734 <autodoc>readlines(self, int sizehint=-1) -&gt; PyObject</autodoc>
735 <paramlist>
736 <param name="sizehint" type="int" default="-1"/>
737 </paramlist>
738 </method>
739 <method name="seek" type="" overloaded="no">
740 <autodoc>seek(self, int offset, int whence=0)</autodoc>
741 <paramlist>
742 <param name="offset" type="int" default=""/>
743 <param name="whence" type="int" default="0"/>
744 </paramlist>
745 </method>
746 <method name="tell" type="int" overloaded="no">
747 <autodoc>tell(self) -&gt; int</autodoc>
748 </method>
749 <method name="Peek" type="char" overloaded="no">
750 <autodoc>Peek(self) -&gt; char</autodoc>
751 </method>
752 <method name="GetC" type="char" overloaded="no">
753 <autodoc>GetC(self) -&gt; char</autodoc>
754 </method>
755 <method name="LastRead" type="size_t" overloaded="no">
756 <autodoc>LastRead(self) -&gt; size_t</autodoc>
757 </method>
758 <method name="CanRead" type="bool" overloaded="no">
759 <autodoc>CanRead(self) -&gt; bool</autodoc>
760 </method>
761 <method name="Eof" type="bool" overloaded="no">
762 <autodoc>Eof(self) -&gt; bool</autodoc>
763 </method>
764 <method name="Ungetch" type="bool" overloaded="no">
765 <autodoc>Ungetch(self, char c) -&gt; bool</autodoc>
766 <paramlist>
767 <param name="c" type="char" default=""/>
768 </paramlist>
769 </method>
770 <method name="SeekI" type="long" overloaded="no">
771 <autodoc>SeekI(self, long pos, int mode=FromStart) -&gt; long</autodoc>
772 <paramlist>
773 <param name="pos" type="long" default=""/>
774 <param name="mode" type="wxSeekMode" default="wxFromStart"/>
775 </paramlist>
776 </method>
777 <method name="TellI" type="long" overloaded="no">
778 <autodoc>TellI(self) -&gt; long</autodoc>
779 </method>
780 </class>
781 <class name="OutputStream" oldname="wxOutputStream" module="_core">
782 <method name="write" type="" overloaded="no">
783 <autodoc>write(self, PyObject obj)</autodoc>
784 <paramlist>
785 <param name="obj" type="PyObject" default=""/>
786 </paramlist>
787 </method>
788 </class>
789 <pythoncode>
790 #---------------------------------------------------------------------------
791 </pythoncode>
792 <class name="FSFile" oldname="wxFSFile" module="_core">
793 <baseclass name="Object"/>
794 <constructor name="FSFile" overloaded="no">
795 <autodoc>__init__(self, InputStream stream, String loc, String mimetype, String anchor,
796 DateTime modif) -&gt; FSFile</autodoc>
797 <paramlist>
798 <param name="stream" type="wxInputStream" default=""/>
799 <param name="loc" type="String" default=""/>
800 <param name="mimetype" type="String" default=""/>
801 <param name="anchor" type="String" default=""/>
802 <param name="modif" type="wxDateTime" default=""/>
803 </paramlist>
804 </constructor>
805 <destructor name="~wxFSFile" overloaded="no">
806 <autodoc>__del__(self)</autodoc>
807 </destructor>
808 <method name="GetStream" type="wxInputStream" overloaded="no">
809 <autodoc>GetStream(self) -&gt; InputStream</autodoc>
810 </method>
811 <method name="GetMimeType" type="String" overloaded="no">
812 <autodoc>GetMimeType(self) -&gt; String</autodoc>
813 </method>
814 <method name="GetLocation" type="String" overloaded="no">
815 <autodoc>GetLocation(self) -&gt; String</autodoc>
816 </method>
817 <method name="GetAnchor" type="String" overloaded="no">
818 <autodoc>GetAnchor(self) -&gt; String</autodoc>
819 </method>
820 <method name="GetModificationTime" type="wxDateTime" overloaded="no">
821 <autodoc>GetModificationTime(self) -&gt; DateTime</autodoc>
822 </method>
823 </class>
824 <class name="CPPFileSystemHandler" oldname="wxFileSystemHandler" module="_core"/>
825 <class name="FileSystemHandler" oldname="wxPyFileSystemHandler" module="_core">
826 <baseclass name="CPPFileSystemHandler"/>
827 <constructor name="wxPyFileSystemHandler" overloaded="no">
828 <autodoc>__init__(self) -&gt; FileSystemHandler</autodoc>
829 </constructor>
830 <method name="_setCallbackInfo" type="" overloaded="no">
831 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
832 <paramlist>
833 <param name="self" type="PyObject" default=""/>
834 <param name="_class" type="PyObject" default=""/>
835 </paramlist>
836 </method>
837 <method name="CanOpen" type="bool" overloaded="no">
838 <autodoc>CanOpen(self, String location) -&gt; bool</autodoc>
839 <paramlist>
840 <param name="location" type="String" default=""/>
841 </paramlist>
842 </method>
843 <method name="OpenFile" type="FSFile" overloaded="no">
844 <autodoc>OpenFile(self, FileSystem fs, String location) -&gt; FSFile</autodoc>
845 <paramlist>
846 <param name="fs" type="wxFileSystem" default=""/>
847 <param name="location" type="String" default=""/>
848 </paramlist>
849 </method>
850 <method name="FindFirst" type="String" overloaded="no">
851 <autodoc>FindFirst(self, String spec, int flags=0) -&gt; String</autodoc>
852 <paramlist>
853 <param name="spec" type="String" default=""/>
854 <param name="flags" type="int" default="0"/>
855 </paramlist>
856 </method>
857 <method name="FindNext" type="String" overloaded="no">
858 <autodoc>FindNext(self) -&gt; String</autodoc>
859 </method>
860 <method name="GetProtocol" type="String" overloaded="no">
861 <autodoc>GetProtocol(self, String location) -&gt; String</autodoc>
862 <paramlist>
863 <param name="location" type="String" default=""/>
864 </paramlist>
865 </method>
866 <method name="GetLeftLocation" type="String" overloaded="no">
867 <autodoc>GetLeftLocation(self, String location) -&gt; String</autodoc>
868 <paramlist>
869 <param name="location" type="String" default=""/>
870 </paramlist>
871 </method>
872 <method name="GetAnchor" type="String" overloaded="no">
873 <autodoc>GetAnchor(self, String location) -&gt; String</autodoc>
874 <paramlist>
875 <param name="location" type="String" default=""/>
876 </paramlist>
877 </method>
878 <method name="GetRightLocation" type="String" overloaded="no">
879 <autodoc>GetRightLocation(self, String location) -&gt; String</autodoc>
880 <paramlist>
881 <param name="location" type="String" default=""/>
882 </paramlist>
883 </method>
884 <method name="GetMimeTypeFromExt" type="String" overloaded="no">
885 <autodoc>GetMimeTypeFromExt(self, String location) -&gt; String</autodoc>
886 <paramlist>
887 <param name="location" type="String" default=""/>
888 </paramlist>
889 </method>
890 </class>
891 <class name="FileSystem" oldname="wxFileSystem" module="_core">
892 <baseclass name="Object"/>
893 <constructor name="FileSystem" overloaded="no">
894 <autodoc>__init__(self) -&gt; FileSystem</autodoc>
895 </constructor>
896 <destructor name="~wxFileSystem" overloaded="no">
897 <autodoc>__del__(self)</autodoc>
898 </destructor>
899 <method name="ChangePathTo" type="" overloaded="no">
900 <autodoc>ChangePathTo(self, String location, bool is_dir=False)</autodoc>
901 <paramlist>
902 <param name="location" type="String" default=""/>
903 <param name="is_dir" type="bool" default="False"/>
904 </paramlist>
905 </method>
906 <method name="GetPath" type="String" overloaded="no">
907 <autodoc>GetPath(self) -&gt; String</autodoc>
908 </method>
909 <method name="OpenFile" type="FSFile" overloaded="no">
910 <autodoc>OpenFile(self, String location) -&gt; FSFile</autodoc>
911 <paramlist>
912 <param name="location" type="String" default=""/>
913 </paramlist>
914 </method>
915 <method name="FindFirst" type="String" overloaded="no">
916 <autodoc>FindFirst(self, String spec, int flags=0) -&gt; String</autodoc>
917 <paramlist>
918 <param name="spec" type="String" default=""/>
919 <param name="flags" type="int" default="0"/>
920 </paramlist>
921 </method>
922 <method name="FindNext" type="String" overloaded="no">
923 <autodoc>FindNext(self) -&gt; String</autodoc>
924 </method>
925 <staticmethod name="AddHandler" type="" overloaded="no">
926 <autodoc>AddHandler(CPPFileSystemHandler handler)</autodoc>
927 <paramlist>
928 <param name="handler" type="CPPFileSystemHandler" default=""/>
929 </paramlist>
930 </staticmethod>
931 <staticmethod name="CleanUpHandlers" type="" overloaded="no">
932 <autodoc>CleanUpHandlers()</autodoc>
933 </staticmethod>
934 <staticmethod name="FileNameToURL" type="String" overloaded="no">
935 <autodoc>FileNameToURL(String filename) -&gt; String</autodoc>
936 <paramlist>
937 <param name="filename" type="String" default=""/>
938 </paramlist>
939 </staticmethod>
940 </class>
941 <method name="FileSystem_URLToFileName" oldname="wxFileSystem_URLToFileName" type="String" overloaded="no">
942 <autodoc>FileSystem_URLToFileName(String url) -&gt; String</autodoc>
943 <paramlist>
944 <param name="url" type="String" default=""/>
945 </paramlist>
946 </method>
947 <class name="InternetFSHandler" oldname="wxInternetFSHandler" module="_core">
948 <baseclass name="CPPFileSystemHandler"/>
949 <constructor name="InternetFSHandler" overloaded="no">
950 <autodoc>__init__(self) -&gt; InternetFSHandler</autodoc>
951 </constructor>
952 <method name="CanOpen" type="bool" overloaded="no">
953 <autodoc>CanOpen(self, String location) -&gt; bool</autodoc>
954 <paramlist>
955 <param name="location" type="String" default=""/>
956 </paramlist>
957 </method>
958 <method name="OpenFile" type="FSFile" overloaded="no">
959 <autodoc>OpenFile(self, FileSystem fs, String location) -&gt; FSFile</autodoc>
960 <paramlist>
961 <param name="fs" type="FileSystem" default=""/>
962 <param name="location" type="String" default=""/>
963 </paramlist>
964 </method>
965 </class>
966 <class name="ZipFSHandler" oldname="wxZipFSHandler" module="_core">
967 <baseclass name="CPPFileSystemHandler"/>
968 <constructor name="ZipFSHandler" overloaded="no">
969 <autodoc>__init__(self) -&gt; ZipFSHandler</autodoc>
970 </constructor>
971 <method name="CanOpen" type="bool" overloaded="no">
972 <autodoc>CanOpen(self, String location) -&gt; bool</autodoc>
973 <paramlist>
974 <param name="location" type="String" default=""/>
975 </paramlist>
976 </method>
977 <method name="OpenFile" type="FSFile" overloaded="no">
978 <autodoc>OpenFile(self, FileSystem fs, String location) -&gt; FSFile</autodoc>
979 <paramlist>
980 <param name="fs" type="FileSystem" default=""/>
981 <param name="location" type="String" default=""/>
982 </paramlist>
983 </method>
984 <method name="FindFirst" type="String" overloaded="no">
985 <autodoc>FindFirst(self, String spec, int flags=0) -&gt; String</autodoc>
986 <paramlist>
987 <param name="spec" type="String" default=""/>
988 <param name="flags" type="int" default="0"/>
989 </paramlist>
990 </method>
991 <method name="FindNext" type="String" overloaded="no">
992 <autodoc>FindNext(self) -&gt; String</autodoc>
993 </method>
994 </class>
995 <method name="__wxMemoryFSHandler_AddFile_wxImage" oldname="__wxMemoryFSHandler_AddFile_wxImage" type="" overloaded="no">
996 <autodoc>__wxMemoryFSHandler_AddFile_wxImage(String filename, Image image, long type)</autodoc>
997 <paramlist>
998 <param name="filename" type="String" default=""/>
999 <param name="image" type="wxImage" default=""/>
1000 <param name="type" type="long" default=""/>
1001 </paramlist>
1002 </method>
1003 <method name="__wxMemoryFSHandler_AddFile_wxBitmap" oldname="__wxMemoryFSHandler_AddFile_wxBitmap" type="" overloaded="no">
1004 <autodoc>__wxMemoryFSHandler_AddFile_wxBitmap(String filename, Bitmap bitmap, long type)</autodoc>
1005 <paramlist>
1006 <param name="filename" type="String" default=""/>
1007 <param name="bitmap" type="wxBitmap" default=""/>
1008 <param name="type" type="long" default=""/>
1009 </paramlist>
1010 </method>
1011 <method name="__wxMemoryFSHandler_AddFile_Data" oldname="__wxMemoryFSHandler_AddFile_Data" type="" overloaded="no">
1012 <autodoc>__wxMemoryFSHandler_AddFile_Data(String filename, PyObject data)</autodoc>
1013 <paramlist>
1014 <param name="filename" type="String" default=""/>
1015 <param name="data" type="PyObject" default=""/>
1016 </paramlist>
1017 </method>
1018 <pythoncode>
1019 def MemoryFSHandler_AddFile(filename, a, b=''):
1020 if isinstance(a, wx.Image):
1021 __wxMemoryFSHandler_AddFile_wxImage(filename, a, b)
1022 elif isinstance(a, wx.Bitmap):
1023 __wxMemoryFSHandler_AddFile_wxBitmap(filename, a, b)
1024 elif type(a) == str:
1025 __wxMemoryFSHandler_AddFile_Data(filename, a)
1026 else: raise TypeError, 'wx.Image, wx.Bitmap or string expected'
1027 </pythoncode>
1028 <class name="MemoryFSHandler" oldname="wxMemoryFSHandler" module="_core">
1029 <baseclass name="CPPFileSystemHandler"/>
1030 <constructor name="MemoryFSHandler" overloaded="no">
1031 <autodoc>__init__(self) -&gt; MemoryFSHandler</autodoc>
1032 </constructor>
1033 <staticmethod name="RemoveFile" type="" overloaded="no">
1034 <autodoc>RemoveFile(String filename)</autodoc>
1035 <paramlist>
1036 <param name="filename" type="String" default=""/>
1037 </paramlist>
1038 </staticmethod>
1039 <method name="CanOpen" type="bool" overloaded="no">
1040 <autodoc>CanOpen(self, String location) -&gt; bool</autodoc>
1041 <paramlist>
1042 <param name="location" type="String" default=""/>
1043 </paramlist>
1044 </method>
1045 <method name="OpenFile" type="FSFile" overloaded="no">
1046 <autodoc>OpenFile(self, FileSystem fs, String location) -&gt; FSFile</autodoc>
1047 <paramlist>
1048 <param name="fs" type="FileSystem" default=""/>
1049 <param name="location" type="String" default=""/>
1050 </paramlist>
1051 </method>
1052 <method name="FindFirst" type="String" overloaded="no">
1053 <autodoc>FindFirst(self, String spec, int flags=0) -&gt; String</autodoc>
1054 <paramlist>
1055 <param name="spec" type="String" default=""/>
1056 <param name="flags" type="int" default="0"/>
1057 </paramlist>
1058 </method>
1059 <method name="FindNext" type="String" overloaded="no">
1060 <autodoc>FindNext(self) -&gt; String</autodoc>
1061 </method>
1062 </class>
1063 <pythoncode>
1064 #---------------------------------------------------------------------------
1065 </pythoncode>
1066 <class name="ImageHandler" oldname="wxImageHandler" module="_core">
1067 <baseclass name="Object"/>
1068 <method name="GetName" type="String" overloaded="no">
1069 <autodoc>GetName(self) -&gt; String</autodoc>
1070 </method>
1071 <method name="GetExtension" type="String" overloaded="no">
1072 <autodoc>GetExtension(self) -&gt; String</autodoc>
1073 </method>
1074 <method name="GetType" type="long" overloaded="no">
1075 <autodoc>GetType(self) -&gt; long</autodoc>
1076 </method>
1077 <method name="GetMimeType" type="String" overloaded="no">
1078 <autodoc>GetMimeType(self) -&gt; String</autodoc>
1079 </method>
1080 <method name="CanRead" type="bool" overloaded="no">
1081 <autodoc>CanRead(self, String name) -&gt; bool</autodoc>
1082 <paramlist>
1083 <param name="name" type="String" default=""/>
1084 </paramlist>
1085 </method>
1086 <method name="SetName" type="" overloaded="no">
1087 <autodoc>SetName(self, String name)</autodoc>
1088 <paramlist>
1089 <param name="name" type="String" default=""/>
1090 </paramlist>
1091 </method>
1092 <method name="SetExtension" type="" overloaded="no">
1093 <autodoc>SetExtension(self, String extension)</autodoc>
1094 <paramlist>
1095 <param name="extension" type="String" default=""/>
1096 </paramlist>
1097 </method>
1098 <method name="SetType" type="" overloaded="no">
1099 <autodoc>SetType(self, long type)</autodoc>
1100 <paramlist>
1101 <param name="type" type="long" default=""/>
1102 </paramlist>
1103 </method>
1104 <method name="SetMimeType" type="" overloaded="no">
1105 <autodoc>SetMimeType(self, String mimetype)</autodoc>
1106 <paramlist>
1107 <param name="mimetype" type="String" default=""/>
1108 </paramlist>
1109 </method>
1110 </class>
1111 <class name="ImageHistogram" oldname="wxImageHistogram" module="_core">
1112 <constructor name="ImageHistogram" overloaded="no">
1113 <autodoc>__init__(self) -&gt; ImageHistogram</autodoc>
1114 </constructor>
1115 <staticmethod name="MakeKey" type="unsigned long" overloaded="no">
1116 <autodoc>MakeKey(unsigned char r, unsigned char g, unsigned char b) -&gt; unsigned long</autodoc>
1117 <docstring>Get the key in the histogram for the given RGB values</docstring>
1118 <paramlist>
1119 <param name="r" type="unsigned char" default=""/>
1120 <param name="g" type="unsigned char" default=""/>
1121 <param name="b" type="unsigned char" default=""/>
1122 </paramlist>
1123 </staticmethod>
1124 <method name="FindFirstUnusedColour" type="bool" overloaded="no">
1125 <autodoc>FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -&gt; (success, r, g, b)</autodoc>
1126 <paramlist>
1127 <param name="OUTPUT" type="unsigned char" default=""/>
1128 <param name="OUTPUT" type="unsigned char" default=""/>
1129 <param name="OUTPUT" type="unsigned char" default=""/>
1130 <param name="startR" type="unsigned char" default="1"/>
1131 <param name="startG" type="unsigned char" default="0"/>
1132 <param name="startB" type="unsigned char" default="0"/>
1133 </paramlist>
1134 </method>
1135 </class>
1136 <class name="Image" oldname="wxImage" module="_core">
1137 <baseclass name="Object"/>
1138 <constructor name="Image" overloaded="no">
1139 <autodoc>__init__(self, String name, long type=BITMAP_TYPE_ANY, int index=-1) -&gt; Image</autodoc>
1140 <paramlist>
1141 <param name="name" type="String" default=""/>
1142 <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
1143 <param name="index" type="int" default="-1"/>
1144 </paramlist>
1145 </constructor>
1146 <constructor name="ImageFromMime" overloaded="no">
1147 <autodoc>ImageFromMime(String name, String mimetype, int index=-1) -&gt; Image</autodoc>
1148 <paramlist>
1149 <param name="name" type="String" default=""/>
1150 <param name="mimetype" type="String" default=""/>
1151 <param name="index" type="int" default="-1"/>
1152 </paramlist>
1153 </constructor>
1154 <constructor name="ImageFromStream" overloaded="no">
1155 <autodoc>ImageFromStream(InputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -&gt; Image</autodoc>
1156 <paramlist>
1157 <param name="stream" type="wxInputStream" default=""/>
1158 <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
1159 <param name="index" type="int" default="-1"/>
1160 </paramlist>
1161 </constructor>
1162 <constructor name="ImageFromStreamMime" overloaded="no">
1163 <autodoc>ImageFromStreamMime(InputStream stream, String mimetype, int index=-1) -&gt; Image</autodoc>
1164 <paramlist>
1165 <param name="stream" type="wxInputStream" default=""/>
1166 <param name="mimetype" type="String" default=""/>
1167 <param name="index" type="int" default="-1"/>
1168 </paramlist>
1169 </constructor>
1170 <constructor name="EmptyImage" overloaded="no">
1171 <autodoc>EmptyImage(int width=0, int height=0, bool clear=True) -&gt; Image</autodoc>
1172 <paramlist>
1173 <param name="width" type="int" default="0"/>
1174 <param name="height" type="int" default="0"/>
1175 <param name="clear" type="bool" default="True"/>
1176 </paramlist>
1177 </constructor>
1178 <constructor name="ImageFromBitmap" overloaded="no">
1179 <autodoc>ImageFromBitmap(Bitmap bitmap) -&gt; Image</autodoc>
1180 <paramlist>
1181 <param name="bitmap" type="wxBitmap" default=""/>
1182 </paramlist>
1183 </constructor>
1184 <constructor name="ImageFromData" overloaded="no">
1185 <autodoc>ImageFromData(int width, int height, unsigned char data) -&gt; Image</autodoc>
1186 <paramlist>
1187 <param name="width" type="int" default=""/>
1188 <param name="height" type="int" default=""/>
1189 <param name="data" type="unsigned char" default=""/>
1190 </paramlist>
1191 </constructor>
1192 <destructor name="~wxImage" overloaded="no">
1193 <autodoc>__del__(self)</autodoc>
1194 </destructor>
1195 <method name="Create" type="" overloaded="no">
1196 <autodoc>Create(self, int width, int height)</autodoc>
1197 <paramlist>
1198 <param name="width" type="int" default=""/>
1199 <param name="height" type="int" default=""/>
1200 </paramlist>
1201 </method>
1202 <method name="Destroy" type="" overloaded="no">
1203 <autodoc>Destroy(self)</autodoc>
1204 <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
1205 </method>
1206 <method name="Scale" type="Image" overloaded="no">
1207 <autodoc>Scale(self, int width, int height) -&gt; Image</autodoc>
1208 <paramlist>
1209 <param name="width" type="int" default=""/>
1210 <param name="height" type="int" default=""/>
1211 </paramlist>
1212 </method>
1213 <method name="ShrinkBy" type="Image" overloaded="no">
1214 <autodoc>ShrinkBy(self, int xFactor, int yFactor) -&gt; Image</autodoc>
1215 <paramlist>
1216 <param name="xFactor" type="int" default=""/>
1217 <param name="yFactor" type="int" default=""/>
1218 </paramlist>
1219 </method>
1220 <method name="Rescale" type="Image" overloaded="no">
1221 <autodoc>Rescale(self, int width, int height) -&gt; Image</autodoc>
1222 <paramlist>
1223 <param name="width" type="int" default=""/>
1224 <param name="height" type="int" default=""/>
1225 </paramlist>
1226 </method>
1227 <method name="SetRGB" type="" overloaded="no">
1228 <autodoc>SetRGB(self, int x, int y, unsigned char r, unsigned char g, unsigned char b)</autodoc>
1229 <paramlist>
1230 <param name="x" type="int" default=""/>
1231 <param name="y" type="int" default=""/>
1232 <param name="r" type="unsigned char" default=""/>
1233 <param name="g" type="unsigned char" default=""/>
1234 <param name="b" type="unsigned char" default=""/>
1235 </paramlist>
1236 </method>
1237 <method name="GetRed" type="unsigned char" overloaded="no">
1238 <autodoc>GetRed(self, int x, int y) -&gt; unsigned char</autodoc>
1239 <paramlist>
1240 <param name="x" type="int" default=""/>
1241 <param name="y" type="int" default=""/>
1242 </paramlist>
1243 </method>
1244 <method name="GetGreen" type="unsigned char" overloaded="no">
1245 <autodoc>GetGreen(self, int x, int y) -&gt; unsigned char</autodoc>
1246 <paramlist>
1247 <param name="x" type="int" default=""/>
1248 <param name="y" type="int" default=""/>
1249 </paramlist>
1250 </method>
1251 <method name="GetBlue" type="unsigned char" overloaded="no">
1252 <autodoc>GetBlue(self, int x, int y) -&gt; unsigned char</autodoc>
1253 <paramlist>
1254 <param name="x" type="int" default=""/>
1255 <param name="y" type="int" default=""/>
1256 </paramlist>
1257 </method>
1258 <method name="SetAlpha" type="" overloaded="no">
1259 <autodoc>SetAlpha(self, int x, int y, unsigned char alpha)</autodoc>
1260 <paramlist>
1261 <param name="x" type="int" default=""/>
1262 <param name="y" type="int" default=""/>
1263 <param name="alpha" type="unsigned char" default=""/>
1264 </paramlist>
1265 </method>
1266 <method name="GetAlpha" type="unsigned char" overloaded="no">
1267 <autodoc>GetAlpha(self, int x, int y) -&gt; unsigned char</autodoc>
1268 <paramlist>
1269 <param name="x" type="int" default=""/>
1270 <param name="y" type="int" default=""/>
1271 </paramlist>
1272 </method>
1273 <method name="HasAlpha" type="bool" overloaded="no">
1274 <autodoc>HasAlpha(self) -&gt; bool</autodoc>
1275 </method>
1276 <method name="FindFirstUnusedColour" type="bool" overloaded="no">
1277 <autodoc>FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -&gt; (success, r, g, b)</autodoc>
1278 <paramlist>
1279 <param name="OUTPUT" type="byte" default=""/>
1280 <param name="OUTPUT" type="byte" default=""/>
1281 <param name="OUTPUT" type="byte" default=""/>
1282 <param name="startR" type="byte" default="0"/>
1283 <param name="startG" type="byte" default="0"/>
1284 <param name="startB" type="byte" default="0"/>
1285 </paramlist>
1286 </method>
1287 <method name="SetMaskFromImage" type="bool" overloaded="no">
1288 <autodoc>SetMaskFromImage(self, Image mask, byte mr, byte mg, byte mb) -&gt; bool</autodoc>
1289 <paramlist>
1290 <param name="mask" type="Image" default=""/>
1291 <param name="mr" type="byte" default=""/>
1292 <param name="mg" type="byte" default=""/>
1293 <param name="mb" type="byte" default=""/>
1294 </paramlist>
1295 </method>
1296 <staticmethod name="CanRead" type="bool" overloaded="no">
1297 <autodoc>CanRead(String name) -&gt; bool</autodoc>
1298 <paramlist>
1299 <param name="name" type="String" default=""/>
1300 </paramlist>
1301 </staticmethod>
1302 <staticmethod name="GetImageCount" type="int" overloaded="no">
1303 <autodoc>GetImageCount(String name, long type=BITMAP_TYPE_ANY) -&gt; int</autodoc>
1304 <paramlist>
1305 <param name="name" type="String" default=""/>
1306 <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
1307 </paramlist>
1308 </staticmethod>
1309 <method name="LoadFile" type="bool" overloaded="no">
1310 <autodoc>LoadFile(self, String name, long type=BITMAP_TYPE_ANY, int index=-1) -&gt; bool</autodoc>
1311 <paramlist>
1312 <param name="name" type="String" default=""/>
1313 <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
1314 <param name="index" type="int" default="-1"/>
1315 </paramlist>
1316 </method>
1317 <method name="LoadMimeFile" type="bool" overloaded="no">
1318 <autodoc>LoadMimeFile(self, String name, String mimetype, int index=-1) -&gt; bool</autodoc>
1319 <paramlist>
1320 <param name="name" type="String" default=""/>
1321 <param name="mimetype" type="String" default=""/>
1322 <param name="index" type="int" default="-1"/>
1323 </paramlist>
1324 </method>
1325 <method name="SaveFile" type="bool" overloaded="no">
1326 <autodoc>SaveFile(self, String name, int type) -&gt; bool</autodoc>
1327 <paramlist>
1328 <param name="name" type="String" default=""/>
1329 <param name="type" type="int" default=""/>
1330 </paramlist>
1331 </method>
1332 <method name="SaveMimeFile" type="bool" overloaded="no">
1333 <autodoc>SaveMimeFile(self, String name, String mimetype) -&gt; bool</autodoc>
1334 <paramlist>
1335 <param name="name" type="String" default=""/>
1336 <param name="mimetype" type="String" default=""/>
1337 </paramlist>
1338 </method>
1339 <staticmethod name="CanReadStream" type="bool" overloaded="no">
1340 <autodoc>CanReadStream(InputStream stream) -&gt; bool</autodoc>
1341 <paramlist>
1342 <param name="stream" type="wxInputStream" default=""/>
1343 </paramlist>
1344 </staticmethod>
1345 <method name="LoadStream" type="bool" overloaded="no">
1346 <autodoc>LoadStream(self, InputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -&gt; bool</autodoc>
1347 <paramlist>
1348 <param name="stream" type="wxInputStream" default=""/>
1349 <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
1350 <param name="index" type="int" default="-1"/>
1351 </paramlist>
1352 </method>
1353 <method name="LoadMimeStream" type="bool" overloaded="no">
1354 <autodoc>LoadMimeStream(self, InputStream stream, String mimetype, int index=-1) -&gt; bool</autodoc>
1355 <paramlist>
1356 <param name="stream" type="wxInputStream" default=""/>
1357 <param name="mimetype" type="String" default=""/>
1358 <param name="index" type="int" default="-1"/>
1359 </paramlist>
1360 </method>
1361 <method name="Ok" type="bool" overloaded="no">
1362 <autodoc>Ok(self) -&gt; bool</autodoc>
1363 </method>
1364 <method name="GetWidth" type="int" overloaded="no">
1365 <autodoc>GetWidth(self) -&gt; int</autodoc>
1366 </method>
1367 <method name="GetHeight" type="int" overloaded="no">
1368 <autodoc>GetHeight(self) -&gt; int</autodoc>
1369 </method>
1370 <method name="GetSize" type="Size" overloaded="no">
1371 <autodoc>GetSize(self) -&gt; Size</autodoc>
1372 </method>
1373 <method name="GetSubImage" type="Image" overloaded="no">
1374 <autodoc>GetSubImage(self, Rect rect) -&gt; Image</autodoc>
1375 <paramlist>
1376 <param name="rect" type="Rect" default=""/>
1377 </paramlist>
1378 </method>
1379 <method name="Copy" type="Image" overloaded="no">
1380 <autodoc>Copy(self) -&gt; Image</autodoc>
1381 </method>
1382 <method name="Paste" type="" overloaded="no">
1383 <autodoc>Paste(self, Image image, int x, int y)</autodoc>
1384 <paramlist>
1385 <param name="image" type="Image" default=""/>
1386 <param name="x" type="int" default=""/>
1387 <param name="y" type="int" default=""/>
1388 </paramlist>
1389 </method>
1390 <method name="GetData" type="PyObject" overloaded="no">
1391 <autodoc>GetData(self) -&gt; PyObject</autodoc>
1392 </method>
1393 <method name="SetData" type="" overloaded="no">
1394 <autodoc>SetData(self, PyObject data)</autodoc>
1395 <paramlist>
1396 <param name="data" type="PyObject" default=""/>
1397 </paramlist>
1398 </method>
1399 <method name="GetDataBuffer" type="PyObject" overloaded="no">
1400 <autodoc>GetDataBuffer(self) -&gt; PyObject</autodoc>
1401 </method>
1402 <method name="SetDataBuffer" type="" overloaded="no">
1403 <autodoc>SetDataBuffer(self, PyObject data)</autodoc>
1404 <paramlist>
1405 <param name="data" type="PyObject" default=""/>
1406 </paramlist>
1407 </method>
1408 <method name="GetAlphaData" type="PyObject" overloaded="no">
1409 <autodoc>GetAlphaData(self) -&gt; PyObject</autodoc>
1410 </method>
1411 <method name="SetAlphaData" type="" overloaded="no">
1412 <autodoc>SetAlphaData(self, PyObject data)</autodoc>
1413 <paramlist>
1414 <param name="data" type="PyObject" default=""/>
1415 </paramlist>
1416 </method>
1417 <method name="GetAlphaBuffer" type="PyObject" overloaded="no">
1418 <autodoc>GetAlphaBuffer(self) -&gt; PyObject</autodoc>
1419 </method>
1420 <method name="SetAlphaBuffer" type="" overloaded="no">
1421 <autodoc>SetAlphaBuffer(self, PyObject data)</autodoc>
1422 <paramlist>
1423 <param name="data" type="PyObject" default=""/>
1424 </paramlist>
1425 </method>
1426 <method name="SetMaskColour" type="" overloaded="no">
1427 <autodoc>SetMaskColour(self, unsigned char r, unsigned char g, unsigned char b)</autodoc>
1428 <paramlist>
1429 <param name="r" type="unsigned char" default=""/>
1430 <param name="g" type="unsigned char" default=""/>
1431 <param name="b" type="unsigned char" default=""/>
1432 </paramlist>
1433 </method>
1434 <method name="GetMaskRed" type="unsigned char" overloaded="no">
1435 <autodoc>GetMaskRed(self) -&gt; unsigned char</autodoc>
1436 </method>
1437 <method name="GetMaskGreen" type="unsigned char" overloaded="no">
1438 <autodoc>GetMaskGreen(self) -&gt; unsigned char</autodoc>
1439 </method>
1440 <method name="GetMaskBlue" type="unsigned char" overloaded="no">
1441 <autodoc>GetMaskBlue(self) -&gt; unsigned char</autodoc>
1442 </method>
1443 <method name="SetMask" type="" overloaded="no">
1444 <autodoc>SetMask(self, bool mask=True)</autodoc>
1445 <paramlist>
1446 <param name="mask" type="bool" default="True"/>
1447 </paramlist>
1448 </method>
1449 <method name="HasMask" type="bool" overloaded="no">
1450 <autodoc>HasMask(self) -&gt; bool</autodoc>
1451 </method>
1452 <method name="Rotate" type="Image" overloaded="no">
1453 <autodoc>Rotate(self, double angle, Point centre_of_rotation, bool interpolating=True,
1454 Point offset_after_rotation=None) -&gt; Image</autodoc>
1455 <paramlist>
1456 <param name="angle" type="double" default=""/>
1457 <param name="centre_of_rotation" type="Point" default=""/>
1458 <param name="interpolating" type="bool" default="True"/>
1459 <param name="offset_after_rotation" type="Point" default="NULL"/>
1460 </paramlist>
1461 </method>
1462 <method name="Rotate90" type="Image" overloaded="no">
1463 <autodoc>Rotate90(self, bool clockwise=True) -&gt; Image</autodoc>
1464 <paramlist>
1465 <param name="clockwise" type="bool" default="True"/>
1466 </paramlist>
1467 </method>
1468 <method name="Mirror" type="Image" overloaded="no">
1469 <autodoc>Mirror(self, bool horizontally=True) -&gt; Image</autodoc>
1470 <paramlist>
1471 <param name="horizontally" type="bool" default="True"/>
1472 </paramlist>
1473 </method>
1474 <method name="Replace" type="" overloaded="no">
1475 <autodoc>Replace(self, unsigned char r1, unsigned char g1, unsigned char b1,
1476 unsigned char r2, unsigned char g2, unsigned char b2)</autodoc>
1477 <paramlist>
1478 <param name="r1" type="unsigned char" default=""/>
1479 <param name="g1" type="unsigned char" default=""/>
1480 <param name="b1" type="unsigned char" default=""/>
1481 <param name="r2" type="unsigned char" default=""/>
1482 <param name="g2" type="unsigned char" default=""/>
1483 <param name="b2" type="unsigned char" default=""/>
1484 </paramlist>
1485 </method>
1486 <method name="ConvertToMono" type="Image" overloaded="no">
1487 <autodoc>ConvertToMono(self, unsigned char r, unsigned char g, unsigned char b) -&gt; Image</autodoc>
1488 <paramlist>
1489 <param name="r" type="unsigned char" default=""/>
1490 <param name="g" type="unsigned char" default=""/>
1491 <param name="b" type="unsigned char" default=""/>
1492 </paramlist>
1493 </method>
1494 <method name="SetOption" type="" overloaded="no">
1495 <autodoc>SetOption(self, String name, String value)</autodoc>
1496 <paramlist>
1497 <param name="name" type="String" default=""/>
1498 <param name="value" type="String" default=""/>
1499 </paramlist>
1500 </method>
1501 <method name="SetOptionInt" type="" overloaded="no">
1502 <autodoc>SetOptionInt(self, String name, int value)</autodoc>
1503 <paramlist>
1504 <param name="name" type="String" default=""/>
1505 <param name="value" type="int" default=""/>
1506 </paramlist>
1507 </method>
1508 <method name="GetOption" type="String" overloaded="no">
1509 <autodoc>GetOption(self, String name) -&gt; String</autodoc>
1510 <paramlist>
1511 <param name="name" type="String" default=""/>
1512 </paramlist>
1513 </method>
1514 <method name="GetOptionInt" type="int" overloaded="no">
1515 <autodoc>GetOptionInt(self, String name) -&gt; int</autodoc>
1516 <paramlist>
1517 <param name="name" type="String" default=""/>
1518 </paramlist>
1519 </method>
1520 <method name="HasOption" type="bool" overloaded="no">
1521 <autodoc>HasOption(self, String name) -&gt; bool</autodoc>
1522 <paramlist>
1523 <param name="name" type="String" default=""/>
1524 </paramlist>
1525 </method>
1526 <method name="CountColours" type="unsigned long" overloaded="no">
1527 <autodoc>CountColours(self, unsigned long stopafter=(unsigned long) -1) -&gt; unsigned long</autodoc>
1528 <paramlist>
1529 <param name="stopafter" type="unsigned long" default="(unsigned long) -1"/>
1530 </paramlist>
1531 </method>
1532 <method name="ComputeHistogram" type="unsigned long" overloaded="no">
1533 <autodoc>ComputeHistogram(self, ImageHistogram h) -&gt; unsigned long</autodoc>
1534 <paramlist>
1535 <param name="h" type="ImageHistogram" default=""/>
1536 </paramlist>
1537 </method>
1538 <staticmethod name="AddHandler" type="" overloaded="no">
1539 <autodoc>AddHandler(ImageHandler handler)</autodoc>
1540 <paramlist>
1541 <param name="handler" type="ImageHandler" default=""/>
1542 </paramlist>
1543 </staticmethod>
1544 <staticmethod name="InsertHandler" type="" overloaded="no">
1545 <autodoc>InsertHandler(ImageHandler handler)</autodoc>
1546 <paramlist>
1547 <param name="handler" type="ImageHandler" default=""/>
1548 </paramlist>
1549 </staticmethod>
1550 <staticmethod name="RemoveHandler" type="bool" overloaded="no">
1551 <autodoc>RemoveHandler(String name) -&gt; bool</autodoc>
1552 <paramlist>
1553 <param name="name" type="String" default=""/>
1554 </paramlist>
1555 </staticmethod>
1556 <staticmethod name="GetImageExtWildcard" type="String" overloaded="no">
1557 <autodoc>GetImageExtWildcard() -&gt; String</autodoc>
1558 </staticmethod>
1559 <method name="ConvertToBitmap" type="wxBitmap" overloaded="no">
1560 <autodoc>ConvertToBitmap(self) -&gt; Bitmap</autodoc>
1561 </method>
1562 <method name="ConvertToMonoBitmap" type="wxBitmap" overloaded="no">
1563 <autodoc>ConvertToMonoBitmap(self, unsigned char red, unsigned char green, unsigned char blue) -&gt; Bitmap</autodoc>
1564 <paramlist>
1565 <param name="red" type="unsigned char" default=""/>
1566 <param name="green" type="unsigned char" default=""/>
1567 <param name="blue" type="unsigned char" default=""/>
1568 </paramlist>
1569 </method>
1570 </class>
1571 <pythoncode>
1572 def InitAllImageHandlers():
1573 """
1574 The former functionality of InitAllImageHanders is now done internal to
1575 the _core_ extension module and so this function has become a simple NOP.
1576 """
1577 pass
1578 </pythoncode>
1579 <class name="BMPHandler" oldname="wxBMPHandler" module="_core">
1580 <baseclass name="ImageHandler"/>
1581 <constructor name="BMPHandler" overloaded="no">
1582 <autodoc>__init__(self) -&gt; BMPHandler</autodoc>
1583 </constructor>
1584 </class>
1585 <class name="ICOHandler" oldname="wxICOHandler" module="_core">
1586 <baseclass name="BMPHandler"/>
1587 <constructor name="ICOHandler" overloaded="no">
1588 <autodoc>__init__(self) -&gt; ICOHandler</autodoc>
1589 </constructor>
1590 </class>
1591 <class name="CURHandler" oldname="wxCURHandler" module="_core">
1592 <baseclass name="ICOHandler"/>
1593 <constructor name="CURHandler" overloaded="no">
1594 <autodoc>__init__(self) -&gt; CURHandler</autodoc>
1595 </constructor>
1596 </class>
1597 <class name="ANIHandler" oldname="wxANIHandler" module="_core">
1598 <baseclass name="CURHandler"/>
1599 <constructor name="ANIHandler" overloaded="no">
1600 <autodoc>__init__(self) -&gt; ANIHandler</autodoc>
1601 </constructor>
1602 </class>
1603 <class name="PNGHandler" oldname="wxPNGHandler" module="_core">
1604 <baseclass name="ImageHandler"/>
1605 <constructor name="PNGHandler" overloaded="no">
1606 <autodoc>__init__(self) -&gt; PNGHandler</autodoc>
1607 </constructor>
1608 </class>
1609 <class name="GIFHandler" oldname="wxGIFHandler" module="_core">
1610 <baseclass name="ImageHandler"/>
1611 <constructor name="GIFHandler" overloaded="no">
1612 <autodoc>__init__(self) -&gt; GIFHandler</autodoc>
1613 </constructor>
1614 </class>
1615 <class name="PCXHandler" oldname="wxPCXHandler" module="_core">
1616 <baseclass name="ImageHandler"/>
1617 <constructor name="PCXHandler" overloaded="no">
1618 <autodoc>__init__(self) -&gt; PCXHandler</autodoc>
1619 </constructor>
1620 </class>
1621 <class name="JPEGHandler" oldname="wxJPEGHandler" module="_core">
1622 <baseclass name="ImageHandler"/>
1623 <constructor name="JPEGHandler" overloaded="no">
1624 <autodoc>__init__(self) -&gt; JPEGHandler</autodoc>
1625 </constructor>
1626 </class>
1627 <class name="PNMHandler" oldname="wxPNMHandler" module="_core">
1628 <baseclass name="ImageHandler"/>
1629 <constructor name="PNMHandler" overloaded="no">
1630 <autodoc>__init__(self) -&gt; PNMHandler</autodoc>
1631 </constructor>
1632 </class>
1633 <class name="XPMHandler" oldname="wxXPMHandler" module="_core">
1634 <baseclass name="ImageHandler"/>
1635 <constructor name="XPMHandler" overloaded="no">
1636 <autodoc>__init__(self) -&gt; XPMHandler</autodoc>
1637 </constructor>
1638 </class>
1639 <class name="TIFFHandler" oldname="wxTIFFHandler" module="_core">
1640 <baseclass name="ImageHandler"/>
1641 <constructor name="TIFFHandler" overloaded="no">
1642 <autodoc>__init__(self) -&gt; TIFFHandler</autodoc>
1643 </constructor>
1644 </class>
1645 <pythoncode>
1646 #---------------------------------------------------------------------------
1647 </pythoncode>
1648 <class name="EvtHandler" oldname="wxEvtHandler" module="_core">
1649 <baseclass name="Object"/>
1650 <constructor name="EvtHandler" overloaded="no">
1651 <autodoc>__init__(self) -&gt; EvtHandler</autodoc>
1652 </constructor>
1653 <method name="GetNextHandler" type="EvtHandler" overloaded="no">
1654 <autodoc>GetNextHandler(self) -&gt; EvtHandler</autodoc>
1655 </method>
1656 <method name="GetPreviousHandler" type="EvtHandler" overloaded="no">
1657 <autodoc>GetPreviousHandler(self) -&gt; EvtHandler</autodoc>
1658 </method>
1659 <method name="SetNextHandler" type="" overloaded="no">
1660 <autodoc>SetNextHandler(self, EvtHandler handler)</autodoc>
1661 <paramlist>
1662 <param name="handler" type="EvtHandler" default=""/>
1663 </paramlist>
1664 </method>
1665 <method name="SetPreviousHandler" type="" overloaded="no">
1666 <autodoc>SetPreviousHandler(self, EvtHandler handler)</autodoc>
1667 <paramlist>
1668 <param name="handler" type="EvtHandler" default=""/>
1669 </paramlist>
1670 </method>
1671 <method name="GetEvtHandlerEnabled" type="bool" overloaded="no">
1672 <autodoc>GetEvtHandlerEnabled(self) -&gt; bool</autodoc>
1673 </method>
1674 <method name="SetEvtHandlerEnabled" type="" overloaded="no">
1675 <autodoc>SetEvtHandlerEnabled(self, bool enabled)</autodoc>
1676 <paramlist>
1677 <param name="enabled" type="bool" default=""/>
1678 </paramlist>
1679 </method>
1680 <method name="ProcessEvent" type="bool" overloaded="no">
1681 <autodoc>ProcessEvent(self, Event event) -&gt; bool</autodoc>
1682 <paramlist>
1683 <param name="event" type="wxEvent" default=""/>
1684 </paramlist>
1685 </method>
1686 <method name="AddPendingEvent" type="" overloaded="no">
1687 <autodoc>AddPendingEvent(self, Event event)</autodoc>
1688 <paramlist>
1689 <param name="event" type="wxEvent" default=""/>
1690 </paramlist>
1691 </method>
1692 <method name="ProcessPendingEvents" type="" overloaded="no">
1693 <autodoc>ProcessPendingEvents(self)</autodoc>
1694 </method>
1695 <method name="Connect" type="" overloaded="no">
1696 <autodoc>Connect(self, int id, int lastId, int eventType, PyObject func)</autodoc>
1697 <paramlist>
1698 <param name="id" type="int" default=""/>
1699 <param name="lastId" type="int" default=""/>
1700 <param name="eventType" type="int" default=""/>
1701 <param name="func" type="PyObject" default=""/>
1702 </paramlist>
1703 </method>
1704 <method name="Disconnect" type="bool" overloaded="no">
1705 <autodoc>Disconnect(self, int id, int lastId=-1, wxEventType eventType=wxEVT_NULL) -&gt; bool</autodoc>
1706 <paramlist>
1707 <param name="id" type="int" default=""/>
1708 <param name="lastId" type="int" default="-1"/>
1709 <param name="eventType" type="wxEventType" default="wxEVT_NULL"/>
1710 </paramlist>
1711 </method>
1712 <method name="_setOORInfo" type="" overloaded="no">
1713 <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
1714 <paramlist>
1715 <param name="_self" type="PyObject" default=""/>
1716 </paramlist>
1717 </method>
1718 </class>
1719 <pythoncode>
1720
1721 #---------------------------------------------------------------------------
1722
1723 class PyEventBinder(object):
1724 """
1725 Instances of this class are used to bind specific events to event
1726 handlers.
1727 """
1728 def __init__(self, evtType, expectedIDs=0):
1729 if expectedIDs not in [0, 1, 2]:
1730 raise ValueError, "Invalid number of expectedIDs"
1731 self.expectedIDs = expectedIDs
1732
1733 if type(evtType) == list or type(evtType) == tuple:
1734 self.evtType = evtType
1735 else:
1736 self.evtType = [evtType]
1737
1738
1739 def Bind(self, target, id1, id2, function):
1740 """Bind this set of event types to target."""
1741 for et in self.evtType:
1742 target.Connect(id1, id2, et, function)
1743
1744
1745 def Unbind(self, target, id1, id2):
1746 """Remove an event binding."""
1747 success = 0
1748 for et in self.evtType:
1749 success += target.Disconnect(id1, id2, et)
1750 return success != 0
1751
1752
1753 def __call__(self, *args):
1754 """
1755 For backwards compatibility with the old EVT_* functions.
1756 Should be called with either (window, func), (window, ID,
1757 func) or (window, ID1, ID2, func) parameters depending on the
1758 type of the event.
1759 """
1760 assert len(args) == 2 + self.expectedIDs
1761 id1 = wx.ID_ANY
1762 id2 = wx.ID_ANY
1763 target = args[0]
1764 if self.expectedIDs == 0:
1765 func = args[1]
1766 elif self.expectedIDs == 1:
1767 id1 = args[1]
1768 func = args[2]
1769 elif self.expectedIDs == 2:
1770 id1 = args[1]
1771 id2 = args[2]
1772 func = args[3]
1773 else:
1774 raise ValueError, "Unexpected number of IDs"
1775
1776 self.Bind(target, id1, id2, func)
1777
1778
1779 # These two are square pegs that don't fit the PyEventBinder hole...
1780 def EVT_COMMAND(win, id, cmd, func):
1781 win.Connect(id, -1, cmd, func)
1782 def EVT_COMMAND_RANGE(win, id1, id2, cmd, func):
1783 win.Connect(id1, id2, cmd, func)
1784
1785
1786 #---------------------------------------------------------------------------
1787 </pythoncode>
1788 <pythoncode>
1789 #---------------------------------------------------------------------------
1790 </pythoncode>
1791 <method name="NewEventType" oldname="wxNewEventType" type="wxEventType" overloaded="no">
1792 <autodoc>NewEventType() -&gt; wxEventType</autodoc>
1793 </method>
1794 <pythoncode>
1795 #
1796 # Create some event binders
1797 EVT_SIZE = wx.PyEventBinder( wxEVT_SIZE )
1798 EVT_SIZING = wx.PyEventBinder( wxEVT_SIZING )
1799 EVT_MOVE = wx.PyEventBinder( wxEVT_MOVE )
1800 EVT_MOVING = wx.PyEventBinder( wxEVT_MOVING )
1801 EVT_CLOSE = wx.PyEventBinder( wxEVT_CLOSE_WINDOW )
1802 EVT_END_SESSION = wx.PyEventBinder( wxEVT_END_SESSION )
1803 EVT_QUERY_END_SESSION = wx.PyEventBinder( wxEVT_QUERY_END_SESSION )
1804 EVT_PAINT = wx.PyEventBinder( wxEVT_PAINT )
1805 EVT_NC_PAINT = wx.PyEventBinder( wxEVT_NC_PAINT )
1806 EVT_ERASE_BACKGROUND = wx.PyEventBinder( wxEVT_ERASE_BACKGROUND )
1807 EVT_CHAR = wx.PyEventBinder( wxEVT_CHAR )
1808 EVT_KEY_DOWN = wx.PyEventBinder( wxEVT_KEY_DOWN )
1809 EVT_KEY_UP = wx.PyEventBinder( wxEVT_KEY_UP )
1810 EVT_HOTKEY = wx.PyEventBinder( wxEVT_HOTKEY, 1)
1811 EVT_CHAR_HOOK = wx.PyEventBinder( wxEVT_CHAR_HOOK )
1812 EVT_MENU_OPEN = wx.PyEventBinder( wxEVT_MENU_OPEN )
1813 EVT_MENU_CLOSE = wx.PyEventBinder( wxEVT_MENU_CLOSE )
1814 EVT_MENU_HIGHLIGHT = wx.PyEventBinder( wxEVT_MENU_HIGHLIGHT, 1)
1815 EVT_MENU_HIGHLIGHT_ALL = wx.PyEventBinder( wxEVT_MENU_HIGHLIGHT )
1816 EVT_SET_FOCUS = wx.PyEventBinder( wxEVT_SET_FOCUS )
1817 EVT_KILL_FOCUS = wx.PyEventBinder( wxEVT_KILL_FOCUS )
1818 EVT_CHILD_FOCUS = wx.PyEventBinder( wxEVT_CHILD_FOCUS )
1819 EVT_ACTIVATE = wx.PyEventBinder( wxEVT_ACTIVATE )
1820 EVT_ACTIVATE_APP = wx.PyEventBinder( wxEVT_ACTIVATE_APP )
1821 EVT_END_SESSION = wx.PyEventBinder( wxEVT_END_SESSION )
1822 EVT_QUERY_END_SESSION = wx.PyEventBinder( wxEVT_QUERY_END_SESSION )
1823 EVT_DROP_FILES = wx.PyEventBinder( wxEVT_DROP_FILES )
1824 EVT_INIT_DIALOG = wx.PyEventBinder( wxEVT_INIT_DIALOG )
1825 EVT_SYS_COLOUR_CHANGED = wx.PyEventBinder( wxEVT_SYS_COLOUR_CHANGED )
1826 EVT_DISPLAY_CHANGED = wx.PyEventBinder( wxEVT_DISPLAY_CHANGED )
1827 EVT_SHOW = wx.PyEventBinder( wxEVT_SHOW )
1828 EVT_MAXIMIZE = wx.PyEventBinder( wxEVT_MAXIMIZE )
1829 EVT_ICONIZE = wx.PyEventBinder( wxEVT_ICONIZE )
1830 EVT_NAVIGATION_KEY = wx.PyEventBinder( wxEVT_NAVIGATION_KEY )
1831 EVT_PALETTE_CHANGED = wx.PyEventBinder( wxEVT_PALETTE_CHANGED )
1832 EVT_QUERY_NEW_PALETTE = wx.PyEventBinder( wxEVT_QUERY_NEW_PALETTE )
1833 EVT_WINDOW_CREATE = wx.PyEventBinder( wxEVT_CREATE )
1834 EVT_WINDOW_DESTROY = wx.PyEventBinder( wxEVT_DESTROY )
1835 EVT_SET_CURSOR = wx.PyEventBinder( wxEVT_SET_CURSOR )
1836 EVT_MOUSE_CAPTURE_CHANGED = wx.PyEventBinder( wxEVT_MOUSE_CAPTURE_CHANGED )
1837
1838 EVT_LEFT_DOWN = wx.PyEventBinder( wxEVT_LEFT_DOWN )
1839 EVT_LEFT_UP = wx.PyEventBinder( wxEVT_LEFT_UP )
1840 EVT_MIDDLE_DOWN = wx.PyEventBinder( wxEVT_MIDDLE_DOWN )
1841 EVT_MIDDLE_UP = wx.PyEventBinder( wxEVT_MIDDLE_UP )
1842 EVT_RIGHT_DOWN = wx.PyEventBinder( wxEVT_RIGHT_DOWN )
1843 EVT_RIGHT_UP = wx.PyEventBinder( wxEVT_RIGHT_UP )
1844 EVT_MOTION = wx.PyEventBinder( wxEVT_MOTION )
1845 EVT_LEFT_DCLICK = wx.PyEventBinder( wxEVT_LEFT_DCLICK )
1846 EVT_MIDDLE_DCLICK = wx.PyEventBinder( wxEVT_MIDDLE_DCLICK )
1847 EVT_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_RIGHT_DCLICK )
1848 EVT_LEAVE_WINDOW = wx.PyEventBinder( wxEVT_LEAVE_WINDOW )
1849 EVT_ENTER_WINDOW = wx.PyEventBinder( wxEVT_ENTER_WINDOW )
1850 EVT_MOUSEWHEEL = wx.PyEventBinder( wxEVT_MOUSEWHEEL )
1851
1852 EVT_MOUSE_EVENTS = wx.PyEventBinder([ wxEVT_LEFT_DOWN,
1853 wxEVT_LEFT_UP,
1854 wxEVT_MIDDLE_DOWN,
1855 wxEVT_MIDDLE_UP,
1856 wxEVT_RIGHT_DOWN,
1857 wxEVT_RIGHT_UP,
1858 wxEVT_MOTION,
1859 wxEVT_LEFT_DCLICK,
1860 wxEVT_MIDDLE_DCLICK,
1861 wxEVT_RIGHT_DCLICK,
1862 wxEVT_ENTER_WINDOW,
1863 wxEVT_LEAVE_WINDOW,
1864 wxEVT_MOUSEWHEEL
1865 ])
1866
1867
1868 # Scrolling from wxWindow (sent to wxScrolledWindow)
1869 EVT_SCROLLWIN = wx.PyEventBinder([ wxEVT_SCROLLWIN_TOP,
1870 wxEVT_SCROLLWIN_BOTTOM,
1871 wxEVT_SCROLLWIN_LINEUP,
1872 wxEVT_SCROLLWIN_LINEDOWN,
1873 wxEVT_SCROLLWIN_PAGEUP,
1874 wxEVT_SCROLLWIN_PAGEDOWN,
1875 wxEVT_SCROLLWIN_THUMBTRACK,
1876 wxEVT_SCROLLWIN_THUMBRELEASE,
1877 ])
1878
1879 EVT_SCROLLWIN_TOP = wx.PyEventBinder( wxEVT_SCROLLWIN_TOP )
1880 EVT_SCROLLWIN_BOTTOM = wx.PyEventBinder( wxEVT_SCROLLWIN_BOTTOM )
1881 EVT_SCROLLWIN_LINEUP = wx.PyEventBinder( wxEVT_SCROLLWIN_LINEUP )
1882 EVT_SCROLLWIN_LINEDOWN = wx.PyEventBinder( wxEVT_SCROLLWIN_LINEDOWN )
1883 EVT_SCROLLWIN_PAGEUP = wx.PyEventBinder( wxEVT_SCROLLWIN_PAGEUP )
1884 EVT_SCROLLWIN_PAGEDOWN = wx.PyEventBinder( wxEVT_SCROLLWIN_PAGEDOWN )
1885 EVT_SCROLLWIN_THUMBTRACK = wx.PyEventBinder( wxEVT_SCROLLWIN_THUMBTRACK )
1886 EVT_SCROLLWIN_THUMBRELEASE = wx.PyEventBinder( wxEVT_SCROLLWIN_THUMBRELEASE )
1887
1888 # Scrolling from wxSlider and wxScrollBar
1889 EVT_SCROLL = wx.PyEventBinder([ wxEVT_SCROLL_TOP,
1890 wxEVT_SCROLL_BOTTOM,
1891 wxEVT_SCROLL_LINEUP,
1892 wxEVT_SCROLL_LINEDOWN,
1893 wxEVT_SCROLL_PAGEUP,
1894 wxEVT_SCROLL_PAGEDOWN,
1895 wxEVT_SCROLL_THUMBTRACK,
1896 wxEVT_SCROLL_THUMBRELEASE,
1897 wxEVT_SCROLL_ENDSCROLL,
1898 ])
1899
1900 EVT_SCROLL_TOP = wx.PyEventBinder( wxEVT_SCROLL_TOP )
1901 EVT_SCROLL_BOTTOM = wx.PyEventBinder( wxEVT_SCROLL_BOTTOM )
1902 EVT_SCROLL_LINEUP = wx.PyEventBinder( wxEVT_SCROLL_LINEUP )
1903 EVT_SCROLL_LINEDOWN = wx.PyEventBinder( wxEVT_SCROLL_LINEDOWN )
1904 EVT_SCROLL_PAGEUP = wx.PyEventBinder( wxEVT_SCROLL_PAGEUP )
1905 EVT_SCROLL_PAGEDOWN = wx.PyEventBinder( wxEVT_SCROLL_PAGEDOWN )
1906 EVT_SCROLL_THUMBTRACK = wx.PyEventBinder( wxEVT_SCROLL_THUMBTRACK )
1907 EVT_SCROLL_THUMBRELEASE = wx.PyEventBinder( wxEVT_SCROLL_THUMBRELEASE )
1908 EVT_SCROLL_ENDSCROLL = wx.PyEventBinder( wxEVT_SCROLL_ENDSCROLL )
1909
1910 # Scrolling from wxSlider and wxScrollBar, with an id
1911 EVT_COMMAND_SCROLL = wx.PyEventBinder([ wxEVT_SCROLL_TOP,
1912 wxEVT_SCROLL_BOTTOM,
1913 wxEVT_SCROLL_LINEUP,
1914 wxEVT_SCROLL_LINEDOWN,
1915 wxEVT_SCROLL_PAGEUP,
1916 wxEVT_SCROLL_PAGEDOWN,
1917 wxEVT_SCROLL_THUMBTRACK,
1918 wxEVT_SCROLL_THUMBRELEASE,
1919 wxEVT_SCROLL_ENDSCROLL,
1920 ], 1)
1921
1922 EVT_COMMAND_SCROLL_TOP = wx.PyEventBinder( wxEVT_SCROLL_TOP, 1)
1923 EVT_COMMAND_SCROLL_BOTTOM = wx.PyEventBinder( wxEVT_SCROLL_BOTTOM, 1)
1924 EVT_COMMAND_SCROLL_LINEUP = wx.PyEventBinder( wxEVT_SCROLL_LINEUP, 1)
1925 EVT_COMMAND_SCROLL_LINEDOWN = wx.PyEventBinder( wxEVT_SCROLL_LINEDOWN, 1)
1926 EVT_COMMAND_SCROLL_PAGEUP = wx.PyEventBinder( wxEVT_SCROLL_PAGEUP, 1)
1927 EVT_COMMAND_SCROLL_PAGEDOWN = wx.PyEventBinder( wxEVT_SCROLL_PAGEDOWN, 1)
1928 EVT_COMMAND_SCROLL_THUMBTRACK = wx.PyEventBinder( wxEVT_SCROLL_THUMBTRACK, 1)
1929 EVT_COMMAND_SCROLL_THUMBRELEASE = wx.PyEventBinder( wxEVT_SCROLL_THUMBRELEASE, 1)
1930 EVT_COMMAND_SCROLL_ENDSCROLL = wx.PyEventBinder( wxEVT_SCROLL_ENDSCROLL, 1)
1931
1932 EVT_BUTTON = wx.PyEventBinder( wxEVT_COMMAND_BUTTON_CLICKED, 1)
1933 EVT_CHECKBOX = wx.PyEventBinder( wxEVT_COMMAND_CHECKBOX_CLICKED, 1)
1934 EVT_CHOICE = wx.PyEventBinder( wxEVT_COMMAND_CHOICE_SELECTED, 1)
1935 EVT_LISTBOX = wx.PyEventBinder( wxEVT_COMMAND_LISTBOX_SELECTED, 1)
1936 EVT_LISTBOX_DCLICK = wx.PyEventBinder( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, 1)
1937 EVT_MENU = wx.PyEventBinder( wxEVT_COMMAND_MENU_SELECTED, 1)
1938 EVT_MENU_RANGE = wx.PyEventBinder( wxEVT_COMMAND_MENU_SELECTED, 2)
1939 EVT_SLIDER = wx.PyEventBinder( wxEVT_COMMAND_SLIDER_UPDATED, 1)
1940 EVT_RADIOBOX = wx.PyEventBinder( wxEVT_COMMAND_RADIOBOX_SELECTED, 1)
1941 EVT_RADIOBUTTON = wx.PyEventBinder( wxEVT_COMMAND_RADIOBUTTON_SELECTED, 1)
1942
1943 EVT_SCROLLBAR = wx.PyEventBinder( wxEVT_COMMAND_SCROLLBAR_UPDATED, 1)
1944 EVT_VLBOX = wx.PyEventBinder( wxEVT_COMMAND_VLBOX_SELECTED, 1)
1945 EVT_COMBOBOX = wx.PyEventBinder( wxEVT_COMMAND_COMBOBOX_SELECTED, 1)
1946 EVT_TOOL = wx.PyEventBinder( wxEVT_COMMAND_TOOL_CLICKED, 1)
1947 EVT_TOOL_RANGE = wx.PyEventBinder( wxEVT_COMMAND_TOOL_CLICKED, 2)
1948 EVT_TOOL_RCLICKED = wx.PyEventBinder( wxEVT_COMMAND_TOOL_RCLICKED, 1)
1949 EVT_TOOL_RCLICKED_RANGE = wx.PyEventBinder( wxEVT_COMMAND_TOOL_RCLICKED, 2)
1950 EVT_TOOL_ENTER = wx.PyEventBinder( wxEVT_COMMAND_TOOL_ENTER, 1)
1951 EVT_CHECKLISTBOX = wx.PyEventBinder( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, 1)
1952
1953
1954 EVT_COMMAND_LEFT_CLICK = wx.PyEventBinder( wxEVT_COMMAND_LEFT_CLICK, 1)
1955 EVT_COMMAND_LEFT_DCLICK = wx.PyEventBinder( wxEVT_COMMAND_LEFT_DCLICK, 1)
1956 EVT_COMMAND_RIGHT_CLICK = wx.PyEventBinder( wxEVT_COMMAND_RIGHT_CLICK, 1)
1957 EVT_COMMAND_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_COMMAND_RIGHT_DCLICK, 1)
1958 EVT_COMMAND_SET_FOCUS = wx.PyEventBinder( wxEVT_COMMAND_SET_FOCUS, 1)
1959 EVT_COMMAND_KILL_FOCUS = wx.PyEventBinder( wxEVT_COMMAND_KILL_FOCUS, 1)
1960 EVT_COMMAND_ENTER = wx.PyEventBinder( wxEVT_COMMAND_ENTER, 1)
1961
1962 EVT_IDLE = wx.PyEventBinder( wxEVT_IDLE )
1963
1964 EVT_UPDATE_UI = wx.PyEventBinder( wxEVT_UPDATE_UI, 1)
1965 EVT_UPDATE_UI_RANGE = wx.PyEventBinder( wxEVT_UPDATE_UI, 2)
1966
1967 EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
1968
1969
1970 </pythoncode>
1971 <pythoncode>
1972 #---------------------------------------------------------------------------
1973 </pythoncode>
1974 <class name="Event" oldname="wxEvent" module="_core">
1975 <baseclass name="Object"/>
1976 <destructor name="~wxEvent" overloaded="no">
1977 <autodoc>__del__(self)</autodoc>
1978 </destructor>
1979 <method name="SetEventType" type="" overloaded="no">
1980 <autodoc>SetEventType(self, wxEventType typ)</autodoc>
1981 <paramlist>
1982 <param name="typ" type="wxEventType" default=""/>
1983 </paramlist>
1984 </method>
1985 <method name="GetEventType" type="wxEventType" overloaded="no">
1986 <autodoc>GetEventType(self) -&gt; wxEventType</autodoc>
1987 </method>
1988 <method name="GetEventObject" type="Object" overloaded="no">
1989 <autodoc>GetEventObject(self) -&gt; Object</autodoc>
1990 </method>
1991 <method name="SetEventObject" type="" overloaded="no">
1992 <autodoc>SetEventObject(self, Object obj)</autodoc>
1993 <paramlist>
1994 <param name="obj" type="Object" default=""/>
1995 </paramlist>
1996 </method>
1997 <method name="GetTimestamp" type="long" overloaded="no">
1998 <autodoc>GetTimestamp(self) -&gt; long</autodoc>
1999 </method>
2000 <method name="SetTimestamp" type="" overloaded="no">
2001 <autodoc>SetTimestamp(self, long ts=0)</autodoc>
2002 <paramlist>
2003 <param name="ts" type="long" default="0"/>
2004 </paramlist>
2005 </method>
2006 <method name="GetId" type="int" overloaded="no">
2007 <autodoc>GetId(self) -&gt; int</autodoc>
2008 </method>
2009 <method name="SetId" type="" overloaded="no">
2010 <autodoc>SetId(self, int Id)</autodoc>
2011 <paramlist>
2012 <param name="Id" type="int" default=""/>
2013 </paramlist>
2014 </method>
2015 <method name="IsCommandEvent" type="bool" overloaded="no">
2016 <autodoc>IsCommandEvent(self) -&gt; bool</autodoc>
2017 </method>
2018 <method name="Skip" type="" overloaded="no">
2019 <autodoc>Skip(self, bool skip=True)</autodoc>
2020 <paramlist>
2021 <param name="skip" type="bool" default="True"/>
2022 </paramlist>
2023 </method>
2024 <method name="GetSkipped" type="bool" overloaded="no">
2025 <autodoc>GetSkipped(self) -&gt; bool</autodoc>
2026 </method>
2027 <method name="ShouldPropagate" type="bool" overloaded="no">
2028 <autodoc>ShouldPropagate(self) -&gt; bool</autodoc>
2029 </method>
2030 <method name="StopPropagation" type="int" overloaded="no">
2031 <autodoc>StopPropagation(self) -&gt; int</autodoc>
2032 </method>
2033 <method name="ResumePropagation" type="" overloaded="no">
2034 <autodoc>ResumePropagation(self, int propagationLevel)</autodoc>
2035 <paramlist>
2036 <param name="propagationLevel" type="int" default=""/>
2037 </paramlist>
2038 </method>
2039 <method name="Clone" type="Event" overloaded="no">
2040 <autodoc>Clone(self) -&gt; Event</autodoc>
2041 </method>
2042 </class>
2043 <pythoncode>
2044 #---------------------------------------------------------------------------
2045 </pythoncode>
2046 <class name="PropagationDisabler" oldname="wxPropagationDisabler" module="_core">
2047 <constructor name="PropagationDisabler" overloaded="no">
2048 <autodoc>__init__(self, Event event) -&gt; PropagationDisabler</autodoc>
2049 <paramlist>
2050 <param name="event" type="Event" default=""/>
2051 </paramlist>
2052 </constructor>
2053 <destructor name="~wxPropagationDisabler" overloaded="no">
2054 <autodoc>__del__(self)</autodoc>
2055 </destructor>
2056 </class>
2057 <class name="PropagateOnce" oldname="wxPropagateOnce" module="_core">
2058 <constructor name="PropagateOnce" overloaded="no">
2059 <autodoc>__init__(self, Event event) -&gt; PropagateOnce</autodoc>
2060 <paramlist>
2061 <param name="event" type="Event" default=""/>
2062 </paramlist>
2063 </constructor>
2064 <destructor name="~wxPropagateOnce" overloaded="no">
2065 <autodoc>__del__(self)</autodoc>
2066 </destructor>
2067 </class>
2068 <pythoncode>
2069 #---------------------------------------------------------------------------
2070 </pythoncode>
2071 <class name="CommandEvent" oldname="wxCommandEvent" module="_core">
2072 <baseclass name="Event"/>
2073 <constructor name="CommandEvent" overloaded="no">
2074 <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0) -&gt; CommandEvent</autodoc>
2075 <paramlist>
2076 <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
2077 <param name="winid" type="int" default="0"/>
2078 </paramlist>
2079 </constructor>
2080 <method name="GetSelection" type="int" overloaded="no">
2081 <autodoc>GetSelection(self) -&gt; int</autodoc>
2082 </method>
2083 <method name="SetString" type="" overloaded="no">
2084 <autodoc>SetString(self, String s)</autodoc>
2085 <paramlist>
2086 <param name="s" type="String" default=""/>
2087 </paramlist>
2088 </method>
2089 <method name="GetString" type="String" overloaded="no">
2090 <autodoc>GetString(self) -&gt; String</autodoc>
2091 </method>
2092 <method name="IsChecked" type="bool" overloaded="no">
2093 <autodoc>IsChecked(self) -&gt; bool</autodoc>
2094 </method>
2095 <method name="IsSelection" type="bool" overloaded="no">
2096 <autodoc>IsSelection(self) -&gt; bool</autodoc>
2097 </method>
2098 <method name="SetExtraLong" type="" overloaded="no">
2099 <autodoc>SetExtraLong(self, long extraLong)</autodoc>
2100 <paramlist>
2101 <param name="extraLong" type="long" default=""/>
2102 </paramlist>
2103 </method>
2104 <method name="GetExtraLong" type="long" overloaded="no">
2105 <autodoc>GetExtraLong(self) -&gt; long</autodoc>
2106 </method>
2107 <method name="SetInt" type="" overloaded="no">
2108 <autodoc>SetInt(self, int i)</autodoc>
2109 <paramlist>
2110 <param name="i" type="int" default=""/>
2111 </paramlist>
2112 </method>
2113 <method name="GetInt" type="long" overloaded="no">
2114 <autodoc>GetInt(self) -&gt; long</autodoc>
2115 </method>
2116 <method name="Clone" type="Event" overloaded="no">
2117 <autodoc>Clone(self) -&gt; Event</autodoc>
2118 </method>
2119 </class>
2120 <pythoncode>
2121 #---------------------------------------------------------------------------
2122 </pythoncode>
2123 <class name="NotifyEvent" oldname="wxNotifyEvent" module="_core">
2124 <baseclass name="CommandEvent"/>
2125 <constructor name="NotifyEvent" overloaded="no">
2126 <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0) -&gt; NotifyEvent</autodoc>
2127 <paramlist>
2128 <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
2129 <param name="winid" type="int" default="0"/>
2130 </paramlist>
2131 </constructor>
2132 <method name="Veto" type="" overloaded="no">
2133 <autodoc>Veto(self)</autodoc>
2134 </method>
2135 <method name="Allow" type="" overloaded="no">
2136 <autodoc>Allow(self)</autodoc>
2137 </method>
2138 <method name="IsAllowed" type="bool" overloaded="no">
2139 <autodoc>IsAllowed(self) -&gt; bool</autodoc>
2140 </method>
2141 </class>
2142 <pythoncode>
2143 #---------------------------------------------------------------------------
2144 </pythoncode>
2145 <class name="ScrollEvent" oldname="wxScrollEvent" module="_core">
2146 <baseclass name="CommandEvent"/>
2147 <constructor name="ScrollEvent" overloaded="no">
2148 <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0,
2149 int orient=0) -&gt; ScrollEvent</autodoc>
2150 <paramlist>
2151 <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
2152 <param name="winid" type="int" default="0"/>
2153 <param name="pos" type="int" default="0"/>
2154 <param name="orient" type="int" default="0"/>
2155 </paramlist>
2156 </constructor>
2157 <method name="GetOrientation" type="int" overloaded="no">
2158 <autodoc>GetOrientation(self) -&gt; int</autodoc>
2159 </method>
2160 <method name="GetPosition" type="int" overloaded="no">
2161 <autodoc>GetPosition(self) -&gt; int</autodoc>
2162 </method>
2163 <method name="SetOrientation" type="" overloaded="no">
2164 <autodoc>SetOrientation(self, int orient)</autodoc>
2165 <paramlist>
2166 <param name="orient" type="int" default=""/>
2167 </paramlist>
2168 </method>
2169 <method name="SetPosition" type="" overloaded="no">
2170 <autodoc>SetPosition(self, int pos)</autodoc>
2171 <paramlist>
2172 <param name="pos" type="int" default=""/>
2173 </paramlist>
2174 </method>
2175 </class>
2176 <pythoncode>
2177 #---------------------------------------------------------------------------
2178 </pythoncode>
2179 <class name="ScrollWinEvent" oldname="wxScrollWinEvent" module="_core">
2180 <baseclass name="Event"/>
2181 <constructor name="ScrollWinEvent" overloaded="no">
2182 <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int pos=0, int orient=0) -&gt; ScrollWinEvent</autodoc>
2183 <paramlist>
2184 <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
2185 <param name="pos" type="int" default="0"/>
2186 <param name="orient" type="int" default="0"/>
2187 </paramlist>
2188 </constructor>
2189 <method name="GetOrientation" type="int" overloaded="no">
2190 <autodoc>GetOrientation(self) -&gt; int</autodoc>
2191 </method>
2192 <method name="GetPosition" type="int" overloaded="no">
2193 <autodoc>GetPosition(self) -&gt; int</autodoc>
2194 </method>
2195 <method name="SetOrientation" type="" overloaded="no">
2196 <autodoc>SetOrientation(self, int orient)</autodoc>
2197 <paramlist>
2198 <param name="orient" type="int" default=""/>
2199 </paramlist>
2200 </method>
2201 <method name="SetPosition" type="" overloaded="no">
2202 <autodoc>SetPosition(self, int pos)</autodoc>
2203 <paramlist>
2204 <param name="pos" type="int" default=""/>
2205 </paramlist>
2206 </method>
2207 </class>
2208 <pythoncode>
2209 #---------------------------------------------------------------------------
2210 </pythoncode>
2211 <class name="MouseEvent" oldname="wxMouseEvent" module="_core">
2212 <baseclass name="Event"/>
2213 <constructor name="MouseEvent" overloaded="no">
2214 <autodoc>__init__(self, wxEventType mouseType=wxEVT_NULL) -&gt; MouseEvent</autodoc>
2215 <paramlist>
2216 <param name="mouseType" type="wxEventType" default="wxEVT_NULL"/>
2217 </paramlist>
2218 </constructor>
2219 <method name="IsButton" type="bool" overloaded="no">
2220 <autodoc>IsButton(self) -&gt; bool</autodoc>
2221 </method>
2222 <method name="ButtonDown" type="bool" overloaded="no">
2223 <autodoc>ButtonDown(self, int but=MOUSE_BTN_ANY) -&gt; bool</autodoc>
2224 <paramlist>
2225 <param name="but" type="int" default="wxMOUSE_BTN_ANY"/>
2226 </paramlist>
2227 </method>
2228 <method name="ButtonDClick" type="bool" overloaded="no">
2229 <autodoc>ButtonDClick(self, int but=MOUSE_BTN_ANY) -&gt; bool</autodoc>
2230 <paramlist>
2231 <param name="but" type="int" default="wxMOUSE_BTN_ANY"/>
2232 </paramlist>
2233 </method>
2234 <method name="ButtonUp" type="bool" overloaded="no">
2235 <autodoc>ButtonUp(self, int but=MOUSE_BTN_ANY) -&gt; bool</autodoc>
2236 <paramlist>
2237 <param name="but" type="int" default="wxMOUSE_BTN_ANY"/>
2238 </paramlist>
2239 </method>
2240 <method name="Button" type="bool" overloaded="no">
2241 <autodoc>Button(self, int but) -&gt; bool</autodoc>
2242 <paramlist>
2243 <param name="but" type="int" default=""/>
2244 </paramlist>
2245 </method>
2246 <method name="ButtonIsDown" type="bool" overloaded="no">
2247 <autodoc>ButtonIsDown(self, int but) -&gt; bool</autodoc>
2248 <paramlist>
2249 <param name="but" type="int" default=""/>
2250 </paramlist>
2251 </method>
2252 <method name="GetButton" type="int" overloaded="no">
2253 <autodoc>GetButton(self) -&gt; int</autodoc>
2254 </method>
2255 <method name="ControlDown" type="bool" overloaded="no">
2256 <autodoc>ControlDown(self) -&gt; bool</autodoc>
2257 </method>
2258 <method name="MetaDown" type="bool" overloaded="no">
2259 <autodoc>MetaDown(self) -&gt; bool</autodoc>
2260 </method>
2261 <method name="AltDown" type="bool" overloaded="no">
2262 <autodoc>AltDown(self) -&gt; bool</autodoc>
2263 </method>
2264 <method name="ShiftDown" type="bool" overloaded="no">
2265 <autodoc>ShiftDown(self) -&gt; bool</autodoc>
2266 </method>
2267 <method name="LeftDown" type="bool" overloaded="no">
2268 <autodoc>LeftDown(self) -&gt; bool</autodoc>
2269 </method>
2270 <method name="MiddleDown" type="bool" overloaded="no">
2271 <autodoc>MiddleDown(self) -&gt; bool</autodoc>
2272 </method>
2273 <method name="RightDown" type="bool" overloaded="no">
2274 <autodoc>RightDown(self) -&gt; bool</autodoc>
2275 </method>
2276 <method name="LeftUp" type="bool" overloaded="no">
2277 <autodoc>LeftUp(self) -&gt; bool</autodoc>
2278 </method>
2279 <method name="MiddleUp" type="bool" overloaded="no">
2280 <autodoc>MiddleUp(self) -&gt; bool</autodoc>
2281 </method>
2282 <method name="RightUp" type="bool" overloaded="no">
2283 <autodoc>RightUp(self) -&gt; bool</autodoc>
2284 </method>
2285 <method name="LeftDClick" type="bool" overloaded="no">
2286 <autodoc>LeftDClick(self) -&gt; bool</autodoc>
2287 </method>
2288 <method name="MiddleDClick" type="bool" overloaded="no">
2289 <autodoc>MiddleDClick(self) -&gt; bool</autodoc>
2290 </method>
2291 <method name="RightDClick" type="bool" overloaded="no">
2292 <autodoc>RightDClick(self) -&gt; bool</autodoc>
2293 </method>
2294 <method name="LeftIsDown" type="bool" overloaded="no">
2295 <autodoc>LeftIsDown(self) -&gt; bool</autodoc>
2296 </method>
2297 <method name="MiddleIsDown" type="bool" overloaded="no">
2298 <autodoc>MiddleIsDown(self) -&gt; bool</autodoc>
2299 </method>
2300 <method name="RightIsDown" type="bool" overloaded="no">
2301 <autodoc>RightIsDown(self) -&gt; bool</autodoc>
2302 </method>
2303 <method name="Dragging" type="bool" overloaded="no">
2304 <autodoc>Dragging(self) -&gt; bool</autodoc>
2305 </method>
2306 <method name="Moving" type="bool" overloaded="no">
2307 <autodoc>Moving(self) -&gt; bool</autodoc>
2308 </method>
2309 <method name="Entering" type="bool" overloaded="no">
2310 <autodoc>Entering(self) -&gt; bool</autodoc>
2311 </method>
2312 <method name="Leaving" type="bool" overloaded="no">
2313 <autodoc>Leaving(self) -&gt; bool</autodoc>
2314 </method>
2315 <method name="GetPosition" type="Point" overloaded="no">
2316 <autodoc>GetPosition(self) -&gt; Point</autodoc>
2317 <docstring>Returns the position of the mouse in window coordinates when the event
2318 happened.</docstring>
2319 </method>
2320 <method name="GetPositionTuple" type="" overloaded="no">
2321 <autodoc>GetPositionTuple() -&gt; (x,y)</autodoc>
2322 <docstring>Returns the position of the mouse in window coordinates when the event
2323 happened.</docstring>
2324 <paramlist>
2325 <param name="OUTPUT" type="long" default=""/>
2326 <param name="OUTPUT" type="long" default=""/>
2327 </paramlist>
2328 </method>
2329 <method name="GetLogicalPosition" type="Point" overloaded="no">
2330 <autodoc>GetLogicalPosition(self, DC dc) -&gt; Point</autodoc>
2331 <paramlist>
2332 <param name="dc" type="wxDC" default=""/>
2333 </paramlist>
2334 </method>
2335 <method name="GetX" type="int" overloaded="no">
2336 <autodoc>GetX(self) -&gt; int</autodoc>
2337 </method>
2338 <method name="GetY" type="int" overloaded="no">
2339 <autodoc>GetY(self) -&gt; int</autodoc>
2340 </method>
2341 <method name="GetWheelRotation" type="int" overloaded="no">
2342 <autodoc>GetWheelRotation(self) -&gt; int</autodoc>
2343 </method>
2344 <method name="GetWheelDelta" type="int" overloaded="no">
2345 <autodoc>GetWheelDelta(self) -&gt; int</autodoc>
2346 </method>
2347 <method name="GetLinesPerAction" type="int" overloaded="no">
2348 <autodoc>GetLinesPerAction(self) -&gt; int</autodoc>
2349 </method>
2350 <method name="IsPageScroll" type="bool" overloaded="no">
2351 <autodoc>IsPageScroll(self) -&gt; bool</autodoc>
2352 </method>
2353 <property name="m_x" type="int" readonly="no"/>
2354 <property name="m_y" type="int" readonly="no"/>
2355 <property name="m_leftDown" type="bool" readonly="no"/>
2356 <property name="m_middleDown" type="bool" readonly="no"/>
2357 <property name="m_rightDown" type="bool" readonly="no"/>
2358 <property name="m_controlDown" type="bool" readonly="no"/>
2359 <property name="m_shiftDown" type="bool" readonly="no"/>
2360 <property name="m_altDown" type="bool" readonly="no"/>
2361 <property name="m_metaDown" type="bool" readonly="no"/>
2362 <property name="m_wheelRotation" type="int" readonly="no"/>
2363 <property name="m_wheelDelta" type="int" readonly="no"/>
2364 <property name="m_linesPerAction" type="int" readonly="no"/>
2365 </class>
2366 <pythoncode>
2367 #---------------------------------------------------------------------------
2368 </pythoncode>
2369 <class name="SetCursorEvent" oldname="wxSetCursorEvent" module="_core">
2370 <baseclass name="Event"/>
2371 <constructor name="SetCursorEvent" overloaded="no">
2372 <autodoc>__init__(self, int x=0, int y=0) -&gt; SetCursorEvent</autodoc>
2373 <paramlist>
2374 <param name="x" type="int" default="0"/>
2375 <param name="y" type="int" default="0"/>
2376 </paramlist>
2377 </constructor>
2378 <method name="GetX" type="int" overloaded="no">
2379 <autodoc>GetX(self) -&gt; int</autodoc>
2380 </method>
2381 <method name="GetY" type="int" overloaded="no">
2382 <autodoc>GetY(self) -&gt; int</autodoc>
2383 </method>
2384 <method name="SetCursor" type="" overloaded="no">
2385 <autodoc>SetCursor(self, Cursor cursor)</autodoc>
2386 <paramlist>
2387 <param name="cursor" type="wxCursor" default=""/>
2388 </paramlist>
2389 </method>
2390 <method name="GetCursor" type="wxCursor" overloaded="no">
2391 <autodoc>GetCursor(self) -&gt; Cursor</autodoc>
2392 </method>
2393 <method name="HasCursor" type="bool" overloaded="no">
2394 <autodoc>HasCursor(self) -&gt; bool</autodoc>
2395 </method>
2396 </class>
2397 <pythoncode>
2398 #---------------------------------------------------------------------------
2399 </pythoncode>
2400 <class name="KeyEvent" oldname="wxKeyEvent" module="_core">
2401 <baseclass name="Event"/>
2402 <constructor name="KeyEvent" overloaded="no">
2403 <autodoc>__init__(self, wxEventType keyType=wxEVT_NULL) -&gt; KeyEvent</autodoc>
2404 <paramlist>
2405 <param name="keyType" type="wxEventType" default="wxEVT_NULL"/>
2406 </paramlist>
2407 </constructor>
2408 <method name="ControlDown" type="bool" overloaded="no">
2409 <autodoc>ControlDown(self) -&gt; bool</autodoc>
2410 </method>
2411 <method name="MetaDown" type="bool" overloaded="no">
2412 <autodoc>MetaDown(self) -&gt; bool</autodoc>
2413 </method>
2414 <method name="AltDown" type="bool" overloaded="no">
2415 <autodoc>AltDown(self) -&gt; bool</autodoc>
2416 </method>
2417 <method name="ShiftDown" type="bool" overloaded="no">
2418 <autodoc>ShiftDown(self) -&gt; bool</autodoc>
2419 </method>
2420 <method name="HasModifiers" type="bool" overloaded="no">
2421 <autodoc>HasModifiers(self) -&gt; bool</autodoc>
2422 </method>
2423 <method name="GetKeyCode" type="int" overloaded="no">
2424 <autodoc>GetKeyCode(self) -&gt; int</autodoc>
2425 </method>
2426 <method name="GetUniChar" type="int" overloaded="no">
2427 <autodoc>GetUniChar(self) -&gt; int</autodoc>
2428 </method>
2429 <method name="GetRawKeyCode" type="unsigned int" overloaded="no">
2430 <autodoc>GetRawKeyCode(self) -&gt; unsigned int</autodoc>
2431 </method>
2432 <method name="GetRawKeyFlags" type="unsigned int" overloaded="no">
2433 <autodoc>GetRawKeyFlags(self) -&gt; unsigned int</autodoc>
2434 </method>
2435 <method name="GetPosition" type="Point" overloaded="no">
2436 <autodoc>GetPosition(self) -&gt; Point</autodoc>
2437 <docstring>Find the position of the event.</docstring>
2438 </method>
2439 <method name="GetPositionTuple" type="" overloaded="no">
2440 <autodoc>GetPositionTuple() -&gt; (x,y)</autodoc>
2441 <docstring>Find the position of the event.</docstring>
2442 <paramlist>
2443 <param name="OUTPUT" type="long" default=""/>
2444 <param name="OUTPUT" type="long" default=""/>
2445 </paramlist>
2446 </method>
2447 <method name="GetX" type="int" overloaded="no">
2448 <autodoc>GetX(self) -&gt; int</autodoc>
2449 </method>
2450 <method name="GetY" type="int" overloaded="no">
2451 <autodoc>GetY(self) -&gt; int</autodoc>
2452 </method>
2453 <property name="m_x" type="int" readonly="no"/>
2454 <property name="m_y" type="int" readonly="no"/>
2455 <property name="m_keyCode" type="long" readonly="no"/>
2456 <property name="m_controlDown" type="bool" readonly="no"/>
2457 <property name="m_shiftDown" type="bool" readonly="no"/>
2458 <property name="m_altDown" type="bool" readonly="no"/>
2459 <property name="m_metaDown" type="bool" readonly="no"/>
2460 <property name="m_scanCode" type="bool" readonly="no"/>
2461 <property name="m_rawCode" type="unsigned int" readonly="no"/>
2462 <property name="m_rawFlags" type="unsigned int" readonly="no"/>
2463 </class>
2464 <pythoncode>
2465 #---------------------------------------------------------------------------
2466 </pythoncode>
2467 <class name="SizeEvent" oldname="wxSizeEvent" module="_core">
2468 <baseclass name="Event"/>
2469 <constructor name="SizeEvent" overloaded="no">
2470 <autodoc>__init__(self, Size sz=DefaultSize, int winid=0) -&gt; SizeEvent</autodoc>
2471 <paramlist>
2472 <param name="sz" type="Size" default="wxDefaultSize"/>
2473 <param name="winid" type="int" default="0"/>
2474 </paramlist>
2475 </constructor>
2476 <method name="GetSize" type="Size" overloaded="no">
2477 <autodoc>GetSize(self) -&gt; Size</autodoc>
2478 </method>
2479 <method name="GetRect" type="Rect" overloaded="no">
2480 <autodoc>GetRect(self) -&gt; Rect</autodoc>
2481 </method>
2482 <method name="SetRect" type="" overloaded="no">
2483 <autodoc>SetRect(self, Rect rect)</autodoc>
2484 <paramlist>
2485 <param name="rect" type="Rect" default=""/>
2486 </paramlist>
2487 </method>
2488 <method name="SetSize" type="" overloaded="no">
2489 <autodoc>SetSize(self, Size size)</autodoc>
2490 <paramlist>
2491 <param name="size" type="Size" default=""/>
2492 </paramlist>
2493 </method>
2494 <property name="m_size" type="Size" readonly="no"/>
2495 <property name="m_rect" type="Rect" readonly="no"/>
2496 </class>
2497 <pythoncode>
2498 #---------------------------------------------------------------------------
2499 </pythoncode>
2500 <class name="MoveEvent" oldname="wxMoveEvent" module="_core">
2501 <baseclass name="Event"/>
2502 <constructor name="MoveEvent" overloaded="no">
2503 <autodoc>__init__(self, Point pos=DefaultPosition, int winid=0) -&gt; MoveEvent</autodoc>
2504 <paramlist>
2505 <param name="pos" type="Point" default="wxDefaultPosition"/>
2506 <param name="winid" type="int" default="0"/>
2507 </paramlist>
2508 </constructor>
2509 <method name="GetPosition" type="Point" overloaded="no">
2510 <autodoc>GetPosition(self) -&gt; Point</autodoc>
2511 </method>
2512 <method name="GetRect" type="Rect" overloaded="no">
2513 <autodoc>GetRect(self) -&gt; Rect</autodoc>
2514 </method>
2515 <method name="SetRect" type="" overloaded="no">
2516 <autodoc>SetRect(self, Rect rect)</autodoc>
2517 <paramlist>
2518 <param name="rect" type="Rect" default=""/>
2519 </paramlist>
2520 </method>
2521 <method name="SetPosition" type="" overloaded="no">
2522 <autodoc>SetPosition(self, Point pos)</autodoc>
2523 <paramlist>
2524 <param name="pos" type="Point" default=""/>
2525 </paramlist>
2526 </method>
2527 <property name="m_pos" type="Point" readonly="no"/>
2528 <property name="m_rect" type="Rect" readonly="no"/>
2529 </class>
2530 <pythoncode>
2531 #---------------------------------------------------------------------------
2532 </pythoncode>
2533 <class name="PaintEvent" oldname="wxPaintEvent" module="_core">
2534 <baseclass name="Event"/>
2535 <constructor name="PaintEvent" overloaded="no">
2536 <autodoc>__init__(self, int Id=0) -&gt; PaintEvent</autodoc>
2537 <paramlist>
2538 <param name="Id" type="int" default="0"/>
2539 </paramlist>
2540 </constructor>
2541 </class>
2542 <class name="NcPaintEvent" oldname="wxNcPaintEvent" module="_core">
2543 <baseclass name="Event"/>
2544 <constructor name="NcPaintEvent" overloaded="no">
2545 <autodoc>__init__(self, int winid=0) -&gt; NcPaintEvent</autodoc>
2546 <paramlist>
2547 <param name="winid" type="int" default="0"/>
2548 </paramlist>
2549 </constructor>
2550 </class>
2551 <pythoncode>
2552 #---------------------------------------------------------------------------
2553 </pythoncode>
2554 <class name="EraseEvent" oldname="wxEraseEvent" module="_core">
2555 <baseclass name="Event"/>
2556 <constructor name="EraseEvent" overloaded="no">
2557 <autodoc>__init__(self, int Id=0, DC dc=(wxDC *) NULL) -&gt; EraseEvent</autodoc>
2558 <paramlist>
2559 <param name="Id" type="int" default="0"/>
2560 <param name="dc" type="wxDC" default="(wxDC *) NULL"/>
2561 </paramlist>
2562 </constructor>
2563 <method name="GetDC" type="wxDC" overloaded="no">
2564 <autodoc>GetDC(self) -&gt; DC</autodoc>
2565 </method>
2566 </class>
2567 <pythoncode>
2568 #---------------------------------------------------------------------------
2569 </pythoncode>
2570 <class name="FocusEvent" oldname="wxFocusEvent" module="_core">
2571 <baseclass name="Event"/>
2572 <constructor name="FocusEvent" overloaded="no">
2573 <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0) -&gt; FocusEvent</autodoc>
2574 <paramlist>
2575 <param name="type" type="wxEventType" default="wxEVT_NULL"/>
2576 <param name="winid" type="int" default="0"/>
2577 </paramlist>
2578 </constructor>
2579 <method name="GetWindow" type="wxWindow" overloaded="no">
2580 <autodoc>GetWindow(self) -&gt; Window</autodoc>
2581 </method>
2582 <method name="SetWindow" type="" overloaded="no">
2583 <autodoc>SetWindow(self, Window win)</autodoc>
2584 <paramlist>
2585 <param name="win" type="wxWindow" default=""/>
2586 </paramlist>
2587 </method>
2588 </class>
2589 <pythoncode>
2590 #---------------------------------------------------------------------------
2591 </pythoncode>
2592 <class name="ChildFocusEvent" oldname="wxChildFocusEvent" module="_core">
2593 <baseclass name="CommandEvent"/>
2594 <constructor name="ChildFocusEvent" overloaded="no">
2595 <autodoc>__init__(self, Window win=None) -&gt; ChildFocusEvent</autodoc>
2596 <paramlist>
2597 <param name="win" type="wxWindow" default="NULL"/>
2598 </paramlist>
2599 </constructor>
2600 <method name="GetWindow" type="wxWindow" overloaded="no">
2601 <autodoc>GetWindow(self) -&gt; Window</autodoc>
2602 </method>
2603 </class>
2604 <pythoncode>
2605 #---------------------------------------------------------------------------
2606 </pythoncode>
2607 <class name="ActivateEvent" oldname="wxActivateEvent" module="_core">
2608 <baseclass name="Event"/>
2609 <constructor name="ActivateEvent" overloaded="no">
2610 <autodoc>__init__(self, wxEventType type=wxEVT_NULL, bool active=True, int Id=0) -&gt; ActivateEvent</autodoc>
2611 <paramlist>
2612 <param name="type" type="wxEventType" default="wxEVT_NULL"/>
2613 <param name="active" type="bool" default="True"/>
2614 <param name="Id" type="int" default="0"/>
2615 </paramlist>
2616 </constructor>
2617 <method name="GetActive" type="bool" overloaded="no">
2618 <autodoc>GetActive(self) -&gt; bool</autodoc>
2619 </method>
2620 </class>
2621 <pythoncode>
2622 #---------------------------------------------------------------------------
2623 </pythoncode>
2624 <class name="InitDialogEvent" oldname="wxInitDialogEvent" module="_core">
2625 <baseclass name="Event"/>
2626 <constructor name="InitDialogEvent" overloaded="no">
2627 <autodoc>__init__(self, int Id=0) -&gt; InitDialogEvent</autodoc>
2628 <paramlist>
2629 <param name="Id" type="int" default="0"/>
2630 </paramlist>
2631 </constructor>
2632 </class>
2633 <pythoncode>
2634 #---------------------------------------------------------------------------
2635 </pythoncode>
2636 <class name="MenuEvent" oldname="wxMenuEvent" module="_core">
2637 <baseclass name="Event"/>
2638 <constructor name="MenuEvent" overloaded="no">
2639 <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0, Menu menu=None) -&gt; MenuEvent</autodoc>
2640 <paramlist>
2641 <param name="type" type="wxEventType" default="wxEVT_NULL"/>
2642 <param name="winid" type="int" default="0"/>
2643 <param name="menu" type="wxMenu" default="NULL"/>
2644 </paramlist>
2645 </constructor>
2646 <method name="GetMenuId" type="int" overloaded="no">
2647 <autodoc>GetMenuId(self) -&gt; int</autodoc>
2648 </method>
2649 <method name="IsPopup" type="bool" overloaded="no">
2650 <autodoc>IsPopup(self) -&gt; bool</autodoc>
2651 </method>
2652 <method name="GetMenu" type="wxMenu" overloaded="no">
2653 <autodoc>GetMenu(self) -&gt; Menu</autodoc>
2654 </method>
2655 </class>
2656 <pythoncode>
2657 #---------------------------------------------------------------------------
2658 </pythoncode>
2659 <class name="CloseEvent" oldname="wxCloseEvent" module="_core">
2660 <baseclass name="Event"/>
2661 <constructor name="CloseEvent" overloaded="no">
2662 <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0) -&gt; CloseEvent</autodoc>
2663 <paramlist>
2664 <param name="type" type="wxEventType" default="wxEVT_NULL"/>
2665 <param name="winid" type="int" default="0"/>
2666 </paramlist>
2667 </constructor>
2668 <method name="SetLoggingOff" type="" overloaded="no">
2669 <autodoc>SetLoggingOff(self, bool logOff)</autodoc>
2670 <paramlist>
2671 <param name="logOff" type="bool" default=""/>
2672 </paramlist>
2673 </method>
2674 <method name="GetLoggingOff" type="bool" overloaded="no">
2675 <autodoc>GetLoggingOff(self) -&gt; bool</autodoc>
2676 </method>
2677 <method name="Veto" type="" overloaded="no">
2678 <autodoc>Veto(self, bool veto=True)</autodoc>
2679 <paramlist>
2680 <param name="veto" type="bool" default="True"/>
2681 </paramlist>
2682 </method>
2683 <method name="SetCanVeto" type="" overloaded="no">
2684 <autodoc>SetCanVeto(self, bool canVeto)</autodoc>
2685 <paramlist>
2686 <param name="canVeto" type="bool" default=""/>
2687 </paramlist>
2688 </method>
2689 <method name="CanVeto" type="bool" overloaded="no">
2690 <autodoc>CanVeto(self) -&gt; bool</autodoc>
2691 </method>
2692 <method name="GetVeto" type="bool" overloaded="no">
2693 <autodoc>GetVeto(self) -&gt; bool</autodoc>
2694 </method>
2695 </class>
2696 <pythoncode>
2697 #---------------------------------------------------------------------------
2698 </pythoncode>
2699 <class name="ShowEvent" oldname="wxShowEvent" module="_core">
2700 <baseclass name="Event"/>
2701 <constructor name="ShowEvent" overloaded="no">
2702 <autodoc>__init__(self, int winid=0, bool show=False) -&gt; ShowEvent</autodoc>
2703 <paramlist>
2704 <param name="winid" type="int" default="0"/>
2705 <param name="show" type="bool" default="False"/>
2706 </paramlist>
2707 </constructor>
2708 <method name="SetShow" type="" overloaded="no">
2709 <autodoc>SetShow(self, bool show)</autodoc>
2710 <paramlist>
2711 <param name="show" type="bool" default=""/>
2712 </paramlist>
2713 </method>
2714 <method name="GetShow" type="bool" overloaded="no">
2715 <autodoc>GetShow(self) -&gt; bool</autodoc>
2716 </method>
2717 </class>
2718 <pythoncode>
2719 #---------------------------------------------------------------------------
2720 </pythoncode>
2721 <class name="IconizeEvent" oldname="wxIconizeEvent" module="_core">
2722 <baseclass name="Event"/>
2723 <constructor name="IconizeEvent" overloaded="no">
2724 <autodoc>__init__(self, int id=0, bool iconized=True) -&gt; IconizeEvent</autodoc>
2725 <paramlist>
2726 <param name="id" type="int" default="0"/>
2727 <param name="iconized" type="bool" default="True"/>
2728 </paramlist>
2729 </constructor>
2730 <method name="Iconized" type="bool" overloaded="no">
2731 <autodoc>Iconized(self) -&gt; bool</autodoc>
2732 </method>
2733 </class>
2734 <pythoncode>
2735 #---------------------------------------------------------------------------
2736 </pythoncode>
2737 <class name="MaximizeEvent" oldname="wxMaximizeEvent" module="_core">
2738 <baseclass name="Event"/>
2739 <constructor name="MaximizeEvent" overloaded="no">
2740 <autodoc>__init__(self, int id=0) -&gt; MaximizeEvent</autodoc>
2741 <paramlist>
2742 <param name="id" type="int" default="0"/>
2743 </paramlist>
2744 </constructor>
2745 </class>
2746 <pythoncode>
2747 #---------------------------------------------------------------------------
2748 </pythoncode>
2749 <class name="DropFilesEvent" oldname="wxDropFilesEvent" module="_core">
2750 <baseclass name="Event"/>
2751 <method name="GetPosition" type="Point" overloaded="no">
2752 <autodoc>GetPosition(self) -&gt; Point</autodoc>
2753 </method>
2754 <method name="GetNumberOfFiles" type="int" overloaded="no">
2755 <autodoc>GetNumberOfFiles(self) -&gt; int</autodoc>
2756 </method>
2757 <method name="GetFiles" type="PyObject" overloaded="no">
2758 <autodoc>GetFiles(self) -&gt; PyObject</autodoc>
2759 </method>
2760 </class>
2761 <pythoncode>
2762 #---------------------------------------------------------------------------
2763 </pythoncode>
2764 <class name="UpdateUIEvent" oldname="wxUpdateUIEvent" module="_core">
2765 <baseclass name="CommandEvent"/>
2766 <constructor name="UpdateUIEvent" overloaded="no">
2767 <autodoc>__init__(self, int commandId=0) -&gt; UpdateUIEvent</autodoc>
2768 <paramlist>
2769 <param name="commandId" type="int" default="0"/>
2770 </paramlist>
2771 </constructor>
2772 <method name="GetChecked" type="bool" overloaded="no">
2773 <autodoc>GetChecked(self) -&gt; bool</autodoc>
2774 </method>
2775 <method name="GetEnabled" type="bool" overloaded="no">
2776 <autodoc>GetEnabled(self) -&gt; bool</autodoc>
2777 </method>
2778 <method name="GetText" type="String" overloaded="no">
2779 <autodoc>GetText(self) -&gt; String</autodoc>
2780 </method>
2781 <method name="GetSetText" type="bool" overloaded="no">
2782 <autodoc>GetSetText(self) -&gt; bool</autodoc>
2783 </method>
2784 <method name="GetSetChecked" type="bool" overloaded="no">
2785 <autodoc>GetSetChecked(self) -&gt; bool</autodoc>
2786 </method>
2787 <method name="GetSetEnabled" type="bool" overloaded="no">
2788 <autodoc>GetSetEnabled(self) -&gt; bool</autodoc>
2789 </method>
2790 <method name="Check" type="" overloaded="no">
2791 <autodoc>Check(self, bool check)</autodoc>
2792 <paramlist>
2793 <param name="check" type="bool" default=""/>
2794 </paramlist>
2795 </method>
2796 <method name="Enable" type="" overloaded="no">
2797 <autodoc>Enable(self, bool enable)</autodoc>
2798 <paramlist>
2799 <param name="enable" type="bool" default=""/>
2800 </paramlist>
2801 </method>
2802 <method name="SetText" type="" overloaded="no">
2803 <autodoc>SetText(self, String text)</autodoc>
2804 <paramlist>
2805 <param name="text" type="String" default=""/>
2806 </paramlist>
2807 </method>
2808 <staticmethod name="SetUpdateInterval" type="" overloaded="no">
2809 <autodoc>SetUpdateInterval(long updateInterval)</autodoc>
2810 <paramlist>
2811 <param name="updateInterval" type="long" default=""/>
2812 </paramlist>
2813 </staticmethod>
2814 <staticmethod name="GetUpdateInterval" type="long" overloaded="no">
2815 <autodoc>GetUpdateInterval() -&gt; long</autodoc>
2816 </staticmethod>
2817 <staticmethod name="CanUpdate" type="bool" overloaded="no">
2818 <autodoc>CanUpdate(Window win) -&gt; bool</autodoc>
2819 <paramlist>
2820 <param name="win" type="wxWindow" default=""/>
2821 </paramlist>
2822 </staticmethod>
2823 <staticmethod name="ResetUpdateTime" type="" overloaded="no">
2824 <autodoc>ResetUpdateTime()</autodoc>
2825 </staticmethod>
2826 <staticmethod name="SetMode" type="" overloaded="no">
2827 <autodoc>SetMode(int mode)</autodoc>
2828 <paramlist>
2829 <param name="mode" type="wxUpdateUIMode" default=""/>
2830 </paramlist>
2831 </staticmethod>
2832 <staticmethod name="GetMode" type="wxUpdateUIMode" overloaded="no">
2833 <autodoc>GetMode() -&gt; int</autodoc>
2834 </staticmethod>
2835 </class>
2836 <pythoncode>
2837 #---------------------------------------------------------------------------
2838 </pythoncode>
2839 <class name="SysColourChangedEvent" oldname="wxSysColourChangedEvent" module="_core">
2840 <baseclass name="Event"/>
2841 <constructor name="SysColourChangedEvent" overloaded="no">
2842 <autodoc>__init__(self) -&gt; SysColourChangedEvent</autodoc>
2843 </constructor>
2844 </class>
2845 <pythoncode>
2846 #---------------------------------------------------------------------------
2847 </pythoncode>
2848 <class name="MouseCaptureChangedEvent" oldname="wxMouseCaptureChangedEvent" module="_core">
2849 <baseclass name="Event"/>
2850 <constructor name="MouseCaptureChangedEvent" overloaded="no">
2851 <autodoc>__init__(self, int winid=0, Window gainedCapture=None) -&gt; MouseCaptureChangedEvent</autodoc>
2852 <paramlist>
2853 <param name="winid" type="int" default="0"/>
2854 <param name="gainedCapture" type="wxWindow" default="NULL"/>
2855 </paramlist>
2856 </constructor>
2857 <method name="GetCapturedWindow" type="wxWindow" overloaded="no">
2858 <autodoc>GetCapturedWindow(self) -&gt; Window</autodoc>
2859 </method>
2860 </class>
2861 <pythoncode>
2862 #---------------------------------------------------------------------------
2863 </pythoncode>
2864 <class name="DisplayChangedEvent" oldname="wxDisplayChangedEvent" module="_core">
2865 <baseclass name="Event"/>
2866 <constructor name="DisplayChangedEvent" overloaded="no">
2867 <autodoc>__init__(self) -&gt; DisplayChangedEvent</autodoc>
2868 </constructor>
2869 </class>
2870 <pythoncode>
2871 #---------------------------------------------------------------------------
2872 </pythoncode>
2873 <class name="PaletteChangedEvent" oldname="wxPaletteChangedEvent" module="_core">
2874 <baseclass name="Event"/>
2875 <constructor name="PaletteChangedEvent" overloaded="no">
2876 <autodoc>__init__(self, int id=0) -&gt; PaletteChangedEvent</autodoc>
2877 <paramlist>
2878 <param name="id" type="int" default="0"/>
2879 </paramlist>
2880 </constructor>
2881 <method name="SetChangedWindow" type="" overloaded="no">
2882 <autodoc>SetChangedWindow(self, Window win)</autodoc>
2883 <paramlist>
2884 <param name="win" type="wxWindow" default=""/>
2885 </paramlist>
2886 </method>
2887 <method name="GetChangedWindow" type="wxWindow" overloaded="no">
2888 <autodoc>GetChangedWindow(self) -&gt; Window</autodoc>
2889 </method>
2890 </class>
2891 <pythoncode>
2892 #---------------------------------------------------------------------------
2893 </pythoncode>
2894 <class name="QueryNewPaletteEvent" oldname="wxQueryNewPaletteEvent" module="_core">
2895 <baseclass name="Event"/>
2896 <constructor name="QueryNewPaletteEvent" overloaded="no">
2897 <autodoc>__init__(self, int winid=0) -&gt; QueryNewPaletteEvent</autodoc>
2898 <paramlist>
2899 <param name="winid" type="int" default="0"/>
2900 </paramlist>
2901 </constructor>
2902 <method name="SetPaletteRealized" type="" overloaded="no">
2903 <autodoc>SetPaletteRealized(self, bool realized)</autodoc>
2904 <paramlist>
2905 <param name="realized" type="bool" default=""/>
2906 </paramlist>
2907 </method>
2908 <method name="GetPaletteRealized" type="bool" overloaded="no">
2909 <autodoc>GetPaletteRealized(self) -&gt; bool</autodoc>
2910 </method>
2911 </class>
2912 <pythoncode>
2913 #---------------------------------------------------------------------------
2914 </pythoncode>
2915 <class name="NavigationKeyEvent" oldname="wxNavigationKeyEvent" module="_core">
2916 <baseclass name="Event"/>
2917 <constructor name="NavigationKeyEvent" overloaded="no">
2918 <autodoc>__init__(self) -&gt; NavigationKeyEvent</autodoc>
2919 </constructor>
2920 <method name="GetDirection" type="bool" overloaded="no">
2921 <autodoc>GetDirection(self) -&gt; bool</autodoc>
2922 </method>
2923 <method name="SetDirection" type="" overloaded="no">
2924 <autodoc>SetDirection(self, bool bForward)</autodoc>
2925 <paramlist>
2926 <param name="bForward" type="bool" default=""/>
2927 </paramlist>
2928 </method>
2929 <method name="IsWindowChange" type="bool" overloaded="no">
2930 <autodoc>IsWindowChange(self) -&gt; bool</autodoc>
2931 </method>
2932 <method name="SetWindowChange" type="" overloaded="no">
2933 <autodoc>SetWindowChange(self, bool bIs)</autodoc>
2934 <paramlist>
2935 <param name="bIs" type="bool" default=""/>
2936 </paramlist>
2937 </method>
2938 <method name="GetCurrentFocus" type="wxWindow" overloaded="no">
2939 <autodoc>GetCurrentFocus(self) -&gt; Window</autodoc>
2940 </method>
2941 <method name="SetCurrentFocus" type="" overloaded="no">
2942 <autodoc>SetCurrentFocus(self, Window win)</autodoc>
2943 <paramlist>
2944 <param name="win" type="wxWindow" default=""/>
2945 </paramlist>
2946 </method>
2947 </class>
2948 <pythoncode>
2949 #---------------------------------------------------------------------------
2950 </pythoncode>
2951 <class name="WindowCreateEvent" oldname="wxWindowCreateEvent" module="_core">
2952 <baseclass name="CommandEvent"/>
2953 <constructor name="WindowCreateEvent" overloaded="no">
2954 <autodoc>__init__(self, Window win=None) -&gt; WindowCreateEvent</autodoc>
2955 <paramlist>
2956 <param name="win" type="wxWindow" default="NULL"/>
2957 </paramlist>
2958 </constructor>
2959 <method name="GetWindow" type="wxWindow" overloaded="no">
2960 <autodoc>GetWindow(self) -&gt; Window</autodoc>
2961 </method>
2962 </class>
2963 <class name="WindowDestroyEvent" oldname="wxWindowDestroyEvent" module="_core">
2964 <baseclass name="CommandEvent"/>
2965 <constructor name="WindowDestroyEvent" overloaded="no">
2966 <autodoc>__init__(self, Window win=None) -&gt; WindowDestroyEvent</autodoc>
2967 <paramlist>
2968 <param name="win" type="wxWindow" default="NULL"/>
2969 </paramlist>
2970 </constructor>
2971 <method name="GetWindow" type="wxWindow" overloaded="no">
2972 <autodoc>GetWindow(self) -&gt; Window</autodoc>
2973 </method>
2974 </class>
2975 <pythoncode>
2976 #---------------------------------------------------------------------------
2977 </pythoncode>
2978 <class name="ContextMenuEvent" oldname="wxContextMenuEvent" module="_core">
2979 <baseclass name="CommandEvent"/>
2980 <constructor name="ContextMenuEvent" overloaded="no">
2981 <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -&gt; ContextMenuEvent</autodoc>
2982 <paramlist>
2983 <param name="type" type="wxEventType" default="wxEVT_NULL"/>
2984 <param name="winid" type="int" default="0"/>
2985 <param name="pt" type="Point" default="wxDefaultPosition"/>
2986 </paramlist>
2987 </constructor>
2988 <method name="GetPosition" type="Point" overloaded="no">
2989 <autodoc>GetPosition(self) -&gt; Point</autodoc>
2990 </method>
2991 <method name="SetPosition" type="" overloaded="no">
2992 <autodoc>SetPosition(self, Point pos)</autodoc>
2993 <paramlist>
2994 <param name="pos" type="Point" default=""/>
2995 </paramlist>
2996 </method>
2997 </class>
2998 <pythoncode>
2999 #---------------------------------------------------------------------------
3000 </pythoncode>
3001 <class name="IdleEvent" oldname="wxIdleEvent" module="_core">
3002 <baseclass name="Event"/>
3003 <constructor name="IdleEvent" overloaded="no">
3004 <autodoc>__init__(self) -&gt; IdleEvent</autodoc>
3005 </constructor>
3006 <method name="RequestMore" type="" overloaded="no">
3007 <autodoc>RequestMore(self, bool needMore=True)</autodoc>
3008 <paramlist>
3009 <param name="needMore" type="bool" default="True"/>
3010 </paramlist>
3011 </method>
3012 <method name="MoreRequested" type="bool" overloaded="no">
3013 <autodoc>MoreRequested(self) -&gt; bool</autodoc>
3014 </method>
3015 <staticmethod name="SetMode" type="" overloaded="no">
3016 <autodoc>SetMode(int mode)</autodoc>
3017 <paramlist>
3018 <param name="mode" type="wxIdleMode" default=""/>
3019 </paramlist>
3020 </staticmethod>
3021 <staticmethod name="GetMode" type="wxIdleMode" overloaded="no">
3022 <autodoc>GetMode() -&gt; int</autodoc>
3023 </staticmethod>
3024 <staticmethod name="CanSend" type="bool" overloaded="no">
3025 <autodoc>CanSend(Window win) -&gt; bool</autodoc>
3026 <paramlist>
3027 <param name="win" type="wxWindow" default=""/>
3028 </paramlist>
3029 </staticmethod>
3030 </class>
3031 <pythoncode>
3032 #---------------------------------------------------------------------------
3033 </pythoncode>
3034 <class name="PyEvent" oldname="wxPyEvent" module="_core">
3035 <baseclass name="Event"/>
3036 <constructor name="PyEvent" overloaded="no">
3037 <autodoc>__init__(self, int winid=0, wxEventType commandType=wxEVT_NULL) -&gt; PyEvent</autodoc>
3038 <paramlist>
3039 <param name="winid" type="int" default="0"/>
3040 <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
3041 </paramlist>
3042 </constructor>
3043 <destructor name="~wxPyEvent" overloaded="no">
3044 <autodoc>__del__(self)</autodoc>
3045 </destructor>
3046 <method name="SetSelf" type="" overloaded="no">
3047 <autodoc>SetSelf(self, PyObject self)</autodoc>
3048 <paramlist>
3049 <param name="self" type="PyObject" default=""/>
3050 </paramlist>
3051 </method>
3052 <method name="GetSelf" type="PyObject" overloaded="no">
3053 <autodoc>GetSelf(self) -&gt; PyObject</autodoc>
3054 </method>
3055 </class>
3056 <class name="PyCommandEvent" oldname="wxPyCommandEvent" module="_core">
3057 <baseclass name="CommandEvent"/>
3058 <constructor name="PyCommandEvent" overloaded="no">
3059 <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -&gt; PyCommandEvent</autodoc>
3060 <paramlist>
3061 <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
3062 <param name="id" type="int" default="0"/>
3063 </paramlist>
3064 </constructor>
3065 <destructor name="~wxPyCommandEvent" overloaded="no">
3066 <autodoc>__del__(self)</autodoc>
3067 </destructor>
3068 <method name="SetSelf" type="" overloaded="no">
3069 <autodoc>SetSelf(self, PyObject self)</autodoc>
3070 <paramlist>
3071 <param name="self" type="PyObject" default=""/>
3072 </paramlist>
3073 </method>
3074 <method name="GetSelf" type="PyObject" overloaded="no">
3075 <autodoc>GetSelf(self) -&gt; PyObject</autodoc>
3076 </method>
3077 </class>
3078 <pythoncode>
3079 #---------------------------------------------------------------------------
3080 </pythoncode>
3081 <class name="PyApp" oldname="wxPyApp" module="_core">
3082 <docstring>The ``wx.PyApp`` class is an *implementation detail*, please use the
3083 `wx.App` class (or some other derived class) instead.</docstring>
3084 <baseclass name="EvtHandler"/>
3085 <constructor name="PyApp" overloaded="no">
3086 <autodoc>__init__(self) -&gt; PyApp</autodoc>
3087 <docstring>Create a new application object, starting the bootstrap process.</docstring>
3088 </constructor>
3089 <destructor name="~wxPyApp" overloaded="no">
3090 <autodoc>__del__(self)</autodoc>
3091 </destructor>
3092 <method name="_setCallbackInfo" type="" overloaded="no">
3093 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
3094 <paramlist>
3095 <param name="self" type="PyObject" default=""/>
3096 <param name="_class" type="PyObject" default=""/>
3097 </paramlist>
3098 </method>
3099 <method name="GetAppName" type="String" overloaded="no">
3100 <autodoc>GetAppName(self) -&gt; String</autodoc>
3101 <docstring>Get the application name.</docstring>
3102 </method>
3103 <method name="SetAppName" type="" overloaded="no">
3104 <autodoc>SetAppName(self, String name)</autodoc>
3105 <docstring>Set the application name. This value may be used automatically by
3106 `wx.Config` and such.</docstring>
3107 <paramlist>
3108 <param name="name" type="String" default=""/>
3109 </paramlist>
3110 </method>
3111 <method name="GetClassName" type="String" overloaded="no">
3112 <autodoc>GetClassName(self) -&gt; String</autodoc>
3113 <docstring>Get the application's class name.</docstring>
3114 </method>
3115 <method name="SetClassName" type="" overloaded="no">
3116 <autodoc>SetClassName(self, String name)</autodoc>
3117 <docstring>Set the application's class name. This value may be used for
3118 X-resources if applicable for the platform</docstring>
3119 <paramlist>
3120 <param name="name" type="String" default=""/>
3121 </paramlist>
3122 </method>
3123 <method name="GetVendorName" type="String" overloaded="no">
3124 <autodoc>GetVendorName(self) -&gt; String</autodoc>
3125 <docstring>Get the application's vendor name.</docstring>
3126 </method>
3127 <method name="SetVendorName" type="" overloaded="no">
3128 <autodoc>SetVendorName(self, String name)</autodoc>
3129 <docstring>Set the application's vendor name. This value may be used
3130 automatically by `wx.Config` and such.</docstring>
3131 <paramlist>
3132 <param name="name" type="String" default=""/>
3133 </paramlist>
3134 </method>
3135 <method name="GetTraits" type="wxAppTraits" overloaded="no">
3136 <autodoc>GetTraits(self) -&gt; wxAppTraits</autodoc>
3137 <docstring>Return (and create if necessary) the app traits object to which we
3138 delegate for everything which either should be configurable by the
3139 user (then he can change the default behaviour simply by overriding
3140 CreateTraits() and returning his own traits object) or which is
3141 GUI/console dependent as then wx.AppTraits allows us to abstract the
3142 differences behind the common facade.
3143
3144 :todo: Add support for overriding CreateAppTraits in wxPython.</docstring>
3145 </method>
3146 <method name="ProcessPendingEvents" type="" overloaded="no">
3147 <autodoc>ProcessPendingEvents(self)</autodoc>
3148 <docstring>Process all events in the Pending Events list -- it is necessary to
3149 call this function to process posted events. This normally happens
3150 during each event loop iteration.</docstring>
3151 </method>
3152 <method name="Yield" type="bool" overloaded="no">
3153 <autodoc>Yield(self, bool onlyIfNeeded=False) -&gt; bool</autodoc>
3154 <docstring>Process all currently pending events right now, instead of waiting
3155 until return to the event loop. It is an error to call ``Yield``
3156 recursively unless the value of ``onlyIfNeeded`` is True.
3157
3158 :warning: This function is dangerous as it can lead to unexpected
3159 reentrancies (i.e. when called from an event handler it may
3160 result in calling the same event handler again), use with
3161 extreme care or, better, don't use at all!
3162
3163 :see: `wx.Yield`, `wx.YieldIfNeeded`, `wx.SafeYield`
3164 </docstring>
3165 <paramlist>
3166 <param name="onlyIfNeeded" type="bool" default="False"/>
3167 </paramlist>
3168 </method>
3169 <method name="WakeUpIdle" type="" overloaded="no">
3170 <autodoc>WakeUpIdle(self)</autodoc>
3171 <docstring>Make sure that idle events are sent again.
3172 :see: `wx.WakeUpIdle`</docstring>
3173 </method>
3174 <method name="MainLoop" type="int" overloaded="no">
3175 <autodoc>MainLoop(self) -&gt; int</autodoc>
3176 <docstring>Execute the main GUI loop, the function doesn't normally return until
3177 all top level windows have been closed and destroyed.</docstring>
3178 </method>
3179 <method name="Exit" type="" overloaded="no">
3180 <autodoc>Exit(self)</autodoc>
3181 <docstring>Exit the main loop thus terminating the application.
3182 :see: `wx.Exit`</docstring>
3183 </method>
3184 <method name="ExitMainLoop" type="" overloaded="no">
3185 <autodoc>ExitMainLoop(self)</autodoc>
3186 <docstring>Exit the main GUI loop during the next iteration of the main
3187 loop, (i.e. it does not stop the program immediately!)</docstring>
3188 </method>
3189 <method name="Pending" type="bool" overloaded="no">
3190 <autodoc>Pending(self) -&gt; bool</autodoc>
3191 <docstring>Returns True if there are unprocessed events in the event queue.</docstring>
3192 </method>
3193 <method name="Dispatch" type="bool" overloaded="no">
3194 <autodoc>Dispatch(self) -&gt; bool</autodoc>
3195 <docstring>Process the first event in the event queue (blocks until an event
3196 appears if there are none currently)</docstring>
3197 </method>
3198 <method name="ProcessIdle" type="bool" overloaded="no">
3199 <autodoc>ProcessIdle(self) -&gt; bool</autodoc>
3200 <docstring>Called from the MainLoop when the application becomes idle (there are
3201 no pending events) and sends a `wx.IdleEvent` to all interested
3202 parties. Returns True if more idle events are needed, False if not.</docstring>
3203 </method>
3204 <method name="SendIdleEvents" type="bool" overloaded="no">
3205 <autodoc>SendIdleEvents(self, Window win, IdleEvent event) -&gt; bool</autodoc>
3206 <docstring>Send idle event to window and all subwindows. Returns True if more
3207 idle time is requested.</docstring>
3208 <paramlist>
3209 <param name="win" type="wxWindow" default=""/>
3210 <param name="event" type="IdleEvent" default=""/>
3211 </paramlist>
3212 </method>
3213 <method name="IsActive" type="bool" overloaded="no">
3214 <autodoc>IsActive(self) -&gt; bool</autodoc>
3215 <docstring>Return True if our app has focus.</docstring>
3216 </method>
3217 <method name="SetTopWindow" type="" overloaded="no">
3218 <autodoc>SetTopWindow(self, Window win)</autodoc>
3219 <docstring>Set the *main* top level window</docstring>
3220 <paramlist>
3221 <param name="win" type="wxWindow" default=""/>
3222 </paramlist>
3223 </method>
3224 <method name="GetTopWindow" type="wxWindow" overloaded="no">
3225 <autodoc>GetTopWindow(self) -&gt; Window</autodoc>
3226 <docstring>Return the *main* top level window (if it hadn't been set previously
3227 with SetTopWindow(), will return just some top level window and, if
3228 there not any, will return None)</docstring>
3229 </method>
3230 <method name="SetExitOnFrameDelete" type="" overloaded="no">
3231 <autodoc>SetExitOnFrameDelete(self, bool flag)</autodoc>
3232 <docstring>Control the exit behaviour: by default, the program will exit the main
3233 loop (and so, usually, terminate) when the last top-level program
3234 window is deleted. Beware that if you disable this behaviour (with
3235 SetExitOnFrameDelete(False)), you'll have to call ExitMainLoop()
3236 explicitly from somewhere.</docstring>
3237 <paramlist>
3238 <param name="flag" type="bool" default=""/>
3239 </paramlist>
3240 </method>
3241 <method name="GetExitOnFrameDelete" type="bool" overloaded="no">
3242 <autodoc>GetExitOnFrameDelete(self) -&gt; bool</autodoc>
3243 <docstring>Get the current exit behaviour setting.</docstring>
3244 </method>
3245 <method name="SetUseBestVisual" type="" overloaded="no">
3246 <autodoc>SetUseBestVisual(self, bool flag)</autodoc>
3247 <docstring>Set whether the app should try to use the best available visual on
3248 systems where more than one is available, (Sun, SGI, XFree86 4, etc.)</docstring>
3249 <paramlist>
3250 <param name="flag" type="bool" default=""/>
3251 </paramlist>
3252 </method>
3253 <method name="GetUseBestVisual" type="bool" overloaded="no">
3254 <autodoc>GetUseBestVisual(self) -&gt; bool</autodoc>
3255 <docstring>Get current UseBestVisual setting.</docstring>
3256 </method>
3257 <method name="SetPrintMode" type="" overloaded="no">
3258 <autodoc>SetPrintMode(self, int mode)</autodoc>
3259 <paramlist>
3260 <param name="mode" type="int" default=""/>
3261 </paramlist>
3262 </method>
3263 <method name="GetPrintMode" type="int" overloaded="no">
3264 <autodoc>GetPrintMode(self) -&gt; int</autodoc>
3265 </method>
3266 <method name="SetAssertMode" type="" overloaded="no">
3267 <autodoc>SetAssertMode(self, int mode)</autodoc>
3268 <docstring>Set the OnAssert behaviour for debug and hybrid builds.</docstring>
3269 <paramlist>
3270 <param name="mode" type="int" default=""/>
3271 </paramlist>
3272 </method>
3273 <method name="GetAssertMode" type="int" overloaded="no">
3274 <autodoc>GetAssertMode(self) -&gt; int</autodoc>
3275 <docstring>Get the current OnAssert behaviour setting.</docstring>
3276 </method>
3277 <staticmethod name="GetMacSupportPCMenuShortcuts" type="bool" overloaded="no">
3278 <autodoc>GetMacSupportPCMenuShortcuts() -&gt; bool</autodoc>
3279 </staticmethod>
3280 <staticmethod name="GetMacAboutMenuItemId" type="long" overloaded="no">
3281 <autodoc>GetMacAboutMenuItemId() -&gt; long</autodoc>
3282 </staticmethod>
3283 <staticmethod name="GetMacPreferencesMenuItemId" type="long" overloaded="no">
3284 <autodoc>GetMacPreferencesMenuItemId() -&gt; long</autodoc>
3285 </staticmethod>
3286 <staticmethod name="GetMacExitMenuItemId" type="long" overloaded="no">
3287 <autodoc>GetMacExitMenuItemId() -&gt; long</autodoc>
3288 </staticmethod>
3289 <staticmethod name="GetMacHelpMenuTitleName" type="String" overloaded="no">
3290 <autodoc>GetMacHelpMenuTitleName() -&gt; String</autodoc>
3291 </staticmethod>
3292 <staticmethod name="SetMacSupportPCMenuShortcuts" type="" overloaded="no">
3293 <autodoc>SetMacSupportPCMenuShortcuts(bool val)</autodoc>
3294 <paramlist>
3295 <param name="val" type="bool" default=""/>
3296 </paramlist>
3297 </staticmethod>
3298 <staticmethod name="SetMacAboutMenuItemId" type="" overloaded="no">
3299 <autodoc>SetMacAboutMenuItemId(long val)</autodoc>
3300 <paramlist>
3301 <param name="val" type="long" default=""/>
3302 </paramlist>
3303 </staticmethod>
3304 <staticmethod name="SetMacPreferencesMenuItemId" type="" overloaded="no">
3305 <autodoc>SetMacPreferencesMenuItemId(long val)</autodoc>
3306 <paramlist>
3307 <param name="val" type="long" default=""/>
3308 </paramlist>
3309 </staticmethod>
3310 <staticmethod name="SetMacExitMenuItemId" type="" overloaded="no">
3311 <autodoc>SetMacExitMenuItemId(long val)</autodoc>
3312 <paramlist>
3313 <param name="val" type="long" default=""/>
3314 </paramlist>
3315 </staticmethod>
3316 <staticmethod name="SetMacHelpMenuTitleName" type="" overloaded="no">
3317 <autodoc>SetMacHelpMenuTitleName(String val)</autodoc>
3318 <paramlist>
3319 <param name="val" type="String" default=""/>
3320 </paramlist>
3321 </staticmethod>
3322 <method name="_BootstrapApp" type="" overloaded="no">
3323 <autodoc>_BootstrapApp(self)</autodoc>
3324 <docstring>For internal use only</docstring>
3325 </method>
3326 <staticmethod name="GetComCtl32Version" type="int" overloaded="no">
3327 <autodoc>GetComCtl32Version() -&gt; int</autodoc>
3328 <docstring>Returns 400, 470, 471, etc. for comctl32.dll 4.00, 4.70, 4.71 or 0 if
3329 it wasn't found at all. Raises an exception on non-Windows platforms.</docstring>
3330 </staticmethod>
3331 </class>
3332 <pythoncode>
3333 #---------------------------------------------------------------------------
3334 </pythoncode>
3335 <method name="Exit" oldname="wxExit" type="" overloaded="no">
3336 <autodoc>Exit()</autodoc>
3337 <docstring>Force an exit of the application. Convenience for wx.GetApp().Exit()</docstring>
3338 </method>
3339 <method name="Yield" oldname="wxYield" type="bool" overloaded="no">
3340 <autodoc>Yield() -&gt; bool</autodoc>
3341 <docstring>Yield to other apps/messages. Convenience for wx.GetApp().Yield()</docstring>
3342 </method>
3343 <method name="YieldIfNeeded" oldname="wxYieldIfNeeded" type="bool" overloaded="no">
3344 <autodoc>YieldIfNeeded() -&gt; bool</autodoc>
3345 <docstring>Yield to other apps/messages. Convenience for wx.GetApp().Yield(True)</docstring>
3346 </method>
3347 <method name="SafeYield" oldname="wxSafeYield" type="bool" overloaded="no">
3348 <autodoc>SafeYield(Window win=None, bool onlyIfNeeded=False) -&gt; bool</autodoc>
3349 <docstring>This function is similar to `wx.Yield`, except that it disables the
3350 user input to all program windows before calling `wx.Yield` and
3351 re-enables it again afterwards. If ``win`` is not None, this window
3352 will remain enabled, allowing the implementation of some limited user
3353 interaction.
3354
3355 :Returns: the result of the call to `wx.Yield`.</docstring>
3356 <paramlist>
3357 <param name="win" type="wxWindow" default="NULL"/>
3358 <param name="onlyIfNeeded" type="bool" default="False"/>
3359 </paramlist>
3360 </method>
3361 <method name="WakeUpIdle" oldname="wxWakeUpIdle" type="" overloaded="no">
3362 <autodoc>WakeUpIdle()</autodoc>
3363 <docstring>Cause the message queue to become empty again, so idle events will be
3364 sent.</docstring>
3365 </method>
3366 <method name="PostEvent" oldname="wxPostEvent" type="" overloaded="no">
3367 <autodoc>PostEvent(EvtHandler dest, Event event)</autodoc>
3368 <docstring>Send an event to a window or other wx.EvtHandler to be processed
3369 later.</docstring>
3370 <paramlist>
3371 <param name="dest" type="EvtHandler" default=""/>
3372 <param name="event" type="Event" default=""/>
3373 </paramlist>
3374 </method>
3375 <method name="App_CleanUp" oldname="wxApp_CleanUp" type="" overloaded="no">
3376 <autodoc>App_CleanUp()</autodoc>
3377 <docstring>For internal use only, it is used to cleanup after wxWidgets when
3378 Python shuts down.</docstring>
3379 </method>
3380 <method name="GetApp" oldname="wxPyGetApp" type="PyApp" overloaded="no">
3381 <autodoc>GetApp() -&gt; PyApp</autodoc>
3382 <docstring>Return a reference to the current wx.App object.</docstring>
3383 </method>
3384 <pythoncode>
3385 #----------------------------------------------------------------------
3386
3387 class PyOnDemandOutputWindow:
3388 """
3389 A class that can be used for redirecting Python's stdout and
3390 stderr streams. It will do nothing until something is wrriten to
3391 the stream at which point it will create a Frame with a text area
3392 and write the text there.
3393 """
3394 def __init__(self, title = "wxPython: stdout/stderr"):
3395 self.frame = None
3396 self.title = title
3397 self.parent = None
3398
3399 def SetParent(self, parent):
3400 """Set the window to be used as the popup Frame's parent."""
3401 self.parent = parent
3402
3403
3404 def CreateOutputWindow(self, st):
3405 self.frame = wx.Frame(self.parent, -1, self.title,
3406 style=wx.DEFAULT_FRAME_STYLE | wx.NO_FULL_REPAINT_ON_RESIZE)
3407 self.text = wx.TextCtrl(self.frame, -1, "",
3408 style = wx.TE_MULTILINE | wx.TE_READONLY)
3409 self.text.AppendText(st)
3410 self.frame.SetSize((450, 300))
3411 self.frame.Show(True)
3412 EVT_CLOSE(self.frame, self.OnCloseWindow)
3413
3414
3415 def OnCloseWindow(self, event):
3416 if self.frame is not None:
3417 self.frame.Destroy()
3418 self.frame = None
3419 self.text = None
3420
3421
3422 # These methods provide the file-like output behaviour.
3423 def write(self, text):
3424 """
3425 Create the output window if needed and write the string to it.
3426 If not called in the context of the gui thread then uses
3427 CallAfter to do the work there.
3428 """
3429 if self.frame is None:
3430 if not wx.Thread_IsMain():
3431 wx.CallAfter(self.CreateOutputWindow, text)
3432 else:
3433 self.CreateOutputWindow(text)
3434 else:
3435 if not wx.Thread_IsMain():
3436 wx.CallAfter(self.text.AppendText, text)
3437 else:
3438 self.text.AppendText(text)
3439
3440
3441 def close(self):
3442 if self.frame is not None:
3443 wx.CallAfter(self.frame.Close)
3444
3445
3446
3447 #----------------------------------------------------------------------
3448
3449 _defRedirect = (wx.Platform == '__WXMSW__' or wx.Platform == '__WXMAC__')
3450
3451 class App(wx.PyApp):
3452 """
3453 The ``wx.App`` class represents the application and is used to:
3454
3455 * bootstrap the wxPython system and initialize the underlying
3456 gui toolkit
3457 * set and get application-wide properties
3458 * implement the windowing system main message or event loop,
3459 and to dispatch events to window instances
3460 * etc.
3461
3462 Every application must have a ``wx.App`` instance, and all
3463 creation of UI objects should be delayed until after the
3464 ``wx.App`` object has been created in order to ensure that the gui
3465 platform and wxWidgets have been fully initialized.
3466
3467 Normally you would derive from this class and implement an
3468 ``OnInit`` method that creates a frame and then calls
3469 ``self.SetTopWindow(frame)``.
3470
3471 :see: `wx.PySimpleApp` for a simpler app class that can be used
3472 directly.
3473 """
3474
3475 outputWindowClass = PyOnDemandOutputWindow
3476
3477 def __init__(self, redirect=_defRedirect, filename=None,
3478 useBestVisual=False, clearSigInt=True):
3479 """
3480 Construct a ``wx.App`` object.
3481
3482 :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be
3483 redirected? Defaults to True on Windows and Mac, False
3484 otherwise. If `filename` is None then output will be
3485 redirected to a window that pops up as needed. (You can
3486 control what kind of window is created for the output by
3487 resetting the class variable ``outputWindowClass`` to a
3488 class of your choosing.)
3489
3490 :param filename: The name of a file to redirect output to, if
3491 redirect is True.
3492
3493 :param useBestVisual: Should the app try to use the best
3494 available visual provided by the system (only relevant on
3495 systems that have more than one visual.) This parameter
3496 must be used instead of calling `SetUseBestVisual` later
3497 on because it must be set before the underlying GUI
3498 toolkit is initialized.
3499
3500 :param clearSigInt: Should SIGINT be cleared? This allows the
3501 app to terminate upon a Ctrl-C in the console like other
3502 GUI apps will.
3503
3504 :note: You should override OnInit to do applicaition
3505 initialization to ensure that the system, toolkit and
3506 wxWidgets are fully initialized.
3507 """
3508 wx.PyApp.__init__(self)
3509
3510 if wx.Platform == "__WXMAC__":
3511 try:
3512 import MacOS
3513 if not MacOS.WMAvailable():
3514 print """\\
3515 This program needs access to the screen. Please run with 'pythonw',
3516 not 'python', and only when you are logged in on the main display of
3517 your Mac."""
3518 _sys.exit(1)
3519 except SystemExit:
3520 raise
3521 except:
3522 pass
3523
3524 # This has to be done before OnInit
3525 self.SetUseBestVisual(useBestVisual)
3526
3527 # Set the default handler for SIGINT. This fixes a problem
3528 # where if Ctrl-C is pressed in the console that started this
3529 # app then it will not appear to do anything, (not even send
3530 # KeyboardInterrupt???) but will later segfault on exit. By
3531 # setting the default handler then the app will exit, as
3532 # expected (depending on platform.)
3533 if clearSigInt:
3534 try:
3535 import signal
3536 signal.signal(signal.SIGINT, signal.SIG_DFL)
3537 except:
3538 pass
3539
3540 # Save and redirect the stdio to a window?
3541 self.stdioWin = None
3542 self.saveStdio = (_sys.stdout, _sys.stderr)
3543 if redirect:
3544 self.RedirectStdio(filename)
3545
3546 # This finishes the initialization of wxWindows and then calls
3547 # the OnInit that should be present in the derived class
3548 self._BootstrapApp()
3549
3550
3551 def __del__(self):
3552 try:
3553 self.RestoreStdio() # Just in case the MainLoop was overridden
3554 except:
3555 pass
3556
3557
3558 def SetTopWindow(self, frame):
3559 """Set the \\"main\\" top level window"""
3560 if self.stdioWin:
3561 self.stdioWin.SetParent(frame)
3562 wx.PyApp.SetTopWindow(self, frame)
3563
3564
3565 def MainLoop(self):
3566 """Execute the main GUI event loop"""
3567 wx.PyApp.MainLoop(self)
3568 self.RestoreStdio()
3569
3570
3571 def RedirectStdio(self, filename=None):
3572 """Redirect sys.stdout and sys.stderr to a file or a popup window."""
3573 if filename:
3574 _sys.stdout = _sys.stderr = open(filename, 'a')
3575 else:
3576 self.stdioWin = self.outputWindowClass()
3577 _sys.stdout = _sys.stderr = self.stdioWin
3578
3579
3580 def RestoreStdio(self):
3581 _sys.stdout, _sys.stderr = self.saveStdio
3582
3583
3584
3585 # change from wx.PyApp_XX to wx.App_XX
3586 App_GetMacSupportPCMenuShortcuts = _core_.PyApp_GetMacSupportPCMenuShortcuts
3587 App_GetMacAboutMenuItemId = _core_.PyApp_GetMacAboutMenuItemId
3588 App_GetMacPreferencesMenuItemId = _core_.PyApp_GetMacPreferencesMenuItemId
3589 App_GetMacExitMenuItemId = _core_.PyApp_GetMacExitMenuItemId
3590 App_GetMacHelpMenuTitleName = _core_.PyApp_GetMacHelpMenuTitleName
3591 App_SetMacSupportPCMenuShortcuts = _core_.PyApp_SetMacSupportPCMenuShortcuts
3592 App_SetMacAboutMenuItemId = _core_.PyApp_SetMacAboutMenuItemId
3593 App_SetMacPreferencesMenuItemId = _core_.PyApp_SetMacPreferencesMenuItemId
3594 App_SetMacExitMenuItemId = _core_.PyApp_SetMacExitMenuItemId
3595 App_SetMacHelpMenuTitleName = _core_.PyApp_SetMacHelpMenuTitleName
3596 App_GetComCtl32Version = _core_.PyApp_GetComCtl32Version
3597
3598 #----------------------------------------------------------------------------
3599
3600 class PySimpleApp(wx.App):
3601 """
3602 A simple application class. You can just create one of these and
3603 then then make your top level windows later, and not have to worry
3604 about OnInit. For example::
3605
3606 app = wx.PySimpleApp()
3607 frame = wx.Frame(None, title='Hello World')
3608 frame.Show()
3609 app.MainLoop()
3610
3611 :see: `wx.App`
3612 """
3613
3614 def __init__(self, redirect=False, filename=None,
3615 useBestVisual=False, clearSigInt=True):
3616 """
3617 :see: `wx.App.__init__`
3618 """
3619 wx.App.__init__(self, redirect, filename, useBestVisual, clearSigInt)
3620
3621 def OnInit(self):
3622 return True
3623
3624
3625
3626 # Is anybody using this one?
3627 class PyWidgetTester(wx.App):
3628 def __init__(self, size = (250, 100)):
3629 self.size = size
3630 wx.App.__init__(self, 0)
3631
3632 def OnInit(self):
3633 self.frame = wx.Frame(None, -1, "Widget Tester", pos=(0,0), size=self.size)
3634 self.SetTopWindow(self.frame)
3635 return True
3636
3637 def SetWidget(self, widgetClass, *args, **kwargs):
3638 w = widgetClass(self.frame, *args, **kwargs)
3639 self.frame.Show(True)
3640
3641 #----------------------------------------------------------------------------
3642 # DO NOT hold any other references to this object. This is how we
3643 # know when to cleanup system resources that wxWidgets is holding. When
3644 # the sys module is unloaded, the refcount on sys.__wxPythonCleanup
3645 # goes to zero and it calls the wx.App_CleanUp function.
3646
3647 class __wxPyCleanup:
3648 def __init__(self):
3649 self.cleanup = _core_.App_CleanUp
3650 def __del__(self):
3651 self.cleanup()
3652
3653 _sys.__wxPythonCleanup = __wxPyCleanup()
3654
3655 ## # another possible solution, but it gets called too early...
3656 ## import atexit
3657 ## atexit.register(_core_.wxApp_CleanUp)
3658
3659
3660 #----------------------------------------------------------------------------
3661 </pythoncode>
3662 <pythoncode>
3663 #---------------------------------------------------------------------------
3664 </pythoncode>
3665 <class name="AcceleratorEntry" oldname="wxAcceleratorEntry" module="_core">
3666 <docstring>A class used to define items in an `wx.AcceleratorTable`. wxPython
3667 programs can choose to use wx.AcceleratorEntry objects, but using a
3668 list of 3-tuple of integers (flags, keyCode, cmdID) usually works just
3669 as well. See `__init__` for of the tuple values.
3670
3671 :see: `wx.AcceleratorTable`</docstring>
3672 <constructor name="AcceleratorEntry" overloaded="no">
3673 <autodoc>__init__(self, int flags=0, int keyCode=0, int cmdID=0) -&gt; AcceleratorEntry</autodoc>
3674 <docstring>Construct a wx.AcceleratorEntry.</docstring>
3675 <paramlist>
3676 <param name="flags" type="int" default="0"/>
3677 <param name="keyCode" type="int" default="0"/>
3678 <param name="cmdID" type="int" default="0"/>
3679 </paramlist>
3680 </constructor>
3681 <destructor name="~wxAcceleratorEntry" overloaded="no">
3682 <autodoc>__del__(self)</autodoc>
3683 </destructor>
3684 <method name="Set" type="" overloaded="no">
3685 <autodoc>Set(self, int flags, int keyCode, int cmd)</autodoc>
3686 <docstring>(Re)set the attributes of a wx.AcceleratorEntry.
3687 :see `__init__`</docstring>
3688 <paramlist>
3689 <param name="flags" type="int" default=""/>
3690 <param name="keyCode" type="int" default=""/>
3691 <param name="cmd" type="int" default=""/>
3692 </paramlist>
3693 </method>
3694 <method name="GetFlags" type="int" overloaded="no">
3695 <autodoc>GetFlags(self) -&gt; int</autodoc>
3696 <docstring>Get the AcceleratorEntry's flags.</docstring>
3697 </method>
3698 <method name="GetKeyCode" type="int" overloaded="no">
3699 <autodoc>GetKeyCode(self) -&gt; int</autodoc>
3700 <docstring>Get the AcceleratorEntry's keycode.</docstring>
3701 </method>
3702 <method name="GetCommand" type="int" overloaded="no">
3703 <autodoc>GetCommand(self) -&gt; int</autodoc>
3704 <docstring>Get the AcceleratorEntry's command ID.</docstring>
3705 </method>
3706 </class>
3707 <class name="AcceleratorTable" oldname="wxAcceleratorTable" module="_core">
3708 <docstring>An accelerator table allows the application to specify a table of
3709 keyboard shortcuts for menus or other commands. On Windows, menu or
3710 button commands are supported; on GTK, only menu commands are
3711 supported.</docstring>
3712 <baseclass name="Object"/>
3713 <constructor name="AcceleratorTable" overloaded="no">
3714 <autodoc>__init__(entries) -&gt; AcceleratorTable</autodoc>
3715 <docstring>Construct an AcceleratorTable from a list of `wx.AcceleratorEntry`
3716 items or or of 3-tuples (flags, keyCode, cmdID)
3717
3718 :see: `wx.AcceleratorEntry`</docstring>
3719 <paramlist>
3720 <param name="n" type="int" default=""/>
3721 <param name="entries" type="AcceleratorEntry" default=""/>
3722 </paramlist>
3723 </constructor>
3724 <destructor name="~wxAcceleratorTable" overloaded="no">
3725 <autodoc>__del__(self)</autodoc>
3726 </destructor>
3727 <method name="Ok" type="bool" overloaded="no">
3728 <autodoc>Ok(self) -&gt; bool</autodoc>
3729 </method>
3730 </class>
3731 <method name="GetAccelFromString" oldname="wxGetAccelFromString" type="AcceleratorEntry" overloaded="no">
3732 <autodoc>GetAccelFromString(String label) -&gt; AcceleratorEntry</autodoc>
3733 <paramlist>
3734 <param name="label" type="String" default=""/>
3735 </paramlist>
3736 </method>
3737 <pythoncode>
3738 #---------------------------------------------------------------------------
3739 </pythoncode>
3740 <class name="VisualAttributes" oldname="wxVisualAttributes" module="_core">
3741 <docstring>struct containing all the visual attributes of a control</docstring>
3742 <constructor name="VisualAttributes" overloaded="no">
3743 <autodoc>__init__(self) -&gt; VisualAttributes</autodoc>
3744 <docstring>struct containing all the visual attributes of a control</docstring>
3745 </constructor>
3746 <destructor name="~wxVisualAttributes" overloaded="no">
3747 <autodoc>__del__(self)</autodoc>
3748 </destructor>
3749 <property name="font" type="wxFont" readonly="no"/>
3750 <property name="colFg" type="wxColour" readonly="no"/>
3751 <property name="colBg" type="wxColour" readonly="no"/>
3752 </class>
3753 <class name="Window" oldname="wxWindow" module="_core">
3754 <docstring>wx.Window is the base class for all windows and represents any visible
3755 object on the screen. All controls, top level windows and so on are
3756 wx.Windows. Sizers and device contexts are not however, as they don't
3757 appear on screen themselves.
3758 </docstring>
3759 <baseclass name="EvtHandler"/>
3760 <constructor name="Window" overloaded="no">
3761 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3762 Size size=DefaultSize, long style=0, String name=PanelNameStr) -&gt; Window</autodoc>
3763 <docstring>Construct and show a generic Window.</docstring>
3764 <paramlist>
3765 <param name="parent" type="Window" default=""/>
3766 <param name="id" type="int" default="-1"/>
3767 <param name="pos" type="Point" default="wxDefaultPosition"/>
3768 <param name="size" type="Size" default="wxDefaultSize"/>
3769 <param name="style" type="long" default="0"/>
3770 <param name="name" type="String" default="wxPyPanelNameStr"/>
3771 </paramlist>
3772 </constructor>
3773 <constructor name="PreWindow" overloaded="no">
3774 <autodoc>PreWindow() -&gt; Window</autodoc>
3775 <docstring>Precreate a Window for 2-phase creation.</docstring>
3776 </constructor>
3777 <method name="Create" type="bool" overloaded="no">
3778 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
3779 Size size=DefaultSize, long style=0, String name=PanelNameStr) -&gt; bool</autodoc>
3780 <docstring>Create the GUI part of the Window for 2-phase creation mode.</docstring>
3781 <paramlist>
3782 <param name="parent" type="Window" default=""/>
3783 <param name="id" type="int" default="-1"/>
3784 <param name="pos" type="Point" default="wxDefaultPosition"/>
3785 <param name="size" type="Size" default="wxDefaultSize"/>
3786 <param name="style" type="long" default="0"/>
3787 <param name="name" type="String" default="wxPyPanelNameStr"/>
3788 </paramlist>
3789 </method>
3790 <method name="Close" type="bool" overloaded="no">
3791 <autodoc>Close(self, bool force=False) -&gt; bool</autodoc>
3792 <docstring>This function simply generates a EVT_CLOSE event whose handler usually
3793 tries to close the window. It doesn't close the window itself,
3794 however. If force is False (the default) then the window's close
3795 handler will be allowed to veto the destruction of the window.</docstring>
3796 <paramlist>
3797 <param name="force" type="bool" default="False"/>
3798 </paramlist>
3799 </method>
3800 <method name="Destroy" type="bool" overloaded="no">
3801 <autodoc>Destroy(self) -&gt; bool</autodoc>
3802 <docstring>Destroys the window safely. Frames and dialogs are not destroyed
3803 immediately when this function is called -- they are added to a list
3804 of windows to be deleted on idle time, when all the window's events
3805 have been processed. This prevents problems with events being sent to
3806 non-existent windows.
3807
3808 Returns True if the window has either been successfully deleted, or it
3809 has been added to the list of windows pending real deletion.</docstring>
3810 </method>
3811 <method name="DestroyChildren" type="bool" overloaded="no">
3812 <autodoc>DestroyChildren(self) -&gt; bool</autodoc>
3813 <docstring>Destroys all children of a window. Called automatically by the
3814 destructor.</docstring>
3815 </method>
3816 <method name="IsBeingDeleted" type="bool" overloaded="no">
3817 <autodoc>IsBeingDeleted(self) -&gt; bool</autodoc>
3818 <docstring>Is the window in the process of being deleted?</docstring>
3819 </method>
3820 <method name="SetTitle" type="" overloaded="no">
3821 <autodoc>SetTitle(self, String title)</autodoc>
3822 <docstring>Sets the window's title. Applicable only to frames and dialogs.</docstring>
3823 <paramlist>
3824 <param name="title" type="String" default=""/>
3825 </paramlist>
3826 </method>
3827 <method name="GetTitle" type="String" overloaded="no">
3828 <autodoc>GetTitle(self) -&gt; String</autodoc>
3829 <docstring>Gets the window's title. Applicable only to frames and dialogs.</docstring>
3830 </method>
3831 <method name="SetLabel" type="" overloaded="no">
3832 <autodoc>SetLabel(self, String label)</autodoc>
3833 <docstring>Set the text which the window shows in its label if applicable.</docstring>
3834 <paramlist>
3835 <param name="label" type="String" default=""/>
3836 </paramlist>
3837 </method>
3838 <method name="GetLabel" type="String" overloaded="no">
3839 <autodoc>GetLabel(self) -&gt; String</autodoc>
3840 <docstring>Generic way of getting a label from any window, for identification
3841 purposes. The interpretation of this function differs from class to
3842 class. For frames and dialogs, the value returned is the title. For
3843 buttons or static text controls, it is the button text. This function
3844 can be useful for meta-programs such as testing tools or special-needs
3845 access programs)which need to identify windows by name.</docstring>
3846 </method>
3847 <method name="SetName" type="" overloaded="no">
3848 <autodoc>SetName(self, String name)</autodoc>
3849 <docstring>Sets the window's name. The window name is used for ressource setting
3850 in X, it is not the same as the window title/label</docstring>
3851 <paramlist>
3852 <param name="name" type="String" default=""/>
3853 </paramlist>
3854 </method>
3855 <method name="GetName" type="String" overloaded="no">
3856 <autodoc>GetName(self) -&gt; String</autodoc>
3857 <docstring>Returns the windows name. This name is not guaranteed to be unique;
3858 it is up to the programmer to supply an appropriate name in the window
3859 constructor or via wx.Window.SetName.</docstring>
3860 </method>
3861 <method name="SetWindowVariant" type="" overloaded="no">
3862 <autodoc>SetWindowVariant(self, int variant)</autodoc>
3863 <docstring>Sets the variant of the window/font size to use for this window, if
3864 the platform supports variants, for example, wxMac.</docstring>
3865 <paramlist>
3866 <param name="variant" type="wxWindowVariant" default=""/>
3867 </paramlist>
3868 </method>
3869 <method name="GetWindowVariant" type="wxWindowVariant" overloaded="no">
3870 <autodoc>GetWindowVariant(self) -&gt; int</autodoc>
3871 </method>
3872 <method name="SetId" type="" overloaded="no">
3873 <autodoc>SetId(self, int winid)</autodoc>
3874 <docstring>Sets the identifier of the window. Each window has an integer
3875 identifier. If the application has not provided one, an identifier
3876 will be generated. Normally, the identifier should be provided on
3877 creation and should not be modified subsequently.</docstring>
3878 <paramlist>
3879 <param name="winid" type="int" default=""/>
3880 </paramlist>
3881 </method>
3882 <method name="GetId" type="int" overloaded="no">
3883 <autodoc>GetId(self) -&gt; int</autodoc>
3884 <docstring>Returns the identifier of the window. Each window has an integer
3885 identifier. If the application has not provided one (or the default Id
3886 -1 is used) then an unique identifier with a negative value will be
3887 generated.</docstring>
3888 </method>
3889 <staticmethod name="NewControlId" type="int" overloaded="no">
3890 <autodoc>NewControlId() -&gt; int</autodoc>
3891 <docstring>Generate a control id for the controls which were not given one.</docstring>
3892 </staticmethod>
3893 <staticmethod name="NextControlId" type="int" overloaded="no">
3894 <autodoc>NextControlId(int winid) -&gt; int</autodoc>
3895 <docstring>Get the id of the control following the one with the given
3896 autogenerated) id</docstring>
3897 <paramlist>
3898 <param name="winid" type="int" default=""/>
3899 </paramlist>
3900 </staticmethod>
3901 <staticmethod name="PrevControlId" type="int" overloaded="no">
3902 <autodoc>PrevControlId(int winid) -&gt; int</autodoc>
3903 <docstring>Get the id of the control preceding the one with the given
3904 autogenerated) id</docstring>
3905 <paramlist>
3906 <param name="winid" type="int" default=""/>
3907 </paramlist>
3908 </staticmethod>
3909 <method name="SetSize" type="" overloaded="no">
3910 <autodoc>SetSize(self, Size size)</autodoc>
3911 <docstring>Sets the size of the window in pixels.</docstring>
3912 <paramlist>
3913 <param name="size" type="Size" default=""/>
3914 </paramlist>
3915 </method>
3916 <method name="SetDimensions" type="" overloaded="no">
3917 <autodoc>SetDimensions(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
3918 <docstring>Sets the position and size of the window in pixels. The sizeFlags
3919 parameter indicates the interpretation of the other params if they are
3920 -1. wx.SIZE_AUTO*: a -1 indicates that a class-specific default
3921 shoudl be used. wx.SIZE_USE_EXISTING: existing dimensions should be
3922 used if -1 values are supplied. wxSIZE_ALLOW_MINUS_ONE: allow
3923 dimensions of -1 and less to be interpreted as real dimensions, not
3924 default values.</docstring>
3925 <paramlist>
3926 <param name="x" type="int" default=""/>
3927 <param name="y" type="int" default=""/>
3928 <param name="width" type="int" default=""/>
3929 <param name="height" type="int" default=""/>
3930 <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
3931 </paramlist>
3932 </method>
3933 <method name="SetRect" type="" overloaded="no">
3934 <autodoc>SetRect(self, Rect rect, int sizeFlags=SIZE_AUTO)</autodoc>
3935 <docstring>Sets the position and size of the window in pixels using a wx.Rect.</docstring>
3936 <paramlist>
3937 <param name="rect" type="Rect" default=""/>
3938 <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
3939 </paramlist>
3940 </method>
3941 <method name="SetSizeWH" type="" overloaded="no">
3942 <autodoc>SetSizeWH(self, int width, int height)</autodoc>
3943 <docstring>Sets the size of the window in pixels.</docstring>
3944 <paramlist>
3945 <param name="width" type="int" default=""/>
3946 <param name="height" type="int" default=""/>
3947 </paramlist>
3948 </method>
3949 <method name="Move" type="" overloaded="no">
3950 <autodoc>Move(self, Point pt, int flags=SIZE_USE_EXISTING)</autodoc>
3951 <docstring>Moves the window to the given position.</docstring>
3952 <paramlist>
3953 <param name="pt" type="Point" default=""/>
3954 <param name="flags" type="int" default="wxSIZE_USE_EXISTING"/>
3955 </paramlist>
3956 </method>
3957 <method name="MoveXY" type="" overloaded="no">
3958 <autodoc>MoveXY(self, int x, int y, int flags=SIZE_USE_EXISTING)</autodoc>
3959 <docstring>Moves the window to the given position.</docstring>
3960 <paramlist>
3961 <param name="x" type="int" default=""/>
3962 <param name="y" type="int" default=""/>
3963 <param name="flags" type="int" default="wxSIZE_USE_EXISTING"/>
3964 </paramlist>
3965 </method>
3966 <method name="Raise" type="" overloaded="no">
3967 <autodoc>Raise(self)</autodoc>
3968 <docstring>Raises the window to the top of the window hierarchy if it is a
3969 managed window (dialog or frame).</docstring>
3970 </method>
3971 <method name="Lower" type="" overloaded="no">
3972 <autodoc>Lower(self)</autodoc>
3973 <docstring>Lowers the window to the bottom of the window hierarchy if it is a
3974 managed window (dialog or frame).</docstring>
3975 </method>
3976 <method name="SetClientSize" type="" overloaded="no">
3977 <autodoc>SetClientSize(self, Size size)</autodoc>
3978 <docstring>This sets the size of the window client area in pixels. Using this
3979 function to size a window tends to be more device-independent than
3980 wx.Window.SetSize, since the application need not worry about what
3981 dimensions the border or title bar have when trying to fit the window
3982 around panel items, for example.</docstring>
3983 <paramlist>
3984 <param name="size" type="Size" default=""/>
3985 </paramlist>
3986 </method>
3987 <method name="SetClientSizeWH" type="" overloaded="no">
3988 <autodoc>SetClientSizeWH(self, int width, int height)</autodoc>
3989 <docstring>This sets the size of the window client area in pixels. Using this
3990 function to size a window tends to be more device-independent than
3991 wx.Window.SetSize, since the application need not worry about what
3992 dimensions the border or title bar have when trying to fit the window
3993 around panel items, for example.</docstring>
3994 <paramlist>
3995 <param name="width" type="int" default=""/>
3996 <param name="height" type="int" default=""/>
3997 </paramlist>
3998 </method>
3999 <method name="SetClientRect" type="" overloaded="no">
4000 <autodoc>SetClientRect(self, Rect rect)</autodoc>
4001 <docstring>This sets the size of the window client area in pixels. Using this
4002 function to size a window tends to be more device-independent than
4003 wx.Window.SetSize, since the application need not worry about what
4004 dimensions the border or title bar have when trying to fit the window
4005 around panel items, for example.</docstring>
4006 <paramlist>
4007 <param name="rect" type="Rect" default=""/>
4008 </paramlist>
4009 </method>
4010 <method name="GetPosition" type="Point" overloaded="no">
4011 <autodoc>GetPosition(self) -&gt; Point</autodoc>
4012 <docstring>Get the window's position.</docstring>
4013 </method>
4014 <method name="GetPositionTuple" type="" overloaded="no">
4015 <autodoc>GetPositionTuple() -&gt; (x,y)</autodoc>
4016 <docstring>Get the window's position.</docstring>
4017 <paramlist>
4018 <param name="OUTPUT" type="int" default=""/>
4019 <param name="OUTPUT" type="int" default=""/>
4020 </paramlist>
4021 </method>
4022 <method name="GetSize" type="Size" overloaded="no">
4023 <autodoc>GetSize(self) -&gt; Size</autodoc>
4024 <docstring>Get the window size.</docstring>
4025 </method>
4026 <method name="GetSizeTuple" type="" overloaded="no">
4027 <autodoc>GetSizeTuple() -&gt; (width, height)</autodoc>
4028 <docstring>Get the window size.</docstring>
4029 <paramlist>
4030 <param name="OUTPUT" type="int" default=""/>
4031 <param name="OUTPUT" type="int" default=""/>
4032 </paramlist>
4033 </method>
4034 <method name="GetRect" type="Rect" overloaded="no">
4035 <autodoc>GetRect(self) -&gt; Rect</autodoc>
4036 <docstring>Returns the size and position of the window as a wx.Rect object.</docstring>
4037 </method>
4038 <method name="GetClientSize" type="Size" overloaded="no">
4039 <autodoc>GetClientSize(self) -&gt; Size</autodoc>
4040 <docstring>This gets the size of the window's 'client area' in pixels. The client
4041 area is the area which may be drawn on by the programmer, excluding
4042 title bar, border, scrollbars, etc.</docstring>
4043 </method>
4044 <method name="GetClientSizeTuple" type="" overloaded="no">
4045 <autodoc>GetClientSizeTuple() -&gt; (width, height)</autodoc>
4046 <docstring>This gets the size of the window's 'client area' in pixels. The client
4047 area is the area which may be drawn on by the programmer, excluding
4048 title bar, border, scrollbars, etc.</docstring>
4049 <paramlist>
4050 <param name="OUTPUT" type="int" default=""/>
4051 <param name="OUTPUT" type="int" default=""/>
4052 </paramlist>
4053 </method>
4054 <method name="GetClientAreaOrigin" type="Point" overloaded="no">
4055 <autodoc>GetClientAreaOrigin(self) -&gt; Point</autodoc>
4056 <docstring>Get the origin of the client area of the window relative to the
4057 window's top left corner (the client area may be shifted because of
4058 the borders, scrollbars, other decorations...)</docstring>
4059 </method>
4060 <method name="GetClientRect" type="Rect" overloaded="no">
4061 <autodoc>GetClientRect(self) -&gt; Rect</autodoc>
4062 <docstring>Get the client area position and size as a `wx.Rect` object.</docstring>
4063 </method>
4064 <method name="GetBestSize" type="Size" overloaded="no">
4065 <autodoc>GetBestSize(self) -&gt; Size</autodoc>
4066 <docstring>This function returns the best acceptable minimal size for the
4067 window, if applicable. For example, for a static text control, it will
4068 be the minimal size such that the control label is not truncated. For
4069 windows containing subwindows (suzh aswx.Panel), the size returned by
4070 this function will be the same as the size the window would have had
4071 after calling Fit.</docstring>
4072 </method>
4073 <method name="GetBestSizeTuple" type="" overloaded="no">
4074 <autodoc>GetBestSizeTuple() -&gt; (width, height)</autodoc>
4075 <docstring>This function returns the best acceptable minimal size for the
4076 window, if applicable. For example, for a static text control, it will
4077 be the minimal size such that the control label is not truncated. For
4078 windows containing subwindows (suzh aswx.Panel), the size returned by
4079 this function will be the same as the size the window would have had
4080 after calling Fit.</docstring>
4081 <paramlist>
4082 <param name="OUTPUT" type="int" default=""/>
4083 <param name="OUTPUT" type="int" default=""/>
4084 </paramlist>
4085 </method>
4086 <method name="GetAdjustedBestSize" type="Size" overloaded="no">
4087 <autodoc>GetAdjustedBestSize(self) -&gt; Size</autodoc>
4088 <docstring>This method is similar to GetBestSize, except in one
4089 thing. GetBestSize should return the minimum untruncated size of the
4090 window, while this method will return the largest of BestSize and any
4091 user specified minimum size. ie. it is the minimum size the window
4092 should currently be drawn at, not the minimal size it can possibly
4093 tolerate.</docstring>
4094 </method>
4095 <method name="Center" type="" overloaded="no">
4096 <autodoc>Center(self, int direction=BOTH)</autodoc>
4097 <docstring>Centers the window. The parameter specifies the direction for
4098 cetering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may
4099 also include wx.CENTER_ON_SCREEN flag if you want to center the window
4100 on the entire screen and not on its parent window. If it is a
4101 top-level window and has no parent then it will always be centered
4102 relative to the screen.</docstring>
4103 <paramlist>
4104 <param name="direction" type="int" default="wxBOTH"/>
4105 </paramlist>
4106 </method>
4107 <method name="CenterOnScreen" type="" overloaded="no">
4108 <autodoc>CenterOnScreen(self, int dir=BOTH)</autodoc>
4109 <docstring>Center on screen (only works for top level windows)</docstring>
4110 <paramlist>
4111 <param name="dir" type="int" default="wxBOTH"/>
4112 </paramlist>
4113 </method>
4114 <method name="CenterOnParent" type="" overloaded="no">
4115 <autodoc>CenterOnParent(self, int dir=BOTH)</autodoc>
4116 <docstring>Center with respect to the the parent window</docstring>
4117 <paramlist>
4118 <param name="dir" type="int" default="wxBOTH"/>
4119 </paramlist>
4120 </method>
4121 <method name="Fit" type="" overloaded="no">
4122 <autodoc>Fit(self)</autodoc>
4123 <docstring>Sizes the window so that it fits around its subwindows. This function
4124 won't do anything if there are no subwindows and will only really work
4125 correctly if sizers are used for the subwindows layout. Also, if the
4126 window has exactly one subwindow it is better (faster and the result
4127 is more precise as Fit adds some margin to account for fuzziness of
4128 its calculations) to call window.SetClientSize(child.GetSize())
4129 instead of calling Fit.</docstring>
4130 </method>
4131 <method name="FitInside" type="" overloaded="no">
4132 <autodoc>FitInside(self)</autodoc>
4133 <docstring>Similar to Fit, but sizes the interior (virtual) size of a
4134 window. Mainly useful with scrolled windows to reset scrollbars after
4135 sizing changes that do not trigger a size event, and/or scrolled
4136 windows without an interior sizer. This function similarly won't do
4137 anything if there are no subwindows.</docstring>
4138 </method>
4139 <method name="SetSizeHints" type="" overloaded="yes">
4140 <docstring>Allows specification of minimum and maximum window sizes, and window
4141 size increments. If a pair of values is not set (or set to -1), the
4142 default values will be used. If this function is called, the user
4143 will not be able to size the window outside the given bounds. The
4144 resizing increments are only significant under Motif or Xt.</docstring>
4145 <paramlist>
4146 <param name="minW" type="int" default=""/>
4147 <param name="minH" type="int" default=""/>
4148 <param name="maxW" type="int" default="-1"/>
4149 <param name="maxH" type="int" default="-1"/>
4150 <param name="incW" type="int" default="-1"/>
4151 <param name="incH" type="int" default="-1"/>
4152 </paramlist>
4153 </method>
4154 <method name="SetSizeHints" type="" overloaded="yes">
4155 <autodoc>SetSizeHints(self, int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1,
4156 int incH=-1)
4157 SetSizeHints(self, Size minSize, Size maxSize=DefaultSize, Size incSize=DefaultSize)</autodoc>
4158 <docstring>Allows specification of minimum and maximum window sizes, and window
4159 size increments. If a pair of values is not set (or set to -1), the
4160 default values will be used. If this function is called, the user
4161 will not be able to size the window outside the given bounds. The
4162 resizing increments are only significant under Motif or Xt.</docstring>
4163 <paramlist>
4164 <param name="minSize" type="Size" default=""/>
4165 <param name="maxSize" type="Size" default="wxDefaultSize"/>
4166 <param name="incSize" type="Size" default="wxDefaultSize"/>
4167 </paramlist>
4168 </method>
4169 <method name="SetVirtualSizeHints" type="" overloaded="yes">
4170 <docstring>Allows specification of minimum and maximum virtual window sizes. If a
4171 pair of values is not set (or set to -1), the default values will be
4172 used. If this function is called, the user will not be able to size
4173 the virtual area of the window outside the given bounds.</docstring>
4174 <paramlist>
4175 <param name="minW" type="int" default=""/>
4176 <param name="minH" type="int" default=""/>
4177 <param name="maxW" type="int" default="-1"/>
4178 <param name="maxH" type="int" default="-1"/>
4179 </paramlist>
4180 </method>
4181 <method name="SetVirtualSizeHints" type="" overloaded="yes">
4182 <autodoc>SetVirtualSizeHints(self, int minW, int minH, int maxW=-1, int maxH=-1)
4183 SetVirtualSizeHints(self, Size minSize, Size maxSize=DefaultSize)</autodoc>
4184 <docstring>Allows specification of minimum and maximum virtual window sizes. If a
4185 pair of values is not set (or set to -1), the default values will be
4186 used. If this function is called, the user will not be able to size
4187 the virtual area of the window outside the given bounds.</docstring>
4188 <paramlist>
4189 <param name="minSize" type="Size" default=""/>
4190 <param name="maxSize" type="Size" default="wxDefaultSize"/>
4191 </paramlist>
4192 </method>
4193 <method name="GetMinWidth" type="int" overloaded="no">
4194 <autodoc>GetMinWidth(self) -&gt; int</autodoc>
4195 </method>
4196 <method name="GetMinHeight" type="int" overloaded="no">
4197 <autodoc>GetMinHeight(self) -&gt; int</autodoc>
4198 </method>
4199 <method name="GetMaxWidth" type="int" overloaded="no">
4200 <autodoc>GetMaxWidth(self) -&gt; int</autodoc>
4201 </method>
4202 <method name="GetMaxHeight" type="int" overloaded="no">
4203 <autodoc>GetMaxHeight(self) -&gt; int</autodoc>
4204 </method>
4205 <method name="GetMaxSize" type="Size" overloaded="no">
4206 <autodoc>GetMaxSize(self) -&gt; Size</autodoc>
4207 </method>
4208 <method name="GetMinSize" type="Size" overloaded="no">
4209 <autodoc>GetMinSize(self) -&gt; Size</autodoc>
4210 </method>
4211 <method name="SetVirtualSize" type="" overloaded="no">
4212 <autodoc>SetVirtualSize(self, Size size)</autodoc>
4213 <docstring>Set the the virtual size of a window in pixels. For most windows this
4214 is just the client area of the window, but for some like scrolled
4215 windows it is more or less independent of the screen window size.</docstring>
4216 <paramlist>
4217 <param name="size" type="Size" default=""/>
4218 </paramlist>
4219 </method>
4220 <method name="SetVirtualSizeWH" type="" overloaded="no">
4221 <autodoc>SetVirtualSizeWH(self, int w, int h)</autodoc>
4222 <docstring>Set the the virtual size of a window in pixels. For most windows this
4223 is just the client area of the window, but for some like scrolled
4224 windows it is more or less independent of the screen window size.</docstring>
4225 <paramlist>
4226 <param name="w" type="int" default=""/>
4227 <param name="h" type="int" default=""/>
4228 </paramlist>
4229 </method>
4230 <method name="GetVirtualSize" type="Size" overloaded="no">
4231 <autodoc>GetVirtualSize(self) -&gt; Size</autodoc>
4232 <docstring>Get the the virtual size of the window in pixels. For most windows
4233 this is just the client area of the window, but for some like scrolled
4234 windows it is more or less independent of the screen window size.</docstring>
4235 </method>
4236 <method name="GetVirtualSizeTuple" type="" overloaded="no">
4237 <autodoc>GetVirtualSizeTuple() -&gt; (width, height)</autodoc>
4238 <docstring>Get the the virtual size of the window in pixels. For most windows
4239 this is just the client area of the window, but for some like scrolled
4240 windows it is more or less independent of the screen window size.</docstring>
4241 <paramlist>
4242 <param name="OUTPUT" type="int" default=""/>
4243 <param name="OUTPUT" type="int" default=""/>
4244 </paramlist>
4245 </method>
4246 <method name="GetBestVirtualSize" type="Size" overloaded="no">
4247 <autodoc>GetBestVirtualSize(self) -&gt; Size</autodoc>
4248 <docstring>Return the largest of ClientSize and BestSize (as determined by a
4249 sizer, interior children, or other means)</docstring>
4250 </method>
4251 <method name="Show" type="bool" overloaded="no">
4252 <autodoc>Show(self, bool show=True) -&gt; bool</autodoc>
4253 <docstring>Shows or hides the window. You may need to call Raise for a top level
4254 window if you want to bring it to top, although this is not needed if
4255 Show is called immediately after the frame creation. Returns True if
4256 the window has been shown or hidden or False if nothing was done
4257 because it already was in the requested state.</docstring>
4258 <paramlist>
4259 <param name="show" type="bool" default="True"/>
4260 </paramlist>
4261 </method>
4262 <method name="Hide" type="bool" overloaded="no">
4263 <autodoc>Hide(self) -&gt; bool</autodoc>
4264 <docstring>Equivalent to calling Show(False).</docstring>
4265 </method>
4266 <method name="Enable" type="bool" overloaded="no">
4267 <autodoc>Enable(self, bool enable=True) -&gt; bool</autodoc>
4268 <docstring>Enable or disable the window for user input. Note that when a parent
4269 window is disabled, all of its children are disabled as well and they
4270 are reenabled again when the parent is. Returns true if the window
4271 has been enabled or disabled, false if nothing was done, i.e. if the
4272 window had already been in the specified state.</docstring>
4273 <paramlist>
4274 <param name="enable" type="bool" default="True"/>
4275 </paramlist>
4276 </method>
4277 <method name="Disable" type="bool" overloaded="no">
4278 <autodoc>Disable(self) -&gt; bool</autodoc>
4279 <docstring>Disables the window, same as Enable(false).</docstring>
4280 </method>
4281 <method name="IsShown" type="bool" overloaded="no">
4282 <autodoc>IsShown(self) -&gt; bool</autodoc>
4283 <docstring>Returns true if the window is shown, false if it has been hidden.</docstring>
4284 </method>
4285 <method name="IsEnabled" type="bool" overloaded="no">
4286 <autodoc>IsEnabled(self) -&gt; bool</autodoc>
4287 <docstring>Returns true if the window is enabled for input, false otherwise.</docstring>
4288 </method>
4289 <method name="SetWindowStyleFlag" type="" overloaded="no">
4290 <autodoc>SetWindowStyleFlag(self, long style)</autodoc>
4291 <docstring>Sets the style of the window. Please note that some styles cannot be
4292 changed after the window creation and that Refresh() might need to be
4293 called after changing the others for the change to take place
4294 immediately.</docstring>
4295 <paramlist>
4296 <param name="style" type="long" default=""/>
4297 </paramlist>
4298 </method>
4299 <method name="GetWindowStyleFlag" type="long" overloaded="no">
4300 <autodoc>GetWindowStyleFlag(self) -&gt; long</autodoc>
4301 <docstring>Gets the window style that was passed to the constructor or Create
4302 method.</docstring>
4303 </method>
4304 <method name="HasFlag" type="bool" overloaded="no">
4305 <autodoc>HasFlag(self, int flag) -&gt; bool</autodoc>
4306 <docstring>Test if the given style is set for this window.</docstring>
4307 <paramlist>
4308 <param name="flag" type="int" default=""/>
4309 </paramlist>
4310 </method>
4311 <method name="IsRetained" type="bool" overloaded="no">
4312 <autodoc>IsRetained(self) -&gt; bool</autodoc>
4313 <docstring>Returns true if the window is retained, false otherwise. Retained
4314 windows are only available on X platforms.</docstring>
4315 </method>
4316 <method name="SetExtraStyle" type="" overloaded="no">
4317 <autodoc>SetExtraStyle(self, long exStyle)</autodoc>
4318 <docstring>Sets the extra style bits for the window. Extra styles are the less
4319 often used style bits which can't be set with the constructor or with
4320 SetWindowStyleFlag()</docstring>
4321 <paramlist>
4322 <param name="exStyle" type="long" default=""/>
4323 </paramlist>
4324 </method>
4325 <method name="GetExtraStyle" type="long" overloaded="no">
4326 <autodoc>GetExtraStyle(self) -&gt; long</autodoc>
4327 <docstring>Returns the extra style bits for the window.</docstring>
4328 </method>
4329 <method name="MakeModal" type="" overloaded="no">
4330 <autodoc>MakeModal(self, bool modal=True)</autodoc>
4331 <docstring>Disables all other windows in the application so that the user can
4332 only interact with this window. Passing False will reverse this
4333 effect.</docstring>
4334 <paramlist>
4335 <param name="modal" type="bool" default="True"/>
4336 </paramlist>
4337 </method>
4338 <method name="SetThemeEnabled" type="" overloaded="no">
4339 <autodoc>SetThemeEnabled(self, bool enableTheme)</autodoc>
4340 <docstring>This function tells a window if it should use the system's "theme"
4341 code to draw the windows' background instead if its own background
4342 drawing code. This will only have an effect on platforms that support
4343 the notion of themes in user defined windows. One such platform is
4344 GTK+ where windows can have (very colourful) backgrounds defined by a
4345 user's selected theme.
4346
4347 Dialogs, notebook pages and the status bar have this flag set to true
4348 by default so that the default look and feel is simulated best.</docstring>
4349 <paramlist>
4350 <param name="enableTheme" type="bool" default=""/>
4351 </paramlist>
4352 </method>
4353 <method name="GetThemeEnabled" type="bool" overloaded="no">
4354 <autodoc>GetThemeEnabled(self) -&gt; bool</autodoc>
4355 <docstring>Return the themeEnabled flag.</docstring>
4356 </method>
4357 <method name="SetFocus" type="" overloaded="no">
4358 <autodoc>SetFocus(self)</autodoc>
4359 <docstring>Set's the focus to this window, allowing it to receive keyboard input.</docstring>
4360 </method>
4361 <method name="SetFocusFromKbd" type="" overloaded="no">
4362 <autodoc>SetFocusFromKbd(self)</autodoc>
4363 <docstring>Set focus to this window as the result of a keyboard action. Normally
4364 only called internally.</docstring>
4365 </method>
4366 <staticmethod name="FindFocus" type="Window" overloaded="no">
4367 <autodoc>FindFocus() -&gt; Window</autodoc>
4368 <docstring>Returns the window or control that currently has the keyboard focus,
4369 or None.</docstring>
4370 </staticmethod>
4371 <method name="AcceptsFocus" type="bool" overloaded="no">
4372 <autodoc>AcceptsFocus(self) -&gt; bool</autodoc>
4373 <docstring>Can this window have focus?</docstring>
4374 </method>
4375 <method name="AcceptsFocusFromKeyboard" type="bool" overloaded="no">
4376 <autodoc>AcceptsFocusFromKeyboard(self) -&gt; bool</autodoc>
4377 <docstring>Can this window be given focus by keyboard navigation? if not, the
4378 only way to give it focus (provided it accepts it at all) is to click
4379 it.</docstring>
4380 </method>
4381 <method name="GetDefaultItem" type="Window" overloaded="no">
4382 <autodoc>GetDefaultItem(self) -&gt; Window</autodoc>
4383 <docstring>Get the default child of this parent, i.e. the one which is activated
4384 by pressing &lt;Enter&gt; such as the OK button on a wx.Dialog.</docstring>
4385 </method>
4386 <method name="SetDefaultItem" type="Window" overloaded="no">
4387 <autodoc>SetDefaultItem(self, Window child) -&gt; Window</autodoc>
4388 <docstring>Set this child as default, return the old default.</docstring>
4389 <paramlist>
4390 <param name="child" type="Window" default=""/>
4391 </paramlist>
4392 </method>
4393 <method name="SetTmpDefaultItem" type="" overloaded="no">
4394 <autodoc>SetTmpDefaultItem(self, Window win)</autodoc>
4395 <docstring>Set this child as temporary default</docstring>
4396 <paramlist>
4397 <param name="win" type="Window" default=""/>
4398 </paramlist>
4399 </method>
4400 <method name="GetChildren" type="PyObject" overloaded="no">
4401 <autodoc>GetChildren(self) -&gt; PyObject</autodoc>
4402 <docstring>Returns a list of the window's children. NOTE: Currently this is a
4403 copy of the child window list maintained by the window, so the return
4404 value of this function is only valid as long as the window's children
4405 do not change.</docstring>
4406 </method>
4407 <method name="GetParent" type="Window" overloaded="no">
4408 <autodoc>GetParent(self) -&gt; Window</autodoc>
4409 <docstring>Returns the parent window of this window, or None if there isn't one.</docstring>
4410 </method>
4411 <method name="GetGrandParent" type="Window" overloaded="no">
4412 <autodoc>GetGrandParent(self) -&gt; Window</autodoc>
4413 <docstring>Returns the parent of the parent of this window, or None if there
4414 isn't one.</docstring>
4415 </method>
4416 <method name="IsTopLevel" type="bool" overloaded="no">
4417 <autodoc>IsTopLevel(self) -&gt; bool</autodoc>
4418 <docstring>Returns true if the given window is a top-level one. Currently all
4419 frames and dialogs are always considered to be top-level windows (even
4420 if they have a parent window).</docstring>
4421 </method>
4422 <method name="Reparent" type="bool" overloaded="no">
4423 <autodoc>Reparent(self, Window newParent) -&gt; bool</autodoc>
4424 <docstring>Reparents the window, i.e the window will be removed from its current
4425 parent window (e.g. a non-standard toolbar in a wxFrame) and then
4426 re-inserted into another. Available on Windows and GTK. Returns True
4427 if the parent was changed, False otherwise (error or newParent ==
4428 oldParent)</docstring>
4429 <paramlist>
4430 <param name="newParent" type="Window" default=""/>
4431 </paramlist>
4432 </method>
4433 <method name="AddChild" type="" overloaded="no">
4434 <autodoc>AddChild(self, Window child)</autodoc>
4435 <docstring>Adds a child window. This is called automatically by window creation
4436 functions so should not be required by the application programmer.</docstring>
4437 <paramlist>
4438 <param name="child" type="Window" default=""/>
4439 </paramlist>
4440 </method>
4441 <method name="RemoveChild" type="" overloaded="no">
4442 <autodoc>RemoveChild(self, Window child)</autodoc>
4443 <docstring>Removes a child window. This is called automatically by window
4444 deletion functions so should not be required by the application
4445 programmer.</docstring>
4446 <paramlist>
4447 <param name="child" type="Window" default=""/>
4448 </paramlist>
4449 </method>
4450 <method name="FindWindowById" type="Window" overloaded="no">
4451 <autodoc>FindWindowById(self, long winid) -&gt; Window</autodoc>
4452 <docstring>Find a chld of this window by window ID</docstring>
4453 <paramlist>
4454 <param name="winid" type="long" default=""/>
4455 </paramlist>
4456 </method>
4457 <method name="FindWindowByName" type="Window" overloaded="no">
4458 <autodoc>FindWindowByName(self, String name) -&gt; Window</autodoc>
4459 <docstring>Find a child of this window by name</docstring>
4460 <paramlist>
4461 <param name="name" type="String" default=""/>
4462 </paramlist>
4463 </method>
4464 <method name="GetEventHandler" type="EvtHandler" overloaded="no">
4465 <autodoc>GetEventHandler(self) -&gt; EvtHandler</autodoc>
4466 <docstring>Returns the event handler for this window. By default, the window is
4467 its own event handler.</docstring>
4468 </method>
4469 <method name="SetEventHandler" type="" overloaded="no">
4470 <autodoc>SetEventHandler(self, EvtHandler handler)</autodoc>
4471 <docstring>Sets the event handler for this window. An event handler is an object
4472 that is capable of processing the events sent to a window. By default,
4473 the window is its own event handler, but an application may wish to
4474 substitute another, for example to allow central implementation of
4475 event-handling for a variety of different window classes.
4476
4477 It is usually better to use `wx.Window.PushEventHandler` since this sets
4478 up a chain of event handlers, where an event not handled by one event
4479 handler is handed to the next one in the chain.</docstring>
4480 <paramlist>
4481 <param name="handler" type="EvtHandler" default=""/>
4482 </paramlist>
4483 </method>
4484 <method name="PushEventHandler" type="" overloaded="no">
4485 <autodoc>PushEventHandler(self, EvtHandler handler)</autodoc>
4486 <docstring>Pushes this event handler onto the event handler stack for the window.
4487 An event handler is an object that is capable of processing the events
4488 sent to a window. By default, the window is its own event handler, but
4489 an application may wish to substitute another, for example to allow
4490 central implementation of event-handling for a variety of different
4491 window classes.
4492
4493 wx.Window.PushEventHandler allows an application to set up a chain of
4494 event handlers, where an event not handled by one event handler is
4495 handed to the next one in the chain. Use `wx.Window.PopEventHandler` to
4496 remove the event handler.</docstring>
4497 <paramlist>
4498 <param name="handler" type="EvtHandler" default=""/>
4499 </paramlist>
4500 </method>
4501 <method name="PopEventHandler" type="EvtHandler" overloaded="no">
4502 <autodoc>PopEventHandler(self, bool deleteHandler=False) -&gt; EvtHandler</autodoc>
4503 <docstring>Removes and returns the top-most event handler on the event handler
4504 stack. If deleteHandler is True then the wx.EvtHandler object will be
4505 destroyed after it is popped.</docstring>
4506 <paramlist>
4507 <param name="deleteHandler" type="bool" default="False"/>
4508 </paramlist>
4509 </method>
4510 <method name="RemoveEventHandler" type="bool" overloaded="no">
4511 <autodoc>RemoveEventHandler(self, EvtHandler handler) -&gt; bool</autodoc>
4512 <docstring>Find the given handler in the event handler chain and remove (but not
4513 delete) it from the event handler chain, return True if it was found
4514 and False otherwise (this also results in an assert failure so this
4515 function should only be called when the handler is supposed to be
4516 there.)</docstring>
4517 <paramlist>
4518 <param name="handler" type="EvtHandler" default=""/>
4519 </paramlist>
4520 </method>
4521 <method name="SetValidator" type="" overloaded="no">
4522 <autodoc>SetValidator(self, Validator validator)</autodoc>
4523 <docstring>Deletes the current validator (if any) and sets the window validator,
4524 having called wx.Validator.Clone to create a new validator of this
4525 type.</docstring>
4526 <paramlist>
4527 <param name="validator" type="wxValidator" default=""/>
4528 </paramlist>
4529 </method>
4530 <method name="GetValidator" type="wxValidator" overloaded="no">
4531 <autodoc>GetValidator(self) -&gt; Validator</autodoc>
4532 <docstring>Returns a pointer to the current validator for the window, or None if
4533 there is none.</docstring>
4534 </method>
4535 <method name="Validate" type="bool" overloaded="no">
4536 <autodoc>Validate(self) -&gt; bool</autodoc>
4537 <docstring>Validates the current values of the child controls using their
4538 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
4539 style flag set, the method will also call Validate() of all child
4540 windows. Returns false if any of the validations failed.</docstring>
4541 </method>
4542 <method name="TransferDataToWindow" type="bool" overloaded="no">
4543 <autodoc>TransferDataToWindow(self) -&gt; bool</autodoc>
4544 <docstring>Transfers values to child controls from data areas specified by their
4545 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
4546 style flag set, the method will also call TransferDataToWindow() of
4547 all child windows.</docstring>
4548 </method>
4549 <method name="TransferDataFromWindow" type="bool" overloaded="no">
4550 <autodoc>TransferDataFromWindow(self) -&gt; bool</autodoc>
4551 <docstring>Transfers values from child controls to data areas specified by their
4552 validators. Returns false if a transfer failed. If the window has
4553 wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will
4554 also call TransferDataFromWindow() of all child windows.</docstring>
4555 </method>
4556 <method name="InitDialog" type="" overloaded="no">
4557 <autodoc>InitDialog(self)</autodoc>
4558 <docstring>Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
4559 to the dialog via validators.</docstring>
4560 </method>
4561 <method name="SetAcceleratorTable" type="" overloaded="no">
4562 <autodoc>SetAcceleratorTable(self, AcceleratorTable accel)</autodoc>
4563 <docstring>Sets the accelerator table for this window.</docstring>
4564 <paramlist>
4565 <param name="accel" type="AcceleratorTable" default=""/>
4566 </paramlist>
4567 </method>
4568 <method name="GetAcceleratorTable" type="AcceleratorTable" overloaded="no">
4569 <autodoc>GetAcceleratorTable(self) -&gt; AcceleratorTable</autodoc>
4570 <docstring>Gets the accelerator table for this window.</docstring>
4571 </method>
4572 <method name="RegisterHotKey" type="bool" overloaded="no">
4573 <autodoc>RegisterHotKey(self, int hotkeyId, int modifiers, int keycode) -&gt; bool</autodoc>
4574 <docstring>Registers a system wide hotkey. Every time the user presses the hotkey
4575 registered here, this window will receive a hotkey event. It will
4576 receive the event even if the application is in the background and
4577 does not have the input focus because the user is working with some
4578 other application. To bind an event handler function to this hotkey
4579 use EVT_HOTKEY with an id equal to hotkeyId. Returns True if the
4580 hotkey was registered successfully.</docstring>
4581 <paramlist>
4582 <param name="hotkeyId" type="int" default=""/>
4583 <param name="modifiers" type="int" default=""/>
4584 <param name="keycode" type="int" default=""/>
4585 </paramlist>
4586 </method>
4587 <method name="UnregisterHotKey" type="bool" overloaded="no">
4588 <autodoc>UnregisterHotKey(self, int hotkeyId) -&gt; bool</autodoc>
4589 <docstring>Unregisters a system wide hotkey.</docstring>
4590 <paramlist>
4591 <param name="hotkeyId" type="int" default=""/>
4592 </paramlist>
4593 </method>
4594 <method name="ConvertDialogPointToPixels" type="Point" overloaded="no">
4595 <autodoc>ConvertDialogPointToPixels(self, Point pt) -&gt; Point</autodoc>
4596 <docstring>Converts a point or size from dialog units to pixels. Dialog units
4597 are used for maintaining a dialog's proportions even if the font
4598 changes. For the x dimension, the dialog units are multiplied by the
4599 average character width and then divided by 4. For the y dimension,
4600 the dialog units are multiplied by the average character height and
4601 then divided by 8.</docstring>
4602 <paramlist>
4603 <param name="pt" type="Point" default=""/>
4604 </paramlist>
4605 </method>
4606 <method name="ConvertDialogSizeToPixels" type="Size" overloaded="no">
4607 <autodoc>ConvertDialogSizeToPixels(self, Size sz) -&gt; Size</autodoc>
4608 <docstring>Converts a point or size from dialog units to pixels. Dialog units
4609 are used for maintaining a dialog's proportions even if the font
4610 changes. For the x dimension, the dialog units are multiplied by the
4611 average character width and then divided by 4. For the y dimension,
4612 the dialog units are multiplied by the average character height and
4613 then divided by 8.</docstring>
4614 <paramlist>
4615 <param name="sz" type="Size" default=""/>
4616 </paramlist>
4617 </method>
4618 <method name="DLG_PNT" type="Point" overloaded="no">
4619 <autodoc>DLG_PNT(self, Point pt) -&gt; Point</autodoc>
4620 <docstring>Converts a point or size from dialog units to pixels. Dialog units
4621 are used for maintaining a dialog's proportions even if the font
4622 changes. For the x dimension, the dialog units are multiplied by the
4623 average character width and then divided by 4. For the y dimension,
4624 the dialog units are multiplied by the average character height and
4625 then divided by 8.</docstring>
4626 <paramlist>
4627 <param name="pt" type="Point" default=""/>
4628 </paramlist>
4629 </method>
4630 <method name="DLG_SZE" type="Size" overloaded="no">
4631 <autodoc>DLG_SZE(self, Size sz) -&gt; Size</autodoc>
4632 <docstring>Converts a point or size from dialog units to pixels. Dialog units
4633 are used for maintaining a dialog's proportions even if the font
4634 changes. For the x dimension, the dialog units are multiplied by the
4635 average character width and then divided by 4. For the y dimension,
4636 the dialog units are multiplied by the average character height and
4637 then divided by 8.</docstring>
4638 <paramlist>
4639 <param name="sz" type="Size" default=""/>
4640 </paramlist>
4641 </method>
4642 <method name="ConvertPixelPointToDialog" type="Point" overloaded="no">
4643 <autodoc>ConvertPixelPointToDialog(self, Point pt) -&gt; Point</autodoc>
4644 <paramlist>
4645 <param name="pt" type="Point" default=""/>
4646 </paramlist>
4647 </method>
4648 <method name="ConvertPixelSizeToDialog" type="Size" overloaded="no">
4649 <autodoc>ConvertPixelSizeToDialog(self, Size sz) -&gt; Size</autodoc>
4650 <paramlist>
4651 <param name="sz" type="Size" default=""/>
4652 </paramlist>
4653 </method>
4654 <method name="WarpPointer" type="" overloaded="no">
4655 <autodoc>WarpPointer(self, int x, int y)</autodoc>
4656 <docstring>Moves the pointer to the given position on the window.
4657
4658 NOTE: This function is not supported under Mac because Apple Human
4659 Interface Guidelines forbid moving the mouse cursor programmatically.</docstring>
4660 <paramlist>
4661 <param name="x" type="int" default=""/>
4662 <param name="y" type="int" default=""/>
4663 </paramlist>
4664 </method>
4665 <method name="CaptureMouse" type="" overloaded="no">
4666 <autodoc>CaptureMouse(self)</autodoc>
4667 <docstring>Directs all mouse input to this window. Call wx.Window.ReleaseMouse to
4668 release the capture.
4669
4670 Note that wxWindows maintains the stack of windows having captured the
4671 mouse and when the mouse is released the capture returns to the window
4672 which had had captured it previously and it is only really released if
4673 there were no previous window. In particular, this means that you must
4674 release the mouse as many times as you capture it.</docstring>
4675 </method>
4676 <method name="ReleaseMouse" type="" overloaded="no">
4677 <autodoc>ReleaseMouse(self)</autodoc>
4678 <docstring>Releases mouse input captured with wx.Window.CaptureMouse.</docstring>
4679 </method>
4680 <staticmethod name="GetCapture" type="Window" overloaded="no">
4681 <autodoc>GetCapture() -&gt; Window</autodoc>
4682 <docstring>Returns the window which currently captures the mouse or None</docstring>
4683 </staticmethod>
4684 <method name="HasCapture" type="bool" overloaded="no">
4685 <autodoc>HasCapture(self) -&gt; bool</autodoc>
4686 <docstring>Returns true if this window has the current mouse capture.</docstring>
4687 </method>
4688 <method name="Refresh" type="" overloaded="no">
4689 <autodoc>Refresh(self, bool eraseBackground=True, Rect rect=None)</autodoc>
4690 <docstring>Mark the specified rectangle (or the whole window) as "dirty" so it
4691 will be repainted. Causes an EVT_PAINT event to be generated and sent
4692 to the window.</docstring>
4693 <paramlist>
4694 <param name="eraseBackground" type="bool" default="True"/>
4695 <param name="rect" type="Rect" default="NULL"/>
4696 </paramlist>
4697 </method>
4698 <method name="RefreshRect" type="" overloaded="no">
4699 <autodoc>RefreshRect(self, Rect rect)</autodoc>
4700 <docstring>Redraws the contents of the given rectangle: the area inside it will
4701 be repainted. This is the same as Refresh but has a nicer syntax.</docstring>
4702 <paramlist>
4703 <param name="rect" type="Rect" default=""/>
4704 </paramlist>
4705 </method>
4706 <method name="Update" type="" overloaded="no">
4707 <autodoc>Update(self)</autodoc>
4708 <docstring>Calling this method immediately repaints the invalidated area of the
4709 window instead of waiting for the EVT_PAINT event to happen, (normally
4710 this would usually only happen when the flow of control returns to the
4711 event loop.) Notice that this function doesn't refresh the window and
4712 does nothing if the window has been already repainted. Use Refresh
4713 first if you want to immediately redraw the window (or some portion of
4714 it) unconditionally.</docstring>
4715 </method>
4716 <method name="ClearBackground" type="" overloaded="no">
4717 <autodoc>ClearBackground(self)</autodoc>
4718 <docstring>Clears the window by filling it with the current background
4719 colour. Does not cause an erase background event to be generated.</docstring>
4720 </method>
4721 <method name="Freeze" type="" overloaded="no">
4722 <autodoc>Freeze(self)</autodoc>
4723 <docstring>Freezes the window or, in other words, prevents any updates from
4724 taking place on screen, the window is not redrawn at all. Thaw must be
4725 called to reenable window redrawing. Calls to Freeze/Thaw may be
4726 nested, with the actual Thaw being delayed until all the nesting has
4727 been undone.
4728
4729 This method is useful for visual appearance optimization (for example,
4730 it is a good idea to use it before inserting large amount of text into
4731 a wxTextCtrl under wxGTK) but is not implemented on all platforms nor
4732 for all controls so it is mostly just a hint to wxWindows and not a
4733 mandatory directive.</docstring>
4734 </method>
4735 <method name="Thaw" type="" overloaded="no">
4736 <autodoc>Thaw(self)</autodoc>
4737 <docstring>Reenables window updating after a previous call to Freeze. Calls to
4738 Freeze/Thaw may be nested, so Thaw must be called the same number of
4739 times that Freeze was before the window will be updated.</docstring>
4740 </method>
4741 <method name="PrepareDC" type="" overloaded="no">
4742 <autodoc>PrepareDC(self, DC dc)</autodoc>
4743 <docstring>Call this function to prepare the device context for drawing a
4744 scrolled image. It sets the device origin according to the current
4745 scroll position.</docstring>
4746 <paramlist>
4747 <param name="dc" type="wxDC" default=""/>
4748 </paramlist>
4749 </method>
4750 <method name="GetUpdateRegion" type="wxRegion" overloaded="no">
4751 <autodoc>GetUpdateRegion(self) -&gt; Region</autodoc>
4752 <docstring>Returns the region specifying which parts of the window have been
4753 damaged. Should only be called within an EVT_PAINT handler.</docstring>
4754 </method>
4755 <method name="GetUpdateClientRect" type="Rect" overloaded="no">
4756 <autodoc>GetUpdateClientRect(self) -&gt; Rect</autodoc>
4757 <docstring>Get the update rectangle region bounding box in client coords.</docstring>
4758 </method>
4759 <method name="IsExposed" type="bool" overloaded="no">
4760 <autodoc>IsExposed(self, int x, int y, int w=1, int h=1) -&gt; bool</autodoc>
4761 <docstring>Returns true if the given point or rectangle area has been exposed
4762 since the last repaint. Call this in an paint event handler to
4763 optimize redrawing by only redrawing those areas, which have been
4764 exposed.</docstring>
4765 <paramlist>
4766 <param name="x" type="int" default=""/>
4767 <param name="y" type="int" default=""/>
4768 <param name="w" type="int" default="1"/>
4769 <param name="h" type="int" default="1"/>
4770 </paramlist>
4771 </method>
4772 <method name="IsExposedPoint" type="bool" overloaded="no">
4773 <autodoc>IsExposedPoint(self, Point pt) -&gt; bool</autodoc>
4774 <docstring>Returns true if the given point or rectangle area has been exposed
4775 since the last repaint. Call this in an paint event handler to
4776 optimize redrawing by only redrawing those areas, which have been
4777 exposed.</docstring>
4778 <paramlist>
4779 <param name="pt" type="Point" default=""/>
4780 </paramlist>
4781 </method>
4782 <method name="IsExposedRect" type="bool" overloaded="no">
4783 <autodoc>IsExposedRect(self, Rect rect) -&gt; bool</autodoc>
4784 <docstring>Returns true if the given point or rectangle area has been exposed
4785 since the last repaint. Call this in an paint event handler to
4786 optimize redrawing by only redrawing those areas, which have been
4787 exposed.</docstring>
4788 <paramlist>
4789 <param name="rect" type="Rect" default=""/>
4790 </paramlist>
4791 </method>
4792 <method name="GetDefaultAttributes" type="VisualAttributes" overloaded="no">
4793 <autodoc>GetDefaultAttributes(self) -&gt; VisualAttributes</autodoc>
4794 <docstring>Get the default attributes for an instance of this class. This is
4795 useful if you want to use the same font or colour in your own control
4796 as in a standard control -- which is a much better idea than hard
4797 coding specific colours or fonts which might look completely out of
4798 place on the user's system, especially if it uses themes.</docstring>
4799 </method>
4800 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
4801 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
4802 <docstring>Get the default attributes for this class. This is useful if you want
4803 to use the same font or colour in your own control as in a standard
4804 control -- which is a much better idea than hard coding specific
4805 colours or fonts which might look completely out of place on the
4806 user's system, especially if it uses themes.
4807
4808 The variant parameter is only relevant under Mac currently and is
4809 ignore under other platforms. Under Mac, it will change the size of
4810 the returned font. See `wx.Window.SetWindowVariant` for more about
4811 this.</docstring>
4812 <paramlist>
4813 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
4814 </paramlist>
4815 </staticmethod>
4816 <method name="SetBackgroundColour" type="bool" overloaded="no">
4817 <autodoc>SetBackgroundColour(self, Colour colour) -&gt; bool</autodoc>
4818 <docstring>Sets the background colour of the window. Returns True if the colour
4819 was changed. The background colour is usually painted by the default
4820 EVT_ERASE_BACKGROUND event handler function under Windows and
4821 automatically under GTK.
4822
4823 Note that setting the background colour may not cause an immediate
4824 refresh, so you may wish to call ClearBackground or Refresh after
4825 calling this function.
4826
4827 Use this function with care under GTK+ as the new appearance of the
4828 window might not look equally well when used with themes, i.e GTK+'s
4829 ability to change its look as the user wishes with run-time loadable
4830 modules.</docstring>
4831 <paramlist>
4832 <param name="colour" type="wxColour" default=""/>
4833 </paramlist>
4834 </method>
4835 <method name="SetOwnBackroundColour" type="" overloaded="no">
4836 <autodoc>SetOwnBackroundColour(self, Colour colour)</autodoc>
4837 <paramlist>
4838 <param name="colour" type="wxColour" default=""/>
4839 </paramlist>
4840 </method>
4841 <method name="SetForegroundColour" type="bool" overloaded="no">
4842 <autodoc>SetForegroundColour(self, Colour colour) -&gt; bool</autodoc>
4843 <docstring>Sets the foreground colour of the window. Returns True is the colour
4844 was changed. The interpretation of foreground colour is dependent on
4845 the window class; it may be the text colour or other colour, or it may
4846 not be used at all.</docstring>
4847 <paramlist>
4848 <param name="colour" type="wxColour" default=""/>
4849 </paramlist>
4850 </method>
4851 <method name="SetOwnForegroundColour" type="" overloaded="no">
4852 <autodoc>SetOwnForegroundColour(self, Colour colour)</autodoc>
4853 <paramlist>
4854 <param name="colour" type="wxColour" default=""/>
4855 </paramlist>
4856 </method>
4857 <method name="GetBackgroundColour" type="wxColour" overloaded="no">
4858 <autodoc>GetBackgroundColour(self) -&gt; Colour</autodoc>
4859 <docstring>Returns the background colour of the window.</docstring>
4860 </method>
4861 <method name="GetForegroundColour" type="wxColour" overloaded="no">
4862 <autodoc>GetForegroundColour(self) -&gt; Colour</autodoc>
4863 <docstring>Returns the foreground colour of the window. The interpretation of
4864 foreground colour is dependent on the window class; it may be the text
4865 colour or other colour, or it may not be used at all.</docstring>
4866 </method>
4867 <method name="SetCursor" type="bool" overloaded="no">
4868 <autodoc>SetCursor(self, Cursor cursor) -&gt; bool</autodoc>
4869 <docstring>Sets the window's cursor. Notice that the window cursor also sets it
4870 for the children of the window implicitly.
4871
4872 The cursor may be wx.NullCursor in which case the window cursor will
4873 be reset back to default.</docstring>
4874 <paramlist>
4875 <param name="cursor" type="wxCursor" default=""/>
4876 </paramlist>
4877 </method>
4878 <method name="GetCursor" type="wxCursor" overloaded="no">
4879 <autodoc>GetCursor(self) -&gt; Cursor</autodoc>
4880 <docstring>Return the cursor associated with this window.</docstring>
4881 </method>
4882 <method name="SetFont" type="bool" overloaded="no">
4883 <autodoc>SetFont(self, Font font) -&gt; bool</autodoc>
4884 <docstring>Sets the font for this window.</docstring>
4885 <paramlist>
4886 <param name="font" type="wxFont" default=""/>
4887 </paramlist>
4888 </method>
4889 <method name="SetOwnFont" type="" overloaded="no">
4890 <autodoc>SetOwnFont(self, Font font)</autodoc>
4891 <paramlist>
4892 <param name="font" type="wxFont" default=""/>
4893 </paramlist>
4894 </method>
4895 <method name="GetFont" type="wxFont" overloaded="no">
4896 <autodoc>GetFont(self) -&gt; Font</autodoc>
4897 <docstring>Returns the default font used for this window.</docstring>
4898 </method>
4899 <method name="SetCaret" type="" overloaded="no">
4900 <autodoc>SetCaret(self, Caret caret)</autodoc>
4901 <docstring>Sets the caret associated with the window.</docstring>
4902 <paramlist>
4903 <param name="caret" type="wxCaret" default=""/>
4904 </paramlist>
4905 </method>
4906 <method name="GetCaret" type="wxCaret" overloaded="no">
4907 <autodoc>GetCaret(self) -&gt; Caret</autodoc>
4908 <docstring>Returns the caret associated with the window.</docstring>
4909 </method>
4910 <method name="GetCharHeight" type="int" overloaded="no">
4911 <autodoc>GetCharHeight(self) -&gt; int</autodoc>
4912 <docstring>Get the (average) character size for the current font.</docstring>
4913 </method>
4914 <method name="GetCharWidth" type="int" overloaded="no">
4915 <autodoc>GetCharWidth(self) -&gt; int</autodoc>
4916 <docstring>Get the (average) character size for the current font.</docstring>
4917 </method>
4918 <method name="GetTextExtent" type="" overloaded="no">
4919 <autodoc>GetTextExtent(String string) -&gt; (width, height)</autodoc>
4920 <paramlist>
4921 <param name="string" type="String" default=""/>
4922 <param name="OUTPUT" type="int" default=""/>
4923 <param name="OUTPUT" type="int" default=""/>
4924 </paramlist>
4925 </method>
4926 <method name="GetFullTextExtent" type="" overloaded="no">
4927 <autodoc>GetFullTextExtent(String string, Font font=None) -&gt;
4928 (width, height, descent, externalLeading)</autodoc>
4929 <docstring>Get the width, height, decent and leading of the text using the
4930 current or specified font.</docstring>
4931 <paramlist>
4932 <param name="string" type="String" default=""/>
4933 <param name="OUTPUT" type="int" default=""/>
4934 <param name="OUTPUT" type="int" default=""/>
4935 <param name="OUTPUT" type="int" default=""/>
4936 <param name="OUTPUT" type="int" default=""/>
4937 <param name="font" type="wxFont" default="NULL"/>
4938 </paramlist>
4939 </method>
4940 <method name="ClientToScreenXY" type="" overloaded="no">
4941 <autodoc>ClientToScreenXY(int x, int y) -&gt; (x,y)</autodoc>
4942 <docstring>Converts to screen coordinates from coordinates relative to this window.</docstring>
4943 <paramlist>
4944 <param name="x" type="int" default=""/>
4945 <param name="y" type="int" default=""/>
4946 </paramlist>
4947 </method>
4948 <method name="ScreenToClientXY" type="" overloaded="no">
4949 <autodoc>ScreenToClientXY(int x, int y) -&gt; (x,y)</autodoc>
4950 <docstring>Converts from screen to client window coordinates.</docstring>
4951 <paramlist>
4952 <param name="x" type="int" default=""/>
4953 <param name="y" type="int" default=""/>
4954 </paramlist>
4955 </method>
4956 <method name="ClientToScreen" type="Point" overloaded="no">
4957 <autodoc>ClientToScreen(self, Point pt) -&gt; Point</autodoc>
4958 <docstring>Converts to screen coordinates from coordinates relative to this window.</docstring>
4959 <paramlist>
4960 <param name="pt" type="Point" default=""/>
4961 </paramlist>
4962 </method>
4963 <method name="ScreenToClient" type="Point" overloaded="no">
4964 <autodoc>ScreenToClient(self, Point pt) -&gt; Point</autodoc>
4965 <docstring>Converts from screen to client window coordinates.</docstring>
4966 <paramlist>
4967 <param name="pt" type="Point" default=""/>
4968 </paramlist>
4969 </method>
4970 <method name="HitTestXY" type="wxHitTest" overloaded="no">
4971 <autodoc>HitTestXY(self, int x, int y) -&gt; int</autodoc>
4972 <docstring>Test where the given (in client coords) point lies</docstring>
4973 <paramlist>
4974 <param name="x" type="int" default=""/>
4975 <param name="y" type="int" default=""/>
4976 </paramlist>
4977 </method>
4978 <method name="HitTest" type="wxHitTest" overloaded="no">
4979 <autodoc>HitTest(self, Point pt) -&gt; int</autodoc>
4980 <docstring>Test where the given (in client coords) point lies</docstring>
4981 <paramlist>
4982 <param name="pt" type="Point" default=""/>
4983 </paramlist>
4984 </method>
4985 <method name="GetBorder" type="wxBorder" overloaded="yes">
4986 <docstring>Get the window border style from the given flags: this is different
4987 from simply doing flags &amp; wxBORDER_MASK because it uses
4988 GetDefaultBorder() to translate wxBORDER_DEFAULT to something
4989 reasonable.
4990 </docstring>
4991 <paramlist>
4992 <param name="flags" type="long" default=""/>
4993 </paramlist>
4994 </method>
4995 <method name="GetBorder" type="wxBorder" overloaded="yes">
4996 <autodoc>GetBorder(self, long flags) -&gt; int
4997 GetBorder(self) -&gt; int</autodoc>
4998 <docstring>Get border for the flags of this window</docstring>
4999 </method>
5000 <method name="UpdateWindowUI" type="" overloaded="no">
5001 <autodoc>UpdateWindowUI(self, long flags=UPDATE_UI_NONE)</autodoc>
5002 <docstring>This function sends EVT_UPDATE_UI events to the window. The particular
5003 implementation depends on the window; for example a wx.ToolBar will
5004 send an update UI event for each toolbar button, and a wx.Frame will
5005 send an update UI event for each menubar menu item. You can call this
5006 function from your application to ensure that your UI is up-to-date at
5007 a particular point in time (as far as your EVT_UPDATE_UI handlers are
5008 concerned). This may be necessary if you have called
5009 wx.UpdateUIEvent.SetMode or wx.UpdateUIEvent.SetUpdateInterval to
5010 limit the overhead that wxWindows incurs by sending update UI events
5011 in idle time.</docstring>
5012 <paramlist>
5013 <param name="flags" type="long" default="wxUPDATE_UI_NONE"/>
5014 </paramlist>
5015 </method>
5016 <method name="PopupMenuXY" type="bool" overloaded="no">
5017 <autodoc>PopupMenuXY(self, Menu menu, int x, int y) -&gt; bool</autodoc>
5018 <docstring>Pops up the given menu at the specified coordinates, relative to this
5019 window, and returns control when the user has dismissed the menu. If a
5020 menu item is selected, the corresponding menu event is generated and
5021 will be processed as usual.</docstring>
5022 <paramlist>
5023 <param name="menu" type="wxMenu" default=""/>
5024 <param name="x" type="int" default=""/>
5025 <param name="y" type="int" default=""/>
5026 </paramlist>
5027 </method>
5028 <method name="PopupMenu" type="bool" overloaded="no">
5029 <autodoc>PopupMenu(self, Menu menu, Point pos) -&gt; bool</autodoc>
5030 <docstring>Pops up the given menu at the specified coordinates, relative to this
5031 window, and returns control when the user has dismissed the menu. If a
5032 menu item is selected, the corresponding menu event is generated and
5033 will be processed as usual.</docstring>
5034 <paramlist>
5035 <param name="menu" type="wxMenu" default=""/>
5036 <param name="pos" type="Point" default=""/>
5037 </paramlist>
5038 </method>
5039 <method name="GetHandle" type="long" overloaded="no">
5040 <autodoc>GetHandle(self) -&gt; long</autodoc>
5041 <docstring>Returns the platform-specific handle (as a long integer) of the
5042 physical window. Currently on wxMac it returns the handle of the
5043 toplevel parent of the window.</docstring>
5044 </method>
5045 <method name="HasScrollbar" type="bool" overloaded="no">
5046 <autodoc>HasScrollbar(self, int orient) -&gt; bool</autodoc>
5047 <docstring>Does the window have the scrollbar for this orientation?</docstring>
5048 <paramlist>
5049 <param name="orient" type="int" default=""/>
5050 </paramlist>
5051 </method>
5052 <method name="SetScrollbar" type="" overloaded="no">
5053 <autodoc>SetScrollbar(self, int orientation, int position, int thumbSize, int range,
5054 bool refresh=True)</autodoc>
5055 <docstring>Sets the scrollbar properties of a built-in scrollbar.</docstring>
5056 <paramlist>
5057 <param name="orientation" type="int" default=""/>
5058 <param name="position" type="int" default=""/>
5059 <param name="thumbSize" type="int" default=""/>
5060 <param name="range" type="int" default=""/>
5061 <param name="refresh" type="bool" default="True"/>
5062 </paramlist>
5063 </method>
5064 <method name="SetScrollPos" type="" overloaded="no">
5065 <autodoc>SetScrollPos(self, int orientation, int pos, bool refresh=True)</autodoc>
5066 <docstring>Sets the position of one of the built-in scrollbars.</docstring>
5067 <paramlist>
5068 <param name="orientation" type="int" default=""/>
5069 <param name="pos" type="int" default=""/>
5070 <param name="refresh" type="bool" default="True"/>
5071 </paramlist>
5072 </method>
5073 <method name="GetScrollPos" type="int" overloaded="no">
5074 <autodoc>GetScrollPos(self, int orientation) -&gt; int</autodoc>
5075 <docstring>Returns the built-in scrollbar position.</docstring>
5076 <paramlist>
5077 <param name="orientation" type="int" default=""/>
5078 </paramlist>
5079 </method>
5080 <method name="GetScrollThumb" type="int" overloaded="no">
5081 <autodoc>GetScrollThumb(self, int orientation) -&gt; int</autodoc>
5082 <docstring>Returns the built-in scrollbar thumb size.</docstring>
5083 <paramlist>
5084 <param name="orientation" type="int" default=""/>
5085 </paramlist>
5086 </method>
5087 <method name="GetScrollRange" type="int" overloaded="no">
5088 <autodoc>GetScrollRange(self, int orientation) -&gt; int</autodoc>
5089 <docstring>Returns the built-in scrollbar range.</docstring>
5090 <paramlist>
5091 <param name="orientation" type="int" default=""/>
5092 </paramlist>
5093 </method>
5094 <method name="ScrollWindow" type="" overloaded="no">
5095 <autodoc>ScrollWindow(self, int dx, int dy, Rect rect=None)</autodoc>
5096 <docstring>Physically scrolls the pixels in the window and move child windows
5097 accordingly. Use this function to optimise your scrolling
5098 implementations, to minimise the area that must be redrawn. Note that
5099 it is rarely required to call this function from a user program.</docstring>
5100 <paramlist>
5101 <param name="dx" type="int" default=""/>
5102 <param name="dy" type="int" default=""/>
5103 <param name="rect" type="Rect" default="NULL"/>
5104 </paramlist>
5105 </method>
5106 <method name="ScrollLines" type="bool" overloaded="no">
5107 <autodoc>ScrollLines(self, int lines) -&gt; bool</autodoc>
5108 <docstring>If the platform and window class supports it, scrolls the window by
5109 the given number of lines down, if lines is positive, or up if lines
5110 is negative. Returns True if the window was scrolled, False if it was
5111 already on top/bottom and nothing was done.</docstring>
5112 <paramlist>
5113 <param name="lines" type="int" default=""/>
5114 </paramlist>
5115 </method>
5116 <method name="ScrollPages" type="bool" overloaded="no">
5117 <autodoc>ScrollPages(self, int pages) -&gt; bool</autodoc>
5118 <docstring>If the platform and window class supports it, scrolls the window by
5119 the given number of pages down, if pages is positive, or up if pages
5120 is negative. Returns True if the window was scrolled, False if it was
5121 already on top/bottom and nothing was done.</docstring>
5122 <paramlist>
5123 <param name="pages" type="int" default=""/>
5124 </paramlist>
5125 </method>
5126 <method name="LineUp" type="bool" overloaded="no">
5127 <autodoc>LineUp(self) -&gt; bool</autodoc>
5128 <docstring>This is just a wrapper for ScrollLines(-1).</docstring>
5129 </method>
5130 <method name="LineDown" type="bool" overloaded="no">
5131 <autodoc>LineDown(self) -&gt; bool</autodoc>
5132 <docstring>This is just a wrapper for ScrollLines(1).</docstring>
5133 </method>
5134 <method name="PageUp" type="bool" overloaded="no">
5135 <autodoc>PageUp(self) -&gt; bool</autodoc>
5136 <docstring>This is just a wrapper for ScrollPages(-1).</docstring>
5137 </method>
5138 <method name="PageDown" type="bool" overloaded="no">
5139 <autodoc>PageDown(self) -&gt; bool</autodoc>
5140 <docstring>This is just a wrapper for ScrollPages(1).</docstring>
5141 </method>
5142 <method name="SetHelpText" type="" overloaded="no">
5143 <autodoc>SetHelpText(self, String text)</autodoc>
5144 <docstring>Sets the help text to be used as context-sensitive help for this
5145 window. Note that the text is actually stored by the current
5146 wxHelpProvider implementation, and not in the window object itself.</docstring>
5147 <paramlist>
5148 <param name="text" type="String" default=""/>
5149 </paramlist>
5150 </method>
5151 <method name="SetHelpTextForId" type="" overloaded="no">
5152 <autodoc>SetHelpTextForId(self, String text)</autodoc>
5153 <docstring>Associate this help text with all windows with the same id as this
5154 one.</docstring>
5155 <paramlist>
5156 <param name="text" type="String" default=""/>
5157 </paramlist>
5158 </method>
5159 <method name="GetHelpText" type="String" overloaded="no">
5160 <autodoc>GetHelpText(self) -&gt; String</autodoc>
5161 <docstring>Gets the help text to be used as context-sensitive help for this
5162 window. Note that the text is actually stored by the current
5163 wxHelpProvider implementation, and not in the window object itself.</docstring>
5164 </method>
5165 <method name="SetToolTipString" type="" overloaded="no">
5166 <autodoc>SetToolTipString(self, String tip)</autodoc>
5167 <docstring>Attach a tooltip to the window.</docstring>
5168 <paramlist>
5169 <param name="tip" type="String" default=""/>
5170 </paramlist>
5171 </method>
5172 <method name="SetToolTip" type="" overloaded="no">
5173 <autodoc>SetToolTip(self, ToolTip tip)</autodoc>
5174 <docstring>Attach a tooltip to the window.</docstring>
5175 <paramlist>
5176 <param name="tip" type="wxToolTip" default=""/>
5177 </paramlist>
5178 </method>
5179 <method name="GetToolTip" type="wxToolTip" overloaded="no">
5180 <autodoc>GetToolTip(self) -&gt; ToolTip</autodoc>
5181 <docstring>get the associated tooltip or None if none</docstring>
5182 </method>
5183 <method name="SetDropTarget" type="" overloaded="no">
5184 <autodoc>SetDropTarget(self, DropTarget dropTarget)</autodoc>
5185 <docstring>Associates a drop target with this window. If the window already has
5186 a drop target, it is deleted.</docstring>
5187 <paramlist>
5188 <param name="dropTarget" type="wxPyDropTarget" default=""/>
5189 </paramlist>
5190 </method>
5191 <method name="GetDropTarget" type="wxPyDropTarget" overloaded="no">
5192 <autodoc>GetDropTarget(self) -&gt; DropTarget</autodoc>
5193 <docstring>Returns the associated drop target, which may be None.</docstring>
5194 </method>
5195 <method name="SetConstraints" type="" overloaded="no">
5196 <autodoc>SetConstraints(self, LayoutConstraints constraints)</autodoc>
5197 <docstring>Sets the window to have the given layout constraints. If an existing
5198 layout constraints object is already owned by the window, it will be
5199 deleted. Pass None to disassociate and delete the window's current
5200 constraints.
5201
5202 You must call SetAutoLayout to tell a window to use the constraints
5203 automatically in its default EVT_SIZE handler; otherwise, you must
5204 handle EVT_SIZE yourself and call Layout() explicitly. When setting
5205 both a wx.LayoutConstraints and a wx.Sizer, only the sizer will have
5206 effect.</docstring>
5207 <paramlist>
5208 <param name="constraints" type="wxLayoutConstraints" default=""/>
5209 </paramlist>
5210 </method>
5211 <method name="GetConstraints" type="wxLayoutConstraints" overloaded="no">
5212 <autodoc>GetConstraints(self) -&gt; LayoutConstraints</autodoc>
5213 <docstring>Returns a pointer to the window's layout constraints, or None if there
5214 are none.</docstring>
5215 </method>
5216 <method name="SetAutoLayout" type="" overloaded="no">
5217 <autodoc>SetAutoLayout(self, bool autoLayout)</autodoc>
5218 <docstring>Determines whether the Layout function will be called automatically
5219 when the window is resized. It is called implicitly by SetSizer but
5220 if you use SetConstraints you should call it manually or otherwise the
5221 window layout won't be correctly updated when its size changes.</docstring>
5222 <paramlist>
5223 <param name="autoLayout" type="bool" default=""/>
5224 </paramlist>
5225 </method>
5226 <method name="GetAutoLayout" type="bool" overloaded="no">
5227 <autodoc>GetAutoLayout(self) -&gt; bool</autodoc>
5228 <docstring>Returns the current autoLayout setting</docstring>
5229 </method>
5230 <method name="Layout" type="bool" overloaded="no">
5231 <autodoc>Layout(self) -&gt; bool</autodoc>
5232 <docstring>Invokes the constraint-based layout algorithm or the sizer-based
5233 algorithm for this window. See SetAutoLayout: when auto layout is on,
5234 this function gets called automatically by the default EVT_SIZE
5235 handler when the window is resized.</docstring>
5236 </method>
5237 <method name="SetSizer" type="" overloaded="no">
5238 <autodoc>SetSizer(self, Sizer sizer, bool deleteOld=True)</autodoc>
5239 <docstring>Sets the window to have the given layout sizer. The window will then
5240 own the object, and will take care of its deletion. If an existing
5241 layout sizer object is already owned by the window, it will be deleted
5242 if the deleteOld parameter is true. Note that this function will also
5243 call SetAutoLayout implicitly with a True parameter if the sizer is
5244 non-NoneL and False otherwise.</docstring>
5245 <paramlist>
5246 <param name="sizer" type="wxSizer" default=""/>
5247 <param name="deleteOld" type="bool" default="True"/>
5248 </paramlist>
5249 </method>
5250 <method name="SetSizerAndFit" type="" overloaded="no">
5251 <autodoc>SetSizerAndFit(self, Sizer sizer, bool deleteOld=True)</autodoc>
5252 <docstring>The same as SetSizer, except it also sets the size hints for the
5253 window based on the sizer's minimum size.</docstring>
5254 <paramlist>
5255 <param name="sizer" type="wxSizer" default=""/>
5256 <param name="deleteOld" type="bool" default="True"/>
5257 </paramlist>
5258 </method>
5259 <method name="GetSizer" type="wxSizer" overloaded="no">
5260 <autodoc>GetSizer(self) -&gt; Sizer</autodoc>
5261 <docstring>Return the sizer associated with the window by a previous call to
5262 SetSizer or None if there isn't one.</docstring>
5263 </method>
5264 <method name="SetContainingSizer" type="" overloaded="no">
5265 <autodoc>SetContainingSizer(self, Sizer sizer)</autodoc>
5266 <docstring>This normally does not need to be called by application code. It is
5267 called internally when a window is added to a sizer, and is used so
5268 the window can remove itself from the sizer when it is destroyed.</docstring>
5269 <paramlist>
5270 <param name="sizer" type="wxSizer" default=""/>
5271 </paramlist>
5272 </method>
5273 <method name="GetContainingSizer" type="wxSizer" overloaded="no">
5274 <autodoc>GetContainingSizer(self) -&gt; Sizer</autodoc>
5275 <docstring>Return the sizer that this window is a member of, if any, otherwise None.</docstring>
5276 </method>
5277 <method name="InheritAttributes" type="" overloaded="no">
5278 <autodoc>InheritAttributes(self)</autodoc>
5279 <docstring>This function is (or should be, in case of custom controls) called
5280 during window creation to intelligently set up the window visual
5281 attributes, that is the font and the foreground and background
5282 colours.
5283
5284 By 'intelligently' the following is meant: by default, all windows use
5285 their own default attributes. However if some of the parent's
5286 attributes are explicitly changed (that is, using SetFont and not
5287 SetOwnFont) and if the corresponding attribute hadn't been
5288 explicitly set for this window itself, then this window takes the same
5289 value as used by the parent. In addition, if the window overrides
5290 ShouldInheritColours to return false, the colours will not be changed
5291 no matter what and only the font might.
5292
5293 This rather complicated logic is necessary in order to accomodate the
5294 different usage scenarius. The most common one is when all default
5295 attributes are used and in this case, nothing should be inherited as
5296 in modern GUIs different controls use different fonts (and colours)
5297 than their siblings so they can't inherit the same value from the
5298 parent. However it was also deemed desirable to allow to simply change
5299 the attributes of all children at once by just changing the font or
5300 colour of their common parent, hence in this case we do inherit the
5301 parents attributes.
5302 </docstring>
5303 </method>
5304 <method name="ShouldInheritColours" type="bool" overloaded="no">
5305 <autodoc>ShouldInheritColours(self) -&gt; bool</autodoc>
5306 <docstring>Return true from here to allow the colours of this window to be
5307 changed by InheritAttributes, returning false forbids inheriting them
5308 from the parent window.
5309
5310 The base class version returns false, but this method is overridden in
5311 wxControl where it returns true.</docstring>
5312 </method>
5313 </class>
5314 <pythoncode>
5315 def DLG_PNT(win, point_or_x, y=None):
5316 """
5317 Convenience function for converting a Point or (x,y) in
5318 dialog units to pixel units.
5319 """
5320 if y is None:
5321 return win.ConvertDialogPointToPixels(point_or_x)
5322 else:
5323 return win.ConvertDialogPointToPixels(wx.Point(point_or_x, y))
5324
5325 def DLG_SZE(win, size_width, height=None):
5326 """
5327 Convenience function for converting a Size or (w,h) in
5328 dialog units to pixel units.
5329 """
5330 if height is None:
5331 return win.ConvertDialogSizeToPixels(size_width)
5332 else:
5333 return win.ConvertDialogSizeToPixels(wx.Size(size_width, height))
5334 </pythoncode>
5335 <method name="FindWindowById" oldname="wxFindWindowById" type="Window" overloaded="no">
5336 <autodoc>FindWindowById(long id, Window parent=None) -&gt; Window</autodoc>
5337 <docstring>Find the first window in the application with the given id. If parent
5338 is None, the search will start from all top-level frames and dialog
5339 boxes; if non-None, the search will be limited to the given window
5340 hierarchy. The search is recursive in both cases.</docstring>
5341 <paramlist>
5342 <param name="id" type="long" default=""/>
5343 <param name="parent" type="Window" default="NULL"/>
5344 </paramlist>
5345 </method>
5346 <method name="FindWindowByName" oldname="wxFindWindowByName" type="Window" overloaded="no">
5347 <autodoc>FindWindowByName(String name, Window parent=None) -&gt; Window</autodoc>
5348 <docstring>Find a window by its name (as given in a window constructor or Create
5349 function call). If parent is None, the search will start from all
5350 top-level frames and dialog boxes; if non-None, the search will be
5351 limited to the given window hierarchy. The search is recursive in both
5352 cases.
5353
5354 If no window with such name is found, wx.FindWindowByLabel is called.</docstring>
5355 <paramlist>
5356 <param name="name" type="String" default=""/>
5357 <param name="parent" type="Window" default="NULL"/>
5358 </paramlist>
5359 </method>
5360 <method name="FindWindowByLabel" oldname="wxFindWindowByLabel" type="Window" overloaded="no">
5361 <autodoc>FindWindowByLabel(String label, Window parent=None) -&gt; Window</autodoc>
5362 <docstring>Find a window by its label. Depending on the type of window, the label
5363 may be a window title or panel item label. If parent is None, the
5364 search will start from all top-level frames and dialog boxes; if
5365 non-None, the search will be limited to the given window
5366 hierarchy. The search is recursive in both cases.</docstring>
5367 <paramlist>
5368 <param name="label" type="String" default=""/>
5369 <param name="parent" type="Window" default="NULL"/>
5370 </paramlist>
5371 </method>
5372 <method name="Window_FromHWND" oldname="wxWindow_FromHWND" type="Window" overloaded="no">
5373 <autodoc>Window_FromHWND(Window parent, unsigned long _hWnd) -&gt; Window</autodoc>
5374 <paramlist>
5375 <param name="parent" type="Window" default=""/>
5376 <param name="_hWnd" type="unsigned long" default=""/>
5377 </paramlist>
5378 </method>
5379 <pythoncode>
5380 #---------------------------------------------------------------------------
5381 </pythoncode>
5382 <class name="Validator" oldname="wxValidator" module="_core">
5383 <baseclass name="EvtHandler"/>
5384 <constructor name="Validator" overloaded="no">
5385 <autodoc>__init__(self) -&gt; Validator</autodoc>
5386 </constructor>
5387 <method name="Clone" type="Validator" overloaded="no">
5388 <autodoc>Clone(self) -&gt; Validator</autodoc>
5389 </method>
5390 <method name="Validate" type="bool" overloaded="no">
5391 <autodoc>Validate(self, Window parent) -&gt; bool</autodoc>
5392 <paramlist>
5393 <param name="parent" type="Window" default=""/>
5394 </paramlist>
5395 </method>
5396 <method name="TransferToWindow" type="bool" overloaded="no">
5397 <autodoc>TransferToWindow(self) -&gt; bool</autodoc>
5398 </method>
5399 <method name="TransferFromWindow" type="bool" overloaded="no">
5400 <autodoc>TransferFromWindow(self) -&gt; bool</autodoc>
5401 </method>
5402 <method name="GetWindow" type="Window" overloaded="no">
5403 <autodoc>GetWindow(self) -&gt; Window</autodoc>
5404 </method>
5405 <method name="SetWindow" type="" overloaded="no">
5406 <autodoc>SetWindow(self, Window window)</autodoc>
5407 <paramlist>
5408 <param name="window" type="Window" default=""/>
5409 </paramlist>
5410 </method>
5411 <staticmethod name="IsSilent" type="bool" overloaded="no">
5412 <autodoc>IsSilent() -&gt; bool</autodoc>
5413 </staticmethod>
5414 <staticmethod name="SetBellOnError" type="" overloaded="no">
5415 <autodoc>SetBellOnError(int doIt=True)</autodoc>
5416 <paramlist>
5417 <param name="doIt" type="int" default="True"/>
5418 </paramlist>
5419 </staticmethod>
5420 </class>
5421 <class name="PyValidator" oldname="wxPyValidator" module="_core">
5422 <baseclass name="Validator"/>
5423 <constructor name="PyValidator" overloaded="no">
5424 <autodoc>__init__(self) -&gt; PyValidator</autodoc>
5425 </constructor>
5426 <method name="_setCallbackInfo" type="" overloaded="no">
5427 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class, int incref=True)</autodoc>
5428 <paramlist>
5429 <param name="self" type="PyObject" default=""/>
5430 <param name="_class" type="PyObject" default=""/>
5431 <param name="incref" type="int" default="True"/>
5432 </paramlist>
5433 </method>
5434 </class>
5435 <pythoncode>
5436 #---------------------------------------------------------------------------
5437 </pythoncode>
5438 <class name="Menu" oldname="wxMenu" module="_core">
5439 <baseclass name="EvtHandler"/>
5440 <constructor name="Menu" overloaded="no">
5441 <autodoc>__init__(self, String title=EmptyString, long style=0) -&gt; Menu</autodoc>
5442 <paramlist>
5443 <param name="title" type="String" default="wxPyEmptyString"/>
5444 <param name="style" type="long" default="0"/>
5445 </paramlist>
5446 </constructor>
5447 <method name="Append" type="wxMenuItem" overloaded="no">
5448 <autodoc>Append(self, int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -&gt; MenuItem</autodoc>
5449 <paramlist>
5450 <param name="id" type="int" default=""/>
5451 <param name="text" type="String" default=""/>
5452 <param name="help" type="String" default="wxPyEmptyString"/>
5453 <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
5454 </paramlist>
5455 </method>
5456 <method name="AppendSeparator" type="wxMenuItem" overloaded="no">
5457 <autodoc>AppendSeparator(self) -&gt; MenuItem</autodoc>
5458 </method>
5459 <method name="AppendCheckItem" type="wxMenuItem" overloaded="no">
5460 <autodoc>AppendCheckItem(self, int id, String text, String help=EmptyString) -&gt; MenuItem</autodoc>
5461 <paramlist>
5462 <param name="id" type="int" default=""/>
5463 <param name="text" type="String" default=""/>
5464 <param name="help" type="String" default="wxPyEmptyString"/>
5465 </paramlist>
5466 </method>
5467 <method name="AppendRadioItem" type="wxMenuItem" overloaded="no">
5468 <autodoc>AppendRadioItem(self, int id, String text, String help=EmptyString) -&gt; MenuItem</autodoc>
5469 <paramlist>
5470 <param name="id" type="int" default=""/>
5471 <param name="text" type="String" default=""/>
5472 <param name="help" type="String" default="wxPyEmptyString"/>
5473 </paramlist>
5474 </method>
5475 <method name="AppendMenu" type="wxMenuItem" overloaded="no">
5476 <autodoc>AppendMenu(self, int id, String text, Menu submenu, String help=EmptyString) -&gt; MenuItem</autodoc>
5477 <paramlist>
5478 <param name="id" type="int" default=""/>
5479 <param name="text" type="String" default=""/>
5480 <param name="submenu" type="Menu" default=""/>
5481 <param name="help" type="String" default="wxPyEmptyString"/>
5482 </paramlist>
5483 </method>
5484 <method name="AppendItem" type="wxMenuItem" overloaded="no">
5485 <autodoc>AppendItem(self, MenuItem item) -&gt; MenuItem</autodoc>
5486 <paramlist>
5487 <param name="item" type="wxMenuItem" default=""/>
5488 </paramlist>
5489 </method>
5490 <method name="Break" type="" overloaded="no">
5491 <autodoc>Break(self)</autodoc>
5492 </method>
5493 <method name="InsertItem" type="wxMenuItem" overloaded="no">
5494 <autodoc>InsertItem(self, size_t pos, MenuItem item) -&gt; MenuItem</autodoc>
5495 <paramlist>
5496 <param name="pos" type="size_t" default=""/>
5497 <param name="item" type="wxMenuItem" default=""/>
5498 </paramlist>
5499 </method>
5500 <method name="Insert" type="wxMenuItem" overloaded="no">
5501 <autodoc>Insert(self, size_t pos, int id, String text, String help=EmptyString,
5502 int kind=ITEM_NORMAL) -&gt; MenuItem</autodoc>
5503 <paramlist>
5504 <param name="pos" type="size_t" default=""/>
5505 <param name="id" type="int" default=""/>
5506 <param name="text" type="String" default=""/>
5507 <param name="help" type="String" default="wxPyEmptyString"/>
5508 <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
5509 </paramlist>
5510 </method>
5511 <method name="InsertSeparator" type="wxMenuItem" overloaded="no">
5512 <autodoc>InsertSeparator(self, size_t pos) -&gt; MenuItem</autodoc>
5513 <paramlist>
5514 <param name="pos" type="size_t" default=""/>
5515 </paramlist>
5516 </method>
5517 <method name="InsertCheckItem" type="wxMenuItem" overloaded="no">
5518 <autodoc>InsertCheckItem(self, size_t pos, int id, String text, String help=EmptyString) -&gt; MenuItem</autodoc>
5519 <paramlist>
5520 <param name="pos" type="size_t" default=""/>
5521 <param name="id" type="int" default=""/>
5522 <param name="text" type="String" default=""/>
5523 <param name="help" type="String" default="wxPyEmptyString"/>
5524 </paramlist>
5525 </method>
5526 <method name="InsertRadioItem" type="wxMenuItem" overloaded="no">
5527 <autodoc>InsertRadioItem(self, size_t pos, int id, String text, String help=EmptyString) -&gt; MenuItem</autodoc>
5528 <paramlist>
5529 <param name="pos" type="size_t" default=""/>
5530 <param name="id" type="int" default=""/>
5531 <param name="text" type="String" default=""/>
5532 <param name="help" type="String" default="wxPyEmptyString"/>
5533 </paramlist>
5534 </method>
5535 <method name="InsertMenu" type="wxMenuItem" overloaded="no">
5536 <autodoc>InsertMenu(self, size_t pos, int id, String text, Menu submenu, String help=EmptyString) -&gt; MenuItem</autodoc>
5537 <paramlist>
5538 <param name="pos" type="size_t" default=""/>
5539 <param name="id" type="int" default=""/>
5540 <param name="text" type="String" default=""/>
5541 <param name="submenu" type="Menu" default=""/>
5542 <param name="help" type="String" default="wxPyEmptyString"/>
5543 </paramlist>
5544 </method>
5545 <method name="PrependItem" type="wxMenuItem" overloaded="no">
5546 <autodoc>PrependItem(self, MenuItem item) -&gt; MenuItem</autodoc>
5547 <paramlist>
5548 <param name="item" type="wxMenuItem" default=""/>
5549 </paramlist>
5550 </method>
5551 <method name="Prepend" type="wxMenuItem" overloaded="no">
5552 <autodoc>Prepend(self, int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -&gt; MenuItem</autodoc>
5553 <paramlist>
5554 <param name="id" type="int" default=""/>
5555 <param name="text" type="String" default=""/>
5556 <param name="help" type="String" default="wxPyEmptyString"/>
5557 <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
5558 </paramlist>
5559 </method>
5560 <method name="PrependSeparator" type="wxMenuItem" overloaded="no">
5561 <autodoc>PrependSeparator(self) -&gt; MenuItem</autodoc>
5562 </method>
5563 <method name="PrependCheckItem" type="wxMenuItem" overloaded="no">
5564 <autodoc>PrependCheckItem(self, int id, String text, String help=EmptyString) -&gt; MenuItem</autodoc>
5565 <paramlist>
5566 <param name="id" type="int" default=""/>
5567 <param name="text" type="String" default=""/>
5568 <param name="help" type="String" default="wxPyEmptyString"/>
5569 </paramlist>
5570 </method>
5571 <method name="PrependRadioItem" type="wxMenuItem" overloaded="no">
5572 <autodoc>PrependRadioItem(self, int id, String text, String help=EmptyString) -&gt; MenuItem</autodoc>
5573 <paramlist>
5574 <param name="id" type="int" default=""/>
5575 <param name="text" type="String" default=""/>
5576 <param name="help" type="String" default="wxPyEmptyString"/>
5577 </paramlist>
5578 </method>
5579 <method name="PrependMenu" type="wxMenuItem" overloaded="no">
5580 <autodoc>PrependMenu(self, int id, String text, Menu submenu, String help=EmptyString) -&gt; MenuItem</autodoc>
5581 <paramlist>
5582 <param name="id" type="int" default=""/>
5583 <param name="text" type="String" default=""/>
5584 <param name="submenu" type="Menu" default=""/>
5585 <param name="help" type="String" default="wxPyEmptyString"/>
5586 </paramlist>
5587 </method>
5588 <method name="Remove" type="wxMenuItem" overloaded="no">
5589 <autodoc>Remove(self, int id) -&gt; MenuItem</autodoc>
5590 <paramlist>
5591 <param name="id" type="int" default=""/>
5592 </paramlist>
5593 </method>
5594 <method name="RemoveItem" type="wxMenuItem" overloaded="no">
5595 <autodoc>RemoveItem(self, MenuItem item) -&gt; MenuItem</autodoc>
5596 <paramlist>
5597 <param name="item" type="wxMenuItem" default=""/>
5598 </paramlist>
5599 </method>
5600 <method name="Delete" type="bool" overloaded="no">
5601 <autodoc>Delete(self, int id) -&gt; bool</autodoc>
5602 <paramlist>
5603 <param name="id" type="int" default=""/>
5604 </paramlist>
5605 </method>
5606 <method name="DeleteItem" type="bool" overloaded="no">
5607 <autodoc>DeleteItem(self, MenuItem item) -&gt; bool</autodoc>
5608 <paramlist>
5609 <param name="item" type="wxMenuItem" default=""/>
5610 </paramlist>
5611 </method>
5612 <method name="Destroy" type="" overloaded="no">
5613 <autodoc>Destroy(self)</autodoc>
5614 <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
5615 </method>
5616 <method name="DestroyId" type="bool" overloaded="no">
5617 <autodoc>DestroyId(self, int id) -&gt; bool</autodoc>
5618 <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
5619 <paramlist>
5620 <param name="id" type="int" default=""/>
5621 </paramlist>
5622 </method>
5623 <method name="DestroyItem" type="bool" overloaded="no">
5624 <autodoc>DestroyItem(self, MenuItem item) -&gt; bool</autodoc>
5625 <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
5626 <paramlist>
5627 <param name="item" type="wxMenuItem" default=""/>
5628 </paramlist>
5629 </method>
5630 <method name="GetMenuItemCount" type="size_t" overloaded="no">
5631 <autodoc>GetMenuItemCount(self) -&gt; size_t</autodoc>
5632 </method>
5633 <method name="GetMenuItems" type="PyObject" overloaded="no">
5634 <autodoc>GetMenuItems(self) -&gt; PyObject</autodoc>
5635 </method>
5636 <method name="FindItem" type="int" overloaded="no">
5637 <autodoc>FindItem(self, String item) -&gt; int</autodoc>
5638 <paramlist>
5639 <param name="item" type="String" default=""/>
5640 </paramlist>
5641 </method>
5642 <method name="FindItemById" type="wxMenuItem" overloaded="no">
5643 <autodoc>FindItemById(self, int id) -&gt; MenuItem</autodoc>
5644 <paramlist>
5645 <param name="id" type="int" default=""/>
5646 </paramlist>
5647 </method>
5648 <method name="FindItemByPosition" type="wxMenuItem" overloaded="no">
5649 <autodoc>FindItemByPosition(self, size_t position) -&gt; MenuItem</autodoc>
5650 <paramlist>
5651 <param name="position" type="size_t" default=""/>
5652 </paramlist>
5653 </method>
5654 <method name="Enable" type="" overloaded="no">
5655 <autodoc>Enable(self, int id, bool enable)</autodoc>
5656 <paramlist>
5657 <param name="id" type="int" default=""/>
5658 <param name="enable" type="bool" default=""/>
5659 </paramlist>
5660 </method>
5661 <method name="IsEnabled" type="bool" overloaded="no">
5662 <autodoc>IsEnabled(self, int id) -&gt; bool</autodoc>
5663 <paramlist>
5664 <param name="id" type="int" default=""/>
5665 </paramlist>
5666 </method>
5667 <method name="Check" type="" overloaded="no">
5668 <autodoc>Check(self, int id, bool check)</autodoc>
5669 <paramlist>
5670 <param name="id" type="int" default=""/>
5671 <param name="check" type="bool" default=""/>
5672 </paramlist>
5673 </method>
5674 <method name="IsChecked" type="bool" overloaded="no">
5675 <autodoc>IsChecked(self, int id) -&gt; bool</autodoc>
5676 <paramlist>
5677 <param name="id" type="int" default=""/>
5678 </paramlist>
5679 </method>
5680 <method name="SetLabel" type="" overloaded="no">
5681 <autodoc>SetLabel(self, int id, String label)</autodoc>
5682 <paramlist>
5683 <param name="id" type="int" default=""/>
5684 <param name="label" type="String" default=""/>
5685 </paramlist>
5686 </method>
5687 <method name="GetLabel" type="String" overloaded="no">
5688 <autodoc>GetLabel(self, int id) -&gt; String</autodoc>
5689 <paramlist>
5690 <param name="id" type="int" default=""/>
5691 </paramlist>
5692 </method>
5693 <method name="SetHelpString" type="" overloaded="no">
5694 <autodoc>SetHelpString(self, int id, String helpString)</autodoc>
5695 <paramlist>
5696 <param name="id" type="int" default=""/>
5697 <param name="helpString" type="String" default=""/>
5698 </paramlist>
5699 </method>
5700 <method name="GetHelpString" type="String" overloaded="no">
5701 <autodoc>GetHelpString(self, int id) -&gt; String</autodoc>
5702 <paramlist>
5703 <param name="id" type="int" default=""/>
5704 </paramlist>
5705 </method>
5706 <method name="SetTitle" type="" overloaded="no">
5707 <autodoc>SetTitle(self, String title)</autodoc>
5708 <paramlist>
5709 <param name="title" type="String" default=""/>
5710 </paramlist>
5711 </method>
5712 <method name="GetTitle" type="String" overloaded="no">
5713 <autodoc>GetTitle(self) -&gt; String</autodoc>
5714 </method>
5715 <method name="SetEventHandler" type="" overloaded="no">
5716 <autodoc>SetEventHandler(self, EvtHandler handler)</autodoc>
5717 <paramlist>
5718 <param name="handler" type="EvtHandler" default=""/>
5719 </paramlist>
5720 </method>
5721 <method name="GetEventHandler" type="EvtHandler" overloaded="no">
5722 <autodoc>GetEventHandler(self) -&gt; EvtHandler</autodoc>
5723 </method>
5724 <method name="SetInvokingWindow" type="" overloaded="no">
5725 <autodoc>SetInvokingWindow(self, Window win)</autodoc>
5726 <paramlist>
5727 <param name="win" type="Window" default=""/>
5728 </paramlist>
5729 </method>
5730 <method name="GetInvokingWindow" type="Window" overloaded="no">
5731 <autodoc>GetInvokingWindow(self) -&gt; Window</autodoc>
5732 </method>
5733 <method name="GetStyle" type="long" overloaded="no">
5734 <autodoc>GetStyle(self) -&gt; long</autodoc>
5735 </method>
5736 <method name="UpdateUI" type="" overloaded="no">
5737 <autodoc>UpdateUI(self, EvtHandler source=None)</autodoc>
5738 <paramlist>
5739 <param name="source" type="EvtHandler" default="NULL"/>
5740 </paramlist>
5741 </method>
5742 <method name="GetMenuBar" type="wxMenuBar" overloaded="no">
5743 <autodoc>GetMenuBar(self) -&gt; MenuBar</autodoc>
5744 </method>
5745 <method name="Attach" type="" overloaded="no">
5746 <autodoc>Attach(self, wxMenuBarBase menubar)</autodoc>
5747 <paramlist>
5748 <param name="menubar" type="wxMenuBarBase" default=""/>
5749 </paramlist>
5750 </method>
5751 <method name="Detach" type="" overloaded="no">
5752 <autodoc>Detach(self)</autodoc>
5753 </method>
5754 <method name="IsAttached" type="bool" overloaded="no">
5755 <autodoc>IsAttached(self) -&gt; bool</autodoc>
5756 </method>
5757 <method name="SetParent" type="" overloaded="no">
5758 <autodoc>SetParent(self, Menu parent)</autodoc>
5759 <paramlist>
5760 <param name="parent" type="Menu" default=""/>
5761 </paramlist>
5762 </method>
5763 <method name="GetParent" type="Menu" overloaded="no">
5764 <autodoc>GetParent(self) -&gt; Menu</autodoc>
5765 </method>
5766 </class>
5767 <pythoncode>
5768 #---------------------------------------------------------------------------
5769 </pythoncode>
5770 <class name="MenuBar" oldname="wxMenuBar" module="_core">
5771 <baseclass name="Window"/>
5772 <constructor name="MenuBar" overloaded="no">
5773 <autodoc>__init__(self, long style=0) -&gt; MenuBar</autodoc>
5774 <paramlist>
5775 <param name="style" type="long" default="0"/>
5776 </paramlist>
5777 </constructor>
5778 <method name="Append" type="bool" overloaded="no">
5779 <autodoc>Append(self, Menu menu, String title) -&gt; bool</autodoc>
5780 <paramlist>
5781 <param name="menu" type="Menu" default=""/>
5782 <param name="title" type="String" default=""/>
5783 </paramlist>
5784 </method>
5785 <method name="Insert" type="bool" overloaded="no">
5786 <autodoc>Insert(self, size_t pos, Menu menu, String title) -&gt; bool</autodoc>
5787 <paramlist>
5788 <param name="pos" type="size_t" default=""/>
5789 <param name="menu" type="Menu" default=""/>
5790 <param name="title" type="String" default=""/>
5791 </paramlist>
5792 </method>
5793 <method name="GetMenuCount" type="size_t" overloaded="no">
5794 <autodoc>GetMenuCount(self) -&gt; size_t</autodoc>
5795 </method>
5796 <method name="GetMenu" type="Menu" overloaded="no">
5797 <autodoc>GetMenu(self, size_t pos) -&gt; Menu</autodoc>
5798 <paramlist>
5799 <param name="pos" type="size_t" default=""/>
5800 </paramlist>
5801 </method>
5802 <method name="Replace" type="Menu" overloaded="no">
5803 <autodoc>Replace(self, size_t pos, Menu menu, String title) -&gt; Menu</autodoc>
5804 <paramlist>
5805 <param name="pos" type="size_t" default=""/>
5806 <param name="menu" type="Menu" default=""/>
5807 <param name="title" type="String" default=""/>
5808 </paramlist>
5809 </method>
5810 <method name="Remove" type="Menu" overloaded="no">
5811 <autodoc>Remove(self, size_t pos) -&gt; Menu</autodoc>
5812 <paramlist>
5813 <param name="pos" type="size_t" default=""/>
5814 </paramlist>
5815 </method>
5816 <method name="EnableTop" type="" overloaded="no">
5817 <autodoc>EnableTop(self, size_t pos, bool enable)</autodoc>
5818 <paramlist>
5819 <param name="pos" type="size_t" default=""/>
5820 <param name="enable" type="bool" default=""/>
5821 </paramlist>
5822 </method>
5823 <method name="IsEnabledTop" type="bool" overloaded="no">
5824 <autodoc>IsEnabledTop(self, size_t pos) -&gt; bool</autodoc>
5825 <paramlist>
5826 <param name="pos" type="size_t" default=""/>
5827 </paramlist>
5828 </method>
5829 <method name="SetLabelTop" type="" overloaded="no">
5830 <autodoc>SetLabelTop(self, size_t pos, String label)</autodoc>
5831 <paramlist>
5832 <param name="pos" type="size_t" default=""/>
5833 <param name="label" type="String" default=""/>
5834 </paramlist>
5835 </method>
5836 <method name="GetLabelTop" type="String" overloaded="no">
5837 <autodoc>GetLabelTop(self, size_t pos) -&gt; String</autodoc>
5838 <paramlist>
5839 <param name="pos" type="size_t" default=""/>
5840 </paramlist>
5841 </method>
5842 <method name="FindMenuItem" type="int" overloaded="no">
5843 <autodoc>FindMenuItem(self, String menu, String item) -&gt; int</autodoc>
5844 <paramlist>
5845 <param name="menu" type="String" default=""/>
5846 <param name="item" type="String" default=""/>
5847 </paramlist>
5848 </method>
5849 <method name="FindItemById" type="wxMenuItem" overloaded="no">
5850 <autodoc>FindItemById(self, int id) -&gt; MenuItem</autodoc>
5851 <paramlist>
5852 <param name="id" type="int" default=""/>
5853 </paramlist>
5854 </method>
5855 <method name="FindMenu" type="int" overloaded="no">
5856 <autodoc>FindMenu(self, String title) -&gt; int</autodoc>
5857 <paramlist>
5858 <param name="title" type="String" default=""/>
5859 </paramlist>
5860 </method>
5861 <method name="Enable" type="" overloaded="no">
5862 <autodoc>Enable(self, int id, bool enable)</autodoc>
5863 <paramlist>
5864 <param name="id" type="int" default=""/>
5865 <param name="enable" type="bool" default=""/>
5866 </paramlist>
5867 </method>
5868 <method name="Check" type="" overloaded="no">
5869 <autodoc>Check(self, int id, bool check)</autodoc>
5870 <paramlist>
5871 <param name="id" type="int" default=""/>
5872 <param name="check" type="bool" default=""/>
5873 </paramlist>
5874 </method>
5875 <method name="IsChecked" type="bool" overloaded="no">
5876 <autodoc>IsChecked(self, int id) -&gt; bool</autodoc>
5877 <paramlist>
5878 <param name="id" type="int" default=""/>
5879 </paramlist>
5880 </method>
5881 <method name="IsEnabled" type="bool" overloaded="no">
5882 <autodoc>IsEnabled(self, int id) -&gt; bool</autodoc>
5883 <paramlist>
5884 <param name="id" type="int" default=""/>
5885 </paramlist>
5886 </method>
5887 <method name="SetLabel" type="" overloaded="no">
5888 <autodoc>SetLabel(self, int id, String label)</autodoc>
5889 <paramlist>
5890 <param name="id" type="int" default=""/>
5891 <param name="label" type="String" default=""/>
5892 </paramlist>
5893 </method>
5894 <method name="GetLabel" type="String" overloaded="no">
5895 <autodoc>GetLabel(self, int id) -&gt; String</autodoc>
5896 <paramlist>
5897 <param name="id" type="int" default=""/>
5898 </paramlist>
5899 </method>
5900 <method name="SetHelpString" type="" overloaded="no">
5901 <autodoc>SetHelpString(self, int id, String helpString)</autodoc>
5902 <paramlist>
5903 <param name="id" type="int" default=""/>
5904 <param name="helpString" type="String" default=""/>
5905 </paramlist>
5906 </method>
5907 <method name="GetHelpString" type="String" overloaded="no">
5908 <autodoc>GetHelpString(self, int id) -&gt; String</autodoc>
5909 <paramlist>
5910 <param name="id" type="int" default=""/>
5911 </paramlist>
5912 </method>
5913 <method name="GetFrame" type="wxFrame" overloaded="no">
5914 <autodoc>GetFrame(self) -&gt; wxFrame</autodoc>
5915 </method>
5916 <method name="IsAttached" type="bool" overloaded="no">
5917 <autodoc>IsAttached(self) -&gt; bool</autodoc>
5918 </method>
5919 <method name="Attach" type="" overloaded="no">
5920 <autodoc>Attach(self, wxFrame frame)</autodoc>
5921 <paramlist>
5922 <param name="frame" type="wxFrame" default=""/>
5923 </paramlist>
5924 </method>
5925 <method name="Detach" type="" overloaded="no">
5926 <autodoc>Detach(self)</autodoc>
5927 </method>
5928 </class>
5929 <pythoncode>
5930 #---------------------------------------------------------------------------
5931 </pythoncode>
5932 <class name="MenuItem" oldname="wxMenuItem" module="_core">
5933 <baseclass name="Object"/>
5934 <constructor name="MenuItem" overloaded="no">
5935 <autodoc>__init__(self, Menu parentMenu=None, int id=ID_ANY, String text=EmptyString,
5936 String help=EmptyString, int kind=ITEM_NORMAL,
5937 Menu subMenu=None) -&gt; MenuItem</autodoc>
5938 <paramlist>
5939 <param name="parentMenu" type="Menu" default="NULL"/>
5940 <param name="id" type="int" default="wxID_ANY"/>
5941 <param name="text" type="String" default="wxPyEmptyString"/>
5942 <param name="help" type="String" default="wxPyEmptyString"/>
5943 <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
5944 <param name="subMenu" type="Menu" default="NULL"/>
5945 </paramlist>
5946 </constructor>
5947 <method name="GetMenu" type="Menu" overloaded="no">
5948 <autodoc>GetMenu(self) -&gt; Menu</autodoc>
5949 </method>
5950 <method name="SetMenu" type="" overloaded="no">
5951 <autodoc>SetMenu(self, Menu menu)</autodoc>
5952 <paramlist>
5953 <param name="menu" type="Menu" default=""/>
5954 </paramlist>
5955 </method>
5956 <method name="SetId" type="" overloaded="no">
5957 <autodoc>SetId(self, int id)</autodoc>
5958 <paramlist>
5959 <param name="id" type="int" default=""/>
5960 </paramlist>
5961 </method>
5962 <method name="GetId" type="int" overloaded="no">
5963 <autodoc>GetId(self) -&gt; int</autodoc>
5964 </method>
5965 <method name="IsSeparator" type="bool" overloaded="no">
5966 <autodoc>IsSeparator(self) -&gt; bool</autodoc>
5967 </method>
5968 <method name="SetText" type="" overloaded="no">
5969 <autodoc>SetText(self, String str)</autodoc>
5970 <paramlist>
5971 <param name="str" type="String" default=""/>
5972 </paramlist>
5973 </method>
5974 <method name="GetLabel" type="String" overloaded="no">
5975 <autodoc>GetLabel(self) -&gt; String</autodoc>
5976 </method>
5977 <method name="GetText" type="String" overloaded="no">
5978 <autodoc>GetText(self) -&gt; String</autodoc>
5979 </method>
5980 <staticmethod name="GetLabelFromText" type="String" overloaded="no">
5981 <autodoc>GetLabelFromText(String text) -&gt; String</autodoc>
5982 <paramlist>
5983 <param name="text" type="String" default=""/>
5984 </paramlist>
5985 </staticmethod>
5986 <method name="GetKind" type="wxItemKind" overloaded="no">
5987 <autodoc>GetKind(self) -&gt; int</autodoc>
5988 </method>
5989 <method name="SetKind" type="" overloaded="no">
5990 <autodoc>SetKind(self, int kind)</autodoc>
5991 <paramlist>
5992 <param name="kind" type="wxItemKind" default=""/>
5993 </paramlist>
5994 </method>
5995 <method name="SetCheckable" type="" overloaded="no">
5996 <autodoc>SetCheckable(self, bool checkable)</autodoc>
5997 <paramlist>
5998 <param name="checkable" type="bool" default=""/>
5999 </paramlist>
6000 </method>
6001 <method name="IsCheckable" type="bool" overloaded="no">
6002 <autodoc>IsCheckable(self) -&gt; bool</autodoc>
6003 </method>
6004 <method name="IsSubMenu" type="bool" overloaded="no">
6005 <autodoc>IsSubMenu(self) -&gt; bool</autodoc>
6006 </method>
6007 <method name="SetSubMenu" type="" overloaded="no">
6008 <autodoc>SetSubMenu(self, Menu menu)</autodoc>
6009 <paramlist>
6010 <param name="menu" type="Menu" default=""/>
6011 </paramlist>
6012 </method>
6013 <method name="GetSubMenu" type="Menu" overloaded="no">
6014 <autodoc>GetSubMenu(self) -&gt; Menu</autodoc>
6015 </method>
6016 <method name="Enable" type="" overloaded="no">
6017 <autodoc>Enable(self, bool enable=True)</autodoc>
6018 <paramlist>
6019 <param name="enable" type="bool" default="True"/>
6020 </paramlist>
6021 </method>
6022 <method name="IsEnabled" type="bool" overloaded="no">
6023 <autodoc>IsEnabled(self) -&gt; bool</autodoc>
6024 </method>
6025 <method name="Check" type="" overloaded="no">
6026 <autodoc>Check(self, bool check=True)</autodoc>
6027 <paramlist>
6028 <param name="check" type="bool" default="True"/>
6029 </paramlist>
6030 </method>
6031 <method name="IsChecked" type="bool" overloaded="no">
6032 <autodoc>IsChecked(self) -&gt; bool</autodoc>
6033 </method>
6034 <method name="Toggle" type="" overloaded="no">
6035 <autodoc>Toggle(self)</autodoc>
6036 </method>
6037 <method name="SetHelp" type="" overloaded="no">
6038 <autodoc>SetHelp(self, String str)</autodoc>
6039 <paramlist>
6040 <param name="str" type="String" default=""/>
6041 </paramlist>
6042 </method>
6043 <method name="GetHelp" type="String" overloaded="no">
6044 <autodoc>GetHelp(self) -&gt; String</autodoc>
6045 </method>
6046 <method name="GetAccel" type="AcceleratorEntry" overloaded="no">
6047 <autodoc>GetAccel(self) -&gt; AcceleratorEntry</autodoc>
6048 </method>
6049 <method name="SetAccel" type="" overloaded="no">
6050 <autodoc>SetAccel(self, AcceleratorEntry accel)</autodoc>
6051 <paramlist>
6052 <param name="accel" type="AcceleratorEntry" default=""/>
6053 </paramlist>
6054 </method>
6055 <staticmethod name="GetDefaultMarginWidth" type="int" overloaded="no">
6056 <autodoc>GetDefaultMarginWidth() -&gt; int</autodoc>
6057 </staticmethod>
6058 <method name="SetBitmap" type="" overloaded="no">
6059 <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc>
6060 <paramlist>
6061 <param name="bitmap" type="wxBitmap" default=""/>
6062 </paramlist>
6063 </method>
6064 <method name="GetBitmap" type="wxBitmap" overloaded="no">
6065 <autodoc>GetBitmap(self) -&gt; Bitmap</autodoc>
6066 </method>
6067 </class>
6068 <pythoncode>
6069 #---------------------------------------------------------------------------
6070 </pythoncode>
6071 <class name="Control" oldname="wxControl" module="_core">
6072 <docstring>This is the base class for a control or 'widget'.
6073
6074 A control is generally a small window which processes user input
6075 and/or displays one or more item of data.</docstring>
6076 <baseclass name="Window"/>
6077 <constructor name="Control" overloaded="no">
6078 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
6079 Size size=DefaultSize, long style=0, Validator validator=DefaultValidator,
6080 String name=ControlNameStr) -&gt; Control</autodoc>
6081 <docstring>Create a Control. Normally you should only call this from a subclass'
6082 __init__ as a plain old wx.Control is not very useful.</docstring>
6083 <paramlist>
6084 <param name="parent" type="Window" default=""/>
6085 <param name="id" type="int" default="-1"/>
6086 <param name="pos" type="Point" default="wxDefaultPosition"/>
6087 <param name="size" type="Size" default="wxDefaultSize"/>
6088 <param name="style" type="long" default="0"/>
6089 <param name="validator" type="Validator" default="wxDefaultValidator"/>
6090 <param name="name" type="String" default="wxPyControlNameStr"/>
6091 </paramlist>
6092 </constructor>
6093 <constructor name="PreControl" overloaded="no">
6094 <autodoc>PreControl() -&gt; Control</autodoc>
6095 <docstring>Precreate a Control control for 2-phase creation</docstring>
6096 </constructor>
6097 <method name="Create" type="bool" overloaded="no">
6098 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
6099 Size size=DefaultSize, long style=0, Validator validator=DefaultValidator,
6100 String name=ControlNameStr) -&gt; bool</autodoc>
6101 <docstring>Do the 2nd phase and create the GUI control.</docstring>
6102 <paramlist>
6103 <param name="parent" type="Window" default=""/>
6104 <param name="id" type="int" default="-1"/>
6105 <param name="pos" type="Point" default="wxDefaultPosition"/>
6106 <param name="size" type="Size" default="wxDefaultSize"/>
6107 <param name="style" type="long" default="0"/>
6108 <param name="validator" type="Validator" default="wxDefaultValidator"/>
6109 <param name="name" type="String" default="wxPyControlNameStr"/>
6110 </paramlist>
6111 </method>
6112 <method name="Command" type="" overloaded="no">
6113 <autodoc>Command(self, CommandEvent event)</autodoc>
6114 <docstring>Simulates the effect of the user issuing a command to the item.
6115
6116 :see: `wx.CommandEvent`
6117 </docstring>
6118 <paramlist>
6119 <param name="event" type="CommandEvent" default=""/>
6120 </paramlist>
6121 </method>
6122 <method name="GetLabel" type="String" overloaded="no">
6123 <autodoc>GetLabel(self) -&gt; String</autodoc>
6124 <docstring>Return a control's text.</docstring>
6125 </method>
6126 <method name="SetLabel" type="" overloaded="no">
6127 <autodoc>SetLabel(self, String label)</autodoc>
6128 <docstring>Sets the item's text.</docstring>
6129 <paramlist>
6130 <param name="label" type="String" default=""/>
6131 </paramlist>
6132 </method>
6133 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
6134 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
6135 <docstring>Get the default attributes for this class. This is useful if you want
6136 to use the same font or colour in your own control as in a standard
6137 control -- which is a much better idea than hard coding specific
6138 colours or fonts which might look completely out of place on the
6139 user's system, especially if it uses themes.
6140
6141 The variant parameter is only relevant under Mac currently and is
6142 ignore under other platforms. Under Mac, it will change the size of
6143 the returned font. See `wx.Window.SetWindowVariant` for more about
6144 this.</docstring>
6145 <paramlist>
6146 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
6147 </paramlist>
6148 </staticmethod>
6149 </class>
6150 <pythoncode>
6151 #---------------------------------------------------------------------------
6152 </pythoncode>
6153 <class name="ItemContainer" oldname="wxItemContainer" module="_core">
6154 <docstring>wx.ItemContainer defines an interface which is implemented by all
6155 controls which have string subitems, each of which may be selected,
6156 such as `wx.ListBox`, `wx.CheckListBox`, `wx.Choice` as well as
6157 `wx.ComboBox` which implements an extended interface deriving from
6158 this one.
6159
6160 It defines the methods for accessing the control's items and although
6161 each of the derived classes implements them differently, they still
6162 all conform to the same interface.
6163
6164 The items in a wx.ItemContainer have (non empty) string labels and,
6165 optionally, client data associated with them.
6166 </docstring>
6167 <method name="Append" type="int" overloaded="no">
6168 <autodoc>Append(self, String item, PyObject clientData=None) -&gt; int</autodoc>
6169 <docstring>Adds the item to the control, associating the given data with the item
6170 if not None. The return value is the index of the newly added item
6171 which may be different from the last one if the control is sorted (e.g.
6172 has wx.LB_SORT or wx.CB_SORT style).</docstring>
6173 <paramlist>
6174 <param name="item" type="String" default=""/>
6175 <param name="clientData" type="PyObject" default="NULL"/>
6176 </paramlist>
6177 </method>
6178 <method name="AppendItems" type="" overloaded="no">
6179 <autodoc>AppendItems(self, wxArrayString strings)</autodoc>
6180 <docstring>Apend several items at once to the control. Notice that calling this
6181 method may be much faster than appending the items one by one if you
6182 need to add a lot of items.</docstring>
6183 <paramlist>
6184 <param name="strings" type="wxArrayString" default=""/>
6185 </paramlist>
6186 </method>
6187 <method name="Insert" type="int" overloaded="no">
6188 <autodoc>Insert(self, String item, int pos, PyObject clientData=None) -&gt; int</autodoc>
6189 <docstring>Insert an item into the control before the item at the ``pos`` index,
6190 optionally associating some data object with the item.</docstring>
6191 <paramlist>
6192 <param name="item" type="String" default=""/>
6193 <param name="pos" type="int" default=""/>
6194 <param name="clientData" type="PyObject" default="NULL"/>
6195 </paramlist>
6196 </method>
6197 <method name="Clear" type="" overloaded="no">
6198 <autodoc>Clear(self)</autodoc>
6199 <docstring>Removes all items from the control.</docstring>
6200 </method>
6201 <method name="Delete" type="" overloaded="no">
6202 <autodoc>Delete(self, int n)</autodoc>
6203 <docstring>Deletes the item at the zero-based index 'n' from the control. Note
6204 that it is an error (signalled by a `wx.PyAssertionError` exception if
6205 enabled) to remove an item with the index negative or greater or equal
6206 than the number of items in the control.</docstring>
6207 <paramlist>
6208 <param name="n" type="int" default=""/>
6209 </paramlist>
6210 </method>
6211 <method name="GetCount" type="int" overloaded="no">
6212 <autodoc>GetCount(self) -&gt; int</autodoc>
6213 <docstring>Returns the number of items in the control.</docstring>
6214 </method>
6215 <method name="IsEmpty" type="bool" overloaded="no">
6216 <autodoc>IsEmpty(self) -&gt; bool</autodoc>
6217 <docstring>Returns True if the control is empty or False if it has some items.</docstring>
6218 </method>
6219 <method name="GetString" type="String" overloaded="no">
6220 <autodoc>GetString(self, int n) -&gt; String</autodoc>
6221 <docstring>Returns the label of the item with the given index.</docstring>
6222 <paramlist>
6223 <param name="n" type="int" default=""/>
6224 </paramlist>
6225 </method>
6226 <method name="GetStrings" type="wxArrayString" overloaded="no">
6227 <autodoc>GetStrings(self) -&gt; wxArrayString</autodoc>
6228 </method>
6229 <method name="SetString" type="" overloaded="no">
6230 <autodoc>SetString(self, int n, String s)</autodoc>
6231 <docstring>Sets the label for the given item.</docstring>
6232 <paramlist>
6233 <param name="n" type="int" default=""/>
6234 <param name="s" type="String" default=""/>
6235 </paramlist>
6236 </method>
6237 <method name="FindString" type="int" overloaded="no">
6238 <autodoc>FindString(self, String s) -&gt; int</autodoc>
6239 <docstring>Finds an item whose label matches the given string. Returns the
6240 zero-based position of the item, or ``wx.NOT_FOUND`` if the string was not
6241 found.</docstring>
6242 <paramlist>
6243 <param name="s" type="String" default=""/>
6244 </paramlist>
6245 </method>
6246 <method name="Select" type="" overloaded="no">
6247 <autodoc>Select(self, int n)</autodoc>
6248 <docstring>Sets the item at index 'n' to be the selected item.</docstring>
6249 <paramlist>
6250 <param name="n" type="int" default=""/>
6251 </paramlist>
6252 </method>
6253 <method name="GetSelection" type="int" overloaded="no">
6254 <autodoc>GetSelection(self) -&gt; int</autodoc>
6255 <docstring>Returns the index of the selected item or ``wx.NOT_FOUND`` if no item
6256 is selected.</docstring>
6257 </method>
6258 <method name="GetStringSelection" type="String" overloaded="no">
6259 <autodoc>GetStringSelection(self) -&gt; String</autodoc>
6260 <docstring>Returns the label of the selected item or an empty string if no item
6261 is selected.</docstring>
6262 </method>
6263 <method name="GetClientData" type="PyObject" overloaded="no">
6264 <autodoc>GetClientData(self, int n) -&gt; PyObject</autodoc>
6265 <docstring>Returns the client data associated with the given item, (if any.)</docstring>
6266 <paramlist>
6267 <param name="n" type="int" default=""/>
6268 </paramlist>
6269 </method>
6270 <method name="SetClientData" type="" overloaded="no">
6271 <autodoc>SetClientData(self, int n, PyObject clientData)</autodoc>
6272 <docstring>Associate the given client data with the item at position n.</docstring>
6273 <paramlist>
6274 <param name="n" type="int" default=""/>
6275 <param name="clientData" type="PyObject" default=""/>
6276 </paramlist>
6277 </method>
6278 </class>
6279 <pythoncode>
6280 #---------------------------------------------------------------------------
6281 </pythoncode>
6282 <class name="ControlWithItems" oldname="wxControlWithItems" module="_core">
6283 <docstring>wx.ControlWithItems combines the ``wx.ItemContainer`` class with the
6284 wx.Control class, and is used for the base class of various controls
6285 that have items.</docstring>
6286 <baseclass name="Control"/>
6287 <baseclass name="ItemContainer"/>
6288 </class>
6289 <pythoncode>
6290 #---------------------------------------------------------------------------
6291 </pythoncode>
6292 <class name="SizerItem" oldname="wxSizerItem" module="_core">
6293 <docstring>The wx.SizerItem class is used to track the position, size and other
6294 attributes of each item managed by a `wx.Sizer`. In normal usage user
6295 code should never need to deal directly with a wx.SizerItem, but
6296 custom classes derived from `wx.PySizer` will probably need to use the
6297 collection of wx.SizerItems held by wx.Sizer when calculating layout.
6298
6299 :see: `wx.Sizer`, `wx.GBSizerItem`</docstring>
6300 <baseclass name="Object"/>
6301 <constructor name="SizerItem" overloaded="no">
6302 <autodoc>__init__(self) -&gt; SizerItem</autodoc>
6303 <docstring>Constructs an empty wx.SizerItem. Either a window, sizer or spacer
6304 size will need to be set before this item can be used in a Sizer.
6305
6306 You will probably never need to create a wx.SizerItem directly as they
6307 are created automatically when the sizer's Add, Insert or Prepend
6308 methods are called.
6309
6310 :see: `wx.SizerItemSpacer`, `wx.SizerItemWindow`, `wx.SizerItemSizer`</docstring>
6311 </constructor>
6312 <constructor name="SizerItemWindow" overloaded="no">
6313 <autodoc>SizerItemWindow(Window window, int proportion, int flag, int border,
6314 PyObject userData=None) -&gt; SizerItem</autodoc>
6315 <docstring>Constructs a `wx.SizerItem` for tracking a window.</docstring>
6316 <paramlist>
6317 <param name="window" type="Window" default=""/>
6318 <param name="proportion" type="int" default=""/>
6319 <param name="flag" type="int" default=""/>
6320 <param name="border" type="int" default=""/>
6321 <param name="userData" type="PyObject" default="NULL"/>
6322 </paramlist>
6323 </constructor>
6324 <constructor name="SizerItemSpacer" overloaded="no">
6325 <autodoc>SizerItemSpacer(int width, int height, int proportion, int flag, int border,
6326 PyObject userData=None) -&gt; SizerItem</autodoc>
6327 <docstring>Constructs a `wx.SizerItem` for tracking a spacer.</docstring>
6328 <paramlist>
6329 <param name="width" type="int" default=""/>
6330 <param name="height" type="int" default=""/>
6331 <param name="proportion" type="int" default=""/>
6332 <param name="flag" type="int" default=""/>
6333 <param name="border" type="int" default=""/>
6334 <param name="userData" type="PyObject" default="NULL"/>
6335 </paramlist>
6336 </constructor>
6337 <constructor name="SizerItemSizer" overloaded="no">
6338 <autodoc>SizerItemSizer(Sizer sizer, int proportion, int flag, int border,
6339 PyObject userData=None) -&gt; SizerItem</autodoc>
6340 <docstring>Constructs a `wx.SizerItem` for tracking a subsizer</docstring>
6341 <paramlist>
6342 <param name="sizer" type="wxSizer" default=""/>
6343 <param name="proportion" type="int" default=""/>
6344 <param name="flag" type="int" default=""/>
6345 <param name="border" type="int" default=""/>
6346 <param name="userData" type="PyObject" default="NULL"/>
6347 </paramlist>
6348 </constructor>
6349 <method name="DeleteWindows" type="" overloaded="no">
6350 <autodoc>DeleteWindows(self)</autodoc>
6351 <docstring>Destroy the window or the windows in a subsizer, depending on the type
6352 of item.</docstring>
6353 </method>
6354 <method name="DetachSizer" type="" overloaded="no">
6355 <autodoc>DetachSizer(self)</autodoc>
6356 <docstring>Enable deleting the SizerItem without destroying the contained sizer.</docstring>
6357 </method>
6358 <method name="GetSize" type="Size" overloaded="no">
6359 <autodoc>GetSize(self) -&gt; Size</autodoc>
6360 <docstring>Get the current size of the item, as set in the last Layout.</docstring>
6361 </method>
6362 <method name="CalcMin" type="Size" overloaded="no">
6363 <autodoc>CalcMin(self) -&gt; Size</autodoc>
6364 <docstring>Calculates the minimum desired size for the item, including any space
6365 needed by borders.</docstring>
6366 </method>
6367 <method name="SetDimension" type="" overloaded="no">
6368 <autodoc>SetDimension(self, Point pos, Size size)</autodoc>
6369 <docstring>Set the position and size of the space allocated for this item by the
6370 sizer, and adjust the position and size of the item (window or
6371 subsizer) to be within that space taking alignment and borders into
6372 account.</docstring>
6373 <paramlist>
6374 <param name="pos" type="Point" default=""/>
6375 <param name="size" type="Size" default=""/>
6376 </paramlist>
6377 </method>
6378 <method name="GetMinSize" type="Size" overloaded="no">
6379 <autodoc>GetMinSize(self) -&gt; Size</autodoc>
6380 <docstring>Get the minimum size needed for the item.</docstring>
6381 </method>
6382 <method name="SetInitSize" type="" overloaded="no">
6383 <autodoc>SetInitSize(self, int x, int y)</autodoc>
6384 <paramlist>
6385 <param name="x" type="int" default=""/>
6386 <param name="y" type="int" default=""/>
6387 </paramlist>
6388 </method>
6389 <method name="SetRatioWH" type="" overloaded="no">
6390 <autodoc>SetRatioWH(self, int width, int height)</autodoc>
6391 <docstring>Set the ratio item attribute.</docstring>
6392 <paramlist>
6393 <param name="width" type="int" default=""/>
6394 <param name="height" type="int" default=""/>
6395 </paramlist>
6396 </method>
6397 <method name="SetRatioSize" type="" overloaded="no">
6398 <autodoc>SetRatioSize(self, Size size)</autodoc>
6399 <docstring>Set the ratio item attribute.</docstring>
6400 <paramlist>
6401 <param name="size" type="Size" default=""/>
6402 </paramlist>
6403 </method>
6404 <method name="SetRatio" type="" overloaded="no">
6405 <autodoc>SetRatio(self, float ratio)</autodoc>
6406 <docstring>Set the ratio item attribute.</docstring>
6407 <paramlist>
6408 <param name="ratio" type="float" default=""/>
6409 </paramlist>
6410 </method>
6411 <method name="GetRatio" type="float" overloaded="no">
6412 <autodoc>GetRatio(self) -&gt; float</autodoc>
6413 <docstring>Set the ratio item attribute.</docstring>
6414 </method>
6415 <method name="IsWindow" type="bool" overloaded="no">
6416 <autodoc>IsWindow(self) -&gt; bool</autodoc>
6417 <docstring>Is this sizer item a window?</docstring>
6418 </method>
6419 <method name="IsSizer" type="bool" overloaded="no">
6420 <autodoc>IsSizer(self) -&gt; bool</autodoc>
6421 <docstring>Is this sizer item a subsizer?</docstring>
6422 </method>
6423 <method name="IsSpacer" type="bool" overloaded="no">
6424 <autodoc>IsSpacer(self) -&gt; bool</autodoc>
6425 <docstring>Is this sizer item a spacer?</docstring>
6426 </method>
6427 <method name="SetProportion" type="" overloaded="no">
6428 <autodoc>SetProportion(self, int proportion)</autodoc>
6429 <docstring>Set the proportion value for this item.</docstring>
6430 <paramlist>
6431 <param name="proportion" type="int" default=""/>
6432 </paramlist>
6433 </method>
6434 <method name="GetProportion" type="int" overloaded="no">
6435 <autodoc>GetProportion(self) -&gt; int</autodoc>
6436 <docstring>Get the proportion value for this item.</docstring>
6437 </method>
6438 <method name="SetFlag" type="" overloaded="no">
6439 <autodoc>SetFlag(self, int flag)</autodoc>
6440 <docstring>Set the flag value for this item.</docstring>
6441 <paramlist>
6442 <param name="flag" type="int" default=""/>
6443 </paramlist>
6444 </method>
6445 <method name="GetFlag" type="int" overloaded="no">
6446 <autodoc>GetFlag(self) -&gt; int</autodoc>
6447 <docstring>Get the flag value for this item.</docstring>
6448 </method>
6449 <method name="SetBorder" type="" overloaded="no">
6450 <autodoc>SetBorder(self, int border)</autodoc>
6451 <docstring>Set the border value for this item.</docstring>
6452 <paramlist>
6453 <param name="border" type="int" default=""/>
6454 </paramlist>
6455 </method>
6456 <method name="GetBorder" type="int" overloaded="no">
6457 <autodoc>GetBorder(self) -&gt; int</autodoc>
6458 <docstring>Get the border value for this item.</docstring>
6459 </method>
6460 <method name="GetWindow" type="Window" overloaded="no">
6461 <autodoc>GetWindow(self) -&gt; Window</autodoc>
6462 <docstring>Get the window (if any) that is managed by this sizer item.</docstring>
6463 </method>
6464 <method name="SetWindow" type="" overloaded="no">
6465 <autodoc>SetWindow(self, Window window)</autodoc>
6466 <docstring>Set the window to be managed by this sizer item.</docstring>
6467 <paramlist>
6468 <param name="window" type="Window" default=""/>
6469 </paramlist>
6470 </method>
6471 <method name="GetSizer" type="wxSizer" overloaded="no">
6472 <autodoc>GetSizer(self) -&gt; Sizer</autodoc>
6473 <docstring>Get the subsizer (if any) that is managed by this sizer item.</docstring>
6474 </method>
6475 <method name="SetSizer" type="" overloaded="no">
6476 <autodoc>SetSizer(self, Sizer sizer)</autodoc>
6477 <docstring>Set the subsizer to be managed by this sizer item.</docstring>
6478 <paramlist>
6479 <param name="sizer" type="wxSizer" default=""/>
6480 </paramlist>
6481 </method>
6482 <method name="GetSpacer" type="Size" overloaded="no">
6483 <autodoc>GetSpacer(self) -&gt; Size</autodoc>
6484 <docstring>Get the size of the spacer managed by this sizer item.</docstring>
6485 </method>
6486 <method name="SetSpacer" type="" overloaded="no">
6487 <autodoc>SetSpacer(self, Size size)</autodoc>
6488 <docstring>Set the size of the spacer to be managed by this sizer item.</docstring>
6489 <paramlist>
6490 <param name="size" type="Size" default=""/>
6491 </paramlist>
6492 </method>
6493 <method name="Show" type="" overloaded="no">
6494 <autodoc>Show(self, bool show)</autodoc>
6495 <docstring>Set the show item attribute, which sizers use to determine if the item
6496 is to be made part of the layout or not. If the item is tracking a
6497 window then it is shown or hidden as needed.</docstring>
6498 <paramlist>
6499 <param name="show" type="bool" default=""/>
6500 </paramlist>
6501 </method>
6502 <method name="IsShown" type="bool" overloaded="no">
6503 <autodoc>IsShown(self) -&gt; bool</autodoc>
6504 <docstring>Is the item to be shown in the layout?</docstring>
6505 </method>
6506 <method name="GetPosition" type="Point" overloaded="no">
6507 <autodoc>GetPosition(self) -&gt; Point</autodoc>
6508 <docstring>Returns the current position of the item, as set in the last Layout.</docstring>
6509 </method>
6510 <method name="GetUserData" type="PyObject" overloaded="no">
6511 <autodoc>GetUserData(self) -&gt; PyObject</autodoc>
6512 <docstring>Returns the userData associated with this sizer item, or None if there
6513 isn't any.</docstring>
6514 </method>
6515 </class>
6516 <class name="Sizer" oldname="wxSizer" module="_core">
6517 <docstring>wx.Sizer is the abstract base class used for laying out subwindows in
6518 a window. You cannot use wx.Sizer directly; instead, you will have to
6519 use one of the sizer classes derived from it such as `wx.BoxSizer`,
6520 `wx.StaticBoxSizer`, `wx.NotebookSizer`, `wx.GridSizer`, `wx.FlexGridSizer`
6521 and `wx.GridBagSizer`.
6522
6523 The concept implemented by sizers in wxWidgets is closely related to
6524 layout tools in other GUI toolkits, such as Java's AWT, the GTK
6525 toolkit or the Qt toolkit. It is based upon the idea of the individual
6526 subwindows reporting their minimal required size and their ability to
6527 get stretched if the size of the parent window has changed. This will
6528 most often mean that the programmer does not set the original size of
6529 a dialog in the beginning, rather the dialog will assigned a sizer and
6530 this sizer will be queried about the recommended size. The sizer in
6531 turn will query its children, which can be normal windows or contorls,
6532 empty space or other sizers, so that a hierarchy of sizers can be
6533 constructed. Note that wxSizer does not derive from wxWindow and thus
6534 do not interfere with tab ordering and requires very little resources
6535 compared to a real window on screen.
6536
6537 What makes sizers so well fitted for use in wxWidgets is the fact that
6538 every control reports its own minimal size and the algorithm can
6539 handle differences in font sizes or different window (dialog item)
6540 sizes on different platforms without problems. If for example the
6541 standard font as well as the overall design of Mac widgets requires
6542 more space than on Windows, then the initial size of a dialog using a
6543 sizer will automatically be bigger on Mac than on Windows.</docstring>
6544 <baseclass name="Object"/>
6545 <method name="_setOORInfo" type="" overloaded="no">
6546 <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
6547 <paramlist>
6548 <param name="_self" type="PyObject" default=""/>
6549 </paramlist>
6550 </method>
6551 <method name="Add" type="" overloaded="no">
6552 <autodoc>Add(self, item, int proportion=0, int flag=0, int border=0,
6553 PyObject userData=None)</autodoc>
6554 <docstring>Appends a child item to the sizer.</docstring>
6555 <paramlist>
6556 <param name="item" type="PyObject" default=""/>
6557 <param name="proportion" type="int" default="0"/>
6558 <param name="flag" type="int" default="0"/>
6559 <param name="border" type="int" default="0"/>
6560 <param name="userData" type="PyObject" default="NULL"/>
6561 </paramlist>
6562 </method>
6563 <method name="Insert" type="" overloaded="no">
6564 <autodoc>Insert(self, int before, item, int proportion=0, int flag=0, int border=0,
6565 PyObject userData=None)</autodoc>
6566 <docstring>Inserts a new item into the list of items managed by this sizer before
6567 the item at index *before*. See `Add` for a description of the parameters.</docstring>
6568 <paramlist>
6569 <param name="before" type="int" default=""/>
6570 <param name="item" type="PyObject" default=""/>
6571 <param name="proportion" type="int" default="0"/>
6572 <param name="flag" type="int" default="0"/>
6573 <param name="border" type="int" default="0"/>
6574 <param name="userData" type="PyObject" default="NULL"/>
6575 </paramlist>
6576 </method>
6577 <method name="Prepend" type="" overloaded="no">
6578 <autodoc>Prepend(self, item, int proportion=0, int flag=0, int border=0,
6579 PyObject userData=None)</autodoc>
6580 <docstring>Adds a new item to the begining of the list of sizer items managed by
6581 this sizer. See `Add` for a description of the parameters.</docstring>
6582 <paramlist>
6583 <param name="item" type="PyObject" default=""/>
6584 <param name="proportion" type="int" default="0"/>
6585 <param name="flag" type="int" default="0"/>
6586 <param name="border" type="int" default="0"/>
6587 <param name="userData" type="PyObject" default="NULL"/>
6588 </paramlist>
6589 </method>
6590 <method name="Remove" type="bool" overloaded="no">
6591 <autodoc>Remove(self, item) -&gt; bool</autodoc>
6592 <docstring>Removes an item from the sizer and destroys it. This method does not
6593 cause any layout or resizing to take place, call `Layout` to update
6594 the layout on screen after removing a child from the sizer. The
6595 *item* parameter can be either a window, a sizer, or the zero-based
6596 index of an item to remove. Returns True if the child item was found
6597 and removed.</docstring>
6598 <paramlist>
6599 <param name="item" type="PyObject" default=""/>
6600 </paramlist>
6601 </method>
6602 <method name="Detach" type="bool" overloaded="no">
6603 <autodoc>Detach(self, item) -&gt; bool</autodoc>
6604 <docstring>Detaches an item from the sizer without destroying it. This method
6605 does not cause any layout or resizing to take place, call `Layout` to
6606 do so. The *item* parameter can be either a window, a sizer, or the
6607 zero-based index of the item to be detached. Returns True if the child item
6608 was found and detached.</docstring>
6609 <paramlist>
6610 <param name="item" type="PyObject" default=""/>
6611 </paramlist>
6612 </method>
6613 <method name="_SetItemMinSize" type="" overloaded="no">
6614 <autodoc>_SetItemMinSize(self, PyObject item, Size size)</autodoc>
6615 <paramlist>
6616 <param name="item" type="PyObject" default=""/>
6617 <param name="size" type="Size" default=""/>
6618 </paramlist>
6619 </method>
6620 <method name="AddItem" type="" overloaded="no">
6621 <autodoc>AddItem(self, SizerItem item)</autodoc>
6622 <docstring>Adds a `wx.SizerItem` to the sizer.</docstring>
6623 <paramlist>
6624 <param name="item" type="SizerItem" default=""/>
6625 </paramlist>
6626 </method>
6627 <method name="InsertItem" type="" overloaded="no">
6628 <autodoc>InsertItem(self, int index, SizerItem item)</autodoc>
6629 <docstring>Inserts a `wx.SizerItem` to the sizer at the position given by *index*.</docstring>
6630 <paramlist>
6631 <param name="index" type="size_t" default=""/>
6632 <param name="item" type="SizerItem" default=""/>
6633 </paramlist>
6634 </method>
6635 <method name="PrependItem" type="" overloaded="no">
6636 <autodoc>PrependItem(self, SizerItem item)</autodoc>
6637 <docstring>Prepends a `wx.SizerItem` to the sizer.</docstring>
6638 <paramlist>
6639 <param name="item" type="SizerItem" default=""/>
6640 </paramlist>
6641 </method>
6642 <method name="SetDimension" type="" overloaded="no">
6643 <autodoc>SetDimension(self, int x, int y, int width, int height)</autodoc>
6644 <docstring>Call this to force the sizer to take the given dimension and thus
6645 force the items owned by the sizer to resize themselves according to
6646 the rules defined by the parameter in the `Add`, `Insert` or `Prepend`
6647 methods.</docstring>
6648 <paramlist>
6649 <param name="x" type="int" default=""/>
6650 <param name="y" type="int" default=""/>
6651 <param name="width" type="int" default=""/>
6652 <param name="height" type="int" default=""/>
6653 </paramlist>
6654 </method>
6655 <method name="SetMinSize" type="" overloaded="no">
6656 <autodoc>SetMinSize(self, Size size)</autodoc>
6657 <docstring>Call this to give the sizer a minimal size. Normally, the sizer will
6658 calculate its minimal size based purely on how much space its children
6659 need. After calling this method `GetMinSize` will return either the
6660 minimal size as requested by its children or the minimal size set
6661 here, depending on which is bigger.</docstring>
6662 <paramlist>
6663 <param name="size" type="Size" default=""/>
6664 </paramlist>
6665 </method>
6666 <method name="GetSize" type="Size" overloaded="no">
6667 <autodoc>GetSize(self) -&gt; Size</autodoc>
6668 <docstring>Returns the current size of the space managed by the sizer.</docstring>
6669 </method>
6670 <method name="GetPosition" type="Point" overloaded="no">
6671 <autodoc>GetPosition(self) -&gt; Point</autodoc>
6672 <docstring>Returns the current position of the sizer's managed space.</docstring>
6673 </method>
6674 <method name="GetMinSize" type="Size" overloaded="no">
6675 <autodoc>GetMinSize(self) -&gt; Size</autodoc>
6676 <docstring>Returns the minimal size of the sizer. This is either the combined
6677 minimal size of all the children and their borders or the minimal size
6678 set by SetMinSize, depending on which is bigger.</docstring>
6679 </method>
6680 <method name="RecalcSizes" type="" overloaded="no">
6681 <autodoc>RecalcSizes(self)</autodoc>
6682 <docstring>Using the sizes calculated by `CalcMin` reposition and resize all the
6683 items managed by this sizer. You should not need to call this directly as
6684 it is called by `Layout`.</docstring>
6685 </method>
6686 <method name="CalcMin" type="Size" overloaded="no">
6687 <autodoc>CalcMin(self) -&gt; Size</autodoc>
6688 <docstring>This method is where the sizer will do the actual calculation of its
6689 children's minimal sizes. You should not need to call this directly as
6690 it is called by `Layout`.</docstring>
6691 </method>
6692 <method name="Layout" type="" overloaded="no">
6693 <autodoc>Layout(self)</autodoc>
6694 <docstring>This method will force the recalculation and layout of the items
6695 controlled by the sizer using the current space allocated to the
6696 sizer. Normally this is called automatically from the owning window's
6697 EVT_SIZE handler, but it is also useful to call it from user code when
6698 one of the items in a sizer change size, or items are added or
6699 removed.</docstring>
6700 </method>
6701 <method name="Fit" type="Size" overloaded="no">
6702 <autodoc>Fit(self, Window window) -&gt; Size</autodoc>
6703 <docstring>Tell the sizer to resize the *window* to match the sizer's minimal
6704 size. This is commonly done in the constructor of the window itself in
6705 order to set its initial size to match the needs of the children as
6706 determined by the sizer. Returns the new size.
6707
6708 For a top level window this is the total window size, not the client size.</docstring>
6709 <paramlist>
6710 <param name="window" type="Window" default=""/>
6711 </paramlist>
6712 </method>
6713 <method name="FitInside" type="" overloaded="no">
6714 <autodoc>FitInside(self, Window window)</autodoc>
6715 <docstring>Tell the sizer to resize the *virtual size* of the *window* to match the
6716 sizer's minimal size. This will not alter the on screen size of the
6717 window, but may cause the addition/removal/alteration of scrollbars
6718 required to view the virtual area in windows which manage it.
6719
6720 :see: `wx.ScrolledWindow.SetScrollbars`, `SetVirtualSizeHints`
6721 </docstring>
6722 <paramlist>
6723 <param name="window" type="Window" default=""/>
6724 </paramlist>
6725 </method>
6726 <method name="SetSizeHints" type="" overloaded="no">
6727 <autodoc>SetSizeHints(self, Window window)</autodoc>
6728 <docstring>Tell the sizer to set (and `Fit`) the minimal size of the *window* to
6729 match the sizer's minimal size. This is commonly done in the
6730 constructor of the window itself if the window is resizable (as are
6731 many dialogs under Unix and frames on probably all platforms) in order
6732 to prevent the window from being sized smaller than the minimal size
6733 required by the sizer.</docstring>
6734 <paramlist>
6735 <param name="window" type="Window" default=""/>
6736 </paramlist>
6737 </method>
6738 <method name="SetVirtualSizeHints" type="" overloaded="no">
6739 <autodoc>SetVirtualSizeHints(self, Window window)</autodoc>
6740 <docstring>Tell the sizer to set the minimal size of the window virtual area to
6741 match the sizer's minimal size. For windows with managed scrollbars
6742 this will set them appropriately.
6743
6744 :see: `wx.ScrolledWindow.SetScrollbars`
6745 </docstring>
6746 <paramlist>
6747 <param name="window" type="Window" default=""/>
6748 </paramlist>
6749 </method>
6750 <method name="Clear" type="" overloaded="no">
6751 <autodoc>Clear(self, bool deleteWindows=False)</autodoc>
6752 <docstring>Clear all items from the sizer, optionally destroying the window items
6753 as well.</docstring>
6754 <paramlist>
6755 <param name="deleteWindows" type="bool" default="False"/>
6756 </paramlist>
6757 </method>
6758 <method name="DeleteWindows" type="" overloaded="no">
6759 <autodoc>DeleteWindows(self)</autodoc>
6760 <docstring>Destroy all windows managed by the sizer.</docstring>
6761 </method>
6762 <method name="GetChildren" type="PyObject" overloaded="no">
6763 <autodoc>GetChildren(sefl) -&gt; list</autodoc>
6764 <docstring>Returns a list of all the `wx.SizerItem` objects managed by the sizer.</docstring>
6765 </method>
6766 <method name="Show" type="" overloaded="no">
6767 <autodoc>Show(self, item, bool show=True)</autodoc>
6768 <docstring>Shows or hides an item managed by the sizer. To make a sizer item
6769 disappear or reappear, use Show followed by `Layout`. The *item*
6770 parameter can be either a window, a sizer, or the zero-based index of
6771 the item.</docstring>
6772 <paramlist>
6773 <param name="item" type="PyObject" default=""/>
6774 <param name="show" type="bool" default="True"/>
6775 </paramlist>
6776 </method>
6777 <method name="IsShown" type="bool" overloaded="no">
6778 <autodoc>IsShown(self, item)</autodoc>
6779 <docstring>Determines if the item is currently shown. sizer. To make a sizer
6780 item disappear or reappear, use Show followed by `Layout`. The *item*
6781 parameter can be either a window, a sizer, or the zero-based index of
6782 the item.</docstring>
6783 <paramlist>
6784 <param name="item" type="PyObject" default=""/>
6785 </paramlist>
6786 </method>
6787 <method name="ShowItems" type="" overloaded="no">
6788 <autodoc>ShowItems(self, bool show)</autodoc>
6789 <docstring>Recursively call `wx.Window.Show` on all sizer items.</docstring>
6790 <paramlist>
6791 <param name="show" type="bool" default=""/>
6792 </paramlist>
6793 </method>
6794 </class>
6795 <class name="PySizer" oldname="wxPySizer" module="_core">
6796 <docstring>wx.PySizer is a special version of `wx.Sizer` that has been
6797 instrumented to allow the C++ virtual methods to be overloaded in
6798 Python derived classes. You would derive from this class if you are
6799 wanting to implement a custom sizer in Python code. Simply implement
6800 `CalcMin` and `RecalcSizes` in the derived class and you're all set.
6801 For example::
6802
6803 class MySizer(wx.PySizer):
6804 def __init__(self):
6805 wx.PySizer.__init__(self)
6806
6807 def CalcMin(self):
6808 for item in self.GetChildren():
6809 # calculate the total minimum width and height needed
6810 # by all items in the sizer according to this sizer's
6811 # layout algorithm.
6812 ...
6813 return wx.Size(width, height)
6814
6815 def RecalcSizes(self):
6816 # find the space allotted to this sizer
6817 pos = self.GetPosition()
6818 size = self.GetSize()
6819 for item in self.GetChildren():
6820 # Recalculate (if necessary) the position and size of
6821 # each item and then call item.SetDimension to do the
6822 # actual positioning and sizing of the items within the
6823 # space alloted to this sizer.
6824 ...
6825 item.SetDimension(itemPos, itemSize)
6826
6827
6828 When `Layout` is called it first calls `CalcMin` followed by
6829 `RecalcSizes` so you can optimize a bit by saving the results of
6830 `CalcMin` and resuing them in `RecalcSizes`.
6831
6832 :see: `wx.SizerItem`, `wx.Sizer.GetChildren`
6833
6834 </docstring>
6835 <baseclass name="Sizer"/>
6836 <constructor name="PySizer" overloaded="no">
6837 <autodoc>__init__(self) -&gt; PySizer</autodoc>
6838 <docstring>Creates a wx.PySizer. Must be called from the __init__ in the derived
6839 class.</docstring>
6840 </constructor>
6841 <method name="_setCallbackInfo" type="" overloaded="no">
6842 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
6843 <paramlist>
6844 <param name="self" type="PyObject" default=""/>
6845 <param name="_class" type="PyObject" default=""/>
6846 </paramlist>
6847 </method>
6848 </class>
6849 <pythoncode>
6850 #---------------------------------------------------------------------------
6851 </pythoncode>
6852 <class name="BoxSizer" oldname="wxBoxSizer" module="_core">
6853 <docstring>The basic idea behind a box sizer is that windows will most often be
6854 laid out in rather simple basic geometry, typically in a row or a
6855 column or nested hierarchies of either. A wx.BoxSizer will lay out
6856 its items in a simple row or column, depending on the orientation
6857 parameter passed to the constructor.</docstring>
6858 <baseclass name="Sizer"/>
6859 <constructor name="BoxSizer" overloaded="no">
6860 <autodoc>__init__(self, int orient=HORIZONTAL) -&gt; BoxSizer</autodoc>
6861 <docstring>Constructor for a wx.BoxSizer. *orient* may be one of ``wx.VERTICAL``
6862 or ``wx.HORIZONTAL`` for creating either a column sizer or a row
6863 sizer.</docstring>
6864 <paramlist>
6865 <param name="orient" type="int" default="wxHORIZONTAL"/>
6866 </paramlist>
6867 </constructor>
6868 <method name="GetOrientation" type="int" overloaded="no">
6869 <autodoc>GetOrientation(self) -&gt; int</autodoc>
6870 <docstring>Returns the current orientation of the sizer.</docstring>
6871 </method>
6872 <method name="SetOrientation" type="" overloaded="no">
6873 <autodoc>SetOrientation(self, int orient)</autodoc>
6874 <docstring>Resets the orientation of the sizer.</docstring>
6875 <paramlist>
6876 <param name="orient" type="int" default=""/>
6877 </paramlist>
6878 </method>
6879 </class>
6880 <pythoncode>
6881 #---------------------------------------------------------------------------
6882 </pythoncode>
6883 <class name="StaticBoxSizer" oldname="wxStaticBoxSizer" module="_core">
6884 <docstring>wx.StaticBoxSizer derives from and functions identically to the
6885 `wx.BoxSizer` and adds a `wx.StaticBox` around the items that the sizer
6886 manages. Note that this static box must be created separately and
6887 passed to the sizer constructor.</docstring>
6888 <baseclass name="BoxSizer"/>
6889 <constructor name="StaticBoxSizer" overloaded="no">
6890 <autodoc>__init__(self, StaticBox box, int orient=HORIZONTAL) -&gt; StaticBoxSizer</autodoc>
6891 <docstring>Constructor. It takes an associated static box and the orientation
6892 *orient* as parameters - orient can be either of ``wx.VERTICAL`` or
6893 ``wx.HORIZONTAL``.</docstring>
6894 <paramlist>
6895 <param name="box" type="wxStaticBox" default=""/>
6896 <param name="orient" type="int" default="wxHORIZONTAL"/>
6897 </paramlist>
6898 </constructor>
6899 <method name="GetStaticBox" type="wxStaticBox" overloaded="no">
6900 <autodoc>GetStaticBox(self) -&gt; StaticBox</autodoc>
6901 <docstring>Returns the static box associated with this sizer.</docstring>
6902 </method>
6903 </class>
6904 <pythoncode>
6905 #---------------------------------------------------------------------------
6906 </pythoncode>
6907 <class name="GridSizer" oldname="wxGridSizer" module="_core">
6908 <docstring>A grid sizer is a sizer which lays out its children in a
6909 two-dimensional table with all cells having the same size. In other
6910 words, the width of each cell within the grid is the width of the
6911 widest item added to the sizer and the height of each grid cell is the
6912 height of the tallest item. An optional vertical and/or horizontal
6913 gap between items can also be specified (in pixels.)
6914
6915 Items are placed in the cells of the grid in the order they are added,
6916 in row-major order. In other words, the first row is filled first,
6917 then the second, and so on until all items have been added. (If
6918 neccessary, additional rows will be added as items are added.) If you
6919 need to have greater control over the cells that items are placed in
6920 then use the `wx.GridBagSizer`.
6921 </docstring>
6922 <baseclass name="Sizer"/>
6923 <constructor name="GridSizer" overloaded="no">
6924 <autodoc>__init__(self, int rows=1, int cols=0, int vgap=0, int hgap=0) -&gt; GridSizer</autodoc>
6925 <docstring>Constructor for a wx.GridSizer. *rows* and *cols* determine the number
6926 of columns and rows in the sizer - if either of the parameters is
6927 zero, it will be calculated to from the total number of children in
6928 the sizer, thus making the sizer grow dynamically. *vgap* and *hgap*
6929 define extra space between all children.</docstring>
6930 <paramlist>
6931 <param name="rows" type="int" default="1"/>
6932 <param name="cols" type="int" default="0"/>
6933 <param name="vgap" type="int" default="0"/>
6934 <param name="hgap" type="int" default="0"/>
6935 </paramlist>
6936 </constructor>
6937 <method name="SetCols" type="" overloaded="no">
6938 <autodoc>SetCols(self, int cols)</autodoc>
6939 <docstring>Sets the number of columns in the sizer.</docstring>
6940 <paramlist>
6941 <param name="cols" type="int" default=""/>
6942 </paramlist>
6943 </method>
6944 <method name="SetRows" type="" overloaded="no">
6945 <autodoc>SetRows(self, int rows)</autodoc>
6946 <docstring>Sets the number of rows in the sizer.</docstring>
6947 <paramlist>
6948 <param name="rows" type="int" default=""/>
6949 </paramlist>
6950 </method>
6951 <method name="SetVGap" type="" overloaded="no">
6952 <autodoc>SetVGap(self, int gap)</autodoc>
6953 <docstring>Sets the vertical gap (in pixels) between the cells in the sizer.</docstring>
6954 <paramlist>
6955 <param name="gap" type="int" default=""/>
6956 </paramlist>
6957 </method>
6958 <method name="SetHGap" type="" overloaded="no">
6959 <autodoc>SetHGap(self, int gap)</autodoc>
6960 <docstring>Sets the horizontal gap (in pixels) between cells in the sizer</docstring>
6961 <paramlist>
6962 <param name="gap" type="int" default=""/>
6963 </paramlist>
6964 </method>
6965 <method name="GetCols" type="int" overloaded="no">
6966 <autodoc>GetCols(self) -&gt; int</autodoc>
6967 <docstring>Returns the number of columns in the sizer.</docstring>
6968 </method>
6969 <method name="GetRows" type="int" overloaded="no">
6970 <autodoc>GetRows(self) -&gt; int</autodoc>
6971 <docstring>Returns the number of rows in the sizer.</docstring>
6972 </method>
6973 <method name="GetVGap" type="int" overloaded="no">
6974 <autodoc>GetVGap(self) -&gt; int</autodoc>
6975 <docstring>Returns the vertical gap (in pixels) between the cells in the sizer.</docstring>
6976 </method>
6977 <method name="GetHGap" type="int" overloaded="no">
6978 <autodoc>GetHGap(self) -&gt; int</autodoc>
6979 <docstring>Returns the horizontal gap (in pixels) between cells in the sizer.</docstring>
6980 </method>
6981 </class>
6982 <pythoncode>
6983 #---------------------------------------------------------------------------
6984 </pythoncode>
6985 <class name="FlexGridSizer" oldname="wxFlexGridSizer" module="_core">
6986 <docstring>A flex grid sizer is a sizer which lays out its children in a
6987 two-dimensional table with all table cells in one row having the same
6988 height and all cells in one column having the same width, but all
6989 rows or all columns are not necessarily the same height or width as in
6990 the `wx.GridSizer`.
6991
6992 wx.FlexGridSizer can also size items equally in one direction but
6993 unequally ("flexibly") in the other. If the sizer is only flexible
6994 in one direction (this can be changed using `SetFlexibleDirection`), it
6995 needs to be decided how the sizer should grow in the other ("non
6996 flexible") direction in order to fill the available space. The
6997 `SetNonFlexibleGrowMode` method serves this purpose.
6998
6999 </docstring>
7000 <baseclass name="GridSizer"/>
7001 <constructor name="FlexGridSizer" overloaded="no">
7002 <autodoc>__init__(self, int rows=1, int cols=0, int vgap=0, int hgap=0) -&gt; FlexGridSizer</autodoc>
7003 <docstring>Constructor for a wx.FlexGridSizer. *rows* and *cols* determine the
7004 number of columns and rows in the sizer - if either of the parameters
7005 is zero, it will be calculated to from the total number of children in
7006 the sizer, thus making the sizer grow dynamically. *vgap* and *hgap*
7007 define extra space between all children.</docstring>
7008 <paramlist>
7009 <param name="rows" type="int" default="1"/>
7010 <param name="cols" type="int" default="0"/>
7011 <param name="vgap" type="int" default="0"/>
7012 <param name="hgap" type="int" default="0"/>
7013 </paramlist>
7014 </constructor>
7015 <method name="AddGrowableRow" type="" overloaded="no">
7016 <autodoc>AddGrowableRow(self, size_t idx, int proportion=0)</autodoc>
7017 <docstring>Specifies that row *idx* (starting from zero) should be grown if there
7018 is extra space available to the sizer.
7019
7020 The *proportion* parameter has the same meaning as the stretch factor
7021 for the box sizers except that if all proportions are 0, then all
7022 columns are resized equally (instead of not being resized at all).</docstring>
7023 <paramlist>
7024 <param name="idx" type="size_t" default=""/>
7025 <param name="proportion" type="int" default="0"/>
7026 </paramlist>
7027 </method>
7028 <method name="RemoveGrowableRow" type="" overloaded="no">
7029 <autodoc>RemoveGrowableRow(self, size_t idx)</autodoc>
7030 <docstring>Specifies that row *idx* is no longer growable.</docstring>
7031 <paramlist>
7032 <param name="idx" type="size_t" default=""/>
7033 </paramlist>
7034 </method>
7035 <method name="AddGrowableCol" type="" overloaded="no">
7036 <autodoc>AddGrowableCol(self, size_t idx, int proportion=0)</autodoc>
7037 <docstring>Specifies that column *idx* (starting from zero) should be grown if
7038 there is extra space available to the sizer.
7039
7040 The *proportion* parameter has the same meaning as the stretch factor
7041 for the box sizers except that if all proportions are 0, then all
7042 columns are resized equally (instead of not being resized at all).</docstring>
7043 <paramlist>
7044 <param name="idx" type="size_t" default=""/>
7045 <param name="proportion" type="int" default="0"/>
7046 </paramlist>
7047 </method>
7048 <method name="RemoveGrowableCol" type="" overloaded="no">
7049 <autodoc>RemoveGrowableCol(self, size_t idx)</autodoc>
7050 <docstring>Specifies that column *idx* is no longer growable.</docstring>
7051 <paramlist>
7052 <param name="idx" type="size_t" default=""/>
7053 </paramlist>
7054 </method>
7055 <method name="SetFlexibleDirection" type="" overloaded="no">
7056 <autodoc>SetFlexibleDirection(self, int direction)</autodoc>
7057 <docstring>Specifies whether the sizer should flexibly resize its columns, rows,
7058 or both. Argument *direction* can be one of the following values. Any
7059 other value is ignored.
7060
7061 ============== =======================================
7062 wx.VERTICAL Rows are flexibly sized.
7063 wx.HORIZONTAL Columns are flexibly sized.
7064 wx.BOTH Both rows and columns are flexibly sized
7065 (this is the default value).
7066 ============== =======================================
7067
7068 Note that this method does not trigger relayout.
7069 </docstring>
7070 <paramlist>
7071 <param name="direction" type="int" default=""/>
7072 </paramlist>
7073 </method>
7074 <method name="GetFlexibleDirection" type="int" overloaded="no">
7075 <autodoc>GetFlexibleDirection(self) -&gt; int</autodoc>
7076 <docstring>Returns a value that specifies whether the sizer
7077 flexibly resizes its columns, rows, or both (default).
7078
7079 :see: `SetFlexibleDirection`</docstring>
7080 </method>
7081 <method name="SetNonFlexibleGrowMode" type="" overloaded="no">
7082 <autodoc>SetNonFlexibleGrowMode(self, int mode)</autodoc>
7083 <docstring>Specifies how the sizer should grow in the non-flexible direction if
7084 there is one (so `SetFlexibleDirection` must have been called
7085 previously). Argument *mode* can be one of the following values:
7086
7087 ========================== =================================================
7088 wx.FLEX_GROWMODE_NONE Sizer doesn't grow in the non flexible direction.
7089 wx.FLEX_GROWMODE_SPECIFIED Sizer honors growable columns/rows set with
7090 `AddGrowableCol` and `AddGrowableRow`. In this
7091 case equal sizing applies to minimum sizes of
7092 columns or rows (this is the default value).
7093 wx.FLEX_GROWMODE_ALL Sizer equally stretches all columns or rows in
7094 the non flexible direction, whether they are
7095 growable or not in the flexbile direction.
7096 ========================== =================================================
7097
7098 Note that this method does not trigger relayout.
7099
7100 </docstring>
7101 <paramlist>
7102 <param name="mode" type="wxFlexSizerGrowMode" default=""/>
7103 </paramlist>
7104 </method>
7105 <method name="GetNonFlexibleGrowMode" type="wxFlexSizerGrowMode" overloaded="no">
7106 <autodoc>GetNonFlexibleGrowMode(self) -&gt; int</autodoc>
7107 <docstring>Returns the value that specifies how the sizer grows in the
7108 non-flexible direction if there is one.
7109
7110 :see: `SetNonFlexibleGrowMode`</docstring>
7111 </method>
7112 <method name="GetRowHeights" type="wxArrayInt" overloaded="no">
7113 <autodoc>GetRowHeights(self) -&gt; list</autodoc>
7114 </method>
7115 <method name="GetColWidths" type="wxArrayInt" overloaded="no">
7116 <autodoc>GetColWidths(self) -&gt; list</autodoc>
7117 </method>
7118 </class>
7119 <pythoncode>
7120 #---------------------------------------------------------------------------
7121 </pythoncode>
7122 <class name="GBPosition" oldname="wxGBPosition" module="_core">
7123 <docstring>This class represents the position of an item in a virtual grid of
7124 rows and columns managed by a `wx.GridBagSizer`. wxPython has
7125 typemaps that will automatically convert from a 2-element sequence of
7126 integers to a wx.GBPosition, so you can use the more pythonic
7127 representation of the position nearly transparently in Python code.</docstring>
7128 <constructor name="GBPosition" overloaded="no">
7129 <autodoc>__init__(self, int row=0, int col=0) -&gt; GBPosition</autodoc>
7130 <docstring>This class represents the position of an item in a virtual grid of
7131 rows and columns managed by a `wx.GridBagSizer`. wxPython has
7132 typemaps that will automatically convert from a 2-element sequence of
7133 integers to a wx.GBPosition, so you can use the more pythonic
7134 representation of the position nearly transparently in Python code.</docstring>
7135 <paramlist>
7136 <param name="row" type="int" default="0"/>
7137 <param name="col" type="int" default="0"/>
7138 </paramlist>
7139 </constructor>
7140 <method name="GetRow" type="int" overloaded="no">
7141 <autodoc>GetRow(self) -&gt; int</autodoc>
7142 </method>
7143 <method name="GetCol" type="int" overloaded="no">
7144 <autodoc>GetCol(self) -&gt; int</autodoc>
7145 </method>
7146 <method name="SetRow" type="" overloaded="no">
7147 <autodoc>SetRow(self, int row)</autodoc>
7148 <paramlist>
7149 <param name="row" type="int" default=""/>
7150 </paramlist>
7151 </method>
7152 <method name="SetCol" type="" overloaded="no">
7153 <autodoc>SetCol(self, int col)</autodoc>
7154 <paramlist>
7155 <param name="col" type="int" default=""/>
7156 </paramlist>
7157 </method>
7158 <method name="__eq__" type="bool" overloaded="no">
7159 <autodoc>__eq__(self, GBPosition other) -&gt; bool</autodoc>
7160 <paramlist>
7161 <param name="other" type="GBPosition" default=""/>
7162 </paramlist>
7163 </method>
7164 <method name="__ne__" type="bool" overloaded="no">
7165 <autodoc>__ne__(self, GBPosition other) -&gt; bool</autodoc>
7166 <paramlist>
7167 <param name="other" type="GBPosition" default=""/>
7168 </paramlist>
7169 </method>
7170 <method name="Set" type="" overloaded="no">
7171 <autodoc>Set(self, int row=0, int col=0)</autodoc>
7172 <paramlist>
7173 <param name="row" type="int" default="0"/>
7174 <param name="col" type="int" default="0"/>
7175 </paramlist>
7176 </method>
7177 <method name="Get" type="PyObject" overloaded="no">
7178 <autodoc>Get(self) -&gt; PyObject</autodoc>
7179 </method>
7180 </class>
7181 <class name="GBSpan" oldname="wxGBSpan" module="_core">
7182 <docstring>This class is used to hold the row and column spanning attributes of
7183 items in a `wx.GridBagSizer`. wxPython has typemaps that will
7184 automatically convert from a 2-element sequence of integers to a
7185 wx.GBSpan, so you can use the more pythonic representation of the span
7186 nearly transparently in Python code.
7187 </docstring>
7188 <constructor name="GBSpan" overloaded="no">
7189 <autodoc>__init__(self, int rowspan=1, int colspan=1) -&gt; GBSpan</autodoc>
7190 <docstring>Construct a new wxGBSpan, optionally setting the rowspan and
7191 colspan. The default is (1,1). (Meaning that the item occupies one
7192 cell in each direction.</docstring>
7193 <paramlist>
7194 <param name="rowspan" type="int" default="1"/>
7195 <param name="colspan" type="int" default="1"/>
7196 </paramlist>
7197 </constructor>
7198 <method name="GetRowspan" type="int" overloaded="no">
7199 <autodoc>GetRowspan(self) -&gt; int</autodoc>
7200 </method>
7201 <method name="GetColspan" type="int" overloaded="no">
7202 <autodoc>GetColspan(self) -&gt; int</autodoc>
7203 </method>
7204 <method name="SetRowspan" type="" overloaded="no">
7205 <autodoc>SetRowspan(self, int rowspan)</autodoc>
7206 <paramlist>
7207 <param name="rowspan" type="int" default=""/>
7208 </paramlist>
7209 </method>
7210 <method name="SetColspan" type="" overloaded="no">
7211 <autodoc>SetColspan(self, int colspan)</autodoc>
7212 <paramlist>
7213 <param name="colspan" type="int" default=""/>
7214 </paramlist>
7215 </method>
7216 <method name="__eq__" type="bool" overloaded="no">
7217 <autodoc>__eq__(self, GBSpan other) -&gt; bool</autodoc>
7218 <paramlist>
7219 <param name="other" type="GBSpan" default=""/>
7220 </paramlist>
7221 </method>
7222 <method name="__ne__" type="bool" overloaded="no">
7223 <autodoc>__ne__(self, GBSpan other) -&gt; bool</autodoc>
7224 <paramlist>
7225 <param name="other" type="GBSpan" default=""/>
7226 </paramlist>
7227 </method>
7228 <method name="Set" type="" overloaded="no">
7229 <autodoc>Set(self, int rowspan=1, int colspan=1)</autodoc>
7230 <paramlist>
7231 <param name="rowspan" type="int" default="1"/>
7232 <param name="colspan" type="int" default="1"/>
7233 </paramlist>
7234 </method>
7235 <method name="Get" type="PyObject" overloaded="no">
7236 <autodoc>Get(self) -&gt; PyObject</autodoc>
7237 </method>
7238 </class>
7239 <class name="GBSizerItem" oldname="wxGBSizerItem" module="_core">
7240 <docstring>The wx.GBSizerItem class is used to track the additional data about
7241 items in a `wx.GridBagSizer` such as the item's position in the grid
7242 and how many rows or columns it spans.
7243 </docstring>
7244 <baseclass name="SizerItem"/>
7245 <constructor name="GBSizerItem" overloaded="no">
7246 <autodoc>__init__(self) -&gt; GBSizerItem</autodoc>
7247 <docstring>Constructs an empty wx.GBSizerItem. Either a window, sizer or spacer
7248 size will need to be set, as well as a position and span before this
7249 item can be used in a Sizer.
7250
7251 You will probably never need to create a wx.GBSizerItem directly as they
7252 are created automatically when the sizer's Add method is called.</docstring>
7253 </constructor>
7254 <constructor name="GBSizerItemWindow" overloaded="no">
7255 <autodoc>GBSizerItemWindow(Window window, GBPosition pos, GBSpan span, int flag,
7256 int border, PyObject userData=None) -&gt; GBSizerItem</autodoc>
7257 <docstring>Construct a `wx.GBSizerItem` for a window.</docstring>
7258 <paramlist>
7259 <param name="window" type="Window" default=""/>
7260 <param name="pos" type="GBPosition" default=""/>
7261 <param name="span" type="GBSpan" default=""/>
7262 <param name="flag" type="int" default=""/>
7263 <param name="border" type="int" default=""/>
7264 <param name="userData" type="PyObject" default="NULL"/>
7265 </paramlist>
7266 </constructor>
7267 <constructor name="GBSizerItemSizer" overloaded="no">
7268 <autodoc>GBSizerItemSizer(Sizer sizer, GBPosition pos, GBSpan span, int flag,
7269 int border, PyObject userData=None) -&gt; GBSizerItem</autodoc>
7270 <docstring>Construct a `wx.GBSizerItem` for a sizer</docstring>
7271 <paramlist>
7272 <param name="sizer" type="Sizer" default=""/>
7273 <param name="pos" type="GBPosition" default=""/>
7274 <param name="span" type="GBSpan" default=""/>
7275 <param name="flag" type="int" default=""/>
7276 <param name="border" type="int" default=""/>
7277 <param name="userData" type="PyObject" default="NULL"/>
7278 </paramlist>
7279 </constructor>
7280 <constructor name="GBSizerItemSpacer" overloaded="no">
7281 <autodoc>GBSizerItemSpacer(int width, int height, GBPosition pos, GBSpan span,
7282 int flag, int border, PyObject userData=None) -&gt; GBSizerItem</autodoc>
7283 <docstring>Construct a `wx.GBSizerItem` for a spacer.</docstring>
7284 <paramlist>
7285 <param name="width" type="int" default=""/>
7286 <param name="height" type="int" default=""/>
7287 <param name="pos" type="GBPosition" default=""/>
7288 <param name="span" type="GBSpan" default=""/>
7289 <param name="flag" type="int" default=""/>
7290 <param name="border" type="int" default=""/>
7291 <param name="userData" type="PyObject" default="NULL"/>
7292 </paramlist>
7293 </constructor>
7294 <method name="GetPos" type="GBPosition" overloaded="no">
7295 <autodoc>GetPos(self) -&gt; GBPosition</autodoc>
7296 <docstring>Get the grid position of the item</docstring>
7297 </method>
7298 <method name="GetSpan" type="GBSpan" overloaded="no">
7299 <autodoc>GetSpan(self) -&gt; GBSpan</autodoc>
7300 <docstring>Get the row and column spanning of the item</docstring>
7301 </method>
7302 <method name="SetPos" type="bool" overloaded="no">
7303 <autodoc>SetPos(self, GBPosition pos) -&gt; bool</autodoc>
7304 <docstring>If the item is already a member of a sizer then first ensure that
7305 there is no other item that would intersect with this one at the new
7306 position, then set the new position. Returns True if the change is
7307 successful and after the next Layout() the item will be moved.</docstring>
7308 <paramlist>
7309 <param name="pos" type="GBPosition" default=""/>
7310 </paramlist>
7311 </method>
7312 <method name="SetSpan" type="bool" overloaded="no">
7313 <autodoc>SetSpan(self, GBSpan span) -&gt; bool</autodoc>
7314 <docstring>If the item is already a member of a sizer then first ensure that
7315 there is no other item that would intersect with this one with its new
7316 spanning size, then set the new spanning. Returns True if the change
7317 is successful and after the next Layout() the item will be resized.
7318 </docstring>
7319 <paramlist>
7320 <param name="span" type="GBSpan" default=""/>
7321 </paramlist>
7322 </method>
7323 <method name="Intersects" type="bool" overloaded="no">
7324 <autodoc>Intersects(self, GBSizerItem other) -&gt; bool</autodoc>
7325 <docstring>Returns True if this item and the other item instersect.</docstring>
7326 <paramlist>
7327 <param name="other" type="GBSizerItem" default=""/>
7328 </paramlist>
7329 </method>
7330 <method name="IntersectsPos" type="bool" overloaded="no">
7331 <autodoc>IntersectsPos(self, GBPosition pos, GBSpan span) -&gt; bool</autodoc>
7332 <docstring>Returns True if the given pos/span would intersect with this item.</docstring>
7333 <paramlist>
7334 <param name="pos" type="GBPosition" default=""/>
7335 <param name="span" type="GBSpan" default=""/>
7336 </paramlist>
7337 </method>
7338 <method name="GetEndPos" type="GBPosition" overloaded="no">
7339 <autodoc>GetEndPos(self) -&gt; GBPosition</autodoc>
7340 <docstring>Get the row and column of the endpoint of this item.</docstring>
7341 </method>
7342 <method name="GetGBSizer" type="wxGridBagSizer" overloaded="no">
7343 <autodoc>GetGBSizer(self) -&gt; GridBagSizer</autodoc>
7344 <docstring>Get the sizer this item is a member of.</docstring>
7345 </method>
7346 <method name="SetGBSizer" type="" overloaded="no">
7347 <autodoc>SetGBSizer(self, GridBagSizer sizer)</autodoc>
7348 <docstring>Set the sizer this item is a member of.</docstring>
7349 <paramlist>
7350 <param name="sizer" type="wxGridBagSizer" default=""/>
7351 </paramlist>
7352 </method>
7353 </class>
7354 <class name="GridBagSizer" oldname="wxGridBagSizer" module="_core">
7355 <docstring>A `wx.Sizer` that can lay out items in a virtual grid like a
7356 `wx.FlexGridSizer` but in this case explicit positioning of the items
7357 is allowed using `wx.GBPosition`, and items can optionally span more
7358 than one row and/or column using `wx.GBSpan`. The total size of the
7359 virtual grid is determined by the largest row and column that items are
7360 positioned at, adjusted for spanning.
7361 </docstring>
7362 <baseclass name="FlexGridSizer"/>
7363 <constructor name="GridBagSizer" overloaded="no">
7364 <autodoc>__init__(self, int vgap=0, int hgap=0) -&gt; GridBagSizer</autodoc>
7365 <docstring>Constructor, with optional parameters to specify the gap between the
7366 rows and columns.</docstring>
7367 <paramlist>
7368 <param name="vgap" type="int" default="0"/>
7369 <param name="hgap" type="int" default="0"/>
7370 </paramlist>
7371 </constructor>
7372 <method name="Add" type="bool" overloaded="no">
7373 <autodoc>Add(self, item, GBPosition pos, GBSpan span=DefaultSpan, int flag=0,
7374 int border=0, userData=None)</autodoc>
7375 <docstring>Adds an item to the sizer at the grid cell *pos*, optionally spanning
7376 more than one row or column as specified with *span*. The remaining
7377 args behave similarly to `wx.Sizer.Add`.
7378
7379 Returns True if the item was successfully placed at the given cell
7380 position, False if something was already there.
7381 </docstring>
7382 <paramlist>
7383 <param name="item" type="PyObject" default=""/>
7384 <param name="pos" type="GBPosition" default=""/>
7385 <param name="span" type="GBSpan" default="wxDefaultSpan"/>
7386 <param name="flag" type="int" default="0"/>
7387 <param name="border" type="int" default="0"/>
7388 <param name="userData" type="PyObject" default="NULL"/>
7389 </paramlist>
7390 </method>
7391 <method name="AddItem" type="bool" overloaded="no">
7392 <autodoc>Add(self, GBSizerItem item) -&gt; bool</autodoc>
7393 <docstring>Add an item to the sizer using a `wx.GBSizerItem`. Returns True if
7394 the item was successfully placed at its given cell position, False if
7395 something was already there.</docstring>
7396 <paramlist>
7397 <param name="item" type="GBSizerItem" default=""/>
7398 </paramlist>
7399 </method>
7400 <method name="GetEmptyCellSize" type="Size" overloaded="no">
7401 <autodoc>GetEmptyCellSize(self) -&gt; Size</autodoc>
7402 <docstring>Get the size used for cells in the grid with no item.</docstring>
7403 </method>
7404 <method name="SetEmptyCellSize" type="" overloaded="no">
7405 <autodoc>SetEmptyCellSize(self, Size sz)</autodoc>
7406 <docstring>Set the size used for cells in the grid with no item.</docstring>
7407 <paramlist>
7408 <param name="sz" type="Size" default=""/>
7409 </paramlist>
7410 </method>
7411 <method name="GetItemPosition" type="GBPosition" overloaded="yes">
7412 <docstring>GetItemPosition(self, item) -&gt; GBPosition
7413
7414 Get the grid position of the specified *item* where *item* is either a
7415 window or subsizer that is a member of this sizer, or a zero-based
7416 index of an item.</docstring>
7417 <paramlist>
7418 <param name="window" type="Window" default=""/>
7419 </paramlist>
7420 </method>
7421 <method name="GetItemPosition" type="GBPosition" overloaded="yes">
7422 <docstring>GetItemPosition(self, item) -&gt; GBPosition
7423
7424 Get the grid position of the specified *item* where *item* is either a
7425 window or subsizer that is a member of this sizer, or a zero-based
7426 index of an item.</docstring>
7427 <paramlist>
7428 <param name="sizer" type="Sizer" default=""/>
7429 </paramlist>
7430 </method>
7431 <method name="GetItemPosition" type="GBPosition" overloaded="yes">
7432 <docstring>GetItemPosition(self, item) -&gt; GBPosition
7433
7434 Get the grid position of the specified *item* where *item* is either a
7435 window or subsizer that is a member of this sizer, or a zero-based
7436 index of an item.</docstring>
7437 <paramlist>
7438 <param name="index" type="size_t" default=""/>
7439 </paramlist>
7440 </method>
7441 <method name="SetItemPosition" type="bool" overloaded="yes">
7442 <docstring>SetItemPosition(self, item, GBPosition pos) -&gt; bool
7443
7444 Set the grid position of the specified *item* where *item* is either a
7445 window or subsizer that is a member of this sizer, or a zero-based
7446 index of an item. Returns True on success. If the move is not
7447 allowed (because an item is already there) then False is returned.
7448 </docstring>
7449 <paramlist>
7450 <param name="window" type="Window" default=""/>
7451 <param name="pos" type="GBPosition" default=""/>
7452 </paramlist>
7453 </method>
7454 <method name="SetItemPosition" type="bool" overloaded="yes">
7455 <docstring>SetItemPosition(self, item, GBPosition pos) -&gt; bool
7456
7457 Set the grid position of the specified *item* where *item* is either a
7458 window or subsizer that is a member of this sizer, or a zero-based
7459 index of an item. Returns True on success. If the move is not
7460 allowed (because an item is already there) then False is returned.
7461 </docstring>
7462 <paramlist>
7463 <param name="sizer" type="Sizer" default=""/>
7464 <param name="pos" type="GBPosition" default=""/>
7465 </paramlist>
7466 </method>
7467 <method name="SetItemPosition" type="bool" overloaded="yes">
7468 <docstring>SetItemPosition(self, item, GBPosition pos) -&gt; bool
7469
7470 Set the grid position of the specified *item* where *item* is either a
7471 window or subsizer that is a member of this sizer, or a zero-based
7472 index of an item. Returns True on success. If the move is not
7473 allowed (because an item is already there) then False is returned.
7474 </docstring>
7475 <paramlist>
7476 <param name="index" type="size_t" default=""/>
7477 <param name="pos" type="GBPosition" default=""/>
7478 </paramlist>
7479 </method>
7480 <method name="GetItemSpan" type="GBSpan" overloaded="yes">
7481 <docstring>GetItemSpan(self, item) -&gt; GBSpan
7482
7483 Get the row/col spanning of the specified *item* where *item* is
7484 either a window or subsizer that is a member of this sizer, or a
7485 zero-based index of an item.</docstring>
7486 <paramlist>
7487 <param name="window" type="Window" default=""/>
7488 </paramlist>
7489 </method>
7490 <method name="GetItemSpan" type="GBSpan" overloaded="yes">
7491 <docstring>GetItemSpan(self, item) -&gt; GBSpan
7492
7493 Get the row/col spanning of the specified *item* where *item* is
7494 either a window or subsizer that is a member of this sizer, or a
7495 zero-based index of an item.</docstring>
7496 <paramlist>
7497 <param name="sizer" type="Sizer" default=""/>
7498 </paramlist>
7499 </method>
7500 <method name="GetItemSpan" type="GBSpan" overloaded="yes">
7501 <docstring>GetItemSpan(self, item) -&gt; GBSpan
7502
7503 Get the row/col spanning of the specified *item* where *item* is
7504 either a window or subsizer that is a member of this sizer, or a
7505 zero-based index of an item.</docstring>
7506 <paramlist>
7507 <param name="index" type="size_t" default=""/>
7508 </paramlist>
7509 </method>
7510 <method name="SetItemSpan" type="bool" overloaded="yes">
7511 <docstring>SetItemSpan(self, item, GBSpan span) -&gt; bool
7512
7513 Set the row/col spanning of the specified *item* where *item* is
7514 either a window or subsizer that is a member of this sizer, or a
7515 zero-based index of an item. Returns True on success. If the move is
7516 not allowed (because an item is already there) then False is returned.</docstring>
7517 <paramlist>
7518 <param name="window" type="Window" default=""/>
7519 <param name="span" type="GBSpan" default=""/>
7520 </paramlist>
7521 </method>
7522 <method name="SetItemSpan" type="bool" overloaded="yes">
7523 <docstring>SetItemSpan(self, item, GBSpan span) -&gt; bool
7524
7525 Set the row/col spanning of the specified *item* where *item* is
7526 either a window or subsizer that is a member of this sizer, or a
7527 zero-based index of an item. Returns True on success. If the move is
7528 not allowed (because an item is already there) then False is returned.</docstring>
7529 <paramlist>
7530 <param name="sizer" type="Sizer" default=""/>
7531 <param name="span" type="GBSpan" default=""/>
7532 </paramlist>
7533 </method>
7534 <method name="SetItemSpan" type="bool" overloaded="yes">
7535 <docstring>SetItemSpan(self, item, GBSpan span) -&gt; bool
7536
7537 Set the row/col spanning of the specified *item* where *item* is
7538 either a window or subsizer that is a member of this sizer, or a
7539 zero-based index of an item. Returns True on success. If the move is
7540 not allowed (because an item is already there) then False is returned.</docstring>
7541 <paramlist>
7542 <param name="index" type="size_t" default=""/>
7543 <param name="span" type="GBSpan" default=""/>
7544 </paramlist>
7545 </method>
7546 <method name="FindItem" type="GBSizerItem" overloaded="yes">
7547 <docstring>FindItem(self, item) -&gt; GBSizerItem
7548
7549 Find the sizer item for the given window or subsizer, returns None if
7550 not found. (non-recursive)</docstring>
7551 <paramlist>
7552 <param name="window" type="Window" default=""/>
7553 </paramlist>
7554 </method>
7555 <method name="FindItem" type="GBSizerItem" overloaded="yes">
7556 <docstring>FindItem(self, item) -&gt; GBSizerItem
7557
7558 Find the sizer item for the given window or subsizer, returns None if
7559 not found. (non-recursive)</docstring>
7560 <paramlist>
7561 <param name="sizer" type="Sizer" default=""/>
7562 </paramlist>
7563 </method>
7564 <method name="FindItemAtPosition" type="GBSizerItem" overloaded="no">
7565 <autodoc>FindItemAtPosition(self, GBPosition pos) -&gt; GBSizerItem</autodoc>
7566 <docstring>Return the sizer item for the given grid cell, or None if there is no
7567 item at that position. (non-recursive)</docstring>
7568 <paramlist>
7569 <param name="pos" type="GBPosition" default=""/>
7570 </paramlist>
7571 </method>
7572 <method name="FindItemAtPoint" type="GBSizerItem" overloaded="no">
7573 <autodoc>FindItemAtPoint(self, Point pt) -&gt; GBSizerItem</autodoc>
7574 <docstring>Return the sizer item located at the point given in *pt*, or None if
7575 there is no item at that point. The (x,y) coordinates in pt correspond
7576 to the client coordinates of the window using the sizer for
7577 layout. (non-recursive)</docstring>
7578 <paramlist>
7579 <param name="pt" type="Point" default=""/>
7580 </paramlist>
7581 </method>
7582 <method name="CheckForIntersection" type="bool" overloaded="no">
7583 <autodoc>CheckForIntersection(self, GBSizerItem item, GBSizerItem excludeItem=None) -&gt; bool</autodoc>
7584 <docstring>Look at all items and see if any intersect (or would overlap) the
7585 given *item*. Returns True if so, False if there would be no overlap.
7586 If an *excludeItem* is given then it will not be checked for
7587 intersection, for example it may be the item we are checking the
7588 position of.
7589 </docstring>
7590 <paramlist>
7591 <param name="item" type="GBSizerItem" default=""/>
7592 <param name="excludeItem" type="GBSizerItem" default="NULL"/>
7593 </paramlist>
7594 </method>
7595 <method name="CheckForIntersectionPos" type="bool" overloaded="no">
7596 <autodoc>CheckForIntersectionPos(self, GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) -&gt; bool</autodoc>
7597 <docstring>Look at all items and see if any intersect (or would overlap) the
7598 given position and span. Returns True if so, False if there would be
7599 no overlap. If an *excludeItem* is given then it will not be checked
7600 for intersection, for example it may be the item we are checking the
7601 position of.</docstring>
7602 <paramlist>
7603 <param name="pos" type="GBPosition" default=""/>
7604 <param name="span" type="GBSpan" default=""/>
7605 <param name="excludeItem" type="GBSizerItem" default="NULL"/>
7606 </paramlist>
7607 </method>
7608 </class>
7609 <pythoncode>
7610 #---------------------------------------------------------------------------
7611 </pythoncode>
7612 <class name="IndividualLayoutConstraint" oldname="wxIndividualLayoutConstraint" module="_core">
7613 <docstring>Objects of this class are stored in the `wx.LayoutConstraints` class as
7614 one of eight possible constraints that a window can be involved in.
7615 You will never need to create an instance of
7616 wx.IndividualLayoutConstraint, rather you should create a
7617 `wx.LayoutConstraints` instance and use the individual contstraints
7618 that it contains.</docstring>
7619 <baseclass name="Object"/>
7620 <method name="Set" type="" overloaded="no">
7621 <autodoc>Set(self, int rel, Window otherW, int otherE, int val=0, int marg=wxLAYOUT_DEFAULT_MARGIN)</autodoc>
7622 <docstring>Sets the properties of the constraint. Normally called by one of the
7623 convenience functions such as Above, RightOf, SameAs.</docstring>
7624 <paramlist>
7625 <param name="rel" type="wxRelationship" default=""/>
7626 <param name="otherW" type="Window" default=""/>
7627 <param name="otherE" type="wxEdge" default=""/>
7628 <param name="val" type="int" default="0"/>
7629 <param name="marg" type="int" default="wxLAYOUT_DEFAULT_MARGIN"/>
7630 </paramlist>
7631 </method>
7632 <method name="LeftOf" type="" overloaded="no">
7633 <autodoc>LeftOf(self, Window sibling, int marg=0)</autodoc>
7634 <docstring>Constrains this edge to be to the left of the given window, with an
7635 optional margin. Implicitly, this is relative to the left edge of the
7636 other window.</docstring>
7637 <paramlist>
7638 <param name="sibling" type="Window" default=""/>
7639 <param name="marg" type="int" default="0"/>
7640 </paramlist>
7641 </method>
7642 <method name="RightOf" type="" overloaded="no">
7643 <autodoc>RightOf(self, Window sibling, int marg=0)</autodoc>
7644 <docstring>Constrains this edge to be to the right of the given window, with an
7645 optional margin. Implicitly, this is relative to the right edge of the
7646 other window.</docstring>
7647 <paramlist>
7648 <param name="sibling" type="Window" default=""/>
7649 <param name="marg" type="int" default="0"/>
7650 </paramlist>
7651 </method>
7652 <method name="Above" type="" overloaded="no">
7653 <autodoc>Above(self, Window sibling, int marg=0)</autodoc>
7654 <docstring>Constrains this edge to be above the given window, with an optional
7655 margin. Implicitly, this is relative to the top edge of the other
7656 window.</docstring>
7657 <paramlist>
7658 <param name="sibling" type="Window" default=""/>
7659 <param name="marg" type="int" default="0"/>
7660 </paramlist>
7661 </method>
7662 <method name="Below" type="" overloaded="no">
7663 <autodoc>Below(self, Window sibling, int marg=0)</autodoc>
7664 <docstring>Constrains this edge to be below the given window, with an optional
7665 margin. Implicitly, this is relative to the bottom edge of the other
7666 window.</docstring>
7667 <paramlist>
7668 <param name="sibling" type="Window" default=""/>
7669 <param name="marg" type="int" default="0"/>
7670 </paramlist>
7671 </method>
7672 <method name="SameAs" type="" overloaded="no">
7673 <autodoc>SameAs(self, Window otherW, int edge, int marg=0)</autodoc>
7674 <docstring>Constrains this edge or dimension to be to the same as the edge of the
7675 given window, with an optional margin.</docstring>
7676 <paramlist>
7677 <param name="otherW" type="Window" default=""/>
7678 <param name="edge" type="wxEdge" default=""/>
7679 <param name="marg" type="int" default="0"/>
7680 </paramlist>
7681 </method>
7682 <method name="PercentOf" type="" overloaded="no">
7683 <autodoc>PercentOf(self, Window otherW, int wh, int per)</autodoc>
7684 <docstring>Constrains this edge or dimension to be to a percentage of the given
7685 window, with an optional margin.</docstring>
7686 <paramlist>
7687 <param name="otherW" type="Window" default=""/>
7688 <param name="wh" type="wxEdge" default=""/>
7689 <param name="per" type="int" default=""/>
7690 </paramlist>
7691 </method>
7692 <method name="Absolute" type="" overloaded="no">
7693 <autodoc>Absolute(self, int val)</autodoc>
7694 <docstring>Constrains this edge or dimension to be the given absolute value.</docstring>
7695 <paramlist>
7696 <param name="val" type="int" default=""/>
7697 </paramlist>
7698 </method>
7699 <method name="Unconstrained" type="" overloaded="no">
7700 <autodoc>Unconstrained(self)</autodoc>
7701 <docstring>Sets this edge or dimension to be unconstrained, that is, dependent on
7702 other edges and dimensions from which this value can be deduced.</docstring>
7703 </method>
7704 <method name="AsIs" type="" overloaded="no">
7705 <autodoc>AsIs(self)</autodoc>
7706 <docstring>Sets this edge or constraint to be whatever the window's value is at
7707 the moment. If either of the width and height constraints are *as is*,
7708 the window will not be resized, but moved instead. This is important
7709 when considering panel items which are intended to have a default
7710 size, such as a button, which may take its size from the size of the
7711 button label.</docstring>
7712 </method>
7713 <method name="GetOtherWindow" type="Window" overloaded="no">
7714 <autodoc>GetOtherWindow(self) -&gt; Window</autodoc>
7715 </method>
7716 <method name="GetMyEdge" type="wxEdge" overloaded="no">
7717 <autodoc>GetMyEdge(self) -&gt; int</autodoc>
7718 </method>
7719 <method name="SetEdge" type="" overloaded="no">
7720 <autodoc>SetEdge(self, int which)</autodoc>
7721 <paramlist>
7722 <param name="which" type="wxEdge" default=""/>
7723 </paramlist>
7724 </method>
7725 <method name="SetValue" type="" overloaded="no">
7726 <autodoc>SetValue(self, int v)</autodoc>
7727 <paramlist>
7728 <param name="v" type="int" default=""/>
7729 </paramlist>
7730 </method>
7731 <method name="GetMargin" type="int" overloaded="no">
7732 <autodoc>GetMargin(self) -&gt; int</autodoc>
7733 </method>
7734 <method name="SetMargin" type="" overloaded="no">
7735 <autodoc>SetMargin(self, int m)</autodoc>
7736 <paramlist>
7737 <param name="m" type="int" default=""/>
7738 </paramlist>
7739 </method>
7740 <method name="GetValue" type="int" overloaded="no">
7741 <autodoc>GetValue(self) -&gt; int</autodoc>
7742 </method>
7743 <method name="GetPercent" type="int" overloaded="no">
7744 <autodoc>GetPercent(self) -&gt; int</autodoc>
7745 </method>
7746 <method name="GetOtherEdge" type="int" overloaded="no">
7747 <autodoc>GetOtherEdge(self) -&gt; int</autodoc>
7748 </method>
7749 <method name="GetDone" type="bool" overloaded="no">
7750 <autodoc>GetDone(self) -&gt; bool</autodoc>
7751 </method>
7752 <method name="SetDone" type="" overloaded="no">
7753 <autodoc>SetDone(self, bool d)</autodoc>
7754 <paramlist>
7755 <param name="d" type="bool" default=""/>
7756 </paramlist>
7757 </method>
7758 <method name="GetRelationship" type="wxRelationship" overloaded="no">
7759 <autodoc>GetRelationship(self) -&gt; int</autodoc>
7760 </method>
7761 <method name="SetRelationship" type="" overloaded="no">
7762 <autodoc>SetRelationship(self, int r)</autodoc>
7763 <paramlist>
7764 <param name="r" type="wxRelationship" default=""/>
7765 </paramlist>
7766 </method>
7767 <method name="ResetIfWin" type="bool" overloaded="no">
7768 <autodoc>ResetIfWin(self, Window otherW) -&gt; bool</autodoc>
7769 <docstring>Reset constraint if it mentions otherWin</docstring>
7770 <paramlist>
7771 <param name="otherW" type="Window" default=""/>
7772 </paramlist>
7773 </method>
7774 <method name="SatisfyConstraint" type="bool" overloaded="no">
7775 <autodoc>SatisfyConstraint(self, LayoutConstraints constraints, Window win) -&gt; bool</autodoc>
7776 <docstring>Try to satisfy constraint</docstring>
7777 <paramlist>
7778 <param name="constraints" type="wxLayoutConstraints" default=""/>
7779 <param name="win" type="Window" default=""/>
7780 </paramlist>
7781 </method>
7782 <method name="GetEdge" type="int" overloaded="no">
7783 <autodoc>GetEdge(self, int which, Window thisWin, Window other) -&gt; int</autodoc>
7784 <docstring>Get the value of this edge or dimension, or if this
7785 is not determinable, -1.</docstring>
7786 <paramlist>
7787 <param name="which" type="wxEdge" default=""/>
7788 <param name="thisWin" type="Window" default=""/>
7789 <param name="other" type="Window" default=""/>
7790 </paramlist>
7791 </method>
7792 </class>
7793 <class name="LayoutConstraints" oldname="wxLayoutConstraints" module="_core">
7794 <docstring>**Note:** constraints are now deprecated and you should use sizers
7795 instead.
7796
7797 Objects of this class can be associated with a window to define its
7798 layout constraints, with respect to siblings or its parent.
7799
7800 The class consists of the following eight constraints of class
7801 wx.IndividualLayoutConstraint, some or all of which should be accessed
7802 directly to set the appropriate constraints.
7803
7804 * left: represents the left hand edge of the window
7805 * right: represents the right hand edge of the window
7806 * top: represents the top edge of the window
7807 * bottom: represents the bottom edge of the window
7808 * width: represents the width of the window
7809 * height: represents the height of the window
7810 * centreX: represents the horizontal centre point of the window
7811 * centreY: represents the vertical centre point of the window
7812
7813 Most constraints are initially set to have the relationship
7814 wxUnconstrained, which means that their values should be calculated by
7815 looking at known constraints. The exceptions are width and height,
7816 which are set to wxAsIs to ensure that if the user does not specify a
7817 constraint, the existing width and height will be used, to be
7818 compatible with panel items which often have take a default size. If
7819 the constraint is ``wx.AsIs``, the dimension will not be changed.
7820
7821 :see: `wx.IndividualLayoutConstraint`, `wx.Window.SetConstraints`
7822 </docstring>
7823 <baseclass name="Object"/>
7824 <constructor name="LayoutConstraints" overloaded="no">
7825 <autodoc>__init__(self) -&gt; LayoutConstraints</autodoc>
7826 </constructor>
7827 <property name="left" type="IndividualLayoutConstraint" readonly="yes"/>
7828 <property name="top" type="IndividualLayoutConstraint" readonly="yes"/>
7829 <property name="right" type="IndividualLayoutConstraint" readonly="yes"/>
7830 <property name="bottom" type="IndividualLayoutConstraint" readonly="yes"/>
7831 <property name="width" type="IndividualLayoutConstraint" readonly="yes"/>
7832 <property name="height" type="IndividualLayoutConstraint" readonly="yes"/>
7833 <property name="centreX" type="IndividualLayoutConstraint" readonly="yes"/>
7834 <property name="centreY" type="IndividualLayoutConstraint" readonly="yes"/>
7835 <method name="SatisfyConstraints" type="bool" overloaded="no">
7836 <autodoc>SatisfyConstraints(Window win) -&gt; (areSatisfied, noChanges)</autodoc>
7837 <paramlist>
7838 <param name="win" type="Window" default=""/>
7839 <param name="OUTPUT" type="int" default=""/>
7840 </paramlist>
7841 </method>
7842 <method name="AreSatisfied" type="bool" overloaded="no">
7843 <autodoc>AreSatisfied(self) -&gt; bool</autodoc>
7844 </method>
7845 </class>
7846 <pythoncode>#----------------------------------------------------------------------------
7847
7848 # Use Python's bool constants if available, make some if not
7849 try:
7850 True
7851 except NameError:
7852 __builtins__.True = 1==1
7853 __builtins__.False = 1==0
7854 def bool(value): return not not value
7855 __builtins__.bool = bool
7856
7857
7858
7859 # workarounds for bad wxRTTI names
7860 __wxPyPtrTypeMap['wxGauge95'] = 'wxGauge'
7861 __wxPyPtrTypeMap['wxSlider95'] = 'wxSlider'
7862 __wxPyPtrTypeMap['wxStatusBar95'] = 'wxStatusBar'
7863
7864
7865 #----------------------------------------------------------------------------
7866 # Load version numbers from __version__... Ensure that major and minor
7867 # versions are the same for both wxPython and wxWindows.
7868
7869 from __version__ import *
7870 __version__ = VERSION_STRING
7871
7872 assert MAJOR_VERSION == _core_.MAJOR_VERSION, "wxPython/wxWindows version mismatch"
7873 assert MINOR_VERSION == _core_.MINOR_VERSION, "wxPython/wxWindows version mismatch"
7874 if RELEASE_VERSION != _core_.RELEASE_VERSION:
7875 import warnings
7876 warnings.warn("wxPython/wxWindows release number mismatch")
7877
7878 #----------------------------------------------------------------------------
7879
7880 class PyDeadObjectError(AttributeError):
7881 pass
7882
7883 class _wxPyDeadObject(object):
7884 """
7885 Instances of wx objects that are OOR capable will have their __class__
7886 changed to this class when the C++ object is deleted. This should help
7887 prevent crashes due to referencing a bogus C++ pointer.
7888 """
7889 reprStr = "wxPython wrapper for DELETED %s object! (The C++ object no longer exists.)"
7890 attrStr = "The C++ part of the %s object has been deleted, attribute access no longer allowed."
7891
7892 def __repr__(self):
7893 if not hasattr(self, "_name"):
7894 self._name = "[unknown]"
7895 return self.reprStr % self._name
7896
7897 def __getattr__(self, *args):
7898 if not hasattr(self, "_name"):
7899 self._name = "[unknown]"
7900 raise PyDeadObjectError(self.attrStr % self._name)
7901
7902 def __nonzero__(self):
7903 return 0
7904
7905
7906
7907 class PyUnbornObjectError(AttributeError):
7908 pass
7909
7910 class _wxPyUnbornObject(object):
7911 """
7912 Some stock objects are created when the wx._core module is
7913 imported, but their C++ instance is not created until the wx.App
7914 object is created and initialized. These object instances will
7915 temporarily have their __class__ changed to this class so an
7916 exception will be raised if they are used before the C++ instance
7917 is ready.
7918 """
7919
7920 reprStr = "wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.)"
7921 attrStr = "The C++ part of this object has not been initialized, attribute access not allowed."
7922
7923 def __repr__(self):
7924 #if not hasattr(self, "_name"):
7925 # self._name = "[unknown]"
7926 return self.reprStr #% self._name
7927
7928 def __getattr__(self, *args):
7929 #if not hasattr(self, "_name"):
7930 # self._name = "[unknown]"
7931 raise PyUnbornObjectError(self.attrStr) # % self._name )
7932
7933 def __nonzero__(self):
7934 return 0
7935
7936
7937 #----------------------------------------------------------------------------
7938 _wxPyCallAfterId = None
7939
7940 def CallAfter(callable, *args, **kw):
7941 """
7942 Call the specified function after the current and pending event
7943 handlers have been completed. This is also good for making GUI
7944 method calls from non-GUI threads. Any extra positional or
7945 keyword args are passed on to the callable when it is called.
7946
7947 :see: `wx.FutureCall`
7948 """
7949 app = wx.GetApp()
7950 assert app, 'No wxApp created yet'
7951
7952 global _wxPyCallAfterId
7953 if _wxPyCallAfterId is None:
7954 _wxPyCallAfterId = wx.NewEventType()
7955 app.Connect(-1, -1, _wxPyCallAfterId,
7956 lambda event: event.callable(*event.args, **event.kw) )
7957 evt = wx.PyEvent()
7958 evt.SetEventType(_wxPyCallAfterId)
7959 evt.callable = callable
7960 evt.args = args
7961 evt.kw = kw
7962 wx.PostEvent(app, evt)
7963
7964
7965 #----------------------------------------------------------------------------
7966
7967
7968 class FutureCall:
7969 """
7970 A convenience class for wx.Timer, that calls the given callable
7971 object once after the given amount of milliseconds, passing any
7972 positional or keyword args. The return value of the callable is
7973 availbale after it has been run with the `GetResult` method.
7974
7975 If you don't need to get the return value or restart the timer
7976 then there is no need to hold a reference to this object. It will
7977 hold a reference to itself while the timer is running (the timer
7978 has a reference to self.Notify) but the cycle will be broken when
7979 the timer completes, automatically cleaning up the wx.FutureCall
7980 object.
7981
7982 :see: `wx.CallAfter`
7983 """
7984 def __init__(self, millis, callable, *args, **kwargs):
7985 self.millis = millis
7986 self.callable = callable
7987 self.SetArgs(*args, **kwargs)
7988 self.runCount = 0
7989 self.running = False
7990 self.hasRun = False
7991 self.result = None
7992 self.timer = None
7993 self.Start()
7994
7995 def __del__(self):
7996 self.Stop()
7997
7998
7999 def Start(self, millis=None, *args, **kwargs):
8000 """
8001 (Re)start the timer
8002 """
8003 self.hasRun = False
8004 if millis is not None:
8005 self.millis = millis
8006 if args or kwargs:
8007 self.SetArgs(*args, **kwargs)
8008 self.Stop()
8009 self.timer = wx.PyTimer(self.Notify)
8010 self.timer.Start(self.millis, wx.TIMER_ONE_SHOT)
8011 self.running = True
8012 Restart = Start
8013
8014
8015 def Stop(self):
8016 """
8017 Stop and destroy the timer.
8018 """
8019 if self.timer is not None:
8020 self.timer.Stop()
8021 self.timer = None
8022
8023
8024 def GetInterval(self):
8025 if self.timer is not None:
8026 return self.timer.GetInterval()
8027 else:
8028 return 0
8029
8030
8031 def IsRunning(self):
8032 return self.timer is not None and self.timer.IsRunning()
8033
8034
8035 def SetArgs(self, *args, **kwargs):
8036 """
8037 (Re)set the args passed to the callable object. This is
8038 useful in conjunction with Restart if you want to schedule a
8039 new call to the same callable object but with different
8040 parameters.
8041 """
8042 self.args = args
8043 self.kwargs = kwargs
8044
8045
8046 def HasRun(self):
8047 return self.hasRun
8048
8049 def GetResult(self):
8050 return self.result
8051
8052 def Notify(self):
8053 """
8054 The timer has expired so call the callable.
8055 """
8056 if self.callable and getattr(self.callable, 'im_self', True):
8057 self.runCount += 1
8058 self.running = False
8059 self.result = self.callable(*self.args, **self.kwargs)
8060 self.hasRun = True
8061 if not self.running:
8062 # if it wasn't restarted, then cleanup
8063 wx.CallAfter(self.Stop)
8064
8065
8066
8067 #----------------------------------------------------------------------------
8068 # Control which items in this module should be documented by epydoc.
8069 # We allow only classes and functions, which will help reduce the size
8070 # of the docs by filtering out the zillions of constants, EVT objects,
8071 # and etc that don't make much sense by themselves, but are instead
8072 # documented (or will be) as part of the classes/functions/methods
8073 # where they should be used.
8074
8075 class __DocFilter:
8076 """
8077 A filter for epydoc that only allows non-Ptr classes and
8078 fucntions, in order to reduce the clutter in the API docs.
8079 """
8080 def __init__(self, globals):
8081 self._globals = globals
8082
8083 def __call__(self, name):
8084 import types
8085 obj = self._globals.get(name, None)
8086 if type(obj) not in [type, types.ClassType, types.FunctionType, types.BuiltinFunctionType]:
8087 return False
8088 if name.startswith('_') or name.endswith('Ptr') or name.startswith('EVT'):
8089 return False
8090 return True
8091
8092 #----------------------------------------------------------------------------
8093 #----------------------------------------------------------------------------
8094
8095 # Import other modules in this package that should show up in the
8096 # "core" wx namespace
8097 from _gdi import *
8098 from _windows import *
8099 from _controls import *
8100 from _misc import *
8101
8102
8103 # Fixup the stock objects since they can't be used yet. (They will be
8104 # restored in wx.PyApp.OnInit.)
8105 _core_._wxPyFixStockObjects()
8106
8107 #----------------------------------------------------------------------------
8108 #----------------------------------------------------------------------------
8109 </pythoncode>
8110 </module>
8111 <module name="_gdi">
8112 <import name="_core"/>
8113 <pythoncode> wx = _core </pythoncode>
8114 <pythoncode>
8115 #---------------------------------------------------------------------------
8116 </pythoncode>
8117 <class name="GDIObject" oldname="wxGDIObject" module="_gdi">
8118 <baseclass name="Object"/>
8119 <constructor name="GDIObject" overloaded="no">
8120 <autodoc>__init__(self) -&gt; GDIObject</autodoc>
8121 </constructor>
8122 <destructor name="~wxGDIObject" overloaded="no">
8123 <autodoc>__del__(self)</autodoc>
8124 </destructor>
8125 <method name="GetVisible" type="bool" overloaded="no">
8126 <autodoc>GetVisible(self) -&gt; bool</autodoc>
8127 </method>
8128 <method name="SetVisible" type="" overloaded="no">
8129 <autodoc>SetVisible(self, bool visible)</autodoc>
8130 <paramlist>
8131 <param name="visible" type="bool" default=""/>
8132 </paramlist>
8133 </method>
8134 <method name="IsNull" type="bool" overloaded="no">
8135 <autodoc>IsNull(self) -&gt; bool</autodoc>
8136 </method>
8137 </class>
8138 <pythoncode>
8139 #---------------------------------------------------------------------------
8140 </pythoncode>
8141 <class name="Colour" oldname="wxColour" module="_gdi">
8142 <docstring>A colour is an object representing a combination of Red, Green, and
8143 Blue (RGB) intensity values, and is used to determine drawing colours,
8144 window colours, etc. Valid RGB values are in the range 0 to 255.
8145
8146 In wxPython there are typemaps that will automatically convert from a
8147 colour name, or from a '#RRGGBB' colour hex value string to a
8148 wx.Colour object when calling C++ methods that expect a wxColour.
8149 This means that the following are all equivallent::
8150
8151 win.SetBackgroundColour(wxColour(0,0,255))
8152 win.SetBackgroundColour('BLUE')
8153 win.SetBackgroundColour('#0000FF')
8154
8155 Additional colour names and their coresponding values can be added
8156 using `wx.ColourDatabase`. Various system colours (as set in the
8157 user's system preferences) can be retrieved with
8158 `wx.SystemSettings.GetColour`.
8159 </docstring>
8160 <baseclass name="Object"/>
8161 <constructor name="Colour" overloaded="no">
8162 <autodoc>__init__(self, byte red=0, byte green=0, byte blue=0) -&gt; Colour</autodoc>
8163 <docstring>Constructs a colour from red, green and blue values.
8164
8165 :see: Alternate constructors `wx.NamedColour` and `wx.ColourRGB`.
8166 </docstring>
8167 <paramlist>
8168 <param name="red" type="byte" default="0"/>
8169 <param name="green" type="byte" default="0"/>
8170 <param name="blue" type="byte" default="0"/>
8171 </paramlist>
8172 </constructor>
8173 <constructor name="NamedColour" overloaded="no">
8174 <autodoc>NamedColour(String colorName) -&gt; Colour</autodoc>
8175 <docstring>Constructs a colour object using a colour name listed in
8176 ``wx.TheColourDatabase``.</docstring>
8177 <paramlist>
8178 <param name="colorName" type="String" default=""/>
8179 </paramlist>
8180 </constructor>
8181 <constructor name="ColourRGB" overloaded="no">
8182 <autodoc>ColourRGB(unsigned long colRGB) -&gt; Colour</autodoc>
8183 <docstring>Constructs a colour from a packed RGB value.</docstring>
8184 <paramlist>
8185 <param name="colRGB" type="unsigned long" default=""/>
8186 </paramlist>
8187 </constructor>
8188 <destructor name="~wxColour" overloaded="no">
8189 <autodoc>__del__(self)</autodoc>
8190 </destructor>
8191 <method name="Red" type="byte" overloaded="no">
8192 <autodoc>Red(self) -&gt; byte</autodoc>
8193 <docstring>Returns the red intensity.</docstring>
8194 </method>
8195 <method name="Green" type="byte" overloaded="no">
8196 <autodoc>Green(self) -&gt; byte</autodoc>
8197 <docstring>Returns the green intensity.</docstring>
8198 </method>
8199 <method name="Blue" type="byte" overloaded="no">
8200 <autodoc>Blue(self) -&gt; byte</autodoc>
8201 <docstring>Returns the blue intensity.</docstring>
8202 </method>
8203 <method name="Ok" type="bool" overloaded="no">
8204 <autodoc>Ok(self) -&gt; bool</autodoc>
8205 <docstring>Returns True if the colour object is valid (the colour has been
8206 initialised with RGB values).</docstring>
8207 </method>
8208 <method name="Set" type="" overloaded="no">
8209 <autodoc>Set(self, byte red, byte green, byte blue)</autodoc>
8210 <docstring>Sets the RGB intensity values.</docstring>
8211 <paramlist>
8212 <param name="red" type="byte" default=""/>
8213 <param name="green" type="byte" default=""/>
8214 <param name="blue" type="byte" default=""/>
8215 </paramlist>
8216 </method>
8217 <method name="SetRGB" type="" overloaded="no">
8218 <autodoc>SetRGB(self, unsigned long colRGB)</autodoc>
8219 <docstring>Sets the RGB intensity values from a packed RGB value.</docstring>
8220 <paramlist>
8221 <param name="colRGB" type="unsigned long" default=""/>
8222 </paramlist>
8223 </method>
8224 <method name="SetFromName" type="" overloaded="no">
8225 <autodoc>SetFromName(self, String colourName)</autodoc>
8226 <docstring>Sets the RGB intensity values using a colour name listed in
8227 ``wx.TheColourDatabase``.</docstring>
8228 <paramlist>
8229 <param name="colourName" type="String" default=""/>
8230 </paramlist>
8231 </method>
8232 <method name="GetPixel" type="long" overloaded="no">
8233 <autodoc>GetPixel(self) -&gt; long</autodoc>
8234 <docstring>Returns a pixel value which is platform-dependent. On Windows, a
8235 COLORREF is returned. On X, an allocated pixel value is returned. -1
8236 is returned if the pixel is invalid (on X, unallocated).</docstring>
8237 </method>
8238 <method name="__eq__" type="bool" overloaded="no">
8239 <autodoc>__eq__(self, Colour colour) -&gt; bool</autodoc>
8240 <docstring>Compare colours for equality</docstring>
8241 <paramlist>
8242 <param name="colour" type="Colour" default=""/>
8243 </paramlist>
8244 </method>
8245 <method name="__ne__" type="bool" overloaded="no">
8246 <autodoc>__ne__(self, Colour colour) -&gt; bool</autodoc>
8247 <docstring>Compare colours for inequality</docstring>
8248 <paramlist>
8249 <param name="colour" type="Colour" default=""/>
8250 </paramlist>
8251 </method>
8252 <method name="Get" type="PyObject" overloaded="no">
8253 <autodoc>Get() -&gt; (r, g, b)</autodoc>
8254 <docstring>Returns the RGB intensity values as a tuple.</docstring>
8255 </method>
8256 <method name="GetRGB" type="unsigned long" overloaded="no">
8257 <autodoc>GetRGB(self) -&gt; unsigned long</autodoc>
8258 <docstring>Return the colour as a packed RGB value</docstring>
8259 </method>
8260 </class>
8261 <pythoncode>
8262 Color = Colour
8263 NamedColor = NamedColour
8264 ColorRGB = ColourRGB
8265 </pythoncode>
8266 <class name="Palette" oldname="wxPalette" module="_gdi">
8267 <baseclass name="GDIObject"/>
8268 <constructor name="Palette" overloaded="no">
8269 <autodoc>__init__(self, int n, unsigned char red, unsigned char green, unsigned char blue) -&gt; Palette</autodoc>
8270 <paramlist>
8271 <param name="n" type="int" default=""/>
8272 <param name="red" type="unsigned char" default=""/>
8273 <param name="green" type="unsigned char" default=""/>
8274 <param name="blue" type="unsigned char" default=""/>
8275 </paramlist>
8276 </constructor>
8277 <destructor name="~wxPalette" overloaded="no">
8278 <autodoc>__del__(self)</autodoc>
8279 </destructor>
8280 <method name="GetPixel" type="int" overloaded="no">
8281 <autodoc>GetPixel(self, byte red, byte green, byte blue) -&gt; int</autodoc>
8282 <paramlist>
8283 <param name="red" type="byte" default=""/>
8284 <param name="green" type="byte" default=""/>
8285 <param name="blue" type="byte" default=""/>
8286 </paramlist>
8287 </method>
8288 <method name="GetRGB" type="bool" overloaded="no">
8289 <autodoc>GetRGB(int pixel) -&gt; (R,G,B)</autodoc>
8290 <paramlist>
8291 <param name="pixel" type="int" default=""/>
8292 <param name="OUTPUT" type="byte" default=""/>
8293 <param name="OUTPUT" type="byte" default=""/>
8294 <param name="OUTPUT" type="byte" default=""/>
8295 </paramlist>
8296 </method>
8297 <method name="Ok" type="bool" overloaded="no">
8298 <autodoc>Ok(self) -&gt; bool</autodoc>
8299 </method>
8300 </class>
8301 <pythoncode>
8302 #---------------------------------------------------------------------------
8303 </pythoncode>
8304 <class name="Pen" oldname="wxPen" module="_gdi">
8305 <baseclass name="GDIObject"/>
8306 <constructor name="Pen" overloaded="no">
8307 <autodoc>__init__(self, Colour colour, int width=1, int style=SOLID) -&gt; Pen</autodoc>
8308 <paramlist>
8309 <param name="colour" type="Colour" default=""/>
8310 <param name="width" type="int" default="1"/>
8311 <param name="style" type="int" default="wxSOLID"/>
8312 </paramlist>
8313 </constructor>
8314 <destructor name="~wxPen" overloaded="no">
8315 <autodoc>__del__(self)</autodoc>
8316 </destructor>
8317 <method name="GetCap" type="int" overloaded="no">
8318 <autodoc>GetCap(self) -&gt; int</autodoc>
8319 </method>
8320 <method name="GetColour" type="Colour" overloaded="no">
8321 <autodoc>GetColour(self) -&gt; Colour</autodoc>
8322 </method>
8323 <method name="GetJoin" type="int" overloaded="no">
8324 <autodoc>GetJoin(self) -&gt; int</autodoc>
8325 </method>
8326 <method name="GetStyle" type="int" overloaded="no">
8327 <autodoc>GetStyle(self) -&gt; int</autodoc>
8328 </method>
8329 <method name="GetWidth" type="int" overloaded="no">
8330 <autodoc>GetWidth(self) -&gt; int</autodoc>
8331 </method>
8332 <method name="Ok" type="bool" overloaded="no">
8333 <autodoc>Ok(self) -&gt; bool</autodoc>
8334 </method>
8335 <method name="SetCap" type="" overloaded="no">
8336 <autodoc>SetCap(self, int cap_style)</autodoc>
8337 <paramlist>
8338 <param name="cap_style" type="int" default=""/>
8339 </paramlist>
8340 </method>
8341 <method name="SetColour" type="" overloaded="no">
8342 <autodoc>SetColour(self, Colour colour)</autodoc>
8343 <paramlist>
8344 <param name="colour" type="Colour" default=""/>
8345 </paramlist>
8346 </method>
8347 <method name="SetJoin" type="" overloaded="no">
8348 <autodoc>SetJoin(self, int join_style)</autodoc>
8349 <paramlist>
8350 <param name="join_style" type="int" default=""/>
8351 </paramlist>
8352 </method>
8353 <method name="SetStyle" type="" overloaded="no">
8354 <autodoc>SetStyle(self, int style)</autodoc>
8355 <paramlist>
8356 <param name="style" type="int" default=""/>
8357 </paramlist>
8358 </method>
8359 <method name="SetWidth" type="" overloaded="no">
8360 <autodoc>SetWidth(self, int width)</autodoc>
8361 <paramlist>
8362 <param name="width" type="int" default=""/>
8363 </paramlist>
8364 </method>
8365 <method name="SetDashes" type="" overloaded="no">
8366 <autodoc>SetDashes(self, int dashes, wxDash dashes_array)</autodoc>
8367 <paramlist>
8368 <param name="dashes" type="int" default=""/>
8369 <param name="dashes_array" type="wxDash" default=""/>
8370 </paramlist>
8371 </method>
8372 <method name="GetDashes" type="PyObject" overloaded="no">
8373 <autodoc>GetDashes(self) -&gt; PyObject</autodoc>
8374 </method>
8375 <method name="_SetDashes" type="" overloaded="no">
8376 <autodoc>_SetDashes(self, PyObject _self, PyObject pyDashes)</autodoc>
8377 <paramlist>
8378 <param name="_self" type="PyObject" default=""/>
8379 <param name="pyDashes" type="PyObject" default=""/>
8380 </paramlist>
8381 </method>
8382 <method name="GetDashCount" type="int" overloaded="no">
8383 <autodoc>GetDashCount(self) -&gt; int</autodoc>
8384 </method>
8385 <method name="__eq__" type="bool" overloaded="no">
8386 <autodoc>__eq__(self, Pen other) -&gt; bool</autodoc>
8387 <paramlist>
8388 <param name="other" type="Pen" default=""/>
8389 </paramlist>
8390 </method>
8391 <method name="__ne__" type="bool" overloaded="no">
8392 <autodoc>__ne__(self, Pen other) -&gt; bool</autodoc>
8393 <paramlist>
8394 <param name="other" type="Pen" default=""/>
8395 </paramlist>
8396 </method>
8397 </class>
8398 <pythoncode>
8399 #---------------------------------------------------------------------------
8400 </pythoncode>
8401 <class name="Brush" oldname="wxBrush" module="_gdi">
8402 <docstring>A brush is a drawing tool for filling in areas. It is used for
8403 painting the background of rectangles, ellipses, etc. when drawing on
8404 a `wx.DC`. It has a colour and a style.</docstring>
8405 <baseclass name="GDIObject"/>
8406 <constructor name="Brush" overloaded="no">
8407 <autodoc>__init__(self, Colour colour, int style=SOLID) -&gt; Brush</autodoc>
8408 <docstring>Constructs a brush from a `wx.Colour` object and a style.</docstring>
8409 <paramlist>
8410 <param name="colour" type="Colour" default=""/>
8411 <param name="style" type="int" default="wxSOLID"/>
8412 </paramlist>
8413 </constructor>
8414 <destructor name="~wxBrush" overloaded="no">
8415 <autodoc>__del__(self)</autodoc>
8416 </destructor>
8417 <method name="SetColour" type="" overloaded="no">
8418 <autodoc>SetColour(self, Colour col)</autodoc>
8419 <docstring>Set the brush's `wx.Colour`.</docstring>
8420 <paramlist>
8421 <param name="col" type="Colour" default=""/>
8422 </paramlist>
8423 </method>
8424 <method name="SetStyle" type="" overloaded="no">
8425 <autodoc>SetStyle(self, int style)</autodoc>
8426 <docstring>Sets the style of the brush. See `__init__` for a listing of styles.</docstring>
8427 <paramlist>
8428 <param name="style" type="int" default=""/>
8429 </paramlist>
8430 </method>
8431 <method name="SetStipple" type="" overloaded="no">
8432 <autodoc>SetStipple(self, Bitmap stipple)</autodoc>
8433 <docstring>Sets the stipple `wx.Bitmap`.</docstring>
8434 <paramlist>
8435 <param name="stipple" type="wxBitmap" default=""/>
8436 </paramlist>
8437 </method>
8438 <method name="GetColour" type="Colour" overloaded="no">
8439 <autodoc>GetColour(self) -&gt; Colour</autodoc>
8440 <docstring>Returns the `wx.Colour` of the brush.</docstring>
8441 </method>
8442 <method name="GetStyle" type="int" overloaded="no">
8443 <autodoc>GetStyle(self) -&gt; int</autodoc>
8444 <docstring>Returns the style of the brush. See `__init__` for a listing of
8445 styles.</docstring>
8446 </method>
8447 <method name="GetStipple" type="wxBitmap" overloaded="no">
8448 <autodoc>GetStipple(self) -&gt; Bitmap</autodoc>
8449 <docstring>Returns the stiple `wx.Bitmap` of the brush. If the brush does not
8450 have a wx.STIPPLE style, then the return value may be non-None but an
8451 uninitialised bitmap (`wx.Bitmap.Ok` returns False).</docstring>
8452 </method>
8453 <method name="Ok" type="bool" overloaded="no">
8454 <autodoc>Ok(self) -&gt; bool</autodoc>
8455 <docstring>Returns True if the brush is initialised and valid.</docstring>
8456 </method>
8457 </class>
8458 <class name="Bitmap" oldname="wxBitmap" module="_gdi">
8459 <docstring>The wx.Bitmap class encapsulates the concept of a platform-dependent
8460 bitmap. It can be either monochrome or colour, and either loaded from
8461 a file or created dynamically. A bitmap can be selected into a memory
8462 device context (instance of `wx.MemoryDC`). This enables the bitmap to
8463 be copied to a window or memory device context using `wx.DC.Blit`, or
8464 to be used as a drawing surface.</docstring>
8465 <baseclass name="GDIObject"/>
8466 <constructor name="Bitmap" overloaded="no">
8467 <autodoc>__init__(self, String name, int type=BITMAP_TYPE_ANY) -&gt; Bitmap</autodoc>
8468 <docstring>Loads a bitmap from a file.</docstring>
8469 <paramlist>
8470 <param name="name" type="String" default=""/>
8471 <param name="type" type="wxBitmapType" default="wxBITMAP_TYPE_ANY"/>
8472 </paramlist>
8473 </constructor>
8474 <constructor name="EmptyBitmap" overloaded="no">
8475 <autodoc>EmptyBitmap(int width, int height, int depth=-1) -&gt; Bitmap</autodoc>
8476 <docstring>Creates a new bitmap of the given size. A depth of -1 indicates the
8477 depth of the current screen or visual. Some platforms only support 1
8478 for monochrome and -1 for the current colour setting.</docstring>
8479 <paramlist>
8480 <param name="width" type="int" default=""/>
8481 <param name="height" type="int" default=""/>
8482 <param name="depth" type="int" default="-1"/>
8483 </paramlist>
8484 </constructor>
8485 <constructor name="BitmapFromIcon" overloaded="no">
8486 <autodoc>BitmapFromIcon(Icon icon) -&gt; Bitmap</autodoc>
8487 <docstring>Create a new bitmap from a `wx.Icon` object.</docstring>
8488 <paramlist>
8489 <param name="icon" type="wxIcon" default=""/>
8490 </paramlist>
8491 </constructor>
8492 <constructor name="BitmapFromImage" overloaded="no">
8493 <autodoc>BitmapFromImage(Image image, int depth=-1) -&gt; Bitmap</autodoc>
8494 <docstring>Creates bitmap object from a `wx.Image`. This has to be done to
8495 actually display a `wx.Image` as you cannot draw an image directly on
8496 a window. The resulting bitmap will use the provided colour depth (or
8497 that of the current screen colour depth if depth is -1) which entails
8498 that a colour reduction may have to take place.</docstring>
8499 <paramlist>
8500 <param name="image" type="Image" default=""/>
8501 <param name="depth" type="int" default="-1"/>
8502 </paramlist>
8503 </constructor>
8504 <constructor name="BitmapFromXPMData" overloaded="no">
8505 <autodoc>BitmapFromXPMData(PyObject listOfStrings) -&gt; Bitmap</autodoc>
8506 <docstring>Construct a Bitmap from a list of strings formatted as XPM data.</docstring>
8507 <paramlist>
8508 <param name="listOfStrings" type="PyObject" default=""/>
8509 </paramlist>
8510 </constructor>
8511 <constructor name="BitmapFromBits" overloaded="no">
8512 <autodoc>BitmapFromBits(PyObject bits, int width, int height, int depth=1) -&gt; Bitmap</autodoc>
8513 <docstring>Creates a bitmap from an array of bits. You should only use this
8514 function for monochrome bitmaps (depth 1) in portable programs: in
8515 this case the bits parameter should contain an XBM image. For other
8516 bit depths, the behaviour is platform dependent.</docstring>
8517 <paramlist>
8518 <param name="bits" type="PyObject" default=""/>
8519 <param name="width" type="int" default=""/>
8520 <param name="height" type="int" default=""/>
8521 <param name="depth" type="int" default="1"/>
8522 </paramlist>
8523 </constructor>
8524 <destructor name="~wxBitmap" overloaded="no">
8525 <autodoc>__del__(self)</autodoc>
8526 </destructor>
8527 <method name="Ok" type="bool" overloaded="no">
8528 <autodoc>Ok(self) -&gt; bool</autodoc>
8529 </method>
8530 <method name="GetWidth" type="int" overloaded="no">
8531 <autodoc>GetWidth(self) -&gt; int</autodoc>
8532 <docstring>Gets the width of the bitmap in pixels.</docstring>
8533 </method>
8534 <method name="GetHeight" type="int" overloaded="no">
8535 <autodoc>GetHeight(self) -&gt; int</autodoc>
8536 <docstring>Gets the height of the bitmap in pixels.</docstring>
8537 </method>
8538 <method name="GetDepth" type="int" overloaded="no">
8539 <autodoc>GetDepth(self) -&gt; int</autodoc>
8540 <docstring>Gets the colour depth of the bitmap. A value of 1 indicates a
8541 monochrome bitmap.</docstring>
8542 </method>
8543 <method name="GetSize" type="Size" overloaded="no">
8544 <autodoc>GetSize(self) -&gt; Size</autodoc>
8545 <docstring>Get the size of the bitmap.</docstring>
8546 </method>
8547 <method name="ConvertToImage" type="Image" overloaded="no">
8548 <autodoc>ConvertToImage(self) -&gt; Image</autodoc>
8549 <docstring>Creates a platform-independent image from a platform-dependent
8550 bitmap. This preserves mask information so that bitmaps and images can
8551 be converted back and forth without loss in that respect.</docstring>
8552 </method>
8553 <method name="GetMask" type="wxMask" overloaded="no">
8554 <autodoc>GetMask(self) -&gt; Mask</autodoc>
8555 <docstring>Gets the associated mask (if any) which may have been loaded from a
8556 file or explpicitly set for the bitmap.
8557
8558 :see: `SetMask`, `wx.Mask`
8559 </docstring>
8560 </method>
8561 <method name="SetMask" type="" overloaded="no">
8562 <autodoc>SetMask(self, Mask mask)</autodoc>
8563 <docstring>Sets the mask for this bitmap.
8564
8565 :see: `GetMask`, `wx.Mask`
8566 </docstring>
8567 <paramlist>
8568 <param name="mask" type="wxMask" default=""/>
8569 </paramlist>
8570 </method>
8571 <method name="SetMaskColour" type="" overloaded="no">
8572 <autodoc>SetMaskColour(self, Colour colour)</autodoc>
8573 <docstring>Create a Mask based on a specified colour in the Bitmap.</docstring>
8574 <paramlist>
8575 <param name="colour" type="Colour" default=""/>
8576 </paramlist>
8577 </method>
8578 <method name="GetSubBitmap" type="Bitmap" overloaded="no">
8579 <autodoc>GetSubBitmap(self, Rect rect) -&gt; Bitmap</autodoc>
8580 <docstring>Returns a sub-bitmap of the current one as long as the rect belongs
8581 entirely to the bitmap. This function preserves bit depth and mask
8582 information.</docstring>
8583 <paramlist>
8584 <param name="rect" type="Rect" default=""/>
8585 </paramlist>
8586 </method>
8587 <method name="SaveFile" type="bool" overloaded="no">
8588 <autodoc>SaveFile(self, String name, int type, Palette palette=None) -&gt; bool</autodoc>
8589 <docstring>Saves a bitmap in the named file. See `__init__` for a description of
8590 the ``type`` parameter.</docstring>
8591 <paramlist>
8592 <param name="name" type="String" default=""/>
8593 <param name="type" type="wxBitmapType" default=""/>
8594 <param name="palette" type="Palette" default="NULL"/>
8595 </paramlist>
8596 </method>
8597 <method name="LoadFile" type="bool" overloaded="no">
8598 <autodoc>LoadFile(self, String name, int type) -&gt; bool</autodoc>
8599 <docstring>Loads a bitmap from a file. See `__init__` for a description of the
8600 ``type`` parameter.</docstring>
8601 <paramlist>
8602 <param name="name" type="String" default=""/>
8603 <param name="type" type="wxBitmapType" default=""/>
8604 </paramlist>
8605 </method>
8606 <method name="CopyFromIcon" type="bool" overloaded="no">
8607 <autodoc>CopyFromIcon(self, Icon icon) -&gt; bool</autodoc>
8608 <paramlist>
8609 <param name="icon" type="wxIcon" default=""/>
8610 </paramlist>
8611 </method>
8612 <method name="SetHeight" type="" overloaded="no">
8613 <autodoc>SetHeight(self, int height)</autodoc>
8614 <docstring>Set the height property (does not affect the existing bitmap data).</docstring>
8615 <paramlist>
8616 <param name="height" type="int" default=""/>
8617 </paramlist>
8618 </method>
8619 <method name="SetWidth" type="" overloaded="no">
8620 <autodoc>SetWidth(self, int width)</autodoc>
8621 <docstring>Set the width property (does not affect the existing bitmap data).</docstring>
8622 <paramlist>
8623 <param name="width" type="int" default=""/>
8624 </paramlist>
8625 </method>
8626 <method name="SetDepth" type="" overloaded="no">
8627 <autodoc>SetDepth(self, int depth)</autodoc>
8628 <docstring>Set the depth property (does not affect the existing bitmap data).</docstring>
8629 <paramlist>
8630 <param name="depth" type="int" default=""/>
8631 </paramlist>
8632 </method>
8633 <method name="SetSize" type="" overloaded="no">
8634 <autodoc>SetSize(self, Size size)</autodoc>
8635 <docstring>Set the bitmap size (does not affect the existing bitmap data).</docstring>
8636 <paramlist>
8637 <param name="size" type="Size" default=""/>
8638 </paramlist>
8639 </method>
8640 <method name="__eq__" type="bool" overloaded="no">
8641 <autodoc>__eq__(self, Bitmap other) -&gt; bool</autodoc>
8642 <paramlist>
8643 <param name="other" type="Bitmap" default=""/>
8644 </paramlist>
8645 </method>
8646 <method name="__ne__" type="bool" overloaded="no">
8647 <autodoc>__ne__(self, Bitmap other) -&gt; bool</autodoc>
8648 <paramlist>
8649 <param name="other" type="Bitmap" default=""/>
8650 </paramlist>
8651 </method>
8652 </class>
8653 <class name="Mask" oldname="wxMask" module="_gdi">
8654 <docstring>This class encapsulates a monochrome mask bitmap, where the masked
8655 area is black and the unmasked area is white. When associated with a
8656 bitmap and drawn in a device context, the unmasked area of the bitmap
8657 will be drawn, and the masked area will not be drawn.
8658
8659 A mask may be associated with a `wx.Bitmap`. It is used in
8660 `wx.DC.DrawBitmap` or `wx.DC.Blit` when the source device context is a
8661 `wx.MemoryDC` with a `wx.Bitmap` selected into it that contains a
8662 mask.</docstring>
8663 <baseclass name="Object"/>
8664 <constructor name="Mask" overloaded="no">
8665 <autodoc>__init__(self, Bitmap bitmap, Colour colour=NullColour) -&gt; Mask</autodoc>
8666 <docstring>Constructs a mask from a `wx.Bitmap` and a `wx.Colour` in that bitmap
8667 that indicates the transparent portions of the mask. In other words,
8668 the pixels in ``bitmap`` that match ``colour`` will be the transparent
8669 portions of the mask. If no ``colour`` or an invalid ``colour`` is
8670 passed then BLACK is used.
8671
8672 :see: `wx.Bitmap`, `wx.Colour`</docstring>
8673 <paramlist>
8674 <param name="bitmap" type="Bitmap" default=""/>
8675 <param name="colour" type="Colour" default="wxNullColour"/>
8676 </paramlist>
8677 </constructor>
8678 </class>
8679 <pythoncode> MaskColour = wx._deprecated(Mask, "wx.MaskColour is deprecated, use `wx.Mask` instead.") </pythoncode>
8680 <class name="Icon" oldname="wxIcon" module="_gdi">
8681 <baseclass name="GDIObject"/>
8682 <constructor name="Icon" overloaded="no">
8683 <autodoc>__init__(self, String name, int type, int desiredWidth=-1, int desiredHeight=-1) -&gt; Icon</autodoc>
8684 <paramlist>
8685 <param name="name" type="String" default=""/>
8686 <param name="type" type="wxBitmapType" default=""/>
8687 <param name="desiredWidth" type="int" default="-1"/>
8688 <param name="desiredHeight" type="int" default="-1"/>
8689 </paramlist>
8690 </constructor>
8691 <constructor name="EmptyIcon" overloaded="no">
8692 <autodoc>EmptyIcon() -&gt; Icon</autodoc>
8693 </constructor>
8694 <constructor name="IconFromLocation" overloaded="no">
8695 <autodoc>IconFromLocation(IconLocation loc) -&gt; Icon</autodoc>
8696 <paramlist>
8697 <param name="loc" type="wxIconLocation" default=""/>
8698 </paramlist>
8699 </constructor>
8700 <constructor name="IconFromBitmap" overloaded="no">
8701 <autodoc>IconFromBitmap(Bitmap bmp) -&gt; Icon</autodoc>
8702 <paramlist>
8703 <param name="bmp" type="Bitmap" default=""/>
8704 </paramlist>
8705 </constructor>
8706 <constructor name="IconFromXPMData" overloaded="no">
8707 <autodoc>IconFromXPMData(PyObject listOfStrings) -&gt; Icon</autodoc>
8708 <paramlist>
8709 <param name="listOfStrings" type="PyObject" default=""/>
8710 </paramlist>
8711 </constructor>
8712 <destructor name="~wxIcon" overloaded="no">
8713 <autodoc>__del__(self)</autodoc>
8714 </destructor>
8715 <method name="LoadFile" type="bool" overloaded="no">
8716 <autodoc>LoadFile(self, String name, int type) -&gt; bool</autodoc>
8717 <paramlist>
8718 <param name="name" type="String" default=""/>
8719 <param name="type" type="wxBitmapType" default=""/>
8720 </paramlist>
8721 </method>
8722 <method name="Ok" type="bool" overloaded="no">
8723 <autodoc>Ok(self) -&gt; bool</autodoc>
8724 </method>
8725 <method name="GetWidth" type="int" overloaded="no">
8726 <autodoc>GetWidth(self) -&gt; int</autodoc>
8727 </method>
8728 <method name="GetHeight" type="int" overloaded="no">
8729 <autodoc>GetHeight(self) -&gt; int</autodoc>
8730 </method>
8731 <method name="GetDepth" type="int" overloaded="no">
8732 <autodoc>GetDepth(self) -&gt; int</autodoc>
8733 </method>
8734 <method name="SetWidth" type="" overloaded="no">
8735 <autodoc>SetWidth(self, int w)</autodoc>
8736 <paramlist>
8737 <param name="w" type="int" default=""/>
8738 </paramlist>
8739 </method>
8740 <method name="SetHeight" type="" overloaded="no">
8741 <autodoc>SetHeight(self, int h)</autodoc>
8742 <paramlist>
8743 <param name="h" type="int" default=""/>
8744 </paramlist>
8745 </method>
8746 <method name="SetDepth" type="" overloaded="no">
8747 <autodoc>SetDepth(self, int d)</autodoc>
8748 <paramlist>
8749 <param name="d" type="int" default=""/>
8750 </paramlist>
8751 </method>
8752 <method name="CopyFromBitmap" type="" overloaded="no">
8753 <autodoc>CopyFromBitmap(self, Bitmap bmp)</autodoc>
8754 <paramlist>
8755 <param name="bmp" type="Bitmap" default=""/>
8756 </paramlist>
8757 </method>
8758 </class>
8759 <class name="IconLocation" oldname="wxIconLocation" module="_gdi">
8760 <constructor name="IconLocation" overloaded="no">
8761 <autodoc>__init__(self, String filename=&amp;wxPyEmptyString, int num=0) -&gt; IconLocation</autodoc>
8762 <paramlist>
8763 <param name="filename" type="String" default="&amp;wxPyEmptyString"/>
8764 <param name="num" type="int" default="0"/>
8765 </paramlist>
8766 </constructor>
8767 <destructor name="~wxIconLocation" overloaded="no">
8768 <autodoc>__del__(self)</autodoc>
8769 </destructor>
8770 <method name="IsOk" type="bool" overloaded="no">
8771 <autodoc>IsOk(self) -&gt; bool</autodoc>
8772 </method>
8773 <method name="SetFileName" type="" overloaded="no">
8774 <autodoc>SetFileName(self, String filename)</autodoc>
8775 <paramlist>
8776 <param name="filename" type="String" default=""/>
8777 </paramlist>
8778 </method>
8779 <method name="GetFileName" type="String" overloaded="no">
8780 <autodoc>GetFileName(self) -&gt; String</autodoc>
8781 </method>
8782 <method name="SetIndex" type="" overloaded="no">
8783 <autodoc>SetIndex(self, int num)</autodoc>
8784 <paramlist>
8785 <param name="num" type="int" default=""/>
8786 </paramlist>
8787 </method>
8788 <method name="GetIndex" type="int" overloaded="no">
8789 <autodoc>GetIndex(self) -&gt; int</autodoc>
8790 </method>
8791 </class>
8792 <class name="IconBundle" oldname="wxIconBundle" module="_gdi">
8793 <constructor name="IconBundle" overloaded="no">
8794 <autodoc>__init__(self) -&gt; IconBundle</autodoc>
8795 </constructor>
8796 <constructor name="IconBundleFromFile" overloaded="no">
8797 <autodoc>IconBundleFromFile(String file, long type) -&gt; IconBundle</autodoc>
8798 <paramlist>
8799 <param name="file" type="String" default=""/>
8800 <param name="type" type="long" default=""/>
8801 </paramlist>
8802 </constructor>
8803 <constructor name="IconBundleFromIcon" overloaded="no">
8804 <autodoc>IconBundleFromIcon(Icon icon) -&gt; IconBundle</autodoc>
8805 <paramlist>
8806 <param name="icon" type="Icon" default=""/>
8807 </paramlist>
8808 </constructor>
8809 <destructor name="~wxIconBundle" overloaded="no">
8810 <autodoc>__del__(self)</autodoc>
8811 </destructor>
8812 <method name="AddIcon" type="" overloaded="no">
8813 <autodoc>AddIcon(self, Icon icon)</autodoc>
8814 <paramlist>
8815 <param name="icon" type="Icon" default=""/>
8816 </paramlist>
8817 </method>
8818 <method name="AddIconFromFile" type="" overloaded="no">
8819 <autodoc>AddIconFromFile(self, String file, long type)</autodoc>
8820 <paramlist>
8821 <param name="file" type="String" default=""/>
8822 <param name="type" type="long" default=""/>
8823 </paramlist>
8824 </method>
8825 <method name="GetIcon" type="Icon" overloaded="no">
8826 <autodoc>GetIcon(self, Size size) -&gt; Icon</autodoc>
8827 <paramlist>
8828 <param name="size" type="Size" default=""/>
8829 </paramlist>
8830 </method>
8831 </class>
8832 <class name="Cursor" oldname="wxCursor" module="_gdi">
8833 <docstring>A cursor is a small bitmap usually used for denoting where the mouse
8834 pointer is, with a picture that might indicate the interpretation of a
8835 mouse click.
8836
8837 A single cursor object may be used in many windows (any subwindow
8838 type). The wxWindows convention is to set the cursor for a window, as
8839 in X, rather than to set it globally as in MS Windows, although a
8840 global `wx.SetCursor` function is also available for use on MS Windows.
8841 </docstring>
8842 <baseclass name="GDIObject"/>
8843 <constructor name="Cursor" overloaded="no">
8844 <autodoc>__init__(self, String cursorName, long type, int hotSpotX=0, int hotSpotY=0) -&gt; Cursor</autodoc>
8845 <docstring>Construct a Cursor from a file. Specify the type of file using
8846 wx.BITAMP_TYPE* constants, and specify the hotspot if not using a cur
8847 file.
8848
8849 This constructor is not available on wxGTK, use ``wx.StockCursor``,
8850 ``wx.CursorFromImage``, or ``wx.CursorFromBits`` instead.</docstring>
8851 <paramlist>
8852 <param name="cursorName" type="String" default=""/>
8853 <param name="type" type="long" default=""/>
8854 <param name="hotSpotX" type="int" default="0"/>
8855 <param name="hotSpotY" type="int" default="0"/>
8856 </paramlist>
8857 </constructor>
8858 <constructor name="StockCursor" overloaded="no">
8859 <autodoc>StockCursor(int id) -&gt; Cursor</autodoc>
8860 <docstring>Create a cursor using one of the stock cursors. Note that not all
8861 cursors are available on all platforms.</docstring>
8862 <paramlist>
8863 <param name="id" type="int" default=""/>
8864 </paramlist>
8865 </constructor>
8866 <constructor name="CursorFromImage" overloaded="no">
8867 <autodoc>CursorFromImage(Image image) -&gt; Cursor</autodoc>
8868 <docstring>Constructs a cursor from a wxImage. The cursor is monochrome, colors
8869 with the RGB elements all greater than 127 will be foreground, colors
8870 less than this background. The mask (if any) will be used as
8871 transparent.</docstring>
8872 <paramlist>
8873 <param name="image" type="Image" default=""/>
8874 </paramlist>
8875 </constructor>
8876 <destructor name="~wxCursor" overloaded="no">
8877 <autodoc>__del__(self)</autodoc>
8878 </destructor>
8879 <method name="Ok" type="bool" overloaded="no">
8880 <autodoc>Ok(self) -&gt; bool</autodoc>
8881 </method>
8882 </class>
8883 <pythoncode>
8884 #---------------------------------------------------------------------------
8885 </pythoncode>
8886 <class name="Region" oldname="wxRegion" module="_gdi">
8887 <baseclass name="GDIObject"/>
8888 <constructor name="Region" overloaded="no">
8889 <autodoc>__init__(self, int x=0, int y=0, int width=0, int height=0) -&gt; Region</autodoc>
8890 <paramlist>
8891 <param name="x" type="int" default="0"/>
8892 <param name="y" type="int" default="0"/>
8893 <param name="width" type="int" default="0"/>
8894 <param name="height" type="int" default="0"/>
8895 </paramlist>
8896 </constructor>
8897 <constructor name="RegionFromBitmap" overloaded="no">
8898 <autodoc>RegionFromBitmap(Bitmap bmp, Colour transColour=NullColour, int tolerance=0) -&gt; Region</autodoc>
8899 <paramlist>
8900 <param name="bmp" type="Bitmap" default=""/>
8901 <param name="transColour" type="Colour" default="wxNullColour"/>
8902 <param name="tolerance" type="int" default="0"/>
8903 </paramlist>
8904 </constructor>
8905 <constructor name="RegionFromPoints" overloaded="no">
8906 <autodoc>RegionFromPoints(int points, Point points_array, int fillStyle=WINDING_RULE) -&gt; Region</autodoc>
8907 <paramlist>
8908 <param name="points" type="int" default=""/>
8909 <param name="points_array" type="Point" default=""/>
8910 <param name="fillStyle" type="int" default="wxWINDING_RULE"/>
8911 </paramlist>
8912 </constructor>
8913 <destructor name="~wxRegion" overloaded="no">
8914 <autodoc>__del__(self)</autodoc>
8915 </destructor>
8916 <method name="Clear" type="" overloaded="no">
8917 <autodoc>Clear(self)</autodoc>
8918 </method>
8919 <method name="Offset" type="bool" overloaded="no">
8920 <autodoc>Offset(self, int x, int y) -&gt; bool</autodoc>
8921 <paramlist>
8922 <param name="x" type="int" default=""/>
8923 <param name="y" type="int" default=""/>
8924 </paramlist>
8925 </method>
8926 <method name="Contains" type="wxRegionContain" overloaded="no">
8927 <autodoc>Contains(self, int x, int y) -&gt; int</autodoc>
8928 <paramlist>
8929 <param name="x" type="int" default=""/>
8930 <param name="y" type="int" default=""/>
8931 </paramlist>
8932 </method>
8933 <method name="ContainsPoint" type="wxRegionContain" overloaded="no">
8934 <autodoc>ContainsPoint(self, Point pt) -&gt; int</autodoc>
8935 <paramlist>
8936 <param name="pt" type="Point" default=""/>
8937 </paramlist>
8938 </method>
8939 <method name="ContainsRect" type="wxRegionContain" overloaded="no">
8940 <autodoc>ContainsRect(self, Rect rect) -&gt; int</autodoc>
8941 <paramlist>
8942 <param name="rect" type="Rect" default=""/>
8943 </paramlist>
8944 </method>
8945 <method name="ContainsRectDim" type="wxRegionContain" overloaded="no">
8946 <autodoc>ContainsRectDim(self, int x, int y, int w, int h) -&gt; int</autodoc>
8947 <paramlist>
8948 <param name="x" type="int" default=""/>
8949 <param name="y" type="int" default=""/>
8950 <param name="w" type="int" default=""/>
8951 <param name="h" type="int" default=""/>
8952 </paramlist>
8953 </method>
8954 <method name="GetBox" type="Rect" overloaded="no">
8955 <autodoc>GetBox(self) -&gt; Rect</autodoc>
8956 </method>
8957 <method name="Intersect" type="bool" overloaded="no">
8958 <autodoc>Intersect(self, int x, int y, int width, int height) -&gt; bool</autodoc>
8959 <paramlist>
8960 <param name="x" type="int" default=""/>
8961 <param name="y" type="int" default=""/>
8962 <param name="width" type="int" default=""/>
8963 <param name="height" type="int" default=""/>
8964 </paramlist>
8965 </method>
8966 <method name="IntersectRect" type="bool" overloaded="no">
8967 <autodoc>IntersectRect(self, Rect rect) -&gt; bool</autodoc>
8968 <paramlist>
8969 <param name="rect" type="Rect" default=""/>
8970 </paramlist>
8971 </method>
8972 <method name="IntersectRegion" type="bool" overloaded="no">
8973 <autodoc>IntersectRegion(self, Region region) -&gt; bool</autodoc>
8974 <paramlist>
8975 <param name="region" type="Region" default=""/>
8976 </paramlist>
8977 </method>
8978 <method name="IsEmpty" type="bool" overloaded="no">
8979 <autodoc>IsEmpty(self) -&gt; bool</autodoc>
8980 </method>
8981 <method name="Union" type="bool" overloaded="no">
8982 <autodoc>Union(self, int x, int y, int width, int height) -&gt; bool</autodoc>
8983 <paramlist>
8984 <param name="x" type="int" default=""/>
8985 <param name="y" type="int" default=""/>
8986 <param name="width" type="int" default=""/>
8987 <param name="height" type="int" default=""/>
8988 </paramlist>
8989 </method>
8990 <method name="UnionRect" type="bool" overloaded="no">
8991 <autodoc>UnionRect(self, Rect rect) -&gt; bool</autodoc>
8992 <paramlist>
8993 <param name="rect" type="Rect" default=""/>
8994 </paramlist>
8995 </method>
8996 <method name="UnionRegion" type="bool" overloaded="no">
8997 <autodoc>UnionRegion(self, Region region) -&gt; bool</autodoc>
8998 <paramlist>
8999 <param name="region" type="Region" default=""/>
9000 </paramlist>
9001 </method>
9002 <method name="Subtract" type="bool" overloaded="no">
9003 <autodoc>Subtract(self, int x, int y, int width, int height) -&gt; bool</autodoc>
9004 <paramlist>
9005 <param name="x" type="int" default=""/>
9006 <param name="y" type="int" default=""/>
9007 <param name="width" type="int" default=""/>
9008 <param name="height" type="int" default=""/>
9009 </paramlist>
9010 </method>
9011 <method name="SubtractRect" type="bool" overloaded="no">
9012 <autodoc>SubtractRect(self, Rect rect) -&gt; bool</autodoc>
9013 <paramlist>
9014 <param name="rect" type="Rect" default=""/>
9015 </paramlist>
9016 </method>
9017 <method name="SubtractRegion" type="bool" overloaded="no">
9018 <autodoc>SubtractRegion(self, Region region) -&gt; bool</autodoc>
9019 <paramlist>
9020 <param name="region" type="Region" default=""/>
9021 </paramlist>
9022 </method>
9023 <method name="Xor" type="bool" overloaded="no">
9024 <autodoc>Xor(self, int x, int y, int width, int height) -&gt; bool</autodoc>
9025 <paramlist>
9026 <param name="x" type="int" default=""/>
9027 <param name="y" type="int" default=""/>
9028 <param name="width" type="int" default=""/>
9029 <param name="height" type="int" default=""/>
9030 </paramlist>
9031 </method>
9032 <method name="XorRect" type="bool" overloaded="no">
9033 <autodoc>XorRect(self, Rect rect) -&gt; bool</autodoc>
9034 <paramlist>
9035 <param name="rect" type="Rect" default=""/>
9036 </paramlist>
9037 </method>
9038 <method name="XorRegion" type="bool" overloaded="no">
9039 <autodoc>XorRegion(self, Region region) -&gt; bool</autodoc>
9040 <paramlist>
9041 <param name="region" type="Region" default=""/>
9042 </paramlist>
9043 </method>
9044 <method name="ConvertToBitmap" type="Bitmap" overloaded="no">
9045 <autodoc>ConvertToBitmap(self) -&gt; Bitmap</autodoc>
9046 </method>
9047 <method name="UnionBitmap" type="bool" overloaded="no">
9048 <autodoc>UnionBitmap(self, Bitmap bmp, Colour transColour=NullColour, int tolerance=0) -&gt; bool</autodoc>
9049 <paramlist>
9050 <param name="bmp" type="Bitmap" default=""/>
9051 <param name="transColour" type="Colour" default="wxNullColour"/>
9052 <param name="tolerance" type="int" default="0"/>
9053 </paramlist>
9054 </method>
9055 </class>
9056 <class name="RegionIterator" oldname="wxRegionIterator" module="_gdi">
9057 <baseclass name="Object"/>
9058 <constructor name="RegionIterator" overloaded="no">
9059 <autodoc>__init__(self, Region region) -&gt; RegionIterator</autodoc>
9060 <paramlist>
9061 <param name="region" type="Region" default=""/>
9062 </paramlist>
9063 </constructor>
9064 <destructor name="~wxRegionIterator" overloaded="no">
9065 <autodoc>__del__(self)</autodoc>
9066 </destructor>
9067 <method name="GetX" type="int" overloaded="no">
9068 <autodoc>GetX(self) -&gt; int</autodoc>
9069 </method>
9070 <method name="GetY" type="int" overloaded="no">
9071 <autodoc>GetY(self) -&gt; int</autodoc>
9072 </method>
9073 <method name="GetW" type="int" overloaded="no">
9074 <autodoc>GetW(self) -&gt; int</autodoc>
9075 </method>
9076 <method name="GetWidth" type="int" overloaded="no">
9077 <autodoc>GetWidth(self) -&gt; int</autodoc>
9078 </method>
9079 <method name="GetH" type="int" overloaded="no">
9080 <autodoc>GetH(self) -&gt; int</autodoc>
9081 </method>
9082 <method name="GetHeight" type="int" overloaded="no">
9083 <autodoc>GetHeight(self) -&gt; int</autodoc>
9084 </method>
9085 <method name="GetRect" type="Rect" overloaded="no">
9086 <autodoc>GetRect(self) -&gt; Rect</autodoc>
9087 </method>
9088 <method name="HaveRects" type="bool" overloaded="no">
9089 <autodoc>HaveRects(self) -&gt; bool</autodoc>
9090 </method>
9091 <method name="Reset" type="" overloaded="no">
9092 <autodoc>Reset(self)</autodoc>
9093 </method>
9094 <method name="Next" type="" overloaded="no">
9095 <autodoc>Next(self)</autodoc>
9096 </method>
9097 <method name="__nonzero__" type="bool" overloaded="no">
9098 <autodoc>__nonzero__(self) -&gt; bool</autodoc>
9099 </method>
9100 </class>
9101 <pythoncode>
9102 #---------------------------------------------------------------------------
9103 </pythoncode>
9104 <pythoncode>
9105 #---------------------------------------------------------------------------
9106 </pythoncode>
9107 <class name="NativeFontInfo" oldname="wxNativeFontInfo" module="_gdi">
9108 <constructor name="NativeFontInfo" overloaded="no">
9109 <autodoc>__init__(self) -&gt; NativeFontInfo</autodoc>
9110 </constructor>
9111 <destructor name="~wxNativeFontInfo" overloaded="no">
9112 <autodoc>__del__(self)</autodoc>
9113 </destructor>
9114 <method name="Init" type="" overloaded="no">
9115 <autodoc>Init(self)</autodoc>
9116 </method>
9117 <method name="InitFromFont" type="" overloaded="no">
9118 <autodoc>InitFromFont(self, Font font)</autodoc>
9119 <paramlist>
9120 <param name="font" type="wxFont" default=""/>
9121 </paramlist>
9122 </method>
9123 <method name="GetPointSize" type="int" overloaded="no">
9124 <autodoc>GetPointSize(self) -&gt; int</autodoc>
9125 </method>
9126 <method name="GetStyle" type="wxFontStyle" overloaded="no">
9127 <autodoc>GetStyle(self) -&gt; int</autodoc>
9128 </method>
9129 <method name="GetWeight" type="wxFontWeight" overloaded="no">
9130 <autodoc>GetWeight(self) -&gt; int</autodoc>
9131 </method>
9132 <method name="GetUnderlined" type="bool" overloaded="no">
9133 <autodoc>GetUnderlined(self) -&gt; bool</autodoc>
9134 </method>
9135 <method name="GetFaceName" type="String" overloaded="no">
9136 <autodoc>GetFaceName(self) -&gt; String</autodoc>
9137 </method>
9138 <method name="GetFamily" type="wxFontFamily" overloaded="no">
9139 <autodoc>GetFamily(self) -&gt; int</autodoc>
9140 </method>
9141 <method name="GetEncoding" type="wxFontEncoding" overloaded="no">
9142 <autodoc>GetEncoding(self) -&gt; int</autodoc>
9143 </method>
9144 <method name="SetPointSize" type="" overloaded="no">
9145 <autodoc>SetPointSize(self, int pointsize)</autodoc>
9146 <paramlist>
9147 <param name="pointsize" type="int" default=""/>
9148 </paramlist>
9149 </method>
9150 <method name="SetStyle" type="" overloaded="no">
9151 <autodoc>SetStyle(self, int style)</autodoc>
9152 <paramlist>
9153 <param name="style" type="wxFontStyle" default=""/>
9154 </paramlist>
9155 </method>
9156 <method name="SetWeight" type="" overloaded="no">
9157 <autodoc>SetWeight(self, int weight)</autodoc>
9158 <paramlist>
9159 <param name="weight" type="wxFontWeight" default=""/>
9160 </paramlist>
9161 </method>
9162 <method name="SetUnderlined" type="" overloaded="no">
9163 <autodoc>SetUnderlined(self, bool underlined)</autodoc>
9164 <paramlist>
9165 <param name="underlined" type="bool" default=""/>
9166 </paramlist>
9167 </method>
9168 <method name="SetFaceName" type="" overloaded="no">
9169 <autodoc>SetFaceName(self, String facename)</autodoc>
9170 <paramlist>
9171 <param name="facename" type="String" default=""/>
9172 </paramlist>
9173 </method>
9174 <method name="SetFamily" type="" overloaded="no">
9175 <autodoc>SetFamily(self, int family)</autodoc>
9176 <paramlist>
9177 <param name="family" type="wxFontFamily" default=""/>
9178 </paramlist>
9179 </method>
9180 <method name="SetEncoding" type="" overloaded="no">
9181 <autodoc>SetEncoding(self, int encoding)</autodoc>
9182 <paramlist>
9183 <param name="encoding" type="wxFontEncoding" default=""/>
9184 </paramlist>
9185 </method>
9186 <method name="FromString" type="bool" overloaded="no">
9187 <autodoc>FromString(self, String s) -&gt; bool</autodoc>
9188 <paramlist>
9189 <param name="s" type="String" default=""/>
9190 </paramlist>
9191 </method>
9192 <method name="ToString" type="String" overloaded="no">
9193 <autodoc>ToString(self) -&gt; String</autodoc>
9194 </method>
9195 <method name="__str__" type="String" overloaded="no">
9196 <autodoc>__str__(self) -&gt; String</autodoc>
9197 </method>
9198 <method name="FromUserString" type="bool" overloaded="no">
9199 <autodoc>FromUserString(self, String s) -&gt; bool</autodoc>
9200 <paramlist>
9201 <param name="s" type="String" default=""/>
9202 </paramlist>
9203 </method>
9204 <method name="ToUserString" type="String" overloaded="no">
9205 <autodoc>ToUserString(self) -&gt; String</autodoc>
9206 </method>
9207 </class>
9208 <class name="NativeEncodingInfo" oldname="wxNativeEncodingInfo" module="_gdi">
9209 <constructor name="NativeEncodingInfo" overloaded="no">
9210 <autodoc>__init__(self) -&gt; NativeEncodingInfo</autodoc>
9211 </constructor>
9212 <destructor name="~wxNativeEncodingInfo" overloaded="no">
9213 <autodoc>__del__(self)</autodoc>
9214 </destructor>
9215 <property name="facename" type="String" readonly="no"/>
9216 <property name="encoding" type="wxFontEncoding" readonly="no"/>
9217 <method name="FromString" type="bool" overloaded="no">
9218 <autodoc>FromString(self, String s) -&gt; bool</autodoc>
9219 <paramlist>
9220 <param name="s" type="String" default=""/>
9221 </paramlist>
9222 </method>
9223 <method name="ToString" type="String" overloaded="no">
9224 <autodoc>ToString(self) -&gt; String</autodoc>
9225 </method>
9226 </class>
9227 <method name="GetNativeFontEncoding" oldname="wxGetNativeFontEncoding" type="NativeEncodingInfo" overloaded="no">
9228 <autodoc>GetNativeFontEncoding(int encoding) -&gt; NativeEncodingInfo</autodoc>
9229 <paramlist>
9230 <param name="encoding" type="wxFontEncoding" default=""/>
9231 </paramlist>
9232 </method>
9233 <method name="TestFontEncoding" oldname="wxTestFontEncoding" type="bool" overloaded="no">
9234 <autodoc>TestFontEncoding(NativeEncodingInfo info) -&gt; bool</autodoc>
9235 <paramlist>
9236 <param name="info" type="NativeEncodingInfo" default=""/>
9237 </paramlist>
9238 </method>
9239 <pythoncode>
9240 #---------------------------------------------------------------------------
9241 </pythoncode>
9242 <class name="FontMapper" oldname="wxFontMapper" module="_gdi">
9243 <constructor name="FontMapper" overloaded="no">
9244 <autodoc>__init__(self) -&gt; FontMapper</autodoc>
9245 </constructor>
9246 <destructor name="~wxFontMapper" overloaded="no">
9247 <autodoc>__del__(self)</autodoc>
9248 </destructor>
9249 <staticmethod name="Get" type="FontMapper" overloaded="no">
9250 <autodoc>Get() -&gt; FontMapper</autodoc>
9251 </staticmethod>
9252 <staticmethod name="Set" type="FontMapper" overloaded="no">
9253 <autodoc>Set(FontMapper mapper) -&gt; FontMapper</autodoc>
9254 <paramlist>
9255 <param name="mapper" type="FontMapper" default=""/>
9256 </paramlist>
9257 </staticmethod>
9258 <method name="CharsetToEncoding" type="wxFontEncoding" overloaded="no">
9259 <autodoc>CharsetToEncoding(self, String charset, bool interactive=True) -&gt; int</autodoc>
9260 <paramlist>
9261 <param name="charset" type="String" default=""/>
9262 <param name="interactive" type="bool" default="True"/>
9263 </paramlist>
9264 </method>
9265 <staticmethod name="GetSupportedEncodingsCount" type="size_t" overloaded="no">
9266 <autodoc>GetSupportedEncodingsCount() -&gt; size_t</autodoc>
9267 </staticmethod>
9268 <staticmethod name="GetEncoding" type="wxFontEncoding" overloaded="no">
9269 <autodoc>GetEncoding(size_t n) -&gt; int</autodoc>
9270 <paramlist>
9271 <param name="n" type="size_t" default=""/>
9272 </paramlist>
9273 </staticmethod>
9274 <staticmethod name="GetEncodingName" type="String" overloaded="no">
9275 <autodoc>GetEncodingName(int encoding) -&gt; String</autodoc>
9276 <paramlist>
9277 <param name="encoding" type="wxFontEncoding" default=""/>
9278 </paramlist>
9279 </staticmethod>
9280 <staticmethod name="GetEncodingDescription" type="String" overloaded="no">
9281 <autodoc>GetEncodingDescription(int encoding) -&gt; String</autodoc>
9282 <paramlist>
9283 <param name="encoding" type="wxFontEncoding" default=""/>
9284 </paramlist>
9285 </staticmethod>
9286 <staticmethod name="GetEncodingFromName" type="wxFontEncoding" overloaded="no">
9287 <autodoc>GetEncodingFromName(String name) -&gt; int</autodoc>
9288 <paramlist>
9289 <param name="name" type="String" default=""/>
9290 </paramlist>
9291 </staticmethod>
9292 <method name="SetConfig" type="" overloaded="no">
9293 <autodoc>SetConfig(self, ConfigBase config)</autodoc>
9294 <paramlist>
9295 <param name="config" type="wxConfigBase" default=""/>
9296 </paramlist>
9297 </method>
9298 <method name="SetConfigPath" type="" overloaded="no">
9299 <autodoc>SetConfigPath(self, String prefix)</autodoc>
9300 <paramlist>
9301 <param name="prefix" type="String" default=""/>
9302 </paramlist>
9303 </method>
9304 <staticmethod name="GetDefaultConfigPath" type="String" overloaded="no">
9305 <autodoc>GetDefaultConfigPath() -&gt; String</autodoc>
9306 </staticmethod>
9307 <method name="GetAltForEncoding" type="PyObject" overloaded="no">
9308 <autodoc>GetAltForEncoding(self, int encoding, String facename=EmptyString, bool interactive=True) -&gt; PyObject</autodoc>
9309 <paramlist>
9310 <param name="encoding" type="wxFontEncoding" default=""/>
9311 <param name="facename" type="String" default="wxPyEmptyString"/>
9312 <param name="interactive" type="bool" default="True"/>
9313 </paramlist>
9314 </method>
9315 <method name="IsEncodingAvailable" type="bool" overloaded="no">
9316 <autodoc>IsEncodingAvailable(self, int encoding, String facename=EmptyString) -&gt; bool</autodoc>
9317 <paramlist>
9318 <param name="encoding" type="wxFontEncoding" default=""/>
9319 <param name="facename" type="String" default="wxPyEmptyString"/>
9320 </paramlist>
9321 </method>
9322 <method name="SetDialogParent" type="" overloaded="no">
9323 <autodoc>SetDialogParent(self, Window parent)</autodoc>
9324 <paramlist>
9325 <param name="parent" type="Window" default=""/>
9326 </paramlist>
9327 </method>
9328 <method name="SetDialogTitle" type="" overloaded="no">
9329 <autodoc>SetDialogTitle(self, String title)</autodoc>
9330 <paramlist>
9331 <param name="title" type="String" default=""/>
9332 </paramlist>
9333 </method>
9334 </class>
9335 <pythoncode>
9336 #---------------------------------------------------------------------------
9337 </pythoncode>
9338 <class name="Font" oldname="wxFont" module="_gdi">
9339 <baseclass name="GDIObject"/>
9340 <constructor name="Font" overloaded="no">
9341 <autodoc>__init__(self, int pointSize, int family, int style, int weight, bool underline=False,
9342 String face=EmptyString,
9343 int encoding=FONTENCODING_DEFAULT) -&gt; Font</autodoc>
9344 <paramlist>
9345 <param name="pointSize" type="int" default=""/>
9346 <param name="family" type="int" default=""/>
9347 <param name="style" type="int" default=""/>
9348 <param name="weight" type="int" default=""/>
9349 <param name="underline" type="bool" default="False"/>
9350 <param name="face" type="String" default="wxPyEmptyString"/>
9351 <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_DEFAULT"/>
9352 </paramlist>
9353 </constructor>
9354 <constructor name="FontFromNativeInfo" overloaded="no">
9355 <autodoc>FontFromNativeInfo(NativeFontInfo info) -&gt; Font</autodoc>
9356 <paramlist>
9357 <param name="info" type="NativeFontInfo" default=""/>
9358 </paramlist>
9359 </constructor>
9360 <constructor name="FontFromNativeInfoString" overloaded="no">
9361 <autodoc>FontFromNativeInfoString(String info) -&gt; Font</autodoc>
9362 <paramlist>
9363 <param name="info" type="String" default=""/>
9364 </paramlist>
9365 </constructor>
9366 <constructor name="Font2" overloaded="no">
9367 <autodoc>Font2(int pointSize, int family, int flags=FONTFLAG_DEFAULT,
9368 String face=EmptyString, int encoding=FONTENCODING_DEFAULT) -&gt; Font</autodoc>
9369 <paramlist>
9370 <param name="pointSize" type="int" default=""/>
9371 <param name="family" type="wxFontFamily" default=""/>
9372 <param name="flags" type="int" default="wxFONTFLAG_DEFAULT"/>
9373 <param name="face" type="String" default="wxPyEmptyString"/>
9374 <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_DEFAULT"/>
9375 </paramlist>
9376 </constructor>
9377 <destructor name="~wxFont" overloaded="no">
9378 <autodoc>__del__(self)</autodoc>
9379 </destructor>
9380 <method name="Ok" type="bool" overloaded="no">
9381 <autodoc>Ok(self) -&gt; bool</autodoc>
9382 </method>
9383 <method name="__eq__" type="bool" overloaded="no">
9384 <autodoc>__eq__(self, Font other) -&gt; bool</autodoc>
9385 <paramlist>
9386 <param name="other" type="Font" default=""/>
9387 </paramlist>
9388 </method>
9389 <method name="__ne__" type="bool" overloaded="no">
9390 <autodoc>__ne__(self, Font other) -&gt; bool</autodoc>
9391 <paramlist>
9392 <param name="other" type="Font" default=""/>
9393 </paramlist>
9394 </method>
9395 <method name="GetPointSize" type="int" overloaded="no">
9396 <autodoc>GetPointSize(self) -&gt; int</autodoc>
9397 </method>
9398 <method name="GetFamily" type="int" overloaded="no">
9399 <autodoc>GetFamily(self) -&gt; int</autodoc>
9400 </method>
9401 <method name="GetStyle" type="int" overloaded="no">
9402 <autodoc>GetStyle(self) -&gt; int</autodoc>
9403 </method>
9404 <method name="GetWeight" type="int" overloaded="no">
9405 <autodoc>GetWeight(self) -&gt; int</autodoc>
9406 </method>
9407 <method name="GetUnderlined" type="bool" overloaded="no">
9408 <autodoc>GetUnderlined(self) -&gt; bool</autodoc>
9409 </method>
9410 <method name="GetFaceName" type="String" overloaded="no">
9411 <autodoc>GetFaceName(self) -&gt; String</autodoc>
9412 </method>
9413 <method name="GetEncoding" type="wxFontEncoding" overloaded="no">
9414 <autodoc>GetEncoding(self) -&gt; int</autodoc>
9415 </method>
9416 <method name="GetNativeFontInfo" type="NativeFontInfo" overloaded="no">
9417 <autodoc>GetNativeFontInfo(self) -&gt; NativeFontInfo</autodoc>
9418 </method>
9419 <method name="IsFixedWidth" type="bool" overloaded="no">
9420 <autodoc>IsFixedWidth(self) -&gt; bool</autodoc>
9421 </method>
9422 <method name="GetNativeFontInfoDesc" type="String" overloaded="no">
9423 <autodoc>GetNativeFontInfoDesc(self) -&gt; String</autodoc>
9424 </method>
9425 <method name="GetNativeFontInfoUserDesc" type="String" overloaded="no">
9426 <autodoc>GetNativeFontInfoUserDesc(self) -&gt; String</autodoc>
9427 </method>
9428 <method name="SetPointSize" type="" overloaded="no">
9429 <autodoc>SetPointSize(self, int pointSize)</autodoc>
9430 <paramlist>
9431 <param name="pointSize" type="int" default=""/>
9432 </paramlist>
9433 </method>
9434 <method name="SetFamily" type="" overloaded="no">
9435 <autodoc>SetFamily(self, int family)</autodoc>
9436 <paramlist>
9437 <param name="family" type="int" default=""/>
9438 </paramlist>
9439 </method>
9440 <method name="SetStyle" type="" overloaded="no">
9441 <autodoc>SetStyle(self, int style)</autodoc>
9442 <paramlist>
9443 <param name="style" type="int" default=""/>
9444 </paramlist>
9445 </method>
9446 <method name="SetWeight" type="" overloaded="no">
9447 <autodoc>SetWeight(self, int weight)</autodoc>
9448 <paramlist>
9449 <param name="weight" type="int" default=""/>
9450 </paramlist>
9451 </method>
9452 <method name="SetFaceName" type="" overloaded="no">
9453 <autodoc>SetFaceName(self, String faceName)</autodoc>
9454 <paramlist>
9455 <param name="faceName" type="String" default=""/>
9456 </paramlist>
9457 </method>
9458 <method name="SetUnderlined" type="" overloaded="no">
9459 <autodoc>SetUnderlined(self, bool underlined)</autodoc>
9460 <paramlist>
9461 <param name="underlined" type="bool" default=""/>
9462 </paramlist>
9463 </method>
9464 <method name="SetEncoding" type="" overloaded="no">
9465 <autodoc>SetEncoding(self, int encoding)</autodoc>
9466 <paramlist>
9467 <param name="encoding" type="wxFontEncoding" default=""/>
9468 </paramlist>
9469 </method>
9470 <method name="SetNativeFontInfo" type="" overloaded="no">
9471 <autodoc>SetNativeFontInfo(self, NativeFontInfo info)</autodoc>
9472 <paramlist>
9473 <param name="info" type="NativeFontInfo" default=""/>
9474 </paramlist>
9475 </method>
9476 <method name="SetNativeFontInfoFromString" type="" overloaded="no">
9477 <autodoc>SetNativeFontInfoFromString(self, String info)</autodoc>
9478 <paramlist>
9479 <param name="info" type="String" default=""/>
9480 </paramlist>
9481 </method>
9482 <method name="SetNativeFontInfoUserDesc" type="" overloaded="no">
9483 <autodoc>SetNativeFontInfoUserDesc(self, String info)</autodoc>
9484 <paramlist>
9485 <param name="info" type="String" default=""/>
9486 </paramlist>
9487 </method>
9488 <method name="GetFamilyString" type="String" overloaded="no">
9489 <autodoc>GetFamilyString(self) -&gt; String</autodoc>
9490 </method>
9491 <method name="GetStyleString" type="String" overloaded="no">
9492 <autodoc>GetStyleString(self) -&gt; String</autodoc>
9493 </method>
9494 <method name="GetWeightString" type="String" overloaded="no">
9495 <autodoc>GetWeightString(self) -&gt; String</autodoc>
9496 </method>
9497 <method name="SetNoAntiAliasing" type="" overloaded="no">
9498 <autodoc>SetNoAntiAliasing(self, bool no=True)</autodoc>
9499 <paramlist>
9500 <param name="no" type="bool" default="True"/>
9501 </paramlist>
9502 </method>
9503 <method name="GetNoAntiAliasing" type="bool" overloaded="no">
9504 <autodoc>GetNoAntiAliasing(self) -&gt; bool</autodoc>
9505 </method>
9506 <staticmethod name="GetDefaultEncoding" type="wxFontEncoding" overloaded="no">
9507 <autodoc>GetDefaultEncoding() -&gt; int</autodoc>
9508 </staticmethod>
9509 <staticmethod name="SetDefaultEncoding" type="" overloaded="no">
9510 <autodoc>SetDefaultEncoding(int encoding)</autodoc>
9511 <paramlist>
9512 <param name="encoding" type="wxFontEncoding" default=""/>
9513 </paramlist>
9514 </staticmethod>
9515 </class>
9516 <pythoncode>
9517 #---------------------------------------------------------------------------
9518 </pythoncode>
9519 <class name="FontEnumerator" oldname="wxPyFontEnumerator" module="_gdi">
9520 <constructor name="wxPyFontEnumerator" overloaded="no">
9521 <autodoc>__init__(self) -&gt; FontEnumerator</autodoc>
9522 </constructor>
9523 <destructor name="~wxPyFontEnumerator" overloaded="no">
9524 <autodoc>__del__(self)</autodoc>
9525 </destructor>
9526 <method name="_setCallbackInfo" type="" overloaded="no">
9527 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class, bool incref)</autodoc>
9528 <paramlist>
9529 <param name="self" type="PyObject" default=""/>
9530 <param name="_class" type="PyObject" default=""/>
9531 <param name="incref" type="bool" default=""/>
9532 </paramlist>
9533 </method>
9534 <method name="EnumerateFacenames" type="bool" overloaded="no">
9535 <autodoc>EnumerateFacenames(self, int encoding=FONTENCODING_SYSTEM, bool fixedWidthOnly=False) -&gt; bool</autodoc>
9536 <paramlist>
9537 <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_SYSTEM"/>
9538 <param name="fixedWidthOnly" type="bool" default="False"/>
9539 </paramlist>
9540 </method>
9541 <method name="EnumerateEncodings" type="bool" overloaded="no">
9542 <autodoc>EnumerateEncodings(self, String facename=EmptyString) -&gt; bool</autodoc>
9543 <paramlist>
9544 <param name="facename" type="String" default="wxPyEmptyString"/>
9545 </paramlist>
9546 </method>
9547 <method name="GetEncodings" type="PyObject" overloaded="no">
9548 <autodoc>GetEncodings(self) -&gt; PyObject</autodoc>
9549 </method>
9550 <method name="GetFacenames" type="PyObject" overloaded="no">
9551 <autodoc>GetFacenames(self) -&gt; PyObject</autodoc>
9552 </method>
9553 </class>
9554 <pythoncode>
9555 #---------------------------------------------------------------------------
9556 </pythoncode>
9557 <class name="LanguageInfo" oldname="wxLanguageInfo" module="_gdi">
9558 <property name="Language" type="int" readonly="no"/>
9559 <property name="CanonicalName" type="String" readonly="no"/>
9560 <property name="Description" type="String" readonly="no"/>
9561 </class>
9562 <class name="Locale" oldname="wxLocale" module="_gdi">
9563 <constructor name="Locale" overloaded="no">
9564 <autodoc>__init__(self, int language=-1, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -&gt; Locale</autodoc>
9565 <paramlist>
9566 <param name="language" type="int" default="-1"/>
9567 <param name="flags" type="int" default="wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING"/>
9568 </paramlist>
9569 </constructor>
9570 <destructor name="~wxLocale" overloaded="no">
9571 <autodoc>__del__(self)</autodoc>
9572 </destructor>
9573 <method name="Init1" type="bool" overloaded="no">
9574 <autodoc>Init1(self, String szName, String szShort=EmptyString, String szLocale=EmptyString,
9575 bool bLoadDefault=True,
9576 bool bConvertEncoding=False) -&gt; bool</autodoc>
9577 <paramlist>
9578 <param name="szName" type="String" default=""/>
9579 <param name="szShort" type="String" default="wxPyEmptyString"/>
9580 <param name="szLocale" type="String" default="wxPyEmptyString"/>
9581 <param name="bLoadDefault" type="bool" default="True"/>
9582 <param name="bConvertEncoding" type="bool" default="False"/>
9583 </paramlist>
9584 </method>
9585 <method name="Init2" type="bool" overloaded="no">
9586 <autodoc>Init2(self, int language=LANGUAGE_DEFAULT, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -&gt; bool</autodoc>
9587 <paramlist>
9588 <param name="language" type="int" default="wxLANGUAGE_DEFAULT"/>
9589 <param name="flags" type="int" default="wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING"/>
9590 </paramlist>
9591 </method>
9592 <staticmethod name="GetSystemLanguage" type="int" overloaded="no">
9593 <autodoc>GetSystemLanguage() -&gt; int</autodoc>
9594 </staticmethod>
9595 <staticmethod name="GetSystemEncoding" type="wxFontEncoding" overloaded="no">
9596 <autodoc>GetSystemEncoding() -&gt; int</autodoc>
9597 </staticmethod>
9598 <staticmethod name="GetSystemEncodingName" type="String" overloaded="no">
9599 <autodoc>GetSystemEncodingName() -&gt; String</autodoc>
9600 </staticmethod>
9601 <method name="IsOk" type="bool" overloaded="no">
9602 <autodoc>IsOk(self) -&gt; bool</autodoc>
9603 </method>
9604 <method name="GetLocale" type="String" overloaded="no">
9605 <autodoc>GetLocale(self) -&gt; String</autodoc>
9606 </method>
9607 <method name="GetLanguage" type="int" overloaded="no">
9608 <autodoc>GetLanguage(self) -&gt; int</autodoc>
9609 </method>
9610 <method name="GetSysName" type="String" overloaded="no">
9611 <autodoc>GetSysName(self) -&gt; String</autodoc>
9612 </method>
9613 <method name="GetCanonicalName" type="String" overloaded="no">
9614 <autodoc>GetCanonicalName(self) -&gt; String</autodoc>
9615 </method>
9616 <staticmethod name="AddCatalogLookupPathPrefix" type="" overloaded="no">
9617 <autodoc>AddCatalogLookupPathPrefix(String prefix)</autodoc>
9618 <paramlist>
9619 <param name="prefix" type="String" default=""/>
9620 </paramlist>
9621 </staticmethod>
9622 <method name="AddCatalog" type="bool" overloaded="no">
9623 <autodoc>AddCatalog(self, String szDomain) -&gt; bool</autodoc>
9624 <paramlist>
9625 <param name="szDomain" type="String" default=""/>
9626 </paramlist>
9627 </method>
9628 <method name="IsLoaded" type="bool" overloaded="no">
9629 <autodoc>IsLoaded(self, String szDomain) -&gt; bool</autodoc>
9630 <paramlist>
9631 <param name="szDomain" type="String" default=""/>
9632 </paramlist>
9633 </method>
9634 <staticmethod name="GetLanguageInfo" type="LanguageInfo" overloaded="no">
9635 <autodoc>GetLanguageInfo(int lang) -&gt; LanguageInfo</autodoc>
9636 <paramlist>
9637 <param name="lang" type="int" default=""/>
9638 </paramlist>
9639 </staticmethod>
9640 <staticmethod name="GetLanguageName" type="String" overloaded="no">
9641 <autodoc>GetLanguageName(int lang) -&gt; String</autodoc>
9642 <paramlist>
9643 <param name="lang" type="int" default=""/>
9644 </paramlist>
9645 </staticmethod>
9646 <staticmethod name="FindLanguageInfo" type="LanguageInfo" overloaded="no">
9647 <autodoc>FindLanguageInfo(String locale) -&gt; LanguageInfo</autodoc>
9648 <paramlist>
9649 <param name="locale" type="String" default=""/>
9650 </paramlist>
9651 </staticmethod>
9652 <staticmethod name="AddLanguage" type="" overloaded="no">
9653 <autodoc>AddLanguage(LanguageInfo info)</autodoc>
9654 <paramlist>
9655 <param name="info" type="LanguageInfo" default=""/>
9656 </paramlist>
9657 </staticmethod>
9658 <method name="GetString" type="String" overloaded="no">
9659 <autodoc>GetString(self, String szOrigString, String szDomain=EmptyString) -&gt; String</autodoc>
9660 <paramlist>
9661 <param name="szOrigString" type="String" default=""/>
9662 <param name="szDomain" type="String" default="wxPyEmptyString"/>
9663 </paramlist>
9664 </method>
9665 <method name="GetName" type="String" overloaded="no">
9666 <autodoc>GetName(self) -&gt; String</autodoc>
9667 </method>
9668 </class>
9669 <method name="GetLocale" oldname="wxGetLocale" type="Locale" overloaded="no">
9670 <autodoc>GetLocale() -&gt; Locale</autodoc>
9671 </method>
9672 <method name="GetTranslation" oldname="wxGetTranslation" type="String" overloaded="yes">
9673 <paramlist>
9674 <param name="str" type="String" default=""/>
9675 </paramlist>
9676 </method>
9677 <method name="GetTranslation" oldname="wxGetTranslation" type="String" overloaded="yes">
9678 <autodoc>GetTranslation(String str) -&gt; String
9679 GetTranslation(String str, String strPlural, size_t n) -&gt; String</autodoc>
9680 <paramlist>
9681 <param name="str" type="String" default=""/>
9682 <param name="strPlural" type="String" default=""/>
9683 <param name="n" type="size_t" default=""/>
9684 </paramlist>
9685 </method>
9686 <pythoncode>
9687 #---------------------------------------------------------------------------
9688 </pythoncode>
9689 <class name="EncodingConverter" oldname="wxEncodingConverter" module="_gdi">
9690 <baseclass name="Object"/>
9691 <constructor name="EncodingConverter" overloaded="no">
9692 <autodoc>__init__(self) -&gt; EncodingConverter</autodoc>
9693 </constructor>
9694 <destructor name="~wxEncodingConverter" overloaded="no">
9695 <autodoc>__del__(self)</autodoc>
9696 </destructor>
9697 <method name="Init" type="bool" overloaded="no">
9698 <autodoc>Init(self, int input_enc, int output_enc, int method=CONVERT_STRICT) -&gt; bool</autodoc>
9699 <paramlist>
9700 <param name="input_enc" type="wxFontEncoding" default=""/>
9701 <param name="output_enc" type="wxFontEncoding" default=""/>
9702 <param name="method" type="int" default="wxCONVERT_STRICT"/>
9703 </paramlist>
9704 </method>
9705 <method name="Convert" type="String" overloaded="no">
9706 <autodoc>Convert(self, String input) -&gt; String</autodoc>
9707 <paramlist>
9708 <param name="input" type="String" default=""/>
9709 </paramlist>
9710 </method>
9711 <staticmethod name="GetPlatformEquivalents" type="wxFontEncodingArray" overloaded="no">
9712 <autodoc>GetPlatformEquivalents(int enc, int platform=PLATFORM_CURRENT) -&gt; wxFontEncodingArray</autodoc>
9713 <paramlist>
9714 <param name="enc" type="wxFontEncoding" default=""/>
9715 <param name="platform" type="int" default="wxPLATFORM_CURRENT"/>
9716 </paramlist>
9717 </staticmethod>
9718 <staticmethod name="GetAllEquivalents" type="wxFontEncodingArray" overloaded="no">
9719 <autodoc>GetAllEquivalents(int enc) -&gt; wxFontEncodingArray</autodoc>
9720 <paramlist>
9721 <param name="enc" type="wxFontEncoding" default=""/>
9722 </paramlist>
9723 </staticmethod>
9724 <staticmethod name="CanConvert" type="bool" overloaded="no">
9725 <autodoc>CanConvert(int encIn, int encOut) -&gt; bool</autodoc>
9726 <paramlist>
9727 <param name="encIn" type="wxFontEncoding" default=""/>
9728 <param name="encOut" type="wxFontEncoding" default=""/>
9729 </paramlist>
9730 </staticmethod>
9731 </class>
9732 <pythoncode>#----------------------------------------------------------------------------
9733 # On MSW add the directory where the wxWidgets catalogs were installed
9734 # to the default catalog path.
9735 if wx.Platform == "__WXMSW__":
9736 import os
9737 localedir = os.path.join(os.path.split(__file__)[0], "locale")
9738 Locale_AddCatalogLookupPathPrefix(localedir)
9739 del os
9740
9741 #----------------------------------------------------------------------------
9742 </pythoncode>
9743 <pythoncode>
9744 #---------------------------------------------------------------------------
9745 </pythoncode>
9746 <class name="DC" oldname="wxDC" module="_gdi">
9747 <baseclass name="Object"/>
9748 <destructor name="~wxDC" overloaded="no">
9749 <autodoc>__del__(self)</autodoc>
9750 </destructor>
9751 <method name="BeginDrawing" type="" overloaded="no">
9752 <autodoc>BeginDrawing(self)</autodoc>
9753 </method>
9754 <method name="EndDrawing" type="" overloaded="no">
9755 <autodoc>EndDrawing(self)</autodoc>
9756 </method>
9757 <method name="FloodFill" type="bool" overloaded="no">
9758 <autodoc>FloodFill(self, int x, int y, Colour col, int style=FLOOD_SURFACE) -&gt; bool</autodoc>
9759 <paramlist>
9760 <param name="x" type="int" default=""/>
9761 <param name="y" type="int" default=""/>
9762 <param name="col" type="Colour" default=""/>
9763 <param name="style" type="int" default="wxFLOOD_SURFACE"/>
9764 </paramlist>
9765 </method>
9766 <method name="FloodFillPoint" type="bool" overloaded="no">
9767 <autodoc>FloodFillPoint(self, Point pt, Colour col, int style=FLOOD_SURFACE) -&gt; bool</autodoc>
9768 <paramlist>
9769 <param name="pt" type="Point" default=""/>
9770 <param name="col" type="Colour" default=""/>
9771 <param name="style" type="int" default="wxFLOOD_SURFACE"/>
9772 </paramlist>
9773 </method>
9774 <method name="GetPixel" type="Colour" overloaded="no">
9775 <autodoc>GetPixel(self, int x, int y) -&gt; Colour</autodoc>
9776 <paramlist>
9777 <param name="x" type="int" default=""/>
9778 <param name="y" type="int" default=""/>
9779 </paramlist>
9780 </method>
9781 <method name="GetPixelPoint" type="Colour" overloaded="no">
9782 <autodoc>GetPixelPoint(self, Point pt) -&gt; Colour</autodoc>
9783 <paramlist>
9784 <param name="pt" type="Point" default=""/>
9785 </paramlist>
9786 </method>
9787 <method name="DrawLine" type="" overloaded="no">
9788 <autodoc>DrawLine(self, int x1, int y1, int x2, int y2)</autodoc>
9789 <paramlist>
9790 <param name="x1" type="int" default=""/>
9791 <param name="y1" type="int" default=""/>
9792 <param name="x2" type="int" default=""/>
9793 <param name="y2" type="int" default=""/>
9794 </paramlist>
9795 </method>
9796 <method name="DrawLinePoint" type="" overloaded="no">
9797 <autodoc>DrawLinePoint(self, Point pt1, Point pt2)</autodoc>
9798 <paramlist>
9799 <param name="pt1" type="Point" default=""/>
9800 <param name="pt2" type="Point" default=""/>
9801 </paramlist>
9802 </method>
9803 <method name="CrossHair" type="" overloaded="no">
9804 <autodoc>CrossHair(self, int x, int y)</autodoc>
9805 <paramlist>
9806 <param name="x" type="int" default=""/>
9807 <param name="y" type="int" default=""/>
9808 </paramlist>
9809 </method>
9810 <method name="CrossHairPoint" type="" overloaded="no">
9811 <autodoc>CrossHairPoint(self, Point pt)</autodoc>
9812 <paramlist>
9813 <param name="pt" type="Point" default=""/>
9814 </paramlist>
9815 </method>
9816 <method name="DrawArc" type="" overloaded="no">
9817 <autodoc>DrawArc(self, int x1, int y1, int x2, int y2, int xc, int yc)</autodoc>
9818 <paramlist>
9819 <param name="x1" type="int" default=""/>
9820 <param name="y1" type="int" default=""/>
9821 <param name="x2" type="int" default=""/>
9822 <param name="y2" type="int" default=""/>
9823 <param name="xc" type="int" default=""/>
9824 <param name="yc" type="int" default=""/>
9825 </paramlist>
9826 </method>
9827 <method name="DrawArcPoint" type="" overloaded="no">
9828 <autodoc>DrawArcPoint(self, Point pt1, Point pt2, Point centre)</autodoc>
9829 <paramlist>
9830 <param name="pt1" type="Point" default=""/>
9831 <param name="pt2" type="Point" default=""/>
9832 <param name="centre" type="Point" default=""/>
9833 </paramlist>
9834 </method>
9835 <method name="DrawCheckMark" type="" overloaded="no">
9836 <autodoc>DrawCheckMark(self, int x, int y, int width, int height)</autodoc>
9837 <paramlist>
9838 <param name="x" type="int" default=""/>
9839 <param name="y" type="int" default=""/>
9840 <param name="width" type="int" default=""/>
9841 <param name="height" type="int" default=""/>
9842 </paramlist>
9843 </method>
9844 <method name="DrawCheckMarkRect" type="" overloaded="no">
9845 <autodoc>DrawCheckMarkRect(self, Rect rect)</autodoc>
9846 <paramlist>
9847 <param name="rect" type="Rect" default=""/>
9848 </paramlist>
9849 </method>
9850 <method name="DrawEllipticArc" type="" overloaded="no">
9851 <autodoc>DrawEllipticArc(self, int x, int y, int w, int h, double sa, double ea)</autodoc>
9852 <paramlist>
9853 <param name="x" type="int" default=""/>
9854 <param name="y" type="int" default=""/>
9855 <param name="w" type="int" default=""/>
9856 <param name="h" type="int" default=""/>
9857 <param name="sa" type="double" default=""/>
9858 <param name="ea" type="double" default=""/>
9859 </paramlist>
9860 </method>
9861 <method name="DrawEllipticArcPointSize" type="" overloaded="no">
9862 <autodoc>DrawEllipticArcPointSize(self, Point pt, Size sz, double sa, double ea)</autodoc>
9863 <paramlist>
9864 <param name="pt" type="Point" default=""/>
9865 <param name="sz" type="Size" default=""/>
9866 <param name="sa" type="double" default=""/>
9867 <param name="ea" type="double" default=""/>
9868 </paramlist>
9869 </method>
9870 <method name="DrawPoint" type="" overloaded="no">
9871 <autodoc>DrawPoint(self, int x, int y)</autodoc>
9872 <paramlist>
9873 <param name="x" type="int" default=""/>
9874 <param name="y" type="int" default=""/>
9875 </paramlist>
9876 </method>
9877 <method name="DrawPointPoint" type="" overloaded="no">
9878 <autodoc>DrawPointPoint(self, Point pt)</autodoc>
9879 <paramlist>
9880 <param name="pt" type="Point" default=""/>
9881 </paramlist>
9882 </method>
9883 <method name="DrawRectangle" type="" overloaded="no">
9884 <autodoc>DrawRectangle(self, int x, int y, int width, int height)</autodoc>
9885 <paramlist>
9886 <param name="x" type="int" default=""/>
9887 <param name="y" type="int" default=""/>
9888 <param name="width" type="int" default=""/>
9889 <param name="height" type="int" default=""/>
9890 </paramlist>
9891 </method>
9892 <method name="DrawRectangleRect" type="" overloaded="no">
9893 <autodoc>DrawRectangleRect(self, Rect rect)</autodoc>
9894 <paramlist>
9895 <param name="rect" type="Rect" default=""/>
9896 </paramlist>
9897 </method>
9898 <method name="DrawRectanglePointSize" type="" overloaded="no">
9899 <autodoc>DrawRectanglePointSize(self, Point pt, Size sz)</autodoc>
9900 <paramlist>
9901 <param name="pt" type="Point" default=""/>
9902 <param name="sz" type="Size" default=""/>
9903 </paramlist>
9904 </method>
9905 <method name="DrawRoundedRectangle" type="" overloaded="no">
9906 <autodoc>DrawRoundedRectangle(self, int x, int y, int width, int height, double radius)</autodoc>
9907 <paramlist>
9908 <param name="x" type="int" default=""/>
9909 <param name="y" type="int" default=""/>
9910 <param name="width" type="int" default=""/>
9911 <param name="height" type="int" default=""/>
9912 <param name="radius" type="double" default=""/>
9913 </paramlist>
9914 </method>
9915 <method name="DrawRoundedRectangleRect" type="" overloaded="no">
9916 <autodoc>DrawRoundedRectangleRect(self, Rect r, double radius)</autodoc>
9917 <paramlist>
9918 <param name="r" type="Rect" default=""/>
9919 <param name="radius" type="double" default=""/>
9920 </paramlist>
9921 </method>
9922 <method name="DrawRoundedRectanglePointSize" type="" overloaded="no">
9923 <autodoc>DrawRoundedRectanglePointSize(self, Point pt, Size sz, double radius)</autodoc>
9924 <paramlist>
9925 <param name="pt" type="Point" default=""/>
9926 <param name="sz" type="Size" default=""/>
9927 <param name="radius" type="double" default=""/>
9928 </paramlist>
9929 </method>
9930 <method name="DrawCircle" type="" overloaded="no">
9931 <autodoc>DrawCircle(self, int x, int y, int radius)</autodoc>
9932 <paramlist>
9933 <param name="x" type="int" default=""/>
9934 <param name="y" type="int" default=""/>
9935 <param name="radius" type="int" default=""/>
9936 </paramlist>
9937 </method>
9938 <method name="DrawCirclePoint" type="" overloaded="no">
9939 <autodoc>DrawCirclePoint(self, Point pt, int radius)</autodoc>
9940 <paramlist>
9941 <param name="pt" type="Point" default=""/>
9942 <param name="radius" type="int" default=""/>
9943 </paramlist>
9944 </method>
9945 <method name="DrawEllipse" type="" overloaded="no">
9946 <autodoc>DrawEllipse(self, int x, int y, int width, int height)</autodoc>
9947 <paramlist>
9948 <param name="x" type="int" default=""/>
9949 <param name="y" type="int" default=""/>
9950 <param name="width" type="int" default=""/>
9951 <param name="height" type="int" default=""/>
9952 </paramlist>
9953 </method>
9954 <method name="DrawEllipseRect" type="" overloaded="no">
9955 <autodoc>DrawEllipseRect(self, Rect rect)</autodoc>
9956 <paramlist>
9957 <param name="rect" type="Rect" default=""/>
9958 </paramlist>
9959 </method>
9960 <method name="DrawEllipsePointSize" type="" overloaded="no">
9961 <autodoc>DrawEllipsePointSize(self, Point pt, Size sz)</autodoc>
9962 <paramlist>
9963 <param name="pt" type="Point" default=""/>
9964 <param name="sz" type="Size" default=""/>
9965 </paramlist>
9966 </method>
9967 <method name="DrawIcon" type="" overloaded="no">
9968 <autodoc>DrawIcon(self, Icon icon, int x, int y)</autodoc>
9969 <paramlist>
9970 <param name="icon" type="Icon" default=""/>
9971 <param name="x" type="int" default=""/>
9972 <param name="y" type="int" default=""/>
9973 </paramlist>
9974 </method>
9975 <method name="DrawIconPoint" type="" overloaded="no">
9976 <autodoc>DrawIconPoint(self, Icon icon, Point pt)</autodoc>
9977 <paramlist>
9978 <param name="icon" type="Icon" default=""/>
9979 <param name="pt" type="Point" default=""/>
9980 </paramlist>
9981 </method>
9982 <method name="DrawBitmap" type="" overloaded="no">
9983 <autodoc>DrawBitmap(self, Bitmap bmp, int x, int y, bool useMask=False)</autodoc>
9984 <paramlist>
9985 <param name="bmp" type="Bitmap" default=""/>
9986 <param name="x" type="int" default=""/>
9987 <param name="y" type="int" default=""/>
9988 <param name="useMask" type="bool" default="False"/>
9989 </paramlist>
9990 </method>
9991 <method name="DrawBitmapPoint" type="" overloaded="no">
9992 <autodoc>DrawBitmapPoint(self, Bitmap bmp, Point pt, bool useMask=False)</autodoc>
9993 <paramlist>
9994 <param name="bmp" type="Bitmap" default=""/>
9995 <param name="pt" type="Point" default=""/>
9996 <param name="useMask" type="bool" default="False"/>
9997 </paramlist>
9998 </method>
9999 <method name="DrawText" type="" overloaded="no">
10000 <autodoc>DrawText(self, String text, int x, int y)</autodoc>
10001 <paramlist>
10002 <param name="text" type="String" default=""/>
10003 <param name="x" type="int" default=""/>
10004 <param name="y" type="int" default=""/>
10005 </paramlist>
10006 </method>
10007 <method name="DrawTextPoint" type="" overloaded="no">
10008 <autodoc>DrawTextPoint(self, String text, Point pt)</autodoc>
10009 <paramlist>
10010 <param name="text" type="String" default=""/>
10011 <param name="pt" type="Point" default=""/>
10012 </paramlist>
10013 </method>
10014 <method name="DrawRotatedText" type="" overloaded="no">
10015 <autodoc>DrawRotatedText(self, String text, int x, int y, double angle)</autodoc>
10016 <paramlist>
10017 <param name="text" type="String" default=""/>
10018 <param name="x" type="int" default=""/>
10019 <param name="y" type="int" default=""/>
10020 <param name="angle" type="double" default=""/>
10021 </paramlist>
10022 </method>
10023 <method name="DrawRotatedTextPoint" type="" overloaded="no">
10024 <autodoc>DrawRotatedTextPoint(self, String text, Point pt, double angle)</autodoc>
10025 <paramlist>
10026 <param name="text" type="String" default=""/>
10027 <param name="pt" type="Point" default=""/>
10028 <param name="angle" type="double" default=""/>
10029 </paramlist>
10030 </method>
10031 <method name="Blit" type="bool" overloaded="no">
10032 <autodoc>Blit(self, int xdest, int ydest, int width, int height, DC source,
10033 int xsrc, int ysrc, int rop=COPY, bool useMask=False,
10034 int xsrcMask=-1, int ysrcMask=-1) -&gt; bool</autodoc>
10035 <paramlist>
10036 <param name="xdest" type="int" default=""/>
10037 <param name="ydest" type="int" default=""/>
10038 <param name="width" type="int" default=""/>
10039 <param name="height" type="int" default=""/>
10040 <param name="source" type="DC" default=""/>
10041 <param name="xsrc" type="int" default=""/>
10042 <param name="ysrc" type="int" default=""/>
10043 <param name="rop" type="int" default="wxCOPY"/>
10044 <param name="useMask" type="bool" default="False"/>
10045 <param name="xsrcMask" type="int" default="-1"/>
10046 <param name="ysrcMask" type="int" default="-1"/>
10047 </paramlist>
10048 </method>
10049 <method name="BlitPointSize" type="bool" overloaded="no">
10050 <autodoc>BlitPointSize(self, Point destPt, Size sz, DC source, Point srcPt, int rop=COPY,
10051 bool useMask=False, Point srcPtMask=DefaultPosition) -&gt; bool</autodoc>
10052 <paramlist>
10053 <param name="destPt" type="Point" default=""/>
10054 <param name="sz" type="Size" default=""/>
10055 <param name="source" type="DC" default=""/>
10056 <param name="srcPt" type="Point" default=""/>
10057 <param name="rop" type="int" default="wxCOPY"/>
10058 <param name="useMask" type="bool" default="False"/>
10059 <param name="srcPtMask" type="Point" default="wxDefaultPosition"/>
10060 </paramlist>
10061 </method>
10062 <method name="SetClippingRegion" type="" overloaded="no">
10063 <autodoc>SetClippingRegion(self, int x, int y, int width, int height)</autodoc>
10064 <paramlist>
10065 <param name="x" type="int" default=""/>
10066 <param name="y" type="int" default=""/>
10067 <param name="width" type="int" default=""/>
10068 <param name="height" type="int" default=""/>
10069 </paramlist>
10070 </method>
10071 <method name="SetClippingRegionPointSize" type="" overloaded="no">
10072 <autodoc>SetClippingRegionPointSize(self, Point pt, Size sz)</autodoc>
10073 <paramlist>
10074 <param name="pt" type="Point" default=""/>
10075 <param name="sz" type="Size" default=""/>
10076 </paramlist>
10077 </method>
10078 <method name="SetClippingRegionAsRegion" type="" overloaded="no">
10079 <autodoc>SetClippingRegionAsRegion(self, Region region)</autodoc>
10080 <paramlist>
10081 <param name="region" type="Region" default=""/>
10082 </paramlist>
10083 </method>
10084 <method name="SetClippingRect" type="" overloaded="no">
10085 <autodoc>SetClippingRect(self, Rect rect)</autodoc>
10086 <paramlist>
10087 <param name="rect" type="Rect" default=""/>
10088 </paramlist>
10089 </method>
10090 <method name="DrawLines" type="" overloaded="no">
10091 <autodoc>DrawLines(self, int points, Point points_array, int xoffset=0, int yoffset=0)</autodoc>
10092 <paramlist>
10093 <param name="points" type="int" default=""/>
10094 <param name="points_array" type="Point" default=""/>
10095 <param name="xoffset" type="int" default="0"/>
10096 <param name="yoffset" type="int" default="0"/>
10097 </paramlist>
10098 </method>
10099 <method name="DrawPolygon" type="" overloaded="no">
10100 <autodoc>DrawPolygon(self, int points, Point points_array, int xoffset=0, int yoffset=0,
10101 int fillStyle=ODDEVEN_RULE)</autodoc>
10102 <paramlist>
10103 <param name="points" type="int" default=""/>
10104 <param name="points_array" type="Point" default=""/>
10105 <param name="xoffset" type="int" default="0"/>
10106 <param name="yoffset" type="int" default="0"/>
10107 <param name="fillStyle" type="int" default="wxODDEVEN_RULE"/>
10108 </paramlist>
10109 </method>
10110 <method name="DrawLabel" type="" overloaded="no">
10111 <autodoc>DrawLabel(self, String text, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP,
10112 int indexAccel=-1)</autodoc>
10113 <paramlist>
10114 <param name="text" type="String" default=""/>
10115 <param name="rect" type="Rect" default=""/>
10116 <param name="alignment" type="int" default="wxALIGN_LEFT|wxALIGN_TOP"/>
10117 <param name="indexAccel" type="int" default="-1"/>
10118 </paramlist>
10119 </method>
10120 <method name="DrawImageLabel" type="Rect" overloaded="no">
10121 <autodoc>DrawImageLabel(self, String text, Bitmap image, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP,
10122 int indexAccel=-1) -&gt; Rect</autodoc>
10123 <paramlist>
10124 <param name="text" type="String" default=""/>
10125 <param name="image" type="Bitmap" default=""/>
10126 <param name="rect" type="Rect" default=""/>
10127 <param name="alignment" type="int" default="wxALIGN_LEFT|wxALIGN_TOP"/>
10128 <param name="indexAccel" type="int" default="-1"/>
10129 </paramlist>
10130 </method>
10131 <method name="DrawSpline" type="" overloaded="no">
10132 <autodoc>DrawSpline(self, int points, Point points_array)</autodoc>
10133 <paramlist>
10134 <param name="points" type="int" default=""/>
10135 <param name="points_array" type="Point" default=""/>
10136 </paramlist>
10137 </method>
10138 <method name="Clear" type="" overloaded="no">
10139 <autodoc>Clear(self)</autodoc>
10140 </method>
10141 <method name="StartDoc" type="bool" overloaded="no">
10142 <autodoc>StartDoc(self, String message) -&gt; bool</autodoc>
10143 <paramlist>
10144 <param name="message" type="String" default=""/>
10145 </paramlist>
10146 </method>
10147 <method name="EndDoc" type="" overloaded="no">
10148 <autodoc>EndDoc(self)</autodoc>
10149 </method>
10150 <method name="StartPage" type="" overloaded="no">
10151 <autodoc>StartPage(self)</autodoc>
10152 </method>
10153 <method name="EndPage" type="" overloaded="no">
10154 <autodoc>EndPage(self)</autodoc>
10155 </method>
10156 <method name="SetFont" type="" overloaded="no">
10157 <autodoc>SetFont(self, Font font)</autodoc>
10158 <paramlist>
10159 <param name="font" type="Font" default=""/>
10160 </paramlist>
10161 </method>
10162 <method name="SetPen" type="" overloaded="no">
10163 <autodoc>SetPen(self, Pen pen)</autodoc>
10164 <paramlist>
10165 <param name="pen" type="Pen" default=""/>
10166 </paramlist>
10167 </method>
10168 <method name="SetBrush" type="" overloaded="no">
10169 <autodoc>SetBrush(self, Brush brush)</autodoc>
10170 <paramlist>
10171 <param name="brush" type="Brush" default=""/>
10172 </paramlist>
10173 </method>
10174 <method name="SetBackground" type="" overloaded="no">
10175 <autodoc>SetBackground(self, Brush brush)</autodoc>
10176 <paramlist>
10177 <param name="brush" type="Brush" default=""/>
10178 </paramlist>
10179 </method>
10180 <method name="SetBackgroundMode" type="" overloaded="no">
10181 <autodoc>SetBackgroundMode(self, int mode)</autodoc>
10182 <paramlist>
10183 <param name="mode" type="int" default=""/>
10184 </paramlist>
10185 </method>
10186 <method name="SetPalette" type="" overloaded="no">
10187 <autodoc>SetPalette(self, Palette palette)</autodoc>
10188 <paramlist>
10189 <param name="palette" type="Palette" default=""/>
10190 </paramlist>
10191 </method>
10192 <method name="DestroyClippingRegion" type="" overloaded="no">
10193 <autodoc>DestroyClippingRegion(self)</autodoc>
10194 </method>
10195 <method name="GetClippingBox" type="" overloaded="no">
10196 <autodoc>GetClippingBox() -&gt; (x, y, width, height)</autodoc>
10197 <paramlist>
10198 <param name="OUTPUT" type="int" default=""/>
10199 <param name="OUTPUT" type="int" default=""/>
10200 <param name="OUTPUT" type="int" default=""/>
10201 <param name="OUTPUT" type="int" default=""/>
10202 </paramlist>
10203 </method>
10204 <method name="GetClippingRect" type="Rect" overloaded="no">
10205 <autodoc>GetClippingRect(self) -&gt; Rect</autodoc>
10206 </method>
10207 <method name="GetCharHeight" type="int" overloaded="no">
10208 <autodoc>GetCharHeight(self) -&gt; int</autodoc>
10209 </method>
10210 <method name="GetCharWidth" type="int" overloaded="no">
10211 <autodoc>GetCharWidth(self) -&gt; int</autodoc>
10212 </method>
10213 <method name="GetTextExtent" type="" overloaded="no">
10214 <autodoc>GetTextExtent(wxString string) -&gt; (width, height)</autodoc>
10215 <paramlist>
10216 <param name="string" type="String" default=""/>
10217 <param name="OUTPUT" type="int" default=""/>
10218 <param name="OUTPUT" type="int" default=""/>
10219 </paramlist>
10220 </method>
10221 <method name="GetFullTextExtent" type="" overloaded="no">
10222 <autodoc>GetFullTextExtent(wxString string, Font font=None) -&gt;
10223 (width, height, descent, externalLeading)</autodoc>
10224 <docstring>Get the width, height, decent and leading of the text using the
10225 current or specified font. Only works for single line strings.</docstring>
10226 <paramlist>
10227 <param name="string" type="String" default=""/>
10228 <param name="OUTPUT" type="int" default=""/>
10229 <param name="OUTPUT" type="int" default=""/>
10230 <param name="OUTPUT" type="int" default=""/>
10231 <param name="OUTPUT" type="int" default=""/>
10232 <param name="font" type="Font" default="NULL"/>
10233 </paramlist>
10234 </method>
10235 <method name="GetMultiLineTextExtent" type="" overloaded="no">
10236 <autodoc>GetMultiLineTextExtent(wxString string, Font font=None) -&gt;
10237 (width, height, descent, externalLeading)</autodoc>
10238 <paramlist>
10239 <param name="text" type="String" default=""/>
10240 <param name="OUTPUT" type="int" default=""/>
10241 <param name="OUTPUT" type="int" default=""/>
10242 <param name="OUTPUT" type="int" default=""/>
10243 <param name="font" type="Font" default="NULL"/>
10244 </paramlist>
10245 </method>
10246 <method name="GetPartialTextExtents" type="wxArrayInt" overloaded="no">
10247 <autodoc>GetPartialTextExtents(self, String text) -&gt; wxArrayInt</autodoc>
10248 <paramlist>
10249 <param name="text" type="String" default=""/>
10250 </paramlist>
10251 </method>
10252 <method name="GetSize" type="Size" overloaded="no">
10253 <autodoc>GetSize(self) -&gt; Size</autodoc>
10254 <docstring>Get the DC size in device units.</docstring>
10255 </method>
10256 <method name="GetSizeTuple" type="" overloaded="no">
10257 <autodoc>GetSizeTuple() -&gt; (width, height)</autodoc>
10258 <docstring>Get the DC size in device units.</docstring>
10259 <paramlist>
10260 <param name="OUTPUT" type="int" default=""/>
10261 <param name="OUTPUT" type="int" default=""/>
10262 </paramlist>
10263 </method>
10264 <method name="GetSizeMM" type="Size" overloaded="no">
10265 <autodoc>GetSizeMM(self) -&gt; Size</autodoc>
10266 <docstring>Get the DC size in milimeters.</docstring>
10267 </method>
10268 <method name="GetSizeMMTuple" type="" overloaded="no">
10269 <autodoc>GetSizeMMTuple() -&gt; (width, height)</autodoc>
10270 <docstring>Get the DC size in milimeters.</docstring>
10271 <paramlist>
10272 <param name="OUTPUT" type="int" default=""/>
10273 <param name="OUTPUT" type="int" default=""/>
10274 </paramlist>
10275 </method>
10276 <method name="DeviceToLogicalX" type="int" overloaded="no">
10277 <autodoc>DeviceToLogicalX(self, int x) -&gt; int</autodoc>
10278 <paramlist>
10279 <param name="x" type="int" default=""/>
10280 </paramlist>
10281 </method>
10282 <method name="DeviceToLogicalY" type="int" overloaded="no">
10283 <autodoc>DeviceToLogicalY(self, int y) -&gt; int</autodoc>
10284 <paramlist>
10285 <param name="y" type="int" default=""/>
10286 </paramlist>
10287 </method>
10288 <method name="DeviceToLogicalXRel" type="int" overloaded="no">
10289 <autodoc>DeviceToLogicalXRel(self, int x) -&gt; int</autodoc>
10290 <paramlist>
10291 <param name="x" type="int" default=""/>
10292 </paramlist>
10293 </method>
10294 <method name="DeviceToLogicalYRel" type="int" overloaded="no">
10295 <autodoc>DeviceToLogicalYRel(self, int y) -&gt; int</autodoc>
10296 <paramlist>
10297 <param name="y" type="int" default=""/>
10298 </paramlist>
10299 </method>
10300 <method name="LogicalToDeviceX" type="int" overloaded="no">
10301 <autodoc>LogicalToDeviceX(self, int x) -&gt; int</autodoc>
10302 <paramlist>
10303 <param name="x" type="int" default=""/>
10304 </paramlist>
10305 </method>
10306 <method name="LogicalToDeviceY" type="int" overloaded="no">
10307 <autodoc>LogicalToDeviceY(self, int y) -&gt; int</autodoc>
10308 <paramlist>
10309 <param name="y" type="int" default=""/>
10310 </paramlist>
10311 </method>
10312 <method name="LogicalToDeviceXRel" type="int" overloaded="no">
10313 <autodoc>LogicalToDeviceXRel(self, int x) -&gt; int</autodoc>
10314 <paramlist>
10315 <param name="x" type="int" default=""/>
10316 </paramlist>
10317 </method>
10318 <method name="LogicalToDeviceYRel" type="int" overloaded="no">
10319 <autodoc>LogicalToDeviceYRel(self, int y) -&gt; int</autodoc>
10320 <paramlist>
10321 <param name="y" type="int" default=""/>
10322 </paramlist>
10323 </method>
10324 <method name="CanDrawBitmap" type="bool" overloaded="no">
10325 <autodoc>CanDrawBitmap(self) -&gt; bool</autodoc>
10326 </method>
10327 <method name="CanGetTextExtent" type="bool" overloaded="no">
10328 <autodoc>CanGetTextExtent(self) -&gt; bool</autodoc>
10329 </method>
10330 <method name="GetDepth" type="int" overloaded="no">
10331 <autodoc>GetDepth(self) -&gt; int</autodoc>
10332 </method>
10333 <method name="GetPPI" type="Size" overloaded="no">
10334 <autodoc>GetPPI(self) -&gt; Size</autodoc>
10335 </method>
10336 <method name="Ok" type="bool" overloaded="no">
10337 <autodoc>Ok(self) -&gt; bool</autodoc>
10338 </method>
10339 <method name="GetBackgroundMode" type="int" overloaded="no">
10340 <autodoc>GetBackgroundMode(self) -&gt; int</autodoc>
10341 </method>
10342 <method name="GetBackground" type="Brush" overloaded="no">
10343 <autodoc>GetBackground(self) -&gt; Brush</autodoc>
10344 </method>
10345 <method name="GetBrush" type="Brush" overloaded="no">
10346 <autodoc>GetBrush(self) -&gt; Brush</autodoc>
10347 </method>
10348 <method name="GetFont" type="Font" overloaded="no">
10349 <autodoc>GetFont(self) -&gt; Font</autodoc>
10350 </method>
10351 <method name="GetPen" type="Pen" overloaded="no">
10352 <autodoc>GetPen(self) -&gt; Pen</autodoc>
10353 </method>
10354 <method name="GetTextBackground" type="Colour" overloaded="no">
10355 <autodoc>GetTextBackground(self) -&gt; Colour</autodoc>
10356 </method>
10357 <method name="GetTextForeground" type="Colour" overloaded="no">
10358 <autodoc>GetTextForeground(self) -&gt; Colour</autodoc>
10359 </method>
10360 <method name="SetTextForeground" type="" overloaded="no">
10361 <autodoc>SetTextForeground(self, Colour colour)</autodoc>
10362 <paramlist>
10363 <param name="colour" type="Colour" default=""/>
10364 </paramlist>
10365 </method>
10366 <method name="SetTextBackground" type="" overloaded="no">
10367 <autodoc>SetTextBackground(self, Colour colour)</autodoc>
10368 <paramlist>
10369 <param name="colour" type="Colour" default=""/>
10370 </paramlist>
10371 </method>
10372 <method name="GetMapMode" type="int" overloaded="no">
10373 <autodoc>GetMapMode(self) -&gt; int</autodoc>
10374 </method>
10375 <method name="SetMapMode" type="" overloaded="no">
10376 <autodoc>SetMapMode(self, int mode)</autodoc>
10377 <paramlist>
10378 <param name="mode" type="int" default=""/>
10379 </paramlist>
10380 </method>
10381 <method name="GetUserScale" type="" overloaded="no">
10382 <autodoc>GetUserScale() -&gt; (xScale, yScale)</autodoc>
10383 <paramlist>
10384 <param name="OUTPUT" type="double" default=""/>
10385 <param name="OUTPUT" type="double" default=""/>
10386 </paramlist>
10387 </method>
10388 <method name="SetUserScale" type="" overloaded="no">
10389 <autodoc>SetUserScale(self, double x, double y)</autodoc>
10390 <paramlist>
10391 <param name="x" type="double" default=""/>
10392 <param name="y" type="double" default=""/>
10393 </paramlist>
10394 </method>
10395 <method name="GetLogicalScale" type="" overloaded="no">
10396 <autodoc>GetLogicalScale() -&gt; (xScale, yScale)</autodoc>
10397 <paramlist>
10398 <param name="OUTPUT" type="double" default=""/>
10399 <param name="OUTPUT" type="double" default=""/>
10400 </paramlist>
10401 </method>
10402 <method name="SetLogicalScale" type="" overloaded="no">
10403 <autodoc>SetLogicalScale(self, double x, double y)</autodoc>
10404 <paramlist>
10405 <param name="x" type="double" default=""/>
10406 <param name="y" type="double" default=""/>
10407 </paramlist>
10408 </method>
10409 <method name="GetLogicalOrigin" type="Point" overloaded="no">
10410 <autodoc>GetLogicalOrigin(self) -&gt; Point</autodoc>
10411 </method>
10412 <method name="GetLogicalOriginTuple" type="" overloaded="no">
10413 <autodoc>GetLogicalOriginTuple() -&gt; (x,y)</autodoc>
10414 <paramlist>
10415 <param name="OUTPUT" type="int" default=""/>
10416 <param name="OUTPUT" type="int" default=""/>
10417 </paramlist>
10418 </method>
10419 <method name="SetLogicalOrigin" type="" overloaded="no">
10420 <autodoc>SetLogicalOrigin(self, int x, int y)</autodoc>
10421 <paramlist>
10422 <param name="x" type="int" default=""/>
10423 <param name="y" type="int" default=""/>
10424 </paramlist>
10425 </method>
10426 <method name="SetLogicalOriginPoint" type="" overloaded="no">
10427 <autodoc>SetLogicalOriginPoint(self, Point point)</autodoc>
10428 <paramlist>
10429 <param name="point" type="Point" default=""/>
10430 </paramlist>
10431 </method>
10432 <method name="GetDeviceOrigin" type="Point" overloaded="no">
10433 <autodoc>GetDeviceOrigin(self) -&gt; Point</autodoc>
10434 </method>
10435 <method name="GetDeviceOriginTuple" type="" overloaded="no">
10436 <autodoc>GetDeviceOriginTuple() -&gt; (x,y)</autodoc>
10437 <paramlist>
10438 <param name="OUTPUT" type="int" default=""/>
10439 <param name="OUTPUT" type="int" default=""/>
10440 </paramlist>
10441 </method>
10442 <method name="SetDeviceOrigin" type="" overloaded="no">
10443 <autodoc>SetDeviceOrigin(self, int x, int y)</autodoc>
10444 <paramlist>
10445 <param name="x" type="int" default=""/>
10446 <param name="y" type="int" default=""/>
10447 </paramlist>
10448 </method>
10449 <method name="SetDeviceOriginPoint" type="" overloaded="no">
10450 <autodoc>SetDeviceOriginPoint(self, Point point)</autodoc>
10451 <paramlist>
10452 <param name="point" type="Point" default=""/>
10453 </paramlist>
10454 </method>
10455 <method name="SetAxisOrientation" type="" overloaded="no">
10456 <autodoc>SetAxisOrientation(self, bool xLeftRight, bool yBottomUp)</autodoc>
10457 <paramlist>
10458 <param name="xLeftRight" type="bool" default=""/>
10459 <param name="yBottomUp" type="bool" default=""/>
10460 </paramlist>
10461 </method>
10462 <method name="GetLogicalFunction" type="int" overloaded="no">
10463 <autodoc>GetLogicalFunction(self) -&gt; int</autodoc>
10464 </method>
10465 <method name="SetLogicalFunction" type="" overloaded="no">
10466 <autodoc>SetLogicalFunction(self, int function)</autodoc>
10467 <paramlist>
10468 <param name="function" type="int" default=""/>
10469 </paramlist>
10470 </method>
10471 <method name="SetOptimization" type="" overloaded="no">
10472 <autodoc>SetOptimization(self, bool opt)</autodoc>
10473 <paramlist>
10474 <param name="opt" type="bool" default=""/>
10475 </paramlist>
10476 </method>
10477 <method name="GetOptimization" type="bool" overloaded="no">
10478 <autodoc>GetOptimization(self) -&gt; bool</autodoc>
10479 </method>
10480 <method name="CalcBoundingBox" type="" overloaded="no">
10481 <autodoc>CalcBoundingBox(self, int x, int y)</autodoc>
10482 <paramlist>
10483 <param name="x" type="int" default=""/>
10484 <param name="y" type="int" default=""/>
10485 </paramlist>
10486 </method>
10487 <method name="CalcBoundingBoxPoint" type="" overloaded="no">
10488 <autodoc>CalcBoundingBoxPoint(self, Point point)</autodoc>
10489 <paramlist>
10490 <param name="point" type="Point" default=""/>
10491 </paramlist>
10492 </method>
10493 <method name="ResetBoundingBox" type="" overloaded="no">
10494 <autodoc>ResetBoundingBox(self)</autodoc>
10495 </method>
10496 <method name="MinX" type="int" overloaded="no">
10497 <autodoc>MinX(self) -&gt; int</autodoc>
10498 </method>
10499 <method name="MaxX" type="int" overloaded="no">
10500 <autodoc>MaxX(self) -&gt; int</autodoc>
10501 </method>
10502 <method name="MinY" type="int" overloaded="no">
10503 <autodoc>MinY(self) -&gt; int</autodoc>
10504 </method>
10505 <method name="MaxY" type="int" overloaded="no">
10506 <autodoc>MaxY(self) -&gt; int</autodoc>
10507 </method>
10508 <method name="GetBoundingBox" type="" overloaded="no">
10509 <autodoc>GetBoundingBox() -&gt; (x1,y1, x2,y2)</autodoc>
10510 <paramlist>
10511 <param name="OUTPUT" type="int" default=""/>
10512 <param name="OUTPUT" type="int" default=""/>
10513 <param name="OUTPUT" type="int" default=""/>
10514 <param name="OUTPUT" type="int" default=""/>
10515 </paramlist>
10516 </method>
10517 <method name="_DrawPointList" type="PyObject" overloaded="no">
10518 <autodoc>_DrawPointList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -&gt; PyObject</autodoc>
10519 <paramlist>
10520 <param name="pyCoords" type="PyObject" default=""/>
10521 <param name="pyPens" type="PyObject" default=""/>
10522 <param name="pyBrushes" type="PyObject" default=""/>
10523 </paramlist>
10524 </method>
10525 <method name="_DrawLineList" type="PyObject" overloaded="no">
10526 <autodoc>_DrawLineList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -&gt; PyObject</autodoc>
10527 <paramlist>
10528 <param name="pyCoords" type="PyObject" default=""/>
10529 <param name="pyPens" type="PyObject" default=""/>
10530 <param name="pyBrushes" type="PyObject" default=""/>
10531 </paramlist>
10532 </method>
10533 <method name="_DrawRectangleList" type="PyObject" overloaded="no">
10534 <autodoc>_DrawRectangleList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -&gt; PyObject</autodoc>
10535 <paramlist>
10536 <param name="pyCoords" type="PyObject" default=""/>
10537 <param name="pyPens" type="PyObject" default=""/>
10538 <param name="pyBrushes" type="PyObject" default=""/>
10539 </paramlist>
10540 </method>
10541 <method name="_DrawEllipseList" type="PyObject" overloaded="no">
10542 <autodoc>_DrawEllipseList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -&gt; PyObject</autodoc>
10543 <paramlist>
10544 <param name="pyCoords" type="PyObject" default=""/>
10545 <param name="pyPens" type="PyObject" default=""/>
10546 <param name="pyBrushes" type="PyObject" default=""/>
10547 </paramlist>
10548 </method>
10549 <method name="_DrawPolygonList" type="PyObject" overloaded="no">
10550 <autodoc>_DrawPolygonList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -&gt; PyObject</autodoc>
10551 <paramlist>
10552 <param name="pyCoords" type="PyObject" default=""/>
10553 <param name="pyPens" type="PyObject" default=""/>
10554 <param name="pyBrushes" type="PyObject" default=""/>
10555 </paramlist>
10556 </method>
10557 <method name="_DrawTextList" type="PyObject" overloaded="no">
10558 <autodoc>_DrawTextList(self, PyObject textList, PyObject pyPoints, PyObject foregroundList,
10559 PyObject backgroundList) -&gt; PyObject</autodoc>
10560 <paramlist>
10561 <param name="textList" type="PyObject" default=""/>
10562 <param name="pyPoints" type="PyObject" default=""/>
10563 <param name="foregroundList" type="PyObject" default=""/>
10564 <param name="backgroundList" type="PyObject" default=""/>
10565 </paramlist>
10566 </method>
10567 </class>
10568 <pythoncode>
10569 #---------------------------------------------------------------------------
10570 </pythoncode>
10571 <class name="MemoryDC" oldname="wxMemoryDC" module="_gdi">
10572 <baseclass name="DC"/>
10573 <constructor name="MemoryDC" overloaded="no">
10574 <autodoc>__init__(self) -&gt; MemoryDC</autodoc>
10575 </constructor>
10576 <constructor name="MemoryDCFromDC" overloaded="no">
10577 <autodoc>MemoryDCFromDC(DC oldDC) -&gt; MemoryDC</autodoc>
10578 <paramlist>
10579 <param name="oldDC" type="DC" default=""/>
10580 </paramlist>
10581 </constructor>
10582 <method name="SelectObject" type="" overloaded="no">
10583 <autodoc>SelectObject(self, Bitmap bitmap)</autodoc>
10584 <paramlist>
10585 <param name="bitmap" type="Bitmap" default=""/>
10586 </paramlist>
10587 </method>
10588 </class>
10589 <pythoncode>
10590 #---------------------------------------------------------------------------
10591 </pythoncode>
10592 <class name="BufferedDC" oldname="wxBufferedDC" module="_gdi">
10593 <baseclass name="MemoryDC"/>
10594 <constructor name="BufferedDC" overloaded="yes">
10595 <paramlist>
10596 <param name="dc" type="DC" default=""/>
10597 <param name="buffer" type="Bitmap" default=""/>
10598 </paramlist>
10599 </constructor>
10600 <constructor name="BufferedDC" overloaded="yes">
10601 <autodoc>__init__(self, DC dc, Bitmap buffer) -&gt; BufferedDC
10602 __init__(self, DC dc, Size area) -&gt; BufferedDC</autodoc>
10603 <paramlist>
10604 <param name="dc" type="DC" default=""/>
10605 <param name="area" type="Size" default=""/>
10606 </paramlist>
10607 </constructor>
10608 <constructor name="BufferedDCInternalBuffer" overloaded="no">
10609 <autodoc>BufferedDCInternalBuffer(DC dc, Size area) -&gt; BufferedDC</autodoc>
10610 <paramlist>
10611 <param name="dc" type="DC" default=""/>
10612 <param name="area" type="Size" default=""/>
10613 </paramlist>
10614 </constructor>
10615 <destructor name="~wxBufferedDC" overloaded="no">
10616 <autodoc>__del__(self)</autodoc>
10617 </destructor>
10618 <method name="UnMask" type="" overloaded="no">
10619 <autodoc>UnMask(self)</autodoc>
10620 </method>
10621 </class>
10622 <class name="BufferedPaintDC" oldname="wxBufferedPaintDC" module="_gdi">
10623 <baseclass name="BufferedDC"/>
10624 <constructor name="BufferedPaintDC" overloaded="no">
10625 <autodoc>__init__(self, Window window, Bitmap buffer=NullBitmap) -&gt; BufferedPaintDC</autodoc>
10626 <paramlist>
10627 <param name="window" type="Window" default=""/>
10628 <param name="buffer" type="Bitmap" default="wxNullBitmap"/>
10629 </paramlist>
10630 </constructor>
10631 </class>
10632 <pythoncode>
10633 #---------------------------------------------------------------------------
10634 </pythoncode>
10635 <class name="ScreenDC" oldname="wxScreenDC" module="_gdi">
10636 <baseclass name="DC"/>
10637 <constructor name="ScreenDC" overloaded="no">
10638 <autodoc>__init__(self) -&gt; ScreenDC</autodoc>
10639 </constructor>
10640 <method name="StartDrawingOnTopWin" type="bool" overloaded="no">
10641 <autodoc>StartDrawingOnTopWin(self, Window window) -&gt; bool</autodoc>
10642 <paramlist>
10643 <param name="window" type="Window" default=""/>
10644 </paramlist>
10645 </method>
10646 <method name="StartDrawingOnTop" type="bool" overloaded="no">
10647 <autodoc>StartDrawingOnTop(self, Rect rect=None) -&gt; bool</autodoc>
10648 <paramlist>
10649 <param name="rect" type="Rect" default="NULL"/>
10650 </paramlist>
10651 </method>
10652 <method name="EndDrawingOnTop" type="bool" overloaded="no">
10653 <autodoc>EndDrawingOnTop(self) -&gt; bool</autodoc>
10654 </method>
10655 </class>
10656 <pythoncode>
10657 #---------------------------------------------------------------------------
10658 </pythoncode>
10659 <class name="ClientDC" oldname="wxClientDC" module="_gdi">
10660 <baseclass name="DC"/>
10661 <constructor name="ClientDC" overloaded="no">
10662 <autodoc>__init__(self, Window win) -&gt; ClientDC</autodoc>
10663 <paramlist>
10664 <param name="win" type="Window" default=""/>
10665 </paramlist>
10666 </constructor>
10667 </class>
10668 <pythoncode>
10669 #---------------------------------------------------------------------------
10670 </pythoncode>
10671 <class name="PaintDC" oldname="wxPaintDC" module="_gdi">
10672 <baseclass name="DC"/>
10673 <constructor name="PaintDC" overloaded="no">
10674 <autodoc>__init__(self, Window win) -&gt; PaintDC</autodoc>
10675 <paramlist>
10676 <param name="win" type="Window" default=""/>
10677 </paramlist>
10678 </constructor>
10679 </class>
10680 <pythoncode>
10681 #---------------------------------------------------------------------------
10682 </pythoncode>
10683 <class name="WindowDC" oldname="wxWindowDC" module="_gdi">
10684 <baseclass name="DC"/>
10685 <constructor name="WindowDC" overloaded="no">
10686 <autodoc>__init__(self, Window win) -&gt; WindowDC</autodoc>
10687 <paramlist>
10688 <param name="win" type="Window" default=""/>
10689 </paramlist>
10690 </constructor>
10691 </class>
10692 <pythoncode>
10693 #---------------------------------------------------------------------------
10694 </pythoncode>
10695 <class name="MirrorDC" oldname="wxMirrorDC" module="_gdi">
10696 <baseclass name="DC"/>
10697 <constructor name="MirrorDC" overloaded="no">
10698 <autodoc>__init__(self, DC dc, bool mirror) -&gt; MirrorDC</autodoc>
10699 <paramlist>
10700 <param name="dc" type="DC" default=""/>
10701 <param name="mirror" type="bool" default=""/>
10702 </paramlist>
10703 </constructor>
10704 </class>
10705 <pythoncode>
10706 #---------------------------------------------------------------------------
10707 </pythoncode>
10708 <class name="PostScriptDC" oldname="wxPostScriptDC" module="_gdi">
10709 <baseclass name="DC"/>
10710 <constructor name="PostScriptDC" overloaded="no">
10711 <autodoc>__init__(self, wxPrintData printData) -&gt; PostScriptDC</autodoc>
10712 <paramlist>
10713 <param name="printData" type="wxPrintData" default=""/>
10714 </paramlist>
10715 </constructor>
10716 <method name="GetPrintData" type="wxPrintData" overloaded="no">
10717 <autodoc>GetPrintData(self) -&gt; wxPrintData</autodoc>
10718 </method>
10719 <method name="SetPrintData" type="" overloaded="no">
10720 <autodoc>SetPrintData(self, wxPrintData data)</autodoc>
10721 <paramlist>
10722 <param name="data" type="wxPrintData" default=""/>
10723 </paramlist>
10724 </method>
10725 <staticmethod name="SetResolution" type="" overloaded="no">
10726 <autodoc>SetResolution(int ppi)</autodoc>
10727 <paramlist>
10728 <param name="ppi" type="int" default=""/>
10729 </paramlist>
10730 </staticmethod>
10731 <staticmethod name="GetResolution" type="int" overloaded="no">
10732 <autodoc>GetResolution() -&gt; int</autodoc>
10733 </staticmethod>
10734 </class>
10735 <pythoncode>
10736 #---------------------------------------------------------------------------
10737 </pythoncode>
10738 <class name="MetaFile" oldname="wxMetaFile" module="_gdi">
10739 <baseclass name="Object"/>
10740 <constructor name="MetaFile" overloaded="no">
10741 <autodoc>__init__(self, String filename=EmptyString) -&gt; MetaFile</autodoc>
10742 <paramlist>
10743 <param name="filename" type="String" default="wxPyEmptyString"/>
10744 </paramlist>
10745 </constructor>
10746 </class>
10747 <class name="MetaFileDC" oldname="wxMetaFileDC" module="_gdi">
10748 <baseclass name="DC"/>
10749 <constructor name="MetaFileDC" overloaded="no">
10750 <autodoc>__init__(self, String filename=EmptyString, int width=0, int height=0,
10751 String description=EmptyString) -&gt; MetaFileDC</autodoc>
10752 <paramlist>
10753 <param name="filename" type="String" default="wxPyEmptyString"/>
10754 <param name="width" type="int" default="0"/>
10755 <param name="height" type="int" default="0"/>
10756 <param name="description" type="String" default="wxPyEmptyString"/>
10757 </paramlist>
10758 </constructor>
10759 </class>
10760 <class name="PrinterDC" oldname="wxPrinterDC" module="_gdi">
10761 <baseclass name="DC"/>
10762 <constructor name="PrinterDC" overloaded="no">
10763 <autodoc>__init__(self, wxPrintData printData) -&gt; PrinterDC</autodoc>
10764 <paramlist>
10765 <param name="printData" type="wxPrintData" default=""/>
10766 </paramlist>
10767 </constructor>
10768 </class>
10769 <pythoncode>
10770 #---------------------------------------------------------------------------
10771 </pythoncode>
10772 <class name="ImageList" oldname="wxImageList" module="_gdi">
10773 <baseclass name="Object"/>
10774 <constructor name="ImageList" overloaded="no">
10775 <autodoc>__init__(self, int width, int height, int mask=True, int initialCount=1) -&gt; ImageList</autodoc>
10776 <paramlist>
10777 <param name="width" type="int" default=""/>
10778 <param name="height" type="int" default=""/>
10779 <param name="mask" type="int" default="True"/>
10780 <param name="initialCount" type="int" default="1"/>
10781 </paramlist>
10782 </constructor>
10783 <destructor name="~wxImageList" overloaded="no">
10784 <autodoc>__del__(self)</autodoc>
10785 </destructor>
10786 <method name="Add" type="int" overloaded="no">
10787 <autodoc>Add(self, Bitmap bitmap, Bitmap mask=NullBitmap) -&gt; int</autodoc>
10788 <paramlist>
10789 <param name="bitmap" type="Bitmap" default=""/>
10790 <param name="mask" type="Bitmap" default="wxNullBitmap"/>
10791 </paramlist>
10792 </method>
10793 <method name="AddWithColourMask" type="int" overloaded="no">
10794 <autodoc>AddWithColourMask(self, Bitmap bitmap, Colour maskColour) -&gt; int</autodoc>
10795 <paramlist>
10796 <param name="bitmap" type="Bitmap" default=""/>
10797 <param name="maskColour" type="Colour" default=""/>
10798 </paramlist>
10799 </method>
10800 <method name="AddIcon" type="int" overloaded="no">
10801 <autodoc>AddIcon(self, Icon icon) -&gt; int</autodoc>
10802 <paramlist>
10803 <param name="icon" type="Icon" default=""/>
10804 </paramlist>
10805 </method>
10806 <method name="Replace" type="bool" overloaded="no">
10807 <autodoc>Replace(self, int index, Bitmap bitmap) -&gt; bool</autodoc>
10808 <paramlist>
10809 <param name="index" type="int" default=""/>
10810 <param name="bitmap" type="Bitmap" default=""/>
10811 </paramlist>
10812 </method>
10813 <method name="Draw" type="bool" overloaded="no">
10814 <autodoc>Draw(self, int index, DC dc, int x, int x, int flags=IMAGELIST_DRAW_NORMAL,
10815 bool solidBackground=False) -&gt; bool</autodoc>
10816 <paramlist>
10817 <param name="index" type="int" default=""/>
10818 <param name="dc" type="DC" default=""/>
10819 <param name="x" type="int" default=""/>
10820 <param name="x" type="int" default=""/>
10821 <param name="flags" type="int" default="wxIMAGELIST_DRAW_NORMAL"/>
10822 <param name="solidBackground" type="bool" default="False"/>
10823 </paramlist>
10824 </method>
10825 <method name="GetImageCount" type="int" overloaded="no">
10826 <autodoc>GetImageCount(self) -&gt; int</autodoc>
10827 </method>
10828 <method name="Remove" type="bool" overloaded="no">
10829 <autodoc>Remove(self, int index) -&gt; bool</autodoc>
10830 <paramlist>
10831 <param name="index" type="int" default=""/>
10832 </paramlist>
10833 </method>
10834 <method name="RemoveAll" type="bool" overloaded="no">
10835 <autodoc>RemoveAll(self) -&gt; bool</autodoc>
10836 </method>
10837 <method name="GetSize" type="" overloaded="no">
10838 <autodoc>GetSize() -&gt; (width,height)</autodoc>
10839 <paramlist>
10840 <param name="index" type="int" default=""/>
10841 <param name="OUTPUT" type="int" default=""/>
10842 <param name="OUTPUT" type="int" default=""/>
10843 </paramlist>
10844 </method>
10845 </class>
10846 <pythoncode>
10847 #---------------------------------------------------------------------------
10848 </pythoncode>
10849 <class name="PenList" oldname="wxPenList" module="_gdi">
10850 <baseclass name="Object"/>
10851 <method name="AddPen" type="" overloaded="no">
10852 <autodoc>AddPen(self, Pen pen)</autodoc>
10853 <paramlist>
10854 <param name="pen" type="Pen" default=""/>
10855 </paramlist>
10856 </method>
10857 <method name="FindOrCreatePen" type="Pen" overloaded="no">
10858 <autodoc>FindOrCreatePen(self, Colour colour, int width, int style) -&gt; Pen</autodoc>
10859 <paramlist>
10860 <param name="colour" type="Colour" default=""/>
10861 <param name="width" type="int" default=""/>
10862 <param name="style" type="int" default=""/>
10863 </paramlist>
10864 </method>
10865 <method name="RemovePen" type="" overloaded="no">
10866 <autodoc>RemovePen(self, Pen pen)</autodoc>
10867 <paramlist>
10868 <param name="pen" type="Pen" default=""/>
10869 </paramlist>
10870 </method>
10871 <method name="GetCount" type="int" overloaded="no">
10872 <autodoc>GetCount(self) -&gt; int</autodoc>
10873 </method>
10874 </class>
10875 <class name="BrushList" oldname="wxBrushList" module="_gdi">
10876 <baseclass name="Object"/>
10877 <method name="AddBrush" type="" overloaded="no">
10878 <autodoc>AddBrush(self, Brush brush)</autodoc>
10879 <paramlist>
10880 <param name="brush" type="Brush" default=""/>
10881 </paramlist>
10882 </method>
10883 <method name="FindOrCreateBrush" type="Brush" overloaded="no">
10884 <autodoc>FindOrCreateBrush(self, Colour colour, int style) -&gt; Brush</autodoc>
10885 <paramlist>
10886 <param name="colour" type="Colour" default=""/>
10887 <param name="style" type="int" default=""/>
10888 </paramlist>
10889 </method>
10890 <method name="RemoveBrush" type="" overloaded="no">
10891 <autodoc>RemoveBrush(self, Brush brush)</autodoc>
10892 <paramlist>
10893 <param name="brush" type="Brush" default=""/>
10894 </paramlist>
10895 </method>
10896 <method name="GetCount" type="int" overloaded="no">
10897 <autodoc>GetCount(self) -&gt; int</autodoc>
10898 </method>
10899 </class>
10900 <class name="ColourDatabase" oldname="wxColourDatabase" module="_gdi">
10901 <baseclass name="Object"/>
10902 <constructor name="ColourDatabase" overloaded="no">
10903 <autodoc>__init__(self) -&gt; ColourDatabase</autodoc>
10904 </constructor>
10905 <destructor name="~wxColourDatabase" overloaded="no">
10906 <autodoc>__del__(self)</autodoc>
10907 </destructor>
10908 <method name="Find" type="Colour" overloaded="no">
10909 <autodoc>Find(self, String name) -&gt; Colour</autodoc>
10910 <paramlist>
10911 <param name="name" type="String" default=""/>
10912 </paramlist>
10913 </method>
10914 <method name="FindName" type="String" overloaded="no">
10915 <autodoc>FindName(self, Colour colour) -&gt; String</autodoc>
10916 <paramlist>
10917 <param name="colour" type="Colour" default=""/>
10918 </paramlist>
10919 </method>
10920 <method name="AddColour" type="" overloaded="no">
10921 <autodoc>AddColour(self, String name, Colour colour)</autodoc>
10922 <paramlist>
10923 <param name="name" type="String" default=""/>
10924 <param name="colour" type="Colour" default=""/>
10925 </paramlist>
10926 </method>
10927 <method name="Append" type="" overloaded="no">
10928 <autodoc>Append(self, String name, int red, int green, int blue)</autodoc>
10929 <paramlist>
10930 <param name="name" type="String" default=""/>
10931 <param name="red" type="int" default=""/>
10932 <param name="green" type="int" default=""/>
10933 <param name="blue" type="int" default=""/>
10934 </paramlist>
10935 </method>
10936 </class>
10937 <class name="FontList" oldname="wxFontList" module="_gdi">
10938 <baseclass name="Object"/>
10939 <method name="AddFont" type="" overloaded="no">
10940 <autodoc>AddFont(self, Font font)</autodoc>
10941 <paramlist>
10942 <param name="font" type="Font" default=""/>
10943 </paramlist>
10944 </method>
10945 <method name="FindOrCreateFont" type="Font" overloaded="no">
10946 <autodoc>FindOrCreateFont(self, int point_size, int family, int style, int weight,
10947 bool underline=False, String facename=EmptyString,
10948 int encoding=FONTENCODING_DEFAULT) -&gt; Font</autodoc>
10949 <paramlist>
10950 <param name="point_size" type="int" default=""/>
10951 <param name="family" type="int" default=""/>
10952 <param name="style" type="int" default=""/>
10953 <param name="weight" type="int" default=""/>
10954 <param name="underline" type="bool" default="False"/>
10955 <param name="facename" type="String" default="wxPyEmptyString"/>
10956 <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_DEFAULT"/>
10957 </paramlist>
10958 </method>
10959 <method name="RemoveFont" type="" overloaded="no">
10960 <autodoc>RemoveFont(self, Font font)</autodoc>
10961 <paramlist>
10962 <param name="font" type="Font" default=""/>
10963 </paramlist>
10964 </method>
10965 <method name="GetCount" type="int" overloaded="no">
10966 <autodoc>GetCount(self) -&gt; int</autodoc>
10967 </method>
10968 </class>
10969 <pythoncode>
10970 #---------------------------------------------------------------------------
10971 </pythoncode>
10972 <pythoncode> NullColor = NullColour </pythoncode>
10973 <pythoncode>
10974 #---------------------------------------------------------------------------
10975 </pythoncode>
10976 <class name="Effects" oldname="wxEffects" module="_gdi">
10977 <baseclass name="Object"/>
10978 <constructor name="Effects" overloaded="no">
10979 <autodoc>__init__(self) -&gt; Effects</autodoc>
10980 </constructor>
10981 <method name="GetHighlightColour" type="Colour" overloaded="no">
10982 <autodoc>GetHighlightColour(self) -&gt; Colour</autodoc>
10983 </method>
10984 <method name="GetLightShadow" type="Colour" overloaded="no">
10985 <autodoc>GetLightShadow(self) -&gt; Colour</autodoc>
10986 </method>
10987 <method name="GetFaceColour" type="Colour" overloaded="no">
10988 <autodoc>GetFaceColour(self) -&gt; Colour</autodoc>
10989 </method>
10990 <method name="GetMediumShadow" type="Colour" overloaded="no">
10991 <autodoc>GetMediumShadow(self) -&gt; Colour</autodoc>
10992 </method>
10993 <method name="GetDarkShadow" type="Colour" overloaded="no">
10994 <autodoc>GetDarkShadow(self) -&gt; Colour</autodoc>
10995 </method>
10996 <method name="SetHighlightColour" type="" overloaded="no">
10997 <autodoc>SetHighlightColour(self, Colour c)</autodoc>
10998 <paramlist>
10999 <param name="c" type="Colour" default=""/>
11000 </paramlist>
11001 </method>
11002 <method name="SetLightShadow" type="" overloaded="no">
11003 <autodoc>SetLightShadow(self, Colour c)</autodoc>
11004 <paramlist>
11005 <param name="c" type="Colour" default=""/>
11006 </paramlist>
11007 </method>
11008 <method name="SetFaceColour" type="" overloaded="no">
11009 <autodoc>SetFaceColour(self, Colour c)</autodoc>
11010 <paramlist>
11011 <param name="c" type="Colour" default=""/>
11012 </paramlist>
11013 </method>
11014 <method name="SetMediumShadow" type="" overloaded="no">
11015 <autodoc>SetMediumShadow(self, Colour c)</autodoc>
11016 <paramlist>
11017 <param name="c" type="Colour" default=""/>
11018 </paramlist>
11019 </method>
11020 <method name="SetDarkShadow" type="" overloaded="no">
11021 <autodoc>SetDarkShadow(self, Colour c)</autodoc>
11022 <paramlist>
11023 <param name="c" type="Colour" default=""/>
11024 </paramlist>
11025 </method>
11026 <method name="Set" type="" overloaded="no">
11027 <autodoc>Set(self, Colour highlightColour, Colour lightShadow, Colour faceColour,
11028 Colour mediumShadow, Colour darkShadow)</autodoc>
11029 <paramlist>
11030 <param name="highlightColour" type="Colour" default=""/>
11031 <param name="lightShadow" type="Colour" default=""/>
11032 <param name="faceColour" type="Colour" default=""/>
11033 <param name="mediumShadow" type="Colour" default=""/>
11034 <param name="darkShadow" type="Colour" default=""/>
11035 </paramlist>
11036 </method>
11037 <method name="DrawSunkenEdge" type="" overloaded="no">
11038 <autodoc>DrawSunkenEdge(self, DC dc, Rect rect, int borderSize=1)</autodoc>
11039 <paramlist>
11040 <param name="dc" type="DC" default=""/>
11041 <param name="rect" type="Rect" default=""/>
11042 <param name="borderSize" type="int" default="1"/>
11043 </paramlist>
11044 </method>
11045 <method name="TileBitmap" type="bool" overloaded="no">
11046 <autodoc>TileBitmap(self, Rect rect, DC dc, Bitmap bitmap) -&gt; bool</autodoc>
11047 <paramlist>
11048 <param name="rect" type="Rect" default=""/>
11049 <param name="dc" type="DC" default=""/>
11050 <param name="bitmap" type="Bitmap" default=""/>
11051 </paramlist>
11052 </method>
11053 </class>
11054 </module>
11055 <module name="_windows">
11056 <import name="_core"/>
11057 <pythoncode> wx = _core </pythoncode>
11058 <pythoncode>
11059 #---------------------------------------------------------------------------
11060 </pythoncode>
11061 <class name="Panel" oldname="wxPanel" module="_windows">
11062 <baseclass name="Window"/>
11063 <constructor name="Panel" overloaded="no">
11064 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
11065 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
11066 String name=PanelNameStr) -&gt; Panel</autodoc>
11067 <paramlist>
11068 <param name="parent" type="Window" default=""/>
11069 <param name="id" type="int" default="-1"/>
11070 <param name="pos" type="Point" default="wxDefaultPosition"/>
11071 <param name="size" type="Size" default="wxDefaultSize"/>
11072 <param name="style" type="long" default="wxTAB_TRAVERSAL|wxNO_BORDER"/>
11073 <param name="name" type="String" default="wxPyPanelNameStr"/>
11074 </paramlist>
11075 </constructor>
11076 <constructor name="PrePanel" overloaded="no">
11077 <autodoc>PrePanel() -&gt; Panel</autodoc>
11078 </constructor>
11079 <method name="Create" type="bool" overloaded="no">
11080 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
11081 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
11082 String name=PanelNameStr) -&gt; bool</autodoc>
11083 <paramlist>
11084 <param name="parent" type="Window" default=""/>
11085 <param name="id" type="int" default="-1"/>
11086 <param name="pos" type="Point" default="wxDefaultPosition"/>
11087 <param name="size" type="Size" default="wxDefaultSize"/>
11088 <param name="style" type="long" default="wxTAB_TRAVERSAL|wxNO_BORDER"/>
11089 <param name="name" type="String" default="wxPyPanelNameStr"/>
11090 </paramlist>
11091 </method>
11092 <method name="InitDialog" type="" overloaded="no">
11093 <autodoc>InitDialog(self)</autodoc>
11094 <docstring>Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
11095 to the dialog via validators.</docstring>
11096 </method>
11097 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
11098 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
11099 <docstring>Get the default attributes for this class. This is useful if you want
11100 to use the same font or colour in your own control as in a standard
11101 control -- which is a much better idea than hard coding specific
11102 colours or fonts which might look completely out of place on the
11103 user's system, especially if it uses themes.
11104
11105 The variant parameter is only relevant under Mac currently and is
11106 ignore under other platforms. Under Mac, it will change the size of
11107 the returned font. See `wx.Window.SetWindowVariant` for more about
11108 this.</docstring>
11109 <paramlist>
11110 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
11111 </paramlist>
11112 </staticmethod>
11113 </class>
11114 <pythoncode>
11115 #---------------------------------------------------------------------------
11116 </pythoncode>
11117 <class name="ScrolledWindow" oldname="wxScrolledWindow" module="_windows">
11118 <baseclass name="Panel"/>
11119 <constructor name="ScrolledWindow" overloaded="no">
11120 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
11121 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
11122 String name=PanelNameStr) -&gt; ScrolledWindow</autodoc>
11123 <paramlist>
11124 <param name="parent" type="Window" default=""/>
11125 <param name="id" type="int" default="-1"/>
11126 <param name="pos" type="Point" default="wxDefaultPosition"/>
11127 <param name="size" type="Size" default="wxDefaultSize"/>
11128 <param name="style" type="long" default="wxHSCROLL|wxVSCROLL"/>
11129 <param name="name" type="String" default="wxPyPanelNameStr"/>
11130 </paramlist>
11131 </constructor>
11132 <constructor name="PreScrolledWindow" overloaded="no">
11133 <autodoc>PreScrolledWindow() -&gt; ScrolledWindow</autodoc>
11134 </constructor>
11135 <method name="Create" type="bool" overloaded="no">
11136 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
11137 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
11138 String name=PanelNameStr) -&gt; bool</autodoc>
11139 <paramlist>
11140 <param name="parent" type="Window" default=""/>
11141 <param name="id" type="int" default="-1"/>
11142 <param name="pos" type="Point" default="wxDefaultPosition"/>
11143 <param name="size" type="Size" default="wxDefaultSize"/>
11144 <param name="style" type="long" default="wxHSCROLL|wxVSCROLL"/>
11145 <param name="name" type="String" default="wxPyPanelNameStr"/>
11146 </paramlist>
11147 </method>
11148 <method name="SetScrollbars" type="" overloaded="no">
11149 <autodoc>SetScrollbars(self, int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
11150 int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)</autodoc>
11151 <paramlist>
11152 <param name="pixelsPerUnitX" type="int" default=""/>
11153 <param name="pixelsPerUnitY" type="int" default=""/>
11154 <param name="noUnitsX" type="int" default=""/>
11155 <param name="noUnitsY" type="int" default=""/>
11156 <param name="xPos" type="int" default="0"/>
11157 <param name="yPos" type="int" default="0"/>
11158 <param name="noRefresh" type="bool" default="False"/>
11159 </paramlist>
11160 </method>
11161 <method name="Scroll" type="" overloaded="no">
11162 <autodoc>Scroll(self, int x, int y)</autodoc>
11163 <paramlist>
11164 <param name="x" type="int" default=""/>
11165 <param name="y" type="int" default=""/>
11166 </paramlist>
11167 </method>
11168 <method name="GetScrollPageSize" type="int" overloaded="no">
11169 <autodoc>GetScrollPageSize(self, int orient) -&gt; int</autodoc>
11170 <paramlist>
11171 <param name="orient" type="int" default=""/>
11172 </paramlist>
11173 </method>
11174 <method name="SetScrollPageSize" type="" overloaded="no">
11175 <autodoc>SetScrollPageSize(self, int orient, int pageSize)</autodoc>
11176 <paramlist>
11177 <param name="orient" type="int" default=""/>
11178 <param name="pageSize" type="int" default=""/>
11179 </paramlist>
11180 </method>
11181 <method name="SetScrollRate" type="" overloaded="no">
11182 <autodoc>SetScrollRate(self, int xstep, int ystep)</autodoc>
11183 <paramlist>
11184 <param name="xstep" type="int" default=""/>
11185 <param name="ystep" type="int" default=""/>
11186 </paramlist>
11187 </method>
11188 <method name="GetScrollPixelsPerUnit" type="" overloaded="no">
11189 <autodoc>GetScrollPixelsPerUnit() -&gt; (xUnit, yUnit)</autodoc>
11190 <paramlist>
11191 <param name="OUTPUT" type="int" default=""/>
11192 <param name="OUTPUT" type="int" default=""/>
11193 </paramlist>
11194 </method>
11195 <method name="EnableScrolling" type="" overloaded="no">
11196 <autodoc>EnableScrolling(self, bool x_scrolling, bool y_scrolling)</autodoc>
11197 <paramlist>
11198 <param name="x_scrolling" type="bool" default=""/>
11199 <param name="y_scrolling" type="bool" default=""/>
11200 </paramlist>
11201 </method>
11202 <method name="GetViewStart" type="" overloaded="no">
11203 <autodoc>GetViewStart() -&gt; (x,y)</autodoc>
11204 <paramlist>
11205 <param name="OUTPUT" type="int" default=""/>
11206 <param name="OUTPUT" type="int" default=""/>
11207 </paramlist>
11208 </method>
11209 <method name="SetScale" type="" overloaded="no">
11210 <autodoc>SetScale(self, double xs, double ys)</autodoc>
11211 <paramlist>
11212 <param name="xs" type="double" default=""/>
11213 <param name="ys" type="double" default=""/>
11214 </paramlist>
11215 </method>
11216 <method name="GetScaleX" type="double" overloaded="no">
11217 <autodoc>GetScaleX(self) -&gt; double</autodoc>
11218 </method>
11219 <method name="GetScaleY" type="double" overloaded="no">
11220 <autodoc>GetScaleY(self) -&gt; double</autodoc>
11221 </method>
11222 <method name="CalcScrolledPosition" type="Point" overloaded="yes">
11223 <docstring>Translate between scrolled and unscrolled coordinates.</docstring>
11224 <paramlist>
11225 <param name="pt" type="Point" default=""/>
11226 </paramlist>
11227 </method>
11228 <method name="CalcScrolledPosition" type="" overloaded="yes">
11229 <autodoc>CalcScrolledPosition(self, Point pt) -&gt; Point
11230 CalcScrolledPosition(int x, int y) -&gt; (sx, sy)</autodoc>
11231 <docstring>Translate between scrolled and unscrolled coordinates.</docstring>
11232 <paramlist>
11233 <param name="x" type="int" default=""/>
11234 <param name="y" type="int" default=""/>
11235 <param name="OUTPUT" type="int" default=""/>
11236 <param name="OUTPUT" type="int" default=""/>
11237 </paramlist>
11238 </method>
11239 <method name="CalcUnscrolledPosition" type="Point" overloaded="yes">
11240 <docstring>Translate between scrolled and unscrolled coordinates.</docstring>
11241 <paramlist>
11242 <param name="pt" type="Point" default=""/>
11243 </paramlist>
11244 </method>
11245 <method name="CalcUnscrolledPosition" type="" overloaded="yes">
11246 <autodoc>CalcUnscrolledPosition(self, Point pt) -&gt; Point
11247 CalcUnscrolledPosition(int x, int y) -&gt; (ux, uy)</autodoc>
11248 <docstring>Translate between scrolled and unscrolled coordinates.</docstring>
11249 <paramlist>
11250 <param name="x" type="int" default=""/>
11251 <param name="y" type="int" default=""/>
11252 <param name="OUTPUT" type="int" default=""/>
11253 <param name="OUTPUT" type="int" default=""/>
11254 </paramlist>
11255 </method>
11256 <method name="AdjustScrollbars" type="" overloaded="no">
11257 <autodoc>AdjustScrollbars(self)</autodoc>
11258 </method>
11259 <method name="CalcScrollInc" type="int" overloaded="no">
11260 <autodoc>CalcScrollInc(self, ScrollWinEvent event) -&gt; int</autodoc>
11261 <paramlist>
11262 <param name="event" type="ScrollWinEvent" default=""/>
11263 </paramlist>
11264 </method>
11265 <method name="SetTargetWindow" type="" overloaded="no">
11266 <autodoc>SetTargetWindow(self, Window target)</autodoc>
11267 <paramlist>
11268 <param name="target" type="Window" default=""/>
11269 </paramlist>
11270 </method>
11271 <method name="GetTargetWindow" type="Window" overloaded="no">
11272 <autodoc>GetTargetWindow(self) -&gt; Window</autodoc>
11273 </method>
11274 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
11275 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
11276 <docstring>Get the default attributes for this class. This is useful if you want
11277 to use the same font or colour in your own control as in a standard
11278 control -- which is a much better idea than hard coding specific
11279 colours or fonts which might look completely out of place on the
11280 user's system, especially if it uses themes.
11281
11282 The variant parameter is only relevant under Mac currently and is
11283 ignore under other platforms. Under Mac, it will change the size of
11284 the returned font. See `wx.Window.SetWindowVariant` for more about
11285 this.</docstring>
11286 <paramlist>
11287 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
11288 </paramlist>
11289 </staticmethod>
11290 </class>
11291 <pythoncode>
11292 #---------------------------------------------------------------------------
11293 </pythoncode>
11294 <class name="TopLevelWindow" oldname="wxTopLevelWindow" module="_windows">
11295 <baseclass name="Window"/>
11296 <method name="Maximize" type="" overloaded="no">
11297 <autodoc>Maximize(self, bool maximize=True)</autodoc>
11298 <paramlist>
11299 <param name="maximize" type="bool" default="True"/>
11300 </paramlist>
11301 </method>
11302 <method name="Restore" type="" overloaded="no">
11303 <autodoc>Restore(self)</autodoc>
11304 </method>
11305 <method name="Iconize" type="" overloaded="no">
11306 <autodoc>Iconize(self, bool iconize=True)</autodoc>
11307 <paramlist>
11308 <param name="iconize" type="bool" default="True"/>
11309 </paramlist>
11310 </method>
11311 <method name="IsMaximized" type="bool" overloaded="no">
11312 <autodoc>IsMaximized(self) -&gt; bool</autodoc>
11313 </method>
11314 <method name="IsIconized" type="bool" overloaded="no">
11315 <autodoc>IsIconized(self) -&gt; bool</autodoc>
11316 </method>
11317 <method name="GetIcon" type="Icon" overloaded="no">
11318 <autodoc>GetIcon(self) -&gt; Icon</autodoc>
11319 </method>
11320 <method name="SetIcon" type="" overloaded="no">
11321 <autodoc>SetIcon(self, Icon icon)</autodoc>
11322 <paramlist>
11323 <param name="icon" type="Icon" default=""/>
11324 </paramlist>
11325 </method>
11326 <method name="SetIcons" type="" overloaded="no">
11327 <autodoc>SetIcons(self, wxIconBundle icons)</autodoc>
11328 <paramlist>
11329 <param name="icons" type="IconBundle" default=""/>
11330 </paramlist>
11331 </method>
11332 <method name="ShowFullScreen" type="bool" overloaded="no">
11333 <autodoc>ShowFullScreen(self, bool show, long style=FULLSCREEN_ALL) -&gt; bool</autodoc>
11334 <paramlist>
11335 <param name="show" type="bool" default=""/>
11336 <param name="style" type="long" default="wxFULLSCREEN_ALL"/>
11337 </paramlist>
11338 </method>
11339 <method name="IsFullScreen" type="bool" overloaded="no">
11340 <autodoc>IsFullScreen(self) -&gt; bool</autodoc>
11341 </method>
11342 <method name="SetTitle" type="" overloaded="no">
11343 <autodoc>SetTitle(self, String title)</autodoc>
11344 <docstring>Sets the window's title. Applicable only to frames and dialogs.</docstring>
11345 <paramlist>
11346 <param name="title" type="String" default=""/>
11347 </paramlist>
11348 </method>
11349 <method name="GetTitle" type="String" overloaded="no">
11350 <autodoc>GetTitle(self) -&gt; String</autodoc>
11351 <docstring>Gets the window's title. Applicable only to frames and dialogs.</docstring>
11352 </method>
11353 <method name="SetShape" type="bool" overloaded="no">
11354 <autodoc>SetShape(self, Region region) -&gt; bool</autodoc>
11355 <paramlist>
11356 <param name="region" type="Region" default=""/>
11357 </paramlist>
11358 </method>
11359 </class>
11360 <pythoncode>
11361 #---------------------------------------------------------------------------
11362 </pythoncode>
11363 <class name="Frame" oldname="wxFrame" module="_windows">
11364 <baseclass name="TopLevelWindow"/>
11365 <constructor name="Frame" overloaded="no">
11366 <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString,
11367 Point pos=DefaultPosition, Size size=DefaultSize,
11368 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -&gt; Frame</autodoc>
11369 <paramlist>
11370 <param name="parent" type="Window" default=""/>
11371 <param name="id" type="int" default="-1"/>
11372 <param name="title" type="String" default="wxPyEmptyString"/>
11373 <param name="pos" type="Point" default="wxDefaultPosition"/>
11374 <param name="size" type="Size" default="wxDefaultSize"/>
11375 <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
11376 <param name="name" type="String" default="wxPyFrameNameStr"/>
11377 </paramlist>
11378 </constructor>
11379 <constructor name="PreFrame" overloaded="no">
11380 <autodoc>PreFrame() -&gt; Frame</autodoc>
11381 </constructor>
11382 <method name="Create" type="bool" overloaded="no">
11383 <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString,
11384 Point pos=DefaultPosition, Size size=DefaultSize,
11385 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -&gt; bool</autodoc>
11386 <paramlist>
11387 <param name="parent" type="Window" default=""/>
11388 <param name="id" type="int" default="-1"/>
11389 <param name="title" type="String" default="wxPyEmptyString"/>
11390 <param name="pos" type="Point" default="wxDefaultPosition"/>
11391 <param name="size" type="Size" default="wxDefaultSize"/>
11392 <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
11393 <param name="name" type="String" default="wxPyFrameNameStr"/>
11394 </paramlist>
11395 </method>
11396 <method name="GetClientAreaOrigin" type="Point" overloaded="no">
11397 <autodoc>GetClientAreaOrigin(self) -&gt; Point</autodoc>
11398 <docstring>Get the origin of the client area of the window relative to the
11399 window's top left corner (the client area may be shifted because of
11400 the borders, scrollbars, other decorations...)</docstring>
11401 </method>
11402 <method name="SendSizeEvent" type="" overloaded="no">
11403 <autodoc>SendSizeEvent(self)</autodoc>
11404 </method>
11405 <method name="SetMenuBar" type="" overloaded="no">
11406 <autodoc>SetMenuBar(self, MenuBar menubar)</autodoc>
11407 <paramlist>
11408 <param name="menubar" type="MenuBar" default=""/>
11409 </paramlist>
11410 </method>
11411 <method name="GetMenuBar" type="MenuBar" overloaded="no">
11412 <autodoc>GetMenuBar(self) -&gt; MenuBar</autodoc>
11413 </method>
11414 <method name="ProcessCommand" type="bool" overloaded="no">
11415 <autodoc>ProcessCommand(self, int winid) -&gt; bool</autodoc>
11416 <paramlist>
11417 <param name="winid" type="int" default=""/>
11418 </paramlist>
11419 </method>
11420 <method name="CreateStatusBar" type="wxStatusBar" overloaded="no">
11421 <autodoc>CreateStatusBar(self, int number=1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE,
11422 int winid=0, String name=StatusLineNameStr) -&gt; StatusBar</autodoc>
11423 <paramlist>
11424 <param name="number" type="int" default="1"/>
11425 <param name="style" type="long" default="wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE"/>
11426 <param name="winid" type="int" default="0"/>
11427 <param name="name" type="String" default="wxPyStatusLineNameStr"/>
11428 </paramlist>
11429 </method>
11430 <method name="GetStatusBar" type="wxStatusBar" overloaded="no">
11431 <autodoc>GetStatusBar(self) -&gt; StatusBar</autodoc>
11432 </method>
11433 <method name="SetStatusBar" type="" overloaded="no">
11434 <autodoc>SetStatusBar(self, StatusBar statBar)</autodoc>
11435 <paramlist>
11436 <param name="statBar" type="wxStatusBar" default=""/>
11437 </paramlist>
11438 </method>
11439 <method name="SetStatusText" type="" overloaded="no">
11440 <autodoc>SetStatusText(self, String text, int number=0)</autodoc>
11441 <paramlist>
11442 <param name="text" type="String" default=""/>
11443 <param name="number" type="int" default="0"/>
11444 </paramlist>
11445 </method>
11446 <method name="SetStatusWidths" type="" overloaded="no">
11447 <autodoc>SetStatusWidths(self, int widths, int widths_field)</autodoc>
11448 <paramlist>
11449 <param name="widths" type="int" default=""/>
11450 <param name="widths_field" type="int" default=""/>
11451 </paramlist>
11452 </method>
11453 <method name="PushStatusText" type="" overloaded="no">
11454 <autodoc>PushStatusText(self, String text, int number=0)</autodoc>
11455 <paramlist>
11456 <param name="text" type="String" default=""/>
11457 <param name="number" type="int" default="0"/>
11458 </paramlist>
11459 </method>
11460 <method name="PopStatusText" type="" overloaded="no">
11461 <autodoc>PopStatusText(self, int number=0)</autodoc>
11462 <paramlist>
11463 <param name="number" type="int" default="0"/>
11464 </paramlist>
11465 </method>
11466 <method name="SetStatusBarPane" type="" overloaded="no">
11467 <autodoc>SetStatusBarPane(self, int n)</autodoc>
11468 <paramlist>
11469 <param name="n" type="int" default=""/>
11470 </paramlist>
11471 </method>
11472 <method name="GetStatusBarPane" type="int" overloaded="no">
11473 <autodoc>GetStatusBarPane(self) -&gt; int</autodoc>
11474 </method>
11475 <method name="CreateToolBar" type="wxToolBar" overloaded="no">
11476 <autodoc>CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -&gt; wxToolBar</autodoc>
11477 <paramlist>
11478 <param name="style" type="long" default="-1"/>
11479 <param name="winid" type="int" default="-1"/>
11480 <param name="name" type="String" default="wxPyToolBarNameStr"/>
11481 </paramlist>
11482 </method>
11483 <method name="GetToolBar" type="wxToolBar" overloaded="no">
11484 <autodoc>GetToolBar(self) -&gt; wxToolBar</autodoc>
11485 </method>
11486 <method name="SetToolBar" type="" overloaded="no">
11487 <autodoc>SetToolBar(self, wxToolBar toolbar)</autodoc>
11488 <paramlist>
11489 <param name="toolbar" type="wxToolBar" default=""/>
11490 </paramlist>
11491 </method>
11492 <method name="DoGiveHelp" type="" overloaded="no">
11493 <autodoc>DoGiveHelp(self, String text, bool show)</autodoc>
11494 <paramlist>
11495 <param name="text" type="String" default=""/>
11496 <param name="show" type="bool" default=""/>
11497 </paramlist>
11498 </method>
11499 <method name="DoMenuUpdates" type="" overloaded="no">
11500 <autodoc>DoMenuUpdates(self, Menu menu=None)</autodoc>
11501 <paramlist>
11502 <param name="menu" type="Menu" default="NULL"/>
11503 </paramlist>
11504 </method>
11505 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
11506 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
11507 <docstring>Get the default attributes for this class. This is useful if you want
11508 to use the same font or colour in your own control as in a standard
11509 control -- which is a much better idea than hard coding specific
11510 colours or fonts which might look completely out of place on the
11511 user's system, especially if it uses themes.
11512
11513 The variant parameter is only relevant under Mac currently and is
11514 ignore under other platforms. Under Mac, it will change the size of
11515 the returned font. See `wx.Window.SetWindowVariant` for more about
11516 this.</docstring>
11517 <paramlist>
11518 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
11519 </paramlist>
11520 </staticmethod>
11521 </class>
11522 <pythoncode>
11523 #---------------------------------------------------------------------------
11524 </pythoncode>
11525 <class name="Dialog" oldname="wxDialog" module="_windows">
11526 <baseclass name="TopLevelWindow"/>
11527 <constructor name="Dialog" overloaded="no">
11528 <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString,
11529 Point pos=DefaultPosition, Size size=DefaultSize,
11530 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -&gt; Dialog</autodoc>
11531 <paramlist>
11532 <param name="parent" type="Window" default=""/>
11533 <param name="id" type="int" default="-1"/>
11534 <param name="title" type="String" default="wxPyEmptyString"/>
11535 <param name="pos" type="Point" default="wxDefaultPosition"/>
11536 <param name="size" type="Size" default="wxDefaultSize"/>
11537 <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/>
11538 <param name="name" type="String" default="wxPyDialogNameStr"/>
11539 </paramlist>
11540 </constructor>
11541 <constructor name="PreDialog" overloaded="no">
11542 <autodoc>PreDialog() -&gt; Dialog</autodoc>
11543 </constructor>
11544 <method name="Create" type="bool" overloaded="no">
11545 <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString,
11546 Point pos=DefaultPosition, Size size=DefaultSize,
11547 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -&gt; bool</autodoc>
11548 <paramlist>
11549 <param name="parent" type="Window" default=""/>
11550 <param name="id" type="int" default="-1"/>
11551 <param name="title" type="String" default="wxPyEmptyString"/>
11552 <param name="pos" type="Point" default="wxDefaultPosition"/>
11553 <param name="size" type="Size" default="wxDefaultSize"/>
11554 <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/>
11555 <param name="name" type="String" default="wxPyDialogNameStr"/>
11556 </paramlist>
11557 </method>
11558 <method name="SetReturnCode" type="" overloaded="no">
11559 <autodoc>SetReturnCode(self, int returnCode)</autodoc>
11560 <paramlist>
11561 <param name="returnCode" type="int" default=""/>
11562 </paramlist>
11563 </method>
11564 <method name="GetReturnCode" type="int" overloaded="no">
11565 <autodoc>GetReturnCode(self) -&gt; int</autodoc>
11566 </method>
11567 <method name="CreateTextSizer" type="Sizer" overloaded="no">
11568 <autodoc>CreateTextSizer(self, String message) -&gt; Sizer</autodoc>
11569 <paramlist>
11570 <param name="message" type="String" default=""/>
11571 </paramlist>
11572 </method>
11573 <method name="CreateButtonSizer" type="Sizer" overloaded="no">
11574 <autodoc>CreateButtonSizer(self, long flags) -&gt; Sizer</autodoc>
11575 <paramlist>
11576 <param name="flags" type="long" default=""/>
11577 </paramlist>
11578 </method>
11579 <method name="IsModal" type="bool" overloaded="no">
11580 <autodoc>IsModal(self) -&gt; bool</autodoc>
11581 </method>
11582 <method name="ShowModal" type="int" overloaded="no">
11583 <autodoc>ShowModal(self) -&gt; int</autodoc>
11584 </method>
11585 <method name="EndModal" type="" overloaded="no">
11586 <autodoc>EndModal(self, int retCode)</autodoc>
11587 <paramlist>
11588 <param name="retCode" type="int" default=""/>
11589 </paramlist>
11590 </method>
11591 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
11592 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
11593 <docstring>Get the default attributes for this class. This is useful if you want
11594 to use the same font or colour in your own control as in a standard
11595 control -- which is a much better idea than hard coding specific
11596 colours or fonts which might look completely out of place on the
11597 user's system, especially if it uses themes.
11598
11599 The variant parameter is only relevant under Mac currently and is
11600 ignore under other platforms. Under Mac, it will change the size of
11601 the returned font. See `wx.Window.SetWindowVariant` for more about
11602 this.</docstring>
11603 <paramlist>
11604 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
11605 </paramlist>
11606 </staticmethod>
11607 </class>
11608 <pythoncode>
11609 #---------------------------------------------------------------------------
11610 </pythoncode>
11611 <class name="MiniFrame" oldname="wxMiniFrame" module="_windows">
11612 <baseclass name="Frame"/>
11613 <constructor name="MiniFrame" overloaded="no">
11614 <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString,
11615 Point pos=DefaultPosition, Size size=DefaultSize,
11616 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -&gt; MiniFrame</autodoc>
11617 <paramlist>
11618 <param name="parent" type="Window" default=""/>
11619 <param name="id" type="int" default="-1"/>
11620 <param name="title" type="String" default="wxPyEmptyString"/>
11621 <param name="pos" type="Point" default="wxDefaultPosition"/>
11622 <param name="size" type="Size" default="wxDefaultSize"/>
11623 <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
11624 <param name="name" type="String" default="wxPyFrameNameStr"/>
11625 </paramlist>
11626 </constructor>
11627 <constructor name="PreMiniFrame" overloaded="no">
11628 <autodoc>PreMiniFrame() -&gt; MiniFrame</autodoc>
11629 </constructor>
11630 <method name="Create" type="bool" overloaded="no">
11631 <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString,
11632 Point pos=DefaultPosition, Size size=DefaultSize,
11633 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -&gt; bool</autodoc>
11634 <paramlist>
11635 <param name="parent" type="Window" default=""/>
11636 <param name="id" type="int" default="-1"/>
11637 <param name="title" type="String" default="wxPyEmptyString"/>
11638 <param name="pos" type="Point" default="wxDefaultPosition"/>
11639 <param name="size" type="Size" default="wxDefaultSize"/>
11640 <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
11641 <param name="name" type="String" default="wxPyFrameNameStr"/>
11642 </paramlist>
11643 </method>
11644 </class>
11645 <pythoncode>
11646 #---------------------------------------------------------------------------
11647 </pythoncode>
11648 <class name="SplashScreenWindow" oldname="wxSplashScreenWindow" module="_windows">
11649 <baseclass name="Window"/>
11650 <constructor name="SplashScreenWindow" overloaded="no">
11651 <autodoc>__init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
11652 Size size=DefaultSize, long style=NO_BORDER) -&gt; SplashScreenWindow</autodoc>
11653 <paramlist>
11654 <param name="bitmap" type="Bitmap" default=""/>
11655 <param name="parent" type="Window" default=""/>
11656 <param name="id" type="int" default=""/>
11657 <param name="pos" type="Point" default="wxDefaultPosition"/>
11658 <param name="size" type="Size" default="wxDefaultSize"/>
11659 <param name="style" type="long" default="wxNO_BORDER"/>
11660 </paramlist>
11661 </constructor>
11662 <method name="SetBitmap" type="" overloaded="no">
11663 <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc>
11664 <paramlist>
11665 <param name="bitmap" type="Bitmap" default=""/>
11666 </paramlist>
11667 </method>
11668 <method name="GetBitmap" type="Bitmap" overloaded="no">
11669 <autodoc>GetBitmap(self) -&gt; Bitmap</autodoc>
11670 </method>
11671 </class>
11672 <class name="SplashScreen" oldname="wxSplashScreen" module="_windows">
11673 <baseclass name="Frame"/>
11674 <constructor name="SplashScreen" overloaded="no">
11675 <autodoc>__init__(self, Bitmap bitmap, long splashStyle, int milliseconds,
11676 Window parent, int id=-1, Point pos=DefaultPosition,
11677 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -&gt; SplashScreen</autodoc>
11678 <paramlist>
11679 <param name="bitmap" type="Bitmap" default=""/>
11680 <param name="splashStyle" type="long" default=""/>
11681 <param name="milliseconds" type="int" default=""/>
11682 <param name="parent" type="Window" default=""/>
11683 <param name="id" type="int" default="-1"/>
11684 <param name="pos" type="Point" default="wxDefaultPosition"/>
11685 <param name="size" type="Size" default="wxDefaultSize"/>
11686 <param name="style" type="long" default="wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP"/>
11687 </paramlist>
11688 </constructor>
11689 <method name="GetSplashStyle" type="long" overloaded="no">
11690 <autodoc>GetSplashStyle(self) -&gt; long</autodoc>
11691 </method>
11692 <method name="GetSplashWindow" type="SplashScreenWindow" overloaded="no">
11693 <autodoc>GetSplashWindow(self) -&gt; SplashScreenWindow</autodoc>
11694 </method>
11695 <method name="GetTimeout" type="int" overloaded="no">
11696 <autodoc>GetTimeout(self) -&gt; int</autodoc>
11697 </method>
11698 </class>
11699 <pythoncode>
11700 #---------------------------------------------------------------------------
11701 </pythoncode>
11702 <class name="StatusBar" oldname="wxStatusBar" module="_windows">
11703 <baseclass name="Window"/>
11704 <constructor name="StatusBar" overloaded="no">
11705 <autodoc>__init__(self, Window parent, int id=-1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE,
11706 String name=StatusLineNameStr) -&gt; StatusBar</autodoc>
11707 <paramlist>
11708 <param name="parent" type="Window" default=""/>
11709 <param name="id" type="int" default="-1"/>
11710 <param name="style" type="long" default="wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE"/>
11711 <param name="name" type="String" default="wxPyStatusLineNameStr"/>
11712 </paramlist>
11713 </constructor>
11714 <constructor name="PreStatusBar" overloaded="no">
11715 <autodoc>PreStatusBar() -&gt; StatusBar</autodoc>
11716 </constructor>
11717 <method name="Create" type="bool" overloaded="no">
11718 <autodoc>Create(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -&gt; bool</autodoc>
11719 <paramlist>
11720 <param name="parent" type="Window" default=""/>
11721 <param name="id" type="int" default="-1"/>
11722 <param name="style" type="long" default="wxST_SIZEGRIP"/>
11723 <param name="name" type="String" default="wxPyStatusLineNameStr"/>
11724 </paramlist>
11725 </method>
11726 <method name="SetFieldsCount" type="" overloaded="no">
11727 <autodoc>SetFieldsCount(self, int number=1)</autodoc>
11728 <paramlist>
11729 <param name="number" type="int" default="1"/>
11730 </paramlist>
11731 </method>
11732 <method name="GetFieldsCount" type="int" overloaded="no">
11733 <autodoc>GetFieldsCount(self) -&gt; int</autodoc>
11734 </method>
11735 <method name="SetStatusText" type="" overloaded="no">
11736 <autodoc>SetStatusText(self, String text, int number=0)</autodoc>
11737 <paramlist>
11738 <param name="text" type="String" default=""/>
11739 <param name="number" type="int" default="0"/>
11740 </paramlist>
11741 </method>
11742 <method name="GetStatusText" type="String" overloaded="no">
11743 <autodoc>GetStatusText(self, int number=0) -&gt; String</autodoc>
11744 <paramlist>
11745 <param name="number" type="int" default="0"/>
11746 </paramlist>
11747 </method>
11748 <method name="PushStatusText" type="" overloaded="no">
11749 <autodoc>PushStatusText(self, String text, int number=0)</autodoc>
11750 <paramlist>
11751 <param name="text" type="String" default=""/>
11752 <param name="number" type="int" default="0"/>
11753 </paramlist>
11754 </method>
11755 <method name="PopStatusText" type="" overloaded="no">
11756 <autodoc>PopStatusText(self, int number=0)</autodoc>
11757 <paramlist>
11758 <param name="number" type="int" default="0"/>
11759 </paramlist>
11760 </method>
11761 <method name="SetStatusWidths" type="" overloaded="no">
11762 <autodoc>SetStatusWidths(self, int widths, int widths_field)</autodoc>
11763 <paramlist>
11764 <param name="widths" type="int" default=""/>
11765 <param name="widths_field" type="int" default=""/>
11766 </paramlist>
11767 </method>
11768 <method name="GetFieldRect" type="Rect" overloaded="no">
11769 <autodoc>GetFieldRect(self, int i) -&gt; Rect</autodoc>
11770 <paramlist>
11771 <param name="i" type="int" default=""/>
11772 </paramlist>
11773 </method>
11774 <method name="SetMinHeight" type="" overloaded="no">
11775 <autodoc>SetMinHeight(self, int height)</autodoc>
11776 <paramlist>
11777 <param name="height" type="int" default=""/>
11778 </paramlist>
11779 </method>
11780 <method name="GetBorderX" type="int" overloaded="no">
11781 <autodoc>GetBorderX(self) -&gt; int</autodoc>
11782 </method>
11783 <method name="GetBorderY" type="int" overloaded="no">
11784 <autodoc>GetBorderY(self) -&gt; int</autodoc>
11785 </method>
11786 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
11787 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
11788 <docstring>Get the default attributes for this class. This is useful if you want
11789 to use the same font or colour in your own control as in a standard
11790 control -- which is a much better idea than hard coding specific
11791 colours or fonts which might look completely out of place on the
11792 user's system, especially if it uses themes.
11793
11794 The variant parameter is only relevant under Mac currently and is
11795 ignore under other platforms. Under Mac, it will change the size of
11796 the returned font. See `wx.Window.SetWindowVariant` for more about
11797 this.</docstring>
11798 <paramlist>
11799 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
11800 </paramlist>
11801 </staticmethod>
11802 </class>
11803 <pythoncode>
11804 #---------------------------------------------------------------------------
11805 </pythoncode>
11806 <class name="SplitterWindow" oldname="wxSplitterWindow" module="_windows">
11807 <docstring>wx.SplitterWindow manages up to two subwindows or panes, with an
11808 optional vertical or horizontal split which can be used with the mouse
11809 or programmatically.</docstring>
11810 <baseclass name="Window"/>
11811 <constructor name="SplitterWindow" overloaded="no">
11812 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
11813 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -&gt; SplitterWindow</autodoc>
11814 <docstring>Constructor. Creates and shows a SplitterWindow.</docstring>
11815 <paramlist>
11816 <param name="parent" type="Window" default=""/>
11817 <param name="id" type="int" default="-1"/>
11818 <param name="pos" type="Point" default="wxDefaultPosition"/>
11819 <param name="size" type="Size" default="wxDefaultSize"/>
11820 <param name="style" type="long" default="wxSP_3D"/>
11821 <param name="name" type="String" default="wxPySplitterNameStr"/>
11822 </paramlist>
11823 </constructor>
11824 <constructor name="PreSplitterWindow" overloaded="no">
11825 <autodoc>PreSplitterWindow() -&gt; SplitterWindow</autodoc>
11826 <docstring>Precreate a SplitterWindow for 2-phase creation.</docstring>
11827 </constructor>
11828 <method name="Create" type="bool" overloaded="no">
11829 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
11830 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -&gt; bool</autodoc>
11831 <docstring>Create the GUI part of the SplitterWindow for the 2-phase create.</docstring>
11832 <paramlist>
11833 <param name="parent" type="Window" default=""/>
11834 <param name="id" type="int" default="-1"/>
11835 <param name="pos" type="Point" default="wxDefaultPosition"/>
11836 <param name="size" type="Size" default="wxDefaultSize"/>
11837 <param name="style" type="long" default="wxSP_3D"/>
11838 <param name="name" type="String" default="wxPySplitterNameStr"/>
11839 </paramlist>
11840 </method>
11841 <method name="GetWindow1" type="Window" overloaded="no">
11842 <autodoc>GetWindow1(self) -&gt; Window</autodoc>
11843 <docstring>Gets the only or left/top pane.</docstring>
11844 </method>
11845 <method name="GetWindow2" type="Window" overloaded="no">
11846 <autodoc>GetWindow2(self) -&gt; Window</autodoc>
11847 <docstring>Gets the right/bottom pane.</docstring>
11848 </method>
11849 <method name="SetSplitMode" type="" overloaded="no">
11850 <autodoc>SetSplitMode(self, int mode)</autodoc>
11851 <docstring>Sets the split mode. The mode can be wx.SPLIT_VERTICAL or
11852 wx.SPLIT_HORIZONTAL. This only sets the internal variable; does not
11853 update the display.</docstring>
11854 <paramlist>
11855 <param name="mode" type="int" default=""/>
11856 </paramlist>
11857 </method>
11858 <method name="GetSplitMode" type="wxSplitMode" overloaded="no">
11859 <autodoc>GetSplitMode(self) -&gt; int</autodoc>
11860 <docstring>Gets the split mode</docstring>
11861 </method>
11862 <method name="Initialize" type="" overloaded="no">
11863 <autodoc>Initialize(self, Window window)</autodoc>
11864 <docstring>Initializes the splitter window to have one pane. This should be
11865 called if you wish to initially view only a single pane in the
11866 splitter window.</docstring>
11867 <paramlist>
11868 <param name="window" type="Window" default=""/>
11869 </paramlist>
11870 </method>
11871 <method name="SplitVertically" type="bool" overloaded="no">
11872 <autodoc>SplitVertically(self, Window window1, Window window2, int sashPosition=0) -&gt; bool</autodoc>
11873 <docstring>Initializes the left and right panes of the splitter window.</docstring>
11874 <paramlist>
11875 <param name="window1" type="Window" default=""/>
11876 <param name="window2" type="Window" default=""/>
11877 <param name="sashPosition" type="int" default="0"/>
11878 </paramlist>
11879 </method>
11880 <method name="SplitHorizontally" type="bool" overloaded="no">
11881 <autodoc>SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -&gt; bool</autodoc>
11882 <docstring>Initializes the top and bottom panes of the splitter window.</docstring>
11883 <paramlist>
11884 <param name="window1" type="Window" default=""/>
11885 <param name="window2" type="Window" default=""/>
11886 <param name="sashPosition" type="int" default="0"/>
11887 </paramlist>
11888 </method>
11889 <method name="Unsplit" type="bool" overloaded="no">
11890 <autodoc>Unsplit(self, Window toRemove=None) -&gt; bool</autodoc>
11891 <docstring>Unsplits the window. Pass the pane to remove, or None to remove the
11892 right or bottom pane. Returns True if successful, False otherwise (the
11893 window was not split).
11894
11895 This function will not actually delete the pane being
11896 removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
11897 for the desired behaviour. By default, the pane being
11898 removed is only hidden.</docstring>
11899 <paramlist>
11900 <param name="toRemove" type="Window" default="NULL"/>
11901 </paramlist>
11902 </method>
11903 <method name="ReplaceWindow" type="bool" overloaded="no">
11904 <autodoc>ReplaceWindow(self, Window winOld, Window winNew) -&gt; bool</autodoc>
11905 <docstring>This function replaces one of the windows managed by the
11906 SplitterWindow with another one. It is in general better to use it
11907 instead of calling Unsplit() and then resplitting the window back
11908 because it will provoke much less flicker. It is valid to call this
11909 function whether the splitter has two windows or only one.
11910
11911 Both parameters should be non-None and winOld must specify one of the
11912 windows managed by the splitter. If the parameters are incorrect or
11913 the window couldn't be replaced, False is returned. Otherwise the
11914 function will return True, but please notice that it will not Destroy
11915 the replaced window and you may wish to do it yourself.</docstring>
11916 <paramlist>
11917 <param name="winOld" type="Window" default=""/>
11918 <param name="winNew" type="Window" default=""/>
11919 </paramlist>
11920 </method>
11921 <method name="UpdateSize" type="" overloaded="no">
11922 <autodoc>UpdateSize(self)</autodoc>
11923 <docstring>Causes any pending sizing of the sash and child panes to take place
11924 immediately.
11925
11926 Such resizing normally takes place in idle time, in order to wait for
11927 layout to be completed. However, this can cause unacceptable flicker
11928 as the panes are resized after the window has been shown. To work
11929 around this, you can perform window layout (for example by sending a
11930 size event to the parent window), and then call this function, before
11931 showing the top-level window.</docstring>
11932 </method>
11933 <method name="IsSplit" type="bool" overloaded="no">
11934 <autodoc>IsSplit(self) -&gt; bool</autodoc>
11935 <docstring>Is the window split?</docstring>
11936 </method>
11937 <method name="SetSashSize" type="" overloaded="no">
11938 <autodoc>SetSashSize(self, int width)</autodoc>
11939 <docstring>Sets the sash size</docstring>
11940 <paramlist>
11941 <param name="width" type="int" default=""/>
11942 </paramlist>
11943 </method>
11944 <method name="SetBorderSize" type="" overloaded="no">
11945 <autodoc>SetBorderSize(self, int width)</autodoc>
11946 <docstring>Sets the border size</docstring>
11947 <paramlist>
11948 <param name="width" type="int" default=""/>
11949 </paramlist>
11950 </method>
11951 <method name="GetSashSize" type="int" overloaded="no">
11952 <autodoc>GetSashSize(self) -&gt; int</autodoc>
11953 <docstring>Gets the sash size</docstring>
11954 </method>
11955 <method name="GetBorderSize" type="int" overloaded="no">
11956 <autodoc>GetBorderSize(self) -&gt; int</autodoc>
11957 <docstring>Gets the border size</docstring>
11958 </method>
11959 <method name="SetSashPosition" type="" overloaded="no">
11960 <autodoc>SetSashPosition(self, int position, bool redraw=True)</autodoc>
11961 <docstring>Sets the sash position, in pixels. If redraw is Ttrue then the panes
11962 are resized and the sash and border are redrawn.</docstring>
11963 <paramlist>
11964 <param name="position" type="int" default=""/>
11965 <param name="redraw" type="bool" default="True"/>
11966 </paramlist>
11967 </method>
11968 <method name="GetSashPosition" type="int" overloaded="no">
11969 <autodoc>GetSashPosition(self) -&gt; int</autodoc>
11970 <docstring>Returns the surrent sash position.</docstring>
11971 </method>
11972 <method name="SetMinimumPaneSize" type="" overloaded="no">
11973 <autodoc>SetMinimumPaneSize(self, int min)</autodoc>
11974 <docstring>Sets the minimum pane size in pixels.
11975
11976 The default minimum pane size is zero, which means that either pane
11977 can be reduced to zero by dragging the sash, thus removing one of the
11978 panes. To prevent this behaviour (and veto out-of-range sash
11979 dragging), set a minimum size, for example 20 pixels. If the
11980 wx.SP_PERMIT_UNSPLIT style is used when a splitter window is created,
11981 the window may be unsplit even if minimum size is non-zero.</docstring>
11982 <paramlist>
11983 <param name="min" type="int" default=""/>
11984 </paramlist>
11985 </method>
11986 <method name="GetMinimumPaneSize" type="int" overloaded="no">
11987 <autodoc>GetMinimumPaneSize(self) -&gt; int</autodoc>
11988 <docstring>Gets the minimum pane size in pixels.</docstring>
11989 </method>
11990 <method name="SashHitTest" type="bool" overloaded="no">
11991 <autodoc>SashHitTest(self, int x, int y, int tolerance=5) -&gt; bool</autodoc>
11992 <docstring>Tests for x, y over the sash</docstring>
11993 <paramlist>
11994 <param name="x" type="int" default=""/>
11995 <param name="y" type="int" default=""/>
11996 <param name="tolerance" type="int" default="5"/>
11997 </paramlist>
11998 </method>
11999 <method name="SizeWindows" type="" overloaded="no">
12000 <autodoc>SizeWindows(self)</autodoc>
12001 <docstring>Resizes subwindows</docstring>
12002 </method>
12003 <method name="SetNeedUpdating" type="" overloaded="no">
12004 <autodoc>SetNeedUpdating(self, bool needUpdating)</autodoc>
12005 <paramlist>
12006 <param name="needUpdating" type="bool" default=""/>
12007 </paramlist>
12008 </method>
12009 <method name="GetNeedUpdating" type="bool" overloaded="no">
12010 <autodoc>GetNeedUpdating(self) -&gt; bool</autodoc>
12011 </method>
12012 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
12013 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
12014 <docstring>Get the default attributes for this class. This is useful if you want
12015 to use the same font or colour in your own control as in a standard
12016 control -- which is a much better idea than hard coding specific
12017 colours or fonts which might look completely out of place on the
12018 user's system, especially if it uses themes.
12019
12020 The variant parameter is only relevant under Mac currently and is
12021 ignore under other platforms. Under Mac, it will change the size of
12022 the returned font. See `wx.Window.SetWindowVariant` for more about
12023 this.</docstring>
12024 <paramlist>
12025 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
12026 </paramlist>
12027 </staticmethod>
12028 </class>
12029 <class name="SplitterEvent" oldname="wxSplitterEvent" module="_windows">
12030 <docstring>This class represents the events generated by a splitter control.</docstring>
12031 <baseclass name="NotifyEvent"/>
12032 <constructor name="SplitterEvent" overloaded="no">
12033 <autodoc>__init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -&gt; SplitterEvent</autodoc>
12034 <docstring>This class represents the events generated by a splitter control.</docstring>
12035 <paramlist>
12036 <param name="type" type="wxEventType" default="wxEVT_NULL"/>
12037 <param name="splitter" type="SplitterWindow" default="(wxSplitterWindow *) NULL"/>
12038 </paramlist>
12039 </constructor>
12040 <method name="SetSashPosition" type="" overloaded="no">
12041 <autodoc>SetSashPosition(self, int pos)</autodoc>
12042 <docstring>This funciton is only meaningful during EVT_SPLITTER_SASH_POS_CHANGING
12043 and EVT_SPLITTER_SASH_POS_CHANGED events. In the case of _CHANGED
12044 events, sets the the new sash position. In the case of _CHANGING
12045 events, sets the new tracking bar position so visual feedback during
12046 dragging will represent that change that will actually take place. Set
12047 to -1 from the event handler code to prevent repositioning.</docstring>
12048 <paramlist>
12049 <param name="pos" type="int" default=""/>
12050 </paramlist>
12051 </method>
12052 <method name="GetSashPosition" type="int" overloaded="no">
12053 <autodoc>GetSashPosition(self) -&gt; int</autodoc>
12054 <docstring>Returns the new sash position while in EVT_SPLITTER_SASH_POS_CHANGING
12055 and EVT_SPLITTER_SASH_POS_CHANGED events.</docstring>
12056 </method>
12057 <method name="GetWindowBeingRemoved" type="Window" overloaded="no">
12058 <autodoc>GetWindowBeingRemoved(self) -&gt; Window</autodoc>
12059 <docstring>Returns a pointer to the window being removed when a splitter window
12060 is unsplit.</docstring>
12061 </method>
12062 <method name="GetX" type="int" overloaded="no">
12063 <autodoc>GetX(self) -&gt; int</autodoc>
12064 <docstring>Returns the x coordinate of the double-click point in a
12065 EVT_SPLITTER_DCLICK event.</docstring>
12066 </method>
12067 <method name="GetY" type="int" overloaded="no">
12068 <autodoc>GetY(self) -&gt; int</autodoc>
12069 <docstring>Returns the y coordinate of the double-click point in a
12070 EVT_SPLITTER_DCLICK event.</docstring>
12071 </method>
12072 </class>
12073 <pythoncode>
12074 EVT_SPLITTER_SASH_POS_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 1 )
12075 EVT_SPLITTER_SASH_POS_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 1 )
12076 EVT_SPLITTER_DOUBLECLICKED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 1 )
12077 EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
12078 EVT_SPLITTER_DCLICK = EVT_SPLITTER_DOUBLECLICKED
12079 </pythoncode>
12080 <pythoncode>
12081 #---------------------------------------------------------------------------
12082 </pythoncode>
12083 <class name="SashWindow" oldname="wxSashWindow" module="_windows">
12084 <baseclass name="Window"/>
12085 <constructor name="SashWindow" overloaded="no">
12086 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
12087 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
12088 String name=SashNameStr) -&gt; SashWindow</autodoc>
12089 <paramlist>
12090 <param name="parent" type="Window" default=""/>
12091 <param name="id" type="int" default="-1"/>
12092 <param name="pos" type="Point" default="wxDefaultPosition"/>
12093 <param name="size" type="Size" default="wxDefaultSize"/>
12094 <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
12095 <param name="name" type="String" default="wxPySashNameStr"/>
12096 </paramlist>
12097 </constructor>
12098 <constructor name="PreSashWindow" overloaded="no">
12099 <autodoc>PreSashWindow() -&gt; SashWindow</autodoc>
12100 </constructor>
12101 <method name="Create" type="bool" overloaded="no">
12102 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
12103 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
12104 String name=SashNameStr) -&gt; bool</autodoc>
12105 <paramlist>
12106 <param name="parent" type="Window" default=""/>
12107 <param name="id" type="int" default="-1"/>
12108 <param name="pos" type="Point" default="wxDefaultPosition"/>
12109 <param name="size" type="Size" default="wxDefaultSize"/>
12110 <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
12111 <param name="name" type="String" default="wxPySashNameStr"/>
12112 </paramlist>
12113 </method>
12114 <method name="SetSashVisible" type="" overloaded="no">
12115 <autodoc>SetSashVisible(self, int edge, bool sash)</autodoc>
12116 <paramlist>
12117 <param name="edge" type="wxSashEdgePosition" default=""/>
12118 <param name="sash" type="bool" default=""/>
12119 </paramlist>
12120 </method>
12121 <method name="GetSashVisible" type="bool" overloaded="no">
12122 <autodoc>GetSashVisible(self, int edge) -&gt; bool</autodoc>
12123 <paramlist>
12124 <param name="edge" type="wxSashEdgePosition" default=""/>
12125 </paramlist>
12126 </method>
12127 <method name="SetSashBorder" type="" overloaded="no">
12128 <autodoc>SetSashBorder(self, int edge, bool border)</autodoc>
12129 <paramlist>
12130 <param name="edge" type="wxSashEdgePosition" default=""/>
12131 <param name="border" type="bool" default=""/>
12132 </paramlist>
12133 </method>
12134 <method name="HasBorder" type="bool" overloaded="no">
12135 <autodoc>HasBorder(self, int edge) -&gt; bool</autodoc>
12136 <paramlist>
12137 <param name="edge" type="wxSashEdgePosition" default=""/>
12138 </paramlist>
12139 </method>
12140 <method name="GetEdgeMargin" type="int" overloaded="no">
12141 <autodoc>GetEdgeMargin(self, int edge) -&gt; int</autodoc>
12142 <paramlist>
12143 <param name="edge" type="wxSashEdgePosition" default=""/>
12144 </paramlist>
12145 </method>
12146 <method name="SetDefaultBorderSize" type="" overloaded="no">
12147 <autodoc>SetDefaultBorderSize(self, int width)</autodoc>
12148 <paramlist>
12149 <param name="width" type="int" default=""/>
12150 </paramlist>
12151 </method>
12152 <method name="GetDefaultBorderSize" type="int" overloaded="no">
12153 <autodoc>GetDefaultBorderSize(self) -&gt; int</autodoc>
12154 </method>
12155 <method name="SetExtraBorderSize" type="" overloaded="no">
12156 <autodoc>SetExtraBorderSize(self, int width)</autodoc>
12157 <paramlist>
12158 <param name="width" type="int" default=""/>
12159 </paramlist>
12160 </method>
12161 <method name="GetExtraBorderSize" type="int" overloaded="no">
12162 <autodoc>GetExtraBorderSize(self) -&gt; int</autodoc>
12163 </method>
12164 <method name="SetMinimumSizeX" type="" overloaded="no">
12165 <autodoc>SetMinimumSizeX(self, int min)</autodoc>
12166 <paramlist>
12167 <param name="min" type="int" default=""/>
12168 </paramlist>
12169 </method>
12170 <method name="SetMinimumSizeY" type="" overloaded="no">
12171 <autodoc>SetMinimumSizeY(self, int min)</autodoc>
12172 <paramlist>
12173 <param name="min" type="int" default=""/>
12174 </paramlist>
12175 </method>
12176 <method name="GetMinimumSizeX" type="int" overloaded="no">
12177 <autodoc>GetMinimumSizeX(self) -&gt; int</autodoc>
12178 </method>
12179 <method name="GetMinimumSizeY" type="int" overloaded="no">
12180 <autodoc>GetMinimumSizeY(self) -&gt; int</autodoc>
12181 </method>
12182 <method name="SetMaximumSizeX" type="" overloaded="no">
12183 <autodoc>SetMaximumSizeX(self, int max)</autodoc>
12184 <paramlist>
12185 <param name="max" type="int" default=""/>
12186 </paramlist>
12187 </method>
12188 <method name="SetMaximumSizeY" type="" overloaded="no">
12189 <autodoc>SetMaximumSizeY(self, int max)</autodoc>
12190 <paramlist>
12191 <param name="max" type="int" default=""/>
12192 </paramlist>
12193 </method>
12194 <method name="GetMaximumSizeX" type="int" overloaded="no">
12195 <autodoc>GetMaximumSizeX(self) -&gt; int</autodoc>
12196 </method>
12197 <method name="GetMaximumSizeY" type="int" overloaded="no">
12198 <autodoc>GetMaximumSizeY(self) -&gt; int</autodoc>
12199 </method>
12200 <method name="SashHitTest" type="wxSashEdgePosition" overloaded="no">
12201 <autodoc>SashHitTest(self, int x, int y, int tolerance=2) -&gt; int</autodoc>
12202 <paramlist>
12203 <param name="x" type="int" default=""/>
12204 <param name="y" type="int" default=""/>
12205 <param name="tolerance" type="int" default="2"/>
12206 </paramlist>
12207 </method>
12208 <method name="SizeWindows" type="" overloaded="no">
12209 <autodoc>SizeWindows(self)</autodoc>
12210 </method>
12211 </class>
12212 <class name="SashEvent" oldname="wxSashEvent" module="_windows">
12213 <baseclass name="CommandEvent"/>
12214 <constructor name="SashEvent" overloaded="no">
12215 <autodoc>__init__(self, int id=0, int edge=SASH_NONE) -&gt; SashEvent</autodoc>
12216 <paramlist>
12217 <param name="id" type="int" default="0"/>
12218 <param name="edge" type="wxSashEdgePosition" default="wxSASH_NONE"/>
12219 </paramlist>
12220 </constructor>
12221 <method name="SetEdge" type="" overloaded="no">
12222 <autodoc>SetEdge(self, int edge)</autodoc>
12223 <paramlist>
12224 <param name="edge" type="wxSashEdgePosition" default=""/>
12225 </paramlist>
12226 </method>
12227 <method name="GetEdge" type="wxSashEdgePosition" overloaded="no">
12228 <autodoc>GetEdge(self) -&gt; int</autodoc>
12229 </method>
12230 <method name="SetDragRect" type="" overloaded="no">
12231 <autodoc>SetDragRect(self, Rect rect)</autodoc>
12232 <paramlist>
12233 <param name="rect" type="Rect" default=""/>
12234 </paramlist>
12235 </method>
12236 <method name="GetDragRect" type="Rect" overloaded="no">
12237 <autodoc>GetDragRect(self) -&gt; Rect</autodoc>
12238 </method>
12239 <method name="SetDragStatus" type="" overloaded="no">
12240 <autodoc>SetDragStatus(self, int status)</autodoc>
12241 <paramlist>
12242 <param name="status" type="wxSashDragStatus" default=""/>
12243 </paramlist>
12244 </method>
12245 <method name="GetDragStatus" type="wxSashDragStatus" overloaded="no">
12246 <autodoc>GetDragStatus(self) -&gt; int</autodoc>
12247 </method>
12248 </class>
12249 <pythoncode>
12250 EVT_SASH_DRAGGED = wx.PyEventBinder( wxEVT_SASH_DRAGGED, 1 )
12251 EVT_SASH_DRAGGED_RANGE = wx.PyEventBinder( wxEVT_SASH_DRAGGED, 2 )
12252 </pythoncode>
12253 <pythoncode>
12254 #---------------------------------------------------------------------------
12255 </pythoncode>
12256 <class name="QueryLayoutInfoEvent" oldname="wxQueryLayoutInfoEvent" module="_windows">
12257 <baseclass name="Event"/>
12258 <constructor name="QueryLayoutInfoEvent" overloaded="no">
12259 <autodoc>__init__(self, int id=0) -&gt; QueryLayoutInfoEvent</autodoc>
12260 <paramlist>
12261 <param name="id" type="int" default="0"/>
12262 </paramlist>
12263 </constructor>
12264 <method name="SetRequestedLength" type="" overloaded="no">
12265 <autodoc>SetRequestedLength(self, int length)</autodoc>
12266 <paramlist>
12267 <param name="length" type="int" default=""/>
12268 </paramlist>
12269 </method>
12270 <method name="GetRequestedLength" type="int" overloaded="no">
12271 <autodoc>GetRequestedLength(self) -&gt; int</autodoc>
12272 </method>
12273 <method name="SetFlags" type="" overloaded="no">
12274 <autodoc>SetFlags(self, int flags)</autodoc>
12275 <paramlist>
12276 <param name="flags" type="int" default=""/>
12277 </paramlist>
12278 </method>
12279 <method name="GetFlags" type="int" overloaded="no">
12280 <autodoc>GetFlags(self) -&gt; int</autodoc>
12281 </method>
12282 <method name="SetSize" type="" overloaded="no">
12283 <autodoc>SetSize(self, Size size)</autodoc>
12284 <paramlist>
12285 <param name="size" type="Size" default=""/>
12286 </paramlist>
12287 </method>
12288 <method name="GetSize" type="Size" overloaded="no">
12289 <autodoc>GetSize(self) -&gt; Size</autodoc>
12290 </method>
12291 <method name="SetOrientation" type="" overloaded="no">
12292 <autodoc>SetOrientation(self, int orient)</autodoc>
12293 <paramlist>
12294 <param name="orient" type="wxLayoutOrientation" default=""/>
12295 </paramlist>
12296 </method>
12297 <method name="GetOrientation" type="wxLayoutOrientation" overloaded="no">
12298 <autodoc>GetOrientation(self) -&gt; int</autodoc>
12299 </method>
12300 <method name="SetAlignment" type="" overloaded="no">
12301 <autodoc>SetAlignment(self, int align)</autodoc>
12302 <paramlist>
12303 <param name="align" type="wxLayoutAlignment" default=""/>
12304 </paramlist>
12305 </method>
12306 <method name="GetAlignment" type="wxLayoutAlignment" overloaded="no">
12307 <autodoc>GetAlignment(self) -&gt; int</autodoc>
12308 </method>
12309 </class>
12310 <class name="CalculateLayoutEvent" oldname="wxCalculateLayoutEvent" module="_windows">
12311 <baseclass name="Event"/>
12312 <constructor name="CalculateLayoutEvent" overloaded="no">
12313 <autodoc>__init__(self, int id=0) -&gt; CalculateLayoutEvent</autodoc>
12314 <paramlist>
12315 <param name="id" type="int" default="0"/>
12316 </paramlist>
12317 </constructor>
12318 <method name="SetFlags" type="" overloaded="no">
12319 <autodoc>SetFlags(self, int flags)</autodoc>
12320 <paramlist>
12321 <param name="flags" type="int" default=""/>
12322 </paramlist>
12323 </method>
12324 <method name="GetFlags" type="int" overloaded="no">
12325 <autodoc>GetFlags(self) -&gt; int</autodoc>
12326 </method>
12327 <method name="SetRect" type="" overloaded="no">
12328 <autodoc>SetRect(self, Rect rect)</autodoc>
12329 <paramlist>
12330 <param name="rect" type="Rect" default=""/>
12331 </paramlist>
12332 </method>
12333 <method name="GetRect" type="Rect" overloaded="no">
12334 <autodoc>GetRect(self) -&gt; Rect</autodoc>
12335 </method>
12336 </class>
12337 <pythoncode>
12338 EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO )
12339 EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT )
12340 </pythoncode>
12341 <class name="SashLayoutWindow" oldname="wxSashLayoutWindow" module="_windows">
12342 <baseclass name="SashWindow"/>
12343 <constructor name="SashLayoutWindow" overloaded="no">
12344 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
12345 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
12346 String name=SashLayoutNameStr) -&gt; SashLayoutWindow</autodoc>
12347 <paramlist>
12348 <param name="parent" type="Window" default=""/>
12349 <param name="id" type="int" default="-1"/>
12350 <param name="pos" type="Point" default="wxDefaultPosition"/>
12351 <param name="size" type="Size" default="wxDefaultSize"/>
12352 <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
12353 <param name="name" type="String" default="wxPySashLayoutNameStr"/>
12354 </paramlist>
12355 </constructor>
12356 <constructor name="PreSashLayoutWindow" overloaded="no">
12357 <autodoc>PreSashLayoutWindow() -&gt; SashLayoutWindow</autodoc>
12358 </constructor>
12359 <method name="Create" type="bool" overloaded="no">
12360 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
12361 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
12362 String name=SashLayoutNameStr) -&gt; bool</autodoc>
12363 <paramlist>
12364 <param name="parent" type="Window" default=""/>
12365 <param name="id" type="int" default="-1"/>
12366 <param name="pos" type="Point" default="wxDefaultPosition"/>
12367 <param name="size" type="Size" default="wxDefaultSize"/>
12368 <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
12369 <param name="name" type="String" default="wxPySashLayoutNameStr"/>
12370 </paramlist>
12371 </method>
12372 <method name="GetAlignment" type="wxLayoutAlignment" overloaded="no">
12373 <autodoc>GetAlignment(self) -&gt; int</autodoc>
12374 </method>
12375 <method name="GetOrientation" type="wxLayoutOrientation" overloaded="no">
12376 <autodoc>GetOrientation(self) -&gt; int</autodoc>
12377 </method>
12378 <method name="SetAlignment" type="" overloaded="no">
12379 <autodoc>SetAlignment(self, int alignment)</autodoc>
12380 <paramlist>
12381 <param name="alignment" type="wxLayoutAlignment" default=""/>
12382 </paramlist>
12383 </method>
12384 <method name="SetDefaultSize" type="" overloaded="no">
12385 <autodoc>SetDefaultSize(self, Size size)</autodoc>
12386 <paramlist>
12387 <param name="size" type="Size" default=""/>
12388 </paramlist>
12389 </method>
12390 <method name="SetOrientation" type="" overloaded="no">
12391 <autodoc>SetOrientation(self, int orientation)</autodoc>
12392 <paramlist>
12393 <param name="orientation" type="wxLayoutOrientation" default=""/>
12394 </paramlist>
12395 </method>
12396 </class>
12397 <class name="LayoutAlgorithm" oldname="wxLayoutAlgorithm" module="_windows">
12398 <baseclass name="Object"/>
12399 <constructor name="LayoutAlgorithm" overloaded="no">
12400 <autodoc>__init__(self) -&gt; LayoutAlgorithm</autodoc>
12401 </constructor>
12402 <destructor name="~wxLayoutAlgorithm" overloaded="no">
12403 <autodoc>__del__(self)</autodoc>
12404 </destructor>
12405 <method name="LayoutMDIFrame" type="bool" overloaded="no">
12406 <autodoc>LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -&gt; bool</autodoc>
12407 <paramlist>
12408 <param name="frame" type="wxMDIParentFrame" default=""/>
12409 <param name="rect" type="Rect" default="NULL"/>
12410 </paramlist>
12411 </method>
12412 <method name="LayoutFrame" type="bool" overloaded="no">
12413 <autodoc>LayoutFrame(self, Frame frame, Window mainWindow=None) -&gt; bool</autodoc>
12414 <paramlist>
12415 <param name="frame" type="Frame" default=""/>
12416 <param name="mainWindow" type="Window" default="NULL"/>
12417 </paramlist>
12418 </method>
12419 <method name="LayoutWindow" type="bool" overloaded="no">
12420 <autodoc>LayoutWindow(self, Window parent, Window mainWindow=None) -&gt; bool</autodoc>
12421 <paramlist>
12422 <param name="parent" type="Window" default=""/>
12423 <param name="mainWindow" type="Window" default="NULL"/>
12424 </paramlist>
12425 </method>
12426 </class>
12427 <pythoncode>
12428 #---------------------------------------------------------------------------
12429 </pythoncode>
12430 <class name="PopupWindow" oldname="wxPopupWindow" module="_windows">
12431 <baseclass name="Window"/>
12432 <constructor name="PopupWindow" overloaded="no">
12433 <autodoc>__init__(self, Window parent, int flags=BORDER_NONE) -&gt; PopupWindow</autodoc>
12434 <paramlist>
12435 <param name="parent" type="Window" default=""/>
12436 <param name="flags" type="int" default="wxBORDER_NONE"/>
12437 </paramlist>
12438 </constructor>
12439 <constructor name="PrePopupWindow" overloaded="no">
12440 <autodoc>PrePopupWindow() -&gt; PopupWindow</autodoc>
12441 </constructor>
12442 <method name="Create" type="bool" overloaded="no">
12443 <autodoc>Create(self, Window parent, int flags=BORDER_NONE) -&gt; bool</autodoc>
12444 <paramlist>
12445 <param name="parent" type="Window" default=""/>
12446 <param name="flags" type="int" default="wxBORDER_NONE"/>
12447 </paramlist>
12448 </method>
12449 <method name="Position" type="" overloaded="no">
12450 <autodoc>Position(self, Point ptOrigin, Size size)</autodoc>
12451 <paramlist>
12452 <param name="ptOrigin" type="Point" default=""/>
12453 <param name="size" type="Size" default=""/>
12454 </paramlist>
12455 </method>
12456 </class>
12457 <pythoncode>
12458 #---------------------------------------------------------------------------
12459 </pythoncode>
12460 <class name="PopupTransientWindow" oldname="wxPyPopupTransientWindow" module="_windows">
12461 <baseclass name="PopupWindow"/>
12462 <constructor name="wxPyPopupTransientWindow" overloaded="no">
12463 <autodoc>__init__(self, Window parent, int style=BORDER_NONE) -&gt; PopupTransientWindow</autodoc>
12464 <paramlist>
12465 <param name="parent" type="Window" default=""/>
12466 <param name="style" type="int" default="wxBORDER_NONE"/>
12467 </paramlist>
12468 </constructor>
12469 <constructor name="PrePopupTransientWindow" overloaded="no">
12470 <autodoc>PrePopupTransientWindow() -&gt; PopupTransientWindow</autodoc>
12471 </constructor>
12472 <method name="_setCallbackInfo" type="" overloaded="no">
12473 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
12474 <paramlist>
12475 <param name="self" type="PyObject" default=""/>
12476 <param name="_class" type="PyObject" default=""/>
12477 </paramlist>
12478 </method>
12479 <method name="Popup" type="" overloaded="no">
12480 <autodoc>Popup(self, Window focus=None)</autodoc>
12481 <paramlist>
12482 <param name="focus" type="Window" default="NULL"/>
12483 </paramlist>
12484 </method>
12485 <method name="Dismiss" type="" overloaded="no">
12486 <autodoc>Dismiss(self)</autodoc>
12487 </method>
12488 </class>
12489 <pythoncode>
12490 #---------------------------------------------------------------------------
12491 </pythoncode>
12492 <class name="TipWindow" oldname="wxTipWindow" module="_windows">
12493 <baseclass name="PopupTransientWindow"/>
12494 <constructor name="TipWindow" overloaded="no">
12495 <autodoc>__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -&gt; TipWindow</autodoc>
12496 <paramlist>
12497 <param name="parent" type="Window" default=""/>
12498 <param name="text" type="String" default=""/>
12499 <param name="maxLength" type="int" default="100"/>
12500 <param name="rectBound" type="Rect" default="NULL"/>
12501 </paramlist>
12502 </constructor>
12503 <method name="SetBoundingRect" type="" overloaded="no">
12504 <autodoc>SetBoundingRect(self, Rect rectBound)</autodoc>
12505 <paramlist>
12506 <param name="rectBound" type="Rect" default=""/>
12507 </paramlist>
12508 </method>
12509 <method name="Close" type="" overloaded="no">
12510 <autodoc>Close(self)</autodoc>
12511 </method>
12512 </class>
12513 <pythoncode>
12514 #---------------------------------------------------------------------------
12515 </pythoncode>
12516 <class name="VScrolledWindow" oldname="wxPyVScrolledWindow" module="_windows">
12517 <baseclass name="Panel"/>
12518 <constructor name="wxPyVScrolledWindow" overloaded="no">
12519 <autodoc>__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
12520 Size size=DefaultSize, long style=0, String name=PanelNameStr) -&gt; VScrolledWindow</autodoc>
12521 <paramlist>
12522 <param name="parent" type="Window" default=""/>
12523 <param name="id" type="int" default="wxID_ANY"/>
12524 <param name="pos" type="Point" default="wxDefaultPosition"/>
12525 <param name="size" type="Size" default="wxDefaultSize"/>
12526 <param name="style" type="long" default="0"/>
12527 <param name="name" type="String" default="wxPyPanelNameStr"/>
12528 </paramlist>
12529 </constructor>
12530 <constructor name="PreVScrolledWindow" overloaded="no">
12531 <autodoc>PreVScrolledWindow() -&gt; VScrolledWindow</autodoc>
12532 </constructor>
12533 <method name="_setCallbackInfo" type="" overloaded="no">
12534 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
12535 <paramlist>
12536 <param name="self" type="PyObject" default=""/>
12537 <param name="_class" type="PyObject" default=""/>
12538 </paramlist>
12539 </method>
12540 <method name="Create" type="bool" overloaded="no">
12541 <autodoc>Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
12542 Size size=DefaultSize, long style=0, String name=PanelNameStr) -&gt; bool</autodoc>
12543 <paramlist>
12544 <param name="parent" type="Window" default=""/>
12545 <param name="id" type="int" default="wxID_ANY"/>
12546 <param name="pos" type="Point" default="wxDefaultPosition"/>
12547 <param name="size" type="Size" default="wxDefaultSize"/>
12548 <param name="style" type="long" default="0"/>
12549 <param name="name" type="String" default="wxPyPanelNameStr"/>
12550 </paramlist>
12551 </method>
12552 <method name="SetLineCount" type="" overloaded="no">
12553 <autodoc>SetLineCount(self, size_t count)</autodoc>
12554 <paramlist>
12555 <param name="count" type="size_t" default=""/>
12556 </paramlist>
12557 </method>
12558 <method name="ScrollToLine" type="bool" overloaded="no">
12559 <autodoc>ScrollToLine(self, size_t line) -&gt; bool</autodoc>
12560 <paramlist>
12561 <param name="line" type="size_t" default=""/>
12562 </paramlist>
12563 </method>
12564 <method name="ScrollLines" type="bool" overloaded="no">
12565 <autodoc>ScrollLines(self, int lines) -&gt; bool</autodoc>
12566 <docstring>If the platform and window class supports it, scrolls the window by
12567 the given number of lines down, if lines is positive, or up if lines
12568 is negative. Returns True if the window was scrolled, False if it was
12569 already on top/bottom and nothing was done.</docstring>
12570 <paramlist>
12571 <param name="lines" type="int" default=""/>
12572 </paramlist>
12573 </method>
12574 <method name="ScrollPages" type="bool" overloaded="no">
12575 <autodoc>ScrollPages(self, int pages) -&gt; bool</autodoc>
12576 <docstring>If the platform and window class supports it, scrolls the window by
12577 the given number of pages down, if pages is positive, or up if pages
12578 is negative. Returns True if the window was scrolled, False if it was
12579 already on top/bottom and nothing was done.</docstring>
12580 <paramlist>
12581 <param name="pages" type="int" default=""/>
12582 </paramlist>
12583 </method>
12584 <method name="RefreshLine" type="" overloaded="no">
12585 <autodoc>RefreshLine(self, size_t line)</autodoc>
12586 <paramlist>
12587 <param name="line" type="size_t" default=""/>
12588 </paramlist>
12589 </method>
12590 <method name="RefreshLines" type="" overloaded="no">
12591 <autodoc>RefreshLines(self, size_t from, size_t to)</autodoc>
12592 <paramlist>
12593 <param name="from" type="size_t" default=""/>
12594 <param name="to" type="size_t" default=""/>
12595 </paramlist>
12596 </method>
12597 <method name="HitTestXT" type="int" overloaded="no">
12598 <autodoc>HitTestXT(self, int x, int y) -&gt; int</autodoc>
12599 <docstring>Test where the given (in client coords) point lies</docstring>
12600 <paramlist>
12601 <param name="x" type="int" default=""/>
12602 <param name="y" type="int" default=""/>
12603 </paramlist>
12604 </method>
12605 <method name="HitTest" type="int" overloaded="no">
12606 <autodoc>HitTest(self, Point pt) -&gt; int</autodoc>
12607 <docstring>Test where the given (in client coords) point lies</docstring>
12608 <paramlist>
12609 <param name="pt" type="Point" default=""/>
12610 </paramlist>
12611 </method>
12612 <method name="RefreshAll" type="" overloaded="no">
12613 <autodoc>RefreshAll(self)</autodoc>
12614 </method>
12615 <method name="GetLineCount" type="size_t" overloaded="no">
12616 <autodoc>GetLineCount(self) -&gt; size_t</autodoc>
12617 </method>
12618 <method name="GetFirstVisibleLine" type="size_t" overloaded="no">
12619 <autodoc>GetFirstVisibleLine(self) -&gt; size_t</autodoc>
12620 </method>
12621 <method name="GetLastVisibleLine" type="size_t" overloaded="no">
12622 <autodoc>GetLastVisibleLine(self) -&gt; size_t</autodoc>
12623 </method>
12624 <method name="IsVisible" type="bool" overloaded="no">
12625 <autodoc>IsVisible(self, size_t line) -&gt; bool</autodoc>
12626 <paramlist>
12627 <param name="line" type="size_t" default=""/>
12628 </paramlist>
12629 </method>
12630 </class>
12631 <class name="VListBox" oldname="wxPyVListBox" module="_windows">
12632 <baseclass name="VScrolledWindow"/>
12633 <constructor name="wxPyVListBox" overloaded="no">
12634 <autodoc>__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
12635 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -&gt; VListBox</autodoc>
12636 <paramlist>
12637 <param name="parent" type="Window" default=""/>
12638 <param name="id" type="int" default="wxID_ANY"/>
12639 <param name="pos" type="Point" default="wxDefaultPosition"/>
12640 <param name="size" type="Size" default="wxDefaultSize"/>
12641 <param name="style" type="long" default="0"/>
12642 <param name="name" type="String" default="wxPyVListBoxNameStr"/>
12643 </paramlist>
12644 </constructor>
12645 <constructor name="PreVListBox" overloaded="no">
12646 <autodoc>PreVListBox() -&gt; VListBox</autodoc>
12647 </constructor>
12648 <method name="_setCallbackInfo" type="" overloaded="no">
12649 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
12650 <paramlist>
12651 <param name="self" type="PyObject" default=""/>
12652 <param name="_class" type="PyObject" default=""/>
12653 </paramlist>
12654 </method>
12655 <method name="Create" type="bool" overloaded="no">
12656 <autodoc>Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
12657 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -&gt; bool</autodoc>
12658 <paramlist>
12659 <param name="parent" type="Window" default=""/>
12660 <param name="id" type="int" default="wxID_ANY"/>
12661 <param name="pos" type="Point" default="wxDefaultPosition"/>
12662 <param name="size" type="Size" default="wxDefaultSize"/>
12663 <param name="style" type="long" default="0"/>
12664 <param name="name" type="String" default="wxPyVListBoxNameStr"/>
12665 </paramlist>
12666 </method>
12667 <method name="GetItemCount" type="size_t" overloaded="no">
12668 <autodoc>GetItemCount(self) -&gt; size_t</autodoc>
12669 </method>
12670 <method name="HasMultipleSelection" type="bool" overloaded="no">
12671 <autodoc>HasMultipleSelection(self) -&gt; bool</autodoc>
12672 </method>
12673 <method name="GetSelection" type="int" overloaded="no">
12674 <autodoc>GetSelection(self) -&gt; int</autodoc>
12675 </method>
12676 <method name="IsCurrent" type="bool" overloaded="no">
12677 <autodoc>IsCurrent(self, size_t item) -&gt; bool</autodoc>
12678 <paramlist>
12679 <param name="item" type="size_t" default=""/>
12680 </paramlist>
12681 </method>
12682 <method name="IsSelected" type="bool" overloaded="no">
12683 <autodoc>IsSelected(self, size_t item) -&gt; bool</autodoc>
12684 <paramlist>
12685 <param name="item" type="size_t" default=""/>
12686 </paramlist>
12687 </method>
12688 <method name="GetSelectedCount" type="size_t" overloaded="no">
12689 <autodoc>GetSelectedCount(self) -&gt; size_t</autodoc>
12690 </method>
12691 <method name="GetFirstSelected" type="PyObject" overloaded="no">
12692 <autodoc>GetFirstSelected(self) -&gt; PyObject</autodoc>
12693 </method>
12694 <method name="GetNextSelected" type="PyObject" overloaded="no">
12695 <autodoc>GetNextSelected(self, unsigned long cookie) -&gt; PyObject</autodoc>
12696 <paramlist>
12697 <param name="cookie" type="unsigned long" default=""/>
12698 </paramlist>
12699 </method>
12700 <method name="GetMargins" type="Point" overloaded="no">
12701 <autodoc>GetMargins(self) -&gt; Point</autodoc>
12702 </method>
12703 <method name="GetSelectionBackground" type="Colour" overloaded="no">
12704 <autodoc>GetSelectionBackground(self) -&gt; Colour</autodoc>
12705 </method>
12706 <method name="SetItemCount" type="" overloaded="no">
12707 <autodoc>SetItemCount(self, size_t count)</autodoc>
12708 <paramlist>
12709 <param name="count" type="size_t" default=""/>
12710 </paramlist>
12711 </method>
12712 <method name="Clear" type="" overloaded="no">
12713 <autodoc>Clear(self)</autodoc>
12714 </method>
12715 <method name="SetSelection" type="" overloaded="no">
12716 <autodoc>SetSelection(self, int selection)</autodoc>
12717 <paramlist>
12718 <param name="selection" type="int" default=""/>
12719 </paramlist>
12720 </method>
12721 <method name="Select" type="bool" overloaded="no">
12722 <autodoc>Select(self, size_t item, bool select=True) -&gt; bool</autodoc>
12723 <paramlist>
12724 <param name="item" type="size_t" default=""/>
12725 <param name="select" type="bool" default="True"/>
12726 </paramlist>
12727 </method>
12728 <method name="SelectRange" type="bool" overloaded="no">
12729 <autodoc>SelectRange(self, size_t from, size_t to) -&gt; bool</autodoc>
12730 <paramlist>
12731 <param name="from" type="size_t" default=""/>
12732 <param name="to" type="size_t" default=""/>
12733 </paramlist>
12734 </method>
12735 <method name="Toggle" type="" overloaded="no">
12736 <autodoc>Toggle(self, size_t item)</autodoc>
12737 <paramlist>
12738 <param name="item" type="size_t" default=""/>
12739 </paramlist>
12740 </method>
12741 <method name="SelectAll" type="bool" overloaded="no">
12742 <autodoc>SelectAll(self) -&gt; bool</autodoc>
12743 </method>
12744 <method name="DeselectAll" type="bool" overloaded="no">
12745 <autodoc>DeselectAll(self) -&gt; bool</autodoc>
12746 </method>
12747 <method name="SetMargins" type="" overloaded="no">
12748 <autodoc>SetMargins(self, Point pt)</autodoc>
12749 <paramlist>
12750 <param name="pt" type="Point" default=""/>
12751 </paramlist>
12752 </method>
12753 <method name="SetMarginsXY" type="" overloaded="no">
12754 <autodoc>SetMarginsXY(self, int x, int y)</autodoc>
12755 <paramlist>
12756 <param name="x" type="int" default=""/>
12757 <param name="y" type="int" default=""/>
12758 </paramlist>
12759 </method>
12760 <method name="SetSelectionBackground" type="" overloaded="no">
12761 <autodoc>SetSelectionBackground(self, Colour col)</autodoc>
12762 <paramlist>
12763 <param name="col" type="Colour" default=""/>
12764 </paramlist>
12765 </method>
12766 </class>
12767 <class name="HtmlListBox" oldname="wxPyHtmlListBox" module="_windows">
12768 <baseclass name="VListBox"/>
12769 <constructor name="wxPyHtmlListBox" overloaded="no">
12770 <autodoc>__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
12771 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -&gt; HtmlListBox</autodoc>
12772 <paramlist>
12773 <param name="parent" type="Window" default=""/>
12774 <param name="id" type="int" default="wxID_ANY"/>
12775 <param name="pos" type="Point" default="wxDefaultPosition"/>
12776 <param name="size" type="Size" default="wxDefaultSize"/>
12777 <param name="style" type="long" default="0"/>
12778 <param name="name" type="String" default="wxPyVListBoxNameStr"/>
12779 </paramlist>
12780 </constructor>
12781 <constructor name="PreHtmlListBox" overloaded="no">
12782 <autodoc>PreHtmlListBox() -&gt; HtmlListBox</autodoc>
12783 </constructor>
12784 <method name="_setCallbackInfo" type="" overloaded="no">
12785 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
12786 <paramlist>
12787 <param name="self" type="PyObject" default=""/>
12788 <param name="_class" type="PyObject" default=""/>
12789 </paramlist>
12790 </method>
12791 <method name="Create" type="bool" overloaded="no">
12792 <autodoc>Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
12793 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -&gt; bool</autodoc>
12794 <paramlist>
12795 <param name="parent" type="Window" default=""/>
12796 <param name="id" type="int" default="wxID_ANY"/>
12797 <param name="pos" type="Point" default="wxDefaultPosition"/>
12798 <param name="size" type="Size" default="wxDefaultSize"/>
12799 <param name="style" type="long" default="0"/>
12800 <param name="name" type="String" default="wxPyVListBoxNameStr"/>
12801 </paramlist>
12802 </method>
12803 <method name="RefreshAll" type="" overloaded="no">
12804 <autodoc>RefreshAll(self)</autodoc>
12805 </method>
12806 <method name="SetItemCount" type="" overloaded="no">
12807 <autodoc>SetItemCount(self, size_t count)</autodoc>
12808 <paramlist>
12809 <param name="count" type="size_t" default=""/>
12810 </paramlist>
12811 </method>
12812 <method name="GetFileSystem" type="FileSystem" overloaded="no">
12813 <autodoc>GetFileSystem(self) -&gt; FileSystem</autodoc>
12814 </method>
12815 </class>
12816 <pythoncode>
12817 #---------------------------------------------------------------------------
12818 </pythoncode>
12819 <class name="TaskBarIcon" oldname="wxTaskBarIcon" module="_windows">
12820 <baseclass name="EvtHandler"/>
12821 <constructor name="TaskBarIcon" overloaded="no">
12822 <autodoc>__init__(self) -&gt; TaskBarIcon</autodoc>
12823 </constructor>
12824 <destructor name="~wxTaskBarIcon" overloaded="no">
12825 <autodoc>__del__(self)</autodoc>
12826 </destructor>
12827 <method name="Destroy" type="" overloaded="no">
12828 <autodoc>Destroy(self)</autodoc>
12829 <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
12830 </method>
12831 <method name="IsOk" type="bool" overloaded="no">
12832 <autodoc>IsOk(self) -&gt; bool</autodoc>
12833 </method>
12834 <method name="IsIconInstalled" type="bool" overloaded="no">
12835 <autodoc>IsIconInstalled(self) -&gt; bool</autodoc>
12836 </method>
12837 <method name="SetIcon" type="bool" overloaded="no">
12838 <autodoc>SetIcon(self, Icon icon, String tooltip=EmptyString) -&gt; bool</autodoc>
12839 <paramlist>
12840 <param name="icon" type="Icon" default=""/>
12841 <param name="tooltip" type="String" default="wxPyEmptyString"/>
12842 </paramlist>
12843 </method>
12844 <method name="RemoveIcon" type="bool" overloaded="no">
12845 <autodoc>RemoveIcon(self) -&gt; bool</autodoc>
12846 </method>
12847 <method name="PopupMenu" type="bool" overloaded="no">
12848 <autodoc>PopupMenu(self, Menu menu) -&gt; bool</autodoc>
12849 <paramlist>
12850 <param name="menu" type="Menu" default=""/>
12851 </paramlist>
12852 </method>
12853 </class>
12854 <class name="TaskBarIconEvent" oldname="wxTaskBarIconEvent" module="_windows">
12855 <baseclass name="Event"/>
12856 <constructor name="TaskBarIconEvent" overloaded="no">
12857 <autodoc>__init__(self, wxEventType evtType, TaskBarIcon tbIcon) -&gt; TaskBarIconEvent</autodoc>
12858 <paramlist>
12859 <param name="evtType" type="wxEventType" default=""/>
12860 <param name="tbIcon" type="TaskBarIcon" default=""/>
12861 </paramlist>
12862 </constructor>
12863 </class>
12864 <pythoncode>
12865 EVT_TASKBAR_MOVE = wx.PyEventBinder ( wxEVT_TASKBAR_MOVE )
12866 EVT_TASKBAR_LEFT_DOWN = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN )
12867 EVT_TASKBAR_LEFT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP )
12868 EVT_TASKBAR_RIGHT_DOWN = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN )
12869 EVT_TASKBAR_RIGHT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP )
12870 EVT_TASKBAR_LEFT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK )
12871 EVT_TASKBAR_RIGHT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK )
12872 </pythoncode>
12873 <pythoncode>
12874 #---------------------------------------------------------------------------
12875 </pythoncode>
12876 <class name="ColourData" oldname="wxColourData" module="_windows">
12877 <docstring>This class holds a variety of information related to the colour
12878 chooser dialog, used to transfer settings and results to and from the
12879 `wx.ColourDialog`.</docstring>
12880 <baseclass name="Object"/>
12881 <constructor name="ColourData" overloaded="no">
12882 <autodoc>__init__(self) -&gt; ColourData</autodoc>
12883 <docstring>Constructor, sets default values.</docstring>
12884 </constructor>
12885 <destructor name="~wxColourData" overloaded="no">
12886 <autodoc>__del__(self)</autodoc>
12887 </destructor>
12888 <method name="GetChooseFull" type="bool" overloaded="no">
12889 <autodoc>GetChooseFull(self) -&gt; bool</autodoc>
12890 <docstring>Under Windows, determines whether the Windows colour dialog will
12891 display the full dialog with custom colour selection controls. Has no
12892 meaning under other platforms. The default value is true.</docstring>
12893 </method>
12894 <method name="GetColour" type="Colour" overloaded="no">
12895 <autodoc>GetColour(self) -&gt; Colour</autodoc>
12896 <docstring>Gets the colour (pre)selected by the dialog.</docstring>
12897 </method>
12898 <method name="GetCustomColour" type="Colour" overloaded="no">
12899 <autodoc>GetCustomColour(self, int i) -&gt; Colour</autodoc>
12900 <docstring>Gets the i'th custom colour associated with the colour dialog. i
12901 should be an integer between 0 and 15. The default custom colours are
12902 all invalid colours.</docstring>
12903 <paramlist>
12904 <param name="i" type="int" default=""/>
12905 </paramlist>
12906 </method>
12907 <method name="SetChooseFull" type="" overloaded="no">
12908 <autodoc>SetChooseFull(self, int flag)</autodoc>
12909 <docstring>Under Windows, tells the Windows colour dialog to display the full
12910 dialog with custom colour selection controls. Under other platforms,
12911 has no effect. The default value is true.</docstring>
12912 <paramlist>
12913 <param name="flag" type="int" default=""/>
12914 </paramlist>
12915 </method>
12916 <method name="SetColour" type="" overloaded="no">
12917 <autodoc>SetColour(self, Colour colour)</autodoc>
12918 <docstring>Sets the default colour for the colour dialog. The default colour is
12919 black.</docstring>
12920 <paramlist>
12921 <param name="colour" type="Colour" default=""/>
12922 </paramlist>
12923 </method>
12924 <method name="SetCustomColour" type="" overloaded="no">
12925 <autodoc>SetCustomColour(self, int i, Colour colour)</autodoc>
12926 <docstring>Sets the i'th custom colour for the colour dialog. i should be an
12927 integer between 0 and 15. The default custom colours are all invalid colours.</docstring>
12928 <paramlist>
12929 <param name="i" type="int" default=""/>
12930 <param name="colour" type="Colour" default=""/>
12931 </paramlist>
12932 </method>
12933 </class>
12934 <class name="ColourDialog" oldname="wxColourDialog" module="_windows">
12935 <docstring>This class represents the colour chooser dialog.</docstring>
12936 <baseclass name="Dialog"/>
12937 <constructor name="ColourDialog" overloaded="no">
12938 <autodoc>__init__(self, Window parent, ColourData data=None) -&gt; ColourDialog</autodoc>
12939 <docstring>Constructor. Pass a parent window, and optionally a `wx.ColourData`,
12940 which will be copied to the colour dialog's internal ColourData
12941 instance.</docstring>
12942 <paramlist>
12943 <param name="parent" type="Window" default=""/>
12944 <param name="data" type="ColourData" default="NULL"/>
12945 </paramlist>
12946 </constructor>
12947 <method name="GetColourData" type="ColourData" overloaded="no">
12948 <autodoc>GetColourData(self) -&gt; ColourData</autodoc>
12949 <docstring>Returns a reference to the `wx.ColourData` used by the dialog.</docstring>
12950 </method>
12951 </class>
12952 <class name="DirDialog" oldname="wxDirDialog" module="_windows">
12953 <docstring>wx.DirDialog allows the user to select a directory by browising the
12954 file system.</docstring>
12955 <baseclass name="Dialog"/>
12956 <constructor name="DirDialog" overloaded="no">
12957 <autodoc>__init__(self, Window parent, String message=DirSelectorPromptStr,
12958 String defaultPath=EmptyString, long style=0,
12959 Point pos=DefaultPosition, Size size=DefaultSize,
12960 String name=DirDialogNameStr) -&gt; DirDialog</autodoc>
12961 <docstring>Constructor. Use ShowModal method to show the dialog.</docstring>
12962 <paramlist>
12963 <param name="parent" type="Window" default=""/>
12964 <param name="message" type="String" default="wxPyDirSelectorPromptStr"/>
12965 <param name="defaultPath" type="String" default="wxPyEmptyString"/>
12966 <param name="style" type="long" default="0"/>
12967 <param name="pos" type="Point" default="wxDefaultPosition"/>
12968 <param name="size" type="Size" default="wxDefaultSize"/>
12969 <param name="name" type="String" default="wxPyDirDialogNameStr"/>
12970 </paramlist>
12971 </constructor>
12972 <method name="GetPath" type="String" overloaded="no">
12973 <autodoc>GetPath(self) -&gt; String</autodoc>
12974 <docstring>Returns the default or user-selected path.</docstring>
12975 </method>
12976 <method name="GetMessage" type="String" overloaded="no">
12977 <autodoc>GetMessage(self) -&gt; String</autodoc>
12978 <docstring>Returns the message that will be displayed on the dialog.</docstring>
12979 </method>
12980 <method name="GetStyle" type="long" overloaded="no">
12981 <autodoc>GetStyle(self) -&gt; long</autodoc>
12982 <docstring>Returns the dialog style.</docstring>
12983 </method>
12984 <method name="SetMessage" type="" overloaded="no">
12985 <autodoc>SetMessage(self, String message)</autodoc>
12986 <docstring>Sets the message that will be displayed on the dialog.</docstring>
12987 <paramlist>
12988 <param name="message" type="String" default=""/>
12989 </paramlist>
12990 </method>
12991 <method name="SetPath" type="" overloaded="no">
12992 <autodoc>SetPath(self, String path)</autodoc>
12993 <docstring>Sets the default path.</docstring>
12994 <paramlist>
12995 <param name="path" type="String" default=""/>
12996 </paramlist>
12997 </method>
12998 </class>
12999 <class name="FileDialog" oldname="wxFileDialog" module="_windows">
13000 <docstring>wx.FileDialog allows the user to select one or more files from the
13001 filesystem.</docstring>
13002 <baseclass name="Dialog"/>
13003 <constructor name="FileDialog" overloaded="no">
13004 <autodoc>__init__(self, Window parent, String message=FileSelectorPromptStr,
13005 String defaultDir=EmptyString, String defaultFile=EmptyString,
13006 String wildcard=FileSelectorDefaultWildcardStr,
13007 long style=0, Point pos=DefaultPosition) -&gt; FileDialog</autodoc>
13008 <docstring>Constructor. Use ShowModal method to show the dialog.</docstring>
13009 <paramlist>
13010 <param name="parent" type="Window" default=""/>
13011 <param name="message" type="String" default="wxPyFileSelectorPromptStr"/>
13012 <param name="defaultDir" type="String" default="wxPyEmptyString"/>
13013 <param name="defaultFile" type="String" default="wxPyEmptyString"/>
13014 <param name="wildcard" type="String" default="wxPyFileSelectorDefaultWildcardStr"/>
13015 <param name="style" type="long" default="0"/>
13016 <param name="pos" type="Point" default="wxDefaultPosition"/>
13017 </paramlist>
13018 </constructor>
13019 <method name="SetMessage" type="" overloaded="no">
13020 <autodoc>SetMessage(self, String message)</autodoc>
13021 <docstring>Sets the message that will be displayed on the dialog.</docstring>
13022 <paramlist>
13023 <param name="message" type="String" default=""/>
13024 </paramlist>
13025 </method>
13026 <method name="SetPath" type="" overloaded="no">
13027 <autodoc>SetPath(self, String path)</autodoc>
13028 <docstring>Sets the path (the combined directory and filename that will be
13029 returned when the dialog is dismissed).</docstring>
13030 <paramlist>
13031 <param name="path" type="String" default=""/>
13032 </paramlist>
13033 </method>
13034 <method name="SetDirectory" type="" overloaded="no">
13035 <autodoc>SetDirectory(self, String dir)</autodoc>
13036 <docstring>Sets the default directory.</docstring>
13037 <paramlist>
13038 <param name="dir" type="String" default=""/>
13039 </paramlist>
13040 </method>
13041 <method name="SetFilename" type="" overloaded="no">
13042 <autodoc>SetFilename(self, String name)</autodoc>
13043 <docstring>Sets the default filename.</docstring>
13044 <paramlist>
13045 <param name="name" type="String" default=""/>
13046 </paramlist>
13047 </method>
13048 <method name="SetWildcard" type="" overloaded="no">
13049 <autodoc>SetWildcard(self, String wildCard)</autodoc>
13050 <docstring>Sets the wildcard, which can contain multiple file types, for
13051 example::
13052
13053 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
13054 </docstring>
13055 <paramlist>
13056 <param name="wildCard" type="String" default=""/>
13057 </paramlist>
13058 </method>
13059 <method name="SetStyle" type="" overloaded="no">
13060 <autodoc>SetStyle(self, long style)</autodoc>
13061 <docstring>Sets the dialog style.</docstring>
13062 <paramlist>
13063 <param name="style" type="long" default=""/>
13064 </paramlist>
13065 </method>
13066 <method name="SetFilterIndex" type="" overloaded="no">
13067 <autodoc>SetFilterIndex(self, int filterIndex)</autodoc>
13068 <docstring>Sets the default filter index, starting from zero.</docstring>
13069 <paramlist>
13070 <param name="filterIndex" type="int" default=""/>
13071 </paramlist>
13072 </method>
13073 <method name="GetMessage" type="String" overloaded="no">
13074 <autodoc>GetMessage(self) -&gt; String</autodoc>
13075 <docstring>Returns the message that will be displayed on the dialog.</docstring>
13076 </method>
13077 <method name="GetPath" type="String" overloaded="no">
13078 <autodoc>GetPath(self) -&gt; String</autodoc>
13079 <docstring>Returns the full path (directory and filename) of the selected file.</docstring>
13080 </method>
13081 <method name="GetDirectory" type="String" overloaded="no">
13082 <autodoc>GetDirectory(self) -&gt; String</autodoc>
13083 <docstring>Returns the default directory.</docstring>
13084 </method>
13085 <method name="GetFilename" type="String" overloaded="no">
13086 <autodoc>GetFilename(self) -&gt; String</autodoc>
13087 <docstring>Returns the default filename.</docstring>
13088 </method>
13089 <method name="GetWildcard" type="String" overloaded="no">
13090 <autodoc>GetWildcard(self) -&gt; String</autodoc>
13091 <docstring>Returns the file dialog wildcard.</docstring>
13092 </method>
13093 <method name="GetStyle" type="long" overloaded="no">
13094 <autodoc>GetStyle(self) -&gt; long</autodoc>
13095 <docstring>Returns the dialog style.</docstring>
13096 </method>
13097 <method name="GetFilterIndex" type="int" overloaded="no">
13098 <autodoc>GetFilterIndex(self) -&gt; int</autodoc>
13099 <docstring>Returns the index into the list of filters supplied, optionally, in
13100 the wildcard parameter. Before the dialog is shown, this is the index
13101 which will be used when the dialog is first displayed. After the
13102 dialog is shown, this is the index selected by the user.</docstring>
13103 </method>
13104 <method name="GetFilenames" type="PyObject" overloaded="no">
13105 <autodoc>GetFilenames(self) -&gt; PyObject</autodoc>
13106 <docstring>Returns a list of filenames chosen in the dialog. This function
13107 should only be used with the dialogs which have wx.MULTIPLE style, use
13108 GetFilename for the others.</docstring>
13109 </method>
13110 <method name="GetPaths" type="PyObject" overloaded="no">
13111 <autodoc>GetPaths(self) -&gt; PyObject</autodoc>
13112 <docstring>Fills the array paths with the full paths of the files chosen. This
13113 function should only be used with the dialogs which have wx.MULTIPLE
13114 style, use GetPath for the others.</docstring>
13115 </method>
13116 </class>
13117 <class name="MultiChoiceDialog" oldname="wxMultiChoiceDialog" module="_windows">
13118 <docstring>A simple dialog with a multi selection listbox.</docstring>
13119 <baseclass name="Dialog"/>
13120 <constructor name="MultiChoiceDialog" overloaded="no">
13121 <autodoc>__init__(Window parent, String message, String caption,
13122 List choices=[], long style=CHOICEDLG_STYLE,
13123 Point pos=DefaultPosition) -&gt; MultiChoiceDialog</autodoc>
13124 <docstring>Constructor. Use ShowModal method to show the dialog.</docstring>
13125 <paramlist>
13126 <param name="parent" type="Window" default=""/>
13127 <param name="message" type="String" default=""/>
13128 <param name="caption" type="String" default=""/>
13129 <param name="choices" type="int" default="0"/>
13130 <param name="choices_array" type="String" default="NULL"/>
13131 <param name="style" type="long" default="wxCHOICEDLG_STYLE"/>
13132 <param name="pos" type="Point" default="wxDefaultPosition"/>
13133 </paramlist>
13134 </constructor>
13135 <method name="SetSelections" type="" overloaded="no">
13136 <autodoc>SetSelections(List selections)</autodoc>
13137 <paramlist>
13138 <param name="selections" type="wxArrayInt" default=""/>
13139 </paramlist>
13140 </method>
13141 <method name="GetSelections" type="PyObject" overloaded="no">
13142 <autodoc>GetSelections() -&gt; [selections]</autodoc>
13143 <docstring>Returns a list of integers representing the items that are selected.</docstring>
13144 </method>
13145 </class>
13146 <class name="SingleChoiceDialog" oldname="wxSingleChoiceDialog" module="_windows">
13147 <docstring>A simple dialog with a single selection listbox.</docstring>
13148 <baseclass name="Dialog"/>
13149 <constructor name="SingleChoiceDialog" overloaded="no">
13150 <autodoc>__init__(Window parent, String message, String caption,
13151 List choices=[], long style=CHOICEDLG_STYLE,
13152 Point pos=DefaultPosition) -&gt; SingleChoiceDialog</autodoc>
13153 <docstring>Constructor. Use ShowModal method to show the dialog.</docstring>
13154 <paramlist>
13155 <param name="parent" type="Window" default=""/>
13156 <param name="message" type="String" default=""/>
13157 <param name="caption" type="String" default=""/>
13158 <param name="choices" type="int" default=""/>
13159 <param name="choices_array" type="String" default=""/>
13160 <param name="style" type="long" default="wxCHOICEDLG_STYLE"/>
13161 <param name="pos" type="Point" default="wxDefaultPosition"/>
13162 </paramlist>
13163 </constructor>
13164 <method name="GetSelection" type="int" overloaded="no">
13165 <autodoc>GetSelection(self) -&gt; int</autodoc>
13166 <docstring>Get the index of teh currently selected item.</docstring>
13167 </method>
13168 <method name="GetStringSelection" type="String" overloaded="no">
13169 <autodoc>GetStringSelection(self) -&gt; String</autodoc>
13170 <docstring>Returns the string value of the currently selected item</docstring>
13171 </method>
13172 <method name="SetSelection" type="" overloaded="no">
13173 <autodoc>SetSelection(self, int sel)</autodoc>
13174 <docstring>Set the current selected item to sel</docstring>
13175 <paramlist>
13176 <param name="sel" type="int" default=""/>
13177 </paramlist>
13178 </method>
13179 </class>
13180 <class name="TextEntryDialog" oldname="wxTextEntryDialog" module="_windows">
13181 <docstring>A dialog with text control, [ok] and [cancel] buttons</docstring>
13182 <baseclass name="Dialog"/>
13183 <constructor name="TextEntryDialog" overloaded="no">
13184 <autodoc>__init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
13185 String defaultValue=EmptyString,
13186 long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -&gt; TextEntryDialog</autodoc>
13187 <docstring>Constructor. Use ShowModal method to show the dialog.</docstring>
13188 <paramlist>
13189 <param name="parent" type="Window" default=""/>
13190 <param name="message" type="String" default=""/>
13191 <param name="caption" type="String" default="wxPyGetTextFromUserPromptStr"/>
13192 <param name="defaultValue" type="String" default="wxPyEmptyString"/>
13193 <param name="style" type="long" default="wxOK|wxCANCEL|wxCENTRE"/>
13194 <param name="pos" type="Point" default="wxDefaultPosition"/>
13195 </paramlist>
13196 </constructor>
13197 <method name="GetValue" type="String" overloaded="no">
13198 <autodoc>GetValue(self) -&gt; String</autodoc>
13199 <docstring>Returns the text that the user has entered if the user has pressed OK,
13200 or the original value if the user has pressed Cancel.</docstring>
13201 </method>
13202 <method name="SetValue" type="" overloaded="no">
13203 <autodoc>SetValue(self, String value)</autodoc>
13204 <docstring>Sets the default text value.</docstring>
13205 <paramlist>
13206 <param name="value" type="String" default=""/>
13207 </paramlist>
13208 </method>
13209 </class>
13210 <class name="FontData" oldname="wxFontData" module="_windows">
13211 <docstring>This class holds a variety of information related to font dialogs and
13212 is used to transfer settings to and results from a `wx.FontDialog`.</docstring>
13213 <baseclass name="Object"/>
13214 <constructor name="FontData" overloaded="no">
13215 <autodoc>__init__(self) -&gt; FontData</autodoc>
13216 <docstring>This class holds a variety of information related to font dialogs and
13217 is used to transfer settings to and results from a `wx.FontDialog`.</docstring>
13218 </constructor>
13219 <destructor name="~wxFontData" overloaded="no">
13220 <autodoc>__del__(self)</autodoc>
13221 </destructor>
13222 <method name="EnableEffects" type="" overloaded="no">
13223 <autodoc>EnableEffects(self, bool enable)</autodoc>
13224 <docstring>Enables or disables 'effects' under MS Windows only. This refers to
13225 the controls for manipulating colour, strikeout and underline
13226 properties. The default value is true.</docstring>
13227 <paramlist>
13228 <param name="enable" type="bool" default=""/>
13229 </paramlist>
13230 </method>
13231 <method name="GetAllowSymbols" type="bool" overloaded="no">
13232 <autodoc>GetAllowSymbols(self) -&gt; bool</autodoc>
13233 <docstring>Under MS Windows, returns a flag determining whether symbol fonts can
13234 be selected. Has no effect on other platforms. The default value is
13235 true.</docstring>
13236 </method>
13237 <method name="GetColour" type="Colour" overloaded="no">
13238 <autodoc>GetColour(self) -&gt; Colour</autodoc>
13239 <docstring>Gets the colour associated with the font dialog. The default value is
13240 black.</docstring>
13241 </method>
13242 <method name="GetChosenFont" type="Font" overloaded="no">
13243 <autodoc>GetChosenFont(self) -&gt; Font</autodoc>
13244 <docstring>Gets the font chosen by the user.</docstring>
13245 </method>
13246 <method name="GetEnableEffects" type="bool" overloaded="no">
13247 <autodoc>GetEnableEffects(self) -&gt; bool</autodoc>
13248 <docstring>Determines whether 'effects' are enabled under Windows.</docstring>
13249 </method>
13250 <method name="GetInitialFont" type="Font" overloaded="no">
13251 <autodoc>GetInitialFont(self) -&gt; Font</autodoc>
13252 <docstring>Gets the font that will be initially used by the font dialog. This
13253 should have previously been set by the application.</docstring>
13254 </method>
13255 <method name="GetShowHelp" type="bool" overloaded="no">
13256 <autodoc>GetShowHelp(self) -&gt; bool</autodoc>
13257 <docstring>Returns true if the Help button will be shown (Windows only). The
13258 default value is false.</docstring>
13259 </method>
13260 <method name="SetAllowSymbols" type="" overloaded="no">
13261 <autodoc>SetAllowSymbols(self, bool allowSymbols)</autodoc>
13262 <docstring>Under MS Windows, determines whether symbol fonts can be selected. Has
13263 no effect on other platforms. The default value is true.</docstring>
13264 <paramlist>
13265 <param name="allowSymbols" type="bool" default=""/>
13266 </paramlist>
13267 </method>
13268 <method name="SetChosenFont" type="" overloaded="no">
13269 <autodoc>SetChosenFont(self, Font font)</autodoc>
13270 <docstring>Sets the font that will be returned to the user (normally for internal
13271 use only).</docstring>
13272 <paramlist>
13273 <param name="font" type="Font" default=""/>
13274 </paramlist>
13275 </method>
13276 <method name="SetColour" type="" overloaded="no">
13277 <autodoc>SetColour(self, Colour colour)</autodoc>
13278 <docstring>Sets the colour that will be used for the font foreground colour. The
13279 default colour is black.</docstring>
13280 <paramlist>
13281 <param name="colour" type="Colour" default=""/>
13282 </paramlist>
13283 </method>
13284 <method name="SetInitialFont" type="" overloaded="no">
13285 <autodoc>SetInitialFont(self, Font font)</autodoc>
13286 <docstring>Sets the font that will be initially used by the font dialog.</docstring>
13287 <paramlist>
13288 <param name="font" type="Font" default=""/>
13289 </paramlist>
13290 </method>
13291 <method name="SetRange" type="" overloaded="no">
13292 <autodoc>SetRange(self, int min, int max)</autodoc>
13293 <docstring>Sets the valid range for the font point size (Windows only). The
13294 default is 0, 0 (unrestricted range).</docstring>
13295 <paramlist>
13296 <param name="min" type="int" default=""/>
13297 <param name="max" type="int" default=""/>
13298 </paramlist>
13299 </method>
13300 <method name="SetShowHelp" type="" overloaded="no">
13301 <autodoc>SetShowHelp(self, bool showHelp)</autodoc>
13302 <docstring>Determines whether the Help button will be displayed in the font
13303 dialog (Windows only). The default value is false.</docstring>
13304 <paramlist>
13305 <param name="showHelp" type="bool" default=""/>
13306 </paramlist>
13307 </method>
13308 </class>
13309 <class name="FontDialog" oldname="wxFontDialog" module="_windows">
13310 <docstring>wx.FontDialog allows the user to select a system font and its attributes.
13311
13312 :see: `wx.FontData`
13313 </docstring>
13314 <baseclass name="Dialog"/>
13315 <constructor name="FontDialog" overloaded="no">
13316 <autodoc>__init__(self, Window parent, FontData data) -&gt; FontDialog</autodoc>
13317 <docstring>Constructor. Pass a parent window and the `wx.FontData` object to be
13318 used to initialize the dialog controls. Call `ShowModal` to display
13319 the dialog. If ShowModal returns ``wx.ID_OK`` then you can fetch the
13320 results with via the `wx.FontData` returned by `GetFontData`.</docstring>
13321 <paramlist>
13322 <param name="parent" type="Window" default=""/>
13323 <param name="data" type="FontData" default=""/>
13324 </paramlist>
13325 </constructor>
13326 <method name="GetFontData" type="FontData" overloaded="no">
13327 <autodoc>GetFontData(self) -&gt; FontData</autodoc>
13328 <docstring>Returns a reference to the internal `wx.FontData` used by the
13329 wx.FontDialog.</docstring>
13330 </method>
13331 </class>
13332 <class name="MessageDialog" oldname="wxMessageDialog" module="_windows">
13333 <docstring>This class provides a simple dialog that shows a single or multi-line
13334 message, with a choice of OK, Yes, No and/or Cancel buttons.</docstring>
13335 <baseclass name="Dialog"/>
13336 <constructor name="MessageDialog" overloaded="no">
13337 <autodoc>__init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
13338 long style=wxOK|wxCANCEL|wxCENTRE,
13339 Point pos=DefaultPosition) -&gt; MessageDialog</autodoc>
13340 <docstring>Constructor, use `ShowModal` to display the dialog.</docstring>
13341 <paramlist>
13342 <param name="parent" type="Window" default=""/>
13343 <param name="message" type="String" default=""/>
13344 <param name="caption" type="String" default="wxPyMessageBoxCaptionStr"/>
13345 <param name="style" type="long" default="wxOK|wxCANCEL|wxCENTRE"/>
13346 <param name="pos" type="Point" default="wxDefaultPosition"/>
13347 </paramlist>
13348 </constructor>
13349 </class>
13350 <class name="ProgressDialog" oldname="wxProgressDialog" module="_windows">
13351 <docstring>A dialog that shows a short message and a progress bar. Optionally, it
13352 can display an ABORT button.</docstring>
13353 <baseclass name="Frame"/>
13354 <constructor name="ProgressDialog" overloaded="no">
13355 <autodoc>__init__(self, String title, String message, int maximum=100, Window parent=None,
13356 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -&gt; ProgressDialog</autodoc>
13357 <docstring>Constructor. Creates the dialog, displays it and disables user input
13358 for other windows, or, if wx.PD_APP_MODAL flag is not given, for its
13359 parent window only.</docstring>
13360 <paramlist>
13361 <param name="title" type="String" default=""/>
13362 <param name="message" type="String" default=""/>
13363 <param name="maximum" type="int" default="100"/>
13364 <param name="parent" type="Window" default="NULL"/>
13365 <param name="style" type="int" default="wxPD_AUTO_HIDE|wxPD_APP_MODAL"/>
13366 </paramlist>
13367 </constructor>
13368 <method name="Update" type="bool" overloaded="no">
13369 <autodoc>Update(self, int value, String newmsg=EmptyString) -&gt; bool</autodoc>
13370 <docstring>Updates the dialog, setting the progress bar to the new value and, if
13371 given changes the message above it. Returns true unless the Cancel
13372 button has been pressed.
13373
13374 If false is returned, the application can either immediately destroy
13375 the dialog or ask the user for the confirmation and if the abort is
13376 not confirmed the dialog may be resumed with Resume function.</docstring>
13377 <paramlist>
13378 <param name="value" type="int" default=""/>
13379 <param name="newmsg" type="String" default="wxPyEmptyString"/>
13380 </paramlist>
13381 </method>
13382 <method name="Resume" type="" overloaded="no">
13383 <autodoc>Resume(self)</autodoc>
13384 <docstring>Can be used to continue with the dialog, after the user had chosen to
13385 abort.</docstring>
13386 </method>
13387 </class>
13388 <pythoncode>
13389 EVT_FIND = wx.PyEventBinder( wxEVT_COMMAND_FIND, 1 )
13390 EVT_FIND_NEXT = wx.PyEventBinder( wxEVT_COMMAND_FIND_NEXT, 1 )
13391 EVT_FIND_REPLACE = wx.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE, 1 )
13392 EVT_FIND_REPLACE_ALL = wx.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL, 1 )
13393 EVT_FIND_CLOSE = wx.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE, 1 )
13394
13395 # For backwards compatibility. Should they be removed?
13396 EVT_COMMAND_FIND = EVT_FIND
13397 EVT_COMMAND_FIND_NEXT = EVT_FIND_NEXT
13398 EVT_COMMAND_FIND_REPLACE = EVT_FIND_REPLACE
13399 EVT_COMMAND_FIND_REPLACE_ALL = EVT_FIND_REPLACE_ALL
13400 EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE
13401 </pythoncode>
13402 <class name="FindDialogEvent" oldname="wxFindDialogEvent" module="_windows">
13403 <docstring>Events for the FindReplaceDialog</docstring>
13404 <baseclass name="CommandEvent"/>
13405 <constructor name="FindDialogEvent" overloaded="no">
13406 <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -&gt; FindDialogEvent</autodoc>
13407 <docstring>Events for the FindReplaceDialog</docstring>
13408 <paramlist>
13409 <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
13410 <param name="id" type="int" default="0"/>
13411 </paramlist>
13412 </constructor>
13413 <method name="GetFlags" type="int" overloaded="no">
13414 <autodoc>GetFlags(self) -&gt; int</autodoc>
13415 <docstring>Get the currently selected flags: this is the combination of
13416 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.</docstring>
13417 </method>
13418 <method name="GetFindString" type="String" overloaded="no">
13419 <autodoc>GetFindString(self) -&gt; String</autodoc>
13420 <docstring>Return the string to find (never empty).</docstring>
13421 </method>
13422 <method name="GetReplaceString" type="String" overloaded="no">
13423 <autodoc>GetReplaceString(self) -&gt; String</autodoc>
13424 <docstring>Return the string to replace the search string with (only for replace
13425 and replace all events).</docstring>
13426 </method>
13427 <method name="GetDialog" type="wxFindReplaceDialog" overloaded="no">
13428 <autodoc>GetDialog(self) -&gt; FindReplaceDialog</autodoc>
13429 <docstring>Return the pointer to the dialog which generated this event.</docstring>
13430 </method>
13431 <method name="SetFlags" type="" overloaded="no">
13432 <autodoc>SetFlags(self, int flags)</autodoc>
13433 <paramlist>
13434 <param name="flags" type="int" default=""/>
13435 </paramlist>
13436 </method>
13437 <method name="SetFindString" type="" overloaded="no">
13438 <autodoc>SetFindString(self, String str)</autodoc>
13439 <paramlist>
13440 <param name="str" type="String" default=""/>
13441 </paramlist>
13442 </method>
13443 <method name="SetReplaceString" type="" overloaded="no">
13444 <autodoc>SetReplaceString(self, String str)</autodoc>
13445 <paramlist>
13446 <param name="str" type="String" default=""/>
13447 </paramlist>
13448 </method>
13449 </class>
13450 <class name="FindReplaceData" oldname="wxFindReplaceData" module="_windows">
13451 <docstring>wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
13452 to initialize the dialog with the default values and will keep the
13453 last values from the dialog when it is closed. It is also updated each
13454 time a `wx.FindDialogEvent` is generated so instead of using the
13455 `wx.FindDialogEvent` methods you can also directly query this object.
13456
13457 Note that all SetXXX() methods may only be called before showing the
13458 dialog and calling them has no effect later.</docstring>
13459 <baseclass name="Object"/>
13460 <constructor name="FindReplaceData" overloaded="no">
13461 <autodoc>__init__(self, int flags=0) -&gt; FindReplaceData</autodoc>
13462 <docstring>Constuctor initializes the flags to default value (0).</docstring>
13463 <paramlist>
13464 <param name="flags" type="int" default="0"/>
13465 </paramlist>
13466 </constructor>
13467 <destructor name="~wxFindReplaceData" overloaded="no">
13468 <autodoc>__del__(self)</autodoc>
13469 </destructor>
13470 <method name="GetFindString" type="String" overloaded="no">
13471 <autodoc>GetFindString(self) -&gt; String</autodoc>
13472 <docstring>Get the string to find.</docstring>
13473 </method>
13474 <method name="GetReplaceString" type="String" overloaded="no">
13475 <autodoc>GetReplaceString(self) -&gt; String</autodoc>
13476 <docstring>Get the replacement string.</docstring>
13477 </method>
13478 <method name="GetFlags" type="int" overloaded="no">
13479 <autodoc>GetFlags(self) -&gt; int</autodoc>
13480 <docstring>Get the combination of flag values.</docstring>
13481 </method>
13482 <method name="SetFlags" type="" overloaded="no">
13483 <autodoc>SetFlags(self, int flags)</autodoc>
13484 <docstring>Set the flags to use to initialize the controls of the dialog.</docstring>
13485 <paramlist>
13486 <param name="flags" type="int" default=""/>
13487 </paramlist>
13488 </method>
13489 <method name="SetFindString" type="" overloaded="no">
13490 <autodoc>SetFindString(self, String str)</autodoc>
13491 <docstring>Set the string to find (used as initial value by the dialog).</docstring>
13492 <paramlist>
13493 <param name="str" type="String" default=""/>
13494 </paramlist>
13495 </method>
13496 <method name="SetReplaceString" type="" overloaded="no">
13497 <autodoc>SetReplaceString(self, String str)</autodoc>
13498 <docstring>Set the replacement string (used as initial value by the dialog).</docstring>
13499 <paramlist>
13500 <param name="str" type="String" default=""/>
13501 </paramlist>
13502 </method>
13503 </class>
13504 <class name="FindReplaceDialog" oldname="wxFindReplaceDialog" module="_windows">
13505 <docstring>wx.FindReplaceDialog is a standard modeless dialog which is used to
13506 allow the user to search for some text (and possibly replace it with
13507 something else). The actual searching is supposed to be done in the
13508 owner window which is the parent of this dialog. Note that it means
13509 that unlike for the other standard dialogs this one must have a parent
13510 window. Also note that there is no way to use this dialog in a modal
13511 way; it is always, by design and implementation, modeless.</docstring>
13512 <baseclass name="Dialog"/>
13513 <constructor name="FindReplaceDialog" overloaded="no">
13514 <autodoc>__init__(self, Window parent, FindReplaceData data, String title,
13515 int style=0) -&gt; FindReplaceDialog</autodoc>
13516 <docstring>Create a FindReplaceDialog. The parent and data parameters must be
13517 non-None. Use Show to display the dialog.</docstring>
13518 <paramlist>
13519 <param name="parent" type="Window" default=""/>
13520 <param name="data" type="FindReplaceData" default=""/>
13521 <param name="title" type="String" default=""/>
13522 <param name="style" type="int" default="0"/>
13523 </paramlist>
13524 </constructor>
13525 <constructor name="PreFindReplaceDialog" overloaded="no">
13526 <autodoc>PreFindReplaceDialog() -&gt; FindReplaceDialog</autodoc>
13527 <docstring>Precreate a FindReplaceDialog for 2-phase creation</docstring>
13528 </constructor>
13529 <method name="Create" type="bool" overloaded="no">
13530 <autodoc>Create(self, Window parent, FindReplaceData data, String title,
13531 int style=0) -&gt; bool</autodoc>
13532 <docstring>Create the dialog, for 2-phase create.</docstring>
13533 <paramlist>
13534 <param name="parent" type="Window" default=""/>
13535 <param name="data" type="FindReplaceData" default=""/>
13536 <param name="title" type="String" default=""/>
13537 <param name="style" type="int" default="0"/>
13538 </paramlist>
13539 </method>
13540 <method name="GetData" type="FindReplaceData" overloaded="no">
13541 <autodoc>GetData(self) -&gt; FindReplaceData</autodoc>
13542 <docstring>Get the FindReplaceData object used by this dialog.</docstring>
13543 </method>
13544 <method name="SetData" type="" overloaded="no">
13545 <autodoc>SetData(self, FindReplaceData data)</autodoc>
13546 <docstring>Set the FindReplaceData object used by this dialog.</docstring>
13547 <paramlist>
13548 <param name="data" type="FindReplaceData" default=""/>
13549 </paramlist>
13550 </method>
13551 </class>
13552 <pythoncode>
13553 #---------------------------------------------------------------------------
13554 </pythoncode>
13555 <class name="MDIParentFrame" oldname="wxMDIParentFrame" module="_windows">
13556 <baseclass name="Frame"/>
13557 <constructor name="MDIParentFrame" overloaded="no">
13558 <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString,
13559 Point pos=DefaultPosition, Size size=DefaultSize,
13560 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
13561 String name=FrameNameStr) -&gt; MDIParentFrame</autodoc>
13562 <paramlist>
13563 <param name="parent" type="Window" default=""/>
13564 <param name="id" type="int" default="-1"/>
13565 <param name="title" type="String" default="wxPyEmptyString"/>
13566 <param name="pos" type="Point" default="wxDefaultPosition"/>
13567 <param name="size" type="Size" default="wxDefaultSize"/>
13568 <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL"/>
13569 <param name="name" type="String" default="wxPyFrameNameStr"/>
13570 </paramlist>
13571 </constructor>
13572 <constructor name="PreMDIParentFrame" overloaded="no">
13573 <autodoc>PreMDIParentFrame() -&gt; MDIParentFrame</autodoc>
13574 </constructor>
13575 <method name="Create" type="bool" overloaded="no">
13576 <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString,
13577 Point pos=DefaultPosition, Size size=DefaultSize,
13578 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
13579 String name=FrameNameStr) -&gt; bool</autodoc>
13580 <paramlist>
13581 <param name="parent" type="Window" default=""/>
13582 <param name="id" type="int" default="-1"/>
13583 <param name="title" type="String" default="wxPyEmptyString"/>
13584 <param name="pos" type="Point" default="wxDefaultPosition"/>
13585 <param name="size" type="Size" default="wxDefaultSize"/>
13586 <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL"/>
13587 <param name="name" type="String" default="wxPyFrameNameStr"/>
13588 </paramlist>
13589 </method>
13590 <method name="ActivateNext" type="" overloaded="no">
13591 <autodoc>ActivateNext(self)</autodoc>
13592 </method>
13593 <method name="ActivatePrevious" type="" overloaded="no">
13594 <autodoc>ActivatePrevious(self)</autodoc>
13595 </method>
13596 <method name="ArrangeIcons" type="" overloaded="no">
13597 <autodoc>ArrangeIcons(self)</autodoc>
13598 </method>
13599 <method name="Cascade" type="" overloaded="no">
13600 <autodoc>Cascade(self)</autodoc>
13601 </method>
13602 <method name="GetActiveChild" type="wxMDIChildFrame" overloaded="no">
13603 <autodoc>GetActiveChild(self) -&gt; MDIChildFrame</autodoc>
13604 </method>
13605 <method name="GetClientWindow" type="wxMDIClientWindow" overloaded="no">
13606 <autodoc>GetClientWindow(self) -&gt; MDIClientWindow</autodoc>
13607 </method>
13608 <method name="GetToolBar" type="Window" overloaded="no">
13609 <autodoc>GetToolBar(self) -&gt; Window</autodoc>
13610 </method>
13611 <method name="Tile" type="" overloaded="no">
13612 <autodoc>Tile(self)</autodoc>
13613 </method>
13614 </class>
13615 <class name="MDIChildFrame" oldname="wxMDIChildFrame" module="_windows">
13616 <baseclass name="Frame"/>
13617 <constructor name="MDIChildFrame" overloaded="no">
13618 <autodoc>__init__(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
13619 Point pos=DefaultPosition, Size size=DefaultSize,
13620 long style=DEFAULT_FRAME_STYLE,
13621 String name=FrameNameStr) -&gt; MDIChildFrame</autodoc>
13622 <paramlist>
13623 <param name="parent" type="MDIParentFrame" default=""/>
13624 <param name="id" type="int" default="-1"/>
13625 <param name="title" type="String" default="wxPyEmptyString"/>
13626 <param name="pos" type="Point" default="wxDefaultPosition"/>
13627 <param name="size" type="Size" default="wxDefaultSize"/>
13628 <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
13629 <param name="name" type="String" default="wxPyFrameNameStr"/>
13630 </paramlist>
13631 </constructor>
13632 <constructor name="PreMDIChildFrame" overloaded="no">
13633 <autodoc>PreMDIChildFrame() -&gt; MDIChildFrame</autodoc>
13634 </constructor>
13635 <method name="Create" type="bool" overloaded="no">
13636 <autodoc>Create(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
13637 Point pos=DefaultPosition, Size size=DefaultSize,
13638 long style=DEFAULT_FRAME_STYLE,
13639 String name=FrameNameStr) -&gt; bool</autodoc>
13640 <paramlist>
13641 <param name="parent" type="MDIParentFrame" default=""/>
13642 <param name="id" type="int" default="-1"/>
13643 <param name="title" type="String" default="wxPyEmptyString"/>
13644 <param name="pos" type="Point" default="wxDefaultPosition"/>
13645 <param name="size" type="Size" default="wxDefaultSize"/>
13646 <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
13647 <param name="name" type="String" default="wxPyFrameNameStr"/>
13648 </paramlist>
13649 </method>
13650 <method name="Activate" type="" overloaded="no">
13651 <autodoc>Activate(self)</autodoc>
13652 </method>
13653 <method name="Maximize" type="" overloaded="no">
13654 <autodoc>Maximize(self, bool maximize)</autodoc>
13655 <paramlist>
13656 <param name="maximize" type="bool" default=""/>
13657 </paramlist>
13658 </method>
13659 <method name="Restore" type="" overloaded="no">
13660 <autodoc>Restore(self)</autodoc>
13661 </method>
13662 </class>
13663 <class name="MDIClientWindow" oldname="wxMDIClientWindow" module="_windows">
13664 <baseclass name="Window"/>
13665 <constructor name="MDIClientWindow" overloaded="no">
13666 <autodoc>__init__(self, MDIParentFrame parent, long style=0) -&gt; MDIClientWindow</autodoc>
13667 <paramlist>
13668 <param name="parent" type="MDIParentFrame" default=""/>
13669 <param name="style" type="long" default="0"/>
13670 </paramlist>
13671 </constructor>
13672 <constructor name="PreMDIClientWindow" overloaded="no">
13673 <autodoc>PreMDIClientWindow() -&gt; MDIClientWindow</autodoc>
13674 </constructor>
13675 <method name="Create" type="bool" overloaded="no">
13676 <autodoc>Create(self, MDIParentFrame parent, long style=0) -&gt; bool</autodoc>
13677 <paramlist>
13678 <param name="parent" type="MDIParentFrame" default=""/>
13679 <param name="style" type="long" default="0"/>
13680 </paramlist>
13681 </method>
13682 </class>
13683 <pythoncode>
13684 #---------------------------------------------------------------------------
13685 </pythoncode>
13686 <class name="PyWindow" oldname="wxPyWindow" module="_windows">
13687 <baseclass name="Window"/>
13688 <constructor name="PyWindow" overloaded="no">
13689 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
13690 Size size=DefaultSize, long style=0, String name=PanelNameStr) -&gt; PyWindow</autodoc>
13691 <paramlist>
13692 <param name="parent" type="Window" default=""/>
13693 <param name="id" type="int" default="-1"/>
13694 <param name="pos" type="Point" default="wxDefaultPosition"/>
13695 <param name="size" type="Size" default="wxDefaultSize"/>
13696 <param name="style" type="long" default="0"/>
13697 <param name="name" type="String" default="wxPyPanelNameStr"/>
13698 </paramlist>
13699 </constructor>
13700 <constructor name="PrePyWindow" overloaded="no">
13701 <autodoc>PrePyWindow() -&gt; PyWindow</autodoc>
13702 </constructor>
13703 <method name="_setCallbackInfo" type="" overloaded="no">
13704 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
13705 <paramlist>
13706 <param name="self" type="PyObject" default=""/>
13707 <param name="_class" type="PyObject" default=""/>
13708 </paramlist>
13709 </method>
13710 <method name="SetBestSize" type="" overloaded="no">
13711 <autodoc>SetBestSize(self, Size size)</autodoc>
13712 <paramlist>
13713 <param name="size" type="Size" default=""/>
13714 </paramlist>
13715 </method>
13716 <method name="base_DoMoveWindow" type="" overloaded="no">
13717 <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc>
13718 <paramlist>
13719 <param name="x" type="int" default=""/>
13720 <param name="y" type="int" default=""/>
13721 <param name="width" type="int" default=""/>
13722 <param name="height" type="int" default=""/>
13723 </paramlist>
13724 </method>
13725 <method name="base_DoSetSize" type="" overloaded="no">
13726 <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
13727 <paramlist>
13728 <param name="x" type="int" default=""/>
13729 <param name="y" type="int" default=""/>
13730 <param name="width" type="int" default=""/>
13731 <param name="height" type="int" default=""/>
13732 <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
13733 </paramlist>
13734 </method>
13735 <method name="base_DoSetClientSize" type="" overloaded="no">
13736 <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc>
13737 <paramlist>
13738 <param name="width" type="int" default=""/>
13739 <param name="height" type="int" default=""/>
13740 </paramlist>
13741 </method>
13742 <method name="base_DoSetVirtualSize" type="" overloaded="no">
13743 <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc>
13744 <paramlist>
13745 <param name="x" type="int" default=""/>
13746 <param name="y" type="int" default=""/>
13747 </paramlist>
13748 </method>
13749 <method name="base_DoGetSize" type="" overloaded="no">
13750 <autodoc>base_DoGetSize() -&gt; (width, height)</autodoc>
13751 <paramlist>
13752 <param name="OUTPUT" type="int" default=""/>
13753 <param name="OUTPUT" type="int" default=""/>
13754 </paramlist>
13755 </method>
13756 <method name="base_DoGetClientSize" type="" overloaded="no">
13757 <autodoc>base_DoGetClientSize() -&gt; (width, height)</autodoc>
13758 <paramlist>
13759 <param name="OUTPUT" type="int" default=""/>
13760 <param name="OUTPUT" type="int" default=""/>
13761 </paramlist>
13762 </method>
13763 <method name="base_DoGetPosition" type="" overloaded="no">
13764 <autodoc>base_DoGetPosition() -&gt; (x,y)</autodoc>
13765 <paramlist>
13766 <param name="OUTPUT" type="int" default=""/>
13767 <param name="OUTPUT" type="int" default=""/>
13768 </paramlist>
13769 </method>
13770 <method name="base_DoGetVirtualSize" type="Size" overloaded="no">
13771 <autodoc>base_DoGetVirtualSize(self) -&gt; Size</autodoc>
13772 </method>
13773 <method name="base_DoGetBestSize" type="Size" overloaded="no">
13774 <autodoc>base_DoGetBestSize(self) -&gt; Size</autodoc>
13775 </method>
13776 <method name="base_InitDialog" type="" overloaded="no">
13777 <autodoc>base_InitDialog(self)</autodoc>
13778 </method>
13779 <method name="base_TransferDataToWindow" type="bool" overloaded="no">
13780 <autodoc>base_TransferDataToWindow(self) -&gt; bool</autodoc>
13781 </method>
13782 <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
13783 <autodoc>base_TransferDataFromWindow(self) -&gt; bool</autodoc>
13784 </method>
13785 <method name="base_Validate" type="bool" overloaded="no">
13786 <autodoc>base_Validate(self) -&gt; bool</autodoc>
13787 </method>
13788 <method name="base_AcceptsFocus" type="bool" overloaded="no">
13789 <autodoc>base_AcceptsFocus(self) -&gt; bool</autodoc>
13790 </method>
13791 <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
13792 <autodoc>base_AcceptsFocusFromKeyboard(self) -&gt; bool</autodoc>
13793 </method>
13794 <method name="base_GetMaxSize" type="Size" overloaded="no">
13795 <autodoc>base_GetMaxSize(self) -&gt; Size</autodoc>
13796 </method>
13797 <method name="base_AddChild" type="" overloaded="no">
13798 <autodoc>base_AddChild(self, Window child)</autodoc>
13799 <paramlist>
13800 <param name="child" type="Window" default=""/>
13801 </paramlist>
13802 </method>
13803 <method name="base_RemoveChild" type="" overloaded="no">
13804 <autodoc>base_RemoveChild(self, Window child)</autodoc>
13805 <paramlist>
13806 <param name="child" type="Window" default=""/>
13807 </paramlist>
13808 </method>
13809 <method name="base_ShouldInheritColours" type="bool" overloaded="no">
13810 <autodoc>base_ShouldInheritColours(self) -&gt; bool</autodoc>
13811 </method>
13812 <method name="base_ApplyParentThemeBackground" type="" overloaded="no">
13813 <autodoc>base_ApplyParentThemeBackground(self, Colour c)</autodoc>
13814 <paramlist>
13815 <param name="c" type="Colour" default=""/>
13816 </paramlist>
13817 </method>
13818 <method name="base_GetDefaultAttributes" type="VisualAttributes" overloaded="no">
13819 <autodoc>base_GetDefaultAttributes(self) -&gt; VisualAttributes</autodoc>
13820 </method>
13821 </class>
13822 <class name="PyPanel" oldname="wxPyPanel" module="_windows">
13823 <baseclass name="Panel"/>
13824 <constructor name="PyPanel" overloaded="no">
13825 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
13826 Size size=DefaultSize, long style=0, String name=PanelNameStr) -&gt; PyPanel</autodoc>
13827 <paramlist>
13828 <param name="parent" type="Window" default=""/>
13829 <param name="id" type="int" default="-1"/>
13830 <param name="pos" type="Point" default="wxDefaultPosition"/>
13831 <param name="size" type="Size" default="wxDefaultSize"/>
13832 <param name="style" type="long" default="0"/>
13833 <param name="name" type="String" default="wxPyPanelNameStr"/>
13834 </paramlist>
13835 </constructor>
13836 <constructor name="PrePyPanel" overloaded="no">
13837 <autodoc>PrePyPanel() -&gt; PyPanel</autodoc>
13838 </constructor>
13839 <method name="_setCallbackInfo" type="" overloaded="no">
13840 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
13841 <paramlist>
13842 <param name="self" type="PyObject" default=""/>
13843 <param name="_class" type="PyObject" default=""/>
13844 </paramlist>
13845 </method>
13846 <method name="SetBestSize" type="" overloaded="no">
13847 <autodoc>SetBestSize(self, Size size)</autodoc>
13848 <paramlist>
13849 <param name="size" type="Size" default=""/>
13850 </paramlist>
13851 </method>
13852 <method name="base_DoMoveWindow" type="" overloaded="no">
13853 <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc>
13854 <paramlist>
13855 <param name="x" type="int" default=""/>
13856 <param name="y" type="int" default=""/>
13857 <param name="width" type="int" default=""/>
13858 <param name="height" type="int" default=""/>
13859 </paramlist>
13860 </method>
13861 <method name="base_DoSetSize" type="" overloaded="no">
13862 <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
13863 <paramlist>
13864 <param name="x" type="int" default=""/>
13865 <param name="y" type="int" default=""/>
13866 <param name="width" type="int" default=""/>
13867 <param name="height" type="int" default=""/>
13868 <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
13869 </paramlist>
13870 </method>
13871 <method name="base_DoSetClientSize" type="" overloaded="no">
13872 <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc>
13873 <paramlist>
13874 <param name="width" type="int" default=""/>
13875 <param name="height" type="int" default=""/>
13876 </paramlist>
13877 </method>
13878 <method name="base_DoSetVirtualSize" type="" overloaded="no">
13879 <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc>
13880 <paramlist>
13881 <param name="x" type="int" default=""/>
13882 <param name="y" type="int" default=""/>
13883 </paramlist>
13884 </method>
13885 <method name="base_DoGetSize" type="" overloaded="no">
13886 <autodoc>base_DoGetSize() -&gt; (width, height)</autodoc>
13887 <paramlist>
13888 <param name="OUTPUT" type="int" default=""/>
13889 <param name="OUTPUT" type="int" default=""/>
13890 </paramlist>
13891 </method>
13892 <method name="base_DoGetClientSize" type="" overloaded="no">
13893 <autodoc>base_DoGetClientSize() -&gt; (width, height)</autodoc>
13894 <paramlist>
13895 <param name="OUTPUT" type="int" default=""/>
13896 <param name="OUTPUT" type="int" default=""/>
13897 </paramlist>
13898 </method>
13899 <method name="base_DoGetPosition" type="" overloaded="no">
13900 <autodoc>base_DoGetPosition() -&gt; (x,y)</autodoc>
13901 <paramlist>
13902 <param name="OUTPUT" type="int" default=""/>
13903 <param name="OUTPUT" type="int" default=""/>
13904 </paramlist>
13905 </method>
13906 <method name="base_DoGetVirtualSize" type="Size" overloaded="no">
13907 <autodoc>base_DoGetVirtualSize(self) -&gt; Size</autodoc>
13908 </method>
13909 <method name="base_DoGetBestSize" type="Size" overloaded="no">
13910 <autodoc>base_DoGetBestSize(self) -&gt; Size</autodoc>
13911 </method>
13912 <method name="base_InitDialog" type="" overloaded="no">
13913 <autodoc>base_InitDialog(self)</autodoc>
13914 </method>
13915 <method name="base_TransferDataToWindow" type="bool" overloaded="no">
13916 <autodoc>base_TransferDataToWindow(self) -&gt; bool</autodoc>
13917 </method>
13918 <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
13919 <autodoc>base_TransferDataFromWindow(self) -&gt; bool</autodoc>
13920 </method>
13921 <method name="base_Validate" type="bool" overloaded="no">
13922 <autodoc>base_Validate(self) -&gt; bool</autodoc>
13923 </method>
13924 <method name="base_AcceptsFocus" type="bool" overloaded="no">
13925 <autodoc>base_AcceptsFocus(self) -&gt; bool</autodoc>
13926 </method>
13927 <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
13928 <autodoc>base_AcceptsFocusFromKeyboard(self) -&gt; bool</autodoc>
13929 </method>
13930 <method name="base_GetMaxSize" type="Size" overloaded="no">
13931 <autodoc>base_GetMaxSize(self) -&gt; Size</autodoc>
13932 </method>
13933 <method name="base_AddChild" type="" overloaded="no">
13934 <autodoc>base_AddChild(self, Window child)</autodoc>
13935 <paramlist>
13936 <param name="child" type="Window" default=""/>
13937 </paramlist>
13938 </method>
13939 <method name="base_RemoveChild" type="" overloaded="no">
13940 <autodoc>base_RemoveChild(self, Window child)</autodoc>
13941 <paramlist>
13942 <param name="child" type="Window" default=""/>
13943 </paramlist>
13944 </method>
13945 <method name="base_ShouldInheritColours" type="bool" overloaded="no">
13946 <autodoc>base_ShouldInheritColours(self) -&gt; bool</autodoc>
13947 </method>
13948 <method name="base_ApplyParentThemeBackground" type="" overloaded="no">
13949 <autodoc>base_ApplyParentThemeBackground(self, Colour c)</autodoc>
13950 <paramlist>
13951 <param name="c" type="Colour" default=""/>
13952 </paramlist>
13953 </method>
13954 <method name="base_GetDefaultAttributes" type="VisualAttributes" overloaded="no">
13955 <autodoc>base_GetDefaultAttributes(self) -&gt; VisualAttributes</autodoc>
13956 </method>
13957 </class>
13958 <class name="PyScrolledWindow" oldname="wxPyScrolledWindow" module="_windows">
13959 <baseclass name="ScrolledWindow"/>
13960 <constructor name="PyScrolledWindow" overloaded="no">
13961 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
13962 Size size=DefaultSize, long style=0, String name=PanelNameStr) -&gt; PyScrolledWindow</autodoc>
13963 <paramlist>
13964 <param name="parent" type="Window" default=""/>
13965 <param name="id" type="int" default="-1"/>
13966 <param name="pos" type="Point" default="wxDefaultPosition"/>
13967 <param name="size" type="Size" default="wxDefaultSize"/>
13968 <param name="style" type="long" default="0"/>
13969 <param name="name" type="String" default="wxPyPanelNameStr"/>
13970 </paramlist>
13971 </constructor>
13972 <constructor name="PrePyScrolledWindow" overloaded="no">
13973 <autodoc>PrePyScrolledWindow() -&gt; PyScrolledWindow</autodoc>
13974 </constructor>
13975 <method name="_setCallbackInfo" type="" overloaded="no">
13976 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
13977 <paramlist>
13978 <param name="self" type="PyObject" default=""/>
13979 <param name="_class" type="PyObject" default=""/>
13980 </paramlist>
13981 </method>
13982 <method name="SetBestSize" type="" overloaded="no">
13983 <autodoc>SetBestSize(self, Size size)</autodoc>
13984 <paramlist>
13985 <param name="size" type="Size" default=""/>
13986 </paramlist>
13987 </method>
13988 <method name="base_DoMoveWindow" type="" overloaded="no">
13989 <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc>
13990 <paramlist>
13991 <param name="x" type="int" default=""/>
13992 <param name="y" type="int" default=""/>
13993 <param name="width" type="int" default=""/>
13994 <param name="height" type="int" default=""/>
13995 </paramlist>
13996 </method>
13997 <method name="base_DoSetSize" type="" overloaded="no">
13998 <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
13999 <paramlist>
14000 <param name="x" type="int" default=""/>
14001 <param name="y" type="int" default=""/>
14002 <param name="width" type="int" default=""/>
14003 <param name="height" type="int" default=""/>
14004 <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
14005 </paramlist>
14006 </method>
14007 <method name="base_DoSetClientSize" type="" overloaded="no">
14008 <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc>
14009 <paramlist>
14010 <param name="width" type="int" default=""/>
14011 <param name="height" type="int" default=""/>
14012 </paramlist>
14013 </method>
14014 <method name="base_DoSetVirtualSize" type="" overloaded="no">
14015 <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc>
14016 <paramlist>
14017 <param name="x" type="int" default=""/>
14018 <param name="y" type="int" default=""/>
14019 </paramlist>
14020 </method>
14021 <method name="base_DoGetSize" type="" overloaded="no">
14022 <autodoc>base_DoGetSize() -&gt; (width, height)</autodoc>
14023 <paramlist>
14024 <param name="OUTPUT" type="int" default=""/>
14025 <param name="OUTPUT" type="int" default=""/>
14026 </paramlist>
14027 </method>
14028 <method name="base_DoGetClientSize" type="" overloaded="no">
14029 <autodoc>base_DoGetClientSize() -&gt; (width, height)</autodoc>
14030 <paramlist>
14031 <param name="OUTPUT" type="int" default=""/>
14032 <param name="OUTPUT" type="int" default=""/>
14033 </paramlist>
14034 </method>
14035 <method name="base_DoGetPosition" type="" overloaded="no">
14036 <autodoc>base_DoGetPosition() -&gt; (x,y)</autodoc>
14037 <paramlist>
14038 <param name="OUTPUT" type="int" default=""/>
14039 <param name="OUTPUT" type="int" default=""/>
14040 </paramlist>
14041 </method>
14042 <method name="base_DoGetVirtualSize" type="Size" overloaded="no">
14043 <autodoc>base_DoGetVirtualSize(self) -&gt; Size</autodoc>
14044 </method>
14045 <method name="base_DoGetBestSize" type="Size" overloaded="no">
14046 <autodoc>base_DoGetBestSize(self) -&gt; Size</autodoc>
14047 </method>
14048 <method name="base_InitDialog" type="" overloaded="no">
14049 <autodoc>base_InitDialog(self)</autodoc>
14050 </method>
14051 <method name="base_TransferDataToWindow" type="bool" overloaded="no">
14052 <autodoc>base_TransferDataToWindow(self) -&gt; bool</autodoc>
14053 </method>
14054 <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
14055 <autodoc>base_TransferDataFromWindow(self) -&gt; bool</autodoc>
14056 </method>
14057 <method name="base_Validate" type="bool" overloaded="no">
14058 <autodoc>base_Validate(self) -&gt; bool</autodoc>
14059 </method>
14060 <method name="base_AcceptsFocus" type="bool" overloaded="no">
14061 <autodoc>base_AcceptsFocus(self) -&gt; bool</autodoc>
14062 </method>
14063 <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
14064 <autodoc>base_AcceptsFocusFromKeyboard(self) -&gt; bool</autodoc>
14065 </method>
14066 <method name="base_GetMaxSize" type="Size" overloaded="no">
14067 <autodoc>base_GetMaxSize(self) -&gt; Size</autodoc>
14068 </method>
14069 <method name="base_AddChild" type="" overloaded="no">
14070 <autodoc>base_AddChild(self, Window child)</autodoc>
14071 <paramlist>
14072 <param name="child" type="Window" default=""/>
14073 </paramlist>
14074 </method>
14075 <method name="base_RemoveChild" type="" overloaded="no">
14076 <autodoc>base_RemoveChild(self, Window child)</autodoc>
14077 <paramlist>
14078 <param name="child" type="Window" default=""/>
14079 </paramlist>
14080 </method>
14081 <method name="base_ShouldInheritColours" type="bool" overloaded="no">
14082 <autodoc>base_ShouldInheritColours(self) -&gt; bool</autodoc>
14083 </method>
14084 <method name="base_ApplyParentThemeBackground" type="" overloaded="no">
14085 <autodoc>base_ApplyParentThemeBackground(self, Colour c)</autodoc>
14086 <paramlist>
14087 <param name="c" type="Colour" default=""/>
14088 </paramlist>
14089 </method>
14090 <method name="base_GetDefaultAttributes" type="VisualAttributes" overloaded="no">
14091 <autodoc>base_GetDefaultAttributes(self) -&gt; VisualAttributes</autodoc>
14092 </method>
14093 </class>
14094 <pythoncode>
14095 #---------------------------------------------------------------------------
14096 </pythoncode>
14097 <class name="PrintData" oldname="wxPrintData" module="_windows">
14098 <baseclass name="Object"/>
14099 <constructor name="PrintData" overloaded="yes"/>
14100 <constructor name="PrintData" overloaded="yes">
14101 <autodoc>__init__(self) -&gt; PrintData
14102 __init__(self, PrintData data) -&gt; PrintData</autodoc>
14103 <paramlist>
14104 <param name="data" type="PrintData" default=""/>
14105 </paramlist>
14106 </constructor>
14107 <destructor name="~wxPrintData" overloaded="no">
14108 <autodoc>__del__(self)</autodoc>
14109 </destructor>
14110 <method name="GetNoCopies" type="int" overloaded="no">
14111 <autodoc>GetNoCopies(self) -&gt; int</autodoc>
14112 </method>
14113 <method name="GetCollate" type="bool" overloaded="no">
14114 <autodoc>GetCollate(self) -&gt; bool</autodoc>
14115 </method>
14116 <method name="GetOrientation" type="int" overloaded="no">
14117 <autodoc>GetOrientation(self) -&gt; int</autodoc>
14118 </method>
14119 <method name="Ok" type="bool" overloaded="no">
14120 <autodoc>Ok(self) -&gt; bool</autodoc>
14121 </method>
14122 <method name="GetPrinterName" type="String" overloaded="no">
14123 <autodoc>GetPrinterName(self) -&gt; String</autodoc>
14124 </method>
14125 <method name="GetColour" type="bool" overloaded="no">
14126 <autodoc>GetColour(self) -&gt; bool</autodoc>
14127 </method>
14128 <method name="GetDuplex" type="wxDuplexMode" overloaded="no">
14129 <autodoc>GetDuplex(self) -&gt; int</autodoc>
14130 </method>
14131 <method name="GetPaperId" type="wxPaperSize" overloaded="no">
14132 <autodoc>GetPaperId(self) -&gt; int</autodoc>
14133 </method>
14134 <method name="GetPaperSize" type="Size" overloaded="no">
14135 <autodoc>GetPaperSize(self) -&gt; Size</autodoc>
14136 </method>
14137 <method name="GetQuality" type="int" overloaded="no">
14138 <autodoc>GetQuality(self) -&gt; int</autodoc>
14139 </method>
14140 <method name="SetNoCopies" type="" overloaded="no">
14141 <autodoc>SetNoCopies(self, int v)</autodoc>
14142 <paramlist>
14143 <param name="v" type="int" default=""/>
14144 </paramlist>
14145 </method>
14146 <method name="SetCollate" type="" overloaded="no">
14147 <autodoc>SetCollate(self, bool flag)</autodoc>
14148 <paramlist>
14149 <param name="flag" type="bool" default=""/>
14150 </paramlist>
14151 </method>
14152 <method name="SetOrientation" type="" overloaded="no">
14153 <autodoc>SetOrientation(self, int orient)</autodoc>
14154 <paramlist>
14155 <param name="orient" type="int" default=""/>
14156 </paramlist>
14157 </method>
14158 <method name="SetPrinterName" type="" overloaded="no">
14159 <autodoc>SetPrinterName(self, String name)</autodoc>
14160 <paramlist>
14161 <param name="name" type="String" default=""/>
14162 </paramlist>
14163 </method>
14164 <method name="SetColour" type="" overloaded="no">
14165 <autodoc>SetColour(self, bool colour)</autodoc>
14166 <paramlist>
14167 <param name="colour" type="bool" default=""/>
14168 </paramlist>
14169 </method>
14170 <method name="SetDuplex" type="" overloaded="no">
14171 <autodoc>SetDuplex(self, int duplex)</autodoc>
14172 <paramlist>
14173 <param name="duplex" type="wxDuplexMode" default=""/>
14174 </paramlist>
14175 </method>
14176 <method name="SetPaperId" type="" overloaded="no">
14177 <autodoc>SetPaperId(self, int sizeId)</autodoc>
14178 <paramlist>
14179 <param name="sizeId" type="wxPaperSize" default=""/>
14180 </paramlist>
14181 </method>
14182 <method name="SetPaperSize" type="" overloaded="no">
14183 <autodoc>SetPaperSize(self, Size sz)</autodoc>
14184 <paramlist>
14185 <param name="sz" type="Size" default=""/>
14186 </paramlist>
14187 </method>
14188 <method name="SetQuality" type="" overloaded="no">
14189 <autodoc>SetQuality(self, int quality)</autodoc>
14190 <paramlist>
14191 <param name="quality" type="int" default=""/>
14192 </paramlist>
14193 </method>
14194 <method name="GetPrinterCommand" type="String" overloaded="no">
14195 <autodoc>GetPrinterCommand(self) -&gt; String</autodoc>
14196 </method>
14197 <method name="GetPrinterOptions" type="String" overloaded="no">
14198 <autodoc>GetPrinterOptions(self) -&gt; String</autodoc>
14199 </method>
14200 <method name="GetPreviewCommand" type="String" overloaded="no">
14201 <autodoc>GetPreviewCommand(self) -&gt; String</autodoc>
14202 </method>
14203 <method name="GetFilename" type="String" overloaded="no">
14204 <autodoc>GetFilename(self) -&gt; String</autodoc>
14205 </method>
14206 <method name="GetFontMetricPath" type="String" overloaded="no">
14207 <autodoc>GetFontMetricPath(self) -&gt; String</autodoc>
14208 </method>
14209 <method name="GetPrinterScaleX" type="double" overloaded="no">
14210 <autodoc>GetPrinterScaleX(self) -&gt; double</autodoc>
14211 </method>
14212 <method name="GetPrinterScaleY" type="double" overloaded="no">
14213 <autodoc>GetPrinterScaleY(self) -&gt; double</autodoc>
14214 </method>
14215 <method name="GetPrinterTranslateX" type="long" overloaded="no">
14216 <autodoc>GetPrinterTranslateX(self) -&gt; long</autodoc>
14217 </method>
14218 <method name="GetPrinterTranslateY" type="long" overloaded="no">
14219 <autodoc>GetPrinterTranslateY(self) -&gt; long</autodoc>
14220 </method>
14221 <method name="GetPrintMode" type="wxPrintMode" overloaded="no">
14222 <autodoc>GetPrintMode(self) -&gt; int</autodoc>
14223 </method>
14224 <method name="SetPrinterCommand" type="" overloaded="no">
14225 <autodoc>SetPrinterCommand(self, String command)</autodoc>
14226 <paramlist>
14227 <param name="command" type="String" default=""/>
14228 </paramlist>
14229 </method>
14230 <method name="SetPrinterOptions" type="" overloaded="no">
14231 <autodoc>SetPrinterOptions(self, String options)</autodoc>
14232 <paramlist>
14233 <param name="options" type="String" default=""/>
14234 </paramlist>
14235 </method>
14236 <method name="SetPreviewCommand" type="" overloaded="no">
14237 <autodoc>SetPreviewCommand(self, String command)</autodoc>
14238 <paramlist>
14239 <param name="command" type="String" default=""/>
14240 </paramlist>
14241 </method>
14242 <method name="SetFilename" type="" overloaded="no">
14243 <autodoc>SetFilename(self, String filename)</autodoc>
14244 <paramlist>
14245 <param name="filename" type="String" default=""/>
14246 </paramlist>
14247 </method>
14248 <method name="SetFontMetricPath" type="" overloaded="no">
14249 <autodoc>SetFontMetricPath(self, String path)</autodoc>
14250 <paramlist>
14251 <param name="path" type="String" default=""/>
14252 </paramlist>
14253 </method>
14254 <method name="SetPrinterScaleX" type="" overloaded="no">
14255 <autodoc>SetPrinterScaleX(self, double x)</autodoc>
14256 <paramlist>
14257 <param name="x" type="double" default=""/>
14258 </paramlist>
14259 </method>
14260 <method name="SetPrinterScaleY" type="" overloaded="no">
14261 <autodoc>SetPrinterScaleY(self, double y)</autodoc>
14262 <paramlist>
14263 <param name="y" type="double" default=""/>
14264 </paramlist>
14265 </method>
14266 <method name="SetPrinterScaling" type="" overloaded="no">
14267 <autodoc>SetPrinterScaling(self, double x, double y)</autodoc>
14268 <paramlist>
14269 <param name="x" type="double" default=""/>
14270 <param name="y" type="double" default=""/>
14271 </paramlist>
14272 </method>
14273 <method name="SetPrinterTranslateX" type="" overloaded="no">
14274 <autodoc>SetPrinterTranslateX(self, long x)</autodoc>
14275 <paramlist>
14276 <param name="x" type="long" default=""/>
14277 </paramlist>
14278 </method>
14279 <method name="SetPrinterTranslateY" type="" overloaded="no">
14280 <autodoc>SetPrinterTranslateY(self, long y)</autodoc>
14281 <paramlist>
14282 <param name="y" type="long" default=""/>
14283 </paramlist>
14284 </method>
14285 <method name="SetPrinterTranslation" type="" overloaded="no">
14286 <autodoc>SetPrinterTranslation(self, long x, long y)</autodoc>
14287 <paramlist>
14288 <param name="x" type="long" default=""/>
14289 <param name="y" type="long" default=""/>
14290 </paramlist>
14291 </method>
14292 <method name="SetPrintMode" type="" overloaded="no">
14293 <autodoc>SetPrintMode(self, int printMode)</autodoc>
14294 <paramlist>
14295 <param name="printMode" type="wxPrintMode" default=""/>
14296 </paramlist>
14297 </method>
14298 <method name="GetOutputStream" type="OutputStream" overloaded="no">
14299 <autodoc>GetOutputStream(self) -&gt; OutputStream</autodoc>
14300 </method>
14301 <method name="SetOutputStream" type="" overloaded="no">
14302 <autodoc>SetOutputStream(self, OutputStream outputstream)</autodoc>
14303 <paramlist>
14304 <param name="outputstream" type="OutputStream" default=""/>
14305 </paramlist>
14306 </method>
14307 </class>
14308 <class name="PageSetupDialogData" oldname="wxPageSetupDialogData" module="_windows">
14309 <baseclass name="Object"/>
14310 <constructor name="PageSetupDialogData" overloaded="yes"/>
14311 <constructor name="PageSetupDialogData" overloaded="yes">
14312 <autodoc>__init__(self) -&gt; PageSetupDialogData
14313 __init__(self, PageSetupDialogData data) -&gt; PageSetupDialogData</autodoc>
14314 <paramlist>
14315 <param name="data" type="PageSetupDialogData" default=""/>
14316 </paramlist>
14317 </constructor>
14318 <destructor name="~wxPageSetupDialogData" overloaded="no">
14319 <autodoc>__del__(self)</autodoc>
14320 </destructor>
14321 <method name="EnableHelp" type="" overloaded="no">
14322 <autodoc>EnableHelp(self, bool flag)</autodoc>
14323 <paramlist>
14324 <param name="flag" type="bool" default=""/>
14325 </paramlist>
14326 </method>
14327 <method name="EnableMargins" type="" overloaded="no">
14328 <autodoc>EnableMargins(self, bool flag)</autodoc>
14329 <paramlist>
14330 <param name="flag" type="bool" default=""/>
14331 </paramlist>
14332 </method>
14333 <method name="EnableOrientation" type="" overloaded="no">
14334 <autodoc>EnableOrientation(self, bool flag)</autodoc>
14335 <paramlist>
14336 <param name="flag" type="bool" default=""/>
14337 </paramlist>
14338 </method>
14339 <method name="EnablePaper" type="" overloaded="no">
14340 <autodoc>EnablePaper(self, bool flag)</autodoc>
14341 <paramlist>
14342 <param name="flag" type="bool" default=""/>
14343 </paramlist>
14344 </method>
14345 <method name="EnablePrinter" type="" overloaded="no">
14346 <autodoc>EnablePrinter(self, bool flag)</autodoc>
14347 <paramlist>
14348 <param name="flag" type="bool" default=""/>
14349 </paramlist>
14350 </method>
14351 <method name="GetDefaultMinMargins" type="bool" overloaded="no">
14352 <autodoc>GetDefaultMinMargins(self) -&gt; bool</autodoc>
14353 </method>
14354 <method name="GetEnableMargins" type="bool" overloaded="no">
14355 <autodoc>GetEnableMargins(self) -&gt; bool</autodoc>
14356 </method>
14357 <method name="GetEnableOrientation" type="bool" overloaded="no">
14358 <autodoc>GetEnableOrientation(self) -&gt; bool</autodoc>
14359 </method>
14360 <method name="GetEnablePaper" type="bool" overloaded="no">
14361 <autodoc>GetEnablePaper(self) -&gt; bool</autodoc>
14362 </method>
14363 <method name="GetEnablePrinter" type="bool" overloaded="no">
14364 <autodoc>GetEnablePrinter(self) -&gt; bool</autodoc>
14365 </method>
14366 <method name="GetEnableHelp" type="bool" overloaded="no">
14367 <autodoc>GetEnableHelp(self) -&gt; bool</autodoc>
14368 </method>
14369 <method name="GetDefaultInfo" type="bool" overloaded="no">
14370 <autodoc>GetDefaultInfo(self) -&gt; bool</autodoc>
14371 </method>
14372 <method name="GetMarginTopLeft" type="Point" overloaded="no">
14373 <autodoc>GetMarginTopLeft(self) -&gt; Point</autodoc>
14374 </method>
14375 <method name="GetMarginBottomRight" type="Point" overloaded="no">
14376 <autodoc>GetMarginBottomRight(self) -&gt; Point</autodoc>
14377 </method>
14378 <method name="GetMinMarginTopLeft" type="Point" overloaded="no">
14379 <autodoc>GetMinMarginTopLeft(self) -&gt; Point</autodoc>
14380 </method>
14381 <method name="GetMinMarginBottomRight" type="Point" overloaded="no">
14382 <autodoc>GetMinMarginBottomRight(self) -&gt; Point</autodoc>
14383 </method>
14384 <method name="GetPaperId" type="wxPaperSize" overloaded="no">
14385 <autodoc>GetPaperId(self) -&gt; int</autodoc>
14386 </method>
14387 <method name="GetPaperSize" type="Size" overloaded="no">
14388 <autodoc>GetPaperSize(self) -&gt; Size</autodoc>
14389 </method>
14390 <method name="GetPrintData" type="PrintData" overloaded="no">
14391 <autodoc>GetPrintData(self) -&gt; PrintData</autodoc>
14392 </method>
14393 <method name="Ok" type="bool" overloaded="no">
14394 <autodoc>Ok(self) -&gt; bool</autodoc>
14395 </method>
14396 <method name="SetDefaultInfo" type="" overloaded="no">
14397 <autodoc>SetDefaultInfo(self, bool flag)</autodoc>
14398 <paramlist>
14399 <param name="flag" type="bool" default=""/>
14400 </paramlist>
14401 </method>
14402 <method name="SetDefaultMinMargins" type="" overloaded="no">
14403 <autodoc>SetDefaultMinMargins(self, bool flag)</autodoc>
14404 <paramlist>
14405 <param name="flag" type="bool" default=""/>
14406 </paramlist>
14407 </method>
14408 <method name="SetMarginTopLeft" type="" overloaded="no">
14409 <autodoc>SetMarginTopLeft(self, Point pt)</autodoc>
14410 <paramlist>
14411 <param name="pt" type="Point" default=""/>
14412 </paramlist>
14413 </method>
14414 <method name="SetMarginBottomRight" type="" overloaded="no">
14415 <autodoc>SetMarginBottomRight(self, Point pt)</autodoc>
14416 <paramlist>
14417 <param name="pt" type="Point" default=""/>
14418 </paramlist>
14419 </method>
14420 <method name="SetMinMarginTopLeft" type="" overloaded="no">
14421 <autodoc>SetMinMarginTopLeft(self, Point pt)</autodoc>
14422 <paramlist>
14423 <param name="pt" type="Point" default=""/>
14424 </paramlist>
14425 </method>
14426 <method name="SetMinMarginBottomRight" type="" overloaded="no">
14427 <autodoc>SetMinMarginBottomRight(self, Point pt)</autodoc>
14428 <paramlist>
14429 <param name="pt" type="Point" default=""/>
14430 </paramlist>
14431 </method>
14432 <method name="SetPaperId" type="" overloaded="no">
14433 <autodoc>SetPaperId(self, int id)</autodoc>
14434 <paramlist>
14435 <param name="id" type="wxPaperSize" default=""/>
14436 </paramlist>
14437 </method>
14438 <method name="SetPaperSize" type="" overloaded="no">
14439 <autodoc>SetPaperSize(self, Size size)</autodoc>
14440 <paramlist>
14441 <param name="size" type="Size" default=""/>
14442 </paramlist>
14443 </method>
14444 <method name="SetPrintData" type="" overloaded="no">
14445 <autodoc>SetPrintData(self, PrintData printData)</autodoc>
14446 <paramlist>
14447 <param name="printData" type="PrintData" default=""/>
14448 </paramlist>
14449 </method>
14450 </class>
14451 <class name="PageSetupDialog" oldname="wxPageSetupDialog" module="_windows">
14452 <baseclass name="Dialog"/>
14453 <constructor name="PageSetupDialog" overloaded="no">
14454 <autodoc>__init__(self, Window parent, PageSetupDialogData data=None) -&gt; PageSetupDialog</autodoc>
14455 <paramlist>
14456 <param name="parent" type="Window" default=""/>
14457 <param name="data" type="PageSetupDialogData" default="NULL"/>
14458 </paramlist>
14459 </constructor>
14460 <method name="GetPageSetupData" type="PageSetupDialogData" overloaded="no">
14461 <autodoc>GetPageSetupData(self) -&gt; PageSetupDialogData</autodoc>
14462 </method>
14463 <method name="ShowModal" type="int" overloaded="no">
14464 <autodoc>ShowModal(self) -&gt; int</autodoc>
14465 </method>
14466 </class>
14467 <class name="PrintDialogData" oldname="wxPrintDialogData" module="_windows">
14468 <baseclass name="Object"/>
14469 <constructor name="PrintDialogData" overloaded="yes"/>
14470 <constructor name="PrintDialogData" overloaded="yes">
14471 <autodoc>__init__(self) -&gt; PrintDialogData
14472 __init__(self, PrintData printData) -&gt; PrintDialogData</autodoc>
14473 <paramlist>
14474 <param name="printData" type="PrintData" default=""/>
14475 </paramlist>
14476 </constructor>
14477 <destructor name="~wxPrintDialogData" overloaded="no">
14478 <autodoc>__del__(self)</autodoc>
14479 </destructor>
14480 <method name="GetFromPage" type="int" overloaded="no">
14481 <autodoc>GetFromPage(self) -&gt; int</autodoc>
14482 </method>
14483 <method name="GetToPage" type="int" overloaded="no">
14484 <autodoc>GetToPage(self) -&gt; int</autodoc>
14485 </method>
14486 <method name="GetMinPage" type="int" overloaded="no">
14487 <autodoc>GetMinPage(self) -&gt; int</autodoc>
14488 </method>
14489 <method name="GetMaxPage" type="int" overloaded="no">
14490 <autodoc>GetMaxPage(self) -&gt; int</autodoc>
14491 </method>
14492 <method name="GetNoCopies" type="int" overloaded="no">
14493 <autodoc>GetNoCopies(self) -&gt; int</autodoc>
14494 </method>
14495 <method name="GetAllPages" type="bool" overloaded="no">
14496 <autodoc>GetAllPages(self) -&gt; bool</autodoc>
14497 </method>
14498 <method name="GetSelection" type="bool" overloaded="no">
14499 <autodoc>GetSelection(self) -&gt; bool</autodoc>
14500 </method>
14501 <method name="GetCollate" type="bool" overloaded="no">
14502 <autodoc>GetCollate(self) -&gt; bool</autodoc>
14503 </method>
14504 <method name="GetPrintToFile" type="bool" overloaded="no">
14505 <autodoc>GetPrintToFile(self) -&gt; bool</autodoc>
14506 </method>
14507 <method name="GetSetupDialog" type="bool" overloaded="no">
14508 <autodoc>GetSetupDialog(self) -&gt; bool</autodoc>
14509 </method>
14510 <method name="SetFromPage" type="" overloaded="no">
14511 <autodoc>SetFromPage(self, int v)</autodoc>
14512 <paramlist>
14513 <param name="v" type="int" default=""/>
14514 </paramlist>
14515 </method>
14516 <method name="SetToPage" type="" overloaded="no">
14517 <autodoc>SetToPage(self, int v)</autodoc>
14518 <paramlist>
14519 <param name="v" type="int" default=""/>
14520 </paramlist>
14521 </method>
14522 <method name="SetMinPage" type="" overloaded="no">
14523 <autodoc>SetMinPage(self, int v)</autodoc>
14524 <paramlist>
14525 <param name="v" type="int" default=""/>
14526 </paramlist>
14527 </method>
14528 <method name="SetMaxPage" type="" overloaded="no">
14529 <autodoc>SetMaxPage(self, int v)</autodoc>
14530 <paramlist>
14531 <param name="v" type="int" default=""/>
14532 </paramlist>
14533 </method>
14534 <method name="SetNoCopies" type="" overloaded="no">
14535 <autodoc>SetNoCopies(self, int v)</autodoc>
14536 <paramlist>
14537 <param name="v" type="int" default=""/>
14538 </paramlist>
14539 </method>
14540 <method name="SetAllPages" type="" overloaded="no">
14541 <autodoc>SetAllPages(self, bool flag)</autodoc>
14542 <paramlist>
14543 <param name="flag" type="bool" default=""/>
14544 </paramlist>
14545 </method>
14546 <method name="SetSelection" type="" overloaded="no">
14547 <autodoc>SetSelection(self, bool flag)</autodoc>
14548 <paramlist>
14549 <param name="flag" type="bool" default=""/>
14550 </paramlist>
14551 </method>
14552 <method name="SetCollate" type="" overloaded="no">
14553 <autodoc>SetCollate(self, bool flag)</autodoc>
14554 <paramlist>
14555 <param name="flag" type="bool" default=""/>
14556 </paramlist>
14557 </method>
14558 <method name="SetPrintToFile" type="" overloaded="no">
14559 <autodoc>SetPrintToFile(self, bool flag)</autodoc>
14560 <paramlist>
14561 <param name="flag" type="bool" default=""/>
14562 </paramlist>
14563 </method>
14564 <method name="SetSetupDialog" type="" overloaded="no">
14565 <autodoc>SetSetupDialog(self, bool flag)</autodoc>
14566 <paramlist>
14567 <param name="flag" type="bool" default=""/>
14568 </paramlist>
14569 </method>
14570 <method name="EnablePrintToFile" type="" overloaded="no">
14571 <autodoc>EnablePrintToFile(self, bool flag)</autodoc>
14572 <paramlist>
14573 <param name="flag" type="bool" default=""/>
14574 </paramlist>
14575 </method>
14576 <method name="EnableSelection" type="" overloaded="no">
14577 <autodoc>EnableSelection(self, bool flag)</autodoc>
14578 <paramlist>
14579 <param name="flag" type="bool" default=""/>
14580 </paramlist>
14581 </method>
14582 <method name="EnablePageNumbers" type="" overloaded="no">
14583 <autodoc>EnablePageNumbers(self, bool flag)</autodoc>
14584 <paramlist>
14585 <param name="flag" type="bool" default=""/>
14586 </paramlist>
14587 </method>
14588 <method name="EnableHelp" type="" overloaded="no">
14589 <autodoc>EnableHelp(self, bool flag)</autodoc>
14590 <paramlist>
14591 <param name="flag" type="bool" default=""/>
14592 </paramlist>
14593 </method>
14594 <method name="GetEnablePrintToFile" type="bool" overloaded="no">
14595 <autodoc>GetEnablePrintToFile(self) -&gt; bool</autodoc>
14596 </method>
14597 <method name="GetEnableSelection" type="bool" overloaded="no">
14598 <autodoc>GetEnableSelection(self) -&gt; bool</autodoc>
14599 </method>
14600 <method name="GetEnablePageNumbers" type="bool" overloaded="no">
14601 <autodoc>GetEnablePageNumbers(self) -&gt; bool</autodoc>
14602 </method>
14603 <method name="GetEnableHelp" type="bool" overloaded="no">
14604 <autodoc>GetEnableHelp(self) -&gt; bool</autodoc>
14605 </method>
14606 <method name="Ok" type="bool" overloaded="no">
14607 <autodoc>Ok(self) -&gt; bool</autodoc>
14608 </method>
14609 <method name="GetPrintData" type="PrintData" overloaded="no">
14610 <autodoc>GetPrintData(self) -&gt; PrintData</autodoc>
14611 </method>
14612 <method name="SetPrintData" type="" overloaded="no">
14613 <autodoc>SetPrintData(self, PrintData printData)</autodoc>
14614 <paramlist>
14615 <param name="printData" type="PrintData" default=""/>
14616 </paramlist>
14617 </method>
14618 </class>
14619 <class name="PrintDialog" oldname="wxPrintDialog" module="_windows">
14620 <baseclass name="Dialog"/>
14621 <constructor name="PrintDialog" overloaded="no">
14622 <autodoc>__init__(self, Window parent, PrintDialogData data=None) -&gt; PrintDialog</autodoc>
14623 <paramlist>
14624 <param name="parent" type="Window" default=""/>
14625 <param name="data" type="PrintDialogData" default="NULL"/>
14626 </paramlist>
14627 </constructor>
14628 <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no">
14629 <autodoc>GetPrintDialogData(self) -&gt; PrintDialogData</autodoc>
14630 </method>
14631 <method name="GetPrintDC" type="DC" overloaded="no">
14632 <autodoc>GetPrintDC(self) -&gt; DC</autodoc>
14633 </method>
14634 <method name="ShowModal" type="int" overloaded="no">
14635 <autodoc>ShowModal(self) -&gt; int</autodoc>
14636 </method>
14637 </class>
14638 <class name="Printer" oldname="wxPrinter" module="_windows">
14639 <baseclass name="Object"/>
14640 <constructor name="Printer" overloaded="no">
14641 <autodoc>__init__(self, PrintDialogData data=None) -&gt; Printer</autodoc>
14642 <paramlist>
14643 <param name="data" type="PrintDialogData" default="NULL"/>
14644 </paramlist>
14645 </constructor>
14646 <destructor name="~wxPrinter" overloaded="no">
14647 <autodoc>__del__(self)</autodoc>
14648 </destructor>
14649 <method name="CreateAbortWindow" type="" overloaded="no">
14650 <autodoc>CreateAbortWindow(self, Window parent, Printout printout)</autodoc>
14651 <paramlist>
14652 <param name="parent" type="Window" default=""/>
14653 <param name="printout" type="wxPyPrintout" default=""/>
14654 </paramlist>
14655 </method>
14656 <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no">
14657 <autodoc>GetPrintDialogData(self) -&gt; PrintDialogData</autodoc>
14658 </method>
14659 <method name="Print" type="bool" overloaded="no">
14660 <autodoc>Print(self, Window parent, Printout printout, int prompt=True) -&gt; bool</autodoc>
14661 <paramlist>
14662 <param name="parent" type="Window" default=""/>
14663 <param name="printout" type="wxPyPrintout" default=""/>
14664 <param name="prompt" type="int" default="True"/>
14665 </paramlist>
14666 </method>
14667 <method name="PrintDialog" type="DC" overloaded="no">
14668 <autodoc>PrintDialog(self, Window parent) -&gt; DC</autodoc>
14669 <paramlist>
14670 <param name="parent" type="Window" default=""/>
14671 </paramlist>
14672 </method>
14673 <method name="ReportError" type="" overloaded="no">
14674 <autodoc>ReportError(self, Window parent, Printout printout, String message)</autodoc>
14675 <paramlist>
14676 <param name="parent" type="Window" default=""/>
14677 <param name="printout" type="wxPyPrintout" default=""/>
14678 <param name="message" type="String" default=""/>
14679 </paramlist>
14680 </method>
14681 <method name="Setup" type="bool" overloaded="no">
14682 <autodoc>Setup(self, Window parent) -&gt; bool</autodoc>
14683 <paramlist>
14684 <param name="parent" type="Window" default=""/>
14685 </paramlist>
14686 </method>
14687 <method name="GetAbort" type="bool" overloaded="no">
14688 <autodoc>GetAbort(self) -&gt; bool</autodoc>
14689 </method>
14690 <staticmethod name="GetLastError" type="wxPrinterError" overloaded="no">
14691 <autodoc>GetLastError() -&gt; int</autodoc>
14692 </staticmethod>
14693 </class>
14694 <class name="Printout" oldname="wxPyPrintout" module="_windows">
14695 <baseclass name="Object"/>
14696 <constructor name="wxPyPrintout" overloaded="no">
14697 <autodoc>__init__(self, String title=PrintoutTitleStr) -&gt; Printout</autodoc>
14698 <paramlist>
14699 <param name="title" type="String" default="wxPyPrintoutTitleStr"/>
14700 </paramlist>
14701 </constructor>
14702 <method name="_setCallbackInfo" type="" overloaded="no">
14703 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
14704 <paramlist>
14705 <param name="self" type="PyObject" default=""/>
14706 <param name="_class" type="PyObject" default=""/>
14707 </paramlist>
14708 </method>
14709 <method name="GetTitle" type="String" overloaded="no">
14710 <autodoc>GetTitle(self) -&gt; String</autodoc>
14711 </method>
14712 <method name="GetDC" type="DC" overloaded="no">
14713 <autodoc>GetDC(self) -&gt; DC</autodoc>
14714 </method>
14715 <method name="SetDC" type="" overloaded="no">
14716 <autodoc>SetDC(self, DC dc)</autodoc>
14717 <paramlist>
14718 <param name="dc" type="DC" default=""/>
14719 </paramlist>
14720 </method>
14721 <method name="SetPageSizePixels" type="" overloaded="no">
14722 <autodoc>SetPageSizePixels(self, int w, int h)</autodoc>
14723 <paramlist>
14724 <param name="w" type="int" default=""/>
14725 <param name="h" type="int" default=""/>
14726 </paramlist>
14727 </method>
14728 <method name="GetPageSizePixels" type="" overloaded="no">
14729 <autodoc>GetPageSizePixels() -&gt; (w, h)</autodoc>
14730 <paramlist>
14731 <param name="OUTPUT" type="int" default=""/>
14732 <param name="OUTPUT" type="int" default=""/>
14733 </paramlist>
14734 </method>
14735 <method name="SetPageSizeMM" type="" overloaded="no">
14736 <autodoc>SetPageSizeMM(self, int w, int h)</autodoc>
14737 <paramlist>
14738 <param name="w" type="int" default=""/>
14739 <param name="h" type="int" default=""/>
14740 </paramlist>
14741 </method>
14742 <method name="GetPageSizeMM" type="" overloaded="no">
14743 <autodoc>GetPageSizeMM() -&gt; (w, h)</autodoc>
14744 <paramlist>
14745 <param name="OUTPUT" type="int" default=""/>
14746 <param name="OUTPUT" type="int" default=""/>
14747 </paramlist>
14748 </method>
14749 <method name="SetPPIScreen" type="" overloaded="no">
14750 <autodoc>SetPPIScreen(self, int x, int y)</autodoc>
14751 <paramlist>
14752 <param name="x" type="int" default=""/>
14753 <param name="y" type="int" default=""/>
14754 </paramlist>
14755 </method>
14756 <method name="GetPPIScreen" type="" overloaded="no">
14757 <autodoc>GetPPIScreen() -&gt; (x,y)</autodoc>
14758 <paramlist>
14759 <param name="OUTPUT" type="int" default=""/>
14760 <param name="OUTPUT" type="int" default=""/>
14761 </paramlist>
14762 </method>
14763 <method name="SetPPIPrinter" type="" overloaded="no">
14764 <autodoc>SetPPIPrinter(self, int x, int y)</autodoc>
14765 <paramlist>
14766 <param name="x" type="int" default=""/>
14767 <param name="y" type="int" default=""/>
14768 </paramlist>
14769 </method>
14770 <method name="GetPPIPrinter" type="" overloaded="no">
14771 <autodoc>GetPPIPrinter() -&gt; (x,y)</autodoc>
14772 <paramlist>
14773 <param name="OUTPUT" type="int" default=""/>
14774 <param name="OUTPUT" type="int" default=""/>
14775 </paramlist>
14776 </method>
14777 <method name="IsPreview" type="bool" overloaded="no">
14778 <autodoc>IsPreview(self) -&gt; bool</autodoc>
14779 </method>
14780 <method name="SetIsPreview" type="" overloaded="no">
14781 <autodoc>SetIsPreview(self, bool p)</autodoc>
14782 <paramlist>
14783 <param name="p" type="bool" default=""/>
14784 </paramlist>
14785 </method>
14786 <method name="base_OnBeginDocument" type="bool" overloaded="no">
14787 <autodoc>base_OnBeginDocument(self, int startPage, int endPage) -&gt; bool</autodoc>
14788 <paramlist>
14789 <param name="startPage" type="int" default=""/>
14790 <param name="endPage" type="int" default=""/>
14791 </paramlist>
14792 </method>
14793 <method name="base_OnEndDocument" type="" overloaded="no">
14794 <autodoc>base_OnEndDocument(self)</autodoc>
14795 </method>
14796 <method name="base_OnBeginPrinting" type="" overloaded="no">
14797 <autodoc>base_OnBeginPrinting(self)</autodoc>
14798 </method>
14799 <method name="base_OnEndPrinting" type="" overloaded="no">
14800 <autodoc>base_OnEndPrinting(self)</autodoc>
14801 </method>
14802 <method name="base_OnPreparePrinting" type="" overloaded="no">
14803 <autodoc>base_OnPreparePrinting(self)</autodoc>
14804 </method>
14805 <method name="base_HasPage" type="bool" overloaded="no">
14806 <autodoc>base_HasPage(self, int page) -&gt; bool</autodoc>
14807 <paramlist>
14808 <param name="page" type="int" default=""/>
14809 </paramlist>
14810 </method>
14811 <method name="base_GetPageInfo" type="" overloaded="no">
14812 <autodoc>base_GetPageInfo() -&gt; (minPage, maxPage, pageFrom, pageTo)</autodoc>
14813 <paramlist>
14814 <param name="OUTPUT" type="int" default=""/>
14815 <param name="OUTPUT" type="int" default=""/>
14816 <param name="OUTPUT" type="int" default=""/>
14817 <param name="OUTPUT" type="int" default=""/>
14818 </paramlist>
14819 </method>
14820 </class>
14821 <class name="PreviewCanvas" oldname="wxPreviewCanvas" module="_windows">
14822 <baseclass name="ScrolledWindow"/>
14823 <constructor name="PreviewCanvas" overloaded="no">
14824 <autodoc>__init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition,
14825 Size size=DefaultSize, long style=0,
14826 String name=PreviewCanvasNameStr) -&gt; PreviewCanvas</autodoc>
14827 <paramlist>
14828 <param name="preview" type="wxPrintPreview" default=""/>
14829 <param name="parent" type="Window" default=""/>
14830 <param name="pos" type="Point" default="wxDefaultPosition"/>
14831 <param name="size" type="Size" default="wxDefaultSize"/>
14832 <param name="style" type="long" default="0"/>
14833 <param name="name" type="String" default="wxPyPreviewCanvasNameStr"/>
14834 </paramlist>
14835 </constructor>
14836 </class>
14837 <class name="PreviewFrame" oldname="wxPreviewFrame" module="_windows">
14838 <baseclass name="Frame"/>
14839 <constructor name="PreviewFrame" overloaded="no">
14840 <autodoc>__init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
14841 Size size=DefaultSize,
14842 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -&gt; PreviewFrame</autodoc>
14843 <paramlist>
14844 <param name="preview" type="wxPrintPreview" default=""/>
14845 <param name="parent" type="Frame" default=""/>
14846 <param name="title" type="String" default=""/>
14847 <param name="pos" type="Point" default="wxDefaultPosition"/>
14848 <param name="size" type="Size" default="wxDefaultSize"/>
14849 <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
14850 <param name="name" type="String" default="wxPyFrameNameStr"/>
14851 </paramlist>
14852 </constructor>
14853 <method name="Initialize" type="" overloaded="no">
14854 <autodoc>Initialize(self)</autodoc>
14855 </method>
14856 <method name="CreateControlBar" type="" overloaded="no">
14857 <autodoc>CreateControlBar(self)</autodoc>
14858 </method>
14859 <method name="CreateCanvas" type="" overloaded="no">
14860 <autodoc>CreateCanvas(self)</autodoc>
14861 </method>
14862 <method name="GetControlBar" type="wxPreviewControlBar" overloaded="no">
14863 <autodoc>GetControlBar(self) -&gt; PreviewControlBar</autodoc>
14864 </method>
14865 </class>
14866 <class name="PreviewControlBar" oldname="wxPreviewControlBar" module="_windows">
14867 <baseclass name="Panel"/>
14868 <constructor name="PreviewControlBar" overloaded="no">
14869 <autodoc>__init__(self, PrintPreview preview, long buttons, Window parent,
14870 Point pos=DefaultPosition, Size size=DefaultSize,
14871 long style=TAB_TRAVERSAL, String name=PanelNameStr) -&gt; PreviewControlBar</autodoc>
14872 <paramlist>
14873 <param name="preview" type="wxPrintPreview" default=""/>
14874 <param name="buttons" type="long" default=""/>
14875 <param name="parent" type="Window" default=""/>
14876 <param name="pos" type="Point" default="wxDefaultPosition"/>
14877 <param name="size" type="Size" default="wxDefaultSize"/>
14878 <param name="style" type="long" default="wxTAB_TRAVERSAL"/>
14879 <param name="name" type="String" default="wxPyPanelNameStr"/>
14880 </paramlist>
14881 </constructor>
14882 <method name="GetZoomControl" type="int" overloaded="no">
14883 <autodoc>GetZoomControl(self) -&gt; int</autodoc>
14884 </method>
14885 <method name="SetZoomControl" type="" overloaded="no">
14886 <autodoc>SetZoomControl(self, int zoom)</autodoc>
14887 <paramlist>
14888 <param name="zoom" type="int" default=""/>
14889 </paramlist>
14890 </method>
14891 <method name="GetPrintPreview" type="wxPrintPreview" overloaded="no">
14892 <autodoc>GetPrintPreview(self) -&gt; PrintPreview</autodoc>
14893 </method>
14894 <method name="OnNext" type="" overloaded="no">
14895 <autodoc>OnNext(self)</autodoc>
14896 </method>
14897 <method name="OnPrevious" type="" overloaded="no">
14898 <autodoc>OnPrevious(self)</autodoc>
14899 </method>
14900 <method name="OnFirst" type="" overloaded="no">
14901 <autodoc>OnFirst(self)</autodoc>
14902 </method>
14903 <method name="OnLast" type="" overloaded="no">
14904 <autodoc>OnLast(self)</autodoc>
14905 </method>
14906 <method name="OnGoto" type="" overloaded="no">
14907 <autodoc>OnGoto(self)</autodoc>
14908 </method>
14909 </class>
14910 <class name="PrintPreview" oldname="wxPrintPreview" module="_windows">
14911 <baseclass name="Object"/>
14912 <constructor name="PrintPreview" overloaded="yes">
14913 <paramlist>
14914 <param name="printout" type="Printout" default=""/>
14915 <param name="printoutForPrinting" type="Printout" default=""/>
14916 <param name="data" type="PrintDialogData" default="NULL"/>
14917 </paramlist>
14918 </constructor>
14919 <constructor name="PrintPreview" overloaded="yes">
14920 <autodoc>__init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -&gt; PrintPreview
14921 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -&gt; PrintPreview</autodoc>
14922 <paramlist>
14923 <param name="printout" type="Printout" default=""/>
14924 <param name="printoutForPrinting" type="Printout" default=""/>
14925 <param name="data" type="PrintData" default=""/>
14926 </paramlist>
14927 </constructor>
14928 <method name="SetCurrentPage" type="bool" overloaded="no">
14929 <autodoc>SetCurrentPage(self, int pageNum) -&gt; bool</autodoc>
14930 <paramlist>
14931 <param name="pageNum" type="int" default=""/>
14932 </paramlist>
14933 </method>
14934 <method name="GetCurrentPage" type="int" overloaded="no">
14935 <autodoc>GetCurrentPage(self) -&gt; int</autodoc>
14936 </method>
14937 <method name="SetPrintout" type="" overloaded="no">
14938 <autodoc>SetPrintout(self, Printout printout)</autodoc>
14939 <paramlist>
14940 <param name="printout" type="Printout" default=""/>
14941 </paramlist>
14942 </method>
14943 <method name="GetPrintout" type="Printout" overloaded="no">
14944 <autodoc>GetPrintout(self) -&gt; Printout</autodoc>
14945 </method>
14946 <method name="GetPrintoutForPrinting" type="Printout" overloaded="no">
14947 <autodoc>GetPrintoutForPrinting(self) -&gt; Printout</autodoc>
14948 </method>
14949 <method name="SetFrame" type="" overloaded="no">
14950 <autodoc>SetFrame(self, Frame frame)</autodoc>
14951 <paramlist>
14952 <param name="frame" type="Frame" default=""/>
14953 </paramlist>
14954 </method>
14955 <method name="SetCanvas" type="" overloaded="no">
14956 <autodoc>SetCanvas(self, PreviewCanvas canvas)</autodoc>
14957 <paramlist>
14958 <param name="canvas" type="PreviewCanvas" default=""/>
14959 </paramlist>
14960 </method>
14961 <method name="GetFrame" type="Frame" overloaded="no">
14962 <autodoc>GetFrame(self) -&gt; Frame</autodoc>
14963 </method>
14964 <method name="GetCanvas" type="PreviewCanvas" overloaded="no">
14965 <autodoc>GetCanvas(self) -&gt; PreviewCanvas</autodoc>
14966 </method>
14967 <method name="PaintPage" type="bool" overloaded="no">
14968 <autodoc>PaintPage(self, PreviewCanvas canvas, DC dc) -&gt; bool</autodoc>
14969 <paramlist>
14970 <param name="canvas" type="PreviewCanvas" default=""/>
14971 <param name="dc" type="DC" default=""/>
14972 </paramlist>
14973 </method>
14974 <method name="DrawBlankPage" type="bool" overloaded="no">
14975 <autodoc>DrawBlankPage(self, PreviewCanvas canvas, DC dc) -&gt; bool</autodoc>
14976 <paramlist>
14977 <param name="canvas" type="PreviewCanvas" default=""/>
14978 <param name="dc" type="DC" default=""/>
14979 </paramlist>
14980 </method>
14981 <method name="RenderPage" type="bool" overloaded="no">
14982 <autodoc>RenderPage(self, int pageNum) -&gt; bool</autodoc>
14983 <paramlist>
14984 <param name="pageNum" type="int" default=""/>
14985 </paramlist>
14986 </method>
14987 <method name="AdjustScrollbars" type="" overloaded="no">
14988 <autodoc>AdjustScrollbars(self, PreviewCanvas canvas)</autodoc>
14989 <paramlist>
14990 <param name="canvas" type="PreviewCanvas" default=""/>
14991 </paramlist>
14992 </method>
14993 <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no">
14994 <autodoc>GetPrintDialogData(self) -&gt; PrintDialogData</autodoc>
14995 </method>
14996 <method name="SetZoom" type="" overloaded="no">
14997 <autodoc>SetZoom(self, int percent)</autodoc>
14998 <paramlist>
14999 <param name="percent" type="int" default=""/>
15000 </paramlist>
15001 </method>
15002 <method name="GetZoom" type="int" overloaded="no">
15003 <autodoc>GetZoom(self) -&gt; int</autodoc>
15004 </method>
15005 <method name="GetMaxPage" type="int" overloaded="no">
15006 <autodoc>GetMaxPage(self) -&gt; int</autodoc>
15007 </method>
15008 <method name="GetMinPage" type="int" overloaded="no">
15009 <autodoc>GetMinPage(self) -&gt; int</autodoc>
15010 </method>
15011 <method name="Ok" type="bool" overloaded="no">
15012 <autodoc>Ok(self) -&gt; bool</autodoc>
15013 </method>
15014 <method name="SetOk" type="" overloaded="no">
15015 <autodoc>SetOk(self, bool ok)</autodoc>
15016 <paramlist>
15017 <param name="ok" type="bool" default=""/>
15018 </paramlist>
15019 </method>
15020 <method name="Print" type="bool" overloaded="no">
15021 <autodoc>Print(self, bool interactive) -&gt; bool</autodoc>
15022 <paramlist>
15023 <param name="interactive" type="bool" default=""/>
15024 </paramlist>
15025 </method>
15026 <method name="DetermineScaling" type="" overloaded="no">
15027 <autodoc>DetermineScaling(self)</autodoc>
15028 </method>
15029 </class>
15030 <class name="PyPrintPreview" oldname="wxPyPrintPreview" module="_windows">
15031 <baseclass name="PrintPreview"/>
15032 <constructor name="PyPrintPreview" overloaded="yes">
15033 <paramlist>
15034 <param name="printout" type="Printout" default=""/>
15035 <param name="printoutForPrinting" type="Printout" default=""/>
15036 <param name="data" type="PrintDialogData" default="NULL"/>
15037 </paramlist>
15038 </constructor>
15039 <constructor name="PyPrintPreview" overloaded="yes">
15040 <autodoc>__init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -&gt; PyPrintPreview
15041 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -&gt; PyPrintPreview</autodoc>
15042 <paramlist>
15043 <param name="printout" type="Printout" default=""/>
15044 <param name="printoutForPrinting" type="Printout" default=""/>
15045 <param name="data" type="PrintData" default=""/>
15046 </paramlist>
15047 </constructor>
15048 <method name="_setCallbackInfo" type="" overloaded="no">
15049 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
15050 <paramlist>
15051 <param name="self" type="PyObject" default=""/>
15052 <param name="_class" type="PyObject" default=""/>
15053 </paramlist>
15054 </method>
15055 <method name="base_SetCurrentPage" type="bool" overloaded="no">
15056 <autodoc>base_SetCurrentPage(self, int pageNum) -&gt; bool</autodoc>
15057 <paramlist>
15058 <param name="pageNum" type="int" default=""/>
15059 </paramlist>
15060 </method>
15061 <method name="base_PaintPage" type="bool" overloaded="no">
15062 <autodoc>base_PaintPage(self, PreviewCanvas canvas, DC dc) -&gt; bool</autodoc>
15063 <paramlist>
15064 <param name="canvas" type="PreviewCanvas" default=""/>
15065 <param name="dc" type="DC" default=""/>
15066 </paramlist>
15067 </method>
15068 <method name="base_DrawBlankPage" type="bool" overloaded="no">
15069 <autodoc>base_DrawBlankPage(self, PreviewCanvas canvas, DC dc) -&gt; bool</autodoc>
15070 <paramlist>
15071 <param name="canvas" type="PreviewCanvas" default=""/>
15072 <param name="dc" type="DC" default=""/>
15073 </paramlist>
15074 </method>
15075 <method name="base_RenderPage" type="bool" overloaded="no">
15076 <autodoc>base_RenderPage(self, int pageNum) -&gt; bool</autodoc>
15077 <paramlist>
15078 <param name="pageNum" type="int" default=""/>
15079 </paramlist>
15080 </method>
15081 <method name="base_SetZoom" type="" overloaded="no">
15082 <autodoc>base_SetZoom(self, int percent)</autodoc>
15083 <paramlist>
15084 <param name="percent" type="int" default=""/>
15085 </paramlist>
15086 </method>
15087 <method name="base_Print" type="bool" overloaded="no">
15088 <autodoc>base_Print(self, bool interactive) -&gt; bool</autodoc>
15089 <paramlist>
15090 <param name="interactive" type="bool" default=""/>
15091 </paramlist>
15092 </method>
15093 <method name="base_DetermineScaling" type="" overloaded="no">
15094 <autodoc>base_DetermineScaling(self)</autodoc>
15095 </method>
15096 </class>
15097 <class name="PyPreviewFrame" oldname="wxPyPreviewFrame" module="_windows">
15098 <baseclass name="PreviewFrame"/>
15099 <constructor name="PyPreviewFrame" overloaded="no">
15100 <autodoc>__init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
15101 Size size=DefaultSize,
15102 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -&gt; PyPreviewFrame</autodoc>
15103 <paramlist>
15104 <param name="preview" type="PrintPreview" default=""/>
15105 <param name="parent" type="Frame" default=""/>
15106 <param name="title" type="String" default=""/>
15107 <param name="pos" type="Point" default="wxDefaultPosition"/>
15108 <param name="size" type="Size" default="wxDefaultSize"/>
15109 <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
15110 <param name="name" type="String" default="wxPyFrameNameStr"/>
15111 </paramlist>
15112 </constructor>
15113 <method name="_setCallbackInfo" type="" overloaded="no">
15114 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
15115 <paramlist>
15116 <param name="self" type="PyObject" default=""/>
15117 <param name="_class" type="PyObject" default=""/>
15118 </paramlist>
15119 </method>
15120 <method name="SetPreviewCanvas" type="" overloaded="no">
15121 <autodoc>SetPreviewCanvas(self, PreviewCanvas canvas)</autodoc>
15122 <paramlist>
15123 <param name="canvas" type="PreviewCanvas" default=""/>
15124 </paramlist>
15125 </method>
15126 <method name="SetControlBar" type="" overloaded="no">
15127 <autodoc>SetControlBar(self, PreviewControlBar bar)</autodoc>
15128 <paramlist>
15129 <param name="bar" type="PreviewControlBar" default=""/>
15130 </paramlist>
15131 </method>
15132 <method name="base_Initialize" type="" overloaded="no">
15133 <autodoc>base_Initialize(self)</autodoc>
15134 </method>
15135 <method name="base_CreateCanvas" type="" overloaded="no">
15136 <autodoc>base_CreateCanvas(self)</autodoc>
15137 </method>
15138 <method name="base_CreateControlBar" type="" overloaded="no">
15139 <autodoc>base_CreateControlBar(self)</autodoc>
15140 </method>
15141 </class>
15142 <class name="PyPreviewControlBar" oldname="wxPyPreviewControlBar" module="_windows">
15143 <baseclass name="PreviewControlBar"/>
15144 <constructor name="PyPreviewControlBar" overloaded="no">
15145 <autodoc>__init__(self, PrintPreview preview, long buttons, Window parent,
15146 Point pos=DefaultPosition, Size size=DefaultSize,
15147 long style=0, String name=PanelNameStr) -&gt; PyPreviewControlBar</autodoc>
15148 <paramlist>
15149 <param name="preview" type="PrintPreview" default=""/>
15150 <param name="buttons" type="long" default=""/>
15151 <param name="parent" type="Window" default=""/>
15152 <param name="pos" type="Point" default="wxDefaultPosition"/>
15153 <param name="size" type="Size" default="wxDefaultSize"/>
15154 <param name="style" type="long" default="0"/>
15155 <param name="name" type="String" default="wxPyPanelNameStr"/>
15156 </paramlist>
15157 </constructor>
15158 <method name="_setCallbackInfo" type="" overloaded="no">
15159 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
15160 <paramlist>
15161 <param name="self" type="PyObject" default=""/>
15162 <param name="_class" type="PyObject" default=""/>
15163 </paramlist>
15164 </method>
15165 <method name="SetPrintPreview" type="" overloaded="no">
15166 <autodoc>SetPrintPreview(self, PrintPreview preview)</autodoc>
15167 <paramlist>
15168 <param name="preview" type="PrintPreview" default=""/>
15169 </paramlist>
15170 </method>
15171 <method name="base_CreateButtons" type="" overloaded="no">
15172 <autodoc>base_CreateButtons(self)</autodoc>
15173 </method>
15174 <method name="base_SetZoomControl" type="" overloaded="no">
15175 <autodoc>base_SetZoomControl(self, int zoom)</autodoc>
15176 <paramlist>
15177 <param name="zoom" type="int" default=""/>
15178 </paramlist>
15179 </method>
15180 </class>
15181 </module>
15182 <module name="_controls">
15183 <import name="_core"/>
15184 <pythoncode> wx = _core </pythoncode>
15185 <pythoncode>
15186 #---------------------------------------------------------------------------
15187 </pythoncode>
15188 <class name="Button" oldname="wxButton" module="_controls">
15189 <docstring>A button is a control that contains a text string, and is one of the most
15190 common elements of a GUI. It may be placed on a dialog box or panel, or
15191 indeed almost any other window.</docstring>
15192 <baseclass name="Control"/>
15193 <constructor name="Button" overloaded="no">
15194 <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString,
15195 Point pos=DefaultPosition, Size size=DefaultSize,
15196 long style=0, Validator validator=DefaultValidator,
15197 String name=ButtonNameStr) -&gt; Button</autodoc>
15198 <docstring>Create and show a button.</docstring>
15199 <paramlist>
15200 <param name="parent" type="Window" default=""/>
15201 <param name="id" type="int" default="-1"/>
15202 <param name="label" type="String" default="wxPyEmptyString"/>
15203 <param name="pos" type="Point" default="wxDefaultPosition"/>
15204 <param name="size" type="Size" default="wxDefaultSize"/>
15205 <param name="style" type="long" default="0"/>
15206 <param name="validator" type="Validator" default="wxDefaultValidator"/>
15207 <param name="name" type="String" default="wxPyButtonNameStr"/>
15208 </paramlist>
15209 </constructor>
15210 <constructor name="PreButton" overloaded="no">
15211 <autodoc>PreButton() -&gt; Button</autodoc>
15212 <docstring>Precreate a Button for 2-phase creation.</docstring>
15213 </constructor>
15214 <method name="Create" type="bool" overloaded="no">
15215 <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString,
15216 Point pos=DefaultPosition, Size size=DefaultSize,
15217 long style=0, Validator validator=DefaultValidator,
15218 String name=ButtonNameStr) -&gt; bool</autodoc>
15219 <docstring>Acutally create the GUI Button for 2-phase creation.</docstring>
15220 <paramlist>
15221 <param name="parent" type="Window" default=""/>
15222 <param name="id" type="int" default="-1"/>
15223 <param name="label" type="String" default="wxPyEmptyString"/>
15224 <param name="pos" type="Point" default="wxDefaultPosition"/>
15225 <param name="size" type="Size" default="wxDefaultSize"/>
15226 <param name="style" type="long" default="0"/>
15227 <param name="validator" type="Validator" default="wxDefaultValidator"/>
15228 <param name="name" type="String" default="wxPyButtonNameStr"/>
15229 </paramlist>
15230 </method>
15231 <method name="SetDefault" type="" overloaded="no">
15232 <autodoc>SetDefault(self)</autodoc>
15233 <docstring>This sets the button to be the default item for the panel or dialog box.</docstring>
15234 </method>
15235 <staticmethod name="GetDefaultSize" type="Size" overloaded="no">
15236 <autodoc>GetDefaultSize() -&gt; Size</autodoc>
15237 <docstring>Returns the default button size for this platform.</docstring>
15238 </staticmethod>
15239 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
15240 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
15241 <docstring>Get the default attributes for this class. This is useful if you want
15242 to use the same font or colour in your own control as in a standard
15243 control -- which is a much better idea than hard coding specific
15244 colours or fonts which might look completely out of place on the
15245 user's system, especially if it uses themes.
15246
15247 The variant parameter is only relevant under Mac currently and is
15248 ignore under other platforms. Under Mac, it will change the size of
15249 the returned font. See `wx.Window.SetWindowVariant` for more about
15250 this.</docstring>
15251 <paramlist>
15252 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
15253 </paramlist>
15254 </staticmethod>
15255 </class>
15256 <class name="BitmapButton" oldname="wxBitmapButton" module="_controls">
15257 <docstring>A Button that contains a bitmap. A bitmap button can be supplied with a
15258 single bitmap, and wxWidgets will draw all button states using this bitmap. If
15259 the application needs more control, additional bitmaps for the selected state,
15260 unpressed focused state, and greyed-out state may be supplied.</docstring>
15261 <baseclass name="Button"/>
15262 <constructor name="BitmapButton" overloaded="no">
15263 <autodoc>__init__(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap,
15264 Point pos=DefaultPosition, Size size=DefaultSize,
15265 long style=BU_AUTODRAW, Validator validator=DefaultValidator,
15266 String name=ButtonNameStr) -&gt; BitmapButton</autodoc>
15267 <docstring>Create and show a button with a bitmap for the label.</docstring>
15268 <paramlist>
15269 <param name="parent" type="Window" default=""/>
15270 <param name="id" type="int" default="-1"/>
15271 <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
15272 <param name="pos" type="Point" default="wxDefaultPosition"/>
15273 <param name="size" type="Size" default="wxDefaultSize"/>
15274 <param name="style" type="long" default="wxBU_AUTODRAW"/>
15275 <param name="validator" type="Validator" default="wxDefaultValidator"/>
15276 <param name="name" type="String" default="wxPyButtonNameStr"/>
15277 </paramlist>
15278 </constructor>
15279 <constructor name="PreBitmapButton" overloaded="no">
15280 <autodoc>PreBitmapButton() -&gt; BitmapButton</autodoc>
15281 <docstring>Precreate a BitmapButton for 2-phase creation.</docstring>
15282 </constructor>
15283 <method name="Create" type="bool" overloaded="no">
15284 <autodoc>Create(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap,
15285 Point pos=DefaultPosition, Size size=DefaultSize,
15286 long style=BU_AUTODRAW, Validator validator=DefaultValidator,
15287 String name=ButtonNameStr) -&gt; bool</autodoc>
15288 <docstring>Acutally create the GUI BitmapButton for 2-phase creation.</docstring>
15289 <paramlist>
15290 <param name="parent" type="Window" default=""/>
15291 <param name="id" type="int" default="-1"/>
15292 <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
15293 <param name="pos" type="Point" default="wxDefaultPosition"/>
15294 <param name="size" type="Size" default="wxDefaultSize"/>
15295 <param name="style" type="long" default="wxBU_AUTODRAW"/>
15296 <param name="validator" type="Validator" default="wxDefaultValidator"/>
15297 <param name="name" type="String" default="wxPyButtonNameStr"/>
15298 </paramlist>
15299 </method>
15300 <method name="GetBitmapLabel" type="Bitmap" overloaded="no">
15301 <autodoc>GetBitmapLabel(self) -&gt; Bitmap</autodoc>
15302 <docstring>Returns the label bitmap (the one passed to the constructor).</docstring>
15303 </method>
15304 <method name="GetBitmapDisabled" type="Bitmap" overloaded="no">
15305 <autodoc>GetBitmapDisabled(self) -&gt; Bitmap</autodoc>
15306 <docstring>Returns the bitmap for the disabled state.</docstring>
15307 </method>
15308 <method name="GetBitmapFocus" type="Bitmap" overloaded="no">
15309 <autodoc>GetBitmapFocus(self) -&gt; Bitmap</autodoc>
15310 <docstring>Returns the bitmap for the focused state.</docstring>
15311 </method>
15312 <method name="GetBitmapSelected" type="Bitmap" overloaded="no">
15313 <autodoc>GetBitmapSelected(self) -&gt; Bitmap</autodoc>
15314 <docstring>Returns the bitmap for the selected state.</docstring>
15315 </method>
15316 <method name="SetBitmapDisabled" type="" overloaded="no">
15317 <autodoc>SetBitmapDisabled(self, Bitmap bitmap)</autodoc>
15318 <docstring>Sets the bitmap for the disabled button appearance.</docstring>
15319 <paramlist>
15320 <param name="bitmap" type="Bitmap" default=""/>
15321 </paramlist>
15322 </method>
15323 <method name="SetBitmapFocus" type="" overloaded="no">
15324 <autodoc>SetBitmapFocus(self, Bitmap bitmap)</autodoc>
15325 <docstring>Sets the bitmap for the button appearance when it has the keyboard focus.</docstring>
15326 <paramlist>
15327 <param name="bitmap" type="Bitmap" default=""/>
15328 </paramlist>
15329 </method>
15330 <method name="SetBitmapSelected" type="" overloaded="no">
15331 <autodoc>SetBitmapSelected(self, Bitmap bitmap)</autodoc>
15332 <docstring>Sets the bitmap for the selected (depressed) button appearance.</docstring>
15333 <paramlist>
15334 <param name="bitmap" type="Bitmap" default=""/>
15335 </paramlist>
15336 </method>
15337 <method name="SetBitmapLabel" type="" overloaded="no">
15338 <autodoc>SetBitmapLabel(self, Bitmap bitmap)</autodoc>
15339 <docstring>Sets the bitmap label for the button. This is the bitmap used for the
15340 unselected state, and for all other states if no other bitmaps are provided.</docstring>
15341 <paramlist>
15342 <param name="bitmap" type="Bitmap" default=""/>
15343 </paramlist>
15344 </method>
15345 <method name="SetMargins" type="" overloaded="no">
15346 <autodoc>SetMargins(self, int x, int y)</autodoc>
15347 <paramlist>
15348 <param name="x" type="int" default=""/>
15349 <param name="y" type="int" default=""/>
15350 </paramlist>
15351 </method>
15352 <method name="GetMarginX" type="int" overloaded="no">
15353 <autodoc>GetMarginX(self) -&gt; int</autodoc>
15354 </method>
15355 <method name="GetMarginY" type="int" overloaded="no">
15356 <autodoc>GetMarginY(self) -&gt; int</autodoc>
15357 </method>
15358 </class>
15359 <pythoncode>
15360 #---------------------------------------------------------------------------
15361 </pythoncode>
15362 <class name="CheckBox" oldname="wxCheckBox" module="_controls">
15363 <docstring>A checkbox is a labelled box which by default is either on (the
15364 checkmark is visible) or off (no checkmark). Optionally (When the
15365 wx.CHK_3STATE style flag is set) it can have a third state, called the
15366 mixed or undetermined state. Often this is used as a "Does Not
15367 Apply" state.</docstring>
15368 <baseclass name="Control"/>
15369 <constructor name="CheckBox" overloaded="no">
15370 <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString,
15371 Point pos=DefaultPosition, Size size=DefaultSize,
15372 long style=0, Validator validator=DefaultValidator,
15373 String name=CheckBoxNameStr) -&gt; CheckBox</autodoc>
15374 <docstring>Creates and shows a CheckBox control</docstring>
15375 <paramlist>
15376 <param name="parent" type="Window" default=""/>
15377 <param name="id" type="int" default="-1"/>
15378 <param name="label" type="String" default="wxPyEmptyString"/>
15379 <param name="pos" type="Point" default="wxDefaultPosition"/>
15380 <param name="size" type="Size" default="wxDefaultSize"/>
15381 <param name="style" type="long" default="0"/>
15382 <param name="validator" type="Validator" default="wxDefaultValidator"/>
15383 <param name="name" type="String" default="wxPyCheckBoxNameStr"/>
15384 </paramlist>
15385 </constructor>
15386 <constructor name="PreCheckBox" overloaded="no">
15387 <autodoc>PreCheckBox() -&gt; CheckBox</autodoc>
15388 <docstring>Precreate a CheckBox for 2-phase creation.</docstring>
15389 </constructor>
15390 <method name="Create" type="bool" overloaded="no">
15391 <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString,
15392 Point pos=DefaultPosition, Size size=DefaultSize,
15393 long style=0, Validator validator=DefaultValidator,
15394 String name=CheckBoxNameStr) -&gt; bool</autodoc>
15395 <docstring>Actually create the GUI CheckBox for 2-phase creation.</docstring>
15396 <paramlist>
15397 <param name="parent" type="Window" default=""/>
15398 <param name="id" type="int" default="-1"/>
15399 <param name="label" type="String" default="wxPyEmptyString"/>
15400 <param name="pos" type="Point" default="wxDefaultPosition"/>
15401 <param name="size" type="Size" default="wxDefaultSize"/>
15402 <param name="style" type="long" default="0"/>
15403 <param name="validator" type="Validator" default="wxDefaultValidator"/>
15404 <param name="name" type="String" default="wxPyCheckBoxNameStr"/>
15405 </paramlist>
15406 </method>
15407 <method name="GetValue" type="bool" overloaded="no">
15408 <autodoc>GetValue(self) -&gt; bool</autodoc>
15409 <docstring>Gets the state of a 2-state CheckBox. Returns True if it is checked,
15410 False otherwise.</docstring>
15411 </method>
15412 <method name="IsChecked" type="bool" overloaded="no">
15413 <autodoc>IsChecked(self) -&gt; bool</autodoc>
15414 <docstring>Similar to GetValue, but raises an exception if it is not a 2-state
15415 CheckBox.</docstring>
15416 </method>
15417 <method name="SetValue" type="" overloaded="no">
15418 <autodoc>SetValue(self, bool state)</autodoc>
15419 <docstring>Set the state of a 2-state CheckBox. Pass True for checked, False for
15420 unchecked.</docstring>
15421 <paramlist>
15422 <param name="state" type="bool" default=""/>
15423 </paramlist>
15424 </method>
15425 <method name="Get3StateValue" type="wxCheckBoxState" overloaded="no">
15426 <autodoc>Get3StateValue(self) -&gt; int</autodoc>
15427 <docstring>Returns wx.CHK_UNCHECKED when the CheckBox is unchecked,
15428 wx.CHK_CHECKED when it is checked and wx.CHK_UNDETERMINED when it's in
15429 the undetermined state. Raises an exceptiion when the function is
15430 used with a 2-state CheckBox.</docstring>
15431 </method>
15432 <method name="Set3StateValue" type="" overloaded="no">
15433 <autodoc>Set3StateValue(self, int state)</autodoc>
15434 <docstring>Sets the CheckBox to the given state. The state parameter can be one
15435 of the following: wx.CHK_UNCHECKED (Check is off), wx.CHK_CHECKED (the
15436 Check is on) or wx.CHK_UNDETERMINED (Check is mixed). Raises an
15437 exception when the CheckBox is a 2-state checkbox and setting the
15438 state to wx.CHK_UNDETERMINED.</docstring>
15439 <paramlist>
15440 <param name="state" type="wxCheckBoxState" default=""/>
15441 </paramlist>
15442 </method>
15443 <method name="Is3State" type="bool" overloaded="no">
15444 <autodoc>Is3State(self) -&gt; bool</autodoc>
15445 <docstring>Returns whether or not the CheckBox is a 3-state CheckBox.</docstring>
15446 </method>
15447 <method name="Is3rdStateAllowedForUser" type="bool" overloaded="no">
15448 <autodoc>Is3rdStateAllowedForUser(self) -&gt; bool</autodoc>
15449 <docstring>Returns whether or not the user can set the CheckBox to the third
15450 state.</docstring>
15451 </method>
15452 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
15453 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
15454 <docstring>Get the default attributes for this class. This is useful if you want
15455 to use the same font or colour in your own control as in a standard
15456 control -- which is a much better idea than hard coding specific
15457 colours or fonts which might look completely out of place on the
15458 user's system, especially if it uses themes.
15459
15460 The variant parameter is only relevant under Mac currently and is
15461 ignore under other platforms. Under Mac, it will change the size of
15462 the returned font. See `wx.Window.SetWindowVariant` for more about
15463 this.</docstring>
15464 <paramlist>
15465 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
15466 </paramlist>
15467 </staticmethod>
15468 </class>
15469 <pythoncode>
15470 #---------------------------------------------------------------------------
15471 </pythoncode>
15472 <class name="Choice" oldname="wxChoice" module="_controls">
15473 <docstring>A Choice control is used to select one of a list of strings.
15474 Unlike a `wx.ListBox`, only the selection is visible until the
15475 user pulls down the menu of choices.</docstring>
15476 <baseclass name="ControlWithItems"/>
15477 <constructor name="Choice" overloaded="no">
15478 <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
15479 List choices=[], long style=0, Validator validator=DefaultValidator,
15480 String name=ChoiceNameStr) -&gt; Choice</autodoc>
15481 <docstring>Create and show a Choice control</docstring>
15482 <paramlist>
15483 <param name="parent" type="Window" default=""/>
15484 <param name="id" type="int" default="-1"/>
15485 <param name="pos" type="Point" default="wxDefaultPosition"/>
15486 <param name="size" type="Size" default="wxDefaultSize"/>
15487 <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
15488 <param name="style" type="long" default="0"/>
15489 <param name="validator" type="Validator" default="wxDefaultValidator"/>
15490 <param name="name" type="String" default="wxPyChoiceNameStr"/>
15491 </paramlist>
15492 </constructor>
15493 <constructor name="PreChoice" overloaded="no">
15494 <autodoc>PreChoice() -&gt; Choice</autodoc>
15495 <docstring>Precreate a Choice control for 2-phase creation.</docstring>
15496 </constructor>
15497 <method name="Create" type="bool" overloaded="no">
15498 <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
15499 List choices=[], long style=0, Validator validator=DefaultValidator,
15500 String name=ChoiceNameStr) -&gt; bool</autodoc>
15501 <paramlist>
15502 <param name="parent" type="Window" default=""/>
15503 <param name="id" type="int" default="-1"/>
15504 <param name="pos" type="Point" default="wxDefaultPosition"/>
15505 <param name="size" type="Size" default="wxDefaultSize"/>
15506 <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
15507 <param name="style" type="long" default="0"/>
15508 <param name="validator" type="Validator" default="wxDefaultValidator"/>
15509 <param name="name" type="String" default="wxPyChoiceNameStr"/>
15510 </paramlist>
15511 </method>
15512 <method name="SetSelection" type="" overloaded="no">
15513 <autodoc>SetSelection(self, int n)</autodoc>
15514 <docstring>Select the n'th item (zero based) in the list.</docstring>
15515 <paramlist>
15516 <param name="n" type="int" default=""/>
15517 </paramlist>
15518 </method>
15519 <method name="SetStringSelection" type="bool" overloaded="no">
15520 <autodoc>SetStringSelection(self, String string) -&gt; bool</autodoc>
15521 <docstring>Select the item with the specifed string</docstring>
15522 <paramlist>
15523 <param name="string" type="String" default=""/>
15524 </paramlist>
15525 </method>
15526 <method name="SetString" type="" overloaded="no">
15527 <autodoc>SetString(self, int n, String string)</autodoc>
15528 <docstring>Set the label for the n'th item (zero based) in the list.</docstring>
15529 <paramlist>
15530 <param name="n" type="int" default=""/>
15531 <param name="string" type="String" default=""/>
15532 </paramlist>
15533 </method>
15534 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
15535 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
15536 <docstring>Get the default attributes for this class. This is useful if you want
15537 to use the same font or colour in your own control as in a standard
15538 control -- which is a much better idea than hard coding specific
15539 colours or fonts which might look completely out of place on the
15540 user's system, especially if it uses themes.
15541
15542 The variant parameter is only relevant under Mac currently and is
15543 ignore under other platforms. Under Mac, it will change the size of
15544 the returned font. See `wx.Window.SetWindowVariant` for more about
15545 this.</docstring>
15546 <paramlist>
15547 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
15548 </paramlist>
15549 </staticmethod>
15550 </class>
15551 <pythoncode>
15552 #---------------------------------------------------------------------------
15553 </pythoncode>
15554 <class name="ComboBox" oldname="wxComboBox" module="_controls">
15555 <docstring>A combobox is like a combination of an edit control and a
15556 listbox. It can be displayed as static list with editable or
15557 read-only text field; or a drop-down list with text field.
15558
15559 A combobox permits a single selection only. Combobox items are
15560 numbered from zero.</docstring>
15561 <baseclass name="Control"/>
15562 <baseclass name="ItemContainer"/>
15563 <constructor name="ComboBox" overloaded="no">
15564 <autodoc>__init__(Window parent, int id, String value=EmptyString,
15565 Point pos=DefaultPosition, Size size=DefaultSize,
15566 List choices=[], long style=0, Validator validator=DefaultValidator,
15567 String name=ComboBoxNameStr) -&gt; ComboBox</autodoc>
15568 <docstring>Constructor, creates and shows a ComboBox control.</docstring>
15569 <paramlist>
15570 <param name="parent" type="Window" default=""/>
15571 <param name="id" type="int" default="-1"/>
15572 <param name="value" type="String" default="wxPyEmptyString"/>
15573 <param name="pos" type="Point" default="wxDefaultPosition"/>
15574 <param name="size" type="Size" default="wxDefaultSize"/>
15575 <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
15576 <param name="style" type="long" default="0"/>
15577 <param name="validator" type="Validator" default="wxDefaultValidator"/>
15578 <param name="name" type="String" default="wxPyComboBoxNameStr"/>
15579 </paramlist>
15580 </constructor>
15581 <constructor name="PreComboBox" overloaded="no">
15582 <autodoc>PreComboBox() -&gt; ComboBox</autodoc>
15583 <docstring>Precreate a ComboBox control for 2-phase creation.</docstring>
15584 </constructor>
15585 <method name="Create" type="bool" overloaded="no">
15586 <autodoc>Create(Window parent, int id, String value=EmptyString,
15587 Point pos=DefaultPosition, Size size=DefaultSize,
15588 List choices=[], long style=0, Validator validator=DefaultValidator,
15589 String name=ChoiceNameStr) -&gt; bool</autodoc>
15590 <paramlist>
15591 <param name="parent" type="Window" default=""/>
15592 <param name="id" type="int" default="-1"/>
15593 <param name="value" type="String" default="wxPyEmptyString"/>
15594 <param name="pos" type="Point" default="wxDefaultPosition"/>
15595 <param name="size" type="Size" default="wxDefaultSize"/>
15596 <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
15597 <param name="style" type="long" default="0"/>
15598 <param name="validator" type="Validator" default="wxDefaultValidator"/>
15599 <param name="name" type="String" default="wxPyChoiceNameStr"/>
15600 </paramlist>
15601 </method>
15602 <method name="GetValue" type="String" overloaded="no">
15603 <autodoc>GetValue(self) -&gt; String</autodoc>
15604 <docstring>Returns the current value in the combobox text field.</docstring>
15605 </method>
15606 <method name="SetValue" type="" overloaded="no">
15607 <autodoc>SetValue(self, String value)</autodoc>
15608 <paramlist>
15609 <param name="value" type="String" default=""/>
15610 </paramlist>
15611 </method>
15612 <method name="Copy" type="" overloaded="no">
15613 <autodoc>Copy(self)</autodoc>
15614 <docstring>Copies the selected text to the clipboard.</docstring>
15615 </method>
15616 <method name="Cut" type="" overloaded="no">
15617 <autodoc>Cut(self)</autodoc>
15618 <docstring>Copies the selected text to the clipboard and removes the selection.</docstring>
15619 </method>
15620 <method name="Paste" type="" overloaded="no">
15621 <autodoc>Paste(self)</autodoc>
15622 <docstring>Pastes text from the clipboard to the text field.</docstring>
15623 </method>
15624 <method name="SetInsertionPoint" type="" overloaded="no">
15625 <autodoc>SetInsertionPoint(self, long pos)</autodoc>
15626 <docstring>Sets the insertion point in the combobox text field.</docstring>
15627 <paramlist>
15628 <param name="pos" type="long" default=""/>
15629 </paramlist>
15630 </method>
15631 <method name="GetInsertionPoint" type="long" overloaded="no">
15632 <autodoc>GetInsertionPoint(self) -&gt; long</autodoc>
15633 <docstring>Returns the insertion point for the combobox's text field.</docstring>
15634 </method>
15635 <method name="GetLastPosition" type="long" overloaded="no">
15636 <autodoc>GetLastPosition(self) -&gt; long</autodoc>
15637 <docstring>Returns the last position in the combobox text field.</docstring>
15638 </method>
15639 <method name="Replace" type="" overloaded="no">
15640 <autodoc>Replace(self, long from, long to, String value)</autodoc>
15641 <docstring>Replaces the text between two positions with the given text, in the
15642 combobox text field.</docstring>
15643 <paramlist>
15644 <param name="from" type="long" default=""/>
15645 <param name="to" type="long" default=""/>
15646 <param name="value" type="String" default=""/>
15647 </paramlist>
15648 </method>
15649 <method name="SetSelection" type="" overloaded="no">
15650 <autodoc>SetSelection(self, int n)</autodoc>
15651 <docstring>Sets the item at index 'n' to be the selected item.</docstring>
15652 <paramlist>
15653 <param name="n" type="int" default=""/>
15654 </paramlist>
15655 </method>
15656 <method name="SetMark" type="" overloaded="no">
15657 <autodoc>SetMark(self, long from, long to)</autodoc>
15658 <docstring>Selects the text between the two positions in the combobox text field.</docstring>
15659 <paramlist>
15660 <param name="from" type="long" default=""/>
15661 <param name="to" type="long" default=""/>
15662 </paramlist>
15663 </method>
15664 <method name="SetStringSelection" type="bool" overloaded="no">
15665 <autodoc>SetStringSelection(self, String string) -&gt; bool</autodoc>
15666 <docstring>Select the item with the specifed string</docstring>
15667 <paramlist>
15668 <param name="string" type="String" default=""/>
15669 </paramlist>
15670 </method>
15671 <method name="SetString" type="" overloaded="no">
15672 <autodoc>SetString(self, int n, String string)</autodoc>
15673 <docstring>Set the label for the n'th item (zero based) in the list.</docstring>
15674 <paramlist>
15675 <param name="n" type="int" default=""/>
15676 <param name="string" type="String" default=""/>
15677 </paramlist>
15678 </method>
15679 <method name="SetEditable" type="" overloaded="no">
15680 <autodoc>SetEditable(self, bool editable)</autodoc>
15681 <paramlist>
15682 <param name="editable" type="bool" default=""/>
15683 </paramlist>
15684 </method>
15685 <method name="SetInsertionPointEnd" type="" overloaded="no">
15686 <autodoc>SetInsertionPointEnd(self)</autodoc>
15687 <docstring>Sets the insertion point at the end of the combobox text field.</docstring>
15688 </method>
15689 <method name="Remove" type="" overloaded="no">
15690 <autodoc>Remove(self, long from, long to)</autodoc>
15691 <docstring>Removes the text between the two positions in the combobox text field.</docstring>
15692 <paramlist>
15693 <param name="from" type="long" default=""/>
15694 <param name="to" type="long" default=""/>
15695 </paramlist>
15696 </method>
15697 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
15698 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
15699 <docstring>Get the default attributes for this class. This is useful if you want
15700 to use the same font or colour in your own control as in a standard
15701 control -- which is a much better idea than hard coding specific
15702 colours or fonts which might look completely out of place on the
15703 user's system, especially if it uses themes.
15704
15705 The variant parameter is only relevant under Mac currently and is
15706 ignore under other platforms. Under Mac, it will change the size of
15707 the returned font. See `wx.Window.SetWindowVariant` for more about
15708 this.</docstring>
15709 <paramlist>
15710 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
15711 </paramlist>
15712 </staticmethod>
15713 </class>
15714 <pythoncode>
15715 #---------------------------------------------------------------------------
15716 </pythoncode>
15717 <class name="Gauge" oldname="wxGauge" module="_controls">
15718 <baseclass name="Control"/>
15719 <constructor name="Gauge" overloaded="no">
15720 <autodoc>__init__(self, Window parent, int id=-1, int range=100, Point pos=DefaultPosition,
15721 Size size=DefaultSize, long style=GA_HORIZONTAL,
15722 Validator validator=DefaultValidator,
15723 String name=GaugeNameStr) -&gt; Gauge</autodoc>
15724 <paramlist>
15725 <param name="parent" type="Window" default=""/>
15726 <param name="id" type="int" default="-1"/>
15727 <param name="range" type="int" default="100"/>
15728 <param name="pos" type="Point" default="wxDefaultPosition"/>
15729 <param name="size" type="Size" default="wxDefaultSize"/>
15730 <param name="style" type="long" default="wxGA_HORIZONTAL"/>
15731 <param name="validator" type="Validator" default="wxDefaultValidator"/>
15732 <param name="name" type="String" default="wxPyGaugeNameStr"/>
15733 </paramlist>
15734 </constructor>
15735 <constructor name="PreGauge" overloaded="no">
15736 <autodoc>PreGauge() -&gt; Gauge</autodoc>
15737 </constructor>
15738 <method name="Create" type="bool" overloaded="no">
15739 <autodoc>Create(self, Window parent, int id=-1, int range=100, Point pos=DefaultPosition,
15740 Size size=DefaultSize, long style=GA_HORIZONTAL,
15741 Validator validator=DefaultValidator,
15742 String name=GaugeNameStr) -&gt; bool</autodoc>
15743 <paramlist>
15744 <param name="parent" type="Window" default=""/>
15745 <param name="id" type="int" default="-1"/>
15746 <param name="range" type="int" default="100"/>
15747 <param name="pos" type="Point" default="wxDefaultPosition"/>
15748 <param name="size" type="Size" default="wxDefaultSize"/>
15749 <param name="style" type="long" default="wxGA_HORIZONTAL"/>
15750 <param name="validator" type="Validator" default="wxDefaultValidator"/>
15751 <param name="name" type="String" default="wxPyGaugeNameStr"/>
15752 </paramlist>
15753 </method>
15754 <method name="SetRange" type="" overloaded="no">
15755 <autodoc>SetRange(self, int range)</autodoc>
15756 <paramlist>
15757 <param name="range" type="int" default=""/>
15758 </paramlist>
15759 </method>
15760 <method name="GetRange" type="int" overloaded="no">
15761 <autodoc>GetRange(self) -&gt; int</autodoc>
15762 </method>
15763 <method name="SetValue" type="" overloaded="no">
15764 <autodoc>SetValue(self, int pos)</autodoc>
15765 <paramlist>
15766 <param name="pos" type="int" default=""/>
15767 </paramlist>
15768 </method>
15769 <method name="GetValue" type="int" overloaded="no">
15770 <autodoc>GetValue(self) -&gt; int</autodoc>
15771 </method>
15772 <method name="IsVertical" type="bool" overloaded="no">
15773 <autodoc>IsVertical(self) -&gt; bool</autodoc>
15774 </method>
15775 <method name="SetShadowWidth" type="" overloaded="no">
15776 <autodoc>SetShadowWidth(self, int w)</autodoc>
15777 <paramlist>
15778 <param name="w" type="int" default=""/>
15779 </paramlist>
15780 </method>
15781 <method name="GetShadowWidth" type="int" overloaded="no">
15782 <autodoc>GetShadowWidth(self) -&gt; int</autodoc>
15783 </method>
15784 <method name="SetBezelFace" type="" overloaded="no">
15785 <autodoc>SetBezelFace(self, int w)</autodoc>
15786 <paramlist>
15787 <param name="w" type="int" default=""/>
15788 </paramlist>
15789 </method>
15790 <method name="GetBezelFace" type="int" overloaded="no">
15791 <autodoc>GetBezelFace(self) -&gt; int</autodoc>
15792 </method>
15793 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
15794 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
15795 <docstring>Get the default attributes for this class. This is useful if you want
15796 to use the same font or colour in your own control as in a standard
15797 control -- which is a much better idea than hard coding specific
15798 colours or fonts which might look completely out of place on the
15799 user's system, especially if it uses themes.
15800
15801 The variant parameter is only relevant under Mac currently and is
15802 ignore under other platforms. Under Mac, it will change the size of
15803 the returned font. See `wx.Window.SetWindowVariant` for more about
15804 this.</docstring>
15805 <paramlist>
15806 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
15807 </paramlist>
15808 </staticmethod>
15809 </class>
15810 <pythoncode>
15811 #---------------------------------------------------------------------------
15812 </pythoncode>
15813 <class name="StaticBox" oldname="wxStaticBox" module="_controls">
15814 <baseclass name="Control"/>
15815 <constructor name="StaticBox" overloaded="no">
15816 <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString,
15817 Point pos=DefaultPosition, Size size=DefaultSize,
15818 long style=0, String name=StaticBoxNameStr) -&gt; StaticBox</autodoc>
15819 <paramlist>
15820 <param name="parent" type="Window" default=""/>
15821 <param name="id" type="int" default="-1"/>
15822 <param name="label" type="String" default="wxPyEmptyString"/>
15823 <param name="pos" type="Point" default="wxDefaultPosition"/>
15824 <param name="size" type="Size" default="wxDefaultSize"/>
15825 <param name="style" type="long" default="0"/>
15826 <param name="name" type="String" default="wxPyStaticBoxNameStr"/>
15827 </paramlist>
15828 </constructor>
15829 <constructor name="PreStaticBox" overloaded="no">
15830 <autodoc>PreStaticBox() -&gt; StaticBox</autodoc>
15831 </constructor>
15832 <method name="Create" type="bool" overloaded="no">
15833 <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString,
15834 Point pos=DefaultPosition, Size size=DefaultSize,
15835 long style=0, String name=StaticBoxNameStr) -&gt; bool</autodoc>
15836 <paramlist>
15837 <param name="parent" type="Window" default=""/>
15838 <param name="id" type="int" default="-1"/>
15839 <param name="label" type="String" default="wxPyEmptyString"/>
15840 <param name="pos" type="Point" default="wxDefaultPosition"/>
15841 <param name="size" type="Size" default="wxDefaultSize"/>
15842 <param name="style" type="long" default="0"/>
15843 <param name="name" type="String" default="wxPyStaticBoxNameStr"/>
15844 </paramlist>
15845 </method>
15846 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
15847 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
15848 <docstring>Get the default attributes for this class. This is useful if you want
15849 to use the same font or colour in your own control as in a standard
15850 control -- which is a much better idea than hard coding specific
15851 colours or fonts which might look completely out of place on the
15852 user's system, especially if it uses themes.
15853
15854 The variant parameter is only relevant under Mac currently and is
15855 ignore under other platforms. Under Mac, it will change the size of
15856 the returned font. See `wx.Window.SetWindowVariant` for more about
15857 this.</docstring>
15858 <paramlist>
15859 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
15860 </paramlist>
15861 </staticmethod>
15862 </class>
15863 <pythoncode>
15864 #---------------------------------------------------------------------------
15865 </pythoncode>
15866 <class name="StaticLine" oldname="wxStaticLine" module="_controls">
15867 <baseclass name="Control"/>
15868 <constructor name="StaticLine" overloaded="no">
15869 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
15870 Size size=DefaultSize, long style=LI_HORIZONTAL,
15871 String name=StaticTextNameStr) -&gt; StaticLine</autodoc>
15872 <paramlist>
15873 <param name="parent" type="Window" default=""/>
15874 <param name="id" type="int" default="-1"/>
15875 <param name="pos" type="Point" default="wxDefaultPosition"/>
15876 <param name="size" type="Size" default="wxDefaultSize"/>
15877 <param name="style" type="long" default="wxLI_HORIZONTAL"/>
15878 <param name="name" type="String" default="wxPyStaticTextNameStr"/>
15879 </paramlist>
15880 </constructor>
15881 <constructor name="PreStaticLine" overloaded="no">
15882 <autodoc>PreStaticLine() -&gt; StaticLine</autodoc>
15883 </constructor>
15884 <method name="Create" type="bool" overloaded="no">
15885 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
15886 Size size=DefaultSize, long style=LI_HORIZONTAL,
15887 String name=StaticTextNameStr) -&gt; bool</autodoc>
15888 <paramlist>
15889 <param name="parent" type="Window" default=""/>
15890 <param name="id" type="int" default="-1"/>
15891 <param name="pos" type="Point" default="wxDefaultPosition"/>
15892 <param name="size" type="Size" default="wxDefaultSize"/>
15893 <param name="style" type="long" default="wxLI_HORIZONTAL"/>
15894 <param name="name" type="String" default="wxPyStaticTextNameStr"/>
15895 </paramlist>
15896 </method>
15897 <method name="IsVertical" type="bool" overloaded="no">
15898 <autodoc>IsVertical(self) -&gt; bool</autodoc>
15899 </method>
15900 <staticmethod name="GetDefaultSize" type="int" overloaded="no">
15901 <autodoc>GetDefaultSize() -&gt; int</autodoc>
15902 </staticmethod>
15903 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
15904 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
15905 <docstring>Get the default attributes for this class. This is useful if you want
15906 to use the same font or colour in your own control as in a standard
15907 control -- which is a much better idea than hard coding specific
15908 colours or fonts which might look completely out of place on the
15909 user's system, especially if it uses themes.
15910
15911 The variant parameter is only relevant under Mac currently and is
15912 ignore under other platforms. Under Mac, it will change the size of
15913 the returned font. See `wx.Window.SetWindowVariant` for more about
15914 this.</docstring>
15915 <paramlist>
15916 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
15917 </paramlist>
15918 </staticmethod>
15919 </class>
15920 <pythoncode>
15921 #---------------------------------------------------------------------------
15922 </pythoncode>
15923 <class name="StaticText" oldname="wxStaticText" module="_controls">
15924 <baseclass name="Control"/>
15925 <constructor name="StaticText" overloaded="no">
15926 <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString,
15927 Point pos=DefaultPosition, Size size=DefaultSize,
15928 long style=0, String name=StaticTextNameStr) -&gt; StaticText</autodoc>
15929 <paramlist>
15930 <param name="parent" type="Window" default=""/>
15931 <param name="id" type="int" default="-1"/>
15932 <param name="label" type="String" default="wxPyEmptyString"/>
15933 <param name="pos" type="Point" default="wxDefaultPosition"/>
15934 <param name="size" type="Size" default="wxDefaultSize"/>
15935 <param name="style" type="long" default="0"/>
15936 <param name="name" type="String" default="wxPyStaticTextNameStr"/>
15937 </paramlist>
15938 </constructor>
15939 <constructor name="PreStaticText" overloaded="no">
15940 <autodoc>PreStaticText() -&gt; StaticText</autodoc>
15941 </constructor>
15942 <method name="Create" type="bool" overloaded="no">
15943 <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString,
15944 Point pos=DefaultPosition, Size size=DefaultSize,
15945 long style=0, String name=StaticTextNameStr) -&gt; bool</autodoc>
15946 <paramlist>
15947 <param name="parent" type="Window" default=""/>
15948 <param name="id" type="int" default="-1"/>
15949 <param name="label" type="String" default="wxPyEmptyString"/>
15950 <param name="pos" type="Point" default="wxDefaultPosition"/>
15951 <param name="size" type="Size" default="wxDefaultSize"/>
15952 <param name="style" type="long" default="0"/>
15953 <param name="name" type="String" default="wxPyStaticTextNameStr"/>
15954 </paramlist>
15955 </method>
15956 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
15957 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
15958 <docstring>Get the default attributes for this class. This is useful if you want
15959 to use the same font or colour in your own control as in a standard
15960 control -- which is a much better idea than hard coding specific
15961 colours or fonts which might look completely out of place on the
15962 user's system, especially if it uses themes.
15963
15964 The variant parameter is only relevant under Mac currently and is
15965 ignore under other platforms. Under Mac, it will change the size of
15966 the returned font. See `wx.Window.SetWindowVariant` for more about
15967 this.</docstring>
15968 <paramlist>
15969 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
15970 </paramlist>
15971 </staticmethod>
15972 </class>
15973 <pythoncode>
15974 #---------------------------------------------------------------------------
15975 </pythoncode>
15976 <class name="StaticBitmap" oldname="wxStaticBitmap" module="_controls">
15977 <baseclass name="Control"/>
15978 <constructor name="StaticBitmap" overloaded="no">
15979 <autodoc>__init__(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap,
15980 Point pos=DefaultPosition, Size size=DefaultSize,
15981 long style=0, String name=StaticBitmapNameStr) -&gt; StaticBitmap</autodoc>
15982 <paramlist>
15983 <param name="parent" type="Window" default=""/>
15984 <param name="id" type="int" default="-1"/>
15985 <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
15986 <param name="pos" type="Point" default="wxDefaultPosition"/>
15987 <param name="size" type="Size" default="wxDefaultSize"/>
15988 <param name="style" type="long" default="0"/>
15989 <param name="name" type="String" default="wxPyStaticBitmapNameStr"/>
15990 </paramlist>
15991 </constructor>
15992 <constructor name="PreStaticBitmap" overloaded="no">
15993 <autodoc>PreStaticBitmap() -&gt; StaticBitmap</autodoc>
15994 </constructor>
15995 <method name="Create" type="bool" overloaded="no">
15996 <autodoc>Create(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap,
15997 Point pos=DefaultPosition, Size size=DefaultSize,
15998 long style=0, String name=StaticBitmapNameStr) -&gt; bool</autodoc>
15999 <paramlist>
16000 <param name="parent" type="Window" default=""/>
16001 <param name="id" type="int" default="-1"/>
16002 <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
16003 <param name="pos" type="Point" default="wxDefaultPosition"/>
16004 <param name="size" type="Size" default="wxDefaultSize"/>
16005 <param name="style" type="long" default="0"/>
16006 <param name="name" type="String" default="wxPyStaticBitmapNameStr"/>
16007 </paramlist>
16008 </method>
16009 <method name="GetBitmap" type="Bitmap" overloaded="no">
16010 <autodoc>GetBitmap(self) -&gt; Bitmap</autodoc>
16011 </method>
16012 <method name="SetBitmap" type="" overloaded="no">
16013 <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc>
16014 <paramlist>
16015 <param name="bitmap" type="Bitmap" default=""/>
16016 </paramlist>
16017 </method>
16018 <method name="SetIcon" type="" overloaded="no">
16019 <autodoc>SetIcon(self, Icon icon)</autodoc>
16020 <paramlist>
16021 <param name="icon" type="Icon" default=""/>
16022 </paramlist>
16023 </method>
16024 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
16025 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
16026 <docstring>Get the default attributes for this class. This is useful if you want
16027 to use the same font or colour in your own control as in a standard
16028 control -- which is a much better idea than hard coding specific
16029 colours or fonts which might look completely out of place on the
16030 user's system, especially if it uses themes.
16031
16032 The variant parameter is only relevant under Mac currently and is
16033 ignore under other platforms. Under Mac, it will change the size of
16034 the returned font. See `wx.Window.SetWindowVariant` for more about
16035 this.</docstring>
16036 <paramlist>
16037 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
16038 </paramlist>
16039 </staticmethod>
16040 </class>
16041 <pythoncode>
16042 #---------------------------------------------------------------------------
16043 </pythoncode>
16044 <class name="ListBox" oldname="wxListBox" module="_controls">
16045 <baseclass name="ControlWithItems"/>
16046 <constructor name="ListBox" overloaded="no">
16047 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
16048 Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray,
16049 long style=0, Validator validator=DefaultValidator,
16050 String name=ListBoxNameStr) -&gt; ListBox</autodoc>
16051 <paramlist>
16052 <param name="parent" type="Window" default=""/>
16053 <param name="id" type="int" default="-1"/>
16054 <param name="pos" type="Point" default="wxDefaultPosition"/>
16055 <param name="size" type="Size" default="wxDefaultSize"/>
16056 <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
16057 <param name="style" type="long" default="0"/>
16058 <param name="validator" type="Validator" default="wxDefaultValidator"/>
16059 <param name="name" type="String" default="wxPyListBoxNameStr"/>
16060 </paramlist>
16061 </constructor>
16062 <constructor name="PreListBox" overloaded="no">
16063 <autodoc>PreListBox() -&gt; ListBox</autodoc>
16064 </constructor>
16065 <method name="Create" type="bool" overloaded="no">
16066 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
16067 Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray,
16068 long style=0, Validator validator=DefaultValidator,
16069 String name=ListBoxNameStr) -&gt; bool</autodoc>
16070 <paramlist>
16071 <param name="parent" type="Window" default=""/>
16072 <param name="id" type="int" default="-1"/>
16073 <param name="pos" type="Point" default="wxDefaultPosition"/>
16074 <param name="size" type="Size" default="wxDefaultSize"/>
16075 <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
16076 <param name="style" type="long" default="0"/>
16077 <param name="validator" type="Validator" default="wxDefaultValidator"/>
16078 <param name="name" type="String" default="wxPyListBoxNameStr"/>
16079 </paramlist>
16080 </method>
16081 <method name="Insert" type="" overloaded="no">
16082 <autodoc>Insert(self, String item, int pos, PyObject clientData=None)</autodoc>
16083 <docstring>Insert an item into the control before the item at the ``pos`` index,
16084 optionally associating some data object with the item.</docstring>
16085 <paramlist>
16086 <param name="item" type="String" default=""/>
16087 <param name="pos" type="int" default=""/>
16088 <param name="clientData" type="PyObject" default="NULL"/>
16089 </paramlist>
16090 </method>
16091 <method name="InsertItems" type="" overloaded="no">
16092 <autodoc>InsertItems(self, wxArrayString items, int pos)</autodoc>
16093 <paramlist>
16094 <param name="items" type="wxArrayString" default=""/>
16095 <param name="pos" type="int" default=""/>
16096 </paramlist>
16097 </method>
16098 <method name="Set" type="" overloaded="no">
16099 <autodoc>Set(self, wxArrayString items)</autodoc>
16100 <paramlist>
16101 <param name="items" type="wxArrayString" default=""/>
16102 </paramlist>
16103 </method>
16104 <method name="IsSelected" type="bool" overloaded="no">
16105 <autodoc>IsSelected(self, int n) -&gt; bool</autodoc>
16106 <paramlist>
16107 <param name="n" type="int" default=""/>
16108 </paramlist>
16109 </method>
16110 <method name="SetSelection" type="" overloaded="no">
16111 <autodoc>SetSelection(self, int n, bool select=True)</autodoc>
16112 <paramlist>
16113 <param name="n" type="int" default=""/>
16114 <param name="select" type="bool" default="True"/>
16115 </paramlist>
16116 </method>
16117 <method name="Select" type="" overloaded="no">
16118 <autodoc>Select(self, int n)</autodoc>
16119 <docstring>Sets the item at index 'n' to be the selected item.</docstring>
16120 <paramlist>
16121 <param name="n" type="int" default=""/>
16122 </paramlist>
16123 </method>
16124 <method name="Deselect" type="" overloaded="no">
16125 <autodoc>Deselect(self, int n)</autodoc>
16126 <paramlist>
16127 <param name="n" type="int" default=""/>
16128 </paramlist>
16129 </method>
16130 <method name="DeselectAll" type="" overloaded="no">
16131 <autodoc>DeselectAll(self, int itemToLeaveSelected=-1)</autodoc>
16132 <paramlist>
16133 <param name="itemToLeaveSelected" type="int" default="-1"/>
16134 </paramlist>
16135 </method>
16136 <method name="SetStringSelection" type="bool" overloaded="no">
16137 <autodoc>SetStringSelection(self, String s, bool select=True) -&gt; bool</autodoc>
16138 <paramlist>
16139 <param name="s" type="String" default=""/>
16140 <param name="select" type="bool" default="True"/>
16141 </paramlist>
16142 </method>
16143 <method name="GetSelections" type="PyObject" overloaded="no">
16144 <autodoc>GetSelections(self) -&gt; PyObject</autodoc>
16145 </method>
16146 <method name="SetFirstItem" type="" overloaded="no">
16147 <autodoc>SetFirstItem(self, int n)</autodoc>
16148 <paramlist>
16149 <param name="n" type="int" default=""/>
16150 </paramlist>
16151 </method>
16152 <method name="SetFirstItemStr" type="" overloaded="no">
16153 <autodoc>SetFirstItemStr(self, String s)</autodoc>
16154 <paramlist>
16155 <param name="s" type="String" default=""/>
16156 </paramlist>
16157 </method>
16158 <method name="EnsureVisible" type="" overloaded="no">
16159 <autodoc>EnsureVisible(self, int n)</autodoc>
16160 <paramlist>
16161 <param name="n" type="int" default=""/>
16162 </paramlist>
16163 </method>
16164 <method name="AppendAndEnsureVisible" type="" overloaded="no">
16165 <autodoc>AppendAndEnsureVisible(self, String s)</autodoc>
16166 <paramlist>
16167 <param name="s" type="String" default=""/>
16168 </paramlist>
16169 </method>
16170 <method name="IsSorted" type="bool" overloaded="no">
16171 <autodoc>IsSorted(self) -&gt; bool</autodoc>
16172 </method>
16173 <method name="SetItemForegroundColour" type="" overloaded="no">
16174 <autodoc>SetItemForegroundColour(self, int item, Colour c)</autodoc>
16175 <paramlist>
16176 <param name="item" type="int" default=""/>
16177 <param name="c" type="Colour" default=""/>
16178 </paramlist>
16179 </method>
16180 <method name="SetItemBackgroundColour" type="" overloaded="no">
16181 <autodoc>SetItemBackgroundColour(self, int item, Colour c)</autodoc>
16182 <paramlist>
16183 <param name="item" type="int" default=""/>
16184 <param name="c" type="Colour" default=""/>
16185 </paramlist>
16186 </method>
16187 <method name="SetItemFont" type="" overloaded="no">
16188 <autodoc>SetItemFont(self, int item, Font f)</autodoc>
16189 <paramlist>
16190 <param name="item" type="int" default=""/>
16191 <param name="f" type="Font" default=""/>
16192 </paramlist>
16193 </method>
16194 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
16195 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
16196 <docstring>Get the default attributes for this class. This is useful if you want
16197 to use the same font or colour in your own control as in a standard
16198 control -- which is a much better idea than hard coding specific
16199 colours or fonts which might look completely out of place on the
16200 user's system, especially if it uses themes.
16201
16202 The variant parameter is only relevant under Mac currently and is
16203 ignore under other platforms. Under Mac, it will change the size of
16204 the returned font. See `wx.Window.SetWindowVariant` for more about
16205 this.</docstring>
16206 <paramlist>
16207 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
16208 </paramlist>
16209 </staticmethod>
16210 </class>
16211 <pythoncode>
16212 #---------------------------------------------------------------------------
16213 </pythoncode>
16214 <class name="CheckListBox" oldname="wxCheckListBox" module="_controls">
16215 <baseclass name="ListBox"/>
16216 <constructor name="CheckListBox" overloaded="no">
16217 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
16218 Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray,
16219 long style=0, Validator validator=DefaultValidator,
16220 String name=ListBoxNameStr) -&gt; CheckListBox</autodoc>
16221 <paramlist>
16222 <param name="parent" type="Window" default=""/>
16223 <param name="id" type="int" default="-1"/>
16224 <param name="pos" type="Point" default="wxDefaultPosition"/>
16225 <param name="size" type="Size" default="wxDefaultSize"/>
16226 <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
16227 <param name="style" type="long" default="0"/>
16228 <param name="validator" type="Validator" default="wxDefaultValidator"/>
16229 <param name="name" type="String" default="wxPyListBoxNameStr"/>
16230 </paramlist>
16231 </constructor>
16232 <constructor name="PreCheckListBox" overloaded="no">
16233 <autodoc>PreCheckListBox() -&gt; CheckListBox</autodoc>
16234 </constructor>
16235 <method name="Create" type="bool" overloaded="no">
16236 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
16237 Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray,
16238 long style=0, Validator validator=DefaultValidator,
16239 String name=ListBoxNameStr) -&gt; bool</autodoc>
16240 <paramlist>
16241 <param name="parent" type="Window" default=""/>
16242 <param name="id" type="int" default="-1"/>
16243 <param name="pos" type="Point" default="wxDefaultPosition"/>
16244 <param name="size" type="Size" default="wxDefaultSize"/>
16245 <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
16246 <param name="style" type="long" default="0"/>
16247 <param name="validator" type="Validator" default="wxDefaultValidator"/>
16248 <param name="name" type="String" default="wxPyListBoxNameStr"/>
16249 </paramlist>
16250 </method>
16251 <method name="IsChecked" type="bool" overloaded="no">
16252 <autodoc>IsChecked(self, int index) -&gt; bool</autodoc>
16253 <paramlist>
16254 <param name="index" type="int" default=""/>
16255 </paramlist>
16256 </method>
16257 <method name="Check" type="" overloaded="no">
16258 <autodoc>Check(self, int index, int check=True)</autodoc>
16259 <paramlist>
16260 <param name="index" type="int" default=""/>
16261 <param name="check" type="int" default="True"/>
16262 </paramlist>
16263 </method>
16264 <method name="GetItemHeight" type="int" overloaded="no">
16265 <autodoc>GetItemHeight(self) -&gt; int</autodoc>
16266 </method>
16267 <method name="HitTest" type="int" overloaded="no">
16268 <autodoc>HitTest(self, Point pt) -&gt; int</autodoc>
16269 <docstring>Test where the given (in client coords) point lies</docstring>
16270 <paramlist>
16271 <param name="pt" type="Point" default=""/>
16272 </paramlist>
16273 </method>
16274 <method name="HitTestXY" type="int" overloaded="no">
16275 <autodoc>HitTestXY(self, int x, int y) -&gt; int</autodoc>
16276 <docstring>Test where the given (in client coords) point lies</docstring>
16277 <paramlist>
16278 <param name="x" type="int" default=""/>
16279 <param name="y" type="int" default=""/>
16280 </paramlist>
16281 </method>
16282 </class>
16283 <pythoncode>
16284 #---------------------------------------------------------------------------
16285 </pythoncode>
16286 <class name="TextAttr" oldname="wxTextAttr" module="_controls">
16287 <constructor name="TextAttr" overloaded="yes"/>
16288 <constructor name="TextAttr" overloaded="yes">
16289 <autodoc>__init__(self) -&gt; TextAttr
16290 __init__(self, Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont,
16291 int alignment=TEXT_ALIGNMENT_DEFAULT) -&gt; TextAttr</autodoc>
16292 <paramlist>
16293 <param name="colText" type="Colour" default=""/>
16294 <param name="colBack" type="Colour" default="wxNullColour"/>
16295 <param name="font" type="Font" default="wxNullFont"/>
16296 <param name="alignment" type="wxTextAttrAlignment" default="wxTEXT_ALIGNMENT_DEFAULT"/>
16297 </paramlist>
16298 </constructor>
16299 <destructor name="~wxTextAttr" overloaded="no">
16300 <autodoc>__del__(self)</autodoc>
16301 </destructor>
16302 <method name="Init" type="" overloaded="no">
16303 <autodoc>Init(self)</autodoc>
16304 </method>
16305 <method name="SetTextColour" type="" overloaded="no">
16306 <autodoc>SetTextColour(self, Colour colText)</autodoc>
16307 <paramlist>
16308 <param name="colText" type="Colour" default=""/>
16309 </paramlist>
16310 </method>
16311 <method name="SetBackgroundColour" type="" overloaded="no">
16312 <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc>
16313 <paramlist>
16314 <param name="colBack" type="Colour" default=""/>
16315 </paramlist>
16316 </method>
16317 <method name="SetFont" type="" overloaded="no">
16318 <autodoc>SetFont(self, Font font, long flags=TEXT_ATTR_FONT)</autodoc>
16319 <paramlist>
16320 <param name="font" type="Font" default=""/>
16321 <param name="flags" type="long" default="wxTEXT_ATTR_FONT"/>
16322 </paramlist>
16323 </method>
16324 <method name="SetAlignment" type="" overloaded="no">
16325 <autodoc>SetAlignment(self, int alignment)</autodoc>
16326 <paramlist>
16327 <param name="alignment" type="wxTextAttrAlignment" default=""/>
16328 </paramlist>
16329 </method>
16330 <method name="SetTabs" type="" overloaded="no">
16331 <autodoc>SetTabs(self, wxArrayInt tabs)</autodoc>
16332 <paramlist>
16333 <param name="tabs" type="wxArrayInt" default=""/>
16334 </paramlist>
16335 </method>
16336 <method name="SetLeftIndent" type="" overloaded="no">
16337 <autodoc>SetLeftIndent(self, int indent, int subIndent=0)</autodoc>
16338 <paramlist>
16339 <param name="indent" type="int" default=""/>
16340 <param name="subIndent" type="int" default="0"/>
16341 </paramlist>
16342 </method>
16343 <method name="SetRightIndent" type="" overloaded="no">
16344 <autodoc>SetRightIndent(self, int indent)</autodoc>
16345 <paramlist>
16346 <param name="indent" type="int" default=""/>
16347 </paramlist>
16348 </method>
16349 <method name="SetFlags" type="" overloaded="no">
16350 <autodoc>SetFlags(self, long flags)</autodoc>
16351 <paramlist>
16352 <param name="flags" type="long" default=""/>
16353 </paramlist>
16354 </method>
16355 <method name="HasTextColour" type="bool" overloaded="no">
16356 <autodoc>HasTextColour(self) -&gt; bool</autodoc>
16357 </method>
16358 <method name="HasBackgroundColour" type="bool" overloaded="no">
16359 <autodoc>HasBackgroundColour(self) -&gt; bool</autodoc>
16360 </method>
16361 <method name="HasFont" type="bool" overloaded="no">
16362 <autodoc>HasFont(self) -&gt; bool</autodoc>
16363 </method>
16364 <method name="HasAlignment" type="bool" overloaded="no">
16365 <autodoc>HasAlignment(self) -&gt; bool</autodoc>
16366 </method>
16367 <method name="HasTabs" type="bool" overloaded="no">
16368 <autodoc>HasTabs(self) -&gt; bool</autodoc>
16369 </method>
16370 <method name="HasLeftIndent" type="bool" overloaded="no">
16371 <autodoc>HasLeftIndent(self) -&gt; bool</autodoc>
16372 </method>
16373 <method name="HasRightIndent" type="bool" overloaded="no">
16374 <autodoc>HasRightIndent(self) -&gt; bool</autodoc>
16375 </method>
16376 <method name="HasFlag" type="bool" overloaded="no">
16377 <autodoc>HasFlag(self, long flag) -&gt; bool</autodoc>
16378 <paramlist>
16379 <param name="flag" type="long" default=""/>
16380 </paramlist>
16381 </method>
16382 <method name="GetTextColour" type="Colour" overloaded="no">
16383 <autodoc>GetTextColour(self) -&gt; Colour</autodoc>
16384 </method>
16385 <method name="GetBackgroundColour" type="Colour" overloaded="no">
16386 <autodoc>GetBackgroundColour(self) -&gt; Colour</autodoc>
16387 </method>
16388 <method name="GetFont" type="Font" overloaded="no">
16389 <autodoc>GetFont(self) -&gt; Font</autodoc>
16390 </method>
16391 <method name="GetAlignment" type="wxTextAttrAlignment" overloaded="no">
16392 <autodoc>GetAlignment(self) -&gt; int</autodoc>
16393 </method>
16394 <method name="GetTabs" type="wxArrayInt" overloaded="no">
16395 <autodoc>GetTabs(self) -&gt; wxArrayInt</autodoc>
16396 </method>
16397 <method name="GetLeftIndent" type="long" overloaded="no">
16398 <autodoc>GetLeftIndent(self) -&gt; long</autodoc>
16399 </method>
16400 <method name="GetLeftSubIndent" type="long" overloaded="no">
16401 <autodoc>GetLeftSubIndent(self) -&gt; long</autodoc>
16402 </method>
16403 <method name="GetRightIndent" type="long" overloaded="no">
16404 <autodoc>GetRightIndent(self) -&gt; long</autodoc>
16405 </method>
16406 <method name="GetFlags" type="long" overloaded="no">
16407 <autodoc>GetFlags(self) -&gt; long</autodoc>
16408 </method>
16409 <method name="IsDefault" type="bool" overloaded="no">
16410 <autodoc>IsDefault(self) -&gt; bool</autodoc>
16411 </method>
16412 <staticmethod name="Combine" type="TextAttr" overloaded="no">
16413 <autodoc>Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -&gt; TextAttr</autodoc>
16414 <paramlist>
16415 <param name="attr" type="TextAttr" default=""/>
16416 <param name="attrDef" type="TextAttr" default=""/>
16417 <param name="text" type="wxTextCtrl" default=""/>
16418 </paramlist>
16419 </staticmethod>
16420 </class>
16421 <class name="TextCtrl" oldname="wxTextCtrl" module="_controls">
16422 <baseclass name="Control"/>
16423 <constructor name="TextCtrl" overloaded="no">
16424 <autodoc>__init__(self, Window parent, int id=-1, String value=EmptyString,
16425 Point pos=DefaultPosition, Size size=DefaultSize,
16426 long style=0, Validator validator=DefaultValidator,
16427 String name=TextCtrlNameStr) -&gt; TextCtrl</autodoc>
16428 <paramlist>
16429 <param name="parent" type="Window" default=""/>
16430 <param name="id" type="int" default="-1"/>
16431 <param name="value" type="String" default="wxPyEmptyString"/>
16432 <param name="pos" type="Point" default="wxDefaultPosition"/>
16433 <param name="size" type="Size" default="wxDefaultSize"/>
16434 <param name="style" type="long" default="0"/>
16435 <param name="validator" type="Validator" default="wxDefaultValidator"/>
16436 <param name="name" type="String" default="wxPyTextCtrlNameStr"/>
16437 </paramlist>
16438 </constructor>
16439 <constructor name="PreTextCtrl" overloaded="no">
16440 <autodoc>PreTextCtrl() -&gt; TextCtrl</autodoc>
16441 </constructor>
16442 <method name="Create" type="bool" overloaded="no">
16443 <autodoc>Create(self, Window parent, int id=-1, String value=EmptyString,
16444 Point pos=DefaultPosition, Size size=DefaultSize,
16445 long style=0, Validator validator=DefaultValidator,
16446 String name=TextCtrlNameStr) -&gt; bool</autodoc>
16447 <paramlist>
16448 <param name="parent" type="Window" default=""/>
16449 <param name="id" type="int" default="-1"/>
16450 <param name="value" type="String" default="wxPyEmptyString"/>
16451 <param name="pos" type="Point" default="wxDefaultPosition"/>
16452 <param name="size" type="Size" default="wxDefaultSize"/>
16453 <param name="style" type="long" default="0"/>
16454 <param name="validator" type="Validator" default="wxDefaultValidator"/>
16455 <param name="name" type="String" default="wxPyTextCtrlNameStr"/>
16456 </paramlist>
16457 </method>
16458 <method name="GetValue" type="String" overloaded="no">
16459 <autodoc>GetValue(self) -&gt; String</autodoc>
16460 </method>
16461 <method name="SetValue" type="" overloaded="no">
16462 <autodoc>SetValue(self, String value)</autodoc>
16463 <paramlist>
16464 <param name="value" type="String" default=""/>
16465 </paramlist>
16466 </method>
16467 <method name="GetRange" type="String" overloaded="no">
16468 <autodoc>GetRange(self, long from, long to) -&gt; String</autodoc>
16469 <paramlist>
16470 <param name="from" type="long" default=""/>
16471 <param name="to" type="long" default=""/>
16472 </paramlist>
16473 </method>
16474 <method name="GetLineLength" type="int" overloaded="no">
16475 <autodoc>GetLineLength(self, long lineNo) -&gt; int</autodoc>
16476 <paramlist>
16477 <param name="lineNo" type="long" default=""/>
16478 </paramlist>
16479 </method>
16480 <method name="GetLineText" type="String" overloaded="no">
16481 <autodoc>GetLineText(self, long lineNo) -&gt; String</autodoc>
16482 <paramlist>
16483 <param name="lineNo" type="long" default=""/>
16484 </paramlist>
16485 </method>
16486 <method name="GetNumberOfLines" type="int" overloaded="no">
16487 <autodoc>GetNumberOfLines(self) -&gt; int</autodoc>
16488 </method>
16489 <method name="IsModified" type="bool" overloaded="no">
16490 <autodoc>IsModified(self) -&gt; bool</autodoc>
16491 </method>
16492 <method name="IsEditable" type="bool" overloaded="no">
16493 <autodoc>IsEditable(self) -&gt; bool</autodoc>
16494 </method>
16495 <method name="IsSingleLine" type="bool" overloaded="no">
16496 <autodoc>IsSingleLine(self) -&gt; bool</autodoc>
16497 </method>
16498 <method name="IsMultiLine" type="bool" overloaded="no">
16499 <autodoc>IsMultiLine(self) -&gt; bool</autodoc>
16500 </method>
16501 <method name="GetSelection" type="" overloaded="no">
16502 <autodoc>GetSelection() -&gt; (from, to)</autodoc>
16503 <paramlist>
16504 <param name="OUTPUT" type="long" default=""/>
16505 <param name="OUTPUT" type="long" default=""/>
16506 </paramlist>
16507 </method>
16508 <method name="GetStringSelection" type="String" overloaded="no">
16509 <autodoc>GetStringSelection(self) -&gt; String</autodoc>
16510 </method>
16511 <method name="Clear" type="" overloaded="no">
16512 <autodoc>Clear(self)</autodoc>
16513 </method>
16514 <method name="Replace" type="" overloaded="no">
16515 <autodoc>Replace(self, long from, long to, String value)</autodoc>
16516 <paramlist>
16517 <param name="from" type="long" default=""/>
16518 <param name="to" type="long" default=""/>
16519 <param name="value" type="String" default=""/>
16520 </paramlist>
16521 </method>
16522 <method name="Remove" type="" overloaded="no">
16523 <autodoc>Remove(self, long from, long to)</autodoc>
16524 <paramlist>
16525 <param name="from" type="long" default=""/>
16526 <param name="to" type="long" default=""/>
16527 </paramlist>
16528 </method>
16529 <method name="LoadFile" type="bool" overloaded="no">
16530 <autodoc>LoadFile(self, String file) -&gt; bool</autodoc>
16531 <paramlist>
16532 <param name="file" type="String" default=""/>
16533 </paramlist>
16534 </method>
16535 <method name="SaveFile" type="bool" overloaded="no">
16536 <autodoc>SaveFile(self, String file=EmptyString) -&gt; bool</autodoc>
16537 <paramlist>
16538 <param name="file" type="String" default="wxPyEmptyString"/>
16539 </paramlist>
16540 </method>
16541 <method name="MarkDirty" type="" overloaded="no">
16542 <autodoc>MarkDirty(self)</autodoc>
16543 </method>
16544 <method name="DiscardEdits" type="" overloaded="no">
16545 <autodoc>DiscardEdits(self)</autodoc>
16546 </method>
16547 <method name="SetMaxLength" type="" overloaded="no">
16548 <autodoc>SetMaxLength(self, unsigned long len)</autodoc>
16549 <paramlist>
16550 <param name="len" type="unsigned long" default=""/>
16551 </paramlist>
16552 </method>
16553 <method name="WriteText" type="" overloaded="no">
16554 <autodoc>WriteText(self, String text)</autodoc>
16555 <paramlist>
16556 <param name="text" type="String" default=""/>
16557 </paramlist>
16558 </method>
16559 <method name="AppendText" type="" overloaded="no">
16560 <autodoc>AppendText(self, String text)</autodoc>
16561 <paramlist>
16562 <param name="text" type="String" default=""/>
16563 </paramlist>
16564 </method>
16565 <method name="EmulateKeyPress" type="bool" overloaded="no">
16566 <autodoc>EmulateKeyPress(self, KeyEvent event) -&gt; bool</autodoc>
16567 <paramlist>
16568 <param name="event" type="KeyEvent" default=""/>
16569 </paramlist>
16570 </method>
16571 <method name="SetStyle" type="bool" overloaded="no">
16572 <autodoc>SetStyle(self, long start, long end, TextAttr style) -&gt; bool</autodoc>
16573 <paramlist>
16574 <param name="start" type="long" default=""/>
16575 <param name="end" type="long" default=""/>
16576 <param name="style" type="TextAttr" default=""/>
16577 </paramlist>
16578 </method>
16579 <method name="GetStyle" type="bool" overloaded="no">
16580 <autodoc>GetStyle(self, long position, TextAttr style) -&gt; bool</autodoc>
16581 <paramlist>
16582 <param name="position" type="long" default=""/>
16583 <param name="style" type="TextAttr" default=""/>
16584 </paramlist>
16585 </method>
16586 <method name="SetDefaultStyle" type="bool" overloaded="no">
16587 <autodoc>SetDefaultStyle(self, TextAttr style) -&gt; bool</autodoc>
16588 <paramlist>
16589 <param name="style" type="TextAttr" default=""/>
16590 </paramlist>
16591 </method>
16592 <method name="GetDefaultStyle" type="TextAttr" overloaded="no">
16593 <autodoc>GetDefaultStyle(self) -&gt; TextAttr</autodoc>
16594 </method>
16595 <method name="XYToPosition" type="long" overloaded="no">
16596 <autodoc>XYToPosition(self, long x, long y) -&gt; long</autodoc>
16597 <paramlist>
16598 <param name="x" type="long" default=""/>
16599 <param name="y" type="long" default=""/>
16600 </paramlist>
16601 </method>
16602 <method name="PositionToXY" type="" overloaded="no">
16603 <autodoc>PositionToXY(long pos) -&gt; (x, y)</autodoc>
16604 <paramlist>
16605 <param name="pos" type="long" default=""/>
16606 <param name="OUTPUT" type="long" default=""/>
16607 <param name="OUTPUT" type="long" default=""/>
16608 </paramlist>
16609 </method>
16610 <method name="ShowPosition" type="" overloaded="no">
16611 <autodoc>ShowPosition(self, long pos)</autodoc>
16612 <paramlist>
16613 <param name="pos" type="long" default=""/>
16614 </paramlist>
16615 </method>
16616 <method name="HitTest" type="wxTextCtrlHitTestResult" overloaded="no">
16617 <autodoc>HitTest(Point pt) -&gt; (result, row, col)</autodoc>
16618 <paramlist>
16619 <param name="pt" type="Point" default=""/>
16620 <param name="OUTPUT" type="long" default=""/>
16621 <param name="OUTPUT" type="long" default=""/>
16622 </paramlist>
16623 </method>
16624 <method name="Copy" type="" overloaded="no">
16625 <autodoc>Copy(self)</autodoc>
16626 </method>
16627 <method name="Cut" type="" overloaded="no">
16628 <autodoc>Cut(self)</autodoc>
16629 </method>
16630 <method name="Paste" type="" overloaded="no">
16631 <autodoc>Paste(self)</autodoc>
16632 </method>
16633 <method name="CanCopy" type="bool" overloaded="no">
16634 <autodoc>CanCopy(self) -&gt; bool</autodoc>
16635 </method>
16636 <method name="CanCut" type="bool" overloaded="no">
16637 <autodoc>CanCut(self) -&gt; bool</autodoc>
16638 </method>
16639 <method name="CanPaste" type="bool" overloaded="no">
16640 <autodoc>CanPaste(self) -&gt; bool</autodoc>
16641 </method>
16642 <method name="Undo" type="" overloaded="no">
16643 <autodoc>Undo(self)</autodoc>
16644 </method>
16645 <method name="Redo" type="" overloaded="no">
16646 <autodoc>Redo(self)</autodoc>
16647 </method>
16648 <method name="CanUndo" type="bool" overloaded="no">
16649 <autodoc>CanUndo(self) -&gt; bool</autodoc>
16650 </method>
16651 <method name="CanRedo" type="bool" overloaded="no">
16652 <autodoc>CanRedo(self) -&gt; bool</autodoc>
16653 </method>
16654 <method name="SetInsertionPoint" type="" overloaded="no">
16655 <autodoc>SetInsertionPoint(self, long pos)</autodoc>
16656 <paramlist>
16657 <param name="pos" type="long" default=""/>
16658 </paramlist>
16659 </method>
16660 <method name="SetInsertionPointEnd" type="" overloaded="no">
16661 <autodoc>SetInsertionPointEnd(self)</autodoc>
16662 </method>
16663 <method name="GetInsertionPoint" type="long" overloaded="no">
16664 <autodoc>GetInsertionPoint(self) -&gt; long</autodoc>
16665 </method>
16666 <method name="GetLastPosition" type="long" overloaded="no">
16667 <autodoc>GetLastPosition(self) -&gt; long</autodoc>
16668 </method>
16669 <method name="SetSelection" type="" overloaded="no">
16670 <autodoc>SetSelection(self, long from, long to)</autodoc>
16671 <paramlist>
16672 <param name="from" type="long" default=""/>
16673 <param name="to" type="long" default=""/>
16674 </paramlist>
16675 </method>
16676 <method name="SelectAll" type="" overloaded="no">
16677 <autodoc>SelectAll(self)</autodoc>
16678 </method>
16679 <method name="SetEditable" type="" overloaded="no">
16680 <autodoc>SetEditable(self, bool editable)</autodoc>
16681 <paramlist>
16682 <param name="editable" type="bool" default=""/>
16683 </paramlist>
16684 </method>
16685 <method name="write" type="" overloaded="no">
16686 <autodoc>write(self, String text)</autodoc>
16687 <paramlist>
16688 <param name="text" type="String" default=""/>
16689 </paramlist>
16690 </method>
16691 <method name="GetString" type="String" overloaded="no">
16692 <autodoc>GetString(self, long from, long to) -&gt; String</autodoc>
16693 <paramlist>
16694 <param name="from" type="long" default=""/>
16695 <param name="to" type="long" default=""/>
16696 </paramlist>
16697 </method>
16698 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
16699 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
16700 <docstring>Get the default attributes for this class. This is useful if you want
16701 to use the same font or colour in your own control as in a standard
16702 control -- which is a much better idea than hard coding specific
16703 colours or fonts which might look completely out of place on the
16704 user's system, especially if it uses themes.
16705
16706 The variant parameter is only relevant under Mac currently and is
16707 ignore under other platforms. Under Mac, it will change the size of
16708 the returned font. See `wx.Window.SetWindowVariant` for more about
16709 this.</docstring>
16710 <paramlist>
16711 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
16712 </paramlist>
16713 </staticmethod>
16714 </class>
16715 <class name="TextUrlEvent" oldname="wxTextUrlEvent" module="_controls">
16716 <baseclass name="CommandEvent"/>
16717 <constructor name="TextUrlEvent" overloaded="no">
16718 <autodoc>__init__(self, int winid, MouseEvent evtMouse, long start, long end) -&gt; TextUrlEvent</autodoc>
16719 <paramlist>
16720 <param name="winid" type="int" default=""/>
16721 <param name="evtMouse" type="MouseEvent" default=""/>
16722 <param name="start" type="long" default=""/>
16723 <param name="end" type="long" default=""/>
16724 </paramlist>
16725 </constructor>
16726 <method name="GetMouseEvent" type="MouseEvent" overloaded="no">
16727 <autodoc>GetMouseEvent(self) -&gt; MouseEvent</autodoc>
16728 </method>
16729 <method name="GetURLStart" type="long" overloaded="no">
16730 <autodoc>GetURLStart(self) -&gt; long</autodoc>
16731 </method>
16732 <method name="GetURLEnd" type="long" overloaded="no">
16733 <autodoc>GetURLEnd(self) -&gt; long</autodoc>
16734 </method>
16735 </class>
16736 <pythoncode>
16737 EVT_TEXT = wx.PyEventBinder( wxEVT_COMMAND_TEXT_UPDATED, 1)
16738 EVT_TEXT_ENTER = wx.PyEventBinder( wxEVT_COMMAND_TEXT_ENTER, 1)
16739 EVT_TEXT_URL = wx.PyEventBinder( wxEVT_COMMAND_TEXT_URL, 1)
16740 EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1)
16741 </pythoncode>
16742 <pythoncode>
16743 #---------------------------------------------------------------------------
16744 </pythoncode>
16745 <class name="ScrollBar" oldname="wxScrollBar" module="_controls">
16746 <baseclass name="Control"/>
16747 <constructor name="ScrollBar" overloaded="no">
16748 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
16749 Size size=DefaultSize, long style=SB_HORIZONTAL,
16750 Validator validator=DefaultValidator, String name=ScrollBarNameStr) -&gt; ScrollBar</autodoc>
16751 <paramlist>
16752 <param name="parent" type="Window" default=""/>
16753 <param name="id" type="int" default="-1"/>
16754 <param name="pos" type="Point" default="wxDefaultPosition"/>
16755 <param name="size" type="Size" default="wxDefaultSize"/>
16756 <param name="style" type="long" default="wxSB_HORIZONTAL"/>
16757 <param name="validator" type="Validator" default="wxDefaultValidator"/>
16758 <param name="name" type="String" default="wxPyScrollBarNameStr"/>
16759 </paramlist>
16760 </constructor>
16761 <constructor name="PreScrollBar" overloaded="no">
16762 <autodoc>PreScrollBar() -&gt; ScrollBar</autodoc>
16763 </constructor>
16764 <method name="Create" type="bool" overloaded="no">
16765 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
16766 Size size=DefaultSize, long style=SB_HORIZONTAL,
16767 Validator validator=DefaultValidator, String name=ScrollBarNameStr) -&gt; bool</autodoc>
16768 <docstring>Do the 2nd phase and create the GUI control.</docstring>
16769 <paramlist>
16770 <param name="parent" type="Window" default=""/>
16771 <param name="id" type="int" default="-1"/>
16772 <param name="pos" type="Point" default="wxDefaultPosition"/>
16773 <param name="size" type="Size" default="wxDefaultSize"/>
16774 <param name="style" type="long" default="wxSB_HORIZONTAL"/>
16775 <param name="validator" type="Validator" default="wxDefaultValidator"/>
16776 <param name="name" type="String" default="wxPyScrollBarNameStr"/>
16777 </paramlist>
16778 </method>
16779 <method name="GetThumbPosition" type="int" overloaded="no">
16780 <autodoc>GetThumbPosition(self) -&gt; int</autodoc>
16781 </method>
16782 <method name="GetThumbSize" type="int" overloaded="no">
16783 <autodoc>GetThumbSize(self) -&gt; int</autodoc>
16784 </method>
16785 <method name="GetPageSize" type="int" overloaded="no">
16786 <autodoc>GetPageSize(self) -&gt; int</autodoc>
16787 </method>
16788 <method name="GetRange" type="int" overloaded="no">
16789 <autodoc>GetRange(self) -&gt; int</autodoc>
16790 </method>
16791 <method name="IsVertical" type="bool" overloaded="no">
16792 <autodoc>IsVertical(self) -&gt; bool</autodoc>
16793 </method>
16794 <method name="SetThumbPosition" type="" overloaded="no">
16795 <autodoc>SetThumbPosition(self, int viewStart)</autodoc>
16796 <paramlist>
16797 <param name="viewStart" type="int" default=""/>
16798 </paramlist>
16799 </method>
16800 <method name="SetScrollbar" type="" overloaded="no">
16801 <autodoc>SetScrollbar(self, int position, int thumbSize, int range, int pageSize,
16802 bool refresh=True)</autodoc>
16803 <docstring>Sets the scrollbar properties of a built-in scrollbar.</docstring>
16804 <paramlist>
16805 <param name="position" type="int" default=""/>
16806 <param name="thumbSize" type="int" default=""/>
16807 <param name="range" type="int" default=""/>
16808 <param name="pageSize" type="int" default=""/>
16809 <param name="refresh" type="bool" default="True"/>
16810 </paramlist>
16811 </method>
16812 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
16813 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
16814 <docstring>Get the default attributes for this class. This is useful if you want
16815 to use the same font or colour in your own control as in a standard
16816 control -- which is a much better idea than hard coding specific
16817 colours or fonts which might look completely out of place on the
16818 user's system, especially if it uses themes.
16819
16820 The variant parameter is only relevant under Mac currently and is
16821 ignore under other platforms. Under Mac, it will change the size of
16822 the returned font. See `wx.Window.SetWindowVariant` for more about
16823 this.</docstring>
16824 <paramlist>
16825 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
16826 </paramlist>
16827 </staticmethod>
16828 </class>
16829 <pythoncode>
16830 #---------------------------------------------------------------------------
16831 </pythoncode>
16832 <class name="SpinButton" oldname="wxSpinButton" module="_controls">
16833 <baseclass name="Control"/>
16834 <constructor name="SpinButton" overloaded="no">
16835 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
16836 Size size=DefaultSize, long style=SP_HORIZONTAL,
16837 String name=SPIN_BUTTON_NAME) -&gt; SpinButton</autodoc>
16838 <paramlist>
16839 <param name="parent" type="Window" default=""/>
16840 <param name="id" type="int" default="-1"/>
16841 <param name="pos" type="Point" default="wxDefaultPosition"/>
16842 <param name="size" type="Size" default="wxDefaultSize"/>
16843 <param name="style" type="long" default="wxSP_HORIZONTAL"/>
16844 <param name="name" type="String" default="wxPySPIN_BUTTON_NAME"/>
16845 </paramlist>
16846 </constructor>
16847 <constructor name="PreSpinButton" overloaded="no">
16848 <autodoc>PreSpinButton() -&gt; SpinButton</autodoc>
16849 </constructor>
16850 <method name="Create" type="bool" overloaded="no">
16851 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
16852 Size size=DefaultSize, long style=SP_HORIZONTAL,
16853 String name=SPIN_BUTTON_NAME) -&gt; bool</autodoc>
16854 <paramlist>
16855 <param name="parent" type="Window" default=""/>
16856 <param name="id" type="int" default="-1"/>
16857 <param name="pos" type="Point" default="wxDefaultPosition"/>
16858 <param name="size" type="Size" default="wxDefaultSize"/>
16859 <param name="style" type="long" default="wxSP_HORIZONTAL"/>
16860 <param name="name" type="String" default="wxPySPIN_BUTTON_NAME"/>
16861 </paramlist>
16862 </method>
16863 <method name="GetValue" type="int" overloaded="no">
16864 <autodoc>GetValue(self) -&gt; int</autodoc>
16865 </method>
16866 <method name="GetMin" type="int" overloaded="no">
16867 <autodoc>GetMin(self) -&gt; int</autodoc>
16868 </method>
16869 <method name="GetMax" type="int" overloaded="no">
16870 <autodoc>GetMax(self) -&gt; int</autodoc>
16871 </method>
16872 <method name="SetValue" type="" overloaded="no">
16873 <autodoc>SetValue(self, int val)</autodoc>
16874 <paramlist>
16875 <param name="val" type="int" default=""/>
16876 </paramlist>
16877 </method>
16878 <method name="SetMin" type="" overloaded="no">
16879 <autodoc>SetMin(self, int minVal)</autodoc>
16880 <paramlist>
16881 <param name="minVal" type="int" default=""/>
16882 </paramlist>
16883 </method>
16884 <method name="SetMax" type="" overloaded="no">
16885 <autodoc>SetMax(self, int maxVal)</autodoc>
16886 <paramlist>
16887 <param name="maxVal" type="int" default=""/>
16888 </paramlist>
16889 </method>
16890 <method name="SetRange" type="" overloaded="no">
16891 <autodoc>SetRange(self, int minVal, int maxVal)</autodoc>
16892 <paramlist>
16893 <param name="minVal" type="int" default=""/>
16894 <param name="maxVal" type="int" default=""/>
16895 </paramlist>
16896 </method>
16897 <method name="IsVertical" type="bool" overloaded="no">
16898 <autodoc>IsVertical(self) -&gt; bool</autodoc>
16899 </method>
16900 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
16901 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
16902 <docstring>Get the default attributes for this class. This is useful if you want
16903 to use the same font or colour in your own control as in a standard
16904 control -- which is a much better idea than hard coding specific
16905 colours or fonts which might look completely out of place on the
16906 user's system, especially if it uses themes.
16907
16908 The variant parameter is only relevant under Mac currently and is
16909 ignore under other platforms. Under Mac, it will change the size of
16910 the returned font. See `wx.Window.SetWindowVariant` for more about
16911 this.</docstring>
16912 <paramlist>
16913 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
16914 </paramlist>
16915 </staticmethod>
16916 </class>
16917 <class name="SpinCtrl" oldname="wxSpinCtrl" module="_controls">
16918 <baseclass name="Control"/>
16919 <constructor name="SpinCtrl" overloaded="no">
16920 <autodoc>__init__(self, Window parent, int id=-1, String value=EmptyString,
16921 Point pos=DefaultPosition, Size size=DefaultSize,
16922 long style=SP_ARROW_KEYS, int min=0, int max=100,
16923 int initial=0, String name=SpinCtrlNameStr) -&gt; SpinCtrl</autodoc>
16924 <paramlist>
16925 <param name="parent" type="Window" default=""/>
16926 <param name="id" type="int" default="-1"/>
16927 <param name="value" type="String" default="wxPyEmptyString"/>
16928 <param name="pos" type="Point" default="wxDefaultPosition"/>
16929 <param name="size" type="Size" default="wxDefaultSize"/>
16930 <param name="style" type="long" default="wxSP_ARROW_KEYS"/>
16931 <param name="min" type="int" default="0"/>
16932 <param name="max" type="int" default="100"/>
16933 <param name="initial" type="int" default="0"/>
16934 <param name="name" type="String" default="wxPySpinCtrlNameStr"/>
16935 </paramlist>
16936 </constructor>
16937 <constructor name="PreSpinCtrl" overloaded="no">
16938 <autodoc>PreSpinCtrl() -&gt; SpinCtrl</autodoc>
16939 </constructor>
16940 <method name="Create" type="bool" overloaded="no">
16941 <autodoc>Create(self, Window parent, int id=-1, String value=EmptyString,
16942 Point pos=DefaultPosition, Size size=DefaultSize,
16943 long style=SP_ARROW_KEYS, int min=0, int max=100,
16944 int initial=0, String name=SpinCtrlNameStr) -&gt; bool</autodoc>
16945 <paramlist>
16946 <param name="parent" type="Window" default=""/>
16947 <param name="id" type="int" default="-1"/>
16948 <param name="value" type="String" default="wxPyEmptyString"/>
16949 <param name="pos" type="Point" default="wxDefaultPosition"/>
16950 <param name="size" type="Size" default="wxDefaultSize"/>
16951 <param name="style" type="long" default="wxSP_ARROW_KEYS"/>
16952 <param name="min" type="int" default="0"/>
16953 <param name="max" type="int" default="100"/>
16954 <param name="initial" type="int" default="0"/>
16955 <param name="name" type="String" default="wxPySpinCtrlNameStr"/>
16956 </paramlist>
16957 </method>
16958 <method name="GetValue" type="int" overloaded="no">
16959 <autodoc>GetValue(self) -&gt; int</autodoc>
16960 </method>
16961 <method name="SetValue" type="" overloaded="no">
16962 <autodoc>SetValue(self, int value)</autodoc>
16963 <paramlist>
16964 <param name="value" type="int" default=""/>
16965 </paramlist>
16966 </method>
16967 <method name="SetValueString" type="" overloaded="no">
16968 <autodoc>SetValueString(self, String text)</autodoc>
16969 <paramlist>
16970 <param name="text" type="String" default=""/>
16971 </paramlist>
16972 </method>
16973 <method name="SetRange" type="" overloaded="no">
16974 <autodoc>SetRange(self, int minVal, int maxVal)</autodoc>
16975 <paramlist>
16976 <param name="minVal" type="int" default=""/>
16977 <param name="maxVal" type="int" default=""/>
16978 </paramlist>
16979 </method>
16980 <method name="GetMin" type="int" overloaded="no">
16981 <autodoc>GetMin(self) -&gt; int</autodoc>
16982 </method>
16983 <method name="GetMax" type="int" overloaded="no">
16984 <autodoc>GetMax(self) -&gt; int</autodoc>
16985 </method>
16986 <method name="SetSelection" type="" overloaded="no">
16987 <autodoc>SetSelection(self, long from, long to)</autodoc>
16988 <paramlist>
16989 <param name="from" type="long" default=""/>
16990 <param name="to" type="long" default=""/>
16991 </paramlist>
16992 </method>
16993 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
16994 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
16995 <docstring>Get the default attributes for this class. This is useful if you want
16996 to use the same font or colour in your own control as in a standard
16997 control -- which is a much better idea than hard coding specific
16998 colours or fonts which might look completely out of place on the
16999 user's system, especially if it uses themes.
17000
17001 The variant parameter is only relevant under Mac currently and is
17002 ignore under other platforms. Under Mac, it will change the size of
17003 the returned font. See `wx.Window.SetWindowVariant` for more about
17004 this.</docstring>
17005 <paramlist>
17006 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
17007 </paramlist>
17008 </staticmethod>
17009 </class>
17010 <class name="SpinEvent" oldname="wxSpinEvent" module="_controls">
17011 <baseclass name="NotifyEvent"/>
17012 <constructor name="SpinEvent" overloaded="no">
17013 <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0) -&gt; SpinEvent</autodoc>
17014 <paramlist>
17015 <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
17016 <param name="winid" type="int" default="0"/>
17017 </paramlist>
17018 </constructor>
17019 <method name="GetPosition" type="int" overloaded="no">
17020 <autodoc>GetPosition(self) -&gt; int</autodoc>
17021 </method>
17022 <method name="SetPosition" type="" overloaded="no">
17023 <autodoc>SetPosition(self, int pos)</autodoc>
17024 <paramlist>
17025 <param name="pos" type="int" default=""/>
17026 </paramlist>
17027 </method>
17028 </class>
17029 <pythoncode>
17030 EVT_SPIN_UP = wx.PyEventBinder( wx.wxEVT_SCROLL_LINEUP, 1)
17031 EVT_SPIN_DOWN = wx.PyEventBinder( wx.wxEVT_SCROLL_LINEDOWN, 1)
17032 EVT_SPIN = wx.PyEventBinder( wx.wxEVT_SCROLL_THUMBTRACK, 1)
17033 EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
17034 </pythoncode>
17035 <pythoncode>
17036 #---------------------------------------------------------------------------
17037 </pythoncode>
17038 <class name="RadioBox" oldname="wxRadioBox" module="_controls">
17039 <baseclass name="Control"/>
17040 <constructor name="RadioBox" overloaded="no">
17041 <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString,
17042 Point pos=DefaultPosition, Size size=DefaultSize,
17043 wxArrayString choices=wxPyEmptyStringArray,
17044 int majorDimension=0, long style=RA_HORIZONTAL,
17045 Validator validator=DefaultValidator,
17046 String name=RadioBoxNameStr) -&gt; RadioBox</autodoc>
17047 <paramlist>
17048 <param name="parent" type="Window" default=""/>
17049 <param name="id" type="int" default="-1"/>
17050 <param name="label" type="String" default="wxPyEmptyString"/>
17051 <param name="pos" type="Point" default="wxDefaultPosition"/>
17052 <param name="size" type="Size" default="wxDefaultSize"/>
17053 <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
17054 <param name="majorDimension" type="int" default="0"/>
17055 <param name="style" type="long" default="wxRA_HORIZONTAL"/>
17056 <param name="validator" type="Validator" default="wxDefaultValidator"/>
17057 <param name="name" type="String" default="wxPyRadioBoxNameStr"/>
17058 </paramlist>
17059 </constructor>
17060 <constructor name="PreRadioBox" overloaded="no">
17061 <autodoc>PreRadioBox() -&gt; RadioBox</autodoc>
17062 </constructor>
17063 <method name="Create" type="bool" overloaded="no">
17064 <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString,
17065 Point pos=DefaultPosition, Size size=DefaultSize,
17066 wxArrayString choices=wxPyEmptyStringArray,
17067 int majorDimension=0, long style=RA_HORIZONTAL,
17068 Validator validator=DefaultValidator,
17069 String name=RadioBoxNameStr) -&gt; bool</autodoc>
17070 <paramlist>
17071 <param name="parent" type="Window" default=""/>
17072 <param name="id" type="int" default="-1"/>
17073 <param name="label" type="String" default="wxPyEmptyString"/>
17074 <param name="pos" type="Point" default="wxDefaultPosition"/>
17075 <param name="size" type="Size" default="wxDefaultSize"/>
17076 <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
17077 <param name="majorDimension" type="int" default="0"/>
17078 <param name="style" type="long" default="wxRA_HORIZONTAL"/>
17079 <param name="validator" type="Validator" default="wxDefaultValidator"/>
17080 <param name="name" type="String" default="wxPyRadioBoxNameStr"/>
17081 </paramlist>
17082 </method>
17083 <method name="SetSelection" type="" overloaded="no">
17084 <autodoc>SetSelection(self, int n)</autodoc>
17085 <paramlist>
17086 <param name="n" type="int" default=""/>
17087 </paramlist>
17088 </method>
17089 <method name="GetSelection" type="int" overloaded="no">
17090 <autodoc>GetSelection(self) -&gt; int</autodoc>
17091 </method>
17092 <method name="GetStringSelection" type="String" overloaded="no">
17093 <autodoc>GetStringSelection(self) -&gt; String</autodoc>
17094 </method>
17095 <method name="SetStringSelection" type="bool" overloaded="no">
17096 <autodoc>SetStringSelection(self, String s) -&gt; bool</autodoc>
17097 <paramlist>
17098 <param name="s" type="String" default=""/>
17099 </paramlist>
17100 </method>
17101 <method name="GetCount" type="int" overloaded="no">
17102 <autodoc>GetCount(self) -&gt; int</autodoc>
17103 </method>
17104 <method name="FindString" type="int" overloaded="no">
17105 <autodoc>FindString(self, String s) -&gt; int</autodoc>
17106 <paramlist>
17107 <param name="s" type="String" default=""/>
17108 </paramlist>
17109 </method>
17110 <method name="GetString" type="String" overloaded="no">
17111 <autodoc>GetString(self, int n) -&gt; String</autodoc>
17112 <paramlist>
17113 <param name="n" type="int" default=""/>
17114 </paramlist>
17115 </method>
17116 <method name="SetString" type="" overloaded="no">
17117 <autodoc>SetString(self, int n, String label)</autodoc>
17118 <paramlist>
17119 <param name="n" type="int" default=""/>
17120 <param name="label" type="String" default=""/>
17121 </paramlist>
17122 </method>
17123 <method name="EnableItem" type="" overloaded="no">
17124 <autodoc>EnableItem(self, int n, bool enable=True)</autodoc>
17125 <paramlist>
17126 <param name="n" type="int" default=""/>
17127 <param name="enable" type="bool" default="True"/>
17128 </paramlist>
17129 </method>
17130 <method name="ShowItem" type="" overloaded="no">
17131 <autodoc>ShowItem(self, int n, bool show=True)</autodoc>
17132 <paramlist>
17133 <param name="n" type="int" default=""/>
17134 <param name="show" type="bool" default="True"/>
17135 </paramlist>
17136 </method>
17137 <method name="GetColumnCount" type="int" overloaded="no">
17138 <autodoc>GetColumnCount(self) -&gt; int</autodoc>
17139 </method>
17140 <method name="GetRowCount" type="int" overloaded="no">
17141 <autodoc>GetRowCount(self) -&gt; int</autodoc>
17142 </method>
17143 <method name="GetNextItem" type="int" overloaded="no">
17144 <autodoc>GetNextItem(self, int item, int dir, long style) -&gt; int</autodoc>
17145 <paramlist>
17146 <param name="item" type="int" default=""/>
17147 <param name="dir" type="wxDirection" default=""/>
17148 <param name="style" type="long" default=""/>
17149 </paramlist>
17150 </method>
17151 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
17152 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
17153 <docstring>Get the default attributes for this class. This is useful if you want
17154 to use the same font or colour in your own control as in a standard
17155 control -- which is a much better idea than hard coding specific
17156 colours or fonts which might look completely out of place on the
17157 user's system, especially if it uses themes.
17158
17159 The variant parameter is only relevant under Mac currently and is
17160 ignore under other platforms. Under Mac, it will change the size of
17161 the returned font. See `wx.Window.SetWindowVariant` for more about
17162 this.</docstring>
17163 <paramlist>
17164 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
17165 </paramlist>
17166 </staticmethod>
17167 </class>
17168 <pythoncode>
17169 #---------------------------------------------------------------------------
17170 </pythoncode>
17171 <class name="RadioButton" oldname="wxRadioButton" module="_controls">
17172 <baseclass name="Control"/>
17173 <constructor name="RadioButton" overloaded="no">
17174 <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString,
17175 Point pos=DefaultPosition, Size size=DefaultSize,
17176 long style=0, Validator validator=DefaultValidator,
17177 String name=RadioButtonNameStr) -&gt; RadioButton</autodoc>
17178 <paramlist>
17179 <param name="parent" type="Window" default=""/>
17180 <param name="id" type="int" default="-1"/>
17181 <param name="label" type="String" default="wxPyEmptyString"/>
17182 <param name="pos" type="Point" default="wxDefaultPosition"/>
17183 <param name="size" type="Size" default="wxDefaultSize"/>
17184 <param name="style" type="long" default="0"/>
17185 <param name="validator" type="Validator" default="wxDefaultValidator"/>
17186 <param name="name" type="String" default="wxPyRadioButtonNameStr"/>
17187 </paramlist>
17188 </constructor>
17189 <constructor name="PreRadioButton" overloaded="no">
17190 <autodoc>PreRadioButton() -&gt; RadioButton</autodoc>
17191 </constructor>
17192 <method name="Create" type="bool" overloaded="no">
17193 <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString,
17194 Point pos=DefaultPosition, Size size=DefaultSize,
17195 long style=0, Validator validator=DefaultValidator,
17196 String name=RadioButtonNameStr) -&gt; bool</autodoc>
17197 <paramlist>
17198 <param name="parent" type="Window" default=""/>
17199 <param name="id" type="int" default="-1"/>
17200 <param name="label" type="String" default="wxPyEmptyString"/>
17201 <param name="pos" type="Point" default="wxDefaultPosition"/>
17202 <param name="size" type="Size" default="wxDefaultSize"/>
17203 <param name="style" type="long" default="0"/>
17204 <param name="validator" type="Validator" default="wxDefaultValidator"/>
17205 <param name="name" type="String" default="wxPyRadioButtonNameStr"/>
17206 </paramlist>
17207 </method>
17208 <method name="GetValue" type="bool" overloaded="no">
17209 <autodoc>GetValue(self) -&gt; bool</autodoc>
17210 </method>
17211 <method name="SetValue" type="" overloaded="no">
17212 <autodoc>SetValue(self, bool value)</autodoc>
17213 <paramlist>
17214 <param name="value" type="bool" default=""/>
17215 </paramlist>
17216 </method>
17217 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
17218 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
17219 <docstring>Get the default attributes for this class. This is useful if you want
17220 to use the same font or colour in your own control as in a standard
17221 control -- which is a much better idea than hard coding specific
17222 colours or fonts which might look completely out of place on the
17223 user's system, especially if it uses themes.
17224
17225 The variant parameter is only relevant under Mac currently and is
17226 ignore under other platforms. Under Mac, it will change the size of
17227 the returned font. See `wx.Window.SetWindowVariant` for more about
17228 this.</docstring>
17229 <paramlist>
17230 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
17231 </paramlist>
17232 </staticmethod>
17233 </class>
17234 <pythoncode>
17235 #---------------------------------------------------------------------------
17236 </pythoncode>
17237 <class name="Slider" oldname="wxSlider" module="_controls">
17238 <baseclass name="Control"/>
17239 <constructor name="Slider" overloaded="no">
17240 <autodoc>__init__(self, Window parent, int id=-1, int value=0, int minValue=0,
17241 int maxValue=100, Point pos=DefaultPosition,
17242 Size size=DefaultSize, long style=SL_HORIZONTAL,
17243 Validator validator=DefaultValidator,
17244 String name=SliderNameStr) -&gt; Slider</autodoc>
17245 <paramlist>
17246 <param name="parent" type="Window" default=""/>
17247 <param name="id" type="int" default="-1"/>
17248 <param name="value" type="int" default="0"/>
17249 <param name="minValue" type="int" default="0"/>
17250 <param name="maxValue" type="int" default="100"/>
17251 <param name="pos" type="Point" default="wxDefaultPosition"/>
17252 <param name="size" type="Size" default="wxDefaultSize"/>
17253 <param name="style" type="long" default="wxSL_HORIZONTAL"/>
17254 <param name="validator" type="Validator" default="wxDefaultValidator"/>
17255 <param name="name" type="String" default="wxPySliderNameStr"/>
17256 </paramlist>
17257 </constructor>
17258 <constructor name="PreSlider" overloaded="no">
17259 <autodoc>PreSlider() -&gt; Slider</autodoc>
17260 </constructor>
17261 <method name="Create" type="bool" overloaded="no">
17262 <autodoc>Create(self, Window parent, int id=-1, int value=0, int minValue=0,
17263 int maxValue=100, Point pos=DefaultPosition,
17264 Size size=DefaultSize, long style=SL_HORIZONTAL,
17265 Validator validator=DefaultValidator,
17266 String name=SliderNameStr) -&gt; bool</autodoc>
17267 <paramlist>
17268 <param name="parent" type="Window" default=""/>
17269 <param name="id" type="int" default="-1"/>
17270 <param name="value" type="int" default="0"/>
17271 <param name="minValue" type="int" default="0"/>
17272 <param name="maxValue" type="int" default="100"/>
17273 <param name="pos" type="Point" default="wxDefaultPosition"/>
17274 <param name="size" type="Size" default="wxDefaultSize"/>
17275 <param name="style" type="long" default="wxSL_HORIZONTAL"/>
17276 <param name="validator" type="Validator" default="wxDefaultValidator"/>
17277 <param name="name" type="String" default="wxPySliderNameStr"/>
17278 </paramlist>
17279 </method>
17280 <method name="GetValue" type="int" overloaded="no">
17281 <autodoc>GetValue(self) -&gt; int</autodoc>
17282 </method>
17283 <method name="SetValue" type="" overloaded="no">
17284 <autodoc>SetValue(self, int value)</autodoc>
17285 <paramlist>
17286 <param name="value" type="int" default=""/>
17287 </paramlist>
17288 </method>
17289 <method name="SetRange" type="" overloaded="no">
17290 <autodoc>SetRange(self, int minValue, int maxValue)</autodoc>
17291 <paramlist>
17292 <param name="minValue" type="int" default=""/>
17293 <param name="maxValue" type="int" default=""/>
17294 </paramlist>
17295 </method>
17296 <method name="GetMin" type="int" overloaded="no">
17297 <autodoc>GetMin(self) -&gt; int</autodoc>
17298 </method>
17299 <method name="GetMax" type="int" overloaded="no">
17300 <autodoc>GetMax(self) -&gt; int</autodoc>
17301 </method>
17302 <method name="SetMin" type="" overloaded="no">
17303 <autodoc>SetMin(self, int minValue)</autodoc>
17304 <paramlist>
17305 <param name="minValue" type="int" default=""/>
17306 </paramlist>
17307 </method>
17308 <method name="SetMax" type="" overloaded="no">
17309 <autodoc>SetMax(self, int maxValue)</autodoc>
17310 <paramlist>
17311 <param name="maxValue" type="int" default=""/>
17312 </paramlist>
17313 </method>
17314 <method name="SetLineSize" type="" overloaded="no">
17315 <autodoc>SetLineSize(self, int lineSize)</autodoc>
17316 <paramlist>
17317 <param name="lineSize" type="int" default=""/>
17318 </paramlist>
17319 </method>
17320 <method name="SetPageSize" type="" overloaded="no">
17321 <autodoc>SetPageSize(self, int pageSize)</autodoc>
17322 <paramlist>
17323 <param name="pageSize" type="int" default=""/>
17324 </paramlist>
17325 </method>
17326 <method name="GetLineSize" type="int" overloaded="no">
17327 <autodoc>GetLineSize(self) -&gt; int</autodoc>
17328 </method>
17329 <method name="GetPageSize" type="int" overloaded="no">
17330 <autodoc>GetPageSize(self) -&gt; int</autodoc>
17331 </method>
17332 <method name="SetThumbLength" type="" overloaded="no">
17333 <autodoc>SetThumbLength(self, int lenPixels)</autodoc>
17334 <paramlist>
17335 <param name="lenPixels" type="int" default=""/>
17336 </paramlist>
17337 </method>
17338 <method name="GetThumbLength" type="int" overloaded="no">
17339 <autodoc>GetThumbLength(self) -&gt; int</autodoc>
17340 </method>
17341 <method name="SetTickFreq" type="" overloaded="no">
17342 <autodoc>SetTickFreq(self, int n, int pos=1)</autodoc>
17343 <paramlist>
17344 <param name="n" type="int" default=""/>
17345 <param name="pos" type="int" default="1"/>
17346 </paramlist>
17347 </method>
17348 <method name="GetTickFreq" type="int" overloaded="no">
17349 <autodoc>GetTickFreq(self) -&gt; int</autodoc>
17350 </method>
17351 <method name="ClearTicks" type="" overloaded="no">
17352 <autodoc>ClearTicks(self)</autodoc>
17353 </method>
17354 <method name="SetTick" type="" overloaded="no">
17355 <autodoc>SetTick(self, int tickPos)</autodoc>
17356 <paramlist>
17357 <param name="tickPos" type="int" default=""/>
17358 </paramlist>
17359 </method>
17360 <method name="ClearSel" type="" overloaded="no">
17361 <autodoc>ClearSel(self)</autodoc>
17362 </method>
17363 <method name="GetSelEnd" type="int" overloaded="no">
17364 <autodoc>GetSelEnd(self) -&gt; int</autodoc>
17365 </method>
17366 <method name="GetSelStart" type="int" overloaded="no">
17367 <autodoc>GetSelStart(self) -&gt; int</autodoc>
17368 </method>
17369 <method name="SetSelection" type="" overloaded="no">
17370 <autodoc>SetSelection(self, int min, int max)</autodoc>
17371 <paramlist>
17372 <param name="min" type="int" default=""/>
17373 <param name="max" type="int" default=""/>
17374 </paramlist>
17375 </method>
17376 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
17377 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
17378 <docstring>Get the default attributes for this class. This is useful if you want
17379 to use the same font or colour in your own control as in a standard
17380 control -- which is a much better idea than hard coding specific
17381 colours or fonts which might look completely out of place on the
17382 user's system, especially if it uses themes.
17383
17384 The variant parameter is only relevant under Mac currently and is
17385 ignore under other platforms. Under Mac, it will change the size of
17386 the returned font. See `wx.Window.SetWindowVariant` for more about
17387 this.</docstring>
17388 <paramlist>
17389 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
17390 </paramlist>
17391 </staticmethod>
17392 </class>
17393 <pythoncode>
17394 #---------------------------------------------------------------------------
17395 </pythoncode>
17396 <pythoncode>
17397 EVT_TOGGLEBUTTON = wx.PyEventBinder( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 1)
17398 </pythoncode>
17399 <class name="ToggleButton" oldname="wxToggleButton" module="_controls">
17400 <baseclass name="Control"/>
17401 <constructor name="ToggleButton" overloaded="no">
17402 <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString,
17403 Point pos=DefaultPosition, Size size=DefaultSize,
17404 long style=0, Validator validator=DefaultValidator,
17405 String name=ToggleButtonNameStr) -&gt; ToggleButton</autodoc>
17406 <paramlist>
17407 <param name="parent" type="Window" default=""/>
17408 <param name="id" type="int" default="-1"/>
17409 <param name="label" type="String" default="wxPyEmptyString"/>
17410 <param name="pos" type="Point" default="wxDefaultPosition"/>
17411 <param name="size" type="Size" default="wxDefaultSize"/>
17412 <param name="style" type="long" default="0"/>
17413 <param name="validator" type="Validator" default="wxDefaultValidator"/>
17414 <param name="name" type="String" default="wxPyToggleButtonNameStr"/>
17415 </paramlist>
17416 </constructor>
17417 <constructor name="PreToggleButton" overloaded="no">
17418 <autodoc>PreToggleButton() -&gt; ToggleButton</autodoc>
17419 </constructor>
17420 <method name="Create" type="bool" overloaded="no">
17421 <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString,
17422 Point pos=DefaultPosition, Size size=DefaultSize,
17423 long style=0, Validator validator=DefaultValidator,
17424 String name=ToggleButtonNameStr) -&gt; bool</autodoc>
17425 <paramlist>
17426 <param name="parent" type="Window" default=""/>
17427 <param name="id" type="int" default="-1"/>
17428 <param name="label" type="String" default="wxPyEmptyString"/>
17429 <param name="pos" type="Point" default="wxDefaultPosition"/>
17430 <param name="size" type="Size" default="wxDefaultSize"/>
17431 <param name="style" type="long" default="0"/>
17432 <param name="validator" type="Validator" default="wxDefaultValidator"/>
17433 <param name="name" type="String" default="wxPyToggleButtonNameStr"/>
17434 </paramlist>
17435 </method>
17436 <method name="SetValue" type="" overloaded="no">
17437 <autodoc>SetValue(self, bool value)</autodoc>
17438 <paramlist>
17439 <param name="value" type="bool" default=""/>
17440 </paramlist>
17441 </method>
17442 <method name="GetValue" type="bool" overloaded="no">
17443 <autodoc>GetValue(self) -&gt; bool</autodoc>
17444 </method>
17445 <method name="SetLabel" type="" overloaded="no">
17446 <autodoc>SetLabel(self, String label)</autodoc>
17447 <docstring>Sets the item's text.</docstring>
17448 <paramlist>
17449 <param name="label" type="String" default=""/>
17450 </paramlist>
17451 </method>
17452 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
17453 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
17454 <docstring>Get the default attributes for this class. This is useful if you want
17455 to use the same font or colour in your own control as in a standard
17456 control -- which is a much better idea than hard coding specific
17457 colours or fonts which might look completely out of place on the
17458 user's system, especially if it uses themes.
17459
17460 The variant parameter is only relevant under Mac currently and is
17461 ignore under other platforms. Under Mac, it will change the size of
17462 the returned font. See `wx.Window.SetWindowVariant` for more about
17463 this.</docstring>
17464 <paramlist>
17465 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
17466 </paramlist>
17467 </staticmethod>
17468 </class>
17469 <pythoncode>
17470 #---------------------------------------------------------------------------
17471 </pythoncode>
17472 <class name="BookCtrl" oldname="wxBookCtrl" module="_controls">
17473 <baseclass name="Control"/>
17474 <method name="GetPageCount" type="size_t" overloaded="no">
17475 <autodoc>GetPageCount(self) -&gt; size_t</autodoc>
17476 </method>
17477 <method name="GetPage" type="Window" overloaded="no">
17478 <autodoc>GetPage(self, size_t n) -&gt; Window</autodoc>
17479 <paramlist>
17480 <param name="n" type="size_t" default=""/>
17481 </paramlist>
17482 </method>
17483 <method name="GetSelection" type="int" overloaded="no">
17484 <autodoc>GetSelection(self) -&gt; int</autodoc>
17485 </method>
17486 <method name="SetPageText" type="bool" overloaded="no">
17487 <autodoc>SetPageText(self, size_t n, String strText) -&gt; bool</autodoc>
17488 <paramlist>
17489 <param name="n" type="size_t" default=""/>
17490 <param name="strText" type="String" default=""/>
17491 </paramlist>
17492 </method>
17493 <method name="GetPageText" type="String" overloaded="no">
17494 <autodoc>GetPageText(self, size_t n) -&gt; String</autodoc>
17495 <paramlist>
17496 <param name="n" type="size_t" default=""/>
17497 </paramlist>
17498 </method>
17499 <method name="SetImageList" type="" overloaded="no">
17500 <autodoc>SetImageList(self, ImageList imageList)</autodoc>
17501 <paramlist>
17502 <param name="imageList" type="ImageList" default=""/>
17503 </paramlist>
17504 </method>
17505 <method name="AssignImageList" type="" overloaded="no">
17506 <autodoc>AssignImageList(self, ImageList imageList)</autodoc>
17507 <paramlist>
17508 <param name="imageList" type="ImageList" default=""/>
17509 </paramlist>
17510 </method>
17511 <method name="GetImageList" type="ImageList" overloaded="no">
17512 <autodoc>GetImageList(self) -&gt; ImageList</autodoc>
17513 </method>
17514 <method name="GetPageImage" type="int" overloaded="no">
17515 <autodoc>GetPageImage(self, size_t n) -&gt; int</autodoc>
17516 <paramlist>
17517 <param name="n" type="size_t" default=""/>
17518 </paramlist>
17519 </method>
17520 <method name="SetPageImage" type="bool" overloaded="no">
17521 <autodoc>SetPageImage(self, size_t n, int imageId) -&gt; bool</autodoc>
17522 <paramlist>
17523 <param name="n" type="size_t" default=""/>
17524 <param name="imageId" type="int" default=""/>
17525 </paramlist>
17526 </method>
17527 <method name="SetPageSize" type="" overloaded="no">
17528 <autodoc>SetPageSize(self, Size size)</autodoc>
17529 <paramlist>
17530 <param name="size" type="Size" default=""/>
17531 </paramlist>
17532 </method>
17533 <method name="CalcSizeFromPage" type="Size" overloaded="no">
17534 <autodoc>CalcSizeFromPage(self, Size sizePage) -&gt; Size</autodoc>
17535 <paramlist>
17536 <param name="sizePage" type="Size" default=""/>
17537 </paramlist>
17538 </method>
17539 <method name="DeletePage" type="bool" overloaded="no">
17540 <autodoc>DeletePage(self, size_t n) -&gt; bool</autodoc>
17541 <paramlist>
17542 <param name="n" type="size_t" default=""/>
17543 </paramlist>
17544 </method>
17545 <method name="RemovePage" type="bool" overloaded="no">
17546 <autodoc>RemovePage(self, size_t n) -&gt; bool</autodoc>
17547 <paramlist>
17548 <param name="n" type="size_t" default=""/>
17549 </paramlist>
17550 </method>
17551 <method name="DeleteAllPages" type="bool" overloaded="no">
17552 <autodoc>DeleteAllPages(self) -&gt; bool</autodoc>
17553 </method>
17554 <method name="AddPage" type="bool" overloaded="no">
17555 <autodoc>AddPage(self, Window page, String text, bool select=False, int imageId=-1) -&gt; bool</autodoc>
17556 <paramlist>
17557 <param name="page" type="Window" default=""/>
17558 <param name="text" type="String" default=""/>
17559 <param name="select" type="bool" default="False"/>
17560 <param name="imageId" type="int" default="-1"/>
17561 </paramlist>
17562 </method>
17563 <method name="InsertPage" type="bool" overloaded="no">
17564 <autodoc>InsertPage(self, size_t n, Window page, String text, bool select=False,
17565 int imageId=-1) -&gt; bool</autodoc>
17566 <paramlist>
17567 <param name="n" type="size_t" default=""/>
17568 <param name="page" type="Window" default=""/>
17569 <param name="text" type="String" default=""/>
17570 <param name="select" type="bool" default="False"/>
17571 <param name="imageId" type="int" default="-1"/>
17572 </paramlist>
17573 </method>
17574 <method name="SetSelection" type="int" overloaded="no">
17575 <autodoc>SetSelection(self, size_t n) -&gt; int</autodoc>
17576 <paramlist>
17577 <param name="n" type="size_t" default=""/>
17578 </paramlist>
17579 </method>
17580 <method name="AdvanceSelection" type="" overloaded="no">
17581 <autodoc>AdvanceSelection(self, bool forward=True)</autodoc>
17582 <paramlist>
17583 <param name="forward" type="bool" default="True"/>
17584 </paramlist>
17585 </method>
17586 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
17587 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
17588 <docstring>Get the default attributes for this class. This is useful if you want
17589 to use the same font or colour in your own control as in a standard
17590 control -- which is a much better idea than hard coding specific
17591 colours or fonts which might look completely out of place on the
17592 user's system, especially if it uses themes.
17593
17594 The variant parameter is only relevant under Mac currently and is
17595 ignore under other platforms. Under Mac, it will change the size of
17596 the returned font. See `wx.Window.SetWindowVariant` for more about
17597 this.</docstring>
17598 <paramlist>
17599 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
17600 </paramlist>
17601 </staticmethod>
17602 </class>
17603 <class name="BookCtrlEvent" oldname="wxBookCtrlEvent" module="_controls">
17604 <baseclass name="NotifyEvent"/>
17605 <constructor name="BookCtrlEvent" overloaded="no">
17606 <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
17607 int nOldSel=-1) -&gt; BookCtrlEvent</autodoc>
17608 <paramlist>
17609 <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
17610 <param name="id" type="int" default="0"/>
17611 <param name="nSel" type="int" default="-1"/>
17612 <param name="nOldSel" type="int" default="-1"/>
17613 </paramlist>
17614 </constructor>
17615 <method name="GetSelection" type="int" overloaded="no">
17616 <autodoc>GetSelection(self) -&gt; int</autodoc>
17617 </method>
17618 <method name="SetSelection" type="" overloaded="no">
17619 <autodoc>SetSelection(self, int nSel)</autodoc>
17620 <paramlist>
17621 <param name="nSel" type="int" default=""/>
17622 </paramlist>
17623 </method>
17624 <method name="GetOldSelection" type="int" overloaded="no">
17625 <autodoc>GetOldSelection(self) -&gt; int</autodoc>
17626 </method>
17627 <method name="SetOldSelection" type="" overloaded="no">
17628 <autodoc>SetOldSelection(self, int nOldSel)</autodoc>
17629 <paramlist>
17630 <param name="nOldSel" type="int" default=""/>
17631 </paramlist>
17632 </method>
17633 </class>
17634 <pythoncode>
17635 #---------------------------------------------------------------------------
17636 </pythoncode>
17637 <class name="Notebook" oldname="wxNotebook" module="_controls">
17638 <baseclass name="BookCtrl"/>
17639 <constructor name="Notebook" overloaded="no">
17640 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
17641 Size size=DefaultSize, long style=0, String name=NOTEBOOK_NAME) -&gt; Notebook</autodoc>
17642 <paramlist>
17643 <param name="parent" type="Window" default=""/>
17644 <param name="id" type="int" default="-1"/>
17645 <param name="pos" type="Point" default="wxDefaultPosition"/>
17646 <param name="size" type="Size" default="wxDefaultSize"/>
17647 <param name="style" type="long" default="0"/>
17648 <param name="name" type="String" default="wxPyNOTEBOOK_NAME"/>
17649 </paramlist>
17650 </constructor>
17651 <constructor name="PreNotebook" overloaded="no">
17652 <autodoc>PreNotebook() -&gt; Notebook</autodoc>
17653 </constructor>
17654 <method name="Create" type="bool" overloaded="no">
17655 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
17656 Size size=DefaultSize, long style=0, String name=NOTEBOOK_NAME) -&gt; bool</autodoc>
17657 <paramlist>
17658 <param name="parent" type="Window" default=""/>
17659 <param name="id" type="int" default="-1"/>
17660 <param name="pos" type="Point" default="wxDefaultPosition"/>
17661 <param name="size" type="Size" default="wxDefaultSize"/>
17662 <param name="style" type="long" default="0"/>
17663 <param name="name" type="String" default="wxPyNOTEBOOK_NAME"/>
17664 </paramlist>
17665 </method>
17666 <method name="GetRowCount" type="int" overloaded="no">
17667 <autodoc>GetRowCount(self) -&gt; int</autodoc>
17668 </method>
17669 <method name="SetPadding" type="" overloaded="no">
17670 <autodoc>SetPadding(self, Size padding)</autodoc>
17671 <paramlist>
17672 <param name="padding" type="Size" default=""/>
17673 </paramlist>
17674 </method>
17675 <method name="SetTabSize" type="" overloaded="no">
17676 <autodoc>SetTabSize(self, Size sz)</autodoc>
17677 <paramlist>
17678 <param name="sz" type="Size" default=""/>
17679 </paramlist>
17680 </method>
17681 <method name="HitTest" type="int" overloaded="no">
17682 <autodoc>HitTest(Point pt) -&gt; (tab, where)</autodoc>
17683 <paramlist>
17684 <param name="pt" type="Point" default=""/>
17685 <param name="OUTPUT" type="long" default=""/>
17686 </paramlist>
17687 </method>
17688 <method name="CalcSizeFromPage" type="Size" overloaded="no">
17689 <autodoc>CalcSizeFromPage(self, Size sizePage) -&gt; Size</autodoc>
17690 <paramlist>
17691 <param name="sizePage" type="Size" default=""/>
17692 </paramlist>
17693 </method>
17694 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
17695 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
17696 <docstring>Get the default attributes for this class. This is useful if you want
17697 to use the same font or colour in your own control as in a standard
17698 control -- which is a much better idea than hard coding specific
17699 colours or fonts which might look completely out of place on the
17700 user's system, especially if it uses themes.
17701
17702 The variant parameter is only relevant under Mac currently and is
17703 ignore under other platforms. Under Mac, it will change the size of
17704 the returned font. See `wx.Window.SetWindowVariant` for more about
17705 this.</docstring>
17706 <paramlist>
17707 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
17708 </paramlist>
17709 </staticmethod>
17710 </class>
17711 <class name="NotebookEvent" oldname="wxNotebookEvent" module="_controls">
17712 <baseclass name="BookCtrlEvent"/>
17713 <constructor name="NotebookEvent" overloaded="no">
17714 <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
17715 int nOldSel=-1) -&gt; NotebookEvent</autodoc>
17716 <paramlist>
17717 <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
17718 <param name="id" type="int" default="0"/>
17719 <param name="nSel" type="int" default="-1"/>
17720 <param name="nOldSel" type="int" default="-1"/>
17721 </paramlist>
17722 </constructor>
17723 </class>
17724 <pythoncode>
17725 # wxNotebook events
17726 EVT_NOTEBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 1 )
17727 EVT_NOTEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 1 )
17728 </pythoncode>
17729 <pythoncode>
17730 #----------------------------------------------------------------------------
17731
17732 class NotebookPage(wx.Panel):
17733 """
17734 There is an old (and apparently unsolvable) bug when placing a
17735 window with a nonstandard background colour in a wxNotebook on
17736 wxGTK, as the notbooks's background colour would always be used
17737 when the window is refreshed. The solution is to place a panel in
17738 the notbook and the coloured window on the panel, sized to cover
17739 the panel. This simple class does that for you, just put an
17740 instance of this in the notebook and make your regular window a
17741 child of this one and it will handle the resize for you.
17742 """
17743 def __init__(self, parent, id=-1,
17744 pos=wx.DefaultPosition, size=wx.DefaultSize,
17745 style=wx.TAB_TRAVERSAL, name="panel"):
17746 wx.Panel.__init__(self, parent, id, pos, size, style, name)
17747 self.child = None
17748 EVT_SIZE(self, self.OnSize)
17749
17750 def OnSize(self, evt):
17751 if self.child is None:
17752 children = self.GetChildren()
17753 if len(children):
17754 self.child = children[0]
17755 if self.child:
17756 self.child.SetPosition((0,0))
17757 self.child.SetSize(self.GetSize())
17758
17759 </pythoncode>
17760 <pythoncode>
17761 #---------------------------------------------------------------------------
17762 </pythoncode>
17763 <class name="Listbook" oldname="wxListbook" module="_controls">
17764 <baseclass name="BookCtrl"/>
17765 <constructor name="Listbook" overloaded="no">
17766 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
17767 Size size=DefaultSize, long style=0, String name=EmptyString) -&gt; Listbook</autodoc>
17768 <paramlist>
17769 <param name="parent" type="Window" default=""/>
17770 <param name="id" type="int" default="-1"/>
17771 <param name="pos" type="Point" default="wxDefaultPosition"/>
17772 <param name="size" type="Size" default="wxDefaultSize"/>
17773 <param name="style" type="long" default="0"/>
17774 <param name="name" type="String" default="wxPyEmptyString"/>
17775 </paramlist>
17776 </constructor>
17777 <constructor name="PreListbook" overloaded="no">
17778 <autodoc>PreListbook() -&gt; Listbook</autodoc>
17779 </constructor>
17780 <method name="Create" type="bool" overloaded="no">
17781 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
17782 Size size=DefaultSize, long style=0, String name=EmptyString) -&gt; bool</autodoc>
17783 <paramlist>
17784 <param name="parent" type="Window" default=""/>
17785 <param name="id" type="int" default="-1"/>
17786 <param name="pos" type="Point" default="wxDefaultPosition"/>
17787 <param name="size" type="Size" default="wxDefaultSize"/>
17788 <param name="style" type="long" default="0"/>
17789 <param name="name" type="String" default="wxPyEmptyString"/>
17790 </paramlist>
17791 </method>
17792 <method name="IsVertical" type="bool" overloaded="no">
17793 <autodoc>IsVertical(self) -&gt; bool</autodoc>
17794 </method>
17795 </class>
17796 <class name="ListbookEvent" oldname="wxListbookEvent" module="_controls">
17797 <baseclass name="BookCtrlEvent"/>
17798 <constructor name="ListbookEvent" overloaded="no">
17799 <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
17800 int nOldSel=-1) -&gt; ListbookEvent</autodoc>
17801 <paramlist>
17802 <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
17803 <param name="id" type="int" default="0"/>
17804 <param name="nSel" type="int" default="-1"/>
17805 <param name="nOldSel" type="int" default="-1"/>
17806 </paramlist>
17807 </constructor>
17808 </class>
17809 <pythoncode>
17810 EVT_LISTBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 1 )
17811 EVT_LISTBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 1 )
17812 </pythoncode>
17813 <pythoncode>
17814 #---------------------------------------------------------------------------
17815 </pythoncode>
17816 <class name="BookCtrlSizer" oldname="wxBookCtrlSizer" module="_controls">
17817 <baseclass name="Sizer"/>
17818 <constructor name="BookCtrlSizer" overloaded="no">
17819 <autodoc>__init__(self, BookCtrl nb) -&gt; BookCtrlSizer</autodoc>
17820 <paramlist>
17821 <param name="nb" type="BookCtrl" default=""/>
17822 </paramlist>
17823 </constructor>
17824 <method name="RecalcSizes" type="" overloaded="no">
17825 <autodoc>RecalcSizes(self)</autodoc>
17826 <docstring>Using the sizes calculated by `CalcMin` reposition and resize all the
17827 items managed by this sizer. You should not need to call this directly as
17828 it is called by `Layout`.</docstring>
17829 </method>
17830 <method name="CalcMin" type="Size" overloaded="no">
17831 <autodoc>CalcMin(self) -&gt; Size</autodoc>
17832 <docstring>This method is where the sizer will do the actual calculation of its
17833 children's minimal sizes. You should not need to call this directly as
17834 it is called by `Layout`.</docstring>
17835 </method>
17836 <method name="GetControl" type="BookCtrl" overloaded="no">
17837 <autodoc>GetControl(self) -&gt; BookCtrl</autodoc>
17838 </method>
17839 </class>
17840 <class name="NotebookSizer" oldname="wxNotebookSizer" module="_controls">
17841 <baseclass name="Sizer"/>
17842 <constructor name="NotebookSizer" overloaded="no">
17843 <autodoc>__init__(self, Notebook nb) -&gt; NotebookSizer</autodoc>
17844 <paramlist>
17845 <param name="nb" type="Notebook" default=""/>
17846 </paramlist>
17847 </constructor>
17848 <method name="RecalcSizes" type="" overloaded="no">
17849 <autodoc>RecalcSizes(self)</autodoc>
17850 <docstring>Using the sizes calculated by `CalcMin` reposition and resize all the
17851 items managed by this sizer. You should not need to call this directly as
17852 it is called by `Layout`.</docstring>
17853 </method>
17854 <method name="CalcMin" type="Size" overloaded="no">
17855 <autodoc>CalcMin(self) -&gt; Size</autodoc>
17856 <docstring>This method is where the sizer will do the actual calculation of its
17857 children's minimal sizes. You should not need to call this directly as
17858 it is called by `Layout`.</docstring>
17859 </method>
17860 <method name="GetNotebook" type="Notebook" overloaded="no">
17861 <autodoc>GetNotebook(self) -&gt; Notebook</autodoc>
17862 </method>
17863 </class>
17864 <pythoncode>
17865 #---------------------------------------------------------------------------
17866 </pythoncode>
17867 <class name="ToolBarToolBase" oldname="wxToolBarToolBase" module="_controls">
17868 <baseclass name="Object"/>
17869 <method name="GetId" type="int" overloaded="no">
17870 <autodoc>GetId(self) -&gt; int</autodoc>
17871 </method>
17872 <method name="GetControl" type="Control" overloaded="no">
17873 <autodoc>GetControl(self) -&gt; Control</autodoc>
17874 </method>
17875 <method name="GetToolBar" type="wxToolBarBase" overloaded="no">
17876 <autodoc>GetToolBar(self) -&gt; ToolBarBase</autodoc>
17877 </method>
17878 <method name="IsButton" type="int" overloaded="no">
17879 <autodoc>IsButton(self) -&gt; int</autodoc>
17880 </method>
17881 <method name="IsControl" type="int" overloaded="no">
17882 <autodoc>IsControl(self) -&gt; int</autodoc>
17883 </method>
17884 <method name="IsSeparator" type="int" overloaded="no">
17885 <autodoc>IsSeparator(self) -&gt; int</autodoc>
17886 </method>
17887 <method name="GetStyle" type="int" overloaded="no">
17888 <autodoc>GetStyle(self) -&gt; int</autodoc>
17889 </method>
17890 <method name="GetKind" type="wxItemKind" overloaded="no">
17891 <autodoc>GetKind(self) -&gt; int</autodoc>
17892 </method>
17893 <method name="IsEnabled" type="bool" overloaded="no">
17894 <autodoc>IsEnabled(self) -&gt; bool</autodoc>
17895 </method>
17896 <method name="IsToggled" type="bool" overloaded="no">
17897 <autodoc>IsToggled(self) -&gt; bool</autodoc>
17898 </method>
17899 <method name="CanBeToggled" type="bool" overloaded="no">
17900 <autodoc>CanBeToggled(self) -&gt; bool</autodoc>
17901 </method>
17902 <method name="GetNormalBitmap" type="Bitmap" overloaded="no">
17903 <autodoc>GetNormalBitmap(self) -&gt; Bitmap</autodoc>
17904 </method>
17905 <method name="GetDisabledBitmap" type="Bitmap" overloaded="no">
17906 <autodoc>GetDisabledBitmap(self) -&gt; Bitmap</autodoc>
17907 </method>
17908 <method name="GetBitmap" type="Bitmap" overloaded="no">
17909 <autodoc>GetBitmap(self) -&gt; Bitmap</autodoc>
17910 </method>
17911 <method name="GetLabel" type="String" overloaded="no">
17912 <autodoc>GetLabel(self) -&gt; String</autodoc>
17913 </method>
17914 <method name="GetShortHelp" type="String" overloaded="no">
17915 <autodoc>GetShortHelp(self) -&gt; String</autodoc>
17916 </method>
17917 <method name="GetLongHelp" type="String" overloaded="no">
17918 <autodoc>GetLongHelp(self) -&gt; String</autodoc>
17919 </method>
17920 <method name="Enable" type="bool" overloaded="no">
17921 <autodoc>Enable(self, bool enable) -&gt; bool</autodoc>
17922 <paramlist>
17923 <param name="enable" type="bool" default=""/>
17924 </paramlist>
17925 </method>
17926 <method name="Toggle" type="" overloaded="no">
17927 <autodoc>Toggle(self)</autodoc>
17928 </method>
17929 <method name="SetToggle" type="bool" overloaded="no">
17930 <autodoc>SetToggle(self, bool toggle) -&gt; bool</autodoc>
17931 <paramlist>
17932 <param name="toggle" type="bool" default=""/>
17933 </paramlist>
17934 </method>
17935 <method name="SetShortHelp" type="bool" overloaded="no">
17936 <autodoc>SetShortHelp(self, String help) -&gt; bool</autodoc>
17937 <paramlist>
17938 <param name="help" type="String" default=""/>
17939 </paramlist>
17940 </method>
17941 <method name="SetLongHelp" type="bool" overloaded="no">
17942 <autodoc>SetLongHelp(self, String help) -&gt; bool</autodoc>
17943 <paramlist>
17944 <param name="help" type="String" default=""/>
17945 </paramlist>
17946 </method>
17947 <method name="SetNormalBitmap" type="" overloaded="no">
17948 <autodoc>SetNormalBitmap(self, Bitmap bmp)</autodoc>
17949 <paramlist>
17950 <param name="bmp" type="Bitmap" default=""/>
17951 </paramlist>
17952 </method>
17953 <method name="SetDisabledBitmap" type="" overloaded="no">
17954 <autodoc>SetDisabledBitmap(self, Bitmap bmp)</autodoc>
17955 <paramlist>
17956 <param name="bmp" type="Bitmap" default=""/>
17957 </paramlist>
17958 </method>
17959 <method name="SetLabel" type="" overloaded="no">
17960 <autodoc>SetLabel(self, String label)</autodoc>
17961 <paramlist>
17962 <param name="label" type="String" default=""/>
17963 </paramlist>
17964 </method>
17965 <method name="Detach" type="" overloaded="no">
17966 <autodoc>Detach(self)</autodoc>
17967 </method>
17968 <method name="Attach" type="" overloaded="no">
17969 <autodoc>Attach(self, ToolBarBase tbar)</autodoc>
17970 <paramlist>
17971 <param name="tbar" type="wxToolBarBase" default=""/>
17972 </paramlist>
17973 </method>
17974 <method name="GetClientData" type="PyObject" overloaded="no">
17975 <autodoc>GetClientData(self) -&gt; PyObject</autodoc>
17976 </method>
17977 <method name="SetClientData" type="" overloaded="no">
17978 <autodoc>SetClientData(self, PyObject clientData)</autodoc>
17979 <paramlist>
17980 <param name="clientData" type="PyObject" default=""/>
17981 </paramlist>
17982 </method>
17983 </class>
17984 <class name="ToolBarBase" oldname="wxToolBarBase" module="_controls">
17985 <baseclass name="Control"/>
17986 <method name="DoAddTool" type="ToolBarToolBase" overloaded="no">
17987 <autodoc>DoAddTool(self, int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap,
17988 int kind=ITEM_NORMAL, String shortHelp=EmptyString,
17989 String longHelp=EmptyString,
17990 PyObject clientData=None) -&gt; ToolBarToolBase</autodoc>
17991 <paramlist>
17992 <param name="id" type="int" default=""/>
17993 <param name="label" type="String" default=""/>
17994 <param name="bitmap" type="Bitmap" default=""/>
17995 <param name="bmpDisabled" type="Bitmap" default="wxNullBitmap"/>
17996 <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
17997 <param name="shortHelp" type="String" default="wxPyEmptyString"/>
17998 <param name="longHelp" type="String" default="wxPyEmptyString"/>
17999 <param name="clientData" type="PyObject" default="NULL"/>
18000 </paramlist>
18001 </method>
18002 <method name="DoInsertTool" type="ToolBarToolBase" overloaded="no">
18003 <autodoc>DoInsertTool(self, size_t pos, int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap,
18004 int kind=ITEM_NORMAL,
18005 String shortHelp=EmptyString, String longHelp=EmptyString,
18006 PyObject clientData=None) -&gt; ToolBarToolBase</autodoc>
18007 <paramlist>
18008 <param name="pos" type="size_t" default=""/>
18009 <param name="id" type="int" default=""/>
18010 <param name="label" type="String" default=""/>
18011 <param name="bitmap" type="Bitmap" default=""/>
18012 <param name="bmpDisabled" type="Bitmap" default="wxNullBitmap"/>
18013 <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
18014 <param name="shortHelp" type="String" default="wxPyEmptyString"/>
18015 <param name="longHelp" type="String" default="wxPyEmptyString"/>
18016 <param name="clientData" type="PyObject" default="NULL"/>
18017 </paramlist>
18018 </method>
18019 <method name="AddToolItem" type="ToolBarToolBase" overloaded="no">
18020 <autodoc>AddToolItem(self, ToolBarToolBase tool) -&gt; ToolBarToolBase</autodoc>
18021 <paramlist>
18022 <param name="tool" type="ToolBarToolBase" default=""/>
18023 </paramlist>
18024 </method>
18025 <method name="InsertToolItem" type="ToolBarToolBase" overloaded="no">
18026 <autodoc>InsertToolItem(self, size_t pos, ToolBarToolBase tool) -&gt; ToolBarToolBase</autodoc>
18027 <paramlist>
18028 <param name="pos" type="size_t" default=""/>
18029 <param name="tool" type="ToolBarToolBase" default=""/>
18030 </paramlist>
18031 </method>
18032 <method name="AddControl" type="ToolBarToolBase" overloaded="no">
18033 <autodoc>AddControl(self, Control control) -&gt; ToolBarToolBase</autodoc>
18034 <paramlist>
18035 <param name="control" type="Control" default=""/>
18036 </paramlist>
18037 </method>
18038 <method name="InsertControl" type="ToolBarToolBase" overloaded="no">
18039 <autodoc>InsertControl(self, size_t pos, Control control) -&gt; ToolBarToolBase</autodoc>
18040 <paramlist>
18041 <param name="pos" type="size_t" default=""/>
18042 <param name="control" type="Control" default=""/>
18043 </paramlist>
18044 </method>
18045 <method name="FindControl" type="Control" overloaded="no">
18046 <autodoc>FindControl(self, int id) -&gt; Control</autodoc>
18047 <paramlist>
18048 <param name="id" type="int" default=""/>
18049 </paramlist>
18050 </method>
18051 <method name="AddSeparator" type="ToolBarToolBase" overloaded="no">
18052 <autodoc>AddSeparator(self) -&gt; ToolBarToolBase</autodoc>
18053 </method>
18054 <method name="InsertSeparator" type="ToolBarToolBase" overloaded="no">
18055 <autodoc>InsertSeparator(self, size_t pos) -&gt; ToolBarToolBase</autodoc>
18056 <paramlist>
18057 <param name="pos" type="size_t" default=""/>
18058 </paramlist>
18059 </method>
18060 <method name="RemoveTool" type="ToolBarToolBase" overloaded="no">
18061 <autodoc>RemoveTool(self, int id) -&gt; ToolBarToolBase</autodoc>
18062 <paramlist>
18063 <param name="id" type="int" default=""/>
18064 </paramlist>
18065 </method>
18066 <method name="DeleteToolByPos" type="bool" overloaded="no">
18067 <autodoc>DeleteToolByPos(self, size_t pos) -&gt; bool</autodoc>
18068 <paramlist>
18069 <param name="pos" type="size_t" default=""/>
18070 </paramlist>
18071 </method>
18072 <method name="DeleteTool" type="bool" overloaded="no">
18073 <autodoc>DeleteTool(self, int id) -&gt; bool</autodoc>
18074 <paramlist>
18075 <param name="id" type="int" default=""/>
18076 </paramlist>
18077 </method>
18078 <method name="ClearTools" type="" overloaded="no">
18079 <autodoc>ClearTools(self)</autodoc>
18080 </method>
18081 <method name="Realize" type="bool" overloaded="no">
18082 <autodoc>Realize(self) -&gt; bool</autodoc>
18083 </method>
18084 <method name="EnableTool" type="" overloaded="no">
18085 <autodoc>EnableTool(self, int id, bool enable)</autodoc>
18086 <paramlist>
18087 <param name="id" type="int" default=""/>
18088 <param name="enable" type="bool" default=""/>
18089 </paramlist>
18090 </method>
18091 <method name="ToggleTool" type="" overloaded="no">
18092 <autodoc>ToggleTool(self, int id, bool toggle)</autodoc>
18093 <paramlist>
18094 <param name="id" type="int" default=""/>
18095 <param name="toggle" type="bool" default=""/>
18096 </paramlist>
18097 </method>
18098 <method name="SetToggle" type="" overloaded="no">
18099 <autodoc>SetToggle(self, int id, bool toggle)</autodoc>
18100 <paramlist>
18101 <param name="id" type="int" default=""/>
18102 <param name="toggle" type="bool" default=""/>
18103 </paramlist>
18104 </method>
18105 <method name="GetToolClientData" type="PyObject" overloaded="no">
18106 <autodoc>GetToolClientData(self, int id) -&gt; PyObject</autodoc>
18107 <paramlist>
18108 <param name="id" type="int" default=""/>
18109 </paramlist>
18110 </method>
18111 <method name="SetToolClientData" type="" overloaded="no">
18112 <autodoc>SetToolClientData(self, int id, PyObject clientData)</autodoc>
18113 <paramlist>
18114 <param name="id" type="int" default=""/>
18115 <param name="clientData" type="PyObject" default=""/>
18116 </paramlist>
18117 </method>
18118 <method name="GetToolPos" type="int" overloaded="no">
18119 <autodoc>GetToolPos(self, int id) -&gt; int</autodoc>
18120 <paramlist>
18121 <param name="id" type="int" default=""/>
18122 </paramlist>
18123 </method>
18124 <method name="GetToolState" type="bool" overloaded="no">
18125 <autodoc>GetToolState(self, int id) -&gt; bool</autodoc>
18126 <paramlist>
18127 <param name="id" type="int" default=""/>
18128 </paramlist>
18129 </method>
18130 <method name="GetToolEnabled" type="bool" overloaded="no">
18131 <autodoc>GetToolEnabled(self, int id) -&gt; bool</autodoc>
18132 <paramlist>
18133 <param name="id" type="int" default=""/>
18134 </paramlist>
18135 </method>
18136 <method name="SetToolShortHelp" type="" overloaded="no">
18137 <autodoc>SetToolShortHelp(self, int id, String helpString)</autodoc>
18138 <paramlist>
18139 <param name="id" type="int" default=""/>
18140 <param name="helpString" type="String" default=""/>
18141 </paramlist>
18142 </method>
18143 <method name="GetToolShortHelp" type="String" overloaded="no">
18144 <autodoc>GetToolShortHelp(self, int id) -&gt; String</autodoc>
18145 <paramlist>
18146 <param name="id" type="int" default=""/>
18147 </paramlist>
18148 </method>
18149 <method name="SetToolLongHelp" type="" overloaded="no">
18150 <autodoc>SetToolLongHelp(self, int id, String helpString)</autodoc>
18151 <paramlist>
18152 <param name="id" type="int" default=""/>
18153 <param name="helpString" type="String" default=""/>
18154 </paramlist>
18155 </method>
18156 <method name="GetToolLongHelp" type="String" overloaded="no">
18157 <autodoc>GetToolLongHelp(self, int id) -&gt; String</autodoc>
18158 <paramlist>
18159 <param name="id" type="int" default=""/>
18160 </paramlist>
18161 </method>
18162 <method name="SetMarginsXY" type="" overloaded="no">
18163 <autodoc>SetMarginsXY(self, int x, int y)</autodoc>
18164 <paramlist>
18165 <param name="x" type="int" default=""/>
18166 <param name="y" type="int" default=""/>
18167 </paramlist>
18168 </method>
18169 <method name="SetMargins" type="" overloaded="no">
18170 <autodoc>SetMargins(self, Size size)</autodoc>
18171 <paramlist>
18172 <param name="size" type="Size" default=""/>
18173 </paramlist>
18174 </method>
18175 <method name="SetToolPacking" type="" overloaded="no">
18176 <autodoc>SetToolPacking(self, int packing)</autodoc>
18177 <paramlist>
18178 <param name="packing" type="int" default=""/>
18179 </paramlist>
18180 </method>
18181 <method name="SetToolSeparation" type="" overloaded="no">
18182 <autodoc>SetToolSeparation(self, int separation)</autodoc>
18183 <paramlist>
18184 <param name="separation" type="int" default=""/>
18185 </paramlist>
18186 </method>
18187 <method name="GetToolMargins" type="Size" overloaded="no">
18188 <autodoc>GetToolMargins(self) -&gt; Size</autodoc>
18189 </method>
18190 <method name="GetMargins" type="Size" overloaded="no">
18191 <autodoc>GetMargins(self) -&gt; Size</autodoc>
18192 </method>
18193 <method name="GetToolPacking" type="int" overloaded="no">
18194 <autodoc>GetToolPacking(self) -&gt; int</autodoc>
18195 </method>
18196 <method name="GetToolSeparation" type="int" overloaded="no">
18197 <autodoc>GetToolSeparation(self) -&gt; int</autodoc>
18198 </method>
18199 <method name="SetRows" type="" overloaded="no">
18200 <autodoc>SetRows(self, int nRows)</autodoc>
18201 <paramlist>
18202 <param name="nRows" type="int" default=""/>
18203 </paramlist>
18204 </method>
18205 <method name="SetMaxRowsCols" type="" overloaded="no">
18206 <autodoc>SetMaxRowsCols(self, int rows, int cols)</autodoc>
18207 <paramlist>
18208 <param name="rows" type="int" default=""/>
18209 <param name="cols" type="int" default=""/>
18210 </paramlist>
18211 </method>
18212 <method name="GetMaxRows" type="int" overloaded="no">
18213 <autodoc>GetMaxRows(self) -&gt; int</autodoc>
18214 </method>
18215 <method name="GetMaxCols" type="int" overloaded="no">
18216 <autodoc>GetMaxCols(self) -&gt; int</autodoc>
18217 </method>
18218 <method name="SetToolBitmapSize" type="" overloaded="no">
18219 <autodoc>SetToolBitmapSize(self, Size size)</autodoc>
18220 <paramlist>
18221 <param name="size" type="Size" default=""/>
18222 </paramlist>
18223 </method>
18224 <method name="GetToolBitmapSize" type="Size" overloaded="no">
18225 <autodoc>GetToolBitmapSize(self) -&gt; Size</autodoc>
18226 </method>
18227 <method name="GetToolSize" type="Size" overloaded="no">
18228 <autodoc>GetToolSize(self) -&gt; Size</autodoc>
18229 </method>
18230 <method name="FindToolForPosition" type="ToolBarToolBase" overloaded="no">
18231 <autodoc>FindToolForPosition(self, int x, int y) -&gt; ToolBarToolBase</autodoc>
18232 <paramlist>
18233 <param name="x" type="int" default=""/>
18234 <param name="y" type="int" default=""/>
18235 </paramlist>
18236 </method>
18237 <method name="FindById" type="ToolBarToolBase" overloaded="no">
18238 <autodoc>FindById(self, int toolid) -&gt; ToolBarToolBase</autodoc>
18239 <paramlist>
18240 <param name="toolid" type="int" default=""/>
18241 </paramlist>
18242 </method>
18243 <method name="IsVertical" type="bool" overloaded="no">
18244 <autodoc>IsVertical(self) -&gt; bool</autodoc>
18245 </method>
18246 </class>
18247 <class name="ToolBar" oldname="wxToolBar" module="_controls">
18248 <baseclass name="ToolBarBase"/>
18249 <constructor name="ToolBar" overloaded="no">
18250 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
18251 Size size=DefaultSize, long style=wxNO_BORDER|wxTB_HORIZONTAL,
18252 String name=wxPyToolBarNameStr) -&gt; ToolBar</autodoc>
18253 <paramlist>
18254 <param name="parent" type="Window" default=""/>
18255 <param name="id" type="int" default="-1"/>
18256 <param name="pos" type="Point" default="wxDefaultPosition"/>
18257 <param name="size" type="Size" default="wxDefaultSize"/>
18258 <param name="style" type="long" default="wxNO_BORDER|wxTB_HORIZONTAL"/>
18259 <param name="name" type="String" default="wxPyToolBarNameStr"/>
18260 </paramlist>
18261 </constructor>
18262 <constructor name="PreToolBar" overloaded="no">
18263 <autodoc>PreToolBar() -&gt; ToolBar</autodoc>
18264 </constructor>
18265 <method name="Create" type="bool" overloaded="no">
18266 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
18267 Size size=DefaultSize, long style=wxNO_BORDER|wxTB_HORIZONTAL,
18268 String name=wxPyToolBarNameStr) -&gt; bool</autodoc>
18269 <paramlist>
18270 <param name="parent" type="Window" default=""/>
18271 <param name="id" type="int" default="-1"/>
18272 <param name="pos" type="Point" default="wxDefaultPosition"/>
18273 <param name="size" type="Size" default="wxDefaultSize"/>
18274 <param name="style" type="long" default="wxNO_BORDER|wxTB_HORIZONTAL"/>
18275 <param name="name" type="String" default="wxPyToolBarNameStr"/>
18276 </paramlist>
18277 </method>
18278 <method name="FindToolForPosition" type="ToolBarToolBase" overloaded="no">
18279 <autodoc>FindToolForPosition(self, int x, int y) -&gt; ToolBarToolBase</autodoc>
18280 <paramlist>
18281 <param name="x" type="int" default=""/>
18282 <param name="y" type="int" default=""/>
18283 </paramlist>
18284 </method>
18285 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
18286 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
18287 <docstring>Get the default attributes for this class. This is useful if you want
18288 to use the same font or colour in your own control as in a standard
18289 control -- which is a much better idea than hard coding specific
18290 colours or fonts which might look completely out of place on the
18291 user's system, especially if it uses themes.
18292
18293 The variant parameter is only relevant under Mac currently and is
18294 ignore under other platforms. Under Mac, it will change the size of
18295 the returned font. See `wx.Window.SetWindowVariant` for more about
18296 this.</docstring>
18297 <paramlist>
18298 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
18299 </paramlist>
18300 </staticmethod>
18301 </class>
18302 <pythoncode>
18303 #---------------------------------------------------------------------------
18304 </pythoncode>
18305 <pythoncode>
18306 #---------------------------------------------------------------------------
18307 </pythoncode>
18308 <class name="ListItemAttr" oldname="wxListItemAttr" module="_controls">
18309 <constructor name="ListItemAttr" overloaded="no">
18310 <autodoc>__init__(self, Colour colText=wxNullColour, Colour colBack=wxNullColour,
18311 Font font=wxNullFont) -&gt; ListItemAttr</autodoc>
18312 <paramlist>
18313 <param name="colText" type="Colour" default="wxNullColour"/>
18314 <param name="colBack" type="Colour" default="wxNullColour"/>
18315 <param name="font" type="Font" default="wxNullFont"/>
18316 </paramlist>
18317 </constructor>
18318 <method name="SetTextColour" type="" overloaded="no">
18319 <autodoc>SetTextColour(self, Colour colText)</autodoc>
18320 <paramlist>
18321 <param name="colText" type="Colour" default=""/>
18322 </paramlist>
18323 </method>
18324 <method name="SetBackgroundColour" type="" overloaded="no">
18325 <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc>
18326 <paramlist>
18327 <param name="colBack" type="Colour" default=""/>
18328 </paramlist>
18329 </method>
18330 <method name="SetFont" type="" overloaded="no">
18331 <autodoc>SetFont(self, Font font)</autodoc>
18332 <paramlist>
18333 <param name="font" type="Font" default=""/>
18334 </paramlist>
18335 </method>
18336 <method name="HasTextColour" type="bool" overloaded="no">
18337 <autodoc>HasTextColour(self) -&gt; bool</autodoc>
18338 </method>
18339 <method name="HasBackgroundColour" type="bool" overloaded="no">
18340 <autodoc>HasBackgroundColour(self) -&gt; bool</autodoc>
18341 </method>
18342 <method name="HasFont" type="bool" overloaded="no">
18343 <autodoc>HasFont(self) -&gt; bool</autodoc>
18344 </method>
18345 <method name="GetTextColour" type="Colour" overloaded="no">
18346 <autodoc>GetTextColour(self) -&gt; Colour</autodoc>
18347 </method>
18348 <method name="GetBackgroundColour" type="Colour" overloaded="no">
18349 <autodoc>GetBackgroundColour(self) -&gt; Colour</autodoc>
18350 </method>
18351 <method name="GetFont" type="Font" overloaded="no">
18352 <autodoc>GetFont(self) -&gt; Font</autodoc>
18353 </method>
18354 <method name="Destroy" type="" overloaded="no">
18355 <autodoc>Destroy(self)</autodoc>
18356 </method>
18357 </class>
18358 <pythoncode>
18359 #---------------------------------------------------------------------------
18360 </pythoncode>
18361 <class name="ListItem" oldname="wxListItem" module="_controls">
18362 <baseclass name="Object"/>
18363 <constructor name="ListItem" overloaded="no">
18364 <autodoc>__init__(self) -&gt; ListItem</autodoc>
18365 </constructor>
18366 <destructor name="~wxListItem" overloaded="no">
18367 <autodoc>__del__(self)</autodoc>
18368 </destructor>
18369 <method name="Clear" type="" overloaded="no">
18370 <autodoc>Clear(self)</autodoc>
18371 </method>
18372 <method name="ClearAttributes" type="" overloaded="no">
18373 <autodoc>ClearAttributes(self)</autodoc>
18374 </method>
18375 <method name="SetMask" type="" overloaded="no">
18376 <autodoc>SetMask(self, long mask)</autodoc>
18377 <paramlist>
18378 <param name="mask" type="long" default=""/>
18379 </paramlist>
18380 </method>
18381 <method name="SetId" type="" overloaded="no">
18382 <autodoc>SetId(self, long id)</autodoc>
18383 <paramlist>
18384 <param name="id" type="long" default=""/>
18385 </paramlist>
18386 </method>
18387 <method name="SetColumn" type="" overloaded="no">
18388 <autodoc>SetColumn(self, int col)</autodoc>
18389 <paramlist>
18390 <param name="col" type="int" default=""/>
18391 </paramlist>
18392 </method>
18393 <method name="SetState" type="" overloaded="no">
18394 <autodoc>SetState(self, long state)</autodoc>
18395 <paramlist>
18396 <param name="state" type="long" default=""/>
18397 </paramlist>
18398 </method>
18399 <method name="SetStateMask" type="" overloaded="no">
18400 <autodoc>SetStateMask(self, long stateMask)</autodoc>
18401 <paramlist>
18402 <param name="stateMask" type="long" default=""/>
18403 </paramlist>
18404 </method>
18405 <method name="SetText" type="" overloaded="no">
18406 <autodoc>SetText(self, String text)</autodoc>
18407 <paramlist>
18408 <param name="text" type="String" default=""/>
18409 </paramlist>
18410 </method>
18411 <method name="SetImage" type="" overloaded="no">
18412 <autodoc>SetImage(self, int image)</autodoc>
18413 <paramlist>
18414 <param name="image" type="int" default=""/>
18415 </paramlist>
18416 </method>
18417 <method name="SetData" type="" overloaded="no">
18418 <autodoc>SetData(self, long data)</autodoc>
18419 <paramlist>
18420 <param name="data" type="long" default=""/>
18421 </paramlist>
18422 </method>
18423 <method name="SetWidth" type="" overloaded="no">
18424 <autodoc>SetWidth(self, int width)</autodoc>
18425 <paramlist>
18426 <param name="width" type="int" default=""/>
18427 </paramlist>
18428 </method>
18429 <method name="SetAlign" type="" overloaded="no">
18430 <autodoc>SetAlign(self, int align)</autodoc>
18431 <paramlist>
18432 <param name="align" type="wxListColumnFormat" default=""/>
18433 </paramlist>
18434 </method>
18435 <method name="SetTextColour" type="" overloaded="no">
18436 <autodoc>SetTextColour(self, Colour colText)</autodoc>
18437 <paramlist>
18438 <param name="colText" type="Colour" default=""/>
18439 </paramlist>
18440 </method>
18441 <method name="SetBackgroundColour" type="" overloaded="no">
18442 <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc>
18443 <paramlist>
18444 <param name="colBack" type="Colour" default=""/>
18445 </paramlist>
18446 </method>
18447 <method name="SetFont" type="" overloaded="no">
18448 <autodoc>SetFont(self, Font font)</autodoc>
18449 <paramlist>
18450 <param name="font" type="Font" default=""/>
18451 </paramlist>
18452 </method>
18453 <method name="GetMask" type="long" overloaded="no">
18454 <autodoc>GetMask(self) -&gt; long</autodoc>
18455 </method>
18456 <method name="GetId" type="long" overloaded="no">
18457 <autodoc>GetId(self) -&gt; long</autodoc>
18458 </method>
18459 <method name="GetColumn" type="int" overloaded="no">
18460 <autodoc>GetColumn(self) -&gt; int</autodoc>
18461 </method>
18462 <method name="GetState" type="long" overloaded="no">
18463 <autodoc>GetState(self) -&gt; long</autodoc>
18464 </method>
18465 <method name="GetText" type="String" overloaded="no">
18466 <autodoc>GetText(self) -&gt; String</autodoc>
18467 </method>
18468 <method name="GetImage" type="int" overloaded="no">
18469 <autodoc>GetImage(self) -&gt; int</autodoc>
18470 </method>
18471 <method name="GetData" type="long" overloaded="no">
18472 <autodoc>GetData(self) -&gt; long</autodoc>
18473 </method>
18474 <method name="GetWidth" type="int" overloaded="no">
18475 <autodoc>GetWidth(self) -&gt; int</autodoc>
18476 </method>
18477 <method name="GetAlign" type="wxListColumnFormat" overloaded="no">
18478 <autodoc>GetAlign(self) -&gt; int</autodoc>
18479 </method>
18480 <method name="GetAttributes" type="ListItemAttr" overloaded="no">
18481 <autodoc>GetAttributes(self) -&gt; ListItemAttr</autodoc>
18482 </method>
18483 <method name="HasAttributes" type="bool" overloaded="no">
18484 <autodoc>HasAttributes(self) -&gt; bool</autodoc>
18485 </method>
18486 <method name="GetTextColour" type="Colour" overloaded="no">
18487 <autodoc>GetTextColour(self) -&gt; Colour</autodoc>
18488 </method>
18489 <method name="GetBackgroundColour" type="Colour" overloaded="no">
18490 <autodoc>GetBackgroundColour(self) -&gt; Colour</autodoc>
18491 </method>
18492 <method name="GetFont" type="Font" overloaded="no">
18493 <autodoc>GetFont(self) -&gt; Font</autodoc>
18494 </method>
18495 <property name="m_mask" type="long" readonly="no"/>
18496 <property name="m_itemId" type="long" readonly="no"/>
18497 <property name="m_col" type="int" readonly="no"/>
18498 <property name="m_state" type="long" readonly="no"/>
18499 <property name="m_stateMask" type="long" readonly="no"/>
18500 <property name="m_text" type="String" readonly="no"/>
18501 <property name="m_image" type="int" readonly="no"/>
18502 <property name="m_data" type="long" readonly="no"/>
18503 <property name="m_format" type="int" readonly="no"/>
18504 <property name="m_width" type="int" readonly="no"/>
18505 </class>
18506 <pythoncode>
18507 #---------------------------------------------------------------------------
18508 </pythoncode>
18509 <class name="ListEvent" oldname="wxListEvent" module="_controls">
18510 <baseclass name="NotifyEvent"/>
18511 <constructor name="ListEvent" overloaded="no">
18512 <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -&gt; ListEvent</autodoc>
18513 <paramlist>
18514 <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
18515 <param name="id" type="int" default="0"/>
18516 </paramlist>
18517 </constructor>
18518 <property name="m_code" type="int" readonly="no"/>
18519 <property name="m_oldItemIndex" type="long" readonly="no"/>
18520 <property name="m_itemIndex" type="long" readonly="no"/>
18521 <property name="m_col" type="int" readonly="no"/>
18522 <property name="m_pointDrag" type="Point" readonly="no"/>
18523 <property name="m_item" type="ListItem" readonly="yes"/>
18524 <method name="GetKeyCode" type="int" overloaded="no">
18525 <autodoc>GetKeyCode(self) -&gt; int</autodoc>
18526 </method>
18527 <method name="GetIndex" type="long" overloaded="no">
18528 <autodoc>GetIndex(self) -&gt; long</autodoc>
18529 </method>
18530 <method name="GetColumn" type="int" overloaded="no">
18531 <autodoc>GetColumn(self) -&gt; int</autodoc>
18532 </method>
18533 <method name="GetPoint" type="Point" overloaded="no">
18534 <autodoc>GetPoint(self) -&gt; Point</autodoc>
18535 </method>
18536 <method name="GetLabel" type="String" overloaded="no">
18537 <autodoc>GetLabel(self) -&gt; String</autodoc>
18538 </method>
18539 <method name="GetText" type="String" overloaded="no">
18540 <autodoc>GetText(self) -&gt; String</autodoc>
18541 </method>
18542 <method name="GetImage" type="int" overloaded="no">
18543 <autodoc>GetImage(self) -&gt; int</autodoc>
18544 </method>
18545 <method name="GetData" type="long" overloaded="no">
18546 <autodoc>GetData(self) -&gt; long</autodoc>
18547 </method>
18548 <method name="GetMask" type="long" overloaded="no">
18549 <autodoc>GetMask(self) -&gt; long</autodoc>
18550 </method>
18551 <method name="GetItem" type="ListItem" overloaded="no">
18552 <autodoc>GetItem(self) -&gt; ListItem</autodoc>
18553 </method>
18554 <method name="GetCacheFrom" type="long" overloaded="no">
18555 <autodoc>GetCacheFrom(self) -&gt; long</autodoc>
18556 </method>
18557 <method name="GetCacheTo" type="long" overloaded="no">
18558 <autodoc>GetCacheTo(self) -&gt; long</autodoc>
18559 </method>
18560 <method name="IsEditCancelled" type="bool" overloaded="no">
18561 <autodoc>IsEditCancelled(self) -&gt; bool</autodoc>
18562 </method>
18563 <method name="SetEditCanceled" type="" overloaded="no">
18564 <autodoc>SetEditCanceled(self, bool editCancelled)</autodoc>
18565 <paramlist>
18566 <param name="editCancelled" type="bool" default=""/>
18567 </paramlist>
18568 </method>
18569 </class>
18570 <pythoncode>
18571
18572 EVT_LIST_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_DRAG , 1)
18573 EVT_LIST_BEGIN_RDRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_RDRAG , 1)
18574 EVT_LIST_BEGIN_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT , 1)
18575 EVT_LIST_END_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_LIST_END_LABEL_EDIT , 1)
18576 EVT_LIST_DELETE_ITEM = wx.PyEventBinder(wxEVT_COMMAND_LIST_DELETE_ITEM , 1)
18577 EVT_LIST_DELETE_ALL_ITEMS = wx.PyEventBinder(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS , 1)
18578 EVT_LIST_GET_INFO = wx.PyEventBinder(wxEVT_COMMAND_LIST_GET_INFO , 1)
18579 EVT_LIST_SET_INFO = wx.PyEventBinder(wxEVT_COMMAND_LIST_SET_INFO , 1)
18580 EVT_LIST_ITEM_SELECTED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_SELECTED , 1)
18581 EVT_LIST_ITEM_DESELECTED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_DESELECTED , 1)
18582 EVT_LIST_KEY_DOWN = wx.PyEventBinder(wxEVT_COMMAND_LIST_KEY_DOWN , 1)
18583 EVT_LIST_INSERT_ITEM = wx.PyEventBinder(wxEVT_COMMAND_LIST_INSERT_ITEM , 1)
18584 EVT_LIST_COL_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_CLICK , 1)
18585 EVT_LIST_ITEM_RIGHT_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK , 1)
18586 EVT_LIST_ITEM_MIDDLE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 1)
18587 EVT_LIST_ITEM_ACTIVATED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_ACTIVATED , 1)
18588 EVT_LIST_CACHE_HINT = wx.PyEventBinder(wxEVT_COMMAND_LIST_CACHE_HINT , 1)
18589 EVT_LIST_COL_RIGHT_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK , 1)
18590 EVT_LIST_COL_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG , 1)
18591 EVT_LIST_COL_DRAGGING = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_DRAGGING , 1)
18592 EVT_LIST_COL_END_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_END_DRAG , 1)
18593 EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED , 1)
18594 </pythoncode>
18595 <pythoncode>
18596 #---------------------------------------------------------------------------
18597 </pythoncode>
18598 <class name="ListCtrl" oldname="wxPyListCtrl" module="_controls">
18599 <baseclass name="Control"/>
18600 <constructor name="wxPyListCtrl" overloaded="no">
18601 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
18602 Size size=DefaultSize, long style=LC_ICON,
18603 Validator validator=DefaultValidator, String name=ListCtrlNameStr) -&gt; ListCtrl</autodoc>
18604 <paramlist>
18605 <param name="parent" type="Window" default=""/>
18606 <param name="id" type="int" default="-1"/>
18607 <param name="pos" type="Point" default="wxDefaultPosition"/>
18608 <param name="size" type="Size" default="wxDefaultSize"/>
18609 <param name="style" type="long" default="wxLC_ICON"/>
18610 <param name="validator" type="Validator" default="wxDefaultValidator"/>
18611 <param name="name" type="String" default="wxPyListCtrlNameStr"/>
18612 </paramlist>
18613 </constructor>
18614 <constructor name="PreListCtrl" overloaded="no">
18615 <autodoc>PreListCtrl() -&gt; ListCtrl</autodoc>
18616 </constructor>
18617 <method name="Create" type="bool" overloaded="no">
18618 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
18619 Size size=DefaultSize, long style=LC_ICON,
18620 Validator validator=DefaultValidator, String name=ListCtrlNameStr) -&gt; bool</autodoc>
18621 <docstring>Do the 2nd phase and create the GUI control.</docstring>
18622 <paramlist>
18623 <param name="parent" type="Window" default=""/>
18624 <param name="id" type="int" default="-1"/>
18625 <param name="pos" type="Point" default="wxDefaultPosition"/>
18626 <param name="size" type="Size" default="wxDefaultSize"/>
18627 <param name="style" type="long" default="wxLC_ICON"/>
18628 <param name="validator" type="Validator" default="wxDefaultValidator"/>
18629 <param name="name" type="String" default="wxPyListCtrlNameStr"/>
18630 </paramlist>
18631 </method>
18632 <method name="_setCallbackInfo" type="" overloaded="no">
18633 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
18634 <paramlist>
18635 <param name="self" type="PyObject" default=""/>
18636 <param name="_class" type="PyObject" default=""/>
18637 </paramlist>
18638 </method>
18639 <method name="SetForegroundColour" type="bool" overloaded="no">
18640 <autodoc>SetForegroundColour(self, Colour col) -&gt; bool</autodoc>
18641 <paramlist>
18642 <param name="col" type="Colour" default=""/>
18643 </paramlist>
18644 </method>
18645 <method name="SetBackgroundColour" type="bool" overloaded="no">
18646 <autodoc>SetBackgroundColour(self, Colour col) -&gt; bool</autodoc>
18647 <paramlist>
18648 <param name="col" type="Colour" default=""/>
18649 </paramlist>
18650 </method>
18651 <method name="GetColumn" type="ListItem" overloaded="no">
18652 <autodoc>GetColumn(self, int col) -&gt; ListItem</autodoc>
18653 <paramlist>
18654 <param name="col" type="int" default=""/>
18655 </paramlist>
18656 </method>
18657 <method name="SetColumn" type="bool" overloaded="no">
18658 <autodoc>SetColumn(self, int col, ListItem item) -&gt; bool</autodoc>
18659 <paramlist>
18660 <param name="col" type="int" default=""/>
18661 <param name="item" type="ListItem" default=""/>
18662 </paramlist>
18663 </method>
18664 <method name="GetColumnWidth" type="int" overloaded="no">
18665 <autodoc>GetColumnWidth(self, int col) -&gt; int</autodoc>
18666 <paramlist>
18667 <param name="col" type="int" default=""/>
18668 </paramlist>
18669 </method>
18670 <method name="SetColumnWidth" type="bool" overloaded="no">
18671 <autodoc>SetColumnWidth(self, int col, int width) -&gt; bool</autodoc>
18672 <paramlist>
18673 <param name="col" type="int" default=""/>
18674 <param name="width" type="int" default=""/>
18675 </paramlist>
18676 </method>
18677 <method name="GetCountPerPage" type="int" overloaded="no">
18678 <autodoc>GetCountPerPage(self) -&gt; int</autodoc>
18679 </method>
18680 <method name="GetViewRect" type="Rect" overloaded="no">
18681 <autodoc>GetViewRect(self) -&gt; Rect</autodoc>
18682 </method>
18683 <method name="GetItem" type="ListItem" overloaded="no">
18684 <autodoc>GetItem(self, long itemId, int col=0) -&gt; ListItem</autodoc>
18685 <paramlist>
18686 <param name="itemId" type="long" default=""/>
18687 <param name="col" type="int" default="0"/>
18688 </paramlist>
18689 </method>
18690 <method name="SetItem" type="bool" overloaded="no">
18691 <autodoc>SetItem(self, ListItem info) -&gt; bool</autodoc>
18692 <paramlist>
18693 <param name="info" type="ListItem" default=""/>
18694 </paramlist>
18695 </method>
18696 <method name="SetStringItem" type="long" overloaded="no">
18697 <autodoc>SetStringItem(self, long index, int col, String label, int imageId=-1) -&gt; long</autodoc>
18698 <paramlist>
18699 <param name="index" type="long" default=""/>
18700 <param name="col" type="int" default=""/>
18701 <param name="label" type="String" default=""/>
18702 <param name="imageId" type="int" default="-1"/>
18703 </paramlist>
18704 </method>
18705 <method name="GetItemState" type="int" overloaded="no">
18706 <autodoc>GetItemState(self, long item, long stateMask) -&gt; int</autodoc>
18707 <paramlist>
18708 <param name="item" type="long" default=""/>
18709 <param name="stateMask" type="long" default=""/>
18710 </paramlist>
18711 </method>
18712 <method name="SetItemState" type="bool" overloaded="no">
18713 <autodoc>SetItemState(self, long item, long state, long stateMask) -&gt; bool</autodoc>
18714 <paramlist>
18715 <param name="item" type="long" default=""/>
18716 <param name="state" type="long" default=""/>
18717 <param name="stateMask" type="long" default=""/>
18718 </paramlist>
18719 </method>
18720 <method name="SetItemImage" type="bool" overloaded="no">
18721 <autodoc>SetItemImage(self, long item, int image, int selImage) -&gt; bool</autodoc>
18722 <paramlist>
18723 <param name="item" type="long" default=""/>
18724 <param name="image" type="int" default=""/>
18725 <param name="selImage" type="int" default=""/>
18726 </paramlist>
18727 </method>
18728 <method name="GetItemText" type="String" overloaded="no">
18729 <autodoc>GetItemText(self, long item) -&gt; String</autodoc>
18730 <paramlist>
18731 <param name="item" type="long" default=""/>
18732 </paramlist>
18733 </method>
18734 <method name="SetItemText" type="" overloaded="no">
18735 <autodoc>SetItemText(self, long item, String str)</autodoc>
18736 <paramlist>
18737 <param name="item" type="long" default=""/>
18738 <param name="str" type="String" default=""/>
18739 </paramlist>
18740 </method>
18741 <method name="GetItemData" type="long" overloaded="no">
18742 <autodoc>GetItemData(self, long item) -&gt; long</autodoc>
18743 <paramlist>
18744 <param name="item" type="long" default=""/>
18745 </paramlist>
18746 </method>
18747 <method name="SetItemData" type="bool" overloaded="no">
18748 <autodoc>SetItemData(self, long item, long data) -&gt; bool</autodoc>
18749 <paramlist>
18750 <param name="item" type="long" default=""/>
18751 <param name="data" type="long" default=""/>
18752 </paramlist>
18753 </method>
18754 <method name="GetItemPosition" type="Point" overloaded="no">
18755 <autodoc>GetItemPosition(self, long item) -&gt; Point</autodoc>
18756 <paramlist>
18757 <param name="item" type="long" default=""/>
18758 </paramlist>
18759 </method>
18760 <method name="GetItemRect" type="Rect" overloaded="no">
18761 <autodoc>GetItemRect(self, long item, int code=LIST_RECT_BOUNDS) -&gt; Rect</autodoc>
18762 <paramlist>
18763 <param name="item" type="long" default=""/>
18764 <param name="code" type="int" default="wxLIST_RECT_BOUNDS"/>
18765 </paramlist>
18766 </method>
18767 <method name="SetItemPosition" type="bool" overloaded="no">
18768 <autodoc>SetItemPosition(self, long item, Point pos) -&gt; bool</autodoc>
18769 <paramlist>
18770 <param name="item" type="long" default=""/>
18771 <param name="pos" type="Point" default=""/>
18772 </paramlist>
18773 </method>
18774 <method name="GetItemCount" type="int" overloaded="no">
18775 <autodoc>GetItemCount(self) -&gt; int</autodoc>
18776 </method>
18777 <method name="GetColumnCount" type="int" overloaded="no">
18778 <autodoc>GetColumnCount(self) -&gt; int</autodoc>
18779 </method>
18780 <method name="GetItemSpacing" type="Size" overloaded="no">
18781 <autodoc>GetItemSpacing(self) -&gt; Size</autodoc>
18782 </method>
18783 <method name="SetItemSpacing" type="" overloaded="no">
18784 <autodoc>SetItemSpacing(self, int spacing, bool isSmall=False)</autodoc>
18785 <paramlist>
18786 <param name="spacing" type="int" default=""/>
18787 <param name="isSmall" type="bool" default="False"/>
18788 </paramlist>
18789 </method>
18790 <method name="GetSelectedItemCount" type="int" overloaded="no">
18791 <autodoc>GetSelectedItemCount(self) -&gt; int</autodoc>
18792 </method>
18793 <method name="GetTextColour" type="Colour" overloaded="no">
18794 <autodoc>GetTextColour(self) -&gt; Colour</autodoc>
18795 </method>
18796 <method name="SetTextColour" type="" overloaded="no">
18797 <autodoc>SetTextColour(self, Colour col)</autodoc>
18798 <paramlist>
18799 <param name="col" type="Colour" default=""/>
18800 </paramlist>
18801 </method>
18802 <method name="GetTopItem" type="long" overloaded="no">
18803 <autodoc>GetTopItem(self) -&gt; long</autodoc>
18804 </method>
18805 <method name="SetSingleStyle" type="" overloaded="no">
18806 <autodoc>SetSingleStyle(self, long style, bool add=True)</autodoc>
18807 <paramlist>
18808 <param name="style" type="long" default=""/>
18809 <param name="add" type="bool" default="True"/>
18810 </paramlist>
18811 </method>
18812 <method name="SetWindowStyleFlag" type="" overloaded="no">
18813 <autodoc>SetWindowStyleFlag(self, long style)</autodoc>
18814 <docstring>Sets the style of the window. Please note that some styles cannot be
18815 changed after the window creation and that Refresh() might need to be
18816 called after changing the others for the change to take place
18817 immediately.</docstring>
18818 <paramlist>
18819 <param name="style" type="long" default=""/>
18820 </paramlist>
18821 </method>
18822 <method name="GetNextItem" type="long" overloaded="no">
18823 <autodoc>GetNextItem(self, long item, int geometry=LIST_NEXT_ALL, int state=LIST_STATE_DONTCARE) -&gt; long</autodoc>
18824 <paramlist>
18825 <param name="item" type="long" default=""/>
18826 <param name="geometry" type="int" default="wxLIST_NEXT_ALL"/>
18827 <param name="state" type="int" default="wxLIST_STATE_DONTCARE"/>
18828 </paramlist>
18829 </method>
18830 <method name="GetImageList" type="ImageList" overloaded="no">
18831 <autodoc>GetImageList(self, int which) -&gt; ImageList</autodoc>
18832 <paramlist>
18833 <param name="which" type="int" default=""/>
18834 </paramlist>
18835 </method>
18836 <method name="SetImageList" type="" overloaded="no">
18837 <autodoc>SetImageList(self, ImageList imageList, int which)</autodoc>
18838 <paramlist>
18839 <param name="imageList" type="ImageList" default=""/>
18840 <param name="which" type="int" default=""/>
18841 </paramlist>
18842 </method>
18843 <method name="AssignImageList" type="" overloaded="no">
18844 <autodoc>AssignImageList(self, ImageList imageList, int which)</autodoc>
18845 <paramlist>
18846 <param name="imageList" type="ImageList" default=""/>
18847 <param name="which" type="int" default=""/>
18848 </paramlist>
18849 </method>
18850 <method name="InReportView" type="bool" overloaded="no">
18851 <autodoc>InReportView(self) -&gt; bool</autodoc>
18852 </method>
18853 <method name="IsVirtual" type="bool" overloaded="no">
18854 <autodoc>IsVirtual(self) -&gt; bool</autodoc>
18855 </method>
18856 <method name="RefreshItem" type="" overloaded="no">
18857 <autodoc>RefreshItem(self, long item)</autodoc>
18858 <paramlist>
18859 <param name="item" type="long" default=""/>
18860 </paramlist>
18861 </method>
18862 <method name="RefreshItems" type="" overloaded="no">
18863 <autodoc>RefreshItems(self, long itemFrom, long itemTo)</autodoc>
18864 <paramlist>
18865 <param name="itemFrom" type="long" default=""/>
18866 <param name="itemTo" type="long" default=""/>
18867 </paramlist>
18868 </method>
18869 <method name="Arrange" type="bool" overloaded="no">
18870 <autodoc>Arrange(self, int flag=LIST_ALIGN_DEFAULT) -&gt; bool</autodoc>
18871 <paramlist>
18872 <param name="flag" type="int" default="wxLIST_ALIGN_DEFAULT"/>
18873 </paramlist>
18874 </method>
18875 <method name="DeleteItem" type="bool" overloaded="no">
18876 <autodoc>DeleteItem(self, long item) -&gt; bool</autodoc>
18877 <paramlist>
18878 <param name="item" type="long" default=""/>
18879 </paramlist>
18880 </method>
18881 <method name="DeleteAllItems" type="bool" overloaded="no">
18882 <autodoc>DeleteAllItems(self) -&gt; bool</autodoc>
18883 </method>
18884 <method name="DeleteColumn" type="bool" overloaded="no">
18885 <autodoc>DeleteColumn(self, int col) -&gt; bool</autodoc>
18886 <paramlist>
18887 <param name="col" type="int" default=""/>
18888 </paramlist>
18889 </method>
18890 <method name="DeleteAllColumns" type="bool" overloaded="no">
18891 <autodoc>DeleteAllColumns(self) -&gt; bool</autodoc>
18892 </method>
18893 <method name="ClearAll" type="" overloaded="no">
18894 <autodoc>ClearAll(self)</autodoc>
18895 </method>
18896 <method name="EditLabel" type="" overloaded="no">
18897 <autodoc>EditLabel(self, long item)</autodoc>
18898 <paramlist>
18899 <param name="item" type="long" default=""/>
18900 </paramlist>
18901 </method>
18902 <method name="EnsureVisible" type="bool" overloaded="no">
18903 <autodoc>EnsureVisible(self, long item) -&gt; bool</autodoc>
18904 <paramlist>
18905 <param name="item" type="long" default=""/>
18906 </paramlist>
18907 </method>
18908 <method name="FindItem" type="long" overloaded="no">
18909 <autodoc>FindItem(self, long start, String str, bool partial=False) -&gt; long</autodoc>
18910 <paramlist>
18911 <param name="start" type="long" default=""/>
18912 <param name="str" type="String" default=""/>
18913 <param name="partial" type="bool" default="False"/>
18914 </paramlist>
18915 </method>
18916 <method name="FindItemData" type="long" overloaded="no">
18917 <autodoc>FindItemData(self, long start, long data) -&gt; long</autodoc>
18918 <paramlist>
18919 <param name="start" type="long" default=""/>
18920 <param name="data" type="long" default=""/>
18921 </paramlist>
18922 </method>
18923 <method name="FindItemAtPos" type="long" overloaded="no">
18924 <autodoc>FindItemAtPos(self, long start, Point pt, int direction) -&gt; long</autodoc>
18925 <paramlist>
18926 <param name="start" type="long" default=""/>
18927 <param name="pt" type="Point" default=""/>
18928 <param name="direction" type="int" default=""/>
18929 </paramlist>
18930 </method>
18931 <method name="HitTest" type="long" overloaded="no">
18932 <autodoc>HitTest(Point point) -&gt; (item, where)</autodoc>
18933 <paramlist>
18934 <param name="point" type="Point" default=""/>
18935 <param name="OUTPUT" type="int" default=""/>
18936 </paramlist>
18937 </method>
18938 <method name="InsertItem" type="long" overloaded="no">
18939 <autodoc>InsertItem(self, ListItem info) -&gt; long</autodoc>
18940 <paramlist>
18941 <param name="info" type="ListItem" default=""/>
18942 </paramlist>
18943 </method>
18944 <method name="InsertStringItem" type="long" overloaded="no">
18945 <autodoc>InsertStringItem(self, long index, String label) -&gt; long</autodoc>
18946 <paramlist>
18947 <param name="index" type="long" default=""/>
18948 <param name="label" type="String" default=""/>
18949 </paramlist>
18950 </method>
18951 <method name="InsertImageItem" type="long" overloaded="no">
18952 <autodoc>InsertImageItem(self, long index, int imageIndex) -&gt; long</autodoc>
18953 <paramlist>
18954 <param name="index" type="long" default=""/>
18955 <param name="imageIndex" type="int" default=""/>
18956 </paramlist>
18957 </method>
18958 <method name="InsertImageStringItem" type="long" overloaded="no">
18959 <autodoc>InsertImageStringItem(self, long index, String label, int imageIndex) -&gt; long</autodoc>
18960 <paramlist>
18961 <param name="index" type="long" default=""/>
18962 <param name="label" type="String" default=""/>
18963 <param name="imageIndex" type="int" default=""/>
18964 </paramlist>
18965 </method>
18966 <method name="InsertColumnInfo" type="long" overloaded="no">
18967 <autodoc>InsertColumnInfo(self, long col, ListItem info) -&gt; long</autodoc>
18968 <paramlist>
18969 <param name="col" type="long" default=""/>
18970 <param name="info" type="ListItem" default=""/>
18971 </paramlist>
18972 </method>
18973 <method name="InsertColumn" type="long" overloaded="no">
18974 <autodoc>InsertColumn(self, long col, String heading, int format=LIST_FORMAT_LEFT,
18975 int width=-1) -&gt; long</autodoc>
18976 <paramlist>
18977 <param name="col" type="long" default=""/>
18978 <param name="heading" type="String" default=""/>
18979 <param name="format" type="int" default="wxLIST_FORMAT_LEFT"/>
18980 <param name="width" type="int" default="-1"/>
18981 </paramlist>
18982 </method>
18983 <method name="SetItemCount" type="" overloaded="no">
18984 <autodoc>SetItemCount(self, long count)</autodoc>
18985 <paramlist>
18986 <param name="count" type="long" default=""/>
18987 </paramlist>
18988 </method>
18989 <method name="ScrollList" type="bool" overloaded="no">
18990 <autodoc>ScrollList(self, int dx, int dy) -&gt; bool</autodoc>
18991 <paramlist>
18992 <param name="dx" type="int" default=""/>
18993 <param name="dy" type="int" default=""/>
18994 </paramlist>
18995 </method>
18996 <method name="SetItemTextColour" type="" overloaded="no">
18997 <autodoc>SetItemTextColour(self, long item, Colour col)</autodoc>
18998 <paramlist>
18999 <param name="item" type="long" default=""/>
19000 <param name="col" type="Colour" default=""/>
19001 </paramlist>
19002 </method>
19003 <method name="GetItemTextColour" type="Colour" overloaded="no">
19004 <autodoc>GetItemTextColour(self, long item) -&gt; Colour</autodoc>
19005 <paramlist>
19006 <param name="item" type="long" default=""/>
19007 </paramlist>
19008 </method>
19009 <method name="SetItemBackgroundColour" type="" overloaded="no">
19010 <autodoc>SetItemBackgroundColour(self, long item, Colour col)</autodoc>
19011 <paramlist>
19012 <param name="item" type="long" default=""/>
19013 <param name="col" type="Colour" default=""/>
19014 </paramlist>
19015 </method>
19016 <method name="GetItemBackgroundColour" type="Colour" overloaded="no">
19017 <autodoc>GetItemBackgroundColour(self, long item) -&gt; Colour</autodoc>
19018 <paramlist>
19019 <param name="item" type="long" default=""/>
19020 </paramlist>
19021 </method>
19022 <method name="SortItems" type="bool" overloaded="no">
19023 <autodoc>SortItems(self, PyObject func) -&gt; bool</autodoc>
19024 <paramlist>
19025 <param name="func" type="PyObject" default=""/>
19026 </paramlist>
19027 </method>
19028 <method name="GetMainWindow" type="Window" overloaded="no">
19029 <autodoc>GetMainWindow(self) -&gt; Window</autodoc>
19030 </method>
19031 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
19032 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
19033 <docstring>Get the default attributes for this class. This is useful if you want
19034 to use the same font or colour in your own control as in a standard
19035 control -- which is a much better idea than hard coding specific
19036 colours or fonts which might look completely out of place on the
19037 user's system, especially if it uses themes.
19038
19039 The variant parameter is only relevant under Mac currently and is
19040 ignore under other platforms. Under Mac, it will change the size of
19041 the returned font. See `wx.Window.SetWindowVariant` for more about
19042 this.</docstring>
19043 <paramlist>
19044 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
19045 </paramlist>
19046 </staticmethod>
19047 </class>
19048 <pythoncode>
19049 #---------------------------------------------------------------------------
19050 </pythoncode>
19051 <class name="ListView" oldname="wxListView" module="_controls">
19052 <baseclass name="ListCtrl"/>
19053 <constructor name="ListView" overloaded="no">
19054 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
19055 Size size=DefaultSize, long style=LC_REPORT,
19056 Validator validator=DefaultValidator, String name=ListCtrlNameStr) -&gt; ListView</autodoc>
19057 <paramlist>
19058 <param name="parent" type="Window" default=""/>
19059 <param name="id" type="int" default="-1"/>
19060 <param name="pos" type="Point" default="wxDefaultPosition"/>
19061 <param name="size" type="Size" default="wxDefaultSize"/>
19062 <param name="style" type="long" default="wxLC_REPORT"/>
19063 <param name="validator" type="Validator" default="wxDefaultValidator"/>
19064 <param name="name" type="String" default="wxPyListCtrlNameStr"/>
19065 </paramlist>
19066 </constructor>
19067 <constructor name="PreListView" overloaded="no">
19068 <autodoc>PreListView() -&gt; ListView</autodoc>
19069 </constructor>
19070 <method name="Create" type="bool" overloaded="no">
19071 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
19072 Size size=DefaultSize, long style=LC_REPORT,
19073 Validator validator=DefaultValidator, String name=ListCtrlNameStr) -&gt; bool</autodoc>
19074 <docstring>Do the 2nd phase and create the GUI control.</docstring>
19075 <paramlist>
19076 <param name="parent" type="Window" default=""/>
19077 <param name="id" type="int" default="-1"/>
19078 <param name="pos" type="Point" default="wxDefaultPosition"/>
19079 <param name="size" type="Size" default="wxDefaultSize"/>
19080 <param name="style" type="long" default="wxLC_REPORT"/>
19081 <param name="validator" type="Validator" default="wxDefaultValidator"/>
19082 <param name="name" type="String" default="wxPyListCtrlNameStr"/>
19083 </paramlist>
19084 </method>
19085 <method name="Select" type="" overloaded="no">
19086 <autodoc>Select(self, long n, bool on=True)</autodoc>
19087 <paramlist>
19088 <param name="n" type="long" default=""/>
19089 <param name="on" type="bool" default="True"/>
19090 </paramlist>
19091 </method>
19092 <method name="Focus" type="" overloaded="no">
19093 <autodoc>Focus(self, long index)</autodoc>
19094 <paramlist>
19095 <param name="index" type="long" default=""/>
19096 </paramlist>
19097 </method>
19098 <method name="GetFocusedItem" type="long" overloaded="no">
19099 <autodoc>GetFocusedItem(self) -&gt; long</autodoc>
19100 </method>
19101 <method name="GetNextSelected" type="long" overloaded="no">
19102 <autodoc>GetNextSelected(self, long item) -&gt; long</autodoc>
19103 <paramlist>
19104 <param name="item" type="long" default=""/>
19105 </paramlist>
19106 </method>
19107 <method name="GetFirstSelected" type="long" overloaded="no">
19108 <autodoc>GetFirstSelected(self) -&gt; long</autodoc>
19109 </method>
19110 <method name="IsSelected" type="bool" overloaded="no">
19111 <autodoc>IsSelected(self, long index) -&gt; bool</autodoc>
19112 <paramlist>
19113 <param name="index" type="long" default=""/>
19114 </paramlist>
19115 </method>
19116 <method name="SetColumnImage" type="" overloaded="no">
19117 <autodoc>SetColumnImage(self, int col, int image)</autodoc>
19118 <paramlist>
19119 <param name="col" type="int" default=""/>
19120 <param name="image" type="int" default=""/>
19121 </paramlist>
19122 </method>
19123 <method name="ClearColumnImage" type="" overloaded="no">
19124 <autodoc>ClearColumnImage(self, int col)</autodoc>
19125 <paramlist>
19126 <param name="col" type="int" default=""/>
19127 </paramlist>
19128 </method>
19129 </class>
19130 <pythoncode>
19131 #---------------------------------------------------------------------------
19132 </pythoncode>
19133 <pythoncode>
19134 #---------------------------------------------------------------------------
19135 </pythoncode>
19136 <class name="TreeItemId" oldname="wxTreeItemId" module="_controls">
19137 <constructor name="TreeItemId" overloaded="no">
19138 <autodoc>__init__(self) -&gt; TreeItemId</autodoc>
19139 </constructor>
19140 <destructor name="~wxTreeItemId" overloaded="no">
19141 <autodoc>__del__(self)</autodoc>
19142 </destructor>
19143 <method name="IsOk" type="bool" overloaded="no">
19144 <autodoc>IsOk(self) -&gt; bool</autodoc>
19145 </method>
19146 <method name="__eq__" type="bool" overloaded="no">
19147 <autodoc>__eq__(self, TreeItemId other) -&gt; bool</autodoc>
19148 <paramlist>
19149 <param name="other" type="TreeItemId" default=""/>
19150 </paramlist>
19151 </method>
19152 <method name="__ne__" type="bool" overloaded="no">
19153 <autodoc>__ne__(self, TreeItemId other) -&gt; bool</autodoc>
19154 <paramlist>
19155 <param name="other" type="TreeItemId" default=""/>
19156 </paramlist>
19157 </method>
19158 <property name="m_pItem" type="" readonly="no"/>
19159 </class>
19160 <class name="TreeItemData" oldname="wxPyTreeItemData" module="_controls">
19161 <constructor name="wxPyTreeItemData" overloaded="no">
19162 <autodoc>__init__(self, PyObject obj=None) -&gt; TreeItemData</autodoc>
19163 <paramlist>
19164 <param name="obj" type="PyObject" default="NULL"/>
19165 </paramlist>
19166 </constructor>
19167 <method name="GetData" type="PyObject" overloaded="no">
19168 <autodoc>GetData(self) -&gt; PyObject</autodoc>
19169 </method>
19170 <method name="SetData" type="" overloaded="no">
19171 <autodoc>SetData(self, PyObject obj)</autodoc>
19172 <paramlist>
19173 <param name="obj" type="PyObject" default=""/>
19174 </paramlist>
19175 </method>
19176 <method name="GetId" type="TreeItemId" overloaded="no">
19177 <autodoc>GetId(self) -&gt; TreeItemId</autodoc>
19178 </method>
19179 <method name="SetId" type="" overloaded="no">
19180 <autodoc>SetId(self, TreeItemId id)</autodoc>
19181 <paramlist>
19182 <param name="id" type="TreeItemId" default=""/>
19183 </paramlist>
19184 </method>
19185 <method name="Destroy" type="" overloaded="no">
19186 <autodoc>Destroy(self)</autodoc>
19187 </method>
19188 </class>
19189 <pythoncode>
19190 #---------------------------------------------------------------------------
19191 </pythoncode>
19192 <pythoncode>
19193
19194 EVT_TREE_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_DRAG , 1)
19195 EVT_TREE_BEGIN_RDRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_RDRAG , 1)
19196 EVT_TREE_BEGIN_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT , 1)
19197 EVT_TREE_END_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_TREE_END_LABEL_EDIT , 1)
19198 EVT_TREE_DELETE_ITEM = wx.PyEventBinder(wxEVT_COMMAND_TREE_DELETE_ITEM , 1)
19199 EVT_TREE_GET_INFO = wx.PyEventBinder(wxEVT_COMMAND_TREE_GET_INFO , 1)
19200 EVT_TREE_SET_INFO = wx.PyEventBinder(wxEVT_COMMAND_TREE_SET_INFO , 1)
19201 EVT_TREE_ITEM_EXPANDED = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_EXPANDED , 1)
19202 EVT_TREE_ITEM_EXPANDING = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_EXPANDING , 1)
19203 EVT_TREE_ITEM_COLLAPSED = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_COLLAPSED , 1)
19204 EVT_TREE_ITEM_COLLAPSING = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_COLLAPSING , 1)
19205 EVT_TREE_SEL_CHANGED = wx.PyEventBinder(wxEVT_COMMAND_TREE_SEL_CHANGED , 1)
19206 EVT_TREE_SEL_CHANGING = wx.PyEventBinder(wxEVT_COMMAND_TREE_SEL_CHANGING , 1)
19207 EVT_TREE_KEY_DOWN = wx.PyEventBinder(wxEVT_COMMAND_TREE_KEY_DOWN , 1)
19208 EVT_TREE_ITEM_ACTIVATED = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_ACTIVATED , 1)
19209 EVT_TREE_ITEM_RIGHT_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK , 1)
19210 EVT_TREE_ITEM_MIDDLE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 1)
19211 EVT_TREE_END_DRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_END_DRAG , 1)
19212 EVT_TREE_STATE_IMAGE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 1)
19213 EVT_TREE_ITEM_GETTOOLTIP = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 1)
19214 </pythoncode>
19215 <class name="TreeEvent" oldname="wxTreeEvent" module="_controls">
19216 <baseclass name="NotifyEvent"/>
19217 <constructor name="TreeEvent" overloaded="no">
19218 <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -&gt; TreeEvent</autodoc>
19219 <paramlist>
19220 <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
19221 <param name="id" type="int" default="0"/>
19222 </paramlist>
19223 </constructor>
19224 <method name="GetItem" type="TreeItemId" overloaded="no">
19225 <autodoc>GetItem(self) -&gt; TreeItemId</autodoc>
19226 </method>
19227 <method name="SetItem" type="" overloaded="no">
19228 <autodoc>SetItem(self, TreeItemId item)</autodoc>
19229 <paramlist>
19230 <param name="item" type="TreeItemId" default=""/>
19231 </paramlist>
19232 </method>
19233 <method name="GetOldItem" type="TreeItemId" overloaded="no">
19234 <autodoc>GetOldItem(self) -&gt; TreeItemId</autodoc>
19235 </method>
19236 <method name="SetOldItem" type="" overloaded="no">
19237 <autodoc>SetOldItem(self, TreeItemId item)</autodoc>
19238 <paramlist>
19239 <param name="item" type="TreeItemId" default=""/>
19240 </paramlist>
19241 </method>
19242 <method name="GetPoint" type="Point" overloaded="no">
19243 <autodoc>GetPoint(self) -&gt; Point</autodoc>
19244 </method>
19245 <method name="SetPoint" type="" overloaded="no">
19246 <autodoc>SetPoint(self, Point pt)</autodoc>
19247 <paramlist>
19248 <param name="pt" type="Point" default=""/>
19249 </paramlist>
19250 </method>
19251 <method name="GetKeyEvent" type="KeyEvent" overloaded="no">
19252 <autodoc>GetKeyEvent(self) -&gt; KeyEvent</autodoc>
19253 </method>
19254 <method name="GetKeyCode" type="int" overloaded="no">
19255 <autodoc>GetKeyCode(self) -&gt; int</autodoc>
19256 </method>
19257 <method name="SetKeyEvent" type="" overloaded="no">
19258 <autodoc>SetKeyEvent(self, KeyEvent evt)</autodoc>
19259 <paramlist>
19260 <param name="evt" type="KeyEvent" default=""/>
19261 </paramlist>
19262 </method>
19263 <method name="GetLabel" type="String" overloaded="no">
19264 <autodoc>GetLabel(self) -&gt; String</autodoc>
19265 </method>
19266 <method name="SetLabel" type="" overloaded="no">
19267 <autodoc>SetLabel(self, String label)</autodoc>
19268 <paramlist>
19269 <param name="label" type="String" default=""/>
19270 </paramlist>
19271 </method>
19272 <method name="IsEditCancelled" type="bool" overloaded="no">
19273 <autodoc>IsEditCancelled(self) -&gt; bool</autodoc>
19274 </method>
19275 <method name="SetEditCanceled" type="" overloaded="no">
19276 <autodoc>SetEditCanceled(self, bool editCancelled)</autodoc>
19277 <paramlist>
19278 <param name="editCancelled" type="bool" default=""/>
19279 </paramlist>
19280 </method>
19281 <method name="SetToolTip" type="" overloaded="no">
19282 <autodoc>SetToolTip(self, String toolTip)</autodoc>
19283 <paramlist>
19284 <param name="toolTip" type="String" default=""/>
19285 </paramlist>
19286 </method>
19287 </class>
19288 <pythoncode>
19289 #---------------------------------------------------------------------------
19290 </pythoncode>
19291 <class name="TreeCtrl" oldname="wxPyTreeCtrl" module="_controls">
19292 <baseclass name="Control"/>
19293 <constructor name="wxPyTreeCtrl" overloaded="no">
19294 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
19295 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
19296 Validator validator=DefaultValidator,
19297 String name=TreeCtrlNameStr) -&gt; TreeCtrl</autodoc>
19298 <paramlist>
19299 <param name="parent" type="Window" default=""/>
19300 <param name="id" type="int" default="-1"/>
19301 <param name="pos" type="Point" default="wxDefaultPosition"/>
19302 <param name="size" type="Size" default="wxDefaultSize"/>
19303 <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/>
19304 <param name="validator" type="Validator" default="wxDefaultValidator"/>
19305 <param name="name" type="String" default="wxPyTreeCtrlNameStr"/>
19306 </paramlist>
19307 </constructor>
19308 <constructor name="PreTreeCtrl" overloaded="no">
19309 <autodoc>PreTreeCtrl() -&gt; TreeCtrl</autodoc>
19310 </constructor>
19311 <method name="Create" type="bool" overloaded="no">
19312 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
19313 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
19314 Validator validator=DefaultValidator,
19315 String name=TreeCtrlNameStr) -&gt; bool</autodoc>
19316 <docstring>Do the 2nd phase and create the GUI control.</docstring>
19317 <paramlist>
19318 <param name="parent" type="Window" default=""/>
19319 <param name="id" type="int" default="-1"/>
19320 <param name="pos" type="Point" default="wxDefaultPosition"/>
19321 <param name="size" type="Size" default="wxDefaultSize"/>
19322 <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/>
19323 <param name="validator" type="Validator" default="wxDefaultValidator"/>
19324 <param name="name" type="String" default="wxPyTreeCtrlNameStr"/>
19325 </paramlist>
19326 </method>
19327 <method name="_setCallbackInfo" type="" overloaded="no">
19328 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
19329 <paramlist>
19330 <param name="self" type="PyObject" default=""/>
19331 <param name="_class" type="PyObject" default=""/>
19332 </paramlist>
19333 </method>
19334 <method name="GetCount" type="size_t" overloaded="no">
19335 <autodoc>GetCount(self) -&gt; size_t</autodoc>
19336 </method>
19337 <method name="GetIndent" type="unsigned int" overloaded="no">
19338 <autodoc>GetIndent(self) -&gt; unsigned int</autodoc>
19339 </method>
19340 <method name="SetIndent" type="" overloaded="no">
19341 <autodoc>SetIndent(self, unsigned int indent)</autodoc>
19342 <paramlist>
19343 <param name="indent" type="unsigned int" default=""/>
19344 </paramlist>
19345 </method>
19346 <method name="GetSpacing" type="unsigned int" overloaded="no">
19347 <autodoc>GetSpacing(self) -&gt; unsigned int</autodoc>
19348 </method>
19349 <method name="SetSpacing" type="" overloaded="no">
19350 <autodoc>SetSpacing(self, unsigned int spacing)</autodoc>
19351 <paramlist>
19352 <param name="spacing" type="unsigned int" default=""/>
19353 </paramlist>
19354 </method>
19355 <method name="GetImageList" type="ImageList" overloaded="no">
19356 <autodoc>GetImageList(self) -&gt; ImageList</autodoc>
19357 </method>
19358 <method name="GetStateImageList" type="ImageList" overloaded="no">
19359 <autodoc>GetStateImageList(self) -&gt; ImageList</autodoc>
19360 </method>
19361 <method name="SetImageList" type="" overloaded="no">
19362 <autodoc>SetImageList(self, ImageList imageList)</autodoc>
19363 <paramlist>
19364 <param name="imageList" type="ImageList" default=""/>
19365 </paramlist>
19366 </method>
19367 <method name="SetStateImageList" type="" overloaded="no">
19368 <autodoc>SetStateImageList(self, ImageList imageList)</autodoc>
19369 <paramlist>
19370 <param name="imageList" type="ImageList" default=""/>
19371 </paramlist>
19372 </method>
19373 <method name="AssignImageList" type="" overloaded="no">
19374 <autodoc>AssignImageList(self, ImageList imageList)</autodoc>
19375 <paramlist>
19376 <param name="imageList" type="ImageList" default=""/>
19377 </paramlist>
19378 </method>
19379 <method name="AssignStateImageList" type="" overloaded="no">
19380 <autodoc>AssignStateImageList(self, ImageList imageList)</autodoc>
19381 <paramlist>
19382 <param name="imageList" type="ImageList" default=""/>
19383 </paramlist>
19384 </method>
19385 <method name="GetItemText" type="String" overloaded="no">
19386 <autodoc>GetItemText(self, TreeItemId item) -&gt; String</autodoc>
19387 <paramlist>
19388 <param name="item" type="TreeItemId" default=""/>
19389 </paramlist>
19390 </method>
19391 <method name="GetItemImage" type="int" overloaded="no">
19392 <autodoc>GetItemImage(self, TreeItemId item, int which=TreeItemIcon_Normal) -&gt; int</autodoc>
19393 <paramlist>
19394 <param name="item" type="TreeItemId" default=""/>
19395 <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/>
19396 </paramlist>
19397 </method>
19398 <method name="GetItemData" type="TreeItemData" overloaded="no">
19399 <autodoc>GetItemData(self, TreeItemId item) -&gt; TreeItemData</autodoc>
19400 <paramlist>
19401 <param name="item" type="TreeItemId" default=""/>
19402 </paramlist>
19403 </method>
19404 <method name="GetItemPyData" type="PyObject" overloaded="no">
19405 <autodoc>GetItemPyData(self, TreeItemId item) -&gt; PyObject</autodoc>
19406 <paramlist>
19407 <param name="item" type="TreeItemId" default=""/>
19408 </paramlist>
19409 </method>
19410 <method name="GetItemTextColour" type="Colour" overloaded="no">
19411 <autodoc>GetItemTextColour(self, TreeItemId item) -&gt; Colour</autodoc>
19412 <paramlist>
19413 <param name="item" type="TreeItemId" default=""/>
19414 </paramlist>
19415 </method>
19416 <method name="GetItemBackgroundColour" type="Colour" overloaded="no">
19417 <autodoc>GetItemBackgroundColour(self, TreeItemId item) -&gt; Colour</autodoc>
19418 <paramlist>
19419 <param name="item" type="TreeItemId" default=""/>
19420 </paramlist>
19421 </method>
19422 <method name="GetItemFont" type="Font" overloaded="no">
19423 <autodoc>GetItemFont(self, TreeItemId item) -&gt; Font</autodoc>
19424 <paramlist>
19425 <param name="item" type="TreeItemId" default=""/>
19426 </paramlist>
19427 </method>
19428 <method name="SetItemText" type="" overloaded="no">
19429 <autodoc>SetItemText(self, TreeItemId item, String text)</autodoc>
19430 <paramlist>
19431 <param name="item" type="TreeItemId" default=""/>
19432 <param name="text" type="String" default=""/>
19433 </paramlist>
19434 </method>
19435 <method name="SetItemImage" type="" overloaded="no">
19436 <autodoc>SetItemImage(self, TreeItemId item, int image, int which=TreeItemIcon_Normal)</autodoc>
19437 <paramlist>
19438 <param name="item" type="TreeItemId" default=""/>
19439 <param name="image" type="int" default=""/>
19440 <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/>
19441 </paramlist>
19442 </method>
19443 <method name="SetItemData" type="" overloaded="no">
19444 <autodoc>SetItemData(self, TreeItemId item, TreeItemData data)</autodoc>
19445 <paramlist>
19446 <param name="item" type="TreeItemId" default=""/>
19447 <param name="data" type="TreeItemData" default=""/>
19448 </paramlist>
19449 </method>
19450 <method name="SetItemPyData" type="" overloaded="no">
19451 <autodoc>SetItemPyData(self, TreeItemId item, PyObject obj)</autodoc>
19452 <paramlist>
19453 <param name="item" type="TreeItemId" default=""/>
19454 <param name="obj" type="PyObject" default=""/>
19455 </paramlist>
19456 </method>
19457 <method name="SetItemHasChildren" type="" overloaded="no">
19458 <autodoc>SetItemHasChildren(self, TreeItemId item, bool has=True)</autodoc>
19459 <paramlist>
19460 <param name="item" type="TreeItemId" default=""/>
19461 <param name="has" type="bool" default="True"/>
19462 </paramlist>
19463 </method>
19464 <method name="SetItemBold" type="" overloaded="no">
19465 <autodoc>SetItemBold(self, TreeItemId item, bool bold=True)</autodoc>
19466 <paramlist>
19467 <param name="item" type="TreeItemId" default=""/>
19468 <param name="bold" type="bool" default="True"/>
19469 </paramlist>
19470 </method>
19471 <method name="SetItemTextColour" type="" overloaded="no">
19472 <autodoc>SetItemTextColour(self, TreeItemId item, Colour col)</autodoc>
19473 <paramlist>
19474 <param name="item" type="TreeItemId" default=""/>
19475 <param name="col" type="Colour" default=""/>
19476 </paramlist>
19477 </method>
19478 <method name="SetItemBackgroundColour" type="" overloaded="no">
19479 <autodoc>SetItemBackgroundColour(self, TreeItemId item, Colour col)</autodoc>
19480 <paramlist>
19481 <param name="item" type="TreeItemId" default=""/>
19482 <param name="col" type="Colour" default=""/>
19483 </paramlist>
19484 </method>
19485 <method name="SetItemFont" type="" overloaded="no">
19486 <autodoc>SetItemFont(self, TreeItemId item, Font font)</autodoc>
19487 <paramlist>
19488 <param name="item" type="TreeItemId" default=""/>
19489 <param name="font" type="Font" default=""/>
19490 </paramlist>
19491 </method>
19492 <method name="IsVisible" type="bool" overloaded="no">
19493 <autodoc>IsVisible(self, TreeItemId item) -&gt; bool</autodoc>
19494 <paramlist>
19495 <param name="item" type="TreeItemId" default=""/>
19496 </paramlist>
19497 </method>
19498 <method name="ItemHasChildren" type="bool" overloaded="no">
19499 <autodoc>ItemHasChildren(self, TreeItemId item) -&gt; bool</autodoc>
19500 <paramlist>
19501 <param name="item" type="TreeItemId" default=""/>
19502 </paramlist>
19503 </method>
19504 <method name="IsExpanded" type="bool" overloaded="no">
19505 <autodoc>IsExpanded(self, TreeItemId item) -&gt; bool</autodoc>
19506 <paramlist>
19507 <param name="item" type="TreeItemId" default=""/>
19508 </paramlist>
19509 </method>
19510 <method name="IsSelected" type="bool" overloaded="no">
19511 <autodoc>IsSelected(self, TreeItemId item) -&gt; bool</autodoc>
19512 <paramlist>
19513 <param name="item" type="TreeItemId" default=""/>
19514 </paramlist>
19515 </method>
19516 <method name="IsBold" type="bool" overloaded="no">
19517 <autodoc>IsBold(self, TreeItemId item) -&gt; bool</autodoc>
19518 <paramlist>
19519 <param name="item" type="TreeItemId" default=""/>
19520 </paramlist>
19521 </method>
19522 <method name="GetChildrenCount" type="size_t" overloaded="no">
19523 <autodoc>GetChildrenCount(self, TreeItemId item, bool recursively=True) -&gt; size_t</autodoc>
19524 <paramlist>
19525 <param name="item" type="TreeItemId" default=""/>
19526 <param name="recursively" type="bool" default="True"/>
19527 </paramlist>
19528 </method>
19529 <method name="GetRootItem" type="TreeItemId" overloaded="no">
19530 <autodoc>GetRootItem(self) -&gt; TreeItemId</autodoc>
19531 </method>
19532 <method name="GetSelection" type="TreeItemId" overloaded="no">
19533 <autodoc>GetSelection(self) -&gt; TreeItemId</autodoc>
19534 </method>
19535 <method name="GetSelections" type="PyObject" overloaded="no">
19536 <autodoc>GetSelections(self) -&gt; PyObject</autodoc>
19537 </method>
19538 <method name="GetItemParent" type="TreeItemId" overloaded="no">
19539 <autodoc>GetItemParent(self, TreeItemId item) -&gt; TreeItemId</autodoc>
19540 <paramlist>
19541 <param name="item" type="TreeItemId" default=""/>
19542 </paramlist>
19543 </method>
19544 <method name="GetFirstChild" type="PyObject" overloaded="no">
19545 <autodoc>GetFirstChild(self, TreeItemId item) -&gt; PyObject</autodoc>
19546 <paramlist>
19547 <param name="item" type="TreeItemId" default=""/>
19548 </paramlist>
19549 </method>
19550 <method name="GetNextChild" type="PyObject" overloaded="no">
19551 <autodoc>GetNextChild(self, TreeItemId item, void cookie) -&gt; PyObject</autodoc>
19552 <paramlist>
19553 <param name="item" type="TreeItemId" default=""/>
19554 <param name="cookie" type="" default=""/>
19555 </paramlist>
19556 </method>
19557 <method name="GetLastChild" type="TreeItemId" overloaded="no">
19558 <autodoc>GetLastChild(self, TreeItemId item) -&gt; TreeItemId</autodoc>
19559 <paramlist>
19560 <param name="item" type="TreeItemId" default=""/>
19561 </paramlist>
19562 </method>
19563 <method name="GetNextSibling" type="TreeItemId" overloaded="no">
19564 <autodoc>GetNextSibling(self, TreeItemId item) -&gt; TreeItemId</autodoc>
19565 <paramlist>
19566 <param name="item" type="TreeItemId" default=""/>
19567 </paramlist>
19568 </method>
19569 <method name="GetPrevSibling" type="TreeItemId" overloaded="no">
19570 <autodoc>GetPrevSibling(self, TreeItemId item) -&gt; TreeItemId</autodoc>
19571 <paramlist>
19572 <param name="item" type="TreeItemId" default=""/>
19573 </paramlist>
19574 </method>
19575 <method name="GetFirstVisibleItem" type="TreeItemId" overloaded="no">
19576 <autodoc>GetFirstVisibleItem(self) -&gt; TreeItemId</autodoc>
19577 </method>
19578 <method name="GetNextVisible" type="TreeItemId" overloaded="no">
19579 <autodoc>GetNextVisible(self, TreeItemId item) -&gt; TreeItemId</autodoc>
19580 <paramlist>
19581 <param name="item" type="TreeItemId" default=""/>
19582 </paramlist>
19583 </method>
19584 <method name="GetPrevVisible" type="TreeItemId" overloaded="no">
19585 <autodoc>GetPrevVisible(self, TreeItemId item) -&gt; TreeItemId</autodoc>
19586 <paramlist>
19587 <param name="item" type="TreeItemId" default=""/>
19588 </paramlist>
19589 </method>
19590 <method name="AddRoot" type="TreeItemId" overloaded="no">
19591 <autodoc>AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -&gt; TreeItemId</autodoc>
19592 <paramlist>
19593 <param name="text" type="String" default=""/>
19594 <param name="image" type="int" default="-1"/>
19595 <param name="selectedImage" type="int" default="-1"/>
19596 <param name="data" type="TreeItemData" default="NULL"/>
19597 </paramlist>
19598 </method>
19599 <method name="PrependItem" type="TreeItemId" overloaded="no">
19600 <autodoc>PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
19601 TreeItemData data=None) -&gt; TreeItemId</autodoc>
19602 <paramlist>
19603 <param name="parent" type="TreeItemId" default=""/>
19604 <param name="text" type="String" default=""/>
19605 <param name="image" type="int" default="-1"/>
19606 <param name="selectedImage" type="int" default="-1"/>
19607 <param name="data" type="TreeItemData" default="NULL"/>
19608 </paramlist>
19609 </method>
19610 <method name="InsertItem" type="TreeItemId" overloaded="no">
19611 <autodoc>InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text,
19612 int image=-1, int selectedImage=-1, TreeItemData data=None) -&gt; TreeItemId</autodoc>
19613 <paramlist>
19614 <param name="parent" type="TreeItemId" default=""/>
19615 <param name="idPrevious" type="TreeItemId" default=""/>
19616 <param name="text" type="String" default=""/>
19617 <param name="image" type="int" default="-1"/>
19618 <param name="selectedImage" type="int" default="-1"/>
19619 <param name="data" type="TreeItemData" default="NULL"/>
19620 </paramlist>
19621 </method>
19622 <method name="InsertItemBefore" type="TreeItemId" overloaded="no">
19623 <autodoc>InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1,
19624 int selectedImage=-1, TreeItemData data=None) -&gt; TreeItemId</autodoc>
19625 <paramlist>
19626 <param name="parent" type="TreeItemId" default=""/>
19627 <param name="index" type="size_t" default=""/>
19628 <param name="text" type="String" default=""/>
19629 <param name="image" type="int" default="-1"/>
19630 <param name="selectedImage" type="int" default="-1"/>
19631 <param name="data" type="TreeItemData" default="NULL"/>
19632 </paramlist>
19633 </method>
19634 <method name="AppendItem" type="TreeItemId" overloaded="no">
19635 <autodoc>AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
19636 TreeItemData data=None) -&gt; TreeItemId</autodoc>
19637 <paramlist>
19638 <param name="parent" type="TreeItemId" default=""/>
19639 <param name="text" type="String" default=""/>
19640 <param name="image" type="int" default="-1"/>
19641 <param name="selectedImage" type="int" default="-1"/>
19642 <param name="data" type="TreeItemData" default="NULL"/>
19643 </paramlist>
19644 </method>
19645 <method name="Delete" type="" overloaded="no">
19646 <autodoc>Delete(self, TreeItemId item)</autodoc>
19647 <paramlist>
19648 <param name="item" type="TreeItemId" default=""/>
19649 </paramlist>
19650 </method>
19651 <method name="DeleteChildren" type="" overloaded="no">
19652 <autodoc>DeleteChildren(self, TreeItemId item)</autodoc>
19653 <paramlist>
19654 <param name="item" type="TreeItemId" default=""/>
19655 </paramlist>
19656 </method>
19657 <method name="DeleteAllItems" type="" overloaded="no">
19658 <autodoc>DeleteAllItems(self)</autodoc>
19659 </method>
19660 <method name="Expand" type="" overloaded="no">
19661 <autodoc>Expand(self, TreeItemId item)</autodoc>
19662 <paramlist>
19663 <param name="item" type="TreeItemId" default=""/>
19664 </paramlist>
19665 </method>
19666 <method name="Collapse" type="" overloaded="no">
19667 <autodoc>Collapse(self, TreeItemId item)</autodoc>
19668 <paramlist>
19669 <param name="item" type="TreeItemId" default=""/>
19670 </paramlist>
19671 </method>
19672 <method name="CollapseAndReset" type="" overloaded="no">
19673 <autodoc>CollapseAndReset(self, TreeItemId item)</autodoc>
19674 <paramlist>
19675 <param name="item" type="TreeItemId" default=""/>
19676 </paramlist>
19677 </method>
19678 <method name="Toggle" type="" overloaded="no">
19679 <autodoc>Toggle(self, TreeItemId item)</autodoc>
19680 <paramlist>
19681 <param name="item" type="TreeItemId" default=""/>
19682 </paramlist>
19683 </method>
19684 <method name="Unselect" type="" overloaded="no">
19685 <autodoc>Unselect(self)</autodoc>
19686 </method>
19687 <method name="UnselectItem" type="" overloaded="no">
19688 <autodoc>UnselectItem(self, TreeItemId item)</autodoc>
19689 <paramlist>
19690 <param name="item" type="TreeItemId" default=""/>
19691 </paramlist>
19692 </method>
19693 <method name="UnselectAll" type="" overloaded="no">
19694 <autodoc>UnselectAll(self)</autodoc>
19695 </method>
19696 <method name="SelectItem" type="" overloaded="no">
19697 <autodoc>SelectItem(self, TreeItemId item, bool select=True)</autodoc>
19698 <paramlist>
19699 <param name="item" type="TreeItemId" default=""/>
19700 <param name="select" type="bool" default="True"/>
19701 </paramlist>
19702 </method>
19703 <method name="ToggleItemSelection" type="" overloaded="no">
19704 <autodoc>ToggleItemSelection(self, TreeItemId item)</autodoc>
19705 <paramlist>
19706 <param name="item" type="TreeItemId" default=""/>
19707 </paramlist>
19708 </method>
19709 <method name="EnsureVisible" type="" overloaded="no">
19710 <autodoc>EnsureVisible(self, TreeItemId item)</autodoc>
19711 <paramlist>
19712 <param name="item" type="TreeItemId" default=""/>
19713 </paramlist>
19714 </method>
19715 <method name="ScrollTo" type="" overloaded="no">
19716 <autodoc>ScrollTo(self, TreeItemId item)</autodoc>
19717 <paramlist>
19718 <param name="item" type="TreeItemId" default=""/>
19719 </paramlist>
19720 </method>
19721 <method name="EditLabel" type="" overloaded="no">
19722 <autodoc>EditLabel(self, TreeItemId item)</autodoc>
19723 <paramlist>
19724 <param name="item" type="TreeItemId" default=""/>
19725 </paramlist>
19726 </method>
19727 <method name="GetEditControl" type="TextCtrl" overloaded="no">
19728 <autodoc>GetEditControl(self) -&gt; TextCtrl</autodoc>
19729 </method>
19730 <method name="SortChildren" type="" overloaded="no">
19731 <autodoc>SortChildren(self, TreeItemId item)</autodoc>
19732 <paramlist>
19733 <param name="item" type="TreeItemId" default=""/>
19734 </paramlist>
19735 </method>
19736 <method name="HitTest" type="TreeItemId" overloaded="no">
19737 <autodoc>HitTest(Point point) -&gt; (item, where)</autodoc>
19738 <paramlist>
19739 <param name="point" type="Point" default=""/>
19740 <param name="OUTPUT" type="int" default=""/>
19741 </paramlist>
19742 </method>
19743 <method name="GetBoundingRect" type="PyObject" overloaded="no">
19744 <autodoc>GetBoundingRect(self, TreeItemId item, bool textOnly=False) -&gt; PyObject</autodoc>
19745 <paramlist>
19746 <param name="item" type="TreeItemId" default=""/>
19747 <param name="textOnly" type="bool" default="False"/>
19748 </paramlist>
19749 </method>
19750 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
19751 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
19752 <docstring>Get the default attributes for this class. This is useful if you want
19753 to use the same font or colour in your own control as in a standard
19754 control -- which is a much better idea than hard coding specific
19755 colours or fonts which might look completely out of place on the
19756 user's system, especially if it uses themes.
19757
19758 The variant parameter is only relevant under Mac currently and is
19759 ignore under other platforms. Under Mac, it will change the size of
19760 the returned font. See `wx.Window.SetWindowVariant` for more about
19761 this.</docstring>
19762 <paramlist>
19763 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
19764 </paramlist>
19765 </staticmethod>
19766 </class>
19767 <pythoncode>
19768 #---------------------------------------------------------------------------
19769 </pythoncode>
19770 <class name="GenericDirCtrl" oldname="wxGenericDirCtrl" module="_controls">
19771 <baseclass name="Control"/>
19772 <constructor name="GenericDirCtrl" overloaded="no">
19773 <autodoc>__init__(self, Window parent, int id=-1, String dir=DirDialogDefaultFolderStr,
19774 Point pos=DefaultPosition, Size size=DefaultSize,
19775 long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER,
19776 String filter=EmptyString,
19777 int defaultFilter=0, String name=TreeCtrlNameStr) -&gt; GenericDirCtrl</autodoc>
19778 <paramlist>
19779 <param name="parent" type="Window" default=""/>
19780 <param name="id" type="int" default="-1"/>
19781 <param name="dir" type="String" default="wxPyDirDialogDefaultFolderStr"/>
19782 <param name="pos" type="Point" default="wxDefaultPosition"/>
19783 <param name="size" type="Size" default="wxDefaultSize"/>
19784 <param name="style" type="long" default="wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER"/>
19785 <param name="filter" type="String" default="wxPyEmptyString"/>
19786 <param name="defaultFilter" type="int" default="0"/>
19787 <param name="name" type="String" default="wxPyTreeCtrlNameStr"/>
19788 </paramlist>
19789 </constructor>
19790 <constructor name="PreGenericDirCtrl" overloaded="no">
19791 <autodoc>PreGenericDirCtrl() -&gt; GenericDirCtrl</autodoc>
19792 </constructor>
19793 <method name="Create" type="bool" overloaded="no">
19794 <autodoc>Create(self, Window parent, int id=-1, String dir=DirDialogDefaultFolderStr,
19795 Point pos=DefaultPosition, Size size=DefaultSize,
19796 long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER,
19797 String filter=EmptyString,
19798 int defaultFilter=0, String name=TreeCtrlNameStr) -&gt; bool</autodoc>
19799 <paramlist>
19800 <param name="parent" type="Window" default=""/>
19801 <param name="id" type="int" default="-1"/>
19802 <param name="dir" type="String" default="wxPyDirDialogDefaultFolderStr"/>
19803 <param name="pos" type="Point" default="wxDefaultPosition"/>
19804 <param name="size" type="Size" default="wxDefaultSize"/>
19805 <param name="style" type="long" default="wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER"/>
19806 <param name="filter" type="String" default="wxPyEmptyString"/>
19807 <param name="defaultFilter" type="int" default="0"/>
19808 <param name="name" type="String" default="wxPyTreeCtrlNameStr"/>
19809 </paramlist>
19810 </method>
19811 <method name="ExpandPath" type="bool" overloaded="no">
19812 <autodoc>ExpandPath(self, String path) -&gt; bool</autodoc>
19813 <paramlist>
19814 <param name="path" type="String" default=""/>
19815 </paramlist>
19816 </method>
19817 <method name="GetDefaultPath" type="String" overloaded="no">
19818 <autodoc>GetDefaultPath(self) -&gt; String</autodoc>
19819 </method>
19820 <method name="SetDefaultPath" type="" overloaded="no">
19821 <autodoc>SetDefaultPath(self, String path)</autodoc>
19822 <paramlist>
19823 <param name="path" type="String" default=""/>
19824 </paramlist>
19825 </method>
19826 <method name="GetPath" type="String" overloaded="no">
19827 <autodoc>GetPath(self) -&gt; String</autodoc>
19828 </method>
19829 <method name="GetFilePath" type="String" overloaded="no">
19830 <autodoc>GetFilePath(self) -&gt; String</autodoc>
19831 </method>
19832 <method name="SetPath" type="" overloaded="no">
19833 <autodoc>SetPath(self, String path)</autodoc>
19834 <paramlist>
19835 <param name="path" type="String" default=""/>
19836 </paramlist>
19837 </method>
19838 <method name="ShowHidden" type="" overloaded="no">
19839 <autodoc>ShowHidden(self, bool show)</autodoc>
19840 <paramlist>
19841 <param name="show" type="bool" default=""/>
19842 </paramlist>
19843 </method>
19844 <method name="GetShowHidden" type="bool" overloaded="no">
19845 <autodoc>GetShowHidden(self) -&gt; bool</autodoc>
19846 </method>
19847 <method name="GetFilter" type="String" overloaded="no">
19848 <autodoc>GetFilter(self) -&gt; String</autodoc>
19849 </method>
19850 <method name="SetFilter" type="" overloaded="no">
19851 <autodoc>SetFilter(self, String filter)</autodoc>
19852 <paramlist>
19853 <param name="filter" type="String" default=""/>
19854 </paramlist>
19855 </method>
19856 <method name="GetFilterIndex" type="int" overloaded="no">
19857 <autodoc>GetFilterIndex(self) -&gt; int</autodoc>
19858 </method>
19859 <method name="SetFilterIndex" type="" overloaded="no">
19860 <autodoc>SetFilterIndex(self, int n)</autodoc>
19861 <paramlist>
19862 <param name="n" type="int" default=""/>
19863 </paramlist>
19864 </method>
19865 <method name="GetRootId" type="TreeItemId" overloaded="no">
19866 <autodoc>GetRootId(self) -&gt; TreeItemId</autodoc>
19867 </method>
19868 <method name="GetTreeCtrl" type="TreeCtrl" overloaded="no">
19869 <autodoc>GetTreeCtrl(self) -&gt; TreeCtrl</autodoc>
19870 </method>
19871 <method name="GetFilterListCtrl" type="wxDirFilterListCtrl" overloaded="no">
19872 <autodoc>GetFilterListCtrl(self) -&gt; DirFilterListCtrl</autodoc>
19873 </method>
19874 <method name="FindChild" type="TreeItemId" overloaded="no">
19875 <autodoc>FindChild(wxTreeItemId parentId, wxString path) -&gt; (item, done)</autodoc>
19876 <paramlist>
19877 <param name="parentId" type="TreeItemId" default=""/>
19878 <param name="path" type="String" default=""/>
19879 <param name="OUTPUT" type="bool" default=""/>
19880 </paramlist>
19881 </method>
19882 <method name="DoResize" type="" overloaded="no">
19883 <autodoc>DoResize(self)</autodoc>
19884 </method>
19885 <method name="ReCreateTree" type="" overloaded="no">
19886 <autodoc>ReCreateTree(self)</autodoc>
19887 </method>
19888 </class>
19889 <class name="DirFilterListCtrl" oldname="wxDirFilterListCtrl" module="_controls">
19890 <baseclass name="Choice"/>
19891 <constructor name="DirFilterListCtrl" overloaded="no">
19892 <autodoc>__init__(self, GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition,
19893 Size size=DefaultSize, long style=0) -&gt; DirFilterListCtrl</autodoc>
19894 <paramlist>
19895 <param name="parent" type="GenericDirCtrl" default=""/>
19896 <param name="id" type="int" default="-1"/>
19897 <param name="pos" type="Point" default="wxDefaultPosition"/>
19898 <param name="size" type="Size" default="wxDefaultSize"/>
19899 <param name="style" type="long" default="0"/>
19900 </paramlist>
19901 </constructor>
19902 <constructor name="PreDirFilterListCtrl" overloaded="no">
19903 <autodoc>PreDirFilterListCtrl() -&gt; DirFilterListCtrl</autodoc>
19904 </constructor>
19905 <method name="Create" type="bool" overloaded="no">
19906 <autodoc>Create(self, GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition,
19907 Size size=DefaultSize, long style=0) -&gt; bool</autodoc>
19908 <paramlist>
19909 <param name="parent" type="GenericDirCtrl" default=""/>
19910 <param name="id" type="int" default="-1"/>
19911 <param name="pos" type="Point" default="wxDefaultPosition"/>
19912 <param name="size" type="Size" default="wxDefaultSize"/>
19913 <param name="style" type="long" default="0"/>
19914 </paramlist>
19915 </method>
19916 <method name="FillFilterList" type="" overloaded="no">
19917 <autodoc>FillFilterList(self, String filter, int defaultFilter)</autodoc>
19918 <paramlist>
19919 <param name="filter" type="String" default=""/>
19920 <param name="defaultFilter" type="int" default=""/>
19921 </paramlist>
19922 </method>
19923 </class>
19924 <pythoncode>
19925 #---------------------------------------------------------------------------
19926 </pythoncode>
19927 <class name="PyControl" oldname="wxPyControl" module="_controls">
19928 <baseclass name="Control"/>
19929 <constructor name="PyControl" overloaded="no">
19930 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
19931 Size size=DefaultSize, long style=0, Validator validator=DefaultValidator,
19932 String name=ControlNameStr) -&gt; PyControl</autodoc>
19933 <paramlist>
19934 <param name="parent" type="Window" default=""/>
19935 <param name="id" type="int" default="-1"/>
19936 <param name="pos" type="Point" default="wxDefaultPosition"/>
19937 <param name="size" type="Size" default="wxDefaultSize"/>
19938 <param name="style" type="long" default="0"/>
19939 <param name="validator" type="Validator" default="wxDefaultValidator"/>
19940 <param name="name" type="String" default="wxPyControlNameStr"/>
19941 </paramlist>
19942 </constructor>
19943 <constructor name="PrePyControl" overloaded="no">
19944 <autodoc>PrePyControl() -&gt; PyControl</autodoc>
19945 </constructor>
19946 <method name="_setCallbackInfo" type="" overloaded="no">
19947 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
19948 <paramlist>
19949 <param name="self" type="PyObject" default=""/>
19950 <param name="_class" type="PyObject" default=""/>
19951 </paramlist>
19952 </method>
19953 <method name="SetBestSize" type="" overloaded="no">
19954 <autodoc>SetBestSize(self, Size size)</autodoc>
19955 <paramlist>
19956 <param name="size" type="Size" default=""/>
19957 </paramlist>
19958 </method>
19959 <method name="base_DoMoveWindow" type="" overloaded="no">
19960 <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc>
19961 <paramlist>
19962 <param name="x" type="int" default=""/>
19963 <param name="y" type="int" default=""/>
19964 <param name="width" type="int" default=""/>
19965 <param name="height" type="int" default=""/>
19966 </paramlist>
19967 </method>
19968 <method name="base_DoSetSize" type="" overloaded="no">
19969 <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
19970 <paramlist>
19971 <param name="x" type="int" default=""/>
19972 <param name="y" type="int" default=""/>
19973 <param name="width" type="int" default=""/>
19974 <param name="height" type="int" default=""/>
19975 <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
19976 </paramlist>
19977 </method>
19978 <method name="base_DoSetClientSize" type="" overloaded="no">
19979 <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc>
19980 <paramlist>
19981 <param name="width" type="int" default=""/>
19982 <param name="height" type="int" default=""/>
19983 </paramlist>
19984 </method>
19985 <method name="base_DoSetVirtualSize" type="" overloaded="no">
19986 <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc>
19987 <paramlist>
19988 <param name="x" type="int" default=""/>
19989 <param name="y" type="int" default=""/>
19990 </paramlist>
19991 </method>
19992 <method name="base_DoGetSize" type="" overloaded="no">
19993 <autodoc>base_DoGetSize() -&gt; (width, height)</autodoc>
19994 <paramlist>
19995 <param name="OUTPUT" type="int" default=""/>
19996 <param name="OUTPUT" type="int" default=""/>
19997 </paramlist>
19998 </method>
19999 <method name="base_DoGetClientSize" type="" overloaded="no">
20000 <autodoc>base_DoGetClientSize() -&gt; (width, height)</autodoc>
20001 <paramlist>
20002 <param name="OUTPUT" type="int" default=""/>
20003 <param name="OUTPUT" type="int" default=""/>
20004 </paramlist>
20005 </method>
20006 <method name="base_DoGetPosition" type="" overloaded="no">
20007 <autodoc>base_DoGetPosition() -&gt; (x,y)</autodoc>
20008 <paramlist>
20009 <param name="OUTPUT" type="int" default=""/>
20010 <param name="OUTPUT" type="int" default=""/>
20011 </paramlist>
20012 </method>
20013 <method name="base_DoGetVirtualSize" type="Size" overloaded="no">
20014 <autodoc>base_DoGetVirtualSize(self) -&gt; Size</autodoc>
20015 </method>
20016 <method name="base_DoGetBestSize" type="Size" overloaded="no">
20017 <autodoc>base_DoGetBestSize(self) -&gt; Size</autodoc>
20018 </method>
20019 <method name="base_InitDialog" type="" overloaded="no">
20020 <autodoc>base_InitDialog(self)</autodoc>
20021 </method>
20022 <method name="base_TransferDataToWindow" type="bool" overloaded="no">
20023 <autodoc>base_TransferDataToWindow(self) -&gt; bool</autodoc>
20024 </method>
20025 <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
20026 <autodoc>base_TransferDataFromWindow(self) -&gt; bool</autodoc>
20027 </method>
20028 <method name="base_Validate" type="bool" overloaded="no">
20029 <autodoc>base_Validate(self) -&gt; bool</autodoc>
20030 </method>
20031 <method name="base_AcceptsFocus" type="bool" overloaded="no">
20032 <autodoc>base_AcceptsFocus(self) -&gt; bool</autodoc>
20033 </method>
20034 <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
20035 <autodoc>base_AcceptsFocusFromKeyboard(self) -&gt; bool</autodoc>
20036 </method>
20037 <method name="base_GetMaxSize" type="Size" overloaded="no">
20038 <autodoc>base_GetMaxSize(self) -&gt; Size</autodoc>
20039 </method>
20040 <method name="base_AddChild" type="" overloaded="no">
20041 <autodoc>base_AddChild(self, Window child)</autodoc>
20042 <paramlist>
20043 <param name="child" type="Window" default=""/>
20044 </paramlist>
20045 </method>
20046 <method name="base_RemoveChild" type="" overloaded="no">
20047 <autodoc>base_RemoveChild(self, Window child)</autodoc>
20048 <paramlist>
20049 <param name="child" type="Window" default=""/>
20050 </paramlist>
20051 </method>
20052 <method name="base_ShouldInheritColours" type="bool" overloaded="no">
20053 <autodoc>base_ShouldInheritColours(self) -&gt; bool</autodoc>
20054 </method>
20055 <method name="base_ApplyParentThemeBackground" type="" overloaded="no">
20056 <autodoc>base_ApplyParentThemeBackground(self, Colour c)</autodoc>
20057 <paramlist>
20058 <param name="c" type="Colour" default=""/>
20059 </paramlist>
20060 </method>
20061 <method name="base_GetDefaultAttributes" type="VisualAttributes" overloaded="no">
20062 <autodoc>base_GetDefaultAttributes(self) -&gt; VisualAttributes</autodoc>
20063 </method>
20064 </class>
20065 <pythoncode>
20066 #---------------------------------------------------------------------------
20067 </pythoncode>
20068 <pythoncode>
20069 EVT_HELP = wx.PyEventBinder( wxEVT_HELP, 1)
20070 EVT_HELP_RANGE = wx.PyEventBinder( wxEVT_HELP, 2)
20071 EVT_DETAILED_HELP = wx.PyEventBinder( wxEVT_DETAILED_HELP, 1)
20072 EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2)
20073 </pythoncode>
20074 <class name="HelpEvent" oldname="wxHelpEvent" module="_controls">
20075 <docstring>A help event is sent when the user has requested context-sensitive
20076 help. This can either be caused by the application requesting
20077 context-sensitive help mode via wx.ContextHelp, or (on MS Windows) by
20078 the system generating a WM_HELP message when the user pressed F1 or
20079 clicked on the query button in a dialog caption.
20080
20081 A help event is sent to the window that the user clicked on, and is
20082 propagated up the window hierarchy until the event is processed or
20083 there are no more event handlers. The application should call
20084 event.GetId to check the identity of the clicked-on window, and then
20085 either show some suitable help or call event.Skip if the identifier is
20086 unrecognised. Calling Skip is important because it allows wxWindows to
20087 generate further events for ancestors of the clicked-on
20088 window. Otherwise it would be impossible to show help for container
20089 windows, since processing would stop after the first window found.</docstring>
20090 <baseclass name="CommandEvent"/>
20091 <constructor name="HelpEvent" overloaded="no">
20092 <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -&gt; HelpEvent</autodoc>
20093 <paramlist>
20094 <param name="type" type="wxEventType" default="wxEVT_NULL"/>
20095 <param name="winid" type="int" default="0"/>
20096 <param name="pt" type="Point" default="wxDefaultPosition"/>
20097 </paramlist>
20098 </constructor>
20099 <method name="GetPosition" type="Point" overloaded="no">
20100 <autodoc>GetPosition(self) -&gt; Point</autodoc>
20101 <docstring>Returns the left-click position of the mouse, in screen
20102 coordinates. This allows the application to position the help
20103 appropriately.</docstring>
20104 </method>
20105 <method name="SetPosition" type="" overloaded="no">
20106 <autodoc>SetPosition(self, Point pos)</autodoc>
20107 <docstring>Sets the left-click position of the mouse, in screen coordinates.</docstring>
20108 <paramlist>
20109 <param name="pos" type="Point" default=""/>
20110 </paramlist>
20111 </method>
20112 <method name="GetLink" type="String" overloaded="no">
20113 <autodoc>GetLink(self) -&gt; String</autodoc>
20114 <docstring>Get an optional link to further help</docstring>
20115 </method>
20116 <method name="SetLink" type="" overloaded="no">
20117 <autodoc>SetLink(self, String link)</autodoc>
20118 <docstring>Set an optional link to further help</docstring>
20119 <paramlist>
20120 <param name="link" type="String" default=""/>
20121 </paramlist>
20122 </method>
20123 <method name="GetTarget" type="String" overloaded="no">
20124 <autodoc>GetTarget(self) -&gt; String</autodoc>
20125 <docstring>Get an optional target to display help in. E.g. a window specification</docstring>
20126 </method>
20127 <method name="SetTarget" type="" overloaded="no">
20128 <autodoc>SetTarget(self, String target)</autodoc>
20129 <docstring>Set an optional target to display help in. E.g. a window specification</docstring>
20130 <paramlist>
20131 <param name="target" type="String" default=""/>
20132 </paramlist>
20133 </method>
20134 </class>
20135 <class name="ContextHelp" oldname="wxContextHelp" module="_controls">
20136 <docstring>This class changes the cursor to a query and puts the application into
20137 a 'context-sensitive help mode'. When the user left-clicks on a window
20138 within the specified window, a ``EVT_HELP`` event is sent to that
20139 control, and the application may respond to it by popping up some
20140 help.
20141
20142 There are a couple of ways to invoke this behaviour implicitly:
20143
20144 * Use the wx.DIALOG_EX_CONTEXTHELP extended style for a dialog
20145 (Windows only). This will put a question mark in the titlebar,
20146 and Windows will put the application into context-sensitive help
20147 mode automatically, with further programming.
20148
20149 * Create a `wx.ContextHelpButton`, whose predefined behaviour is
20150 to create a context help object. Normally you will write your
20151 application so that this button is only added to a dialog for
20152 non-Windows platforms (use ``wx.DIALOG_EX_CONTEXTHELP`` on
20153 Windows).
20154
20155 :see: `wx.ContextHelpButton`
20156 </docstring>
20157 <baseclass name="Object"/>
20158 <constructor name="ContextHelp" overloaded="no">
20159 <autodoc>__init__(self, Window window=None, bool doNow=True) -&gt; ContextHelp</autodoc>
20160 <docstring>Constructs a context help object, calling BeginContextHelp if doNow is
20161 true (the default).
20162
20163 If window is None, the top window is used.</docstring>
20164 <paramlist>
20165 <param name="window" type="Window" default="NULL"/>
20166 <param name="doNow" type="bool" default="True"/>
20167 </paramlist>
20168 </constructor>
20169 <destructor name="~wxContextHelp" overloaded="no">
20170 <autodoc>__del__(self)</autodoc>
20171 </destructor>
20172 <method name="BeginContextHelp" type="bool" overloaded="no">
20173 <autodoc>BeginContextHelp(self, Window window=None) -&gt; bool</autodoc>
20174 <docstring>Puts the application into context-sensitive help mode. window is the
20175 window which will be used to catch events; if NULL, the top window
20176 will be used.
20177
20178 Returns true if the application was successfully put into
20179 context-sensitive help mode. This function only returns when the event
20180 loop has finished.</docstring>
20181 <paramlist>
20182 <param name="window" type="Window" default="NULL"/>
20183 </paramlist>
20184 </method>
20185 <method name="EndContextHelp" type="bool" overloaded="no">
20186 <autodoc>EndContextHelp(self) -&gt; bool</autodoc>
20187 <docstring>Ends context-sensitive help mode. Not normally called by the
20188 application.</docstring>
20189 </method>
20190 </class>
20191 <class name="ContextHelpButton" oldname="wxContextHelpButton" module="_controls">
20192 <docstring>Instances of this class may be used to add a question mark button that
20193 when pressed, puts the application into context-help mode. It does
20194 this by creating a wx.ContextHelp object which itself generates a
20195 ``EVT_HELP`` event when the user clicks on a window.
20196
20197 On Windows, you may add a question-mark icon to a dialog by use of the
20198 ``wx.DIALOG_EX_CONTEXTHELP`` extra style, but on other platforms you
20199 will have to add a button explicitly, usually next to OK, Cancel or
20200 similar buttons.
20201
20202 :see: `wx.ContextHelp`, `wx.ContextHelpButton`
20203 </docstring>
20204 <baseclass name="BitmapButton"/>
20205 <constructor name="ContextHelpButton" overloaded="no">
20206 <autodoc>__init__(self, Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition,
20207 Size size=DefaultSize, long style=BU_AUTODRAW) -&gt; ContextHelpButton</autodoc>
20208 <docstring>Constructor, creating and showing a context help button.</docstring>
20209 <paramlist>
20210 <param name="parent" type="Window" default=""/>
20211 <param name="id" type="int" default="wxID_CONTEXT_HELP"/>
20212 <param name="pos" type="Point" default="wxDefaultPosition"/>
20213 <param name="size" type="Size" default="wxDefaultSize"/>
20214 <param name="style" type="long" default="wxBU_AUTODRAW"/>
20215 </paramlist>
20216 </constructor>
20217 </class>
20218 <class name="HelpProvider" oldname="wxHelpProvider" module="_controls">
20219 <docstring>wx.HelpProvider is an abstract class used by a program
20220 implementing context-sensitive help to show the help text for the
20221 given window.
20222
20223 The current help provider must be explicitly set by the
20224 application using wx.HelpProvider.Set().</docstring>
20225 <staticmethod name="Set" type="HelpProvider" overloaded="no">
20226 <autodoc>Set(HelpProvider helpProvider) -&gt; HelpProvider</autodoc>
20227 <docstring>Sset the current, application-wide help provider. Returns the previous
20228 one. Unlike some other classes, the help provider is not created on
20229 demand. This must be explicitly done by the application.</docstring>
20230 <paramlist>
20231 <param name="helpProvider" type="HelpProvider" default=""/>
20232 </paramlist>
20233 </staticmethod>
20234 <staticmethod name="Get" type="HelpProvider" overloaded="no">
20235 <autodoc>Get() -&gt; HelpProvider</autodoc>
20236 <docstring>Return the current application-wide help provider.</docstring>
20237 </staticmethod>
20238 <method name="GetHelp" type="String" overloaded="no">
20239 <autodoc>GetHelp(self, Window window) -&gt; String</autodoc>
20240 <docstring>Gets the help string for this window. Its interpretation is dependent
20241 on the help provider except that empty string always means that no
20242 help is associated with the window.</docstring>
20243 <paramlist>
20244 <param name="window" type="Window" default=""/>
20245 </paramlist>
20246 </method>
20247 <method name="ShowHelp" type="bool" overloaded="no">
20248 <autodoc>ShowHelp(self, Window window) -&gt; bool</autodoc>
20249 <docstring>Shows help for the given window. Uses GetHelp internally if
20250 applicable. Returns True if it was done, or False if no help was
20251 available for this window.</docstring>
20252 <paramlist>
20253 <param name="window" type="Window" default=""/>
20254 </paramlist>
20255 </method>
20256 <method name="AddHelp" type="" overloaded="no">
20257 <autodoc>AddHelp(self, Window window, String text)</autodoc>
20258 <docstring>Associates the text with the given window.</docstring>
20259 <paramlist>
20260 <param name="window" type="Window" default=""/>
20261 <param name="text" type="String" default=""/>
20262 </paramlist>
20263 </method>
20264 <method name="AddHelpById" type="" overloaded="no">
20265 <autodoc>AddHelpById(self, int id, String text)</autodoc>
20266 <docstring>This version associates the given text with all windows with this
20267 id. May be used to set the same help string for all Cancel buttons in
20268 the application, for example.</docstring>
20269 <paramlist>
20270 <param name="id" type="int" default=""/>
20271 <param name="text" type="String" default=""/>
20272 </paramlist>
20273 </method>
20274 <method name="RemoveHelp" type="" overloaded="no">
20275 <autodoc>RemoveHelp(self, Window window)</autodoc>
20276 <docstring>Removes the association between the window pointer and the help
20277 text. This is called by the wx.Window destructor. Without this, the
20278 table of help strings will fill up and when window pointers are
20279 reused, the wrong help string will be found.</docstring>
20280 <paramlist>
20281 <param name="window" type="Window" default=""/>
20282 </paramlist>
20283 </method>
20284 <method name="Destroy" type="" overloaded="no">
20285 <autodoc>Destroy(self)</autodoc>
20286 </method>
20287 </class>
20288 <class name="SimpleHelpProvider" oldname="wxSimpleHelpProvider" module="_controls">
20289 <docstring>wx.SimpleHelpProvider is an implementation of `wx.HelpProvider` which
20290 supports only plain text help strings, and shows the string associated
20291 with the control (if any) in a tooltip.</docstring>
20292 <baseclass name="HelpProvider"/>
20293 <constructor name="SimpleHelpProvider" overloaded="no">
20294 <autodoc>__init__(self) -&gt; SimpleHelpProvider</autodoc>
20295 <docstring>wx.SimpleHelpProvider is an implementation of `wx.HelpProvider` which
20296 supports only plain text help strings, and shows the string associated
20297 with the control (if any) in a tooltip.</docstring>
20298 </constructor>
20299 </class>
20300 <pythoncode>
20301 #---------------------------------------------------------------------------
20302 </pythoncode>
20303 <class name="DragImage" oldname="wxGenericDragImage" module="_controls">
20304 <baseclass name="Object"/>
20305 <constructor name="wxGenericDragImage" overloaded="no">
20306 <autodoc>__init__(self, Bitmap image, Cursor cursor=wxNullCursor) -&gt; DragImage</autodoc>
20307 <paramlist>
20308 <param name="image" type="Bitmap" default=""/>
20309 <param name="cursor" type="Cursor" default="wxNullCursor"/>
20310 </paramlist>
20311 </constructor>
20312 <constructor name="DragIcon" overloaded="no">
20313 <autodoc>DragIcon(Icon image, Cursor cursor=wxNullCursor) -&gt; DragImage</autodoc>
20314 <paramlist>
20315 <param name="image" type="Icon" default=""/>
20316 <param name="cursor" type="Cursor" default="wxNullCursor"/>
20317 </paramlist>
20318 </constructor>
20319 <constructor name="DragString" overloaded="no">
20320 <autodoc>DragString(String str, Cursor cursor=wxNullCursor) -&gt; DragImage</autodoc>
20321 <paramlist>
20322 <param name="str" type="String" default=""/>
20323 <param name="cursor" type="Cursor" default="wxNullCursor"/>
20324 </paramlist>
20325 </constructor>
20326 <constructor name="DragTreeItem" overloaded="no">
20327 <autodoc>DragTreeItem(TreeCtrl treeCtrl, TreeItemId id) -&gt; DragImage</autodoc>
20328 <paramlist>
20329 <param name="treeCtrl" type="TreeCtrl" default=""/>
20330 <param name="id" type="TreeItemId" default=""/>
20331 </paramlist>
20332 </constructor>
20333 <constructor name="DragListItem" overloaded="no">
20334 <autodoc>DragListItem(ListCtrl listCtrl, long id) -&gt; DragImage</autodoc>
20335 <paramlist>
20336 <param name="listCtrl" type="ListCtrl" default=""/>
20337 <param name="id" type="long" default=""/>
20338 </paramlist>
20339 </constructor>
20340 <destructor name="~wxGenericDragImage" overloaded="no">
20341 <autodoc>__del__(self)</autodoc>
20342 </destructor>
20343 <method name="SetBackingBitmap" type="" overloaded="no">
20344 <autodoc>SetBackingBitmap(self, Bitmap bitmap)</autodoc>
20345 <paramlist>
20346 <param name="bitmap" type="Bitmap" default=""/>
20347 </paramlist>
20348 </method>
20349 <method name="BeginDrag" type="bool" overloaded="no">
20350 <autodoc>BeginDrag(self, Point hotspot, Window window, bool fullScreen=False,
20351 Rect rect=None) -&gt; bool</autodoc>
20352 <paramlist>
20353 <param name="hotspot" type="Point" default=""/>
20354 <param name="window" type="Window" default=""/>
20355 <param name="fullScreen" type="bool" default="False"/>
20356 <param name="rect" type="Rect" default="NULL"/>
20357 </paramlist>
20358 </method>
20359 <method name="BeginDragBounded" type="bool" overloaded="no">
20360 <autodoc>BeginDragBounded(self, Point hotspot, Window window, Window boundingWindow) -&gt; bool</autodoc>
20361 <paramlist>
20362 <param name="hotspot" type="Point" default=""/>
20363 <param name="window" type="Window" default=""/>
20364 <param name="boundingWindow" type="Window" default=""/>
20365 </paramlist>
20366 </method>
20367 <method name="EndDrag" type="bool" overloaded="no">
20368 <autodoc>EndDrag(self) -&gt; bool</autodoc>
20369 </method>
20370 <method name="Move" type="bool" overloaded="no">
20371 <autodoc>Move(self, Point pt) -&gt; bool</autodoc>
20372 <paramlist>
20373 <param name="pt" type="Point" default=""/>
20374 </paramlist>
20375 </method>
20376 <method name="Show" type="bool" overloaded="no">
20377 <autodoc>Show(self) -&gt; bool</autodoc>
20378 </method>
20379 <method name="Hide" type="bool" overloaded="no">
20380 <autodoc>Hide(self) -&gt; bool</autodoc>
20381 </method>
20382 <method name="GetImageRect" type="Rect" overloaded="no">
20383 <autodoc>GetImageRect(self, Point pos) -&gt; Rect</autodoc>
20384 <paramlist>
20385 <param name="pos" type="Point" default=""/>
20386 </paramlist>
20387 </method>
20388 <method name="DoDrawImage" type="bool" overloaded="no">
20389 <autodoc>DoDrawImage(self, DC dc, Point pos) -&gt; bool</autodoc>
20390 <paramlist>
20391 <param name="dc" type="DC" default=""/>
20392 <param name="pos" type="Point" default=""/>
20393 </paramlist>
20394 </method>
20395 <method name="UpdateBackingFromWindow" type="bool" overloaded="no">
20396 <autodoc>UpdateBackingFromWindow(self, DC windowDC, MemoryDC destDC, Rect sourceRect, Rect destRect) -&gt; bool</autodoc>
20397 <paramlist>
20398 <param name="windowDC" type="DC" default=""/>
20399 <param name="destDC" type="MemoryDC" default=""/>
20400 <param name="sourceRect" type="Rect" default=""/>
20401 <param name="destRect" type="Rect" default=""/>
20402 </paramlist>
20403 </method>
20404 <method name="RedrawImage" type="bool" overloaded="no">
20405 <autodoc>RedrawImage(self, Point oldPos, Point newPos, bool eraseOld, bool drawNew) -&gt; bool</autodoc>
20406 <paramlist>
20407 <param name="oldPos" type="Point" default=""/>
20408 <param name="newPos" type="Point" default=""/>
20409 <param name="eraseOld" type="bool" default=""/>
20410 <param name="drawNew" type="bool" default=""/>
20411 </paramlist>
20412 </method>
20413 </class>
20414 </module>
20415 <module name="_misc">
20416 <import name="_core"/>
20417 <pythoncode> wx = _core </pythoncode>
20418 <pythoncode>
20419 #---------------------------------------------------------------------------
20420 </pythoncode>
20421 <class name="SystemSettings" oldname="wxSystemSettings" module="_misc">
20422 <staticmethod name="GetColour" type="Colour" overloaded="no">
20423 <autodoc>GetColour(int index) -&gt; Colour</autodoc>
20424 <paramlist>
20425 <param name="index" type="wxSystemColour" default=""/>
20426 </paramlist>
20427 </staticmethod>
20428 <staticmethod name="GetFont" type="Font" overloaded="no">
20429 <autodoc>GetFont(int index) -&gt; Font</autodoc>
20430 <paramlist>
20431 <param name="index" type="wxSystemFont" default=""/>
20432 </paramlist>
20433 </staticmethod>
20434 <staticmethod name="GetMetric" type="int" overloaded="no">
20435 <autodoc>GetMetric(int index) -&gt; int</autodoc>
20436 <paramlist>
20437 <param name="index" type="wxSystemMetric" default=""/>
20438 </paramlist>
20439 </staticmethod>
20440 <staticmethod name="HasFeature" type="bool" overloaded="no">
20441 <autodoc>HasFeature(int index) -&gt; bool</autodoc>
20442 <paramlist>
20443 <param name="index" type="wxSystemFeature" default=""/>
20444 </paramlist>
20445 </staticmethod>
20446 <staticmethod name="GetScreenType" type="wxSystemScreenType" overloaded="no">
20447 <autodoc>GetScreenType() -&gt; int</autodoc>
20448 </staticmethod>
20449 <staticmethod name="SetScreenType" type="" overloaded="no">
20450 <autodoc>SetScreenType(int screen)</autodoc>
20451 <paramlist>
20452 <param name="screen" type="wxSystemScreenType" default=""/>
20453 </paramlist>
20454 </staticmethod>
20455 </class>
20456 <class name="SystemOptions" oldname="wxSystemOptions" module="_misc">
20457 <baseclass name="Object"/>
20458 <constructor name="SystemOptions" overloaded="no">
20459 <autodoc>__init__(self) -&gt; SystemOptions</autodoc>
20460 </constructor>
20461 <staticmethod name="SetOption" type="" overloaded="no">
20462 <autodoc>SetOption(String name, String value)</autodoc>
20463 <paramlist>
20464 <param name="name" type="String" default=""/>
20465 <param name="value" type="String" default=""/>
20466 </paramlist>
20467 </staticmethod>
20468 <staticmethod name="SetOptionInt" type="" overloaded="no">
20469 <autodoc>SetOptionInt(String name, int value)</autodoc>
20470 <paramlist>
20471 <param name="name" type="String" default=""/>
20472 <param name="value" type="int" default=""/>
20473 </paramlist>
20474 </staticmethod>
20475 <staticmethod name="GetOption" type="String" overloaded="no">
20476 <autodoc>GetOption(String name) -&gt; String</autodoc>
20477 <paramlist>
20478 <param name="name" type="String" default=""/>
20479 </paramlist>
20480 </staticmethod>
20481 <staticmethod name="GetOptionInt" type="int" overloaded="no">
20482 <autodoc>GetOptionInt(String name) -&gt; int</autodoc>
20483 <paramlist>
20484 <param name="name" type="String" default=""/>
20485 </paramlist>
20486 </staticmethod>
20487 <staticmethod name="HasOption" type="bool" overloaded="no">
20488 <autodoc>HasOption(String name) -&gt; bool</autodoc>
20489 <paramlist>
20490 <param name="name" type="String" default=""/>
20491 </paramlist>
20492 </staticmethod>
20493 </class>
20494 <pythoncode>
20495 #---------------------------------------------------------------------------
20496 </pythoncode>
20497 <method name="NewId" oldname="wxNewId" type="long" overloaded="no">
20498 <autodoc>NewId() -&gt; long</autodoc>
20499 </method>
20500 <method name="RegisterId" oldname="wxRegisterId" type="" overloaded="no">
20501 <autodoc>RegisterId(long id)</autodoc>
20502 <paramlist>
20503 <param name="id" type="long" default=""/>
20504 </paramlist>
20505 </method>
20506 <method name="GetCurrentId" oldname="wxGetCurrentId" type="long" overloaded="no">
20507 <autodoc>GetCurrentId() -&gt; long</autodoc>
20508 </method>
20509 <method name="Bell" oldname="wxBell" type="" overloaded="no">
20510 <autodoc>Bell()</autodoc>
20511 </method>
20512 <method name="EndBusyCursor" oldname="wxEndBusyCursor" type="" overloaded="no">
20513 <autodoc>EndBusyCursor()</autodoc>
20514 </method>
20515 <method name="GetElapsedTime" oldname="wxGetElapsedTime" type="long" overloaded="no">
20516 <autodoc>GetElapsedTime(bool resetTimer=True) -&gt; long</autodoc>
20517 <paramlist>
20518 <param name="resetTimer" type="bool" default="True"/>
20519 </paramlist>
20520 </method>
20521 <method name="GetMousePosition" oldname="wxGetMousePosition" type="" overloaded="no">
20522 <autodoc>GetMousePosition() -&gt; (x,y)</autodoc>
20523 <paramlist>
20524 <param name="OUTPUT" type="int" default=""/>
20525 <param name="OUTPUT" type="int" default=""/>
20526 </paramlist>
20527 </method>
20528 <method name="IsBusy" oldname="wxIsBusy" type="bool" overloaded="no">
20529 <autodoc>IsBusy() -&gt; bool</autodoc>
20530 </method>
20531 <method name="Now" oldname="wxNow" type="String" overloaded="no">
20532 <autodoc>Now() -&gt; String</autodoc>
20533 </method>
20534 <method name="Shell" oldname="wxShell" type="bool" overloaded="no">
20535 <autodoc>Shell(String command=EmptyString) -&gt; bool</autodoc>
20536 <paramlist>
20537 <param name="command" type="String" default="wxPyEmptyString"/>
20538 </paramlist>
20539 </method>
20540 <method name="StartTimer" oldname="wxStartTimer" type="" overloaded="no">
20541 <autodoc>StartTimer()</autodoc>
20542 </method>
20543 <method name="GetOsVersion" oldname="wxGetOsVersion" type="int" overloaded="no">
20544 <autodoc>GetOsVersion() -&gt; (platform, major, minor)</autodoc>
20545 <paramlist>
20546 <param name="OUTPUT" type="int" default=""/>
20547 <param name="OUTPUT" type="int" default=""/>
20548 </paramlist>
20549 </method>
20550 <method name="GetOsDescription" oldname="wxGetOsDescription" type="String" overloaded="no">
20551 <autodoc>GetOsDescription() -&gt; String</autodoc>
20552 </method>
20553 <method name="GetFreeMemory" oldname="wxGetFreeMemory" type="long" overloaded="no">
20554 <autodoc>GetFreeMemory() -&gt; long</autodoc>
20555 </method>
20556 <method name="Shutdown" oldname="wxShutdown" type="bool" overloaded="no">
20557 <autodoc>Shutdown(int wFlags) -&gt; bool</autodoc>
20558 <paramlist>
20559 <param name="wFlags" type="wxShutdownFlags" default=""/>
20560 </paramlist>
20561 </method>
20562 <method name="Sleep" oldname="wxSleep" type="" overloaded="no">
20563 <autodoc>Sleep(int secs)</autodoc>
20564 <paramlist>
20565 <param name="secs" type="int" default=""/>
20566 </paramlist>
20567 </method>
20568 <method name="Usleep" oldname="wxUsleep" type="" overloaded="no">
20569 <autodoc>Usleep(unsigned long milliseconds)</autodoc>
20570 <paramlist>
20571 <param name="milliseconds" type="unsigned long" default=""/>
20572 </paramlist>
20573 </method>
20574 <method name="EnableTopLevelWindows" oldname="wxEnableTopLevelWindows" type="" overloaded="no">
20575 <autodoc>EnableTopLevelWindows(bool enable)</autodoc>
20576 <paramlist>
20577 <param name="enable" type="bool" default=""/>
20578 </paramlist>
20579 </method>
20580 <method name="StripMenuCodes" oldname="wxStripMenuCodes" type="String" overloaded="no">
20581 <autodoc>StripMenuCodes(String in) -&gt; String</autodoc>
20582 <paramlist>
20583 <param name="in" type="String" default=""/>
20584 </paramlist>
20585 </method>
20586 <method name="GetEmailAddress" oldname="wxGetEmailAddress" type="String" overloaded="no">
20587 <autodoc>GetEmailAddress() -&gt; String</autodoc>
20588 </method>
20589 <method name="GetHostName" oldname="wxGetHostName" type="String" overloaded="no">
20590 <autodoc>GetHostName() -&gt; String</autodoc>
20591 </method>
20592 <method name="GetFullHostName" oldname="wxGetFullHostName" type="String" overloaded="no">
20593 <autodoc>GetFullHostName() -&gt; String</autodoc>
20594 </method>
20595 <method name="GetUserId" oldname="wxGetUserId" type="String" overloaded="no">
20596 <autodoc>GetUserId() -&gt; String</autodoc>
20597 </method>
20598 <method name="GetUserName" oldname="wxGetUserName" type="String" overloaded="no">
20599 <autodoc>GetUserName() -&gt; String</autodoc>
20600 </method>
20601 <method name="GetHomeDir" oldname="wxGetHomeDir" type="String" overloaded="no">
20602 <autodoc>GetHomeDir() -&gt; String</autodoc>
20603 </method>
20604 <method name="GetUserHome" oldname="wxGetUserHome" type="String" overloaded="no">
20605 <autodoc>GetUserHome(String user=EmptyString) -&gt; String</autodoc>
20606 <paramlist>
20607 <param name="user" type="String" default="wxPyEmptyString"/>
20608 </paramlist>
20609 </method>
20610 <method name="GetProcessId" oldname="wxGetProcessId" type="unsigned long" overloaded="no">
20611 <autodoc>GetProcessId() -&gt; unsigned long</autodoc>
20612 </method>
20613 <method name="Trap" oldname="wxTrap" type="" overloaded="no">
20614 <autodoc>Trap()</autodoc>
20615 </method>
20616 <method name="FileSelector" oldname="wxFileSelector" type="String" overloaded="no">
20617 <autodoc>FileSelector(String message=FileSelectorPromptStr, String default_path=EmptyString,
20618 String default_filename=EmptyString,
20619 String default_extension=EmptyString,
20620 String wildcard=FileSelectorDefaultWildcardStr,
20621 int flags=0, Window parent=None, int x=-1,
20622 int y=-1) -&gt; String</autodoc>
20623 <paramlist>
20624 <param name="message" type="String" default="wxPyFileSelectorPromptStr"/>
20625 <param name="default_path" type="String" default="wxPyEmptyString"/>
20626 <param name="default_filename" type="String" default="wxPyEmptyString"/>
20627 <param name="default_extension" type="String" default="wxPyEmptyString"/>
20628 <param name="wildcard" type="String" default="wxPyFileSelectorDefaultWildcardStr"/>
20629 <param name="flags" type="int" default="0"/>
20630 <param name="parent" type="Window" default="NULL"/>
20631 <param name="x" type="int" default="-1"/>
20632 <param name="y" type="int" default="-1"/>
20633 </paramlist>
20634 </method>
20635 <method name="LoadFileSelector" oldname="wxLoadFileSelector" type="String" overloaded="no">
20636 <autodoc>LoadFileSelector(String what, String extension, String default_name=EmptyString,
20637 Window parent=None) -&gt; String</autodoc>
20638 <paramlist>
20639 <param name="what" type="String" default=""/>
20640 <param name="extension" type="String" default=""/>
20641 <param name="default_name" type="String" default="wxPyEmptyString"/>
20642 <param name="parent" type="Window" default="NULL"/>
20643 </paramlist>
20644 </method>
20645 <method name="SaveFileSelector" oldname="wxSaveFileSelector" type="String" overloaded="no">
20646 <autodoc>SaveFileSelector(String what, String extension, String default_name=EmptyString,
20647 Window parent=None) -&gt; String</autodoc>
20648 <paramlist>
20649 <param name="what" type="String" default=""/>
20650 <param name="extension" type="String" default=""/>
20651 <param name="default_name" type="String" default="wxPyEmptyString"/>
20652 <param name="parent" type="Window" default="NULL"/>
20653 </paramlist>
20654 </method>
20655 <method name="DirSelector" oldname="wxDirSelector" type="String" overloaded="no">
20656 <autodoc>DirSelector(String message=DirSelectorPromptStr, String defaultPath=EmptyString,
20657 long style=DD_DEFAULT_STYLE,
20658 Point pos=DefaultPosition, Window parent=None) -&gt; String</autodoc>
20659 <paramlist>
20660 <param name="message" type="String" default="wxPyDirSelectorPromptStr"/>
20661 <param name="defaultPath" type="String" default="wxPyEmptyString"/>
20662 <param name="style" type="long" default="wxDD_DEFAULT_STYLE"/>
20663 <param name="pos" type="Point" default="wxDefaultPosition"/>
20664 <param name="parent" type="Window" default="NULL"/>
20665 </paramlist>
20666 </method>
20667 <method name="GetTextFromUser" oldname="wxGetTextFromUser" type="String" overloaded="no">
20668 <autodoc>GetTextFromUser(String message, String caption=EmptyString, String default_value=EmptyString,
20669 Window parent=None,
20670 int x=-1, int y=-1, bool centre=True) -&gt; String</autodoc>
20671 <paramlist>
20672 <param name="message" type="String" default=""/>
20673 <param name="caption" type="String" default="wxPyEmptyString"/>
20674 <param name="default_value" type="String" default="wxPyEmptyString"/>
20675 <param name="parent" type="Window" default="NULL"/>
20676 <param name="x" type="int" default="-1"/>
20677 <param name="y" type="int" default="-1"/>
20678 <param name="centre" type="bool" default="True"/>
20679 </paramlist>
20680 </method>
20681 <method name="GetPasswordFromUser" oldname="wxGetPasswordFromUser" type="String" overloaded="no">
20682 <autodoc>GetPasswordFromUser(String message, String caption=EmptyString, String default_value=EmptyString,
20683 Window parent=None) -&gt; String</autodoc>
20684 <paramlist>
20685 <param name="message" type="String" default=""/>
20686 <param name="caption" type="String" default="wxPyEmptyString"/>
20687 <param name="default_value" type="String" default="wxPyEmptyString"/>
20688 <param name="parent" type="Window" default="NULL"/>
20689 </paramlist>
20690 </method>
20691 <method name="GetSingleChoice" oldname="wxGetSingleChoice" type="String" overloaded="no">
20692 <autodoc>GetSingleChoice(String message, String caption, int choices, String choices_array,
20693 Window parent=None, int x=-1,
20694 int y=-1, bool centre=True, int width=150, int height=200) -&gt; String</autodoc>
20695 <paramlist>
20696 <param name="message" type="String" default=""/>
20697 <param name="caption" type="String" default=""/>
20698 <param name="choices" type="int" default=""/>
20699 <param name="choices_array" type="String" default=""/>
20700 <param name="parent" type="Window" default="NULL"/>
20701 <param name="x" type="int" default="-1"/>
20702 <param name="y" type="int" default="-1"/>
20703 <param name="centre" type="bool" default="True"/>
20704 <param name="width" type="int" default="150"/>
20705 <param name="height" type="int" default="200"/>
20706 </paramlist>
20707 </method>
20708 <method name="GetSingleChoiceIndex" oldname="wxGetSingleChoiceIndex" type="int" overloaded="no">
20709 <autodoc>GetSingleChoiceIndex(String message, String caption, int choices, String choices_array,
20710 Window parent=None, int x=-1,
20711 int y=-1, bool centre=True, int width=150, int height=200) -&gt; int</autodoc>
20712 <paramlist>
20713 <param name="message" type="String" default=""/>
20714 <param name="caption" type="String" default=""/>
20715 <param name="choices" type="int" default=""/>
20716 <param name="choices_array" type="String" default=""/>
20717 <param name="parent" type="Window" default="NULL"/>
20718 <param name="x" type="int" default="-1"/>
20719 <param name="y" type="int" default="-1"/>
20720 <param name="centre" type="bool" default="True"/>
20721 <param name="width" type="int" default="150"/>
20722 <param name="height" type="int" default="200"/>
20723 </paramlist>
20724 </method>
20725 <method name="MessageBox" oldname="wxMessageBox" type="int" overloaded="no">
20726 <autodoc>MessageBox(String message, String caption=EmptyString, int style=wxOK|wxCENTRE,
20727 Window parent=None, int x=-1,
20728 int y=-1) -&gt; int</autodoc>
20729 <paramlist>
20730 <param name="message" type="String" default=""/>
20731 <param name="caption" type="String" default="wxPyEmptyString"/>
20732 <param name="style" type="int" default="wxOK|wxCENTRE"/>
20733 <param name="parent" type="Window" default="NULL"/>
20734 <param name="x" type="int" default="-1"/>
20735 <param name="y" type="int" default="-1"/>
20736 </paramlist>
20737 </method>
20738 <method name="GetNumberFromUser" oldname="wxGetNumberFromUser" type="long" overloaded="no">
20739 <autodoc>GetNumberFromUser(String message, String prompt, String caption, long value,
20740 long min=0, long max=100, Window parent=None,
20741 Point pos=DefaultPosition) -&gt; long</autodoc>
20742 <paramlist>
20743 <param name="message" type="String" default=""/>
20744 <param name="prompt" type="String" default=""/>
20745 <param name="caption" type="String" default=""/>
20746 <param name="value" type="long" default=""/>
20747 <param name="min" type="long" default="0"/>
20748 <param name="max" type="long" default="100"/>
20749 <param name="parent" type="Window" default="NULL"/>
20750 <param name="pos" type="Point" default="wxDefaultPosition"/>
20751 </paramlist>
20752 </method>
20753 <method name="ColourDisplay" oldname="wxColourDisplay" type="bool" overloaded="no">
20754 <autodoc>ColourDisplay() -&gt; bool</autodoc>
20755 </method>
20756 <method name="DisplayDepth" oldname="wxDisplayDepth" type="int" overloaded="no">
20757 <autodoc>DisplayDepth() -&gt; int</autodoc>
20758 </method>
20759 <method name="GetDisplayDepth" oldname="wxGetDisplayDepth" type="int" overloaded="no">
20760 <autodoc>GetDisplayDepth() -&gt; int</autodoc>
20761 </method>
20762 <method name="DisplaySize" oldname="wxDisplaySize" type="" overloaded="no">
20763 <autodoc>DisplaySize() -&gt; (width, height)</autodoc>
20764 <paramlist>
20765 <param name="OUTPUT" type="int" default=""/>
20766 <param name="OUTPUT" type="int" default=""/>
20767 </paramlist>
20768 </method>
20769 <method name="GetDisplaySize" oldname="wxGetDisplaySize" type="Size" overloaded="no">
20770 <autodoc>GetDisplaySize() -&gt; Size</autodoc>
20771 </method>
20772 <method name="DisplaySizeMM" oldname="wxDisplaySizeMM" type="" overloaded="no">
20773 <autodoc>DisplaySizeMM() -&gt; (width, height)</autodoc>
20774 <paramlist>
20775 <param name="OUTPUT" type="int" default=""/>
20776 <param name="OUTPUT" type="int" default=""/>
20777 </paramlist>
20778 </method>
20779 <method name="GetDisplaySizeMM" oldname="wxGetDisplaySizeMM" type="Size" overloaded="no">
20780 <autodoc>GetDisplaySizeMM() -&gt; Size</autodoc>
20781 </method>
20782 <method name="ClientDisplayRect" oldname="wxClientDisplayRect" type="" overloaded="no">
20783 <autodoc>ClientDisplayRect() -&gt; (x, y, width, height)</autodoc>
20784 <paramlist>
20785 <param name="OUTPUT" type="int" default=""/>
20786 <param name="OUTPUT" type="int" default=""/>
20787 <param name="OUTPUT" type="int" default=""/>
20788 <param name="OUTPUT" type="int" default=""/>
20789 </paramlist>
20790 </method>
20791 <method name="GetClientDisplayRect" oldname="wxGetClientDisplayRect" type="Rect" overloaded="no">
20792 <autodoc>GetClientDisplayRect() -&gt; Rect</autodoc>
20793 </method>
20794 <method name="SetCursor" oldname="wxSetCursor" type="" overloaded="no">
20795 <autodoc>SetCursor(Cursor cursor)</autodoc>
20796 <paramlist>
20797 <param name="cursor" type="Cursor" default=""/>
20798 </paramlist>
20799 </method>
20800 <method name="BeginBusyCursor" oldname="wxBeginBusyCursor" type="" overloaded="no">
20801 <autodoc>BeginBusyCursor(Cursor cursor=wxHOURGLASS_CURSOR)</autodoc>
20802 <paramlist>
20803 <param name="cursor" type="Cursor" default="wxHOURGLASS_CURSOR"/>
20804 </paramlist>
20805 </method>
20806 <method name="GetActiveWindow" oldname="wxGetActiveWindow" type="Window" overloaded="no">
20807 <autodoc>GetActiveWindow() -&gt; Window</autodoc>
20808 </method>
20809 <method name="GenericFindWindowAtPoint" oldname="wxGenericFindWindowAtPoint" type="Window" overloaded="no">
20810 <autodoc>GenericFindWindowAtPoint(Point pt) -&gt; Window</autodoc>
20811 <paramlist>
20812 <param name="pt" type="Point" default=""/>
20813 </paramlist>
20814 </method>
20815 <method name="FindWindowAtPoint" oldname="wxFindWindowAtPoint" type="Window" overloaded="no">
20816 <autodoc>FindWindowAtPoint(Point pt) -&gt; Window</autodoc>
20817 <paramlist>
20818 <param name="pt" type="Point" default=""/>
20819 </paramlist>
20820 </method>
20821 <method name="GetTopLevelParent" oldname="wxGetTopLevelParent" type="Window" overloaded="no">
20822 <autodoc>GetTopLevelParent(Window win) -&gt; Window</autodoc>
20823 <paramlist>
20824 <param name="win" type="Window" default=""/>
20825 </paramlist>
20826 </method>
20827 <method name="GetKeyState" oldname="wxGetKeyState" type="bool" overloaded="no">
20828 <autodoc>GetKeyState(int key) -&gt; bool</autodoc>
20829 <docstring>Get the state of a key (true if pressed or toggled on, false if not.)
20830 This is generally most useful getting the state of the modifier or
20831 toggle keys. On some platforms those may be the only keys that work.
20832 </docstring>
20833 <paramlist>
20834 <param name="key" type="wxKeyCode" default=""/>
20835 </paramlist>
20836 </method>
20837 <method name="WakeUpMainThread" oldname="wxWakeUpMainThread" type="" overloaded="no">
20838 <autodoc>WakeUpMainThread()</autodoc>
20839 </method>
20840 <method name="MutexGuiEnter" oldname="wxMutexGuiEnter" type="" overloaded="no">
20841 <autodoc>MutexGuiEnter()</autodoc>
20842 </method>
20843 <method name="MutexGuiLeave" oldname="wxMutexGuiLeave" type="" overloaded="no">
20844 <autodoc>MutexGuiLeave()</autodoc>
20845 </method>
20846 <class name="MutexGuiLocker" oldname="wxMutexGuiLocker" module="_misc">
20847 <constructor name="MutexGuiLocker" overloaded="no">
20848 <autodoc>__init__(self) -&gt; MutexGuiLocker</autodoc>
20849 </constructor>
20850 <destructor name="~wxMutexGuiLocker" overloaded="no">
20851 <autodoc>__del__(self)</autodoc>
20852 </destructor>
20853 </class>
20854 <method name="Thread_IsMain" oldname="wxThread_IsMain" type="bool" overloaded="no">
20855 <autodoc>Thread_IsMain() -&gt; bool</autodoc>
20856 </method>
20857 <pythoncode>
20858 #---------------------------------------------------------------------------
20859 </pythoncode>
20860 <class name="ToolTip" oldname="wxToolTip" module="_misc">
20861 <baseclass name="Object"/>
20862 <constructor name="ToolTip" overloaded="no">
20863 <autodoc>__init__(self, String tip) -&gt; ToolTip</autodoc>
20864 <paramlist>
20865 <param name="tip" type="String" default=""/>
20866 </paramlist>
20867 </constructor>
20868 <method name="SetTip" type="" overloaded="no">
20869 <autodoc>SetTip(self, String tip)</autodoc>
20870 <paramlist>
20871 <param name="tip" type="String" default=""/>
20872 </paramlist>
20873 </method>
20874 <method name="GetTip" type="String" overloaded="no">
20875 <autodoc>GetTip(self) -&gt; String</autodoc>
20876 </method>
20877 <method name="GetWindow" type="Window" overloaded="no">
20878 <autodoc>GetWindow(self) -&gt; Window</autodoc>
20879 </method>
20880 <staticmethod name="Enable" type="" overloaded="no">
20881 <autodoc>Enable(bool flag)</autodoc>
20882 <paramlist>
20883 <param name="flag" type="bool" default=""/>
20884 </paramlist>
20885 </staticmethod>
20886 <staticmethod name="SetDelay" type="" overloaded="no">
20887 <autodoc>SetDelay(long milliseconds)</autodoc>
20888 <paramlist>
20889 <param name="milliseconds" type="long" default=""/>
20890 </paramlist>
20891 </staticmethod>
20892 </class>
20893 <class name="Caret" oldname="wxCaret" module="_misc">
20894 <constructor name="Caret" overloaded="no">
20895 <autodoc>__init__(self, Window window, Size size) -&gt; Caret</autodoc>
20896 <paramlist>
20897 <param name="window" type="Window" default=""/>
20898 <param name="size" type="Size" default=""/>
20899 </paramlist>
20900 </constructor>
20901 <destructor name="~wxCaret" overloaded="no">
20902 <autodoc>__del__(self)</autodoc>
20903 </destructor>
20904 <method name="IsOk" type="bool" overloaded="no">
20905 <autodoc>IsOk(self) -&gt; bool</autodoc>
20906 </method>
20907 <method name="IsVisible" type="bool" overloaded="no">
20908 <autodoc>IsVisible(self) -&gt; bool</autodoc>
20909 </method>
20910 <method name="GetPosition" type="Point" overloaded="no">
20911 <autodoc>GetPosition(self) -&gt; Point</autodoc>
20912 </method>
20913 <method name="GetPositionTuple" type="" overloaded="no">
20914 <autodoc>GetPositionTuple() -&gt; (x,y)</autodoc>
20915 <paramlist>
20916 <param name="OUTPUT" type="int" default=""/>
20917 <param name="OUTPUT" type="int" default=""/>
20918 </paramlist>
20919 </method>
20920 <method name="GetSize" type="Size" overloaded="no">
20921 <autodoc>GetSize(self) -&gt; Size</autodoc>
20922 </method>
20923 <method name="GetSizeTuple" type="" overloaded="no">
20924 <autodoc>GetSizeTuple() -&gt; (width, height)</autodoc>
20925 <paramlist>
20926 <param name="OUTPUT" type="int" default=""/>
20927 <param name="OUTPUT" type="int" default=""/>
20928 </paramlist>
20929 </method>
20930 <method name="GetWindow" type="Window" overloaded="no">
20931 <autodoc>GetWindow(self) -&gt; Window</autodoc>
20932 </method>
20933 <method name="MoveXY" type="" overloaded="no">
20934 <autodoc>MoveXY(self, int x, int y)</autodoc>
20935 <paramlist>
20936 <param name="x" type="int" default=""/>
20937 <param name="y" type="int" default=""/>
20938 </paramlist>
20939 </method>
20940 <method name="Move" type="" overloaded="no">
20941 <autodoc>Move(self, Point pt)</autodoc>
20942 <paramlist>
20943 <param name="pt" type="Point" default=""/>
20944 </paramlist>
20945 </method>
20946 <method name="SetSizeWH" type="" overloaded="no">
20947 <autodoc>SetSizeWH(self, int width, int height)</autodoc>
20948 <paramlist>
20949 <param name="width" type="int" default=""/>
20950 <param name="height" type="int" default=""/>
20951 </paramlist>
20952 </method>
20953 <method name="SetSize" type="" overloaded="no">
20954 <autodoc>SetSize(self, Size size)</autodoc>
20955 <paramlist>
20956 <param name="size" type="Size" default=""/>
20957 </paramlist>
20958 </method>
20959 <method name="Show" type="" overloaded="no">
20960 <autodoc>Show(self, int show=True)</autodoc>
20961 <paramlist>
20962 <param name="show" type="int" default="True"/>
20963 </paramlist>
20964 </method>
20965 <method name="Hide" type="" overloaded="no">
20966 <autodoc>Hide(self)</autodoc>
20967 </method>
20968 </class>
20969 <method name="Caret_GetBlinkTime" oldname="wxCaret_GetBlinkTime" type="int" overloaded="no">
20970 <autodoc>Caret_GetBlinkTime() -&gt; int</autodoc>
20971 </method>
20972 <method name="Caret_SetBlinkTime" oldname="wxCaret_SetBlinkTime" type="" overloaded="no">
20973 <autodoc>Caret_SetBlinkTime(int milliseconds)</autodoc>
20974 <paramlist>
20975 <param name="milliseconds" type="int" default=""/>
20976 </paramlist>
20977 </method>
20978 <class name="BusyCursor" oldname="wxBusyCursor" module="_misc">
20979 <constructor name="BusyCursor" overloaded="no">
20980 <autodoc>__init__(self, Cursor cursor=wxHOURGLASS_CURSOR) -&gt; BusyCursor</autodoc>
20981 <paramlist>
20982 <param name="cursor" type="Cursor" default="wxHOURGLASS_CURSOR"/>
20983 </paramlist>
20984 </constructor>
20985 <destructor name="~wxBusyCursor" overloaded="no">
20986 <autodoc>__del__(self)</autodoc>
20987 </destructor>
20988 </class>
20989 <class name="WindowDisabler" oldname="wxWindowDisabler" module="_misc">
20990 <constructor name="WindowDisabler" overloaded="no">
20991 <autodoc>__init__(self, Window winToSkip=None) -&gt; WindowDisabler</autodoc>
20992 <paramlist>
20993 <param name="winToSkip" type="Window" default="NULL"/>
20994 </paramlist>
20995 </constructor>
20996 <destructor name="~wxWindowDisabler" overloaded="no">
20997 <autodoc>__del__(self)</autodoc>
20998 </destructor>
20999 </class>
21000 <class name="BusyInfo" oldname="wxBusyInfo" module="_misc">
21001 <baseclass name="Object"/>
21002 <constructor name="BusyInfo" overloaded="no">
21003 <autodoc>__init__(self, String message) -&gt; BusyInfo</autodoc>
21004 <paramlist>
21005 <param name="message" type="String" default=""/>
21006 </paramlist>
21007 </constructor>
21008 <destructor name="~wxBusyInfo" overloaded="no">
21009 <autodoc>__del__(self)</autodoc>
21010 </destructor>
21011 </class>
21012 <class name="StopWatch" oldname="wxStopWatch" module="_misc">
21013 <constructor name="StopWatch" overloaded="no">
21014 <autodoc>__init__(self) -&gt; StopWatch</autodoc>
21015 </constructor>
21016 <method name="Start" type="" overloaded="no">
21017 <autodoc>Start(self, long t0=0)</autodoc>
21018 <paramlist>
21019 <param name="t0" type="long" default="0"/>
21020 </paramlist>
21021 </method>
21022 <method name="Pause" type="" overloaded="no">
21023 <autodoc>Pause(self)</autodoc>
21024 </method>
21025 <method name="Resume" type="" overloaded="no">
21026 <autodoc>Resume(self)</autodoc>
21027 </method>
21028 <method name="Time" type="long" overloaded="no">
21029 <autodoc>Time(self) -&gt; long</autodoc>
21030 </method>
21031 </class>
21032 <class name="FileHistory" oldname="wxFileHistory" module="_misc">
21033 <baseclass name="Object"/>
21034 <constructor name="FileHistory" overloaded="no">
21035 <autodoc>__init__(self, int maxFiles=9) -&gt; FileHistory</autodoc>
21036 <paramlist>
21037 <param name="maxFiles" type="int" default="9"/>
21038 </paramlist>
21039 </constructor>
21040 <destructor name="~wxFileHistory" overloaded="no">
21041 <autodoc>__del__(self)</autodoc>
21042 </destructor>
21043 <method name="AddFileToHistory" type="" overloaded="no">
21044 <autodoc>AddFileToHistory(self, String file)</autodoc>
21045 <paramlist>
21046 <param name="file" type="String" default=""/>
21047 </paramlist>
21048 </method>
21049 <method name="RemoveFileFromHistory" type="" overloaded="no">
21050 <autodoc>RemoveFileFromHistory(self, int i)</autodoc>
21051 <paramlist>
21052 <param name="i" type="int" default=""/>
21053 </paramlist>
21054 </method>
21055 <method name="GetMaxFiles" type="int" overloaded="no">
21056 <autodoc>GetMaxFiles(self) -&gt; int</autodoc>
21057 </method>
21058 <method name="UseMenu" type="" overloaded="no">
21059 <autodoc>UseMenu(self, Menu menu)</autodoc>
21060 <paramlist>
21061 <param name="menu" type="Menu" default=""/>
21062 </paramlist>
21063 </method>
21064 <method name="RemoveMenu" type="" overloaded="no">
21065 <autodoc>RemoveMenu(self, Menu menu)</autodoc>
21066 <paramlist>
21067 <param name="menu" type="Menu" default=""/>
21068 </paramlist>
21069 </method>
21070 <method name="Load" type="" overloaded="no">
21071 <autodoc>Load(self, ConfigBase config)</autodoc>
21072 <paramlist>
21073 <param name="config" type="wxConfigBase" default=""/>
21074 </paramlist>
21075 </method>
21076 <method name="Save" type="" overloaded="no">
21077 <autodoc>Save(self, ConfigBase config)</autodoc>
21078 <paramlist>
21079 <param name="config" type="wxConfigBase" default=""/>
21080 </paramlist>
21081 </method>
21082 <method name="AddFilesToMenu" type="" overloaded="no">
21083 <autodoc>AddFilesToMenu(self)</autodoc>
21084 </method>
21085 <method name="AddFilesToThisMenu" type="" overloaded="no">
21086 <autodoc>AddFilesToThisMenu(self, Menu menu)</autodoc>
21087 <paramlist>
21088 <param name="menu" type="Menu" default=""/>
21089 </paramlist>
21090 </method>
21091 <method name="GetHistoryFile" type="String" overloaded="no">
21092 <autodoc>GetHistoryFile(self, int i) -&gt; String</autodoc>
21093 <paramlist>
21094 <param name="i" type="int" default=""/>
21095 </paramlist>
21096 </method>
21097 <method name="GetCount" type="int" overloaded="no">
21098 <autodoc>GetCount(self) -&gt; int</autodoc>
21099 </method>
21100 </class>
21101 <class name="SingleInstanceChecker" oldname="wxSingleInstanceChecker" module="_misc">
21102 <constructor name="SingleInstanceChecker" overloaded="no">
21103 <autodoc>__init__(self, String name, String path=EmptyString) -&gt; SingleInstanceChecker</autodoc>
21104 <paramlist>
21105 <param name="name" type="String" default=""/>
21106 <param name="path" type="String" default="wxPyEmptyString"/>
21107 </paramlist>
21108 </constructor>
21109 <constructor name="PreSingleInstanceChecker" overloaded="no">
21110 <autodoc>PreSingleInstanceChecker() -&gt; SingleInstanceChecker</autodoc>
21111 </constructor>
21112 <destructor name="~wxSingleInstanceChecker" overloaded="no">
21113 <autodoc>__del__(self)</autodoc>
21114 </destructor>
21115 <method name="Create" type="bool" overloaded="no">
21116 <autodoc>Create(self, String name, String path=EmptyString) -&gt; bool</autodoc>
21117 <paramlist>
21118 <param name="name" type="String" default=""/>
21119 <param name="path" type="String" default="wxPyEmptyString"/>
21120 </paramlist>
21121 </method>
21122 <method name="IsAnotherRunning" type="bool" overloaded="no">
21123 <autodoc>IsAnotherRunning(self) -&gt; bool</autodoc>
21124 </method>
21125 </class>
21126 <method name="DrawWindowOnDC" oldname="wxDrawWindowOnDC" type="" overloaded="no">
21127 <autodoc>DrawWindowOnDC(Window window, DC dc, int method)</autodoc>
21128 <paramlist>
21129 <param name="window" type="Window" default=""/>
21130 <param name="dc" type="DC" default=""/>
21131 <param name="method" type="int" default=""/>
21132 </paramlist>
21133 </method>
21134 <pythoncode>
21135 #---------------------------------------------------------------------------
21136 </pythoncode>
21137 <class name="TipProvider" oldname="wxTipProvider" module="_misc">
21138 <destructor name="~wxTipProvider" overloaded="no">
21139 <autodoc>__del__(self)</autodoc>
21140 </destructor>
21141 <method name="GetTip" type="String" overloaded="no">
21142 <autodoc>GetTip(self) -&gt; String</autodoc>
21143 </method>
21144 <method name="GetCurrentTip" type="size_t" overloaded="no">
21145 <autodoc>GetCurrentTip(self) -&gt; size_t</autodoc>
21146 </method>
21147 <method name="PreprocessTip" type="String" overloaded="no">
21148 <autodoc>PreprocessTip(self, String tip) -&gt; String</autodoc>
21149 <paramlist>
21150 <param name="tip" type="String" default=""/>
21151 </paramlist>
21152 </method>
21153 </class>
21154 <class name="PyTipProvider" oldname="wxPyTipProvider" module="_misc">
21155 <baseclass name="TipProvider"/>
21156 <constructor name="PyTipProvider" overloaded="no">
21157 <autodoc>__init__(self, size_t currentTip) -&gt; PyTipProvider</autodoc>
21158 <paramlist>
21159 <param name="currentTip" type="size_t" default=""/>
21160 </paramlist>
21161 </constructor>
21162 <method name="_setCallbackInfo" type="" overloaded="no">
21163 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
21164 <paramlist>
21165 <param name="self" type="PyObject" default=""/>
21166 <param name="_class" type="PyObject" default=""/>
21167 </paramlist>
21168 </method>
21169 </class>
21170 <method name="ShowTip" oldname="wxShowTip" type="bool" overloaded="no">
21171 <autodoc>ShowTip(Window parent, TipProvider tipProvider, bool showAtStartup=True) -&gt; bool</autodoc>
21172 <paramlist>
21173 <param name="parent" type="Window" default=""/>
21174 <param name="tipProvider" type="TipProvider" default=""/>
21175 <param name="showAtStartup" type="bool" default="True"/>
21176 </paramlist>
21177 </method>
21178 <method name="CreateFileTipProvider" oldname="wxCreateFileTipProvider" type="TipProvider" overloaded="no">
21179 <autodoc>CreateFileTipProvider(String filename, size_t currentTip) -&gt; TipProvider</autodoc>
21180 <paramlist>
21181 <param name="filename" type="String" default=""/>
21182 <param name="currentTip" type="size_t" default=""/>
21183 </paramlist>
21184 </method>
21185 <pythoncode>
21186 #---------------------------------------------------------------------------
21187 </pythoncode>
21188 <class name="Timer" oldname="wxPyTimer" module="_misc">
21189 <baseclass name="EvtHandler"/>
21190 <constructor name="wxPyTimer" overloaded="no">
21191 <autodoc>__init__(self, EvtHandler owner=None, int id=-1) -&gt; Timer</autodoc>
21192 <paramlist>
21193 <param name="owner" type="EvtHandler" default="NULL"/>
21194 <param name="id" type="int" default="-1"/>
21195 </paramlist>
21196 </constructor>
21197 <destructor name="~wxPyTimer" overloaded="no">
21198 <autodoc>__del__(self)</autodoc>
21199 </destructor>
21200 <method name="_setCallbackInfo" type="" overloaded="no">
21201 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class, int incref=1)</autodoc>
21202 <paramlist>
21203 <param name="self" type="PyObject" default=""/>
21204 <param name="_class" type="PyObject" default=""/>
21205 <param name="incref" type="int" default="1"/>
21206 </paramlist>
21207 </method>
21208 <method name="SetOwner" type="" overloaded="no">
21209 <autodoc>SetOwner(self, EvtHandler owner, int id=-1)</autodoc>
21210 <paramlist>
21211 <param name="owner" type="EvtHandler" default=""/>
21212 <param name="id" type="int" default="-1"/>
21213 </paramlist>
21214 </method>
21215 <method name="GetOwner" type="EvtHandler" overloaded="no">
21216 <autodoc>GetOwner(self) -&gt; EvtHandler</autodoc>
21217 </method>
21218 <method name="Start" type="bool" overloaded="no">
21219 <autodoc>Start(self, int milliseconds=-1, bool oneShot=False) -&gt; bool</autodoc>
21220 <paramlist>
21221 <param name="milliseconds" type="int" default="-1"/>
21222 <param name="oneShot" type="bool" default="False"/>
21223 </paramlist>
21224 </method>
21225 <method name="Stop" type="" overloaded="no">
21226 <autodoc>Stop(self)</autodoc>
21227 </method>
21228 <method name="IsRunning" type="bool" overloaded="no">
21229 <autodoc>IsRunning(self) -&gt; bool</autodoc>
21230 </method>
21231 <method name="GetInterval" type="int" overloaded="no">
21232 <autodoc>GetInterval(self) -&gt; int</autodoc>
21233 </method>
21234 <method name="IsOneShot" type="bool" overloaded="no">
21235 <autodoc>IsOneShot(self) -&gt; bool</autodoc>
21236 </method>
21237 <method name="GetId" type="int" overloaded="no">
21238 <autodoc>GetId(self) -&gt; int</autodoc>
21239 </method>
21240 </class>
21241 <pythoncode>
21242 # For backwards compatibility with 2.4
21243 class PyTimer(Timer):
21244 def __init__(self, notify):
21245 Timer.__init__(self)
21246 self.notify = notify
21247
21248 def Notify(self):
21249 if self.notify:
21250 self.notify()
21251
21252
21253 EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 )
21254
21255 </pythoncode>
21256 <class name="TimerEvent" oldname="wxTimerEvent" module="_misc">
21257 <baseclass name="Event"/>
21258 <constructor name="TimerEvent" overloaded="no">
21259 <autodoc>__init__(self, int timerid=0, int interval=0) -&gt; TimerEvent</autodoc>
21260 <paramlist>
21261 <param name="timerid" type="int" default="0"/>
21262 <param name="interval" type="int" default="0"/>
21263 </paramlist>
21264 </constructor>
21265 <method name="GetInterval" type="int" overloaded="no">
21266 <autodoc>GetInterval(self) -&gt; int</autodoc>
21267 </method>
21268 </class>
21269 <class name="TimerRunner" oldname="wxTimerRunner" module="_misc">
21270 <constructor name="TimerRunner" overloaded="yes">
21271 <paramlist>
21272 <param name="timer" type="wxTimer" default=""/>
21273 </paramlist>
21274 </constructor>
21275 <constructor name="TimerRunner" overloaded="yes">
21276 <autodoc>__init__(self, wxTimer timer) -&gt; TimerRunner
21277 __init__(self, wxTimer timer, int milli, bool oneShot=False) -&gt; TimerRunner</autodoc>
21278 <paramlist>
21279 <param name="timer" type="wxTimer" default=""/>
21280 <param name="milli" type="int" default=""/>
21281 <param name="oneShot" type="bool" default="False"/>
21282 </paramlist>
21283 </constructor>
21284 <destructor name="~wxTimerRunner" overloaded="no">
21285 <autodoc>__del__(self)</autodoc>
21286 </destructor>
21287 <method name="Start" type="" overloaded="no">
21288 <autodoc>Start(self, int milli, bool oneShot=False)</autodoc>
21289 <paramlist>
21290 <param name="milli" type="int" default=""/>
21291 <param name="oneShot" type="bool" default="False"/>
21292 </paramlist>
21293 </method>
21294 </class>
21295 <pythoncode>
21296 #---------------------------------------------------------------------------
21297 </pythoncode>
21298 <class name="Log" oldname="wxLog" module="_misc">
21299 <constructor name="Log" overloaded="no">
21300 <autodoc>__init__(self) -&gt; Log</autodoc>
21301 </constructor>
21302 <staticmethod name="IsEnabled" type="bool" overloaded="no">
21303 <autodoc>IsEnabled() -&gt; bool</autodoc>
21304 </staticmethod>
21305 <staticmethod name="EnableLogging" type="bool" overloaded="no">
21306 <autodoc>EnableLogging(bool doIt=True) -&gt; bool</autodoc>
21307 <paramlist>
21308 <param name="doIt" type="bool" default="True"/>
21309 </paramlist>
21310 </staticmethod>
21311 <staticmethod name="OnLog" type="" overloaded="no">
21312 <autodoc>OnLog(wxLogLevel level, wxChar szString, time_t t)</autodoc>
21313 <paramlist>
21314 <param name="level" type="wxLogLevel" default=""/>
21315 <param name="szString" type="wxChar" default=""/>
21316 <param name="t" type="time_t" default=""/>
21317 </paramlist>
21318 </staticmethod>
21319 <method name="Flush" type="" overloaded="no">
21320 <autodoc>Flush(self)</autodoc>
21321 </method>
21322 <staticmethod name="FlushActive" type="" overloaded="no">
21323 <autodoc>FlushActive()</autodoc>
21324 </staticmethod>
21325 <staticmethod name="GetActiveTarget" type="Log" overloaded="no">
21326 <autodoc>GetActiveTarget() -&gt; Log</autodoc>
21327 </staticmethod>
21328 <staticmethod name="SetActiveTarget" type="Log" overloaded="no">
21329 <autodoc>SetActiveTarget(Log pLogger) -&gt; Log</autodoc>
21330 <paramlist>
21331 <param name="pLogger" type="Log" default=""/>
21332 </paramlist>
21333 </staticmethod>
21334 <staticmethod name="Suspend" type="" overloaded="no">
21335 <autodoc>Suspend()</autodoc>
21336 </staticmethod>
21337 <staticmethod name="Resume" type="" overloaded="no">
21338 <autodoc>Resume()</autodoc>
21339 </staticmethod>
21340 <staticmethod name="SetVerbose" type="" overloaded="no">
21341 <autodoc>SetVerbose(bool bVerbose=True)</autodoc>
21342 <paramlist>
21343 <param name="bVerbose" type="bool" default="True"/>
21344 </paramlist>
21345 </staticmethod>
21346 <staticmethod name="SetLogLevel" type="" overloaded="no">
21347 <autodoc>SetLogLevel(wxLogLevel logLevel)</autodoc>
21348 <paramlist>
21349 <param name="logLevel" type="wxLogLevel" default=""/>
21350 </paramlist>
21351 </staticmethod>
21352 <staticmethod name="DontCreateOnDemand" type="" overloaded="no">
21353 <autodoc>DontCreateOnDemand()</autodoc>
21354 </staticmethod>
21355 <staticmethod name="SetTraceMask" type="" overloaded="no">
21356 <autodoc>SetTraceMask(wxTraceMask ulMask)</autodoc>
21357 <paramlist>
21358 <param name="ulMask" type="wxTraceMask" default=""/>
21359 </paramlist>
21360 </staticmethod>
21361 <staticmethod name="AddTraceMask" type="" overloaded="no">
21362 <autodoc>AddTraceMask(String str)</autodoc>
21363 <paramlist>
21364 <param name="str" type="String" default=""/>
21365 </paramlist>
21366 </staticmethod>
21367 <staticmethod name="RemoveTraceMask" type="" overloaded="no">
21368 <autodoc>RemoveTraceMask(String str)</autodoc>
21369 <paramlist>
21370 <param name="str" type="String" default=""/>
21371 </paramlist>
21372 </staticmethod>
21373 <staticmethod name="ClearTraceMasks" type="" overloaded="no">
21374 <autodoc>ClearTraceMasks()</autodoc>
21375 </staticmethod>
21376 <staticmethod name="GetTraceMasks" type="wxArrayString" overloaded="no">
21377 <autodoc>GetTraceMasks() -&gt; wxArrayString</autodoc>
21378 </staticmethod>
21379 <staticmethod name="SetTimestamp" type="" overloaded="no">
21380 <autodoc>SetTimestamp(wxChar ts)</autodoc>
21381 <paramlist>
21382 <param name="ts" type="wxChar" default=""/>
21383 </paramlist>
21384 </staticmethod>
21385 <staticmethod name="GetVerbose" type="bool" overloaded="no">
21386 <autodoc>GetVerbose() -&gt; bool</autodoc>
21387 </staticmethod>
21388 <staticmethod name="GetTraceMask" type="wxTraceMask" overloaded="no">
21389 <autodoc>GetTraceMask() -&gt; wxTraceMask</autodoc>
21390 </staticmethod>
21391 <staticmethod name="IsAllowedTraceMask" type="bool" overloaded="no">
21392 <autodoc>IsAllowedTraceMask(wxChar mask) -&gt; bool</autodoc>
21393 <paramlist>
21394 <param name="mask" type="wxChar" default=""/>
21395 </paramlist>
21396 </staticmethod>
21397 <staticmethod name="GetLogLevel" type="wxLogLevel" overloaded="no">
21398 <autodoc>GetLogLevel() -&gt; wxLogLevel</autodoc>
21399 </staticmethod>
21400 <staticmethod name="GetTimestamp" type="wxChar" overloaded="no">
21401 <autodoc>GetTimestamp() -&gt; wxChar</autodoc>
21402 </staticmethod>
21403 <staticmethod name="TimeStamp" type="String" overloaded="no">
21404 <autodoc>TimeStamp() -&gt; String</autodoc>
21405 </staticmethod>
21406 <method name="Destroy" type="" overloaded="no">
21407 <autodoc>Destroy(self)</autodoc>
21408 </method>
21409 </class>
21410 <class name="LogStderr" oldname="wxLogStderr" module="_misc">
21411 <baseclass name="Log"/>
21412 <constructor name="LogStderr" overloaded="no">
21413 <autodoc>__init__(self) -&gt; LogStderr</autodoc>
21414 </constructor>
21415 </class>
21416 <class name="LogTextCtrl" oldname="wxLogTextCtrl" module="_misc">
21417 <baseclass name="Log"/>
21418 <constructor name="LogTextCtrl" overloaded="no">
21419 <autodoc>__init__(self, wxTextCtrl pTextCtrl) -&gt; LogTextCtrl</autodoc>
21420 <paramlist>
21421 <param name="pTextCtrl" type="TextCtrl" default=""/>
21422 </paramlist>
21423 </constructor>
21424 </class>
21425 <class name="LogGui" oldname="wxLogGui" module="_misc">
21426 <baseclass name="Log"/>
21427 <constructor name="LogGui" overloaded="no">
21428 <autodoc>__init__(self) -&gt; LogGui</autodoc>
21429 </constructor>
21430 </class>
21431 <class name="LogWindow" oldname="wxLogWindow" module="_misc">
21432 <baseclass name="Log"/>
21433 <constructor name="LogWindow" overloaded="no">
21434 <autodoc>__init__(self, wxFrame pParent, String szTitle, bool bShow=True, bool bPassToOld=True) -&gt; LogWindow</autodoc>
21435 <paramlist>
21436 <param name="pParent" type="Frame" default=""/>
21437 <param name="szTitle" type="String" default=""/>
21438 <param name="bShow" type="bool" default="True"/>
21439 <param name="bPassToOld" type="bool" default="True"/>
21440 </paramlist>
21441 </constructor>
21442 <method name="Show" type="" overloaded="no">
21443 <autodoc>Show(self, bool bShow=True)</autodoc>
21444 <paramlist>
21445 <param name="bShow" type="bool" default="True"/>
21446 </paramlist>
21447 </method>
21448 <method name="GetFrame" type="Frame" overloaded="no">
21449 <autodoc>GetFrame(self) -&gt; wxFrame</autodoc>
21450 </method>
21451 <method name="GetOldLog" type="Log" overloaded="no">
21452 <autodoc>GetOldLog(self) -&gt; Log</autodoc>
21453 </method>
21454 <method name="IsPassingMessages" type="bool" overloaded="no">
21455 <autodoc>IsPassingMessages(self) -&gt; bool</autodoc>
21456 </method>
21457 <method name="PassMessages" type="" overloaded="no">
21458 <autodoc>PassMessages(self, bool bDoPass)</autodoc>
21459 <paramlist>
21460 <param name="bDoPass" type="bool" default=""/>
21461 </paramlist>
21462 </method>
21463 </class>
21464 <class name="LogChain" oldname="wxLogChain" module="_misc">
21465 <baseclass name="Log"/>
21466 <constructor name="LogChain" overloaded="no">
21467 <autodoc>__init__(self, Log logger) -&gt; LogChain</autodoc>
21468 <paramlist>
21469 <param name="logger" type="Log" default=""/>
21470 </paramlist>
21471 </constructor>
21472 <method name="SetLog" type="" overloaded="no">
21473 <autodoc>SetLog(self, Log logger)</autodoc>
21474 <paramlist>
21475 <param name="logger" type="Log" default=""/>
21476 </paramlist>
21477 </method>
21478 <method name="PassMessages" type="" overloaded="no">
21479 <autodoc>PassMessages(self, bool bDoPass)</autodoc>
21480 <paramlist>
21481 <param name="bDoPass" type="bool" default=""/>
21482 </paramlist>
21483 </method>
21484 <method name="IsPassingMessages" type="bool" overloaded="no">
21485 <autodoc>IsPassingMessages(self) -&gt; bool</autodoc>
21486 </method>
21487 <method name="GetOldLog" type="Log" overloaded="no">
21488 <autodoc>GetOldLog(self) -&gt; Log</autodoc>
21489 </method>
21490 </class>
21491 <method name="SysErrorCode" oldname="wxSysErrorCode" type="unsigned long" overloaded="no">
21492 <autodoc>SysErrorCode() -&gt; unsigned long</autodoc>
21493 </method>
21494 <method name="SysErrorMsg" oldname="wxSysErrorMsg" type="String" overloaded="no">
21495 <autodoc>SysErrorMsg(unsigned long nErrCode=0) -&gt; String</autodoc>
21496 <paramlist>
21497 <param name="nErrCode" type="unsigned long" default="0"/>
21498 </paramlist>
21499 </method>
21500 <method name="LogFatalError" oldname="wxLogFatalError" type="" overloaded="no">
21501 <autodoc>LogFatalError(String msg)</autodoc>
21502 <paramlist>
21503 <param name="msg" type="String" default=""/>
21504 </paramlist>
21505 </method>
21506 <method name="LogError" oldname="wxLogError" type="" overloaded="no">
21507 <autodoc>LogError(String msg)</autodoc>
21508 <paramlist>
21509 <param name="msg" type="String" default=""/>
21510 </paramlist>
21511 </method>
21512 <method name="LogWarning" oldname="wxLogWarning" type="" overloaded="no">
21513 <autodoc>LogWarning(String msg)</autodoc>
21514 <paramlist>
21515 <param name="msg" type="String" default=""/>
21516 </paramlist>
21517 </method>
21518 <method name="LogMessage" oldname="wxLogMessage" type="" overloaded="no">
21519 <autodoc>LogMessage(String msg)</autodoc>
21520 <paramlist>
21521 <param name="msg" type="String" default=""/>
21522 </paramlist>
21523 </method>
21524 <method name="LogInfo" oldname="wxLogInfo" type="" overloaded="no">
21525 <autodoc>LogInfo(String msg)</autodoc>
21526 <paramlist>
21527 <param name="msg" type="String" default=""/>
21528 </paramlist>
21529 </method>
21530 <method name="LogDebug" oldname="wxLogDebug" type="" overloaded="no">
21531 <autodoc>LogDebug(String msg)</autodoc>
21532 <paramlist>
21533 <param name="msg" type="String" default=""/>
21534 </paramlist>
21535 </method>
21536 <method name="LogVerbose" oldname="wxLogVerbose" type="" overloaded="no">
21537 <autodoc>LogVerbose(String msg)</autodoc>
21538 <paramlist>
21539 <param name="msg" type="String" default=""/>
21540 </paramlist>
21541 </method>
21542 <method name="LogStatus" oldname="wxLogStatus" type="" overloaded="no">
21543 <autodoc>LogStatus(String msg)</autodoc>
21544 <paramlist>
21545 <param name="msg" type="String" default=""/>
21546 </paramlist>
21547 </method>
21548 <method name="LogStatusFrame" oldname="wxLogStatus" type="" overloaded="no">
21549 <autodoc>LogStatusFrame(wxFrame pFrame, String msg)</autodoc>
21550 <paramlist>
21551 <param name="pFrame" type="Frame" default=""/>
21552 <param name="msg" type="String" default=""/>
21553 </paramlist>
21554 </method>
21555 <method name="LogSysError" oldname="wxLogSysError" type="" overloaded="no">
21556 <autodoc>LogSysError(String msg)</autodoc>
21557 <paramlist>
21558 <param name="msg" type="String" default=""/>
21559 </paramlist>
21560 </method>
21561 <method name="LogTrace" oldname="wxLogTrace" type="" overloaded="yes">
21562 <paramlist>
21563 <param name="mask" type="unsigned long" default=""/>
21564 <param name="msg" type="String" default=""/>
21565 </paramlist>
21566 </method>
21567 <method name="LogTrace" oldname="wxLogTrace" type="" overloaded="yes">
21568 <autodoc>LogTrace(unsigned long mask, String msg)
21569 LogTrace(String mask, String msg)</autodoc>
21570 <paramlist>
21571 <param name="mask" type="String" default=""/>
21572 <param name="msg" type="String" default=""/>
21573 </paramlist>
21574 </method>
21575 <method name="LogGeneric" oldname="wxLogGeneric" type="" overloaded="no">
21576 <autodoc>LogGeneric(unsigned long level, String msg)</autodoc>
21577 <paramlist>
21578 <param name="level" type="unsigned long" default=""/>
21579 <param name="msg" type="String" default=""/>
21580 </paramlist>
21581 </method>
21582 <method name="SafeShowMessage" oldname="wxSafeShowMessage" type="" overloaded="no">
21583 <autodoc>SafeShowMessage(String title, String text)</autodoc>
21584 <paramlist>
21585 <param name="title" type="String" default=""/>
21586 <param name="text" type="String" default=""/>
21587 </paramlist>
21588 </method>
21589 <class name="LogNull" oldname="wxLogNull" module="_misc">
21590 <constructor name="LogNull" overloaded="no">
21591 <autodoc>__init__(self) -&gt; LogNull</autodoc>
21592 </constructor>
21593 <destructor name="~wxLogNull" overloaded="no">
21594 <autodoc>__del__(self)</autodoc>
21595 </destructor>
21596 </class>
21597 <class name="PyLog" oldname="wxPyLog" module="_misc">
21598 <baseclass name="Log"/>
21599 <constructor name="PyLog" overloaded="no">
21600 <autodoc>__init__(self) -&gt; PyLog</autodoc>
21601 </constructor>
21602 <method name="_setCallbackInfo" type="" overloaded="no">
21603 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
21604 <paramlist>
21605 <param name="self" type="PyObject" default=""/>
21606 <param name="_class" type="PyObject" default=""/>
21607 </paramlist>
21608 </method>
21609 </class>
21610 <pythoncode>
21611 #---------------------------------------------------------------------------
21612 </pythoncode>
21613 <class name="Process" oldname="wxPyProcess" module="_misc">
21614 <baseclass name="EvtHandler"/>
21615 <constructor name="wxPyProcess" overloaded="no">
21616 <autodoc>__init__(self, EvtHandler parent=None, int id=-1) -&gt; Process</autodoc>
21617 <paramlist>
21618 <param name="parent" type="EvtHandler" default="NULL"/>
21619 <param name="id" type="int" default="-1"/>
21620 </paramlist>
21621 </constructor>
21622 <staticmethod name="Kill" type="wxKillError" overloaded="no">
21623 <autodoc>Kill(int pid, int sig=SIGTERM) -&gt; int</autodoc>
21624 <paramlist>
21625 <param name="pid" type="int" default=""/>
21626 <param name="sig" type="wxSignal" default="wxSIGTERM"/>
21627 </paramlist>
21628 </staticmethod>
21629 <staticmethod name="Exists" type="bool" overloaded="no">
21630 <autodoc>Exists(int pid) -&gt; bool</autodoc>
21631 <paramlist>
21632 <param name="pid" type="int" default=""/>
21633 </paramlist>
21634 </staticmethod>
21635 <staticmethod name="Open" type="Process" overloaded="no">
21636 <autodoc>Open(String cmd, int flags=EXEC_ASYNC) -&gt; Process</autodoc>
21637 <paramlist>
21638 <param name="cmd" type="String" default=""/>
21639 <param name="flags" type="int" default="wxEXEC_ASYNC"/>
21640 </paramlist>
21641 </staticmethod>
21642 <method name="_setCallbackInfo" type="" overloaded="no">
21643 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
21644 <paramlist>
21645 <param name="self" type="PyObject" default=""/>
21646 <param name="_class" type="PyObject" default=""/>
21647 </paramlist>
21648 </method>
21649 <method name="base_OnTerminate" type="" overloaded="no">
21650 <autodoc>base_OnTerminate(self, int pid, int status)</autodoc>
21651 <paramlist>
21652 <param name="pid" type="int" default=""/>
21653 <param name="status" type="int" default=""/>
21654 </paramlist>
21655 </method>
21656 <method name="Redirect" type="" overloaded="no">
21657 <autodoc>Redirect(self)</autodoc>
21658 </method>
21659 <method name="IsRedirected" type="bool" overloaded="no">
21660 <autodoc>IsRedirected(self) -&gt; bool</autodoc>
21661 </method>
21662 <method name="Detach" type="" overloaded="no">
21663 <autodoc>Detach(self)</autodoc>
21664 </method>
21665 <method name="GetInputStream" type="wxInputStream" overloaded="no">
21666 <autodoc>GetInputStream(self) -&gt; InputStream</autodoc>
21667 </method>
21668 <method name="GetErrorStream" type="wxInputStream" overloaded="no">
21669 <autodoc>GetErrorStream(self) -&gt; InputStream</autodoc>
21670 </method>
21671 <method name="GetOutputStream" type="OutputStream" overloaded="no">
21672 <autodoc>GetOutputStream(self) -&gt; OutputStream</autodoc>
21673 </method>
21674 <method name="CloseOutput" type="" overloaded="no">
21675 <autodoc>CloseOutput(self)</autodoc>
21676 </method>
21677 <method name="IsInputOpened" type="bool" overloaded="no">
21678 <autodoc>IsInputOpened(self) -&gt; bool</autodoc>
21679 </method>
21680 <method name="IsInputAvailable" type="bool" overloaded="no">
21681 <autodoc>IsInputAvailable(self) -&gt; bool</autodoc>
21682 </method>
21683 <method name="IsErrorAvailable" type="bool" overloaded="no">
21684 <autodoc>IsErrorAvailable(self) -&gt; bool</autodoc>
21685 </method>
21686 </class>
21687 <class name="ProcessEvent" oldname="wxProcessEvent" module="_misc">
21688 <baseclass name="Event"/>
21689 <constructor name="ProcessEvent" overloaded="no">
21690 <autodoc>__init__(self, int id=0, int pid=0, int exitcode=0) -&gt; ProcessEvent</autodoc>
21691 <paramlist>
21692 <param name="id" type="int" default="0"/>
21693 <param name="pid" type="int" default="0"/>
21694 <param name="exitcode" type="int" default="0"/>
21695 </paramlist>
21696 </constructor>
21697 <method name="GetPid" type="int" overloaded="no">
21698 <autodoc>GetPid(self) -&gt; int</autodoc>
21699 </method>
21700 <method name="GetExitCode" type="int" overloaded="no">
21701 <autodoc>GetExitCode(self) -&gt; int</autodoc>
21702 </method>
21703 <property name="m_pid" type="int" readonly="no"/>
21704 <property name="m_exitcode" type="int" readonly="no"/>
21705 </class>
21706 <pythoncode>
21707 EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS, 1 )
21708 </pythoncode>
21709 <method name="Execute" oldname="wxExecute" type="long" overloaded="no">
21710 <autodoc>Execute(String command, int flags=EXEC_ASYNC, Process process=None) -&gt; long</autodoc>
21711 <paramlist>
21712 <param name="command" type="String" default=""/>
21713 <param name="flags" type="int" default="wxEXEC_ASYNC"/>
21714 <param name="process" type="Process" default="NULL"/>
21715 </paramlist>
21716 </method>
21717 <pythoncode>
21718 #---------------------------------------------------------------------------
21719 </pythoncode>
21720 <class name="Joystick" oldname="wxJoystick" module="_misc">
21721 <constructor name="Joystick" overloaded="no">
21722 <autodoc>__init__(self, int joystick=JOYSTICK1) -&gt; Joystick</autodoc>
21723 <paramlist>
21724 <param name="joystick" type="int" default="wxJOYSTICK1"/>
21725 </paramlist>
21726 </constructor>
21727 <destructor name="~wxJoystick" overloaded="no">
21728 <autodoc>__del__(self)</autodoc>
21729 </destructor>
21730 <method name="GetPosition" type="Point" overloaded="no">
21731 <autodoc>GetPosition(self) -&gt; Point</autodoc>
21732 </method>
21733 <method name="GetZPosition" type="int" overloaded="no">
21734 <autodoc>GetZPosition(self) -&gt; int</autodoc>
21735 </method>
21736 <method name="GetButtonState" type="int" overloaded="no">
21737 <autodoc>GetButtonState(self) -&gt; int</autodoc>
21738 </method>
21739 <method name="GetPOVPosition" type="int" overloaded="no">
21740 <autodoc>GetPOVPosition(self) -&gt; int</autodoc>
21741 </method>
21742 <method name="GetPOVCTSPosition" type="int" overloaded="no">
21743 <autodoc>GetPOVCTSPosition(self) -&gt; int</autodoc>
21744 </method>
21745 <method name="GetRudderPosition" type="int" overloaded="no">
21746 <autodoc>GetRudderPosition(self) -&gt; int</autodoc>
21747 </method>
21748 <method name="GetUPosition" type="int" overloaded="no">
21749 <autodoc>GetUPosition(self) -&gt; int</autodoc>
21750 </method>
21751 <method name="GetVPosition" type="int" overloaded="no">
21752 <autodoc>GetVPosition(self) -&gt; int</autodoc>
21753 </method>
21754 <method name="GetMovementThreshold" type="int" overloaded="no">
21755 <autodoc>GetMovementThreshold(self) -&gt; int</autodoc>
21756 </method>
21757 <method name="SetMovementThreshold" type="" overloaded="no">
21758 <autodoc>SetMovementThreshold(self, int threshold)</autodoc>
21759 <paramlist>
21760 <param name="threshold" type="int" default=""/>
21761 </paramlist>
21762 </method>
21763 <method name="IsOk" type="bool" overloaded="no">
21764 <autodoc>IsOk(self) -&gt; bool</autodoc>
21765 </method>
21766 <method name="GetNumberJoysticks" type="int" overloaded="no">
21767 <autodoc>GetNumberJoysticks(self) -&gt; int</autodoc>
21768 </method>
21769 <method name="GetManufacturerId" type="int" overloaded="no">
21770 <autodoc>GetManufacturerId(self) -&gt; int</autodoc>
21771 </method>
21772 <method name="GetProductId" type="int" overloaded="no">
21773 <autodoc>GetProductId(self) -&gt; int</autodoc>
21774 </method>
21775 <method name="GetProductName" type="String" overloaded="no">
21776 <autodoc>GetProductName(self) -&gt; String</autodoc>
21777 </method>
21778 <method name="GetXMin" type="int" overloaded="no">
21779 <autodoc>GetXMin(self) -&gt; int</autodoc>
21780 </method>
21781 <method name="GetYMin" type="int" overloaded="no">
21782 <autodoc>GetYMin(self) -&gt; int</autodoc>
21783 </method>
21784 <method name="GetZMin" type="int" overloaded="no">
21785 <autodoc>GetZMin(self) -&gt; int</autodoc>
21786 </method>
21787 <method name="GetXMax" type="int" overloaded="no">
21788 <autodoc>GetXMax(self) -&gt; int</autodoc>
21789 </method>
21790 <method name="GetYMax" type="int" overloaded="no">
21791 <autodoc>GetYMax(self) -&gt; int</autodoc>
21792 </method>
21793 <method name="GetZMax" type="int" overloaded="no">
21794 <autodoc>GetZMax(self) -&gt; int</autodoc>
21795 </method>
21796 <method name="GetNumberButtons" type="int" overloaded="no">
21797 <autodoc>GetNumberButtons(self) -&gt; int</autodoc>
21798 </method>
21799 <method name="GetNumberAxes" type="int" overloaded="no">
21800 <autodoc>GetNumberAxes(self) -&gt; int</autodoc>
21801 </method>
21802 <method name="GetMaxButtons" type="int" overloaded="no">
21803 <autodoc>GetMaxButtons(self) -&gt; int</autodoc>
21804 </method>
21805 <method name="GetMaxAxes" type="int" overloaded="no">
21806 <autodoc>GetMaxAxes(self) -&gt; int</autodoc>
21807 </method>
21808 <method name="GetPollingMin" type="int" overloaded="no">
21809 <autodoc>GetPollingMin(self) -&gt; int</autodoc>
21810 </method>
21811 <method name="GetPollingMax" type="int" overloaded="no">
21812 <autodoc>GetPollingMax(self) -&gt; int</autodoc>
21813 </method>
21814 <method name="GetRudderMin" type="int" overloaded="no">
21815 <autodoc>GetRudderMin(self) -&gt; int</autodoc>
21816 </method>
21817 <method name="GetRudderMax" type="int" overloaded="no">
21818 <autodoc>GetRudderMax(self) -&gt; int</autodoc>
21819 </method>
21820 <method name="GetUMin" type="int" overloaded="no">
21821 <autodoc>GetUMin(self) -&gt; int</autodoc>
21822 </method>
21823 <method name="GetUMax" type="int" overloaded="no">
21824 <autodoc>GetUMax(self) -&gt; int</autodoc>
21825 </method>
21826 <method name="GetVMin" type="int" overloaded="no">
21827 <autodoc>GetVMin(self) -&gt; int</autodoc>
21828 </method>
21829 <method name="GetVMax" type="int" overloaded="no">
21830 <autodoc>GetVMax(self) -&gt; int</autodoc>
21831 </method>
21832 <method name="HasRudder" type="bool" overloaded="no">
21833 <autodoc>HasRudder(self) -&gt; bool</autodoc>
21834 </method>
21835 <method name="HasZ" type="bool" overloaded="no">
21836 <autodoc>HasZ(self) -&gt; bool</autodoc>
21837 </method>
21838 <method name="HasU" type="bool" overloaded="no">
21839 <autodoc>HasU(self) -&gt; bool</autodoc>
21840 </method>
21841 <method name="HasV" type="bool" overloaded="no">
21842 <autodoc>HasV(self) -&gt; bool</autodoc>
21843 </method>
21844 <method name="HasPOV" type="bool" overloaded="no">
21845 <autodoc>HasPOV(self) -&gt; bool</autodoc>
21846 </method>
21847 <method name="HasPOV4Dir" type="bool" overloaded="no">
21848 <autodoc>HasPOV4Dir(self) -&gt; bool</autodoc>
21849 </method>
21850 <method name="HasPOVCTS" type="bool" overloaded="no">
21851 <autodoc>HasPOVCTS(self) -&gt; bool</autodoc>
21852 </method>
21853 <method name="SetCapture" type="bool" overloaded="no">
21854 <autodoc>SetCapture(self, Window win, int pollingFreq=0) -&gt; bool</autodoc>
21855 <paramlist>
21856 <param name="win" type="Window" default=""/>
21857 <param name="pollingFreq" type="int" default="0"/>
21858 </paramlist>
21859 </method>
21860 <method name="ReleaseCapture" type="bool" overloaded="no">
21861 <autodoc>ReleaseCapture(self) -&gt; bool</autodoc>
21862 </method>
21863 </class>
21864 <class name="JoystickEvent" oldname="wxJoystickEvent" module="_misc">
21865 <baseclass name="Event"/>
21866 <constructor name="JoystickEvent" overloaded="no">
21867 <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1,
21868 int change=0) -&gt; JoystickEvent</autodoc>
21869 <paramlist>
21870 <param name="type" type="wxEventType" default="wxEVT_NULL"/>
21871 <param name="state" type="int" default="0"/>
21872 <param name="joystick" type="int" default="wxJOYSTICK1"/>
21873 <param name="change" type="int" default="0"/>
21874 </paramlist>
21875 </constructor>
21876 <property name="m_pos" type="Point" readonly="no"/>
21877 <property name="m_zPosition" type="int" readonly="no"/>
21878 <property name="m_buttonChange" type="int" readonly="no"/>
21879 <property name="m_buttonState" type="int" readonly="no"/>
21880 <property name="m_joyStick" type="int" readonly="no"/>
21881 <method name="GetPosition" type="Point" overloaded="no">
21882 <autodoc>GetPosition(self) -&gt; Point</autodoc>
21883 </method>
21884 <method name="GetZPosition" type="int" overloaded="no">
21885 <autodoc>GetZPosition(self) -&gt; int</autodoc>
21886 </method>
21887 <method name="GetButtonState" type="int" overloaded="no">
21888 <autodoc>GetButtonState(self) -&gt; int</autodoc>
21889 </method>
21890 <method name="GetButtonChange" type="int" overloaded="no">
21891 <autodoc>GetButtonChange(self) -&gt; int</autodoc>
21892 </method>
21893 <method name="GetJoystick" type="int" overloaded="no">
21894 <autodoc>GetJoystick(self) -&gt; int</autodoc>
21895 </method>
21896 <method name="SetJoystick" type="" overloaded="no">
21897 <autodoc>SetJoystick(self, int stick)</autodoc>
21898 <paramlist>
21899 <param name="stick" type="int" default=""/>
21900 </paramlist>
21901 </method>
21902 <method name="SetButtonState" type="" overloaded="no">
21903 <autodoc>SetButtonState(self, int state)</autodoc>
21904 <paramlist>
21905 <param name="state" type="int" default=""/>
21906 </paramlist>
21907 </method>
21908 <method name="SetButtonChange" type="" overloaded="no">
21909 <autodoc>SetButtonChange(self, int change)</autodoc>
21910 <paramlist>
21911 <param name="change" type="int" default=""/>
21912 </paramlist>
21913 </method>
21914 <method name="SetPosition" type="" overloaded="no">
21915 <autodoc>SetPosition(self, Point pos)</autodoc>
21916 <paramlist>
21917 <param name="pos" type="Point" default=""/>
21918 </paramlist>
21919 </method>
21920 <method name="SetZPosition" type="" overloaded="no">
21921 <autodoc>SetZPosition(self, int zPos)</autodoc>
21922 <paramlist>
21923 <param name="zPos" type="int" default=""/>
21924 </paramlist>
21925 </method>
21926 <method name="IsButton" type="bool" overloaded="no">
21927 <autodoc>IsButton(self) -&gt; bool</autodoc>
21928 </method>
21929 <method name="IsMove" type="bool" overloaded="no">
21930 <autodoc>IsMove(self) -&gt; bool</autodoc>
21931 </method>
21932 <method name="IsZMove" type="bool" overloaded="no">
21933 <autodoc>IsZMove(self) -&gt; bool</autodoc>
21934 </method>
21935 <method name="ButtonDown" type="bool" overloaded="no">
21936 <autodoc>ButtonDown(self, int but=JOY_BUTTON_ANY) -&gt; bool</autodoc>
21937 <paramlist>
21938 <param name="but" type="int" default="wxJOY_BUTTON_ANY"/>
21939 </paramlist>
21940 </method>
21941 <method name="ButtonUp" type="bool" overloaded="no">
21942 <autodoc>ButtonUp(self, int but=JOY_BUTTON_ANY) -&gt; bool</autodoc>
21943 <paramlist>
21944 <param name="but" type="int" default="wxJOY_BUTTON_ANY"/>
21945 </paramlist>
21946 </method>
21947 <method name="ButtonIsDown" type="bool" overloaded="no">
21948 <autodoc>ButtonIsDown(self, int but=JOY_BUTTON_ANY) -&gt; bool</autodoc>
21949 <paramlist>
21950 <param name="but" type="int" default="wxJOY_BUTTON_ANY"/>
21951 </paramlist>
21952 </method>
21953 </class>
21954 <pythoncode>
21955 EVT_JOY_BUTTON_DOWN = wx.PyEventBinder( wxEVT_JOY_BUTTON_DOWN )
21956 EVT_JOY_BUTTON_UP = wx.PyEventBinder( wxEVT_JOY_BUTTON_UP )
21957 EVT_JOY_MOVE = wx.PyEventBinder( wxEVT_JOY_MOVE )
21958 EVT_JOY_ZMOVE = wx.PyEventBinder( wxEVT_JOY_ZMOVE )
21959
21960 EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN,
21961 wxEVT_JOY_BUTTON_UP,
21962 wxEVT_JOY_MOVE,
21963 wxEVT_JOY_ZMOVE,
21964 ])
21965
21966 </pythoncode>
21967 <pythoncode>
21968 #---------------------------------------------------------------------------
21969 </pythoncode>
21970 <class name="Sound" oldname="wxSound" module="_misc">
21971 <constructor name="Sound" overloaded="no">
21972 <autodoc>__init__(self, String fileName=EmptyString) -&gt; Sound</autodoc>
21973 <paramlist>
21974 <param name="fileName" type="String" default="wxPyEmptyString"/>
21975 </paramlist>
21976 </constructor>
21977 <constructor name="SoundFromData" overloaded="no">
21978 <autodoc>SoundFromData(PyObject data) -&gt; Sound</autodoc>
21979 <paramlist>
21980 <param name="data" type="PyObject" default=""/>
21981 </paramlist>
21982 </constructor>
21983 <destructor name="~wxSound" overloaded="no">
21984 <autodoc>__del__(self)</autodoc>
21985 </destructor>
21986 <method name="Create" type="bool" overloaded="no">
21987 <autodoc>Create(self, String fileName) -&gt; bool</autodoc>
21988 <paramlist>
21989 <param name="fileName" type="String" default=""/>
21990 </paramlist>
21991 </method>
21992 <method name="CreateFromData" type="bool" overloaded="no">
21993 <autodoc>CreateFromData(self, PyObject data) -&gt; bool</autodoc>
21994 <paramlist>
21995 <param name="data" type="PyObject" default=""/>
21996 </paramlist>
21997 </method>
21998 <method name="IsOk" type="bool" overloaded="no">
21999 <autodoc>IsOk(self) -&gt; bool</autodoc>
22000 </method>
22001 <method name="Play" type="bool" overloaded="no">
22002 <autodoc>Play(self, unsigned int flags=SOUND_ASYNC) -&gt; bool</autodoc>
22003 <paramlist>
22004 <param name="flags" type="unsigned int" default="wxSOUND_ASYNC"/>
22005 </paramlist>
22006 </method>
22007 <staticmethod name="PlaySound" type="bool" overloaded="no">
22008 <autodoc>PlaySound(String filename, unsigned int flags=SOUND_ASYNC) -&gt; bool</autodoc>
22009 <paramlist>
22010 <param name="filename" type="String" default=""/>
22011 <param name="flags" type="unsigned int" default="wxSOUND_ASYNC"/>
22012 </paramlist>
22013 </staticmethod>
22014 <staticmethod name="Stop" type="" overloaded="no">
22015 <autodoc>Stop()</autodoc>
22016 </staticmethod>
22017 </class>
22018 <pythoncode>
22019 #---------------------------------------------------------------------------
22020 </pythoncode>
22021 <class name="FileTypeInfo" oldname="wxFileTypeInfo" module="_misc">
22022 <constructor name="FileTypeInfo" overloaded="no">
22023 <autodoc>__init__(self, String mimeType, String openCmd, String printCmd, String desc) -&gt; FileTypeInfo</autodoc>
22024 <paramlist>
22025 <param name="mimeType" type="String" default=""/>
22026 <param name="openCmd" type="String" default=""/>
22027 <param name="printCmd" type="String" default=""/>
22028 <param name="desc" type="String" default=""/>
22029 </paramlist>
22030 </constructor>
22031 <constructor name="FileTypeInfoSequence" overloaded="no">
22032 <autodoc>FileTypeInfoSequence(wxArrayString sArray) -&gt; FileTypeInfo</autodoc>
22033 <paramlist>
22034 <param name="sArray" type="wxArrayString" default=""/>
22035 </paramlist>
22036 </constructor>
22037 <constructor name="NullFileTypeInfo" overloaded="no">
22038 <autodoc>NullFileTypeInfo() -&gt; FileTypeInfo</autodoc>
22039 </constructor>
22040 <method name="IsValid" type="bool" overloaded="no">
22041 <autodoc>IsValid(self) -&gt; bool</autodoc>
22042 </method>
22043 <method name="SetIcon" type="" overloaded="no">
22044 <autodoc>SetIcon(self, String iconFile, int iconIndex=0)</autodoc>
22045 <paramlist>
22046 <param name="iconFile" type="String" default=""/>
22047 <param name="iconIndex" type="int" default="0"/>
22048 </paramlist>
22049 </method>
22050 <method name="SetShortDesc" type="" overloaded="no">
22051 <autodoc>SetShortDesc(self, String shortDesc)</autodoc>
22052 <paramlist>
22053 <param name="shortDesc" type="String" default=""/>
22054 </paramlist>
22055 </method>
22056 <method name="GetMimeType" type="String" overloaded="no">
22057 <autodoc>GetMimeType(self) -&gt; String</autodoc>
22058 </method>
22059 <method name="GetOpenCommand" type="String" overloaded="no">
22060 <autodoc>GetOpenCommand(self) -&gt; String</autodoc>
22061 </method>
22062 <method name="GetPrintCommand" type="String" overloaded="no">
22063 <autodoc>GetPrintCommand(self) -&gt; String</autodoc>
22064 </method>
22065 <method name="GetShortDesc" type="String" overloaded="no">
22066 <autodoc>GetShortDesc(self) -&gt; String</autodoc>
22067 </method>
22068 <method name="GetDescription" type="String" overloaded="no">
22069 <autodoc>GetDescription(self) -&gt; String</autodoc>
22070 </method>
22071 <method name="GetExtensions" type="wxArrayString" overloaded="no">
22072 <autodoc>GetExtensions(self) -&gt; wxArrayString</autodoc>
22073 </method>
22074 <method name="GetExtensionsCount" type="int" overloaded="no">
22075 <autodoc>GetExtensionsCount(self) -&gt; int</autodoc>
22076 </method>
22077 <method name="GetIconFile" type="String" overloaded="no">
22078 <autodoc>GetIconFile(self) -&gt; String</autodoc>
22079 </method>
22080 <method name="GetIconIndex" type="int" overloaded="no">
22081 <autodoc>GetIconIndex(self) -&gt; int</autodoc>
22082 </method>
22083 </class>
22084 <class name="FileType" oldname="wxFileType" module="_misc">
22085 <constructor name="FileType" overloaded="no">
22086 <autodoc>__init__(self, FileTypeInfo ftInfo) -&gt; FileType</autodoc>
22087 <paramlist>
22088 <param name="ftInfo" type="FileTypeInfo" default=""/>
22089 </paramlist>
22090 </constructor>
22091 <destructor name="~wxFileType" overloaded="no">
22092 <autodoc>__del__(self)</autodoc>
22093 </destructor>
22094 <method name="GetMimeType" type="PyObject" overloaded="no">
22095 <autodoc>GetMimeType(self) -&gt; PyObject</autodoc>
22096 </method>
22097 <method name="GetMimeTypes" type="PyObject" overloaded="no">
22098 <autodoc>GetMimeTypes(self) -&gt; PyObject</autodoc>
22099 </method>
22100 <method name="GetExtensions" type="PyObject" overloaded="no">
22101 <autodoc>GetExtensions(self) -&gt; PyObject</autodoc>
22102 </method>
22103 <method name="GetIcon" type="Icon" overloaded="no">
22104 <autodoc>GetIcon(self) -&gt; Icon</autodoc>
22105 </method>
22106 <method name="GetIconInfo" type="PyObject" overloaded="no">
22107 <autodoc>GetIconInfo(self) -&gt; PyObject</autodoc>
22108 </method>
22109 <method name="GetDescription" type="PyObject" overloaded="no">
22110 <autodoc>GetDescription(self) -&gt; PyObject</autodoc>
22111 </method>
22112 <method name="GetOpenCommand" type="PyObject" overloaded="no">
22113 <autodoc>GetOpenCommand(self, String filename, String mimetype=EmptyString) -&gt; PyObject</autodoc>
22114 <paramlist>
22115 <param name="filename" type="String" default=""/>
22116 <param name="mimetype" type="String" default="wxPyEmptyString"/>
22117 </paramlist>
22118 </method>
22119 <method name="GetPrintCommand" type="PyObject" overloaded="no">
22120 <autodoc>GetPrintCommand(self, String filename, String mimetype=EmptyString) -&gt; PyObject</autodoc>
22121 <paramlist>
22122 <param name="filename" type="String" default=""/>
22123 <param name="mimetype" type="String" default="wxPyEmptyString"/>
22124 </paramlist>
22125 </method>
22126 <method name="GetAllCommands" type="PyObject" overloaded="no">
22127 <autodoc>GetAllCommands(self, String filename, String mimetype=EmptyString) -&gt; PyObject</autodoc>
22128 <paramlist>
22129 <param name="filename" type="String" default=""/>
22130 <param name="mimetype" type="String" default="wxPyEmptyString"/>
22131 </paramlist>
22132 </method>
22133 <method name="SetCommand" type="bool" overloaded="no">
22134 <autodoc>SetCommand(self, String cmd, String verb, bool overwriteprompt=True) -&gt; bool</autodoc>
22135 <paramlist>
22136 <param name="cmd" type="String" default=""/>
22137 <param name="verb" type="String" default=""/>
22138 <param name="overwriteprompt" type="bool" default="True"/>
22139 </paramlist>
22140 </method>
22141 <method name="SetDefaultIcon" type="bool" overloaded="no">
22142 <autodoc>SetDefaultIcon(self, String cmd=EmptyString, int index=0) -&gt; bool</autodoc>
22143 <paramlist>
22144 <param name="cmd" type="String" default="wxPyEmptyString"/>
22145 <param name="index" type="int" default="0"/>
22146 </paramlist>
22147 </method>
22148 <method name="Unassociate" type="bool" overloaded="no">
22149 <autodoc>Unassociate(self) -&gt; bool</autodoc>
22150 </method>
22151 <staticmethod name="ExpandCommand" type="String" overloaded="no">
22152 <autodoc>ExpandCommand(String command, String filename, String mimetype=EmptyString) -&gt; String</autodoc>
22153 <paramlist>
22154 <param name="command" type="String" default=""/>
22155 <param name="filename" type="String" default=""/>
22156 <param name="mimetype" type="String" default="wxPyEmptyString"/>
22157 </paramlist>
22158 </staticmethod>
22159 </class>
22160 <class name="MimeTypesManager" oldname="wxMimeTypesManager" module="_misc">
22161 <constructor name="MimeTypesManager" overloaded="no">
22162 <autodoc>__init__(self) -&gt; MimeTypesManager</autodoc>
22163 </constructor>
22164 <destructor name="~wxMimeTypesManager" overloaded="no">
22165 <autodoc>__del__(self)</autodoc>
22166 </destructor>
22167 <staticmethod name="IsOfType" type="bool" overloaded="no">
22168 <autodoc>IsOfType(String mimeType, String wildcard) -&gt; bool</autodoc>
22169 <paramlist>
22170 <param name="mimeType" type="String" default=""/>
22171 <param name="wildcard" type="String" default=""/>
22172 </paramlist>
22173 </staticmethod>
22174 <method name="Initialize" type="" overloaded="no">
22175 <autodoc>Initialize(self, int mailcapStyle=MAILCAP_ALL, String extraDir=EmptyString)</autodoc>
22176 <paramlist>
22177 <param name="mailcapStyle" type="int" default="wxMAILCAP_ALL"/>
22178 <param name="extraDir" type="String" default="wxPyEmptyString"/>
22179 </paramlist>
22180 </method>
22181 <method name="ClearData" type="" overloaded="no">
22182 <autodoc>ClearData(self)</autodoc>
22183 </method>
22184 <method name="GetFileTypeFromExtension" type="FileType" overloaded="no">
22185 <autodoc>GetFileTypeFromExtension(self, String ext) -&gt; FileType</autodoc>
22186 <paramlist>
22187 <param name="ext" type="String" default=""/>
22188 </paramlist>
22189 </method>
22190 <method name="GetFileTypeFromMimeType" type="FileType" overloaded="no">
22191 <autodoc>GetFileTypeFromMimeType(self, String mimeType) -&gt; FileType</autodoc>
22192 <paramlist>
22193 <param name="mimeType" type="String" default=""/>
22194 </paramlist>
22195 </method>
22196 <method name="ReadMailcap" type="bool" overloaded="no">
22197 <autodoc>ReadMailcap(self, String filename, bool fallback=False) -&gt; bool</autodoc>
22198 <paramlist>
22199 <param name="filename" type="String" default=""/>
22200 <param name="fallback" type="bool" default="False"/>
22201 </paramlist>
22202 </method>
22203 <method name="ReadMimeTypes" type="bool" overloaded="no">
22204 <autodoc>ReadMimeTypes(self, String filename) -&gt; bool</autodoc>
22205 <paramlist>
22206 <param name="filename" type="String" default=""/>
22207 </paramlist>
22208 </method>
22209 <method name="EnumAllFileTypes" type="PyObject" overloaded="no">
22210 <autodoc>EnumAllFileTypes(self) -&gt; PyObject</autodoc>
22211 </method>
22212 <method name="AddFallback" type="" overloaded="no">
22213 <autodoc>AddFallback(self, FileTypeInfo ft)</autodoc>
22214 <paramlist>
22215 <param name="ft" type="FileTypeInfo" default=""/>
22216 </paramlist>
22217 </method>
22218 <method name="Associate" type="FileType" overloaded="no">
22219 <autodoc>Associate(self, FileTypeInfo ftInfo) -&gt; FileType</autodoc>
22220 <paramlist>
22221 <param name="ftInfo" type="FileTypeInfo" default=""/>
22222 </paramlist>
22223 </method>
22224 <method name="Unassociate" type="bool" overloaded="no">
22225 <autodoc>Unassociate(self, FileType ft) -&gt; bool</autodoc>
22226 <paramlist>
22227 <param name="ft" type="FileType" default=""/>
22228 </paramlist>
22229 </method>
22230 </class>
22231 <pythoncode>
22232 #---------------------------------------------------------------------------
22233 </pythoncode>
22234 <class name="ArtProvider" oldname="wxPyArtProvider" module="_misc">
22235 <docstring>The wx.ArtProvider class is used to customize the look of wxWidgets
22236 application. When wxWidgets needs to display an icon or a bitmap (e.g.
22237 in the standard file dialog), it does not use hard-coded resource but
22238 asks wx.ArtProvider for it instead. This way the users can plug in
22239 their own wx.ArtProvider class and easily replace standard art with
22240 his/her own version. It is easy thing to do: all that is needed is
22241 to derive a class from wx.ArtProvider, override it's CreateBitmap
22242 method and register the provider with wx.ArtProvider.PushProvider::
22243
22244 class MyArtProvider(wx.ArtProvider):
22245 def __init__(self):
22246 wx.ArtProvider.__init__(self)
22247
22248 def CreateBitmap(self, artid, client, size):
22249 ...
22250 return bmp
22251 </docstring>
22252 <constructor name="wxPyArtProvider" overloaded="no">
22253 <autodoc>__init__(self) -&gt; ArtProvider</autodoc>
22254 <docstring>The wx.ArtProvider class is used to customize the look of wxWidgets
22255 application. When wxWidgets needs to display an icon or a bitmap (e.g.
22256 in the standard file dialog), it does not use hard-coded resource but
22257 asks wx.ArtProvider for it instead. This way the users can plug in
22258 their own wx.ArtProvider class and easily replace standard art with
22259 his/her own version. It is easy thing to do: all that is needed is
22260 to derive a class from wx.ArtProvider, override it's CreateBitmap
22261 method and register the provider with wx.ArtProvider.PushProvider::
22262
22263 class MyArtProvider(wx.ArtProvider):
22264 def __init__(self):
22265 wx.ArtProvider.__init__(self)
22266
22267 def CreateBitmap(self, artid, client, size):
22268 ...
22269 return bmp
22270 </docstring>
22271 </constructor>
22272 <method name="_setCallbackInfo" type="" overloaded="no">
22273 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
22274 <paramlist>
22275 <param name="self" type="PyObject" default=""/>
22276 <param name="_class" type="PyObject" default=""/>
22277 </paramlist>
22278 </method>
22279 <staticmethod name="PushProvider" type="" overloaded="no">
22280 <autodoc>PushProvider(ArtProvider provider)</autodoc>
22281 <docstring>Add new provider to the top of providers stack.</docstring>
22282 <paramlist>
22283 <param name="provider" type="ArtProvider" default=""/>
22284 </paramlist>
22285 </staticmethod>
22286 <staticmethod name="PopProvider" type="bool" overloaded="no">
22287 <autodoc>PopProvider() -&gt; bool</autodoc>
22288 <docstring>Remove latest added provider and delete it.</docstring>
22289 </staticmethod>
22290 <staticmethod name="RemoveProvider" type="bool" overloaded="no">
22291 <autodoc>RemoveProvider(ArtProvider provider) -&gt; bool</autodoc>
22292 <docstring>Remove provider. The provider must have been added previously! The
22293 provider is _not_ deleted.</docstring>
22294 <paramlist>
22295 <param name="provider" type="ArtProvider" default=""/>
22296 </paramlist>
22297 </staticmethod>
22298 <staticmethod name="GetBitmap" type="Bitmap" overloaded="no">
22299 <autodoc>GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -&gt; Bitmap</autodoc>
22300 <docstring>Query the providers for bitmap with given ID and return it. Return
22301 wx.NullBitmap if no provider provides it.</docstring>
22302 <paramlist>
22303 <param name="id" type="String" default=""/>
22304 <param name="client" type="String" default="wxPyART_OTHER"/>
22305 <param name="size" type="Size" default="wxDefaultSize"/>
22306 </paramlist>
22307 </staticmethod>
22308 <staticmethod name="GetIcon" type="Icon" overloaded="no">
22309 <autodoc>GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -&gt; Icon</autodoc>
22310 <docstring>Query the providers for icon with given ID and return it. Return
22311 wx.NullIcon if no provider provides it.</docstring>
22312 <paramlist>
22313 <param name="id" type="String" default=""/>
22314 <param name="client" type="String" default="wxPyART_OTHER"/>
22315 <param name="size" type="Size" default="wxDefaultSize"/>
22316 </paramlist>
22317 </staticmethod>
22318 <method name="Destroy" type="" overloaded="no">
22319 <autodoc>Destroy(self)</autodoc>
22320 </method>
22321 </class>
22322 <pythoncode>
22323 #---------------------------------------------------------------------------
22324 </pythoncode>
22325 <class name="ConfigBase" oldname="wxConfigBase" module="_misc">
22326 <docstring>wx.ConfigBase class defines the basic interface of all config
22327 classes. It can not be used by itself (it is an abstract base class)
22328 and you will always use one of its derivations: wx.Config or
22329 wx.FileConfig.
22330
22331 wx.ConfigBase organizes the items in a tree-like structure, modeled
22332 after the Unix/Dos filesystem. There are groups that act like
22333 directories and entries, key/value pairs that act like files. There
22334 is always one current group given by the current path. As in the file
22335 system case, to specify a key in the config class you must use a path
22336 to it. Config classes also support the notion of the current group,
22337 which makes it possible to use relative paths.
22338
22339 Keys are pairs "key_name = value" where value may be of string,
22340 integer floating point or boolean, you can not store binary data
22341 without first encoding it as a string. For performance reasons items
22342 should be kept small, no more than a couple kilobytes.
22343 </docstring>
22344 <destructor name="~wxConfigBase" overloaded="no">
22345 <autodoc>__del__(self)</autodoc>
22346 </destructor>
22347 <staticmethod name="Set" type="ConfigBase" overloaded="no">
22348 <autodoc>Set(ConfigBase config) -&gt; ConfigBase</autodoc>
22349 <docstring>Sets the global config object (the one returned by Get) and returns a
22350 reference to the previous global config object.</docstring>
22351 <paramlist>
22352 <param name="config" type="ConfigBase" default=""/>
22353 </paramlist>
22354 </staticmethod>
22355 <staticmethod name="Get" type="ConfigBase" overloaded="no">
22356 <autodoc>Get(bool createOnDemand=True) -&gt; ConfigBase</autodoc>
22357 <docstring>Returns the current global config object, creating one if neccessary.</docstring>
22358 <paramlist>
22359 <param name="createOnDemand" type="bool" default="True"/>
22360 </paramlist>
22361 </staticmethod>
22362 <staticmethod name="Create" type="ConfigBase" overloaded="no">
22363 <autodoc>Create() -&gt; ConfigBase</autodoc>
22364 <docstring>Create and return a new global config object. This function will
22365 create the "best" implementation of wx.Config available for the
22366 current platform.</docstring>
22367 </staticmethod>
22368 <staticmethod name="DontCreateOnDemand" type="" overloaded="no">
22369 <autodoc>DontCreateOnDemand()</autodoc>
22370 <docstring>Should Get() try to create a new log object if there isn't a current
22371 one?</docstring>
22372 </staticmethod>
22373 <method name="SetPath" type="" overloaded="no">
22374 <autodoc>SetPath(self, String path)</autodoc>
22375 <docstring>Set current path: if the first character is '/', it's the absolute
22376 path, otherwise it's a relative path. '..' is supported. If the
22377 strPath doesn't exist it is created.</docstring>
22378 <paramlist>
22379 <param name="path" type="String" default=""/>
22380 </paramlist>
22381 </method>
22382 <method name="GetPath" type="String" overloaded="no">
22383 <autodoc>GetPath(self) -&gt; String</autodoc>
22384 <docstring>Retrieve the current path (always as absolute path)</docstring>
22385 </method>
22386 <method name="GetFirstGroup" type="PyObject" overloaded="no">
22387 <autodoc>GetFirstGroup() -&gt; (more, value, index)</autodoc>
22388 <docstring>Allows enumerating the subgroups in a config object. Returns a tuple
22389 containing a flag indicating there are more items, the name of the
22390 current item, and an index to pass to GetNextGroup to fetch the next
22391 item.</docstring>
22392 </method>
22393 <method name="GetNextGroup" type="PyObject" overloaded="no">
22394 <autodoc>GetNextGroup(long index) -&gt; (more, value, index)</autodoc>
22395 <docstring>Allows enumerating the subgroups in a config object. Returns a tuple
22396 containing a flag indicating there are more items, the name of the
22397 current item, and an index to pass to GetNextGroup to fetch the next
22398 item.</docstring>
22399 <paramlist>
22400 <param name="index" type="long" default=""/>
22401 </paramlist>
22402 </method>
22403 <method name="GetFirstEntry" type="PyObject" overloaded="no">
22404 <autodoc>GetFirstEntry() -&gt; (more, value, index)</autodoc>
22405 <docstring>Allows enumerating the entries in the current group in a config
22406 object. Returns a tuple containing a flag indicating there are more
22407 items, the name of the current item, and an index to pass to
22408 GetNextGroup to fetch the next item.</docstring>
22409 </method>
22410 <method name="GetNextEntry" type="PyObject" overloaded="no">
22411 <autodoc>GetNextEntry(long index) -&gt; (more, value, index)</autodoc>
22412 <docstring>Allows enumerating the entries in the current group in a config
22413 object. Returns a tuple containing a flag indicating there are more
22414 items, the name of the current item, and an index to pass to
22415 GetNextGroup to fetch the next item.</docstring>
22416 <paramlist>
22417 <param name="index" type="long" default=""/>
22418 </paramlist>
22419 </method>
22420 <method name="GetNumberOfEntries" type="size_t" overloaded="no">
22421 <autodoc>GetNumberOfEntries(self, bool recursive=False) -&gt; size_t</autodoc>
22422 <docstring>Get the number of entries in the current group, with or without its
22423 subgroups.</docstring>
22424 <paramlist>
22425 <param name="recursive" type="bool" default="False"/>
22426 </paramlist>
22427 </method>
22428 <method name="GetNumberOfGroups" type="size_t" overloaded="no">
22429 <autodoc>GetNumberOfGroups(self, bool recursive=False) -&gt; size_t</autodoc>
22430 <docstring>Get the number of subgroups in the current group, with or without its
22431 subgroups.</docstring>
22432 <paramlist>
22433 <param name="recursive" type="bool" default="False"/>
22434 </paramlist>
22435 </method>
22436 <method name="HasGroup" type="bool" overloaded="no">
22437 <autodoc>HasGroup(self, String name) -&gt; bool</autodoc>
22438 <docstring>Returns True if the group by this name exists</docstring>
22439 <paramlist>
22440 <param name="name" type="String" default=""/>
22441 </paramlist>
22442 </method>
22443 <method name="HasEntry" type="bool" overloaded="no">
22444 <autodoc>HasEntry(self, String name) -&gt; bool</autodoc>
22445 <docstring>Returns True if the entry by this name exists</docstring>
22446 <paramlist>
22447 <param name="name" type="String" default=""/>
22448 </paramlist>
22449 </method>
22450 <method name="Exists" type="bool" overloaded="no">
22451 <autodoc>Exists(self, String name) -&gt; bool</autodoc>
22452 <docstring>Returns True if either a group or an entry with a given name exists</docstring>
22453 <paramlist>
22454 <param name="name" type="String" default=""/>
22455 </paramlist>
22456 </method>
22457 <method name="GetEntryType" type="wxConfigBase::EntryType" overloaded="no">
22458 <autodoc>GetEntryType(self, String name) -&gt; int</autodoc>
22459 <docstring>Get the type of the entry. Returns one of the wx.Config.Type_XXX values.</docstring>
22460 <paramlist>
22461 <param name="name" type="String" default=""/>
22462 </paramlist>
22463 </method>
22464 <method name="Read" type="String" overloaded="no">
22465 <autodoc>Read(self, String key, String defaultVal=EmptyString) -&gt; String</autodoc>
22466 <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring>
22467 <paramlist>
22468 <param name="key" type="String" default=""/>
22469 <param name="defaultVal" type="String" default="wxPyEmptyString"/>
22470 </paramlist>
22471 </method>
22472 <method name="ReadInt" type="long" overloaded="no">
22473 <autodoc>ReadInt(self, String key, long defaultVal=0) -&gt; long</autodoc>
22474 <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring>
22475 <paramlist>
22476 <param name="key" type="String" default=""/>
22477 <param name="defaultVal" type="long" default="0"/>
22478 </paramlist>
22479 </method>
22480 <method name="ReadFloat" type="double" overloaded="no">
22481 <autodoc>ReadFloat(self, String key, double defaultVal=0.0) -&gt; double</autodoc>
22482 <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring>
22483 <paramlist>
22484 <param name="key" type="String" default=""/>
22485 <param name="defaultVal" type="double" default="0.0"/>
22486 </paramlist>
22487 </method>
22488 <method name="ReadBool" type="bool" overloaded="no">
22489 <autodoc>ReadBool(self, String key, bool defaultVal=False) -&gt; bool</autodoc>
22490 <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring>
22491 <paramlist>
22492 <param name="key" type="String" default=""/>
22493 <param name="defaultVal" type="bool" default="False"/>
22494 </paramlist>
22495 </method>
22496 <method name="Write" type="bool" overloaded="no">
22497 <autodoc>Write(self, String key, String value) -&gt; bool</autodoc>
22498 <docstring>write the value (return True on success)</docstring>
22499 <paramlist>
22500 <param name="key" type="String" default=""/>
22501 <param name="value" type="String" default=""/>
22502 </paramlist>
22503 </method>
22504 <method name="WriteInt" type="bool" overloaded="no">
22505 <autodoc>WriteInt(self, String key, long value) -&gt; bool</autodoc>
22506 <docstring>write the value (return True on success)</docstring>
22507 <paramlist>
22508 <param name="key" type="String" default=""/>
22509 <param name="value" type="long" default=""/>
22510 </paramlist>
22511 </method>
22512 <method name="WriteFloat" type="bool" overloaded="no">
22513 <autodoc>WriteFloat(self, String key, double value) -&gt; bool</autodoc>
22514 <docstring>write the value (return True on success)</docstring>
22515 <paramlist>
22516 <param name="key" type="String" default=""/>
22517 <param name="value" type="double" default=""/>
22518 </paramlist>
22519 </method>
22520 <method name="WriteBool" type="bool" overloaded="no">
22521 <autodoc>WriteBool(self, String key, bool value) -&gt; bool</autodoc>
22522 <docstring>write the value (return True on success)</docstring>
22523 <paramlist>
22524 <param name="key" type="String" default=""/>
22525 <param name="value" type="bool" default=""/>
22526 </paramlist>
22527 </method>
22528 <method name="Flush" type="bool" overloaded="no">
22529 <autodoc>Flush(self, bool currentOnly=False) -&gt; bool</autodoc>
22530 <docstring>permanently writes all changes</docstring>
22531 <paramlist>
22532 <param name="currentOnly" type="bool" default="False"/>
22533 </paramlist>
22534 </method>
22535 <method name="RenameEntry" type="bool" overloaded="no">
22536 <autodoc>RenameEntry(self, String oldName, String newName) -&gt; bool</autodoc>
22537 <docstring>Rename an entry. Returns False on failure (probably because the new
22538 name is already taken by an existing entry)</docstring>
22539 <paramlist>
22540 <param name="oldName" type="String" default=""/>
22541 <param name="newName" type="String" default=""/>
22542 </paramlist>
22543 </method>
22544 <method name="RenameGroup" type="bool" overloaded="no">
22545 <autodoc>RenameGroup(self, String oldName, String newName) -&gt; bool</autodoc>
22546 <docstring>Rename a group. Returns False on failure (probably because the new
22547 name is already taken by an existing entry)</docstring>
22548 <paramlist>
22549 <param name="oldName" type="String" default=""/>
22550 <param name="newName" type="String" default=""/>
22551 </paramlist>
22552 </method>
22553 <method name="DeleteEntry" type="bool" overloaded="no">
22554 <autodoc>DeleteEntry(self, String key, bool deleteGroupIfEmpty=True) -&gt; bool</autodoc>
22555 <docstring>Deletes the specified entry and the group it belongs to if it was the
22556 last key in it and the second parameter is True</docstring>
22557 <paramlist>
22558 <param name="key" type="String" default=""/>
22559 <param name="deleteGroupIfEmpty" type="bool" default="True"/>
22560 </paramlist>
22561 </method>
22562 <method name="DeleteGroup" type="bool" overloaded="no">
22563 <autodoc>DeleteGroup(self, String key) -&gt; bool</autodoc>
22564 <docstring>Delete the group (with all subgroups)</docstring>
22565 <paramlist>
22566 <param name="key" type="String" default=""/>
22567 </paramlist>
22568 </method>
22569 <method name="DeleteAll" type="bool" overloaded="no">
22570 <autodoc>DeleteAll(self) -&gt; bool</autodoc>
22571 <docstring>Delete the whole underlying object (disk file, registry key, ...)
22572 primarly intended for use by deinstallation routine.</docstring>
22573 </method>
22574 <method name="SetExpandEnvVars" type="" overloaded="no">
22575 <autodoc>SetExpandEnvVars(self, bool doIt=True)</autodoc>
22576 <docstring>We can automatically expand environment variables in the config
22577 entries this option is on by default, you can turn it on/off at any
22578 time)</docstring>
22579 <paramlist>
22580 <param name="doIt" type="bool" default="True"/>
22581 </paramlist>
22582 </method>
22583 <method name="IsExpandingEnvVars" type="bool" overloaded="no">
22584 <autodoc>IsExpandingEnvVars(self) -&gt; bool</autodoc>
22585 <docstring>Are we currently expanding environment variables?</docstring>
22586 </method>
22587 <method name="SetRecordDefaults" type="" overloaded="no">
22588 <autodoc>SetRecordDefaults(self, bool doIt=True)</autodoc>
22589 <docstring>Set whether the config objec should record default values.</docstring>
22590 <paramlist>
22591 <param name="doIt" type="bool" default="True"/>
22592 </paramlist>
22593 </method>
22594 <method name="IsRecordingDefaults" type="bool" overloaded="no">
22595 <autodoc>IsRecordingDefaults(self) -&gt; bool</autodoc>
22596 <docstring>Are we currently recording default values?</docstring>
22597 </method>
22598 <method name="ExpandEnvVars" type="String" overloaded="no">
22599 <autodoc>ExpandEnvVars(self, String str) -&gt; String</autodoc>
22600 <docstring>Expand any environment variables in str and return the result</docstring>
22601 <paramlist>
22602 <param name="str" type="String" default=""/>
22603 </paramlist>
22604 </method>
22605 <method name="GetAppName" type="String" overloaded="no">
22606 <autodoc>GetAppName(self) -&gt; String</autodoc>
22607 </method>
22608 <method name="GetVendorName" type="String" overloaded="no">
22609 <autodoc>GetVendorName(self) -&gt; String</autodoc>
22610 </method>
22611 <method name="SetAppName" type="" overloaded="no">
22612 <autodoc>SetAppName(self, String appName)</autodoc>
22613 <paramlist>
22614 <param name="appName" type="String" default=""/>
22615 </paramlist>
22616 </method>
22617 <method name="SetVendorName" type="" overloaded="no">
22618 <autodoc>SetVendorName(self, String vendorName)</autodoc>
22619 <paramlist>
22620 <param name="vendorName" type="String" default=""/>
22621 </paramlist>
22622 </method>
22623 <method name="SetStyle" type="" overloaded="no">
22624 <autodoc>SetStyle(self, long style)</autodoc>
22625 <paramlist>
22626 <param name="style" type="long" default=""/>
22627 </paramlist>
22628 </method>
22629 <method name="GetStyle" type="long" overloaded="no">
22630 <autodoc>GetStyle(self) -&gt; long</autodoc>
22631 </method>
22632 </class>
22633 <class name="Config" oldname="wxConfig" module="_misc">
22634 <docstring>This ConfigBase-derived class will use the registry on Windows,
22635 and will be a wx.FileConfig on other platforms.</docstring>
22636 <baseclass name="ConfigBase"/>
22637 <constructor name="Config" overloaded="no">
22638 <autodoc>__init__(self, String appName=EmptyString, String vendorName=EmptyString,
22639 String localFilename=EmptyString, String globalFilename=EmptyString,
22640 long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -&gt; Config</autodoc>
22641 <paramlist>
22642 <param name="appName" type="String" default="wxPyEmptyString"/>
22643 <param name="vendorName" type="String" default="wxPyEmptyString"/>
22644 <param name="localFilename" type="String" default="wxPyEmptyString"/>
22645 <param name="globalFilename" type="String" default="wxPyEmptyString"/>
22646 <param name="style" type="long" default="wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE"/>
22647 </paramlist>
22648 </constructor>
22649 <destructor name="~wxConfig" overloaded="no">
22650 <autodoc>__del__(self)</autodoc>
22651 </destructor>
22652 </class>
22653 <class name="FileConfig" oldname="wxFileConfig" module="_misc">
22654 <docstring>This config class will use a file for storage on all platforms.</docstring>
22655 <baseclass name="ConfigBase"/>
22656 <constructor name="FileConfig" overloaded="no">
22657 <autodoc>__init__(self, String appName=EmptyString, String vendorName=EmptyString,
22658 String localFilename=EmptyString, String globalFilename=EmptyString,
22659 long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -&gt; FileConfig</autodoc>
22660 <paramlist>
22661 <param name="appName" type="String" default="wxPyEmptyString"/>
22662 <param name="vendorName" type="String" default="wxPyEmptyString"/>
22663 <param name="localFilename" type="String" default="wxPyEmptyString"/>
22664 <param name="globalFilename" type="String" default="wxPyEmptyString"/>
22665 <param name="style" type="long" default="wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE"/>
22666 </paramlist>
22667 </constructor>
22668 <destructor name="~wxFileConfig" overloaded="no">
22669 <autodoc>__del__(self)</autodoc>
22670 </destructor>
22671 </class>
22672 <class name="ConfigPathChanger" oldname="wxConfigPathChanger" module="_misc">
22673 <docstring>A handy little class which changes current path to the path of given
22674 entry and restores it in the destructoir: so if you declare a local
22675 variable of this type, you work in the entry directory and the path is
22676 automatically restored when the function returns.</docstring>
22677 <constructor name="ConfigPathChanger" overloaded="no">
22678 <autodoc>__init__(self, ConfigBase config, String entry) -&gt; ConfigPathChanger</autodoc>
22679 <paramlist>
22680 <param name="config" type="ConfigBase" default=""/>
22681 <param name="entry" type="String" default=""/>
22682 </paramlist>
22683 </constructor>
22684 <destructor name="~wxConfigPathChanger" overloaded="no">
22685 <autodoc>__del__(self)</autodoc>
22686 </destructor>
22687 <method name="Name" type="String" overloaded="no">
22688 <autodoc>Name(self) -&gt; String</autodoc>
22689 <docstring>Get the key name</docstring>
22690 </method>
22691 </class>
22692 <method name="ExpandEnvVars" oldname="wxExpandEnvVars" type="String" overloaded="no">
22693 <autodoc>ExpandEnvVars(String sz) -&gt; String</autodoc>
22694 <docstring>Replace environment variables ($SOMETHING) with their values. The
22695 format is $VARNAME or ${VARNAME} where VARNAME contains alphanumeric
22696 characters and '_' only. '$' must be escaped ('\\$') in order to be
22697 taken literally.</docstring>
22698 <paramlist>
22699 <param name="sz" type="String" default=""/>
22700 </paramlist>
22701 </method>
22702 <pythoncode>
22703 #---------------------------------------------------------------------------
22704 </pythoncode>
22705 <class name="DateTime" oldname="wxDateTime" module="_misc">
22706 <constructor name="DateTime" overloaded="no">
22707 <autodoc>__init__(self) -&gt; DateTime</autodoc>
22708 </constructor>
22709 <constructor name="DateTimeFromTimeT" overloaded="no">
22710 <autodoc>DateTimeFromTimeT(time_t timet) -&gt; DateTime</autodoc>
22711 <paramlist>
22712 <param name="timet" type="time_t" default=""/>
22713 </paramlist>
22714 </constructor>
22715 <constructor name="DateTimeFromJDN" overloaded="no">
22716 <autodoc>DateTimeFromJDN(double jdn) -&gt; DateTime</autodoc>
22717 <paramlist>
22718 <param name="jdn" type="double" default=""/>
22719 </paramlist>
22720 </constructor>
22721 <constructor name="DateTimeFromHMS" overloaded="no">
22722 <autodoc>DateTimeFromHMS(int hour, int minute=0, int second=0, int millisec=0) -&gt; DateTime</autodoc>
22723 <paramlist>
22724 <param name="hour" type="int" default=""/>
22725 <param name="minute" type="int" default="0"/>
22726 <param name="second" type="int" default="0"/>
22727 <param name="millisec" type="int" default="0"/>
22728 </paramlist>
22729 </constructor>
22730 <constructor name="DateTimeFromDMY" overloaded="no">
22731 <autodoc>DateTimeFromDMY(int day, int month=Inv_Month, int year=Inv_Year, int hour=0,
22732 int minute=0, int second=0, int millisec=0) -&gt; DateTime</autodoc>
22733 <paramlist>
22734 <param name="day" type="int" default=""/>
22735 <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
22736 <param name="year" type="int" default="wxDateTime::Inv_Year"/>
22737 <param name="hour" type="int" default="0"/>
22738 <param name="minute" type="int" default="0"/>
22739 <param name="second" type="int" default="0"/>
22740 <param name="millisec" type="int" default="0"/>
22741 </paramlist>
22742 </constructor>
22743 <destructor name="~wxDateTime" overloaded="no">
22744 <autodoc>__del__(self)</autodoc>
22745 </destructor>
22746 <staticmethod name="SetCountry" type="" overloaded="no">
22747 <autodoc>SetCountry(int country)</autodoc>
22748 <paramlist>
22749 <param name="country" type="wxDateTime::Country" default=""/>
22750 </paramlist>
22751 </staticmethod>
22752 <staticmethod name="GetCountry" type="wxDateTime::Country" overloaded="no">
22753 <autodoc>GetCountry() -&gt; int</autodoc>
22754 </staticmethod>
22755 <staticmethod name="IsWestEuropeanCountry" type="bool" overloaded="no">
22756 <autodoc>IsWestEuropeanCountry(int country=Country_Default) -&gt; bool</autodoc>
22757 <paramlist>
22758 <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
22759 </paramlist>
22760 </staticmethod>
22761 <staticmethod name="GetCurrentYear" type="int" overloaded="no">
22762 <autodoc>GetCurrentYear(int cal=Gregorian) -&gt; int</autodoc>
22763 <paramlist>
22764 <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/>
22765 </paramlist>
22766 </staticmethod>
22767 <staticmethod name="ConvertYearToBC" type="int" overloaded="no">
22768 <autodoc>ConvertYearToBC(int year) -&gt; int</autodoc>
22769 <paramlist>
22770 <param name="year" type="int" default=""/>
22771 </paramlist>
22772 </staticmethod>
22773 <staticmethod name="GetCurrentMonth" type="wxDateTime::Month" overloaded="no">
22774 <autodoc>GetCurrentMonth(int cal=Gregorian) -&gt; int</autodoc>
22775 <paramlist>
22776 <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/>
22777 </paramlist>
22778 </staticmethod>
22779 <staticmethod name="IsLeapYear" type="bool" overloaded="no">
22780 <autodoc>IsLeapYear(int year=Inv_Year, int cal=Gregorian) -&gt; bool</autodoc>
22781 <paramlist>
22782 <param name="year" type="int" default="wxDateTime::Inv_Year"/>
22783 <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/>
22784 </paramlist>
22785 </staticmethod>
22786 <staticmethod name="GetCentury" type="int" overloaded="no">
22787 <autodoc>GetCentury(int year=Inv_Year) -&gt; int</autodoc>
22788 <paramlist>
22789 <param name="year" type="int" default="wxDateTime::Inv_Year"/>
22790 </paramlist>
22791 </staticmethod>
22792 <staticmethod name="GetNumberOfDaysinYear" type="int" overloaded="no">
22793 <autodoc>GetNumberOfDaysinYear(int year, int cal=Gregorian) -&gt; int</autodoc>
22794 <paramlist>
22795 <param name="year" type="int" default=""/>
22796 <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/>
22797 </paramlist>
22798 </staticmethod>
22799 <staticmethod name="GetNumberOfDaysInMonth" type="int" overloaded="no">
22800 <autodoc>GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -&gt; int</autodoc>
22801 <paramlist>
22802 <param name="month" type="wxDateTime::Month" default=""/>
22803 <param name="year" type="int" default="wxDateTime::Inv_Year"/>
22804 <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/>
22805 </paramlist>
22806 </staticmethod>
22807 <staticmethod name="GetMonthName" type="String" overloaded="no">
22808 <autodoc>GetMonthName(int month, int flags=Name_Full) -&gt; String</autodoc>
22809 <paramlist>
22810 <param name="month" type="wxDateTime::Month" default=""/>
22811 <param name="flags" type="wxDateTime::NameFlags" default="wxDateTime::Name_Full"/>
22812 </paramlist>
22813 </staticmethod>
22814 <staticmethod name="GetWeekDayName" type="String" overloaded="no">
22815 <autodoc>GetWeekDayName(int weekday, int flags=Name_Full) -&gt; String</autodoc>
22816 <paramlist>
22817 <param name="weekday" type="wxDateTime::WeekDay" default=""/>
22818 <param name="flags" type="wxDateTime::NameFlags" default="wxDateTime::Name_Full"/>
22819 </paramlist>
22820 </staticmethod>
22821 <staticmethod name="GetAmPmStrings" type="" overloaded="no">
22822 <autodoc>GetAmPmStrings() -&gt; (am, pm)</autodoc>
22823 <paramlist>
22824 <param name="OUTPUT" type="String" default=""/>
22825 <param name="OUTPUT" type="String" default=""/>
22826 </paramlist>
22827 </staticmethod>
22828 <staticmethod name="IsDSTApplicable" type="bool" overloaded="no">
22829 <autodoc>IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -&gt; bool</autodoc>
22830 <paramlist>
22831 <param name="year" type="int" default="wxDateTime::Inv_Year"/>
22832 <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
22833 </paramlist>
22834 </staticmethod>
22835 <staticmethod name="GetBeginDST" type="DateTime" overloaded="no">
22836 <autodoc>GetBeginDST(int year=Inv_Year, int country=Country_Default) -&gt; DateTime</autodoc>
22837 <paramlist>
22838 <param name="year" type="int" default="wxDateTime::Inv_Year"/>
22839 <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
22840 </paramlist>
22841 </staticmethod>
22842 <staticmethod name="GetEndDST" type="DateTime" overloaded="no">
22843 <autodoc>GetEndDST(int year=Inv_Year, int country=Country_Default) -&gt; DateTime</autodoc>
22844 <paramlist>
22845 <param name="year" type="int" default="wxDateTime::Inv_Year"/>
22846 <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
22847 </paramlist>
22848 </staticmethod>
22849 <staticmethod name="Now" type="DateTime" overloaded="no">
22850 <autodoc>Now() -&gt; DateTime</autodoc>
22851 </staticmethod>
22852 <staticmethod name="UNow" type="DateTime" overloaded="no">
22853 <autodoc>UNow() -&gt; DateTime</autodoc>
22854 </staticmethod>
22855 <staticmethod name="Today" type="DateTime" overloaded="no">
22856 <autodoc>Today() -&gt; DateTime</autodoc>
22857 </staticmethod>
22858 <method name="SetToCurrent" type="DateTime" overloaded="no">
22859 <autodoc>SetToCurrent(self) -&gt; DateTime</autodoc>
22860 </method>
22861 <method name="SetTimeT" type="DateTime" overloaded="no">
22862 <autodoc>SetTimeT(self, time_t timet) -&gt; DateTime</autodoc>
22863 <paramlist>
22864 <param name="timet" type="time_t" default=""/>
22865 </paramlist>
22866 </method>
22867 <method name="SetJDN" type="DateTime" overloaded="no">
22868 <autodoc>SetJDN(self, double jdn) -&gt; DateTime</autodoc>
22869 <paramlist>
22870 <param name="jdn" type="double" default=""/>
22871 </paramlist>
22872 </method>
22873 <method name="SetHMS" type="DateTime" overloaded="no">
22874 <autodoc>SetHMS(self, int hour, int minute=0, int second=0, int millisec=0) -&gt; DateTime</autodoc>
22875 <paramlist>
22876 <param name="hour" type="int" default=""/>
22877 <param name="minute" type="int" default="0"/>
22878 <param name="second" type="int" default="0"/>
22879 <param name="millisec" type="int" default="0"/>
22880 </paramlist>
22881 </method>
22882 <method name="Set" type="DateTime" overloaded="no">
22883 <autodoc>Set(self, int day, int month=Inv_Month, int year=Inv_Year, int hour=0,
22884 int minute=0, int second=0, int millisec=0) -&gt; DateTime</autodoc>
22885 <paramlist>
22886 <param name="day" type="int" default=""/>
22887 <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
22888 <param name="year" type="int" default="wxDateTime::Inv_Year"/>
22889 <param name="hour" type="int" default="0"/>
22890 <param name="minute" type="int" default="0"/>
22891 <param name="second" type="int" default="0"/>
22892 <param name="millisec" type="int" default="0"/>
22893 </paramlist>
22894 </method>
22895 <method name="ResetTime" type="DateTime" overloaded="no">
22896 <autodoc>ResetTime(self) -&gt; DateTime</autodoc>
22897 </method>
22898 <method name="SetYear" type="DateTime" overloaded="no">
22899 <autodoc>SetYear(self, int year) -&gt; DateTime</autodoc>
22900 <paramlist>
22901 <param name="year" type="int" default=""/>
22902 </paramlist>
22903 </method>
22904 <method name="SetMonth" type="DateTime" overloaded="no">
22905 <autodoc>SetMonth(self, int month) -&gt; DateTime</autodoc>
22906 <paramlist>
22907 <param name="month" type="wxDateTime::Month" default=""/>
22908 </paramlist>
22909 </method>
22910 <method name="SetDay" type="DateTime" overloaded="no">
22911 <autodoc>SetDay(self, int day) -&gt; DateTime</autodoc>
22912 <paramlist>
22913 <param name="day" type="int" default=""/>
22914 </paramlist>
22915 </method>
22916 <method name="SetHour" type="DateTime" overloaded="no">
22917 <autodoc>SetHour(self, int hour) -&gt; DateTime</autodoc>
22918 <paramlist>
22919 <param name="hour" type="int" default=""/>
22920 </paramlist>
22921 </method>
22922 <method name="SetMinute" type="DateTime" overloaded="no">
22923 <autodoc>SetMinute(self, int minute) -&gt; DateTime</autodoc>
22924 <paramlist>
22925 <param name="minute" type="int" default=""/>
22926 </paramlist>
22927 </method>
22928 <method name="SetSecond" type="DateTime" overloaded="no">
22929 <autodoc>SetSecond(self, int second) -&gt; DateTime</autodoc>
22930 <paramlist>
22931 <param name="second" type="int" default=""/>
22932 </paramlist>
22933 </method>
22934 <method name="SetMillisecond" type="DateTime" overloaded="no">
22935 <autodoc>SetMillisecond(self, int millisecond) -&gt; DateTime</autodoc>
22936 <paramlist>
22937 <param name="millisecond" type="int" default=""/>
22938 </paramlist>
22939 </method>
22940 <method name="SetToWeekDayInSameWeek" type="DateTime" overloaded="no">
22941 <autodoc>SetToWeekDayInSameWeek(self, int weekday, int flags=Monday_First) -&gt; DateTime</autodoc>
22942 <paramlist>
22943 <param name="weekday" type="wxDateTime::WeekDay" default=""/>
22944 <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
22945 </paramlist>
22946 </method>
22947 <method name="GetWeekDayInSameWeek" type="DateTime" overloaded="no">
22948 <autodoc>GetWeekDayInSameWeek(self, int weekday, int flags=Monday_First) -&gt; DateTime</autodoc>
22949 <paramlist>
22950 <param name="weekday" type="wxDateTime::WeekDay" default=""/>
22951 <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
22952 </paramlist>
22953 </method>
22954 <method name="SetToNextWeekDay" type="DateTime" overloaded="no">
22955 <autodoc>SetToNextWeekDay(self, int weekday) -&gt; DateTime</autodoc>
22956 <paramlist>
22957 <param name="weekday" type="wxDateTime::WeekDay" default=""/>
22958 </paramlist>
22959 </method>
22960 <method name="GetNextWeekDay" type="DateTime" overloaded="no">
22961 <autodoc>GetNextWeekDay(self, int weekday) -&gt; DateTime</autodoc>
22962 <paramlist>
22963 <param name="weekday" type="wxDateTime::WeekDay" default=""/>
22964 </paramlist>
22965 </method>
22966 <method name="SetToPrevWeekDay" type="DateTime" overloaded="no">
22967 <autodoc>SetToPrevWeekDay(self, int weekday) -&gt; DateTime</autodoc>
22968 <paramlist>
22969 <param name="weekday" type="wxDateTime::WeekDay" default=""/>
22970 </paramlist>
22971 </method>
22972 <method name="GetPrevWeekDay" type="DateTime" overloaded="no">
22973 <autodoc>GetPrevWeekDay(self, int weekday) -&gt; DateTime</autodoc>
22974 <paramlist>
22975 <param name="weekday" type="wxDateTime::WeekDay" default=""/>
22976 </paramlist>
22977 </method>
22978 <method name="SetToWeekDay" type="bool" overloaded="no">
22979 <autodoc>SetToWeekDay(self, int weekday, int n=1, int month=Inv_Month, int year=Inv_Year) -&gt; bool</autodoc>
22980 <paramlist>
22981 <param name="weekday" type="wxDateTime::WeekDay" default=""/>
22982 <param name="n" type="int" default="1"/>
22983 <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
22984 <param name="year" type="int" default="wxDateTime::Inv_Year"/>
22985 </paramlist>
22986 </method>
22987 <method name="SetToLastWeekDay" type="bool" overloaded="no">
22988 <autodoc>SetToLastWeekDay(self, int weekday, int month=Inv_Month, int year=Inv_Year) -&gt; bool</autodoc>
22989 <paramlist>
22990 <param name="weekday" type="wxDateTime::WeekDay" default=""/>
22991 <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
22992 <param name="year" type="int" default="wxDateTime::Inv_Year"/>
22993 </paramlist>
22994 </method>
22995 <method name="GetLastWeekDay" type="DateTime" overloaded="no">
22996 <autodoc>GetLastWeekDay(self, int weekday, int month=Inv_Month, int year=Inv_Year) -&gt; DateTime</autodoc>
22997 <paramlist>
22998 <param name="weekday" type="wxDateTime::WeekDay" default=""/>
22999 <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
23000 <param name="year" type="int" default="wxDateTime::Inv_Year"/>
23001 </paramlist>
23002 </method>
23003 <method name="SetToTheWeek" type="bool" overloaded="no">
23004 <autodoc>SetToTheWeek(self, int numWeek, int weekday=Mon, int flags=Monday_First) -&gt; bool</autodoc>
23005 <paramlist>
23006 <param name="numWeek" type="int" default=""/>
23007 <param name="weekday" type="wxDateTime::WeekDay" default="wxDateTime::Mon"/>
23008 <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
23009 </paramlist>
23010 </method>
23011 <method name="GetWeek" type="DateTime" overloaded="no">
23012 <autodoc>GetWeek(self, int numWeek, int weekday=Mon, int flags=Monday_First) -&gt; DateTime</autodoc>
23013 <paramlist>
23014 <param name="numWeek" type="int" default=""/>
23015 <param name="weekday" type="wxDateTime::WeekDay" default="wxDateTime::Mon"/>
23016 <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
23017 </paramlist>
23018 </method>
23019 <method name="SetToLastMonthDay" type="DateTime" overloaded="no">
23020 <autodoc>SetToLastMonthDay(self, int month=Inv_Month, int year=Inv_Year) -&gt; DateTime</autodoc>
23021 <paramlist>
23022 <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
23023 <param name="year" type="int" default="wxDateTime::Inv_Year"/>
23024 </paramlist>
23025 </method>
23026 <method name="GetLastMonthDay" type="DateTime" overloaded="no">
23027 <autodoc>GetLastMonthDay(self, int month=Inv_Month, int year=Inv_Year) -&gt; DateTime</autodoc>
23028 <paramlist>
23029 <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
23030 <param name="year" type="int" default="wxDateTime::Inv_Year"/>
23031 </paramlist>
23032 </method>
23033 <method name="SetToYearDay" type="DateTime" overloaded="no">
23034 <autodoc>SetToYearDay(self, int yday) -&gt; DateTime</autodoc>
23035 <paramlist>
23036 <param name="yday" type="int" default=""/>
23037 </paramlist>
23038 </method>
23039 <method name="GetYearDay" type="DateTime" overloaded="no">
23040 <autodoc>GetYearDay(self, int yday) -&gt; DateTime</autodoc>
23041 <paramlist>
23042 <param name="yday" type="int" default=""/>
23043 </paramlist>
23044 </method>
23045 <method name="GetJulianDayNumber" type="double" overloaded="no">
23046 <autodoc>GetJulianDayNumber(self) -&gt; double</autodoc>
23047 </method>
23048 <method name="GetJDN" type="double" overloaded="no">
23049 <autodoc>GetJDN(self) -&gt; double</autodoc>
23050 </method>
23051 <method name="GetModifiedJulianDayNumber" type="double" overloaded="no">
23052 <autodoc>GetModifiedJulianDayNumber(self) -&gt; double</autodoc>
23053 </method>
23054 <method name="GetMJD" type="double" overloaded="no">
23055 <autodoc>GetMJD(self) -&gt; double</autodoc>
23056 </method>
23057 <method name="GetRataDie" type="double" overloaded="no">
23058 <autodoc>GetRataDie(self) -&gt; double</autodoc>
23059 </method>
23060 <method name="ToTimezone" type="DateTime" overloaded="no">
23061 <autodoc>ToTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -&gt; DateTime</autodoc>
23062 <paramlist>
23063 <param name="tz" type="wxDateTime::TimeZone" default=""/>
23064 <param name="noDST" type="bool" default="False"/>
23065 </paramlist>
23066 </method>
23067 <method name="MakeTimezone" type="DateTime" overloaded="no">
23068 <autodoc>MakeTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -&gt; DateTime</autodoc>
23069 <paramlist>
23070 <param name="tz" type="wxDateTime::TimeZone" default=""/>
23071 <param name="noDST" type="bool" default="False"/>
23072 </paramlist>
23073 </method>
23074 <method name="ToGMT" type="DateTime" overloaded="no">
23075 <autodoc>ToGMT(self, bool noDST=False) -&gt; DateTime</autodoc>
23076 <paramlist>
23077 <param name="noDST" type="bool" default="False"/>
23078 </paramlist>
23079 </method>
23080 <method name="MakeGMT" type="DateTime" overloaded="no">
23081 <autodoc>MakeGMT(self, bool noDST=False) -&gt; DateTime</autodoc>
23082 <paramlist>
23083 <param name="noDST" type="bool" default="False"/>
23084 </paramlist>
23085 </method>
23086 <method name="IsDST" type="int" overloaded="no">
23087 <autodoc>IsDST(self, int country=Country_Default) -&gt; int</autodoc>
23088 <paramlist>
23089 <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
23090 </paramlist>
23091 </method>
23092 <method name="IsValid" type="bool" overloaded="no">
23093 <autodoc>IsValid(self) -&gt; bool</autodoc>
23094 </method>
23095 <method name="GetTicks" type="time_t" overloaded="no">
23096 <autodoc>GetTicks(self) -&gt; time_t</autodoc>
23097 </method>
23098 <method name="GetYear" type="int" overloaded="no">
23099 <autodoc>GetYear(self, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
23100 <paramlist>
23101 <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
23102 </paramlist>
23103 </method>
23104 <method name="GetMonth" type="wxDateTime::Month" overloaded="no">
23105 <autodoc>GetMonth(self, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
23106 <paramlist>
23107 <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
23108 </paramlist>
23109 </method>
23110 <method name="GetDay" type="int" overloaded="no">
23111 <autodoc>GetDay(self, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
23112 <paramlist>
23113 <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
23114 </paramlist>
23115 </method>
23116 <method name="GetWeekDay" type="wxDateTime::WeekDay" overloaded="no">
23117 <autodoc>GetWeekDay(self, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
23118 <paramlist>
23119 <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
23120 </paramlist>
23121 </method>
23122 <method name="GetHour" type="int" overloaded="no">
23123 <autodoc>GetHour(self, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
23124 <paramlist>
23125 <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
23126 </paramlist>
23127 </method>
23128 <method name="GetMinute" type="int" overloaded="no">
23129 <autodoc>GetMinute(self, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
23130 <paramlist>
23131 <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
23132 </paramlist>
23133 </method>
23134 <method name="GetSecond" type="int" overloaded="no">
23135 <autodoc>GetSecond(self, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
23136 <paramlist>
23137 <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
23138 </paramlist>
23139 </method>
23140 <method name="GetMillisecond" type="int" overloaded="no">
23141 <autodoc>GetMillisecond(self, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
23142 <paramlist>
23143 <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
23144 </paramlist>
23145 </method>
23146 <method name="GetDayOfYear" type="int" overloaded="no">
23147 <autodoc>GetDayOfYear(self, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
23148 <paramlist>
23149 <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
23150 </paramlist>
23151 </method>
23152 <method name="GetWeekOfYear" type="int" overloaded="no">
23153 <autodoc>GetWeekOfYear(self, int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
23154 <paramlist>
23155 <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
23156 <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
23157 </paramlist>
23158 </method>
23159 <method name="GetWeekOfMonth" type="int" overloaded="no">
23160 <autodoc>GetWeekOfMonth(self, int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
23161 <paramlist>
23162 <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
23163 <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
23164 </paramlist>
23165 </method>
23166 <method name="IsWorkDay" type="bool" overloaded="no">
23167 <autodoc>IsWorkDay(self, int country=Country_Default) -&gt; bool</autodoc>
23168 <paramlist>
23169 <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
23170 </paramlist>
23171 </method>
23172 <method name="IsEqualTo" type="bool" overloaded="no">
23173 <autodoc>IsEqualTo(self, DateTime datetime) -&gt; bool</autodoc>
23174 <paramlist>
23175 <param name="datetime" type="DateTime" default=""/>
23176 </paramlist>
23177 </method>
23178 <method name="IsEarlierThan" type="bool" overloaded="no">
23179 <autodoc>IsEarlierThan(self, DateTime datetime) -&gt; bool</autodoc>
23180 <paramlist>
23181 <param name="datetime" type="DateTime" default=""/>
23182 </paramlist>
23183 </method>
23184 <method name="IsLaterThan" type="bool" overloaded="no">
23185 <autodoc>IsLaterThan(self, DateTime datetime) -&gt; bool</autodoc>
23186 <paramlist>
23187 <param name="datetime" type="DateTime" default=""/>
23188 </paramlist>
23189 </method>
23190 <method name="IsStrictlyBetween" type="bool" overloaded="no">
23191 <autodoc>IsStrictlyBetween(self, DateTime t1, DateTime t2) -&gt; bool</autodoc>
23192 <paramlist>
23193 <param name="t1" type="DateTime" default=""/>
23194 <param name="t2" type="DateTime" default=""/>
23195 </paramlist>
23196 </method>
23197 <method name="IsBetween" type="bool" overloaded="no">
23198 <autodoc>IsBetween(self, DateTime t1, DateTime t2) -&gt; bool</autodoc>
23199 <paramlist>
23200 <param name="t1" type="DateTime" default=""/>
23201 <param name="t2" type="DateTime" default=""/>
23202 </paramlist>
23203 </method>
23204 <method name="IsSameDate" type="bool" overloaded="no">
23205 <autodoc>IsSameDate(self, DateTime dt) -&gt; bool</autodoc>
23206 <paramlist>
23207 <param name="dt" type="DateTime" default=""/>
23208 </paramlist>
23209 </method>
23210 <method name="IsSameTime" type="bool" overloaded="no">
23211 <autodoc>IsSameTime(self, DateTime dt) -&gt; bool</autodoc>
23212 <paramlist>
23213 <param name="dt" type="DateTime" default=""/>
23214 </paramlist>
23215 </method>
23216 <method name="IsEqualUpTo" type="bool" overloaded="no">
23217 <autodoc>IsEqualUpTo(self, DateTime dt, TimeSpan ts) -&gt; bool</autodoc>
23218 <paramlist>
23219 <param name="dt" type="DateTime" default=""/>
23220 <param name="ts" type="wxTimeSpan" default=""/>
23221 </paramlist>
23222 </method>
23223 <method name="AddTS" type="DateTime" overloaded="no">
23224 <autodoc>AddTS(self, TimeSpan diff) -&gt; DateTime</autodoc>
23225 <paramlist>
23226 <param name="diff" type="wxTimeSpan" default=""/>
23227 </paramlist>
23228 </method>
23229 <method name="AddDS" type="DateTime" overloaded="no">
23230 <autodoc>AddDS(self, DateSpan diff) -&gt; DateTime</autodoc>
23231 <paramlist>
23232 <param name="diff" type="wxDateSpan" default=""/>
23233 </paramlist>
23234 </method>
23235 <method name="SubtractTS" type="DateTime" overloaded="no">
23236 <autodoc>SubtractTS(self, TimeSpan diff) -&gt; DateTime</autodoc>
23237 <paramlist>
23238 <param name="diff" type="wxTimeSpan" default=""/>
23239 </paramlist>
23240 </method>
23241 <method name="SubtractDS" type="DateTime" overloaded="no">
23242 <autodoc>SubtractDS(self, DateSpan diff) -&gt; DateTime</autodoc>
23243 <paramlist>
23244 <param name="diff" type="wxDateSpan" default=""/>
23245 </paramlist>
23246 </method>
23247 <method name="Subtract" type="wxTimeSpan" overloaded="no">
23248 <autodoc>Subtract(self, DateTime dt) -&gt; TimeSpan</autodoc>
23249 <paramlist>
23250 <param name="dt" type="DateTime" default=""/>
23251 </paramlist>
23252 </method>
23253 <method name="__iadd__" type="DateTime" overloaded="yes">
23254 <paramlist>
23255 <param name="diff" type="wxTimeSpan" default=""/>
23256 </paramlist>
23257 </method>
23258 <method name="__iadd__" type="DateTime" overloaded="yes">
23259 <autodoc>__iadd__(self, TimeSpan diff) -&gt; DateTime
23260 __iadd__(self, DateSpan diff) -&gt; DateTime</autodoc>
23261 <paramlist>
23262 <param name="diff" type="wxDateSpan" default=""/>
23263 </paramlist>
23264 </method>
23265 <method name="__isub__" type="DateTime" overloaded="yes">
23266 <paramlist>
23267 <param name="diff" type="wxTimeSpan" default=""/>
23268 </paramlist>
23269 </method>
23270 <method name="__isub__" type="DateTime" overloaded="yes">
23271 <autodoc>__isub__(self, TimeSpan diff) -&gt; DateTime
23272 __isub__(self, DateSpan diff) -&gt; DateTime</autodoc>
23273 <paramlist>
23274 <param name="diff" type="wxDateSpan" default=""/>
23275 </paramlist>
23276 </method>
23277 <method name="__add__" type="DateTime" overloaded="yes">
23278 <paramlist>
23279 <param name="other" type="wxTimeSpan" default=""/>
23280 </paramlist>
23281 </method>
23282 <method name="__add__" type="DateTime" overloaded="yes">
23283 <autodoc>__add__(self, TimeSpan other) -&gt; DateTime
23284 __add__(self, DateSpan other) -&gt; DateTime</autodoc>
23285 <paramlist>
23286 <param name="other" type="wxDateSpan" default=""/>
23287 </paramlist>
23288 </method>
23289 <method name="__sub__" type="wxTimeSpan" overloaded="yes">
23290 <paramlist>
23291 <param name="other" type="DateTime" default=""/>
23292 </paramlist>
23293 </method>
23294 <method name="__sub__" type="DateTime" overloaded="yes">
23295 <paramlist>
23296 <param name="other" type="wxTimeSpan" default=""/>
23297 </paramlist>
23298 </method>
23299 <method name="__sub__" type="DateTime" overloaded="yes">
23300 <autodoc>__sub__(self, DateTime other) -&gt; TimeSpan
23301 __sub__(self, TimeSpan other) -&gt; DateTime
23302 __sub__(self, DateSpan other) -&gt; DateTime</autodoc>
23303 <paramlist>
23304 <param name="other" type="wxDateSpan" default=""/>
23305 </paramlist>
23306 </method>
23307 <method name="__lt__" type="bool" overloaded="no">
23308 <autodoc>__lt__(self, DateTime other) -&gt; bool</autodoc>
23309 <paramlist>
23310 <param name="other" type="DateTime" default=""/>
23311 </paramlist>
23312 </method>
23313 <method name="__le__" type="bool" overloaded="no">
23314 <autodoc>__le__(self, DateTime other) -&gt; bool</autodoc>
23315 <paramlist>
23316 <param name="other" type="DateTime" default=""/>
23317 </paramlist>
23318 </method>
23319 <method name="__gt__" type="bool" overloaded="no">
23320 <autodoc>__gt__(self, DateTime other) -&gt; bool</autodoc>
23321 <paramlist>
23322 <param name="other" type="DateTime" default=""/>
23323 </paramlist>
23324 </method>
23325 <method name="__ge__" type="bool" overloaded="no">
23326 <autodoc>__ge__(self, DateTime other) -&gt; bool</autodoc>
23327 <paramlist>
23328 <param name="other" type="DateTime" default=""/>
23329 </paramlist>
23330 </method>
23331 <method name="__eq__" type="bool" overloaded="no">
23332 <autodoc>__eq__(self, DateTime other) -&gt; bool</autodoc>
23333 <paramlist>
23334 <param name="other" type="DateTime" default=""/>
23335 </paramlist>
23336 </method>
23337 <method name="__ne__" type="bool" overloaded="no">
23338 <autodoc>__ne__(self, DateTime other) -&gt; bool</autodoc>
23339 <paramlist>
23340 <param name="other" type="DateTime" default=""/>
23341 </paramlist>
23342 </method>
23343 <method name="ParseRfc822Date" type="int" overloaded="no">
23344 <autodoc>ParseRfc822Date(self, String date) -&gt; int</autodoc>
23345 <paramlist>
23346 <param name="date" type="String" default=""/>
23347 </paramlist>
23348 </method>
23349 <method name="ParseFormat" type="int" overloaded="no">
23350 <autodoc>ParseFormat(self, String date, String format=DateFormatStr, DateTime dateDef=DefaultDateTime) -&gt; int</autodoc>
23351 <paramlist>
23352 <param name="date" type="String" default=""/>
23353 <param name="format" type="String" default="wxPyDateFormatStr"/>
23354 <param name="dateDef" type="DateTime" default="wxDefaultDateTime"/>
23355 </paramlist>
23356 </method>
23357 <method name="ParseDateTime" type="int" overloaded="no">
23358 <autodoc>ParseDateTime(self, String datetime) -&gt; int</autodoc>
23359 <paramlist>
23360 <param name="datetime" type="String" default=""/>
23361 </paramlist>
23362 </method>
23363 <method name="ParseDate" type="int" overloaded="no">
23364 <autodoc>ParseDate(self, String date) -&gt; int</autodoc>
23365 <paramlist>
23366 <param name="date" type="String" default=""/>
23367 </paramlist>
23368 </method>
23369 <method name="ParseTime" type="int" overloaded="no">
23370 <autodoc>ParseTime(self, String time) -&gt; int</autodoc>
23371 <paramlist>
23372 <param name="time" type="String" default=""/>
23373 </paramlist>
23374 </method>
23375 <method name="Format" type="String" overloaded="no">
23376 <autodoc>Format(self, String format=DateFormatStr, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; String</autodoc>
23377 <paramlist>
23378 <param name="format" type="String" default="wxPyDateFormatStr"/>
23379 <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
23380 </paramlist>
23381 </method>
23382 <method name="FormatDate" type="String" overloaded="no">
23383 <autodoc>FormatDate(self) -&gt; String</autodoc>
23384 </method>
23385 <method name="FormatTime" type="String" overloaded="no">
23386 <autodoc>FormatTime(self) -&gt; String</autodoc>
23387 </method>
23388 <method name="FormatISODate" type="String" overloaded="no">
23389 <autodoc>FormatISODate(self) -&gt; String</autodoc>
23390 </method>
23391 <method name="FormatISOTime" type="String" overloaded="no">
23392 <autodoc>FormatISOTime(self) -&gt; String</autodoc>
23393 </method>
23394 </class>
23395 <class name="TimeSpan" oldname="wxTimeSpan" module="_misc">
23396 <constructor name="TimeSpan" overloaded="no">
23397 <autodoc>__init__(self, long hours=0, long minutes=0, long seconds=0, long milliseconds=0) -&gt; TimeSpan</autodoc>
23398 <paramlist>
23399 <param name="hours" type="long" default="0"/>
23400 <param name="minutes" type="long" default="0"/>
23401 <param name="seconds" type="long" default="0"/>
23402 <param name="milliseconds" type="long" default="0"/>
23403 </paramlist>
23404 </constructor>
23405 <destructor name="~wxTimeSpan" overloaded="no">
23406 <autodoc>__del__(self)</autodoc>
23407 </destructor>
23408 <staticmethod name="Seconds" type="TimeSpan" overloaded="no">
23409 <autodoc>Seconds(long sec) -&gt; TimeSpan</autodoc>
23410 <paramlist>
23411 <param name="sec" type="long" default=""/>
23412 </paramlist>
23413 </staticmethod>
23414 <staticmethod name="Second" type="TimeSpan" overloaded="no">
23415 <autodoc>Second() -&gt; TimeSpan</autodoc>
23416 </staticmethod>
23417 <staticmethod name="Minutes" type="TimeSpan" overloaded="no">
23418 <autodoc>Minutes(long min) -&gt; TimeSpan</autodoc>
23419 <paramlist>
23420 <param name="min" type="long" default=""/>
23421 </paramlist>
23422 </staticmethod>
23423 <staticmethod name="Minute" type="TimeSpan" overloaded="no">
23424 <autodoc>Minute() -&gt; TimeSpan</autodoc>
23425 </staticmethod>
23426 <staticmethod name="Hours" type="TimeSpan" overloaded="no">
23427 <autodoc>Hours(long hours) -&gt; TimeSpan</autodoc>
23428 <paramlist>
23429 <param name="hours" type="long" default=""/>
23430 </paramlist>
23431 </staticmethod>
23432 <staticmethod name="Hour" type="TimeSpan" overloaded="no">
23433 <autodoc>Hour() -&gt; TimeSpan</autodoc>
23434 </staticmethod>
23435 <staticmethod name="Days" type="TimeSpan" overloaded="no">
23436 <autodoc>Days(long days) -&gt; TimeSpan</autodoc>
23437 <paramlist>
23438 <param name="days" type="long" default=""/>
23439 </paramlist>
23440 </staticmethod>
23441 <staticmethod name="Day" type="TimeSpan" overloaded="no">
23442 <autodoc>Day() -&gt; TimeSpan</autodoc>
23443 </staticmethod>
23444 <staticmethod name="Weeks" type="TimeSpan" overloaded="no">
23445 <autodoc>Weeks(long days) -&gt; TimeSpan</autodoc>
23446 <paramlist>
23447 <param name="days" type="long" default=""/>
23448 </paramlist>
23449 </staticmethod>
23450 <staticmethod name="Week" type="TimeSpan" overloaded="no">
23451 <autodoc>Week() -&gt; TimeSpan</autodoc>
23452 </staticmethod>
23453 <method name="Add" type="TimeSpan" overloaded="no">
23454 <autodoc>Add(self, TimeSpan diff) -&gt; TimeSpan</autodoc>
23455 <paramlist>
23456 <param name="diff" type="TimeSpan" default=""/>
23457 </paramlist>
23458 </method>
23459 <method name="Subtract" type="TimeSpan" overloaded="no">
23460 <autodoc>Subtract(self, TimeSpan diff) -&gt; TimeSpan</autodoc>
23461 <paramlist>
23462 <param name="diff" type="TimeSpan" default=""/>
23463 </paramlist>
23464 </method>
23465 <method name="Multiply" type="TimeSpan" overloaded="no">
23466 <autodoc>Multiply(self, int n) -&gt; TimeSpan</autodoc>
23467 <paramlist>
23468 <param name="n" type="int" default=""/>
23469 </paramlist>
23470 </method>
23471 <method name="Neg" type="TimeSpan" overloaded="no">
23472 <autodoc>Neg(self) -&gt; TimeSpan</autodoc>
23473 </method>
23474 <method name="Abs" type="TimeSpan" overloaded="no">
23475 <autodoc>Abs(self) -&gt; TimeSpan</autodoc>
23476 </method>
23477 <method name="__iadd__" type="TimeSpan" overloaded="no">
23478 <autodoc>__iadd__(self, TimeSpan diff) -&gt; TimeSpan</autodoc>
23479 <paramlist>
23480 <param name="diff" type="TimeSpan" default=""/>
23481 </paramlist>
23482 </method>
23483 <method name="__isub__" type="TimeSpan" overloaded="no">
23484 <autodoc>__isub__(self, TimeSpan diff) -&gt; TimeSpan</autodoc>
23485 <paramlist>
23486 <param name="diff" type="TimeSpan" default=""/>
23487 </paramlist>
23488 </method>
23489 <method name="__imul__" type="TimeSpan" overloaded="no">
23490 <autodoc>__imul__(self, int n) -&gt; TimeSpan</autodoc>
23491 <paramlist>
23492 <param name="n" type="int" default=""/>
23493 </paramlist>
23494 </method>
23495 <method name="__neg__" type="TimeSpan" overloaded="no">
23496 <autodoc>__neg__(self) -&gt; TimeSpan</autodoc>
23497 </method>
23498 <method name="__add__" type="TimeSpan" overloaded="no">
23499 <autodoc>__add__(self, TimeSpan other) -&gt; TimeSpan</autodoc>
23500 <paramlist>
23501 <param name="other" type="TimeSpan" default=""/>
23502 </paramlist>
23503 </method>
23504 <method name="__sub__" type="TimeSpan" overloaded="no">
23505 <autodoc>__sub__(self, TimeSpan other) -&gt; TimeSpan</autodoc>
23506 <paramlist>
23507 <param name="other" type="TimeSpan" default=""/>
23508 </paramlist>
23509 </method>
23510 <method name="__mul__" type="TimeSpan" overloaded="no">
23511 <autodoc>__mul__(self, int n) -&gt; TimeSpan</autodoc>
23512 <paramlist>
23513 <param name="n" type="int" default=""/>
23514 </paramlist>
23515 </method>
23516 <method name="__rmul__" type="TimeSpan" overloaded="no">
23517 <autodoc>__rmul__(self, int n) -&gt; TimeSpan</autodoc>
23518 <paramlist>
23519 <param name="n" type="int" default=""/>
23520 </paramlist>
23521 </method>
23522 <method name="__lt__" type="bool" overloaded="no">
23523 <autodoc>__lt__(self, TimeSpan other) -&gt; bool</autodoc>
23524 <paramlist>
23525 <param name="other" type="TimeSpan" default=""/>
23526 </paramlist>
23527 </method>
23528 <method name="__le__" type="bool" overloaded="no">
23529 <autodoc>__le__(self, TimeSpan other) -&gt; bool</autodoc>
23530 <paramlist>
23531 <param name="other" type="TimeSpan" default=""/>
23532 </paramlist>
23533 </method>
23534 <method name="__gt__" type="bool" overloaded="no">
23535 <autodoc>__gt__(self, TimeSpan other) -&gt; bool</autodoc>
23536 <paramlist>
23537 <param name="other" type="TimeSpan" default=""/>
23538 </paramlist>
23539 </method>
23540 <method name="__ge__" type="bool" overloaded="no">
23541 <autodoc>__ge__(self, TimeSpan other) -&gt; bool</autodoc>
23542 <paramlist>
23543 <param name="other" type="TimeSpan" default=""/>
23544 </paramlist>
23545 </method>
23546 <method name="__eq__" type="bool" overloaded="no">
23547 <autodoc>__eq__(self, TimeSpan other) -&gt; bool</autodoc>
23548 <paramlist>
23549 <param name="other" type="TimeSpan" default=""/>
23550 </paramlist>
23551 </method>
23552 <method name="__ne__" type="bool" overloaded="no">
23553 <autodoc>__ne__(self, TimeSpan other) -&gt; bool</autodoc>
23554 <paramlist>
23555 <param name="other" type="TimeSpan" default=""/>
23556 </paramlist>
23557 </method>
23558 <method name="IsNull" type="bool" overloaded="no">
23559 <autodoc>IsNull(self) -&gt; bool</autodoc>
23560 </method>
23561 <method name="IsPositive" type="bool" overloaded="no">
23562 <autodoc>IsPositive(self) -&gt; bool</autodoc>
23563 </method>
23564 <method name="IsNegative" type="bool" overloaded="no">
23565 <autodoc>IsNegative(self) -&gt; bool</autodoc>
23566 </method>
23567 <method name="IsEqualTo" type="bool" overloaded="no">
23568 <autodoc>IsEqualTo(self, TimeSpan ts) -&gt; bool</autodoc>
23569 <paramlist>
23570 <param name="ts" type="TimeSpan" default=""/>
23571 </paramlist>
23572 </method>
23573 <method name="IsLongerThan" type="bool" overloaded="no">
23574 <autodoc>IsLongerThan(self, TimeSpan ts) -&gt; bool</autodoc>
23575 <paramlist>
23576 <param name="ts" type="TimeSpan" default=""/>
23577 </paramlist>
23578 </method>
23579 <method name="IsShorterThan" type="bool" overloaded="no">
23580 <autodoc>IsShorterThan(self, TimeSpan t) -&gt; bool</autodoc>
23581 <paramlist>
23582 <param name="t" type="TimeSpan" default=""/>
23583 </paramlist>
23584 </method>
23585 <method name="GetWeeks" type="int" overloaded="no">
23586 <autodoc>GetWeeks(self) -&gt; int</autodoc>
23587 </method>
23588 <method name="GetDays" type="int" overloaded="no">
23589 <autodoc>GetDays(self) -&gt; int</autodoc>
23590 </method>
23591 <method name="GetHours" type="int" overloaded="no">
23592 <autodoc>GetHours(self) -&gt; int</autodoc>
23593 </method>
23594 <method name="GetMinutes" type="int" overloaded="no">
23595 <autodoc>GetMinutes(self) -&gt; int</autodoc>
23596 </method>
23597 <method name="GetSeconds" type="wxLongLong" overloaded="no">
23598 <autodoc>GetSeconds(self) -&gt; wxLongLong</autodoc>
23599 </method>
23600 <method name="GetMilliseconds" type="wxLongLong" overloaded="no">
23601 <autodoc>GetMilliseconds(self) -&gt; wxLongLong</autodoc>
23602 </method>
23603 <method name="Format" type="String" overloaded="no">
23604 <autodoc>Format(self, String format=TimeSpanFormatStr) -&gt; String</autodoc>
23605 <paramlist>
23606 <param name="format" type="String" default="wxPyTimeSpanFormatStr"/>
23607 </paramlist>
23608 </method>
23609 </class>
23610 <class name="DateSpan" oldname="wxDateSpan" module="_misc">
23611 <constructor name="DateSpan" overloaded="no">
23612 <autodoc>__init__(self, int years=0, int months=0, int weeks=0, int days=0) -&gt; DateSpan</autodoc>
23613 <paramlist>
23614 <param name="years" type="int" default="0"/>
23615 <param name="months" type="int" default="0"/>
23616 <param name="weeks" type="int" default="0"/>
23617 <param name="days" type="int" default="0"/>
23618 </paramlist>
23619 </constructor>
23620 <destructor name="~wxDateSpan" overloaded="no">
23621 <autodoc>__del__(self)</autodoc>
23622 </destructor>
23623 <staticmethod name="Days" type="DateSpan" overloaded="no">
23624 <autodoc>Days(int days) -&gt; DateSpan</autodoc>
23625 <paramlist>
23626 <param name="days" type="int" default=""/>
23627 </paramlist>
23628 </staticmethod>
23629 <staticmethod name="Day" type="DateSpan" overloaded="no">
23630 <autodoc>Day() -&gt; DateSpan</autodoc>
23631 </staticmethod>
23632 <staticmethod name="Weeks" type="DateSpan" overloaded="no">
23633 <autodoc>Weeks(int weeks) -&gt; DateSpan</autodoc>
23634 <paramlist>
23635 <param name="weeks" type="int" default=""/>
23636 </paramlist>
23637 </staticmethod>
23638 <staticmethod name="Week" type="DateSpan" overloaded="no">
23639 <autodoc>Week() -&gt; DateSpan</autodoc>
23640 </staticmethod>
23641 <staticmethod name="Months" type="DateSpan" overloaded="no">
23642 <autodoc>Months(int mon) -&gt; DateSpan</autodoc>
23643 <paramlist>
23644 <param name="mon" type="int" default=""/>
23645 </paramlist>
23646 </staticmethod>
23647 <staticmethod name="Month" type="DateSpan" overloaded="no">
23648 <autodoc>Month() -&gt; DateSpan</autodoc>
23649 </staticmethod>
23650 <staticmethod name="Years" type="DateSpan" overloaded="no">
23651 <autodoc>Years(int years) -&gt; DateSpan</autodoc>
23652 <paramlist>
23653 <param name="years" type="int" default=""/>
23654 </paramlist>
23655 </staticmethod>
23656 <staticmethod name="Year" type="DateSpan" overloaded="no">
23657 <autodoc>Year() -&gt; DateSpan</autodoc>
23658 </staticmethod>
23659 <method name="SetYears" type="DateSpan" overloaded="no">
23660 <autodoc>SetYears(self, int n) -&gt; DateSpan</autodoc>
23661 <paramlist>
23662 <param name="n" type="int" default=""/>
23663 </paramlist>
23664 </method>
23665 <method name="SetMonths" type="DateSpan" overloaded="no">
23666 <autodoc>SetMonths(self, int n) -&gt; DateSpan</autodoc>
23667 <paramlist>
23668 <param name="n" type="int" default=""/>
23669 </paramlist>
23670 </method>
23671 <method name="SetWeeks" type="DateSpan" overloaded="no">
23672 <autodoc>SetWeeks(self, int n) -&gt; DateSpan</autodoc>
23673 <paramlist>
23674 <param name="n" type="int" default=""/>
23675 </paramlist>
23676 </method>
23677 <method name="SetDays" type="DateSpan" overloaded="no">
23678 <autodoc>SetDays(self, int n) -&gt; DateSpan</autodoc>
23679 <paramlist>
23680 <param name="n" type="int" default=""/>
23681 </paramlist>
23682 </method>
23683 <method name="GetYears" type="int" overloaded="no">
23684 <autodoc>GetYears(self) -&gt; int</autodoc>
23685 </method>
23686 <method name="GetMonths" type="int" overloaded="no">
23687 <autodoc>GetMonths(self) -&gt; int</autodoc>
23688 </method>
23689 <method name="GetWeeks" type="int" overloaded="no">
23690 <autodoc>GetWeeks(self) -&gt; int</autodoc>
23691 </method>
23692 <method name="GetDays" type="int" overloaded="no">
23693 <autodoc>GetDays(self) -&gt; int</autodoc>
23694 </method>
23695 <method name="GetTotalDays" type="int" overloaded="no">
23696 <autodoc>GetTotalDays(self) -&gt; int</autodoc>
23697 </method>
23698 <method name="Add" type="DateSpan" overloaded="no">
23699 <autodoc>Add(self, DateSpan other) -&gt; DateSpan</autodoc>
23700 <paramlist>
23701 <param name="other" type="DateSpan" default=""/>
23702 </paramlist>
23703 </method>
23704 <method name="Subtract" type="DateSpan" overloaded="no">
23705 <autodoc>Subtract(self, DateSpan other) -&gt; DateSpan</autodoc>
23706 <paramlist>
23707 <param name="other" type="DateSpan" default=""/>
23708 </paramlist>
23709 </method>
23710 <method name="Neg" type="DateSpan" overloaded="no">
23711 <autodoc>Neg(self) -&gt; DateSpan</autodoc>
23712 </method>
23713 <method name="Multiply" type="DateSpan" overloaded="no">
23714 <autodoc>Multiply(self, int factor) -&gt; DateSpan</autodoc>
23715 <paramlist>
23716 <param name="factor" type="int" default=""/>
23717 </paramlist>
23718 </method>
23719 <method name="__iadd__" type="DateSpan" overloaded="no">
23720 <autodoc>__iadd__(self, DateSpan other) -&gt; DateSpan</autodoc>
23721 <paramlist>
23722 <param name="other" type="DateSpan" default=""/>
23723 </paramlist>
23724 </method>
23725 <method name="__isub__" type="DateSpan" overloaded="no">
23726 <autodoc>__isub__(self, DateSpan other) -&gt; DateSpan</autodoc>
23727 <paramlist>
23728 <param name="other" type="DateSpan" default=""/>
23729 </paramlist>
23730 </method>
23731 <method name="__neg__" type="DateSpan" overloaded="no">
23732 <autodoc>__neg__(self) -&gt; DateSpan</autodoc>
23733 </method>
23734 <method name="__imul__" type="DateSpan" overloaded="no">
23735 <autodoc>__imul__(self, int factor) -&gt; DateSpan</autodoc>
23736 <paramlist>
23737 <param name="factor" type="int" default=""/>
23738 </paramlist>
23739 </method>
23740 <method name="__add__" type="DateSpan" overloaded="no">
23741 <autodoc>__add__(self, DateSpan other) -&gt; DateSpan</autodoc>
23742 <paramlist>
23743 <param name="other" type="DateSpan" default=""/>
23744 </paramlist>
23745 </method>
23746 <method name="__sub__" type="DateSpan" overloaded="no">
23747 <autodoc>__sub__(self, DateSpan other) -&gt; DateSpan</autodoc>
23748 <paramlist>
23749 <param name="other" type="DateSpan" default=""/>
23750 </paramlist>
23751 </method>
23752 <method name="__mul__" type="DateSpan" overloaded="no">
23753 <autodoc>__mul__(self, int n) -&gt; DateSpan</autodoc>
23754 <paramlist>
23755 <param name="n" type="int" default=""/>
23756 </paramlist>
23757 </method>
23758 <method name="__rmul__" type="DateSpan" overloaded="no">
23759 <autodoc>__rmul__(self, int n) -&gt; DateSpan</autodoc>
23760 <paramlist>
23761 <param name="n" type="int" default=""/>
23762 </paramlist>
23763 </method>
23764 <method name="__eq__" type="bool" overloaded="no">
23765 <autodoc>__eq__(self, DateSpan other) -&gt; bool</autodoc>
23766 <paramlist>
23767 <param name="other" type="DateSpan" default=""/>
23768 </paramlist>
23769 </method>
23770 <method name="__ne__" type="bool" overloaded="no">
23771 <autodoc>__ne__(self, DateSpan other) -&gt; bool</autodoc>
23772 <paramlist>
23773 <param name="other" type="DateSpan" default=""/>
23774 </paramlist>
23775 </method>
23776 </class>
23777 <method name="GetLocalTime" oldname="wxGetLocalTime" type="long" overloaded="no">
23778 <autodoc>GetLocalTime() -&gt; long</autodoc>
23779 </method>
23780 <method name="GetUTCTime" oldname="wxGetUTCTime" type="long" overloaded="no">
23781 <autodoc>GetUTCTime() -&gt; long</autodoc>
23782 </method>
23783 <method name="GetCurrentTime" oldname="wxGetCurrentTime" type="long" overloaded="no">
23784 <autodoc>GetCurrentTime() -&gt; long</autodoc>
23785 </method>
23786 <method name="GetLocalTimeMillis" oldname="wxGetLocalTimeMillis" type="wxLongLong" overloaded="no">
23787 <autodoc>GetLocalTimeMillis() -&gt; wxLongLong</autodoc>
23788 </method>
23789 <pythoncode>
23790 #---------------------------------------------------------------------------
23791 </pythoncode>
23792 <class name="DataFormat" oldname="wxDataFormat" module="_misc">
23793 <docstring>A wx.DataFormat is an encapsulation of a platform-specific format
23794 handle which is used by the system for the clipboard and drag and drop
23795 operations. The applications are usually only interested in, for
23796 example, pasting data from the clipboard only if the data is in a
23797 format the program understands. A data format is is used to uniquely
23798 identify this format.</docstring>
23799 <constructor name="DataFormat" overloaded="no">
23800 <autodoc>__init__(self, int type) -&gt; DataFormat</autodoc>
23801 <docstring>Constructs a data format object for one of the standard data formats
23802 or an empty data object (use SetType or SetId later in this case)</docstring>
23803 <paramlist>
23804 <param name="type" type="wxDataFormatId" default=""/>
23805 </paramlist>
23806 </constructor>
23807 <constructor name="CustomDataFormat" overloaded="no">
23808 <autodoc>CustomDataFormat(String format) -&gt; DataFormat</autodoc>
23809 <docstring>Constructs a data format object for a custom format identified by its
23810 name.</docstring>
23811 <paramlist>
23812 <param name="format" type="String" default=""/>
23813 </paramlist>
23814 </constructor>
23815 <destructor name="~wxDataFormat" overloaded="no">
23816 <autodoc>__del__(self)</autodoc>
23817 </destructor>
23818 <method name="__eq__" type="bool" overloaded="yes">
23819 <paramlist>
23820 <param name="format" type="wxDataFormatId" default=""/>
23821 </paramlist>
23822 </method>
23823 <method name="__ne__" type="bool" overloaded="yes">
23824 <paramlist>
23825 <param name="format" type="wxDataFormatId" default=""/>
23826 </paramlist>
23827 </method>
23828 <method name="__eq__" type="bool" overloaded="yes">
23829 <autodoc>__eq__(self, int format) -&gt; bool
23830 __eq__(self, DataFormat format) -&gt; bool</autodoc>
23831 <paramlist>
23832 <param name="format" type="DataFormat" default=""/>
23833 </paramlist>
23834 </method>
23835 <method name="__ne__" type="bool" overloaded="yes">
23836 <autodoc>__ne__(self, int format) -&gt; bool
23837 __ne__(self, DataFormat format) -&gt; bool</autodoc>
23838 <paramlist>
23839 <param name="format" type="DataFormat" default=""/>
23840 </paramlist>
23841 </method>
23842 <method name="SetType" type="" overloaded="no">
23843 <autodoc>SetType(self, int format)</autodoc>
23844 <docstring>Sets the format to the given value, which should be one of wx.DF_XXX
23845 constants.</docstring>
23846 <paramlist>
23847 <param name="format" type="wxDataFormatId" default=""/>
23848 </paramlist>
23849 </method>
23850 <method name="GetType" type="wxDataFormatId" overloaded="no">
23851 <autodoc>GetType(self) -&gt; int</autodoc>
23852 <docstring>Returns the platform-specific number identifying the format.</docstring>
23853 </method>
23854 <method name="GetId" type="String" overloaded="no">
23855 <autodoc>GetId(self) -&gt; String</autodoc>
23856 <docstring>Returns the name of a custom format (this function will fail for a
23857 standard format).</docstring>
23858 </method>
23859 <method name="SetId" type="" overloaded="no">
23860 <autodoc>SetId(self, String format)</autodoc>
23861 <docstring>Sets the format to be the custom format identified by the given name.</docstring>
23862 <paramlist>
23863 <param name="format" type="String" default=""/>
23864 </paramlist>
23865 </method>
23866 </class>
23867 <class name="DataObject" oldname="wxDataObject" module="_misc">
23868 <docstring>A wx.DataObject represents data that can be copied to or from the
23869 clipboard, or dragged and dropped. The important thing about
23870 wx.DataObject is that this is a 'smart' piece of data unlike usual
23871 'dumb' data containers such as memory buffers or files. Being 'smart'
23872 here means that the data object itself should know what data formats
23873 it supports and how to render itself in each of supported formats.
23874
23875 **NOTE**: This class is an abstract base class and can not be used
23876 directly from Python. If you need a custom type of data object then
23877 you should instead derive from `wx.PyDataObjectSimple` or use
23878 `wx.CustomDataObject`.
23879 </docstring>
23880 <destructor name="~wxDataObject" overloaded="no">
23881 <autodoc>__del__(self)</autodoc>
23882 </destructor>
23883 <method name="GetPreferredFormat" type="DataFormat" overloaded="no">
23884 <autodoc>GetPreferredFormat(self, int dir=Get) -&gt; DataFormat</autodoc>
23885 <docstring>Returns the preferred format for either rendering the data (if dir is
23886 Get, its default value) or for setting it. Usually this will be the
23887 native format of the wx.DataObject.</docstring>
23888 <paramlist>
23889 <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
23890 </paramlist>
23891 </method>
23892 <method name="GetFormatCount" type="size_t" overloaded="no">
23893 <autodoc>GetFormatCount(self, int dir=Get) -&gt; size_t</autodoc>
23894 <docstring>Returns the number of available formats for rendering or setting the
23895 data.</docstring>
23896 <paramlist>
23897 <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
23898 </paramlist>
23899 </method>
23900 <method name="IsSupported" type="bool" overloaded="no">
23901 <autodoc>IsSupported(self, DataFormat format, int dir=Get) -&gt; bool</autodoc>
23902 <docstring>Returns True if this format is supported.</docstring>
23903 <paramlist>
23904 <param name="format" type="DataFormat" default=""/>
23905 <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
23906 </paramlist>
23907 </method>
23908 <method name="GetDataSize" type="size_t" overloaded="no">
23909 <autodoc>GetDataSize(self, DataFormat format) -&gt; size_t</autodoc>
23910 <docstring>Get the (total) size of data for the given format</docstring>
23911 <paramlist>
23912 <param name="format" type="DataFormat" default=""/>
23913 </paramlist>
23914 </method>
23915 <method name="GetAllFormats" type="PyObject" overloaded="no">
23916 <autodoc>GetAllFormats(self, int dir=Get) -&gt; [formats]</autodoc>
23917 <docstring>Returns a list of all the wx.DataFormats that this dataobject supports
23918 in the given direction.</docstring>
23919 <paramlist>
23920 <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
23921 </paramlist>
23922 </method>
23923 <method name="GetDataHere" type="PyObject" overloaded="no">
23924 <autodoc>GetDataHere(self, DataFormat format) -&gt; String</autodoc>
23925 <docstring>Get the data bytes in the specified format, returns None on failure.
23926 </docstring>
23927 <paramlist>
23928 <param name="format" type="DataFormat" default=""/>
23929 </paramlist>
23930 </method>
23931 <method name="SetData" type="bool" overloaded="no">
23932 <autodoc>SetData(self, DataFormat format, String data) -&gt; bool</autodoc>
23933 <docstring>Set the data in the specified format from the bytes in the the data string.
23934 </docstring>
23935 <paramlist>
23936 <param name="format" type="DataFormat" default=""/>
23937 <param name="data" type="PyObject" default=""/>
23938 </paramlist>
23939 </method>
23940 </class>
23941 <class name="DataObjectSimple" oldname="wxDataObjectSimple" module="_misc">
23942 <docstring>wx.DataObjectSimple is a `wx.DataObject` which only supports one
23943 format. This is the simplest possible `wx.DataObject` implementation.
23944
23945 This is still an "abstract base class" meaning that you can't use it
23946 directly. You either need to use one of the predefined base classes,
23947 or derive your own class from `wx.PyDataObjectSimple`.
23948 </docstring>
23949 <baseclass name="DataObject"/>
23950 <constructor name="DataObjectSimple" overloaded="no">
23951 <autodoc>__init__(self, DataFormat format=FormatInvalid) -&gt; DataObjectSimple</autodoc>
23952 <docstring>Constructor accepts the supported format (none by default) which may
23953 also be set later with `SetFormat`.</docstring>
23954 <paramlist>
23955 <param name="format" type="DataFormat" default="wxFormatInvalid"/>
23956 </paramlist>
23957 </constructor>
23958 <method name="GetFormat" type="DataFormat" overloaded="no">
23959 <autodoc>GetFormat(self) -&gt; DataFormat</autodoc>
23960 <docstring>Returns the (one and only one) format supported by this object. It is
23961 assumed that the format is supported in both directions.</docstring>
23962 </method>
23963 <method name="SetFormat" type="" overloaded="no">
23964 <autodoc>SetFormat(self, DataFormat format)</autodoc>
23965 <docstring>Sets the supported format.</docstring>
23966 <paramlist>
23967 <param name="format" type="DataFormat" default=""/>
23968 </paramlist>
23969 </method>
23970 <method name="GetDataSize" type="size_t" overloaded="no">
23971 <autodoc>GetDataSize(self) -&gt; size_t</autodoc>
23972 <docstring>Get the size of our data.</docstring>
23973 </method>
23974 <method name="GetDataHere" type="PyObject" overloaded="no">
23975 <autodoc>GetDataHere(self) -&gt; String</autodoc>
23976 <docstring>Returns the data bytes from the data object as a string, returns None
23977 on failure. Must be implemented in the derived class if the object
23978 supports rendering its data.</docstring>
23979 </method>
23980 <method name="SetData" type="bool" overloaded="no">
23981 <autodoc>SetData(self, String data) -&gt; bool</autodoc>
23982 <docstring>Copy the data value to the data object. Must be implemented in the
23983 derived class if the object supports setting its data.
23984 </docstring>
23985 <paramlist>
23986 <param name="data" type="PyObject" default=""/>
23987 </paramlist>
23988 </method>
23989 </class>
23990 <class name="PyDataObjectSimple" oldname="wxPyDataObjectSimple" module="_misc">
23991 <docstring>wx.PyDataObjectSimple is a version of `wx.DataObjectSimple` that is
23992 Python-aware and knows how to reflect calls to its C++ virtual methods
23993 to methods in the Python derived class. You should derive from this
23994 class and overload `GetDataSize`, `GetDataHere` and `SetData` when you
23995 need to create your own simple single-format type of `wx.DataObject`.
23996 </docstring>
23997 <baseclass name="DataObjectSimple"/>
23998 <constructor name="PyDataObjectSimple" overloaded="no">
23999 <autodoc>__init__(self, DataFormat format=FormatInvalid) -&gt; PyDataObjectSimple</autodoc>
24000 <docstring>wx.PyDataObjectSimple is a version of `wx.DataObjectSimple` that is
24001 Python-aware and knows how to reflect calls to its C++ virtual methods
24002 to methods in the Python derived class. You should derive from this
24003 class and overload `GetDataSize`, `GetDataHere` and `SetData` when you
24004 need to create your own simple single-format type of `wx.DataObject`.
24005 </docstring>
24006 <paramlist>
24007 <param name="format" type="DataFormat" default="wxFormatInvalid"/>
24008 </paramlist>
24009 </constructor>
24010 <method name="_setCallbackInfo" type="" overloaded="no">
24011 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
24012 <paramlist>
24013 <param name="self" type="PyObject" default=""/>
24014 <param name="_class" type="PyObject" default=""/>
24015 </paramlist>
24016 </method>
24017 </class>
24018 <class name="DataObjectComposite" oldname="wxDataObjectComposite" module="_misc">
24019 <docstring>wx.DataObjectComposite is the simplest `wx.DataObject` derivation
24020 which may be sued to support multiple formats. It contains several
24021 'wx.DataObjectSimple` objects and supports any format supported by at
24022 least one of them. Only one of these data objects is *preferred* (the
24023 first one if not explicitly changed by using the second parameter of
24024 `Add`) and its format determines the preferred format of the composite
24025 data object as well.
24026
24027 See `wx.DataObject` documentation for the reasons why you might prefer
24028 to use wx.DataObject directly instead of wx.DataObjectComposite for
24029 efficiency reasons.
24030 </docstring>
24031 <baseclass name="DataObject"/>
24032 <constructor name="DataObjectComposite" overloaded="no">
24033 <autodoc>__init__(self) -&gt; DataObjectComposite</autodoc>
24034 <docstring>wx.DataObjectComposite is the simplest `wx.DataObject` derivation
24035 which may be sued to support multiple formats. It contains several
24036 'wx.DataObjectSimple` objects and supports any format supported by at
24037 least one of them. Only one of these data objects is *preferred* (the
24038 first one if not explicitly changed by using the second parameter of
24039 `Add`) and its format determines the preferred format of the composite
24040 data object as well.
24041
24042 See `wx.DataObject` documentation for the reasons why you might prefer
24043 to use wx.DataObject directly instead of wx.DataObjectComposite for
24044 efficiency reasons.
24045 </docstring>
24046 </constructor>
24047 <method name="Add" type="" overloaded="no">
24048 <autodoc>Add(self, DataObjectSimple dataObject, bool preferred=False)</autodoc>
24049 <docstring>Adds the dataObject to the list of supported objects and it becomes
24050 the preferred object if preferred is True.</docstring>
24051 <paramlist>
24052 <param name="dataObject" type="DataObjectSimple" default=""/>
24053 <param name="preferred" type="bool" default="False"/>
24054 </paramlist>
24055 </method>
24056 </class>
24057 <class name="TextDataObject" oldname="wxTextDataObject" module="_misc">
24058 <docstring>wx.TextDataObject is a specialization of `wx.DataObject` for text
24059 data. It can be used without change to paste data into the `wx.Clipboard`
24060 or a `wx.DropSource`.
24061
24062 Alternativly, you may wish to derive a new class from the
24063 `wx.PyTextDataObject` class for providing text on-demand in order to
24064 minimize memory consumption when offering data in several formats,
24065 such as plain text and RTF, because by default the text is stored in a
24066 string in this class, but it might as well be generated on demand when
24067 requested. For this, `GetTextLength` and `GetText` will have to be
24068 overridden.</docstring>
24069 <baseclass name="DataObjectSimple"/>
24070 <constructor name="TextDataObject" overloaded="no">
24071 <autodoc>__init__(self, String text=EmptyString) -&gt; TextDataObject</autodoc>
24072 <docstring>Constructor, may be used to initialise the text (otherwise `SetText`
24073 should be used later).</docstring>
24074 <paramlist>
24075 <param name="text" type="String" default="wxPyEmptyString"/>
24076 </paramlist>
24077 </constructor>
24078 <method name="GetTextLength" type="size_t" overloaded="no">
24079 <autodoc>GetTextLength(self) -&gt; size_t</autodoc>
24080 <docstring>Returns the data size. By default, returns the size of the text data
24081 set in the constructor or using `SetText`. This can be overridden (via
24082 `wx.PyTextDataObject`) to provide text size data on-demand. It is
24083 recommended to return the text length plus 1 for a trailing zero, but
24084 this is not strictly required.</docstring>
24085 </method>
24086 <method name="GetText" type="String" overloaded="no">
24087 <autodoc>GetText(self) -&gt; String</autodoc>
24088 <docstring>Returns the text associated with the data object.</docstring>
24089 </method>
24090 <method name="SetText" type="" overloaded="no">
24091 <autodoc>SetText(self, String text)</autodoc>
24092 <docstring>Sets the text associated with the data object. This method is called
24093 when the data object receives the data and, by default, copies the
24094 text into the member variable. If you want to process the text on the
24095 fly you may wish to override this function (via
24096 `wx.PyTextDataObject`.)</docstring>
24097 <paramlist>
24098 <param name="text" type="String" default=""/>
24099 </paramlist>
24100 </method>
24101 </class>
24102 <class name="PyTextDataObject" oldname="wxPyTextDataObject" module="_misc">
24103 <docstring>wx.PyTextDataObject is a version of `wx.TextDataObject` that is
24104 Python-aware and knows how to reflect calls to its C++ virtual methods
24105 to methods in the Python derived class. You should derive from this
24106 class and overload `GetTextLength`, `GetText`, and `SetText` when you
24107 want to be able to provide text on demand instead of preloading it
24108 into the data object.</docstring>
24109 <baseclass name="TextDataObject"/>
24110 <constructor name="PyTextDataObject" overloaded="no">
24111 <autodoc>__init__(self, String text=EmptyString) -&gt; PyTextDataObject</autodoc>
24112 <docstring>wx.PyTextDataObject is a version of `wx.TextDataObject` that is
24113 Python-aware and knows how to reflect calls to its C++ virtual methods
24114 to methods in the Python derived class. You should derive from this
24115 class and overload `GetTextLength`, `GetText`, and `SetText` when you
24116 want to be able to provide text on demand instead of preloading it
24117 into the data object.</docstring>
24118 <paramlist>
24119 <param name="text" type="String" default="wxPyEmptyString"/>
24120 </paramlist>
24121 </constructor>
24122 <method name="_setCallbackInfo" type="" overloaded="no">
24123 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
24124 <paramlist>
24125 <param name="self" type="PyObject" default=""/>
24126 <param name="_class" type="PyObject" default=""/>
24127 </paramlist>
24128 </method>
24129 </class>
24130 <class name="BitmapDataObject" oldname="wxBitmapDataObject" module="_misc">
24131 <docstring>wx.BitmapDataObject is a specialization of wxDataObject for bitmap
24132 data. It can be used without change to paste data into the `wx.Clipboard`
24133 or a `wx.DropSource`.
24134 </docstring>
24135 <baseclass name="DataObjectSimple"/>
24136 <constructor name="BitmapDataObject" overloaded="no">
24137 <autodoc>__init__(self, Bitmap bitmap=wxNullBitmap) -&gt; BitmapDataObject</autodoc>
24138 <docstring>Constructor, optionally passing a bitmap (otherwise use `SetBitmap`
24139 later).</docstring>
24140 <paramlist>
24141 <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
24142 </paramlist>
24143 </constructor>
24144 <method name="GetBitmap" type="Bitmap" overloaded="no">
24145 <autodoc>GetBitmap(self) -&gt; Bitmap</autodoc>
24146 <docstring>Returns the bitmap associated with the data object. You may wish to
24147 override this method (by deriving from `wx.PyBitmapDataObject`) when
24148 offering data on-demand, but this is not required by wxWidgets'
24149 internals. Use this method to get data in bitmap form from the
24150 `wx.Clipboard`.</docstring>
24151 </method>
24152 <method name="SetBitmap" type="" overloaded="no">
24153 <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc>
24154 <docstring>Sets the bitmap associated with the data object. This method is called
24155 when the data object receives data. Usually there will be no reason to
24156 override this function.</docstring>
24157 <paramlist>
24158 <param name="bitmap" type="Bitmap" default=""/>
24159 </paramlist>
24160 </method>
24161 </class>
24162 <class name="PyBitmapDataObject" oldname="wxPyBitmapDataObject" module="_misc">
24163 <docstring>wx.PyBitmapDataObject is a version of `wx.BitmapDataObject` that is
24164 Python-aware and knows how to reflect calls to its C++ virtual methods
24165 to methods in the Python derived class. To be able to provide bitmap
24166 data on demand derive from this class and overload `GetBitmap`.</docstring>
24167 <baseclass name="BitmapDataObject"/>
24168 <constructor name="PyBitmapDataObject" overloaded="no">
24169 <autodoc>__init__(self, Bitmap bitmap=wxNullBitmap) -&gt; PyBitmapDataObject</autodoc>
24170 <docstring>wx.PyBitmapDataObject is a version of `wx.BitmapDataObject` that is
24171 Python-aware and knows how to reflect calls to its C++ virtual methods
24172 to methods in the Python derived class. To be able to provide bitmap
24173 data on demand derive from this class and overload `GetBitmap`.</docstring>
24174 <paramlist>
24175 <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
24176 </paramlist>
24177 </constructor>
24178 <method name="_setCallbackInfo" type="" overloaded="no">
24179 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
24180 <paramlist>
24181 <param name="self" type="PyObject" default=""/>
24182 <param name="_class" type="PyObject" default=""/>
24183 </paramlist>
24184 </method>
24185 </class>
24186 <class name="FileDataObject" oldname="wxFileDataObject" module="_misc">
24187 <docstring>wx.FileDataObject is a specialization of `wx.DataObjectSimple` for
24188 file names. The program works with it just as if it were a list of
24189 absolute file names, but internally it uses the same format as
24190 Explorer and other compatible programs under Windows or GNOME/KDE
24191 filemanager under Unix which makes it possible to receive files from
24192 them using this class.
24193
24194 :Warning: Under all non-Windows platforms this class is currently
24195 "input-only", i.e. you can receive the files from another
24196 application, but copying (or dragging) file(s) from a wxWidgets
24197 application is not currently supported.
24198 </docstring>
24199 <baseclass name="DataObjectSimple"/>
24200 <constructor name="FileDataObject" overloaded="no">
24201 <autodoc>__init__(self) -&gt; FileDataObject</autodoc>
24202 </constructor>
24203 <method name="GetFilenames" type="wxArrayString" overloaded="no">
24204 <autodoc>GetFilenames(self) -&gt; [names]</autodoc>
24205 </method>
24206 <method name="AddFile" type="" overloaded="no">
24207 <autodoc>AddFile(self, String filename)</autodoc>
24208 <docstring>Adds a file to the list of files represented by this data object.</docstring>
24209 <paramlist>
24210 <param name="filename" type="String" default=""/>
24211 </paramlist>
24212 </method>
24213 </class>
24214 <class name="CustomDataObject" oldname="wxCustomDataObject" module="_misc">
24215 <docstring>wx.CustomDataObject is a specialization of `wx.DataObjectSimple` for
24216 some application-specific data in arbitrary format. Python strings
24217 are used for getting and setting data, but any picklable object can
24218 easily be transfered via strings. A copy of the data is stored in the
24219 data object.</docstring>
24220 <baseclass name="DataObjectSimple"/>
24221 <constructor name="CustomDataObject" overloaded="no">
24222 <autodoc>__init__(self, DataFormat format=FormatInvalid) -&gt; CustomDataObject</autodoc>
24223 <docstring>wx.CustomDataObject is a specialization of `wx.DataObjectSimple` for
24224 some application-specific data in arbitrary format. Python strings
24225 are used for getting and setting data, but any picklable object can
24226 easily be transfered via strings. A copy of the data is stored in the
24227 data object.</docstring>
24228 <paramlist>
24229 <param name="format" type="DataFormat" default="wxFormatInvalid"/>
24230 </paramlist>
24231 </constructor>
24232 <method name="SetData" type="bool" overloaded="no">
24233 <autodoc>SetData(self, String data) -&gt; bool</autodoc>
24234 <docstring>Copy the data value to the data object.</docstring>
24235 <paramlist>
24236 <param name="data" type="PyObject" default=""/>
24237 </paramlist>
24238 </method>
24239 <method name="GetSize" type="size_t" overloaded="no">
24240 <autodoc>GetSize(self) -&gt; size_t</autodoc>
24241 <docstring>Get the size of the data.</docstring>
24242 </method>
24243 <method name="GetData" type="PyObject" overloaded="no">
24244 <autodoc>GetData(self) -&gt; String</autodoc>
24245 <docstring>Returns the data bytes from the data object as a string.</docstring>
24246 </method>
24247 </class>
24248 <class name="URLDataObject" oldname="wxURLDataObject" module="_misc">
24249 <docstring>This data object holds a URL in a format that is compatible with some
24250 browsers such that it is able to be dragged to or from them.</docstring>
24251 <baseclass name="DataObjectComposite"/>
24252 <constructor name="URLDataObject" overloaded="no">
24253 <autodoc>__init__(self) -&gt; URLDataObject</autodoc>
24254 <docstring>This data object holds a URL in a format that is compatible with some
24255 browsers such that it is able to be dragged to or from them.</docstring>
24256 </constructor>
24257 <method name="GetURL" type="String" overloaded="no">
24258 <autodoc>GetURL(self) -&gt; String</autodoc>
24259 <docstring>Returns a string containing the current URL.</docstring>
24260 </method>
24261 <method name="SetURL" type="" overloaded="no">
24262 <autodoc>SetURL(self, String url)</autodoc>
24263 <docstring>Set the URL.</docstring>
24264 <paramlist>
24265 <param name="url" type="String" default=""/>
24266 </paramlist>
24267 </method>
24268 </class>
24269 <class name="MetafileDataObject" oldname="wxMetafileDataObject" module="_misc">
24270 <baseclass name="DataObjectSimple"/>
24271 <constructor name="MetafileDataObject" overloaded="no">
24272 <autodoc>__init__(self) -&gt; MetafileDataObject</autodoc>
24273 </constructor>
24274 </class>
24275 <pythoncode>
24276 #---------------------------------------------------------------------------
24277 </pythoncode>
24278 <method name="IsDragResultOk" oldname="wxIsDragResultOk" type="bool" overloaded="no">
24279 <autodoc>IsDragResultOk(int res) -&gt; bool</autodoc>
24280 <paramlist>
24281 <param name="res" type="wxDragResult" default=""/>
24282 </paramlist>
24283 </method>
24284 <class name="DropSource" oldname="wxPyDropSource" module="_misc">
24285 <constructor name="wxPyDropSource" overloaded="no">
24286 <autodoc>__init__(self, Window win, Icon copy=wxNullIcon, Icon move=wxNullIcon,
24287 Icon none=wxNullIcon) -&gt; DropSource</autodoc>
24288 <paramlist>
24289 <param name="win" type="Window" default=""/>
24290 <param name="copy" type="Icon" default="wxNullIcon"/>
24291 <param name="move" type="Icon" default="wxNullIcon"/>
24292 <param name="none" type="Icon" default="wxNullIcon"/>
24293 </paramlist>
24294 </constructor>
24295 <destructor name="~wxPyDropSource" overloaded="no">
24296 <autodoc>__del__(self)</autodoc>
24297 </destructor>
24298 <method name="_setCallbackInfo" type="" overloaded="no">
24299 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class, int incref)</autodoc>
24300 <paramlist>
24301 <param name="self" type="PyObject" default=""/>
24302 <param name="_class" type="PyObject" default=""/>
24303 <param name="incref" type="int" default=""/>
24304 </paramlist>
24305 </method>
24306 <method name="SetData" type="" overloaded="no">
24307 <autodoc>SetData(self, DataObject data)</autodoc>
24308 <paramlist>
24309 <param name="data" type="DataObject" default=""/>
24310 </paramlist>
24311 </method>
24312 <method name="GetDataObject" type="DataObject" overloaded="no">
24313 <autodoc>GetDataObject(self) -&gt; DataObject</autodoc>
24314 </method>
24315 <method name="SetCursor" type="" overloaded="no">
24316 <autodoc>SetCursor(self, int res, Cursor cursor)</autodoc>
24317 <paramlist>
24318 <param name="res" type="wxDragResult" default=""/>
24319 <param name="cursor" type="Cursor" default=""/>
24320 </paramlist>
24321 </method>
24322 <method name="DoDragDrop" type="wxDragResult" overloaded="no">
24323 <autodoc>DoDragDrop(self, int flags=Drag_CopyOnly) -&gt; int</autodoc>
24324 <paramlist>
24325 <param name="flags" type="int" default="wxDrag_CopyOnly"/>
24326 </paramlist>
24327 </method>
24328 <method name="base_GiveFeedback" type="bool" overloaded="no">
24329 <autodoc>base_GiveFeedback(self, int effect) -&gt; bool</autodoc>
24330 <paramlist>
24331 <param name="effect" type="wxDragResult" default=""/>
24332 </paramlist>
24333 </method>
24334 </class>
24335 <class name="DropTarget" oldname="wxPyDropTarget" module="_misc">
24336 <constructor name="DropTarget" overloaded="no">
24337 <autodoc>__init__(self, DataObject dataObject=None) -&gt; DropTarget</autodoc>
24338 <paramlist>
24339 <param name="dataObject" type="DataObject" default="NULL"/>
24340 </paramlist>
24341 </constructor>
24342 <destructor name="~wxPyDropTarget" overloaded="no">
24343 <autodoc>__del__(self)</autodoc>
24344 </destructor>
24345 <method name="_setCallbackInfo" type="" overloaded="no">
24346 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
24347 <paramlist>
24348 <param name="self" type="PyObject" default=""/>
24349 <param name="_class" type="PyObject" default=""/>
24350 </paramlist>
24351 </method>
24352 <method name="GetDataObject" type="DataObject" overloaded="no">
24353 <autodoc>GetDataObject(self) -&gt; DataObject</autodoc>
24354 </method>
24355 <method name="SetDataObject" type="" overloaded="no">
24356 <autodoc>SetDataObject(self, DataObject dataObject)</autodoc>
24357 <paramlist>
24358 <param name="dataObject" type="DataObject" default=""/>
24359 </paramlist>
24360 </method>
24361 <method name="base_OnEnter" type="wxDragResult" overloaded="no">
24362 <autodoc>base_OnEnter(self, int x, int y, int def) -&gt; int</autodoc>
24363 <paramlist>
24364 <param name="x" type="int" default=""/>
24365 <param name="y" type="int" default=""/>
24366 <param name="def" type="wxDragResult" default=""/>
24367 </paramlist>
24368 </method>
24369 <method name="base_OnDragOver" type="wxDragResult" overloaded="no">
24370 <autodoc>base_OnDragOver(self, int x, int y, int def) -&gt; int</autodoc>
24371 <paramlist>
24372 <param name="x" type="int" default=""/>
24373 <param name="y" type="int" default=""/>
24374 <param name="def" type="wxDragResult" default=""/>
24375 </paramlist>
24376 </method>
24377 <method name="base_OnLeave" type="" overloaded="no">
24378 <autodoc>base_OnLeave(self)</autodoc>
24379 </method>
24380 <method name="base_OnDrop" type="bool" overloaded="no">
24381 <autodoc>base_OnDrop(self, int x, int y) -&gt; bool</autodoc>
24382 <paramlist>
24383 <param name="x" type="int" default=""/>
24384 <param name="y" type="int" default=""/>
24385 </paramlist>
24386 </method>
24387 <method name="GetData" type="bool" overloaded="no">
24388 <autodoc>GetData(self) -&gt; bool</autodoc>
24389 </method>
24390 </class>
24391 <pythoncode> PyDropTarget = DropTarget </pythoncode>
24392 <class name="TextDropTarget" oldname="wxPyTextDropTarget" module="_misc">
24393 <baseclass name="DropTarget"/>
24394 <constructor name="wxPyTextDropTarget" overloaded="no">
24395 <autodoc>__init__(self) -&gt; TextDropTarget</autodoc>
24396 </constructor>
24397 <method name="_setCallbackInfo" type="" overloaded="no">
24398 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
24399 <paramlist>
24400 <param name="self" type="PyObject" default=""/>
24401 <param name="_class" type="PyObject" default=""/>
24402 </paramlist>
24403 </method>
24404 <method name="base_OnEnter" type="wxDragResult" overloaded="no">
24405 <autodoc>base_OnEnter(self, int x, int y, int def) -&gt; int</autodoc>
24406 <paramlist>
24407 <param name="x" type="int" default=""/>
24408 <param name="y" type="int" default=""/>
24409 <param name="def" type="wxDragResult" default=""/>
24410 </paramlist>
24411 </method>
24412 <method name="base_OnDragOver" type="wxDragResult" overloaded="no">
24413 <autodoc>base_OnDragOver(self, int x, int y, int def) -&gt; int</autodoc>
24414 <paramlist>
24415 <param name="x" type="int" default=""/>
24416 <param name="y" type="int" default=""/>
24417 <param name="def" type="wxDragResult" default=""/>
24418 </paramlist>
24419 </method>
24420 <method name="base_OnLeave" type="" overloaded="no">
24421 <autodoc>base_OnLeave(self)</autodoc>
24422 </method>
24423 <method name="base_OnDrop" type="bool" overloaded="no">
24424 <autodoc>base_OnDrop(self, int x, int y) -&gt; bool</autodoc>
24425 <paramlist>
24426 <param name="x" type="int" default=""/>
24427 <param name="y" type="int" default=""/>
24428 </paramlist>
24429 </method>
24430 <method name="base_OnData" type="wxDragResult" overloaded="no">
24431 <autodoc>base_OnData(self, int x, int y, int def) -&gt; int</autodoc>
24432 <paramlist>
24433 <param name="x" type="int" default=""/>
24434 <param name="y" type="int" default=""/>
24435 <param name="def" type="wxDragResult" default=""/>
24436 </paramlist>
24437 </method>
24438 </class>
24439 <class name="FileDropTarget" oldname="wxPyFileDropTarget" module="_misc">
24440 <baseclass name="DropTarget"/>
24441 <constructor name="wxPyFileDropTarget" overloaded="no">
24442 <autodoc>__init__(self) -&gt; FileDropTarget</autodoc>
24443 </constructor>
24444 <method name="_setCallbackInfo" type="" overloaded="no">
24445 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
24446 <paramlist>
24447 <param name="self" type="PyObject" default=""/>
24448 <param name="_class" type="PyObject" default=""/>
24449 </paramlist>
24450 </method>
24451 <method name="base_OnEnter" type="wxDragResult" overloaded="no">
24452 <autodoc>base_OnEnter(self, int x, int y, int def) -&gt; int</autodoc>
24453 <paramlist>
24454 <param name="x" type="int" default=""/>
24455 <param name="y" type="int" default=""/>
24456 <param name="def" type="wxDragResult" default=""/>
24457 </paramlist>
24458 </method>
24459 <method name="base_OnDragOver" type="wxDragResult" overloaded="no">
24460 <autodoc>base_OnDragOver(self, int x, int y, int def) -&gt; int</autodoc>
24461 <paramlist>
24462 <param name="x" type="int" default=""/>
24463 <param name="y" type="int" default=""/>
24464 <param name="def" type="wxDragResult" default=""/>
24465 </paramlist>
24466 </method>
24467 <method name="base_OnLeave" type="" overloaded="no">
24468 <autodoc>base_OnLeave(self)</autodoc>
24469 </method>
24470 <method name="base_OnDrop" type="bool" overloaded="no">
24471 <autodoc>base_OnDrop(self, int x, int y) -&gt; bool</autodoc>
24472 <paramlist>
24473 <param name="x" type="int" default=""/>
24474 <param name="y" type="int" default=""/>
24475 </paramlist>
24476 </method>
24477 <method name="base_OnData" type="wxDragResult" overloaded="no">
24478 <autodoc>base_OnData(self, int x, int y, int def) -&gt; int</autodoc>
24479 <paramlist>
24480 <param name="x" type="int" default=""/>
24481 <param name="y" type="int" default=""/>
24482 <param name="def" type="wxDragResult" default=""/>
24483 </paramlist>
24484 </method>
24485 </class>
24486 <pythoncode>
24487 #---------------------------------------------------------------------------
24488 </pythoncode>
24489 <class name="Clipboard" oldname="wxClipboard" module="_misc">
24490 <docstring>wx.Clipboard represents the system clipboard and provides methods to
24491 copy data to it or paste data from it. Normally, you should only use
24492 ``wx.TheClipboard`` which is a reference to a global wx.Clipboard
24493 instance.
24494
24495 Call ``wx.TheClipboard``'s `Open` method to get ownership of the
24496 clipboard. If this operation returns True, you now own the
24497 clipboard. Call `SetData` to put data on the clipboard, or `GetData`
24498 to retrieve data from the clipboard. Call `Close` to close the
24499 clipboard and relinquish ownership. You should keep the clipboard open
24500 only momentarily.
24501
24502 :see: `wx.DataObject`
24503 </docstring>
24504 <baseclass name="Object"/>
24505 <constructor name="Clipboard" overloaded="no">
24506 <autodoc>__init__(self) -&gt; Clipboard</autodoc>
24507 </constructor>
24508 <destructor name="~wxClipboard" overloaded="no">
24509 <autodoc>__del__(self)</autodoc>
24510 </destructor>
24511 <method name="Open" type="bool" overloaded="no">
24512 <autodoc>Open(self) -&gt; bool</autodoc>
24513 <docstring>Call this function to open the clipboard before calling SetData and
24514 GetData. Call Close when you have finished with the clipboard. You
24515 should keep the clipboard open for only a very short time. Returns
24516 True on success.</docstring>
24517 </method>
24518 <method name="Close" type="" overloaded="no">
24519 <autodoc>Close(self)</autodoc>
24520 <docstring>Closes the clipboard.</docstring>
24521 </method>
24522 <method name="IsOpened" type="bool" overloaded="no">
24523 <autodoc>IsOpened(self) -&gt; bool</autodoc>
24524 <docstring>Query whether the clipboard is opened</docstring>
24525 </method>
24526 <method name="AddData" type="bool" overloaded="no">
24527 <autodoc>AddData(self, DataObject data) -&gt; bool</autodoc>
24528 <docstring>Call this function to add the data object to the clipboard. You may
24529 call this function repeatedly after having cleared the clipboard.
24530 After this function has been called, the clipboard owns the data, so
24531 do not delete the data explicitly.
24532
24533 :see: `wx.DataObject`</docstring>
24534 <paramlist>
24535 <param name="data" type="DataObject" default=""/>
24536 </paramlist>
24537 </method>
24538 <method name="SetData" type="bool" overloaded="no">
24539 <autodoc>SetData(self, DataObject data) -&gt; bool</autodoc>
24540 <docstring>Set the clipboard data, this is the same as `Clear` followed by
24541 `AddData`.
24542
24543 :see: `wx.DataObject`</docstring>
24544 <paramlist>
24545 <param name="data" type="DataObject" default=""/>
24546 </paramlist>
24547 </method>
24548 <method name="IsSupported" type="bool" overloaded="no">
24549 <autodoc>IsSupported(self, DataFormat format) -&gt; bool</autodoc>
24550 <docstring>Returns True if the given format is available in the data object(s) on
24551 the clipboard.</docstring>
24552 <paramlist>
24553 <param name="format" type="DataFormat" default=""/>
24554 </paramlist>
24555 </method>
24556 <method name="GetData" type="bool" overloaded="no">
24557 <autodoc>GetData(self, DataObject data) -&gt; bool</autodoc>
24558 <docstring>Call this function to fill data with data on the clipboard, if
24559 available in the required format. Returns true on success.</docstring>
24560 <paramlist>
24561 <param name="data" type="DataObject" default=""/>
24562 </paramlist>
24563 </method>
24564 <method name="Clear" type="" overloaded="no">
24565 <autodoc>Clear(self)</autodoc>
24566 <docstring>Clears data from the clipboard object and also the system's clipboard
24567 if possible.</docstring>
24568 </method>
24569 <method name="Flush" type="bool" overloaded="no">
24570 <autodoc>Flush(self) -&gt; bool</autodoc>
24571 <docstring>Flushes the clipboard: this means that the data which is currently on
24572 clipboard will stay available even after the application exits,
24573 possibly eating memory, otherwise the clipboard will be emptied on
24574 exit. Returns False if the operation is unsuccesful for any reason.</docstring>
24575 </method>
24576 <method name="UsePrimarySelection" type="" overloaded="no">
24577 <autodoc>UsePrimarySelection(self, bool primary=True)</autodoc>
24578 <docstring>On platforms supporting it (the X11 based platforms), selects the
24579 so called PRIMARY SELECTION as the clipboard as opposed to the
24580 normal clipboard, if primary is True.</docstring>
24581 <paramlist>
24582 <param name="primary" type="bool" default="True"/>
24583 </paramlist>
24584 </method>
24585 </class>
24586 <class name="ClipboardLocker" oldname="wxClipboardLocker" module="_misc">
24587 <docstring>A helpful class for opening the clipboard and automatically
24588 closing it when the locker is destroyed.</docstring>
24589 <constructor name="ClipboardLocker" overloaded="no">
24590 <autodoc>__init__(self, Clipboard clipboard=None) -&gt; ClipboardLocker</autodoc>
24591 <docstring>A helpful class for opening the clipboard and automatically
24592 closing it when the locker is destroyed.</docstring>
24593 <paramlist>
24594 <param name="clipboard" type="Clipboard" default="NULL"/>
24595 </paramlist>
24596 </constructor>
24597 <destructor name="~wxClipboardLocker" overloaded="no">
24598 <autodoc>__del__(self)</autodoc>
24599 </destructor>
24600 <method name="__nonzero__" type="bool" overloaded="no">
24601 <autodoc>__nonzero__(self) -&gt; bool</autodoc>
24602 <docstring>A ClipboardLocker instance evaluates to True if the clipboard was
24603 successfully opened.</docstring>
24604 </method>
24605 </class>
24606 <pythoncode>
24607 #---------------------------------------------------------------------------
24608 </pythoncode>
24609 <class name="VideoMode" oldname="wxVideoMode" module="_misc">
24610 <docstring>A simple struct containing video mode parameters for a display</docstring>
24611 <constructor name="VideoMode" overloaded="no">
24612 <autodoc>__init__(self, int width=0, int height=0, int depth=0, int freq=0) -&gt; VideoMode</autodoc>
24613 <docstring>A simple struct containing video mode parameters for a display</docstring>
24614 <paramlist>
24615 <param name="width" type="int" default="0"/>
24616 <param name="height" type="int" default="0"/>
24617 <param name="depth" type="int" default="0"/>
24618 <param name="freq" type="int" default="0"/>
24619 </paramlist>
24620 </constructor>
24621 <destructor name="~wxVideoMode" overloaded="no">
24622 <autodoc>__del__(self)</autodoc>
24623 </destructor>
24624 <method name="Matches" type="bool" overloaded="no">
24625 <autodoc>Matches(self, VideoMode other) -&gt; bool</autodoc>
24626 <docstring>Returns true if this mode matches the other one in the sense that all
24627 non zero fields of the other mode have the same value in this
24628 one (except for refresh which is allowed to have a greater value)</docstring>
24629 <paramlist>
24630 <param name="other" type="VideoMode" default=""/>
24631 </paramlist>
24632 </method>
24633 <method name="GetWidth" type="int" overloaded="no">
24634 <autodoc>GetWidth(self) -&gt; int</autodoc>
24635 <docstring>Returns the screen width in pixels (e.g. 640*480), 0 means unspecified</docstring>
24636 </method>
24637 <method name="GetHeight" type="int" overloaded="no">
24638 <autodoc>GetHeight(self) -&gt; int</autodoc>
24639 <docstring>Returns the screen width in pixels (e.g. 640*480), 0 means
24640 unspecified</docstring>
24641 </method>
24642 <method name="GetDepth" type="int" overloaded="no">
24643 <autodoc>GetDepth(self) -&gt; int</autodoc>
24644 <docstring>Returns the screen's bits per pixel (e.g. 32), 1 is monochrome and 0
24645 means unspecified/known</docstring>
24646 </method>
24647 <method name="IsOk" type="bool" overloaded="no">
24648 <autodoc>IsOk(self) -&gt; bool</autodoc>
24649 <docstring>returns true if the object has been initialized</docstring>
24650 </method>
24651 <method name="__eq__" type="bool" overloaded="no">
24652 <autodoc>__eq__(self, VideoMode other) -&gt; bool</autodoc>
24653 <paramlist>
24654 <param name="other" type="VideoMode" default=""/>
24655 </paramlist>
24656 </method>
24657 <method name="__ne__" type="bool" overloaded="no">
24658 <autodoc>__ne__(self, VideoMode other) -&gt; bool</autodoc>
24659 <paramlist>
24660 <param name="other" type="VideoMode" default=""/>
24661 </paramlist>
24662 </method>
24663 <property name="w" type="int" readonly="no"/>
24664 <property name="h" type="int" readonly="no"/>
24665 <property name="bpp" type="int" readonly="no"/>
24666 <property name="refresh" type="int" readonly="no"/>
24667 </class>
24668 <class name="Display" oldname="wxDisplay" module="_misc">
24669 <docstring>Represents a display/monitor attached to the system</docstring>
24670 <constructor name="Display" overloaded="no">
24671 <autodoc>__init__(self, size_t index=0) -&gt; Display</autodoc>
24672 <docstring>Set up a Display instance with the specified display. The displays
24673 are numbered from 0 to GetCount() - 1, 0 is always the primary display
24674 and the only one which is always supported</docstring>
24675 <paramlist>
24676 <param name="index" type="size_t" default="0"/>
24677 </paramlist>
24678 </constructor>
24679 <destructor name="~wxDisplay" overloaded="no">
24680 <autodoc>__del__(self)</autodoc>
24681 </destructor>
24682 <staticmethod name="GetCount" type="size_t" overloaded="no">
24683 <autodoc>GetCount() -&gt; size_t</autodoc>
24684 <docstring>Return the number of available displays.</docstring>
24685 </staticmethod>
24686 <staticmethod name="GetFromPoint" type="int" overloaded="no">
24687 <autodoc>GetFromPoint(Point pt) -&gt; int</autodoc>
24688 <docstring>Find the display where the given point lies, return wx.NOT_FOUND if it
24689 doesn't belong to any display</docstring>
24690 <paramlist>
24691 <param name="pt" type="Point" default=""/>
24692 </paramlist>
24693 </staticmethod>
24694 <staticmethod name="GetFromWindow" type="int" overloaded="no">
24695 <autodoc>GetFromWindow(Window window) -&gt; int</autodoc>
24696 <docstring>Find the display where the given window lies, return wx.NOT_FOUND if
24697 it is not shown at all.</docstring>
24698 <paramlist>
24699 <param name="window" type="Window" default=""/>
24700 </paramlist>
24701 </staticmethod>
24702 <method name="IsOk" type="bool" overloaded="no">
24703 <autodoc>IsOk(self) -&gt; bool</autodoc>
24704 <docstring>Return true if the object was initialized successfully</docstring>
24705 </method>
24706 <method name="GetGeometry" type="Rect" overloaded="no">
24707 <autodoc>GetGeometry(self) -&gt; Rect</autodoc>
24708 <docstring>Returns the bounding rectangle of the display whose index was passed
24709 to the constructor.</docstring>
24710 </method>
24711 <method name="GetName" type="String" overloaded="no">
24712 <autodoc>GetName(self) -&gt; String</autodoc>
24713 <docstring>Returns the display's name. A name is not available on all platforms.</docstring>
24714 </method>
24715 <method name="IsPrimary" type="bool" overloaded="no">
24716 <autodoc>IsPrimary(self) -&gt; bool</autodoc>
24717 <docstring>Returns true if the display is the primary display. The primary
24718 display is the one whose index is 0.</docstring>
24719 </method>
24720 <method name="GetModes" type="PyObject" overloaded="no">
24721 <autodoc>GetModes(VideoMode mode=DefaultVideoMode) -&gt; [videoMode...]</autodoc>
24722 <docstring>Enumerate all video modes supported by this display matching the given
24723 one (in the sense of VideoMode.Match()).
24724
24725 As any mode matches the default value of the argument and there is
24726 always at least one video mode supported by display, the returned
24727 array is only empty for the default value of the argument if this
24728 function is not supported at all on this platform.</docstring>
24729 <paramlist>
24730 <param name="mode" type="VideoMode" default="wxDefaultVideoMode"/>
24731 </paramlist>
24732 </method>
24733 <method name="GetCurrentMode" type="VideoMode" overloaded="no">
24734 <autodoc>GetCurrentMode(self) -&gt; VideoMode</autodoc>
24735 <docstring>Get the current video mode.</docstring>
24736 </method>
24737 <method name="ChangeMode" type="bool" overloaded="no">
24738 <autodoc>ChangeMode(self, VideoMode mode=DefaultVideoMode) -&gt; bool</autodoc>
24739 <docstring>Change current mode, return true if succeeded, false otherwise</docstring>
24740 <paramlist>
24741 <param name="mode" type="VideoMode" default="wxDefaultVideoMode"/>
24742 </paramlist>
24743 </method>
24744 <method name="ResetMode" type="" overloaded="no">
24745 <autodoc>ResetMode(self)</autodoc>
24746 <docstring>Restore the default video mode (just a more readable synonym)</docstring>
24747 </method>
24748 </class>
24749 </module>
24750 <module name="calendar">
24751 <import name="_misc"/>
24752 <pythoncode> wx = _core </pythoncode>
24753 <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
24754 <class name="CalendarDateAttr" oldname="wxCalendarDateAttr" module="calendar">
24755 <docstring>A set of customization attributes for a calendar date, which can be
24756 used to control the look of the Calendar object.</docstring>
24757 <constructor name="CalendarDateAttr" overloaded="no">
24758 <autodoc>__init__(self, Colour colText=wxNullColour, Colour colBack=wxNullColour,
24759 Colour colBorder=wxNullColour, Font font=wxNullFont,
24760 int border=CAL_BORDER_NONE) -&gt; CalendarDateAttr</autodoc>
24761 <docstring>Create a CalendarDateAttr.</docstring>
24762 <paramlist>
24763 <param name="colText" type="Colour" default="wxNullColour"/>
24764 <param name="colBack" type="Colour" default="wxNullColour"/>
24765 <param name="colBorder" type="Colour" default="wxNullColour"/>
24766 <param name="font" type="Font" default="wxNullFont"/>
24767 <param name="border" type="wxCalendarDateBorder" default="wxCAL_BORDER_NONE"/>
24768 </paramlist>
24769 </constructor>
24770 <method name="SetTextColour" type="" overloaded="no">
24771 <autodoc>SetTextColour(self, Colour colText)</autodoc>
24772 <paramlist>
24773 <param name="colText" type="Colour" default=""/>
24774 </paramlist>
24775 </method>
24776 <method name="SetBackgroundColour" type="" overloaded="no">
24777 <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc>
24778 <paramlist>
24779 <param name="colBack" type="Colour" default=""/>
24780 </paramlist>
24781 </method>
24782 <method name="SetBorderColour" type="" overloaded="no">
24783 <autodoc>SetBorderColour(self, Colour col)</autodoc>
24784 <paramlist>
24785 <param name="col" type="Colour" default=""/>
24786 </paramlist>
24787 </method>
24788 <method name="SetFont" type="" overloaded="no">
24789 <autodoc>SetFont(self, Font font)</autodoc>
24790 <paramlist>
24791 <param name="font" type="Font" default=""/>
24792 </paramlist>
24793 </method>
24794 <method name="SetBorder" type="" overloaded="no">
24795 <autodoc>SetBorder(self, int border)</autodoc>
24796 <paramlist>
24797 <param name="border" type="wxCalendarDateBorder" default=""/>
24798 </paramlist>
24799 </method>
24800 <method name="SetHoliday" type="" overloaded="no">
24801 <autodoc>SetHoliday(self, bool holiday)</autodoc>
24802 <paramlist>
24803 <param name="holiday" type="bool" default=""/>
24804 </paramlist>
24805 </method>
24806 <method name="HasTextColour" type="bool" overloaded="no">
24807 <autodoc>HasTextColour(self) -&gt; bool</autodoc>
24808 </method>
24809 <method name="HasBackgroundColour" type="bool" overloaded="no">
24810 <autodoc>HasBackgroundColour(self) -&gt; bool</autodoc>
24811 </method>
24812 <method name="HasBorderColour" type="bool" overloaded="no">
24813 <autodoc>HasBorderColour(self) -&gt; bool</autodoc>
24814 </method>
24815 <method name="HasFont" type="bool" overloaded="no">
24816 <autodoc>HasFont(self) -&gt; bool</autodoc>
24817 </method>
24818 <method name="HasBorder" type="bool" overloaded="no">
24819 <autodoc>HasBorder(self) -&gt; bool</autodoc>
24820 </method>
24821 <method name="IsHoliday" type="bool" overloaded="no">
24822 <autodoc>IsHoliday(self) -&gt; bool</autodoc>
24823 </method>
24824 <method name="GetTextColour" type="Colour" overloaded="no">
24825 <autodoc>GetTextColour(self) -&gt; Colour</autodoc>
24826 </method>
24827 <method name="GetBackgroundColour" type="Colour" overloaded="no">
24828 <autodoc>GetBackgroundColour(self) -&gt; Colour</autodoc>
24829 </method>
24830 <method name="GetBorderColour" type="Colour" overloaded="no">
24831 <autodoc>GetBorderColour(self) -&gt; Colour</autodoc>
24832 </method>
24833 <method name="GetFont" type="Font" overloaded="no">
24834 <autodoc>GetFont(self) -&gt; Font</autodoc>
24835 </method>
24836 <method name="GetBorder" type="wxCalendarDateBorder" overloaded="no">
24837 <autodoc>GetBorder(self) -&gt; int</autodoc>
24838 </method>
24839 </class>
24840 <class name="CalendarEvent" oldname="wxCalendarEvent" module="calendar">
24841 <baseclass name="CommandEvent"/>
24842 <constructor name="CalendarEvent" overloaded="no">
24843 <autodoc>__init__(self, CalendarCtrl cal, wxEventType type) -&gt; CalendarEvent</autodoc>
24844 <paramlist>
24845 <param name="cal" type="wxCalendarCtrl" default=""/>
24846 <param name="type" type="wxEventType" default=""/>
24847 </paramlist>
24848 </constructor>
24849 <method name="GetDate" type="DateTime" overloaded="no">
24850 <autodoc>GetDate(self) -&gt; DateTime</autodoc>
24851 </method>
24852 <method name="SetDate" type="" overloaded="no">
24853 <autodoc>SetDate(self, DateTime date)</autodoc>
24854 <paramlist>
24855 <param name="date" type="DateTime" default=""/>
24856 </paramlist>
24857 </method>
24858 <method name="SetWeekDay" type="" overloaded="no">
24859 <autodoc>SetWeekDay(self, int wd)</autodoc>
24860 <paramlist>
24861 <param name="wd" type="wxDateTime::WeekDay" default=""/>
24862 </paramlist>
24863 </method>
24864 <method name="GetWeekDay" type="wxDateTime::WeekDay" overloaded="no">
24865 <autodoc>GetWeekDay(self) -&gt; int</autodoc>
24866 </method>
24867 </class>
24868 <pythoncode>
24869 EVT_CALENDAR = wx.PyEventBinder( wxEVT_CALENDAR_DOUBLECLICKED, 1)
24870 EVT_CALENDAR_SEL_CHANGED = wx.PyEventBinder( wxEVT_CALENDAR_SEL_CHANGED, 1)
24871 EVT_CALENDAR_DAY = wx.PyEventBinder( wxEVT_CALENDAR_DAY_CHANGED, 1)
24872 EVT_CALENDAR_MONTH = wx.PyEventBinder( wxEVT_CALENDAR_MONTH_CHANGED, 1)
24873 EVT_CALENDAR_YEAR = wx.PyEventBinder( wxEVT_CALENDAR_YEAR_CHANGED, 1)
24874 EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, 1)
24875 </pythoncode>
24876 <class name="CalendarCtrl" oldname="wxCalendarCtrl" module="calendar">
24877 <docstring>The calendar control allows the user to pick a date interactively.
24878
24879 The CalendarCtrl displays a window containing several parts: the
24880 control to pick the month and the year at the top (either or both of
24881 them may be disabled) and a month area below them which shows all the
24882 days in the month. The user can move the current selection using the
24883 keyboard and select the date (generating EVT_CALENDAR event) by
24884 pressing &lt;Return&gt; or double clicking it.
24885
24886 It has advanced possibilities for the customization of its
24887 display. All global settings (such as colours and fonts used) can, of
24888 course, be changed. But also, the display style for each day in the
24889 month can be set independently using CalendarDateAttr class.
24890
24891 An item without custom attributes is drawn with the default colours
24892 and font and without border, but setting custom attributes with
24893 SetAttr allows to modify its appearance. Just create a custom
24894 attribute object and set it for the day you want to be displayed
24895 specially A day may be marked as being a holiday, (even if it is not
24896 recognized as one by wx.DateTime) by using the SetHoliday method.
24897
24898 As the attributes are specified for each day, they may change when the
24899 month is changed, so you will often want to update them in an
24900 EVT_CALENDAR_MONTH event handler.</docstring>
24901 <baseclass name="Control"/>
24902 <constructor name="CalendarCtrl" overloaded="no">
24903 <autodoc>__init__(self, Window parent, int id=-1, DateTime date=DefaultDateTime,
24904 Point pos=DefaultPosition, Size size=DefaultSize,
24905 long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS,
24906 String name=CalendarNameStr) -&gt; CalendarCtrl</autodoc>
24907 <docstring>Create and show a calendar control.</docstring>
24908 <paramlist>
24909 <param name="parent" type="Window" default=""/>
24910 <param name="id" type="int" default="-1"/>
24911 <param name="date" type="DateTime" default="wxDefaultDateTime"/>
24912 <param name="pos" type="Point" default="wxDefaultPosition"/>
24913 <param name="size" type="Size" default="wxDefaultSize"/>
24914 <param name="style" type="long" default="wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS"/>
24915 <param name="name" type="String" default="wxPyCalendarNameStr"/>
24916 </paramlist>
24917 </constructor>
24918 <constructor name="PreCalendarCtrl" overloaded="no">
24919 <autodoc>PreCalendarCtrl() -&gt; CalendarCtrl</autodoc>
24920 <docstring>Precreate a CalendarCtrl for 2-phase creation.</docstring>
24921 </constructor>
24922 <method name="Create" type="bool" overloaded="no">
24923 <autodoc>Create(self, Window parent, int id, DateTime date=DefaultDateTime,
24924 Point pos=DefaultPosition, Size size=DefaultSize,
24925 long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS,
24926 String name=CalendarNameStr) -&gt; bool</autodoc>
24927 <docstring>Acutally create the GUI portion of the CalendarCtrl for 2-phase
24928 creation.</docstring>
24929 <paramlist>
24930 <param name="parent" type="Window" default=""/>
24931 <param name="id" type="int" default=""/>
24932 <param name="date" type="DateTime" default="wxDefaultDateTime"/>
24933 <param name="pos" type="Point" default="wxDefaultPosition"/>
24934 <param name="size" type="Size" default="wxDefaultSize"/>
24935 <param name="style" type="long" default="wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS"/>
24936 <param name="name" type="String" default="wxPyCalendarNameStr"/>
24937 </paramlist>
24938 </method>
24939 <method name="SetDate" type="" overloaded="no">
24940 <autodoc>SetDate(self, DateTime date)</autodoc>
24941 <docstring>Sets the current date.</docstring>
24942 <paramlist>
24943 <param name="date" type="DateTime" default=""/>
24944 </paramlist>
24945 </method>
24946 <method name="GetDate" type="DateTime" overloaded="no">
24947 <autodoc>GetDate(self) -&gt; DateTime</autodoc>
24948 <docstring>Gets the currently selected date.</docstring>
24949 </method>
24950 <method name="SetLowerDateLimit" type="bool" overloaded="no">
24951 <autodoc>SetLowerDateLimit(self, DateTime date=DefaultDateTime) -&gt; bool</autodoc>
24952 <docstring>set the range in which selection can occur</docstring>
24953 <paramlist>
24954 <param name="date" type="DateTime" default="wxDefaultDateTime"/>
24955 </paramlist>
24956 </method>
24957 <method name="SetUpperDateLimit" type="bool" overloaded="no">
24958 <autodoc>SetUpperDateLimit(self, DateTime date=DefaultDateTime) -&gt; bool</autodoc>
24959 <docstring>set the range in which selection can occur</docstring>
24960 <paramlist>
24961 <param name="date" type="DateTime" default="wxDefaultDateTime"/>
24962 </paramlist>
24963 </method>
24964 <method name="GetLowerDateLimit" type="DateTime" overloaded="no">
24965 <autodoc>GetLowerDateLimit(self) -&gt; DateTime</autodoc>
24966 <docstring>get the range in which selection can occur</docstring>
24967 </method>
24968 <method name="GetUpperDateLimit" type="DateTime" overloaded="no">
24969 <autodoc>GetUpperDateLimit(self) -&gt; DateTime</autodoc>
24970 <docstring>get the range in which selection can occur</docstring>
24971 </method>
24972 <method name="SetDateRange" type="bool" overloaded="no">
24973 <autodoc>SetDateRange(self, DateTime lowerdate=DefaultDateTime, DateTime upperdate=DefaultDateTime) -&gt; bool</autodoc>
24974 <docstring>set the range in which selection can occur</docstring>
24975 <paramlist>
24976 <param name="lowerdate" type="DateTime" default="wxDefaultDateTime"/>
24977 <param name="upperdate" type="DateTime" default="wxDefaultDateTime"/>
24978 </paramlist>
24979 </method>
24980 <method name="EnableYearChange" type="" overloaded="no">
24981 <autodoc>EnableYearChange(self, bool enable=True)</autodoc>
24982 <docstring>This function should be used instead of changing CAL_NO_YEAR_CHANGE
24983 style bit directly. It allows or disallows the user to change the year
24984 interactively.</docstring>
24985 <paramlist>
24986 <param name="enable" type="bool" default="True"/>
24987 </paramlist>
24988 </method>
24989 <method name="EnableMonthChange" type="" overloaded="no">
24990 <autodoc>EnableMonthChange(self, bool enable=True)</autodoc>
24991 <docstring>This function should be used instead of changing CAL_NO_MONTH_CHANGE
24992 style bit. It allows or disallows the user to change the month
24993 interactively. Note that if the month can not be changed, the year can
24994 not be changed either.</docstring>
24995 <paramlist>
24996 <param name="enable" type="bool" default="True"/>
24997 </paramlist>
24998 </method>
24999 <method name="EnableHolidayDisplay" type="" overloaded="no">
25000 <autodoc>EnableHolidayDisplay(self, bool display=True)</autodoc>
25001 <docstring>This function should be used instead of changing CAL_SHOW_HOLIDAYS
25002 style bit directly. It enables or disables the special highlighting of
25003 the holidays.</docstring>
25004 <paramlist>
25005 <param name="display" type="bool" default="True"/>
25006 </paramlist>
25007 </method>
25008 <method name="SetHeaderColours" type="" overloaded="no">
25009 <autodoc>SetHeaderColours(self, Colour colFg, Colour colBg)</autodoc>
25010 <docstring>Header colours are used for painting the weekdays at the top.</docstring>
25011 <paramlist>
25012 <param name="colFg" type="Colour" default=""/>
25013 <param name="colBg" type="Colour" default=""/>
25014 </paramlist>
25015 </method>
25016 <method name="GetHeaderColourFg" type="Colour" overloaded="no">
25017 <autodoc>GetHeaderColourFg(self) -&gt; Colour</autodoc>
25018 <docstring>Header colours are used for painting the weekdays at the top.</docstring>
25019 </method>
25020 <method name="GetHeaderColourBg" type="Colour" overloaded="no">
25021 <autodoc>GetHeaderColourBg(self) -&gt; Colour</autodoc>
25022 <docstring>Header colours are used for painting the weekdays at the top.</docstring>
25023 </method>
25024 <method name="SetHighlightColours" type="" overloaded="no">
25025 <autodoc>SetHighlightColours(self, Colour colFg, Colour colBg)</autodoc>
25026 <docstring>Highlight colour is used for the currently selected date.</docstring>
25027 <paramlist>
25028 <param name="colFg" type="Colour" default=""/>
25029 <param name="colBg" type="Colour" default=""/>
25030 </paramlist>
25031 </method>
25032 <method name="GetHighlightColourFg" type="Colour" overloaded="no">
25033 <autodoc>GetHighlightColourFg(self) -&gt; Colour</autodoc>
25034 <docstring>Highlight colour is used for the currently selected date.</docstring>
25035 </method>
25036 <method name="GetHighlightColourBg" type="Colour" overloaded="no">
25037 <autodoc>GetHighlightColourBg(self) -&gt; Colour</autodoc>
25038 <docstring>Highlight colour is used for the currently selected date.</docstring>
25039 </method>
25040 <method name="SetHolidayColours" type="" overloaded="no">
25041 <autodoc>SetHolidayColours(self, Colour colFg, Colour colBg)</autodoc>
25042 <docstring>Holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is
25043 used).</docstring>
25044 <paramlist>
25045 <param name="colFg" type="Colour" default=""/>
25046 <param name="colBg" type="Colour" default=""/>
25047 </paramlist>
25048 </method>
25049 <method name="GetHolidayColourFg" type="Colour" overloaded="no">
25050 <autodoc>GetHolidayColourFg(self) -&gt; Colour</autodoc>
25051 <docstring>Holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is
25052 used).</docstring>
25053 </method>
25054 <method name="GetHolidayColourBg" type="Colour" overloaded="no">
25055 <autodoc>GetHolidayColourBg(self) -&gt; Colour</autodoc>
25056 <docstring>Holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is
25057 used).</docstring>
25058 </method>
25059 <method name="GetAttr" type="CalendarDateAttr" overloaded="no">
25060 <autodoc>GetAttr(self, size_t day) -&gt; CalendarDateAttr</autodoc>
25061 <docstring>Returns the attribute for the given date (should be in the range
25062 1...31). The returned value may be None</docstring>
25063 <paramlist>
25064 <param name="day" type="size_t" default=""/>
25065 </paramlist>
25066 </method>
25067 <method name="SetAttr" type="" overloaded="no">
25068 <autodoc>SetAttr(self, size_t day, CalendarDateAttr attr)</autodoc>
25069 <docstring>Associates the attribute with the specified date (in the range
25070 1...31). If the attribute passed is None, the items attribute is
25071 cleared.</docstring>
25072 <paramlist>
25073 <param name="day" type="size_t" default=""/>
25074 <param name="attr" type="CalendarDateAttr" default=""/>
25075 </paramlist>
25076 </method>
25077 <method name="SetHoliday" type="" overloaded="no">
25078 <autodoc>SetHoliday(self, size_t day)</autodoc>
25079 <docstring>Marks the specified day as being a holiday in the current month.</docstring>
25080 <paramlist>
25081 <param name="day" type="size_t" default=""/>
25082 </paramlist>
25083 </method>
25084 <method name="ResetAttr" type="" overloaded="no">
25085 <autodoc>ResetAttr(self, size_t day)</autodoc>
25086 <docstring>Clears any attributes associated with the given day (in the range
25087 1...31).</docstring>
25088 <paramlist>
25089 <param name="day" type="size_t" default=""/>
25090 </paramlist>
25091 </method>
25092 <method name="HitTest" type="PyObject" overloaded="no">
25093 <autodoc>HitTest(Point pos) -&gt; (result, date, weekday)</autodoc>
25094 <docstring>Returns 3-tuple with information about the given position on the
25095 calendar control. The first value of the tuple is a result code and
25096 determines the validity of the remaining two values.</docstring>
25097 <paramlist>
25098 <param name="pos" type="Point" default=""/>
25099 </paramlist>
25100 </method>
25101 <method name="GetMonthControl" type="Control" overloaded="no">
25102 <autodoc>GetMonthControl(self) -&gt; Control</autodoc>
25103 <docstring>Get the currently shown control for month.</docstring>
25104 </method>
25105 <method name="GetYearControl" type="Control" overloaded="no">
25106 <autodoc>GetYearControl(self) -&gt; Control</autodoc>
25107 <docstring>Get the currently shown control for year.</docstring>
25108 </method>
25109 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
25110 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
25111 <docstring>Get the default attributes for this class. This is useful if you want
25112 to use the same font or colour in your own control as in a standard
25113 control -- which is a much better idea than hard coding specific
25114 colours or fonts which might look completely out of place on the
25115 user's system, especially if it uses themes.
25116
25117 The variant parameter is only relevant under Mac currently and is
25118 ignore under other platforms. Under Mac, it will change the size of
25119 the returned font. See `wx.Window.SetWindowVariant` for more about
25120 this.</docstring>
25121 <paramlist>
25122 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
25123 </paramlist>
25124 </staticmethod>
25125 </class>
25126 </module>
25127 <module name="grid">
25128 <import name="_windows"/>
25129 <pythoncode> wx = _core </pythoncode>
25130 <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
25131 <class name="GridCellRenderer" oldname="wxGridCellRenderer" module="grid">
25132 <method name="_setOORInfo" type="" overloaded="no">
25133 <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
25134 <paramlist>
25135 <param name="_self" type="PyObject" default=""/>
25136 </paramlist>
25137 </method>
25138 <method name="SetParameters" type="" overloaded="no">
25139 <autodoc>SetParameters(self, String params)</autodoc>
25140 <paramlist>
25141 <param name="params" type="String" default=""/>
25142 </paramlist>
25143 </method>
25144 <method name="IncRef" type="" overloaded="no">
25145 <autodoc>IncRef(self)</autodoc>
25146 </method>
25147 <method name="DecRef" type="" overloaded="no">
25148 <autodoc>DecRef(self)</autodoc>
25149 </method>
25150 <method name="Draw" type="" overloaded="no">
25151 <autodoc>Draw(self, Grid grid, GridCellAttr attr, DC dc, Rect rect, int row,
25152 int col, bool isSelected)</autodoc>
25153 <paramlist>
25154 <param name="grid" type="wxGrid" default=""/>
25155 <param name="attr" type="wxGridCellAttr" default=""/>
25156 <param name="dc" type="DC" default=""/>
25157 <param name="rect" type="Rect" default=""/>
25158 <param name="row" type="int" default=""/>
25159 <param name="col" type="int" default=""/>
25160 <param name="isSelected" type="bool" default=""/>
25161 </paramlist>
25162 </method>
25163 <method name="GetBestSize" type="Size" overloaded="no">
25164 <autodoc>GetBestSize(self, Grid grid, GridCellAttr attr, DC dc, int row, int col) -&gt; Size</autodoc>
25165 <paramlist>
25166 <param name="grid" type="wxGrid" default=""/>
25167 <param name="attr" type="wxGridCellAttr" default=""/>
25168 <param name="dc" type="DC" default=""/>
25169 <param name="row" type="int" default=""/>
25170 <param name="col" type="int" default=""/>
25171 </paramlist>
25172 </method>
25173 <method name="Clone" type="GridCellRenderer" overloaded="no">
25174 <autodoc>Clone(self) -&gt; GridCellRenderer</autodoc>
25175 </method>
25176 </class>
25177 <class name="PyGridCellRenderer" oldname="wxPyGridCellRenderer" module="grid">
25178 <baseclass name="GridCellRenderer"/>
25179 <constructor name="PyGridCellRenderer" overloaded="no">
25180 <autodoc>__init__(self) -&gt; PyGridCellRenderer</autodoc>
25181 </constructor>
25182 <method name="_setCallbackInfo" type="" overloaded="no">
25183 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
25184 <paramlist>
25185 <param name="self" type="PyObject" default=""/>
25186 <param name="_class" type="PyObject" default=""/>
25187 </paramlist>
25188 </method>
25189 <method name="base_SetParameters" type="" overloaded="no">
25190 <autodoc>base_SetParameters(self, String params)</autodoc>
25191 <paramlist>
25192 <param name="params" type="String" default=""/>
25193 </paramlist>
25194 </method>
25195 </class>
25196 <class name="GridCellStringRenderer" oldname="wxGridCellStringRenderer" module="grid">
25197 <baseclass name="GridCellRenderer"/>
25198 <constructor name="GridCellStringRenderer" overloaded="no">
25199 <autodoc>__init__(self) -&gt; GridCellStringRenderer</autodoc>
25200 </constructor>
25201 </class>
25202 <class name="GridCellNumberRenderer" oldname="wxGridCellNumberRenderer" module="grid">
25203 <baseclass name="GridCellStringRenderer"/>
25204 <constructor name="GridCellNumberRenderer" overloaded="no">
25205 <autodoc>__init__(self) -&gt; GridCellNumberRenderer</autodoc>
25206 </constructor>
25207 </class>
25208 <class name="GridCellFloatRenderer" oldname="wxGridCellFloatRenderer" module="grid">
25209 <baseclass name="GridCellStringRenderer"/>
25210 <constructor name="GridCellFloatRenderer" overloaded="no">
25211 <autodoc>__init__(self, int width=-1, int precision=-1) -&gt; GridCellFloatRenderer</autodoc>
25212 <paramlist>
25213 <param name="width" type="int" default="-1"/>
25214 <param name="precision" type="int" default="-1"/>
25215 </paramlist>
25216 </constructor>
25217 <method name="GetWidth" type="int" overloaded="no">
25218 <autodoc>GetWidth(self) -&gt; int</autodoc>
25219 </method>
25220 <method name="SetWidth" type="" overloaded="no">
25221 <autodoc>SetWidth(self, int width)</autodoc>
25222 <paramlist>
25223 <param name="width" type="int" default=""/>
25224 </paramlist>
25225 </method>
25226 <method name="GetPrecision" type="int" overloaded="no">
25227 <autodoc>GetPrecision(self) -&gt; int</autodoc>
25228 </method>
25229 <method name="SetPrecision" type="" overloaded="no">
25230 <autodoc>SetPrecision(self, int precision)</autodoc>
25231 <paramlist>
25232 <param name="precision" type="int" default=""/>
25233 </paramlist>
25234 </method>
25235 </class>
25236 <class name="GridCellBoolRenderer" oldname="wxGridCellBoolRenderer" module="grid">
25237 <baseclass name="GridCellRenderer"/>
25238 <constructor name="GridCellBoolRenderer" overloaded="no">
25239 <autodoc>__init__(self) -&gt; GridCellBoolRenderer</autodoc>
25240 </constructor>
25241 </class>
25242 <class name="GridCellDateTimeRenderer" oldname="wxGridCellDateTimeRenderer" module="grid">
25243 <baseclass name="GridCellStringRenderer"/>
25244 <constructor name="GridCellDateTimeRenderer" overloaded="no">
25245 <autodoc>__init__(self, String outformat=DateTimeFormatStr, String informat=DateTimeFormatStr) -&gt; GridCellDateTimeRenderer</autodoc>
25246 <paramlist>
25247 <param name="outformat" type="String" default="wxPyDateTimeFormatStr"/>
25248 <param name="informat" type="String" default="wxPyDateTimeFormatStr"/>
25249 </paramlist>
25250 </constructor>
25251 </class>
25252 <class name="GridCellEnumRenderer" oldname="wxGridCellEnumRenderer" module="grid">
25253 <baseclass name="GridCellStringRenderer"/>
25254 <constructor name="GridCellEnumRenderer" overloaded="no">
25255 <autodoc>__init__(self, String choices=EmptyString) -&gt; GridCellEnumRenderer</autodoc>
25256 <paramlist>
25257 <param name="choices" type="String" default="wxPyEmptyString"/>
25258 </paramlist>
25259 </constructor>
25260 </class>
25261 <class name="GridCellAutoWrapStringRenderer" oldname="wxGridCellAutoWrapStringRenderer" module="grid">
25262 <baseclass name="GridCellStringRenderer"/>
25263 <constructor name="GridCellAutoWrapStringRenderer" overloaded="no">
25264 <autodoc>__init__(self) -&gt; GridCellAutoWrapStringRenderer</autodoc>
25265 </constructor>
25266 </class>
25267 <class name="GridCellEditor" oldname="wxGridCellEditor" module="grid">
25268 <method name="_setOORInfo" type="" overloaded="no">
25269 <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
25270 <paramlist>
25271 <param name="_self" type="PyObject" default=""/>
25272 </paramlist>
25273 </method>
25274 <method name="IsCreated" type="bool" overloaded="no">
25275 <autodoc>IsCreated(self) -&gt; bool</autodoc>
25276 </method>
25277 <method name="GetControl" type="Control" overloaded="no">
25278 <autodoc>GetControl(self) -&gt; Control</autodoc>
25279 </method>
25280 <method name="SetControl" type="" overloaded="no">
25281 <autodoc>SetControl(self, Control control)</autodoc>
25282 <paramlist>
25283 <param name="control" type="Control" default=""/>
25284 </paramlist>
25285 </method>
25286 <method name="GetCellAttr" type="wxGridCellAttr" overloaded="no">
25287 <autodoc>GetCellAttr(self) -&gt; GridCellAttr</autodoc>
25288 </method>
25289 <method name="SetCellAttr" type="" overloaded="no">
25290 <autodoc>SetCellAttr(self, GridCellAttr attr)</autodoc>
25291 <paramlist>
25292 <param name="attr" type="wxGridCellAttr" default=""/>
25293 </paramlist>
25294 </method>
25295 <method name="SetParameters" type="" overloaded="no">
25296 <autodoc>SetParameters(self, String params)</autodoc>
25297 <paramlist>
25298 <param name="params" type="String" default=""/>
25299 </paramlist>
25300 </method>
25301 <method name="IncRef" type="" overloaded="no">
25302 <autodoc>IncRef(self)</autodoc>
25303 </method>
25304 <method name="DecRef" type="" overloaded="no">
25305 <autodoc>DecRef(self)</autodoc>
25306 </method>
25307 <method name="Create" type="" overloaded="no">
25308 <autodoc>Create(self, Window parent, int id, EvtHandler evtHandler)</autodoc>
25309 <paramlist>
25310 <param name="parent" type="Window" default=""/>
25311 <param name="id" type="int" default=""/>
25312 <param name="evtHandler" type="EvtHandler" default=""/>
25313 </paramlist>
25314 </method>
25315 <method name="BeginEdit" type="" overloaded="no">
25316 <autodoc>BeginEdit(self, int row, int col, Grid grid)</autodoc>
25317 <paramlist>
25318 <param name="row" type="int" default=""/>
25319 <param name="col" type="int" default=""/>
25320 <param name="grid" type="wxGrid" default=""/>
25321 </paramlist>
25322 </method>
25323 <method name="EndEdit" type="bool" overloaded="no">
25324 <autodoc>EndEdit(self, int row, int col, Grid grid) -&gt; bool</autodoc>
25325 <paramlist>
25326 <param name="row" type="int" default=""/>
25327 <param name="col" type="int" default=""/>
25328 <param name="grid" type="wxGrid" default=""/>
25329 </paramlist>
25330 </method>
25331 <method name="Reset" type="" overloaded="no">
25332 <autodoc>Reset(self)</autodoc>
25333 </method>
25334 <method name="Clone" type="GridCellEditor" overloaded="no">
25335 <autodoc>Clone(self) -&gt; GridCellEditor</autodoc>
25336 </method>
25337 <method name="SetSize" type="" overloaded="no">
25338 <autodoc>SetSize(self, Rect rect)</autodoc>
25339 <paramlist>
25340 <param name="rect" type="Rect" default=""/>
25341 </paramlist>
25342 </method>
25343 <method name="Show" type="" overloaded="no">
25344 <autodoc>Show(self, bool show, GridCellAttr attr=None)</autodoc>
25345 <paramlist>
25346 <param name="show" type="bool" default=""/>
25347 <param name="attr" type="wxGridCellAttr" default="NULL"/>
25348 </paramlist>
25349 </method>
25350 <method name="PaintBackground" type="" overloaded="no">
25351 <autodoc>PaintBackground(self, Rect rectCell, GridCellAttr attr)</autodoc>
25352 <paramlist>
25353 <param name="rectCell" type="Rect" default=""/>
25354 <param name="attr" type="wxGridCellAttr" default=""/>
25355 </paramlist>
25356 </method>
25357 <method name="IsAcceptedKey" type="bool" overloaded="no">
25358 <autodoc>IsAcceptedKey(self, KeyEvent event) -&gt; bool</autodoc>
25359 <paramlist>
25360 <param name="event" type="KeyEvent" default=""/>
25361 </paramlist>
25362 </method>
25363 <method name="StartingKey" type="" overloaded="no">
25364 <autodoc>StartingKey(self, KeyEvent event)</autodoc>
25365 <paramlist>
25366 <param name="event" type="KeyEvent" default=""/>
25367 </paramlist>
25368 </method>
25369 <method name="StartingClick" type="" overloaded="no">
25370 <autodoc>StartingClick(self)</autodoc>
25371 </method>
25372 <method name="HandleReturn" type="" overloaded="no">
25373 <autodoc>HandleReturn(self, KeyEvent event)</autodoc>
25374 <paramlist>
25375 <param name="event" type="KeyEvent" default=""/>
25376 </paramlist>
25377 </method>
25378 <method name="Destroy" type="" overloaded="no">
25379 <autodoc>Destroy(self)</autodoc>
25380 </method>
25381 </class>
25382 <class name="PyGridCellEditor" oldname="wxPyGridCellEditor" module="grid">
25383 <baseclass name="GridCellEditor"/>
25384 <constructor name="PyGridCellEditor" overloaded="no">
25385 <autodoc>__init__(self) -&gt; PyGridCellEditor</autodoc>
25386 </constructor>
25387 <method name="_setCallbackInfo" type="" overloaded="no">
25388 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
25389 <paramlist>
25390 <param name="self" type="PyObject" default=""/>
25391 <param name="_class" type="PyObject" default=""/>
25392 </paramlist>
25393 </method>
25394 <method name="base_SetSize" type="" overloaded="no">
25395 <autodoc>base_SetSize(self, Rect rect)</autodoc>
25396 <paramlist>
25397 <param name="rect" type="Rect" default=""/>
25398 </paramlist>
25399 </method>
25400 <method name="base_Show" type="" overloaded="no">
25401 <autodoc>base_Show(self, bool show, GridCellAttr attr=None)</autodoc>
25402 <paramlist>
25403 <param name="show" type="bool" default=""/>
25404 <param name="attr" type="wxGridCellAttr" default="NULL"/>
25405 </paramlist>
25406 </method>
25407 <method name="base_PaintBackground" type="" overloaded="no">
25408 <autodoc>base_PaintBackground(self, Rect rectCell, GridCellAttr attr)</autodoc>
25409 <paramlist>
25410 <param name="rectCell" type="Rect" default=""/>
25411 <param name="attr" type="wxGridCellAttr" default=""/>
25412 </paramlist>
25413 </method>
25414 <method name="base_IsAcceptedKey" type="bool" overloaded="no">
25415 <autodoc>base_IsAcceptedKey(self, KeyEvent event) -&gt; bool</autodoc>
25416 <paramlist>
25417 <param name="event" type="KeyEvent" default=""/>
25418 </paramlist>
25419 </method>
25420 <method name="base_StartingKey" type="" overloaded="no">
25421 <autodoc>base_StartingKey(self, KeyEvent event)</autodoc>
25422 <paramlist>
25423 <param name="event" type="KeyEvent" default=""/>
25424 </paramlist>
25425 </method>
25426 <method name="base_StartingClick" type="" overloaded="no">
25427 <autodoc>base_StartingClick(self)</autodoc>
25428 </method>
25429 <method name="base_HandleReturn" type="" overloaded="no">
25430 <autodoc>base_HandleReturn(self, KeyEvent event)</autodoc>
25431 <paramlist>
25432 <param name="event" type="KeyEvent" default=""/>
25433 </paramlist>
25434 </method>
25435 <method name="base_Destroy" type="" overloaded="no">
25436 <autodoc>base_Destroy(self)</autodoc>
25437 </method>
25438 <method name="base_SetParameters" type="" overloaded="no">
25439 <autodoc>base_SetParameters(self, String params)</autodoc>
25440 <paramlist>
25441 <param name="params" type="String" default=""/>
25442 </paramlist>
25443 </method>
25444 </class>
25445 <class name="GridCellTextEditor" oldname="wxGridCellTextEditor" module="grid">
25446 <baseclass name="GridCellEditor"/>
25447 <constructor name="GridCellTextEditor" overloaded="no">
25448 <autodoc>__init__(self) -&gt; GridCellTextEditor</autodoc>
25449 </constructor>
25450 <method name="GetValue" type="String" overloaded="no">
25451 <autodoc>GetValue(self) -&gt; String</autodoc>
25452 </method>
25453 </class>
25454 <class name="GridCellNumberEditor" oldname="wxGridCellNumberEditor" module="grid">
25455 <baseclass name="GridCellTextEditor"/>
25456 <constructor name="GridCellNumberEditor" overloaded="no">
25457 <autodoc>__init__(self, int min=-1, int max=-1) -&gt; GridCellNumberEditor</autodoc>
25458 <paramlist>
25459 <param name="min" type="int" default="-1"/>
25460 <param name="max" type="int" default="-1"/>
25461 </paramlist>
25462 </constructor>
25463 <method name="GetValue" type="String" overloaded="no">
25464 <autodoc>GetValue(self) -&gt; String</autodoc>
25465 </method>
25466 </class>
25467 <class name="GridCellFloatEditor" oldname="wxGridCellFloatEditor" module="grid">
25468 <baseclass name="GridCellTextEditor"/>
25469 <constructor name="GridCellFloatEditor" overloaded="no">
25470 <autodoc>__init__(self, int width=-1, int precision=-1) -&gt; GridCellFloatEditor</autodoc>
25471 <paramlist>
25472 <param name="width" type="int" default="-1"/>
25473 <param name="precision" type="int" default="-1"/>
25474 </paramlist>
25475 </constructor>
25476 <method name="GetValue" type="String" overloaded="no">
25477 <autodoc>GetValue(self) -&gt; String</autodoc>
25478 </method>
25479 </class>
25480 <class name="GridCellBoolEditor" oldname="wxGridCellBoolEditor" module="grid">
25481 <baseclass name="GridCellEditor"/>
25482 <constructor name="GridCellBoolEditor" overloaded="no">
25483 <autodoc>__init__(self) -&gt; GridCellBoolEditor</autodoc>
25484 </constructor>
25485 <method name="GetValue" type="String" overloaded="no">
25486 <autodoc>GetValue(self) -&gt; String</autodoc>
25487 </method>
25488 </class>
25489 <class name="GridCellChoiceEditor" oldname="wxGridCellChoiceEditor" module="grid">
25490 <baseclass name="GridCellEditor"/>
25491 <constructor name="GridCellChoiceEditor" overloaded="no">
25492 <autodoc>__init__(self, int choices=0, String choices_array=None, bool allowOthers=False) -&gt; GridCellChoiceEditor</autodoc>
25493 <paramlist>
25494 <param name="choices" type="int" default="0"/>
25495 <param name="choices_array" type="String" default="NULL"/>
25496 <param name="allowOthers" type="bool" default="False"/>
25497 </paramlist>
25498 </constructor>
25499 <method name="GetValue" type="String" overloaded="no">
25500 <autodoc>GetValue(self) -&gt; String</autodoc>
25501 </method>
25502 </class>
25503 <class name="GridCellEnumEditor" oldname="wxGridCellEnumEditor" module="grid">
25504 <baseclass name="GridCellChoiceEditor"/>
25505 <constructor name="GridCellEnumEditor" overloaded="no">
25506 <autodoc>__init__(self, String choices=EmptyString) -&gt; GridCellEnumEditor</autodoc>
25507 <paramlist>
25508 <param name="choices" type="String" default="wxPyEmptyString"/>
25509 </paramlist>
25510 </constructor>
25511 <method name="GetValue" type="String" overloaded="no">
25512 <autodoc>GetValue(self) -&gt; String</autodoc>
25513 </method>
25514 </class>
25515 <class name="GridCellAutoWrapStringEditor" oldname="wxGridCellAutoWrapStringEditor" module="grid">
25516 <baseclass name="GridCellTextEditor"/>
25517 <constructor name="GridCellAutoWrapStringEditor" overloaded="no">
25518 <autodoc>__init__(self) -&gt; GridCellAutoWrapStringEditor</autodoc>
25519 </constructor>
25520 <method name="GetValue" type="String" overloaded="no">
25521 <autodoc>GetValue(self) -&gt; String</autodoc>
25522 </method>
25523 </class>
25524 <class name="GridCellAttr" oldname="wxGridCellAttr" module="grid">
25525 <constructor name="GridCellAttr" overloaded="no">
25526 <autodoc>__init__(self, GridCellAttr attrDefault=None) -&gt; GridCellAttr</autodoc>
25527 <paramlist>
25528 <param name="attrDefault" type="GridCellAttr" default="NULL"/>
25529 </paramlist>
25530 </constructor>
25531 <method name="_setOORInfo" type="" overloaded="no">
25532 <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
25533 <paramlist>
25534 <param name="_self" type="PyObject" default=""/>
25535 </paramlist>
25536 </method>
25537 <method name="Clone" type="GridCellAttr" overloaded="no">
25538 <autodoc>Clone(self) -&gt; GridCellAttr</autodoc>
25539 </method>
25540 <method name="MergeWith" type="" overloaded="no">
25541 <autodoc>MergeWith(self, GridCellAttr mergefrom)</autodoc>
25542 <paramlist>
25543 <param name="mergefrom" type="GridCellAttr" default=""/>
25544 </paramlist>
25545 </method>
25546 <method name="IncRef" type="" overloaded="no">
25547 <autodoc>IncRef(self)</autodoc>
25548 </method>
25549 <method name="DecRef" type="" overloaded="no">
25550 <autodoc>DecRef(self)</autodoc>
25551 </method>
25552 <method name="SetTextColour" type="" overloaded="no">
25553 <autodoc>SetTextColour(self, Colour colText)</autodoc>
25554 <paramlist>
25555 <param name="colText" type="Colour" default=""/>
25556 </paramlist>
25557 </method>
25558 <method name="SetBackgroundColour" type="" overloaded="no">
25559 <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc>
25560 <paramlist>
25561 <param name="colBack" type="Colour" default=""/>
25562 </paramlist>
25563 </method>
25564 <method name="SetFont" type="" overloaded="no">
25565 <autodoc>SetFont(self, Font font)</autodoc>
25566 <paramlist>
25567 <param name="font" type="Font" default=""/>
25568 </paramlist>
25569 </method>
25570 <method name="SetAlignment" type="" overloaded="no">
25571 <autodoc>SetAlignment(self, int hAlign, int vAlign)</autodoc>
25572 <paramlist>
25573 <param name="hAlign" type="int" default=""/>
25574 <param name="vAlign" type="int" default=""/>
25575 </paramlist>
25576 </method>
25577 <method name="SetSize" type="" overloaded="no">
25578 <autodoc>SetSize(self, int num_rows, int num_cols)</autodoc>
25579 <paramlist>
25580 <param name="num_rows" type="int" default=""/>
25581 <param name="num_cols" type="int" default=""/>
25582 </paramlist>
25583 </method>
25584 <method name="SetOverflow" type="" overloaded="no">
25585 <autodoc>SetOverflow(self, bool allow=True)</autodoc>
25586 <paramlist>
25587 <param name="allow" type="bool" default="True"/>
25588 </paramlist>
25589 </method>
25590 <method name="SetReadOnly" type="" overloaded="no">
25591 <autodoc>SetReadOnly(self, bool isReadOnly=True)</autodoc>
25592 <paramlist>
25593 <param name="isReadOnly" type="bool" default="True"/>
25594 </paramlist>
25595 </method>
25596 <method name="SetRenderer" type="" overloaded="no">
25597 <autodoc>SetRenderer(self, GridCellRenderer renderer)</autodoc>
25598 <paramlist>
25599 <param name="renderer" type="GridCellRenderer" default=""/>
25600 </paramlist>
25601 </method>
25602 <method name="SetEditor" type="" overloaded="no">
25603 <autodoc>SetEditor(self, GridCellEditor editor)</autodoc>
25604 <paramlist>
25605 <param name="editor" type="GridCellEditor" default=""/>
25606 </paramlist>
25607 </method>
25608 <method name="SetKind" type="" overloaded="no">
25609 <autodoc>SetKind(self, int kind)</autodoc>
25610 <paramlist>
25611 <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/>
25612 </paramlist>
25613 </method>
25614 <method name="HasTextColour" type="bool" overloaded="no">
25615 <autodoc>HasTextColour(self) -&gt; bool</autodoc>
25616 </method>
25617 <method name="HasBackgroundColour" type="bool" overloaded="no">
25618 <autodoc>HasBackgroundColour(self) -&gt; bool</autodoc>
25619 </method>
25620 <method name="HasFont" type="bool" overloaded="no">
25621 <autodoc>HasFont(self) -&gt; bool</autodoc>
25622 </method>
25623 <method name="HasAlignment" type="bool" overloaded="no">
25624 <autodoc>HasAlignment(self) -&gt; bool</autodoc>
25625 </method>
25626 <method name="HasRenderer" type="bool" overloaded="no">
25627 <autodoc>HasRenderer(self) -&gt; bool</autodoc>
25628 </method>
25629 <method name="HasEditor" type="bool" overloaded="no">
25630 <autodoc>HasEditor(self) -&gt; bool</autodoc>
25631 </method>
25632 <method name="HasReadWriteMode" type="bool" overloaded="no">
25633 <autodoc>HasReadWriteMode(self) -&gt; bool</autodoc>
25634 </method>
25635 <method name="HasOverflowMode" type="bool" overloaded="no">
25636 <autodoc>HasOverflowMode(self) -&gt; bool</autodoc>
25637 </method>
25638 <method name="GetTextColour" type="Colour" overloaded="no">
25639 <autodoc>GetTextColour(self) -&gt; Colour</autodoc>
25640 </method>
25641 <method name="GetBackgroundColour" type="Colour" overloaded="no">
25642 <autodoc>GetBackgroundColour(self) -&gt; Colour</autodoc>
25643 </method>
25644 <method name="GetFont" type="Font" overloaded="no">
25645 <autodoc>GetFont(self) -&gt; Font</autodoc>
25646 </method>
25647 <method name="GetAlignment" type="" overloaded="no">
25648 <autodoc>GetAlignment() -&gt; (hAlign, vAlign)</autodoc>
25649 <paramlist>
25650 <param name="OUTPUT" type="int" default=""/>
25651 <param name="OUTPUT" type="int" default=""/>
25652 </paramlist>
25653 </method>
25654 <method name="GetSize" type="" overloaded="no">
25655 <autodoc>GetSize() -&gt; (num_rows, num_cols)</autodoc>
25656 <paramlist>
25657 <param name="OUTPUT" type="int" default=""/>
25658 <param name="OUTPUT" type="int" default=""/>
25659 </paramlist>
25660 </method>
25661 <method name="GetOverflow" type="bool" overloaded="no">
25662 <autodoc>GetOverflow(self) -&gt; bool</autodoc>
25663 </method>
25664 <method name="GetRenderer" type="GridCellRenderer" overloaded="no">
25665 <autodoc>GetRenderer(self, Grid grid, int row, int col) -&gt; GridCellRenderer</autodoc>
25666 <paramlist>
25667 <param name="grid" type="wxGrid" default=""/>
25668 <param name="row" type="int" default=""/>
25669 <param name="col" type="int" default=""/>
25670 </paramlist>
25671 </method>
25672 <method name="GetEditor" type="GridCellEditor" overloaded="no">
25673 <autodoc>GetEditor(self, Grid grid, int row, int col) -&gt; GridCellEditor</autodoc>
25674 <paramlist>
25675 <param name="grid" type="wxGrid" default=""/>
25676 <param name="row" type="int" default=""/>
25677 <param name="col" type="int" default=""/>
25678 </paramlist>
25679 </method>
25680 <method name="IsReadOnly" type="bool" overloaded="no">
25681 <autodoc>IsReadOnly(self) -&gt; bool</autodoc>
25682 </method>
25683 <method name="SetDefAttr" type="" overloaded="no">
25684 <autodoc>SetDefAttr(self, GridCellAttr defAttr)</autodoc>
25685 <paramlist>
25686 <param name="defAttr" type="GridCellAttr" default=""/>
25687 </paramlist>
25688 </method>
25689 </class>
25690 <class name="GridCellAttrProvider" oldname="wxGridCellAttrProvider" module="grid">
25691 <constructor name="GridCellAttrProvider" overloaded="no">
25692 <autodoc>__init__(self) -&gt; GridCellAttrProvider</autodoc>
25693 </constructor>
25694 <method name="_setOORInfo" type="" overloaded="no">
25695 <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
25696 <paramlist>
25697 <param name="_self" type="PyObject" default=""/>
25698 </paramlist>
25699 </method>
25700 <method name="GetAttr" type="GridCellAttr" overloaded="no">
25701 <autodoc>GetAttr(self, int row, int col, int kind) -&gt; GridCellAttr</autodoc>
25702 <paramlist>
25703 <param name="row" type="int" default=""/>
25704 <param name="col" type="int" default=""/>
25705 <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/>
25706 </paramlist>
25707 </method>
25708 <method name="SetAttr" type="" overloaded="no">
25709 <autodoc>SetAttr(self, GridCellAttr attr, int row, int col)</autodoc>
25710 <paramlist>
25711 <param name="attr" type="GridCellAttr" default=""/>
25712 <param name="row" type="int" default=""/>
25713 <param name="col" type="int" default=""/>
25714 </paramlist>
25715 </method>
25716 <method name="SetRowAttr" type="" overloaded="no">
25717 <autodoc>SetRowAttr(self, GridCellAttr attr, int row)</autodoc>
25718 <paramlist>
25719 <param name="attr" type="GridCellAttr" default=""/>
25720 <param name="row" type="int" default=""/>
25721 </paramlist>
25722 </method>
25723 <method name="SetColAttr" type="" overloaded="no">
25724 <autodoc>SetColAttr(self, GridCellAttr attr, int col)</autodoc>
25725 <paramlist>
25726 <param name="attr" type="GridCellAttr" default=""/>
25727 <param name="col" type="int" default=""/>
25728 </paramlist>
25729 </method>
25730 <method name="UpdateAttrRows" type="" overloaded="no">
25731 <autodoc>UpdateAttrRows(self, size_t pos, int numRows)</autodoc>
25732 <paramlist>
25733 <param name="pos" type="size_t" default=""/>
25734 <param name="numRows" type="int" default=""/>
25735 </paramlist>
25736 </method>
25737 <method name="UpdateAttrCols" type="" overloaded="no">
25738 <autodoc>UpdateAttrCols(self, size_t pos, int numCols)</autodoc>
25739 <paramlist>
25740 <param name="pos" type="size_t" default=""/>
25741 <param name="numCols" type="int" default=""/>
25742 </paramlist>
25743 </method>
25744 </class>
25745 <class name="PyGridCellAttrProvider" oldname="wxPyGridCellAttrProvider" module="grid">
25746 <baseclass name="GridCellAttrProvider"/>
25747 <constructor name="PyGridCellAttrProvider" overloaded="no">
25748 <autodoc>__init__(self) -&gt; PyGridCellAttrProvider</autodoc>
25749 </constructor>
25750 <method name="_setCallbackInfo" type="" overloaded="no">
25751 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
25752 <paramlist>
25753 <param name="self" type="PyObject" default=""/>
25754 <param name="_class" type="PyObject" default=""/>
25755 </paramlist>
25756 </method>
25757 <method name="base_GetAttr" type="GridCellAttr" overloaded="no">
25758 <autodoc>base_GetAttr(self, int row, int col, int kind) -&gt; GridCellAttr</autodoc>
25759 <paramlist>
25760 <param name="row" type="int" default=""/>
25761 <param name="col" type="int" default=""/>
25762 <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/>
25763 </paramlist>
25764 </method>
25765 <method name="base_SetAttr" type="" overloaded="no">
25766 <autodoc>base_SetAttr(self, GridCellAttr attr, int row, int col)</autodoc>
25767 <paramlist>
25768 <param name="attr" type="GridCellAttr" default=""/>
25769 <param name="row" type="int" default=""/>
25770 <param name="col" type="int" default=""/>
25771 </paramlist>
25772 </method>
25773 <method name="base_SetRowAttr" type="" overloaded="no">
25774 <autodoc>base_SetRowAttr(self, GridCellAttr attr, int row)</autodoc>
25775 <paramlist>
25776 <param name="attr" type="GridCellAttr" default=""/>
25777 <param name="row" type="int" default=""/>
25778 </paramlist>
25779 </method>
25780 <method name="base_SetColAttr" type="" overloaded="no">
25781 <autodoc>base_SetColAttr(self, GridCellAttr attr, int col)</autodoc>
25782 <paramlist>
25783 <param name="attr" type="GridCellAttr" default=""/>
25784 <param name="col" type="int" default=""/>
25785 </paramlist>
25786 </method>
25787 </class>
25788 <class name="GridTableBase" oldname="wxGridTableBase" module="grid">
25789 <baseclass name="Object"/>
25790 <method name="_setOORInfo" type="" overloaded="no">
25791 <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
25792 <paramlist>
25793 <param name="_self" type="PyObject" default=""/>
25794 </paramlist>
25795 </method>
25796 <method name="SetAttrProvider" type="" overloaded="no">
25797 <autodoc>SetAttrProvider(self, GridCellAttrProvider attrProvider)</autodoc>
25798 <paramlist>
25799 <param name="attrProvider" type="GridCellAttrProvider" default=""/>
25800 </paramlist>
25801 </method>
25802 <method name="GetAttrProvider" type="GridCellAttrProvider" overloaded="no">
25803 <autodoc>GetAttrProvider(self) -&gt; GridCellAttrProvider</autodoc>
25804 </method>
25805 <method name="SetView" type="" overloaded="no">
25806 <autodoc>SetView(self, Grid grid)</autodoc>
25807 <paramlist>
25808 <param name="grid" type="wxGrid" default=""/>
25809 </paramlist>
25810 </method>
25811 <method name="GetView" type="wxGrid" overloaded="no">
25812 <autodoc>GetView(self) -&gt; Grid</autodoc>
25813 </method>
25814 <method name="GetNumberRows" type="int" overloaded="no">
25815 <autodoc>GetNumberRows(self) -&gt; int</autodoc>
25816 </method>
25817 <method name="GetNumberCols" type="int" overloaded="no">
25818 <autodoc>GetNumberCols(self) -&gt; int</autodoc>
25819 </method>
25820 <method name="IsEmptyCell" type="bool" overloaded="no">
25821 <autodoc>IsEmptyCell(self, int row, int col) -&gt; bool</autodoc>
25822 <paramlist>
25823 <param name="row" type="int" default=""/>
25824 <param name="col" type="int" default=""/>
25825 </paramlist>
25826 </method>
25827 <method name="GetValue" type="String" overloaded="no">
25828 <autodoc>GetValue(self, int row, int col) -&gt; String</autodoc>
25829 <paramlist>
25830 <param name="row" type="int" default=""/>
25831 <param name="col" type="int" default=""/>
25832 </paramlist>
25833 </method>
25834 <method name="SetValue" type="" overloaded="no">
25835 <autodoc>SetValue(self, int row, int col, String value)</autodoc>
25836 <paramlist>
25837 <param name="row" type="int" default=""/>
25838 <param name="col" type="int" default=""/>
25839 <param name="value" type="String" default=""/>
25840 </paramlist>
25841 </method>
25842 <method name="GetTypeName" type="String" overloaded="no">
25843 <autodoc>GetTypeName(self, int row, int col) -&gt; String</autodoc>
25844 <paramlist>
25845 <param name="row" type="int" default=""/>
25846 <param name="col" type="int" default=""/>
25847 </paramlist>
25848 </method>
25849 <method name="CanGetValueAs" type="bool" overloaded="no">
25850 <autodoc>CanGetValueAs(self, int row, int col, String typeName) -&gt; bool</autodoc>
25851 <paramlist>
25852 <param name="row" type="int" default=""/>
25853 <param name="col" type="int" default=""/>
25854 <param name="typeName" type="String" default=""/>
25855 </paramlist>
25856 </method>
25857 <method name="CanSetValueAs" type="bool" overloaded="no">
25858 <autodoc>CanSetValueAs(self, int row, int col, String typeName) -&gt; bool</autodoc>
25859 <paramlist>
25860 <param name="row" type="int" default=""/>
25861 <param name="col" type="int" default=""/>
25862 <param name="typeName" type="String" default=""/>
25863 </paramlist>
25864 </method>
25865 <method name="GetValueAsLong" type="long" overloaded="no">
25866 <autodoc>GetValueAsLong(self, int row, int col) -&gt; long</autodoc>
25867 <paramlist>
25868 <param name="row" type="int" default=""/>
25869 <param name="col" type="int" default=""/>
25870 </paramlist>
25871 </method>
25872 <method name="GetValueAsDouble" type="double" overloaded="no">
25873 <autodoc>GetValueAsDouble(self, int row, int col) -&gt; double</autodoc>
25874 <paramlist>
25875 <param name="row" type="int" default=""/>
25876 <param name="col" type="int" default=""/>
25877 </paramlist>
25878 </method>
25879 <method name="GetValueAsBool" type="bool" overloaded="no">
25880 <autodoc>GetValueAsBool(self, int row, int col) -&gt; bool</autodoc>
25881 <paramlist>
25882 <param name="row" type="int" default=""/>
25883 <param name="col" type="int" default=""/>
25884 </paramlist>
25885 </method>
25886 <method name="SetValueAsLong" type="" overloaded="no">
25887 <autodoc>SetValueAsLong(self, int row, int col, long value)</autodoc>
25888 <paramlist>
25889 <param name="row" type="int" default=""/>
25890 <param name="col" type="int" default=""/>
25891 <param name="value" type="long" default=""/>
25892 </paramlist>
25893 </method>
25894 <method name="SetValueAsDouble" type="" overloaded="no">
25895 <autodoc>SetValueAsDouble(self, int row, int col, double value)</autodoc>
25896 <paramlist>
25897 <param name="row" type="int" default=""/>
25898 <param name="col" type="int" default=""/>
25899 <param name="value" type="double" default=""/>
25900 </paramlist>
25901 </method>
25902 <method name="SetValueAsBool" type="" overloaded="no">
25903 <autodoc>SetValueAsBool(self, int row, int col, bool value)</autodoc>
25904 <paramlist>
25905 <param name="row" type="int" default=""/>
25906 <param name="col" type="int" default=""/>
25907 <param name="value" type="bool" default=""/>
25908 </paramlist>
25909 </method>
25910 <method name="Clear" type="" overloaded="no">
25911 <autodoc>Clear(self)</autodoc>
25912 </method>
25913 <method name="InsertRows" type="bool" overloaded="no">
25914 <autodoc>InsertRows(self, size_t pos=0, size_t numRows=1) -&gt; bool</autodoc>
25915 <paramlist>
25916 <param name="pos" type="size_t" default="0"/>
25917 <param name="numRows" type="size_t" default="1"/>
25918 </paramlist>
25919 </method>
25920 <method name="AppendRows" type="bool" overloaded="no">
25921 <autodoc>AppendRows(self, size_t numRows=1) -&gt; bool</autodoc>
25922 <paramlist>
25923 <param name="numRows" type="size_t" default="1"/>
25924 </paramlist>
25925 </method>
25926 <method name="DeleteRows" type="bool" overloaded="no">
25927 <autodoc>DeleteRows(self, size_t pos=0, size_t numRows=1) -&gt; bool</autodoc>
25928 <paramlist>
25929 <param name="pos" type="size_t" default="0"/>
25930 <param name="numRows" type="size_t" default="1"/>
25931 </paramlist>
25932 </method>
25933 <method name="InsertCols" type="bool" overloaded="no">
25934 <autodoc>InsertCols(self, size_t pos=0, size_t numCols=1) -&gt; bool</autodoc>
25935 <paramlist>
25936 <param name="pos" type="size_t" default="0"/>
25937 <param name="numCols" type="size_t" default="1"/>
25938 </paramlist>
25939 </method>
25940 <method name="AppendCols" type="bool" overloaded="no">
25941 <autodoc>AppendCols(self, size_t numCols=1) -&gt; bool</autodoc>
25942 <paramlist>
25943 <param name="numCols" type="size_t" default="1"/>
25944 </paramlist>
25945 </method>
25946 <method name="DeleteCols" type="bool" overloaded="no">
25947 <autodoc>DeleteCols(self, size_t pos=0, size_t numCols=1) -&gt; bool</autodoc>
25948 <paramlist>
25949 <param name="pos" type="size_t" default="0"/>
25950 <param name="numCols" type="size_t" default="1"/>
25951 </paramlist>
25952 </method>
25953 <method name="GetRowLabelValue" type="String" overloaded="no">
25954 <autodoc>GetRowLabelValue(self, int row) -&gt; String</autodoc>
25955 <paramlist>
25956 <param name="row" type="int" default=""/>
25957 </paramlist>
25958 </method>
25959 <method name="GetColLabelValue" type="String" overloaded="no">
25960 <autodoc>GetColLabelValue(self, int col) -&gt; String</autodoc>
25961 <paramlist>
25962 <param name="col" type="int" default=""/>
25963 </paramlist>
25964 </method>
25965 <method name="SetRowLabelValue" type="" overloaded="no">
25966 <autodoc>SetRowLabelValue(self, int row, String value)</autodoc>
25967 <paramlist>
25968 <param name="row" type="int" default=""/>
25969 <param name="value" type="String" default=""/>
25970 </paramlist>
25971 </method>
25972 <method name="SetColLabelValue" type="" overloaded="no">
25973 <autodoc>SetColLabelValue(self, int col, String value)</autodoc>
25974 <paramlist>
25975 <param name="col" type="int" default=""/>
25976 <param name="value" type="String" default=""/>
25977 </paramlist>
25978 </method>
25979 <method name="CanHaveAttributes" type="bool" overloaded="no">
25980 <autodoc>CanHaveAttributes(self) -&gt; bool</autodoc>
25981 </method>
25982 <method name="GetAttr" type="GridCellAttr" overloaded="no">
25983 <autodoc>GetAttr(self, int row, int col, int kind) -&gt; GridCellAttr</autodoc>
25984 <paramlist>
25985 <param name="row" type="int" default=""/>
25986 <param name="col" type="int" default=""/>
25987 <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/>
25988 </paramlist>
25989 </method>
25990 <method name="SetAttr" type="" overloaded="no">
25991 <autodoc>SetAttr(self, GridCellAttr attr, int row, int col)</autodoc>
25992 <paramlist>
25993 <param name="attr" type="GridCellAttr" default=""/>
25994 <param name="row" type="int" default=""/>
25995 <param name="col" type="int" default=""/>
25996 </paramlist>
25997 </method>
25998 <method name="SetRowAttr" type="" overloaded="no">
25999 <autodoc>SetRowAttr(self, GridCellAttr attr, int row)</autodoc>
26000 <paramlist>
26001 <param name="attr" type="GridCellAttr" default=""/>
26002 <param name="row" type="int" default=""/>
26003 </paramlist>
26004 </method>
26005 <method name="SetColAttr" type="" overloaded="no">
26006 <autodoc>SetColAttr(self, GridCellAttr attr, int col)</autodoc>
26007 <paramlist>
26008 <param name="attr" type="GridCellAttr" default=""/>
26009 <param name="col" type="int" default=""/>
26010 </paramlist>
26011 </method>
26012 </class>
26013 <class name="PyGridTableBase" oldname="wxPyGridTableBase" module="grid">
26014 <baseclass name="GridTableBase"/>
26015 <constructor name="PyGridTableBase" overloaded="no">
26016 <autodoc>__init__(self) -&gt; PyGridTableBase</autodoc>
26017 </constructor>
26018 <method name="_setCallbackInfo" type="" overloaded="no">
26019 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
26020 <paramlist>
26021 <param name="self" type="PyObject" default=""/>
26022 <param name="_class" type="PyObject" default=""/>
26023 </paramlist>
26024 </method>
26025 <method name="Destroy" type="" overloaded="no">
26026 <autodoc>Destroy(self)</autodoc>
26027 <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
26028 </method>
26029 <method name="base_GetTypeName" type="String" overloaded="no">
26030 <autodoc>base_GetTypeName(self, int row, int col) -&gt; String</autodoc>
26031 <paramlist>
26032 <param name="row" type="int" default=""/>
26033 <param name="col" type="int" default=""/>
26034 </paramlist>
26035 </method>
26036 <method name="base_CanGetValueAs" type="bool" overloaded="no">
26037 <autodoc>base_CanGetValueAs(self, int row, int col, String typeName) -&gt; bool</autodoc>
26038 <paramlist>
26039 <param name="row" type="int" default=""/>
26040 <param name="col" type="int" default=""/>
26041 <param name="typeName" type="String" default=""/>
26042 </paramlist>
26043 </method>
26044 <method name="base_CanSetValueAs" type="bool" overloaded="no">
26045 <autodoc>base_CanSetValueAs(self, int row, int col, String typeName) -&gt; bool</autodoc>
26046 <paramlist>
26047 <param name="row" type="int" default=""/>
26048 <param name="col" type="int" default=""/>
26049 <param name="typeName" type="String" default=""/>
26050 </paramlist>
26051 </method>
26052 <method name="base_Clear" type="" overloaded="no">
26053 <autodoc>base_Clear(self)</autodoc>
26054 </method>
26055 <method name="base_InsertRows" type="bool" overloaded="no">
26056 <autodoc>base_InsertRows(self, size_t pos=0, size_t numRows=1) -&gt; bool</autodoc>
26057 <paramlist>
26058 <param name="pos" type="size_t" default="0"/>
26059 <param name="numRows" type="size_t" default="1"/>
26060 </paramlist>
26061 </method>
26062 <method name="base_AppendRows" type="bool" overloaded="no">
26063 <autodoc>base_AppendRows(self, size_t numRows=1) -&gt; bool</autodoc>
26064 <paramlist>
26065 <param name="numRows" type="size_t" default="1"/>
26066 </paramlist>
26067 </method>
26068 <method name="base_DeleteRows" type="bool" overloaded="no">
26069 <autodoc>base_DeleteRows(self, size_t pos=0, size_t numRows=1) -&gt; bool</autodoc>
26070 <paramlist>
26071 <param name="pos" type="size_t" default="0"/>
26072 <param name="numRows" type="size_t" default="1"/>
26073 </paramlist>
26074 </method>
26075 <method name="base_InsertCols" type="bool" overloaded="no">
26076 <autodoc>base_InsertCols(self, size_t pos=0, size_t numCols=1) -&gt; bool</autodoc>
26077 <paramlist>
26078 <param name="pos" type="size_t" default="0"/>
26079 <param name="numCols" type="size_t" default="1"/>
26080 </paramlist>
26081 </method>
26082 <method name="base_AppendCols" type="bool" overloaded="no">
26083 <autodoc>base_AppendCols(self, size_t numCols=1) -&gt; bool</autodoc>
26084 <paramlist>
26085 <param name="numCols" type="size_t" default="1"/>
26086 </paramlist>
26087 </method>
26088 <method name="base_DeleteCols" type="bool" overloaded="no">
26089 <autodoc>base_DeleteCols(self, size_t pos=0, size_t numCols=1) -&gt; bool</autodoc>
26090 <paramlist>
26091 <param name="pos" type="size_t" default="0"/>
26092 <param name="numCols" type="size_t" default="1"/>
26093 </paramlist>
26094 </method>
26095 <method name="base_GetRowLabelValue" type="String" overloaded="no">
26096 <autodoc>base_GetRowLabelValue(self, int row) -&gt; String</autodoc>
26097 <paramlist>
26098 <param name="row" type="int" default=""/>
26099 </paramlist>
26100 </method>
26101 <method name="base_GetColLabelValue" type="String" overloaded="no">
26102 <autodoc>base_GetColLabelValue(self, int col) -&gt; String</autodoc>
26103 <paramlist>
26104 <param name="col" type="int" default=""/>
26105 </paramlist>
26106 </method>
26107 <method name="base_SetRowLabelValue" type="" overloaded="no">
26108 <autodoc>base_SetRowLabelValue(self, int row, String value)</autodoc>
26109 <paramlist>
26110 <param name="row" type="int" default=""/>
26111 <param name="value" type="String" default=""/>
26112 </paramlist>
26113 </method>
26114 <method name="base_SetColLabelValue" type="" overloaded="no">
26115 <autodoc>base_SetColLabelValue(self, int col, String value)</autodoc>
26116 <paramlist>
26117 <param name="col" type="int" default=""/>
26118 <param name="value" type="String" default=""/>
26119 </paramlist>
26120 </method>
26121 <method name="base_CanHaveAttributes" type="bool" overloaded="no">
26122 <autodoc>base_CanHaveAttributes(self) -&gt; bool</autodoc>
26123 </method>
26124 <method name="base_GetAttr" type="GridCellAttr" overloaded="no">
26125 <autodoc>base_GetAttr(self, int row, int col, int kind) -&gt; GridCellAttr</autodoc>
26126 <paramlist>
26127 <param name="row" type="int" default=""/>
26128 <param name="col" type="int" default=""/>
26129 <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/>
26130 </paramlist>
26131 </method>
26132 <method name="base_SetAttr" type="" overloaded="no">
26133 <autodoc>base_SetAttr(self, GridCellAttr attr, int row, int col)</autodoc>
26134 <paramlist>
26135 <param name="attr" type="GridCellAttr" default=""/>
26136 <param name="row" type="int" default=""/>
26137 <param name="col" type="int" default=""/>
26138 </paramlist>
26139 </method>
26140 <method name="base_SetRowAttr" type="" overloaded="no">
26141 <autodoc>base_SetRowAttr(self, GridCellAttr attr, int row)</autodoc>
26142 <paramlist>
26143 <param name="attr" type="GridCellAttr" default=""/>
26144 <param name="row" type="int" default=""/>
26145 </paramlist>
26146 </method>
26147 <method name="base_SetColAttr" type="" overloaded="no">
26148 <autodoc>base_SetColAttr(self, GridCellAttr attr, int col)</autodoc>
26149 <paramlist>
26150 <param name="attr" type="GridCellAttr" default=""/>
26151 <param name="col" type="int" default=""/>
26152 </paramlist>
26153 </method>
26154 </class>
26155 <class name="GridStringTable" oldname="wxGridStringTable" module="grid">
26156 <baseclass name="GridTableBase"/>
26157 <constructor name="GridStringTable" overloaded="no">
26158 <autodoc>__init__(self, int numRows=0, int numCols=0) -&gt; GridStringTable</autodoc>
26159 <paramlist>
26160 <param name="numRows" type="int" default="0"/>
26161 <param name="numCols" type="int" default="0"/>
26162 </paramlist>
26163 </constructor>
26164 </class>
26165 <class name="GridTableMessage" oldname="wxGridTableMessage" module="grid">
26166 <constructor name="GridTableMessage" overloaded="no">
26167 <autodoc>__init__(self, GridTableBase table, int id, int comInt1=-1, int comInt2=-1) -&gt; GridTableMessage</autodoc>
26168 <paramlist>
26169 <param name="table" type="GridTableBase" default=""/>
26170 <param name="id" type="int" default=""/>
26171 <param name="comInt1" type="int" default="-1"/>
26172 <param name="comInt2" type="int" default="-1"/>
26173 </paramlist>
26174 </constructor>
26175 <destructor name="~wxGridTableMessage" overloaded="no">
26176 <autodoc>__del__(self)</autodoc>
26177 </destructor>
26178 <method name="SetTableObject" type="" overloaded="no">
26179 <autodoc>SetTableObject(self, GridTableBase table)</autodoc>
26180 <paramlist>
26181 <param name="table" type="GridTableBase" default=""/>
26182 </paramlist>
26183 </method>
26184 <method name="GetTableObject" type="GridTableBase" overloaded="no">
26185 <autodoc>GetTableObject(self) -&gt; GridTableBase</autodoc>
26186 </method>
26187 <method name="SetId" type="" overloaded="no">
26188 <autodoc>SetId(self, int id)</autodoc>
26189 <paramlist>
26190 <param name="id" type="int" default=""/>
26191 </paramlist>
26192 </method>
26193 <method name="GetId" type="int" overloaded="no">
26194 <autodoc>GetId(self) -&gt; int</autodoc>
26195 </method>
26196 <method name="SetCommandInt" type="" overloaded="no">
26197 <autodoc>SetCommandInt(self, int comInt1)</autodoc>
26198 <paramlist>
26199 <param name="comInt1" type="int" default=""/>
26200 </paramlist>
26201 </method>
26202 <method name="GetCommandInt" type="int" overloaded="no">
26203 <autodoc>GetCommandInt(self) -&gt; int</autodoc>
26204 </method>
26205 <method name="SetCommandInt2" type="" overloaded="no">
26206 <autodoc>SetCommandInt2(self, int comInt2)</autodoc>
26207 <paramlist>
26208 <param name="comInt2" type="int" default=""/>
26209 </paramlist>
26210 </method>
26211 <method name="GetCommandInt2" type="int" overloaded="no">
26212 <autodoc>GetCommandInt2(self) -&gt; int</autodoc>
26213 </method>
26214 </class>
26215 <class name="GridCellCoords" oldname="wxGridCellCoords" module="grid">
26216 <constructor name="GridCellCoords" overloaded="no">
26217 <autodoc>__init__(self, int r=-1, int c=-1) -&gt; GridCellCoords</autodoc>
26218 <paramlist>
26219 <param name="r" type="int" default="-1"/>
26220 <param name="c" type="int" default="-1"/>
26221 </paramlist>
26222 </constructor>
26223 <destructor name="~wxGridCellCoords" overloaded="no">
26224 <autodoc>__del__(self)</autodoc>
26225 </destructor>
26226 <method name="GetRow" type="int" overloaded="no">
26227 <autodoc>GetRow(self) -&gt; int</autodoc>
26228 </method>
26229 <method name="SetRow" type="" overloaded="no">
26230 <autodoc>SetRow(self, int n)</autodoc>
26231 <paramlist>
26232 <param name="n" type="int" default=""/>
26233 </paramlist>
26234 </method>
26235 <method name="GetCol" type="int" overloaded="no">
26236 <autodoc>GetCol(self) -&gt; int</autodoc>
26237 </method>
26238 <method name="SetCol" type="" overloaded="no">
26239 <autodoc>SetCol(self, int n)</autodoc>
26240 <paramlist>
26241 <param name="n" type="int" default=""/>
26242 </paramlist>
26243 </method>
26244 <method name="Set" type="" overloaded="no">
26245 <autodoc>Set(self, int row, int col)</autodoc>
26246 <paramlist>
26247 <param name="row" type="int" default=""/>
26248 <param name="col" type="int" default=""/>
26249 </paramlist>
26250 </method>
26251 <method name="__eq__" type="bool" overloaded="no">
26252 <autodoc>__eq__(self, GridCellCoords other) -&gt; bool</autodoc>
26253 <paramlist>
26254 <param name="other" type="GridCellCoords" default=""/>
26255 </paramlist>
26256 </method>
26257 <method name="__ne__" type="bool" overloaded="no">
26258 <autodoc>__ne__(self, GridCellCoords other) -&gt; bool</autodoc>
26259 <paramlist>
26260 <param name="other" type="GridCellCoords" default=""/>
26261 </paramlist>
26262 </method>
26263 <method name="Get" type="PyObject" overloaded="no">
26264 <autodoc>Get(self) -&gt; PyObject</autodoc>
26265 </method>
26266 </class>
26267 <class name="Grid" oldname="wxGrid" module="grid">
26268 <baseclass name="ScrolledWindow"/>
26269 <constructor name="Grid" overloaded="no">
26270 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
26271 Size size=DefaultSize, long style=WANTS_CHARS,
26272 String name=PanelNameStr) -&gt; Grid</autodoc>
26273 <paramlist>
26274 <param name="parent" type="Window" default=""/>
26275 <param name="id" type="int" default="-1"/>
26276 <param name="pos" type="Point" default="wxDefaultPosition"/>
26277 <param name="size" type="Size" default="wxDefaultSize"/>
26278 <param name="style" type="long" default="wxWANTS_CHARS"/>
26279 <param name="name" type="String" default="wxPyPanelNameStr"/>
26280 </paramlist>
26281 </constructor>
26282 <constructor name="PreGrid" overloaded="no">
26283 <autodoc>PreGrid() -&gt; Grid</autodoc>
26284 </constructor>
26285 <method name="Create" type="bool" overloaded="no">
26286 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
26287 Size size=DefaultSize, long style=WANTS_CHARS,
26288 String name=PanelNameStr) -&gt; bool</autodoc>
26289 <paramlist>
26290 <param name="parent" type="Window" default=""/>
26291 <param name="id" type="int" default="-1"/>
26292 <param name="pos" type="Point" default="wxDefaultPosition"/>
26293 <param name="size" type="Size" default="wxDefaultSize"/>
26294 <param name="style" type="long" default="wxWANTS_CHARS"/>
26295 <param name="name" type="String" default="wxPyPanelNameStr"/>
26296 </paramlist>
26297 </method>
26298 <method name="CreateGrid" type="bool" overloaded="no">
26299 <autodoc>CreateGrid(self, int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -&gt; bool</autodoc>
26300 <paramlist>
26301 <param name="numRows" type="int" default=""/>
26302 <param name="numCols" type="int" default=""/>
26303 <param name="selmode" type="WXGRIDSELECTIONMODES" default="wxGrid::wxGridSelectCells"/>
26304 </paramlist>
26305 </method>
26306 <method name="SetSelectionMode" type="" overloaded="no">
26307 <autodoc>SetSelectionMode(self, WXGRIDSELECTIONMODES selmode)</autodoc>
26308 <paramlist>
26309 <param name="selmode" type="WXGRIDSELECTIONMODES" default=""/>
26310 </paramlist>
26311 </method>
26312 <method name="GetSelectionMode" type="WXGRIDSELECTIONMODES" overloaded="no">
26313 <autodoc>GetSelectionMode(self) -&gt; WXGRIDSELECTIONMODES</autodoc>
26314 </method>
26315 <method name="GetNumberRows" type="int" overloaded="no">
26316 <autodoc>GetNumberRows(self) -&gt; int</autodoc>
26317 </method>
26318 <method name="GetNumberCols" type="int" overloaded="no">
26319 <autodoc>GetNumberCols(self) -&gt; int</autodoc>
26320 </method>
26321 <method name="ProcessTableMessage" type="bool" overloaded="no">
26322 <autodoc>ProcessTableMessage(self, GridTableMessage ??) -&gt; bool</autodoc>
26323 <paramlist>
26324 <param name="" type="GridTableMessage" default=""/>
26325 </paramlist>
26326 </method>
26327 <method name="GetTable" type="GridTableBase" overloaded="no">
26328 <autodoc>GetTable(self) -&gt; GridTableBase</autodoc>
26329 </method>
26330 <method name="SetTable" type="bool" overloaded="no">
26331 <autodoc>SetTable(self, GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -&gt; bool</autodoc>
26332 <paramlist>
26333 <param name="table" type="GridTableBase" default=""/>
26334 <param name="takeOwnership" type="bool" default="False"/>
26335 <param name="selmode" type="WXGRIDSELECTIONMODES" default="wxGrid::wxGridSelectCells"/>
26336 </paramlist>
26337 </method>
26338 <method name="ClearGrid" type="" overloaded="no">
26339 <autodoc>ClearGrid(self)</autodoc>
26340 </method>
26341 <method name="InsertRows" type="bool" overloaded="no">
26342 <autodoc>InsertRows(self, int pos=0, int numRows=1, bool updateLabels=True) -&gt; bool</autodoc>
26343 <paramlist>
26344 <param name="pos" type="int" default="0"/>
26345 <param name="numRows" type="int" default="1"/>
26346 <param name="updateLabels" type="bool" default="True"/>
26347 </paramlist>
26348 </method>
26349 <method name="AppendRows" type="bool" overloaded="no">
26350 <autodoc>AppendRows(self, int numRows=1, bool updateLabels=True) -&gt; bool</autodoc>
26351 <paramlist>
26352 <param name="numRows" type="int" default="1"/>
26353 <param name="updateLabels" type="bool" default="True"/>
26354 </paramlist>
26355 </method>
26356 <method name="DeleteRows" type="bool" overloaded="no">
26357 <autodoc>DeleteRows(self, int pos=0, int numRows=1, bool updateLabels=True) -&gt; bool</autodoc>
26358 <paramlist>
26359 <param name="pos" type="int" default="0"/>
26360 <param name="numRows" type="int" default="1"/>
26361 <param name="updateLabels" type="bool" default="True"/>
26362 </paramlist>
26363 </method>
26364 <method name="InsertCols" type="bool" overloaded="no">
26365 <autodoc>InsertCols(self, int pos=0, int numCols=1, bool updateLabels=True) -&gt; bool</autodoc>
26366 <paramlist>
26367 <param name="pos" type="int" default="0"/>
26368 <param name="numCols" type="int" default="1"/>
26369 <param name="updateLabels" type="bool" default="True"/>
26370 </paramlist>
26371 </method>
26372 <method name="AppendCols" type="bool" overloaded="no">
26373 <autodoc>AppendCols(self, int numCols=1, bool updateLabels=True) -&gt; bool</autodoc>
26374 <paramlist>
26375 <param name="numCols" type="int" default="1"/>
26376 <param name="updateLabels" type="bool" default="True"/>
26377 </paramlist>
26378 </method>
26379 <method name="DeleteCols" type="bool" overloaded="no">
26380 <autodoc>DeleteCols(self, int pos=0, int numCols=1, bool updateLabels=True) -&gt; bool</autodoc>
26381 <paramlist>
26382 <param name="pos" type="int" default="0"/>
26383 <param name="numCols" type="int" default="1"/>
26384 <param name="updateLabels" type="bool" default="True"/>
26385 </paramlist>
26386 </method>
26387 <method name="DrawCellHighlight" type="" overloaded="no">
26388 <autodoc>DrawCellHighlight(self, DC dc, GridCellAttr attr)</autodoc>
26389 <paramlist>
26390 <param name="dc" type="DC" default=""/>
26391 <param name="attr" type="GridCellAttr" default=""/>
26392 </paramlist>
26393 </method>
26394 <method name="DrawTextRectangle" type="" overloaded="no">
26395 <autodoc>DrawTextRectangle(self, DC dc, String ??, Rect ??, int horizontalAlignment=LEFT,
26396 int verticalAlignment=TOP, int textOrientation=HORIZONTAL)</autodoc>
26397 <paramlist>
26398 <param name="dc" type="DC" default=""/>
26399 <param name="" type="String" default=""/>
26400 <param name="" type="Rect" default=""/>
26401 <param name="horizontalAlignment" type="int" default="wxLEFT"/>
26402 <param name="verticalAlignment" type="int" default="wxTOP"/>
26403 <param name="textOrientation" type="int" default="wxHORIZONTAL"/>
26404 </paramlist>
26405 </method>
26406 <method name="GetTextBoxSize" type="" overloaded="no">
26407 <autodoc>GetTextBoxSize(DC dc, list lines) -&gt; (width, height)</autodoc>
26408 <paramlist>
26409 <param name="dc" type="DC" default=""/>
26410 <param name="lines" type="wxArrayString" default=""/>
26411 <param name="OUTPUT" type="long" default=""/>
26412 <param name="OUTPUT" type="long" default=""/>
26413 </paramlist>
26414 </method>
26415 <method name="BeginBatch" type="" overloaded="no">
26416 <autodoc>BeginBatch(self)</autodoc>
26417 </method>
26418 <method name="EndBatch" type="" overloaded="no">
26419 <autodoc>EndBatch(self)</autodoc>
26420 </method>
26421 <method name="GetBatchCount" type="int" overloaded="no">
26422 <autodoc>GetBatchCount(self) -&gt; int</autodoc>
26423 </method>
26424 <method name="ForceRefresh" type="" overloaded="no">
26425 <autodoc>ForceRefresh(self)</autodoc>
26426 </method>
26427 <method name="IsEditable" type="bool" overloaded="no">
26428 <autodoc>IsEditable(self) -&gt; bool</autodoc>
26429 </method>
26430 <method name="EnableEditing" type="" overloaded="no">
26431 <autodoc>EnableEditing(self, bool edit)</autodoc>
26432 <paramlist>
26433 <param name="edit" type="bool" default=""/>
26434 </paramlist>
26435 </method>
26436 <method name="EnableCellEditControl" type="" overloaded="no">
26437 <autodoc>EnableCellEditControl(self, bool enable=True)</autodoc>
26438 <paramlist>
26439 <param name="enable" type="bool" default="True"/>
26440 </paramlist>
26441 </method>
26442 <method name="DisableCellEditControl" type="" overloaded="no">
26443 <autodoc>DisableCellEditControl(self)</autodoc>
26444 </method>
26445 <method name="CanEnableCellControl" type="bool" overloaded="no">
26446 <autodoc>CanEnableCellControl(self) -&gt; bool</autodoc>
26447 </method>
26448 <method name="IsCellEditControlEnabled" type="bool" overloaded="no">
26449 <autodoc>IsCellEditControlEnabled(self) -&gt; bool</autodoc>
26450 </method>
26451 <method name="IsCellEditControlShown" type="bool" overloaded="no">
26452 <autodoc>IsCellEditControlShown(self) -&gt; bool</autodoc>
26453 </method>
26454 <method name="IsCurrentCellReadOnly" type="bool" overloaded="no">
26455 <autodoc>IsCurrentCellReadOnly(self) -&gt; bool</autodoc>
26456 </method>
26457 <method name="ShowCellEditControl" type="" overloaded="no">
26458 <autodoc>ShowCellEditControl(self)</autodoc>
26459 </method>
26460 <method name="HideCellEditControl" type="" overloaded="no">
26461 <autodoc>HideCellEditControl(self)</autodoc>
26462 </method>
26463 <method name="SaveEditControlValue" type="" overloaded="no">
26464 <autodoc>SaveEditControlValue(self)</autodoc>
26465 </method>
26466 <method name="XYToCell" type="GridCellCoords" overloaded="no">
26467 <autodoc>XYToCell(self, int x, int y) -&gt; GridCellCoords</autodoc>
26468 <paramlist>
26469 <param name="x" type="int" default=""/>
26470 <param name="y" type="int" default=""/>
26471 </paramlist>
26472 </method>
26473 <method name="YToRow" type="int" overloaded="no">
26474 <autodoc>YToRow(self, int y) -&gt; int</autodoc>
26475 <paramlist>
26476 <param name="y" type="int" default=""/>
26477 </paramlist>
26478 </method>
26479 <method name="XToCol" type="int" overloaded="no">
26480 <autodoc>XToCol(self, int x) -&gt; int</autodoc>
26481 <paramlist>
26482 <param name="x" type="int" default=""/>
26483 </paramlist>
26484 </method>
26485 <method name="YToEdgeOfRow" type="int" overloaded="no">
26486 <autodoc>YToEdgeOfRow(self, int y) -&gt; int</autodoc>
26487 <paramlist>
26488 <param name="y" type="int" default=""/>
26489 </paramlist>
26490 </method>
26491 <method name="XToEdgeOfCol" type="int" overloaded="no">
26492 <autodoc>XToEdgeOfCol(self, int x) -&gt; int</autodoc>
26493 <paramlist>
26494 <param name="x" type="int" default=""/>
26495 </paramlist>
26496 </method>
26497 <method name="CellToRect" type="Rect" overloaded="no">
26498 <autodoc>CellToRect(self, int row, int col) -&gt; Rect</autodoc>
26499 <paramlist>
26500 <param name="row" type="int" default=""/>
26501 <param name="col" type="int" default=""/>
26502 </paramlist>
26503 </method>
26504 <method name="GetGridCursorRow" type="int" overloaded="no">
26505 <autodoc>GetGridCursorRow(self) -&gt; int</autodoc>
26506 </method>
26507 <method name="GetGridCursorCol" type="int" overloaded="no">
26508 <autodoc>GetGridCursorCol(self) -&gt; int</autodoc>
26509 </method>
26510 <method name="IsVisible" type="bool" overloaded="no">
26511 <autodoc>IsVisible(self, int row, int col, bool wholeCellVisible=True) -&gt; bool</autodoc>
26512 <paramlist>
26513 <param name="row" type="int" default=""/>
26514 <param name="col" type="int" default=""/>
26515 <param name="wholeCellVisible" type="bool" default="True"/>
26516 </paramlist>
26517 </method>
26518 <method name="MakeCellVisible" type="" overloaded="no">
26519 <autodoc>MakeCellVisible(self, int row, int col)</autodoc>
26520 <paramlist>
26521 <param name="row" type="int" default=""/>
26522 <param name="col" type="int" default=""/>
26523 </paramlist>
26524 </method>
26525 <method name="SetGridCursor" type="" overloaded="no">
26526 <autodoc>SetGridCursor(self, int row, int col)</autodoc>
26527 <paramlist>
26528 <param name="row" type="int" default=""/>
26529 <param name="col" type="int" default=""/>
26530 </paramlist>
26531 </method>
26532 <method name="MoveCursorUp" type="bool" overloaded="no">
26533 <autodoc>MoveCursorUp(self, bool expandSelection) -&gt; bool</autodoc>
26534 <paramlist>
26535 <param name="expandSelection" type="bool" default=""/>
26536 </paramlist>
26537 </method>
26538 <method name="MoveCursorDown" type="bool" overloaded="no">
26539 <autodoc>MoveCursorDown(self, bool expandSelection) -&gt; bool</autodoc>
26540 <paramlist>
26541 <param name="expandSelection" type="bool" default=""/>
26542 </paramlist>
26543 </method>
26544 <method name="MoveCursorLeft" type="bool" overloaded="no">
26545 <autodoc>MoveCursorLeft(self, bool expandSelection) -&gt; bool</autodoc>
26546 <paramlist>
26547 <param name="expandSelection" type="bool" default=""/>
26548 </paramlist>
26549 </method>
26550 <method name="MoveCursorRight" type="bool" overloaded="no">
26551 <autodoc>MoveCursorRight(self, bool expandSelection) -&gt; bool</autodoc>
26552 <paramlist>
26553 <param name="expandSelection" type="bool" default=""/>
26554 </paramlist>
26555 </method>
26556 <method name="MovePageDown" type="bool" overloaded="no">
26557 <autodoc>MovePageDown(self) -&gt; bool</autodoc>
26558 </method>
26559 <method name="MovePageUp" type="bool" overloaded="no">
26560 <autodoc>MovePageUp(self) -&gt; bool</autodoc>
26561 </method>
26562 <method name="MoveCursorUpBlock" type="bool" overloaded="no">
26563 <autodoc>MoveCursorUpBlock(self, bool expandSelection) -&gt; bool</autodoc>
26564 <paramlist>
26565 <param name="expandSelection" type="bool" default=""/>
26566 </paramlist>
26567 </method>
26568 <method name="MoveCursorDownBlock" type="bool" overloaded="no">
26569 <autodoc>MoveCursorDownBlock(self, bool expandSelection) -&gt; bool</autodoc>
26570 <paramlist>
26571 <param name="expandSelection" type="bool" default=""/>
26572 </paramlist>
26573 </method>
26574 <method name="MoveCursorLeftBlock" type="bool" overloaded="no">
26575 <autodoc>MoveCursorLeftBlock(self, bool expandSelection) -&gt; bool</autodoc>
26576 <paramlist>
26577 <param name="expandSelection" type="bool" default=""/>
26578 </paramlist>
26579 </method>
26580 <method name="MoveCursorRightBlock" type="bool" overloaded="no">
26581 <autodoc>MoveCursorRightBlock(self, bool expandSelection) -&gt; bool</autodoc>
26582 <paramlist>
26583 <param name="expandSelection" type="bool" default=""/>
26584 </paramlist>
26585 </method>
26586 <method name="GetDefaultRowLabelSize" type="int" overloaded="no">
26587 <autodoc>GetDefaultRowLabelSize(self) -&gt; int</autodoc>
26588 </method>
26589 <method name="GetRowLabelSize" type="int" overloaded="no">
26590 <autodoc>GetRowLabelSize(self) -&gt; int</autodoc>
26591 </method>
26592 <method name="GetDefaultColLabelSize" type="int" overloaded="no">
26593 <autodoc>GetDefaultColLabelSize(self) -&gt; int</autodoc>
26594 </method>
26595 <method name="GetColLabelSize" type="int" overloaded="no">
26596 <autodoc>GetColLabelSize(self) -&gt; int</autodoc>
26597 </method>
26598 <method name="GetLabelBackgroundColour" type="Colour" overloaded="no">
26599 <autodoc>GetLabelBackgroundColour(self) -&gt; Colour</autodoc>
26600 </method>
26601 <method name="GetLabelTextColour" type="Colour" overloaded="no">
26602 <autodoc>GetLabelTextColour(self) -&gt; Colour</autodoc>
26603 </method>
26604 <method name="GetLabelFont" type="Font" overloaded="no">
26605 <autodoc>GetLabelFont(self) -&gt; Font</autodoc>
26606 </method>
26607 <method name="GetRowLabelAlignment" type="" overloaded="no">
26608 <autodoc>GetRowLabelAlignment() -&gt; (horiz, vert)</autodoc>
26609 <paramlist>
26610 <param name="OUTPUT" type="int" default=""/>
26611 <param name="OUTPUT" type="int" default=""/>
26612 </paramlist>
26613 </method>
26614 <method name="GetColLabelAlignment" type="" overloaded="no">
26615 <autodoc>GetColLabelAlignment() -&gt; (horiz, vert)</autodoc>
26616 <paramlist>
26617 <param name="OUTPUT" type="int" default=""/>
26618 <param name="OUTPUT" type="int" default=""/>
26619 </paramlist>
26620 </method>
26621 <method name="GetColLabelTextOrientation" type="int" overloaded="no">
26622 <autodoc>GetColLabelTextOrientation(self) -&gt; int</autodoc>
26623 </method>
26624 <method name="GetRowLabelValue" type="String" overloaded="no">
26625 <autodoc>GetRowLabelValue(self, int row) -&gt; String</autodoc>
26626 <paramlist>
26627 <param name="row" type="int" default=""/>
26628 </paramlist>
26629 </method>
26630 <method name="GetColLabelValue" type="String" overloaded="no">
26631 <autodoc>GetColLabelValue(self, int col) -&gt; String</autodoc>
26632 <paramlist>
26633 <param name="col" type="int" default=""/>
26634 </paramlist>
26635 </method>
26636 <method name="GetGridLineColour" type="Colour" overloaded="no">
26637 <autodoc>GetGridLineColour(self) -&gt; Colour</autodoc>
26638 </method>
26639 <method name="GetCellHighlightColour" type="Colour" overloaded="no">
26640 <autodoc>GetCellHighlightColour(self) -&gt; Colour</autodoc>
26641 </method>
26642 <method name="GetCellHighlightPenWidth" type="int" overloaded="no">
26643 <autodoc>GetCellHighlightPenWidth(self) -&gt; int</autodoc>
26644 </method>
26645 <method name="GetCellHighlightROPenWidth" type="int" overloaded="no">
26646 <autodoc>GetCellHighlightROPenWidth(self) -&gt; int</autodoc>
26647 </method>
26648 <method name="SetRowLabelSize" type="" overloaded="no">
26649 <autodoc>SetRowLabelSize(self, int width)</autodoc>
26650 <paramlist>
26651 <param name="width" type="int" default=""/>
26652 </paramlist>
26653 </method>
26654 <method name="SetColLabelSize" type="" overloaded="no">
26655 <autodoc>SetColLabelSize(self, int height)</autodoc>
26656 <paramlist>
26657 <param name="height" type="int" default=""/>
26658 </paramlist>
26659 </method>
26660 <method name="SetLabelBackgroundColour" type="" overloaded="no">
26661 <autodoc>SetLabelBackgroundColour(self, Colour ??)</autodoc>
26662 <paramlist>
26663 <param name="" type="Colour" default=""/>
26664 </paramlist>
26665 </method>
26666 <method name="SetLabelTextColour" type="" overloaded="no">
26667 <autodoc>SetLabelTextColour(self, Colour ??)</autodoc>
26668 <paramlist>
26669 <param name="" type="Colour" default=""/>
26670 </paramlist>
26671 </method>
26672 <method name="SetLabelFont" type="" overloaded="no">
26673 <autodoc>SetLabelFont(self, Font ??)</autodoc>
26674 <paramlist>
26675 <param name="" type="Font" default=""/>
26676 </paramlist>
26677 </method>
26678 <method name="SetRowLabelAlignment" type="" overloaded="no">
26679 <autodoc>SetRowLabelAlignment(self, int horiz, int vert)</autodoc>
26680 <paramlist>
26681 <param name="horiz" type="int" default=""/>
26682 <param name="vert" type="int" default=""/>
26683 </paramlist>
26684 </method>
26685 <method name="SetColLabelAlignment" type="" overloaded="no">
26686 <autodoc>SetColLabelAlignment(self, int horiz, int vert)</autodoc>
26687 <paramlist>
26688 <param name="horiz" type="int" default=""/>
26689 <param name="vert" type="int" default=""/>
26690 </paramlist>
26691 </method>
26692 <method name="SetColLabelTextOrientation" type="" overloaded="no">
26693 <autodoc>SetColLabelTextOrientation(self, int textOrientation)</autodoc>
26694 <paramlist>
26695 <param name="textOrientation" type="int" default=""/>
26696 </paramlist>
26697 </method>
26698 <method name="SetRowLabelValue" type="" overloaded="no">
26699 <autodoc>SetRowLabelValue(self, int row, String ??)</autodoc>
26700 <paramlist>
26701 <param name="row" type="int" default=""/>
26702 <param name="" type="String" default=""/>
26703 </paramlist>
26704 </method>
26705 <method name="SetColLabelValue" type="" overloaded="no">
26706 <autodoc>SetColLabelValue(self, int col, String ??)</autodoc>
26707 <paramlist>
26708 <param name="col" type="int" default=""/>
26709 <param name="" type="String" default=""/>
26710 </paramlist>
26711 </method>
26712 <method name="SetGridLineColour" type="" overloaded="no">
26713 <autodoc>SetGridLineColour(self, Colour ??)</autodoc>
26714 <paramlist>
26715 <param name="" type="Colour" default=""/>
26716 </paramlist>
26717 </method>
26718 <method name="SetCellHighlightColour" type="" overloaded="no">
26719 <autodoc>SetCellHighlightColour(self, Colour ??)</autodoc>
26720 <paramlist>
26721 <param name="" type="Colour" default=""/>
26722 </paramlist>
26723 </method>
26724 <method name="SetCellHighlightPenWidth" type="" overloaded="no">
26725 <autodoc>SetCellHighlightPenWidth(self, int width)</autodoc>
26726 <paramlist>
26727 <param name="width" type="int" default=""/>
26728 </paramlist>
26729 </method>
26730 <method name="SetCellHighlightROPenWidth" type="" overloaded="no">
26731 <autodoc>SetCellHighlightROPenWidth(self, int width)</autodoc>
26732 <paramlist>
26733 <param name="width" type="int" default=""/>
26734 </paramlist>
26735 </method>
26736 <method name="EnableDragRowSize" type="" overloaded="no">
26737 <autodoc>EnableDragRowSize(self, bool enable=True)</autodoc>
26738 <paramlist>
26739 <param name="enable" type="bool" default="True"/>
26740 </paramlist>
26741 </method>
26742 <method name="DisableDragRowSize" type="" overloaded="no">
26743 <autodoc>DisableDragRowSize(self)</autodoc>
26744 </method>
26745 <method name="CanDragRowSize" type="bool" overloaded="no">
26746 <autodoc>CanDragRowSize(self) -&gt; bool</autodoc>
26747 </method>
26748 <method name="EnableDragColSize" type="" overloaded="no">
26749 <autodoc>EnableDragColSize(self, bool enable=True)</autodoc>
26750 <paramlist>
26751 <param name="enable" type="bool" default="True"/>
26752 </paramlist>
26753 </method>
26754 <method name="DisableDragColSize" type="" overloaded="no">
26755 <autodoc>DisableDragColSize(self)</autodoc>
26756 </method>
26757 <method name="CanDragColSize" type="bool" overloaded="no">
26758 <autodoc>CanDragColSize(self) -&gt; bool</autodoc>
26759 </method>
26760 <method name="EnableDragGridSize" type="" overloaded="no">
26761 <autodoc>EnableDragGridSize(self, bool enable=True)</autodoc>
26762 <paramlist>
26763 <param name="enable" type="bool" default="True"/>
26764 </paramlist>
26765 </method>
26766 <method name="DisableDragGridSize" type="" overloaded="no">
26767 <autodoc>DisableDragGridSize(self)</autodoc>
26768 </method>
26769 <method name="CanDragGridSize" type="bool" overloaded="no">
26770 <autodoc>CanDragGridSize(self) -&gt; bool</autodoc>
26771 </method>
26772 <method name="SetAttr" type="" overloaded="no">
26773 <autodoc>SetAttr(self, int row, int col, GridCellAttr attr)</autodoc>
26774 <paramlist>
26775 <param name="row" type="int" default=""/>
26776 <param name="col" type="int" default=""/>
26777 <param name="attr" type="GridCellAttr" default=""/>
26778 </paramlist>
26779 </method>
26780 <method name="SetRowAttr" type="" overloaded="no">
26781 <autodoc>SetRowAttr(self, int row, GridCellAttr attr)</autodoc>
26782 <paramlist>
26783 <param name="row" type="int" default=""/>
26784 <param name="attr" type="GridCellAttr" default=""/>
26785 </paramlist>
26786 </method>
26787 <method name="SetColAttr" type="" overloaded="no">
26788 <autodoc>SetColAttr(self, int col, GridCellAttr attr)</autodoc>
26789 <paramlist>
26790 <param name="col" type="int" default=""/>
26791 <param name="attr" type="GridCellAttr" default=""/>
26792 </paramlist>
26793 </method>
26794 <method name="SetColFormatBool" type="" overloaded="no">
26795 <autodoc>SetColFormatBool(self, int col)</autodoc>
26796 <paramlist>
26797 <param name="col" type="int" default=""/>
26798 </paramlist>
26799 </method>
26800 <method name="SetColFormatNumber" type="" overloaded="no">
26801 <autodoc>SetColFormatNumber(self, int col)</autodoc>
26802 <paramlist>
26803 <param name="col" type="int" default=""/>
26804 </paramlist>
26805 </method>
26806 <method name="SetColFormatFloat" type="" overloaded="no">
26807 <autodoc>SetColFormatFloat(self, int col, int width=-1, int precision=-1)</autodoc>
26808 <paramlist>
26809 <param name="col" type="int" default=""/>
26810 <param name="width" type="int" default="-1"/>
26811 <param name="precision" type="int" default="-1"/>
26812 </paramlist>
26813 </method>
26814 <method name="SetColFormatCustom" type="" overloaded="no">
26815 <autodoc>SetColFormatCustom(self, int col, String typeName)</autodoc>
26816 <paramlist>
26817 <param name="col" type="int" default=""/>
26818 <param name="typeName" type="String" default=""/>
26819 </paramlist>
26820 </method>
26821 <method name="EnableGridLines" type="" overloaded="no">
26822 <autodoc>EnableGridLines(self, bool enable=True)</autodoc>
26823 <paramlist>
26824 <param name="enable" type="bool" default="True"/>
26825 </paramlist>
26826 </method>
26827 <method name="GridLinesEnabled" type="bool" overloaded="no">
26828 <autodoc>GridLinesEnabled(self) -&gt; bool</autodoc>
26829 </method>
26830 <method name="GetDefaultRowSize" type="int" overloaded="no">
26831 <autodoc>GetDefaultRowSize(self) -&gt; int</autodoc>
26832 </method>
26833 <method name="GetRowSize" type="int" overloaded="no">
26834 <autodoc>GetRowSize(self, int row) -&gt; int</autodoc>
26835 <paramlist>
26836 <param name="row" type="int" default=""/>
26837 </paramlist>
26838 </method>
26839 <method name="GetDefaultColSize" type="int" overloaded="no">
26840 <autodoc>GetDefaultColSize(self) -&gt; int</autodoc>
26841 </method>
26842 <method name="GetColSize" type="int" overloaded="no">
26843 <autodoc>GetColSize(self, int col) -&gt; int</autodoc>
26844 <paramlist>
26845 <param name="col" type="int" default=""/>
26846 </paramlist>
26847 </method>
26848 <method name="GetDefaultCellBackgroundColour" type="Colour" overloaded="no">
26849 <autodoc>GetDefaultCellBackgroundColour(self) -&gt; Colour</autodoc>
26850 </method>
26851 <method name="GetCellBackgroundColour" type="Colour" overloaded="no">
26852 <autodoc>GetCellBackgroundColour(self, int row, int col) -&gt; Colour</autodoc>
26853 <paramlist>
26854 <param name="row" type="int" default=""/>
26855 <param name="col" type="int" default=""/>
26856 </paramlist>
26857 </method>
26858 <method name="GetDefaultCellTextColour" type="Colour" overloaded="no">
26859 <autodoc>GetDefaultCellTextColour(self) -&gt; Colour</autodoc>
26860 </method>
26861 <method name="GetCellTextColour" type="Colour" overloaded="no">
26862 <autodoc>GetCellTextColour(self, int row, int col) -&gt; Colour</autodoc>
26863 <paramlist>
26864 <param name="row" type="int" default=""/>
26865 <param name="col" type="int" default=""/>
26866 </paramlist>
26867 </method>
26868 <method name="GetDefaultCellFont" type="Font" overloaded="no">
26869 <autodoc>GetDefaultCellFont(self) -&gt; Font</autodoc>
26870 </method>
26871 <method name="GetCellFont" type="Font" overloaded="no">
26872 <autodoc>GetCellFont(self, int row, int col) -&gt; Font</autodoc>
26873 <paramlist>
26874 <param name="row" type="int" default=""/>
26875 <param name="col" type="int" default=""/>
26876 </paramlist>
26877 </method>
26878 <method name="GetDefaultCellAlignment" type="" overloaded="no">
26879 <autodoc>GetDefaultCellAlignment() -&gt; (horiz, vert)</autodoc>
26880 <paramlist>
26881 <param name="OUTPUT" type="int" default=""/>
26882 <param name="OUTPUT" type="int" default=""/>
26883 </paramlist>
26884 </method>
26885 <method name="GetCellAlignment" type="" overloaded="no">
26886 <autodoc>GetCellAlignment() -&gt; (horiz, vert)</autodoc>
26887 <paramlist>
26888 <param name="row" type="int" default=""/>
26889 <param name="col" type="int" default=""/>
26890 <param name="OUTPUT" type="int" default=""/>
26891 <param name="OUTPUT" type="int" default=""/>
26892 </paramlist>
26893 </method>
26894 <method name="GetDefaultCellOverflow" type="bool" overloaded="no">
26895 <autodoc>GetDefaultCellOverflow(self) -&gt; bool</autodoc>
26896 </method>
26897 <method name="GetCellOverflow" type="bool" overloaded="no">
26898 <autodoc>GetCellOverflow(self, int row, int col) -&gt; bool</autodoc>
26899 <paramlist>
26900 <param name="row" type="int" default=""/>
26901 <param name="col" type="int" default=""/>
26902 </paramlist>
26903 </method>
26904 <method name="GetCellSize" type="" overloaded="no">
26905 <autodoc>GetCellSize(int row, int col) -&gt; (num_rows, num_cols)</autodoc>
26906 <paramlist>
26907 <param name="row" type="int" default=""/>
26908 <param name="col" type="int" default=""/>
26909 <param name="OUTPUT" type="int" default=""/>
26910 <param name="OUTPUT" type="int" default=""/>
26911 </paramlist>
26912 </method>
26913 <method name="SetDefaultRowSize" type="" overloaded="no">
26914 <autodoc>SetDefaultRowSize(self, int height, bool resizeExistingRows=False)</autodoc>
26915 <paramlist>
26916 <param name="height" type="int" default=""/>
26917 <param name="resizeExistingRows" type="bool" default="False"/>
26918 </paramlist>
26919 </method>
26920 <method name="SetRowSize" type="" overloaded="no">
26921 <autodoc>SetRowSize(self, int row, int height)</autodoc>
26922 <paramlist>
26923 <param name="row" type="int" default=""/>
26924 <param name="height" type="int" default=""/>
26925 </paramlist>
26926 </method>
26927 <method name="SetDefaultColSize" type="" overloaded="no">
26928 <autodoc>SetDefaultColSize(self, int width, bool resizeExistingCols=False)</autodoc>
26929 <paramlist>
26930 <param name="width" type="int" default=""/>
26931 <param name="resizeExistingCols" type="bool" default="False"/>
26932 </paramlist>
26933 </method>
26934 <method name="SetColSize" type="" overloaded="no">
26935 <autodoc>SetColSize(self, int col, int width)</autodoc>
26936 <paramlist>
26937 <param name="col" type="int" default=""/>
26938 <param name="width" type="int" default=""/>
26939 </paramlist>
26940 </method>
26941 <method name="AutoSizeColumn" type="" overloaded="no">
26942 <autodoc>AutoSizeColumn(self, int col, bool setAsMin=True)</autodoc>
26943 <paramlist>
26944 <param name="col" type="int" default=""/>
26945 <param name="setAsMin" type="bool" default="True"/>
26946 </paramlist>
26947 </method>
26948 <method name="AutoSizeRow" type="" overloaded="no">
26949 <autodoc>AutoSizeRow(self, int row, bool setAsMin=True)</autodoc>
26950 <paramlist>
26951 <param name="row" type="int" default=""/>
26952 <param name="setAsMin" type="bool" default="True"/>
26953 </paramlist>
26954 </method>
26955 <method name="AutoSizeColumns" type="" overloaded="no">
26956 <autodoc>AutoSizeColumns(self, bool setAsMin=True)</autodoc>
26957 <paramlist>
26958 <param name="setAsMin" type="bool" default="True"/>
26959 </paramlist>
26960 </method>
26961 <method name="AutoSizeRows" type="" overloaded="no">
26962 <autodoc>AutoSizeRows(self, bool setAsMin=True)</autodoc>
26963 <paramlist>
26964 <param name="setAsMin" type="bool" default="True"/>
26965 </paramlist>
26966 </method>
26967 <method name="AutoSize" type="" overloaded="no">
26968 <autodoc>AutoSize(self)</autodoc>
26969 </method>
26970 <method name="AutoSizeRowLabelSize" type="" overloaded="no">
26971 <autodoc>AutoSizeRowLabelSize(self, int row)</autodoc>
26972 <paramlist>
26973 <param name="row" type="int" default=""/>
26974 </paramlist>
26975 </method>
26976 <method name="AutoSizeColLabelSize" type="" overloaded="no">
26977 <autodoc>AutoSizeColLabelSize(self, int col)</autodoc>
26978 <paramlist>
26979 <param name="col" type="int" default=""/>
26980 </paramlist>
26981 </method>
26982 <method name="SetColMinimalWidth" type="" overloaded="no">
26983 <autodoc>SetColMinimalWidth(self, int col, int width)</autodoc>
26984 <paramlist>
26985 <param name="col" type="int" default=""/>
26986 <param name="width" type="int" default=""/>
26987 </paramlist>
26988 </method>
26989 <method name="SetRowMinimalHeight" type="" overloaded="no">
26990 <autodoc>SetRowMinimalHeight(self, int row, int width)</autodoc>
26991 <paramlist>
26992 <param name="row" type="int" default=""/>
26993 <param name="width" type="int" default=""/>
26994 </paramlist>
26995 </method>
26996 <method name="SetColMinimalAcceptableWidth" type="" overloaded="no">
26997 <autodoc>SetColMinimalAcceptableWidth(self, int width)</autodoc>
26998 <paramlist>
26999 <param name="width" type="int" default=""/>
27000 </paramlist>
27001 </method>
27002 <method name="SetRowMinimalAcceptableHeight" type="" overloaded="no">
27003 <autodoc>SetRowMinimalAcceptableHeight(self, int width)</autodoc>
27004 <paramlist>
27005 <param name="width" type="int" default=""/>
27006 </paramlist>
27007 </method>
27008 <method name="GetColMinimalAcceptableWidth" type="int" overloaded="no">
27009 <autodoc>GetColMinimalAcceptableWidth(self) -&gt; int</autodoc>
27010 </method>
27011 <method name="GetRowMinimalAcceptableHeight" type="int" overloaded="no">
27012 <autodoc>GetRowMinimalAcceptableHeight(self) -&gt; int</autodoc>
27013 </method>
27014 <method name="SetDefaultCellBackgroundColour" type="" overloaded="no">
27015 <autodoc>SetDefaultCellBackgroundColour(self, Colour ??)</autodoc>
27016 <paramlist>
27017 <param name="" type="Colour" default=""/>
27018 </paramlist>
27019 </method>
27020 <method name="SetCellBackgroundColour" type="" overloaded="no">
27021 <autodoc>SetCellBackgroundColour(self, int row, int col, Colour ??)</autodoc>
27022 <paramlist>
27023 <param name="row" type="int" default=""/>
27024 <param name="col" type="int" default=""/>
27025 <param name="" type="Colour" default=""/>
27026 </paramlist>
27027 </method>
27028 <method name="SetDefaultCellTextColour" type="" overloaded="no">
27029 <autodoc>SetDefaultCellTextColour(self, Colour ??)</autodoc>
27030 <paramlist>
27031 <param name="" type="Colour" default=""/>
27032 </paramlist>
27033 </method>
27034 <method name="SetCellTextColour" type="" overloaded="no">
27035 <autodoc>SetCellTextColour(self, int row, int col, Colour ??)</autodoc>
27036 <paramlist>
27037 <param name="row" type="int" default=""/>
27038 <param name="col" type="int" default=""/>
27039 <param name="" type="Colour" default=""/>
27040 </paramlist>
27041 </method>
27042 <method name="SetDefaultCellFont" type="" overloaded="no">
27043 <autodoc>SetDefaultCellFont(self, Font ??)</autodoc>
27044 <paramlist>
27045 <param name="" type="Font" default=""/>
27046 </paramlist>
27047 </method>
27048 <method name="SetCellFont" type="" overloaded="no">
27049 <autodoc>SetCellFont(self, int row, int col, Font ??)</autodoc>
27050 <paramlist>
27051 <param name="row" type="int" default=""/>
27052 <param name="col" type="int" default=""/>
27053 <param name="" type="Font" default=""/>
27054 </paramlist>
27055 </method>
27056 <method name="SetDefaultCellAlignment" type="" overloaded="no">
27057 <autodoc>SetDefaultCellAlignment(self, int horiz, int vert)</autodoc>
27058 <paramlist>
27059 <param name="horiz" type="int" default=""/>
27060 <param name="vert" type="int" default=""/>
27061 </paramlist>
27062 </method>
27063 <method name="SetCellAlignment" type="" overloaded="no">
27064 <autodoc>SetCellAlignment(self, int row, int col, int horiz, int vert)</autodoc>
27065 <paramlist>
27066 <param name="row" type="int" default=""/>
27067 <param name="col" type="int" default=""/>
27068 <param name="horiz" type="int" default=""/>
27069 <param name="vert" type="int" default=""/>
27070 </paramlist>
27071 </method>
27072 <method name="SetDefaultCellOverflow" type="" overloaded="no">
27073 <autodoc>SetDefaultCellOverflow(self, bool allow)</autodoc>
27074 <paramlist>
27075 <param name="allow" type="bool" default=""/>
27076 </paramlist>
27077 </method>
27078 <method name="SetCellOverflow" type="" overloaded="no">
27079 <autodoc>SetCellOverflow(self, int row, int col, bool allow)</autodoc>
27080 <paramlist>
27081 <param name="row" type="int" default=""/>
27082 <param name="col" type="int" default=""/>
27083 <param name="allow" type="bool" default=""/>
27084 </paramlist>
27085 </method>
27086 <method name="SetCellSize" type="" overloaded="no">
27087 <autodoc>SetCellSize(self, int row, int col, int num_rows, int num_cols)</autodoc>
27088 <paramlist>
27089 <param name="row" type="int" default=""/>
27090 <param name="col" type="int" default=""/>
27091 <param name="num_rows" type="int" default=""/>
27092 <param name="num_cols" type="int" default=""/>
27093 </paramlist>
27094 </method>
27095 <method name="SetDefaultRenderer" type="" overloaded="no">
27096 <autodoc>SetDefaultRenderer(self, GridCellRenderer renderer)</autodoc>
27097 <paramlist>
27098 <param name="renderer" type="GridCellRenderer" default=""/>
27099 </paramlist>
27100 </method>
27101 <method name="SetCellRenderer" type="" overloaded="no">
27102 <autodoc>SetCellRenderer(self, int row, int col, GridCellRenderer renderer)</autodoc>
27103 <paramlist>
27104 <param name="row" type="int" default=""/>
27105 <param name="col" type="int" default=""/>
27106 <param name="renderer" type="GridCellRenderer" default=""/>
27107 </paramlist>
27108 </method>
27109 <method name="GetDefaultRenderer" type="GridCellRenderer" overloaded="no">
27110 <autodoc>GetDefaultRenderer(self) -&gt; GridCellRenderer</autodoc>
27111 </method>
27112 <method name="GetCellRenderer" type="GridCellRenderer" overloaded="no">
27113 <autodoc>GetCellRenderer(self, int row, int col) -&gt; GridCellRenderer</autodoc>
27114 <paramlist>
27115 <param name="row" type="int" default=""/>
27116 <param name="col" type="int" default=""/>
27117 </paramlist>
27118 </method>
27119 <method name="SetDefaultEditor" type="" overloaded="no">
27120 <autodoc>SetDefaultEditor(self, GridCellEditor editor)</autodoc>
27121 <paramlist>
27122 <param name="editor" type="GridCellEditor" default=""/>
27123 </paramlist>
27124 </method>
27125 <method name="SetCellEditor" type="" overloaded="no">
27126 <autodoc>SetCellEditor(self, int row, int col, GridCellEditor editor)</autodoc>
27127 <paramlist>
27128 <param name="row" type="int" default=""/>
27129 <param name="col" type="int" default=""/>
27130 <param name="editor" type="GridCellEditor" default=""/>
27131 </paramlist>
27132 </method>
27133 <method name="GetDefaultEditor" type="GridCellEditor" overloaded="no">
27134 <autodoc>GetDefaultEditor(self) -&gt; GridCellEditor</autodoc>
27135 </method>
27136 <method name="GetCellEditor" type="GridCellEditor" overloaded="no">
27137 <autodoc>GetCellEditor(self, int row, int col) -&gt; GridCellEditor</autodoc>
27138 <paramlist>
27139 <param name="row" type="int" default=""/>
27140 <param name="col" type="int" default=""/>
27141 </paramlist>
27142 </method>
27143 <method name="GetCellValue" type="String" overloaded="no">
27144 <autodoc>GetCellValue(self, int row, int col) -&gt; String</autodoc>
27145 <paramlist>
27146 <param name="row" type="int" default=""/>
27147 <param name="col" type="int" default=""/>
27148 </paramlist>
27149 </method>
27150 <method name="SetCellValue" type="" overloaded="no">
27151 <autodoc>SetCellValue(self, int row, int col, String s)</autodoc>
27152 <paramlist>
27153 <param name="row" type="int" default=""/>
27154 <param name="col" type="int" default=""/>
27155 <param name="s" type="String" default=""/>
27156 </paramlist>
27157 </method>
27158 <method name="IsReadOnly" type="bool" overloaded="no">
27159 <autodoc>IsReadOnly(self, int row, int col) -&gt; bool</autodoc>
27160 <paramlist>
27161 <param name="row" type="int" default=""/>
27162 <param name="col" type="int" default=""/>
27163 </paramlist>
27164 </method>
27165 <method name="SetReadOnly" type="" overloaded="no">
27166 <autodoc>SetReadOnly(self, int row, int col, bool isReadOnly=True)</autodoc>
27167 <paramlist>
27168 <param name="row" type="int" default=""/>
27169 <param name="col" type="int" default=""/>
27170 <param name="isReadOnly" type="bool" default="True"/>
27171 </paramlist>
27172 </method>
27173 <method name="SelectRow" type="" overloaded="no">
27174 <autodoc>SelectRow(self, int row, bool addToSelected=False)</autodoc>
27175 <paramlist>
27176 <param name="row" type="int" default=""/>
27177 <param name="addToSelected" type="bool" default="False"/>
27178 </paramlist>
27179 </method>
27180 <method name="SelectCol" type="" overloaded="no">
27181 <autodoc>SelectCol(self, int col, bool addToSelected=False)</autodoc>
27182 <paramlist>
27183 <param name="col" type="int" default=""/>
27184 <param name="addToSelected" type="bool" default="False"/>
27185 </paramlist>
27186 </method>
27187 <method name="SelectBlock" type="" overloaded="no">
27188 <autodoc>SelectBlock(self, int topRow, int leftCol, int bottomRow, int rightCol,
27189 bool addToSelected=False)</autodoc>
27190 <paramlist>
27191 <param name="topRow" type="int" default=""/>
27192 <param name="leftCol" type="int" default=""/>
27193 <param name="bottomRow" type="int" default=""/>
27194 <param name="rightCol" type="int" default=""/>
27195 <param name="addToSelected" type="bool" default="False"/>
27196 </paramlist>
27197 </method>
27198 <method name="SelectAll" type="" overloaded="no">
27199 <autodoc>SelectAll(self)</autodoc>
27200 </method>
27201 <method name="IsSelection" type="bool" overloaded="no">
27202 <autodoc>IsSelection(self) -&gt; bool</autodoc>
27203 </method>
27204 <method name="ClearSelection" type="" overloaded="no">
27205 <autodoc>ClearSelection(self)</autodoc>
27206 </method>
27207 <method name="IsInSelection" type="bool" overloaded="no">
27208 <autodoc>IsInSelection(self, int row, int col) -&gt; bool</autodoc>
27209 <paramlist>
27210 <param name="row" type="int" default=""/>
27211 <param name="col" type="int" default=""/>
27212 </paramlist>
27213 </method>
27214 <method name="GetSelectedCells" type="wxGridCellCoordsArray" overloaded="no">
27215 <autodoc>GetSelectedCells(self) -&gt; wxGridCellCoordsArray</autodoc>
27216 </method>
27217 <method name="GetSelectionBlockTopLeft" type="wxGridCellCoordsArray" overloaded="no">
27218 <autodoc>GetSelectionBlockTopLeft(self) -&gt; wxGridCellCoordsArray</autodoc>
27219 </method>
27220 <method name="GetSelectionBlockBottomRight" type="wxGridCellCoordsArray" overloaded="no">
27221 <autodoc>GetSelectionBlockBottomRight(self) -&gt; wxGridCellCoordsArray</autodoc>
27222 </method>
27223 <method name="GetSelectedRows" type="wxArrayInt" overloaded="no">
27224 <autodoc>GetSelectedRows(self) -&gt; wxArrayInt</autodoc>
27225 </method>
27226 <method name="GetSelectedCols" type="wxArrayInt" overloaded="no">
27227 <autodoc>GetSelectedCols(self) -&gt; wxArrayInt</autodoc>
27228 </method>
27229 <method name="DeselectRow" type="" overloaded="no">
27230 <autodoc>DeselectRow(self, int row)</autodoc>
27231 <paramlist>
27232 <param name="row" type="int" default=""/>
27233 </paramlist>
27234 </method>
27235 <method name="DeselectCol" type="" overloaded="no">
27236 <autodoc>DeselectCol(self, int col)</autodoc>
27237 <paramlist>
27238 <param name="col" type="int" default=""/>
27239 </paramlist>
27240 </method>
27241 <method name="DeselectCell" type="" overloaded="no">
27242 <autodoc>DeselectCell(self, int row, int col)</autodoc>
27243 <paramlist>
27244 <param name="row" type="int" default=""/>
27245 <param name="col" type="int" default=""/>
27246 </paramlist>
27247 </method>
27248 <method name="BlockToDeviceRect" type="Rect" overloaded="no">
27249 <autodoc>BlockToDeviceRect(self, GridCellCoords topLeft, GridCellCoords bottomRight) -&gt; Rect</autodoc>
27250 <paramlist>
27251 <param name="topLeft" type="GridCellCoords" default=""/>
27252 <param name="bottomRight" type="GridCellCoords" default=""/>
27253 </paramlist>
27254 </method>
27255 <method name="GetSelectionBackground" type="Colour" overloaded="no">
27256 <autodoc>GetSelectionBackground(self) -&gt; Colour</autodoc>
27257 </method>
27258 <method name="GetSelectionForeground" type="Colour" overloaded="no">
27259 <autodoc>GetSelectionForeground(self) -&gt; Colour</autodoc>
27260 </method>
27261 <method name="SetSelectionBackground" type="" overloaded="no">
27262 <autodoc>SetSelectionBackground(self, Colour c)</autodoc>
27263 <paramlist>
27264 <param name="c" type="Colour" default=""/>
27265 </paramlist>
27266 </method>
27267 <method name="SetSelectionForeground" type="" overloaded="no">
27268 <autodoc>SetSelectionForeground(self, Colour c)</autodoc>
27269 <paramlist>
27270 <param name="c" type="Colour" default=""/>
27271 </paramlist>
27272 </method>
27273 <method name="RegisterDataType" type="" overloaded="no">
27274 <autodoc>RegisterDataType(self, String typeName, GridCellRenderer renderer, GridCellEditor editor)</autodoc>
27275 <paramlist>
27276 <param name="typeName" type="String" default=""/>
27277 <param name="renderer" type="GridCellRenderer" default=""/>
27278 <param name="editor" type="GridCellEditor" default=""/>
27279 </paramlist>
27280 </method>
27281 <method name="GetDefaultEditorForCell" type="GridCellEditor" overloaded="no">
27282 <autodoc>GetDefaultEditorForCell(self, int row, int col) -&gt; GridCellEditor</autodoc>
27283 <paramlist>
27284 <param name="row" type="int" default=""/>
27285 <param name="col" type="int" default=""/>
27286 </paramlist>
27287 </method>
27288 <method name="GetDefaultRendererForCell" type="GridCellRenderer" overloaded="no">
27289 <autodoc>GetDefaultRendererForCell(self, int row, int col) -&gt; GridCellRenderer</autodoc>
27290 <paramlist>
27291 <param name="row" type="int" default=""/>
27292 <param name="col" type="int" default=""/>
27293 </paramlist>
27294 </method>
27295 <method name="GetDefaultEditorForType" type="GridCellEditor" overloaded="no">
27296 <autodoc>GetDefaultEditorForType(self, String typeName) -&gt; GridCellEditor</autodoc>
27297 <paramlist>
27298 <param name="typeName" type="String" default=""/>
27299 </paramlist>
27300 </method>
27301 <method name="GetDefaultRendererForType" type="GridCellRenderer" overloaded="no">
27302 <autodoc>GetDefaultRendererForType(self, String typeName) -&gt; GridCellRenderer</autodoc>
27303 <paramlist>
27304 <param name="typeName" type="String" default=""/>
27305 </paramlist>
27306 </method>
27307 <method name="SetMargins" type="" overloaded="no">
27308 <autodoc>SetMargins(self, int extraWidth, int extraHeight)</autodoc>
27309 <paramlist>
27310 <param name="extraWidth" type="int" default=""/>
27311 <param name="extraHeight" type="int" default=""/>
27312 </paramlist>
27313 </method>
27314 <method name="GetGridWindow" type="Window" overloaded="no">
27315 <autodoc>GetGridWindow(self) -&gt; Window</autodoc>
27316 </method>
27317 <method name="GetGridRowLabelWindow" type="Window" overloaded="no">
27318 <autodoc>GetGridRowLabelWindow(self) -&gt; Window</autodoc>
27319 </method>
27320 <method name="GetGridColLabelWindow" type="Window" overloaded="no">
27321 <autodoc>GetGridColLabelWindow(self) -&gt; Window</autodoc>
27322 </method>
27323 <method name="GetGridCornerLabelWindow" type="Window" overloaded="no">
27324 <autodoc>GetGridCornerLabelWindow(self) -&gt; Window</autodoc>
27325 </method>
27326 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
27327 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
27328 <docstring>Get the default attributes for this class. This is useful if you want
27329 to use the same font or colour in your own control as in a standard
27330 control -- which is a much better idea than hard coding specific
27331 colours or fonts which might look completely out of place on the
27332 user's system, especially if it uses themes.
27333
27334 The variant parameter is only relevant under Mac currently and is
27335 ignore under other platforms. Under Mac, it will change the size of
27336 the returned font. See `wx.Window.SetWindowVariant` for more about
27337 this.</docstring>
27338 <paramlist>
27339 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
27340 </paramlist>
27341 </staticmethod>
27342 </class>
27343 <class name="GridEvent" oldname="wxGridEvent" module="grid">
27344 <baseclass name="NotifyEvent"/>
27345 <constructor name="GridEvent" overloaded="no">
27346 <autodoc>__init__(self, int id, wxEventType type, Grid obj, int row=-1, int col=-1,
27347 int x=-1, int y=-1, bool sel=True, bool control=False,
27348 bool shift=False, bool alt=False,
27349 bool meta=False) -&gt; GridEvent</autodoc>
27350 <paramlist>
27351 <param name="id" type="int" default=""/>
27352 <param name="type" type="wxEventType" default=""/>
27353 <param name="obj" type="Grid" default=""/>
27354 <param name="row" type="int" default="-1"/>
27355 <param name="col" type="int" default="-1"/>
27356 <param name="x" type="int" default="-1"/>
27357 <param name="y" type="int" default="-1"/>
27358 <param name="sel" type="bool" default="True"/>
27359 <param name="control" type="bool" default="False"/>
27360 <param name="shift" type="bool" default="False"/>
27361 <param name="alt" type="bool" default="False"/>
27362 <param name="meta" type="bool" default="False"/>
27363 </paramlist>
27364 </constructor>
27365 <method name="GetRow" type="int" overloaded="no">
27366 <autodoc>GetRow(self) -&gt; int</autodoc>
27367 </method>
27368 <method name="GetCol" type="int" overloaded="no">
27369 <autodoc>GetCol(self) -&gt; int</autodoc>
27370 </method>
27371 <method name="GetPosition" type="Point" overloaded="no">
27372 <autodoc>GetPosition(self) -&gt; Point</autodoc>
27373 </method>
27374 <method name="Selecting" type="bool" overloaded="no">
27375 <autodoc>Selecting(self) -&gt; bool</autodoc>
27376 </method>
27377 <method name="ControlDown" type="bool" overloaded="no">
27378 <autodoc>ControlDown(self) -&gt; bool</autodoc>
27379 </method>
27380 <method name="MetaDown" type="bool" overloaded="no">
27381 <autodoc>MetaDown(self) -&gt; bool</autodoc>
27382 </method>
27383 <method name="ShiftDown" type="bool" overloaded="no">
27384 <autodoc>ShiftDown(self) -&gt; bool</autodoc>
27385 </method>
27386 <method name="AltDown" type="bool" overloaded="no">
27387 <autodoc>AltDown(self) -&gt; bool</autodoc>
27388 </method>
27389 </class>
27390 <class name="GridSizeEvent" oldname="wxGridSizeEvent" module="grid">
27391 <baseclass name="NotifyEvent"/>
27392 <constructor name="GridSizeEvent" overloaded="no">
27393 <autodoc>__init__(self, int id, wxEventType type, Grid obj, int rowOrCol=-1,
27394 int x=-1, int y=-1, bool control=False, bool shift=False,
27395 bool alt=False, bool meta=False) -&gt; GridSizeEvent</autodoc>
27396 <paramlist>
27397 <param name="id" type="int" default=""/>
27398 <param name="type" type="wxEventType" default=""/>
27399 <param name="obj" type="Grid" default=""/>
27400 <param name="rowOrCol" type="int" default="-1"/>
27401 <param name="x" type="int" default="-1"/>
27402 <param name="y" type="int" default="-1"/>
27403 <param name="control" type="bool" default="False"/>
27404 <param name="shift" type="bool" default="False"/>
27405 <param name="alt" type="bool" default="False"/>
27406 <param name="meta" type="bool" default="False"/>
27407 </paramlist>
27408 </constructor>
27409 <method name="GetRowOrCol" type="int" overloaded="no">
27410 <autodoc>GetRowOrCol(self) -&gt; int</autodoc>
27411 </method>
27412 <method name="GetPosition" type="Point" overloaded="no">
27413 <autodoc>GetPosition(self) -&gt; Point</autodoc>
27414 </method>
27415 <method name="ControlDown" type="bool" overloaded="no">
27416 <autodoc>ControlDown(self) -&gt; bool</autodoc>
27417 </method>
27418 <method name="MetaDown" type="bool" overloaded="no">
27419 <autodoc>MetaDown(self) -&gt; bool</autodoc>
27420 </method>
27421 <method name="ShiftDown" type="bool" overloaded="no">
27422 <autodoc>ShiftDown(self) -&gt; bool</autodoc>
27423 </method>
27424 <method name="AltDown" type="bool" overloaded="no">
27425 <autodoc>AltDown(self) -&gt; bool</autodoc>
27426 </method>
27427 </class>
27428 <class name="GridRangeSelectEvent" oldname="wxGridRangeSelectEvent" module="grid">
27429 <baseclass name="NotifyEvent"/>
27430 <constructor name="GridRangeSelectEvent" overloaded="no">
27431 <autodoc>__init__(self, int id, wxEventType type, Grid obj, GridCellCoords topLeft,
27432 GridCellCoords bottomRight, bool sel=True,
27433 bool control=False, bool shift=False,
27434 bool alt=False, bool meta=False) -&gt; GridRangeSelectEvent</autodoc>
27435 <paramlist>
27436 <param name="id" type="int" default=""/>
27437 <param name="type" type="wxEventType" default=""/>
27438 <param name="obj" type="Grid" default=""/>
27439 <param name="topLeft" type="GridCellCoords" default=""/>
27440 <param name="bottomRight" type="GridCellCoords" default=""/>
27441 <param name="sel" type="bool" default="True"/>
27442 <param name="control" type="bool" default="False"/>
27443 <param name="shift" type="bool" default="False"/>
27444 <param name="alt" type="bool" default="False"/>
27445 <param name="meta" type="bool" default="False"/>
27446 </paramlist>
27447 </constructor>
27448 <method name="GetTopLeftCoords" type="GridCellCoords" overloaded="no">
27449 <autodoc>GetTopLeftCoords(self) -&gt; GridCellCoords</autodoc>
27450 </method>
27451 <method name="GetBottomRightCoords" type="GridCellCoords" overloaded="no">
27452 <autodoc>GetBottomRightCoords(self) -&gt; GridCellCoords</autodoc>
27453 </method>
27454 <method name="GetTopRow" type="int" overloaded="no">
27455 <autodoc>GetTopRow(self) -&gt; int</autodoc>
27456 </method>
27457 <method name="GetBottomRow" type="int" overloaded="no">
27458 <autodoc>GetBottomRow(self) -&gt; int</autodoc>
27459 </method>
27460 <method name="GetLeftCol" type="int" overloaded="no">
27461 <autodoc>GetLeftCol(self) -&gt; int</autodoc>
27462 </method>
27463 <method name="GetRightCol" type="int" overloaded="no">
27464 <autodoc>GetRightCol(self) -&gt; int</autodoc>
27465 </method>
27466 <method name="Selecting" type="bool" overloaded="no">
27467 <autodoc>Selecting(self) -&gt; bool</autodoc>
27468 </method>
27469 <method name="ControlDown" type="bool" overloaded="no">
27470 <autodoc>ControlDown(self) -&gt; bool</autodoc>
27471 </method>
27472 <method name="MetaDown" type="bool" overloaded="no">
27473 <autodoc>MetaDown(self) -&gt; bool</autodoc>
27474 </method>
27475 <method name="ShiftDown" type="bool" overloaded="no">
27476 <autodoc>ShiftDown(self) -&gt; bool</autodoc>
27477 </method>
27478 <method name="AltDown" type="bool" overloaded="no">
27479 <autodoc>AltDown(self) -&gt; bool</autodoc>
27480 </method>
27481 </class>
27482 <class name="GridEditorCreatedEvent" oldname="wxGridEditorCreatedEvent" module="grid">
27483 <baseclass name="CommandEvent"/>
27484 <constructor name="GridEditorCreatedEvent" overloaded="no">
27485 <autodoc>__init__(self, int id, wxEventType type, Object obj, int row, int col,
27486 Control ctrl) -&gt; GridEditorCreatedEvent</autodoc>
27487 <paramlist>
27488 <param name="id" type="int" default=""/>
27489 <param name="type" type="wxEventType" default=""/>
27490 <param name="obj" type="Object" default=""/>
27491 <param name="row" type="int" default=""/>
27492 <param name="col" type="int" default=""/>
27493 <param name="ctrl" type="Control" default=""/>
27494 </paramlist>
27495 </constructor>
27496 <method name="GetRow" type="int" overloaded="no">
27497 <autodoc>GetRow(self) -&gt; int</autodoc>
27498 </method>
27499 <method name="GetCol" type="int" overloaded="no">
27500 <autodoc>GetCol(self) -&gt; int</autodoc>
27501 </method>
27502 <method name="GetControl" type="Control" overloaded="no">
27503 <autodoc>GetControl(self) -&gt; Control</autodoc>
27504 </method>
27505 <method name="SetRow" type="" overloaded="no">
27506 <autodoc>SetRow(self, int row)</autodoc>
27507 <paramlist>
27508 <param name="row" type="int" default=""/>
27509 </paramlist>
27510 </method>
27511 <method name="SetCol" type="" overloaded="no">
27512 <autodoc>SetCol(self, int col)</autodoc>
27513 <paramlist>
27514 <param name="col" type="int" default=""/>
27515 </paramlist>
27516 </method>
27517 <method name="SetControl" type="" overloaded="no">
27518 <autodoc>SetControl(self, Control ctrl)</autodoc>
27519 <paramlist>
27520 <param name="ctrl" type="Control" default=""/>
27521 </paramlist>
27522 </method>
27523 </class>
27524 <pythoncode>
27525 EVT_GRID_CELL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_CLICK )
27526 EVT_GRID_CELL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_CLICK )
27527 EVT_GRID_CELL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_DCLICK )
27528 EVT_GRID_CELL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_DCLICK )
27529 EVT_GRID_LABEL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_CLICK )
27530 EVT_GRID_LABEL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_CLICK )
27531 EVT_GRID_LABEL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_DCLICK )
27532 EVT_GRID_LABEL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_DCLICK )
27533 EVT_GRID_ROW_SIZE = wx.PyEventBinder( wxEVT_GRID_ROW_SIZE )
27534 EVT_GRID_COL_SIZE = wx.PyEventBinder( wxEVT_GRID_COL_SIZE )
27535 EVT_GRID_RANGE_SELECT = wx.PyEventBinder( wxEVT_GRID_RANGE_SELECT )
27536 EVT_GRID_CELL_CHANGE = wx.PyEventBinder( wxEVT_GRID_CELL_CHANGE )
27537 EVT_GRID_SELECT_CELL = wx.PyEventBinder( wxEVT_GRID_SELECT_CELL )
27538 EVT_GRID_EDITOR_SHOWN = wx.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN )
27539 EVT_GRID_EDITOR_HIDDEN = wx.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN )
27540 EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
27541 </pythoncode>
27542 </module>
27543 <module name="html">
27544 <import name="_windows"/>
27545 <pythoncode> wx = _core </pythoncode>
27546 <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
27547 <pythoncode>
27548 #---------------------------------------------------------------------------
27549 </pythoncode>
27550 <class name="HtmlLinkInfo" oldname="wxHtmlLinkInfo" module="html">
27551 <baseclass name="Object"/>
27552 <constructor name="HtmlLinkInfo" overloaded="no">
27553 <autodoc>__init__(self, String href, String target=EmptyString) -&gt; HtmlLinkInfo</autodoc>
27554 <paramlist>
27555 <param name="href" type="String" default=""/>
27556 <param name="target" type="String" default="wxPyEmptyString"/>
27557 </paramlist>
27558 </constructor>
27559 <method name="GetHref" type="String" overloaded="no">
27560 <autodoc>GetHref(self) -&gt; String</autodoc>
27561 </method>
27562 <method name="GetTarget" type="String" overloaded="no">
27563 <autodoc>GetTarget(self) -&gt; String</autodoc>
27564 </method>
27565 <method name="GetEvent" type="MouseEvent" overloaded="no">
27566 <autodoc>GetEvent(self) -&gt; MouseEvent</autodoc>
27567 </method>
27568 <method name="GetHtmlCell" type="wxHtmlCell" overloaded="no">
27569 <autodoc>GetHtmlCell(self) -&gt; HtmlCell</autodoc>
27570 </method>
27571 <method name="SetEvent" type="" overloaded="no">
27572 <autodoc>SetEvent(self, MouseEvent e)</autodoc>
27573 <paramlist>
27574 <param name="e" type="MouseEvent" default=""/>
27575 </paramlist>
27576 </method>
27577 <method name="SetHtmlCell" type="" overloaded="no">
27578 <autodoc>SetHtmlCell(self, HtmlCell e)</autodoc>
27579 <paramlist>
27580 <param name="e" type="wxHtmlCell" default=""/>
27581 </paramlist>
27582 </method>
27583 </class>
27584 <class name="HtmlTag" oldname="wxHtmlTag" module="html">
27585 <baseclass name="Object"/>
27586 <method name="GetName" type="String" overloaded="no">
27587 <autodoc>GetName(self) -&gt; String</autodoc>
27588 </method>
27589 <method name="HasParam" type="bool" overloaded="no">
27590 <autodoc>HasParam(self, String par) -&gt; bool</autodoc>
27591 <paramlist>
27592 <param name="par" type="String" default=""/>
27593 </paramlist>
27594 </method>
27595 <method name="GetParam" type="String" overloaded="no">
27596 <autodoc>GetParam(self, String par, int with_commas=False) -&gt; String</autodoc>
27597 <paramlist>
27598 <param name="par" type="String" default=""/>
27599 <param name="with_commas" type="int" default="False"/>
27600 </paramlist>
27601 </method>
27602 <method name="GetAllParams" type="String" overloaded="no">
27603 <autodoc>GetAllParams(self) -&gt; String</autodoc>
27604 </method>
27605 <method name="HasEnding" type="bool" overloaded="no">
27606 <autodoc>HasEnding(self) -&gt; bool</autodoc>
27607 </method>
27608 <method name="GetBeginPos" type="int" overloaded="no">
27609 <autodoc>GetBeginPos(self) -&gt; int</autodoc>
27610 </method>
27611 <method name="GetEndPos1" type="int" overloaded="no">
27612 <autodoc>GetEndPos1(self) -&gt; int</autodoc>
27613 </method>
27614 <method name="GetEndPos2" type="int" overloaded="no">
27615 <autodoc>GetEndPos2(self) -&gt; int</autodoc>
27616 </method>
27617 </class>
27618 <class name="HtmlParser" oldname="wxHtmlParser" module="html">
27619 <baseclass name="Object"/>
27620 <method name="SetFS" type="" overloaded="no">
27621 <autodoc>SetFS(self, FileSystem fs)</autodoc>
27622 <paramlist>
27623 <param name="fs" type="FileSystem" default=""/>
27624 </paramlist>
27625 </method>
27626 <method name="GetFS" type="FileSystem" overloaded="no">
27627 <autodoc>GetFS(self) -&gt; FileSystem</autodoc>
27628 </method>
27629 <method name="Parse" type="Object" overloaded="no">
27630 <autodoc>Parse(self, String source) -&gt; Object</autodoc>
27631 <paramlist>
27632 <param name="source" type="String" default=""/>
27633 </paramlist>
27634 </method>
27635 <method name="InitParser" type="" overloaded="no">
27636 <autodoc>InitParser(self, String source)</autodoc>
27637 <paramlist>
27638 <param name="source" type="String" default=""/>
27639 </paramlist>
27640 </method>
27641 <method name="DoneParser" type="" overloaded="no">
27642 <autodoc>DoneParser(self)</autodoc>
27643 </method>
27644 <method name="DoParsing" type="" overloaded="no">
27645 <autodoc>DoParsing(self, int begin_pos, int end_pos)</autodoc>
27646 <paramlist>
27647 <param name="begin_pos" type="int" default=""/>
27648 <param name="end_pos" type="int" default=""/>
27649 </paramlist>
27650 </method>
27651 <method name="StopParsing" type="" overloaded="no">
27652 <autodoc>StopParsing(self)</autodoc>
27653 </method>
27654 <method name="AddTagHandler" type="" overloaded="no">
27655 <autodoc>AddTagHandler(self, HtmlTagHandler handler)</autodoc>
27656 <paramlist>
27657 <param name="handler" type="wxHtmlTagHandler" default=""/>
27658 </paramlist>
27659 </method>
27660 <method name="GetSource" type="String" overloaded="no">
27661 <autodoc>GetSource(self) -&gt; String</autodoc>
27662 </method>
27663 <method name="PushTagHandler" type="" overloaded="no">
27664 <autodoc>PushTagHandler(self, HtmlTagHandler handler, String tags)</autodoc>
27665 <paramlist>
27666 <param name="handler" type="wxHtmlTagHandler" default=""/>
27667 <param name="tags" type="String" default=""/>
27668 </paramlist>
27669 </method>
27670 <method name="PopTagHandler" type="" overloaded="no">
27671 <autodoc>PopTagHandler(self)</autodoc>
27672 </method>
27673 </class>
27674 <class name="HtmlWinParser" oldname="wxHtmlWinParser" module="html">
27675 <baseclass name="HtmlParser"/>
27676 <constructor name="HtmlWinParser" overloaded="no">
27677 <autodoc>__init__(self, HtmlWindow wnd=None) -&gt; HtmlWinParser</autodoc>
27678 <paramlist>
27679 <param name="wnd" type="wxPyHtmlWindow" default="NULL"/>
27680 </paramlist>
27681 </constructor>
27682 <method name="SetDC" type="" overloaded="no">
27683 <autodoc>SetDC(self, DC dc)</autodoc>
27684 <paramlist>
27685 <param name="dc" type="DC" default=""/>
27686 </paramlist>
27687 </method>
27688 <method name="GetDC" type="DC" overloaded="no">
27689 <autodoc>GetDC(self) -&gt; DC</autodoc>
27690 </method>
27691 <method name="GetCharHeight" type="int" overloaded="no">
27692 <autodoc>GetCharHeight(self) -&gt; int</autodoc>
27693 </method>
27694 <method name="GetCharWidth" type="int" overloaded="no">
27695 <autodoc>GetCharWidth(self) -&gt; int</autodoc>
27696 </method>
27697 <method name="GetWindow" type="wxPyHtmlWindow" overloaded="no">
27698 <autodoc>GetWindow(self) -&gt; HtmlWindow</autodoc>
27699 </method>
27700 <method name="SetFonts" type="" overloaded="no">
27701 <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
27702 <paramlist>
27703 <param name="normal_face" type="String" default=""/>
27704 <param name="fixed_face" type="String" default=""/>
27705 <param name="sizes" type="PyObject" default="NULL"/>
27706 </paramlist>
27707 </method>
27708 <method name="GetContainer" type="wxHtmlContainerCell" overloaded="no">
27709 <autodoc>GetContainer(self) -&gt; HtmlContainerCell</autodoc>
27710 </method>
27711 <method name="OpenContainer" type="wxHtmlContainerCell" overloaded="no">
27712 <autodoc>OpenContainer(self) -&gt; HtmlContainerCell</autodoc>
27713 </method>
27714 <method name="SetContainer" type="wxHtmlContainerCell" overloaded="no">
27715 <autodoc>SetContainer(self, HtmlContainerCell c) -&gt; HtmlContainerCell</autodoc>
27716 <paramlist>
27717 <param name="c" type="wxHtmlContainerCell" default=""/>
27718 </paramlist>
27719 </method>
27720 <method name="CloseContainer" type="wxHtmlContainerCell" overloaded="no">
27721 <autodoc>CloseContainer(self) -&gt; HtmlContainerCell</autodoc>
27722 </method>
27723 <method name="GetFontSize" type="int" overloaded="no">
27724 <autodoc>GetFontSize(self) -&gt; int</autodoc>
27725 </method>
27726 <method name="SetFontSize" type="" overloaded="no">
27727 <autodoc>SetFontSize(self, int s)</autodoc>
27728 <paramlist>
27729 <param name="s" type="int" default=""/>
27730 </paramlist>
27731 </method>
27732 <method name="GetFontBold" type="int" overloaded="no">
27733 <autodoc>GetFontBold(self) -&gt; int</autodoc>
27734 </method>
27735 <method name="SetFontBold" type="" overloaded="no">
27736 <autodoc>SetFontBold(self, int x)</autodoc>
27737 <paramlist>
27738 <param name="x" type="int" default=""/>
27739 </paramlist>
27740 </method>
27741 <method name="GetFontItalic" type="int" overloaded="no">
27742 <autodoc>GetFontItalic(self) -&gt; int</autodoc>
27743 </method>
27744 <method name="SetFontItalic" type="" overloaded="no">
27745 <autodoc>SetFontItalic(self, int x)</autodoc>
27746 <paramlist>
27747 <param name="x" type="int" default=""/>
27748 </paramlist>
27749 </method>
27750 <method name="GetFontUnderlined" type="int" overloaded="no">
27751 <autodoc>GetFontUnderlined(self) -&gt; int</autodoc>
27752 </method>
27753 <method name="SetFontUnderlined" type="" overloaded="no">
27754 <autodoc>SetFontUnderlined(self, int x)</autodoc>
27755 <paramlist>
27756 <param name="x" type="int" default=""/>
27757 </paramlist>
27758 </method>
27759 <method name="GetFontFixed" type="int" overloaded="no">
27760 <autodoc>GetFontFixed(self) -&gt; int</autodoc>
27761 </method>
27762 <method name="SetFontFixed" type="" overloaded="no">
27763 <autodoc>SetFontFixed(self, int x)</autodoc>
27764 <paramlist>
27765 <param name="x" type="int" default=""/>
27766 </paramlist>
27767 </method>
27768 <method name="GetAlign" type="int" overloaded="no">
27769 <autodoc>GetAlign(self) -&gt; int</autodoc>
27770 </method>
27771 <method name="SetAlign" type="" overloaded="no">
27772 <autodoc>SetAlign(self, int a)</autodoc>
27773 <paramlist>
27774 <param name="a" type="int" default=""/>
27775 </paramlist>
27776 </method>
27777 <method name="GetLinkColor" type="Colour" overloaded="no">
27778 <autodoc>GetLinkColor(self) -&gt; Colour</autodoc>
27779 </method>
27780 <method name="SetLinkColor" type="" overloaded="no">
27781 <autodoc>SetLinkColor(self, Colour clr)</autodoc>
27782 <paramlist>
27783 <param name="clr" type="Colour" default=""/>
27784 </paramlist>
27785 </method>
27786 <method name="GetActualColor" type="Colour" overloaded="no">
27787 <autodoc>GetActualColor(self) -&gt; Colour</autodoc>
27788 </method>
27789 <method name="SetActualColor" type="" overloaded="no">
27790 <autodoc>SetActualColor(self, Colour clr)</autodoc>
27791 <paramlist>
27792 <param name="clr" type="Colour" default=""/>
27793 </paramlist>
27794 </method>
27795 <method name="SetLink" type="" overloaded="no">
27796 <autodoc>SetLink(self, String link)</autodoc>
27797 <paramlist>
27798 <param name="link" type="String" default=""/>
27799 </paramlist>
27800 </method>
27801 <method name="CreateCurrentFont" type="Font" overloaded="no">
27802 <autodoc>CreateCurrentFont(self) -&gt; Font</autodoc>
27803 </method>
27804 <method name="GetLink" type="HtmlLinkInfo" overloaded="no">
27805 <autodoc>GetLink(self) -&gt; HtmlLinkInfo</autodoc>
27806 </method>
27807 </class>
27808 <class name="HtmlTagHandler" oldname="wxPyHtmlTagHandler" module="html">
27809 <baseclass name="Object"/>
27810 <constructor name="wxPyHtmlTagHandler" overloaded="no">
27811 <autodoc>__init__(self) -&gt; HtmlTagHandler</autodoc>
27812 </constructor>
27813 <method name="_setCallbackInfo" type="" overloaded="no">
27814 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
27815 <paramlist>
27816 <param name="self" type="PyObject" default=""/>
27817 <param name="_class" type="PyObject" default=""/>
27818 </paramlist>
27819 </method>
27820 <method name="SetParser" type="" overloaded="no">
27821 <autodoc>SetParser(self, HtmlParser parser)</autodoc>
27822 <paramlist>
27823 <param name="parser" type="HtmlParser" default=""/>
27824 </paramlist>
27825 </method>
27826 <method name="GetParser" type="HtmlParser" overloaded="no">
27827 <autodoc>GetParser(self) -&gt; HtmlParser</autodoc>
27828 </method>
27829 <method name="ParseInner" type="" overloaded="no">
27830 <autodoc>ParseInner(self, HtmlTag tag)</autodoc>
27831 <paramlist>
27832 <param name="tag" type="HtmlTag" default=""/>
27833 </paramlist>
27834 </method>
27835 </class>
27836 <class name="HtmlWinTagHandler" oldname="wxPyHtmlWinTagHandler" module="html">
27837 <baseclass name="HtmlTagHandler"/>
27838 <constructor name="wxPyHtmlWinTagHandler" overloaded="no">
27839 <autodoc>__init__(self) -&gt; HtmlWinTagHandler</autodoc>
27840 </constructor>
27841 <method name="_setCallbackInfo" type="" overloaded="no">
27842 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
27843 <paramlist>
27844 <param name="self" type="PyObject" default=""/>
27845 <param name="_class" type="PyObject" default=""/>
27846 </paramlist>
27847 </method>
27848 <method name="SetParser" type="" overloaded="no">
27849 <autodoc>SetParser(self, HtmlParser parser)</autodoc>
27850 <paramlist>
27851 <param name="parser" type="HtmlParser" default=""/>
27852 </paramlist>
27853 </method>
27854 <method name="GetParser" type="HtmlWinParser" overloaded="no">
27855 <autodoc>GetParser(self) -&gt; HtmlWinParser</autodoc>
27856 </method>
27857 <method name="ParseInner" type="" overloaded="no">
27858 <autodoc>ParseInner(self, HtmlTag tag)</autodoc>
27859 <paramlist>
27860 <param name="tag" type="HtmlTag" default=""/>
27861 </paramlist>
27862 </method>
27863 </class>
27864 <method name="HtmlWinParser_AddTagHandler" oldname="wxHtmlWinParser_AddTagHandler" type="" overloaded="no">
27865 <autodoc>HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)</autodoc>
27866 <paramlist>
27867 <param name="tagHandlerClass" type="PyObject" default=""/>
27868 </paramlist>
27869 </method>
27870 <pythoncode>
27871 #---------------------------------------------------------------------------
27872 </pythoncode>
27873 <class name="HtmlSelection" oldname="wxHtmlSelection" module="html">
27874 <constructor name="HtmlSelection" overloaded="no">
27875 <autodoc>__init__(self) -&gt; HtmlSelection</autodoc>
27876 </constructor>
27877 <destructor name="~wxHtmlSelection" overloaded="no">
27878 <autodoc>__del__(self)</autodoc>
27879 </destructor>
27880 <method name="Set" type="" overloaded="no">
27881 <autodoc>Set(self, Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)</autodoc>
27882 <paramlist>
27883 <param name="fromPos" type="Point" default=""/>
27884 <param name="fromCell" type="wxHtmlCell" default=""/>
27885 <param name="toPos" type="Point" default=""/>
27886 <param name="toCell" type="wxHtmlCell" default=""/>
27887 </paramlist>
27888 </method>
27889 <method name="SetCells" type="" overloaded="no">
27890 <autodoc>SetCells(self, HtmlCell fromCell, HtmlCell toCell)</autodoc>
27891 <paramlist>
27892 <param name="fromCell" type="wxHtmlCell" default=""/>
27893 <param name="toCell" type="wxHtmlCell" default=""/>
27894 </paramlist>
27895 </method>
27896 <method name="GetFromCell" type="wxHtmlCell" overloaded="no">
27897 <autodoc>GetFromCell(self) -&gt; HtmlCell</autodoc>
27898 </method>
27899 <method name="GetToCell" type="wxHtmlCell" overloaded="no">
27900 <autodoc>GetToCell(self) -&gt; HtmlCell</autodoc>
27901 </method>
27902 <method name="GetFromPos" type="Point" overloaded="no">
27903 <autodoc>GetFromPos(self) -&gt; Point</autodoc>
27904 </method>
27905 <method name="GetToPos" type="Point" overloaded="no">
27906 <autodoc>GetToPos(self) -&gt; Point</autodoc>
27907 </method>
27908 <method name="GetFromPrivPos" type="Point" overloaded="no">
27909 <autodoc>GetFromPrivPos(self) -&gt; Point</autodoc>
27910 </method>
27911 <method name="GetToPrivPos" type="Point" overloaded="no">
27912 <autodoc>GetToPrivPos(self) -&gt; Point</autodoc>
27913 </method>
27914 <method name="SetFromPrivPos" type="" overloaded="no">
27915 <autodoc>SetFromPrivPos(self, Point pos)</autodoc>
27916 <paramlist>
27917 <param name="pos" type="Point" default=""/>
27918 </paramlist>
27919 </method>
27920 <method name="SetToPrivPos" type="" overloaded="no">
27921 <autodoc>SetToPrivPos(self, Point pos)</autodoc>
27922 <paramlist>
27923 <param name="pos" type="Point" default=""/>
27924 </paramlist>
27925 </method>
27926 <method name="ClearPrivPos" type="" overloaded="no">
27927 <autodoc>ClearPrivPos(self)</autodoc>
27928 </method>
27929 <method name="IsEmpty" type="bool" overloaded="no">
27930 <autodoc>IsEmpty(self) -&gt; bool</autodoc>
27931 </method>
27932 </class>
27933 <class name="HtmlRenderingState" oldname="wxHtmlRenderingState" module="html">
27934 <constructor name="HtmlRenderingState" overloaded="no">
27935 <autodoc>__init__(self) -&gt; HtmlRenderingState</autodoc>
27936 </constructor>
27937 <destructor name="~wxHtmlRenderingState" overloaded="no">
27938 <autodoc>__del__(self)</autodoc>
27939 </destructor>
27940 <method name="SetSelectionState" type="" overloaded="no">
27941 <autodoc>SetSelectionState(self, int s)</autodoc>
27942 <paramlist>
27943 <param name="s" type="wxHtmlSelectionState" default=""/>
27944 </paramlist>
27945 </method>
27946 <method name="GetSelectionState" type="wxHtmlSelectionState" overloaded="no">
27947 <autodoc>GetSelectionState(self) -&gt; int</autodoc>
27948 </method>
27949 <method name="SetFgColour" type="" overloaded="no">
27950 <autodoc>SetFgColour(self, Colour c)</autodoc>
27951 <paramlist>
27952 <param name="c" type="Colour" default=""/>
27953 </paramlist>
27954 </method>
27955 <method name="GetFgColour" type="Colour" overloaded="no">
27956 <autodoc>GetFgColour(self) -&gt; Colour</autodoc>
27957 </method>
27958 <method name="SetBgColour" type="" overloaded="no">
27959 <autodoc>SetBgColour(self, Colour c)</autodoc>
27960 <paramlist>
27961 <param name="c" type="Colour" default=""/>
27962 </paramlist>
27963 </method>
27964 <method name="GetBgColour" type="Colour" overloaded="no">
27965 <autodoc>GetBgColour(self) -&gt; Colour</autodoc>
27966 </method>
27967 </class>
27968 <class name="HtmlRenderingStyle" oldname="wxHtmlRenderingStyle" module="html">
27969 <method name="GetSelectedTextColour" type="Colour" overloaded="no">
27970 <autodoc>GetSelectedTextColour(self, Colour clr) -&gt; Colour</autodoc>
27971 <paramlist>
27972 <param name="clr" type="Colour" default=""/>
27973 </paramlist>
27974 </method>
27975 <method name="GetSelectedTextBgColour" type="Colour" overloaded="no">
27976 <autodoc>GetSelectedTextBgColour(self, Colour clr) -&gt; Colour</autodoc>
27977 <paramlist>
27978 <param name="clr" type="Colour" default=""/>
27979 </paramlist>
27980 </method>
27981 </class>
27982 <class name="DefaultHtmlRenderingStyle" oldname="wxDefaultHtmlRenderingStyle" module="html">
27983 <baseclass name="HtmlRenderingStyle"/>
27984 <method name="GetSelectedTextColour" type="Colour" overloaded="no">
27985 <autodoc>GetSelectedTextColour(self, Colour clr) -&gt; Colour</autodoc>
27986 <paramlist>
27987 <param name="clr" type="Colour" default=""/>
27988 </paramlist>
27989 </method>
27990 <method name="GetSelectedTextBgColour" type="Colour" overloaded="no">
27991 <autodoc>GetSelectedTextBgColour(self, Colour clr) -&gt; Colour</autodoc>
27992 <paramlist>
27993 <param name="clr" type="Colour" default=""/>
27994 </paramlist>
27995 </method>
27996 </class>
27997 <class name="HtmlRenderingInfo" oldname="wxHtmlRenderingInfo" module="html">
27998 <constructor name="HtmlRenderingInfo" overloaded="no">
27999 <autodoc>__init__(self) -&gt; HtmlRenderingInfo</autodoc>
28000 </constructor>
28001 <destructor name="~wxHtmlRenderingInfo" overloaded="no">
28002 <autodoc>__del__(self)</autodoc>
28003 </destructor>
28004 <method name="SetSelection" type="" overloaded="no">
28005 <autodoc>SetSelection(self, HtmlSelection s)</autodoc>
28006 <paramlist>
28007 <param name="s" type="HtmlSelection" default=""/>
28008 </paramlist>
28009 </method>
28010 <method name="GetSelection" type="HtmlSelection" overloaded="no">
28011 <autodoc>GetSelection(self) -&gt; HtmlSelection</autodoc>
28012 </method>
28013 <method name="SetStyle" type="" overloaded="no">
28014 <autodoc>SetStyle(self, HtmlRenderingStyle style)</autodoc>
28015 <paramlist>
28016 <param name="style" type="HtmlRenderingStyle" default=""/>
28017 </paramlist>
28018 </method>
28019 <method name="GetStyle" type="HtmlRenderingStyle" overloaded="no">
28020 <autodoc>GetStyle(self) -&gt; HtmlRenderingStyle</autodoc>
28021 </method>
28022 <method name="GetState" type="HtmlRenderingState" overloaded="no">
28023 <autodoc>GetState(self) -&gt; HtmlRenderingState</autodoc>
28024 </method>
28025 </class>
28026 <pythoncode>
28027 #---------------------------------------------------------------------------
28028 </pythoncode>
28029 <class name="HtmlCell" oldname="wxHtmlCell" module="html">
28030 <baseclass name="Object"/>
28031 <constructor name="HtmlCell" overloaded="no">
28032 <autodoc>__init__(self) -&gt; HtmlCell</autodoc>
28033 </constructor>
28034 <method name="GetPosX" type="int" overloaded="no">
28035 <autodoc>GetPosX(self) -&gt; int</autodoc>
28036 </method>
28037 <method name="GetPosY" type="int" overloaded="no">
28038 <autodoc>GetPosY(self) -&gt; int</autodoc>
28039 </method>
28040 <method name="GetWidth" type="int" overloaded="no">
28041 <autodoc>GetWidth(self) -&gt; int</autodoc>
28042 </method>
28043 <method name="GetHeight" type="int" overloaded="no">
28044 <autodoc>GetHeight(self) -&gt; int</autodoc>
28045 </method>
28046 <method name="GetDescent" type="int" overloaded="no">
28047 <autodoc>GetDescent(self) -&gt; int</autodoc>
28048 </method>
28049 <method name="GetMaxTotalWidth" type="int" overloaded="no">
28050 <autodoc>GetMaxTotalWidth(self) -&gt; int</autodoc>
28051 </method>
28052 <method name="GetId" type="String" overloaded="no">
28053 <autodoc>GetId(self) -&gt; String</autodoc>
28054 </method>
28055 <method name="SetId" type="" overloaded="no">
28056 <autodoc>SetId(self, String id)</autodoc>
28057 <paramlist>
28058 <param name="id" type="String" default=""/>
28059 </paramlist>
28060 </method>
28061 <method name="GetLink" type="HtmlLinkInfo" overloaded="no">
28062 <autodoc>GetLink(self, int x=0, int y=0) -&gt; HtmlLinkInfo</autodoc>
28063 <paramlist>
28064 <param name="x" type="int" default="0"/>
28065 <param name="y" type="int" default="0"/>
28066 </paramlist>
28067 </method>
28068 <method name="GetNext" type="HtmlCell" overloaded="no">
28069 <autodoc>GetNext(self) -&gt; HtmlCell</autodoc>
28070 </method>
28071 <method name="GetParent" type="wxHtmlContainerCell" overloaded="no">
28072 <autodoc>GetParent(self) -&gt; HtmlContainerCell</autodoc>
28073 </method>
28074 <method name="GetFirstChild" type="HtmlCell" overloaded="no">
28075 <autodoc>GetFirstChild(self) -&gt; HtmlCell</autodoc>
28076 </method>
28077 <method name="GetCursor" type="Cursor" overloaded="no">
28078 <autodoc>GetCursor(self) -&gt; Cursor</autodoc>
28079 </method>
28080 <method name="IsFormattingCell" type="bool" overloaded="no">
28081 <autodoc>IsFormattingCell(self) -&gt; bool</autodoc>
28082 </method>
28083 <method name="SetLink" type="" overloaded="no">
28084 <autodoc>SetLink(self, HtmlLinkInfo link)</autodoc>
28085 <paramlist>
28086 <param name="link" type="HtmlLinkInfo" default=""/>
28087 </paramlist>
28088 </method>
28089 <method name="SetNext" type="" overloaded="no">
28090 <autodoc>SetNext(self, HtmlCell cell)</autodoc>
28091 <paramlist>
28092 <param name="cell" type="HtmlCell" default=""/>
28093 </paramlist>
28094 </method>
28095 <method name="SetParent" type="" overloaded="no">
28096 <autodoc>SetParent(self, HtmlContainerCell p)</autodoc>
28097 <paramlist>
28098 <param name="p" type="wxHtmlContainerCell" default=""/>
28099 </paramlist>
28100 </method>
28101 <method name="SetPos" type="" overloaded="no">
28102 <autodoc>SetPos(self, int x, int y)</autodoc>
28103 <paramlist>
28104 <param name="x" type="int" default=""/>
28105 <param name="y" type="int" default=""/>
28106 </paramlist>
28107 </method>
28108 <method name="Layout" type="" overloaded="no">
28109 <autodoc>Layout(self, int w)</autodoc>
28110 <paramlist>
28111 <param name="w" type="int" default=""/>
28112 </paramlist>
28113 </method>
28114 <method name="Draw" type="" overloaded="no">
28115 <autodoc>Draw(self, DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)</autodoc>
28116 <paramlist>
28117 <param name="dc" type="DC" default=""/>
28118 <param name="x" type="int" default=""/>
28119 <param name="y" type="int" default=""/>
28120 <param name="view_y1" type="int" default=""/>
28121 <param name="view_y2" type="int" default=""/>
28122 <param name="info" type="HtmlRenderingInfo" default=""/>
28123 </paramlist>
28124 </method>
28125 <method name="DrawInvisible" type="" overloaded="no">
28126 <autodoc>DrawInvisible(self, DC dc, int x, int y, HtmlRenderingInfo info)</autodoc>
28127 <paramlist>
28128 <param name="dc" type="DC" default=""/>
28129 <param name="x" type="int" default=""/>
28130 <param name="y" type="int" default=""/>
28131 <param name="info" type="HtmlRenderingInfo" default=""/>
28132 </paramlist>
28133 </method>
28134 <method name="Find" type="HtmlCell" overloaded="no">
28135 <autodoc>Find(self, int condition, void param) -&gt; HtmlCell</autodoc>
28136 <paramlist>
28137 <param name="condition" type="int" default=""/>
28138 <param name="param" type="" default=""/>
28139 </paramlist>
28140 </method>
28141 <method name="AdjustPagebreak" type="bool" overloaded="no">
28142 <autodoc>AdjustPagebreak(self, int INOUT) -&gt; bool</autodoc>
28143 <paramlist>
28144 <param name="INOUT" type="int" default=""/>
28145 </paramlist>
28146 </method>
28147 <method name="SetCanLiveOnPagebreak" type="" overloaded="no">
28148 <autodoc>SetCanLiveOnPagebreak(self, bool can)</autodoc>
28149 <paramlist>
28150 <param name="can" type="bool" default=""/>
28151 </paramlist>
28152 </method>
28153 <method name="IsLinebreakAllowed" type="bool" overloaded="no">
28154 <autodoc>IsLinebreakAllowed(self) -&gt; bool</autodoc>
28155 </method>
28156 <method name="IsTerminalCell" type="bool" overloaded="no">
28157 <autodoc>IsTerminalCell(self) -&gt; bool</autodoc>
28158 </method>
28159 <method name="FindCellByPos" type="HtmlCell" overloaded="no">
28160 <autodoc>FindCellByPos(self, int x, int y, unsigned int flags=HTML_FIND_EXACT) -&gt; HtmlCell</autodoc>
28161 <paramlist>
28162 <param name="x" type="int" default=""/>
28163 <param name="y" type="int" default=""/>
28164 <param name="flags" type="unsigned int" default="wxHTML_FIND_EXACT"/>
28165 </paramlist>
28166 </method>
28167 <method name="GetAbsPos" type="Point" overloaded="no">
28168 <autodoc>GetAbsPos(self) -&gt; Point</autodoc>
28169 </method>
28170 <method name="GetFirstTerminal" type="HtmlCell" overloaded="no">
28171 <autodoc>GetFirstTerminal(self) -&gt; HtmlCell</autodoc>
28172 </method>
28173 <method name="GetLastTerminal" type="HtmlCell" overloaded="no">
28174 <autodoc>GetLastTerminal(self) -&gt; HtmlCell</autodoc>
28175 </method>
28176 <method name="GetDepth" type="unsigned int" overloaded="no">
28177 <autodoc>GetDepth(self) -&gt; unsigned int</autodoc>
28178 </method>
28179 <method name="IsBefore" type="bool" overloaded="no">
28180 <autodoc>IsBefore(self, HtmlCell cell) -&gt; bool</autodoc>
28181 <paramlist>
28182 <param name="cell" type="HtmlCell" default=""/>
28183 </paramlist>
28184 </method>
28185 <method name="ConvertToText" type="String" overloaded="no">
28186 <autodoc>ConvertToText(self, HtmlSelection sel) -&gt; String</autodoc>
28187 <paramlist>
28188 <param name="sel" type="HtmlSelection" default=""/>
28189 </paramlist>
28190 </method>
28191 </class>
28192 <class name="HtmlWordCell" oldname="wxHtmlWordCell" module="html">
28193 <baseclass name="HtmlCell"/>
28194 <constructor name="HtmlWordCell" overloaded="no">
28195 <autodoc>__init__(self, String word, DC dc) -&gt; HtmlWordCell</autodoc>
28196 <paramlist>
28197 <param name="word" type="String" default=""/>
28198 <param name="dc" type="DC" default=""/>
28199 </paramlist>
28200 </constructor>
28201 </class>
28202 <class name="HtmlContainerCell" oldname="wxHtmlContainerCell" module="html">
28203 <baseclass name="HtmlCell"/>
28204 <constructor name="HtmlContainerCell" overloaded="no">
28205 <autodoc>__init__(self, HtmlContainerCell parent) -&gt; HtmlContainerCell</autodoc>
28206 <paramlist>
28207 <param name="parent" type="HtmlContainerCell" default=""/>
28208 </paramlist>
28209 </constructor>
28210 <method name="InsertCell" type="" overloaded="no">
28211 <autodoc>InsertCell(self, HtmlCell cell)</autodoc>
28212 <paramlist>
28213 <param name="cell" type="HtmlCell" default=""/>
28214 </paramlist>
28215 </method>
28216 <method name="SetAlignHor" type="" overloaded="no">
28217 <autodoc>SetAlignHor(self, int al)</autodoc>
28218 <paramlist>
28219 <param name="al" type="int" default=""/>
28220 </paramlist>
28221 </method>
28222 <method name="GetAlignHor" type="int" overloaded="no">
28223 <autodoc>GetAlignHor(self) -&gt; int</autodoc>
28224 </method>
28225 <method name="SetAlignVer" type="" overloaded="no">
28226 <autodoc>SetAlignVer(self, int al)</autodoc>
28227 <paramlist>
28228 <param name="al" type="int" default=""/>
28229 </paramlist>
28230 </method>
28231 <method name="GetAlignVer" type="int" overloaded="no">
28232 <autodoc>GetAlignVer(self) -&gt; int</autodoc>
28233 </method>
28234 <method name="SetIndent" type="" overloaded="no">
28235 <autodoc>SetIndent(self, int i, int what, int units=HTML_UNITS_PIXELS)</autodoc>
28236 <paramlist>
28237 <param name="i" type="int" default=""/>
28238 <param name="what" type="int" default=""/>
28239 <param name="units" type="int" default="wxHTML_UNITS_PIXELS"/>
28240 </paramlist>
28241 </method>
28242 <method name="GetIndent" type="int" overloaded="no">
28243 <autodoc>GetIndent(self, int ind) -&gt; int</autodoc>
28244 <paramlist>
28245 <param name="ind" type="int" default=""/>
28246 </paramlist>
28247 </method>
28248 <method name="GetIndentUnits" type="int" overloaded="no">
28249 <autodoc>GetIndentUnits(self, int ind) -&gt; int</autodoc>
28250 <paramlist>
28251 <param name="ind" type="int" default=""/>
28252 </paramlist>
28253 </method>
28254 <method name="SetAlign" type="" overloaded="no">
28255 <autodoc>SetAlign(self, HtmlTag tag)</autodoc>
28256 <paramlist>
28257 <param name="tag" type="HtmlTag" default=""/>
28258 </paramlist>
28259 </method>
28260 <method name="SetWidthFloat" type="" overloaded="no">
28261 <autodoc>SetWidthFloat(self, int w, int units)</autodoc>
28262 <paramlist>
28263 <param name="w" type="int" default=""/>
28264 <param name="units" type="int" default=""/>
28265 </paramlist>
28266 </method>
28267 <method name="SetWidthFloatFromTag" type="" overloaded="no">
28268 <autodoc>SetWidthFloatFromTag(self, HtmlTag tag)</autodoc>
28269 <paramlist>
28270 <param name="tag" type="HtmlTag" default=""/>
28271 </paramlist>
28272 </method>
28273 <method name="SetMinHeight" type="" overloaded="no">
28274 <autodoc>SetMinHeight(self, int h, int align=HTML_ALIGN_TOP)</autodoc>
28275 <paramlist>
28276 <param name="h" type="int" default=""/>
28277 <param name="align" type="int" default="wxHTML_ALIGN_TOP"/>
28278 </paramlist>
28279 </method>
28280 <method name="SetBackgroundColour" type="" overloaded="no">
28281 <autodoc>SetBackgroundColour(self, Colour clr)</autodoc>
28282 <paramlist>
28283 <param name="clr" type="Colour" default=""/>
28284 </paramlist>
28285 </method>
28286 <method name="GetBackgroundColour" type="Colour" overloaded="no">
28287 <autodoc>GetBackgroundColour(self) -&gt; Colour</autodoc>
28288 </method>
28289 <method name="SetBorder" type="" overloaded="no">
28290 <autodoc>SetBorder(self, Colour clr1, Colour clr2)</autodoc>
28291 <paramlist>
28292 <param name="clr1" type="Colour" default=""/>
28293 <param name="clr2" type="Colour" default=""/>
28294 </paramlist>
28295 </method>
28296 <method name="GetFirstChild" type="HtmlCell" overloaded="no">
28297 <autodoc>GetFirstChild(self) -&gt; HtmlCell</autodoc>
28298 </method>
28299 </class>
28300 <class name="HtmlColourCell" oldname="wxHtmlColourCell" module="html">
28301 <baseclass name="HtmlCell"/>
28302 <constructor name="HtmlColourCell" overloaded="no">
28303 <autodoc>__init__(self, Colour clr, int flags=HTML_CLR_FOREGROUND) -&gt; HtmlColourCell</autodoc>
28304 <paramlist>
28305 <param name="clr" type="Colour" default=""/>
28306 <param name="flags" type="int" default="wxHTML_CLR_FOREGROUND"/>
28307 </paramlist>
28308 </constructor>
28309 </class>
28310 <class name="HtmlFontCell" oldname="wxHtmlFontCell" module="html">
28311 <baseclass name="HtmlCell"/>
28312 <constructor name="HtmlFontCell" overloaded="no">
28313 <autodoc>__init__(self, Font font) -&gt; HtmlFontCell</autodoc>
28314 <paramlist>
28315 <param name="font" type="Font" default=""/>
28316 </paramlist>
28317 </constructor>
28318 </class>
28319 <class name="HtmlWidgetCell" oldname="wxHtmlWidgetCell" module="html">
28320 <baseclass name="HtmlCell"/>
28321 <constructor name="HtmlWidgetCell" overloaded="no">
28322 <autodoc>__init__(self, Window wnd, int w=0) -&gt; HtmlWidgetCell</autodoc>
28323 <paramlist>
28324 <param name="wnd" type="Window" default=""/>
28325 <param name="w" type="int" default="0"/>
28326 </paramlist>
28327 </constructor>
28328 </class>
28329 <pythoncode>
28330 #---------------------------------------------------------------------------
28331 </pythoncode>
28332 <class name="HtmlFilter" oldname="wxPyHtmlFilter" module="html">
28333 <baseclass name="Object"/>
28334 <constructor name="wxPyHtmlFilter" overloaded="no">
28335 <autodoc>__init__(self) -&gt; HtmlFilter</autodoc>
28336 </constructor>
28337 <method name="_setCallbackInfo" type="" overloaded="no">
28338 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
28339 <paramlist>
28340 <param name="self" type="PyObject" default=""/>
28341 <param name="_class" type="PyObject" default=""/>
28342 </paramlist>
28343 </method>
28344 </class>
28345 <pythoncode>
28346 #---------------------------------------------------------------------------
28347 </pythoncode>
28348 <class name="HtmlWindow" oldname="wxPyHtmlWindow" module="html">
28349 <baseclass name="ScrolledWindow"/>
28350 <constructor name="wxPyHtmlWindow" overloaded="no">
28351 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
28352 Size size=DefaultSize, int style=HW_DEFAULT_STYLE,
28353 String name=HtmlWindowNameStr) -&gt; HtmlWindow</autodoc>
28354 <paramlist>
28355 <param name="parent" type="Window" default=""/>
28356 <param name="id" type="int" default="-1"/>
28357 <param name="pos" type="Point" default="wxDefaultPosition"/>
28358 <param name="size" type="Size" default="wxDefaultSize"/>
28359 <param name="style" type="int" default="wxHW_DEFAULT_STYLE"/>
28360 <param name="name" type="String" default="wxPyHtmlWindowNameStr"/>
28361 </paramlist>
28362 </constructor>
28363 <constructor name="PreHtmlWindow" overloaded="no">
28364 <autodoc>PreHtmlWindow() -&gt; HtmlWindow</autodoc>
28365 </constructor>
28366 <method name="Create" type="bool" overloaded="no">
28367 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
28368 Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO,
28369 String name=HtmlWindowNameStr) -&gt; bool</autodoc>
28370 <paramlist>
28371 <param name="parent" type="Window" default=""/>
28372 <param name="id" type="int" default="-1"/>
28373 <param name="pos" type="Point" default="wxDefaultPosition"/>
28374 <param name="size" type="Size" default="wxDefaultSize"/>
28375 <param name="style" type="int" default="wxHW_SCROLLBAR_AUTO"/>
28376 <param name="name" type="String" default="wxPyHtmlWindowNameStr"/>
28377 </paramlist>
28378 </method>
28379 <method name="_setCallbackInfo" type="" overloaded="no">
28380 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
28381 <paramlist>
28382 <param name="self" type="PyObject" default=""/>
28383 <param name="_class" type="PyObject" default=""/>
28384 </paramlist>
28385 </method>
28386 <method name="SetPage" type="bool" overloaded="no">
28387 <autodoc>SetPage(self, String source) -&gt; bool</autodoc>
28388 <paramlist>
28389 <param name="source" type="String" default=""/>
28390 </paramlist>
28391 </method>
28392 <method name="LoadPage" type="bool" overloaded="no">
28393 <autodoc>LoadPage(self, String location) -&gt; bool</autodoc>
28394 <paramlist>
28395 <param name="location" type="String" default=""/>
28396 </paramlist>
28397 </method>
28398 <method name="LoadFile" type="bool" overloaded="no">
28399 <autodoc>LoadFile(self, String filename) -&gt; bool</autodoc>
28400 <paramlist>
28401 <param name="filename" type="String" default=""/>
28402 </paramlist>
28403 </method>
28404 <method name="AppendToPage" type="bool" overloaded="no">
28405 <autodoc>AppendToPage(self, String source) -&gt; bool</autodoc>
28406 <paramlist>
28407 <param name="source" type="String" default=""/>
28408 </paramlist>
28409 </method>
28410 <method name="GetOpenedPage" type="String" overloaded="no">
28411 <autodoc>GetOpenedPage(self) -&gt; String</autodoc>
28412 </method>
28413 <method name="GetOpenedAnchor" type="String" overloaded="no">
28414 <autodoc>GetOpenedAnchor(self) -&gt; String</autodoc>
28415 </method>
28416 <method name="GetOpenedPageTitle" type="String" overloaded="no">
28417 <autodoc>GetOpenedPageTitle(self) -&gt; String</autodoc>
28418 </method>
28419 <method name="SetRelatedFrame" type="" overloaded="no">
28420 <autodoc>SetRelatedFrame(self, Frame frame, String format)</autodoc>
28421 <paramlist>
28422 <param name="frame" type="Frame" default=""/>
28423 <param name="format" type="String" default=""/>
28424 </paramlist>
28425 </method>
28426 <method name="GetRelatedFrame" type="Frame" overloaded="no">
28427 <autodoc>GetRelatedFrame(self) -&gt; Frame</autodoc>
28428 </method>
28429 <method name="SetRelatedStatusBar" type="" overloaded="no">
28430 <autodoc>SetRelatedStatusBar(self, int bar)</autodoc>
28431 <paramlist>
28432 <param name="bar" type="int" default=""/>
28433 </paramlist>
28434 </method>
28435 <method name="SetFonts" type="" overloaded="no">
28436 <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
28437 <paramlist>
28438 <param name="normal_face" type="String" default=""/>
28439 <param name="fixed_face" type="String" default=""/>
28440 <param name="sizes" type="PyObject" default="NULL"/>
28441 </paramlist>
28442 </method>
28443 <method name="SetTitle" type="" overloaded="no">
28444 <autodoc>SetTitle(self, String title)</autodoc>
28445 <paramlist>
28446 <param name="title" type="String" default=""/>
28447 </paramlist>
28448 </method>
28449 <method name="SetBorders" type="" overloaded="no">
28450 <autodoc>SetBorders(self, int b)</autodoc>
28451 <paramlist>
28452 <param name="b" type="int" default=""/>
28453 </paramlist>
28454 </method>
28455 <method name="ReadCustomization" type="" overloaded="no">
28456 <autodoc>ReadCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc>
28457 <paramlist>
28458 <param name="cfg" type="ConfigBase" default=""/>
28459 <param name="path" type="String" default="wxPyEmptyString"/>
28460 </paramlist>
28461 </method>
28462 <method name="WriteCustomization" type="" overloaded="no">
28463 <autodoc>WriteCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc>
28464 <paramlist>
28465 <param name="cfg" type="ConfigBase" default=""/>
28466 <param name="path" type="String" default="wxPyEmptyString"/>
28467 </paramlist>
28468 </method>
28469 <method name="HistoryBack" type="bool" overloaded="no">
28470 <autodoc>HistoryBack(self) -&gt; bool</autodoc>
28471 </method>
28472 <method name="HistoryForward" type="bool" overloaded="no">
28473 <autodoc>HistoryForward(self) -&gt; bool</autodoc>
28474 </method>
28475 <method name="HistoryCanBack" type="bool" overloaded="no">
28476 <autodoc>HistoryCanBack(self) -&gt; bool</autodoc>
28477 </method>
28478 <method name="HistoryCanForward" type="bool" overloaded="no">
28479 <autodoc>HistoryCanForward(self) -&gt; bool</autodoc>
28480 </method>
28481 <method name="HistoryClear" type="" overloaded="no">
28482 <autodoc>HistoryClear(self)</autodoc>
28483 </method>
28484 <method name="GetInternalRepresentation" type="HtmlContainerCell" overloaded="no">
28485 <autodoc>GetInternalRepresentation(self) -&gt; HtmlContainerCell</autodoc>
28486 </method>
28487 <method name="GetParser" type="HtmlWinParser" overloaded="no">
28488 <autodoc>GetParser(self) -&gt; HtmlWinParser</autodoc>
28489 </method>
28490 <method name="ScrollToAnchor" type="bool" overloaded="no">
28491 <autodoc>ScrollToAnchor(self, String anchor) -&gt; bool</autodoc>
28492 <paramlist>
28493 <param name="anchor" type="String" default=""/>
28494 </paramlist>
28495 </method>
28496 <method name="HasAnchor" type="bool" overloaded="no">
28497 <autodoc>HasAnchor(self, String anchor) -&gt; bool</autodoc>
28498 <paramlist>
28499 <param name="anchor" type="String" default=""/>
28500 </paramlist>
28501 </method>
28502 <staticmethod name="AddFilter" type="" overloaded="no">
28503 <autodoc>AddFilter(HtmlFilter filter)</autodoc>
28504 <paramlist>
28505 <param name="filter" type="HtmlFilter" default=""/>
28506 </paramlist>
28507 </staticmethod>
28508 <method name="SelectWord" type="" overloaded="no">
28509 <autodoc>SelectWord(self, Point pos)</autodoc>
28510 <paramlist>
28511 <param name="pos" type="Point" default=""/>
28512 </paramlist>
28513 </method>
28514 <method name="SelectLine" type="" overloaded="no">
28515 <autodoc>SelectLine(self, Point pos)</autodoc>
28516 <paramlist>
28517 <param name="pos" type="Point" default=""/>
28518 </paramlist>
28519 </method>
28520 <method name="SelectAll" type="" overloaded="no">
28521 <autodoc>SelectAll(self)</autodoc>
28522 </method>
28523 <method name="base_OnLinkClicked" type="" overloaded="no">
28524 <autodoc>base_OnLinkClicked(self, HtmlLinkInfo link)</autodoc>
28525 <paramlist>
28526 <param name="link" type="HtmlLinkInfo" default=""/>
28527 </paramlist>
28528 </method>
28529 <method name="base_OnSetTitle" type="" overloaded="no">
28530 <autodoc>base_OnSetTitle(self, String title)</autodoc>
28531 <paramlist>
28532 <param name="title" type="String" default=""/>
28533 </paramlist>
28534 </method>
28535 <method name="base_OnCellMouseHover" type="" overloaded="no">
28536 <autodoc>base_OnCellMouseHover(self, HtmlCell cell, int x, int y)</autodoc>
28537 <paramlist>
28538 <param name="cell" type="HtmlCell" default=""/>
28539 <param name="x" type="int" default=""/>
28540 <param name="y" type="int" default=""/>
28541 </paramlist>
28542 </method>
28543 <method name="base_OnCellClicked" type="" overloaded="no">
28544 <autodoc>base_OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event)</autodoc>
28545 <paramlist>
28546 <param name="cell" type="HtmlCell" default=""/>
28547 <param name="x" type="int" default=""/>
28548 <param name="y" type="int" default=""/>
28549 <param name="event" type="MouseEvent" default=""/>
28550 </paramlist>
28551 </method>
28552 <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
28553 <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
28554 <docstring>Get the default attributes for this class. This is useful if you want
28555 to use the same font or colour in your own control as in a standard
28556 control -- which is a much better idea than hard coding specific
28557 colours or fonts which might look completely out of place on the
28558 user's system, especially if it uses themes.
28559
28560 The variant parameter is only relevant under Mac currently and is
28561 ignore under other platforms. Under Mac, it will change the size of
28562 the returned font. See `wx.Window.SetWindowVariant` for more about
28563 this.</docstring>
28564 <paramlist>
28565 <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
28566 </paramlist>
28567 </staticmethod>
28568 </class>
28569 <pythoncode>
28570 #---------------------------------------------------------------------------
28571 </pythoncode>
28572 <class name="HtmlDCRenderer" oldname="wxHtmlDCRenderer" module="html">
28573 <baseclass name="Object"/>
28574 <constructor name="HtmlDCRenderer" overloaded="no">
28575 <autodoc>__init__(self) -&gt; HtmlDCRenderer</autodoc>
28576 </constructor>
28577 <destructor name="~wxHtmlDCRenderer" overloaded="no">
28578 <autodoc>__del__(self)</autodoc>
28579 </destructor>
28580 <method name="SetDC" type="" overloaded="no">
28581 <autodoc>SetDC(self, DC dc, int maxwidth)</autodoc>
28582 <paramlist>
28583 <param name="dc" type="DC" default=""/>
28584 <param name="maxwidth" type="int" default=""/>
28585 </paramlist>
28586 </method>
28587 <method name="SetSize" type="" overloaded="no">
28588 <autodoc>SetSize(self, int width, int height)</autodoc>
28589 <paramlist>
28590 <param name="width" type="int" default=""/>
28591 <param name="height" type="int" default=""/>
28592 </paramlist>
28593 </method>
28594 <method name="SetHtmlText" type="" overloaded="no">
28595 <autodoc>SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)</autodoc>
28596 <paramlist>
28597 <param name="html" type="String" default=""/>
28598 <param name="basepath" type="String" default="wxPyEmptyString"/>
28599 <param name="isdir" type="bool" default="True"/>
28600 </paramlist>
28601 </method>
28602 <method name="SetFonts" type="" overloaded="no">
28603 <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
28604 <paramlist>
28605 <param name="normal_face" type="String" default=""/>
28606 <param name="fixed_face" type="String" default=""/>
28607 <param name="sizes" type="PyObject" default="NULL"/>
28608 </paramlist>
28609 </method>
28610 <method name="Render" type="int" overloaded="no">
28611 <autodoc>Render(self, int x, int y, int from=0, int dont_render=False, int to=INT_MAX,
28612 int choices=None, int LCOUNT=0) -&gt; int</autodoc>
28613 <paramlist>
28614 <param name="x" type="int" default=""/>
28615 <param name="y" type="int" default=""/>
28616 <param name="from" type="int" default="0"/>
28617 <param name="dont_render" type="int" default="False"/>
28618 <param name="to" type="int" default="INT_MAX"/>
28619 <param name="choices" type="int" default="NULL"/>
28620 <param name="LCOUNT" type="int" default="0"/>
28621 </paramlist>
28622 </method>
28623 <method name="GetTotalHeight" type="int" overloaded="no">
28624 <autodoc>GetTotalHeight(self) -&gt; int</autodoc>
28625 </method>
28626 </class>
28627 <class name="HtmlPrintout" oldname="wxHtmlPrintout" module="html">
28628 <baseclass name="Printout"/>
28629 <constructor name="HtmlPrintout" overloaded="no">
28630 <autodoc>__init__(self, String title=HtmlPrintoutTitleStr) -&gt; HtmlPrintout</autodoc>
28631 <paramlist>
28632 <param name="title" type="String" default="wxPyHtmlPrintoutTitleStr"/>
28633 </paramlist>
28634 </constructor>
28635 <method name="SetHtmlText" type="" overloaded="no">
28636 <autodoc>SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)</autodoc>
28637 <paramlist>
28638 <param name="html" type="String" default=""/>
28639 <param name="basepath" type="String" default="wxPyEmptyString"/>
28640 <param name="isdir" type="bool" default="True"/>
28641 </paramlist>
28642 </method>
28643 <method name="SetHtmlFile" type="" overloaded="no">
28644 <autodoc>SetHtmlFile(self, String htmlfile)</autodoc>
28645 <paramlist>
28646 <param name="htmlfile" type="String" default=""/>
28647 </paramlist>
28648 </method>
28649 <method name="SetHeader" type="" overloaded="no">
28650 <autodoc>SetHeader(self, String header, int pg=PAGE_ALL)</autodoc>
28651 <paramlist>
28652 <param name="header" type="String" default=""/>
28653 <param name="pg" type="int" default="wxPAGE_ALL"/>
28654 </paramlist>
28655 </method>
28656 <method name="SetFooter" type="" overloaded="no">
28657 <autodoc>SetFooter(self, String footer, int pg=PAGE_ALL)</autodoc>
28658 <paramlist>
28659 <param name="footer" type="String" default=""/>
28660 <param name="pg" type="int" default="wxPAGE_ALL"/>
28661 </paramlist>
28662 </method>
28663 <method name="SetFonts" type="" overloaded="no">
28664 <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
28665 <paramlist>
28666 <param name="normal_face" type="String" default=""/>
28667 <param name="fixed_face" type="String" default=""/>
28668 <param name="sizes" type="PyObject" default="NULL"/>
28669 </paramlist>
28670 </method>
28671 <method name="SetMargins" type="" overloaded="no">
28672 <autodoc>SetMargins(self, float top=25.2, float bottom=25.2, float left=25.2,
28673 float right=25.2, float spaces=5)</autodoc>
28674 <paramlist>
28675 <param name="top" type="float" default="25.2"/>
28676 <param name="bottom" type="float" default="25.2"/>
28677 <param name="left" type="float" default="25.2"/>
28678 <param name="right" type="float" default="25.2"/>
28679 <param name="spaces" type="float" default="5"/>
28680 </paramlist>
28681 </method>
28682 <staticmethod name="AddFilter" type="" overloaded="no">
28683 <autodoc>AddFilter(wxHtmlFilter filter)</autodoc>
28684 <paramlist>
28685 <param name="filter" type="wxHtmlFilter" default=""/>
28686 </paramlist>
28687 </staticmethod>
28688 <staticmethod name="CleanUpStatics" type="" overloaded="no">
28689 <autodoc>CleanUpStatics()</autodoc>
28690 </staticmethod>
28691 </class>
28692 <class name="HtmlEasyPrinting" oldname="wxHtmlEasyPrinting" module="html">
28693 <baseclass name="Object"/>
28694 <constructor name="HtmlEasyPrinting" overloaded="no">
28695 <autodoc>__init__(self, String name=HtmlPrintingTitleStr, Window parentWindow=None) -&gt; HtmlEasyPrinting</autodoc>
28696 <paramlist>
28697 <param name="name" type="String" default="wxPyHtmlPrintingTitleStr"/>
28698 <param name="parentWindow" type="Window" default="NULL"/>
28699 </paramlist>
28700 </constructor>
28701 <destructor name="~wxHtmlEasyPrinting" overloaded="no">
28702 <autodoc>__del__(self)</autodoc>
28703 </destructor>
28704 <method name="PreviewFile" type="" overloaded="no">
28705 <autodoc>PreviewFile(self, String htmlfile)</autodoc>
28706 <paramlist>
28707 <param name="htmlfile" type="String" default=""/>
28708 </paramlist>
28709 </method>
28710 <method name="PreviewText" type="" overloaded="no">
28711 <autodoc>PreviewText(self, String htmltext, String basepath=EmptyString)</autodoc>
28712 <paramlist>
28713 <param name="htmltext" type="String" default=""/>
28714 <param name="basepath" type="String" default="wxPyEmptyString"/>
28715 </paramlist>
28716 </method>
28717 <method name="PrintFile" type="" overloaded="no">
28718 <autodoc>PrintFile(self, String htmlfile)</autodoc>
28719 <paramlist>
28720 <param name="htmlfile" type="String" default=""/>
28721 </paramlist>
28722 </method>
28723 <method name="PrintText" type="" overloaded="no">
28724 <autodoc>PrintText(self, String htmltext, String basepath=EmptyString)</autodoc>
28725 <paramlist>
28726 <param name="htmltext" type="String" default=""/>
28727 <param name="basepath" type="String" default="wxPyEmptyString"/>
28728 </paramlist>
28729 </method>
28730 <method name="PrinterSetup" type="" overloaded="no">
28731 <autodoc>PrinterSetup(self)</autodoc>
28732 </method>
28733 <method name="PageSetup" type="" overloaded="no">
28734 <autodoc>PageSetup(self)</autodoc>
28735 </method>
28736 <method name="SetHeader" type="" overloaded="no">
28737 <autodoc>SetHeader(self, String header, int pg=PAGE_ALL)</autodoc>
28738 <paramlist>
28739 <param name="header" type="String" default=""/>
28740 <param name="pg" type="int" default="wxPAGE_ALL"/>
28741 </paramlist>
28742 </method>
28743 <method name="SetFooter" type="" overloaded="no">
28744 <autodoc>SetFooter(self, String footer, int pg=PAGE_ALL)</autodoc>
28745 <paramlist>
28746 <param name="footer" type="String" default=""/>
28747 <param name="pg" type="int" default="wxPAGE_ALL"/>
28748 </paramlist>
28749 </method>
28750 <method name="SetFonts" type="" overloaded="no">
28751 <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
28752 <paramlist>
28753 <param name="normal_face" type="String" default=""/>
28754 <param name="fixed_face" type="String" default=""/>
28755 <param name="sizes" type="PyObject" default="NULL"/>
28756 </paramlist>
28757 </method>
28758 <method name="GetPrintData" type="PrintData" overloaded="no">
28759 <autodoc>GetPrintData(self) -&gt; PrintData</autodoc>
28760 </method>
28761 <method name="GetPageSetupData" type="PageSetupDialogData" overloaded="no">
28762 <autodoc>GetPageSetupData(self) -&gt; PageSetupDialogData</autodoc>
28763 </method>
28764 </class>
28765 <pythoncode>
28766 #---------------------------------------------------------------------------
28767 </pythoncode>
28768 <class name="HtmlBookRecord" oldname="wxHtmlBookRecord" module="html">
28769 <constructor name="HtmlBookRecord" overloaded="no">
28770 <autodoc>__init__(self, String bookfile, String basepath, String title, String start) -&gt; HtmlBookRecord</autodoc>
28771 <paramlist>
28772 <param name="bookfile" type="String" default=""/>
28773 <param name="basepath" type="String" default=""/>
28774 <param name="title" type="String" default=""/>
28775 <param name="start" type="String" default=""/>
28776 </paramlist>
28777 </constructor>
28778 <method name="GetBookFile" type="String" overloaded="no">
28779 <autodoc>GetBookFile(self) -&gt; String</autodoc>
28780 </method>
28781 <method name="GetTitle" type="String" overloaded="no">
28782 <autodoc>GetTitle(self) -&gt; String</autodoc>
28783 </method>
28784 <method name="GetStart" type="String" overloaded="no">
28785 <autodoc>GetStart(self) -&gt; String</autodoc>
28786 </method>
28787 <method name="GetBasePath" type="String" overloaded="no">
28788 <autodoc>GetBasePath(self) -&gt; String</autodoc>
28789 </method>
28790 <method name="SetContentsRange" type="" overloaded="no">
28791 <autodoc>SetContentsRange(self, int start, int end)</autodoc>
28792 <paramlist>
28793 <param name="start" type="int" default=""/>
28794 <param name="end" type="int" default=""/>
28795 </paramlist>
28796 </method>
28797 <method name="GetContentsStart" type="int" overloaded="no">
28798 <autodoc>GetContentsStart(self) -&gt; int</autodoc>
28799 </method>
28800 <method name="GetContentsEnd" type="int" overloaded="no">
28801 <autodoc>GetContentsEnd(self) -&gt; int</autodoc>
28802 </method>
28803 <method name="SetTitle" type="" overloaded="no">
28804 <autodoc>SetTitle(self, String title)</autodoc>
28805 <paramlist>
28806 <param name="title" type="String" default=""/>
28807 </paramlist>
28808 </method>
28809 <method name="SetBasePath" type="" overloaded="no">
28810 <autodoc>SetBasePath(self, String path)</autodoc>
28811 <paramlist>
28812 <param name="path" type="String" default=""/>
28813 </paramlist>
28814 </method>
28815 <method name="SetStart" type="" overloaded="no">
28816 <autodoc>SetStart(self, String start)</autodoc>
28817 <paramlist>
28818 <param name="start" type="String" default=""/>
28819 </paramlist>
28820 </method>
28821 <method name="GetFullPath" type="String" overloaded="no">
28822 <autodoc>GetFullPath(self, String page) -&gt; String</autodoc>
28823 <paramlist>
28824 <param name="page" type="String" default=""/>
28825 </paramlist>
28826 </method>
28827 </class>
28828 <class name="HtmlContentsItem" oldname="wxHtmlContentsItem" module="html">
28829 <method name="GetLevel" type="int" overloaded="no">
28830 <autodoc>GetLevel(self) -&gt; int</autodoc>
28831 </method>
28832 <method name="GetID" type="int" overloaded="no">
28833 <autodoc>GetID(self) -&gt; int</autodoc>
28834 </method>
28835 <method name="GetName" type="String" overloaded="no">
28836 <autodoc>GetName(self) -&gt; String</autodoc>
28837 </method>
28838 <method name="GetPage" type="String" overloaded="no">
28839 <autodoc>GetPage(self) -&gt; String</autodoc>
28840 </method>
28841 <method name="GetBook" type="HtmlBookRecord" overloaded="no">
28842 <autodoc>GetBook(self) -&gt; HtmlBookRecord</autodoc>
28843 </method>
28844 </class>
28845 <class name="HtmlSearchStatus" oldname="wxHtmlSearchStatus" module="html">
28846 <method name="Search" type="bool" overloaded="no">
28847 <autodoc>Search(self) -&gt; bool</autodoc>
28848 </method>
28849 <method name="IsActive" type="bool" overloaded="no">
28850 <autodoc>IsActive(self) -&gt; bool</autodoc>
28851 </method>
28852 <method name="GetCurIndex" type="int" overloaded="no">
28853 <autodoc>GetCurIndex(self) -&gt; int</autodoc>
28854 </method>
28855 <method name="GetMaxIndex" type="int" overloaded="no">
28856 <autodoc>GetMaxIndex(self) -&gt; int</autodoc>
28857 </method>
28858 <method name="GetName" type="String" overloaded="no">
28859 <autodoc>GetName(self) -&gt; String</autodoc>
28860 </method>
28861 <method name="GetContentsItem" type="HtmlContentsItem" overloaded="no">
28862 <autodoc>GetContentsItem(self) -&gt; HtmlContentsItem</autodoc>
28863 </method>
28864 </class>
28865 <class name="HtmlHelpData" oldname="wxHtmlHelpData" module="html">
28866 <constructor name="HtmlHelpData" overloaded="no">
28867 <autodoc>__init__(self) -&gt; HtmlHelpData</autodoc>
28868 </constructor>
28869 <destructor name="~wxHtmlHelpData" overloaded="no">
28870 <autodoc>__del__(self)</autodoc>
28871 </destructor>
28872 <method name="SetTempDir" type="" overloaded="no">
28873 <autodoc>SetTempDir(self, String path)</autodoc>
28874 <paramlist>
28875 <param name="path" type="String" default=""/>
28876 </paramlist>
28877 </method>
28878 <method name="AddBook" type="bool" overloaded="no">
28879 <autodoc>AddBook(self, String book) -&gt; bool</autodoc>
28880 <paramlist>
28881 <param name="book" type="String" default=""/>
28882 </paramlist>
28883 </method>
28884 <method name="FindPageByName" type="String" overloaded="no">
28885 <autodoc>FindPageByName(self, String page) -&gt; String</autodoc>
28886 <paramlist>
28887 <param name="page" type="String" default=""/>
28888 </paramlist>
28889 </method>
28890 <method name="FindPageById" type="String" overloaded="no">
28891 <autodoc>FindPageById(self, int id) -&gt; String</autodoc>
28892 <paramlist>
28893 <param name="id" type="int" default=""/>
28894 </paramlist>
28895 </method>
28896 <method name="GetBookRecArray" type="wxHtmlBookRecArray" overloaded="no">
28897 <autodoc>GetBookRecArray(self) -&gt; wxHtmlBookRecArray</autodoc>
28898 </method>
28899 <method name="GetContents" type="HtmlContentsItem" overloaded="no">
28900 <autodoc>GetContents(self) -&gt; HtmlContentsItem</autodoc>
28901 </method>
28902 <method name="GetContentsCnt" type="int" overloaded="no">
28903 <autodoc>GetContentsCnt(self) -&gt; int</autodoc>
28904 </method>
28905 <method name="GetIndex" type="HtmlContentsItem" overloaded="no">
28906 <autodoc>GetIndex(self) -&gt; HtmlContentsItem</autodoc>
28907 </method>
28908 <method name="GetIndexCnt" type="int" overloaded="no">
28909 <autodoc>GetIndexCnt(self) -&gt; int</autodoc>
28910 </method>
28911 </class>
28912 <class name="HtmlHelpFrame" oldname="wxHtmlHelpFrame" module="html">
28913 <baseclass name="Frame"/>
28914 <constructor name="HtmlHelpFrame" overloaded="no">
28915 <autodoc>__init__(self, Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE,
28916 HtmlHelpData data=None) -&gt; HtmlHelpFrame</autodoc>
28917 <paramlist>
28918 <param name="parent" type="Window" default=""/>
28919 <param name="" type="int" default=""/>
28920 <param name="title" type="String" default="wxPyEmptyString"/>
28921 <param name="style" type="int" default="wxHF_DEFAULTSTYLE"/>
28922 <param name="data" type="HtmlHelpData" default="NULL"/>
28923 </paramlist>
28924 </constructor>
28925 <method name="GetData" type="HtmlHelpData" overloaded="no">
28926 <autodoc>GetData(self) -&gt; HtmlHelpData</autodoc>
28927 </method>
28928 <method name="SetTitleFormat" type="" overloaded="no">
28929 <autodoc>SetTitleFormat(self, String format)</autodoc>
28930 <paramlist>
28931 <param name="format" type="String" default=""/>
28932 </paramlist>
28933 </method>
28934 <method name="Display" type="" overloaded="no">
28935 <autodoc>Display(self, String x)</autodoc>
28936 <paramlist>
28937 <param name="x" type="String" default=""/>
28938 </paramlist>
28939 </method>
28940 <method name="DisplayID" type="" overloaded="no">
28941 <autodoc>DisplayID(self, int id)</autodoc>
28942 <paramlist>
28943 <param name="id" type="int" default=""/>
28944 </paramlist>
28945 </method>
28946 <method name="DisplayContents" type="" overloaded="no">
28947 <autodoc>DisplayContents(self)</autodoc>
28948 </method>
28949 <method name="DisplayIndex" type="" overloaded="no">
28950 <autodoc>DisplayIndex(self)</autodoc>
28951 </method>
28952 <method name="KeywordSearch" type="bool" overloaded="no">
28953 <autodoc>KeywordSearch(self, String keyword) -&gt; bool</autodoc>
28954 <paramlist>
28955 <param name="keyword" type="String" default=""/>
28956 </paramlist>
28957 </method>
28958 <method name="UseConfig" type="" overloaded="no">
28959 <autodoc>UseConfig(self, ConfigBase config, String rootpath=EmptyString)</autodoc>
28960 <paramlist>
28961 <param name="config" type="ConfigBase" default=""/>
28962 <param name="rootpath" type="String" default="wxPyEmptyString"/>
28963 </paramlist>
28964 </method>
28965 <method name="ReadCustomization" type="" overloaded="no">
28966 <autodoc>ReadCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc>
28967 <paramlist>
28968 <param name="cfg" type="ConfigBase" default=""/>
28969 <param name="path" type="String" default="wxPyEmptyString"/>
28970 </paramlist>
28971 </method>
28972 <method name="WriteCustomization" type="" overloaded="no">
28973 <autodoc>WriteCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc>
28974 <paramlist>
28975 <param name="cfg" type="ConfigBase" default=""/>
28976 <param name="path" type="String" default="wxPyEmptyString"/>
28977 </paramlist>
28978 </method>
28979 </class>
28980 <class name="HtmlHelpController" oldname="wxHtmlHelpController" module="html">
28981 <baseclass name="EvtHandler"/>
28982 <constructor name="HtmlHelpController" overloaded="no">
28983 <autodoc>__init__(self, int style=HF_DEFAULTSTYLE) -&gt; HtmlHelpController</autodoc>
28984 <paramlist>
28985 <param name="style" type="int" default="wxHF_DEFAULTSTYLE"/>
28986 </paramlist>
28987 </constructor>
28988 <destructor name="~wxHtmlHelpController" overloaded="no">
28989 <autodoc>__del__(self)</autodoc>
28990 </destructor>
28991 <method name="SetTitleFormat" type="" overloaded="no">
28992 <autodoc>SetTitleFormat(self, String format)</autodoc>
28993 <paramlist>
28994 <param name="format" type="String" default=""/>
28995 </paramlist>
28996 </method>
28997 <method name="SetTempDir" type="" overloaded="no">
28998 <autodoc>SetTempDir(self, String path)</autodoc>
28999 <paramlist>
29000 <param name="path" type="String" default=""/>
29001 </paramlist>
29002 </method>
29003 <method name="AddBook" type="bool" overloaded="no">
29004 <autodoc>AddBook(self, String book, int show_wait_msg=False) -&gt; bool</autodoc>
29005 <paramlist>
29006 <param name="book" type="String" default=""/>
29007 <param name="show_wait_msg" type="int" default="False"/>
29008 </paramlist>
29009 </method>
29010 <method name="Display" type="" overloaded="no">
29011 <autodoc>Display(self, String x)</autodoc>
29012 <paramlist>
29013 <param name="x" type="String" default=""/>
29014 </paramlist>
29015 </method>
29016 <method name="DisplayID" type="" overloaded="no">
29017 <autodoc>DisplayID(self, int id)</autodoc>
29018 <paramlist>
29019 <param name="id" type="int" default=""/>
29020 </paramlist>
29021 </method>
29022 <method name="DisplayContents" type="" overloaded="no">
29023 <autodoc>DisplayContents(self)</autodoc>
29024 </method>
29025 <method name="DisplayIndex" type="" overloaded="no">
29026 <autodoc>DisplayIndex(self)</autodoc>
29027 </method>
29028 <method name="KeywordSearch" type="bool" overloaded="no">
29029 <autodoc>KeywordSearch(self, String keyword) -&gt; bool</autodoc>
29030 <paramlist>
29031 <param name="keyword" type="String" default=""/>
29032 </paramlist>
29033 </method>
29034 <method name="UseConfig" type="" overloaded="no">
29035 <autodoc>UseConfig(self, ConfigBase config, String rootpath=EmptyString)</autodoc>
29036 <paramlist>
29037 <param name="config" type="ConfigBase" default=""/>
29038 <param name="rootpath" type="String" default="wxPyEmptyString"/>
29039 </paramlist>
29040 </method>
29041 <method name="ReadCustomization" type="" overloaded="no">
29042 <autodoc>ReadCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc>
29043 <paramlist>
29044 <param name="cfg" type="ConfigBase" default=""/>
29045 <param name="path" type="String" default="wxPyEmptyString"/>
29046 </paramlist>
29047 </method>
29048 <method name="WriteCustomization" type="" overloaded="no">
29049 <autodoc>WriteCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc>
29050 <paramlist>
29051 <param name="cfg" type="ConfigBase" default=""/>
29052 <param name="path" type="String" default="wxPyEmptyString"/>
29053 </paramlist>
29054 </method>
29055 <method name="GetFrame" type="HtmlHelpFrame" overloaded="no">
29056 <autodoc>GetFrame(self) -&gt; HtmlHelpFrame</autodoc>
29057 </method>
29058 </class>
29059 </module>
29060 <module name="wizard">
29061 <import name="_windows"/>
29062 <pythoncode> wx = _core </pythoncode>
29063 <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
29064 <pythoncode>
29065 EVT_WIZARD_PAGE_CHANGED = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGED, 1)
29066 EVT_WIZARD_PAGE_CHANGING = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGING, 1)
29067 EVT_WIZARD_CANCEL = wx.PyEventBinder( wxEVT_WIZARD_CANCEL, 1)
29068 EVT_WIZARD_HELP = wx.PyEventBinder( wxEVT_WIZARD_HELP, 1)
29069 EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
29070 </pythoncode>
29071 <class name="WizardEvent" oldname="wxWizardEvent" module="wizard">
29072 <baseclass name="NotifyEvent"/>
29073 <constructor name="WizardEvent" overloaded="no">
29074 <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int id=-1, bool direction=True,
29075 WizardPage page=None) -&gt; WizardEvent</autodoc>
29076 <paramlist>
29077 <param name="type" type="wxEventType" default="wxEVT_NULL"/>
29078 <param name="id" type="int" default="-1"/>
29079 <param name="direction" type="bool" default="True"/>
29080 <param name="page" type="wxWizardPage" default="NULL"/>
29081 </paramlist>
29082 </constructor>
29083 <method name="GetDirection" type="bool" overloaded="no">
29084 <autodoc>GetDirection(self) -&gt; bool</autodoc>
29085 </method>
29086 <method name="GetPage" type="wxWizardPage" overloaded="no">
29087 <autodoc>GetPage(self) -&gt; WizardPage</autodoc>
29088 </method>
29089 </class>
29090 <class name="WizardPage" oldname="wxWizardPage" module="wizard">
29091 <baseclass name="Panel"/>
29092 <method name="Create" type="bool" overloaded="no">
29093 <autodoc>Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -&gt; bool</autodoc>
29094 <paramlist>
29095 <param name="parent" type="wxWizard" default=""/>
29096 <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
29097 <param name="resource" type="String" default="wxPyEmptyString"/>
29098 </paramlist>
29099 </method>
29100 <method name="GetPrev" type="WizardPage" overloaded="no">
29101 <autodoc>GetPrev(self) -&gt; WizardPage</autodoc>
29102 </method>
29103 <method name="GetNext" type="WizardPage" overloaded="no">
29104 <autodoc>GetNext(self) -&gt; WizardPage</autodoc>
29105 </method>
29106 <method name="GetBitmap" type="Bitmap" overloaded="no">
29107 <autodoc>GetBitmap(self) -&gt; Bitmap</autodoc>
29108 </method>
29109 </class>
29110 <class name="PyWizardPage" oldname="wxPyWizardPage" module="wizard">
29111 <baseclass name="WizardPage"/>
29112 <constructor name="PyWizardPage" overloaded="no">
29113 <autodoc>__init__(self, Wizard parent, Bitmap bitmap=&amp;wxNullBitmap, String resource=&amp;wxPyEmptyString) -&gt; PyWizardPage</autodoc>
29114 <paramlist>
29115 <param name="parent" type="wxWizard" default=""/>
29116 <param name="bitmap" type="Bitmap" default="&amp;wxNullBitmap"/>
29117 <param name="resource" type="String" default="&amp;wxPyEmptyString"/>
29118 </paramlist>
29119 </constructor>
29120 <constructor name="PrePyWizardPage" overloaded="no">
29121 <autodoc>PrePyWizardPage() -&gt; PyWizardPage</autodoc>
29122 </constructor>
29123 <method name="Create" type="bool" overloaded="no">
29124 <autodoc>Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -&gt; bool</autodoc>
29125 <paramlist>
29126 <param name="parent" type="wxWizard" default=""/>
29127 <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
29128 <param name="resource" type="String" default="wxPyEmptyString"/>
29129 </paramlist>
29130 </method>
29131 <method name="_setCallbackInfo" type="" overloaded="no">
29132 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
29133 <paramlist>
29134 <param name="self" type="PyObject" default=""/>
29135 <param name="_class" type="PyObject" default=""/>
29136 </paramlist>
29137 </method>
29138 <method name="base_DoMoveWindow" type="" overloaded="no">
29139 <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc>
29140 <paramlist>
29141 <param name="x" type="int" default=""/>
29142 <param name="y" type="int" default=""/>
29143 <param name="width" type="int" default=""/>
29144 <param name="height" type="int" default=""/>
29145 </paramlist>
29146 </method>
29147 <method name="base_DoSetSize" type="" overloaded="no">
29148 <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
29149 <paramlist>
29150 <param name="x" type="int" default=""/>
29151 <param name="y" type="int" default=""/>
29152 <param name="width" type="int" default=""/>
29153 <param name="height" type="int" default=""/>
29154 <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
29155 </paramlist>
29156 </method>
29157 <method name="base_DoSetClientSize" type="" overloaded="no">
29158 <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc>
29159 <paramlist>
29160 <param name="width" type="int" default=""/>
29161 <param name="height" type="int" default=""/>
29162 </paramlist>
29163 </method>
29164 <method name="base_DoSetVirtualSize" type="" overloaded="no">
29165 <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc>
29166 <paramlist>
29167 <param name="x" type="int" default=""/>
29168 <param name="y" type="int" default=""/>
29169 </paramlist>
29170 </method>
29171 <method name="base_DoGetSize" type="" overloaded="no">
29172 <autodoc>base_DoGetSize() -&gt; (width, height)</autodoc>
29173 <paramlist>
29174 <param name="OUTPUT" type="int" default=""/>
29175 <param name="OUTPUT" type="int" default=""/>
29176 </paramlist>
29177 </method>
29178 <method name="base_DoGetClientSize" type="" overloaded="no">
29179 <autodoc>base_DoGetClientSize() -&gt; (width, height)</autodoc>
29180 <paramlist>
29181 <param name="OUTPUT" type="int" default=""/>
29182 <param name="OUTPUT" type="int" default=""/>
29183 </paramlist>
29184 </method>
29185 <method name="base_DoGetPosition" type="" overloaded="no">
29186 <autodoc>base_DoGetPosition() -&gt; (x,y)</autodoc>
29187 <paramlist>
29188 <param name="OUTPUT" type="int" default=""/>
29189 <param name="OUTPUT" type="int" default=""/>
29190 </paramlist>
29191 </method>
29192 <method name="base_DoGetVirtualSize" type="Size" overloaded="no">
29193 <autodoc>base_DoGetVirtualSize(self) -&gt; Size</autodoc>
29194 </method>
29195 <method name="base_DoGetBestSize" type="Size" overloaded="no">
29196 <autodoc>base_DoGetBestSize(self) -&gt; Size</autodoc>
29197 </method>
29198 <method name="base_InitDialog" type="" overloaded="no">
29199 <autodoc>base_InitDialog(self)</autodoc>
29200 </method>
29201 <method name="base_TransferDataToWindow" type="bool" overloaded="no">
29202 <autodoc>base_TransferDataToWindow(self) -&gt; bool</autodoc>
29203 </method>
29204 <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
29205 <autodoc>base_TransferDataFromWindow(self) -&gt; bool</autodoc>
29206 </method>
29207 <method name="base_Validate" type="bool" overloaded="no">
29208 <autodoc>base_Validate(self) -&gt; bool</autodoc>
29209 </method>
29210 <method name="base_AcceptsFocus" type="bool" overloaded="no">
29211 <autodoc>base_AcceptsFocus(self) -&gt; bool</autodoc>
29212 </method>
29213 <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
29214 <autodoc>base_AcceptsFocusFromKeyboard(self) -&gt; bool</autodoc>
29215 </method>
29216 <method name="base_GetMaxSize" type="Size" overloaded="no">
29217 <autodoc>base_GetMaxSize(self) -&gt; Size</autodoc>
29218 </method>
29219 <method name="base_AddChild" type="" overloaded="no">
29220 <autodoc>base_AddChild(self, Window child)</autodoc>
29221 <paramlist>
29222 <param name="child" type="Window" default=""/>
29223 </paramlist>
29224 </method>
29225 <method name="base_RemoveChild" type="" overloaded="no">
29226 <autodoc>base_RemoveChild(self, Window child)</autodoc>
29227 <paramlist>
29228 <param name="child" type="Window" default=""/>
29229 </paramlist>
29230 </method>
29231 </class>
29232 <class name="WizardPageSimple" oldname="wxWizardPageSimple" module="wizard">
29233 <baseclass name="WizardPage"/>
29234 <constructor name="WizardPageSimple" overloaded="no">
29235 <autodoc>__init__(self, Wizard parent, WizardPage prev=None, WizardPage next=None,
29236 Bitmap bitmap=wxNullBitmap, wxChar resource=None) -&gt; WizardPageSimple</autodoc>
29237 <paramlist>
29238 <param name="parent" type="wxWizard" default=""/>
29239 <param name="prev" type="WizardPage" default="NULL"/>
29240 <param name="next" type="WizardPage" default="NULL"/>
29241 <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
29242 <param name="resource" type="wxChar" default="NULL"/>
29243 </paramlist>
29244 </constructor>
29245 <constructor name="PreWizardPageSimple" overloaded="no">
29246 <autodoc>PreWizardPageSimple() -&gt; WizardPageSimple</autodoc>
29247 </constructor>
29248 <method name="Create" type="bool" overloaded="no">
29249 <autodoc>Create(self, Wizard parent=None, WizardPage prev=None, WizardPage next=None,
29250 Bitmap bitmap=wxNullBitmap, wxChar resource=None) -&gt; bool</autodoc>
29251 <paramlist>
29252 <param name="parent" type="wxWizard" default="NULL"/>
29253 <param name="prev" type="WizardPage" default="NULL"/>
29254 <param name="next" type="WizardPage" default="NULL"/>
29255 <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
29256 <param name="resource" type="wxChar" default="NULL"/>
29257 </paramlist>
29258 </method>
29259 <method name="SetPrev" type="" overloaded="no">
29260 <autodoc>SetPrev(self, WizardPage prev)</autodoc>
29261 <paramlist>
29262 <param name="prev" type="WizardPage" default=""/>
29263 </paramlist>
29264 </method>
29265 <method name="SetNext" type="" overloaded="no">
29266 <autodoc>SetNext(self, WizardPage next)</autodoc>
29267 <paramlist>
29268 <param name="next" type="WizardPage" default=""/>
29269 </paramlist>
29270 </method>
29271 <staticmethod name="Chain" type="" overloaded="no">
29272 <autodoc>Chain(WizardPageSimple first, WizardPageSimple second)</autodoc>
29273 <paramlist>
29274 <param name="first" type="WizardPageSimple" default=""/>
29275 <param name="second" type="WizardPageSimple" default=""/>
29276 </paramlist>
29277 </staticmethod>
29278 </class>
29279 <class name="Wizard" oldname="wxWizard" module="wizard">
29280 <baseclass name="Dialog"/>
29281 <constructor name="Wizard" overloaded="no">
29282 <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString,
29283 Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition,
29284 long style=DEFAULT_DIALOG_STYLE) -&gt; Wizard</autodoc>
29285 <paramlist>
29286 <param name="parent" type="Window" default=""/>
29287 <param name="id" type="int" default="-1"/>
29288 <param name="title" type="String" default="wxPyEmptyString"/>
29289 <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
29290 <param name="pos" type="Point" default="wxDefaultPosition"/>
29291 <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/>
29292 </paramlist>
29293 </constructor>
29294 <constructor name="PreWizard" overloaded="no">
29295 <autodoc>PreWizard() -&gt; Wizard</autodoc>
29296 </constructor>
29297 <method name="Create" type="bool" overloaded="no">
29298 <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString,
29299 Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -&gt; bool</autodoc>
29300 <paramlist>
29301 <param name="parent" type="Window" default=""/>
29302 <param name="id" type="int" default="-1"/>
29303 <param name="title" type="String" default="wxPyEmptyString"/>
29304 <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
29305 <param name="pos" type="Point" default="wxDefaultPosition"/>
29306 </paramlist>
29307 </method>
29308 <method name="Init" type="" overloaded="no">
29309 <autodoc>Init(self)</autodoc>
29310 </method>
29311 <method name="RunWizard" type="bool" overloaded="no">
29312 <autodoc>RunWizard(self, WizardPage firstPage) -&gt; bool</autodoc>
29313 <paramlist>
29314 <param name="firstPage" type="WizardPage" default=""/>
29315 </paramlist>
29316 </method>
29317 <method name="GetCurrentPage" type="WizardPage" overloaded="no">
29318 <autodoc>GetCurrentPage(self) -&gt; WizardPage</autodoc>
29319 </method>
29320 <method name="SetPageSize" type="" overloaded="no">
29321 <autodoc>SetPageSize(self, Size size)</autodoc>
29322 <paramlist>
29323 <param name="size" type="Size" default=""/>
29324 </paramlist>
29325 </method>
29326 <method name="GetPageSize" type="Size" overloaded="no">
29327 <autodoc>GetPageSize(self) -&gt; Size</autodoc>
29328 </method>
29329 <method name="FitToPage" type="" overloaded="no">
29330 <autodoc>FitToPage(self, WizardPage firstPage)</autodoc>
29331 <paramlist>
29332 <param name="firstPage" type="WizardPage" default=""/>
29333 </paramlist>
29334 </method>
29335 <method name="GetPageAreaSizer" type="Sizer" overloaded="no">
29336 <autodoc>GetPageAreaSizer(self) -&gt; Sizer</autodoc>
29337 </method>
29338 <method name="SetBorder" type="" overloaded="no">
29339 <autodoc>SetBorder(self, int border)</autodoc>
29340 <paramlist>
29341 <param name="border" type="int" default=""/>
29342 </paramlist>
29343 </method>
29344 <method name="IsRunning" type="bool" overloaded="no">
29345 <autodoc>IsRunning(self) -&gt; bool</autodoc>
29346 </method>
29347 <method name="ShowPage" type="bool" overloaded="no">
29348 <autodoc>ShowPage(self, WizardPage page, bool goingForward=True) -&gt; bool</autodoc>
29349 <paramlist>
29350 <param name="page" type="WizardPage" default=""/>
29351 <param name="goingForward" type="bool" default="True"/>
29352 </paramlist>
29353 </method>
29354 <method name="HasNextPage" type="bool" overloaded="no">
29355 <autodoc>HasNextPage(self, WizardPage page) -&gt; bool</autodoc>
29356 <paramlist>
29357 <param name="page" type="WizardPage" default=""/>
29358 </paramlist>
29359 </method>
29360 <method name="HasPrevPage" type="bool" overloaded="no">
29361 <autodoc>HasPrevPage(self, WizardPage page) -&gt; bool</autodoc>
29362 <paramlist>
29363 <param name="page" type="WizardPage" default=""/>
29364 </paramlist>
29365 </method>
29366 </class>
29367 </module>
29368 <module name="glcanvas">
29369 <import name="_core"/>
29370 <pythoncode> wx = _core </pythoncode>
29371 <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
29372 <class name="GLContext" oldname="wxGLContext" module="glcanvas">
29373 <baseclass name="Object"/>
29374 <constructor name="GLContext" overloaded="no">
29375 <autodoc>__init__(self, bool isRGB, GLCanvas win, wxPalette palette=wxNullPalette,
29376 GLContext other=None) -&gt; GLContext</autodoc>
29377 <paramlist>
29378 <param name="isRGB" type="bool" default=""/>
29379 <param name="win" type="wxGLCanvas" default=""/>
29380 <param name="palette" type="Palette" default="wxNullPalette"/>
29381 <param name="other" type="GLContext" default="NULL"/>
29382 </paramlist>
29383 </constructor>
29384 <destructor name="~wxGLContext" overloaded="no">
29385 <autodoc>__del__(self)</autodoc>
29386 </destructor>
29387 <method name="SetCurrent" type="" overloaded="no">
29388 <autodoc>SetCurrent(self)</autodoc>
29389 </method>
29390 <method name="SetColour" type="" overloaded="no">
29391 <autodoc>SetColour(self, String colour)</autodoc>
29392 <paramlist>
29393 <param name="colour" type="String" default=""/>
29394 </paramlist>
29395 </method>
29396 <method name="SwapBuffers" type="" overloaded="no">
29397 <autodoc>SwapBuffers(self)</autodoc>
29398 </method>
29399 <method name="SetupPixelFormat" type="" overloaded="no">
29400 <autodoc>SetupPixelFormat(self)</autodoc>
29401 </method>
29402 <method name="SetupPalette" type="" overloaded="no">
29403 <autodoc>SetupPalette(self, wxPalette palette)</autodoc>
29404 <paramlist>
29405 <param name="palette" type="Palette" default=""/>
29406 </paramlist>
29407 </method>
29408 <method name="CreateDefaultPalette" type="Palette" overloaded="no">
29409 <autodoc>CreateDefaultPalette(self) -&gt; wxPalette</autodoc>
29410 </method>
29411 <method name="GetPalette" type="Palette" overloaded="no">
29412 <autodoc>GetPalette(self) -&gt; wxPalette</autodoc>
29413 </method>
29414 <method name="GetWindow" type="Window" overloaded="no">
29415 <autodoc>GetWindow(self) -&gt; Window</autodoc>
29416 </method>
29417 </class>
29418 <class name="GLCanvas" oldname="wxGLCanvas" module="glcanvas">
29419 <baseclass name="Window"/>
29420 <constructor name="GLCanvas" overloaded="no">
29421 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
29422 Size size=DefaultSize, long style=0, String name=GLCanvasNameStr,
29423 int attribList=None, wxPalette palette=wxNullPalette) -&gt; GLCanvas</autodoc>
29424 <paramlist>
29425 <param name="parent" type="Window" default=""/>
29426 <param name="id" type="int" default="-1"/>
29427 <param name="pos" type="Point" default="wxDefaultPosition"/>
29428 <param name="size" type="Size" default="wxDefaultSize"/>
29429 <param name="style" type="long" default="0"/>
29430 <param name="name" type="String" default="wxPyGLCanvasNameStr"/>
29431 <param name="attribList" type="int" default="NULL"/>
29432 <param name="palette" type="Palette" default="wxNullPalette"/>
29433 </paramlist>
29434 </constructor>
29435 <constructor name="GLCanvasWithContext" overloaded="no">
29436 <autodoc>GLCanvasWithContext(Window parent, GLContext shared=None, int id=-1, Point pos=DefaultPosition,
29437 Size size=DefaultSize,
29438 long style=0, String name=GLCanvasNameStr,
29439 int attribList=None, wxPalette palette=wxNullPalette) -&gt; GLCanvas</autodoc>
29440 <paramlist>
29441 <param name="parent" type="Window" default=""/>
29442 <param name="shared" type="GLContext" default="NULL"/>
29443 <param name="id" type="int" default="-1"/>
29444 <param name="pos" type="Point" default="wxDefaultPosition"/>
29445 <param name="size" type="Size" default="wxDefaultSize"/>
29446 <param name="style" type="long" default="0"/>
29447 <param name="name" type="String" default="wxPyGLCanvasNameStr"/>
29448 <param name="attribList" type="int" default="NULL"/>
29449 <param name="palette" type="Palette" default="wxNullPalette"/>
29450 </paramlist>
29451 </constructor>
29452 <method name="SetCurrent" type="" overloaded="no">
29453 <autodoc>SetCurrent(self)</autodoc>
29454 </method>
29455 <method name="SetColour" type="" overloaded="no">
29456 <autodoc>SetColour(self, String colour)</autodoc>
29457 <paramlist>
29458 <param name="colour" type="String" default=""/>
29459 </paramlist>
29460 </method>
29461 <method name="SwapBuffers" type="" overloaded="no">
29462 <autodoc>SwapBuffers(self)</autodoc>
29463 </method>
29464 <method name="GetContext" type="GLContext" overloaded="no">
29465 <autodoc>GetContext(self) -&gt; GLContext</autodoc>
29466 </method>
29467 </class>
29468 </module>
29469 <module name="ogl">
29470 <import name="_windows"/>
29471 <pythoncode> wx = _core </pythoncode>
29472 <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
29473 <pythoncode>
29474 import warnings
29475 warnings.warn("This module is deprecated. Please use the wx.lib.ogl package instead.",
29476 DeprecationWarning, stacklevel=2)
29477 </pythoncode>
29478 <pythoncode>
29479 #---------------------------------------------------------------------------
29480 </pythoncode>
29481 <class name="ShapeRegion" oldname="wxShapeRegion" module="ogl">
29482 <baseclass name="Object"/>
29483 <constructor name="ShapeRegion" overloaded="no">
29484 <autodoc>__init__(self) -&gt; ShapeRegion</autodoc>
29485 </constructor>
29486 <method name="SetText" type="" overloaded="no">
29487 <autodoc>SetText(self, String s)</autodoc>
29488 <paramlist>
29489 <param name="s" type="String" default=""/>
29490 </paramlist>
29491 </method>
29492 <method name="SetFont" type="" overloaded="no">
29493 <autodoc>SetFont(self, Font f)</autodoc>
29494 <paramlist>
29495 <param name="f" type="Font" default=""/>
29496 </paramlist>
29497 </method>
29498 <method name="SetMinSize" type="" overloaded="no">
29499 <autodoc>SetMinSize(self, double w, double h)</autodoc>
29500 <paramlist>
29501 <param name="w" type="double" default=""/>
29502 <param name="h" type="double" default=""/>
29503 </paramlist>
29504 </method>
29505 <method name="SetSize" type="" overloaded="no">
29506 <autodoc>SetSize(self, double w, double h)</autodoc>
29507 <paramlist>
29508 <param name="w" type="double" default=""/>
29509 <param name="h" type="double" default=""/>
29510 </paramlist>
29511 </method>
29512 <method name="SetPosition" type="" overloaded="no">
29513 <autodoc>SetPosition(self, double x, double y)</autodoc>
29514 <paramlist>
29515 <param name="x" type="double" default=""/>
29516 <param name="y" type="double" default=""/>
29517 </paramlist>
29518 </method>
29519 <method name="SetProportions" type="" overloaded="no">
29520 <autodoc>SetProportions(self, double x, double y)</autodoc>
29521 <paramlist>
29522 <param name="x" type="double" default=""/>
29523 <param name="y" type="double" default=""/>
29524 </paramlist>
29525 </method>
29526 <method name="SetFormatMode" type="" overloaded="no">
29527 <autodoc>SetFormatMode(self, int mode)</autodoc>
29528 <paramlist>
29529 <param name="mode" type="int" default=""/>
29530 </paramlist>
29531 </method>
29532 <method name="SetName" type="" overloaded="no">
29533 <autodoc>SetName(self, String s)</autodoc>
29534 <paramlist>
29535 <param name="s" type="String" default=""/>
29536 </paramlist>
29537 </method>
29538 <method name="SetColour" type="" overloaded="no">
29539 <autodoc>SetColour(self, String col)</autodoc>
29540 <paramlist>
29541 <param name="col" type="String" default=""/>
29542 </paramlist>
29543 </method>
29544 <method name="GetText" type="String" overloaded="no">
29545 <autodoc>GetText(self) -&gt; String</autodoc>
29546 </method>
29547 <method name="GetFont" type="Font" overloaded="no">
29548 <autodoc>GetFont(self) -&gt; Font</autodoc>
29549 </method>
29550 <method name="GetMinSize" type="" overloaded="no">
29551 <autodoc>GetMinSize(self, double OUTPUT, double OUTPUT)</autodoc>
29552 <paramlist>
29553 <param name="OUTPUT" type="double" default=""/>
29554 <param name="OUTPUT" type="double" default=""/>
29555 </paramlist>
29556 </method>
29557 <method name="GetProportion" type="" overloaded="no">
29558 <autodoc>GetProportion(self, double OUTPUT, double OUTPUT)</autodoc>
29559 <paramlist>
29560 <param name="OUTPUT" type="double" default=""/>
29561 <param name="OUTPUT" type="double" default=""/>
29562 </paramlist>
29563 </method>
29564 <method name="GetSize" type="" overloaded="no">
29565 <autodoc>GetSize(self, double OUTPUT, double OUTPUT)</autodoc>
29566 <paramlist>
29567 <param name="OUTPUT" type="double" default=""/>
29568 <param name="OUTPUT" type="double" default=""/>
29569 </paramlist>
29570 </method>
29571 <method name="GetPosition" type="" overloaded="no">
29572 <autodoc>GetPosition(self, double OUTPUT, double OUTPUT)</autodoc>
29573 <paramlist>
29574 <param name="OUTPUT" type="double" default=""/>
29575 <param name="OUTPUT" type="double" default=""/>
29576 </paramlist>
29577 </method>
29578 <method name="GetFormatMode" type="int" overloaded="no">
29579 <autodoc>GetFormatMode(self) -&gt; int</autodoc>
29580 </method>
29581 <method name="GetName" type="String" overloaded="no">
29582 <autodoc>GetName(self) -&gt; String</autodoc>
29583 </method>
29584 <method name="GetColour" type="String" overloaded="no">
29585 <autodoc>GetColour(self) -&gt; String</autodoc>
29586 </method>
29587 <method name="GetActualColourObject" type="Colour" overloaded="no">
29588 <autodoc>GetActualColourObject(self) -&gt; Colour</autodoc>
29589 </method>
29590 <method name="GetFormattedText" type="wxList" overloaded="no">
29591 <autodoc>GetFormattedText(self) -&gt; wxList</autodoc>
29592 </method>
29593 <method name="GetPenColour" type="String" overloaded="no">
29594 <autodoc>GetPenColour(self) -&gt; String</autodoc>
29595 </method>
29596 <method name="GetPenStyle" type="int" overloaded="no">
29597 <autodoc>GetPenStyle(self) -&gt; int</autodoc>
29598 </method>
29599 <method name="SetPenStyle" type="" overloaded="no">
29600 <autodoc>SetPenStyle(self, int style)</autodoc>
29601 <paramlist>
29602 <param name="style" type="int" default=""/>
29603 </paramlist>
29604 </method>
29605 <method name="SetPenColour" type="" overloaded="no">
29606 <autodoc>SetPenColour(self, String col)</autodoc>
29607 <paramlist>
29608 <param name="col" type="String" default=""/>
29609 </paramlist>
29610 </method>
29611 <method name="GetActualPen" type="Pen" overloaded="no">
29612 <autodoc>GetActualPen(self) -&gt; wxPen</autodoc>
29613 </method>
29614 <method name="GetWidth" type="double" overloaded="no">
29615 <autodoc>GetWidth(self) -&gt; double</autodoc>
29616 </method>
29617 <method name="GetHeight" type="double" overloaded="no">
29618 <autodoc>GetHeight(self) -&gt; double</autodoc>
29619 </method>
29620 <method name="ClearText" type="" overloaded="no">
29621 <autodoc>ClearText(self)</autodoc>
29622 </method>
29623 </class>
29624 <class name="AttachmentPoint" oldname="wxAttachmentPoint" module="ogl">
29625 <baseclass name="Object"/>
29626 <constructor name="AttachmentPoint" overloaded="no">
29627 <autodoc>__init__(self, int id=0, double x=0.0, double y=0.0) -&gt; AttachmentPoint</autodoc>
29628 <paramlist>
29629 <param name="id" type="int" default="0"/>
29630 <param name="x" type="double" default="0.0"/>
29631 <param name="y" type="double" default="0.0"/>
29632 </paramlist>
29633 </constructor>
29634 <property name="m_id" type="int" readonly="no"/>
29635 <property name="m_x" type="double" readonly="no"/>
29636 <property name="m_y" type="double" readonly="no"/>
29637 </class>
29638 <class name="PyShapeEvtHandler" oldname="wxPyShapeEvtHandler" module="ogl">
29639 <baseclass name="Object"/>
29640 <constructor name="PyShapeEvtHandler" overloaded="no">
29641 <autodoc>__init__(self, PyShapeEvtHandler prev=None, PyShape shape=None) -&gt; PyShapeEvtHandler</autodoc>
29642 <paramlist>
29643 <param name="prev" type="PyShapeEvtHandler" default="NULL"/>
29644 <param name="shape" type="wxPyShape" default="NULL"/>
29645 </paramlist>
29646 </constructor>
29647 <method name="_setCallbackInfo" type="" overloaded="no">
29648 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
29649 <paramlist>
29650 <param name="self" type="PyObject" default=""/>
29651 <param name="_class" type="PyObject" default=""/>
29652 </paramlist>
29653 </method>
29654 <method name="_setOORInfo" type="" overloaded="no">
29655 <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
29656 <paramlist>
29657 <param name="_self" type="PyObject" default=""/>
29658 </paramlist>
29659 </method>
29660 <method name="SetShape" type="" overloaded="no">
29661 <autodoc>SetShape(self, PyShape sh)</autodoc>
29662 <paramlist>
29663 <param name="sh" type="wxPyShape" default=""/>
29664 </paramlist>
29665 </method>
29666 <method name="GetShape" type="wxPyShape" overloaded="no">
29667 <autodoc>GetShape(self) -&gt; PyShape</autodoc>
29668 </method>
29669 <method name="SetPreviousHandler" type="" overloaded="no">
29670 <autodoc>SetPreviousHandler(self, PyShapeEvtHandler handler)</autodoc>
29671 <paramlist>
29672 <param name="handler" type="PyShapeEvtHandler" default=""/>
29673 </paramlist>
29674 </method>
29675 <method name="GetPreviousHandler" type="PyShapeEvtHandler" overloaded="no">
29676 <autodoc>GetPreviousHandler(self) -&gt; PyShapeEvtHandler</autodoc>
29677 </method>
29678 <method name="CreateNewCopy" type="PyShapeEvtHandler" overloaded="no">
29679 <autodoc>CreateNewCopy(self) -&gt; PyShapeEvtHandler</autodoc>
29680 </method>
29681 <method name="base_OnDelete" type="" overloaded="no">
29682 <autodoc>base_OnDelete(self)</autodoc>
29683 </method>
29684 <method name="base_OnDraw" type="" overloaded="no">
29685 <autodoc>base_OnDraw(self, DC dc)</autodoc>
29686 <paramlist>
29687 <param name="dc" type="DC" default=""/>
29688 </paramlist>
29689 </method>
29690 <method name="base_OnDrawContents" type="" overloaded="no">
29691 <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
29692 <paramlist>
29693 <param name="dc" type="DC" default=""/>
29694 </paramlist>
29695 </method>
29696 <method name="base_OnDrawBranches" type="" overloaded="no">
29697 <autodoc>base_OnDrawBranches(self, DC dc, bool erase=False)</autodoc>
29698 <paramlist>
29699 <param name="dc" type="DC" default=""/>
29700 <param name="erase" type="bool" default="False"/>
29701 </paramlist>
29702 </method>
29703 <method name="base_OnMoveLinks" type="" overloaded="no">
29704 <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
29705 <paramlist>
29706 <param name="dc" type="DC" default=""/>
29707 </paramlist>
29708 </method>
29709 <method name="base_OnErase" type="" overloaded="no">
29710 <autodoc>base_OnErase(self, DC dc)</autodoc>
29711 <paramlist>
29712 <param name="dc" type="DC" default=""/>
29713 </paramlist>
29714 </method>
29715 <method name="base_OnEraseContents" type="" overloaded="no">
29716 <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
29717 <paramlist>
29718 <param name="dc" type="DC" default=""/>
29719 </paramlist>
29720 </method>
29721 <method name="base_OnHighlight" type="" overloaded="no">
29722 <autodoc>base_OnHighlight(self, DC dc)</autodoc>
29723 <paramlist>
29724 <param name="dc" type="DC" default=""/>
29725 </paramlist>
29726 </method>
29727 <method name="base_OnLeftClick" type="" overloaded="no">
29728 <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
29729 <paramlist>
29730 <param name="x" type="double" default=""/>
29731 <param name="y" type="double" default=""/>
29732 <param name="keys" type="int" default="0"/>
29733 <param name="attachment" type="int" default="0"/>
29734 </paramlist>
29735 </method>
29736 <method name="base_OnLeftDoubleClick" type="" overloaded="no">
29737 <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
29738 <paramlist>
29739 <param name="x" type="double" default=""/>
29740 <param name="y" type="double" default=""/>
29741 <param name="keys" type="int" default="0"/>
29742 <param name="attachment" type="int" default="0"/>
29743 </paramlist>
29744 </method>
29745 <method name="base_OnRightClick" type="" overloaded="no">
29746 <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
29747 <paramlist>
29748 <param name="x" type="double" default=""/>
29749 <param name="y" type="double" default=""/>
29750 <param name="keys" type="int" default="0"/>
29751 <param name="attachment" type="int" default="0"/>
29752 </paramlist>
29753 </method>
29754 <method name="base_OnSize" type="" overloaded="no">
29755 <autodoc>base_OnSize(self, double x, double y)</autodoc>
29756 <paramlist>
29757 <param name="x" type="double" default=""/>
29758 <param name="y" type="double" default=""/>
29759 </paramlist>
29760 </method>
29761 <method name="base_OnMovePre" type="bool" overloaded="no">
29762 <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
29763 bool display=True) -&gt; bool</autodoc>
29764 <paramlist>
29765 <param name="dc" type="DC" default=""/>
29766 <param name="x" type="double" default=""/>
29767 <param name="y" type="double" default=""/>
29768 <param name="old_x" type="double" default=""/>
29769 <param name="old_y" type="double" default=""/>
29770 <param name="display" type="bool" default="True"/>
29771 </paramlist>
29772 </method>
29773 <method name="base_OnMovePost" type="" overloaded="no">
29774 <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
29775 bool display=True)</autodoc>
29776 <paramlist>
29777 <param name="dc" type="DC" default=""/>
29778 <param name="x" type="double" default=""/>
29779 <param name="y" type="double" default=""/>
29780 <param name="old_x" type="double" default=""/>
29781 <param name="old_y" type="double" default=""/>
29782 <param name="display" type="bool" default="True"/>
29783 </paramlist>
29784 </method>
29785 <method name="base_OnDragLeft" type="" overloaded="no">
29786 <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
29787 <paramlist>
29788 <param name="draw" type="bool" default=""/>
29789 <param name="x" type="double" default=""/>
29790 <param name="y" type="double" default=""/>
29791 <param name="keys" type="int" default="0"/>
29792 <param name="attachment" type="int" default="0"/>
29793 </paramlist>
29794 </method>
29795 <method name="base_OnBeginDragLeft" type="" overloaded="no">
29796 <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
29797 <paramlist>
29798 <param name="x" type="double" default=""/>
29799 <param name="y" type="double" default=""/>
29800 <param name="keys" type="int" default="0"/>
29801 <param name="attachment" type="int" default="0"/>
29802 </paramlist>
29803 </method>
29804 <method name="base_OnEndDragLeft" type="" overloaded="no">
29805 <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
29806 <paramlist>
29807 <param name="x" type="double" default=""/>
29808 <param name="y" type="double" default=""/>
29809 <param name="keys" type="int" default="0"/>
29810 <param name="attachment" type="int" default="0"/>
29811 </paramlist>
29812 </method>
29813 <method name="base_OnDragRight" type="" overloaded="no">
29814 <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
29815 <paramlist>
29816 <param name="draw" type="bool" default=""/>
29817 <param name="x" type="double" default=""/>
29818 <param name="y" type="double" default=""/>
29819 <param name="keys" type="int" default="0"/>
29820 <param name="attachment" type="int" default="0"/>
29821 </paramlist>
29822 </method>
29823 <method name="base_OnBeginDragRight" type="" overloaded="no">
29824 <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
29825 <paramlist>
29826 <param name="x" type="double" default=""/>
29827 <param name="y" type="double" default=""/>
29828 <param name="keys" type="int" default="0"/>
29829 <param name="attachment" type="int" default="0"/>
29830 </paramlist>
29831 </method>
29832 <method name="base_OnEndDragRight" type="" overloaded="no">
29833 <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
29834 <paramlist>
29835 <param name="x" type="double" default=""/>
29836 <param name="y" type="double" default=""/>
29837 <param name="keys" type="int" default="0"/>
29838 <param name="attachment" type="int" default="0"/>
29839 </paramlist>
29840 </method>
29841 <method name="base_OnDrawOutline" type="" overloaded="no">
29842 <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
29843 <paramlist>
29844 <param name="dc" type="DC" default=""/>
29845 <param name="x" type="double" default=""/>
29846 <param name="y" type="double" default=""/>
29847 <param name="w" type="double" default=""/>
29848 <param name="h" type="double" default=""/>
29849 </paramlist>
29850 </method>
29851 <method name="base_OnDrawControlPoints" type="" overloaded="no">
29852 <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
29853 <paramlist>
29854 <param name="dc" type="DC" default=""/>
29855 </paramlist>
29856 </method>
29857 <method name="base_OnEraseControlPoints" type="" overloaded="no">
29858 <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
29859 <paramlist>
29860 <param name="dc" type="DC" default=""/>
29861 </paramlist>
29862 </method>
29863 <method name="base_OnMoveLink" type="" overloaded="no">
29864 <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
29865 <paramlist>
29866 <param name="dc" type="DC" default=""/>
29867 <param name="moveControlPoints" type="bool" default="True"/>
29868 </paramlist>
29869 </method>
29870 <method name="base_OnSizingDragLeft" type="" overloaded="no">
29871 <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
29872 int attachment=0)</autodoc>
29873 <paramlist>
29874 <param name="pt" type="wxPyControlPoint" default=""/>
29875 <param name="draw" type="bool" default=""/>
29876 <param name="x" type="double" default=""/>
29877 <param name="y" type="double" default=""/>
29878 <param name="keys" type="int" default="0"/>
29879 <param name="attachment" type="int" default="0"/>
29880 </paramlist>
29881 </method>
29882 <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
29883 <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
29884 int attachment=0)</autodoc>
29885 <paramlist>
29886 <param name="pt" type="wxPyControlPoint" default=""/>
29887 <param name="x" type="double" default=""/>
29888 <param name="y" type="double" default=""/>
29889 <param name="keys" type="int" default="0"/>
29890 <param name="attachment" type="int" default="0"/>
29891 </paramlist>
29892 </method>
29893 <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
29894 <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
29895 int attachment=0)</autodoc>
29896 <paramlist>
29897 <param name="pt" type="wxPyControlPoint" default=""/>
29898 <param name="x" type="double" default=""/>
29899 <param name="y" type="double" default=""/>
29900 <param name="keys" type="int" default="0"/>
29901 <param name="attachment" type="int" default="0"/>
29902 </paramlist>
29903 </method>
29904 <method name="base_OnBeginSize" type="" overloaded="no">
29905 <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
29906 <paramlist>
29907 <param name="w" type="double" default=""/>
29908 <param name="h" type="double" default=""/>
29909 </paramlist>
29910 </method>
29911 <method name="base_OnEndSize" type="" overloaded="no">
29912 <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
29913 <paramlist>
29914 <param name="w" type="double" default=""/>
29915 <param name="h" type="double" default=""/>
29916 </paramlist>
29917 </method>
29918 </class>
29919 <class name="PyShape" oldname="wxPyShape" module="ogl">
29920 <baseclass name="PyShapeEvtHandler"/>
29921 <constructor name="PyShape" overloaded="no">
29922 <autodoc>__init__(self, PyShapeCanvas can=None) -&gt; PyShape</autodoc>
29923 <paramlist>
29924 <param name="can" type="wxPyShapeCanvas" default="NULL"/>
29925 </paramlist>
29926 </constructor>
29927 <method name="_setCallbackInfo" type="" overloaded="no">
29928 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
29929 <paramlist>
29930 <param name="self" type="PyObject" default=""/>
29931 <param name="_class" type="PyObject" default=""/>
29932 </paramlist>
29933 </method>
29934 <method name="GetBoundingBoxMax" type="" overloaded="no">
29935 <autodoc>GetBoundingBoxMax(self, double OUTPUT, double OUTPUT)</autodoc>
29936 <paramlist>
29937 <param name="OUTPUT" type="double" default=""/>
29938 <param name="OUTPUT" type="double" default=""/>
29939 </paramlist>
29940 </method>
29941 <method name="GetBoundingBoxMin" type="" overloaded="no">
29942 <autodoc>GetBoundingBoxMin(self, double OUTPUT, double OUTPUT)</autodoc>
29943 <paramlist>
29944 <param name="OUTPUT" type="double" default=""/>
29945 <param name="OUTPUT" type="double" default=""/>
29946 </paramlist>
29947 </method>
29948 <method name="GetPerimeterPoint" type="bool" overloaded="no">
29949 <autodoc>GetPerimeterPoint(self, double x1, double y1, double x2, double y2, double OUTPUT,
29950 double OUTPUT) -&gt; bool</autodoc>
29951 <paramlist>
29952 <param name="x1" type="double" default=""/>
29953 <param name="y1" type="double" default=""/>
29954 <param name="x2" type="double" default=""/>
29955 <param name="y2" type="double" default=""/>
29956 <param name="OUTPUT" type="double" default=""/>
29957 <param name="OUTPUT" type="double" default=""/>
29958 </paramlist>
29959 </method>
29960 <method name="GetCanvas" type="wxPyShapeCanvas" overloaded="no">
29961 <autodoc>GetCanvas(self) -&gt; PyShapeCanvas</autodoc>
29962 </method>
29963 <method name="SetCanvas" type="" overloaded="no">
29964 <autodoc>SetCanvas(self, PyShapeCanvas the_canvas)</autodoc>
29965 <paramlist>
29966 <param name="the_canvas" type="wxPyShapeCanvas" default=""/>
29967 </paramlist>
29968 </method>
29969 <method name="AddToCanvas" type="" overloaded="no">
29970 <autodoc>AddToCanvas(self, PyShapeCanvas the_canvas, PyShape addAfter=None)</autodoc>
29971 <paramlist>
29972 <param name="the_canvas" type="wxPyShapeCanvas" default=""/>
29973 <param name="addAfter" type="PyShape" default="NULL"/>
29974 </paramlist>
29975 </method>
29976 <method name="InsertInCanvas" type="" overloaded="no">
29977 <autodoc>InsertInCanvas(self, PyShapeCanvas the_canvas)</autodoc>
29978 <paramlist>
29979 <param name="the_canvas" type="wxPyShapeCanvas" default=""/>
29980 </paramlist>
29981 </method>
29982 <method name="RemoveFromCanvas" type="" overloaded="no">
29983 <autodoc>RemoveFromCanvas(self, PyShapeCanvas the_canvas)</autodoc>
29984 <paramlist>
29985 <param name="the_canvas" type="wxPyShapeCanvas" default=""/>
29986 </paramlist>
29987 </method>
29988 <method name="GetX" type="double" overloaded="no">
29989 <autodoc>GetX(self) -&gt; double</autodoc>
29990 </method>
29991 <method name="GetY" type="double" overloaded="no">
29992 <autodoc>GetY(self) -&gt; double</autodoc>
29993 </method>
29994 <method name="SetX" type="" overloaded="no">
29995 <autodoc>SetX(self, double x)</autodoc>
29996 <paramlist>
29997 <param name="x" type="double" default=""/>
29998 </paramlist>
29999 </method>
30000 <method name="SetY" type="" overloaded="no">
30001 <autodoc>SetY(self, double y)</autodoc>
30002 <paramlist>
30003 <param name="y" type="double" default=""/>
30004 </paramlist>
30005 </method>
30006 <method name="GetParent" type="PyShape" overloaded="no">
30007 <autodoc>GetParent(self) -&gt; PyShape</autodoc>
30008 </method>
30009 <method name="SetParent" type="" overloaded="no">
30010 <autodoc>SetParent(self, PyShape p)</autodoc>
30011 <paramlist>
30012 <param name="p" type="PyShape" default=""/>
30013 </paramlist>
30014 </method>
30015 <method name="GetTopAncestor" type="PyShape" overloaded="no">
30016 <autodoc>GetTopAncestor(self) -&gt; PyShape</autodoc>
30017 </method>
30018 <method name="GetChildren" type="PyObject" overloaded="no">
30019 <autodoc>GetChildren(self) -&gt; PyObject</autodoc>
30020 </method>
30021 <method name="Unlink" type="" overloaded="no">
30022 <autodoc>Unlink(self)</autodoc>
30023 </method>
30024 <method name="SetDrawHandles" type="" overloaded="no">
30025 <autodoc>SetDrawHandles(self, bool drawH)</autodoc>
30026 <paramlist>
30027 <param name="drawH" type="bool" default=""/>
30028 </paramlist>
30029 </method>
30030 <method name="GetDrawHandles" type="bool" overloaded="no">
30031 <autodoc>GetDrawHandles(self) -&gt; bool</autodoc>
30032 </method>
30033 <method name="MakeControlPoints" type="" overloaded="no">
30034 <autodoc>MakeControlPoints(self)</autodoc>
30035 </method>
30036 <method name="DeleteControlPoints" type="" overloaded="no">
30037 <autodoc>DeleteControlPoints(self, DC dc=None)</autodoc>
30038 <paramlist>
30039 <param name="dc" type="DC" default="NULL"/>
30040 </paramlist>
30041 </method>
30042 <method name="ResetControlPoints" type="" overloaded="no">
30043 <autodoc>ResetControlPoints(self)</autodoc>
30044 </method>
30045 <method name="GetEventHandler" type="PyShapeEvtHandler" overloaded="no">
30046 <autodoc>GetEventHandler(self) -&gt; PyShapeEvtHandler</autodoc>
30047 </method>
30048 <method name="SetEventHandler" type="" overloaded="no">
30049 <autodoc>SetEventHandler(self, PyShapeEvtHandler handler)</autodoc>
30050 <paramlist>
30051 <param name="handler" type="PyShapeEvtHandler" default=""/>
30052 </paramlist>
30053 </method>
30054 <method name="MakeMandatoryControlPoints" type="" overloaded="no">
30055 <autodoc>MakeMandatoryControlPoints(self)</autodoc>
30056 </method>
30057 <method name="ResetMandatoryControlPoints" type="" overloaded="no">
30058 <autodoc>ResetMandatoryControlPoints(self)</autodoc>
30059 </method>
30060 <method name="Recompute" type="bool" overloaded="no">
30061 <autodoc>Recompute(self) -&gt; bool</autodoc>
30062 </method>
30063 <method name="CalculateSize" type="" overloaded="no">
30064 <autodoc>CalculateSize(self)</autodoc>
30065 </method>
30066 <method name="Select" type="" overloaded="no">
30067 <autodoc>Select(self, bool select=True, DC dc=None)</autodoc>
30068 <paramlist>
30069 <param name="select" type="bool" default="True"/>
30070 <param name="dc" type="DC" default="NULL"/>
30071 </paramlist>
30072 </method>
30073 <method name="SetHighlight" type="" overloaded="no">
30074 <autodoc>SetHighlight(self, bool hi=True, bool recurse=False)</autodoc>
30075 <paramlist>
30076 <param name="hi" type="bool" default="True"/>
30077 <param name="recurse" type="bool" default="False"/>
30078 </paramlist>
30079 </method>
30080 <method name="IsHighlighted" type="bool" overloaded="no">
30081 <autodoc>IsHighlighted(self) -&gt; bool</autodoc>
30082 </method>
30083 <method name="Selected" type="bool" overloaded="no">
30084 <autodoc>Selected(self) -&gt; bool</autodoc>
30085 </method>
30086 <method name="AncestorSelected" type="bool" overloaded="no">
30087 <autodoc>AncestorSelected(self) -&gt; bool</autodoc>
30088 </method>
30089 <method name="SetSensitivityFilter" type="" overloaded="no">
30090 <autodoc>SetSensitivityFilter(self, int sens=OP_ALL, bool recursive=False)</autodoc>
30091 <paramlist>
30092 <param name="sens" type="int" default="OP_ALL"/>
30093 <param name="recursive" type="bool" default="False"/>
30094 </paramlist>
30095 </method>
30096 <method name="GetSensitivityFilter" type="int" overloaded="no">
30097 <autodoc>GetSensitivityFilter(self) -&gt; int</autodoc>
30098 </method>
30099 <method name="SetDraggable" type="" overloaded="no">
30100 <autodoc>SetDraggable(self, bool drag, bool recursive=False)</autodoc>
30101 <paramlist>
30102 <param name="drag" type="bool" default=""/>
30103 <param name="recursive" type="bool" default="False"/>
30104 </paramlist>
30105 </method>
30106 <method name="SetFixedSize" type="" overloaded="no">
30107 <autodoc>SetFixedSize(self, bool x, bool y)</autodoc>
30108 <paramlist>
30109 <param name="x" type="bool" default=""/>
30110 <param name="y" type="bool" default=""/>
30111 </paramlist>
30112 </method>
30113 <method name="GetFixedSize" type="" overloaded="no">
30114 <autodoc>GetFixedSize(self, bool OUTPUT, bool OUTPUT)</autodoc>
30115 <paramlist>
30116 <param name="OUTPUT" type="bool" default=""/>
30117 <param name="OUTPUT" type="bool" default=""/>
30118 </paramlist>
30119 </method>
30120 <method name="GetFixedWidth" type="bool" overloaded="no">
30121 <autodoc>GetFixedWidth(self) -&gt; bool</autodoc>
30122 </method>
30123 <method name="GetFixedHeight" type="bool" overloaded="no">
30124 <autodoc>GetFixedHeight(self) -&gt; bool</autodoc>
30125 </method>
30126 <method name="SetSpaceAttachments" type="" overloaded="no">
30127 <autodoc>SetSpaceAttachments(self, bool sp)</autodoc>
30128 <paramlist>
30129 <param name="sp" type="bool" default=""/>
30130 </paramlist>
30131 </method>
30132 <method name="GetSpaceAttachments" type="bool" overloaded="no">
30133 <autodoc>GetSpaceAttachments(self) -&gt; bool</autodoc>
30134 </method>
30135 <method name="SetShadowMode" type="" overloaded="no">
30136 <autodoc>SetShadowMode(self, int mode, bool redraw=False)</autodoc>
30137 <paramlist>
30138 <param name="mode" type="int" default=""/>
30139 <param name="redraw" type="bool" default="False"/>
30140 </paramlist>
30141 </method>
30142 <method name="GetShadowMode" type="int" overloaded="no">
30143 <autodoc>GetShadowMode(self) -&gt; int</autodoc>
30144 </method>
30145 <method name="HitTest" type="bool" overloaded="no">
30146 <autodoc>HitTest(self, double x, double y, int OUTPUT, double OUTPUT) -&gt; bool</autodoc>
30147 <paramlist>
30148 <param name="x" type="double" default=""/>
30149 <param name="y" type="double" default=""/>
30150 <param name="OUTPUT" type="int" default=""/>
30151 <param name="OUTPUT" type="double" default=""/>
30152 </paramlist>
30153 </method>
30154 <method name="SetCentreResize" type="" overloaded="no">
30155 <autodoc>SetCentreResize(self, bool cr)</autodoc>
30156 <paramlist>
30157 <param name="cr" type="bool" default=""/>
30158 </paramlist>
30159 </method>
30160 <method name="GetCentreResize" type="bool" overloaded="no">
30161 <autodoc>GetCentreResize(self) -&gt; bool</autodoc>
30162 </method>
30163 <method name="SetMaintainAspectRatio" type="" overloaded="no">
30164 <autodoc>SetMaintainAspectRatio(self, bool ar)</autodoc>
30165 <paramlist>
30166 <param name="ar" type="bool" default=""/>
30167 </paramlist>
30168 </method>
30169 <method name="GetMaintainAspectRatio" type="bool" overloaded="no">
30170 <autodoc>GetMaintainAspectRatio(self) -&gt; bool</autodoc>
30171 </method>
30172 <method name="GetLines" type="PyObject" overloaded="no">
30173 <autodoc>GetLines(self) -&gt; PyObject</autodoc>
30174 </method>
30175 <method name="SetDisableLabel" type="" overloaded="no">
30176 <autodoc>SetDisableLabel(self, bool flag)</autodoc>
30177 <paramlist>
30178 <param name="flag" type="bool" default=""/>
30179 </paramlist>
30180 </method>
30181 <method name="GetDisableLabel" type="bool" overloaded="no">
30182 <autodoc>GetDisableLabel(self) -&gt; bool</autodoc>
30183 </method>
30184 <method name="SetAttachmentMode" type="" overloaded="no">
30185 <autodoc>SetAttachmentMode(self, int mode)</autodoc>
30186 <paramlist>
30187 <param name="mode" type="int" default=""/>
30188 </paramlist>
30189 </method>
30190 <method name="GetAttachmentMode" type="int" overloaded="no">
30191 <autodoc>GetAttachmentMode(self) -&gt; int</autodoc>
30192 </method>
30193 <method name="SetId" type="" overloaded="no">
30194 <autodoc>SetId(self, long i)</autodoc>
30195 <paramlist>
30196 <param name="i" type="long" default=""/>
30197 </paramlist>
30198 </method>
30199 <method name="GetId" type="long" overloaded="no">
30200 <autodoc>GetId(self) -&gt; long</autodoc>
30201 </method>
30202 <method name="SetPen" type="" overloaded="no">
30203 <autodoc>SetPen(self, wxPen pen)</autodoc>
30204 <paramlist>
30205 <param name="pen" type="Pen" default=""/>
30206 </paramlist>
30207 </method>
30208 <method name="SetBrush" type="" overloaded="no">
30209 <autodoc>SetBrush(self, wxBrush brush)</autodoc>
30210 <paramlist>
30211 <param name="brush" type="Brush" default=""/>
30212 </paramlist>
30213 </method>
30214 <method name="Show" type="" overloaded="no">
30215 <autodoc>Show(self, bool show)</autodoc>
30216 <paramlist>
30217 <param name="show" type="bool" default=""/>
30218 </paramlist>
30219 </method>
30220 <method name="IsShown" type="bool" overloaded="no">
30221 <autodoc>IsShown(self) -&gt; bool</autodoc>
30222 </method>
30223 <method name="Move" type="" overloaded="no">
30224 <autodoc>Move(self, DC dc, double x1, double y1, bool display=True)</autodoc>
30225 <paramlist>
30226 <param name="dc" type="DC" default=""/>
30227 <param name="x1" type="double" default=""/>
30228 <param name="y1" type="double" default=""/>
30229 <param name="display" type="bool" default="True"/>
30230 </paramlist>
30231 </method>
30232 <method name="Erase" type="" overloaded="no">
30233 <autodoc>Erase(self, DC dc)</autodoc>
30234 <paramlist>
30235 <param name="dc" type="DC" default=""/>
30236 </paramlist>
30237 </method>
30238 <method name="EraseContents" type="" overloaded="no">
30239 <autodoc>EraseContents(self, DC dc)</autodoc>
30240 <paramlist>
30241 <param name="dc" type="DC" default=""/>
30242 </paramlist>
30243 </method>
30244 <method name="Draw" type="" overloaded="no">
30245 <autodoc>Draw(self, DC dc)</autodoc>
30246 <paramlist>
30247 <param name="dc" type="DC" default=""/>
30248 </paramlist>
30249 </method>
30250 <method name="Flash" type="" overloaded="no">
30251 <autodoc>Flash(self)</autodoc>
30252 </method>
30253 <method name="MoveLinks" type="" overloaded="no">
30254 <autodoc>MoveLinks(self, DC dc)</autodoc>
30255 <paramlist>
30256 <param name="dc" type="DC" default=""/>
30257 </paramlist>
30258 </method>
30259 <method name="DrawContents" type="" overloaded="no">
30260 <autodoc>DrawContents(self, DC dc)</autodoc>
30261 <paramlist>
30262 <param name="dc" type="DC" default=""/>
30263 </paramlist>
30264 </method>
30265 <method name="SetSize" type="" overloaded="no">
30266 <autodoc>SetSize(self, double x, double y, bool recursive=True)</autodoc>
30267 <paramlist>
30268 <param name="x" type="double" default=""/>
30269 <param name="y" type="double" default=""/>
30270 <param name="recursive" type="bool" default="True"/>
30271 </paramlist>
30272 </method>
30273 <method name="SetAttachmentSize" type="" overloaded="no">
30274 <autodoc>SetAttachmentSize(self, double x, double y)</autodoc>
30275 <paramlist>
30276 <param name="x" type="double" default=""/>
30277 <param name="y" type="double" default=""/>
30278 </paramlist>
30279 </method>
30280 <method name="Attach" type="" overloaded="no">
30281 <autodoc>Attach(self, PyShapeCanvas can)</autodoc>
30282 <paramlist>
30283 <param name="can" type="wxPyShapeCanvas" default=""/>
30284 </paramlist>
30285 </method>
30286 <method name="Detach" type="" overloaded="no">
30287 <autodoc>Detach(self)</autodoc>
30288 </method>
30289 <method name="Constrain" type="bool" overloaded="no">
30290 <autodoc>Constrain(self) -&gt; bool</autodoc>
30291 </method>
30292 <method name="AddLine" type="" overloaded="no">
30293 <autodoc>AddLine(self, PyLineShape line, PyShape other, int attachFrom=0,
30294 int attachTo=0, int positionFrom=-1, int positionTo=-1)</autodoc>
30295 <paramlist>
30296 <param name="line" type="wxPyLineShape" default=""/>
30297 <param name="other" type="PyShape" default=""/>
30298 <param name="attachFrom" type="int" default="0"/>
30299 <param name="attachTo" type="int" default="0"/>
30300 <param name="positionFrom" type="int" default="-1"/>
30301 <param name="positionTo" type="int" default="-1"/>
30302 </paramlist>
30303 </method>
30304 <method name="GetLinePosition" type="int" overloaded="no">
30305 <autodoc>GetLinePosition(self, PyLineShape line) -&gt; int</autodoc>
30306 <paramlist>
30307 <param name="line" type="wxPyLineShape" default=""/>
30308 </paramlist>
30309 </method>
30310 <method name="AddText" type="" overloaded="no">
30311 <autodoc>AddText(self, String string)</autodoc>
30312 <paramlist>
30313 <param name="string" type="String" default=""/>
30314 </paramlist>
30315 </method>
30316 <method name="GetPen" type="Pen" overloaded="no">
30317 <autodoc>GetPen(self) -&gt; wxPen</autodoc>
30318 </method>
30319 <method name="GetBrush" type="Brush" overloaded="no">
30320 <autodoc>GetBrush(self) -&gt; wxBrush</autodoc>
30321 </method>
30322 <method name="SetDefaultRegionSize" type="" overloaded="no">
30323 <autodoc>SetDefaultRegionSize(self)</autodoc>
30324 </method>
30325 <method name="FormatText" type="" overloaded="no">
30326 <autodoc>FormatText(self, DC dc, String s, int regionId=0)</autodoc>
30327 <paramlist>
30328 <param name="dc" type="DC" default=""/>
30329 <param name="s" type="String" default=""/>
30330 <param name="regionId" type="int" default="0"/>
30331 </paramlist>
30332 </method>
30333 <method name="SetFormatMode" type="" overloaded="no">
30334 <autodoc>SetFormatMode(self, int mode, int regionId=0)</autodoc>
30335 <paramlist>
30336 <param name="mode" type="int" default=""/>
30337 <param name="regionId" type="int" default="0"/>
30338 </paramlist>
30339 </method>
30340 <method name="GetFormatMode" type="int" overloaded="no">
30341 <autodoc>GetFormatMode(self, int regionId=0) -&gt; int</autodoc>
30342 <paramlist>
30343 <param name="regionId" type="int" default="0"/>
30344 </paramlist>
30345 </method>
30346 <method name="SetFont" type="" overloaded="no">
30347 <autodoc>SetFont(self, Font font, int regionId=0)</autodoc>
30348 <paramlist>
30349 <param name="font" type="Font" default=""/>
30350 <param name="regionId" type="int" default="0"/>
30351 </paramlist>
30352 </method>
30353 <method name="GetFont" type="Font" overloaded="no">
30354 <autodoc>GetFont(self, int regionId=0) -&gt; Font</autodoc>
30355 <paramlist>
30356 <param name="regionId" type="int" default="0"/>
30357 </paramlist>
30358 </method>
30359 <method name="SetTextColour" type="" overloaded="no">
30360 <autodoc>SetTextColour(self, String colour, int regionId=0)</autodoc>
30361 <paramlist>
30362 <param name="colour" type="String" default=""/>
30363 <param name="regionId" type="int" default="0"/>
30364 </paramlist>
30365 </method>
30366 <method name="GetTextColour" type="String" overloaded="no">
30367 <autodoc>GetTextColour(self, int regionId=0) -&gt; String</autodoc>
30368 <paramlist>
30369 <param name="regionId" type="int" default="0"/>
30370 </paramlist>
30371 </method>
30372 <method name="GetNumberOfTextRegions" type="int" overloaded="no">
30373 <autodoc>GetNumberOfTextRegions(self) -&gt; int</autodoc>
30374 </method>
30375 <method name="SetRegionName" type="" overloaded="no">
30376 <autodoc>SetRegionName(self, String name, int regionId=0)</autodoc>
30377 <paramlist>
30378 <param name="name" type="String" default=""/>
30379 <param name="regionId" type="int" default="0"/>
30380 </paramlist>
30381 </method>
30382 <method name="GetRegionName" type="String" overloaded="no">
30383 <autodoc>GetRegionName(self, int regionId) -&gt; String</autodoc>
30384 <paramlist>
30385 <param name="regionId" type="int" default=""/>
30386 </paramlist>
30387 </method>
30388 <method name="GetRegionId" type="int" overloaded="no">
30389 <autodoc>GetRegionId(self, String name) -&gt; int</autodoc>
30390 <paramlist>
30391 <param name="name" type="String" default=""/>
30392 </paramlist>
30393 </method>
30394 <method name="NameRegions" type="" overloaded="no">
30395 <autodoc>NameRegions(self, String parentName=EmptyString)</autodoc>
30396 <paramlist>
30397 <param name="parentName" type="String" default="wxPyEmptyString"/>
30398 </paramlist>
30399 </method>
30400 <method name="GetRegions" type="PyObject" overloaded="no">
30401 <autodoc>GetRegions(self) -&gt; PyObject</autodoc>
30402 </method>
30403 <method name="AddRegion" type="" overloaded="no">
30404 <autodoc>AddRegion(self, ShapeRegion region)</autodoc>
30405 <paramlist>
30406 <param name="region" type="ShapeRegion" default=""/>
30407 </paramlist>
30408 </method>
30409 <method name="ClearRegions" type="" overloaded="no">
30410 <autodoc>ClearRegions(self)</autodoc>
30411 </method>
30412 <method name="AssignNewIds" type="" overloaded="no">
30413 <autodoc>AssignNewIds(self)</autodoc>
30414 </method>
30415 <method name="FindRegion" type="PyShape" overloaded="no">
30416 <autodoc>FindRegion(self, String regionName, int OUTPUT) -&gt; PyShape</autodoc>
30417 <paramlist>
30418 <param name="regionName" type="String" default=""/>
30419 <param name="OUTPUT" type="int" default=""/>
30420 </paramlist>
30421 </method>
30422 <method name="FindRegionNames" type="" overloaded="no">
30423 <autodoc>FindRegionNames(self, wxStringList list)</autodoc>
30424 <paramlist>
30425 <param name="list" type="wxStringList" default=""/>
30426 </paramlist>
30427 </method>
30428 <method name="ClearText" type="" overloaded="no">
30429 <autodoc>ClearText(self, int regionId=0)</autodoc>
30430 <paramlist>
30431 <param name="regionId" type="int" default="0"/>
30432 </paramlist>
30433 </method>
30434 <method name="RemoveLine" type="" overloaded="no">
30435 <autodoc>RemoveLine(self, PyLineShape line)</autodoc>
30436 <paramlist>
30437 <param name="line" type="wxPyLineShape" default=""/>
30438 </paramlist>
30439 </method>
30440 <method name="GetAttachmentPosition" type="bool" overloaded="no">
30441 <autodoc>GetAttachmentPosition(self, int attachment, double OUTPUT, double OUTPUT, int nth=0,
30442 int no_arcs=1, PyLineShape line=None) -&gt; bool</autodoc>
30443 <paramlist>
30444 <param name="attachment" type="int" default=""/>
30445 <param name="OUTPUT" type="double" default=""/>
30446 <param name="OUTPUT" type="double" default=""/>
30447 <param name="nth" type="int" default="0"/>
30448 <param name="no_arcs" type="int" default="1"/>
30449 <param name="line" type="wxPyLineShape" default="NULL"/>
30450 </paramlist>
30451 </method>
30452 <method name="GetNumberOfAttachments" type="int" overloaded="no">
30453 <autodoc>GetNumberOfAttachments(self) -&gt; int</autodoc>
30454 </method>
30455 <method name="AttachmentIsValid" type="bool" overloaded="no">
30456 <autodoc>AttachmentIsValid(self, int attachment) -&gt; bool</autodoc>
30457 <paramlist>
30458 <param name="attachment" type="int" default=""/>
30459 </paramlist>
30460 </method>
30461 <method name="GetAttachments" type="PyObject" overloaded="no">
30462 <autodoc>GetAttachments(self) -&gt; PyObject</autodoc>
30463 </method>
30464 <method name="GetAttachmentPositionEdge" type="bool" overloaded="no">
30465 <autodoc>GetAttachmentPositionEdge(self, int attachment, double OUTPUT, double OUTPUT, int nth=0,
30466 int no_arcs=1, PyLineShape line=None) -&gt; bool</autodoc>
30467 <paramlist>
30468 <param name="attachment" type="int" default=""/>
30469 <param name="OUTPUT" type="double" default=""/>
30470 <param name="OUTPUT" type="double" default=""/>
30471 <param name="nth" type="int" default="0"/>
30472 <param name="no_arcs" type="int" default="1"/>
30473 <param name="line" type="wxPyLineShape" default="NULL"/>
30474 </paramlist>
30475 </method>
30476 <method name="CalcSimpleAttachment" type="RealPoint" overloaded="no">
30477 <autodoc>CalcSimpleAttachment(self, RealPoint pt1, RealPoint pt2, int nth, int noArcs,
30478 PyLineShape line) -&gt; RealPoint</autodoc>
30479 <paramlist>
30480 <param name="pt1" type="RealPoint" default=""/>
30481 <param name="pt2" type="RealPoint" default=""/>
30482 <param name="nth" type="int" default=""/>
30483 <param name="noArcs" type="int" default=""/>
30484 <param name="line" type="wxPyLineShape" default=""/>
30485 </paramlist>
30486 </method>
30487 <method name="AttachmentSortTest" type="bool" overloaded="no">
30488 <autodoc>AttachmentSortTest(self, int attachmentPoint, RealPoint pt1, RealPoint pt2) -&gt; bool</autodoc>
30489 <paramlist>
30490 <param name="attachmentPoint" type="int" default=""/>
30491 <param name="pt1" type="RealPoint" default=""/>
30492 <param name="pt2" type="RealPoint" default=""/>
30493 </paramlist>
30494 </method>
30495 <method name="EraseLinks" type="" overloaded="no">
30496 <autodoc>EraseLinks(self, DC dc, int attachment=-1, bool recurse=False)</autodoc>
30497 <paramlist>
30498 <param name="dc" type="DC" default=""/>
30499 <param name="attachment" type="int" default="-1"/>
30500 <param name="recurse" type="bool" default="False"/>
30501 </paramlist>
30502 </method>
30503 <method name="DrawLinks" type="" overloaded="no">
30504 <autodoc>DrawLinks(self, DC dc, int attachment=-1, bool recurse=False)</autodoc>
30505 <paramlist>
30506 <param name="dc" type="DC" default=""/>
30507 <param name="attachment" type="int" default="-1"/>
30508 <param name="recurse" type="bool" default="False"/>
30509 </paramlist>
30510 </method>
30511 <method name="MoveLineToNewAttachment" type="bool" overloaded="no">
30512 <autodoc>MoveLineToNewAttachment(self, DC dc, PyLineShape to_move, double x, double y) -&gt; bool</autodoc>
30513 <paramlist>
30514 <param name="dc" type="DC" default=""/>
30515 <param name="to_move" type="wxPyLineShape" default=""/>
30516 <param name="x" type="double" default=""/>
30517 <param name="y" type="double" default=""/>
30518 </paramlist>
30519 </method>
30520 <method name="ApplyAttachmentOrdering" type="" overloaded="no">
30521 <autodoc>ApplyAttachmentOrdering(self, PyObject linesToSort)</autodoc>
30522 <paramlist>
30523 <param name="linesToSort" type="PyObject" default=""/>
30524 </paramlist>
30525 </method>
30526 <method name="GetBranchingAttachmentRoot" type="RealPoint" overloaded="no">
30527 <autodoc>GetBranchingAttachmentRoot(self, int attachment) -&gt; RealPoint</autodoc>
30528 <paramlist>
30529 <param name="attachment" type="int" default=""/>
30530 </paramlist>
30531 </method>
30532 <method name="GetBranchingAttachmentInfo" type="bool" overloaded="no">
30533 <autodoc>GetBranchingAttachmentInfo(self, int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1,
30534 RealPoint shoulder2) -&gt; bool</autodoc>
30535 <paramlist>
30536 <param name="attachment" type="int" default=""/>
30537 <param name="root" type="RealPoint" default=""/>
30538 <param name="neck" type="RealPoint" default=""/>
30539 <param name="shoulder1" type="RealPoint" default=""/>
30540 <param name="shoulder2" type="RealPoint" default=""/>
30541 </paramlist>
30542 </method>
30543 <method name="GetBranchingAttachmentPoint" type="bool" overloaded="no">
30544 <autodoc>GetBranchingAttachmentPoint(self, int attachment, int n, RealPoint attachmentPoint, RealPoint stemPoint) -&gt; bool</autodoc>
30545 <paramlist>
30546 <param name="attachment" type="int" default=""/>
30547 <param name="n" type="int" default=""/>
30548 <param name="attachmentPoint" type="RealPoint" default=""/>
30549 <param name="stemPoint" type="RealPoint" default=""/>
30550 </paramlist>
30551 </method>
30552 <method name="GetAttachmentLineCount" type="int" overloaded="no">
30553 <autodoc>GetAttachmentLineCount(self, int attachment) -&gt; int</autodoc>
30554 <paramlist>
30555 <param name="attachment" type="int" default=""/>
30556 </paramlist>
30557 </method>
30558 <method name="SetBranchNeckLength" type="" overloaded="no">
30559 <autodoc>SetBranchNeckLength(self, int len)</autodoc>
30560 <paramlist>
30561 <param name="len" type="int" default=""/>
30562 </paramlist>
30563 </method>
30564 <method name="GetBranchNeckLength" type="int" overloaded="no">
30565 <autodoc>GetBranchNeckLength(self) -&gt; int</autodoc>
30566 </method>
30567 <method name="SetBranchStemLength" type="" overloaded="no">
30568 <autodoc>SetBranchStemLength(self, int len)</autodoc>
30569 <paramlist>
30570 <param name="len" type="int" default=""/>
30571 </paramlist>
30572 </method>
30573 <method name="GetBranchStemLength" type="int" overloaded="no">
30574 <autodoc>GetBranchStemLength(self) -&gt; int</autodoc>
30575 </method>
30576 <method name="SetBranchSpacing" type="" overloaded="no">
30577 <autodoc>SetBranchSpacing(self, int len)</autodoc>
30578 <paramlist>
30579 <param name="len" type="int" default=""/>
30580 </paramlist>
30581 </method>
30582 <method name="GetBranchSpacing" type="int" overloaded="no">
30583 <autodoc>GetBranchSpacing(self) -&gt; int</autodoc>
30584 </method>
30585 <method name="SetBranchStyle" type="" overloaded="no">
30586 <autodoc>SetBranchStyle(self, long style)</autodoc>
30587 <paramlist>
30588 <param name="style" type="long" default=""/>
30589 </paramlist>
30590 </method>
30591 <method name="GetBranchStyle" type="long" overloaded="no">
30592 <autodoc>GetBranchStyle(self) -&gt; long</autodoc>
30593 </method>
30594 <method name="PhysicalToLogicalAttachment" type="int" overloaded="no">
30595 <autodoc>PhysicalToLogicalAttachment(self, int physicalAttachment) -&gt; int</autodoc>
30596 <paramlist>
30597 <param name="physicalAttachment" type="int" default=""/>
30598 </paramlist>
30599 </method>
30600 <method name="LogicalToPhysicalAttachment" type="int" overloaded="no">
30601 <autodoc>LogicalToPhysicalAttachment(self, int logicalAttachment) -&gt; int</autodoc>
30602 <paramlist>
30603 <param name="logicalAttachment" type="int" default=""/>
30604 </paramlist>
30605 </method>
30606 <method name="Draggable" type="bool" overloaded="no">
30607 <autodoc>Draggable(self) -&gt; bool</autodoc>
30608 </method>
30609 <method name="HasDescendant" type="bool" overloaded="no">
30610 <autodoc>HasDescendant(self, PyShape image) -&gt; bool</autodoc>
30611 <paramlist>
30612 <param name="image" type="PyShape" default=""/>
30613 </paramlist>
30614 </method>
30615 <method name="CreateNewCopy" type="PyShape" overloaded="no">
30616 <autodoc>CreateNewCopy(self, bool resetMapping=True, bool recompute=True) -&gt; PyShape</autodoc>
30617 <paramlist>
30618 <param name="resetMapping" type="bool" default="True"/>
30619 <param name="recompute" type="bool" default="True"/>
30620 </paramlist>
30621 </method>
30622 <method name="Copy" type="" overloaded="no">
30623 <autodoc>Copy(self, PyShape copy)</autodoc>
30624 <paramlist>
30625 <param name="copy" type="PyShape" default=""/>
30626 </paramlist>
30627 </method>
30628 <method name="CopyWithHandler" type="" overloaded="no">
30629 <autodoc>CopyWithHandler(self, PyShape copy)</autodoc>
30630 <paramlist>
30631 <param name="copy" type="PyShape" default=""/>
30632 </paramlist>
30633 </method>
30634 <method name="Rotate" type="" overloaded="no">
30635 <autodoc>Rotate(self, double x, double y, double theta)</autodoc>
30636 <paramlist>
30637 <param name="x" type="double" default=""/>
30638 <param name="y" type="double" default=""/>
30639 <param name="theta" type="double" default=""/>
30640 </paramlist>
30641 </method>
30642 <method name="GetRotation" type="double" overloaded="no">
30643 <autodoc>GetRotation(self) -&gt; double</autodoc>
30644 </method>
30645 <method name="SetRotation" type="" overloaded="no">
30646 <autodoc>SetRotation(self, double rotation)</autodoc>
30647 <paramlist>
30648 <param name="rotation" type="double" default=""/>
30649 </paramlist>
30650 </method>
30651 <method name="ClearAttachments" type="" overloaded="no">
30652 <autodoc>ClearAttachments(self)</autodoc>
30653 </method>
30654 <method name="Recentre" type="" overloaded="no">
30655 <autodoc>Recentre(self, DC dc)</autodoc>
30656 <paramlist>
30657 <param name="dc" type="DC" default=""/>
30658 </paramlist>
30659 </method>
30660 <method name="ClearPointList" type="" overloaded="no">
30661 <autodoc>ClearPointList(self, wxList list)</autodoc>
30662 <paramlist>
30663 <param name="list" type="wxList" default=""/>
30664 </paramlist>
30665 </method>
30666 <method name="GetBackgroundPen" type="Pen" overloaded="no">
30667 <autodoc>GetBackgroundPen(self) -&gt; wxPen</autodoc>
30668 </method>
30669 <method name="GetBackgroundBrush" type="Brush" overloaded="no">
30670 <autodoc>GetBackgroundBrush(self) -&gt; wxBrush</autodoc>
30671 </method>
30672 <method name="base_OnDelete" type="" overloaded="no">
30673 <autodoc>base_OnDelete(self)</autodoc>
30674 </method>
30675 <method name="base_OnDraw" type="" overloaded="no">
30676 <autodoc>base_OnDraw(self, DC dc)</autodoc>
30677 <paramlist>
30678 <param name="dc" type="DC" default=""/>
30679 </paramlist>
30680 </method>
30681 <method name="base_OnDrawContents" type="" overloaded="no">
30682 <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
30683 <paramlist>
30684 <param name="dc" type="DC" default=""/>
30685 </paramlist>
30686 </method>
30687 <method name="base_OnDrawBranches" type="" overloaded="no">
30688 <autodoc>base_OnDrawBranches(self, DC dc, bool erase=False)</autodoc>
30689 <paramlist>
30690 <param name="dc" type="DC" default=""/>
30691 <param name="erase" type="bool" default="False"/>
30692 </paramlist>
30693 </method>
30694 <method name="base_OnMoveLinks" type="" overloaded="no">
30695 <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
30696 <paramlist>
30697 <param name="dc" type="DC" default=""/>
30698 </paramlist>
30699 </method>
30700 <method name="base_OnErase" type="" overloaded="no">
30701 <autodoc>base_OnErase(self, DC dc)</autodoc>
30702 <paramlist>
30703 <param name="dc" type="DC" default=""/>
30704 </paramlist>
30705 </method>
30706 <method name="base_OnEraseContents" type="" overloaded="no">
30707 <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
30708 <paramlist>
30709 <param name="dc" type="DC" default=""/>
30710 </paramlist>
30711 </method>
30712 <method name="base_OnHighlight" type="" overloaded="no">
30713 <autodoc>base_OnHighlight(self, DC dc)</autodoc>
30714 <paramlist>
30715 <param name="dc" type="DC" default=""/>
30716 </paramlist>
30717 </method>
30718 <method name="base_OnLeftClick" type="" overloaded="no">
30719 <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
30720 <paramlist>
30721 <param name="x" type="double" default=""/>
30722 <param name="y" type="double" default=""/>
30723 <param name="keys" type="int" default="0"/>
30724 <param name="attachment" type="int" default="0"/>
30725 </paramlist>
30726 </method>
30727 <method name="base_OnLeftDoubleClick" type="" overloaded="no">
30728 <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
30729 <paramlist>
30730 <param name="x" type="double" default=""/>
30731 <param name="y" type="double" default=""/>
30732 <param name="keys" type="int" default="0"/>
30733 <param name="attachment" type="int" default="0"/>
30734 </paramlist>
30735 </method>
30736 <method name="base_OnRightClick" type="" overloaded="no">
30737 <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
30738 <paramlist>
30739 <param name="x" type="double" default=""/>
30740 <param name="y" type="double" default=""/>
30741 <param name="keys" type="int" default="0"/>
30742 <param name="attachment" type="int" default="0"/>
30743 </paramlist>
30744 </method>
30745 <method name="base_OnSize" type="" overloaded="no">
30746 <autodoc>base_OnSize(self, double x, double y)</autodoc>
30747 <paramlist>
30748 <param name="x" type="double" default=""/>
30749 <param name="y" type="double" default=""/>
30750 </paramlist>
30751 </method>
30752 <method name="base_OnMovePre" type="bool" overloaded="no">
30753 <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
30754 bool display=True) -&gt; bool</autodoc>
30755 <paramlist>
30756 <param name="dc" type="DC" default=""/>
30757 <param name="x" type="double" default=""/>
30758 <param name="y" type="double" default=""/>
30759 <param name="old_x" type="double" default=""/>
30760 <param name="old_y" type="double" default=""/>
30761 <param name="display" type="bool" default="True"/>
30762 </paramlist>
30763 </method>
30764 <method name="base_OnMovePost" type="" overloaded="no">
30765 <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
30766 bool display=True)</autodoc>
30767 <paramlist>
30768 <param name="dc" type="DC" default=""/>
30769 <param name="x" type="double" default=""/>
30770 <param name="y" type="double" default=""/>
30771 <param name="old_x" type="double" default=""/>
30772 <param name="old_y" type="double" default=""/>
30773 <param name="display" type="bool" default="True"/>
30774 </paramlist>
30775 </method>
30776 <method name="base_OnDragLeft" type="" overloaded="no">
30777 <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
30778 <paramlist>
30779 <param name="draw" type="bool" default=""/>
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_OnBeginDragLeft" type="" overloaded="no">
30787 <autodoc>base_OnBeginDragLeft(self, 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_OnEndDragLeft" type="" overloaded="no">
30796 <autodoc>base_OnEndDragLeft(self, 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_OnDragRight" type="" overloaded="no">
30805 <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
30806 <paramlist>
30807 <param name="draw" type="bool" default=""/>
30808 <param name="x" type="double" default=""/>
30809 <param name="y" type="double" default=""/>
30810 <param name="keys" type="int" default="0"/>
30811 <param name="attachment" type="int" default="0"/>
30812 </paramlist>
30813 </method>
30814 <method name="base_OnBeginDragRight" type="" overloaded="no">
30815 <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
30816 <paramlist>
30817 <param name="x" type="double" default=""/>
30818 <param name="y" type="double" default=""/>
30819 <param name="keys" type="int" default="0"/>
30820 <param name="attachment" type="int" default="0"/>
30821 </paramlist>
30822 </method>
30823 <method name="base_OnEndDragRight" type="" overloaded="no">
30824 <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
30825 <paramlist>
30826 <param name="x" type="double" default=""/>
30827 <param name="y" type="double" default=""/>
30828 <param name="keys" type="int" default="0"/>
30829 <param name="attachment" type="int" default="0"/>
30830 </paramlist>
30831 </method>
30832 <method name="base_OnDrawOutline" type="" overloaded="no">
30833 <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
30834 <paramlist>
30835 <param name="dc" type="DC" default=""/>
30836 <param name="x" type="double" default=""/>
30837 <param name="y" type="double" default=""/>
30838 <param name="w" type="double" default=""/>
30839 <param name="h" type="double" default=""/>
30840 </paramlist>
30841 </method>
30842 <method name="base_OnDrawControlPoints" type="" overloaded="no">
30843 <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
30844 <paramlist>
30845 <param name="dc" type="DC" default=""/>
30846 </paramlist>
30847 </method>
30848 <method name="base_OnEraseControlPoints" type="" overloaded="no">
30849 <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
30850 <paramlist>
30851 <param name="dc" type="DC" default=""/>
30852 </paramlist>
30853 </method>
30854 <method name="base_OnMoveLink" type="" overloaded="no">
30855 <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
30856 <paramlist>
30857 <param name="dc" type="DC" default=""/>
30858 <param name="moveControlPoints" type="bool" default="True"/>
30859 </paramlist>
30860 </method>
30861 <method name="base_OnSizingDragLeft" type="" overloaded="no">
30862 <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
30863 int attachment=0)</autodoc>
30864 <paramlist>
30865 <param name="pt" type="wxPyControlPoint" default=""/>
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_OnSizingBeginDragLeft" type="" overloaded="no">
30874 <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
30875 int attachment=0)</autodoc>
30876 <paramlist>
30877 <param name="pt" type="wxPyControlPoint" default=""/>
30878 <param name="x" type="double" default=""/>
30879 <param name="y" type="double" default=""/>
30880 <param name="keys" type="int" default="0"/>
30881 <param name="attachment" type="int" default="0"/>
30882 </paramlist>
30883 </method>
30884 <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
30885 <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
30886 int attachment=0)</autodoc>
30887 <paramlist>
30888 <param name="pt" type="wxPyControlPoint" default=""/>
30889 <param name="x" type="double" default=""/>
30890 <param name="y" type="double" default=""/>
30891 <param name="keys" type="int" default="0"/>
30892 <param name="attachment" type="int" default="0"/>
30893 </paramlist>
30894 </method>
30895 <method name="base_OnBeginSize" type="" overloaded="no">
30896 <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
30897 <paramlist>
30898 <param name="w" type="double" default=""/>
30899 <param name="h" type="double" default=""/>
30900 </paramlist>
30901 </method>
30902 <method name="base_OnEndSize" type="" overloaded="no">
30903 <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
30904 <paramlist>
30905 <param name="w" type="double" default=""/>
30906 <param name="h" type="double" default=""/>
30907 </paramlist>
30908 </method>
30909 </class>
30910 <class name="PseudoMetaFile" oldname="wxPseudoMetaFile" module="ogl">
30911 <baseclass name="Object"/>
30912 <constructor name="PseudoMetaFile" overloaded="no">
30913 <autodoc>__init__(self) -&gt; PseudoMetaFile</autodoc>
30914 </constructor>
30915 <destructor name="~wxPseudoMetaFile" overloaded="no">
30916 <autodoc>__del__(self)</autodoc>
30917 </destructor>
30918 <method name="Draw" type="" overloaded="no">
30919 <autodoc>Draw(self, DC dc, double xoffset, double yoffset)</autodoc>
30920 <paramlist>
30921 <param name="dc" type="DC" default=""/>
30922 <param name="xoffset" type="double" default=""/>
30923 <param name="yoffset" type="double" default=""/>
30924 </paramlist>
30925 </method>
30926 <method name="Clear" type="" overloaded="no">
30927 <autodoc>Clear(self)</autodoc>
30928 </method>
30929 <method name="Copy" type="" overloaded="no">
30930 <autodoc>Copy(self, PseudoMetaFile copy)</autodoc>
30931 <paramlist>
30932 <param name="copy" type="PseudoMetaFile" default=""/>
30933 </paramlist>
30934 </method>
30935 <method name="Scale" type="" overloaded="no">
30936 <autodoc>Scale(self, double sx, double sy)</autodoc>
30937 <paramlist>
30938 <param name="sx" type="double" default=""/>
30939 <param name="sy" type="double" default=""/>
30940 </paramlist>
30941 </method>
30942 <method name="ScaleTo" type="" overloaded="no">
30943 <autodoc>ScaleTo(self, double w, double h)</autodoc>
30944 <paramlist>
30945 <param name="w" type="double" default=""/>
30946 <param name="h" type="double" default=""/>
30947 </paramlist>
30948 </method>
30949 <method name="Translate" type="" overloaded="no">
30950 <autodoc>Translate(self, double x, double y)</autodoc>
30951 <paramlist>
30952 <param name="x" type="double" default=""/>
30953 <param name="y" type="double" default=""/>
30954 </paramlist>
30955 </method>
30956 <method name="Rotate" type="" overloaded="no">
30957 <autodoc>Rotate(self, double x, double y, double theta)</autodoc>
30958 <paramlist>
30959 <param name="x" type="double" default=""/>
30960 <param name="y" type="double" default=""/>
30961 <param name="theta" type="double" default=""/>
30962 </paramlist>
30963 </method>
30964 <method name="LoadFromMetaFile" type="bool" overloaded="no">
30965 <autodoc>LoadFromMetaFile(self, String filename, double width, double height) -&gt; bool</autodoc>
30966 <paramlist>
30967 <param name="filename" type="String" default=""/>
30968 <param name="width" type="double" default=""/>
30969 <param name="height" type="double" default=""/>
30970 </paramlist>
30971 </method>
30972 <method name="GetBounds" type="" overloaded="no">
30973 <autodoc>GetBounds(self, double minX, double minY, double maxX, double maxY)</autodoc>
30974 <paramlist>
30975 <param name="minX" type="double" default=""/>
30976 <param name="minY" type="double" default=""/>
30977 <param name="maxX" type="double" default=""/>
30978 <param name="maxY" type="double" default=""/>
30979 </paramlist>
30980 </method>
30981 <method name="CalculateSize" type="" overloaded="no">
30982 <autodoc>CalculateSize(self, PyDrawnShape shape)</autodoc>
30983 <paramlist>
30984 <param name="shape" type="wxPyDrawnShape" default=""/>
30985 </paramlist>
30986 </method>
30987 <method name="SetRotateable" type="" overloaded="no">
30988 <autodoc>SetRotateable(self, bool rot)</autodoc>
30989 <paramlist>
30990 <param name="rot" type="bool" default=""/>
30991 </paramlist>
30992 </method>
30993 <method name="GetRotateable" type="bool" overloaded="no">
30994 <autodoc>GetRotateable(self) -&gt; bool</autodoc>
30995 </method>
30996 <method name="SetSize" type="" overloaded="no">
30997 <autodoc>SetSize(self, double w, double h)</autodoc>
30998 <paramlist>
30999 <param name="w" type="double" default=""/>
31000 <param name="h" type="double" default=""/>
31001 </paramlist>
31002 </method>
31003 <method name="SetFillBrush" type="" overloaded="no">
31004 <autodoc>SetFillBrush(self, wxBrush brush)</autodoc>
31005 <paramlist>
31006 <param name="brush" type="Brush" default=""/>
31007 </paramlist>
31008 </method>
31009 <method name="GetFillBrush" type="Brush" overloaded="no">
31010 <autodoc>GetFillBrush(self) -&gt; wxBrush</autodoc>
31011 </method>
31012 <method name="SetOutlinePen" type="" overloaded="no">
31013 <autodoc>SetOutlinePen(self, wxPen pen)</autodoc>
31014 <paramlist>
31015 <param name="pen" type="Pen" default=""/>
31016 </paramlist>
31017 </method>
31018 <method name="GetOutlinePen" type="Pen" overloaded="no">
31019 <autodoc>GetOutlinePen(self) -&gt; wxPen</autodoc>
31020 </method>
31021 <method name="SetOutlineOp" type="" overloaded="no">
31022 <autodoc>SetOutlineOp(self, int op)</autodoc>
31023 <paramlist>
31024 <param name="op" type="int" default=""/>
31025 </paramlist>
31026 </method>
31027 <method name="GetOutlineOp" type="int" overloaded="no">
31028 <autodoc>GetOutlineOp(self) -&gt; int</autodoc>
31029 </method>
31030 <method name="IsValid" type="bool" overloaded="no">
31031 <autodoc>IsValid(self) -&gt; bool</autodoc>
31032 </method>
31033 <method name="DrawLine" type="" overloaded="no">
31034 <autodoc>DrawLine(self, Point pt1, Point pt2)</autodoc>
31035 <paramlist>
31036 <param name="pt1" type="Point" default=""/>
31037 <param name="pt2" type="Point" default=""/>
31038 </paramlist>
31039 </method>
31040 <method name="DrawRectangle" type="" overloaded="no">
31041 <autodoc>DrawRectangle(self, Rect rect)</autodoc>
31042 <paramlist>
31043 <param name="rect" type="Rect" default=""/>
31044 </paramlist>
31045 </method>
31046 <method name="DrawRoundedRectangle" type="" overloaded="no">
31047 <autodoc>DrawRoundedRectangle(self, Rect rect, double radius)</autodoc>
31048 <paramlist>
31049 <param name="rect" type="Rect" default=""/>
31050 <param name="radius" type="double" default=""/>
31051 </paramlist>
31052 </method>
31053 <method name="DrawArc" type="" overloaded="no">
31054 <autodoc>DrawArc(self, Point centrePt, Point startPt, Point endPt)</autodoc>
31055 <paramlist>
31056 <param name="centrePt" type="Point" default=""/>
31057 <param name="startPt" type="Point" default=""/>
31058 <param name="endPt" type="Point" default=""/>
31059 </paramlist>
31060 </method>
31061 <method name="DrawEllipticArc" type="" overloaded="no">
31062 <autodoc>DrawEllipticArc(self, Rect rect, double startAngle, double endAngle)</autodoc>
31063 <paramlist>
31064 <param name="rect" type="Rect" default=""/>
31065 <param name="startAngle" type="double" default=""/>
31066 <param name="endAngle" type="double" default=""/>
31067 </paramlist>
31068 </method>
31069 <method name="DrawEllipse" type="" overloaded="no">
31070 <autodoc>DrawEllipse(self, Rect rect)</autodoc>
31071 <paramlist>
31072 <param name="rect" type="Rect" default=""/>
31073 </paramlist>
31074 </method>
31075 <method name="DrawPoint" type="" overloaded="no">
31076 <autodoc>DrawPoint(self, Point pt)</autodoc>
31077 <paramlist>
31078 <param name="pt" type="Point" default=""/>
31079 </paramlist>
31080 </method>
31081 <method name="DrawText" type="" overloaded="no">
31082 <autodoc>DrawText(self, String text, Point pt)</autodoc>
31083 <paramlist>
31084 <param name="text" type="String" default=""/>
31085 <param name="pt" type="Point" default=""/>
31086 </paramlist>
31087 </method>
31088 <method name="DrawLines" type="" overloaded="no">
31089 <autodoc>DrawLines(self, int points, Point points_array)</autodoc>
31090 <paramlist>
31091 <param name="points" type="int" default=""/>
31092 <param name="points_array" type="Point" default=""/>
31093 </paramlist>
31094 </method>
31095 <method name="DrawPolygon" type="" overloaded="no">
31096 <autodoc>DrawPolygon(self, int points, Point points_array, int flags=0)</autodoc>
31097 <paramlist>
31098 <param name="points" type="int" default=""/>
31099 <param name="points_array" type="Point" default=""/>
31100 <param name="flags" type="int" default="0"/>
31101 </paramlist>
31102 </method>
31103 <method name="DrawSpline" type="" overloaded="no">
31104 <autodoc>DrawSpline(self, int points, Point points_array)</autodoc>
31105 <paramlist>
31106 <param name="points" type="int" default=""/>
31107 <param name="points_array" type="Point" default=""/>
31108 </paramlist>
31109 </method>
31110 <method name="SetClippingRect" type="" overloaded="no">
31111 <autodoc>SetClippingRect(self, Rect rect)</autodoc>
31112 <paramlist>
31113 <param name="rect" type="Rect" default=""/>
31114 </paramlist>
31115 </method>
31116 <method name="DestroyClippingRect" type="" overloaded="no">
31117 <autodoc>DestroyClippingRect(self)</autodoc>
31118 </method>
31119 <method name="SetPen" type="" overloaded="no">
31120 <autodoc>SetPen(self, wxPen pen, bool isOutline=FALSE)</autodoc>
31121 <paramlist>
31122 <param name="pen" type="Pen" default=""/>
31123 <param name="isOutline" type="bool" default="FALSE"/>
31124 </paramlist>
31125 </method>
31126 <method name="SetBrush" type="" overloaded="no">
31127 <autodoc>SetBrush(self, wxBrush brush, bool isFill=FALSE)</autodoc>
31128 <paramlist>
31129 <param name="brush" type="Brush" default=""/>
31130 <param name="isFill" type="bool" default="FALSE"/>
31131 </paramlist>
31132 </method>
31133 <method name="SetFont" type="" overloaded="no">
31134 <autodoc>SetFont(self, Font font)</autodoc>
31135 <paramlist>
31136 <param name="font" type="Font" default=""/>
31137 </paramlist>
31138 </method>
31139 <method name="SetTextColour" type="" overloaded="no">
31140 <autodoc>SetTextColour(self, Colour colour)</autodoc>
31141 <paramlist>
31142 <param name="colour" type="Colour" default=""/>
31143 </paramlist>
31144 </method>
31145 <method name="SetBackgroundColour" type="" overloaded="no">
31146 <autodoc>SetBackgroundColour(self, Colour colour)</autodoc>
31147 <paramlist>
31148 <param name="colour" type="Colour" default=""/>
31149 </paramlist>
31150 </method>
31151 <method name="SetBackgroundMode" type="" overloaded="no">
31152 <autodoc>SetBackgroundMode(self, int mode)</autodoc>
31153 <paramlist>
31154 <param name="mode" type="int" default=""/>
31155 </paramlist>
31156 </method>
31157 </class>
31158 <class name="PyRectangleShape" oldname="wxPyRectangleShape" module="ogl">
31159 <baseclass name="PyShape"/>
31160 <constructor name="PyRectangleShape" overloaded="no">
31161 <autodoc>__init__(self, double width=0.0, double height=0.0) -&gt; PyRectangleShape</autodoc>
31162 <paramlist>
31163 <param name="width" type="double" default="0.0"/>
31164 <param name="height" type="double" default="0.0"/>
31165 </paramlist>
31166 </constructor>
31167 <method name="_setCallbackInfo" type="" overloaded="no">
31168 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
31169 <paramlist>
31170 <param name="self" type="PyObject" default=""/>
31171 <param name="_class" type="PyObject" default=""/>
31172 </paramlist>
31173 </method>
31174 <method name="SetCornerRadius" type="" overloaded="no">
31175 <autodoc>SetCornerRadius(self, double radius)</autodoc>
31176 <paramlist>
31177 <param name="radius" type="double" default=""/>
31178 </paramlist>
31179 </method>
31180 <method name="GetCornerRadius" type="double" overloaded="no">
31181 <autodoc>GetCornerRadius(self) -&gt; double</autodoc>
31182 </method>
31183 <method name="base_OnDelete" type="" overloaded="no">
31184 <autodoc>base_OnDelete(self)</autodoc>
31185 </method>
31186 <method name="base_OnDraw" type="" overloaded="no">
31187 <autodoc>base_OnDraw(self, DC dc)</autodoc>
31188 <paramlist>
31189 <param name="dc" type="DC" default=""/>
31190 </paramlist>
31191 </method>
31192 <method name="base_OnDrawContents" type="" overloaded="no">
31193 <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
31194 <paramlist>
31195 <param name="dc" type="DC" default=""/>
31196 </paramlist>
31197 </method>
31198 <method name="base_OnDrawBranches" type="" overloaded="no">
31199 <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
31200 <paramlist>
31201 <param name="dc" type="DC" default=""/>
31202 <param name="erase" type="bool" default="FALSE"/>
31203 </paramlist>
31204 </method>
31205 <method name="base_OnMoveLinks" type="" overloaded="no">
31206 <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
31207 <paramlist>
31208 <param name="dc" type="DC" default=""/>
31209 </paramlist>
31210 </method>
31211 <method name="base_OnErase" type="" overloaded="no">
31212 <autodoc>base_OnErase(self, DC dc)</autodoc>
31213 <paramlist>
31214 <param name="dc" type="DC" default=""/>
31215 </paramlist>
31216 </method>
31217 <method name="base_OnEraseContents" type="" overloaded="no">
31218 <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
31219 <paramlist>
31220 <param name="dc" type="DC" default=""/>
31221 </paramlist>
31222 </method>
31223 <method name="base_OnHighlight" type="" overloaded="no">
31224 <autodoc>base_OnHighlight(self, DC dc)</autodoc>
31225 <paramlist>
31226 <param name="dc" type="DC" default=""/>
31227 </paramlist>
31228 </method>
31229 <method name="base_OnLeftClick" type="" overloaded="no">
31230 <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31231 <paramlist>
31232 <param name="x" type="double" default=""/>
31233 <param name="y" type="double" default=""/>
31234 <param name="keys" type="int" default="0"/>
31235 <param name="attachment" type="int" default="0"/>
31236 </paramlist>
31237 </method>
31238 <method name="base_OnLeftDoubleClick" type="" overloaded="no">
31239 <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31240 <paramlist>
31241 <param name="x" type="double" default=""/>
31242 <param name="y" type="double" default=""/>
31243 <param name="keys" type="int" default="0"/>
31244 <param name="attachment" type="int" default="0"/>
31245 </paramlist>
31246 </method>
31247 <method name="base_OnRightClick" type="" overloaded="no">
31248 <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31249 <paramlist>
31250 <param name="x" type="double" default=""/>
31251 <param name="y" type="double" default=""/>
31252 <param name="keys" type="int" default="0"/>
31253 <param name="attachment" type="int" default="0"/>
31254 </paramlist>
31255 </method>
31256 <method name="base_OnSize" type="" overloaded="no">
31257 <autodoc>base_OnSize(self, double x, double y)</autodoc>
31258 <paramlist>
31259 <param name="x" type="double" default=""/>
31260 <param name="y" type="double" default=""/>
31261 </paramlist>
31262 </method>
31263 <method name="base_OnMovePre" type="bool" overloaded="no">
31264 <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
31265 bool display=True) -&gt; bool</autodoc>
31266 <paramlist>
31267 <param name="dc" type="DC" default=""/>
31268 <param name="x" type="double" default=""/>
31269 <param name="y" type="double" default=""/>
31270 <param name="old_x" type="double" default=""/>
31271 <param name="old_y" type="double" default=""/>
31272 <param name="display" type="bool" default="True"/>
31273 </paramlist>
31274 </method>
31275 <method name="base_OnMovePost" type="" overloaded="no">
31276 <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
31277 bool display=True)</autodoc>
31278 <paramlist>
31279 <param name="dc" type="DC" default=""/>
31280 <param name="x" type="double" default=""/>
31281 <param name="y" type="double" default=""/>
31282 <param name="old_x" type="double" default=""/>
31283 <param name="old_y" type="double" default=""/>
31284 <param name="display" type="bool" default="True"/>
31285 </paramlist>
31286 </method>
31287 <method name="base_OnDragLeft" type="" overloaded="no">
31288 <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
31289 <paramlist>
31290 <param name="draw" type="bool" default=""/>
31291 <param name="x" type="double" default=""/>
31292 <param name="y" type="double" default=""/>
31293 <param name="keys" type="int" default="0"/>
31294 <param name="attachment" type="int" default="0"/>
31295 </paramlist>
31296 </method>
31297 <method name="base_OnBeginDragLeft" type="" overloaded="no">
31298 <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31299 <paramlist>
31300 <param name="x" type="double" default=""/>
31301 <param name="y" type="double" default=""/>
31302 <param name="keys" type="int" default="0"/>
31303 <param name="attachment" type="int" default="0"/>
31304 </paramlist>
31305 </method>
31306 <method name="base_OnEndDragLeft" type="" overloaded="no">
31307 <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31308 <paramlist>
31309 <param name="x" type="double" default=""/>
31310 <param name="y" type="double" default=""/>
31311 <param name="keys" type="int" default="0"/>
31312 <param name="attachment" type="int" default="0"/>
31313 </paramlist>
31314 </method>
31315 <method name="base_OnDragRight" type="" overloaded="no">
31316 <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
31317 <paramlist>
31318 <param name="draw" type="bool" default=""/>
31319 <param name="x" type="double" default=""/>
31320 <param name="y" type="double" default=""/>
31321 <param name="keys" type="int" default="0"/>
31322 <param name="attachment" type="int" default="0"/>
31323 </paramlist>
31324 </method>
31325 <method name="base_OnBeginDragRight" type="" overloaded="no">
31326 <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31327 <paramlist>
31328 <param name="x" type="double" default=""/>
31329 <param name="y" type="double" default=""/>
31330 <param name="keys" type="int" default="0"/>
31331 <param name="attachment" type="int" default="0"/>
31332 </paramlist>
31333 </method>
31334 <method name="base_OnEndDragRight" type="" overloaded="no">
31335 <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31336 <paramlist>
31337 <param name="x" type="double" default=""/>
31338 <param name="y" type="double" default=""/>
31339 <param name="keys" type="int" default="0"/>
31340 <param name="attachment" type="int" default="0"/>
31341 </paramlist>
31342 </method>
31343 <method name="base_OnDrawOutline" type="" overloaded="no">
31344 <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
31345 <paramlist>
31346 <param name="dc" type="DC" default=""/>
31347 <param name="x" type="double" default=""/>
31348 <param name="y" type="double" default=""/>
31349 <param name="w" type="double" default=""/>
31350 <param name="h" type="double" default=""/>
31351 </paramlist>
31352 </method>
31353 <method name="base_OnDrawControlPoints" type="" overloaded="no">
31354 <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
31355 <paramlist>
31356 <param name="dc" type="DC" default=""/>
31357 </paramlist>
31358 </method>
31359 <method name="base_OnEraseControlPoints" type="" overloaded="no">
31360 <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
31361 <paramlist>
31362 <param name="dc" type="DC" default=""/>
31363 </paramlist>
31364 </method>
31365 <method name="base_OnMoveLink" type="" overloaded="no">
31366 <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
31367 <paramlist>
31368 <param name="dc" type="DC" default=""/>
31369 <param name="moveControlPoints" type="bool" default="True"/>
31370 </paramlist>
31371 </method>
31372 <method name="base_OnSizingDragLeft" type="" overloaded="no">
31373 <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
31374 int attachment=0)</autodoc>
31375 <paramlist>
31376 <param name="pt" type="wxPyControlPoint" default=""/>
31377 <param name="draw" type="bool" default=""/>
31378 <param name="x" type="double" default=""/>
31379 <param name="y" type="double" default=""/>
31380 <param name="keys" type="int" default="0"/>
31381 <param name="attachment" type="int" default="0"/>
31382 </paramlist>
31383 </method>
31384 <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
31385 <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
31386 int attachment=0)</autodoc>
31387 <paramlist>
31388 <param name="pt" type="wxPyControlPoint" default=""/>
31389 <param name="x" type="double" default=""/>
31390 <param name="y" type="double" default=""/>
31391 <param name="keys" type="int" default="0"/>
31392 <param name="attachment" type="int" default="0"/>
31393 </paramlist>
31394 </method>
31395 <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
31396 <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
31397 int attachment=0)</autodoc>
31398 <paramlist>
31399 <param name="pt" type="wxPyControlPoint" default=""/>
31400 <param name="x" type="double" default=""/>
31401 <param name="y" type="double" default=""/>
31402 <param name="keys" type="int" default="0"/>
31403 <param name="attachment" type="int" default="0"/>
31404 </paramlist>
31405 </method>
31406 <method name="base_OnBeginSize" type="" overloaded="no">
31407 <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
31408 <paramlist>
31409 <param name="w" type="double" default=""/>
31410 <param name="h" type="double" default=""/>
31411 </paramlist>
31412 </method>
31413 <method name="base_OnEndSize" type="" overloaded="no">
31414 <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
31415 <paramlist>
31416 <param name="w" type="double" default=""/>
31417 <param name="h" type="double" default=""/>
31418 </paramlist>
31419 </method>
31420 </class>
31421 <class name="PyControlPoint" oldname="wxPyControlPoint" module="ogl">
31422 <baseclass name="PyRectangleShape"/>
31423 <constructor name="PyControlPoint" overloaded="no">
31424 <autodoc>__init__(self, PyShapeCanvas the_canvas=None, PyShape object=None,
31425 double size=0.0, double the_xoffset=0.0, double the_yoffset=0.0,
31426 int the_type=0) -&gt; PyControlPoint</autodoc>
31427 <paramlist>
31428 <param name="the_canvas" type="wxPyShapeCanvas" default="NULL"/>
31429 <param name="object" type="PyShape" default="NULL"/>
31430 <param name="size" type="double" default="0.0"/>
31431 <param name="the_xoffset" type="double" default="0.0"/>
31432 <param name="the_yoffset" type="double" default="0.0"/>
31433 <param name="the_type" type="int" default="0"/>
31434 </paramlist>
31435 </constructor>
31436 <method name="_setCallbackInfo" type="" overloaded="no">
31437 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
31438 <paramlist>
31439 <param name="self" type="PyObject" default=""/>
31440 <param name="_class" type="PyObject" default=""/>
31441 </paramlist>
31442 </method>
31443 <method name="SetCornerRadius" type="" overloaded="no">
31444 <autodoc>SetCornerRadius(self, double radius)</autodoc>
31445 <paramlist>
31446 <param name="radius" type="double" default=""/>
31447 </paramlist>
31448 </method>
31449 <method name="base_OnDelete" type="" overloaded="no">
31450 <autodoc>base_OnDelete(self)</autodoc>
31451 </method>
31452 <method name="base_OnDraw" type="" overloaded="no">
31453 <autodoc>base_OnDraw(self, DC dc)</autodoc>
31454 <paramlist>
31455 <param name="dc" type="DC" default=""/>
31456 </paramlist>
31457 </method>
31458 <method name="base_OnDrawContents" type="" overloaded="no">
31459 <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
31460 <paramlist>
31461 <param name="dc" type="DC" default=""/>
31462 </paramlist>
31463 </method>
31464 <method name="base_OnDrawBranches" type="" overloaded="no">
31465 <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
31466 <paramlist>
31467 <param name="dc" type="DC" default=""/>
31468 <param name="erase" type="bool" default="FALSE"/>
31469 </paramlist>
31470 </method>
31471 <method name="base_OnMoveLinks" type="" overloaded="no">
31472 <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
31473 <paramlist>
31474 <param name="dc" type="DC" default=""/>
31475 </paramlist>
31476 </method>
31477 <method name="base_OnErase" type="" overloaded="no">
31478 <autodoc>base_OnErase(self, DC dc)</autodoc>
31479 <paramlist>
31480 <param name="dc" type="DC" default=""/>
31481 </paramlist>
31482 </method>
31483 <method name="base_OnEraseContents" type="" overloaded="no">
31484 <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
31485 <paramlist>
31486 <param name="dc" type="DC" default=""/>
31487 </paramlist>
31488 </method>
31489 <method name="base_OnHighlight" type="" overloaded="no">
31490 <autodoc>base_OnHighlight(self, DC dc)</autodoc>
31491 <paramlist>
31492 <param name="dc" type="DC" default=""/>
31493 </paramlist>
31494 </method>
31495 <method name="base_OnLeftClick" type="" overloaded="no">
31496 <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31497 <paramlist>
31498 <param name="x" type="double" default=""/>
31499 <param name="y" type="double" default=""/>
31500 <param name="keys" type="int" default="0"/>
31501 <param name="attachment" type="int" default="0"/>
31502 </paramlist>
31503 </method>
31504 <method name="base_OnLeftDoubleClick" type="" overloaded="no">
31505 <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31506 <paramlist>
31507 <param name="x" type="double" default=""/>
31508 <param name="y" type="double" default=""/>
31509 <param name="keys" type="int" default="0"/>
31510 <param name="attachment" type="int" default="0"/>
31511 </paramlist>
31512 </method>
31513 <method name="base_OnRightClick" type="" overloaded="no">
31514 <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31515 <paramlist>
31516 <param name="x" type="double" default=""/>
31517 <param name="y" type="double" default=""/>
31518 <param name="keys" type="int" default="0"/>
31519 <param name="attachment" type="int" default="0"/>
31520 </paramlist>
31521 </method>
31522 <method name="base_OnSize" type="" overloaded="no">
31523 <autodoc>base_OnSize(self, double x, double y)</autodoc>
31524 <paramlist>
31525 <param name="x" type="double" default=""/>
31526 <param name="y" type="double" default=""/>
31527 </paramlist>
31528 </method>
31529 <method name="base_OnMovePre" type="bool" overloaded="no">
31530 <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
31531 bool display=True) -&gt; bool</autodoc>
31532 <paramlist>
31533 <param name="dc" type="DC" default=""/>
31534 <param name="x" type="double" default=""/>
31535 <param name="y" type="double" default=""/>
31536 <param name="old_x" type="double" default=""/>
31537 <param name="old_y" type="double" default=""/>
31538 <param name="display" type="bool" default="True"/>
31539 </paramlist>
31540 </method>
31541 <method name="base_OnMovePost" type="" overloaded="no">
31542 <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
31543 bool display=True)</autodoc>
31544 <paramlist>
31545 <param name="dc" type="DC" default=""/>
31546 <param name="x" type="double" default=""/>
31547 <param name="y" type="double" default=""/>
31548 <param name="old_x" type="double" default=""/>
31549 <param name="old_y" type="double" default=""/>
31550 <param name="display" type="bool" default="True"/>
31551 </paramlist>
31552 </method>
31553 <method name="base_OnDragLeft" type="" overloaded="no">
31554 <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
31555 <paramlist>
31556 <param name="draw" type="bool" default=""/>
31557 <param name="x" type="double" default=""/>
31558 <param name="y" type="double" default=""/>
31559 <param name="keys" type="int" default="0"/>
31560 <param name="attachment" type="int" default="0"/>
31561 </paramlist>
31562 </method>
31563 <method name="base_OnBeginDragLeft" type="" overloaded="no">
31564 <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31565 <paramlist>
31566 <param name="x" type="double" default=""/>
31567 <param name="y" type="double" default=""/>
31568 <param name="keys" type="int" default="0"/>
31569 <param name="attachment" type="int" default="0"/>
31570 </paramlist>
31571 </method>
31572 <method name="base_OnEndDragLeft" type="" overloaded="no">
31573 <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31574 <paramlist>
31575 <param name="x" type="double" default=""/>
31576 <param name="y" type="double" default=""/>
31577 <param name="keys" type="int" default="0"/>
31578 <param name="attachment" type="int" default="0"/>
31579 </paramlist>
31580 </method>
31581 <method name="base_OnDragRight" type="" overloaded="no">
31582 <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
31583 <paramlist>
31584 <param name="draw" type="bool" default=""/>
31585 <param name="x" type="double" default=""/>
31586 <param name="y" type="double" default=""/>
31587 <param name="keys" type="int" default="0"/>
31588 <param name="attachment" type="int" default="0"/>
31589 </paramlist>
31590 </method>
31591 <method name="base_OnBeginDragRight" type="" overloaded="no">
31592 <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31593 <paramlist>
31594 <param name="x" type="double" default=""/>
31595 <param name="y" type="double" default=""/>
31596 <param name="keys" type="int" default="0"/>
31597 <param name="attachment" type="int" default="0"/>
31598 </paramlist>
31599 </method>
31600 <method name="base_OnEndDragRight" type="" overloaded="no">
31601 <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31602 <paramlist>
31603 <param name="x" type="double" default=""/>
31604 <param name="y" type="double" default=""/>
31605 <param name="keys" type="int" default="0"/>
31606 <param name="attachment" type="int" default="0"/>
31607 </paramlist>
31608 </method>
31609 <method name="base_OnDrawOutline" type="" overloaded="no">
31610 <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
31611 <paramlist>
31612 <param name="dc" type="DC" default=""/>
31613 <param name="x" type="double" default=""/>
31614 <param name="y" type="double" default=""/>
31615 <param name="w" type="double" default=""/>
31616 <param name="h" type="double" default=""/>
31617 </paramlist>
31618 </method>
31619 <method name="base_OnDrawControlPoints" type="" overloaded="no">
31620 <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
31621 <paramlist>
31622 <param name="dc" type="DC" default=""/>
31623 </paramlist>
31624 </method>
31625 <method name="base_OnEraseControlPoints" type="" overloaded="no">
31626 <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
31627 <paramlist>
31628 <param name="dc" type="DC" default=""/>
31629 </paramlist>
31630 </method>
31631 <method name="base_OnMoveLink" type="" overloaded="no">
31632 <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
31633 <paramlist>
31634 <param name="dc" type="DC" default=""/>
31635 <param name="moveControlPoints" type="bool" default="True"/>
31636 </paramlist>
31637 </method>
31638 <method name="base_OnSizingDragLeft" type="" overloaded="no">
31639 <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
31640 int attachment=0)</autodoc>
31641 <paramlist>
31642 <param name="pt" type="PyControlPoint" default=""/>
31643 <param name="draw" type="bool" default=""/>
31644 <param name="x" type="double" default=""/>
31645 <param name="y" type="double" default=""/>
31646 <param name="keys" type="int" default="0"/>
31647 <param name="attachment" type="int" default="0"/>
31648 </paramlist>
31649 </method>
31650 <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
31651 <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
31652 int attachment=0)</autodoc>
31653 <paramlist>
31654 <param name="pt" type="PyControlPoint" default=""/>
31655 <param name="x" type="double" default=""/>
31656 <param name="y" type="double" default=""/>
31657 <param name="keys" type="int" default="0"/>
31658 <param name="attachment" type="int" default="0"/>
31659 </paramlist>
31660 </method>
31661 <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
31662 <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
31663 int attachment=0)</autodoc>
31664 <paramlist>
31665 <param name="pt" type="PyControlPoint" default=""/>
31666 <param name="x" type="double" default=""/>
31667 <param name="y" type="double" default=""/>
31668 <param name="keys" type="int" default="0"/>
31669 <param name="attachment" type="int" default="0"/>
31670 </paramlist>
31671 </method>
31672 <method name="base_OnBeginSize" type="" overloaded="no">
31673 <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
31674 <paramlist>
31675 <param name="w" type="double" default=""/>
31676 <param name="h" type="double" default=""/>
31677 </paramlist>
31678 </method>
31679 <method name="base_OnEndSize" type="" overloaded="no">
31680 <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
31681 <paramlist>
31682 <param name="w" type="double" default=""/>
31683 <param name="h" type="double" default=""/>
31684 </paramlist>
31685 </method>
31686 </class>
31687 <class name="PyBitmapShape" oldname="wxPyBitmapShape" module="ogl">
31688 <baseclass name="PyRectangleShape"/>
31689 <constructor name="PyBitmapShape" overloaded="no">
31690 <autodoc>__init__(self) -&gt; PyBitmapShape</autodoc>
31691 </constructor>
31692 <method name="_setCallbackInfo" type="" overloaded="no">
31693 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
31694 <paramlist>
31695 <param name="self" type="PyObject" default=""/>
31696 <param name="_class" type="PyObject" default=""/>
31697 </paramlist>
31698 </method>
31699 <method name="GetBitmap" type="Bitmap" overloaded="no">
31700 <autodoc>GetBitmap(self) -&gt; Bitmap</autodoc>
31701 </method>
31702 <method name="GetFilename" type="String" overloaded="no">
31703 <autodoc>GetFilename(self) -&gt; String</autodoc>
31704 </method>
31705 <method name="SetBitmap" type="" overloaded="no">
31706 <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc>
31707 <paramlist>
31708 <param name="bitmap" type="Bitmap" default=""/>
31709 </paramlist>
31710 </method>
31711 <method name="SetFilename" type="" overloaded="no">
31712 <autodoc>SetFilename(self, String filename)</autodoc>
31713 <paramlist>
31714 <param name="filename" type="String" default=""/>
31715 </paramlist>
31716 </method>
31717 <method name="base_OnDelete" type="" overloaded="no">
31718 <autodoc>base_OnDelete(self)</autodoc>
31719 </method>
31720 <method name="base_OnDraw" type="" overloaded="no">
31721 <autodoc>base_OnDraw(self, DC dc)</autodoc>
31722 <paramlist>
31723 <param name="dc" type="DC" default=""/>
31724 </paramlist>
31725 </method>
31726 <method name="base_OnDrawContents" type="" overloaded="no">
31727 <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
31728 <paramlist>
31729 <param name="dc" type="DC" default=""/>
31730 </paramlist>
31731 </method>
31732 <method name="base_OnDrawBranches" type="" overloaded="no">
31733 <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
31734 <paramlist>
31735 <param name="dc" type="DC" default=""/>
31736 <param name="erase" type="bool" default="FALSE"/>
31737 </paramlist>
31738 </method>
31739 <method name="base_OnMoveLinks" type="" overloaded="no">
31740 <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
31741 <paramlist>
31742 <param name="dc" type="DC" default=""/>
31743 </paramlist>
31744 </method>
31745 <method name="base_OnErase" type="" overloaded="no">
31746 <autodoc>base_OnErase(self, DC dc)</autodoc>
31747 <paramlist>
31748 <param name="dc" type="DC" default=""/>
31749 </paramlist>
31750 </method>
31751 <method name="base_OnEraseContents" type="" overloaded="no">
31752 <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
31753 <paramlist>
31754 <param name="dc" type="DC" default=""/>
31755 </paramlist>
31756 </method>
31757 <method name="base_OnHighlight" type="" overloaded="no">
31758 <autodoc>base_OnHighlight(self, DC dc)</autodoc>
31759 <paramlist>
31760 <param name="dc" type="DC" default=""/>
31761 </paramlist>
31762 </method>
31763 <method name="base_OnLeftClick" type="" overloaded="no">
31764 <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31765 <paramlist>
31766 <param name="x" type="double" default=""/>
31767 <param name="y" type="double" default=""/>
31768 <param name="keys" type="int" default="0"/>
31769 <param name="attachment" type="int" default="0"/>
31770 </paramlist>
31771 </method>
31772 <method name="base_OnLeftDoubleClick" type="" overloaded="no">
31773 <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31774 <paramlist>
31775 <param name="x" type="double" default=""/>
31776 <param name="y" type="double" default=""/>
31777 <param name="keys" type="int" default="0"/>
31778 <param name="attachment" type="int" default="0"/>
31779 </paramlist>
31780 </method>
31781 <method name="base_OnRightClick" type="" overloaded="no">
31782 <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31783 <paramlist>
31784 <param name="x" type="double" default=""/>
31785 <param name="y" type="double" default=""/>
31786 <param name="keys" type="int" default="0"/>
31787 <param name="attachment" type="int" default="0"/>
31788 </paramlist>
31789 </method>
31790 <method name="base_OnSize" type="" overloaded="no">
31791 <autodoc>base_OnSize(self, double x, double y)</autodoc>
31792 <paramlist>
31793 <param name="x" type="double" default=""/>
31794 <param name="y" type="double" default=""/>
31795 </paramlist>
31796 </method>
31797 <method name="base_OnMovePre" type="bool" overloaded="no">
31798 <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
31799 bool display=True) -&gt; bool</autodoc>
31800 <paramlist>
31801 <param name="dc" type="DC" default=""/>
31802 <param name="x" type="double" default=""/>
31803 <param name="y" type="double" default=""/>
31804 <param name="old_x" type="double" default=""/>
31805 <param name="old_y" type="double" default=""/>
31806 <param name="display" type="bool" default="True"/>
31807 </paramlist>
31808 </method>
31809 <method name="base_OnMovePost" type="" overloaded="no">
31810 <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
31811 bool display=True)</autodoc>
31812 <paramlist>
31813 <param name="dc" type="DC" default=""/>
31814 <param name="x" type="double" default=""/>
31815 <param name="y" type="double" default=""/>
31816 <param name="old_x" type="double" default=""/>
31817 <param name="old_y" type="double" default=""/>
31818 <param name="display" type="bool" default="True"/>
31819 </paramlist>
31820 </method>
31821 <method name="base_OnDragLeft" type="" overloaded="no">
31822 <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
31823 <paramlist>
31824 <param name="draw" type="bool" default=""/>
31825 <param name="x" type="double" default=""/>
31826 <param name="y" type="double" default=""/>
31827 <param name="keys" type="int" default="0"/>
31828 <param name="attachment" type="int" default="0"/>
31829 </paramlist>
31830 </method>
31831 <method name="base_OnBeginDragLeft" type="" overloaded="no">
31832 <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31833 <paramlist>
31834 <param name="x" type="double" default=""/>
31835 <param name="y" type="double" default=""/>
31836 <param name="keys" type="int" default="0"/>
31837 <param name="attachment" type="int" default="0"/>
31838 </paramlist>
31839 </method>
31840 <method name="base_OnEndDragLeft" type="" overloaded="no">
31841 <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31842 <paramlist>
31843 <param name="x" type="double" default=""/>
31844 <param name="y" type="double" default=""/>
31845 <param name="keys" type="int" default="0"/>
31846 <param name="attachment" type="int" default="0"/>
31847 </paramlist>
31848 </method>
31849 <method name="base_OnDragRight" type="" overloaded="no">
31850 <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
31851 <paramlist>
31852 <param name="draw" type="bool" default=""/>
31853 <param name="x" type="double" default=""/>
31854 <param name="y" type="double" default=""/>
31855 <param name="keys" type="int" default="0"/>
31856 <param name="attachment" type="int" default="0"/>
31857 </paramlist>
31858 </method>
31859 <method name="base_OnBeginDragRight" type="" overloaded="no">
31860 <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31861 <paramlist>
31862 <param name="x" type="double" default=""/>
31863 <param name="y" type="double" default=""/>
31864 <param name="keys" type="int" default="0"/>
31865 <param name="attachment" type="int" default="0"/>
31866 </paramlist>
31867 </method>
31868 <method name="base_OnEndDragRight" type="" overloaded="no">
31869 <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
31870 <paramlist>
31871 <param name="x" type="double" default=""/>
31872 <param name="y" type="double" default=""/>
31873 <param name="keys" type="int" default="0"/>
31874 <param name="attachment" type="int" default="0"/>
31875 </paramlist>
31876 </method>
31877 <method name="base_OnDrawOutline" type="" overloaded="no">
31878 <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
31879 <paramlist>
31880 <param name="dc" type="DC" default=""/>
31881 <param name="x" type="double" default=""/>
31882 <param name="y" type="double" default=""/>
31883 <param name="w" type="double" default=""/>
31884 <param name="h" type="double" default=""/>
31885 </paramlist>
31886 </method>
31887 <method name="base_OnDrawControlPoints" type="" overloaded="no">
31888 <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
31889 <paramlist>
31890 <param name="dc" type="DC" default=""/>
31891 </paramlist>
31892 </method>
31893 <method name="base_OnEraseControlPoints" type="" overloaded="no">
31894 <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
31895 <paramlist>
31896 <param name="dc" type="DC" default=""/>
31897 </paramlist>
31898 </method>
31899 <method name="base_OnMoveLink" type="" overloaded="no">
31900 <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
31901 <paramlist>
31902 <param name="dc" type="DC" default=""/>
31903 <param name="moveControlPoints" type="bool" default="True"/>
31904 </paramlist>
31905 </method>
31906 <method name="base_OnSizingDragLeft" type="" overloaded="no">
31907 <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
31908 int attachment=0)</autodoc>
31909 <paramlist>
31910 <param name="pt" type="PyControlPoint" default=""/>
31911 <param name="draw" type="bool" default=""/>
31912 <param name="x" type="double" default=""/>
31913 <param name="y" type="double" default=""/>
31914 <param name="keys" type="int" default="0"/>
31915 <param name="attachment" type="int" default="0"/>
31916 </paramlist>
31917 </method>
31918 <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
31919 <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
31920 int attachment=0)</autodoc>
31921 <paramlist>
31922 <param name="pt" type="PyControlPoint" default=""/>
31923 <param name="x" type="double" default=""/>
31924 <param name="y" type="double" default=""/>
31925 <param name="keys" type="int" default="0"/>
31926 <param name="attachment" type="int" default="0"/>
31927 </paramlist>
31928 </method>
31929 <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
31930 <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
31931 int attachment=0)</autodoc>
31932 <paramlist>
31933 <param name="pt" type="PyControlPoint" default=""/>
31934 <param name="x" type="double" default=""/>
31935 <param name="y" type="double" default=""/>
31936 <param name="keys" type="int" default="0"/>
31937 <param name="attachment" type="int" default="0"/>
31938 </paramlist>
31939 </method>
31940 <method name="base_OnBeginSize" type="" overloaded="no">
31941 <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
31942 <paramlist>
31943 <param name="w" type="double" default=""/>
31944 <param name="h" type="double" default=""/>
31945 </paramlist>
31946 </method>
31947 <method name="base_OnEndSize" type="" overloaded="no">
31948 <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
31949 <paramlist>
31950 <param name="w" type="double" default=""/>
31951 <param name="h" type="double" default=""/>
31952 </paramlist>
31953 </method>
31954 </class>
31955 <class name="PyDrawnShape" oldname="wxPyDrawnShape" module="ogl">
31956 <baseclass name="PyRectangleShape"/>
31957 <constructor name="PyDrawnShape" overloaded="no">
31958 <autodoc>__init__(self) -&gt; PyDrawnShape</autodoc>
31959 </constructor>
31960 <method name="_setCallbackInfo" type="" overloaded="no">
31961 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
31962 <paramlist>
31963 <param name="self" type="PyObject" default=""/>
31964 <param name="_class" type="PyObject" default=""/>
31965 </paramlist>
31966 </method>
31967 <method name="CalculateSize" type="" overloaded="no">
31968 <autodoc>CalculateSize(self)</autodoc>
31969 </method>
31970 <method name="DestroyClippingRect" type="" overloaded="no">
31971 <autodoc>DestroyClippingRect(self)</autodoc>
31972 </method>
31973 <method name="DrawArc" type="" overloaded="no">
31974 <autodoc>DrawArc(self, Point centrePoint, Point startPoint, Point endPoint)</autodoc>
31975 <paramlist>
31976 <param name="centrePoint" type="Point" default=""/>
31977 <param name="startPoint" type="Point" default=""/>
31978 <param name="endPoint" type="Point" default=""/>
31979 </paramlist>
31980 </method>
31981 <method name="DrawAtAngle" type="" overloaded="no">
31982 <autodoc>DrawAtAngle(self, int angle)</autodoc>
31983 <paramlist>
31984 <param name="angle" type="int" default=""/>
31985 </paramlist>
31986 </method>
31987 <method name="DrawEllipticArc" type="" overloaded="no">
31988 <autodoc>DrawEllipticArc(self, Rect rect, double startAngle, double endAngle)</autodoc>
31989 <paramlist>
31990 <param name="rect" type="Rect" default=""/>
31991 <param name="startAngle" type="double" default=""/>
31992 <param name="endAngle" type="double" default=""/>
31993 </paramlist>
31994 </method>
31995 <method name="DrawLine" type="" overloaded="no">
31996 <autodoc>DrawLine(self, Point point1, Point point2)</autodoc>
31997 <paramlist>
31998 <param name="point1" type="Point" default=""/>
31999 <param name="point2" type="Point" default=""/>
32000 </paramlist>
32001 </method>
32002 <method name="DrawLines" type="" overloaded="no">
32003 <autodoc>DrawLines(self, int points, Point points_array)</autodoc>
32004 <paramlist>
32005 <param name="points" type="int" default=""/>
32006 <param name="points_array" type="Point" default=""/>
32007 </paramlist>
32008 </method>
32009 <method name="DrawPoint" type="" overloaded="no">
32010 <autodoc>DrawPoint(self, Point point)</autodoc>
32011 <paramlist>
32012 <param name="point" type="Point" default=""/>
32013 </paramlist>
32014 </method>
32015 <method name="DrawPolygon" type="" overloaded="no">
32016 <autodoc>DrawPolygon(self, int points, Point points_array, int flags=0)</autodoc>
32017 <paramlist>
32018 <param name="points" type="int" default=""/>
32019 <param name="points_array" type="Point" default=""/>
32020 <param name="flags" type="int" default="0"/>
32021 </paramlist>
32022 </method>
32023 <method name="DrawRectangle" type="" overloaded="no">
32024 <autodoc>DrawRectangle(self, Rect rect)</autodoc>
32025 <paramlist>
32026 <param name="rect" type="Rect" default=""/>
32027 </paramlist>
32028 </method>
32029 <method name="DrawRoundedRectangle" type="" overloaded="no">
32030 <autodoc>DrawRoundedRectangle(self, Rect rect, double radius)</autodoc>
32031 <paramlist>
32032 <param name="rect" type="Rect" default=""/>
32033 <param name="radius" type="double" default=""/>
32034 </paramlist>
32035 </method>
32036 <method name="DrawSpline" type="" overloaded="no">
32037 <autodoc>DrawSpline(self, int points, Point points_array)</autodoc>
32038 <paramlist>
32039 <param name="points" type="int" default=""/>
32040 <param name="points_array" type="Point" default=""/>
32041 </paramlist>
32042 </method>
32043 <method name="DrawText" type="" overloaded="no">
32044 <autodoc>DrawText(self, String text, Point point)</autodoc>
32045 <paramlist>
32046 <param name="text" type="String" default=""/>
32047 <param name="point" type="Point" default=""/>
32048 </paramlist>
32049 </method>
32050 <method name="GetAngle" type="int" overloaded="no">
32051 <autodoc>GetAngle(self) -&gt; int</autodoc>
32052 </method>
32053 <method name="GetMetaFile" type="PseudoMetaFile" overloaded="no">
32054 <autodoc>GetMetaFile(self) -&gt; PseudoMetaFile</autodoc>
32055 </method>
32056 <method name="GetRotation" type="double" overloaded="no">
32057 <autodoc>GetRotation(self) -&gt; double</autodoc>
32058 </method>
32059 <method name="LoadFromMetaFile" type="bool" overloaded="no">
32060 <autodoc>LoadFromMetaFile(self, String filename) -&gt; bool</autodoc>
32061 <paramlist>
32062 <param name="filename" type="String" default=""/>
32063 </paramlist>
32064 </method>
32065 <method name="Rotate" type="" overloaded="no">
32066 <autodoc>Rotate(self, double x, double y, double theta)</autodoc>
32067 <paramlist>
32068 <param name="x" type="double" default=""/>
32069 <param name="y" type="double" default=""/>
32070 <param name="theta" type="double" default=""/>
32071 </paramlist>
32072 </method>
32073 <method name="SetClippingRect" type="" overloaded="no">
32074 <autodoc>SetClippingRect(self, Rect rect)</autodoc>
32075 <paramlist>
32076 <param name="rect" type="Rect" default=""/>
32077 </paramlist>
32078 </method>
32079 <method name="SetDrawnBackgroundColour" type="" overloaded="no">
32080 <autodoc>SetDrawnBackgroundColour(self, Colour colour)</autodoc>
32081 <paramlist>
32082 <param name="colour" type="Colour" default=""/>
32083 </paramlist>
32084 </method>
32085 <method name="SetDrawnBackgroundMode" type="" overloaded="no">
32086 <autodoc>SetDrawnBackgroundMode(self, int mode)</autodoc>
32087 <paramlist>
32088 <param name="mode" type="int" default=""/>
32089 </paramlist>
32090 </method>
32091 <method name="SetDrawnBrush" type="" overloaded="no">
32092 <autodoc>SetDrawnBrush(self, wxBrush pen, bool isOutline=FALSE)</autodoc>
32093 <paramlist>
32094 <param name="pen" type="Brush" default=""/>
32095 <param name="isOutline" type="bool" default="FALSE"/>
32096 </paramlist>
32097 </method>
32098 <method name="SetDrawnFont" type="" overloaded="no">
32099 <autodoc>SetDrawnFont(self, Font font)</autodoc>
32100 <paramlist>
32101 <param name="font" type="Font" default=""/>
32102 </paramlist>
32103 </method>
32104 <method name="SetDrawnPen" type="" overloaded="no">
32105 <autodoc>SetDrawnPen(self, wxPen pen, bool isOutline=FALSE)</autodoc>
32106 <paramlist>
32107 <param name="pen" type="Pen" default=""/>
32108 <param name="isOutline" type="bool" default="FALSE"/>
32109 </paramlist>
32110 </method>
32111 <method name="SetDrawnTextColour" type="" overloaded="no">
32112 <autodoc>SetDrawnTextColour(self, Colour colour)</autodoc>
32113 <paramlist>
32114 <param name="colour" type="Colour" default=""/>
32115 </paramlist>
32116 </method>
32117 <method name="Scale" type="" overloaded="no">
32118 <autodoc>Scale(self, double sx, double sy)</autodoc>
32119 <paramlist>
32120 <param name="sx" type="double" default=""/>
32121 <param name="sy" type="double" default=""/>
32122 </paramlist>
32123 </method>
32124 <method name="SetSaveToFile" type="" overloaded="no">
32125 <autodoc>SetSaveToFile(self, bool save)</autodoc>
32126 <paramlist>
32127 <param name="save" type="bool" default=""/>
32128 </paramlist>
32129 </method>
32130 <method name="Translate" type="" overloaded="no">
32131 <autodoc>Translate(self, double x, double y)</autodoc>
32132 <paramlist>
32133 <param name="x" type="double" default=""/>
32134 <param name="y" type="double" default=""/>
32135 </paramlist>
32136 </method>
32137 <method name="base_OnDelete" type="" overloaded="no">
32138 <autodoc>base_OnDelete(self)</autodoc>
32139 </method>
32140 <method name="base_OnDraw" type="" overloaded="no">
32141 <autodoc>base_OnDraw(self, DC dc)</autodoc>
32142 <paramlist>
32143 <param name="dc" type="DC" default=""/>
32144 </paramlist>
32145 </method>
32146 <method name="base_OnDrawContents" type="" overloaded="no">
32147 <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
32148 <paramlist>
32149 <param name="dc" type="DC" default=""/>
32150 </paramlist>
32151 </method>
32152 <method name="base_OnDrawBranches" type="" overloaded="no">
32153 <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
32154 <paramlist>
32155 <param name="dc" type="DC" default=""/>
32156 <param name="erase" type="bool" default="FALSE"/>
32157 </paramlist>
32158 </method>
32159 <method name="base_OnMoveLinks" type="" overloaded="no">
32160 <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
32161 <paramlist>
32162 <param name="dc" type="DC" default=""/>
32163 </paramlist>
32164 </method>
32165 <method name="base_OnErase" type="" overloaded="no">
32166 <autodoc>base_OnErase(self, DC dc)</autodoc>
32167 <paramlist>
32168 <param name="dc" type="DC" default=""/>
32169 </paramlist>
32170 </method>
32171 <method name="base_OnEraseContents" type="" overloaded="no">
32172 <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
32173 <paramlist>
32174 <param name="dc" type="DC" default=""/>
32175 </paramlist>
32176 </method>
32177 <method name="base_OnHighlight" type="" overloaded="no">
32178 <autodoc>base_OnHighlight(self, DC dc)</autodoc>
32179 <paramlist>
32180 <param name="dc" type="DC" default=""/>
32181 </paramlist>
32182 </method>
32183 <method name="base_OnLeftClick" type="" overloaded="no">
32184 <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32185 <paramlist>
32186 <param name="x" type="double" default=""/>
32187 <param name="y" type="double" default=""/>
32188 <param name="keys" type="int" default="0"/>
32189 <param name="attachment" type="int" default="0"/>
32190 </paramlist>
32191 </method>
32192 <method name="base_OnLeftDoubleClick" type="" overloaded="no">
32193 <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32194 <paramlist>
32195 <param name="x" type="double" default=""/>
32196 <param name="y" type="double" default=""/>
32197 <param name="keys" type="int" default="0"/>
32198 <param name="attachment" type="int" default="0"/>
32199 </paramlist>
32200 </method>
32201 <method name="base_OnRightClick" type="" overloaded="no">
32202 <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32203 <paramlist>
32204 <param name="x" type="double" default=""/>
32205 <param name="y" type="double" default=""/>
32206 <param name="keys" type="int" default="0"/>
32207 <param name="attachment" type="int" default="0"/>
32208 </paramlist>
32209 </method>
32210 <method name="base_OnSize" type="" overloaded="no">
32211 <autodoc>base_OnSize(self, double x, double y)</autodoc>
32212 <paramlist>
32213 <param name="x" type="double" default=""/>
32214 <param name="y" type="double" default=""/>
32215 </paramlist>
32216 </method>
32217 <method name="base_OnMovePre" type="bool" overloaded="no">
32218 <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
32219 bool display=True) -&gt; bool</autodoc>
32220 <paramlist>
32221 <param name="dc" type="DC" default=""/>
32222 <param name="x" type="double" default=""/>
32223 <param name="y" type="double" default=""/>
32224 <param name="old_x" type="double" default=""/>
32225 <param name="old_y" type="double" default=""/>
32226 <param name="display" type="bool" default="True"/>
32227 </paramlist>
32228 </method>
32229 <method name="base_OnMovePost" type="" overloaded="no">
32230 <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
32231 bool display=True)</autodoc>
32232 <paramlist>
32233 <param name="dc" type="DC" default=""/>
32234 <param name="x" type="double" default=""/>
32235 <param name="y" type="double" default=""/>
32236 <param name="old_x" type="double" default=""/>
32237 <param name="old_y" type="double" default=""/>
32238 <param name="display" type="bool" default="True"/>
32239 </paramlist>
32240 </method>
32241 <method name="base_OnDragLeft" type="" overloaded="no">
32242 <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
32243 <paramlist>
32244 <param name="draw" type="bool" 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_OnBeginDragLeft" type="" overloaded="no">
32252 <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32253 <paramlist>
32254 <param name="x" type="double" default=""/>
32255 <param name="y" type="double" default=""/>
32256 <param name="keys" type="int" default="0"/>
32257 <param name="attachment" type="int" default="0"/>
32258 </paramlist>
32259 </method>
32260 <method name="base_OnEndDragLeft" type="" overloaded="no">
32261 <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32262 <paramlist>
32263 <param name="x" type="double" default=""/>
32264 <param name="y" type="double" default=""/>
32265 <param name="keys" type="int" default="0"/>
32266 <param name="attachment" type="int" default="0"/>
32267 </paramlist>
32268 </method>
32269 <method name="base_OnDragRight" type="" overloaded="no">
32270 <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
32271 <paramlist>
32272 <param name="draw" type="bool" default=""/>
32273 <param name="x" type="double" default=""/>
32274 <param name="y" type="double" default=""/>
32275 <param name="keys" type="int" default="0"/>
32276 <param name="attachment" type="int" default="0"/>
32277 </paramlist>
32278 </method>
32279 <method name="base_OnBeginDragRight" type="" overloaded="no">
32280 <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32281 <paramlist>
32282 <param name="x" type="double" default=""/>
32283 <param name="y" type="double" default=""/>
32284 <param name="keys" type="int" default="0"/>
32285 <param name="attachment" type="int" default="0"/>
32286 </paramlist>
32287 </method>
32288 <method name="base_OnEndDragRight" type="" overloaded="no">
32289 <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32290 <paramlist>
32291 <param name="x" type="double" default=""/>
32292 <param name="y" type="double" default=""/>
32293 <param name="keys" type="int" default="0"/>
32294 <param name="attachment" type="int" default="0"/>
32295 </paramlist>
32296 </method>
32297 <method name="base_OnDrawOutline" type="" overloaded="no">
32298 <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
32299 <paramlist>
32300 <param name="dc" type="DC" default=""/>
32301 <param name="x" type="double" default=""/>
32302 <param name="y" type="double" default=""/>
32303 <param name="w" type="double" default=""/>
32304 <param name="h" type="double" default=""/>
32305 </paramlist>
32306 </method>
32307 <method name="base_OnDrawControlPoints" type="" overloaded="no">
32308 <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
32309 <paramlist>
32310 <param name="dc" type="DC" default=""/>
32311 </paramlist>
32312 </method>
32313 <method name="base_OnEraseControlPoints" type="" overloaded="no">
32314 <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
32315 <paramlist>
32316 <param name="dc" type="DC" default=""/>
32317 </paramlist>
32318 </method>
32319 <method name="base_OnMoveLink" type="" overloaded="no">
32320 <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
32321 <paramlist>
32322 <param name="dc" type="DC" default=""/>
32323 <param name="moveControlPoints" type="bool" default="True"/>
32324 </paramlist>
32325 </method>
32326 <method name="base_OnSizingDragLeft" type="" overloaded="no">
32327 <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
32328 int attachment=0)</autodoc>
32329 <paramlist>
32330 <param name="pt" type="PyControlPoint" default=""/>
32331 <param name="draw" type="bool" default=""/>
32332 <param name="x" type="double" default=""/>
32333 <param name="y" type="double" default=""/>
32334 <param name="keys" type="int" default="0"/>
32335 <param name="attachment" type="int" default="0"/>
32336 </paramlist>
32337 </method>
32338 <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
32339 <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
32340 int attachment=0)</autodoc>
32341 <paramlist>
32342 <param name="pt" type="PyControlPoint" default=""/>
32343 <param name="x" type="double" default=""/>
32344 <param name="y" type="double" default=""/>
32345 <param name="keys" type="int" default="0"/>
32346 <param name="attachment" type="int" default="0"/>
32347 </paramlist>
32348 </method>
32349 <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
32350 <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
32351 int attachment=0)</autodoc>
32352 <paramlist>
32353 <param name="pt" type="PyControlPoint" default=""/>
32354 <param name="x" type="double" default=""/>
32355 <param name="y" type="double" default=""/>
32356 <param name="keys" type="int" default="0"/>
32357 <param name="attachment" type="int" default="0"/>
32358 </paramlist>
32359 </method>
32360 <method name="base_OnBeginSize" type="" overloaded="no">
32361 <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
32362 <paramlist>
32363 <param name="w" type="double" default=""/>
32364 <param name="h" type="double" default=""/>
32365 </paramlist>
32366 </method>
32367 <method name="base_OnEndSize" type="" overloaded="no">
32368 <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
32369 <paramlist>
32370 <param name="w" type="double" default=""/>
32371 <param name="h" type="double" default=""/>
32372 </paramlist>
32373 </method>
32374 </class>
32375 <class name="OGLConstraint" oldname="wxOGLConstraint" module="ogl">
32376 <baseclass name="Object"/>
32377 <constructor name="OGLConstraint" overloaded="no">
32378 <autodoc>__init__(self, int type, PyShape constraining, PyObject constrained) -&gt; OGLConstraint</autodoc>
32379 <paramlist>
32380 <param name="type" type="int" default=""/>
32381 <param name="constraining" type="PyShape" default=""/>
32382 <param name="constrained" type="PyObject" default=""/>
32383 </paramlist>
32384 </constructor>
32385 <method name="Evaluate" type="bool" overloaded="no">
32386 <autodoc>Evaluate(self) -&gt; bool</autodoc>
32387 </method>
32388 <method name="SetSpacing" type="" overloaded="no">
32389 <autodoc>SetSpacing(self, double x, double y)</autodoc>
32390 <paramlist>
32391 <param name="x" type="double" default=""/>
32392 <param name="y" type="double" default=""/>
32393 </paramlist>
32394 </method>
32395 <method name="Equals" type="bool" overloaded="no">
32396 <autodoc>Equals(self, double a, double b) -&gt; bool</autodoc>
32397 <paramlist>
32398 <param name="a" type="double" default=""/>
32399 <param name="b" type="double" default=""/>
32400 </paramlist>
32401 </method>
32402 </class>
32403 <class name="PyCompositeShape" oldname="wxPyCompositeShape" module="ogl">
32404 <baseclass name="PyRectangleShape"/>
32405 <constructor name="PyCompositeShape" overloaded="no">
32406 <autodoc>__init__(self) -&gt; PyCompositeShape</autodoc>
32407 </constructor>
32408 <method name="_setCallbackInfo" type="" overloaded="no">
32409 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
32410 <paramlist>
32411 <param name="self" type="PyObject" default=""/>
32412 <param name="_class" type="PyObject" default=""/>
32413 </paramlist>
32414 </method>
32415 <method name="AddChild" type="" overloaded="no">
32416 <autodoc>AddChild(self, PyShape child, PyShape addAfter=None)</autodoc>
32417 <paramlist>
32418 <param name="child" type="PyShape" default=""/>
32419 <param name="addAfter" type="PyShape" default="NULL"/>
32420 </paramlist>
32421 </method>
32422 <method name="AddConstraint" type="OGLConstraint" overloaded="no">
32423 <autodoc>AddConstraint(self, OGLConstraint constraint) -&gt; OGLConstraint</autodoc>
32424 <paramlist>
32425 <param name="constraint" type="OGLConstraint" default=""/>
32426 </paramlist>
32427 </method>
32428 <method name="AddConstrainedShapes" type="OGLConstraint" overloaded="no">
32429 <autodoc>AddConstrainedShapes(self, int type, PyShape constraining, PyObject constrained) -&gt; OGLConstraint</autodoc>
32430 <paramlist>
32431 <param name="type" type="int" default=""/>
32432 <param name="constraining" type="PyShape" default=""/>
32433 <param name="constrained" type="PyObject" default=""/>
32434 </paramlist>
32435 </method>
32436 <method name="AddSimpleConstraint" type="OGLConstraint" overloaded="no">
32437 <autodoc>AddSimpleConstraint(self, int type, PyShape constraining, PyShape constrained) -&gt; OGLConstraint</autodoc>
32438 <paramlist>
32439 <param name="type" type="int" default=""/>
32440 <param name="constraining" type="PyShape" default=""/>
32441 <param name="constrained" type="PyShape" default=""/>
32442 </paramlist>
32443 </method>
32444 <method name="CalculateSize" type="" overloaded="no">
32445 <autodoc>CalculateSize(self)</autodoc>
32446 </method>
32447 <method name="ContainsDivision" type="bool" overloaded="no">
32448 <autodoc>ContainsDivision(self, PyDivisionShape division) -&gt; bool</autodoc>
32449 <paramlist>
32450 <param name="division" type="wxPyDivisionShape" default=""/>
32451 </paramlist>
32452 </method>
32453 <method name="DeleteConstraint" type="" overloaded="no">
32454 <autodoc>DeleteConstraint(self, OGLConstraint constraint)</autodoc>
32455 <paramlist>
32456 <param name="constraint" type="OGLConstraint" default=""/>
32457 </paramlist>
32458 </method>
32459 <method name="DeleteConstraintsInvolvingChild" type="" overloaded="no">
32460 <autodoc>DeleteConstraintsInvolvingChild(self, PyShape child)</autodoc>
32461 <paramlist>
32462 <param name="child" type="PyShape" default=""/>
32463 </paramlist>
32464 </method>
32465 <method name="FindContainerImage" type="PyShape" overloaded="no">
32466 <autodoc>FindContainerImage(self) -&gt; PyShape</autodoc>
32467 </method>
32468 <method name="GetConstraints" type="PyObject" overloaded="no">
32469 <autodoc>GetConstraints(self) -&gt; PyObject</autodoc>
32470 </method>
32471 <method name="GetDivisions" type="PyObject" overloaded="no">
32472 <autodoc>GetDivisions(self) -&gt; PyObject</autodoc>
32473 </method>
32474 <method name="MakeContainer" type="" overloaded="no">
32475 <autodoc>MakeContainer(self)</autodoc>
32476 </method>
32477 <method name="Recompute" type="bool" overloaded="no">
32478 <autodoc>Recompute(self) -&gt; bool</autodoc>
32479 </method>
32480 <method name="RemoveChild" type="" overloaded="no">
32481 <autodoc>RemoveChild(self, PyShape child)</autodoc>
32482 <paramlist>
32483 <param name="child" type="PyShape" default=""/>
32484 </paramlist>
32485 </method>
32486 <method name="base_OnDelete" type="" overloaded="no">
32487 <autodoc>base_OnDelete(self)</autodoc>
32488 </method>
32489 <method name="base_OnDraw" type="" overloaded="no">
32490 <autodoc>base_OnDraw(self, DC dc)</autodoc>
32491 <paramlist>
32492 <param name="dc" type="DC" default=""/>
32493 </paramlist>
32494 </method>
32495 <method name="base_OnDrawContents" type="" overloaded="no">
32496 <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
32497 <paramlist>
32498 <param name="dc" type="DC" default=""/>
32499 </paramlist>
32500 </method>
32501 <method name="base_OnDrawBranches" type="" overloaded="no">
32502 <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
32503 <paramlist>
32504 <param name="dc" type="DC" default=""/>
32505 <param name="erase" type="bool" default="FALSE"/>
32506 </paramlist>
32507 </method>
32508 <method name="base_OnMoveLinks" type="" overloaded="no">
32509 <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
32510 <paramlist>
32511 <param name="dc" type="DC" default=""/>
32512 </paramlist>
32513 </method>
32514 <method name="base_OnErase" type="" overloaded="no">
32515 <autodoc>base_OnErase(self, DC dc)</autodoc>
32516 <paramlist>
32517 <param name="dc" type="DC" default=""/>
32518 </paramlist>
32519 </method>
32520 <method name="base_OnEraseContents" type="" overloaded="no">
32521 <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
32522 <paramlist>
32523 <param name="dc" type="DC" default=""/>
32524 </paramlist>
32525 </method>
32526 <method name="base_OnHighlight" type="" overloaded="no">
32527 <autodoc>base_OnHighlight(self, DC dc)</autodoc>
32528 <paramlist>
32529 <param name="dc" type="DC" default=""/>
32530 </paramlist>
32531 </method>
32532 <method name="base_OnLeftClick" type="" overloaded="no">
32533 <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32534 <paramlist>
32535 <param name="x" type="double" default=""/>
32536 <param name="y" type="double" default=""/>
32537 <param name="keys" type="int" default="0"/>
32538 <param name="attachment" type="int" default="0"/>
32539 </paramlist>
32540 </method>
32541 <method name="base_OnLeftDoubleClick" type="" overloaded="no">
32542 <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32543 <paramlist>
32544 <param name="x" type="double" default=""/>
32545 <param name="y" type="double" default=""/>
32546 <param name="keys" type="int" default="0"/>
32547 <param name="attachment" type="int" default="0"/>
32548 </paramlist>
32549 </method>
32550 <method name="base_OnRightClick" type="" overloaded="no">
32551 <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32552 <paramlist>
32553 <param name="x" type="double" default=""/>
32554 <param name="y" type="double" default=""/>
32555 <param name="keys" type="int" default="0"/>
32556 <param name="attachment" type="int" default="0"/>
32557 </paramlist>
32558 </method>
32559 <method name="base_OnSize" type="" overloaded="no">
32560 <autodoc>base_OnSize(self, double x, double y)</autodoc>
32561 <paramlist>
32562 <param name="x" type="double" default=""/>
32563 <param name="y" type="double" default=""/>
32564 </paramlist>
32565 </method>
32566 <method name="base_OnMovePre" type="bool" overloaded="no">
32567 <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
32568 bool display=True) -&gt; bool</autodoc>
32569 <paramlist>
32570 <param name="dc" type="DC" default=""/>
32571 <param name="x" type="double" default=""/>
32572 <param name="y" type="double" default=""/>
32573 <param name="old_x" type="double" default=""/>
32574 <param name="old_y" type="double" default=""/>
32575 <param name="display" type="bool" default="True"/>
32576 </paramlist>
32577 </method>
32578 <method name="base_OnMovePost" type="" overloaded="no">
32579 <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
32580 bool display=True)</autodoc>
32581 <paramlist>
32582 <param name="dc" type="DC" default=""/>
32583 <param name="x" type="double" default=""/>
32584 <param name="y" type="double" default=""/>
32585 <param name="old_x" type="double" default=""/>
32586 <param name="old_y" type="double" default=""/>
32587 <param name="display" type="bool" default="True"/>
32588 </paramlist>
32589 </method>
32590 <method name="base_OnDragLeft" type="" overloaded="no">
32591 <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
32592 <paramlist>
32593 <param name="draw" type="bool" default=""/>
32594 <param name="x" type="double" default=""/>
32595 <param name="y" type="double" default=""/>
32596 <param name="keys" type="int" default="0"/>
32597 <param name="attachment" type="int" default="0"/>
32598 </paramlist>
32599 </method>
32600 <method name="base_OnBeginDragLeft" type="" overloaded="no">
32601 <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32602 <paramlist>
32603 <param name="x" type="double" default=""/>
32604 <param name="y" type="double" default=""/>
32605 <param name="keys" type="int" default="0"/>
32606 <param name="attachment" type="int" default="0"/>
32607 </paramlist>
32608 </method>
32609 <method name="base_OnEndDragLeft" type="" overloaded="no">
32610 <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32611 <paramlist>
32612 <param name="x" type="double" default=""/>
32613 <param name="y" type="double" default=""/>
32614 <param name="keys" type="int" default="0"/>
32615 <param name="attachment" type="int" default="0"/>
32616 </paramlist>
32617 </method>
32618 <method name="base_OnDragRight" type="" overloaded="no">
32619 <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
32620 <paramlist>
32621 <param name="draw" type="bool" default=""/>
32622 <param name="x" type="double" default=""/>
32623 <param name="y" type="double" default=""/>
32624 <param name="keys" type="int" default="0"/>
32625 <param name="attachment" type="int" default="0"/>
32626 </paramlist>
32627 </method>
32628 <method name="base_OnBeginDragRight" type="" overloaded="no">
32629 <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32630 <paramlist>
32631 <param name="x" type="double" default=""/>
32632 <param name="y" type="double" default=""/>
32633 <param name="keys" type="int" default="0"/>
32634 <param name="attachment" type="int" default="0"/>
32635 </paramlist>
32636 </method>
32637 <method name="base_OnEndDragRight" type="" overloaded="no">
32638 <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32639 <paramlist>
32640 <param name="x" type="double" default=""/>
32641 <param name="y" type="double" default=""/>
32642 <param name="keys" type="int" default="0"/>
32643 <param name="attachment" type="int" default="0"/>
32644 </paramlist>
32645 </method>
32646 <method name="base_OnDrawOutline" type="" overloaded="no">
32647 <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
32648 <paramlist>
32649 <param name="dc" type="DC" default=""/>
32650 <param name="x" type="double" default=""/>
32651 <param name="y" type="double" default=""/>
32652 <param name="w" type="double" default=""/>
32653 <param name="h" type="double" default=""/>
32654 </paramlist>
32655 </method>
32656 <method name="base_OnDrawControlPoints" type="" overloaded="no">
32657 <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
32658 <paramlist>
32659 <param name="dc" type="DC" default=""/>
32660 </paramlist>
32661 </method>
32662 <method name="base_OnEraseControlPoints" type="" overloaded="no">
32663 <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
32664 <paramlist>
32665 <param name="dc" type="DC" default=""/>
32666 </paramlist>
32667 </method>
32668 <method name="base_OnMoveLink" type="" overloaded="no">
32669 <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
32670 <paramlist>
32671 <param name="dc" type="DC" default=""/>
32672 <param name="moveControlPoints" type="bool" default="True"/>
32673 </paramlist>
32674 </method>
32675 <method name="base_OnSizingDragLeft" type="" overloaded="no">
32676 <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
32677 int attachment=0)</autodoc>
32678 <paramlist>
32679 <param name="pt" type="PyControlPoint" default=""/>
32680 <param name="draw" type="bool" default=""/>
32681 <param name="x" type="double" default=""/>
32682 <param name="y" type="double" default=""/>
32683 <param name="keys" type="int" default="0"/>
32684 <param name="attachment" type="int" default="0"/>
32685 </paramlist>
32686 </method>
32687 <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
32688 <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
32689 int attachment=0)</autodoc>
32690 <paramlist>
32691 <param name="pt" type="PyControlPoint" default=""/>
32692 <param name="x" type="double" default=""/>
32693 <param name="y" type="double" default=""/>
32694 <param name="keys" type="int" default="0"/>
32695 <param name="attachment" type="int" default="0"/>
32696 </paramlist>
32697 </method>
32698 <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
32699 <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
32700 int attachment=0)</autodoc>
32701 <paramlist>
32702 <param name="pt" type="PyControlPoint" default=""/>
32703 <param name="x" type="double" default=""/>
32704 <param name="y" type="double" default=""/>
32705 <param name="keys" type="int" default="0"/>
32706 <param name="attachment" type="int" default="0"/>
32707 </paramlist>
32708 </method>
32709 <method name="base_OnBeginSize" type="" overloaded="no">
32710 <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
32711 <paramlist>
32712 <param name="w" type="double" default=""/>
32713 <param name="h" type="double" default=""/>
32714 </paramlist>
32715 </method>
32716 <method name="base_OnEndSize" type="" overloaded="no">
32717 <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
32718 <paramlist>
32719 <param name="w" type="double" default=""/>
32720 <param name="h" type="double" default=""/>
32721 </paramlist>
32722 </method>
32723 </class>
32724 <class name="PyDividedShape" oldname="wxPyDividedShape" module="ogl">
32725 <baseclass name="PyRectangleShape"/>
32726 <constructor name="PyDividedShape" overloaded="no">
32727 <autodoc>__init__(self, double width=0.0, double height=0.0) -&gt; PyDividedShape</autodoc>
32728 <paramlist>
32729 <param name="width" type="double" default="0.0"/>
32730 <param name="height" type="double" default="0.0"/>
32731 </paramlist>
32732 </constructor>
32733 <method name="_setCallbackInfo" type="" overloaded="no">
32734 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
32735 <paramlist>
32736 <param name="self" type="PyObject" default=""/>
32737 <param name="_class" type="PyObject" default=""/>
32738 </paramlist>
32739 </method>
32740 <method name="EditRegions" type="" overloaded="no">
32741 <autodoc>EditRegions(self)</autodoc>
32742 </method>
32743 <method name="SetRegionSizes" type="" overloaded="no">
32744 <autodoc>SetRegionSizes(self)</autodoc>
32745 </method>
32746 <method name="base_OnDelete" type="" overloaded="no">
32747 <autodoc>base_OnDelete(self)</autodoc>
32748 </method>
32749 <method name="base_OnDraw" type="" overloaded="no">
32750 <autodoc>base_OnDraw(self, DC dc)</autodoc>
32751 <paramlist>
32752 <param name="dc" type="DC" default=""/>
32753 </paramlist>
32754 </method>
32755 <method name="base_OnDrawContents" type="" overloaded="no">
32756 <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
32757 <paramlist>
32758 <param name="dc" type="DC" default=""/>
32759 </paramlist>
32760 </method>
32761 <method name="base_OnDrawBranches" type="" overloaded="no">
32762 <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
32763 <paramlist>
32764 <param name="dc" type="DC" default=""/>
32765 <param name="erase" type="bool" default="FALSE"/>
32766 </paramlist>
32767 </method>
32768 <method name="base_OnMoveLinks" type="" overloaded="no">
32769 <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
32770 <paramlist>
32771 <param name="dc" type="DC" default=""/>
32772 </paramlist>
32773 </method>
32774 <method name="base_OnErase" type="" overloaded="no">
32775 <autodoc>base_OnErase(self, DC dc)</autodoc>
32776 <paramlist>
32777 <param name="dc" type="DC" default=""/>
32778 </paramlist>
32779 </method>
32780 <method name="base_OnEraseContents" type="" overloaded="no">
32781 <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
32782 <paramlist>
32783 <param name="dc" type="DC" default=""/>
32784 </paramlist>
32785 </method>
32786 <method name="base_OnHighlight" type="" overloaded="no">
32787 <autodoc>base_OnHighlight(self, DC dc)</autodoc>
32788 <paramlist>
32789 <param name="dc" type="DC" default=""/>
32790 </paramlist>
32791 </method>
32792 <method name="base_OnLeftClick" type="" overloaded="no">
32793 <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32794 <paramlist>
32795 <param name="x" type="double" default=""/>
32796 <param name="y" type="double" default=""/>
32797 <param name="keys" type="int" default="0"/>
32798 <param name="attachment" type="int" default="0"/>
32799 </paramlist>
32800 </method>
32801 <method name="base_OnLeftDoubleClick" type="" overloaded="no">
32802 <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32803 <paramlist>
32804 <param name="x" type="double" default=""/>
32805 <param name="y" type="double" default=""/>
32806 <param name="keys" type="int" default="0"/>
32807 <param name="attachment" type="int" default="0"/>
32808 </paramlist>
32809 </method>
32810 <method name="base_OnRightClick" type="" overloaded="no">
32811 <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32812 <paramlist>
32813 <param name="x" type="double" default=""/>
32814 <param name="y" type="double" default=""/>
32815 <param name="keys" type="int" default="0"/>
32816 <param name="attachment" type="int" default="0"/>
32817 </paramlist>
32818 </method>
32819 <method name="base_OnSize" type="" overloaded="no">
32820 <autodoc>base_OnSize(self, double x, double y)</autodoc>
32821 <paramlist>
32822 <param name="x" type="double" default=""/>
32823 <param name="y" type="double" default=""/>
32824 </paramlist>
32825 </method>
32826 <method name="base_OnMovePre" type="bool" overloaded="no">
32827 <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
32828 bool display=True) -&gt; bool</autodoc>
32829 <paramlist>
32830 <param name="dc" type="DC" default=""/>
32831 <param name="x" type="double" default=""/>
32832 <param name="y" type="double" default=""/>
32833 <param name="old_x" type="double" default=""/>
32834 <param name="old_y" type="double" default=""/>
32835 <param name="display" type="bool" default="True"/>
32836 </paramlist>
32837 </method>
32838 <method name="base_OnMovePost" type="" overloaded="no">
32839 <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
32840 bool display=True)</autodoc>
32841 <paramlist>
32842 <param name="dc" type="DC" default=""/>
32843 <param name="x" type="double" default=""/>
32844 <param name="y" type="double" default=""/>
32845 <param name="old_x" type="double" default=""/>
32846 <param name="old_y" type="double" default=""/>
32847 <param name="display" type="bool" default="True"/>
32848 </paramlist>
32849 </method>
32850 <method name="base_OnDragLeft" type="" overloaded="no">
32851 <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
32852 <paramlist>
32853 <param name="draw" type="bool" default=""/>
32854 <param name="x" type="double" default=""/>
32855 <param name="y" type="double" default=""/>
32856 <param name="keys" type="int" default="0"/>
32857 <param name="attachment" type="int" default="0"/>
32858 </paramlist>
32859 </method>
32860 <method name="base_OnBeginDragLeft" type="" overloaded="no">
32861 <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32862 <paramlist>
32863 <param name="x" type="double" default=""/>
32864 <param name="y" type="double" default=""/>
32865 <param name="keys" type="int" default="0"/>
32866 <param name="attachment" type="int" default="0"/>
32867 </paramlist>
32868 </method>
32869 <method name="base_OnEndDragLeft" type="" overloaded="no">
32870 <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32871 <paramlist>
32872 <param name="x" type="double" default=""/>
32873 <param name="y" type="double" default=""/>
32874 <param name="keys" type="int" default="0"/>
32875 <param name="attachment" type="int" default="0"/>
32876 </paramlist>
32877 </method>
32878 <method name="base_OnDragRight" type="" overloaded="no">
32879 <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
32880 <paramlist>
32881 <param name="draw" type="bool" default=""/>
32882 <param name="x" type="double" default=""/>
32883 <param name="y" type="double" default=""/>
32884 <param name="keys" type="int" default="0"/>
32885 <param name="attachment" type="int" default="0"/>
32886 </paramlist>
32887 </method>
32888 <method name="base_OnBeginDragRight" type="" overloaded="no">
32889 <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32890 <paramlist>
32891 <param name="x" type="double" default=""/>
32892 <param name="y" type="double" default=""/>
32893 <param name="keys" type="int" default="0"/>
32894 <param name="attachment" type="int" default="0"/>
32895 </paramlist>
32896 </method>
32897 <method name="base_OnEndDragRight" type="" overloaded="no">
32898 <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
32899 <paramlist>
32900 <param name="x" type="double" default=""/>
32901 <param name="y" type="double" default=""/>
32902 <param name="keys" type="int" default="0"/>
32903 <param name="attachment" type="int" default="0"/>
32904 </paramlist>
32905 </method>
32906 <method name="base_OnDrawOutline" type="" overloaded="no">
32907 <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
32908 <paramlist>
32909 <param name="dc" type="DC" default=""/>
32910 <param name="x" type="double" default=""/>
32911 <param name="y" type="double" default=""/>
32912 <param name="w" type="double" default=""/>
32913 <param name="h" type="double" default=""/>
32914 </paramlist>
32915 </method>
32916 <method name="base_OnDrawControlPoints" type="" overloaded="no">
32917 <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
32918 <paramlist>
32919 <param name="dc" type="DC" default=""/>
32920 </paramlist>
32921 </method>
32922 <method name="base_OnEraseControlPoints" type="" overloaded="no">
32923 <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
32924 <paramlist>
32925 <param name="dc" type="DC" default=""/>
32926 </paramlist>
32927 </method>
32928 <method name="base_OnMoveLink" type="" overloaded="no">
32929 <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
32930 <paramlist>
32931 <param name="dc" type="DC" default=""/>
32932 <param name="moveControlPoints" type="bool" default="True"/>
32933 </paramlist>
32934 </method>
32935 <method name="base_OnSizingDragLeft" type="" overloaded="no">
32936 <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
32937 int attachment=0)</autodoc>
32938 <paramlist>
32939 <param name="pt" type="PyControlPoint" default=""/>
32940 <param name="draw" type="bool" default=""/>
32941 <param name="x" type="double" default=""/>
32942 <param name="y" type="double" default=""/>
32943 <param name="keys" type="int" default="0"/>
32944 <param name="attachment" type="int" default="0"/>
32945 </paramlist>
32946 </method>
32947 <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
32948 <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
32949 int attachment=0)</autodoc>
32950 <paramlist>
32951 <param name="pt" type="PyControlPoint" default=""/>
32952 <param name="x" type="double" default=""/>
32953 <param name="y" type="double" default=""/>
32954 <param name="keys" type="int" default="0"/>
32955 <param name="attachment" type="int" default="0"/>
32956 </paramlist>
32957 </method>
32958 <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
32959 <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
32960 int attachment=0)</autodoc>
32961 <paramlist>
32962 <param name="pt" type="PyControlPoint" default=""/>
32963 <param name="x" type="double" default=""/>
32964 <param name="y" type="double" default=""/>
32965 <param name="keys" type="int" default="0"/>
32966 <param name="attachment" type="int" default="0"/>
32967 </paramlist>
32968 </method>
32969 <method name="base_OnBeginSize" type="" overloaded="no">
32970 <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
32971 <paramlist>
32972 <param name="w" type="double" default=""/>
32973 <param name="h" type="double" default=""/>
32974 </paramlist>
32975 </method>
32976 <method name="base_OnEndSize" type="" overloaded="no">
32977 <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
32978 <paramlist>
32979 <param name="w" type="double" default=""/>
32980 <param name="h" type="double" default=""/>
32981 </paramlist>
32982 </method>
32983 </class>
32984 <class name="PyDivisionShape" oldname="wxPyDivisionShape" module="ogl">
32985 <baseclass name="PyCompositeShape"/>
32986 <constructor name="PyDivisionShape" overloaded="no">
32987 <autodoc>__init__(self) -&gt; PyDivisionShape</autodoc>
32988 </constructor>
32989 <method name="_setCallbackInfo" type="" overloaded="no">
32990 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
32991 <paramlist>
32992 <param name="self" type="PyObject" default=""/>
32993 <param name="_class" type="PyObject" default=""/>
32994 </paramlist>
32995 </method>
32996 <method name="AdjustBottom" type="" overloaded="no">
32997 <autodoc>AdjustBottom(self, double bottom, bool test)</autodoc>
32998 <paramlist>
32999 <param name="bottom" type="double" default=""/>
33000 <param name="test" type="bool" default=""/>
33001 </paramlist>
33002 </method>
33003 <method name="AdjustLeft" type="" overloaded="no">
33004 <autodoc>AdjustLeft(self, double left, bool test)</autodoc>
33005 <paramlist>
33006 <param name="left" type="double" default=""/>
33007 <param name="test" type="bool" default=""/>
33008 </paramlist>
33009 </method>
33010 <method name="AdjustRight" type="" overloaded="no">
33011 <autodoc>AdjustRight(self, double right, bool test)</autodoc>
33012 <paramlist>
33013 <param name="right" type="double" default=""/>
33014 <param name="test" type="bool" default=""/>
33015 </paramlist>
33016 </method>
33017 <method name="AdjustTop" type="" overloaded="no">
33018 <autodoc>AdjustTop(self, double top, bool test)</autodoc>
33019 <paramlist>
33020 <param name="top" type="double" default=""/>
33021 <param name="test" type="bool" default=""/>
33022 </paramlist>
33023 </method>
33024 <method name="Divide" type="" overloaded="no">
33025 <autodoc>Divide(self, int direction)</autodoc>
33026 <paramlist>
33027 <param name="direction" type="int" default=""/>
33028 </paramlist>
33029 </method>
33030 <method name="EditEdge" type="" overloaded="no">
33031 <autodoc>EditEdge(self, int side)</autodoc>
33032 <paramlist>
33033 <param name="side" type="int" default=""/>
33034 </paramlist>
33035 </method>
33036 <method name="GetBottomSide" type="PyDivisionShape" overloaded="no">
33037 <autodoc>GetBottomSide(self) -&gt; PyDivisionShape</autodoc>
33038 </method>
33039 <method name="GetHandleSide" type="int" overloaded="no">
33040 <autodoc>GetHandleSide(self) -&gt; int</autodoc>
33041 </method>
33042 <method name="GetLeftSide" type="PyDivisionShape" overloaded="no">
33043 <autodoc>GetLeftSide(self) -&gt; PyDivisionShape</autodoc>
33044 </method>
33045 <method name="GetLeftSideColour" type="String" overloaded="no">
33046 <autodoc>GetLeftSideColour(self) -&gt; String</autodoc>
33047 </method>
33048 <method name="GetLeftSidePen" type="Pen" overloaded="no">
33049 <autodoc>GetLeftSidePen(self) -&gt; wxPen</autodoc>
33050 </method>
33051 <method name="GetRightSide" type="PyDivisionShape" overloaded="no">
33052 <autodoc>GetRightSide(self) -&gt; PyDivisionShape</autodoc>
33053 </method>
33054 <method name="GetTopSide" type="PyDivisionShape" overloaded="no">
33055 <autodoc>GetTopSide(self) -&gt; PyDivisionShape</autodoc>
33056 </method>
33057 <method name="GetTopSidePen" type="Pen" overloaded="no">
33058 <autodoc>GetTopSidePen(self) -&gt; wxPen</autodoc>
33059 </method>
33060 <method name="ResizeAdjoining" type="" overloaded="no">
33061 <autodoc>ResizeAdjoining(self, int side, double newPos, bool test)</autodoc>
33062 <paramlist>
33063 <param name="side" type="int" default=""/>
33064 <param name="newPos" type="double" default=""/>
33065 <param name="test" type="bool" default=""/>
33066 </paramlist>
33067 </method>
33068 <method name="PopupMenu" type="" overloaded="no">
33069 <autodoc>PopupMenu(self, double x, double y)</autodoc>
33070 <paramlist>
33071 <param name="x" type="double" default=""/>
33072 <param name="y" type="double" default=""/>
33073 </paramlist>
33074 </method>
33075 <method name="SetBottomSide" type="" overloaded="no">
33076 <autodoc>SetBottomSide(self, PyDivisionShape shape)</autodoc>
33077 <paramlist>
33078 <param name="shape" type="PyDivisionShape" default=""/>
33079 </paramlist>
33080 </method>
33081 <method name="SetHandleSide" type="" overloaded="no">
33082 <autodoc>SetHandleSide(self, int side)</autodoc>
33083 <paramlist>
33084 <param name="side" type="int" default=""/>
33085 </paramlist>
33086 </method>
33087 <method name="SetLeftSide" type="" overloaded="no">
33088 <autodoc>SetLeftSide(self, PyDivisionShape shape)</autodoc>
33089 <paramlist>
33090 <param name="shape" type="PyDivisionShape" default=""/>
33091 </paramlist>
33092 </method>
33093 <method name="SetLeftSideColour" type="" overloaded="no">
33094 <autodoc>SetLeftSideColour(self, String colour)</autodoc>
33095 <paramlist>
33096 <param name="colour" type="String" default=""/>
33097 </paramlist>
33098 </method>
33099 <method name="SetLeftSidePen" type="" overloaded="no">
33100 <autodoc>SetLeftSidePen(self, wxPen pen)</autodoc>
33101 <paramlist>
33102 <param name="pen" type="Pen" default=""/>
33103 </paramlist>
33104 </method>
33105 <method name="SetRightSide" type="" overloaded="no">
33106 <autodoc>SetRightSide(self, PyDivisionShape shape)</autodoc>
33107 <paramlist>
33108 <param name="shape" type="PyDivisionShape" default=""/>
33109 </paramlist>
33110 </method>
33111 <method name="SetTopSide" type="" overloaded="no">
33112 <autodoc>SetTopSide(self, PyDivisionShape shape)</autodoc>
33113 <paramlist>
33114 <param name="shape" type="PyDivisionShape" default=""/>
33115 </paramlist>
33116 </method>
33117 <method name="SetTopSideColour" type="" overloaded="no">
33118 <autodoc>SetTopSideColour(self, String colour)</autodoc>
33119 <paramlist>
33120 <param name="colour" type="String" default=""/>
33121 </paramlist>
33122 </method>
33123 <method name="SetTopSidePen" type="" overloaded="no">
33124 <autodoc>SetTopSidePen(self, wxPen pen)</autodoc>
33125 <paramlist>
33126 <param name="pen" type="Pen" default=""/>
33127 </paramlist>
33128 </method>
33129 <method name="base_OnDelete" type="" overloaded="no">
33130 <autodoc>base_OnDelete(self)</autodoc>
33131 </method>
33132 <method name="base_OnDraw" type="" overloaded="no">
33133 <autodoc>base_OnDraw(self, DC dc)</autodoc>
33134 <paramlist>
33135 <param name="dc" type="DC" default=""/>
33136 </paramlist>
33137 </method>
33138 <method name="base_OnDrawContents" type="" overloaded="no">
33139 <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
33140 <paramlist>
33141 <param name="dc" type="DC" default=""/>
33142 </paramlist>
33143 </method>
33144 <method name="base_OnDrawBranches" type="" overloaded="no">
33145 <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
33146 <paramlist>
33147 <param name="dc" type="DC" default=""/>
33148 <param name="erase" type="bool" default="FALSE"/>
33149 </paramlist>
33150 </method>
33151 <method name="base_OnMoveLinks" type="" overloaded="no">
33152 <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
33153 <paramlist>
33154 <param name="dc" type="DC" default=""/>
33155 </paramlist>
33156 </method>
33157 <method name="base_OnErase" type="" overloaded="no">
33158 <autodoc>base_OnErase(self, DC dc)</autodoc>
33159 <paramlist>
33160 <param name="dc" type="DC" default=""/>
33161 </paramlist>
33162 </method>
33163 <method name="base_OnEraseContents" type="" overloaded="no">
33164 <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
33165 <paramlist>
33166 <param name="dc" type="DC" default=""/>
33167 </paramlist>
33168 </method>
33169 <method name="base_OnHighlight" type="" overloaded="no">
33170 <autodoc>base_OnHighlight(self, DC dc)</autodoc>
33171 <paramlist>
33172 <param name="dc" type="DC" default=""/>
33173 </paramlist>
33174 </method>
33175 <method name="base_OnLeftClick" type="" overloaded="no">
33176 <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33177 <paramlist>
33178 <param name="x" type="double" default=""/>
33179 <param name="y" type="double" default=""/>
33180 <param name="keys" type="int" default="0"/>
33181 <param name="attachment" type="int" default="0"/>
33182 </paramlist>
33183 </method>
33184 <method name="base_OnLeftDoubleClick" type="" overloaded="no">
33185 <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33186 <paramlist>
33187 <param name="x" type="double" default=""/>
33188 <param name="y" type="double" default=""/>
33189 <param name="keys" type="int" default="0"/>
33190 <param name="attachment" type="int" default="0"/>
33191 </paramlist>
33192 </method>
33193 <method name="base_OnRightClick" type="" overloaded="no">
33194 <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33195 <paramlist>
33196 <param name="x" type="double" default=""/>
33197 <param name="y" type="double" default=""/>
33198 <param name="keys" type="int" default="0"/>
33199 <param name="attachment" type="int" default="0"/>
33200 </paramlist>
33201 </method>
33202 <method name="base_OnSize" type="" overloaded="no">
33203 <autodoc>base_OnSize(self, double x, double y)</autodoc>
33204 <paramlist>
33205 <param name="x" type="double" default=""/>
33206 <param name="y" type="double" default=""/>
33207 </paramlist>
33208 </method>
33209 <method name="base_OnMovePre" type="bool" overloaded="no">
33210 <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
33211 bool display=True) -&gt; bool</autodoc>
33212 <paramlist>
33213 <param name="dc" type="DC" default=""/>
33214 <param name="x" type="double" default=""/>
33215 <param name="y" type="double" default=""/>
33216 <param name="old_x" type="double" default=""/>
33217 <param name="old_y" type="double" default=""/>
33218 <param name="display" type="bool" default="True"/>
33219 </paramlist>
33220 </method>
33221 <method name="base_OnMovePost" type="" overloaded="no">
33222 <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
33223 bool display=True)</autodoc>
33224 <paramlist>
33225 <param name="dc" type="DC" default=""/>
33226 <param name="x" type="double" default=""/>
33227 <param name="y" type="double" default=""/>
33228 <param name="old_x" type="double" default=""/>
33229 <param name="old_y" type="double" default=""/>
33230 <param name="display" type="bool" default="True"/>
33231 </paramlist>
33232 </method>
33233 <method name="base_OnDragLeft" type="" overloaded="no">
33234 <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
33235 <paramlist>
33236 <param name="draw" type="bool" default=""/>
33237 <param name="x" type="double" default=""/>
33238 <param name="y" type="double" default=""/>
33239 <param name="keys" type="int" default="0"/>
33240 <param name="attachment" type="int" default="0"/>
33241 </paramlist>
33242 </method>
33243 <method name="base_OnBeginDragLeft" type="" overloaded="no">
33244 <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33245 <paramlist>
33246 <param name="x" type="double" default=""/>
33247 <param name="y" type="double" default=""/>
33248 <param name="keys" type="int" default="0"/>
33249 <param name="attachment" type="int" default="0"/>
33250 </paramlist>
33251 </method>
33252 <method name="base_OnEndDragLeft" type="" overloaded="no">
33253 <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33254 <paramlist>
33255 <param name="x" type="double" default=""/>
33256 <param name="y" type="double" default=""/>
33257 <param name="keys" type="int" default="0"/>
33258 <param name="attachment" type="int" default="0"/>
33259 </paramlist>
33260 </method>
33261 <method name="base_OnDragRight" type="" overloaded="no">
33262 <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
33263 <paramlist>
33264 <param name="draw" type="bool" default=""/>
33265 <param name="x" type="double" default=""/>
33266 <param name="y" type="double" default=""/>
33267 <param name="keys" type="int" default="0"/>
33268 <param name="attachment" type="int" default="0"/>
33269 </paramlist>
33270 </method>
33271 <method name="base_OnBeginDragRight" type="" overloaded="no">
33272 <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33273 <paramlist>
33274 <param name="x" type="double" default=""/>
33275 <param name="y" type="double" default=""/>
33276 <param name="keys" type="int" default="0"/>
33277 <param name="attachment" type="int" default="0"/>
33278 </paramlist>
33279 </method>
33280 <method name="base_OnEndDragRight" type="" overloaded="no">
33281 <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33282 <paramlist>
33283 <param name="x" type="double" default=""/>
33284 <param name="y" type="double" default=""/>
33285 <param name="keys" type="int" default="0"/>
33286 <param name="attachment" type="int" default="0"/>
33287 </paramlist>
33288 </method>
33289 <method name="base_OnDrawOutline" type="" overloaded="no">
33290 <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
33291 <paramlist>
33292 <param name="dc" type="DC" default=""/>
33293 <param name="x" type="double" default=""/>
33294 <param name="y" type="double" default=""/>
33295 <param name="w" type="double" default=""/>
33296 <param name="h" type="double" default=""/>
33297 </paramlist>
33298 </method>
33299 <method name="base_OnDrawControlPoints" type="" overloaded="no">
33300 <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
33301 <paramlist>
33302 <param name="dc" type="DC" default=""/>
33303 </paramlist>
33304 </method>
33305 <method name="base_OnEraseControlPoints" type="" overloaded="no">
33306 <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
33307 <paramlist>
33308 <param name="dc" type="DC" default=""/>
33309 </paramlist>
33310 </method>
33311 <method name="base_OnMoveLink" type="" overloaded="no">
33312 <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
33313 <paramlist>
33314 <param name="dc" type="DC" default=""/>
33315 <param name="moveControlPoints" type="bool" default="True"/>
33316 </paramlist>
33317 </method>
33318 <method name="base_OnSizingDragLeft" type="" overloaded="no">
33319 <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
33320 int attachment=0)</autodoc>
33321 <paramlist>
33322 <param name="pt" type="PyControlPoint" default=""/>
33323 <param name="draw" type="bool" default=""/>
33324 <param name="x" type="double" default=""/>
33325 <param name="y" type="double" default=""/>
33326 <param name="keys" type="int" default="0"/>
33327 <param name="attachment" type="int" default="0"/>
33328 </paramlist>
33329 </method>
33330 <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
33331 <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
33332 int attachment=0)</autodoc>
33333 <paramlist>
33334 <param name="pt" type="PyControlPoint" default=""/>
33335 <param name="x" type="double" default=""/>
33336 <param name="y" type="double" default=""/>
33337 <param name="keys" type="int" default="0"/>
33338 <param name="attachment" type="int" default="0"/>
33339 </paramlist>
33340 </method>
33341 <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
33342 <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
33343 int attachment=0)</autodoc>
33344 <paramlist>
33345 <param name="pt" type="PyControlPoint" default=""/>
33346 <param name="x" type="double" default=""/>
33347 <param name="y" type="double" default=""/>
33348 <param name="keys" type="int" default="0"/>
33349 <param name="attachment" type="int" default="0"/>
33350 </paramlist>
33351 </method>
33352 <method name="base_OnBeginSize" type="" overloaded="no">
33353 <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
33354 <paramlist>
33355 <param name="w" type="double" default=""/>
33356 <param name="h" type="double" default=""/>
33357 </paramlist>
33358 </method>
33359 <method name="base_OnEndSize" type="" overloaded="no">
33360 <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
33361 <paramlist>
33362 <param name="w" type="double" default=""/>
33363 <param name="h" type="double" default=""/>
33364 </paramlist>
33365 </method>
33366 </class>
33367 <class name="PyEllipseShape" oldname="wxPyEllipseShape" module="ogl">
33368 <baseclass name="PyShape"/>
33369 <constructor name="PyEllipseShape" overloaded="no">
33370 <autodoc>__init__(self, double width=0.0, double height=0.0) -&gt; PyEllipseShape</autodoc>
33371 <paramlist>
33372 <param name="width" type="double" default="0.0"/>
33373 <param name="height" type="double" default="0.0"/>
33374 </paramlist>
33375 </constructor>
33376 <method name="_setCallbackInfo" type="" overloaded="no">
33377 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
33378 <paramlist>
33379 <param name="self" type="PyObject" default=""/>
33380 <param name="_class" type="PyObject" default=""/>
33381 </paramlist>
33382 </method>
33383 <method name="base_OnDraw" type="" overloaded="no">
33384 <autodoc>base_OnDraw(self, DC dc)</autodoc>
33385 <paramlist>
33386 <param name="dc" type="DC" default=""/>
33387 </paramlist>
33388 </method>
33389 <method name="base_OnDrawContents" type="" overloaded="no">
33390 <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
33391 <paramlist>
33392 <param name="dc" type="DC" default=""/>
33393 </paramlist>
33394 </method>
33395 <method name="base_OnDrawBranches" type="" overloaded="no">
33396 <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
33397 <paramlist>
33398 <param name="dc" type="DC" default=""/>
33399 <param name="erase" type="bool" default="FALSE"/>
33400 </paramlist>
33401 </method>
33402 <method name="base_OnMoveLinks" type="" overloaded="no">
33403 <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
33404 <paramlist>
33405 <param name="dc" type="DC" default=""/>
33406 </paramlist>
33407 </method>
33408 <method name="base_OnErase" type="" overloaded="no">
33409 <autodoc>base_OnErase(self, DC dc)</autodoc>
33410 <paramlist>
33411 <param name="dc" type="DC" default=""/>
33412 </paramlist>
33413 </method>
33414 <method name="base_OnEraseContents" type="" overloaded="no">
33415 <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
33416 <paramlist>
33417 <param name="dc" type="DC" default=""/>
33418 </paramlist>
33419 </method>
33420 <method name="base_OnHighlight" type="" overloaded="no">
33421 <autodoc>base_OnHighlight(self, DC dc)</autodoc>
33422 <paramlist>
33423 <param name="dc" type="DC" default=""/>
33424 </paramlist>
33425 </method>
33426 <method name="base_OnLeftClick" type="" overloaded="no">
33427 <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33428 <paramlist>
33429 <param name="x" type="double" default=""/>
33430 <param name="y" type="double" default=""/>
33431 <param name="keys" type="int" default="0"/>
33432 <param name="attachment" type="int" default="0"/>
33433 </paramlist>
33434 </method>
33435 <method name="base_OnLeftDoubleClick" type="" overloaded="no">
33436 <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33437 <paramlist>
33438 <param name="x" type="double" default=""/>
33439 <param name="y" type="double" default=""/>
33440 <param name="keys" type="int" default="0"/>
33441 <param name="attachment" type="int" default="0"/>
33442 </paramlist>
33443 </method>
33444 <method name="base_OnRightClick" type="" overloaded="no">
33445 <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33446 <paramlist>
33447 <param name="x" type="double" default=""/>
33448 <param name="y" type="double" default=""/>
33449 <param name="keys" type="int" default="0"/>
33450 <param name="attachment" type="int" default="0"/>
33451 </paramlist>
33452 </method>
33453 <method name="base_OnSize" type="" overloaded="no">
33454 <autodoc>base_OnSize(self, double x, double y)</autodoc>
33455 <paramlist>
33456 <param name="x" type="double" default=""/>
33457 <param name="y" type="double" default=""/>
33458 </paramlist>
33459 </method>
33460 <method name="base_OnMovePre" type="bool" overloaded="no">
33461 <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
33462 bool display=True) -&gt; bool</autodoc>
33463 <paramlist>
33464 <param name="dc" type="DC" default=""/>
33465 <param name="x" type="double" default=""/>
33466 <param name="y" type="double" default=""/>
33467 <param name="old_x" type="double" default=""/>
33468 <param name="old_y" type="double" default=""/>
33469 <param name="display" type="bool" default="True"/>
33470 </paramlist>
33471 </method>
33472 <method name="base_OnMovePost" type="" overloaded="no">
33473 <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
33474 bool display=True)</autodoc>
33475 <paramlist>
33476 <param name="dc" type="DC" default=""/>
33477 <param name="x" type="double" default=""/>
33478 <param name="y" type="double" default=""/>
33479 <param name="old_x" type="double" default=""/>
33480 <param name="old_y" type="double" default=""/>
33481 <param name="display" type="bool" default="True"/>
33482 </paramlist>
33483 </method>
33484 <method name="base_OnDragLeft" type="" overloaded="no">
33485 <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
33486 <paramlist>
33487 <param name="draw" type="bool" default=""/>
33488 <param name="x" type="double" default=""/>
33489 <param name="y" type="double" default=""/>
33490 <param name="keys" type="int" default="0"/>
33491 <param name="attachment" type="int" default="0"/>
33492 </paramlist>
33493 </method>
33494 <method name="base_OnBeginDragLeft" type="" overloaded="no">
33495 <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33496 <paramlist>
33497 <param name="x" type="double" default=""/>
33498 <param name="y" type="double" default=""/>
33499 <param name="keys" type="int" default="0"/>
33500 <param name="attachment" type="int" default="0"/>
33501 </paramlist>
33502 </method>
33503 <method name="base_OnEndDragLeft" type="" overloaded="no">
33504 <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33505 <paramlist>
33506 <param name="x" type="double" default=""/>
33507 <param name="y" type="double" default=""/>
33508 <param name="keys" type="int" default="0"/>
33509 <param name="attachment" type="int" default="0"/>
33510 </paramlist>
33511 </method>
33512 <method name="base_OnDragRight" type="" overloaded="no">
33513 <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
33514 <paramlist>
33515 <param name="draw" type="bool" default=""/>
33516 <param name="x" type="double" default=""/>
33517 <param name="y" type="double" default=""/>
33518 <param name="keys" type="int" default="0"/>
33519 <param name="attachment" type="int" default="0"/>
33520 </paramlist>
33521 </method>
33522 <method name="base_OnBeginDragRight" type="" overloaded="no">
33523 <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33524 <paramlist>
33525 <param name="x" type="double" default=""/>
33526 <param name="y" type="double" default=""/>
33527 <param name="keys" type="int" default="0"/>
33528 <param name="attachment" type="int" default="0"/>
33529 </paramlist>
33530 </method>
33531 <method name="base_OnEndDragRight" type="" overloaded="no">
33532 <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33533 <paramlist>
33534 <param name="x" type="double" default=""/>
33535 <param name="y" type="double" default=""/>
33536 <param name="keys" type="int" default="0"/>
33537 <param name="attachment" type="int" default="0"/>
33538 </paramlist>
33539 </method>
33540 <method name="base_OnDrawOutline" type="" overloaded="no">
33541 <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
33542 <paramlist>
33543 <param name="dc" type="DC" default=""/>
33544 <param name="x" type="double" default=""/>
33545 <param name="y" type="double" default=""/>
33546 <param name="w" type="double" default=""/>
33547 <param name="h" type="double" default=""/>
33548 </paramlist>
33549 </method>
33550 <method name="base_OnDrawControlPoints" type="" overloaded="no">
33551 <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
33552 <paramlist>
33553 <param name="dc" type="DC" default=""/>
33554 </paramlist>
33555 </method>
33556 <method name="base_OnEraseControlPoints" type="" overloaded="no">
33557 <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
33558 <paramlist>
33559 <param name="dc" type="DC" default=""/>
33560 </paramlist>
33561 </method>
33562 <method name="base_OnMoveLink" type="" overloaded="no">
33563 <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
33564 <paramlist>
33565 <param name="dc" type="DC" default=""/>
33566 <param name="moveControlPoints" type="bool" default="True"/>
33567 </paramlist>
33568 </method>
33569 <method name="base_OnSizingDragLeft" type="" overloaded="no">
33570 <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
33571 int attachment=0)</autodoc>
33572 <paramlist>
33573 <param name="pt" type="PyControlPoint" default=""/>
33574 <param name="draw" type="bool" default=""/>
33575 <param name="x" type="double" default=""/>
33576 <param name="y" type="double" default=""/>
33577 <param name="keys" type="int" default="0"/>
33578 <param name="attachment" type="int" default="0"/>
33579 </paramlist>
33580 </method>
33581 <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
33582 <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
33583 int attachment=0)</autodoc>
33584 <paramlist>
33585 <param name="pt" type="PyControlPoint" default=""/>
33586 <param name="x" type="double" default=""/>
33587 <param name="y" type="double" default=""/>
33588 <param name="keys" type="int" default="0"/>
33589 <param name="attachment" type="int" default="0"/>
33590 </paramlist>
33591 </method>
33592 <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
33593 <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
33594 int attachment=0)</autodoc>
33595 <paramlist>
33596 <param name="pt" type="PyControlPoint" default=""/>
33597 <param name="x" type="double" default=""/>
33598 <param name="y" type="double" default=""/>
33599 <param name="keys" type="int" default="0"/>
33600 <param name="attachment" type="int" default="0"/>
33601 </paramlist>
33602 </method>
33603 <method name="base_OnBeginSize" type="" overloaded="no">
33604 <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
33605 <paramlist>
33606 <param name="w" type="double" default=""/>
33607 <param name="h" type="double" default=""/>
33608 </paramlist>
33609 </method>
33610 <method name="base_OnEndSize" type="" overloaded="no">
33611 <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
33612 <paramlist>
33613 <param name="w" type="double" default=""/>
33614 <param name="h" type="double" default=""/>
33615 </paramlist>
33616 </method>
33617 </class>
33618 <class name="PyCircleShape" oldname="wxPyCircleShape" module="ogl">
33619 <baseclass name="PyEllipseShape"/>
33620 <constructor name="PyCircleShape" overloaded="no">
33621 <autodoc>__init__(self, double width=0.0) -&gt; PyCircleShape</autodoc>
33622 <paramlist>
33623 <param name="width" type="double" default="0.0"/>
33624 </paramlist>
33625 </constructor>
33626 <method name="_setCallbackInfo" type="" overloaded="no">
33627 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
33628 <paramlist>
33629 <param name="self" type="PyObject" default=""/>
33630 <param name="_class" type="PyObject" default=""/>
33631 </paramlist>
33632 </method>
33633 <method name="base_OnDraw" type="" overloaded="no">
33634 <autodoc>base_OnDraw(self, DC dc)</autodoc>
33635 <paramlist>
33636 <param name="dc" type="DC" default=""/>
33637 </paramlist>
33638 </method>
33639 <method name="base_OnDrawContents" type="" overloaded="no">
33640 <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
33641 <paramlist>
33642 <param name="dc" type="DC" default=""/>
33643 </paramlist>
33644 </method>
33645 <method name="base_OnDrawBranches" type="" overloaded="no">
33646 <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
33647 <paramlist>
33648 <param name="dc" type="DC" default=""/>
33649 <param name="erase" type="bool" default="FALSE"/>
33650 </paramlist>
33651 </method>
33652 <method name="base_OnMoveLinks" type="" overloaded="no">
33653 <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
33654 <paramlist>
33655 <param name="dc" type="DC" default=""/>
33656 </paramlist>
33657 </method>
33658 <method name="base_OnErase" type="" overloaded="no">
33659 <autodoc>base_OnErase(self, DC dc)</autodoc>
33660 <paramlist>
33661 <param name="dc" type="DC" default=""/>
33662 </paramlist>
33663 </method>
33664 <method name="base_OnEraseContents" type="" overloaded="no">
33665 <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
33666 <paramlist>
33667 <param name="dc" type="DC" default=""/>
33668 </paramlist>
33669 </method>
33670 <method name="base_OnHighlight" type="" overloaded="no">
33671 <autodoc>base_OnHighlight(self, DC dc)</autodoc>
33672 <paramlist>
33673 <param name="dc" type="DC" default=""/>
33674 </paramlist>
33675 </method>
33676 <method name="base_OnLeftClick" type="" overloaded="no">
33677 <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33678 <paramlist>
33679 <param name="x" type="double" default=""/>
33680 <param name="y" type="double" default=""/>
33681 <param name="keys" type="int" default="0"/>
33682 <param name="attachment" type="int" default="0"/>
33683 </paramlist>
33684 </method>
33685 <method name="base_OnLeftDoubleClick" type="" overloaded="no">
33686 <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33687 <paramlist>
33688 <param name="x" type="double" default=""/>
33689 <param name="y" type="double" default=""/>
33690 <param name="keys" type="int" default="0"/>
33691 <param name="attachment" type="int" default="0"/>
33692 </paramlist>
33693 </method>
33694 <method name="base_OnRightClick" type="" overloaded="no">
33695 <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33696 <paramlist>
33697 <param name="x" type="double" default=""/>
33698 <param name="y" type="double" default=""/>
33699 <param name="keys" type="int" default="0"/>
33700 <param name="attachment" type="int" default="0"/>
33701 </paramlist>
33702 </method>
33703 <method name="base_OnSize" type="" overloaded="no">
33704 <autodoc>base_OnSize(self, double x, double y)</autodoc>
33705 <paramlist>
33706 <param name="x" type="double" default=""/>
33707 <param name="y" type="double" default=""/>
33708 </paramlist>
33709 </method>
33710 <method name="base_OnMovePre" type="bool" overloaded="no">
33711 <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
33712 bool display=True) -&gt; bool</autodoc>
33713 <paramlist>
33714 <param name="dc" type="DC" default=""/>
33715 <param name="x" type="double" default=""/>
33716 <param name="y" type="double" default=""/>
33717 <param name="old_x" type="double" default=""/>
33718 <param name="old_y" type="double" default=""/>
33719 <param name="display" type="bool" default="True"/>
33720 </paramlist>
33721 </method>
33722 <method name="base_OnMovePost" type="" overloaded="no">
33723 <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
33724 bool display=True)</autodoc>
33725 <paramlist>
33726 <param name="dc" type="DC" default=""/>
33727 <param name="x" type="double" default=""/>
33728 <param name="y" type="double" default=""/>
33729 <param name="old_x" type="double" default=""/>
33730 <param name="old_y" type="double" default=""/>
33731 <param name="display" type="bool" default="True"/>
33732 </paramlist>
33733 </method>
33734 <method name="base_OnDragLeft" type="" overloaded="no">
33735 <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
33736 <paramlist>
33737 <param name="draw" type="bool" 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_OnBeginDragLeft" type="" overloaded="no">
33745 <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33746 <paramlist>
33747 <param name="x" type="double" default=""/>
33748 <param name="y" type="double" default=""/>
33749 <param name="keys" type="int" default="0"/>
33750 <param name="attachment" type="int" default="0"/>
33751 </paramlist>
33752 </method>
33753 <method name="base_OnEndDragLeft" type="" overloaded="no">
33754 <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33755 <paramlist>
33756 <param name="x" type="double" default=""/>
33757 <param name="y" type="double" default=""/>
33758 <param name="keys" type="int" default="0"/>
33759 <param name="attachment" type="int" default="0"/>
33760 </paramlist>
33761 </method>
33762 <method name="base_OnDragRight" type="" overloaded="no">
33763 <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
33764 <paramlist>
33765 <param name="draw" type="bool" default=""/>
33766 <param name="x" type="double" default=""/>
33767 <param name="y" type="double" default=""/>
33768 <param name="keys" type="int" default="0"/>
33769 <param name="attachment" type="int" default="0"/>
33770 </paramlist>
33771 </method>
33772 <method name="base_OnBeginDragRight" type="" overloaded="no">
33773 <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33774 <paramlist>
33775 <param name="x" type="double" default=""/>
33776 <param name="y" type="double" default=""/>
33777 <param name="keys" type="int" default="0"/>
33778 <param name="attachment" type="int" default="0"/>
33779 </paramlist>
33780 </method>
33781 <method name="base_OnEndDragRight" type="" overloaded="no">
33782 <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
33783 <paramlist>
33784 <param name="x" type="double" default=""/>
33785 <param name="y" type="double" default=""/>
33786 <param name="keys" type="int" default="0"/>
33787 <param name="attachment" type="int" default="0"/>
33788 </paramlist>
33789 </method>
33790 <method name="base_OnDrawOutline" type="" overloaded="no">
33791 <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
33792 <paramlist>
33793 <param name="dc" type="DC" default=""/>
33794 <param name="x" type="double" default=""/>
33795 <param name="y" type="double" default=""/>
33796 <param name="w" type="double" default=""/>
33797 <param name="h" type="double" default=""/>
33798 </paramlist>
33799 </method>
33800 <method name="base_OnDrawControlPoints" type="" overloaded="no">
33801 <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
33802 <paramlist>
33803 <param name="dc" type="DC" default=""/>
33804 </paramlist>
33805 </method>
33806 <method name="base_OnEraseControlPoints" type="" overloaded="no">
33807 <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
33808 <paramlist>
33809 <param name="dc" type="DC" default=""/>
33810 </paramlist>
33811 </method>
33812 <method name="base_OnMoveLink" type="" overloaded="no">
33813 <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
33814 <paramlist>
33815 <param name="dc" type="DC" default=""/>
33816 <param name="moveControlPoints" type="bool" default="True"/>
33817 </paramlist>
33818 </method>
33819 <method name="base_OnSizingDragLeft" type="" overloaded="no">
33820 <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
33821 int attachment=0)</autodoc>
33822 <paramlist>
33823 <param name="pt" type="PyControlPoint" default=""/>
33824 <param name="draw" type="bool" default=""/>
33825 <param name="x" type="double" default=""/>
33826 <param name="y" type="double" default=""/>
33827 <param name="keys" type="int" default="0"/>
33828 <param name="attachment" type="int" default="0"/>
33829 </paramlist>
33830 </method>
33831 <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
33832 <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
33833 int attachment=0)</autodoc>
33834 <paramlist>
33835 <param name="pt" type="PyControlPoint" default=""/>
33836 <param name="x" type="double" default=""/>
33837 <param name="y" type="double" default=""/>
33838 <param name="keys" type="int" default="0"/>
33839 <param name="attachment" type="int" default="0"/>
33840 </paramlist>
33841 </method>
33842 <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
33843 <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
33844 int attachment=0)</autodoc>
33845 <paramlist>
33846 <param name="pt" type="PyControlPoint" default=""/>
33847 <param name="x" type="double" default=""/>
33848 <param name="y" type="double" default=""/>
33849 <param name="keys" type="int" default="0"/>
33850 <param name="attachment" type="int" default="0"/>
33851 </paramlist>
33852 </method>
33853 <method name="base_OnBeginSize" type="" overloaded="no">
33854 <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
33855 <paramlist>
33856 <param name="w" type="double" default=""/>
33857 <param name="h" type="double" default=""/>
33858 </paramlist>
33859 </method>
33860 <method name="base_OnEndSize" type="" overloaded="no">
33861 <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
33862 <paramlist>
33863 <param name="w" type="double" default=""/>
33864 <param name="h" type="double" default=""/>
33865 </paramlist>
33866 </method>
33867 </class>
33868 <class name="ArrowHead" oldname="wxArrowHead" module="ogl">
33869 <baseclass name="Object"/>
33870 <constructor name="ArrowHead" overloaded="no">
33871 <autodoc>__init__(self, int type=0, int end=0, double size=0.0, double dist=0.0,
33872 String name=EmptyString, PseudoMetaFile mf=None,
33873 long arrowId=-1) -&gt; ArrowHead</autodoc>
33874 <paramlist>
33875 <param name="type" type="int" default="0"/>
33876 <param name="end" type="int" default="0"/>
33877 <param name="size" type="double" default="0.0"/>
33878 <param name="dist" type="double" default="0.0"/>
33879 <param name="name" type="String" default="wxPyEmptyString"/>
33880 <param name="mf" type="PseudoMetaFile" default="NULL"/>
33881 <param name="arrowId" type="long" default="-1"/>
33882 </paramlist>
33883 </constructor>
33884 <destructor name="~wxArrowHead" overloaded="no">
33885 <autodoc>__del__(self)</autodoc>
33886 </destructor>
33887 <method name="_GetType" type="int" overloaded="no">
33888 <autodoc>_GetType(self) -&gt; int</autodoc>
33889 </method>
33890 <method name="GetPosition" type="int" overloaded="no">
33891 <autodoc>GetPosition(self) -&gt; int</autodoc>
33892 </method>
33893 <method name="SetPosition" type="" overloaded="no">
33894 <autodoc>SetPosition(self, int pos)</autodoc>
33895 <paramlist>
33896 <param name="pos" type="int" default=""/>
33897 </paramlist>
33898 </method>
33899 <method name="GetXOffset" type="double" overloaded="no">
33900 <autodoc>GetXOffset(self) -&gt; double</autodoc>
33901 </method>
33902 <method name="GetYOffset" type="double" overloaded="no">
33903 <autodoc>GetYOffset(self) -&gt; double</autodoc>
33904 </method>
33905 <method name="GetSpacing" type="double" overloaded="no">
33906 <autodoc>GetSpacing(self) -&gt; double</autodoc>
33907 </method>
33908 <method name="GetSize" type="double" overloaded="no">
33909 <autodoc>GetSize(self) -&gt; double</autodoc>
33910 </method>
33911 <method name="GetName" type="String" overloaded="no">
33912 <autodoc>GetName(self) -&gt; String</autodoc>
33913 </method>
33914 <method name="SetXOffset" type="" overloaded="no">
33915 <autodoc>SetXOffset(self, double x)</autodoc>
33916 <paramlist>
33917 <param name="x" type="double" default=""/>
33918 </paramlist>
33919 </method>
33920 <method name="SetYOffset" type="" overloaded="no">
33921 <autodoc>SetYOffset(self, double y)</autodoc>
33922 <paramlist>
33923 <param name="y" type="double" default=""/>
33924 </paramlist>
33925 </method>
33926 <method name="GetMetaFile" type="PseudoMetaFile" overloaded="no">
33927 <autodoc>GetMetaFile(self) -&gt; PseudoMetaFile</autodoc>
33928 </method>
33929 <method name="GetId" type="long" overloaded="no">
33930 <autodoc>GetId(self) -&gt; long</autodoc>
33931 </method>
33932 <method name="GetArrowEnd" type="int" overloaded="no">
33933 <autodoc>GetArrowEnd(self) -&gt; int</autodoc>
33934 </method>
33935 <method name="GetArrowSize" type="double" overloaded="no">
33936 <autodoc>GetArrowSize(self) -&gt; double</autodoc>
33937 </method>
33938 <method name="SetSize" type="" overloaded="no">
33939 <autodoc>SetSize(self, double size)</autodoc>
33940 <paramlist>
33941 <param name="size" type="double" default=""/>
33942 </paramlist>
33943 </method>
33944 <method name="SetSpacing" type="" overloaded="no">
33945 <autodoc>SetSpacing(self, double sp)</autodoc>
33946 <paramlist>
33947 <param name="sp" type="double" default=""/>
33948 </paramlist>
33949 </method>
33950 </class>
33951 <class name="PyLineShape" oldname="wxPyLineShape" module="ogl">
33952 <baseclass name="PyShape"/>
33953 <constructor name="PyLineShape" overloaded="no">
33954 <autodoc>__init__(self) -&gt; PyLineShape</autodoc>
33955 </constructor>
33956 <method name="_setCallbackInfo" type="" overloaded="no">
33957 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
33958 <paramlist>
33959 <param name="self" type="PyObject" default=""/>
33960 <param name="_class" type="PyObject" default=""/>
33961 </paramlist>
33962 </method>
33963 <method name="AddArrow" type="" overloaded="no">
33964 <autodoc>AddArrow(self, int type, int end=ARROW_POSITION_END, double arrowSize=10.0,
33965 double xOffset=0.0, String name=EmptyString,
33966 PseudoMetaFile mf=None, long arrowId=-1)</autodoc>
33967 <paramlist>
33968 <param name="type" type="int" default=""/>
33969 <param name="end" type="int" default="ARROW_POSITION_END"/>
33970 <param name="arrowSize" type="double" default="10.0"/>
33971 <param name="xOffset" type="double" default="0.0"/>
33972 <param name="name" type="String" default="wxPyEmptyString"/>
33973 <param name="mf" type="PseudoMetaFile" default="NULL"/>
33974 <param name="arrowId" type="long" default="-1"/>
33975 </paramlist>
33976 </method>
33977 <method name="AddArrowOrdered" type="" overloaded="no">
33978 <autodoc>AddArrowOrdered(self, ArrowHead arrow, PyObject referenceList, int end)</autodoc>
33979 <paramlist>
33980 <param name="arrow" type="ArrowHead" default=""/>
33981 <param name="referenceList" type="PyObject" default=""/>
33982 <param name="end" type="int" default=""/>
33983 </paramlist>
33984 </method>
33985 <method name="ClearArrow" type="bool" overloaded="no">
33986 <autodoc>ClearArrow(self, String name) -&gt; bool</autodoc>
33987 <paramlist>
33988 <param name="name" type="String" default=""/>
33989 </paramlist>
33990 </method>
33991 <method name="ClearArrowsAtPosition" type="" overloaded="no">
33992 <autodoc>ClearArrowsAtPosition(self, int position=-1)</autodoc>
33993 <paramlist>
33994 <param name="position" type="int" default="-1"/>
33995 </paramlist>
33996 </method>
33997 <method name="DrawArrow" type="" overloaded="no">
33998 <autodoc>DrawArrow(self, DC dc, ArrowHead arrow, double xOffset, bool proportionalOffset)</autodoc>
33999 <paramlist>
34000 <param name="dc" type="DC" default=""/>
34001 <param name="arrow" type="ArrowHead" default=""/>
34002 <param name="xOffset" type="double" default=""/>
34003 <param name="proportionalOffset" type="bool" default=""/>
34004 </paramlist>
34005 </method>
34006 <method name="DeleteArrowHeadId" type="bool" overloaded="no">
34007 <autodoc>DeleteArrowHeadId(self, long arrowId) -&gt; bool</autodoc>
34008 <paramlist>
34009 <param name="arrowId" type="long" default=""/>
34010 </paramlist>
34011 </method>
34012 <method name="DeleteArrowHead" type="bool" overloaded="no">
34013 <autodoc>DeleteArrowHead(self, int position, String name) -&gt; bool</autodoc>
34014 <paramlist>
34015 <param name="position" type="int" default=""/>
34016 <param name="name" type="String" default=""/>
34017 </paramlist>
34018 </method>
34019 <method name="DeleteLineControlPoint" type="bool" overloaded="no">
34020 <autodoc>DeleteLineControlPoint(self) -&gt; bool</autodoc>
34021 </method>
34022 <method name="DrawArrows" type="" overloaded="no">
34023 <autodoc>DrawArrows(self, DC dc)</autodoc>
34024 <paramlist>
34025 <param name="dc" type="DC" default=""/>
34026 </paramlist>
34027 </method>
34028 <method name="DrawRegion" type="" overloaded="no">
34029 <autodoc>DrawRegion(self, DC dc, ShapeRegion region, double x, double y)</autodoc>
34030 <paramlist>
34031 <param name="dc" type="DC" default=""/>
34032 <param name="region" type="ShapeRegion" default=""/>
34033 <param name="x" type="double" default=""/>
34034 <param name="y" type="double" default=""/>
34035 </paramlist>
34036 </method>
34037 <method name="EraseRegion" type="" overloaded="no">
34038 <autodoc>EraseRegion(self, DC dc, ShapeRegion region, double x, double y)</autodoc>
34039 <paramlist>
34040 <param name="dc" type="DC" default=""/>
34041 <param name="region" type="ShapeRegion" default=""/>
34042 <param name="x" type="double" default=""/>
34043 <param name="y" type="double" default=""/>
34044 </paramlist>
34045 </method>
34046 <method name="FindArrowHeadId" type="ArrowHead" overloaded="no">
34047 <autodoc>FindArrowHeadId(self, long arrowId) -&gt; ArrowHead</autodoc>
34048 <paramlist>
34049 <param name="arrowId" type="long" default=""/>
34050 </paramlist>
34051 </method>
34052 <method name="FindArrowHead" type="ArrowHead" overloaded="no">
34053 <autodoc>FindArrowHead(self, int position, String name) -&gt; ArrowHead</autodoc>
34054 <paramlist>
34055 <param name="position" type="int" default=""/>
34056 <param name="name" type="String" default=""/>
34057 </paramlist>
34058 </method>
34059 <method name="FindLineEndPoints" type="" overloaded="no">
34060 <autodoc>FindLineEndPoints(self, double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)</autodoc>
34061 <paramlist>
34062 <param name="OUTPUT" type="double" default=""/>
34063 <param name="OUTPUT" type="double" default=""/>
34064 <param name="OUTPUT" type="double" default=""/>
34065 <param name="OUTPUT" type="double" default=""/>
34066 </paramlist>
34067 </method>
34068 <method name="FindLinePosition" type="int" overloaded="no">
34069 <autodoc>FindLinePosition(self, double x, double y) -&gt; int</autodoc>
34070 <paramlist>
34071 <param name="x" type="double" default=""/>
34072 <param name="y" type="double" default=""/>
34073 </paramlist>
34074 </method>
34075 <method name="FindMinimumWidth" type="double" overloaded="no">
34076 <autodoc>FindMinimumWidth(self) -&gt; double</autodoc>
34077 </method>
34078 <method name="FindNth" type="" overloaded="no">
34079 <autodoc>FindNth(self, PyShape image, int OUTPUT, int OUTPUT, bool incoming)</autodoc>
34080 <paramlist>
34081 <param name="image" type="PyShape" default=""/>
34082 <param name="OUTPUT" type="int" default=""/>
34083 <param name="OUTPUT" type="int" default=""/>
34084 <param name="incoming" type="bool" default=""/>
34085 </paramlist>
34086 </method>
34087 <method name="GetAttachmentFrom" type="int" overloaded="no">
34088 <autodoc>GetAttachmentFrom(self) -&gt; int</autodoc>
34089 </method>
34090 <method name="GetAttachmentTo" type="int" overloaded="no">
34091 <autodoc>GetAttachmentTo(self) -&gt; int</autodoc>
34092 </method>
34093 <method name="GetEnds" type="" overloaded="no">
34094 <autodoc>GetEnds(self, double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)</autodoc>
34095 <paramlist>
34096 <param name="OUTPUT" type="double" default=""/>
34097 <param name="OUTPUT" type="double" default=""/>
34098 <param name="OUTPUT" type="double" default=""/>
34099 <param name="OUTPUT" type="double" default=""/>
34100 </paramlist>
34101 </method>
34102 <method name="GetFrom" type="PyShape" overloaded="no">
34103 <autodoc>GetFrom(self) -&gt; PyShape</autodoc>
34104 </method>
34105 <method name="GetLabelPosition" type="" overloaded="no">
34106 <autodoc>GetLabelPosition(self, int position, double OUTPUT, double OUTPUT)</autodoc>
34107 <paramlist>
34108 <param name="position" type="int" default=""/>
34109 <param name="OUTPUT" type="double" default=""/>
34110 <param name="OUTPUT" type="double" default=""/>
34111 </paramlist>
34112 </method>
34113 <method name="GetNextControlPoint" type="RealPoint" overloaded="no">
34114 <autodoc>GetNextControlPoint(self, PyShape shape) -&gt; RealPoint</autodoc>
34115 <paramlist>
34116 <param name="shape" type="PyShape" default=""/>
34117 </paramlist>
34118 </method>
34119 <method name="GetTo" type="PyShape" overloaded="no">
34120 <autodoc>GetTo(self) -&gt; PyShape</autodoc>
34121 </method>
34122 <method name="Initialise" type="" overloaded="no">
34123 <autodoc>Initialise(self)</autodoc>
34124 </method>
34125 <method name="InsertLineControlPoint" type="" overloaded="no">
34126 <autodoc>InsertLineControlPoint(self, DC dc)</autodoc>
34127 <paramlist>
34128 <param name="dc" type="DC" default=""/>
34129 </paramlist>
34130 </method>
34131 <method name="IsEnd" type="bool" overloaded="no">
34132 <autodoc>IsEnd(self, PyShape shape) -&gt; bool</autodoc>
34133 <paramlist>
34134 <param name="shape" type="PyShape" default=""/>
34135 </paramlist>
34136 </method>
34137 <method name="IsSpline" type="bool" overloaded="no">
34138 <autodoc>IsSpline(self) -&gt; bool</autodoc>
34139 </method>
34140 <method name="MakeLineControlPoints" type="" overloaded="no">
34141 <autodoc>MakeLineControlPoints(self, int n)</autodoc>
34142 <paramlist>
34143 <param name="n" type="int" default=""/>
34144 </paramlist>
34145 </method>
34146 <method name="GetLineControlPoints" type="PyObject" overloaded="no">
34147 <autodoc>GetLineControlPoints(self) -&gt; PyObject</autodoc>
34148 </method>
34149 <method name="SetLineControlPoints" type="" overloaded="no">
34150 <autodoc>SetLineControlPoints(self, PyObject list)</autodoc>
34151 <paramlist>
34152 <param name="list" type="PyObject" default=""/>
34153 </paramlist>
34154 </method>
34155 <method name="SetAttachmentFrom" type="" overloaded="no">
34156 <autodoc>SetAttachmentFrom(self, int fromAttach)</autodoc>
34157 <paramlist>
34158 <param name="fromAttach" type="int" default=""/>
34159 </paramlist>
34160 </method>
34161 <method name="SetAttachments" type="" overloaded="no">
34162 <autodoc>SetAttachments(self, int fromAttach, int toAttach)</autodoc>
34163 <paramlist>
34164 <param name="fromAttach" type="int" default=""/>
34165 <param name="toAttach" type="int" default=""/>
34166 </paramlist>
34167 </method>
34168 <method name="SetAttachmentTo" type="" overloaded="no">
34169 <autodoc>SetAttachmentTo(self, int toAttach)</autodoc>
34170 <paramlist>
34171 <param name="toAttach" type="int" default=""/>
34172 </paramlist>
34173 </method>
34174 <method name="SetEnds" type="" overloaded="no">
34175 <autodoc>SetEnds(self, double x1, double y1, double x2, double y2)</autodoc>
34176 <paramlist>
34177 <param name="x1" type="double" default=""/>
34178 <param name="y1" type="double" default=""/>
34179 <param name="x2" type="double" default=""/>
34180 <param name="y2" type="double" default=""/>
34181 </paramlist>
34182 </method>
34183 <method name="SetFrom" type="" overloaded="no">
34184 <autodoc>SetFrom(self, PyShape object)</autodoc>
34185 <paramlist>
34186 <param name="object" type="PyShape" default=""/>
34187 </paramlist>
34188 </method>
34189 <method name="SetIgnoreOffsets" type="" overloaded="no">
34190 <autodoc>SetIgnoreOffsets(self, bool ignore)</autodoc>
34191 <paramlist>
34192 <param name="ignore" type="bool" default=""/>
34193 </paramlist>
34194 </method>
34195 <method name="SetSpline" type="" overloaded="no">
34196 <autodoc>SetSpline(self, bool spline)</autodoc>
34197 <paramlist>
34198 <param name="spline" type="bool" default=""/>
34199 </paramlist>
34200 </method>
34201 <method name="SetTo" type="" overloaded="no">
34202 <autodoc>SetTo(self, PyShape object)</autodoc>
34203 <paramlist>
34204 <param name="object" type="PyShape" default=""/>
34205 </paramlist>
34206 </method>
34207 <method name="Straighten" type="" overloaded="no">
34208 <autodoc>Straighten(self, DC dc=None)</autodoc>
34209 <paramlist>
34210 <param name="dc" type="DC" default="NULL"/>
34211 </paramlist>
34212 </method>
34213 <method name="Unlink" type="" overloaded="no">
34214 <autodoc>Unlink(self)</autodoc>
34215 </method>
34216 <method name="SetAlignmentOrientation" type="" overloaded="no">
34217 <autodoc>SetAlignmentOrientation(self, bool isEnd, bool isHoriz)</autodoc>
34218 <paramlist>
34219 <param name="isEnd" type="bool" default=""/>
34220 <param name="isHoriz" type="bool" default=""/>
34221 </paramlist>
34222 </method>
34223 <method name="SetAlignmentType" type="" overloaded="no">
34224 <autodoc>SetAlignmentType(self, bool isEnd, int alignType)</autodoc>
34225 <paramlist>
34226 <param name="isEnd" type="bool" default=""/>
34227 <param name="alignType" type="int" default=""/>
34228 </paramlist>
34229 </method>
34230 <method name="GetAlignmentOrientation" type="bool" overloaded="no">
34231 <autodoc>GetAlignmentOrientation(self, bool isEnd) -&gt; bool</autodoc>
34232 <paramlist>
34233 <param name="isEnd" type="bool" default=""/>
34234 </paramlist>
34235 </method>
34236 <method name="GetAlignmentType" type="int" overloaded="no">
34237 <autodoc>GetAlignmentType(self, bool isEnd) -&gt; int</autodoc>
34238 <paramlist>
34239 <param name="isEnd" type="bool" default=""/>
34240 </paramlist>
34241 </method>
34242 <method name="GetAlignmentStart" type="int" overloaded="no">
34243 <autodoc>GetAlignmentStart(self) -&gt; int</autodoc>
34244 </method>
34245 <method name="GetAlignmentEnd" type="int" overloaded="no">
34246 <autodoc>GetAlignmentEnd(self) -&gt; int</autodoc>
34247 </method>
34248 <method name="base_OnDraw" type="" overloaded="no">
34249 <autodoc>base_OnDraw(self, DC dc)</autodoc>
34250 <paramlist>
34251 <param name="dc" type="DC" default=""/>
34252 </paramlist>
34253 </method>
34254 <method name="base_OnDrawContents" type="" overloaded="no">
34255 <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
34256 <paramlist>
34257 <param name="dc" type="DC" default=""/>
34258 </paramlist>
34259 </method>
34260 <method name="base_OnDrawBranches" type="" overloaded="no">
34261 <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
34262 <paramlist>
34263 <param name="dc" type="DC" default=""/>
34264 <param name="erase" type="bool" default="FALSE"/>
34265 </paramlist>
34266 </method>
34267 <method name="base_OnMoveLinks" type="" overloaded="no">
34268 <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
34269 <paramlist>
34270 <param name="dc" type="DC" default=""/>
34271 </paramlist>
34272 </method>
34273 <method name="base_OnErase" type="" overloaded="no">
34274 <autodoc>base_OnErase(self, DC dc)</autodoc>
34275 <paramlist>
34276 <param name="dc" type="DC" default=""/>
34277 </paramlist>
34278 </method>
34279 <method name="base_OnEraseContents" type="" overloaded="no">
34280 <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
34281 <paramlist>
34282 <param name="dc" type="DC" default=""/>
34283 </paramlist>
34284 </method>
34285 <method name="base_OnHighlight" type="" overloaded="no">
34286 <autodoc>base_OnHighlight(self, DC dc)</autodoc>
34287 <paramlist>
34288 <param name="dc" type="DC" default=""/>
34289 </paramlist>
34290 </method>
34291 <method name="base_OnLeftClick" type="" overloaded="no">
34292 <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34293 <paramlist>
34294 <param name="x" type="double" default=""/>
34295 <param name="y" type="double" default=""/>
34296 <param name="keys" type="int" default="0"/>
34297 <param name="attachment" type="int" default="0"/>
34298 </paramlist>
34299 </method>
34300 <method name="base_OnLeftDoubleClick" type="" overloaded="no">
34301 <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34302 <paramlist>
34303 <param name="x" type="double" default=""/>
34304 <param name="y" type="double" default=""/>
34305 <param name="keys" type="int" default="0"/>
34306 <param name="attachment" type="int" default="0"/>
34307 </paramlist>
34308 </method>
34309 <method name="base_OnRightClick" type="" overloaded="no">
34310 <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34311 <paramlist>
34312 <param name="x" type="double" default=""/>
34313 <param name="y" type="double" default=""/>
34314 <param name="keys" type="int" default="0"/>
34315 <param name="attachment" type="int" default="0"/>
34316 </paramlist>
34317 </method>
34318 <method name="base_OnSize" type="" overloaded="no">
34319 <autodoc>base_OnSize(self, double x, double y)</autodoc>
34320 <paramlist>
34321 <param name="x" type="double" default=""/>
34322 <param name="y" type="double" default=""/>
34323 </paramlist>
34324 </method>
34325 <method name="base_OnMovePre" type="bool" overloaded="no">
34326 <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
34327 bool display=True) -&gt; bool</autodoc>
34328 <paramlist>
34329 <param name="dc" type="DC" default=""/>
34330 <param name="x" type="double" default=""/>
34331 <param name="y" type="double" default=""/>
34332 <param name="old_x" type="double" default=""/>
34333 <param name="old_y" type="double" default=""/>
34334 <param name="display" type="bool" default="True"/>
34335 </paramlist>
34336 </method>
34337 <method name="base_OnMovePost" type="" overloaded="no">
34338 <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
34339 bool display=True)</autodoc>
34340 <paramlist>
34341 <param name="dc" type="DC" default=""/>
34342 <param name="x" type="double" default=""/>
34343 <param name="y" type="double" default=""/>
34344 <param name="old_x" type="double" default=""/>
34345 <param name="old_y" type="double" default=""/>
34346 <param name="display" type="bool" default="True"/>
34347 </paramlist>
34348 </method>
34349 <method name="base_OnDragLeft" type="" overloaded="no">
34350 <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
34351 <paramlist>
34352 <param name="draw" type="bool" default=""/>
34353 <param name="x" type="double" default=""/>
34354 <param name="y" type="double" default=""/>
34355 <param name="keys" type="int" default="0"/>
34356 <param name="attachment" type="int" default="0"/>
34357 </paramlist>
34358 </method>
34359 <method name="base_OnBeginDragLeft" type="" overloaded="no">
34360 <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34361 <paramlist>
34362 <param name="x" type="double" default=""/>
34363 <param name="y" type="double" default=""/>
34364 <param name="keys" type="int" default="0"/>
34365 <param name="attachment" type="int" default="0"/>
34366 </paramlist>
34367 </method>
34368 <method name="base_OnEndDragLeft" type="" overloaded="no">
34369 <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34370 <paramlist>
34371 <param name="x" type="double" default=""/>
34372 <param name="y" type="double" default=""/>
34373 <param name="keys" type="int" default="0"/>
34374 <param name="attachment" type="int" default="0"/>
34375 </paramlist>
34376 </method>
34377 <method name="base_OnDragRight" type="" overloaded="no">
34378 <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
34379 <paramlist>
34380 <param name="draw" type="bool" default=""/>
34381 <param name="x" type="double" default=""/>
34382 <param name="y" type="double" default=""/>
34383 <param name="keys" type="int" default="0"/>
34384 <param name="attachment" type="int" default="0"/>
34385 </paramlist>
34386 </method>
34387 <method name="base_OnBeginDragRight" type="" overloaded="no">
34388 <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34389 <paramlist>
34390 <param name="x" type="double" default=""/>
34391 <param name="y" type="double" default=""/>
34392 <param name="keys" type="int" default="0"/>
34393 <param name="attachment" type="int" default="0"/>
34394 </paramlist>
34395 </method>
34396 <method name="base_OnEndDragRight" type="" overloaded="no">
34397 <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34398 <paramlist>
34399 <param name="x" type="double" default=""/>
34400 <param name="y" type="double" default=""/>
34401 <param name="keys" type="int" default="0"/>
34402 <param name="attachment" type="int" default="0"/>
34403 </paramlist>
34404 </method>
34405 <method name="base_OnDrawOutline" type="" overloaded="no">
34406 <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
34407 <paramlist>
34408 <param name="dc" type="DC" default=""/>
34409 <param name="x" type="double" default=""/>
34410 <param name="y" type="double" default=""/>
34411 <param name="w" type="double" default=""/>
34412 <param name="h" type="double" default=""/>
34413 </paramlist>
34414 </method>
34415 <method name="base_OnDrawControlPoints" type="" overloaded="no">
34416 <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
34417 <paramlist>
34418 <param name="dc" type="DC" default=""/>
34419 </paramlist>
34420 </method>
34421 <method name="base_OnEraseControlPoints" type="" overloaded="no">
34422 <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
34423 <paramlist>
34424 <param name="dc" type="DC" default=""/>
34425 </paramlist>
34426 </method>
34427 <method name="base_OnMoveLink" type="" overloaded="no">
34428 <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
34429 <paramlist>
34430 <param name="dc" type="DC" default=""/>
34431 <param name="moveControlPoints" type="bool" default="True"/>
34432 </paramlist>
34433 </method>
34434 <method name="base_OnSizingDragLeft" type="" overloaded="no">
34435 <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
34436 int attachment=0)</autodoc>
34437 <paramlist>
34438 <param name="pt" type="PyControlPoint" default=""/>
34439 <param name="draw" type="bool" default=""/>
34440 <param name="x" type="double" default=""/>
34441 <param name="y" type="double" default=""/>
34442 <param name="keys" type="int" default="0"/>
34443 <param name="attachment" type="int" default="0"/>
34444 </paramlist>
34445 </method>
34446 <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
34447 <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
34448 int attachment=0)</autodoc>
34449 <paramlist>
34450 <param name="pt" type="PyControlPoint" default=""/>
34451 <param name="x" type="double" default=""/>
34452 <param name="y" type="double" default=""/>
34453 <param name="keys" type="int" default="0"/>
34454 <param name="attachment" type="int" default="0"/>
34455 </paramlist>
34456 </method>
34457 <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
34458 <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
34459 int attachment=0)</autodoc>
34460 <paramlist>
34461 <param name="pt" type="PyControlPoint" default=""/>
34462 <param name="x" type="double" default=""/>
34463 <param name="y" type="double" default=""/>
34464 <param name="keys" type="int" default="0"/>
34465 <param name="attachment" type="int" default="0"/>
34466 </paramlist>
34467 </method>
34468 <method name="base_OnBeginSize" type="" overloaded="no">
34469 <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
34470 <paramlist>
34471 <param name="w" type="double" default=""/>
34472 <param name="h" type="double" default=""/>
34473 </paramlist>
34474 </method>
34475 <method name="base_OnEndSize" type="" overloaded="no">
34476 <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
34477 <paramlist>
34478 <param name="w" type="double" default=""/>
34479 <param name="h" type="double" default=""/>
34480 </paramlist>
34481 </method>
34482 </class>
34483 <class name="PyPolygonShape" oldname="wxPyPolygonShape" module="ogl">
34484 <baseclass name="PyShape"/>
34485 <constructor name="PyPolygonShape" overloaded="no">
34486 <autodoc>__init__(self) -&gt; PyPolygonShape</autodoc>
34487 </constructor>
34488 <method name="_setCallbackInfo" type="" overloaded="no">
34489 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
34490 <paramlist>
34491 <param name="self" type="PyObject" default=""/>
34492 <param name="_class" type="PyObject" default=""/>
34493 </paramlist>
34494 </method>
34495 <method name="Create" type="PyObject" overloaded="no">
34496 <autodoc>Create(self, PyObject points) -&gt; PyObject</autodoc>
34497 <paramlist>
34498 <param name="points" type="PyObject" default=""/>
34499 </paramlist>
34500 </method>
34501 <method name="AddPolygonPoint" type="" overloaded="no">
34502 <autodoc>AddPolygonPoint(self, int pos=0)</autodoc>
34503 <paramlist>
34504 <param name="pos" type="int" default="0"/>
34505 </paramlist>
34506 </method>
34507 <method name="CalculatePolygonCentre" type="" overloaded="no">
34508 <autodoc>CalculatePolygonCentre(self)</autodoc>
34509 </method>
34510 <method name="DeletePolygonPoint" type="" overloaded="no">
34511 <autodoc>DeletePolygonPoint(self, int pos=0)</autodoc>
34512 <paramlist>
34513 <param name="pos" type="int" default="0"/>
34514 </paramlist>
34515 </method>
34516 <method name="GetPoints" type="PyObject" overloaded="no">
34517 <autodoc>GetPoints(self) -&gt; PyObject</autodoc>
34518 </method>
34519 <method name="GetOriginalPoints" type="PyObject" overloaded="no">
34520 <autodoc>GetOriginalPoints(self) -&gt; PyObject</autodoc>
34521 </method>
34522 <method name="GetOriginalWidth" type="double" overloaded="no">
34523 <autodoc>GetOriginalWidth(self) -&gt; double</autodoc>
34524 </method>
34525 <method name="GetOriginalHeight" type="double" overloaded="no">
34526 <autodoc>GetOriginalHeight(self) -&gt; double</autodoc>
34527 </method>
34528 <method name="SetOriginalWidth" type="" overloaded="no">
34529 <autodoc>SetOriginalWidth(self, double w)</autodoc>
34530 <paramlist>
34531 <param name="w" type="double" default=""/>
34532 </paramlist>
34533 </method>
34534 <method name="SetOriginalHeight" type="" overloaded="no">
34535 <autodoc>SetOriginalHeight(self, double h)</autodoc>
34536 <paramlist>
34537 <param name="h" type="double" default=""/>
34538 </paramlist>
34539 </method>
34540 <method name="UpdateOriginalPoints" type="" overloaded="no">
34541 <autodoc>UpdateOriginalPoints(self)</autodoc>
34542 </method>
34543 <method name="base_OnDraw" type="" overloaded="no">
34544 <autodoc>base_OnDraw(self, DC dc)</autodoc>
34545 <paramlist>
34546 <param name="dc" type="DC" default=""/>
34547 </paramlist>
34548 </method>
34549 <method name="base_OnDrawContents" type="" overloaded="no">
34550 <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
34551 <paramlist>
34552 <param name="dc" type="DC" default=""/>
34553 </paramlist>
34554 </method>
34555 <method name="base_OnDrawBranches" type="" overloaded="no">
34556 <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
34557 <paramlist>
34558 <param name="dc" type="DC" default=""/>
34559 <param name="erase" type="bool" default="FALSE"/>
34560 </paramlist>
34561 </method>
34562 <method name="base_OnMoveLinks" type="" overloaded="no">
34563 <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
34564 <paramlist>
34565 <param name="dc" type="DC" default=""/>
34566 </paramlist>
34567 </method>
34568 <method name="base_OnErase" type="" overloaded="no">
34569 <autodoc>base_OnErase(self, DC dc)</autodoc>
34570 <paramlist>
34571 <param name="dc" type="DC" default=""/>
34572 </paramlist>
34573 </method>
34574 <method name="base_OnEraseContents" type="" overloaded="no">
34575 <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
34576 <paramlist>
34577 <param name="dc" type="DC" default=""/>
34578 </paramlist>
34579 </method>
34580 <method name="base_OnHighlight" type="" overloaded="no">
34581 <autodoc>base_OnHighlight(self, DC dc)</autodoc>
34582 <paramlist>
34583 <param name="dc" type="DC" default=""/>
34584 </paramlist>
34585 </method>
34586 <method name="base_OnLeftClick" type="" overloaded="no">
34587 <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34588 <paramlist>
34589 <param name="x" type="double" default=""/>
34590 <param name="y" type="double" default=""/>
34591 <param name="keys" type="int" default="0"/>
34592 <param name="attachment" type="int" default="0"/>
34593 </paramlist>
34594 </method>
34595 <method name="base_OnLeftDoubleClick" type="" overloaded="no">
34596 <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34597 <paramlist>
34598 <param name="x" type="double" default=""/>
34599 <param name="y" type="double" default=""/>
34600 <param name="keys" type="int" default="0"/>
34601 <param name="attachment" type="int" default="0"/>
34602 </paramlist>
34603 </method>
34604 <method name="base_OnRightClick" type="" overloaded="no">
34605 <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34606 <paramlist>
34607 <param name="x" type="double" default=""/>
34608 <param name="y" type="double" default=""/>
34609 <param name="keys" type="int" default="0"/>
34610 <param name="attachment" type="int" default="0"/>
34611 </paramlist>
34612 </method>
34613 <method name="base_OnSize" type="" overloaded="no">
34614 <autodoc>base_OnSize(self, double x, double y)</autodoc>
34615 <paramlist>
34616 <param name="x" type="double" default=""/>
34617 <param name="y" type="double" default=""/>
34618 </paramlist>
34619 </method>
34620 <method name="base_OnMovePre" type="bool" overloaded="no">
34621 <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
34622 bool display=True) -&gt; bool</autodoc>
34623 <paramlist>
34624 <param name="dc" type="DC" default=""/>
34625 <param name="x" type="double" default=""/>
34626 <param name="y" type="double" default=""/>
34627 <param name="old_x" type="double" default=""/>
34628 <param name="old_y" type="double" default=""/>
34629 <param name="display" type="bool" default="True"/>
34630 </paramlist>
34631 </method>
34632 <method name="base_OnMovePost" type="" overloaded="no">
34633 <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
34634 bool display=True)</autodoc>
34635 <paramlist>
34636 <param name="dc" type="DC" default=""/>
34637 <param name="x" type="double" default=""/>
34638 <param name="y" type="double" default=""/>
34639 <param name="old_x" type="double" default=""/>
34640 <param name="old_y" type="double" default=""/>
34641 <param name="display" type="bool" default="True"/>
34642 </paramlist>
34643 </method>
34644 <method name="base_OnDragLeft" type="" overloaded="no">
34645 <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
34646 <paramlist>
34647 <param name="draw" type="bool" default=""/>
34648 <param name="x" type="double" default=""/>
34649 <param name="y" type="double" default=""/>
34650 <param name="keys" type="int" default="0"/>
34651 <param name="attachment" type="int" default="0"/>
34652 </paramlist>
34653 </method>
34654 <method name="base_OnBeginDragLeft" type="" overloaded="no">
34655 <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34656 <paramlist>
34657 <param name="x" type="double" default=""/>
34658 <param name="y" type="double" default=""/>
34659 <param name="keys" type="int" default="0"/>
34660 <param name="attachment" type="int" default="0"/>
34661 </paramlist>
34662 </method>
34663 <method name="base_OnEndDragLeft" type="" overloaded="no">
34664 <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34665 <paramlist>
34666 <param name="x" type="double" default=""/>
34667 <param name="y" type="double" default=""/>
34668 <param name="keys" type="int" default="0"/>
34669 <param name="attachment" type="int" default="0"/>
34670 </paramlist>
34671 </method>
34672 <method name="base_OnDragRight" type="" overloaded="no">
34673 <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
34674 <paramlist>
34675 <param name="draw" type="bool" default=""/>
34676 <param name="x" type="double" default=""/>
34677 <param name="y" type="double" default=""/>
34678 <param name="keys" type="int" default="0"/>
34679 <param name="attachment" type="int" default="0"/>
34680 </paramlist>
34681 </method>
34682 <method name="base_OnBeginDragRight" type="" overloaded="no">
34683 <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34684 <paramlist>
34685 <param name="x" type="double" default=""/>
34686 <param name="y" type="double" default=""/>
34687 <param name="keys" type="int" default="0"/>
34688 <param name="attachment" type="int" default="0"/>
34689 </paramlist>
34690 </method>
34691 <method name="base_OnEndDragRight" type="" overloaded="no">
34692 <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34693 <paramlist>
34694 <param name="x" type="double" default=""/>
34695 <param name="y" type="double" default=""/>
34696 <param name="keys" type="int" default="0"/>
34697 <param name="attachment" type="int" default="0"/>
34698 </paramlist>
34699 </method>
34700 <method name="base_OnDrawOutline" type="" overloaded="no">
34701 <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
34702 <paramlist>
34703 <param name="dc" type="DC" default=""/>
34704 <param name="x" type="double" default=""/>
34705 <param name="y" type="double" default=""/>
34706 <param name="w" type="double" default=""/>
34707 <param name="h" type="double" default=""/>
34708 </paramlist>
34709 </method>
34710 <method name="base_OnDrawControlPoints" type="" overloaded="no">
34711 <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
34712 <paramlist>
34713 <param name="dc" type="DC" default=""/>
34714 </paramlist>
34715 </method>
34716 <method name="base_OnEraseControlPoints" type="" overloaded="no">
34717 <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
34718 <paramlist>
34719 <param name="dc" type="DC" default=""/>
34720 </paramlist>
34721 </method>
34722 <method name="base_OnMoveLink" type="" overloaded="no">
34723 <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
34724 <paramlist>
34725 <param name="dc" type="DC" default=""/>
34726 <param name="moveControlPoints" type="bool" default="True"/>
34727 </paramlist>
34728 </method>
34729 <method name="base_OnSizingDragLeft" type="" overloaded="no">
34730 <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
34731 int attachment=0)</autodoc>
34732 <paramlist>
34733 <param name="pt" type="PyControlPoint" default=""/>
34734 <param name="draw" type="bool" default=""/>
34735 <param name="x" type="double" default=""/>
34736 <param name="y" type="double" default=""/>
34737 <param name="keys" type="int" default="0"/>
34738 <param name="attachment" type="int" default="0"/>
34739 </paramlist>
34740 </method>
34741 <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
34742 <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
34743 int attachment=0)</autodoc>
34744 <paramlist>
34745 <param name="pt" type="PyControlPoint" default=""/>
34746 <param name="x" type="double" default=""/>
34747 <param name="y" type="double" default=""/>
34748 <param name="keys" type="int" default="0"/>
34749 <param name="attachment" type="int" default="0"/>
34750 </paramlist>
34751 </method>
34752 <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
34753 <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
34754 int attachment=0)</autodoc>
34755 <paramlist>
34756 <param name="pt" type="PyControlPoint" default=""/>
34757 <param name="x" type="double" default=""/>
34758 <param name="y" type="double" default=""/>
34759 <param name="keys" type="int" default="0"/>
34760 <param name="attachment" type="int" default="0"/>
34761 </paramlist>
34762 </method>
34763 <method name="base_OnBeginSize" type="" overloaded="no">
34764 <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
34765 <paramlist>
34766 <param name="w" type="double" default=""/>
34767 <param name="h" type="double" default=""/>
34768 </paramlist>
34769 </method>
34770 <method name="base_OnEndSize" type="" overloaded="no">
34771 <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
34772 <paramlist>
34773 <param name="w" type="double" default=""/>
34774 <param name="h" type="double" default=""/>
34775 </paramlist>
34776 </method>
34777 </class>
34778 <class name="PyTextShape" oldname="wxPyTextShape" module="ogl">
34779 <baseclass name="PyRectangleShape"/>
34780 <constructor name="PyTextShape" overloaded="no">
34781 <autodoc>__init__(self, double width=0.0, double height=0.0) -&gt; PyTextShape</autodoc>
34782 <paramlist>
34783 <param name="width" type="double" default="0.0"/>
34784 <param name="height" type="double" default="0.0"/>
34785 </paramlist>
34786 </constructor>
34787 <method name="_setCallbackInfo" type="" overloaded="no">
34788 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
34789 <paramlist>
34790 <param name="self" type="PyObject" default=""/>
34791 <param name="_class" type="PyObject" default=""/>
34792 </paramlist>
34793 </method>
34794 <method name="base_OnDelete" type="" overloaded="no">
34795 <autodoc>base_OnDelete(self)</autodoc>
34796 </method>
34797 <method name="base_OnDraw" type="" overloaded="no">
34798 <autodoc>base_OnDraw(self, DC dc)</autodoc>
34799 <paramlist>
34800 <param name="dc" type="DC" default=""/>
34801 </paramlist>
34802 </method>
34803 <method name="base_OnDrawContents" type="" overloaded="no">
34804 <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
34805 <paramlist>
34806 <param name="dc" type="DC" default=""/>
34807 </paramlist>
34808 </method>
34809 <method name="base_OnDrawBranches" type="" overloaded="no">
34810 <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
34811 <paramlist>
34812 <param name="dc" type="DC" default=""/>
34813 <param name="erase" type="bool" default="FALSE"/>
34814 </paramlist>
34815 </method>
34816 <method name="base_OnMoveLinks" type="" overloaded="no">
34817 <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
34818 <paramlist>
34819 <param name="dc" type="DC" default=""/>
34820 </paramlist>
34821 </method>
34822 <method name="base_OnErase" type="" overloaded="no">
34823 <autodoc>base_OnErase(self, DC dc)</autodoc>
34824 <paramlist>
34825 <param name="dc" type="DC" default=""/>
34826 </paramlist>
34827 </method>
34828 <method name="base_OnEraseContents" type="" overloaded="no">
34829 <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
34830 <paramlist>
34831 <param name="dc" type="DC" default=""/>
34832 </paramlist>
34833 </method>
34834 <method name="base_OnHighlight" type="" overloaded="no">
34835 <autodoc>base_OnHighlight(self, DC dc)</autodoc>
34836 <paramlist>
34837 <param name="dc" type="DC" default=""/>
34838 </paramlist>
34839 </method>
34840 <method name="base_OnLeftClick" type="" overloaded="no">
34841 <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34842 <paramlist>
34843 <param name="x" type="double" default=""/>
34844 <param name="y" type="double" default=""/>
34845 <param name="keys" type="int" default="0"/>
34846 <param name="attachment" type="int" default="0"/>
34847 </paramlist>
34848 </method>
34849 <method name="base_OnLeftDoubleClick" type="" overloaded="no">
34850 <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34851 <paramlist>
34852 <param name="x" type="double" default=""/>
34853 <param name="y" type="double" default=""/>
34854 <param name="keys" type="int" default="0"/>
34855 <param name="attachment" type="int" default="0"/>
34856 </paramlist>
34857 </method>
34858 <method name="base_OnRightClick" type="" overloaded="no">
34859 <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34860 <paramlist>
34861 <param name="x" type="double" default=""/>
34862 <param name="y" type="double" default=""/>
34863 <param name="keys" type="int" default="0"/>
34864 <param name="attachment" type="int" default="0"/>
34865 </paramlist>
34866 </method>
34867 <method name="base_OnSize" type="" overloaded="no">
34868 <autodoc>base_OnSize(self, double x, double y)</autodoc>
34869 <paramlist>
34870 <param name="x" type="double" default=""/>
34871 <param name="y" type="double" default=""/>
34872 </paramlist>
34873 </method>
34874 <method name="base_OnMovePre" type="bool" overloaded="no">
34875 <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
34876 bool display=True) -&gt; bool</autodoc>
34877 <paramlist>
34878 <param name="dc" type="DC" default=""/>
34879 <param name="x" type="double" default=""/>
34880 <param name="y" type="double" default=""/>
34881 <param name="old_x" type="double" default=""/>
34882 <param name="old_y" type="double" default=""/>
34883 <param name="display" type="bool" default="True"/>
34884 </paramlist>
34885 </method>
34886 <method name="base_OnMovePost" type="" overloaded="no">
34887 <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
34888 bool display=True)</autodoc>
34889 <paramlist>
34890 <param name="dc" type="DC" default=""/>
34891 <param name="x" type="double" default=""/>
34892 <param name="y" type="double" default=""/>
34893 <param name="old_x" type="double" default=""/>
34894 <param name="old_y" type="double" default=""/>
34895 <param name="display" type="bool" default="True"/>
34896 </paramlist>
34897 </method>
34898 <method name="base_OnDragLeft" type="" overloaded="no">
34899 <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
34900 <paramlist>
34901 <param name="draw" type="bool" default=""/>
34902 <param name="x" type="double" default=""/>
34903 <param name="y" type="double" default=""/>
34904 <param name="keys" type="int" default="0"/>
34905 <param name="attachment" type="int" default="0"/>
34906 </paramlist>
34907 </method>
34908 <method name="base_OnBeginDragLeft" type="" overloaded="no">
34909 <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34910 <paramlist>
34911 <param name="x" type="double" default=""/>
34912 <param name="y" type="double" default=""/>
34913 <param name="keys" type="int" default="0"/>
34914 <param name="attachment" type="int" default="0"/>
34915 </paramlist>
34916 </method>
34917 <method name="base_OnEndDragLeft" type="" overloaded="no">
34918 <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34919 <paramlist>
34920 <param name="x" type="double" default=""/>
34921 <param name="y" type="double" default=""/>
34922 <param name="keys" type="int" default="0"/>
34923 <param name="attachment" type="int" default="0"/>
34924 </paramlist>
34925 </method>
34926 <method name="base_OnDragRight" type="" overloaded="no">
34927 <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
34928 <paramlist>
34929 <param name="draw" type="bool" default=""/>
34930 <param name="x" type="double" default=""/>
34931 <param name="y" type="double" default=""/>
34932 <param name="keys" type="int" default="0"/>
34933 <param name="attachment" type="int" default="0"/>
34934 </paramlist>
34935 </method>
34936 <method name="base_OnBeginDragRight" type="" overloaded="no">
34937 <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34938 <paramlist>
34939 <param name="x" type="double" default=""/>
34940 <param name="y" type="double" default=""/>
34941 <param name="keys" type="int" default="0"/>
34942 <param name="attachment" type="int" default="0"/>
34943 </paramlist>
34944 </method>
34945 <method name="base_OnEndDragRight" type="" overloaded="no">
34946 <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
34947 <paramlist>
34948 <param name="x" type="double" default=""/>
34949 <param name="y" type="double" default=""/>
34950 <param name="keys" type="int" default="0"/>
34951 <param name="attachment" type="int" default="0"/>
34952 </paramlist>
34953 </method>
34954 <method name="base_OnDrawOutline" type="" overloaded="no">
34955 <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
34956 <paramlist>
34957 <param name="dc" type="DC" default=""/>
34958 <param name="x" type="double" default=""/>
34959 <param name="y" type="double" default=""/>
34960 <param name="w" type="double" default=""/>
34961 <param name="h" type="double" default=""/>
34962 </paramlist>
34963 </method>
34964 <method name="base_OnDrawControlPoints" type="" overloaded="no">
34965 <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
34966 <paramlist>
34967 <param name="dc" type="DC" default=""/>
34968 </paramlist>
34969 </method>
34970 <method name="base_OnEraseControlPoints" type="" overloaded="no">
34971 <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
34972 <paramlist>
34973 <param name="dc" type="DC" default=""/>
34974 </paramlist>
34975 </method>
34976 <method name="base_OnMoveLink" type="" overloaded="no">
34977 <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
34978 <paramlist>
34979 <param name="dc" type="DC" default=""/>
34980 <param name="moveControlPoints" type="bool" default="True"/>
34981 </paramlist>
34982 </method>
34983 <method name="base_OnSizingDragLeft" type="" overloaded="no">
34984 <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
34985 int attachment=0)</autodoc>
34986 <paramlist>
34987 <param name="pt" type="PyControlPoint" default=""/>
34988 <param name="draw" type="bool" default=""/>
34989 <param name="x" type="double" default=""/>
34990 <param name="y" type="double" default=""/>
34991 <param name="keys" type="int" default="0"/>
34992 <param name="attachment" type="int" default="0"/>
34993 </paramlist>
34994 </method>
34995 <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
34996 <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
34997 int attachment=0)</autodoc>
34998 <paramlist>
34999 <param name="pt" type="PyControlPoint" default=""/>
35000 <param name="x" type="double" default=""/>
35001 <param name="y" type="double" default=""/>
35002 <param name="keys" type="int" default="0"/>
35003 <param name="attachment" type="int" default="0"/>
35004 </paramlist>
35005 </method>
35006 <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
35007 <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
35008 int attachment=0)</autodoc>
35009 <paramlist>
35010 <param name="pt" type="PyControlPoint" default=""/>
35011 <param name="x" type="double" default=""/>
35012 <param name="y" type="double" default=""/>
35013 <param name="keys" type="int" default="0"/>
35014 <param name="attachment" type="int" default="0"/>
35015 </paramlist>
35016 </method>
35017 <method name="base_OnBeginSize" type="" overloaded="no">
35018 <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
35019 <paramlist>
35020 <param name="w" type="double" default=""/>
35021 <param name="h" type="double" default=""/>
35022 </paramlist>
35023 </method>
35024 <method name="base_OnEndSize" type="" overloaded="no">
35025 <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
35026 <paramlist>
35027 <param name="w" type="double" default=""/>
35028 <param name="h" type="double" default=""/>
35029 </paramlist>
35030 </method>
35031 </class>
35032 <class name="Diagram" oldname="wxDiagram" module="ogl">
35033 <baseclass name="Object"/>
35034 <constructor name="Diagram" overloaded="no">
35035 <autodoc>__init__(self) -&gt; Diagram</autodoc>
35036 </constructor>
35037 <method name="AddShape" type="" overloaded="no">
35038 <autodoc>AddShape(self, PyShape shape, PyShape addAfter=None)</autodoc>
35039 <paramlist>
35040 <param name="shape" type="PyShape" default=""/>
35041 <param name="addAfter" type="PyShape" default="NULL"/>
35042 </paramlist>
35043 </method>
35044 <method name="Clear" type="" overloaded="no">
35045 <autodoc>Clear(self, DC dc)</autodoc>
35046 <paramlist>
35047 <param name="dc" type="DC" default=""/>
35048 </paramlist>
35049 </method>
35050 <method name="DeleteAllShapes" type="" overloaded="no">
35051 <autodoc>DeleteAllShapes(self)</autodoc>
35052 </method>
35053 <method name="DrawOutline" type="" overloaded="no">
35054 <autodoc>DrawOutline(self, DC dc, double x1, double y1, double x2, double y2)</autodoc>
35055 <paramlist>
35056 <param name="dc" type="DC" default=""/>
35057 <param name="x1" type="double" default=""/>
35058 <param name="y1" type="double" default=""/>
35059 <param name="x2" type="double" default=""/>
35060 <param name="y2" type="double" default=""/>
35061 </paramlist>
35062 </method>
35063 <method name="FindShape" type="PyShape" overloaded="no">
35064 <autodoc>FindShape(self, long id) -&gt; PyShape</autodoc>
35065 <paramlist>
35066 <param name="id" type="long" default=""/>
35067 </paramlist>
35068 </method>
35069 <method name="GetCanvas" type="wxPyShapeCanvas" overloaded="no">
35070 <autodoc>GetCanvas(self) -&gt; PyShapeCanvas</autodoc>
35071 </method>
35072 <method name="GetCount" type="int" overloaded="no">
35073 <autodoc>GetCount(self) -&gt; int</autodoc>
35074 </method>
35075 <method name="GetGridSpacing" type="double" overloaded="no">
35076 <autodoc>GetGridSpacing(self) -&gt; double</autodoc>
35077 </method>
35078 <method name="GetMouseTolerance" type="int" overloaded="no">
35079 <autodoc>GetMouseTolerance(self) -&gt; int</autodoc>
35080 </method>
35081 <method name="GetShapeList" type="PyObject" overloaded="no">
35082 <autodoc>GetShapeList(self) -&gt; PyObject</autodoc>
35083 </method>
35084 <method name="GetQuickEditMode" type="bool" overloaded="no">
35085 <autodoc>GetQuickEditMode(self) -&gt; bool</autodoc>
35086 </method>
35087 <method name="GetSnapToGrid" type="bool" overloaded="no">
35088 <autodoc>GetSnapToGrid(self) -&gt; bool</autodoc>
35089 </method>
35090 <method name="InsertShape" type="" overloaded="no">
35091 <autodoc>InsertShape(self, PyShape shape)</autodoc>
35092 <paramlist>
35093 <param name="shape" type="PyShape" default=""/>
35094 </paramlist>
35095 </method>
35096 <method name="RecentreAll" type="" overloaded="no">
35097 <autodoc>RecentreAll(self, DC dc)</autodoc>
35098 <paramlist>
35099 <param name="dc" type="DC" default=""/>
35100 </paramlist>
35101 </method>
35102 <method name="Redraw" type="" overloaded="no">
35103 <autodoc>Redraw(self, DC dc)</autodoc>
35104 <paramlist>
35105 <param name="dc" type="DC" default=""/>
35106 </paramlist>
35107 </method>
35108 <method name="RemoveAllShapes" type="" overloaded="no">
35109 <autodoc>RemoveAllShapes(self)</autodoc>
35110 </method>
35111 <method name="RemoveShape" type="" overloaded="no">
35112 <autodoc>RemoveShape(self, PyShape shape)</autodoc>
35113 <paramlist>
35114 <param name="shape" type="PyShape" default=""/>
35115 </paramlist>
35116 </method>
35117 <method name="SetCanvas" type="" overloaded="no">
35118 <autodoc>SetCanvas(self, PyShapeCanvas canvas)</autodoc>
35119 <paramlist>
35120 <param name="canvas" type="wxPyShapeCanvas" default=""/>
35121 </paramlist>
35122 </method>
35123 <method name="SetGridSpacing" type="" overloaded="no">
35124 <autodoc>SetGridSpacing(self, double spacing)</autodoc>
35125 <paramlist>
35126 <param name="spacing" type="double" default=""/>
35127 </paramlist>
35128 </method>
35129 <method name="SetMouseTolerance" type="" overloaded="no">
35130 <autodoc>SetMouseTolerance(self, int tolerance)</autodoc>
35131 <paramlist>
35132 <param name="tolerance" type="int" default=""/>
35133 </paramlist>
35134 </method>
35135 <method name="SetQuickEditMode" type="" overloaded="no">
35136 <autodoc>SetQuickEditMode(self, bool mode)</autodoc>
35137 <paramlist>
35138 <param name="mode" type="bool" default=""/>
35139 </paramlist>
35140 </method>
35141 <method name="SetSnapToGrid" type="" overloaded="no">
35142 <autodoc>SetSnapToGrid(self, bool snap)</autodoc>
35143 <paramlist>
35144 <param name="snap" type="bool" default=""/>
35145 </paramlist>
35146 </method>
35147 <method name="ShowAll" type="" overloaded="no">
35148 <autodoc>ShowAll(self, bool show)</autodoc>
35149 <paramlist>
35150 <param name="show" type="bool" default=""/>
35151 </paramlist>
35152 </method>
35153 <method name="Snap" type="" overloaded="no">
35154 <autodoc>Snap(self, double INOUT, double INOUT)</autodoc>
35155 <paramlist>
35156 <param name="INOUT" type="double" default=""/>
35157 <param name="INOUT" type="double" default=""/>
35158 </paramlist>
35159 </method>
35160 </class>
35161 <class name="PyShapeCanvas" oldname="wxPyShapeCanvas" module="ogl">
35162 <baseclass name="ScrolledWindow"/>
35163 <constructor name="PyShapeCanvas" overloaded="no">
35164 <autodoc>__init__(self, Window parent=None, int id=-1, Point pos=DefaultPosition,
35165 Size size=DefaultSize, long style=BORDER,
35166 String name=wxPyShapeCanvasNameStr) -&gt; PyShapeCanvas</autodoc>
35167 <paramlist>
35168 <param name="parent" type="Window" default="NULL"/>
35169 <param name="id" type="int" default="-1"/>
35170 <param name="pos" type="Point" default="wxDefaultPosition"/>
35171 <param name="size" type="Size" default="wxDefaultSize"/>
35172 <param name="style" type="long" default="wxBORDER"/>
35173 <param name="name" type="String" default="wxPyShapeCanvasNameStr"/>
35174 </paramlist>
35175 </constructor>
35176 <method name="_setCallbackInfo" type="" overloaded="no">
35177 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
35178 <paramlist>
35179 <param name="self" type="PyObject" default=""/>
35180 <param name="_class" type="PyObject" default=""/>
35181 </paramlist>
35182 </method>
35183 <method name="AddShape" type="" overloaded="no">
35184 <autodoc>AddShape(self, PyShape shape, PyShape addAfter=None)</autodoc>
35185 <paramlist>
35186 <param name="shape" type="PyShape" default=""/>
35187 <param name="addAfter" type="PyShape" default="NULL"/>
35188 </paramlist>
35189 </method>
35190 <method name="FindShape" type="PyShape" overloaded="no">
35191 <autodoc>FindShape(self, double x1, double y, int OUTPUT, wxClassInfo info=None,
35192 PyShape notImage=None) -&gt; PyShape</autodoc>
35193 <paramlist>
35194 <param name="x1" type="double" default=""/>
35195 <param name="y" type="double" default=""/>
35196 <param name="OUTPUT" type="int" default=""/>
35197 <param name="info" type="wxClassInfo" default="NULL"/>
35198 <param name="notImage" type="PyShape" default="NULL"/>
35199 </paramlist>
35200 </method>
35201 <method name="FindFirstSensitiveShape" type="PyShape" overloaded="no">
35202 <autodoc>FindFirstSensitiveShape(self, double x1, double y, int OUTPUT, int op) -&gt; PyShape</autodoc>
35203 <paramlist>
35204 <param name="x1" type="double" default=""/>
35205 <param name="y" type="double" default=""/>
35206 <param name="OUTPUT" type="int" default=""/>
35207 <param name="op" type="int" default=""/>
35208 </paramlist>
35209 </method>
35210 <method name="GetDiagram" type="Diagram" overloaded="no">
35211 <autodoc>GetDiagram(self) -&gt; Diagram</autodoc>
35212 </method>
35213 <method name="GetQuickEditMode" type="bool" overloaded="no">
35214 <autodoc>GetQuickEditMode(self) -&gt; bool</autodoc>
35215 </method>
35216 <method name="InsertShape" type="" overloaded="no">
35217 <autodoc>InsertShape(self, PyShape shape)</autodoc>
35218 <paramlist>
35219 <param name="shape" type="PyShape" default=""/>
35220 </paramlist>
35221 </method>
35222 <method name="base_OnBeginDragLeft" type="" overloaded="no">
35223 <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0)</autodoc>
35224 <paramlist>
35225 <param name="x" type="double" default=""/>
35226 <param name="y" type="double" default=""/>
35227 <param name="keys" type="int" default="0"/>
35228 </paramlist>
35229 </method>
35230 <method name="base_OnBeginDragRight" type="" overloaded="no">
35231 <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0)</autodoc>
35232 <paramlist>
35233 <param name="x" type="double" default=""/>
35234 <param name="y" type="double" default=""/>
35235 <param name="keys" type="int" default="0"/>
35236 </paramlist>
35237 </method>
35238 <method name="base_OnEndDragLeft" type="" overloaded="no">
35239 <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0)</autodoc>
35240 <paramlist>
35241 <param name="x" type="double" default=""/>
35242 <param name="y" type="double" default=""/>
35243 <param name="keys" type="int" default="0"/>
35244 </paramlist>
35245 </method>
35246 <method name="base_OnEndDragRight" type="" overloaded="no">
35247 <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0)</autodoc>
35248 <paramlist>
35249 <param name="x" type="double" default=""/>
35250 <param name="y" type="double" default=""/>
35251 <param name="keys" type="int" default="0"/>
35252 </paramlist>
35253 </method>
35254 <method name="base_OnDragLeft" type="" overloaded="no">
35255 <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0)</autodoc>
35256 <paramlist>
35257 <param name="draw" type="bool" default=""/>
35258 <param name="x" type="double" default=""/>
35259 <param name="y" type="double" default=""/>
35260 <param name="keys" type="int" default="0"/>
35261 </paramlist>
35262 </method>
35263 <method name="base_OnDragRight" type="" overloaded="no">
35264 <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0)</autodoc>
35265 <paramlist>
35266 <param name="draw" type="bool" default=""/>
35267 <param name="x" type="double" default=""/>
35268 <param name="y" type="double" default=""/>
35269 <param name="keys" type="int" default="0"/>
35270 </paramlist>
35271 </method>
35272 <method name="base_OnLeftClick" type="" overloaded="no">
35273 <autodoc>base_OnLeftClick(self, double x, double y, int keys=0)</autodoc>
35274 <paramlist>
35275 <param name="x" type="double" default=""/>
35276 <param name="y" type="double" default=""/>
35277 <param name="keys" type="int" default="0"/>
35278 </paramlist>
35279 </method>
35280 <method name="base_OnRightClick" type="" overloaded="no">
35281 <autodoc>base_OnRightClick(self, double x, double y, int keys=0)</autodoc>
35282 <paramlist>
35283 <param name="x" type="double" default=""/>
35284 <param name="y" type="double" default=""/>
35285 <param name="keys" type="int" default="0"/>
35286 </paramlist>
35287 </method>
35288 <method name="Redraw" type="" overloaded="no">
35289 <autodoc>Redraw(self, DC dc)</autodoc>
35290 <paramlist>
35291 <param name="dc" type="DC" default=""/>
35292 </paramlist>
35293 </method>
35294 <method name="RemoveShape" type="" overloaded="no">
35295 <autodoc>RemoveShape(self, PyShape shape)</autodoc>
35296 <paramlist>
35297 <param name="shape" type="PyShape" default=""/>
35298 </paramlist>
35299 </method>
35300 <method name="SetDiagram" type="" overloaded="no">
35301 <autodoc>SetDiagram(self, Diagram diagram)</autodoc>
35302 <paramlist>
35303 <param name="diagram" type="Diagram" default=""/>
35304 </paramlist>
35305 </method>
35306 <method name="Snap" type="" overloaded="no">
35307 <autodoc>Snap(self, double INOUT, double INOUT)</autodoc>
35308 <paramlist>
35309 <param name="INOUT" type="double" default=""/>
35310 <param name="INOUT" type="double" default=""/>
35311 </paramlist>
35312 </method>
35313 </class>
35314 <pythoncode>
35315 # Aliases
35316 ShapeCanvas = PyShapeCanvas
35317 ShapeEvtHandler = PyShapeEvtHandler
35318 Shape = PyShape
35319 RectangleShape = PyRectangleShape
35320 BitmapShape = PyBitmapShape
35321 DrawnShape = PyDrawnShape
35322 CompositeShape = PyCompositeShape
35323 DividedShape = PyDividedShape
35324 DivisionShape = PyDivisionShape
35325 EllipseShape = PyEllipseShape
35326 CircleShape = PyCircleShape
35327 LineShape = PyLineShape
35328 PolygonShape = PyPolygonShape
35329 TextShape = PyTextShape
35330 ControlPoint = PyControlPoint
35331 </pythoncode>
35332 <method name="OGLInitialize" oldname="wxOGLInitialize" type="" overloaded="no">
35333 <autodoc>OGLInitialize()</autodoc>
35334 </method>
35335 <method name="OGLCleanUp" oldname="wxOGLCleanUp" type="" overloaded="no">
35336 <autodoc>OGLCleanUp()</autodoc>
35337 </method>
35338 </module>
35339 <module name="stc">
35340 <import name="_core"/>
35341 <import name="_misc"/>
35342 <pythoncode> wx = _core </pythoncode>
35343 <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
35344 <class name="StyledTextCtrl" oldname="wxStyledTextCtrl" module="stc">
35345 <baseclass name="Control"/>
35346 <constructor name="StyledTextCtrl" overloaded="no">
35347 <autodoc>__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
35348 Size size=DefaultSize, long style=0, String name=STCNameStr) -&gt; StyledTextCtrl</autodoc>
35349 <paramlist>
35350 <param name="parent" type="Window" default=""/>
35351 <param name="id" type="int" default="wxID_ANY"/>
35352 <param name="pos" type="Point" default="wxDefaultPosition"/>
35353 <param name="size" type="Size" default="wxDefaultSize"/>
35354 <param name="style" type="long" default="0"/>
35355 <param name="name" type="String" default="wxPySTCNameStr"/>
35356 </paramlist>
35357 </constructor>
35358 <constructor name="PreStyledTextCtrl" overloaded="no">
35359 <autodoc>PreStyledTextCtrl() -&gt; StyledTextCtrl</autodoc>
35360 </constructor>
35361 <method name="Create" type="" overloaded="no">
35362 <autodoc>Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
35363 Size size=DefaultSize, long style=0, String name=wxSTCNameStr)</autodoc>
35364 <paramlist>
35365 <param name="parent" type="Window" default=""/>
35366 <param name="id" type="int" default="wxID_ANY"/>
35367 <param name="pos" type="Point" default="wxDefaultPosition"/>
35368 <param name="size" type="Size" default="wxDefaultSize"/>
35369 <param name="style" type="long" default="0"/>
35370 <param name="name" type="String" default="wxSTCNameStr"/>
35371 </paramlist>
35372 </method>
35373 <method name="AddText" type="" overloaded="no">
35374 <autodoc>AddText(self, String text)</autodoc>
35375 <paramlist>
35376 <param name="text" type="String" default=""/>
35377 </paramlist>
35378 </method>
35379 <method name="AddStyledText" type="" overloaded="no">
35380 <autodoc>AddStyledText(self, wxMemoryBuffer data)</autodoc>
35381 <paramlist>
35382 <param name="data" type="wxMemoryBuffer" default=""/>
35383 </paramlist>
35384 </method>
35385 <method name="InsertText" type="" overloaded="no">
35386 <autodoc>InsertText(self, int pos, String text)</autodoc>
35387 <paramlist>
35388 <param name="pos" type="int" default=""/>
35389 <param name="text" type="String" default=""/>
35390 </paramlist>
35391 </method>
35392 <method name="ClearAll" type="" overloaded="no">
35393 <autodoc>ClearAll(self)</autodoc>
35394 </method>
35395 <method name="ClearDocumentStyle" type="" overloaded="no">
35396 <autodoc>ClearDocumentStyle(self)</autodoc>
35397 </method>
35398 <method name="GetLength" type="int" overloaded="no">
35399 <autodoc>GetLength(self) -&gt; int</autodoc>
35400 </method>
35401 <method name="GetCharAt" type="int" overloaded="no">
35402 <autodoc>GetCharAt(self, int pos) -&gt; int</autodoc>
35403 <paramlist>
35404 <param name="pos" type="int" default=""/>
35405 </paramlist>
35406 </method>
35407 <method name="GetCurrentPos" type="int" overloaded="no">
35408 <autodoc>GetCurrentPos(self) -&gt; int</autodoc>
35409 </method>
35410 <method name="GetAnchor" type="int" overloaded="no">
35411 <autodoc>GetAnchor(self) -&gt; int</autodoc>
35412 </method>
35413 <method name="GetStyleAt" type="int" overloaded="no">
35414 <autodoc>GetStyleAt(self, int pos) -&gt; int</autodoc>
35415 <paramlist>
35416 <param name="pos" type="int" default=""/>
35417 </paramlist>
35418 </method>
35419 <method name="Redo" type="" overloaded="no">
35420 <autodoc>Redo(self)</autodoc>
35421 </method>
35422 <method name="SetUndoCollection" type="" overloaded="no">
35423 <autodoc>SetUndoCollection(self, bool collectUndo)</autodoc>
35424 <paramlist>
35425 <param name="collectUndo" type="bool" default=""/>
35426 </paramlist>
35427 </method>
35428 <method name="SelectAll" type="" overloaded="no">
35429 <autodoc>SelectAll(self)</autodoc>
35430 </method>
35431 <method name="SetSavePoint" type="" overloaded="no">
35432 <autodoc>SetSavePoint(self)</autodoc>
35433 </method>
35434 <method name="GetStyledText" type="wxMemoryBuffer" overloaded="no">
35435 <autodoc>GetStyledText(self, int startPos, int endPos) -&gt; wxMemoryBuffer</autodoc>
35436 <paramlist>
35437 <param name="startPos" type="int" default=""/>
35438 <param name="endPos" type="int" default=""/>
35439 </paramlist>
35440 </method>
35441 <method name="CanRedo" type="bool" overloaded="no">
35442 <autodoc>CanRedo(self) -&gt; bool</autodoc>
35443 </method>
35444 <method name="MarkerLineFromHandle" type="int" overloaded="no">
35445 <autodoc>MarkerLineFromHandle(self, int handle) -&gt; int</autodoc>
35446 <paramlist>
35447 <param name="handle" type="int" default=""/>
35448 </paramlist>
35449 </method>
35450 <method name="MarkerDeleteHandle" type="" overloaded="no">
35451 <autodoc>MarkerDeleteHandle(self, int handle)</autodoc>
35452 <paramlist>
35453 <param name="handle" type="int" default=""/>
35454 </paramlist>
35455 </method>
35456 <method name="GetUndoCollection" type="bool" overloaded="no">
35457 <autodoc>GetUndoCollection(self) -&gt; bool</autodoc>
35458 </method>
35459 <method name="GetViewWhiteSpace" type="int" overloaded="no">
35460 <autodoc>GetViewWhiteSpace(self) -&gt; int</autodoc>
35461 </method>
35462 <method name="SetViewWhiteSpace" type="" overloaded="no">
35463 <autodoc>SetViewWhiteSpace(self, int viewWS)</autodoc>
35464 <paramlist>
35465 <param name="viewWS" type="int" default=""/>
35466 </paramlist>
35467 </method>
35468 <method name="PositionFromPoint" type="int" overloaded="no">
35469 <autodoc>PositionFromPoint(self, Point pt) -&gt; int</autodoc>
35470 <paramlist>
35471 <param name="pt" type="Point" default=""/>
35472 </paramlist>
35473 </method>
35474 <method name="PositionFromPointClose" type="int" overloaded="no">
35475 <autodoc>PositionFromPointClose(self, int x, int y) -&gt; int</autodoc>
35476 <paramlist>
35477 <param name="x" type="int" default=""/>
35478 <param name="y" type="int" default=""/>
35479 </paramlist>
35480 </method>
35481 <method name="GotoLine" type="" overloaded="no">
35482 <autodoc>GotoLine(self, int line)</autodoc>
35483 <paramlist>
35484 <param name="line" type="int" default=""/>
35485 </paramlist>
35486 </method>
35487 <method name="GotoPos" type="" overloaded="no">
35488 <autodoc>GotoPos(self, int pos)</autodoc>
35489 <paramlist>
35490 <param name="pos" type="int" default=""/>
35491 </paramlist>
35492 </method>
35493 <method name="SetAnchor" type="" overloaded="no">
35494 <autodoc>SetAnchor(self, int posAnchor)</autodoc>
35495 <paramlist>
35496 <param name="posAnchor" type="int" default=""/>
35497 </paramlist>
35498 </method>
35499 <method name="GetCurLine" type="String" overloaded="no">
35500 <autodoc>GetCurLine(self, int OUTPUT) -&gt; String</autodoc>
35501 <paramlist>
35502 <param name="OUTPUT" type="int" default=""/>
35503 </paramlist>
35504 </method>
35505 <method name="GetEndStyled" type="int" overloaded="no">
35506 <autodoc>GetEndStyled(self) -&gt; int</autodoc>
35507 </method>
35508 <method name="ConvertEOLs" type="" overloaded="no">
35509 <autodoc>ConvertEOLs(self, int eolMode)</autodoc>
35510 <paramlist>
35511 <param name="eolMode" type="int" default=""/>
35512 </paramlist>
35513 </method>
35514 <method name="GetEOLMode" type="int" overloaded="no">
35515 <autodoc>GetEOLMode(self) -&gt; int</autodoc>
35516 </method>
35517 <method name="SetEOLMode" type="" overloaded="no">
35518 <autodoc>SetEOLMode(self, int eolMode)</autodoc>
35519 <paramlist>
35520 <param name="eolMode" type="int" default=""/>
35521 </paramlist>
35522 </method>
35523 <method name="StartStyling" type="" overloaded="no">
35524 <autodoc>StartStyling(self, int pos, int mask)</autodoc>
35525 <paramlist>
35526 <param name="pos" type="int" default=""/>
35527 <param name="mask" type="int" default=""/>
35528 </paramlist>
35529 </method>
35530 <method name="SetStyling" type="" overloaded="no">
35531 <autodoc>SetStyling(self, int length, int style)</autodoc>
35532 <paramlist>
35533 <param name="length" type="int" default=""/>
35534 <param name="style" type="int" default=""/>
35535 </paramlist>
35536 </method>
35537 <method name="GetBufferedDraw" type="bool" overloaded="no">
35538 <autodoc>GetBufferedDraw(self) -&gt; bool</autodoc>
35539 </method>
35540 <method name="SetBufferedDraw" type="" overloaded="no">
35541 <autodoc>SetBufferedDraw(self, bool buffered)</autodoc>
35542 <paramlist>
35543 <param name="buffered" type="bool" default=""/>
35544 </paramlist>
35545 </method>
35546 <method name="SetTabWidth" type="" overloaded="no">
35547 <autodoc>SetTabWidth(self, int tabWidth)</autodoc>
35548 <paramlist>
35549 <param name="tabWidth" type="int" default=""/>
35550 </paramlist>
35551 </method>
35552 <method name="GetTabWidth" type="int" overloaded="no">
35553 <autodoc>GetTabWidth(self) -&gt; int</autodoc>
35554 </method>
35555 <method name="SetCodePage" type="" overloaded="no">
35556 <autodoc>SetCodePage(self, int codePage)</autodoc>
35557 <paramlist>
35558 <param name="codePage" type="int" default=""/>
35559 </paramlist>
35560 </method>
35561 <method name="MarkerDefine" type="" overloaded="no">
35562 <autodoc>MarkerDefine(self, int markerNumber, int markerSymbol, Colour foreground=wxNullColour,
35563 Colour background=wxNullColour)</autodoc>
35564 <paramlist>
35565 <param name="markerNumber" type="int" default=""/>
35566 <param name="markerSymbol" type="int" default=""/>
35567 <param name="foreground" type="Colour" default="wxNullColour"/>
35568 <param name="background" type="Colour" default="wxNullColour"/>
35569 </paramlist>
35570 </method>
35571 <method name="MarkerSetForeground" type="" overloaded="no">
35572 <autodoc>MarkerSetForeground(self, int markerNumber, Colour fore)</autodoc>
35573 <paramlist>
35574 <param name="markerNumber" type="int" default=""/>
35575 <param name="fore" type="Colour" default=""/>
35576 </paramlist>
35577 </method>
35578 <method name="MarkerSetBackground" type="" overloaded="no">
35579 <autodoc>MarkerSetBackground(self, int markerNumber, Colour back)</autodoc>
35580 <paramlist>
35581 <param name="markerNumber" type="int" default=""/>
35582 <param name="back" type="Colour" default=""/>
35583 </paramlist>
35584 </method>
35585 <method name="MarkerAdd" type="int" overloaded="no">
35586 <autodoc>MarkerAdd(self, int line, int markerNumber) -&gt; int</autodoc>
35587 <paramlist>
35588 <param name="line" type="int" default=""/>
35589 <param name="markerNumber" type="int" default=""/>
35590 </paramlist>
35591 </method>
35592 <method name="MarkerDelete" type="" overloaded="no">
35593 <autodoc>MarkerDelete(self, int line, int markerNumber)</autodoc>
35594 <paramlist>
35595 <param name="line" type="int" default=""/>
35596 <param name="markerNumber" type="int" default=""/>
35597 </paramlist>
35598 </method>
35599 <method name="MarkerDeleteAll" type="" overloaded="no">
35600 <autodoc>MarkerDeleteAll(self, int markerNumber)</autodoc>
35601 <paramlist>
35602 <param name="markerNumber" type="int" default=""/>
35603 </paramlist>
35604 </method>
35605 <method name="MarkerGet" type="int" overloaded="no">
35606 <autodoc>MarkerGet(self, int line) -&gt; int</autodoc>
35607 <paramlist>
35608 <param name="line" type="int" default=""/>
35609 </paramlist>
35610 </method>
35611 <method name="MarkerNext" type="int" overloaded="no">
35612 <autodoc>MarkerNext(self, int lineStart, int markerMask) -&gt; int</autodoc>
35613 <paramlist>
35614 <param name="lineStart" type="int" default=""/>
35615 <param name="markerMask" type="int" default=""/>
35616 </paramlist>
35617 </method>
35618 <method name="MarkerPrevious" type="int" overloaded="no">
35619 <autodoc>MarkerPrevious(self, int lineStart, int markerMask) -&gt; int</autodoc>
35620 <paramlist>
35621 <param name="lineStart" type="int" default=""/>
35622 <param name="markerMask" type="int" default=""/>
35623 </paramlist>
35624 </method>
35625 <method name="MarkerDefineBitmap" type="" overloaded="no">
35626 <autodoc>MarkerDefineBitmap(self, int markerNumber, Bitmap bmp)</autodoc>
35627 <paramlist>
35628 <param name="markerNumber" type="int" default=""/>
35629 <param name="bmp" type="Bitmap" default=""/>
35630 </paramlist>
35631 </method>
35632 <method name="SetMarginType" type="" overloaded="no">
35633 <autodoc>SetMarginType(self, int margin, int marginType)</autodoc>
35634 <paramlist>
35635 <param name="margin" type="int" default=""/>
35636 <param name="marginType" type="int" default=""/>
35637 </paramlist>
35638 </method>
35639 <method name="GetMarginType" type="int" overloaded="no">
35640 <autodoc>GetMarginType(self, int margin) -&gt; int</autodoc>
35641 <paramlist>
35642 <param name="margin" type="int" default=""/>
35643 </paramlist>
35644 </method>
35645 <method name="SetMarginWidth" type="" overloaded="no">
35646 <autodoc>SetMarginWidth(self, int margin, int pixelWidth)</autodoc>
35647 <paramlist>
35648 <param name="margin" type="int" default=""/>
35649 <param name="pixelWidth" type="int" default=""/>
35650 </paramlist>
35651 </method>
35652 <method name="GetMarginWidth" type="int" overloaded="no">
35653 <autodoc>GetMarginWidth(self, int margin) -&gt; int</autodoc>
35654 <paramlist>
35655 <param name="margin" type="int" default=""/>
35656 </paramlist>
35657 </method>
35658 <method name="SetMarginMask" type="" overloaded="no">
35659 <autodoc>SetMarginMask(self, int margin, int mask)</autodoc>
35660 <paramlist>
35661 <param name="margin" type="int" default=""/>
35662 <param name="mask" type="int" default=""/>
35663 </paramlist>
35664 </method>
35665 <method name="GetMarginMask" type="int" overloaded="no">
35666 <autodoc>GetMarginMask(self, int margin) -&gt; int</autodoc>
35667 <paramlist>
35668 <param name="margin" type="int" default=""/>
35669 </paramlist>
35670 </method>
35671 <method name="SetMarginSensitive" type="" overloaded="no">
35672 <autodoc>SetMarginSensitive(self, int margin, bool sensitive)</autodoc>
35673 <paramlist>
35674 <param name="margin" type="int" default=""/>
35675 <param name="sensitive" type="bool" default=""/>
35676 </paramlist>
35677 </method>
35678 <method name="GetMarginSensitive" type="bool" overloaded="no">
35679 <autodoc>GetMarginSensitive(self, int margin) -&gt; bool</autodoc>
35680 <paramlist>
35681 <param name="margin" type="int" default=""/>
35682 </paramlist>
35683 </method>
35684 <method name="StyleClearAll" type="" overloaded="no">
35685 <autodoc>StyleClearAll(self)</autodoc>
35686 </method>
35687 <method name="StyleSetForeground" type="" overloaded="no">
35688 <autodoc>StyleSetForeground(self, int style, Colour fore)</autodoc>
35689 <paramlist>
35690 <param name="style" type="int" default=""/>
35691 <param name="fore" type="Colour" default=""/>
35692 </paramlist>
35693 </method>
35694 <method name="StyleSetBackground" type="" overloaded="no">
35695 <autodoc>StyleSetBackground(self, int style, Colour back)</autodoc>
35696 <paramlist>
35697 <param name="style" type="int" default=""/>
35698 <param name="back" type="Colour" default=""/>
35699 </paramlist>
35700 </method>
35701 <method name="StyleSetBold" type="" overloaded="no">
35702 <autodoc>StyleSetBold(self, int style, bool bold)</autodoc>
35703 <paramlist>
35704 <param name="style" type="int" default=""/>
35705 <param name="bold" type="bool" default=""/>
35706 </paramlist>
35707 </method>
35708 <method name="StyleSetItalic" type="" overloaded="no">
35709 <autodoc>StyleSetItalic(self, int style, bool italic)</autodoc>
35710 <paramlist>
35711 <param name="style" type="int" default=""/>
35712 <param name="italic" type="bool" default=""/>
35713 </paramlist>
35714 </method>
35715 <method name="StyleSetSize" type="" overloaded="no">
35716 <autodoc>StyleSetSize(self, int style, int sizePoints)</autodoc>
35717 <paramlist>
35718 <param name="style" type="int" default=""/>
35719 <param name="sizePoints" type="int" default=""/>
35720 </paramlist>
35721 </method>
35722 <method name="StyleSetFaceName" type="" overloaded="no">
35723 <autodoc>StyleSetFaceName(self, int style, String fontName)</autodoc>
35724 <paramlist>
35725 <param name="style" type="int" default=""/>
35726 <param name="fontName" type="String" default=""/>
35727 </paramlist>
35728 </method>
35729 <method name="StyleSetEOLFilled" type="" overloaded="no">
35730 <autodoc>StyleSetEOLFilled(self, int style, bool filled)</autodoc>
35731 <paramlist>
35732 <param name="style" type="int" default=""/>
35733 <param name="filled" type="bool" default=""/>
35734 </paramlist>
35735 </method>
35736 <method name="StyleResetDefault" type="" overloaded="no">
35737 <autodoc>StyleResetDefault(self)</autodoc>
35738 </method>
35739 <method name="StyleSetUnderline" type="" overloaded="no">
35740 <autodoc>StyleSetUnderline(self, int style, bool underline)</autodoc>
35741 <paramlist>
35742 <param name="style" type="int" default=""/>
35743 <param name="underline" type="bool" default=""/>
35744 </paramlist>
35745 </method>
35746 <method name="StyleSetCase" type="" overloaded="no">
35747 <autodoc>StyleSetCase(self, int style, int caseForce)</autodoc>
35748 <paramlist>
35749 <param name="style" type="int" default=""/>
35750 <param name="caseForce" type="int" default=""/>
35751 </paramlist>
35752 </method>
35753 <method name="StyleSetCharacterSet" type="" overloaded="no">
35754 <autodoc>StyleSetCharacterSet(self, int style, int characterSet)</autodoc>
35755 <paramlist>
35756 <param name="style" type="int" default=""/>
35757 <param name="characterSet" type="int" default=""/>
35758 </paramlist>
35759 </method>
35760 <method name="StyleSetHotSpot" type="" overloaded="no">
35761 <autodoc>StyleSetHotSpot(self, int style, bool hotspot)</autodoc>
35762 <paramlist>
35763 <param name="style" type="int" default=""/>
35764 <param name="hotspot" type="bool" default=""/>
35765 </paramlist>
35766 </method>
35767 <method name="SetSelForeground" type="" overloaded="no">
35768 <autodoc>SetSelForeground(self, bool useSetting, Colour fore)</autodoc>
35769 <paramlist>
35770 <param name="useSetting" type="bool" default=""/>
35771 <param name="fore" type="Colour" default=""/>
35772 </paramlist>
35773 </method>
35774 <method name="SetSelBackground" type="" overloaded="no">
35775 <autodoc>SetSelBackground(self, bool useSetting, Colour back)</autodoc>
35776 <paramlist>
35777 <param name="useSetting" type="bool" default=""/>
35778 <param name="back" type="Colour" default=""/>
35779 </paramlist>
35780 </method>
35781 <method name="SetCaretForeground" type="" overloaded="no">
35782 <autodoc>SetCaretForeground(self, Colour fore)</autodoc>
35783 <paramlist>
35784 <param name="fore" type="Colour" default=""/>
35785 </paramlist>
35786 </method>
35787 <method name="CmdKeyAssign" type="" overloaded="no">
35788 <autodoc>CmdKeyAssign(self, int key, int modifiers, int cmd)</autodoc>
35789 <paramlist>
35790 <param name="key" type="int" default=""/>
35791 <param name="modifiers" type="int" default=""/>
35792 <param name="cmd" type="int" default=""/>
35793 </paramlist>
35794 </method>
35795 <method name="CmdKeyClear" type="" overloaded="no">
35796 <autodoc>CmdKeyClear(self, int key, int modifiers)</autodoc>
35797 <paramlist>
35798 <param name="key" type="int" default=""/>
35799 <param name="modifiers" type="int" default=""/>
35800 </paramlist>
35801 </method>
35802 <method name="CmdKeyClearAll" type="" overloaded="no">
35803 <autodoc>CmdKeyClearAll(self)</autodoc>
35804 </method>
35805 <method name="SetStyleBytes" type="" overloaded="no">
35806 <autodoc>SetStyleBytes(self, int length, char styleBytes)</autodoc>
35807 <paramlist>
35808 <param name="length" type="int" default=""/>
35809 <param name="styleBytes" type="char" default=""/>
35810 </paramlist>
35811 </method>
35812 <method name="StyleSetVisible" type="" overloaded="no">
35813 <autodoc>StyleSetVisible(self, int style, bool visible)</autodoc>
35814 <paramlist>
35815 <param name="style" type="int" default=""/>
35816 <param name="visible" type="bool" default=""/>
35817 </paramlist>
35818 </method>
35819 <method name="GetCaretPeriod" type="int" overloaded="no">
35820 <autodoc>GetCaretPeriod(self) -&gt; int</autodoc>
35821 </method>
35822 <method name="SetCaretPeriod" type="" overloaded="no">
35823 <autodoc>SetCaretPeriod(self, int periodMilliseconds)</autodoc>
35824 <paramlist>
35825 <param name="periodMilliseconds" type="int" default=""/>
35826 </paramlist>
35827 </method>
35828 <method name="SetWordChars" type="" overloaded="no">
35829 <autodoc>SetWordChars(self, String characters)</autodoc>
35830 <paramlist>
35831 <param name="characters" type="String" default=""/>
35832 </paramlist>
35833 </method>
35834 <method name="BeginUndoAction" type="" overloaded="no">
35835 <autodoc>BeginUndoAction(self)</autodoc>
35836 </method>
35837 <method name="EndUndoAction" type="" overloaded="no">
35838 <autodoc>EndUndoAction(self)</autodoc>
35839 </method>
35840 <method name="IndicatorSetStyle" type="" overloaded="no">
35841 <autodoc>IndicatorSetStyle(self, int indic, int style)</autodoc>
35842 <paramlist>
35843 <param name="indic" type="int" default=""/>
35844 <param name="style" type="int" default=""/>
35845 </paramlist>
35846 </method>
35847 <method name="IndicatorGetStyle" type="int" overloaded="no">
35848 <autodoc>IndicatorGetStyle(self, int indic) -&gt; int</autodoc>
35849 <paramlist>
35850 <param name="indic" type="int" default=""/>
35851 </paramlist>
35852 </method>
35853 <method name="IndicatorSetForeground" type="" overloaded="no">
35854 <autodoc>IndicatorSetForeground(self, int indic, Colour fore)</autodoc>
35855 <paramlist>
35856 <param name="indic" type="int" default=""/>
35857 <param name="fore" type="Colour" default=""/>
35858 </paramlist>
35859 </method>
35860 <method name="IndicatorGetForeground" type="Colour" overloaded="no">
35861 <autodoc>IndicatorGetForeground(self, int indic) -&gt; Colour</autodoc>
35862 <paramlist>
35863 <param name="indic" type="int" default=""/>
35864 </paramlist>
35865 </method>
35866 <method name="SetWhitespaceForeground" type="" overloaded="no">
35867 <autodoc>SetWhitespaceForeground(self, bool useSetting, Colour fore)</autodoc>
35868 <paramlist>
35869 <param name="useSetting" type="bool" default=""/>
35870 <param name="fore" type="Colour" default=""/>
35871 </paramlist>
35872 </method>
35873 <method name="SetWhitespaceBackground" type="" overloaded="no">
35874 <autodoc>SetWhitespaceBackground(self, bool useSetting, Colour back)</autodoc>
35875 <paramlist>
35876 <param name="useSetting" type="bool" default=""/>
35877 <param name="back" type="Colour" default=""/>
35878 </paramlist>
35879 </method>
35880 <method name="SetStyleBits" type="" overloaded="no">
35881 <autodoc>SetStyleBits(self, int bits)</autodoc>
35882 <paramlist>
35883 <param name="bits" type="int" default=""/>
35884 </paramlist>
35885 </method>
35886 <method name="GetStyleBits" type="int" overloaded="no">
35887 <autodoc>GetStyleBits(self) -&gt; int</autodoc>
35888 </method>
35889 <method name="SetLineState" type="" overloaded="no">
35890 <autodoc>SetLineState(self, int line, int state)</autodoc>
35891 <paramlist>
35892 <param name="line" type="int" default=""/>
35893 <param name="state" type="int" default=""/>
35894 </paramlist>
35895 </method>
35896 <method name="GetLineState" type="int" overloaded="no">
35897 <autodoc>GetLineState(self, int line) -&gt; int</autodoc>
35898 <paramlist>
35899 <param name="line" type="int" default=""/>
35900 </paramlist>
35901 </method>
35902 <method name="GetMaxLineState" type="int" overloaded="no">
35903 <autodoc>GetMaxLineState(self) -&gt; int</autodoc>
35904 </method>
35905 <method name="GetCaretLineVisible" type="bool" overloaded="no">
35906 <autodoc>GetCaretLineVisible(self) -&gt; bool</autodoc>
35907 </method>
35908 <method name="SetCaretLineVisible" type="" overloaded="no">
35909 <autodoc>SetCaretLineVisible(self, bool show)</autodoc>
35910 <paramlist>
35911 <param name="show" type="bool" default=""/>
35912 </paramlist>
35913 </method>
35914 <method name="GetCaretLineBack" type="Colour" overloaded="no">
35915 <autodoc>GetCaretLineBack(self) -&gt; Colour</autodoc>
35916 </method>
35917 <method name="SetCaretLineBack" type="" overloaded="no">
35918 <autodoc>SetCaretLineBack(self, Colour back)</autodoc>
35919 <paramlist>
35920 <param name="back" type="Colour" default=""/>
35921 </paramlist>
35922 </method>
35923 <method name="StyleSetChangeable" type="" overloaded="no">
35924 <autodoc>StyleSetChangeable(self, int style, bool changeable)</autodoc>
35925 <paramlist>
35926 <param name="style" type="int" default=""/>
35927 <param name="changeable" type="bool" default=""/>
35928 </paramlist>
35929 </method>
35930 <method name="AutoCompShow" type="" overloaded="no">
35931 <autodoc>AutoCompShow(self, int lenEntered, String itemList)</autodoc>
35932 <paramlist>
35933 <param name="lenEntered" type="int" default=""/>
35934 <param name="itemList" type="String" default=""/>
35935 </paramlist>
35936 </method>
35937 <method name="AutoCompCancel" type="" overloaded="no">
35938 <autodoc>AutoCompCancel(self)</autodoc>
35939 </method>
35940 <method name="AutoCompActive" type="bool" overloaded="no">
35941 <autodoc>AutoCompActive(self) -&gt; bool</autodoc>
35942 </method>
35943 <method name="AutoCompPosStart" type="int" overloaded="no">
35944 <autodoc>AutoCompPosStart(self) -&gt; int</autodoc>
35945 </method>
35946 <method name="AutoCompComplete" type="" overloaded="no">
35947 <autodoc>AutoCompComplete(self)</autodoc>
35948 </method>
35949 <method name="AutoCompStops" type="" overloaded="no">
35950 <autodoc>AutoCompStops(self, String characterSet)</autodoc>
35951 <paramlist>
35952 <param name="characterSet" type="String" default=""/>
35953 </paramlist>
35954 </method>
35955 <method name="AutoCompSetSeparator" type="" overloaded="no">
35956 <autodoc>AutoCompSetSeparator(self, int separatorCharacter)</autodoc>
35957 <paramlist>
35958 <param name="separatorCharacter" type="int" default=""/>
35959 </paramlist>
35960 </method>
35961 <method name="AutoCompGetSeparator" type="int" overloaded="no">
35962 <autodoc>AutoCompGetSeparator(self) -&gt; int</autodoc>
35963 </method>
35964 <method name="AutoCompSelect" type="" overloaded="no">
35965 <autodoc>AutoCompSelect(self, String text)</autodoc>
35966 <paramlist>
35967 <param name="text" type="String" default=""/>
35968 </paramlist>
35969 </method>
35970 <method name="AutoCompSetCancelAtStart" type="" overloaded="no">
35971 <autodoc>AutoCompSetCancelAtStart(self, bool cancel)</autodoc>
35972 <paramlist>
35973 <param name="cancel" type="bool" default=""/>
35974 </paramlist>
35975 </method>
35976 <method name="AutoCompGetCancelAtStart" type="bool" overloaded="no">
35977 <autodoc>AutoCompGetCancelAtStart(self) -&gt; bool</autodoc>
35978 </method>
35979 <method name="AutoCompSetFillUps" type="" overloaded="no">
35980 <autodoc>AutoCompSetFillUps(self, String characterSet)</autodoc>
35981 <paramlist>
35982 <param name="characterSet" type="String" default=""/>
35983 </paramlist>
35984 </method>
35985 <method name="AutoCompSetChooseSingle" type="" overloaded="no">
35986 <autodoc>AutoCompSetChooseSingle(self, bool chooseSingle)</autodoc>
35987 <paramlist>
35988 <param name="chooseSingle" type="bool" default=""/>
35989 </paramlist>
35990 </method>
35991 <method name="AutoCompGetChooseSingle" type="bool" overloaded="no">
35992 <autodoc>AutoCompGetChooseSingle(self) -&gt; bool</autodoc>
35993 </method>
35994 <method name="AutoCompSetIgnoreCase" type="" overloaded="no">
35995 <autodoc>AutoCompSetIgnoreCase(self, bool ignoreCase)</autodoc>
35996 <paramlist>
35997 <param name="ignoreCase" type="bool" default=""/>
35998 </paramlist>
35999 </method>
36000 <method name="AutoCompGetIgnoreCase" type="bool" overloaded="no">
36001 <autodoc>AutoCompGetIgnoreCase(self) -&gt; bool</autodoc>
36002 </method>
36003 <method name="UserListShow" type="" overloaded="no">
36004 <autodoc>UserListShow(self, int listType, String itemList)</autodoc>
36005 <paramlist>
36006 <param name="listType" type="int" default=""/>
36007 <param name="itemList" type="String" default=""/>
36008 </paramlist>
36009 </method>
36010 <method name="AutoCompSetAutoHide" type="" overloaded="no">
36011 <autodoc>AutoCompSetAutoHide(self, bool autoHide)</autodoc>
36012 <paramlist>
36013 <param name="autoHide" type="bool" default=""/>
36014 </paramlist>
36015 </method>
36016 <method name="AutoCompGetAutoHide" type="bool" overloaded="no">
36017 <autodoc>AutoCompGetAutoHide(self) -&gt; bool</autodoc>
36018 </method>
36019 <method name="AutoCompSetDropRestOfWord" type="" overloaded="no">
36020 <autodoc>AutoCompSetDropRestOfWord(self, bool dropRestOfWord)</autodoc>
36021 <paramlist>
36022 <param name="dropRestOfWord" type="bool" default=""/>
36023 </paramlist>
36024 </method>
36025 <method name="AutoCompGetDropRestOfWord" type="bool" overloaded="no">
36026 <autodoc>AutoCompGetDropRestOfWord(self) -&gt; bool</autodoc>
36027 </method>
36028 <method name="RegisterImage" type="" overloaded="no">
36029 <autodoc>RegisterImage(self, int type, Bitmap bmp)</autodoc>
36030 <paramlist>
36031 <param name="type" type="int" default=""/>
36032 <param name="bmp" type="Bitmap" default=""/>
36033 </paramlist>
36034 </method>
36035 <method name="ClearRegisteredImages" type="" overloaded="no">
36036 <autodoc>ClearRegisteredImages(self)</autodoc>
36037 </method>
36038 <method name="AutoCompGetTypeSeparator" type="int" overloaded="no">
36039 <autodoc>AutoCompGetTypeSeparator(self) -&gt; int</autodoc>
36040 </method>
36041 <method name="AutoCompSetTypeSeparator" type="" overloaded="no">
36042 <autodoc>AutoCompSetTypeSeparator(self, int separatorCharacter)</autodoc>
36043 <paramlist>
36044 <param name="separatorCharacter" type="int" default=""/>
36045 </paramlist>
36046 </method>
36047 <method name="SetIndent" type="" overloaded="no">
36048 <autodoc>SetIndent(self, int indentSize)</autodoc>
36049 <paramlist>
36050 <param name="indentSize" type="int" default=""/>
36051 </paramlist>
36052 </method>
36053 <method name="GetIndent" type="int" overloaded="no">
36054 <autodoc>GetIndent(self) -&gt; int</autodoc>
36055 </method>
36056 <method name="SetUseTabs" type="" overloaded="no">
36057 <autodoc>SetUseTabs(self, bool useTabs)</autodoc>
36058 <paramlist>
36059 <param name="useTabs" type="bool" default=""/>
36060 </paramlist>
36061 </method>
36062 <method name="GetUseTabs" type="bool" overloaded="no">
36063 <autodoc>GetUseTabs(self) -&gt; bool</autodoc>
36064 </method>
36065 <method name="SetLineIndentation" type="" overloaded="no">
36066 <autodoc>SetLineIndentation(self, int line, int indentSize)</autodoc>
36067 <paramlist>
36068 <param name="line" type="int" default=""/>
36069 <param name="indentSize" type="int" default=""/>
36070 </paramlist>
36071 </method>
36072 <method name="GetLineIndentation" type="int" overloaded="no">
36073 <autodoc>GetLineIndentation(self, int line) -&gt; int</autodoc>
36074 <paramlist>
36075 <param name="line" type="int" default=""/>
36076 </paramlist>
36077 </method>
36078 <method name="GetLineIndentPosition" type="int" overloaded="no">
36079 <autodoc>GetLineIndentPosition(self, int line) -&gt; int</autodoc>
36080 <paramlist>
36081 <param name="line" type="int" default=""/>
36082 </paramlist>
36083 </method>
36084 <method name="GetColumn" type="int" overloaded="no">
36085 <autodoc>GetColumn(self, int pos) -&gt; int</autodoc>
36086 <paramlist>
36087 <param name="pos" type="int" default=""/>
36088 </paramlist>
36089 </method>
36090 <method name="SetUseHorizontalScrollBar" type="" overloaded="no">
36091 <autodoc>SetUseHorizontalScrollBar(self, bool show)</autodoc>
36092 <paramlist>
36093 <param name="show" type="bool" default=""/>
36094 </paramlist>
36095 </method>
36096 <method name="GetUseHorizontalScrollBar" type="bool" overloaded="no">
36097 <autodoc>GetUseHorizontalScrollBar(self) -&gt; bool</autodoc>
36098 </method>
36099 <method name="SetIndentationGuides" type="" overloaded="no">
36100 <autodoc>SetIndentationGuides(self, bool show)</autodoc>
36101 <paramlist>
36102 <param name="show" type="bool" default=""/>
36103 </paramlist>
36104 </method>
36105 <method name="GetIndentationGuides" type="bool" overloaded="no">
36106 <autodoc>GetIndentationGuides(self) -&gt; bool</autodoc>
36107 </method>
36108 <method name="SetHighlightGuide" type="" overloaded="no">
36109 <autodoc>SetHighlightGuide(self, int column)</autodoc>
36110 <paramlist>
36111 <param name="column" type="int" default=""/>
36112 </paramlist>
36113 </method>
36114 <method name="GetHighlightGuide" type="int" overloaded="no">
36115 <autodoc>GetHighlightGuide(self) -&gt; int</autodoc>
36116 </method>
36117 <method name="GetLineEndPosition" type="int" overloaded="no">
36118 <autodoc>GetLineEndPosition(self, int line) -&gt; int</autodoc>
36119 <paramlist>
36120 <param name="line" type="int" default=""/>
36121 </paramlist>
36122 </method>
36123 <method name="GetCodePage" type="int" overloaded="no">
36124 <autodoc>GetCodePage(self) -&gt; int</autodoc>
36125 </method>
36126 <method name="GetCaretForeground" type="Colour" overloaded="no">
36127 <autodoc>GetCaretForeground(self) -&gt; Colour</autodoc>
36128 </method>
36129 <method name="GetReadOnly" type="bool" overloaded="no">
36130 <autodoc>GetReadOnly(self) -&gt; bool</autodoc>
36131 </method>
36132 <method name="SetCurrentPos" type="" overloaded="no">
36133 <autodoc>SetCurrentPos(self, int pos)</autodoc>
36134 <paramlist>
36135 <param name="pos" type="int" default=""/>
36136 </paramlist>
36137 </method>
36138 <method name="SetSelectionStart" type="" overloaded="no">
36139 <autodoc>SetSelectionStart(self, int pos)</autodoc>
36140 <paramlist>
36141 <param name="pos" type="int" default=""/>
36142 </paramlist>
36143 </method>
36144 <method name="GetSelectionStart" type="int" overloaded="no">
36145 <autodoc>GetSelectionStart(self) -&gt; int</autodoc>
36146 </method>
36147 <method name="SetSelectionEnd" type="" overloaded="no">
36148 <autodoc>SetSelectionEnd(self, int pos)</autodoc>
36149 <paramlist>
36150 <param name="pos" type="int" default=""/>
36151 </paramlist>
36152 </method>
36153 <method name="GetSelectionEnd" type="int" overloaded="no">
36154 <autodoc>GetSelectionEnd(self) -&gt; int</autodoc>
36155 </method>
36156 <method name="SetPrintMagnification" type="" overloaded="no">
36157 <autodoc>SetPrintMagnification(self, int magnification)</autodoc>
36158 <paramlist>
36159 <param name="magnification" type="int" default=""/>
36160 </paramlist>
36161 </method>
36162 <method name="GetPrintMagnification" type="int" overloaded="no">
36163 <autodoc>GetPrintMagnification(self) -&gt; int</autodoc>
36164 </method>
36165 <method name="SetPrintColourMode" type="" overloaded="no">
36166 <autodoc>SetPrintColourMode(self, int mode)</autodoc>
36167 <paramlist>
36168 <param name="mode" type="int" default=""/>
36169 </paramlist>
36170 </method>
36171 <method name="GetPrintColourMode" type="int" overloaded="no">
36172 <autodoc>GetPrintColourMode(self) -&gt; int</autodoc>
36173 </method>
36174 <method name="FindText" type="int" overloaded="no">
36175 <autodoc>FindText(self, int minPos, int maxPos, String text, int flags=0) -&gt; int</autodoc>
36176 <paramlist>
36177 <param name="minPos" type="int" default=""/>
36178 <param name="maxPos" type="int" default=""/>
36179 <param name="text" type="String" default=""/>
36180 <param name="flags" type="int" default="0"/>
36181 </paramlist>
36182 </method>
36183 <method name="FormatRange" type="int" overloaded="no">
36184 <autodoc>FormatRange(self, bool doDraw, int startPos, int endPos, DC draw, DC target,
36185 Rect renderRect, Rect pageRect) -&gt; int</autodoc>
36186 <paramlist>
36187 <param name="doDraw" type="bool" default=""/>
36188 <param name="startPos" type="int" default=""/>
36189 <param name="endPos" type="int" default=""/>
36190 <param name="draw" type="DC" default=""/>
36191 <param name="target" type="DC" default=""/>
36192 <param name="renderRect" type="Rect" default=""/>
36193 <param name="pageRect" type="Rect" default=""/>
36194 </paramlist>
36195 </method>
36196 <method name="GetFirstVisibleLine" type="int" overloaded="no">
36197 <autodoc>GetFirstVisibleLine(self) -&gt; int</autodoc>
36198 </method>
36199 <method name="GetLine" type="String" overloaded="no">
36200 <autodoc>GetLine(self, int line) -&gt; String</autodoc>
36201 <paramlist>
36202 <param name="line" type="int" default=""/>
36203 </paramlist>
36204 </method>
36205 <method name="GetLineCount" type="int" overloaded="no">
36206 <autodoc>GetLineCount(self) -&gt; int</autodoc>
36207 </method>
36208 <method name="SetMarginLeft" type="" overloaded="no">
36209 <autodoc>SetMarginLeft(self, int pixelWidth)</autodoc>
36210 <paramlist>
36211 <param name="pixelWidth" type="int" default=""/>
36212 </paramlist>
36213 </method>
36214 <method name="GetMarginLeft" type="int" overloaded="no">
36215 <autodoc>GetMarginLeft(self) -&gt; int</autodoc>
36216 </method>
36217 <method name="SetMarginRight" type="" overloaded="no">
36218 <autodoc>SetMarginRight(self, int pixelWidth)</autodoc>
36219 <paramlist>
36220 <param name="pixelWidth" type="int" default=""/>
36221 </paramlist>
36222 </method>
36223 <method name="GetMarginRight" type="int" overloaded="no">
36224 <autodoc>GetMarginRight(self) -&gt; int</autodoc>
36225 </method>
36226 <method name="GetModify" type="bool" overloaded="no">
36227 <autodoc>GetModify(self) -&gt; bool</autodoc>
36228 </method>
36229 <method name="SetSelection" type="" overloaded="no">
36230 <autodoc>SetSelection(self, int start, int end)</autodoc>
36231 <paramlist>
36232 <param name="start" type="int" default=""/>
36233 <param name="end" type="int" default=""/>
36234 </paramlist>
36235 </method>
36236 <method name="GetSelectedText" type="String" overloaded="no">
36237 <autodoc>GetSelectedText(self) -&gt; String</autodoc>
36238 </method>
36239 <method name="GetTextRange" type="String" overloaded="no">
36240 <autodoc>GetTextRange(self, int startPos, int endPos) -&gt; String</autodoc>
36241 <paramlist>
36242 <param name="startPos" type="int" default=""/>
36243 <param name="endPos" type="int" default=""/>
36244 </paramlist>
36245 </method>
36246 <method name="HideSelection" type="" overloaded="no">
36247 <autodoc>HideSelection(self, bool normal)</autodoc>
36248 <paramlist>
36249 <param name="normal" type="bool" default=""/>
36250 </paramlist>
36251 </method>
36252 <method name="LineFromPosition" type="int" overloaded="no">
36253 <autodoc>LineFromPosition(self, int pos) -&gt; int</autodoc>
36254 <paramlist>
36255 <param name="pos" type="int" default=""/>
36256 </paramlist>
36257 </method>
36258 <method name="PositionFromLine" type="int" overloaded="no">
36259 <autodoc>PositionFromLine(self, int line) -&gt; int</autodoc>
36260 <paramlist>
36261 <param name="line" type="int" default=""/>
36262 </paramlist>
36263 </method>
36264 <method name="LineScroll" type="" overloaded="no">
36265 <autodoc>LineScroll(self, int columns, int lines)</autodoc>
36266 <paramlist>
36267 <param name="columns" type="int" default=""/>
36268 <param name="lines" type="int" default=""/>
36269 </paramlist>
36270 </method>
36271 <method name="EnsureCaretVisible" type="" overloaded="no">
36272 <autodoc>EnsureCaretVisible(self)</autodoc>
36273 </method>
36274 <method name="ReplaceSelection" type="" overloaded="no">
36275 <autodoc>ReplaceSelection(self, String text)</autodoc>
36276 <paramlist>
36277 <param name="text" type="String" default=""/>
36278 </paramlist>
36279 </method>
36280 <method name="SetReadOnly" type="" overloaded="no">
36281 <autodoc>SetReadOnly(self, bool readOnly)</autodoc>
36282 <paramlist>
36283 <param name="readOnly" type="bool" default=""/>
36284 </paramlist>
36285 </method>
36286 <method name="CanPaste" type="bool" overloaded="no">
36287 <autodoc>CanPaste(self) -&gt; bool</autodoc>
36288 </method>
36289 <method name="CanUndo" type="bool" overloaded="no">
36290 <autodoc>CanUndo(self) -&gt; bool</autodoc>
36291 </method>
36292 <method name="EmptyUndoBuffer" type="" overloaded="no">
36293 <autodoc>EmptyUndoBuffer(self)</autodoc>
36294 </method>
36295 <method name="Undo" type="" overloaded="no">
36296 <autodoc>Undo(self)</autodoc>
36297 </method>
36298 <method name="Cut" type="" overloaded="no">
36299 <autodoc>Cut(self)</autodoc>
36300 </method>
36301 <method name="Copy" type="" overloaded="no">
36302 <autodoc>Copy(self)</autodoc>
36303 </method>
36304 <method name="Paste" type="" overloaded="no">
36305 <autodoc>Paste(self)</autodoc>
36306 </method>
36307 <method name="Clear" type="" overloaded="no">
36308 <autodoc>Clear(self)</autodoc>
36309 </method>
36310 <method name="SetText" type="" overloaded="no">
36311 <autodoc>SetText(self, String text)</autodoc>
36312 <paramlist>
36313 <param name="text" type="String" default=""/>
36314 </paramlist>
36315 </method>
36316 <method name="GetText" type="String" overloaded="no">
36317 <autodoc>GetText(self) -&gt; String</autodoc>
36318 </method>
36319 <method name="GetTextLength" type="int" overloaded="no">
36320 <autodoc>GetTextLength(self) -&gt; int</autodoc>
36321 </method>
36322 <method name="SetOvertype" type="" overloaded="no">
36323 <autodoc>SetOvertype(self, bool overtype)</autodoc>
36324 <paramlist>
36325 <param name="overtype" type="bool" default=""/>
36326 </paramlist>
36327 </method>
36328 <method name="GetOvertype" type="bool" overloaded="no">
36329 <autodoc>GetOvertype(self) -&gt; bool</autodoc>
36330 </method>
36331 <method name="SetCaretWidth" type="" overloaded="no">
36332 <autodoc>SetCaretWidth(self, int pixelWidth)</autodoc>
36333 <paramlist>
36334 <param name="pixelWidth" type="int" default=""/>
36335 </paramlist>
36336 </method>
36337 <method name="GetCaretWidth" type="int" overloaded="no">
36338 <autodoc>GetCaretWidth(self) -&gt; int</autodoc>
36339 </method>
36340 <method name="SetTargetStart" type="" overloaded="no">
36341 <autodoc>SetTargetStart(self, int pos)</autodoc>
36342 <paramlist>
36343 <param name="pos" type="int" default=""/>
36344 </paramlist>
36345 </method>
36346 <method name="GetTargetStart" type="int" overloaded="no">
36347 <autodoc>GetTargetStart(self) -&gt; int</autodoc>
36348 </method>
36349 <method name="SetTargetEnd" type="" overloaded="no">
36350 <autodoc>SetTargetEnd(self, int pos)</autodoc>
36351 <paramlist>
36352 <param name="pos" type="int" default=""/>
36353 </paramlist>
36354 </method>
36355 <method name="GetTargetEnd" type="int" overloaded="no">
36356 <autodoc>GetTargetEnd(self) -&gt; int</autodoc>
36357 </method>
36358 <method name="ReplaceTarget" type="int" overloaded="no">
36359 <autodoc>ReplaceTarget(self, String text) -&gt; int</autodoc>
36360 <paramlist>
36361 <param name="text" type="String" default=""/>
36362 </paramlist>
36363 </method>
36364 <method name="ReplaceTargetRE" type="int" overloaded="no">
36365 <autodoc>ReplaceTargetRE(self, String text) -&gt; int</autodoc>
36366 <paramlist>
36367 <param name="text" type="String" default=""/>
36368 </paramlist>
36369 </method>
36370 <method name="SearchInTarget" type="int" overloaded="no">
36371 <autodoc>SearchInTarget(self, String text) -&gt; int</autodoc>
36372 <paramlist>
36373 <param name="text" type="String" default=""/>
36374 </paramlist>
36375 </method>
36376 <method name="SetSearchFlags" type="" overloaded="no">
36377 <autodoc>SetSearchFlags(self, int flags)</autodoc>
36378 <paramlist>
36379 <param name="flags" type="int" default=""/>
36380 </paramlist>
36381 </method>
36382 <method name="GetSearchFlags" type="int" overloaded="no">
36383 <autodoc>GetSearchFlags(self) -&gt; int</autodoc>
36384 </method>
36385 <method name="CallTipShow" type="" overloaded="no">
36386 <autodoc>CallTipShow(self, int pos, String definition)</autodoc>
36387 <paramlist>
36388 <param name="pos" type="int" default=""/>
36389 <param name="definition" type="String" default=""/>
36390 </paramlist>
36391 </method>
36392 <method name="CallTipCancel" type="" overloaded="no">
36393 <autodoc>CallTipCancel(self)</autodoc>
36394 </method>
36395 <method name="CallTipActive" type="bool" overloaded="no">
36396 <autodoc>CallTipActive(self) -&gt; bool</autodoc>
36397 </method>
36398 <method name="CallTipPosAtStart" type="int" overloaded="no">
36399 <autodoc>CallTipPosAtStart(self) -&gt; int</autodoc>
36400 </method>
36401 <method name="CallTipSetHighlight" type="" overloaded="no">
36402 <autodoc>CallTipSetHighlight(self, int start, int end)</autodoc>
36403 <paramlist>
36404 <param name="start" type="int" default=""/>
36405 <param name="end" type="int" default=""/>
36406 </paramlist>
36407 </method>
36408 <method name="CallTipSetBackground" type="" overloaded="no">
36409 <autodoc>CallTipSetBackground(self, Colour back)</autodoc>
36410 <paramlist>
36411 <param name="back" type="Colour" default=""/>
36412 </paramlist>
36413 </method>
36414 <method name="CallTipSetForeground" type="" overloaded="no">
36415 <autodoc>CallTipSetForeground(self, Colour fore)</autodoc>
36416 <paramlist>
36417 <param name="fore" type="Colour" default=""/>
36418 </paramlist>
36419 </method>
36420 <method name="CallTipSetForegroundHighlight" type="" overloaded="no">
36421 <autodoc>CallTipSetForegroundHighlight(self, Colour fore)</autodoc>
36422 <paramlist>
36423 <param name="fore" type="Colour" default=""/>
36424 </paramlist>
36425 </method>
36426 <method name="VisibleFromDocLine" type="int" overloaded="no">
36427 <autodoc>VisibleFromDocLine(self, int line) -&gt; int</autodoc>
36428 <paramlist>
36429 <param name="line" type="int" default=""/>
36430 </paramlist>
36431 </method>
36432 <method name="DocLineFromVisible" type="int" overloaded="no">
36433 <autodoc>DocLineFromVisible(self, int lineDisplay) -&gt; int</autodoc>
36434 <paramlist>
36435 <param name="lineDisplay" type="int" default=""/>
36436 </paramlist>
36437 </method>
36438 <method name="SetFoldLevel" type="" overloaded="no">
36439 <autodoc>SetFoldLevel(self, int line, int level)</autodoc>
36440 <paramlist>
36441 <param name="line" type="int" default=""/>
36442 <param name="level" type="int" default=""/>
36443 </paramlist>
36444 </method>
36445 <method name="GetFoldLevel" type="int" overloaded="no">
36446 <autodoc>GetFoldLevel(self, int line) -&gt; int</autodoc>
36447 <paramlist>
36448 <param name="line" type="int" default=""/>
36449 </paramlist>
36450 </method>
36451 <method name="GetLastChild" type="int" overloaded="no">
36452 <autodoc>GetLastChild(self, int line, int level) -&gt; int</autodoc>
36453 <paramlist>
36454 <param name="line" type="int" default=""/>
36455 <param name="level" type="int" default=""/>
36456 </paramlist>
36457 </method>
36458 <method name="GetFoldParent" type="int" overloaded="no">
36459 <autodoc>GetFoldParent(self, int line) -&gt; int</autodoc>
36460 <paramlist>
36461 <param name="line" type="int" default=""/>
36462 </paramlist>
36463 </method>
36464 <method name="ShowLines" type="" overloaded="no">
36465 <autodoc>ShowLines(self, int lineStart, int lineEnd)</autodoc>
36466 <paramlist>
36467 <param name="lineStart" type="int" default=""/>
36468 <param name="lineEnd" type="int" default=""/>
36469 </paramlist>
36470 </method>
36471 <method name="HideLines" type="" overloaded="no">
36472 <autodoc>HideLines(self, int lineStart, int lineEnd)</autodoc>
36473 <paramlist>
36474 <param name="lineStart" type="int" default=""/>
36475 <param name="lineEnd" type="int" default=""/>
36476 </paramlist>
36477 </method>
36478 <method name="GetLineVisible" type="bool" overloaded="no">
36479 <autodoc>GetLineVisible(self, int line) -&gt; bool</autodoc>
36480 <paramlist>
36481 <param name="line" type="int" default=""/>
36482 </paramlist>
36483 </method>
36484 <method name="SetFoldExpanded" type="" overloaded="no">
36485 <autodoc>SetFoldExpanded(self, int line, bool expanded)</autodoc>
36486 <paramlist>
36487 <param name="line" type="int" default=""/>
36488 <param name="expanded" type="bool" default=""/>
36489 </paramlist>
36490 </method>
36491 <method name="GetFoldExpanded" type="bool" overloaded="no">
36492 <autodoc>GetFoldExpanded(self, int line) -&gt; bool</autodoc>
36493 <paramlist>
36494 <param name="line" type="int" default=""/>
36495 </paramlist>
36496 </method>
36497 <method name="ToggleFold" type="" overloaded="no">
36498 <autodoc>ToggleFold(self, int line)</autodoc>
36499 <paramlist>
36500 <param name="line" type="int" default=""/>
36501 </paramlist>
36502 </method>
36503 <method name="EnsureVisible" type="" overloaded="no">
36504 <autodoc>EnsureVisible(self, int line)</autodoc>
36505 <paramlist>
36506 <param name="line" type="int" default=""/>
36507 </paramlist>
36508 </method>
36509 <method name="SetFoldFlags" type="" overloaded="no">
36510 <autodoc>SetFoldFlags(self, int flags)</autodoc>
36511 <paramlist>
36512 <param name="flags" type="int" default=""/>
36513 </paramlist>
36514 </method>
36515 <method name="EnsureVisibleEnforcePolicy" type="" overloaded="no">
36516 <autodoc>EnsureVisibleEnforcePolicy(self, int line)</autodoc>
36517 <paramlist>
36518 <param name="line" type="int" default=""/>
36519 </paramlist>
36520 </method>
36521 <method name="SetTabIndents" type="" overloaded="no">
36522 <autodoc>SetTabIndents(self, bool tabIndents)</autodoc>
36523 <paramlist>
36524 <param name="tabIndents" type="bool" default=""/>
36525 </paramlist>
36526 </method>
36527 <method name="GetTabIndents" type="bool" overloaded="no">
36528 <autodoc>GetTabIndents(self) -&gt; bool</autodoc>
36529 </method>
36530 <method name="SetBackSpaceUnIndents" type="" overloaded="no">
36531 <autodoc>SetBackSpaceUnIndents(self, bool bsUnIndents)</autodoc>
36532 <paramlist>
36533 <param name="bsUnIndents" type="bool" default=""/>
36534 </paramlist>
36535 </method>
36536 <method name="GetBackSpaceUnIndents" type="bool" overloaded="no">
36537 <autodoc>GetBackSpaceUnIndents(self) -&gt; bool</autodoc>
36538 </method>
36539 <method name="SetMouseDwellTime" type="" overloaded="no">
36540 <autodoc>SetMouseDwellTime(self, int periodMilliseconds)</autodoc>
36541 <paramlist>
36542 <param name="periodMilliseconds" type="int" default=""/>
36543 </paramlist>
36544 </method>
36545 <method name="GetMouseDwellTime" type="int" overloaded="no">
36546 <autodoc>GetMouseDwellTime(self) -&gt; int</autodoc>
36547 </method>
36548 <method name="WordStartPosition" type="int" overloaded="no">
36549 <autodoc>WordStartPosition(self, int pos, bool onlyWordCharacters) -&gt; int</autodoc>
36550 <paramlist>
36551 <param name="pos" type="int" default=""/>
36552 <param name="onlyWordCharacters" type="bool" default=""/>
36553 </paramlist>
36554 </method>
36555 <method name="WordEndPosition" type="int" overloaded="no">
36556 <autodoc>WordEndPosition(self, int pos, bool onlyWordCharacters) -&gt; int</autodoc>
36557 <paramlist>
36558 <param name="pos" type="int" default=""/>
36559 <param name="onlyWordCharacters" type="bool" default=""/>
36560 </paramlist>
36561 </method>
36562 <method name="SetWrapMode" type="" overloaded="no">
36563 <autodoc>SetWrapMode(self, int mode)</autodoc>
36564 <paramlist>
36565 <param name="mode" type="int" default=""/>
36566 </paramlist>
36567 </method>
36568 <method name="GetWrapMode" type="int" overloaded="no">
36569 <autodoc>GetWrapMode(self) -&gt; int</autodoc>
36570 </method>
36571 <method name="SetLayoutCache" type="" overloaded="no">
36572 <autodoc>SetLayoutCache(self, int mode)</autodoc>
36573 <paramlist>
36574 <param name="mode" type="int" default=""/>
36575 </paramlist>
36576 </method>
36577 <method name="GetLayoutCache" type="int" overloaded="no">
36578 <autodoc>GetLayoutCache(self) -&gt; int</autodoc>
36579 </method>
36580 <method name="SetScrollWidth" type="" overloaded="no">
36581 <autodoc>SetScrollWidth(self, int pixelWidth)</autodoc>
36582 <paramlist>
36583 <param name="pixelWidth" type="int" default=""/>
36584 </paramlist>
36585 </method>
36586 <method name="GetScrollWidth" type="int" overloaded="no">
36587 <autodoc>GetScrollWidth(self) -&gt; int</autodoc>
36588 </method>
36589 <method name="TextWidth" type="int" overloaded="no">
36590 <autodoc>TextWidth(self, int style, String text) -&gt; int</autodoc>
36591 <paramlist>
36592 <param name="style" type="int" default=""/>
36593 <param name="text" type="String" default=""/>
36594 </paramlist>
36595 </method>
36596 <method name="SetEndAtLastLine" type="" overloaded="no">
36597 <autodoc>SetEndAtLastLine(self, bool endAtLastLine)</autodoc>
36598 <paramlist>
36599 <param name="endAtLastLine" type="bool" default=""/>
36600 </paramlist>
36601 </method>
36602 <method name="GetEndAtLastLine" type="int" overloaded="no">
36603 <autodoc>GetEndAtLastLine(self) -&gt; int</autodoc>
36604 </method>
36605 <method name="TextHeight" type="int" overloaded="no">
36606 <autodoc>TextHeight(self, int line) -&gt; int</autodoc>
36607 <paramlist>
36608 <param name="line" type="int" default=""/>
36609 </paramlist>
36610 </method>
36611 <method name="SetUseVerticalScrollBar" type="" overloaded="no">
36612 <autodoc>SetUseVerticalScrollBar(self, bool show)</autodoc>
36613 <paramlist>
36614 <param name="show" type="bool" default=""/>
36615 </paramlist>
36616 </method>
36617 <method name="GetUseVerticalScrollBar" type="bool" overloaded="no">
36618 <autodoc>GetUseVerticalScrollBar(self) -&gt; bool</autodoc>
36619 </method>
36620 <method name="AppendText" type="" overloaded="no">
36621 <autodoc>AppendText(self, int length, String text)</autodoc>
36622 <paramlist>
36623 <param name="length" type="int" default=""/>
36624 <param name="text" type="String" default=""/>
36625 </paramlist>
36626 </method>
36627 <method name="GetTwoPhaseDraw" type="bool" overloaded="no">
36628 <autodoc>GetTwoPhaseDraw(self) -&gt; bool</autodoc>
36629 </method>
36630 <method name="SetTwoPhaseDraw" type="" overloaded="no">
36631 <autodoc>SetTwoPhaseDraw(self, bool twoPhase)</autodoc>
36632 <paramlist>
36633 <param name="twoPhase" type="bool" default=""/>
36634 </paramlist>
36635 </method>
36636 <method name="TargetFromSelection" type="" overloaded="no">
36637 <autodoc>TargetFromSelection(self)</autodoc>
36638 </method>
36639 <method name="LinesJoin" type="" overloaded="no">
36640 <autodoc>LinesJoin(self)</autodoc>
36641 </method>
36642 <method name="LinesSplit" type="" overloaded="no">
36643 <autodoc>LinesSplit(self, int pixelWidth)</autodoc>
36644 <paramlist>
36645 <param name="pixelWidth" type="int" default=""/>
36646 </paramlist>
36647 </method>
36648 <method name="SetFoldMarginColour" type="" overloaded="no">
36649 <autodoc>SetFoldMarginColour(self, bool useSetting, Colour back)</autodoc>
36650 <paramlist>
36651 <param name="useSetting" type="bool" default=""/>
36652 <param name="back" type="Colour" default=""/>
36653 </paramlist>
36654 </method>
36655 <method name="SetFoldMarginHiColour" type="" overloaded="no">
36656 <autodoc>SetFoldMarginHiColour(self, bool useSetting, Colour fore)</autodoc>
36657 <paramlist>
36658 <param name="useSetting" type="bool" default=""/>
36659 <param name="fore" type="Colour" default=""/>
36660 </paramlist>
36661 </method>
36662 <method name="LineDown" type="" overloaded="no">
36663 <autodoc>LineDown(self)</autodoc>
36664 <docstring>This is just a wrapper for ScrollLines(1).</docstring>
36665 </method>
36666 <method name="LineDownExtend" type="" overloaded="no">
36667 <autodoc>LineDownExtend(self)</autodoc>
36668 </method>
36669 <method name="LineUp" type="" overloaded="no">
36670 <autodoc>LineUp(self)</autodoc>
36671 <docstring>This is just a wrapper for ScrollLines(-1).</docstring>
36672 </method>
36673 <method name="LineUpExtend" type="" overloaded="no">
36674 <autodoc>LineUpExtend(self)</autodoc>
36675 </method>
36676 <method name="CharLeft" type="" overloaded="no">
36677 <autodoc>CharLeft(self)</autodoc>
36678 </method>
36679 <method name="CharLeftExtend" type="" overloaded="no">
36680 <autodoc>CharLeftExtend(self)</autodoc>
36681 </method>
36682 <method name="CharRight" type="" overloaded="no">
36683 <autodoc>CharRight(self)</autodoc>
36684 </method>
36685 <method name="CharRightExtend" type="" overloaded="no">
36686 <autodoc>CharRightExtend(self)</autodoc>
36687 </method>
36688 <method name="WordLeft" type="" overloaded="no">
36689 <autodoc>WordLeft(self)</autodoc>
36690 </method>
36691 <method name="WordLeftExtend" type="" overloaded="no">
36692 <autodoc>WordLeftExtend(self)</autodoc>
36693 </method>
36694 <method name="WordRight" type="" overloaded="no">
36695 <autodoc>WordRight(self)</autodoc>
36696 </method>
36697 <method name="WordRightExtend" type="" overloaded="no">
36698 <autodoc>WordRightExtend(self)</autodoc>
36699 </method>
36700 <method name="Home" type="" overloaded="no">
36701 <autodoc>Home(self)</autodoc>
36702 </method>
36703 <method name="HomeExtend" type="" overloaded="no">
36704 <autodoc>HomeExtend(self)</autodoc>
36705 </method>
36706 <method name="LineEnd" type="" overloaded="no">
36707 <autodoc>LineEnd(self)</autodoc>
36708 </method>
36709 <method name="LineEndExtend" type="" overloaded="no">
36710 <autodoc>LineEndExtend(self)</autodoc>
36711 </method>
36712 <method name="DocumentStart" type="" overloaded="no">
36713 <autodoc>DocumentStart(self)</autodoc>
36714 </method>
36715 <method name="DocumentStartExtend" type="" overloaded="no">
36716 <autodoc>DocumentStartExtend(self)</autodoc>
36717 </method>
36718 <method name="DocumentEnd" type="" overloaded="no">
36719 <autodoc>DocumentEnd(self)</autodoc>
36720 </method>
36721 <method name="DocumentEndExtend" type="" overloaded="no">
36722 <autodoc>DocumentEndExtend(self)</autodoc>
36723 </method>
36724 <method name="PageUp" type="" overloaded="no">
36725 <autodoc>PageUp(self)</autodoc>
36726 <docstring>This is just a wrapper for ScrollPages(-1).</docstring>
36727 </method>
36728 <method name="PageUpExtend" type="" overloaded="no">
36729 <autodoc>PageUpExtend(self)</autodoc>
36730 </method>
36731 <method name="PageDown" type="" overloaded="no">
36732 <autodoc>PageDown(self)</autodoc>
36733 <docstring>This is just a wrapper for ScrollPages(1).</docstring>
36734 </method>
36735 <method name="PageDownExtend" type="" overloaded="no">
36736 <autodoc>PageDownExtend(self)</autodoc>
36737 </method>
36738 <method name="EditToggleOvertype" type="" overloaded="no">
36739 <autodoc>EditToggleOvertype(self)</autodoc>
36740 </method>
36741 <method name="Cancel" type="" overloaded="no">
36742 <autodoc>Cancel(self)</autodoc>
36743 </method>
36744 <method name="DeleteBack" type="" overloaded="no">
36745 <autodoc>DeleteBack(self)</autodoc>
36746 </method>
36747 <method name="Tab" type="" overloaded="no">
36748 <autodoc>Tab(self)</autodoc>
36749 </method>
36750 <method name="BackTab" type="" overloaded="no">
36751 <autodoc>BackTab(self)</autodoc>
36752 </method>
36753 <method name="NewLine" type="" overloaded="no">
36754 <autodoc>NewLine(self)</autodoc>
36755 </method>
36756 <method name="FormFeed" type="" overloaded="no">
36757 <autodoc>FormFeed(self)</autodoc>
36758 </method>
36759 <method name="VCHome" type="" overloaded="no">
36760 <autodoc>VCHome(self)</autodoc>
36761 </method>
36762 <method name="VCHomeExtend" type="" overloaded="no">
36763 <autodoc>VCHomeExtend(self)</autodoc>
36764 </method>
36765 <method name="ZoomIn" type="" overloaded="no">
36766 <autodoc>ZoomIn(self)</autodoc>
36767 </method>
36768 <method name="ZoomOut" type="" overloaded="no">
36769 <autodoc>ZoomOut(self)</autodoc>
36770 </method>
36771 <method name="DelWordLeft" type="" overloaded="no">
36772 <autodoc>DelWordLeft(self)</autodoc>
36773 </method>
36774 <method name="DelWordRight" type="" overloaded="no">
36775 <autodoc>DelWordRight(self)</autodoc>
36776 </method>
36777 <method name="LineCut" type="" overloaded="no">
36778 <autodoc>LineCut(self)</autodoc>
36779 </method>
36780 <method name="LineDelete" type="" overloaded="no">
36781 <autodoc>LineDelete(self)</autodoc>
36782 </method>
36783 <method name="LineTranspose" type="" overloaded="no">
36784 <autodoc>LineTranspose(self)</autodoc>
36785 </method>
36786 <method name="LineDuplicate" type="" overloaded="no">
36787 <autodoc>LineDuplicate(self)</autodoc>
36788 </method>
36789 <method name="LowerCase" type="" overloaded="no">
36790 <autodoc>LowerCase(self)</autodoc>
36791 </method>
36792 <method name="UpperCase" type="" overloaded="no">
36793 <autodoc>UpperCase(self)</autodoc>
36794 </method>
36795 <method name="LineScrollDown" type="" overloaded="no">
36796 <autodoc>LineScrollDown(self)</autodoc>
36797 </method>
36798 <method name="LineScrollUp" type="" overloaded="no">
36799 <autodoc>LineScrollUp(self)</autodoc>
36800 </method>
36801 <method name="DeleteBackNotLine" type="" overloaded="no">
36802 <autodoc>DeleteBackNotLine(self)</autodoc>
36803 </method>
36804 <method name="HomeDisplay" type="" overloaded="no">
36805 <autodoc>HomeDisplay(self)</autodoc>
36806 </method>
36807 <method name="HomeDisplayExtend" type="" overloaded="no">
36808 <autodoc>HomeDisplayExtend(self)</autodoc>
36809 </method>
36810 <method name="LineEndDisplay" type="" overloaded="no">
36811 <autodoc>LineEndDisplay(self)</autodoc>
36812 </method>
36813 <method name="LineEndDisplayExtend" type="" overloaded="no">
36814 <autodoc>LineEndDisplayExtend(self)</autodoc>
36815 </method>
36816 <method name="HomeWrap" type="" overloaded="no">
36817 <autodoc>HomeWrap(self)</autodoc>
36818 </method>
36819 <method name="HomeWrapExtend" type="" overloaded="no">
36820 <autodoc>HomeWrapExtend(self)</autodoc>
36821 </method>
36822 <method name="LineEndWrap" type="" overloaded="no">
36823 <autodoc>LineEndWrap(self)</autodoc>
36824 </method>
36825 <method name="LineEndWrapExtend" type="" overloaded="no">
36826 <autodoc>LineEndWrapExtend(self)</autodoc>
36827 </method>
36828 <method name="VCHomeWrap" type="" overloaded="no">
36829 <autodoc>VCHomeWrap(self)</autodoc>
36830 </method>
36831 <method name="VCHomeWrapExtend" type="" overloaded="no">
36832 <autodoc>VCHomeWrapExtend(self)</autodoc>
36833 </method>
36834 <method name="LineCopy" type="" overloaded="no">
36835 <autodoc>LineCopy(self)</autodoc>
36836 </method>
36837 <method name="MoveCaretInsideView" type="" overloaded="no">
36838 <autodoc>MoveCaretInsideView(self)</autodoc>
36839 </method>
36840 <method name="LineLength" type="int" overloaded="no">
36841 <autodoc>LineLength(self, int line) -&gt; int</autodoc>
36842 <paramlist>
36843 <param name="line" type="int" default=""/>
36844 </paramlist>
36845 </method>
36846 <method name="BraceHighlight" type="" overloaded="no">
36847 <autodoc>BraceHighlight(self, int pos1, int pos2)</autodoc>
36848 <paramlist>
36849 <param name="pos1" type="int" default=""/>
36850 <param name="pos2" type="int" default=""/>
36851 </paramlist>
36852 </method>
36853 <method name="BraceBadLight" type="" overloaded="no">
36854 <autodoc>BraceBadLight(self, int pos)</autodoc>
36855 <paramlist>
36856 <param name="pos" type="int" default=""/>
36857 </paramlist>
36858 </method>
36859 <method name="BraceMatch" type="int" overloaded="no">
36860 <autodoc>BraceMatch(self, int pos) -&gt; int</autodoc>
36861 <paramlist>
36862 <param name="pos" type="int" default=""/>
36863 </paramlist>
36864 </method>
36865 <method name="GetViewEOL" type="bool" overloaded="no">
36866 <autodoc>GetViewEOL(self) -&gt; bool</autodoc>
36867 </method>
36868 <method name="SetViewEOL" type="" overloaded="no">
36869 <autodoc>SetViewEOL(self, bool visible)</autodoc>
36870 <paramlist>
36871 <param name="visible" type="bool" default=""/>
36872 </paramlist>
36873 </method>
36874 <method name="GetDocPointer" type="" overloaded="no">
36875 <autodoc>GetDocPointer(self) -&gt; void</autodoc>
36876 </method>
36877 <method name="SetDocPointer" type="" overloaded="no">
36878 <autodoc>SetDocPointer(self, void docPointer)</autodoc>
36879 <paramlist>
36880 <param name="docPointer" type="" default=""/>
36881 </paramlist>
36882 </method>
36883 <method name="SetModEventMask" type="" overloaded="no">
36884 <autodoc>SetModEventMask(self, int mask)</autodoc>
36885 <paramlist>
36886 <param name="mask" type="int" default=""/>
36887 </paramlist>
36888 </method>
36889 <method name="GetEdgeColumn" type="int" overloaded="no">
36890 <autodoc>GetEdgeColumn(self) -&gt; int</autodoc>
36891 </method>
36892 <method name="SetEdgeColumn" type="" overloaded="no">
36893 <autodoc>SetEdgeColumn(self, int column)</autodoc>
36894 <paramlist>
36895 <param name="column" type="int" default=""/>
36896 </paramlist>
36897 </method>
36898 <method name="GetEdgeMode" type="int" overloaded="no">
36899 <autodoc>GetEdgeMode(self) -&gt; int</autodoc>
36900 </method>
36901 <method name="SetEdgeMode" type="" overloaded="no">
36902 <autodoc>SetEdgeMode(self, int mode)</autodoc>
36903 <paramlist>
36904 <param name="mode" type="int" default=""/>
36905 </paramlist>
36906 </method>
36907 <method name="GetEdgeColour" type="Colour" overloaded="no">
36908 <autodoc>GetEdgeColour(self) -&gt; Colour</autodoc>
36909 </method>
36910 <method name="SetEdgeColour" type="" overloaded="no">
36911 <autodoc>SetEdgeColour(self, Colour edgeColour)</autodoc>
36912 <paramlist>
36913 <param name="edgeColour" type="Colour" default=""/>
36914 </paramlist>
36915 </method>
36916 <method name="SearchAnchor" type="" overloaded="no">
36917 <autodoc>SearchAnchor(self)</autodoc>
36918 </method>
36919 <method name="SearchNext" type="int" overloaded="no">
36920 <autodoc>SearchNext(self, int flags, String text) -&gt; int</autodoc>
36921 <paramlist>
36922 <param name="flags" type="int" default=""/>
36923 <param name="text" type="String" default=""/>
36924 </paramlist>
36925 </method>
36926 <method name="SearchPrev" type="int" overloaded="no">
36927 <autodoc>SearchPrev(self, int flags, String text) -&gt; int</autodoc>
36928 <paramlist>
36929 <param name="flags" type="int" default=""/>
36930 <param name="text" type="String" default=""/>
36931 </paramlist>
36932 </method>
36933 <method name="LinesOnScreen" type="int" overloaded="no">
36934 <autodoc>LinesOnScreen(self) -&gt; int</autodoc>
36935 </method>
36936 <method name="UsePopUp" type="" overloaded="no">
36937 <autodoc>UsePopUp(self, bool allowPopUp)</autodoc>
36938 <paramlist>
36939 <param name="allowPopUp" type="bool" default=""/>
36940 </paramlist>
36941 </method>
36942 <method name="SelectionIsRectangle" type="bool" overloaded="no">
36943 <autodoc>SelectionIsRectangle(self) -&gt; bool</autodoc>
36944 </method>
36945 <method name="SetZoom" type="" overloaded="no">
36946 <autodoc>SetZoom(self, int zoom)</autodoc>
36947 <paramlist>
36948 <param name="zoom" type="int" default=""/>
36949 </paramlist>
36950 </method>
36951 <method name="GetZoom" type="int" overloaded="no">
36952 <autodoc>GetZoom(self) -&gt; int</autodoc>
36953 </method>
36954 <method name="CreateDocument" type="" overloaded="no">
36955 <autodoc>CreateDocument(self) -&gt; void</autodoc>
36956 </method>
36957 <method name="AddRefDocument" type="" overloaded="no">
36958 <autodoc>AddRefDocument(self, void docPointer)</autodoc>
36959 <paramlist>
36960 <param name="docPointer" type="" default=""/>
36961 </paramlist>
36962 </method>
36963 <method name="ReleaseDocument" type="" overloaded="no">
36964 <autodoc>ReleaseDocument(self, void docPointer)</autodoc>
36965 <paramlist>
36966 <param name="docPointer" type="" default=""/>
36967 </paramlist>
36968 </method>
36969 <method name="GetModEventMask" type="int" overloaded="no">
36970 <autodoc>GetModEventMask(self) -&gt; int</autodoc>
36971 </method>
36972 <method name="SetSTCFocus" type="" overloaded="no">
36973 <autodoc>SetSTCFocus(self, bool focus)</autodoc>
36974 <paramlist>
36975 <param name="focus" type="bool" default=""/>
36976 </paramlist>
36977 </method>
36978 <method name="GetSTCFocus" type="bool" overloaded="no">
36979 <autodoc>GetSTCFocus(self) -&gt; bool</autodoc>
36980 </method>
36981 <method name="SetStatus" type="" overloaded="no">
36982 <autodoc>SetStatus(self, int statusCode)</autodoc>
36983 <paramlist>
36984 <param name="statusCode" type="int" default=""/>
36985 </paramlist>
36986 </method>
36987 <method name="GetStatus" type="int" overloaded="no">
36988 <autodoc>GetStatus(self) -&gt; int</autodoc>
36989 </method>
36990 <method name="SetMouseDownCaptures" type="" overloaded="no">
36991 <autodoc>SetMouseDownCaptures(self, bool captures)</autodoc>
36992 <paramlist>
36993 <param name="captures" type="bool" default=""/>
36994 </paramlist>
36995 </method>
36996 <method name="GetMouseDownCaptures" type="bool" overloaded="no">
36997 <autodoc>GetMouseDownCaptures(self) -&gt; bool</autodoc>
36998 </method>
36999 <method name="SetSTCCursor" type="" overloaded="no">
37000 <autodoc>SetSTCCursor(self, int cursorType)</autodoc>
37001 <paramlist>
37002 <param name="cursorType" type="int" default=""/>
37003 </paramlist>
37004 </method>
37005 <method name="GetSTCCursor" type="int" overloaded="no">
37006 <autodoc>GetSTCCursor(self) -&gt; int</autodoc>
37007 </method>
37008 <method name="SetControlCharSymbol" type="" overloaded="no">
37009 <autodoc>SetControlCharSymbol(self, int symbol)</autodoc>
37010 <paramlist>
37011 <param name="symbol" type="int" default=""/>
37012 </paramlist>
37013 </method>
37014 <method name="GetControlCharSymbol" type="int" overloaded="no">
37015 <autodoc>GetControlCharSymbol(self) -&gt; int</autodoc>
37016 </method>
37017 <method name="WordPartLeft" type="" overloaded="no">
37018 <autodoc>WordPartLeft(self)</autodoc>
37019 </method>
37020 <method name="WordPartLeftExtend" type="" overloaded="no">
37021 <autodoc>WordPartLeftExtend(self)</autodoc>
37022 </method>
37023 <method name="WordPartRight" type="" overloaded="no">
37024 <autodoc>WordPartRight(self)</autodoc>
37025 </method>
37026 <method name="WordPartRightExtend" type="" overloaded="no">
37027 <autodoc>WordPartRightExtend(self)</autodoc>
37028 </method>
37029 <method name="SetVisiblePolicy" type="" overloaded="no">
37030 <autodoc>SetVisiblePolicy(self, int visiblePolicy, int visibleSlop)</autodoc>
37031 <paramlist>
37032 <param name="visiblePolicy" type="int" default=""/>
37033 <param name="visibleSlop" type="int" default=""/>
37034 </paramlist>
37035 </method>
37036 <method name="DelLineLeft" type="" overloaded="no">
37037 <autodoc>DelLineLeft(self)</autodoc>
37038 </method>
37039 <method name="DelLineRight" type="" overloaded="no">
37040 <autodoc>DelLineRight(self)</autodoc>
37041 </method>
37042 <method name="SetXOffset" type="" overloaded="no">
37043 <autodoc>SetXOffset(self, int newOffset)</autodoc>
37044 <paramlist>
37045 <param name="newOffset" type="int" default=""/>
37046 </paramlist>
37047 </method>
37048 <method name="GetXOffset" type="int" overloaded="no">
37049 <autodoc>GetXOffset(self) -&gt; int</autodoc>
37050 </method>
37051 <method name="ChooseCaretX" type="" overloaded="no">
37052 <autodoc>ChooseCaretX(self)</autodoc>
37053 </method>
37054 <method name="SetXCaretPolicy" type="" overloaded="no">
37055 <autodoc>SetXCaretPolicy(self, int caretPolicy, int caretSlop)</autodoc>
37056 <paramlist>
37057 <param name="caretPolicy" type="int" default=""/>
37058 <param name="caretSlop" type="int" default=""/>
37059 </paramlist>
37060 </method>
37061 <method name="SetYCaretPolicy" type="" overloaded="no">
37062 <autodoc>SetYCaretPolicy(self, int caretPolicy, int caretSlop)</autodoc>
37063 <paramlist>
37064 <param name="caretPolicy" type="int" default=""/>
37065 <param name="caretSlop" type="int" default=""/>
37066 </paramlist>
37067 </method>
37068 <method name="SetPrintWrapMode" type="" overloaded="no">
37069 <autodoc>SetPrintWrapMode(self, int mode)</autodoc>
37070 <paramlist>
37071 <param name="mode" type="int" default=""/>
37072 </paramlist>
37073 </method>
37074 <method name="GetPrintWrapMode" type="int" overloaded="no">
37075 <autodoc>GetPrintWrapMode(self) -&gt; int</autodoc>
37076 </method>
37077 <method name="SetHotspotActiveForeground" type="" overloaded="no">
37078 <autodoc>SetHotspotActiveForeground(self, bool useSetting, Colour fore)</autodoc>
37079 <paramlist>
37080 <param name="useSetting" type="bool" default=""/>
37081 <param name="fore" type="Colour" default=""/>
37082 </paramlist>
37083 </method>
37084 <method name="SetHotspotActiveBackground" type="" overloaded="no">
37085 <autodoc>SetHotspotActiveBackground(self, bool useSetting, Colour back)</autodoc>
37086 <paramlist>
37087 <param name="useSetting" type="bool" default=""/>
37088 <param name="back" type="Colour" default=""/>
37089 </paramlist>
37090 </method>
37091 <method name="SetHotspotActiveUnderline" type="" overloaded="no">
37092 <autodoc>SetHotspotActiveUnderline(self, bool underline)</autodoc>
37093 <paramlist>
37094 <param name="underline" type="bool" default=""/>
37095 </paramlist>
37096 </method>
37097 <method name="SetHotspotSingleLine" type="" overloaded="no">
37098 <autodoc>SetHotspotSingleLine(self, bool singleLine)</autodoc>
37099 <paramlist>
37100 <param name="singleLine" type="bool" default=""/>
37101 </paramlist>
37102 </method>
37103 <method name="ParaDown" type="" overloaded="no">
37104 <autodoc>ParaDown(self)</autodoc>
37105 </method>
37106 <method name="ParaDownExtend" type="" overloaded="no">
37107 <autodoc>ParaDownExtend(self)</autodoc>
37108 </method>
37109 <method name="ParaUp" type="" overloaded="no">
37110 <autodoc>ParaUp(self)</autodoc>
37111 </method>
37112 <method name="ParaUpExtend" type="" overloaded="no">
37113 <autodoc>ParaUpExtend(self)</autodoc>
37114 </method>
37115 <method name="PositionBefore" type="int" overloaded="no">
37116 <autodoc>PositionBefore(self, int pos) -&gt; int</autodoc>
37117 <paramlist>
37118 <param name="pos" type="int" default=""/>
37119 </paramlist>
37120 </method>
37121 <method name="PositionAfter" type="int" overloaded="no">
37122 <autodoc>PositionAfter(self, int pos) -&gt; int</autodoc>
37123 <paramlist>
37124 <param name="pos" type="int" default=""/>
37125 </paramlist>
37126 </method>
37127 <method name="CopyRange" type="" overloaded="no">
37128 <autodoc>CopyRange(self, int start, int end)</autodoc>
37129 <paramlist>
37130 <param name="start" type="int" default=""/>
37131 <param name="end" type="int" default=""/>
37132 </paramlist>
37133 </method>
37134 <method name="CopyText" type="" overloaded="no">
37135 <autodoc>CopyText(self, int length, String text)</autodoc>
37136 <paramlist>
37137 <param name="length" type="int" default=""/>
37138 <param name="text" type="String" default=""/>
37139 </paramlist>
37140 </method>
37141 <method name="SetSelectionMode" type="" overloaded="no">
37142 <autodoc>SetSelectionMode(self, int mode)</autodoc>
37143 <paramlist>
37144 <param name="mode" type="int" default=""/>
37145 </paramlist>
37146 </method>
37147 <method name="GetSelectionMode" type="int" overloaded="no">
37148 <autodoc>GetSelectionMode(self) -&gt; int</autodoc>
37149 </method>
37150 <method name="GetLineSelStartPosition" type="int" overloaded="no">
37151 <autodoc>GetLineSelStartPosition(self, int line) -&gt; int</autodoc>
37152 <paramlist>
37153 <param name="line" type="int" default=""/>
37154 </paramlist>
37155 </method>
37156 <method name="GetLineSelEndPosition" type="int" overloaded="no">
37157 <autodoc>GetLineSelEndPosition(self, int line) -&gt; int</autodoc>
37158 <paramlist>
37159 <param name="line" type="int" default=""/>
37160 </paramlist>
37161 </method>
37162 <method name="LineDownRectExtend" type="" overloaded="no">
37163 <autodoc>LineDownRectExtend(self)</autodoc>
37164 </method>
37165 <method name="LineUpRectExtend" type="" overloaded="no">
37166 <autodoc>LineUpRectExtend(self)</autodoc>
37167 </method>
37168 <method name="CharLeftRectExtend" type="" overloaded="no">
37169 <autodoc>CharLeftRectExtend(self)</autodoc>
37170 </method>
37171 <method name="CharRightRectExtend" type="" overloaded="no">
37172 <autodoc>CharRightRectExtend(self)</autodoc>
37173 </method>
37174 <method name="HomeRectExtend" type="" overloaded="no">
37175 <autodoc>HomeRectExtend(self)</autodoc>
37176 </method>
37177 <method name="VCHomeRectExtend" type="" overloaded="no">
37178 <autodoc>VCHomeRectExtend(self)</autodoc>
37179 </method>
37180 <method name="LineEndRectExtend" type="" overloaded="no">
37181 <autodoc>LineEndRectExtend(self)</autodoc>
37182 </method>
37183 <method name="PageUpRectExtend" type="" overloaded="no">
37184 <autodoc>PageUpRectExtend(self)</autodoc>
37185 </method>
37186 <method name="PageDownRectExtend" type="" overloaded="no">
37187 <autodoc>PageDownRectExtend(self)</autodoc>
37188 </method>
37189 <method name="StutteredPageUp" type="" overloaded="no">
37190 <autodoc>StutteredPageUp(self)</autodoc>
37191 </method>
37192 <method name="StutteredPageUpExtend" type="" overloaded="no">
37193 <autodoc>StutteredPageUpExtend(self)</autodoc>
37194 </method>
37195 <method name="StutteredPageDown" type="" overloaded="no">
37196 <autodoc>StutteredPageDown(self)</autodoc>
37197 </method>
37198 <method name="StutteredPageDownExtend" type="" overloaded="no">
37199 <autodoc>StutteredPageDownExtend(self)</autodoc>
37200 </method>
37201 <method name="WordLeftEnd" type="" overloaded="no">
37202 <autodoc>WordLeftEnd(self)</autodoc>
37203 </method>
37204 <method name="WordLeftEndExtend" type="" overloaded="no">
37205 <autodoc>WordLeftEndExtend(self)</autodoc>
37206 </method>
37207 <method name="WordRightEnd" type="" overloaded="no">
37208 <autodoc>WordRightEnd(self)</autodoc>
37209 </method>
37210 <method name="WordRightEndExtend" type="" overloaded="no">
37211 <autodoc>WordRightEndExtend(self)</autodoc>
37212 </method>
37213 <method name="SetWhitespaceChars" type="" overloaded="no">
37214 <autodoc>SetWhitespaceChars(self, String characters)</autodoc>
37215 <paramlist>
37216 <param name="characters" type="String" default=""/>
37217 </paramlist>
37218 </method>
37219 <method name="SetCharsDefault" type="" overloaded="no">
37220 <autodoc>SetCharsDefault(self)</autodoc>
37221 </method>
37222 <method name="AutoCompGetCurrent" type="int" overloaded="no">
37223 <autodoc>AutoCompGetCurrent(self) -&gt; int</autodoc>
37224 </method>
37225 <method name="StartRecord" type="" overloaded="no">
37226 <autodoc>StartRecord(self)</autodoc>
37227 </method>
37228 <method name="StopRecord" type="" overloaded="no">
37229 <autodoc>StopRecord(self)</autodoc>
37230 </method>
37231 <method name="SetLexer" type="" overloaded="no">
37232 <autodoc>SetLexer(self, int lexer)</autodoc>
37233 <paramlist>
37234 <param name="lexer" type="int" default=""/>
37235 </paramlist>
37236 </method>
37237 <method name="GetLexer" type="int" overloaded="no">
37238 <autodoc>GetLexer(self) -&gt; int</autodoc>
37239 </method>
37240 <method name="Colourise" type="" overloaded="no">
37241 <autodoc>Colourise(self, int start, int end)</autodoc>
37242 <paramlist>
37243 <param name="start" type="int" default=""/>
37244 <param name="end" type="int" default=""/>
37245 </paramlist>
37246 </method>
37247 <method name="SetProperty" type="" overloaded="no">
37248 <autodoc>SetProperty(self, String key, String value)</autodoc>
37249 <paramlist>
37250 <param name="key" type="String" default=""/>
37251 <param name="value" type="String" default=""/>
37252 </paramlist>
37253 </method>
37254 <method name="SetKeyWords" type="" overloaded="no">
37255 <autodoc>SetKeyWords(self, int keywordSet, String keyWords)</autodoc>
37256 <paramlist>
37257 <param name="keywordSet" type="int" default=""/>
37258 <param name="keyWords" type="String" default=""/>
37259 </paramlist>
37260 </method>
37261 <method name="SetLexerLanguage" type="" overloaded="no">
37262 <autodoc>SetLexerLanguage(self, String language)</autodoc>
37263 <paramlist>
37264 <param name="language" type="String" default=""/>
37265 </paramlist>
37266 </method>
37267 <method name="GetCurrentLine" type="int" overloaded="no">
37268 <autodoc>GetCurrentLine(self) -&gt; int</autodoc>
37269 </method>
37270 <method name="StyleSetSpec" type="" overloaded="no">
37271 <autodoc>StyleSetSpec(self, int styleNum, String spec)</autodoc>
37272 <paramlist>
37273 <param name="styleNum" type="int" default=""/>
37274 <param name="spec" type="String" default=""/>
37275 </paramlist>
37276 </method>
37277 <method name="StyleSetFont" type="" overloaded="no">
37278 <autodoc>StyleSetFont(self, int styleNum, Font font)</autodoc>
37279 <paramlist>
37280 <param name="styleNum" type="int" default=""/>
37281 <param name="font" type="Font" default=""/>
37282 </paramlist>
37283 </method>
37284 <method name="StyleSetFontAttr" type="" overloaded="no">
37285 <autodoc>StyleSetFontAttr(self, int styleNum, int size, String faceName, bool bold,
37286 bool italic, bool underline)</autodoc>
37287 <paramlist>
37288 <param name="styleNum" type="int" default=""/>
37289 <param name="size" type="int" default=""/>
37290 <param name="faceName" type="String" default=""/>
37291 <param name="bold" type="bool" default=""/>
37292 <param name="italic" type="bool" default=""/>
37293 <param name="underline" type="bool" default=""/>
37294 </paramlist>
37295 </method>
37296 <method name="CmdKeyExecute" type="" overloaded="no">
37297 <autodoc>CmdKeyExecute(self, int cmd)</autodoc>
37298 <paramlist>
37299 <param name="cmd" type="int" default=""/>
37300 </paramlist>
37301 </method>
37302 <method name="SetMargins" type="" overloaded="no">
37303 <autodoc>SetMargins(self, int left, int right)</autodoc>
37304 <paramlist>
37305 <param name="left" type="int" default=""/>
37306 <param name="right" type="int" default=""/>
37307 </paramlist>
37308 </method>
37309 <method name="GetSelection" type="" overloaded="no">
37310 <autodoc>GetSelection(self, int OUTPUT, int OUTPUT)</autodoc>
37311 <paramlist>
37312 <param name="OUTPUT" type="int" default=""/>
37313 <param name="OUTPUT" type="int" default=""/>
37314 </paramlist>
37315 </method>
37316 <method name="PointFromPosition" type="Point" overloaded="no">
37317 <autodoc>PointFromPosition(self, int pos) -&gt; Point</autodoc>
37318 <paramlist>
37319 <param name="pos" type="int" default=""/>
37320 </paramlist>
37321 </method>
37322 <method name="ScrollToLine" type="" overloaded="no">
37323 <autodoc>ScrollToLine(self, int line)</autodoc>
37324 <paramlist>
37325 <param name="line" type="int" default=""/>
37326 </paramlist>
37327 </method>
37328 <method name="ScrollToColumn" type="" overloaded="no">
37329 <autodoc>ScrollToColumn(self, int column)</autodoc>
37330 <paramlist>
37331 <param name="column" type="int" default=""/>
37332 </paramlist>
37333 </method>
37334 <method name="SendMsg" type="long" overloaded="no">
37335 <autodoc>SendMsg(self, int msg, long wp=0, long lp=0) -&gt; long</autodoc>
37336 <paramlist>
37337 <param name="msg" type="int" default=""/>
37338 <param name="wp" type="long" default="0"/>
37339 <param name="lp" type="long" default="0"/>
37340 </paramlist>
37341 </method>
37342 <method name="SetVScrollBar" type="" overloaded="no">
37343 <autodoc>SetVScrollBar(self, wxScrollBar bar)</autodoc>
37344 <paramlist>
37345 <param name="bar" type="ScrollBar" default=""/>
37346 </paramlist>
37347 </method>
37348 <method name="SetHScrollBar" type="" overloaded="no">
37349 <autodoc>SetHScrollBar(self, wxScrollBar bar)</autodoc>
37350 <paramlist>
37351 <param name="bar" type="ScrollBar" default=""/>
37352 </paramlist>
37353 </method>
37354 <method name="GetLastKeydownProcessed" type="bool" overloaded="no">
37355 <autodoc>GetLastKeydownProcessed(self) -&gt; bool</autodoc>
37356 </method>
37357 <method name="SetLastKeydownProcessed" type="" overloaded="no">
37358 <autodoc>SetLastKeydownProcessed(self, bool val)</autodoc>
37359 <paramlist>
37360 <param name="val" type="bool" default=""/>
37361 </paramlist>
37362 </method>
37363 <method name="SaveFile" type="bool" overloaded="no">
37364 <autodoc>SaveFile(self, String filename) -&gt; bool</autodoc>
37365 <paramlist>
37366 <param name="filename" type="String" default=""/>
37367 </paramlist>
37368 </method>
37369 <method name="LoadFile" type="bool" overloaded="no">
37370 <autodoc>LoadFile(self, String filename) -&gt; bool</autodoc>
37371 <paramlist>
37372 <param name="filename" type="String" default=""/>
37373 </paramlist>
37374 </method>
37375 <method name="DoDragOver" type="wxDragResult" overloaded="no">
37376 <autodoc>DoDragOver(self, int x, int y, int def) -&gt; int</autodoc>
37377 <paramlist>
37378 <param name="x" type="int" default=""/>
37379 <param name="y" type="int" default=""/>
37380 <param name="def" type="wxDragResult" default=""/>
37381 </paramlist>
37382 </method>
37383 <method name="DoDropText" type="bool" overloaded="no">
37384 <autodoc>DoDropText(self, long x, long y, String data) -&gt; bool</autodoc>
37385 <paramlist>
37386 <param name="x" type="long" default=""/>
37387 <param name="y" type="long" default=""/>
37388 <param name="data" type="String" default=""/>
37389 </paramlist>
37390 </method>
37391 <method name="SetUseAntiAliasing" type="" overloaded="no">
37392 <autodoc>SetUseAntiAliasing(self, bool useAA)</autodoc>
37393 <paramlist>
37394 <param name="useAA" type="bool" default=""/>
37395 </paramlist>
37396 </method>
37397 <method name="GetUseAntiAliasing" type="bool" overloaded="no">
37398 <autodoc>GetUseAntiAliasing(self) -&gt; bool</autodoc>
37399 </method>
37400 </class>
37401 <class name="StyledTextEvent" oldname="wxStyledTextEvent" module="stc">
37402 <baseclass name="CommandEvent"/>
37403 <constructor name="StyledTextEvent" overloaded="no">
37404 <autodoc>__init__(self, wxEventType commandType=0, int id=0) -&gt; StyledTextEvent</autodoc>
37405 <paramlist>
37406 <param name="commandType" type="wxEventType" default="0"/>
37407 <param name="id" type="int" default="0"/>
37408 </paramlist>
37409 </constructor>
37410 <destructor name="~wxStyledTextEvent" overloaded="no">
37411 <autodoc>__del__(self)</autodoc>
37412 </destructor>
37413 <method name="SetPosition" type="" overloaded="no">
37414 <autodoc>SetPosition(self, int pos)</autodoc>
37415 <paramlist>
37416 <param name="pos" type="int" default=""/>
37417 </paramlist>
37418 </method>
37419 <method name="SetKey" type="" overloaded="no">
37420 <autodoc>SetKey(self, int k)</autodoc>
37421 <paramlist>
37422 <param name="k" type="int" default=""/>
37423 </paramlist>
37424 </method>
37425 <method name="SetModifiers" type="" overloaded="no">
37426 <autodoc>SetModifiers(self, int m)</autodoc>
37427 <paramlist>
37428 <param name="m" type="int" default=""/>
37429 </paramlist>
37430 </method>
37431 <method name="SetModificationType" type="" overloaded="no">
37432 <autodoc>SetModificationType(self, int t)</autodoc>
37433 <paramlist>
37434 <param name="t" type="int" default=""/>
37435 </paramlist>
37436 </method>
37437 <method name="SetText" type="" overloaded="no">
37438 <autodoc>SetText(self, String t)</autodoc>
37439 <paramlist>
37440 <param name="t" type="String" default=""/>
37441 </paramlist>
37442 </method>
37443 <method name="SetLength" type="" overloaded="no">
37444 <autodoc>SetLength(self, int len)</autodoc>
37445 <paramlist>
37446 <param name="len" type="int" default=""/>
37447 </paramlist>
37448 </method>
37449 <method name="SetLinesAdded" type="" overloaded="no">
37450 <autodoc>SetLinesAdded(self, int num)</autodoc>
37451 <paramlist>
37452 <param name="num" type="int" default=""/>
37453 </paramlist>
37454 </method>
37455 <method name="SetLine" type="" overloaded="no">
37456 <autodoc>SetLine(self, int val)</autodoc>
37457 <paramlist>
37458 <param name="val" type="int" default=""/>
37459 </paramlist>
37460 </method>
37461 <method name="SetFoldLevelNow" type="" overloaded="no">
37462 <autodoc>SetFoldLevelNow(self, int val)</autodoc>
37463 <paramlist>
37464 <param name="val" type="int" default=""/>
37465 </paramlist>
37466 </method>
37467 <method name="SetFoldLevelPrev" type="" overloaded="no">
37468 <autodoc>SetFoldLevelPrev(self, int val)</autodoc>
37469 <paramlist>
37470 <param name="val" type="int" default=""/>
37471 </paramlist>
37472 </method>
37473 <method name="SetMargin" type="" overloaded="no">
37474 <autodoc>SetMargin(self, int val)</autodoc>
37475 <paramlist>
37476 <param name="val" type="int" default=""/>
37477 </paramlist>
37478 </method>
37479 <method name="SetMessage" type="" overloaded="no">
37480 <autodoc>SetMessage(self, int val)</autodoc>
37481 <paramlist>
37482 <param name="val" type="int" default=""/>
37483 </paramlist>
37484 </method>
37485 <method name="SetWParam" type="" overloaded="no">
37486 <autodoc>SetWParam(self, int val)</autodoc>
37487 <paramlist>
37488 <param name="val" type="int" default=""/>
37489 </paramlist>
37490 </method>
37491 <method name="SetLParam" type="" overloaded="no">
37492 <autodoc>SetLParam(self, int val)</autodoc>
37493 <paramlist>
37494 <param name="val" type="int" default=""/>
37495 </paramlist>
37496 </method>
37497 <method name="SetListType" type="" overloaded="no">
37498 <autodoc>SetListType(self, int val)</autodoc>
37499 <paramlist>
37500 <param name="val" type="int" default=""/>
37501 </paramlist>
37502 </method>
37503 <method name="SetX" type="" overloaded="no">
37504 <autodoc>SetX(self, int val)</autodoc>
37505 <paramlist>
37506 <param name="val" type="int" default=""/>
37507 </paramlist>
37508 </method>
37509 <method name="SetY" type="" overloaded="no">
37510 <autodoc>SetY(self, int val)</autodoc>
37511 <paramlist>
37512 <param name="val" type="int" default=""/>
37513 </paramlist>
37514 </method>
37515 <method name="SetDragText" type="" overloaded="no">
37516 <autodoc>SetDragText(self, String val)</autodoc>
37517 <paramlist>
37518 <param name="val" type="String" default=""/>
37519 </paramlist>
37520 </method>
37521 <method name="SetDragAllowMove" type="" overloaded="no">
37522 <autodoc>SetDragAllowMove(self, bool val)</autodoc>
37523 <paramlist>
37524 <param name="val" type="bool" default=""/>
37525 </paramlist>
37526 </method>
37527 <method name="SetDragResult" type="" overloaded="no">
37528 <autodoc>SetDragResult(self, int val)</autodoc>
37529 <paramlist>
37530 <param name="val" type="wxDragResult" default=""/>
37531 </paramlist>
37532 </method>
37533 <method name="GetPosition" type="int" overloaded="no">
37534 <autodoc>GetPosition(self) -&gt; int</autodoc>
37535 </method>
37536 <method name="GetKey" type="int" overloaded="no">
37537 <autodoc>GetKey(self) -&gt; int</autodoc>
37538 </method>
37539 <method name="GetModifiers" type="int" overloaded="no">
37540 <autodoc>GetModifiers(self) -&gt; int</autodoc>
37541 </method>
37542 <method name="GetModificationType" type="int" overloaded="no">
37543 <autodoc>GetModificationType(self) -&gt; int</autodoc>
37544 </method>
37545 <method name="GetText" type="String" overloaded="no">
37546 <autodoc>GetText(self) -&gt; String</autodoc>
37547 </method>
37548 <method name="GetLength" type="int" overloaded="no">
37549 <autodoc>GetLength(self) -&gt; int</autodoc>
37550 </method>
37551 <method name="GetLinesAdded" type="int" overloaded="no">
37552 <autodoc>GetLinesAdded(self) -&gt; int</autodoc>
37553 </method>
37554 <method name="GetLine" type="int" overloaded="no">
37555 <autodoc>GetLine(self) -&gt; int</autodoc>
37556 </method>
37557 <method name="GetFoldLevelNow" type="int" overloaded="no">
37558 <autodoc>GetFoldLevelNow(self) -&gt; int</autodoc>
37559 </method>
37560 <method name="GetFoldLevelPrev" type="int" overloaded="no">
37561 <autodoc>GetFoldLevelPrev(self) -&gt; int</autodoc>
37562 </method>
37563 <method name="GetMargin" type="int" overloaded="no">
37564 <autodoc>GetMargin(self) -&gt; int</autodoc>
37565 </method>
37566 <method name="GetMessage" type="int" overloaded="no">
37567 <autodoc>GetMessage(self) -&gt; int</autodoc>
37568 </method>
37569 <method name="GetWParam" type="int" overloaded="no">
37570 <autodoc>GetWParam(self) -&gt; int</autodoc>
37571 </method>
37572 <method name="GetLParam" type="int" overloaded="no">
37573 <autodoc>GetLParam(self) -&gt; int</autodoc>
37574 </method>
37575 <method name="GetListType" type="int" overloaded="no">
37576 <autodoc>GetListType(self) -&gt; int</autodoc>
37577 </method>
37578 <method name="GetX" type="int" overloaded="no">
37579 <autodoc>GetX(self) -&gt; int</autodoc>
37580 </method>
37581 <method name="GetY" type="int" overloaded="no">
37582 <autodoc>GetY(self) -&gt; int</autodoc>
37583 </method>
37584 <method name="GetDragText" type="String" overloaded="no">
37585 <autodoc>GetDragText(self) -&gt; String</autodoc>
37586 </method>
37587 <method name="GetDragAllowMove" type="bool" overloaded="no">
37588 <autodoc>GetDragAllowMove(self) -&gt; bool</autodoc>
37589 </method>
37590 <method name="GetDragResult" type="wxDragResult" overloaded="no">
37591 <autodoc>GetDragResult(self) -&gt; int</autodoc>
37592 </method>
37593 <method name="GetShift" type="bool" overloaded="no">
37594 <autodoc>GetShift(self) -&gt; bool</autodoc>
37595 </method>
37596 <method name="GetControl" type="bool" overloaded="no">
37597 <autodoc>GetControl(self) -&gt; bool</autodoc>
37598 </method>
37599 <method name="GetAlt" type="bool" overloaded="no">
37600 <autodoc>GetAlt(self) -&gt; bool</autodoc>
37601 </method>
37602 <method name="Clone" type="Event" overloaded="no">
37603 <autodoc>Clone(self) -&gt; Event</autodoc>
37604 </method>
37605 </class>
37606 <pythoncode>
37607 EVT_STC_CHANGE = wx.PyEventBinder( wxEVT_STC_CHANGE, 1 )
37608 EVT_STC_STYLENEEDED = wx.PyEventBinder( wxEVT_STC_STYLENEEDED, 1 )
37609 EVT_STC_CHARADDED = wx.PyEventBinder( wxEVT_STC_CHARADDED, 1 )
37610 EVT_STC_SAVEPOINTREACHED = wx.PyEventBinder( wxEVT_STC_SAVEPOINTREACHED, 1 )
37611 EVT_STC_SAVEPOINTLEFT = wx.PyEventBinder( wxEVT_STC_SAVEPOINTLEFT, 1 )
37612 EVT_STC_ROMODIFYATTEMPT = wx.PyEventBinder( wxEVT_STC_ROMODIFYATTEMPT, 1 )
37613 EVT_STC_KEY = wx.PyEventBinder( wxEVT_STC_KEY, 1 )
37614 EVT_STC_DOUBLECLICK = wx.PyEventBinder( wxEVT_STC_DOUBLECLICK, 1 )
37615 EVT_STC_UPDATEUI = wx.PyEventBinder( wxEVT_STC_UPDATEUI, 1 )
37616 EVT_STC_MODIFIED = wx.PyEventBinder( wxEVT_STC_MODIFIED, 1 )
37617 EVT_STC_MACRORECORD = wx.PyEventBinder( wxEVT_STC_MACRORECORD, 1 )
37618 EVT_STC_MARGINCLICK = wx.PyEventBinder( wxEVT_STC_MARGINCLICK, 1 )
37619 EVT_STC_NEEDSHOWN = wx.PyEventBinder( wxEVT_STC_NEEDSHOWN, 1 )
37620 EVT_STC_PAINTED = wx.PyEventBinder( wxEVT_STC_PAINTED, 1 )
37621 EVT_STC_USERLISTSELECTION = wx.PyEventBinder( wxEVT_STC_USERLISTSELECTION, 1 )
37622 EVT_STC_URIDROPPED = wx.PyEventBinder( wxEVT_STC_URIDROPPED, 1 )
37623 EVT_STC_DWELLSTART = wx.PyEventBinder( wxEVT_STC_DWELLSTART, 1 )
37624 EVT_STC_DWELLEND = wx.PyEventBinder( wxEVT_STC_DWELLEND, 1 )
37625 EVT_STC_START_DRAG = wx.PyEventBinder( wxEVT_STC_START_DRAG, 1 )
37626 EVT_STC_DRAG_OVER = wx.PyEventBinder( wxEVT_STC_DRAG_OVER, 1 )
37627 EVT_STC_DO_DROP = wx.PyEventBinder( wxEVT_STC_DO_DROP, 1 )
37628 EVT_STC_ZOOM = wx.PyEventBinder( wxEVT_STC_ZOOM, 1 )
37629 EVT_STC_HOTSPOT_CLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_CLICK, 1 )
37630 EVT_STC_HOTSPOT_DCLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_DCLICK, 1 )
37631 EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
37632 </pythoncode>
37633 </module>
37634 <module name="xrc">
37635 <import name="_core"/>
37636 <pythoncode> wx = _core </pythoncode>
37637 <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
37638 <pythoncode>
37639 #---------------------------------------------------------------------------
37640 </pythoncode>
37641 <class name="XmlResource" oldname="wxXmlResource" module="xrc">
37642 <baseclass name="Object"/>
37643 <constructor name="XmlResource" overloaded="no">
37644 <autodoc>__init__(self, String filemask, int flags=XRC_USE_LOCALE) -&gt; XmlResource</autodoc>
37645 <paramlist>
37646 <param name="filemask" type="String" default=""/>
37647 <param name="flags" type="int" default="wxXRC_USE_LOCALE"/>
37648 </paramlist>
37649 </constructor>
37650 <constructor name="EmptyXmlResource" overloaded="no">
37651 <autodoc>EmptyXmlResource(int flags=XRC_USE_LOCALE) -&gt; XmlResource</autodoc>
37652 <paramlist>
37653 <param name="flags" type="int" default="wxXRC_USE_LOCALE"/>
37654 </paramlist>
37655 </constructor>
37656 <destructor name="~wxXmlResource" overloaded="no">
37657 <autodoc>__del__(self)</autodoc>
37658 </destructor>
37659 <method name="Load" type="bool" overloaded="no">
37660 <autodoc>Load(self, String filemask) -&gt; bool</autodoc>
37661 <paramlist>
37662 <param name="filemask" type="String" default=""/>
37663 </paramlist>
37664 </method>
37665 <method name="LoadFromString" type="bool" overloaded="no">
37666 <autodoc>LoadFromString(self, String data) -&gt; bool</autodoc>
37667 <paramlist>
37668 <param name="data" type="String" default=""/>
37669 </paramlist>
37670 </method>
37671 <method name="InitAllHandlers" type="" overloaded="no">
37672 <autodoc>InitAllHandlers(self)</autodoc>
37673 </method>
37674 <method name="AddHandler" type="" overloaded="no">
37675 <autodoc>AddHandler(self, XmlResourceHandler handler)</autodoc>
37676 <paramlist>
37677 <param name="handler" type="wxPyXmlResourceHandler" default=""/>
37678 </paramlist>
37679 </method>
37680 <method name="InsertHandler" type="" overloaded="no">
37681 <autodoc>InsertHandler(self, XmlResourceHandler handler)</autodoc>
37682 <paramlist>
37683 <param name="handler" type="wxPyXmlResourceHandler" default=""/>
37684 </paramlist>
37685 </method>
37686 <method name="ClearHandlers" type="" overloaded="no">
37687 <autodoc>ClearHandlers(self)</autodoc>
37688 </method>
37689 <staticmethod name="AddSubclassFactory" type="" overloaded="no">
37690 <autodoc>AddSubclassFactory(XmlSubclassFactory factory)</autodoc>
37691 <paramlist>
37692 <param name="factory" type="wxPyXmlSubclassFactory" default=""/>
37693 </paramlist>
37694 </staticmethod>
37695 <method name="LoadMenu" type="Menu" overloaded="no">
37696 <autodoc>LoadMenu(self, String name) -&gt; Menu</autodoc>
37697 <paramlist>
37698 <param name="name" type="String" default=""/>
37699 </paramlist>
37700 </method>
37701 <method name="LoadMenuBar" type="MenuBar" overloaded="no">
37702 <autodoc>LoadMenuBar(self, String name) -&gt; MenuBar</autodoc>
37703 <paramlist>
37704 <param name="name" type="String" default=""/>
37705 </paramlist>
37706 </method>
37707 <method name="LoadMenuBarOnFrame" type="MenuBar" overloaded="no">
37708 <autodoc>LoadMenuBarOnFrame(self, Window parent, String name) -&gt; MenuBar</autodoc>
37709 <paramlist>
37710 <param name="parent" type="Window" default=""/>
37711 <param name="name" type="String" default=""/>
37712 </paramlist>
37713 </method>
37714 <method name="LoadToolBar" type="ToolBar" overloaded="no">
37715 <autodoc>LoadToolBar(self, Window parent, String name) -&gt; wxToolBar</autodoc>
37716 <paramlist>
37717 <param name="parent" type="Window" default=""/>
37718 <param name="name" type="String" default=""/>
37719 </paramlist>
37720 </method>
37721 <method name="LoadDialog" type="Dialog" overloaded="no">
37722 <autodoc>LoadDialog(self, Window parent, String name) -&gt; wxDialog</autodoc>
37723 <paramlist>
37724 <param name="parent" type="Window" default=""/>
37725 <param name="name" type="String" default=""/>
37726 </paramlist>
37727 </method>
37728 <method name="LoadOnDialog" type="bool" overloaded="no">
37729 <autodoc>LoadOnDialog(self, wxDialog dlg, Window parent, String name) -&gt; bool</autodoc>
37730 <paramlist>
37731 <param name="dlg" type="Dialog" default=""/>
37732 <param name="parent" type="Window" default=""/>
37733 <param name="name" type="String" default=""/>
37734 </paramlist>
37735 </method>
37736 <method name="LoadPanel" type="Panel" overloaded="no">
37737 <autodoc>LoadPanel(self, Window parent, String name) -&gt; wxPanel</autodoc>
37738 <paramlist>
37739 <param name="parent" type="Window" default=""/>
37740 <param name="name" type="String" default=""/>
37741 </paramlist>
37742 </method>
37743 <method name="LoadOnPanel" type="bool" overloaded="no">
37744 <autodoc>LoadOnPanel(self, wxPanel panel, Window parent, String name) -&gt; bool</autodoc>
37745 <paramlist>
37746 <param name="panel" type="Panel" default=""/>
37747 <param name="parent" type="Window" default=""/>
37748 <param name="name" type="String" default=""/>
37749 </paramlist>
37750 </method>
37751 <method name="LoadFrame" type="Frame" overloaded="no">
37752 <autodoc>LoadFrame(self, Window parent, String name) -&gt; wxFrame</autodoc>
37753 <paramlist>
37754 <param name="parent" type="Window" default=""/>
37755 <param name="name" type="String" default=""/>
37756 </paramlist>
37757 </method>
37758 <method name="LoadOnFrame" type="bool" overloaded="no">
37759 <autodoc>LoadOnFrame(self, wxFrame frame, Window parent, String name) -&gt; bool</autodoc>
37760 <paramlist>
37761 <param name="frame" type="Frame" default=""/>
37762 <param name="parent" type="Window" default=""/>
37763 <param name="name" type="String" default=""/>
37764 </paramlist>
37765 </method>
37766 <method name="LoadObject" type="Object" overloaded="no">
37767 <autodoc>LoadObject(self, Window parent, String name, String classname) -&gt; Object</autodoc>
37768 <paramlist>
37769 <param name="parent" type="Window" default=""/>
37770 <param name="name" type="String" default=""/>
37771 <param name="classname" type="String" default=""/>
37772 </paramlist>
37773 </method>
37774 <method name="LoadOnObject" type="bool" overloaded="no">
37775 <autodoc>LoadOnObject(self, Object instance, Window parent, String name, String classname) -&gt; bool</autodoc>
37776 <paramlist>
37777 <param name="instance" type="Object" default=""/>
37778 <param name="parent" type="Window" default=""/>
37779 <param name="name" type="String" default=""/>
37780 <param name="classname" type="String" default=""/>
37781 </paramlist>
37782 </method>
37783 <method name="LoadBitmap" type="Bitmap" overloaded="no">
37784 <autodoc>LoadBitmap(self, String name) -&gt; Bitmap</autodoc>
37785 <paramlist>
37786 <param name="name" type="String" default=""/>
37787 </paramlist>
37788 </method>
37789 <method name="LoadIcon" type="Icon" overloaded="no">
37790 <autodoc>LoadIcon(self, String name) -&gt; Icon</autodoc>
37791 <paramlist>
37792 <param name="name" type="String" default=""/>
37793 </paramlist>
37794 </method>
37795 <method name="AttachUnknownControl" type="bool" overloaded="no">
37796 <autodoc>AttachUnknownControl(self, String name, Window control, Window parent=None) -&gt; bool</autodoc>
37797 <paramlist>
37798 <param name="name" type="String" default=""/>
37799 <param name="control" type="Window" default=""/>
37800 <param name="parent" type="Window" default="NULL"/>
37801 </paramlist>
37802 </method>
37803 <staticmethod name="GetXRCID" type="int" overloaded="no">
37804 <autodoc>GetXRCID(String str_id) -&gt; int</autodoc>
37805 <paramlist>
37806 <param name="str_id" type="String" default=""/>
37807 </paramlist>
37808 </staticmethod>
37809 <method name="GetVersion" type="long" overloaded="no">
37810 <autodoc>GetVersion(self) -&gt; long</autodoc>
37811 </method>
37812 <method name="CompareVersion" type="int" overloaded="no">
37813 <autodoc>CompareVersion(self, int major, int minor, int release, int revision) -&gt; int</autodoc>
37814 <paramlist>
37815 <param name="major" type="int" default=""/>
37816 <param name="minor" type="int" default=""/>
37817 <param name="release" type="int" default=""/>
37818 <param name="revision" type="int" default=""/>
37819 </paramlist>
37820 </method>
37821 <staticmethod name="Get" type="XmlResource" overloaded="no">
37822 <autodoc>Get() -&gt; XmlResource</autodoc>
37823 </staticmethod>
37824 <staticmethod name="Set" type="XmlResource" overloaded="no">
37825 <autodoc>Set(XmlResource res) -&gt; XmlResource</autodoc>
37826 <paramlist>
37827 <param name="res" type="XmlResource" default=""/>
37828 </paramlist>
37829 </staticmethod>
37830 <method name="GetFlags" type="int" overloaded="no">
37831 <autodoc>GetFlags(self) -&gt; int</autodoc>
37832 </method>
37833 <method name="SetFlags" type="" overloaded="no">
37834 <autodoc>SetFlags(self, int flags)</autodoc>
37835 <paramlist>
37836 <param name="flags" type="int" default=""/>
37837 </paramlist>
37838 </method>
37839 </class>
37840 <pythoncode>
37841 def XRCID(str_id):
37842 return XmlResource_GetXRCID(str_id)
37843
37844 def XRCCTRL(window, str_id, *ignoreargs):
37845 return window.FindWindowById(XRCID(str_id))
37846 </pythoncode>
37847 <pythoncode>
37848 #---------------------------------------------------------------------------
37849 </pythoncode>
37850 <class name="XmlSubclassFactory" oldname="wxPyXmlSubclassFactory" module="xrc">
37851 <constructor name="wxPyXmlSubclassFactory" overloaded="no">
37852 <autodoc>__init__(self) -&gt; XmlSubclassFactory</autodoc>
37853 </constructor>
37854 <method name="_setCallbackInfo" type="" overloaded="no">
37855 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
37856 <paramlist>
37857 <param name="self" type="PyObject" default=""/>
37858 <param name="_class" type="PyObject" default=""/>
37859 </paramlist>
37860 </method>
37861 </class>
37862 <pythoncode>
37863 #---------------------------------------------------------------------------
37864 </pythoncode>
37865 <class name="XmlProperty" oldname="wxXmlProperty" module="xrc">
37866 <constructor name="XmlProperty" overloaded="no">
37867 <autodoc>__init__(self, String name=EmptyString, String value=EmptyString,
37868 XmlProperty next=None) -&gt; XmlProperty</autodoc>
37869 <paramlist>
37870 <param name="name" type="String" default="wxPyEmptyString"/>
37871 <param name="value" type="String" default="wxPyEmptyString"/>
37872 <param name="next" type="XmlProperty" default="NULL"/>
37873 </paramlist>
37874 </constructor>
37875 <method name="GetName" type="String" overloaded="no">
37876 <autodoc>GetName(self) -&gt; String</autodoc>
37877 </method>
37878 <method name="GetValue" type="String" overloaded="no">
37879 <autodoc>GetValue(self) -&gt; String</autodoc>
37880 </method>
37881 <method name="GetNext" type="XmlProperty" overloaded="no">
37882 <autodoc>GetNext(self) -&gt; XmlProperty</autodoc>
37883 </method>
37884 <method name="SetName" type="" overloaded="no">
37885 <autodoc>SetName(self, String name)</autodoc>
37886 <paramlist>
37887 <param name="name" type="String" default=""/>
37888 </paramlist>
37889 </method>
37890 <method name="SetValue" type="" overloaded="no">
37891 <autodoc>SetValue(self, String value)</autodoc>
37892 <paramlist>
37893 <param name="value" type="String" default=""/>
37894 </paramlist>
37895 </method>
37896 <method name="SetNext" type="" overloaded="no">
37897 <autodoc>SetNext(self, XmlProperty next)</autodoc>
37898 <paramlist>
37899 <param name="next" type="XmlProperty" default=""/>
37900 </paramlist>
37901 </method>
37902 </class>
37903 <class name="XmlNode" oldname="wxXmlNode" module="xrc">
37904 <constructor name="XmlNode" overloaded="no">
37905 <autodoc>__init__(self, XmlNode parent=None, int type=0, String name=EmptyString,
37906 String content=EmptyString, XmlProperty props=None,
37907 XmlNode next=None) -&gt; XmlNode</autodoc>
37908 <paramlist>
37909 <param name="parent" type="XmlNode" default="NULL"/>
37910 <param name="type" type="wxXmlNodeType" default="0"/>
37911 <param name="name" type="String" default="wxPyEmptyString"/>
37912 <param name="content" type="String" default="wxPyEmptyString"/>
37913 <param name="props" type="XmlProperty" default="NULL"/>
37914 <param name="next" type="XmlNode" default="NULL"/>
37915 </paramlist>
37916 </constructor>
37917 <constructor name="XmlNodeEasy" overloaded="no">
37918 <autodoc>XmlNodeEasy(int type, String name, String content=EmptyString) -&gt; XmlNode</autodoc>
37919 <paramlist>
37920 <param name="type" type="wxXmlNodeType" default=""/>
37921 <param name="name" type="String" default=""/>
37922 <param name="content" type="String" default="wxPyEmptyString"/>
37923 </paramlist>
37924 </constructor>
37925 <destructor name="~wxXmlNode" overloaded="no">
37926 <autodoc>__del__(self)</autodoc>
37927 </destructor>
37928 <method name="AddChild" type="" overloaded="no">
37929 <autodoc>AddChild(self, XmlNode child)</autodoc>
37930 <paramlist>
37931 <param name="child" type="XmlNode" default=""/>
37932 </paramlist>
37933 </method>
37934 <method name="InsertChild" type="" overloaded="no">
37935 <autodoc>InsertChild(self, XmlNode child, XmlNode before_node)</autodoc>
37936 <paramlist>
37937 <param name="child" type="XmlNode" default=""/>
37938 <param name="before_node" type="XmlNode" default=""/>
37939 </paramlist>
37940 </method>
37941 <method name="RemoveChild" type="bool" overloaded="no">
37942 <autodoc>RemoveChild(self, XmlNode child) -&gt; bool</autodoc>
37943 <paramlist>
37944 <param name="child" type="XmlNode" default=""/>
37945 </paramlist>
37946 </method>
37947 <method name="AddProperty" type="" overloaded="no">
37948 <autodoc>AddProperty(self, XmlProperty prop)</autodoc>
37949 <paramlist>
37950 <param name="prop" type="XmlProperty" default=""/>
37951 </paramlist>
37952 </method>
37953 <method name="AddPropertyName" type="" overloaded="no">
37954 <autodoc>AddPropertyName(self, String name, String value)</autodoc>
37955 <paramlist>
37956 <param name="name" type="String" default=""/>
37957 <param name="value" type="String" default=""/>
37958 </paramlist>
37959 </method>
37960 <method name="DeleteProperty" type="bool" overloaded="no">
37961 <autodoc>DeleteProperty(self, String name) -&gt; bool</autodoc>
37962 <paramlist>
37963 <param name="name" type="String" default=""/>
37964 </paramlist>
37965 </method>
37966 <method name="GetType" type="wxXmlNodeType" overloaded="no">
37967 <autodoc>GetType(self) -&gt; int</autodoc>
37968 </method>
37969 <method name="GetName" type="String" overloaded="no">
37970 <autodoc>GetName(self) -&gt; String</autodoc>
37971 </method>
37972 <method name="GetContent" type="String" overloaded="no">
37973 <autodoc>GetContent(self) -&gt; String</autodoc>
37974 </method>
37975 <method name="GetParent" type="XmlNode" overloaded="no">
37976 <autodoc>GetParent(self) -&gt; XmlNode</autodoc>
37977 </method>
37978 <method name="GetNext" type="XmlNode" overloaded="no">
37979 <autodoc>GetNext(self) -&gt; XmlNode</autodoc>
37980 </method>
37981 <method name="GetChildren" type="XmlNode" overloaded="no">
37982 <autodoc>GetChildren(self) -&gt; XmlNode</autodoc>
37983 </method>
37984 <method name="GetProperties" type="XmlProperty" overloaded="no">
37985 <autodoc>GetProperties(self) -&gt; XmlProperty</autodoc>
37986 </method>
37987 <method name="GetPropVal" type="String" overloaded="no">
37988 <autodoc>GetPropVal(self, String propName, String defaultVal) -&gt; String</autodoc>
37989 <paramlist>
37990 <param name="propName" type="String" default=""/>
37991 <param name="defaultVal" type="String" default=""/>
37992 </paramlist>
37993 </method>
37994 <method name="HasProp" type="bool" overloaded="no">
37995 <autodoc>HasProp(self, String propName) -&gt; bool</autodoc>
37996 <paramlist>
37997 <param name="propName" type="String" default=""/>
37998 </paramlist>
37999 </method>
38000 <method name="SetType" type="" overloaded="no">
38001 <autodoc>SetType(self, int type)</autodoc>
38002 <paramlist>
38003 <param name="type" type="wxXmlNodeType" default=""/>
38004 </paramlist>
38005 </method>
38006 <method name="SetName" type="" overloaded="no">
38007 <autodoc>SetName(self, String name)</autodoc>
38008 <paramlist>
38009 <param name="name" type="String" default=""/>
38010 </paramlist>
38011 </method>
38012 <method name="SetContent" type="" overloaded="no">
38013 <autodoc>SetContent(self, String con)</autodoc>
38014 <paramlist>
38015 <param name="con" type="String" default=""/>
38016 </paramlist>
38017 </method>
38018 <method name="SetParent" type="" overloaded="no">
38019 <autodoc>SetParent(self, XmlNode parent)</autodoc>
38020 <paramlist>
38021 <param name="parent" type="XmlNode" default=""/>
38022 </paramlist>
38023 </method>
38024 <method name="SetNext" type="" overloaded="no">
38025 <autodoc>SetNext(self, XmlNode next)</autodoc>
38026 <paramlist>
38027 <param name="next" type="XmlNode" default=""/>
38028 </paramlist>
38029 </method>
38030 <method name="SetChildren" type="" overloaded="no">
38031 <autodoc>SetChildren(self, XmlNode child)</autodoc>
38032 <paramlist>
38033 <param name="child" type="XmlNode" default=""/>
38034 </paramlist>
38035 </method>
38036 <method name="SetProperties" type="" overloaded="no">
38037 <autodoc>SetProperties(self, XmlProperty prop)</autodoc>
38038 <paramlist>
38039 <param name="prop" type="XmlProperty" default=""/>
38040 </paramlist>
38041 </method>
38042 </class>
38043 <class name="XmlDocument" oldname="wxXmlDocument" module="xrc">
38044 <baseclass name="Object"/>
38045 <constructor name="XmlDocument" overloaded="no">
38046 <autodoc>__init__(self, String filename, String encoding=UTF8String) -&gt; XmlDocument</autodoc>
38047 <paramlist>
38048 <param name="filename" type="String" default=""/>
38049 <param name="encoding" type="String" default="wxPyUTF8String"/>
38050 </paramlist>
38051 </constructor>
38052 <constructor name="XmlDocumentFromStream" overloaded="no">
38053 <autodoc>XmlDocumentFromStream(InputStream stream, String encoding=UTF8String) -&gt; XmlDocument</autodoc>
38054 <paramlist>
38055 <param name="stream" type="wxInputStream" default=""/>
38056 <param name="encoding" type="String" default="wxPyUTF8String"/>
38057 </paramlist>
38058 </constructor>
38059 <constructor name="EmptyXmlDocument" overloaded="no">
38060 <autodoc>EmptyXmlDocument() -&gt; XmlDocument</autodoc>
38061 </constructor>
38062 <destructor name="~wxXmlDocument" overloaded="no">
38063 <autodoc>__del__(self)</autodoc>
38064 </destructor>
38065 <method name="Load" type="bool" overloaded="no">
38066 <autodoc>Load(self, String filename, String encoding=UTF8String) -&gt; bool</autodoc>
38067 <paramlist>
38068 <param name="filename" type="String" default=""/>
38069 <param name="encoding" type="String" default="wxPyUTF8String"/>
38070 </paramlist>
38071 </method>
38072 <method name="LoadFromStream" type="bool" overloaded="no">
38073 <autodoc>LoadFromStream(self, InputStream stream, String encoding=UTF8String) -&gt; bool</autodoc>
38074 <paramlist>
38075 <param name="stream" type="wxInputStream" default=""/>
38076 <param name="encoding" type="String" default="wxPyUTF8String"/>
38077 </paramlist>
38078 </method>
38079 <method name="Save" type="bool" overloaded="no">
38080 <autodoc>Save(self, String filename) -&gt; bool</autodoc>
38081 <paramlist>
38082 <param name="filename" type="String" default=""/>
38083 </paramlist>
38084 </method>
38085 <method name="SaveToStream" type="bool" overloaded="no">
38086 <autodoc>SaveToStream(self, OutputStream stream) -&gt; bool</autodoc>
38087 <paramlist>
38088 <param name="stream" type="OutputStream" default=""/>
38089 </paramlist>
38090 </method>
38091 <method name="IsOk" type="bool" overloaded="no">
38092 <autodoc>IsOk(self) -&gt; bool</autodoc>
38093 </method>
38094 <method name="GetRoot" type="XmlNode" overloaded="no">
38095 <autodoc>GetRoot(self) -&gt; XmlNode</autodoc>
38096 </method>
38097 <method name="GetVersion" type="String" overloaded="no">
38098 <autodoc>GetVersion(self) -&gt; String</autodoc>
38099 </method>
38100 <method name="GetFileEncoding" type="String" overloaded="no">
38101 <autodoc>GetFileEncoding(self) -&gt; String</autodoc>
38102 </method>
38103 <method name="SetRoot" type="" overloaded="no">
38104 <autodoc>SetRoot(self, XmlNode node)</autodoc>
38105 <paramlist>
38106 <param name="node" type="XmlNode" default=""/>
38107 </paramlist>
38108 </method>
38109 <method name="SetVersion" type="" overloaded="no">
38110 <autodoc>SetVersion(self, String version)</autodoc>
38111 <paramlist>
38112 <param name="version" type="String" default=""/>
38113 </paramlist>
38114 </method>
38115 <method name="SetFileEncoding" type="" overloaded="no">
38116 <autodoc>SetFileEncoding(self, String encoding)</autodoc>
38117 <paramlist>
38118 <param name="encoding" type="String" default=""/>
38119 </paramlist>
38120 </method>
38121 </class>
38122 <pythoncode>
38123 #---------------------------------------------------------------------------
38124 </pythoncode>
38125 <class name="XmlResourceHandler" oldname="wxPyXmlResourceHandler" module="xrc">
38126 <baseclass name="Object"/>
38127 <constructor name="wxPyXmlResourceHandler" overloaded="no">
38128 <autodoc>__init__(self) -&gt; XmlResourceHandler</autodoc>
38129 </constructor>
38130 <method name="_setCallbackInfo" type="" overloaded="no">
38131 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
38132 <paramlist>
38133 <param name="self" type="PyObject" default=""/>
38134 <param name="_class" type="PyObject" default=""/>
38135 </paramlist>
38136 </method>
38137 <method name="CreateResource" type="Object" overloaded="no">
38138 <autodoc>CreateResource(self, XmlNode node, Object parent, Object instance) -&gt; Object</autodoc>
38139 <paramlist>
38140 <param name="node" type="XmlNode" default=""/>
38141 <param name="parent" type="Object" default=""/>
38142 <param name="instance" type="Object" default=""/>
38143 </paramlist>
38144 </method>
38145 <method name="SetParentResource" type="" overloaded="no">
38146 <autodoc>SetParentResource(self, XmlResource res)</autodoc>
38147 <paramlist>
38148 <param name="res" type="XmlResource" default=""/>
38149 </paramlist>
38150 </method>
38151 <method name="GetResource" type="XmlResource" overloaded="no">
38152 <autodoc>GetResource(self) -&gt; XmlResource</autodoc>
38153 </method>
38154 <method name="GetNode" type="XmlNode" overloaded="no">
38155 <autodoc>GetNode(self) -&gt; XmlNode</autodoc>
38156 </method>
38157 <method name="GetClass" type="String" overloaded="no">
38158 <autodoc>GetClass(self) -&gt; String</autodoc>
38159 </method>
38160 <method name="GetParent" type="Object" overloaded="no">
38161 <autodoc>GetParent(self) -&gt; Object</autodoc>
38162 </method>
38163 <method name="GetInstance" type="Object" overloaded="no">
38164 <autodoc>GetInstance(self) -&gt; Object</autodoc>
38165 </method>
38166 <method name="GetParentAsWindow" type="Window" overloaded="no">
38167 <autodoc>GetParentAsWindow(self) -&gt; Window</autodoc>
38168 </method>
38169 <method name="GetInstanceAsWindow" type="Window" overloaded="no">
38170 <autodoc>GetInstanceAsWindow(self) -&gt; Window</autodoc>
38171 </method>
38172 <method name="IsOfClass" type="bool" overloaded="no">
38173 <autodoc>IsOfClass(self, XmlNode node, String classname) -&gt; bool</autodoc>
38174 <paramlist>
38175 <param name="node" type="XmlNode" default=""/>
38176 <param name="classname" type="String" default=""/>
38177 </paramlist>
38178 </method>
38179 <method name="GetNodeContent" type="String" overloaded="no">
38180 <autodoc>GetNodeContent(self, XmlNode node) -&gt; String</autodoc>
38181 <paramlist>
38182 <param name="node" type="XmlNode" default=""/>
38183 </paramlist>
38184 </method>
38185 <method name="HasParam" type="bool" overloaded="no">
38186 <autodoc>HasParam(self, String param) -&gt; bool</autodoc>
38187 <paramlist>
38188 <param name="param" type="String" default=""/>
38189 </paramlist>
38190 </method>
38191 <method name="GetParamNode" type="XmlNode" overloaded="no">
38192 <autodoc>GetParamNode(self, String param) -&gt; XmlNode</autodoc>
38193 <paramlist>
38194 <param name="param" type="String" default=""/>
38195 </paramlist>
38196 </method>
38197 <method name="GetParamValue" type="String" overloaded="no">
38198 <autodoc>GetParamValue(self, String param) -&gt; String</autodoc>
38199 <paramlist>
38200 <param name="param" type="String" default=""/>
38201 </paramlist>
38202 </method>
38203 <method name="AddStyle" type="" overloaded="no">
38204 <autodoc>AddStyle(self, String name, int value)</autodoc>
38205 <paramlist>
38206 <param name="name" type="String" default=""/>
38207 <param name="value" type="int" default=""/>
38208 </paramlist>
38209 </method>
38210 <method name="AddWindowStyles" type="" overloaded="no">
38211 <autodoc>AddWindowStyles(self)</autodoc>
38212 </method>
38213 <method name="GetStyle" type="int" overloaded="no">
38214 <autodoc>GetStyle(self, String param=StyleString, int defaults=0) -&gt; int</autodoc>
38215 <paramlist>
38216 <param name="param" type="String" default="wxPyStyleString"/>
38217 <param name="defaults" type="int" default="0"/>
38218 </paramlist>
38219 </method>
38220 <method name="GetText" type="String" overloaded="no">
38221 <autodoc>GetText(self, String param, bool translate=True) -&gt; String</autodoc>
38222 <paramlist>
38223 <param name="param" type="String" default=""/>
38224 <param name="translate" type="bool" default="True"/>
38225 </paramlist>
38226 </method>
38227 <method name="GetID" type="int" overloaded="no">
38228 <autodoc>GetID(self) -&gt; int</autodoc>
38229 </method>
38230 <method name="GetName" type="String" overloaded="no">
38231 <autodoc>GetName(self) -&gt; String</autodoc>
38232 </method>
38233 <method name="GetBool" type="bool" overloaded="no">
38234 <autodoc>GetBool(self, String param, bool defaultv=False) -&gt; bool</autodoc>
38235 <paramlist>
38236 <param name="param" type="String" default=""/>
38237 <param name="defaultv" type="bool" default="False"/>
38238 </paramlist>
38239 </method>
38240 <method name="GetLong" type="long" overloaded="no">
38241 <autodoc>GetLong(self, String param, long defaultv=0) -&gt; long</autodoc>
38242 <paramlist>
38243 <param name="param" type="String" default=""/>
38244 <param name="defaultv" type="long" default="0"/>
38245 </paramlist>
38246 </method>
38247 <method name="GetColour" type="Colour" overloaded="no">
38248 <autodoc>GetColour(self, String param) -&gt; Colour</autodoc>
38249 <paramlist>
38250 <param name="param" type="String" default=""/>
38251 </paramlist>
38252 </method>
38253 <method name="GetSize" type="Size" overloaded="no">
38254 <autodoc>GetSize(self, String param=SizeString) -&gt; Size</autodoc>
38255 <paramlist>
38256 <param name="param" type="String" default="wxPySizeString"/>
38257 </paramlist>
38258 </method>
38259 <method name="GetPosition" type="Point" overloaded="no">
38260 <autodoc>GetPosition(self, String param=PosString) -&gt; Point</autodoc>
38261 <paramlist>
38262 <param name="param" type="String" default="wxPyPosString"/>
38263 </paramlist>
38264 </method>
38265 <method name="GetDimension" type="int" overloaded="no">
38266 <autodoc>GetDimension(self, String param, int defaultv=0) -&gt; int</autodoc>
38267 <paramlist>
38268 <param name="param" type="String" default=""/>
38269 <param name="defaultv" type="int" default="0"/>
38270 </paramlist>
38271 </method>
38272 <method name="GetBitmap" type="Bitmap" overloaded="no">
38273 <autodoc>GetBitmap(self, String param=BitmapString, wxArtClient defaultArtClient=wxART_OTHER,
38274 Size size=DefaultSize) -&gt; Bitmap</autodoc>
38275 <paramlist>
38276 <param name="param" type="String" default="wxPyBitmapString"/>
38277 <param name="defaultArtClient" type="wxArtClient" default="wxART_OTHER"/>
38278 <param name="size" type="Size" default="wxDefaultSize"/>
38279 </paramlist>
38280 </method>
38281 <method name="GetIcon" type="Icon" overloaded="no">
38282 <autodoc>GetIcon(self, String param=IconString, wxArtClient defaultArtClient=wxART_OTHER,
38283 Size size=DefaultSize) -&gt; Icon</autodoc>
38284 <paramlist>
38285 <param name="param" type="String" default="wxPyIconString"/>
38286 <param name="defaultArtClient" type="wxArtClient" default="wxART_OTHER"/>
38287 <param name="size" type="Size" default="wxDefaultSize"/>
38288 </paramlist>
38289 </method>
38290 <method name="GetFont" type="Font" overloaded="no">
38291 <autodoc>GetFont(self, String param=FontString) -&gt; Font</autodoc>
38292 <paramlist>
38293 <param name="param" type="String" default="wxPyFontString"/>
38294 </paramlist>
38295 </method>
38296 <method name="SetupWindow" type="" overloaded="no">
38297 <autodoc>SetupWindow(self, Window wnd)</autodoc>
38298 <paramlist>
38299 <param name="wnd" type="Window" default=""/>
38300 </paramlist>
38301 </method>
38302 <method name="CreateChildren" type="" overloaded="no">
38303 <autodoc>CreateChildren(self, Object parent, bool this_hnd_only=False)</autodoc>
38304 <paramlist>
38305 <param name="parent" type="Object" default=""/>
38306 <param name="this_hnd_only" type="bool" default="False"/>
38307 </paramlist>
38308 </method>
38309 <method name="CreateChildrenPrivately" type="" overloaded="no">
38310 <autodoc>CreateChildrenPrivately(self, Object parent, XmlNode rootnode=None)</autodoc>
38311 <paramlist>
38312 <param name="parent" type="Object" default=""/>
38313 <param name="rootnode" type="XmlNode" default="NULL"/>
38314 </paramlist>
38315 </method>
38316 <method name="CreateResFromNode" type="Object" overloaded="no">
38317 <autodoc>CreateResFromNode(self, XmlNode node, Object parent, Object instance=None) -&gt; Object</autodoc>
38318 <paramlist>
38319 <param name="node" type="XmlNode" default=""/>
38320 <param name="parent" type="Object" default=""/>
38321 <param name="instance" type="Object" default="NULL"/>
38322 </paramlist>
38323 </method>
38324 <method name="GetCurFileSystem" type="FileSystem" overloaded="no">
38325 <autodoc>GetCurFileSystem(self) -&gt; FileSystem</autodoc>
38326 </method>
38327 </class>
38328 <pythoncode>#----------------------------------------------------------------------------
38329 # The global was removed in favor of static accessor functions. This is for
38330 # backwards compatibility:
38331
38332 TheXmlResource = XmlResource_Get()
38333
38334
38335 #----------------------------------------------------------------------------
38336 # Create a factory for handling the subclass property of the object tag.
38337
38338
38339 def _my_import(name):
38340 mod = __import__(name)
38341 components = name.split('.')
38342 for comp in components[1:]:
38343 mod = getattr(mod, comp)
38344 return mod
38345
38346
38347 class XmlSubclassFactory_Python(XmlSubclassFactory):
38348 def __init__(self):
38349 XmlSubclassFactory.__init__(self)
38350
38351 def Create(self, className):
38352 assert className.find('.') != -1, "Module name must be specified!"
38353 mname = className[:className.rfind('.')]
38354 cname = className[className.rfind('.')+1:]
38355 module = _my_import(mname)
38356 klass = getattr(module, cname)
38357 inst = klass()
38358 return inst
38359
38360
38361 XmlResource_AddSubclassFactory(XmlSubclassFactory_Python())
38362
38363 #----------------------------------------------------------------------------
38364 </pythoncode>
38365 </module>
38366 <module name="gizmos">
38367 <import name="_windows"/>
38368 <import name="_controls"/>
38369 <pythoncode> wx = _core </pythoncode>
38370 <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
38371 <class name="DynamicSashSplitEvent" oldname="wxDynamicSashSplitEvent" module="gizmos">
38372 <baseclass name="CommandEvent"/>
38373 <constructor name="DynamicSashSplitEvent" overloaded="no">
38374 <autodoc>__init__(self, Object target) -&gt; DynamicSashSplitEvent</autodoc>
38375 <paramlist>
38376 <param name="target" type="Object" default=""/>
38377 </paramlist>
38378 </constructor>
38379 </class>
38380 <class name="DynamicSashUnifyEvent" oldname="wxDynamicSashUnifyEvent" module="gizmos">
38381 <baseclass name="CommandEvent"/>
38382 <constructor name="DynamicSashUnifyEvent" overloaded="no">
38383 <autodoc>__init__(self, Object target) -&gt; DynamicSashUnifyEvent</autodoc>
38384 <paramlist>
38385 <param name="target" type="Object" default=""/>
38386 </paramlist>
38387 </constructor>
38388 </class>
38389 <class name="DynamicSashWindow" oldname="wxDynamicSashWindow" module="gizmos">
38390 <baseclass name="Window"/>
38391 <constructor name="DynamicSashWindow" overloaded="no">
38392 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
38393 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
38394 String name=DynamicSashNameStr) -&gt; DynamicSashWindow</autodoc>
38395 <paramlist>
38396 <param name="parent" type="Window" default=""/>
38397 <param name="id" type="int" default="-1"/>
38398 <param name="pos" type="Point" default="wxDefaultPosition"/>
38399 <param name="size" type="Size" default="wxDefaultSize"/>
38400 <param name="style" type="long" default="wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER"/>
38401 <param name="name" type="String" default="wxPyDynamicSashNameStr"/>
38402 </paramlist>
38403 </constructor>
38404 <constructor name="PreDynamicSashWindow" overloaded="no">
38405 <autodoc>PreDynamicSashWindow() -&gt; DynamicSashWindow</autodoc>
38406 </constructor>
38407 <method name="Create" type="bool" overloaded="no">
38408 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
38409 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
38410 String name=DynamicSashNameStr) -&gt; bool</autodoc>
38411 <paramlist>
38412 <param name="parent" type="Window" default=""/>
38413 <param name="id" type="int" default="-1"/>
38414 <param name="pos" type="Point" default="wxDefaultPosition"/>
38415 <param name="size" type="Size" default="wxDefaultSize"/>
38416 <param name="style" type="long" default="wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER"/>
38417 <param name="name" type="String" default="wxPyDynamicSashNameStr"/>
38418 </paramlist>
38419 </method>
38420 <method name="GetHScrollBar" type="ScrollBar" overloaded="no">
38421 <autodoc>GetHScrollBar(self, Window child) -&gt; ScrollBar</autodoc>
38422 <paramlist>
38423 <param name="child" type="Window" default=""/>
38424 </paramlist>
38425 </method>
38426 <method name="GetVScrollBar" type="ScrollBar" overloaded="no">
38427 <autodoc>GetVScrollBar(self, Window child) -&gt; ScrollBar</autodoc>
38428 <paramlist>
38429 <param name="child" type="Window" default=""/>
38430 </paramlist>
38431 </method>
38432 </class>
38433 <pythoncode>
38434 EVT_DYNAMIC_SASH_SPLIT = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT, 1 )
38435 EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
38436 </pythoncode>
38437 <class name="EditableListBox" oldname="wxEditableListBox" module="gizmos">
38438 <baseclass name="Panel"/>
38439 <constructor name="EditableListBox" overloaded="no">
38440 <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString,
38441 Point pos=DefaultPosition, Size size=DefaultSize,
38442 long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE,
38443 String name=EditableListBoxNameStr) -&gt; EditableListBox</autodoc>
38444 <paramlist>
38445 <param name="parent" type="Window" default=""/>
38446 <param name="id" type="int" default="-1"/>
38447 <param name="label" type="String" default="wxPyEmptyString"/>
38448 <param name="pos" type="Point" default="wxDefaultPosition"/>
38449 <param name="size" type="Size" default="wxDefaultSize"/>
38450 <param name="style" type="long" default="wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE"/>
38451 <param name="name" type="String" default="wxPyEditableListBoxNameStr"/>
38452 </paramlist>
38453 </constructor>
38454 <method name="SetStrings" type="" overloaded="no">
38455 <autodoc>SetStrings(self, wxArrayString strings)</autodoc>
38456 <paramlist>
38457 <param name="strings" type="wxArrayString" default=""/>
38458 </paramlist>
38459 </method>
38460 <method name="GetStrings" type="PyObject" overloaded="no">
38461 <autodoc>GetStrings(self) -&gt; PyObject</autodoc>
38462 </method>
38463 <method name="GetListCtrl" type="wxListCtrl" overloaded="no">
38464 <autodoc>GetListCtrl(self) -&gt; wxListCtrl</autodoc>
38465 </method>
38466 <method name="GetDelButton" type="BitmapButton" overloaded="no">
38467 <autodoc>GetDelButton(self) -&gt; BitmapButton</autodoc>
38468 </method>
38469 <method name="GetNewButton" type="BitmapButton" overloaded="no">
38470 <autodoc>GetNewButton(self) -&gt; BitmapButton</autodoc>
38471 </method>
38472 <method name="GetUpButton" type="BitmapButton" overloaded="no">
38473 <autodoc>GetUpButton(self) -&gt; BitmapButton</autodoc>
38474 </method>
38475 <method name="GetDownButton" type="BitmapButton" overloaded="no">
38476 <autodoc>GetDownButton(self) -&gt; BitmapButton</autodoc>
38477 </method>
38478 <method name="GetEditButton" type="BitmapButton" overloaded="no">
38479 <autodoc>GetEditButton(self) -&gt; BitmapButton</autodoc>
38480 </method>
38481 </class>
38482 <class name="RemotelyScrolledTreeCtrl" oldname="wxRemotelyScrolledTreeCtrl" module="gizmos">
38483 <baseclass name="TreeCtrl"/>
38484 <constructor name="RemotelyScrolledTreeCtrl" overloaded="no">
38485 <autodoc>__init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
38486 long style=TR_HAS_BUTTONS) -&gt; RemotelyScrolledTreeCtrl</autodoc>
38487 <paramlist>
38488 <param name="parent" type="Window" default=""/>
38489 <param name="id" type="int" default=""/>
38490 <param name="pos" type="Point" default="wxDefaultPosition"/>
38491 <param name="size" type="Size" default="wxDefaultSize"/>
38492 <param name="style" type="long" default="wxTR_HAS_BUTTONS"/>
38493 </paramlist>
38494 </constructor>
38495 <method name="HideVScrollbar" type="" overloaded="no">
38496 <autodoc>HideVScrollbar(self)</autodoc>
38497 </method>
38498 <method name="AdjustRemoteScrollbars" type="" overloaded="no">
38499 <autodoc>AdjustRemoteScrollbars(self)</autodoc>
38500 </method>
38501 <method name="GetScrolledWindow" type="ScrolledWindow" overloaded="no">
38502 <autodoc>GetScrolledWindow(self) -&gt; ScrolledWindow</autodoc>
38503 </method>
38504 <method name="ScrollToLine" type="" overloaded="no">
38505 <autodoc>ScrollToLine(self, int posHoriz, int posVert)</autodoc>
38506 <paramlist>
38507 <param name="posHoriz" type="int" default=""/>
38508 <param name="posVert" type="int" default=""/>
38509 </paramlist>
38510 </method>
38511 <method name="SetCompanionWindow" type="" overloaded="no">
38512 <autodoc>SetCompanionWindow(self, Window companion)</autodoc>
38513 <paramlist>
38514 <param name="companion" type="Window" default=""/>
38515 </paramlist>
38516 </method>
38517 <method name="GetCompanionWindow" type="Window" overloaded="no">
38518 <autodoc>GetCompanionWindow(self) -&gt; Window</autodoc>
38519 </method>
38520 </class>
38521 <class name="TreeCompanionWindow" oldname="wxPyTreeCompanionWindow" module="gizmos">
38522 <baseclass name="Window"/>
38523 <constructor name="wxPyTreeCompanionWindow" overloaded="no">
38524 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
38525 Size size=DefaultSize, long style=0) -&gt; TreeCompanionWindow</autodoc>
38526 <paramlist>
38527 <param name="parent" type="Window" default=""/>
38528 <param name="id" type="int" default="-1"/>
38529 <param name="pos" type="Point" default="wxDefaultPosition"/>
38530 <param name="size" type="Size" default="wxDefaultSize"/>
38531 <param name="style" type="long" default="0"/>
38532 </paramlist>
38533 </constructor>
38534 <method name="_setCallbackInfo" type="" overloaded="no">
38535 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
38536 <paramlist>
38537 <param name="self" type="PyObject" default=""/>
38538 <param name="_class" type="PyObject" default=""/>
38539 </paramlist>
38540 </method>
38541 <method name="GetTreeCtrl" type="RemotelyScrolledTreeCtrl" overloaded="no">
38542 <autodoc>GetTreeCtrl(self) -&gt; RemotelyScrolledTreeCtrl</autodoc>
38543 </method>
38544 <method name="SetTreeCtrl" type="" overloaded="no">
38545 <autodoc>SetTreeCtrl(self, RemotelyScrolledTreeCtrl treeCtrl)</autodoc>
38546 <paramlist>
38547 <param name="treeCtrl" type="RemotelyScrolledTreeCtrl" default=""/>
38548 </paramlist>
38549 </method>
38550 </class>
38551 <class name="ThinSplitterWindow" oldname="wxThinSplitterWindow" module="gizmos">
38552 <baseclass name="SplitterWindow"/>
38553 <constructor name="ThinSplitterWindow" overloaded="no">
38554 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
38555 Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -&gt; ThinSplitterWindow</autodoc>
38556 <paramlist>
38557 <param name="parent" type="Window" default=""/>
38558 <param name="id" type="int" default="-1"/>
38559 <param name="pos" type="Point" default="wxDefaultPosition"/>
38560 <param name="size" type="Size" default="wxDefaultSize"/>
38561 <param name="style" type="long" default="wxSP_3D|wxCLIP_CHILDREN"/>
38562 </paramlist>
38563 </constructor>
38564 </class>
38565 <class name="SplitterScrolledWindow" oldname="wxSplitterScrolledWindow" module="gizmos">
38566 <baseclass name="ScrolledWindow"/>
38567 <constructor name="SplitterScrolledWindow" overloaded="no">
38568 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
38569 Size size=DefaultSize, long style=0) -&gt; SplitterScrolledWindow</autodoc>
38570 <paramlist>
38571 <param name="parent" type="Window" default=""/>
38572 <param name="id" type="int" default="-1"/>
38573 <param name="pos" type="Point" default="wxDefaultPosition"/>
38574 <param name="size" type="Size" default="wxDefaultSize"/>
38575 <param name="style" type="long" default="0"/>
38576 </paramlist>
38577 </constructor>
38578 </class>
38579 <class name="LEDNumberCtrl" oldname="wxLEDNumberCtrl" module="gizmos">
38580 <baseclass name="Control"/>
38581 <constructor name="LEDNumberCtrl" overloaded="no">
38582 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
38583 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -&gt; LEDNumberCtrl</autodoc>
38584 <paramlist>
38585 <param name="parent" type="Window" default=""/>
38586 <param name="id" type="int" default="-1"/>
38587 <param name="pos" type="Point" default="wxDefaultPosition"/>
38588 <param name="size" type="Size" default="wxDefaultSize"/>
38589 <param name="style" type="long" default="wxLED_ALIGN_LEFT|wxLED_DRAW_FADED"/>
38590 </paramlist>
38591 </constructor>
38592 <constructor name="PreLEDNumberCtrl" overloaded="no">
38593 <autodoc>PreLEDNumberCtrl() -&gt; LEDNumberCtrl</autodoc>
38594 </constructor>
38595 <method name="Create" type="bool" overloaded="no">
38596 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
38597 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -&gt; bool</autodoc>
38598 <paramlist>
38599 <param name="parent" type="Window" default=""/>
38600 <param name="id" type="int" default="-1"/>
38601 <param name="pos" type="Point" default="wxDefaultPosition"/>
38602 <param name="size" type="Size" default="wxDefaultSize"/>
38603 <param name="style" type="long" default="wxLED_ALIGN_LEFT|wxLED_DRAW_FADED"/>
38604 </paramlist>
38605 </method>
38606 <method name="GetAlignment" type="wxLEDValueAlign" overloaded="no">
38607 <autodoc>GetAlignment(self) -&gt; int</autodoc>
38608 </method>
38609 <method name="GetDrawFaded" type="bool" overloaded="no">
38610 <autodoc>GetDrawFaded(self) -&gt; bool</autodoc>
38611 </method>
38612 <method name="GetValue" type="String" overloaded="no">
38613 <autodoc>GetValue(self) -&gt; String</autodoc>
38614 </method>
38615 <method name="SetAlignment" type="" overloaded="no">
38616 <autodoc>SetAlignment(self, int Alignment, bool Redraw=true)</autodoc>
38617 <paramlist>
38618 <param name="Alignment" type="wxLEDValueAlign" default=""/>
38619 <param name="Redraw" type="bool" default="true"/>
38620 </paramlist>
38621 </method>
38622 <method name="SetDrawFaded" type="" overloaded="no">
38623 <autodoc>SetDrawFaded(self, bool DrawFaded, bool Redraw=true)</autodoc>
38624 <paramlist>
38625 <param name="DrawFaded" type="bool" default=""/>
38626 <param name="Redraw" type="bool" default="true"/>
38627 </paramlist>
38628 </method>
38629 <method name="SetValue" type="" overloaded="no">
38630 <autodoc>SetValue(self, String Value, bool Redraw=true)</autodoc>
38631 <paramlist>
38632 <param name="Value" type="String" default=""/>
38633 <param name="Redraw" type="bool" default="true"/>
38634 </paramlist>
38635 </method>
38636 </class>
38637 <class name="TreeListColumnInfo" oldname="wxTreeListColumnInfo" module="gizmos">
38638 <baseclass name="Object"/>
38639 <constructor name="TreeListColumnInfo" overloaded="no">
38640 <autodoc>__init__(self, String text=EmptyString, int image=-1, size_t width=100,
38641 bool shown=True, int alignment=TL_ALIGN_LEFT) -&gt; TreeListColumnInfo</autodoc>
38642 <paramlist>
38643 <param name="text" type="String" default="wxPyEmptyString"/>
38644 <param name="image" type="int" default="-1"/>
38645 <param name="width" type="size_t" default="100"/>
38646 <param name="shown" type="bool" default="True"/>
38647 <param name="alignment" type="wxTreeListColumnAlign" default="wxTL_ALIGN_LEFT"/>
38648 </paramlist>
38649 </constructor>
38650 <method name="GetShown" type="bool" overloaded="no">
38651 <autodoc>GetShown(self) -&gt; bool</autodoc>
38652 </method>
38653 <method name="GetAlignment" type="wxTreeListColumnAlign" overloaded="no">
38654 <autodoc>GetAlignment(self) -&gt; int</autodoc>
38655 </method>
38656 <method name="GetText" type="String" overloaded="no">
38657 <autodoc>GetText(self) -&gt; String</autodoc>
38658 </method>
38659 <method name="GetImage" type="int" overloaded="no">
38660 <autodoc>GetImage(self) -&gt; int</autodoc>
38661 </method>
38662 <method name="GetSelectedImage" type="int" overloaded="no">
38663 <autodoc>GetSelectedImage(self) -&gt; int</autodoc>
38664 </method>
38665 <method name="GetWidth" type="size_t" overloaded="no">
38666 <autodoc>GetWidth(self) -&gt; size_t</autodoc>
38667 </method>
38668 <method name="SetShown" type="" overloaded="no">
38669 <autodoc>SetShown(self, bool shown)</autodoc>
38670 <paramlist>
38671 <param name="shown" type="bool" default=""/>
38672 </paramlist>
38673 </method>
38674 <method name="SetAlignment" type="" overloaded="no">
38675 <autodoc>SetAlignment(self, int alignment)</autodoc>
38676 <paramlist>
38677 <param name="alignment" type="wxTreeListColumnAlign" default=""/>
38678 </paramlist>
38679 </method>
38680 <method name="SetText" type="" overloaded="no">
38681 <autodoc>SetText(self, String text)</autodoc>
38682 <paramlist>
38683 <param name="text" type="String" default=""/>
38684 </paramlist>
38685 </method>
38686 <method name="SetImage" type="" overloaded="no">
38687 <autodoc>SetImage(self, int image)</autodoc>
38688 <paramlist>
38689 <param name="image" type="int" default=""/>
38690 </paramlist>
38691 </method>
38692 <method name="SetSelectedImage" type="" overloaded="no">
38693 <autodoc>SetSelectedImage(self, int image)</autodoc>
38694 <paramlist>
38695 <param name="image" type="int" default=""/>
38696 </paramlist>
38697 </method>
38698 <method name="SetWidth" type="" overloaded="no">
38699 <autodoc>SetWidth(self, size_t with)</autodoc>
38700 <paramlist>
38701 <param name="with" type="size_t" default=""/>
38702 </paramlist>
38703 </method>
38704 </class>
38705 <class name="TreeListCtrl" oldname="wxPyTreeListCtrl" module="gizmos">
38706 <baseclass name="Control"/>
38707 <constructor name="wxPyTreeListCtrl" overloaded="no">
38708 <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
38709 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
38710 Validator validator=DefaultValidator,
38711 String name=TreeListCtrlNameStr) -&gt; TreeListCtrl</autodoc>
38712 <paramlist>
38713 <param name="parent" type="Window" default=""/>
38714 <param name="id" type="int" default="-1"/>
38715 <param name="pos" type="Point" default="wxDefaultPosition"/>
38716 <param name="size" type="Size" default="wxDefaultSize"/>
38717 <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/>
38718 <param name="validator" type="Validator" default="wxDefaultValidator"/>
38719 <param name="name" type="String" default="wxPyTreeListCtrlNameStr"/>
38720 </paramlist>
38721 </constructor>
38722 <constructor name="PreTreeListCtrl" overloaded="no">
38723 <autodoc>PreTreeListCtrl() -&gt; TreeListCtrl</autodoc>
38724 </constructor>
38725 <method name="Create" type="bool" overloaded="no">
38726 <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
38727 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
38728 Validator validator=DefaultValidator,
38729 String name=TreeListCtrlNameStr) -&gt; bool</autodoc>
38730 <docstring>Do the 2nd phase and create the GUI control.</docstring>
38731 <paramlist>
38732 <param name="parent" type="Window" default=""/>
38733 <param name="id" type="int" default="-1"/>
38734 <param name="pos" type="Point" default="wxDefaultPosition"/>
38735 <param name="size" type="Size" default="wxDefaultSize"/>
38736 <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/>
38737 <param name="validator" type="Validator" default="wxDefaultValidator"/>
38738 <param name="name" type="String" default="wxPyTreeListCtrlNameStr"/>
38739 </paramlist>
38740 </method>
38741 <method name="_setCallbackInfo" type="" overloaded="no">
38742 <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
38743 <paramlist>
38744 <param name="self" type="PyObject" default=""/>
38745 <param name="_class" type="PyObject" default=""/>
38746 </paramlist>
38747 </method>
38748 <method name="GetCount" type="size_t" overloaded="no">
38749 <autodoc>GetCount(self) -&gt; size_t</autodoc>
38750 </method>
38751 <method name="GetIndent" type="unsigned int" overloaded="no">
38752 <autodoc>GetIndent(self) -&gt; unsigned int</autodoc>
38753 </method>
38754 <method name="SetIndent" type="" overloaded="no">
38755 <autodoc>SetIndent(self, unsigned int indent)</autodoc>
38756 <paramlist>
38757 <param name="indent" type="unsigned int" default=""/>
38758 </paramlist>
38759 </method>
38760 <method name="GetLineSpacing" type="unsigned int" overloaded="no">
38761 <autodoc>GetLineSpacing(self) -&gt; unsigned int</autodoc>
38762 </method>
38763 <method name="SetLineSpacing" type="" overloaded="no">
38764 <autodoc>SetLineSpacing(self, unsigned int spacing)</autodoc>
38765 <paramlist>
38766 <param name="spacing" type="unsigned int" default=""/>
38767 </paramlist>
38768 </method>
38769 <method name="GetImageList" type="ImageList" overloaded="no">
38770 <autodoc>GetImageList(self) -&gt; ImageList</autodoc>
38771 </method>
38772 <method name="GetStateImageList" type="ImageList" overloaded="no">
38773 <autodoc>GetStateImageList(self) -&gt; ImageList</autodoc>
38774 </method>
38775 <method name="GetButtonsImageList" type="ImageList" overloaded="no">
38776 <autodoc>GetButtonsImageList(self) -&gt; ImageList</autodoc>
38777 </method>
38778 <method name="SetImageList" type="" overloaded="no">
38779 <autodoc>SetImageList(self, ImageList imageList)</autodoc>
38780 <paramlist>
38781 <param name="imageList" type="ImageList" default=""/>
38782 </paramlist>
38783 </method>
38784 <method name="SetStateImageList" type="" overloaded="no">
38785 <autodoc>SetStateImageList(self, ImageList imageList)</autodoc>
38786 <paramlist>
38787 <param name="imageList" type="ImageList" default=""/>
38788 </paramlist>
38789 </method>
38790 <method name="SetButtonsImageList" type="" overloaded="no">
38791 <autodoc>SetButtonsImageList(self, ImageList imageList)</autodoc>
38792 <paramlist>
38793 <param name="imageList" type="ImageList" default=""/>
38794 </paramlist>
38795 </method>
38796 <method name="AssignImageList" type="" overloaded="no">
38797 <autodoc>AssignImageList(self, ImageList imageList)</autodoc>
38798 <paramlist>
38799 <param name="imageList" type="ImageList" default=""/>
38800 </paramlist>
38801 </method>
38802 <method name="AssignStateImageList" type="" overloaded="no">
38803 <autodoc>AssignStateImageList(self, ImageList imageList)</autodoc>
38804 <paramlist>
38805 <param name="imageList" type="ImageList" default=""/>
38806 </paramlist>
38807 </method>
38808 <method name="AssignButtonsImageList" type="" overloaded="no">
38809 <autodoc>AssignButtonsImageList(self, ImageList imageList)</autodoc>
38810 <paramlist>
38811 <param name="imageList" type="ImageList" default=""/>
38812 </paramlist>
38813 </method>
38814 <method name="AddColumn" type="" overloaded="no">
38815 <autodoc>AddColumn(self, String text)</autodoc>
38816 <paramlist>
38817 <param name="text" type="String" default=""/>
38818 </paramlist>
38819 </method>
38820 <method name="AddColumnInfo" type="" overloaded="no">
38821 <autodoc>AddColumnInfo(self, TreeListColumnInfo col)</autodoc>
38822 <paramlist>
38823 <param name="col" type="TreeListColumnInfo" default=""/>
38824 </paramlist>
38825 </method>
38826 <method name="InsertColumn" type="" overloaded="no">
38827 <autodoc>InsertColumn(self, size_t before, String text)</autodoc>
38828 <paramlist>
38829 <param name="before" type="size_t" default=""/>
38830 <param name="text" type="String" default=""/>
38831 </paramlist>
38832 </method>
38833 <method name="InsertColumnInfo" type="" overloaded="no">
38834 <autodoc>InsertColumnInfo(self, size_t before, TreeListColumnInfo col)</autodoc>
38835 <paramlist>
38836 <param name="before" type="size_t" default=""/>
38837 <param name="col" type="TreeListColumnInfo" default=""/>
38838 </paramlist>
38839 </method>
38840 <method name="RemoveColumn" type="" overloaded="no">
38841 <autodoc>RemoveColumn(self, size_t column)</autodoc>
38842 <paramlist>
38843 <param name="column" type="size_t" default=""/>
38844 </paramlist>
38845 </method>
38846 <method name="GetColumnCount" type="size_t" overloaded="no">
38847 <autodoc>GetColumnCount(self) -&gt; size_t</autodoc>
38848 </method>
38849 <method name="SetColumnWidth" type="" overloaded="no">
38850 <autodoc>SetColumnWidth(self, size_t column, size_t width)</autodoc>
38851 <paramlist>
38852 <param name="column" type="size_t" default=""/>
38853 <param name="width" type="size_t" default=""/>
38854 </paramlist>
38855 </method>
38856 <method name="GetColumnWidth" type="int" overloaded="no">
38857 <autodoc>GetColumnWidth(self, size_t column) -&gt; int</autodoc>
38858 <paramlist>
38859 <param name="column" type="size_t" default=""/>
38860 </paramlist>
38861 </method>
38862 <method name="SetMainColumn" type="" overloaded="no">
38863 <autodoc>SetMainColumn(self, size_t column)</autodoc>
38864 <paramlist>
38865 <param name="column" type="size_t" default=""/>
38866 </paramlist>
38867 </method>
38868 <method name="GetMainColumn" type="size_t" overloaded="no">
38869 <autodoc>GetMainColumn(self) -&gt; size_t</autodoc>
38870 </method>
38871 <method name="SetColumnText" type="" overloaded="no">
38872 <autodoc>SetColumnText(self, size_t column, String text)</autodoc>
38873 <paramlist>
38874 <param name="column" type="size_t" default=""/>
38875 <param name="text" type="String" default=""/>
38876 </paramlist>
38877 </method>
38878 <method name="GetColumnText" type="String" overloaded="no">
38879 <autodoc>GetColumnText(self, size_t column) -&gt; String</autodoc>
38880 <paramlist>
38881 <param name="column" type="size_t" default=""/>
38882 </paramlist>
38883 </method>
38884 <method name="SetColumn" type="" overloaded="no">
38885 <autodoc>SetColumn(self, size_t column, TreeListColumnInfo info)</autodoc>
38886 <paramlist>
38887 <param name="column" type="size_t" default=""/>
38888 <param name="info" type="TreeListColumnInfo" default=""/>
38889 </paramlist>
38890 </method>
38891 <method name="GetColumn" type="TreeListColumnInfo" overloaded="no">
38892 <autodoc>GetColumn(self, size_t column) -&gt; TreeListColumnInfo</autodoc>
38893 <paramlist>
38894 <param name="column" type="size_t" default=""/>
38895 </paramlist>
38896 </method>
38897 <method name="SetColumnAlignment" type="" overloaded="no">
38898 <autodoc>SetColumnAlignment(self, size_t column, int align)</autodoc>
38899 <paramlist>
38900 <param name="column" type="size_t" default=""/>
38901 <param name="align" type="wxTreeListColumnAlign" default=""/>
38902 </paramlist>
38903 </method>
38904 <method name="GetColumnAlignment" type="wxTreeListColumnAlign" overloaded="no">
38905 <autodoc>GetColumnAlignment(self, size_t column) -&gt; int</autodoc>
38906 <paramlist>
38907 <param name="column" type="size_t" default=""/>
38908 </paramlist>
38909 </method>
38910 <method name="SetColumnImage" type="" overloaded="no">
38911 <autodoc>SetColumnImage(self, size_t column, int image)</autodoc>
38912 <paramlist>
38913 <param name="column" type="size_t" default=""/>
38914 <param name="image" type="int" default=""/>
38915 </paramlist>
38916 </method>
38917 <method name="GetColumnImage" type="int" overloaded="no">
38918 <autodoc>GetColumnImage(self, size_t column) -&gt; int</autodoc>
38919 <paramlist>
38920 <param name="column" type="size_t" default=""/>
38921 </paramlist>
38922 </method>
38923 <method name="ShowColumn" type="" overloaded="no">
38924 <autodoc>ShowColumn(self, size_t column, bool shown)</autodoc>
38925 <paramlist>
38926 <param name="column" type="size_t" default=""/>
38927 <param name="shown" type="bool" default=""/>
38928 </paramlist>
38929 </method>
38930 <method name="IsColumnShown" type="bool" overloaded="no">
38931 <autodoc>IsColumnShown(self, size_t column) -&gt; bool</autodoc>
38932 <paramlist>
38933 <param name="column" type="size_t" default=""/>
38934 </paramlist>
38935 </method>
38936 <method name="GetItemText" type="String" overloaded="no">
38937 <autodoc>GetItemText(self, TreeItemId item, int column=-1) -&gt; String</autodoc>
38938 <paramlist>
38939 <param name="item" type="TreeItemId" default=""/>
38940 <param name="column" type="int" default="-1"/>
38941 </paramlist>
38942 </method>
38943 <method name="GetItemImage" type="int" overloaded="no">
38944 <autodoc>GetItemImage(self, TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -&gt; int</autodoc>
38945 <paramlist>
38946 <param name="item" type="TreeItemId" default=""/>
38947 <param name="column" type="int" default="-1"/>
38948 <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/>
38949 </paramlist>
38950 </method>
38951 <method name="SetItemText" type="" overloaded="no">
38952 <autodoc>SetItemText(self, TreeItemId item, String text, int column=-1)</autodoc>
38953 <paramlist>
38954 <param name="item" type="TreeItemId" default=""/>
38955 <param name="text" type="String" default=""/>
38956 <param name="column" type="int" default="-1"/>
38957 </paramlist>
38958 </method>
38959 <method name="SetItemImage" type="" overloaded="no">
38960 <autodoc>SetItemImage(self, TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)</autodoc>
38961 <paramlist>
38962 <param name="item" type="TreeItemId" default=""/>
38963 <param name="image" type="int" default=""/>
38964 <param name="column" type="int" default="-1"/>
38965 <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/>
38966 </paramlist>
38967 </method>
38968 <method name="GetItemData" type="TreeItemData" overloaded="no">
38969 <autodoc>GetItemData(self, TreeItemId item) -&gt; TreeItemData</autodoc>
38970 <paramlist>
38971 <param name="item" type="TreeItemId" default=""/>
38972 </paramlist>
38973 </method>
38974 <method name="SetItemData" type="" overloaded="no">
38975 <autodoc>SetItemData(self, TreeItemId item, TreeItemData data)</autodoc>
38976 <paramlist>
38977 <param name="item" type="TreeItemId" default=""/>
38978 <param name="data" type="TreeItemData" default=""/>
38979 </paramlist>
38980 </method>
38981 <method name="GetItemPyData" type="PyObject" overloaded="no">
38982 <autodoc>GetItemPyData(self, TreeItemId item) -&gt; PyObject</autodoc>
38983 <paramlist>
38984 <param name="item" type="TreeItemId" default=""/>
38985 </paramlist>
38986 </method>
38987 <method name="SetItemPyData" type="" overloaded="no">
38988 <autodoc>SetItemPyData(self, TreeItemId item, PyObject obj)</autodoc>
38989 <paramlist>
38990 <param name="item" type="TreeItemId" default=""/>
38991 <param name="obj" type="PyObject" default=""/>
38992 </paramlist>
38993 </method>
38994 <method name="SetItemHasChildren" type="" overloaded="no">
38995 <autodoc>SetItemHasChildren(self, TreeItemId item, bool has=True)</autodoc>
38996 <paramlist>
38997 <param name="item" type="TreeItemId" default=""/>
38998 <param name="has" type="bool" default="True"/>
38999 </paramlist>
39000 </method>
39001 <method name="SetItemBold" type="" overloaded="no">
39002 <autodoc>SetItemBold(self, TreeItemId item, bool bold=True)</autodoc>
39003 <paramlist>
39004 <param name="item" type="TreeItemId" default=""/>
39005 <param name="bold" type="bool" default="True"/>
39006 </paramlist>
39007 </method>
39008 <method name="SetItemTextColour" type="" overloaded="no">
39009 <autodoc>SetItemTextColour(self, TreeItemId item, Colour colour)</autodoc>
39010 <paramlist>
39011 <param name="item" type="TreeItemId" default=""/>
39012 <param name="colour" type="Colour" default=""/>
39013 </paramlist>
39014 </method>
39015 <method name="SetItemBackgroundColour" type="" overloaded="no">
39016 <autodoc>SetItemBackgroundColour(self, TreeItemId item, Colour colour)</autodoc>
39017 <paramlist>
39018 <param name="item" type="TreeItemId" default=""/>
39019 <param name="colour" type="Colour" default=""/>
39020 </paramlist>
39021 </method>
39022 <method name="SetItemFont" type="" overloaded="no">
39023 <autodoc>SetItemFont(self, TreeItemId item, Font font)</autodoc>
39024 <paramlist>
39025 <param name="item" type="TreeItemId" default=""/>
39026 <param name="font" type="Font" default=""/>
39027 </paramlist>
39028 </method>
39029 <method name="GetItemBold" type="bool" overloaded="no">
39030 <autodoc>GetItemBold(self, TreeItemId item) -&gt; bool</autodoc>
39031 <paramlist>
39032 <param name="item" type="TreeItemId" default=""/>
39033 </paramlist>
39034 </method>
39035 <method name="GetItemTextColour" type="Colour" overloaded="no">
39036 <autodoc>GetItemTextColour(self, TreeItemId item) -&gt; Colour</autodoc>
39037 <paramlist>
39038 <param name="item" type="TreeItemId" default=""/>
39039 </paramlist>
39040 </method>
39041 <method name="GetItemBackgroundColour" type="Colour" overloaded="no">
39042 <autodoc>GetItemBackgroundColour(self, TreeItemId item) -&gt; Colour</autodoc>
39043 <paramlist>
39044 <param name="item" type="TreeItemId" default=""/>
39045 </paramlist>
39046 </method>
39047 <method name="GetItemFont" type="Font" overloaded="no">
39048 <autodoc>GetItemFont(self, TreeItemId item) -&gt; Font</autodoc>
39049 <paramlist>
39050 <param name="item" type="TreeItemId" default=""/>
39051 </paramlist>
39052 </method>
39053 <method name="IsVisible" type="bool" overloaded="no">
39054 <autodoc>IsVisible(self, TreeItemId item) -&gt; bool</autodoc>
39055 <paramlist>
39056 <param name="item" type="TreeItemId" default=""/>
39057 </paramlist>
39058 </method>
39059 <method name="ItemHasChildren" type="bool" overloaded="no">
39060 <autodoc>ItemHasChildren(self, TreeItemId item) -&gt; bool</autodoc>
39061 <paramlist>
39062 <param name="item" type="TreeItemId" default=""/>
39063 </paramlist>
39064 </method>
39065 <method name="IsExpanded" type="bool" overloaded="no">
39066 <autodoc>IsExpanded(self, TreeItemId item) -&gt; bool</autodoc>
39067 <paramlist>
39068 <param name="item" type="TreeItemId" default=""/>
39069 </paramlist>
39070 </method>
39071 <method name="IsSelected" type="bool" overloaded="no">
39072 <autodoc>IsSelected(self, TreeItemId item) -&gt; bool</autodoc>
39073 <paramlist>
39074 <param name="item" type="TreeItemId" default=""/>
39075 </paramlist>
39076 </method>
39077 <method name="IsBold" type="bool" overloaded="no">
39078 <autodoc>IsBold(self, TreeItemId item) -&gt; bool</autodoc>
39079 <paramlist>
39080 <param name="item" type="TreeItemId" default=""/>
39081 </paramlist>
39082 </method>
39083 <method name="GetChildrenCount" type="size_t" overloaded="no">
39084 <autodoc>GetChildrenCount(self, TreeItemId item, bool recursively=True) -&gt; size_t</autodoc>
39085 <paramlist>
39086 <param name="item" type="TreeItemId" default=""/>
39087 <param name="recursively" type="bool" default="True"/>
39088 </paramlist>
39089 </method>
39090 <method name="GetRootItem" type="TreeItemId" overloaded="no">
39091 <autodoc>GetRootItem(self) -&gt; TreeItemId</autodoc>
39092 </method>
39093 <method name="GetSelection" type="TreeItemId" overloaded="no">
39094 <autodoc>GetSelection(self) -&gt; TreeItemId</autodoc>
39095 </method>
39096 <method name="GetSelections" type="PyObject" overloaded="no">
39097 <autodoc>GetSelections(self) -&gt; PyObject</autodoc>
39098 </method>
39099 <method name="GetItemParent" type="TreeItemId" overloaded="no">
39100 <autodoc>GetItemParent(self, TreeItemId item) -&gt; TreeItemId</autodoc>
39101 <paramlist>
39102 <param name="item" type="TreeItemId" default=""/>
39103 </paramlist>
39104 </method>
39105 <method name="GetFirstChild" type="PyObject" overloaded="no">
39106 <autodoc>GetFirstChild(self, TreeItemId item) -&gt; PyObject</autodoc>
39107 <paramlist>
39108 <param name="item" type="TreeItemId" default=""/>
39109 </paramlist>
39110 </method>
39111 <method name="GetNextChild" type="PyObject" overloaded="no">
39112 <autodoc>GetNextChild(self, TreeItemId item, void cookie) -&gt; PyObject</autodoc>
39113 <paramlist>
39114 <param name="item" type="TreeItemId" default=""/>
39115 <param name="cookie" type="" default=""/>
39116 </paramlist>
39117 </method>
39118 <method name="GetLastChild" type="TreeItemId" overloaded="no">
39119 <autodoc>GetLastChild(self, TreeItemId item) -&gt; TreeItemId</autodoc>
39120 <paramlist>
39121 <param name="item" type="TreeItemId" default=""/>
39122 </paramlist>
39123 </method>
39124 <method name="GetNextSibling" type="TreeItemId" overloaded="no">
39125 <autodoc>GetNextSibling(self, TreeItemId item) -&gt; TreeItemId</autodoc>
39126 <paramlist>
39127 <param name="item" type="TreeItemId" default=""/>
39128 </paramlist>
39129 </method>
39130 <method name="GetPrevSibling" type="TreeItemId" overloaded="no">
39131 <autodoc>GetPrevSibling(self, TreeItemId item) -&gt; TreeItemId</autodoc>
39132 <paramlist>
39133 <param name="item" type="TreeItemId" default=""/>
39134 </paramlist>
39135 </method>
39136 <method name="GetFirstVisibleItem" type="TreeItemId" overloaded="no">
39137 <autodoc>GetFirstVisibleItem(self) -&gt; TreeItemId</autodoc>
39138 </method>
39139 <method name="GetNextVisible" type="TreeItemId" overloaded="no">
39140 <autodoc>GetNextVisible(self, TreeItemId item) -&gt; TreeItemId</autodoc>
39141 <paramlist>
39142 <param name="item" type="TreeItemId" default=""/>
39143 </paramlist>
39144 </method>
39145 <method name="GetPrevVisible" type="TreeItemId" overloaded="no">
39146 <autodoc>GetPrevVisible(self, TreeItemId item) -&gt; TreeItemId</autodoc>
39147 <paramlist>
39148 <param name="item" type="TreeItemId" default=""/>
39149 </paramlist>
39150 </method>
39151 <method name="GetNext" type="TreeItemId" overloaded="no">
39152 <autodoc>GetNext(self, TreeItemId item) -&gt; TreeItemId</autodoc>
39153 <paramlist>
39154 <param name="item" type="TreeItemId" default=""/>
39155 </paramlist>
39156 </method>
39157 <method name="AddRoot" type="TreeItemId" overloaded="no">
39158 <autodoc>AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -&gt; TreeItemId</autodoc>
39159 <paramlist>
39160 <param name="text" type="String" default=""/>
39161 <param name="image" type="int" default="-1"/>
39162 <param name="selectedImage" type="int" default="-1"/>
39163 <param name="data" type="TreeItemData" default="NULL"/>
39164 </paramlist>
39165 </method>
39166 <method name="PrependItem" type="TreeItemId" overloaded="no">
39167 <autodoc>PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
39168 TreeItemData data=None) -&gt; TreeItemId</autodoc>
39169 <paramlist>
39170 <param name="parent" type="TreeItemId" default=""/>
39171 <param name="text" type="String" default=""/>
39172 <param name="image" type="int" default="-1"/>
39173 <param name="selectedImage" type="int" default="-1"/>
39174 <param name="data" type="TreeItemData" default="NULL"/>
39175 </paramlist>
39176 </method>
39177 <method name="InsertItem" type="TreeItemId" overloaded="no">
39178 <autodoc>InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text,
39179 int image=-1, int selectedImage=-1, TreeItemData data=None) -&gt; TreeItemId</autodoc>
39180 <paramlist>
39181 <param name="parent" type="TreeItemId" default=""/>
39182 <param name="idPrevious" type="TreeItemId" default=""/>
39183 <param name="text" type="String" default=""/>
39184 <param name="image" type="int" default="-1"/>
39185 <param name="selectedImage" type="int" default="-1"/>
39186 <param name="data" type="TreeItemData" default="NULL"/>
39187 </paramlist>
39188 </method>
39189 <method name="InsertItemBefore" type="TreeItemId" overloaded="no">
39190 <autodoc>InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1,
39191 int selectedImage=-1, TreeItemData data=None) -&gt; TreeItemId</autodoc>
39192 <paramlist>
39193 <param name="parent" type="TreeItemId" default=""/>
39194 <param name="index" type="size_t" default=""/>
39195 <param name="text" type="String" default=""/>
39196 <param name="image" type="int" default="-1"/>
39197 <param name="selectedImage" type="int" default="-1"/>
39198 <param name="data" type="TreeItemData" default="NULL"/>
39199 </paramlist>
39200 </method>
39201 <method name="AppendItem" type="TreeItemId" overloaded="no">
39202 <autodoc>AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
39203 TreeItemData data=None) -&gt; TreeItemId</autodoc>
39204 <paramlist>
39205 <param name="parent" type="TreeItemId" default=""/>
39206 <param name="text" type="String" default=""/>
39207 <param name="image" type="int" default="-1"/>
39208 <param name="selectedImage" type="int" default="-1"/>
39209 <param name="data" type="TreeItemData" default="NULL"/>
39210 </paramlist>
39211 </method>
39212 <method name="Delete" type="" overloaded="no">
39213 <autodoc>Delete(self, TreeItemId item)</autodoc>
39214 <paramlist>
39215 <param name="item" type="TreeItemId" default=""/>
39216 </paramlist>
39217 </method>
39218 <method name="DeleteChildren" type="" overloaded="no">
39219 <autodoc>DeleteChildren(self, TreeItemId item)</autodoc>
39220 <paramlist>
39221 <param name="item" type="TreeItemId" default=""/>
39222 </paramlist>
39223 </method>
39224 <method name="DeleteAllItems" type="" overloaded="no">
39225 <autodoc>DeleteAllItems(self)</autodoc>
39226 </method>
39227 <method name="Expand" type="" overloaded="no">
39228 <autodoc>Expand(self, TreeItemId item)</autodoc>
39229 <paramlist>
39230 <param name="item" type="TreeItemId" default=""/>
39231 </paramlist>
39232 </method>
39233 <method name="ExpandAll" type="" overloaded="no">
39234 <autodoc>ExpandAll(self, TreeItemId item)</autodoc>
39235 <paramlist>
39236 <param name="item" type="TreeItemId" default=""/>
39237 </paramlist>
39238 </method>
39239 <method name="Collapse" type="" overloaded="no">
39240 <autodoc>Collapse(self, TreeItemId item)</autodoc>
39241 <paramlist>
39242 <param name="item" type="TreeItemId" default=""/>
39243 </paramlist>
39244 </method>
39245 <method name="CollapseAndReset" type="" overloaded="no">
39246 <autodoc>CollapseAndReset(self, TreeItemId item)</autodoc>
39247 <paramlist>
39248 <param name="item" type="TreeItemId" default=""/>
39249 </paramlist>
39250 </method>
39251 <method name="Toggle" type="" overloaded="no">
39252 <autodoc>Toggle(self, TreeItemId item)</autodoc>
39253 <paramlist>
39254 <param name="item" type="TreeItemId" default=""/>
39255 </paramlist>
39256 </method>
39257 <method name="Unselect" type="" overloaded="no">
39258 <autodoc>Unselect(self)</autodoc>
39259 </method>
39260 <method name="UnselectAll" type="" overloaded="no">
39261 <autodoc>UnselectAll(self)</autodoc>
39262 </method>
39263 <method name="SelectItem" type="" overloaded="no">
39264 <autodoc>SelectItem(self, TreeItemId item, bool unselect_others=True, bool extended_select=False)</autodoc>
39265 <paramlist>
39266 <param name="item" type="TreeItemId" default=""/>
39267 <param name="unselect_others" type="bool" default="True"/>
39268 <param name="extended_select" type="bool" default="False"/>
39269 </paramlist>
39270 </method>
39271 <method name="SelectAll" type="" overloaded="no">
39272 <autodoc>SelectAll(self, bool extended_select=False)</autodoc>
39273 <paramlist>
39274 <param name="extended_select" type="bool" default="False"/>
39275 </paramlist>
39276 </method>
39277 <method name="EnsureVisible" type="" overloaded="no">
39278 <autodoc>EnsureVisible(self, TreeItemId item)</autodoc>
39279 <paramlist>
39280 <param name="item" type="TreeItemId" default=""/>
39281 </paramlist>
39282 </method>
39283 <method name="ScrollTo" type="" overloaded="no">
39284 <autodoc>ScrollTo(self, TreeItemId item)</autodoc>
39285 <paramlist>
39286 <param name="item" type="TreeItemId" default=""/>
39287 </paramlist>
39288 </method>
39289 <method name="HitTest" type="TreeItemId" overloaded="no">
39290 <autodoc>HitTest(self, Point point, int OUTPUT, int OUTPUT) -&gt; TreeItemId</autodoc>
39291 <paramlist>
39292 <param name="point" type="Point" default=""/>
39293 <param name="OUTPUT" type="int" default=""/>
39294 <param name="OUTPUT" type="int" default=""/>
39295 </paramlist>
39296 </method>
39297 <method name="GetBoundingRect" type="PyObject" overloaded="no">
39298 <autodoc>GetBoundingRect(self, TreeItemId item, bool textOnly=False) -&gt; PyObject</autodoc>
39299 <paramlist>
39300 <param name="item" type="TreeItemId" default=""/>
39301 <param name="textOnly" type="bool" default="False"/>
39302 </paramlist>
39303 </method>
39304 <method name="EditLabel" type="" overloaded="no">
39305 <autodoc>EditLabel(self, TreeItemId item)</autodoc>
39306 <paramlist>
39307 <param name="item" type="TreeItemId" default=""/>
39308 </paramlist>
39309 </method>
39310 <method name="Edit" type="" overloaded="no">
39311 <autodoc>Edit(self, TreeItemId item)</autodoc>
39312 <paramlist>
39313 <param name="item" type="TreeItemId" default=""/>
39314 </paramlist>
39315 </method>
39316 <method name="SortChildren" type="" overloaded="no">
39317 <autodoc>SortChildren(self, TreeItemId item)</autodoc>
39318 <paramlist>
39319 <param name="item" type="TreeItemId" default=""/>
39320 </paramlist>
39321 </method>
39322 <method name="FindItem" type="TreeItemId" overloaded="no">
39323 <autodoc>FindItem(self, TreeItemId item, String str, int flags=0) -&gt; TreeItemId</autodoc>
39324 <paramlist>
39325 <param name="item" type="TreeItemId" default=""/>
39326 <param name="str" type="String" default=""/>
39327 <param name="flags" type="int" default="0"/>
39328 </paramlist>
39329 </method>
39330 <method name="GetHeaderWindow" type="Window" overloaded="no">
39331 <autodoc>GetHeaderWindow(self) -&gt; Window</autodoc>
39332 </method>
39333 <method name="GetMainWindow" type="Window" overloaded="no">
39334 <autodoc>GetMainWindow(self) -&gt; Window</autodoc>
39335 </method>
39336 </class>
39337 </module>
39338 </wxPython-metadata>