]>
Commit | Line | Data |
---|---|---|
f32fc4bc | 1 | <?xml version="1.0"?> |
0f43fbdf | 2 | <wxPython-metadata> |
f32fc4bc RD |
3 | <module name="core"> |
4 | <pythoncode> | |
0f43fbdf RD |
5 | #// Give a reference to the dictionary of this module to the C++ extension |
6 | #// code. | |
7 | _core._wxPySetDictionary(vars()) | |
8 | ||
9 | #// A little trick to make 'wx' be a reference to this module so wx.Names can | |
10 | #// be used here. | |
11 | import sys as _sys | |
12 | wx = _sys.modules[__name__] | |
13 | </pythoncode> | |
f32fc4bc | 14 | <pythoncode> |
0f43fbdf RD |
15 | #--------------------------------------------------------------------------- |
16 | </pythoncode> | |
f32fc4bc RD |
17 | <class name="Object" oldname="wxObject" module="core"> |
18 | <docstring>The base class for most wx objects, although in wxPython not | |
0f43fbdf | 19 | much functionality is needed nor exposed.</docstring> |
f32fc4bc RD |
20 | <method name="GetClassName" type="String" overloaded="no"> |
21 | <autodoc>GetClassName() -> String</autodoc> | |
22 | <docstring>Returns the class name of the C++ object using wxRTTI.</docstring> | |
23 | </method> | |
24 | <method name="Destroy" type="" overloaded="no"> | |
25 | <autodoc>Destroy()</autodoc> | |
26 | <docstring>Deletes the C++ object this Python object is a proxy for.</docstring> | |
27 | </method> | |
28 | </class> | |
29 | <pythoncode> | |
0f43fbdf RD |
30 | #--------------------------------------------------------------------------- |
31 | </pythoncode> | |
f32fc4bc | 32 | <pythoncode> |
0f43fbdf RD |
33 | #--------------------------------------------------------------------------- |
34 | </pythoncode> | |
f32fc4bc RD |
35 | <class name="Size" oldname="wxSize" module="core"> |
36 | <docstring>wx.Size is a useful data structure used to represent the size of something. | |
0f43fbdf RD |
37 | It simply contians integer width and height proprtites. In most places in |
38 | wxPython where a wx.Size is expected a (width,height) tuple can be used | |
39 | instead.</docstring> | |
f32fc4bc RD |
40 | <constructor name="Size" overloaded="no"> |
41 | <autodoc>__init__(int w=0, int h=0) -> Size</autodoc> | |
42 | <docstring>Creates a size object.</docstring> | |
43 | <paramlist> | |
44 | <param name="w" type="int" default="0"/> | |
45 | <param name="h" type="int" default="0"/> | |
46 | </paramlist> | |
47 | </constructor> | |
48 | <destructor name="~wxSize" overloaded="no"> | |
49 | <autodoc>__del__()</autodoc> | |
50 | </destructor> | |
51 | <property name="width" type="int" readonly="no"/> | |
52 | <property name="height" type="int" readonly="no"/> | |
53 | <method name="__eq__" type="bool" overloaded="no"> | |
54 | <autodoc>__eq__(Size sz) -> bool</autodoc> | |
55 | <docstring>Test for equality of wx.Size objects.</docstring> | |
56 | <paramlist> | |
57 | <param name="sz" type="Size" default=""/> | |
58 | </paramlist> | |
59 | </method> | |
60 | <method name="__ne__" type="bool" overloaded="no"> | |
61 | <autodoc>__ne__(Size sz) -> bool</autodoc> | |
62 | <docstring>Test for inequality.</docstring> | |
63 | <paramlist> | |
64 | <param name="sz" type="Size" default=""/> | |
65 | </paramlist> | |
66 | </method> | |
67 | <method name="__add__" type="Size" overloaded="no"> | |
68 | <autodoc>__add__(Size sz) -> Size</autodoc> | |
69 | <docstring>Add sz's proprties to this and return the result.</docstring> | |
70 | <paramlist> | |
71 | <param name="sz" type="Size" default=""/> | |
72 | </paramlist> | |
73 | </method> | |
74 | <method name="__sub__" type="Size" overloaded="no"> | |
75 | <autodoc>__sub__(Size sz) -> Size</autodoc> | |
76 | <docstring>Subtract sz's properties from this and return the result.</docstring> | |
77 | <paramlist> | |
78 | <param name="sz" type="Size" default=""/> | |
79 | </paramlist> | |
80 | </method> | |
81 | <method name="IncTo" type="" overloaded="no"> | |
82 | <autodoc>IncTo(Size sz)</autodoc> | |
83 | <docstring>Increments this object so that both of its dimensions are not less | |
0f43fbdf | 84 | than the corresponding dimensions of the size.</docstring> |
f32fc4bc RD |
85 | <paramlist> |
86 | <param name="sz" type="Size" default=""/> | |
87 | </paramlist> | |
88 | </method> | |
89 | <method name="DecTo" type="" overloaded="no"> | |
90 | <autodoc>DecTo(Size sz)</autodoc> | |
91 | <docstring>Decrements this object so that both of its dimensions are not greater | |
0f43fbdf | 92 | than the corresponding dimensions of the size.</docstring> |
f32fc4bc RD |
93 | <paramlist> |
94 | <param name="sz" type="Size" default=""/> | |
95 | </paramlist> | |
96 | </method> | |
97 | <method name="Set" type="" overloaded="no"> | |
98 | <autodoc>Set(int w, int h)</autodoc> | |
99 | <docstring>Set both width and height.</docstring> | |
100 | <paramlist> | |
101 | <param name="w" type="int" default=""/> | |
102 | <param name="h" type="int" default=""/> | |
103 | </paramlist> | |
104 | </method> | |
105 | <method name="SetWidth" type="" overloaded="no"> | |
106 | <autodoc>SetWidth(int w)</autodoc> | |
107 | <paramlist> | |
108 | <param name="w" type="int" default=""/> | |
109 | </paramlist> | |
110 | </method> | |
111 | <method name="SetHeight" type="" overloaded="no"> | |
112 | <autodoc>SetHeight(int h)</autodoc> | |
113 | <paramlist> | |
114 | <param name="h" type="int" default=""/> | |
115 | </paramlist> | |
116 | </method> | |
117 | <method name="GetWidth" type="int" overloaded="no"> | |
118 | <autodoc>GetWidth() -> int</autodoc> | |
119 | </method> | |
120 | <method name="GetHeight" type="int" overloaded="no"> | |
121 | <autodoc>GetHeight() -> int</autodoc> | |
122 | </method> | |
123 | <method name="Get" type="PyObject" overloaded="no"> | |
124 | <autodoc>Get() -> (width,height)</autodoc> | |
125 | <docstring>Returns the width and height properties as a tuple.</docstring> | |
126 | </method> | |
127 | </class> | |
0dd25e81 | 128 | <pythoncode> |
0f43fbdf RD |
129 | #--------------------------------------------------------------------------- |
130 | </pythoncode> | |
f32fc4bc RD |
131 | <class name="RealPoint" oldname="wxRealPoint" module="core"> |
132 | <docstring>A data structure for representing a point or position with floating point x | |
0f43fbdf RD |
133 | and y properties. In wxPython most places that expect a wx.RealPoint can also |
134 | accept a (x,y) tuple.</docstring> | |
f32fc4bc RD |
135 | <constructor name="RealPoint" overloaded="no"> |
136 | <autodoc>__init__(double x=0.0, double y=0.0) -> RealPoint</autodoc> | |
137 | <docstring>Create a wx.RealPoint object</docstring> | |
138 | <paramlist> | |
139 | <param name="x" type="double" default="0.0"/> | |
140 | <param name="y" type="double" default="0.0"/> | |
141 | </paramlist> | |
142 | </constructor> | |
143 | <destructor name="~wxRealPoint" overloaded="no"> | |
144 | <autodoc>__del__()</autodoc> | |
145 | </destructor> | |
146 | <property name="x" type="double" readonly="no"/> | |
147 | <property name="y" type="double" readonly="no"/> | |
148 | <method name="__eq__" type="bool" overloaded="no"> | |
149 | <autodoc>__eq__(RealPoint pt) -> bool</autodoc> | |
150 | <docstring>Test for equality of wx.RealPoint objects.</docstring> | |
151 | <paramlist> | |
152 | <param name="pt" type="RealPoint" default=""/> | |
153 | </paramlist> | |
154 | </method> | |
155 | <method name="__ne__" type="bool" overloaded="no"> | |
156 | <autodoc>__ne__(RealPoint pt) -> bool</autodoc> | |
157 | <docstring>Test for inequality of wx.RealPoint objects.</docstring> | |
158 | <paramlist> | |
159 | <param name="pt" type="RealPoint" default=""/> | |
160 | </paramlist> | |
161 | </method> | |
162 | <method name="__add__" type="RealPoint" overloaded="no"> | |
163 | <autodoc>__add__(RealPoint pt) -> RealPoint</autodoc> | |
164 | <docstring>Add pt's proprties to this and return the result.</docstring> | |
165 | <paramlist> | |
166 | <param name="pt" type="RealPoint" default=""/> | |
167 | </paramlist> | |
168 | </method> | |
169 | <method name="__sub__" type="RealPoint" overloaded="no"> | |
170 | <autodoc>__sub__(RealPoint pt) -> RealPoint</autodoc> | |
171 | <docstring>Subtract pt's proprties from this and return the result</docstring> | |
172 | <paramlist> | |
173 | <param name="pt" type="RealPoint" default=""/> | |
174 | </paramlist> | |
175 | </method> | |
176 | <method name="Set" type="" overloaded="no"> | |
177 | <autodoc>Set(double x, double y)</autodoc> | |
178 | <docstring>Set both the x and y properties</docstring> | |
179 | <paramlist> | |
180 | <param name="x" type="double" default=""/> | |
181 | <param name="y" type="double" default=""/> | |
182 | </paramlist> | |
183 | </method> | |
184 | <method name="Get" type="PyObject" overloaded="no"> | |
185 | <autodoc>Get() -> (x,y)</autodoc> | |
186 | <docstring>Return the x and y properties as a tuple. </docstring> | |
187 | </method> | |
188 | </class> | |
0dd25e81 | 189 | <pythoncode> |
0f43fbdf RD |
190 | #--------------------------------------------------------------------------- |
191 | </pythoncode> | |
f32fc4bc RD |
192 | <class name="Point" oldname="wxPoint" module="core"> |
193 | <docstring>A data structure for representing a point or position with integer x and y | |
0f43fbdf RD |
194 | properties. Most places in wxPython that expect a wx.Point can also accept a |
195 | (x,y) tuple.</docstring> | |
f32fc4bc RD |
196 | <constructor name="Point" overloaded="no"> |
197 | <autodoc>__init__(int x=0, int y=0) -> Point</autodoc> | |
198 | <docstring>Create a wx.Point object</docstring> | |
199 | <paramlist> | |
200 | <param name="x" type="int" default="0"/> | |
201 | <param name="y" type="int" default="0"/> | |
202 | </paramlist> | |
203 | </constructor> | |
204 | <destructor name="~wxPoint" overloaded="no"> | |
205 | <autodoc>__del__()</autodoc> | |
206 | </destructor> | |
207 | <property name="x" type="int" readonly="no"/> | |
208 | <property name="y" type="int" readonly="no"/> | |
209 | <method name="__eq__" type="bool" overloaded="no"> | |
210 | <autodoc>__eq__(Point pt) -> bool</autodoc> | |
211 | <docstring>Test for equality of wx.Point objects.</docstring> | |
212 | <paramlist> | |
213 | <param name="pt" type="Point" default=""/> | |
214 | </paramlist> | |
215 | </method> | |
216 | <method name="__ne__" type="bool" overloaded="no"> | |
217 | <autodoc>__ne__(Point pt) -> bool</autodoc> | |
218 | <docstring>Test for inequality of wx.Point objects.</docstring> | |
219 | <paramlist> | |
220 | <param name="pt" type="Point" default=""/> | |
221 | </paramlist> | |
222 | </method> | |
223 | <method name="__add__" type="Point" overloaded="no"> | |
224 | <autodoc>__add__(Point pt) -> Point</autodoc> | |
225 | <docstring>Add pt's proprties to this and return the result.</docstring> | |
226 | <paramlist> | |
227 | <param name="pt" type="Point" default=""/> | |
228 | </paramlist> | |
229 | </method> | |
230 | <method name="__sub__" type="Point" overloaded="no"> | |
231 | <autodoc>__sub__(Point pt) -> Point</autodoc> | |
232 | <docstring>Subtract pt's proprties from this and return the result</docstring> | |
233 | <paramlist> | |
234 | <param name="pt" type="Point" default=""/> | |
235 | </paramlist> | |
236 | </method> | |
237 | <method name="__iadd__" type="Point" overloaded="no"> | |
238 | <autodoc>__iadd__(Point pt) -> Point</autodoc> | |
239 | <docstring>Add pt to this object.</docstring> | |
240 | <paramlist> | |
241 | <param name="pt" type="Point" default=""/> | |
242 | </paramlist> | |
243 | </method> | |
244 | <method name="__isub__" type="Point" overloaded="no"> | |
245 | <autodoc>__isub__(Point pt) -> Point</autodoc> | |
246 | <docstring>Subtract pt from this object.</docstring> | |
247 | <paramlist> | |
248 | <param name="pt" type="Point" default=""/> | |
249 | </paramlist> | |
250 | </method> | |
251 | <method name="Set" type="" overloaded="no"> | |
252 | <autodoc>Set(long x, long y)</autodoc> | |
253 | <docstring>Set both the x and y properties</docstring> | |
254 | <paramlist> | |
255 | <param name="x" type="long" default=""/> | |
256 | <param name="y" type="long" default=""/> | |
257 | </paramlist> | |
258 | </method> | |
259 | <method name="Get" type="PyObject" overloaded="no"> | |
260 | <autodoc>Get() -> (x,y)</autodoc> | |
261 | <docstring>Return the x and y properties as a tuple. </docstring> | |
262 | </method> | |
263 | </class> | |
0dd25e81 | 264 | <pythoncode> |
0f43fbdf RD |
265 | #--------------------------------------------------------------------------- |
266 | </pythoncode> | |
f32fc4bc RD |
267 | <class name="Rect" oldname="wxRect" module="core"> |
268 | <docstring>A class for representing and manipulating rectangles. It has x, y, width and | |
0f43fbdf RD |
269 | height properties. In wxPython most palces that expect a wx.Rect can also |
270 | accept a (x,y,width,height) tuple.</docstring> | |
f32fc4bc RD |
271 | <constructor name="Rect" overloaded="no"> |
272 | <autodoc>__init__(int x=0, int y=0, int width=0, int height=0) -> Rect</autodoc> | |
273 | <docstring>Create a new Rect object.</docstring> | |
274 | <paramlist> | |
275 | <param name="x" type="int" default="0"/> | |
276 | <param name="y" type="int" default="0"/> | |
277 | <param name="width" type="int" default="0"/> | |
278 | <param name="height" type="int" default="0"/> | |
279 | </paramlist> | |
280 | </constructor> | |
281 | <constructor name="RectPP" overloaded="no"> | |
282 | <autodoc>RectPP(Point topLeft, Point bottomRight) -> Rect</autodoc> | |
283 | <docstring>Create a new Rect object from Points representing two corners.</docstring> | |
284 | <paramlist> | |
285 | <param name="topLeft" type="Point" default=""/> | |
286 | <param name="bottomRight" type="Point" default=""/> | |
287 | </paramlist> | |
288 | </constructor> | |
289 | <constructor name="RectPS" overloaded="no"> | |
290 | <autodoc>RectPS(Point pos, Size size) -> Rect</autodoc> | |
291 | <docstring>Create a new Rect from a position and size.</docstring> | |
292 | <paramlist> | |
293 | <param name="pos" type="Point" default=""/> | |
294 | <param name="size" type="Size" default=""/> | |
295 | </paramlist> | |
296 | </constructor> | |
297 | <destructor name="~wxRect" overloaded="no"> | |
298 | <autodoc>__del__()</autodoc> | |
299 | </destructor> | |
300 | <method name="GetX" type="int" overloaded="no"> | |
301 | <autodoc>GetX() -> int</autodoc> | |
302 | </method> | |
303 | <method name="SetX" type="" overloaded="no"> | |
304 | <autodoc>SetX(int x)</autodoc> | |
305 | <paramlist> | |
306 | <param name="x" type="int" default=""/> | |
307 | </paramlist> | |
308 | </method> | |
309 | <method name="GetY" type="int" overloaded="no"> | |
310 | <autodoc>GetY() -> int</autodoc> | |
311 | </method> | |
312 | <method name="SetY" type="" overloaded="no"> | |
313 | <autodoc>SetY(int y)</autodoc> | |
314 | <paramlist> | |
315 | <param name="y" type="int" default=""/> | |
316 | </paramlist> | |
317 | </method> | |
318 | <method name="GetWidth" type="int" overloaded="no"> | |
319 | <autodoc>GetWidth() -> int</autodoc> | |
320 | </method> | |
321 | <method name="SetWidth" type="" overloaded="no"> | |
322 | <autodoc>SetWidth(int w)</autodoc> | |
323 | <paramlist> | |
324 | <param name="w" type="int" default=""/> | |
325 | </paramlist> | |
326 | </method> | |
327 | <method name="GetHeight" type="int" overloaded="no"> | |
328 | <autodoc>GetHeight() -> int</autodoc> | |
329 | </method> | |
330 | <method name="SetHeight" type="" overloaded="no"> | |
331 | <autodoc>SetHeight(int h)</autodoc> | |
332 | <paramlist> | |
333 | <param name="h" type="int" default=""/> | |
334 | </paramlist> | |
335 | </method> | |
336 | <method name="GetPosition" type="Point" overloaded="no"> | |
337 | <autodoc>GetPosition() -> Point</autodoc> | |
338 | </method> | |
339 | <method name="SetPosition" type="" overloaded="no"> | |
340 | <autodoc>SetPosition(Point p)</autodoc> | |
341 | <paramlist> | |
342 | <param name="p" type="Point" default=""/> | |
343 | </paramlist> | |
344 | </method> | |
345 | <method name="GetSize" type="Size" overloaded="no"> | |
346 | <autodoc>GetSize() -> Size</autodoc> | |
347 | </method> | |
348 | <method name="SetSize" type="" overloaded="no"> | |
349 | <autodoc>SetSize(Size s)</autodoc> | |
350 | <paramlist> | |
351 | <param name="s" type="Size" default=""/> | |
352 | </paramlist> | |
353 | </method> | |
354 | <method name="GetTopLeft" type="Point" overloaded="no"> | |
355 | <autodoc>GetTopLeft() -> Point</autodoc> | |
356 | </method> | |
357 | <method name="SetTopLeft" type="" overloaded="no"> | |
358 | <autodoc>SetTopLeft(Point p)</autodoc> | |
359 | <paramlist> | |
360 | <param name="p" type="Point" default=""/> | |
361 | </paramlist> | |
362 | </method> | |
363 | <method name="GetBottomRight" type="Point" overloaded="no"> | |
364 | <autodoc>GetBottomRight() -> Point</autodoc> | |
365 | </method> | |
366 | <method name="SetBottomRight" type="" overloaded="no"> | |
367 | <autodoc>SetBottomRight(Point p)</autodoc> | |
368 | <paramlist> | |
369 | <param name="p" type="Point" default=""/> | |
370 | </paramlist> | |
371 | </method> | |
372 | <method name="GetLeft" type="int" overloaded="no"> | |
373 | <autodoc>GetLeft() -> int</autodoc> | |
374 | </method> | |
375 | <method name="GetTop" type="int" overloaded="no"> | |
376 | <autodoc>GetTop() -> int</autodoc> | |
377 | </method> | |
378 | <method name="GetBottom" type="int" overloaded="no"> | |
379 | <autodoc>GetBottom() -> int</autodoc> | |
380 | </method> | |
381 | <method name="GetRight" type="int" overloaded="no"> | |
382 | <autodoc>GetRight() -> int</autodoc> | |
383 | </method> | |
384 | <method name="SetLeft" type="" overloaded="no"> | |
385 | <autodoc>SetLeft(int left)</autodoc> | |
386 | <paramlist> | |
387 | <param name="left" type="int" default=""/> | |
388 | </paramlist> | |
389 | </method> | |
390 | <method name="SetRight" type="" overloaded="no"> | |
391 | <autodoc>SetRight(int right)</autodoc> | |
392 | <paramlist> | |
393 | <param name="right" type="int" default=""/> | |
394 | </paramlist> | |
395 | </method> | |
396 | <method name="SetTop" type="" overloaded="no"> | |
397 | <autodoc>SetTop(int top)</autodoc> | |
398 | <paramlist> | |
399 | <param name="top" type="int" default=""/> | |
400 | </paramlist> | |
401 | </method> | |
402 | <method name="SetBottom" type="" overloaded="no"> | |
403 | <autodoc>SetBottom(int bottom)</autodoc> | |
404 | <paramlist> | |
405 | <param name="bottom" type="int" default=""/> | |
406 | </paramlist> | |
407 | </method> | |
408 | <method name="Inflate" type="Rect" overloaded="no"> | |
409 | <autodoc>Inflate(int dx, int dy) -> Rect</autodoc> | |
410 | <docstring>Increase the rectangle size by dx in x direction and dy in y direction. Both | |
0f43fbdf | 411 | (or one of) parameters may be negative to decrease the rectangle size.</docstring> |
f32fc4bc RD |
412 | <paramlist> |
413 | <param name="dx" type="int" default=""/> | |
414 | <param name="dy" type="int" default=""/> | |
415 | </paramlist> | |
416 | </method> | |
417 | <method name="Deflate" type="Rect" overloaded="no"> | |
418 | <autodoc>Deflate(int dx, int dy) -> Rect</autodoc> | |
419 | <docstring>Decrease the rectangle size by dx in x direction and dy in y direction. Both | |
0f43fbdf RD |
420 | (or one of) parameters may be negative to increase the rectngle size. This |
421 | method is the opposite of Inflate.</docstring> | |
f32fc4bc RD |
422 | <paramlist> |
423 | <param name="dx" type="int" default=""/> | |
424 | <param name="dy" type="int" default=""/> | |
425 | </paramlist> | |
426 | </method> | |
427 | <method name="OffsetXY" type="" overloaded="no"> | |
428 | <autodoc>OffsetXY(int dx, int dy)</autodoc> | |
429 | <docstring>Moves the rectangle by the specified offset. If dx is positive, the rectangle | |
0f43fbdf RD |
430 | is moved to the right, if dy is positive, it is moved to the bottom, otherwise |
431 | it is moved to the left or top respectively.</docstring> | |
f32fc4bc RD |
432 | <paramlist> |
433 | <param name="dx" type="int" default=""/> | |
434 | <param name="dy" type="int" default=""/> | |
435 | </paramlist> | |
436 | </method> | |
437 | <method name="Offset" type="" overloaded="no"> | |
438 | <autodoc>Offset(Point pt)</autodoc> | |
439 | <docstring>Same as OffsetXY but uses dx,dy from Point</docstring> | |
440 | <paramlist> | |
441 | <param name="pt" type="Point" default=""/> | |
442 | </paramlist> | |
443 | </method> | |
444 | <method name="Intersect" type="Rect" overloaded="no"> | |
445 | <autodoc>Intersect(Rect rect) -> Rect</autodoc> | |
446 | <docstring>Return the intersectsion of this rectangle and rect.</docstring> | |
447 | <paramlist> | |
448 | <param name="rect" type="Rect" default=""/> | |
449 | </paramlist> | |
450 | </method> | |
451 | <method name="__add__" type="Rect" overloaded="no"> | |
452 | <autodoc>__add__(Rect rect) -> Rect</autodoc> | |
453 | <docstring>Add the properties of rect to this rectangle and return the result.</docstring> | |
454 | <paramlist> | |
455 | <param name="rect" type="Rect" default=""/> | |
456 | </paramlist> | |
457 | </method> | |
458 | <method name="__iadd__" type="Rect" overloaded="no"> | |
459 | <autodoc>__iadd__(Rect rect) -> Rect</autodoc> | |
460 | <docstring>Add the properties of rect to this rectangle, updating this rectangle.</docstring> | |
461 | <paramlist> | |
462 | <param name="rect" type="Rect" default=""/> | |
463 | </paramlist> | |
464 | </method> | |
465 | <method name="__eq__" type="bool" overloaded="no"> | |
466 | <autodoc>__eq__(Rect rect) -> bool</autodoc> | |
467 | <docstring>Test for equality.</docstring> | |
468 | <paramlist> | |
469 | <param name="rect" type="Rect" default=""/> | |
470 | </paramlist> | |
471 | </method> | |
472 | <method name="__ne__" type="bool" overloaded="no"> | |
473 | <autodoc>__ne__(Rect rect) -> bool</autodoc> | |
474 | <docstring>Test for inequality.</docstring> | |
475 | <paramlist> | |
476 | <param name="rect" type="Rect" default=""/> | |
477 | </paramlist> | |
478 | </method> | |
479 | <method name="InsideXY" type="bool" overloaded="no"> | |
480 | <autodoc>InsideXY(int x, int y) -> bool</autodoc> | |
481 | <docstring>Return True if the point is (not strcitly) inside the rect.</docstring> | |
482 | <paramlist> | |
483 | <param name="x" type="int" default=""/> | |
484 | <param name="y" type="int" default=""/> | |
485 | </paramlist> | |
486 | </method> | |
487 | <method name="Inside" type="bool" overloaded="no"> | |
488 | <autodoc>Inside(Point pt) -> bool</autodoc> | |
489 | <docstring>Return True if the point is (not strcitly) inside the rect.</docstring> | |
490 | <paramlist> | |
491 | <param name="pt" type="Point" default=""/> | |
492 | </paramlist> | |
493 | </method> | |
494 | <method name="Intersects" type="bool" overloaded="no"> | |
495 | <autodoc>Intersects(Rect rect) -> bool</autodoc> | |
496 | <docstring>Returns True if the rectangles have a non empty intersection.</docstring> | |
497 | <paramlist> | |
498 | <param name="rect" type="Rect" default=""/> | |
499 | </paramlist> | |
500 | </method> | |
501 | <property name="x" type="int" readonly="no"/> | |
502 | <property name="y" type="int" readonly="no"/> | |
503 | <property name="width" type="int" readonly="no"/> | |
504 | <property name="height" type="int" readonly="no"/> | |
505 | <method name="Set" type="" overloaded="no"> | |
506 | <autodoc>Set(int x=0, int y=0, int width=0, int height=0)</autodoc> | |
507 | <docstring>Set all rectangle properties.</docstring> | |
508 | <paramlist> | |
509 | <param name="x" type="int" default="0"/> | |
510 | <param name="y" type="int" default="0"/> | |
511 | <param name="width" type="int" default="0"/> | |
512 | <param name="height" type="int" default="0"/> | |
513 | </paramlist> | |
514 | </method> | |
515 | <method name="Get" type="PyObject" overloaded="no"> | |
516 | <autodoc>Get() -> (x,y,width,height)</autodoc> | |
517 | <docstring>Return the rectangle properties as a tuple.</docstring> | |
518 | </method> | |
519 | </class> | |
520 | <method name="IntersectRect" oldname="wxIntersectRect" type="PyObject" overloaded="no"> | |
521 | <autodoc>IntersectRect(Rect r1, Rect r2) -> Rect</autodoc> | |
522 | <docstring>Calculate and return the intersection of r1 and r2.</docstring> | |
523 | <paramlist> | |
524 | <param name="r1" type="Rect" default=""/> | |
525 | <param name="r2" type="Rect" default=""/> | |
856bf319 RD |
526 | </paramlist> |
527 | </method> | |
0dd25e81 | 528 | <pythoncode> |
0f43fbdf RD |
529 | #--------------------------------------------------------------------------- |
530 | </pythoncode> | |
f32fc4bc RD |
531 | <class name="Point2D" oldname="wxPoint2D" module="core"> |
532 | <docstring>wx.Point2Ds represent a point or a vector in a 2d coordinate system with floating point values.</docstring> | |
533 | <constructor name="Point2D" overloaded="no"> | |
534 | <autodoc>__init__(double x=0.0, double y=0.0) -> Point2D</autodoc> | |
535 | <docstring>Create a w.Point2D object.</docstring> | |
536 | <paramlist> | |
537 | <param name="x" type="double" default="0.0"/> | |
538 | <param name="y" type="double" default="0.0"/> | |
539 | </paramlist> | |
540 | </constructor> | |
541 | <constructor name="Point2DCopy" overloaded="no"> | |
542 | <autodoc>Point2DCopy(Point2D pt) -> Point2D</autodoc> | |
543 | <docstring>Create a w.Point2D object.</docstring> | |
544 | <paramlist> | |
545 | <param name="pt" type="Point2D" default=""/> | |
546 | </paramlist> | |
547 | </constructor> | |
548 | <constructor name="Point2DFromPoint" overloaded="no"> | |
549 | <autodoc>Point2DFromPoint(Point pt) -> Point2D</autodoc> | |
550 | <docstring>Create a w.Point2D object.</docstring> | |
551 | <paramlist> | |
552 | <param name="pt" type="Point" default=""/> | |
553 | </paramlist> | |
554 | </constructor> | |
555 | <method name="GetFloor" type="" overloaded="no"> | |
556 | <autodoc>GetFloor() -> (x,y)</autodoc> | |
557 | <docstring>Convert to integer</docstring> | |
558 | <paramlist> | |
559 | <param name="OUTPUT" type="int" default=""/> | |
560 | <param name="OUTPUT" type="int" default=""/> | |
561 | </paramlist> | |
562 | </method> | |
563 | <method name="GetRounded" type="" overloaded="no"> | |
564 | <autodoc>GetRounded() -> (x,y)</autodoc> | |
565 | <docstring>Convert to integer</docstring> | |
566 | <paramlist> | |
567 | <param name="OUTPUT" type="int" default=""/> | |
568 | <param name="OUTPUT" type="int" default=""/> | |
569 | </paramlist> | |
570 | </method> | |
571 | <method name="GetVectorLength" type="double" overloaded="no"> | |
572 | <autodoc>GetVectorLength() -> double</autodoc> | |
573 | </method> | |
574 | <method name="GetVectorAngle" type="double" overloaded="no"> | |
575 | <autodoc>GetVectorAngle() -> double</autodoc> | |
576 | </method> | |
577 | <method name="SetVectorLength" type="" overloaded="no"> | |
578 | <autodoc>SetVectorLength(double length)</autodoc> | |
579 | <paramlist> | |
580 | <param name="length" type="double" default=""/> | |
581 | </paramlist> | |
582 | </method> | |
583 | <method name="SetVectorAngle" type="" overloaded="no"> | |
584 | <autodoc>SetVectorAngle(double degrees)</autodoc> | |
585 | <paramlist> | |
586 | <param name="degrees" type="double" default=""/> | |
587 | </paramlist> | |
588 | </method> | |
589 | <method name="GetDistance" type="double" overloaded="no"> | |
590 | <autodoc>GetDistance(Point2D pt) -> double</autodoc> | |
591 | <paramlist> | |
592 | <param name="pt" type="Point2D" default=""/> | |
593 | </paramlist> | |
594 | </method> | |
595 | <method name="GetDistanceSquare" type="double" overloaded="no"> | |
596 | <autodoc>GetDistanceSquare(Point2D pt) -> double</autodoc> | |
597 | <paramlist> | |
598 | <param name="pt" type="Point2D" default=""/> | |
599 | </paramlist> | |
600 | </method> | |
601 | <method name="GetDotProduct" type="double" overloaded="no"> | |
602 | <autodoc>GetDotProduct(Point2D vec) -> double</autodoc> | |
603 | <paramlist> | |
604 | <param name="vec" type="Point2D" default=""/> | |
605 | </paramlist> | |
606 | </method> | |
607 | <method name="GetCrossProduct" type="double" overloaded="no"> | |
608 | <autodoc>GetCrossProduct(Point2D vec) -> double</autodoc> | |
609 | <paramlist> | |
610 | <param name="vec" type="Point2D" default=""/> | |
611 | </paramlist> | |
612 | </method> | |
613 | <method name="__neg__" type="Point2D" overloaded="no"> | |
614 | <autodoc>__neg__() -> Point2D</autodoc> | |
615 | <docstring>the reflection of this point</docstring> | |
616 | </method> | |
617 | <method name="__iadd__" type="Point2D" overloaded="no"> | |
618 | <autodoc>__iadd__(Point2D pt) -> Point2D</autodoc> | |
619 | <paramlist> | |
620 | <param name="pt" type="Point2D" default=""/> | |
621 | </paramlist> | |
622 | </method> | |
623 | <method name="__isub__" type="Point2D" overloaded="no"> | |
624 | <autodoc>__isub__(Point2D pt) -> Point2D</autodoc> | |
625 | <paramlist> | |
626 | <param name="pt" type="Point2D" default=""/> | |
627 | </paramlist> | |
628 | </method> | |
629 | <method name="__imul__" type="Point2D" overloaded="no"> | |
630 | <autodoc>__imul__(Point2D pt) -> Point2D</autodoc> | |
631 | <paramlist> | |
632 | <param name="pt" type="Point2D" default=""/> | |
633 | </paramlist> | |
634 | </method> | |
635 | <method name="__idiv__" type="Point2D" overloaded="no"> | |
636 | <autodoc>__idiv__(Point2D pt) -> Point2D</autodoc> | |
637 | <paramlist> | |
638 | <param name="pt" type="Point2D" default=""/> | |
639 | </paramlist> | |
640 | </method> | |
641 | <method name="__eq__" type="bool" overloaded="no"> | |
642 | <autodoc>__eq__(Point2D pt) -> bool</autodoc> | |
643 | <docstring>Test for equality</docstring> | |
644 | <paramlist> | |
645 | <param name="pt" type="Point2D" default=""/> | |
646 | </paramlist> | |
647 | </method> | |
648 | <method name="__ne__" type="bool" overloaded="no"> | |
649 | <autodoc>__ne__(Point2D pt) -> bool</autodoc> | |
650 | <docstring>Test for inequality</docstring> | |
651 | <paramlist> | |
652 | <param name="pt" type="Point2D" default=""/> | |
653 | </paramlist> | |
654 | </method> | |
655 | <property name="x" type="double" readonly="no"/> | |
656 | <property name="y" type="double" readonly="no"/> | |
657 | <method name="Set" type="" overloaded="no"> | |
658 | <autodoc>Set(double x=0, double y=0)</autodoc> | |
659 | <paramlist> | |
660 | <param name="x" type="double" default="0"/> | |
661 | <param name="y" type="double" default="0"/> | |
662 | </paramlist> | |
663 | </method> | |
664 | <method name="Get" type="PyObject" overloaded="no"> | |
665 | <autodoc>Get() -> (x,y)</autodoc> | |
666 | <docstring>Return x and y properties as a tuple.</docstring> | |
667 | </method> | |
668 | </class> | |
0dd25e81 | 669 | <pythoncode> |
f32fc4bc RD |
670 | #--------------------------------------------------------------------------- |
671 | </pythoncode> | |
672 | <class name="InputStream" oldname="wxPyInputStream" module="core"> | |
673 | <constructor name="wxPyInputStream" overloaded="no"> | |
674 | <autodoc>__init__(PyObject p) -> InputStream</autodoc> | |
675 | <paramlist> | |
676 | <param name="p" type="PyObject" default=""/> | |
677 | </paramlist> | |
678 | </constructor> | |
679 | <method name="close" type="" overloaded="no"> | |
680 | <autodoc>close()</autodoc> | |
681 | </method> | |
682 | <method name="flush" type="" overloaded="no"> | |
683 | <autodoc>flush()</autodoc> | |
684 | </method> | |
685 | <method name="eof" type="bool" overloaded="no"> | |
686 | <autodoc>eof() -> bool</autodoc> | |
687 | </method> | |
688 | <method name="read" type="PyObject" overloaded="no"> | |
689 | <autodoc>read(int size=-1) -> PyObject</autodoc> | |
690 | <paramlist> | |
691 | <param name="size" type="int" default="-1"/> | |
692 | </paramlist> | |
693 | </method> | |
694 | <method name="readline" type="PyObject" overloaded="no"> | |
695 | <autodoc>readline(int size=-1) -> PyObject</autodoc> | |
696 | <paramlist> | |
697 | <param name="size" type="int" default="-1"/> | |
698 | </paramlist> | |
699 | </method> | |
700 | <method name="readlines" type="PyObject" overloaded="no"> | |
701 | <autodoc>readlines(int sizehint=-1) -> PyObject</autodoc> | |
702 | <paramlist> | |
703 | <param name="sizehint" type="int" default="-1"/> | |
704 | </paramlist> | |
705 | </method> | |
706 | <method name="seek" type="" overloaded="no"> | |
707 | <autodoc>seek(int offset, int whence=0)</autodoc> | |
708 | <paramlist> | |
709 | <param name="offset" type="int" default=""/> | |
710 | <param name="whence" type="int" default="0"/> | |
711 | </paramlist> | |
712 | </method> | |
713 | <method name="tell" type="int" overloaded="no"> | |
714 | <autodoc>tell() -> int</autodoc> | |
715 | </method> | |
716 | <method name="Peek" type="char" overloaded="no"> | |
717 | <autodoc>Peek() -> char</autodoc> | |
718 | </method> | |
719 | <method name="GetC" type="char" overloaded="no"> | |
720 | <autodoc>GetC() -> char</autodoc> | |
721 | </method> | |
722 | <method name="LastRead" type="size_t" overloaded="no"> | |
723 | <autodoc>LastRead() -> size_t</autodoc> | |
724 | </method> | |
725 | <method name="CanRead" type="bool" overloaded="no"> | |
726 | <autodoc>CanRead() -> bool</autodoc> | |
727 | </method> | |
728 | <method name="Eof" type="bool" overloaded="no"> | |
729 | <autodoc>Eof() -> bool</autodoc> | |
730 | </method> | |
731 | <method name="Ungetch" type="bool" overloaded="no"> | |
732 | <autodoc>Ungetch(char c) -> bool</autodoc> | |
733 | <paramlist> | |
734 | <param name="c" type="char" default=""/> | |
735 | </paramlist> | |
736 | </method> | |
737 | <method name="SeekI" type="long" overloaded="no"> | |
738 | <autodoc>SeekI(long pos, int mode=FromStart) -> long</autodoc> | |
739 | <paramlist> | |
740 | <param name="pos" type="long" default=""/> | |
741 | <param name="mode" type="wxSeekMode" default="wxFromStart"/> | |
742 | </paramlist> | |
743 | </method> | |
744 | <method name="TellI" type="long" overloaded="no"> | |
745 | <autodoc>TellI() -> long</autodoc> | |
746 | </method> | |
747 | </class> | |
748 | <class name="OutputStream" oldname="wxOutputStream" module="core"> | |
749 | <method name="write" type="" overloaded="no"> | |
750 | <autodoc>write(PyObject obj)</autodoc> | |
751 | <paramlist> | |
752 | <param name="obj" type="PyObject" default=""/> | |
753 | </paramlist> | |
754 | </method> | |
755 | </class> | |
0dd25e81 | 756 | <pythoncode> |
0f43fbdf RD |
757 | #--------------------------------------------------------------------------- |
758 | </pythoncode> | |
f32fc4bc RD |
759 | <class name="FSFile" oldname="wxFSFile" module="core"> |
760 | <baseclass name="Object"/> | |
761 | <constructor name="FSFile" overloaded="no"> | |
762 | <autodoc>__init__(InputStream stream, String loc, String mimetype, String anchor, | |
763 | DateTime modif) -> FSFile</autodoc> | |
764 | <paramlist> | |
765 | <param name="stream" type="wxInputStream" default=""/> | |
766 | <param name="loc" type="String" default=""/> | |
767 | <param name="mimetype" type="String" default=""/> | |
768 | <param name="anchor" type="String" default=""/> | |
769 | <param name="modif" type="wxDateTime" default=""/> | |
770 | </paramlist> | |
771 | </constructor> | |
772 | <destructor name="~wxFSFile" overloaded="no"> | |
773 | <autodoc>__del__()</autodoc> | |
774 | </destructor> | |
775 | <method name="GetStream" type="wxInputStream" overloaded="no"> | |
776 | <autodoc>GetStream() -> InputStream</autodoc> | |
777 | </method> | |
778 | <method name="GetMimeType" type="String" overloaded="no"> | |
779 | <autodoc>GetMimeType() -> String</autodoc> | |
780 | </method> | |
781 | <method name="GetLocation" type="String" overloaded="no"> | |
782 | <autodoc>GetLocation() -> String</autodoc> | |
783 | </method> | |
784 | <method name="GetAnchor" type="String" overloaded="no"> | |
785 | <autodoc>GetAnchor() -> String</autodoc> | |
786 | </method> | |
787 | <method name="GetModificationTime" type="wxDateTime" overloaded="no"> | |
788 | <autodoc>GetModificationTime() -> DateTime</autodoc> | |
789 | </method> | |
790 | </class> | |
791 | <class name="CPPFileSystemHandler" oldname="wxFileSystemHandler" module="core"/> | |
792 | <class name="FileSystemHandler" oldname="wxPyFileSystemHandler" module="core"> | |
793 | <baseclass name="CPPFileSystemHandler"/> | |
794 | <constructor name="wxPyFileSystemHandler" overloaded="no"> | |
795 | <autodoc>__init__() -> FileSystemHandler</autodoc> | |
796 | </constructor> | |
797 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
798 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
799 | <paramlist> | |
800 | <param name="self" type="PyObject" default=""/> | |
801 | <param name="_class" type="PyObject" default=""/> | |
802 | </paramlist> | |
803 | </method> | |
804 | <method name="CanOpen" type="bool" overloaded="no"> | |
805 | <autodoc>CanOpen(String location) -> bool</autodoc> | |
806 | <paramlist> | |
807 | <param name="location" type="String" default=""/> | |
808 | </paramlist> | |
809 | </method> | |
810 | <method name="OpenFile" type="FSFile" overloaded="no"> | |
811 | <autodoc>OpenFile(FileSystem fs, String location) -> FSFile</autodoc> | |
812 | <paramlist> | |
813 | <param name="fs" type="wxFileSystem" default=""/> | |
814 | <param name="location" type="String" default=""/> | |
815 | </paramlist> | |
816 | </method> | |
817 | <method name="FindFirst" type="String" overloaded="no"> | |
818 | <autodoc>FindFirst(String spec, int flags=0) -> String</autodoc> | |
819 | <paramlist> | |
820 | <param name="spec" type="String" default=""/> | |
821 | <param name="flags" type="int" default="0"/> | |
822 | </paramlist> | |
823 | </method> | |
824 | <method name="FindNext" type="String" overloaded="no"> | |
825 | <autodoc>FindNext() -> String</autodoc> | |
826 | </method> | |
827 | <method name="GetProtocol" type="String" overloaded="no"> | |
828 | <autodoc>GetProtocol(String location) -> String</autodoc> | |
829 | <paramlist> | |
830 | <param name="location" type="String" default=""/> | |
831 | </paramlist> | |
832 | </method> | |
833 | <method name="GetLeftLocation" type="String" overloaded="no"> | |
834 | <autodoc>GetLeftLocation(String location) -> String</autodoc> | |
835 | <paramlist> | |
836 | <param name="location" type="String" default=""/> | |
837 | </paramlist> | |
838 | </method> | |
839 | <method name="GetAnchor" type="String" overloaded="no"> | |
840 | <autodoc>GetAnchor(String location) -> String</autodoc> | |
841 | <paramlist> | |
842 | <param name="location" type="String" default=""/> | |
843 | </paramlist> | |
844 | </method> | |
845 | <method name="GetRightLocation" type="String" overloaded="no"> | |
846 | <autodoc>GetRightLocation(String location) -> String</autodoc> | |
847 | <paramlist> | |
848 | <param name="location" type="String" default=""/> | |
849 | </paramlist> | |
850 | </method> | |
851 | <method name="GetMimeTypeFromExt" type="String" overloaded="no"> | |
852 | <autodoc>GetMimeTypeFromExt(String location) -> String</autodoc> | |
853 | <paramlist> | |
854 | <param name="location" type="String" default=""/> | |
855 | </paramlist> | |
856 | </method> | |
857 | </class> | |
858 | <class name="FileSystem" oldname="wxFileSystem" module="core"> | |
859 | <baseclass name="Object"/> | |
860 | <constructor name="FileSystem" overloaded="no"> | |
861 | <autodoc>__init__() -> FileSystem</autodoc> | |
862 | </constructor> | |
863 | <destructor name="~wxFileSystem" overloaded="no"> | |
864 | <autodoc>__del__()</autodoc> | |
865 | </destructor> | |
866 | <method name="ChangePathTo" type="" overloaded="no"> | |
867 | <autodoc>ChangePathTo(String location, bool is_dir=False)</autodoc> | |
868 | <paramlist> | |
869 | <param name="location" type="String" default=""/> | |
870 | <param name="is_dir" type="bool" default="False"/> | |
871 | </paramlist> | |
872 | </method> | |
873 | <method name="GetPath" type="String" overloaded="no"> | |
874 | <autodoc>GetPath() -> String</autodoc> | |
875 | </method> | |
876 | <method name="OpenFile" type="FSFile" overloaded="no"> | |
877 | <autodoc>OpenFile(String location) -> FSFile</autodoc> | |
878 | <paramlist> | |
879 | <param name="location" type="String" default=""/> | |
880 | </paramlist> | |
881 | </method> | |
882 | <method name="FindFirst" type="String" overloaded="no"> | |
883 | <autodoc>FindFirst(String spec, int flags=0) -> String</autodoc> | |
884 | <paramlist> | |
885 | <param name="spec" type="String" default=""/> | |
886 | <param name="flags" type="int" default="0"/> | |
887 | </paramlist> | |
888 | </method> | |
889 | <method name="FindNext" type="String" overloaded="no"> | |
890 | <autodoc>FindNext() -> String</autodoc> | |
891 | </method> | |
892 | <staticmethod name="AddHandler" type="" overloaded="no"> | |
893 | <autodoc>AddHandler(CPPFileSystemHandler handler)</autodoc> | |
894 | <paramlist> | |
895 | <param name="handler" type="CPPFileSystemHandler" default=""/> | |
896 | </paramlist> | |
897 | </staticmethod> | |
898 | <staticmethod name="CleanUpHandlers" type="" overloaded="no"> | |
899 | <autodoc>CleanUpHandlers()</autodoc> | |
900 | </staticmethod> | |
901 | <staticmethod name="FileNameToURL" type="String" overloaded="no"> | |
902 | <autodoc>FileNameToURL(String filename) -> String</autodoc> | |
903 | <paramlist> | |
904 | <param name="filename" type="String" default=""/> | |
905 | </paramlist> | |
906 | </staticmethod> | |
907 | </class> | |
908 | <method name="FileSystem_URLToFileName" oldname="wxFileSystem_URLToFileName" type="String" overloaded="no"> | |
909 | <autodoc>FileSystem_URLToFileName(String url) -> String</autodoc> | |
910 | <paramlist> | |
911 | <param name="url" type="String" default=""/> | |
912 | </paramlist> | |
913 | </method> | |
914 | <class name="InternetFSHandler" oldname="wxInternetFSHandler" module="core"> | |
915 | <baseclass name="CPPFileSystemHandler"/> | |
916 | <constructor name="InternetFSHandler" overloaded="no"> | |
917 | <autodoc>__init__() -> InternetFSHandler</autodoc> | |
918 | </constructor> | |
919 | <method name="CanOpen" type="bool" overloaded="no"> | |
920 | <autodoc>CanOpen(String location) -> bool</autodoc> | |
921 | <paramlist> | |
922 | <param name="location" type="String" default=""/> | |
923 | </paramlist> | |
924 | </method> | |
925 | <method name="OpenFile" type="FSFile" overloaded="no"> | |
926 | <autodoc>OpenFile(FileSystem fs, String location) -> FSFile</autodoc> | |
927 | <paramlist> | |
928 | <param name="fs" type="FileSystem" default=""/> | |
929 | <param name="location" type="String" default=""/> | |
930 | </paramlist> | |
931 | </method> | |
932 | </class> | |
933 | <class name="ZipFSHandler" oldname="wxZipFSHandler" module="core"> | |
934 | <baseclass name="CPPFileSystemHandler"/> | |
935 | <constructor name="ZipFSHandler" overloaded="no"> | |
936 | <autodoc>__init__() -> ZipFSHandler</autodoc> | |
937 | </constructor> | |
938 | <method name="CanOpen" type="bool" overloaded="no"> | |
939 | <autodoc>CanOpen(String location) -> bool</autodoc> | |
940 | <paramlist> | |
941 | <param name="location" type="String" default=""/> | |
942 | </paramlist> | |
943 | </method> | |
944 | <method name="OpenFile" type="FSFile" overloaded="no"> | |
945 | <autodoc>OpenFile(FileSystem fs, String location) -> FSFile</autodoc> | |
946 | <paramlist> | |
947 | <param name="fs" type="FileSystem" default=""/> | |
948 | <param name="location" type="String" default=""/> | |
949 | </paramlist> | |
950 | </method> | |
951 | <method name="FindFirst" type="String" overloaded="no"> | |
952 | <autodoc>FindFirst(String spec, int flags=0) -> String</autodoc> | |
953 | <paramlist> | |
954 | <param name="spec" type="String" default=""/> | |
955 | <param name="flags" type="int" default="0"/> | |
956 | </paramlist> | |
957 | </method> | |
958 | <method name="FindNext" type="String" overloaded="no"> | |
959 | <autodoc>FindNext() -> String</autodoc> | |
960 | </method> | |
961 | </class> | |
962 | <method name="__wxMemoryFSHandler_AddFile_wxImage" oldname="__wxMemoryFSHandler_AddFile_wxImage" type="" overloaded="no"> | |
963 | <autodoc>__wxMemoryFSHandler_AddFile_wxImage(String filename, Image image, long type)</autodoc> | |
964 | <paramlist> | |
965 | <param name="filename" type="String" default=""/> | |
966 | <param name="image" type="wxImage" default=""/> | |
967 | <param name="type" type="long" default=""/> | |
856bf319 RD |
968 | </paramlist> |
969 | </method> | |
f32fc4bc RD |
970 | <method name="__wxMemoryFSHandler_AddFile_wxBitmap" oldname="__wxMemoryFSHandler_AddFile_wxBitmap" type="" overloaded="no"> |
971 | <autodoc>__wxMemoryFSHandler_AddFile_wxBitmap(String filename, Bitmap bitmap, long type)</autodoc> | |
856bf319 | 972 | <paramlist> |
f32fc4bc RD |
973 | <param name="filename" type="String" default=""/> |
974 | <param name="bitmap" type="wxBitmap" default=""/> | |
975 | <param name="type" type="long" default=""/> | |
856bf319 RD |
976 | </paramlist> |
977 | </method> | |
f32fc4bc RD |
978 | <method name="__wxMemoryFSHandler_AddFile_Data" oldname="__wxMemoryFSHandler_AddFile_Data" type="" overloaded="no"> |
979 | <autodoc>__wxMemoryFSHandler_AddFile_Data(String filename, PyObject data)</autodoc> | |
856bf319 | 980 | <paramlist> |
f32fc4bc RD |
981 | <param name="filename" type="String" default=""/> |
982 | <param name="data" type="PyObject" default=""/> | |
856bf319 RD |
983 | </paramlist> |
984 | </method> | |
f32fc4bc | 985 | <pythoncode> |
856bf319 RD |
986 | def MemoryFSHandler_AddFile(filename, a, b=''): |
987 | if isinstance(a, wx.Image): | |
988 | __wxMemoryFSHandler_AddFile_wxImage(filename, a, b) | |
989 | elif isinstance(a, wx.Bitmap): | |
990 | __wxMemoryFSHandler_AddFile_wxBitmap(filename, a, b) | |
991 | elif type(a) == str: | |
992 | __wxMemoryFSHandler_AddFile_Data(filename, a) | |
993 | else: raise TypeError, 'wx.Image, wx.Bitmap or string expected' | |
994 | </pythoncode> | |
f32fc4bc RD |
995 | <class name="MemoryFSHandler" oldname="wxMemoryFSHandler" module="core"> |
996 | <baseclass name="CPPFileSystemHandler"/> | |
997 | <constructor name="MemoryFSHandler" overloaded="no"> | |
998 | <autodoc>__init__() -> MemoryFSHandler</autodoc> | |
999 | </constructor> | |
1000 | <staticmethod name="RemoveFile" type="" overloaded="no"> | |
1001 | <autodoc>RemoveFile(String filename)</autodoc> | |
1002 | <paramlist> | |
1003 | <param name="filename" type="String" default=""/> | |
1004 | </paramlist> | |
1005 | </staticmethod> | |
1006 | <method name="CanOpen" type="bool" overloaded="no"> | |
1007 | <autodoc>CanOpen(String location) -> bool</autodoc> | |
1008 | <paramlist> | |
1009 | <param name="location" type="String" default=""/> | |
1010 | </paramlist> | |
1011 | </method> | |
1012 | <method name="OpenFile" type="FSFile" overloaded="no"> | |
1013 | <autodoc>OpenFile(FileSystem fs, String location) -> FSFile</autodoc> | |
1014 | <paramlist> | |
1015 | <param name="fs" type="FileSystem" default=""/> | |
1016 | <param name="location" type="String" default=""/> | |
1017 | </paramlist> | |
1018 | </method> | |
1019 | <method name="FindFirst" type="String" overloaded="no"> | |
1020 | <autodoc>FindFirst(String spec, int flags=0) -> String</autodoc> | |
1021 | <paramlist> | |
1022 | <param name="spec" type="String" default=""/> | |
1023 | <param name="flags" type="int" default="0"/> | |
1024 | </paramlist> | |
1025 | </method> | |
1026 | <method name="FindNext" type="String" overloaded="no"> | |
1027 | <autodoc>FindNext() -> String</autodoc> | |
1028 | </method> | |
1029 | </class> | |
1030 | <pythoncode> | |
0f43fbdf RD |
1031 | #--------------------------------------------------------------------------- |
1032 | </pythoncode> | |
f32fc4bc RD |
1033 | <class name="ImageHandler" oldname="wxImageHandler" module="core"> |
1034 | <baseclass name="Object"/> | |
1035 | <method name="GetName" type="String" overloaded="no"> | |
1036 | <autodoc>GetName() -> String</autodoc> | |
1037 | </method> | |
1038 | <method name="GetExtension" type="String" overloaded="no"> | |
1039 | <autodoc>GetExtension() -> String</autodoc> | |
1040 | </method> | |
1041 | <method name="GetType" type="long" overloaded="no"> | |
1042 | <autodoc>GetType() -> long</autodoc> | |
1043 | </method> | |
1044 | <method name="GetMimeType" type="String" overloaded="no"> | |
1045 | <autodoc>GetMimeType() -> String</autodoc> | |
1046 | </method> | |
1047 | <method name="CanRead" type="bool" overloaded="no"> | |
1048 | <autodoc>CanRead(String name) -> bool</autodoc> | |
1049 | <paramlist> | |
1050 | <param name="name" type="String" default=""/> | |
1051 | </paramlist> | |
1052 | </method> | |
1053 | <method name="SetName" type="" overloaded="no"> | |
1054 | <autodoc>SetName(String name)</autodoc> | |
1055 | <paramlist> | |
1056 | <param name="name" type="String" default=""/> | |
1057 | </paramlist> | |
1058 | </method> | |
1059 | <method name="SetExtension" type="" overloaded="no"> | |
1060 | <autodoc>SetExtension(String extension)</autodoc> | |
1061 | <paramlist> | |
1062 | <param name="extension" type="String" default=""/> | |
1063 | </paramlist> | |
1064 | </method> | |
1065 | <method name="SetType" type="" overloaded="no"> | |
1066 | <autodoc>SetType(long type)</autodoc> | |
1067 | <paramlist> | |
1068 | <param name="type" type="long" default=""/> | |
1069 | </paramlist> | |
1070 | </method> | |
1071 | <method name="SetMimeType" type="" overloaded="no"> | |
1072 | <autodoc>SetMimeType(String mimetype)</autodoc> | |
1073 | <paramlist> | |
1074 | <param name="mimetype" type="String" default=""/> | |
1075 | </paramlist> | |
1076 | </method> | |
1077 | </class> | |
1078 | <class name="ImageHistogram" oldname="wxImageHistogram" module="core"> | |
1079 | <constructor name="ImageHistogram" overloaded="no"> | |
1080 | <autodoc>__init__() -> ImageHistogram</autodoc> | |
1081 | </constructor> | |
1082 | <staticmethod name="MakeKey" type="unsigned long" overloaded="no"> | |
1083 | <autodoc>MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long</autodoc> | |
1084 | <docstring>Get the key in the histogram for the given RGB values</docstring> | |
1085 | <paramlist> | |
1086 | <param name="r" type="unsigned char" default=""/> | |
1087 | <param name="g" type="unsigned char" default=""/> | |
1088 | <param name="b" type="unsigned char" default=""/> | |
1089 | </paramlist> | |
1090 | </staticmethod> | |
1091 | <method name="FindFirstUnusedColour" type="bool" overloaded="no"> | |
1092 | <autodoc>FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b)</autodoc> | |
1093 | <docstring>Find first colour that is not used in the image and has higher RGB values than | |
856bf319 RD |
1094 | startR, startG, startB. Returns a tuple consisting of a success flag and rgb |
1095 | values.</docstring> | |
f32fc4bc RD |
1096 | <paramlist> |
1097 | <param name="OUTPUT" type="unsigned char" default=""/> | |
1098 | <param name="OUTPUT" type="unsigned char" default=""/> | |
1099 | <param name="OUTPUT" type="unsigned char" default=""/> | |
1100 | <param name="startR" type="unsigned char" default="1"/> | |
1101 | <param name="startG" type="unsigned char" default="0"/> | |
1102 | <param name="startB" type="unsigned char" default="0"/> | |
1103 | </paramlist> | |
1104 | </method> | |
1105 | </class> | |
1106 | <class name="Image" oldname="wxImage" module="core"> | |
1107 | <baseclass name="Object"/> | |
1108 | <constructor name="Image" overloaded="no"> | |
1109 | <autodoc>__init__(String name, long type=BITMAP_TYPE_ANY, int index=-1) -> Image</autodoc> | |
1110 | <paramlist> | |
1111 | <param name="name" type="String" default=""/> | |
1112 | <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/> | |
1113 | <param name="index" type="int" default="-1"/> | |
1114 | </paramlist> | |
1115 | </constructor> | |
1116 | <constructor name="ImageFromMime" overloaded="no"> | |
1117 | <autodoc>ImageFromMime(String name, String mimetype, int index=-1) -> Image</autodoc> | |
1118 | <paramlist> | |
1119 | <param name="name" type="String" default=""/> | |
1120 | <param name="mimetype" type="String" default=""/> | |
1121 | <param name="index" type="int" default="-1"/> | |
1122 | </paramlist> | |
1123 | </constructor> | |
1124 | <constructor name="ImageFromStream" overloaded="no"> | |
1125 | <autodoc>ImageFromStream(InputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -> Image</autodoc> | |
1126 | <paramlist> | |
1127 | <param name="stream" type="wxInputStream" default=""/> | |
1128 | <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/> | |
1129 | <param name="index" type="int" default="-1"/> | |
1130 | </paramlist> | |
1131 | </constructor> | |
1132 | <constructor name="ImageFromStreamMime" overloaded="no"> | |
1133 | <autodoc>ImageFromStreamMime(InputStream stream, String mimetype, int index=-1) -> Image</autodoc> | |
1134 | <paramlist> | |
1135 | <param name="stream" type="wxInputStream" default=""/> | |
1136 | <param name="mimetype" type="String" default=""/> | |
1137 | <param name="index" type="int" default="-1"/> | |
1138 | </paramlist> | |
1139 | </constructor> | |
1140 | <constructor name="EmptyImage" overloaded="no"> | |
1141 | <autodoc>EmptyImage(int width=0, int height=0, bool clear=True) -> Image</autodoc> | |
1142 | <paramlist> | |
1143 | <param name="width" type="int" default="0"/> | |
1144 | <param name="height" type="int" default="0"/> | |
1145 | <param name="clear" type="bool" default="True"/> | |
1146 | </paramlist> | |
1147 | </constructor> | |
1148 | <constructor name="ImageFromBitmap" overloaded="no"> | |
1149 | <autodoc>ImageFromBitmap(Bitmap bitmap) -> Image</autodoc> | |
1150 | <paramlist> | |
1151 | <param name="bitmap" type="wxBitmap" default=""/> | |
1152 | </paramlist> | |
1153 | </constructor> | |
1154 | <constructor name="ImageFromData" overloaded="no"> | |
1155 | <autodoc>ImageFromData(int width, int height, unsigned char data) -> Image</autodoc> | |
1156 | <paramlist> | |
1157 | <param name="width" type="int" default=""/> | |
1158 | <param name="height" type="int" default=""/> | |
1159 | <param name="data" type="unsigned char" default=""/> | |
1160 | </paramlist> | |
1161 | </constructor> | |
1162 | <destructor name="~wxImage" overloaded="no"> | |
1163 | <autodoc>__del__()</autodoc> | |
1164 | </destructor> | |
1165 | <method name="Create" type="" overloaded="no"> | |
1166 | <autodoc>Create(int width, int height)</autodoc> | |
1167 | <paramlist> | |
1168 | <param name="width" type="int" default=""/> | |
1169 | <param name="height" type="int" default=""/> | |
1170 | </paramlist> | |
1171 | </method> | |
1172 | <method name="Destroy" type="" overloaded="no"> | |
1173 | <autodoc>Destroy()</autodoc> | |
1174 | <docstring>Deletes the C++ object this Python object is a proxy for.</docstring> | |
1175 | </method> | |
1176 | <method name="Scale" type="Image" overloaded="no"> | |
1177 | <autodoc>Scale(int width, int height) -> Image</autodoc> | |
1178 | <paramlist> | |
1179 | <param name="width" type="int" default=""/> | |
1180 | <param name="height" type="int" default=""/> | |
1181 | </paramlist> | |
1182 | </method> | |
1183 | <method name="ShrinkBy" type="Image" overloaded="no"> | |
1184 | <autodoc>ShrinkBy(int xFactor, int yFactor) -> Image</autodoc> | |
1185 | <paramlist> | |
1186 | <param name="xFactor" type="int" default=""/> | |
1187 | <param name="yFactor" type="int" default=""/> | |
1188 | </paramlist> | |
1189 | </method> | |
1190 | <method name="Rescale" type="Image" overloaded="no"> | |
1191 | <autodoc>Rescale(int width, int height) -> Image</autodoc> | |
1192 | <paramlist> | |
1193 | <param name="width" type="int" default=""/> | |
1194 | <param name="height" type="int" default=""/> | |
1195 | </paramlist> | |
1196 | </method> | |
1197 | <method name="SetRGB" type="" overloaded="no"> | |
1198 | <autodoc>SetRGB(int x, int y, unsigned char r, unsigned char g, unsigned char b)</autodoc> | |
1199 | <paramlist> | |
1200 | <param name="x" type="int" default=""/> | |
1201 | <param name="y" type="int" default=""/> | |
1202 | <param name="r" type="unsigned char" default=""/> | |
1203 | <param name="g" type="unsigned char" default=""/> | |
1204 | <param name="b" type="unsigned char" default=""/> | |
1205 | </paramlist> | |
1206 | </method> | |
1207 | <method name="GetRed" type="unsigned char" overloaded="no"> | |
1208 | <autodoc>GetRed(int x, int y) -> unsigned char</autodoc> | |
1209 | <paramlist> | |
1210 | <param name="x" type="int" default=""/> | |
1211 | <param name="y" type="int" default=""/> | |
1212 | </paramlist> | |
1213 | </method> | |
1214 | <method name="GetGreen" type="unsigned char" overloaded="no"> | |
1215 | <autodoc>GetGreen(int x, int y) -> unsigned char</autodoc> | |
1216 | <paramlist> | |
1217 | <param name="x" type="int" default=""/> | |
1218 | <param name="y" type="int" default=""/> | |
1219 | </paramlist> | |
1220 | </method> | |
1221 | <method name="GetBlue" type="unsigned char" overloaded="no"> | |
1222 | <autodoc>GetBlue(int x, int y) -> unsigned char</autodoc> | |
1223 | <paramlist> | |
1224 | <param name="x" type="int" default=""/> | |
1225 | <param name="y" type="int" default=""/> | |
1226 | </paramlist> | |
1227 | </method> | |
1228 | <method name="SetAlpha" type="" overloaded="no"> | |
1229 | <autodoc>SetAlpha(int x, int y, unsigned char alpha)</autodoc> | |
1230 | <paramlist> | |
1231 | <param name="x" type="int" default=""/> | |
1232 | <param name="y" type="int" default=""/> | |
1233 | <param name="alpha" type="unsigned char" default=""/> | |
1234 | </paramlist> | |
1235 | </method> | |
1236 | <method name="GetAlpha" type="unsigned char" overloaded="no"> | |
1237 | <autodoc>GetAlpha(int x, int y) -> unsigned char</autodoc> | |
1238 | <paramlist> | |
1239 | <param name="x" type="int" default=""/> | |
1240 | <param name="y" type="int" default=""/> | |
1241 | </paramlist> | |
1242 | </method> | |
1243 | <method name="HasAlpha" type="bool" overloaded="no"> | |
1244 | <autodoc>HasAlpha() -> bool</autodoc> | |
1245 | </method> | |
1246 | <method name="FindFirstUnusedColour" type="bool" overloaded="no"> | |
1247 | <autodoc>FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b)</autodoc> | |
1248 | <docstring>Find first colour that is not used in the image and has higher RGB values than | |
856bf319 RD |
1249 | startR, startG, startB. Returns a tuple consisting of a success flag and rgb |
1250 | values.</docstring> | |
f32fc4bc RD |
1251 | <paramlist> |
1252 | <param name="OUTPUT" type="byte" default=""/> | |
1253 | <param name="OUTPUT" type="byte" default=""/> | |
1254 | <param name="OUTPUT" type="byte" default=""/> | |
1255 | <param name="startR" type="byte" default="0"/> | |
1256 | <param name="startG" type="byte" default="0"/> | |
1257 | <param name="startB" type="byte" default="0"/> | |
1258 | </paramlist> | |
1259 | </method> | |
1260 | <method name="SetMaskFromImage" type="bool" overloaded="no"> | |
1261 | <autodoc>SetMaskFromImage(Image mask, byte mr, byte mg, byte mb) -> bool</autodoc> | |
1262 | <paramlist> | |
1263 | <param name="mask" type="Image" default=""/> | |
1264 | <param name="mr" type="byte" default=""/> | |
1265 | <param name="mg" type="byte" default=""/> | |
1266 | <param name="mb" type="byte" default=""/> | |
1267 | </paramlist> | |
1268 | </method> | |
1269 | <staticmethod name="CanRead" type="bool" overloaded="no"> | |
1270 | <autodoc>CanRead(String name) -> bool</autodoc> | |
1271 | <paramlist> | |
1272 | <param name="name" type="String" default=""/> | |
1273 | </paramlist> | |
1274 | </staticmethod> | |
1275 | <staticmethod name="GetImageCount" type="int" overloaded="no"> | |
1276 | <autodoc>GetImageCount(String name, long type=BITMAP_TYPE_ANY) -> int</autodoc> | |
1277 | <paramlist> | |
1278 | <param name="name" type="String" default=""/> | |
1279 | <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/> | |
1280 | </paramlist> | |
1281 | </staticmethod> | |
1282 | <method name="LoadFile" type="bool" overloaded="no"> | |
1283 | <autodoc>LoadFile(String name, long type=BITMAP_TYPE_ANY, int index=-1) -> bool</autodoc> | |
1284 | <paramlist> | |
1285 | <param name="name" type="String" default=""/> | |
1286 | <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/> | |
1287 | <param name="index" type="int" default="-1"/> | |
1288 | </paramlist> | |
1289 | </method> | |
1290 | <method name="LoadMimeFile" type="bool" overloaded="no"> | |
1291 | <autodoc>LoadMimeFile(String name, String mimetype, int index=-1) -> bool</autodoc> | |
1292 | <paramlist> | |
1293 | <param name="name" type="String" default=""/> | |
1294 | <param name="mimetype" type="String" default=""/> | |
1295 | <param name="index" type="int" default="-1"/> | |
1296 | </paramlist> | |
1297 | </method> | |
1298 | <method name="SaveFile" type="bool" overloaded="no"> | |
1299 | <autodoc>SaveFile(String name, int type) -> bool</autodoc> | |
1300 | <paramlist> | |
1301 | <param name="name" type="String" default=""/> | |
1302 | <param name="type" type="int" default=""/> | |
1303 | </paramlist> | |
1304 | </method> | |
1305 | <method name="SaveMimeFile" type="bool" overloaded="no"> | |
1306 | <autodoc>SaveMimeFile(String name, String mimetype) -> bool</autodoc> | |
1307 | <paramlist> | |
1308 | <param name="name" type="String" default=""/> | |
1309 | <param name="mimetype" type="String" default=""/> | |
1310 | </paramlist> | |
1311 | </method> | |
1312 | <staticmethod name="CanReadStream" type="bool" overloaded="no"> | |
1313 | <autodoc>CanReadStream(InputStream stream) -> bool</autodoc> | |
1314 | <paramlist> | |
1315 | <param name="stream" type="wxInputStream" default=""/> | |
1316 | </paramlist> | |
1317 | </staticmethod> | |
1318 | <method name="LoadStream" type="bool" overloaded="no"> | |
1319 | <autodoc>LoadStream(InputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -> bool</autodoc> | |
1320 | <paramlist> | |
1321 | <param name="stream" type="wxInputStream" default=""/> | |
1322 | <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/> | |
1323 | <param name="index" type="int" default="-1"/> | |
1324 | </paramlist> | |
1325 | </method> | |
1326 | <method name="LoadMimeStream" type="bool" overloaded="no"> | |
1327 | <autodoc>LoadMimeStream(InputStream stream, String mimetype, int index=-1) -> bool</autodoc> | |
1328 | <paramlist> | |
1329 | <param name="stream" type="wxInputStream" default=""/> | |
1330 | <param name="mimetype" type="String" default=""/> | |
1331 | <param name="index" type="int" default="-1"/> | |
1332 | </paramlist> | |
1333 | </method> | |
1334 | <method name="Ok" type="bool" overloaded="no"> | |
1335 | <autodoc>Ok() -> bool</autodoc> | |
1336 | </method> | |
1337 | <method name="GetWidth" type="int" overloaded="no"> | |
1338 | <autodoc>GetWidth() -> int</autodoc> | |
1339 | </method> | |
1340 | <method name="GetHeight" type="int" overloaded="no"> | |
1341 | <autodoc>GetHeight() -> int</autodoc> | |
1342 | </method> | |
1343 | <method name="GetSubImage" type="Image" overloaded="no"> | |
1344 | <autodoc>GetSubImage(Rect rect) -> Image</autodoc> | |
1345 | <paramlist> | |
1346 | <param name="rect" type="Rect" default=""/> | |
1347 | </paramlist> | |
1348 | </method> | |
1349 | <method name="Copy" type="Image" overloaded="no"> | |
1350 | <autodoc>Copy() -> Image</autodoc> | |
1351 | </method> | |
1352 | <method name="Paste" type="" overloaded="no"> | |
1353 | <autodoc>Paste(Image image, int x, int y)</autodoc> | |
1354 | <paramlist> | |
1355 | <param name="image" type="Image" default=""/> | |
1356 | <param name="x" type="int" default=""/> | |
1357 | <param name="y" type="int" default=""/> | |
1358 | </paramlist> | |
1359 | </method> | |
1360 | <method name="GetData" type="PyObject" overloaded="no"> | |
1361 | <autodoc>GetData() -> PyObject</autodoc> | |
1362 | </method> | |
1363 | <method name="SetData" type="" overloaded="no"> | |
1364 | <autodoc>SetData(PyObject data)</autodoc> | |
1365 | <paramlist> | |
1366 | <param name="data" type="PyObject" default=""/> | |
1367 | </paramlist> | |
1368 | </method> | |
1369 | <method name="GetDataBuffer" type="PyObject" overloaded="no"> | |
1370 | <autodoc>GetDataBuffer() -> PyObject</autodoc> | |
1371 | </method> | |
1372 | <method name="SetDataBuffer" type="" overloaded="no"> | |
1373 | <autodoc>SetDataBuffer(PyObject data)</autodoc> | |
1374 | <paramlist> | |
1375 | <param name="data" type="PyObject" default=""/> | |
1376 | </paramlist> | |
1377 | </method> | |
1378 | <method name="GetAlphaData" type="PyObject" overloaded="no"> | |
1379 | <autodoc>GetAlphaData() -> PyObject</autodoc> | |
1380 | </method> | |
1381 | <method name="SetAlphaData" type="" overloaded="no"> | |
1382 | <autodoc>SetAlphaData(PyObject data)</autodoc> | |
1383 | <paramlist> | |
1384 | <param name="data" type="PyObject" default=""/> | |
1385 | </paramlist> | |
1386 | </method> | |
1387 | <method name="GetAlphaBuffer" type="PyObject" overloaded="no"> | |
1388 | <autodoc>GetAlphaBuffer() -> PyObject</autodoc> | |
1389 | </method> | |
1390 | <method name="SetAlphaBuffer" type="" overloaded="no"> | |
1391 | <autodoc>SetAlphaBuffer(PyObject data)</autodoc> | |
1392 | <paramlist> | |
1393 | <param name="data" type="PyObject" default=""/> | |
1394 | </paramlist> | |
1395 | </method> | |
1396 | <method name="SetMaskColour" type="" overloaded="no"> | |
1397 | <autodoc>SetMaskColour(unsigned char r, unsigned char g, unsigned char b)</autodoc> | |
1398 | <paramlist> | |
1399 | <param name="r" type="unsigned char" default=""/> | |
1400 | <param name="g" type="unsigned char" default=""/> | |
1401 | <param name="b" type="unsigned char" default=""/> | |
1402 | </paramlist> | |
1403 | </method> | |
1404 | <method name="GetMaskRed" type="unsigned char" overloaded="no"> | |
1405 | <autodoc>GetMaskRed() -> unsigned char</autodoc> | |
1406 | </method> | |
1407 | <method name="GetMaskGreen" type="unsigned char" overloaded="no"> | |
1408 | <autodoc>GetMaskGreen() -> unsigned char</autodoc> | |
1409 | </method> | |
1410 | <method name="GetMaskBlue" type="unsigned char" overloaded="no"> | |
1411 | <autodoc>GetMaskBlue() -> unsigned char</autodoc> | |
1412 | </method> | |
1413 | <method name="SetMask" type="" overloaded="no"> | |
1414 | <autodoc>SetMask(bool mask=True)</autodoc> | |
1415 | <paramlist> | |
1416 | <param name="mask" type="bool" default="True"/> | |
1417 | </paramlist> | |
1418 | </method> | |
1419 | <method name="HasMask" type="bool" overloaded="no"> | |
1420 | <autodoc>HasMask() -> bool</autodoc> | |
1421 | </method> | |
1422 | <method name="Rotate" type="Image" overloaded="no"> | |
1423 | <autodoc>Rotate(double angle, Point centre_of_rotation, bool interpolating=True, | |
856bf319 | 1424 | Point offset_after_rotation=None) -> Image</autodoc> |
f32fc4bc RD |
1425 | <paramlist> |
1426 | <param name="angle" type="double" default=""/> | |
1427 | <param name="centre_of_rotation" type="Point" default=""/> | |
1428 | <param name="interpolating" type="bool" default="True"/> | |
1429 | <param name="offset_after_rotation" type="Point" default="NULL"/> | |
1430 | </paramlist> | |
1431 | </method> | |
1432 | <method name="Rotate90" type="Image" overloaded="no"> | |
1433 | <autodoc>Rotate90(bool clockwise=True) -> Image</autodoc> | |
1434 | <paramlist> | |
1435 | <param name="clockwise" type="bool" default="True"/> | |
1436 | </paramlist> | |
1437 | </method> | |
1438 | <method name="Mirror" type="Image" overloaded="no"> | |
1439 | <autodoc>Mirror(bool horizontally=True) -> Image</autodoc> | |
1440 | <paramlist> | |
1441 | <param name="horizontally" type="bool" default="True"/> | |
1442 | </paramlist> | |
1443 | </method> | |
1444 | <method name="Replace" type="" overloaded="no"> | |
1445 | <autodoc>Replace(unsigned char r1, unsigned char g1, unsigned char b1, | |
856bf319 | 1446 | unsigned char r2, unsigned char g2, unsigned char b2)</autodoc> |
f32fc4bc RD |
1447 | <paramlist> |
1448 | <param name="r1" type="unsigned char" default=""/> | |
1449 | <param name="g1" type="unsigned char" default=""/> | |
1450 | <param name="b1" type="unsigned char" default=""/> | |
1451 | <param name="r2" type="unsigned char" default=""/> | |
1452 | <param name="g2" type="unsigned char" default=""/> | |
1453 | <param name="b2" type="unsigned char" default=""/> | |
1454 | </paramlist> | |
1455 | </method> | |
1456 | <method name="ConvertToMono" type="Image" overloaded="no"> | |
1457 | <autodoc>ConvertToMono(unsigned char r, unsigned char g, unsigned char b) -> Image</autodoc> | |
1458 | <paramlist> | |
1459 | <param name="r" type="unsigned char" default=""/> | |
1460 | <param name="g" type="unsigned char" default=""/> | |
1461 | <param name="b" type="unsigned char" default=""/> | |
1462 | </paramlist> | |
1463 | </method> | |
1464 | <method name="SetOption" type="" overloaded="no"> | |
1465 | <autodoc>SetOption(String name, String value)</autodoc> | |
1466 | <paramlist> | |
1467 | <param name="name" type="String" default=""/> | |
1468 | <param name="value" type="String" default=""/> | |
1469 | </paramlist> | |
1470 | </method> | |
1471 | <method name="SetOptionInt" type="" overloaded="no"> | |
1472 | <autodoc>SetOptionInt(String name, int value)</autodoc> | |
1473 | <paramlist> | |
1474 | <param name="name" type="String" default=""/> | |
1475 | <param name="value" type="int" default=""/> | |
1476 | </paramlist> | |
1477 | </method> | |
1478 | <method name="GetOption" type="String" overloaded="no"> | |
1479 | <autodoc>GetOption(String name) -> String</autodoc> | |
1480 | <paramlist> | |
1481 | <param name="name" type="String" default=""/> | |
1482 | </paramlist> | |
1483 | </method> | |
1484 | <method name="GetOptionInt" type="int" overloaded="no"> | |
1485 | <autodoc>GetOptionInt(String name) -> int</autodoc> | |
1486 | <paramlist> | |
1487 | <param name="name" type="String" default=""/> | |
1488 | </paramlist> | |
1489 | </method> | |
1490 | <method name="HasOption" type="bool" overloaded="no"> | |
1491 | <autodoc>HasOption(String name) -> bool</autodoc> | |
1492 | <paramlist> | |
1493 | <param name="name" type="String" default=""/> | |
1494 | </paramlist> | |
1495 | </method> | |
1496 | <method name="CountColours" type="unsigned long" overloaded="no"> | |
1497 | <autodoc>CountColours(unsigned long stopafter=(unsigned long) -1) -> unsigned long</autodoc> | |
1498 | <paramlist> | |
1499 | <param name="stopafter" type="unsigned long" default="(unsigned long) -1"/> | |
1500 | </paramlist> | |
1501 | </method> | |
1502 | <method name="ComputeHistogram" type="unsigned long" overloaded="no"> | |
1503 | <autodoc>ComputeHistogram(ImageHistogram h) -> unsigned long</autodoc> | |
1504 | <paramlist> | |
1505 | <param name="h" type="ImageHistogram" default=""/> | |
1506 | </paramlist> | |
1507 | </method> | |
1508 | <staticmethod name="AddHandler" type="" overloaded="no"> | |
1509 | <autodoc>AddHandler(ImageHandler handler)</autodoc> | |
1510 | <paramlist> | |
1511 | <param name="handler" type="ImageHandler" default=""/> | |
1512 | </paramlist> | |
1513 | </staticmethod> | |
1514 | <staticmethod name="InsertHandler" type="" overloaded="no"> | |
1515 | <autodoc>InsertHandler(ImageHandler handler)</autodoc> | |
1516 | <paramlist> | |
1517 | <param name="handler" type="ImageHandler" default=""/> | |
1518 | </paramlist> | |
1519 | </staticmethod> | |
1520 | <staticmethod name="RemoveHandler" type="bool" overloaded="no"> | |
1521 | <autodoc>RemoveHandler(String name) -> bool</autodoc> | |
1522 | <paramlist> | |
1523 | <param name="name" type="String" default=""/> | |
1524 | </paramlist> | |
1525 | </staticmethod> | |
1526 | <staticmethod name="GetImageExtWildcard" type="String" overloaded="no"> | |
1527 | <autodoc>GetImageExtWildcard() -> String</autodoc> | |
1528 | </staticmethod> | |
1529 | <method name="ConvertToBitmap" type="wxBitmap" overloaded="no"> | |
1530 | <autodoc>ConvertToBitmap() -> Bitmap</autodoc> | |
1531 | </method> | |
1532 | <method name="ConvertToMonoBitmap" type="wxBitmap" overloaded="no"> | |
1533 | <autodoc>ConvertToMonoBitmap(unsigned char red, unsigned char green, unsigned char blue) -> Bitmap</autodoc> | |
1534 | <paramlist> | |
1535 | <param name="red" type="unsigned char" default=""/> | |
1536 | <param name="green" type="unsigned char" default=""/> | |
1537 | <param name="blue" type="unsigned char" default=""/> | |
1538 | </paramlist> | |
1539 | </method> | |
1540 | </class> | |
1541 | <method name="InitAllImageHandlers" oldname="wxInitAllImageHandlers" type="" overloaded="no"> | |
1542 | <autodoc>InitAllImageHandlers()</autodoc> | |
1543 | </method> | |
1544 | <class name="BMPHandler" oldname="wxBMPHandler" module="core"> | |
1545 | <baseclass name="ImageHandler"/> | |
1546 | <constructor name="BMPHandler" overloaded="no"> | |
1547 | <autodoc>__init__() -> BMPHandler</autodoc> | |
1548 | </constructor> | |
1549 | </class> | |
1550 | <class name="ICOHandler" oldname="wxICOHandler" module="core"> | |
1551 | <baseclass name="BMPHandler"/> | |
1552 | <constructor name="ICOHandler" overloaded="no"> | |
1553 | <autodoc>__init__() -> ICOHandler</autodoc> | |
1554 | </constructor> | |
1555 | </class> | |
1556 | <class name="CURHandler" oldname="wxCURHandler" module="core"> | |
1557 | <baseclass name="ICOHandler"/> | |
1558 | <constructor name="CURHandler" overloaded="no"> | |
1559 | <autodoc>__init__() -> CURHandler</autodoc> | |
1560 | </constructor> | |
1561 | </class> | |
1562 | <class name="ANIHandler" oldname="wxANIHandler" module="core"> | |
1563 | <baseclass name="CURHandler"/> | |
1564 | <constructor name="ANIHandler" overloaded="no"> | |
1565 | <autodoc>__init__() -> ANIHandler</autodoc> | |
1566 | </constructor> | |
1567 | </class> | |
1568 | <class name="PNGHandler" oldname="wxPNGHandler" module="core"> | |
1569 | <baseclass name="ImageHandler"/> | |
1570 | <constructor name="PNGHandler" overloaded="no"> | |
1571 | <autodoc>__init__() -> PNGHandler</autodoc> | |
1572 | </constructor> | |
1573 | </class> | |
1574 | <class name="GIFHandler" oldname="wxGIFHandler" module="core"> | |
1575 | <baseclass name="ImageHandler"/> | |
1576 | <constructor name="GIFHandler" overloaded="no"> | |
1577 | <autodoc>__init__() -> GIFHandler</autodoc> | |
1578 | </constructor> | |
1579 | </class> | |
1580 | <class name="PCXHandler" oldname="wxPCXHandler" module="core"> | |
1581 | <baseclass name="ImageHandler"/> | |
1582 | <constructor name="PCXHandler" overloaded="no"> | |
1583 | <autodoc>__init__() -> PCXHandler</autodoc> | |
1584 | </constructor> | |
1585 | </class> | |
1586 | <class name="JPEGHandler" oldname="wxJPEGHandler" module="core"> | |
1587 | <baseclass name="ImageHandler"/> | |
1588 | <constructor name="JPEGHandler" overloaded="no"> | |
1589 | <autodoc>__init__() -> JPEGHandler</autodoc> | |
1590 | </constructor> | |
1591 | </class> | |
1592 | <class name="PNMHandler" oldname="wxPNMHandler" module="core"> | |
1593 | <baseclass name="ImageHandler"/> | |
1594 | <constructor name="PNMHandler" overloaded="no"> | |
1595 | <autodoc>__init__() -> PNMHandler</autodoc> | |
1596 | </constructor> | |
1597 | </class> | |
1598 | <class name="XPMHandler" oldname="wxXPMHandler" module="core"> | |
1599 | <baseclass name="ImageHandler"/> | |
1600 | <constructor name="XPMHandler" overloaded="no"> | |
1601 | <autodoc>__init__() -> XPMHandler</autodoc> | |
1602 | </constructor> | |
1603 | </class> | |
1604 | <class name="TIFFHandler" oldname="wxTIFFHandler" module="core"> | |
1605 | <baseclass name="ImageHandler"/> | |
1606 | <constructor name="TIFFHandler" overloaded="no"> | |
1607 | <autodoc>__init__() -> TIFFHandler</autodoc> | |
1608 | </constructor> | |
1609 | </class> | |
1610 | <pythoncode> | |
856bf319 RD |
1611 | #--------------------------------------------------------------------------- |
1612 | </pythoncode> | |
f32fc4bc RD |
1613 | <class name="EvtHandler" oldname="wxEvtHandler" module="core"> |
1614 | <baseclass name="Object"/> | |
1615 | <constructor name="EvtHandler" overloaded="no"> | |
1616 | <autodoc>__init__() -> EvtHandler</autodoc> | |
1617 | </constructor> | |
1618 | <method name="GetNextHandler" type="EvtHandler" overloaded="no"> | |
1619 | <autodoc>GetNextHandler() -> EvtHandler</autodoc> | |
1620 | </method> | |
1621 | <method name="GetPreviousHandler" type="EvtHandler" overloaded="no"> | |
1622 | <autodoc>GetPreviousHandler() -> EvtHandler</autodoc> | |
1623 | </method> | |
1624 | <method name="SetNextHandler" type="" overloaded="no"> | |
1625 | <autodoc>SetNextHandler(EvtHandler handler)</autodoc> | |
1626 | <paramlist> | |
1627 | <param name="handler" type="EvtHandler" default=""/> | |
1628 | </paramlist> | |
1629 | </method> | |
1630 | <method name="SetPreviousHandler" type="" overloaded="no"> | |
1631 | <autodoc>SetPreviousHandler(EvtHandler handler)</autodoc> | |
1632 | <paramlist> | |
1633 | <param name="handler" type="EvtHandler" default=""/> | |
1634 | </paramlist> | |
1635 | </method> | |
1636 | <method name="GetEvtHandlerEnabled" type="bool" overloaded="no"> | |
1637 | <autodoc>GetEvtHandlerEnabled() -> bool</autodoc> | |
1638 | </method> | |
1639 | <method name="SetEvtHandlerEnabled" type="" overloaded="no"> | |
1640 | <autodoc>SetEvtHandlerEnabled(bool enabled)</autodoc> | |
1641 | <paramlist> | |
1642 | <param name="enabled" type="bool" default=""/> | |
1643 | </paramlist> | |
1644 | </method> | |
1645 | <method name="ProcessEvent" type="bool" overloaded="no"> | |
1646 | <autodoc>ProcessEvent(Event event) -> bool</autodoc> | |
1647 | <paramlist> | |
1648 | <param name="event" type="wxEvent" default=""/> | |
1649 | </paramlist> | |
1650 | </method> | |
1651 | <method name="AddPendingEvent" type="" overloaded="no"> | |
1652 | <autodoc>AddPendingEvent(Event event)</autodoc> | |
1653 | <paramlist> | |
1654 | <param name="event" type="wxEvent" default=""/> | |
1655 | </paramlist> | |
1656 | </method> | |
1657 | <method name="ProcessPendingEvents" type="" overloaded="no"> | |
1658 | <autodoc>ProcessPendingEvents()</autodoc> | |
1659 | </method> | |
1660 | <method name="Connect" type="" overloaded="no"> | |
1661 | <autodoc>Connect(int id, int lastId, int eventType, PyObject func)</autodoc> | |
1662 | <paramlist> | |
1663 | <param name="id" type="int" default=""/> | |
1664 | <param name="lastId" type="int" default=""/> | |
1665 | <param name="eventType" type="int" default=""/> | |
1666 | <param name="func" type="PyObject" default=""/> | |
1667 | </paramlist> | |
1668 | </method> | |
1669 | <method name="Disconnect" type="bool" overloaded="no"> | |
1670 | <autodoc>Disconnect(int id, int lastId=-1, wxEventType eventType=wxEVT_NULL) -> bool</autodoc> | |
1671 | <paramlist> | |
1672 | <param name="id" type="int" default=""/> | |
1673 | <param name="lastId" type="int" default="-1"/> | |
1674 | <param name="eventType" type="wxEventType" default="wxEVT_NULL"/> | |
1675 | </paramlist> | |
1676 | </method> | |
1677 | <method name="_setOORInfo" type="" overloaded="no"> | |
1678 | <autodoc>_setOORInfo(PyObject _self)</autodoc> | |
1679 | <paramlist> | |
1680 | <param name="_self" type="PyObject" default=""/> | |
1681 | </paramlist> | |
1682 | </method> | |
1683 | </class> | |
856bf319 | 1684 | <pythoncode> |
856bf319 RD |
1685 | |
1686 | #--------------------------------------------------------------------------- | |
1687 | ||
1688 | class PyEventBinder(object): | |
1689 | """ | |
1690 | Instances of this class are used to bind specific events to event | |
1691 | handlers. | |
1692 | """ | |
1693 | def __init__(self, evtType, expectedIDs=0): | |
1694 | if expectedIDs not in [0, 1, 2]: | |
1695 | raise ValueError, "Invalid number of expectedIDs" | |
1696 | self.expectedIDs = expectedIDs | |
1697 | ||
1698 | if type(evtType) == list or type(evtType) == tuple: | |
1699 | self.evtType = evtType | |
1700 | else: | |
1701 | self.evtType = [evtType] | |
1702 | ||
1703 | ||
1704 | def Bind(self, target, id1, id2, function): | |
1705 | """Bind this set of event types to target.""" | |
1706 | for et in self.evtType: | |
1707 | target.Connect(id1, id2, et, function) | |
1708 | ||
1709 | ||
1710 | def __call__(self, *args): | |
1711 | """ | |
1712 | For backwards compatibility with the old EVT_* functions. | |
1713 | Should be called with either (window, func), (window, ID, | |
1714 | func) or (window, ID1, ID2, func) parameters depending on the | |
1715 | type of the event. | |
1716 | """ | |
1717 | assert len(args) == 2 + self.expectedIDs | |
1718 | id1 = wx.ID_ANY | |
1719 | id2 = wx.ID_ANY | |
1720 | target = args[0] | |
1721 | if self.expectedIDs == 0: | |
1722 | func = args[1] | |
1723 | elif self.expectedIDs == 1: | |
1724 | id1 = args[1] | |
1725 | func = args[2] | |
1726 | elif self.expectedIDs == 2: | |
1727 | id1 = args[1] | |
1728 | id2 = args[2] | |
1729 | func = args[3] | |
1730 | else: | |
1731 | raise ValueError, "Unexpected number of IDs" | |
1732 | ||
1733 | self.Bind(target, id1, id2, func) | |
1734 | ||
1735 | ||
1736 | # These two are square pegs that don't fit the PyEventBinder hole... | |
1737 | def EVT_COMMAND(win, id, cmd, func): | |
1738 | win.Connect(id, -1, cmd, func) | |
1739 | def EVT_COMMAND_RANGE(win, id1, id2, cmd, func): | |
1740 | win.Connect(id1, id2, cmd, func) | |
1741 | ||
1742 | ||
1743 | #--------------------------------------------------------------------------- | |
1744 | </pythoncode> | |
f32fc4bc | 1745 | <pythoncode> |
856bf319 RD |
1746 | #--------------------------------------------------------------------------- |
1747 | </pythoncode> | |
f32fc4bc RD |
1748 | <method name="NewEventType" oldname="wxNewEventType" type="wxEventType" overloaded="no"> |
1749 | <autodoc>NewEventType() -> wxEventType</autodoc> | |
1750 | </method> | |
1751 | <pythoncode> | |
856bf319 RD |
1752 | # |
1753 | # Create some event binders | |
1754 | EVT_SIZE = wx.PyEventBinder( wxEVT_SIZE ) | |
1755 | EVT_SIZING = wx.PyEventBinder( wxEVT_SIZING ) | |
1756 | EVT_MOVE = wx.PyEventBinder( wxEVT_MOVE ) | |
1757 | EVT_MOVING = wx.PyEventBinder( wxEVT_MOVING ) | |
1758 | EVT_CLOSE = wx.PyEventBinder( wxEVT_CLOSE_WINDOW ) | |
1759 | EVT_END_SESSION = wx.PyEventBinder( wxEVT_END_SESSION ) | |
1760 | EVT_QUERY_END_SESSION = wx.PyEventBinder( wxEVT_QUERY_END_SESSION ) | |
1761 | EVT_PAINT = wx.PyEventBinder( wxEVT_PAINT ) | |
1762 | EVT_NC_PAINT = wx.PyEventBinder( wxEVT_NC_PAINT ) | |
1763 | EVT_ERASE_BACKGROUND = wx.PyEventBinder( wxEVT_ERASE_BACKGROUND ) | |
1764 | EVT_CHAR = wx.PyEventBinder( wxEVT_CHAR ) | |
1765 | EVT_KEY_DOWN = wx.PyEventBinder( wxEVT_KEY_DOWN ) | |
1766 | EVT_KEY_UP = wx.PyEventBinder( wxEVT_KEY_UP ) | |
1767 | EVT_HOTKEY = wx.PyEventBinder( wxEVT_HOTKEY, 1) | |
1768 | EVT_CHAR_HOOK = wx.PyEventBinder( wxEVT_CHAR_HOOK ) | |
1769 | EVT_MENU_OPEN = wx.PyEventBinder( wxEVT_MENU_OPEN ) | |
1770 | EVT_MENU_CLOSE = wx.PyEventBinder( wxEVT_MENU_CLOSE ) | |
1771 | EVT_MENU_HIGHLIGHT = wx.PyEventBinder( wxEVT_MENU_HIGHLIGHT, 1) | |
1772 | EVT_MENU_HIGHLIGHT_ALL = wx.PyEventBinder( wxEVT_MENU_HIGHLIGHT ) | |
1773 | EVT_SET_FOCUS = wx.PyEventBinder( wxEVT_SET_FOCUS ) | |
1774 | EVT_KILL_FOCUS = wx.PyEventBinder( wxEVT_KILL_FOCUS ) | |
1775 | EVT_CHILD_FOCUS = wx.PyEventBinder( wxEVT_CHILD_FOCUS ) | |
1776 | EVT_ACTIVATE = wx.PyEventBinder( wxEVT_ACTIVATE ) | |
1777 | EVT_ACTIVATE_APP = wx.PyEventBinder( wxEVT_ACTIVATE_APP ) | |
1778 | EVT_END_SESSION = wx.PyEventBinder( wxEVT_END_SESSION ) | |
1779 | EVT_QUERY_END_SESSION = wx.PyEventBinder( wxEVT_QUERY_END_SESSION ) | |
1780 | EVT_DROP_FILES = wx.PyEventBinder( wxEVT_DROP_FILES ) | |
1781 | EVT_INIT_DIALOG = wx.PyEventBinder( wxEVT_INIT_DIALOG ) | |
1782 | EVT_SYS_COLOUR_CHANGED = wx.PyEventBinder( wxEVT_SYS_COLOUR_CHANGED ) | |
1783 | EVT_DISPLAY_CHANGED = wx.PyEventBinder( wxEVT_DISPLAY_CHANGED ) | |
1784 | EVT_SHOW = wx.PyEventBinder( wxEVT_SHOW ) | |
1785 | EVT_MAXIMIZE = wx.PyEventBinder( wxEVT_MAXIMIZE ) | |
1786 | EVT_ICONIZE = wx.PyEventBinder( wxEVT_ICONIZE ) | |
1787 | EVT_NAVIGATION_KEY = wx.PyEventBinder( wxEVT_NAVIGATION_KEY ) | |
1788 | EVT_PALETTE_CHANGED = wx.PyEventBinder( wxEVT_PALETTE_CHANGED ) | |
1789 | EVT_QUERY_NEW_PALETTE = wx.PyEventBinder( wxEVT_QUERY_NEW_PALETTE ) | |
1790 | EVT_WINDOW_CREATE = wx.PyEventBinder( wxEVT_CREATE ) | |
1791 | EVT_WINDOW_DESTROY = wx.PyEventBinder( wxEVT_DESTROY ) | |
1792 | EVT_SET_CURSOR = wx.PyEventBinder( wxEVT_SET_CURSOR ) | |
1793 | EVT_MOUSE_CAPTURE_CHANGED = wx.PyEventBinder( wxEVT_MOUSE_CAPTURE_CHANGED ) | |
1794 | ||
1795 | EVT_LEFT_DOWN = wx.PyEventBinder( wxEVT_LEFT_DOWN ) | |
1796 | EVT_LEFT_UP = wx.PyEventBinder( wxEVT_LEFT_UP ) | |
1797 | EVT_MIDDLE_DOWN = wx.PyEventBinder( wxEVT_MIDDLE_DOWN ) | |
1798 | EVT_MIDDLE_UP = wx.PyEventBinder( wxEVT_MIDDLE_UP ) | |
1799 | EVT_RIGHT_DOWN = wx.PyEventBinder( wxEVT_RIGHT_DOWN ) | |
1800 | EVT_RIGHT_UP = wx.PyEventBinder( wxEVT_RIGHT_UP ) | |
1801 | EVT_MOTION = wx.PyEventBinder( wxEVT_MOTION ) | |
1802 | EVT_LEFT_DCLICK = wx.PyEventBinder( wxEVT_LEFT_DCLICK ) | |
1803 | EVT_MIDDLE_DCLICK = wx.PyEventBinder( wxEVT_MIDDLE_DCLICK ) | |
1804 | EVT_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_RIGHT_DCLICK ) | |
1805 | EVT_LEAVE_WINDOW = wx.PyEventBinder( wxEVT_LEAVE_WINDOW ) | |
1806 | EVT_ENTER_WINDOW = wx.PyEventBinder( wxEVT_ENTER_WINDOW ) | |
1807 | EVT_MOUSEWHEEL = wx.PyEventBinder( wxEVT_MOUSEWHEEL ) | |
1808 | ||
1809 | EVT_MOUSE_EVENTS = wx.PyEventBinder([ wxEVT_LEFT_DOWN, | |
1810 | wxEVT_LEFT_UP, | |
1811 | wxEVT_MIDDLE_DOWN, | |
1812 | wxEVT_MIDDLE_UP, | |
1813 | wxEVT_RIGHT_DOWN, | |
1814 | wxEVT_RIGHT_UP, | |
1815 | wxEVT_MOTION, | |
1816 | wxEVT_LEFT_DCLICK, | |
1817 | wxEVT_MIDDLE_DCLICK, | |
1818 | wxEVT_RIGHT_DCLICK, | |
1819 | wxEVT_ENTER_WINDOW, | |
1820 | wxEVT_LEAVE_WINDOW, | |
1821 | wxEVT_MOUSEWHEEL | |
1822 | ]) | |
1823 | ||
1824 | ||
1825 | # Scrolling from wxWindow (sent to wxScrolledWindow) | |
1826 | EVT_SCROLLWIN = wx.PyEventBinder([ wxEVT_SCROLLWIN_TOP, | |
1827 | wxEVT_SCROLLWIN_BOTTOM, | |
1828 | wxEVT_SCROLLWIN_LINEUP, | |
1829 | wxEVT_SCROLLWIN_LINEDOWN, | |
1830 | wxEVT_SCROLLWIN_PAGEUP, | |
1831 | wxEVT_SCROLLWIN_PAGEDOWN, | |
1832 | wxEVT_SCROLLWIN_THUMBTRACK, | |
1833 | wxEVT_SCROLLWIN_THUMBRELEASE, | |
1834 | ]) | |
1835 | ||
1836 | EVT_SCROLLWIN_TOP = wx.PyEventBinder( wxEVT_SCROLLWIN_TOP ) | |
1837 | EVT_SCROLLWIN_BOTTOM = wx.PyEventBinder( wxEVT_SCROLLWIN_BOTTOM ) | |
1838 | EVT_SCROLLWIN_LINEUP = wx.PyEventBinder( wxEVT_SCROLLWIN_LINEUP ) | |
1839 | EVT_SCROLLWIN_LINEDOWN = wx.PyEventBinder( wxEVT_SCROLLWIN_LINEDOWN ) | |
1840 | EVT_SCROLLWIN_PAGEUP = wx.PyEventBinder( wxEVT_SCROLLWIN_PAGEUP ) | |
1841 | EVT_SCROLLWIN_PAGEDOWN = wx.PyEventBinder( wxEVT_SCROLLWIN_PAGEDOWN ) | |
1842 | EVT_SCROLLWIN_THUMBTRACK = wx.PyEventBinder( wxEVT_SCROLLWIN_THUMBTRACK ) | |
1843 | EVT_SCROLLWIN_THUMBRELEASE = wx.PyEventBinder( wxEVT_SCROLLWIN_THUMBRELEASE ) | |
1844 | ||
1845 | # Scrolling from wxSlider and wxScrollBar | |
1846 | EVT_SCROLL = wx.PyEventBinder([ wxEVT_SCROLL_TOP, | |
1847 | wxEVT_SCROLL_BOTTOM, | |
1848 | wxEVT_SCROLL_LINEUP, | |
1849 | wxEVT_SCROLL_LINEDOWN, | |
1850 | wxEVT_SCROLL_PAGEUP, | |
1851 | wxEVT_SCROLL_PAGEDOWN, | |
1852 | wxEVT_SCROLL_THUMBTRACK, | |
1853 | wxEVT_SCROLL_THUMBRELEASE, | |
1854 | wxEVT_SCROLL_ENDSCROLL, | |
1855 | ]) | |
1856 | ||
1857 | EVT_SCROLL_TOP = wx.PyEventBinder( wxEVT_SCROLL_TOP ) | |
1858 | EVT_SCROLL_BOTTOM = wx.PyEventBinder( wxEVT_SCROLL_BOTTOM ) | |
1859 | EVT_SCROLL_LINEUP = wx.PyEventBinder( wxEVT_SCROLL_LINEUP ) | |
1860 | EVT_SCROLL_LINEDOWN = wx.PyEventBinder( wxEVT_SCROLL_LINEDOWN ) | |
1861 | EVT_SCROLL_PAGEUP = wx.PyEventBinder( wxEVT_SCROLL_PAGEUP ) | |
1862 | EVT_SCROLL_PAGEDOWN = wx.PyEventBinder( wxEVT_SCROLL_PAGEDOWN ) | |
1863 | EVT_SCROLL_THUMBTRACK = wx.PyEventBinder( wxEVT_SCROLL_THUMBTRACK ) | |
1864 | EVT_SCROLL_THUMBRELEASE = wx.PyEventBinder( wxEVT_SCROLL_THUMBRELEASE ) | |
0f43fbdf RD |
1865 | EVT_SCROLL_ENDSCROLL = wx.PyEventBinder( wxEVT_SCROLL_ENDSCROLL ) |
1866 | ||
1867 | # Scrolling from wxSlider and wxScrollBar, with an id | |
1868 | EVT_COMMAND_SCROLL = wx.PyEventBinder([ wxEVT_SCROLL_TOP, | |
1869 | wxEVT_SCROLL_BOTTOM, | |
1870 | wxEVT_SCROLL_LINEUP, | |
1871 | wxEVT_SCROLL_LINEDOWN, | |
1872 | wxEVT_SCROLL_PAGEUP, | |
1873 | wxEVT_SCROLL_PAGEDOWN, | |
1874 | wxEVT_SCROLL_THUMBTRACK, | |
1875 | wxEVT_SCROLL_THUMBRELEASE, | |
1876 | wxEVT_SCROLL_ENDSCROLL, | |
1877 | ], 1) | |
1878 | ||
1879 | EVT_COMMAND_SCROLL_TOP = wx.PyEventBinder( wxEVT_SCROLL_TOP, 1) | |
1880 | EVT_COMMAND_SCROLL_BOTTOM = wx.PyEventBinder( wxEVT_SCROLL_BOTTOM, 1) | |
1881 | EVT_COMMAND_SCROLL_LINEUP = wx.PyEventBinder( wxEVT_SCROLL_LINEUP, 1) | |
1882 | EVT_COMMAND_SCROLL_LINEDOWN = wx.PyEventBinder( wxEVT_SCROLL_LINEDOWN, 1) | |
1883 | EVT_COMMAND_SCROLL_PAGEUP = wx.PyEventBinder( wxEVT_SCROLL_PAGEUP, 1) | |
1884 | EVT_COMMAND_SCROLL_PAGEDOWN = wx.PyEventBinder( wxEVT_SCROLL_PAGEDOWN, 1) | |
1885 | EVT_COMMAND_SCROLL_THUMBTRACK = wx.PyEventBinder( wxEVT_SCROLL_THUMBTRACK, 1) | |
1886 | EVT_COMMAND_SCROLL_THUMBRELEASE = wx.PyEventBinder( wxEVT_SCROLL_THUMBRELEASE, 1) | |
1887 | EVT_COMMAND_SCROLL_ENDSCROLL = wx.PyEventBinder( wxEVT_SCROLL_ENDSCROLL, 1) | |
1888 | ||
0f43fbdf RD |
1889 | EVT_BUTTON = wx.PyEventBinder( wxEVT_COMMAND_BUTTON_CLICKED, 1) |
1890 | EVT_CHECKBOX = wx.PyEventBinder( wxEVT_COMMAND_CHECKBOX_CLICKED, 1) | |
1891 | EVT_CHOICE = wx.PyEventBinder( wxEVT_COMMAND_CHOICE_SELECTED, 1) | |
1892 | EVT_LISTBOX = wx.PyEventBinder( wxEVT_COMMAND_LISTBOX_SELECTED, 1) | |
1893 | EVT_LISTBOX_DCLICK = wx.PyEventBinder( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, 1) | |
1894 | EVT_MENU = wx.PyEventBinder( wxEVT_COMMAND_MENU_SELECTED, 1) | |
1895 | EVT_MENU_RANGE = wx.PyEventBinder( wxEVT_COMMAND_MENU_SELECTED, 2) | |
1896 | EVT_SLIDER = wx.PyEventBinder( wxEVT_COMMAND_SLIDER_UPDATED, 1) | |
1897 | EVT_RADIOBOX = wx.PyEventBinder( wxEVT_COMMAND_RADIOBOX_SELECTED, 1) | |
1898 | EVT_RADIOBUTTON = wx.PyEventBinder( wxEVT_COMMAND_RADIOBUTTON_SELECTED, 1) | |
1899 | ||
1900 | EVT_SCROLLBAR = wx.PyEventBinder( wxEVT_COMMAND_SCROLLBAR_UPDATED, 1) | |
1901 | EVT_VLBOX = wx.PyEventBinder( wxEVT_COMMAND_VLBOX_SELECTED, 1) | |
1902 | EVT_COMBOBOX = wx.PyEventBinder( wxEVT_COMMAND_COMBOBOX_SELECTED, 1) | |
1903 | EVT_TOOL = wx.PyEventBinder( wxEVT_COMMAND_TOOL_CLICKED, 1) | |
1904 | EVT_TOOL_RANGE = wx.PyEventBinder( wxEVT_COMMAND_TOOL_CLICKED, 2) | |
1905 | EVT_TOOL_RCLICKED = wx.PyEventBinder( wxEVT_COMMAND_TOOL_RCLICKED, 1) | |
1906 | EVT_TOOL_RCLICKED_RANGE = wx.PyEventBinder( wxEVT_COMMAND_TOOL_RCLICKED, 2) | |
1907 | EVT_TOOL_ENTER = wx.PyEventBinder( wxEVT_COMMAND_TOOL_ENTER, 1) | |
1908 | EVT_CHECKLISTBOX = wx.PyEventBinder( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, 1) | |
1909 | ||
1910 | ||
1911 | EVT_COMMAND_LEFT_CLICK = wx.PyEventBinder( wxEVT_COMMAND_LEFT_CLICK, 1) | |
1912 | EVT_COMMAND_LEFT_DCLICK = wx.PyEventBinder( wxEVT_COMMAND_LEFT_DCLICK, 1) | |
1913 | EVT_COMMAND_RIGHT_CLICK = wx.PyEventBinder( wxEVT_COMMAND_RIGHT_CLICK, 1) | |
1914 | EVT_COMMAND_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_COMMAND_RIGHT_DCLICK, 1) | |
1915 | EVT_COMMAND_SET_FOCUS = wx.PyEventBinder( wxEVT_COMMAND_SET_FOCUS, 1) | |
1916 | EVT_COMMAND_KILL_FOCUS = wx.PyEventBinder( wxEVT_COMMAND_KILL_FOCUS, 1) | |
1917 | EVT_COMMAND_ENTER = wx.PyEventBinder( wxEVT_COMMAND_ENTER, 1) | |
1918 | ||
1919 | EVT_IDLE = wx.PyEventBinder( wxEVT_IDLE ) | |
1920 | ||
1921 | EVT_UPDATE_UI = wx.PyEventBinder( wxEVT_UPDATE_UI, 1) | |
1922 | EVT_UPDATE_UI_RANGE = wx.PyEventBinder( wxEVT_UPDATE_UI, 2) | |
1923 | ||
1924 | EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) | |
1925 | ||
1926 | ||
1927 | </pythoncode> | |
f32fc4bc | 1928 | <pythoncode> |
0f43fbdf RD |
1929 | #--------------------------------------------------------------------------- |
1930 | </pythoncode> | |
f32fc4bc RD |
1931 | <class name="Event" oldname="wxEvent" module="core"> |
1932 | <baseclass name="Object"/> | |
1933 | <destructor name="~wxEvent" overloaded="no"> | |
1934 | <autodoc>__del__()</autodoc> | |
1935 | </destructor> | |
1936 | <method name="SetEventType" type="" overloaded="no"> | |
1937 | <autodoc>SetEventType(wxEventType typ)</autodoc> | |
1938 | <paramlist> | |
1939 | <param name="typ" type="wxEventType" default=""/> | |
1940 | </paramlist> | |
1941 | </method> | |
1942 | <method name="GetEventType" type="wxEventType" overloaded="no"> | |
1943 | <autodoc>GetEventType() -> wxEventType</autodoc> | |
1944 | </method> | |
1945 | <method name="GetEventObject" type="Object" overloaded="no"> | |
1946 | <autodoc>GetEventObject() -> Object</autodoc> | |
1947 | </method> | |
1948 | <method name="SetEventObject" type="" overloaded="no"> | |
1949 | <autodoc>SetEventObject(Object obj)</autodoc> | |
1950 | <paramlist> | |
1951 | <param name="obj" type="Object" default=""/> | |
1952 | </paramlist> | |
1953 | </method> | |
1954 | <method name="GetTimestamp" type="long" overloaded="no"> | |
1955 | <autodoc>GetTimestamp() -> long</autodoc> | |
1956 | </method> | |
1957 | <method name="SetTimestamp" type="" overloaded="no"> | |
1958 | <autodoc>SetTimestamp(long ts=0)</autodoc> | |
1959 | <paramlist> | |
1960 | <param name="ts" type="long" default="0"/> | |
1961 | </paramlist> | |
1962 | </method> | |
1963 | <method name="GetId" type="int" overloaded="no"> | |
1964 | <autodoc>GetId() -> int</autodoc> | |
1965 | </method> | |
1966 | <method name="SetId" type="" overloaded="no"> | |
1967 | <autodoc>SetId(int Id)</autodoc> | |
1968 | <paramlist> | |
1969 | <param name="Id" type="int" default=""/> | |
1970 | </paramlist> | |
1971 | </method> | |
1972 | <method name="IsCommandEvent" type="bool" overloaded="no"> | |
1973 | <autodoc>IsCommandEvent() -> bool</autodoc> | |
1974 | </method> | |
1975 | <method name="Skip" type="" overloaded="no"> | |
1976 | <autodoc>Skip(bool skip=True)</autodoc> | |
1977 | <paramlist> | |
1978 | <param name="skip" type="bool" default="True"/> | |
1979 | </paramlist> | |
1980 | </method> | |
1981 | <method name="GetSkipped" type="bool" overloaded="no"> | |
1982 | <autodoc>GetSkipped() -> bool</autodoc> | |
1983 | </method> | |
1984 | <method name="ShouldPropagate" type="bool" overloaded="no"> | |
1985 | <autodoc>ShouldPropagate() -> bool</autodoc> | |
1986 | </method> | |
1987 | <method name="StopPropagation" type="int" overloaded="no"> | |
1988 | <autodoc>StopPropagation() -> int</autodoc> | |
1989 | </method> | |
1990 | <method name="ResumePropagation" type="" overloaded="no"> | |
1991 | <autodoc>ResumePropagation(int propagationLevel)</autodoc> | |
1992 | <paramlist> | |
1993 | <param name="propagationLevel" type="int" default=""/> | |
1994 | </paramlist> | |
1995 | </method> | |
1996 | <method name="Clone" type="Event" overloaded="no"> | |
1997 | <autodoc>Clone() -> Event</autodoc> | |
1998 | </method> | |
1999 | </class> | |
2000 | <pythoncode> | |
0f43fbdf RD |
2001 | #--------------------------------------------------------------------------- |
2002 | </pythoncode> | |
f32fc4bc RD |
2003 | <class name="PropagationDisabler" oldname="wxPropagationDisabler" module="core"> |
2004 | <constructor name="PropagationDisabler" overloaded="no"> | |
2005 | <autodoc>__init__(Event event) -> PropagationDisabler</autodoc> | |
2006 | <paramlist> | |
2007 | <param name="event" type="Event" default=""/> | |
2008 | </paramlist> | |
2009 | </constructor> | |
2010 | <destructor name="~wxPropagationDisabler" overloaded="no"> | |
2011 | <autodoc>__del__()</autodoc> | |
2012 | </destructor> | |
2013 | </class> | |
2014 | <class name="PropagateOnce" oldname="wxPropagateOnce" module="core"> | |
2015 | <constructor name="PropagateOnce" overloaded="no"> | |
2016 | <autodoc>__init__(Event event) -> PropagateOnce</autodoc> | |
2017 | <paramlist> | |
2018 | <param name="event" type="Event" default=""/> | |
2019 | </paramlist> | |
2020 | </constructor> | |
2021 | <destructor name="~wxPropagateOnce" overloaded="no"> | |
2022 | <autodoc>__del__()</autodoc> | |
2023 | </destructor> | |
2024 | </class> | |
2025 | <pythoncode> | |
0f43fbdf RD |
2026 | #--------------------------------------------------------------------------- |
2027 | </pythoncode> | |
f32fc4bc RD |
2028 | <class name="CommandEvent" oldname="wxCommandEvent" module="core"> |
2029 | <baseclass name="Event"/> | |
2030 | <constructor name="CommandEvent" overloaded="no"> | |
2031 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int winid=0) -> CommandEvent</autodoc> | |
2032 | <paramlist> | |
2033 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
2034 | <param name="winid" type="int" default="0"/> | |
2035 | </paramlist> | |
2036 | </constructor> | |
2037 | <method name="GetSelection" type="int" overloaded="no"> | |
2038 | <autodoc>GetSelection() -> int</autodoc> | |
2039 | </method> | |
2040 | <method name="SetString" type="" overloaded="no"> | |
2041 | <autodoc>SetString(String s)</autodoc> | |
2042 | <paramlist> | |
2043 | <param name="s" type="String" default=""/> | |
2044 | </paramlist> | |
2045 | </method> | |
2046 | <method name="GetString" type="String" overloaded="no"> | |
2047 | <autodoc>GetString() -> String</autodoc> | |
2048 | </method> | |
2049 | <method name="IsChecked" type="bool" overloaded="no"> | |
2050 | <autodoc>IsChecked() -> bool</autodoc> | |
2051 | </method> | |
2052 | <method name="IsSelection" type="bool" overloaded="no"> | |
2053 | <autodoc>IsSelection() -> bool</autodoc> | |
2054 | </method> | |
2055 | <method name="SetExtraLong" type="" overloaded="no"> | |
2056 | <autodoc>SetExtraLong(long extraLong)</autodoc> | |
2057 | <paramlist> | |
2058 | <param name="extraLong" type="long" default=""/> | |
2059 | </paramlist> | |
2060 | </method> | |
2061 | <method name="GetExtraLong" type="long" overloaded="no"> | |
2062 | <autodoc>GetExtraLong() -> long</autodoc> | |
2063 | </method> | |
2064 | <method name="SetInt" type="" overloaded="no"> | |
2065 | <autodoc>SetInt(int i)</autodoc> | |
2066 | <paramlist> | |
2067 | <param name="i" type="int" default=""/> | |
2068 | </paramlist> | |
2069 | </method> | |
2070 | <method name="GetInt" type="long" overloaded="no"> | |
2071 | <autodoc>GetInt() -> long</autodoc> | |
2072 | </method> | |
2073 | <method name="Clone" type="Event" overloaded="no"> | |
2074 | <autodoc>Clone() -> Event</autodoc> | |
2075 | </method> | |
2076 | </class> | |
2077 | <pythoncode> | |
0f43fbdf RD |
2078 | #--------------------------------------------------------------------------- |
2079 | </pythoncode> | |
f32fc4bc RD |
2080 | <class name="NotifyEvent" oldname="wxNotifyEvent" module="core"> |
2081 | <baseclass name="CommandEvent"/> | |
2082 | <constructor name="NotifyEvent" overloaded="no"> | |
2083 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int winid=0) -> NotifyEvent</autodoc> | |
2084 | <paramlist> | |
2085 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
2086 | <param name="winid" type="int" default="0"/> | |
2087 | </paramlist> | |
2088 | </constructor> | |
2089 | <method name="Veto" type="" overloaded="no"> | |
2090 | <autodoc>Veto()</autodoc> | |
2091 | </method> | |
2092 | <method name="Allow" type="" overloaded="no"> | |
2093 | <autodoc>Allow()</autodoc> | |
2094 | </method> | |
2095 | <method name="IsAllowed" type="bool" overloaded="no"> | |
2096 | <autodoc>IsAllowed() -> bool</autodoc> | |
2097 | </method> | |
2098 | </class> | |
2099 | <pythoncode> | |
0f43fbdf RD |
2100 | #--------------------------------------------------------------------------- |
2101 | </pythoncode> | |
f32fc4bc RD |
2102 | <class name="ScrollEvent" oldname="wxScrollEvent" module="core"> |
2103 | <baseclass name="CommandEvent"/> | |
2104 | <constructor name="ScrollEvent" overloaded="no"> | |
2105 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0, | |
0f43fbdf | 2106 | int orient=0) -> ScrollEvent</autodoc> |
f32fc4bc RD |
2107 | <paramlist> |
2108 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
2109 | <param name="winid" type="int" default="0"/> | |
2110 | <param name="pos" type="int" default="0"/> | |
2111 | <param name="orient" type="int" default="0"/> | |
2112 | </paramlist> | |
2113 | </constructor> | |
2114 | <method name="GetOrientation" type="int" overloaded="no"> | |
2115 | <autodoc>GetOrientation() -> int</autodoc> | |
2116 | </method> | |
2117 | <method name="GetPosition" type="int" overloaded="no"> | |
2118 | <autodoc>GetPosition() -> int</autodoc> | |
2119 | </method> | |
2120 | <method name="SetOrientation" type="" overloaded="no"> | |
2121 | <autodoc>SetOrientation(int orient)</autodoc> | |
2122 | <paramlist> | |
2123 | <param name="orient" type="int" default=""/> | |
2124 | </paramlist> | |
2125 | </method> | |
2126 | <method name="SetPosition" type="" overloaded="no"> | |
2127 | <autodoc>SetPosition(int pos)</autodoc> | |
2128 | <paramlist> | |
2129 | <param name="pos" type="int" default=""/> | |
2130 | </paramlist> | |
2131 | </method> | |
2132 | </class> | |
2133 | <pythoncode> | |
0f43fbdf RD |
2134 | #--------------------------------------------------------------------------- |
2135 | </pythoncode> | |
f32fc4bc RD |
2136 | <class name="ScrollWinEvent" oldname="wxScrollWinEvent" module="core"> |
2137 | <baseclass name="Event"/> | |
2138 | <constructor name="ScrollWinEvent" overloaded="no"> | |
2139 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int pos=0, int orient=0) -> ScrollWinEvent</autodoc> | |
2140 | <paramlist> | |
2141 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
2142 | <param name="pos" type="int" default="0"/> | |
2143 | <param name="orient" type="int" default="0"/> | |
2144 | </paramlist> | |
2145 | </constructor> | |
2146 | <method name="GetOrientation" type="int" overloaded="no"> | |
2147 | <autodoc>GetOrientation() -> int</autodoc> | |
2148 | </method> | |
2149 | <method name="GetPosition" type="int" overloaded="no"> | |
2150 | <autodoc>GetPosition() -> int</autodoc> | |
2151 | </method> | |
2152 | <method name="SetOrientation" type="" overloaded="no"> | |
2153 | <autodoc>SetOrientation(int orient)</autodoc> | |
2154 | <paramlist> | |
2155 | <param name="orient" type="int" default=""/> | |
2156 | </paramlist> | |
2157 | </method> | |
2158 | <method name="SetPosition" type="" overloaded="no"> | |
2159 | <autodoc>SetPosition(int pos)</autodoc> | |
2160 | <paramlist> | |
2161 | <param name="pos" type="int" default=""/> | |
2162 | </paramlist> | |
2163 | </method> | |
2164 | </class> | |
2165 | <pythoncode> | |
0f43fbdf RD |
2166 | #--------------------------------------------------------------------------- |
2167 | </pythoncode> | |
f32fc4bc RD |
2168 | <class name="MouseEvent" oldname="wxMouseEvent" module="core"> |
2169 | <baseclass name="Event"/> | |
2170 | <constructor name="MouseEvent" overloaded="no"> | |
2171 | <autodoc>__init__(wxEventType mouseType=wxEVT_NULL) -> MouseEvent</autodoc> | |
2172 | <paramlist> | |
2173 | <param name="mouseType" type="wxEventType" default="wxEVT_NULL"/> | |
2174 | </paramlist> | |
2175 | </constructor> | |
2176 | <method name="IsButton" type="bool" overloaded="no"> | |
2177 | <autodoc>IsButton() -> bool</autodoc> | |
2178 | </method> | |
2179 | <method name="ButtonDown" type="bool" overloaded="no"> | |
2180 | <autodoc>ButtonDown(int but=MOUSE_BTN_ANY) -> bool</autodoc> | |
2181 | <paramlist> | |
2182 | <param name="but" type="int" default="wxMOUSE_BTN_ANY"/> | |
2183 | </paramlist> | |
2184 | </method> | |
2185 | <method name="ButtonDClick" type="bool" overloaded="no"> | |
2186 | <autodoc>ButtonDClick(int but=MOUSE_BTN_ANY) -> bool</autodoc> | |
2187 | <paramlist> | |
2188 | <param name="but" type="int" default="wxMOUSE_BTN_ANY"/> | |
2189 | </paramlist> | |
2190 | </method> | |
2191 | <method name="ButtonUp" type="bool" overloaded="no"> | |
2192 | <autodoc>ButtonUp(int but=MOUSE_BTN_ANY) -> bool</autodoc> | |
2193 | <paramlist> | |
2194 | <param name="but" type="int" default="wxMOUSE_BTN_ANY"/> | |
2195 | </paramlist> | |
2196 | </method> | |
2197 | <method name="Button" type="bool" overloaded="no"> | |
2198 | <autodoc>Button(int but) -> bool</autodoc> | |
2199 | <paramlist> | |
2200 | <param name="but" type="int" default=""/> | |
2201 | </paramlist> | |
2202 | </method> | |
2203 | <method name="ButtonIsDown" type="bool" overloaded="no"> | |
2204 | <autodoc>ButtonIsDown(int but) -> bool</autodoc> | |
2205 | <paramlist> | |
2206 | <param name="but" type="int" default=""/> | |
2207 | </paramlist> | |
2208 | </method> | |
2209 | <method name="GetButton" type="int" overloaded="no"> | |
2210 | <autodoc>GetButton() -> int</autodoc> | |
2211 | </method> | |
2212 | <method name="ControlDown" type="bool" overloaded="no"> | |
2213 | <autodoc>ControlDown() -> bool</autodoc> | |
2214 | </method> | |
2215 | <method name="MetaDown" type="bool" overloaded="no"> | |
2216 | <autodoc>MetaDown() -> bool</autodoc> | |
2217 | </method> | |
2218 | <method name="AltDown" type="bool" overloaded="no"> | |
2219 | <autodoc>AltDown() -> bool</autodoc> | |
2220 | </method> | |
2221 | <method name="ShiftDown" type="bool" overloaded="no"> | |
2222 | <autodoc>ShiftDown() -> bool</autodoc> | |
2223 | </method> | |
2224 | <method name="LeftDown" type="bool" overloaded="no"> | |
2225 | <autodoc>LeftDown() -> bool</autodoc> | |
2226 | </method> | |
2227 | <method name="MiddleDown" type="bool" overloaded="no"> | |
2228 | <autodoc>MiddleDown() -> bool</autodoc> | |
2229 | </method> | |
2230 | <method name="RightDown" type="bool" overloaded="no"> | |
2231 | <autodoc>RightDown() -> bool</autodoc> | |
2232 | </method> | |
2233 | <method name="LeftUp" type="bool" overloaded="no"> | |
2234 | <autodoc>LeftUp() -> bool</autodoc> | |
2235 | </method> | |
2236 | <method name="MiddleUp" type="bool" overloaded="no"> | |
2237 | <autodoc>MiddleUp() -> bool</autodoc> | |
2238 | </method> | |
2239 | <method name="RightUp" type="bool" overloaded="no"> | |
2240 | <autodoc>RightUp() -> bool</autodoc> | |
2241 | </method> | |
2242 | <method name="LeftDClick" type="bool" overloaded="no"> | |
2243 | <autodoc>LeftDClick() -> bool</autodoc> | |
2244 | </method> | |
2245 | <method name="MiddleDClick" type="bool" overloaded="no"> | |
2246 | <autodoc>MiddleDClick() -> bool</autodoc> | |
2247 | </method> | |
2248 | <method name="RightDClick" type="bool" overloaded="no"> | |
2249 | <autodoc>RightDClick() -> bool</autodoc> | |
2250 | </method> | |
2251 | <method name="LeftIsDown" type="bool" overloaded="no"> | |
2252 | <autodoc>LeftIsDown() -> bool</autodoc> | |
2253 | </method> | |
2254 | <method name="MiddleIsDown" type="bool" overloaded="no"> | |
2255 | <autodoc>MiddleIsDown() -> bool</autodoc> | |
2256 | </method> | |
2257 | <method name="RightIsDown" type="bool" overloaded="no"> | |
2258 | <autodoc>RightIsDown() -> bool</autodoc> | |
2259 | </method> | |
2260 | <method name="Dragging" type="bool" overloaded="no"> | |
2261 | <autodoc>Dragging() -> bool</autodoc> | |
2262 | </method> | |
2263 | <method name="Moving" type="bool" overloaded="no"> | |
2264 | <autodoc>Moving() -> bool</autodoc> | |
2265 | </method> | |
2266 | <method name="Entering" type="bool" overloaded="no"> | |
2267 | <autodoc>Entering() -> bool</autodoc> | |
2268 | </method> | |
2269 | <method name="Leaving" type="bool" overloaded="no"> | |
2270 | <autodoc>Leaving() -> bool</autodoc> | |
2271 | </method> | |
2272 | <method name="GetPosition" type="Point" overloaded="no"> | |
2273 | <autodoc>GetPosition() -> Point</autodoc> | |
2274 | <docstring>Returns the position of the mouse in window coordinates when the event happened.</docstring> | |
2275 | </method> | |
2276 | <method name="GetPositionTuple" type="" overloaded="no"> | |
2277 | <autodoc>GetPositionTuple() -> (x,y)</autodoc> | |
2278 | <docstring>Returns the position of the mouse in window coordinates when the event happened.</docstring> | |
2279 | <paramlist> | |
2280 | <param name="OUTPUT" type="long" default=""/> | |
2281 | <param name="OUTPUT" type="long" default=""/> | |
2282 | </paramlist> | |
2283 | </method> | |
2284 | <method name="GetLogicalPosition" type="Point" overloaded="no"> | |
2285 | <autodoc>GetLogicalPosition(DC dc) -> Point</autodoc> | |
2286 | <paramlist> | |
2287 | <param name="dc" type="wxDC" default=""/> | |
2288 | </paramlist> | |
2289 | </method> | |
2290 | <method name="GetX" type="int" overloaded="no"> | |
2291 | <autodoc>GetX() -> int</autodoc> | |
2292 | </method> | |
2293 | <method name="GetY" type="int" overloaded="no"> | |
2294 | <autodoc>GetY() -> int</autodoc> | |
2295 | </method> | |
2296 | <method name="GetWheelRotation" type="int" overloaded="no"> | |
2297 | <autodoc>GetWheelRotation() -> int</autodoc> | |
2298 | </method> | |
2299 | <method name="GetWheelDelta" type="int" overloaded="no"> | |
2300 | <autodoc>GetWheelDelta() -> int</autodoc> | |
2301 | </method> | |
2302 | <method name="GetLinesPerAction" type="int" overloaded="no"> | |
2303 | <autodoc>GetLinesPerAction() -> int</autodoc> | |
2304 | </method> | |
2305 | <method name="IsPageScroll" type="bool" overloaded="no"> | |
2306 | <autodoc>IsPageScroll() -> bool</autodoc> | |
2307 | </method> | |
2308 | <property name="m_x" type="int" readonly="no"/> | |
2309 | <property name="m_y" type="int" readonly="no"/> | |
2310 | <property name="m_leftDown" type="bool" readonly="no"/> | |
2311 | <property name="m_middleDown" type="bool" readonly="no"/> | |
2312 | <property name="m_rightDown" type="bool" readonly="no"/> | |
2313 | <property name="m_controlDown" type="bool" readonly="no"/> | |
2314 | <property name="m_shiftDown" type="bool" readonly="no"/> | |
2315 | <property name="m_altDown" type="bool" readonly="no"/> | |
2316 | <property name="m_metaDown" type="bool" readonly="no"/> | |
2317 | <property name="m_wheelRotation" type="int" readonly="no"/> | |
2318 | <property name="m_wheelDelta" type="int" readonly="no"/> | |
2319 | <property name="m_linesPerAction" type="int" readonly="no"/> | |
2320 | </class> | |
2321 | <pythoncode> | |
0f43fbdf RD |
2322 | #--------------------------------------------------------------------------- |
2323 | </pythoncode> | |
f32fc4bc RD |
2324 | <class name="SetCursorEvent" oldname="wxSetCursorEvent" module="core"> |
2325 | <baseclass name="Event"/> | |
2326 | <constructor name="SetCursorEvent" overloaded="no"> | |
2327 | <autodoc>__init__(int x=0, int y=0) -> SetCursorEvent</autodoc> | |
2328 | <paramlist> | |
2329 | <param name="x" type="int" default="0"/> | |
2330 | <param name="y" type="int" default="0"/> | |
2331 | </paramlist> | |
2332 | </constructor> | |
2333 | <method name="GetX" type="int" overloaded="no"> | |
2334 | <autodoc>GetX() -> int</autodoc> | |
2335 | </method> | |
2336 | <method name="GetY" type="int" overloaded="no"> | |
2337 | <autodoc>GetY() -> int</autodoc> | |
2338 | </method> | |
2339 | <method name="SetCursor" type="" overloaded="no"> | |
2340 | <autodoc>SetCursor(Cursor cursor)</autodoc> | |
2341 | <paramlist> | |
2342 | <param name="cursor" type="wxCursor" default=""/> | |
2343 | </paramlist> | |
2344 | </method> | |
2345 | <method name="GetCursor" type="wxCursor" overloaded="no"> | |
2346 | <autodoc>GetCursor() -> Cursor</autodoc> | |
2347 | </method> | |
2348 | <method name="HasCursor" type="bool" overloaded="no"> | |
2349 | <autodoc>HasCursor() -> bool</autodoc> | |
2350 | </method> | |
2351 | </class> | |
2352 | <pythoncode> | |
0f43fbdf RD |
2353 | #--------------------------------------------------------------------------- |
2354 | </pythoncode> | |
f32fc4bc RD |
2355 | <class name="KeyEvent" oldname="wxKeyEvent" module="core"> |
2356 | <baseclass name="Event"/> | |
2357 | <constructor name="KeyEvent" overloaded="no"> | |
2358 | <autodoc>__init__(wxEventType keyType=wxEVT_NULL) -> KeyEvent</autodoc> | |
2359 | <paramlist> | |
2360 | <param name="keyType" type="wxEventType" default="wxEVT_NULL"/> | |
2361 | </paramlist> | |
2362 | </constructor> | |
2363 | <method name="ControlDown" type="bool" overloaded="no"> | |
2364 | <autodoc>ControlDown() -> bool</autodoc> | |
2365 | </method> | |
2366 | <method name="MetaDown" type="bool" overloaded="no"> | |
2367 | <autodoc>MetaDown() -> bool</autodoc> | |
2368 | </method> | |
2369 | <method name="AltDown" type="bool" overloaded="no"> | |
2370 | <autodoc>AltDown() -> bool</autodoc> | |
2371 | </method> | |
2372 | <method name="ShiftDown" type="bool" overloaded="no"> | |
2373 | <autodoc>ShiftDown() -> bool</autodoc> | |
2374 | </method> | |
2375 | <method name="HasModifiers" type="bool" overloaded="no"> | |
2376 | <autodoc>HasModifiers() -> bool</autodoc> | |
2377 | </method> | |
2378 | <method name="GetKeyCode" type="int" overloaded="no"> | |
2379 | <autodoc>GetKeyCode() -> int</autodoc> | |
2380 | </method> | |
2381 | <method name="GetUniChar" type="int" overloaded="no"> | |
2382 | <autodoc>GetUniChar() -> int</autodoc> | |
2383 | </method> | |
2384 | <method name="GetRawKeyCode" type="unsigned int" overloaded="no"> | |
2385 | <autodoc>GetRawKeyCode() -> unsigned int</autodoc> | |
2386 | </method> | |
2387 | <method name="GetRawKeyFlags" type="unsigned int" overloaded="no"> | |
2388 | <autodoc>GetRawKeyFlags() -> unsigned int</autodoc> | |
2389 | </method> | |
2390 | <method name="GetPosition" type="Point" overloaded="no"> | |
2391 | <autodoc>GetPosition() -> Point</autodoc> | |
2392 | <docstring>Find the position of the event.</docstring> | |
2393 | </method> | |
2394 | <method name="GetPositionTuple" type="" overloaded="no"> | |
2395 | <autodoc>GetPositionTuple() -> (x,y)</autodoc> | |
2396 | <docstring>Find the position of the event.</docstring> | |
2397 | <paramlist> | |
2398 | <param name="OUTPUT" type="long" default=""/> | |
2399 | <param name="OUTPUT" type="long" default=""/> | |
2400 | </paramlist> | |
2401 | </method> | |
2402 | <method name="GetX" type="int" overloaded="no"> | |
2403 | <autodoc>GetX() -> int</autodoc> | |
2404 | </method> | |
2405 | <method name="GetY" type="int" overloaded="no"> | |
2406 | <autodoc>GetY() -> int</autodoc> | |
2407 | </method> | |
2408 | <property name="m_x" type="int" readonly="no"/> | |
2409 | <property name="m_y" type="int" readonly="no"/> | |
2410 | <property name="m_keyCode" type="long" readonly="no"/> | |
2411 | <property name="m_controlDown" type="bool" readonly="no"/> | |
2412 | <property name="m_shiftDown" type="bool" readonly="no"/> | |
2413 | <property name="m_altDown" type="bool" readonly="no"/> | |
2414 | <property name="m_metaDown" type="bool" readonly="no"/> | |
2415 | <property name="m_scanCode" type="bool" readonly="no"/> | |
2416 | <property name="m_rawCode" type="unsigned int" readonly="no"/> | |
2417 | <property name="m_rawFlags" type="unsigned int" readonly="no"/> | |
2418 | </class> | |
2419 | <pythoncode> | |
0f43fbdf RD |
2420 | #--------------------------------------------------------------------------- |
2421 | </pythoncode> | |
f32fc4bc RD |
2422 | <class name="SizeEvent" oldname="wxSizeEvent" module="core"> |
2423 | <baseclass name="Event"/> | |
2424 | <constructor name="SizeEvent" overloaded="no"> | |
2425 | <autodoc>__init__(Size sz=DefaultSize, int winid=0) -> SizeEvent</autodoc> | |
2426 | <paramlist> | |
2427 | <param name="sz" type="Size" default="wxDefaultSize"/> | |
2428 | <param name="winid" type="int" default="0"/> | |
2429 | </paramlist> | |
2430 | </constructor> | |
2431 | <method name="GetSize" type="Size" overloaded="no"> | |
2432 | <autodoc>GetSize() -> Size</autodoc> | |
2433 | </method> | |
2434 | <method name="GetRect" type="Rect" overloaded="no"> | |
2435 | <autodoc>GetRect() -> Rect</autodoc> | |
2436 | </method> | |
2437 | <method name="SetRect" type="" overloaded="no"> | |
2438 | <autodoc>SetRect(Rect rect)</autodoc> | |
2439 | <paramlist> | |
2440 | <param name="rect" type="Rect" default=""/> | |
2441 | </paramlist> | |
2442 | </method> | |
2443 | <method name="SetSize" type="" overloaded="no"> | |
2444 | <autodoc>SetSize(Size size)</autodoc> | |
2445 | <paramlist> | |
2446 | <param name="size" type="Size" default=""/> | |
2447 | </paramlist> | |
2448 | </method> | |
2449 | <property name="m_size" type="Size" readonly="no"/> | |
2450 | <property name="m_rect" type="Rect" readonly="no"/> | |
2451 | </class> | |
2452 | <pythoncode> | |
0f43fbdf RD |
2453 | #--------------------------------------------------------------------------- |
2454 | </pythoncode> | |
f32fc4bc RD |
2455 | <class name="MoveEvent" oldname="wxMoveEvent" module="core"> |
2456 | <baseclass name="Event"/> | |
2457 | <constructor name="MoveEvent" overloaded="no"> | |
2458 | <autodoc>__init__(Point pos=DefaultPosition, int winid=0) -> MoveEvent</autodoc> | |
2459 | <paramlist> | |
2460 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
2461 | <param name="winid" type="int" default="0"/> | |
2462 | </paramlist> | |
2463 | </constructor> | |
2464 | <method name="GetPosition" type="Point" overloaded="no"> | |
2465 | <autodoc>GetPosition() -> Point</autodoc> | |
2466 | </method> | |
2467 | <method name="GetRect" type="Rect" overloaded="no"> | |
2468 | <autodoc>GetRect() -> Rect</autodoc> | |
2469 | </method> | |
2470 | <method name="SetRect" type="" overloaded="no"> | |
2471 | <autodoc>SetRect(Rect rect)</autodoc> | |
2472 | <paramlist> | |
2473 | <param name="rect" type="Rect" default=""/> | |
2474 | </paramlist> | |
2475 | </method> | |
2476 | <method name="SetPosition" type="" overloaded="no"> | |
2477 | <autodoc>SetPosition(Point pos)</autodoc> | |
2478 | <paramlist> | |
2479 | <param name="pos" type="Point" default=""/> | |
2480 | </paramlist> | |
2481 | </method> | |
2482 | <property name="m_pos" type="Point" readonly="no"/> | |
2483 | <property name="m_rect" type="Rect" readonly="no"/> | |
2484 | </class> | |
2485 | <pythoncode> | |
0f43fbdf RD |
2486 | #--------------------------------------------------------------------------- |
2487 | </pythoncode> | |
f32fc4bc RD |
2488 | <class name="PaintEvent" oldname="wxPaintEvent" module="core"> |
2489 | <baseclass name="Event"/> | |
2490 | <constructor name="PaintEvent" overloaded="no"> | |
2491 | <autodoc>__init__(int Id=0) -> PaintEvent</autodoc> | |
2492 | <paramlist> | |
2493 | <param name="Id" type="int" default="0"/> | |
2494 | </paramlist> | |
2495 | </constructor> | |
2496 | </class> | |
2497 | <class name="NcPaintEvent" oldname="wxNcPaintEvent" module="core"> | |
2498 | <baseclass name="Event"/> | |
2499 | <constructor name="NcPaintEvent" overloaded="no"> | |
2500 | <autodoc>__init__(int winid=0) -> NcPaintEvent</autodoc> | |
2501 | <paramlist> | |
2502 | <param name="winid" type="int" default="0"/> | |
2503 | </paramlist> | |
2504 | </constructor> | |
2505 | </class> | |
2506 | <pythoncode> | |
0f43fbdf RD |
2507 | #--------------------------------------------------------------------------- |
2508 | </pythoncode> | |
f32fc4bc RD |
2509 | <class name="EraseEvent" oldname="wxEraseEvent" module="core"> |
2510 | <baseclass name="Event"/> | |
2511 | <constructor name="EraseEvent" overloaded="no"> | |
2512 | <autodoc>__init__(int Id=0, DC dc=(wxDC *) NULL) -> EraseEvent</autodoc> | |
2513 | <paramlist> | |
2514 | <param name="Id" type="int" default="0"/> | |
2515 | <param name="dc" type="wxDC" default="(wxDC *) NULL"/> | |
2516 | </paramlist> | |
2517 | </constructor> | |
2518 | <method name="GetDC" type="wxDC" overloaded="no"> | |
2519 | <autodoc>GetDC() -> DC</autodoc> | |
2520 | </method> | |
2521 | </class> | |
2522 | <pythoncode> | |
0f43fbdf RD |
2523 | #--------------------------------------------------------------------------- |
2524 | </pythoncode> | |
f32fc4bc RD |
2525 | <class name="FocusEvent" oldname="wxFocusEvent" module="core"> |
2526 | <baseclass name="Event"/> | |
2527 | <constructor name="FocusEvent" overloaded="no"> | |
2528 | <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0) -> FocusEvent</autodoc> | |
2529 | <paramlist> | |
2530 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
2531 | <param name="winid" type="int" default="0"/> | |
2532 | </paramlist> | |
2533 | </constructor> | |
2534 | <method name="GetWindow" type="wxWindow" overloaded="no"> | |
2535 | <autodoc>GetWindow() -> Window</autodoc> | |
2536 | </method> | |
2537 | <method name="SetWindow" type="" overloaded="no"> | |
2538 | <autodoc>SetWindow(Window win)</autodoc> | |
2539 | <paramlist> | |
2540 | <param name="win" type="wxWindow" default=""/> | |
2541 | </paramlist> | |
2542 | </method> | |
2543 | </class> | |
2544 | <pythoncode> | |
0f43fbdf RD |
2545 | #--------------------------------------------------------------------------- |
2546 | </pythoncode> | |
f32fc4bc RD |
2547 | <class name="ChildFocusEvent" oldname="wxChildFocusEvent" module="core"> |
2548 | <baseclass name="CommandEvent"/> | |
2549 | <constructor name="ChildFocusEvent" overloaded="no"> | |
2550 | <autodoc>__init__(Window win=None) -> ChildFocusEvent</autodoc> | |
2551 | <paramlist> | |
2552 | <param name="win" type="wxWindow" default="NULL"/> | |
2553 | </paramlist> | |
2554 | </constructor> | |
2555 | <method name="GetWindow" type="wxWindow" overloaded="no"> | |
2556 | <autodoc>GetWindow() -> Window</autodoc> | |
2557 | </method> | |
2558 | </class> | |
2559 | <pythoncode> | |
0f43fbdf RD |
2560 | #--------------------------------------------------------------------------- |
2561 | </pythoncode> | |
f32fc4bc RD |
2562 | <class name="ActivateEvent" oldname="wxActivateEvent" module="core"> |
2563 | <baseclass name="Event"/> | |
2564 | <constructor name="ActivateEvent" overloaded="no"> | |
2565 | <autodoc>__init__(wxEventType type=wxEVT_NULL, bool active=True, int Id=0) -> ActivateEvent</autodoc> | |
2566 | <paramlist> | |
2567 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
2568 | <param name="active" type="bool" default="True"/> | |
2569 | <param name="Id" type="int" default="0"/> | |
2570 | </paramlist> | |
2571 | </constructor> | |
2572 | <method name="GetActive" type="bool" overloaded="no"> | |
2573 | <autodoc>GetActive() -> bool</autodoc> | |
2574 | </method> | |
2575 | </class> | |
2576 | <pythoncode> | |
0f43fbdf RD |
2577 | #--------------------------------------------------------------------------- |
2578 | </pythoncode> | |
f32fc4bc RD |
2579 | <class name="InitDialogEvent" oldname="wxInitDialogEvent" module="core"> |
2580 | <baseclass name="Event"/> | |
2581 | <constructor name="InitDialogEvent" overloaded="no"> | |
2582 | <autodoc>__init__(int Id=0) -> InitDialogEvent</autodoc> | |
2583 | <paramlist> | |
2584 | <param name="Id" type="int" default="0"/> | |
2585 | </paramlist> | |
2586 | </constructor> | |
2587 | </class> | |
2588 | <pythoncode> | |
0f43fbdf RD |
2589 | #--------------------------------------------------------------------------- |
2590 | </pythoncode> | |
f32fc4bc RD |
2591 | <class name="MenuEvent" oldname="wxMenuEvent" module="core"> |
2592 | <baseclass name="Event"/> | |
2593 | <constructor name="MenuEvent" overloaded="no"> | |
2594 | <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0, Menu menu=None) -> MenuEvent</autodoc> | |
2595 | <paramlist> | |
2596 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
2597 | <param name="winid" type="int" default="0"/> | |
2598 | <param name="menu" type="wxMenu" default="NULL"/> | |
2599 | </paramlist> | |
2600 | </constructor> | |
2601 | <method name="GetMenuId" type="int" overloaded="no"> | |
2602 | <autodoc>GetMenuId() -> int</autodoc> | |
2603 | </method> | |
2604 | <method name="IsPopup" type="bool" overloaded="no"> | |
2605 | <autodoc>IsPopup() -> bool</autodoc> | |
2606 | </method> | |
2607 | <method name="GetMenu" type="wxMenu" overloaded="no"> | |
2608 | <autodoc>GetMenu() -> Menu</autodoc> | |
2609 | </method> | |
2610 | </class> | |
2611 | <pythoncode> | |
0f43fbdf RD |
2612 | #--------------------------------------------------------------------------- |
2613 | </pythoncode> | |
f32fc4bc RD |
2614 | <class name="CloseEvent" oldname="wxCloseEvent" module="core"> |
2615 | <baseclass name="Event"/> | |
2616 | <constructor name="CloseEvent" overloaded="no"> | |
2617 | <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0) -> CloseEvent</autodoc> | |
2618 | <paramlist> | |
2619 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
2620 | <param name="winid" type="int" default="0"/> | |
2621 | </paramlist> | |
2622 | </constructor> | |
2623 | <method name="SetLoggingOff" type="" overloaded="no"> | |
2624 | <autodoc>SetLoggingOff(bool logOff)</autodoc> | |
2625 | <paramlist> | |
2626 | <param name="logOff" type="bool" default=""/> | |
2627 | </paramlist> | |
2628 | </method> | |
2629 | <method name="GetLoggingOff" type="bool" overloaded="no"> | |
2630 | <autodoc>GetLoggingOff() -> bool</autodoc> | |
2631 | </method> | |
2632 | <method name="Veto" type="" overloaded="no"> | |
2633 | <autodoc>Veto(bool veto=True)</autodoc> | |
2634 | <paramlist> | |
2635 | <param name="veto" type="bool" default="True"/> | |
2636 | </paramlist> | |
2637 | </method> | |
2638 | <method name="SetCanVeto" type="" overloaded="no"> | |
2639 | <autodoc>SetCanVeto(bool canVeto)</autodoc> | |
2640 | <paramlist> | |
2641 | <param name="canVeto" type="bool" default=""/> | |
2642 | </paramlist> | |
2643 | </method> | |
2644 | <method name="CanVeto" type="bool" overloaded="no"> | |
2645 | <autodoc>CanVeto() -> bool</autodoc> | |
2646 | </method> | |
2647 | <method name="GetVeto" type="bool" overloaded="no"> | |
2648 | <autodoc>GetVeto() -> bool</autodoc> | |
2649 | </method> | |
2650 | </class> | |
2651 | <pythoncode> | |
0f43fbdf RD |
2652 | #--------------------------------------------------------------------------- |
2653 | </pythoncode> | |
f32fc4bc RD |
2654 | <class name="ShowEvent" oldname="wxShowEvent" module="core"> |
2655 | <baseclass name="Event"/> | |
2656 | <constructor name="ShowEvent" overloaded="no"> | |
2657 | <autodoc>__init__(int winid=0, bool show=False) -> ShowEvent</autodoc> | |
2658 | <paramlist> | |
2659 | <param name="winid" type="int" default="0"/> | |
2660 | <param name="show" type="bool" default="False"/> | |
2661 | </paramlist> | |
2662 | </constructor> | |
2663 | <method name="SetShow" type="" overloaded="no"> | |
2664 | <autodoc>SetShow(bool show)</autodoc> | |
2665 | <paramlist> | |
2666 | <param name="show" type="bool" default=""/> | |
2667 | </paramlist> | |
2668 | </method> | |
2669 | <method name="GetShow" type="bool" overloaded="no"> | |
2670 | <autodoc>GetShow() -> bool</autodoc> | |
2671 | </method> | |
2672 | </class> | |
2673 | <pythoncode> | |
0f43fbdf RD |
2674 | #--------------------------------------------------------------------------- |
2675 | </pythoncode> | |
f32fc4bc RD |
2676 | <class name="IconizeEvent" oldname="wxIconizeEvent" module="core"> |
2677 | <baseclass name="Event"/> | |
2678 | <constructor name="IconizeEvent" overloaded="no"> | |
2679 | <autodoc>__init__(int id=0, bool iconized=True) -> IconizeEvent</autodoc> | |
2680 | <paramlist> | |
2681 | <param name="id" type="int" default="0"/> | |
2682 | <param name="iconized" type="bool" default="True"/> | |
2683 | </paramlist> | |
2684 | </constructor> | |
2685 | <method name="Iconized" type="bool" overloaded="no"> | |
2686 | <autodoc>Iconized() -> bool</autodoc> | |
2687 | </method> | |
2688 | </class> | |
2689 | <pythoncode> | |
0f43fbdf RD |
2690 | #--------------------------------------------------------------------------- |
2691 | </pythoncode> | |
f32fc4bc RD |
2692 | <class name="MaximizeEvent" oldname="wxMaximizeEvent" module="core"> |
2693 | <baseclass name="Event"/> | |
2694 | <constructor name="MaximizeEvent" overloaded="no"> | |
2695 | <autodoc>__init__(int id=0) -> MaximizeEvent</autodoc> | |
2696 | <paramlist> | |
2697 | <param name="id" type="int" default="0"/> | |
2698 | </paramlist> | |
2699 | </constructor> | |
2700 | </class> | |
2701 | <pythoncode> | |
0f43fbdf RD |
2702 | #--------------------------------------------------------------------------- |
2703 | </pythoncode> | |
f32fc4bc RD |
2704 | <class name="DropFilesEvent" oldname="wxDropFilesEvent" module="core"> |
2705 | <baseclass name="Event"/> | |
2706 | <method name="GetPosition" type="Point" overloaded="no"> | |
2707 | <autodoc>GetPosition() -> Point</autodoc> | |
2708 | </method> | |
2709 | <method name="GetNumberOfFiles" type="int" overloaded="no"> | |
2710 | <autodoc>GetNumberOfFiles() -> int</autodoc> | |
2711 | </method> | |
2712 | <method name="GetFiles" type="PyObject" overloaded="no"> | |
2713 | <autodoc>GetFiles() -> PyObject</autodoc> | |
2714 | </method> | |
2715 | </class> | |
2716 | <pythoncode> | |
0f43fbdf RD |
2717 | #--------------------------------------------------------------------------- |
2718 | </pythoncode> | |
f32fc4bc RD |
2719 | <class name="UpdateUIEvent" oldname="wxUpdateUIEvent" module="core"> |
2720 | <baseclass name="CommandEvent"/> | |
2721 | <constructor name="UpdateUIEvent" overloaded="no"> | |
2722 | <autodoc>__init__(int commandId=0) -> UpdateUIEvent</autodoc> | |
2723 | <paramlist> | |
2724 | <param name="commandId" type="int" default="0"/> | |
2725 | </paramlist> | |
2726 | </constructor> | |
2727 | <method name="GetChecked" type="bool" overloaded="no"> | |
2728 | <autodoc>GetChecked() -> bool</autodoc> | |
2729 | </method> | |
2730 | <method name="GetEnabled" type="bool" overloaded="no"> | |
2731 | <autodoc>GetEnabled() -> bool</autodoc> | |
2732 | </method> | |
2733 | <method name="GetText" type="String" overloaded="no"> | |
2734 | <autodoc>GetText() -> String</autodoc> | |
2735 | </method> | |
2736 | <method name="GetSetText" type="bool" overloaded="no"> | |
2737 | <autodoc>GetSetText() -> bool</autodoc> | |
2738 | </method> | |
2739 | <method name="GetSetChecked" type="bool" overloaded="no"> | |
2740 | <autodoc>GetSetChecked() -> bool</autodoc> | |
2741 | </method> | |
2742 | <method name="GetSetEnabled" type="bool" overloaded="no"> | |
2743 | <autodoc>GetSetEnabled() -> bool</autodoc> | |
2744 | </method> | |
2745 | <method name="Check" type="" overloaded="no"> | |
2746 | <autodoc>Check(bool check)</autodoc> | |
2747 | <paramlist> | |
2748 | <param name="check" type="bool" default=""/> | |
2749 | </paramlist> | |
2750 | </method> | |
2751 | <method name="Enable" type="" overloaded="no"> | |
2752 | <autodoc>Enable(bool enable)</autodoc> | |
2753 | <paramlist> | |
2754 | <param name="enable" type="bool" default=""/> | |
2755 | </paramlist> | |
2756 | </method> | |
2757 | <method name="SetText" type="" overloaded="no"> | |
2758 | <autodoc>SetText(String text)</autodoc> | |
2759 | <paramlist> | |
2760 | <param name="text" type="String" default=""/> | |
2761 | </paramlist> | |
2762 | </method> | |
2763 | <staticmethod name="SetUpdateInterval" type="" overloaded="no"> | |
2764 | <autodoc>SetUpdateInterval(long updateInterval)</autodoc> | |
2765 | <paramlist> | |
2766 | <param name="updateInterval" type="long" default=""/> | |
2767 | </paramlist> | |
2768 | </staticmethod> | |
2769 | <staticmethod name="GetUpdateInterval" type="long" overloaded="no"> | |
2770 | <autodoc>GetUpdateInterval() -> long</autodoc> | |
2771 | </staticmethod> | |
2772 | <staticmethod name="CanUpdate" type="bool" overloaded="no"> | |
2773 | <autodoc>CanUpdate(Window win) -> bool</autodoc> | |
2774 | <paramlist> | |
2775 | <param name="win" type="wxWindow" default=""/> | |
2776 | </paramlist> | |
2777 | </staticmethod> | |
2778 | <staticmethod name="ResetUpdateTime" type="" overloaded="no"> | |
2779 | <autodoc>ResetUpdateTime()</autodoc> | |
2780 | </staticmethod> | |
2781 | <staticmethod name="SetMode" type="" overloaded="no"> | |
2782 | <autodoc>SetMode(int mode)</autodoc> | |
2783 | <paramlist> | |
2784 | <param name="mode" type="wxUpdateUIMode" default=""/> | |
2785 | </paramlist> | |
2786 | </staticmethod> | |
2787 | <staticmethod name="GetMode" type="wxUpdateUIMode" overloaded="no"> | |
2788 | <autodoc>GetMode() -> int</autodoc> | |
2789 | </staticmethod> | |
2790 | </class> | |
2791 | <pythoncode> | |
0f43fbdf RD |
2792 | #--------------------------------------------------------------------------- |
2793 | </pythoncode> | |
f32fc4bc RD |
2794 | <class name="SysColourChangedEvent" oldname="wxSysColourChangedEvent" module="core"> |
2795 | <baseclass name="Event"/> | |
2796 | <constructor name="SysColourChangedEvent" overloaded="no"> | |
2797 | <autodoc>__init__() -> SysColourChangedEvent</autodoc> | |
2798 | </constructor> | |
2799 | </class> | |
2800 | <pythoncode> | |
0f43fbdf RD |
2801 | #--------------------------------------------------------------------------- |
2802 | </pythoncode> | |
f32fc4bc RD |
2803 | <class name="MouseCaptureChangedEvent" oldname="wxMouseCaptureChangedEvent" module="core"> |
2804 | <baseclass name="Event"/> | |
2805 | <constructor name="MouseCaptureChangedEvent" overloaded="no"> | |
2806 | <autodoc>__init__(int winid=0, Window gainedCapture=None) -> MouseCaptureChangedEvent</autodoc> | |
2807 | <paramlist> | |
2808 | <param name="winid" type="int" default="0"/> | |
2809 | <param name="gainedCapture" type="wxWindow" default="NULL"/> | |
2810 | </paramlist> | |
2811 | </constructor> | |
2812 | <method name="GetCapturedWindow" type="wxWindow" overloaded="no"> | |
2813 | <autodoc>GetCapturedWindow() -> Window</autodoc> | |
2814 | </method> | |
2815 | </class> | |
2816 | <pythoncode> | |
0f43fbdf RD |
2817 | #--------------------------------------------------------------------------- |
2818 | </pythoncode> | |
f32fc4bc RD |
2819 | <class name="DisplayChangedEvent" oldname="wxDisplayChangedEvent" module="core"> |
2820 | <baseclass name="Event"/> | |
2821 | <constructor name="DisplayChangedEvent" overloaded="no"> | |
2822 | <autodoc>__init__() -> DisplayChangedEvent</autodoc> | |
2823 | </constructor> | |
2824 | </class> | |
2825 | <pythoncode> | |
0f43fbdf RD |
2826 | #--------------------------------------------------------------------------- |
2827 | </pythoncode> | |
f32fc4bc RD |
2828 | <class name="PaletteChangedEvent" oldname="wxPaletteChangedEvent" module="core"> |
2829 | <baseclass name="Event"/> | |
2830 | <constructor name="PaletteChangedEvent" overloaded="no"> | |
2831 | <autodoc>__init__(int id=0) -> PaletteChangedEvent</autodoc> | |
2832 | <paramlist> | |
2833 | <param name="id" type="int" default="0"/> | |
2834 | </paramlist> | |
2835 | </constructor> | |
2836 | <method name="SetChangedWindow" type="" overloaded="no"> | |
2837 | <autodoc>SetChangedWindow(Window win)</autodoc> | |
2838 | <paramlist> | |
2839 | <param name="win" type="wxWindow" default=""/> | |
2840 | </paramlist> | |
2841 | </method> | |
2842 | <method name="GetChangedWindow" type="wxWindow" overloaded="no"> | |
2843 | <autodoc>GetChangedWindow() -> Window</autodoc> | |
2844 | </method> | |
2845 | </class> | |
2846 | <pythoncode> | |
0f43fbdf RD |
2847 | #--------------------------------------------------------------------------- |
2848 | </pythoncode> | |
f32fc4bc RD |
2849 | <class name="QueryNewPaletteEvent" oldname="wxQueryNewPaletteEvent" module="core"> |
2850 | <baseclass name="Event"/> | |
2851 | <constructor name="QueryNewPaletteEvent" overloaded="no"> | |
2852 | <autodoc>__init__(int winid=0) -> QueryNewPaletteEvent</autodoc> | |
2853 | <paramlist> | |
2854 | <param name="winid" type="int" default="0"/> | |
2855 | </paramlist> | |
2856 | </constructor> | |
2857 | <method name="SetPaletteRealized" type="" overloaded="no"> | |
2858 | <autodoc>SetPaletteRealized(bool realized)</autodoc> | |
2859 | <paramlist> | |
2860 | <param name="realized" type="bool" default=""/> | |
2861 | </paramlist> | |
2862 | </method> | |
2863 | <method name="GetPaletteRealized" type="bool" overloaded="no"> | |
2864 | <autodoc>GetPaletteRealized() -> bool</autodoc> | |
2865 | </method> | |
2866 | </class> | |
2867 | <pythoncode> | |
0f43fbdf RD |
2868 | #--------------------------------------------------------------------------- |
2869 | </pythoncode> | |
f32fc4bc RD |
2870 | <class name="NavigationKeyEvent" oldname="wxNavigationKeyEvent" module="core"> |
2871 | <baseclass name="Event"/> | |
2872 | <constructor name="NavigationKeyEvent" overloaded="no"> | |
2873 | <autodoc>__init__() -> NavigationKeyEvent</autodoc> | |
2874 | </constructor> | |
2875 | <method name="GetDirection" type="bool" overloaded="no"> | |
2876 | <autodoc>GetDirection() -> bool</autodoc> | |
2877 | </method> | |
2878 | <method name="SetDirection" type="" overloaded="no"> | |
2879 | <autodoc>SetDirection(bool bForward)</autodoc> | |
2880 | <paramlist> | |
2881 | <param name="bForward" type="bool" default=""/> | |
2882 | </paramlist> | |
2883 | </method> | |
2884 | <method name="IsWindowChange" type="bool" overloaded="no"> | |
2885 | <autodoc>IsWindowChange() -> bool</autodoc> | |
2886 | </method> | |
2887 | <method name="SetWindowChange" type="" overloaded="no"> | |
2888 | <autodoc>SetWindowChange(bool bIs)</autodoc> | |
2889 | <paramlist> | |
2890 | <param name="bIs" type="bool" default=""/> | |
2891 | </paramlist> | |
2892 | </method> | |
2893 | <method name="GetCurrentFocus" type="wxWindow" overloaded="no"> | |
2894 | <autodoc>GetCurrentFocus() -> Window</autodoc> | |
2895 | </method> | |
2896 | <method name="SetCurrentFocus" type="" overloaded="no"> | |
2897 | <autodoc>SetCurrentFocus(Window win)</autodoc> | |
2898 | <paramlist> | |
2899 | <param name="win" type="wxWindow" default=""/> | |
2900 | </paramlist> | |
2901 | </method> | |
2902 | </class> | |
2903 | <pythoncode> | |
0f43fbdf RD |
2904 | #--------------------------------------------------------------------------- |
2905 | </pythoncode> | |
f32fc4bc RD |
2906 | <class name="WindowCreateEvent" oldname="wxWindowCreateEvent" module="core"> |
2907 | <baseclass name="CommandEvent"/> | |
2908 | <constructor name="WindowCreateEvent" overloaded="no"> | |
2909 | <autodoc>__init__(Window win=None) -> WindowCreateEvent</autodoc> | |
2910 | <paramlist> | |
2911 | <param name="win" type="wxWindow" default="NULL"/> | |
2912 | </paramlist> | |
2913 | </constructor> | |
2914 | <method name="GetWindow" type="wxWindow" overloaded="no"> | |
2915 | <autodoc>GetWindow() -> Window</autodoc> | |
2916 | </method> | |
2917 | </class> | |
2918 | <class name="WindowDestroyEvent" oldname="wxWindowDestroyEvent" module="core"> | |
2919 | <baseclass name="CommandEvent"/> | |
2920 | <constructor name="WindowDestroyEvent" overloaded="no"> | |
2921 | <autodoc>__init__(Window win=None) -> WindowDestroyEvent</autodoc> | |
2922 | <paramlist> | |
2923 | <param name="win" type="wxWindow" default="NULL"/> | |
2924 | </paramlist> | |
2925 | </constructor> | |
2926 | <method name="GetWindow" type="wxWindow" overloaded="no"> | |
2927 | <autodoc>GetWindow() -> Window</autodoc> | |
2928 | </method> | |
2929 | </class> | |
2930 | <pythoncode> | |
0f43fbdf RD |
2931 | #--------------------------------------------------------------------------- |
2932 | </pythoncode> | |
f32fc4bc RD |
2933 | <class name="ContextMenuEvent" oldname="wxContextMenuEvent" module="core"> |
2934 | <baseclass name="CommandEvent"/> | |
2935 | <constructor name="ContextMenuEvent" overloaded="no"> | |
2936 | <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> ContextMenuEvent</autodoc> | |
2937 | <paramlist> | |
2938 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
2939 | <param name="winid" type="int" default="0"/> | |
2940 | <param name="pt" type="Point" default="wxDefaultPosition"/> | |
2941 | </paramlist> | |
2942 | </constructor> | |
2943 | <method name="GetPosition" type="Point" overloaded="no"> | |
2944 | <autodoc>GetPosition() -> Point</autodoc> | |
2945 | </method> | |
2946 | <method name="SetPosition" type="" overloaded="no"> | |
2947 | <autodoc>SetPosition(Point pos)</autodoc> | |
2948 | <paramlist> | |
2949 | <param name="pos" type="Point" default=""/> | |
2950 | </paramlist> | |
2951 | </method> | |
2952 | </class> | |
2953 | <pythoncode> | |
856bf319 RD |
2954 | #--------------------------------------------------------------------------- |
2955 | </pythoncode> | |
f32fc4bc RD |
2956 | <class name="IdleEvent" oldname="wxIdleEvent" module="core"> |
2957 | <baseclass name="Event"/> | |
2958 | <constructor name="IdleEvent" overloaded="no"> | |
2959 | <autodoc>__init__() -> IdleEvent</autodoc> | |
2960 | </constructor> | |
2961 | <method name="RequestMore" type="" overloaded="no"> | |
2962 | <autodoc>RequestMore(bool needMore=True)</autodoc> | |
2963 | <paramlist> | |
2964 | <param name="needMore" type="bool" default="True"/> | |
2965 | </paramlist> | |
2966 | </method> | |
2967 | <method name="MoreRequested" type="bool" overloaded="no"> | |
2968 | <autodoc>MoreRequested() -> bool</autodoc> | |
2969 | </method> | |
2970 | <staticmethod name="SetMode" type="" overloaded="no"> | |
2971 | <autodoc>SetMode(int mode)</autodoc> | |
2972 | <paramlist> | |
2973 | <param name="mode" type="wxIdleMode" default=""/> | |
2974 | </paramlist> | |
2975 | </staticmethod> | |
2976 | <staticmethod name="GetMode" type="wxIdleMode" overloaded="no"> | |
2977 | <autodoc>GetMode() -> int</autodoc> | |
2978 | </staticmethod> | |
2979 | <staticmethod name="CanSend" type="bool" overloaded="no"> | |
2980 | <autodoc>CanSend(Window win) -> bool</autodoc> | |
2981 | <paramlist> | |
2982 | <param name="win" type="wxWindow" default=""/> | |
2983 | </paramlist> | |
2984 | </staticmethod> | |
2985 | </class> | |
2986 | <pythoncode> | |
856bf319 RD |
2987 | #--------------------------------------------------------------------------- |
2988 | </pythoncode> | |
f32fc4bc RD |
2989 | <class name="PyEvent" oldname="wxPyEvent" module="core"> |
2990 | <baseclass name="Event"/> | |
2991 | <constructor name="PyEvent" overloaded="no"> | |
2992 | <autodoc>__init__(int winid=0, wxEventType commandType=wxEVT_NULL) -> PyEvent</autodoc> | |
2993 | <paramlist> | |
2994 | <param name="winid" type="int" default="0"/> | |
2995 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
2996 | </paramlist> | |
2997 | </constructor> | |
2998 | <destructor name="~wxPyEvent" overloaded="no"> | |
2999 | <autodoc>__del__()</autodoc> | |
3000 | </destructor> | |
3001 | <method name="SetSelf" type="" overloaded="no"> | |
3002 | <autodoc>SetSelf(PyObject self)</autodoc> | |
3003 | <paramlist> | |
3004 | <param name="self" type="PyObject" default=""/> | |
3005 | </paramlist> | |
3006 | </method> | |
3007 | <method name="GetSelf" type="PyObject" overloaded="no"> | |
3008 | <autodoc>GetSelf() -> PyObject</autodoc> | |
3009 | </method> | |
3010 | </class> | |
3011 | <class name="PyCommandEvent" oldname="wxPyCommandEvent" module="core"> | |
3012 | <baseclass name="CommandEvent"/> | |
3013 | <constructor name="PyCommandEvent" overloaded="no"> | |
3014 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> PyCommandEvent</autodoc> | |
3015 | <paramlist> | |
3016 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
3017 | <param name="id" type="int" default="0"/> | |
3018 | </paramlist> | |
3019 | </constructor> | |
3020 | <destructor name="~wxPyCommandEvent" overloaded="no"> | |
3021 | <autodoc>__del__()</autodoc> | |
3022 | </destructor> | |
3023 | <method name="SetSelf" type="" overloaded="no"> | |
3024 | <autodoc>SetSelf(PyObject self)</autodoc> | |
3025 | <paramlist> | |
3026 | <param name="self" type="PyObject" default=""/> | |
3027 | </paramlist> | |
3028 | </method> | |
3029 | <method name="GetSelf" type="PyObject" overloaded="no"> | |
3030 | <autodoc>GetSelf() -> PyObject</autodoc> | |
3031 | </method> | |
3032 | </class> | |
3033 | <pythoncode> | |
856bf319 RD |
3034 | #--------------------------------------------------------------------------- |
3035 | </pythoncode> | |
f32fc4bc RD |
3036 | <class name="PyApp" oldname="wxPyApp" module="core"> |
3037 | <baseclass name="EvtHandler"/> | |
3038 | <constructor name="PyApp" overloaded="no"> | |
3039 | <autodoc>__init__() -> PyApp</autodoc> | |
3040 | <docstring>Create a new application object, starting the bootstrap process.</docstring> | |
3041 | </constructor> | |
3042 | <destructor name="~wxPyApp" overloaded="no"> | |
3043 | <autodoc>__del__()</autodoc> | |
3044 | </destructor> | |
3045 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
3046 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
3047 | <paramlist> | |
3048 | <param name="self" type="PyObject" default=""/> | |
3049 | <param name="_class" type="PyObject" default=""/> | |
3050 | </paramlist> | |
3051 | </method> | |
3052 | <method name="GetAppName" type="String" overloaded="no"> | |
3053 | <autodoc>GetAppName() -> String</autodoc> | |
3054 | <docstring>Get the application name.</docstring> | |
3055 | </method> | |
3056 | <method name="SetAppName" type="" overloaded="no"> | |
3057 | <autodoc>SetAppName(String name)</autodoc> | |
3058 | <docstring>Set the application name. This value may be used automatically | |
856bf319 | 3059 | by wx.Config and such.</docstring> |
f32fc4bc RD |
3060 | <paramlist> |
3061 | <param name="name" type="String" default=""/> | |
3062 | </paramlist> | |
3063 | </method> | |
3064 | <method name="GetClassName" type="String" overloaded="no"> | |
3065 | <autodoc>GetClassName() -> String</autodoc> | |
3066 | <docstring>Get the application's class name.</docstring> | |
3067 | </method> | |
3068 | <method name="SetClassName" type="" overloaded="no"> | |
3069 | <autodoc>SetClassName(String name)</autodoc> | |
3070 | <docstring>Set the application's class name. This value may be used for X-resources if | |
856bf319 | 3071 | applicable for the platform</docstring> |
f32fc4bc RD |
3072 | <paramlist> |
3073 | <param name="name" type="String" default=""/> | |
3074 | </paramlist> | |
3075 | </method> | |
3076 | <method name="GetVendorName" type="String" overloaded="no"> | |
3077 | <autodoc>GetVendorName() -> String</autodoc> | |
3078 | <docstring>Get the application's vendor name.</docstring> | |
3079 | </method> | |
3080 | <method name="SetVendorName" type="" overloaded="no"> | |
3081 | <autodoc>SetVendorName(String name)</autodoc> | |
3082 | <docstring>Set the application's vendor name. This value may be used automatically | |
856bf319 | 3083 | by wx.Config and such.</docstring> |
f32fc4bc RD |
3084 | <paramlist> |
3085 | <param name="name" type="String" default=""/> | |
3086 | </paramlist> | |
3087 | </method> | |
3088 | <method name="GetTraits" type="wxAppTraits" overloaded="no"> | |
3089 | <autodoc>GetTraits() -> wxAppTraits</autodoc> | |
3090 | <docstring>Create the app traits object to which we delegate for everything which either | |
856bf319 RD |
3091 | should be configurable by the user (then he can change the default behaviour |
3092 | simply by overriding CreateTraits() and returning his own traits object) or | |
3093 | which is GUI/console dependent as then wx.AppTraits allows us to abstract the | |
3094 | differences behind the common facade</docstring> | |
f32fc4bc RD |
3095 | </method> |
3096 | <method name="ProcessPendingEvents" type="" overloaded="no"> | |
3097 | <autodoc>ProcessPendingEvents()</autodoc> | |
3098 | <docstring>Process all events in the Pending Events list -- it is necessary to call this | |
856bf319 RD |
3099 | function to process posted events. This happens during each event loop |
3100 | iteration.</docstring> | |
f32fc4bc RD |
3101 | </method> |
3102 | <method name="Yield" type="bool" overloaded="no"> | |
3103 | <autodoc>Yield(bool onlyIfNeeded=False) -> bool</autodoc> | |
3104 | <docstring>Process all currently pending events right now, instead of waiting until | |
856bf319 | 3105 | return to the event loop. It is an error to call Yield() recursively unless |
0f43fbdf RD |
3106 | the value of onlyIfNeeded is True. |
3107 | ||
3108 | WARNING: This function is dangerous as it can lead to unexpected | |
3109 | reentrancies (i.e. when called from an event handler it | |
3110 | may result in calling the same event handler again), use | |
3111 | with _extreme_ care or, better, don't use at all! | |
3112 | </docstring> | |
f32fc4bc RD |
3113 | <paramlist> |
3114 | <param name="onlyIfNeeded" type="bool" default="False"/> | |
3115 | </paramlist> | |
3116 | </method> | |
3117 | <method name="WakeUpIdle" type="" overloaded="no"> | |
3118 | <autodoc>WakeUpIdle()</autodoc> | |
3119 | <docstring>Make sure that idle events are sent again</docstring> | |
3120 | </method> | |
3121 | <method name="MainLoop" type="int" overloaded="no"> | |
3122 | <autodoc>MainLoop() -> int</autodoc> | |
3123 | <docstring>Execute the main GUI loop, the function returns when the loop ends.</docstring> | |
3124 | </method> | |
3125 | <method name="Exit" type="" overloaded="no"> | |
3126 | <autodoc>Exit()</autodoc> | |
3127 | <docstring>Exit the main loop thus terminating the application.</docstring> | |
3128 | </method> | |
3129 | <method name="ExitMainLoop" type="" overloaded="no"> | |
3130 | <autodoc>ExitMainLoop()</autodoc> | |
3131 | <docstring>Exit the main GUI loop during the next iteration (i.e. it does not | |
0f43fbdf | 3132 | stop the program immediately!)</docstring> |
f32fc4bc RD |
3133 | </method> |
3134 | <method name="Pending" type="bool" overloaded="no"> | |
3135 | <autodoc>Pending() -> bool</autodoc> | |
3136 | <docstring>Returns True if there are unprocessed events in the event queue.</docstring> | |
3137 | </method> | |
3138 | <method name="Dispatch" type="bool" overloaded="no"> | |
3139 | <autodoc>Dispatch() -> bool</autodoc> | |
3140 | <docstring>Process the first event in the event queue (blocks until an event | |
0f43fbdf | 3141 | appears if there are none currently)</docstring> |
f32fc4bc RD |
3142 | </method> |
3143 | <method name="ProcessIdle" type="bool" overloaded="no"> | |
3144 | <autodoc>ProcessIdle() -> bool</autodoc> | |
3145 | <docstring>Called from the MainLoop when the application becomes idle and sends an | |
0f43fbdf RD |
3146 | IdleEvent to all interested parties. Returns True is more idle events are |
3147 | needed, False if not.</docstring> | |
f32fc4bc RD |
3148 | </method> |
3149 | <method name="SendIdleEvents" type="bool" overloaded="no"> | |
3150 | <autodoc>SendIdleEvents(Window win, IdleEvent event) -> bool</autodoc> | |
3151 | <docstring>Send idle event to window and all subwindows. Returns True if more idle time | |
0f43fbdf | 3152 | is requested.</docstring> |
f32fc4bc RD |
3153 | <paramlist> |
3154 | <param name="win" type="wxWindow" default=""/> | |
3155 | <param name="event" type="IdleEvent" default=""/> | |
3156 | </paramlist> | |
3157 | </method> | |
3158 | <method name="IsActive" type="bool" overloaded="no"> | |
3159 | <autodoc>IsActive() -> bool</autodoc> | |
3160 | <docstring>Return True if our app has focus.</docstring> | |
3161 | </method> | |
3162 | <method name="SetTopWindow" type="" overloaded="no"> | |
3163 | <autodoc>SetTopWindow(Window win)</autodoc> | |
3164 | <docstring>Set the "main" top level window</docstring> | |
3165 | <paramlist> | |
3166 | <param name="win" type="wxWindow" default=""/> | |
3167 | </paramlist> | |
3168 | </method> | |
3169 | <method name="GetTopWindow" type="wxWindow" overloaded="no"> | |
3170 | <autodoc>GetTopWindow() -> Window</autodoc> | |
3171 | <docstring>Return the "main" top level window (if it hadn't been set previously with | |
0f43fbdf RD |
3172 | SetTopWindow(), will return just some top level window and, if there not any, |
3173 | will return None)</docstring> | |
f32fc4bc RD |
3174 | </method> |
3175 | <method name="SetExitOnFrameDelete" type="" overloaded="no"> | |
3176 | <autodoc>SetExitOnFrameDelete(bool flag)</autodoc> | |
3177 | <docstring>Control the exit behaviour: by default, the program will exit the main loop | |
0f43fbdf RD |
3178 | (and so, usually, terminate) when the last top-level program window is |
3179 | deleted. Beware that if you disable this behaviour (with | |
3180 | SetExitOnFrameDelete(False)), you'll have to call ExitMainLoop() explicitly | |
3181 | from somewhere. | |
3182 | </docstring> | |
f32fc4bc RD |
3183 | <paramlist> |
3184 | <param name="flag" type="bool" default=""/> | |
3185 | </paramlist> | |
3186 | </method> | |
3187 | <method name="GetExitOnFrameDelete" type="bool" overloaded="no"> | |
3188 | <autodoc>GetExitOnFrameDelete() -> bool</autodoc> | |
3189 | <docstring>Get the current exit behaviour setting.</docstring> | |
3190 | </method> | |
3191 | <method name="SetUseBestVisual" type="" overloaded="no"> | |
3192 | <autodoc>SetUseBestVisual(bool flag)</autodoc> | |
3193 | <docstring>Set whether the app should try to use the best available visual on systems | |
0f43fbdf | 3194 | where more than one is available, (Sun, SGI, XFree86 4, etc.)</docstring> |
f32fc4bc RD |
3195 | <paramlist> |
3196 | <param name="flag" type="bool" default=""/> | |
3197 | </paramlist> | |
3198 | </method> | |
3199 | <method name="GetUseBestVisual" type="bool" overloaded="no"> | |
3200 | <autodoc>GetUseBestVisual() -> bool</autodoc> | |
3201 | <docstring>Get current UseBestVisual setting.</docstring> | |
3202 | </method> | |
3203 | <method name="SetPrintMode" type="" overloaded="no"> | |
3204 | <autodoc>SetPrintMode(int mode)</autodoc> | |
3205 | <paramlist> | |
3206 | <param name="mode" type="int" default=""/> | |
3207 | </paramlist> | |
3208 | </method> | |
3209 | <method name="GetPrintMode" type="int" overloaded="no"> | |
3210 | <autodoc>GetPrintMode() -> int</autodoc> | |
3211 | </method> | |
3212 | <method name="SetAssertMode" type="" overloaded="no"> | |
3213 | <autodoc>SetAssertMode(int mode)</autodoc> | |
3214 | <docstring>Set the OnAssert behaviour for debug and hybrid builds. The following flags | |
0f43fbdf RD |
3215 | may be or'd together: |
3216 | ||
3217 | wx.PYAPP_ASSERT_SUPPRESS Don't do anything | |
3218 | wx.PYAPP_ASSERT_EXCEPTION Turn it into a Python exception if possible (default) | |
3219 | wx.PYAPP_ASSERT_DIALOG Display a message dialog | |
3220 | wx.PYAPP_ASSERT_LOG Write the assertion info to the wx.Log | |
3221 | </docstring> | |
f32fc4bc RD |
3222 | <paramlist> |
3223 | <param name="mode" type="int" default=""/> | |
3224 | </paramlist> | |
3225 | </method> | |
3226 | <method name="GetAssertMode" type="int" overloaded="no"> | |
3227 | <autodoc>GetAssertMode() -> int</autodoc> | |
3228 | <docstring>Get the current OnAssert behaviour setting.</docstring> | |
3229 | </method> | |
3230 | <staticmethod name="GetMacSupportPCMenuShortcuts" type="bool" overloaded="no"> | |
3231 | <autodoc>GetMacSupportPCMenuShortcuts() -> bool</autodoc> | |
3232 | </staticmethod> | |
3233 | <staticmethod name="GetMacAboutMenuItemId" type="long" overloaded="no"> | |
3234 | <autodoc>GetMacAboutMenuItemId() -> long</autodoc> | |
3235 | </staticmethod> | |
3236 | <staticmethod name="GetMacPreferencesMenuItemId" type="long" overloaded="no"> | |
3237 | <autodoc>GetMacPreferencesMenuItemId() -> long</autodoc> | |
3238 | </staticmethod> | |
3239 | <staticmethod name="GetMacExitMenuItemId" type="long" overloaded="no"> | |
3240 | <autodoc>GetMacExitMenuItemId() -> long</autodoc> | |
3241 | </staticmethod> | |
3242 | <staticmethod name="GetMacHelpMenuTitleName" type="String" overloaded="no"> | |
3243 | <autodoc>GetMacHelpMenuTitleName() -> String</autodoc> | |
3244 | </staticmethod> | |
3245 | <staticmethod name="SetMacSupportPCMenuShortcuts" type="" overloaded="no"> | |
3246 | <autodoc>SetMacSupportPCMenuShortcuts(bool val)</autodoc> | |
3247 | <paramlist> | |
3248 | <param name="val" type="bool" default=""/> | |
3249 | </paramlist> | |
3250 | </staticmethod> | |
3251 | <staticmethod name="SetMacAboutMenuItemId" type="" overloaded="no"> | |
3252 | <autodoc>SetMacAboutMenuItemId(long val)</autodoc> | |
3253 | <paramlist> | |
3254 | <param name="val" type="long" default=""/> | |
3255 | </paramlist> | |
3256 | </staticmethod> | |
3257 | <staticmethod name="SetMacPreferencesMenuItemId" type="" overloaded="no"> | |
3258 | <autodoc>SetMacPreferencesMenuItemId(long val)</autodoc> | |
3259 | <paramlist> | |
3260 | <param name="val" type="long" default=""/> | |
3261 | </paramlist> | |
3262 | </staticmethod> | |
3263 | <staticmethod name="SetMacExitMenuItemId" type="" overloaded="no"> | |
3264 | <autodoc>SetMacExitMenuItemId(long val)</autodoc> | |
3265 | <paramlist> | |
3266 | <param name="val" type="long" default=""/> | |
3267 | </paramlist> | |
3268 | </staticmethod> | |
3269 | <staticmethod name="SetMacHelpMenuTitleName" type="" overloaded="no"> | |
3270 | <autodoc>SetMacHelpMenuTitleName(String val)</autodoc> | |
3271 | <paramlist> | |
3272 | <param name="val" type="String" default=""/> | |
3273 | </paramlist> | |
3274 | </staticmethod> | |
3275 | <method name="_BootstrapApp" type="" overloaded="no"> | |
3276 | <autodoc>_BootstrapApp()</autodoc> | |
3277 | <docstring>For internal use only</docstring> | |
3278 | </method> | |
3279 | <staticmethod name="GetComCtl32Version" type="int" overloaded="no"> | |
3280 | <autodoc>GetComCtl32Version() -> int</autodoc> | |
3281 | <docstring>Returns 400, 470, 471 for comctl32.dll 4.00, 4.70, 4.71 or 0 if it | |
856bf319 | 3282 | wasn't found at all. Raises an exception on non-Windows platforms.</docstring> |
f32fc4bc RD |
3283 | </staticmethod> |
3284 | </class> | |
3285 | <pythoncode> | |
856bf319 RD |
3286 | #--------------------------------------------------------------------------- |
3287 | </pythoncode> | |
f32fc4bc RD |
3288 | <method name="Exit" oldname="wxExit" type="" overloaded="no"> |
3289 | <autodoc>Exit()</autodoc> | |
3290 | <docstring>Force an exit of the application. Convenience for wx.GetApp().Exit()</docstring> | |
3291 | </method> | |
3292 | <method name="Yield" oldname="wxYield" type="bool" overloaded="no"> | |
3293 | <autodoc>Yield() -> bool</autodoc> | |
3294 | <docstring>Yield to other apps/messages. Convenience for wx.GetApp().Yield()</docstring> | |
3295 | </method> | |
3296 | <method name="YieldIfNeeded" oldname="wxYieldIfNeeded" type="bool" overloaded="no"> | |
3297 | <autodoc>YieldIfNeeded() -> bool</autodoc> | |
3298 | <docstring>Yield to other apps/messages. Convenience for wx.GetApp().Yield(True)</docstring> | |
3299 | </method> | |
3300 | <method name="SafeYield" oldname="wxSafeYield" type="bool" overloaded="no"> | |
3301 | <autodoc>SafeYield(Window win=None, bool onlyIfNeeded=False) -> bool</autodoc> | |
3302 | <docstring>This function is similar to wx.Yield, except that it disables the user input | |
0f43fbdf RD |
3303 | to all program windows before calling wx.Yield and re-enables it again |
3304 | afterwards. If win is not None, this window will remain enabled, allowing the | |
3305 | implementation of some limited user interaction. | |
3306 | ||
3307 | Returns the result of the call to wx.Yield.</docstring> | |
f32fc4bc RD |
3308 | <paramlist> |
3309 | <param name="win" type="wxWindow" default="NULL"/> | |
3310 | <param name="onlyIfNeeded" type="bool" default="False"/> | |
3311 | </paramlist> | |
3312 | </method> | |
3313 | <method name="WakeUpIdle" oldname="wxWakeUpIdle" type="" overloaded="no"> | |
3314 | <autodoc>WakeUpIdle()</autodoc> | |
3315 | <docstring>Cause the message queue to become empty again, so idle events will be sent.</docstring> | |
3316 | </method> | |
3317 | <method name="PostEvent" oldname="wxPostEvent" type="" overloaded="no"> | |
3318 | <autodoc>PostEvent(EvtHandler dest, Event event)</autodoc> | |
3319 | <docstring>Send an event to a window or other wx.EvtHandler to be processed later.</docstring> | |
3320 | <paramlist> | |
3321 | <param name="dest" type="EvtHandler" default=""/> | |
3322 | <param name="event" type="Event" default=""/> | |
3323 | </paramlist> | |
3324 | </method> | |
3325 | <method name="App_CleanUp" oldname="wxApp_CleanUp" type="" overloaded="no"> | |
3326 | <autodoc>App_CleanUp()</autodoc> | |
3327 | <docstring>For internal use only, it is used to cleanup after wxWindows when Python shuts down.</docstring> | |
3328 | </method> | |
3329 | <method name="GetApp" oldname="wxGetApp" type="PyApp" overloaded="no"> | |
3330 | <autodoc>GetApp() -> PyApp</autodoc> | |
3331 | <docstring>Return a reference to the current wx.App object.</docstring> | |
3332 | </method> | |
3333 | <pythoncode> | |
0f43fbdf RD |
3334 | #---------------------------------------------------------------------- |
3335 | ||
3336 | class PyOnDemandOutputWindow: | |
3337 | """ | |
3338 | A class that can be used for redirecting Python's stdout and | |
3339 | stderr streams. It will do nothing until something is wrriten to | |
3340 | the stream at which point it will create a Frame with a text area | |
3341 | and write the text there. | |
3342 | """ | |
3343 | def __init__(self, title = "wxPython: stdout/stderr"): | |
3344 | self.frame = None | |
3345 | self.title = title | |
3346 | self.parent = None | |
3347 | ||
3348 | def SetParent(self, parent): | |
3349 | """Set the window to be used as the popup Frame's parent.""" | |
3350 | self.parent = parent | |
3351 | ||
3352 | ||
3353 | def CreateOutputWindow(self, st): | |
3354 | self.frame = wx.Frame(self.parent, -1, self.title, | |
3355 | style=wx.DEFAULT_FRAME_STYLE | wx.NO_FULL_REPAINT_ON_RESIZE) | |
3356 | self.text = wx.TextCtrl(self.frame, -1, "", | |
3357 | style = wx.TE_MULTILINE | wx.TE_READONLY) | |
cff531b1 | 3358 | self.text.AppendText(st) |
0f43fbdf RD |
3359 | self.frame.SetSize((450, 300)) |
3360 | self.frame.Show(True) | |
3361 | EVT_CLOSE(self.frame, self.OnCloseWindow) | |
3362 | ||
3363 | ||
b39e211b RD |
3364 | def OnCloseWindow(self, event): |
3365 | if self.frame is not None: | |
3366 | self.frame.Destroy() | |
3367 | self.frame = None | |
3368 | self.text = None | |
3369 | ||
3370 | ||
0f43fbdf RD |
3371 | # These methods provide the file-like output behaviour. |
3372 | def write(self, text): | |
3373 | """ | |
3374 | Create the output window if needed and write the string to it. | |
3375 | If not called in the context of the gui thread then uses | |
3376 | CallAfter to do the work there. | |
3377 | """ | |
3378 | if self.frame is None: | |
3379 | if not wx.Thread_IsMain(): | |
3380 | wx.CallAfter(self.CreateOutputWindow, text) | |
3381 | else: | |
3382 | self.CreateOutputWindow(text) | |
3383 | else: | |
3384 | if not wx.Thread_IsMain(): | |
3385 | wx.CallAfter(self.text.AppendText, text) | |
3386 | else: | |
3387 | self.text.AppendText(text) | |
3388 | ||
3389 | ||
3390 | def close(self): | |
3391 | if self.frame is not None: | |
3392 | wx.CallAfter(self.frame.Close) | |
3393 | ||
3394 | ||
0f43fbdf RD |
3395 | |
3396 | #---------------------------------------------------------------------- | |
3397 | ||
3398 | _defRedirect = (wx.Platform == '__WXMSW__' or wx.Platform == '__WXMAC__') | |
3399 | ||
3400 | class App(wx.PyApp): | |
3401 | """ | |
3402 | The main application class. Derive from this and implement an OnInit | |
3403 | method that creates a frame and then calls self.SetTopWindow(frame) | |
3404 | """ | |
3405 | outputWindowClass = PyOnDemandOutputWindow | |
3406 | ||
3407 | def __init__(self, redirect=_defRedirect, filename=None, useBestVisual=False): | |
3408 | wx.PyApp.__init__(self) | |
3409 | ||
3410 | if wx.Platform == "__WXMAC__": | |
3411 | try: | |
3412 | import MacOS | |
3413 | if not MacOS.WMAvailable(): | |
3414 | print """\\ | |
3415 | This program needs access to the screen. Please run with 'pythonw', | |
3416 | not 'python', and only when you are logged in on the main display of | |
3417 | your Mac.""" | |
3418 | _sys.exit(1) | |
3419 | except: | |
3420 | pass | |
3421 | ||
3422 | # This has to be done before OnInit | |
3423 | self.SetUseBestVisual(useBestVisual) | |
3424 | ||
3425 | # Set the default handler for SIGINT. This fixes a problem | |
3426 | # where if Ctrl-C is pressed in the console that started this | |
3427 | # app then it will not appear to do anything, (not even send | |
3428 | # KeyboardInterrupt???) but will later segfault on exit. By | |
3429 | # setting the default handler then the app will exit, as | |
3430 | # expected (depending on platform.) | |
3431 | try: | |
3432 | import signal | |
3433 | signal.signal(signal.SIGINT, signal.SIG_DFL) | |
3434 | except: | |
3435 | pass | |
3436 | ||
3437 | # Save and redirect the stdio to a window? | |
3438 | self.stdioWin = None | |
3439 | self.saveStdio = (_sys.stdout, _sys.stderr) | |
3440 | if redirect: | |
3441 | self.RedirectStdio(filename) | |
3442 | ||
3443 | # This finishes the initialization of wxWindows and then calls | |
3444 | # the OnInit that should be present in the derived class | |
3445 | self._BootstrapApp() | |
3446 | ||
3447 | ||
3448 | def __del__(self): | |
3449 | try: | |
3450 | self.RestoreStdio() # Just in case the MainLoop was overridden | |
3451 | except: | |
3452 | pass | |
3453 | ||
3454 | ||
3455 | def SetTopWindow(self, frame): | |
3456 | """Set the \\"main\\" top level window""" | |
3457 | if self.stdioWin: | |
3458 | self.stdioWin.SetParent(frame) | |
3459 | wx.PyApp.SetTopWindow(self, frame) | |
3460 | ||
3461 | ||
3462 | def MainLoop(self): | |
3463 | """Execute the main GUI event loop""" | |
3464 | wx.PyApp.MainLoop(self) | |
3465 | self.RestoreStdio() | |
3466 | ||
3467 | ||
b39e211b | 3468 | def RedirectStdio(self, filename=None): |
0f43fbdf RD |
3469 | """Redirect sys.stdout and sys.stderr to a file or a popup window.""" |
3470 | if filename: | |
3471 | _sys.stdout = _sys.stderr = open(filename, 'a') | |
3472 | else: | |
3473 | self.stdioWin = self.outputWindowClass() | |
3474 | _sys.stdout = _sys.stderr = self.stdioWin | |
3475 | ||
3476 | ||
3477 | def RestoreStdio(self): | |
3478 | _sys.stdout, _sys.stderr = self.saveStdio | |
3479 | ||
3480 | ||
3481 | ||
3482 | # change from wxPyApp_ to wxApp_ | |
3483 | App_GetMacSupportPCMenuShortcuts = _core.PyApp_GetMacSupportPCMenuShortcuts | |
3484 | App_GetMacAboutMenuItemId = _core.PyApp_GetMacAboutMenuItemId | |
3485 | App_GetMacPreferencesMenuItemId = _core.PyApp_GetMacPreferencesMenuItemId | |
3486 | App_GetMacExitMenuItemId = _core.PyApp_GetMacExitMenuItemId | |
3487 | App_GetMacHelpMenuTitleName = _core.PyApp_GetMacHelpMenuTitleName | |
3488 | App_SetMacSupportPCMenuShortcuts = _core.PyApp_SetMacSupportPCMenuShortcuts | |
3489 | App_SetMacAboutMenuItemId = _core.PyApp_SetMacAboutMenuItemId | |
3490 | App_SetMacPreferencesMenuItemId = _core.PyApp_SetMacPreferencesMenuItemId | |
3491 | App_SetMacExitMenuItemId = _core.PyApp_SetMacExitMenuItemId | |
3492 | App_SetMacHelpMenuTitleName = _core.PyApp_SetMacHelpMenuTitleName | |
3493 | App_GetComCtl32Version = _core.PyApp_GetComCtl32Version | |
3494 | ||
3495 | #---------------------------------------------------------------------------- | |
3496 | ||
3497 | class PySimpleApp(wx.App): | |
3498 | """ | |
3499 | A simple application class. You can just create one of these and | |
3500 | then then make your top level windows later, and not have to worry | |
3501 | about OnInit.""" | |
3502 | ||
3503 | def __init__(self, redirect=False, filename=None, useBestVisual=False): | |
3504 | wx.App.__init__(self, redirect, filename, useBestVisual) | |
3505 | ||
3506 | def OnInit(self): | |
3507 | wx.InitAllImageHandlers() | |
3508 | return True | |
3509 | ||
3510 | ||
3511 | # Is anybody using this one? | |
3512 | class PyWidgetTester(wx.App): | |
3513 | def __init__(self, size = (250, 100)): | |
3514 | self.size = size | |
3515 | wx.App.__init__(self, 0) | |
3516 | ||
3517 | def OnInit(self): | |
3518 | self.frame = wx.Frame(None, -1, "Widget Tester", pos=(0,0), size=self.size) | |
3519 | self.SetTopWindow(self.frame) | |
3520 | return True | |
3521 | ||
3522 | def SetWidget(self, widgetClass, *args): | |
3523 | w = widgetClass(self.frame, *args) | |
3524 | self.frame.Show(True) | |
3525 | ||
3526 | #---------------------------------------------------------------------------- | |
3527 | # DO NOT hold any other references to this object. This is how we | |
3528 | # know when to cleanup system resources that wxWin is holding. When | |
3529 | # the sys module is unloaded, the refcount on sys.__wxPythonCleanup | |
3530 | # goes to zero and it calls the wxApp_CleanUp function. | |
3531 | ||
3532 | class __wxPyCleanup: | |
3533 | def __init__(self): | |
3534 | self.cleanup = _core.App_CleanUp | |
3535 | def __del__(self): | |
3536 | self.cleanup() | |
3537 | ||
3538 | _sys.__wxPythonCleanup = __wxPyCleanup() | |
3539 | ||
3540 | ## # another possible solution, but it gets called too early... | |
3541 | ## if sys.version[0] == '2': | |
3542 | ## import atexit | |
3543 | ## atexit.register(_core.wxApp_CleanUp) | |
3544 | ## else: | |
3545 | ## sys.exitfunc = _core.wxApp_CleanUp | |
3546 | ||
3547 | ||
3548 | #---------------------------------------------------------------------------- | |
3549 | </pythoncode> | |
f32fc4bc | 3550 | <pythoncode> |
0f43fbdf RD |
3551 | #--------------------------------------------------------------------------- |
3552 | </pythoncode> | |
f32fc4bc RD |
3553 | <class name="AcceleratorEntry" oldname="wxAcceleratorEntry" module="core"> |
3554 | <constructor name="AcceleratorEntry" overloaded="no"> | |
3555 | <autodoc>__init__(int flags=0, int keyCode=0, int cmd=0, MenuItem item=None) -> AcceleratorEntry</autodoc> | |
3556 | <paramlist> | |
3557 | <param name="flags" type="int" default="0"/> | |
3558 | <param name="keyCode" type="int" default="0"/> | |
3559 | <param name="cmd" type="int" default="0"/> | |
3560 | <param name="item" type="wxMenuItem" default="NULL"/> | |
3561 | </paramlist> | |
3562 | </constructor> | |
3563 | <destructor name="~wxAcceleratorEntry" overloaded="no"> | |
3564 | <autodoc>__del__()</autodoc> | |
3565 | </destructor> | |
3566 | <method name="Set" type="" overloaded="no"> | |
3567 | <autodoc>Set(int flags, int keyCode, int cmd, MenuItem item=None)</autodoc> | |
3568 | <paramlist> | |
3569 | <param name="flags" type="int" default=""/> | |
3570 | <param name="keyCode" type="int" default=""/> | |
3571 | <param name="cmd" type="int" default=""/> | |
3572 | <param name="item" type="wxMenuItem" default="NULL"/> | |
3573 | </paramlist> | |
3574 | </method> | |
3575 | <method name="SetMenuItem" type="" overloaded="no"> | |
3576 | <autodoc>SetMenuItem(MenuItem item)</autodoc> | |
3577 | <paramlist> | |
3578 | <param name="item" type="wxMenuItem" default=""/> | |
3579 | </paramlist> | |
3580 | </method> | |
3581 | <method name="GetMenuItem" type="wxMenuItem" overloaded="no"> | |
3582 | <autodoc>GetMenuItem() -> MenuItem</autodoc> | |
3583 | </method> | |
3584 | <method name="GetFlags" type="int" overloaded="no"> | |
3585 | <autodoc>GetFlags() -> int</autodoc> | |
3586 | </method> | |
3587 | <method name="GetKeyCode" type="int" overloaded="no"> | |
3588 | <autodoc>GetKeyCode() -> int</autodoc> | |
3589 | </method> | |
3590 | <method name="GetCommand" type="int" overloaded="no"> | |
3591 | <autodoc>GetCommand() -> int</autodoc> | |
3592 | </method> | |
3593 | </class> | |
3594 | <class name="AcceleratorTable" oldname="wxAcceleratorTable" module="core"> | |
3595 | <baseclass name="Object"/> | |
3596 | <constructor name="AcceleratorTable" overloaded="no"> | |
3597 | <autodoc>__init__(entries) -> AcceleratorTable</autodoc> | |
3598 | <docstring>Construct an AcceleratorTable from a list of AcceleratorEntry items or | |
0f43fbdf | 3599 | 3-tuples (flags, keyCode, cmdID)</docstring> |
f32fc4bc RD |
3600 | <paramlist> |
3601 | <param name="n" type="int" default=""/> | |
3602 | <param name="entries" type="AcceleratorEntry" default=""/> | |
3603 | </paramlist> | |
3604 | </constructor> | |
3605 | <destructor name="~wxAcceleratorTable" overloaded="no"> | |
3606 | <autodoc>__del__()</autodoc> | |
3607 | </destructor> | |
3608 | <method name="Ok" type="bool" overloaded="no"> | |
3609 | <autodoc>Ok() -> bool</autodoc> | |
3610 | </method> | |
3611 | </class> | |
3612 | <method name="GetAccelFromString" oldname="wxGetAccelFromString" type="AcceleratorEntry" overloaded="no"> | |
3613 | <autodoc>GetAccelFromString(String label) -> AcceleratorEntry</autodoc> | |
3614 | <paramlist> | |
3615 | <param name="label" type="String" default=""/> | |
0f43fbdf | 3616 | </paramlist> |
0f43fbdf | 3617 | </method> |
f32fc4bc | 3618 | <pythoncode> |
0f43fbdf RD |
3619 | #--------------------------------------------------------------------------- |
3620 | </pythoncode> | |
f32fc4bc | 3621 | <class name="Window" oldname="wxWindow" module="core"> |
c2dda882 RD |
3622 | <docstring> |
3623 | wx.Window is the base class for all windows and represents any visible | |
3624 | object on the screen. All controls, top level windows and so on are | |
3625 | wx.Windows. Sizers and device contexts are not however, as they don't | |
3626 | appear on screen themselves. | |
3627 | </docstring> | |
3628 | <refdoc> | |
3629 | Styles | |
3630 | ||
3631 | wx.SIMPLE_BORDER: Displays a thin border around the window. | |
3632 | ||
3633 | wx.DOUBLE_BORDER: Displays a double border. Windows and Mac only. | |
3634 | ||
3635 | wx.SUNKEN_BORDER: Displays a sunken border. | |
3636 | ||
3637 | wx.RAISED_BORDER: Displays a raised border. | |
3638 | ||
3639 | wx.STATIC_BORDER: Displays a border suitable for a static | |
3640 | control. Windows only. | |
3641 | ||
3642 | wx.NO_BORDER: Displays no border, overriding the default | |
3643 | border style for the window. | |
3644 | ||
3645 | wx.TRANSPARENT_WINDOW: The window is transparent, that is, it | |
3646 | will not receive paint events. Windows only. | |
3647 | ||
3648 | wx.TAB_TRAVERSAL: Use this to enable tab traversal for | |
3649 | non-dialog windows. | |
3650 | ||
3651 | wx.WANTS_CHARS: Use this to indicate that the window | |
3652 | wants to get all char/key events for | |
3653 | all keys - even for keys like TAB or | |
3654 | ENTER which are usually used for | |
3655 | dialog navigation and which wouldn't | |
3656 | be generated without this style. If | |
3657 | you need to use this style in order to | |
3658 | get the arrows or etc., but would | |
3659 | still like to have normal keyboard | |
3660 | navigation take place, you should | |
3661 | create and send a wxNavigationKeyEvent | |
3662 | in response to the key events for Tab | |
3663 | and Shift-Tab. | |
3664 | ||
3665 | wx.NO_FULL_REPAINT_ON_RESIZE: Disables repainting the window | |
3666 | completely when its size is changed | |
3667 | - you will have to repaint the new | |
3668 | window area manually if you use this | |
3669 | style. As of version 2.5.1 this | |
3670 | style is on by default. Use | |
3671 | wx.FULL_REPAINT_ON_RESIZE to | |
3672 | deactivate it. | |
3673 | ||
3674 | wx.VSCROLL: Use this style to enable a vertical scrollbar. | |
3675 | ||
3676 | wx.HSCROLL: Use this style to enable a horizontal scrollbar. | |
3677 | ||
3678 | wx.ALWAYS_SHOW_SB: If a window has scrollbars, disable them | |
3679 | instead of hiding them when they are | |
3680 | not needed (i.e. when the size of the | |
3681 | window is big enough to not require | |
3682 | the scrollbars to navigate it). This | |
3683 | style is currently only implemented | |
3684 | for wxMSW and wxUniversal and does | |
3685 | nothing on the other platforms. | |
3686 | ||
3687 | wx.CLIP_CHILDREN: Use this style to eliminate flicker caused by | |
3688 | the background being repainted, then | |
3689 | children being painted over | |
3690 | them. Windows only. | |
3691 | ||
3692 | wx.FULL_REPAINT_ON_RESIZE: Use this style to force a complete | |
3693 | redraw of the window whenever it is | |
3694 | resized instead of redrawing just the | |
3695 | part of the window affected by | |
3696 | resizing. Note that this was the | |
3697 | behaviour by default before 2.5.1 | |
3698 | release and that if you experience | |
3699 | redraw problems with the code which | |
3700 | previously used to work you may want | |
3701 | to try this. | |
3702 | ||
3703 | Extra Styles | |
3704 | ||
3705 | wx.WS_EX_VALIDATE_RECURSIVELY: By default, | |
3706 | Validate/TransferDataTo/FromWindow() | |
3707 | only work on direct children of | |
3708 | the window (compatible | |
3709 | behaviour). Set this flag to make | |
3710 | them recursively descend into all | |
3711 | subwindows. | |
3712 | ||
3713 | wx.WS_EX_BLOCK_EVENTS: wx.CommandEvents and the objects of the | |
3714 | derived classes are forwarded to | |
3715 | the parent window and so on | |
3716 | recursively by default. Using this | |
3717 | flag for the given window allows | |
3718 | to block this propagation at this | |
3719 | window, i.e. prevent the events | |
3720 | from being propagated further | |
3721 | upwards. Dialogs have this flag on | |
3722 | by default. | |
3723 | ||
3724 | wx.WS_EX_TRANSIENT Don't use this window as an implicit parent for | |
3725 | the other windows: this must be | |
3726 | used with transient windows as | |
3727 | otherwise there is the risk of | |
3728 | creating a dialog/frame with this | |
3729 | window as a parent which would | |
3730 | lead to a crash if the parent is | |
3731 | destroyed before the child. | |
3732 | ||
3733 | wx.WS_EX_PROCESS_IDLE: This window should always process idle | |
3734 | events, even if the mode set by | |
3735 | wx.IdleEvent.SetMode is | |
3736 | wx.IDLE_PROCESS_SPECIFIED. | |
3737 | ||
3738 | wx.WS_EX_PROCESS_UI_UPDATES This window should always process UI | |
3739 | update events, even if the mode | |
3740 | set by wxUpdateUIEvent::SetMode is | |
3741 | wxUPDATE_UI_PROCESS_SPECIFIED. | |
3742 | ||
3743 | </refdoc> | |
f32fc4bc RD |
3744 | <baseclass name="EvtHandler"/> |
3745 | <constructor name="Window" overloaded="no"> | |
3746 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
0f43fbdf | 3747 | long style=0, String name=PanelNameStr) -> Window</autodoc> |
c2dda882 | 3748 | <docstring>Construct and show a generic Window.</docstring> |
f32fc4bc RD |
3749 | <paramlist> |
3750 | <param name="parent" type="Window" default=""/> | |
3751 | <param name="id" type="int" default=""/> | |
3752 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
3753 | <param name="size" type="Size" default="wxDefaultSize"/> | |
3754 | <param name="style" type="long" default="0"/> | |
3755 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
3756 | </paramlist> | |
3757 | </constructor> | |
3758 | <constructor name="PreWindow" overloaded="no"> | |
3759 | <autodoc>PreWindow() -> Window</autodoc> | |
c2dda882 | 3760 | <docstring>Precreate a Window for 2-phase creation.</docstring> |
f32fc4bc RD |
3761 | </constructor> |
3762 | <method name="Create" type="bool" overloaded="no"> | |
3763 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
0f43fbdf | 3764 | long style=0, String name=PanelNameStr) -> bool</autodoc> |
c2dda882 | 3765 | <docstring>Create the GUI part of the Window for 2-phase creation mode.</docstring> |
f32fc4bc RD |
3766 | <paramlist> |
3767 | <param name="parent" type="Window" default=""/> | |
3768 | <param name="id" type="int" default=""/> | |
3769 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
3770 | <param name="size" type="Size" default="wxDefaultSize"/> | |
3771 | <param name="style" type="long" default="0"/> | |
3772 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
3773 | </paramlist> | |
3774 | </method> | |
3775 | <method name="Close" type="bool" overloaded="no"> | |
3776 | <autodoc>Close(bool force=False) -> bool</autodoc> | |
c2dda882 RD |
3777 | <docstring>This function simply generates a EVT_CLOSE event whose handler usually |
3778 | tries to close the window. It doesn't close the window itself, | |
3779 | however. If force is False (the default) then the window's close | |
3780 | handler will be allowed to veto the destruction of the window. | |
3781 | ||
3782 | Usually Close is only used with the top level windows (wx.Frame and | |
3783 | wx.Dialog classes) as the others are not supposed to have any special | |
3784 | EVT_CLOSE logic. | |
3785 | ||
3786 | The close handler should check whether the window is being deleted | |
3787 | forcibly, using wx.CloseEvent.GetForce, in which case it should | |
3788 | destroy the window using wx.Window.Destroy. | |
3789 | ||
3790 | Note that calling Close does not guarantee that the window will be | |
3791 | destroyed; but it provides a way to simulate a manual close of a | |
3792 | window, which may or may not be implemented by destroying the | |
3793 | window. The default EVT_CLOSE handler for wx.Dialog does not | |
3794 | necessarily delete the dialog, since it will simply simulate an | |
3795 | wxID_CANCEL event which is handled by the appropriate button event | |
3796 | handler and may do anything at all. | |
3797 | ||
3798 | To guarantee that the window will be destroyed, call wx.Window.Destroy | |
3799 | instead.</docstring> | |
f32fc4bc RD |
3800 | <paramlist> |
3801 | <param name="force" type="bool" default="False"/> | |
3802 | </paramlist> | |
3803 | </method> | |
3804 | <method name="Destroy" type="bool" overloaded="no"> | |
3805 | <autodoc>Destroy() -> bool</autodoc> | |
c2dda882 RD |
3806 | <docstring>Destroys the window safely. Frames and dialogs are not destroyed |
3807 | immediately when this function is called -- they are added to a list | |
3808 | of windows to be deleted on idle time, when all the window's events | |
3809 | have been processed. This prevents problems with events being sent to | |
3810 | non-existent windows. | |
3811 | ||
3812 | Returns True if the window has either been successfully deleted, or it | |
3813 | has been added to the list of windows pending real deletion.</docstring> | |
f32fc4bc RD |
3814 | </method> |
3815 | <method name="DestroyChildren" type="bool" overloaded="no"> | |
3816 | <autodoc>DestroyChildren() -> bool</autodoc> | |
c2dda882 | 3817 | <docstring>Destroys all children of a window. Called automatically by the destructor.</docstring> |
f32fc4bc RD |
3818 | </method> |
3819 | <method name="IsBeingDeleted" type="bool" overloaded="no"> | |
3820 | <autodoc>IsBeingDeleted() -> bool</autodoc> | |
c2dda882 | 3821 | <docstring>Is the window in the process of being deleted?</docstring> |
f32fc4bc RD |
3822 | </method> |
3823 | <method name="SetTitle" type="" overloaded="no"> | |
3824 | <autodoc>SetTitle(String title)</autodoc> | |
c2dda882 | 3825 | <docstring>Sets the window's title. Applicable only to frames and dialogs.</docstring> |
f32fc4bc RD |
3826 | <paramlist> |
3827 | <param name="title" type="String" default=""/> | |
3828 | </paramlist> | |
3829 | </method> | |
3830 | <method name="GetTitle" type="String" overloaded="no"> | |
3831 | <autodoc>GetTitle() -> String</autodoc> | |
c2dda882 | 3832 | <docstring>Gets the window's title. Applicable only to frames and dialogs.</docstring> |
f32fc4bc RD |
3833 | </method> |
3834 | <method name="SetLabel" type="" overloaded="no"> | |
3835 | <autodoc>SetLabel(String label)</autodoc> | |
c2dda882 | 3836 | <docstring>Set the text which the window shows in its label if applicable.</docstring> |
f32fc4bc RD |
3837 | <paramlist> |
3838 | <param name="label" type="String" default=""/> | |
3839 | </paramlist> | |
3840 | </method> | |
3841 | <method name="GetLabel" type="String" overloaded="no"> | |
3842 | <autodoc>GetLabel() -> String</autodoc> | |
b39e211b RD |
3843 | <docstring>Generic way of getting a label from any window, for |
3844 | identification purposes. The interpretation of this function | |
3845 | differs from class to class. For frames and dialogs, the value | |
3846 | returned is the title. For buttons or static text controls, it is | |
3847 | the button text. This function can be useful for meta-programs | |
3848 | (such as testing tools or special-needs access programs) which | |
3849 | need to identify windows by name.</docstring> | |
f32fc4bc RD |
3850 | </method> |
3851 | <method name="SetName" type="" overloaded="no"> | |
3852 | <autodoc>SetName(String name)</autodoc> | |
b39e211b RD |
3853 | <docstring>Sets the window's name. The window name is used for ressource |
3854 | setting in X, it is not the same as the window title/label</docstring> | |
f32fc4bc RD |
3855 | <paramlist> |
3856 | <param name="name" type="String" default=""/> | |
3857 | </paramlist> | |
3858 | </method> | |
3859 | <method name="GetName" type="String" overloaded="no"> | |
3860 | <autodoc>GetName() -> String</autodoc> | |
b39e211b RD |
3861 | <docstring>Returns the window's name. This name is not guaranteed to be |
3862 | unique; it is up to the programmer to supply an appropriate name | |
3863 | in the window constructor or via wx.Window.SetName.</docstring> | |
3864 | </method> | |
3865 | <method name="SetWindowVariant" type="" overloaded="no"> | |
3866 | <autodoc>SetWindowVariant(int variant)</autodoc> | |
3867 | <docstring>Sets the variant of the window/font size to use for this window, | |
3868 | if the platform supports variants, (for example, wxMac.)</docstring> | |
3869 | <paramlist> | |
3870 | <param name="variant" type="wxWindowVariant" default=""/> | |
3871 | </paramlist> | |
3872 | </method> | |
3873 | <method name="GetWindowVariant" type="wxWindowVariant" overloaded="no"> | |
3874 | <autodoc>GetWindowVariant() -> int</autodoc> | |
f32fc4bc RD |
3875 | </method> |
3876 | <method name="SetId" type="" overloaded="no"> | |
3877 | <autodoc>SetId(int winid)</autodoc> | |
c2dda882 RD |
3878 | <docstring>Sets the identifier of the window. Each window has an integer |
3879 | identifier. If the application has not provided one, an identifier | |
3880 | will be generated. Normally, the identifier should be provided on | |
3881 | creation and should not be modified subsequently.</docstring> | |
f32fc4bc RD |
3882 | <paramlist> |
3883 | <param name="winid" type="int" default=""/> | |
3884 | </paramlist> | |
3885 | </method> | |
3886 | <method name="GetId" type="int" overloaded="no"> | |
3887 | <autodoc>GetId() -> int</autodoc> | |
c2dda882 RD |
3888 | <docstring>Returns the identifier of the window. Each window has an integer |
3889 | identifier. If the application has not provided one (or the default Id | |
3890 | -1 is used) then an unique identifier with a negative value will be | |
3891 | generated.</docstring> | |
f32fc4bc RD |
3892 | </method> |
3893 | <staticmethod name="NewControlId" type="int" overloaded="no"> | |
3894 | <autodoc>NewControlId() -> int</autodoc> | |
c2dda882 | 3895 | <docstring>Generate a control id for the controls which were not given one.</docstring> |
f32fc4bc RD |
3896 | </staticmethod> |
3897 | <staticmethod name="NextControlId" type="int" overloaded="no"> | |
3898 | <autodoc>NextControlId(int winid) -> int</autodoc> | |
c2dda882 RD |
3899 | <docstring>Get the id of the control following the one with the given |
3900 | (autogenerated) id</docstring> | |
f32fc4bc RD |
3901 | <paramlist> |
3902 | <param name="winid" type="int" default=""/> | |
3903 | </paramlist> | |
3904 | </staticmethod> | |
3905 | <staticmethod name="PrevControlId" type="int" overloaded="no"> | |
3906 | <autodoc>PrevControlId(int winid) -> int</autodoc> | |
c2dda882 RD |
3907 | <docstring>Get the id of the control preceding the one with the given |
3908 | (autogenerated) id</docstring> | |
f32fc4bc RD |
3909 | <paramlist> |
3910 | <param name="winid" type="int" default=""/> | |
3911 | </paramlist> | |
3912 | </staticmethod> | |
3913 | <method name="SetSize" type="" overloaded="no"> | |
3914 | <autodoc>SetSize(Size size)</autodoc> | |
c2dda882 | 3915 | <docstring>Sets the size of the window in pixels.</docstring> |
f32fc4bc RD |
3916 | <paramlist> |
3917 | <param name="size" type="Size" default=""/> | |
3918 | </paramlist> | |
3919 | </method> | |
3920 | <method name="SetDimensions" type="" overloaded="no"> | |
3921 | <autodoc>SetDimensions(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc> | |
c2dda882 RD |
3922 | <docstring>Sets the position and size of the window in pixels. The sizeFlags |
3923 | parameter indicates the interpretation of the other params if they are | |
3924 | -1. wx.SIZE_AUTO*: a -1 indicates that a class-specific default | |
3925 | shoudl be used. wx.SIZE_USE_EXISTING: existing dimensions should be | |
3926 | used if -1 values are supplied. wxSIZE_ALLOW_MINUS_ONE: allow | |
3927 | dimensions of -1 and less to be interpreted as real dimensions, not | |
3928 | default values.</docstring> | |
f32fc4bc RD |
3929 | <paramlist> |
3930 | <param name="x" type="int" default=""/> | |
3931 | <param name="y" type="int" default=""/> | |
3932 | <param name="width" type="int" default=""/> | |
3933 | <param name="height" type="int" default=""/> | |
3934 | <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/> | |
3935 | </paramlist> | |
3936 | </method> | |
3937 | <method name="SetRect" type="" overloaded="no"> | |
3938 | <autodoc>SetRect(Rect rect, int sizeFlags=SIZE_AUTO)</autodoc> | |
c2dda882 | 3939 | <docstring>Sets the position and size of the window in pixels using a wx.Rect.</docstring> |
f32fc4bc RD |
3940 | <paramlist> |
3941 | <param name="rect" type="Rect" default=""/> | |
3942 | <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/> | |
3943 | </paramlist> | |
3944 | </method> | |
3945 | <method name="SetSizeWH" type="" overloaded="no"> | |
3946 | <autodoc>SetSizeWH(int width, int height)</autodoc> | |
c2dda882 | 3947 | <docstring>Sets the size of the window in pixels.</docstring> |
f32fc4bc RD |
3948 | <paramlist> |
3949 | <param name="width" type="int" default=""/> | |
3950 | <param name="height" type="int" default=""/> | |
3951 | </paramlist> | |
3952 | </method> | |
3953 | <method name="Move" type="" overloaded="no"> | |
3954 | <autodoc>Move(Point pt, int flags=SIZE_USE_EXISTING)</autodoc> | |
c2dda882 | 3955 | <docstring>Moves the window to the given position.</docstring> |
f32fc4bc RD |
3956 | <paramlist> |
3957 | <param name="pt" type="Point" default=""/> | |
3958 | <param name="flags" type="int" default="wxSIZE_USE_EXISTING"/> | |
3959 | </paramlist> | |
3960 | </method> | |
3961 | <method name="MoveXY" type="" overloaded="no"> | |
3962 | <autodoc>MoveXY(int x, int y, int flags=SIZE_USE_EXISTING)</autodoc> | |
c2dda882 | 3963 | <docstring>Moves the window to the given position.</docstring> |
f32fc4bc RD |
3964 | <paramlist> |
3965 | <param name="x" type="int" default=""/> | |
3966 | <param name="y" type="int" default=""/> | |
3967 | <param name="flags" type="int" default="wxSIZE_USE_EXISTING"/> | |
3968 | </paramlist> | |
3969 | </method> | |
3970 | <method name="Raise" type="" overloaded="no"> | |
3971 | <autodoc>Raise()</autodoc> | |
c2dda882 RD |
3972 | <docstring>Raises the window to the top of the window hierarchy if it is a |
3973 | managed window (dialog or frame).</docstring> | |
f32fc4bc RD |
3974 | </method> |
3975 | <method name="Lower" type="" overloaded="no"> | |
3976 | <autodoc>Lower()</autodoc> | |
c2dda882 RD |
3977 | <docstring>Lowers the window to the bottom of the window hierarchy if it is a |
3978 | managed window (dialog or frame).</docstring> | |
f32fc4bc RD |
3979 | </method> |
3980 | <method name="SetClientSize" type="" overloaded="no"> | |
3981 | <autodoc>SetClientSize(Size size)</autodoc> | |
c2dda882 RD |
3982 | <docstring>This sets the size of the window client area in pixels. Using this |
3983 | function to size a window tends to be more device-independent than | |
3984 | wx.Window.SetSize, since the application need not worry about what | |
3985 | dimensions the border or title bar have when trying to fit the window | |
3986 | around panel items, for example.</docstring> | |
f32fc4bc RD |
3987 | <paramlist> |
3988 | <param name="size" type="Size" default=""/> | |
3989 | </paramlist> | |
3990 | </method> | |
3991 | <method name="SetClientSizeWH" type="" overloaded="no"> | |
3992 | <autodoc>SetClientSizeWH(int width, int height)</autodoc> | |
c2dda882 RD |
3993 | <docstring>This sets the size of the window client area in pixels. Using this |
3994 | function to size a window tends to be more device-independent than | |
3995 | wx.Window.SetSize, since the application need not worry about what | |
3996 | dimensions the border or title bar have when trying to fit the window | |
3997 | around panel items, for example.</docstring> | |
f32fc4bc RD |
3998 | <paramlist> |
3999 | <param name="width" type="int" default=""/> | |
4000 | <param name="height" type="int" default=""/> | |
4001 | </paramlist> | |
4002 | </method> | |
4003 | <method name="SetClientRect" type="" overloaded="no"> | |
4004 | <autodoc>SetClientRect(Rect rect)</autodoc> | |
c2dda882 RD |
4005 | <docstring>This sets the size of the window client area in pixels. Using this |
4006 | function to size a window tends to be more device-independent than | |
4007 | wx.Window.SetSize, since the application need not worry about what | |
4008 | dimensions the border or title bar have when trying to fit the window | |
4009 | around panel items, for example.</docstring> | |
f32fc4bc RD |
4010 | <paramlist> |
4011 | <param name="rect" type="Rect" default=""/> | |
4012 | </paramlist> | |
4013 | </method> | |
4014 | <method name="GetPosition" type="Point" overloaded="no"> | |
4015 | <autodoc>GetPosition() -> Point</autodoc> | |
4016 | <docstring>Get the window's position.</docstring> | |
4017 | </method> | |
4018 | <method name="GetPositionTuple" type="" overloaded="no"> | |
4019 | <autodoc>GetPositionTuple() -> (x,y)</autodoc> | |
4020 | <docstring>Get the window's position.</docstring> | |
4021 | <paramlist> | |
4022 | <param name="OUTPUT" type="int" default=""/> | |
4023 | <param name="OUTPUT" type="int" default=""/> | |
4024 | </paramlist> | |
4025 | </method> | |
4026 | <method name="GetSize" type="Size" overloaded="no"> | |
4027 | <autodoc>GetSize() -> Size</autodoc> | |
4028 | <docstring>Get the window size.</docstring> | |
4029 | </method> | |
4030 | <method name="GetSizeTuple" type="" overloaded="no"> | |
4031 | <autodoc>GetSizeTuple() -> (width, height)</autodoc> | |
4032 | <docstring>Get the window size.</docstring> | |
4033 | <paramlist> | |
4034 | <param name="OUTPUT" type="int" default=""/> | |
4035 | <param name="OUTPUT" type="int" default=""/> | |
4036 | </paramlist> | |
4037 | </method> | |
4038 | <method name="GetRect" type="Rect" overloaded="no"> | |
4039 | <autodoc>GetRect() -> Rect</autodoc> | |
c2dda882 | 4040 | <docstring>Returns the size and position of the window as a wx.Rect object.</docstring> |
f32fc4bc RD |
4041 | </method> |
4042 | <method name="GetClientSize" type="Size" overloaded="no"> | |
4043 | <autodoc>GetClientSize() -> Size</autodoc> | |
c2dda882 RD |
4044 | <docstring>This gets the size of the window's 'client area' in pixels. The client |
4045 | area is the area which may be drawn on by the programmer, excluding | |
4046 | title bar, border, scrollbars, etc.</docstring> | |
f32fc4bc RD |
4047 | </method> |
4048 | <method name="GetClientSizeTuple" type="" overloaded="no"> | |
4049 | <autodoc>GetClientSizeTuple() -> (width, height)</autodoc> | |
c2dda882 RD |
4050 | <docstring>This gets the size of the window's 'client area' in pixels. The client |
4051 | area is the area which may be drawn on by the programmer, excluding | |
4052 | title bar, border, scrollbars, etc.</docstring> | |
f32fc4bc RD |
4053 | <paramlist> |
4054 | <param name="OUTPUT" type="int" default=""/> | |
4055 | <param name="OUTPUT" type="int" default=""/> | |
4056 | </paramlist> | |
4057 | </method> | |
4058 | <method name="GetClientAreaOrigin" type="Point" overloaded="no"> | |
4059 | <autodoc>GetClientAreaOrigin() -> Point</autodoc> | |
c2dda882 RD |
4060 | <docstring>Get the origin of the client area of the window relative to the |
4061 | window's top left corner (the client area may be shifted because of | |
4062 | the borders, scrollbars, other decorations...)</docstring> | |
f32fc4bc RD |
4063 | </method> |
4064 | <method name="GetClientRect" type="Rect" overloaded="no"> | |
4065 | <autodoc>GetClientRect() -> Rect</autodoc> | |
c2dda882 | 4066 | <docstring>Get the client area position and size as a wx.Rect object.</docstring> |
f32fc4bc RD |
4067 | </method> |
4068 | <method name="GetBestSize" type="Size" overloaded="no"> | |
4069 | <autodoc>GetBestSize() -> Size</autodoc> | |
c2dda882 RD |
4070 | <docstring>This functions returns the best acceptable minimal size for the |
4071 | window, if applicable. For example, for a static text control, it will be | |
4072 | the minimal size such that the control label is not truncated. For | |
4073 | windows containing subwindows (suzh aswx.Panel), the size returned | |
4074 | by this function will be the same as the size the window would have | |
4075 | had after calling Fit.</docstring> | |
f32fc4bc RD |
4076 | </method> |
4077 | <method name="GetBestSizeTuple" type="" overloaded="no"> | |
4078 | <autodoc>GetBestSizeTuple() -> (width, height)</autodoc> | |
c2dda882 RD |
4079 | <docstring>This functions returns the best acceptable minimal size for the |
4080 | window, if applicable. For example, for a static text control, it will be | |
4081 | the minimal size such that the control label is not truncated. For | |
4082 | windows containing subwindows (suzh aswx.Panel), the size returned | |
4083 | by this function will be the same as the size the window would have | |
4084 | had after calling Fit.</docstring> | |
f32fc4bc RD |
4085 | <paramlist> |
4086 | <param name="OUTPUT" type="int" default=""/> | |
4087 | <param name="OUTPUT" type="int" default=""/> | |
4088 | </paramlist> | |
4089 | </method> | |
4090 | <method name="GetAdjustedBestSize" type="Size" overloaded="no"> | |
4091 | <autodoc>GetAdjustedBestSize() -> Size</autodoc> | |
c2dda882 RD |
4092 | <docstring>This method is similar to GetBestSize, except in one |
4093 | thing. GetBestSize should return the minimum untruncated size of the | |
4094 | window, while this method will return the largest of BestSize and any | |
4095 | user specified minimum size. ie. it is the minimum size the window | |
4096 | should currently be drawn at, not the minimal size it can possibly | |
4097 | tolerate.</docstring> | |
f32fc4bc RD |
4098 | </method> |
4099 | <method name="Center" type="" overloaded="no"> | |
4100 | <autodoc>Center(int direction=BOTH)</autodoc> | |
c2dda882 RD |
4101 | <docstring>Centers the window. The parameter specifies the direction for |
4102 | cetering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may | |
4103 | also include wx.CENTER_ON_SCREEN flag if you want to center the window | |
4104 | on the entire screen and not on its parent window. If it is a | |
4105 | top-level window and has no parent then it will always be centered | |
4106 | relative to the screen.</docstring> | |
f32fc4bc RD |
4107 | <paramlist> |
4108 | <param name="direction" type="int" default="wxBOTH"/> | |
4109 | </paramlist> | |
4110 | </method> | |
4111 | <method name="CenterOnScreen" type="" overloaded="no"> | |
4112 | <autodoc>CenterOnScreen(int dir=BOTH)</autodoc> | |
c2dda882 | 4113 | <docstring>Center on screen (only works for top level windows)</docstring> |
f32fc4bc RD |
4114 | <paramlist> |
4115 | <param name="dir" type="int" default="wxBOTH"/> | |
4116 | </paramlist> | |
4117 | </method> | |
4118 | <method name="CenterOnParent" type="" overloaded="no"> | |
4119 | <autodoc>CenterOnParent(int dir=BOTH)</autodoc> | |
c2dda882 | 4120 | <docstring>Center with respect to the the parent window</docstring> |
f32fc4bc RD |
4121 | <paramlist> |
4122 | <param name="dir" type="int" default="wxBOTH"/> | |
4123 | </paramlist> | |
4124 | </method> | |
4125 | <method name="Fit" type="" overloaded="no"> | |
4126 | <autodoc>Fit()</autodoc> | |
c2dda882 RD |
4127 | <docstring>Sizes the window so that it fits around its subwindows. This function |
4128 | won't do anything if there are no subwindows and will only really work | |
4129 | correctly if sizers are used for the subwindows layout. Also, if the | |
4130 | window has exactly one subwindow it is better (faster and the result | |
4131 | is more precise as Fit adds some margin to account for fuzziness of | |
4132 | its calculations) to call window.SetClientSize(child.GetSize()) | |
4133 | instead of calling Fit.</docstring> | |
f32fc4bc RD |
4134 | </method> |
4135 | <method name="FitInside" type="" overloaded="no"> | |
4136 | <autodoc>FitInside()</autodoc> | |
c2dda882 RD |
4137 | <docstring>Similar to Fit, but sizes the interior (virtual) size of a |
4138 | window. Mainly useful with scrolled windows to reset scrollbars after | |
4139 | sizing changes that do not trigger a size event, and/or scrolled | |
4140 | windows without an interior sizer. This function similarly won't do | |
4141 | anything if there are no subwindows.</docstring> | |
f32fc4bc RD |
4142 | </method> |
4143 | <method name="SetSizeHints" type="" overloaded="no"> | |
4144 | <autodoc>SetSizeHints(int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, | |
856bf319 | 4145 | int incH=-1)</autodoc> |
c2dda882 RD |
4146 | <docstring>Allows specification of minimum and maximum window sizes, and window |
4147 | size increments. If a pair of values is not set (or set to -1), the | |
4148 | default values will be used. If this function is called, the user | |
4149 | will not be able to size the window outside the given bounds. The | |
4150 | resizing increments are only significant under Motif or Xt.</docstring> | |
f32fc4bc RD |
4151 | <paramlist> |
4152 | <param name="minW" type="int" default=""/> | |
4153 | <param name="minH" type="int" default=""/> | |
4154 | <param name="maxW" type="int" default="-1"/> | |
4155 | <param name="maxH" type="int" default="-1"/> | |
4156 | <param name="incW" type="int" default="-1"/> | |
4157 | <param name="incH" type="int" default="-1"/> | |
4158 | </paramlist> | |
4159 | </method> | |
4160 | <method name="SetVirtualSizeHints" type="" overloaded="no"> | |
4161 | <autodoc>SetVirtualSizeHints(int minW, int minH, int maxW=-1, int maxH=-1)</autodoc> | |
c2dda882 RD |
4162 | <docstring>Allows specification of minimum and maximum virtual window sizes. If a |
4163 | pair of values is not set (or set to -1), the default values will be | |
4164 | used. If this function is called, the user will not be able to size | |
4165 | the virtual area of the window outside the given bounds.</docstring> | |
f32fc4bc RD |
4166 | <paramlist> |
4167 | <param name="minW" type="int" default=""/> | |
4168 | <param name="minH" type="int" default=""/> | |
4169 | <param name="maxW" type="int" default="-1"/> | |
4170 | <param name="maxH" type="int" default="-1"/> | |
4171 | </paramlist> | |
4172 | </method> | |
4173 | <method name="GetMinWidth" type="int" overloaded="no"> | |
4174 | <autodoc>GetMinWidth() -> int</autodoc> | |
4175 | </method> | |
4176 | <method name="GetMinHeight" type="int" overloaded="no"> | |
4177 | <autodoc>GetMinHeight() -> int</autodoc> | |
4178 | </method> | |
4179 | <method name="GetMaxWidth" type="int" overloaded="no"> | |
4180 | <autodoc>GetMaxWidth() -> int</autodoc> | |
4181 | </method> | |
4182 | <method name="GetMaxHeight" type="int" overloaded="no"> | |
4183 | <autodoc>GetMaxHeight() -> int</autodoc> | |
4184 | </method> | |
4185 | <method name="GetMaxSize" type="Size" overloaded="no"> | |
4186 | <autodoc>GetMaxSize() -> Size</autodoc> | |
4187 | </method> | |
4188 | <method name="SetVirtualSize" type="" overloaded="no"> | |
4189 | <autodoc>SetVirtualSize(Size size)</autodoc> | |
c2dda882 RD |
4190 | <docstring>Set the the virtual size of a window in pixels. For most windows this |
4191 | is just the client area of the window, but for some like scrolled | |
4192 | windows it is more or less independent of the screen window size.</docstring> | |
f32fc4bc RD |
4193 | <paramlist> |
4194 | <param name="size" type="Size" default=""/> | |
4195 | </paramlist> | |
4196 | </method> | |
4197 | <method name="SetVirtualSizeWH" type="" overloaded="no"> | |
4198 | <autodoc>SetVirtualSizeWH(int w, int h)</autodoc> | |
c2dda882 RD |
4199 | <docstring>Set the the virtual size of a window in pixels. For most windows this |
4200 | is just the client area of the window, but for some like scrolled | |
4201 | windows it is more or less independent of the screen window size.</docstring> | |
f32fc4bc RD |
4202 | <paramlist> |
4203 | <param name="w" type="int" default=""/> | |
4204 | <param name="h" type="int" default=""/> | |
4205 | </paramlist> | |
4206 | </method> | |
4207 | <method name="GetVirtualSize" type="Size" overloaded="no"> | |
4208 | <autodoc>GetVirtualSize() -> Size</autodoc> | |
c2dda882 RD |
4209 | <docstring>Get the the virtual size of the window in pixels. For most windows |
4210 | this is just the client area of the window, but for some like scrolled | |
4211 | windows it is more or less independent of the screen window size.</docstring> | |
f32fc4bc RD |
4212 | </method> |
4213 | <method name="GetVirtualSizeTuple" type="" overloaded="no"> | |
4214 | <autodoc>GetVirtualSizeTuple() -> (width, height)</autodoc> | |
c2dda882 RD |
4215 | <docstring>Get the the virtual size of the window in pixels. For most windows |
4216 | this is just the client area of the window, but for some like scrolled | |
4217 | windows it is more or less independent of the screen window size.</docstring> | |
f32fc4bc RD |
4218 | <paramlist> |
4219 | <param name="OUTPUT" type="int" default=""/> | |
4220 | <param name="OUTPUT" type="int" default=""/> | |
4221 | </paramlist> | |
4222 | </method> | |
4223 | <method name="GetBestVirtualSize" type="Size" overloaded="no"> | |
4224 | <autodoc>GetBestVirtualSize() -> Size</autodoc> | |
c2dda882 RD |
4225 | <docstring>Return the largest of ClientSize and BestSize (as determined by a |
4226 | sizer, interior children, or other means)</docstring> | |
f32fc4bc RD |
4227 | </method> |
4228 | <method name="Show" type="bool" overloaded="no"> | |
4229 | <autodoc>Show(bool show=True) -> bool</autodoc> | |
c2dda882 RD |
4230 | <docstring>Shows or hides the window. You may need to call Raise for a top level |
4231 | window if you want to bring it to top, although this is not needed if | |
4232 | Show is called immediately after the frame creation. Returns True if | |
4233 | the window has been shown or hidden or False if nothing was done | |
4234 | because it already was in the requested state.</docstring> | |
f32fc4bc RD |
4235 | <paramlist> |
4236 | <param name="show" type="bool" default="True"/> | |
4237 | </paramlist> | |
4238 | </method> | |
4239 | <method name="Hide" type="bool" overloaded="no"> | |
4240 | <autodoc>Hide() -> bool</autodoc> | |
c2dda882 | 4241 | <docstring>Equivalent to calling Show(False).</docstring> |
f32fc4bc RD |
4242 | </method> |
4243 | <method name="Enable" type="bool" overloaded="no"> | |
4244 | <autodoc>Enable(bool enable=True) -> bool</autodoc> | |
c2dda882 RD |
4245 | <docstring>Enable or disable the window for user input. Note that when a parent |
4246 | window is disabled, all of its children are disabled as well and they | |
4247 | are reenabled again when the parent is. Returns true if the window | |
4248 | has been enabled or disabled, false if nothing was done, i.e. if the | |
4249 | window had already been in the specified state.</docstring> | |
f32fc4bc RD |
4250 | <paramlist> |
4251 | <param name="enable" type="bool" default="True"/> | |
4252 | </paramlist> | |
4253 | </method> | |
4254 | <method name="Disable" type="bool" overloaded="no"> | |
4255 | <autodoc>Disable() -> bool</autodoc> | |
c2dda882 | 4256 | <docstring>Disables the window, same as Enable(false).</docstring> |
f32fc4bc RD |
4257 | </method> |
4258 | <method name="IsShown" type="bool" overloaded="no"> | |
4259 | <autodoc>IsShown() -> bool</autodoc> | |
c2dda882 | 4260 | <docstring>Returns true if the window is shown, false if it has been hidden.</docstring> |
f32fc4bc RD |
4261 | </method> |
4262 | <method name="IsEnabled" type="bool" overloaded="no"> | |
4263 | <autodoc>IsEnabled() -> bool</autodoc> | |
c2dda882 | 4264 | <docstring>Returns true if the window is enabled for input, false otherwise.</docstring> |
f32fc4bc RD |
4265 | </method> |
4266 | <method name="SetWindowStyleFlag" type="" overloaded="no"> | |
4267 | <autodoc>SetWindowStyleFlag(long style)</autodoc> | |
c2dda882 RD |
4268 | <docstring>Sets the style of the window. Please note that some styles cannot be |
4269 | changed after the window creation and that Refresh() might be called | |
4270 | after changing the others for the change to take place immediately.</docstring> | |
f32fc4bc RD |
4271 | <paramlist> |
4272 | <param name="style" type="long" default=""/> | |
4273 | </paramlist> | |
4274 | </method> | |
4275 | <method name="GetWindowStyleFlag" type="long" overloaded="no"> | |
4276 | <autodoc>GetWindowStyleFlag() -> long</autodoc> | |
c2dda882 RD |
4277 | <docstring>Gets the window style that was passed to the constructor or Create |
4278 | method.</docstring> | |
f32fc4bc RD |
4279 | </method> |
4280 | <method name="HasFlag" type="bool" overloaded="no"> | |
4281 | <autodoc>HasFlag(int flag) -> bool</autodoc> | |
c2dda882 | 4282 | <docstring>Test if the given style is set for this window.</docstring> |
f32fc4bc RD |
4283 | <paramlist> |
4284 | <param name="flag" type="int" default=""/> | |
4285 | </paramlist> | |
4286 | </method> | |
4287 | <method name="IsRetained" type="bool" overloaded="no"> | |
4288 | <autodoc>IsRetained() -> bool</autodoc> | |
c2dda882 RD |
4289 | <docstring>Returns true if the window is retained, false otherwise. Retained |
4290 | windows are only available on X platforms.</docstring> | |
f32fc4bc RD |
4291 | </method> |
4292 | <method name="SetExtraStyle" type="" overloaded="no"> | |
4293 | <autodoc>SetExtraStyle(long exStyle)</autodoc> | |
c2dda882 RD |
4294 | <docstring>Sets the extra style bits for the window. Extra styles are the less |
4295 | often used style bits which can't be set with the constructor or with | |
4296 | SetWindowStyleFlag()</docstring> | |
f32fc4bc RD |
4297 | <paramlist> |
4298 | <param name="exStyle" type="long" default=""/> | |
4299 | </paramlist> | |
4300 | </method> | |
4301 | <method name="GetExtraStyle" type="long" overloaded="no"> | |
4302 | <autodoc>GetExtraStyle() -> long</autodoc> | |
c2dda882 | 4303 | <docstring>Returns the extra style bits for the window.</docstring> |
f32fc4bc RD |
4304 | </method> |
4305 | <method name="MakeModal" type="" overloaded="no"> | |
4306 | <autodoc>MakeModal(bool modal=True)</autodoc> | |
c2dda882 RD |
4307 | <docstring>Disables all other windows in the application so that the user can |
4308 | only interact with this window. Passing False will reverse this | |
4309 | effect.</docstring> | |
f32fc4bc RD |
4310 | <paramlist> |
4311 | <param name="modal" type="bool" default="True"/> | |
4312 | </paramlist> | |
4313 | </method> | |
4314 | <method name="SetThemeEnabled" type="" overloaded="no"> | |
4315 | <autodoc>SetThemeEnabled(bool enableTheme)</autodoc> | |
c2dda882 RD |
4316 | <docstring>This function tells a window if it should use the system's "theme" |
4317 | code to draw the windows' background instead if its own background | |
4318 | drawing code. This will only have an effect on platforms that support | |
4319 | the notion of themes in user defined windows. One such platform is | |
4320 | GTK+ where windows can have (very colourful) backgrounds defined by a | |
4321 | user's selected theme. | |
4322 | ||
4323 | Dialogs, notebook pages and the status bar have this flag set to true | |
4324 | by default so that the default look and feel is simulated best.</docstring> | |
f32fc4bc RD |
4325 | <paramlist> |
4326 | <param name="enableTheme" type="bool" default=""/> | |
4327 | </paramlist> | |
4328 | </method> | |
4329 | <method name="GetThemeEnabled" type="bool" overloaded="no"> | |
4330 | <autodoc>GetThemeEnabled() -> bool</autodoc> | |
c2dda882 | 4331 | <docstring>Return the themeEnabled flag.</docstring> |
f32fc4bc RD |
4332 | </method> |
4333 | <method name="SetFocus" type="" overloaded="no"> | |
4334 | <autodoc>SetFocus()</autodoc> | |
c2dda882 | 4335 | <docstring>Set's the focus to this window, allowing it to receive keyboard input.</docstring> |
f32fc4bc RD |
4336 | </method> |
4337 | <method name="SetFocusFromKbd" type="" overloaded="no"> | |
4338 | <autodoc>SetFocusFromKbd()</autodoc> | |
c2dda882 RD |
4339 | <docstring>Set focus to this window as the result of a keyboard action. Normally |
4340 | only called internally.</docstring> | |
f32fc4bc RD |
4341 | </method> |
4342 | <staticmethod name="FindFocus" type="Window" overloaded="no"> | |
4343 | <autodoc>FindFocus() -> Window</autodoc> | |
c2dda882 RD |
4344 | <docstring>Returns the window or control that currently has the keyboard focus, |
4345 | or None.</docstring> | |
f32fc4bc RD |
4346 | </staticmethod> |
4347 | <method name="AcceptsFocus" type="bool" overloaded="no"> | |
4348 | <autodoc>AcceptsFocus() -> bool</autodoc> | |
c2dda882 | 4349 | <docstring>Can this window have focus?</docstring> |
f32fc4bc RD |
4350 | </method> |
4351 | <method name="AcceptsFocusFromKeyboard" type="bool" overloaded="no"> | |
4352 | <autodoc>AcceptsFocusFromKeyboard() -> bool</autodoc> | |
c2dda882 RD |
4353 | <docstring>Can this window be given focus by keyboard navigation? if not, the |
4354 | only way to give it focus (provided it accepts it at all) is to click | |
4355 | it.</docstring> | |
f32fc4bc RD |
4356 | </method> |
4357 | <method name="GetDefaultItem" type="Window" overloaded="no"> | |
4358 | <autodoc>GetDefaultItem() -> Window</autodoc> | |
c2dda882 RD |
4359 | <docstring>Get the default child of this parent, i.e. the one which is activated |
4360 | by pressing <Enter> such as the OK button on a wx.Dialog.</docstring> | |
f32fc4bc RD |
4361 | </method> |
4362 | <method name="SetDefaultItem" type="Window" overloaded="no"> | |
4363 | <autodoc>SetDefaultItem(Window child) -> Window</autodoc> | |
c2dda882 | 4364 | <docstring>Set this child as default, return the old default.</docstring> |
f32fc4bc RD |
4365 | <paramlist> |
4366 | <param name="child" type="Window" default=""/> | |
4367 | </paramlist> | |
4368 | </method> | |
4369 | <method name="SetTmpDefaultItem" type="" overloaded="no"> | |
4370 | <autodoc>SetTmpDefaultItem(Window win)</autodoc> | |
c2dda882 | 4371 | <docstring>Set this child as temporary default</docstring> |
f32fc4bc RD |
4372 | <paramlist> |
4373 | <param name="win" type="Window" default=""/> | |
4374 | </paramlist> | |
4375 | </method> | |
4376 | <method name="GetChildren" type="PyObject" overloaded="no"> | |
4377 | <autodoc>GetChildren() -> PyObject</autodoc> | |
c2dda882 RD |
4378 | <docstring>Returns a list of the window's children. NOTE: Currently this is a |
4379 | copy of the child window list maintained by the window, so the return | |
4380 | value of this function is only valid as long as the window's children | |
4381 | do not change.</docstring> | |
f32fc4bc RD |
4382 | </method> |
4383 | <method name="GetParent" type="Window" overloaded="no"> | |
4384 | <autodoc>GetParent() -> Window</autodoc> | |
c2dda882 | 4385 | <docstring>Returns the parent window of this window, or None if there isn't one.</docstring> |
f32fc4bc RD |
4386 | </method> |
4387 | <method name="GetGrandParent" type="Window" overloaded="no"> | |
4388 | <autodoc>GetGrandParent() -> Window</autodoc> | |
c2dda882 | 4389 | <docstring>Returns the parent of the parent of this window, or None if there isn't one.</docstring> |
f32fc4bc RD |
4390 | </method> |
4391 | <method name="IsTopLevel" type="bool" overloaded="no"> | |
4392 | <autodoc>IsTopLevel() -> bool</autodoc> | |
c2dda882 RD |
4393 | <docstring>Returns true if the given window is a top-level one. Currently all |
4394 | frames and dialogs are always considered to be top-level windows (even | |
4395 | if they have a parent window).</docstring> | |
f32fc4bc RD |
4396 | </method> |
4397 | <method name="Reparent" type="bool" overloaded="no"> | |
4398 | <autodoc>Reparent(Window newParent) -> bool</autodoc> | |
c2dda882 RD |
4399 | <docstring>Reparents the window, i.e the window will be removed from its current |
4400 | parent window (e.g. a non-standard toolbar in a wxFrame) and then | |
4401 | re-inserted into another. Available on Windows and GTK. Returns True | |
4402 | if the parent was changed, False otherwise (error or newParent == | |
4403 | oldParent)</docstring> | |
f32fc4bc RD |
4404 | <paramlist> |
4405 | <param name="newParent" type="Window" default=""/> | |
4406 | </paramlist> | |
4407 | </method> | |
4408 | <method name="AddChild" type="" overloaded="no"> | |
4409 | <autodoc>AddChild(Window child)</autodoc> | |
c2dda882 RD |
4410 | <docstring>Adds a child window. This is called automatically by window creation |
4411 | functions so should not be required by the application programmer.</docstring> | |
f32fc4bc RD |
4412 | <paramlist> |
4413 | <param name="child" type="Window" default=""/> | |
4414 | </paramlist> | |
4415 | </method> | |
4416 | <method name="RemoveChild" type="" overloaded="no"> | |
4417 | <autodoc>RemoveChild(Window child)</autodoc> | |
c2dda882 RD |
4418 | <docstring>Removes a child window. This is called automatically by window |
4419 | deletion functions so should not be required by the application | |
4420 | programmer.</docstring> | |
f32fc4bc RD |
4421 | <paramlist> |
4422 | <param name="child" type="Window" default=""/> | |
4423 | </paramlist> | |
4424 | </method> | |
4425 | <method name="FindWindowById" type="Window" overloaded="no"> | |
4426 | <autodoc>FindWindowById(long winid) -> Window</autodoc> | |
c2dda882 | 4427 | <docstring>Find a chld of this window by window ID</docstring> |
f32fc4bc RD |
4428 | <paramlist> |
4429 | <param name="winid" type="long" default=""/> | |
4430 | </paramlist> | |
4431 | </method> | |
4432 | <method name="FindWindowByName" type="Window" overloaded="no"> | |
4433 | <autodoc>FindWindowByName(String name) -> Window</autodoc> | |
c2dda882 | 4434 | <docstring>Find a child of this window by name</docstring> |
f32fc4bc RD |
4435 | <paramlist> |
4436 | <param name="name" type="String" default=""/> | |
4437 | </paramlist> | |
4438 | </method> | |
4439 | <method name="GetEventHandler" type="EvtHandler" overloaded="no"> | |
4440 | <autodoc>GetEventHandler() -> EvtHandler</autodoc> | |
c2dda882 RD |
4441 | <docstring>Returns the event handler for this window. By default, the window is |
4442 | its own event handler.</docstring> | |
f32fc4bc RD |
4443 | </method> |
4444 | <method name="SetEventHandler" type="" overloaded="no"> | |
4445 | <autodoc>SetEventHandler(EvtHandler handler)</autodoc> | |
c2dda882 RD |
4446 | <docstring>Sets the event handler for this window. An event handler is an object |
4447 | that is capable of processing the events sent to a window. By default, | |
4448 | the window is its own event handler, but an application may wish to | |
4449 | substitute another, for example to allow central implementation of | |
4450 | event-handling for a variety of different window classes. | |
4451 | ||
4452 | It is usually better to use wx.Window.PushEventHandler since this sets | |
4453 | up a chain of event handlers, where an event not handled by one event | |
4454 | handler is handed to the next one in the chain.</docstring> | |
f32fc4bc RD |
4455 | <paramlist> |
4456 | <param name="handler" type="EvtHandler" default=""/> | |
4457 | </paramlist> | |
4458 | </method> | |
4459 | <method name="PushEventHandler" type="" overloaded="no"> | |
4460 | <autodoc>PushEventHandler(EvtHandler handler)</autodoc> | |
c2dda882 RD |
4461 | <docstring>Pushes this event handler onto the event handler stack for the window. |
4462 | An event handler is an object that is capable of processing the events | |
4463 | sent to a window. By default, the window is its own event handler, but | |
4464 | an application may wish to substitute another, for example to allow | |
4465 | central implementation of event-handling for a variety of different | |
4466 | window classes. | |
4467 | ||
4468 | wx.Window.PushEventHandler allows an application to set up a chain of | |
4469 | event handlers, where an event not handled by one event handler is | |
4470 | handed to the next one in the chain. Use wx.Window.PopEventHandler to | |
4471 | remove the event handler.</docstring> | |
f32fc4bc RD |
4472 | <paramlist> |
4473 | <param name="handler" type="EvtHandler" default=""/> | |
4474 | </paramlist> | |
4475 | </method> | |
4476 | <method name="PopEventHandler" type="EvtHandler" overloaded="no"> | |
4477 | <autodoc>PopEventHandler(bool deleteHandler=False) -> EvtHandler</autodoc> | |
c2dda882 RD |
4478 | <docstring>Removes and returns the top-most event handler on the event handler |
4479 | stack. If deleteHandler is True then the wx.EvtHandler object will be | |
4480 | destroyed after it is popped.</docstring> | |
f32fc4bc RD |
4481 | <paramlist> |
4482 | <param name="deleteHandler" type="bool" default="False"/> | |
4483 | </paramlist> | |
4484 | </method> | |
4485 | <method name="RemoveEventHandler" type="bool" overloaded="no"> | |
4486 | <autodoc>RemoveEventHandler(EvtHandler handler) -> bool</autodoc> | |
c2dda882 RD |
4487 | <docstring>Find the given handler in the event handler chain and remove (but |
4488 | not delete) it from the event handler chain, return True if it was | |
4489 | found and False otherwise (this also results in an assert failure so | |
4490 | this function should only be called when the handler is supposed to | |
4491 | be there.)</docstring> | |
f32fc4bc RD |
4492 | <paramlist> |
4493 | <param name="handler" type="EvtHandler" default=""/> | |
4494 | </paramlist> | |
4495 | </method> | |
4496 | <method name="SetValidator" type="" overloaded="no"> | |
4497 | <autodoc>SetValidator(Validator validator)</autodoc> | |
c2dda882 RD |
4498 | <docstring>Deletes the current validator (if any) and sets the window validator, |
4499 | having called wx.Validator.Clone to create a new validator of this | |
4500 | type.</docstring> | |
f32fc4bc RD |
4501 | <paramlist> |
4502 | <param name="validator" type="wxValidator" default=""/> | |
4503 | </paramlist> | |
4504 | </method> | |
4505 | <method name="GetValidator" type="wxValidator" overloaded="no"> | |
4506 | <autodoc>GetValidator() -> Validator</autodoc> | |
c2dda882 RD |
4507 | <docstring>Returns a pointer to the current validator for the window, or None if |
4508 | there is none.</docstring> | |
f32fc4bc RD |
4509 | </method> |
4510 | <method name="SetAcceleratorTable" type="" overloaded="no"> | |
4511 | <autodoc>SetAcceleratorTable(AcceleratorTable accel)</autodoc> | |
c2dda882 | 4512 | <docstring>Sets the accelerator table for this window.</docstring> |
f32fc4bc RD |
4513 | <paramlist> |
4514 | <param name="accel" type="AcceleratorTable" default=""/> | |
4515 | </paramlist> | |
4516 | </method> | |
4517 | <method name="GetAcceleratorTable" type="AcceleratorTable" overloaded="no"> | |
4518 | <autodoc>GetAcceleratorTable() -> AcceleratorTable</autodoc> | |
c2dda882 | 4519 | <docstring>Gets the accelerator table for this window.</docstring> |
f32fc4bc RD |
4520 | </method> |
4521 | <method name="RegisterHotKey" type="bool" overloaded="no"> | |
4522 | <autodoc>RegisterHotKey(int hotkeyId, int modifiers, int keycode) -> bool</autodoc> | |
c2dda882 RD |
4523 | <docstring>Registers a system wide hotkey. Every time the user presses the hotkey |
4524 | registered here, this window will receive a hotkey event. It will | |
4525 | receive the event even if the application is in the background and | |
4526 | does not have the input focus because the user is working with some | |
4527 | other application. To bind an event handler function to this hotkey | |
4528 | use EVT_HOTKEY with an id equal to hotkeyId. Returns True if the | |
4529 | hotkey was registered successfully.</docstring> | |
f32fc4bc RD |
4530 | <paramlist> |
4531 | <param name="hotkeyId" type="int" default=""/> | |
4532 | <param name="modifiers" type="int" default=""/> | |
4533 | <param name="keycode" type="int" default=""/> | |
4534 | </paramlist> | |
4535 | </method> | |
4536 | <method name="UnregisterHotKey" type="bool" overloaded="no"> | |
4537 | <autodoc>UnregisterHotKey(int hotkeyId) -> bool</autodoc> | |
c2dda882 | 4538 | <docstring>Unregisters a system wide hotkey.</docstring> |
f32fc4bc RD |
4539 | <paramlist> |
4540 | <param name="hotkeyId" type="int" default=""/> | |
4541 | </paramlist> | |
4542 | </method> | |
4543 | <method name="ConvertDialogPointToPixels" type="Point" overloaded="no"> | |
4544 | <autodoc>ConvertDialogPointToPixels(Point pt) -> Point</autodoc> | |
c2dda882 RD |
4545 | <docstring>Converts a point or size from dialog units to pixels. Dialog units |
4546 | are used for maintaining a dialog's proportions even if the font | |
4547 | changes. For the x dimension, the dialog units are multiplied by the | |
4548 | average character width and then divided by 4. For the y dimension, | |
4549 | the dialog units are multiplied by the average character height and | |
4550 | then divided by 8.</docstring> | |
f32fc4bc RD |
4551 | <paramlist> |
4552 | <param name="pt" type="Point" default=""/> | |
4553 | </paramlist> | |
4554 | </method> | |
4555 | <method name="ConvertDialogSizeToPixels" type="Size" overloaded="no"> | |
4556 | <autodoc>ConvertDialogSizeToPixels(Size sz) -> Size</autodoc> | |
c2dda882 RD |
4557 | <docstring>Converts a point or size from dialog units to pixels. Dialog units |
4558 | are used for maintaining a dialog's proportions even if the font | |
4559 | changes. For the x dimension, the dialog units are multiplied by the | |
4560 | average character width and then divided by 4. For the y dimension, | |
4561 | the dialog units are multiplied by the average character height and | |
4562 | then divided by 8.</docstring> | |
f32fc4bc RD |
4563 | <paramlist> |
4564 | <param name="sz" type="Size" default=""/> | |
4565 | </paramlist> | |
4566 | </method> | |
4567 | <method name="DLG_PNT" type="Point" overloaded="no"> | |
4568 | <autodoc>DLG_PNT(Point pt) -> Point</autodoc> | |
c2dda882 RD |
4569 | <docstring>Converts a point or size from dialog units to pixels. Dialog units |
4570 | are used for maintaining a dialog's proportions even if the font | |
4571 | changes. For the x dimension, the dialog units are multiplied by the | |
4572 | average character width and then divided by 4. For the y dimension, | |
4573 | the dialog units are multiplied by the average character height and | |
4574 | then divided by 8.</docstring> | |
f32fc4bc RD |
4575 | <paramlist> |
4576 | <param name="pt" type="Point" default=""/> | |
4577 | </paramlist> | |
4578 | </method> | |
4579 | <method name="DLG_SZE" type="Size" overloaded="no"> | |
4580 | <autodoc>DLG_SZE(Size sz) -> Size</autodoc> | |
c2dda882 RD |
4581 | <docstring>Converts a point or size from dialog units to pixels. Dialog units |
4582 | are used for maintaining a dialog's proportions even if the font | |
4583 | changes. For the x dimension, the dialog units are multiplied by the | |
4584 | average character width and then divided by 4. For the y dimension, | |
4585 | the dialog units are multiplied by the average character height and | |
4586 | then divided by 8.</docstring> | |
f32fc4bc RD |
4587 | <paramlist> |
4588 | <param name="sz" type="Size" default=""/> | |
4589 | </paramlist> | |
4590 | </method> | |
4591 | <method name="ConvertPixelPointToDialog" type="Point" overloaded="no"> | |
4592 | <autodoc>ConvertPixelPointToDialog(Point pt) -> Point</autodoc> | |
4593 | <paramlist> | |
4594 | <param name="pt" type="Point" default=""/> | |
4595 | </paramlist> | |
4596 | </method> | |
4597 | <method name="ConvertPixelSizeToDialog" type="Size" overloaded="no"> | |
4598 | <autodoc>ConvertPixelSizeToDialog(Size sz) -> Size</autodoc> | |
4599 | <paramlist> | |
4600 | <param name="sz" type="Size" default=""/> | |
4601 | </paramlist> | |
4602 | </method> | |
4603 | <method name="WarpPointer" type="" overloaded="no"> | |
4604 | <autodoc>WarpPointer(int x, int y)</autodoc> | |
c2dda882 RD |
4605 | <docstring>Moves the pointer to the given position on the window. |
4606 | ||
4607 | NOTE: This function is not supported under Mac because Apple Human | |
4608 | Interface Guidelines forbid moving the mouse cursor programmatically.</docstring> | |
f32fc4bc RD |
4609 | <paramlist> |
4610 | <param name="x" type="int" default=""/> | |
4611 | <param name="y" type="int" default=""/> | |
4612 | </paramlist> | |
4613 | </method> | |
4614 | <method name="CaptureMouse" type="" overloaded="no"> | |
4615 | <autodoc>CaptureMouse()</autodoc> | |
c2dda882 RD |
4616 | <docstring>Directs all mouse input to this window. Call wx.Window.ReleaseMouse to |
4617 | release the capture. | |
4618 | ||
4619 | Note that wxWindows maintains the stack of windows having captured the | |
4620 | mouse and when the mouse is released the capture returns to the window | |
4621 | which had had captured it previously and it is only really released if | |
4622 | there were no previous window. In particular, this means that you must | |
4623 | release the mouse as many times as you capture it.</docstring> | |
f32fc4bc RD |
4624 | </method> |
4625 | <method name="ReleaseMouse" type="" overloaded="no"> | |
4626 | <autodoc>ReleaseMouse()</autodoc> | |
c2dda882 | 4627 | <docstring>Releases mouse input captured with wx.Window.CaptureMouse.</docstring> |
f32fc4bc RD |
4628 | </method> |
4629 | <staticmethod name="GetCapture" type="Window" overloaded="no"> | |
4630 | <autodoc>GetCapture() -> Window</autodoc> | |
c2dda882 | 4631 | <docstring>Returns the window which currently captures the mouse or None</docstring> |
f32fc4bc RD |
4632 | </staticmethod> |
4633 | <method name="HasCapture" type="bool" overloaded="no"> | |
4634 | <autodoc>HasCapture() -> bool</autodoc> | |
c2dda882 | 4635 | <docstring>Returns true if this window has the current mouse capture.</docstring> |
f32fc4bc RD |
4636 | </method> |
4637 | <method name="Refresh" type="" overloaded="no"> | |
4638 | <autodoc>Refresh(bool eraseBackground=True, Rect rect=None)</autodoc> | |
c2dda882 RD |
4639 | <docstring>Mark the specified rectangle (or the whole window) as "dirty" so it |
4640 | will be repainted. Causes an EVT_PAINT event to be generated and sent | |
4641 | to the window.</docstring> | |
f32fc4bc RD |
4642 | <paramlist> |
4643 | <param name="eraseBackground" type="bool" default="True"/> | |
4644 | <param name="rect" type="Rect" default="NULL"/> | |
4645 | </paramlist> | |
4646 | </method> | |
4647 | <method name="RefreshRect" type="" overloaded="no"> | |
4648 | <autodoc>RefreshRect(Rect rect)</autodoc> | |
c2dda882 RD |
4649 | <docstring>Redraws the contents of the given rectangle: the area inside it will |
4650 | be repainted. This is the same as Refresh but has a nicer syntax.</docstring> | |
f32fc4bc RD |
4651 | <paramlist> |
4652 | <param name="rect" type="Rect" default=""/> | |
4653 | </paramlist> | |
4654 | </method> | |
4655 | <method name="Update" type="" overloaded="no"> | |
4656 | <autodoc>Update()</autodoc> | |
c2dda882 RD |
4657 | <docstring>Calling this method immediately repaints the invalidated area of the |
4658 | window instead of waiting for the EVT_PAINT event to happen, (normally | |
4659 | this would usually only happen when the flow of control returns to the | |
4660 | event loop.) Notice that this function doesn't refresh the window and | |
4661 | does nothing if the window has been already repainted. Use Refresh | |
4662 | first if you want to immediately redraw the window (or some portion of | |
4663 | it) unconditionally.</docstring> | |
f32fc4bc RD |
4664 | </method> |
4665 | <method name="ClearBackground" type="" overloaded="no"> | |
4666 | <autodoc>ClearBackground()</autodoc> | |
c2dda882 RD |
4667 | <docstring>Clears the window by filling it with the current background |
4668 | colour. Does not cause an erase background event to be generated.</docstring> | |
f32fc4bc RD |
4669 | </method> |
4670 | <method name="Freeze" type="" overloaded="no"> | |
4671 | <autodoc>Freeze()</autodoc> | |
b39e211b RD |
4672 | <docstring>Freezes the window or, in other words, prevents any updates from taking place |
4673 | on screen, the window is not redrawn at all. Thaw must be called to reenable | |
4674 | window redrawing. Calls to Freeze/Thaw may be nested, with the actual Thaw | |
4675 | being delayed until all the nesting has been undone. | |
c2dda882 RD |
4676 | |
4677 | This method is useful for visual appearance optimization (for example, | |
4678 | it is a good idea to use it before inserting large amount of text into | |
4679 | a wxTextCtrl under wxGTK) but is not implemented on all platforms nor | |
4680 | for all controls so it is mostly just a hint to wxWindows and not a | |
4681 | mandatory directive.</docstring> | |
f32fc4bc RD |
4682 | </method> |
4683 | <method name="Thaw" type="" overloaded="no"> | |
4684 | <autodoc>Thaw()</autodoc> | |
b39e211b RD |
4685 | <docstring>Reenables window updating after a previous call to Freeze. Calls to |
4686 | Freeze/Thaw may be nested, so Thaw must be called the same number of times | |
4687 | that Freeze was before the window will be updated.</docstring> | |
f32fc4bc RD |
4688 | </method> |
4689 | <method name="PrepareDC" type="" overloaded="no"> | |
4690 | <autodoc>PrepareDC(DC dc)</autodoc> | |
c2dda882 RD |
4691 | <docstring>Call this function to prepare the device context for drawing a |
4692 | scrolled image. It sets the device origin according to the current | |
4693 | scroll position.</docstring> | |
f32fc4bc RD |
4694 | <paramlist> |
4695 | <param name="dc" type="wxDC" default=""/> | |
4696 | </paramlist> | |
4697 | </method> | |
4698 | <method name="GetUpdateRegion" type="wxRegion" overloaded="no"> | |
4699 | <autodoc>GetUpdateRegion() -> Region</autodoc> | |
c2dda882 RD |
4700 | <docstring>Returns the region specifying which parts of the window have been |
4701 | damaged. Should only be called within an EVT_PAINT handler.</docstring> | |
f32fc4bc RD |
4702 | </method> |
4703 | <method name="GetUpdateClientRect" type="Rect" overloaded="no"> | |
4704 | <autodoc>GetUpdateClientRect() -> Rect</autodoc> | |
c2dda882 | 4705 | <docstring>Get the update rectangle region bounding box in client coords.</docstring> |
f32fc4bc RD |
4706 | </method> |
4707 | <method name="IsExposed" type="bool" overloaded="no"> | |
4708 | <autodoc>IsExposed(int x, int y, int w=1, int h=1) -> bool</autodoc> | |
c2dda882 RD |
4709 | <docstring>Returns true if the given point or rectangle area has been exposed |
4710 | since the last repaint. Call this in an paint event handler to | |
4711 | optimize redrawing by only redrawing those areas, which have been | |
4712 | exposed.</docstring> | |
f32fc4bc RD |
4713 | <paramlist> |
4714 | <param name="x" type="int" default=""/> | |
4715 | <param name="y" type="int" default=""/> | |
4716 | <param name="w" type="int" default="1"/> | |
4717 | <param name="h" type="int" default="1"/> | |
4718 | </paramlist> | |
4719 | </method> | |
4720 | <method name="IsExposedPoint" type="bool" overloaded="no"> | |
4721 | <autodoc>IsExposedPoint(Point pt) -> bool</autodoc> | |
c2dda882 RD |
4722 | <docstring>Returns true if the given point or rectangle area has been exposed |
4723 | since the last repaint. Call this in an paint event handler to | |
4724 | optimize redrawing by only redrawing those areas, which have been | |
4725 | exposed.</docstring> | |
f32fc4bc RD |
4726 | <paramlist> |
4727 | <param name="pt" type="Point" default=""/> | |
4728 | </paramlist> | |
4729 | </method> | |
b39e211b RD |
4730 | <method name="IsExposedRect" type="bool" overloaded="no"> |
4731 | <autodoc>IsExposedRect(Rect rect) -> bool</autodoc> | |
c2dda882 RD |
4732 | <docstring>Returns true if the given point or rectangle area has been exposed |
4733 | since the last repaint. Call this in an paint event handler to | |
4734 | optimize redrawing by only redrawing those areas, which have been | |
4735 | exposed.</docstring> | |
f32fc4bc RD |
4736 | <paramlist> |
4737 | <param name="rect" type="Rect" default=""/> | |
4738 | </paramlist> | |
4739 | </method> | |
4740 | <method name="SetBackgroundColour" type="bool" overloaded="no"> | |
4741 | <autodoc>SetBackgroundColour(Colour colour) -> bool</autodoc> | |
c2dda882 RD |
4742 | <docstring>Sets the background colour of the window. Returns True if the colour |
4743 | was changed. The background colour is usually painted by the default | |
4744 | EVT_ERASE_BACKGROUND event handler function under Windows and | |
4745 | automatically under GTK. | |
4746 | ||
4747 | Note that setting the background colour does not cause an immediate | |
4748 | refresh, so you may wish to call ClearBackground or Refresh after | |
4749 | calling this function. | |
4750 | ||
4751 | Use this function with care under GTK+ as the new appearance of the | |
4752 | window might not look equally well when used with themes, i.e GTK+'s | |
4753 | ability to change its look as the user wishes with run-time loadable | |
4754 | modules.</docstring> | |
f32fc4bc RD |
4755 | <paramlist> |
4756 | <param name="colour" type="wxColour" default=""/> | |
4757 | </paramlist> | |
4758 | </method> | |
4759 | <method name="SetForegroundColour" type="bool" overloaded="no"> | |
4760 | <autodoc>SetForegroundColour(Colour colour) -> bool</autodoc> | |
c2dda882 RD |
4761 | <docstring>Sets the foreground colour of the window. Returns True is the colour |
4762 | was changed. The interpretation of foreground colour is dependent on | |
4763 | the window class; it may be the text colour or other colour, or it may | |
4764 | not be used at all.</docstring> | |
f32fc4bc RD |
4765 | <paramlist> |
4766 | <param name="colour" type="wxColour" default=""/> | |
4767 | </paramlist> | |
4768 | </method> | |
4769 | <method name="GetBackgroundColour" type="wxColour" overloaded="no"> | |
4770 | <autodoc>GetBackgroundColour() -> Colour</autodoc> | |
c2dda882 | 4771 | <docstring>Returns the background colour of the window.</docstring> |
f32fc4bc RD |
4772 | </method> |
4773 | <method name="GetForegroundColour" type="wxColour" overloaded="no"> | |
4774 | <autodoc>GetForegroundColour() -> Colour</autodoc> | |
c2dda882 RD |
4775 | <docstring>Returns the foreground colour of the window. The interpretation of |
4776 | foreground colour is dependent on the window class; it may be the text | |
4777 | colour or other colour, or it may not be used at all.</docstring> | |
f32fc4bc RD |
4778 | </method> |
4779 | <method name="SetCursor" type="bool" overloaded="no"> | |
4780 | <autodoc>SetCursor(Cursor cursor) -> bool</autodoc> | |
c2dda882 RD |
4781 | <docstring>Sets the window's cursor. Notice that the window cursor also sets it |
4782 | for the children of the window implicitly. | |
4783 | ||
4784 | The cursor may be wx.NullCursor in which case the window cursor will | |
4785 | be reset back to default.</docstring> | |
f32fc4bc RD |
4786 | <paramlist> |
4787 | <param name="cursor" type="wxCursor" default=""/> | |
4788 | </paramlist> | |
4789 | </method> | |
4790 | <method name="GetCursor" type="wxCursor" overloaded="no"> | |
4791 | <autodoc>GetCursor() -> Cursor</autodoc> | |
c2dda882 | 4792 | <docstring>Return the cursor associated with this window.</docstring> |
f32fc4bc RD |
4793 | </method> |
4794 | <method name="SetFont" type="bool" overloaded="no"> | |
4795 | <autodoc>SetFont(Font font) -> bool</autodoc> | |
c2dda882 | 4796 | <docstring>Sets the font for this window.</docstring> |
f32fc4bc RD |
4797 | <paramlist> |
4798 | <param name="font" type="wxFont" default=""/> | |
4799 | </paramlist> | |
4800 | </method> | |
4801 | <method name="GetFont" type="wxFont" overloaded="no"> | |
4802 | <autodoc>GetFont() -> Font</autodoc> | |
b39e211b | 4803 | <docstring>Returns the default font used for this window.</docstring> |
f32fc4bc RD |
4804 | </method> |
4805 | <method name="SetCaret" type="" overloaded="no"> | |
4806 | <autodoc>SetCaret(Caret caret)</autodoc> | |
c2dda882 | 4807 | <docstring>Sets the caret associated with the window.</docstring> |
f32fc4bc RD |
4808 | <paramlist> |
4809 | <param name="caret" type="wxCaret" default=""/> | |
4810 | </paramlist> | |
4811 | </method> | |
4812 | <method name="GetCaret" type="wxCaret" overloaded="no"> | |
4813 | <autodoc>GetCaret() -> Caret</autodoc> | |
c2dda882 | 4814 | <docstring>Returns the caret associated with the window.</docstring> |
f32fc4bc RD |
4815 | </method> |
4816 | <method name="GetCharHeight" type="int" overloaded="no"> | |
4817 | <autodoc>GetCharHeight() -> int</autodoc> | |
c2dda882 | 4818 | <docstring>Get the (average) character size for the current font.</docstring> |
f32fc4bc RD |
4819 | </method> |
4820 | <method name="GetCharWidth" type="int" overloaded="no"> | |
4821 | <autodoc>GetCharWidth() -> int</autodoc> | |
c2dda882 | 4822 | <docstring>Get the (average) character size for the current font.</docstring> |
f32fc4bc RD |
4823 | </method> |
4824 | <method name="GetTextExtent" type="" overloaded="no"> | |
4825 | <autodoc>GetTextExtent(String string) -> (width, height)</autodoc> | |
4826 | <docstring>Get the width and height of the text using the current font.</docstring> | |
4827 | <paramlist> | |
4828 | <param name="string" type="String" default=""/> | |
4829 | <param name="OUTPUT" type="int" default=""/> | |
4830 | <param name="OUTPUT" type="int" default=""/> | |
4831 | </paramlist> | |
4832 | </method> | |
4833 | <method name="GetFullTextExtent" type="" overloaded="no"> | |
4834 | <autodoc>GetFullTextExtent(String string, Font font=None) -> | |
4835 | (width, height, descent, externalLeading)</autodoc> | |
c2dda882 RD |
4836 | <docstring>Get the width, height, decent and leading of the text using the |
4837 | current or specified font.</docstring> | |
f32fc4bc RD |
4838 | <paramlist> |
4839 | <param name="string" type="String" default=""/> | |
4840 | <param name="OUTPUT" type="int" default=""/> | |
4841 | <param name="OUTPUT" type="int" default=""/> | |
4842 | <param name="OUTPUT" type="int" default=""/> | |
4843 | <param name="OUTPUT" type="int" default=""/> | |
4844 | <param name="font" type="wxFont" default="NULL"/> | |
4845 | </paramlist> | |
4846 | </method> | |
4847 | <method name="ClientToScreenXY" type="" overloaded="no"> | |
c2dda882 RD |
4848 | <autodoc>ClientToScreenXY(int x, int y) -> (x,y)</autodoc> |
4849 | <docstring>Converts to screen coordinates from coordinates relative to this window.</docstring> | |
f32fc4bc RD |
4850 | <paramlist> |
4851 | <param name="x" type="int" default=""/> | |
4852 | <param name="y" type="int" default=""/> | |
4853 | </paramlist> | |
4854 | </method> | |
4855 | <method name="ScreenToClientXY" type="" overloaded="no"> | |
c2dda882 RD |
4856 | <autodoc>ScreenToClientXY(int x, int y) -> (x,y)</autodoc> |
4857 | <docstring>Converts from screen to client window coordinates.</docstring> | |
f32fc4bc RD |
4858 | <paramlist> |
4859 | <param name="x" type="int" default=""/> | |
4860 | <param name="y" type="int" default=""/> | |
4861 | </paramlist> | |
4862 | </method> | |
4863 | <method name="ClientToScreen" type="Point" overloaded="no"> | |
4864 | <autodoc>ClientToScreen(Point pt) -> Point</autodoc> | |
c2dda882 | 4865 | <docstring>Converts to screen coordinates from coordinates relative to this window.</docstring> |
f32fc4bc RD |
4866 | <paramlist> |
4867 | <param name="pt" type="Point" default=""/> | |
4868 | </paramlist> | |
4869 | </method> | |
4870 | <method name="ScreenToClient" type="Point" overloaded="no"> | |
4871 | <autodoc>ScreenToClient(Point pt) -> Point</autodoc> | |
c2dda882 | 4872 | <docstring>Converts from screen to client window coordinates.</docstring> |
f32fc4bc RD |
4873 | <paramlist> |
4874 | <param name="pt" type="Point" default=""/> | |
4875 | </paramlist> | |
4876 | </method> | |
4877 | <method name="HitTestXY" type="wxHitTest" overloaded="no"> | |
4878 | <autodoc>HitTestXY(int x, int y) -> int</autodoc> | |
c2dda882 | 4879 | <docstring>Test where the given (in client coords) point lies</docstring> |
f32fc4bc RD |
4880 | <paramlist> |
4881 | <param name="x" type="int" default=""/> | |
4882 | <param name="y" type="int" default=""/> | |
4883 | </paramlist> | |
4884 | </method> | |
4885 | <method name="HitTest" type="wxHitTest" overloaded="no"> | |
4886 | <autodoc>HitTest(Point pt) -> int</autodoc> | |
c2dda882 | 4887 | <docstring>Test where the given (in client coords) point lies</docstring> |
f32fc4bc RD |
4888 | <paramlist> |
4889 | <param name="pt" type="Point" default=""/> | |
4890 | </paramlist> | |
4891 | </method> | |
c2dda882 RD |
4892 | <method name="GetBorder" type="wxBorder" overloaded="yes"> |
4893 | <docstring>Get the window border style from the given flags: this is different | |
4894 | from simply doing flags & wxBORDER_MASK because it uses | |
4895 | GetDefaultBorder() to translate wxBORDER_DEFAULT to something | |
4896 | reasonable. | |
4897 | </docstring> | |
f32fc4bc RD |
4898 | <paramlist> |
4899 | <param name="flags" type="long" default=""/> | |
4900 | </paramlist> | |
4901 | </method> | |
c2dda882 RD |
4902 | <method name="GetBorder" type="wxBorder" overloaded="yes"> |
4903 | <autodoc>GetBorder(long flags) -> int | |
4904 | GetBorder() -> int</autodoc> | |
4905 | <docstring>Get border for the flags of this window</docstring> | |
f32fc4bc RD |
4906 | </method> |
4907 | <method name="UpdateWindowUI" type="" overloaded="no"> | |
4908 | <autodoc>UpdateWindowUI(long flags=UPDATE_UI_NONE)</autodoc> | |
c2dda882 RD |
4909 | <docstring>This function sends EVT_UPDATE_UI events to the window. The particular |
4910 | implementation depends on the window; for example a wx.ToolBar will | |
4911 | send an update UI event for each toolbar button, and a wx.Frame will | |
4912 | send an update UI event for each menubar menu item. You can call this | |
4913 | function from your application to ensure that your UI is up-to-date at | |
4914 | a particular point in time (as far as your EVT_UPDATE_UI handlers are | |
4915 | concerned). This may be necessary if you have called | |
4916 | wx.UpdateUIEvent.SetMode or wx.UpdateUIEvent.SetUpdateInterval to | |
4917 | limit the overhead that wxWindows incurs by sending update UI events | |
4918 | in idle time. | |
4919 | ||
4920 | The flags should be a bitlist of one or more of the following values: | |
4921 | ||
4922 | wx.UPDATE_UI_NONE No particular value | |
4923 | wx.UPDATE_UI_RECURSE Call the function for descendants | |
4924 | wx.UPDATE_UI_FROMIDLE Invoked from OnIdle | |
4925 | ||
4926 | If you are calling this function from an OnIdle function, make sure | |
4927 | you pass the wx.UPDATE_UI_FROMIDLE flag, since this tells the window to | |
4928 | only update the UI elements that need to be updated in idle time. Some | |
4929 | windows update their elements only when necessary, for example when a | |
4930 | menu is about to be shown. The following is an example of how to call | |
4931 | UpdateWindowUI from an idle function. | |
4932 | ||
4933 | def OnIdle(self, evt): | |
4934 | if wx.UpdateUIEvent.CanUpdate(self): | |
4935 | self.UpdateWindowUI(wx.UPDATE_UI_FROMIDLE); | |
4936 | </docstring> | |
f32fc4bc RD |
4937 | <paramlist> |
4938 | <param name="flags" type="long" default="wxUPDATE_UI_NONE"/> | |
4939 | </paramlist> | |
4940 | </method> | |
4941 | <method name="PopupMenuXY" type="bool" overloaded="no"> | |
4942 | <autodoc>PopupMenuXY(Menu menu, int x, int y) -> bool</autodoc> | |
c2dda882 RD |
4943 | <docstring>Pops up the given menu at the specified coordinates, relative to this |
4944 | window, and returns control when the user has dismissed the menu. If a | |
4945 | menu item is selected, the corresponding menu event is generated and | |
4946 | will be processed as usual.</docstring> | |
f32fc4bc RD |
4947 | <paramlist> |
4948 | <param name="menu" type="wxMenu" default=""/> | |
4949 | <param name="x" type="int" default=""/> | |
4950 | <param name="y" type="int" default=""/> | |
4951 | </paramlist> | |
4952 | </method> | |
4953 | <method name="PopupMenu" type="bool" overloaded="no"> | |
4954 | <autodoc>PopupMenu(Menu menu, Point pos) -> bool</autodoc> | |
c2dda882 RD |
4955 | <docstring>Pops up the given menu at the specified coordinates, relative to this |
4956 | window, and returns control when the user has dismissed the menu. If a | |
4957 | menu item is selected, the corresponding menu event is generated and | |
4958 | will be processed as usual.</docstring> | |
f32fc4bc RD |
4959 | <paramlist> |
4960 | <param name="menu" type="wxMenu" default=""/> | |
4961 | <param name="pos" type="Point" default=""/> | |
4962 | </paramlist> | |
4963 | </method> | |
4964 | <method name="GetHandle" type="long" overloaded="no"> | |
4965 | <autodoc>GetHandle() -> long</autodoc> | |
c2dda882 RD |
4966 | <docstring>Returns the platform-specific handle (as a long integer) of the |
4967 | physical window. Currently on wxMac it returns the handle of the | |
4968 | toplevel parent of the window.</docstring> | |
f32fc4bc RD |
4969 | </method> |
4970 | <method name="HasScrollbar" type="bool" overloaded="no"> | |
4971 | <autodoc>HasScrollbar(int orient) -> bool</autodoc> | |
c2dda882 | 4972 | <docstring>Does the window have the scrollbar for this orientation?</docstring> |
f32fc4bc RD |
4973 | <paramlist> |
4974 | <param name="orient" type="int" default=""/> | |
4975 | </paramlist> | |
4976 | </method> | |
4977 | <method name="SetScrollbar" type="" overloaded="no"> | |
c2dda882 RD |
4978 | <autodoc>SetScrollbar(int orientation, int pos, int thumbvisible, int range, |
4979 | bool refresh=True)</autodoc> | |
4980 | <docstring>Sets the scrollbar properties of a built-in scrollbar. | |
4981 | ||
4982 | orientation: Determines the scrollbar whose page size is to be | |
4983 | set. May be wx.HORIZONTAL or wx.VERTICAL. | |
4984 | ||
4985 | position: The position of the scrollbar in scroll units. | |
4986 | ||
4987 | thumbSize: The size of the thumb, or visible portion of the | |
4988 | scrollbar, in scroll units. | |
4989 | ||
4990 | range: The maximum position of the scrollbar. | |
4991 | ||
4992 | refresh: True to redraw the scrollbar, false otherwise.</docstring> | |
f32fc4bc | 4993 | <paramlist> |
c2dda882 | 4994 | <param name="orientation" type="int" default=""/> |
f32fc4bc RD |
4995 | <param name="pos" type="int" default=""/> |
4996 | <param name="thumbvisible" type="int" default=""/> | |
4997 | <param name="range" type="int" default=""/> | |
4998 | <param name="refresh" type="bool" default="True"/> | |
4999 | </paramlist> | |
5000 | </method> | |
5001 | <method name="SetScrollPos" type="" overloaded="no"> | |
c2dda882 RD |
5002 | <autodoc>SetScrollPos(int orientation, int pos, bool refresh=True)</autodoc> |
5003 | <docstring>Sets the position of one of the built-in scrollbars.</docstring> | |
f32fc4bc | 5004 | <paramlist> |
c2dda882 | 5005 | <param name="orientation" type="int" default=""/> |
f32fc4bc RD |
5006 | <param name="pos" type="int" default=""/> |
5007 | <param name="refresh" type="bool" default="True"/> | |
5008 | </paramlist> | |
5009 | </method> | |
5010 | <method name="GetScrollPos" type="int" overloaded="no"> | |
c2dda882 RD |
5011 | <autodoc>GetScrollPos(int orientation) -> int</autodoc> |
5012 | <docstring>Returns the built-in scrollbar position.</docstring> | |
f32fc4bc | 5013 | <paramlist> |
c2dda882 | 5014 | <param name="orientation" type="int" default=""/> |
f32fc4bc RD |
5015 | </paramlist> |
5016 | </method> | |
5017 | <method name="GetScrollThumb" type="int" overloaded="no"> | |
c2dda882 RD |
5018 | <autodoc>GetScrollThumb(int orientation) -> int</autodoc> |
5019 | <docstring>Returns the built-in scrollbar thumb size.</docstring> | |
f32fc4bc | 5020 | <paramlist> |
c2dda882 | 5021 | <param name="orientation" type="int" default=""/> |
f32fc4bc RD |
5022 | </paramlist> |
5023 | </method> | |
5024 | <method name="GetScrollRange" type="int" overloaded="no"> | |
c2dda882 RD |
5025 | <autodoc>GetScrollRange(int orientation) -> int</autodoc> |
5026 | <docstring>Returns the built-in scrollbar range.</docstring> | |
f32fc4bc | 5027 | <paramlist> |
c2dda882 | 5028 | <param name="orientation" type="int" default=""/> |
f32fc4bc RD |
5029 | </paramlist> |
5030 | </method> | |
5031 | <method name="ScrollWindow" type="" overloaded="no"> | |
5032 | <autodoc>ScrollWindow(int dx, int dy, Rect rect=None)</autodoc> | |
c2dda882 RD |
5033 | <docstring>Physically scrolls the pixels in the window and move child windows |
5034 | accordingly. Use this function to optimise your scrolling | |
5035 | implementations, to minimise the area that must be redrawn. Note that | |
5036 | it is rarely required to call this function from a user program. | |
5037 | ||
5038 | dx: Amount to scroll horizontally. | |
5039 | ||
5040 | dy: Amount to scroll vertically. | |
5041 | ||
5042 | rect: Rectangle to invalidate. If this is None, the whole window | |
5043 | is invalidated. If you pass a rectangle corresponding to the | |
5044 | area of the window exposed by the scroll, your painting | |
5045 | handler can optimize painting by checking for the | |
5046 | invalidated region.</docstring> | |
f32fc4bc RD |
5047 | <paramlist> |
5048 | <param name="dx" type="int" default=""/> | |
5049 | <param name="dy" type="int" default=""/> | |
5050 | <param name="rect" type="Rect" default="NULL"/> | |
5051 | </paramlist> | |
5052 | </method> | |
5053 | <method name="ScrollLines" type="bool" overloaded="no"> | |
5054 | <autodoc>ScrollLines(int lines) -> bool</autodoc> | |
c2dda882 RD |
5055 | <docstring>If the platform and window class supports it, scrolls the window by |
5056 | the given number of lines down, if lines is positive, or up if lines | |
5057 | is negative. Returns True if the window was scrolled, False if it was | |
5058 | already on top/bottom and nothing was done.</docstring> | |
f32fc4bc RD |
5059 | <paramlist> |
5060 | <param name="lines" type="int" default=""/> | |
5061 | </paramlist> | |
5062 | </method> | |
5063 | <method name="ScrollPages" type="bool" overloaded="no"> | |
5064 | <autodoc>ScrollPages(int pages) -> bool</autodoc> | |
c2dda882 RD |
5065 | <docstring>If the platform and window class supports it, scrolls the window by |
5066 | the given number of pages down, if pages is positive, or up if pages | |
5067 | is negative. Returns True if the window was scrolled, False if it was | |
5068 | already on top/bottom and nothing was done.</docstring> | |
f32fc4bc RD |
5069 | <paramlist> |
5070 | <param name="pages" type="int" default=""/> | |
5071 | </paramlist> | |
5072 | </method> | |
5073 | <method name="LineUp" type="bool" overloaded="no"> | |
5074 | <autodoc>LineUp() -> bool</autodoc> | |
c2dda882 | 5075 | <docstring>This is just a wrapper for ScrollLines(-1).</docstring> |
f32fc4bc RD |
5076 | </method> |
5077 | <method name="LineDown" type="bool" overloaded="no"> | |
5078 | <autodoc>LineDown() -> bool</autodoc> | |
c2dda882 | 5079 | <docstring>This is just a wrapper for ScrollLines(1).</docstring> |
f32fc4bc RD |
5080 | </method> |
5081 | <method name="PageUp" type="bool" overloaded="no"> | |
5082 | <autodoc>PageUp() -> bool</autodoc> | |
c2dda882 | 5083 | <docstring>This is just a wrapper for ScrollPages(-1).</docstring> |
f32fc4bc RD |
5084 | </method> |
5085 | <method name="PageDown" type="bool" overloaded="no"> | |
5086 | <autodoc>PageDown() -> bool</autodoc> | |
c2dda882 | 5087 | <docstring>This is just a wrapper for ScrollPages(1).</docstring> |
f32fc4bc RD |
5088 | </method> |
5089 | <method name="SetHelpText" type="" overloaded="no"> | |
5090 | <autodoc>SetHelpText(String text)</autodoc> | |
c2dda882 RD |
5091 | <docstring>Sets the help text to be used as context-sensitive help for this |
5092 | window. Note that the text is actually stored by the current | |
5093 | wxHelpProvider implementation, and not in the window object itself.</docstring> | |
f32fc4bc RD |
5094 | <paramlist> |
5095 | <param name="text" type="String" default=""/> | |
5096 | </paramlist> | |
5097 | </method> | |
5098 | <method name="SetHelpTextForId" type="" overloaded="no"> | |
5099 | <autodoc>SetHelpTextForId(String text)</autodoc> | |
c2dda882 RD |
5100 | <docstring>Associate this help text with all windows with the same id as this |
5101 | one.</docstring> | |
f32fc4bc RD |
5102 | <paramlist> |
5103 | <param name="text" type="String" default=""/> | |
5104 | </paramlist> | |
5105 | </method> | |
5106 | <method name="GetHelpText" type="String" overloaded="no"> | |
5107 | <autodoc>GetHelpText() -> String</autodoc> | |
c2dda882 RD |
5108 | <docstring>Gets the help text to be used as context-sensitive help for this |
5109 | window. Note that the text is actually stored by the current | |
5110 | wxHelpProvider implementation, and not in the window object itself.</docstring> | |
f32fc4bc RD |
5111 | </method> |
5112 | <method name="SetToolTipString" type="" overloaded="no"> | |
5113 | <autodoc>SetToolTipString(String tip)</autodoc> | |
c2dda882 | 5114 | <docstring>Attach a tooltip to the window.</docstring> |
f32fc4bc RD |
5115 | <paramlist> |
5116 | <param name="tip" type="String" default=""/> | |
5117 | </paramlist> | |
5118 | </method> | |
5119 | <method name="SetToolTip" type="" overloaded="no"> | |
5120 | <autodoc>SetToolTip(ToolTip tip)</autodoc> | |
c2dda882 | 5121 | <docstring>Attach a tooltip to the window.</docstring> |
f32fc4bc RD |
5122 | <paramlist> |
5123 | <param name="tip" type="wxToolTip" default=""/> | |
5124 | </paramlist> | |
5125 | </method> | |
5126 | <method name="GetToolTip" type="wxToolTip" overloaded="no"> | |
5127 | <autodoc>GetToolTip() -> ToolTip</autodoc> | |
c2dda882 | 5128 | <docstring>get the associated tooltip or None if none</docstring> |
f32fc4bc RD |
5129 | </method> |
5130 | <method name="SetDropTarget" type="" overloaded="no"> | |
c2dda882 RD |
5131 | <autodoc>SetDropTarget(DropTarget dropTarget)</autodoc> |
5132 | <docstring>Associates a drop target with this window. If the window already has | |
5133 | a drop target, it is deleted.</docstring> | |
f32fc4bc RD |
5134 | <paramlist> |
5135 | <param name="dropTarget" type="wxPyDropTarget" default=""/> | |
5136 | </paramlist> | |
5137 | </method> | |
5138 | <method name="GetDropTarget" type="wxPyDropTarget" overloaded="no"> | |
c2dda882 RD |
5139 | <autodoc>GetDropTarget() -> DropTarget</autodoc> |
5140 | <docstring>Returns the associated drop target, which may be None.</docstring> | |
f32fc4bc RD |
5141 | </method> |
5142 | <method name="SetConstraints" type="" overloaded="no"> | |
5143 | <autodoc>SetConstraints(LayoutConstraints constraints)</autodoc> | |
c2dda882 RD |
5144 | <docstring>Sets the window to have the given layout constraints. If an existing |
5145 | layout constraints object is already owned by the window, it will be | |
5146 | deleted. Pass None to disassociate and delete the window's current | |
5147 | constraints. | |
5148 | ||
5149 | You must call SetAutoLayout to tell a window to use the constraints | |
5150 | automatically in its default EVT_SIZE handler; otherwise, you must | |
5151 | handle EVT_SIZE yourself and call Layout() explicitly. When setting | |
5152 | both a wx.LayoutConstraints and a wx.Sizer, only the sizer will have | |
5153 | effect.</docstring> | |
f32fc4bc RD |
5154 | <paramlist> |
5155 | <param name="constraints" type="wxLayoutConstraints" default=""/> | |
5156 | </paramlist> | |
5157 | </method> | |
5158 | <method name="GetConstraints" type="wxLayoutConstraints" overloaded="no"> | |
5159 | <autodoc>GetConstraints() -> LayoutConstraints</autodoc> | |
c2dda882 RD |
5160 | <docstring>Returns a pointer to the window's layout constraints, or None if there |
5161 | are none.</docstring> | |
f32fc4bc RD |
5162 | </method> |
5163 | <method name="SetAutoLayout" type="" overloaded="no"> | |
5164 | <autodoc>SetAutoLayout(bool autoLayout)</autodoc> | |
c2dda882 RD |
5165 | <docstring>Determines whether the Layout function will be called automatically |
5166 | when the window is resized. It is called implicitly by SetSizer but | |
5167 | if you use SetConstraints you should call it manually or otherwise the | |
5168 | window layout won't be correctly updated when its size changes.</docstring> | |
f32fc4bc RD |
5169 | <paramlist> |
5170 | <param name="autoLayout" type="bool" default=""/> | |
5171 | </paramlist> | |
5172 | </method> | |
5173 | <method name="GetAutoLayout" type="bool" overloaded="no"> | |
5174 | <autodoc>GetAutoLayout() -> bool</autodoc> | |
c2dda882 | 5175 | <docstring>Returns the current autoLayout setting</docstring> |
f32fc4bc RD |
5176 | </method> |
5177 | <method name="Layout" type="bool" overloaded="no"> | |
5178 | <autodoc>Layout() -> bool</autodoc> | |
c2dda882 RD |
5179 | <docstring>Invokes the constraint-based layout algorithm or the sizer-based |
5180 | algorithm for this window. See SetAutoLayout: when auto layout is on, | |
5181 | this function gets called automatically by the default EVT_SIZE | |
5182 | handler when the window is resized.</docstring> | |
f32fc4bc RD |
5183 | </method> |
5184 | <method name="SetSizer" type="" overloaded="no"> | |
5185 | <autodoc>SetSizer(Sizer sizer, bool deleteOld=True)</autodoc> | |
c2dda882 RD |
5186 | <docstring>Sets the window to have the given layout sizer. The window will then |
5187 | own the object, and will take care of its deletion. If an existing | |
5188 | layout sizer object is already owned by the window, it will be deleted | |
5189 | if the deleteOld parameter is true. Note that this function will also | |
5190 | call SetAutoLayout implicitly with a True parameter if the sizer is | |
5191 | non-NoneL and False otherwise.</docstring> | |
f32fc4bc RD |
5192 | <paramlist> |
5193 | <param name="sizer" type="wxSizer" default=""/> | |
5194 | <param name="deleteOld" type="bool" default="True"/> | |
5195 | </paramlist> | |
5196 | </method> | |
5197 | <method name="SetSizerAndFit" type="" overloaded="no"> | |
5198 | <autodoc>SetSizerAndFit(Sizer sizer, bool deleteOld=True)</autodoc> | |
c2dda882 RD |
5199 | <docstring>The same as SetSizer, except it also sets the size hints for the |
5200 | window based on the sizer's minimum size.</docstring> | |
f32fc4bc RD |
5201 | <paramlist> |
5202 | <param name="sizer" type="wxSizer" default=""/> | |
5203 | <param name="deleteOld" type="bool" default="True"/> | |
5204 | </paramlist> | |
5205 | </method> | |
5206 | <method name="GetSizer" type="wxSizer" overloaded="no"> | |
5207 | <autodoc>GetSizer() -> Sizer</autodoc> | |
c2dda882 RD |
5208 | <docstring>Return the sizer associated with the window by a previous call to |
5209 | SetSizer or None if there isn't one.</docstring> | |
f32fc4bc RD |
5210 | </method> |
5211 | <method name="SetContainingSizer" type="" overloaded="no"> | |
5212 | <autodoc>SetContainingSizer(Sizer sizer)</autodoc> | |
c2dda882 RD |
5213 | <docstring>This normally does not need to be called by application code. It is |
5214 | called internally when a window is added to a sizer, and is used so | |
5215 | the window can remove itself from the sizer when it is destroyed.</docstring> | |
f32fc4bc RD |
5216 | <paramlist> |
5217 | <param name="sizer" type="wxSizer" default=""/> | |
5218 | </paramlist> | |
5219 | </method> | |
5220 | <method name="GetContainingSizer" type="wxSizer" overloaded="no"> | |
5221 | <autodoc>GetContainingSizer() -> Sizer</autodoc> | |
c2dda882 | 5222 | <docstring>Return the sizer that this window is a member of, if any, otherwise None.</docstring> |
f32fc4bc RD |
5223 | </method> |
5224 | </class> | |
5225 | <pythoncode> | |
5226 | def DLG_PNT(win, point_or_x, y=None): | |
c2dda882 RD |
5227 | """ |
5228 | Convenience function for converting a Point or (x,y) in | |
5229 | dialog units to pixel units. | |
5230 | """ | |
f32fc4bc RD |
5231 | if y is None: |
5232 | return win.ConvertDialogPointToPixels(point_or_x) | |
5233 | else: | |
5234 | return win.ConvertDialogPointToPixels(wx.Point(point_or_x, y)) | |
5235 | ||
5236 | def DLG_SZE(win, size_width, height=None): | |
c2dda882 RD |
5237 | """ |
5238 | Convenience function for converting a Size or (w,h) in | |
5239 | dialog units to pixel units. | |
5240 | """ | |
f32fc4bc RD |
5241 | if height is None: |
5242 | return win.ConvertDialogSizeToPixels(size_width) | |
5243 | else: | |
5244 | return win.ConvertDialogSizeToPixels(wx.Size(size_width, height)) | |
5245 | </pythoncode> | |
5246 | <method name="FindWindowById" oldname="wxFindWindowById" type="Window" overloaded="no"> | |
5247 | <autodoc>FindWindowById(long id, Window parent=None) -> Window</autodoc> | |
c2dda882 RD |
5248 | <docstring>Find the first window in the application with the given id. If parent |
5249 | is None, the search will start from all top-level frames and dialog | |
5250 | boxes; if non-None, the search will be limited to the given window | |
5251 | hierarchy. The search is recursive in both cases.</docstring> | |
856bf319 | 5252 | <paramlist> |
f32fc4bc RD |
5253 | <param name="id" type="long" default=""/> |
5254 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
5255 | </paramlist> |
5256 | </method> | |
f32fc4bc RD |
5257 | <method name="FindWindowByName" oldname="wxFindWindowByName" type="Window" overloaded="no"> |
5258 | <autodoc>FindWindowByName(String name, Window parent=None) -> Window</autodoc> | |
c2dda882 RD |
5259 | <docstring>Find a window by its name (as given in a window constructor or Create |
5260 | function call). If parent is None, the search will start from all | |
5261 | top-level frames and dialog boxes; if non-None, the search will be | |
5262 | limited to the given window hierarchy. The search is recursive in both | |
5263 | cases. | |
5264 | ||
5265 | If no window with such name is found, wx.FindWindowByLabel is called.</docstring> | |
856bf319 | 5266 | <paramlist> |
f32fc4bc RD |
5267 | <param name="name" type="String" default=""/> |
5268 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
5269 | </paramlist> |
5270 | </method> | |
f32fc4bc RD |
5271 | <method name="FindWindowByLabel" oldname="wxFindWindowByLabel" type="Window" overloaded="no"> |
5272 | <autodoc>FindWindowByLabel(String label, Window parent=None) -> Window</autodoc> | |
c2dda882 RD |
5273 | <docstring>Find a window by its label. Depending on the type of window, the label |
5274 | may be a window title or panel item label. If parent is None, the | |
5275 | search will start from all top-level frames and dialog boxes; if | |
5276 | non-None, the search will be limited to the given window | |
5277 | hierarchy. The search is recursive in both cases.</docstring> | |
856bf319 | 5278 | <paramlist> |
f32fc4bc RD |
5279 | <param name="label" type="String" default=""/> |
5280 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
5281 | </paramlist> |
5282 | </method> | |
f32fc4bc | 5283 | <method name="Window_FromHWND" oldname="wxWindow_FromHWND" type="Window" overloaded="no"> |
b39e211b | 5284 | <autodoc>Window_FromHWND(Window parent, unsigned long _hWnd) -> Window</autodoc> |
856bf319 | 5285 | <paramlist> |
b39e211b RD |
5286 | <param name="parent" type="Window" default=""/> |
5287 | <param name="_hWnd" type="unsigned long" default=""/> | |
856bf319 RD |
5288 | </paramlist> |
5289 | </method> | |
856bf319 | 5290 | <pythoncode> |
856bf319 RD |
5291 | #--------------------------------------------------------------------------- |
5292 | </pythoncode> | |
f32fc4bc RD |
5293 | <class name="Validator" oldname="wxValidator" module="core"> |
5294 | <baseclass name="EvtHandler"/> | |
5295 | <constructor name="Validator" overloaded="no"> | |
5296 | <autodoc>__init__() -> Validator</autodoc> | |
5297 | </constructor> | |
5298 | <method name="Clone" type="Validator" overloaded="no"> | |
5299 | <autodoc>Clone() -> Validator</autodoc> | |
5300 | </method> | |
5301 | <method name="Validate" type="bool" overloaded="no"> | |
5302 | <autodoc>Validate(Window parent) -> bool</autodoc> | |
5303 | <paramlist> | |
5304 | <param name="parent" type="Window" default=""/> | |
5305 | </paramlist> | |
5306 | </method> | |
5307 | <method name="TransferToWindow" type="bool" overloaded="no"> | |
5308 | <autodoc>TransferToWindow() -> bool</autodoc> | |
5309 | </method> | |
5310 | <method name="TransferFromWindow" type="bool" overloaded="no"> | |
5311 | <autodoc>TransferFromWindow() -> bool</autodoc> | |
5312 | </method> | |
5313 | <method name="GetWindow" type="Window" overloaded="no"> | |
5314 | <autodoc>GetWindow() -> Window</autodoc> | |
5315 | </method> | |
5316 | <method name="SetWindow" type="" overloaded="no"> | |
5317 | <autodoc>SetWindow(Window window)</autodoc> | |
5318 | <paramlist> | |
5319 | <param name="window" type="Window" default=""/> | |
5320 | </paramlist> | |
5321 | </method> | |
5322 | <staticmethod name="IsSilent" type="bool" overloaded="no"> | |
5323 | <autodoc>IsSilent() -> bool</autodoc> | |
5324 | </staticmethod> | |
5325 | <staticmethod name="SetBellOnError" type="" overloaded="no"> | |
5326 | <autodoc>SetBellOnError(int doIt=True)</autodoc> | |
5327 | <paramlist> | |
5328 | <param name="doIt" type="int" default="True"/> | |
5329 | </paramlist> | |
5330 | </staticmethod> | |
5331 | </class> | |
5332 | <class name="PyValidator" oldname="wxPyValidator" module="core"> | |
5333 | <baseclass name="Validator"/> | |
5334 | <constructor name="PyValidator" overloaded="no"> | |
5335 | <autodoc>__init__() -> PyValidator</autodoc> | |
5336 | </constructor> | |
5337 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
5338 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class, int incref=True)</autodoc> | |
5339 | <paramlist> | |
5340 | <param name="self" type="PyObject" default=""/> | |
5341 | <param name="_class" type="PyObject" default=""/> | |
5342 | <param name="incref" type="int" default="True"/> | |
5343 | </paramlist> | |
5344 | </method> | |
5345 | </class> | |
5346 | <pythoncode> | |
856bf319 RD |
5347 | #--------------------------------------------------------------------------- |
5348 | </pythoncode> | |
f32fc4bc RD |
5349 | <class name="Menu" oldname="wxMenu" module="core"> |
5350 | <baseclass name="EvtHandler"/> | |
5351 | <constructor name="Menu" overloaded="no"> | |
5352 | <autodoc>__init__(String title=EmptyString, long style=0) -> Menu</autodoc> | |
5353 | <paramlist> | |
5354 | <param name="title" type="String" default="wxPyEmptyString"/> | |
5355 | <param name="style" type="long" default="0"/> | |
5356 | </paramlist> | |
5357 | </constructor> | |
5358 | <method name="Append" type="wxMenuItem" overloaded="no"> | |
5359 | <autodoc>Append(int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -> MenuItem</autodoc> | |
5360 | <paramlist> | |
5361 | <param name="id" type="int" default=""/> | |
5362 | <param name="text" type="String" default=""/> | |
5363 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5364 | <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/> | |
5365 | </paramlist> | |
5366 | </method> | |
5367 | <method name="AppendSeparator" type="wxMenuItem" overloaded="no"> | |
5368 | <autodoc>AppendSeparator() -> MenuItem</autodoc> | |
5369 | </method> | |
5370 | <method name="AppendCheckItem" type="wxMenuItem" overloaded="no"> | |
5371 | <autodoc>AppendCheckItem(int id, String text, String help=EmptyString) -> MenuItem</autodoc> | |
5372 | <paramlist> | |
5373 | <param name="id" type="int" default=""/> | |
5374 | <param name="text" type="String" default=""/> | |
5375 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5376 | </paramlist> | |
5377 | </method> | |
5378 | <method name="AppendRadioItem" type="wxMenuItem" overloaded="no"> | |
5379 | <autodoc>AppendRadioItem(int id, String text, String help=EmptyString) -> MenuItem</autodoc> | |
5380 | <paramlist> | |
5381 | <param name="id" type="int" default=""/> | |
5382 | <param name="text" type="String" default=""/> | |
5383 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5384 | </paramlist> | |
5385 | </method> | |
5386 | <method name="AppendMenu" type="wxMenuItem" overloaded="no"> | |
5387 | <autodoc>AppendMenu(int id, String text, Menu submenu, String help=EmptyString) -> MenuItem</autodoc> | |
5388 | <paramlist> | |
5389 | <param name="id" type="int" default=""/> | |
5390 | <param name="text" type="String" default=""/> | |
5391 | <param name="submenu" type="Menu" default=""/> | |
5392 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5393 | </paramlist> | |
5394 | </method> | |
5395 | <method name="AppendItem" type="wxMenuItem" overloaded="no"> | |
5396 | <autodoc>AppendItem(MenuItem item) -> MenuItem</autodoc> | |
5397 | <paramlist> | |
5398 | <param name="item" type="wxMenuItem" default=""/> | |
5399 | </paramlist> | |
5400 | </method> | |
5401 | <method name="Break" type="" overloaded="no"> | |
5402 | <autodoc>Break()</autodoc> | |
5403 | </method> | |
5404 | <method name="InsertItem" type="wxMenuItem" overloaded="no"> | |
5405 | <autodoc>InsertItem(size_t pos, MenuItem item) -> MenuItem</autodoc> | |
5406 | <paramlist> | |
5407 | <param name="pos" type="size_t" default=""/> | |
5408 | <param name="item" type="wxMenuItem" default=""/> | |
5409 | </paramlist> | |
5410 | </method> | |
5411 | <method name="Insert" type="wxMenuItem" overloaded="no"> | |
5412 | <autodoc>Insert(size_t pos, int id, String text, String help=EmptyString, | |
856bf319 | 5413 | int kind=ITEM_NORMAL) -> MenuItem</autodoc> |
f32fc4bc RD |
5414 | <paramlist> |
5415 | <param name="pos" type="size_t" default=""/> | |
5416 | <param name="id" type="int" default=""/> | |
5417 | <param name="text" type="String" default=""/> | |
5418 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5419 | <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/> | |
5420 | </paramlist> | |
5421 | </method> | |
5422 | <method name="InsertSeparator" type="wxMenuItem" overloaded="no"> | |
5423 | <autodoc>InsertSeparator(size_t pos) -> MenuItem</autodoc> | |
5424 | <paramlist> | |
5425 | <param name="pos" type="size_t" default=""/> | |
5426 | </paramlist> | |
5427 | </method> | |
5428 | <method name="InsertCheckItem" type="wxMenuItem" overloaded="no"> | |
5429 | <autodoc>InsertCheckItem(size_t pos, int id, String text, String help=EmptyString) -> MenuItem</autodoc> | |
5430 | <paramlist> | |
5431 | <param name="pos" type="size_t" default=""/> | |
5432 | <param name="id" type="int" default=""/> | |
5433 | <param name="text" type="String" default=""/> | |
5434 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5435 | </paramlist> | |
5436 | </method> | |
5437 | <method name="InsertRadioItem" type="wxMenuItem" overloaded="no"> | |
5438 | <autodoc>InsertRadioItem(size_t pos, int id, String text, String help=EmptyString) -> MenuItem</autodoc> | |
5439 | <paramlist> | |
5440 | <param name="pos" type="size_t" default=""/> | |
5441 | <param name="id" type="int" default=""/> | |
5442 | <param name="text" type="String" default=""/> | |
5443 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5444 | </paramlist> | |
5445 | </method> | |
5446 | <method name="InsertMenu" type="wxMenuItem" overloaded="no"> | |
5447 | <autodoc>InsertMenu(size_t pos, int id, String text, Menu submenu, String help=EmptyString) -> MenuItem</autodoc> | |
5448 | <paramlist> | |
5449 | <param name="pos" type="size_t" default=""/> | |
5450 | <param name="id" type="int" default=""/> | |
5451 | <param name="text" type="String" default=""/> | |
5452 | <param name="submenu" type="Menu" default=""/> | |
5453 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5454 | </paramlist> | |
5455 | </method> | |
5456 | <method name="PrependItem" type="wxMenuItem" overloaded="no"> | |
5457 | <autodoc>PrependItem(MenuItem item) -> MenuItem</autodoc> | |
5458 | <paramlist> | |
5459 | <param name="item" type="wxMenuItem" default=""/> | |
5460 | </paramlist> | |
5461 | </method> | |
5462 | <method name="Prepend" type="wxMenuItem" overloaded="no"> | |
5463 | <autodoc>Prepend(int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -> MenuItem</autodoc> | |
5464 | <paramlist> | |
5465 | <param name="id" type="int" default=""/> | |
5466 | <param name="text" type="String" default=""/> | |
5467 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5468 | <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/> | |
5469 | </paramlist> | |
5470 | </method> | |
5471 | <method name="PrependSeparator" type="wxMenuItem" overloaded="no"> | |
5472 | <autodoc>PrependSeparator() -> MenuItem</autodoc> | |
5473 | </method> | |
5474 | <method name="PrependCheckItem" type="wxMenuItem" overloaded="no"> | |
5475 | <autodoc>PrependCheckItem(int id, String text, String help=EmptyString) -> MenuItem</autodoc> | |
5476 | <paramlist> | |
5477 | <param name="id" type="int" default=""/> | |
5478 | <param name="text" type="String" default=""/> | |
5479 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5480 | </paramlist> | |
5481 | </method> | |
5482 | <method name="PrependRadioItem" type="wxMenuItem" overloaded="no"> | |
5483 | <autodoc>PrependRadioItem(int id, String text, String help=EmptyString) -> MenuItem</autodoc> | |
5484 | <paramlist> | |
5485 | <param name="id" type="int" default=""/> | |
5486 | <param name="text" type="String" default=""/> | |
5487 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5488 | </paramlist> | |
5489 | </method> | |
5490 | <method name="PrependMenu" type="wxMenuItem" overloaded="no"> | |
5491 | <autodoc>PrependMenu(int id, String text, Menu submenu, String help=EmptyString) -> MenuItem</autodoc> | |
5492 | <paramlist> | |
5493 | <param name="id" type="int" default=""/> | |
5494 | <param name="text" type="String" default=""/> | |
5495 | <param name="submenu" type="Menu" default=""/> | |
5496 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5497 | </paramlist> | |
5498 | </method> | |
5499 | <method name="Remove" type="wxMenuItem" overloaded="no"> | |
5500 | <autodoc>Remove(int id) -> MenuItem</autodoc> | |
5501 | <paramlist> | |
5502 | <param name="id" type="int" default=""/> | |
5503 | </paramlist> | |
5504 | </method> | |
5505 | <method name="RemoveItem" type="wxMenuItem" overloaded="no"> | |
5506 | <autodoc>RemoveItem(MenuItem item) -> MenuItem</autodoc> | |
5507 | <paramlist> | |
5508 | <param name="item" type="wxMenuItem" default=""/> | |
5509 | </paramlist> | |
5510 | </method> | |
5511 | <method name="Delete" type="bool" overloaded="no"> | |
5512 | <autodoc>Delete(int id) -> bool</autodoc> | |
5513 | <paramlist> | |
5514 | <param name="id" type="int" default=""/> | |
5515 | </paramlist> | |
5516 | </method> | |
5517 | <method name="DeleteItem" type="bool" overloaded="no"> | |
5518 | <autodoc>DeleteItem(MenuItem item) -> bool</autodoc> | |
5519 | <paramlist> | |
5520 | <param name="item" type="wxMenuItem" default=""/> | |
5521 | </paramlist> | |
5522 | </method> | |
5523 | <method name="Destroy" type="" overloaded="no"> | |
5524 | <autodoc>Destroy()</autodoc> | |
5525 | <docstring>Deletes the C++ object this Python object is a proxy for.</docstring> | |
5526 | </method> | |
5527 | <method name="DestroyId" type="bool" overloaded="no"> | |
5528 | <autodoc>DestroyId(int id) -> bool</autodoc> | |
5529 | <docstring>Deletes the C++ object this Python object is a proxy for.</docstring> | |
5530 | <paramlist> | |
5531 | <param name="id" type="int" default=""/> | |
5532 | </paramlist> | |
5533 | </method> | |
5534 | <method name="DestroyItem" type="bool" overloaded="no"> | |
5535 | <autodoc>DestroyItem(MenuItem item) -> bool</autodoc> | |
5536 | <docstring>Deletes the C++ object this Python object is a proxy for.</docstring> | |
5537 | <paramlist> | |
5538 | <param name="item" type="wxMenuItem" default=""/> | |
5539 | </paramlist> | |
5540 | </method> | |
5541 | <method name="GetMenuItemCount" type="size_t" overloaded="no"> | |
5542 | <autodoc>GetMenuItemCount() -> size_t</autodoc> | |
5543 | </method> | |
5544 | <method name="GetMenuItems" type="PyObject" overloaded="no"> | |
5545 | <autodoc>GetMenuItems() -> PyObject</autodoc> | |
5546 | </method> | |
5547 | <method name="FindItem" type="int" overloaded="no"> | |
5548 | <autodoc>FindItem(String item) -> int</autodoc> | |
5549 | <paramlist> | |
5550 | <param name="item" type="String" default=""/> | |
5551 | </paramlist> | |
5552 | </method> | |
5553 | <method name="FindItemById" type="wxMenuItem" overloaded="no"> | |
5554 | <autodoc>FindItemById(int id) -> MenuItem</autodoc> | |
5555 | <paramlist> | |
5556 | <param name="id" type="int" default=""/> | |
5557 | </paramlist> | |
5558 | </method> | |
5559 | <method name="FindItemByPosition" type="wxMenuItem" overloaded="no"> | |
5560 | <autodoc>FindItemByPosition(size_t position) -> MenuItem</autodoc> | |
5561 | <paramlist> | |
5562 | <param name="position" type="size_t" default=""/> | |
5563 | </paramlist> | |
5564 | </method> | |
5565 | <method name="Enable" type="" overloaded="no"> | |
5566 | <autodoc>Enable(int id, bool enable)</autodoc> | |
5567 | <paramlist> | |
5568 | <param name="id" type="int" default=""/> | |
5569 | <param name="enable" type="bool" default=""/> | |
5570 | </paramlist> | |
5571 | </method> | |
5572 | <method name="IsEnabled" type="bool" overloaded="no"> | |
5573 | <autodoc>IsEnabled(int id) -> bool</autodoc> | |
5574 | <paramlist> | |
5575 | <param name="id" type="int" default=""/> | |
5576 | </paramlist> | |
5577 | </method> | |
5578 | <method name="Check" type="" overloaded="no"> | |
5579 | <autodoc>Check(int id, bool check)</autodoc> | |
5580 | <paramlist> | |
5581 | <param name="id" type="int" default=""/> | |
5582 | <param name="check" type="bool" default=""/> | |
5583 | </paramlist> | |
5584 | </method> | |
5585 | <method name="IsChecked" type="bool" overloaded="no"> | |
5586 | <autodoc>IsChecked(int id) -> bool</autodoc> | |
5587 | <paramlist> | |
5588 | <param name="id" type="int" default=""/> | |
5589 | </paramlist> | |
5590 | </method> | |
5591 | <method name="SetLabel" type="" overloaded="no"> | |
5592 | <autodoc>SetLabel(int id, String label)</autodoc> | |
5593 | <paramlist> | |
5594 | <param name="id" type="int" default=""/> | |
5595 | <param name="label" type="String" default=""/> | |
5596 | </paramlist> | |
5597 | </method> | |
5598 | <method name="GetLabel" type="String" overloaded="no"> | |
5599 | <autodoc>GetLabel(int id) -> String</autodoc> | |
5600 | <paramlist> | |
5601 | <param name="id" type="int" default=""/> | |
5602 | </paramlist> | |
5603 | </method> | |
5604 | <method name="SetHelpString" type="" overloaded="no"> | |
5605 | <autodoc>SetHelpString(int id, String helpString)</autodoc> | |
5606 | <paramlist> | |
5607 | <param name="id" type="int" default=""/> | |
5608 | <param name="helpString" type="String" default=""/> | |
5609 | </paramlist> | |
5610 | </method> | |
5611 | <method name="GetHelpString" type="String" overloaded="no"> | |
5612 | <autodoc>GetHelpString(int id) -> String</autodoc> | |
5613 | <paramlist> | |
5614 | <param name="id" type="int" default=""/> | |
5615 | </paramlist> | |
5616 | </method> | |
5617 | <method name="SetTitle" type="" overloaded="no"> | |
5618 | <autodoc>SetTitle(String title)</autodoc> | |
5619 | <paramlist> | |
5620 | <param name="title" type="String" default=""/> | |
5621 | </paramlist> | |
5622 | </method> | |
5623 | <method name="GetTitle" type="String" overloaded="no"> | |
5624 | <autodoc>GetTitle() -> String</autodoc> | |
5625 | </method> | |
5626 | <method name="SetEventHandler" type="" overloaded="no"> | |
5627 | <autodoc>SetEventHandler(EvtHandler handler)</autodoc> | |
5628 | <paramlist> | |
5629 | <param name="handler" type="EvtHandler" default=""/> | |
5630 | </paramlist> | |
5631 | </method> | |
5632 | <method name="GetEventHandler" type="EvtHandler" overloaded="no"> | |
5633 | <autodoc>GetEventHandler() -> EvtHandler</autodoc> | |
5634 | </method> | |
5635 | <method name="SetInvokingWindow" type="" overloaded="no"> | |
5636 | <autodoc>SetInvokingWindow(Window win)</autodoc> | |
5637 | <paramlist> | |
5638 | <param name="win" type="Window" default=""/> | |
5639 | </paramlist> | |
5640 | </method> | |
5641 | <method name="GetInvokingWindow" type="Window" overloaded="no"> | |
5642 | <autodoc>GetInvokingWindow() -> Window</autodoc> | |
5643 | </method> | |
5644 | <method name="GetStyle" type="long" overloaded="no"> | |
5645 | <autodoc>GetStyle() -> long</autodoc> | |
5646 | </method> | |
5647 | <method name="UpdateUI" type="" overloaded="no"> | |
5648 | <autodoc>UpdateUI(EvtHandler source=None)</autodoc> | |
5649 | <paramlist> | |
5650 | <param name="source" type="EvtHandler" default="NULL"/> | |
5651 | </paramlist> | |
5652 | </method> | |
5653 | <method name="GetMenuBar" type="wxMenuBar" overloaded="no"> | |
5654 | <autodoc>GetMenuBar() -> MenuBar</autodoc> | |
5655 | </method> | |
5656 | <method name="Attach" type="" overloaded="no"> | |
5657 | <autodoc>Attach(wxMenuBarBase menubar)</autodoc> | |
5658 | <paramlist> | |
5659 | <param name="menubar" type="wxMenuBarBase" default=""/> | |
5660 | </paramlist> | |
5661 | </method> | |
5662 | <method name="Detach" type="" overloaded="no"> | |
5663 | <autodoc>Detach()</autodoc> | |
5664 | </method> | |
5665 | <method name="IsAttached" type="bool" overloaded="no"> | |
5666 | <autodoc>IsAttached() -> bool</autodoc> | |
5667 | </method> | |
5668 | <method name="SetParent" type="" overloaded="no"> | |
5669 | <autodoc>SetParent(Menu parent)</autodoc> | |
5670 | <paramlist> | |
5671 | <param name="parent" type="Menu" default=""/> | |
5672 | </paramlist> | |
5673 | </method> | |
5674 | <method name="GetParent" type="Menu" overloaded="no"> | |
5675 | <autodoc>GetParent() -> Menu</autodoc> | |
5676 | </method> | |
5677 | </class> | |
5678 | <pythoncode> | |
856bf319 RD |
5679 | #--------------------------------------------------------------------------- |
5680 | </pythoncode> | |
f32fc4bc RD |
5681 | <class name="MenuBar" oldname="wxMenuBar" module="core"> |
5682 | <baseclass name="Window"/> | |
5683 | <constructor name="MenuBar" overloaded="no"> | |
5684 | <autodoc>__init__(long style=0) -> MenuBar</autodoc> | |
5685 | <paramlist> | |
5686 | <param name="style" type="long" default="0"/> | |
5687 | </paramlist> | |
5688 | </constructor> | |
5689 | <method name="Append" type="bool" overloaded="no"> | |
5690 | <autodoc>Append(Menu menu, String title) -> bool</autodoc> | |
5691 | <paramlist> | |
5692 | <param name="menu" type="Menu" default=""/> | |
5693 | <param name="title" type="String" default=""/> | |
5694 | </paramlist> | |
5695 | </method> | |
5696 | <method name="Insert" type="bool" overloaded="no"> | |
5697 | <autodoc>Insert(size_t pos, Menu menu, String title) -> bool</autodoc> | |
5698 | <paramlist> | |
5699 | <param name="pos" type="size_t" default=""/> | |
5700 | <param name="menu" type="Menu" default=""/> | |
5701 | <param name="title" type="String" default=""/> | |
5702 | </paramlist> | |
5703 | </method> | |
5704 | <method name="GetMenuCount" type="size_t" overloaded="no"> | |
5705 | <autodoc>GetMenuCount() -> size_t</autodoc> | |
5706 | </method> | |
5707 | <method name="GetMenu" type="Menu" overloaded="no"> | |
5708 | <autodoc>GetMenu(size_t pos) -> Menu</autodoc> | |
5709 | <paramlist> | |
5710 | <param name="pos" type="size_t" default=""/> | |
5711 | </paramlist> | |
5712 | </method> | |
5713 | <method name="Replace" type="Menu" overloaded="no"> | |
5714 | <autodoc>Replace(size_t pos, Menu menu, String title) -> Menu</autodoc> | |
5715 | <paramlist> | |
5716 | <param name="pos" type="size_t" default=""/> | |
5717 | <param name="menu" type="Menu" default=""/> | |
5718 | <param name="title" type="String" default=""/> | |
5719 | </paramlist> | |
5720 | </method> | |
5721 | <method name="Remove" type="Menu" overloaded="no"> | |
5722 | <autodoc>Remove(size_t pos) -> Menu</autodoc> | |
5723 | <paramlist> | |
5724 | <param name="pos" type="size_t" default=""/> | |
5725 | </paramlist> | |
5726 | </method> | |
5727 | <method name="EnableTop" type="" overloaded="no"> | |
5728 | <autodoc>EnableTop(size_t pos, bool enable)</autodoc> | |
5729 | <paramlist> | |
5730 | <param name="pos" type="size_t" default=""/> | |
5731 | <param name="enable" type="bool" default=""/> | |
5732 | </paramlist> | |
5733 | </method> | |
5734 | <method name="IsEnabledTop" type="bool" overloaded="no"> | |
5735 | <autodoc>IsEnabledTop(size_t pos) -> bool</autodoc> | |
5736 | <paramlist> | |
5737 | <param name="pos" type="size_t" default=""/> | |
5738 | </paramlist> | |
5739 | </method> | |
5740 | <method name="SetLabelTop" type="" overloaded="no"> | |
5741 | <autodoc>SetLabelTop(size_t pos, String label)</autodoc> | |
5742 | <paramlist> | |
5743 | <param name="pos" type="size_t" default=""/> | |
5744 | <param name="label" type="String" default=""/> | |
5745 | </paramlist> | |
5746 | </method> | |
5747 | <method name="GetLabelTop" type="String" overloaded="no"> | |
5748 | <autodoc>GetLabelTop(size_t pos) -> String</autodoc> | |
5749 | <paramlist> | |
5750 | <param name="pos" type="size_t" default=""/> | |
5751 | </paramlist> | |
5752 | </method> | |
5753 | <method name="FindMenuItem" type="int" overloaded="no"> | |
5754 | <autodoc>FindMenuItem(String menu, String item) -> int</autodoc> | |
5755 | <paramlist> | |
5756 | <param name="menu" type="String" default=""/> | |
5757 | <param name="item" type="String" default=""/> | |
5758 | </paramlist> | |
5759 | </method> | |
5760 | <method name="FindItemById" type="wxMenuItem" overloaded="no"> | |
5761 | <autodoc>FindItemById(int id) -> MenuItem</autodoc> | |
5762 | <paramlist> | |
5763 | <param name="id" type="int" default=""/> | |
5764 | </paramlist> | |
5765 | </method> | |
5766 | <method name="FindMenu" type="int" overloaded="no"> | |
5767 | <autodoc>FindMenu(String title) -> int</autodoc> | |
5768 | <paramlist> | |
5769 | <param name="title" type="String" default=""/> | |
5770 | </paramlist> | |
5771 | </method> | |
5772 | <method name="Enable" type="" overloaded="no"> | |
5773 | <autodoc>Enable(int id, bool enable)</autodoc> | |
5774 | <paramlist> | |
5775 | <param name="id" type="int" default=""/> | |
5776 | <param name="enable" type="bool" default=""/> | |
5777 | </paramlist> | |
5778 | </method> | |
5779 | <method name="Check" type="" overloaded="no"> | |
5780 | <autodoc>Check(int id, bool check)</autodoc> | |
5781 | <paramlist> | |
5782 | <param name="id" type="int" default=""/> | |
5783 | <param name="check" type="bool" default=""/> | |
5784 | </paramlist> | |
5785 | </method> | |
5786 | <method name="IsChecked" type="bool" overloaded="no"> | |
5787 | <autodoc>IsChecked(int id) -> bool</autodoc> | |
5788 | <paramlist> | |
5789 | <param name="id" type="int" default=""/> | |
5790 | </paramlist> | |
5791 | </method> | |
5792 | <method name="IsEnabled" type="bool" overloaded="no"> | |
5793 | <autodoc>IsEnabled(int id) -> bool</autodoc> | |
5794 | <paramlist> | |
5795 | <param name="id" type="int" default=""/> | |
5796 | </paramlist> | |
5797 | </method> | |
5798 | <method name="SetLabel" type="" overloaded="no"> | |
5799 | <autodoc>SetLabel(int id, String label)</autodoc> | |
5800 | <paramlist> | |
5801 | <param name="id" type="int" default=""/> | |
5802 | <param name="label" type="String" default=""/> | |
5803 | </paramlist> | |
5804 | </method> | |
5805 | <method name="GetLabel" type="String" overloaded="no"> | |
5806 | <autodoc>GetLabel(int id) -> String</autodoc> | |
5807 | <paramlist> | |
5808 | <param name="id" type="int" default=""/> | |
5809 | </paramlist> | |
5810 | </method> | |
5811 | <method name="SetHelpString" type="" overloaded="no"> | |
5812 | <autodoc>SetHelpString(int id, String helpString)</autodoc> | |
5813 | <paramlist> | |
5814 | <param name="id" type="int" default=""/> | |
5815 | <param name="helpString" type="String" default=""/> | |
5816 | </paramlist> | |
5817 | </method> | |
5818 | <method name="GetHelpString" type="String" overloaded="no"> | |
5819 | <autodoc>GetHelpString(int id) -> String</autodoc> | |
5820 | <paramlist> | |
5821 | <param name="id" type="int" default=""/> | |
5822 | </paramlist> | |
5823 | </method> | |
5824 | <method name="GetFrame" type="wxFrame" overloaded="no"> | |
5825 | <autodoc>GetFrame() -> wxFrame</autodoc> | |
5826 | </method> | |
5827 | <method name="IsAttached" type="bool" overloaded="no"> | |
5828 | <autodoc>IsAttached() -> bool</autodoc> | |
5829 | </method> | |
5830 | <method name="Attach" type="" overloaded="no"> | |
5831 | <autodoc>Attach(wxFrame frame)</autodoc> | |
5832 | <paramlist> | |
5833 | <param name="frame" type="wxFrame" default=""/> | |
5834 | </paramlist> | |
5835 | </method> | |
5836 | <method name="Detach" type="" overloaded="no"> | |
5837 | <autodoc>Detach()</autodoc> | |
5838 | </method> | |
5839 | </class> | |
5840 | <pythoncode> | |
856bf319 RD |
5841 | #--------------------------------------------------------------------------- |
5842 | </pythoncode> | |
f32fc4bc RD |
5843 | <class name="MenuItem" oldname="wxMenuItem" module="core"> |
5844 | <baseclass name="Object"/> | |
5845 | <constructor name="MenuItem" overloaded="no"> | |
5846 | <autodoc>__init__(Menu parentMenu=None, int id=ID_SEPARATOR, String text=EmptyString, | |
856bf319 RD |
5847 | String help=EmptyString, int kind=ITEM_NORMAL, |
5848 | Menu subMenu=None) -> MenuItem</autodoc> | |
f32fc4bc RD |
5849 | <paramlist> |
5850 | <param name="parentMenu" type="Menu" default="NULL"/> | |
5851 | <param name="id" type="int" default="wxID_SEPARATOR"/> | |
5852 | <param name="text" type="String" default="wxPyEmptyString"/> | |
5853 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5854 | <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/> | |
5855 | <param name="subMenu" type="Menu" default="NULL"/> | |
5856 | </paramlist> | |
5857 | </constructor> | |
5858 | <method name="GetMenu" type="Menu" overloaded="no"> | |
5859 | <autodoc>GetMenu() -> Menu</autodoc> | |
5860 | </method> | |
5861 | <method name="SetMenu" type="" overloaded="no"> | |
5862 | <autodoc>SetMenu(Menu menu)</autodoc> | |
5863 | <paramlist> | |
5864 | <param name="menu" type="Menu" default=""/> | |
5865 | </paramlist> | |
5866 | </method> | |
5867 | <method name="SetId" type="" overloaded="no"> | |
5868 | <autodoc>SetId(int id)</autodoc> | |
5869 | <paramlist> | |
5870 | <param name="id" type="int" default=""/> | |
5871 | </paramlist> | |
5872 | </method> | |
5873 | <method name="GetId" type="int" overloaded="no"> | |
5874 | <autodoc>GetId() -> int</autodoc> | |
5875 | </method> | |
5876 | <method name="IsSeparator" type="bool" overloaded="no"> | |
5877 | <autodoc>IsSeparator() -> bool</autodoc> | |
5878 | </method> | |
5879 | <method name="SetText" type="" overloaded="no"> | |
5880 | <autodoc>SetText(String str)</autodoc> | |
5881 | <paramlist> | |
5882 | <param name="str" type="String" default=""/> | |
5883 | </paramlist> | |
5884 | </method> | |
5885 | <method name="GetLabel" type="String" overloaded="no"> | |
5886 | <autodoc>GetLabel() -> String</autodoc> | |
5887 | </method> | |
5888 | <method name="GetText" type="String" overloaded="no"> | |
5889 | <autodoc>GetText() -> String</autodoc> | |
5890 | </method> | |
5891 | <staticmethod name="GetLabelFromText" type="String" overloaded="no"> | |
5892 | <autodoc>GetLabelFromText(String text) -> String</autodoc> | |
5893 | <paramlist> | |
5894 | <param name="text" type="String" default=""/> | |
5895 | </paramlist> | |
5896 | </staticmethod> | |
5897 | <method name="GetKind" type="wxItemKind" overloaded="no"> | |
5898 | <autodoc>GetKind() -> int</autodoc> | |
5899 | </method> | |
5900 | <method name="SetCheckable" type="" overloaded="no"> | |
5901 | <autodoc>SetCheckable(bool checkable)</autodoc> | |
5902 | <paramlist> | |
5903 | <param name="checkable" type="bool" default=""/> | |
5904 | </paramlist> | |
5905 | </method> | |
5906 | <method name="IsCheckable" type="bool" overloaded="no"> | |
5907 | <autodoc>IsCheckable() -> bool</autodoc> | |
5908 | </method> | |
5909 | <method name="IsSubMenu" type="bool" overloaded="no"> | |
5910 | <autodoc>IsSubMenu() -> bool</autodoc> | |
5911 | </method> | |
5912 | <method name="SetSubMenu" type="" overloaded="no"> | |
5913 | <autodoc>SetSubMenu(Menu menu)</autodoc> | |
5914 | <paramlist> | |
5915 | <param name="menu" type="Menu" default=""/> | |
5916 | </paramlist> | |
5917 | </method> | |
5918 | <method name="GetSubMenu" type="Menu" overloaded="no"> | |
5919 | <autodoc>GetSubMenu() -> Menu</autodoc> | |
5920 | </method> | |
5921 | <method name="Enable" type="" overloaded="no"> | |
5922 | <autodoc>Enable(bool enable=True)</autodoc> | |
5923 | <paramlist> | |
5924 | <param name="enable" type="bool" default="True"/> | |
5925 | </paramlist> | |
5926 | </method> | |
5927 | <method name="IsEnabled" type="bool" overloaded="no"> | |
5928 | <autodoc>IsEnabled() -> bool</autodoc> | |
5929 | </method> | |
5930 | <method name="Check" type="" overloaded="no"> | |
5931 | <autodoc>Check(bool check=True)</autodoc> | |
5932 | <paramlist> | |
5933 | <param name="check" type="bool" default="True"/> | |
5934 | </paramlist> | |
5935 | </method> | |
5936 | <method name="IsChecked" type="bool" overloaded="no"> | |
5937 | <autodoc>IsChecked() -> bool</autodoc> | |
5938 | </method> | |
5939 | <method name="Toggle" type="" overloaded="no"> | |
5940 | <autodoc>Toggle()</autodoc> | |
5941 | </method> | |
5942 | <method name="SetHelp" type="" overloaded="no"> | |
5943 | <autodoc>SetHelp(String str)</autodoc> | |
5944 | <paramlist> | |
5945 | <param name="str" type="String" default=""/> | |
5946 | </paramlist> | |
5947 | </method> | |
5948 | <method name="GetHelp" type="String" overloaded="no"> | |
5949 | <autodoc>GetHelp() -> String</autodoc> | |
5950 | </method> | |
5951 | <method name="GetAccel" type="AcceleratorEntry" overloaded="no"> | |
5952 | <autodoc>GetAccel() -> AcceleratorEntry</autodoc> | |
5953 | </method> | |
5954 | <method name="SetAccel" type="" overloaded="no"> | |
5955 | <autodoc>SetAccel(AcceleratorEntry accel)</autodoc> | |
5956 | <paramlist> | |
5957 | <param name="accel" type="AcceleratorEntry" default=""/> | |
5958 | </paramlist> | |
5959 | </method> | |
5960 | <staticmethod name="GetDefaultMarginWidth" type="int" overloaded="no"> | |
5961 | <autodoc>GetDefaultMarginWidth() -> int</autodoc> | |
5962 | </staticmethod> | |
5963 | <method name="SetBitmap" type="" overloaded="no"> | |
5964 | <autodoc>SetBitmap(Bitmap bitmap)</autodoc> | |
5965 | <paramlist> | |
5966 | <param name="bitmap" type="wxBitmap" default=""/> | |
5967 | </paramlist> | |
5968 | </method> | |
5969 | <method name="GetBitmap" type="wxBitmap" overloaded="no"> | |
5970 | <autodoc>GetBitmap() -> Bitmap</autodoc> | |
5971 | </method> | |
5972 | </class> | |
5973 | <pythoncode> | |
0f43fbdf RD |
5974 | #--------------------------------------------------------------------------- |
5975 | </pythoncode> | |
f32fc4bc | 5976 | <class name="Control" oldname="wxControl" module="core"> |
c2dda882 RD |
5977 | <docstring>This is the base class for a control or 'widget'. |
5978 | ||
5979 | A control is generally a small window which processes user input and/or | |
5980 | displays one or more item of data.</docstring> | |
f32fc4bc RD |
5981 | <baseclass name="Window"/> |
5982 | <constructor name="Control" overloaded="no"> | |
5983 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
0f43fbdf RD |
5984 | long style=0, Validator validator=DefaultValidator, |
5985 | String name=ControlNameStr) -> Control</autodoc> | |
c2dda882 RD |
5986 | <docstring>Create a Control. Normally you should only call this from a |
5987 | subclass' __init__ as a plain old wx.Control is not very useful.</docstring> | |
f32fc4bc RD |
5988 | <paramlist> |
5989 | <param name="parent" type="Window" default=""/> | |
5990 | <param name="id" type="int" default=""/> | |
5991 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
5992 | <param name="size" type="Size" default="wxDefaultSize"/> | |
5993 | <param name="style" type="long" default="0"/> | |
5994 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
5995 | <param name="name" type="String" default="wxPyControlNameStr"/> | |
5996 | </paramlist> | |
5997 | </constructor> | |
5998 | <constructor name="PreControl" overloaded="no"> | |
5999 | <autodoc>PreControl() -> Control</autodoc> | |
c2dda882 | 6000 | <docstring>Precreate a Control control for 2-phase creation</docstring> |
f32fc4bc RD |
6001 | </constructor> |
6002 | <method name="Create" type="bool" overloaded="no"> | |
6003 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
0f43fbdf RD |
6004 | long style=0, Validator validator=DefaultValidator, |
6005 | String name=ControlNameStr) -> bool</autodoc> | |
c2dda882 | 6006 | <docstring>Do the 2nd phase and create the GUI control.</docstring> |
f32fc4bc RD |
6007 | <paramlist> |
6008 | <param name="parent" type="Window" default=""/> | |
6009 | <param name="id" type="int" default=""/> | |
6010 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
6011 | <param name="size" type="Size" default="wxDefaultSize"/> | |
6012 | <param name="style" type="long" default="0"/> | |
6013 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
6014 | <param name="name" type="String" default="wxPyControlNameStr"/> | |
6015 | </paramlist> | |
6016 | </method> | |
6017 | <method name="Command" type="" overloaded="no"> | |
6018 | <autodoc>Command(CommandEvent event)</autodoc> | |
c2dda882 RD |
6019 | <docstring>Simulates the effect of the user issuing a command to the |
6020 | item. See wxCommandEvent.</docstring> | |
f32fc4bc RD |
6021 | <paramlist> |
6022 | <param name="event" type="CommandEvent" default=""/> | |
6023 | </paramlist> | |
6024 | </method> | |
6025 | <method name="GetLabel" type="String" overloaded="no"> | |
6026 | <autodoc>GetLabel() -> String</autodoc> | |
c2dda882 | 6027 | <docstring>Return a control's text.</docstring> |
f32fc4bc RD |
6028 | </method> |
6029 | <method name="SetLabel" type="" overloaded="no"> | |
6030 | <autodoc>SetLabel(String label)</autodoc> | |
c2dda882 | 6031 | <docstring>Sets the item's text.</docstring> |
f32fc4bc RD |
6032 | <paramlist> |
6033 | <param name="label" type="String" default=""/> | |
6034 | </paramlist> | |
6035 | </method> | |
6036 | </class> | |
6037 | <pythoncode> | |
0f43fbdf RD |
6038 | #--------------------------------------------------------------------------- |
6039 | </pythoncode> | |
f32fc4bc | 6040 | <class name="ItemContainer" oldname="wxItemContainer" module="core"> |
c2dda882 RD |
6041 | <docstring>wx.ItemContainer defines an interface which is implemented by all |
6042 | controls which have string subitems, each of which may be | |
6043 | selected, such as wx.ListBox, wx.CheckListBox, wx.Choice and | |
6044 | wx.ComboBox (which implements an extended interface deriving from | |
6045 | this one) | |
6046 | ||
6047 | It defines the methods for accessing the control's items and | |
6048 | although each of the derived classes implements them differently, | |
6049 | they still all conform to the same interface. | |
6050 | ||
6051 | The items in a wx.ItemContainer have (non empty) string labels | |
6052 | and, optionally, client data associated with them. | |
6053 | </docstring> | |
f32fc4bc RD |
6054 | <method name="Append" type="int" overloaded="no"> |
6055 | <autodoc>Append(String item, PyObject clientData=None) -> int</autodoc> | |
c2dda882 RD |
6056 | <docstring>Adds the item to the control, associating the given data with the |
6057 | item if not None. The return value is the index of the newly | |
6058 | added item which may be different from the last one if the | |
6059 | control is sorted (e.g. has wx.LB_SORT or wx.CB_SORT style).</docstring> | |
f32fc4bc RD |
6060 | <paramlist> |
6061 | <param name="item" type="String" default=""/> | |
6062 | <param name="clientData" type="PyObject" default="NULL"/> | |
6063 | </paramlist> | |
6064 | </method> | |
6065 | <method name="AppendItems" type="" overloaded="no"> | |
6066 | <autodoc>AppendItems(wxArrayString strings)</autodoc> | |
c2dda882 RD |
6067 | <docstring>Apend several items at once to the control. Notice that calling |
6068 | this method may be much faster than appending the items one by | |
6069 | one if you need to add a lot of items.</docstring> | |
f32fc4bc RD |
6070 | <paramlist> |
6071 | <param name="strings" type="wxArrayString" default=""/> | |
6072 | </paramlist> | |
6073 | </method> | |
6074 | <method name="Insert" type="int" overloaded="no"> | |
6075 | <autodoc>Insert(String item, int pos, PyObject clientData=None) -> int</autodoc> | |
c2dda882 RD |
6076 | <docstring>Insert an item into the control before the item at the pos index, |
6077 | optionally associating some data object with the item.</docstring> | |
f32fc4bc RD |
6078 | <paramlist> |
6079 | <param name="item" type="String" default=""/> | |
6080 | <param name="pos" type="int" default=""/> | |
6081 | <param name="clientData" type="PyObject" default="NULL"/> | |
6082 | </paramlist> | |
6083 | </method> | |
6084 | <method name="Clear" type="" overloaded="no"> | |
6085 | <autodoc>Clear()</autodoc> | |
c2dda882 | 6086 | <docstring>Removes all items from the control.</docstring> |
f32fc4bc RD |
6087 | </method> |
6088 | <method name="Delete" type="" overloaded="no"> | |
6089 | <autodoc>Delete(int n)</autodoc> | |
c2dda882 RD |
6090 | <docstring>Deletes the item at the zero-based index 'n' from the control. |
6091 | Note that it is an error (signalled by a PyAssertionError | |
6092 | exception if enabled) to remove an item with the index negative | |
6093 | or greater or equal than the number of items in the control.</docstring> | |
f32fc4bc RD |
6094 | <paramlist> |
6095 | <param name="n" type="int" default=""/> | |
6096 | </paramlist> | |
6097 | </method> | |
6098 | <method name="GetCount" type="int" overloaded="no"> | |
6099 | <autodoc>GetCount() -> int</autodoc> | |
c2dda882 | 6100 | <docstring>Returns the number of items in the control.</docstring> |
f32fc4bc RD |
6101 | </method> |
6102 | <method name="IsEmpty" type="bool" overloaded="no"> | |
6103 | <autodoc>IsEmpty() -> bool</autodoc> | |
c2dda882 | 6104 | <docstring>Returns True if the control is empty or False if it has some items.</docstring> |
f32fc4bc RD |
6105 | </method> |
6106 | <method name="GetString" type="String" overloaded="no"> | |
6107 | <autodoc>GetString(int n) -> String</autodoc> | |
c2dda882 | 6108 | <docstring>Returns the label of the item with the given index.</docstring> |
f32fc4bc RD |
6109 | <paramlist> |
6110 | <param name="n" type="int" default=""/> | |
6111 | </paramlist> | |
6112 | </method> | |
6113 | <method name="GetStrings" type="wxArrayString" overloaded="no"> | |
6114 | <autodoc>GetStrings() -> wxArrayString</autodoc> | |
6115 | </method> | |
6116 | <method name="SetString" type="" overloaded="no"> | |
6117 | <autodoc>SetString(int n, String s)</autodoc> | |
c2dda882 | 6118 | <docstring>Sets the label for the given item.</docstring> |
f32fc4bc RD |
6119 | <paramlist> |
6120 | <param name="n" type="int" default=""/> | |
6121 | <param name="s" type="String" default=""/> | |
6122 | </paramlist> | |
6123 | </method> | |
6124 | <method name="FindString" type="int" overloaded="no"> | |
6125 | <autodoc>FindString(String s) -> int</autodoc> | |
c2dda882 RD |
6126 | <docstring>Finds an item whose label matches the given string. Returns the |
6127 | zero-based position of the item, or wx.NOT_FOUND if the string | |
6128 | was not found.</docstring> | |
f32fc4bc RD |
6129 | <paramlist> |
6130 | <param name="s" type="String" default=""/> | |
6131 | </paramlist> | |
6132 | </method> | |
6133 | <method name="Select" type="" overloaded="no"> | |
6134 | <autodoc>Select(int n)</autodoc> | |
c2dda882 | 6135 | <docstring>Sets the item at index 'n' to be the selected item.</docstring> |
f32fc4bc RD |
6136 | <paramlist> |
6137 | <param name="n" type="int" default=""/> | |
6138 | </paramlist> | |
6139 | </method> | |
6140 | <method name="GetSelection" type="int" overloaded="no"> | |
6141 | <autodoc>GetSelection() -> int</autodoc> | |
c2dda882 | 6142 | <docstring>Returns the index of the selected item or wx.NOT_FOUND if no item is selected.</docstring> |
f32fc4bc RD |
6143 | </method> |
6144 | <method name="GetStringSelection" type="String" overloaded="no"> | |
6145 | <autodoc>GetStringSelection() -> String</autodoc> | |
c2dda882 | 6146 | <docstring>Returns the label of the selected item or an empty string if no item is selected.</docstring> |
f32fc4bc RD |
6147 | </method> |
6148 | <method name="GetClientData" type="PyObject" overloaded="no"> | |
6149 | <autodoc>GetClientData(int n) -> PyObject</autodoc> | |
c2dda882 | 6150 | <docstring>Returns the client data associated with the given item, (if any.)</docstring> |
f32fc4bc RD |
6151 | <paramlist> |
6152 | <param name="n" type="int" default=""/> | |
6153 | </paramlist> | |
6154 | </method> | |
6155 | <method name="SetClientData" type="" overloaded="no"> | |
6156 | <autodoc>SetClientData(int n, PyObject clientData)</autodoc> | |
c2dda882 | 6157 | <docstring>Associate the given client data with the item at position n.</docstring> |
f32fc4bc RD |
6158 | <paramlist> |
6159 | <param name="n" type="int" default=""/> | |
6160 | <param name="clientData" type="PyObject" default=""/> | |
6161 | </paramlist> | |
6162 | </method> | |
6163 | </class> | |
6164 | <pythoncode> | |
0f43fbdf RD |
6165 | #--------------------------------------------------------------------------- |
6166 | </pythoncode> | |
f32fc4bc | 6167 | <class name="ControlWithItems" oldname="wxControlWithItems" module="core"> |
c2dda882 RD |
6168 | <docstring>wx.ControlWithItems combines the wx.ItemContainer class with the |
6169 | wx.Control class, and is used for the base class of various | |
6170 | controls that have items.</docstring> | |
f32fc4bc RD |
6171 | <baseclass name="Control"/> |
6172 | <baseclass name="ItemContainer"/> | |
6173 | </class> | |
6174 | <pythoncode> | |
0f43fbdf RD |
6175 | #--------------------------------------------------------------------------- |
6176 | </pythoncode> | |
f32fc4bc RD |
6177 | <class name="SizerItem" oldname="wxSizerItem" module="core"> |
6178 | <baseclass name="Object"/> | |
6179 | <constructor name="SizerItem" overloaded="no"> | |
6180 | <autodoc>__init__() -> SizerItem</autodoc> | |
6181 | </constructor> | |
6182 | <constructor name="SizerItemSpacer" overloaded="no"> | |
6183 | <autodoc>SizerItemSpacer(int width, int height, int proportion, int flag, int border, | |
0f43fbdf | 6184 | Object userData) -> SizerItem</autodoc> |
f32fc4bc RD |
6185 | <paramlist> |
6186 | <param name="width" type="int" default=""/> | |
6187 | <param name="height" type="int" default=""/> | |
6188 | <param name="proportion" type="int" default=""/> | |
6189 | <param name="flag" type="int" default=""/> | |
6190 | <param name="border" type="int" default=""/> | |
6191 | <param name="userData" type="Object" default=""/> | |
6192 | </paramlist> | |
6193 | </constructor> | |
6194 | <constructor name="SizerItemWindow" overloaded="no"> | |
6195 | <autodoc>SizerItemWindow(Window window, int proportion, int flag, int border, | |
0f43fbdf | 6196 | Object userData) -> SizerItem</autodoc> |
f32fc4bc RD |
6197 | <paramlist> |
6198 | <param name="window" type="Window" default=""/> | |
6199 | <param name="proportion" type="int" default=""/> | |
6200 | <param name="flag" type="int" default=""/> | |
6201 | <param name="border" type="int" default=""/> | |
6202 | <param name="userData" type="Object" default=""/> | |
6203 | </paramlist> | |
6204 | </constructor> | |
6205 | <constructor name="SizerItemSizer" overloaded="no"> | |
6206 | <autodoc>SizerItemSizer(Sizer sizer, int proportion, int flag, int border, | |
0f43fbdf | 6207 | Object userData) -> SizerItem</autodoc> |
f32fc4bc RD |
6208 | <paramlist> |
6209 | <param name="sizer" type="wxSizer" default=""/> | |
6210 | <param name="proportion" type="int" default=""/> | |
6211 | <param name="flag" type="int" default=""/> | |
6212 | <param name="border" type="int" default=""/> | |
6213 | <param name="userData" type="Object" default=""/> | |
6214 | </paramlist> | |
6215 | </constructor> | |
6216 | <method name="DeleteWindows" type="" overloaded="no"> | |
6217 | <autodoc>DeleteWindows()</autodoc> | |
6218 | </method> | |
6219 | <method name="DetachSizer" type="" overloaded="no"> | |
6220 | <autodoc>DetachSizer()</autodoc> | |
6221 | </method> | |
6222 | <method name="GetSize" type="Size" overloaded="no"> | |
6223 | <autodoc>GetSize() -> Size</autodoc> | |
6224 | </method> | |
6225 | <method name="CalcMin" type="Size" overloaded="no"> | |
6226 | <autodoc>CalcMin() -> Size</autodoc> | |
6227 | </method> | |
6228 | <method name="SetDimension" type="" overloaded="no"> | |
6229 | <autodoc>SetDimension(Point pos, Size size)</autodoc> | |
6230 | <paramlist> | |
6231 | <param name="pos" type="Point" default=""/> | |
6232 | <param name="size" type="Size" default=""/> | |
6233 | </paramlist> | |
6234 | </method> | |
6235 | <method name="GetMinSize" type="Size" overloaded="no"> | |
6236 | <autodoc>GetMinSize() -> Size</autodoc> | |
6237 | </method> | |
6238 | <method name="SetInitSize" type="" overloaded="no"> | |
6239 | <autodoc>SetInitSize(int x, int y)</autodoc> | |
6240 | <paramlist> | |
6241 | <param name="x" type="int" default=""/> | |
6242 | <param name="y" type="int" default=""/> | |
6243 | </paramlist> | |
6244 | </method> | |
6245 | <method name="SetRatioWH" type="" overloaded="no"> | |
6246 | <autodoc>SetRatioWH(int width, int height)</autodoc> | |
6247 | <paramlist> | |
6248 | <param name="width" type="int" default=""/> | |
6249 | <param name="height" type="int" default=""/> | |
6250 | </paramlist> | |
6251 | </method> | |
6252 | <method name="SetRatioSize" type="" overloaded="no"> | |
6253 | <autodoc>SetRatioSize(Size size)</autodoc> | |
6254 | <paramlist> | |
6255 | <param name="size" type="Size" default=""/> | |
6256 | </paramlist> | |
6257 | </method> | |
6258 | <method name="SetRatio" type="" overloaded="no"> | |
6259 | <autodoc>SetRatio(float ratio)</autodoc> | |
6260 | <paramlist> | |
6261 | <param name="ratio" type="float" default=""/> | |
6262 | </paramlist> | |
6263 | </method> | |
6264 | <method name="GetRatio" type="float" overloaded="no"> | |
6265 | <autodoc>GetRatio() -> float</autodoc> | |
6266 | </method> | |
6267 | <method name="IsWindow" type="bool" overloaded="no"> | |
6268 | <autodoc>IsWindow() -> bool</autodoc> | |
6269 | </method> | |
6270 | <method name="IsSizer" type="bool" overloaded="no"> | |
6271 | <autodoc>IsSizer() -> bool</autodoc> | |
6272 | </method> | |
6273 | <method name="IsSpacer" type="bool" overloaded="no"> | |
6274 | <autodoc>IsSpacer() -> bool</autodoc> | |
6275 | </method> | |
6276 | <method name="SetProportion" type="" overloaded="no"> | |
6277 | <autodoc>SetProportion(int proportion)</autodoc> | |
6278 | <paramlist> | |
6279 | <param name="proportion" type="int" default=""/> | |
6280 | </paramlist> | |
6281 | </method> | |
6282 | <method name="GetProportion" type="int" overloaded="no"> | |
6283 | <autodoc>GetProportion() -> int</autodoc> | |
6284 | </method> | |
6285 | <method name="SetFlag" type="" overloaded="no"> | |
6286 | <autodoc>SetFlag(int flag)</autodoc> | |
6287 | <paramlist> | |
6288 | <param name="flag" type="int" default=""/> | |
6289 | </paramlist> | |
6290 | </method> | |
6291 | <method name="GetFlag" type="int" overloaded="no"> | |
6292 | <autodoc>GetFlag() -> int</autodoc> | |
6293 | </method> | |
6294 | <method name="SetBorder" type="" overloaded="no"> | |
6295 | <autodoc>SetBorder(int border)</autodoc> | |
6296 | <paramlist> | |
6297 | <param name="border" type="int" default=""/> | |
6298 | </paramlist> | |
6299 | </method> | |
6300 | <method name="GetBorder" type="int" overloaded="no"> | |
6301 | <autodoc>GetBorder() -> int</autodoc> | |
6302 | </method> | |
6303 | <method name="GetWindow" type="Window" overloaded="no"> | |
6304 | <autodoc>GetWindow() -> Window</autodoc> | |
6305 | </method> | |
6306 | <method name="SetWindow" type="" overloaded="no"> | |
6307 | <autodoc>SetWindow(Window window)</autodoc> | |
6308 | <paramlist> | |
6309 | <param name="window" type="Window" default=""/> | |
6310 | </paramlist> | |
6311 | </method> | |
6312 | <method name="GetSizer" type="wxSizer" overloaded="no"> | |
6313 | <autodoc>GetSizer() -> Sizer</autodoc> | |
6314 | </method> | |
6315 | <method name="SetSizer" type="" overloaded="no"> | |
6316 | <autodoc>SetSizer(Sizer sizer)</autodoc> | |
6317 | <paramlist> | |
6318 | <param name="sizer" type="wxSizer" default=""/> | |
6319 | </paramlist> | |
6320 | </method> | |
6321 | <method name="GetSpacer" type="Size" overloaded="no"> | |
6322 | <autodoc>GetSpacer() -> Size</autodoc> | |
6323 | </method> | |
6324 | <method name="SetSpacer" type="" overloaded="no"> | |
6325 | <autodoc>SetSpacer(Size size)</autodoc> | |
6326 | <paramlist> | |
6327 | <param name="size" type="Size" default=""/> | |
6328 | </paramlist> | |
6329 | </method> | |
6330 | <method name="Show" type="" overloaded="no"> | |
6331 | <autodoc>Show(bool show)</autodoc> | |
6332 | <paramlist> | |
6333 | <param name="show" type="bool" default=""/> | |
6334 | </paramlist> | |
6335 | </method> | |
6336 | <method name="IsShown" type="bool" overloaded="no"> | |
6337 | <autodoc>IsShown() -> bool</autodoc> | |
6338 | </method> | |
6339 | <method name="GetPosition" type="Point" overloaded="no"> | |
6340 | <autodoc>GetPosition() -> Point</autodoc> | |
6341 | </method> | |
6342 | <method name="GetUserData" type="PyObject" overloaded="no"> | |
6343 | <autodoc>GetUserData() -> PyObject</autodoc> | |
6344 | </method> | |
6345 | </class> | |
6346 | <class name="Sizer" oldname="wxSizer" module="core"> | |
6347 | <baseclass name="Object"/> | |
6348 | <method name="_setOORInfo" type="" overloaded="no"> | |
6349 | <autodoc>_setOORInfo(PyObject _self)</autodoc> | |
6350 | <paramlist> | |
6351 | <param name="_self" type="PyObject" default=""/> | |
6352 | </paramlist> | |
6353 | </method> | |
6354 | <method name="Add" type="" overloaded="no"> | |
6355 | <autodoc>Add(PyObject item, int proportion=0, int flag=0, int border=0, | |
0f43fbdf | 6356 | PyObject userData=None)</autodoc> |
f32fc4bc RD |
6357 | <paramlist> |
6358 | <param name="item" type="PyObject" default=""/> | |
6359 | <param name="proportion" type="int" default="0"/> | |
6360 | <param name="flag" type="int" default="0"/> | |
6361 | <param name="border" type="int" default="0"/> | |
6362 | <param name="userData" type="PyObject" default="NULL"/> | |
6363 | </paramlist> | |
6364 | </method> | |
6365 | <method name="Insert" type="" overloaded="no"> | |
6366 | <autodoc>Insert(int before, PyObject item, int proportion=0, int flag=0, | |
0f43fbdf | 6367 | int border=0, PyObject userData=None)</autodoc> |
f32fc4bc RD |
6368 | <paramlist> |
6369 | <param name="before" type="int" default=""/> | |
6370 | <param name="item" type="PyObject" default=""/> | |
6371 | <param name="proportion" type="int" default="0"/> | |
6372 | <param name="flag" type="int" default="0"/> | |
6373 | <param name="border" type="int" default="0"/> | |
6374 | <param name="userData" type="PyObject" default="NULL"/> | |
6375 | </paramlist> | |
6376 | </method> | |
6377 | <method name="Prepend" type="" overloaded="no"> | |
6378 | <autodoc>Prepend(PyObject item, int proportion=0, int flag=0, int border=0, | |
0f43fbdf | 6379 | PyObject userData=None)</autodoc> |
f32fc4bc RD |
6380 | <paramlist> |
6381 | <param name="item" type="PyObject" default=""/> | |
6382 | <param name="proportion" type="int" default="0"/> | |
6383 | <param name="flag" type="int" default="0"/> | |
6384 | <param name="border" type="int" default="0"/> | |
6385 | <param name="userData" type="PyObject" default="NULL"/> | |
6386 | </paramlist> | |
6387 | </method> | |
6388 | <method name="Remove" type="bool" overloaded="no"> | |
6389 | <autodoc>Remove(PyObject item) -> bool</autodoc> | |
6390 | <paramlist> | |
6391 | <param name="item" type="PyObject" default=""/> | |
6392 | </paramlist> | |
6393 | </method> | |
6394 | <method name="_SetItemMinSize" type="" overloaded="no"> | |
6395 | <autodoc>_SetItemMinSize(PyObject item, Size size)</autodoc> | |
6396 | <paramlist> | |
6397 | <param name="item" type="PyObject" default=""/> | |
6398 | <param name="size" type="Size" default=""/> | |
6399 | </paramlist> | |
6400 | </method> | |
6401 | <method name="AddItem" type="" overloaded="no"> | |
6402 | <autodoc>AddItem(SizerItem item)</autodoc> | |
6403 | <paramlist> | |
6404 | <param name="item" type="SizerItem" default=""/> | |
6405 | </paramlist> | |
6406 | </method> | |
6407 | <method name="InsertItem" type="" overloaded="no"> | |
6408 | <autodoc>InsertItem(size_t index, SizerItem item)</autodoc> | |
6409 | <paramlist> | |
6410 | <param name="index" type="size_t" default=""/> | |
6411 | <param name="item" type="SizerItem" default=""/> | |
6412 | </paramlist> | |
6413 | </method> | |
6414 | <method name="PrependItem" type="" overloaded="no"> | |
6415 | <autodoc>PrependItem(SizerItem item)</autodoc> | |
6416 | <paramlist> | |
6417 | <param name="item" type="SizerItem" default=""/> | |
6418 | </paramlist> | |
6419 | </method> | |
6420 | <method name="SetDimension" type="" overloaded="no"> | |
6421 | <autodoc>SetDimension(int x, int y, int width, int height)</autodoc> | |
6422 | <paramlist> | |
6423 | <param name="x" type="int" default=""/> | |
6424 | <param name="y" type="int" default=""/> | |
6425 | <param name="width" type="int" default=""/> | |
6426 | <param name="height" type="int" default=""/> | |
6427 | </paramlist> | |
6428 | </method> | |
6429 | <method name="SetMinSize" type="" overloaded="no"> | |
6430 | <autodoc>SetMinSize(Size size)</autodoc> | |
6431 | <paramlist> | |
6432 | <param name="size" type="Size" default=""/> | |
6433 | </paramlist> | |
6434 | </method> | |
6435 | <method name="GetSize" type="Size" overloaded="no"> | |
6436 | <autodoc>GetSize() -> Size</autodoc> | |
6437 | </method> | |
6438 | <method name="GetPosition" type="Point" overloaded="no"> | |
6439 | <autodoc>GetPosition() -> Point</autodoc> | |
6440 | </method> | |
6441 | <method name="GetMinSize" type="Size" overloaded="no"> | |
6442 | <autodoc>GetMinSize() -> Size</autodoc> | |
6443 | </method> | |
6444 | <method name="RecalcSizes" type="" overloaded="no"> | |
6445 | <autodoc>RecalcSizes()</autodoc> | |
6446 | </method> | |
6447 | <method name="CalcMin" type="Size" overloaded="no"> | |
6448 | <autodoc>CalcMin() -> Size</autodoc> | |
6449 | </method> | |
6450 | <method name="Layout" type="" overloaded="no"> | |
6451 | <autodoc>Layout()</autodoc> | |
6452 | </method> | |
6453 | <method name="Fit" type="Size" overloaded="no"> | |
6454 | <autodoc>Fit(Window window) -> Size</autodoc> | |
6455 | <paramlist> | |
6456 | <param name="window" type="Window" default=""/> | |
6457 | </paramlist> | |
6458 | </method> | |
6459 | <method name="FitInside" type="" overloaded="no"> | |
6460 | <autodoc>FitInside(Window window)</autodoc> | |
6461 | <paramlist> | |
6462 | <param name="window" type="Window" default=""/> | |
6463 | </paramlist> | |
6464 | </method> | |
6465 | <method name="SetSizeHints" type="" overloaded="no"> | |
6466 | <autodoc>SetSizeHints(Window window)</autodoc> | |
6467 | <paramlist> | |
6468 | <param name="window" type="Window" default=""/> | |
6469 | </paramlist> | |
6470 | </method> | |
6471 | <method name="SetVirtualSizeHints" type="" overloaded="no"> | |
6472 | <autodoc>SetVirtualSizeHints(Window window)</autodoc> | |
6473 | <paramlist> | |
6474 | <param name="window" type="Window" default=""/> | |
6475 | </paramlist> | |
6476 | </method> | |
6477 | <method name="Clear" type="" overloaded="no"> | |
6478 | <autodoc>Clear(bool delete_windows=False)</autodoc> | |
6479 | <paramlist> | |
6480 | <param name="delete_windows" type="bool" default="False"/> | |
6481 | </paramlist> | |
6482 | </method> | |
6483 | <method name="DeleteWindows" type="" overloaded="no"> | |
6484 | <autodoc>DeleteWindows()</autodoc> | |
6485 | </method> | |
6486 | <method name="GetChildren" type="PyObject" overloaded="no"> | |
6487 | <autodoc>GetChildren() -> PyObject</autodoc> | |
6488 | </method> | |
6489 | <method name="Show" type="" overloaded="no"> | |
6490 | <autodoc>Show(PyObject item, bool show=True)</autodoc> | |
6491 | <paramlist> | |
6492 | <param name="item" type="PyObject" default=""/> | |
6493 | <param name="show" type="bool" default="True"/> | |
6494 | </paramlist> | |
6495 | </method> | |
6496 | <method name="Hide" type="" overloaded="no"> | |
6497 | <autodoc>Hide(PyObject item)</autodoc> | |
6498 | <paramlist> | |
6499 | <param name="item" type="PyObject" default=""/> | |
6500 | </paramlist> | |
6501 | </method> | |
6502 | <method name="IsShown" type="bool" overloaded="no"> | |
6503 | <autodoc>IsShown(PyObject item) -> bool</autodoc> | |
6504 | <paramlist> | |
6505 | <param name="item" type="PyObject" default=""/> | |
6506 | </paramlist> | |
6507 | </method> | |
6508 | <method name="ShowItems" type="" overloaded="no"> | |
6509 | <autodoc>ShowItems(bool show)</autodoc> | |
6510 | <paramlist> | |
6511 | <param name="show" type="bool" default=""/> | |
6512 | </paramlist> | |
6513 | </method> | |
6514 | </class> | |
6515 | <class name="PySizer" oldname="wxPySizer" module="core"> | |
6516 | <baseclass name="Sizer"/> | |
6517 | <constructor name="PySizer" overloaded="no"> | |
6518 | <autodoc>__init__() -> PySizer</autodoc> | |
6519 | </constructor> | |
6520 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
6521 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
6522 | <paramlist> | |
6523 | <param name="self" type="PyObject" default=""/> | |
6524 | <param name="_class" type="PyObject" default=""/> | |
6525 | </paramlist> | |
6526 | </method> | |
6527 | </class> | |
0dd25e81 | 6528 | <pythoncode> |
0f43fbdf RD |
6529 | #--------------------------------------------------------------------------- |
6530 | </pythoncode> | |
f32fc4bc RD |
6531 | <class name="BoxSizer" oldname="wxBoxSizer" module="core"> |
6532 | <baseclass name="Sizer"/> | |
6533 | <constructor name="BoxSizer" overloaded="no"> | |
6534 | <autodoc>__init__(int orient=HORIZONTAL) -> BoxSizer</autodoc> | |
6535 | <paramlist> | |
6536 | <param name="orient" type="int" default="wxHORIZONTAL"/> | |
6537 | </paramlist> | |
6538 | </constructor> | |
6539 | <method name="GetOrientation" type="int" overloaded="no"> | |
6540 | <autodoc>GetOrientation() -> int</autodoc> | |
6541 | </method> | |
6542 | <method name="SetOrientation" type="" overloaded="no"> | |
6543 | <autodoc>SetOrientation(int orient)</autodoc> | |
6544 | <paramlist> | |
6545 | <param name="orient" type="int" default=""/> | |
6546 | </paramlist> | |
6547 | </method> | |
6548 | <method name="RecalcSizes" type="" overloaded="no"> | |
6549 | <autodoc>RecalcSizes()</autodoc> | |
6550 | </method> | |
6551 | <method name="CalcMin" type="Size" overloaded="no"> | |
6552 | <autodoc>CalcMin() -> Size</autodoc> | |
6553 | </method> | |
6554 | </class> | |
6555 | <pythoncode> | |
0f43fbdf RD |
6556 | #--------------------------------------------------------------------------- |
6557 | </pythoncode> | |
f32fc4bc RD |
6558 | <class name="StaticBoxSizer" oldname="wxStaticBoxSizer" module="core"> |
6559 | <baseclass name="BoxSizer"/> | |
6560 | <constructor name="StaticBoxSizer" overloaded="no"> | |
6561 | <autodoc>__init__(wxStaticBox box, int orient=HORIZONTAL) -> StaticBoxSizer</autodoc> | |
6562 | <paramlist> | |
6563 | <param name="box" type="wxStaticBox" default=""/> | |
6564 | <param name="orient" type="int" default="wxHORIZONTAL"/> | |
6565 | </paramlist> | |
6566 | </constructor> | |
6567 | <method name="GetStaticBox" type="wxStaticBox" overloaded="no"> | |
6568 | <autodoc>GetStaticBox() -> wxStaticBox</autodoc> | |
6569 | </method> | |
6570 | <method name="RecalcSizes" type="" overloaded="no"> | |
6571 | <autodoc>RecalcSizes()</autodoc> | |
6572 | </method> | |
6573 | <method name="CalcMin" type="Size" overloaded="no"> | |
6574 | <autodoc>CalcMin() -> Size</autodoc> | |
6575 | </method> | |
6576 | </class> | |
6577 | <pythoncode> | |
0f43fbdf RD |
6578 | #--------------------------------------------------------------------------- |
6579 | </pythoncode> | |
f32fc4bc RD |
6580 | <class name="GridSizer" oldname="wxGridSizer" module="core"> |
6581 | <baseclass name="Sizer"/> | |
6582 | <constructor name="GridSizer" overloaded="no"> | |
6583 | <autodoc>__init__(int rows=1, int cols=0, int vgap=0, int hgap=0) -> GridSizer</autodoc> | |
6584 | <paramlist> | |
6585 | <param name="rows" type="int" default="1"/> | |
6586 | <param name="cols" type="int" default="0"/> | |
6587 | <param name="vgap" type="int" default="0"/> | |
6588 | <param name="hgap" type="int" default="0"/> | |
6589 | </paramlist> | |
6590 | </constructor> | |
6591 | <method name="RecalcSizes" type="" overloaded="no"> | |
6592 | <autodoc>RecalcSizes()</autodoc> | |
6593 | </method> | |
6594 | <method name="CalcMin" type="Size" overloaded="no"> | |
6595 | <autodoc>CalcMin() -> Size</autodoc> | |
6596 | </method> | |
6597 | <method name="SetCols" type="" overloaded="no"> | |
6598 | <autodoc>SetCols(int cols)</autodoc> | |
6599 | <paramlist> | |
6600 | <param name="cols" type="int" default=""/> | |
6601 | </paramlist> | |
6602 | </method> | |
6603 | <method name="SetRows" type="" overloaded="no"> | |
6604 | <autodoc>SetRows(int rows)</autodoc> | |
6605 | <paramlist> | |
6606 | <param name="rows" type="int" default=""/> | |
6607 | </paramlist> | |
6608 | </method> | |
6609 | <method name="SetVGap" type="" overloaded="no"> | |
6610 | <autodoc>SetVGap(int gap)</autodoc> | |
6611 | <paramlist> | |
6612 | <param name="gap" type="int" default=""/> | |
6613 | </paramlist> | |
6614 | </method> | |
6615 | <method name="SetHGap" type="" overloaded="no"> | |
6616 | <autodoc>SetHGap(int gap)</autodoc> | |
6617 | <paramlist> | |
6618 | <param name="gap" type="int" default=""/> | |
6619 | </paramlist> | |
6620 | </method> | |
6621 | <method name="GetCols" type="int" overloaded="no"> | |
6622 | <autodoc>GetCols() -> int</autodoc> | |
6623 | </method> | |
6624 | <method name="GetRows" type="int" overloaded="no"> | |
6625 | <autodoc>GetRows() -> int</autodoc> | |
6626 | </method> | |
6627 | <method name="GetVGap" type="int" overloaded="no"> | |
6628 | <autodoc>GetVGap() -> int</autodoc> | |
6629 | </method> | |
6630 | <method name="GetHGap" type="int" overloaded="no"> | |
6631 | <autodoc>GetHGap() -> int</autodoc> | |
6632 | </method> | |
6633 | </class> | |
6634 | <pythoncode> | |
0f43fbdf RD |
6635 | #--------------------------------------------------------------------------- |
6636 | </pythoncode> | |
f32fc4bc RD |
6637 | <class name="FlexGridSizer" oldname="wxFlexGridSizer" module="core"> |
6638 | <baseclass name="GridSizer"/> | |
6639 | <constructor name="FlexGridSizer" overloaded="no"> | |
6640 | <autodoc>__init__(int rows=1, int cols=0, int vgap=0, int hgap=0) -> FlexGridSizer</autodoc> | |
6641 | <paramlist> | |
6642 | <param name="rows" type="int" default="1"/> | |
6643 | <param name="cols" type="int" default="0"/> | |
6644 | <param name="vgap" type="int" default="0"/> | |
6645 | <param name="hgap" type="int" default="0"/> | |
6646 | </paramlist> | |
6647 | </constructor> | |
6648 | <method name="RecalcSizes" type="" overloaded="no"> | |
6649 | <autodoc>RecalcSizes()</autodoc> | |
6650 | </method> | |
6651 | <method name="CalcMin" type="Size" overloaded="no"> | |
6652 | <autodoc>CalcMin() -> Size</autodoc> | |
6653 | </method> | |
6654 | <method name="AddGrowableRow" type="" overloaded="no"> | |
6655 | <autodoc>AddGrowableRow(size_t idx, int proportion=0)</autodoc> | |
6656 | <paramlist> | |
6657 | <param name="idx" type="size_t" default=""/> | |
6658 | <param name="proportion" type="int" default="0"/> | |
6659 | </paramlist> | |
6660 | </method> | |
6661 | <method name="RemoveGrowableRow" type="" overloaded="no"> | |
6662 | <autodoc>RemoveGrowableRow(size_t idx)</autodoc> | |
6663 | <paramlist> | |
6664 | <param name="idx" type="size_t" default=""/> | |
6665 | </paramlist> | |
6666 | </method> | |
6667 | <method name="AddGrowableCol" type="" overloaded="no"> | |
6668 | <autodoc>AddGrowableCol(size_t idx, int proportion=0)</autodoc> | |
6669 | <paramlist> | |
6670 | <param name="idx" type="size_t" default=""/> | |
6671 | <param name="proportion" type="int" default="0"/> | |
6672 | </paramlist> | |
6673 | </method> | |
6674 | <method name="RemoveGrowableCol" type="" overloaded="no"> | |
6675 | <autodoc>RemoveGrowableCol(size_t idx)</autodoc> | |
6676 | <paramlist> | |
6677 | <param name="idx" type="size_t" default=""/> | |
6678 | </paramlist> | |
6679 | </method> | |
6680 | <method name="SetFlexibleDirection" type="" overloaded="no"> | |
6681 | <autodoc>SetFlexibleDirection(int direction)</autodoc> | |
6682 | <paramlist> | |
6683 | <param name="direction" type="int" default=""/> | |
6684 | </paramlist> | |
6685 | </method> | |
6686 | <method name="GetFlexibleDirection" type="int" overloaded="no"> | |
6687 | <autodoc>GetFlexibleDirection() -> int</autodoc> | |
6688 | </method> | |
6689 | <method name="SetNonFlexibleGrowMode" type="" overloaded="no"> | |
6690 | <autodoc>SetNonFlexibleGrowMode(int mode)</autodoc> | |
6691 | <paramlist> | |
6692 | <param name="mode" type="wxFlexSizerGrowMode" default=""/> | |
6693 | </paramlist> | |
6694 | </method> | |
6695 | <method name="GetNonFlexibleGrowMode" type="wxFlexSizerGrowMode" overloaded="no"> | |
6696 | <autodoc>GetNonFlexibleGrowMode() -> int</autodoc> | |
6697 | </method> | |
6698 | <method name="GetRowHeights" type="wxArrayInt" overloaded="no"> | |
6699 | <autodoc>GetRowHeights() -> wxArrayInt</autodoc> | |
6700 | </method> | |
6701 | <method name="GetColWidths" type="wxArrayInt" overloaded="no"> | |
6702 | <autodoc>GetColWidths() -> wxArrayInt</autodoc> | |
6703 | </method> | |
6704 | </class> | |
6705 | <pythoncode> | |
0f43fbdf RD |
6706 | #--------------------------------------------------------------------------- |
6707 | </pythoncode> | |
f32fc4bc RD |
6708 | <class name="GBPosition" oldname="wxGBPosition" module="core"> |
6709 | <constructor name="GBPosition" overloaded="no"> | |
6710 | <autodoc>__init__(int row=0, int col=0) -> GBPosition</autodoc> | |
6711 | <paramlist> | |
6712 | <param name="row" type="int" default="0"/> | |
6713 | <param name="col" type="int" default="0"/> | |
6714 | </paramlist> | |
6715 | </constructor> | |
6716 | <method name="GetRow" type="int" overloaded="no"> | |
6717 | <autodoc>GetRow() -> int</autodoc> | |
6718 | </method> | |
6719 | <method name="GetCol" type="int" overloaded="no"> | |
6720 | <autodoc>GetCol() -> int</autodoc> | |
6721 | </method> | |
6722 | <method name="SetRow" type="" overloaded="no"> | |
6723 | <autodoc>SetRow(int row)</autodoc> | |
6724 | <paramlist> | |
6725 | <param name="row" type="int" default=""/> | |
6726 | </paramlist> | |
6727 | </method> | |
6728 | <method name="SetCol" type="" overloaded="no"> | |
6729 | <autodoc>SetCol(int col)</autodoc> | |
6730 | <paramlist> | |
6731 | <param name="col" type="int" default=""/> | |
6732 | </paramlist> | |
6733 | </method> | |
6734 | <method name="__eq__" type="bool" overloaded="no"> | |
c2dda882 | 6735 | <autodoc>__eq__(GBPosition other) -> bool</autodoc> |
f32fc4bc | 6736 | <paramlist> |
c2dda882 | 6737 | <param name="other" type="GBPosition" default=""/> |
f32fc4bc RD |
6738 | </paramlist> |
6739 | </method> | |
6740 | <method name="__ne__" type="bool" overloaded="no"> | |
c2dda882 | 6741 | <autodoc>__ne__(GBPosition other) -> bool</autodoc> |
f32fc4bc | 6742 | <paramlist> |
c2dda882 | 6743 | <param name="other" type="GBPosition" default=""/> |
f32fc4bc RD |
6744 | </paramlist> |
6745 | </method> | |
6746 | <method name="Set" type="" overloaded="no"> | |
6747 | <autodoc>Set(int row=0, int col=0)</autodoc> | |
6748 | <paramlist> | |
6749 | <param name="row" type="int" default="0"/> | |
6750 | <param name="col" type="int" default="0"/> | |
6751 | </paramlist> | |
6752 | </method> | |
6753 | <method name="Get" type="PyObject" overloaded="no"> | |
6754 | <autodoc>Get() -> PyObject</autodoc> | |
6755 | </method> | |
6756 | </class> | |
6757 | <class name="GBSpan" oldname="wxGBSpan" module="core"> | |
6758 | <constructor name="GBSpan" overloaded="no"> | |
6759 | <autodoc>__init__(int rowspan=1, int colspan=1) -> GBSpan</autodoc> | |
6760 | <paramlist> | |
6761 | <param name="rowspan" type="int" default="1"/> | |
6762 | <param name="colspan" type="int" default="1"/> | |
6763 | </paramlist> | |
6764 | </constructor> | |
6765 | <method name="GetRowspan" type="int" overloaded="no"> | |
6766 | <autodoc>GetRowspan() -> int</autodoc> | |
6767 | </method> | |
6768 | <method name="GetColspan" type="int" overloaded="no"> | |
6769 | <autodoc>GetColspan() -> int</autodoc> | |
6770 | </method> | |
6771 | <method name="SetRowspan" type="" overloaded="no"> | |
6772 | <autodoc>SetRowspan(int rowspan)</autodoc> | |
6773 | <paramlist> | |
6774 | <param name="rowspan" type="int" default=""/> | |
6775 | </paramlist> | |
6776 | </method> | |
6777 | <method name="SetColspan" type="" overloaded="no"> | |
6778 | <autodoc>SetColspan(int colspan)</autodoc> | |
6779 | <paramlist> | |
6780 | <param name="colspan" type="int" default=""/> | |
6781 | </paramlist> | |
6782 | </method> | |
6783 | <method name="__eq__" type="bool" overloaded="no"> | |
c2dda882 | 6784 | <autodoc>__eq__(GBSpan other) -> bool</autodoc> |
f32fc4bc | 6785 | <paramlist> |
c2dda882 | 6786 | <param name="other" type="GBSpan" default=""/> |
f32fc4bc RD |
6787 | </paramlist> |
6788 | </method> | |
6789 | <method name="__ne__" type="bool" overloaded="no"> | |
c2dda882 | 6790 | <autodoc>__ne__(GBSpan other) -> bool</autodoc> |
f32fc4bc | 6791 | <paramlist> |
c2dda882 | 6792 | <param name="other" type="GBSpan" default=""/> |
f32fc4bc RD |
6793 | </paramlist> |
6794 | </method> | |
6795 | <method name="Set" type="" overloaded="no"> | |
6796 | <autodoc>Set(int rowspan=1, int colspan=1)</autodoc> | |
6797 | <paramlist> | |
6798 | <param name="rowspan" type="int" default="1"/> | |
6799 | <param name="colspan" type="int" default="1"/> | |
6800 | </paramlist> | |
6801 | </method> | |
6802 | <method name="Get" type="PyObject" overloaded="no"> | |
6803 | <autodoc>Get() -> PyObject</autodoc> | |
6804 | </method> | |
6805 | </class> | |
6806 | <class name="GBSizerItem" oldname="wxGBSizerItem" module="core"> | |
6807 | <baseclass name="SizerItem"/> | |
6808 | <constructor name="GBSizerItem" overloaded="no"> | |
6809 | <autodoc>__init__() -> GBSizerItem</autodoc> | |
6810 | </constructor> | |
6811 | <constructor name="GBSizerItemWindow" overloaded="no"> | |
6812 | <autodoc>GBSizerItemWindow(Window window, GBPosition pos, GBSpan span, int flag, | |
0f43fbdf | 6813 | int border, Object userData) -> GBSizerItem</autodoc> |
f32fc4bc RD |
6814 | <paramlist> |
6815 | <param name="window" type="Window" default=""/> | |
6816 | <param name="pos" type="GBPosition" default=""/> | |
6817 | <param name="span" type="GBSpan" default=""/> | |
6818 | <param name="flag" type="int" default=""/> | |
6819 | <param name="border" type="int" default=""/> | |
6820 | <param name="userData" type="Object" default=""/> | |
6821 | </paramlist> | |
6822 | </constructor> | |
6823 | <constructor name="GBSizerItemSizer" overloaded="no"> | |
6824 | <autodoc>GBSizerItemSizer(Sizer sizer, GBPosition pos, GBSpan span, int flag, | |
0f43fbdf | 6825 | int border, Object userData) -> GBSizerItem</autodoc> |
f32fc4bc RD |
6826 | <paramlist> |
6827 | <param name="sizer" type="Sizer" default=""/> | |
6828 | <param name="pos" type="GBPosition" default=""/> | |
6829 | <param name="span" type="GBSpan" default=""/> | |
6830 | <param name="flag" type="int" default=""/> | |
6831 | <param name="border" type="int" default=""/> | |
6832 | <param name="userData" type="Object" default=""/> | |
6833 | </paramlist> | |
6834 | </constructor> | |
6835 | <constructor name="GBSizerItemSpacer" overloaded="no"> | |
6836 | <autodoc>GBSizerItemSpacer(int width, int height, GBPosition pos, GBSpan span, | |
0f43fbdf | 6837 | int flag, int border, Object userData) -> GBSizerItem</autodoc> |
f32fc4bc RD |
6838 | <paramlist> |
6839 | <param name="width" type="int" default=""/> | |
6840 | <param name="height" type="int" default=""/> | |
6841 | <param name="pos" type="GBPosition" default=""/> | |
6842 | <param name="span" type="GBSpan" default=""/> | |
6843 | <param name="flag" type="int" default=""/> | |
6844 | <param name="border" type="int" default=""/> | |
6845 | <param name="userData" type="Object" default=""/> | |
6846 | </paramlist> | |
6847 | </constructor> | |
6848 | <method name="GetPos" type="GBPosition" overloaded="no"> | |
6849 | <autodoc>GetPos() -> GBPosition</autodoc> | |
6850 | </method> | |
6851 | <method name="GetSpan" type="GBSpan" overloaded="no"> | |
6852 | <autodoc>GetSpan() -> GBSpan</autodoc> | |
6853 | </method> | |
6854 | <method name="SetPos" type="bool" overloaded="no"> | |
6855 | <autodoc>SetPos(GBPosition pos) -> bool</autodoc> | |
6856 | <paramlist> | |
6857 | <param name="pos" type="GBPosition" default=""/> | |
6858 | </paramlist> | |
6859 | </method> | |
6860 | <method name="SetSpan" type="bool" overloaded="no"> | |
6861 | <autodoc>SetSpan(GBSpan span) -> bool</autodoc> | |
6862 | <paramlist> | |
6863 | <param name="span" type="GBSpan" default=""/> | |
6864 | </paramlist> | |
6865 | </method> | |
6866 | <method name="Intersects" type="bool" overloaded="yes"> | |
6867 | <paramlist> | |
6868 | <param name="other" type="GBSizerItem" default=""/> | |
6869 | </paramlist> | |
6870 | </method> | |
6871 | <method name="Intersects" type="bool" overloaded="yes"> | |
6872 | <autodoc>Intersects(GBSizerItem other) -> bool | |
0f43fbdf | 6873 | Intersects(GBPosition pos, GBSpan span) -> bool</autodoc> |
f32fc4bc RD |
6874 | <paramlist> |
6875 | <param name="pos" type="GBPosition" default=""/> | |
6876 | <param name="span" type="GBSpan" default=""/> | |
6877 | </paramlist> | |
6878 | </method> | |
6879 | <method name="GetEndPos" type="" overloaded="no"> | |
6880 | <autodoc>GetEndPos(int row, int col)</autodoc> | |
6881 | <paramlist> | |
6882 | <param name="row" type="int" default=""/> | |
6883 | <param name="col" type="int" default=""/> | |
6884 | </paramlist> | |
6885 | </method> | |
6886 | <method name="GetGBSizer" type="wxGridBagSizer" overloaded="no"> | |
6887 | <autodoc>GetGBSizer() -> GridBagSizer</autodoc> | |
6888 | </method> | |
6889 | <method name="SetGBSizer" type="" overloaded="no"> | |
6890 | <autodoc>SetGBSizer(GridBagSizer sizer)</autodoc> | |
6891 | <paramlist> | |
6892 | <param name="sizer" type="wxGridBagSizer" default=""/> | |
6893 | </paramlist> | |
6894 | </method> | |
6895 | </class> | |
6896 | <class name="GridBagSizer" oldname="wxGridBagSizer" module="core"> | |
6897 | <baseclass name="FlexGridSizer"/> | |
6898 | <constructor name="GridBagSizer" overloaded="no"> | |
6899 | <autodoc>__init__(int vgap=0, int hgap=0) -> GridBagSizer</autodoc> | |
6900 | <paramlist> | |
6901 | <param name="vgap" type="int" default="0"/> | |
6902 | <param name="hgap" type="int" default="0"/> | |
6903 | </paramlist> | |
6904 | </constructor> | |
6905 | <method name="Add" type="bool" overloaded="no"> | |
6906 | <autodoc>Add(PyObject item, GBPosition pos, GBSpan span=DefaultSpan, | |
0f43fbdf | 6907 | int flag=0, int border=0, PyObject userData=None) -> bool</autodoc> |
f32fc4bc RD |
6908 | <paramlist> |
6909 | <param name="item" type="PyObject" default=""/> | |
6910 | <param name="pos" type="GBPosition" default=""/> | |
6911 | <param name="span" type="GBSpan" default="wxDefaultSpan"/> | |
6912 | <param name="flag" type="int" default="0"/> | |
6913 | <param name="border" type="int" default="0"/> | |
6914 | <param name="userData" type="PyObject" default="NULL"/> | |
6915 | </paramlist> | |
6916 | </method> | |
6917 | <method name="AddItem" type="bool" overloaded="no"> | |
6918 | <autodoc>AddItem(GBSizerItem item) -> bool</autodoc> | |
6919 | <paramlist> | |
6920 | <param name="item" type="GBSizerItem" default=""/> | |
6921 | </paramlist> | |
6922 | </method> | |
6923 | <method name="GetEmptyCellSize" type="Size" overloaded="no"> | |
6924 | <autodoc>GetEmptyCellSize() -> Size</autodoc> | |
6925 | </method> | |
6926 | <method name="SetEmptyCellSize" type="" overloaded="no"> | |
6927 | <autodoc>SetEmptyCellSize(Size sz)</autodoc> | |
6928 | <paramlist> | |
6929 | <param name="sz" type="Size" default=""/> | |
6930 | </paramlist> | |
6931 | </method> | |
6932 | <method name="GetItemPosition" type="GBPosition" overloaded="yes"> | |
6933 | <paramlist> | |
6934 | <param name="window" type="Window" default=""/> | |
6935 | </paramlist> | |
6936 | </method> | |
6937 | <method name="GetItemPosition" type="GBPosition" overloaded="yes"> | |
6938 | <paramlist> | |
6939 | <param name="sizer" type="Sizer" default=""/> | |
6940 | </paramlist> | |
6941 | </method> | |
6942 | <method name="GetItemPosition" type="GBPosition" overloaded="yes"> | |
6943 | <autodoc>GetItemPosition(Window window) -> GBPosition | |
0f43fbdf RD |
6944 | GetItemPosition(Sizer sizer) -> GBPosition |
6945 | GetItemPosition(size_t index) -> GBPosition</autodoc> | |
f32fc4bc RD |
6946 | <paramlist> |
6947 | <param name="index" type="size_t" default=""/> | |
6948 | </paramlist> | |
6949 | </method> | |
6950 | <method name="SetItemPosition" type="bool" overloaded="yes"> | |
6951 | <paramlist> | |
6952 | <param name="window" type="Window" default=""/> | |
6953 | <param name="pos" type="GBPosition" default=""/> | |
6954 | </paramlist> | |
6955 | </method> | |
6956 | <method name="SetItemPosition" type="bool" overloaded="yes"> | |
6957 | <paramlist> | |
6958 | <param name="sizer" type="Sizer" default=""/> | |
6959 | <param name="pos" type="GBPosition" default=""/> | |
6960 | </paramlist> | |
6961 | </method> | |
6962 | <method name="SetItemPosition" type="bool" overloaded="yes"> | |
6963 | <autodoc>SetItemPosition(Window window, GBPosition pos) -> bool | |
0f43fbdf RD |
6964 | SetItemPosition(Sizer sizer, GBPosition pos) -> bool |
6965 | SetItemPosition(size_t index, GBPosition pos) -> bool</autodoc> | |
f32fc4bc RD |
6966 | <paramlist> |
6967 | <param name="index" type="size_t" default=""/> | |
6968 | <param name="pos" type="GBPosition" default=""/> | |
6969 | </paramlist> | |
6970 | </method> | |
6971 | <method name="GetItemSpan" type="GBSpan" overloaded="yes"> | |
6972 | <paramlist> | |
6973 | <param name="window" type="Window" default=""/> | |
6974 | </paramlist> | |
6975 | </method> | |
6976 | <method name="GetItemSpan" type="GBSpan" overloaded="yes"> | |
6977 | <paramlist> | |
6978 | <param name="sizer" type="Sizer" default=""/> | |
6979 | </paramlist> | |
6980 | </method> | |
6981 | <method name="GetItemSpan" type="GBSpan" overloaded="yes"> | |
6982 | <autodoc>GetItemSpan(Window window) -> GBSpan | |
0f43fbdf RD |
6983 | GetItemSpan(Sizer sizer) -> GBSpan |
6984 | GetItemSpan(size_t index) -> GBSpan</autodoc> | |
f32fc4bc RD |
6985 | <paramlist> |
6986 | <param name="index" type="size_t" default=""/> | |
6987 | </paramlist> | |
6988 | </method> | |
6989 | <method name="SetItemSpan" type="bool" overloaded="yes"> | |
6990 | <paramlist> | |
6991 | <param name="window" type="Window" default=""/> | |
6992 | <param name="span" type="GBSpan" default=""/> | |
6993 | </paramlist> | |
6994 | </method> | |
6995 | <method name="SetItemSpan" type="bool" overloaded="yes"> | |
6996 | <paramlist> | |
6997 | <param name="sizer" type="Sizer" default=""/> | |
6998 | <param name="span" type="GBSpan" default=""/> | |
6999 | </paramlist> | |
7000 | </method> | |
7001 | <method name="SetItemSpan" type="bool" overloaded="yes"> | |
7002 | <autodoc>SetItemSpan(Window window, GBSpan span) -> bool | |
0f43fbdf RD |
7003 | SetItemSpan(Sizer sizer, GBSpan span) -> bool |
7004 | SetItemSpan(size_t index, GBSpan span) -> bool</autodoc> | |
f32fc4bc RD |
7005 | <paramlist> |
7006 | <param name="index" type="size_t" default=""/> | |
7007 | <param name="span" type="GBSpan" default=""/> | |
7008 | </paramlist> | |
7009 | </method> | |
7010 | <method name="FindItem" type="GBSizerItem" overloaded="yes"> | |
7011 | <paramlist> | |
7012 | <param name="window" type="Window" default=""/> | |
7013 | </paramlist> | |
7014 | </method> | |
7015 | <method name="FindItem" type="GBSizerItem" overloaded="yes"> | |
7016 | <autodoc>FindItem(Window window) -> GBSizerItem | |
0f43fbdf | 7017 | FindItem(Sizer sizer) -> GBSizerItem</autodoc> |
f32fc4bc RD |
7018 | <paramlist> |
7019 | <param name="sizer" type="Sizer" default=""/> | |
7020 | </paramlist> | |
7021 | </method> | |
7022 | <method name="FindItemAtPosition" type="GBSizerItem" overloaded="no"> | |
7023 | <autodoc>FindItemAtPosition(GBPosition pos) -> GBSizerItem</autodoc> | |
7024 | <paramlist> | |
7025 | <param name="pos" type="GBPosition" default=""/> | |
7026 | </paramlist> | |
7027 | </method> | |
7028 | <method name="FindItemAtPoint" type="GBSizerItem" overloaded="no"> | |
7029 | <autodoc>FindItemAtPoint(Point pt) -> GBSizerItem</autodoc> | |
7030 | <paramlist> | |
7031 | <param name="pt" type="Point" default=""/> | |
7032 | </paramlist> | |
7033 | </method> | |
7034 | <method name="FindItemWithData" type="GBSizerItem" overloaded="no"> | |
7035 | <autodoc>FindItemWithData(Object userData) -> GBSizerItem</autodoc> | |
7036 | <paramlist> | |
7037 | <param name="userData" type="Object" default=""/> | |
7038 | </paramlist> | |
7039 | </method> | |
7040 | <method name="RecalcSizes" type="" overloaded="no"> | |
7041 | <autodoc>RecalcSizes()</autodoc> | |
7042 | </method> | |
7043 | <method name="CalcMin" type="Size" overloaded="no"> | |
7044 | <autodoc>CalcMin() -> Size</autodoc> | |
7045 | </method> | |
7046 | <method name="CheckForIntersection" type="bool" overloaded="yes"> | |
7047 | <paramlist> | |
7048 | <param name="item" type="GBSizerItem" default=""/> | |
7049 | <param name="excludeItem" type="GBSizerItem" default="NULL"/> | |
7050 | </paramlist> | |
7051 | </method> | |
7052 | <method name="CheckForIntersection" type="bool" overloaded="yes"> | |
7053 | <autodoc>CheckForIntersection(GBSizerItem item, GBSizerItem excludeItem=None) -> bool | |
0f43fbdf | 7054 | CheckForIntersection(GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) -> bool</autodoc> |
f32fc4bc RD |
7055 | <paramlist> |
7056 | <param name="pos" type="GBPosition" default=""/> | |
7057 | <param name="span" type="GBSpan" default=""/> | |
7058 | <param name="excludeItem" type="GBSizerItem" default="NULL"/> | |
7059 | </paramlist> | |
7060 | </method> | |
7061 | </class> | |
7062 | <pythoncode> | |
0f43fbdf RD |
7063 | #--------------------------------------------------------------------------- |
7064 | </pythoncode> | |
f32fc4bc | 7065 | <class name="IndividualLayoutConstraint" oldname="wxIndividualLayoutConstraint" module="core"> |
c2dda882 RD |
7066 | <docstring>Objects of this class are stored in the wx.LayoutConstraint class as one of |
7067 | eight possible constraints that a window can be involved in. You will never | |
7068 | need to create an instance of wx.IndividualLayoutConstraint, rather you should | |
7069 | use create a wx.LayoutContstraints instance and use the individual contstraints | |
7070 | that it contains. | |
7071 | ||
7072 | Constraints are initially set to have the relationship wx.Unconstrained, which | |
7073 | means that their values should be calculated by looking at known constraints. | |
7074 | ||
7075 | The Edge specifies the type of edge or dimension of a window. | |
7076 | ||
7077 | Edges | |
7078 | ||
7079 | wx.Left The left edge. | |
7080 | wx.Top The top edge. | |
7081 | wx.Right The right edge. | |
7082 | wx.Bottom The bottom edge. | |
7083 | wx.CentreX The x-coordinate of the centre of the window. | |
7084 | wx.CentreY The y-coordinate of the centre of the window. | |
7085 | ||
7086 | ||
7087 | The Relationship specifies the relationship that this edge or dimension has | |
7088 | with another specified edge or dimension. Normally, the user doesn't use these | |
7089 | directly because functions such as Below and RightOf are a convenience for | |
7090 | using the more general Set function. | |
7091 | ||
7092 | Relationships | |
7093 | ||
7094 | wx.Unconstrained The edge or dimension is unconstrained | |
7095 | (the default for edges.) | |
7096 | wx.AsIs The edge or dimension is to be taken from the current | |
7097 | window position or size (the default for dimensions.) | |
7098 | wx.Above The edge should be above another edge. | |
7099 | wx.Below The edge should be below another edge. | |
7100 | wx.LeftOf The edge should be to the left of another edge. | |
7101 | wx.RightOf The edge should be to the right of another edge. | |
7102 | wx.SameAs The edge or dimension should be the same as another edge | |
7103 | or dimension. | |
7104 | wx.PercentOf The edge or dimension should be a percentage of another | |
7105 | edge or dimension. | |
7106 | wx.Absolute The edge or dimension should be a given absolute value. | |
7107 | ||
7108 | </docstring> | |
f32fc4bc RD |
7109 | <baseclass name="Object"/> |
7110 | <method name="Set" type="" overloaded="no"> | |
7111 | <autodoc>Set(int rel, Window otherW, int otherE, int val=0, int marg=wxLAYOUT_DEFAULT_MARGIN)</autodoc> | |
7112 | <paramlist> | |
7113 | <param name="rel" type="wxRelationship" default=""/> | |
7114 | <param name="otherW" type="Window" default=""/> | |
7115 | <param name="otherE" type="wxEdge" default=""/> | |
7116 | <param name="val" type="int" default="0"/> | |
7117 | <param name="marg" type="int" default="wxLAYOUT_DEFAULT_MARGIN"/> | |
7118 | </paramlist> | |
7119 | </method> | |
7120 | <method name="LeftOf" type="" overloaded="no"> | |
7121 | <autodoc>LeftOf(Window sibling, int marg=0)</autodoc> | |
c2dda882 | 7122 | <docstring>Sibling relationship</docstring> |
f32fc4bc RD |
7123 | <paramlist> |
7124 | <param name="sibling" type="Window" default=""/> | |
7125 | <param name="marg" type="int" default="0"/> | |
7126 | </paramlist> | |
7127 | </method> | |
7128 | <method name="RightOf" type="" overloaded="no"> | |
7129 | <autodoc>RightOf(Window sibling, int marg=0)</autodoc> | |
c2dda882 | 7130 | <docstring>Sibling relationship</docstring> |
f32fc4bc RD |
7131 | <paramlist> |
7132 | <param name="sibling" type="Window" default=""/> | |
7133 | <param name="marg" type="int" default="0"/> | |
7134 | </paramlist> | |
7135 | </method> | |
7136 | <method name="Above" type="" overloaded="no"> | |
7137 | <autodoc>Above(Window sibling, int marg=0)</autodoc> | |
c2dda882 | 7138 | <docstring>Sibling relationship</docstring> |
f32fc4bc RD |
7139 | <paramlist> |
7140 | <param name="sibling" type="Window" default=""/> | |
7141 | <param name="marg" type="int" default="0"/> | |
7142 | </paramlist> | |
7143 | </method> | |
7144 | <method name="Below" type="" overloaded="no"> | |
7145 | <autodoc>Below(Window sibling, int marg=0)</autodoc> | |
c2dda882 | 7146 | <docstring>Sibling relationship</docstring> |
f32fc4bc RD |
7147 | <paramlist> |
7148 | <param name="sibling" type="Window" default=""/> | |
7149 | <param name="marg" type="int" default="0"/> | |
7150 | </paramlist> | |
7151 | </method> | |
7152 | <method name="SameAs" type="" overloaded="no"> | |
7153 | <autodoc>SameAs(Window otherW, int edge, int marg=0)</autodoc> | |
c2dda882 | 7154 | <docstring>'Same edge' alignment</docstring> |
f32fc4bc RD |
7155 | <paramlist> |
7156 | <param name="otherW" type="Window" default=""/> | |
7157 | <param name="edge" type="wxEdge" default=""/> | |
7158 | <param name="marg" type="int" default="0"/> | |
7159 | </paramlist> | |
7160 | </method> | |
7161 | <method name="PercentOf" type="" overloaded="no"> | |
7162 | <autodoc>PercentOf(Window otherW, int wh, int per)</autodoc> | |
c2dda882 | 7163 | <docstring>The edge is a percentage of the other window's edge</docstring> |
f32fc4bc RD |
7164 | <paramlist> |
7165 | <param name="otherW" type="Window" default=""/> | |
7166 | <param name="wh" type="wxEdge" default=""/> | |
7167 | <param name="per" type="int" default=""/> | |
7168 | </paramlist> | |
7169 | </method> | |
7170 | <method name="Absolute" type="" overloaded="no"> | |
7171 | <autodoc>Absolute(int val)</autodoc> | |
c2dda882 | 7172 | <docstring>Edge has absolute value</docstring> |
f32fc4bc RD |
7173 | <paramlist> |
7174 | <param name="val" type="int" default=""/> | |
7175 | </paramlist> | |
7176 | </method> | |
7177 | <method name="Unconstrained" type="" overloaded="no"> | |
7178 | <autodoc>Unconstrained()</autodoc> | |
c2dda882 | 7179 | <docstring>Dimension is unconstrained</docstring> |
f32fc4bc RD |
7180 | </method> |
7181 | <method name="AsIs" type="" overloaded="no"> | |
7182 | <autodoc>AsIs()</autodoc> | |
c2dda882 | 7183 | <docstring>Dimension is 'as is' (use current size settings)</docstring> |
f32fc4bc RD |
7184 | </method> |
7185 | <method name="GetOtherWindow" type="Window" overloaded="no"> | |
7186 | <autodoc>GetOtherWindow() -> Window</autodoc> | |
7187 | </method> | |
7188 | <method name="GetMyEdge" type="wxEdge" overloaded="no"> | |
7189 | <autodoc>GetMyEdge() -> int</autodoc> | |
7190 | </method> | |
7191 | <method name="SetEdge" type="" overloaded="no"> | |
7192 | <autodoc>SetEdge(int which)</autodoc> | |
7193 | <paramlist> | |
7194 | <param name="which" type="wxEdge" default=""/> | |
7195 | </paramlist> | |
7196 | </method> | |
7197 | <method name="SetValue" type="" overloaded="no"> | |
7198 | <autodoc>SetValue(int v)</autodoc> | |
7199 | <paramlist> | |
7200 | <param name="v" type="int" default=""/> | |
7201 | </paramlist> | |
7202 | </method> | |
7203 | <method name="GetMargin" type="int" overloaded="no"> | |
7204 | <autodoc>GetMargin() -> int</autodoc> | |
7205 | </method> | |
7206 | <method name="SetMargin" type="" overloaded="no"> | |
7207 | <autodoc>SetMargin(int m)</autodoc> | |
7208 | <paramlist> | |
7209 | <param name="m" type="int" default=""/> | |
7210 | </paramlist> | |
7211 | </method> | |
7212 | <method name="GetValue" type="int" overloaded="no"> | |
7213 | <autodoc>GetValue() -> int</autodoc> | |
7214 | </method> | |
7215 | <method name="GetPercent" type="int" overloaded="no"> | |
7216 | <autodoc>GetPercent() -> int</autodoc> | |
7217 | </method> | |
7218 | <method name="GetOtherEdge" type="int" overloaded="no"> | |
7219 | <autodoc>GetOtherEdge() -> int</autodoc> | |
7220 | </method> | |
7221 | <method name="GetDone" type="bool" overloaded="no"> | |
7222 | <autodoc>GetDone() -> bool</autodoc> | |
7223 | </method> | |
7224 | <method name="SetDone" type="" overloaded="no"> | |
7225 | <autodoc>SetDone(bool d)</autodoc> | |
7226 | <paramlist> | |
7227 | <param name="d" type="bool" default=""/> | |
7228 | </paramlist> | |
7229 | </method> | |
7230 | <method name="GetRelationship" type="wxRelationship" overloaded="no"> | |
7231 | <autodoc>GetRelationship() -> int</autodoc> | |
7232 | </method> | |
7233 | <method name="SetRelationship" type="" overloaded="no"> | |
7234 | <autodoc>SetRelationship(int r)</autodoc> | |
7235 | <paramlist> | |
7236 | <param name="r" type="wxRelationship" default=""/> | |
7237 | </paramlist> | |
7238 | </method> | |
7239 | <method name="ResetIfWin" type="bool" overloaded="no"> | |
7240 | <autodoc>ResetIfWin(Window otherW) -> bool</autodoc> | |
c2dda882 | 7241 | <docstring>Reset constraint if it mentions otherWin</docstring> |
f32fc4bc RD |
7242 | <paramlist> |
7243 | <param name="otherW" type="Window" default=""/> | |
7244 | </paramlist> | |
7245 | </method> | |
7246 | <method name="SatisfyConstraint" type="bool" overloaded="no"> | |
7247 | <autodoc>SatisfyConstraint(LayoutConstraints constraints, Window win) -> bool</autodoc> | |
c2dda882 | 7248 | <docstring>Try to satisfy constraint</docstring> |
f32fc4bc RD |
7249 | <paramlist> |
7250 | <param name="constraints" type="wxLayoutConstraints" default=""/> | |
7251 | <param name="win" type="Window" default=""/> | |
7252 | </paramlist> | |
7253 | </method> | |
7254 | <method name="GetEdge" type="int" overloaded="no"> | |
7255 | <autodoc>GetEdge(int which, Window thisWin, Window other) -> int</autodoc> | |
c2dda882 RD |
7256 | <docstring>Get the value of this edge or dimension, or if this |
7257 | is not determinable, -1.</docstring> | |
f32fc4bc RD |
7258 | <paramlist> |
7259 | <param name="which" type="wxEdge" default=""/> | |
7260 | <param name="thisWin" type="Window" default=""/> | |
7261 | <param name="other" type="Window" default=""/> | |
7262 | </paramlist> | |
7263 | </method> | |
7264 | </class> | |
7265 | <class name="LayoutConstraints" oldname="wxLayoutConstraints" module="core"> | |
c2dda882 RD |
7266 | <docstring>Note: constraints are now deprecated and you should use sizers instead. |
7267 | ||
7268 | Objects of this class can be associated with a window to define its layout | |
7269 | constraints, with respect to siblings or its parent. | |
7270 | ||
7271 | The class consists of the following eight constraints of class | |
7272 | wx.IndividualLayoutConstraint, some or all of which should be accessed | |
7273 | directly to set the appropriate constraints. | |
7274 | ||
7275 | * left: represents the left hand edge of the window | |
7276 | * right: represents the right hand edge of the window | |
7277 | * top: represents the top edge of the window | |
7278 | * bottom: represents the bottom edge of the window | |
7279 | * width: represents the width of the window | |
7280 | * height: represents the height of the window | |
7281 | * centreX: represents the horizontal centre point of the window | |
7282 | * centreY: represents the vertical centre point of the window | |
7283 | ||
7284 | Most constraints are initially set to have the relationship wxUnconstrained, | |
7285 | which means that their values should be calculated by looking at known | |
7286 | constraints. The exceptions are width and height, which are set to wxAsIs to | |
7287 | ensure that if the user does not specify a constraint, the existing width and | |
7288 | height will be used, to be compatible with panel items which often have take a | |
7289 | default size. If the constraint is wxAsIs, the dimension will not be changed. | |
7290 | </docstring> | |
f32fc4bc RD |
7291 | <baseclass name="Object"/> |
7292 | <constructor name="LayoutConstraints" overloaded="no"> | |
7293 | <autodoc>__init__() -> LayoutConstraints</autodoc> | |
7294 | </constructor> | |
7295 | <property name="left" type="IndividualLayoutConstraint" readonly="yes"/> | |
7296 | <property name="top" type="IndividualLayoutConstraint" readonly="yes"/> | |
7297 | <property name="right" type="IndividualLayoutConstraint" readonly="yes"/> | |
7298 | <property name="bottom" type="IndividualLayoutConstraint" readonly="yes"/> | |
7299 | <property name="width" type="IndividualLayoutConstraint" readonly="yes"/> | |
7300 | <property name="height" type="IndividualLayoutConstraint" readonly="yes"/> | |
7301 | <property name="centreX" type="IndividualLayoutConstraint" readonly="yes"/> | |
7302 | <property name="centreY" type="IndividualLayoutConstraint" readonly="yes"/> | |
7303 | <method name="SatisfyConstraints" type="bool" overloaded="no"> | |
7304 | <autodoc>SatisfyConstraints(Window win) -> (areSatisfied, noChanges)</autodoc> | |
7305 | <paramlist> | |
7306 | <param name="win" type="Window" default=""/> | |
7307 | <param name="OUTPUT" type="int" default=""/> | |
7308 | </paramlist> | |
7309 | </method> | |
7310 | <method name="AreSatisfied" type="bool" overloaded="no"> | |
7311 | <autodoc>AreSatisfied() -> bool</autodoc> | |
7312 | </method> | |
7313 | </class> | |
7314 | <pythoncode>#---------------------------------------------------------------------------- | |
0f43fbdf RD |
7315 | |
7316 | # Use Python's bool constants if available, make some if not | |
7317 | try: | |
7318 | True | |
7319 | except NameError: | |
7320 | __builtins__.True = 1==1 | |
7321 | __builtins__.False = 1==0 | |
368d20e8 RD |
7322 | def bool(value): return not not value |
7323 | __builtins__.bool = bool | |
0f43fbdf RD |
7324 | |
7325 | ||
7326 | ||
7327 | # workarounds for bad wxRTTI names | |
7328 | __wxPyPtrTypeMap['wxGauge95'] = 'wxGauge' | |
7329 | __wxPyPtrTypeMap['wxSlider95'] = 'wxSlider' | |
7330 | __wxPyPtrTypeMap['wxStatusBar95'] = 'wxStatusBar' | |
7331 | ||
7332 | ||
7333 | #---------------------------------------------------------------------------- | |
7334 | # Load version numbers from __version__... Ensure that major and minor | |
7335 | # versions are the same for both wxPython and wxWindows. | |
7336 | ||
7337 | from __version__ import * | |
7338 | __version__ = VERSION_STRING | |
7339 | ||
7340 | assert MAJOR_VERSION == _core.MAJOR_VERSION, "wxPython/wxWindows version mismatch" | |
7341 | assert MINOR_VERSION == _core.MINOR_VERSION, "wxPython/wxWindows version mismatch" | |
7342 | if RELEASE_VERSION != _core.RELEASE_VERSION: | |
7343 | import warnings | |
7344 | warnings.warn("wxPython/wxWindows release number mismatch") | |
7345 | ||
7346 | #---------------------------------------------------------------------------- | |
7347 | ||
7348 | class PyDeadObjectError(AttributeError): | |
7349 | pass | |
7350 | ||
7351 | class _wxPyDeadObject(object): | |
7352 | """ | |
7353 | Instances of wx objects that are OOR capable will have their __class__ | |
7354 | changed to this class when the C++ object is deleted. This should help | |
7355 | prevent crashes due to referencing a bogus C++ pointer. | |
7356 | """ | |
7357 | reprStr = "wxPython wrapper for DELETED %s object! (The C++ object no longer exists.)" | |
7358 | attrStr = "The C++ part of the %s object has been deleted, attribute access no longer allowed." | |
7359 | ||
7360 | def __repr__(self): | |
7361 | if not hasattr(self, "_name"): | |
7362 | self._name = "[unknown]" | |
7363 | return self.reprStr % self._name | |
7364 | ||
7365 | def __getattr__(self, *args): | |
7366 | if not hasattr(self, "_name"): | |
7367 | self._name = "[unknown]" | |
7368 | raise PyDeadObjectError(self.attrStr % self._name) | |
7369 | ||
7370 | def __nonzero__(self): | |
7371 | return 0 | |
7372 | ||
7373 | ||
7374 | ||
7375 | class PyUnbornObjectError(AttributeError): | |
7376 | pass | |
7377 | ||
7378 | class _wxPyUnbornObject(object): | |
7379 | """ | |
7380 | Some stock objects are created when the wx.core module is | |
7381 | imported, but their C++ instance is not created until the wx.App | |
7382 | object is created and initialized. These object instances will | |
7383 | temporarily have their __class__ changed to this class so an | |
7384 | exception will be raised if they are used before the C++ instance | |
7385 | is ready. | |
7386 | """ | |
7387 | ||
7388 | reprStr = "wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.)" | |
7389 | attrStr = "The C++ part of this object has not been initialized, attribute access not allowed." | |
7390 | ||
7391 | def __repr__(self): | |
7392 | #if not hasattr(self, "_name"): | |
7393 | # self._name = "[unknown]" | |
7394 | return self.reprStr #% self._name | |
7395 | ||
7396 | def __getattr__(self, *args): | |
7397 | #if not hasattr(self, "_name"): | |
7398 | # self._name = "[unknown]" | |
7399 | raise PyUnbornObjectError(self.attrStr) # % self._name ) | |
7400 | ||
7401 | def __nonzero__(self): | |
7402 | return 0 | |
7403 | ||
7404 | ||
7405 | #---------------------------------------------------------------------------- | |
7406 | _wxPyCallAfterId = None | |
7407 | ||
7408 | def CallAfter(callable, *args, **kw): | |
7409 | """ | |
7410 | Call the specified function after the current and pending event | |
7411 | handlers have been completed. This is also good for making GUI | |
7412 | method calls from non-GUI threads. | |
7413 | """ | |
7414 | app = wx.GetApp() | |
7415 | assert app, 'No wxApp created yet' | |
7416 | ||
7417 | global _wxPyCallAfterId | |
7418 | if _wxPyCallAfterId is None: | |
7419 | _wxPyCallAfterId = wx.NewEventType() | |
7420 | app.Connect(-1, -1, _wxPyCallAfterId, | |
7421 | lambda event: event.callable(*event.args, **event.kw) ) | |
7422 | evt = wx.PyEvent() | |
7423 | evt.SetEventType(_wxPyCallAfterId) | |
7424 | evt.callable = callable | |
7425 | evt.args = args | |
7426 | evt.kw = kw | |
7427 | wx.PostEvent(app, evt) | |
7428 | ||
7429 | ||
7430 | #---------------------------------------------------------------------------- | |
7431 | ||
7432 | ||
7433 | class FutureCall: | |
7434 | """ | |
b39e211b | 7435 | A convenience class for wx.Timer, that calls the given callable |
0f43fbdf RD |
7436 | object once after the given amount of milliseconds, passing any |
7437 | positional or keyword args. The return value of the callable is | |
7438 | availbale after it has been run with the GetResult method. | |
7439 | ||
7440 | If you don't need to get the return value or restart the timer | |
7441 | then there is no need to hold a reference to this object. It will | |
7442 | hold a reference to itself while the timer is running (the timer | |
7443 | has a reference to self.Notify) but the cycle will be broken when | |
7444 | the timer completes, automatically cleaning up the wx.FutureCall | |
7445 | object. | |
7446 | """ | |
7447 | def __init__(self, millis, callable, *args, **kwargs): | |
7448 | self.millis = millis | |
7449 | self.callable = callable | |
7450 | self.SetArgs(*args, **kwargs) | |
7451 | self.runCount = 0 | |
b39e211b | 7452 | self.running = False |
0f43fbdf RD |
7453 | self.hasRun = False |
7454 | self.result = None | |
7455 | self.timer = None | |
7456 | self.Start() | |
7457 | ||
7458 | def __del__(self): | |
7459 | self.Stop() | |
7460 | ||
7461 | ||
7462 | def Start(self, millis=None, *args, **kwargs): | |
7463 | """ | |
7464 | (Re)start the timer | |
7465 | """ | |
7466 | self.hasRun = False | |
7467 | if millis is not None: | |
7468 | self.millis = millis | |
7469 | if args or kwargs: | |
7470 | self.SetArgs(*args, **kwargs) | |
7471 | self.Stop() | |
7472 | self.timer = wx.PyTimer(self.Notify) | |
7473 | self.timer.Start(self.millis, wx.TIMER_ONE_SHOT) | |
b39e211b | 7474 | self.running = True |
0f43fbdf RD |
7475 | Restart = Start |
7476 | ||
7477 | ||
7478 | def Stop(self): | |
7479 | """ | |
7480 | Stop and destroy the timer. | |
7481 | """ | |
7482 | if self.timer is not None: | |
7483 | self.timer.Stop() | |
7484 | self.timer = None | |
7485 | ||
7486 | ||
7487 | def GetInterval(self): | |
7488 | if self.timer is not None: | |
7489 | return self.timer.GetInterval() | |
7490 | else: | |
7491 | return 0 | |
7492 | ||
7493 | ||
7494 | def IsRunning(self): | |
7495 | return self.timer is not None and self.timer.IsRunning() | |
7496 | ||
7497 | ||
7498 | def SetArgs(self, *args, **kwargs): | |
7499 | """ | |
7500 | (Re)set the args passed to the callable object. This is | |
7501 | useful in conjunction with Restart if you want to schedule a | |
7502 | new call to the same callable object but with different | |
7503 | parameters. | |
7504 | """ | |
7505 | self.args = args | |
7506 | self.kwargs = kwargs | |
7507 | ||
7508 | ||
7509 | def HasRun(self): | |
7510 | return self.hasRun | |
7511 | ||
7512 | def GetResult(self): | |
7513 | return self.result | |
7514 | ||
7515 | def Notify(self): | |
7516 | """ | |
7517 | The timer has expired so call the callable. | |
7518 | """ | |
7519 | if self.callable and getattr(self.callable, 'im_self', True): | |
7520 | self.runCount += 1 | |
b39e211b | 7521 | self.running = False |
0f43fbdf RD |
7522 | self.result = self.callable(*self.args, **self.kwargs) |
7523 | self.hasRun = True | |
b39e211b RD |
7524 | if not self.running: |
7525 | # if it wasn't restarted, then cleanup | |
7526 | wx.CallAfter(self.Stop) | |
0f43fbdf RD |
7527 | |
7528 | ||
7529 | #---------------------------------------------------------------------------- | |
7530 | #---------------------------------------------------------------------------- | |
7531 | ||
7532 | # Import other modules in this package that should show up in the | |
7533 | # "core" wx namespace | |
7534 | from gdi import * | |
7535 | from windows import * | |
7536 | from controls import * | |
7537 | from misc import * | |
7538 | ||
7539 | ||
7540 | # Fixup the stock objects since they can't be used yet. (They will be | |
7541 | # restored in wx.PyApp.OnInit.) | |
7542 | _core._wxPyFixStockObjects() | |
7543 | ||
7544 | #---------------------------------------------------------------------------- | |
7545 | #---------------------------------------------------------------------------- | |
7546 | </pythoncode> | |
f32fc4bc RD |
7547 | </module> |
7548 | <module name="gdi"> | |
7549 | <import name="core"/> | |
7550 | <pythoncode> wx = core </pythoncode> | |
7551 | <pythoncode> | |
856bf319 RD |
7552 | #--------------------------------------------------------------------------- |
7553 | </pythoncode> | |
f32fc4bc RD |
7554 | <class name="GDIObject" oldname="wxGDIObject" module="gdi"> |
7555 | <baseclass name="Object"/> | |
7556 | <constructor name="GDIObject" overloaded="no"> | |
7557 | <autodoc>__init__() -> GDIObject</autodoc> | |
7558 | </constructor> | |
7559 | <destructor name="~wxGDIObject" overloaded="no"> | |
7560 | <autodoc>__del__()</autodoc> | |
7561 | </destructor> | |
7562 | <method name="GetVisible" type="bool" overloaded="no"> | |
7563 | <autodoc>GetVisible() -> bool</autodoc> | |
7564 | </method> | |
7565 | <method name="SetVisible" type="" overloaded="no"> | |
7566 | <autodoc>SetVisible(bool visible)</autodoc> | |
7567 | <paramlist> | |
7568 | <param name="visible" type="bool" default=""/> | |
7569 | </paramlist> | |
7570 | </method> | |
7571 | <method name="IsNull" type="bool" overloaded="no"> | |
7572 | <autodoc>IsNull() -> bool</autodoc> | |
7573 | </method> | |
7574 | </class> | |
7575 | <pythoncode> | |
856bf319 RD |
7576 | #--------------------------------------------------------------------------- |
7577 | </pythoncode> | |
f32fc4bc | 7578 | <class name="Colour" oldname="wxColour" module="gdi"> |
c2dda882 RD |
7579 | <docstring>A colour is an object representing a combination of Red, Green, and Blue (RGB) |
7580 | intensity values, and is used to determine drawing colours, window colours, | |
7581 | etc. Valid RGB values are in the range 0 to 255. | |
7582 | ||
7583 | In wxPython there are typemaps that will automatically convert from a colour | |
7584 | name, or from a "#RRGGBB" colour hex value string to a wx.Colour object when | |
7585 | calling C++ methods that expect a wxColour. This means that the following are | |
7586 | all equivallent: | |
7587 | ||
7588 | win.SetBackgroundColour(wxColour(0,0,255)) | |
7589 | win.SetBackgroundColour("BLUE") | |
7590 | win.SetBackgroundColour("#0000FF") | |
7591 | ||
7592 | You can retrieve the various current system colour settings with | |
7593 | wx.SystemSettings.GetColour.</docstring> | |
f32fc4bc RD |
7594 | <baseclass name="Object"/> |
7595 | <constructor name="Colour" overloaded="no"> | |
7596 | <autodoc>__init__(unsigned char red=0, unsigned char green=0, unsigned char blue=0) -> Colour</autodoc> | |
c2dda882 | 7597 | <docstring>Constructs a colour from red, green and blue values.</docstring> |
f32fc4bc RD |
7598 | <paramlist> |
7599 | <param name="red" type="unsigned char" default="0"/> | |
7600 | <param name="green" type="unsigned char" default="0"/> | |
7601 | <param name="blue" type="unsigned char" default="0"/> | |
7602 | </paramlist> | |
7603 | </constructor> | |
7604 | <constructor name="NamedColour" overloaded="no"> | |
7605 | <autodoc>NamedColour(String colorName) -> Colour</autodoc> | |
c2dda882 | 7606 | <docstring>Constructs a colour object using a colour name listed in wx.TheColourDatabase.</docstring> |
f32fc4bc RD |
7607 | <paramlist> |
7608 | <param name="colorName" type="String" default=""/> | |
7609 | </paramlist> | |
7610 | </constructor> | |
7611 | <constructor name="ColourRGB" overloaded="no"> | |
7612 | <autodoc>ColourRGB(unsigned long colRGB) -> Colour</autodoc> | |
c2dda882 | 7613 | <docstring>Constructs a colour from a packed RGB value.</docstring> |
f32fc4bc RD |
7614 | <paramlist> |
7615 | <param name="colRGB" type="unsigned long" default=""/> | |
7616 | </paramlist> | |
7617 | </constructor> | |
7618 | <destructor name="~wxColour" overloaded="no"> | |
7619 | <autodoc>__del__()</autodoc> | |
7620 | </destructor> | |
7621 | <method name="Red" type="unsigned char" overloaded="no"> | |
7622 | <autodoc>Red() -> unsigned char</autodoc> | |
c2dda882 | 7623 | <docstring>Returns the red intensity.</docstring> |
f32fc4bc RD |
7624 | </method> |
7625 | <method name="Green" type="unsigned char" overloaded="no"> | |
7626 | <autodoc>Green() -> unsigned char</autodoc> | |
c2dda882 | 7627 | <docstring>Returns the green intensity.</docstring> |
f32fc4bc RD |
7628 | </method> |
7629 | <method name="Blue" type="unsigned char" overloaded="no"> | |
7630 | <autodoc>Blue() -> unsigned char</autodoc> | |
c2dda882 | 7631 | <docstring>Returns the blue intensity.</docstring> |
f32fc4bc RD |
7632 | </method> |
7633 | <method name="Ok" type="bool" overloaded="no"> | |
7634 | <autodoc>Ok() -> bool</autodoc> | |
c2dda882 RD |
7635 | <docstring>Returns True if the colour object is valid (the colour has been |
7636 | initialised with RGB values).</docstring> | |
f32fc4bc RD |
7637 | </method> |
7638 | <method name="Set" type="" overloaded="no"> | |
7639 | <autodoc>Set(unsigned char red, unsigned char green, unsigned char blue)</autodoc> | |
c2dda882 | 7640 | <docstring>Sets the RGB intensity values.</docstring> |
f32fc4bc RD |
7641 | <paramlist> |
7642 | <param name="red" type="unsigned char" default=""/> | |
7643 | <param name="green" type="unsigned char" default=""/> | |
7644 | <param name="blue" type="unsigned char" default=""/> | |
7645 | </paramlist> | |
7646 | </method> | |
7647 | <method name="SetRGB" type="" overloaded="no"> | |
7648 | <autodoc>SetRGB(unsigned long colRGB)</autodoc> | |
c2dda882 | 7649 | <docstring>Sets the RGB intensity values from a packed RGB value.</docstring> |
f32fc4bc RD |
7650 | <paramlist> |
7651 | <param name="colRGB" type="unsigned long" default=""/> | |
7652 | </paramlist> | |
7653 | </method> | |
c2dda882 RD |
7654 | <method name="SetFromName" type="" overloaded="no"> |
7655 | <autodoc>SetFromName(String colourName)</autodoc> | |
7656 | <docstring>Sets the RGB intensity values using a colour name listed in wx.TheColourDatabase.</docstring> | |
7657 | <paramlist> | |
7658 | <param name="colourName" type="String" default=""/> | |
7659 | </paramlist> | |
7660 | </method> | |
7661 | <method name="GetPixel" type="long" overloaded="no"> | |
7662 | <autodoc>GetPixel() -> long</autodoc> | |
7663 | <docstring>Returns a pixel value which is platform-dependent. On Windows, a | |
7664 | COLORREF is returned. On X, an allocated pixel value is returned. | |
7665 | -1 is returned if the pixel is invalid (on X, unallocated).</docstring> | |
7666 | </method> | |
f32fc4bc RD |
7667 | <method name="__eq__" type="bool" overloaded="no"> |
7668 | <autodoc>__eq__(Colour colour) -> bool</autodoc> | |
c2dda882 | 7669 | <docstring>Compare colours for equality</docstring> |
f32fc4bc RD |
7670 | <paramlist> |
7671 | <param name="colour" type="Colour" default=""/> | |
7672 | </paramlist> | |
7673 | </method> | |
7674 | <method name="__ne__" type="bool" overloaded="no"> | |
7675 | <autodoc>__ne__(Colour colour) -> bool</autodoc> | |
c2dda882 | 7676 | <docstring>Compare colours for inequality</docstring> |
f32fc4bc RD |
7677 | <paramlist> |
7678 | <param name="colour" type="Colour" default=""/> | |
7679 | </paramlist> | |
7680 | </method> | |
f32fc4bc | 7681 | <method name="Get" type="PyObject" overloaded="no"> |
c2dda882 RD |
7682 | <autodoc>Get() -> (r, g, b)</autodoc> |
7683 | <docstring>Returns the RGB intensity values as a tuple.</docstring> | |
7684 | </method> | |
7685 | <method name="GetRGB" type="unsigned long" overloaded="no"> | |
7686 | <autodoc>GetRGB() -> unsigned long</autodoc> | |
7687 | <docstring>Return the colour as a packed RGB value</docstring> | |
f32fc4bc RD |
7688 | </method> |
7689 | </class> | |
856bf319 | 7690 | <pythoncode> |
856bf319 RD |
7691 | Color = Colour |
7692 | NamedColor = NamedColour | |
7693 | ColorRGB = ColourRGB | |
7694 | </pythoncode> | |
f32fc4bc RD |
7695 | <class name="Palette" oldname="wxPalette" module="gdi"> |
7696 | <baseclass name="GDIObject"/> | |
7697 | <constructor name="Palette" overloaded="no"> | |
7698 | <autodoc>__init__(int n, unsigned char red, unsigned char green, unsigned char blue) -> Palette</autodoc> | |
7699 | <paramlist> | |
7700 | <param name="n" type="int" default=""/> | |
7701 | <param name="red" type="unsigned char" default=""/> | |
7702 | <param name="green" type="unsigned char" default=""/> | |
7703 | <param name="blue" type="unsigned char" default=""/> | |
7704 | </paramlist> | |
7705 | </constructor> | |
7706 | <destructor name="~wxPalette" overloaded="no"> | |
7707 | <autodoc>__del__()</autodoc> | |
7708 | </destructor> | |
7709 | <method name="GetPixel" type="int" overloaded="no"> | |
7710 | <autodoc>GetPixel(byte red, byte green, byte blue) -> int</autodoc> | |
7711 | <paramlist> | |
7712 | <param name="red" type="byte" default=""/> | |
7713 | <param name="green" type="byte" default=""/> | |
7714 | <param name="blue" type="byte" default=""/> | |
7715 | </paramlist> | |
7716 | </method> | |
7717 | <method name="GetRGB" type="bool" overloaded="no"> | |
7718 | <autodoc>GetRGB(int pixel) -> (R,G,B)</autodoc> | |
7719 | <paramlist> | |
7720 | <param name="pixel" type="int" default=""/> | |
7721 | <param name="OUTPUT" type="byte" default=""/> | |
7722 | <param name="OUTPUT" type="byte" default=""/> | |
7723 | <param name="OUTPUT" type="byte" default=""/> | |
7724 | </paramlist> | |
7725 | </method> | |
7726 | <method name="Ok" type="bool" overloaded="no"> | |
7727 | <autodoc>Ok() -> bool</autodoc> | |
7728 | </method> | |
7729 | </class> | |
7730 | <pythoncode> | |
856bf319 RD |
7731 | #--------------------------------------------------------------------------- |
7732 | </pythoncode> | |
f32fc4bc RD |
7733 | <class name="Pen" oldname="wxPen" module="gdi"> |
7734 | <baseclass name="GDIObject"/> | |
7735 | <constructor name="Pen" overloaded="no"> | |
7736 | <autodoc>__init__(Colour colour, int width=1, int style=SOLID) -> Pen</autodoc> | |
7737 | <paramlist> | |
7738 | <param name="colour" type="Colour" default=""/> | |
7739 | <param name="width" type="int" default="1"/> | |
7740 | <param name="style" type="int" default="wxSOLID"/> | |
7741 | </paramlist> | |
7742 | </constructor> | |
7743 | <destructor name="~wxPen" overloaded="no"> | |
7744 | <autodoc>__del__()</autodoc> | |
7745 | </destructor> | |
7746 | <method name="GetCap" type="int" overloaded="no"> | |
7747 | <autodoc>GetCap() -> int</autodoc> | |
7748 | </method> | |
7749 | <method name="GetColour" type="Colour" overloaded="no"> | |
7750 | <autodoc>GetColour() -> Colour</autodoc> | |
7751 | </method> | |
7752 | <method name="GetJoin" type="int" overloaded="no"> | |
7753 | <autodoc>GetJoin() -> int</autodoc> | |
7754 | </method> | |
7755 | <method name="GetStyle" type="int" overloaded="no"> | |
7756 | <autodoc>GetStyle() -> int</autodoc> | |
7757 | </method> | |
7758 | <method name="GetWidth" type="int" overloaded="no"> | |
7759 | <autodoc>GetWidth() -> int</autodoc> | |
7760 | </method> | |
7761 | <method name="Ok" type="bool" overloaded="no"> | |
7762 | <autodoc>Ok() -> bool</autodoc> | |
7763 | </method> | |
7764 | <method name="SetCap" type="" overloaded="no"> | |
7765 | <autodoc>SetCap(int cap_style)</autodoc> | |
7766 | <paramlist> | |
7767 | <param name="cap_style" type="int" default=""/> | |
7768 | </paramlist> | |
7769 | </method> | |
7770 | <method name="SetColour" type="" overloaded="no"> | |
7771 | <autodoc>SetColour(Colour colour)</autodoc> | |
7772 | <paramlist> | |
7773 | <param name="colour" type="Colour" default=""/> | |
7774 | </paramlist> | |
7775 | </method> | |
7776 | <method name="SetJoin" type="" overloaded="no"> | |
7777 | <autodoc>SetJoin(int join_style)</autodoc> | |
7778 | <paramlist> | |
7779 | <param name="join_style" type="int" default=""/> | |
7780 | </paramlist> | |
7781 | </method> | |
7782 | <method name="SetStyle" type="" overloaded="no"> | |
7783 | <autodoc>SetStyle(int style)</autodoc> | |
7784 | <paramlist> | |
7785 | <param name="style" type="int" default=""/> | |
7786 | </paramlist> | |
7787 | </method> | |
7788 | <method name="SetWidth" type="" overloaded="no"> | |
7789 | <autodoc>SetWidth(int width)</autodoc> | |
7790 | <paramlist> | |
7791 | <param name="width" type="int" default=""/> | |
7792 | </paramlist> | |
7793 | </method> | |
7794 | <method name="SetDashes" type="" overloaded="no"> | |
7795 | <autodoc>SetDashes(int dashes, wxDash dashes_array)</autodoc> | |
7796 | <paramlist> | |
7797 | <param name="dashes" type="int" default=""/> | |
7798 | <param name="dashes_array" type="wxDash" default=""/> | |
7799 | </paramlist> | |
7800 | </method> | |
7801 | <method name="GetDashes" type="PyObject" overloaded="no"> | |
7802 | <autodoc>GetDashes() -> PyObject</autodoc> | |
7803 | </method> | |
7804 | <method name="__eq__" type="bool" overloaded="no"> | |
c2dda882 | 7805 | <autodoc>__eq__(Pen other) -> bool</autodoc> |
f32fc4bc | 7806 | <paramlist> |
c2dda882 RD |
7807 | <param name="other" type="Pen" default=""/> |
7808 | </paramlist> | |
7809 | </method> | |
7810 | <method name="__ne__" type="bool" overloaded="no"> | |
7811 | <autodoc>__ne__(Pen other) -> bool</autodoc> | |
7812 | <paramlist> | |
7813 | <param name="other" type="Pen" default=""/> | |
f32fc4bc RD |
7814 | </paramlist> |
7815 | </method> | |
7816 | <method name="GetDashCount" type="int" overloaded="no"> | |
7817 | <autodoc>GetDashCount() -> int</autodoc> | |
7818 | </method> | |
7819 | </class> | |
7820 | <class name="PyPen" oldname="wxPyPen" module="gdi"> | |
7821 | <baseclass name="Pen"/> | |
7822 | <constructor name="PyPen" overloaded="no"> | |
7823 | <autodoc>__init__(Colour colour, int width=1, int style=SOLID) -> PyPen</autodoc> | |
7824 | <paramlist> | |
7825 | <param name="colour" type="Colour" default=""/> | |
7826 | <param name="width" type="int" default="1"/> | |
7827 | <param name="style" type="int" default="wxSOLID"/> | |
7828 | </paramlist> | |
7829 | </constructor> | |
7830 | <destructor name="~wxPyPen" overloaded="no"> | |
7831 | <autodoc>__del__()</autodoc> | |
7832 | </destructor> | |
7833 | <method name="SetDashes" type="" overloaded="no"> | |
7834 | <autodoc>SetDashes(int dashes, wxDash dashes_array)</autodoc> | |
7835 | <paramlist> | |
7836 | <param name="dashes" type="int" default=""/> | |
7837 | <param name="dashes_array" type="wxDash" default=""/> | |
7838 | </paramlist> | |
7839 | </method> | |
7840 | </class> | |
7841 | <pythoncode> Pen = PyPen </pythoncode> | |
7842 | <pythoncode> | |
856bf319 RD |
7843 | #--------------------------------------------------------------------------- |
7844 | </pythoncode> | |
f32fc4bc RD |
7845 | <class name="Brush" oldname="wxBrush" module="gdi"> |
7846 | <docstring>A brush is a drawing tool for filling in areas. It is used for painting the | |
856bf319 | 7847 | background of rectangles, ellipses, etc. It has a colour and a style.</docstring> |
f32fc4bc RD |
7848 | <baseclass name="GDIObject"/> |
7849 | <constructor name="Brush" overloaded="no"> | |
7850 | <autodoc>__init__(Colour colour, int style=SOLID) -> Brush</autodoc> | |
7851 | <docstring>Constructs a brush from a colour object and style.</docstring> | |
7852 | <paramlist> | |
7853 | <param name="colour" type="Colour" default=""/> | |
7854 | <param name="style" type="int" default="wxSOLID"/> | |
7855 | </paramlist> | |
7856 | </constructor> | |
7857 | <destructor name="~wxBrush" overloaded="no"> | |
7858 | <autodoc>__del__()</autodoc> | |
7859 | </destructor> | |
7860 | <method name="SetColour" type="" overloaded="no"> | |
7861 | <autodoc>SetColour(Colour col)</autodoc> | |
7862 | <paramlist> | |
7863 | <param name="col" type="Colour" default=""/> | |
7864 | </paramlist> | |
7865 | </method> | |
7866 | <method name="SetStyle" type="" overloaded="no"> | |
7867 | <autodoc>SetStyle(int style)</autodoc> | |
7868 | <paramlist> | |
7869 | <param name="style" type="int" default=""/> | |
7870 | </paramlist> | |
7871 | </method> | |
7872 | <method name="SetStipple" type="" overloaded="no"> | |
7873 | <autodoc>SetStipple(Bitmap stipple)</autodoc> | |
7874 | <paramlist> | |
7875 | <param name="stipple" type="wxBitmap" default=""/> | |
7876 | </paramlist> | |
7877 | </method> | |
7878 | <method name="GetColour" type="Colour" overloaded="no"> | |
7879 | <autodoc>GetColour() -> Colour</autodoc> | |
7880 | </method> | |
7881 | <method name="GetStyle" type="int" overloaded="no"> | |
7882 | <autodoc>GetStyle() -> int</autodoc> | |
7883 | </method> | |
7884 | <method name="GetStipple" type="wxBitmap" overloaded="no"> | |
7885 | <autodoc>GetStipple() -> Bitmap</autodoc> | |
7886 | </method> | |
7887 | <method name="Ok" type="bool" overloaded="no"> | |
7888 | <autodoc>Ok() -> bool</autodoc> | |
7889 | </method> | |
7890 | </class> | |
7891 | <class name="Bitmap" oldname="wxBitmap" module="gdi"> | |
7892 | <baseclass name="GDIObject"/> | |
7893 | <constructor name="Bitmap" overloaded="no"> | |
7894 | <autodoc>__init__(String name, int type=BITMAP_TYPE_ANY) -> Bitmap</autodoc> | |
7895 | <docstring>Loads a bitmap from a file.</docstring> | |
7896 | <paramlist> | |
7897 | <param name="name" type="String" default=""/> | |
7898 | <param name="type" type="wxBitmapType" default="wxBITMAP_TYPE_ANY"/> | |
7899 | </paramlist> | |
7900 | </constructor> | |
7901 | <constructor name="EmptyBitmap" overloaded="no"> | |
7902 | <autodoc>EmptyBitmap(int width, int height, int depth=-1) -> Bitmap</autodoc> | |
7903 | <docstring>Creates a new bitmap of the given size. A depth of -1 indicates the depth of | |
856bf319 RD |
7904 | the current screen or visual. Some platforms only support 1 for monochrome and |
7905 | -1 for the current colour setting.</docstring> | |
f32fc4bc RD |
7906 | <paramlist> |
7907 | <param name="width" type="int" default=""/> | |
7908 | <param name="height" type="int" default=""/> | |
7909 | <param name="depth" type="int" default="-1"/> | |
7910 | </paramlist> | |
7911 | </constructor> | |
7912 | <constructor name="BitmapFromIcon" overloaded="no"> | |
7913 | <autodoc>BitmapFromIcon(Icon icon) -> Bitmap</autodoc> | |
7914 | <docstring>Create a new bitmap from an Icon object.</docstring> | |
7915 | <paramlist> | |
7916 | <param name="icon" type="wxIcon" default=""/> | |
7917 | </paramlist> | |
7918 | </constructor> | |
7919 | <constructor name="BitmapFromImage" overloaded="no"> | |
7920 | <autodoc>BitmapFromImage(Image image, int depth=-1) -> Bitmap</autodoc> | |
7921 | <docstring>Creates bitmap object from the image. This has to be done to actually display | |
856bf319 RD |
7922 | an image as you cannot draw an image directly on a window. The resulting |
7923 | bitmap will use the provided colour depth (or that of the current system if | |
7924 | depth is -1) which entails that a colour reduction has to take place.</docstring> | |
f32fc4bc RD |
7925 | <paramlist> |
7926 | <param name="image" type="Image" default=""/> | |
7927 | <param name="depth" type="int" default="-1"/> | |
7928 | </paramlist> | |
7929 | </constructor> | |
7930 | <constructor name="BitmapFromXPMData" overloaded="no"> | |
7931 | <autodoc>BitmapFromXPMData(PyObject listOfStrings) -> Bitmap</autodoc> | |
7932 | <docstring>Construct a Bitmap from a list of strings formatted as XPM data.</docstring> | |
7933 | <paramlist> | |
7934 | <param name="listOfStrings" type="PyObject" default=""/> | |
7935 | </paramlist> | |
7936 | </constructor> | |
7937 | <constructor name="BitmapFromBits" overloaded="no"> | |
7938 | <autodoc>BitmapFromBits(PyObject bits, int width, int height, int depth=1) -> Bitmap</autodoc> | |
7939 | <docstring>Creates a bitmap from an array of bits. You should only use this function for | |
856bf319 RD |
7940 | monochrome bitmaps (depth 1) in portable programs: in this case the bits |
7941 | parameter should contain an XBM image. For other bit depths, the behaviour is | |
7942 | platform dependent.</docstring> | |
f32fc4bc RD |
7943 | <paramlist> |
7944 | <param name="bits" type="PyObject" default=""/> | |
7945 | <param name="width" type="int" default=""/> | |
7946 | <param name="height" type="int" default=""/> | |
7947 | <param name="depth" type="int" default="1"/> | |
7948 | </paramlist> | |
7949 | </constructor> | |
7950 | <destructor name="~wxBitmap" overloaded="no"> | |
7951 | <autodoc>__del__()</autodoc> | |
7952 | </destructor> | |
7953 | <method name="Ok" type="bool" overloaded="no"> | |
7954 | <autodoc>Ok() -> bool</autodoc> | |
7955 | </method> | |
7956 | <method name="GetWidth" type="int" overloaded="no"> | |
7957 | <autodoc>GetWidth() -> int</autodoc> | |
7958 | <docstring>Gets the width of the bitmap in pixels.</docstring> | |
7959 | </method> | |
7960 | <method name="GetHeight" type="int" overloaded="no"> | |
7961 | <autodoc>GetHeight() -> int</autodoc> | |
7962 | <docstring>Gets the height of the bitmap in pixels.</docstring> | |
7963 | </method> | |
7964 | <method name="GetDepth" type="int" overloaded="no"> | |
7965 | <autodoc>GetDepth() -> int</autodoc> | |
7966 | <docstring>Gets the colour depth of the bitmap. A value of 1 indicates a | |
856bf319 | 7967 | monochrome bitmap.</docstring> |
f32fc4bc RD |
7968 | </method> |
7969 | <method name="ConvertToImage" type="Image" overloaded="no"> | |
7970 | <autodoc>ConvertToImage() -> Image</autodoc> | |
7971 | <docstring>Creates a platform-independent image from a platform-dependent bitmap. This | |
856bf319 RD |
7972 | preserves mask information so that bitmaps and images can be converted back |
7973 | and forth without loss in that respect.</docstring> | |
f32fc4bc RD |
7974 | </method> |
7975 | <method name="GetMask" type="wxMask" overloaded="no"> | |
7976 | <autodoc>GetMask() -> Mask</autodoc> | |
7977 | <docstring>Gets the associated mask (if any) which may have been loaded from a file | |
856bf319 | 7978 | or explpicitly set for the bitmap.</docstring> |
f32fc4bc RD |
7979 | </method> |
7980 | <method name="SetMask" type="" overloaded="no"> | |
7981 | <autodoc>SetMask(Mask mask)</autodoc> | |
7982 | <docstring>Sets the mask for this bitmap.</docstring> | |
7983 | <paramlist> | |
7984 | <param name="mask" type="wxMask" default=""/> | |
7985 | </paramlist> | |
7986 | </method> | |
7987 | <method name="SetMaskColour" type="" overloaded="no"> | |
7988 | <autodoc>SetMaskColour(Colour colour)</autodoc> | |
7989 | <docstring>Create a Mask based on a specified colour in the Bitmap.</docstring> | |
7990 | <paramlist> | |
7991 | <param name="colour" type="Colour" default=""/> | |
7992 | </paramlist> | |
7993 | </method> | |
7994 | <method name="GetSubBitmap" type="Bitmap" overloaded="no"> | |
7995 | <autodoc>GetSubBitmap(Rect rect) -> Bitmap</autodoc> | |
7996 | <docstring>Returns a sub bitmap of the current one as long as the rect belongs entirely | |
856bf319 | 7997 | to the bitmap. This function preserves bit depth and mask information.</docstring> |
f32fc4bc RD |
7998 | <paramlist> |
7999 | <param name="rect" type="Rect" default=""/> | |
8000 | </paramlist> | |
8001 | </method> | |
8002 | <method name="SaveFile" type="bool" overloaded="no"> | |
8003 | <autodoc>SaveFile(String name, int type, Palette palette=(wxPalette *) NULL) -> bool</autodoc> | |
8004 | <docstring>Saves a bitmap in the named file.</docstring> | |
8005 | <paramlist> | |
8006 | <param name="name" type="String" default=""/> | |
8007 | <param name="type" type="wxBitmapType" default=""/> | |
8008 | <param name="palette" type="Palette" default="(wxPalette *) NULL"/> | |
8009 | </paramlist> | |
8010 | </method> | |
8011 | <method name="LoadFile" type="bool" overloaded="no"> | |
8012 | <autodoc>LoadFile(String name, int type) -> bool</autodoc> | |
8013 | <docstring>Loads a bitmap from a file</docstring> | |
8014 | <paramlist> | |
8015 | <param name="name" type="String" default=""/> | |
8016 | <param name="type" type="wxBitmapType" default=""/> | |
8017 | </paramlist> | |
8018 | </method> | |
8019 | <method name="CopyFromIcon" type="bool" overloaded="no"> | |
8020 | <autodoc>CopyFromIcon(Icon icon) -> bool</autodoc> | |
8021 | <paramlist> | |
8022 | <param name="icon" type="wxIcon" default=""/> | |
8023 | </paramlist> | |
8024 | </method> | |
8025 | <method name="SetHeight" type="" overloaded="no"> | |
8026 | <autodoc>SetHeight(int height)</autodoc> | |
8027 | <docstring>Set the height property (does not affect the bitmap data).</docstring> | |
8028 | <paramlist> | |
8029 | <param name="height" type="int" default=""/> | |
8030 | </paramlist> | |
8031 | </method> | |
8032 | <method name="SetWidth" type="" overloaded="no"> | |
8033 | <autodoc>SetWidth(int width)</autodoc> | |
8034 | <docstring>Set the width property (does not affect the bitmap data).</docstring> | |
8035 | <paramlist> | |
8036 | <param name="width" type="int" default=""/> | |
8037 | </paramlist> | |
8038 | </method> | |
8039 | <method name="SetDepth" type="" overloaded="no"> | |
8040 | <autodoc>SetDepth(int depth)</autodoc> | |
8041 | <docstring>Set the depth property (does not affect the bitmap data).</docstring> | |
8042 | <paramlist> | |
8043 | <param name="depth" type="int" default=""/> | |
8044 | </paramlist> | |
8045 | </method> | |
b39e211b RD |
8046 | <method name="__eq__" type="bool" overloaded="no"> |
8047 | <autodoc>__eq__(Bitmap other) -> bool</autodoc> | |
8048 | <paramlist> | |
8049 | <param name="other" type="Bitmap" default=""/> | |
8050 | </paramlist> | |
8051 | </method> | |
8052 | <method name="__ne__" type="bool" overloaded="no"> | |
8053 | <autodoc>__ne__(Bitmap other) -> bool</autodoc> | |
8054 | <paramlist> | |
8055 | <param name="other" type="Bitmap" default=""/> | |
8056 | </paramlist> | |
8057 | </method> | |
f32fc4bc RD |
8058 | </class> |
8059 | <class name="Mask" oldname="wxMask" module="gdi"> | |
8060 | <docstring>This class encapsulates a monochrome mask bitmap, where the masked area is | |
8061 | black and the unmasked area is white. When associated with a bitmap and drawn | |
8062 | in a device context, the unmasked area of the bitmap will be drawn, and the | |
8063 | masked area will not be drawn.</docstring> | |
8064 | <baseclass name="Object"/> | |
8065 | <constructor name="Mask" overloaded="no"> | |
8066 | <autodoc>__init__(Bitmap bitmap, Colour colour=NullColour) -> Mask</autodoc> | |
8067 | <docstring>Constructs a mask from a bitmap and a colour in that bitmap that indicates | |
8068 | the transparent portions of the mask, by default BLACK is used.</docstring> | |
8069 | <paramlist> | |
8070 | <param name="bitmap" type="Bitmap" default=""/> | |
8071 | <param name="colour" type="Colour" default="wxNullColour"/> | |
8072 | </paramlist> | |
8073 | </constructor> | |
8074 | </class> | |
8075 | <pythoncode> MaskColour = Mask </pythoncode> | |
8076 | <class name="Icon" oldname="wxIcon" module="gdi"> | |
8077 | <baseclass name="GDIObject"/> | |
8078 | <constructor name="Icon" overloaded="no"> | |
8079 | <autodoc>__init__(String name, int type, int desiredWidth=-1, int desiredHeight=-1) -> Icon</autodoc> | |
8080 | <paramlist> | |
8081 | <param name="name" type="String" default=""/> | |
8082 | <param name="type" type="wxBitmapType" default=""/> | |
8083 | <param name="desiredWidth" type="int" default="-1"/> | |
8084 | <param name="desiredHeight" type="int" default="-1"/> | |
8085 | </paramlist> | |
8086 | </constructor> | |
8087 | <constructor name="EmptyIcon" overloaded="no"> | |
8088 | <autodoc>EmptyIcon() -> Icon</autodoc> | |
8089 | </constructor> | |
8090 | <constructor name="IconFromLocation" overloaded="no"> | |
8091 | <autodoc>IconFromLocation(IconLocation loc) -> Icon</autodoc> | |
8092 | <paramlist> | |
8093 | <param name="loc" type="wxIconLocation" default=""/> | |
8094 | </paramlist> | |
8095 | </constructor> | |
8096 | <constructor name="IconFromBitmap" overloaded="no"> | |
8097 | <autodoc>IconFromBitmap(Bitmap bmp) -> Icon</autodoc> | |
8098 | <paramlist> | |
8099 | <param name="bmp" type="Bitmap" default=""/> | |
8100 | </paramlist> | |
8101 | </constructor> | |
8102 | <constructor name="IconFromXPMData" overloaded="no"> | |
8103 | <autodoc>IconFromXPMData(PyObject listOfStrings) -> Icon</autodoc> | |
8104 | <paramlist> | |
8105 | <param name="listOfStrings" type="PyObject" default=""/> | |
8106 | </paramlist> | |
8107 | </constructor> | |
8108 | <destructor name="~wxIcon" overloaded="no"> | |
8109 | <autodoc>__del__()</autodoc> | |
8110 | </destructor> | |
8111 | <method name="LoadFile" type="bool" overloaded="no"> | |
8112 | <autodoc>LoadFile(String name, int type) -> bool</autodoc> | |
8113 | <paramlist> | |
8114 | <param name="name" type="String" default=""/> | |
8115 | <param name="type" type="wxBitmapType" default=""/> | |
8116 | </paramlist> | |
8117 | </method> | |
8118 | <method name="Ok" type="bool" overloaded="no"> | |
8119 | <autodoc>Ok() -> bool</autodoc> | |
8120 | </method> | |
8121 | <method name="GetWidth" type="int" overloaded="no"> | |
8122 | <autodoc>GetWidth() -> int</autodoc> | |
8123 | </method> | |
8124 | <method name="GetHeight" type="int" overloaded="no"> | |
8125 | <autodoc>GetHeight() -> int</autodoc> | |
8126 | </method> | |
8127 | <method name="GetDepth" type="int" overloaded="no"> | |
8128 | <autodoc>GetDepth() -> int</autodoc> | |
8129 | </method> | |
8130 | <method name="SetWidth" type="" overloaded="no"> | |
8131 | <autodoc>SetWidth(int w)</autodoc> | |
8132 | <paramlist> | |
8133 | <param name="w" type="int" default=""/> | |
8134 | </paramlist> | |
8135 | </method> | |
8136 | <method name="SetHeight" type="" overloaded="no"> | |
8137 | <autodoc>SetHeight(int h)</autodoc> | |
8138 | <paramlist> | |
8139 | <param name="h" type="int" default=""/> | |
8140 | </paramlist> | |
8141 | </method> | |
8142 | <method name="SetDepth" type="" overloaded="no"> | |
8143 | <autodoc>SetDepth(int d)</autodoc> | |
8144 | <paramlist> | |
8145 | <param name="d" type="int" default=""/> | |
8146 | </paramlist> | |
8147 | </method> | |
8148 | <method name="CopyFromBitmap" type="" overloaded="no"> | |
8149 | <autodoc>CopyFromBitmap(Bitmap bmp)</autodoc> | |
8150 | <paramlist> | |
8151 | <param name="bmp" type="Bitmap" default=""/> | |
8152 | </paramlist> | |
8153 | </method> | |
8154 | </class> | |
8155 | <class name="IconLocation" oldname="wxIconLocation" module="gdi"> | |
8156 | <constructor name="IconLocation" overloaded="no"> | |
8157 | <autodoc>__init__(String filename=&wxPyEmptyString, int num=0) -> IconLocation</autodoc> | |
8158 | <paramlist> | |
8159 | <param name="filename" type="String" default="&wxPyEmptyString"/> | |
8160 | <param name="num" type="int" default="0"/> | |
8161 | </paramlist> | |
8162 | </constructor> | |
8163 | <destructor name="~wxIconLocation" overloaded="no"> | |
8164 | <autodoc>__del__()</autodoc> | |
8165 | </destructor> | |
8166 | <method name="IsOk" type="bool" overloaded="no"> | |
8167 | <autodoc>IsOk() -> bool</autodoc> | |
8168 | </method> | |
8169 | <method name="SetFileName" type="" overloaded="no"> | |
8170 | <autodoc>SetFileName(String filename)</autodoc> | |
8171 | <paramlist> | |
8172 | <param name="filename" type="String" default=""/> | |
8173 | </paramlist> | |
8174 | </method> | |
8175 | <method name="GetFileName" type="String" overloaded="no"> | |
8176 | <autodoc>GetFileName() -> String</autodoc> | |
8177 | </method> | |
8178 | <method name="SetIndex" type="" overloaded="no"> | |
8179 | <autodoc>SetIndex(int num)</autodoc> | |
8180 | <paramlist> | |
8181 | <param name="num" type="int" default=""/> | |
8182 | </paramlist> | |
8183 | </method> | |
8184 | <method name="GetIndex" type="int" overloaded="no"> | |
8185 | <autodoc>GetIndex() -> int</autodoc> | |
8186 | </method> | |
8187 | </class> | |
8188 | <class name="IconBundle" oldname="wxIconBundle" module="gdi"> | |
8189 | <constructor name="IconBundle" overloaded="no"> | |
8190 | <autodoc>__init__() -> IconBundle</autodoc> | |
8191 | </constructor> | |
8192 | <constructor name="IconBundleFromFile" overloaded="no"> | |
8193 | <autodoc>IconBundleFromFile(String file, long type) -> IconBundle</autodoc> | |
8194 | <paramlist> | |
8195 | <param name="file" type="String" default=""/> | |
8196 | <param name="type" type="long" default=""/> | |
8197 | </paramlist> | |
8198 | </constructor> | |
8199 | <constructor name="IconBundleFromIcon" overloaded="no"> | |
8200 | <autodoc>IconBundleFromIcon(Icon icon) -> IconBundle</autodoc> | |
8201 | <paramlist> | |
8202 | <param name="icon" type="Icon" default=""/> | |
8203 | </paramlist> | |
8204 | </constructor> | |
8205 | <destructor name="~wxIconBundle" overloaded="no"> | |
8206 | <autodoc>__del__()</autodoc> | |
8207 | </destructor> | |
8208 | <method name="AddIcon" type="" overloaded="no"> | |
8209 | <autodoc>AddIcon(Icon icon)</autodoc> | |
8210 | <paramlist> | |
8211 | <param name="icon" type="Icon" default=""/> | |
8212 | </paramlist> | |
8213 | </method> | |
8214 | <method name="AddIconFromFile" type="" overloaded="no"> | |
8215 | <autodoc>AddIconFromFile(String file, long type)</autodoc> | |
8216 | <paramlist> | |
8217 | <param name="file" type="String" default=""/> | |
8218 | <param name="type" type="long" default=""/> | |
8219 | </paramlist> | |
8220 | </method> | |
8221 | <method name="GetIcon" type="Icon" overloaded="no"> | |
8222 | <autodoc>GetIcon(Size size) -> Icon</autodoc> | |
8223 | <paramlist> | |
8224 | <param name="size" type="Size" default=""/> | |
8225 | </paramlist> | |
8226 | </method> | |
8227 | </class> | |
8228 | <class name="Cursor" oldname="wxCursor" module="gdi"> | |
c2dda882 RD |
8229 | <docstring>A cursor is a small bitmap usually used for denoting where the |
8230 | mouse pointer is, with a picture that might indicate the | |
8231 | interpretation of a mouse click. | |
8232 | ||
8233 | A single cursor object may be used in many windows (any subwindow | |
8234 | type). The wxWindows convention is to set the cursor for a | |
8235 | window, as in X, rather than to set it globally as in MS Windows, | |
8236 | although a global wx.SetCursor function is also available for use | |
8237 | on MS Windows.</docstring> | |
f32fc4bc RD |
8238 | <baseclass name="GDIObject"/> |
8239 | <constructor name="Cursor" overloaded="no"> | |
c2dda882 RD |
8240 | <autodoc>__init__(String cursorName, long type, int hotSpotX=0, int hotSpotY=0) -> Cursor</autodoc> |
8241 | <docstring>Construct a Cursor from a file. Specify the type of file using | |
8242 | wx.BITAMP_TYPE* constants, and specify the hotspot if not using a | |
8243 | .cur file. | |
8244 | ||
8245 | This cursor is not available on wxGTK, use wx.StockCursor, | |
8246 | wx.CursorFromImage, or wx.CursorFromBits instead.</docstring> | |
f32fc4bc RD |
8247 | <paramlist> |
8248 | <param name="cursorName" type="String" default=""/> | |
c2dda882 | 8249 | <param name="type" type="long" default=""/> |
f32fc4bc RD |
8250 | <param name="hotSpotX" type="int" default="0"/> |
8251 | <param name="hotSpotY" type="int" default="0"/> | |
8252 | </paramlist> | |
8253 | </constructor> | |
8254 | <constructor name="StockCursor" overloaded="no"> | |
8255 | <autodoc>StockCursor(int id) -> Cursor</autodoc> | |
c2dda882 RD |
8256 | <docstring>Create a cursor using one of the stock cursors. Note that not |
8257 | all cursors are available on all platforms.</docstring> | |
8258 | <refdoc> | |
8259 | Stock Cursor IDs | |
8260 | ||
8261 | wx.CURSOR_ARROW A standard arrow cursor. | |
8262 | wx.CURSOR_RIGHT_ARROW A standard arrow cursor pointing to the right. | |
8263 | wx.CURSOR_BLANK Transparent cursor. | |
8264 | wx.CURSOR_BULLSEYE Bullseye cursor. | |
8265 | wx.CURSOR_CHAR Rectangular character cursor. | |
8266 | wx.CURSOR_CROSS A cross cursor. | |
8267 | wx.CURSOR_HAND A hand cursor. | |
8268 | wx.CURSOR_IBEAM An I-beam cursor (vertical line). | |
8269 | wx.CURSOR_LEFT_BUTTON Represents a mouse with the left button depressed. | |
8270 | wx.CURSOR_MAGNIFIER A magnifier icon. | |
8271 | wx.CURSOR_MIDDLE_BUTTON Represents a mouse with the middle button depressed. | |
8272 | wx.CURSOR_NO_ENTRY A no-entry sign cursor. | |
8273 | wx.CURSOR_PAINT_BRUSH A paintbrush cursor. | |
8274 | wx.CURSOR_PENCIL A pencil cursor. | |
8275 | wx.CURSOR_POINT_LEFT A cursor that points left. | |
8276 | wx.CURSOR_POINT_RIGHT A cursor that points right. | |
8277 | wx.CURSOR_QUESTION_ARROW An arrow and question mark. | |
8278 | wx.CURSOR_RIGHT_BUTTON Represents a mouse with the right button depressed. | |
8279 | wx.CURSOR_SIZENESW A sizing cursor pointing NE-SW. | |
8280 | wx.CURSOR_SIZENS A sizing cursor pointing N-S. | |
8281 | wx.CURSOR_SIZENWSE A sizing cursor pointing NW-SE. | |
8282 | wx.CURSOR_SIZEWE A sizing cursor pointing W-E. | |
8283 | wx.CURSOR_SIZING A general sizing cursor. | |
8284 | wx.CURSOR_SPRAYCAN A spraycan cursor. | |
8285 | wx.CURSOR_WAIT A wait cursor. | |
8286 | wx.CURSOR_WATCH A watch cursor. | |
8287 | wx.CURSOR_ARROWWAIT A cursor with both an arrow and an hourglass, (windows.) | |
8288 | ||
8289 | </refdoc> | |
f32fc4bc RD |
8290 | <paramlist> |
8291 | <param name="id" type="int" default=""/> | |
8292 | </paramlist> | |
8293 | </constructor> | |
8294 | <constructor name="CursorFromImage" overloaded="no"> | |
8295 | <autodoc>CursorFromImage(Image image) -> Cursor</autodoc> | |
c2dda882 RD |
8296 | <docstring>Constructs a cursor from a wxImage. The cursor is monochrome, |
8297 | colors with the RGB elements all greater than 127 will be | |
8298 | foreground, colors less than this background. The mask (if any) | |
8299 | will be used as transparent. | |
8300 | ||
8301 | In MSW the foreground will be white and the background black. The | |
8302 | cursor is resized to 32x32 In GTK, the two most frequent colors | |
8303 | will be used for foreground and background. The cursor will be | |
8304 | displayed at the size of the image. On MacOS the cursor is | |
8305 | resized to 16x16 and currently only shown as black/white (mask | |
8306 | respected).</docstring> | |
f32fc4bc RD |
8307 | <paramlist> |
8308 | <param name="image" type="Image" default=""/> | |
8309 | </paramlist> | |
8310 | </constructor> | |
f32fc4bc RD |
8311 | <destructor name="~wxCursor" overloaded="no"> |
8312 | <autodoc>__del__()</autodoc> | |
8313 | </destructor> | |
8314 | <method name="Ok" type="bool" overloaded="no"> | |
8315 | <autodoc>Ok() -> bool</autodoc> | |
8316 | </method> | |
8317 | </class> | |
8318 | <pythoncode> | |
8319 | #--------------------------------------------------------------------------- | |
8320 | </pythoncode> | |
8321 | <class name="Region" oldname="wxRegion" module="gdi"> | |
8322 | <baseclass name="GDIObject"/> | |
8323 | <constructor name="Region" overloaded="no"> | |
8324 | <autodoc>__init__(int x=0, int y=0, int width=0, int height=0) -> Region</autodoc> | |
8325 | <paramlist> | |
8326 | <param name="x" type="int" default="0"/> | |
8327 | <param name="y" type="int" default="0"/> | |
8328 | <param name="width" type="int" default="0"/> | |
8329 | <param name="height" type="int" default="0"/> | |
8330 | </paramlist> | |
8331 | </constructor> | |
8332 | <constructor name="RegionFromBitmap" overloaded="no"> | |
8333 | <autodoc>RegionFromBitmap(Bitmap bmp, Colour transColour=NullColour, int tolerance=0) -> Region</autodoc> | |
8334 | <paramlist> | |
8335 | <param name="bmp" type="Bitmap" default=""/> | |
8336 | <param name="transColour" type="Colour" default="wxNullColour"/> | |
8337 | <param name="tolerance" type="int" default="0"/> | |
8338 | </paramlist> | |
8339 | </constructor> | |
8340 | <constructor name="RegionFromPoints" overloaded="no"> | |
8341 | <autodoc>RegionFromPoints(int points, Point points_array, int fillStyle=WINDING_RULE) -> Region</autodoc> | |
8342 | <paramlist> | |
8343 | <param name="points" type="int" default=""/> | |
8344 | <param name="points_array" type="Point" default=""/> | |
8345 | <param name="fillStyle" type="int" default="wxWINDING_RULE"/> | |
8346 | </paramlist> | |
8347 | </constructor> | |
8348 | <destructor name="~wxRegion" overloaded="no"> | |
8349 | <autodoc>__del__()</autodoc> | |
8350 | </destructor> | |
8351 | <method name="Clear" type="" overloaded="no"> | |
8352 | <autodoc>Clear()</autodoc> | |
8353 | </method> | |
8354 | <method name="Offset" type="bool" overloaded="no"> | |
8355 | <autodoc>Offset(int x, int y) -> bool</autodoc> | |
8356 | <paramlist> | |
8357 | <param name="x" type="int" default=""/> | |
8358 | <param name="y" type="int" default=""/> | |
8359 | </paramlist> | |
8360 | </method> | |
8361 | <method name="Contains" type="wxRegionContain" overloaded="no"> | |
8362 | <autodoc>Contains(int x, int y) -> int</autodoc> | |
8363 | <paramlist> | |
8364 | <param name="x" type="int" default=""/> | |
8365 | <param name="y" type="int" default=""/> | |
8366 | </paramlist> | |
8367 | </method> | |
8368 | <method name="ContainsPoint" type="wxRegionContain" overloaded="no"> | |
8369 | <autodoc>ContainsPoint(Point pt) -> int</autodoc> | |
8370 | <paramlist> | |
8371 | <param name="pt" type="Point" default=""/> | |
8372 | </paramlist> | |
8373 | </method> | |
8374 | <method name="ContainsRect" type="wxRegionContain" overloaded="no"> | |
8375 | <autodoc>ContainsRect(Rect rect) -> int</autodoc> | |
8376 | <paramlist> | |
8377 | <param name="rect" type="Rect" default=""/> | |
8378 | </paramlist> | |
8379 | </method> | |
8380 | <method name="ContainsRectDim" type="wxRegionContain" overloaded="no"> | |
8381 | <autodoc>ContainsRectDim(int x, int y, int w, int h) -> int</autodoc> | |
8382 | <paramlist> | |
8383 | <param name="x" type="int" default=""/> | |
8384 | <param name="y" type="int" default=""/> | |
8385 | <param name="w" type="int" default=""/> | |
8386 | <param name="h" type="int" default=""/> | |
8387 | </paramlist> | |
8388 | </method> | |
8389 | <method name="GetBox" type="Rect" overloaded="no"> | |
8390 | <autodoc>GetBox() -> Rect</autodoc> | |
8391 | </method> | |
8392 | <method name="Intersect" type="bool" overloaded="no"> | |
8393 | <autodoc>Intersect(int x, int y, int width, int height) -> bool</autodoc> | |
8394 | <paramlist> | |
8395 | <param name="x" type="int" default=""/> | |
8396 | <param name="y" type="int" default=""/> | |
8397 | <param name="width" type="int" default=""/> | |
8398 | <param name="height" type="int" default=""/> | |
8399 | </paramlist> | |
8400 | </method> | |
8401 | <method name="IntersectRect" type="bool" overloaded="no"> | |
8402 | <autodoc>IntersectRect(Rect rect) -> bool</autodoc> | |
8403 | <paramlist> | |
8404 | <param name="rect" type="Rect" default=""/> | |
8405 | </paramlist> | |
8406 | </method> | |
8407 | <method name="IntersectRegion" type="bool" overloaded="no"> | |
8408 | <autodoc>IntersectRegion(Region region) -> bool</autodoc> | |
8409 | <paramlist> | |
8410 | <param name="region" type="Region" default=""/> | |
8411 | </paramlist> | |
8412 | </method> | |
8413 | <method name="IsEmpty" type="bool" overloaded="no"> | |
8414 | <autodoc>IsEmpty() -> bool</autodoc> | |
8415 | </method> | |
8416 | <method name="Union" type="bool" overloaded="no"> | |
8417 | <autodoc>Union(int x, int y, int width, int height) -> bool</autodoc> | |
8418 | <paramlist> | |
8419 | <param name="x" type="int" default=""/> | |
8420 | <param name="y" type="int" default=""/> | |
8421 | <param name="width" type="int" default=""/> | |
8422 | <param name="height" type="int" default=""/> | |
8423 | </paramlist> | |
8424 | </method> | |
8425 | <method name="UnionRect" type="bool" overloaded="no"> | |
8426 | <autodoc>UnionRect(Rect rect) -> bool</autodoc> | |
8427 | <paramlist> | |
8428 | <param name="rect" type="Rect" default=""/> | |
8429 | </paramlist> | |
8430 | </method> | |
8431 | <method name="UnionRegion" type="bool" overloaded="no"> | |
8432 | <autodoc>UnionRegion(Region region) -> bool</autodoc> | |
8433 | <paramlist> | |
8434 | <param name="region" type="Region" default=""/> | |
8435 | </paramlist> | |
8436 | </method> | |
8437 | <method name="Subtract" type="bool" overloaded="no"> | |
8438 | <autodoc>Subtract(int x, int y, int width, int height) -> bool</autodoc> | |
8439 | <paramlist> | |
8440 | <param name="x" type="int" default=""/> | |
8441 | <param name="y" type="int" default=""/> | |
8442 | <param name="width" type="int" default=""/> | |
8443 | <param name="height" type="int" default=""/> | |
8444 | </paramlist> | |
8445 | </method> | |
8446 | <method name="SubtractRect" type="bool" overloaded="no"> | |
8447 | <autodoc>SubtractRect(Rect rect) -> bool</autodoc> | |
8448 | <paramlist> | |
8449 | <param name="rect" type="Rect" default=""/> | |
8450 | </paramlist> | |
8451 | </method> | |
8452 | <method name="SubtractRegion" type="bool" overloaded="no"> | |
8453 | <autodoc>SubtractRegion(Region region) -> bool</autodoc> | |
8454 | <paramlist> | |
8455 | <param name="region" type="Region" default=""/> | |
8456 | </paramlist> | |
8457 | </method> | |
8458 | <method name="Xor" type="bool" overloaded="no"> | |
8459 | <autodoc>Xor(int x, int y, int width, int height) -> bool</autodoc> | |
8460 | <paramlist> | |
8461 | <param name="x" type="int" default=""/> | |
8462 | <param name="y" type="int" default=""/> | |
8463 | <param name="width" type="int" default=""/> | |
8464 | <param name="height" type="int" default=""/> | |
8465 | </paramlist> | |
8466 | </method> | |
8467 | <method name="XorRect" type="bool" overloaded="no"> | |
8468 | <autodoc>XorRect(Rect rect) -> bool</autodoc> | |
8469 | <paramlist> | |
8470 | <param name="rect" type="Rect" default=""/> | |
8471 | </paramlist> | |
8472 | </method> | |
8473 | <method name="XorRegion" type="bool" overloaded="no"> | |
8474 | <autodoc>XorRegion(Region region) -> bool</autodoc> | |
8475 | <paramlist> | |
8476 | <param name="region" type="Region" default=""/> | |
8477 | </paramlist> | |
8478 | </method> | |
8479 | <method name="ConvertToBitmap" type="Bitmap" overloaded="no"> | |
8480 | <autodoc>ConvertToBitmap() -> Bitmap</autodoc> | |
8481 | </method> | |
8482 | <method name="UnionBitmap" type="bool" overloaded="no"> | |
8483 | <autodoc>UnionBitmap(Bitmap bmp, Colour transColour=NullColour, int tolerance=0) -> bool</autodoc> | |
8484 | <paramlist> | |
8485 | <param name="bmp" type="Bitmap" default=""/> | |
8486 | <param name="transColour" type="Colour" default="wxNullColour"/> | |
8487 | <param name="tolerance" type="int" default="0"/> | |
8488 | </paramlist> | |
8489 | </method> | |
8490 | </class> | |
8491 | <class name="RegionIterator" oldname="wxRegionIterator" module="gdi"> | |
8492 | <baseclass name="Object"/> | |
8493 | <constructor name="RegionIterator" overloaded="no"> | |
8494 | <autodoc>__init__(Region region) -> RegionIterator</autodoc> | |
8495 | <paramlist> | |
8496 | <param name="region" type="Region" default=""/> | |
8497 | </paramlist> | |
8498 | </constructor> | |
8499 | <destructor name="~wxRegionIterator" overloaded="no"> | |
8500 | <autodoc>__del__()</autodoc> | |
8501 | </destructor> | |
8502 | <method name="GetX" type="int" overloaded="no"> | |
8503 | <autodoc>GetX() -> int</autodoc> | |
8504 | </method> | |
8505 | <method name="GetY" type="int" overloaded="no"> | |
8506 | <autodoc>GetY() -> int</autodoc> | |
8507 | </method> | |
8508 | <method name="GetW" type="int" overloaded="no"> | |
8509 | <autodoc>GetW() -> int</autodoc> | |
8510 | </method> | |
8511 | <method name="GetWidth" type="int" overloaded="no"> | |
8512 | <autodoc>GetWidth() -> int</autodoc> | |
8513 | </method> | |
8514 | <method name="GetH" type="int" overloaded="no"> | |
8515 | <autodoc>GetH() -> int</autodoc> | |
8516 | </method> | |
8517 | <method name="GetHeight" type="int" overloaded="no"> | |
8518 | <autodoc>GetHeight() -> int</autodoc> | |
8519 | </method> | |
8520 | <method name="GetRect" type="Rect" overloaded="no"> | |
8521 | <autodoc>GetRect() -> Rect</autodoc> | |
8522 | </method> | |
8523 | <method name="HaveRects" type="bool" overloaded="no"> | |
8524 | <autodoc>HaveRects() -> bool</autodoc> | |
8525 | </method> | |
8526 | <method name="Reset" type="" overloaded="no"> | |
8527 | <autodoc>Reset()</autodoc> | |
8528 | </method> | |
8529 | <method name="Next" type="" overloaded="no"> | |
8530 | <autodoc>Next()</autodoc> | |
8531 | </method> | |
8532 | <method name="__nonzero__" type="bool" overloaded="no"> | |
8533 | <autodoc>__nonzero__() -> bool</autodoc> | |
8534 | </method> | |
8535 | </class> | |
8536 | <pythoncode> | |
8537 | #--------------------------------------------------------------------------- | |
8538 | </pythoncode> | |
8539 | <pythoncode> | |
8540 | #--------------------------------------------------------------------------- | |
8541 | </pythoncode> | |
8542 | <class name="NativeFontInfo" oldname="wxNativeFontInfo" module="gdi"> | |
8543 | <constructor name="NativeFontInfo" overloaded="no"> | |
8544 | <autodoc>__init__() -> NativeFontInfo</autodoc> | |
8545 | </constructor> | |
8546 | <destructor name="~wxNativeFontInfo" overloaded="no"> | |
8547 | <autodoc>__del__()</autodoc> | |
8548 | </destructor> | |
8549 | <method name="Init" type="" overloaded="no"> | |
8550 | <autodoc>Init()</autodoc> | |
8551 | </method> | |
8552 | <method name="InitFromFont" type="" overloaded="no"> | |
8553 | <autodoc>InitFromFont(Font font)</autodoc> | |
8554 | <paramlist> | |
8555 | <param name="font" type="wxFont" default=""/> | |
8556 | </paramlist> | |
8557 | </method> | |
8558 | <method name="GetPointSize" type="int" overloaded="no"> | |
8559 | <autodoc>GetPointSize() -> int</autodoc> | |
8560 | </method> | |
8561 | <method name="GetStyle" type="wxFontStyle" overloaded="no"> | |
8562 | <autodoc>GetStyle() -> int</autodoc> | |
8563 | </method> | |
8564 | <method name="GetWeight" type="wxFontWeight" overloaded="no"> | |
8565 | <autodoc>GetWeight() -> int</autodoc> | |
8566 | </method> | |
8567 | <method name="GetUnderlined" type="bool" overloaded="no"> | |
8568 | <autodoc>GetUnderlined() -> bool</autodoc> | |
8569 | </method> | |
8570 | <method name="GetFaceName" type="String" overloaded="no"> | |
8571 | <autodoc>GetFaceName() -> String</autodoc> | |
8572 | </method> | |
8573 | <method name="GetFamily" type="wxFontFamily" overloaded="no"> | |
8574 | <autodoc>GetFamily() -> int</autodoc> | |
8575 | </method> | |
8576 | <method name="GetEncoding" type="wxFontEncoding" overloaded="no"> | |
8577 | <autodoc>GetEncoding() -> int</autodoc> | |
8578 | </method> | |
8579 | <method name="SetPointSize" type="" overloaded="no"> | |
8580 | <autodoc>SetPointSize(int pointsize)</autodoc> | |
8581 | <paramlist> | |
8582 | <param name="pointsize" type="int" default=""/> | |
8583 | </paramlist> | |
8584 | </method> | |
8585 | <method name="SetStyle" type="" overloaded="no"> | |
8586 | <autodoc>SetStyle(int style)</autodoc> | |
8587 | <paramlist> | |
8588 | <param name="style" type="wxFontStyle" default=""/> | |
8589 | </paramlist> | |
8590 | </method> | |
8591 | <method name="SetWeight" type="" overloaded="no"> | |
8592 | <autodoc>SetWeight(int weight)</autodoc> | |
8593 | <paramlist> | |
8594 | <param name="weight" type="wxFontWeight" default=""/> | |
8595 | </paramlist> | |
8596 | </method> | |
8597 | <method name="SetUnderlined" type="" overloaded="no"> | |
8598 | <autodoc>SetUnderlined(bool underlined)</autodoc> | |
8599 | <paramlist> | |
8600 | <param name="underlined" type="bool" default=""/> | |
8601 | </paramlist> | |
8602 | </method> | |
8603 | <method name="SetFaceName" type="" overloaded="no"> | |
8604 | <autodoc>SetFaceName(String facename)</autodoc> | |
8605 | <paramlist> | |
8606 | <param name="facename" type="String" default=""/> | |
8607 | </paramlist> | |
8608 | </method> | |
8609 | <method name="SetFamily" type="" overloaded="no"> | |
8610 | <autodoc>SetFamily(int family)</autodoc> | |
8611 | <paramlist> | |
8612 | <param name="family" type="wxFontFamily" default=""/> | |
8613 | </paramlist> | |
8614 | </method> | |
8615 | <method name="SetEncoding" type="" overloaded="no"> | |
8616 | <autodoc>SetEncoding(int encoding)</autodoc> | |
8617 | <paramlist> | |
8618 | <param name="encoding" type="wxFontEncoding" default=""/> | |
8619 | </paramlist> | |
8620 | </method> | |
8621 | <method name="FromString" type="bool" overloaded="no"> | |
8622 | <autodoc>FromString(String s) -> bool</autodoc> | |
8623 | <paramlist> | |
8624 | <param name="s" type="String" default=""/> | |
8625 | </paramlist> | |
8626 | </method> | |
8627 | <method name="ToString" type="String" overloaded="no"> | |
8628 | <autodoc>ToString() -> String</autodoc> | |
8629 | </method> | |
8630 | <method name="__str__" type="String" overloaded="no"> | |
8631 | <autodoc>__str__() -> String</autodoc> | |
8632 | </method> | |
8633 | <method name="FromUserString" type="bool" overloaded="no"> | |
8634 | <autodoc>FromUserString(String s) -> bool</autodoc> | |
8635 | <paramlist> | |
8636 | <param name="s" type="String" default=""/> | |
8637 | </paramlist> | |
8638 | </method> | |
8639 | <method name="ToUserString" type="String" overloaded="no"> | |
8640 | <autodoc>ToUserString() -> String</autodoc> | |
8641 | </method> | |
8642 | </class> | |
8643 | <class name="NativeEncodingInfo" oldname="wxNativeEncodingInfo" module="gdi"> | |
8644 | <constructor name="NativeEncodingInfo" overloaded="no"> | |
8645 | <autodoc>__init__() -> NativeEncodingInfo</autodoc> | |
8646 | </constructor> | |
8647 | <destructor name="~wxNativeEncodingInfo" overloaded="no"> | |
8648 | <autodoc>__del__()</autodoc> | |
8649 | </destructor> | |
8650 | <property name="facename" type="String" readonly="no"/> | |
8651 | <property name="encoding" type="wxFontEncoding" readonly="no"/> | |
8652 | <method name="FromString" type="bool" overloaded="no"> | |
8653 | <autodoc>FromString(String s) -> bool</autodoc> | |
8654 | <paramlist> | |
8655 | <param name="s" type="String" default=""/> | |
8656 | </paramlist> | |
8657 | </method> | |
8658 | <method name="ToString" type="String" overloaded="no"> | |
8659 | <autodoc>ToString() -> String</autodoc> | |
8660 | </method> | |
8661 | </class> | |
8662 | <method name="GetNativeFontEncoding" oldname="wxGetNativeFontEncoding" type="NativeEncodingInfo" overloaded="no"> | |
8663 | <autodoc>GetNativeFontEncoding(int encoding) -> NativeEncodingInfo</autodoc> | |
856bf319 | 8664 | <paramlist> |
f32fc4bc | 8665 | <param name="encoding" type="wxFontEncoding" default=""/> |
856bf319 RD |
8666 | </paramlist> |
8667 | </method> | |
f32fc4bc RD |
8668 | <method name="TestFontEncoding" oldname="wxTestFontEncoding" type="bool" overloaded="no"> |
8669 | <autodoc>TestFontEncoding(NativeEncodingInfo info) -> bool</autodoc> | |
856bf319 | 8670 | <paramlist> |
f32fc4bc | 8671 | <param name="info" type="NativeEncodingInfo" default=""/> |
856bf319 RD |
8672 | </paramlist> |
8673 | </method> | |
f32fc4bc RD |
8674 | <pythoncode> |
8675 | #--------------------------------------------------------------------------- | |
8676 | </pythoncode> | |
8677 | <class name="FontMapper" oldname="wxFontMapper" module="gdi"> | |
8678 | <constructor name="FontMapper" overloaded="no"> | |
8679 | <autodoc>__init__() -> FontMapper</autodoc> | |
8680 | </constructor> | |
8681 | <destructor name="~wxFontMapper" overloaded="no"> | |
8682 | <autodoc>__del__()</autodoc> | |
8683 | </destructor> | |
8684 | <staticmethod name="Get" type="FontMapper" overloaded="no"> | |
8685 | <autodoc>Get() -> FontMapper</autodoc> | |
8686 | </staticmethod> | |
8687 | <staticmethod name="Set" type="FontMapper" overloaded="no"> | |
8688 | <autodoc>Set(FontMapper mapper) -> FontMapper</autodoc> | |
8689 | <paramlist> | |
8690 | <param name="mapper" type="FontMapper" default=""/> | |
8691 | </paramlist> | |
8692 | </staticmethod> | |
8693 | <method name="CharsetToEncoding" type="wxFontEncoding" overloaded="no"> | |
8694 | <autodoc>CharsetToEncoding(String charset, bool interactive=True) -> int</autodoc> | |
8695 | <paramlist> | |
8696 | <param name="charset" type="String" default=""/> | |
8697 | <param name="interactive" type="bool" default="True"/> | |
8698 | </paramlist> | |
8699 | </method> | |
8700 | <staticmethod name="GetSupportedEncodingsCount" type="size_t" overloaded="no"> | |
8701 | <autodoc>GetSupportedEncodingsCount() -> size_t</autodoc> | |
8702 | </staticmethod> | |
8703 | <staticmethod name="GetEncoding" type="wxFontEncoding" overloaded="no"> | |
8704 | <autodoc>GetEncoding(size_t n) -> int</autodoc> | |
8705 | <paramlist> | |
8706 | <param name="n" type="size_t" default=""/> | |
8707 | </paramlist> | |
8708 | </staticmethod> | |
8709 | <staticmethod name="GetEncodingName" type="String" overloaded="no"> | |
8710 | <autodoc>GetEncodingName(int encoding) -> String</autodoc> | |
8711 | <paramlist> | |
8712 | <param name="encoding" type="wxFontEncoding" default=""/> | |
8713 | </paramlist> | |
8714 | </staticmethod> | |
8715 | <staticmethod name="GetEncodingDescription" type="String" overloaded="no"> | |
8716 | <autodoc>GetEncodingDescription(int encoding) -> String</autodoc> | |
8717 | <paramlist> | |
8718 | <param name="encoding" type="wxFontEncoding" default=""/> | |
8719 | </paramlist> | |
8720 | </staticmethod> | |
8721 | <method name="SetConfig" type="" overloaded="no"> | |
8722 | <autodoc>SetConfig(ConfigBase config)</autodoc> | |
8723 | <paramlist> | |
8724 | <param name="config" type="wxConfigBase" default=""/> | |
8725 | </paramlist> | |
8726 | </method> | |
8727 | <method name="SetConfigPath" type="" overloaded="no"> | |
8728 | <autodoc>SetConfigPath(String prefix)</autodoc> | |
8729 | <paramlist> | |
8730 | <param name="prefix" type="String" default=""/> | |
8731 | </paramlist> | |
8732 | </method> | |
8733 | <staticmethod name="GetDefaultConfigPath" type="String" overloaded="no"> | |
8734 | <autodoc>GetDefaultConfigPath() -> String</autodoc> | |
8735 | </staticmethod> | |
8736 | <method name="GetAltForEncoding" type="PyObject" overloaded="no"> | |
8737 | <autodoc>GetAltForEncoding(int encoding, String facename=EmptyString, bool interactive=True) -> PyObject</autodoc> | |
8738 | <paramlist> | |
8739 | <param name="encoding" type="wxFontEncoding" default=""/> | |
8740 | <param name="facename" type="String" default="wxPyEmptyString"/> | |
8741 | <param name="interactive" type="bool" default="True"/> | |
8742 | </paramlist> | |
8743 | </method> | |
8744 | <method name="IsEncodingAvailable" type="bool" overloaded="no"> | |
8745 | <autodoc>IsEncodingAvailable(int encoding, String facename=EmptyString) -> bool</autodoc> | |
8746 | <paramlist> | |
8747 | <param name="encoding" type="wxFontEncoding" default=""/> | |
8748 | <param name="facename" type="String" default="wxPyEmptyString"/> | |
8749 | </paramlist> | |
8750 | </method> | |
8751 | <method name="SetDialogParent" type="" overloaded="no"> | |
8752 | <autodoc>SetDialogParent(Window parent)</autodoc> | |
8753 | <paramlist> | |
8754 | <param name="parent" type="Window" default=""/> | |
8755 | </paramlist> | |
8756 | </method> | |
8757 | <method name="SetDialogTitle" type="" overloaded="no"> | |
8758 | <autodoc>SetDialogTitle(String title)</autodoc> | |
8759 | <paramlist> | |
8760 | <param name="title" type="String" default=""/> | |
8761 | </paramlist> | |
8762 | </method> | |
8763 | </class> | |
8764 | <pythoncode> | |
8765 | #--------------------------------------------------------------------------- | |
8766 | </pythoncode> | |
8767 | <class name="Font" oldname="wxFont" module="gdi"> | |
8768 | <baseclass name="GDIObject"/> | |
8769 | <constructor name="Font" overloaded="no"> | |
8770 | <autodoc>__init__(int pointSize, int family, int style, int weight, bool underline=False, | |
8771 | String face=EmptyString, | |
8772 | int encoding=FONTENCODING_DEFAULT) -> Font</autodoc> | |
8773 | <paramlist> | |
8774 | <param name="pointSize" type="int" default=""/> | |
8775 | <param name="family" type="int" default=""/> | |
8776 | <param name="style" type="int" default=""/> | |
8777 | <param name="weight" type="int" default=""/> | |
8778 | <param name="underline" type="bool" default="False"/> | |
8779 | <param name="face" type="String" default="wxPyEmptyString"/> | |
8780 | <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_DEFAULT"/> | |
8781 | </paramlist> | |
8782 | </constructor> | |
8783 | <constructor name="FontFromNativeInfo" overloaded="no"> | |
8784 | <autodoc>FontFromNativeInfo(NativeFontInfo info) -> Font</autodoc> | |
8785 | <paramlist> | |
8786 | <param name="info" type="NativeFontInfo" default=""/> | |
8787 | </paramlist> | |
8788 | </constructor> | |
8789 | <constructor name="FontFromNativeInfoString" overloaded="no"> | |
8790 | <autodoc>FontFromNativeInfoString(String info) -> Font</autodoc> | |
8791 | <paramlist> | |
8792 | <param name="info" type="String" default=""/> | |
8793 | </paramlist> | |
8794 | </constructor> | |
8795 | <constructor name="Font2" overloaded="no"> | |
8796 | <autodoc>Font2(int pointSize, int family, int flags=FONTFLAG_DEFAULT, | |
8797 | String face=EmptyString, int encoding=FONTENCODING_DEFAULT) -> Font</autodoc> | |
8798 | <paramlist> | |
8799 | <param name="pointSize" type="int" default=""/> | |
8800 | <param name="family" type="wxFontFamily" default=""/> | |
8801 | <param name="flags" type="int" default="wxFONTFLAG_DEFAULT"/> | |
8802 | <param name="face" type="String" default="wxPyEmptyString"/> | |
8803 | <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_DEFAULT"/> | |
8804 | </paramlist> | |
8805 | </constructor> | |
8806 | <destructor name="~wxFont" overloaded="no"> | |
8807 | <autodoc>__del__()</autodoc> | |
8808 | </destructor> | |
8809 | <method name="Ok" type="bool" overloaded="no"> | |
8810 | <autodoc>Ok() -> bool</autodoc> | |
8811 | </method> | |
8812 | <method name="__eq__" type="bool" overloaded="no"> | |
c2dda882 | 8813 | <autodoc>__eq__(Font other) -> bool</autodoc> |
f32fc4bc | 8814 | <paramlist> |
c2dda882 | 8815 | <param name="other" type="Font" default=""/> |
f32fc4bc RD |
8816 | </paramlist> |
8817 | </method> | |
8818 | <method name="__ne__" type="bool" overloaded="no"> | |
c2dda882 | 8819 | <autodoc>__ne__(Font other) -> bool</autodoc> |
f32fc4bc | 8820 | <paramlist> |
c2dda882 | 8821 | <param name="other" type="Font" default=""/> |
f32fc4bc RD |
8822 | </paramlist> |
8823 | </method> | |
8824 | <method name="GetPointSize" type="int" overloaded="no"> | |
8825 | <autodoc>GetPointSize() -> int</autodoc> | |
8826 | </method> | |
8827 | <method name="GetFamily" type="int" overloaded="no"> | |
8828 | <autodoc>GetFamily() -> int</autodoc> | |
8829 | </method> | |
8830 | <method name="GetStyle" type="int" overloaded="no"> | |
8831 | <autodoc>GetStyle() -> int</autodoc> | |
8832 | </method> | |
8833 | <method name="GetWeight" type="int" overloaded="no"> | |
8834 | <autodoc>GetWeight() -> int</autodoc> | |
8835 | </method> | |
8836 | <method name="GetUnderlined" type="bool" overloaded="no"> | |
8837 | <autodoc>GetUnderlined() -> bool</autodoc> | |
8838 | </method> | |
8839 | <method name="GetFaceName" type="String" overloaded="no"> | |
8840 | <autodoc>GetFaceName() -> String</autodoc> | |
8841 | </method> | |
8842 | <method name="GetEncoding" type="wxFontEncoding" overloaded="no"> | |
8843 | <autodoc>GetEncoding() -> int</autodoc> | |
8844 | </method> | |
8845 | <method name="GetNativeFontInfo" type="NativeFontInfo" overloaded="no"> | |
8846 | <autodoc>GetNativeFontInfo() -> NativeFontInfo</autodoc> | |
8847 | </method> | |
8848 | <method name="IsFixedWidth" type="bool" overloaded="no"> | |
8849 | <autodoc>IsFixedWidth() -> bool</autodoc> | |
8850 | </method> | |
8851 | <method name="GetNativeFontInfoDesc" type="String" overloaded="no"> | |
8852 | <autodoc>GetNativeFontInfoDesc() -> String</autodoc> | |
8853 | </method> | |
8854 | <method name="GetNativeFontInfoUserDesc" type="String" overloaded="no"> | |
8855 | <autodoc>GetNativeFontInfoUserDesc() -> String</autodoc> | |
8856 | </method> | |
8857 | <method name="SetPointSize" type="" overloaded="no"> | |
8858 | <autodoc>SetPointSize(int pointSize)</autodoc> | |
8859 | <paramlist> | |
8860 | <param name="pointSize" type="int" default=""/> | |
8861 | </paramlist> | |
8862 | </method> | |
8863 | <method name="SetFamily" type="" overloaded="no"> | |
8864 | <autodoc>SetFamily(int family)</autodoc> | |
8865 | <paramlist> | |
8866 | <param name="family" type="int" default=""/> | |
8867 | </paramlist> | |
8868 | </method> | |
8869 | <method name="SetStyle" type="" overloaded="no"> | |
8870 | <autodoc>SetStyle(int style)</autodoc> | |
8871 | <paramlist> | |
8872 | <param name="style" type="int" default=""/> | |
8873 | </paramlist> | |
8874 | </method> | |
8875 | <method name="SetWeight" type="" overloaded="no"> | |
8876 | <autodoc>SetWeight(int weight)</autodoc> | |
8877 | <paramlist> | |
8878 | <param name="weight" type="int" default=""/> | |
8879 | </paramlist> | |
8880 | </method> | |
8881 | <method name="SetFaceName" type="" overloaded="no"> | |
8882 | <autodoc>SetFaceName(String faceName)</autodoc> | |
8883 | <paramlist> | |
8884 | <param name="faceName" type="String" default=""/> | |
8885 | </paramlist> | |
8886 | </method> | |
8887 | <method name="SetUnderlined" type="" overloaded="no"> | |
8888 | <autodoc>SetUnderlined(bool underlined)</autodoc> | |
8889 | <paramlist> | |
8890 | <param name="underlined" type="bool" default=""/> | |
8891 | </paramlist> | |
8892 | </method> | |
8893 | <method name="SetEncoding" type="" overloaded="no"> | |
8894 | <autodoc>SetEncoding(int encoding)</autodoc> | |
8895 | <paramlist> | |
8896 | <param name="encoding" type="wxFontEncoding" default=""/> | |
8897 | </paramlist> | |
8898 | </method> | |
8899 | <method name="SetNativeFontInfo" type="" overloaded="no"> | |
8900 | <autodoc>SetNativeFontInfo(NativeFontInfo info)</autodoc> | |
8901 | <paramlist> | |
8902 | <param name="info" type="NativeFontInfo" default=""/> | |
8903 | </paramlist> | |
8904 | </method> | |
8905 | <method name="SetNativeFontInfoFromString" type="" overloaded="no"> | |
8906 | <autodoc>SetNativeFontInfoFromString(String info)</autodoc> | |
8907 | <paramlist> | |
8908 | <param name="info" type="String" default=""/> | |
8909 | </paramlist> | |
8910 | </method> | |
8911 | <method name="SetNativeFontInfoUserDesc" type="" overloaded="no"> | |
8912 | <autodoc>SetNativeFontInfoUserDesc(String info)</autodoc> | |
8913 | <paramlist> | |
8914 | <param name="info" type="String" default=""/> | |
8915 | </paramlist> | |
8916 | </method> | |
8917 | <method name="GetFamilyString" type="String" overloaded="no"> | |
8918 | <autodoc>GetFamilyString() -> String</autodoc> | |
8919 | </method> | |
8920 | <method name="GetStyleString" type="String" overloaded="no"> | |
8921 | <autodoc>GetStyleString() -> String</autodoc> | |
8922 | </method> | |
8923 | <method name="GetWeightString" type="String" overloaded="no"> | |
8924 | <autodoc>GetWeightString() -> String</autodoc> | |
8925 | </method> | |
8926 | <method name="SetNoAntiAliasing" type="" overloaded="no"> | |
8927 | <autodoc>SetNoAntiAliasing(bool no=True)</autodoc> | |
8928 | <paramlist> | |
8929 | <param name="no" type="bool" default="True"/> | |
8930 | </paramlist> | |
8931 | </method> | |
8932 | <method name="GetNoAntiAliasing" type="bool" overloaded="no"> | |
8933 | <autodoc>GetNoAntiAliasing() -> bool</autodoc> | |
8934 | </method> | |
8935 | <staticmethod name="GetDefaultEncoding" type="wxFontEncoding" overloaded="no"> | |
8936 | <autodoc>GetDefaultEncoding() -> int</autodoc> | |
8937 | </staticmethod> | |
8938 | <staticmethod name="SetDefaultEncoding" type="" overloaded="no"> | |
8939 | <autodoc>SetDefaultEncoding(int encoding)</autodoc> | |
8940 | <paramlist> | |
8941 | <param name="encoding" type="wxFontEncoding" default=""/> | |
8942 | </paramlist> | |
8943 | </staticmethod> | |
8944 | </class> | |
8945 | <pythoncode> | |
8946 | #--------------------------------------------------------------------------- | |
8947 | </pythoncode> | |
8948 | <class name="FontEnumerator" oldname="wxPyFontEnumerator" module="gdi"> | |
8949 | <constructor name="wxPyFontEnumerator" overloaded="no"> | |
8950 | <autodoc>__init__() -> FontEnumerator</autodoc> | |
8951 | </constructor> | |
8952 | <destructor name="~wxPyFontEnumerator" overloaded="no"> | |
8953 | <autodoc>__del__()</autodoc> | |
8954 | </destructor> | |
8955 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
8956 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class, bool incref)</autodoc> | |
8957 | <paramlist> | |
8958 | <param name="self" type="PyObject" default=""/> | |
8959 | <param name="_class" type="PyObject" default=""/> | |
8960 | <param name="incref" type="bool" default=""/> | |
8961 | </paramlist> | |
8962 | </method> | |
8963 | <method name="EnumerateFacenames" type="bool" overloaded="no"> | |
8964 | <autodoc>EnumerateFacenames(int encoding=FONTENCODING_SYSTEM, bool fixedWidthOnly=False) -> bool</autodoc> | |
8965 | <paramlist> | |
8966 | <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_SYSTEM"/> | |
8967 | <param name="fixedWidthOnly" type="bool" default="False"/> | |
8968 | </paramlist> | |
8969 | </method> | |
8970 | <method name="EnumerateEncodings" type="bool" overloaded="no"> | |
8971 | <autodoc>EnumerateEncodings(String facename=EmptyString) -> bool</autodoc> | |
8972 | <paramlist> | |
8973 | <param name="facename" type="String" default="wxPyEmptyString"/> | |
8974 | </paramlist> | |
8975 | </method> | |
8976 | <method name="GetEncodings" type="PyObject" overloaded="no"> | |
8977 | <autodoc>GetEncodings() -> PyObject</autodoc> | |
8978 | </method> | |
8979 | <method name="GetFacenames" type="PyObject" overloaded="no"> | |
8980 | <autodoc>GetFacenames() -> PyObject</autodoc> | |
8981 | </method> | |
8982 | </class> | |
8983 | <pythoncode> | |
8984 | #--------------------------------------------------------------------------- | |
8985 | </pythoncode> | |
8986 | <class name="LanguageInfo" oldname="wxLanguageInfo" module="gdi"> | |
8987 | <property name="Language" type="int" readonly="no"/> | |
8988 | <property name="CanonicalName" type="String" readonly="no"/> | |
8989 | <property name="Description" type="String" readonly="no"/> | |
8990 | </class> | |
8991 | <class name="Locale" oldname="wxLocale" module="gdi"> | |
8992 | <constructor name="Locale" overloaded="no"> | |
8993 | <autodoc>__init__(int language=LANGUAGE_DEFAULT, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -> Locale</autodoc> | |
8994 | <paramlist> | |
8995 | <param name="language" type="int" default="wxLANGUAGE_DEFAULT"/> | |
8996 | <param name="flags" type="int" default="wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING"/> | |
8997 | </paramlist> | |
8998 | </constructor> | |
8999 | <destructor name="~wxLocale" overloaded="no"> | |
9000 | <autodoc>__del__()</autodoc> | |
9001 | </destructor> | |
9002 | <method name="Init1" type="bool" overloaded="no"> | |
9003 | <autodoc>Init1(String szName, String szShort=EmptyString, String szLocale=EmptyString, | |
9004 | bool bLoadDefault=True, | |
9005 | bool bConvertEncoding=False) -> bool</autodoc> | |
9006 | <paramlist> | |
9007 | <param name="szName" type="String" default=""/> | |
9008 | <param name="szShort" type="String" default="wxPyEmptyString"/> | |
9009 | <param name="szLocale" type="String" default="wxPyEmptyString"/> | |
9010 | <param name="bLoadDefault" type="bool" default="True"/> | |
9011 | <param name="bConvertEncoding" type="bool" default="False"/> | |
9012 | </paramlist> | |
9013 | </method> | |
9014 | <method name="Init2" type="bool" overloaded="no"> | |
9015 | <autodoc>Init2(int language=LANGUAGE_DEFAULT, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -> bool</autodoc> | |
9016 | <paramlist> | |
9017 | <param name="language" type="int" default="wxLANGUAGE_DEFAULT"/> | |
9018 | <param name="flags" type="int" default="wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING"/> | |
9019 | </paramlist> | |
9020 | </method> | |
9021 | <staticmethod name="GetSystemLanguage" type="int" overloaded="no"> | |
9022 | <autodoc>GetSystemLanguage() -> int</autodoc> | |
9023 | </staticmethod> | |
9024 | <staticmethod name="GetSystemEncoding" type="wxFontEncoding" overloaded="no"> | |
9025 | <autodoc>GetSystemEncoding() -> int</autodoc> | |
9026 | </staticmethod> | |
9027 | <staticmethod name="GetSystemEncodingName" type="String" overloaded="no"> | |
9028 | <autodoc>GetSystemEncodingName() -> String</autodoc> | |
9029 | </staticmethod> | |
9030 | <method name="IsOk" type="bool" overloaded="no"> | |
9031 | <autodoc>IsOk() -> bool</autodoc> | |
9032 | </method> | |
9033 | <method name="GetLocale" type="String" overloaded="no"> | |
9034 | <autodoc>GetLocale() -> String</autodoc> | |
9035 | </method> | |
9036 | <method name="GetLanguage" type="int" overloaded="no"> | |
9037 | <autodoc>GetLanguage() -> int</autodoc> | |
9038 | </method> | |
9039 | <method name="GetSysName" type="String" overloaded="no"> | |
9040 | <autodoc>GetSysName() -> String</autodoc> | |
9041 | </method> | |
9042 | <method name="GetCanonicalName" type="String" overloaded="no"> | |
9043 | <autodoc>GetCanonicalName() -> String</autodoc> | |
9044 | </method> | |
9045 | <staticmethod name="AddCatalogLookupPathPrefix" type="" overloaded="no"> | |
9046 | <autodoc>AddCatalogLookupPathPrefix(String prefix)</autodoc> | |
9047 | <paramlist> | |
9048 | <param name="prefix" type="String" default=""/> | |
9049 | </paramlist> | |
9050 | </staticmethod> | |
9051 | <method name="AddCatalog" type="bool" overloaded="no"> | |
9052 | <autodoc>AddCatalog(String szDomain) -> bool</autodoc> | |
9053 | <paramlist> | |
9054 | <param name="szDomain" type="String" default=""/> | |
9055 | </paramlist> | |
9056 | </method> | |
9057 | <method name="IsLoaded" type="bool" overloaded="no"> | |
9058 | <autodoc>IsLoaded(String szDomain) -> bool</autodoc> | |
9059 | <paramlist> | |
9060 | <param name="szDomain" type="String" default=""/> | |
9061 | </paramlist> | |
9062 | </method> | |
9063 | <staticmethod name="GetLanguageInfo" type="LanguageInfo" overloaded="no"> | |
9064 | <autodoc>GetLanguageInfo(int lang) -> LanguageInfo</autodoc> | |
9065 | <paramlist> | |
9066 | <param name="lang" type="int" default=""/> | |
9067 | </paramlist> | |
9068 | </staticmethod> | |
9069 | <staticmethod name="GetLanguageName" type="String" overloaded="no"> | |
9070 | <autodoc>GetLanguageName(int lang) -> String</autodoc> | |
9071 | <paramlist> | |
9072 | <param name="lang" type="int" default=""/> | |
9073 | </paramlist> | |
9074 | </staticmethod> | |
9075 | <staticmethod name="FindLanguageInfo" type="LanguageInfo" overloaded="no"> | |
9076 | <autodoc>FindLanguageInfo(String locale) -> LanguageInfo</autodoc> | |
9077 | <paramlist> | |
9078 | <param name="locale" type="String" default=""/> | |
9079 | </paramlist> | |
9080 | </staticmethod> | |
9081 | <staticmethod name="AddLanguage" type="" overloaded="no"> | |
9082 | <autodoc>AddLanguage(LanguageInfo info)</autodoc> | |
9083 | <paramlist> | |
9084 | <param name="info" type="LanguageInfo" default=""/> | |
9085 | </paramlist> | |
9086 | </staticmethod> | |
9087 | <method name="GetString" type="String" overloaded="no"> | |
9088 | <autodoc>GetString(String szOrigString, String szDomain=EmptyString) -> String</autodoc> | |
9089 | <paramlist> | |
9090 | <param name="szOrigString" type="String" default=""/> | |
9091 | <param name="szDomain" type="String" default="wxPyEmptyString"/> | |
9092 | </paramlist> | |
9093 | </method> | |
9094 | <method name="GetName" type="String" overloaded="no"> | |
9095 | <autodoc>GetName() -> String</autodoc> | |
9096 | </method> | |
9097 | </class> | |
9098 | <method name="GetLocale" oldname="wxGetLocale" type="Locale" overloaded="no"> | |
9099 | <autodoc>GetLocale() -> Locale</autodoc> | |
9100 | </method> | |
9101 | <method name="GetTranslation" oldname="wxGetTranslation" type="String" overloaded="yes"> | |
9102 | <paramlist> | |
9103 | <param name="str" type="String" default=""/> | |
9104 | </paramlist> | |
9105 | </method> | |
9106 | <method name="GetTranslation" oldname="wxGetTranslation" type="String" overloaded="yes"> | |
9107 | <autodoc>GetTranslation(String str) -> String | |
9108 | GetTranslation(String str, String strPlural, size_t n) -> String</autodoc> | |
856bf319 | 9109 | <paramlist> |
f32fc4bc RD |
9110 | <param name="str" type="String" default=""/> |
9111 | <param name="strPlural" type="String" default=""/> | |
9112 | <param name="n" type="size_t" default=""/> | |
856bf319 RD |
9113 | </paramlist> |
9114 | </method> | |
f32fc4bc | 9115 | <pythoncode> |
856bf319 RD |
9116 | #--------------------------------------------------------------------------- |
9117 | </pythoncode> | |
f32fc4bc RD |
9118 | <class name="EncodingConverter" oldname="wxEncodingConverter" module="gdi"> |
9119 | <baseclass name="Object"/> | |
9120 | <constructor name="EncodingConverter" overloaded="no"> | |
9121 | <autodoc>__init__() -> EncodingConverter</autodoc> | |
9122 | </constructor> | |
9123 | <destructor name="~wxEncodingConverter" overloaded="no"> | |
9124 | <autodoc>__del__()</autodoc> | |
9125 | </destructor> | |
9126 | <method name="Init" type="bool" overloaded="no"> | |
9127 | <autodoc>Init(int input_enc, int output_enc, int method=CONVERT_STRICT) -> bool</autodoc> | |
9128 | <paramlist> | |
9129 | <param name="input_enc" type="wxFontEncoding" default=""/> | |
9130 | <param name="output_enc" type="wxFontEncoding" default=""/> | |
9131 | <param name="method" type="int" default="wxCONVERT_STRICT"/> | |
9132 | </paramlist> | |
9133 | </method> | |
9134 | <method name="Convert" type="String" overloaded="no"> | |
9135 | <autodoc>Convert(String input) -> String</autodoc> | |
9136 | <paramlist> | |
9137 | <param name="input" type="String" default=""/> | |
9138 | </paramlist> | |
9139 | </method> | |
9140 | <staticmethod name="GetPlatformEquivalents" type="wxFontEncodingArray" overloaded="no"> | |
9141 | <autodoc>GetPlatformEquivalents(int enc, int platform=PLATFORM_CURRENT) -> wxFontEncodingArray</autodoc> | |
9142 | <paramlist> | |
9143 | <param name="enc" type="wxFontEncoding" default=""/> | |
9144 | <param name="platform" type="int" default="wxPLATFORM_CURRENT"/> | |
9145 | </paramlist> | |
9146 | </staticmethod> | |
9147 | <staticmethod name="GetAllEquivalents" type="wxFontEncodingArray" overloaded="no"> | |
9148 | <autodoc>GetAllEquivalents(int enc) -> wxFontEncodingArray</autodoc> | |
9149 | <paramlist> | |
9150 | <param name="enc" type="wxFontEncoding" default=""/> | |
9151 | </paramlist> | |
9152 | </staticmethod> | |
9153 | <staticmethod name="CanConvert" type="bool" overloaded="no"> | |
9154 | <autodoc>CanConvert(int encIn, int encOut) -> bool</autodoc> | |
9155 | <paramlist> | |
9156 | <param name="encIn" type="wxFontEncoding" default=""/> | |
9157 | <param name="encOut" type="wxFontEncoding" default=""/> | |
9158 | </paramlist> | |
9159 | </staticmethod> | |
9160 | </class> | |
9161 | <pythoncode>#---------------------------------------------------------------------------- | |
9162 | # wxGTK sets the locale when initialized. Doing this at the Python | |
9163 | # level should set it up to match what GTK is doing at the C level. | |
9164 | if wx.Platform == "__WXGTK__": | |
9165 | try: | |
9166 | import locale | |
9167 | locale.setlocale(locale.LC_ALL, "") | |
9168 | except: | |
9169 | pass | |
9170 | ||
9171 | # On MSW add the directory where the wxWindows catalogs were installed | |
9172 | # to the default catalog path. | |
9173 | if wx.Platform == "__WXMSW__": | |
9174 | import os | |
9175 | localedir = os.path.join(os.path.split(__file__)[0], "locale") | |
9176 | Locale_AddCatalogLookupPathPrefix(localedir) | |
9177 | del os | |
9178 | ||
9179 | #---------------------------------------------------------------------------- | |
9180 | </pythoncode> | |
9181 | <pythoncode> | |
0f43fbdf RD |
9182 | #--------------------------------------------------------------------------- |
9183 | </pythoncode> | |
f32fc4bc RD |
9184 | <class name="DC" oldname="wxDC" module="gdi"> |
9185 | <baseclass name="Object"/> | |
9186 | <destructor name="~wxDC" overloaded="no"> | |
9187 | <autodoc>__del__()</autodoc> | |
9188 | </destructor> | |
9189 | <method name="BeginDrawing" type="" overloaded="no"> | |
9190 | <autodoc>BeginDrawing()</autodoc> | |
9191 | </method> | |
9192 | <method name="EndDrawing" type="" overloaded="no"> | |
9193 | <autodoc>EndDrawing()</autodoc> | |
9194 | </method> | |
9195 | <method name="FloodFillXY" type="bool" overloaded="no"> | |
9196 | <autodoc>FloodFillXY(int x, int y, Colour col, int style=FLOOD_SURFACE) -> bool</autodoc> | |
9197 | <paramlist> | |
9198 | <param name="x" type="int" default=""/> | |
9199 | <param name="y" type="int" default=""/> | |
9200 | <param name="col" type="Colour" default=""/> | |
9201 | <param name="style" type="int" default="wxFLOOD_SURFACE"/> | |
9202 | </paramlist> | |
9203 | </method> | |
9204 | <method name="FloodFill" type="bool" overloaded="no"> | |
9205 | <autodoc>FloodFill(Point pt, Colour col, int style=FLOOD_SURFACE) -> bool</autodoc> | |
9206 | <paramlist> | |
9207 | <param name="pt" type="Point" default=""/> | |
9208 | <param name="col" type="Colour" default=""/> | |
9209 | <param name="style" type="int" default="wxFLOOD_SURFACE"/> | |
9210 | </paramlist> | |
9211 | </method> | |
9212 | <method name="GetPixelXY" type="Colour" overloaded="no"> | |
9213 | <autodoc>GetPixelXY(int x, int y) -> Colour</autodoc> | |
9214 | <paramlist> | |
9215 | <param name="x" type="int" default=""/> | |
9216 | <param name="y" type="int" default=""/> | |
9217 | </paramlist> | |
9218 | </method> | |
9219 | <method name="GetPixel" type="Colour" overloaded="no"> | |
9220 | <autodoc>GetPixel(Point pt) -> Colour</autodoc> | |
9221 | <paramlist> | |
9222 | <param name="pt" type="Point" default=""/> | |
9223 | </paramlist> | |
9224 | </method> | |
9225 | <method name="DrawLineXY" type="" overloaded="no"> | |
9226 | <autodoc>DrawLineXY(int x1, int y1, int x2, int y2)</autodoc> | |
9227 | <paramlist> | |
9228 | <param name="x1" type="int" default=""/> | |
9229 | <param name="y1" type="int" default=""/> | |
9230 | <param name="x2" type="int" default=""/> | |
9231 | <param name="y2" type="int" default=""/> | |
9232 | </paramlist> | |
9233 | </method> | |
9234 | <method name="DrawLine" type="" overloaded="no"> | |
9235 | <autodoc>DrawLine(Point pt1, Point pt2)</autodoc> | |
9236 | <paramlist> | |
9237 | <param name="pt1" type="Point" default=""/> | |
9238 | <param name="pt2" type="Point" default=""/> | |
9239 | </paramlist> | |
9240 | </method> | |
9241 | <method name="CrossHairXY" type="" overloaded="no"> | |
9242 | <autodoc>CrossHairXY(int x, int y)</autodoc> | |
9243 | <paramlist> | |
9244 | <param name="x" type="int" default=""/> | |
9245 | <param name="y" type="int" default=""/> | |
9246 | </paramlist> | |
9247 | </method> | |
9248 | <method name="CrossHair" type="" overloaded="no"> | |
9249 | <autodoc>CrossHair(Point pt)</autodoc> | |
9250 | <paramlist> | |
9251 | <param name="pt" type="Point" default=""/> | |
9252 | </paramlist> | |
9253 | </method> | |
9254 | <method name="DrawArcXY" type="" overloaded="no"> | |
9255 | <autodoc>DrawArcXY(int x1, int y1, int x2, int y2, int xc, int yc)</autodoc> | |
9256 | <paramlist> | |
9257 | <param name="x1" type="int" default=""/> | |
9258 | <param name="y1" type="int" default=""/> | |
9259 | <param name="x2" type="int" default=""/> | |
9260 | <param name="y2" type="int" default=""/> | |
9261 | <param name="xc" type="int" default=""/> | |
9262 | <param name="yc" type="int" default=""/> | |
9263 | </paramlist> | |
9264 | </method> | |
9265 | <method name="DrawArc" type="" overloaded="no"> | |
9266 | <autodoc>DrawArc(Point pt1, Point pt2, Point centre)</autodoc> | |
9267 | <paramlist> | |
9268 | <param name="pt1" type="Point" default=""/> | |
9269 | <param name="pt2" type="Point" default=""/> | |
9270 | <param name="centre" type="Point" default=""/> | |
9271 | </paramlist> | |
9272 | </method> | |
9273 | <method name="DrawCheckMarkXY" type="" overloaded="no"> | |
9274 | <autodoc>DrawCheckMarkXY(int x, int y, int width, int height)</autodoc> | |
9275 | <paramlist> | |
9276 | <param name="x" type="int" default=""/> | |
9277 | <param name="y" type="int" default=""/> | |
9278 | <param name="width" type="int" default=""/> | |
9279 | <param name="height" type="int" default=""/> | |
9280 | </paramlist> | |
9281 | </method> | |
9282 | <method name="DrawCheckMark" type="" overloaded="no"> | |
9283 | <autodoc>DrawCheckMark(Rect rect)</autodoc> | |
9284 | <paramlist> | |
9285 | <param name="rect" type="Rect" default=""/> | |
9286 | </paramlist> | |
9287 | </method> | |
9288 | <method name="DrawEllipticArcXY" type="" overloaded="no"> | |
9289 | <autodoc>DrawEllipticArcXY(int x, int y, int w, int h, double sa, double ea)</autodoc> | |
9290 | <paramlist> | |
9291 | <param name="x" type="int" default=""/> | |
9292 | <param name="y" type="int" default=""/> | |
9293 | <param name="w" type="int" default=""/> | |
9294 | <param name="h" type="int" default=""/> | |
9295 | <param name="sa" type="double" default=""/> | |
9296 | <param name="ea" type="double" default=""/> | |
9297 | </paramlist> | |
9298 | </method> | |
9299 | <method name="DrawEllipticArc" type="" overloaded="no"> | |
9300 | <autodoc>DrawEllipticArc(Point pt, Size sz, double sa, double ea)</autodoc> | |
9301 | <paramlist> | |
9302 | <param name="pt" type="Point" default=""/> | |
9303 | <param name="sz" type="Size" default=""/> | |
9304 | <param name="sa" type="double" default=""/> | |
9305 | <param name="ea" type="double" default=""/> | |
9306 | </paramlist> | |
9307 | </method> | |
9308 | <method name="DrawPointXY" type="" overloaded="no"> | |
9309 | <autodoc>DrawPointXY(int x, int y)</autodoc> | |
9310 | <paramlist> | |
9311 | <param name="x" type="int" default=""/> | |
9312 | <param name="y" type="int" default=""/> | |
9313 | </paramlist> | |
9314 | </method> | |
9315 | <method name="DrawPoint" type="" overloaded="no"> | |
9316 | <autodoc>DrawPoint(Point pt)</autodoc> | |
9317 | <paramlist> | |
9318 | <param name="pt" type="Point" default=""/> | |
9319 | </paramlist> | |
9320 | </method> | |
9321 | <method name="DrawRectangleXY" type="" overloaded="no"> | |
9322 | <autodoc>DrawRectangleXY(int x, int y, int width, int height)</autodoc> | |
9323 | <paramlist> | |
9324 | <param name="x" type="int" default=""/> | |
9325 | <param name="y" type="int" default=""/> | |
9326 | <param name="width" type="int" default=""/> | |
9327 | <param name="height" type="int" default=""/> | |
9328 | </paramlist> | |
9329 | </method> | |
9330 | <method name="DrawRectangle" type="" overloaded="no"> | |
9331 | <autodoc>DrawRectangle(Point pt, Size sz)</autodoc> | |
9332 | <paramlist> | |
9333 | <param name="pt" type="Point" default=""/> | |
9334 | <param name="sz" type="Size" default=""/> | |
9335 | </paramlist> | |
9336 | </method> | |
9337 | <method name="DrawRectangleRect" type="" overloaded="no"> | |
9338 | <autodoc>DrawRectangleRect(Rect rect)</autodoc> | |
9339 | <paramlist> | |
9340 | <param name="rect" type="Rect" default=""/> | |
9341 | </paramlist> | |
9342 | </method> | |
9343 | <method name="DrawRoundedRectangleXY" type="" overloaded="no"> | |
9344 | <autodoc>DrawRoundedRectangleXY(int x, int y, int width, int height, double radius)</autodoc> | |
9345 | <paramlist> | |
9346 | <param name="x" type="int" default=""/> | |
9347 | <param name="y" type="int" default=""/> | |
9348 | <param name="width" type="int" default=""/> | |
9349 | <param name="height" type="int" default=""/> | |
9350 | <param name="radius" type="double" default=""/> | |
9351 | </paramlist> | |
9352 | </method> | |
9353 | <method name="DrawRoundedRectangle" type="" overloaded="no"> | |
9354 | <autodoc>DrawRoundedRectangle(Point pt, Size sz, double radius)</autodoc> | |
9355 | <paramlist> | |
9356 | <param name="pt" type="Point" default=""/> | |
9357 | <param name="sz" type="Size" default=""/> | |
9358 | <param name="radius" type="double" default=""/> | |
9359 | </paramlist> | |
9360 | </method> | |
9361 | <method name="DrawRoundedRectangleRect" type="" overloaded="no"> | |
9362 | <autodoc>DrawRoundedRectangleRect(Rect r, double radius)</autodoc> | |
9363 | <paramlist> | |
9364 | <param name="r" type="Rect" default=""/> | |
9365 | <param name="radius" type="double" default=""/> | |
9366 | </paramlist> | |
9367 | </method> | |
9368 | <method name="DrawCircleXY" type="" overloaded="no"> | |
9369 | <autodoc>DrawCircleXY(int x, int y, int radius)</autodoc> | |
9370 | <paramlist> | |
9371 | <param name="x" type="int" default=""/> | |
9372 | <param name="y" type="int" default=""/> | |
9373 | <param name="radius" type="int" default=""/> | |
9374 | </paramlist> | |
9375 | </method> | |
9376 | <method name="DrawCircle" type="" overloaded="no"> | |
9377 | <autodoc>DrawCircle(Point pt, int radius)</autodoc> | |
9378 | <paramlist> | |
9379 | <param name="pt" type="Point" default=""/> | |
9380 | <param name="radius" type="int" default=""/> | |
9381 | </paramlist> | |
9382 | </method> | |
9383 | <method name="DrawEllipseXY" type="" overloaded="no"> | |
9384 | <autodoc>DrawEllipseXY(int x, int y, int width, int height)</autodoc> | |
9385 | <paramlist> | |
9386 | <param name="x" type="int" default=""/> | |
9387 | <param name="y" type="int" default=""/> | |
9388 | <param name="width" type="int" default=""/> | |
9389 | <param name="height" type="int" default=""/> | |
9390 | </paramlist> | |
9391 | </method> | |
9392 | <method name="DrawEllipse" type="" overloaded="no"> | |
9393 | <autodoc>DrawEllipse(Point pt, Size sz)</autodoc> | |
9394 | <paramlist> | |
9395 | <param name="pt" type="Point" default=""/> | |
9396 | <param name="sz" type="Size" default=""/> | |
9397 | </paramlist> | |
9398 | </method> | |
9399 | <method name="DrawEllipseRect" type="" overloaded="no"> | |
9400 | <autodoc>DrawEllipseRect(Rect rect)</autodoc> | |
9401 | <paramlist> | |
9402 | <param name="rect" type="Rect" default=""/> | |
9403 | </paramlist> | |
9404 | </method> | |
9405 | <method name="DrawIconXY" type="" overloaded="no"> | |
9406 | <autodoc>DrawIconXY(Icon icon, int x, int y)</autodoc> | |
9407 | <paramlist> | |
9408 | <param name="icon" type="Icon" default=""/> | |
9409 | <param name="x" type="int" default=""/> | |
9410 | <param name="y" type="int" default=""/> | |
9411 | </paramlist> | |
9412 | </method> | |
9413 | <method name="DrawIcon" type="" overloaded="no"> | |
9414 | <autodoc>DrawIcon(Icon icon, Point pt)</autodoc> | |
9415 | <paramlist> | |
9416 | <param name="icon" type="Icon" default=""/> | |
9417 | <param name="pt" type="Point" default=""/> | |
9418 | </paramlist> | |
9419 | </method> | |
9420 | <method name="DrawBitmapXY" type="" overloaded="no"> | |
9421 | <autodoc>DrawBitmapXY(Bitmap bmp, int x, int y, bool useMask=False)</autodoc> | |
9422 | <paramlist> | |
9423 | <param name="bmp" type="Bitmap" default=""/> | |
9424 | <param name="x" type="int" default=""/> | |
9425 | <param name="y" type="int" default=""/> | |
9426 | <param name="useMask" type="bool" default="False"/> | |
9427 | </paramlist> | |
9428 | </method> | |
9429 | <method name="DrawBitmap" type="" overloaded="no"> | |
9430 | <autodoc>DrawBitmap(Bitmap bmp, Point pt, bool useMask=False)</autodoc> | |
9431 | <paramlist> | |
9432 | <param name="bmp" type="Bitmap" default=""/> | |
9433 | <param name="pt" type="Point" default=""/> | |
9434 | <param name="useMask" type="bool" default="False"/> | |
9435 | </paramlist> | |
9436 | </method> | |
9437 | <method name="DrawTextXY" type="" overloaded="no"> | |
9438 | <autodoc>DrawTextXY(String text, int x, int y)</autodoc> | |
9439 | <paramlist> | |
9440 | <param name="text" type="String" default=""/> | |
9441 | <param name="x" type="int" default=""/> | |
9442 | <param name="y" type="int" default=""/> | |
9443 | </paramlist> | |
9444 | </method> | |
9445 | <method name="DrawText" type="" overloaded="no"> | |
9446 | <autodoc>DrawText(String text, Point pt)</autodoc> | |
9447 | <paramlist> | |
9448 | <param name="text" type="String" default=""/> | |
9449 | <param name="pt" type="Point" default=""/> | |
9450 | </paramlist> | |
9451 | </method> | |
9452 | <method name="DrawRotatedTextXY" type="" overloaded="no"> | |
9453 | <autodoc>DrawRotatedTextXY(String text, int x, int y, double angle)</autodoc> | |
9454 | <paramlist> | |
9455 | <param name="text" type="String" default=""/> | |
9456 | <param name="x" type="int" default=""/> | |
9457 | <param name="y" type="int" default=""/> | |
9458 | <param name="angle" type="double" default=""/> | |
9459 | </paramlist> | |
9460 | </method> | |
9461 | <method name="DrawRotatedText" type="" overloaded="no"> | |
9462 | <autodoc>DrawRotatedText(String text, Point pt, double angle)</autodoc> | |
9463 | <paramlist> | |
9464 | <param name="text" type="String" default=""/> | |
9465 | <param name="pt" type="Point" default=""/> | |
9466 | <param name="angle" type="double" default=""/> | |
9467 | </paramlist> | |
9468 | </method> | |
9469 | <method name="BlitXY" type="bool" overloaded="no"> | |
9470 | <autodoc>BlitXY(int xdest, int ydest, int width, int height, DC source, | |
9471 | int xsrc, int ysrc, int rop=COPY, bool useMask=False, | |
9472 | int xsrcMask=-1, int ysrcMask=-1) -> bool</autodoc> | |
9473 | <paramlist> | |
9474 | <param name="xdest" type="int" default=""/> | |
9475 | <param name="ydest" type="int" default=""/> | |
9476 | <param name="width" type="int" default=""/> | |
9477 | <param name="height" type="int" default=""/> | |
9478 | <param name="source" type="DC" default=""/> | |
9479 | <param name="xsrc" type="int" default=""/> | |
9480 | <param name="ysrc" type="int" default=""/> | |
9481 | <param name="rop" type="int" default="wxCOPY"/> | |
9482 | <param name="useMask" type="bool" default="False"/> | |
9483 | <param name="xsrcMask" type="int" default="-1"/> | |
9484 | <param name="ysrcMask" type="int" default="-1"/> | |
9485 | </paramlist> | |
9486 | </method> | |
9487 | <method name="Blit" type="bool" overloaded="no"> | |
9488 | <autodoc>Blit(Point destPt, Size sz, DC source, Point srcPt, int rop=COPY, | |
9489 | bool useMask=False, Point srcPtMask=DefaultPosition) -> bool</autodoc> | |
9490 | <paramlist> | |
9491 | <param name="destPt" type="Point" default=""/> | |
9492 | <param name="sz" type="Size" default=""/> | |
9493 | <param name="source" type="DC" default=""/> | |
9494 | <param name="srcPt" type="Point" default=""/> | |
9495 | <param name="rop" type="int" default="wxCOPY"/> | |
9496 | <param name="useMask" type="bool" default="False"/> | |
9497 | <param name="srcPtMask" type="Point" default="wxDefaultPosition"/> | |
9498 | </paramlist> | |
9499 | </method> | |
9500 | <method name="DrawLines" type="" overloaded="no"> | |
9501 | <autodoc>DrawLines(int points, Point points_array, int xoffset=0, int yoffset=0)</autodoc> | |
9502 | <paramlist> | |
9503 | <param name="points" type="int" default=""/> | |
9504 | <param name="points_array" type="Point" default=""/> | |
9505 | <param name="xoffset" type="int" default="0"/> | |
9506 | <param name="yoffset" type="int" default="0"/> | |
9507 | </paramlist> | |
9508 | </method> | |
9509 | <method name="DrawPolygon" type="" overloaded="no"> | |
9510 | <autodoc>DrawPolygon(int points, Point points_array, int xoffset=0, int yoffset=0, | |
9511 | int fillStyle=ODDEVEN_RULE)</autodoc> | |
9512 | <paramlist> | |
9513 | <param name="points" type="int" default=""/> | |
9514 | <param name="points_array" type="Point" default=""/> | |
9515 | <param name="xoffset" type="int" default="0"/> | |
9516 | <param name="yoffset" type="int" default="0"/> | |
9517 | <param name="fillStyle" type="int" default="wxODDEVEN_RULE"/> | |
9518 | </paramlist> | |
9519 | </method> | |
9520 | <method name="DrawLabel" type="" overloaded="no"> | |
9521 | <autodoc>DrawLabel(String text, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, | |
9522 | int indexAccel=-1)</autodoc> | |
9523 | <paramlist> | |
9524 | <param name="text" type="String" default=""/> | |
9525 | <param name="rect" type="Rect" default=""/> | |
9526 | <param name="alignment" type="int" default="wxALIGN_LEFT|wxALIGN_TOP"/> | |
9527 | <param name="indexAccel" type="int" default="-1"/> | |
9528 | </paramlist> | |
9529 | </method> | |
9530 | <method name="DrawImageLabel" type="Rect" overloaded="no"> | |
9531 | <autodoc>DrawImageLabel(String text, Bitmap image, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, | |
9532 | int indexAccel=-1) -> Rect</autodoc> | |
9533 | <paramlist> | |
9534 | <param name="text" type="String" default=""/> | |
9535 | <param name="image" type="Bitmap" default=""/> | |
9536 | <param name="rect" type="Rect" default=""/> | |
9537 | <param name="alignment" type="int" default="wxALIGN_LEFT|wxALIGN_TOP"/> | |
9538 | <param name="indexAccel" type="int" default="-1"/> | |
9539 | </paramlist> | |
9540 | </method> | |
9541 | <method name="DrawSpline" type="" overloaded="no"> | |
9542 | <autodoc>DrawSpline(int points, Point points_array)</autodoc> | |
9543 | <paramlist> | |
9544 | <param name="points" type="int" default=""/> | |
9545 | <param name="points_array" type="Point" default=""/> | |
9546 | </paramlist> | |
9547 | </method> | |
9548 | <method name="Clear" type="" overloaded="no"> | |
9549 | <autodoc>Clear()</autodoc> | |
9550 | </method> | |
9551 | <method name="StartDoc" type="bool" overloaded="no"> | |
9552 | <autodoc>StartDoc(String message) -> bool</autodoc> | |
9553 | <paramlist> | |
9554 | <param name="message" type="String" default=""/> | |
9555 | </paramlist> | |
9556 | </method> | |
9557 | <method name="EndDoc" type="" overloaded="no"> | |
9558 | <autodoc>EndDoc()</autodoc> | |
9559 | </method> | |
9560 | <method name="StartPage" type="" overloaded="no"> | |
9561 | <autodoc>StartPage()</autodoc> | |
9562 | </method> | |
9563 | <method name="EndPage" type="" overloaded="no"> | |
9564 | <autodoc>EndPage()</autodoc> | |
9565 | </method> | |
9566 | <method name="SetFont" type="" overloaded="no"> | |
9567 | <autodoc>SetFont(Font font)</autodoc> | |
9568 | <paramlist> | |
9569 | <param name="font" type="Font" default=""/> | |
9570 | </paramlist> | |
9571 | </method> | |
9572 | <method name="SetPen" type="" overloaded="no"> | |
9573 | <autodoc>SetPen(Pen pen)</autodoc> | |
9574 | <paramlist> | |
9575 | <param name="pen" type="Pen" default=""/> | |
9576 | </paramlist> | |
9577 | </method> | |
9578 | <method name="SetBrush" type="" overloaded="no"> | |
9579 | <autodoc>SetBrush(Brush brush)</autodoc> | |
9580 | <paramlist> | |
9581 | <param name="brush" type="Brush" default=""/> | |
9582 | </paramlist> | |
9583 | </method> | |
9584 | <method name="SetBackground" type="" overloaded="no"> | |
9585 | <autodoc>SetBackground(Brush brush)</autodoc> | |
9586 | <paramlist> | |
9587 | <param name="brush" type="Brush" default=""/> | |
9588 | </paramlist> | |
9589 | </method> | |
9590 | <method name="SetBackgroundMode" type="" overloaded="no"> | |
9591 | <autodoc>SetBackgroundMode(int mode)</autodoc> | |
9592 | <paramlist> | |
9593 | <param name="mode" type="int" default=""/> | |
9594 | </paramlist> | |
9595 | </method> | |
9596 | <method name="SetPalette" type="" overloaded="no"> | |
9597 | <autodoc>SetPalette(Palette palette)</autodoc> | |
9598 | <paramlist> | |
9599 | <param name="palette" type="Palette" default=""/> | |
9600 | </paramlist> | |
9601 | </method> | |
9602 | <method name="SetClippingRegionXY" type="" overloaded="no"> | |
9603 | <autodoc>SetClippingRegionXY(int x, int y, int width, int height)</autodoc> | |
9604 | <paramlist> | |
9605 | <param name="x" type="int" default=""/> | |
9606 | <param name="y" type="int" default=""/> | |
9607 | <param name="width" type="int" default=""/> | |
9608 | <param name="height" type="int" default=""/> | |
9609 | </paramlist> | |
9610 | </method> | |
9611 | <method name="SetClippingRegion" type="" overloaded="no"> | |
9612 | <autodoc>SetClippingRegion(Point pt, Size sz)</autodoc> | |
9613 | <paramlist> | |
9614 | <param name="pt" type="Point" default=""/> | |
9615 | <param name="sz" type="Size" default=""/> | |
9616 | </paramlist> | |
9617 | </method> | |
9618 | <method name="SetClippingRect" type="" overloaded="no"> | |
9619 | <autodoc>SetClippingRect(Rect rect)</autodoc> | |
9620 | <paramlist> | |
9621 | <param name="rect" type="Rect" default=""/> | |
9622 | </paramlist> | |
9623 | </method> | |
9624 | <method name="SetClippingRegionAsRegion" type="" overloaded="no"> | |
9625 | <autodoc>SetClippingRegionAsRegion(Region region)</autodoc> | |
9626 | <paramlist> | |
9627 | <param name="region" type="Region" default=""/> | |
9628 | </paramlist> | |
9629 | </method> | |
9630 | <method name="DestroyClippingRegion" type="" overloaded="no"> | |
9631 | <autodoc>DestroyClippingRegion()</autodoc> | |
9632 | </method> | |
9633 | <method name="GetClippingBox" type="" overloaded="no"> | |
9634 | <autodoc>GetClippingBox() -> (x, y, width, height)</autodoc> | |
9635 | <paramlist> | |
9636 | <param name="OUTPUT" type="int" default=""/> | |
9637 | <param name="OUTPUT" type="int" default=""/> | |
9638 | <param name="OUTPUT" type="int" default=""/> | |
9639 | <param name="OUTPUT" type="int" default=""/> | |
9640 | </paramlist> | |
9641 | </method> | |
9642 | <method name="GetClippingRect" type="Rect" overloaded="no"> | |
9643 | <autodoc>GetClippingRect() -> Rect</autodoc> | |
9644 | </method> | |
9645 | <method name="GetCharHeight" type="int" overloaded="no"> | |
9646 | <autodoc>GetCharHeight() -> int</autodoc> | |
9647 | </method> | |
9648 | <method name="GetCharWidth" type="int" overloaded="no"> | |
9649 | <autodoc>GetCharWidth() -> int</autodoc> | |
9650 | </method> | |
9651 | <method name="GetTextExtent" type="" overloaded="no"> | |
9652 | <autodoc>GetTextExtent(wxString string) -> (width, height)</autodoc> | |
9653 | <docstring>Get the width and height of the text using the current font. | |
9654 | Only works for single line strings.</docstring> | |
9655 | <paramlist> | |
9656 | <param name="string" type="String" default=""/> | |
9657 | <param name="OUTPUT" type="int" default=""/> | |
9658 | <param name="OUTPUT" type="int" default=""/> | |
9659 | </paramlist> | |
9660 | </method> | |
9661 | <method name="GetFullTextExtent" type="" overloaded="no"> | |
9662 | <autodoc>GetFullTextExtent(wxString string, Font font=None) -> | |
9663 | (width, height, descent, externalLeading)</autodoc> | |
9664 | <docstring>Get the width, height, decent and leading of the text using the current or specified font. | |
9665 | Only works for single line strings.</docstring> | |
9666 | <paramlist> | |
9667 | <param name="string" type="String" default=""/> | |
9668 | <param name="OUTPUT" type="int" default=""/> | |
9669 | <param name="OUTPUT" type="int" default=""/> | |
9670 | <param name="OUTPUT" type="int" default=""/> | |
9671 | <param name="OUTPUT" type="int" default=""/> | |
9672 | <param name="font" type="Font" default="NULL"/> | |
9673 | </paramlist> | |
9674 | </method> | |
9675 | <method name="GetMultiLineTextExtent" type="" overloaded="no"> | |
9676 | <autodoc>GetMultiLineTextExtent(wxString string, Font font=None) -> | |
9677 | (width, height, descent, externalLeading)</autodoc> | |
9678 | <docstring>Get the width, height, decent and leading of the text using the current or specified font. | |
9679 | Works for single as well as multi-line strings.</docstring> | |
9680 | <paramlist> | |
9681 | <param name="text" type="String" default=""/> | |
9682 | <param name="OUTPUT" type="int" default=""/> | |
9683 | <param name="OUTPUT" type="int" default=""/> | |
9684 | <param name="OUTPUT" type="int" default=""/> | |
9685 | <param name="font" type="Font" default="NULL"/> | |
9686 | </paramlist> | |
9687 | </method> | |
9688 | <method name="GetPartialTextExtents" type="wxArrayInt" overloaded="no"> | |
9689 | <autodoc>GetPartialTextExtents(String text) -> wxArrayInt</autodoc> | |
9690 | <paramlist> | |
9691 | <param name="text" type="String" default=""/> | |
9692 | </paramlist> | |
9693 | </method> | |
9694 | <method name="GetSize" type="Size" overloaded="no"> | |
9695 | <autodoc>GetSize() -> Size</autodoc> | |
9696 | <docstring>Get the DC size in device units.</docstring> | |
9697 | </method> | |
9698 | <method name="GetSizeTuple" type="" overloaded="no"> | |
9699 | <autodoc>GetSizeTuple() -> (width, height)</autodoc> | |
9700 | <docstring>Get the DC size in device units.</docstring> | |
9701 | <paramlist> | |
9702 | <param name="OUTPUT" type="int" default=""/> | |
9703 | <param name="OUTPUT" type="int" default=""/> | |
9704 | </paramlist> | |
9705 | </method> | |
9706 | <method name="GetSizeMM" type="Size" overloaded="no"> | |
9707 | <autodoc>GetSizeMM() -> Size</autodoc> | |
9708 | <docstring>Get the DC size in milimeters.</docstring> | |
9709 | </method> | |
9710 | <method name="GetSizeMMTuple" type="" overloaded="no"> | |
9711 | <autodoc>GetSizeMMTuple() -> (width, height)</autodoc> | |
9712 | <docstring>Get the DC size in milimeters.</docstring> | |
9713 | <paramlist> | |
9714 | <param name="OUTPUT" type="int" default=""/> | |
9715 | <param name="OUTPUT" type="int" default=""/> | |
9716 | </paramlist> | |
9717 | </method> | |
9718 | <method name="DeviceToLogicalX" type="int" overloaded="no"> | |
9719 | <autodoc>DeviceToLogicalX(int x) -> int</autodoc> | |
9720 | <paramlist> | |
9721 | <param name="x" type="int" default=""/> | |
9722 | </paramlist> | |
9723 | </method> | |
9724 | <method name="DeviceToLogicalY" type="int" overloaded="no"> | |
9725 | <autodoc>DeviceToLogicalY(int y) -> int</autodoc> | |
9726 | <paramlist> | |
9727 | <param name="y" type="int" default=""/> | |
9728 | </paramlist> | |
9729 | </method> | |
9730 | <method name="DeviceToLogicalXRel" type="int" overloaded="no"> | |
9731 | <autodoc>DeviceToLogicalXRel(int x) -> int</autodoc> | |
9732 | <paramlist> | |
9733 | <param name="x" type="int" default=""/> | |
9734 | </paramlist> | |
9735 | </method> | |
9736 | <method name="DeviceToLogicalYRel" type="int" overloaded="no"> | |
9737 | <autodoc>DeviceToLogicalYRel(int y) -> int</autodoc> | |
9738 | <paramlist> | |
9739 | <param name="y" type="int" default=""/> | |
9740 | </paramlist> | |
9741 | </method> | |
9742 | <method name="LogicalToDeviceX" type="int" overloaded="no"> | |
9743 | <autodoc>LogicalToDeviceX(int x) -> int</autodoc> | |
9744 | <paramlist> | |
9745 | <param name="x" type="int" default=""/> | |
9746 | </paramlist> | |
9747 | </method> | |
9748 | <method name="LogicalToDeviceY" type="int" overloaded="no"> | |
9749 | <autodoc>LogicalToDeviceY(int y) -> int</autodoc> | |
9750 | <paramlist> | |
9751 | <param name="y" type="int" default=""/> | |
9752 | </paramlist> | |
9753 | </method> | |
9754 | <method name="LogicalToDeviceXRel" type="int" overloaded="no"> | |
9755 | <autodoc>LogicalToDeviceXRel(int x) -> int</autodoc> | |
9756 | <paramlist> | |
9757 | <param name="x" type="int" default=""/> | |
9758 | </paramlist> | |
9759 | </method> | |
9760 | <method name="LogicalToDeviceYRel" type="int" overloaded="no"> | |
9761 | <autodoc>LogicalToDeviceYRel(int y) -> int</autodoc> | |
9762 | <paramlist> | |
9763 | <param name="y" type="int" default=""/> | |
9764 | </paramlist> | |
9765 | </method> | |
9766 | <method name="CanDrawBitmap" type="bool" overloaded="no"> | |
9767 | <autodoc>CanDrawBitmap() -> bool</autodoc> | |
9768 | </method> | |
9769 | <method name="CanGetTextExtent" type="bool" overloaded="no"> | |
9770 | <autodoc>CanGetTextExtent() -> bool</autodoc> | |
9771 | </method> | |
9772 | <method name="GetDepth" type="int" overloaded="no"> | |
9773 | <autodoc>GetDepth() -> int</autodoc> | |
9774 | </method> | |
9775 | <method name="GetPPI" type="Size" overloaded="no"> | |
9776 | <autodoc>GetPPI() -> Size</autodoc> | |
9777 | </method> | |
9778 | <method name="Ok" type="bool" overloaded="no"> | |
9779 | <autodoc>Ok() -> bool</autodoc> | |
9780 | </method> | |
9781 | <method name="GetBackgroundMode" type="int" overloaded="no"> | |
9782 | <autodoc>GetBackgroundMode() -> int</autodoc> | |
9783 | </method> | |
9784 | <method name="GetBackground" type="Brush" overloaded="no"> | |
9785 | <autodoc>GetBackground() -> Brush</autodoc> | |
9786 | </method> | |
9787 | <method name="GetBrush" type="Brush" overloaded="no"> | |
9788 | <autodoc>GetBrush() -> Brush</autodoc> | |
9789 | </method> | |
9790 | <method name="GetFont" type="Font" overloaded="no"> | |
9791 | <autodoc>GetFont() -> Font</autodoc> | |
9792 | </method> | |
9793 | <method name="GetPen" type="Pen" overloaded="no"> | |
9794 | <autodoc>GetPen() -> Pen</autodoc> | |
9795 | </method> | |
9796 | <method name="GetTextBackground" type="Colour" overloaded="no"> | |
9797 | <autodoc>GetTextBackground() -> Colour</autodoc> | |
9798 | </method> | |
9799 | <method name="GetTextForeground" type="Colour" overloaded="no"> | |
9800 | <autodoc>GetTextForeground() -> Colour</autodoc> | |
9801 | </method> | |
9802 | <method name="SetTextForeground" type="" overloaded="no"> | |
9803 | <autodoc>SetTextForeground(Colour colour)</autodoc> | |
9804 | <paramlist> | |
9805 | <param name="colour" type="Colour" default=""/> | |
9806 | </paramlist> | |
9807 | </method> | |
9808 | <method name="SetTextBackground" type="" overloaded="no"> | |
9809 | <autodoc>SetTextBackground(Colour colour)</autodoc> | |
9810 | <paramlist> | |
9811 | <param name="colour" type="Colour" default=""/> | |
9812 | </paramlist> | |
9813 | </method> | |
9814 | <method name="GetMapMode" type="int" overloaded="no"> | |
9815 | <autodoc>GetMapMode() -> int</autodoc> | |
9816 | </method> | |
9817 | <method name="SetMapMode" type="" overloaded="no"> | |
9818 | <autodoc>SetMapMode(int mode)</autodoc> | |
9819 | <paramlist> | |
9820 | <param name="mode" type="int" default=""/> | |
9821 | </paramlist> | |
9822 | </method> | |
9823 | <method name="GetUserScale" type="" overloaded="no"> | |
9824 | <autodoc>GetUserScale() -> (xScale, yScale)</autodoc> | |
9825 | <paramlist> | |
9826 | <param name="OUTPUT" type="double" default=""/> | |
9827 | <param name="OUTPUT" type="double" default=""/> | |
9828 | </paramlist> | |
9829 | </method> | |
9830 | <method name="SetUserScale" type="" overloaded="no"> | |
9831 | <autodoc>SetUserScale(double x, double y)</autodoc> | |
9832 | <paramlist> | |
9833 | <param name="x" type="double" default=""/> | |
9834 | <param name="y" type="double" default=""/> | |
9835 | </paramlist> | |
9836 | </method> | |
9837 | <method name="GetLogicalScale" type="" overloaded="no"> | |
9838 | <autodoc>GetLogicalScale() -> (xScale, yScale)</autodoc> | |
9839 | <paramlist> | |
9840 | <param name="OUTPUT" type="double" default=""/> | |
9841 | <param name="OUTPUT" type="double" default=""/> | |
9842 | </paramlist> | |
9843 | </method> | |
9844 | <method name="SetLogicalScale" type="" overloaded="no"> | |
9845 | <autodoc>SetLogicalScale(double x, double y)</autodoc> | |
9846 | <paramlist> | |
9847 | <param name="x" type="double" default=""/> | |
9848 | <param name="y" type="double" default=""/> | |
9849 | </paramlist> | |
9850 | </method> | |
9851 | <method name="GetLogicalOrigin" type="Point" overloaded="no"> | |
9852 | <autodoc>GetLogicalOrigin() -> Point</autodoc> | |
9853 | </method> | |
9854 | <method name="GetLogicalOriginTuple" type="" overloaded="no"> | |
9855 | <autodoc>GetLogicalOriginTuple() -> (x,y)</autodoc> | |
9856 | <paramlist> | |
9857 | <param name="OUTPUT" type="int" default=""/> | |
9858 | <param name="OUTPUT" type="int" default=""/> | |
9859 | </paramlist> | |
9860 | </method> | |
9861 | <method name="SetLogicalOrigin" type="" overloaded="no"> | |
9862 | <autodoc>SetLogicalOrigin(int x, int y)</autodoc> | |
9863 | <paramlist> | |
9864 | <param name="x" type="int" default=""/> | |
9865 | <param name="y" type="int" default=""/> | |
9866 | </paramlist> | |
9867 | </method> | |
9868 | <method name="GetDeviceOrigin" type="Point" overloaded="no"> | |
9869 | <autodoc>GetDeviceOrigin() -> Point</autodoc> | |
9870 | </method> | |
9871 | <method name="GetDeviceOriginTuple" type="" overloaded="no"> | |
9872 | <autodoc>GetDeviceOriginTuple() -> (x,y)</autodoc> | |
9873 | <paramlist> | |
9874 | <param name="OUTPUT" type="int" default=""/> | |
9875 | <param name="OUTPUT" type="int" default=""/> | |
9876 | </paramlist> | |
9877 | </method> | |
9878 | <method name="SetDeviceOrigin" type="" overloaded="no"> | |
9879 | <autodoc>SetDeviceOrigin(int x, int y)</autodoc> | |
9880 | <paramlist> | |
9881 | <param name="x" type="int" default=""/> | |
9882 | <param name="y" type="int" default=""/> | |
9883 | </paramlist> | |
9884 | </method> | |
9885 | <method name="SetAxisOrientation" type="" overloaded="no"> | |
9886 | <autodoc>SetAxisOrientation(bool xLeftRight, bool yBottomUp)</autodoc> | |
9887 | <paramlist> | |
9888 | <param name="xLeftRight" type="bool" default=""/> | |
9889 | <param name="yBottomUp" type="bool" default=""/> | |
9890 | </paramlist> | |
9891 | </method> | |
9892 | <method name="GetLogicalFunction" type="int" overloaded="no"> | |
9893 | <autodoc>GetLogicalFunction() -> int</autodoc> | |
9894 | </method> | |
9895 | <method name="SetLogicalFunction" type="" overloaded="no"> | |
9896 | <autodoc>SetLogicalFunction(int function)</autodoc> | |
9897 | <paramlist> | |
9898 | <param name="function" type="int" default=""/> | |
9899 | </paramlist> | |
9900 | </method> | |
9901 | <method name="SetOptimization" type="" overloaded="no"> | |
9902 | <autodoc>SetOptimization(bool opt)</autodoc> | |
9903 | <paramlist> | |
9904 | <param name="opt" type="bool" default=""/> | |
9905 | </paramlist> | |
9906 | </method> | |
9907 | <method name="GetOptimization" type="bool" overloaded="no"> | |
9908 | <autodoc>GetOptimization() -> bool</autodoc> | |
9909 | </method> | |
9910 | <method name="CalcBoundingBox" type="" overloaded="no"> | |
9911 | <autodoc>CalcBoundingBox(int x, int y)</autodoc> | |
9912 | <paramlist> | |
9913 | <param name="x" type="int" default=""/> | |
9914 | <param name="y" type="int" default=""/> | |
9915 | </paramlist> | |
9916 | </method> | |
9917 | <method name="ResetBoundingBox" type="" overloaded="no"> | |
9918 | <autodoc>ResetBoundingBox()</autodoc> | |
9919 | </method> | |
9920 | <method name="MinX" type="int" overloaded="no"> | |
9921 | <autodoc>MinX() -> int</autodoc> | |
9922 | </method> | |
9923 | <method name="MaxX" type="int" overloaded="no"> | |
9924 | <autodoc>MaxX() -> int</autodoc> | |
9925 | </method> | |
9926 | <method name="MinY" type="int" overloaded="no"> | |
9927 | <autodoc>MinY() -> int</autodoc> | |
9928 | </method> | |
9929 | <method name="MaxY" type="int" overloaded="no"> | |
9930 | <autodoc>MaxY() -> int</autodoc> | |
9931 | </method> | |
9932 | <method name="GetBoundingBox" type="" overloaded="no"> | |
9933 | <autodoc>GetBoundingBox() -> (x1,y1, x2,y2)</autodoc> | |
9934 | <paramlist> | |
9935 | <param name="OUTPUT" type="int" default=""/> | |
9936 | <param name="OUTPUT" type="int" default=""/> | |
9937 | <param name="OUTPUT" type="int" default=""/> | |
9938 | <param name="OUTPUT" type="int" default=""/> | |
9939 | </paramlist> | |
9940 | </method> | |
9941 | <method name="_DrawPointList" type="PyObject" overloaded="no"> | |
9942 | <autodoc>_DrawPointList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc> | |
9943 | <paramlist> | |
9944 | <param name="pyCoords" type="PyObject" default=""/> | |
9945 | <param name="pyPens" type="PyObject" default=""/> | |
9946 | <param name="pyBrushes" type="PyObject" default=""/> | |
9947 | </paramlist> | |
9948 | </method> | |
9949 | <method name="_DrawLineList" type="PyObject" overloaded="no"> | |
9950 | <autodoc>_DrawLineList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc> | |
9951 | <paramlist> | |
9952 | <param name="pyCoords" type="PyObject" default=""/> | |
9953 | <param name="pyPens" type="PyObject" default=""/> | |
9954 | <param name="pyBrushes" type="PyObject" default=""/> | |
9955 | </paramlist> | |
9956 | </method> | |
9957 | <method name="_DrawRectangleList" type="PyObject" overloaded="no"> | |
9958 | <autodoc>_DrawRectangleList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc> | |
9959 | <paramlist> | |
9960 | <param name="pyCoords" type="PyObject" default=""/> | |
9961 | <param name="pyPens" type="PyObject" default=""/> | |
9962 | <param name="pyBrushes" type="PyObject" default=""/> | |
9963 | </paramlist> | |
9964 | </method> | |
9965 | <method name="_DrawEllipseList" type="PyObject" overloaded="no"> | |
9966 | <autodoc>_DrawEllipseList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc> | |
9967 | <paramlist> | |
9968 | <param name="pyCoords" type="PyObject" default=""/> | |
9969 | <param name="pyPens" type="PyObject" default=""/> | |
9970 | <param name="pyBrushes" type="PyObject" default=""/> | |
9971 | </paramlist> | |
9972 | </method> | |
9973 | <method name="_DrawPolygonList" type="PyObject" overloaded="no"> | |
9974 | <autodoc>_DrawPolygonList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc> | |
9975 | <paramlist> | |
9976 | <param name="pyCoords" type="PyObject" default=""/> | |
9977 | <param name="pyPens" type="PyObject" default=""/> | |
9978 | <param name="pyBrushes" type="PyObject" default=""/> | |
9979 | </paramlist> | |
9980 | </method> | |
9981 | <method name="_DrawTextList" type="PyObject" overloaded="no"> | |
9982 | <autodoc>_DrawTextList(PyObject textList, PyObject pyPoints, PyObject foregroundList, | |
9983 | PyObject backgroundList) -> PyObject</autodoc> | |
9984 | <paramlist> | |
9985 | <param name="textList" type="PyObject" default=""/> | |
9986 | <param name="pyPoints" type="PyObject" default=""/> | |
9987 | <param name="foregroundList" type="PyObject" default=""/> | |
9988 | <param name="backgroundList" type="PyObject" default=""/> | |
9989 | </paramlist> | |
9990 | </method> | |
9991 | </class> | |
9992 | <pythoncode> | |
0f43fbdf RD |
9993 | #--------------------------------------------------------------------------- |
9994 | </pythoncode> | |
f32fc4bc RD |
9995 | <class name="MemoryDC" oldname="wxMemoryDC" module="gdi"> |
9996 | <baseclass name="DC"/> | |
9997 | <constructor name="MemoryDC" overloaded="no"> | |
9998 | <autodoc>__init__() -> MemoryDC</autodoc> | |
9999 | </constructor> | |
10000 | <constructor name="MemoryDCFromDC" overloaded="no"> | |
10001 | <autodoc>MemoryDCFromDC(DC oldDC) -> MemoryDC</autodoc> | |
10002 | <paramlist> | |
10003 | <param name="oldDC" type="DC" default=""/> | |
10004 | </paramlist> | |
10005 | </constructor> | |
10006 | <method name="SelectObject" type="" overloaded="no"> | |
10007 | <autodoc>SelectObject(Bitmap bitmap)</autodoc> | |
10008 | <paramlist> | |
10009 | <param name="bitmap" type="Bitmap" default=""/> | |
10010 | </paramlist> | |
10011 | </method> | |
10012 | </class> | |
10013 | <pythoncode> | |
856bf319 RD |
10014 | #--------------------------------------------------------------------------- |
10015 | </pythoncode> | |
f32fc4bc RD |
10016 | <class name="BufferedDC" oldname="wxBufferedDC" module="gdi"> |
10017 | <baseclass name="MemoryDC"/> | |
10018 | <constructor name="BufferedDC" overloaded="yes"> | |
10019 | <paramlist> | |
10020 | <param name="dc" type="DC" default=""/> | |
10021 | <param name="buffer" type="Bitmap" default=""/> | |
10022 | </paramlist> | |
10023 | </constructor> | |
10024 | <constructor name="BufferedDC" overloaded="yes"> | |
10025 | <autodoc>__init__(DC dc, Bitmap buffer) -> BufferedDC | |
c2dda882 | 10026 | __init__(DC dc, Size area) -> BufferedDC</autodoc> |
f32fc4bc RD |
10027 | <paramlist> |
10028 | <param name="dc" type="DC" default=""/> | |
10029 | <param name="area" type="Size" default=""/> | |
f32fc4bc RD |
10030 | </paramlist> |
10031 | </constructor> | |
10032 | <constructor name="BufferedDCInternalBuffer" overloaded="no"> | |
c2dda882 | 10033 | <autodoc>BufferedDCInternalBuffer(DC dc, Size area) -> BufferedDC</autodoc> |
f32fc4bc RD |
10034 | <paramlist> |
10035 | <param name="dc" type="DC" default=""/> | |
10036 | <param name="area" type="Size" default=""/> | |
f32fc4bc RD |
10037 | </paramlist> |
10038 | </constructor> | |
c2dda882 RD |
10039 | <destructor name="~wxBufferedDC" overloaded="no"> |
10040 | <autodoc>__del__()</autodoc> | |
10041 | </destructor> | |
f32fc4bc RD |
10042 | <method name="UnMask" type="" overloaded="no"> |
10043 | <autodoc>UnMask()</autodoc> | |
10044 | </method> | |
10045 | </class> | |
10046 | <class name="BufferedPaintDC" oldname="wxBufferedPaintDC" module="gdi"> | |
10047 | <baseclass name="BufferedDC"/> | |
c2dda882 RD |
10048 | <constructor name="BufferedPaintDC" overloaded="no"> |
10049 | <autodoc>__init__(Window window, Bitmap buffer=NullBitmap) -> BufferedPaintDC</autodoc> | |
f32fc4bc RD |
10050 | <paramlist> |
10051 | <param name="window" type="Window" default=""/> | |
c2dda882 | 10052 | <param name="buffer" type="Bitmap" default="wxNullBitmap"/> |
f32fc4bc RD |
10053 | </paramlist> |
10054 | </constructor> | |
10055 | </class> | |
10056 | <pythoncode> | |
856bf319 RD |
10057 | #--------------------------------------------------------------------------- |
10058 | </pythoncode> | |
f32fc4bc RD |
10059 | <class name="ScreenDC" oldname="wxScreenDC" module="gdi"> |
10060 | <baseclass name="DC"/> | |
10061 | <constructor name="ScreenDC" overloaded="no"> | |
10062 | <autodoc>__init__() -> ScreenDC</autodoc> | |
10063 | </constructor> | |
10064 | <method name="StartDrawingOnTopWin" type="bool" overloaded="no"> | |
10065 | <autodoc>StartDrawingOnTopWin(Window window) -> bool</autodoc> | |
10066 | <paramlist> | |
10067 | <param name="window" type="Window" default=""/> | |
10068 | </paramlist> | |
10069 | </method> | |
10070 | <method name="StartDrawingOnTop" type="bool" overloaded="no"> | |
10071 | <autodoc>StartDrawingOnTop(Rect rect=None) -> bool</autodoc> | |
10072 | <paramlist> | |
10073 | <param name="rect" type="Rect" default="NULL"/> | |
10074 | </paramlist> | |
10075 | </method> | |
10076 | <method name="EndDrawingOnTop" type="bool" overloaded="no"> | |
10077 | <autodoc>EndDrawingOnTop() -> bool</autodoc> | |
10078 | </method> | |
10079 | </class> | |
10080 | <pythoncode> | |
0f43fbdf RD |
10081 | #--------------------------------------------------------------------------- |
10082 | </pythoncode> | |
f32fc4bc RD |
10083 | <class name="ClientDC" oldname="wxClientDC" module="gdi"> |
10084 | <baseclass name="DC"/> | |
10085 | <constructor name="ClientDC" overloaded="no"> | |
10086 | <autodoc>__init__(Window win) -> ClientDC</autodoc> | |
10087 | <paramlist> | |
10088 | <param name="win" type="Window" default=""/> | |
10089 | </paramlist> | |
10090 | </constructor> | |
10091 | </class> | |
10092 | <pythoncode> | |
0f43fbdf RD |
10093 | #--------------------------------------------------------------------------- |
10094 | </pythoncode> | |
f32fc4bc RD |
10095 | <class name="PaintDC" oldname="wxPaintDC" module="gdi"> |
10096 | <baseclass name="DC"/> | |
10097 | <constructor name="PaintDC" overloaded="no"> | |
10098 | <autodoc>__init__(Window win) -> PaintDC</autodoc> | |
10099 | <paramlist> | |
10100 | <param name="win" type="Window" default=""/> | |
10101 | </paramlist> | |
10102 | </constructor> | |
10103 | </class> | |
0dd25e81 | 10104 | <pythoncode> |
0f43fbdf RD |
10105 | #--------------------------------------------------------------------------- |
10106 | </pythoncode> | |
f32fc4bc RD |
10107 | <class name="WindowDC" oldname="wxWindowDC" module="gdi"> |
10108 | <baseclass name="DC"/> | |
10109 | <constructor name="WindowDC" overloaded="no"> | |
10110 | <autodoc>__init__(Window win) -> WindowDC</autodoc> | |
10111 | <paramlist> | |
10112 | <param name="win" type="Window" default=""/> | |
10113 | </paramlist> | |
10114 | </constructor> | |
10115 | </class> | |
10116 | <pythoncode> | |
10117 | #--------------------------------------------------------------------------- | |
0f43fbdf | 10118 | </pythoncode> |
f32fc4bc RD |
10119 | <class name="MirrorDC" oldname="wxMirrorDC" module="gdi"> |
10120 | <baseclass name="DC"/> | |
10121 | <constructor name="MirrorDC" overloaded="no"> | |
10122 | <autodoc>__init__(DC dc, bool mirror) -> MirrorDC</autodoc> | |
10123 | <paramlist> | |
10124 | <param name="dc" type="DC" default=""/> | |
10125 | <param name="mirror" type="bool" default=""/> | |
10126 | </paramlist> | |
10127 | </constructor> | |
10128 | </class> | |
10129 | <pythoncode> | |
0f43fbdf RD |
10130 | #--------------------------------------------------------------------------- |
10131 | </pythoncode> | |
f32fc4bc RD |
10132 | <class name="PostScriptDC" oldname="wxPostScriptDC" module="gdi"> |
10133 | <baseclass name="DC"/> | |
10134 | <constructor name="PostScriptDC" overloaded="no"> | |
10135 | <autodoc>__init__(wxPrintData printData) -> PostScriptDC</autodoc> | |
10136 | <paramlist> | |
10137 | <param name="printData" type="wxPrintData" default=""/> | |
10138 | </paramlist> | |
10139 | </constructor> | |
10140 | <method name="GetPrintData" type="wxPrintData" overloaded="no"> | |
10141 | <autodoc>GetPrintData() -> wxPrintData</autodoc> | |
10142 | </method> | |
10143 | <method name="SetPrintData" type="" overloaded="no"> | |
10144 | <autodoc>SetPrintData(wxPrintData data)</autodoc> | |
10145 | <paramlist> | |
10146 | <param name="data" type="wxPrintData" default=""/> | |
10147 | </paramlist> | |
10148 | </method> | |
10149 | <staticmethod name="SetResolution" type="" overloaded="no"> | |
10150 | <autodoc>SetResolution(int ppi)</autodoc> | |
10151 | <paramlist> | |
10152 | <param name="ppi" type="int" default=""/> | |
10153 | </paramlist> | |
10154 | </staticmethod> | |
10155 | <staticmethod name="GetResolution" type="int" overloaded="no"> | |
10156 | <autodoc>GetResolution() -> int</autodoc> | |
10157 | </staticmethod> | |
10158 | </class> | |
0dd25e81 | 10159 | <pythoncode> |
0f43fbdf RD |
10160 | #--------------------------------------------------------------------------- |
10161 | </pythoncode> | |
f32fc4bc RD |
10162 | <class name="MetaFile" oldname="wxMetaFile" module="gdi"> |
10163 | <baseclass name="Object"/> | |
10164 | <constructor name="MetaFile" overloaded="no"> | |
10165 | <autodoc>__init__(String filename=EmptyString) -> MetaFile</autodoc> | |
10166 | <paramlist> | |
10167 | <param name="filename" type="String" default="wxPyEmptyString"/> | |
10168 | </paramlist> | |
10169 | </constructor> | |
10170 | </class> | |
10171 | <class name="MetaFileDC" oldname="wxMetaFileDC" module="gdi"> | |
10172 | <baseclass name="DC"/> | |
10173 | <constructor name="MetaFileDC" overloaded="no"> | |
10174 | <autodoc>__init__(String filename=EmptyString, int width=0, int height=0, | |
0f43fbdf | 10175 | String description=EmptyString) -> MetaFileDC</autodoc> |
f32fc4bc RD |
10176 | <paramlist> |
10177 | <param name="filename" type="String" default="wxPyEmptyString"/> | |
10178 | <param name="width" type="int" default="0"/> | |
10179 | <param name="height" type="int" default="0"/> | |
10180 | <param name="description" type="String" default="wxPyEmptyString"/> | |
10181 | </paramlist> | |
10182 | </constructor> | |
10183 | </class> | |
10184 | <class name="PrinterDC" oldname="wxPrinterDC" module="gdi"> | |
10185 | <baseclass name="DC"/> | |
10186 | <constructor name="PrinterDC" overloaded="no"> | |
10187 | <autodoc>__init__(wxPrintData printData) -> PrinterDC</autodoc> | |
10188 | <paramlist> | |
10189 | <param name="printData" type="wxPrintData" default=""/> | |
10190 | </paramlist> | |
10191 | </constructor> | |
10192 | </class> | |
10193 | <pythoncode> | |
cff531b1 RD |
10194 | class DC_old(DC): |
10195 | """DC class that has methods with 2.4 compatible parameters.""" | |
10196 | FloodFill = DC.FloodFillXY | |
10197 | GetPixel = DC.GetPixelXY | |
10198 | DrawLine = DC.DrawLineXY | |
10199 | CrossHair = DC.CrossHairXY | |
10200 | DrawArc = DC.DrawArcXY | |
10201 | DrawCheckMark = DC.DrawCheckMarkXY | |
10202 | DrawEllipticArc = DC.DrawEllipticArcXY | |
10203 | DrawPoint = DC.DrawPointXY | |
10204 | DrawRectangle = DC.DrawRectangleXY | |
10205 | DrawRoundedRectangle = DC.DrawRoundedRectangleXY | |
10206 | DrawCircle = DC.DrawCircleXY | |
10207 | DrawEllipse = DC.DrawEllipseXY | |
10208 | DrawIcon = DC.DrawIconXY | |
10209 | DrawBitmap = DC.DrawBitmapXY | |
10210 | DrawText = DC.DrawTextXY | |
10211 | DrawRotatedText = DC.DrawRotatedTextXY | |
10212 | Blit = DC.BlitXY | |
10213 | </pythoncode> | |
f32fc4bc | 10214 | <pythoncode> |
cff531b1 RD |
10215 | class MemoryDC_old(MemoryDC): |
10216 | """DC class that has methods with 2.4 compatible parameters.""" | |
10217 | FloodFill = MemoryDC.FloodFillXY | |
10218 | GetPixel = MemoryDC.GetPixelXY | |
10219 | DrawLine = MemoryDC.DrawLineXY | |
10220 | CrossHair = MemoryDC.CrossHairXY | |
10221 | DrawArc = MemoryDC.DrawArcXY | |
10222 | DrawCheckMark = MemoryDC.DrawCheckMarkXY | |
10223 | DrawEllipticArc = MemoryDC.DrawEllipticArcXY | |
10224 | DrawPoint = MemoryDC.DrawPointXY | |
10225 | DrawRectangle = MemoryDC.DrawRectangleXY | |
10226 | DrawRoundedRectangle = MemoryDC.DrawRoundedRectangleXY | |
10227 | DrawCircle = MemoryDC.DrawCircleXY | |
10228 | DrawEllipse = MemoryDC.DrawEllipseXY | |
10229 | DrawIcon = MemoryDC.DrawIconXY | |
10230 | DrawBitmap = MemoryDC.DrawBitmapXY | |
10231 | DrawText = MemoryDC.DrawTextXY | |
10232 | DrawRotatedText = MemoryDC.DrawRotatedTextXY | |
10233 | Blit = MemoryDC.BlitXY | |
10234 | </pythoncode> | |
f32fc4bc | 10235 | <pythoncode> |
cff531b1 RD |
10236 | class BufferedDC_old(BufferedDC): |
10237 | """DC class that has methods with 2.4 compatible parameters.""" | |
10238 | FloodFill = BufferedDC.FloodFillXY | |
10239 | GetPixel = BufferedDC.GetPixelXY | |
10240 | DrawLine = BufferedDC.DrawLineXY | |
10241 | CrossHair = BufferedDC.CrossHairXY | |
10242 | DrawArc = BufferedDC.DrawArcXY | |
10243 | DrawCheckMark = BufferedDC.DrawCheckMarkXY | |
10244 | DrawEllipticArc = BufferedDC.DrawEllipticArcXY | |
10245 | DrawPoint = BufferedDC.DrawPointXY | |
10246 | DrawRectangle = BufferedDC.DrawRectangleXY | |
10247 | DrawRoundedRectangle = BufferedDC.DrawRoundedRectangleXY | |
10248 | DrawCircle = BufferedDC.DrawCircleXY | |
10249 | DrawEllipse = BufferedDC.DrawEllipseXY | |
10250 | DrawIcon = BufferedDC.DrawIconXY | |
10251 | DrawBitmap = BufferedDC.DrawBitmapXY | |
10252 | DrawText = BufferedDC.DrawTextXY | |
10253 | DrawRotatedText = BufferedDC.DrawRotatedTextXY | |
10254 | Blit = BufferedDC.BlitXY | |
10255 | </pythoncode> | |
f32fc4bc | 10256 | <pythoncode> |
cff531b1 RD |
10257 | class BufferedPaintDC_old(BufferedPaintDC): |
10258 | """DC class that has methods with 2.4 compatible parameters.""" | |
10259 | FloodFill = BufferedPaintDC.FloodFillXY | |
10260 | GetPixel = BufferedPaintDC.GetPixelXY | |
10261 | DrawLine = BufferedPaintDC.DrawLineXY | |
10262 | CrossHair = BufferedPaintDC.CrossHairXY | |
10263 | DrawArc = BufferedPaintDC.DrawArcXY | |
10264 | DrawCheckMark = BufferedPaintDC.DrawCheckMarkXY | |
10265 | DrawEllipticArc = BufferedPaintDC.DrawEllipticArcXY | |
10266 | DrawPoint = BufferedPaintDC.DrawPointXY | |
10267 | DrawRectangle = BufferedPaintDC.DrawRectangleXY | |
10268 | DrawRoundedRectangle = BufferedPaintDC.DrawRoundedRectangleXY | |
10269 | DrawCircle = BufferedPaintDC.DrawCircleXY | |
10270 | DrawEllipse = BufferedPaintDC.DrawEllipseXY | |
10271 | DrawIcon = BufferedPaintDC.DrawIconXY | |
10272 | DrawBitmap = BufferedPaintDC.DrawBitmapXY | |
10273 | DrawText = BufferedPaintDC.DrawTextXY | |
10274 | DrawRotatedText = BufferedPaintDC.DrawRotatedTextXY | |
10275 | Blit = BufferedPaintDC.BlitXY | |
10276 | </pythoncode> | |
f32fc4bc | 10277 | <pythoncode> |
cff531b1 RD |
10278 | class ScreenDC_old(ScreenDC): |
10279 | """DC class that has methods with 2.4 compatible parameters.""" | |
10280 | FloodFill = ScreenDC.FloodFillXY | |
10281 | GetPixel = ScreenDC.GetPixelXY | |
10282 | DrawLine = ScreenDC.DrawLineXY | |
10283 | CrossHair = ScreenDC.CrossHairXY | |
10284 | DrawArc = ScreenDC.DrawArcXY | |
10285 | DrawCheckMark = ScreenDC.DrawCheckMarkXY | |
10286 | DrawEllipticArc = ScreenDC.DrawEllipticArcXY | |
10287 | DrawPoint = ScreenDC.DrawPointXY | |
10288 | DrawRectangle = ScreenDC.DrawRectangleXY | |
10289 | DrawRoundedRectangle = ScreenDC.DrawRoundedRectangleXY | |
10290 | DrawCircle = ScreenDC.DrawCircleXY | |
10291 | DrawEllipse = ScreenDC.DrawEllipseXY | |
10292 | DrawIcon = ScreenDC.DrawIconXY | |
10293 | DrawBitmap = ScreenDC.DrawBitmapXY | |
10294 | DrawText = ScreenDC.DrawTextXY | |
10295 | DrawRotatedText = ScreenDC.DrawRotatedTextXY | |
10296 | Blit = ScreenDC.BlitXY | |
10297 | </pythoncode> | |
f32fc4bc | 10298 | <pythoncode> |
cff531b1 RD |
10299 | class ClientDC_old(ClientDC): |
10300 | """DC class that has methods with 2.4 compatible parameters.""" | |
10301 | FloodFill = ClientDC.FloodFillXY | |
10302 | GetPixel = ClientDC.GetPixelXY | |
10303 | DrawLine = ClientDC.DrawLineXY | |
10304 | CrossHair = ClientDC.CrossHairXY | |
10305 | DrawArc = ClientDC.DrawArcXY | |
10306 | DrawCheckMark = ClientDC.DrawCheckMarkXY | |
10307 | DrawEllipticArc = ClientDC.DrawEllipticArcXY | |
10308 | DrawPoint = ClientDC.DrawPointXY | |
10309 | DrawRectangle = ClientDC.DrawRectangleXY | |
10310 | DrawRoundedRectangle = ClientDC.DrawRoundedRectangleXY | |
10311 | DrawCircle = ClientDC.DrawCircleXY | |
10312 | DrawEllipse = ClientDC.DrawEllipseXY | |
10313 | DrawIcon = ClientDC.DrawIconXY | |
10314 | DrawBitmap = ClientDC.DrawBitmapXY | |
10315 | DrawText = ClientDC.DrawTextXY | |
10316 | DrawRotatedText = ClientDC.DrawRotatedTextXY | |
10317 | Blit = ClientDC.BlitXY | |
10318 | </pythoncode> | |
f32fc4bc | 10319 | <pythoncode> |
cff531b1 RD |
10320 | class PaintDC_old(PaintDC): |
10321 | """DC class that has methods with 2.4 compatible parameters.""" | |
10322 | FloodFill = PaintDC.FloodFillXY | |
10323 | GetPixel = PaintDC.GetPixelXY | |
10324 | DrawLine = PaintDC.DrawLineXY | |
10325 | CrossHair = PaintDC.CrossHairXY | |
10326 | DrawArc = PaintDC.DrawArcXY | |
10327 | DrawCheckMark = PaintDC.DrawCheckMarkXY | |
10328 | DrawEllipticArc = PaintDC.DrawEllipticArcXY | |
10329 | DrawPoint = PaintDC.DrawPointXY | |
10330 | DrawRectangle = PaintDC.DrawRectangleXY | |
10331 | DrawRoundedRectangle = PaintDC.DrawRoundedRectangleXY | |
10332 | DrawCircle = PaintDC.DrawCircleXY | |
10333 | DrawEllipse = PaintDC.DrawEllipseXY | |
10334 | DrawIcon = PaintDC.DrawIconXY | |
10335 | DrawBitmap = PaintDC.DrawBitmapXY | |
10336 | DrawText = PaintDC.DrawTextXY | |
10337 | DrawRotatedText = PaintDC.DrawRotatedTextXY | |
10338 | Blit = PaintDC.BlitXY | |
10339 | </pythoncode> | |
f32fc4bc | 10340 | <pythoncode> |
cff531b1 RD |
10341 | class WindowDC_old(WindowDC): |
10342 | """DC class that has methods with 2.4 compatible parameters.""" | |
10343 | FloodFill = WindowDC.FloodFillXY | |
10344 | GetPixel = WindowDC.GetPixelXY | |
10345 | DrawLine = WindowDC.DrawLineXY | |
10346 | CrossHair = WindowDC.CrossHairXY | |
10347 | DrawArc = WindowDC.DrawArcXY | |
10348 | DrawCheckMark = WindowDC.DrawCheckMarkXY | |
10349 | DrawEllipticArc = WindowDC.DrawEllipticArcXY | |
10350 | DrawPoint = WindowDC.DrawPointXY | |
10351 | DrawRectangle = WindowDC.DrawRectangleXY | |
10352 | DrawRoundedRectangle = WindowDC.DrawRoundedRectangleXY | |
10353 | DrawCircle = WindowDC.DrawCircleXY | |
10354 | DrawEllipse = WindowDC.DrawEllipseXY | |
10355 | DrawIcon = WindowDC.DrawIconXY | |
10356 | DrawBitmap = WindowDC.DrawBitmapXY | |
10357 | DrawText = WindowDC.DrawTextXY | |
10358 | DrawRotatedText = WindowDC.DrawRotatedTextXY | |
10359 | Blit = WindowDC.BlitXY | |
10360 | </pythoncode> | |
f32fc4bc | 10361 | <pythoncode> |
cff531b1 RD |
10362 | class MirrorDC_old(MirrorDC): |
10363 | """DC class that has methods with 2.4 compatible parameters.""" | |
10364 | FloodFill = MirrorDC.FloodFillXY | |
10365 | GetPixel = MirrorDC.GetPixelXY | |
10366 | DrawLine = MirrorDC.DrawLineXY | |
10367 | CrossHair = MirrorDC.CrossHairXY | |
10368 | DrawArc = MirrorDC.DrawArcXY | |
10369 | DrawCheckMark = MirrorDC.DrawCheckMarkXY | |
10370 | DrawEllipticArc = MirrorDC.DrawEllipticArcXY | |
10371 | DrawPoint = MirrorDC.DrawPointXY | |
10372 | DrawRectangle = MirrorDC.DrawRectangleXY | |
10373 | DrawRoundedRectangle = MirrorDC.DrawRoundedRectangleXY | |
10374 | DrawCircle = MirrorDC.DrawCircleXY | |
10375 | DrawEllipse = MirrorDC.DrawEllipseXY | |
10376 | DrawIcon = MirrorDC.DrawIconXY | |
10377 | DrawBitmap = MirrorDC.DrawBitmapXY | |
10378 | DrawText = MirrorDC.DrawTextXY | |
10379 | DrawRotatedText = MirrorDC.DrawRotatedTextXY | |
10380 | Blit = MirrorDC.BlitXY | |
10381 | </pythoncode> | |
f32fc4bc | 10382 | <pythoncode> |
cff531b1 RD |
10383 | class PostScriptDC_old(PostScriptDC): |
10384 | """DC class that has methods with 2.4 compatible parameters.""" | |
10385 | FloodFill = PostScriptDC.FloodFillXY | |
10386 | GetPixel = PostScriptDC.GetPixelXY | |
10387 | DrawLine = PostScriptDC.DrawLineXY | |
10388 | CrossHair = PostScriptDC.CrossHairXY | |
10389 | DrawArc = PostScriptDC.DrawArcXY | |
10390 | DrawCheckMark = PostScriptDC.DrawCheckMarkXY | |
10391 | DrawEllipticArc = PostScriptDC.DrawEllipticArcXY | |
10392 | DrawPoint = PostScriptDC.DrawPointXY | |
10393 | DrawRectangle = PostScriptDC.DrawRectangleXY | |
10394 | DrawRoundedRectangle = PostScriptDC.DrawRoundedRectangleXY | |
10395 | DrawCircle = PostScriptDC.DrawCircleXY | |
10396 | DrawEllipse = PostScriptDC.DrawEllipseXY | |
10397 | DrawIcon = PostScriptDC.DrawIconXY | |
10398 | DrawBitmap = PostScriptDC.DrawBitmapXY | |
10399 | DrawText = PostScriptDC.DrawTextXY | |
10400 | DrawRotatedText = PostScriptDC.DrawRotatedTextXY | |
10401 | Blit = PostScriptDC.BlitXY | |
10402 | </pythoncode> | |
f32fc4bc | 10403 | <pythoncode> |
cff531b1 RD |
10404 | class MetaFileDC_old(MetaFileDC): |
10405 | """DC class that has methods with 2.4 compatible parameters.""" | |
10406 | FloodFill = MetaFileDC.FloodFillXY | |
10407 | GetPixel = MetaFileDC.GetPixelXY | |
10408 | DrawLine = MetaFileDC.DrawLineXY | |
10409 | CrossHair = MetaFileDC.CrossHairXY | |
10410 | DrawArc = MetaFileDC.DrawArcXY | |
10411 | DrawCheckMark = MetaFileDC.DrawCheckMarkXY | |
10412 | DrawEllipticArc = MetaFileDC.DrawEllipticArcXY | |
10413 | DrawPoint = MetaFileDC.DrawPointXY | |
10414 | DrawRectangle = MetaFileDC.DrawRectangleXY | |
10415 | DrawRoundedRectangle = MetaFileDC.DrawRoundedRectangleXY | |
10416 | DrawCircle = MetaFileDC.DrawCircleXY | |
10417 | DrawEllipse = MetaFileDC.DrawEllipseXY | |
10418 | DrawIcon = MetaFileDC.DrawIconXY | |
10419 | DrawBitmap = MetaFileDC.DrawBitmapXY | |
10420 | DrawText = MetaFileDC.DrawTextXY | |
10421 | DrawRotatedText = MetaFileDC.DrawRotatedTextXY | |
10422 | Blit = MetaFileDC.BlitXY | |
10423 | </pythoncode> | |
f32fc4bc | 10424 | <pythoncode> |
cff531b1 RD |
10425 | class PrinterDC_old(PrinterDC): |
10426 | """DC class that has methods with 2.4 compatible parameters.""" | |
10427 | FloodFill = PrinterDC.FloodFillXY | |
10428 | GetPixel = PrinterDC.GetPixelXY | |
10429 | DrawLine = PrinterDC.DrawLineXY | |
10430 | CrossHair = PrinterDC.CrossHairXY | |
10431 | DrawArc = PrinterDC.DrawArcXY | |
10432 | DrawCheckMark = PrinterDC.DrawCheckMarkXY | |
10433 | DrawEllipticArc = PrinterDC.DrawEllipticArcXY | |
10434 | DrawPoint = PrinterDC.DrawPointXY | |
10435 | DrawRectangle = PrinterDC.DrawRectangleXY | |
10436 | DrawRoundedRectangle = PrinterDC.DrawRoundedRectangleXY | |
10437 | DrawCircle = PrinterDC.DrawCircleXY | |
10438 | DrawEllipse = PrinterDC.DrawEllipseXY | |
10439 | DrawIcon = PrinterDC.DrawIconXY | |
10440 | DrawBitmap = PrinterDC.DrawBitmapXY | |
10441 | DrawText = PrinterDC.DrawTextXY | |
10442 | DrawRotatedText = PrinterDC.DrawRotatedTextXY | |
10443 | Blit = PrinterDC.BlitXY | |
10444 | </pythoncode> | |
f32fc4bc | 10445 | <pythoncode> |
856bf319 RD |
10446 | #--------------------------------------------------------------------------- |
10447 | </pythoncode> | |
f32fc4bc RD |
10448 | <class name="ImageList" oldname="wxImageList" module="gdi"> |
10449 | <baseclass name="Object"/> | |
10450 | <constructor name="ImageList" overloaded="no"> | |
10451 | <autodoc>__init__(int width, int height, int mask=True, int initialCount=1) -> ImageList</autodoc> | |
10452 | <paramlist> | |
10453 | <param name="width" type="int" default=""/> | |
10454 | <param name="height" type="int" default=""/> | |
10455 | <param name="mask" type="int" default="True"/> | |
10456 | <param name="initialCount" type="int" default="1"/> | |
10457 | </paramlist> | |
10458 | </constructor> | |
10459 | <destructor name="~wxImageList" overloaded="no"> | |
10460 | <autodoc>__del__()</autodoc> | |
10461 | </destructor> | |
10462 | <method name="Add" type="int" overloaded="no"> | |
10463 | <autodoc>Add(Bitmap bitmap, Bitmap mask=NullBitmap) -> int</autodoc> | |
10464 | <paramlist> | |
10465 | <param name="bitmap" type="Bitmap" default=""/> | |
10466 | <param name="mask" type="Bitmap" default="wxNullBitmap"/> | |
10467 | </paramlist> | |
10468 | </method> | |
10469 | <method name="AddWithColourMask" type="int" overloaded="no"> | |
10470 | <autodoc>AddWithColourMask(Bitmap bitmap, Colour maskColour) -> int</autodoc> | |
10471 | <paramlist> | |
10472 | <param name="bitmap" type="Bitmap" default=""/> | |
10473 | <param name="maskColour" type="Colour" default=""/> | |
10474 | </paramlist> | |
10475 | </method> | |
10476 | <method name="AddIcon" type="int" overloaded="no"> | |
10477 | <autodoc>AddIcon(Icon icon) -> int</autodoc> | |
10478 | <paramlist> | |
10479 | <param name="icon" type="Icon" default=""/> | |
10480 | </paramlist> | |
10481 | </method> | |
10482 | <method name="Replace" type="bool" overloaded="no"> | |
10483 | <autodoc>Replace(int index, Bitmap bitmap) -> bool</autodoc> | |
10484 | <paramlist> | |
10485 | <param name="index" type="int" default=""/> | |
10486 | <param name="bitmap" type="Bitmap" default=""/> | |
10487 | </paramlist> | |
10488 | </method> | |
10489 | <method name="Draw" type="bool" overloaded="no"> | |
10490 | <autodoc>Draw(int index, DC dc, int x, int x, int flags=IMAGELIST_DRAW_NORMAL, | |
856bf319 | 10491 | bool solidBackground=False) -> bool</autodoc> |
f32fc4bc RD |
10492 | <paramlist> |
10493 | <param name="index" type="int" default=""/> | |
10494 | <param name="dc" type="DC" default=""/> | |
10495 | <param name="x" type="int" default=""/> | |
10496 | <param name="x" type="int" default=""/> | |
10497 | <param name="flags" type="int" default="wxIMAGELIST_DRAW_NORMAL"/> | |
10498 | <param name="solidBackground" type="bool" default="False"/> | |
10499 | </paramlist> | |
10500 | </method> | |
10501 | <method name="GetImageCount" type="int" overloaded="no"> | |
10502 | <autodoc>GetImageCount() -> int</autodoc> | |
10503 | </method> | |
10504 | <method name="Remove" type="bool" overloaded="no"> | |
10505 | <autodoc>Remove(int index) -> bool</autodoc> | |
10506 | <paramlist> | |
10507 | <param name="index" type="int" default=""/> | |
10508 | </paramlist> | |
10509 | </method> | |
10510 | <method name="RemoveAll" type="bool" overloaded="no"> | |
10511 | <autodoc>RemoveAll() -> bool</autodoc> | |
10512 | </method> | |
10513 | <method name="GetSize" type="" overloaded="no"> | |
10514 | <autodoc>GetSize() -> (width,height)</autodoc> | |
10515 | <paramlist> | |
10516 | <param name="index" type="int" default=""/> | |
10517 | <param name="OUTPUT" type="int" default=""/> | |
10518 | <param name="OUTPUT" type="int" default=""/> | |
10519 | </paramlist> | |
10520 | </method> | |
10521 | </class> | |
10522 | <pythoncode> | |
856bf319 RD |
10523 | #--------------------------------------------------------------------------- |
10524 | </pythoncode> | |
f32fc4bc RD |
10525 | <class name="PenList" oldname="wxPenList" module="gdi"> |
10526 | <baseclass name="Object"/> | |
10527 | <method name="AddPen" type="" overloaded="no"> | |
10528 | <autodoc>AddPen(Pen pen)</autodoc> | |
10529 | <paramlist> | |
10530 | <param name="pen" type="Pen" default=""/> | |
10531 | </paramlist> | |
10532 | </method> | |
10533 | <method name="FindOrCreatePen" type="Pen" overloaded="no"> | |
10534 | <autodoc>FindOrCreatePen(Colour colour, int width, int style) -> Pen</autodoc> | |
10535 | <paramlist> | |
10536 | <param name="colour" type="Colour" default=""/> | |
10537 | <param name="width" type="int" default=""/> | |
10538 | <param name="style" type="int" default=""/> | |
10539 | </paramlist> | |
10540 | </method> | |
10541 | <method name="RemovePen" type="" overloaded="no"> | |
10542 | <autodoc>RemovePen(Pen pen)</autodoc> | |
10543 | <paramlist> | |
10544 | <param name="pen" type="Pen" default=""/> | |
10545 | </paramlist> | |
10546 | </method> | |
10547 | <method name="GetCount" type="int" overloaded="no"> | |
10548 | <autodoc>GetCount() -> int</autodoc> | |
10549 | </method> | |
10550 | </class> | |
10551 | <class name="BrushList" oldname="wxBrushList" module="gdi"> | |
10552 | <baseclass name="Object"/> | |
10553 | <method name="AddBrush" type="" overloaded="no"> | |
10554 | <autodoc>AddBrush(Brush brush)</autodoc> | |
10555 | <paramlist> | |
10556 | <param name="brush" type="Brush" default=""/> | |
10557 | </paramlist> | |
10558 | </method> | |
10559 | <method name="FindOrCreateBrush" type="Brush" overloaded="no"> | |
10560 | <autodoc>FindOrCreateBrush(Colour colour, int style) -> Brush</autodoc> | |
10561 | <paramlist> | |
10562 | <param name="colour" type="Colour" default=""/> | |
10563 | <param name="style" type="int" default=""/> | |
10564 | </paramlist> | |
10565 | </method> | |
10566 | <method name="RemoveBrush" type="" overloaded="no"> | |
10567 | <autodoc>RemoveBrush(Brush brush)</autodoc> | |
10568 | <paramlist> | |
10569 | <param name="brush" type="Brush" default=""/> | |
10570 | </paramlist> | |
10571 | </method> | |
10572 | <method name="GetCount" type="int" overloaded="no"> | |
10573 | <autodoc>GetCount() -> int</autodoc> | |
10574 | </method> | |
10575 | </class> | |
10576 | <class name="ColourDatabase" oldname="wxColourDatabase" module="gdi"> | |
10577 | <baseclass name="Object"/> | |
10578 | <constructor name="ColourDatabase" overloaded="no"> | |
10579 | <autodoc>__init__() -> ColourDatabase</autodoc> | |
10580 | </constructor> | |
10581 | <destructor name="~wxColourDatabase" overloaded="no"> | |
10582 | <autodoc>__del__()</autodoc> | |
10583 | </destructor> | |
10584 | <method name="Find" type="Colour" overloaded="no"> | |
10585 | <autodoc>Find(String name) -> Colour</autodoc> | |
10586 | <paramlist> | |
10587 | <param name="name" type="String" default=""/> | |
10588 | </paramlist> | |
10589 | </method> | |
10590 | <method name="FindName" type="String" overloaded="no"> | |
10591 | <autodoc>FindName(Colour colour) -> String</autodoc> | |
10592 | <paramlist> | |
10593 | <param name="colour" type="Colour" default=""/> | |
10594 | </paramlist> | |
10595 | </method> | |
10596 | <method name="AddColour" type="" overloaded="no"> | |
10597 | <autodoc>AddColour(String name, Colour colour)</autodoc> | |
10598 | <paramlist> | |
10599 | <param name="name" type="String" default=""/> | |
10600 | <param name="colour" type="Colour" default=""/> | |
10601 | </paramlist> | |
10602 | </method> | |
10603 | <method name="Append" type="" overloaded="no"> | |
10604 | <autodoc>Append(String name, int red, int green, int blue)</autodoc> | |
10605 | <paramlist> | |
10606 | <param name="name" type="String" default=""/> | |
10607 | <param name="red" type="int" default=""/> | |
10608 | <param name="green" type="int" default=""/> | |
10609 | <param name="blue" type="int" default=""/> | |
10610 | </paramlist> | |
10611 | </method> | |
10612 | </class> | |
10613 | <class name="FontList" oldname="wxFontList" module="gdi"> | |
10614 | <baseclass name="Object"/> | |
10615 | <method name="AddFont" type="" overloaded="no"> | |
10616 | <autodoc>AddFont(Font font)</autodoc> | |
10617 | <paramlist> | |
10618 | <param name="font" type="Font" default=""/> | |
10619 | </paramlist> | |
10620 | </method> | |
10621 | <method name="FindOrCreateFont" type="Font" overloaded="no"> | |
10622 | <autodoc>FindOrCreateFont(int point_size, int family, int style, int weight, | |
856bf319 RD |
10623 | bool underline=False, String facename=EmptyString, |
10624 | int encoding=FONTENCODING_DEFAULT) -> Font</autodoc> | |
f32fc4bc RD |
10625 | <paramlist> |
10626 | <param name="point_size" type="int" default=""/> | |
10627 | <param name="family" type="int" default=""/> | |
10628 | <param name="style" type="int" default=""/> | |
10629 | <param name="weight" type="int" default=""/> | |
10630 | <param name="underline" type="bool" default="False"/> | |
10631 | <param name="facename" type="String" default="wxPyEmptyString"/> | |
10632 | <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_DEFAULT"/> | |
10633 | </paramlist> | |
10634 | </method> | |
10635 | <method name="RemoveFont" type="" overloaded="no"> | |
10636 | <autodoc>RemoveFont(Font font)</autodoc> | |
10637 | <paramlist> | |
10638 | <param name="font" type="Font" default=""/> | |
10639 | </paramlist> | |
10640 | </method> | |
10641 | <method name="GetCount" type="int" overloaded="no"> | |
10642 | <autodoc>GetCount() -> int</autodoc> | |
10643 | </method> | |
10644 | </class> | |
10645 | <pythoncode> | |
856bf319 RD |
10646 | #--------------------------------------------------------------------------- |
10647 | </pythoncode> | |
f32fc4bc RD |
10648 | <pythoncode> NullColor = NullColour </pythoncode> |
10649 | <pythoncode> | |
856bf319 RD |
10650 | #--------------------------------------------------------------------------- |
10651 | </pythoncode> | |
f32fc4bc RD |
10652 | <class name="Effects" oldname="wxEffects" module="gdi"> |
10653 | <baseclass name="Object"/> | |
10654 | <constructor name="Effects" overloaded="no"> | |
10655 | <autodoc>__init__() -> Effects</autodoc> | |
10656 | </constructor> | |
10657 | <method name="GetHighlightColour" type="Colour" overloaded="no"> | |
10658 | <autodoc>GetHighlightColour() -> Colour</autodoc> | |
10659 | </method> | |
10660 | <method name="GetLightShadow" type="Colour" overloaded="no"> | |
10661 | <autodoc>GetLightShadow() -> Colour</autodoc> | |
10662 | </method> | |
10663 | <method name="GetFaceColour" type="Colour" overloaded="no"> | |
10664 | <autodoc>GetFaceColour() -> Colour</autodoc> | |
10665 | </method> | |
10666 | <method name="GetMediumShadow" type="Colour" overloaded="no"> | |
10667 | <autodoc>GetMediumShadow() -> Colour</autodoc> | |
10668 | </method> | |
10669 | <method name="GetDarkShadow" type="Colour" overloaded="no"> | |
10670 | <autodoc>GetDarkShadow() -> Colour</autodoc> | |
10671 | </method> | |
10672 | <method name="SetHighlightColour" type="" overloaded="no"> | |
10673 | <autodoc>SetHighlightColour(Colour c)</autodoc> | |
10674 | <paramlist> | |
10675 | <param name="c" type="Colour" default=""/> | |
10676 | </paramlist> | |
10677 | </method> | |
10678 | <method name="SetLightShadow" type="" overloaded="no"> | |
10679 | <autodoc>SetLightShadow(Colour c)</autodoc> | |
10680 | <paramlist> | |
10681 | <param name="c" type="Colour" default=""/> | |
10682 | </paramlist> | |
10683 | </method> | |
10684 | <method name="SetFaceColour" type="" overloaded="no"> | |
10685 | <autodoc>SetFaceColour(Colour c)</autodoc> | |
10686 | <paramlist> | |
10687 | <param name="c" type="Colour" default=""/> | |
10688 | </paramlist> | |
10689 | </method> | |
10690 | <method name="SetMediumShadow" type="" overloaded="no"> | |
10691 | <autodoc>SetMediumShadow(Colour c)</autodoc> | |
10692 | <paramlist> | |
10693 | <param name="c" type="Colour" default=""/> | |
10694 | </paramlist> | |
10695 | </method> | |
10696 | <method name="SetDarkShadow" type="" overloaded="no"> | |
10697 | <autodoc>SetDarkShadow(Colour c)</autodoc> | |
10698 | <paramlist> | |
10699 | <param name="c" type="Colour" default=""/> | |
10700 | </paramlist> | |
10701 | </method> | |
10702 | <method name="Set" type="" overloaded="no"> | |
10703 | <autodoc>Set(Colour highlightColour, Colour lightShadow, Colour faceColour, | |
856bf319 | 10704 | Colour mediumShadow, Colour darkShadow)</autodoc> |
f32fc4bc RD |
10705 | <paramlist> |
10706 | <param name="highlightColour" type="Colour" default=""/> | |
10707 | <param name="lightShadow" type="Colour" default=""/> | |
10708 | <param name="faceColour" type="Colour" default=""/> | |
10709 | <param name="mediumShadow" type="Colour" default=""/> | |
10710 | <param name="darkShadow" type="Colour" default=""/> | |
10711 | </paramlist> | |
10712 | </method> | |
10713 | <method name="DrawSunkenEdge" type="" overloaded="no"> | |
10714 | <autodoc>DrawSunkenEdge(DC dc, Rect rect, int borderSize=1)</autodoc> | |
10715 | <paramlist> | |
10716 | <param name="dc" type="DC" default=""/> | |
10717 | <param name="rect" type="Rect" default=""/> | |
10718 | <param name="borderSize" type="int" default="1"/> | |
10719 | </paramlist> | |
10720 | </method> | |
10721 | <method name="TileBitmap" type="bool" overloaded="no"> | |
10722 | <autodoc>TileBitmap(Rect rect, DC dc, Bitmap bitmap) -> bool</autodoc> | |
10723 | <paramlist> | |
10724 | <param name="rect" type="Rect" default=""/> | |
10725 | <param name="dc" type="DC" default=""/> | |
10726 | <param name="bitmap" type="Bitmap" default=""/> | |
10727 | </paramlist> | |
10728 | </method> | |
10729 | </class> | |
10730 | </module> | |
10731 | <module name="windows"> | |
10732 | <import name="core"/> | |
10733 | <pythoncode> wx = core </pythoncode> | |
10734 | <pythoncode> | |
856bf319 RD |
10735 | #--------------------------------------------------------------------------- |
10736 | </pythoncode> | |
f32fc4bc RD |
10737 | <class name="Panel" oldname="wxPanel" module="windows"> |
10738 | <baseclass name="Window"/> | |
10739 | <constructor name="Panel" overloaded="no"> | |
10740 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
856bf319 RD |
10741 | Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, |
10742 | String name=PanelNameStr) -> Panel</autodoc> | |
f32fc4bc RD |
10743 | <paramlist> |
10744 | <param name="parent" type="Window" default=""/> | |
10745 | <param name="id" type="int" default="-1"/> | |
10746 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
10747 | <param name="size" type="Size" default="wxDefaultSize"/> | |
10748 | <param name="style" type="long" default="wxTAB_TRAVERSAL|wxNO_BORDER"/> | |
10749 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
10750 | </paramlist> | |
10751 | </constructor> | |
10752 | <constructor name="PrePanel" overloaded="no"> | |
10753 | <autodoc>PrePanel() -> Panel</autodoc> | |
10754 | </constructor> | |
10755 | <method name="Create" type="bool" overloaded="no"> | |
10756 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
10757 | long style=wxTAB_TRAVERSAL|wxNO_BORDER, |
10758 | String name=PanelNameStr) -> bool</autodoc> | |
c2dda882 | 10759 | <docstring>Create the GUI part of the Window for 2-phase creation mode.</docstring> |
f32fc4bc RD |
10760 | <paramlist> |
10761 | <param name="parent" type="Window" default=""/> | |
10762 | <param name="id" type="int" default=""/> | |
10763 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
10764 | <param name="size" type="Size" default="wxDefaultSize"/> | |
10765 | <param name="style" type="long" default="wxTAB_TRAVERSAL|wxNO_BORDER"/> | |
10766 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
10767 | </paramlist> | |
10768 | </method> | |
10769 | <method name="InitDialog" type="" overloaded="no"> | |
10770 | <autodoc>InitDialog()</autodoc> | |
10771 | </method> | |
10772 | </class> | |
10773 | <pythoncode> | |
856bf319 RD |
10774 | #--------------------------------------------------------------------------- |
10775 | </pythoncode> | |
f32fc4bc RD |
10776 | <class name="ScrolledWindow" oldname="wxScrolledWindow" module="windows"> |
10777 | <baseclass name="Panel"/> | |
10778 | <constructor name="ScrolledWindow" overloaded="no"> | |
10779 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
856bf319 RD |
10780 | Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, |
10781 | String name=PanelNameStr) -> ScrolledWindow</autodoc> | |
f32fc4bc RD |
10782 | <paramlist> |
10783 | <param name="parent" type="Window" default=""/> | |
10784 | <param name="id" type="int" default="-1"/> | |
10785 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
10786 | <param name="size" type="Size" default="wxDefaultSize"/> | |
10787 | <param name="style" type="long" default="wxHSCROLL|wxVSCROLL"/> | |
10788 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
10789 | </paramlist> | |
10790 | </constructor> | |
10791 | <constructor name="PreScrolledWindow" overloaded="no"> | |
10792 | <autodoc>PreScrolledWindow() -> ScrolledWindow</autodoc> | |
10793 | </constructor> | |
10794 | <method name="Create" type="bool" overloaded="no"> | |
10795 | <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, | |
856bf319 RD |
10796 | Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, |
10797 | String name=PanelNameStr) -> bool</autodoc> | |
c2dda882 | 10798 | <docstring>Create the GUI part of the Window for 2-phase creation mode.</docstring> |
f32fc4bc RD |
10799 | <paramlist> |
10800 | <param name="parent" type="Window" default=""/> | |
10801 | <param name="id" type="int" default="-1"/> | |
10802 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
10803 | <param name="size" type="Size" default="wxDefaultSize"/> | |
10804 | <param name="style" type="long" default="wxHSCROLL|wxVSCROLL"/> | |
10805 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
10806 | </paramlist> | |
10807 | </method> | |
10808 | <method name="SetScrollbars" type="" overloaded="no"> | |
10809 | <autodoc>SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX, | |
856bf319 | 10810 | int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)</autodoc> |
f32fc4bc RD |
10811 | <paramlist> |
10812 | <param name="pixelsPerUnitX" type="int" default=""/> | |
10813 | <param name="pixelsPerUnitY" type="int" default=""/> | |
10814 | <param name="noUnitsX" type="int" default=""/> | |
10815 | <param name="noUnitsY" type="int" default=""/> | |
10816 | <param name="xPos" type="int" default="0"/> | |
10817 | <param name="yPos" type="int" default="0"/> | |
10818 | <param name="noRefresh" type="bool" default="False"/> | |
10819 | </paramlist> | |
10820 | </method> | |
10821 | <method name="Scroll" type="" overloaded="no"> | |
10822 | <autodoc>Scroll(int x, int y)</autodoc> | |
10823 | <paramlist> | |
10824 | <param name="x" type="int" default=""/> | |
10825 | <param name="y" type="int" default=""/> | |
10826 | </paramlist> | |
10827 | </method> | |
10828 | <method name="GetScrollPageSize" type="int" overloaded="no"> | |
10829 | <autodoc>GetScrollPageSize(int orient) -> int</autodoc> | |
10830 | <paramlist> | |
10831 | <param name="orient" type="int" default=""/> | |
10832 | </paramlist> | |
10833 | </method> | |
10834 | <method name="SetScrollPageSize" type="" overloaded="no"> | |
10835 | <autodoc>SetScrollPageSize(int orient, int pageSize)</autodoc> | |
10836 | <paramlist> | |
10837 | <param name="orient" type="int" default=""/> | |
10838 | <param name="pageSize" type="int" default=""/> | |
10839 | </paramlist> | |
10840 | </method> | |
10841 | <method name="SetScrollRate" type="" overloaded="no"> | |
10842 | <autodoc>SetScrollRate(int xstep, int ystep)</autodoc> | |
10843 | <paramlist> | |
10844 | <param name="xstep" type="int" default=""/> | |
10845 | <param name="ystep" type="int" default=""/> | |
10846 | </paramlist> | |
10847 | </method> | |
10848 | <method name="GetScrollPixelsPerUnit" type="" overloaded="no"> | |
10849 | <autodoc>GetScrollPixelsPerUnit() -> (xUnit, yUnit)</autodoc> | |
10850 | <docstring>Get the size of one logical unit in physical units.</docstring> | |
10851 | <paramlist> | |
10852 | <param name="OUTPUT" type="int" default=""/> | |
10853 | <param name="OUTPUT" type="int" default=""/> | |
10854 | </paramlist> | |
10855 | </method> | |
10856 | <method name="EnableScrolling" type="" overloaded="no"> | |
10857 | <autodoc>EnableScrolling(bool x_scrolling, bool y_scrolling)</autodoc> | |
10858 | <paramlist> | |
10859 | <param name="x_scrolling" type="bool" default=""/> | |
10860 | <param name="y_scrolling" type="bool" default=""/> | |
10861 | </paramlist> | |
10862 | </method> | |
10863 | <method name="GetViewStart" type="" overloaded="no"> | |
10864 | <autodoc>GetViewStart() -> (x,y)</autodoc> | |
10865 | <docstring>Get the view start</docstring> | |
10866 | <paramlist> | |
10867 | <param name="OUTPUT" type="int" default=""/> | |
10868 | <param name="OUTPUT" type="int" default=""/> | |
10869 | </paramlist> | |
10870 | </method> | |
10871 | <method name="SetScale" type="" overloaded="no"> | |
10872 | <autodoc>SetScale(double xs, double ys)</autodoc> | |
10873 | <paramlist> | |
10874 | <param name="xs" type="double" default=""/> | |
10875 | <param name="ys" type="double" default=""/> | |
10876 | </paramlist> | |
10877 | </method> | |
10878 | <method name="GetScaleX" type="double" overloaded="no"> | |
10879 | <autodoc>GetScaleX() -> double</autodoc> | |
10880 | </method> | |
10881 | <method name="GetScaleY" type="double" overloaded="no"> | |
10882 | <autodoc>GetScaleY() -> double</autodoc> | |
10883 | </method> | |
10884 | <method name="CalcScrolledPosition" type="Point" overloaded="yes"> | |
10885 | <docstring>Translate between scrolled and unscrolled coordinates.</docstring> | |
10886 | <paramlist> | |
10887 | <param name="pt" type="Point" default=""/> | |
10888 | </paramlist> | |
10889 | </method> | |
10890 | <method name="CalcScrolledPosition" type="" overloaded="yes"> | |
10891 | <autodoc>CalcScrolledPosition(Point pt) -> Point | |
856bf319 | 10892 | CalcScrolledPosition(int x, int y) -> (sx, sy)</autodoc> |
f32fc4bc RD |
10893 | <docstring>Translate between scrolled and unscrolled coordinates.</docstring> |
10894 | <paramlist> | |
10895 | <param name="x" type="int" default=""/> | |
10896 | <param name="y" type="int" default=""/> | |
10897 | <param name="OUTPUT" type="int" default=""/> | |
10898 | <param name="OUTPUT" type="int" default=""/> | |
10899 | </paramlist> | |
10900 | </method> | |
10901 | <method name="CalcUnscrolledPosition" type="Point" overloaded="yes"> | |
10902 | <docstring>Translate between scrolled and unscrolled coordinates.</docstring> | |
10903 | <paramlist> | |
10904 | <param name="pt" type="Point" default=""/> | |
10905 | </paramlist> | |
10906 | </method> | |
10907 | <method name="CalcUnscrolledPosition" type="" overloaded="yes"> | |
10908 | <autodoc>CalcUnscrolledPosition(Point pt) -> Point | |
856bf319 | 10909 | CalcUnscrolledPosition(int x, int y) -> (ux, uy)</autodoc> |
f32fc4bc RD |
10910 | <docstring>Translate between scrolled and unscrolled coordinates.</docstring> |
10911 | <paramlist> | |
10912 | <param name="x" type="int" default=""/> | |
10913 | <param name="y" type="int" default=""/> | |
10914 | <param name="OUTPUT" type="int" default=""/> | |
10915 | <param name="OUTPUT" type="int" default=""/> | |
10916 | </paramlist> | |
10917 | </method> | |
10918 | <method name="AdjustScrollbars" type="" overloaded="no"> | |
10919 | <autodoc>AdjustScrollbars()</autodoc> | |
10920 | </method> | |
10921 | <method name="CalcScrollInc" type="int" overloaded="no"> | |
10922 | <autodoc>CalcScrollInc(ScrollWinEvent event) -> int</autodoc> | |
10923 | <paramlist> | |
10924 | <param name="event" type="ScrollWinEvent" default=""/> | |
10925 | </paramlist> | |
10926 | </method> | |
10927 | <method name="SetTargetWindow" type="" overloaded="no"> | |
10928 | <autodoc>SetTargetWindow(Window target)</autodoc> | |
10929 | <paramlist> | |
10930 | <param name="target" type="Window" default=""/> | |
10931 | </paramlist> | |
10932 | </method> | |
10933 | <method name="GetTargetWindow" type="Window" overloaded="no"> | |
10934 | <autodoc>GetTargetWindow() -> Window</autodoc> | |
10935 | </method> | |
10936 | </class> | |
10937 | <pythoncode> | |
856bf319 RD |
10938 | #--------------------------------------------------------------------------- |
10939 | </pythoncode> | |
f32fc4bc RD |
10940 | <class name="TopLevelWindow" oldname="wxTopLevelWindow" module="windows"> |
10941 | <baseclass name="Window"/> | |
10942 | <method name="Maximize" type="" overloaded="no"> | |
10943 | <autodoc>Maximize(bool maximize=True)</autodoc> | |
10944 | <paramlist> | |
10945 | <param name="maximize" type="bool" default="True"/> | |
10946 | </paramlist> | |
10947 | </method> | |
10948 | <method name="Restore" type="" overloaded="no"> | |
10949 | <autodoc>Restore()</autodoc> | |
10950 | </method> | |
10951 | <method name="Iconize" type="" overloaded="no"> | |
10952 | <autodoc>Iconize(bool iconize=True)</autodoc> | |
10953 | <paramlist> | |
10954 | <param name="iconize" type="bool" default="True"/> | |
10955 | </paramlist> | |
10956 | </method> | |
10957 | <method name="IsMaximized" type="bool" overloaded="no"> | |
10958 | <autodoc>IsMaximized() -> bool</autodoc> | |
10959 | </method> | |
10960 | <method name="IsIconized" type="bool" overloaded="no"> | |
10961 | <autodoc>IsIconized() -> bool</autodoc> | |
10962 | </method> | |
10963 | <method name="GetIcon" type="Icon" overloaded="no"> | |
10964 | <autodoc>GetIcon() -> Icon</autodoc> | |
10965 | </method> | |
10966 | <method name="SetIcon" type="" overloaded="no"> | |
10967 | <autodoc>SetIcon(Icon icon)</autodoc> | |
10968 | <paramlist> | |
10969 | <param name="icon" type="Icon" default=""/> | |
10970 | </paramlist> | |
10971 | </method> | |
10972 | <method name="SetIcons" type="" overloaded="no"> | |
10973 | <autodoc>SetIcons(wxIconBundle icons)</autodoc> | |
10974 | <paramlist> | |
10975 | <param name="icons" type="IconBundle" default=""/> | |
10976 | </paramlist> | |
10977 | </method> | |
10978 | <method name="ShowFullScreen" type="bool" overloaded="no"> | |
10979 | <autodoc>ShowFullScreen(bool show, long style=FULLSCREEN_ALL) -> bool</autodoc> | |
10980 | <paramlist> | |
10981 | <param name="show" type="bool" default=""/> | |
10982 | <param name="style" type="long" default="wxFULLSCREEN_ALL"/> | |
10983 | </paramlist> | |
10984 | </method> | |
10985 | <method name="IsFullScreen" type="bool" overloaded="no"> | |
10986 | <autodoc>IsFullScreen() -> bool</autodoc> | |
10987 | </method> | |
10988 | <method name="SetTitle" type="" overloaded="no"> | |
10989 | <autodoc>SetTitle(String title)</autodoc> | |
c2dda882 | 10990 | <docstring>Sets the window's title. Applicable only to frames and dialogs.</docstring> |
f32fc4bc RD |
10991 | <paramlist> |
10992 | <param name="title" type="String" default=""/> | |
10993 | </paramlist> | |
10994 | </method> | |
10995 | <method name="GetTitle" type="String" overloaded="no"> | |
10996 | <autodoc>GetTitle() -> String</autodoc> | |
c2dda882 | 10997 | <docstring>Gets the window's title. Applicable only to frames and dialogs.</docstring> |
f32fc4bc RD |
10998 | </method> |
10999 | <method name="SetShape" type="bool" overloaded="no"> | |
11000 | <autodoc>SetShape(Region region) -> bool</autodoc> | |
11001 | <paramlist> | |
11002 | <param name="region" type="Region" default=""/> | |
11003 | </paramlist> | |
11004 | </method> | |
11005 | </class> | |
11006 | <pythoncode> | |
856bf319 RD |
11007 | #--------------------------------------------------------------------------- |
11008 | </pythoncode> | |
f32fc4bc RD |
11009 | <class name="Frame" oldname="wxFrame" module="windows"> |
11010 | <baseclass name="TopLevelWindow"/> | |
11011 | <constructor name="Frame" overloaded="no"> | |
11012 | <autodoc>__init__(Window parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
11013 | Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, |
11014 | String name=FrameNameStr) -> Frame</autodoc> | |
f32fc4bc RD |
11015 | <paramlist> |
11016 | <param name="parent" type="Window" default=""/> | |
11017 | <param name="id" type="int" default=""/> | |
11018 | <param name="title" type="String" default=""/> | |
11019 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11020 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11021 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
11022 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
11023 | </paramlist> | |
11024 | </constructor> | |
11025 | <constructor name="PreFrame" overloaded="no"> | |
11026 | <autodoc>PreFrame() -> Frame</autodoc> | |
11027 | </constructor> | |
11028 | <method name="Create" type="bool" overloaded="no"> | |
11029 | <autodoc>Create(Window parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
11030 | Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, |
11031 | String name=FrameNameStr) -> bool</autodoc> | |
f32fc4bc RD |
11032 | <paramlist> |
11033 | <param name="parent" type="Window" default=""/> | |
11034 | <param name="id" type="int" default=""/> | |
11035 | <param name="title" type="String" default=""/> | |
11036 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11037 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11038 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
11039 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
11040 | </paramlist> | |
11041 | </method> | |
11042 | <method name="GetClientAreaOrigin" type="Point" overloaded="no"> | |
11043 | <autodoc>GetClientAreaOrigin() -> Point</autodoc> | |
c2dda882 RD |
11044 | <docstring>Get the origin of the client area of the window relative to the |
11045 | window's top left corner (the client area may be shifted because of | |
11046 | the borders, scrollbars, other decorations...)</docstring> | |
f32fc4bc RD |
11047 | </method> |
11048 | <method name="SendSizeEvent" type="" overloaded="no"> | |
11049 | <autodoc>SendSizeEvent()</autodoc> | |
11050 | </method> | |
11051 | <method name="SetMenuBar" type="" overloaded="no"> | |
11052 | <autodoc>SetMenuBar(MenuBar menubar)</autodoc> | |
11053 | <paramlist> | |
11054 | <param name="menubar" type="MenuBar" default=""/> | |
11055 | </paramlist> | |
11056 | </method> | |
11057 | <method name="GetMenuBar" type="MenuBar" overloaded="no"> | |
11058 | <autodoc>GetMenuBar() -> MenuBar</autodoc> | |
11059 | </method> | |
11060 | <method name="ProcessCommand" type="bool" overloaded="no"> | |
11061 | <autodoc>ProcessCommand(int winid) -> bool</autodoc> | |
11062 | <paramlist> | |
11063 | <param name="winid" type="int" default=""/> | |
11064 | </paramlist> | |
11065 | </method> | |
11066 | <method name="CreateStatusBar" type="wxStatusBar" overloaded="no"> | |
b39e211b RD |
11067 | <autodoc>CreateStatusBar(int number=1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE, |
11068 | int winid=0, String name=StatusLineNameStr) -> StatusBar</autodoc> | |
f32fc4bc RD |
11069 | <paramlist> |
11070 | <param name="number" type="int" default="1"/> | |
b39e211b | 11071 | <param name="style" type="long" default="wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE"/> |
f32fc4bc RD |
11072 | <param name="winid" type="int" default="0"/> |
11073 | <param name="name" type="String" default="wxPyStatusLineNameStr"/> | |
11074 | </paramlist> | |
11075 | </method> | |
11076 | <method name="GetStatusBar" type="wxStatusBar" overloaded="no"> | |
11077 | <autodoc>GetStatusBar() -> StatusBar</autodoc> | |
11078 | </method> | |
11079 | <method name="SetStatusBar" type="" overloaded="no"> | |
11080 | <autodoc>SetStatusBar(StatusBar statBar)</autodoc> | |
11081 | <paramlist> | |
11082 | <param name="statBar" type="wxStatusBar" default=""/> | |
11083 | </paramlist> | |
11084 | </method> | |
11085 | <method name="SetStatusText" type="" overloaded="no"> | |
11086 | <autodoc>SetStatusText(String text, int number=0)</autodoc> | |
11087 | <paramlist> | |
11088 | <param name="text" type="String" default=""/> | |
11089 | <param name="number" type="int" default="0"/> | |
11090 | </paramlist> | |
11091 | </method> | |
11092 | <method name="SetStatusWidths" type="" overloaded="no"> | |
11093 | <autodoc>SetStatusWidths(int widths, int widths_field)</autodoc> | |
11094 | <paramlist> | |
11095 | <param name="widths" type="int" default=""/> | |
11096 | <param name="widths_field" type="int" default=""/> | |
11097 | </paramlist> | |
11098 | </method> | |
11099 | <method name="PushStatusText" type="" overloaded="no"> | |
11100 | <autodoc>PushStatusText(String text, int number=0)</autodoc> | |
11101 | <paramlist> | |
11102 | <param name="text" type="String" default=""/> | |
11103 | <param name="number" type="int" default="0"/> | |
11104 | </paramlist> | |
11105 | </method> | |
11106 | <method name="PopStatusText" type="" overloaded="no"> | |
11107 | <autodoc>PopStatusText(int number=0)</autodoc> | |
11108 | <paramlist> | |
11109 | <param name="number" type="int" default="0"/> | |
11110 | </paramlist> | |
11111 | </method> | |
11112 | <method name="SetStatusBarPane" type="" overloaded="no"> | |
11113 | <autodoc>SetStatusBarPane(int n)</autodoc> | |
11114 | <paramlist> | |
11115 | <param name="n" type="int" default=""/> | |
11116 | </paramlist> | |
11117 | </method> | |
11118 | <method name="GetStatusBarPane" type="int" overloaded="no"> | |
11119 | <autodoc>GetStatusBarPane() -> int</autodoc> | |
11120 | </method> | |
11121 | <method name="CreateToolBar" type="wxToolBar" overloaded="no"> | |
11122 | <autodoc>CreateToolBar(long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar</autodoc> | |
11123 | <paramlist> | |
11124 | <param name="style" type="long" default="-1"/> | |
11125 | <param name="winid" type="int" default="-1"/> | |
11126 | <param name="name" type="String" default="wxPyToolBarNameStr"/> | |
11127 | </paramlist> | |
11128 | </method> | |
11129 | <method name="GetToolBar" type="wxToolBar" overloaded="no"> | |
11130 | <autodoc>GetToolBar() -> wxToolBar</autodoc> | |
11131 | </method> | |
11132 | <method name="SetToolBar" type="" overloaded="no"> | |
11133 | <autodoc>SetToolBar(wxToolBar toolbar)</autodoc> | |
11134 | <paramlist> | |
11135 | <param name="toolbar" type="wxToolBar" default=""/> | |
11136 | </paramlist> | |
11137 | </method> | |
11138 | <method name="DoGiveHelp" type="" overloaded="no"> | |
11139 | <autodoc>DoGiveHelp(String text, bool show)</autodoc> | |
11140 | <paramlist> | |
11141 | <param name="text" type="String" default=""/> | |
11142 | <param name="show" type="bool" default=""/> | |
11143 | </paramlist> | |
11144 | </method> | |
11145 | <method name="DoMenuUpdates" type="" overloaded="no"> | |
11146 | <autodoc>DoMenuUpdates(Menu menu=None)</autodoc> | |
11147 | <paramlist> | |
11148 | <param name="menu" type="Menu" default="NULL"/> | |
11149 | </paramlist> | |
11150 | </method> | |
11151 | </class> | |
11152 | <pythoncode> | |
856bf319 RD |
11153 | #--------------------------------------------------------------------------- |
11154 | </pythoncode> | |
f32fc4bc RD |
11155 | <class name="Dialog" oldname="wxDialog" module="windows"> |
11156 | <baseclass name="TopLevelWindow"/> | |
11157 | <constructor name="Dialog" overloaded="no"> | |
11158 | <autodoc>__init__(Window parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
11159 | Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, |
11160 | String name=DialogNameStr) -> Dialog</autodoc> | |
f32fc4bc RD |
11161 | <paramlist> |
11162 | <param name="parent" type="Window" default=""/> | |
11163 | <param name="id" type="int" default=""/> | |
11164 | <param name="title" type="String" default=""/> | |
11165 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11166 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11167 | <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/> | |
11168 | <param name="name" type="String" default="wxPyDialogNameStr"/> | |
11169 | </paramlist> | |
11170 | </constructor> | |
11171 | <constructor name="PreDialog" overloaded="no"> | |
11172 | <autodoc>PreDialog() -> Dialog</autodoc> | |
11173 | </constructor> | |
11174 | <method name="Create" type="bool" overloaded="no"> | |
11175 | <autodoc>Create(Window parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
11176 | Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, |
11177 | String name=DialogNameStr) -> bool</autodoc> | |
f32fc4bc RD |
11178 | <paramlist> |
11179 | <param name="parent" type="Window" default=""/> | |
11180 | <param name="id" type="int" default=""/> | |
11181 | <param name="title" type="String" default=""/> | |
11182 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11183 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11184 | <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/> | |
11185 | <param name="name" type="String" default="wxPyDialogNameStr"/> | |
11186 | </paramlist> | |
11187 | </method> | |
11188 | <method name="SetReturnCode" type="" overloaded="no"> | |
11189 | <autodoc>SetReturnCode(int returnCode)</autodoc> | |
11190 | <paramlist> | |
11191 | <param name="returnCode" type="int" default=""/> | |
11192 | </paramlist> | |
11193 | </method> | |
11194 | <method name="GetReturnCode" type="int" overloaded="no"> | |
11195 | <autodoc>GetReturnCode() -> int</autodoc> | |
11196 | </method> | |
11197 | <method name="CreateTextSizer" type="Sizer" overloaded="no"> | |
11198 | <autodoc>CreateTextSizer(String message) -> Sizer</autodoc> | |
11199 | <paramlist> | |
11200 | <param name="message" type="String" default=""/> | |
11201 | </paramlist> | |
11202 | </method> | |
11203 | <method name="CreateButtonSizer" type="Sizer" overloaded="no"> | |
11204 | <autodoc>CreateButtonSizer(long flags) -> Sizer</autodoc> | |
11205 | <paramlist> | |
11206 | <param name="flags" type="long" default=""/> | |
11207 | </paramlist> | |
11208 | </method> | |
11209 | <method name="IsModal" type="bool" overloaded="no"> | |
11210 | <autodoc>IsModal() -> bool</autodoc> | |
11211 | </method> | |
11212 | <method name="ShowModal" type="int" overloaded="no"> | |
11213 | <autodoc>ShowModal() -> int</autodoc> | |
11214 | </method> | |
11215 | <method name="EndModal" type="" overloaded="no"> | |
11216 | <autodoc>EndModal(int retCode)</autodoc> | |
11217 | <paramlist> | |
11218 | <param name="retCode" type="int" default=""/> | |
11219 | </paramlist> | |
11220 | </method> | |
11221 | <method name="IsModalShowing" type="bool" overloaded="no"> | |
11222 | <autodoc>IsModalShowing() -> bool</autodoc> | |
11223 | </method> | |
11224 | </class> | |
11225 | <pythoncode> | |
856bf319 RD |
11226 | #--------------------------------------------------------------------------- |
11227 | </pythoncode> | |
f32fc4bc RD |
11228 | <class name="MiniFrame" oldname="wxMiniFrame" module="windows"> |
11229 | <baseclass name="Frame"/> | |
11230 | <constructor name="MiniFrame" overloaded="no"> | |
11231 | <autodoc>__init__(Window parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
11232 | Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, |
11233 | String name=FrameNameStr) -> MiniFrame</autodoc> | |
f32fc4bc RD |
11234 | <paramlist> |
11235 | <param name="parent" type="Window" default=""/> | |
11236 | <param name="id" type="int" default=""/> | |
11237 | <param name="title" type="String" default=""/> | |
11238 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11239 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11240 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
11241 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
11242 | </paramlist> | |
11243 | </constructor> | |
11244 | <constructor name="PreMiniFrame" overloaded="no"> | |
11245 | <autodoc>PreMiniFrame() -> MiniFrame</autodoc> | |
11246 | </constructor> | |
11247 | <method name="Create" type="bool" overloaded="no"> | |
11248 | <autodoc>Create(Window parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
11249 | Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, |
11250 | String name=FrameNameStr) -> bool</autodoc> | |
f32fc4bc RD |
11251 | <paramlist> |
11252 | <param name="parent" type="Window" default=""/> | |
11253 | <param name="id" type="int" default=""/> | |
11254 | <param name="title" type="String" default=""/> | |
11255 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11256 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11257 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
11258 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
11259 | </paramlist> | |
11260 | </method> | |
11261 | </class> | |
11262 | <pythoncode> | |
856bf319 RD |
11263 | #--------------------------------------------------------------------------- |
11264 | </pythoncode> | |
f32fc4bc RD |
11265 | <class name="SplashScreenWindow" oldname="wxSplashScreenWindow" module="windows"> |
11266 | <baseclass name="Window"/> | |
11267 | <constructor name="SplashScreenWindow" overloaded="no"> | |
11268 | <autodoc>__init__(Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition, | |
856bf319 | 11269 | Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow</autodoc> |
f32fc4bc RD |
11270 | <paramlist> |
11271 | <param name="bitmap" type="Bitmap" default=""/> | |
11272 | <param name="parent" type="Window" default=""/> | |
11273 | <param name="id" type="int" default=""/> | |
11274 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11275 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11276 | <param name="style" type="long" default="wxNO_BORDER"/> | |
11277 | </paramlist> | |
11278 | </constructor> | |
11279 | <method name="SetBitmap" type="" overloaded="no"> | |
11280 | <autodoc>SetBitmap(Bitmap bitmap)</autodoc> | |
11281 | <paramlist> | |
11282 | <param name="bitmap" type="Bitmap" default=""/> | |
11283 | </paramlist> | |
11284 | </method> | |
11285 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
11286 | <autodoc>GetBitmap() -> Bitmap</autodoc> | |
11287 | </method> | |
11288 | </class> | |
11289 | <class name="SplashScreen" oldname="wxSplashScreen" module="windows"> | |
11290 | <baseclass name="Frame"/> | |
11291 | <constructor name="SplashScreen" overloaded="no"> | |
11292 | <autodoc>__init__(Bitmap bitmap, long splashStyle, int milliseconds, | |
856bf319 RD |
11293 | Window parent, int id, Point pos=DefaultPosition, |
11294 | Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen</autodoc> | |
f32fc4bc RD |
11295 | <paramlist> |
11296 | <param name="bitmap" type="Bitmap" default=""/> | |
11297 | <param name="splashStyle" type="long" default=""/> | |
11298 | <param name="milliseconds" type="int" default=""/> | |
11299 | <param name="parent" type="Window" default=""/> | |
11300 | <param name="id" type="int" default=""/> | |
11301 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11302 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11303 | <param name="style" type="long" default="wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP"/> | |
11304 | </paramlist> | |
11305 | </constructor> | |
11306 | <method name="GetSplashStyle" type="long" overloaded="no"> | |
11307 | <autodoc>GetSplashStyle() -> long</autodoc> | |
11308 | </method> | |
11309 | <method name="GetSplashWindow" type="SplashScreenWindow" overloaded="no"> | |
11310 | <autodoc>GetSplashWindow() -> SplashScreenWindow</autodoc> | |
11311 | </method> | |
11312 | <method name="GetTimeout" type="int" overloaded="no"> | |
11313 | <autodoc>GetTimeout() -> int</autodoc> | |
11314 | </method> | |
11315 | </class> | |
11316 | <pythoncode> | |
856bf319 RD |
11317 | #--------------------------------------------------------------------------- |
11318 | </pythoncode> | |
f32fc4bc RD |
11319 | <class name="StatusBar" oldname="wxStatusBar" module="windows"> |
11320 | <baseclass name="Window"/> | |
11321 | <constructor name="StatusBar" overloaded="no"> | |
b39e211b RD |
11322 | <autodoc>__init__(Window parent, int id=-1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE, |
11323 | String name=StatusLineNameStr) -> StatusBar</autodoc> | |
f32fc4bc RD |
11324 | <paramlist> |
11325 | <param name="parent" type="Window" default=""/> | |
11326 | <param name="id" type="int" default="-1"/> | |
b39e211b | 11327 | <param name="style" type="long" default="wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE"/> |
f32fc4bc RD |
11328 | <param name="name" type="String" default="wxPyStatusLineNameStr"/> |
11329 | </paramlist> | |
11330 | </constructor> | |
11331 | <constructor name="PreStatusBar" overloaded="no"> | |
11332 | <autodoc>PreStatusBar() -> StatusBar</autodoc> | |
11333 | </constructor> | |
11334 | <method name="Create" type="bool" overloaded="no"> | |
11335 | <autodoc>Create(Window parent, int id, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool</autodoc> | |
11336 | <paramlist> | |
11337 | <param name="parent" type="Window" default=""/> | |
11338 | <param name="id" type="int" default=""/> | |
11339 | <param name="style" type="long" default="wxST_SIZEGRIP"/> | |
11340 | <param name="name" type="String" default="wxPyStatusLineNameStr"/> | |
11341 | </paramlist> | |
11342 | </method> | |
11343 | <method name="SetFieldsCount" type="" overloaded="no"> | |
11344 | <autodoc>SetFieldsCount(int number=1)</autodoc> | |
11345 | <paramlist> | |
11346 | <param name="number" type="int" default="1"/> | |
11347 | </paramlist> | |
11348 | </method> | |
11349 | <method name="GetFieldsCount" type="int" overloaded="no"> | |
11350 | <autodoc>GetFieldsCount() -> int</autodoc> | |
11351 | </method> | |
11352 | <method name="SetStatusText" type="" overloaded="no"> | |
11353 | <autodoc>SetStatusText(String text, int number=0)</autodoc> | |
11354 | <paramlist> | |
11355 | <param name="text" type="String" default=""/> | |
11356 | <param name="number" type="int" default="0"/> | |
11357 | </paramlist> | |
11358 | </method> | |
11359 | <method name="GetStatusText" type="String" overloaded="no"> | |
11360 | <autodoc>GetStatusText(int number=0) -> String</autodoc> | |
11361 | <paramlist> | |
11362 | <param name="number" type="int" default="0"/> | |
11363 | </paramlist> | |
11364 | </method> | |
11365 | <method name="PushStatusText" type="" overloaded="no"> | |
11366 | <autodoc>PushStatusText(String text, int number=0)</autodoc> | |
11367 | <paramlist> | |
11368 | <param name="text" type="String" default=""/> | |
11369 | <param name="number" type="int" default="0"/> | |
11370 | </paramlist> | |
11371 | </method> | |
11372 | <method name="PopStatusText" type="" overloaded="no"> | |
11373 | <autodoc>PopStatusText(int number=0)</autodoc> | |
11374 | <paramlist> | |
11375 | <param name="number" type="int" default="0"/> | |
11376 | </paramlist> | |
11377 | </method> | |
11378 | <method name="SetStatusWidths" type="" overloaded="no"> | |
11379 | <autodoc>SetStatusWidths(int widths, int widths_field)</autodoc> | |
11380 | <paramlist> | |
11381 | <param name="widths" type="int" default=""/> | |
11382 | <param name="widths_field" type="int" default=""/> | |
11383 | </paramlist> | |
11384 | </method> | |
11385 | <method name="GetFieldRect" type="Rect" overloaded="no"> | |
11386 | <autodoc>GetFieldRect(int i) -> Rect</autodoc> | |
11387 | <paramlist> | |
11388 | <param name="i" type="int" default=""/> | |
11389 | </paramlist> | |
11390 | </method> | |
11391 | <method name="SetMinHeight" type="" overloaded="no"> | |
11392 | <autodoc>SetMinHeight(int height)</autodoc> | |
11393 | <paramlist> | |
11394 | <param name="height" type="int" default=""/> | |
11395 | </paramlist> | |
11396 | </method> | |
11397 | <method name="GetBorderX" type="int" overloaded="no"> | |
11398 | <autodoc>GetBorderX() -> int</autodoc> | |
11399 | </method> | |
11400 | <method name="GetBorderY" type="int" overloaded="no"> | |
11401 | <autodoc>GetBorderY() -> int</autodoc> | |
11402 | </method> | |
11403 | </class> | |
11404 | <pythoncode> | |
856bf319 RD |
11405 | #--------------------------------------------------------------------------- |
11406 | </pythoncode> | |
f32fc4bc | 11407 | <class name="SplitterWindow" oldname="wxSplitterWindow" module="windows"> |
368d20e8 RD |
11408 | <docstring>wx.SplitterWindow manages up to two subwindows or panes, |
11409 | with an optional vertical or horizontal split which can be | |
11410 | used with the mouse or programmatically. | |
11411 | </docstring> | |
11412 | <refdoc> | |
11413 | Styles | |
11414 | wx.SP_3D Draws a 3D effect border and sash. | |
11415 | wx.SP_3DSASH Draws a 3D effect sash. | |
11416 | wx.SP_3DBORDER Synonym for wxSP_BORDER. | |
11417 | wx.SP_BORDER Draws a standard border. | |
11418 | wx.SP_NOBORDER No border (default). | |
11419 | wx.SP_NO_XP_THEME Under Windows XP, switches off the | |
11420 | attempt to draw the splitter | |
11421 | using Windows XP theming, so the | |
11422 | borders and sash will take on the | |
11423 | pre-XP look. | |
11424 | wx.SP_PERMIT_UNSPLIT Always allow to unsplit, even with | |
11425 | the minimum pane size other than zero. | |
11426 | wx.SP_LIVE_UPDATE Don't draw XOR line but resize the | |
11427 | child windows immediately. | |
11428 | ||
11429 | Events | |
11430 | ||
11431 | EVT_SPLITTER_SASH_POS_CHANGING | |
11432 | The sash position is in the | |
11433 | process of being changed. May be | |
11434 | used to modify the position of | |
11435 | the tracking bar to properly | |
11436 | reflect the position that would | |
11437 | be set if the drag were to be | |
11438 | completed at this point. | |
11439 | ||
11440 | EVT_SPLITTER_SASH_POS_CHANGED | |
11441 | The sash position was | |
11442 | changed. May be used to modify | |
11443 | the sash position before it is | |
11444 | set, or to prevent the change | |
11445 | from taking place. | |
11446 | ||
11447 | EVT_SPLITTER_UNSPLIT The splitter has been just unsplit. | |
11448 | ||
11449 | EVT_SPLITTER_DCLICK The sash was double clicked. The | |
11450 | default behaviour is to unsplit | |
11451 | the window when this happens | |
11452 | (unless the minimum pane size has | |
11453 | been set to a value greater than | |
11454 | zero.) | |
11455 | ||
11456 | </refdoc> | |
f32fc4bc RD |
11457 | <baseclass name="Window"/> |
11458 | <constructor name="SplitterWindow" overloaded="no"> | |
11459 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 | 11460 | long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow</autodoc> |
368d20e8 | 11461 | <docstring>Constructor. Creates and shows a SplitterWindow.</docstring> |
f32fc4bc RD |
11462 | <paramlist> |
11463 | <param name="parent" type="Window" default=""/> | |
11464 | <param name="id" type="int" default=""/> | |
11465 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11466 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11467 | <param name="style" type="long" default="wxSP_3D"/> | |
11468 | <param name="name" type="String" default="wxPySplitterNameStr"/> | |
11469 | </paramlist> | |
11470 | </constructor> | |
11471 | <constructor name="PreSplitterWindow" overloaded="no"> | |
11472 | <autodoc>PreSplitterWindow() -> SplitterWindow</autodoc> | |
368d20e8 | 11473 | <docstring>Precreate a SplitterWindow for 2-phase creation.</docstring> |
f32fc4bc RD |
11474 | </constructor> |
11475 | <method name="Create" type="bool" overloaded="no"> | |
11476 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 | 11477 | long style=SP_3D, String name=SplitterNameStr) -> bool</autodoc> |
368d20e8 | 11478 | <docstring>Create the GUI part of the SplitterWindow for the 2-phase create.</docstring> |
f32fc4bc RD |
11479 | <paramlist> |
11480 | <param name="parent" type="Window" default=""/> | |
11481 | <param name="id" type="int" default=""/> | |
11482 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11483 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11484 | <param name="style" type="long" default="wxSP_3D"/> | |
11485 | <param name="name" type="String" default="wxPySplitterNameStr"/> | |
11486 | </paramlist> | |
11487 | </method> | |
11488 | <method name="GetWindow1" type="Window" overloaded="no"> | |
11489 | <autodoc>GetWindow1() -> Window</autodoc> | |
368d20e8 | 11490 | <docstring>Gets the only or left/top pane.</docstring> |
f32fc4bc RD |
11491 | </method> |
11492 | <method name="GetWindow2" type="Window" overloaded="no"> | |
11493 | <autodoc>GetWindow2() -> Window</autodoc> | |
368d20e8 | 11494 | <docstring>Gets the right/bottom pane.</docstring> |
f32fc4bc RD |
11495 | </method> |
11496 | <method name="SetSplitMode" type="" overloaded="no"> | |
11497 | <autodoc>SetSplitMode(int mode)</autodoc> | |
368d20e8 RD |
11498 | <docstring>Sets the split mode. The mode can be wx.SPLIT_VERTICAL or |
11499 | wx.SPLIT_HORIZONTAL. This only sets the internal variable; | |
11500 | does not update the display.</docstring> | |
f32fc4bc RD |
11501 | <paramlist> |
11502 | <param name="mode" type="int" default=""/> | |
11503 | </paramlist> | |
11504 | </method> | |
11505 | <method name="GetSplitMode" type="wxSplitMode" overloaded="no"> | |
11506 | <autodoc>GetSplitMode() -> int</autodoc> | |
368d20e8 | 11507 | <docstring>Gets the split mode</docstring> |
f32fc4bc RD |
11508 | </method> |
11509 | <method name="Initialize" type="" overloaded="no"> | |
11510 | <autodoc>Initialize(Window window)</autodoc> | |
368d20e8 RD |
11511 | <docstring>Initializes the splitter window to have one pane. This |
11512 | should be called if you wish to initially view only a single | |
11513 | pane in the splitter window.</docstring> | |
f32fc4bc RD |
11514 | <paramlist> |
11515 | <param name="window" type="Window" default=""/> | |
11516 | </paramlist> | |
11517 | </method> | |
11518 | <method name="SplitVertically" type="bool" overloaded="no"> | |
11519 | <autodoc>SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool</autodoc> | |
368d20e8 RD |
11520 | <docstring>Initializes the left and right panes of the splitter window. |
11521 | ||
11522 | window1 The left pane. | |
11523 | window2 The right pane. | |
11524 | sashPosition The initial position of the sash. If this | |
11525 | value is positive, it specifies the size | |
11526 | of the left pane. If it is negative, it is | |
11527 | absolute value gives the size of the right | |
11528 | pane. Finally, specify 0 (default) to | |
11529 | choose the default position (half of the | |
11530 | total window width). | |
11531 | ||
11532 | Returns True if successful, False otherwise (the window was | |
11533 | already split). | |
11534 | ||
11535 | SplitVertically should be called if you wish to initially | |
11536 | view two panes. It can also be called at any subsequent | |
11537 | time, but the application should check that the window is | |
11538 | not currently split using IsSplit.</docstring> | |
f32fc4bc RD |
11539 | <paramlist> |
11540 | <param name="window1" type="Window" default=""/> | |
11541 | <param name="window2" type="Window" default=""/> | |
11542 | <param name="sashPosition" type="int" default="0"/> | |
11543 | </paramlist> | |
11544 | </method> | |
11545 | <method name="SplitHorizontally" type="bool" overloaded="no"> | |
11546 | <autodoc>SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool</autodoc> | |
368d20e8 RD |
11547 | <docstring>Initializes the top and bottom panes of the splitter window. |
11548 | ||
11549 | window1 The top pane. | |
11550 | window2 The bottom pane. | |
11551 | sashPosition The initial position of the sash. If this | |
11552 | value is positive, it specifies the size | |
11553 | of the upper pane. If it is negative, it | |
11554 | is absolute value gives the size of the | |
11555 | lower pane. Finally, specify 0 (default) | |
11556 | to choose the default position (half of | |
11557 | the total window height). | |
11558 | ||
11559 | Returns True if successful, False otherwise (the window was | |
11560 | already split). | |
11561 | ||
11562 | SplitHorizontally should be called if you wish to initially | |
11563 | view two panes. It can also be called at any subsequent | |
11564 | time, but the application should check that the window is | |
11565 | not currently split using IsSplit.</docstring> | |
f32fc4bc RD |
11566 | <paramlist> |
11567 | <param name="window1" type="Window" default=""/> | |
11568 | <param name="window2" type="Window" default=""/> | |
11569 | <param name="sashPosition" type="int" default="0"/> | |
11570 | </paramlist> | |
11571 | </method> | |
11572 | <method name="Unsplit" type="bool" overloaded="no"> | |
11573 | <autodoc>Unsplit(Window toRemove=None) -> bool</autodoc> | |
368d20e8 RD |
11574 | <docstring>Unsplits the window. Pass the pane to remove, or None to |
11575 | remove the right or bottom pane. Returns True if | |
11576 | successful, False otherwise (the window was not split). | |
11577 | ||
11578 | This function will not actually delete the pane being | |
11579 | removed; it sends EVT_SPLITTER_UNSPLIT which can be handled | |
11580 | for the desired behaviour. By default, the pane being | |
11581 | removed is only hidden.</docstring> | |
f32fc4bc RD |
11582 | <paramlist> |
11583 | <param name="toRemove" type="Window" default="NULL"/> | |
11584 | </paramlist> | |
11585 | </method> | |
11586 | <method name="ReplaceWindow" type="bool" overloaded="no"> | |
11587 | <autodoc>ReplaceWindow(Window winOld, Window winNew) -> bool</autodoc> | |
368d20e8 RD |
11588 | <docstring>This function replaces one of the windows managed by the |
11589 | SplitterWindow with another one. It is in general better to | |
11590 | use it instead of calling Unsplit() and then resplitting the | |
11591 | window back because it will provoke much less flicker. It is | |
11592 | valid to call this function whether the splitter has two | |
11593 | windows or only one. | |
11594 | ||
11595 | Both parameters should be non-None and winOld must specify | |
11596 | one of the windows managed by the splitter. If the | |
11597 | parameters are incorrect or the window couldn't be replaced, | |
11598 | False is returned. Otherwise the function will return True, | |
11599 | but please notice that it will not Destroy the replaced | |
11600 | window and you may wish to do it yourself.</docstring> | |
f32fc4bc RD |
11601 | <paramlist> |
11602 | <param name="winOld" type="Window" default=""/> | |
11603 | <param name="winNew" type="Window" default=""/> | |
11604 | </paramlist> | |
11605 | </method> | |
368d20e8 RD |
11606 | <method name="UpdateSize" type="" overloaded="no"> |
11607 | <autodoc>UpdateSize()</autodoc> | |
11608 | <docstring>Causes any pending sizing of the sash and child panes to | |
11609 | take place immediately. | |
11610 | ||
11611 | Such resizing normally takes place in idle time, in order to | |
11612 | wait for layout to be completed. However, this can cause | |
11613 | unacceptable flicker as the panes are resized after the | |
11614 | window has been shown. To work around this, you can perform | |
11615 | window layout (for example by sending a size event to the | |
11616 | parent window), and then call this function, before showing | |
11617 | the top-level window.</docstring> | |
11618 | </method> | |
f32fc4bc RD |
11619 | <method name="IsSplit" type="bool" overloaded="no"> |
11620 | <autodoc>IsSplit() -> bool</autodoc> | |
368d20e8 | 11621 | <docstring>Is the window split?</docstring> |
f32fc4bc RD |
11622 | </method> |
11623 | <method name="SetSashSize" type="" overloaded="no"> | |
11624 | <autodoc>SetSashSize(int width)</autodoc> | |
368d20e8 | 11625 | <docstring>Sets the sash size</docstring> |
f32fc4bc RD |
11626 | <paramlist> |
11627 | <param name="width" type="int" default=""/> | |
11628 | </paramlist> | |
11629 | </method> | |
11630 | <method name="SetBorderSize" type="" overloaded="no"> | |
11631 | <autodoc>SetBorderSize(int width)</autodoc> | |
368d20e8 | 11632 | <docstring>Sets the border size</docstring> |
f32fc4bc RD |
11633 | <paramlist> |
11634 | <param name="width" type="int" default=""/> | |
11635 | </paramlist> | |
11636 | </method> | |
11637 | <method name="GetSashSize" type="int" overloaded="no"> | |
11638 | <autodoc>GetSashSize() -> int</autodoc> | |
368d20e8 | 11639 | <docstring>Gets the sash size</docstring> |
f32fc4bc RD |
11640 | </method> |
11641 | <method name="GetBorderSize" type="int" overloaded="no"> | |
11642 | <autodoc>GetBorderSize() -> int</autodoc> | |
368d20e8 | 11643 | <docstring>Gets the border size</docstring> |
f32fc4bc RD |
11644 | </method> |
11645 | <method name="SetSashPosition" type="" overloaded="no"> | |
11646 | <autodoc>SetSashPosition(int position, bool redraw=True)</autodoc> | |
368d20e8 RD |
11647 | <docstring>Sets the sash position, in pixels. If redraw is Ttrue then |
11648 | the panes are resized and the sash and border are redrawn.</docstring> | |
f32fc4bc RD |
11649 | <paramlist> |
11650 | <param name="position" type="int" default=""/> | |
11651 | <param name="redraw" type="bool" default="True"/> | |
11652 | </paramlist> | |
11653 | </method> | |
11654 | <method name="GetSashPosition" type="int" overloaded="no"> | |
11655 | <autodoc>GetSashPosition() -> int</autodoc> | |
368d20e8 | 11656 | <docstring>Returns the surrent sash position.</docstring> |
f32fc4bc RD |
11657 | </method> |
11658 | <method name="SetMinimumPaneSize" type="" overloaded="no"> | |
11659 | <autodoc>SetMinimumPaneSize(int min)</autodoc> | |
368d20e8 RD |
11660 | <docstring>Sets the minimum pane size in pixels. |
11661 | ||
11662 | The default minimum pane size is zero, which means that | |
11663 | either pane can be reduced to zero by dragging the sash, | |
11664 | thus removing one of the panes. To prevent this behaviour (and | |
11665 | veto out-of-range sash dragging), set a minimum size, | |
11666 | for example 20 pixels. If the wx.SP_PERMIT_UNSPLIT style is | |
11667 | used when a splitter window is created, the window may be | |
11668 | unsplit even if minimum size is non-zero.</docstring> | |
f32fc4bc RD |
11669 | <paramlist> |
11670 | <param name="min" type="int" default=""/> | |
11671 | </paramlist> | |
11672 | </method> | |
11673 | <method name="GetMinimumPaneSize" type="int" overloaded="no"> | |
11674 | <autodoc>GetMinimumPaneSize() -> int</autodoc> | |
368d20e8 | 11675 | <docstring>Gets the minimum pane size in pixels.</docstring> |
f32fc4bc RD |
11676 | </method> |
11677 | <method name="SashHitTest" type="bool" overloaded="no"> | |
11678 | <autodoc>SashHitTest(int x, int y, int tolerance=5) -> bool</autodoc> | |
368d20e8 | 11679 | <docstring>Tests for x, y over the sash</docstring> |
f32fc4bc RD |
11680 | <paramlist> |
11681 | <param name="x" type="int" default=""/> | |
11682 | <param name="y" type="int" default=""/> | |
11683 | <param name="tolerance" type="int" default="5"/> | |
11684 | </paramlist> | |
11685 | </method> | |
11686 | <method name="SizeWindows" type="" overloaded="no"> | |
11687 | <autodoc>SizeWindows()</autodoc> | |
368d20e8 | 11688 | <docstring>Resizes subwindows</docstring> |
f32fc4bc RD |
11689 | </method> |
11690 | <method name="SetNeedUpdating" type="" overloaded="no"> | |
11691 | <autodoc>SetNeedUpdating(bool needUpdating)</autodoc> | |
11692 | <paramlist> | |
11693 | <param name="needUpdating" type="bool" default=""/> | |
11694 | </paramlist> | |
11695 | </method> | |
11696 | <method name="GetNeedUpdating" type="bool" overloaded="no"> | |
11697 | <autodoc>GetNeedUpdating() -> bool</autodoc> | |
11698 | </method> | |
11699 | </class> | |
11700 | <class name="SplitterEvent" oldname="wxSplitterEvent" module="windows"> | |
368d20e8 | 11701 | <docstring>This class represents the events generated by a splitter control.</docstring> |
f32fc4bc RD |
11702 | <baseclass name="NotifyEvent"/> |
11703 | <constructor name="SplitterEvent" overloaded="no"> | |
11704 | <autodoc>__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent</autodoc> | |
368d20e8 | 11705 | <docstring>This class represents the events generated by a splitter control.</docstring> |
f32fc4bc RD |
11706 | <paramlist> |
11707 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
11708 | <param name="splitter" type="SplitterWindow" default="(wxSplitterWindow *) NULL"/> | |
11709 | </paramlist> | |
11710 | </constructor> | |
11711 | <method name="SetSashPosition" type="" overloaded="no"> | |
11712 | <autodoc>SetSashPosition(int pos)</autodoc> | |
368d20e8 RD |
11713 | <docstring>This funciton is only meaningful during |
11714 | EVT_SPLITTER_SASH_POS_CHANGING and | |
11715 | EVT_SPLITTER_SASH_POS_CHANGED events. In the case of | |
11716 | _CHANGED events, sets the the new sash position. In the case | |
11717 | of _CHANGING events, sets the new tracking bar position so | |
11718 | visual feedback during dragging will represent that change | |
11719 | that will actually take place. Set to -1 from the event | |
11720 | handler code to prevent repositioning.</docstring> | |
f32fc4bc RD |
11721 | <paramlist> |
11722 | <param name="pos" type="int" default=""/> | |
11723 | </paramlist> | |
11724 | </method> | |
11725 | <method name="GetSashPosition" type="int" overloaded="no"> | |
11726 | <autodoc>GetSashPosition() -> int</autodoc> | |
368d20e8 RD |
11727 | <docstring>Returns the new sash position while in |
11728 | EVT_SPLITTER_SASH_POS_CHANGING and | |
11729 | EVT_SPLITTER_SASH_POS_CHANGED events.</docstring> | |
f32fc4bc RD |
11730 | </method> |
11731 | <method name="GetWindowBeingRemoved" type="Window" overloaded="no"> | |
11732 | <autodoc>GetWindowBeingRemoved() -> Window</autodoc> | |
368d20e8 RD |
11733 | <docstring>Returns a pointer to the window being removed when a |
11734 | splitter window is unsplit.</docstring> | |
f32fc4bc RD |
11735 | </method> |
11736 | <method name="GetX" type="int" overloaded="no"> | |
11737 | <autodoc>GetX() -> int</autodoc> | |
368d20e8 RD |
11738 | <docstring>Returns the x coordinate of the double-click point in a |
11739 | EVT_SPLITTER_DCLICK event.</docstring> | |
f32fc4bc RD |
11740 | </method> |
11741 | <method name="GetY" type="int" overloaded="no"> | |
11742 | <autodoc>GetY() -> int</autodoc> | |
368d20e8 RD |
11743 | <docstring>Returns the y coordinate of the double-click point in a |
11744 | EVT_SPLITTER_DCLICK event.</docstring> | |
f32fc4bc RD |
11745 | </method> |
11746 | </class> | |
11747 | <pythoncode> | |
856bf319 RD |
11748 | EVT_SPLITTER_SASH_POS_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 1 ) |
11749 | EVT_SPLITTER_SASH_POS_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 1 ) | |
11750 | EVT_SPLITTER_DOUBLECLICKED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 1 ) | |
11751 | EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) | |
368d20e8 | 11752 | EVT_SPLITTER_DCLICK = EVT_SPLITTER_DOUBLECLICKED |
856bf319 | 11753 | </pythoncode> |
f32fc4bc | 11754 | <pythoncode> |
856bf319 RD |
11755 | #--------------------------------------------------------------------------- |
11756 | </pythoncode> | |
f32fc4bc RD |
11757 | <class name="SashWindow" oldname="wxSashWindow" module="windows"> |
11758 | <baseclass name="Window"/> | |
11759 | <constructor name="SashWindow" overloaded="no"> | |
11760 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
11761 | long style=wxCLIP_CHILDREN|wxSW_3D, |
11762 | String name=SashNameStr) -> SashWindow</autodoc> | |
f32fc4bc RD |
11763 | <paramlist> |
11764 | <param name="parent" type="Window" default=""/> | |
11765 | <param name="id" type="int" default=""/> | |
11766 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11767 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11768 | <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/> | |
11769 | <param name="name" type="String" default="wxPySashNameStr"/> | |
11770 | </paramlist> | |
11771 | </constructor> | |
11772 | <constructor name="PreSashWindow" overloaded="no"> | |
11773 | <autodoc>PreSashWindow() -> SashWindow</autodoc> | |
11774 | </constructor> | |
11775 | <method name="Create" type="bool" overloaded="no"> | |
11776 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
11777 | long style=wxCLIP_CHILDREN|wxSW_3D, |
11778 | String name=SashNameStr) -> bool</autodoc> | |
f32fc4bc RD |
11779 | <paramlist> |
11780 | <param name="parent" type="Window" default=""/> | |
11781 | <param name="id" type="int" default=""/> | |
11782 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
11783 | <param name="size" type="Size" default="wxDefaultSize"/> | |
11784 | <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/> | |
11785 | <param name="name" type="String" default="wxPySashNameStr"/> | |
11786 | </paramlist> | |
11787 | </method> | |
11788 | <method name="SetSashVisible" type="" overloaded="no"> | |
11789 | <autodoc>SetSashVisible(int edge, bool sash)</autodoc> | |
11790 | <paramlist> | |
11791 | <param name="edge" type="wxSashEdgePosition" default=""/> | |
11792 | <param name="sash" type="bool" default=""/> | |
11793 | </paramlist> | |
11794 | </method> | |
11795 | <method name="GetSashVisible" type="bool" overloaded="no"> | |
11796 | <autodoc>GetSashVisible(int edge) -> bool</autodoc> | |
11797 | <paramlist> | |
11798 | <param name="edge" type="wxSashEdgePosition" default=""/> | |
11799 | </paramlist> | |
11800 | </method> | |
11801 | <method name="SetSashBorder" type="" overloaded="no"> | |
11802 | <autodoc>SetSashBorder(int edge, bool border)</autodoc> | |
11803 | <paramlist> | |
11804 | <param name="edge" type="wxSashEdgePosition" default=""/> | |
11805 | <param name="border" type="bool" default=""/> | |
11806 | </paramlist> | |
11807 | </method> | |
11808 | <method name="HasBorder" type="bool" overloaded="no"> | |
11809 | <autodoc>HasBorder(int edge) -> bool</autodoc> | |
11810 | <paramlist> | |
11811 | <param name="edge" type="wxSashEdgePosition" default=""/> | |
11812 | </paramlist> | |
11813 | </method> | |
11814 | <method name="GetEdgeMargin" type="int" overloaded="no"> | |
11815 | <autodoc>GetEdgeMargin(int edge) -> int</autodoc> | |
11816 | <paramlist> | |
11817 | <param name="edge" type="wxSashEdgePosition" default=""/> | |
11818 | </paramlist> | |
11819 | </method> | |
11820 | <method name="SetDefaultBorderSize" type="" overloaded="no"> | |
11821 | <autodoc>SetDefaultBorderSize(int width)</autodoc> | |
11822 | <paramlist> | |
11823 | <param name="width" type="int" default=""/> | |
11824 | </paramlist> | |
11825 | </method> | |
11826 | <method name="GetDefaultBorderSize" type="int" overloaded="no"> | |
11827 | <autodoc>GetDefaultBorderSize() -> int</autodoc> | |
11828 | </method> | |
11829 | <method name="SetExtraBorderSize" type="" overloaded="no"> | |
11830 | <autodoc>SetExtraBorderSize(int width)</autodoc> | |
11831 | <paramlist> | |
11832 | <param name="width" type="int" default=""/> | |
11833 | </paramlist> | |
11834 | </method> | |
11835 | <method name="GetExtraBorderSize" type="int" overloaded="no"> | |
11836 | <autodoc>GetExtraBorderSize() -> int</autodoc> | |
11837 | </method> | |
11838 | <method name="SetMinimumSizeX" type="" overloaded="no"> | |
11839 | <autodoc>SetMinimumSizeX(int min)</autodoc> | |
11840 | <paramlist> | |
11841 | <param name="min" type="int" default=""/> | |
11842 | </paramlist> | |
11843 | </method> | |
11844 | <method name="SetMinimumSizeY" type="" overloaded="no"> | |
11845 | <autodoc>SetMinimumSizeY(int min)</autodoc> | |
11846 | <paramlist> | |
11847 | <param name="min" type="int" default=""/> | |
11848 | </paramlist> | |
11849 | </method> | |
11850 | <method name="GetMinimumSizeX" type="int" overloaded="no"> | |
11851 | <autodoc>GetMinimumSizeX() -> int</autodoc> | |
11852 | </method> | |
11853 | <method name="GetMinimumSizeY" type="int" overloaded="no"> | |
11854 | <autodoc>GetMinimumSizeY() -> int</autodoc> | |
11855 | </method> | |
11856 | <method name="SetMaximumSizeX" type="" overloaded="no"> | |
11857 | <autodoc>SetMaximumSizeX(int max)</autodoc> | |
11858 | <paramlist> | |
11859 | <param name="max" type="int" default=""/> | |
11860 | </paramlist> | |
11861 | </method> | |
11862 | <method name="SetMaximumSizeY" type="" overloaded="no"> | |
11863 | <autodoc>SetMaximumSizeY(int max)</autodoc> | |
11864 | <paramlist> | |
11865 | <param name="max" type="int" default=""/> | |
11866 | </paramlist> | |
11867 | </method> | |
11868 | <method name="GetMaximumSizeX" type="int" overloaded="no"> | |
11869 | <autodoc>GetMaximumSizeX() -> int</autodoc> | |
11870 | </method> | |
11871 | <method name="GetMaximumSizeY" type="int" overloaded="no"> | |
11872 | <autodoc>GetMaximumSizeY() -> int</autodoc> | |
11873 | </method> | |
11874 | <method name="SashHitTest" type="wxSashEdgePosition" overloaded="no"> | |
11875 | <autodoc>SashHitTest(int x, int y, int tolerance=2) -> int</autodoc> | |
11876 | <paramlist> | |
11877 | <param name="x" type="int" default=""/> | |
11878 | <param name="y" type="int" default=""/> | |
11879 | <param name="tolerance" type="int" default="2"/> | |
11880 | </paramlist> | |
11881 | </method> | |
11882 | <method name="SizeWindows" type="" overloaded="no"> | |
11883 | <autodoc>SizeWindows()</autodoc> | |
11884 | </method> | |
11885 | </class> | |
11886 | <class name="SashEvent" oldname="wxSashEvent" module="windows"> | |
11887 | <baseclass name="CommandEvent"/> | |
11888 | <constructor name="SashEvent" overloaded="no"> | |
11889 | <autodoc>__init__(int id=0, int edge=SASH_NONE) -> SashEvent</autodoc> | |
11890 | <paramlist> | |
11891 | <param name="id" type="int" default="0"/> | |
11892 | <param name="edge" type="wxSashEdgePosition" default="wxSASH_NONE"/> | |
11893 | </paramlist> | |
11894 | </constructor> | |
11895 | <method name="SetEdge" type="" overloaded="no"> | |
11896 | <autodoc>SetEdge(int edge)</autodoc> | |
11897 | <paramlist> | |
11898 | <param name="edge" type="wxSashEdgePosition" default=""/> | |
11899 | </paramlist> | |
11900 | </method> | |
11901 | <method name="GetEdge" type="wxSashEdgePosition" overloaded="no"> | |
11902 | <autodoc>GetEdge() -> int</autodoc> | |
11903 | </method> | |
11904 | <method name="SetDragRect" type="" overloaded="no"> | |
11905 | <autodoc>SetDragRect(Rect rect)</autodoc> | |
11906 | <paramlist> | |
11907 | <param name="rect" type="Rect" default=""/> | |
11908 | </paramlist> | |
11909 | </method> | |
11910 | <method name="GetDragRect" type="Rect" overloaded="no"> | |
11911 | <autodoc>GetDragRect() -> Rect</autodoc> | |
11912 | </method> | |
11913 | <method name="SetDragStatus" type="" overloaded="no"> | |
11914 | <autodoc>SetDragStatus(int status)</autodoc> | |
11915 | <paramlist> | |
11916 | <param name="status" type="wxSashDragStatus" default=""/> | |
11917 | </paramlist> | |
11918 | </method> | |
11919 | <method name="GetDragStatus" type="wxSashDragStatus" overloaded="no"> | |
11920 | <autodoc>GetDragStatus() -> int</autodoc> | |
11921 | </method> | |
11922 | </class> | |
11923 | <pythoncode> | |
856bf319 RD |
11924 | EVT_SASH_DRAGGED = wx.PyEventBinder( wxEVT_SASH_DRAGGED, 1 ) |
11925 | EVT_SASH_DRAGGED_RANGE = wx.PyEventBinder( wxEVT_SASH_DRAGGED, 2 ) | |
11926 | </pythoncode> | |
f32fc4bc | 11927 | <pythoncode> |
856bf319 RD |
11928 | #--------------------------------------------------------------------------- |
11929 | </pythoncode> | |
f32fc4bc RD |
11930 | <class name="QueryLayoutInfoEvent" oldname="wxQueryLayoutInfoEvent" module="windows"> |
11931 | <baseclass name="Event"/> | |
11932 | <constructor name="QueryLayoutInfoEvent" overloaded="no"> | |
11933 | <autodoc>__init__(int id=0) -> QueryLayoutInfoEvent</autodoc> | |
11934 | <paramlist> | |
11935 | <param name="id" type="int" default="0"/> | |
11936 | </paramlist> | |
11937 | </constructor> | |
11938 | <method name="SetRequestedLength" type="" overloaded="no"> | |
11939 | <autodoc>SetRequestedLength(int length)</autodoc> | |
11940 | <paramlist> | |
11941 | <param name="length" type="int" default=""/> | |
11942 | </paramlist> | |
11943 | </method> | |
11944 | <method name="GetRequestedLength" type="int" overloaded="no"> | |
11945 | <autodoc>GetRequestedLength() -> int</autodoc> | |
11946 | </method> | |
11947 | <method name="SetFlags" type="" overloaded="no"> | |
11948 | <autodoc>SetFlags(int flags)</autodoc> | |
11949 | <paramlist> | |
11950 | <param name="flags" type="int" default=""/> | |
11951 | </paramlist> | |
11952 | </method> | |
11953 | <method name="GetFlags" type="int" overloaded="no"> | |
11954 | <autodoc>GetFlags() -> int</autodoc> | |
11955 | </method> | |
11956 | <method name="SetSize" type="" overloaded="no"> | |
11957 | <autodoc>SetSize(Size size)</autodoc> | |
11958 | <paramlist> | |
11959 | <param name="size" type="Size" default=""/> | |
11960 | </paramlist> | |
11961 | </method> | |
11962 | <method name="GetSize" type="Size" overloaded="no"> | |
11963 | <autodoc>GetSize() -> Size</autodoc> | |
11964 | </method> | |
11965 | <method name="SetOrientation" type="" overloaded="no"> | |
11966 | <autodoc>SetOrientation(int orient)</autodoc> | |
11967 | <paramlist> | |
11968 | <param name="orient" type="wxLayoutOrientation" default=""/> | |
11969 | </paramlist> | |
11970 | </method> | |
11971 | <method name="GetOrientation" type="wxLayoutOrientation" overloaded="no"> | |
11972 | <autodoc>GetOrientation() -> int</autodoc> | |
11973 | </method> | |
11974 | <method name="SetAlignment" type="" overloaded="no"> | |
11975 | <autodoc>SetAlignment(int align)</autodoc> | |
11976 | <paramlist> | |
11977 | <param name="align" type="wxLayoutAlignment" default=""/> | |
11978 | </paramlist> | |
11979 | </method> | |
11980 | <method name="GetAlignment" type="wxLayoutAlignment" overloaded="no"> | |
11981 | <autodoc>GetAlignment() -> int</autodoc> | |
11982 | </method> | |
11983 | </class> | |
11984 | <class name="CalculateLayoutEvent" oldname="wxCalculateLayoutEvent" module="windows"> | |
11985 | <baseclass name="Event"/> | |
11986 | <constructor name="CalculateLayoutEvent" overloaded="no"> | |
11987 | <autodoc>__init__(int id=0) -> CalculateLayoutEvent</autodoc> | |
11988 | <paramlist> | |
11989 | <param name="id" type="int" default="0"/> | |
11990 | </paramlist> | |
11991 | </constructor> | |
11992 | <method name="SetFlags" type="" overloaded="no"> | |
11993 | <autodoc>SetFlags(int flags)</autodoc> | |
11994 | <paramlist> | |
11995 | <param name="flags" type="int" default=""/> | |
11996 | </paramlist> | |
11997 | </method> | |
11998 | <method name="GetFlags" type="int" overloaded="no"> | |
11999 | <autodoc>GetFlags() -> int</autodoc> | |
12000 | </method> | |
12001 | <method name="SetRect" type="" overloaded="no"> | |
12002 | <autodoc>SetRect(Rect rect)</autodoc> | |
12003 | <paramlist> | |
12004 | <param name="rect" type="Rect" default=""/> | |
12005 | </paramlist> | |
12006 | </method> | |
12007 | <method name="GetRect" type="Rect" overloaded="no"> | |
12008 | <autodoc>GetRect() -> Rect</autodoc> | |
12009 | </method> | |
12010 | </class> | |
12011 | <pythoncode> | |
856bf319 RD |
12012 | EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO ) |
12013 | EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT ) | |
12014 | </pythoncode> | |
f32fc4bc RD |
12015 | <class name="SashLayoutWindow" oldname="wxSashLayoutWindow" module="windows"> |
12016 | <baseclass name="SashWindow"/> | |
12017 | <constructor name="SashLayoutWindow" overloaded="no"> | |
12018 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
12019 | long style=wxCLIP_CHILDREN|wxSW_3D, |
12020 | String name=SashLayoutNameStr) -> SashLayoutWindow</autodoc> | |
f32fc4bc RD |
12021 | <paramlist> |
12022 | <param name="parent" type="Window" default=""/> | |
12023 | <param name="id" type="int" default=""/> | |
12024 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12025 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12026 | <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/> | |
12027 | <param name="name" type="String" default="wxPySashLayoutNameStr"/> | |
12028 | </paramlist> | |
12029 | </constructor> | |
12030 | <constructor name="PreSashLayoutWindow" overloaded="no"> | |
12031 | <autodoc>PreSashLayoutWindow() -> SashLayoutWindow</autodoc> | |
12032 | </constructor> | |
12033 | <method name="Create" type="bool" overloaded="no"> | |
12034 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
12035 | long style=wxCLIP_CHILDREN|wxSW_3D, |
12036 | String name=SashLayoutNameStr) -> bool</autodoc> | |
f32fc4bc RD |
12037 | <paramlist> |
12038 | <param name="parent" type="Window" default=""/> | |
12039 | <param name="id" type="int" default=""/> | |
12040 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12041 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12042 | <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/> | |
12043 | <param name="name" type="String" default="wxPySashLayoutNameStr"/> | |
12044 | </paramlist> | |
12045 | </method> | |
12046 | <method name="GetAlignment" type="wxLayoutAlignment" overloaded="no"> | |
12047 | <autodoc>GetAlignment() -> int</autodoc> | |
12048 | </method> | |
12049 | <method name="GetOrientation" type="wxLayoutOrientation" overloaded="no"> | |
12050 | <autodoc>GetOrientation() -> int</autodoc> | |
12051 | </method> | |
12052 | <method name="SetAlignment" type="" overloaded="no"> | |
12053 | <autodoc>SetAlignment(int alignment)</autodoc> | |
12054 | <paramlist> | |
12055 | <param name="alignment" type="wxLayoutAlignment" default=""/> | |
12056 | </paramlist> | |
12057 | </method> | |
12058 | <method name="SetDefaultSize" type="" overloaded="no"> | |
12059 | <autodoc>SetDefaultSize(Size size)</autodoc> | |
12060 | <paramlist> | |
12061 | <param name="size" type="Size" default=""/> | |
12062 | </paramlist> | |
12063 | </method> | |
12064 | <method name="SetOrientation" type="" overloaded="no"> | |
12065 | <autodoc>SetOrientation(int orientation)</autodoc> | |
12066 | <paramlist> | |
12067 | <param name="orientation" type="wxLayoutOrientation" default=""/> | |
12068 | </paramlist> | |
12069 | </method> | |
12070 | </class> | |
12071 | <class name="LayoutAlgorithm" oldname="wxLayoutAlgorithm" module="windows"> | |
12072 | <baseclass name="Object"/> | |
12073 | <constructor name="LayoutAlgorithm" overloaded="no"> | |
12074 | <autodoc>__init__() -> LayoutAlgorithm</autodoc> | |
12075 | </constructor> | |
12076 | <destructor name="~wxLayoutAlgorithm" overloaded="no"> | |
12077 | <autodoc>__del__()</autodoc> | |
12078 | </destructor> | |
12079 | <method name="LayoutMDIFrame" type="bool" overloaded="no"> | |
12080 | <autodoc>LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool</autodoc> | |
12081 | <paramlist> | |
12082 | <param name="frame" type="wxMDIParentFrame" default=""/> | |
12083 | <param name="rect" type="Rect" default="NULL"/> | |
12084 | </paramlist> | |
12085 | </method> | |
12086 | <method name="LayoutFrame" type="bool" overloaded="no"> | |
12087 | <autodoc>LayoutFrame(Frame frame, Window mainWindow=None) -> bool</autodoc> | |
12088 | <paramlist> | |
12089 | <param name="frame" type="Frame" default=""/> | |
12090 | <param name="mainWindow" type="Window" default="NULL"/> | |
12091 | </paramlist> | |
12092 | </method> | |
12093 | <method name="LayoutWindow" type="bool" overloaded="no"> | |
12094 | <autodoc>LayoutWindow(Window parent, Window mainWindow=None) -> bool</autodoc> | |
12095 | <paramlist> | |
12096 | <param name="parent" type="Window" default=""/> | |
12097 | <param name="mainWindow" type="Window" default="NULL"/> | |
12098 | </paramlist> | |
12099 | </method> | |
12100 | </class> | |
12101 | <pythoncode> | |
856bf319 RD |
12102 | #--------------------------------------------------------------------------- |
12103 | </pythoncode> | |
f32fc4bc RD |
12104 | <class name="PopupWindow" oldname="wxPopupWindow" module="windows"> |
12105 | <baseclass name="Window"/> | |
12106 | <constructor name="PopupWindow" overloaded="no"> | |
12107 | <autodoc>__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow</autodoc> | |
12108 | <paramlist> | |
12109 | <param name="parent" type="Window" default=""/> | |
12110 | <param name="flags" type="int" default="wxBORDER_NONE"/> | |
12111 | </paramlist> | |
12112 | </constructor> | |
12113 | <constructor name="PrePopupWindow" overloaded="no"> | |
12114 | <autodoc>PrePopupWindow() -> PopupWindow</autodoc> | |
12115 | </constructor> | |
12116 | <method name="Create" type="bool" overloaded="no"> | |
12117 | <autodoc>Create(Window parent, int flags=BORDER_NONE) -> bool</autodoc> | |
12118 | <paramlist> | |
12119 | <param name="parent" type="Window" default=""/> | |
12120 | <param name="flags" type="int" default="wxBORDER_NONE"/> | |
12121 | </paramlist> | |
12122 | </method> | |
12123 | <method name="Position" type="" overloaded="no"> | |
12124 | <autodoc>Position(Point ptOrigin, Size size)</autodoc> | |
12125 | <paramlist> | |
12126 | <param name="ptOrigin" type="Point" default=""/> | |
12127 | <param name="size" type="Size" default=""/> | |
12128 | </paramlist> | |
12129 | </method> | |
12130 | </class> | |
12131 | <pythoncode> | |
856bf319 RD |
12132 | #--------------------------------------------------------------------------- |
12133 | </pythoncode> | |
f32fc4bc RD |
12134 | <class name="PopupTransientWindow" oldname="wxPyPopupTransientWindow" module="windows"> |
12135 | <baseclass name="PopupWindow"/> | |
12136 | <constructor name="wxPyPopupTransientWindow" overloaded="no"> | |
12137 | <autodoc>__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow</autodoc> | |
12138 | <paramlist> | |
12139 | <param name="parent" type="Window" default=""/> | |
12140 | <param name="style" type="int" default="wxBORDER_NONE"/> | |
12141 | </paramlist> | |
12142 | </constructor> | |
12143 | <constructor name="PrePopupTransientWindow" overloaded="no"> | |
12144 | <autodoc>PrePopupTransientWindow() -> PopupTransientWindow</autodoc> | |
12145 | </constructor> | |
12146 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
12147 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
12148 | <paramlist> | |
12149 | <param name="self" type="PyObject" default=""/> | |
12150 | <param name="_class" type="PyObject" default=""/> | |
12151 | </paramlist> | |
12152 | </method> | |
12153 | <method name="Popup" type="" overloaded="no"> | |
12154 | <autodoc>Popup(Window focus=None)</autodoc> | |
12155 | <paramlist> | |
12156 | <param name="focus" type="Window" default="NULL"/> | |
12157 | </paramlist> | |
12158 | </method> | |
12159 | <method name="Dismiss" type="" overloaded="no"> | |
12160 | <autodoc>Dismiss()</autodoc> | |
12161 | </method> | |
12162 | </class> | |
12163 | <pythoncode> | |
856bf319 RD |
12164 | #--------------------------------------------------------------------------- |
12165 | </pythoncode> | |
f32fc4bc RD |
12166 | <class name="TipWindow" oldname="wxTipWindow" module="windows"> |
12167 | <baseclass name="PopupTransientWindow"/> | |
12168 | <constructor name="TipWindow" overloaded="no"> | |
12169 | <autodoc>__init__(Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow</autodoc> | |
12170 | <paramlist> | |
12171 | <param name="parent" type="Window" default=""/> | |
12172 | <param name="text" type="String" default=""/> | |
12173 | <param name="maxLength" type="int" default="100"/> | |
12174 | <param name="rectBound" type="Rect" default="NULL"/> | |
12175 | </paramlist> | |
12176 | </constructor> | |
12177 | <method name="SetBoundingRect" type="" overloaded="no"> | |
12178 | <autodoc>SetBoundingRect(Rect rectBound)</autodoc> | |
12179 | <paramlist> | |
12180 | <param name="rectBound" type="Rect" default=""/> | |
12181 | </paramlist> | |
12182 | </method> | |
12183 | <method name="Close" type="" overloaded="no"> | |
12184 | <autodoc>Close()</autodoc> | |
12185 | </method> | |
12186 | </class> | |
12187 | <pythoncode> | |
856bf319 RD |
12188 | #--------------------------------------------------------------------------- |
12189 | </pythoncode> | |
f32fc4bc RD |
12190 | <class name="VScrolledWindow" oldname="wxPyVScrolledWindow" module="windows"> |
12191 | <baseclass name="Panel"/> | |
12192 | <constructor name="wxPyVScrolledWindow" overloaded="no"> | |
12193 | <autodoc>__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, | |
856bf319 | 12194 | Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow</autodoc> |
f32fc4bc RD |
12195 | <paramlist> |
12196 | <param name="parent" type="Window" default=""/> | |
12197 | <param name="id" type="int" default="wxID_ANY"/> | |
12198 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12199 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12200 | <param name="style" type="long" default="0"/> | |
12201 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
12202 | </paramlist> | |
12203 | </constructor> | |
12204 | <constructor name="PreVScrolledWindow" overloaded="no"> | |
12205 | <autodoc>PreVScrolledWindow() -> VScrolledWindow</autodoc> | |
12206 | </constructor> | |
12207 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
12208 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
12209 | <paramlist> | |
12210 | <param name="self" type="PyObject" default=""/> | |
12211 | <param name="_class" type="PyObject" default=""/> | |
12212 | </paramlist> | |
12213 | </method> | |
12214 | <method name="Create" type="bool" overloaded="no"> | |
12215 | <autodoc>Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, | |
856bf319 | 12216 | Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool</autodoc> |
f32fc4bc RD |
12217 | <paramlist> |
12218 | <param name="parent" type="Window" default=""/> | |
12219 | <param name="id" type="int" default="wxID_ANY"/> | |
12220 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12221 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12222 | <param name="style" type="long" default="0"/> | |
12223 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
12224 | </paramlist> | |
12225 | </method> | |
12226 | <method name="SetLineCount" type="" overloaded="no"> | |
12227 | <autodoc>SetLineCount(size_t count)</autodoc> | |
12228 | <paramlist> | |
12229 | <param name="count" type="size_t" default=""/> | |
12230 | </paramlist> | |
12231 | </method> | |
12232 | <method name="ScrollToLine" type="bool" overloaded="no"> | |
12233 | <autodoc>ScrollToLine(size_t line) -> bool</autodoc> | |
12234 | <paramlist> | |
12235 | <param name="line" type="size_t" default=""/> | |
12236 | </paramlist> | |
12237 | </method> | |
12238 | <method name="ScrollLines" type="bool" overloaded="no"> | |
12239 | <autodoc>ScrollLines(int lines) -> bool</autodoc> | |
c2dda882 RD |
12240 | <docstring>If the platform and window class supports it, scrolls the window by |
12241 | the given number of lines down, if lines is positive, or up if lines | |
12242 | is negative. Returns True if the window was scrolled, False if it was | |
12243 | already on top/bottom and nothing was done.</docstring> | |
f32fc4bc RD |
12244 | <paramlist> |
12245 | <param name="lines" type="int" default=""/> | |
12246 | </paramlist> | |
12247 | </method> | |
12248 | <method name="ScrollPages" type="bool" overloaded="no"> | |
12249 | <autodoc>ScrollPages(int pages) -> bool</autodoc> | |
c2dda882 RD |
12250 | <docstring>If the platform and window class supports it, scrolls the window by |
12251 | the given number of pages down, if pages is positive, or up if pages | |
12252 | is negative. Returns True if the window was scrolled, False if it was | |
12253 | already on top/bottom and nothing was done.</docstring> | |
f32fc4bc RD |
12254 | <paramlist> |
12255 | <param name="pages" type="int" default=""/> | |
12256 | </paramlist> | |
12257 | </method> | |
12258 | <method name="RefreshLine" type="" overloaded="no"> | |
12259 | <autodoc>RefreshLine(size_t line)</autodoc> | |
12260 | <paramlist> | |
12261 | <param name="line" type="size_t" default=""/> | |
12262 | </paramlist> | |
12263 | </method> | |
12264 | <method name="RefreshLines" type="" overloaded="no"> | |
12265 | <autodoc>RefreshLines(size_t from, size_t to)</autodoc> | |
12266 | <paramlist> | |
12267 | <param name="from" type="size_t" default=""/> | |
12268 | <param name="to" type="size_t" default=""/> | |
12269 | </paramlist> | |
12270 | </method> | |
12271 | <method name="HitTestXT" type="int" overloaded="no"> | |
12272 | <autodoc>HitTestXT(int x, int y) -> int</autodoc> | |
c2dda882 | 12273 | <docstring>Test where the given (in client coords) point lies</docstring> |
f32fc4bc RD |
12274 | <paramlist> |
12275 | <param name="x" type="int" default=""/> | |
12276 | <param name="y" type="int" default=""/> | |
12277 | </paramlist> | |
12278 | </method> | |
12279 | <method name="HitTest" type="int" overloaded="no"> | |
12280 | <autodoc>HitTest(Point pt) -> int</autodoc> | |
c2dda882 | 12281 | <docstring>Test where the given (in client coords) point lies</docstring> |
f32fc4bc RD |
12282 | <paramlist> |
12283 | <param name="pt" type="Point" default=""/> | |
12284 | </paramlist> | |
12285 | </method> | |
12286 | <method name="RefreshAll" type="" overloaded="no"> | |
12287 | <autodoc>RefreshAll()</autodoc> | |
12288 | </method> | |
12289 | <method name="GetLineCount" type="size_t" overloaded="no"> | |
12290 | <autodoc>GetLineCount() -> size_t</autodoc> | |
12291 | </method> | |
12292 | <method name="GetFirstVisibleLine" type="size_t" overloaded="no"> | |
12293 | <autodoc>GetFirstVisibleLine() -> size_t</autodoc> | |
12294 | </method> | |
12295 | <method name="GetLastVisibleLine" type="size_t" overloaded="no"> | |
12296 | <autodoc>GetLastVisibleLine() -> size_t</autodoc> | |
12297 | </method> | |
12298 | <method name="IsVisible" type="bool" overloaded="no"> | |
12299 | <autodoc>IsVisible(size_t line) -> bool</autodoc> | |
12300 | <paramlist> | |
12301 | <param name="line" type="size_t" default=""/> | |
12302 | </paramlist> | |
12303 | </method> | |
12304 | </class> | |
12305 | <class name="VListBox" oldname="wxPyVListBox" module="windows"> | |
12306 | <baseclass name="VScrolledWindow"/> | |
12307 | <constructor name="wxPyVListBox" overloaded="no"> | |
12308 | <autodoc>__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, | |
856bf319 | 12309 | Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox</autodoc> |
f32fc4bc RD |
12310 | <paramlist> |
12311 | <param name="parent" type="Window" default=""/> | |
12312 | <param name="id" type="int" default="wxID_ANY"/> | |
12313 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12314 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12315 | <param name="style" type="long" default="0"/> | |
12316 | <param name="name" type="String" default="wxPyVListBoxNameStr"/> | |
12317 | </paramlist> | |
12318 | </constructor> | |
12319 | <constructor name="PreVListBox" overloaded="no"> | |
12320 | <autodoc>PreVListBox() -> VListBox</autodoc> | |
12321 | </constructor> | |
12322 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
12323 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
12324 | <paramlist> | |
12325 | <param name="self" type="PyObject" default=""/> | |
12326 | <param name="_class" type="PyObject" default=""/> | |
12327 | </paramlist> | |
12328 | </method> | |
12329 | <method name="Create" type="bool" overloaded="no"> | |
12330 | <autodoc>Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, | |
856bf319 | 12331 | Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool</autodoc> |
f32fc4bc RD |
12332 | <paramlist> |
12333 | <param name="parent" type="Window" default=""/> | |
12334 | <param name="id" type="int" default="wxID_ANY"/> | |
12335 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12336 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12337 | <param name="style" type="long" default="0"/> | |
12338 | <param name="name" type="String" default="wxPyVListBoxNameStr"/> | |
12339 | </paramlist> | |
12340 | </method> | |
12341 | <method name="GetItemCount" type="size_t" overloaded="no"> | |
12342 | <autodoc>GetItemCount() -> size_t</autodoc> | |
12343 | </method> | |
12344 | <method name="HasMultipleSelection" type="bool" overloaded="no"> | |
12345 | <autodoc>HasMultipleSelection() -> bool</autodoc> | |
12346 | </method> | |
12347 | <method name="GetSelection" type="int" overloaded="no"> | |
12348 | <autodoc>GetSelection() -> int</autodoc> | |
12349 | </method> | |
12350 | <method name="IsCurrent" type="bool" overloaded="no"> | |
12351 | <autodoc>IsCurrent(size_t item) -> bool</autodoc> | |
12352 | <paramlist> | |
12353 | <param name="item" type="size_t" default=""/> | |
12354 | </paramlist> | |
12355 | </method> | |
12356 | <method name="IsSelected" type="bool" overloaded="no"> | |
12357 | <autodoc>IsSelected(size_t item) -> bool</autodoc> | |
12358 | <paramlist> | |
12359 | <param name="item" type="size_t" default=""/> | |
12360 | </paramlist> | |
12361 | </method> | |
12362 | <method name="GetSelectedCount" type="size_t" overloaded="no"> | |
12363 | <autodoc>GetSelectedCount() -> size_t</autodoc> | |
12364 | </method> | |
12365 | <method name="GetFirstSelected" type="int" overloaded="no"> | |
12366 | <autodoc>GetFirstSelected(unsigned long cookie) -> int</autodoc> | |
12367 | <paramlist> | |
12368 | <param name="cookie" type="unsigned long" default=""/> | |
12369 | </paramlist> | |
12370 | </method> | |
12371 | <method name="GetNextSelected" type="int" overloaded="no"> | |
12372 | <autodoc>GetNextSelected(unsigned long cookie) -> int</autodoc> | |
12373 | <paramlist> | |
12374 | <param name="cookie" type="unsigned long" default=""/> | |
12375 | </paramlist> | |
12376 | </method> | |
12377 | <method name="GetMargins" type="Point" overloaded="no"> | |
12378 | <autodoc>GetMargins() -> Point</autodoc> | |
12379 | </method> | |
12380 | <method name="GetSelectionBackground" type="Colour" overloaded="no"> | |
12381 | <autodoc>GetSelectionBackground() -> Colour</autodoc> | |
12382 | </method> | |
12383 | <method name="SetItemCount" type="" overloaded="no"> | |
12384 | <autodoc>SetItemCount(size_t count)</autodoc> | |
12385 | <paramlist> | |
12386 | <param name="count" type="size_t" default=""/> | |
12387 | </paramlist> | |
12388 | </method> | |
12389 | <method name="Clear" type="" overloaded="no"> | |
12390 | <autodoc>Clear()</autodoc> | |
12391 | </method> | |
12392 | <method name="SetSelection" type="" overloaded="no"> | |
12393 | <autodoc>SetSelection(int selection)</autodoc> | |
12394 | <paramlist> | |
12395 | <param name="selection" type="int" default=""/> | |
12396 | </paramlist> | |
12397 | </method> | |
12398 | <method name="Select" type="bool" overloaded="no"> | |
12399 | <autodoc>Select(size_t item, bool select=True) -> bool</autodoc> | |
12400 | <paramlist> | |
12401 | <param name="item" type="size_t" default=""/> | |
12402 | <param name="select" type="bool" default="True"/> | |
12403 | </paramlist> | |
12404 | </method> | |
12405 | <method name="SelectRange" type="bool" overloaded="no"> | |
12406 | <autodoc>SelectRange(size_t from, size_t to) -> bool</autodoc> | |
12407 | <paramlist> | |
12408 | <param name="from" type="size_t" default=""/> | |
12409 | <param name="to" type="size_t" default=""/> | |
12410 | </paramlist> | |
12411 | </method> | |
12412 | <method name="Toggle" type="" overloaded="no"> | |
12413 | <autodoc>Toggle(size_t item)</autodoc> | |
12414 | <paramlist> | |
12415 | <param name="item" type="size_t" default=""/> | |
12416 | </paramlist> | |
12417 | </method> | |
12418 | <method name="SelectAll" type="bool" overloaded="no"> | |
12419 | <autodoc>SelectAll() -> bool</autodoc> | |
12420 | </method> | |
12421 | <method name="DeselectAll" type="bool" overloaded="no"> | |
12422 | <autodoc>DeselectAll() -> bool</autodoc> | |
12423 | </method> | |
12424 | <method name="SetMargins" type="" overloaded="no"> | |
12425 | <autodoc>SetMargins(Point pt)</autodoc> | |
12426 | <paramlist> | |
12427 | <param name="pt" type="Point" default=""/> | |
12428 | </paramlist> | |
12429 | </method> | |
12430 | <method name="SetMarginsXY" type="" overloaded="no"> | |
12431 | <autodoc>SetMarginsXY(int x, int y)</autodoc> | |
12432 | <paramlist> | |
12433 | <param name="x" type="int" default=""/> | |
12434 | <param name="y" type="int" default=""/> | |
12435 | </paramlist> | |
12436 | </method> | |
12437 | <method name="SetSelectionBackground" type="" overloaded="no"> | |
12438 | <autodoc>SetSelectionBackground(Colour col)</autodoc> | |
12439 | <paramlist> | |
12440 | <param name="col" type="Colour" default=""/> | |
12441 | </paramlist> | |
12442 | </method> | |
12443 | </class> | |
12444 | <class name="HtmlListBox" oldname="wxPyHtmlListBox" module="windows"> | |
12445 | <baseclass name="VListBox"/> | |
12446 | <constructor name="wxPyHtmlListBox" overloaded="no"> | |
12447 | <autodoc>__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, | |
856bf319 | 12448 | Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox</autodoc> |
f32fc4bc RD |
12449 | <paramlist> |
12450 | <param name="parent" type="Window" default=""/> | |
12451 | <param name="id" type="int" default="wxID_ANY"/> | |
12452 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12453 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12454 | <param name="style" type="long" default="0"/> | |
12455 | <param name="name" type="String" default="wxPyVListBoxNameStr"/> | |
12456 | </paramlist> | |
12457 | </constructor> | |
12458 | <constructor name="PreHtmlListBox" overloaded="no"> | |
12459 | <autodoc>PreHtmlListBox() -> HtmlListBox</autodoc> | |
12460 | </constructor> | |
12461 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
12462 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
12463 | <paramlist> | |
12464 | <param name="self" type="PyObject" default=""/> | |
12465 | <param name="_class" type="PyObject" default=""/> | |
12466 | </paramlist> | |
12467 | </method> | |
12468 | <method name="Create" type="bool" overloaded="no"> | |
12469 | <autodoc>Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, | |
856bf319 | 12470 | Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool</autodoc> |
f32fc4bc RD |
12471 | <paramlist> |
12472 | <param name="parent" type="Window" default=""/> | |
12473 | <param name="id" type="int" default="wxID_ANY"/> | |
12474 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12475 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12476 | <param name="style" type="long" default="0"/> | |
12477 | <param name="name" type="String" default="wxPyVListBoxNameStr"/> | |
12478 | </paramlist> | |
12479 | </method> | |
12480 | <method name="RefreshAll" type="" overloaded="no"> | |
12481 | <autodoc>RefreshAll()</autodoc> | |
12482 | </method> | |
12483 | <method name="SetItemCount" type="" overloaded="no"> | |
12484 | <autodoc>SetItemCount(size_t count)</autodoc> | |
12485 | <paramlist> | |
12486 | <param name="count" type="size_t" default=""/> | |
12487 | </paramlist> | |
12488 | </method> | |
12489 | </class> | |
12490 | <pythoncode> | |
856bf319 RD |
12491 | #--------------------------------------------------------------------------- |
12492 | </pythoncode> | |
f32fc4bc RD |
12493 | <class name="TaskBarIcon" oldname="wxTaskBarIcon" module="windows"> |
12494 | <baseclass name="EvtHandler"/> | |
12495 | <constructor name="TaskBarIcon" overloaded="no"> | |
12496 | <autodoc>__init__() -> TaskBarIcon</autodoc> | |
12497 | </constructor> | |
12498 | <destructor name="~wxTaskBarIcon" overloaded="no"> | |
12499 | <autodoc>__del__()</autodoc> | |
12500 | </destructor> | |
12501 | <method name="IsOk" type="bool" overloaded="no"> | |
12502 | <autodoc>IsOk() -> bool</autodoc> | |
12503 | </method> | |
12504 | <method name="IsIconInstalled" type="bool" overloaded="no"> | |
12505 | <autodoc>IsIconInstalled() -> bool</autodoc> | |
12506 | </method> | |
12507 | <method name="SetIcon" type="bool" overloaded="no"> | |
12508 | <autodoc>SetIcon(Icon icon, String tooltip=EmptyString) -> bool</autodoc> | |
12509 | <paramlist> | |
12510 | <param name="icon" type="Icon" default=""/> | |
12511 | <param name="tooltip" type="String" default="wxPyEmptyString"/> | |
12512 | </paramlist> | |
12513 | </method> | |
12514 | <method name="RemoveIcon" type="bool" overloaded="no"> | |
12515 | <autodoc>RemoveIcon() -> bool</autodoc> | |
12516 | </method> | |
12517 | <method name="PopupMenu" type="bool" overloaded="no"> | |
12518 | <autodoc>PopupMenu(Menu menu) -> bool</autodoc> | |
12519 | <paramlist> | |
12520 | <param name="menu" type="Menu" default=""/> | |
12521 | </paramlist> | |
12522 | </method> | |
12523 | </class> | |
12524 | <class name="TaskBarIconEvent" oldname="wxTaskBarIconEvent" module="windows"> | |
12525 | <baseclass name="Event"/> | |
12526 | <constructor name="TaskBarIconEvent" overloaded="no"> | |
12527 | <autodoc>__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent</autodoc> | |
12528 | <paramlist> | |
12529 | <param name="evtType" type="wxEventType" default=""/> | |
12530 | <param name="tbIcon" type="TaskBarIcon" default=""/> | |
12531 | </paramlist> | |
12532 | </constructor> | |
12533 | </class> | |
12534 | <pythoncode> | |
856bf319 RD |
12535 | EVT_TASKBAR_MOVE = wx.PyEventBinder ( wxEVT_TASKBAR_MOVE ) |
12536 | EVT_TASKBAR_LEFT_DOWN = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN ) | |
12537 | EVT_TASKBAR_LEFT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP ) | |
12538 | EVT_TASKBAR_RIGHT_DOWN = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN ) | |
12539 | EVT_TASKBAR_RIGHT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP ) | |
12540 | EVT_TASKBAR_LEFT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK ) | |
12541 | EVT_TASKBAR_RIGHT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK ) | |
12542 | </pythoncode> | |
f32fc4bc | 12543 | <pythoncode> |
856bf319 RD |
12544 | #--------------------------------------------------------------------------- |
12545 | </pythoncode> | |
f32fc4bc | 12546 | <class name="ColourData" oldname="wxColourData" module="windows"> |
c2dda882 | 12547 | <docstring>This class holds a variety of information related to colour dialogs.</docstring> |
f32fc4bc RD |
12548 | <baseclass name="Object"/> |
12549 | <constructor name="ColourData" overloaded="no"> | |
12550 | <autodoc>__init__() -> ColourData</autodoc> | |
c2dda882 | 12551 | <docstring>Constructor, sets default values.</docstring> |
f32fc4bc RD |
12552 | </constructor> |
12553 | <destructor name="~wxColourData" overloaded="no"> | |
12554 | <autodoc>__del__()</autodoc> | |
12555 | </destructor> | |
12556 | <method name="GetChooseFull" type="bool" overloaded="no"> | |
12557 | <autodoc>GetChooseFull() -> bool</autodoc> | |
c2dda882 RD |
12558 | <docstring>Under Windows, determines whether the Windows colour dialog will display |
12559 | the full dialog with custom colour selection controls. Has no meaning | |
12560 | under other platforms. The default value is true.</docstring> | |
f32fc4bc RD |
12561 | </method> |
12562 | <method name="GetColour" type="Colour" overloaded="no"> | |
12563 | <autodoc>GetColour() -> Colour</autodoc> | |
c2dda882 | 12564 | <docstring>Gets the colour (pre)selected by the dialog.</docstring> |
f32fc4bc RD |
12565 | </method> |
12566 | <method name="GetCustomColour" type="Colour" overloaded="no"> | |
12567 | <autodoc>GetCustomColour(int i) -> Colour</autodoc> | |
c2dda882 RD |
12568 | <docstring>Gets the i'th custom colour associated with the colour dialog. i should |
12569 | be an integer between 0 and 15. The default custom colours are all white.</docstring> | |
f32fc4bc RD |
12570 | <paramlist> |
12571 | <param name="i" type="int" default=""/> | |
12572 | </paramlist> | |
12573 | </method> | |
12574 | <method name="SetChooseFull" type="" overloaded="no"> | |
12575 | <autodoc>SetChooseFull(int flag)</autodoc> | |
c2dda882 RD |
12576 | <docstring>Under Windows, tells the Windows colour dialog to display the full dialog |
12577 | with custom colour selection controls. Under other platforms, has no effect. | |
12578 | The default value is true.</docstring> | |
f32fc4bc RD |
12579 | <paramlist> |
12580 | <param name="flag" type="int" default=""/> | |
12581 | </paramlist> | |
12582 | </method> | |
12583 | <method name="SetColour" type="" overloaded="no"> | |
12584 | <autodoc>SetColour(Colour colour)</autodoc> | |
c2dda882 | 12585 | <docstring>Sets the default colour for the colour dialog. The default colour is black.</docstring> |
f32fc4bc RD |
12586 | <paramlist> |
12587 | <param name="colour" type="Colour" default=""/> | |
12588 | </paramlist> | |
12589 | </method> | |
12590 | <method name="SetCustomColour" type="" overloaded="no"> | |
12591 | <autodoc>SetCustomColour(int i, Colour colour)</autodoc> | |
c2dda882 RD |
12592 | <docstring>Sets the i'th custom colour for the colour dialog. i should be an integer |
12593 | between 0 and 15. The default custom colours are all white.</docstring> | |
f32fc4bc RD |
12594 | <paramlist> |
12595 | <param name="i" type="int" default=""/> | |
12596 | <param name="colour" type="Colour" default=""/> | |
12597 | </paramlist> | |
12598 | </method> | |
12599 | </class> | |
12600 | <class name="ColourDialog" oldname="wxColourDialog" module="windows"> | |
c2dda882 | 12601 | <docstring>This class represents the colour chooser dialog.</docstring> |
f32fc4bc RD |
12602 | <baseclass name="Dialog"/> |
12603 | <constructor name="ColourDialog" overloaded="no"> | |
12604 | <autodoc>__init__(Window parent, ColourData data=None) -> ColourDialog</autodoc> | |
c2dda882 RD |
12605 | <docstring>Constructor. Pass a parent window, and optionally a ColourData, which |
12606 | will be copied to the colour dialog's internal ColourData instance.</docstring> | |
f32fc4bc RD |
12607 | <paramlist> |
12608 | <param name="parent" type="Window" default=""/> | |
12609 | <param name="data" type="ColourData" default="NULL"/> | |
12610 | </paramlist> | |
12611 | </constructor> | |
12612 | <method name="GetColourData" type="ColourData" overloaded="no"> | |
12613 | <autodoc>GetColourData() -> ColourData</autodoc> | |
c2dda882 | 12614 | <docstring>Returns a reference to the ColourData used by the dialog.</docstring> |
f32fc4bc RD |
12615 | </method> |
12616 | </class> | |
12617 | <class name="DirDialog" oldname="wxDirDialog" module="windows"> | |
c2dda882 RD |
12618 | <docstring>This class represents the directory chooser dialog.</docstring> |
12619 | <refdoc> | |
12620 | Styles | |
12621 | wxDD_NEW_DIR_BUTTON Add "Create new directory" button and allow | |
12622 | directory names to be editable. On Windows the new | |
12623 | directory button is only available with recent | |
12624 | versions of the common dialogs.</refdoc> | |
f32fc4bc RD |
12625 | <baseclass name="Dialog"/> |
12626 | <constructor name="DirDialog" overloaded="no"> | |
12627 | <autodoc>__init__(Window parent, String message=DirSelectorPromptStr, | |
856bf319 RD |
12628 | String defaultPath=EmptyString, long style=0, |
12629 | Point pos=DefaultPosition, Size size=DefaultSize, | |
12630 | String name=DirDialogNameStr) -> DirDialog</autodoc> | |
c2dda882 | 12631 | <docstring>Constructor. Use ShowModal method to show the dialog.</docstring> |
f32fc4bc RD |
12632 | <paramlist> |
12633 | <param name="parent" type="Window" default=""/> | |
12634 | <param name="message" type="String" default="wxPyDirSelectorPromptStr"/> | |
12635 | <param name="defaultPath" type="String" default="wxPyEmptyString"/> | |
12636 | <param name="style" type="long" default="0"/> | |
12637 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12638 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12639 | <param name="name" type="String" default="wxPyDirDialogNameStr"/> | |
12640 | </paramlist> | |
12641 | </constructor> | |
12642 | <method name="GetPath" type="String" overloaded="no"> | |
12643 | <autodoc>GetPath() -> String</autodoc> | |
c2dda882 | 12644 | <docstring>Returns the default or user-selected path.</docstring> |
f32fc4bc RD |
12645 | </method> |
12646 | <method name="GetMessage" type="String" overloaded="no"> | |
12647 | <autodoc>GetMessage() -> String</autodoc> | |
c2dda882 | 12648 | <docstring>Returns the message that will be displayed on the dialog.</docstring> |
f32fc4bc RD |
12649 | </method> |
12650 | <method name="GetStyle" type="long" overloaded="no"> | |
12651 | <autodoc>GetStyle() -> long</autodoc> | |
c2dda882 | 12652 | <docstring>Returns the dialog style.</docstring> |
f32fc4bc RD |
12653 | </method> |
12654 | <method name="SetMessage" type="" overloaded="no"> | |
12655 | <autodoc>SetMessage(String message)</autodoc> | |
c2dda882 | 12656 | <docstring>Sets the message that will be displayed on the dialog.</docstring> |
f32fc4bc RD |
12657 | <paramlist> |
12658 | <param name="message" type="String" default=""/> | |
12659 | </paramlist> | |
12660 | </method> | |
12661 | <method name="SetPath" type="" overloaded="no"> | |
12662 | <autodoc>SetPath(String path)</autodoc> | |
c2dda882 | 12663 | <docstring>Sets the default path.</docstring> |
f32fc4bc RD |
12664 | <paramlist> |
12665 | <param name="path" type="String" default=""/> | |
12666 | </paramlist> | |
12667 | </method> | |
f32fc4bc RD |
12668 | </class> |
12669 | <class name="FileDialog" oldname="wxFileDialog" module="windows"> | |
c2dda882 RD |
12670 | <docstring>This class represents the file chooser dialog.</docstring> |
12671 | <refdoc> | |
12672 | In Windows, this is the common file selector dialog. In X, this is a file | |
12673 | selector box with somewhat less functionality. The path and filename are | |
12674 | distinct elements of a full file pathname. If path is "", the current | |
12675 | directory will be used. If filename is "", no default filename will be | |
12676 | supplied. The wildcard determines what files are displayed in the file | |
12677 | selector, and file extension supplies a type extension for the required | |
12678 | filename. | |
12679 | ||
12680 | Both the X and Windows versions implement a wildcard filter. Typing a filename | |
12681 | containing wildcards (*, ?) in the filename text item, and clicking on Ok, | |
12682 | will result in only those files matching the pattern being displayed. The | |
12683 | wildcard may be a specification for multiple types of file with a description | |
12684 | for each, such as: | |
12685 | ||
12686 | "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif" | |
12687 | ||
12688 | Styles | |
12689 | wx.OPEN This is an open dialog. | |
12690 | ||
12691 | wx.SAVE This is a save dialog. | |
12692 | ||
12693 | wx.HIDE_READONLY For open dialog only: hide the checkbox allowing to | |
12694 | open the file in read-only mode. | |
12695 | ||
12696 | wx.OVERWRITE_PROMPT For save dialog only: prompt for a confirmation if a | |
12697 | file will be overwritten. | |
12698 | ||
12699 | wx.MULTIPLE For open dialog only: allows selecting multiple files. | |
12700 | ||
12701 | wx.CHANGE_DIR Change the current working directory to the directory | |
12702 | where the file(s) chosen by the user are. | |
12703 | </refdoc> | |
f32fc4bc RD |
12704 | <baseclass name="Dialog"/> |
12705 | <constructor name="FileDialog" overloaded="no"> | |
12706 | <autodoc>__init__(Window parent, String message=FileSelectorPromptStr, | |
856bf319 RD |
12707 | String defaultDir=EmptyString, String defaultFile=EmptyString, |
12708 | String wildcard=FileSelectorDefaultWildcardStr, | |
12709 | long style=0, Point pos=DefaultPosition) -> FileDialog</autodoc> | |
c2dda882 | 12710 | <docstring>Constructor. Use ShowModal method to show the dialog.</docstring> |
f32fc4bc RD |
12711 | <paramlist> |
12712 | <param name="parent" type="Window" default=""/> | |
12713 | <param name="message" type="String" default="wxPyFileSelectorPromptStr"/> | |
12714 | <param name="defaultDir" type="String" default="wxPyEmptyString"/> | |
12715 | <param name="defaultFile" type="String" default="wxPyEmptyString"/> | |
12716 | <param name="wildcard" type="String" default="wxPyFileSelectorDefaultWildcardStr"/> | |
12717 | <param name="style" type="long" default="0"/> | |
12718 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12719 | </paramlist> | |
12720 | </constructor> | |
12721 | <method name="SetMessage" type="" overloaded="no"> | |
12722 | <autodoc>SetMessage(String message)</autodoc> | |
c2dda882 | 12723 | <docstring>Sets the message that will be displayed on the dialog.</docstring> |
f32fc4bc RD |
12724 | <paramlist> |
12725 | <param name="message" type="String" default=""/> | |
12726 | </paramlist> | |
12727 | </method> | |
12728 | <method name="SetPath" type="" overloaded="no"> | |
12729 | <autodoc>SetPath(String path)</autodoc> | |
c2dda882 RD |
12730 | <docstring>Sets the path (the combined directory and filename that will |
12731 | be returned when the dialog is dismissed).</docstring> | |
f32fc4bc RD |
12732 | <paramlist> |
12733 | <param name="path" type="String" default=""/> | |
12734 | </paramlist> | |
12735 | </method> | |
12736 | <method name="SetDirectory" type="" overloaded="no"> | |
12737 | <autodoc>SetDirectory(String dir)</autodoc> | |
c2dda882 | 12738 | <docstring>Sets the default directory.</docstring> |
f32fc4bc RD |
12739 | <paramlist> |
12740 | <param name="dir" type="String" default=""/> | |
12741 | </paramlist> | |
12742 | </method> | |
12743 | <method name="SetFilename" type="" overloaded="no"> | |
12744 | <autodoc>SetFilename(String name)</autodoc> | |
c2dda882 | 12745 | <docstring>Sets the default filename.</docstring> |
f32fc4bc RD |
12746 | <paramlist> |
12747 | <param name="name" type="String" default=""/> | |
12748 | </paramlist> | |
12749 | </method> | |
12750 | <method name="SetWildcard" type="" overloaded="no"> | |
12751 | <autodoc>SetWildcard(String wildCard)</autodoc> | |
c2dda882 RD |
12752 | <docstring>Sets the wildcard, which can contain multiple file types, for example: |
12753 | "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"</docstring> | |
f32fc4bc RD |
12754 | <paramlist> |
12755 | <param name="wildCard" type="String" default=""/> | |
12756 | </paramlist> | |
12757 | </method> | |
12758 | <method name="SetStyle" type="" overloaded="no"> | |
12759 | <autodoc>SetStyle(long style)</autodoc> | |
c2dda882 | 12760 | <docstring>Sets the dialog style.</docstring> |
f32fc4bc RD |
12761 | <paramlist> |
12762 | <param name="style" type="long" default=""/> | |
12763 | </paramlist> | |
12764 | </method> | |
12765 | <method name="SetFilterIndex" type="" overloaded="no"> | |
12766 | <autodoc>SetFilterIndex(int filterIndex)</autodoc> | |
c2dda882 | 12767 | <docstring>Sets the default filter index, starting from zero.</docstring> |
f32fc4bc RD |
12768 | <paramlist> |
12769 | <param name="filterIndex" type="int" default=""/> | |
12770 | </paramlist> | |
12771 | </method> | |
12772 | <method name="GetMessage" type="String" overloaded="no"> | |
12773 | <autodoc>GetMessage() -> String</autodoc> | |
c2dda882 | 12774 | <docstring>Returns the message that will be displayed on the dialog.</docstring> |
f32fc4bc RD |
12775 | </method> |
12776 | <method name="GetPath" type="String" overloaded="no"> | |
12777 | <autodoc>GetPath() -> String</autodoc> | |
c2dda882 | 12778 | <docstring>Returns the full path (directory and filename) of the selected file.</docstring> |
f32fc4bc RD |
12779 | </method> |
12780 | <method name="GetDirectory" type="String" overloaded="no"> | |
12781 | <autodoc>GetDirectory() -> String</autodoc> | |
c2dda882 | 12782 | <docstring>Returns the default directory.</docstring> |
f32fc4bc RD |
12783 | </method> |
12784 | <method name="GetFilename" type="String" overloaded="no"> | |
12785 | <autodoc>GetFilename() -> String</autodoc> | |
c2dda882 | 12786 | <docstring>Returns the default filename.</docstring> |
f32fc4bc RD |
12787 | </method> |
12788 | <method name="GetWildcard" type="String" overloaded="no"> | |
12789 | <autodoc>GetWildcard() -> String</autodoc> | |
c2dda882 | 12790 | <docstring>Returns the file dialog wildcard.</docstring> |
f32fc4bc RD |
12791 | </method> |
12792 | <method name="GetStyle" type="long" overloaded="no"> | |
12793 | <autodoc>GetStyle() -> long</autodoc> | |
c2dda882 | 12794 | <docstring>Returns the dialog style.</docstring> |
f32fc4bc RD |
12795 | </method> |
12796 | <method name="GetFilterIndex" type="int" overloaded="no"> | |
12797 | <autodoc>GetFilterIndex() -> int</autodoc> | |
c2dda882 RD |
12798 | <docstring>Returns the index into the list of filters supplied, optionally, in |
12799 | the wildcard parameter. Before the dialog is shown, this is the index | |
12800 | which will be used when the dialog is first displayed. After the dialog | |
12801 | is shown, this is the index selected by the user.</docstring> | |
f32fc4bc RD |
12802 | </method> |
12803 | <method name="GetFilenames" type="PyObject" overloaded="no"> | |
12804 | <autodoc>GetFilenames() -> PyObject</autodoc> | |
c2dda882 RD |
12805 | <docstring>Returns a list of filenames chosen in the dialog. This function should |
12806 | only be used with the dialogs which have wx.MULTIPLE style, use | |
12807 | GetFilename for the others.</docstring> | |
f32fc4bc RD |
12808 | </method> |
12809 | <method name="GetPaths" type="PyObject" overloaded="no"> | |
12810 | <autodoc>GetPaths() -> PyObject</autodoc> | |
c2dda882 RD |
12811 | <docstring>Fills the array paths with the full paths of the files chosen. This |
12812 | function should only be used with the dialogs which have wx.MULTIPLE style, | |
12813 | use GetPath for the others.</docstring> | |
f32fc4bc RD |
12814 | </method> |
12815 | </class> | |
12816 | <class name="MultiChoiceDialog" oldname="wxMultiChoiceDialog" module="windows"> | |
c2dda882 | 12817 | <docstring>A simple dialog with a multi selection listbox.</docstring> |
f32fc4bc RD |
12818 | <baseclass name="Dialog"/> |
12819 | <constructor name="MultiChoiceDialog" overloaded="no"> | |
c2dda882 RD |
12820 | <autodoc>__init__(Window parent, String message, String caption, |
12821 | List choices=[], long style=CHOICEDLG_STYLE, | |
856bf319 | 12822 | Point pos=DefaultPosition) -> MultiChoiceDialog</autodoc> |
c2dda882 | 12823 | <docstring>Constructor. Use ShowModal method to show the dialog.</docstring> |
f32fc4bc RD |
12824 | <paramlist> |
12825 | <param name="parent" type="Window" default=""/> | |
12826 | <param name="message" type="String" default=""/> | |
12827 | <param name="caption" type="String" default=""/> | |
12828 | <param name="choices" type="int" default="0"/> | |
12829 | <param name="choices_array" type="String" default=""/> | |
12830 | <param name="style" type="long" default="wxCHOICEDLG_STYLE"/> | |
12831 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12832 | </paramlist> | |
12833 | </constructor> | |
12834 | <method name="SetSelections" type="" overloaded="no"> | |
c2dda882 RD |
12835 | <autodoc>SetSelections(List selections)</autodoc> |
12836 | <docstring>Specify the items in the list that shoudl be selected, using a list of integers.</docstring> | |
f32fc4bc RD |
12837 | <paramlist> |
12838 | <param name="selections" type="wxArrayInt" default=""/> | |
12839 | </paramlist> | |
12840 | </method> | |
12841 | <method name="GetSelections" type="PyObject" overloaded="no"> | |
c2dda882 RD |
12842 | <autodoc>GetSelections() -> [selections]</autodoc> |
12843 | <docstring>Returns a list of integers representing the items that are selected.</docstring> | |
f32fc4bc RD |
12844 | </method> |
12845 | </class> | |
12846 | <class name="SingleChoiceDialog" oldname="wxSingleChoiceDialog" module="windows"> | |
c2dda882 | 12847 | <docstring>A simple dialog with a single selection listbox.</docstring> |
f32fc4bc RD |
12848 | <baseclass name="Dialog"/> |
12849 | <constructor name="SingleChoiceDialog" overloaded="no"> | |
c2dda882 RD |
12850 | <autodoc>__init__(Window parent, String message, String caption, |
12851 | List choices=[], long style=CHOICEDLG_STYLE, | |
856bf319 | 12852 | Point pos=DefaultPosition) -> SingleChoiceDialog</autodoc> |
c2dda882 | 12853 | <docstring>Constructor. Use ShowModal method to show the dialog.</docstring> |
f32fc4bc RD |
12854 | <paramlist> |
12855 | <param name="parent" type="Window" default=""/> | |
12856 | <param name="message" type="String" default=""/> | |
12857 | <param name="caption" type="String" default=""/> | |
12858 | <param name="choices" type="int" default=""/> | |
12859 | <param name="choices_array" type="String" default=""/> | |
12860 | <param name="style" type="long" default="wxCHOICEDLG_STYLE"/> | |
12861 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12862 | </paramlist> | |
12863 | </constructor> | |
12864 | <method name="GetSelection" type="int" overloaded="no"> | |
12865 | <autodoc>GetSelection() -> int</autodoc> | |
c2dda882 | 12866 | <docstring>Get the index of teh currently selected item.</docstring> |
f32fc4bc RD |
12867 | </method> |
12868 | <method name="GetStringSelection" type="String" overloaded="no"> | |
12869 | <autodoc>GetStringSelection() -> String</autodoc> | |
c2dda882 | 12870 | <docstring>Returns the string value of the currently selected item</docstring> |
f32fc4bc RD |
12871 | </method> |
12872 | <method name="SetSelection" type="" overloaded="no"> | |
12873 | <autodoc>SetSelection(int sel)</autodoc> | |
c2dda882 | 12874 | <docstring>Set the current selected item to sel</docstring> |
f32fc4bc RD |
12875 | <paramlist> |
12876 | <param name="sel" type="int" default=""/> | |
12877 | </paramlist> | |
12878 | </method> | |
f32fc4bc RD |
12879 | </class> |
12880 | <class name="TextEntryDialog" oldname="wxTextEntryDialog" module="windows"> | |
c2dda882 | 12881 | <docstring>A dialog with text control, [ok] and [cancel] buttons</docstring> |
f32fc4bc RD |
12882 | <baseclass name="Dialog"/> |
12883 | <constructor name="TextEntryDialog" overloaded="no"> | |
12884 | <autodoc>__init__(Window parent, String message, String caption=GetTextFromUserPromptStr, | |
856bf319 RD |
12885 | String defaultValue=EmptyString, |
12886 | long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog</autodoc> | |
c2dda882 | 12887 | <docstring>Constructor. Use ShowModal method to show the dialog.</docstring> |
f32fc4bc RD |
12888 | <paramlist> |
12889 | <param name="parent" type="Window" default=""/> | |
12890 | <param name="message" type="String" default=""/> | |
12891 | <param name="caption" type="String" default="wxPyGetTextFromUserPromptStr"/> | |
12892 | <param name="defaultValue" type="String" default="wxPyEmptyString"/> | |
12893 | <param name="style" type="long" default="wxOK|wxCANCEL|wxCENTRE"/> | |
12894 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12895 | </paramlist> | |
12896 | </constructor> | |
12897 | <method name="GetValue" type="String" overloaded="no"> | |
12898 | <autodoc>GetValue() -> String</autodoc> | |
c2dda882 RD |
12899 | <docstring>Returns the text that the user has entered if the user has pressed OK, |
12900 | or the original value if the user has pressed Cancel.</docstring> | |
f32fc4bc RD |
12901 | </method> |
12902 | <method name="SetValue" type="" overloaded="no"> | |
12903 | <autodoc>SetValue(String value)</autodoc> | |
c2dda882 | 12904 | <docstring>Sets the default text value.</docstring> |
f32fc4bc RD |
12905 | <paramlist> |
12906 | <param name="value" type="String" default=""/> | |
12907 | </paramlist> | |
12908 | </method> | |
f32fc4bc RD |
12909 | </class> |
12910 | <class name="FontData" oldname="wxFontData" module="windows"> | |
c2dda882 | 12911 | <docstring>This class holds a variety of information related to font dialogs.</docstring> |
f32fc4bc RD |
12912 | <baseclass name="Object"/> |
12913 | <constructor name="FontData" overloaded="no"> | |
12914 | <autodoc>__init__() -> FontData</autodoc> | |
c2dda882 | 12915 | <docstring>This class holds a variety of information related to font dialogs.</docstring> |
f32fc4bc RD |
12916 | </constructor> |
12917 | <destructor name="~wxFontData" overloaded="no"> | |
12918 | <autodoc>__del__()</autodoc> | |
12919 | </destructor> | |
12920 | <method name="EnableEffects" type="" overloaded="no"> | |
12921 | <autodoc>EnableEffects(bool enable)</autodoc> | |
c2dda882 RD |
12922 | <docstring>Enables or disables 'effects' under MS Windows only. This refers |
12923 | to the controls for manipulating colour, strikeout and underline | |
12924 | properties. The default value is true.</docstring> | |
f32fc4bc RD |
12925 | <paramlist> |
12926 | <param name="enable" type="bool" default=""/> | |
12927 | </paramlist> | |
12928 | </method> | |
12929 | <method name="GetAllowSymbols" type="bool" overloaded="no"> | |
12930 | <autodoc>GetAllowSymbols() -> bool</autodoc> | |
c2dda882 RD |
12931 | <docstring>Under MS Windows, returns a flag determining whether symbol fonts can be |
12932 | selected. Has no effect on other platforms. The default value is true.</docstring> | |
f32fc4bc RD |
12933 | </method> |
12934 | <method name="GetColour" type="Colour" overloaded="no"> | |
12935 | <autodoc>GetColour() -> Colour</autodoc> | |
c2dda882 | 12936 | <docstring>Gets the colour associated with the font dialog. The default value is black.</docstring> |
f32fc4bc RD |
12937 | </method> |
12938 | <method name="GetChosenFont" type="Font" overloaded="no"> | |
12939 | <autodoc>GetChosenFont() -> Font</autodoc> | |
c2dda882 | 12940 | <docstring>Gets the font chosen by the user.</docstring> |
f32fc4bc RD |
12941 | </method> |
12942 | <method name="GetEnableEffects" type="bool" overloaded="no"> | |
12943 | <autodoc>GetEnableEffects() -> bool</autodoc> | |
c2dda882 | 12944 | <docstring>Determines whether 'effects' are enabled under Windows.</docstring> |
f32fc4bc RD |
12945 | </method> |
12946 | <method name="GetInitialFont" type="Font" overloaded="no"> | |
12947 | <autodoc>GetInitialFont() -> Font</autodoc> | |
c2dda882 RD |
12948 | <docstring>Gets the font that will be initially used by the font dialog. This should have |
12949 | previously been set by the application.</docstring> | |
f32fc4bc RD |
12950 | </method> |
12951 | <method name="GetShowHelp" type="bool" overloaded="no"> | |
12952 | <autodoc>GetShowHelp() -> bool</autodoc> | |
c2dda882 RD |
12953 | <docstring>Returns true if the Help button will be shown (Windows only). The default |
12954 | value is false.</docstring> | |
f32fc4bc RD |
12955 | </method> |
12956 | <method name="SetAllowSymbols" type="" overloaded="no"> | |
12957 | <autodoc>SetAllowSymbols(bool allowSymbols)</autodoc> | |
c2dda882 RD |
12958 | <docstring>Under MS Windows, determines whether symbol fonts can be selected. Has no |
12959 | effect on other platforms. The default value is true.</docstring> | |
f32fc4bc RD |
12960 | <paramlist> |
12961 | <param name="allowSymbols" type="bool" default=""/> | |
12962 | </paramlist> | |
12963 | </method> | |
12964 | <method name="SetChosenFont" type="" overloaded="no"> | |
12965 | <autodoc>SetChosenFont(Font font)</autodoc> | |
c2dda882 | 12966 | <docstring>Sets the font that will be returned to the user (for internal use only).</docstring> |
f32fc4bc RD |
12967 | <paramlist> |
12968 | <param name="font" type="Font" default=""/> | |
12969 | </paramlist> | |
12970 | </method> | |
12971 | <method name="SetColour" type="" overloaded="no"> | |
12972 | <autodoc>SetColour(Colour colour)</autodoc> | |
c2dda882 RD |
12973 | <docstring>Sets the colour that will be used for the font foreground colour. The default |
12974 | colour is black.</docstring> | |
f32fc4bc RD |
12975 | <paramlist> |
12976 | <param name="colour" type="Colour" default=""/> | |
12977 | </paramlist> | |
12978 | </method> | |
12979 | <method name="SetInitialFont" type="" overloaded="no"> | |
12980 | <autodoc>SetInitialFont(Font font)</autodoc> | |
c2dda882 | 12981 | <docstring>Sets the font that will be initially used by the font dialog.</docstring> |
f32fc4bc RD |
12982 | <paramlist> |
12983 | <param name="font" type="Font" default=""/> | |
12984 | </paramlist> | |
12985 | </method> | |
12986 | <method name="SetRange" type="" overloaded="no"> | |
12987 | <autodoc>SetRange(int min, int max)</autodoc> | |
c2dda882 RD |
12988 | <docstring>Sets the valid range for the font point size (Windows only). The default is |
12989 | 0, 0 (unrestricted range).</docstring> | |
f32fc4bc RD |
12990 | <paramlist> |
12991 | <param name="min" type="int" default=""/> | |
12992 | <param name="max" type="int" default=""/> | |
12993 | </paramlist> | |
12994 | </method> | |
12995 | <method name="SetShowHelp" type="" overloaded="no"> | |
12996 | <autodoc>SetShowHelp(bool showHelp)</autodoc> | |
c2dda882 RD |
12997 | <docstring>Determines whether the Help button will be displayed in the font dialog |
12998 | (Windows only). The default value is false.</docstring> | |
f32fc4bc RD |
12999 | <paramlist> |
13000 | <param name="showHelp" type="bool" default=""/> | |
13001 | </paramlist> | |
13002 | </method> | |
13003 | </class> | |
13004 | <class name="FontDialog" oldname="wxFontDialog" module="windows"> | |
c2dda882 | 13005 | <docstring>This class represents the font chooser dialog.</docstring> |
f32fc4bc RD |
13006 | <baseclass name="Dialog"/> |
13007 | <constructor name="FontDialog" overloaded="no"> | |
13008 | <autodoc>__init__(Window parent, FontData data) -> FontDialog</autodoc> | |
c2dda882 RD |
13009 | <docstring>Constructor. Pass a parent window and the FontData object to be |
13010 | used to initialize the dialog controls.</docstring> | |
f32fc4bc RD |
13011 | <paramlist> |
13012 | <param name="parent" type="Window" default=""/> | |
13013 | <param name="data" type="FontData" default=""/> | |
13014 | </paramlist> | |
13015 | </constructor> | |
13016 | <method name="GetFontData" type="FontData" overloaded="no"> | |
13017 | <autodoc>GetFontData() -> FontData</autodoc> | |
c2dda882 | 13018 | <docstring>Returns a reference to the internal FontData used by the FontDialog.</docstring> |
f32fc4bc RD |
13019 | </method> |
13020 | </class> | |
13021 | <class name="MessageDialog" oldname="wxMessageDialog" module="windows"> | |
c2dda882 RD |
13022 | <docstring>This class provides a dialog that shows a single or multi-line message, with |
13023 | a choice of OK, Yes, No and Cancel buttons.</docstring> | |
13024 | <refdoc> | |
13025 | Styles | |
13026 | wx.OK: Show an OK button. | |
13027 | ||
13028 | wx.CANCEL: Show a Cancel button. | |
13029 | ||
13030 | wx.YES_NO: Show Yes and No buttons. | |
13031 | ||
13032 | wx.YES_DEFAULT: Used with wxYES_NO, makes Yes button the default - which is the default behaviour. | |
13033 | ||
13034 | wx.NO_DEFAULT: Used with wxYES_NO, makes No button the default. | |
13035 | ||
13036 | wx.ICON_EXCLAMATION: Shows an exclamation mark icon. | |
13037 | ||
13038 | wx.ICON_HAND: Shows an error icon. | |
13039 | ||
13040 | wx.ICON_ERROR: Shows an error icon - the same as wxICON_HAND. | |
13041 | ||
13042 | wx.ICON_QUESTION: Shows a question mark icon. | |
13043 | ||
13044 | wx.ICON_INFORMATION: Shows an information (i) icon. | |
13045 | ||
13046 | wx.STAY_ON_TOP: The message box stays on top of all other window, even those of the other applications (Windows only). | |
13047 | </refdoc> | |
f32fc4bc | 13048 | <baseclass name="Dialog"/> |
368d20e8 RD |
13049 | <constructor name="MessageDialog" overloaded="no"> |
13050 | <autodoc>__init__(Window parent, String message, String caption=MessageBoxCaptionStr, | |
13051 | long style=wxOK|wxCANCEL|wxCENTRE, | |
13052 | Point pos=DefaultPosition) -> MessageDialog</autodoc> | |
13053 | <docstring>This class provides a dialog that shows a single or multi-line message, with | |
13054 | a choice of OK, Yes, No and Cancel buttons.</docstring> | |
f32fc4bc RD |
13055 | <paramlist> |
13056 | <param name="parent" type="Window" default=""/> | |
13057 | <param name="message" type="String" default=""/> | |
13058 | <param name="caption" type="String" default="wxPyMessageBoxCaptionStr"/> | |
13059 | <param name="style" type="long" default="wxOK|wxCANCEL|wxCENTRE"/> | |
13060 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
13061 | </paramlist> | |
13062 | </constructor> | |
f32fc4bc RD |
13063 | </class> |
13064 | <class name="ProgressDialog" oldname="wxProgressDialog" module="windows"> | |
c2dda882 RD |
13065 | <docstring>A dialog that shows a short message and a progress bar. Optionally, it can |
13066 | display an ABORT button.</docstring> | |
13067 | <refdoc> | |
13068 | Styles | |
13069 | ||
13070 | wx.PD_APP_MODAL: Make the progress dialog modal. If this flag is | |
13071 | not given, it is only "locally" modal - that is | |
13072 | the input to the parent window is disabled, | |
13073 | but not to the other ones. | |
13074 | ||
13075 | wx.PD_AUTO_HIDE: Causes the progress dialog to disappear from screen | |
13076 | as soon as the maximum value of the progress | |
13077 | meter has been reached. | |
13078 | ||
13079 | wx.PD_CAN_ABORT: This flag tells the dialog that it should have | |
13080 | a "Cancel" button which the user may press. If | |
13081 | this happens, the next call to Update() will | |
13082 | return false. | |
13083 | ||
13084 | wx.PD_ELAPSED_TIME: This flag tells the dialog that it should show | |
13085 | elapsed time (since creating the dialog). | |
13086 | ||
13087 | wx.PD_ESTIMATED_TIME: This flag tells the dialog that it should show | |
13088 | estimated time. | |
13089 | ||
13090 | wx.PD_REMAINING_TIME: This flag tells the dialog that it should show | |
13091 | remaining time. | |
13092 | </refdoc> | |
f32fc4bc RD |
13093 | <baseclass name="Frame"/> |
13094 | <constructor name="ProgressDialog" overloaded="no"> | |
13095 | <autodoc>__init__(String title, String message, int maximum=100, Window parent=None, | |
856bf319 | 13096 | int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog</autodoc> |
c2dda882 RD |
13097 | <docstring>Constructor. Creates the dialog, displays it and disables user input for other |
13098 | windows, or, if wxPD_APP_MODAL flag is not given, for its parent window only.</docstring> | |
f32fc4bc RD |
13099 | <paramlist> |
13100 | <param name="title" type="String" default=""/> | |
13101 | <param name="message" type="String" default=""/> | |
13102 | <param name="maximum" type="int" default="100"/> | |
13103 | <param name="parent" type="Window" default="NULL"/> | |
13104 | <param name="style" type="int" default="wxPD_AUTO_HIDE|wxPD_APP_MODAL"/> | |
13105 | </paramlist> | |
13106 | </constructor> | |
13107 | <method name="Update" type="bool" overloaded="no"> | |
13108 | <autodoc>Update(int value, String newmsg=EmptyString) -> bool</autodoc> | |
c2dda882 RD |
13109 | <docstring>Updates the dialog, setting the progress bar to the new value and, if given |
13110 | changes the message above it. Returns true unless the Cancel button has been | |
13111 | pressed. | |
13112 | ||
13113 | If false is returned, the application can either immediately destroy the | |
13114 | dialog or ask the user for the confirmation and if the abort is not confirmed | |
13115 | the dialog may be resumed with Resume function.</docstring> | |
f32fc4bc RD |
13116 | <paramlist> |
13117 | <param name="value" type="int" default=""/> | |
13118 | <param name="newmsg" type="String" default="wxPyEmptyString"/> | |
13119 | </paramlist> | |
13120 | </method> | |
13121 | <method name="Resume" type="" overloaded="no"> | |
13122 | <autodoc>Resume()</autodoc> | |
c2dda882 | 13123 | <docstring>Can be used to continue with the dialog, after the user had chosen to abort.</docstring> |
f32fc4bc RD |
13124 | </method> |
13125 | </class> | |
13126 | <pythoncode> | |
856bf319 RD |
13127 | EVT_FIND = wx.PyEventBinder( wxEVT_COMMAND_FIND, 1 ) |
13128 | EVT_FIND_NEXT = wx.PyEventBinder( wxEVT_COMMAND_FIND_NEXT, 1 ) | |
13129 | EVT_FIND_REPLACE = wx.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE, 1 ) | |
13130 | EVT_FIND_REPLACE_ALL = wx.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL, 1 ) | |
13131 | EVT_FIND_CLOSE = wx.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE, 1 ) | |
13132 | ||
13133 | # For backwards compatibility. Should they be removed? | |
13134 | EVT_COMMAND_FIND = EVT_FIND | |
13135 | EVT_COMMAND_FIND_NEXT = EVT_FIND_NEXT | |
13136 | EVT_COMMAND_FIND_REPLACE = EVT_FIND_REPLACE | |
13137 | EVT_COMMAND_FIND_REPLACE_ALL = EVT_FIND_REPLACE_ALL | |
13138 | EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE | |
13139 | </pythoncode> | |
f32fc4bc | 13140 | <class name="FindDialogEvent" oldname="wxFindDialogEvent" module="windows"> |
c2dda882 | 13141 | <docstring>Events for the FindReplaceDialog</docstring> |
f32fc4bc RD |
13142 | <baseclass name="CommandEvent"/> |
13143 | <constructor name="FindDialogEvent" overloaded="no"> | |
13144 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent</autodoc> | |
c2dda882 | 13145 | <docstring>Events for the FindReplaceDialog</docstring> |
f32fc4bc RD |
13146 | <paramlist> |
13147 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
13148 | <param name="id" type="int" default="0"/> | |
13149 | </paramlist> | |
13150 | </constructor> | |
13151 | <method name="GetFlags" type="int" overloaded="no"> | |
13152 | <autodoc>GetFlags() -> int</autodoc> | |
c2dda882 RD |
13153 | <docstring>Get the currently selected flags: this is the combination of |
13154 | wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.</docstring> | |
f32fc4bc RD |
13155 | </method> |
13156 | <method name="GetFindString" type="String" overloaded="no"> | |
13157 | <autodoc>GetFindString() -> String</autodoc> | |
c2dda882 | 13158 | <docstring>Return the string to find (never empty).</docstring> |
f32fc4bc RD |
13159 | </method> |
13160 | <method name="GetReplaceString" type="String" overloaded="no"> | |
13161 | <autodoc>GetReplaceString() -> String</autodoc> | |
c2dda882 RD |
13162 | <docstring>Return the string to replace the search string with (only |
13163 | for replace and replace all events).</docstring> | |
f32fc4bc RD |
13164 | </method> |
13165 | <method name="GetDialog" type="wxFindReplaceDialog" overloaded="no"> | |
13166 | <autodoc>GetDialog() -> FindReplaceDialog</autodoc> | |
c2dda882 | 13167 | <docstring>Return the pointer to the dialog which generated this event.</docstring> |
f32fc4bc RD |
13168 | </method> |
13169 | <method name="SetFlags" type="" overloaded="no"> | |
13170 | <autodoc>SetFlags(int flags)</autodoc> | |
13171 | <paramlist> | |
13172 | <param name="flags" type="int" default=""/> | |
13173 | </paramlist> | |
13174 | </method> | |
13175 | <method name="SetFindString" type="" overloaded="no"> | |
13176 | <autodoc>SetFindString(String str)</autodoc> | |
13177 | <paramlist> | |
13178 | <param name="str" type="String" default=""/> | |
13179 | </paramlist> | |
13180 | </method> | |
13181 | <method name="SetReplaceString" type="" overloaded="no"> | |
13182 | <autodoc>SetReplaceString(String str)</autodoc> | |
13183 | <paramlist> | |
13184 | <param name="str" type="String" default=""/> | |
13185 | </paramlist> | |
13186 | </method> | |
13187 | </class> | |
13188 | <class name="FindReplaceData" oldname="wxFindReplaceData" module="windows"> | |
c2dda882 RD |
13189 | <docstring>FindReplaceData holds the data for FindReplaceDialog. It is used to initialize |
13190 | the dialog with the default values and will keep the last values from the | |
13191 | dialog when it is closed. It is also updated each time a wxFindDialogEvent is | |
13192 | generated so instead of using the wxFindDialogEvent methods you can also | |
13193 | directly query this object. | |
13194 | ||
13195 | Note that all SetXXX() methods may only be called before showing the dialog | |
13196 | and calling them has no effect later. | |
13197 | ||
13198 | Flags | |
13199 | wxFR_DOWN: downward search/replace selected (otherwise, upwards) | |
13200 | ||
13201 | wxFR_WHOLEWORD: whole word search/replace selected | |
13202 | ||
13203 | wxFR_MATCHCASE: case sensitive search/replace selected (otherwise, | |
13204 | case insensitive) | |
13205 | </docstring> | |
f32fc4bc RD |
13206 | <baseclass name="Object"/> |
13207 | <constructor name="FindReplaceData" overloaded="no"> | |
13208 | <autodoc>__init__(int flags=0) -> FindReplaceData</autodoc> | |
c2dda882 | 13209 | <docstring>Constuctor initializes the flags to default value (0).</docstring> |
f32fc4bc RD |
13210 | <paramlist> |
13211 | <param name="flags" type="int" default="0"/> | |
13212 | </paramlist> | |
13213 | </constructor> | |
13214 | <destructor name="~wxFindReplaceData" overloaded="no"> | |
13215 | <autodoc>__del__()</autodoc> | |
13216 | </destructor> | |
13217 | <method name="GetFindString" type="String" overloaded="no"> | |
13218 | <autodoc>GetFindString() -> String</autodoc> | |
c2dda882 | 13219 | <docstring>Get the string to find.</docstring> |
f32fc4bc RD |
13220 | </method> |
13221 | <method name="GetReplaceString" type="String" overloaded="no"> | |
13222 | <autodoc>GetReplaceString() -> String</autodoc> | |
c2dda882 | 13223 | <docstring>Get the replacement string.</docstring> |
f32fc4bc RD |
13224 | </method> |
13225 | <method name="GetFlags" type="int" overloaded="no"> | |
13226 | <autodoc>GetFlags() -> int</autodoc> | |
c2dda882 | 13227 | <docstring>Get the combination of flag values.</docstring> |
f32fc4bc RD |
13228 | </method> |
13229 | <method name="SetFlags" type="" overloaded="no"> | |
13230 | <autodoc>SetFlags(int flags)</autodoc> | |
c2dda882 | 13231 | <docstring>Set the flags to use to initialize the controls of the dialog.</docstring> |
f32fc4bc RD |
13232 | <paramlist> |
13233 | <param name="flags" type="int" default=""/> | |
13234 | </paramlist> | |
13235 | </method> | |
13236 | <method name="SetFindString" type="" overloaded="no"> | |
13237 | <autodoc>SetFindString(String str)</autodoc> | |
c2dda882 | 13238 | <docstring>Set the string to find (used as initial value by the dialog).</docstring> |
f32fc4bc RD |
13239 | <paramlist> |
13240 | <param name="str" type="String" default=""/> | |
13241 | </paramlist> | |
13242 | </method> | |
13243 | <method name="SetReplaceString" type="" overloaded="no"> | |
13244 | <autodoc>SetReplaceString(String str)</autodoc> | |
c2dda882 | 13245 | <docstring>Set the replacement string (used as initial value by the dialog).</docstring> |
f32fc4bc RD |
13246 | <paramlist> |
13247 | <param name="str" type="String" default=""/> | |
13248 | </paramlist> | |
13249 | </method> | |
13250 | </class> | |
13251 | <class name="FindReplaceDialog" oldname="wxFindReplaceDialog" module="windows"> | |
c2dda882 RD |
13252 | <docstring>FindReplaceDialog is a standard modeless dialog which is used to allow the |
13253 | user to search for some text (and possibly replace it with something | |
13254 | else). The actual searching is supposed to be done in the owner window which | |
13255 | is the parent of this dialog. Note that it means that unlike for the other | |
13256 | standard dialogs this one must have a parent window. Also note that there is | |
13257 | no way to use this dialog in a modal way; it is always, by design and | |
13258 | implementation, modeless.</docstring> | |
13259 | <refdoc> | |
13260 | Styles | |
13261 | wx.FR_REPLACEDIALOG: replace dialog (otherwise find dialog) | |
13262 | ||
13263 | wx.FR_NOUPDOWN: don't allow changing the search direction | |
13264 | ||
13265 | wx.FR_NOMATCHCASE: don't allow case sensitive searching | |
13266 | ||
13267 | wx.FR_NOWHOLEWORD: don't allow whole word searching | |
13268 | </refdoc> | |
f32fc4bc RD |
13269 | <baseclass name="Dialog"/> |
13270 | <constructor name="FindReplaceDialog" overloaded="no"> | |
13271 | <autodoc>__init__(Window parent, FindReplaceData data, String title, | |
856bf319 | 13272 | int style=0) -> FindReplaceDialog</autodoc> |
c2dda882 RD |
13273 | <docstring>Create a FindReplaceDialog. The parent and data parameters must be |
13274 | non-None. Use Show to display the dialog.</docstring> | |
f32fc4bc RD |
13275 | <paramlist> |
13276 | <param name="parent" type="Window" default=""/> | |
13277 | <param name="data" type="FindReplaceData" default=""/> | |
13278 | <param name="title" type="String" default=""/> | |
13279 | <param name="style" type="int" default="0"/> | |
13280 | </paramlist> | |
13281 | </constructor> | |
13282 | <constructor name="PreFindReplaceDialog" overloaded="no"> | |
13283 | <autodoc>PreFindReplaceDialog() -> FindReplaceDialog</autodoc> | |
c2dda882 | 13284 | <docstring>Precreate a FindReplaceDialog for 2-phase creation</docstring> |
f32fc4bc RD |
13285 | </constructor> |
13286 | <method name="Create" type="bool" overloaded="no"> | |
13287 | <autodoc>Create(Window parent, FindReplaceData data, String title, | |
856bf319 | 13288 | int style=0) -> bool</autodoc> |
c2dda882 | 13289 | <docstring>Create the dialog, for 2-phase create.</docstring> |
f32fc4bc RD |
13290 | <paramlist> |
13291 | <param name="parent" type="Window" default=""/> | |
13292 | <param name="data" type="FindReplaceData" default=""/> | |
13293 | <param name="title" type="String" default=""/> | |
13294 | <param name="style" type="int" default="0"/> | |
13295 | </paramlist> | |
13296 | </method> | |
13297 | <method name="GetData" type="FindReplaceData" overloaded="no"> | |
13298 | <autodoc>GetData() -> FindReplaceData</autodoc> | |
c2dda882 | 13299 | <docstring>Get the FindReplaceData object used by this dialog.</docstring> |
f32fc4bc RD |
13300 | </method> |
13301 | <method name="SetData" type="" overloaded="no"> | |
13302 | <autodoc>SetData(FindReplaceData data)</autodoc> | |
c2dda882 | 13303 | <docstring>Set the FindReplaceData object used by this dialog.</docstring> |
f32fc4bc RD |
13304 | <paramlist> |
13305 | <param name="data" type="FindReplaceData" default=""/> | |
13306 | </paramlist> | |
13307 | </method> | |
13308 | </class> | |
13309 | <pythoncode> | |
856bf319 RD |
13310 | #--------------------------------------------------------------------------- |
13311 | </pythoncode> | |
f32fc4bc RD |
13312 | <class name="MDIParentFrame" oldname="wxMDIParentFrame" module="windows"> |
13313 | <baseclass name="Frame"/> | |
13314 | <constructor name="MDIParentFrame" overloaded="no"> | |
13315 | <autodoc>__init__(Window parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
13316 | Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, |
13317 | String name=FrameNameStr) -> MDIParentFrame</autodoc> | |
f32fc4bc RD |
13318 | <paramlist> |
13319 | <param name="parent" type="Window" default=""/> | |
13320 | <param name="id" type="int" default=""/> | |
13321 | <param name="title" type="String" default=""/> | |
13322 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
13323 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13324 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL"/> | |
13325 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
13326 | </paramlist> | |
13327 | </constructor> | |
13328 | <constructor name="PreMDIParentFrame" overloaded="no"> | |
13329 | <autodoc>PreMDIParentFrame() -> MDIParentFrame</autodoc> | |
13330 | </constructor> | |
13331 | <method name="Create" type="bool" overloaded="no"> | |
13332 | <autodoc>Create(Window parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
13333 | Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, |
13334 | String name=FrameNameStr) -> bool</autodoc> | |
f32fc4bc RD |
13335 | <paramlist> |
13336 | <param name="parent" type="Window" default=""/> | |
13337 | <param name="id" type="int" default=""/> | |
13338 | <param name="title" type="String" default=""/> | |
13339 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
13340 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13341 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL"/> | |
13342 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
13343 | </paramlist> | |
13344 | </method> | |
13345 | <method name="ActivateNext" type="" overloaded="no"> | |
13346 | <autodoc>ActivateNext()</autodoc> | |
13347 | </method> | |
13348 | <method name="ActivatePrevious" type="" overloaded="no"> | |
13349 | <autodoc>ActivatePrevious()</autodoc> | |
13350 | </method> | |
13351 | <method name="ArrangeIcons" type="" overloaded="no"> | |
13352 | <autodoc>ArrangeIcons()</autodoc> | |
13353 | </method> | |
13354 | <method name="Cascade" type="" overloaded="no"> | |
13355 | <autodoc>Cascade()</autodoc> | |
13356 | </method> | |
13357 | <method name="GetActiveChild" type="wxMDIChildFrame" overloaded="no"> | |
13358 | <autodoc>GetActiveChild() -> MDIChildFrame</autodoc> | |
13359 | </method> | |
13360 | <method name="GetClientWindow" type="wxMDIClientWindow" overloaded="no"> | |
13361 | <autodoc>GetClientWindow() -> MDIClientWindow</autodoc> | |
13362 | </method> | |
13363 | <method name="GetToolBar" type="Window" overloaded="no"> | |
13364 | <autodoc>GetToolBar() -> Window</autodoc> | |
13365 | </method> | |
13366 | <method name="Tile" type="" overloaded="no"> | |
13367 | <autodoc>Tile()</autodoc> | |
13368 | </method> | |
13369 | </class> | |
13370 | <class name="MDIChildFrame" oldname="wxMDIChildFrame" module="windows"> | |
13371 | <baseclass name="Frame"/> | |
13372 | <constructor name="MDIChildFrame" overloaded="no"> | |
13373 | <autodoc>__init__(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
13374 | Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, |
13375 | String name=FrameNameStr) -> MDIChildFrame</autodoc> | |
f32fc4bc RD |
13376 | <paramlist> |
13377 | <param name="parent" type="MDIParentFrame" default=""/> | |
13378 | <param name="id" type="int" default=""/> | |
13379 | <param name="title" type="String" default=""/> | |
13380 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
13381 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13382 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
13383 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
13384 | </paramlist> | |
13385 | </constructor> | |
13386 | <constructor name="PreMDIChildFrame" overloaded="no"> | |
13387 | <autodoc>PreMDIChildFrame() -> MDIChildFrame</autodoc> | |
13388 | </constructor> | |
13389 | <method name="Create" type="bool" overloaded="no"> | |
13390 | <autodoc>Create(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition, | |
856bf319 RD |
13391 | Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, |
13392 | String name=FrameNameStr) -> bool</autodoc> | |
f32fc4bc RD |
13393 | <paramlist> |
13394 | <param name="parent" type="MDIParentFrame" default=""/> | |
13395 | <param name="id" type="int" default=""/> | |
13396 | <param name="title" type="String" default=""/> | |
13397 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
13398 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13399 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
13400 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
13401 | </paramlist> | |
13402 | </method> | |
13403 | <method name="Activate" type="" overloaded="no"> | |
13404 | <autodoc>Activate()</autodoc> | |
13405 | </method> | |
13406 | <method name="Maximize" type="" overloaded="no"> | |
13407 | <autodoc>Maximize(bool maximize)</autodoc> | |
13408 | <paramlist> | |
13409 | <param name="maximize" type="bool" default=""/> | |
13410 | </paramlist> | |
13411 | </method> | |
13412 | <method name="Restore" type="" overloaded="no"> | |
13413 | <autodoc>Restore()</autodoc> | |
13414 | </method> | |
13415 | </class> | |
13416 | <class name="MDIClientWindow" oldname="wxMDIClientWindow" module="windows"> | |
13417 | <baseclass name="Window"/> | |
13418 | <constructor name="MDIClientWindow" overloaded="no"> | |
13419 | <autodoc>__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow</autodoc> | |
13420 | <paramlist> | |
13421 | <param name="parent" type="MDIParentFrame" default=""/> | |
13422 | <param name="style" type="long" default="0"/> | |
13423 | </paramlist> | |
13424 | </constructor> | |
13425 | <constructor name="PreMDIClientWindow" overloaded="no"> | |
13426 | <autodoc>PreMDIClientWindow() -> MDIClientWindow</autodoc> | |
13427 | </constructor> | |
13428 | <method name="Create" type="bool" overloaded="no"> | |
13429 | <autodoc>Create(MDIParentFrame parent, long style=0) -> bool</autodoc> | |
13430 | <paramlist> | |
13431 | <param name="parent" type="MDIParentFrame" default=""/> | |
13432 | <param name="style" type="long" default="0"/> | |
13433 | </paramlist> | |
13434 | </method> | |
13435 | </class> | |
13436 | <pythoncode> | |
856bf319 RD |
13437 | #--------------------------------------------------------------------------- |
13438 | </pythoncode> | |
f32fc4bc RD |
13439 | <class name="PyWindow" oldname="wxPyWindow" module="windows"> |
13440 | <baseclass name="Window"/> | |
13441 | <constructor name="PyWindow" overloaded="no"> | |
13442 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 | 13443 | long style=0, String name=PanelNameStr) -> PyWindow</autodoc> |
f32fc4bc RD |
13444 | <paramlist> |
13445 | <param name="parent" type="Window" default=""/> | |
13446 | <param name="id" type="int" default=""/> | |
13447 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
13448 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13449 | <param name="style" type="long" default="0"/> | |
13450 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
13451 | </paramlist> | |
13452 | </constructor> | |
13453 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
13454 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
13455 | <paramlist> | |
13456 | <param name="self" type="PyObject" default=""/> | |
13457 | <param name="_class" type="PyObject" default=""/> | |
13458 | </paramlist> | |
13459 | </method> | |
13460 | <method name="base_DoMoveWindow" type="" overloaded="no"> | |
13461 | <autodoc>base_DoMoveWindow(int x, int y, int width, int height)</autodoc> | |
13462 | <paramlist> | |
13463 | <param name="x" type="int" default=""/> | |
13464 | <param name="y" type="int" default=""/> | |
13465 | <param name="width" type="int" default=""/> | |
13466 | <param name="height" type="int" default=""/> | |
13467 | </paramlist> | |
13468 | </method> | |
13469 | <method name="base_DoSetSize" type="" overloaded="no"> | |
13470 | <autodoc>base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc> | |
13471 | <paramlist> | |
13472 | <param name="x" type="int" default=""/> | |
13473 | <param name="y" type="int" default=""/> | |
13474 | <param name="width" type="int" default=""/> | |
13475 | <param name="height" type="int" default=""/> | |
13476 | <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/> | |
13477 | </paramlist> | |
13478 | </method> | |
13479 | <method name="base_DoSetClientSize" type="" overloaded="no"> | |
13480 | <autodoc>base_DoSetClientSize(int width, int height)</autodoc> | |
13481 | <paramlist> | |
13482 | <param name="width" type="int" default=""/> | |
13483 | <param name="height" type="int" default=""/> | |
13484 | </paramlist> | |
13485 | </method> | |
13486 | <method name="base_DoSetVirtualSize" type="" overloaded="no"> | |
13487 | <autodoc>base_DoSetVirtualSize(int x, int y)</autodoc> | |
13488 | <paramlist> | |
13489 | <param name="x" type="int" default=""/> | |
13490 | <param name="y" type="int" default=""/> | |
13491 | </paramlist> | |
13492 | </method> | |
13493 | <method name="base_DoGetSize" type="" overloaded="no"> | |
13494 | <autodoc>base_DoGetSize() -> (width, height)</autodoc> | |
13495 | <paramlist> | |
13496 | <param name="OUTPUT" type="int" default=""/> | |
13497 | <param name="OUTPUT" type="int" default=""/> | |
13498 | </paramlist> | |
13499 | </method> | |
13500 | <method name="base_DoGetClientSize" type="" overloaded="no"> | |
13501 | <autodoc>base_DoGetClientSize() -> (width, height)</autodoc> | |
13502 | <paramlist> | |
13503 | <param name="OUTPUT" type="int" default=""/> | |
13504 | <param name="OUTPUT" type="int" default=""/> | |
13505 | </paramlist> | |
13506 | </method> | |
13507 | <method name="base_DoGetPosition" type="" overloaded="no"> | |
13508 | <autodoc>base_DoGetPosition() -> (x,y)</autodoc> | |
13509 | <paramlist> | |
13510 | <param name="OUTPUT" type="int" default=""/> | |
13511 | <param name="OUTPUT" type="int" default=""/> | |
13512 | </paramlist> | |
13513 | </method> | |
13514 | <method name="base_DoGetVirtualSize" type="Size" overloaded="no"> | |
13515 | <autodoc>base_DoGetVirtualSize() -> Size</autodoc> | |
13516 | </method> | |
13517 | <method name="base_DoGetBestSize" type="Size" overloaded="no"> | |
13518 | <autodoc>base_DoGetBestSize() -> Size</autodoc> | |
13519 | </method> | |
13520 | <method name="base_InitDialog" type="" overloaded="no"> | |
13521 | <autodoc>base_InitDialog()</autodoc> | |
13522 | </method> | |
13523 | <method name="base_TransferDataToWindow" type="bool" overloaded="no"> | |
13524 | <autodoc>base_TransferDataToWindow() -> bool</autodoc> | |
13525 | </method> | |
13526 | <method name="base_TransferDataFromWindow" type="bool" overloaded="no"> | |
13527 | <autodoc>base_TransferDataFromWindow() -> bool</autodoc> | |
13528 | </method> | |
13529 | <method name="base_Validate" type="bool" overloaded="no"> | |
13530 | <autodoc>base_Validate() -> bool</autodoc> | |
13531 | </method> | |
13532 | <method name="base_AcceptsFocus" type="bool" overloaded="no"> | |
13533 | <autodoc>base_AcceptsFocus() -> bool</autodoc> | |
13534 | </method> | |
13535 | <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no"> | |
13536 | <autodoc>base_AcceptsFocusFromKeyboard() -> bool</autodoc> | |
13537 | </method> | |
13538 | <method name="base_GetMaxSize" type="Size" overloaded="no"> | |
13539 | <autodoc>base_GetMaxSize() -> Size</autodoc> | |
13540 | </method> | |
13541 | <method name="base_AddChild" type="" overloaded="no"> | |
13542 | <autodoc>base_AddChild(Window child)</autodoc> | |
13543 | <paramlist> | |
13544 | <param name="child" type="Window" default=""/> | |
13545 | </paramlist> | |
13546 | </method> | |
13547 | <method name="base_RemoveChild" type="" overloaded="no"> | |
13548 | <autodoc>base_RemoveChild(Window child)</autodoc> | |
13549 | <paramlist> | |
13550 | <param name="child" type="Window" default=""/> | |
13551 | </paramlist> | |
13552 | </method> | |
13553 | </class> | |
13554 | <class name="PyPanel" oldname="wxPyPanel" module="windows"> | |
13555 | <baseclass name="Panel"/> | |
13556 | <constructor name="PyPanel" overloaded="no"> | |
13557 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 | 13558 | long style=0, String name=PanelNameStr) -> PyPanel</autodoc> |
f32fc4bc RD |
13559 | <paramlist> |
13560 | <param name="parent" type="Window" default=""/> | |
13561 | <param name="id" type="int" default=""/> | |
13562 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
13563 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13564 | <param name="style" type="long" default="0"/> | |
13565 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
13566 | </paramlist> | |
13567 | </constructor> | |
13568 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
13569 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
13570 | <paramlist> | |
13571 | <param name="self" type="PyObject" default=""/> | |
13572 | <param name="_class" type="PyObject" default=""/> | |
13573 | </paramlist> | |
13574 | </method> | |
13575 | <method name="base_DoMoveWindow" type="" overloaded="no"> | |
13576 | <autodoc>base_DoMoveWindow(int x, int y, int width, int height)</autodoc> | |
13577 | <paramlist> | |
13578 | <param name="x" type="int" default=""/> | |
13579 | <param name="y" type="int" default=""/> | |
13580 | <param name="width" type="int" default=""/> | |
13581 | <param name="height" type="int" default=""/> | |
13582 | </paramlist> | |
13583 | </method> | |
13584 | <method name="base_DoSetSize" type="" overloaded="no"> | |
13585 | <autodoc>base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc> | |
13586 | <paramlist> | |
13587 | <param name="x" type="int" default=""/> | |
13588 | <param name="y" type="int" default=""/> | |
13589 | <param name="width" type="int" default=""/> | |
13590 | <param name="height" type="int" default=""/> | |
13591 | <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/> | |
13592 | </paramlist> | |
13593 | </method> | |
13594 | <method name="base_DoSetClientSize" type="" overloaded="no"> | |
13595 | <autodoc>base_DoSetClientSize(int width, int height)</autodoc> | |
13596 | <paramlist> | |
13597 | <param name="width" type="int" default=""/> | |
13598 | <param name="height" type="int" default=""/> | |
13599 | </paramlist> | |
13600 | </method> | |
13601 | <method name="base_DoSetVirtualSize" type="" overloaded="no"> | |
13602 | <autodoc>base_DoSetVirtualSize(int x, int y)</autodoc> | |
13603 | <paramlist> | |
13604 | <param name="x" type="int" default=""/> | |
13605 | <param name="y" type="int" default=""/> | |
13606 | </paramlist> | |
13607 | </method> | |
13608 | <method name="base_DoGetSize" type="" overloaded="no"> | |
13609 | <autodoc>base_DoGetSize() -> (width, height)</autodoc> | |
13610 | <paramlist> | |
13611 | <param name="OUTPUT" type="int" default=""/> | |
13612 | <param name="OUTPUT" type="int" default=""/> | |
13613 | </paramlist> | |
13614 | </method> | |
13615 | <method name="base_DoGetClientSize" type="" overloaded="no"> | |
13616 | <autodoc>base_DoGetClientSize() -> (width, height)</autodoc> | |
13617 | <paramlist> | |
13618 | <param name="OUTPUT" type="int" default=""/> | |
13619 | <param name="OUTPUT" type="int" default=""/> | |
13620 | </paramlist> | |
13621 | </method> | |
13622 | <method name="base_DoGetPosition" type="" overloaded="no"> | |
13623 | <autodoc>base_DoGetPosition() -> (x,y)</autodoc> | |
13624 | <paramlist> | |
13625 | <param name="OUTPUT" type="int" default=""/> | |
13626 | <param name="OUTPUT" type="int" default=""/> | |
13627 | </paramlist> | |
13628 | </method> | |
13629 | <method name="base_DoGetVirtualSize" type="Size" overloaded="no"> | |
13630 | <autodoc>base_DoGetVirtualSize() -> Size</autodoc> | |
13631 | </method> | |
13632 | <method name="base_DoGetBestSize" type="Size" overloaded="no"> | |
13633 | <autodoc>base_DoGetBestSize() -> Size</autodoc> | |
13634 | </method> | |
13635 | <method name="base_InitDialog" type="" overloaded="no"> | |
13636 | <autodoc>base_InitDialog()</autodoc> | |
13637 | </method> | |
13638 | <method name="base_TransferDataToWindow" type="bool" overloaded="no"> | |
13639 | <autodoc>base_TransferDataToWindow() -> bool</autodoc> | |
13640 | </method> | |
13641 | <method name="base_TransferDataFromWindow" type="bool" overloaded="no"> | |
13642 | <autodoc>base_TransferDataFromWindow() -> bool</autodoc> | |
13643 | </method> | |
13644 | <method name="base_Validate" type="bool" overloaded="no"> | |
13645 | <autodoc>base_Validate() -> bool</autodoc> | |
13646 | </method> | |
13647 | <method name="base_AcceptsFocus" type="bool" overloaded="no"> | |
13648 | <autodoc>base_AcceptsFocus() -> bool</autodoc> | |
13649 | </method> | |
13650 | <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no"> | |
13651 | <autodoc>base_AcceptsFocusFromKeyboard() -> bool</autodoc> | |
13652 | </method> | |
13653 | <method name="base_GetMaxSize" type="Size" overloaded="no"> | |
13654 | <autodoc>base_GetMaxSize() -> Size</autodoc> | |
13655 | </method> | |
13656 | <method name="base_AddChild" type="" overloaded="no"> | |
13657 | <autodoc>base_AddChild(Window child)</autodoc> | |
13658 | <paramlist> | |
13659 | <param name="child" type="Window" default=""/> | |
13660 | </paramlist> | |
13661 | </method> | |
13662 | <method name="base_RemoveChild" type="" overloaded="no"> | |
13663 | <autodoc>base_RemoveChild(Window child)</autodoc> | |
13664 | <paramlist> | |
13665 | <param name="child" type="Window" default=""/> | |
13666 | </paramlist> | |
13667 | </method> | |
13668 | </class> | |
13669 | <pythoncode> | |
856bf319 RD |
13670 | #--------------------------------------------------------------------------- |
13671 | </pythoncode> | |
f32fc4bc RD |
13672 | <class name="PrintData" oldname="wxPrintData" module="windows"> |
13673 | <baseclass name="Object"/> | |
13674 | <constructor name="PrintData" overloaded="no"> | |
13675 | <autodoc>__init__() -> PrintData</autodoc> | |
13676 | </constructor> | |
13677 | <destructor name="~wxPrintData" overloaded="no"> | |
13678 | <autodoc>__del__()</autodoc> | |
13679 | </destructor> | |
13680 | <method name="GetNoCopies" type="int" overloaded="no"> | |
13681 | <autodoc>GetNoCopies() -> int</autodoc> | |
13682 | </method> | |
13683 | <method name="GetCollate" type="bool" overloaded="no"> | |
13684 | <autodoc>GetCollate() -> bool</autodoc> | |
13685 | </method> | |
13686 | <method name="GetOrientation" type="int" overloaded="no"> | |
13687 | <autodoc>GetOrientation() -> int</autodoc> | |
13688 | </method> | |
13689 | <method name="Ok" type="bool" overloaded="no"> | |
13690 | <autodoc>Ok() -> bool</autodoc> | |
13691 | </method> | |
13692 | <method name="GetPrinterName" type="String" overloaded="no"> | |
13693 | <autodoc>GetPrinterName() -> String</autodoc> | |
13694 | </method> | |
13695 | <method name="GetColour" type="bool" overloaded="no"> | |
13696 | <autodoc>GetColour() -> bool</autodoc> | |
13697 | </method> | |
13698 | <method name="GetDuplex" type="wxDuplexMode" overloaded="no"> | |
13699 | <autodoc>GetDuplex() -> int</autodoc> | |
13700 | </method> | |
13701 | <method name="GetPaperId" type="wxPaperSize" overloaded="no"> | |
13702 | <autodoc>GetPaperId() -> int</autodoc> | |
13703 | </method> | |
13704 | <method name="GetPaperSize" type="Size" overloaded="no"> | |
13705 | <autodoc>GetPaperSize() -> Size</autodoc> | |
13706 | </method> | |
13707 | <method name="GetQuality" type="int" overloaded="no"> | |
13708 | <autodoc>GetQuality() -> int</autodoc> | |
13709 | </method> | |
13710 | <method name="SetNoCopies" type="" overloaded="no"> | |
13711 | <autodoc>SetNoCopies(int v)</autodoc> | |
13712 | <paramlist> | |
13713 | <param name="v" type="int" default=""/> | |
13714 | </paramlist> | |
13715 | </method> | |
13716 | <method name="SetCollate" type="" overloaded="no"> | |
13717 | <autodoc>SetCollate(bool flag)</autodoc> | |
13718 | <paramlist> | |
13719 | <param name="flag" type="bool" default=""/> | |
13720 | </paramlist> | |
13721 | </method> | |
13722 | <method name="SetOrientation" type="" overloaded="no"> | |
13723 | <autodoc>SetOrientation(int orient)</autodoc> | |
13724 | <paramlist> | |
13725 | <param name="orient" type="int" default=""/> | |
13726 | </paramlist> | |
13727 | </method> | |
13728 | <method name="SetPrinterName" type="" overloaded="no"> | |
13729 | <autodoc>SetPrinterName(String name)</autodoc> | |
13730 | <paramlist> | |
13731 | <param name="name" type="String" default=""/> | |
13732 | </paramlist> | |
13733 | </method> | |
13734 | <method name="SetColour" type="" overloaded="no"> | |
13735 | <autodoc>SetColour(bool colour)</autodoc> | |
13736 | <paramlist> | |
13737 | <param name="colour" type="bool" default=""/> | |
13738 | </paramlist> | |
13739 | </method> | |
13740 | <method name="SetDuplex" type="" overloaded="no"> | |
13741 | <autodoc>SetDuplex(int duplex)</autodoc> | |
13742 | <paramlist> | |
13743 | <param name="duplex" type="wxDuplexMode" default=""/> | |
13744 | </paramlist> | |
13745 | </method> | |
13746 | <method name="SetPaperId" type="" overloaded="no"> | |
13747 | <autodoc>SetPaperId(int sizeId)</autodoc> | |
13748 | <paramlist> | |
13749 | <param name="sizeId" type="wxPaperSize" default=""/> | |
13750 | </paramlist> | |
13751 | </method> | |
13752 | <method name="SetPaperSize" type="" overloaded="no"> | |
13753 | <autodoc>SetPaperSize(Size sz)</autodoc> | |
13754 | <paramlist> | |
13755 | <param name="sz" type="Size" default=""/> | |
13756 | </paramlist> | |
13757 | </method> | |
13758 | <method name="SetQuality" type="" overloaded="no"> | |
13759 | <autodoc>SetQuality(int quality)</autodoc> | |
13760 | <paramlist> | |
13761 | <param name="quality" type="int" default=""/> | |
13762 | </paramlist> | |
13763 | </method> | |
13764 | <method name="GetPrinterCommand" type="String" overloaded="no"> | |
13765 | <autodoc>GetPrinterCommand() -> String</autodoc> | |
13766 | </method> | |
13767 | <method name="GetPrinterOptions" type="String" overloaded="no"> | |
13768 | <autodoc>GetPrinterOptions() -> String</autodoc> | |
13769 | </method> | |
13770 | <method name="GetPreviewCommand" type="String" overloaded="no"> | |
13771 | <autodoc>GetPreviewCommand() -> String</autodoc> | |
13772 | </method> | |
13773 | <method name="GetFilename" type="String" overloaded="no"> | |
13774 | <autodoc>GetFilename() -> String</autodoc> | |
13775 | </method> | |
13776 | <method name="GetFontMetricPath" type="String" overloaded="no"> | |
13777 | <autodoc>GetFontMetricPath() -> String</autodoc> | |
13778 | </method> | |
13779 | <method name="GetPrinterScaleX" type="double" overloaded="no"> | |
13780 | <autodoc>GetPrinterScaleX() -> double</autodoc> | |
13781 | </method> | |
13782 | <method name="GetPrinterScaleY" type="double" overloaded="no"> | |
13783 | <autodoc>GetPrinterScaleY() -> double</autodoc> | |
13784 | </method> | |
13785 | <method name="GetPrinterTranslateX" type="long" overloaded="no"> | |
13786 | <autodoc>GetPrinterTranslateX() -> long</autodoc> | |
13787 | </method> | |
13788 | <method name="GetPrinterTranslateY" type="long" overloaded="no"> | |
13789 | <autodoc>GetPrinterTranslateY() -> long</autodoc> | |
13790 | </method> | |
13791 | <method name="GetPrintMode" type="wxPrintMode" overloaded="no"> | |
13792 | <autodoc>GetPrintMode() -> int</autodoc> | |
13793 | </method> | |
13794 | <method name="SetPrinterCommand" type="" overloaded="no"> | |
13795 | <autodoc>SetPrinterCommand(String command)</autodoc> | |
13796 | <paramlist> | |
13797 | <param name="command" type="String" default=""/> | |
13798 | </paramlist> | |
13799 | </method> | |
13800 | <method name="SetPrinterOptions" type="" overloaded="no"> | |
13801 | <autodoc>SetPrinterOptions(String options)</autodoc> | |
13802 | <paramlist> | |
13803 | <param name="options" type="String" default=""/> | |
13804 | </paramlist> | |
13805 | </method> | |
13806 | <method name="SetPreviewCommand" type="" overloaded="no"> | |
13807 | <autodoc>SetPreviewCommand(String command)</autodoc> | |
13808 | <paramlist> | |
13809 | <param name="command" type="String" default=""/> | |
13810 | </paramlist> | |
13811 | </method> | |
13812 | <method name="SetFilename" type="" overloaded="no"> | |
13813 | <autodoc>SetFilename(String filename)</autodoc> | |
13814 | <paramlist> | |
13815 | <param name="filename" type="String" default=""/> | |
13816 | </paramlist> | |
13817 | </method> | |
13818 | <method name="SetFontMetricPath" type="" overloaded="no"> | |
13819 | <autodoc>SetFontMetricPath(String path)</autodoc> | |
13820 | <paramlist> | |
13821 | <param name="path" type="String" default=""/> | |
13822 | </paramlist> | |
13823 | </method> | |
13824 | <method name="SetPrinterScaleX" type="" overloaded="no"> | |
13825 | <autodoc>SetPrinterScaleX(double x)</autodoc> | |
13826 | <paramlist> | |
13827 | <param name="x" type="double" default=""/> | |
13828 | </paramlist> | |
13829 | </method> | |
13830 | <method name="SetPrinterScaleY" type="" overloaded="no"> | |
13831 | <autodoc>SetPrinterScaleY(double y)</autodoc> | |
13832 | <paramlist> | |
13833 | <param name="y" type="double" default=""/> | |
13834 | </paramlist> | |
13835 | </method> | |
13836 | <method name="SetPrinterScaling" type="" overloaded="no"> | |
13837 | <autodoc>SetPrinterScaling(double x, double y)</autodoc> | |
13838 | <paramlist> | |
13839 | <param name="x" type="double" default=""/> | |
13840 | <param name="y" type="double" default=""/> | |
13841 | </paramlist> | |
13842 | </method> | |
13843 | <method name="SetPrinterTranslateX" type="" overloaded="no"> | |
13844 | <autodoc>SetPrinterTranslateX(long x)</autodoc> | |
13845 | <paramlist> | |
13846 | <param name="x" type="long" default=""/> | |
13847 | </paramlist> | |
13848 | </method> | |
13849 | <method name="SetPrinterTranslateY" type="" overloaded="no"> | |
13850 | <autodoc>SetPrinterTranslateY(long y)</autodoc> | |
13851 | <paramlist> | |
13852 | <param name="y" type="long" default=""/> | |
13853 | </paramlist> | |
13854 | </method> | |
13855 | <method name="SetPrinterTranslation" type="" overloaded="no"> | |
13856 | <autodoc>SetPrinterTranslation(long x, long y)</autodoc> | |
13857 | <paramlist> | |
13858 | <param name="x" type="long" default=""/> | |
13859 | <param name="y" type="long" default=""/> | |
13860 | </paramlist> | |
13861 | </method> | |
13862 | <method name="SetPrintMode" type="" overloaded="no"> | |
13863 | <autodoc>SetPrintMode(int printMode)</autodoc> | |
13864 | <paramlist> | |
13865 | <param name="printMode" type="wxPrintMode" default=""/> | |
13866 | </paramlist> | |
13867 | </method> | |
13868 | <method name="GetOutputStream" type="OutputStream" overloaded="no"> | |
13869 | <autodoc>GetOutputStream() -> OutputStream</autodoc> | |
13870 | </method> | |
13871 | <method name="SetOutputStream" type="" overloaded="no"> | |
13872 | <autodoc>SetOutputStream(OutputStream outputstream)</autodoc> | |
13873 | <paramlist> | |
13874 | <param name="outputstream" type="OutputStream" default=""/> | |
13875 | </paramlist> | |
13876 | </method> | |
13877 | </class> | |
13878 | <class name="PageSetupDialogData" oldname="wxPageSetupDialogData" module="windows"> | |
13879 | <baseclass name="Object"/> | |
13880 | <constructor name="PageSetupDialogData" overloaded="no"> | |
13881 | <autodoc>__init__() -> PageSetupDialogData</autodoc> | |
13882 | </constructor> | |
13883 | <destructor name="~wxPageSetupDialogData" overloaded="no"> | |
13884 | <autodoc>__del__()</autodoc> | |
13885 | </destructor> | |
13886 | <method name="EnableHelp" type="" overloaded="no"> | |
13887 | <autodoc>EnableHelp(bool flag)</autodoc> | |
13888 | <paramlist> | |
13889 | <param name="flag" type="bool" default=""/> | |
13890 | </paramlist> | |
13891 | </method> | |
13892 | <method name="EnableMargins" type="" overloaded="no"> | |
13893 | <autodoc>EnableMargins(bool flag)</autodoc> | |
13894 | <paramlist> | |
13895 | <param name="flag" type="bool" default=""/> | |
13896 | </paramlist> | |
13897 | </method> | |
13898 | <method name="EnableOrientation" type="" overloaded="no"> | |
13899 | <autodoc>EnableOrientation(bool flag)</autodoc> | |
13900 | <paramlist> | |
13901 | <param name="flag" type="bool" default=""/> | |
13902 | </paramlist> | |
13903 | </method> | |
13904 | <method name="EnablePaper" type="" overloaded="no"> | |
13905 | <autodoc>EnablePaper(bool flag)</autodoc> | |
13906 | <paramlist> | |
13907 | <param name="flag" type="bool" default=""/> | |
13908 | </paramlist> | |
13909 | </method> | |
13910 | <method name="EnablePrinter" type="" overloaded="no"> | |
13911 | <autodoc>EnablePrinter(bool flag)</autodoc> | |
13912 | <paramlist> | |
13913 | <param name="flag" type="bool" default=""/> | |
13914 | </paramlist> | |
13915 | </method> | |
13916 | <method name="GetDefaultMinMargins" type="bool" overloaded="no"> | |
13917 | <autodoc>GetDefaultMinMargins() -> bool</autodoc> | |
13918 | </method> | |
13919 | <method name="GetEnableMargins" type="bool" overloaded="no"> | |
13920 | <autodoc>GetEnableMargins() -> bool</autodoc> | |
13921 | </method> | |
13922 | <method name="GetEnableOrientation" type="bool" overloaded="no"> | |
13923 | <autodoc>GetEnableOrientation() -> bool</autodoc> | |
13924 | </method> | |
13925 | <method name="GetEnablePaper" type="bool" overloaded="no"> | |
13926 | <autodoc>GetEnablePaper() -> bool</autodoc> | |
13927 | </method> | |
13928 | <method name="GetEnablePrinter" type="bool" overloaded="no"> | |
13929 | <autodoc>GetEnablePrinter() -> bool</autodoc> | |
13930 | </method> | |
13931 | <method name="GetEnableHelp" type="bool" overloaded="no"> | |
13932 | <autodoc>GetEnableHelp() -> bool</autodoc> | |
13933 | </method> | |
13934 | <method name="GetDefaultInfo" type="bool" overloaded="no"> | |
13935 | <autodoc>GetDefaultInfo() -> bool</autodoc> | |
13936 | </method> | |
13937 | <method name="GetMarginTopLeft" type="Point" overloaded="no"> | |
13938 | <autodoc>GetMarginTopLeft() -> Point</autodoc> | |
13939 | </method> | |
13940 | <method name="GetMarginBottomRight" type="Point" overloaded="no"> | |
13941 | <autodoc>GetMarginBottomRight() -> Point</autodoc> | |
13942 | </method> | |
13943 | <method name="GetMinMarginTopLeft" type="Point" overloaded="no"> | |
13944 | <autodoc>GetMinMarginTopLeft() -> Point</autodoc> | |
13945 | </method> | |
13946 | <method name="GetMinMarginBottomRight" type="Point" overloaded="no"> | |
13947 | <autodoc>GetMinMarginBottomRight() -> Point</autodoc> | |
13948 | </method> | |
13949 | <method name="GetPaperId" type="wxPaperSize" overloaded="no"> | |
13950 | <autodoc>GetPaperId() -> int</autodoc> | |
13951 | </method> | |
13952 | <method name="GetPaperSize" type="Size" overloaded="no"> | |
13953 | <autodoc>GetPaperSize() -> Size</autodoc> | |
13954 | </method> | |
13955 | <method name="GetPrintData" type="PrintData" overloaded="no"> | |
13956 | <autodoc>GetPrintData() -> PrintData</autodoc> | |
13957 | </method> | |
13958 | <method name="Ok" type="bool" overloaded="no"> | |
13959 | <autodoc>Ok() -> bool</autodoc> | |
13960 | </method> | |
13961 | <method name="SetDefaultInfo" type="" overloaded="no"> | |
13962 | <autodoc>SetDefaultInfo(bool flag)</autodoc> | |
13963 | <paramlist> | |
13964 | <param name="flag" type="bool" default=""/> | |
13965 | </paramlist> | |
13966 | </method> | |
13967 | <method name="SetDefaultMinMargins" type="" overloaded="no"> | |
13968 | <autodoc>SetDefaultMinMargins(bool flag)</autodoc> | |
13969 | <paramlist> | |
13970 | <param name="flag" type="bool" default=""/> | |
13971 | </paramlist> | |
13972 | </method> | |
13973 | <method name="SetMarginTopLeft" type="" overloaded="no"> | |
13974 | <autodoc>SetMarginTopLeft(Point pt)</autodoc> | |
13975 | <paramlist> | |
13976 | <param name="pt" type="Point" default=""/> | |
13977 | </paramlist> | |
13978 | </method> | |
13979 | <method name="SetMarginBottomRight" type="" overloaded="no"> | |
13980 | <autodoc>SetMarginBottomRight(Point pt)</autodoc> | |
13981 | <paramlist> | |
13982 | <param name="pt" type="Point" default=""/> | |
13983 | </paramlist> | |
13984 | </method> | |
13985 | <method name="SetMinMarginTopLeft" type="" overloaded="no"> | |
13986 | <autodoc>SetMinMarginTopLeft(Point pt)</autodoc> | |
13987 | <paramlist> | |
13988 | <param name="pt" type="Point" default=""/> | |
13989 | </paramlist> | |
13990 | </method> | |
13991 | <method name="SetMinMarginBottomRight" type="" overloaded="no"> | |
13992 | <autodoc>SetMinMarginBottomRight(Point pt)</autodoc> | |
13993 | <paramlist> | |
13994 | <param name="pt" type="Point" default=""/> | |
13995 | </paramlist> | |
13996 | </method> | |
13997 | <method name="SetPaperId" type="" overloaded="no"> | |
13998 | <autodoc>SetPaperId(int id)</autodoc> | |
13999 | <paramlist> | |
14000 | <param name="id" type="wxPaperSize" default=""/> | |
14001 | </paramlist> | |
14002 | </method> | |
14003 | <method name="SetPaperSize" type="" overloaded="no"> | |
14004 | <autodoc>SetPaperSize(Size size)</autodoc> | |
14005 | <paramlist> | |
14006 | <param name="size" type="Size" default=""/> | |
14007 | </paramlist> | |
14008 | </method> | |
14009 | <method name="SetPrintData" type="" overloaded="no"> | |
14010 | <autodoc>SetPrintData(PrintData printData)</autodoc> | |
14011 | <paramlist> | |
14012 | <param name="printData" type="PrintData" default=""/> | |
14013 | </paramlist> | |
14014 | </method> | |
14015 | </class> | |
14016 | <class name="PageSetupDialog" oldname="wxPageSetupDialog" module="windows"> | |
14017 | <baseclass name="Dialog"/> | |
14018 | <constructor name="PageSetupDialog" overloaded="no"> | |
14019 | <autodoc>__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog</autodoc> | |
14020 | <paramlist> | |
14021 | <param name="parent" type="Window" default=""/> | |
14022 | <param name="data" type="PageSetupDialogData" default="NULL"/> | |
14023 | </paramlist> | |
14024 | </constructor> | |
14025 | <method name="GetPageSetupData" type="PageSetupDialogData" overloaded="no"> | |
14026 | <autodoc>GetPageSetupData() -> PageSetupDialogData</autodoc> | |
14027 | </method> | |
14028 | <method name="ShowModal" type="int" overloaded="no"> | |
14029 | <autodoc>ShowModal() -> int</autodoc> | |
14030 | </method> | |
14031 | </class> | |
14032 | <class name="PrintDialogData" oldname="wxPrintDialogData" module="windows"> | |
14033 | <baseclass name="Object"/> | |
b39e211b RD |
14034 | <constructor name="PrintDialogData" overloaded="yes"/> |
14035 | <constructor name="PrintDialogData" overloaded="yes"> | |
14036 | <autodoc>__init__() -> PrintDialogData | |
14037 | __init__(PrintData printData) -> PrintDialogData</autodoc> | |
14038 | <paramlist> | |
14039 | <param name="printData" type="PrintData" default=""/> | |
14040 | </paramlist> | |
f32fc4bc RD |
14041 | </constructor> |
14042 | <destructor name="~wxPrintDialogData" overloaded="no"> | |
14043 | <autodoc>__del__()</autodoc> | |
14044 | </destructor> | |
14045 | <method name="GetFromPage" type="int" overloaded="no"> | |
14046 | <autodoc>GetFromPage() -> int</autodoc> | |
14047 | </method> | |
14048 | <method name="GetToPage" type="int" overloaded="no"> | |
14049 | <autodoc>GetToPage() -> int</autodoc> | |
14050 | </method> | |
14051 | <method name="GetMinPage" type="int" overloaded="no"> | |
14052 | <autodoc>GetMinPage() -> int</autodoc> | |
14053 | </method> | |
14054 | <method name="GetMaxPage" type="int" overloaded="no"> | |
14055 | <autodoc>GetMaxPage() -> int</autodoc> | |
14056 | </method> | |
14057 | <method name="GetNoCopies" type="int" overloaded="no"> | |
14058 | <autodoc>GetNoCopies() -> int</autodoc> | |
14059 | </method> | |
14060 | <method name="GetAllPages" type="bool" overloaded="no"> | |
14061 | <autodoc>GetAllPages() -> bool</autodoc> | |
14062 | </method> | |
14063 | <method name="GetSelection" type="bool" overloaded="no"> | |
14064 | <autodoc>GetSelection() -> bool</autodoc> | |
14065 | </method> | |
14066 | <method name="GetCollate" type="bool" overloaded="no"> | |
14067 | <autodoc>GetCollate() -> bool</autodoc> | |
14068 | </method> | |
14069 | <method name="GetPrintToFile" type="bool" overloaded="no"> | |
14070 | <autodoc>GetPrintToFile() -> bool</autodoc> | |
14071 | </method> | |
14072 | <method name="GetSetupDialog" type="bool" overloaded="no"> | |
14073 | <autodoc>GetSetupDialog() -> bool</autodoc> | |
14074 | </method> | |
14075 | <method name="SetFromPage" type="" overloaded="no"> | |
14076 | <autodoc>SetFromPage(int v)</autodoc> | |
14077 | <paramlist> | |
14078 | <param name="v" type="int" default=""/> | |
14079 | </paramlist> | |
14080 | </method> | |
14081 | <method name="SetToPage" type="" overloaded="no"> | |
14082 | <autodoc>SetToPage(int v)</autodoc> | |
14083 | <paramlist> | |
14084 | <param name="v" type="int" default=""/> | |
14085 | </paramlist> | |
14086 | </method> | |
14087 | <method name="SetMinPage" type="" overloaded="no"> | |
14088 | <autodoc>SetMinPage(int v)</autodoc> | |
14089 | <paramlist> | |
14090 | <param name="v" type="int" default=""/> | |
14091 | </paramlist> | |
14092 | </method> | |
14093 | <method name="SetMaxPage" type="" overloaded="no"> | |
14094 | <autodoc>SetMaxPage(int v)</autodoc> | |
14095 | <paramlist> | |
14096 | <param name="v" type="int" default=""/> | |
14097 | </paramlist> | |
14098 | </method> | |
14099 | <method name="SetNoCopies" type="" overloaded="no"> | |
14100 | <autodoc>SetNoCopies(int v)</autodoc> | |
14101 | <paramlist> | |
14102 | <param name="v" type="int" default=""/> | |
14103 | </paramlist> | |
14104 | </method> | |
14105 | <method name="SetAllPages" type="" overloaded="no"> | |
14106 | <autodoc>SetAllPages(bool flag)</autodoc> | |
14107 | <paramlist> | |
14108 | <param name="flag" type="bool" default=""/> | |
14109 | </paramlist> | |
14110 | </method> | |
14111 | <method name="SetSelection" type="" overloaded="no"> | |
14112 | <autodoc>SetSelection(bool flag)</autodoc> | |
14113 | <paramlist> | |
14114 | <param name="flag" type="bool" default=""/> | |
14115 | </paramlist> | |
14116 | </method> | |
14117 | <method name="SetCollate" type="" overloaded="no"> | |
14118 | <autodoc>SetCollate(bool flag)</autodoc> | |
14119 | <paramlist> | |
14120 | <param name="flag" type="bool" default=""/> | |
14121 | </paramlist> | |
14122 | </method> | |
14123 | <method name="SetPrintToFile" type="" overloaded="no"> | |
14124 | <autodoc>SetPrintToFile(bool flag)</autodoc> | |
14125 | <paramlist> | |
14126 | <param name="flag" type="bool" default=""/> | |
14127 | </paramlist> | |
14128 | </method> | |
14129 | <method name="SetSetupDialog" type="" overloaded="no"> | |
14130 | <autodoc>SetSetupDialog(bool flag)</autodoc> | |
14131 | <paramlist> | |
14132 | <param name="flag" type="bool" default=""/> | |
14133 | </paramlist> | |
14134 | </method> | |
14135 | <method name="EnablePrintToFile" type="" overloaded="no"> | |
14136 | <autodoc>EnablePrintToFile(bool flag)</autodoc> | |
14137 | <paramlist> | |
14138 | <param name="flag" type="bool" default=""/> | |
14139 | </paramlist> | |
14140 | </method> | |
14141 | <method name="EnableSelection" type="" overloaded="no"> | |
14142 | <autodoc>EnableSelection(bool flag)</autodoc> | |
14143 | <paramlist> | |
14144 | <param name="flag" type="bool" default=""/> | |
14145 | </paramlist> | |
14146 | </method> | |
14147 | <method name="EnablePageNumbers" type="" overloaded="no"> | |
14148 | <autodoc>EnablePageNumbers(bool flag)</autodoc> | |
14149 | <paramlist> | |
14150 | <param name="flag" type="bool" default=""/> | |
14151 | </paramlist> | |
14152 | </method> | |
14153 | <method name="EnableHelp" type="" overloaded="no"> | |
14154 | <autodoc>EnableHelp(bool flag)</autodoc> | |
14155 | <paramlist> | |
14156 | <param name="flag" type="bool" default=""/> | |
14157 | </paramlist> | |
14158 | </method> | |
14159 | <method name="GetEnablePrintToFile" type="bool" overloaded="no"> | |
14160 | <autodoc>GetEnablePrintToFile() -> bool</autodoc> | |
14161 | </method> | |
14162 | <method name="GetEnableSelection" type="bool" overloaded="no"> | |
14163 | <autodoc>GetEnableSelection() -> bool</autodoc> | |
14164 | </method> | |
14165 | <method name="GetEnablePageNumbers" type="bool" overloaded="no"> | |
14166 | <autodoc>GetEnablePageNumbers() -> bool</autodoc> | |
14167 | </method> | |
14168 | <method name="GetEnableHelp" type="bool" overloaded="no"> | |
14169 | <autodoc>GetEnableHelp() -> bool</autodoc> | |
14170 | </method> | |
14171 | <method name="Ok" type="bool" overloaded="no"> | |
14172 | <autodoc>Ok() -> bool</autodoc> | |
14173 | </method> | |
14174 | <method name="GetPrintData" type="PrintData" overloaded="no"> | |
14175 | <autodoc>GetPrintData() -> PrintData</autodoc> | |
14176 | </method> | |
14177 | <method name="SetPrintData" type="" overloaded="no"> | |
14178 | <autodoc>SetPrintData(PrintData printData)</autodoc> | |
14179 | <paramlist> | |
14180 | <param name="printData" type="PrintData" default=""/> | |
14181 | </paramlist> | |
14182 | </method> | |
14183 | </class> | |
14184 | <class name="PrintDialog" oldname="wxPrintDialog" module="windows"> | |
14185 | <baseclass name="Dialog"/> | |
14186 | <constructor name="PrintDialog" overloaded="no"> | |
14187 | <autodoc>__init__(Window parent, PrintDialogData data=None) -> PrintDialog</autodoc> | |
14188 | <paramlist> | |
14189 | <param name="parent" type="Window" default=""/> | |
14190 | <param name="data" type="PrintDialogData" default="NULL"/> | |
14191 | </paramlist> | |
14192 | </constructor> | |
14193 | <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no"> | |
14194 | <autodoc>GetPrintDialogData() -> PrintDialogData</autodoc> | |
14195 | </method> | |
14196 | <method name="GetPrintDC" type="DC" overloaded="no"> | |
14197 | <autodoc>GetPrintDC() -> DC</autodoc> | |
14198 | </method> | |
14199 | <method name="ShowModal" type="int" overloaded="no"> | |
14200 | <autodoc>ShowModal() -> int</autodoc> | |
14201 | </method> | |
14202 | </class> | |
14203 | <class name="Printer" oldname="wxPrinter" module="windows"> | |
14204 | <baseclass name="Object"/> | |
14205 | <constructor name="Printer" overloaded="no"> | |
14206 | <autodoc>__init__(PrintDialogData data=None) -> Printer</autodoc> | |
14207 | <paramlist> | |
14208 | <param name="data" type="PrintDialogData" default="NULL"/> | |
14209 | </paramlist> | |
14210 | </constructor> | |
14211 | <destructor name="~wxPrinter" overloaded="no"> | |
14212 | <autodoc>__del__()</autodoc> | |
14213 | </destructor> | |
14214 | <method name="CreateAbortWindow" type="" overloaded="no"> | |
14215 | <autodoc>CreateAbortWindow(Window parent, Printout printout)</autodoc> | |
14216 | <paramlist> | |
14217 | <param name="parent" type="Window" default=""/> | |
14218 | <param name="printout" type="wxPyPrintout" default=""/> | |
14219 | </paramlist> | |
14220 | </method> | |
14221 | <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no"> | |
14222 | <autodoc>GetPrintDialogData() -> PrintDialogData</autodoc> | |
14223 | </method> | |
14224 | <method name="Print" type="bool" overloaded="no"> | |
14225 | <autodoc>Print(Window parent, Printout printout, int prompt=True) -> bool</autodoc> | |
14226 | <paramlist> | |
14227 | <param name="parent" type="Window" default=""/> | |
14228 | <param name="printout" type="wxPyPrintout" default=""/> | |
14229 | <param name="prompt" type="int" default="True"/> | |
14230 | </paramlist> | |
14231 | </method> | |
14232 | <method name="PrintDialog" type="DC" overloaded="no"> | |
14233 | <autodoc>PrintDialog(Window parent) -> DC</autodoc> | |
14234 | <paramlist> | |
14235 | <param name="parent" type="Window" default=""/> | |
14236 | </paramlist> | |
14237 | </method> | |
14238 | <method name="ReportError" type="" overloaded="no"> | |
14239 | <autodoc>ReportError(Window parent, Printout printout, String message)</autodoc> | |
14240 | <paramlist> | |
14241 | <param name="parent" type="Window" default=""/> | |
14242 | <param name="printout" type="wxPyPrintout" default=""/> | |
14243 | <param name="message" type="String" default=""/> | |
14244 | </paramlist> | |
14245 | </method> | |
14246 | <method name="Setup" type="bool" overloaded="no"> | |
14247 | <autodoc>Setup(Window parent) -> bool</autodoc> | |
14248 | <paramlist> | |
14249 | <param name="parent" type="Window" default=""/> | |
14250 | </paramlist> | |
14251 | </method> | |
14252 | <method name="GetAbort" type="bool" overloaded="no"> | |
14253 | <autodoc>GetAbort() -> bool</autodoc> | |
14254 | </method> | |
14255 | <staticmethod name="GetLastError" type="wxPrinterError" overloaded="no"> | |
14256 | <autodoc>GetLastError() -> int</autodoc> | |
14257 | </staticmethod> | |
14258 | </class> | |
14259 | <class name="Printout" oldname="wxPyPrintout" module="windows"> | |
14260 | <baseclass name="Object"/> | |
14261 | <constructor name="wxPyPrintout" overloaded="no"> | |
14262 | <autodoc>__init__(String title=PrintoutTitleStr) -> Printout</autodoc> | |
14263 | <paramlist> | |
14264 | <param name="title" type="String" default="wxPyPrintoutTitleStr"/> | |
14265 | </paramlist> | |
14266 | </constructor> | |
14267 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
14268 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
14269 | <paramlist> | |
14270 | <param name="self" type="PyObject" default=""/> | |
14271 | <param name="_class" type="PyObject" default=""/> | |
14272 | </paramlist> | |
14273 | </method> | |
14274 | <method name="GetTitle" type="String" overloaded="no"> | |
14275 | <autodoc>GetTitle() -> String</autodoc> | |
14276 | </method> | |
14277 | <method name="GetDC" type="DC" overloaded="no"> | |
14278 | <autodoc>GetDC() -> DC</autodoc> | |
14279 | </method> | |
14280 | <method name="SetDC" type="" overloaded="no"> | |
14281 | <autodoc>SetDC(DC dc)</autodoc> | |
14282 | <paramlist> | |
14283 | <param name="dc" type="DC" default=""/> | |
14284 | </paramlist> | |
14285 | </method> | |
14286 | <method name="SetPageSizePixels" type="" overloaded="no"> | |
14287 | <autodoc>SetPageSizePixels(int w, int h)</autodoc> | |
14288 | <paramlist> | |
14289 | <param name="w" type="int" default=""/> | |
14290 | <param name="h" type="int" default=""/> | |
14291 | </paramlist> | |
14292 | </method> | |
14293 | <method name="GetPageSizePixels" type="" overloaded="no"> | |
14294 | <autodoc>GetPageSizePixels() -> (w, h)</autodoc> | |
14295 | <paramlist> | |
14296 | <param name="OUTPUT" type="int" default=""/> | |
14297 | <param name="OUTPUT" type="int" default=""/> | |
14298 | </paramlist> | |
14299 | </method> | |
14300 | <method name="SetPageSizeMM" type="" overloaded="no"> | |
14301 | <autodoc>SetPageSizeMM(int w, int h)</autodoc> | |
14302 | <paramlist> | |
14303 | <param name="w" type="int" default=""/> | |
14304 | <param name="h" type="int" default=""/> | |
14305 | </paramlist> | |
14306 | </method> | |
14307 | <method name="GetPageSizeMM" type="" overloaded="no"> | |
14308 | <autodoc>GetPageSizeMM() -> (w, h)</autodoc> | |
14309 | <paramlist> | |
14310 | <param name="OUTPUT" type="int" default=""/> | |
14311 | <param name="OUTPUT" type="int" default=""/> | |
14312 | </paramlist> | |
14313 | </method> | |
14314 | <method name="SetPPIScreen" type="" overloaded="no"> | |
14315 | <autodoc>SetPPIScreen(int x, int y)</autodoc> | |
14316 | <paramlist> | |
14317 | <param name="x" type="int" default=""/> | |
14318 | <param name="y" type="int" default=""/> | |
14319 | </paramlist> | |
14320 | </method> | |
14321 | <method name="GetPPIScreen" type="" overloaded="no"> | |
14322 | <autodoc>GetPPIScreen() -> (x,y)</autodoc> | |
14323 | <paramlist> | |
14324 | <param name="OUTPUT" type="int" default=""/> | |
14325 | <param name="OUTPUT" type="int" default=""/> | |
14326 | </paramlist> | |
14327 | </method> | |
14328 | <method name="SetPPIPrinter" type="" overloaded="no"> | |
14329 | <autodoc>SetPPIPrinter(int x, int y)</autodoc> | |
14330 | <paramlist> | |
14331 | <param name="x" type="int" default=""/> | |
14332 | <param name="y" type="int" default=""/> | |
14333 | </paramlist> | |
14334 | </method> | |
14335 | <method name="GetPPIPrinter" type="" overloaded="no"> | |
14336 | <autodoc>GetPPIPrinter() -> (x,y)</autodoc> | |
14337 | <paramlist> | |
14338 | <param name="OUTPUT" type="int" default=""/> | |
14339 | <param name="OUTPUT" type="int" default=""/> | |
14340 | </paramlist> | |
14341 | </method> | |
14342 | <method name="IsPreview" type="bool" overloaded="no"> | |
14343 | <autodoc>IsPreview() -> bool</autodoc> | |
14344 | </method> | |
14345 | <method name="SetIsPreview" type="" overloaded="no"> | |
14346 | <autodoc>SetIsPreview(bool p)</autodoc> | |
14347 | <paramlist> | |
14348 | <param name="p" type="bool" default=""/> | |
14349 | </paramlist> | |
14350 | </method> | |
14351 | <method name="base_OnBeginDocument" type="bool" overloaded="no"> | |
14352 | <autodoc>base_OnBeginDocument(int startPage, int endPage) -> bool</autodoc> | |
14353 | <paramlist> | |
14354 | <param name="startPage" type="int" default=""/> | |
14355 | <param name="endPage" type="int" default=""/> | |
14356 | </paramlist> | |
14357 | </method> | |
14358 | <method name="base_OnEndDocument" type="" overloaded="no"> | |
14359 | <autodoc>base_OnEndDocument()</autodoc> | |
14360 | </method> | |
14361 | <method name="base_OnBeginPrinting" type="" overloaded="no"> | |
14362 | <autodoc>base_OnBeginPrinting()</autodoc> | |
14363 | </method> | |
14364 | <method name="base_OnEndPrinting" type="" overloaded="no"> | |
14365 | <autodoc>base_OnEndPrinting()</autodoc> | |
14366 | </method> | |
14367 | <method name="base_OnPreparePrinting" type="" overloaded="no"> | |
14368 | <autodoc>base_OnPreparePrinting()</autodoc> | |
14369 | </method> | |
14370 | <method name="base_HasPage" type="bool" overloaded="no"> | |
14371 | <autodoc>base_HasPage(int page) -> bool</autodoc> | |
14372 | <paramlist> | |
14373 | <param name="page" type="int" default=""/> | |
14374 | </paramlist> | |
14375 | </method> | |
14376 | <method name="base_GetPageInfo" type="" overloaded="no"> | |
14377 | <autodoc>base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)</autodoc> | |
14378 | <paramlist> | |
14379 | <param name="OUTPUT" type="int" default=""/> | |
14380 | <param name="OUTPUT" type="int" default=""/> | |
14381 | <param name="OUTPUT" type="int" default=""/> | |
14382 | <param name="OUTPUT" type="int" default=""/> | |
14383 | </paramlist> | |
14384 | </method> | |
14385 | </class> | |
14386 | <class name="PreviewCanvas" oldname="wxPreviewCanvas" module="windows"> | |
14387 | <baseclass name="ScrolledWindow"/> | |
14388 | <constructor name="PreviewCanvas" overloaded="no"> | |
14389 | <autodoc>__init__(PrintPreview preview, Window parent, Point pos=DefaultPosition, | |
856bf319 RD |
14390 | Size size=DefaultSize, long style=0, |
14391 | String name=PreviewCanvasNameStr) -> PreviewCanvas</autodoc> | |
f32fc4bc RD |
14392 | <paramlist> |
14393 | <param name="preview" type="wxPrintPreview" default=""/> | |
14394 | <param name="parent" type="Window" default=""/> | |
14395 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14396 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14397 | <param name="style" type="long" default="0"/> | |
14398 | <param name="name" type="String" default="wxPyPreviewCanvasNameStr"/> | |
14399 | </paramlist> | |
14400 | </constructor> | |
14401 | </class> | |
14402 | <class name="PreviewFrame" oldname="wxPreviewFrame" module="windows"> | |
14403 | <baseclass name="Frame"/> | |
14404 | <constructor name="PreviewFrame" overloaded="no"> | |
14405 | <autodoc>__init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition, | |
856bf319 RD |
14406 | Size size=DefaultSize, |
14407 | long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame</autodoc> | |
f32fc4bc RD |
14408 | <paramlist> |
14409 | <param name="preview" type="wxPrintPreview" default=""/> | |
14410 | <param name="parent" type="Frame" default=""/> | |
14411 | <param name="title" type="String" default=""/> | |
14412 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14413 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14414 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
14415 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
14416 | </paramlist> | |
14417 | </constructor> | |
14418 | <method name="Initialize" type="" overloaded="no"> | |
14419 | <autodoc>Initialize()</autodoc> | |
14420 | </method> | |
14421 | <method name="CreateControlBar" type="" overloaded="no"> | |
14422 | <autodoc>CreateControlBar()</autodoc> | |
14423 | </method> | |
14424 | <method name="CreateCanvas" type="" overloaded="no"> | |
14425 | <autodoc>CreateCanvas()</autodoc> | |
14426 | </method> | |
14427 | <method name="GetControlBar" type="wxPreviewControlBar" overloaded="no"> | |
14428 | <autodoc>GetControlBar() -> PreviewControlBar</autodoc> | |
14429 | </method> | |
14430 | </class> | |
14431 | <class name="PreviewControlBar" oldname="wxPreviewControlBar" module="windows"> | |
14432 | <baseclass name="Panel"/> | |
14433 | <constructor name="PreviewControlBar" overloaded="no"> | |
14434 | <autodoc>__init__(PrintPreview preview, long buttons, Window parent, | |
856bf319 RD |
14435 | Point pos=DefaultPosition, Size size=DefaultSize, |
14436 | long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar</autodoc> | |
f32fc4bc RD |
14437 | <paramlist> |
14438 | <param name="preview" type="wxPrintPreview" default=""/> | |
14439 | <param name="buttons" type="long" default=""/> | |
14440 | <param name="parent" type="Window" default=""/> | |
14441 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14442 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14443 | <param name="style" type="long" default="wxTAB_TRAVERSAL"/> | |
14444 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
14445 | </paramlist> | |
14446 | </constructor> | |
14447 | <method name="GetZoomControl" type="int" overloaded="no"> | |
14448 | <autodoc>GetZoomControl() -> int</autodoc> | |
14449 | </method> | |
14450 | <method name="SetZoomControl" type="" overloaded="no"> | |
14451 | <autodoc>SetZoomControl(int zoom)</autodoc> | |
14452 | <paramlist> | |
14453 | <param name="zoom" type="int" default=""/> | |
14454 | </paramlist> | |
14455 | </method> | |
14456 | <method name="GetPrintPreview" type="wxPrintPreview" overloaded="no"> | |
14457 | <autodoc>GetPrintPreview() -> PrintPreview</autodoc> | |
14458 | </method> | |
14459 | <method name="OnNext" type="" overloaded="no"> | |
14460 | <autodoc>OnNext()</autodoc> | |
14461 | </method> | |
14462 | <method name="OnPrevious" type="" overloaded="no"> | |
14463 | <autodoc>OnPrevious()</autodoc> | |
14464 | </method> | |
14465 | <method name="OnFirst" type="" overloaded="no"> | |
14466 | <autodoc>OnFirst()</autodoc> | |
14467 | </method> | |
14468 | <method name="OnLast" type="" overloaded="no"> | |
14469 | <autodoc>OnLast()</autodoc> | |
14470 | </method> | |
14471 | <method name="OnGoto" type="" overloaded="no"> | |
14472 | <autodoc>OnGoto()</autodoc> | |
14473 | </method> | |
14474 | </class> | |
14475 | <class name="PrintPreview" oldname="wxPrintPreview" module="windows"> | |
14476 | <baseclass name="Object"/> | |
b39e211b | 14477 | <constructor name="PrintPreview" overloaded="yes"> |
f32fc4bc RD |
14478 | <paramlist> |
14479 | <param name="printout" type="Printout" default=""/> | |
14480 | <param name="printoutForPrinting" type="Printout" default=""/> | |
b39e211b RD |
14481 | <param name="data" type="PrintDialogData" default="NULL"/> |
14482 | </paramlist> | |
14483 | </constructor> | |
14484 | <constructor name="PrintPreview" overloaded="yes"> | |
14485 | <autodoc>__init__(Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview | |
14486 | __init__(Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview</autodoc> | |
14487 | <paramlist> | |
14488 | <param name="printout" type="Printout" default=""/> | |
14489 | <param name="printoutForPrinting" type="Printout" default=""/> | |
14490 | <param name="data" type="PrintData" default=""/> | |
f32fc4bc RD |
14491 | </paramlist> |
14492 | </constructor> | |
14493 | <method name="SetCurrentPage" type="bool" overloaded="no"> | |
14494 | <autodoc>SetCurrentPage(int pageNum) -> bool</autodoc> | |
14495 | <paramlist> | |
14496 | <param name="pageNum" type="int" default=""/> | |
14497 | </paramlist> | |
14498 | </method> | |
14499 | <method name="GetCurrentPage" type="int" overloaded="no"> | |
14500 | <autodoc>GetCurrentPage() -> int</autodoc> | |
14501 | </method> | |
14502 | <method name="SetPrintout" type="" overloaded="no"> | |
14503 | <autodoc>SetPrintout(Printout printout)</autodoc> | |
14504 | <paramlist> | |
14505 | <param name="printout" type="Printout" default=""/> | |
14506 | </paramlist> | |
14507 | </method> | |
14508 | <method name="GetPrintout" type="Printout" overloaded="no"> | |
14509 | <autodoc>GetPrintout() -> Printout</autodoc> | |
14510 | </method> | |
14511 | <method name="GetPrintoutForPrinting" type="Printout" overloaded="no"> | |
14512 | <autodoc>GetPrintoutForPrinting() -> Printout</autodoc> | |
14513 | </method> | |
14514 | <method name="SetFrame" type="" overloaded="no"> | |
14515 | <autodoc>SetFrame(Frame frame)</autodoc> | |
14516 | <paramlist> | |
14517 | <param name="frame" type="Frame" default=""/> | |
14518 | </paramlist> | |
14519 | </method> | |
14520 | <method name="SetCanvas" type="" overloaded="no"> | |
14521 | <autodoc>SetCanvas(PreviewCanvas canvas)</autodoc> | |
14522 | <paramlist> | |
14523 | <param name="canvas" type="PreviewCanvas" default=""/> | |
14524 | </paramlist> | |
14525 | </method> | |
14526 | <method name="GetFrame" type="Frame" overloaded="no"> | |
14527 | <autodoc>GetFrame() -> Frame</autodoc> | |
14528 | </method> | |
14529 | <method name="GetCanvas" type="PreviewCanvas" overloaded="no"> | |
14530 | <autodoc>GetCanvas() -> PreviewCanvas</autodoc> | |
14531 | </method> | |
14532 | <method name="PaintPage" type="bool" overloaded="no"> | |
14533 | <autodoc>PaintPage(PreviewCanvas canvas, DC dc) -> bool</autodoc> | |
14534 | <paramlist> | |
14535 | <param name="canvas" type="PreviewCanvas" default=""/> | |
14536 | <param name="dc" type="DC" default=""/> | |
14537 | </paramlist> | |
14538 | </method> | |
14539 | <method name="DrawBlankPage" type="bool" overloaded="no"> | |
14540 | <autodoc>DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool</autodoc> | |
14541 | <paramlist> | |
14542 | <param name="canvas" type="PreviewCanvas" default=""/> | |
14543 | <param name="dc" type="DC" default=""/> | |
14544 | </paramlist> | |
14545 | </method> | |
14546 | <method name="RenderPage" type="bool" overloaded="no"> | |
14547 | <autodoc>RenderPage(int pageNum) -> bool</autodoc> | |
14548 | <paramlist> | |
14549 | <param name="pageNum" type="int" default=""/> | |
14550 | </paramlist> | |
14551 | </method> | |
14552 | <method name="AdjustScrollbars" type="" overloaded="no"> | |
14553 | <autodoc>AdjustScrollbars(PreviewCanvas canvas)</autodoc> | |
14554 | <paramlist> | |
14555 | <param name="canvas" type="PreviewCanvas" default=""/> | |
14556 | </paramlist> | |
14557 | </method> | |
14558 | <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no"> | |
14559 | <autodoc>GetPrintDialogData() -> PrintDialogData</autodoc> | |
14560 | </method> | |
14561 | <method name="SetZoom" type="" overloaded="no"> | |
14562 | <autodoc>SetZoom(int percent)</autodoc> | |
14563 | <paramlist> | |
14564 | <param name="percent" type="int" default=""/> | |
14565 | </paramlist> | |
14566 | </method> | |
14567 | <method name="GetZoom" type="int" overloaded="no"> | |
14568 | <autodoc>GetZoom() -> int</autodoc> | |
14569 | </method> | |
14570 | <method name="GetMaxPage" type="int" overloaded="no"> | |
14571 | <autodoc>GetMaxPage() -> int</autodoc> | |
14572 | </method> | |
14573 | <method name="GetMinPage" type="int" overloaded="no"> | |
14574 | <autodoc>GetMinPage() -> int</autodoc> | |
14575 | </method> | |
14576 | <method name="Ok" type="bool" overloaded="no"> | |
14577 | <autodoc>Ok() -> bool</autodoc> | |
14578 | </method> | |
14579 | <method name="SetOk" type="" overloaded="no"> | |
14580 | <autodoc>SetOk(bool ok)</autodoc> | |
14581 | <paramlist> | |
14582 | <param name="ok" type="bool" default=""/> | |
14583 | </paramlist> | |
14584 | </method> | |
14585 | <method name="Print" type="bool" overloaded="no"> | |
14586 | <autodoc>Print(bool interactive) -> bool</autodoc> | |
14587 | <paramlist> | |
14588 | <param name="interactive" type="bool" default=""/> | |
14589 | </paramlist> | |
14590 | </method> | |
14591 | <method name="DetermineScaling" type="" overloaded="no"> | |
14592 | <autodoc>DetermineScaling()</autodoc> | |
14593 | </method> | |
14594 | </class> | |
14595 | <class name="PyPrintPreview" oldname="wxPyPrintPreview" module="windows"> | |
14596 | <baseclass name="PrintPreview"/> | |
b39e211b | 14597 | <constructor name="PyPrintPreview" overloaded="yes"> |
f32fc4bc RD |
14598 | <paramlist> |
14599 | <param name="printout" type="Printout" default=""/> | |
14600 | <param name="printoutForPrinting" type="Printout" default=""/> | |
b39e211b RD |
14601 | <param name="data" type="PrintDialogData" default="NULL"/> |
14602 | </paramlist> | |
14603 | </constructor> | |
14604 | <constructor name="PyPrintPreview" overloaded="yes"> | |
14605 | <autodoc>__init__(Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview | |
14606 | __init__(Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview</autodoc> | |
14607 | <paramlist> | |
14608 | <param name="printout" type="Printout" default=""/> | |
14609 | <param name="printoutForPrinting" type="Printout" default=""/> | |
14610 | <param name="data" type="PrintData" default=""/> | |
f32fc4bc RD |
14611 | </paramlist> |
14612 | </constructor> | |
14613 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
14614 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
14615 | <paramlist> | |
14616 | <param name="self" type="PyObject" default=""/> | |
14617 | <param name="_class" type="PyObject" default=""/> | |
14618 | </paramlist> | |
14619 | </method> | |
14620 | <method name="base_SetCurrentPage" type="bool" overloaded="no"> | |
14621 | <autodoc>base_SetCurrentPage(int pageNum) -> bool</autodoc> | |
14622 | <paramlist> | |
14623 | <param name="pageNum" type="int" default=""/> | |
14624 | </paramlist> | |
14625 | </method> | |
14626 | <method name="base_PaintPage" type="bool" overloaded="no"> | |
14627 | <autodoc>base_PaintPage(PreviewCanvas canvas, DC dc) -> bool</autodoc> | |
14628 | <paramlist> | |
14629 | <param name="canvas" type="PreviewCanvas" default=""/> | |
14630 | <param name="dc" type="DC" default=""/> | |
14631 | </paramlist> | |
14632 | </method> | |
14633 | <method name="base_DrawBlankPage" type="bool" overloaded="no"> | |
14634 | <autodoc>base_DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool</autodoc> | |
14635 | <paramlist> | |
14636 | <param name="canvas" type="PreviewCanvas" default=""/> | |
14637 | <param name="dc" type="DC" default=""/> | |
14638 | </paramlist> | |
14639 | </method> | |
14640 | <method name="base_RenderPage" type="bool" overloaded="no"> | |
14641 | <autodoc>base_RenderPage(int pageNum) -> bool</autodoc> | |
14642 | <paramlist> | |
14643 | <param name="pageNum" type="int" default=""/> | |
14644 | </paramlist> | |
14645 | </method> | |
14646 | <method name="base_SetZoom" type="" overloaded="no"> | |
14647 | <autodoc>base_SetZoom(int percent)</autodoc> | |
14648 | <paramlist> | |
14649 | <param name="percent" type="int" default=""/> | |
14650 | </paramlist> | |
14651 | </method> | |
14652 | <method name="base_Print" type="bool" overloaded="no"> | |
14653 | <autodoc>base_Print(bool interactive) -> bool</autodoc> | |
14654 | <paramlist> | |
14655 | <param name="interactive" type="bool" default=""/> | |
14656 | </paramlist> | |
14657 | </method> | |
14658 | <method name="base_DetermineScaling" type="" overloaded="no"> | |
14659 | <autodoc>base_DetermineScaling()</autodoc> | |
14660 | </method> | |
14661 | </class> | |
14662 | <class name="PyPreviewFrame" oldname="wxPyPreviewFrame" module="windows"> | |
14663 | <baseclass name="PreviewFrame"/> | |
14664 | <constructor name="PyPreviewFrame" overloaded="no"> | |
14665 | <autodoc>__init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition, | |
856bf319 RD |
14666 | Size size=DefaultSize, |
14667 | long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame</autodoc> | |
f32fc4bc RD |
14668 | <paramlist> |
14669 | <param name="preview" type="PrintPreview" default=""/> | |
14670 | <param name="parent" type="Frame" default=""/> | |
14671 | <param name="title" type="String" default=""/> | |
14672 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14673 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14674 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
14675 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
14676 | </paramlist> | |
14677 | </constructor> | |
14678 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
14679 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
14680 | <paramlist> | |
14681 | <param name="self" type="PyObject" default=""/> | |
14682 | <param name="_class" type="PyObject" default=""/> | |
14683 | </paramlist> | |
14684 | </method> | |
14685 | <method name="SetPreviewCanvas" type="" overloaded="no"> | |
14686 | <autodoc>SetPreviewCanvas(PreviewCanvas canvas)</autodoc> | |
14687 | <paramlist> | |
14688 | <param name="canvas" type="PreviewCanvas" default=""/> | |
14689 | </paramlist> | |
14690 | </method> | |
14691 | <method name="SetControlBar" type="" overloaded="no"> | |
14692 | <autodoc>SetControlBar(PreviewControlBar bar)</autodoc> | |
14693 | <paramlist> | |
14694 | <param name="bar" type="PreviewControlBar" default=""/> | |
14695 | </paramlist> | |
14696 | </method> | |
14697 | <method name="base_Initialize" type="" overloaded="no"> | |
14698 | <autodoc>base_Initialize()</autodoc> | |
14699 | </method> | |
14700 | <method name="base_CreateCanvas" type="" overloaded="no"> | |
14701 | <autodoc>base_CreateCanvas()</autodoc> | |
14702 | </method> | |
14703 | <method name="base_CreateControlBar" type="" overloaded="no"> | |
14704 | <autodoc>base_CreateControlBar()</autodoc> | |
14705 | </method> | |
14706 | </class> | |
14707 | <class name="PyPreviewControlBar" oldname="wxPyPreviewControlBar" module="windows"> | |
14708 | <baseclass name="PreviewControlBar"/> | |
14709 | <constructor name="PyPreviewControlBar" overloaded="no"> | |
14710 | <autodoc>__init__(PrintPreview preview, long buttons, Window parent, | |
856bf319 RD |
14711 | Point pos=DefaultPosition, Size size=DefaultSize, |
14712 | long style=0, String name=PanelNameStr) -> PyPreviewControlBar</autodoc> | |
f32fc4bc RD |
14713 | <paramlist> |
14714 | <param name="preview" type="PrintPreview" default=""/> | |
14715 | <param name="buttons" type="long" default=""/> | |
14716 | <param name="parent" type="Window" default=""/> | |
14717 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14718 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14719 | <param name="style" type="long" default="0"/> | |
14720 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
14721 | </paramlist> | |
14722 | </constructor> | |
14723 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
14724 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
14725 | <paramlist> | |
14726 | <param name="self" type="PyObject" default=""/> | |
14727 | <param name="_class" type="PyObject" default=""/> | |
14728 | </paramlist> | |
14729 | </method> | |
14730 | <method name="SetPrintPreview" type="" overloaded="no"> | |
14731 | <autodoc>SetPrintPreview(PrintPreview preview)</autodoc> | |
14732 | <paramlist> | |
14733 | <param name="preview" type="PrintPreview" default=""/> | |
14734 | </paramlist> | |
14735 | </method> | |
14736 | <method name="base_CreateButtons" type="" overloaded="no"> | |
14737 | <autodoc>base_CreateButtons()</autodoc> | |
14738 | </method> | |
14739 | <method name="base_SetZoomControl" type="" overloaded="no"> | |
14740 | <autodoc>base_SetZoomControl(int zoom)</autodoc> | |
14741 | <paramlist> | |
14742 | <param name="zoom" type="int" default=""/> | |
14743 | </paramlist> | |
14744 | </method> | |
14745 | </class> | |
14746 | </module> | |
14747 | <module name="controls"> | |
14748 | <import name="core"/> | |
14749 | <pythoncode> wx = core </pythoncode> | |
14750 | <pythoncode> | |
856bf319 RD |
14751 | #--------------------------------------------------------------------------- |
14752 | </pythoncode> | |
f32fc4bc RD |
14753 | <class name="Button" oldname="wxButton" module="controls"> |
14754 | <docstring>A button is a control that contains a text string, and is one of the most | |
856bf319 RD |
14755 | common elements of a GUI. It may be placed on a dialog box or panel, or |
14756 | indeed almost any other window.</docstring> | |
f32fc4bc | 14757 | <refdoc> |
856bf319 RD |
14758 | Styles |
14759 | wx.BU_LEFT: Left-justifies the label. WIN32 only. | |
14760 | wx.BU_TOP: Aligns the label to the top of the button. WIN32 only. | |
14761 | wx.BU_RIGHT: Right-justifies the bitmap label. WIN32 only. | |
14762 | wx.BU_BOTTOM: Aligns the label to the bottom of the button. WIN32 only. | |
14763 | wx.BU_EXACTFIT: Creates the button as small as possible instead of making | |
14764 | it of the standard size (which is the default behaviour.) | |
14765 | ||
14766 | Events | |
14767 | EVT_BUTTON: Sent when the button is clicked. | |
14768 | </refdoc> | |
f32fc4bc RD |
14769 | <baseclass name="Control"/> |
14770 | <constructor name="Button" overloaded="no"> | |
14771 | <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
14772 | Size size=DefaultSize, long style=0, |
14773 | Validator validator=DefaultValidator, String name=ButtonNameStr) -> Button</autodoc> | |
f32fc4bc RD |
14774 | <docstring>Create and show a button.</docstring> |
14775 | <paramlist> | |
14776 | <param name="parent" type="Window" default=""/> | |
14777 | <param name="id" type="int" default=""/> | |
14778 | <param name="label" type="String" default=""/> | |
14779 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14780 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14781 | <param name="style" type="long" default="0"/> | |
14782 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
14783 | <param name="name" type="String" default="wxPyButtonNameStr"/> | |
14784 | </paramlist> | |
14785 | </constructor> | |
14786 | <constructor name="PreButton" overloaded="no"> | |
14787 | <autodoc>PreButton() -> Button</autodoc> | |
14788 | <docstring>Precreate a Button for 2-phase creation.</docstring> | |
14789 | </constructor> | |
14790 | <method name="Create" type="bool" overloaded="no"> | |
14791 | <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
14792 | Size size=DefaultSize, long style=0, |
14793 | Validator validator=DefaultValidator, String name=ButtonNameStr) -> bool</autodoc> | |
f32fc4bc RD |
14794 | <docstring>Acutally create the GUI Button for 2-phase creation.</docstring> |
14795 | <paramlist> | |
14796 | <param name="parent" type="Window" default=""/> | |
14797 | <param name="id" type="int" default=""/> | |
14798 | <param name="label" type="String" default=""/> | |
14799 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14800 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14801 | <param name="style" type="long" default="0"/> | |
14802 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
14803 | <param name="name" type="String" default="wxPyButtonNameStr"/> | |
14804 | </paramlist> | |
14805 | </method> | |
14806 | <method name="SetDefault" type="" overloaded="no"> | |
14807 | <autodoc>SetDefault()</autodoc> | |
14808 | <docstring>This sets the button to be the default item for the panel or dialog box.</docstring> | |
14809 | </method> | |
14810 | <staticmethod name="GetDefaultSize" type="Size" overloaded="no"> | |
14811 | <autodoc>GetDefaultSize() -> Size</autodoc> | |
14812 | </staticmethod> | |
14813 | </class> | |
14814 | <class name="BitmapButton" oldname="wxBitmapButton" module="controls"> | |
14815 | <docstring>A Button that contains a bitmap. A bitmap button can be supplied with a | |
856bf319 RD |
14816 | single bitmap, and wxWindows will draw all button states using this bitmap. If |
14817 | the application needs more control, additional bitmaps for the selected state, | |
14818 | unpressed focused state, and greyed-out state may be supplied. | |
14819 | </docstring> | |
368d20e8 RD |
14820 | <refdoc> |
14821 | Styles | |
14822 | wx.BU_AUTODRAW: If this is specified, the button will be drawn | |
14823 | automatically using the label bitmap only, providing a | |
14824 | 3D-look border. If this style is not specified, the button | |
14825 | will be drawn without borders and using all provided | |
14826 | bitmaps. WIN32 only. | |
14827 | wx.BU_LEFT: Left-justifies the label. WIN32 only. | |
14828 | wx.BU_TOP: Aligns the label to the top of the button. WIN32 only. | |
14829 | wx.BU_RIGHT: Right-justifies the bitmap label. WIN32 only. | |
14830 | wx.BU_BOTTOM: Aligns the label to the bottom of the button. WIN32 only. | |
14831 | wx.BU_EXACTFIT: Creates the button as small as possible instead of making | |
14832 | it of the standard size (which is the default behaviour.) | |
14833 | ||
14834 | Events | |
14835 | EVT_BUTTON: Sent when the button is clicked. | |
14836 | </refdoc> | |
f32fc4bc RD |
14837 | <baseclass name="Button"/> |
14838 | <constructor name="BitmapButton" overloaded="no"> | |
14839 | <autodoc>__init__(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition, | |
856bf319 RD |
14840 | Size size=DefaultSize, long style=BU_AUTODRAW, |
14841 | Validator validator=DefaultValidator, | |
14842 | String name=ButtonNameStr) -> BitmapButton</autodoc> | |
f32fc4bc RD |
14843 | <docstring>Create and show a button with a bitmap for the label.</docstring> |
14844 | <paramlist> | |
14845 | <param name="parent" type="Window" default=""/> | |
14846 | <param name="id" type="int" default=""/> | |
14847 | <param name="bitmap" type="Bitmap" default=""/> | |
14848 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14849 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14850 | <param name="style" type="long" default="wxBU_AUTODRAW"/> | |
14851 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
14852 | <param name="name" type="String" default="wxPyButtonNameStr"/> | |
14853 | </paramlist> | |
14854 | </constructor> | |
14855 | <constructor name="PreBitmapButton" overloaded="no"> | |
14856 | <autodoc>PreBitmapButton() -> BitmapButton</autodoc> | |
14857 | <docstring>Precreate a BitmapButton for 2-phase creation.</docstring> | |
14858 | </constructor> | |
14859 | <method name="Create" type="bool" overloaded="no"> | |
14860 | <autodoc>Create(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition, | |
856bf319 RD |
14861 | Size size=DefaultSize, long style=BU_AUTODRAW, |
14862 | Validator validator=DefaultValidator, | |
14863 | String name=ButtonNameStr) -> bool</autodoc> | |
f32fc4bc RD |
14864 | <docstring>Acutally create the GUI BitmapButton for 2-phase creation.</docstring> |
14865 | <paramlist> | |
14866 | <param name="parent" type="Window" default=""/> | |
14867 | <param name="id" type="int" default=""/> | |
14868 | <param name="bitmap" type="Bitmap" default=""/> | |
14869 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14870 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14871 | <param name="style" type="long" default="wxBU_AUTODRAW"/> | |
14872 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
14873 | <param name="name" type="String" default="wxPyButtonNameStr"/> | |
14874 | </paramlist> | |
14875 | </method> | |
14876 | <method name="GetBitmapLabel" type="Bitmap" overloaded="no"> | |
14877 | <autodoc>GetBitmapLabel() -> Bitmap</autodoc> | |
14878 | <docstring>Returns the label bitmap (the one passed to the constructor).</docstring> | |
14879 | </method> | |
14880 | <method name="GetBitmapDisabled" type="Bitmap" overloaded="no"> | |
14881 | <autodoc>GetBitmapDisabled() -> Bitmap</autodoc> | |
14882 | <docstring>Returns the bitmap for the disabled state.</docstring> | |
14883 | </method> | |
14884 | <method name="GetBitmapFocus" type="Bitmap" overloaded="no"> | |
14885 | <autodoc>GetBitmapFocus() -> Bitmap</autodoc> | |
14886 | <docstring>Returns the bitmap for the focused state.</docstring> | |
14887 | </method> | |
14888 | <method name="GetBitmapSelected" type="Bitmap" overloaded="no"> | |
14889 | <autodoc>GetBitmapSelected() -> Bitmap</autodoc> | |
14890 | <docstring>Returns the bitmap for the selected state.</docstring> | |
14891 | </method> | |
14892 | <method name="SetBitmapDisabled" type="" overloaded="no"> | |
14893 | <autodoc>SetBitmapDisabled(Bitmap bitmap)</autodoc> | |
14894 | <docstring>Sets the bitmap for the disabled button appearance.</docstring> | |
14895 | <paramlist> | |
14896 | <param name="bitmap" type="Bitmap" default=""/> | |
14897 | </paramlist> | |
14898 | </method> | |
14899 | <method name="SetBitmapFocus" type="" overloaded="no"> | |
14900 | <autodoc>SetBitmapFocus(Bitmap bitmap)</autodoc> | |
14901 | <docstring>Sets the bitmap for the button appearance when it has the keyboard focus.</docstring> | |
14902 | <paramlist> | |
14903 | <param name="bitmap" type="Bitmap" default=""/> | |
14904 | </paramlist> | |
14905 | </method> | |
14906 | <method name="SetBitmapSelected" type="" overloaded="no"> | |
14907 | <autodoc>SetBitmapSelected(Bitmap bitmap)</autodoc> | |
14908 | <docstring>Sets the bitmap for the selected (depressed) button appearance.</docstring> | |
14909 | <paramlist> | |
14910 | <param name="bitmap" type="Bitmap" default=""/> | |
14911 | </paramlist> | |
14912 | </method> | |
14913 | <method name="SetBitmapLabel" type="" overloaded="no"> | |
14914 | <autodoc>SetBitmapLabel(Bitmap bitmap)</autodoc> | |
14915 | <docstring>Sets the bitmap label for the button. This is the bitmap used for the | |
856bf319 | 14916 | unselected state, and for all other states if no other bitmaps are provided.</docstring> |
f32fc4bc RD |
14917 | <paramlist> |
14918 | <param name="bitmap" type="Bitmap" default=""/> | |
14919 | </paramlist> | |
14920 | </method> | |
14921 | <method name="SetMargins" type="" overloaded="no"> | |
14922 | <autodoc>SetMargins(int x, int y)</autodoc> | |
14923 | <paramlist> | |
14924 | <param name="x" type="int" default=""/> | |
14925 | <param name="y" type="int" default=""/> | |
14926 | </paramlist> | |
14927 | </method> | |
14928 | <method name="GetMarginX" type="int" overloaded="no"> | |
14929 | <autodoc>GetMarginX() -> int</autodoc> | |
14930 | </method> | |
14931 | <method name="GetMarginY" type="int" overloaded="no"> | |
14932 | <autodoc>GetMarginY() -> int</autodoc> | |
14933 | </method> | |
14934 | </class> | |
14935 | <pythoncode> | |
856bf319 RD |
14936 | #--------------------------------------------------------------------------- |
14937 | </pythoncode> | |
f32fc4bc | 14938 | <class name="CheckBox" oldname="wxCheckBox" module="controls"> |
c2dda882 RD |
14939 | <docstring>A checkbox is a labelled box which by default is either on (checkmark is |
14940 | visible) or off (no checkmark). Optionally (When the wxCHK_3STATE style flag | |
14941 | is set) it can have a third state, called the mixed or undetermined | |
14942 | state. Often this is used as a "Does Not Apply" state.</docstring> | |
14943 | <refdoc> | |
14944 | Styles | |
14945 | wx.CHK_2STATE: Create a 2-state checkbox. This is the default. | |
14946 | wx.CHK_3STATE: Create a 3-state checkbox. | |
14947 | wx.CHK_ALLOW_3RD_STATE_FOR_USER: By default a user can't set a 3-state | |
14948 | checkbox to the third state. It can only | |
14949 | be done from code. Using this flags | |
14950 | allows the user to set the checkbox to | |
14951 | the third state by clicking. | |
14952 | wx.ALIGN_RIGHT: Makes the text appear on the left of the checkbox. | |
14953 | ||
14954 | Events | |
14955 | EVT_CHECKBOX: Sent when checkbox is clicked. | |
14956 | </refdoc> | |
f32fc4bc RD |
14957 | <baseclass name="Control"/> |
14958 | <constructor name="CheckBox" overloaded="no"> | |
14959 | <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
14960 | Size size=DefaultSize, long style=0, |
14961 | Validator validator=DefaultValidator, String name=CheckBoxNameStr) -> CheckBox</autodoc> | |
c2dda882 | 14962 | <docstring>Creates and shows a CheckBox control</docstring> |
f32fc4bc RD |
14963 | <paramlist> |
14964 | <param name="parent" type="Window" default=""/> | |
14965 | <param name="id" type="int" default=""/> | |
14966 | <param name="label" type="String" default=""/> | |
14967 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14968 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14969 | <param name="style" type="long" default="0"/> | |
14970 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
14971 | <param name="name" type="String" default="wxPyCheckBoxNameStr"/> | |
14972 | </paramlist> | |
14973 | </constructor> | |
14974 | <constructor name="PreCheckBox" overloaded="no"> | |
14975 | <autodoc>PreCheckBox() -> CheckBox</autodoc> | |
c2dda882 | 14976 | <docstring>Precreate a CheckBox for 2-phase creation.</docstring> |
f32fc4bc RD |
14977 | </constructor> |
14978 | <method name="Create" type="bool" overloaded="no"> | |
14979 | <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
14980 | Size size=DefaultSize, long style=0, |
14981 | Validator validator=DefaultValidator, String name=CheckBoxNameStr) -> bool</autodoc> | |
c2dda882 | 14982 | <docstring>Actually create the GUI CheckBox for 2-phase creation.</docstring> |
f32fc4bc RD |
14983 | <paramlist> |
14984 | <param name="parent" type="Window" default=""/> | |
14985 | <param name="id" type="int" default=""/> | |
14986 | <param name="label" type="String" default=""/> | |
14987 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14988 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14989 | <param name="style" type="long" default="0"/> | |
14990 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
14991 | <param name="name" type="String" default="wxPyCheckBoxNameStr"/> | |
14992 | </paramlist> | |
14993 | </method> | |
14994 | <method name="GetValue" type="bool" overloaded="no"> | |
14995 | <autodoc>GetValue() -> bool</autodoc> | |
c2dda882 RD |
14996 | <docstring>Gets the state of a 2-state CheckBox. Returns True if it is checked, |
14997 | False otherwise.</docstring> | |
f32fc4bc RD |
14998 | </method> |
14999 | <method name="IsChecked" type="bool" overloaded="no"> | |
15000 | <autodoc>IsChecked() -> bool</autodoc> | |
c2dda882 | 15001 | <docstring>Similar to GetValue, but raises an exception if it is not a 2-state CheckBox.</docstring> |
f32fc4bc RD |
15002 | </method> |
15003 | <method name="SetValue" type="" overloaded="no"> | |
15004 | <autodoc>SetValue(bool state)</autodoc> | |
c2dda882 RD |
15005 | <docstring>Set the state of a 2-state CheckBox. Pass True for checked, |
15006 | False for unchecked.</docstring> | |
f32fc4bc RD |
15007 | <paramlist> |
15008 | <param name="state" type="bool" default=""/> | |
15009 | </paramlist> | |
15010 | </method> | |
15011 | <method name="Get3StateValue" type="wxCheckBoxState" overloaded="no"> | |
15012 | <autodoc>Get3StateValue() -> int</autodoc> | |
c2dda882 RD |
15013 | <docstring>Returns wx.CHK_UNCHECKED when the CheckBox is unchecked, wx.CHK_CHECKED when |
15014 | it is checked and wx.CHK_UNDETERMINED when it's in the undetermined state. | |
15015 | Raises an exceptiion when the function is used with a 2-state CheckBox.</docstring> | |
f32fc4bc RD |
15016 | </method> |
15017 | <method name="Set3StateValue" type="" overloaded="no"> | |
15018 | <autodoc>Set3StateValue(int state)</autodoc> | |
c2dda882 RD |
15019 | <docstring>Sets the CheckBox to the given state. The state parameter can be |
15020 | one of the following: wx.CHK_UNCHECKED (Check is off), wx.CHK_CHECKED | |
15021 | (Check is on) or wx.CHK_UNDETERMINED (Check is mixed). Raises an | |
15022 | exception when the CheckBox is a 2-state checkbox and setting the state | |
15023 | to wx.CHK_UNDETERMINED.</docstring> | |
f32fc4bc RD |
15024 | <paramlist> |
15025 | <param name="state" type="wxCheckBoxState" default=""/> | |
15026 | </paramlist> | |
15027 | </method> | |
15028 | <method name="Is3State" type="bool" overloaded="no"> | |
15029 | <autodoc>Is3State() -> bool</autodoc> | |
c2dda882 | 15030 | <docstring>Returns whether or not the CheckBox is a 3-state CheckBox.</docstring> |
f32fc4bc RD |
15031 | </method> |
15032 | <method name="Is3rdStateAllowedForUser" type="bool" overloaded="no"> | |
15033 | <autodoc>Is3rdStateAllowedForUser() -> bool</autodoc> | |
c2dda882 | 15034 | <docstring>Returns whether or not the user can set the CheckBox to the third state.</docstring> |
f32fc4bc RD |
15035 | </method> |
15036 | </class> | |
15037 | <pythoncode> | |
856bf319 RD |
15038 | #--------------------------------------------------------------------------- |
15039 | </pythoncode> | |
f32fc4bc | 15040 | <class name="Choice" oldname="wxChoice" module="controls"> |
c2dda882 RD |
15041 | <docstring>A Choice control is used to select one of a list of strings. Unlike a ListBox, |
15042 | only the selection is visible until the user pulls down the menu of choices.</docstring> | |
15043 | <refdoc> | |
15044 | Events | |
15045 | EVT_CHOICE: Sent when an item in the list is selected. | |
15046 | </refdoc> | |
f32fc4bc RD |
15047 | <baseclass name="ControlWithItems"/> |
15048 | <constructor name="Choice" overloaded="no"> | |
c2dda882 RD |
15049 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, |
15050 | List choices=[], long style=0, Validator validator=DefaultValidator, | |
856bf319 | 15051 | String name=ChoiceNameStr) -> Choice</autodoc> |
c2dda882 | 15052 | <docstring>Create and show a Choice control</docstring> |
f32fc4bc RD |
15053 | <paramlist> |
15054 | <param name="parent" type="Window" default=""/> | |
15055 | <param name="id" type="int" default=""/> | |
15056 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15057 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15058 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
15059 | <param name="style" type="long" default="0"/> | |
15060 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15061 | <param name="name" type="String" default="wxPyChoiceNameStr"/> | |
15062 | </paramlist> | |
15063 | </constructor> | |
15064 | <constructor name="PreChoice" overloaded="no"> | |
15065 | <autodoc>PreChoice() -> Choice</autodoc> | |
c2dda882 | 15066 | <docstring>Precreate a Choice control for 2-phase creation.</docstring> |
f32fc4bc RD |
15067 | </constructor> |
15068 | <method name="Create" type="bool" overloaded="no"> | |
c2dda882 RD |
15069 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, |
15070 | List choices=[], long style=0, Validator validator=DefaultValidator, | |
856bf319 | 15071 | String name=ChoiceNameStr) -> bool</autodoc> |
c2dda882 | 15072 | <docstring>Actually create the GUI Choice control for 2-phase creation</docstring> |
f32fc4bc RD |
15073 | <paramlist> |
15074 | <param name="parent" type="Window" default=""/> | |
15075 | <param name="id" type="int" default=""/> | |
15076 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15077 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15078 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
15079 | <param name="style" type="long" default="0"/> | |
15080 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15081 | <param name="name" type="String" default="wxPyChoiceNameStr"/> | |
15082 | </paramlist> | |
15083 | </method> | |
f32fc4bc RD |
15084 | <method name="SetSelection" type="" overloaded="no"> |
15085 | <autodoc>SetSelection(int n)</autodoc> | |
c2dda882 | 15086 | <docstring>Select the n'th item (zero based) in the list.</docstring> |
f32fc4bc RD |
15087 | <paramlist> |
15088 | <param name="n" type="int" default=""/> | |
15089 | </paramlist> | |
15090 | </method> | |
15091 | <method name="SetStringSelection" type="" overloaded="no"> | |
15092 | <autodoc>SetStringSelection(String string)</autodoc> | |
c2dda882 | 15093 | <docstring>Select the item with the specifed string</docstring> |
f32fc4bc RD |
15094 | <paramlist> |
15095 | <param name="string" type="String" default=""/> | |
15096 | </paramlist> | |
15097 | </method> | |
15098 | <method name="SetString" type="" overloaded="no"> | |
c2dda882 RD |
15099 | <autodoc>SetString(int n, String string)</autodoc> |
15100 | <docstring>Set the label for the n'th item (zero based) in the list.</docstring> | |
f32fc4bc RD |
15101 | <paramlist> |
15102 | <param name="n" type="int" default=""/> | |
c2dda882 | 15103 | <param name="string" type="String" default=""/> |
f32fc4bc RD |
15104 | </paramlist> |
15105 | </method> | |
15106 | </class> | |
15107 | <pythoncode> | |
856bf319 RD |
15108 | #--------------------------------------------------------------------------- |
15109 | </pythoncode> | |
f32fc4bc | 15110 | <class name="ComboBox" oldname="wxComboBox" module="controls"> |
c2dda882 RD |
15111 | <docstring>A combobox is like a combination of an edit control and a listbox. It can be |
15112 | displayed as static list with editable or read-only text field; or a drop-down | |
15113 | list with text field.</docstring> | |
15114 | <refdoc> | |
15115 | Styles | |
15116 | wx.CB_SIMPLE: Creates a combobox with a permanently displayed list. | |
15117 | Windows only. | |
15118 | ||
15119 | wx.CB_DROPDOWN: Creates a combobox with a drop-down list. | |
15120 | ||
15121 | wx.CB_READONLY: Same as wxCB_DROPDOWN but only the strings specified as | |
15122 | the combobox choices can be selected, it is impossible | |
15123 | to select (even from a program) a string which is not in | |
15124 | the choices list. | |
15125 | ||
15126 | wx.CB_SORT: Sorts the entries in the list alphabetically. | |
15127 | ||
15128 | Events | |
15129 | ||
15130 | EVT_COMBOBOX: Sent when an item on the list is selected. | |
15131 | EVT_TEXT: Sent when the combobox text changes. | |
15132 | </refdoc> | |
f32fc4bc RD |
15133 | <baseclass name="Control"/> |
15134 | <baseclass name="ItemContainer"/> | |
15135 | <constructor name="ComboBox" overloaded="no"> | |
c2dda882 RD |
15136 | <autodoc>__init__(Window parent, int id, String value=EmptyString, |
15137 | Point pos=DefaultPosition, Size size=DefaultSize, | |
15138 | List choices=[], long style=0, Validator validator=DefaultValidator, | |
15139 | String name=ComboBoxNameStr) -> ComboBox</autodoc> | |
15140 | <docstring>Constructor, creates and shows a ComboBox control.</docstring> | |
f32fc4bc RD |
15141 | <paramlist> |
15142 | <param name="parent" type="Window" default=""/> | |
15143 | <param name="id" type="int" default=""/> | |
15144 | <param name="value" type="String" default="wxPyEmptyString"/> | |
15145 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15146 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15147 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
15148 | <param name="style" type="long" default="0"/> | |
15149 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15150 | <param name="name" type="String" default="wxPyComboBoxNameStr"/> | |
15151 | </paramlist> | |
15152 | </constructor> | |
15153 | <constructor name="PreComboBox" overloaded="no"> | |
15154 | <autodoc>PreComboBox() -> ComboBox</autodoc> | |
c2dda882 | 15155 | <docstring>Precreate a ComboBox control for 2-phase creation.</docstring> |
f32fc4bc RD |
15156 | </constructor> |
15157 | <method name="Create" type="bool" overloaded="no"> | |
c2dda882 RD |
15158 | <autodoc>Create(Window parent, int id, String value=EmptyString, |
15159 | Point pos=DefaultPosition, Size size=DefaultSize, | |
15160 | List choices=[], long style=0, Validator validator=DefaultValidator, | |
15161 | String name=ChoiceNameStr) -> bool</autodoc> | |
15162 | <docstring>Actually create the GUI wxComboBox control for 2-phase creation</docstring> | |
f32fc4bc RD |
15163 | <paramlist> |
15164 | <param name="parent" type="Window" default=""/> | |
15165 | <param name="id" type="int" default=""/> | |
15166 | <param name="value" type="String" default="wxPyEmptyString"/> | |
15167 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15168 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15169 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
15170 | <param name="style" type="long" default="0"/> | |
15171 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
c2dda882 | 15172 | <param name="name" type="String" default="wxPyChoiceNameStr"/> |
f32fc4bc RD |
15173 | </paramlist> |
15174 | </method> | |
15175 | <method name="GetValue" type="String" overloaded="no"> | |
15176 | <autodoc>GetValue() -> String</autodoc> | |
c2dda882 | 15177 | <docstring>Returns the current value in the combobox text field.</docstring> |
f32fc4bc RD |
15178 | </method> |
15179 | <method name="SetValue" type="" overloaded="no"> | |
15180 | <autodoc>SetValue(String value)</autodoc> | |
15181 | <paramlist> | |
15182 | <param name="value" type="String" default=""/> | |
15183 | </paramlist> | |
15184 | </method> | |
15185 | <method name="Copy" type="" overloaded="no"> | |
15186 | <autodoc>Copy()</autodoc> | |
c2dda882 | 15187 | <docstring>Copies the selected text to the clipboard.</docstring> |
f32fc4bc RD |
15188 | </method> |
15189 | <method name="Cut" type="" overloaded="no"> | |
15190 | <autodoc>Cut()</autodoc> | |
c2dda882 | 15191 | <docstring>Copies the selected text to the clipboard and removes the selection.</docstring> |
f32fc4bc RD |
15192 | </method> |
15193 | <method name="Paste" type="" overloaded="no"> | |
15194 | <autodoc>Paste()</autodoc> | |
c2dda882 | 15195 | <docstring>Pastes text from the clipboard to the text field.</docstring> |
f32fc4bc RD |
15196 | </method> |
15197 | <method name="SetInsertionPoint" type="" overloaded="no"> | |
15198 | <autodoc>SetInsertionPoint(long pos)</autodoc> | |
c2dda882 | 15199 | <docstring>Sets the insertion point in the combobox text field.</docstring> |
f32fc4bc RD |
15200 | <paramlist> |
15201 | <param name="pos" type="long" default=""/> | |
15202 | </paramlist> | |
15203 | </method> | |
15204 | <method name="GetInsertionPoint" type="long" overloaded="no"> | |
15205 | <autodoc>GetInsertionPoint() -> long</autodoc> | |
c2dda882 | 15206 | <docstring>Returns the insertion point for the combobox's text field.</docstring> |
f32fc4bc RD |
15207 | </method> |
15208 | <method name="GetLastPosition" type="long" overloaded="no"> | |
15209 | <autodoc>GetLastPosition() -> long</autodoc> | |
c2dda882 | 15210 | <docstring>Returns the last position in the combobox text field.</docstring> |
f32fc4bc RD |
15211 | </method> |
15212 | <method name="Replace" type="" overloaded="no"> | |
15213 | <autodoc>Replace(long from, long to, String value)</autodoc> | |
c2dda882 RD |
15214 | <docstring>Replaces the text between two positions with the given text, in the |
15215 | combobox text field.</docstring> | |
f32fc4bc RD |
15216 | <paramlist> |
15217 | <param name="from" type="long" default=""/> | |
15218 | <param name="to" type="long" default=""/> | |
15219 | <param name="value" type="String" default=""/> | |
15220 | </paramlist> | |
15221 | </method> | |
15222 | <method name="SetSelection" type="" overloaded="no"> | |
15223 | <autodoc>SetSelection(int n)</autodoc> | |
c2dda882 | 15224 | <docstring>Selects the text between the two positions, in the combobox text field.</docstring> |
f32fc4bc RD |
15225 | <paramlist> |
15226 | <param name="n" type="int" default=""/> | |
15227 | </paramlist> | |
15228 | </method> | |
15229 | <method name="SetMark" type="" overloaded="no"> | |
15230 | <autodoc>SetMark(long from, long to)</autodoc> | |
15231 | <paramlist> | |
15232 | <param name="from" type="long" default=""/> | |
15233 | <param name="to" type="long" default=""/> | |
15234 | </paramlist> | |
15235 | </method> | |
15236 | <method name="SetEditable" type="" overloaded="no"> | |
15237 | <autodoc>SetEditable(bool editable)</autodoc> | |
15238 | <paramlist> | |
15239 | <param name="editable" type="bool" default=""/> | |
15240 | </paramlist> | |
15241 | </method> | |
15242 | <method name="SetInsertionPointEnd" type="" overloaded="no"> | |
15243 | <autodoc>SetInsertionPointEnd()</autodoc> | |
c2dda882 | 15244 | <docstring>Sets the insertion point at the end of the combobox text field.</docstring> |
f32fc4bc RD |
15245 | </method> |
15246 | <method name="Remove" type="" overloaded="no"> | |
15247 | <autodoc>Remove(long from, long to)</autodoc> | |
c2dda882 | 15248 | <docstring>Removes the text between the two positions in the combobox text field.</docstring> |
f32fc4bc RD |
15249 | <paramlist> |
15250 | <param name="from" type="long" default=""/> | |
15251 | <param name="to" type="long" default=""/> | |
15252 | </paramlist> | |
15253 | </method> | |
15254 | </class> | |
15255 | <pythoncode> | |
856bf319 RD |
15256 | #--------------------------------------------------------------------------- |
15257 | </pythoncode> | |
f32fc4bc RD |
15258 | <class name="Gauge" oldname="wxGauge" module="controls"> |
15259 | <baseclass name="Control"/> | |
15260 | <constructor name="Gauge" overloaded="no"> | |
15261 | <autodoc>__init__(Window parent, int id, int range, Point pos=DefaultPosition, | |
856bf319 RD |
15262 | Size size=DefaultSize, long style=GA_HORIZONTAL, |
15263 | Validator validator=DefaultValidator, | |
15264 | String name=GaugeNameStr) -> Gauge</autodoc> | |
f32fc4bc RD |
15265 | <paramlist> |
15266 | <param name="parent" type="Window" default=""/> | |
15267 | <param name="id" type="int" default=""/> | |
15268 | <param name="range" type="int" default=""/> | |
15269 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15270 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15271 | <param name="style" type="long" default="wxGA_HORIZONTAL"/> | |
15272 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15273 | <param name="name" type="String" default="wxPyGaugeNameStr"/> | |
15274 | </paramlist> | |
15275 | </constructor> | |
15276 | <constructor name="PreGauge" overloaded="no"> | |
15277 | <autodoc>PreGauge() -> Gauge</autodoc> | |
15278 | </constructor> | |
15279 | <method name="Create" type="bool" overloaded="no"> | |
15280 | <autodoc>Create(Window parent, int id, int range, Point pos=DefaultPosition, | |
856bf319 RD |
15281 | Size size=DefaultSize, long style=GA_HORIZONTAL, |
15282 | Validator validator=DefaultValidator, | |
15283 | String name=GaugeNameStr) -> bool</autodoc> | |
f32fc4bc RD |
15284 | <paramlist> |
15285 | <param name="parent" type="Window" default=""/> | |
15286 | <param name="id" type="int" default=""/> | |
15287 | <param name="range" type="int" default=""/> | |
15288 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15289 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15290 | <param name="style" type="long" default="wxGA_HORIZONTAL"/> | |
15291 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15292 | <param name="name" type="String" default="wxPyGaugeNameStr"/> | |
15293 | </paramlist> | |
15294 | </method> | |
15295 | <method name="SetRange" type="" overloaded="no"> | |
15296 | <autodoc>SetRange(int range)</autodoc> | |
15297 | <paramlist> | |
15298 | <param name="range" type="int" default=""/> | |
15299 | </paramlist> | |
15300 | </method> | |
15301 | <method name="GetRange" type="int" overloaded="no"> | |
15302 | <autodoc>GetRange() -> int</autodoc> | |
15303 | </method> | |
15304 | <method name="SetValue" type="" overloaded="no"> | |
15305 | <autodoc>SetValue(int pos)</autodoc> | |
15306 | <paramlist> | |
15307 | <param name="pos" type="int" default=""/> | |
15308 | </paramlist> | |
15309 | </method> | |
15310 | <method name="GetValue" type="int" overloaded="no"> | |
15311 | <autodoc>GetValue() -> int</autodoc> | |
15312 | </method> | |
15313 | <method name="IsVertical" type="bool" overloaded="no"> | |
15314 | <autodoc>IsVertical() -> bool</autodoc> | |
15315 | </method> | |
15316 | <method name="SetShadowWidth" type="" overloaded="no"> | |
15317 | <autodoc>SetShadowWidth(int w)</autodoc> | |
15318 | <paramlist> | |
15319 | <param name="w" type="int" default=""/> | |
15320 | </paramlist> | |
15321 | </method> | |
15322 | <method name="GetShadowWidth" type="int" overloaded="no"> | |
15323 | <autodoc>GetShadowWidth() -> int</autodoc> | |
15324 | </method> | |
15325 | <method name="SetBezelFace" type="" overloaded="no"> | |
15326 | <autodoc>SetBezelFace(int w)</autodoc> | |
15327 | <paramlist> | |
15328 | <param name="w" type="int" default=""/> | |
15329 | </paramlist> | |
15330 | </method> | |
15331 | <method name="GetBezelFace" type="int" overloaded="no"> | |
15332 | <autodoc>GetBezelFace() -> int</autodoc> | |
15333 | </method> | |
15334 | </class> | |
15335 | <pythoncode> | |
856bf319 RD |
15336 | #--------------------------------------------------------------------------- |
15337 | </pythoncode> | |
f32fc4bc RD |
15338 | <class name="StaticBox" oldname="wxStaticBox" module="controls"> |
15339 | <baseclass name="Control"/> | |
15340 | <constructor name="StaticBox" overloaded="no"> | |
15341 | <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
15342 | Size size=DefaultSize, long style=0, |
15343 | String name=StaticBoxNameStr) -> StaticBox</autodoc> | |
f32fc4bc RD |
15344 | <paramlist> |
15345 | <param name="parent" type="Window" default=""/> | |
15346 | <param name="id" type="int" default=""/> | |
15347 | <param name="label" type="String" default=""/> | |
15348 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15349 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15350 | <param name="style" type="long" default="0"/> | |
15351 | <param name="name" type="String" default="wxPyStaticBoxNameStr"/> | |
15352 | </paramlist> | |
15353 | </constructor> | |
15354 | <constructor name="PreStaticBox" overloaded="no"> | |
15355 | <autodoc>PreStaticBox() -> StaticBox</autodoc> | |
15356 | </constructor> | |
15357 | <method name="Create" type="bool" overloaded="no"> | |
15358 | <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
15359 | Size size=DefaultSize, long style=0, |
15360 | String name=StaticBoxNameStr) -> bool</autodoc> | |
f32fc4bc RD |
15361 | <paramlist> |
15362 | <param name="parent" type="Window" default=""/> | |
15363 | <param name="id" type="int" default=""/> | |
15364 | <param name="label" type="String" default=""/> | |
15365 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15366 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15367 | <param name="style" type="long" default="0"/> | |
15368 | <param name="name" type="String" default="wxPyStaticBoxNameStr"/> | |
15369 | </paramlist> | |
15370 | </method> | |
15371 | </class> | |
15372 | <pythoncode> | |
856bf319 RD |
15373 | #--------------------------------------------------------------------------- |
15374 | </pythoncode> | |
f32fc4bc RD |
15375 | <class name="StaticLine" oldname="wxStaticLine" module="controls"> |
15376 | <baseclass name="Control"/> | |
15377 | <constructor name="StaticLine" overloaded="no"> | |
15378 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
15379 | long style=LI_HORIZONTAL, |
15380 | String name=StaticTextNameStr) -> StaticLine</autodoc> | |
f32fc4bc RD |
15381 | <paramlist> |
15382 | <param name="parent" type="Window" default=""/> | |
15383 | <param name="id" type="int" default=""/> | |
15384 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15385 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15386 | <param name="style" type="long" default="wxLI_HORIZONTAL"/> | |
15387 | <param name="name" type="String" default="wxPyStaticTextNameStr"/> | |
15388 | </paramlist> | |
15389 | </constructor> | |
15390 | <constructor name="PreStaticLine" overloaded="no"> | |
15391 | <autodoc>PreStaticLine() -> StaticLine</autodoc> | |
15392 | </constructor> | |
15393 | <method name="Create" type="bool" overloaded="no"> | |
15394 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
15395 | long style=LI_HORIZONTAL, |
15396 | String name=StaticTextNameStr) -> bool</autodoc> | |
f32fc4bc RD |
15397 | <paramlist> |
15398 | <param name="parent" type="Window" default=""/> | |
15399 | <param name="id" type="int" default=""/> | |
15400 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15401 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15402 | <param name="style" type="long" default="wxLI_HORIZONTAL"/> | |
15403 | <param name="name" type="String" default="wxPyStaticTextNameStr"/> | |
15404 | </paramlist> | |
15405 | </method> | |
15406 | <method name="IsVertical" type="bool" overloaded="no"> | |
15407 | <autodoc>IsVertical() -> bool</autodoc> | |
15408 | </method> | |
15409 | <staticmethod name="GetDefaultSize" type="int" overloaded="no"> | |
15410 | <autodoc>GetDefaultSize() -> int</autodoc> | |
15411 | </staticmethod> | |
15412 | </class> | |
15413 | <pythoncode> | |
856bf319 RD |
15414 | #--------------------------------------------------------------------------- |
15415 | </pythoncode> | |
f32fc4bc RD |
15416 | <class name="StaticText" oldname="wxStaticText" module="controls"> |
15417 | <baseclass name="Control"/> | |
15418 | <constructor name="StaticText" overloaded="no"> | |
15419 | <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
15420 | Size size=DefaultSize, long style=0, |
15421 | String name=StaticTextNameStr) -> StaticText</autodoc> | |
f32fc4bc RD |
15422 | <paramlist> |
15423 | <param name="parent" type="Window" default=""/> | |
15424 | <param name="id" type="int" default=""/> | |
15425 | <param name="label" type="String" default=""/> | |
15426 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15427 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15428 | <param name="style" type="long" default="0"/> | |
15429 | <param name="name" type="String" default="wxPyStaticTextNameStr"/> | |
15430 | </paramlist> | |
15431 | </constructor> | |
15432 | <constructor name="PreStaticText" overloaded="no"> | |
15433 | <autodoc>PreStaticText() -> StaticText</autodoc> | |
15434 | </constructor> | |
15435 | <method name="Create" type="bool" overloaded="no"> | |
15436 | <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
15437 | Size size=DefaultSize, long style=0, |
15438 | String name=StaticTextNameStr) -> bool</autodoc> | |
f32fc4bc RD |
15439 | <paramlist> |
15440 | <param name="parent" type="Window" default=""/> | |
15441 | <param name="id" type="int" default=""/> | |
15442 | <param name="label" type="String" default=""/> | |
15443 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15444 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15445 | <param name="style" type="long" default="0"/> | |
15446 | <param name="name" type="String" default="wxPyStaticTextNameStr"/> | |
15447 | </paramlist> | |
15448 | </method> | |
15449 | </class> | |
15450 | <pythoncode> | |
856bf319 RD |
15451 | #--------------------------------------------------------------------------- |
15452 | </pythoncode> | |
f32fc4bc RD |
15453 | <class name="StaticBitmap" oldname="wxStaticBitmap" module="controls"> |
15454 | <baseclass name="Control"/> | |
15455 | <constructor name="StaticBitmap" overloaded="no"> | |
15456 | <autodoc>__init__(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition, | |
856bf319 RD |
15457 | Size size=DefaultSize, long style=0, |
15458 | String name=StaticBitmapNameStr) -> StaticBitmap</autodoc> | |
f32fc4bc RD |
15459 | <paramlist> |
15460 | <param name="parent" type="Window" default=""/> | |
15461 | <param name="id" type="int" default=""/> | |
15462 | <param name="bitmap" type="Bitmap" default=""/> | |
15463 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15464 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15465 | <param name="style" type="long" default="0"/> | |
15466 | <param name="name" type="String" default="wxPyStaticBitmapNameStr"/> | |
15467 | </paramlist> | |
15468 | </constructor> | |
15469 | <constructor name="PreStaticBitmap" overloaded="no"> | |
15470 | <autodoc>PreStaticBitmap() -> StaticBitmap</autodoc> | |
15471 | </constructor> | |
15472 | <method name="Create" type="bool" overloaded="no"> | |
15473 | <autodoc>Create(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition, | |
856bf319 RD |
15474 | Size size=DefaultSize, long style=0, |
15475 | String name=StaticBitmapNameStr) -> bool</autodoc> | |
f32fc4bc RD |
15476 | <paramlist> |
15477 | <param name="parent" type="Window" default=""/> | |
15478 | <param name="id" type="int" default=""/> | |
15479 | <param name="bitmap" type="Bitmap" default=""/> | |
15480 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15481 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15482 | <param name="style" type="long" default="0"/> | |
15483 | <param name="name" type="String" default="wxPyStaticBitmapNameStr"/> | |
15484 | </paramlist> | |
15485 | </method> | |
15486 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
15487 | <autodoc>GetBitmap() -> Bitmap</autodoc> | |
15488 | </method> | |
15489 | <method name="SetBitmap" type="" overloaded="no"> | |
15490 | <autodoc>SetBitmap(Bitmap bitmap)</autodoc> | |
15491 | <paramlist> | |
15492 | <param name="bitmap" type="Bitmap" default=""/> | |
15493 | </paramlist> | |
15494 | </method> | |
15495 | <method name="SetIcon" type="" overloaded="no"> | |
15496 | <autodoc>SetIcon(Icon icon)</autodoc> | |
15497 | <paramlist> | |
15498 | <param name="icon" type="Icon" default=""/> | |
15499 | </paramlist> | |
15500 | </method> | |
15501 | </class> | |
15502 | <pythoncode> | |
856bf319 RD |
15503 | #--------------------------------------------------------------------------- |
15504 | </pythoncode> | |
f32fc4bc RD |
15505 | <class name="ListBox" oldname="wxListBox" module="controls"> |
15506 | <baseclass name="ControlWithItems"/> | |
15507 | <constructor name="ListBox" overloaded="no"> | |
15508 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
15509 | wxArrayString choices=wxPyEmptyStringArray, |
15510 | long style=0, Validator validator=DefaultValidator, | |
15511 | String name=ListBoxNameStr) -> ListBox</autodoc> | |
f32fc4bc RD |
15512 | <paramlist> |
15513 | <param name="parent" type="Window" default=""/> | |
15514 | <param name="id" type="int" default=""/> | |
15515 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15516 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15517 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
15518 | <param name="style" type="long" default="0"/> | |
15519 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15520 | <param name="name" type="String" default="wxPyListBoxNameStr"/> | |
15521 | </paramlist> | |
15522 | </constructor> | |
15523 | <constructor name="PreListBox" overloaded="no"> | |
15524 | <autodoc>PreListBox() -> ListBox</autodoc> | |
15525 | </constructor> | |
15526 | <method name="Create" type="bool" overloaded="no"> | |
15527 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
15528 | wxArrayString choices=wxPyEmptyStringArray, |
15529 | long style=0, Validator validator=DefaultValidator, | |
15530 | String name=ListBoxNameStr) -> bool</autodoc> | |
f32fc4bc RD |
15531 | <paramlist> |
15532 | <param name="parent" type="Window" default=""/> | |
15533 | <param name="id" type="int" default=""/> | |
15534 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15535 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15536 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
15537 | <param name="style" type="long" default="0"/> | |
15538 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15539 | <param name="name" type="String" default="wxPyListBoxNameStr"/> | |
15540 | </paramlist> | |
15541 | </method> | |
15542 | <method name="Insert" type="" overloaded="no"> | |
15543 | <autodoc>Insert(String item, int pos, PyObject clientData=None)</autodoc> | |
c2dda882 RD |
15544 | <docstring>Insert an item into the control before the item at the pos index, |
15545 | optionally associating some data object with the item.</docstring> | |
f32fc4bc RD |
15546 | <paramlist> |
15547 | <param name="item" type="String" default=""/> | |
15548 | <param name="pos" type="int" default=""/> | |
15549 | <param name="clientData" type="PyObject" default="NULL"/> | |
15550 | </paramlist> | |
15551 | </method> | |
15552 | <method name="InsertItems" type="" overloaded="no"> | |
15553 | <autodoc>InsertItems(wxArrayString items, int pos)</autodoc> | |
15554 | <paramlist> | |
15555 | <param name="items" type="wxArrayString" default=""/> | |
15556 | <param name="pos" type="int" default=""/> | |
15557 | </paramlist> | |
15558 | </method> | |
15559 | <method name="Set" type="" overloaded="no"> | |
15560 | <autodoc>Set(wxArrayString items)</autodoc> | |
15561 | <paramlist> | |
15562 | <param name="items" type="wxArrayString" default=""/> | |
15563 | </paramlist> | |
15564 | </method> | |
15565 | <method name="IsSelected" type="bool" overloaded="no"> | |
15566 | <autodoc>IsSelected(int n) -> bool</autodoc> | |
15567 | <paramlist> | |
15568 | <param name="n" type="int" default=""/> | |
15569 | </paramlist> | |
15570 | </method> | |
15571 | <method name="SetSelection" type="" overloaded="no"> | |
15572 | <autodoc>SetSelection(int n, bool select=True)</autodoc> | |
15573 | <paramlist> | |
15574 | <param name="n" type="int" default=""/> | |
15575 | <param name="select" type="bool" default="True"/> | |
15576 | </paramlist> | |
15577 | </method> | |
15578 | <method name="Select" type="" overloaded="no"> | |
15579 | <autodoc>Select(int n)</autodoc> | |
c2dda882 | 15580 | <docstring>Sets the item at index 'n' to be the selected item.</docstring> |
f32fc4bc RD |
15581 | <paramlist> |
15582 | <param name="n" type="int" default=""/> | |
15583 | </paramlist> | |
15584 | </method> | |
15585 | <method name="Deselect" type="" overloaded="no"> | |
15586 | <autodoc>Deselect(int n)</autodoc> | |
15587 | <paramlist> | |
15588 | <param name="n" type="int" default=""/> | |
15589 | </paramlist> | |
15590 | </method> | |
15591 | <method name="DeselectAll" type="" overloaded="no"> | |
15592 | <autodoc>DeselectAll(int itemToLeaveSelected=-1)</autodoc> | |
15593 | <paramlist> | |
15594 | <param name="itemToLeaveSelected" type="int" default="-1"/> | |
15595 | </paramlist> | |
15596 | </method> | |
15597 | <method name="SetStringSelection" type="bool" overloaded="no"> | |
15598 | <autodoc>SetStringSelection(String s, bool select=True) -> bool</autodoc> | |
15599 | <paramlist> | |
15600 | <param name="s" type="String" default=""/> | |
15601 | <param name="select" type="bool" default="True"/> | |
15602 | </paramlist> | |
15603 | </method> | |
15604 | <method name="GetSelections" type="PyObject" overloaded="no"> | |
15605 | <autodoc>GetSelections() -> PyObject</autodoc> | |
15606 | </method> | |
15607 | <method name="SetFirstItem" type="" overloaded="no"> | |
15608 | <autodoc>SetFirstItem(int n)</autodoc> | |
15609 | <paramlist> | |
15610 | <param name="n" type="int" default=""/> | |
15611 | </paramlist> | |
15612 | </method> | |
15613 | <method name="SetFirstItemStr" type="" overloaded="no"> | |
15614 | <autodoc>SetFirstItemStr(String s)</autodoc> | |
15615 | <paramlist> | |
15616 | <param name="s" type="String" default=""/> | |
15617 | </paramlist> | |
15618 | </method> | |
15619 | <method name="EnsureVisible" type="" overloaded="no"> | |
15620 | <autodoc>EnsureVisible(int n)</autodoc> | |
15621 | <paramlist> | |
15622 | <param name="n" type="int" default=""/> | |
15623 | </paramlist> | |
15624 | </method> | |
15625 | <method name="AppendAndEnsureVisible" type="" overloaded="no"> | |
15626 | <autodoc>AppendAndEnsureVisible(String s)</autodoc> | |
15627 | <paramlist> | |
15628 | <param name="s" type="String" default=""/> | |
15629 | </paramlist> | |
15630 | </method> | |
15631 | <method name="IsSorted" type="bool" overloaded="no"> | |
15632 | <autodoc>IsSorted() -> bool</autodoc> | |
15633 | </method> | |
15634 | <method name="SetItemForegroundColour" type="" overloaded="no"> | |
15635 | <autodoc>SetItemForegroundColour(int item, Colour c)</autodoc> | |
15636 | <paramlist> | |
15637 | <param name="item" type="int" default=""/> | |
15638 | <param name="c" type="Colour" default=""/> | |
15639 | </paramlist> | |
15640 | </method> | |
15641 | <method name="SetItemBackgroundColour" type="" overloaded="no"> | |
15642 | <autodoc>SetItemBackgroundColour(int item, Colour c)</autodoc> | |
15643 | <paramlist> | |
15644 | <param name="item" type="int" default=""/> | |
15645 | <param name="c" type="Colour" default=""/> | |
15646 | </paramlist> | |
15647 | </method> | |
15648 | <method name="SetItemFont" type="" overloaded="no"> | |
15649 | <autodoc>SetItemFont(int item, Font f)</autodoc> | |
15650 | <paramlist> | |
15651 | <param name="item" type="int" default=""/> | |
15652 | <param name="f" type="Font" default=""/> | |
15653 | </paramlist> | |
15654 | </method> | |
15655 | </class> | |
15656 | <pythoncode> | |
0f43fbdf RD |
15657 | #--------------------------------------------------------------------------- |
15658 | </pythoncode> | |
f32fc4bc RD |
15659 | <class name="CheckListBox" oldname="wxCheckListBox" module="controls"> |
15660 | <baseclass name="ListBox"/> | |
15661 | <constructor name="CheckListBox" overloaded="no"> | |
15662 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
15663 | wxArrayString choices=wxPyEmptyStringArray, |
15664 | long style=0, Validator validator=DefaultValidator, | |
15665 | String name=ListBoxNameStr) -> CheckListBox</autodoc> | |
f32fc4bc RD |
15666 | <paramlist> |
15667 | <param name="parent" type="Window" default=""/> | |
15668 | <param name="id" type="int" default=""/> | |
15669 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15670 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15671 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
15672 | <param name="style" type="long" default="0"/> | |
15673 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15674 | <param name="name" type="String" default="wxPyListBoxNameStr"/> | |
15675 | </paramlist> | |
15676 | </constructor> | |
15677 | <constructor name="PreCheckListBox" overloaded="no"> | |
15678 | <autodoc>PreCheckListBox() -> CheckListBox</autodoc> | |
15679 | </constructor> | |
15680 | <method name="Create" type="bool" overloaded="no"> | |
15681 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
15682 | wxArrayString choices=wxPyEmptyStringArray, |
15683 | long style=0, Validator validator=DefaultValidator, | |
15684 | String name=ListBoxNameStr) -> bool</autodoc> | |
f32fc4bc RD |
15685 | <paramlist> |
15686 | <param name="parent" type="Window" default=""/> | |
15687 | <param name="id" type="int" default=""/> | |
15688 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15689 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15690 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
15691 | <param name="style" type="long" default="0"/> | |
15692 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15693 | <param name="name" type="String" default="wxPyListBoxNameStr"/> | |
15694 | </paramlist> | |
15695 | </method> | |
15696 | <method name="IsChecked" type="bool" overloaded="no"> | |
15697 | <autodoc>IsChecked(int index) -> bool</autodoc> | |
15698 | <paramlist> | |
15699 | <param name="index" type="int" default=""/> | |
15700 | </paramlist> | |
15701 | </method> | |
15702 | <method name="Check" type="" overloaded="no"> | |
15703 | <autodoc>Check(int index, int check=True)</autodoc> | |
15704 | <paramlist> | |
15705 | <param name="index" type="int" default=""/> | |
15706 | <param name="check" type="int" default="True"/> | |
15707 | </paramlist> | |
15708 | </method> | |
15709 | <method name="GetItemHeight" type="int" overloaded="no"> | |
15710 | <autodoc>GetItemHeight() -> int</autodoc> | |
15711 | </method> | |
15712 | <method name="HitTest" type="int" overloaded="no"> | |
15713 | <autodoc>HitTest(Point pt) -> int</autodoc> | |
c2dda882 | 15714 | <docstring>Test where the given (in client coords) point lies</docstring> |
f32fc4bc RD |
15715 | <paramlist> |
15716 | <param name="pt" type="Point" default=""/> | |
15717 | </paramlist> | |
15718 | </method> | |
15719 | <method name="HitTestXY" type="int" overloaded="no"> | |
15720 | <autodoc>HitTestXY(int x, int y) -> int</autodoc> | |
c2dda882 | 15721 | <docstring>Test where the given (in client coords) point lies</docstring> |
f32fc4bc RD |
15722 | <paramlist> |
15723 | <param name="x" type="int" default=""/> | |
15724 | <param name="y" type="int" default=""/> | |
15725 | </paramlist> | |
15726 | </method> | |
15727 | </class> | |
15728 | <pythoncode> | |
0f43fbdf RD |
15729 | #--------------------------------------------------------------------------- |
15730 | </pythoncode> | |
f32fc4bc RD |
15731 | <class name="TextAttr" oldname="wxTextAttr" module="controls"> |
15732 | <constructor name="TextAttr" overloaded="yes"/> | |
15733 | <constructor name="TextAttr" overloaded="yes"> | |
15734 | <autodoc>__init__() -> TextAttr | |
856bf319 RD |
15735 | __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont, |
15736 | int alignment=TEXT_ALIGNMENT_DEFAULT) -> TextAttr</autodoc> | |
f32fc4bc RD |
15737 | <paramlist> |
15738 | <param name="colText" type="Colour" default=""/> | |
15739 | <param name="colBack" type="Colour" default="wxNullColour"/> | |
15740 | <param name="font" type="Font" default="wxNullFont"/> | |
15741 | <param name="alignment" type="wxTextAttrAlignment" default="wxTEXT_ALIGNMENT_DEFAULT"/> | |
15742 | </paramlist> | |
15743 | </constructor> | |
15744 | <destructor name="~wxTextAttr" overloaded="no"> | |
15745 | <autodoc>__del__()</autodoc> | |
15746 | </destructor> | |
15747 | <method name="Init" type="" overloaded="no"> | |
15748 | <autodoc>Init()</autodoc> | |
15749 | </method> | |
15750 | <method name="SetTextColour" type="" overloaded="no"> | |
15751 | <autodoc>SetTextColour(Colour colText)</autodoc> | |
15752 | <paramlist> | |
15753 | <param name="colText" type="Colour" default=""/> | |
15754 | </paramlist> | |
15755 | </method> | |
15756 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
15757 | <autodoc>SetBackgroundColour(Colour colBack)</autodoc> | |
15758 | <paramlist> | |
15759 | <param name="colBack" type="Colour" default=""/> | |
15760 | </paramlist> | |
15761 | </method> | |
15762 | <method name="SetFont" type="" overloaded="no"> | |
15763 | <autodoc>SetFont(Font font, long flags=TEXT_ATTR_FONT)</autodoc> | |
15764 | <paramlist> | |
15765 | <param name="font" type="Font" default=""/> | |
15766 | <param name="flags" type="long" default="wxTEXT_ATTR_FONT"/> | |
15767 | </paramlist> | |
15768 | </method> | |
15769 | <method name="SetAlignment" type="" overloaded="no"> | |
15770 | <autodoc>SetAlignment(int alignment)</autodoc> | |
15771 | <paramlist> | |
15772 | <param name="alignment" type="wxTextAttrAlignment" default=""/> | |
15773 | </paramlist> | |
15774 | </method> | |
15775 | <method name="SetTabs" type="" overloaded="no"> | |
15776 | <autodoc>SetTabs(wxArrayInt tabs)</autodoc> | |
15777 | <paramlist> | |
15778 | <param name="tabs" type="wxArrayInt" default=""/> | |
15779 | </paramlist> | |
15780 | </method> | |
15781 | <method name="SetLeftIndent" type="" overloaded="no"> | |
15782 | <autodoc>SetLeftIndent(int indent)</autodoc> | |
15783 | <paramlist> | |
15784 | <param name="indent" type="int" default=""/> | |
15785 | </paramlist> | |
15786 | </method> | |
15787 | <method name="SetRightIndent" type="" overloaded="no"> | |
15788 | <autodoc>SetRightIndent(int indent)</autodoc> | |
15789 | <paramlist> | |
15790 | <param name="indent" type="int" default=""/> | |
15791 | </paramlist> | |
15792 | </method> | |
15793 | <method name="SetFlags" type="" overloaded="no"> | |
15794 | <autodoc>SetFlags(long flags)</autodoc> | |
15795 | <paramlist> | |
15796 | <param name="flags" type="long" default=""/> | |
15797 | </paramlist> | |
15798 | </method> | |
15799 | <method name="HasTextColour" type="bool" overloaded="no"> | |
15800 | <autodoc>HasTextColour() -> bool</autodoc> | |
15801 | </method> | |
15802 | <method name="HasBackgroundColour" type="bool" overloaded="no"> | |
15803 | <autodoc>HasBackgroundColour() -> bool</autodoc> | |
15804 | </method> | |
15805 | <method name="HasFont" type="bool" overloaded="no"> | |
15806 | <autodoc>HasFont() -> bool</autodoc> | |
15807 | </method> | |
15808 | <method name="HasAlignment" type="bool" overloaded="no"> | |
15809 | <autodoc>HasAlignment() -> bool</autodoc> | |
15810 | </method> | |
15811 | <method name="HasTabs" type="bool" overloaded="no"> | |
15812 | <autodoc>HasTabs() -> bool</autodoc> | |
15813 | </method> | |
15814 | <method name="HasLeftIndent" type="bool" overloaded="no"> | |
15815 | <autodoc>HasLeftIndent() -> bool</autodoc> | |
15816 | </method> | |
15817 | <method name="HasRightIndent" type="bool" overloaded="no"> | |
15818 | <autodoc>HasRightIndent() -> bool</autodoc> | |
15819 | </method> | |
15820 | <method name="HasFlag" type="bool" overloaded="no"> | |
15821 | <autodoc>HasFlag(long flag) -> bool</autodoc> | |
15822 | <paramlist> | |
15823 | <param name="flag" type="long" default=""/> | |
15824 | </paramlist> | |
15825 | </method> | |
15826 | <method name="GetTextColour" type="Colour" overloaded="no"> | |
15827 | <autodoc>GetTextColour() -> Colour</autodoc> | |
15828 | </method> | |
15829 | <method name="GetBackgroundColour" type="Colour" overloaded="no"> | |
15830 | <autodoc>GetBackgroundColour() -> Colour</autodoc> | |
15831 | </method> | |
15832 | <method name="GetFont" type="Font" overloaded="no"> | |
15833 | <autodoc>GetFont() -> Font</autodoc> | |
15834 | </method> | |
15835 | <method name="GetAlignment" type="wxTextAttrAlignment" overloaded="no"> | |
15836 | <autodoc>GetAlignment() -> int</autodoc> | |
15837 | </method> | |
15838 | <method name="GetTabs" type="wxArrayInt" overloaded="no"> | |
15839 | <autodoc>GetTabs() -> wxArrayInt</autodoc> | |
15840 | </method> | |
15841 | <method name="GetLeftIndent" type="long" overloaded="no"> | |
15842 | <autodoc>GetLeftIndent() -> long</autodoc> | |
15843 | </method> | |
15844 | <method name="GetRightIndent" type="long" overloaded="no"> | |
15845 | <autodoc>GetRightIndent() -> long</autodoc> | |
15846 | </method> | |
15847 | <method name="GetFlags" type="long" overloaded="no"> | |
15848 | <autodoc>GetFlags() -> long</autodoc> | |
15849 | </method> | |
15850 | <method name="IsDefault" type="bool" overloaded="no"> | |
15851 | <autodoc>IsDefault() -> bool</autodoc> | |
15852 | </method> | |
15853 | <staticmethod name="Combine" type="TextAttr" overloaded="no"> | |
15854 | <autodoc>Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -> TextAttr</autodoc> | |
15855 | <paramlist> | |
15856 | <param name="attr" type="TextAttr" default=""/> | |
15857 | <param name="attrDef" type="TextAttr" default=""/> | |
15858 | <param name="text" type="wxTextCtrl" default=""/> | |
15859 | </paramlist> | |
15860 | </staticmethod> | |
15861 | </class> | |
15862 | <class name="TextCtrl" oldname="wxTextCtrl" module="controls"> | |
15863 | <baseclass name="Control"/> | |
15864 | <constructor name="TextCtrl" overloaded="no"> | |
15865 | <autodoc>__init__(Window parent, int id, String value=EmptyString, Point pos=DefaultPosition, | |
856bf319 RD |
15866 | Size size=DefaultSize, |
15867 | long style=0, Validator validator=DefaultValidator, | |
15868 | String name=TextCtrlNameStr) -> TextCtrl</autodoc> | |
f32fc4bc RD |
15869 | <paramlist> |
15870 | <param name="parent" type="Window" default=""/> | |
15871 | <param name="id" type="int" default=""/> | |
15872 | <param name="value" type="String" default="wxPyEmptyString"/> | |
15873 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15874 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15875 | <param name="style" type="long" default="0"/> | |
15876 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15877 | <param name="name" type="String" default="wxPyTextCtrlNameStr"/> | |
15878 | </paramlist> | |
15879 | </constructor> | |
15880 | <constructor name="PreTextCtrl" overloaded="no"> | |
15881 | <autodoc>PreTextCtrl() -> TextCtrl</autodoc> | |
15882 | </constructor> | |
15883 | <method name="Create" type="bool" overloaded="no"> | |
15884 | <autodoc>Create(Window parent, int id, String value=EmptyString, Point pos=DefaultPosition, | |
856bf319 RD |
15885 | Size size=DefaultSize, |
15886 | long style=0, Validator validator=DefaultValidator, | |
15887 | String name=TextCtrlNameStr) -> bool</autodoc> | |
f32fc4bc RD |
15888 | <paramlist> |
15889 | <param name="parent" type="Window" default=""/> | |
15890 | <param name="id" type="int" default=""/> | |
15891 | <param name="value" type="String" default="wxPyEmptyString"/> | |
15892 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15893 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15894 | <param name="style" type="long" default="0"/> | |
15895 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
15896 | <param name="name" type="String" default="wxPyTextCtrlNameStr"/> | |
15897 | </paramlist> | |
15898 | </method> | |
15899 | <method name="GetValue" type="String" overloaded="no"> | |
15900 | <autodoc>GetValue() -> String</autodoc> | |
15901 | </method> | |
15902 | <method name="SetValue" type="" overloaded="no"> | |
15903 | <autodoc>SetValue(String value)</autodoc> | |
15904 | <paramlist> | |
15905 | <param name="value" type="String" default=""/> | |
15906 | </paramlist> | |
15907 | </method> | |
15908 | <method name="GetRange" type="String" overloaded="no"> | |
15909 | <autodoc>GetRange(long from, long to) -> String</autodoc> | |
15910 | <paramlist> | |
15911 | <param name="from" type="long" default=""/> | |
15912 | <param name="to" type="long" default=""/> | |
15913 | </paramlist> | |
15914 | </method> | |
15915 | <method name="GetLineLength" type="int" overloaded="no"> | |
15916 | <autodoc>GetLineLength(long lineNo) -> int</autodoc> | |
15917 | <paramlist> | |
15918 | <param name="lineNo" type="long" default=""/> | |
15919 | </paramlist> | |
15920 | </method> | |
15921 | <method name="GetLineText" type="String" overloaded="no"> | |
15922 | <autodoc>GetLineText(long lineNo) -> String</autodoc> | |
15923 | <paramlist> | |
15924 | <param name="lineNo" type="long" default=""/> | |
15925 | </paramlist> | |
15926 | </method> | |
15927 | <method name="GetNumberOfLines" type="int" overloaded="no"> | |
15928 | <autodoc>GetNumberOfLines() -> int</autodoc> | |
15929 | </method> | |
15930 | <method name="IsModified" type="bool" overloaded="no"> | |
15931 | <autodoc>IsModified() -> bool</autodoc> | |
15932 | </method> | |
15933 | <method name="IsEditable" type="bool" overloaded="no"> | |
15934 | <autodoc>IsEditable() -> bool</autodoc> | |
15935 | </method> | |
15936 | <method name="IsSingleLine" type="bool" overloaded="no"> | |
15937 | <autodoc>IsSingleLine() -> bool</autodoc> | |
15938 | </method> | |
15939 | <method name="IsMultiLine" type="bool" overloaded="no"> | |
15940 | <autodoc>IsMultiLine() -> bool</autodoc> | |
15941 | </method> | |
15942 | <method name="GetSelection" type="" overloaded="no"> | |
15943 | <autodoc>GetSelection() -> (from, to)</autodoc> | |
15944 | <docstring>If the return values from and to are the same, there is no selection.</docstring> | |
15945 | <paramlist> | |
15946 | <param name="OUTPUT" type="long" default=""/> | |
15947 | <param name="OUTPUT" type="long" default=""/> | |
15948 | </paramlist> | |
15949 | </method> | |
15950 | <method name="GetStringSelection" type="String" overloaded="no"> | |
15951 | <autodoc>GetStringSelection() -> String</autodoc> | |
15952 | </method> | |
15953 | <method name="Clear" type="" overloaded="no"> | |
15954 | <autodoc>Clear()</autodoc> | |
15955 | </method> | |
15956 | <method name="Replace" type="" overloaded="no"> | |
15957 | <autodoc>Replace(long from, long to, String value)</autodoc> | |
15958 | <paramlist> | |
15959 | <param name="from" type="long" default=""/> | |
15960 | <param name="to" type="long" default=""/> | |
15961 | <param name="value" type="String" default=""/> | |
15962 | </paramlist> | |
15963 | </method> | |
15964 | <method name="Remove" type="" overloaded="no"> | |
15965 | <autodoc>Remove(long from, long to)</autodoc> | |
15966 | <paramlist> | |
15967 | <param name="from" type="long" default=""/> | |
15968 | <param name="to" type="long" default=""/> | |
15969 | </paramlist> | |
15970 | </method> | |
15971 | <method name="LoadFile" type="bool" overloaded="no"> | |
15972 | <autodoc>LoadFile(String file) -> bool</autodoc> | |
15973 | <paramlist> | |
15974 | <param name="file" type="String" default=""/> | |
15975 | </paramlist> | |
15976 | </method> | |
15977 | <method name="SaveFile" type="bool" overloaded="no"> | |
15978 | <autodoc>SaveFile(String file=EmptyString) -> bool</autodoc> | |
15979 | <paramlist> | |
15980 | <param name="file" type="String" default="wxPyEmptyString"/> | |
15981 | </paramlist> | |
15982 | </method> | |
15983 | <method name="MarkDirty" type="" overloaded="no"> | |
15984 | <autodoc>MarkDirty()</autodoc> | |
15985 | </method> | |
15986 | <method name="DiscardEdits" type="" overloaded="no"> | |
15987 | <autodoc>DiscardEdits()</autodoc> | |
15988 | </method> | |
15989 | <method name="SetMaxLength" type="" overloaded="no"> | |
15990 | <autodoc>SetMaxLength(unsigned long len)</autodoc> | |
15991 | <paramlist> | |
15992 | <param name="len" type="unsigned long" default=""/> | |
15993 | </paramlist> | |
15994 | </method> | |
15995 | <method name="WriteText" type="" overloaded="no"> | |
15996 | <autodoc>WriteText(String text)</autodoc> | |
15997 | <paramlist> | |
15998 | <param name="text" type="String" default=""/> | |
15999 | </paramlist> | |
16000 | </method> | |
16001 | <method name="AppendText" type="" overloaded="no"> | |
16002 | <autodoc>AppendText(String text)</autodoc> | |
16003 | <paramlist> | |
16004 | <param name="text" type="String" default=""/> | |
16005 | </paramlist> | |
16006 | </method> | |
16007 | <method name="EmulateKeyPress" type="bool" overloaded="no"> | |
16008 | <autodoc>EmulateKeyPress(KeyEvent event) -> bool</autodoc> | |
16009 | <paramlist> | |
16010 | <param name="event" type="KeyEvent" default=""/> | |
16011 | </paramlist> | |
16012 | </method> | |
16013 | <method name="SetStyle" type="bool" overloaded="no"> | |
16014 | <autodoc>SetStyle(long start, long end, TextAttr style) -> bool</autodoc> | |
16015 | <paramlist> | |
16016 | <param name="start" type="long" default=""/> | |
16017 | <param name="end" type="long" default=""/> | |
16018 | <param name="style" type="TextAttr" default=""/> | |
16019 | </paramlist> | |
16020 | </method> | |
16021 | <method name="GetStyle" type="bool" overloaded="no"> | |
16022 | <autodoc>GetStyle(long position, TextAttr style) -> bool</autodoc> | |
16023 | <paramlist> | |
16024 | <param name="position" type="long" default=""/> | |
16025 | <param name="style" type="TextAttr" default=""/> | |
16026 | </paramlist> | |
16027 | </method> | |
16028 | <method name="SetDefaultStyle" type="bool" overloaded="no"> | |
16029 | <autodoc>SetDefaultStyle(TextAttr style) -> bool</autodoc> | |
16030 | <paramlist> | |
16031 | <param name="style" type="TextAttr" default=""/> | |
16032 | </paramlist> | |
16033 | </method> | |
16034 | <method name="GetDefaultStyle" type="TextAttr" overloaded="no"> | |
16035 | <autodoc>GetDefaultStyle() -> TextAttr</autodoc> | |
16036 | </method> | |
16037 | <method name="XYToPosition" type="long" overloaded="no"> | |
16038 | <autodoc>XYToPosition(long x, long y) -> long</autodoc> | |
16039 | <paramlist> | |
16040 | <param name="x" type="long" default=""/> | |
16041 | <param name="y" type="long" default=""/> | |
16042 | </paramlist> | |
16043 | </method> | |
16044 | <method name="PositionToXY" type="" overloaded="no"> | |
16045 | <autodoc>PositionToXY(long pos) -> (x, y)</autodoc> | |
16046 | <paramlist> | |
16047 | <param name="pos" type="long" default=""/> | |
16048 | <param name="OUTPUT" type="long" default=""/> | |
16049 | <param name="OUTPUT" type="long" default=""/> | |
16050 | </paramlist> | |
16051 | </method> | |
16052 | <method name="ShowPosition" type="" overloaded="no"> | |
16053 | <autodoc>ShowPosition(long pos)</autodoc> | |
16054 | <paramlist> | |
16055 | <param name="pos" type="long" default=""/> | |
16056 | </paramlist> | |
16057 | </method> | |
16058 | <method name="HitTest" type="wxTextCtrlHitTestResult" overloaded="no"> | |
16059 | <autodoc>HitTest(Point pt) -> (result, row, col)</autodoc> | |
16060 | <docstring>Find the character at position given in pixels. | |
856bf319 RD |
16061 | NB: pt is in device coords (not adjusted for the client area |
16062 | origin nor scrolling)</docstring> | |
f32fc4bc RD |
16063 | <paramlist> |
16064 | <param name="pt" type="Point" default=""/> | |
16065 | <param name="OUTPUT" type="long" default=""/> | |
16066 | <param name="OUTPUT" type="long" default=""/> | |
16067 | </paramlist> | |
16068 | </method> | |
16069 | <method name="Copy" type="" overloaded="no"> | |
16070 | <autodoc>Copy()</autodoc> | |
16071 | </method> | |
16072 | <method name="Cut" type="" overloaded="no"> | |
16073 | <autodoc>Cut()</autodoc> | |
16074 | </method> | |
16075 | <method name="Paste" type="" overloaded="no"> | |
16076 | <autodoc>Paste()</autodoc> | |
16077 | </method> | |
16078 | <method name="CanCopy" type="bool" overloaded="no"> | |
16079 | <autodoc>CanCopy() -> bool</autodoc> | |
16080 | </method> | |
16081 | <method name="CanCut" type="bool" overloaded="no"> | |
16082 | <autodoc>CanCut() -> bool</autodoc> | |
16083 | </method> | |
16084 | <method name="CanPaste" type="bool" overloaded="no"> | |
16085 | <autodoc>CanPaste() -> bool</autodoc> | |
16086 | </method> | |
16087 | <method name="Undo" type="" overloaded="no"> | |
16088 | <autodoc>Undo()</autodoc> | |
16089 | </method> | |
16090 | <method name="Redo" type="" overloaded="no"> | |
16091 | <autodoc>Redo()</autodoc> | |
16092 | </method> | |
16093 | <method name="CanUndo" type="bool" overloaded="no"> | |
16094 | <autodoc>CanUndo() -> bool</autodoc> | |
16095 | </method> | |
16096 | <method name="CanRedo" type="bool" overloaded="no"> | |
16097 | <autodoc>CanRedo() -> bool</autodoc> | |
16098 | </method> | |
16099 | <method name="SetInsertionPoint" type="" overloaded="no"> | |
16100 | <autodoc>SetInsertionPoint(long pos)</autodoc> | |
16101 | <paramlist> | |
16102 | <param name="pos" type="long" default=""/> | |
16103 | </paramlist> | |
16104 | </method> | |
16105 | <method name="SetInsertionPointEnd" type="" overloaded="no"> | |
16106 | <autodoc>SetInsertionPointEnd()</autodoc> | |
16107 | </method> | |
16108 | <method name="GetInsertionPoint" type="long" overloaded="no"> | |
16109 | <autodoc>GetInsertionPoint() -> long</autodoc> | |
16110 | </method> | |
16111 | <method name="GetLastPosition" type="long" overloaded="no"> | |
16112 | <autodoc>GetLastPosition() -> long</autodoc> | |
16113 | </method> | |
16114 | <method name="SetSelection" type="" overloaded="no"> | |
16115 | <autodoc>SetSelection(long from, long to)</autodoc> | |
16116 | <paramlist> | |
16117 | <param name="from" type="long" default=""/> | |
16118 | <param name="to" type="long" default=""/> | |
16119 | </paramlist> | |
16120 | </method> | |
16121 | <method name="SelectAll" type="" overloaded="no"> | |
16122 | <autodoc>SelectAll()</autodoc> | |
16123 | </method> | |
16124 | <method name="SetEditable" type="" overloaded="no"> | |
16125 | <autodoc>SetEditable(bool editable)</autodoc> | |
16126 | <paramlist> | |
16127 | <param name="editable" type="bool" default=""/> | |
16128 | </paramlist> | |
16129 | </method> | |
16130 | <method name="write" type="" overloaded="no"> | |
16131 | <autodoc>write(String text)</autodoc> | |
16132 | <paramlist> | |
16133 | <param name="text" type="String" default=""/> | |
16134 | </paramlist> | |
16135 | </method> | |
16136 | <method name="GetString" type="String" overloaded="no"> | |
16137 | <autodoc>GetString(long from, long to) -> String</autodoc> | |
16138 | <paramlist> | |
16139 | <param name="from" type="long" default=""/> | |
16140 | <param name="to" type="long" default=""/> | |
16141 | </paramlist> | |
16142 | </method> | |
16143 | </class> | |
16144 | <class name="TextUrlEvent" oldname="wxTextUrlEvent" module="controls"> | |
16145 | <baseclass name="CommandEvent"/> | |
16146 | <constructor name="TextUrlEvent" overloaded="no"> | |
16147 | <autodoc>__init__(int winid, MouseEvent evtMouse, long start, long end) -> TextUrlEvent</autodoc> | |
16148 | <paramlist> | |
16149 | <param name="winid" type="int" default=""/> | |
16150 | <param name="evtMouse" type="MouseEvent" default=""/> | |
16151 | <param name="start" type="long" default=""/> | |
16152 | <param name="end" type="long" default=""/> | |
16153 | </paramlist> | |
16154 | </constructor> | |
16155 | <method name="GetMouseEvent" type="MouseEvent" overloaded="no"> | |
16156 | <autodoc>GetMouseEvent() -> MouseEvent</autodoc> | |
16157 | </method> | |
16158 | <method name="GetURLStart" type="long" overloaded="no"> | |
16159 | <autodoc>GetURLStart() -> long</autodoc> | |
16160 | </method> | |
16161 | <method name="GetURLEnd" type="long" overloaded="no"> | |
16162 | <autodoc>GetURLEnd() -> long</autodoc> | |
16163 | </method> | |
16164 | </class> | |
16165 | <pythoncode> | |
856bf319 RD |
16166 | EVT_TEXT = wx.PyEventBinder( wxEVT_COMMAND_TEXT_UPDATED, 1) |
16167 | EVT_TEXT_ENTER = wx.PyEventBinder( wxEVT_COMMAND_TEXT_ENTER, 1) | |
16168 | EVT_TEXT_URL = wx.PyEventBinder( wxEVT_COMMAND_TEXT_URL, 1) | |
16169 | EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1) | |
16170 | </pythoncode> | |
f32fc4bc | 16171 | <pythoncode> |
856bf319 RD |
16172 | #--------------------------------------------------------------------------- |
16173 | </pythoncode> | |
f32fc4bc RD |
16174 | <class name="ScrollBar" oldname="wxScrollBar" module="controls"> |
16175 | <baseclass name="Control"/> | |
16176 | <constructor name="ScrollBar" overloaded="no"> | |
16177 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
856bf319 RD |
16178 | Size size=DefaultSize, long style=SB_HORIZONTAL, |
16179 | Validator validator=DefaultValidator, String name=ScrollBarNameStr) -> ScrollBar</autodoc> | |
f32fc4bc RD |
16180 | <paramlist> |
16181 | <param name="parent" type="Window" default=""/> | |
16182 | <param name="id" type="int" default="-1"/> | |
16183 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16184 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16185 | <param name="style" type="long" default="wxSB_HORIZONTAL"/> | |
16186 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16187 | <param name="name" type="String" default="wxPyScrollBarNameStr"/> | |
16188 | </paramlist> | |
16189 | </constructor> | |
16190 | <constructor name="PreScrollBar" overloaded="no"> | |
16191 | <autodoc>PreScrollBar() -> ScrollBar</autodoc> | |
16192 | </constructor> | |
16193 | <method name="Create" type="bool" overloaded="no"> | |
16194 | <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, | |
856bf319 RD |
16195 | Size size=DefaultSize, long style=SB_HORIZONTAL, |
16196 | Validator validator=DefaultValidator, String name=ScrollBarNameStr) -> bool</autodoc> | |
c2dda882 | 16197 | <docstring>Do the 2nd phase and create the GUI control.</docstring> |
f32fc4bc RD |
16198 | <paramlist> |
16199 | <param name="parent" type="Window" default=""/> | |
16200 | <param name="id" type="int" default="-1"/> | |
16201 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16202 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16203 | <param name="style" type="long" default="wxSB_HORIZONTAL"/> | |
16204 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16205 | <param name="name" type="String" default="wxPyScrollBarNameStr"/> | |
16206 | </paramlist> | |
16207 | </method> | |
16208 | <method name="GetThumbPosition" type="int" overloaded="no"> | |
16209 | <autodoc>GetThumbPosition() -> int</autodoc> | |
16210 | </method> | |
16211 | <method name="GetThumbSize" type="int" overloaded="no"> | |
16212 | <autodoc>GetThumbSize() -> int</autodoc> | |
16213 | </method> | |
16214 | <method name="GetPageSize" type="int" overloaded="no"> | |
16215 | <autodoc>GetPageSize() -> int</autodoc> | |
16216 | </method> | |
16217 | <method name="GetRange" type="int" overloaded="no"> | |
16218 | <autodoc>GetRange() -> int</autodoc> | |
16219 | </method> | |
16220 | <method name="IsVertical" type="bool" overloaded="no"> | |
16221 | <autodoc>IsVertical() -> bool</autodoc> | |
16222 | </method> | |
16223 | <method name="SetThumbPosition" type="" overloaded="no"> | |
16224 | <autodoc>SetThumbPosition(int viewStart)</autodoc> | |
16225 | <paramlist> | |
16226 | <param name="viewStart" type="int" default=""/> | |
16227 | </paramlist> | |
16228 | </method> | |
16229 | <method name="SetScrollbar" type="" overloaded="no"> | |
16230 | <autodoc>SetScrollbar(int position, int thumbSize, int range, int pageSize, | |
856bf319 | 16231 | bool refresh=True)</autodoc> |
c2dda882 RD |
16232 | <docstring>Sets the scrollbar properties of a built-in scrollbar. |
16233 | ||
16234 | orientation: Determines the scrollbar whose page size is to be | |
16235 | set. May be wx.HORIZONTAL or wx.VERTICAL. | |
16236 | ||
16237 | position: The position of the scrollbar in scroll units. | |
16238 | ||
16239 | thumbSize: The size of the thumb, or visible portion of the | |
16240 | scrollbar, in scroll units. | |
16241 | ||
16242 | range: The maximum position of the scrollbar. | |
16243 | ||
16244 | refresh: True to redraw the scrollbar, false otherwise.</docstring> | |
f32fc4bc RD |
16245 | <paramlist> |
16246 | <param name="position" type="int" default=""/> | |
16247 | <param name="thumbSize" type="int" default=""/> | |
16248 | <param name="range" type="int" default=""/> | |
16249 | <param name="pageSize" type="int" default=""/> | |
16250 | <param name="refresh" type="bool" default="True"/> | |
16251 | </paramlist> | |
16252 | </method> | |
16253 | </class> | |
16254 | <pythoncode> | |
0f43fbdf RD |
16255 | #--------------------------------------------------------------------------- |
16256 | </pythoncode> | |
f32fc4bc RD |
16257 | <class name="SpinButton" oldname="wxSpinButton" module="controls"> |
16258 | <baseclass name="Control"/> | |
16259 | <constructor name="SpinButton" overloaded="no"> | |
16260 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
856bf319 RD |
16261 | Size size=DefaultSize, long style=SP_HORIZONTAL, |
16262 | String name=SPIN_BUTTON_NAME) -> SpinButton</autodoc> | |
f32fc4bc RD |
16263 | <paramlist> |
16264 | <param name="parent" type="Window" default=""/> | |
16265 | <param name="id" type="int" default="-1"/> | |
16266 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16267 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16268 | <param name="style" type="long" default="wxSP_HORIZONTAL"/> | |
16269 | <param name="name" type="String" default="wxPySPIN_BUTTON_NAME"/> | |
16270 | </paramlist> | |
16271 | </constructor> | |
16272 | <constructor name="PreSpinButton" overloaded="no"> | |
16273 | <autodoc>PreSpinButton() -> SpinButton</autodoc> | |
16274 | </constructor> | |
16275 | <method name="Create" type="bool" overloaded="no"> | |
16276 | <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, | |
856bf319 RD |
16277 | Size size=DefaultSize, long style=SP_HORIZONTAL, |
16278 | String name=SPIN_BUTTON_NAME) -> bool</autodoc> | |
f32fc4bc RD |
16279 | <paramlist> |
16280 | <param name="parent" type="Window" default=""/> | |
16281 | <param name="id" type="int" default="-1"/> | |
16282 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16283 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16284 | <param name="style" type="long" default="wxSP_HORIZONTAL"/> | |
16285 | <param name="name" type="String" default="wxPySPIN_BUTTON_NAME"/> | |
16286 | </paramlist> | |
16287 | </method> | |
16288 | <method name="GetValue" type="int" overloaded="no"> | |
16289 | <autodoc>GetValue() -> int</autodoc> | |
16290 | </method> | |
16291 | <method name="GetMin" type="int" overloaded="no"> | |
16292 | <autodoc>GetMin() -> int</autodoc> | |
16293 | </method> | |
16294 | <method name="GetMax" type="int" overloaded="no"> | |
16295 | <autodoc>GetMax() -> int</autodoc> | |
16296 | </method> | |
16297 | <method name="SetValue" type="" overloaded="no"> | |
16298 | <autodoc>SetValue(int val)</autodoc> | |
16299 | <paramlist> | |
16300 | <param name="val" type="int" default=""/> | |
16301 | </paramlist> | |
16302 | </method> | |
16303 | <method name="SetMin" type="" overloaded="no"> | |
16304 | <autodoc>SetMin(int minVal)</autodoc> | |
16305 | <paramlist> | |
16306 | <param name="minVal" type="int" default=""/> | |
16307 | </paramlist> | |
16308 | </method> | |
16309 | <method name="SetMax" type="" overloaded="no"> | |
16310 | <autodoc>SetMax(int maxVal)</autodoc> | |
16311 | <paramlist> | |
16312 | <param name="maxVal" type="int" default=""/> | |
16313 | </paramlist> | |
16314 | </method> | |
16315 | <method name="SetRange" type="" overloaded="no"> | |
16316 | <autodoc>SetRange(int minVal, int maxVal)</autodoc> | |
16317 | <paramlist> | |
16318 | <param name="minVal" type="int" default=""/> | |
16319 | <param name="maxVal" type="int" default=""/> | |
16320 | </paramlist> | |
16321 | </method> | |
16322 | <method name="IsVertical" type="bool" overloaded="no"> | |
16323 | <autodoc>IsVertical() -> bool</autodoc> | |
16324 | </method> | |
16325 | </class> | |
16326 | <class name="SpinCtrl" oldname="wxSpinCtrl" module="controls"> | |
16327 | <baseclass name="Control"/> | |
16328 | <constructor name="SpinCtrl" overloaded="no"> | |
16329 | <autodoc>__init__(Window parent, int id=-1, String value=EmptyString, | |
856bf319 RD |
16330 | Point pos=DefaultPosition, Size size=DefaultSize, |
16331 | long style=SP_ARROW_KEYS, int min=0, int max=100, | |
16332 | int initial=0, String name=SpinCtrlNameStr) -> SpinCtrl</autodoc> | |
f32fc4bc RD |
16333 | <paramlist> |
16334 | <param name="parent" type="Window" default=""/> | |
16335 | <param name="id" type="int" default="-1"/> | |
16336 | <param name="value" type="String" default="wxPyEmptyString"/> | |
16337 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16338 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16339 | <param name="style" type="long" default="wxSP_ARROW_KEYS"/> | |
16340 | <param name="min" type="int" default="0"/> | |
16341 | <param name="max" type="int" default="100"/> | |
16342 | <param name="initial" type="int" default="0"/> | |
16343 | <param name="name" type="String" default="wxPySpinCtrlNameStr"/> | |
16344 | </paramlist> | |
16345 | </constructor> | |
16346 | <constructor name="PreSpinCtrl" overloaded="no"> | |
16347 | <autodoc>PreSpinCtrl() -> SpinCtrl</autodoc> | |
16348 | </constructor> | |
16349 | <method name="Create" type="bool" overloaded="no"> | |
16350 | <autodoc>Create(Window parent, int id=-1, String value=EmptyString, | |
856bf319 RD |
16351 | Point pos=DefaultPosition, Size size=DefaultSize, |
16352 | long style=SP_ARROW_KEYS, int min=0, int max=100, | |
16353 | int initial=0, String name=SpinCtrlNameStr) -> bool</autodoc> | |
f32fc4bc RD |
16354 | <paramlist> |
16355 | <param name="parent" type="Window" default=""/> | |
16356 | <param name="id" type="int" default="-1"/> | |
16357 | <param name="value" type="String" default="wxPyEmptyString"/> | |
16358 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16359 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16360 | <param name="style" type="long" default="wxSP_ARROW_KEYS"/> | |
16361 | <param name="min" type="int" default="0"/> | |
16362 | <param name="max" type="int" default="100"/> | |
16363 | <param name="initial" type="int" default="0"/> | |
16364 | <param name="name" type="String" default="wxPySpinCtrlNameStr"/> | |
16365 | </paramlist> | |
16366 | </method> | |
16367 | <method name="GetValue" type="int" overloaded="no"> | |
16368 | <autodoc>GetValue() -> int</autodoc> | |
16369 | </method> | |
16370 | <method name="SetValue" type="" overloaded="no"> | |
16371 | <autodoc>SetValue(int value)</autodoc> | |
16372 | <paramlist> | |
16373 | <param name="value" type="int" default=""/> | |
16374 | </paramlist> | |
16375 | </method> | |
16376 | <method name="SetValueString" type="" overloaded="no"> | |
16377 | <autodoc>SetValueString(String text)</autodoc> | |
16378 | <paramlist> | |
16379 | <param name="text" type="String" default=""/> | |
16380 | </paramlist> | |
16381 | </method> | |
16382 | <method name="SetRange" type="" overloaded="no"> | |
16383 | <autodoc>SetRange(int minVal, int maxVal)</autodoc> | |
16384 | <paramlist> | |
16385 | <param name="minVal" type="int" default=""/> | |
16386 | <param name="maxVal" type="int" default=""/> | |
16387 | </paramlist> | |
16388 | </method> | |
16389 | <method name="GetMin" type="int" overloaded="no"> | |
16390 | <autodoc>GetMin() -> int</autodoc> | |
16391 | </method> | |
16392 | <method name="GetMax" type="int" overloaded="no"> | |
16393 | <autodoc>GetMax() -> int</autodoc> | |
16394 | </method> | |
16395 | <method name="SetSelection" type="" overloaded="no"> | |
16396 | <autodoc>SetSelection(long from, long to)</autodoc> | |
16397 | <paramlist> | |
16398 | <param name="from" type="long" default=""/> | |
16399 | <param name="to" type="long" default=""/> | |
16400 | </paramlist> | |
16401 | </method> | |
16402 | </class> | |
16403 | <class name="SpinEvent" oldname="wxSpinEvent" module="controls"> | |
16404 | <baseclass name="NotifyEvent"/> | |
16405 | <constructor name="SpinEvent" overloaded="no"> | |
16406 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int winid=0) -> SpinEvent</autodoc> | |
16407 | <paramlist> | |
16408 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
16409 | <param name="winid" type="int" default="0"/> | |
16410 | </paramlist> | |
16411 | </constructor> | |
16412 | <method name="GetPosition" type="int" overloaded="no"> | |
16413 | <autodoc>GetPosition() -> int</autodoc> | |
16414 | </method> | |
16415 | <method name="SetPosition" type="" overloaded="no"> | |
16416 | <autodoc>SetPosition(int pos)</autodoc> | |
16417 | <paramlist> | |
16418 | <param name="pos" type="int" default=""/> | |
16419 | </paramlist> | |
16420 | </method> | |
16421 | </class> | |
16422 | <pythoncode> | |
856bf319 RD |
16423 | EVT_SPIN_UP = wx.PyEventBinder( wx.wxEVT_SCROLL_LINEUP, 1) |
16424 | EVT_SPIN_DOWN = wx.PyEventBinder( wx.wxEVT_SCROLL_LINEDOWN, 1) | |
16425 | EVT_SPIN = wx.PyEventBinder( wx.wxEVT_SCROLL_THUMBTRACK, 1) | |
16426 | EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) | |
16427 | </pythoncode> | |
f32fc4bc | 16428 | <pythoncode> |
0f43fbdf RD |
16429 | #--------------------------------------------------------------------------- |
16430 | </pythoncode> | |
f32fc4bc RD |
16431 | <class name="RadioBox" oldname="wxRadioBox" module="controls"> |
16432 | <baseclass name="Control"/> | |
16433 | <constructor name="RadioBox" overloaded="no"> | |
16434 | <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
16435 | Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray, |
16436 | int majorDimension=0, | |
16437 | long style=RA_HORIZONTAL, Validator validator=DefaultValidator, | |
16438 | String name=RadioBoxNameStr) -> RadioBox</autodoc> | |
f32fc4bc RD |
16439 | <paramlist> |
16440 | <param name="parent" type="Window" default=""/> | |
16441 | <param name="id" type="int" default=""/> | |
16442 | <param name="label" type="String" default=""/> | |
16443 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16444 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16445 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
16446 | <param name="majorDimension" type="int" default="0"/> | |
16447 | <param name="style" type="long" default="wxRA_HORIZONTAL"/> | |
16448 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16449 | <param name="name" type="String" default="wxPyRadioBoxNameStr"/> | |
16450 | </paramlist> | |
16451 | </constructor> | |
16452 | <constructor name="PreRadioBox" overloaded="no"> | |
16453 | <autodoc>PreRadioBox() -> RadioBox</autodoc> | |
16454 | </constructor> | |
16455 | <method name="Create" type="bool" overloaded="no"> | |
16456 | <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
16457 | Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray, |
16458 | int majorDimension=0, | |
16459 | long style=RA_HORIZONTAL, Validator validator=DefaultValidator, | |
16460 | String name=RadioBoxNameStr) -> bool</autodoc> | |
f32fc4bc RD |
16461 | <paramlist> |
16462 | <param name="parent" type="Window" default=""/> | |
16463 | <param name="id" type="int" default=""/> | |
16464 | <param name="label" type="String" default=""/> | |
16465 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16466 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16467 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
16468 | <param name="majorDimension" type="int" default="0"/> | |
16469 | <param name="style" type="long" default="wxRA_HORIZONTAL"/> | |
16470 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16471 | <param name="name" type="String" default="wxPyRadioBoxNameStr"/> | |
16472 | </paramlist> | |
16473 | </method> | |
16474 | <method name="SetSelection" type="" overloaded="no"> | |
16475 | <autodoc>SetSelection(int n)</autodoc> | |
16476 | <paramlist> | |
16477 | <param name="n" type="int" default=""/> | |
16478 | </paramlist> | |
16479 | </method> | |
16480 | <method name="GetSelection" type="int" overloaded="no"> | |
16481 | <autodoc>GetSelection() -> int</autodoc> | |
16482 | </method> | |
16483 | <method name="GetStringSelection" type="String" overloaded="no"> | |
16484 | <autodoc>GetStringSelection() -> String</autodoc> | |
16485 | </method> | |
16486 | <method name="SetStringSelection" type="bool" overloaded="no"> | |
16487 | <autodoc>SetStringSelection(String s) -> bool</autodoc> | |
16488 | <paramlist> | |
16489 | <param name="s" type="String" default=""/> | |
16490 | </paramlist> | |
16491 | </method> | |
16492 | <method name="GetCount" type="int" overloaded="no"> | |
16493 | <autodoc>GetCount() -> int</autodoc> | |
16494 | </method> | |
16495 | <method name="FindString" type="int" overloaded="no"> | |
16496 | <autodoc>FindString(String s) -> int</autodoc> | |
16497 | <paramlist> | |
16498 | <param name="s" type="String" default=""/> | |
16499 | </paramlist> | |
16500 | </method> | |
16501 | <method name="GetString" type="String" overloaded="no"> | |
16502 | <autodoc>GetString(int n) -> String</autodoc> | |
16503 | <paramlist> | |
16504 | <param name="n" type="int" default=""/> | |
16505 | </paramlist> | |
16506 | </method> | |
16507 | <method name="SetString" type="" overloaded="no"> | |
16508 | <autodoc>SetString(int n, String label)</autodoc> | |
16509 | <paramlist> | |
16510 | <param name="n" type="int" default=""/> | |
16511 | <param name="label" type="String" default=""/> | |
16512 | </paramlist> | |
16513 | </method> | |
16514 | <method name="EnableItem" type="" overloaded="no"> | |
16515 | <autodoc>EnableItem(int n, bool enable=True)</autodoc> | |
16516 | <paramlist> | |
16517 | <param name="n" type="int" default=""/> | |
16518 | <param name="enable" type="bool" default="True"/> | |
16519 | </paramlist> | |
16520 | </method> | |
16521 | <method name="ShowItem" type="" overloaded="no"> | |
16522 | <autodoc>ShowItem(int n, bool show=True)</autodoc> | |
16523 | <paramlist> | |
16524 | <param name="n" type="int" default=""/> | |
16525 | <param name="show" type="bool" default="True"/> | |
16526 | </paramlist> | |
16527 | </method> | |
16528 | <method name="GetColumnCount" type="int" overloaded="no"> | |
16529 | <autodoc>GetColumnCount() -> int</autodoc> | |
16530 | </method> | |
16531 | <method name="GetRowCount" type="int" overloaded="no"> | |
16532 | <autodoc>GetRowCount() -> int</autodoc> | |
16533 | </method> | |
16534 | <method name="GetNextItem" type="int" overloaded="no"> | |
16535 | <autodoc>GetNextItem(int item, int dir, long style) -> int</autodoc> | |
16536 | <paramlist> | |
16537 | <param name="item" type="int" default=""/> | |
16538 | <param name="dir" type="wxDirection" default=""/> | |
16539 | <param name="style" type="long" default=""/> | |
16540 | </paramlist> | |
16541 | </method> | |
16542 | </class> | |
16543 | <pythoncode> | |
0f43fbdf RD |
16544 | #--------------------------------------------------------------------------- |
16545 | </pythoncode> | |
f32fc4bc RD |
16546 | <class name="RadioButton" oldname="wxRadioButton" module="controls"> |
16547 | <baseclass name="Control"/> | |
16548 | <constructor name="RadioButton" overloaded="no"> | |
16549 | <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
16550 | Size size=DefaultSize, long style=0, |
16551 | Validator validator=DefaultValidator, String name=RadioButtonNameStr) -> RadioButton</autodoc> | |
f32fc4bc RD |
16552 | <paramlist> |
16553 | <param name="parent" type="Window" default=""/> | |
16554 | <param name="id" type="int" default=""/> | |
16555 | <param name="label" type="String" default=""/> | |
16556 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16557 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16558 | <param name="style" type="long" default="0"/> | |
16559 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16560 | <param name="name" type="String" default="wxPyRadioButtonNameStr"/> | |
16561 | </paramlist> | |
16562 | </constructor> | |
16563 | <constructor name="PreRadioButton" overloaded="no"> | |
16564 | <autodoc>PreRadioButton() -> RadioButton</autodoc> | |
16565 | </constructor> | |
16566 | <method name="Create" type="bool" overloaded="no"> | |
16567 | <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
16568 | Size size=DefaultSize, long style=0, |
16569 | Validator validator=DefaultValidator, String name=RadioButtonNameStr) -> bool</autodoc> | |
f32fc4bc RD |
16570 | <paramlist> |
16571 | <param name="parent" type="Window" default=""/> | |
16572 | <param name="id" type="int" default=""/> | |
16573 | <param name="label" type="String" default=""/> | |
16574 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16575 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16576 | <param name="style" type="long" default="0"/> | |
16577 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16578 | <param name="name" type="String" default="wxPyRadioButtonNameStr"/> | |
16579 | </paramlist> | |
16580 | </method> | |
16581 | <method name="GetValue" type="bool" overloaded="no"> | |
16582 | <autodoc>GetValue() -> bool</autodoc> | |
16583 | </method> | |
16584 | <method name="SetValue" type="" overloaded="no"> | |
16585 | <autodoc>SetValue(bool value)</autodoc> | |
16586 | <paramlist> | |
16587 | <param name="value" type="bool" default=""/> | |
16588 | </paramlist> | |
16589 | </method> | |
16590 | </class> | |
16591 | <pythoncode> | |
0f43fbdf RD |
16592 | #--------------------------------------------------------------------------- |
16593 | </pythoncode> | |
f32fc4bc RD |
16594 | <class name="Slider" oldname="wxSlider" module="controls"> |
16595 | <baseclass name="Control"/> | |
16596 | <constructor name="Slider" overloaded="no"> | |
16597 | <autodoc>__init__(Window parent, int id, int value, int minValue, int maxValue, | |
856bf319 RD |
16598 | Point pos=DefaultPosition, Size size=DefaultSize, |
16599 | long style=SL_HORIZONTAL, Validator validator=DefaultValidator, | |
16600 | String name=SliderNameStr) -> Slider</autodoc> | |
f32fc4bc RD |
16601 | <paramlist> |
16602 | <param name="parent" type="Window" default=""/> | |
16603 | <param name="id" type="int" default=""/> | |
16604 | <param name="value" type="int" default=""/> | |
16605 | <param name="minValue" type="int" default=""/> | |
16606 | <param name="maxValue" type="int" default=""/> | |
16607 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16608 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16609 | <param name="style" type="long" default="wxSL_HORIZONTAL"/> | |
16610 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16611 | <param name="name" type="String" default="wxPySliderNameStr"/> | |
16612 | </paramlist> | |
16613 | </constructor> | |
16614 | <constructor name="PreSlider" overloaded="no"> | |
16615 | <autodoc>PreSlider() -> Slider</autodoc> | |
16616 | </constructor> | |
16617 | <method name="Create" type="bool" overloaded="no"> | |
16618 | <autodoc>Create(Window parent, int id, int value, int minValue, int maxValue, | |
856bf319 RD |
16619 | Point pos=DefaultPosition, Size size=DefaultSize, |
16620 | long style=SL_HORIZONTAL, Validator validator=DefaultValidator, | |
16621 | String name=SliderNameStr) -> bool</autodoc> | |
f32fc4bc RD |
16622 | <paramlist> |
16623 | <param name="parent" type="Window" default=""/> | |
16624 | <param name="id" type="int" default=""/> | |
16625 | <param name="value" type="int" default=""/> | |
16626 | <param name="minValue" type="int" default=""/> | |
16627 | <param name="maxValue" type="int" default=""/> | |
16628 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16629 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16630 | <param name="style" type="long" default="wxSL_HORIZONTAL"/> | |
16631 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16632 | <param name="name" type="String" default="wxPySliderNameStr"/> | |
16633 | </paramlist> | |
16634 | </method> | |
16635 | <method name="GetValue" type="int" overloaded="no"> | |
16636 | <autodoc>GetValue() -> int</autodoc> | |
16637 | </method> | |
16638 | <method name="SetValue" type="" overloaded="no"> | |
16639 | <autodoc>SetValue(int value)</autodoc> | |
16640 | <paramlist> | |
16641 | <param name="value" type="int" default=""/> | |
16642 | </paramlist> | |
16643 | </method> | |
16644 | <method name="SetRange" type="" overloaded="no"> | |
16645 | <autodoc>SetRange(int minValue, int maxValue)</autodoc> | |
16646 | <paramlist> | |
16647 | <param name="minValue" type="int" default=""/> | |
16648 | <param name="maxValue" type="int" default=""/> | |
16649 | </paramlist> | |
16650 | </method> | |
16651 | <method name="GetMin" type="int" overloaded="no"> | |
16652 | <autodoc>GetMin() -> int</autodoc> | |
16653 | </method> | |
16654 | <method name="GetMax" type="int" overloaded="no"> | |
16655 | <autodoc>GetMax() -> int</autodoc> | |
16656 | </method> | |
16657 | <method name="SetMin" type="" overloaded="no"> | |
16658 | <autodoc>SetMin(int minValue)</autodoc> | |
16659 | <paramlist> | |
16660 | <param name="minValue" type="int" default=""/> | |
16661 | </paramlist> | |
16662 | </method> | |
16663 | <method name="SetMax" type="" overloaded="no"> | |
16664 | <autodoc>SetMax(int maxValue)</autodoc> | |
16665 | <paramlist> | |
16666 | <param name="maxValue" type="int" default=""/> | |
16667 | </paramlist> | |
16668 | </method> | |
16669 | <method name="SetLineSize" type="" overloaded="no"> | |
16670 | <autodoc>SetLineSize(int lineSize)</autodoc> | |
16671 | <paramlist> | |
16672 | <param name="lineSize" type="int" default=""/> | |
16673 | </paramlist> | |
16674 | </method> | |
16675 | <method name="SetPageSize" type="" overloaded="no"> | |
16676 | <autodoc>SetPageSize(int pageSize)</autodoc> | |
16677 | <paramlist> | |
16678 | <param name="pageSize" type="int" default=""/> | |
16679 | </paramlist> | |
16680 | </method> | |
16681 | <method name="GetLineSize" type="int" overloaded="no"> | |
16682 | <autodoc>GetLineSize() -> int</autodoc> | |
16683 | </method> | |
16684 | <method name="GetPageSize" type="int" overloaded="no"> | |
16685 | <autodoc>GetPageSize() -> int</autodoc> | |
16686 | </method> | |
16687 | <method name="SetThumbLength" type="" overloaded="no"> | |
16688 | <autodoc>SetThumbLength(int lenPixels)</autodoc> | |
16689 | <paramlist> | |
16690 | <param name="lenPixels" type="int" default=""/> | |
16691 | </paramlist> | |
16692 | </method> | |
16693 | <method name="GetThumbLength" type="int" overloaded="no"> | |
16694 | <autodoc>GetThumbLength() -> int</autodoc> | |
16695 | </method> | |
16696 | <method name="SetTickFreq" type="" overloaded="no"> | |
16697 | <autodoc>SetTickFreq(int n, int pos=1)</autodoc> | |
16698 | <paramlist> | |
16699 | <param name="n" type="int" default=""/> | |
16700 | <param name="pos" type="int" default="1"/> | |
16701 | </paramlist> | |
16702 | </method> | |
16703 | <method name="GetTickFreq" type="int" overloaded="no"> | |
16704 | <autodoc>GetTickFreq() -> int</autodoc> | |
16705 | </method> | |
16706 | <method name="ClearTicks" type="" overloaded="no"> | |
16707 | <autodoc>ClearTicks()</autodoc> | |
16708 | </method> | |
16709 | <method name="SetTick" type="" overloaded="no"> | |
16710 | <autodoc>SetTick(int tickPos)</autodoc> | |
16711 | <paramlist> | |
16712 | <param name="tickPos" type="int" default=""/> | |
16713 | </paramlist> | |
16714 | </method> | |
16715 | <method name="ClearSel" type="" overloaded="no"> | |
16716 | <autodoc>ClearSel()</autodoc> | |
16717 | </method> | |
16718 | <method name="GetSelEnd" type="int" overloaded="no"> | |
16719 | <autodoc>GetSelEnd() -> int</autodoc> | |
16720 | </method> | |
16721 | <method name="GetSelStart" type="int" overloaded="no"> | |
16722 | <autodoc>GetSelStart() -> int</autodoc> | |
16723 | </method> | |
16724 | <method name="SetSelection" type="" overloaded="no"> | |
16725 | <autodoc>SetSelection(int min, int max)</autodoc> | |
16726 | <paramlist> | |
16727 | <param name="min" type="int" default=""/> | |
16728 | <param name="max" type="int" default=""/> | |
16729 | </paramlist> | |
16730 | </method> | |
16731 | </class> | |
16732 | <pythoncode> | |
0f43fbdf RD |
16733 | #--------------------------------------------------------------------------- |
16734 | </pythoncode> | |
f32fc4bc | 16735 | <pythoncode> |
856bf319 | 16736 | EVT_TOGGLEBUTTON = wx.PyEventBinder( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 1) |
0f43fbdf | 16737 | </pythoncode> |
f32fc4bc RD |
16738 | <class name="ToggleButton" oldname="wxToggleButton" module="controls"> |
16739 | <baseclass name="Control"/> | |
16740 | <constructor name="ToggleButton" overloaded="no"> | |
16741 | <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
16742 | Size size=DefaultSize, long style=0, |
16743 | Validator validator=DefaultValidator, String name=ToggleButtonNameStr) -> ToggleButton</autodoc> | |
f32fc4bc RD |
16744 | <paramlist> |
16745 | <param name="parent" type="Window" default=""/> | |
16746 | <param name="id" type="int" default=""/> | |
16747 | <param name="label" type="String" default=""/> | |
16748 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16749 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16750 | <param name="style" type="long" default="0"/> | |
16751 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16752 | <param name="name" type="String" default="wxPyToggleButtonNameStr"/> | |
16753 | </paramlist> | |
16754 | </constructor> | |
16755 | <constructor name="PreToggleButton" overloaded="no"> | |
16756 | <autodoc>PreToggleButton() -> ToggleButton</autodoc> | |
16757 | </constructor> | |
16758 | <method name="Create" type="bool" overloaded="no"> | |
16759 | <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition, | |
856bf319 RD |
16760 | Size size=DefaultSize, long style=0, |
16761 | Validator validator=DefaultValidator, String name=ToggleButtonNameStr) -> bool</autodoc> | |
f32fc4bc RD |
16762 | <paramlist> |
16763 | <param name="parent" type="Window" default=""/> | |
16764 | <param name="id" type="int" default=""/> | |
16765 | <param name="label" type="String" default=""/> | |
16766 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16767 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16768 | <param name="style" type="long" default="0"/> | |
16769 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16770 | <param name="name" type="String" default="wxPyToggleButtonNameStr"/> | |
16771 | </paramlist> | |
16772 | </method> | |
16773 | <method name="SetValue" type="" overloaded="no"> | |
16774 | <autodoc>SetValue(bool value)</autodoc> | |
16775 | <paramlist> | |
16776 | <param name="value" type="bool" default=""/> | |
16777 | </paramlist> | |
16778 | </method> | |
16779 | <method name="GetValue" type="bool" overloaded="no"> | |
16780 | <autodoc>GetValue() -> bool</autodoc> | |
16781 | </method> | |
16782 | <method name="SetLabel" type="" overloaded="no"> | |
16783 | <autodoc>SetLabel(String label)</autodoc> | |
c2dda882 | 16784 | <docstring>Sets the item's text.</docstring> |
f32fc4bc RD |
16785 | <paramlist> |
16786 | <param name="label" type="String" default=""/> | |
16787 | </paramlist> | |
16788 | </method> | |
16789 | </class> | |
16790 | <pythoncode> | |
0f43fbdf RD |
16791 | #--------------------------------------------------------------------------- |
16792 | </pythoncode> | |
f32fc4bc RD |
16793 | <class name="BookCtrl" oldname="wxBookCtrl" module="controls"> |
16794 | <baseclass name="Control"/> | |
16795 | <method name="GetPageCount" type="size_t" overloaded="no"> | |
16796 | <autodoc>GetPageCount() -> size_t</autodoc> | |
16797 | </method> | |
16798 | <method name="GetPage" type="Window" overloaded="no"> | |
16799 | <autodoc>GetPage(size_t n) -> Window</autodoc> | |
16800 | <paramlist> | |
16801 | <param name="n" type="size_t" default=""/> | |
16802 | </paramlist> | |
16803 | </method> | |
16804 | <method name="GetSelection" type="int" overloaded="no"> | |
16805 | <autodoc>GetSelection() -> int</autodoc> | |
16806 | </method> | |
16807 | <method name="SetPageText" type="bool" overloaded="no"> | |
16808 | <autodoc>SetPageText(size_t n, String strText) -> bool</autodoc> | |
16809 | <paramlist> | |
16810 | <param name="n" type="size_t" default=""/> | |
16811 | <param name="strText" type="String" default=""/> | |
16812 | </paramlist> | |
16813 | </method> | |
16814 | <method name="GetPageText" type="String" overloaded="no"> | |
16815 | <autodoc>GetPageText(size_t n) -> String</autodoc> | |
16816 | <paramlist> | |
16817 | <param name="n" type="size_t" default=""/> | |
16818 | </paramlist> | |
16819 | </method> | |
16820 | <method name="SetImageList" type="" overloaded="no"> | |
16821 | <autodoc>SetImageList(ImageList imageList)</autodoc> | |
16822 | <paramlist> | |
16823 | <param name="imageList" type="ImageList" default=""/> | |
16824 | </paramlist> | |
16825 | </method> | |
16826 | <method name="AssignImageList" type="" overloaded="no"> | |
16827 | <autodoc>AssignImageList(ImageList imageList)</autodoc> | |
16828 | <paramlist> | |
16829 | <param name="imageList" type="ImageList" default=""/> | |
16830 | </paramlist> | |
16831 | </method> | |
16832 | <method name="GetImageList" type="ImageList" overloaded="no"> | |
16833 | <autodoc>GetImageList() -> ImageList</autodoc> | |
16834 | </method> | |
16835 | <method name="GetPageImage" type="int" overloaded="no"> | |
16836 | <autodoc>GetPageImage(size_t n) -> int</autodoc> | |
16837 | <paramlist> | |
16838 | <param name="n" type="size_t" default=""/> | |
16839 | </paramlist> | |
16840 | </method> | |
16841 | <method name="SetPageImage" type="bool" overloaded="no"> | |
16842 | <autodoc>SetPageImage(size_t n, int imageId) -> bool</autodoc> | |
16843 | <paramlist> | |
16844 | <param name="n" type="size_t" default=""/> | |
16845 | <param name="imageId" type="int" default=""/> | |
16846 | </paramlist> | |
16847 | </method> | |
16848 | <method name="SetPageSize" type="" overloaded="no"> | |
16849 | <autodoc>SetPageSize(Size size)</autodoc> | |
16850 | <paramlist> | |
16851 | <param name="size" type="Size" default=""/> | |
16852 | </paramlist> | |
16853 | </method> | |
16854 | <method name="CalcSizeFromPage" type="Size" overloaded="no"> | |
16855 | <autodoc>CalcSizeFromPage(Size sizePage) -> Size</autodoc> | |
16856 | <paramlist> | |
16857 | <param name="sizePage" type="Size" default=""/> | |
16858 | </paramlist> | |
16859 | </method> | |
16860 | <method name="DeletePage" type="bool" overloaded="no"> | |
16861 | <autodoc>DeletePage(size_t n) -> bool</autodoc> | |
16862 | <paramlist> | |
16863 | <param name="n" type="size_t" default=""/> | |
16864 | </paramlist> | |
16865 | </method> | |
16866 | <method name="RemovePage" type="bool" overloaded="no"> | |
16867 | <autodoc>RemovePage(size_t n) -> bool</autodoc> | |
16868 | <paramlist> | |
16869 | <param name="n" type="size_t" default=""/> | |
16870 | </paramlist> | |
16871 | </method> | |
16872 | <method name="DeleteAllPages" type="bool" overloaded="no"> | |
16873 | <autodoc>DeleteAllPages() -> bool</autodoc> | |
16874 | </method> | |
16875 | <method name="AddPage" type="bool" overloaded="no"> | |
16876 | <autodoc>AddPage(Window page, String text, bool select=False, int imageId=-1) -> bool</autodoc> | |
16877 | <paramlist> | |
16878 | <param name="page" type="Window" default=""/> | |
16879 | <param name="text" type="String" default=""/> | |
16880 | <param name="select" type="bool" default="False"/> | |
16881 | <param name="imageId" type="int" default="-1"/> | |
16882 | </paramlist> | |
16883 | </method> | |
16884 | <method name="InsertPage" type="bool" overloaded="no"> | |
16885 | <autodoc>InsertPage(size_t n, Window page, String text, bool select=False, | |
856bf319 | 16886 | int imageId=-1) -> bool</autodoc> |
f32fc4bc RD |
16887 | <paramlist> |
16888 | <param name="n" type="size_t" default=""/> | |
16889 | <param name="page" type="Window" default=""/> | |
16890 | <param name="text" type="String" default=""/> | |
16891 | <param name="select" type="bool" default="False"/> | |
16892 | <param name="imageId" type="int" default="-1"/> | |
16893 | </paramlist> | |
16894 | </method> | |
16895 | <method name="SetSelection" type="int" overloaded="no"> | |
16896 | <autodoc>SetSelection(size_t n) -> int</autodoc> | |
16897 | <paramlist> | |
16898 | <param name="n" type="size_t" default=""/> | |
16899 | </paramlist> | |
16900 | </method> | |
16901 | <method name="AdvanceSelection" type="" overloaded="no"> | |
16902 | <autodoc>AdvanceSelection(bool forward=True)</autodoc> | |
16903 | <paramlist> | |
16904 | <param name="forward" type="bool" default="True"/> | |
16905 | </paramlist> | |
16906 | </method> | |
16907 | </class> | |
16908 | <class name="BookCtrlEvent" oldname="wxBookCtrlEvent" module="controls"> | |
16909 | <baseclass name="NotifyEvent"/> | |
16910 | <constructor name="BookCtrlEvent" overloaded="no"> | |
16911 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, | |
856bf319 | 16912 | int nOldSel=-1) -> BookCtrlEvent</autodoc> |
f32fc4bc RD |
16913 | <paramlist> |
16914 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
16915 | <param name="id" type="int" default="0"/> | |
16916 | <param name="nSel" type="int" default="-1"/> | |
16917 | <param name="nOldSel" type="int" default="-1"/> | |
16918 | </paramlist> | |
16919 | </constructor> | |
16920 | <method name="GetSelection" type="int" overloaded="no"> | |
16921 | <autodoc>GetSelection() -> int</autodoc> | |
16922 | </method> | |
16923 | <method name="SetSelection" type="" overloaded="no"> | |
16924 | <autodoc>SetSelection(int nSel)</autodoc> | |
16925 | <paramlist> | |
16926 | <param name="nSel" type="int" default=""/> | |
16927 | </paramlist> | |
16928 | </method> | |
16929 | <method name="GetOldSelection" type="int" overloaded="no"> | |
16930 | <autodoc>GetOldSelection() -> int</autodoc> | |
16931 | </method> | |
16932 | <method name="SetOldSelection" type="" overloaded="no"> | |
16933 | <autodoc>SetOldSelection(int nOldSel)</autodoc> | |
16934 | <paramlist> | |
16935 | <param name="nOldSel" type="int" default=""/> | |
16936 | </paramlist> | |
16937 | </method> | |
16938 | </class> | |
16939 | <pythoncode> | |
0f43fbdf RD |
16940 | #--------------------------------------------------------------------------- |
16941 | </pythoncode> | |
f32fc4bc RD |
16942 | <class name="Notebook" oldname="wxNotebook" module="controls"> |
16943 | <baseclass name="BookCtrl"/> | |
16944 | <constructor name="Notebook" overloaded="no"> | |
368d20e8 RD |
16945 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, |
16946 | Size size=DefaultSize, long style=0, String name=NOTEBOOK_NAME) -> Notebook</autodoc> | |
f32fc4bc RD |
16947 | <paramlist> |
16948 | <param name="parent" type="Window" default=""/> | |
368d20e8 | 16949 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
16950 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
16951 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16952 | <param name="style" type="long" default="0"/> | |
16953 | <param name="name" type="String" default="wxPyNOTEBOOK_NAME"/> | |
16954 | </paramlist> | |
16955 | </constructor> | |
16956 | <constructor name="PreNotebook" overloaded="no"> | |
16957 | <autodoc>PreNotebook() -> Notebook</autodoc> | |
16958 | </constructor> | |
16959 | <method name="Create" type="bool" overloaded="no"> | |
16960 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 | 16961 | long style=0, String name=NOTEBOOK_NAME) -> bool</autodoc> |
f32fc4bc RD |
16962 | <paramlist> |
16963 | <param name="parent" type="Window" default=""/> | |
16964 | <param name="id" type="int" default=""/> | |
16965 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16966 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16967 | <param name="style" type="long" default="0"/> | |
16968 | <param name="name" type="String" default="wxPyNOTEBOOK_NAME"/> | |
16969 | </paramlist> | |
16970 | </method> | |
16971 | <method name="GetRowCount" type="int" overloaded="no"> | |
16972 | <autodoc>GetRowCount() -> int</autodoc> | |
16973 | </method> | |
16974 | <method name="SetPadding" type="" overloaded="no"> | |
16975 | <autodoc>SetPadding(Size padding)</autodoc> | |
16976 | <paramlist> | |
16977 | <param name="padding" type="Size" default=""/> | |
16978 | </paramlist> | |
16979 | </method> | |
16980 | <method name="SetTabSize" type="" overloaded="no"> | |
16981 | <autodoc>SetTabSize(Size sz)</autodoc> | |
16982 | <paramlist> | |
16983 | <param name="sz" type="Size" default=""/> | |
16984 | </paramlist> | |
16985 | </method> | |
16986 | <method name="HitTest" type="int" overloaded="no"> | |
16987 | <autodoc>HitTest(Point pt) -> (tab, where)</autodoc> | |
16988 | <docstring>Returns the tab which is hit, and flags indicating where using wx.NB_HITTEST_ flags.</docstring> | |
16989 | <paramlist> | |
16990 | <param name="pt" type="Point" default=""/> | |
16991 | <param name="OUTPUT" type="long" default=""/> | |
16992 | </paramlist> | |
16993 | </method> | |
16994 | <method name="CalcSizeFromPage" type="Size" overloaded="no"> | |
16995 | <autodoc>CalcSizeFromPage(Size sizePage) -> Size</autodoc> | |
16996 | <paramlist> | |
16997 | <param name="sizePage" type="Size" default=""/> | |
16998 | </paramlist> | |
16999 | </method> | |
17000 | </class> | |
17001 | <class name="NotebookEvent" oldname="wxNotebookEvent" module="controls"> | |
17002 | <baseclass name="BookCtrlEvent"/> | |
17003 | <constructor name="NotebookEvent" overloaded="no"> | |
17004 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, | |
856bf319 | 17005 | int nOldSel=-1) -> NotebookEvent</autodoc> |
f32fc4bc RD |
17006 | <paramlist> |
17007 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
17008 | <param name="id" type="int" default="0"/> | |
17009 | <param name="nSel" type="int" default="-1"/> | |
17010 | <param name="nOldSel" type="int" default="-1"/> | |
17011 | </paramlist> | |
17012 | </constructor> | |
17013 | </class> | |
17014 | <pythoncode> | |
856bf319 RD |
17015 | # wxNotebook events |
17016 | EVT_NOTEBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 1 ) | |
17017 | EVT_NOTEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 1 ) | |
0f43fbdf | 17018 | </pythoncode> |
f32fc4bc | 17019 | <pythoncode> |
856bf319 RD |
17020 | #---------------------------------------------------------------------------- |
17021 | ||
17022 | class NotebookPage(wx.Panel): | |
17023 | """ | |
17024 | There is an old (and apparently unsolvable) bug when placing a | |
17025 | window with a nonstandard background colour in a wxNotebook on | |
17026 | wxGTK, as the notbooks's background colour would always be used | |
17027 | when the window is refreshed. The solution is to place a panel in | |
17028 | the notbook and the coloured window on the panel, sized to cover | |
17029 | the panel. This simple class does that for you, just put an | |
17030 | instance of this in the notebook and make your regular window a | |
17031 | child of this one and it will handle the resize for you. | |
17032 | """ | |
17033 | def __init__(self, parent, id=-1, | |
17034 | pos=wx.DefaultPosition, size=wx.DefaultSize, | |
17035 | style=wx.TAB_TRAVERSAL, name="panel"): | |
17036 | wx.Panel.__init__(self, parent, id, pos, size, style, name) | |
17037 | self.child = None | |
17038 | EVT_SIZE(self, self.OnSize) | |
17039 | ||
17040 | def OnSize(self, evt): | |
17041 | if self.child is None: | |
17042 | children = self.GetChildren() | |
17043 | if len(children): | |
17044 | self.child = children[0] | |
17045 | if self.child: | |
17046 | self.child.SetPosition((0,0)) | |
17047 | self.child.SetSize(self.GetSize()) | |
17048 | ||
0f43fbdf | 17049 | </pythoncode> |
f32fc4bc | 17050 | <pythoncode> |
0f43fbdf RD |
17051 | #--------------------------------------------------------------------------- |
17052 | </pythoncode> | |
f32fc4bc RD |
17053 | <class name="Listbook" oldname="wxListbook" module="controls"> |
17054 | <baseclass name="BookCtrl"/> | |
17055 | <constructor name="Listbook" overloaded="no"> | |
368d20e8 RD |
17056 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, |
17057 | Size size=DefaultSize, long style=0, String name=EmptyString) -> Listbook</autodoc> | |
f32fc4bc RD |
17058 | <paramlist> |
17059 | <param name="parent" type="Window" default=""/> | |
368d20e8 | 17060 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
17061 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
17062 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17063 | <param name="style" type="long" default="0"/> | |
17064 | <param name="name" type="String" default="wxPyEmptyString"/> | |
17065 | </paramlist> | |
17066 | </constructor> | |
17067 | <constructor name="PreListbook" overloaded="no"> | |
17068 | <autodoc>PreListbook() -> Listbook</autodoc> | |
17069 | </constructor> | |
17070 | <method name="Create" type="bool" overloaded="no"> | |
17071 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 | 17072 | long style=0, String name=EmptyString) -> bool</autodoc> |
f32fc4bc RD |
17073 | <paramlist> |
17074 | <param name="parent" type="Window" default=""/> | |
17075 | <param name="id" type="int" default=""/> | |
17076 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
17077 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17078 | <param name="style" type="long" default="0"/> | |
17079 | <param name="name" type="String" default="wxPyEmptyString"/> | |
17080 | </paramlist> | |
17081 | </method> | |
17082 | <method name="IsVertical" type="bool" overloaded="no"> | |
17083 | <autodoc>IsVertical() -> bool</autodoc> | |
17084 | </method> | |
17085 | </class> | |
17086 | <class name="ListbookEvent" oldname="wxListbookEvent" module="controls"> | |
17087 | <baseclass name="BookCtrlEvent"/> | |
17088 | <constructor name="ListbookEvent" overloaded="no"> | |
17089 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, | |
856bf319 | 17090 | int nOldSel=-1) -> ListbookEvent</autodoc> |
f32fc4bc RD |
17091 | <paramlist> |
17092 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
17093 | <param name="id" type="int" default="0"/> | |
17094 | <param name="nSel" type="int" default="-1"/> | |
17095 | <param name="nOldSel" type="int" default="-1"/> | |
17096 | </paramlist> | |
17097 | </constructor> | |
17098 | </class> | |
17099 | <pythoncode> | |
856bf319 RD |
17100 | EVT_LISTBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 1 ) |
17101 | EVT_LISTBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 1 ) | |
0f43fbdf | 17102 | </pythoncode> |
f32fc4bc RD |
17103 | <pythoncode> |
17104 | #--------------------------------------------------------------------------- | |
17105 | </pythoncode> | |
17106 | <class name="BookCtrlSizer" oldname="wxBookCtrlSizer" module="controls"> | |
17107 | <baseclass name="Sizer"/> | |
17108 | <constructor name="BookCtrlSizer" overloaded="no"> | |
17109 | <autodoc>__init__(BookCtrl nb) -> BookCtrlSizer</autodoc> | |
17110 | <paramlist> | |
17111 | <param name="nb" type="BookCtrl" default=""/> | |
17112 | </paramlist> | |
17113 | </constructor> | |
17114 | <method name="RecalcSizes" type="" overloaded="no"> | |
17115 | <autodoc>RecalcSizes()</autodoc> | |
17116 | </method> | |
17117 | <method name="CalcMin" type="Size" overloaded="no"> | |
17118 | <autodoc>CalcMin() -> Size</autodoc> | |
17119 | </method> | |
17120 | <method name="GetControl" type="BookCtrl" overloaded="no"> | |
17121 | <autodoc>GetControl() -> BookCtrl</autodoc> | |
17122 | </method> | |
17123 | </class> | |
17124 | <class name="NotebookSizer" oldname="wxNotebookSizer" module="controls"> | |
17125 | <baseclass name="Sizer"/> | |
17126 | <constructor name="NotebookSizer" overloaded="no"> | |
17127 | <autodoc>__init__(Notebook nb) -> NotebookSizer</autodoc> | |
17128 | <paramlist> | |
17129 | <param name="nb" type="Notebook" default=""/> | |
17130 | </paramlist> | |
17131 | </constructor> | |
17132 | <method name="RecalcSizes" type="" overloaded="no"> | |
17133 | <autodoc>RecalcSizes()</autodoc> | |
17134 | </method> | |
17135 | <method name="CalcMin" type="Size" overloaded="no"> | |
17136 | <autodoc>CalcMin() -> Size</autodoc> | |
17137 | </method> | |
17138 | <method name="GetNotebook" type="Notebook" overloaded="no"> | |
17139 | <autodoc>GetNotebook() -> Notebook</autodoc> | |
17140 | </method> | |
17141 | </class> | |
17142 | <pythoncode> | |
17143 | #--------------------------------------------------------------------------- | |
17144 | </pythoncode> | |
17145 | <class name="ToolBarToolBase" oldname="wxToolBarToolBase" module="controls"> | |
17146 | <baseclass name="Object"/> | |
17147 | <method name="GetId" type="int" overloaded="no"> | |
17148 | <autodoc>GetId() -> int</autodoc> | |
17149 | </method> | |
17150 | <method name="GetControl" type="Control" overloaded="no"> | |
17151 | <autodoc>GetControl() -> Control</autodoc> | |
17152 | </method> | |
17153 | <method name="GetToolBar" type="wxToolBarBase" overloaded="no"> | |
17154 | <autodoc>GetToolBar() -> ToolBarBase</autodoc> | |
17155 | </method> | |
17156 | <method name="IsButton" type="int" overloaded="no"> | |
17157 | <autodoc>IsButton() -> int</autodoc> | |
17158 | </method> | |
17159 | <method name="IsControl" type="int" overloaded="no"> | |
17160 | <autodoc>IsControl() -> int</autodoc> | |
17161 | </method> | |
17162 | <method name="IsSeparator" type="int" overloaded="no"> | |
17163 | <autodoc>IsSeparator() -> int</autodoc> | |
17164 | </method> | |
17165 | <method name="GetStyle" type="int" overloaded="no"> | |
17166 | <autodoc>GetStyle() -> int</autodoc> | |
17167 | </method> | |
17168 | <method name="GetKind" type="wxItemKind" overloaded="no"> | |
17169 | <autodoc>GetKind() -> int</autodoc> | |
17170 | </method> | |
17171 | <method name="IsEnabled" type="bool" overloaded="no"> | |
17172 | <autodoc>IsEnabled() -> bool</autodoc> | |
17173 | </method> | |
17174 | <method name="IsToggled" type="bool" overloaded="no"> | |
17175 | <autodoc>IsToggled() -> bool</autodoc> | |
17176 | </method> | |
17177 | <method name="CanBeToggled" type="bool" overloaded="no"> | |
17178 | <autodoc>CanBeToggled() -> bool</autodoc> | |
17179 | </method> | |
17180 | <method name="GetNormalBitmap" type="Bitmap" overloaded="no"> | |
17181 | <autodoc>GetNormalBitmap() -> Bitmap</autodoc> | |
17182 | </method> | |
17183 | <method name="GetDisabledBitmap" type="Bitmap" overloaded="no"> | |
17184 | <autodoc>GetDisabledBitmap() -> Bitmap</autodoc> | |
17185 | </method> | |
17186 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
17187 | <autodoc>GetBitmap() -> Bitmap</autodoc> | |
17188 | </method> | |
17189 | <method name="GetLabel" type="String" overloaded="no"> | |
17190 | <autodoc>GetLabel() -> String</autodoc> | |
17191 | </method> | |
17192 | <method name="GetShortHelp" type="String" overloaded="no"> | |
17193 | <autodoc>GetShortHelp() -> String</autodoc> | |
17194 | </method> | |
17195 | <method name="GetLongHelp" type="String" overloaded="no"> | |
17196 | <autodoc>GetLongHelp() -> String</autodoc> | |
17197 | </method> | |
17198 | <method name="Enable" type="bool" overloaded="no"> | |
17199 | <autodoc>Enable(bool enable) -> bool</autodoc> | |
17200 | <paramlist> | |
17201 | <param name="enable" type="bool" default=""/> | |
17202 | </paramlist> | |
17203 | </method> | |
17204 | <method name="Toggle" type="" overloaded="no"> | |
17205 | <autodoc>Toggle()</autodoc> | |
17206 | </method> | |
17207 | <method name="SetToggle" type="bool" overloaded="no"> | |
17208 | <autodoc>SetToggle(bool toggle) -> bool</autodoc> | |
17209 | <paramlist> | |
17210 | <param name="toggle" type="bool" default=""/> | |
17211 | </paramlist> | |
17212 | </method> | |
17213 | <method name="SetShortHelp" type="bool" overloaded="no"> | |
17214 | <autodoc>SetShortHelp(String help) -> bool</autodoc> | |
17215 | <paramlist> | |
17216 | <param name="help" type="String" default=""/> | |
17217 | </paramlist> | |
17218 | </method> | |
17219 | <method name="SetLongHelp" type="bool" overloaded="no"> | |
17220 | <autodoc>SetLongHelp(String help) -> bool</autodoc> | |
17221 | <paramlist> | |
17222 | <param name="help" type="String" default=""/> | |
17223 | </paramlist> | |
17224 | </method> | |
17225 | <method name="SetNormalBitmap" type="" overloaded="no"> | |
17226 | <autodoc>SetNormalBitmap(Bitmap bmp)</autodoc> | |
17227 | <paramlist> | |
17228 | <param name="bmp" type="Bitmap" default=""/> | |
17229 | </paramlist> | |
17230 | </method> | |
17231 | <method name="SetDisabledBitmap" type="" overloaded="no"> | |
17232 | <autodoc>SetDisabledBitmap(Bitmap bmp)</autodoc> | |
17233 | <paramlist> | |
17234 | <param name="bmp" type="Bitmap" default=""/> | |
17235 | </paramlist> | |
17236 | </method> | |
17237 | <method name="SetLabel" type="" overloaded="no"> | |
17238 | <autodoc>SetLabel(String label)</autodoc> | |
17239 | <paramlist> | |
17240 | <param name="label" type="String" default=""/> | |
17241 | </paramlist> | |
17242 | </method> | |
17243 | <method name="Detach" type="" overloaded="no"> | |
17244 | <autodoc>Detach()</autodoc> | |
17245 | </method> | |
17246 | <method name="Attach" type="" overloaded="no"> | |
17247 | <autodoc>Attach(ToolBarBase tbar)</autodoc> | |
17248 | <paramlist> | |
17249 | <param name="tbar" type="wxToolBarBase" default=""/> | |
17250 | </paramlist> | |
17251 | </method> | |
17252 | <method name="GetClientData" type="PyObject" overloaded="no"> | |
17253 | <autodoc>GetClientData() -> PyObject</autodoc> | |
17254 | </method> | |
17255 | <method name="SetClientData" type="" overloaded="no"> | |
17256 | <autodoc>SetClientData(PyObject clientData)</autodoc> | |
17257 | <paramlist> | |
17258 | <param name="clientData" type="PyObject" default=""/> | |
17259 | </paramlist> | |
17260 | </method> | |
17261 | </class> | |
17262 | <class name="ToolBarBase" oldname="wxToolBarBase" module="controls"> | |
17263 | <baseclass name="Control"/> | |
17264 | <method name="DoAddTool" type="ToolBarToolBase" overloaded="no"> | |
17265 | <autodoc>DoAddTool(int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap, | |
17266 | int kind=ITEM_NORMAL, String shortHelp=EmptyString, | |
17267 | String longHelp=EmptyString, | |
17268 | PyObject clientData=None) -> ToolBarToolBase</autodoc> | |
17269 | <paramlist> | |
17270 | <param name="id" type="int" default=""/> | |
17271 | <param name="label" type="String" default=""/> | |
17272 | <param name="bitmap" type="Bitmap" default=""/> | |
17273 | <param name="bmpDisabled" type="Bitmap" default="wxNullBitmap"/> | |
17274 | <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/> | |
17275 | <param name="shortHelp" type="String" default="wxPyEmptyString"/> | |
17276 | <param name="longHelp" type="String" default="wxPyEmptyString"/> | |
17277 | <param name="clientData" type="PyObject" default="NULL"/> | |
17278 | </paramlist> | |
17279 | </method> | |
17280 | <method name="DoInsertTool" type="ToolBarToolBase" overloaded="no"> | |
17281 | <autodoc>DoInsertTool(size_t pos, int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap, | |
17282 | int kind=ITEM_NORMAL, | |
17283 | String shortHelp=EmptyString, String longHelp=EmptyString, | |
17284 | PyObject clientData=None) -> ToolBarToolBase</autodoc> | |
17285 | <paramlist> | |
17286 | <param name="pos" type="size_t" default=""/> | |
17287 | <param name="id" type="int" default=""/> | |
17288 | <param name="label" type="String" default=""/> | |
17289 | <param name="bitmap" type="Bitmap" default=""/> | |
17290 | <param name="bmpDisabled" type="Bitmap" default="wxNullBitmap"/> | |
17291 | <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/> | |
17292 | <param name="shortHelp" type="String" default="wxPyEmptyString"/> | |
17293 | <param name="longHelp" type="String" default="wxPyEmptyString"/> | |
17294 | <param name="clientData" type="PyObject" default="NULL"/> | |
17295 | </paramlist> | |
17296 | </method> | |
17297 | <method name="AddToolItem" type="ToolBarToolBase" overloaded="no"> | |
17298 | <autodoc>AddToolItem(ToolBarToolBase tool) -> ToolBarToolBase</autodoc> | |
17299 | <paramlist> | |
17300 | <param name="tool" type="ToolBarToolBase" default=""/> | |
17301 | </paramlist> | |
17302 | </method> | |
17303 | <method name="InsertToolItem" type="ToolBarToolBase" overloaded="no"> | |
17304 | <autodoc>InsertToolItem(size_t pos, ToolBarToolBase tool) -> ToolBarToolBase</autodoc> | |
17305 | <paramlist> | |
17306 | <param name="pos" type="size_t" default=""/> | |
17307 | <param name="tool" type="ToolBarToolBase" default=""/> | |
17308 | </paramlist> | |
17309 | </method> | |
17310 | <method name="AddControl" type="ToolBarToolBase" overloaded="no"> | |
17311 | <autodoc>AddControl(Control control) -> ToolBarToolBase</autodoc> | |
17312 | <paramlist> | |
17313 | <param name="control" type="Control" default=""/> | |
17314 | </paramlist> | |
17315 | </method> | |
17316 | <method name="InsertControl" type="ToolBarToolBase" overloaded="no"> | |
17317 | <autodoc>InsertControl(size_t pos, Control control) -> ToolBarToolBase</autodoc> | |
17318 | <paramlist> | |
17319 | <param name="pos" type="size_t" default=""/> | |
17320 | <param name="control" type="Control" default=""/> | |
17321 | </paramlist> | |
17322 | </method> | |
17323 | <method name="FindControl" type="Control" overloaded="no"> | |
17324 | <autodoc>FindControl(int id) -> Control</autodoc> | |
17325 | <paramlist> | |
17326 | <param name="id" type="int" default=""/> | |
17327 | </paramlist> | |
17328 | </method> | |
17329 | <method name="AddSeparator" type="ToolBarToolBase" overloaded="no"> | |
17330 | <autodoc>AddSeparator() -> ToolBarToolBase</autodoc> | |
17331 | </method> | |
17332 | <method name="InsertSeparator" type="ToolBarToolBase" overloaded="no"> | |
17333 | <autodoc>InsertSeparator(size_t pos) -> ToolBarToolBase</autodoc> | |
17334 | <paramlist> | |
17335 | <param name="pos" type="size_t" default=""/> | |
17336 | </paramlist> | |
17337 | </method> | |
17338 | <method name="RemoveTool" type="ToolBarToolBase" overloaded="no"> | |
17339 | <autodoc>RemoveTool(int id) -> ToolBarToolBase</autodoc> | |
17340 | <paramlist> | |
17341 | <param name="id" type="int" default=""/> | |
17342 | </paramlist> | |
17343 | </method> | |
17344 | <method name="DeleteToolByPos" type="bool" overloaded="no"> | |
17345 | <autodoc>DeleteToolByPos(size_t pos) -> bool</autodoc> | |
17346 | <paramlist> | |
17347 | <param name="pos" type="size_t" default=""/> | |
17348 | </paramlist> | |
17349 | </method> | |
17350 | <method name="DeleteTool" type="bool" overloaded="no"> | |
17351 | <autodoc>DeleteTool(int id) -> bool</autodoc> | |
17352 | <paramlist> | |
17353 | <param name="id" type="int" default=""/> | |
17354 | </paramlist> | |
17355 | </method> | |
17356 | <method name="ClearTools" type="" overloaded="no"> | |
17357 | <autodoc>ClearTools()</autodoc> | |
17358 | </method> | |
17359 | <method name="Realize" type="bool" overloaded="no"> | |
17360 | <autodoc>Realize() -> bool</autodoc> | |
17361 | </method> | |
17362 | <method name="EnableTool" type="" overloaded="no"> | |
17363 | <autodoc>EnableTool(int id, bool enable)</autodoc> | |
17364 | <paramlist> | |
17365 | <param name="id" type="int" default=""/> | |
17366 | <param name="enable" type="bool" default=""/> | |
17367 | </paramlist> | |
17368 | </method> | |
17369 | <method name="ToggleTool" type="" overloaded="no"> | |
17370 | <autodoc>ToggleTool(int id, bool toggle)</autodoc> | |
17371 | <paramlist> | |
17372 | <param name="id" type="int" default=""/> | |
17373 | <param name="toggle" type="bool" default=""/> | |
17374 | </paramlist> | |
17375 | </method> | |
17376 | <method name="SetToggle" type="" overloaded="no"> | |
17377 | <autodoc>SetToggle(int id, bool toggle)</autodoc> | |
17378 | <paramlist> | |
17379 | <param name="id" type="int" default=""/> | |
17380 | <param name="toggle" type="bool" default=""/> | |
17381 | </paramlist> | |
17382 | </method> | |
17383 | <method name="GetToolClientData" type="PyObject" overloaded="no"> | |
17384 | <autodoc>GetToolClientData(int id) -> PyObject</autodoc> | |
17385 | <paramlist> | |
17386 | <param name="id" type="int" default=""/> | |
17387 | </paramlist> | |
17388 | </method> | |
17389 | <method name="SetToolClientData" type="" overloaded="no"> | |
17390 | <autodoc>SetToolClientData(int id, PyObject clientData)</autodoc> | |
17391 | <paramlist> | |
17392 | <param name="id" type="int" default=""/> | |
17393 | <param name="clientData" type="PyObject" default=""/> | |
17394 | </paramlist> | |
17395 | </method> | |
17396 | <method name="GetToolPos" type="int" overloaded="no"> | |
17397 | <autodoc>GetToolPos(int id) -> int</autodoc> | |
17398 | <paramlist> | |
17399 | <param name="id" type="int" default=""/> | |
17400 | </paramlist> | |
17401 | </method> | |
17402 | <method name="GetToolState" type="bool" overloaded="no"> | |
17403 | <autodoc>GetToolState(int id) -> bool</autodoc> | |
17404 | <paramlist> | |
17405 | <param name="id" type="int" default=""/> | |
17406 | </paramlist> | |
17407 | </method> | |
17408 | <method name="GetToolEnabled" type="bool" overloaded="no"> | |
17409 | <autodoc>GetToolEnabled(int id) -> bool</autodoc> | |
17410 | <paramlist> | |
17411 | <param name="id" type="int" default=""/> | |
17412 | </paramlist> | |
17413 | </method> | |
17414 | <method name="SetToolShortHelp" type="" overloaded="no"> | |
17415 | <autodoc>SetToolShortHelp(int id, String helpString)</autodoc> | |
17416 | <paramlist> | |
17417 | <param name="id" type="int" default=""/> | |
17418 | <param name="helpString" type="String" default=""/> | |
17419 | </paramlist> | |
17420 | </method> | |
17421 | <method name="GetToolShortHelp" type="String" overloaded="no"> | |
17422 | <autodoc>GetToolShortHelp(int id) -> String</autodoc> | |
17423 | <paramlist> | |
17424 | <param name="id" type="int" default=""/> | |
17425 | </paramlist> | |
17426 | </method> | |
17427 | <method name="SetToolLongHelp" type="" overloaded="no"> | |
17428 | <autodoc>SetToolLongHelp(int id, String helpString)</autodoc> | |
17429 | <paramlist> | |
17430 | <param name="id" type="int" default=""/> | |
17431 | <param name="helpString" type="String" default=""/> | |
17432 | </paramlist> | |
17433 | </method> | |
17434 | <method name="GetToolLongHelp" type="String" overloaded="no"> | |
17435 | <autodoc>GetToolLongHelp(int id) -> String</autodoc> | |
17436 | <paramlist> | |
17437 | <param name="id" type="int" default=""/> | |
17438 | </paramlist> | |
17439 | </method> | |
17440 | <method name="SetMarginsXY" type="" overloaded="no"> | |
17441 | <autodoc>SetMarginsXY(int x, int y)</autodoc> | |
17442 | <paramlist> | |
17443 | <param name="x" type="int" default=""/> | |
17444 | <param name="y" type="int" default=""/> | |
17445 | </paramlist> | |
17446 | </method> | |
17447 | <method name="SetMargins" type="" overloaded="no"> | |
17448 | <autodoc>SetMargins(Size size)</autodoc> | |
17449 | <paramlist> | |
17450 | <param name="size" type="Size" default=""/> | |
17451 | </paramlist> | |
17452 | </method> | |
17453 | <method name="SetToolPacking" type="" overloaded="no"> | |
17454 | <autodoc>SetToolPacking(int packing)</autodoc> | |
17455 | <paramlist> | |
17456 | <param name="packing" type="int" default=""/> | |
17457 | </paramlist> | |
17458 | </method> | |
17459 | <method name="SetToolSeparation" type="" overloaded="no"> | |
17460 | <autodoc>SetToolSeparation(int separation)</autodoc> | |
17461 | <paramlist> | |
17462 | <param name="separation" type="int" default=""/> | |
17463 | </paramlist> | |
17464 | </method> | |
17465 | <method name="GetToolMargins" type="Size" overloaded="no"> | |
17466 | <autodoc>GetToolMargins() -> Size</autodoc> | |
17467 | </method> | |
17468 | <method name="GetMargins" type="Size" overloaded="no"> | |
17469 | <autodoc>GetMargins() -> Size</autodoc> | |
17470 | </method> | |
17471 | <method name="GetToolPacking" type="int" overloaded="no"> | |
17472 | <autodoc>GetToolPacking() -> int</autodoc> | |
17473 | </method> | |
17474 | <method name="GetToolSeparation" type="int" overloaded="no"> | |
17475 | <autodoc>GetToolSeparation() -> int</autodoc> | |
17476 | </method> | |
17477 | <method name="SetRows" type="" overloaded="no"> | |
17478 | <autodoc>SetRows(int nRows)</autodoc> | |
17479 | <paramlist> | |
17480 | <param name="nRows" type="int" default=""/> | |
17481 | </paramlist> | |
17482 | </method> | |
17483 | <method name="SetMaxRowsCols" type="" overloaded="no"> | |
17484 | <autodoc>SetMaxRowsCols(int rows, int cols)</autodoc> | |
17485 | <paramlist> | |
17486 | <param name="rows" type="int" default=""/> | |
17487 | <param name="cols" type="int" default=""/> | |
17488 | </paramlist> | |
17489 | </method> | |
17490 | <method name="GetMaxRows" type="int" overloaded="no"> | |
17491 | <autodoc>GetMaxRows() -> int</autodoc> | |
17492 | </method> | |
17493 | <method name="GetMaxCols" type="int" overloaded="no"> | |
17494 | <autodoc>GetMaxCols() -> int</autodoc> | |
17495 | </method> | |
17496 | <method name="SetToolBitmapSize" type="" overloaded="no"> | |
17497 | <autodoc>SetToolBitmapSize(Size size)</autodoc> | |
17498 | <paramlist> | |
17499 | <param name="size" type="Size" default=""/> | |
17500 | </paramlist> | |
17501 | </method> | |
17502 | <method name="GetToolBitmapSize" type="Size" overloaded="no"> | |
17503 | <autodoc>GetToolBitmapSize() -> Size</autodoc> | |
17504 | </method> | |
17505 | <method name="GetToolSize" type="Size" overloaded="no"> | |
17506 | <autodoc>GetToolSize() -> Size</autodoc> | |
17507 | </method> | |
17508 | <method name="FindToolForPosition" type="ToolBarToolBase" overloaded="no"> | |
17509 | <autodoc>FindToolForPosition(int x, int y) -> ToolBarToolBase</autodoc> | |
17510 | <paramlist> | |
17511 | <param name="x" type="int" default=""/> | |
17512 | <param name="y" type="int" default=""/> | |
17513 | </paramlist> | |
17514 | </method> | |
17515 | <method name="FindById" type="ToolBarToolBase" overloaded="no"> | |
17516 | <autodoc>FindById(int toolid) -> ToolBarToolBase</autodoc> | |
17517 | <paramlist> | |
17518 | <param name="toolid" type="int" default=""/> | |
17519 | </paramlist> | |
17520 | </method> | |
17521 | <method name="IsVertical" type="bool" overloaded="no"> | |
17522 | <autodoc>IsVertical() -> bool</autodoc> | |
17523 | </method> | |
17524 | </class> | |
17525 | <class name="ToolBar" oldname="wxToolBar" module="controls"> | |
17526 | <baseclass name="ToolBarBase"/> | |
17527 | <constructor name="ToolBar" overloaded="no"> | |
17528 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
17529 | long style=wxNO_BORDER|wxTB_HORIZONTAL, | |
17530 | String name=wxPyToolBarNameStr) -> ToolBar</autodoc> | |
17531 | <paramlist> | |
17532 | <param name="parent" type="Window" default=""/> | |
17533 | <param name="id" type="int" default=""/> | |
17534 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
17535 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17536 | <param name="style" type="long" default="wxNO_BORDER|wxTB_HORIZONTAL"/> | |
17537 | <param name="name" type="String" default="wxPyToolBarNameStr"/> | |
17538 | </paramlist> | |
17539 | </constructor> | |
17540 | <constructor name="PreToolBar" overloaded="no"> | |
17541 | <autodoc>PreToolBar() -> ToolBar</autodoc> | |
17542 | </constructor> | |
17543 | <method name="Create" type="bool" overloaded="no"> | |
17544 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
17545 | long style=wxNO_BORDER|wxTB_HORIZONTAL, | |
17546 | String name=wxPyToolBarNameStr) -> bool</autodoc> | |
17547 | <paramlist> | |
17548 | <param name="parent" type="Window" default=""/> | |
17549 | <param name="id" type="int" default=""/> | |
17550 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
17551 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17552 | <param name="style" type="long" default="wxNO_BORDER|wxTB_HORIZONTAL"/> | |
17553 | <param name="name" type="String" default="wxPyToolBarNameStr"/> | |
17554 | </paramlist> | |
17555 | </method> | |
17556 | <method name="FindToolForPosition" type="ToolBarToolBase" overloaded="no"> | |
17557 | <autodoc>FindToolForPosition(int x, int y) -> ToolBarToolBase</autodoc> | |
17558 | <paramlist> | |
17559 | <param name="x" type="int" default=""/> | |
17560 | <param name="y" type="int" default=""/> | |
17561 | </paramlist> | |
17562 | </method> | |
17563 | </class> | |
17564 | <pythoncode> | |
17565 | #--------------------------------------------------------------------------- | |
17566 | </pythoncode> | |
17567 | <pythoncode> | |
17568 | #--------------------------------------------------------------------------- | |
17569 | </pythoncode> | |
17570 | <class name="ListItemAttr" oldname="wxListItemAttr" module="controls"> | |
17571 | <constructor name="ListItemAttr" overloaded="no"> | |
17572 | <autodoc>__init__(Colour colText=wxNullColour, Colour colBack=wxNullColour, | |
17573 | Font font=wxNullFont) -> ListItemAttr</autodoc> | |
17574 | <paramlist> | |
17575 | <param name="colText" type="Colour" default="wxNullColour"/> | |
17576 | <param name="colBack" type="Colour" default="wxNullColour"/> | |
17577 | <param name="font" type="Font" default="wxNullFont"/> | |
17578 | </paramlist> | |
17579 | </constructor> | |
17580 | <method name="SetTextColour" type="" overloaded="no"> | |
17581 | <autodoc>SetTextColour(Colour colText)</autodoc> | |
17582 | <paramlist> | |
17583 | <param name="colText" type="Colour" default=""/> | |
17584 | </paramlist> | |
17585 | </method> | |
17586 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
17587 | <autodoc>SetBackgroundColour(Colour colBack)</autodoc> | |
17588 | <paramlist> | |
17589 | <param name="colBack" type="Colour" default=""/> | |
17590 | </paramlist> | |
17591 | </method> | |
17592 | <method name="SetFont" type="" overloaded="no"> | |
17593 | <autodoc>SetFont(Font font)</autodoc> | |
17594 | <paramlist> | |
17595 | <param name="font" type="Font" default=""/> | |
17596 | </paramlist> | |
17597 | </method> | |
17598 | <method name="HasTextColour" type="bool" overloaded="no"> | |
17599 | <autodoc>HasTextColour() -> bool</autodoc> | |
17600 | </method> | |
17601 | <method name="HasBackgroundColour" type="bool" overloaded="no"> | |
17602 | <autodoc>HasBackgroundColour() -> bool</autodoc> | |
17603 | </method> | |
17604 | <method name="HasFont" type="bool" overloaded="no"> | |
17605 | <autodoc>HasFont() -> bool</autodoc> | |
17606 | </method> | |
17607 | <method name="GetTextColour" type="Colour" overloaded="no"> | |
17608 | <autodoc>GetTextColour() -> Colour</autodoc> | |
17609 | </method> | |
17610 | <method name="GetBackgroundColour" type="Colour" overloaded="no"> | |
17611 | <autodoc>GetBackgroundColour() -> Colour</autodoc> | |
17612 | </method> | |
17613 | <method name="GetFont" type="Font" overloaded="no"> | |
17614 | <autodoc>GetFont() -> Font</autodoc> | |
17615 | </method> | |
17616 | <method name="Destroy" type="" overloaded="no"> | |
17617 | <autodoc>Destroy()</autodoc> | |
17618 | </method> | |
17619 | </class> | |
17620 | <pythoncode> | |
17621 | #--------------------------------------------------------------------------- | |
17622 | </pythoncode> | |
17623 | <class name="ListItem" oldname="wxListItem" module="controls"> | |
17624 | <baseclass name="Object"/> | |
17625 | <constructor name="ListItem" overloaded="no"> | |
17626 | <autodoc>__init__() -> ListItem</autodoc> | |
17627 | </constructor> | |
17628 | <destructor name="~wxListItem" overloaded="no"> | |
17629 | <autodoc>__del__()</autodoc> | |
17630 | </destructor> | |
17631 | <method name="Clear" type="" overloaded="no"> | |
17632 | <autodoc>Clear()</autodoc> | |
17633 | </method> | |
17634 | <method name="ClearAttributes" type="" overloaded="no"> | |
17635 | <autodoc>ClearAttributes()</autodoc> | |
17636 | </method> | |
17637 | <method name="SetMask" type="" overloaded="no"> | |
17638 | <autodoc>SetMask(long mask)</autodoc> | |
17639 | <paramlist> | |
17640 | <param name="mask" type="long" default=""/> | |
17641 | </paramlist> | |
17642 | </method> | |
17643 | <method name="SetId" type="" overloaded="no"> | |
17644 | <autodoc>SetId(long id)</autodoc> | |
17645 | <paramlist> | |
17646 | <param name="id" type="long" default=""/> | |
17647 | </paramlist> | |
17648 | </method> | |
17649 | <method name="SetColumn" type="" overloaded="no"> | |
17650 | <autodoc>SetColumn(int col)</autodoc> | |
17651 | <paramlist> | |
17652 | <param name="col" type="int" default=""/> | |
17653 | </paramlist> | |
17654 | </method> | |
17655 | <method name="SetState" type="" overloaded="no"> | |
17656 | <autodoc>SetState(long state)</autodoc> | |
17657 | <paramlist> | |
17658 | <param name="state" type="long" default=""/> | |
17659 | </paramlist> | |
17660 | </method> | |
17661 | <method name="SetStateMask" type="" overloaded="no"> | |
17662 | <autodoc>SetStateMask(long stateMask)</autodoc> | |
17663 | <paramlist> | |
17664 | <param name="stateMask" type="long" default=""/> | |
17665 | </paramlist> | |
17666 | </method> | |
17667 | <method name="SetText" type="" overloaded="no"> | |
17668 | <autodoc>SetText(String text)</autodoc> | |
17669 | <paramlist> | |
17670 | <param name="text" type="String" default=""/> | |
17671 | </paramlist> | |
17672 | </method> | |
17673 | <method name="SetImage" type="" overloaded="no"> | |
17674 | <autodoc>SetImage(int image)</autodoc> | |
17675 | <paramlist> | |
17676 | <param name="image" type="int" default=""/> | |
17677 | </paramlist> | |
17678 | </method> | |
17679 | <method name="SetData" type="" overloaded="no"> | |
17680 | <autodoc>SetData(long data)</autodoc> | |
17681 | <paramlist> | |
17682 | <param name="data" type="long" default=""/> | |
17683 | </paramlist> | |
17684 | </method> | |
17685 | <method name="SetWidth" type="" overloaded="no"> | |
17686 | <autodoc>SetWidth(int width)</autodoc> | |
17687 | <paramlist> | |
17688 | <param name="width" type="int" default=""/> | |
17689 | </paramlist> | |
17690 | </method> | |
17691 | <method name="SetAlign" type="" overloaded="no"> | |
17692 | <autodoc>SetAlign(int align)</autodoc> | |
17693 | <paramlist> | |
17694 | <param name="align" type="wxListColumnFormat" default=""/> | |
17695 | </paramlist> | |
17696 | </method> | |
17697 | <method name="SetTextColour" type="" overloaded="no"> | |
17698 | <autodoc>SetTextColour(Colour colText)</autodoc> | |
17699 | <paramlist> | |
17700 | <param name="colText" type="Colour" default=""/> | |
17701 | </paramlist> | |
17702 | </method> | |
17703 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
17704 | <autodoc>SetBackgroundColour(Colour colBack)</autodoc> | |
17705 | <paramlist> | |
17706 | <param name="colBack" type="Colour" default=""/> | |
17707 | </paramlist> | |
17708 | </method> | |
17709 | <method name="SetFont" type="" overloaded="no"> | |
17710 | <autodoc>SetFont(Font font)</autodoc> | |
17711 | <paramlist> | |
17712 | <param name="font" type="Font" default=""/> | |
17713 | </paramlist> | |
17714 | </method> | |
17715 | <method name="GetMask" type="long" overloaded="no"> | |
17716 | <autodoc>GetMask() -> long</autodoc> | |
17717 | </method> | |
17718 | <method name="GetId" type="long" overloaded="no"> | |
17719 | <autodoc>GetId() -> long</autodoc> | |
17720 | </method> | |
17721 | <method name="GetColumn" type="int" overloaded="no"> | |
17722 | <autodoc>GetColumn() -> int</autodoc> | |
17723 | </method> | |
17724 | <method name="GetState" type="long" overloaded="no"> | |
17725 | <autodoc>GetState() -> long</autodoc> | |
17726 | </method> | |
17727 | <method name="GetText" type="String" overloaded="no"> | |
17728 | <autodoc>GetText() -> String</autodoc> | |
17729 | </method> | |
17730 | <method name="GetImage" type="int" overloaded="no"> | |
17731 | <autodoc>GetImage() -> int</autodoc> | |
17732 | </method> | |
17733 | <method name="GetData" type="long" overloaded="no"> | |
17734 | <autodoc>GetData() -> long</autodoc> | |
17735 | </method> | |
17736 | <method name="GetWidth" type="int" overloaded="no"> | |
17737 | <autodoc>GetWidth() -> int</autodoc> | |
17738 | </method> | |
17739 | <method name="GetAlign" type="wxListColumnFormat" overloaded="no"> | |
17740 | <autodoc>GetAlign() -> int</autodoc> | |
17741 | </method> | |
17742 | <method name="GetAttributes" type="ListItemAttr" overloaded="no"> | |
17743 | <autodoc>GetAttributes() -> ListItemAttr</autodoc> | |
17744 | </method> | |
17745 | <method name="HasAttributes" type="bool" overloaded="no"> | |
17746 | <autodoc>HasAttributes() -> bool</autodoc> | |
17747 | </method> | |
17748 | <method name="GetTextColour" type="Colour" overloaded="no"> | |
17749 | <autodoc>GetTextColour() -> Colour</autodoc> | |
17750 | </method> | |
17751 | <method name="GetBackgroundColour" type="Colour" overloaded="no"> | |
17752 | <autodoc>GetBackgroundColour() -> Colour</autodoc> | |
17753 | </method> | |
17754 | <method name="GetFont" type="Font" overloaded="no"> | |
17755 | <autodoc>GetFont() -> Font</autodoc> | |
17756 | </method> | |
17757 | <property name="m_mask" type="long" readonly="no"/> | |
17758 | <property name="m_itemId" type="long" readonly="no"/> | |
17759 | <property name="m_col" type="int" readonly="no"/> | |
17760 | <property name="m_state" type="long" readonly="no"/> | |
17761 | <property name="m_stateMask" type="long" readonly="no"/> | |
17762 | <property name="m_text" type="String" readonly="no"/> | |
17763 | <property name="m_image" type="int" readonly="no"/> | |
17764 | <property name="m_data" type="long" readonly="no"/> | |
17765 | <property name="m_format" type="int" readonly="no"/> | |
17766 | <property name="m_width" type="int" readonly="no"/> | |
17767 | </class> | |
17768 | <pythoncode> | |
17769 | #--------------------------------------------------------------------------- | |
17770 | </pythoncode> | |
17771 | <class name="ListEvent" oldname="wxListEvent" module="controls"> | |
17772 | <baseclass name="NotifyEvent"/> | |
17773 | <constructor name="ListEvent" overloaded="no"> | |
17774 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> ListEvent</autodoc> | |
17775 | <paramlist> | |
17776 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
17777 | <param name="id" type="int" default="0"/> | |
17778 | </paramlist> | |
17779 | </constructor> | |
17780 | <property name="m_code" type="int" readonly="no"/> | |
17781 | <property name="m_oldItemIndex" type="long" readonly="no"/> | |
17782 | <property name="m_itemIndex" type="long" readonly="no"/> | |
17783 | <property name="m_col" type="int" readonly="no"/> | |
17784 | <property name="m_pointDrag" type="Point" readonly="no"/> | |
17785 | <property name="m_item" type="ListItem" readonly="yes"/> | |
17786 | <method name="GetKeyCode" type="int" overloaded="no"> | |
17787 | <autodoc>GetKeyCode() -> int</autodoc> | |
17788 | </method> | |
17789 | <method name="GetIndex" type="long" overloaded="no"> | |
17790 | <autodoc>GetIndex() -> long</autodoc> | |
17791 | </method> | |
17792 | <method name="GetColumn" type="int" overloaded="no"> | |
17793 | <autodoc>GetColumn() -> int</autodoc> | |
17794 | </method> | |
17795 | <method name="GetPoint" type="Point" overloaded="no"> | |
17796 | <autodoc>GetPoint() -> Point</autodoc> | |
17797 | </method> | |
17798 | <method name="GetLabel" type="String" overloaded="no"> | |
17799 | <autodoc>GetLabel() -> String</autodoc> | |
17800 | </method> | |
17801 | <method name="GetText" type="String" overloaded="no"> | |
17802 | <autodoc>GetText() -> String</autodoc> | |
17803 | </method> | |
17804 | <method name="GetImage" type="int" overloaded="no"> | |
17805 | <autodoc>GetImage() -> int</autodoc> | |
17806 | </method> | |
17807 | <method name="GetData" type="long" overloaded="no"> | |
17808 | <autodoc>GetData() -> long</autodoc> | |
17809 | </method> | |
17810 | <method name="GetMask" type="long" overloaded="no"> | |
17811 | <autodoc>GetMask() -> long</autodoc> | |
17812 | </method> | |
17813 | <method name="GetItem" type="ListItem" overloaded="no"> | |
17814 | <autodoc>GetItem() -> ListItem</autodoc> | |
17815 | </method> | |
17816 | <method name="GetCacheFrom" type="long" overloaded="no"> | |
17817 | <autodoc>GetCacheFrom() -> long</autodoc> | |
17818 | </method> | |
17819 | <method name="GetCacheTo" type="long" overloaded="no"> | |
17820 | <autodoc>GetCacheTo() -> long</autodoc> | |
17821 | </method> | |
17822 | <method name="IsEditCancelled" type="bool" overloaded="no"> | |
17823 | <autodoc>IsEditCancelled() -> bool</autodoc> | |
17824 | </method> | |
17825 | <method name="SetEditCanceled" type="" overloaded="no"> | |
17826 | <autodoc>SetEditCanceled(bool editCancelled)</autodoc> | |
17827 | <paramlist> | |
17828 | <param name="editCancelled" type="bool" default=""/> | |
17829 | </paramlist> | |
17830 | </method> | |
17831 | </class> | |
17832 | <pythoncode> | |
17833 | ||
17834 | EVT_LIST_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_DRAG , 1) | |
17835 | EVT_LIST_BEGIN_RDRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_RDRAG , 1) | |
17836 | EVT_LIST_BEGIN_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT , 1) | |
17837 | EVT_LIST_END_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_LIST_END_LABEL_EDIT , 1) | |
17838 | EVT_LIST_DELETE_ITEM = wx.PyEventBinder(wxEVT_COMMAND_LIST_DELETE_ITEM , 1) | |
17839 | EVT_LIST_DELETE_ALL_ITEMS = wx.PyEventBinder(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS , 1) | |
17840 | EVT_LIST_GET_INFO = wx.PyEventBinder(wxEVT_COMMAND_LIST_GET_INFO , 1) | |
17841 | EVT_LIST_SET_INFO = wx.PyEventBinder(wxEVT_COMMAND_LIST_SET_INFO , 1) | |
17842 | EVT_LIST_ITEM_SELECTED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_SELECTED , 1) | |
17843 | EVT_LIST_ITEM_DESELECTED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_DESELECTED , 1) | |
17844 | EVT_LIST_KEY_DOWN = wx.PyEventBinder(wxEVT_COMMAND_LIST_KEY_DOWN , 1) | |
17845 | EVT_LIST_INSERT_ITEM = wx.PyEventBinder(wxEVT_COMMAND_LIST_INSERT_ITEM , 1) | |
17846 | EVT_LIST_COL_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_CLICK , 1) | |
17847 | EVT_LIST_ITEM_RIGHT_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK , 1) | |
17848 | EVT_LIST_ITEM_MIDDLE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 1) | |
17849 | EVT_LIST_ITEM_ACTIVATED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_ACTIVATED , 1) | |
17850 | EVT_LIST_CACHE_HINT = wx.PyEventBinder(wxEVT_COMMAND_LIST_CACHE_HINT , 1) | |
17851 | EVT_LIST_COL_RIGHT_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK , 1) | |
17852 | EVT_LIST_COL_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG , 1) | |
17853 | EVT_LIST_COL_DRAGGING = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_DRAGGING , 1) | |
17854 | EVT_LIST_COL_END_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_END_DRAG , 1) | |
17855 | EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED , 1) | |
17856 | </pythoncode> | |
17857 | <pythoncode> | |
17858 | #--------------------------------------------------------------------------- | |
17859 | </pythoncode> | |
17860 | <class name="ListCtrl" oldname="wxPyListCtrl" module="controls"> | |
17861 | <baseclass name="Control"/> | |
17862 | <constructor name="wxPyListCtrl" overloaded="no"> | |
17863 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
17864 | Size size=DefaultSize, long style=LC_ICON, | |
17865 | Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> ListCtrl</autodoc> | |
17866 | <paramlist> | |
17867 | <param name="parent" type="Window" default=""/> | |
17868 | <param name="id" type="int" default="-1"/> | |
17869 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
17870 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17871 | <param name="style" type="long" default="wxLC_ICON"/> | |
17872 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
17873 | <param name="name" type="String" default="wxPyListCtrlNameStr"/> | |
17874 | </paramlist> | |
17875 | </constructor> | |
17876 | <constructor name="PreListCtrl" overloaded="no"> | |
17877 | <autodoc>PreListCtrl() -> ListCtrl</autodoc> | |
17878 | </constructor> | |
17879 | <method name="Create" type="bool" overloaded="no"> | |
17880 | <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, | |
17881 | Size size=DefaultSize, long style=LC_ICON, | |
17882 | Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> bool</autodoc> | |
c2dda882 | 17883 | <docstring>Do the 2nd phase and create the GUI control.</docstring> |
f32fc4bc RD |
17884 | <paramlist> |
17885 | <param name="parent" type="Window" default=""/> | |
17886 | <param name="id" type="int" default="-1"/> | |
17887 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
17888 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17889 | <param name="style" type="long" default="wxLC_ICON"/> | |
17890 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
17891 | <param name="name" type="String" default="wxPyListCtrlNameStr"/> | |
17892 | </paramlist> | |
17893 | </method> | |
17894 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
17895 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
17896 | <paramlist> | |
17897 | <param name="self" type="PyObject" default=""/> | |
17898 | <param name="_class" type="PyObject" default=""/> | |
17899 | </paramlist> | |
17900 | </method> | |
17901 | <method name="SetForegroundColour" type="bool" overloaded="no"> | |
17902 | <autodoc>SetForegroundColour(Colour col) -> bool</autodoc> | |
17903 | <paramlist> | |
17904 | <param name="col" type="Colour" default=""/> | |
17905 | </paramlist> | |
17906 | </method> | |
17907 | <method name="SetBackgroundColour" type="bool" overloaded="no"> | |
17908 | <autodoc>SetBackgroundColour(Colour col) -> bool</autodoc> | |
17909 | <paramlist> | |
17910 | <param name="col" type="Colour" default=""/> | |
17911 | </paramlist> | |
17912 | </method> | |
17913 | <method name="GetColumn" type="ListItem" overloaded="no"> | |
17914 | <autodoc>GetColumn(int col) -> ListItem</autodoc> | |
17915 | <paramlist> | |
17916 | <param name="col" type="int" default=""/> | |
17917 | </paramlist> | |
17918 | </method> | |
17919 | <method name="SetColumn" type="bool" overloaded="no"> | |
17920 | <autodoc>SetColumn(int col, ListItem item) -> bool</autodoc> | |
17921 | <paramlist> | |
17922 | <param name="col" type="int" default=""/> | |
17923 | <param name="item" type="ListItem" default=""/> | |
17924 | </paramlist> | |
17925 | </method> | |
17926 | <method name="GetColumnWidth" type="int" overloaded="no"> | |
17927 | <autodoc>GetColumnWidth(int col) -> int</autodoc> | |
17928 | <paramlist> | |
17929 | <param name="col" type="int" default=""/> | |
17930 | </paramlist> | |
17931 | </method> | |
17932 | <method name="SetColumnWidth" type="bool" overloaded="no"> | |
17933 | <autodoc>SetColumnWidth(int col, int width) -> bool</autodoc> | |
17934 | <paramlist> | |
17935 | <param name="col" type="int" default=""/> | |
17936 | <param name="width" type="int" default=""/> | |
17937 | </paramlist> | |
17938 | </method> | |
17939 | <method name="GetCountPerPage" type="int" overloaded="no"> | |
17940 | <autodoc>GetCountPerPage() -> int</autodoc> | |
17941 | </method> | |
17942 | <method name="GetViewRect" type="Rect" overloaded="no"> | |
17943 | <autodoc>GetViewRect() -> Rect</autodoc> | |
17944 | </method> | |
17945 | <method name="GetItem" type="ListItem" overloaded="no"> | |
17946 | <autodoc>GetItem(long itemId, int col=0) -> ListItem</autodoc> | |
17947 | <paramlist> | |
17948 | <param name="itemId" type="long" default=""/> | |
17949 | <param name="col" type="int" default="0"/> | |
17950 | </paramlist> | |
17951 | </method> | |
17952 | <method name="SetItem" type="bool" overloaded="no"> | |
17953 | <autodoc>SetItem(ListItem info) -> bool</autodoc> | |
17954 | <paramlist> | |
17955 | <param name="info" type="ListItem" default=""/> | |
17956 | </paramlist> | |
17957 | </method> | |
17958 | <method name="SetStringItem" type="long" overloaded="no"> | |
17959 | <autodoc>SetStringItem(long index, int col, String label, int imageId=-1) -> long</autodoc> | |
17960 | <paramlist> | |
17961 | <param name="index" type="long" default=""/> | |
17962 | <param name="col" type="int" default=""/> | |
17963 | <param name="label" type="String" default=""/> | |
17964 | <param name="imageId" type="int" default="-1"/> | |
17965 | </paramlist> | |
17966 | </method> | |
17967 | <method name="GetItemState" type="int" overloaded="no"> | |
17968 | <autodoc>GetItemState(long item, long stateMask) -> int</autodoc> | |
17969 | <paramlist> | |
17970 | <param name="item" type="long" default=""/> | |
17971 | <param name="stateMask" type="long" default=""/> | |
17972 | </paramlist> | |
17973 | </method> | |
17974 | <method name="SetItemState" type="bool" overloaded="no"> | |
17975 | <autodoc>SetItemState(long item, long state, long stateMask) -> bool</autodoc> | |
17976 | <paramlist> | |
17977 | <param name="item" type="long" default=""/> | |
17978 | <param name="state" type="long" default=""/> | |
17979 | <param name="stateMask" type="long" default=""/> | |
17980 | </paramlist> | |
17981 | </method> | |
17982 | <method name="SetItemImage" type="bool" overloaded="no"> | |
17983 | <autodoc>SetItemImage(long item, int image, int selImage) -> bool</autodoc> | |
17984 | <paramlist> | |
17985 | <param name="item" type="long" default=""/> | |
17986 | <param name="image" type="int" default=""/> | |
17987 | <param name="selImage" type="int" default=""/> | |
17988 | </paramlist> | |
17989 | </method> | |
17990 | <method name="GetItemText" type="String" overloaded="no"> | |
17991 | <autodoc>GetItemText(long item) -> String</autodoc> | |
17992 | <paramlist> | |
17993 | <param name="item" type="long" default=""/> | |
17994 | </paramlist> | |
17995 | </method> | |
17996 | <method name="SetItemText" type="" overloaded="no"> | |
17997 | <autodoc>SetItemText(long item, String str)</autodoc> | |
17998 | <paramlist> | |
17999 | <param name="item" type="long" default=""/> | |
18000 | <param name="str" type="String" default=""/> | |
18001 | </paramlist> | |
18002 | </method> | |
18003 | <method name="GetItemData" type="long" overloaded="no"> | |
18004 | <autodoc>GetItemData(long item) -> long</autodoc> | |
18005 | <paramlist> | |
18006 | <param name="item" type="long" default=""/> | |
18007 | </paramlist> | |
18008 | </method> | |
18009 | <method name="SetItemData" type="bool" overloaded="no"> | |
18010 | <autodoc>SetItemData(long item, long data) -> bool</autodoc> | |
18011 | <paramlist> | |
18012 | <param name="item" type="long" default=""/> | |
18013 | <param name="data" type="long" default=""/> | |
18014 | </paramlist> | |
18015 | </method> | |
18016 | <method name="GetItemPosition" type="Point" overloaded="no"> | |
18017 | <autodoc>GetItemPosition(long item) -> Point</autodoc> | |
18018 | <paramlist> | |
18019 | <param name="item" type="long" default=""/> | |
18020 | </paramlist> | |
18021 | </method> | |
18022 | <method name="GetItemRect" type="Rect" overloaded="no"> | |
18023 | <autodoc>GetItemRect(long item, int code=LIST_RECT_BOUNDS) -> Rect</autodoc> | |
18024 | <paramlist> | |
18025 | <param name="item" type="long" default=""/> | |
18026 | <param name="code" type="int" default="wxLIST_RECT_BOUNDS"/> | |
18027 | </paramlist> | |
18028 | </method> | |
18029 | <method name="SetItemPosition" type="bool" overloaded="no"> | |
18030 | <autodoc>SetItemPosition(long item, Point pos) -> bool</autodoc> | |
18031 | <paramlist> | |
18032 | <param name="item" type="long" default=""/> | |
18033 | <param name="pos" type="Point" default=""/> | |
18034 | </paramlist> | |
18035 | </method> | |
18036 | <method name="GetItemCount" type="int" overloaded="no"> | |
18037 | <autodoc>GetItemCount() -> int</autodoc> | |
18038 | </method> | |
18039 | <method name="GetColumnCount" type="int" overloaded="no"> | |
18040 | <autodoc>GetColumnCount() -> int</autodoc> | |
18041 | </method> | |
18042 | <method name="GetItemSpacing" type="Size" overloaded="no"> | |
18043 | <autodoc>GetItemSpacing() -> Size</autodoc> | |
18044 | </method> | |
18045 | <method name="SetItemSpacing" type="" overloaded="no"> | |
18046 | <autodoc>SetItemSpacing(int spacing, bool isSmall=False)</autodoc> | |
18047 | <paramlist> | |
18048 | <param name="spacing" type="int" default=""/> | |
18049 | <param name="isSmall" type="bool" default="False"/> | |
18050 | </paramlist> | |
18051 | </method> | |
18052 | <method name="GetSelectedItemCount" type="int" overloaded="no"> | |
18053 | <autodoc>GetSelectedItemCount() -> int</autodoc> | |
18054 | </method> | |
18055 | <method name="GetTextColour" type="Colour" overloaded="no"> | |
18056 | <autodoc>GetTextColour() -> Colour</autodoc> | |
18057 | </method> | |
18058 | <method name="SetTextColour" type="" overloaded="no"> | |
18059 | <autodoc>SetTextColour(Colour col)</autodoc> | |
18060 | <paramlist> | |
18061 | <param name="col" type="Colour" default=""/> | |
18062 | </paramlist> | |
18063 | </method> | |
18064 | <method name="GetTopItem" type="long" overloaded="no"> | |
18065 | <autodoc>GetTopItem() -> long</autodoc> | |
18066 | </method> | |
18067 | <method name="SetSingleStyle" type="" overloaded="no"> | |
18068 | <autodoc>SetSingleStyle(long style, bool add=True)</autodoc> | |
18069 | <paramlist> | |
18070 | <param name="style" type="long" default=""/> | |
18071 | <param name="add" type="bool" default="True"/> | |
18072 | </paramlist> | |
18073 | </method> | |
18074 | <method name="SetWindowStyleFlag" type="" overloaded="no"> | |
18075 | <autodoc>SetWindowStyleFlag(long style)</autodoc> | |
c2dda882 RD |
18076 | <docstring>Sets the style of the window. Please note that some styles cannot be |
18077 | changed after the window creation and that Refresh() might be called | |
18078 | after changing the others for the change to take place immediately.</docstring> | |
f32fc4bc RD |
18079 | <paramlist> |
18080 | <param name="style" type="long" default=""/> | |
18081 | </paramlist> | |
18082 | </method> | |
18083 | <method name="GetNextItem" type="long" overloaded="no"> | |
18084 | <autodoc>GetNextItem(long item, int geometry=LIST_NEXT_ALL, int state=LIST_STATE_DONTCARE) -> long</autodoc> | |
18085 | <paramlist> | |
18086 | <param name="item" type="long" default=""/> | |
18087 | <param name="geometry" type="int" default="wxLIST_NEXT_ALL"/> | |
18088 | <param name="state" type="int" default="wxLIST_STATE_DONTCARE"/> | |
18089 | </paramlist> | |
18090 | </method> | |
18091 | <method name="GetImageList" type="ImageList" overloaded="no"> | |
18092 | <autodoc>GetImageList(int which) -> ImageList</autodoc> | |
18093 | <paramlist> | |
18094 | <param name="which" type="int" default=""/> | |
18095 | </paramlist> | |
18096 | </method> | |
18097 | <method name="SetImageList" type="" overloaded="no"> | |
18098 | <autodoc>SetImageList(ImageList imageList, int which)</autodoc> | |
18099 | <paramlist> | |
18100 | <param name="imageList" type="ImageList" default=""/> | |
18101 | <param name="which" type="int" default=""/> | |
18102 | </paramlist> | |
18103 | </method> | |
18104 | <method name="AssignImageList" type="" overloaded="no"> | |
18105 | <autodoc>AssignImageList(ImageList imageList, int which)</autodoc> | |
18106 | <paramlist> | |
18107 | <param name="imageList" type="ImageList" default=""/> | |
18108 | <param name="which" type="int" default=""/> | |
18109 | </paramlist> | |
18110 | </method> | |
b39e211b RD |
18111 | <method name="InReportView" type="bool" overloaded="no"> |
18112 | <autodoc>InReportView() -> bool</autodoc> | |
18113 | </method> | |
f32fc4bc RD |
18114 | <method name="IsVirtual" type="bool" overloaded="no"> |
18115 | <autodoc>IsVirtual() -> bool</autodoc> | |
18116 | </method> | |
18117 | <method name="RefreshItem" type="" overloaded="no"> | |
18118 | <autodoc>RefreshItem(long item)</autodoc> | |
18119 | <paramlist> | |
18120 | <param name="item" type="long" default=""/> | |
18121 | </paramlist> | |
18122 | </method> | |
18123 | <method name="RefreshItems" type="" overloaded="no"> | |
18124 | <autodoc>RefreshItems(long itemFrom, long itemTo)</autodoc> | |
18125 | <paramlist> | |
18126 | <param name="itemFrom" type="long" default=""/> | |
18127 | <param name="itemTo" type="long" default=""/> | |
18128 | </paramlist> | |
18129 | </method> | |
18130 | <method name="Arrange" type="bool" overloaded="no"> | |
18131 | <autodoc>Arrange(int flag=LIST_ALIGN_DEFAULT) -> bool</autodoc> | |
18132 | <paramlist> | |
18133 | <param name="flag" type="int" default="wxLIST_ALIGN_DEFAULT"/> | |
18134 | </paramlist> | |
18135 | </method> | |
18136 | <method name="DeleteItem" type="bool" overloaded="no"> | |
18137 | <autodoc>DeleteItem(long item) -> bool</autodoc> | |
18138 | <paramlist> | |
18139 | <param name="item" type="long" default=""/> | |
18140 | </paramlist> | |
18141 | </method> | |
18142 | <method name="DeleteAllItems" type="bool" overloaded="no"> | |
18143 | <autodoc>DeleteAllItems() -> bool</autodoc> | |
18144 | </method> | |
18145 | <method name="DeleteColumn" type="bool" overloaded="no"> | |
18146 | <autodoc>DeleteColumn(int col) -> bool</autodoc> | |
18147 | <paramlist> | |
18148 | <param name="col" type="int" default=""/> | |
18149 | </paramlist> | |
18150 | </method> | |
18151 | <method name="DeleteAllColumns" type="bool" overloaded="no"> | |
18152 | <autodoc>DeleteAllColumns() -> bool</autodoc> | |
18153 | </method> | |
18154 | <method name="ClearAll" type="" overloaded="no"> | |
18155 | <autodoc>ClearAll()</autodoc> | |
18156 | </method> | |
18157 | <method name="EditLabel" type="" overloaded="no"> | |
18158 | <autodoc>EditLabel(long item)</autodoc> | |
18159 | <paramlist> | |
18160 | <param name="item" type="long" default=""/> | |
18161 | </paramlist> | |
18162 | </method> | |
18163 | <method name="EnsureVisible" type="bool" overloaded="no"> | |
18164 | <autodoc>EnsureVisible(long item) -> bool</autodoc> | |
18165 | <paramlist> | |
18166 | <param name="item" type="long" default=""/> | |
18167 | </paramlist> | |
18168 | </method> | |
18169 | <method name="FindItem" type="long" overloaded="no"> | |
18170 | <autodoc>FindItem(long start, String str, bool partial=False) -> long</autodoc> | |
18171 | <paramlist> | |
18172 | <param name="start" type="long" default=""/> | |
18173 | <param name="str" type="String" default=""/> | |
18174 | <param name="partial" type="bool" default="False"/> | |
18175 | </paramlist> | |
18176 | </method> | |
18177 | <method name="FindItemData" type="long" overloaded="no"> | |
18178 | <autodoc>FindItemData(long start, long data) -> long</autodoc> | |
18179 | <paramlist> | |
18180 | <param name="start" type="long" default=""/> | |
18181 | <param name="data" type="long" default=""/> | |
18182 | </paramlist> | |
18183 | </method> | |
18184 | <method name="FindItemAtPos" type="long" overloaded="no"> | |
18185 | <autodoc>FindItemAtPos(long start, Point pt, int direction) -> long</autodoc> | |
18186 | <paramlist> | |
18187 | <param name="start" type="long" default=""/> | |
18188 | <param name="pt" type="Point" default=""/> | |
18189 | <param name="direction" type="int" default=""/> | |
18190 | </paramlist> | |
18191 | </method> | |
18192 | <method name="HitTest" type="long" overloaded="no"> | |
18193 | <autodoc>HitTest(Point point) -> (item, where)</autodoc> | |
18194 | <docstring>Determines which item (if any) is at the specified point, | |
18195 | giving details in the second return value (see wxLIST_HITTEST_... flags.)</docstring> | |
18196 | <paramlist> | |
18197 | <param name="point" type="Point" default=""/> | |
18198 | <param name="OUTPUT" type="int" default=""/> | |
18199 | </paramlist> | |
18200 | </method> | |
18201 | <method name="InsertItem" type="long" overloaded="no"> | |
18202 | <autodoc>InsertItem(ListItem info) -> long</autodoc> | |
18203 | <paramlist> | |
18204 | <param name="info" type="ListItem" default=""/> | |
18205 | </paramlist> | |
18206 | </method> | |
18207 | <method name="InsertStringItem" type="long" overloaded="no"> | |
18208 | <autodoc>InsertStringItem(long index, String label) -> long</autodoc> | |
18209 | <paramlist> | |
18210 | <param name="index" type="long" default=""/> | |
18211 | <param name="label" type="String" default=""/> | |
18212 | </paramlist> | |
18213 | </method> | |
18214 | <method name="InsertImageItem" type="long" overloaded="no"> | |
18215 | <autodoc>InsertImageItem(long index, int imageIndex) -> long</autodoc> | |
18216 | <paramlist> | |
18217 | <param name="index" type="long" default=""/> | |
18218 | <param name="imageIndex" type="int" default=""/> | |
18219 | </paramlist> | |
18220 | </method> | |
18221 | <method name="InsertImageStringItem" type="long" overloaded="no"> | |
18222 | <autodoc>InsertImageStringItem(long index, String label, int imageIndex) -> long</autodoc> | |
18223 | <paramlist> | |
18224 | <param name="index" type="long" default=""/> | |
18225 | <param name="label" type="String" default=""/> | |
18226 | <param name="imageIndex" type="int" default=""/> | |
18227 | </paramlist> | |
18228 | </method> | |
18229 | <method name="InsertColumnInfo" type="long" overloaded="no"> | |
18230 | <autodoc>InsertColumnInfo(long col, ListItem info) -> long</autodoc> | |
18231 | <paramlist> | |
18232 | <param name="col" type="long" default=""/> | |
18233 | <param name="info" type="ListItem" default=""/> | |
18234 | </paramlist> | |
18235 | </method> | |
18236 | <method name="InsertColumn" type="long" overloaded="no"> | |
18237 | <autodoc>InsertColumn(long col, String heading, int format=LIST_FORMAT_LEFT, | |
18238 | int width=-1) -> long</autodoc> | |
18239 | <paramlist> | |
18240 | <param name="col" type="long" default=""/> | |
18241 | <param name="heading" type="String" default=""/> | |
18242 | <param name="format" type="int" default="wxLIST_FORMAT_LEFT"/> | |
18243 | <param name="width" type="int" default="-1"/> | |
18244 | </paramlist> | |
18245 | </method> | |
18246 | <method name="SetItemCount" type="" overloaded="no"> | |
18247 | <autodoc>SetItemCount(long count)</autodoc> | |
18248 | <paramlist> | |
18249 | <param name="count" type="long" default=""/> | |
18250 | </paramlist> | |
18251 | </method> | |
18252 | <method name="ScrollList" type="bool" overloaded="no"> | |
18253 | <autodoc>ScrollList(int dx, int dy) -> bool</autodoc> | |
18254 | <paramlist> | |
18255 | <param name="dx" type="int" default=""/> | |
18256 | <param name="dy" type="int" default=""/> | |
18257 | </paramlist> | |
18258 | </method> | |
18259 | <method name="SetItemTextColour" type="" overloaded="no"> | |
18260 | <autodoc>SetItemTextColour(long item, Colour col)</autodoc> | |
18261 | <paramlist> | |
18262 | <param name="item" type="long" default=""/> | |
18263 | <param name="col" type="Colour" default=""/> | |
18264 | </paramlist> | |
18265 | </method> | |
18266 | <method name="GetItemTextColour" type="Colour" overloaded="no"> | |
18267 | <autodoc>GetItemTextColour(long item) -> Colour</autodoc> | |
18268 | <paramlist> | |
18269 | <param name="item" type="long" default=""/> | |
18270 | </paramlist> | |
18271 | </method> | |
18272 | <method name="SetItemBackgroundColour" type="" overloaded="no"> | |
18273 | <autodoc>SetItemBackgroundColour(long item, Colour col)</autodoc> | |
18274 | <paramlist> | |
18275 | <param name="item" type="long" default=""/> | |
18276 | <param name="col" type="Colour" default=""/> | |
18277 | </paramlist> | |
18278 | </method> | |
18279 | <method name="GetItemBackgroundColour" type="Colour" overloaded="no"> | |
18280 | <autodoc>GetItemBackgroundColour(long item) -> Colour</autodoc> | |
18281 | <paramlist> | |
18282 | <param name="item" type="long" default=""/> | |
18283 | </paramlist> | |
18284 | </method> | |
18285 | <method name="SortItems" type="bool" overloaded="no"> | |
18286 | <autodoc>SortItems(PyObject func) -> bool</autodoc> | |
18287 | <paramlist> | |
18288 | <param name="func" type="PyObject" default=""/> | |
18289 | </paramlist> | |
18290 | </method> | |
18291 | <method name="GetMainWindow" type="Window" overloaded="no"> | |
18292 | <autodoc>GetMainWindow() -> Window</autodoc> | |
18293 | </method> | |
18294 | </class> | |
18295 | <pythoncode> | |
18296 | #--------------------------------------------------------------------------- | |
18297 | </pythoncode> | |
18298 | <class name="ListView" oldname="wxListView" module="controls"> | |
18299 | <baseclass name="ListCtrl"/> | |
18300 | <constructor name="ListView" overloaded="no"> | |
18301 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
18302 | Size size=DefaultSize, long style=LC_REPORT, | |
18303 | Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> ListView</autodoc> | |
18304 | <paramlist> | |
18305 | <param name="parent" type="Window" default=""/> | |
18306 | <param name="id" type="int" default="-1"/> | |
18307 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
18308 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18309 | <param name="style" type="long" default="wxLC_REPORT"/> | |
18310 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
18311 | <param name="name" type="String" default="wxPyListCtrlNameStr"/> | |
18312 | </paramlist> | |
18313 | </constructor> | |
18314 | <constructor name="PreListView" overloaded="no"> | |
18315 | <autodoc>PreListView() -> ListView</autodoc> | |
18316 | </constructor> | |
18317 | <method name="Create" type="bool" overloaded="no"> | |
18318 | <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, | |
18319 | Size size=DefaultSize, long style=LC_REPORT, | |
18320 | Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> bool</autodoc> | |
c2dda882 | 18321 | <docstring>Do the 2nd phase and create the GUI control.</docstring> |
f32fc4bc RD |
18322 | <paramlist> |
18323 | <param name="parent" type="Window" default=""/> | |
18324 | <param name="id" type="int" default="-1"/> | |
18325 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
18326 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18327 | <param name="style" type="long" default="wxLC_REPORT"/> | |
18328 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
18329 | <param name="name" type="String" default="wxPyListCtrlNameStr"/> | |
18330 | </paramlist> | |
18331 | </method> | |
18332 | <method name="Select" type="" overloaded="no"> | |
18333 | <autodoc>Select(long n, bool on=True)</autodoc> | |
18334 | <paramlist> | |
18335 | <param name="n" type="long" default=""/> | |
18336 | <param name="on" type="bool" default="True"/> | |
18337 | </paramlist> | |
18338 | </method> | |
18339 | <method name="Focus" type="" overloaded="no"> | |
18340 | <autodoc>Focus(long index)</autodoc> | |
18341 | <paramlist> | |
18342 | <param name="index" type="long" default=""/> | |
18343 | </paramlist> | |
18344 | </method> | |
18345 | <method name="GetFocusedItem" type="long" overloaded="no"> | |
18346 | <autodoc>GetFocusedItem() -> long</autodoc> | |
18347 | </method> | |
18348 | <method name="GetNextSelected" type="long" overloaded="no"> | |
18349 | <autodoc>GetNextSelected(long item) -> long</autodoc> | |
18350 | <paramlist> | |
18351 | <param name="item" type="long" default=""/> | |
18352 | </paramlist> | |
18353 | </method> | |
18354 | <method name="GetFirstSelected" type="long" overloaded="no"> | |
18355 | <autodoc>GetFirstSelected() -> long</autodoc> | |
18356 | </method> | |
18357 | <method name="IsSelected" type="bool" overloaded="no"> | |
18358 | <autodoc>IsSelected(long index) -> bool</autodoc> | |
18359 | <paramlist> | |
18360 | <param name="index" type="long" default=""/> | |
18361 | </paramlist> | |
18362 | </method> | |
18363 | <method name="SetColumnImage" type="" overloaded="no"> | |
18364 | <autodoc>SetColumnImage(int col, int image)</autodoc> | |
18365 | <paramlist> | |
18366 | <param name="col" type="int" default=""/> | |
18367 | <param name="image" type="int" default=""/> | |
18368 | </paramlist> | |
18369 | </method> | |
18370 | <method name="ClearColumnImage" type="" overloaded="no"> | |
18371 | <autodoc>ClearColumnImage(int col)</autodoc> | |
18372 | <paramlist> | |
18373 | <param name="col" type="int" default=""/> | |
18374 | </paramlist> | |
18375 | </method> | |
18376 | </class> | |
18377 | <pythoncode> | |
18378 | #--------------------------------------------------------------------------- | |
18379 | </pythoncode> | |
18380 | <pythoncode> | |
18381 | #--------------------------------------------------------------------------- | |
18382 | </pythoncode> | |
18383 | <class name="TreeItemId" oldname="wxTreeItemId" module="controls"> | |
18384 | <constructor name="TreeItemId" overloaded="no"> | |
18385 | <autodoc>__init__() -> TreeItemId</autodoc> | |
18386 | </constructor> | |
18387 | <destructor name="~wxTreeItemId" overloaded="no"> | |
18388 | <autodoc>__del__()</autodoc> | |
18389 | </destructor> | |
18390 | <method name="IsOk" type="bool" overloaded="no"> | |
18391 | <autodoc>IsOk() -> bool</autodoc> | |
18392 | </method> | |
18393 | <method name="__eq__" type="bool" overloaded="no"> | |
18394 | <autodoc>__eq__(TreeItemId other) -> bool</autodoc> | |
18395 | <paramlist> | |
18396 | <param name="other" type="TreeItemId" default=""/> | |
18397 | </paramlist> | |
18398 | </method> | |
18399 | <method name="__ne__" type="bool" overloaded="no"> | |
18400 | <autodoc>__ne__(TreeItemId other) -> bool</autodoc> | |
18401 | <paramlist> | |
18402 | <param name="other" type="TreeItemId" default=""/> | |
18403 | </paramlist> | |
18404 | </method> | |
18405 | <property name="m_pItem" type="" readonly="no"/> | |
18406 | </class> | |
18407 | <class name="TreeItemData" oldname="wxPyTreeItemData" module="controls"> | |
18408 | <constructor name="wxPyTreeItemData" overloaded="no"> | |
18409 | <autodoc>__init__(PyObject obj=None) -> TreeItemData</autodoc> | |
18410 | <paramlist> | |
18411 | <param name="obj" type="PyObject" default="NULL"/> | |
18412 | </paramlist> | |
18413 | </constructor> | |
18414 | <method name="GetData" type="PyObject" overloaded="no"> | |
18415 | <autodoc>GetData() -> PyObject</autodoc> | |
18416 | </method> | |
18417 | <method name="SetData" type="" overloaded="no"> | |
18418 | <autodoc>SetData(PyObject obj)</autodoc> | |
18419 | <paramlist> | |
18420 | <param name="obj" type="PyObject" default=""/> | |
18421 | </paramlist> | |
18422 | </method> | |
18423 | <method name="GetId" type="TreeItemId" overloaded="no"> | |
18424 | <autodoc>GetId() -> TreeItemId</autodoc> | |
18425 | </method> | |
18426 | <method name="SetId" type="" overloaded="no"> | |
18427 | <autodoc>SetId(TreeItemId id)</autodoc> | |
18428 | <paramlist> | |
18429 | <param name="id" type="TreeItemId" default=""/> | |
18430 | </paramlist> | |
18431 | </method> | |
18432 | <method name="Destroy" type="" overloaded="no"> | |
18433 | <autodoc>Destroy()</autodoc> | |
18434 | </method> | |
18435 | </class> | |
18436 | <pythoncode> | |
18437 | #--------------------------------------------------------------------------- | |
18438 | </pythoncode> | |
18439 | <pythoncode> | |
18440 | ||
18441 | EVT_TREE_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_DRAG , 1) | |
18442 | EVT_TREE_BEGIN_RDRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_RDRAG , 1) | |
18443 | EVT_TREE_BEGIN_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT , 1) | |
18444 | EVT_TREE_END_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_TREE_END_LABEL_EDIT , 1) | |
18445 | EVT_TREE_DELETE_ITEM = wx.PyEventBinder(wxEVT_COMMAND_TREE_DELETE_ITEM , 1) | |
18446 | EVT_TREE_GET_INFO = wx.PyEventBinder(wxEVT_COMMAND_TREE_GET_INFO , 1) | |
18447 | EVT_TREE_SET_INFO = wx.PyEventBinder(wxEVT_COMMAND_TREE_SET_INFO , 1) | |
18448 | EVT_TREE_ITEM_EXPANDED = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_EXPANDED , 1) | |
18449 | EVT_TREE_ITEM_EXPANDING = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_EXPANDING , 1) | |
18450 | EVT_TREE_ITEM_COLLAPSED = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_COLLAPSED , 1) | |
18451 | EVT_TREE_ITEM_COLLAPSING = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_COLLAPSING , 1) | |
18452 | EVT_TREE_SEL_CHANGED = wx.PyEventBinder(wxEVT_COMMAND_TREE_SEL_CHANGED , 1) | |
18453 | EVT_TREE_SEL_CHANGING = wx.PyEventBinder(wxEVT_COMMAND_TREE_SEL_CHANGING , 1) | |
18454 | EVT_TREE_KEY_DOWN = wx.PyEventBinder(wxEVT_COMMAND_TREE_KEY_DOWN , 1) | |
18455 | EVT_TREE_ITEM_ACTIVATED = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_ACTIVATED , 1) | |
18456 | EVT_TREE_ITEM_RIGHT_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK , 1) | |
18457 | EVT_TREE_ITEM_MIDDLE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 1) | |
18458 | EVT_TREE_END_DRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_END_DRAG , 1) | |
18459 | EVT_TREE_STATE_IMAGE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 1) | |
18460 | EVT_TREE_ITEM_GETTOOLTIP = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 1) | |
18461 | </pythoncode> | |
18462 | <class name="TreeEvent" oldname="wxTreeEvent" module="controls"> | |
18463 | <baseclass name="NotifyEvent"/> | |
18464 | <constructor name="TreeEvent" overloaded="no"> | |
18465 | <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> TreeEvent</autodoc> | |
18466 | <paramlist> | |
18467 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
18468 | <param name="id" type="int" default="0"/> | |
18469 | </paramlist> | |
18470 | </constructor> | |
18471 | <method name="GetItem" type="TreeItemId" overloaded="no"> | |
18472 | <autodoc>GetItem() -> TreeItemId</autodoc> | |
18473 | </method> | |
18474 | <method name="SetItem" type="" overloaded="no"> | |
18475 | <autodoc>SetItem(TreeItemId item)</autodoc> | |
18476 | <paramlist> | |
18477 | <param name="item" type="TreeItemId" default=""/> | |
18478 | </paramlist> | |
18479 | </method> | |
18480 | <method name="GetOldItem" type="TreeItemId" overloaded="no"> | |
18481 | <autodoc>GetOldItem() -> TreeItemId</autodoc> | |
18482 | </method> | |
18483 | <method name="SetOldItem" type="" overloaded="no"> | |
18484 | <autodoc>SetOldItem(TreeItemId item)</autodoc> | |
18485 | <paramlist> | |
18486 | <param name="item" type="TreeItemId" default=""/> | |
18487 | </paramlist> | |
18488 | </method> | |
18489 | <method name="GetPoint" type="Point" overloaded="no"> | |
18490 | <autodoc>GetPoint() -> Point</autodoc> | |
18491 | </method> | |
18492 | <method name="SetPoint" type="" overloaded="no"> | |
18493 | <autodoc>SetPoint(Point pt)</autodoc> | |
18494 | <paramlist> | |
18495 | <param name="pt" type="Point" default=""/> | |
18496 | </paramlist> | |
18497 | </method> | |
18498 | <method name="GetKeyEvent" type="KeyEvent" overloaded="no"> | |
18499 | <autodoc>GetKeyEvent() -> KeyEvent</autodoc> | |
18500 | </method> | |
18501 | <method name="GetKeyCode" type="int" overloaded="no"> | |
18502 | <autodoc>GetKeyCode() -> int</autodoc> | |
18503 | </method> | |
18504 | <method name="SetKeyEvent" type="" overloaded="no"> | |
18505 | <autodoc>SetKeyEvent(KeyEvent evt)</autodoc> | |
18506 | <paramlist> | |
18507 | <param name="evt" type="KeyEvent" default=""/> | |
18508 | </paramlist> | |
18509 | </method> | |
18510 | <method name="GetLabel" type="String" overloaded="no"> | |
18511 | <autodoc>GetLabel() -> String</autodoc> | |
18512 | </method> | |
18513 | <method name="SetLabel" type="" overloaded="no"> | |
18514 | <autodoc>SetLabel(String label)</autodoc> | |
18515 | <paramlist> | |
18516 | <param name="label" type="String" default=""/> | |
18517 | </paramlist> | |
18518 | </method> | |
18519 | <method name="IsEditCancelled" type="bool" overloaded="no"> | |
18520 | <autodoc>IsEditCancelled() -> bool</autodoc> | |
18521 | </method> | |
18522 | <method name="SetEditCanceled" type="" overloaded="no"> | |
18523 | <autodoc>SetEditCanceled(bool editCancelled)</autodoc> | |
18524 | <paramlist> | |
18525 | <param name="editCancelled" type="bool" default=""/> | |
18526 | </paramlist> | |
18527 | </method> | |
18528 | <method name="SetToolTip" type="" overloaded="no"> | |
18529 | <autodoc>SetToolTip(String toolTip)</autodoc> | |
18530 | <paramlist> | |
18531 | <param name="toolTip" type="String" default=""/> | |
18532 | </paramlist> | |
18533 | </method> | |
18534 | </class> | |
18535 | <pythoncode> | |
18536 | #--------------------------------------------------------------------------- | |
18537 | </pythoncode> | |
18538 | <class name="TreeCtrl" oldname="wxPyTreeCtrl" module="controls"> | |
18539 | <baseclass name="Control"/> | |
18540 | <constructor name="wxPyTreeCtrl" overloaded="no"> | |
18541 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
18542 | Size size=DefaultSize, long style=TR_DEFAULT_STYLE, | |
18543 | Validator validator=DefaultValidator, | |
18544 | String name=TreeCtrlNameStr) -> TreeCtrl</autodoc> | |
18545 | <paramlist> | |
18546 | <param name="parent" type="Window" default=""/> | |
18547 | <param name="id" type="int" default="-1"/> | |
18548 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
18549 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18550 | <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/> | |
18551 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
18552 | <param name="name" type="String" default="wxPyTreeCtrlNameStr"/> | |
18553 | </paramlist> | |
18554 | </constructor> | |
18555 | <constructor name="PreTreeCtrl" overloaded="no"> | |
18556 | <autodoc>PreTreeCtrl() -> TreeCtrl</autodoc> | |
18557 | </constructor> | |
18558 | <method name="Create" type="bool" overloaded="no"> | |
18559 | <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, | |
18560 | Size size=DefaultSize, long style=TR_DEFAULT_STYLE, | |
18561 | Validator validator=DefaultValidator, | |
18562 | String name=TreeCtrlNameStr) -> bool</autodoc> | |
c2dda882 | 18563 | <docstring>Do the 2nd phase and create the GUI control.</docstring> |
f32fc4bc RD |
18564 | <paramlist> |
18565 | <param name="parent" type="Window" default=""/> | |
18566 | <param name="id" type="int" default="-1"/> | |
18567 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
18568 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18569 | <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/> | |
18570 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
18571 | <param name="name" type="String" default="wxPyTreeCtrlNameStr"/> | |
18572 | </paramlist> | |
18573 | </method> | |
18574 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
18575 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
18576 | <paramlist> | |
18577 | <param name="self" type="PyObject" default=""/> | |
18578 | <param name="_class" type="PyObject" default=""/> | |
18579 | </paramlist> | |
18580 | </method> | |
18581 | <method name="GetCount" type="size_t" overloaded="no"> | |
18582 | <autodoc>GetCount() -> size_t</autodoc> | |
18583 | </method> | |
18584 | <method name="GetIndent" type="unsigned int" overloaded="no"> | |
18585 | <autodoc>GetIndent() -> unsigned int</autodoc> | |
18586 | </method> | |
18587 | <method name="SetIndent" type="" overloaded="no"> | |
18588 | <autodoc>SetIndent(unsigned int indent)</autodoc> | |
18589 | <paramlist> | |
18590 | <param name="indent" type="unsigned int" default=""/> | |
18591 | </paramlist> | |
18592 | </method> | |
18593 | <method name="GetSpacing" type="unsigned int" overloaded="no"> | |
18594 | <autodoc>GetSpacing() -> unsigned int</autodoc> | |
18595 | </method> | |
18596 | <method name="SetSpacing" type="" overloaded="no"> | |
18597 | <autodoc>SetSpacing(unsigned int spacing)</autodoc> | |
18598 | <paramlist> | |
18599 | <param name="spacing" type="unsigned int" default=""/> | |
18600 | </paramlist> | |
18601 | </method> | |
18602 | <method name="GetImageList" type="ImageList" overloaded="no"> | |
18603 | <autodoc>GetImageList() -> ImageList</autodoc> | |
18604 | </method> | |
18605 | <method name="GetStateImageList" type="ImageList" overloaded="no"> | |
18606 | <autodoc>GetStateImageList() -> ImageList</autodoc> | |
18607 | </method> | |
18608 | <method name="SetImageList" type="" overloaded="no"> | |
18609 | <autodoc>SetImageList(ImageList imageList)</autodoc> | |
18610 | <paramlist> | |
18611 | <param name="imageList" type="ImageList" default=""/> | |
18612 | </paramlist> | |
18613 | </method> | |
18614 | <method name="SetStateImageList" type="" overloaded="no"> | |
18615 | <autodoc>SetStateImageList(ImageList imageList)</autodoc> | |
18616 | <paramlist> | |
18617 | <param name="imageList" type="ImageList" default=""/> | |
18618 | </paramlist> | |
18619 | </method> | |
18620 | <method name="AssignImageList" type="" overloaded="no"> | |
18621 | <autodoc>AssignImageList(ImageList imageList)</autodoc> | |
18622 | <paramlist> | |
18623 | <param name="imageList" type="ImageList" default=""/> | |
18624 | </paramlist> | |
18625 | </method> | |
18626 | <method name="AssignStateImageList" type="" overloaded="no"> | |
18627 | <autodoc>AssignStateImageList(ImageList imageList)</autodoc> | |
18628 | <paramlist> | |
18629 | <param name="imageList" type="ImageList" default=""/> | |
18630 | </paramlist> | |
18631 | </method> | |
18632 | <method name="GetItemText" type="String" overloaded="no"> | |
18633 | <autodoc>GetItemText(TreeItemId item) -> String</autodoc> | |
18634 | <paramlist> | |
18635 | <param name="item" type="TreeItemId" default=""/> | |
18636 | </paramlist> | |
18637 | </method> | |
18638 | <method name="GetItemImage" type="int" overloaded="no"> | |
18639 | <autodoc>GetItemImage(TreeItemId item, int which=TreeItemIcon_Normal) -> int</autodoc> | |
18640 | <paramlist> | |
18641 | <param name="item" type="TreeItemId" default=""/> | |
18642 | <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/> | |
18643 | </paramlist> | |
18644 | </method> | |
18645 | <method name="GetItemData" type="TreeItemData" overloaded="no"> | |
18646 | <autodoc>GetItemData(TreeItemId item) -> TreeItemData</autodoc> | |
18647 | <paramlist> | |
18648 | <param name="item" type="TreeItemId" default=""/> | |
18649 | </paramlist> | |
18650 | </method> | |
18651 | <method name="GetItemPyData" type="PyObject" overloaded="no"> | |
18652 | <autodoc>GetItemPyData(TreeItemId item) -> PyObject</autodoc> | |
18653 | <paramlist> | |
18654 | <param name="item" type="TreeItemId" default=""/> | |
18655 | </paramlist> | |
18656 | </method> | |
18657 | <method name="GetItemTextColour" type="Colour" overloaded="no"> | |
18658 | <autodoc>GetItemTextColour(TreeItemId item) -> Colour</autodoc> | |
18659 | <paramlist> | |
18660 | <param name="item" type="TreeItemId" default=""/> | |
18661 | </paramlist> | |
18662 | </method> | |
18663 | <method name="GetItemBackgroundColour" type="Colour" overloaded="no"> | |
18664 | <autodoc>GetItemBackgroundColour(TreeItemId item) -> Colour</autodoc> | |
18665 | <paramlist> | |
18666 | <param name="item" type="TreeItemId" default=""/> | |
18667 | </paramlist> | |
18668 | </method> | |
18669 | <method name="GetItemFont" type="Font" overloaded="no"> | |
18670 | <autodoc>GetItemFont(TreeItemId item) -> Font</autodoc> | |
18671 | <paramlist> | |
18672 | <param name="item" type="TreeItemId" default=""/> | |
18673 | </paramlist> | |
18674 | </method> | |
18675 | <method name="SetItemText" type="" overloaded="no"> | |
18676 | <autodoc>SetItemText(TreeItemId item, String text)</autodoc> | |
18677 | <paramlist> | |
18678 | <param name="item" type="TreeItemId" default=""/> | |
18679 | <param name="text" type="String" default=""/> | |
18680 | </paramlist> | |
18681 | </method> | |
18682 | <method name="SetItemImage" type="" overloaded="no"> | |
18683 | <autodoc>SetItemImage(TreeItemId item, int image, int which=TreeItemIcon_Normal)</autodoc> | |
18684 | <paramlist> | |
18685 | <param name="item" type="TreeItemId" default=""/> | |
18686 | <param name="image" type="int" default=""/> | |
18687 | <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/> | |
18688 | </paramlist> | |
18689 | </method> | |
18690 | <method name="SetItemData" type="" overloaded="no"> | |
18691 | <autodoc>SetItemData(TreeItemId item, TreeItemData data)</autodoc> | |
18692 | <paramlist> | |
18693 | <param name="item" type="TreeItemId" default=""/> | |
18694 | <param name="data" type="TreeItemData" default=""/> | |
18695 | </paramlist> | |
18696 | </method> | |
18697 | <method name="SetItemPyData" type="" overloaded="no"> | |
18698 | <autodoc>SetItemPyData(TreeItemId item, PyObject obj)</autodoc> | |
18699 | <paramlist> | |
18700 | <param name="item" type="TreeItemId" default=""/> | |
18701 | <param name="obj" type="PyObject" default=""/> | |
18702 | </paramlist> | |
18703 | </method> | |
18704 | <method name="SetItemHasChildren" type="" overloaded="no"> | |
18705 | <autodoc>SetItemHasChildren(TreeItemId item, bool has=True)</autodoc> | |
18706 | <paramlist> | |
18707 | <param name="item" type="TreeItemId" default=""/> | |
18708 | <param name="has" type="bool" default="True"/> | |
18709 | </paramlist> | |
18710 | </method> | |
18711 | <method name="SetItemBold" type="" overloaded="no"> | |
18712 | <autodoc>SetItemBold(TreeItemId item, bool bold=True)</autodoc> | |
18713 | <paramlist> | |
18714 | <param name="item" type="TreeItemId" default=""/> | |
18715 | <param name="bold" type="bool" default="True"/> | |
18716 | </paramlist> | |
18717 | </method> | |
18718 | <method name="SetItemTextColour" type="" overloaded="no"> | |
18719 | <autodoc>SetItemTextColour(TreeItemId item, Colour col)</autodoc> | |
18720 | <paramlist> | |
18721 | <param name="item" type="TreeItemId" default=""/> | |
18722 | <param name="col" type="Colour" default=""/> | |
18723 | </paramlist> | |
18724 | </method> | |
18725 | <method name="SetItemBackgroundColour" type="" overloaded="no"> | |
18726 | <autodoc>SetItemBackgroundColour(TreeItemId item, Colour col)</autodoc> | |
18727 | <paramlist> | |
18728 | <param name="item" type="TreeItemId" default=""/> | |
18729 | <param name="col" type="Colour" default=""/> | |
18730 | </paramlist> | |
18731 | </method> | |
18732 | <method name="SetItemFont" type="" overloaded="no"> | |
18733 | <autodoc>SetItemFont(TreeItemId item, Font font)</autodoc> | |
18734 | <paramlist> | |
18735 | <param name="item" type="TreeItemId" default=""/> | |
18736 | <param name="font" type="Font" default=""/> | |
18737 | </paramlist> | |
18738 | </method> | |
18739 | <method name="IsVisible" type="bool" overloaded="no"> | |
18740 | <autodoc>IsVisible(TreeItemId item) -> bool</autodoc> | |
18741 | <paramlist> | |
18742 | <param name="item" type="TreeItemId" default=""/> | |
18743 | </paramlist> | |
18744 | </method> | |
18745 | <method name="ItemHasChildren" type="bool" overloaded="no"> | |
18746 | <autodoc>ItemHasChildren(TreeItemId item) -> bool</autodoc> | |
18747 | <paramlist> | |
18748 | <param name="item" type="TreeItemId" default=""/> | |
18749 | </paramlist> | |
18750 | </method> | |
18751 | <method name="IsExpanded" type="bool" overloaded="no"> | |
18752 | <autodoc>IsExpanded(TreeItemId item) -> bool</autodoc> | |
18753 | <paramlist> | |
18754 | <param name="item" type="TreeItemId" default=""/> | |
18755 | </paramlist> | |
18756 | </method> | |
18757 | <method name="IsSelected" type="bool" overloaded="no"> | |
18758 | <autodoc>IsSelected(TreeItemId item) -> bool</autodoc> | |
18759 | <paramlist> | |
18760 | <param name="item" type="TreeItemId" default=""/> | |
18761 | </paramlist> | |
18762 | </method> | |
18763 | <method name="IsBold" type="bool" overloaded="no"> | |
18764 | <autodoc>IsBold(TreeItemId item) -> bool</autodoc> | |
18765 | <paramlist> | |
18766 | <param name="item" type="TreeItemId" default=""/> | |
18767 | </paramlist> | |
18768 | </method> | |
18769 | <method name="GetChildrenCount" type="size_t" overloaded="no"> | |
18770 | <autodoc>GetChildrenCount(TreeItemId item, bool recursively=True) -> size_t</autodoc> | |
18771 | <paramlist> | |
18772 | <param name="item" type="TreeItemId" default=""/> | |
18773 | <param name="recursively" type="bool" default="True"/> | |
18774 | </paramlist> | |
18775 | </method> | |
18776 | <method name="GetRootItem" type="TreeItemId" overloaded="no"> | |
18777 | <autodoc>GetRootItem() -> TreeItemId</autodoc> | |
18778 | </method> | |
18779 | <method name="GetSelection" type="TreeItemId" overloaded="no"> | |
18780 | <autodoc>GetSelection() -> TreeItemId</autodoc> | |
18781 | </method> | |
18782 | <method name="GetSelections" type="PyObject" overloaded="no"> | |
18783 | <autodoc>GetSelections() -> PyObject</autodoc> | |
18784 | </method> | |
18785 | <method name="GetItemParent" type="TreeItemId" overloaded="no"> | |
18786 | <autodoc>GetItemParent(TreeItemId item) -> TreeItemId</autodoc> | |
18787 | <paramlist> | |
18788 | <param name="item" type="TreeItemId" default=""/> | |
18789 | </paramlist> | |
18790 | </method> | |
18791 | <method name="GetFirstChild" type="PyObject" overloaded="no"> | |
18792 | <autodoc>GetFirstChild(TreeItemId item) -> PyObject</autodoc> | |
18793 | <paramlist> | |
18794 | <param name="item" type="TreeItemId" default=""/> | |
18795 | </paramlist> | |
18796 | </method> | |
18797 | <method name="GetNextChild" type="PyObject" overloaded="no"> | |
18798 | <autodoc>GetNextChild(TreeItemId item, void cookie) -> PyObject</autodoc> | |
18799 | <paramlist> | |
18800 | <param name="item" type="TreeItemId" default=""/> | |
18801 | <param name="cookie" type="" default=""/> | |
18802 | </paramlist> | |
18803 | </method> | |
18804 | <method name="GetLastChild" type="TreeItemId" overloaded="no"> | |
18805 | <autodoc>GetLastChild(TreeItemId item) -> TreeItemId</autodoc> | |
18806 | <paramlist> | |
18807 | <param name="item" type="TreeItemId" default=""/> | |
18808 | </paramlist> | |
18809 | </method> | |
18810 | <method name="GetNextSibling" type="TreeItemId" overloaded="no"> | |
18811 | <autodoc>GetNextSibling(TreeItemId item) -> TreeItemId</autodoc> | |
18812 | <paramlist> | |
18813 | <param name="item" type="TreeItemId" default=""/> | |
18814 | </paramlist> | |
18815 | </method> | |
18816 | <method name="GetPrevSibling" type="TreeItemId" overloaded="no"> | |
18817 | <autodoc>GetPrevSibling(TreeItemId item) -> TreeItemId</autodoc> | |
18818 | <paramlist> | |
18819 | <param name="item" type="TreeItemId" default=""/> | |
18820 | </paramlist> | |
18821 | </method> | |
18822 | <method name="GetFirstVisibleItem" type="TreeItemId" overloaded="no"> | |
18823 | <autodoc>GetFirstVisibleItem() -> TreeItemId</autodoc> | |
18824 | </method> | |
18825 | <method name="GetNextVisible" type="TreeItemId" overloaded="no"> | |
18826 | <autodoc>GetNextVisible(TreeItemId item) -> TreeItemId</autodoc> | |
18827 | <paramlist> | |
18828 | <param name="item" type="TreeItemId" default=""/> | |
18829 | </paramlist> | |
18830 | </method> | |
18831 | <method name="GetPrevVisible" type="TreeItemId" overloaded="no"> | |
18832 | <autodoc>GetPrevVisible(TreeItemId item) -> TreeItemId</autodoc> | |
18833 | <paramlist> | |
18834 | <param name="item" type="TreeItemId" default=""/> | |
18835 | </paramlist> | |
18836 | </method> | |
18837 | <method name="AddRoot" type="TreeItemId" overloaded="no"> | |
18838 | <autodoc>AddRoot(String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc> | |
18839 | <paramlist> | |
18840 | <param name="text" type="String" default=""/> | |
18841 | <param name="image" type="int" default="-1"/> | |
18842 | <param name="selectedImage" type="int" default="-1"/> | |
18843 | <param name="data" type="TreeItemData" default="NULL"/> | |
18844 | </paramlist> | |
18845 | </method> | |
18846 | <method name="PrependItem" type="TreeItemId" overloaded="no"> | |
18847 | <autodoc>PrependItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1, | |
18848 | TreeItemData data=None) -> TreeItemId</autodoc> | |
18849 | <paramlist> | |
18850 | <param name="parent" type="TreeItemId" default=""/> | |
18851 | <param name="text" type="String" default=""/> | |
18852 | <param name="image" type="int" default="-1"/> | |
18853 | <param name="selectedImage" type="int" default="-1"/> | |
18854 | <param name="data" type="TreeItemData" default="NULL"/> | |
18855 | </paramlist> | |
18856 | </method> | |
18857 | <method name="InsertItem" type="TreeItemId" overloaded="no"> | |
18858 | <autodoc>InsertItem(TreeItemId parent, TreeItemId idPrevious, String text, | |
18859 | int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc> | |
18860 | <paramlist> | |
18861 | <param name="parent" type="TreeItemId" default=""/> | |
18862 | <param name="idPrevious" type="TreeItemId" default=""/> | |
18863 | <param name="text" type="String" default=""/> | |
18864 | <param name="image" type="int" default="-1"/> | |
18865 | <param name="selectedImage" type="int" default="-1"/> | |
18866 | <param name="data" type="TreeItemData" default="NULL"/> | |
18867 | </paramlist> | |
18868 | </method> | |
18869 | <method name="InsertItemBefore" type="TreeItemId" overloaded="no"> | |
18870 | <autodoc>InsertItemBefore(TreeItemId parent, size_t index, String text, int image=-1, | |
18871 | int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc> | |
18872 | <paramlist> | |
18873 | <param name="parent" type="TreeItemId" default=""/> | |
18874 | <param name="index" type="size_t" default=""/> | |
18875 | <param name="text" type="String" default=""/> | |
18876 | <param name="image" type="int" default="-1"/> | |
18877 | <param name="selectedImage" type="int" default="-1"/> | |
18878 | <param name="data" type="TreeItemData" default="NULL"/> | |
18879 | </paramlist> | |
18880 | </method> | |
18881 | <method name="AppendItem" type="TreeItemId" overloaded="no"> | |
18882 | <autodoc>AppendItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1, | |
18883 | TreeItemData data=None) -> TreeItemId</autodoc> | |
18884 | <paramlist> | |
18885 | <param name="parent" type="TreeItemId" default=""/> | |
18886 | <param name="text" type="String" default=""/> | |
18887 | <param name="image" type="int" default="-1"/> | |
18888 | <param name="selectedImage" type="int" default="-1"/> | |
18889 | <param name="data" type="TreeItemData" default="NULL"/> | |
18890 | </paramlist> | |
18891 | </method> | |
18892 | <method name="Delete" type="" overloaded="no"> | |
18893 | <autodoc>Delete(TreeItemId item)</autodoc> | |
18894 | <paramlist> | |
18895 | <param name="item" type="TreeItemId" default=""/> | |
18896 | </paramlist> | |
18897 | </method> | |
18898 | <method name="DeleteChildren" type="" overloaded="no"> | |
18899 | <autodoc>DeleteChildren(TreeItemId item)</autodoc> | |
18900 | <paramlist> | |
18901 | <param name="item" type="TreeItemId" default=""/> | |
18902 | </paramlist> | |
18903 | </method> | |
18904 | <method name="DeleteAllItems" type="" overloaded="no"> | |
18905 | <autodoc>DeleteAllItems()</autodoc> | |
18906 | </method> | |
18907 | <method name="Expand" type="" overloaded="no"> | |
18908 | <autodoc>Expand(TreeItemId item)</autodoc> | |
18909 | <paramlist> | |
18910 | <param name="item" type="TreeItemId" default=""/> | |
18911 | </paramlist> | |
18912 | </method> | |
18913 | <method name="Collapse" type="" overloaded="no"> | |
18914 | <autodoc>Collapse(TreeItemId item)</autodoc> | |
18915 | <paramlist> | |
18916 | <param name="item" type="TreeItemId" default=""/> | |
18917 | </paramlist> | |
18918 | </method> | |
18919 | <method name="CollapseAndReset" type="" overloaded="no"> | |
18920 | <autodoc>CollapseAndReset(TreeItemId item)</autodoc> | |
18921 | <paramlist> | |
18922 | <param name="item" type="TreeItemId" default=""/> | |
18923 | </paramlist> | |
18924 | </method> | |
18925 | <method name="Toggle" type="" overloaded="no"> | |
18926 | <autodoc>Toggle(TreeItemId item)</autodoc> | |
18927 | <paramlist> | |
18928 | <param name="item" type="TreeItemId" default=""/> | |
18929 | </paramlist> | |
18930 | </method> | |
18931 | <method name="Unselect" type="" overloaded="no"> | |
18932 | <autodoc>Unselect()</autodoc> | |
18933 | </method> | |
18934 | <method name="UnselectItem" type="" overloaded="no"> | |
18935 | <autodoc>UnselectItem(TreeItemId item)</autodoc> | |
18936 | <paramlist> | |
18937 | <param name="item" type="TreeItemId" default=""/> | |
18938 | </paramlist> | |
18939 | </method> | |
18940 | <method name="UnselectAll" type="" overloaded="no"> | |
18941 | <autodoc>UnselectAll()</autodoc> | |
18942 | </method> | |
18943 | <method name="SelectItem" type="" overloaded="no"> | |
18944 | <autodoc>SelectItem(TreeItemId item, bool select=True)</autodoc> | |
18945 | <paramlist> | |
18946 | <param name="item" type="TreeItemId" default=""/> | |
18947 | <param name="select" type="bool" default="True"/> | |
18948 | </paramlist> | |
18949 | </method> | |
18950 | <method name="ToggleItemSelection" type="" overloaded="no"> | |
18951 | <autodoc>ToggleItemSelection(TreeItemId item)</autodoc> | |
18952 | <paramlist> | |
18953 | <param name="item" type="TreeItemId" default=""/> | |
18954 | </paramlist> | |
18955 | </method> | |
18956 | <method name="EnsureVisible" type="" overloaded="no"> | |
18957 | <autodoc>EnsureVisible(TreeItemId item)</autodoc> | |
18958 | <paramlist> | |
18959 | <param name="item" type="TreeItemId" default=""/> | |
18960 | </paramlist> | |
18961 | </method> | |
18962 | <method name="ScrollTo" type="" overloaded="no"> | |
18963 | <autodoc>ScrollTo(TreeItemId item)</autodoc> | |
18964 | <paramlist> | |
18965 | <param name="item" type="TreeItemId" default=""/> | |
18966 | </paramlist> | |
18967 | </method> | |
18968 | <method name="EditLabel" type="" overloaded="no"> | |
18969 | <autodoc>EditLabel(TreeItemId item)</autodoc> | |
18970 | <paramlist> | |
18971 | <param name="item" type="TreeItemId" default=""/> | |
18972 | </paramlist> | |
18973 | </method> | |
18974 | <method name="GetEditControl" type="TextCtrl" overloaded="no"> | |
18975 | <autodoc>GetEditControl() -> TextCtrl</autodoc> | |
18976 | </method> | |
18977 | <method name="SortChildren" type="" overloaded="no"> | |
18978 | <autodoc>SortChildren(TreeItemId item)</autodoc> | |
18979 | <paramlist> | |
18980 | <param name="item" type="TreeItemId" default=""/> | |
18981 | </paramlist> | |
18982 | </method> | |
18983 | <method name="HitTest" type="TreeItemId" overloaded="no"> | |
18984 | <autodoc>HitTest(Point point) -> (item, where)</autodoc> | |
18985 | <docstring>Determine which item (if any) belongs the given point. The | |
18986 | coordinates specified are relative to the client area of tree ctrl | |
18987 | and the where return value is set to a bitmask of wxTREE_HITTEST_xxx | |
18988 | constants. | |
18989 | </docstring> | |
18990 | <paramlist> | |
18991 | <param name="point" type="Point" default=""/> | |
18992 | <param name="OUTPUT" type="int" default=""/> | |
18993 | </paramlist> | |
18994 | </method> | |
18995 | <method name="GetBoundingRect" type="PyObject" overloaded="no"> | |
18996 | <autodoc>GetBoundingRect(TreeItemId item, bool textOnly=False) -> PyObject</autodoc> | |
18997 | <paramlist> | |
18998 | <param name="item" type="TreeItemId" default=""/> | |
18999 | <param name="textOnly" type="bool" default="False"/> | |
19000 | </paramlist> | |
19001 | </method> | |
19002 | </class> | |
19003 | <pythoncode> | |
19004 | #--------------------------------------------------------------------------- | |
19005 | </pythoncode> | |
19006 | <class name="GenericDirCtrl" oldname="wxGenericDirCtrl" module="controls"> | |
19007 | <baseclass name="Control"/> | |
19008 | <constructor name="GenericDirCtrl" overloaded="no"> | |
19009 | <autodoc>__init__(Window parent, int id=-1, String dir=DirDialogDefaultFolderStr, | |
19010 | Point pos=DefaultPosition, Size size=DefaultSize, | |
19011 | long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, | |
19012 | String filter=EmptyString, | |
19013 | int defaultFilter=0, String name=TreeCtrlNameStr) -> GenericDirCtrl</autodoc> | |
19014 | <paramlist> | |
19015 | <param name="parent" type="Window" default=""/> | |
19016 | <param name="id" type="int" default="-1"/> | |
19017 | <param name="dir" type="String" default="wxPyDirDialogDefaultFolderStr"/> | |
19018 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
19019 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19020 | <param name="style" type="long" default="wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER"/> | |
19021 | <param name="filter" type="String" default="wxPyEmptyString"/> | |
19022 | <param name="defaultFilter" type="int" default="0"/> | |
19023 | <param name="name" type="String" default="wxPyTreeCtrlNameStr"/> | |
19024 | </paramlist> | |
19025 | </constructor> | |
19026 | <constructor name="PreGenericDirCtrl" overloaded="no"> | |
19027 | <autodoc>PreGenericDirCtrl() -> GenericDirCtrl</autodoc> | |
19028 | </constructor> | |
19029 | <method name="Create" type="bool" overloaded="no"> | |
19030 | <autodoc>Create(Window parent, int id=-1, String dir=DirDialogDefaultFolderStr, | |
19031 | Point pos=DefaultPosition, Size size=DefaultSize, | |
19032 | long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, | |
19033 | String filter=EmptyString, | |
19034 | int defaultFilter=0, String name=TreeCtrlNameStr) -> bool</autodoc> | |
19035 | <paramlist> | |
19036 | <param name="parent" type="Window" default=""/> | |
19037 | <param name="id" type="int" default="-1"/> | |
19038 | <param name="dir" type="String" default="wxPyDirDialogDefaultFolderStr"/> | |
19039 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
19040 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19041 | <param name="style" type="long" default="wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER"/> | |
19042 | <param name="filter" type="String" default="wxPyEmptyString"/> | |
19043 | <param name="defaultFilter" type="int" default="0"/> | |
19044 | <param name="name" type="String" default="wxPyTreeCtrlNameStr"/> | |
19045 | </paramlist> | |
19046 | </method> | |
19047 | <method name="ExpandPath" type="bool" overloaded="no"> | |
19048 | <autodoc>ExpandPath(String path) -> bool</autodoc> | |
19049 | <paramlist> | |
19050 | <param name="path" type="String" default=""/> | |
19051 | </paramlist> | |
19052 | </method> | |
19053 | <method name="GetDefaultPath" type="String" overloaded="no"> | |
19054 | <autodoc>GetDefaultPath() -> String</autodoc> | |
19055 | </method> | |
19056 | <method name="SetDefaultPath" type="" overloaded="no"> | |
19057 | <autodoc>SetDefaultPath(String path)</autodoc> | |
19058 | <paramlist> | |
19059 | <param name="path" type="String" default=""/> | |
19060 | </paramlist> | |
19061 | </method> | |
19062 | <method name="GetPath" type="String" overloaded="no"> | |
19063 | <autodoc>GetPath() -> String</autodoc> | |
19064 | </method> | |
19065 | <method name="GetFilePath" type="String" overloaded="no"> | |
19066 | <autodoc>GetFilePath() -> String</autodoc> | |
19067 | </method> | |
19068 | <method name="SetPath" type="" overloaded="no"> | |
19069 | <autodoc>SetPath(String path)</autodoc> | |
19070 | <paramlist> | |
19071 | <param name="path" type="String" default=""/> | |
19072 | </paramlist> | |
19073 | </method> | |
19074 | <method name="ShowHidden" type="" overloaded="no"> | |
19075 | <autodoc>ShowHidden(bool show)</autodoc> | |
19076 | <paramlist> | |
19077 | <param name="show" type="bool" default=""/> | |
19078 | </paramlist> | |
19079 | </method> | |
19080 | <method name="GetShowHidden" type="bool" overloaded="no"> | |
19081 | <autodoc>GetShowHidden() -> bool</autodoc> | |
19082 | </method> | |
19083 | <method name="GetFilter" type="String" overloaded="no"> | |
19084 | <autodoc>GetFilter() -> String</autodoc> | |
19085 | </method> | |
19086 | <method name="SetFilter" type="" overloaded="no"> | |
19087 | <autodoc>SetFilter(String filter)</autodoc> | |
19088 | <paramlist> | |
19089 | <param name="filter" type="String" default=""/> | |
19090 | </paramlist> | |
19091 | </method> | |
19092 | <method name="GetFilterIndex" type="int" overloaded="no"> | |
19093 | <autodoc>GetFilterIndex() -> int</autodoc> | |
19094 | </method> | |
19095 | <method name="SetFilterIndex" type="" overloaded="no"> | |
19096 | <autodoc>SetFilterIndex(int n)</autodoc> | |
19097 | <paramlist> | |
19098 | <param name="n" type="int" default=""/> | |
19099 | </paramlist> | |
19100 | </method> | |
19101 | <method name="GetRootId" type="TreeItemId" overloaded="no"> | |
19102 | <autodoc>GetRootId() -> TreeItemId</autodoc> | |
19103 | </method> | |
19104 | <method name="GetTreeCtrl" type="TreeCtrl" overloaded="no"> | |
19105 | <autodoc>GetTreeCtrl() -> TreeCtrl</autodoc> | |
19106 | </method> | |
19107 | <method name="GetFilterListCtrl" type="wxDirFilterListCtrl" overloaded="no"> | |
19108 | <autodoc>GetFilterListCtrl() -> DirFilterListCtrl</autodoc> | |
19109 | </method> | |
19110 | <method name="FindChild" type="TreeItemId" overloaded="no"> | |
19111 | <autodoc>FindChild(wxTreeItemId parentId, wxString path) -> (item, done)</autodoc> | |
19112 | <docstring>Find the child that matches the first part of 'path'. E.g. if a child path is | |
19113 | "/usr" and 'path' is "/usr/include" then the child for /usr is returned. | |
19114 | If the path string has been used (we're at the leaf), done is set to True | |
19115 | </docstring> | |
19116 | <paramlist> | |
19117 | <param name="parentId" type="TreeItemId" default=""/> | |
19118 | <param name="path" type="String" default=""/> | |
19119 | <param name="OUTPUT" type="bool" default=""/> | |
19120 | </paramlist> | |
19121 | </method> | |
19122 | <method name="DoResize" type="" overloaded="no"> | |
19123 | <autodoc>DoResize()</autodoc> | |
19124 | </method> | |
19125 | <method name="ReCreateTree" type="" overloaded="no"> | |
19126 | <autodoc>ReCreateTree()</autodoc> | |
19127 | </method> | |
19128 | </class> | |
19129 | <class name="DirFilterListCtrl" oldname="wxDirFilterListCtrl" module="controls"> | |
19130 | <baseclass name="Choice"/> | |
19131 | <constructor name="DirFilterListCtrl" overloaded="no"> | |
19132 | <autodoc>__init__(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, | |
19133 | Size size=DefaultSize, long style=0) -> DirFilterListCtrl</autodoc> | |
19134 | <paramlist> | |
19135 | <param name="parent" type="GenericDirCtrl" default=""/> | |
19136 | <param name="id" type="int" default="-1"/> | |
19137 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
19138 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19139 | <param name="style" type="long" default="0"/> | |
19140 | </paramlist> | |
19141 | </constructor> | |
19142 | <constructor name="PreDirFilterListCtrl" overloaded="no"> | |
19143 | <autodoc>PreDirFilterListCtrl() -> DirFilterListCtrl</autodoc> | |
19144 | </constructor> | |
19145 | <method name="Create" type="bool" overloaded="no"> | |
19146 | <autodoc>Create(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, | |
19147 | Size size=DefaultSize, long style=0) -> bool</autodoc> | |
19148 | <paramlist> | |
19149 | <param name="parent" type="GenericDirCtrl" default=""/> | |
19150 | <param name="id" type="int" default="-1"/> | |
19151 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
19152 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19153 | <param name="style" type="long" default="0"/> | |
19154 | </paramlist> | |
19155 | </method> | |
19156 | <method name="FillFilterList" type="" overloaded="no"> | |
19157 | <autodoc>FillFilterList(String filter, int defaultFilter)</autodoc> | |
19158 | <paramlist> | |
19159 | <param name="filter" type="String" default=""/> | |
19160 | <param name="defaultFilter" type="int" default=""/> | |
19161 | </paramlist> | |
19162 | </method> | |
19163 | </class> | |
19164 | <pythoncode> | |
19165 | #--------------------------------------------------------------------------- | |
19166 | </pythoncode> | |
19167 | <class name="PyControl" oldname="wxPyControl" module="controls"> | |
19168 | <baseclass name="Control"/> | |
19169 | <constructor name="PyControl" overloaded="no"> | |
19170 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
19171 | long style=0, Validator validator=DefaultValidator, | |
19172 | String name=ControlNameStr) -> PyControl</autodoc> | |
19173 | <paramlist> | |
19174 | <param name="parent" type="Window" default=""/> | |
19175 | <param name="id" type="int" default=""/> | |
19176 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
19177 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19178 | <param name="style" type="long" default="0"/> | |
19179 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
19180 | <param name="name" type="String" default="wxPyControlNameStr"/> | |
19181 | </paramlist> | |
19182 | </constructor> | |
19183 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
19184 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
19185 | <paramlist> | |
19186 | <param name="self" type="PyObject" default=""/> | |
19187 | <param name="_class" type="PyObject" default=""/> | |
19188 | </paramlist> | |
19189 | </method> | |
19190 | <method name="base_DoMoveWindow" type="" overloaded="no"> | |
19191 | <autodoc>base_DoMoveWindow(int x, int y, int width, int height)</autodoc> | |
19192 | <paramlist> | |
19193 | <param name="x" type="int" default=""/> | |
19194 | <param name="y" type="int" default=""/> | |
19195 | <param name="width" type="int" default=""/> | |
19196 | <param name="height" type="int" default=""/> | |
19197 | </paramlist> | |
19198 | </method> | |
19199 | <method name="base_DoSetSize" type="" overloaded="no"> | |
19200 | <autodoc>base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc> | |
19201 | <paramlist> | |
19202 | <param name="x" type="int" default=""/> | |
19203 | <param name="y" type="int" default=""/> | |
19204 | <param name="width" type="int" default=""/> | |
19205 | <param name="height" type="int" default=""/> | |
19206 | <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/> | |
19207 | </paramlist> | |
19208 | </method> | |
19209 | <method name="base_DoSetClientSize" type="" overloaded="no"> | |
19210 | <autodoc>base_DoSetClientSize(int width, int height)</autodoc> | |
19211 | <paramlist> | |
19212 | <param name="width" type="int" default=""/> | |
19213 | <param name="height" type="int" default=""/> | |
19214 | </paramlist> | |
19215 | </method> | |
19216 | <method name="base_DoSetVirtualSize" type="" overloaded="no"> | |
19217 | <autodoc>base_DoSetVirtualSize(int x, int y)</autodoc> | |
19218 | <paramlist> | |
19219 | <param name="x" type="int" default=""/> | |
19220 | <param name="y" type="int" default=""/> | |
19221 | </paramlist> | |
19222 | </method> | |
19223 | <method name="base_DoGetSize" type="" overloaded="no"> | |
19224 | <autodoc>base_DoGetSize() -> (width, height)</autodoc> | |
19225 | <paramlist> | |
19226 | <param name="OUTPUT" type="int" default=""/> | |
19227 | <param name="OUTPUT" type="int" default=""/> | |
19228 | </paramlist> | |
19229 | </method> | |
19230 | <method name="base_DoGetClientSize" type="" overloaded="no"> | |
19231 | <autodoc>base_DoGetClientSize() -> (width, height)</autodoc> | |
19232 | <paramlist> | |
19233 | <param name="OUTPUT" type="int" default=""/> | |
19234 | <param name="OUTPUT" type="int" default=""/> | |
19235 | </paramlist> | |
19236 | </method> | |
19237 | <method name="base_DoGetPosition" type="" overloaded="no"> | |
19238 | <autodoc>base_DoGetPosition() -> (x,y)</autodoc> | |
19239 | <paramlist> | |
19240 | <param name="OUTPUT" type="int" default=""/> | |
19241 | <param name="OUTPUT" type="int" default=""/> | |
19242 | </paramlist> | |
19243 | </method> | |
19244 | <method name="base_DoGetVirtualSize" type="Size" overloaded="no"> | |
19245 | <autodoc>base_DoGetVirtualSize() -> Size</autodoc> | |
19246 | </method> | |
19247 | <method name="base_DoGetBestSize" type="Size" overloaded="no"> | |
19248 | <autodoc>base_DoGetBestSize() -> Size</autodoc> | |
19249 | </method> | |
19250 | <method name="base_InitDialog" type="" overloaded="no"> | |
19251 | <autodoc>base_InitDialog()</autodoc> | |
19252 | </method> | |
19253 | <method name="base_TransferDataToWindow" type="bool" overloaded="no"> | |
19254 | <autodoc>base_TransferDataToWindow() -> bool</autodoc> | |
19255 | </method> | |
19256 | <method name="base_TransferDataFromWindow" type="bool" overloaded="no"> | |
19257 | <autodoc>base_TransferDataFromWindow() -> bool</autodoc> | |
19258 | </method> | |
19259 | <method name="base_Validate" type="bool" overloaded="no"> | |
19260 | <autodoc>base_Validate() -> bool</autodoc> | |
19261 | </method> | |
19262 | <method name="base_AcceptsFocus" type="bool" overloaded="no"> | |
19263 | <autodoc>base_AcceptsFocus() -> bool</autodoc> | |
19264 | </method> | |
19265 | <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no"> | |
19266 | <autodoc>base_AcceptsFocusFromKeyboard() -> bool</autodoc> | |
19267 | </method> | |
19268 | <method name="base_GetMaxSize" type="Size" overloaded="no"> | |
19269 | <autodoc>base_GetMaxSize() -> Size</autodoc> | |
19270 | </method> | |
19271 | <method name="base_AddChild" type="" overloaded="no"> | |
19272 | <autodoc>base_AddChild(Window child)</autodoc> | |
19273 | <paramlist> | |
19274 | <param name="child" type="Window" default=""/> | |
19275 | </paramlist> | |
19276 | </method> | |
19277 | <method name="base_RemoveChild" type="" overloaded="no"> | |
19278 | <autodoc>base_RemoveChild(Window child)</autodoc> | |
19279 | <paramlist> | |
19280 | <param name="child" type="Window" default=""/> | |
19281 | </paramlist> | |
19282 | </method> | |
19283 | </class> | |
19284 | <pythoncode> | |
19285 | #--------------------------------------------------------------------------- | |
19286 | </pythoncode> | |
19287 | <pythoncode> | |
19288 | EVT_HELP = wx.PyEventBinder( wxEVT_HELP, 1) | |
19289 | EVT_HELP_RANGE = wx.PyEventBinder( wxEVT_HELP, 2) | |
19290 | EVT_DETAILED_HELP = wx.PyEventBinder( wxEVT_DETAILED_HELP, 1) | |
19291 | EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) | |
19292 | </pythoncode> | |
19293 | <class name="HelpEvent" oldname="wxHelpEvent" module="controls"> | |
c2dda882 RD |
19294 | <docstring>A help event is sent when the user has requested |
19295 | context-sensitive help. This can either be caused by the | |
19296 | application requesting context-sensitive help mode via | |
19297 | wx.ContextHelp, or (on MS Windows) by the system generating a | |
19298 | WM_HELP message when the user pressed F1 or clicked on the query | |
19299 | button in a dialog caption. | |
19300 | ||
19301 | A help event is sent to the window that the user clicked on, and | |
19302 | is propagated up the window hierarchy until the event is | |
19303 | processed or there are no more event handlers. The application | |
19304 | should call event.GetId to check the identity of the clicked-on | |
19305 | window, and then either show some suitable help or call | |
19306 | event.Skip if the identifier is unrecognised. Calling Skip is | |
19307 | important because it allows wxWindows to generate further events | |
19308 | for ancestors of the clicked-on window. Otherwise it would be | |
19309 | impossible to show help for container windows, since processing | |
19310 | would stop after the first window found. | |
19311 | ||
19312 | Events | |
19313 | EVT_HELP Sent when the user has requested context- | |
19314 | sensitive help. | |
19315 | EVT_HELP_RANGE Allows to catch EVT_HELP for a range of IDs | |
19316 | </docstring> | |
f32fc4bc RD |
19317 | <baseclass name="CommandEvent"/> |
19318 | <constructor name="HelpEvent" overloaded="no"> | |
19319 | <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> HelpEvent</autodoc> | |
19320 | <paramlist> | |
19321 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
19322 | <param name="winid" type="int" default="0"/> | |
19323 | <param name="pt" type="Point" default="wxDefaultPosition"/> | |
19324 | </paramlist> | |
19325 | </constructor> | |
19326 | <method name="GetPosition" type="Point" overloaded="no"> | |
19327 | <autodoc>GetPosition() -> Point</autodoc> | |
c2dda882 RD |
19328 | <docstring>Returns the left-click position of the mouse, in screen |
19329 | coordinates. This allows the application to position the help | |
19330 | appropriately.</docstring> | |
f32fc4bc RD |
19331 | </method> |
19332 | <method name="SetPosition" type="" overloaded="no"> | |
19333 | <autodoc>SetPosition(Point pos)</autodoc> | |
c2dda882 | 19334 | <docstring>Sets the left-click position of the mouse, in screen coordinates.</docstring> |
f32fc4bc RD |
19335 | <paramlist> |
19336 | <param name="pos" type="Point" default=""/> | |
19337 | </paramlist> | |
19338 | </method> | |
19339 | <method name="GetLink" type="String" overloaded="no"> | |
19340 | <autodoc>GetLink() -> String</autodoc> | |
c2dda882 | 19341 | <docstring>Get an optional link to further help</docstring> |
f32fc4bc RD |
19342 | </method> |
19343 | <method name="SetLink" type="" overloaded="no"> | |
19344 | <autodoc>SetLink(String link)</autodoc> | |
c2dda882 | 19345 | <docstring>Set an optional link to further help</docstring> |
f32fc4bc RD |
19346 | <paramlist> |
19347 | <param name="link" type="String" default=""/> | |
19348 | </paramlist> | |
19349 | </method> | |
19350 | <method name="GetTarget" type="String" overloaded="no"> | |
19351 | <autodoc>GetTarget() -> String</autodoc> | |
c2dda882 | 19352 | <docstring>Get an optional target to display help in. E.g. a window specification</docstring> |
f32fc4bc RD |
19353 | </method> |
19354 | <method name="SetTarget" type="" overloaded="no"> | |
19355 | <autodoc>SetTarget(String target)</autodoc> | |
c2dda882 | 19356 | <docstring>Set an optional target to display help in. E.g. a window specification</docstring> |
f32fc4bc RD |
19357 | <paramlist> |
19358 | <param name="target" type="String" default=""/> | |
19359 | </paramlist> | |
19360 | </method> | |
19361 | </class> | |
19362 | <class name="ContextHelp" oldname="wxContextHelp" module="controls"> | |
c2dda882 RD |
19363 | <docstring>This class changes the cursor to a query and puts the application |
19364 | into a 'context-sensitive help mode'. When the user left-clicks | |
19365 | on a window within the specified window, a EVT_HELP event is sent | |
19366 | to that control, and the application may respond to it by popping | |
19367 | up some help. | |
19368 | ||
19369 | There are a couple of ways to invoke this behaviour implicitly: | |
19370 | ||
19371 | * Use the wx.DIALOG_EX_CONTEXTHELP extended style for a | |
19372 | dialog (Windows only). This will put a question mark in the | |
19373 | titlebar, and Windows will put the application into | |
19374 | context-sensitive help mode automatically, with further | |
19375 | programming. | |
19376 | ||
19377 | * Create a wx.ContextHelpButton, whose predefined behaviour | |
19378 | is to create a context help object. Normally you will write | |
19379 | your application so that this button is only added to a | |
19380 | dialog for non-Windows platforms (use | |
19381 | wx.DIALOG_EX_CONTEXTHELP on Windows). | |
19382 | </docstring> | |
f32fc4bc RD |
19383 | <baseclass name="Object"/> |
19384 | <constructor name="ContextHelp" overloaded="no"> | |
19385 | <autodoc>__init__(Window window=None, bool doNow=True) -> ContextHelp</autodoc> | |
c2dda882 RD |
19386 | <docstring>Constructs a context help object, calling BeginContextHelp if |
19387 | doNow is true (the default). | |
19388 | ||
19389 | If window is None, the top window is used.</docstring> | |
f32fc4bc RD |
19390 | <paramlist> |
19391 | <param name="window" type="Window" default="NULL"/> | |
19392 | <param name="doNow" type="bool" default="True"/> | |
19393 | </paramlist> | |
19394 | </constructor> | |
19395 | <destructor name="~wxContextHelp" overloaded="no"> | |
19396 | <autodoc>__del__()</autodoc> | |
19397 | </destructor> | |
19398 | <method name="BeginContextHelp" type="bool" overloaded="no"> | |
19399 | <autodoc>BeginContextHelp(Window window=None) -> bool</autodoc> | |
c2dda882 RD |
19400 | <docstring>Puts the application into context-sensitive help mode. window is |
19401 | the window which will be used to catch events; if NULL, the top | |
19402 | window will be used. | |
19403 | ||
19404 | Returns true if the application was successfully put into | |
19405 | context-sensitive help mode. This function only returns when the | |
19406 | event loop has finished.</docstring> | |
f32fc4bc RD |
19407 | <paramlist> |
19408 | <param name="window" type="Window" default="NULL"/> | |
19409 | </paramlist> | |
19410 | </method> | |
19411 | <method name="EndContextHelp" type="bool" overloaded="no"> | |
19412 | <autodoc>EndContextHelp() -> bool</autodoc> | |
c2dda882 RD |
19413 | <docstring>Ends context-sensitive help mode. Not normally called by the |
19414 | application.</docstring> | |
f32fc4bc RD |
19415 | </method> |
19416 | </class> | |
19417 | <class name="ContextHelpButton" oldname="wxContextHelpButton" module="controls"> | |
c2dda882 RD |
19418 | <docstring>Instances of this class may be used to add a question mark button |
19419 | that when pressed, puts the application into context-help | |
19420 | mode. It does this by creating a wx.ContextHelp object which | |
19421 | itself generates a EVT_HELP event when the user clicks on a | |
19422 | window. | |
19423 | ||
19424 | On Windows, you may add a question-mark icon to a dialog by use | |
19425 | of the wx.DIALOG_EX_CONTEXTHELP extra style, but on other | |
19426 | platforms you will have to add a button explicitly, usually next | |
19427 | to OK, Cancel or similar buttons. | |
19428 | </docstring> | |
f32fc4bc RD |
19429 | <baseclass name="BitmapButton"/> |
19430 | <constructor name="ContextHelpButton" overloaded="no"> | |
19431 | <autodoc>__init__(Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition, | |
19432 | Size size=DefaultSize, long style=BU_AUTODRAW) -> ContextHelpButton</autodoc> | |
c2dda882 | 19433 | <docstring>Constructor, creating and showing a context help button.</docstring> |
f32fc4bc RD |
19434 | <paramlist> |
19435 | <param name="parent" type="Window" default=""/> | |
19436 | <param name="id" type="int" default="wxID_CONTEXT_HELP"/> | |
19437 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
19438 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19439 | <param name="style" type="long" default="wxBU_AUTODRAW"/> | |
19440 | </paramlist> | |
19441 | </constructor> | |
19442 | </class> | |
19443 | <class name="HelpProvider" oldname="wxHelpProvider" module="controls"> | |
c2dda882 RD |
19444 | <docstring>wx.HelpProvider is an abstract class used by a program |
19445 | implementing context-sensitive help to show the help text for the | |
19446 | given window. | |
19447 | ||
19448 | The current help provider must be explicitly set by the | |
19449 | application using wx.HelpProvider.Set().</docstring> | |
f32fc4bc RD |
19450 | <staticmethod name="Set" type="HelpProvider" overloaded="no"> |
19451 | <autodoc>Set(HelpProvider helpProvider) -> HelpProvider</autodoc> | |
c2dda882 RD |
19452 | <docstring>Sset the current, application-wide help provider. Returns the |
19453 | previous one. Unlike some other classes, the help provider is | |
19454 | not created on demand. This must be explicitly done by the | |
19455 | application.</docstring> | |
f32fc4bc RD |
19456 | <paramlist> |
19457 | <param name="helpProvider" type="HelpProvider" default=""/> | |
19458 | </paramlist> | |
19459 | </staticmethod> | |
19460 | <staticmethod name="Get" type="HelpProvider" overloaded="no"> | |
19461 | <autodoc>Get() -> HelpProvider</autodoc> | |
c2dda882 | 19462 | <docstring>Return the current application-wide help provider.</docstring> |
f32fc4bc RD |
19463 | </staticmethod> |
19464 | <method name="GetHelp" type="String" overloaded="no"> | |
19465 | <autodoc>GetHelp(Window window) -> String</autodoc> | |
c2dda882 RD |
19466 | <docstring>Gets the help string for this window. Its interpretation is |
19467 | dependent on the help provider except that empty string always | |
19468 | means that no help is associated with the window.</docstring> | |
f32fc4bc RD |
19469 | <paramlist> |
19470 | <param name="window" type="Window" default=""/> | |
19471 | </paramlist> | |
19472 | </method> | |
19473 | <method name="ShowHelp" type="bool" overloaded="no"> | |
19474 | <autodoc>ShowHelp(Window window) -> bool</autodoc> | |
c2dda882 RD |
19475 | <docstring>Shows help for the given window. Uses GetHelp internally if |
19476 | applicable. | |
19477 | ||
19478 | Returns true if it was done, or false if no help was available | |
19479 | for this window.</docstring> | |
f32fc4bc RD |
19480 | <paramlist> |
19481 | <param name="window" type="Window" default=""/> | |
19482 | </paramlist> | |
19483 | </method> | |
19484 | <method name="AddHelp" type="" overloaded="no"> | |
19485 | <autodoc>AddHelp(Window window, String text)</autodoc> | |
c2dda882 | 19486 | <docstring>Associates the text with the given window.</docstring> |
f32fc4bc RD |
19487 | <paramlist> |
19488 | <param name="window" type="Window" default=""/> | |
19489 | <param name="text" type="String" default=""/> | |
19490 | </paramlist> | |
19491 | </method> | |
19492 | <method name="AddHelpById" type="" overloaded="no"> | |
19493 | <autodoc>AddHelpById(int id, String text)</autodoc> | |
c2dda882 RD |
19494 | <docstring>This version associates the given text with all windows with this |
19495 | id. May be used to set the same help string for all Cancel | |
19496 | buttons in the application, for example.</docstring> | |
f32fc4bc RD |
19497 | <paramlist> |
19498 | <param name="id" type="int" default=""/> | |
19499 | <param name="text" type="String" default=""/> | |
19500 | </paramlist> | |
19501 | </method> | |
c2dda882 RD |
19502 | <method name="RemoveHelp" type="" overloaded="no"> |
19503 | <autodoc>RemoveHelp(Window window)</autodoc> | |
19504 | <docstring>Removes the association between the window pointer and the help | |
19505 | text. This is called by the wx.Window destructor. Without this, | |
19506 | the table of help strings will fill up and when window pointers | |
19507 | are reused, the wrong help string will be found.</docstring> | |
19508 | <paramlist> | |
19509 | <param name="window" type="Window" default=""/> | |
19510 | </paramlist> | |
19511 | </method> | |
f32fc4bc RD |
19512 | <method name="Destroy" type="" overloaded="no"> |
19513 | <autodoc>Destroy()</autodoc> | |
19514 | </method> | |
19515 | </class> | |
19516 | <class name="SimpleHelpProvider" oldname="wxSimpleHelpProvider" module="controls"> | |
c2dda882 RD |
19517 | <docstring>wx.SimpleHelpProvider is an implementation of wx.HelpProvider |
19518 | which supports only plain text help strings, and shows the string | |
19519 | associated with the control (if any) in a tooltip.</docstring> | |
f32fc4bc RD |
19520 | <baseclass name="HelpProvider"/> |
19521 | <constructor name="SimpleHelpProvider" overloaded="no"> | |
19522 | <autodoc>__init__() -> SimpleHelpProvider</autodoc> | |
c2dda882 RD |
19523 | <docstring>wx.SimpleHelpProvider is an implementation of wx.HelpProvider |
19524 | which supports only plain text help strings, and shows the string | |
19525 | associated with the control (if any) in a tooltip.</docstring> | |
f32fc4bc RD |
19526 | </constructor> |
19527 | </class> | |
19528 | <pythoncode> | |
19529 | #--------------------------------------------------------------------------- | |
19530 | </pythoncode> | |
19531 | <class name="DragImage" oldname="wxGenericDragImage" module="controls"> | |
19532 | <baseclass name="Object"/> | |
19533 | <constructor name="wxGenericDragImage" overloaded="no"> | |
19534 | <autodoc>__init__(Bitmap image, Cursor cursor=wxNullCursor) -> DragImage</autodoc> | |
19535 | <paramlist> | |
19536 | <param name="image" type="Bitmap" default=""/> | |
19537 | <param name="cursor" type="Cursor" default="wxNullCursor"/> | |
19538 | </paramlist> | |
19539 | </constructor> | |
19540 | <constructor name="DragIcon" overloaded="no"> | |
19541 | <autodoc>DragIcon(Icon image, Cursor cursor=wxNullCursor) -> DragImage</autodoc> | |
19542 | <paramlist> | |
19543 | <param name="image" type="Icon" default=""/> | |
19544 | <param name="cursor" type="Cursor" default="wxNullCursor"/> | |
19545 | </paramlist> | |
19546 | </constructor> | |
19547 | <constructor name="DragString" overloaded="no"> | |
19548 | <autodoc>DragString(String str, Cursor cursor=wxNullCursor) -> DragImage</autodoc> | |
19549 | <paramlist> | |
19550 | <param name="str" type="String" default=""/> | |
19551 | <param name="cursor" type="Cursor" default="wxNullCursor"/> | |
19552 | </paramlist> | |
19553 | </constructor> | |
19554 | <constructor name="DragTreeItem" overloaded="no"> | |
19555 | <autodoc>DragTreeItem(TreeCtrl treeCtrl, TreeItemId id) -> DragImage</autodoc> | |
19556 | <paramlist> | |
19557 | <param name="treeCtrl" type="TreeCtrl" default=""/> | |
19558 | <param name="id" type="TreeItemId" default=""/> | |
19559 | </paramlist> | |
19560 | </constructor> | |
19561 | <constructor name="DragListItem" overloaded="no"> | |
19562 | <autodoc>DragListItem(ListCtrl listCtrl, long id) -> DragImage</autodoc> | |
19563 | <paramlist> | |
19564 | <param name="listCtrl" type="ListCtrl" default=""/> | |
19565 | <param name="id" type="long" default=""/> | |
19566 | </paramlist> | |
19567 | </constructor> | |
19568 | <destructor name="~wxGenericDragImage" overloaded="no"> | |
19569 | <autodoc>__del__()</autodoc> | |
19570 | </destructor> | |
19571 | <method name="SetBackingBitmap" type="" overloaded="no"> | |
19572 | <autodoc>SetBackingBitmap(Bitmap bitmap)</autodoc> | |
19573 | <paramlist> | |
19574 | <param name="bitmap" type="Bitmap" default=""/> | |
19575 | </paramlist> | |
19576 | </method> | |
19577 | <method name="BeginDrag" type="bool" overloaded="no"> | |
19578 | <autodoc>BeginDrag(Point hotspot, Window window, bool fullScreen=False, | |
19579 | Rect rect=None) -> bool</autodoc> | |
19580 | <paramlist> | |
19581 | <param name="hotspot" type="Point" default=""/> | |
19582 | <param name="window" type="Window" default=""/> | |
19583 | <param name="fullScreen" type="bool" default="False"/> | |
19584 | <param name="rect" type="Rect" default="NULL"/> | |
19585 | </paramlist> | |
19586 | </method> | |
19587 | <method name="BeginDragBounded" type="bool" overloaded="no"> | |
19588 | <autodoc>BeginDragBounded(Point hotspot, Window window, Window boundingWindow) -> bool</autodoc> | |
19589 | <paramlist> | |
19590 | <param name="hotspot" type="Point" default=""/> | |
19591 | <param name="window" type="Window" default=""/> | |
19592 | <param name="boundingWindow" type="Window" default=""/> | |
19593 | </paramlist> | |
19594 | </method> | |
19595 | <method name="EndDrag" type="bool" overloaded="no"> | |
19596 | <autodoc>EndDrag() -> bool</autodoc> | |
19597 | </method> | |
19598 | <method name="Move" type="bool" overloaded="no"> | |
19599 | <autodoc>Move(Point pt) -> bool</autodoc> | |
19600 | <paramlist> | |
19601 | <param name="pt" type="Point" default=""/> | |
19602 | </paramlist> | |
19603 | </method> | |
19604 | <method name="Show" type="bool" overloaded="no"> | |
19605 | <autodoc>Show() -> bool</autodoc> | |
19606 | </method> | |
19607 | <method name="Hide" type="bool" overloaded="no"> | |
19608 | <autodoc>Hide() -> bool</autodoc> | |
19609 | </method> | |
19610 | <method name="GetImageRect" type="Rect" overloaded="no"> | |
19611 | <autodoc>GetImageRect(Point pos) -> Rect</autodoc> | |
19612 | <paramlist> | |
19613 | <param name="pos" type="Point" default=""/> | |
19614 | </paramlist> | |
19615 | </method> | |
19616 | <method name="DoDrawImage" type="bool" overloaded="no"> | |
19617 | <autodoc>DoDrawImage(DC dc, Point pos) -> bool</autodoc> | |
19618 | <paramlist> | |
19619 | <param name="dc" type="DC" default=""/> | |
19620 | <param name="pos" type="Point" default=""/> | |
19621 | </paramlist> | |
19622 | </method> | |
19623 | <method name="UpdateBackingFromWindow" type="bool" overloaded="no"> | |
19624 | <autodoc>UpdateBackingFromWindow(DC windowDC, MemoryDC destDC, Rect sourceRect, Rect destRect) -> bool</autodoc> | |
19625 | <paramlist> | |
19626 | <param name="windowDC" type="DC" default=""/> | |
19627 | <param name="destDC" type="MemoryDC" default=""/> | |
19628 | <param name="sourceRect" type="Rect" default=""/> | |
19629 | <param name="destRect" type="Rect" default=""/> | |
19630 | </paramlist> | |
19631 | </method> | |
19632 | <method name="RedrawImage" type="bool" overloaded="no"> | |
19633 | <autodoc>RedrawImage(Point oldPos, Point newPos, bool eraseOld, bool drawNew) -> bool</autodoc> | |
19634 | <paramlist> | |
19635 | <param name="oldPos" type="Point" default=""/> | |
19636 | <param name="newPos" type="Point" default=""/> | |
19637 | <param name="eraseOld" type="bool" default=""/> | |
19638 | <param name="drawNew" type="bool" default=""/> | |
19639 | </paramlist> | |
19640 | </method> | |
19641 | </class> | |
19642 | </module> | |
19643 | <module name="misc"> | |
19644 | <import name="core"/> | |
19645 | <pythoncode> wx = core </pythoncode> | |
19646 | <pythoncode> | |
19647 | #--------------------------------------------------------------------------- | |
19648 | </pythoncode> | |
19649 | <class name="SystemSettings" oldname="wxSystemSettings" module="misc"> | |
19650 | <staticmethod name="GetColour" type="Colour" overloaded="no"> | |
19651 | <autodoc>GetColour(int index) -> Colour</autodoc> | |
19652 | <paramlist> | |
19653 | <param name="index" type="wxSystemColour" default=""/> | |
19654 | </paramlist> | |
19655 | </staticmethod> | |
19656 | <staticmethod name="GetFont" type="Font" overloaded="no"> | |
19657 | <autodoc>GetFont(int index) -> Font</autodoc> | |
19658 | <paramlist> | |
19659 | <param name="index" type="wxSystemFont" default=""/> | |
19660 | </paramlist> | |
19661 | </staticmethod> | |
19662 | <staticmethod name="GetMetric" type="int" overloaded="no"> | |
19663 | <autodoc>GetMetric(int index) -> int</autodoc> | |
19664 | <paramlist> | |
19665 | <param name="index" type="wxSystemMetric" default=""/> | |
19666 | </paramlist> | |
19667 | </staticmethod> | |
19668 | <staticmethod name="HasFeature" type="bool" overloaded="no"> | |
19669 | <autodoc>HasFeature(int index) -> bool</autodoc> | |
19670 | <paramlist> | |
19671 | <param name="index" type="wxSystemFeature" default=""/> | |
19672 | </paramlist> | |
19673 | </staticmethod> | |
19674 | <staticmethod name="GetScreenType" type="wxSystemScreenType" overloaded="no"> | |
19675 | <autodoc>GetScreenType() -> int</autodoc> | |
19676 | </staticmethod> | |
19677 | <staticmethod name="SetScreenType" type="" overloaded="no"> | |
19678 | <autodoc>SetScreenType(int screen)</autodoc> | |
19679 | <paramlist> | |
19680 | <param name="screen" type="wxSystemScreenType" default=""/> | |
19681 | </paramlist> | |
19682 | </staticmethod> | |
19683 | </class> | |
19684 | <class name="SystemOptions" oldname="wxSystemOptions" module="misc"> | |
19685 | <baseclass name="Object"/> | |
19686 | <constructor name="SystemOptions" overloaded="no"> | |
19687 | <autodoc>__init__() -> SystemOptions</autodoc> | |
19688 | </constructor> | |
19689 | <staticmethod name="SetOption" type="" overloaded="no"> | |
19690 | <autodoc>SetOption(String name, String value)</autodoc> | |
19691 | <paramlist> | |
19692 | <param name="name" type="String" default=""/> | |
19693 | <param name="value" type="String" default=""/> | |
19694 | </paramlist> | |
19695 | </staticmethod> | |
19696 | <staticmethod name="SetOptionInt" type="" overloaded="no"> | |
19697 | <autodoc>SetOptionInt(String name, int value)</autodoc> | |
19698 | <paramlist> | |
19699 | <param name="name" type="String" default=""/> | |
19700 | <param name="value" type="int" default=""/> | |
19701 | </paramlist> | |
19702 | </staticmethod> | |
19703 | <staticmethod name="GetOption" type="String" overloaded="no"> | |
19704 | <autodoc>GetOption(String name) -> String</autodoc> | |
19705 | <paramlist> | |
19706 | <param name="name" type="String" default=""/> | |
19707 | </paramlist> | |
19708 | </staticmethod> | |
19709 | <staticmethod name="GetOptionInt" type="int" overloaded="no"> | |
19710 | <autodoc>GetOptionInt(String name) -> int</autodoc> | |
19711 | <paramlist> | |
19712 | <param name="name" type="String" default=""/> | |
19713 | </paramlist> | |
19714 | </staticmethod> | |
19715 | <staticmethod name="HasOption" type="bool" overloaded="no"> | |
19716 | <autodoc>HasOption(String name) -> bool</autodoc> | |
19717 | <paramlist> | |
19718 | <param name="name" type="String" default=""/> | |
19719 | </paramlist> | |
19720 | </staticmethod> | |
19721 | </class> | |
19722 | <pythoncode> | |
0f43fbdf RD |
19723 | #--------------------------------------------------------------------------- |
19724 | </pythoncode> | |
f32fc4bc RD |
19725 | <method name="NewId" oldname="wxNewId" type="long" overloaded="no"> |
19726 | <autodoc>NewId() -> long</autodoc> | |
19727 | </method> | |
19728 | <method name="RegisterId" oldname="wxRegisterId" type="" overloaded="no"> | |
19729 | <autodoc>RegisterId(long id)</autodoc> | |
856bf319 | 19730 | <paramlist> |
f32fc4bc | 19731 | <param name="id" type="long" default=""/> |
856bf319 | 19732 | </paramlist> |
856bf319 | 19733 | </method> |
f32fc4bc RD |
19734 | <method name="GetCurrentId" oldname="wxGetCurrentId" type="long" overloaded="no"> |
19735 | <autodoc>GetCurrentId() -> long</autodoc> | |
856bf319 | 19736 | </method> |
f32fc4bc RD |
19737 | <method name="Bell" oldname="wxBell" type="" overloaded="no"> |
19738 | <autodoc>Bell()</autodoc> | |
856bf319 | 19739 | </method> |
f32fc4bc RD |
19740 | <method name="EndBusyCursor" oldname="wxEndBusyCursor" type="" overloaded="no"> |
19741 | <autodoc>EndBusyCursor()</autodoc> | |
19742 | </method> | |
19743 | <method name="GetElapsedTime" oldname="wxGetElapsedTime" type="long" overloaded="no"> | |
19744 | <autodoc>GetElapsedTime(bool resetTimer=True) -> long</autodoc> | |
856bf319 | 19745 | <paramlist> |
f32fc4bc | 19746 | <param name="resetTimer" type="bool" default="True"/> |
856bf319 | 19747 | </paramlist> |
856bf319 | 19748 | </method> |
f32fc4bc RD |
19749 | <method name="GetMousePosition" oldname="wxGetMousePosition" type="" overloaded="no"> |
19750 | <autodoc>GetMousePosition() -> (x,y)</autodoc> | |
19751 | <paramlist> | |
19752 | <param name="OUTPUT" type="int" default=""/> | |
19753 | <param name="OUTPUT" type="int" default=""/> | |
19754 | </paramlist> | |
856bf319 | 19755 | </method> |
f32fc4bc RD |
19756 | <method name="IsBusy" oldname="wxIsBusy" type="bool" overloaded="no"> |
19757 | <autodoc>IsBusy() -> bool</autodoc> | |
856bf319 | 19758 | </method> |
f32fc4bc RD |
19759 | <method name="Now" oldname="wxNow" type="String" overloaded="no"> |
19760 | <autodoc>Now() -> String</autodoc> | |
856bf319 | 19761 | </method> |
f32fc4bc RD |
19762 | <method name="Shell" oldname="wxShell" type="bool" overloaded="no"> |
19763 | <autodoc>Shell(String command=EmptyString) -> bool</autodoc> | |
19764 | <paramlist> | |
19765 | <param name="command" type="String" default="wxPyEmptyString"/> | |
19766 | </paramlist> | |
856bf319 | 19767 | </method> |
f32fc4bc RD |
19768 | <method name="StartTimer" oldname="wxStartTimer" type="" overloaded="no"> |
19769 | <autodoc>StartTimer()</autodoc> | |
856bf319 | 19770 | </method> |
f32fc4bc RD |
19771 | <method name="GetOsVersion" oldname="wxGetOsVersion" type="int" overloaded="no"> |
19772 | <autodoc>GetOsVersion() -> (platform, major, minor)</autodoc> | |
19773 | <paramlist> | |
19774 | <param name="OUTPUT" type="int" default=""/> | |
19775 | <param name="OUTPUT" type="int" default=""/> | |
19776 | </paramlist> | |
856bf319 | 19777 | </method> |
f32fc4bc RD |
19778 | <method name="GetOsDescription" oldname="wxGetOsDescription" type="String" overloaded="no"> |
19779 | <autodoc>GetOsDescription() -> String</autodoc> | |
856bf319 | 19780 | </method> |
f32fc4bc RD |
19781 | <method name="GetFreeMemory" oldname="wxGetFreeMemory" type="long" overloaded="no"> |
19782 | <autodoc>GetFreeMemory() -> long</autodoc> | |
856bf319 | 19783 | </method> |
f32fc4bc RD |
19784 | <method name="Shutdown" oldname="wxShutdown" type="bool" overloaded="no"> |
19785 | <autodoc>Shutdown(int wFlags) -> bool</autodoc> | |
19786 | <paramlist> | |
19787 | <param name="wFlags" type="wxShutdownFlags" default=""/> | |
19788 | </paramlist> | |
856bf319 | 19789 | </method> |
f32fc4bc RD |
19790 | <method name="Sleep" oldname="wxSleep" type="" overloaded="no"> |
19791 | <autodoc>Sleep(int secs)</autodoc> | |
19792 | <paramlist> | |
19793 | <param name="secs" type="int" default=""/> | |
19794 | </paramlist> | |
856bf319 | 19795 | </method> |
f32fc4bc RD |
19796 | <method name="Usleep" oldname="wxUsleep" type="" overloaded="no"> |
19797 | <autodoc>Usleep(unsigned long milliseconds)</autodoc> | |
19798 | <paramlist> | |
19799 | <param name="milliseconds" type="unsigned long" default=""/> | |
19800 | </paramlist> | |
856bf319 | 19801 | </method> |
f32fc4bc RD |
19802 | <method name="EnableTopLevelWindows" oldname="wxEnableTopLevelWindows" type="" overloaded="no"> |
19803 | <autodoc>EnableTopLevelWindows(bool enable)</autodoc> | |
19804 | <paramlist> | |
19805 | <param name="enable" type="bool" default=""/> | |
19806 | </paramlist> | |
856bf319 | 19807 | </method> |
f32fc4bc RD |
19808 | <method name="StripMenuCodes" oldname="wxStripMenuCodes" type="String" overloaded="no"> |
19809 | <autodoc>StripMenuCodes(String in) -> String</autodoc> | |
19810 | <paramlist> | |
19811 | <param name="in" type="String" default=""/> | |
19812 | </paramlist> | |
856bf319 | 19813 | </method> |
f32fc4bc RD |
19814 | <method name="GetEmailAddress" oldname="wxGetEmailAddress" type="String" overloaded="no"> |
19815 | <autodoc>GetEmailAddress() -> String</autodoc> | |
856bf319 | 19816 | </method> |
f32fc4bc RD |
19817 | <method name="GetHostName" oldname="wxGetHostName" type="String" overloaded="no"> |
19818 | <autodoc>GetHostName() -> String</autodoc> | |
856bf319 | 19819 | </method> |
f32fc4bc RD |
19820 | <method name="GetFullHostName" oldname="wxGetFullHostName" type="String" overloaded="no"> |
19821 | <autodoc>GetFullHostName() -> String</autodoc> | |
856bf319 | 19822 | </method> |
f32fc4bc RD |
19823 | <method name="GetUserId" oldname="wxGetUserId" type="String" overloaded="no"> |
19824 | <autodoc>GetUserId() -> String</autodoc> | |
856bf319 | 19825 | </method> |
f32fc4bc RD |
19826 | <method name="GetUserName" oldname="wxGetUserName" type="String" overloaded="no"> |
19827 | <autodoc>GetUserName() -> String</autodoc> | |
856bf319 | 19828 | </method> |
f32fc4bc RD |
19829 | <method name="GetHomeDir" oldname="wxGetHomeDir" type="String" overloaded="no"> |
19830 | <autodoc>GetHomeDir() -> String</autodoc> | |
856bf319 | 19831 | </method> |
f32fc4bc RD |
19832 | <method name="GetUserHome" oldname="wxGetUserHome" type="String" overloaded="no"> |
19833 | <autodoc>GetUserHome(String user=EmptyString) -> String</autodoc> | |
856bf319 | 19834 | <paramlist> |
f32fc4bc | 19835 | <param name="user" type="String" default="wxPyEmptyString"/> |
856bf319 RD |
19836 | </paramlist> |
19837 | </method> | |
f32fc4bc RD |
19838 | <method name="GetProcessId" oldname="wxGetProcessId" type="unsigned long" overloaded="no"> |
19839 | <autodoc>GetProcessId() -> unsigned long</autodoc> | |
19840 | </method> | |
19841 | <method name="Trap" oldname="wxTrap" type="" overloaded="no"> | |
19842 | <autodoc>Trap()</autodoc> | |
856bf319 | 19843 | </method> |
f32fc4bc RD |
19844 | <method name="FileSelector" oldname="wxFileSelector" type="String" overloaded="no"> |
19845 | <autodoc>FileSelector(String message=FileSelectorPromptStr, String default_path=EmptyString, | |
19846 | String default_filename=EmptyString, | |
19847 | String default_extension=EmptyString, | |
19848 | String wildcard=FileSelectorDefaultWildcardStr, | |
19849 | int flags=0, Window parent=None, int x=-1, | |
19850 | int y=-1) -> String</autodoc> | |
856bf319 | 19851 | <paramlist> |
f32fc4bc RD |
19852 | <param name="message" type="String" default="wxPyFileSelectorPromptStr"/> |
19853 | <param name="default_path" type="String" default="wxPyEmptyString"/> | |
19854 | <param name="default_filename" type="String" default="wxPyEmptyString"/> | |
19855 | <param name="default_extension" type="String" default="wxPyEmptyString"/> | |
19856 | <param name="wildcard" type="String" default="wxPyFileSelectorDefaultWildcardStr"/> | |
19857 | <param name="flags" type="int" default="0"/> | |
19858 | <param name="parent" type="Window" default="NULL"/> | |
19859 | <param name="x" type="int" default="-1"/> | |
19860 | <param name="y" type="int" default="-1"/> | |
856bf319 RD |
19861 | </paramlist> |
19862 | </method> | |
f32fc4bc RD |
19863 | <method name="LoadFileSelector" oldname="wxLoadFileSelector" type="String" overloaded="no"> |
19864 | <autodoc>LoadFileSelector(String what, String extension, String default_name=EmptyString, | |
19865 | Window parent=None) -> String</autodoc> | |
856bf319 | 19866 | <paramlist> |
f32fc4bc RD |
19867 | <param name="what" type="String" default=""/> |
19868 | <param name="extension" type="String" default=""/> | |
19869 | <param name="default_name" type="String" default="wxPyEmptyString"/> | |
19870 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
19871 | </paramlist> |
19872 | </method> | |
f32fc4bc RD |
19873 | <method name="SaveFileSelector" oldname="wxSaveFileSelector" type="String" overloaded="no"> |
19874 | <autodoc>SaveFileSelector(String what, String extension, String default_name=EmptyString, | |
19875 | Window parent=None) -> String</autodoc> | |
856bf319 | 19876 | <paramlist> |
f32fc4bc RD |
19877 | <param name="what" type="String" default=""/> |
19878 | <param name="extension" type="String" default=""/> | |
19879 | <param name="default_name" type="String" default="wxPyEmptyString"/> | |
19880 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
19881 | </paramlist> |
19882 | </method> | |
f32fc4bc RD |
19883 | <method name="DirSelector" oldname="wxDirSelector" type="String" overloaded="no"> |
19884 | <autodoc>DirSelector(String message=DirSelectorPromptStr, String defaultPath=EmptyString, | |
19885 | long style=DD_DEFAULT_STYLE, | |
19886 | Point pos=DefaultPosition, Window parent=None) -> String</autodoc> | |
856bf319 | 19887 | <paramlist> |
f32fc4bc RD |
19888 | <param name="message" type="String" default="wxPyDirSelectorPromptStr"/> |
19889 | <param name="defaultPath" type="String" default="wxPyEmptyString"/> | |
19890 | <param name="style" type="long" default="wxDD_DEFAULT_STYLE"/> | |
19891 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
19892 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
19893 | </paramlist> |
19894 | </method> | |
f32fc4bc RD |
19895 | <method name="GetTextFromUser" oldname="wxGetTextFromUser" type="String" overloaded="no"> |
19896 | <autodoc>GetTextFromUser(String message, String caption=EmptyString, String default_value=EmptyString, | |
19897 | Window parent=None, | |
19898 | int x=-1, int y=-1, bool centre=True) -> String</autodoc> | |
856bf319 | 19899 | <paramlist> |
f32fc4bc RD |
19900 | <param name="message" type="String" default=""/> |
19901 | <param name="caption" type="String" default="wxPyEmptyString"/> | |
19902 | <param name="default_value" type="String" default="wxPyEmptyString"/> | |
19903 | <param name="parent" type="Window" default="NULL"/> | |
19904 | <param name="x" type="int" default="-1"/> | |
19905 | <param name="y" type="int" default="-1"/> | |
19906 | <param name="centre" type="bool" default="True"/> | |
856bf319 RD |
19907 | </paramlist> |
19908 | </method> | |
f32fc4bc RD |
19909 | <method name="GetPasswordFromUser" oldname="wxGetPasswordFromUser" type="String" overloaded="no"> |
19910 | <autodoc>GetPasswordFromUser(String message, String caption=EmptyString, String default_value=EmptyString, | |
19911 | Window parent=None) -> String</autodoc> | |
856bf319 | 19912 | <paramlist> |
f32fc4bc RD |
19913 | <param name="message" type="String" default=""/> |
19914 | <param name="caption" type="String" default="wxPyEmptyString"/> | |
19915 | <param name="default_value" type="String" default="wxPyEmptyString"/> | |
19916 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
19917 | </paramlist> |
19918 | </method> | |
f32fc4bc RD |
19919 | <method name="GetSingleChoice" oldname="wxGetSingleChoice" type="String" overloaded="no"> |
19920 | <autodoc>GetSingleChoice(String message, String caption, int choices, String choices_array, | |
19921 | Window parent=None, int x=-1, | |
19922 | int y=-1, bool centre=True, int width=150, int height=200) -> String</autodoc> | |
856bf319 | 19923 | <paramlist> |
f32fc4bc RD |
19924 | <param name="message" type="String" default=""/> |
19925 | <param name="caption" type="String" default=""/> | |
19926 | <param name="choices" type="int" default=""/> | |
19927 | <param name="choices_array" type="String" default=""/> | |
19928 | <param name="parent" type="Window" default="NULL"/> | |
19929 | <param name="x" type="int" default="-1"/> | |
19930 | <param name="y" type="int" default="-1"/> | |
19931 | <param name="centre" type="bool" default="True"/> | |
19932 | <param name="width" type="int" default="150"/> | |
19933 | <param name="height" type="int" default="200"/> | |
856bf319 RD |
19934 | </paramlist> |
19935 | </method> | |
f32fc4bc RD |
19936 | <method name="GetSingleChoiceIndex" oldname="wxGetSingleChoiceIndex" type="int" overloaded="no"> |
19937 | <autodoc>GetSingleChoiceIndex(String message, String caption, int choices, String choices_array, | |
19938 | Window parent=None, int x=-1, | |
19939 | int y=-1, bool centre=True, int width=150, int height=200) -> int</autodoc> | |
856bf319 | 19940 | <paramlist> |
f32fc4bc RD |
19941 | <param name="message" type="String" default=""/> |
19942 | <param name="caption" type="String" default=""/> | |
19943 | <param name="choices" type="int" default=""/> | |
19944 | <param name="choices_array" type="String" default=""/> | |
19945 | <param name="parent" type="Window" default="NULL"/> | |
19946 | <param name="x" type="int" default="-1"/> | |
19947 | <param name="y" type="int" default="-1"/> | |
19948 | <param name="centre" type="bool" default="True"/> | |
19949 | <param name="width" type="int" default="150"/> | |
19950 | <param name="height" type="int" default="200"/> | |
856bf319 RD |
19951 | </paramlist> |
19952 | </method> | |
f32fc4bc RD |
19953 | <method name="MessageBox" oldname="wxMessageBox" type="int" overloaded="no"> |
19954 | <autodoc>MessageBox(String message, String caption=EmptyString, int style=wxOK|wxCENTRE, | |
19955 | Window parent=None, int x=-1, | |
19956 | int y=-1) -> int</autodoc> | |
856bf319 | 19957 | <paramlist> |
f32fc4bc RD |
19958 | <param name="message" type="String" default=""/> |
19959 | <param name="caption" type="String" default="wxPyEmptyString"/> | |
19960 | <param name="style" type="int" default="wxOK|wxCENTRE"/> | |
19961 | <param name="parent" type="Window" default="NULL"/> | |
19962 | <param name="x" type="int" default="-1"/> | |
19963 | <param name="y" type="int" default="-1"/> | |
856bf319 RD |
19964 | </paramlist> |
19965 | </method> | |
f32fc4bc RD |
19966 | <method name="GetNumberFromUser" oldname="wxGetNumberFromUser" type="long" overloaded="no"> |
19967 | <autodoc>GetNumberFromUser(String message, String prompt, String caption, long value, | |
19968 | long min=0, long max=100, Window parent=None, | |
19969 | Point pos=DefaultPosition) -> long</autodoc> | |
856bf319 | 19970 | <paramlist> |
f32fc4bc RD |
19971 | <param name="message" type="String" default=""/> |
19972 | <param name="prompt" type="String" default=""/> | |
19973 | <param name="caption" type="String" default=""/> | |
19974 | <param name="value" type="long" default=""/> | |
19975 | <param name="min" type="long" default="0"/> | |
19976 | <param name="max" type="long" default="100"/> | |
19977 | <param name="parent" type="Window" default="NULL"/> | |
19978 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
856bf319 RD |
19979 | </paramlist> |
19980 | </method> | |
f32fc4bc RD |
19981 | <method name="ColourDisplay" oldname="wxColourDisplay" type="bool" overloaded="no"> |
19982 | <autodoc>ColourDisplay() -> bool</autodoc> | |
19983 | </method> | |
19984 | <method name="DisplayDepth" oldname="wxDisplayDepth" type="int" overloaded="no"> | |
19985 | <autodoc>DisplayDepth() -> int</autodoc> | |
19986 | </method> | |
19987 | <method name="GetDisplayDepth" oldname="wxGetDisplayDepth" type="int" overloaded="no"> | |
19988 | <autodoc>GetDisplayDepth() -> int</autodoc> | |
19989 | </method> | |
19990 | <method name="DisplaySize" oldname="wxDisplaySize" type="" overloaded="no"> | |
19991 | <autodoc>DisplaySize() -> (width, height)</autodoc> | |
856bf319 | 19992 | <paramlist> |
f32fc4bc RD |
19993 | <param name="OUTPUT" type="int" default=""/> |
19994 | <param name="OUTPUT" type="int" default=""/> | |
856bf319 RD |
19995 | </paramlist> |
19996 | </method> | |
f32fc4bc RD |
19997 | <method name="GetDisplaySize" oldname="wxGetDisplaySize" type="Size" overloaded="no"> |
19998 | <autodoc>GetDisplaySize() -> Size</autodoc> | |
19999 | </method> | |
20000 | <method name="DisplaySizeMM" oldname="wxDisplaySizeMM" type="" overloaded="no"> | |
20001 | <autodoc>DisplaySizeMM() -> (width, height)</autodoc> | |
856bf319 | 20002 | <paramlist> |
f32fc4bc RD |
20003 | <param name="OUTPUT" type="int" default=""/> |
20004 | <param name="OUTPUT" type="int" default=""/> | |
856bf319 RD |
20005 | </paramlist> |
20006 | </method> | |
f32fc4bc RD |
20007 | <method name="GetDisplaySizeMM" oldname="wxGetDisplaySizeMM" type="Size" overloaded="no"> |
20008 | <autodoc>GetDisplaySizeMM() -> Size</autodoc> | |
20009 | </method> | |
20010 | <method name="ClientDisplayRect" oldname="wxClientDisplayRect" type="" overloaded="no"> | |
20011 | <autodoc>ClientDisplayRect() -> (x, y, width, height)</autodoc> | |
856bf319 | 20012 | <paramlist> |
f32fc4bc RD |
20013 | <param name="OUTPUT" type="int" default=""/> |
20014 | <param name="OUTPUT" type="int" default=""/> | |
20015 | <param name="OUTPUT" type="int" default=""/> | |
20016 | <param name="OUTPUT" type="int" default=""/> | |
856bf319 RD |
20017 | </paramlist> |
20018 | </method> | |
f32fc4bc RD |
20019 | <method name="GetClientDisplayRect" oldname="wxGetClientDisplayRect" type="Rect" overloaded="no"> |
20020 | <autodoc>GetClientDisplayRect() -> Rect</autodoc> | |
20021 | </method> | |
20022 | <method name="SetCursor" oldname="wxSetCursor" type="" overloaded="no"> | |
20023 | <autodoc>SetCursor(Cursor cursor)</autodoc> | |
856bf319 | 20024 | <paramlist> |
f32fc4bc | 20025 | <param name="cursor" type="Cursor" default=""/> |
856bf319 RD |
20026 | </paramlist> |
20027 | </method> | |
f32fc4bc RD |
20028 | <method name="BeginBusyCursor" oldname="wxBeginBusyCursor" type="" overloaded="no"> |
20029 | <autodoc>BeginBusyCursor(Cursor cursor=wxHOURGLASS_CURSOR)</autodoc> | |
856bf319 | 20030 | <paramlist> |
f32fc4bc | 20031 | <param name="cursor" type="Cursor" default="wxHOURGLASS_CURSOR"/> |
856bf319 RD |
20032 | </paramlist> |
20033 | </method> | |
f32fc4bc RD |
20034 | <method name="GetActiveWindow" oldname="wxGetActiveWindow" type="Window" overloaded="no"> |
20035 | <autodoc>GetActiveWindow() -> Window</autodoc> | |
856bf319 | 20036 | </method> |
f32fc4bc RD |
20037 | <method name="GenericFindWindowAtPoint" oldname="wxGenericFindWindowAtPoint" type="Window" overloaded="no"> |
20038 | <autodoc>GenericFindWindowAtPoint(Point pt) -> Window</autodoc> | |
856bf319 | 20039 | <paramlist> |
f32fc4bc | 20040 | <param name="pt" type="Point" default=""/> |
856bf319 RD |
20041 | </paramlist> |
20042 | </method> | |
f32fc4bc RD |
20043 | <method name="FindWindowAtPoint" oldname="wxFindWindowAtPoint" type="Window" overloaded="no"> |
20044 | <autodoc>FindWindowAtPoint(Point pt) -> Window</autodoc> | |
856bf319 | 20045 | <paramlist> |
f32fc4bc | 20046 | <param name="pt" type="Point" default=""/> |
856bf319 RD |
20047 | </paramlist> |
20048 | </method> | |
f32fc4bc RD |
20049 | <method name="GetTopLevelParent" oldname="wxGetTopLevelParent" type="Window" overloaded="no"> |
20050 | <autodoc>GetTopLevelParent(Window win) -> Window</autodoc> | |
856bf319 | 20051 | <paramlist> |
f32fc4bc | 20052 | <param name="win" type="Window" default=""/> |
856bf319 RD |
20053 | </paramlist> |
20054 | </method> | |
f32fc4bc RD |
20055 | <method name="GetKeyState" oldname="wxGetKeyState" type="bool" overloaded="no"> |
20056 | <autodoc>GetKeyState(int key) -> bool</autodoc> | |
856bf319 | 20057 | <paramlist> |
f32fc4bc | 20058 | <param name="key" type="wxKeyCode" default=""/> |
856bf319 RD |
20059 | </paramlist> |
20060 | </method> | |
f32fc4bc RD |
20061 | <method name="WakeUpMainThread" oldname="wxWakeUpMainThread" type="" overloaded="no"> |
20062 | <autodoc>WakeUpMainThread()</autodoc> | |
856bf319 | 20063 | </method> |
f32fc4bc RD |
20064 | <method name="MutexGuiEnter" oldname="wxMutexGuiEnter" type="" overloaded="no"> |
20065 | <autodoc>MutexGuiEnter()</autodoc> | |
856bf319 | 20066 | </method> |
f32fc4bc RD |
20067 | <method name="MutexGuiLeave" oldname="wxMutexGuiLeave" type="" overloaded="no"> |
20068 | <autodoc>MutexGuiLeave()</autodoc> | |
856bf319 | 20069 | </method> |
f32fc4bc RD |
20070 | <class name="MutexGuiLocker" oldname="wxMutexGuiLocker" module="misc"> |
20071 | <constructor name="MutexGuiLocker" overloaded="no"> | |
20072 | <autodoc>__init__() -> MutexGuiLocker</autodoc> | |
20073 | </constructor> | |
20074 | <destructor name="~wxMutexGuiLocker" overloaded="no"> | |
20075 | <autodoc>__del__()</autodoc> | |
20076 | </destructor> | |
20077 | </class> | |
20078 | <method name="Thread_IsMain" oldname="wxThread_IsMain" type="bool" overloaded="no"> | |
20079 | <autodoc>Thread_IsMain() -> bool</autodoc> | |
856bf319 | 20080 | </method> |
f32fc4bc RD |
20081 | <pythoncode> |
20082 | #--------------------------------------------------------------------------- | |
20083 | </pythoncode> | |
20084 | <class name="ToolTip" oldname="wxToolTip" module="misc"> | |
20085 | <baseclass name="Object"/> | |
20086 | <constructor name="ToolTip" overloaded="no"> | |
20087 | <autodoc>__init__(String tip) -> ToolTip</autodoc> | |
20088 | <paramlist> | |
20089 | <param name="tip" type="String" default=""/> | |
20090 | </paramlist> | |
20091 | </constructor> | |
20092 | <method name="SetTip" type="" overloaded="no"> | |
20093 | <autodoc>SetTip(String tip)</autodoc> | |
20094 | <paramlist> | |
20095 | <param name="tip" type="String" default=""/> | |
20096 | </paramlist> | |
20097 | </method> | |
20098 | <method name="GetTip" type="String" overloaded="no"> | |
20099 | <autodoc>GetTip() -> String</autodoc> | |
20100 | </method> | |
20101 | <method name="GetWindow" type="Window" overloaded="no"> | |
20102 | <autodoc>GetWindow() -> Window</autodoc> | |
20103 | </method> | |
20104 | <staticmethod name="Enable" type="" overloaded="no"> | |
20105 | <autodoc>Enable(bool flag)</autodoc> | |
20106 | <paramlist> | |
20107 | <param name="flag" type="bool" default=""/> | |
20108 | </paramlist> | |
20109 | </staticmethod> | |
20110 | <staticmethod name="SetDelay" type="" overloaded="no"> | |
20111 | <autodoc>SetDelay(long milliseconds)</autodoc> | |
20112 | <paramlist> | |
20113 | <param name="milliseconds" type="long" default=""/> | |
20114 | </paramlist> | |
20115 | </staticmethod> | |
20116 | </class> | |
20117 | <class name="Caret" oldname="wxCaret" module="misc"> | |
20118 | <constructor name="Caret" overloaded="no"> | |
20119 | <autodoc>__init__(Window window, Size size) -> Caret</autodoc> | |
20120 | <paramlist> | |
20121 | <param name="window" type="Window" default=""/> | |
20122 | <param name="size" type="Size" default=""/> | |
20123 | </paramlist> | |
20124 | </constructor> | |
20125 | <destructor name="~wxCaret" overloaded="no"> | |
20126 | <autodoc>__del__()</autodoc> | |
20127 | </destructor> | |
20128 | <method name="IsOk" type="bool" overloaded="no"> | |
20129 | <autodoc>IsOk() -> bool</autodoc> | |
20130 | </method> | |
20131 | <method name="IsVisible" type="bool" overloaded="no"> | |
20132 | <autodoc>IsVisible() -> bool</autodoc> | |
20133 | </method> | |
20134 | <method name="GetPosition" type="Point" overloaded="no"> | |
20135 | <autodoc>GetPosition() -> Point</autodoc> | |
20136 | </method> | |
20137 | <method name="GetPositionTuple" type="" overloaded="no"> | |
20138 | <autodoc>GetPositionTuple() -> (x,y)</autodoc> | |
20139 | <paramlist> | |
20140 | <param name="OUTPUT" type="int" default=""/> | |
20141 | <param name="OUTPUT" type="int" default=""/> | |
20142 | </paramlist> | |
20143 | </method> | |
20144 | <method name="GetSize" type="Size" overloaded="no"> | |
20145 | <autodoc>GetSize() -> Size</autodoc> | |
20146 | </method> | |
20147 | <method name="GetSizeTuple" type="" overloaded="no"> | |
20148 | <autodoc>GetSizeTuple() -> (width, height)</autodoc> | |
20149 | <paramlist> | |
20150 | <param name="OUTPUT" type="int" default=""/> | |
20151 | <param name="OUTPUT" type="int" default=""/> | |
20152 | </paramlist> | |
20153 | </method> | |
20154 | <method name="GetWindow" type="Window" overloaded="no"> | |
20155 | <autodoc>GetWindow() -> Window</autodoc> | |
20156 | </method> | |
20157 | <method name="MoveXY" type="" overloaded="no"> | |
20158 | <autodoc>MoveXY(int x, int y)</autodoc> | |
20159 | <paramlist> | |
20160 | <param name="x" type="int" default=""/> | |
20161 | <param name="y" type="int" default=""/> | |
20162 | </paramlist> | |
20163 | </method> | |
20164 | <method name="Move" type="" overloaded="no"> | |
20165 | <autodoc>Move(Point pt)</autodoc> | |
20166 | <paramlist> | |
20167 | <param name="pt" type="Point" default=""/> | |
20168 | </paramlist> | |
20169 | </method> | |
20170 | <method name="SetSizeWH" type="" overloaded="no"> | |
20171 | <autodoc>SetSizeWH(int width, int height)</autodoc> | |
20172 | <paramlist> | |
20173 | <param name="width" type="int" default=""/> | |
20174 | <param name="height" type="int" default=""/> | |
20175 | </paramlist> | |
20176 | </method> | |
20177 | <method name="SetSize" type="" overloaded="no"> | |
20178 | <autodoc>SetSize(Size size)</autodoc> | |
20179 | <paramlist> | |
20180 | <param name="size" type="Size" default=""/> | |
20181 | </paramlist> | |
20182 | </method> | |
20183 | <method name="Show" type="" overloaded="no"> | |
20184 | <autodoc>Show(int show=True)</autodoc> | |
20185 | <paramlist> | |
20186 | <param name="show" type="int" default="True"/> | |
20187 | </paramlist> | |
20188 | </method> | |
20189 | <method name="Hide" type="" overloaded="no"> | |
20190 | <autodoc>Hide()</autodoc> | |
20191 | </method> | |
20192 | </class> | |
20193 | <method name="Caret_GetBlinkTime" oldname="wxCaret_GetBlinkTime" type="int" overloaded="no"> | |
20194 | <autodoc>Caret_GetBlinkTime() -> int</autodoc> | |
20195 | </method> | |
20196 | <method name="Caret_SetBlinkTime" oldname="wxCaret_SetBlinkTime" type="" overloaded="no"> | |
20197 | <autodoc>Caret_SetBlinkTime(int milliseconds)</autodoc> | |
856bf319 | 20198 | <paramlist> |
f32fc4bc | 20199 | <param name="milliseconds" type="int" default=""/> |
856bf319 RD |
20200 | </paramlist> |
20201 | </method> | |
f32fc4bc RD |
20202 | <class name="BusyCursor" oldname="wxBusyCursor" module="misc"> |
20203 | <constructor name="BusyCursor" overloaded="no"> | |
20204 | <autodoc>__init__(Cursor cursor=wxHOURGLASS_CURSOR) -> BusyCursor</autodoc> | |
20205 | <paramlist> | |
20206 | <param name="cursor" type="Cursor" default="wxHOURGLASS_CURSOR"/> | |
20207 | </paramlist> | |
20208 | </constructor> | |
20209 | <destructor name="~wxBusyCursor" overloaded="no"> | |
20210 | <autodoc>__del__()</autodoc> | |
20211 | </destructor> | |
20212 | </class> | |
20213 | <class name="WindowDisabler" oldname="wxWindowDisabler" module="misc"> | |
20214 | <constructor name="WindowDisabler" overloaded="no"> | |
20215 | <autodoc>__init__(Window winToSkip=None) -> WindowDisabler</autodoc> | |
20216 | <paramlist> | |
20217 | <param name="winToSkip" type="Window" default="NULL"/> | |
20218 | </paramlist> | |
20219 | </constructor> | |
20220 | <destructor name="~wxWindowDisabler" overloaded="no"> | |
20221 | <autodoc>__del__()</autodoc> | |
20222 | </destructor> | |
20223 | </class> | |
20224 | <class name="BusyInfo" oldname="wxBusyInfo" module="misc"> | |
20225 | <baseclass name="Object"/> | |
20226 | <constructor name="BusyInfo" overloaded="no"> | |
20227 | <autodoc>__init__(String message) -> BusyInfo</autodoc> | |
20228 | <paramlist> | |
20229 | <param name="message" type="String" default=""/> | |
20230 | </paramlist> | |
20231 | </constructor> | |
20232 | <destructor name="~wxBusyInfo" overloaded="no"> | |
20233 | <autodoc>__del__()</autodoc> | |
20234 | </destructor> | |
20235 | </class> | |
20236 | <class name="StopWatch" oldname="wxStopWatch" module="misc"> | |
20237 | <constructor name="StopWatch" overloaded="no"> | |
20238 | <autodoc>__init__() -> StopWatch</autodoc> | |
20239 | </constructor> | |
20240 | <method name="Start" type="" overloaded="no"> | |
20241 | <autodoc>Start(long t0=0)</autodoc> | |
20242 | <paramlist> | |
20243 | <param name="t0" type="long" default="0"/> | |
20244 | </paramlist> | |
20245 | </method> | |
20246 | <method name="Pause" type="" overloaded="no"> | |
20247 | <autodoc>Pause()</autodoc> | |
20248 | </method> | |
20249 | <method name="Resume" type="" overloaded="no"> | |
20250 | <autodoc>Resume()</autodoc> | |
20251 | </method> | |
20252 | <method name="Time" type="long" overloaded="no"> | |
20253 | <autodoc>Time() -> long</autodoc> | |
20254 | </method> | |
20255 | </class> | |
20256 | <class name="FileHistory" oldname="wxFileHistory" module="misc"> | |
20257 | <baseclass name="Object"/> | |
20258 | <constructor name="FileHistory" overloaded="no"> | |
20259 | <autodoc>__init__(int maxFiles=9) -> FileHistory</autodoc> | |
20260 | <paramlist> | |
20261 | <param name="maxFiles" type="int" default="9"/> | |
20262 | </paramlist> | |
20263 | </constructor> | |
20264 | <destructor name="~wxFileHistory" overloaded="no"> | |
20265 | <autodoc>__del__()</autodoc> | |
20266 | </destructor> | |
20267 | <method name="AddFileToHistory" type="" overloaded="no"> | |
20268 | <autodoc>AddFileToHistory(String file)</autodoc> | |
20269 | <paramlist> | |
20270 | <param name="file" type="String" default=""/> | |
20271 | </paramlist> | |
20272 | </method> | |
20273 | <method name="RemoveFileFromHistory" type="" overloaded="no"> | |
20274 | <autodoc>RemoveFileFromHistory(int i)</autodoc> | |
20275 | <paramlist> | |
20276 | <param name="i" type="int" default=""/> | |
20277 | </paramlist> | |
20278 | </method> | |
20279 | <method name="GetMaxFiles" type="int" overloaded="no"> | |
20280 | <autodoc>GetMaxFiles() -> int</autodoc> | |
20281 | </method> | |
20282 | <method name="UseMenu" type="" overloaded="no"> | |
20283 | <autodoc>UseMenu(Menu menu)</autodoc> | |
20284 | <paramlist> | |
20285 | <param name="menu" type="Menu" default=""/> | |
20286 | </paramlist> | |
20287 | </method> | |
20288 | <method name="RemoveMenu" type="" overloaded="no"> | |
20289 | <autodoc>RemoveMenu(Menu menu)</autodoc> | |
20290 | <paramlist> | |
20291 | <param name="menu" type="Menu" default=""/> | |
20292 | </paramlist> | |
20293 | </method> | |
20294 | <method name="Load" type="" overloaded="no"> | |
20295 | <autodoc>Load(ConfigBase config)</autodoc> | |
20296 | <paramlist> | |
20297 | <param name="config" type="wxConfigBase" default=""/> | |
20298 | </paramlist> | |
20299 | </method> | |
20300 | <method name="Save" type="" overloaded="no"> | |
20301 | <autodoc>Save(ConfigBase config)</autodoc> | |
20302 | <paramlist> | |
20303 | <param name="config" type="wxConfigBase" default=""/> | |
20304 | </paramlist> | |
20305 | </method> | |
20306 | <method name="AddFilesToMenu" type="" overloaded="no"> | |
20307 | <autodoc>AddFilesToMenu()</autodoc> | |
20308 | </method> | |
20309 | <method name="AddFilesToThisMenu" type="" overloaded="no"> | |
20310 | <autodoc>AddFilesToThisMenu(Menu menu)</autodoc> | |
20311 | <paramlist> | |
20312 | <param name="menu" type="Menu" default=""/> | |
20313 | </paramlist> | |
20314 | </method> | |
20315 | <method name="GetHistoryFile" type="String" overloaded="no"> | |
20316 | <autodoc>GetHistoryFile(int i) -> String</autodoc> | |
20317 | <paramlist> | |
20318 | <param name="i" type="int" default=""/> | |
20319 | </paramlist> | |
20320 | </method> | |
20321 | <method name="GetCount" type="int" overloaded="no"> | |
20322 | <autodoc>GetCount() -> int</autodoc> | |
20323 | </method> | |
20324 | </class> | |
20325 | <class name="SingleInstanceChecker" oldname="wxSingleInstanceChecker" module="misc"> | |
20326 | <constructor name="SingleInstanceChecker" overloaded="no"> | |
20327 | <autodoc>__init__(String name, String path=EmptyString) -> SingleInstanceChecker</autodoc> | |
20328 | <paramlist> | |
20329 | <param name="name" type="String" default=""/> | |
20330 | <param name="path" type="String" default="wxPyEmptyString"/> | |
20331 | </paramlist> | |
20332 | </constructor> | |
20333 | <constructor name="PreSingleInstanceChecker" overloaded="no"> | |
20334 | <autodoc>PreSingleInstanceChecker() -> SingleInstanceChecker</autodoc> | |
20335 | </constructor> | |
20336 | <destructor name="~wxSingleInstanceChecker" overloaded="no"> | |
20337 | <autodoc>__del__()</autodoc> | |
20338 | </destructor> | |
20339 | <method name="Create" type="bool" overloaded="no"> | |
20340 | <autodoc>Create(String name, String path=EmptyString) -> bool</autodoc> | |
20341 | <paramlist> | |
20342 | <param name="name" type="String" default=""/> | |
20343 | <param name="path" type="String" default="wxPyEmptyString"/> | |
20344 | </paramlist> | |
20345 | </method> | |
20346 | <method name="IsAnotherRunning" type="bool" overloaded="no"> | |
20347 | <autodoc>IsAnotherRunning() -> bool</autodoc> | |
20348 | </method> | |
20349 | </class> | |
20350 | <method name="DrawWindowOnDC" oldname="wxDrawWindowOnDC" type="" overloaded="no"> | |
20351 | <autodoc>DrawWindowOnDC(Window window, DC dc, int method)</autodoc> | |
20352 | <paramlist> | |
20353 | <param name="window" type="Window" default=""/> | |
20354 | <param name="dc" type="DC" default=""/> | |
20355 | <param name="method" type="int" default=""/> | |
856bf319 RD |
20356 | </paramlist> |
20357 | </method> | |
f32fc4bc RD |
20358 | <pythoncode> |
20359 | #--------------------------------------------------------------------------- | |
20360 | </pythoncode> | |
20361 | <class name="TipProvider" oldname="wxTipProvider" module="misc"> | |
20362 | <destructor name="~wxTipProvider" overloaded="no"> | |
20363 | <autodoc>__del__()</autodoc> | |
20364 | </destructor> | |
20365 | <method name="GetTip" type="String" overloaded="no"> | |
20366 | <autodoc>GetTip() -> String</autodoc> | |
20367 | </method> | |
20368 | <method name="GetCurrentTip" type="size_t" overloaded="no"> | |
20369 | <autodoc>GetCurrentTip() -> size_t</autodoc> | |
20370 | </method> | |
20371 | <method name="PreprocessTip" type="String" overloaded="no"> | |
20372 | <autodoc>PreprocessTip(String tip) -> String</autodoc> | |
20373 | <paramlist> | |
20374 | <param name="tip" type="String" default=""/> | |
20375 | </paramlist> | |
20376 | </method> | |
20377 | </class> | |
20378 | <class name="PyTipProvider" oldname="wxPyTipProvider" module="misc"> | |
20379 | <baseclass name="TipProvider"/> | |
20380 | <constructor name="PyTipProvider" overloaded="no"> | |
20381 | <autodoc>__init__(size_t currentTip) -> PyTipProvider</autodoc> | |
20382 | <paramlist> | |
20383 | <param name="currentTip" type="size_t" default=""/> | |
20384 | </paramlist> | |
20385 | </constructor> | |
20386 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
20387 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
20388 | <paramlist> | |
20389 | <param name="self" type="PyObject" default=""/> | |
20390 | <param name="_class" type="PyObject" default=""/> | |
20391 | </paramlist> | |
20392 | </method> | |
20393 | </class> | |
20394 | <method name="ShowTip" oldname="wxShowTip" type="bool" overloaded="no"> | |
20395 | <autodoc>ShowTip(Window parent, TipProvider tipProvider, bool showAtStartup=True) -> bool</autodoc> | |
20396 | <paramlist> | |
20397 | <param name="parent" type="Window" default=""/> | |
20398 | <param name="tipProvider" type="TipProvider" default=""/> | |
20399 | <param name="showAtStartup" type="bool" default="True"/> | |
20400 | </paramlist> | |
20401 | </method> | |
20402 | <method name="CreateFileTipProvider" oldname="wxCreateFileTipProvider" type="TipProvider" overloaded="no"> | |
20403 | <autodoc>CreateFileTipProvider(String filename, size_t currentTip) -> TipProvider</autodoc> | |
20404 | <paramlist> | |
20405 | <param name="filename" type="String" default=""/> | |
20406 | <param name="currentTip" type="size_t" default=""/> | |
856bf319 RD |
20407 | </paramlist> |
20408 | </method> | |
f32fc4bc | 20409 | <pythoncode> |
0f43fbdf RD |
20410 | #--------------------------------------------------------------------------- |
20411 | </pythoncode> | |
f32fc4bc RD |
20412 | <class name="Timer" oldname="wxPyTimer" module="misc"> |
20413 | <baseclass name="EvtHandler"/> | |
20414 | <constructor name="wxPyTimer" overloaded="no"> | |
20415 | <autodoc>__init__(EvtHandler owner=None, int id=-1) -> Timer</autodoc> | |
20416 | <paramlist> | |
20417 | <param name="owner" type="EvtHandler" default="NULL"/> | |
20418 | <param name="id" type="int" default="-1"/> | |
20419 | </paramlist> | |
20420 | </constructor> | |
20421 | <destructor name="~wxPyTimer" overloaded="no"> | |
20422 | <autodoc>__del__()</autodoc> | |
20423 | </destructor> | |
20424 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
b39e211b | 20425 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class, int incref=1)</autodoc> |
f32fc4bc RD |
20426 | <paramlist> |
20427 | <param name="self" type="PyObject" default=""/> | |
20428 | <param name="_class" type="PyObject" default=""/> | |
b39e211b | 20429 | <param name="incref" type="int" default="1"/> |
f32fc4bc RD |
20430 | </paramlist> |
20431 | </method> | |
20432 | <method name="SetOwner" type="" overloaded="no"> | |
20433 | <autodoc>SetOwner(EvtHandler owner, int id=-1)</autodoc> | |
20434 | <paramlist> | |
20435 | <param name="owner" type="EvtHandler" default=""/> | |
20436 | <param name="id" type="int" default="-1"/> | |
20437 | </paramlist> | |
20438 | </method> | |
20439 | <method name="Start" type="bool" overloaded="no"> | |
20440 | <autodoc>Start(int milliseconds=-1, bool oneShot=False) -> bool</autodoc> | |
20441 | <paramlist> | |
20442 | <param name="milliseconds" type="int" default="-1"/> | |
20443 | <param name="oneShot" type="bool" default="False"/> | |
20444 | </paramlist> | |
20445 | </method> | |
20446 | <method name="Stop" type="" overloaded="no"> | |
20447 | <autodoc>Stop()</autodoc> | |
20448 | </method> | |
20449 | <method name="IsRunning" type="bool" overloaded="no"> | |
20450 | <autodoc>IsRunning() -> bool</autodoc> | |
20451 | </method> | |
20452 | <method name="GetInterval" type="int" overloaded="no"> | |
20453 | <autodoc>GetInterval() -> int</autodoc> | |
20454 | </method> | |
20455 | <method name="IsOneShot" type="bool" overloaded="no"> | |
20456 | <autodoc>IsOneShot() -> bool</autodoc> | |
20457 | </method> | |
20458 | <method name="GetId" type="int" overloaded="no"> | |
20459 | <autodoc>GetId() -> int</autodoc> | |
20460 | </method> | |
20461 | </class> | |
b39e211b | 20462 | <pythoncode> |
f32fc4bc RD |
20463 | # For backwards compatibility with 2.4 |
20464 | class PyTimer(Timer): | |
20465 | def __init__(self, notify): | |
20466 | Timer.__init__(self) | |
20467 | self.notify = notify | |
20468 | ||
20469 | def Notify(self): | |
20470 | if self.notify: | |
20471 | self.notify() | |
20472 | ||
20473 | ||
20474 | EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 ) | |
b39e211b | 20475 | |
0f43fbdf | 20476 | </pythoncode> |
f32fc4bc RD |
20477 | <class name="TimerEvent" oldname="wxTimerEvent" module="misc"> |
20478 | <baseclass name="Event"/> | |
20479 | <constructor name="TimerEvent" overloaded="no"> | |
20480 | <autodoc>__init__(int timerid=0, int interval=0) -> TimerEvent</autodoc> | |
20481 | <paramlist> | |
20482 | <param name="timerid" type="int" default="0"/> | |
20483 | <param name="interval" type="int" default="0"/> | |
20484 | </paramlist> | |
20485 | </constructor> | |
20486 | <method name="GetInterval" type="int" overloaded="no"> | |
20487 | <autodoc>GetInterval() -> int</autodoc> | |
20488 | </method> | |
20489 | </class> | |
20490 | <class name="TimerRunner" oldname="wxTimerRunner" module="misc"> | |
20491 | <constructor name="TimerRunner" overloaded="yes"> | |
20492 | <paramlist> | |
20493 | <param name="timer" type="wxTimer" default=""/> | |
20494 | </paramlist> | |
20495 | </constructor> | |
20496 | <constructor name="TimerRunner" overloaded="yes"> | |
20497 | <autodoc>__init__(wxTimer timer) -> TimerRunner | |
20498 | __init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner</autodoc> | |
20499 | <paramlist> | |
20500 | <param name="timer" type="wxTimer" default=""/> | |
20501 | <param name="milli" type="int" default=""/> | |
20502 | <param name="oneShot" type="bool" default="False"/> | |
20503 | </paramlist> | |
20504 | </constructor> | |
20505 | <destructor name="~wxTimerRunner" overloaded="no"> | |
20506 | <autodoc>__del__()</autodoc> | |
20507 | </destructor> | |
20508 | <method name="Start" type="" overloaded="no"> | |
20509 | <autodoc>Start(int milli, bool oneShot=False)</autodoc> | |
20510 | <paramlist> | |
20511 | <param name="milli" type="int" default=""/> | |
20512 | <param name="oneShot" type="bool" default="False"/> | |
20513 | </paramlist> | |
20514 | </method> | |
20515 | </class> | |
20516 | <pythoncode> | |
0f43fbdf RD |
20517 | #--------------------------------------------------------------------------- |
20518 | </pythoncode> | |
f32fc4bc RD |
20519 | <class name="Log" oldname="wxLog" module="misc"> |
20520 | <constructor name="Log" overloaded="no"> | |
20521 | <autodoc>__init__() -> Log</autodoc> | |
20522 | </constructor> | |
20523 | <staticmethod name="IsEnabled" type="bool" overloaded="no"> | |
20524 | <autodoc>IsEnabled() -> bool</autodoc> | |
20525 | </staticmethod> | |
20526 | <staticmethod name="EnableLogging" type="bool" overloaded="no"> | |
20527 | <autodoc>EnableLogging(bool doIt=True) -> bool</autodoc> | |
20528 | <paramlist> | |
20529 | <param name="doIt" type="bool" default="True"/> | |
20530 | </paramlist> | |
20531 | </staticmethod> | |
20532 | <staticmethod name="OnLog" type="" overloaded="no"> | |
20533 | <autodoc>OnLog(wxLogLevel level, wxChar szString, time_t t)</autodoc> | |
20534 | <paramlist> | |
20535 | <param name="level" type="wxLogLevel" default=""/> | |
20536 | <param name="szString" type="wxChar" default=""/> | |
20537 | <param name="t" type="time_t" default=""/> | |
20538 | </paramlist> | |
20539 | </staticmethod> | |
20540 | <method name="Flush" type="" overloaded="no"> | |
20541 | <autodoc>Flush()</autodoc> | |
20542 | </method> | |
20543 | <staticmethod name="FlushActive" type="" overloaded="no"> | |
20544 | <autodoc>FlushActive()</autodoc> | |
20545 | </staticmethod> | |
20546 | <staticmethod name="GetActiveTarget" type="Log" overloaded="no"> | |
20547 | <autodoc>GetActiveTarget() -> Log</autodoc> | |
20548 | </staticmethod> | |
20549 | <staticmethod name="SetActiveTarget" type="Log" overloaded="no"> | |
20550 | <autodoc>SetActiveTarget(Log pLogger) -> Log</autodoc> | |
20551 | <paramlist> | |
20552 | <param name="pLogger" type="Log" default=""/> | |
20553 | </paramlist> | |
20554 | </staticmethod> | |
20555 | <staticmethod name="Suspend" type="" overloaded="no"> | |
20556 | <autodoc>Suspend()</autodoc> | |
20557 | </staticmethod> | |
20558 | <staticmethod name="Resume" type="" overloaded="no"> | |
20559 | <autodoc>Resume()</autodoc> | |
20560 | </staticmethod> | |
20561 | <staticmethod name="SetVerbose" type="" overloaded="no"> | |
20562 | <autodoc>SetVerbose(bool bVerbose=True)</autodoc> | |
20563 | <paramlist> | |
20564 | <param name="bVerbose" type="bool" default="True"/> | |
20565 | </paramlist> | |
20566 | </staticmethod> | |
20567 | <staticmethod name="SetLogLevel" type="" overloaded="no"> | |
20568 | <autodoc>SetLogLevel(wxLogLevel logLevel)</autodoc> | |
20569 | <paramlist> | |
20570 | <param name="logLevel" type="wxLogLevel" default=""/> | |
20571 | </paramlist> | |
20572 | </staticmethod> | |
20573 | <staticmethod name="DontCreateOnDemand" type="" overloaded="no"> | |
20574 | <autodoc>DontCreateOnDemand()</autodoc> | |
20575 | </staticmethod> | |
20576 | <staticmethod name="SetTraceMask" type="" overloaded="no"> | |
20577 | <autodoc>SetTraceMask(wxTraceMask ulMask)</autodoc> | |
20578 | <paramlist> | |
20579 | <param name="ulMask" type="wxTraceMask" default=""/> | |
20580 | </paramlist> | |
20581 | </staticmethod> | |
20582 | <staticmethod name="AddTraceMask" type="" overloaded="no"> | |
20583 | <autodoc>AddTraceMask(String str)</autodoc> | |
20584 | <paramlist> | |
20585 | <param name="str" type="String" default=""/> | |
20586 | </paramlist> | |
20587 | </staticmethod> | |
20588 | <staticmethod name="RemoveTraceMask" type="" overloaded="no"> | |
20589 | <autodoc>RemoveTraceMask(String str)</autodoc> | |
20590 | <paramlist> | |
20591 | <param name="str" type="String" default=""/> | |
20592 | </paramlist> | |
20593 | </staticmethod> | |
20594 | <staticmethod name="ClearTraceMasks" type="" overloaded="no"> | |
20595 | <autodoc>ClearTraceMasks()</autodoc> | |
20596 | </staticmethod> | |
20597 | <staticmethod name="GetTraceMasks" type="wxArrayString" overloaded="no"> | |
20598 | <autodoc>GetTraceMasks() -> wxArrayString</autodoc> | |
20599 | </staticmethod> | |
20600 | <staticmethod name="SetTimestamp" type="" overloaded="no"> | |
20601 | <autodoc>SetTimestamp(wxChar ts)</autodoc> | |
20602 | <paramlist> | |
20603 | <param name="ts" type="wxChar" default=""/> | |
20604 | </paramlist> | |
20605 | </staticmethod> | |
20606 | <staticmethod name="GetVerbose" type="bool" overloaded="no"> | |
20607 | <autodoc>GetVerbose() -> bool</autodoc> | |
20608 | </staticmethod> | |
20609 | <staticmethod name="GetTraceMask" type="wxTraceMask" overloaded="no"> | |
20610 | <autodoc>GetTraceMask() -> wxTraceMask</autodoc> | |
20611 | </staticmethod> | |
20612 | <staticmethod name="IsAllowedTraceMask" type="bool" overloaded="no"> | |
20613 | <autodoc>IsAllowedTraceMask(wxChar mask) -> bool</autodoc> | |
20614 | <paramlist> | |
20615 | <param name="mask" type="wxChar" default=""/> | |
20616 | </paramlist> | |
20617 | </staticmethod> | |
20618 | <staticmethod name="GetLogLevel" type="wxLogLevel" overloaded="no"> | |
20619 | <autodoc>GetLogLevel() -> wxLogLevel</autodoc> | |
20620 | </staticmethod> | |
20621 | <staticmethod name="GetTimestamp" type="wxChar" overloaded="no"> | |
20622 | <autodoc>GetTimestamp() -> wxChar</autodoc> | |
20623 | </staticmethod> | |
20624 | <staticmethod name="TimeStamp" type="String" overloaded="no"> | |
20625 | <autodoc>TimeStamp() -> String</autodoc> | |
20626 | </staticmethod> | |
20627 | <method name="Destroy" type="" overloaded="no"> | |
20628 | <autodoc>Destroy()</autodoc> | |
20629 | </method> | |
20630 | </class> | |
20631 | <class name="LogStderr" oldname="wxLogStderr" module="misc"> | |
20632 | <baseclass name="Log"/> | |
20633 | <constructor name="LogStderr" overloaded="no"> | |
20634 | <autodoc>__init__() -> LogStderr</autodoc> | |
20635 | </constructor> | |
20636 | </class> | |
20637 | <class name="LogTextCtrl" oldname="wxLogTextCtrl" module="misc"> | |
20638 | <baseclass name="Log"/> | |
20639 | <constructor name="LogTextCtrl" overloaded="no"> | |
20640 | <autodoc>__init__(wxTextCtrl pTextCtrl) -> LogTextCtrl</autodoc> | |
20641 | <paramlist> | |
20642 | <param name="pTextCtrl" type="TextCtrl" default=""/> | |
20643 | </paramlist> | |
20644 | </constructor> | |
20645 | </class> | |
20646 | <class name="LogGui" oldname="wxLogGui" module="misc"> | |
20647 | <baseclass name="Log"/> | |
20648 | <constructor name="LogGui" overloaded="no"> | |
20649 | <autodoc>__init__() -> LogGui</autodoc> | |
20650 | </constructor> | |
20651 | </class> | |
20652 | <class name="LogWindow" oldname="wxLogWindow" module="misc"> | |
20653 | <baseclass name="Log"/> | |
20654 | <constructor name="LogWindow" overloaded="no"> | |
20655 | <autodoc>__init__(wxFrame pParent, String szTitle, bool bShow=True, bool bPassToOld=True) -> LogWindow</autodoc> | |
20656 | <paramlist> | |
20657 | <param name="pParent" type="Frame" default=""/> | |
20658 | <param name="szTitle" type="String" default=""/> | |
20659 | <param name="bShow" type="bool" default="True"/> | |
20660 | <param name="bPassToOld" type="bool" default="True"/> | |
20661 | </paramlist> | |
20662 | </constructor> | |
20663 | <method name="Show" type="" overloaded="no"> | |
20664 | <autodoc>Show(bool bShow=True)</autodoc> | |
20665 | <paramlist> | |
20666 | <param name="bShow" type="bool" default="True"/> | |
20667 | </paramlist> | |
20668 | </method> | |
20669 | <method name="GetFrame" type="Frame" overloaded="no"> | |
20670 | <autodoc>GetFrame() -> wxFrame</autodoc> | |
20671 | </method> | |
20672 | <method name="GetOldLog" type="Log" overloaded="no"> | |
20673 | <autodoc>GetOldLog() -> Log</autodoc> | |
20674 | </method> | |
20675 | <method name="IsPassingMessages" type="bool" overloaded="no"> | |
20676 | <autodoc>IsPassingMessages() -> bool</autodoc> | |
20677 | </method> | |
20678 | <method name="PassMessages" type="" overloaded="no"> | |
20679 | <autodoc>PassMessages(bool bDoPass)</autodoc> | |
20680 | <paramlist> | |
20681 | <param name="bDoPass" type="bool" default=""/> | |
20682 | </paramlist> | |
20683 | </method> | |
20684 | </class> | |
20685 | <class name="LogChain" oldname="wxLogChain" module="misc"> | |
20686 | <baseclass name="Log"/> | |
20687 | <constructor name="LogChain" overloaded="no"> | |
20688 | <autodoc>__init__(Log logger) -> LogChain</autodoc> | |
20689 | <paramlist> | |
20690 | <param name="logger" type="Log" default=""/> | |
20691 | </paramlist> | |
20692 | </constructor> | |
20693 | <method name="SetLog" type="" overloaded="no"> | |
20694 | <autodoc>SetLog(Log logger)</autodoc> | |
20695 | <paramlist> | |
20696 | <param name="logger" type="Log" default=""/> | |
20697 | </paramlist> | |
20698 | </method> | |
20699 | <method name="PassMessages" type="" overloaded="no"> | |
20700 | <autodoc>PassMessages(bool bDoPass)</autodoc> | |
20701 | <paramlist> | |
20702 | <param name="bDoPass" type="bool" default=""/> | |
20703 | </paramlist> | |
20704 | </method> | |
20705 | <method name="IsPassingMessages" type="bool" overloaded="no"> | |
20706 | <autodoc>IsPassingMessages() -> bool</autodoc> | |
20707 | </method> | |
20708 | <method name="GetOldLog" type="Log" overloaded="no"> | |
20709 | <autodoc>GetOldLog() -> Log</autodoc> | |
20710 | </method> | |
20711 | </class> | |
20712 | <method name="SysErrorCode" oldname="wxSysErrorCode" type="unsigned long" overloaded="no"> | |
20713 | <autodoc>SysErrorCode() -> unsigned long</autodoc> | |
20714 | </method> | |
20715 | <method name="SysErrorMsg" oldname="wxSysErrorMsg" type="String" overloaded="no"> | |
20716 | <autodoc>SysErrorMsg(unsigned long nErrCode=0) -> String</autodoc> | |
20717 | <paramlist> | |
20718 | <param name="nErrCode" type="unsigned long" default="0"/> | |
20719 | </paramlist> | |
20720 | </method> | |
20721 | <method name="LogFatalError" oldname="wxLogFatalError" type="" overloaded="no"> | |
20722 | <autodoc>LogFatalError(String msg)</autodoc> | |
20723 | <paramlist> | |
20724 | <param name="msg" type="String" default=""/> | |
20725 | </paramlist> | |
20726 | </method> | |
20727 | <method name="LogError" oldname="wxLogError" type="" overloaded="no"> | |
20728 | <autodoc>LogError(String msg)</autodoc> | |
20729 | <paramlist> | |
20730 | <param name="msg" type="String" default=""/> | |
20731 | </paramlist> | |
20732 | </method> | |
20733 | <method name="LogWarning" oldname="wxLogWarning" type="" overloaded="no"> | |
20734 | <autodoc>LogWarning(String msg)</autodoc> | |
20735 | <paramlist> | |
20736 | <param name="msg" type="String" default=""/> | |
20737 | </paramlist> | |
20738 | </method> | |
20739 | <method name="LogMessage" oldname="wxLogMessage" type="" overloaded="no"> | |
20740 | <autodoc>LogMessage(String msg)</autodoc> | |
856bf319 | 20741 | <paramlist> |
f32fc4bc | 20742 | <param name="msg" type="String" default=""/> |
856bf319 RD |
20743 | </paramlist> |
20744 | </method> | |
f32fc4bc RD |
20745 | <method name="LogInfo" oldname="wxLogInfo" type="" overloaded="no"> |
20746 | <autodoc>LogInfo(String msg)</autodoc> | |
856bf319 | 20747 | <paramlist> |
f32fc4bc | 20748 | <param name="msg" type="String" default=""/> |
856bf319 RD |
20749 | </paramlist> |
20750 | </method> | |
f32fc4bc RD |
20751 | <method name="LogDebug" oldname="wxLogDebug" type="" overloaded="no"> |
20752 | <autodoc>LogDebug(String msg)</autodoc> | |
856bf319 | 20753 | <paramlist> |
f32fc4bc | 20754 | <param name="msg" type="String" default=""/> |
856bf319 RD |
20755 | </paramlist> |
20756 | </method> | |
f32fc4bc RD |
20757 | <method name="LogVerbose" oldname="wxLogVerbose" type="" overloaded="no"> |
20758 | <autodoc>LogVerbose(String msg)</autodoc> | |
856bf319 | 20759 | <paramlist> |
f32fc4bc | 20760 | <param name="msg" type="String" default=""/> |
856bf319 RD |
20761 | </paramlist> |
20762 | </method> | |
f32fc4bc RD |
20763 | <method name="LogStatus" oldname="wxLogStatus" type="" overloaded="no"> |
20764 | <autodoc>LogStatus(String msg)</autodoc> | |
856bf319 | 20765 | <paramlist> |
f32fc4bc | 20766 | <param name="msg" type="String" default=""/> |
856bf319 RD |
20767 | </paramlist> |
20768 | </method> | |
f32fc4bc RD |
20769 | <method name="LogStatusFrame" oldname="wxLogStatus" type="" overloaded="no"> |
20770 | <autodoc>LogStatusFrame(wxFrame pFrame, String msg)</autodoc> | |
856bf319 | 20771 | <paramlist> |
f32fc4bc RD |
20772 | <param name="pFrame" type="Frame" default=""/> |
20773 | <param name="msg" type="String" default=""/> | |
856bf319 RD |
20774 | </paramlist> |
20775 | </method> | |
f32fc4bc RD |
20776 | <method name="LogSysError" oldname="wxLogSysError" type="" overloaded="no"> |
20777 | <autodoc>LogSysError(String msg)</autodoc> | |
856bf319 | 20778 | <paramlist> |
f32fc4bc | 20779 | <param name="msg" type="String" default=""/> |
856bf319 RD |
20780 | </paramlist> |
20781 | </method> | |
f32fc4bc | 20782 | <method name="LogTrace" oldname="wxLogTrace" type="" overloaded="yes"> |
856bf319 | 20783 | <paramlist> |
f32fc4bc RD |
20784 | <param name="mask" type="unsigned long" default=""/> |
20785 | <param name="msg" type="String" default=""/> | |
856bf319 RD |
20786 | </paramlist> |
20787 | </method> | |
f32fc4bc RD |
20788 | <method name="LogTrace" oldname="wxLogTrace" type="" overloaded="yes"> |
20789 | <autodoc>LogTrace(unsigned long mask, String msg) | |
20790 | LogTrace(String mask, String msg)</autodoc> | |
856bf319 | 20791 | <paramlist> |
f32fc4bc RD |
20792 | <param name="mask" type="String" default=""/> |
20793 | <param name="msg" type="String" default=""/> | |
20794 | </paramlist> | |
20795 | </method> | |
20796 | <method name="LogGeneric" oldname="wxLogGeneric" type="" overloaded="no"> | |
20797 | <autodoc>LogGeneric(unsigned long level, String msg)</autodoc> | |
20798 | <paramlist> | |
20799 | <param name="level" type="unsigned long" default=""/> | |
20800 | <param name="msg" type="String" default=""/> | |
20801 | </paramlist> | |
20802 | </method> | |
20803 | <method name="SafeShowMessage" oldname="wxSafeShowMessage" type="" overloaded="no"> | |
20804 | <autodoc>SafeShowMessage(String title, String text)</autodoc> | |
20805 | <paramlist> | |
20806 | <param name="title" type="String" default=""/> | |
20807 | <param name="text" type="String" default=""/> | |
20808 | </paramlist> | |
20809 | </method> | |
20810 | <class name="LogNull" oldname="wxLogNull" module="misc"> | |
20811 | <constructor name="LogNull" overloaded="no"> | |
20812 | <autodoc>__init__() -> LogNull</autodoc> | |
20813 | </constructor> | |
20814 | <destructor name="~wxLogNull" overloaded="no"> | |
20815 | <autodoc>__del__()</autodoc> | |
20816 | </destructor> | |
20817 | </class> | |
20818 | <class name="PyLog" oldname="wxPyLog" module="misc"> | |
20819 | <baseclass name="Log"/> | |
20820 | <constructor name="PyLog" overloaded="no"> | |
20821 | <autodoc>__init__() -> PyLog</autodoc> | |
20822 | </constructor> | |
20823 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
20824 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
20825 | <paramlist> | |
20826 | <param name="self" type="PyObject" default=""/> | |
20827 | <param name="_class" type="PyObject" default=""/> | |
20828 | </paramlist> | |
20829 | </method> | |
20830 | </class> | |
20831 | <pythoncode> | |
0f43fbdf RD |
20832 | #--------------------------------------------------------------------------- |
20833 | </pythoncode> | |
f32fc4bc RD |
20834 | <class name="Process" oldname="wxPyProcess" module="misc"> |
20835 | <baseclass name="EvtHandler"/> | |
20836 | <constructor name="wxPyProcess" overloaded="no"> | |
20837 | <autodoc>__init__(EvtHandler parent=None, int id=-1) -> Process</autodoc> | |
20838 | <paramlist> | |
20839 | <param name="parent" type="EvtHandler" default="NULL"/> | |
20840 | <param name="id" type="int" default="-1"/> | |
20841 | </paramlist> | |
20842 | </constructor> | |
20843 | <staticmethod name="Kill" type="wxKillError" overloaded="no"> | |
20844 | <autodoc>Kill(int pid, int sig=SIGTERM) -> int</autodoc> | |
20845 | <paramlist> | |
20846 | <param name="pid" type="int" default=""/> | |
20847 | <param name="sig" type="wxSignal" default="wxSIGTERM"/> | |
20848 | </paramlist> | |
20849 | </staticmethod> | |
20850 | <staticmethod name="Exists" type="bool" overloaded="no"> | |
20851 | <autodoc>Exists(int pid) -> bool</autodoc> | |
20852 | <paramlist> | |
20853 | <param name="pid" type="int" default=""/> | |
20854 | </paramlist> | |
20855 | </staticmethod> | |
20856 | <staticmethod name="Open" type="Process" overloaded="no"> | |
20857 | <autodoc>Open(String cmd, int flags=EXEC_ASYNC) -> Process</autodoc> | |
20858 | <paramlist> | |
20859 | <param name="cmd" type="String" default=""/> | |
20860 | <param name="flags" type="int" default="wxEXEC_ASYNC"/> | |
20861 | </paramlist> | |
20862 | </staticmethod> | |
20863 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
20864 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
20865 | <paramlist> | |
20866 | <param name="self" type="PyObject" default=""/> | |
20867 | <param name="_class" type="PyObject" default=""/> | |
20868 | </paramlist> | |
20869 | </method> | |
20870 | <method name="base_OnTerminate" type="" overloaded="no"> | |
20871 | <autodoc>base_OnTerminate(int pid, int status)</autodoc> | |
20872 | <paramlist> | |
20873 | <param name="pid" type="int" default=""/> | |
20874 | <param name="status" type="int" default=""/> | |
20875 | </paramlist> | |
20876 | </method> | |
20877 | <method name="Redirect" type="" overloaded="no"> | |
20878 | <autodoc>Redirect()</autodoc> | |
20879 | </method> | |
20880 | <method name="IsRedirected" type="bool" overloaded="no"> | |
20881 | <autodoc>IsRedirected() -> bool</autodoc> | |
20882 | </method> | |
20883 | <method name="Detach" type="" overloaded="no"> | |
20884 | <autodoc>Detach()</autodoc> | |
20885 | </method> | |
20886 | <method name="GetInputStream" type="wxInputStream" overloaded="no"> | |
20887 | <autodoc>GetInputStream() -> InputStream</autodoc> | |
20888 | </method> | |
20889 | <method name="GetErrorStream" type="wxInputStream" overloaded="no"> | |
20890 | <autodoc>GetErrorStream() -> InputStream</autodoc> | |
20891 | </method> | |
20892 | <method name="GetOutputStream" type="OutputStream" overloaded="no"> | |
20893 | <autodoc>GetOutputStream() -> OutputStream</autodoc> | |
20894 | </method> | |
20895 | <method name="CloseOutput" type="" overloaded="no"> | |
20896 | <autodoc>CloseOutput()</autodoc> | |
20897 | </method> | |
20898 | <method name="IsInputOpened" type="bool" overloaded="no"> | |
20899 | <autodoc>IsInputOpened() -> bool</autodoc> | |
20900 | </method> | |
20901 | <method name="IsInputAvailable" type="bool" overloaded="no"> | |
20902 | <autodoc>IsInputAvailable() -> bool</autodoc> | |
20903 | </method> | |
20904 | <method name="IsErrorAvailable" type="bool" overloaded="no"> | |
20905 | <autodoc>IsErrorAvailable() -> bool</autodoc> | |
20906 | </method> | |
20907 | </class> | |
20908 | <class name="ProcessEvent" oldname="wxProcessEvent" module="misc"> | |
20909 | <baseclass name="Event"/> | |
20910 | <constructor name="ProcessEvent" overloaded="no"> | |
20911 | <autodoc>__init__(int id=0, int pid=0, int exitcode=0) -> ProcessEvent</autodoc> | |
20912 | <paramlist> | |
20913 | <param name="id" type="int" default="0"/> | |
20914 | <param name="pid" type="int" default="0"/> | |
20915 | <param name="exitcode" type="int" default="0"/> | |
20916 | </paramlist> | |
20917 | </constructor> | |
20918 | <method name="GetPid" type="int" overloaded="no"> | |
20919 | <autodoc>GetPid() -> int</autodoc> | |
20920 | </method> | |
20921 | <method name="GetExitCode" type="int" overloaded="no"> | |
20922 | <autodoc>GetExitCode() -> int</autodoc> | |
20923 | </method> | |
20924 | <property name="m_pid" type="int" readonly="no"/> | |
20925 | <property name="m_exitcode" type="int" readonly="no"/> | |
20926 | </class> | |
20927 | <pythoncode> | |
20928 | EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS, 1 ) | |
20929 | </pythoncode> | |
20930 | <method name="Execute" oldname="wxExecute" type="long" overloaded="no"> | |
20931 | <autodoc>Execute(String command, int flags=EXEC_ASYNC, Process process=None) -> long</autodoc> | |
856bf319 | 20932 | <paramlist> |
f32fc4bc RD |
20933 | <param name="command" type="String" default=""/> |
20934 | <param name="flags" type="int" default="wxEXEC_ASYNC"/> | |
20935 | <param name="process" type="Process" default="NULL"/> | |
856bf319 RD |
20936 | </paramlist> |
20937 | </method> | |
f32fc4bc RD |
20938 | <pythoncode> |
20939 | #--------------------------------------------------------------------------- | |
20940 | </pythoncode> | |
20941 | <class name="Joystick" oldname="wxJoystick" module="misc"> | |
20942 | <constructor name="Joystick" overloaded="no"> | |
20943 | <autodoc>__init__(int joystick=JOYSTICK1) -> Joystick</autodoc> | |
20944 | <paramlist> | |
20945 | <param name="joystick" type="int" default="wxJOYSTICK1"/> | |
20946 | </paramlist> | |
20947 | </constructor> | |
20948 | <destructor name="~wxJoystick" overloaded="no"> | |
20949 | <autodoc>__del__()</autodoc> | |
20950 | </destructor> | |
20951 | <method name="GetPosition" type="Point" overloaded="no"> | |
20952 | <autodoc>GetPosition() -> Point</autodoc> | |
20953 | </method> | |
20954 | <method name="GetZPosition" type="int" overloaded="no"> | |
20955 | <autodoc>GetZPosition() -> int</autodoc> | |
20956 | </method> | |
20957 | <method name="GetButtonState" type="int" overloaded="no"> | |
20958 | <autodoc>GetButtonState() -> int</autodoc> | |
20959 | </method> | |
20960 | <method name="GetPOVPosition" type="int" overloaded="no"> | |
20961 | <autodoc>GetPOVPosition() -> int</autodoc> | |
20962 | </method> | |
20963 | <method name="GetPOVCTSPosition" type="int" overloaded="no"> | |
20964 | <autodoc>GetPOVCTSPosition() -> int</autodoc> | |
20965 | </method> | |
20966 | <method name="GetRudderPosition" type="int" overloaded="no"> | |
20967 | <autodoc>GetRudderPosition() -> int</autodoc> | |
20968 | </method> | |
20969 | <method name="GetUPosition" type="int" overloaded="no"> | |
20970 | <autodoc>GetUPosition() -> int</autodoc> | |
20971 | </method> | |
20972 | <method name="GetVPosition" type="int" overloaded="no"> | |
20973 | <autodoc>GetVPosition() -> int</autodoc> | |
20974 | </method> | |
20975 | <method name="GetMovementThreshold" type="int" overloaded="no"> | |
20976 | <autodoc>GetMovementThreshold() -> int</autodoc> | |
20977 | </method> | |
20978 | <method name="SetMovementThreshold" type="" overloaded="no"> | |
20979 | <autodoc>SetMovementThreshold(int threshold)</autodoc> | |
20980 | <paramlist> | |
20981 | <param name="threshold" type="int" default=""/> | |
20982 | </paramlist> | |
20983 | </method> | |
20984 | <method name="IsOk" type="bool" overloaded="no"> | |
20985 | <autodoc>IsOk() -> bool</autodoc> | |
20986 | </method> | |
20987 | <method name="GetNumberJoysticks" type="int" overloaded="no"> | |
20988 | <autodoc>GetNumberJoysticks() -> int</autodoc> | |
20989 | </method> | |
20990 | <method name="GetManufacturerId" type="int" overloaded="no"> | |
20991 | <autodoc>GetManufacturerId() -> int</autodoc> | |
20992 | </method> | |
20993 | <method name="GetProductId" type="int" overloaded="no"> | |
20994 | <autodoc>GetProductId() -> int</autodoc> | |
20995 | </method> | |
20996 | <method name="GetProductName" type="String" overloaded="no"> | |
20997 | <autodoc>GetProductName() -> String</autodoc> | |
20998 | </method> | |
20999 | <method name="GetXMin" type="int" overloaded="no"> | |
21000 | <autodoc>GetXMin() -> int</autodoc> | |
21001 | </method> | |
21002 | <method name="GetYMin" type="int" overloaded="no"> | |
21003 | <autodoc>GetYMin() -> int</autodoc> | |
21004 | </method> | |
21005 | <method name="GetZMin" type="int" overloaded="no"> | |
21006 | <autodoc>GetZMin() -> int</autodoc> | |
21007 | </method> | |
21008 | <method name="GetXMax" type="int" overloaded="no"> | |
21009 | <autodoc>GetXMax() -> int</autodoc> | |
21010 | </method> | |
21011 | <method name="GetYMax" type="int" overloaded="no"> | |
21012 | <autodoc>GetYMax() -> int</autodoc> | |
21013 | </method> | |
21014 | <method name="GetZMax" type="int" overloaded="no"> | |
21015 | <autodoc>GetZMax() -> int</autodoc> | |
21016 | </method> | |
21017 | <method name="GetNumberButtons" type="int" overloaded="no"> | |
21018 | <autodoc>GetNumberButtons() -> int</autodoc> | |
21019 | </method> | |
21020 | <method name="GetNumberAxes" type="int" overloaded="no"> | |
21021 | <autodoc>GetNumberAxes() -> int</autodoc> | |
21022 | </method> | |
21023 | <method name="GetMaxButtons" type="int" overloaded="no"> | |
21024 | <autodoc>GetMaxButtons() -> int</autodoc> | |
21025 | </method> | |
21026 | <method name="GetMaxAxes" type="int" overloaded="no"> | |
21027 | <autodoc>GetMaxAxes() -> int</autodoc> | |
21028 | </method> | |
21029 | <method name="GetPollingMin" type="int" overloaded="no"> | |
21030 | <autodoc>GetPollingMin() -> int</autodoc> | |
21031 | </method> | |
21032 | <method name="GetPollingMax" type="int" overloaded="no"> | |
21033 | <autodoc>GetPollingMax() -> int</autodoc> | |
21034 | </method> | |
21035 | <method name="GetRudderMin" type="int" overloaded="no"> | |
21036 | <autodoc>GetRudderMin() -> int</autodoc> | |
21037 | </method> | |
21038 | <method name="GetRudderMax" type="int" overloaded="no"> | |
21039 | <autodoc>GetRudderMax() -> int</autodoc> | |
21040 | </method> | |
21041 | <method name="GetUMin" type="int" overloaded="no"> | |
21042 | <autodoc>GetUMin() -> int</autodoc> | |
21043 | </method> | |
21044 | <method name="GetUMax" type="int" overloaded="no"> | |
21045 | <autodoc>GetUMax() -> int</autodoc> | |
21046 | </method> | |
21047 | <method name="GetVMin" type="int" overloaded="no"> | |
21048 | <autodoc>GetVMin() -> int</autodoc> | |
21049 | </method> | |
21050 | <method name="GetVMax" type="int" overloaded="no"> | |
21051 | <autodoc>GetVMax() -> int</autodoc> | |
21052 | </method> | |
21053 | <method name="HasRudder" type="bool" overloaded="no"> | |
21054 | <autodoc>HasRudder() -> bool</autodoc> | |
21055 | </method> | |
21056 | <method name="HasZ" type="bool" overloaded="no"> | |
21057 | <autodoc>HasZ() -> bool</autodoc> | |
21058 | </method> | |
21059 | <method name="HasU" type="bool" overloaded="no"> | |
21060 | <autodoc>HasU() -> bool</autodoc> | |
21061 | </method> | |
21062 | <method name="HasV" type="bool" overloaded="no"> | |
21063 | <autodoc>HasV() -> bool</autodoc> | |
21064 | </method> | |
21065 | <method name="HasPOV" type="bool" overloaded="no"> | |
21066 | <autodoc>HasPOV() -> bool</autodoc> | |
21067 | </method> | |
21068 | <method name="HasPOV4Dir" type="bool" overloaded="no"> | |
21069 | <autodoc>HasPOV4Dir() -> bool</autodoc> | |
21070 | </method> | |
21071 | <method name="HasPOVCTS" type="bool" overloaded="no"> | |
21072 | <autodoc>HasPOVCTS() -> bool</autodoc> | |
21073 | </method> | |
21074 | <method name="SetCapture" type="bool" overloaded="no"> | |
21075 | <autodoc>SetCapture(Window win, int pollingFreq=0) -> bool</autodoc> | |
21076 | <paramlist> | |
21077 | <param name="win" type="Window" default=""/> | |
21078 | <param name="pollingFreq" type="int" default="0"/> | |
21079 | </paramlist> | |
21080 | </method> | |
21081 | <method name="ReleaseCapture" type="bool" overloaded="no"> | |
21082 | <autodoc>ReleaseCapture() -> bool</autodoc> | |
21083 | </method> | |
21084 | </class> | |
21085 | <class name="JoystickEvent" oldname="wxJoystickEvent" module="misc"> | |
21086 | <baseclass name="Event"/> | |
21087 | <constructor name="JoystickEvent" overloaded="no"> | |
21088 | <autodoc>__init__(wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1, | |
21089 | int change=0) -> JoystickEvent</autodoc> | |
21090 | <paramlist> | |
21091 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
21092 | <param name="state" type="int" default="0"/> | |
21093 | <param name="joystick" type="int" default="wxJOYSTICK1"/> | |
21094 | <param name="change" type="int" default="0"/> | |
21095 | </paramlist> | |
21096 | </constructor> | |
21097 | <property name="m_pos" type="Point" readonly="no"/> | |
21098 | <property name="m_zPosition" type="int" readonly="no"/> | |
21099 | <property name="m_buttonChange" type="int" readonly="no"/> | |
21100 | <property name="m_buttonState" type="int" readonly="no"/> | |
21101 | <property name="m_joyStick" type="int" readonly="no"/> | |
21102 | <method name="GetPosition" type="Point" overloaded="no"> | |
21103 | <autodoc>GetPosition() -> Point</autodoc> | |
21104 | </method> | |
21105 | <method name="GetZPosition" type="int" overloaded="no"> | |
21106 | <autodoc>GetZPosition() -> int</autodoc> | |
21107 | </method> | |
21108 | <method name="GetButtonState" type="int" overloaded="no"> | |
21109 | <autodoc>GetButtonState() -> int</autodoc> | |
21110 | </method> | |
21111 | <method name="GetButtonChange" type="int" overloaded="no"> | |
21112 | <autodoc>GetButtonChange() -> int</autodoc> | |
21113 | </method> | |
21114 | <method name="GetJoystick" type="int" overloaded="no"> | |
21115 | <autodoc>GetJoystick() -> int</autodoc> | |
21116 | </method> | |
21117 | <method name="SetJoystick" type="" overloaded="no"> | |
21118 | <autodoc>SetJoystick(int stick)</autodoc> | |
21119 | <paramlist> | |
21120 | <param name="stick" type="int" default=""/> | |
21121 | </paramlist> | |
21122 | </method> | |
21123 | <method name="SetButtonState" type="" overloaded="no"> | |
21124 | <autodoc>SetButtonState(int state)</autodoc> | |
21125 | <paramlist> | |
21126 | <param name="state" type="int" default=""/> | |
21127 | </paramlist> | |
21128 | </method> | |
21129 | <method name="SetButtonChange" type="" overloaded="no"> | |
21130 | <autodoc>SetButtonChange(int change)</autodoc> | |
21131 | <paramlist> | |
21132 | <param name="change" type="int" default=""/> | |
21133 | </paramlist> | |
21134 | </method> | |
21135 | <method name="SetPosition" type="" overloaded="no"> | |
21136 | <autodoc>SetPosition(Point pos)</autodoc> | |
21137 | <paramlist> | |
21138 | <param name="pos" type="Point" default=""/> | |
21139 | </paramlist> | |
21140 | </method> | |
21141 | <method name="SetZPosition" type="" overloaded="no"> | |
21142 | <autodoc>SetZPosition(int zPos)</autodoc> | |
21143 | <paramlist> | |
21144 | <param name="zPos" type="int" default=""/> | |
21145 | </paramlist> | |
21146 | </method> | |
21147 | <method name="IsButton" type="bool" overloaded="no"> | |
21148 | <autodoc>IsButton() -> bool</autodoc> | |
21149 | </method> | |
21150 | <method name="IsMove" type="bool" overloaded="no"> | |
21151 | <autodoc>IsMove() -> bool</autodoc> | |
21152 | </method> | |
21153 | <method name="IsZMove" type="bool" overloaded="no"> | |
21154 | <autodoc>IsZMove() -> bool</autodoc> | |
21155 | </method> | |
21156 | <method name="ButtonDown" type="bool" overloaded="no"> | |
21157 | <autodoc>ButtonDown(int but=JOY_BUTTON_ANY) -> bool</autodoc> | |
21158 | <paramlist> | |
21159 | <param name="but" type="int" default="wxJOY_BUTTON_ANY"/> | |
21160 | </paramlist> | |
21161 | </method> | |
21162 | <method name="ButtonUp" type="bool" overloaded="no"> | |
21163 | <autodoc>ButtonUp(int but=JOY_BUTTON_ANY) -> bool</autodoc> | |
21164 | <paramlist> | |
21165 | <param name="but" type="int" default="wxJOY_BUTTON_ANY"/> | |
21166 | </paramlist> | |
21167 | </method> | |
21168 | <method name="ButtonIsDown" type="bool" overloaded="no"> | |
21169 | <autodoc>ButtonIsDown(int but=JOY_BUTTON_ANY) -> bool</autodoc> | |
21170 | <paramlist> | |
21171 | <param name="but" type="int" default="wxJOY_BUTTON_ANY"/> | |
21172 | </paramlist> | |
21173 | </method> | |
21174 | </class> | |
21175 | <pythoncode> | |
21176 | EVT_JOY_BUTTON_DOWN = wx.PyEventBinder( wxEVT_JOY_BUTTON_DOWN ) | |
21177 | EVT_JOY_BUTTON_UP = wx.PyEventBinder( wxEVT_JOY_BUTTON_UP ) | |
21178 | EVT_JOY_MOVE = wx.PyEventBinder( wxEVT_JOY_MOVE ) | |
21179 | EVT_JOY_ZMOVE = wx.PyEventBinder( wxEVT_JOY_ZMOVE ) | |
21180 | ||
21181 | EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN, | |
21182 | wxEVT_JOY_BUTTON_UP, | |
21183 | wxEVT_JOY_MOVE, | |
21184 | wxEVT_JOY_ZMOVE, | |
21185 | ]) | |
856bf319 | 21186 | |
0f43fbdf | 21187 | </pythoncode> |
f32fc4bc | 21188 | <pythoncode> |
0f43fbdf RD |
21189 | #--------------------------------------------------------------------------- |
21190 | </pythoncode> | |
f32fc4bc RD |
21191 | <class name="Sound" oldname="wxSound" module="misc"> |
21192 | <constructor name="Sound" overloaded="yes"/> | |
21193 | <constructor name="Sound" overloaded="yes"> | |
21194 | <paramlist> | |
21195 | <param name="fileName" type="String" default=""/> | |
21196 | <param name="isResource" type="bool" default="false"/> | |
21197 | </paramlist> | |
21198 | </constructor> | |
21199 | <constructor name="Sound" overloaded="yes"> | |
21200 | <autodoc>__init__() -> Sound | |
21201 | __init__(String fileName, bool isResource=false) -> Sound | |
21202 | __init__(int size, wxByte data) -> Sound</autodoc> | |
21203 | <paramlist> | |
21204 | <param name="size" type="int" default=""/> | |
21205 | <param name="data" type="wxByte" default=""/> | |
21206 | </paramlist> | |
21207 | </constructor> | |
21208 | <destructor name="~wxSound" overloaded="no"> | |
21209 | <autodoc>__del__()</autodoc> | |
21210 | </destructor> | |
21211 | <method name="Create" type="bool" overloaded="yes"> | |
21212 | <paramlist> | |
21213 | <param name="fileName" type="String" default=""/> | |
21214 | <param name="isResource" type="bool" default="false"/> | |
21215 | </paramlist> | |
21216 | </method> | |
21217 | <method name="Create" type="bool" overloaded="yes"> | |
21218 | <autodoc>Create(String fileName, bool isResource=false) -> bool | |
21219 | Create(int size, wxByte data) -> bool</autodoc> | |
21220 | <paramlist> | |
21221 | <param name="size" type="int" default=""/> | |
21222 | <param name="data" type="wxByte" default=""/> | |
21223 | </paramlist> | |
21224 | </method> | |
21225 | <method name="IsOk" type="bool" overloaded="no"> | |
21226 | <autodoc>IsOk() -> bool</autodoc> | |
21227 | </method> | |
21228 | <method name="Play" type="bool" overloaded="no"> | |
21229 | <autodoc>Play(unsigned int flags=SOUND_ASYNC) -> bool</autodoc> | |
21230 | <paramlist> | |
21231 | <param name="flags" type="unsigned int" default="wxSOUND_ASYNC"/> | |
21232 | </paramlist> | |
21233 | </method> | |
21234 | <staticmethod name="PlaySound" type="bool" overloaded="no"> | |
21235 | <autodoc>PlaySound(String filename, unsigned int flags=SOUND_ASYNC) -> bool</autodoc> | |
21236 | <paramlist> | |
21237 | <param name="filename" type="String" default=""/> | |
21238 | <param name="flags" type="unsigned int" default="wxSOUND_ASYNC"/> | |
21239 | </paramlist> | |
21240 | </staticmethod> | |
21241 | <staticmethod name="Stop" type="" overloaded="no"> | |
21242 | <autodoc>Stop()</autodoc> | |
21243 | </staticmethod> | |
21244 | </class> | |
21245 | <pythoncode> | |
21246 | #--------------------------------------------------------------------------- | |
21247 | </pythoncode> | |
21248 | <class name="FileTypeInfo" oldname="wxFileTypeInfo" module="misc"> | |
21249 | <constructor name="FileTypeInfo" overloaded="no"> | |
21250 | <autodoc>__init__(String mimeType, String openCmd, String printCmd, String desc) -> FileTypeInfo</autodoc> | |
21251 | <paramlist> | |
21252 | <param name="mimeType" type="String" default=""/> | |
21253 | <param name="openCmd" type="String" default=""/> | |
21254 | <param name="printCmd" type="String" default=""/> | |
21255 | <param name="desc" type="String" default=""/> | |
21256 | </paramlist> | |
21257 | </constructor> | |
21258 | <constructor name="FileTypeInfoSequence" overloaded="no"> | |
21259 | <autodoc>FileTypeInfoSequence(wxArrayString sArray) -> FileTypeInfo</autodoc> | |
21260 | <paramlist> | |
21261 | <param name="sArray" type="wxArrayString" default=""/> | |
21262 | </paramlist> | |
21263 | </constructor> | |
21264 | <constructor name="NullFileTypeInfo" overloaded="no"> | |
21265 | <autodoc>NullFileTypeInfo() -> FileTypeInfo</autodoc> | |
21266 | </constructor> | |
21267 | <method name="IsValid" type="bool" overloaded="no"> | |
21268 | <autodoc>IsValid() -> bool</autodoc> | |
21269 | </method> | |
21270 | <method name="SetIcon" type="" overloaded="no"> | |
21271 | <autodoc>SetIcon(String iconFile, int iconIndex=0)</autodoc> | |
21272 | <paramlist> | |
21273 | <param name="iconFile" type="String" default=""/> | |
21274 | <param name="iconIndex" type="int" default="0"/> | |
21275 | </paramlist> | |
21276 | </method> | |
21277 | <method name="SetShortDesc" type="" overloaded="no"> | |
21278 | <autodoc>SetShortDesc(String shortDesc)</autodoc> | |
21279 | <paramlist> | |
21280 | <param name="shortDesc" type="String" default=""/> | |
21281 | </paramlist> | |
21282 | </method> | |
21283 | <method name="GetMimeType" type="String" overloaded="no"> | |
21284 | <autodoc>GetMimeType() -> String</autodoc> | |
21285 | </method> | |
21286 | <method name="GetOpenCommand" type="String" overloaded="no"> | |
21287 | <autodoc>GetOpenCommand() -> String</autodoc> | |
21288 | </method> | |
21289 | <method name="GetPrintCommand" type="String" overloaded="no"> | |
21290 | <autodoc>GetPrintCommand() -> String</autodoc> | |
21291 | </method> | |
21292 | <method name="GetShortDesc" type="String" overloaded="no"> | |
21293 | <autodoc>GetShortDesc() -> String</autodoc> | |
21294 | </method> | |
21295 | <method name="GetDescription" type="String" overloaded="no"> | |
21296 | <autodoc>GetDescription() -> String</autodoc> | |
21297 | </method> | |
21298 | <method name="GetExtensions" type="wxArrayString" overloaded="no"> | |
21299 | <autodoc>GetExtensions() -> wxArrayString</autodoc> | |
21300 | </method> | |
21301 | <method name="GetExtensionsCount" type="int" overloaded="no"> | |
21302 | <autodoc>GetExtensionsCount() -> int</autodoc> | |
21303 | </method> | |
21304 | <method name="GetIconFile" type="String" overloaded="no"> | |
21305 | <autodoc>GetIconFile() -> String</autodoc> | |
21306 | </method> | |
21307 | <method name="GetIconIndex" type="int" overloaded="no"> | |
21308 | <autodoc>GetIconIndex() -> int</autodoc> | |
21309 | </method> | |
21310 | </class> | |
21311 | <class name="FileType" oldname="wxFileType" module="misc"> | |
21312 | <constructor name="FileType" overloaded="no"> | |
21313 | <autodoc>__init__(FileTypeInfo ftInfo) -> FileType</autodoc> | |
21314 | <paramlist> | |
21315 | <param name="ftInfo" type="FileTypeInfo" default=""/> | |
21316 | </paramlist> | |
21317 | </constructor> | |
21318 | <destructor name="~wxFileType" overloaded="no"> | |
21319 | <autodoc>__del__()</autodoc> | |
21320 | </destructor> | |
21321 | <method name="GetMimeType" type="PyObject" overloaded="no"> | |
21322 | <autodoc>GetMimeType() -> PyObject</autodoc> | |
21323 | </method> | |
21324 | <method name="GetMimeTypes" type="PyObject" overloaded="no"> | |
21325 | <autodoc>GetMimeTypes() -> PyObject</autodoc> | |
21326 | </method> | |
21327 | <method name="GetExtensions" type="PyObject" overloaded="no"> | |
21328 | <autodoc>GetExtensions() -> PyObject</autodoc> | |
21329 | </method> | |
21330 | <method name="GetIcon" type="Icon" overloaded="no"> | |
21331 | <autodoc>GetIcon() -> Icon</autodoc> | |
21332 | </method> | |
21333 | <method name="GetIconInfo" type="PyObject" overloaded="no"> | |
21334 | <autodoc>GetIconInfo() -> PyObject</autodoc> | |
21335 | </method> | |
21336 | <method name="GetDescription" type="PyObject" overloaded="no"> | |
21337 | <autodoc>GetDescription() -> PyObject</autodoc> | |
21338 | </method> | |
21339 | <method name="GetOpenCommand" type="PyObject" overloaded="no"> | |
21340 | <autodoc>GetOpenCommand(String filename, String mimetype=EmptyString) -> PyObject</autodoc> | |
21341 | <paramlist> | |
21342 | <param name="filename" type="String" default=""/> | |
21343 | <param name="mimetype" type="String" default="wxPyEmptyString"/> | |
21344 | </paramlist> | |
21345 | </method> | |
21346 | <method name="GetPrintCommand" type="PyObject" overloaded="no"> | |
21347 | <autodoc>GetPrintCommand(String filename, String mimetype=EmptyString) -> PyObject</autodoc> | |
21348 | <paramlist> | |
21349 | <param name="filename" type="String" default=""/> | |
21350 | <param name="mimetype" type="String" default="wxPyEmptyString"/> | |
21351 | </paramlist> | |
21352 | </method> | |
21353 | <method name="GetAllCommands" type="PyObject" overloaded="no"> | |
21354 | <autodoc>GetAllCommands(String filename, String mimetype=EmptyString) -> PyObject</autodoc> | |
21355 | <paramlist> | |
21356 | <param name="filename" type="String" default=""/> | |
21357 | <param name="mimetype" type="String" default="wxPyEmptyString"/> | |
21358 | </paramlist> | |
21359 | </method> | |
21360 | <method name="SetCommand" type="bool" overloaded="no"> | |
21361 | <autodoc>SetCommand(String cmd, String verb, bool overwriteprompt=True) -> bool</autodoc> | |
21362 | <paramlist> | |
21363 | <param name="cmd" type="String" default=""/> | |
21364 | <param name="verb" type="String" default=""/> | |
21365 | <param name="overwriteprompt" type="bool" default="True"/> | |
21366 | </paramlist> | |
21367 | </method> | |
21368 | <method name="SetDefaultIcon" type="bool" overloaded="no"> | |
21369 | <autodoc>SetDefaultIcon(String cmd=EmptyString, int index=0) -> bool</autodoc> | |
21370 | <paramlist> | |
21371 | <param name="cmd" type="String" default="wxPyEmptyString"/> | |
21372 | <param name="index" type="int" default="0"/> | |
21373 | </paramlist> | |
21374 | </method> | |
21375 | <method name="Unassociate" type="bool" overloaded="no"> | |
21376 | <autodoc>Unassociate() -> bool</autodoc> | |
21377 | </method> | |
21378 | <staticmethod name="ExpandCommand" type="String" overloaded="no"> | |
21379 | <autodoc>ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String</autodoc> | |
21380 | <paramlist> | |
21381 | <param name="command" type="String" default=""/> | |
21382 | <param name="filename" type="String" default=""/> | |
21383 | <param name="mimetype" type="String" default="wxPyEmptyString"/> | |
21384 | </paramlist> | |
21385 | </staticmethod> | |
21386 | </class> | |
21387 | <class name="MimeTypesManager" oldname="wxMimeTypesManager" module="misc"> | |
21388 | <constructor name="MimeTypesManager" overloaded="no"> | |
21389 | <autodoc>__init__() -> MimeTypesManager</autodoc> | |
21390 | </constructor> | |
21391 | <destructor name="~wxMimeTypesManager" overloaded="no"> | |
21392 | <autodoc>__del__()</autodoc> | |
21393 | </destructor> | |
21394 | <staticmethod name="IsOfType" type="bool" overloaded="no"> | |
21395 | <autodoc>IsOfType(String mimeType, String wildcard) -> bool</autodoc> | |
21396 | <paramlist> | |
21397 | <param name="mimeType" type="String" default=""/> | |
21398 | <param name="wildcard" type="String" default=""/> | |
21399 | </paramlist> | |
21400 | </staticmethod> | |
21401 | <method name="Initialize" type="" overloaded="no"> | |
21402 | <autodoc>Initialize(int mailcapStyle=MAILCAP_ALL, String extraDir=EmptyString)</autodoc> | |
21403 | <paramlist> | |
21404 | <param name="mailcapStyle" type="int" default="wxMAILCAP_ALL"/> | |
21405 | <param name="extraDir" type="String" default="wxPyEmptyString"/> | |
21406 | </paramlist> | |
21407 | </method> | |
21408 | <method name="ClearData" type="" overloaded="no"> | |
21409 | <autodoc>ClearData()</autodoc> | |
21410 | </method> | |
21411 | <method name="GetFileTypeFromExtension" type="FileType" overloaded="no"> | |
21412 | <autodoc>GetFileTypeFromExtension(String ext) -> FileType</autodoc> | |
21413 | <paramlist> | |
21414 | <param name="ext" type="String" default=""/> | |
21415 | </paramlist> | |
21416 | </method> | |
21417 | <method name="GetFileTypeFromMimeType" type="FileType" overloaded="no"> | |
21418 | <autodoc>GetFileTypeFromMimeType(String mimeType) -> FileType</autodoc> | |
21419 | <paramlist> | |
21420 | <param name="mimeType" type="String" default=""/> | |
21421 | </paramlist> | |
21422 | </method> | |
21423 | <method name="ReadMailcap" type="bool" overloaded="no"> | |
21424 | <autodoc>ReadMailcap(String filename, bool fallback=False) -> bool</autodoc> | |
21425 | <paramlist> | |
21426 | <param name="filename" type="String" default=""/> | |
21427 | <param name="fallback" type="bool" default="False"/> | |
21428 | </paramlist> | |
21429 | </method> | |
21430 | <method name="ReadMimeTypes" type="bool" overloaded="no"> | |
21431 | <autodoc>ReadMimeTypes(String filename) -> bool</autodoc> | |
21432 | <paramlist> | |
21433 | <param name="filename" type="String" default=""/> | |
21434 | </paramlist> | |
21435 | </method> | |
21436 | <method name="EnumAllFileTypes" type="PyObject" overloaded="no"> | |
21437 | <autodoc>EnumAllFileTypes() -> PyObject</autodoc> | |
21438 | </method> | |
21439 | <method name="AddFallback" type="" overloaded="no"> | |
21440 | <autodoc>AddFallback(FileTypeInfo ft)</autodoc> | |
21441 | <paramlist> | |
21442 | <param name="ft" type="FileTypeInfo" default=""/> | |
21443 | </paramlist> | |
21444 | </method> | |
21445 | <method name="Associate" type="FileType" overloaded="no"> | |
21446 | <autodoc>Associate(FileTypeInfo ftInfo) -> FileType</autodoc> | |
21447 | <paramlist> | |
21448 | <param name="ftInfo" type="FileTypeInfo" default=""/> | |
21449 | </paramlist> | |
21450 | </method> | |
21451 | <method name="Unassociate" type="bool" overloaded="no"> | |
21452 | <autodoc>Unassociate(FileType ft) -> bool</autodoc> | |
21453 | <paramlist> | |
21454 | <param name="ft" type="FileType" default=""/> | |
21455 | </paramlist> | |
21456 | </method> | |
21457 | </class> | |
21458 | <pythoncode> | |
21459 | #--------------------------------------------------------------------------- | |
21460 | </pythoncode> | |
21461 | <class name="ArtProvider" oldname="wxPyArtProvider" module="misc"> | |
21462 | <constructor name="wxPyArtProvider" overloaded="no"> | |
21463 | <autodoc>__init__() -> ArtProvider</autodoc> | |
21464 | </constructor> | |
21465 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
21466 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
21467 | <paramlist> | |
21468 | <param name="self" type="PyObject" default=""/> | |
21469 | <param name="_class" type="PyObject" default=""/> | |
21470 | </paramlist> | |
21471 | </method> | |
21472 | <staticmethod name="PushProvider" type="" overloaded="no"> | |
21473 | <autodoc>PushProvider(ArtProvider provider)</autodoc> | |
21474 | <docstring>Add new provider to the top of providers stack.</docstring> | |
21475 | <paramlist> | |
21476 | <param name="provider" type="ArtProvider" default=""/> | |
21477 | </paramlist> | |
21478 | </staticmethod> | |
21479 | <staticmethod name="PopProvider" type="bool" overloaded="no"> | |
21480 | <autodoc>PopProvider() -> bool</autodoc> | |
21481 | <docstring>Remove latest added provider and delete it.</docstring> | |
21482 | </staticmethod> | |
21483 | <staticmethod name="RemoveProvider" type="bool" overloaded="no"> | |
21484 | <autodoc>RemoveProvider(ArtProvider provider) -> bool</autodoc> | |
21485 | <docstring>Remove provider. The provider must have been added previously! | |
21486 | The provider is _not_ deleted.</docstring> | |
21487 | <paramlist> | |
21488 | <param name="provider" type="ArtProvider" default=""/> | |
21489 | </paramlist> | |
21490 | </staticmethod> | |
21491 | <staticmethod name="GetBitmap" type="Bitmap" overloaded="no"> | |
21492 | <autodoc>GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -> Bitmap</autodoc> | |
21493 | <docstring>Query the providers for bitmap with given ID and return it. Return | |
21494 | wx.NullBitmap if no provider provides it.</docstring> | |
21495 | <paramlist> | |
21496 | <param name="id" type="String" default=""/> | |
21497 | <param name="client" type="String" default="wxPyART_OTHER"/> | |
21498 | <param name="size" type="Size" default="wxDefaultSize"/> | |
21499 | </paramlist> | |
21500 | </staticmethod> | |
21501 | <staticmethod name="GetIcon" type="Icon" overloaded="no"> | |
21502 | <autodoc>GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -> Icon</autodoc> | |
21503 | <docstring>Query the providers for icon with given ID and return it. Return | |
21504 | wx.NullIcon if no provider provides it.</docstring> | |
21505 | <paramlist> | |
21506 | <param name="id" type="String" default=""/> | |
21507 | <param name="client" type="String" default="wxPyART_OTHER"/> | |
21508 | <param name="size" type="Size" default="wxDefaultSize"/> | |
21509 | </paramlist> | |
21510 | </staticmethod> | |
21511 | <method name="Destroy" type="" overloaded="no"> | |
21512 | <autodoc>Destroy()</autodoc> | |
21513 | </method> | |
21514 | </class> | |
21515 | <pythoncode> | |
21516 | #--------------------------------------------------------------------------- | |
21517 | </pythoncode> | |
21518 | <class name="ConfigBase" oldname="wxConfigBase" module="misc"> | |
c2dda882 RD |
21519 | <docstring>wx.ConfigBase class defines the basic interface of all config |
21520 | classes. It can not be used by itself (it is an abstract base | |
21521 | class) and you will always use one of its derivations: wx.Config | |
21522 | or wx.FileConfig. | |
21523 | ||
b39e211b RD |
21524 | wx.ConfigBase organizes the items in a tree-like structure, |
21525 | modeled after the Unix/Dos filesystem. There are groups that act | |
21526 | like directories and entries, key/value pairs that act like | |
21527 | files. There is always one current group given by the current | |
21528 | path. As in the file system case, to specify a key in the config | |
21529 | class you must use a path to it. Config classes also support the | |
21530 | notion of the current group, which makes it possible to use | |
21531 | relative paths. | |
21532 | ||
21533 | Keys are pairs "key_name = value" where value may be of string, | |
21534 | integer floating point or boolean, you can not store binary data | |
21535 | without first encoding it as a string. For performance reasons | |
21536 | items should be kept small, no more than a couple kilobytes. | |
c2dda882 | 21537 | </docstring> |
f32fc4bc RD |
21538 | <destructor name="~wxConfigBase" overloaded="no"> |
21539 | <autodoc>__del__()</autodoc> | |
21540 | </destructor> | |
21541 | <staticmethod name="Set" type="ConfigBase" overloaded="no"> | |
c2dda882 RD |
21542 | <autodoc>Set(ConfigBase config) -> ConfigBase</autodoc> |
21543 | <docstring>Sets the global config object (the one returned by Get) and | |
21544 | returns a reference to the previous global config object.</docstring> | |
f32fc4bc | 21545 | <paramlist> |
c2dda882 | 21546 | <param name="config" type="ConfigBase" default=""/> |
f32fc4bc RD |
21547 | </paramlist> |
21548 | </staticmethod> | |
21549 | <staticmethod name="Get" type="ConfigBase" overloaded="no"> | |
21550 | <autodoc>Get(bool createOnDemand=True) -> ConfigBase</autodoc> | |
c2dda882 | 21551 | <docstring>Returns the current global config object, creating one if neccessary.</docstring> |
f32fc4bc RD |
21552 | <paramlist> |
21553 | <param name="createOnDemand" type="bool" default="True"/> | |
21554 | </paramlist> | |
21555 | </staticmethod> | |
21556 | <staticmethod name="Create" type="ConfigBase" overloaded="no"> | |
21557 | <autodoc>Create() -> ConfigBase</autodoc> | |
c2dda882 RD |
21558 | <docstring>Create and return a new global config object. This function will |
21559 | create the "best" implementation of wx.Config available for the | |
21560 | current platform.</docstring> | |
f32fc4bc RD |
21561 | </staticmethod> |
21562 | <staticmethod name="DontCreateOnDemand" type="" overloaded="no"> | |
21563 | <autodoc>DontCreateOnDemand()</autodoc> | |
c2dda882 | 21564 | <docstring>Should Get() try to create a new log object if there isn't a current one?</docstring> |
f32fc4bc RD |
21565 | </staticmethod> |
21566 | <method name="SetPath" type="" overloaded="no"> | |
c2dda882 RD |
21567 | <autodoc>SetPath(String path)</autodoc> |
21568 | <docstring>Set current path: if the first character is '/', it's the absolute path, | |
21569 | otherwise it's a relative path. '..' is supported. If the strPath | |
21570 | doesn't exist it is created.</docstring> | |
f32fc4bc | 21571 | <paramlist> |
c2dda882 | 21572 | <param name="path" type="String" default=""/> |
f32fc4bc RD |
21573 | </paramlist> |
21574 | </method> | |
21575 | <method name="GetPath" type="String" overloaded="no"> | |
21576 | <autodoc>GetPath() -> String</autodoc> | |
c2dda882 | 21577 | <docstring>Retrieve the current path (always as absolute path)</docstring> |
f32fc4bc RD |
21578 | </method> |
21579 | <method name="GetFirstGroup" type="PyObject" overloaded="no"> | |
c2dda882 RD |
21580 | <autodoc>GetFirstGroup() -> (more, value, index)</autodoc> |
21581 | <docstring>Allows enumerating the subgroups in a config object. Returns | |
21582 | a tuple containing a flag indicating there are more items, the | |
21583 | name of the current item, and an index to pass to GetNextGroup to | |
21584 | fetch the next item.</docstring> | |
f32fc4bc RD |
21585 | </method> |
21586 | <method name="GetNextGroup" type="PyObject" overloaded="no"> | |
c2dda882 RD |
21587 | <autodoc>GetNextGroup(long index) -> (more, value, index)</autodoc> |
21588 | <docstring>Allows enumerating the subgroups in a config object. Returns | |
21589 | a tuple containing a flag indicating there are more items, the | |
21590 | name of the current item, and an index to pass to GetNextGroup to | |
21591 | fetch the next item.</docstring> | |
f32fc4bc RD |
21592 | <paramlist> |
21593 | <param name="index" type="long" default=""/> | |
21594 | </paramlist> | |
21595 | </method> | |
21596 | <method name="GetFirstEntry" type="PyObject" overloaded="no"> | |
c2dda882 RD |
21597 | <autodoc>GetFirstEntry() -> (more, value, index)</autodoc> |
21598 | <docstring>Allows enumerating the entries in the current group in a config | |
21599 | object. Returns a tuple containing a flag indicating there are | |
21600 | more items, the name of the current item, and an index to pass to | |
21601 | GetNextGroup to fetch the next item.</docstring> | |
f32fc4bc RD |
21602 | </method> |
21603 | <method name="GetNextEntry" type="PyObject" overloaded="no"> | |
c2dda882 RD |
21604 | <autodoc>GetNextEntry(long index) -> (more, value, index)</autodoc> |
21605 | <docstring>Allows enumerating the entries in the current group in a config | |
21606 | object. Returns a tuple containing a flag indicating there are | |
21607 | more items, the name of the current item, and an index to pass to | |
21608 | GetNextGroup to fetch the next item.</docstring> | |
f32fc4bc RD |
21609 | <paramlist> |
21610 | <param name="index" type="long" default=""/> | |
21611 | </paramlist> | |
21612 | </method> | |
21613 | <method name="GetNumberOfEntries" type="size_t" overloaded="no"> | |
c2dda882 RD |
21614 | <autodoc>GetNumberOfEntries(bool recursive=False) -> size_t</autodoc> |
21615 | <docstring>Get the number of entries in the current group, with or | |
21616 | without its subgroups.</docstring> | |
f32fc4bc | 21617 | <paramlist> |
c2dda882 | 21618 | <param name="recursive" type="bool" default="False"/> |
f32fc4bc RD |
21619 | </paramlist> |
21620 | </method> | |
21621 | <method name="GetNumberOfGroups" type="size_t" overloaded="no"> | |
c2dda882 RD |
21622 | <autodoc>GetNumberOfGroups(bool recursive=False) -> size_t</autodoc> |
21623 | <docstring>Get the number of subgroups in the current group, with or | |
21624 | without its subgroups.</docstring> | |
f32fc4bc | 21625 | <paramlist> |
c2dda882 | 21626 | <param name="recursive" type="bool" default="False"/> |
f32fc4bc RD |
21627 | </paramlist> |
21628 | </method> | |
21629 | <method name="HasGroup" type="bool" overloaded="no"> | |
c2dda882 RD |
21630 | <autodoc>HasGroup(String name) -> bool</autodoc> |
21631 | <docstring>Returns True if the group by this name exists</docstring> | |
f32fc4bc | 21632 | <paramlist> |
c2dda882 | 21633 | <param name="name" type="String" default=""/> |
f32fc4bc RD |
21634 | </paramlist> |
21635 | </method> | |
21636 | <method name="HasEntry" type="bool" overloaded="no"> | |
c2dda882 RD |
21637 | <autodoc>HasEntry(String name) -> bool</autodoc> |
21638 | <docstring>Returns True if the entry by this name exists</docstring> | |
f32fc4bc | 21639 | <paramlist> |
c2dda882 | 21640 | <param name="name" type="String" default=""/> |
f32fc4bc RD |
21641 | </paramlist> |
21642 | </method> | |
21643 | <method name="Exists" type="bool" overloaded="no"> | |
c2dda882 RD |
21644 | <autodoc>Exists(String name) -> bool</autodoc> |
21645 | <docstring>Returns True if either a group or an entry with a given name exists</docstring> | |
f32fc4bc | 21646 | <paramlist> |
c2dda882 | 21647 | <param name="name" type="String" default=""/> |
f32fc4bc RD |
21648 | </paramlist> |
21649 | </method> | |
21650 | <method name="GetEntryType" type="wxConfigBase::EntryType" overloaded="no"> | |
21651 | <autodoc>GetEntryType(String name) -> int</autodoc> | |
c2dda882 | 21652 | <docstring>Get the type of the entry. Returns one of the wx.Config.Type_XXX values.</docstring> |
f32fc4bc RD |
21653 | <paramlist> |
21654 | <param name="name" type="String" default=""/> | |
21655 | </paramlist> | |
21656 | </method> | |
21657 | <method name="Read" type="String" overloaded="no"> | |
21658 | <autodoc>Read(String key, String defaultVal=EmptyString) -> String</autodoc> | |
c2dda882 | 21659 | <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring> |
f32fc4bc RD |
21660 | <paramlist> |
21661 | <param name="key" type="String" default=""/> | |
21662 | <param name="defaultVal" type="String" default="wxPyEmptyString"/> | |
21663 | </paramlist> | |
21664 | </method> | |
21665 | <method name="ReadInt" type="long" overloaded="no"> | |
21666 | <autodoc>ReadInt(String key, long defaultVal=0) -> long</autodoc> | |
c2dda882 | 21667 | <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring> |
f32fc4bc RD |
21668 | <paramlist> |
21669 | <param name="key" type="String" default=""/> | |
21670 | <param name="defaultVal" type="long" default="0"/> | |
21671 | </paramlist> | |
21672 | </method> | |
21673 | <method name="ReadFloat" type="double" overloaded="no"> | |
21674 | <autodoc>ReadFloat(String key, double defaultVal=0.0) -> double</autodoc> | |
c2dda882 | 21675 | <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring> |
f32fc4bc RD |
21676 | <paramlist> |
21677 | <param name="key" type="String" default=""/> | |
21678 | <param name="defaultVal" type="double" default="0.0"/> | |
21679 | </paramlist> | |
21680 | </method> | |
21681 | <method name="ReadBool" type="bool" overloaded="no"> | |
21682 | <autodoc>ReadBool(String key, bool defaultVal=False) -> bool</autodoc> | |
c2dda882 | 21683 | <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring> |
f32fc4bc RD |
21684 | <paramlist> |
21685 | <param name="key" type="String" default=""/> | |
21686 | <param name="defaultVal" type="bool" default="False"/> | |
21687 | </paramlist> | |
21688 | </method> | |
21689 | <method name="Write" type="bool" overloaded="no"> | |
21690 | <autodoc>Write(String key, String value) -> bool</autodoc> | |
c2dda882 | 21691 | <docstring>write the value (return True on success)</docstring> |
f32fc4bc RD |
21692 | <paramlist> |
21693 | <param name="key" type="String" default=""/> | |
21694 | <param name="value" type="String" default=""/> | |
21695 | </paramlist> | |
21696 | </method> | |
21697 | <method name="WriteInt" type="bool" overloaded="no"> | |
21698 | <autodoc>WriteInt(String key, long value) -> bool</autodoc> | |
c2dda882 | 21699 | <docstring>write the value (return True on success)</docstring> |
f32fc4bc RD |
21700 | <paramlist> |
21701 | <param name="key" type="String" default=""/> | |
21702 | <param name="value" type="long" default=""/> | |
21703 | </paramlist> | |
21704 | </method> | |
21705 | <method name="WriteFloat" type="bool" overloaded="no"> | |
21706 | <autodoc>WriteFloat(String key, double value) -> bool</autodoc> | |
c2dda882 | 21707 | <docstring>write the value (return True on success)</docstring> |
f32fc4bc RD |
21708 | <paramlist> |
21709 | <param name="key" type="String" default=""/> | |
21710 | <param name="value" type="double" default=""/> | |
21711 | </paramlist> | |
21712 | </method> | |
21713 | <method name="WriteBool" type="bool" overloaded="no"> | |
21714 | <autodoc>WriteBool(String key, bool value) -> bool</autodoc> | |
c2dda882 | 21715 | <docstring>write the value (return True on success)</docstring> |
f32fc4bc RD |
21716 | <paramlist> |
21717 | <param name="key" type="String" default=""/> | |
21718 | <param name="value" type="bool" default=""/> | |
21719 | </paramlist> | |
21720 | </method> | |
21721 | <method name="Flush" type="bool" overloaded="no"> | |
c2dda882 RD |
21722 | <autodoc>Flush(bool currentOnly=False) -> bool</autodoc> |
21723 | <docstring>permanently writes all changes</docstring> | |
f32fc4bc | 21724 | <paramlist> |
c2dda882 | 21725 | <param name="currentOnly" type="bool" default="False"/> |
f32fc4bc RD |
21726 | </paramlist> |
21727 | </method> | |
21728 | <method name="RenameEntry" type="bool" overloaded="no"> | |
21729 | <autodoc>RenameEntry(String oldName, String newName) -> bool</autodoc> | |
c2dda882 RD |
21730 | <docstring>Rename an entry. Returns False on failure (probably because the new |
21731 | name is already taken by an existing entry)</docstring> | |
f32fc4bc RD |
21732 | <paramlist> |
21733 | <param name="oldName" type="String" default=""/> | |
21734 | <param name="newName" type="String" default=""/> | |
21735 | </paramlist> | |
21736 | </method> | |
21737 | <method name="RenameGroup" type="bool" overloaded="no"> | |
21738 | <autodoc>RenameGroup(String oldName, String newName) -> bool</autodoc> | |
c2dda882 RD |
21739 | <docstring>Rename aa group. Returns False on failure (probably because the new |
21740 | name is already taken by an existing entry)</docstring> | |
f32fc4bc RD |
21741 | <paramlist> |
21742 | <param name="oldName" type="String" default=""/> | |
21743 | <param name="newName" type="String" default=""/> | |
21744 | </paramlist> | |
21745 | </method> | |
21746 | <method name="DeleteEntry" type="bool" overloaded="no"> | |
c2dda882 RD |
21747 | <autodoc>DeleteEntry(String key, bool deleteGroupIfEmpty=True) -> bool</autodoc> |
21748 | <docstring>Deletes the specified entry and the group it belongs to if | |
21749 | it was the last key in it and the second parameter is True</docstring> | |
f32fc4bc RD |
21750 | <paramlist> |
21751 | <param name="key" type="String" default=""/> | |
c2dda882 | 21752 | <param name="deleteGroupIfEmpty" type="bool" default="True"/> |
f32fc4bc RD |
21753 | </paramlist> |
21754 | </method> | |
21755 | <method name="DeleteGroup" type="bool" overloaded="no"> | |
21756 | <autodoc>DeleteGroup(String key) -> bool</autodoc> | |
c2dda882 | 21757 | <docstring>Delete the group (with all subgroups)</docstring> |
f32fc4bc RD |
21758 | <paramlist> |
21759 | <param name="key" type="String" default=""/> | |
21760 | </paramlist> | |
21761 | </method> | |
21762 | <method name="DeleteAll" type="bool" overloaded="no"> | |
21763 | <autodoc>DeleteAll() -> bool</autodoc> | |
c2dda882 RD |
21764 | <docstring>Delete the whole underlying object (disk file, registry key, ...) |
21765 | primarly intended for use by desinstallation routine.</docstring> | |
f32fc4bc RD |
21766 | </method> |
21767 | <method name="SetExpandEnvVars" type="" overloaded="no"> | |
c2dda882 RD |
21768 | <autodoc>SetExpandEnvVars(bool doIt=True)</autodoc> |
21769 | <docstring>We can automatically expand environment variables in the config entries | |
21770 | (this option is on by default, you can turn it on/off at any time)</docstring> | |
f32fc4bc | 21771 | <paramlist> |
c2dda882 | 21772 | <param name="doIt" type="bool" default="True"/> |
f32fc4bc RD |
21773 | </paramlist> |
21774 | </method> | |
c2dda882 RD |
21775 | <method name="IsExpandingEnvVars" type="bool" overloaded="no"> |
21776 | <autodoc>IsExpandingEnvVars() -> bool</autodoc> | |
21777 | <docstring>Are we currently expanding environment variables?</docstring> | |
21778 | </method> | |
f32fc4bc | 21779 | <method name="SetRecordDefaults" type="" overloaded="no"> |
c2dda882 RD |
21780 | <autodoc>SetRecordDefaults(bool doIt=True)</autodoc> |
21781 | <docstring>Set whether the config objec should record default values.</docstring> | |
f32fc4bc | 21782 | <paramlist> |
c2dda882 | 21783 | <param name="doIt" type="bool" default="True"/> |
f32fc4bc RD |
21784 | </paramlist> |
21785 | </method> | |
21786 | <method name="IsRecordingDefaults" type="bool" overloaded="no"> | |
21787 | <autodoc>IsRecordingDefaults() -> bool</autodoc> | |
c2dda882 | 21788 | <docstring>Are we currently recording default values?</docstring> |
f32fc4bc RD |
21789 | </method> |
21790 | <method name="ExpandEnvVars" type="String" overloaded="no"> | |
21791 | <autodoc>ExpandEnvVars(String str) -> String</autodoc> | |
c2dda882 | 21792 | <docstring>Expand any environment variables in str and return the result</docstring> |
f32fc4bc RD |
21793 | <paramlist> |
21794 | <param name="str" type="String" default=""/> | |
21795 | </paramlist> | |
21796 | </method> | |
21797 | <method name="GetAppName" type="String" overloaded="no"> | |
21798 | <autodoc>GetAppName() -> String</autodoc> | |
21799 | </method> | |
21800 | <method name="GetVendorName" type="String" overloaded="no"> | |
21801 | <autodoc>GetVendorName() -> String</autodoc> | |
21802 | </method> | |
21803 | <method name="SetAppName" type="" overloaded="no"> | |
21804 | <autodoc>SetAppName(String appName)</autodoc> | |
21805 | <paramlist> | |
21806 | <param name="appName" type="String" default=""/> | |
21807 | </paramlist> | |
21808 | </method> | |
21809 | <method name="SetVendorName" type="" overloaded="no"> | |
21810 | <autodoc>SetVendorName(String vendorName)</autodoc> | |
21811 | <paramlist> | |
21812 | <param name="vendorName" type="String" default=""/> | |
21813 | </paramlist> | |
21814 | </method> | |
21815 | <method name="SetStyle" type="" overloaded="no"> | |
21816 | <autodoc>SetStyle(long style)</autodoc> | |
21817 | <paramlist> | |
21818 | <param name="style" type="long" default=""/> | |
21819 | </paramlist> | |
21820 | </method> | |
21821 | <method name="GetStyle" type="long" overloaded="no"> | |
21822 | <autodoc>GetStyle() -> long</autodoc> | |
21823 | </method> | |
21824 | </class> | |
f32fc4bc | 21825 | <class name="Config" oldname="wxConfig" module="misc"> |
c2dda882 RD |
21826 | <docstring>This ConfigBase-derived class will use the registry on Windows, |
21827 | and will be a wx.FileConfig on other platforms.</docstring> | |
f32fc4bc RD |
21828 | <baseclass name="ConfigBase"/> |
21829 | <constructor name="Config" overloaded="no"> | |
21830 | <autodoc>__init__(String appName=EmptyString, String vendorName=EmptyString, | |
21831 | String localFilename=EmptyString, String globalFilename=EmptyString, | |
368d20e8 | 21832 | long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -> Config</autodoc> |
f32fc4bc RD |
21833 | <paramlist> |
21834 | <param name="appName" type="String" default="wxPyEmptyString"/> | |
21835 | <param name="vendorName" type="String" default="wxPyEmptyString"/> | |
21836 | <param name="localFilename" type="String" default="wxPyEmptyString"/> | |
21837 | <param name="globalFilename" type="String" default="wxPyEmptyString"/> | |
368d20e8 | 21838 | <param name="style" type="long" default="wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE"/> |
f32fc4bc RD |
21839 | </paramlist> |
21840 | </constructor> | |
21841 | <destructor name="~wxConfig" overloaded="no"> | |
21842 | <autodoc>__del__()</autodoc> | |
21843 | </destructor> | |
21844 | </class> | |
21845 | <class name="FileConfig" oldname="wxFileConfig" module="misc"> | |
c2dda882 | 21846 | <docstring>This config class will use a file for storage on all platforms.</docstring> |
f32fc4bc RD |
21847 | <baseclass name="ConfigBase"/> |
21848 | <constructor name="FileConfig" overloaded="no"> | |
21849 | <autodoc>__init__(String appName=EmptyString, String vendorName=EmptyString, | |
21850 | String localFilename=EmptyString, String globalFilename=EmptyString, | |
b39e211b | 21851 | long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -> FileConfig</autodoc> |
f32fc4bc RD |
21852 | <paramlist> |
21853 | <param name="appName" type="String" default="wxPyEmptyString"/> | |
21854 | <param name="vendorName" type="String" default="wxPyEmptyString"/> | |
21855 | <param name="localFilename" type="String" default="wxPyEmptyString"/> | |
21856 | <param name="globalFilename" type="String" default="wxPyEmptyString"/> | |
b39e211b | 21857 | <param name="style" type="long" default="wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE"/> |
f32fc4bc RD |
21858 | </paramlist> |
21859 | </constructor> | |
21860 | <destructor name="~wxFileConfig" overloaded="no"> | |
21861 | <autodoc>__del__()</autodoc> | |
21862 | </destructor> | |
21863 | </class> | |
c2dda882 RD |
21864 | <class name="ConfigPathChanger" oldname="wxConfigPathChanger" module="misc"> |
21865 | <docstring>A handy little class which changes current path to the path of | |
21866 | given entry and restores it in the destructoir: so if you declare | |
21867 | a local variable of this type, you work in the entry directory | |
21868 | and the path is automatically restored when the function returns.</docstring> | |
21869 | <constructor name="ConfigPathChanger" overloaded="no"> | |
21870 | <autodoc>__init__(ConfigBase config, String entry) -> ConfigPathChanger</autodoc> | |
21871 | <paramlist> | |
21872 | <param name="config" type="ConfigBase" default=""/> | |
21873 | <param name="entry" type="String" default=""/> | |
21874 | </paramlist> | |
21875 | </constructor> | |
21876 | <destructor name="~wxConfigPathChanger" overloaded="no"> | |
21877 | <autodoc>__del__()</autodoc> | |
21878 | </destructor> | |
21879 | <method name="Name" type="String" overloaded="no"> | |
21880 | <autodoc>Name() -> String</autodoc> | |
21881 | <docstring>Get the key name</docstring> | |
21882 | </method> | |
21883 | </class> | |
f32fc4bc RD |
21884 | <method name="ExpandEnvVars" oldname="wxExpandEnvVars" type="String" overloaded="no"> |
21885 | <autodoc>ExpandEnvVars(String sz) -> String</autodoc> | |
c2dda882 RD |
21886 | <docstring>Replace environment variables ($SOMETHING) with their values. The |
21887 | format is $VARNAME or ${VARNAME} where VARNAME contains | |
21888 | alphanumeric characters and '_' only. '$' must be escaped ('\\$') | |
21889 | in order to be taken literally.</docstring> | |
f32fc4bc RD |
21890 | <paramlist> |
21891 | <param name="sz" type="String" default=""/> | |
856bf319 RD |
21892 | </paramlist> |
21893 | </method> | |
f32fc4bc RD |
21894 | <pythoncode> |
21895 | #--------------------------------------------------------------------------- | |
21896 | </pythoncode> | |
21897 | <class name="DateTime" oldname="wxDateTime" module="misc"> | |
21898 | <constructor name="DateTime" overloaded="no"> | |
21899 | <autodoc>__init__() -> DateTime</autodoc> | |
21900 | </constructor> | |
21901 | <constructor name="DateTimeFromTimeT" overloaded="no"> | |
21902 | <autodoc>DateTimeFromTimeT(time_t timet) -> DateTime</autodoc> | |
21903 | <paramlist> | |
21904 | <param name="timet" type="time_t" default=""/> | |
21905 | </paramlist> | |
21906 | </constructor> | |
21907 | <constructor name="DateTimeFromJDN" overloaded="no"> | |
21908 | <autodoc>DateTimeFromJDN(double jdn) -> DateTime</autodoc> | |
21909 | <paramlist> | |
21910 | <param name="jdn" type="double" default=""/> | |
21911 | </paramlist> | |
21912 | </constructor> | |
21913 | <constructor name="DateTimeFromHMS" overloaded="no"> | |
21914 | <autodoc>DateTimeFromHMS(int hour, int minute=0, int second=0, int millisec=0) -> DateTime</autodoc> | |
21915 | <paramlist> | |
21916 | <param name="hour" type="int" default=""/> | |
21917 | <param name="minute" type="int" default="0"/> | |
21918 | <param name="second" type="int" default="0"/> | |
21919 | <param name="millisec" type="int" default="0"/> | |
21920 | </paramlist> | |
21921 | </constructor> | |
21922 | <constructor name="DateTimeFromDMY" overloaded="no"> | |
21923 | <autodoc>DateTimeFromDMY(int day, int month=Inv_Month, int year=Inv_Year, int hour=0, | |
21924 | int minute=0, int second=0, int millisec=0) -> DateTime</autodoc> | |
21925 | <paramlist> | |
21926 | <param name="day" type="int" default=""/> | |
21927 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
21928 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
21929 | <param name="hour" type="int" default="0"/> | |
21930 | <param name="minute" type="int" default="0"/> | |
21931 | <param name="second" type="int" default="0"/> | |
21932 | <param name="millisec" type="int" default="0"/> | |
21933 | </paramlist> | |
21934 | </constructor> | |
21935 | <destructor name="~wxDateTime" overloaded="no"> | |
21936 | <autodoc>__del__()</autodoc> | |
21937 | </destructor> | |
21938 | <staticmethod name="SetCountry" type="" overloaded="no"> | |
21939 | <autodoc>SetCountry(int country)</autodoc> | |
21940 | <paramlist> | |
21941 | <param name="country" type="wxDateTime::Country" default=""/> | |
21942 | </paramlist> | |
21943 | </staticmethod> | |
21944 | <staticmethod name="GetCountry" type="wxDateTime::Country" overloaded="no"> | |
21945 | <autodoc>GetCountry() -> int</autodoc> | |
21946 | </staticmethod> | |
21947 | <staticmethod name="IsWestEuropeanCountry" type="bool" overloaded="no"> | |
21948 | <autodoc>IsWestEuropeanCountry(int country=Country_Default) -> bool</autodoc> | |
21949 | <paramlist> | |
21950 | <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/> | |
21951 | </paramlist> | |
21952 | </staticmethod> | |
21953 | <staticmethod name="GetCurrentYear" type="int" overloaded="no"> | |
21954 | <autodoc>GetCurrentYear(int cal=Gregorian) -> int</autodoc> | |
21955 | <paramlist> | |
21956 | <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/> | |
21957 | </paramlist> | |
21958 | </staticmethod> | |
21959 | <staticmethod name="ConvertYearToBC" type="int" overloaded="no"> | |
21960 | <autodoc>ConvertYearToBC(int year) -> int</autodoc> | |
21961 | <paramlist> | |
21962 | <param name="year" type="int" default=""/> | |
21963 | </paramlist> | |
21964 | </staticmethod> | |
21965 | <staticmethod name="GetCurrentMonth" type="wxDateTime::Month" overloaded="no"> | |
21966 | <autodoc>GetCurrentMonth(int cal=Gregorian) -> int</autodoc> | |
21967 | <paramlist> | |
21968 | <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/> | |
21969 | </paramlist> | |
21970 | </staticmethod> | |
21971 | <staticmethod name="IsLeapYear" type="bool" overloaded="no"> | |
21972 | <autodoc>IsLeapYear(int year=Inv_Year, int cal=Gregorian) -> bool</autodoc> | |
21973 | <paramlist> | |
21974 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
21975 | <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/> | |
21976 | </paramlist> | |
21977 | </staticmethod> | |
21978 | <staticmethod name="GetCentury" type="int" overloaded="no"> | |
21979 | <autodoc>GetCentury(int year=Inv_Year) -> int</autodoc> | |
21980 | <paramlist> | |
21981 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
21982 | </paramlist> | |
21983 | </staticmethod> | |
21984 | <staticmethod name="GetNumberOfDaysinYear" type="int" overloaded="no"> | |
21985 | <autodoc>GetNumberOfDaysinYear(int year, int cal=Gregorian) -> int</autodoc> | |
21986 | <paramlist> | |
21987 | <param name="year" type="int" default=""/> | |
21988 | <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/> | |
21989 | </paramlist> | |
21990 | </staticmethod> | |
21991 | <staticmethod name="GetNumberOfDaysInMonth" type="int" overloaded="no"> | |
21992 | <autodoc>GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -> int</autodoc> | |
21993 | <paramlist> | |
21994 | <param name="month" type="wxDateTime::Month" default=""/> | |
21995 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
21996 | <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/> | |
21997 | </paramlist> | |
21998 | </staticmethod> | |
21999 | <staticmethod name="GetMonthName" type="String" overloaded="no"> | |
22000 | <autodoc>GetMonthName(int month, int flags=Name_Full) -> String</autodoc> | |
22001 | <paramlist> | |
22002 | <param name="month" type="wxDateTime::Month" default=""/> | |
22003 | <param name="flags" type="wxDateTime::NameFlags" default="wxDateTime::Name_Full"/> | |
22004 | </paramlist> | |
22005 | </staticmethod> | |
22006 | <staticmethod name="GetWeekDayName" type="String" overloaded="no"> | |
22007 | <autodoc>GetWeekDayName(int weekday, int flags=Name_Full) -> String</autodoc> | |
22008 | <paramlist> | |
22009 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22010 | <param name="flags" type="wxDateTime::NameFlags" default="wxDateTime::Name_Full"/> | |
22011 | </paramlist> | |
22012 | </staticmethod> | |
22013 | <staticmethod name="GetAmPmStrings" type="" overloaded="no"> | |
22014 | <autodoc>GetAmPmStrings() -> (am, pm)</autodoc> | |
22015 | <docstring>Get the AM and PM strings in the current locale (may be empty)</docstring> | |
22016 | <paramlist> | |
22017 | <param name="OUTPUT" type="String" default=""/> | |
22018 | <param name="OUTPUT" type="String" default=""/> | |
22019 | </paramlist> | |
22020 | </staticmethod> | |
22021 | <staticmethod name="IsDSTApplicable" type="bool" overloaded="no"> | |
22022 | <autodoc>IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -> bool</autodoc> | |
22023 | <paramlist> | |
22024 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22025 | <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/> | |
22026 | </paramlist> | |
22027 | </staticmethod> | |
22028 | <staticmethod name="GetBeginDST" type="DateTime" overloaded="no"> | |
22029 | <autodoc>GetBeginDST(int year=Inv_Year, int country=Country_Default) -> DateTime</autodoc> | |
22030 | <paramlist> | |
22031 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22032 | <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/> | |
22033 | </paramlist> | |
22034 | </staticmethod> | |
22035 | <staticmethod name="GetEndDST" type="DateTime" overloaded="no"> | |
22036 | <autodoc>GetEndDST(int year=Inv_Year, int country=Country_Default) -> DateTime</autodoc> | |
22037 | <paramlist> | |
22038 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22039 | <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/> | |
22040 | </paramlist> | |
22041 | </staticmethod> | |
22042 | <staticmethod name="Now" type="DateTime" overloaded="no"> | |
22043 | <autodoc>Now() -> DateTime</autodoc> | |
22044 | </staticmethod> | |
22045 | <staticmethod name="UNow" type="DateTime" overloaded="no"> | |
22046 | <autodoc>UNow() -> DateTime</autodoc> | |
22047 | </staticmethod> | |
22048 | <staticmethod name="Today" type="DateTime" overloaded="no"> | |
22049 | <autodoc>Today() -> DateTime</autodoc> | |
22050 | </staticmethod> | |
22051 | <method name="SetToCurrent" type="DateTime" overloaded="no"> | |
22052 | <autodoc>SetToCurrent() -> DateTime</autodoc> | |
22053 | </method> | |
22054 | <method name="SetTimeT" type="DateTime" overloaded="no"> | |
22055 | <autodoc>SetTimeT(time_t timet) -> DateTime</autodoc> | |
22056 | <paramlist> | |
22057 | <param name="timet" type="time_t" default=""/> | |
22058 | </paramlist> | |
22059 | </method> | |
22060 | <method name="SetJDN" type="DateTime" overloaded="no"> | |
22061 | <autodoc>SetJDN(double jdn) -> DateTime</autodoc> | |
22062 | <paramlist> | |
22063 | <param name="jdn" type="double" default=""/> | |
22064 | </paramlist> | |
22065 | </method> | |
22066 | <method name="SetHMS" type="DateTime" overloaded="no"> | |
22067 | <autodoc>SetHMS(int hour, int minute=0, int second=0, int millisec=0) -> DateTime</autodoc> | |
22068 | <paramlist> | |
22069 | <param name="hour" type="int" default=""/> | |
22070 | <param name="minute" type="int" default="0"/> | |
22071 | <param name="second" type="int" default="0"/> | |
22072 | <param name="millisec" type="int" default="0"/> | |
22073 | </paramlist> | |
22074 | </method> | |
22075 | <method name="Set" type="DateTime" overloaded="no"> | |
22076 | <autodoc>Set(int day, int month=Inv_Month, int year=Inv_Year, int hour=0, | |
22077 | int minute=0, int second=0, int millisec=0) -> DateTime</autodoc> | |
22078 | <paramlist> | |
22079 | <param name="day" type="int" default=""/> | |
22080 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
22081 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22082 | <param name="hour" type="int" default="0"/> | |
22083 | <param name="minute" type="int" default="0"/> | |
22084 | <param name="second" type="int" default="0"/> | |
22085 | <param name="millisec" type="int" default="0"/> | |
22086 | </paramlist> | |
22087 | </method> | |
22088 | <method name="ResetTime" type="DateTime" overloaded="no"> | |
22089 | <autodoc>ResetTime() -> DateTime</autodoc> | |
22090 | </method> | |
22091 | <method name="SetYear" type="DateTime" overloaded="no"> | |
22092 | <autodoc>SetYear(int year) -> DateTime</autodoc> | |
22093 | <paramlist> | |
22094 | <param name="year" type="int" default=""/> | |
22095 | </paramlist> | |
22096 | </method> | |
22097 | <method name="SetMonth" type="DateTime" overloaded="no"> | |
22098 | <autodoc>SetMonth(int month) -> DateTime</autodoc> | |
22099 | <paramlist> | |
22100 | <param name="month" type="wxDateTime::Month" default=""/> | |
22101 | </paramlist> | |
22102 | </method> | |
22103 | <method name="SetDay" type="DateTime" overloaded="no"> | |
22104 | <autodoc>SetDay(int day) -> DateTime</autodoc> | |
22105 | <paramlist> | |
22106 | <param name="day" type="int" default=""/> | |
22107 | </paramlist> | |
22108 | </method> | |
22109 | <method name="SetHour" type="DateTime" overloaded="no"> | |
22110 | <autodoc>SetHour(int hour) -> DateTime</autodoc> | |
22111 | <paramlist> | |
22112 | <param name="hour" type="int" default=""/> | |
22113 | </paramlist> | |
22114 | </method> | |
22115 | <method name="SetMinute" type="DateTime" overloaded="no"> | |
22116 | <autodoc>SetMinute(int minute) -> DateTime</autodoc> | |
22117 | <paramlist> | |
22118 | <param name="minute" type="int" default=""/> | |
22119 | </paramlist> | |
22120 | </method> | |
22121 | <method name="SetSecond" type="DateTime" overloaded="no"> | |
22122 | <autodoc>SetSecond(int second) -> DateTime</autodoc> | |
22123 | <paramlist> | |
22124 | <param name="second" type="int" default=""/> | |
22125 | </paramlist> | |
22126 | </method> | |
22127 | <method name="SetMillisecond" type="DateTime" overloaded="no"> | |
22128 | <autodoc>SetMillisecond(int millisecond) -> DateTime</autodoc> | |
22129 | <paramlist> | |
22130 | <param name="millisecond" type="int" default=""/> | |
22131 | </paramlist> | |
22132 | </method> | |
22133 | <method name="SetToWeekDayInSameWeek" type="DateTime" overloaded="no"> | |
22134 | <autodoc>SetToWeekDayInSameWeek(int weekday, int flags=Monday_First) -> DateTime</autodoc> | |
22135 | <paramlist> | |
22136 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22137 | <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/> | |
22138 | </paramlist> | |
22139 | </method> | |
22140 | <method name="GetWeekDayInSameWeek" type="DateTime" overloaded="no"> | |
22141 | <autodoc>GetWeekDayInSameWeek(int weekday, int flags=Monday_First) -> DateTime</autodoc> | |
22142 | <paramlist> | |
22143 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22144 | <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/> | |
22145 | </paramlist> | |
22146 | </method> | |
22147 | <method name="SetToNextWeekDay" type="DateTime" overloaded="no"> | |
22148 | <autodoc>SetToNextWeekDay(int weekday) -> DateTime</autodoc> | |
22149 | <paramlist> | |
22150 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22151 | </paramlist> | |
22152 | </method> | |
22153 | <method name="GetNextWeekDay" type="DateTime" overloaded="no"> | |
22154 | <autodoc>GetNextWeekDay(int weekday) -> DateTime</autodoc> | |
22155 | <paramlist> | |
22156 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22157 | </paramlist> | |
22158 | </method> | |
22159 | <method name="SetToPrevWeekDay" type="DateTime" overloaded="no"> | |
22160 | <autodoc>SetToPrevWeekDay(int weekday) -> DateTime</autodoc> | |
22161 | <paramlist> | |
22162 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22163 | </paramlist> | |
22164 | </method> | |
22165 | <method name="GetPrevWeekDay" type="DateTime" overloaded="no"> | |
22166 | <autodoc>GetPrevWeekDay(int weekday) -> DateTime</autodoc> | |
22167 | <paramlist> | |
22168 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22169 | </paramlist> | |
22170 | </method> | |
22171 | <method name="SetToWeekDay" type="bool" overloaded="no"> | |
22172 | <autodoc>SetToWeekDay(int weekday, int n=1, int month=Inv_Month, int year=Inv_Year) -> bool</autodoc> | |
22173 | <paramlist> | |
22174 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22175 | <param name="n" type="int" default="1"/> | |
22176 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
22177 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22178 | </paramlist> | |
22179 | </method> | |
22180 | <method name="SetToLastWeekDay" type="bool" overloaded="no"> | |
22181 | <autodoc>SetToLastWeekDay(int weekday, int month=Inv_Month, int year=Inv_Year) -> bool</autodoc> | |
22182 | <paramlist> | |
22183 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22184 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
22185 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22186 | </paramlist> | |
22187 | </method> | |
22188 | <method name="GetLastWeekDay" type="DateTime" overloaded="no"> | |
22189 | <autodoc>GetLastWeekDay(int weekday, int month=Inv_Month, int year=Inv_Year) -> DateTime</autodoc> | |
22190 | <paramlist> | |
22191 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
22192 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
22193 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22194 | </paramlist> | |
22195 | </method> | |
22196 | <method name="SetToTheWeek" type="bool" overloaded="no"> | |
22197 | <autodoc>SetToTheWeek(int numWeek, int weekday=Mon, int flags=Monday_First) -> bool</autodoc> | |
22198 | <paramlist> | |
22199 | <param name="numWeek" type="int" default=""/> | |
22200 | <param name="weekday" type="wxDateTime::WeekDay" default="wxDateTime::Mon"/> | |
22201 | <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/> | |
22202 | </paramlist> | |
22203 | </method> | |
22204 | <method name="GetWeek" type="DateTime" overloaded="no"> | |
22205 | <autodoc>GetWeek(int numWeek, int weekday=Mon, int flags=Monday_First) -> DateTime</autodoc> | |
22206 | <paramlist> | |
22207 | <param name="numWeek" type="int" default=""/> | |
22208 | <param name="weekday" type="wxDateTime::WeekDay" default="wxDateTime::Mon"/> | |
22209 | <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/> | |
22210 | </paramlist> | |
22211 | </method> | |
22212 | <method name="SetToLastMonthDay" type="DateTime" overloaded="no"> | |
22213 | <autodoc>SetToLastMonthDay(int month=Inv_Month, int year=Inv_Year) -> DateTime</autodoc> | |
22214 | <paramlist> | |
22215 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
22216 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22217 | </paramlist> | |
22218 | </method> | |
22219 | <method name="GetLastMonthDay" type="DateTime" overloaded="no"> | |
22220 | <autodoc>GetLastMonthDay(int month=Inv_Month, int year=Inv_Year) -> DateTime</autodoc> | |
22221 | <paramlist> | |
22222 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
22223 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
22224 | </paramlist> | |
22225 | </method> | |
22226 | <method name="SetToYearDay" type="DateTime" overloaded="no"> | |
22227 | <autodoc>SetToYearDay(int yday) -> DateTime</autodoc> | |
22228 | <paramlist> | |
22229 | <param name="yday" type="int" default=""/> | |
22230 | </paramlist> | |
22231 | </method> | |
22232 | <method name="GetYearDay" type="DateTime" overloaded="no"> | |
22233 | <autodoc>GetYearDay(int yday) -> DateTime</autodoc> | |
22234 | <paramlist> | |
22235 | <param name="yday" type="int" default=""/> | |
22236 | </paramlist> | |
22237 | </method> | |
22238 | <method name="GetJulianDayNumber" type="double" overloaded="no"> | |
22239 | <autodoc>GetJulianDayNumber() -> double</autodoc> | |
22240 | </method> | |
22241 | <method name="GetJDN" type="double" overloaded="no"> | |
22242 | <autodoc>GetJDN() -> double</autodoc> | |
22243 | </method> | |
22244 | <method name="GetModifiedJulianDayNumber" type="double" overloaded="no"> | |
22245 | <autodoc>GetModifiedJulianDayNumber() -> double</autodoc> | |
22246 | </method> | |
22247 | <method name="GetMJD" type="double" overloaded="no"> | |
22248 | <autodoc>GetMJD() -> double</autodoc> | |
22249 | </method> | |
22250 | <method name="GetRataDie" type="double" overloaded="no"> | |
22251 | <autodoc>GetRataDie() -> double</autodoc> | |
22252 | </method> | |
22253 | <method name="ToTimezone" type="DateTime" overloaded="no"> | |
22254 | <autodoc>ToTimezone(wxDateTime::TimeZone tz, bool noDST=False) -> DateTime</autodoc> | |
22255 | <paramlist> | |
22256 | <param name="tz" type="wxDateTime::TimeZone" default=""/> | |
22257 | <param name="noDST" type="bool" default="False"/> | |
22258 | </paramlist> | |
22259 | </method> | |
22260 | <method name="MakeTimezone" type="DateTime" overloaded="no"> | |
22261 | <autodoc>MakeTimezone(wxDateTime::TimeZone tz, bool noDST=False) -> DateTime</autodoc> | |
22262 | <paramlist> | |
22263 | <param name="tz" type="wxDateTime::TimeZone" default=""/> | |
22264 | <param name="noDST" type="bool" default="False"/> | |
22265 | </paramlist> | |
22266 | </method> | |
22267 | <method name="ToGMT" type="DateTime" overloaded="no"> | |
22268 | <autodoc>ToGMT(bool noDST=False) -> DateTime</autodoc> | |
22269 | <paramlist> | |
22270 | <param name="noDST" type="bool" default="False"/> | |
22271 | </paramlist> | |
22272 | </method> | |
22273 | <method name="MakeGMT" type="DateTime" overloaded="no"> | |
22274 | <autodoc>MakeGMT(bool noDST=False) -> DateTime</autodoc> | |
22275 | <paramlist> | |
22276 | <param name="noDST" type="bool" default="False"/> | |
22277 | </paramlist> | |
22278 | </method> | |
22279 | <method name="IsDST" type="int" overloaded="no"> | |
22280 | <autodoc>IsDST(int country=Country_Default) -> int</autodoc> | |
22281 | <paramlist> | |
22282 | <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/> | |
22283 | </paramlist> | |
22284 | </method> | |
22285 | <method name="IsValid" type="bool" overloaded="no"> | |
22286 | <autodoc>IsValid() -> bool</autodoc> | |
22287 | </method> | |
22288 | <method name="GetTicks" type="time_t" overloaded="no"> | |
22289 | <autodoc>GetTicks() -> time_t</autodoc> | |
22290 | </method> | |
22291 | <method name="GetYear" type="int" overloaded="no"> | |
22292 | <autodoc>GetYear(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22293 | <paramlist> | |
22294 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22295 | </paramlist> | |
22296 | </method> | |
22297 | <method name="GetMonth" type="wxDateTime::Month" overloaded="no"> | |
22298 | <autodoc>GetMonth(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22299 | <paramlist> | |
22300 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22301 | </paramlist> | |
22302 | </method> | |
22303 | <method name="GetDay" type="int" overloaded="no"> | |
22304 | <autodoc>GetDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22305 | <paramlist> | |
22306 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22307 | </paramlist> | |
22308 | </method> | |
22309 | <method name="GetWeekDay" type="wxDateTime::WeekDay" overloaded="no"> | |
22310 | <autodoc>GetWeekDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22311 | <paramlist> | |
22312 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22313 | </paramlist> | |
22314 | </method> | |
22315 | <method name="GetHour" type="int" overloaded="no"> | |
22316 | <autodoc>GetHour(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22317 | <paramlist> | |
22318 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22319 | </paramlist> | |
22320 | </method> | |
22321 | <method name="GetMinute" type="int" overloaded="no"> | |
22322 | <autodoc>GetMinute(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22323 | <paramlist> | |
22324 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22325 | </paramlist> | |
22326 | </method> | |
22327 | <method name="GetSecond" type="int" overloaded="no"> | |
22328 | <autodoc>GetSecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22329 | <paramlist> | |
22330 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22331 | </paramlist> | |
22332 | </method> | |
22333 | <method name="GetMillisecond" type="int" overloaded="no"> | |
22334 | <autodoc>GetMillisecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22335 | <paramlist> | |
22336 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22337 | </paramlist> | |
22338 | </method> | |
22339 | <method name="GetDayOfYear" type="int" overloaded="no"> | |
22340 | <autodoc>GetDayOfYear(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22341 | <paramlist> | |
22342 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22343 | </paramlist> | |
22344 | </method> | |
22345 | <method name="GetWeekOfYear" type="int" overloaded="no"> | |
22346 | <autodoc>GetWeekOfYear(int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22347 | <paramlist> | |
22348 | <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/> | |
22349 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22350 | </paramlist> | |
22351 | </method> | |
22352 | <method name="GetWeekOfMonth" type="int" overloaded="no"> | |
22353 | <autodoc>GetWeekOfMonth(int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> | |
22354 | <paramlist> | |
22355 | <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/> | |
22356 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22357 | </paramlist> | |
22358 | </method> | |
22359 | <method name="IsWorkDay" type="bool" overloaded="no"> | |
22360 | <autodoc>IsWorkDay(int country=Country_Default) -> bool</autodoc> | |
22361 | <paramlist> | |
22362 | <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/> | |
22363 | </paramlist> | |
22364 | </method> | |
22365 | <method name="IsEqualTo" type="bool" overloaded="no"> | |
22366 | <autodoc>IsEqualTo(DateTime datetime) -> bool</autodoc> | |
22367 | <paramlist> | |
22368 | <param name="datetime" type="DateTime" default=""/> | |
22369 | </paramlist> | |
22370 | </method> | |
22371 | <method name="IsEarlierThan" type="bool" overloaded="no"> | |
22372 | <autodoc>IsEarlierThan(DateTime datetime) -> bool</autodoc> | |
22373 | <paramlist> | |
22374 | <param name="datetime" type="DateTime" default=""/> | |
22375 | </paramlist> | |
22376 | </method> | |
22377 | <method name="IsLaterThan" type="bool" overloaded="no"> | |
22378 | <autodoc>IsLaterThan(DateTime datetime) -> bool</autodoc> | |
22379 | <paramlist> | |
22380 | <param name="datetime" type="DateTime" default=""/> | |
22381 | </paramlist> | |
22382 | </method> | |
22383 | <method name="IsStrictlyBetween" type="bool" overloaded="no"> | |
22384 | <autodoc>IsStrictlyBetween(DateTime t1, DateTime t2) -> bool</autodoc> | |
22385 | <paramlist> | |
22386 | <param name="t1" type="DateTime" default=""/> | |
22387 | <param name="t2" type="DateTime" default=""/> | |
22388 | </paramlist> | |
22389 | </method> | |
22390 | <method name="IsBetween" type="bool" overloaded="no"> | |
22391 | <autodoc>IsBetween(DateTime t1, DateTime t2) -> bool</autodoc> | |
22392 | <paramlist> | |
22393 | <param name="t1" type="DateTime" default=""/> | |
22394 | <param name="t2" type="DateTime" default=""/> | |
22395 | </paramlist> | |
22396 | </method> | |
22397 | <method name="IsSameDate" type="bool" overloaded="no"> | |
22398 | <autodoc>IsSameDate(DateTime dt) -> bool</autodoc> | |
22399 | <paramlist> | |
22400 | <param name="dt" type="DateTime" default=""/> | |
22401 | </paramlist> | |
22402 | </method> | |
22403 | <method name="IsSameTime" type="bool" overloaded="no"> | |
22404 | <autodoc>IsSameTime(DateTime dt) -> bool</autodoc> | |
22405 | <paramlist> | |
22406 | <param name="dt" type="DateTime" default=""/> | |
22407 | </paramlist> | |
22408 | </method> | |
22409 | <method name="IsEqualUpTo" type="bool" overloaded="no"> | |
22410 | <autodoc>IsEqualUpTo(DateTime dt, TimeSpan ts) -> bool</autodoc> | |
22411 | <paramlist> | |
22412 | <param name="dt" type="DateTime" default=""/> | |
22413 | <param name="ts" type="wxTimeSpan" default=""/> | |
22414 | </paramlist> | |
22415 | </method> | |
22416 | <method name="AddTS" type="DateTime" overloaded="no"> | |
22417 | <autodoc>AddTS(TimeSpan diff) -> DateTime</autodoc> | |
22418 | <paramlist> | |
22419 | <param name="diff" type="wxTimeSpan" default=""/> | |
22420 | </paramlist> | |
22421 | </method> | |
22422 | <method name="AddDS" type="DateTime" overloaded="no"> | |
22423 | <autodoc>AddDS(DateSpan diff) -> DateTime</autodoc> | |
22424 | <paramlist> | |
22425 | <param name="diff" type="wxDateSpan" default=""/> | |
22426 | </paramlist> | |
22427 | </method> | |
22428 | <method name="SubtractTS" type="DateTime" overloaded="no"> | |
22429 | <autodoc>SubtractTS(TimeSpan diff) -> DateTime</autodoc> | |
22430 | <paramlist> | |
22431 | <param name="diff" type="wxTimeSpan" default=""/> | |
22432 | </paramlist> | |
22433 | </method> | |
22434 | <method name="SubtractDS" type="DateTime" overloaded="no"> | |
22435 | <autodoc>SubtractDS(DateSpan diff) -> DateTime</autodoc> | |
22436 | <paramlist> | |
22437 | <param name="diff" type="wxDateSpan" default=""/> | |
22438 | </paramlist> | |
22439 | </method> | |
22440 | <method name="Subtract" type="wxTimeSpan" overloaded="no"> | |
22441 | <autodoc>Subtract(DateTime dt) -> TimeSpan</autodoc> | |
22442 | <paramlist> | |
22443 | <param name="dt" type="DateTime" default=""/> | |
22444 | </paramlist> | |
22445 | </method> | |
22446 | <method name="__iadd__" type="DateTime" overloaded="yes"> | |
22447 | <paramlist> | |
22448 | <param name="diff" type="wxTimeSpan" default=""/> | |
22449 | </paramlist> | |
22450 | </method> | |
22451 | <method name="__iadd__" type="DateTime" overloaded="yes"> | |
22452 | <autodoc>__iadd__(TimeSpan diff) -> DateTime | |
22453 | __iadd__(DateSpan diff) -> DateTime</autodoc> | |
22454 | <paramlist> | |
22455 | <param name="diff" type="wxDateSpan" default=""/> | |
22456 | </paramlist> | |
22457 | </method> | |
22458 | <method name="__isub__" type="DateTime" overloaded="yes"> | |
22459 | <paramlist> | |
22460 | <param name="diff" type="wxTimeSpan" default=""/> | |
22461 | </paramlist> | |
22462 | </method> | |
22463 | <method name="__isub__" type="DateTime" overloaded="yes"> | |
22464 | <autodoc>__isub__(TimeSpan diff) -> DateTime | |
22465 | __isub__(DateSpan diff) -> DateTime</autodoc> | |
22466 | <paramlist> | |
22467 | <param name="diff" type="wxDateSpan" default=""/> | |
22468 | </paramlist> | |
22469 | </method> | |
22470 | <method name="__add__" type="DateTime" overloaded="yes"> | |
22471 | <paramlist> | |
22472 | <param name="other" type="wxTimeSpan" default=""/> | |
22473 | </paramlist> | |
22474 | </method> | |
22475 | <method name="__add__" type="DateTime" overloaded="yes"> | |
22476 | <autodoc>__add__(TimeSpan other) -> DateTime | |
22477 | __add__(DateSpan other) -> DateTime</autodoc> | |
22478 | <paramlist> | |
22479 | <param name="other" type="wxDateSpan" default=""/> | |
22480 | </paramlist> | |
22481 | </method> | |
22482 | <method name="__sub__" type="wxTimeSpan" overloaded="yes"> | |
22483 | <paramlist> | |
22484 | <param name="other" type="DateTime" default=""/> | |
22485 | </paramlist> | |
22486 | </method> | |
22487 | <method name="__sub__" type="DateTime" overloaded="yes"> | |
22488 | <paramlist> | |
22489 | <param name="other" type="wxTimeSpan" default=""/> | |
22490 | </paramlist> | |
22491 | </method> | |
22492 | <method name="__sub__" type="DateTime" overloaded="yes"> | |
22493 | <autodoc>__sub__(DateTime other) -> TimeSpan | |
22494 | __sub__(TimeSpan other) -> DateTime | |
22495 | __sub__(DateSpan other) -> DateTime</autodoc> | |
22496 | <paramlist> | |
22497 | <param name="other" type="wxDateSpan" default=""/> | |
22498 | </paramlist> | |
22499 | </method> | |
22500 | <method name="__lt__" type="bool" overloaded="no"> | |
22501 | <autodoc>__lt__(DateTime other) -> bool</autodoc> | |
22502 | <paramlist> | |
22503 | <param name="other" type="DateTime" default=""/> | |
22504 | </paramlist> | |
22505 | </method> | |
22506 | <method name="__le__" type="bool" overloaded="no"> | |
22507 | <autodoc>__le__(DateTime other) -> bool</autodoc> | |
22508 | <paramlist> | |
22509 | <param name="other" type="DateTime" default=""/> | |
22510 | </paramlist> | |
22511 | </method> | |
22512 | <method name="__gt__" type="bool" overloaded="no"> | |
22513 | <autodoc>__gt__(DateTime other) -> bool</autodoc> | |
22514 | <paramlist> | |
22515 | <param name="other" type="DateTime" default=""/> | |
22516 | </paramlist> | |
22517 | </method> | |
22518 | <method name="__ge__" type="bool" overloaded="no"> | |
22519 | <autodoc>__ge__(DateTime other) -> bool</autodoc> | |
22520 | <paramlist> | |
22521 | <param name="other" type="DateTime" default=""/> | |
22522 | </paramlist> | |
22523 | </method> | |
22524 | <method name="__eq__" type="bool" overloaded="no"> | |
22525 | <autodoc>__eq__(DateTime other) -> bool</autodoc> | |
22526 | <paramlist> | |
22527 | <param name="other" type="DateTime" default=""/> | |
22528 | </paramlist> | |
22529 | </method> | |
22530 | <method name="__ne__" type="bool" overloaded="no"> | |
22531 | <autodoc>__ne__(DateTime other) -> bool</autodoc> | |
22532 | <paramlist> | |
22533 | <param name="other" type="DateTime" default=""/> | |
22534 | </paramlist> | |
22535 | </method> | |
22536 | <method name="ParseRfc822Date" type="int" overloaded="no"> | |
22537 | <autodoc>ParseRfc822Date(String date) -> int</autodoc> | |
22538 | <paramlist> | |
22539 | <param name="date" type="String" default=""/> | |
22540 | </paramlist> | |
22541 | </method> | |
22542 | <method name="ParseFormat" type="int" overloaded="no"> | |
22543 | <autodoc>ParseFormat(String date, String format=DateFormatStr, DateTime dateDef=DefaultDateTime) -> int</autodoc> | |
22544 | <paramlist> | |
22545 | <param name="date" type="String" default=""/> | |
22546 | <param name="format" type="String" default="wxPyDateFormatStr"/> | |
22547 | <param name="dateDef" type="DateTime" default="wxDefaultDateTime"/> | |
22548 | </paramlist> | |
22549 | </method> | |
22550 | <method name="ParseDateTime" type="int" overloaded="no"> | |
22551 | <autodoc>ParseDateTime(String datetime) -> int</autodoc> | |
22552 | <paramlist> | |
22553 | <param name="datetime" type="String" default=""/> | |
22554 | </paramlist> | |
22555 | </method> | |
22556 | <method name="ParseDate" type="int" overloaded="no"> | |
22557 | <autodoc>ParseDate(String date) -> int</autodoc> | |
22558 | <paramlist> | |
22559 | <param name="date" type="String" default=""/> | |
22560 | </paramlist> | |
22561 | </method> | |
22562 | <method name="ParseTime" type="int" overloaded="no"> | |
22563 | <autodoc>ParseTime(String time) -> int</autodoc> | |
22564 | <paramlist> | |
22565 | <param name="time" type="String" default=""/> | |
22566 | </paramlist> | |
22567 | </method> | |
22568 | <method name="Format" type="String" overloaded="no"> | |
22569 | <autodoc>Format(String format=DateFormatStr, wxDateTime::TimeZone tz=LOCAL_TZ) -> String</autodoc> | |
22570 | <paramlist> | |
22571 | <param name="format" type="String" default="wxPyDateFormatStr"/> | |
22572 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
22573 | </paramlist> | |
22574 | </method> | |
22575 | <method name="FormatDate" type="String" overloaded="no"> | |
22576 | <autodoc>FormatDate() -> String</autodoc> | |
22577 | </method> | |
22578 | <method name="FormatTime" type="String" overloaded="no"> | |
22579 | <autodoc>FormatTime() -> String</autodoc> | |
22580 | </method> | |
22581 | <method name="FormatISODate" type="String" overloaded="no"> | |
22582 | <autodoc>FormatISODate() -> String</autodoc> | |
22583 | </method> | |
22584 | <method name="FormatISOTime" type="String" overloaded="no"> | |
22585 | <autodoc>FormatISOTime() -> String</autodoc> | |
22586 | </method> | |
22587 | </class> | |
22588 | <class name="TimeSpan" oldname="wxTimeSpan" module="misc"> | |
22589 | <constructor name="TimeSpan" overloaded="no"> | |
22590 | <autodoc>__init__(long hours=0, long minutes=0, long seconds=0, long milliseconds=0) -> TimeSpan</autodoc> | |
22591 | <paramlist> | |
22592 | <param name="hours" type="long" default="0"/> | |
22593 | <param name="minutes" type="long" default="0"/> | |
22594 | <param name="seconds" type="long" default="0"/> | |
22595 | <param name="milliseconds" type="long" default="0"/> | |
22596 | </paramlist> | |
22597 | </constructor> | |
22598 | <destructor name="~wxTimeSpan" overloaded="no"> | |
22599 | <autodoc>__del__()</autodoc> | |
22600 | </destructor> | |
22601 | <staticmethod name="Seconds" type="TimeSpan" overloaded="no"> | |
22602 | <autodoc>Seconds(long sec) -> TimeSpan</autodoc> | |
22603 | <paramlist> | |
22604 | <param name="sec" type="long" default=""/> | |
22605 | </paramlist> | |
22606 | </staticmethod> | |
22607 | <staticmethod name="Second" type="TimeSpan" overloaded="no"> | |
22608 | <autodoc>Second() -> TimeSpan</autodoc> | |
22609 | </staticmethod> | |
22610 | <staticmethod name="Minutes" type="TimeSpan" overloaded="no"> | |
22611 | <autodoc>Minutes(long min) -> TimeSpan</autodoc> | |
22612 | <paramlist> | |
22613 | <param name="min" type="long" default=""/> | |
22614 | </paramlist> | |
22615 | </staticmethod> | |
22616 | <staticmethod name="Minute" type="TimeSpan" overloaded="no"> | |
22617 | <autodoc>Minute() -> TimeSpan</autodoc> | |
22618 | </staticmethod> | |
22619 | <staticmethod name="Hours" type="TimeSpan" overloaded="no"> | |
22620 | <autodoc>Hours(long hours) -> TimeSpan</autodoc> | |
22621 | <paramlist> | |
22622 | <param name="hours" type="long" default=""/> | |
22623 | </paramlist> | |
22624 | </staticmethod> | |
22625 | <staticmethod name="Hour" type="TimeSpan" overloaded="no"> | |
22626 | <autodoc>Hour() -> TimeSpan</autodoc> | |
22627 | </staticmethod> | |
22628 | <staticmethod name="Days" type="TimeSpan" overloaded="no"> | |
22629 | <autodoc>Days(long days) -> TimeSpan</autodoc> | |
22630 | <paramlist> | |
22631 | <param name="days" type="long" default=""/> | |
22632 | </paramlist> | |
22633 | </staticmethod> | |
22634 | <staticmethod name="Day" type="TimeSpan" overloaded="no"> | |
22635 | <autodoc>Day() -> TimeSpan</autodoc> | |
22636 | </staticmethod> | |
22637 | <staticmethod name="Weeks" type="TimeSpan" overloaded="no"> | |
22638 | <autodoc>Weeks(long days) -> TimeSpan</autodoc> | |
22639 | <paramlist> | |
22640 | <param name="days" type="long" default=""/> | |
22641 | </paramlist> | |
22642 | </staticmethod> | |
22643 | <staticmethod name="Week" type="TimeSpan" overloaded="no"> | |
22644 | <autodoc>Week() -> TimeSpan</autodoc> | |
22645 | </staticmethod> | |
22646 | <method name="Add" type="TimeSpan" overloaded="no"> | |
22647 | <autodoc>Add(TimeSpan diff) -> TimeSpan</autodoc> | |
22648 | <paramlist> | |
22649 | <param name="diff" type="TimeSpan" default=""/> | |
22650 | </paramlist> | |
22651 | </method> | |
22652 | <method name="Subtract" type="TimeSpan" overloaded="no"> | |
22653 | <autodoc>Subtract(TimeSpan diff) -> TimeSpan</autodoc> | |
22654 | <paramlist> | |
22655 | <param name="diff" type="TimeSpan" default=""/> | |
22656 | </paramlist> | |
22657 | </method> | |
22658 | <method name="Multiply" type="TimeSpan" overloaded="no"> | |
22659 | <autodoc>Multiply(int n) -> TimeSpan</autodoc> | |
22660 | <paramlist> | |
22661 | <param name="n" type="int" default=""/> | |
22662 | </paramlist> | |
22663 | </method> | |
22664 | <method name="Neg" type="TimeSpan" overloaded="no"> | |
22665 | <autodoc>Neg() -> TimeSpan</autodoc> | |
22666 | </method> | |
22667 | <method name="Abs" type="TimeSpan" overloaded="no"> | |
22668 | <autodoc>Abs() -> TimeSpan</autodoc> | |
22669 | </method> | |
22670 | <method name="__iadd__" type="TimeSpan" overloaded="no"> | |
22671 | <autodoc>__iadd__(TimeSpan diff) -> TimeSpan</autodoc> | |
22672 | <paramlist> | |
22673 | <param name="diff" type="TimeSpan" default=""/> | |
22674 | </paramlist> | |
22675 | </method> | |
22676 | <method name="__isub__" type="TimeSpan" overloaded="no"> | |
22677 | <autodoc>__isub__(TimeSpan diff) -> TimeSpan</autodoc> | |
22678 | <paramlist> | |
22679 | <param name="diff" type="TimeSpan" default=""/> | |
22680 | </paramlist> | |
22681 | </method> | |
22682 | <method name="__imul__" type="TimeSpan" overloaded="no"> | |
22683 | <autodoc>__imul__(int n) -> TimeSpan</autodoc> | |
22684 | <paramlist> | |
22685 | <param name="n" type="int" default=""/> | |
22686 | </paramlist> | |
22687 | </method> | |
22688 | <method name="__neg__" type="TimeSpan" overloaded="no"> | |
22689 | <autodoc>__neg__() -> TimeSpan</autodoc> | |
22690 | </method> | |
22691 | <method name="__add__" type="TimeSpan" overloaded="no"> | |
22692 | <autodoc>__add__(TimeSpan other) -> TimeSpan</autodoc> | |
22693 | <paramlist> | |
22694 | <param name="other" type="TimeSpan" default=""/> | |
22695 | </paramlist> | |
22696 | </method> | |
22697 | <method name="__sub__" type="TimeSpan" overloaded="no"> | |
22698 | <autodoc>__sub__(TimeSpan other) -> TimeSpan</autodoc> | |
22699 | <paramlist> | |
22700 | <param name="other" type="TimeSpan" default=""/> | |
22701 | </paramlist> | |
22702 | </method> | |
22703 | <method name="__mul__" type="TimeSpan" overloaded="no"> | |
22704 | <autodoc>__mul__(int n) -> TimeSpan</autodoc> | |
22705 | <paramlist> | |
22706 | <param name="n" type="int" default=""/> | |
22707 | </paramlist> | |
22708 | </method> | |
22709 | <method name="__rmul__" type="TimeSpan" overloaded="no"> | |
22710 | <autodoc>__rmul__(int n) -> TimeSpan</autodoc> | |
22711 | <paramlist> | |
22712 | <param name="n" type="int" default=""/> | |
22713 | </paramlist> | |
22714 | </method> | |
22715 | <method name="__lt__" type="bool" overloaded="no"> | |
22716 | <autodoc>__lt__(TimeSpan other) -> bool</autodoc> | |
22717 | <paramlist> | |
22718 | <param name="other" type="TimeSpan" default=""/> | |
22719 | </paramlist> | |
22720 | </method> | |
22721 | <method name="__le__" type="bool" overloaded="no"> | |
22722 | <autodoc>__le__(TimeSpan other) -> bool</autodoc> | |
22723 | <paramlist> | |
22724 | <param name="other" type="TimeSpan" default=""/> | |
22725 | </paramlist> | |
22726 | </method> | |
22727 | <method name="__gt__" type="bool" overloaded="no"> | |
22728 | <autodoc>__gt__(TimeSpan other) -> bool</autodoc> | |
22729 | <paramlist> | |
22730 | <param name="other" type="TimeSpan" default=""/> | |
22731 | </paramlist> | |
22732 | </method> | |
22733 | <method name="__ge__" type="bool" overloaded="no"> | |
22734 | <autodoc>__ge__(TimeSpan other) -> bool</autodoc> | |
22735 | <paramlist> | |
22736 | <param name="other" type="TimeSpan" default=""/> | |
22737 | </paramlist> | |
22738 | </method> | |
22739 | <method name="__eq__" type="bool" overloaded="no"> | |
22740 | <autodoc>__eq__(TimeSpan other) -> bool</autodoc> | |
22741 | <paramlist> | |
22742 | <param name="other" type="TimeSpan" default=""/> | |
22743 | </paramlist> | |
22744 | </method> | |
22745 | <method name="__ne__" type="bool" overloaded="no"> | |
22746 | <autodoc>__ne__(TimeSpan other) -> bool</autodoc> | |
22747 | <paramlist> | |
22748 | <param name="other" type="TimeSpan" default=""/> | |
22749 | </paramlist> | |
22750 | </method> | |
22751 | <method name="IsNull" type="bool" overloaded="no"> | |
22752 | <autodoc>IsNull() -> bool</autodoc> | |
22753 | </method> | |
22754 | <method name="IsPositive" type="bool" overloaded="no"> | |
22755 | <autodoc>IsPositive() -> bool</autodoc> | |
22756 | </method> | |
22757 | <method name="IsNegative" type="bool" overloaded="no"> | |
22758 | <autodoc>IsNegative() -> bool</autodoc> | |
22759 | </method> | |
22760 | <method name="IsEqualTo" type="bool" overloaded="no"> | |
22761 | <autodoc>IsEqualTo(TimeSpan ts) -> bool</autodoc> | |
22762 | <paramlist> | |
22763 | <param name="ts" type="TimeSpan" default=""/> | |
22764 | </paramlist> | |
22765 | </method> | |
22766 | <method name="IsLongerThan" type="bool" overloaded="no"> | |
22767 | <autodoc>IsLongerThan(TimeSpan ts) -> bool</autodoc> | |
22768 | <paramlist> | |
22769 | <param name="ts" type="TimeSpan" default=""/> | |
22770 | </paramlist> | |
22771 | </method> | |
22772 | <method name="IsShorterThan" type="bool" overloaded="no"> | |
22773 | <autodoc>IsShorterThan(TimeSpan t) -> bool</autodoc> | |
22774 | <paramlist> | |
22775 | <param name="t" type="TimeSpan" default=""/> | |
22776 | </paramlist> | |
22777 | </method> | |
22778 | <method name="GetWeeks" type="int" overloaded="no"> | |
22779 | <autodoc>GetWeeks() -> int</autodoc> | |
22780 | </method> | |
22781 | <method name="GetDays" type="int" overloaded="no"> | |
22782 | <autodoc>GetDays() -> int</autodoc> | |
22783 | </method> | |
22784 | <method name="GetHours" type="int" overloaded="no"> | |
22785 | <autodoc>GetHours() -> int</autodoc> | |
22786 | </method> | |
22787 | <method name="GetMinutes" type="int" overloaded="no"> | |
22788 | <autodoc>GetMinutes() -> int</autodoc> | |
22789 | </method> | |
22790 | <method name="GetSeconds" type="wxLongLong" overloaded="no"> | |
22791 | <autodoc>GetSeconds() -> wxLongLong</autodoc> | |
22792 | </method> | |
22793 | <method name="GetMilliseconds" type="wxLongLong" overloaded="no"> | |
22794 | <autodoc>GetMilliseconds() -> wxLongLong</autodoc> | |
22795 | </method> | |
22796 | <method name="Format" type="String" overloaded="no"> | |
22797 | <autodoc>Format(String format=TimeSpanFormatStr) -> String</autodoc> | |
22798 | <paramlist> | |
22799 | <param name="format" type="String" default="wxPyTimeSpanFormatStr"/> | |
22800 | </paramlist> | |
22801 | </method> | |
22802 | </class> | |
22803 | <class name="DateSpan" oldname="wxDateSpan" module="misc"> | |
22804 | <constructor name="DateSpan" overloaded="no"> | |
22805 | <autodoc>__init__(int years=0, int months=0, int weeks=0, int days=0) -> DateSpan</autodoc> | |
22806 | <paramlist> | |
22807 | <param name="years" type="int" default="0"/> | |
22808 | <param name="months" type="int" default="0"/> | |
22809 | <param name="weeks" type="int" default="0"/> | |
22810 | <param name="days" type="int" default="0"/> | |
22811 | </paramlist> | |
22812 | </constructor> | |
22813 | <destructor name="~wxDateSpan" overloaded="no"> | |
22814 | <autodoc>__del__()</autodoc> | |
22815 | </destructor> | |
22816 | <staticmethod name="Days" type="DateSpan" overloaded="no"> | |
22817 | <autodoc>Days(int days) -> DateSpan</autodoc> | |
22818 | <paramlist> | |
22819 | <param name="days" type="int" default=""/> | |
22820 | </paramlist> | |
22821 | </staticmethod> | |
22822 | <staticmethod name="Day" type="DateSpan" overloaded="no"> | |
22823 | <autodoc>Day() -> DateSpan</autodoc> | |
22824 | </staticmethod> | |
22825 | <staticmethod name="Weeks" type="DateSpan" overloaded="no"> | |
22826 | <autodoc>Weeks(int weeks) -> DateSpan</autodoc> | |
22827 | <paramlist> | |
22828 | <param name="weeks" type="int" default=""/> | |
22829 | </paramlist> | |
22830 | </staticmethod> | |
22831 | <staticmethod name="Week" type="DateSpan" overloaded="no"> | |
22832 | <autodoc>Week() -> DateSpan</autodoc> | |
22833 | </staticmethod> | |
22834 | <staticmethod name="Months" type="DateSpan" overloaded="no"> | |
22835 | <autodoc>Months(int mon) -> DateSpan</autodoc> | |
22836 | <paramlist> | |
22837 | <param name="mon" type="int" default=""/> | |
22838 | </paramlist> | |
22839 | </staticmethod> | |
22840 | <staticmethod name="Month" type="DateSpan" overloaded="no"> | |
22841 | <autodoc>Month() -> DateSpan</autodoc> | |
22842 | </staticmethod> | |
22843 | <staticmethod name="Years" type="DateSpan" overloaded="no"> | |
22844 | <autodoc>Years(int years) -> DateSpan</autodoc> | |
22845 | <paramlist> | |
22846 | <param name="years" type="int" default=""/> | |
22847 | </paramlist> | |
22848 | </staticmethod> | |
22849 | <staticmethod name="Year" type="DateSpan" overloaded="no"> | |
22850 | <autodoc>Year() -> DateSpan</autodoc> | |
22851 | </staticmethod> | |
22852 | <method name="SetYears" type="DateSpan" overloaded="no"> | |
22853 | <autodoc>SetYears(int n) -> DateSpan</autodoc> | |
22854 | <paramlist> | |
22855 | <param name="n" type="int" default=""/> | |
22856 | </paramlist> | |
22857 | </method> | |
22858 | <method name="SetMonths" type="DateSpan" overloaded="no"> | |
22859 | <autodoc>SetMonths(int n) -> DateSpan</autodoc> | |
22860 | <paramlist> | |
22861 | <param name="n" type="int" default=""/> | |
22862 | </paramlist> | |
22863 | </method> | |
22864 | <method name="SetWeeks" type="DateSpan" overloaded="no"> | |
22865 | <autodoc>SetWeeks(int n) -> DateSpan</autodoc> | |
22866 | <paramlist> | |
22867 | <param name="n" type="int" default=""/> | |
22868 | </paramlist> | |
22869 | </method> | |
22870 | <method name="SetDays" type="DateSpan" overloaded="no"> | |
22871 | <autodoc>SetDays(int n) -> DateSpan</autodoc> | |
22872 | <paramlist> | |
22873 | <param name="n" type="int" default=""/> | |
22874 | </paramlist> | |
22875 | </method> | |
22876 | <method name="GetYears" type="int" overloaded="no"> | |
22877 | <autodoc>GetYears() -> int</autodoc> | |
22878 | </method> | |
22879 | <method name="GetMonths" type="int" overloaded="no"> | |
22880 | <autodoc>GetMonths() -> int</autodoc> | |
22881 | </method> | |
22882 | <method name="GetWeeks" type="int" overloaded="no"> | |
22883 | <autodoc>GetWeeks() -> int</autodoc> | |
22884 | </method> | |
22885 | <method name="GetDays" type="int" overloaded="no"> | |
22886 | <autodoc>GetDays() -> int</autodoc> | |
22887 | </method> | |
22888 | <method name="GetTotalDays" type="int" overloaded="no"> | |
22889 | <autodoc>GetTotalDays() -> int</autodoc> | |
22890 | </method> | |
22891 | <method name="Add" type="DateSpan" overloaded="no"> | |
22892 | <autodoc>Add(DateSpan other) -> DateSpan</autodoc> | |
22893 | <paramlist> | |
22894 | <param name="other" type="DateSpan" default=""/> | |
22895 | </paramlist> | |
22896 | </method> | |
22897 | <method name="Subtract" type="DateSpan" overloaded="no"> | |
22898 | <autodoc>Subtract(DateSpan other) -> DateSpan</autodoc> | |
22899 | <paramlist> | |
22900 | <param name="other" type="DateSpan" default=""/> | |
22901 | </paramlist> | |
22902 | </method> | |
22903 | <method name="Neg" type="DateSpan" overloaded="no"> | |
22904 | <autodoc>Neg() -> DateSpan</autodoc> | |
22905 | </method> | |
22906 | <method name="Multiply" type="DateSpan" overloaded="no"> | |
22907 | <autodoc>Multiply(int factor) -> DateSpan</autodoc> | |
22908 | <paramlist> | |
22909 | <param name="factor" type="int" default=""/> | |
22910 | </paramlist> | |
22911 | </method> | |
22912 | <method name="__iadd__" type="DateSpan" overloaded="no"> | |
22913 | <autodoc>__iadd__(DateSpan other) -> DateSpan</autodoc> | |
22914 | <paramlist> | |
22915 | <param name="other" type="DateSpan" default=""/> | |
22916 | </paramlist> | |
22917 | </method> | |
22918 | <method name="__isub__" type="DateSpan" overloaded="no"> | |
22919 | <autodoc>__isub__(DateSpan other) -> DateSpan</autodoc> | |
22920 | <paramlist> | |
22921 | <param name="other" type="DateSpan" default=""/> | |
22922 | </paramlist> | |
22923 | </method> | |
22924 | <method name="__neg__" type="DateSpan" overloaded="no"> | |
22925 | <autodoc>__neg__() -> DateSpan</autodoc> | |
22926 | </method> | |
22927 | <method name="__imul__" type="DateSpan" overloaded="no"> | |
22928 | <autodoc>__imul__(int factor) -> DateSpan</autodoc> | |
22929 | <paramlist> | |
22930 | <param name="factor" type="int" default=""/> | |
22931 | </paramlist> | |
22932 | </method> | |
22933 | <method name="__add__" type="DateSpan" overloaded="no"> | |
22934 | <autodoc>__add__(DateSpan other) -> DateSpan</autodoc> | |
22935 | <paramlist> | |
22936 | <param name="other" type="DateSpan" default=""/> | |
22937 | </paramlist> | |
22938 | </method> | |
22939 | <method name="__sub__" type="DateSpan" overloaded="no"> | |
22940 | <autodoc>__sub__(DateSpan other) -> DateSpan</autodoc> | |
22941 | <paramlist> | |
22942 | <param name="other" type="DateSpan" default=""/> | |
22943 | </paramlist> | |
22944 | </method> | |
22945 | <method name="__mul__" type="DateSpan" overloaded="no"> | |
22946 | <autodoc>__mul__(int n) -> DateSpan</autodoc> | |
22947 | <paramlist> | |
22948 | <param name="n" type="int" default=""/> | |
22949 | </paramlist> | |
22950 | </method> | |
22951 | <method name="__rmul__" type="DateSpan" overloaded="no"> | |
22952 | <autodoc>__rmul__(int n) -> DateSpan</autodoc> | |
22953 | <paramlist> | |
22954 | <param name="n" type="int" default=""/> | |
22955 | </paramlist> | |
22956 | </method> | |
22957 | <method name="__eq__" type="bool" overloaded="no"> | |
22958 | <autodoc>__eq__(DateSpan other) -> bool</autodoc> | |
22959 | <paramlist> | |
22960 | <param name="other" type="DateSpan" default=""/> | |
22961 | </paramlist> | |
22962 | </method> | |
22963 | <method name="__ne__" type="bool" overloaded="no"> | |
22964 | <autodoc>__ne__(DateSpan other) -> bool</autodoc> | |
22965 | <paramlist> | |
22966 | <param name="other" type="DateSpan" default=""/> | |
22967 | </paramlist> | |
22968 | </method> | |
22969 | </class> | |
22970 | <method name="GetLocalTime" oldname="wxGetLocalTime" type="long" overloaded="no"> | |
22971 | <autodoc>GetLocalTime() -> long</autodoc> | |
22972 | </method> | |
22973 | <method name="GetUTCTime" oldname="wxGetUTCTime" type="long" overloaded="no"> | |
22974 | <autodoc>GetUTCTime() -> long</autodoc> | |
22975 | </method> | |
22976 | <method name="GetCurrentTime" oldname="wxGetCurrentTime" type="long" overloaded="no"> | |
22977 | <autodoc>GetCurrentTime() -> long</autodoc> | |
22978 | </method> | |
22979 | <method name="GetLocalTimeMillis" oldname="wxGetLocalTimeMillis" type="wxLongLong" overloaded="no"> | |
22980 | <autodoc>GetLocalTimeMillis() -> wxLongLong</autodoc> | |
856bf319 | 22981 | </method> |
f32fc4bc RD |
22982 | <pythoncode> |
22983 | #--------------------------------------------------------------------------- | |
22984 | </pythoncode> | |
22985 | <class name="DataFormat" oldname="wxDataFormat" module="misc"> | |
c2dda882 RD |
22986 | <docstring>A wx.DataFormat is an encapsulation of a platform-specific format |
22987 | handle which is used by the system for the clipboard and drag and | |
22988 | drop operations. The applications are usually only interested in, | |
22989 | for example, pasting data from the clipboard only if the data is | |
22990 | in a format the program understands. A data format is is used to | |
22991 | uniquely identify this format. | |
22992 | ||
22993 | On the system level, a data format is usually just a number | |
22994 | (CLIPFORMAT under Windows or Atom under X11, for example).</docstring> | |
f32fc4bc RD |
22995 | <constructor name="DataFormat" overloaded="no"> |
22996 | <autodoc>__init__(int type) -> DataFormat</autodoc> | |
c2dda882 RD |
22997 | <docstring>Constructs a data format object for one of the standard data |
22998 | formats or an empty data object (use SetType or SetId later in | |
22999 | this case)</docstring> | |
f32fc4bc RD |
23000 | <paramlist> |
23001 | <param name="type" type="wxDataFormatId" default=""/> | |
23002 | </paramlist> | |
23003 | </constructor> | |
23004 | <constructor name="CustomDataFormat" overloaded="no"> | |
23005 | <autodoc>CustomDataFormat(String format) -> DataFormat</autodoc> | |
c2dda882 | 23006 | <docstring>Constructs a data format object for a custom format identified by its name.</docstring> |
f32fc4bc RD |
23007 | <paramlist> |
23008 | <param name="format" type="String" default=""/> | |
23009 | </paramlist> | |
23010 | </constructor> | |
23011 | <destructor name="~wxDataFormat" overloaded="no"> | |
23012 | <autodoc>__del__()</autodoc> | |
23013 | </destructor> | |
23014 | <method name="__eq__" type="bool" overloaded="yes"> | |
23015 | <paramlist> | |
23016 | <param name="format" type="wxDataFormatId" default=""/> | |
23017 | </paramlist> | |
23018 | </method> | |
23019 | <method name="__ne__" type="bool" overloaded="yes"> | |
23020 | <paramlist> | |
23021 | <param name="format" type="wxDataFormatId" default=""/> | |
23022 | </paramlist> | |
23023 | </method> | |
23024 | <method name="__eq__" type="bool" overloaded="yes"> | |
23025 | <autodoc>__eq__(int format) -> bool | |
23026 | __eq__(DataFormat format) -> bool</autodoc> | |
23027 | <paramlist> | |
23028 | <param name="format" type="DataFormat" default=""/> | |
23029 | </paramlist> | |
23030 | </method> | |
23031 | <method name="__ne__" type="bool" overloaded="yes"> | |
23032 | <autodoc>__ne__(int format) -> bool | |
23033 | __ne__(DataFormat format) -> bool</autodoc> | |
23034 | <paramlist> | |
23035 | <param name="format" type="DataFormat" default=""/> | |
23036 | </paramlist> | |
23037 | </method> | |
23038 | <method name="SetType" type="" overloaded="no"> | |
23039 | <autodoc>SetType(int format)</autodoc> | |
c2dda882 | 23040 | <docstring>Sets the format to the given value, which should be one of wx.DF_XXX constants.</docstring> |
f32fc4bc RD |
23041 | <paramlist> |
23042 | <param name="format" type="wxDataFormatId" default=""/> | |
23043 | </paramlist> | |
23044 | </method> | |
23045 | <method name="GetType" type="wxDataFormatId" overloaded="no"> | |
23046 | <autodoc>GetType() -> int</autodoc> | |
c2dda882 | 23047 | <docstring>Returns the platform-specific number identifying the format.</docstring> |
f32fc4bc RD |
23048 | </method> |
23049 | <method name="GetId" type="String" overloaded="no"> | |
23050 | <autodoc>GetId() -> String</autodoc> | |
c2dda882 | 23051 | <docstring>Returns the name of a custom format (this function will fail for a standard format).</docstring> |
f32fc4bc RD |
23052 | </method> |
23053 | <method name="SetId" type="" overloaded="no"> | |
23054 | <autodoc>SetId(String format)</autodoc> | |
c2dda882 | 23055 | <docstring>Sets the format to be the custom format identified by the given name.</docstring> |
f32fc4bc RD |
23056 | <paramlist> |
23057 | <param name="format" type="String" default=""/> | |
23058 | </paramlist> | |
23059 | </method> | |
23060 | </class> | |
23061 | <class name="DataObject" oldname="wxDataObject" module="misc"> | |
23062 | <destructor name="~wxDataObject" overloaded="no"> | |
23063 | <autodoc>__del__()</autodoc> | |
23064 | </destructor> | |
23065 | <method name="GetPreferredFormat" type="DataFormat" overloaded="no"> | |
23066 | <autodoc>GetPreferredFormat(int dir=Get) -> DataFormat</autodoc> | |
23067 | <paramlist> | |
23068 | <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/> | |
23069 | </paramlist> | |
23070 | </method> | |
23071 | <method name="GetFormatCount" type="size_t" overloaded="no"> | |
23072 | <autodoc>GetFormatCount(int dir=Get) -> size_t</autodoc> | |
23073 | <paramlist> | |
23074 | <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/> | |
23075 | </paramlist> | |
23076 | </method> | |
23077 | <method name="IsSupported" type="bool" overloaded="no"> | |
23078 | <autodoc>IsSupported(DataFormat format, int dir=Get) -> bool</autodoc> | |
23079 | <paramlist> | |
23080 | <param name="format" type="DataFormat" default=""/> | |
23081 | <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/> | |
23082 | </paramlist> | |
23083 | </method> | |
23084 | <method name="GetDataSize" type="size_t" overloaded="no"> | |
23085 | <autodoc>GetDataSize(DataFormat format) -> size_t</autodoc> | |
23086 | <paramlist> | |
23087 | <param name="format" type="DataFormat" default=""/> | |
23088 | </paramlist> | |
23089 | </method> | |
23090 | <method name="GetAllFormats" type="" overloaded="no"> | |
23091 | <autodoc>GetAllFormats(DataFormat formats, int dir=Get)</autodoc> | |
23092 | <paramlist> | |
23093 | <param name="formats" type="DataFormat" default=""/> | |
23094 | <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/> | |
23095 | </paramlist> | |
23096 | </method> | |
23097 | <method name="GetDataHere" type="bool" overloaded="no"> | |
23098 | <autodoc>GetDataHere(DataFormat format, void buf) -> bool</autodoc> | |
23099 | <paramlist> | |
23100 | <param name="format" type="DataFormat" default=""/> | |
23101 | <param name="buf" type="" default=""/> | |
23102 | </paramlist> | |
23103 | </method> | |
23104 | <method name="SetData" type="bool" overloaded="no"> | |
23105 | <autodoc>SetData(DataFormat format, size_t len, void buf) -> bool</autodoc> | |
23106 | <paramlist> | |
23107 | <param name="format" type="DataFormat" default=""/> | |
23108 | <param name="len" type="size_t" default=""/> | |
23109 | <param name="buf" type="" default=""/> | |
23110 | </paramlist> | |
23111 | </method> | |
23112 | </class> | |
23113 | <class name="DataObjectSimple" oldname="wxDataObjectSimple" module="misc"> | |
23114 | <baseclass name="DataObject"/> | |
23115 | <constructor name="DataObjectSimple" overloaded="no"> | |
23116 | <autodoc>__init__(DataFormat format=FormatInvalid) -> DataObjectSimple</autodoc> | |
23117 | <paramlist> | |
23118 | <param name="format" type="DataFormat" default="wxFormatInvalid"/> | |
23119 | </paramlist> | |
23120 | </constructor> | |
23121 | <method name="GetFormat" type="DataFormat" overloaded="no"> | |
23122 | <autodoc>GetFormat() -> DataFormat</autodoc> | |
23123 | </method> | |
23124 | <method name="SetFormat" type="" overloaded="no"> | |
23125 | <autodoc>SetFormat(DataFormat format)</autodoc> | |
23126 | <paramlist> | |
23127 | <param name="format" type="DataFormat" default=""/> | |
23128 | </paramlist> | |
23129 | </method> | |
23130 | </class> | |
23131 | <class name="PyDataObjectSimple" oldname="wxPyDataObjectSimple" module="misc"> | |
23132 | <baseclass name="DataObjectSimple"/> | |
23133 | <constructor name="PyDataObjectSimple" overloaded="no"> | |
23134 | <autodoc>__init__(DataFormat format=FormatInvalid) -> PyDataObjectSimple</autodoc> | |
23135 | <paramlist> | |
23136 | <param name="format" type="DataFormat" default="wxFormatInvalid"/> | |
23137 | </paramlist> | |
23138 | </constructor> | |
23139 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
23140 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
23141 | <paramlist> | |
23142 | <param name="self" type="PyObject" default=""/> | |
23143 | <param name="_class" type="PyObject" default=""/> | |
23144 | </paramlist> | |
23145 | </method> | |
23146 | </class> | |
23147 | <class name="DataObjectComposite" oldname="wxDataObjectComposite" module="misc"> | |
23148 | <baseclass name="DataObject"/> | |
23149 | <constructor name="DataObjectComposite" overloaded="no"> | |
23150 | <autodoc>__init__() -> DataObjectComposite</autodoc> | |
23151 | </constructor> | |
23152 | <method name="Add" type="" overloaded="no"> | |
23153 | <autodoc>Add(DataObjectSimple dataObject, int preferred=False)</autodoc> | |
23154 | <paramlist> | |
23155 | <param name="dataObject" type="DataObjectSimple" default=""/> | |
23156 | <param name="preferred" type="int" default="False"/> | |
23157 | </paramlist> | |
23158 | </method> | |
23159 | </class> | |
23160 | <class name="TextDataObject" oldname="wxTextDataObject" module="misc"> | |
23161 | <baseclass name="DataObjectSimple"/> | |
23162 | <constructor name="TextDataObject" overloaded="no"> | |
23163 | <autodoc>__init__(String text=EmptyString) -> TextDataObject</autodoc> | |
23164 | <paramlist> | |
23165 | <param name="text" type="String" default="wxPyEmptyString"/> | |
23166 | </paramlist> | |
23167 | </constructor> | |
23168 | <method name="GetTextLength" type="size_t" overloaded="no"> | |
23169 | <autodoc>GetTextLength() -> size_t</autodoc> | |
23170 | </method> | |
23171 | <method name="GetText" type="String" overloaded="no"> | |
23172 | <autodoc>GetText() -> String</autodoc> | |
23173 | </method> | |
23174 | <method name="SetText" type="" overloaded="no"> | |
23175 | <autodoc>SetText(String text)</autodoc> | |
23176 | <paramlist> | |
23177 | <param name="text" type="String" default=""/> | |
23178 | </paramlist> | |
23179 | </method> | |
23180 | </class> | |
23181 | <class name="PyTextDataObject" oldname="wxPyTextDataObject" module="misc"> | |
23182 | <baseclass name="TextDataObject"/> | |
23183 | <constructor name="PyTextDataObject" overloaded="no"> | |
23184 | <autodoc>__init__(String text=EmptyString) -> PyTextDataObject</autodoc> | |
23185 | <paramlist> | |
23186 | <param name="text" type="String" default="wxPyEmptyString"/> | |
23187 | </paramlist> | |
23188 | </constructor> | |
23189 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
23190 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
23191 | <paramlist> | |
23192 | <param name="self" type="PyObject" default=""/> | |
23193 | <param name="_class" type="PyObject" default=""/> | |
23194 | </paramlist> | |
23195 | </method> | |
23196 | </class> | |
23197 | <class name="BitmapDataObject" oldname="wxBitmapDataObject" module="misc"> | |
23198 | <baseclass name="DataObjectSimple"/> | |
23199 | <constructor name="BitmapDataObject" overloaded="no"> | |
23200 | <autodoc>__init__(Bitmap bitmap=wxNullBitmap) -> BitmapDataObject</autodoc> | |
23201 | <paramlist> | |
23202 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
23203 | </paramlist> | |
23204 | </constructor> | |
23205 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
23206 | <autodoc>GetBitmap() -> Bitmap</autodoc> | |
23207 | </method> | |
23208 | <method name="SetBitmap" type="" overloaded="no"> | |
23209 | <autodoc>SetBitmap(Bitmap bitmap)</autodoc> | |
23210 | <paramlist> | |
23211 | <param name="bitmap" type="Bitmap" default=""/> | |
23212 | </paramlist> | |
23213 | </method> | |
23214 | </class> | |
23215 | <class name="PyBitmapDataObject" oldname="wxPyBitmapDataObject" module="misc"> | |
23216 | <baseclass name="BitmapDataObject"/> | |
23217 | <constructor name="PyBitmapDataObject" overloaded="no"> | |
23218 | <autodoc>__init__(Bitmap bitmap=wxNullBitmap) -> PyBitmapDataObject</autodoc> | |
23219 | <paramlist> | |
23220 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
23221 | </paramlist> | |
23222 | </constructor> | |
23223 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
23224 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
23225 | <paramlist> | |
23226 | <param name="self" type="PyObject" default=""/> | |
23227 | <param name="_class" type="PyObject" default=""/> | |
23228 | </paramlist> | |
23229 | </method> | |
23230 | </class> | |
23231 | <class name="FileDataObject" oldname="wxFileDataObject" module="misc"> | |
23232 | <baseclass name="DataObjectSimple"/> | |
23233 | <constructor name="FileDataObject" overloaded="no"> | |
23234 | <autodoc>__init__() -> FileDataObject</autodoc> | |
23235 | </constructor> | |
23236 | <method name="GetFilenames" type="wxArrayString" overloaded="no"> | |
23237 | <autodoc>GetFilenames() -> wxArrayString</autodoc> | |
23238 | </method> | |
c2dda882 RD |
23239 | <method name="AddFile" type="" overloaded="no"> |
23240 | <autodoc>AddFile(String filename)</autodoc> | |
23241 | <paramlist> | |
23242 | <param name="filename" type="String" default=""/> | |
23243 | </paramlist> | |
23244 | </method> | |
f32fc4bc RD |
23245 | </class> |
23246 | <class name="CustomDataObject" oldname="wxCustomDataObject" module="misc"> | |
23247 | <baseclass name="DataObjectSimple"/> | |
23248 | <constructor name="CustomDataObject" overloaded="no"> | |
23249 | <autodoc>__init__(DataFormat format=FormatInvalid) -> CustomDataObject</autodoc> | |
23250 | <paramlist> | |
23251 | <param name="format" type="DataFormat" default="wxFormatInvalid"/> | |
23252 | </paramlist> | |
23253 | </constructor> | |
23254 | <method name="TakeData" type="" overloaded="no"> | |
23255 | <autodoc>TakeData(PyObject data)</autodoc> | |
23256 | <paramlist> | |
23257 | <param name="data" type="PyObject" default=""/> | |
23258 | </paramlist> | |
23259 | </method> | |
23260 | <method name="SetData" type="bool" overloaded="no"> | |
23261 | <autodoc>SetData(PyObject data) -> bool</autodoc> | |
23262 | <paramlist> | |
23263 | <param name="data" type="PyObject" default=""/> | |
23264 | </paramlist> | |
23265 | </method> | |
23266 | <method name="GetSize" type="size_t" overloaded="no"> | |
23267 | <autodoc>GetSize() -> size_t</autodoc> | |
23268 | </method> | |
23269 | <method name="GetData" type="PyObject" overloaded="no"> | |
23270 | <autodoc>GetData() -> PyObject</autodoc> | |
23271 | </method> | |
23272 | </class> | |
23273 | <class name="URLDataObject" oldname="wxURLDataObject" module="misc"> | |
23274 | <baseclass name="DataObjectComposite"/> | |
23275 | <constructor name="URLDataObject" overloaded="no"> | |
23276 | <autodoc>__init__() -> URLDataObject</autodoc> | |
23277 | </constructor> | |
23278 | <method name="GetURL" type="String" overloaded="no"> | |
23279 | <autodoc>GetURL() -> String</autodoc> | |
23280 | </method> | |
23281 | <method name="SetURL" type="" overloaded="no"> | |
23282 | <autodoc>SetURL(String url)</autodoc> | |
23283 | <paramlist> | |
23284 | <param name="url" type="String" default=""/> | |
23285 | </paramlist> | |
23286 | </method> | |
23287 | </class> | |
23288 | <class name="MetafileDataObject" oldname="wxMetafileDataObject" module="misc"> | |
23289 | <baseclass name="DataObjectSimple"/> | |
23290 | <constructor name="MetafileDataObject" overloaded="no"> | |
23291 | <autodoc>__init__() -> MetafileDataObject</autodoc> | |
23292 | </constructor> | |
23293 | </class> | |
23294 | <pythoncode> | |
23295 | #--------------------------------------------------------------------------- | |
23296 | </pythoncode> | |
23297 | <method name="IsDragResultOk" oldname="wxIsDragResultOk" type="bool" overloaded="no"> | |
23298 | <autodoc>IsDragResultOk(int res) -> bool</autodoc> | |
856bf319 | 23299 | <paramlist> |
f32fc4bc | 23300 | <param name="res" type="wxDragResult" default=""/> |
856bf319 RD |
23301 | </paramlist> |
23302 | </method> | |
f32fc4bc RD |
23303 | <class name="DropSource" oldname="wxPyDropSource" module="misc"> |
23304 | <constructor name="wxPyDropSource" overloaded="no"> | |
23305 | <autodoc>__init__(Window win, Icon copy=wxNullIcon, Icon move=wxNullIcon, | |
23306 | Icon none=wxNullIcon) -> DropSource</autodoc> | |
23307 | <paramlist> | |
23308 | <param name="win" type="Window" default=""/> | |
23309 | <param name="copy" type="Icon" default="wxNullIcon"/> | |
23310 | <param name="move" type="Icon" default="wxNullIcon"/> | |
23311 | <param name="none" type="Icon" default="wxNullIcon"/> | |
23312 | </paramlist> | |
23313 | </constructor> | |
23314 | <destructor name="~wxPyDropSource" overloaded="no"> | |
23315 | <autodoc>__del__()</autodoc> | |
23316 | </destructor> | |
23317 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
23318 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class, int incref)</autodoc> | |
23319 | <paramlist> | |
23320 | <param name="self" type="PyObject" default=""/> | |
23321 | <param name="_class" type="PyObject" default=""/> | |
23322 | <param name="incref" type="int" default=""/> | |
23323 | </paramlist> | |
23324 | </method> | |
23325 | <method name="SetData" type="" overloaded="no"> | |
23326 | <autodoc>SetData(DataObject data)</autodoc> | |
23327 | <paramlist> | |
23328 | <param name="data" type="DataObject" default=""/> | |
23329 | </paramlist> | |
23330 | </method> | |
23331 | <method name="GetDataObject" type="DataObject" overloaded="no"> | |
23332 | <autodoc>GetDataObject() -> DataObject</autodoc> | |
23333 | </method> | |
23334 | <method name="SetCursor" type="" overloaded="no"> | |
23335 | <autodoc>SetCursor(int res, Cursor cursor)</autodoc> | |
23336 | <paramlist> | |
23337 | <param name="res" type="wxDragResult" default=""/> | |
23338 | <param name="cursor" type="Cursor" default=""/> | |
23339 | </paramlist> | |
23340 | </method> | |
23341 | <method name="DoDragDrop" type="wxDragResult" overloaded="no"> | |
23342 | <autodoc>DoDragDrop(int flags=Drag_CopyOnly) -> int</autodoc> | |
23343 | <paramlist> | |
23344 | <param name="flags" type="int" default="wxDrag_CopyOnly"/> | |
23345 | </paramlist> | |
23346 | </method> | |
23347 | <method name="base_GiveFeedback" type="bool" overloaded="no"> | |
23348 | <autodoc>base_GiveFeedback(int effect) -> bool</autodoc> | |
23349 | <paramlist> | |
23350 | <param name="effect" type="wxDragResult" default=""/> | |
23351 | </paramlist> | |
23352 | </method> | |
23353 | </class> | |
23354 | <class name="DropTarget" oldname="wxPyDropTarget" module="misc"> | |
c2dda882 RD |
23355 | <constructor name="DropTarget" overloaded="no"> |
23356 | <autodoc>__init__(DataObject dataObject=None) -> DropTarget</autodoc> | |
f32fc4bc RD |
23357 | <paramlist> |
23358 | <param name="dataObject" type="DataObject" default="NULL"/> | |
23359 | </paramlist> | |
23360 | </constructor> | |
23361 | <destructor name="~wxPyDropTarget" overloaded="no"> | |
23362 | <autodoc>__del__()</autodoc> | |
23363 | </destructor> | |
23364 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
23365 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
23366 | <paramlist> | |
23367 | <param name="self" type="PyObject" default=""/> | |
23368 | <param name="_class" type="PyObject" default=""/> | |
23369 | </paramlist> | |
23370 | </method> | |
23371 | <method name="GetDataObject" type="DataObject" overloaded="no"> | |
23372 | <autodoc>GetDataObject() -> DataObject</autodoc> | |
23373 | </method> | |
23374 | <method name="SetDataObject" type="" overloaded="no"> | |
23375 | <autodoc>SetDataObject(DataObject dataObject)</autodoc> | |
23376 | <paramlist> | |
23377 | <param name="dataObject" type="DataObject" default=""/> | |
23378 | </paramlist> | |
23379 | </method> | |
23380 | <method name="base_OnEnter" type="wxDragResult" overloaded="no"> | |
23381 | <autodoc>base_OnEnter(int x, int y, int def) -> int</autodoc> | |
23382 | <paramlist> | |
23383 | <param name="x" type="int" default=""/> | |
23384 | <param name="y" type="int" default=""/> | |
23385 | <param name="def" type="wxDragResult" default=""/> | |
23386 | </paramlist> | |
23387 | </method> | |
23388 | <method name="base_OnDragOver" type="wxDragResult" overloaded="no"> | |
23389 | <autodoc>base_OnDragOver(int x, int y, int def) -> int</autodoc> | |
23390 | <paramlist> | |
23391 | <param name="x" type="int" default=""/> | |
23392 | <param name="y" type="int" default=""/> | |
23393 | <param name="def" type="wxDragResult" default=""/> | |
23394 | </paramlist> | |
23395 | </method> | |
23396 | <method name="base_OnLeave" type="" overloaded="no"> | |
23397 | <autodoc>base_OnLeave()</autodoc> | |
23398 | </method> | |
23399 | <method name="base_OnDrop" type="bool" overloaded="no"> | |
23400 | <autodoc>base_OnDrop(int x, int y) -> bool</autodoc> | |
23401 | <paramlist> | |
23402 | <param name="x" type="int" default=""/> | |
23403 | <param name="y" type="int" default=""/> | |
23404 | </paramlist> | |
23405 | </method> | |
23406 | <method name="GetData" type="bool" overloaded="no"> | |
23407 | <autodoc>GetData() -> bool</autodoc> | |
23408 | </method> | |
23409 | </class> | |
23410 | <pythoncode> PyDropTarget = DropTarget </pythoncode> | |
23411 | <class name="TextDropTarget" oldname="wxPyTextDropTarget" module="misc"> | |
23412 | <baseclass name="DropTarget"/> | |
23413 | <constructor name="wxPyTextDropTarget" overloaded="no"> | |
23414 | <autodoc>__init__() -> TextDropTarget</autodoc> | |
23415 | </constructor> | |
23416 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
23417 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
23418 | <paramlist> | |
23419 | <param name="self" type="PyObject" default=""/> | |
23420 | <param name="_class" type="PyObject" default=""/> | |
23421 | </paramlist> | |
23422 | </method> | |
23423 | <method name="base_OnEnter" type="wxDragResult" overloaded="no"> | |
23424 | <autodoc>base_OnEnter(int x, int y, int def) -> int</autodoc> | |
23425 | <paramlist> | |
23426 | <param name="x" type="int" default=""/> | |
23427 | <param name="y" type="int" default=""/> | |
23428 | <param name="def" type="wxDragResult" default=""/> | |
23429 | </paramlist> | |
23430 | </method> | |
23431 | <method name="base_OnDragOver" type="wxDragResult" overloaded="no"> | |
23432 | <autodoc>base_OnDragOver(int x, int y, int def) -> int</autodoc> | |
23433 | <paramlist> | |
23434 | <param name="x" type="int" default=""/> | |
23435 | <param name="y" type="int" default=""/> | |
23436 | <param name="def" type="wxDragResult" default=""/> | |
23437 | </paramlist> | |
23438 | </method> | |
23439 | <method name="base_OnLeave" type="" overloaded="no"> | |
23440 | <autodoc>base_OnLeave()</autodoc> | |
23441 | </method> | |
23442 | <method name="base_OnDrop" type="bool" overloaded="no"> | |
23443 | <autodoc>base_OnDrop(int x, int y) -> bool</autodoc> | |
23444 | <paramlist> | |
23445 | <param name="x" type="int" default=""/> | |
23446 | <param name="y" type="int" default=""/> | |
23447 | </paramlist> | |
23448 | </method> | |
23449 | <method name="base_OnData" type="wxDragResult" overloaded="no"> | |
23450 | <autodoc>base_OnData(int x, int y, int def) -> int</autodoc> | |
23451 | <paramlist> | |
23452 | <param name="x" type="int" default=""/> | |
23453 | <param name="y" type="int" default=""/> | |
23454 | <param name="def" type="wxDragResult" default=""/> | |
23455 | </paramlist> | |
23456 | </method> | |
23457 | </class> | |
23458 | <class name="FileDropTarget" oldname="wxPyFileDropTarget" module="misc"> | |
23459 | <baseclass name="DropTarget"/> | |
23460 | <constructor name="wxPyFileDropTarget" overloaded="no"> | |
23461 | <autodoc>__init__() -> FileDropTarget</autodoc> | |
23462 | </constructor> | |
23463 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
23464 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
23465 | <paramlist> | |
23466 | <param name="self" type="PyObject" default=""/> | |
23467 | <param name="_class" type="PyObject" default=""/> | |
23468 | </paramlist> | |
23469 | </method> | |
23470 | <method name="base_OnEnter" type="wxDragResult" overloaded="no"> | |
23471 | <autodoc>base_OnEnter(int x, int y, int def) -> int</autodoc> | |
23472 | <paramlist> | |
23473 | <param name="x" type="int" default=""/> | |
23474 | <param name="y" type="int" default=""/> | |
23475 | <param name="def" type="wxDragResult" default=""/> | |
23476 | </paramlist> | |
23477 | </method> | |
23478 | <method name="base_OnDragOver" type="wxDragResult" overloaded="no"> | |
23479 | <autodoc>base_OnDragOver(int x, int y, int def) -> int</autodoc> | |
23480 | <paramlist> | |
23481 | <param name="x" type="int" default=""/> | |
23482 | <param name="y" type="int" default=""/> | |
23483 | <param name="def" type="wxDragResult" default=""/> | |
23484 | </paramlist> | |
23485 | </method> | |
23486 | <method name="base_OnLeave" type="" overloaded="no"> | |
23487 | <autodoc>base_OnLeave()</autodoc> | |
23488 | </method> | |
23489 | <method name="base_OnDrop" type="bool" overloaded="no"> | |
23490 | <autodoc>base_OnDrop(int x, int y) -> bool</autodoc> | |
23491 | <paramlist> | |
23492 | <param name="x" type="int" default=""/> | |
23493 | <param name="y" type="int" default=""/> | |
23494 | </paramlist> | |
23495 | </method> | |
23496 | <method name="base_OnData" type="wxDragResult" overloaded="no"> | |
23497 | <autodoc>base_OnData(int x, int y, int def) -> int</autodoc> | |
23498 | <paramlist> | |
23499 | <param name="x" type="int" default=""/> | |
23500 | <param name="y" type="int" default=""/> | |
23501 | <param name="def" type="wxDragResult" default=""/> | |
23502 | </paramlist> | |
23503 | </method> | |
23504 | </class> | |
0dd25e81 | 23505 | <pythoncode> |
f32fc4bc RD |
23506 | #--------------------------------------------------------------------------- |
23507 | </pythoncode> | |
23508 | <class name="Clipboard" oldname="wxClipboard" module="misc"> | |
c2dda882 RD |
23509 | <docstring>wx.Clipboard represents the system clipboard and provides methods to copy data |
23510 | to or paste data from it. Normally, you should only use wx.TheClipboard which | |
23511 | is a reference to a global wx.Clipboard instance. | |
23512 | ||
23513 | Call wx.TheClipboard.Open to get ownership of the clipboard. If this operation | |
23514 | returns True, you now own the clipboard. Call wx.TheClipboard.SetData to put | |
23515 | data on the clipboard, or wx.TheClipboard.GetData to retrieve data from the | |
23516 | clipboard. Call wx.TheClipboard.Close to close the clipboard and relinquish | |
23517 | ownership. You should keep the clipboard open only momentarily. | |
23518 | </docstring> | |
f32fc4bc RD |
23519 | <baseclass name="Object"/> |
23520 | <constructor name="Clipboard" overloaded="no"> | |
23521 | <autodoc>__init__() -> Clipboard</autodoc> | |
23522 | </constructor> | |
23523 | <destructor name="~wxClipboard" overloaded="no"> | |
23524 | <autodoc>__del__()</autodoc> | |
23525 | </destructor> | |
23526 | <method name="Open" type="bool" overloaded="no"> | |
23527 | <autodoc>Open() -> bool</autodoc> | |
c2dda882 RD |
23528 | <docstring>Call this function to open the clipboard before calling SetData |
23529 | and GetData. Call Close when you have finished with the clipboard. | |
23530 | You should keep the clipboard open for only a very short time. | |
23531 | Returns true on success. </docstring> | |
f32fc4bc RD |
23532 | </method> |
23533 | <method name="Close" type="" overloaded="no"> | |
23534 | <autodoc>Close()</autodoc> | |
c2dda882 | 23535 | <docstring>Closes the clipboard.</docstring> |
f32fc4bc RD |
23536 | </method> |
23537 | <method name="IsOpened" type="bool" overloaded="no"> | |
23538 | <autodoc>IsOpened() -> bool</autodoc> | |
c2dda882 | 23539 | <docstring>Query whether the clipboard is opened</docstring> |
f32fc4bc RD |
23540 | </method> |
23541 | <method name="AddData" type="bool" overloaded="no"> | |
23542 | <autodoc>AddData(DataObject data) -> bool</autodoc> | |
c2dda882 RD |
23543 | <docstring>Call this function to add the data object to the clipboard. You |
23544 | may call this function repeatedly after having cleared the clipboard. | |
23545 | After this function has been called, the clipboard owns the data, so | |
23546 | do not delete the data explicitly.</docstring> | |
f32fc4bc RD |
23547 | <paramlist> |
23548 | <param name="data" type="DataObject" default=""/> | |
23549 | </paramlist> | |
23550 | </method> | |
23551 | <method name="SetData" type="bool" overloaded="no"> | |
23552 | <autodoc>SetData(DataObject data) -> bool</autodoc> | |
c2dda882 | 23553 | <docstring>Set the clipboard data, this is the same as Clear followed by AddData.</docstring> |
f32fc4bc RD |
23554 | <paramlist> |
23555 | <param name="data" type="DataObject" default=""/> | |
23556 | </paramlist> | |
23557 | </method> | |
23558 | <method name="IsSupported" type="bool" overloaded="no"> | |
23559 | <autodoc>IsSupported(DataFormat format) -> bool</autodoc> | |
c2dda882 RD |
23560 | <docstring>Returns True if the given format is available in the data object(s) on |
23561 | the clipboard.</docstring> | |
f32fc4bc RD |
23562 | <paramlist> |
23563 | <param name="format" type="DataFormat" default=""/> | |
23564 | </paramlist> | |
23565 | </method> | |
23566 | <method name="GetData" type="bool" overloaded="no"> | |
23567 | <autodoc>GetData(DataObject data) -> bool</autodoc> | |
c2dda882 RD |
23568 | <docstring>Call this function to fill data with data on the clipboard, if available |
23569 | in the required format. Returns true on success.</docstring> | |
f32fc4bc RD |
23570 | <paramlist> |
23571 | <param name="data" type="DataObject" default=""/> | |
23572 | </paramlist> | |
23573 | </method> | |
23574 | <method name="Clear" type="" overloaded="no"> | |
23575 | <autodoc>Clear()</autodoc> | |
c2dda882 RD |
23576 | <docstring>Clears data from the clipboard object and also the system's clipboard |
23577 | if possible.</docstring> | |
f32fc4bc RD |
23578 | </method> |
23579 | <method name="Flush" type="bool" overloaded="no"> | |
23580 | <autodoc>Flush() -> bool</autodoc> | |
c2dda882 RD |
23581 | <docstring>Flushes the clipboard: this means that the data which is currently on |
23582 | clipboard will stay available even after the application exits (possibly | |
23583 | eating memory), otherwise the clipboard will be emptied on exit. | |
23584 | Returns False if the operation is unsuccesful for any reason.</docstring> | |
f32fc4bc RD |
23585 | </method> |
23586 | <method name="UsePrimarySelection" type="" overloaded="no"> | |
c2dda882 RD |
23587 | <autodoc>UsePrimarySelection(bool primary=True)</autodoc> |
23588 | <docstring>On platforms supporting it (the X11 based platforms), selects the so | |
23589 | called PRIMARY SELECTION as the clipboard as opposed to the normal | |
23590 | clipboard, if primary is True.</docstring> | |
f32fc4bc | 23591 | <paramlist> |
c2dda882 | 23592 | <param name="primary" type="bool" default="True"/> |
f32fc4bc RD |
23593 | </paramlist> |
23594 | </method> | |
23595 | </class> | |
23596 | <class name="ClipboardLocker" oldname="wxClipboardLocker" module="misc"> | |
c2dda882 RD |
23597 | <docstring>A helpful class for opening the clipboard and automatically closing it when |
23598 | the locker is destroyed.</docstring> | |
f32fc4bc RD |
23599 | <constructor name="ClipboardLocker" overloaded="no"> |
23600 | <autodoc>__init__(Clipboard clipboard=None) -> ClipboardLocker</autodoc> | |
c2dda882 RD |
23601 | <docstring>A helpful class for opening the clipboard and automatically closing it when |
23602 | the locker is destroyed.</docstring> | |
f32fc4bc RD |
23603 | <paramlist> |
23604 | <param name="clipboard" type="Clipboard" default="NULL"/> | |
23605 | </paramlist> | |
23606 | </constructor> | |
23607 | <destructor name="~wxClipboardLocker" overloaded="no"> | |
23608 | <autodoc>__del__()</autodoc> | |
23609 | </destructor> | |
23610 | <method name="__nonzero__" type="bool" overloaded="no"> | |
23611 | <autodoc>__nonzero__() -> bool</autodoc> | |
c2dda882 RD |
23612 | <docstring>A ClipboardLocker instance evaluates to True if the clipboard was |
23613 | successfully opened.</docstring> | |
f32fc4bc RD |
23614 | </method> |
23615 | </class> | |
b39e211b RD |
23616 | <pythoncode> |
23617 | #--------------------------------------------------------------------------- | |
23618 | </pythoncode> | |
23619 | <class name="VideoMode" oldname="wxVideoMode" module="misc"> | |
23620 | <docstring>A simple struct containing video mode parameters for a display</docstring> | |
23621 | <constructor name="VideoMode" overloaded="no"> | |
23622 | <autodoc>__init__(int width=0, int height=0, int depth=0, int freq=0) -> VideoMode</autodoc> | |
23623 | <docstring>A simple struct containing video mode parameters for a display</docstring> | |
23624 | <paramlist> | |
23625 | <param name="width" type="int" default="0"/> | |
23626 | <param name="height" type="int" default="0"/> | |
23627 | <param name="depth" type="int" default="0"/> | |
23628 | <param name="freq" type="int" default="0"/> | |
23629 | </paramlist> | |
23630 | </constructor> | |
23631 | <destructor name="~wxVideoMode" overloaded="no"> | |
23632 | <autodoc>__del__()</autodoc> | |
23633 | </destructor> | |
23634 | <method name="Matches" type="bool" overloaded="no"> | |
23635 | <autodoc>Matches(VideoMode other) -> bool</autodoc> | |
23636 | <docstring>Returns true if this mode matches the other one in the sense that | |
23637 | all non zero fields of the other mode have the same value in this | |
23638 | one (except for refresh which is allowed to have a greater value)</docstring> | |
23639 | <paramlist> | |
23640 | <param name="other" type="VideoMode" default=""/> | |
23641 | </paramlist> | |
23642 | </method> | |
23643 | <method name="GetWidth" type="int" overloaded="no"> | |
23644 | <autodoc>GetWidth() -> int</autodoc> | |
23645 | <docstring>Returns the screen width in pixels (e.g. 640*480), 0 means | |
23646 | unspecified</docstring> | |
23647 | </method> | |
23648 | <method name="GetHeight" type="int" overloaded="no"> | |
23649 | <autodoc>GetHeight() -> int</autodoc> | |
23650 | <docstring>Returns the screen width in pixels (e.g. 640*480), 0 means | |
23651 | unspecified</docstring> | |
23652 | </method> | |
23653 | <method name="GetDepth" type="int" overloaded="no"> | |
23654 | <autodoc>GetDepth() -> int</autodoc> | |
23655 | <docstring>Returns the screen's bits per pixel (e.g. 32), 1 is monochrome | |
23656 | and 0 means unspecified/known</docstring> | |
23657 | </method> | |
23658 | <method name="IsOk" type="bool" overloaded="no"> | |
23659 | <autodoc>IsOk() -> bool</autodoc> | |
23660 | <docstring>returns true if the object has been initialized</docstring> | |
23661 | </method> | |
23662 | <method name="__eq__" type="bool" overloaded="no"> | |
23663 | <autodoc>__eq__(VideoMode other) -> bool</autodoc> | |
23664 | <paramlist> | |
23665 | <param name="other" type="VideoMode" default=""/> | |
23666 | </paramlist> | |
23667 | </method> | |
23668 | <method name="__ne__" type="bool" overloaded="no"> | |
23669 | <autodoc>__ne__(VideoMode other) -> bool</autodoc> | |
23670 | <paramlist> | |
23671 | <param name="other" type="VideoMode" default=""/> | |
23672 | </paramlist> | |
23673 | </method> | |
23674 | <property name="w" type="int" readonly="no"/> | |
23675 | <property name="h" type="int" readonly="no"/> | |
23676 | <property name="bpp" type="int" readonly="no"/> | |
23677 | <property name="refresh" type="int" readonly="no"/> | |
23678 | </class> | |
23679 | <class name="Display" oldname="wxDisplay" module="misc"> | |
23680 | <docstring>Represents a display/monitor attached to the system</docstring> | |
23681 | <constructor name="Display" overloaded="no"> | |
23682 | <autodoc>__init__(size_t index=0) -> Display</autodoc> | |
23683 | <docstring>Set up a Display instance with the specified display. The | |
23684 | displays are numbered from 0 to GetCount() - 1, 0 is always the | |
23685 | primary display and the only one which is always supported</docstring> | |
23686 | <paramlist> | |
23687 | <param name="index" type="size_t" default="0"/> | |
23688 | </paramlist> | |
23689 | </constructor> | |
23690 | <destructor name="~wxDisplay" overloaded="no"> | |
23691 | <autodoc>__del__()</autodoc> | |
23692 | </destructor> | |
23693 | <staticmethod name="GetCount" type="size_t" overloaded="no"> | |
23694 | <autodoc>GetCount() -> size_t</autodoc> | |
23695 | <docstring>Return the number of available displays.</docstring> | |
23696 | </staticmethod> | |
23697 | <staticmethod name="GetFromPoint" type="int" overloaded="no"> | |
23698 | <autodoc>GetFromPoint(Point pt) -> int</autodoc> | |
23699 | <docstring>Find the display where the given point lies, return wx.NOT_FOUND | |
23700 | if it doesn't belong to any display</docstring> | |
23701 | <paramlist> | |
23702 | <param name="pt" type="Point" default=""/> | |
23703 | </paramlist> | |
23704 | </staticmethod> | |
23705 | <staticmethod name="GetFromWindow" type="int" overloaded="no"> | |
23706 | <autodoc>GetFromWindow(Window window) -> int</autodoc> | |
23707 | <docstring>Find the display where the given window lies, return wx.NOT_FOUND | |
23708 | if it is not shown at all.</docstring> | |
23709 | <paramlist> | |
23710 | <param name="window" type="Window" default=""/> | |
23711 | </paramlist> | |
23712 | </staticmethod> | |
23713 | <method name="IsOk" type="bool" overloaded="no"> | |
23714 | <autodoc>IsOk() -> bool</autodoc> | |
23715 | <docstring>Return true if the object was initialized successfully</docstring> | |
23716 | </method> | |
23717 | <method name="GetGeometry" type="Rect" overloaded="no"> | |
23718 | <autodoc>GetGeometry() -> Rect</autodoc> | |
23719 | <docstring>Returns the bounding rectangle of the display whose index was | |
23720 | passed to the constructor.</docstring> | |
23721 | </method> | |
23722 | <method name="GetName" type="String" overloaded="no"> | |
23723 | <autodoc>GetName() -> String</autodoc> | |
23724 | <docstring>Returns the display's name. A name is not available on all platforms.</docstring> | |
23725 | </method> | |
23726 | <method name="IsPrimary" type="bool" overloaded="no"> | |
23727 | <autodoc>IsPrimary() -> bool</autodoc> | |
23728 | <docstring>Returns true if the display is the primary display. The primary | |
23729 | display is the one whose index is 0.</docstring> | |
23730 | </method> | |
23731 | <method name="GetModes" type="PyObject" overloaded="no"> | |
23732 | <autodoc>GetModes(VideoMode mode=DefaultVideoMode) -> [videoMode...]</autodoc> | |
23733 | <docstring>Enumerate all video modes supported by this display matching the | |
23734 | given one (in the sense of VideoMode.Match()). | |
23735 | ||
23736 | As any mode matches the default value of the argument and there | |
23737 | is always at least one video mode supported by display, the | |
23738 | returned array is only empty for the default value of the | |
23739 | argument if this function is not supported at all on this | |
23740 | platform.</docstring> | |
23741 | <paramlist> | |
23742 | <param name="mode" type="VideoMode" default="wxDefaultVideoMode"/> | |
23743 | </paramlist> | |
23744 | </method> | |
23745 | <method name="GetCurrentMode" type="VideoMode" overloaded="no"> | |
23746 | <autodoc>GetCurrentMode() -> VideoMode</autodoc> | |
23747 | <docstring>Get the current video mode.</docstring> | |
23748 | </method> | |
23749 | <method name="ChangeMode" type="bool" overloaded="no"> | |
23750 | <autodoc>ChangeMode(VideoMode mode=DefaultVideoMode) -> bool</autodoc> | |
23751 | <docstring>Change current mode, return true if succeeded, false otherwise</docstring> | |
23752 | <paramlist> | |
23753 | <param name="mode" type="VideoMode" default="wxDefaultVideoMode"/> | |
23754 | </paramlist> | |
23755 | </method> | |
23756 | <method name="ResetMode" type="" overloaded="no"> | |
23757 | <autodoc>ResetMode()</autodoc> | |
23758 | <docstring>Restore the default video mode (just a more readable synonym)</docstring> | |
23759 | </method> | |
23760 | </class> | |
f32fc4bc RD |
23761 | </module> |
23762 | <module name="calendar"> | |
23763 | <import name="misc"/> | |
23764 | <pythoncode> wx = core </pythoncode> | |
23765 | <class name="CalendarDateAttr" oldname="wxCalendarDateAttr" module="calendar"> | |
23766 | <docstring>A set of customization attributes for a calendar date, which can be used to | |
23767 | control the look of the Calendar object.</docstring> | |
23768 | <constructor name="CalendarDateAttr" overloaded="no"> | |
23769 | <autodoc>__init__(Colour colText=wxNullColour, Colour colBack=wxNullColour, | |
23770 | Colour colBorder=wxNullColour, Font font=wxNullFont, | |
23771 | int border=CAL_BORDER_NONE) -> CalendarDateAttr</autodoc> | |
23772 | <docstring>Create a CalendarDateAttr.</docstring> | |
23773 | <paramlist> | |
23774 | <param name="colText" type="Colour" default="wxNullColour"/> | |
23775 | <param name="colBack" type="Colour" default="wxNullColour"/> | |
23776 | <param name="colBorder" type="Colour" default="wxNullColour"/> | |
23777 | <param name="font" type="Font" default="wxNullFont"/> | |
23778 | <param name="border" type="wxCalendarDateBorder" default="wxCAL_BORDER_NONE"/> | |
23779 | </paramlist> | |
23780 | </constructor> | |
23781 | <method name="SetTextColour" type="" overloaded="no"> | |
23782 | <autodoc>SetTextColour(Colour colText)</autodoc> | |
23783 | <paramlist> | |
23784 | <param name="colText" type="Colour" default=""/> | |
23785 | </paramlist> | |
23786 | </method> | |
23787 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
23788 | <autodoc>SetBackgroundColour(Colour colBack)</autodoc> | |
23789 | <paramlist> | |
23790 | <param name="colBack" type="Colour" default=""/> | |
23791 | </paramlist> | |
23792 | </method> | |
23793 | <method name="SetBorderColour" type="" overloaded="no"> | |
23794 | <autodoc>SetBorderColour(Colour col)</autodoc> | |
23795 | <paramlist> | |
23796 | <param name="col" type="Colour" default=""/> | |
23797 | </paramlist> | |
23798 | </method> | |
23799 | <method name="SetFont" type="" overloaded="no"> | |
23800 | <autodoc>SetFont(Font font)</autodoc> | |
23801 | <paramlist> | |
23802 | <param name="font" type="Font" default=""/> | |
23803 | </paramlist> | |
23804 | </method> | |
23805 | <method name="SetBorder" type="" overloaded="no"> | |
23806 | <autodoc>SetBorder(int border)</autodoc> | |
23807 | <paramlist> | |
23808 | <param name="border" type="wxCalendarDateBorder" default=""/> | |
23809 | </paramlist> | |
23810 | </method> | |
23811 | <method name="SetHoliday" type="" overloaded="no"> | |
23812 | <autodoc>SetHoliday(bool holiday)</autodoc> | |
23813 | <paramlist> | |
23814 | <param name="holiday" type="bool" default=""/> | |
23815 | </paramlist> | |
23816 | </method> | |
23817 | <method name="HasTextColour" type="bool" overloaded="no"> | |
23818 | <autodoc>HasTextColour() -> bool</autodoc> | |
23819 | </method> | |
23820 | <method name="HasBackgroundColour" type="bool" overloaded="no"> | |
23821 | <autodoc>HasBackgroundColour() -> bool</autodoc> | |
23822 | </method> | |
23823 | <method name="HasBorderColour" type="bool" overloaded="no"> | |
23824 | <autodoc>HasBorderColour() -> bool</autodoc> | |
23825 | </method> | |
23826 | <method name="HasFont" type="bool" overloaded="no"> | |
23827 | <autodoc>HasFont() -> bool</autodoc> | |
23828 | </method> | |
23829 | <method name="HasBorder" type="bool" overloaded="no"> | |
23830 | <autodoc>HasBorder() -> bool</autodoc> | |
23831 | </method> | |
23832 | <method name="IsHoliday" type="bool" overloaded="no"> | |
23833 | <autodoc>IsHoliday() -> bool</autodoc> | |
23834 | </method> | |
23835 | <method name="GetTextColour" type="Colour" overloaded="no"> | |
23836 | <autodoc>GetTextColour() -> Colour</autodoc> | |
23837 | </method> | |
23838 | <method name="GetBackgroundColour" type="Colour" overloaded="no"> | |
23839 | <autodoc>GetBackgroundColour() -> Colour</autodoc> | |
23840 | </method> | |
23841 | <method name="GetBorderColour" type="Colour" overloaded="no"> | |
23842 | <autodoc>GetBorderColour() -> Colour</autodoc> | |
23843 | </method> | |
23844 | <method name="GetFont" type="Font" overloaded="no"> | |
23845 | <autodoc>GetFont() -> Font</autodoc> | |
23846 | </method> | |
23847 | <method name="GetBorder" type="wxCalendarDateBorder" overloaded="no"> | |
23848 | <autodoc>GetBorder() -> int</autodoc> | |
23849 | </method> | |
23850 | </class> | |
23851 | <class name="CalendarEvent" oldname="wxCalendarEvent" module="calendar"> | |
23852 | <baseclass name="CommandEvent"/> | |
23853 | <constructor name="CalendarEvent" overloaded="no"> | |
23854 | <autodoc>__init__(CalendarCtrl cal, wxEventType type) -> CalendarEvent</autodoc> | |
23855 | <paramlist> | |
23856 | <param name="cal" type="wxCalendarCtrl" default=""/> | |
23857 | <param name="type" type="wxEventType" default=""/> | |
23858 | </paramlist> | |
23859 | </constructor> | |
23860 | <method name="GetDate" type="DateTime" overloaded="no"> | |
23861 | <autodoc>GetDate() -> DateTime</autodoc> | |
23862 | </method> | |
23863 | <method name="SetDate" type="" overloaded="no"> | |
23864 | <autodoc>SetDate(DateTime date)</autodoc> | |
23865 | <paramlist> | |
23866 | <param name="date" type="DateTime" default=""/> | |
23867 | </paramlist> | |
23868 | </method> | |
23869 | <method name="SetWeekDay" type="" overloaded="no"> | |
23870 | <autodoc>SetWeekDay(int wd)</autodoc> | |
23871 | <paramlist> | |
23872 | <param name="wd" type="wxDateTime::WeekDay" default=""/> | |
23873 | </paramlist> | |
23874 | </method> | |
23875 | <method name="GetWeekDay" type="wxDateTime::WeekDay" overloaded="no"> | |
23876 | <autodoc>GetWeekDay() -> int</autodoc> | |
23877 | </method> | |
23878 | </class> | |
23879 | <pythoncode> | |
23880 | EVT_CALENDAR = wx.PyEventBinder( wxEVT_CALENDAR_DOUBLECLICKED, 1) | |
23881 | EVT_CALENDAR_SEL_CHANGED = wx.PyEventBinder( wxEVT_CALENDAR_SEL_CHANGED, 1) | |
23882 | EVT_CALENDAR_DAY = wx.PyEventBinder( wxEVT_CALENDAR_DAY_CHANGED, 1) | |
23883 | EVT_CALENDAR_MONTH = wx.PyEventBinder( wxEVT_CALENDAR_MONTH_CHANGED, 1) | |
23884 | EVT_CALENDAR_YEAR = wx.PyEventBinder( wxEVT_CALENDAR_YEAR_CHANGED, 1) | |
23885 | EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, 1) | |
23886 | </pythoncode> | |
23887 | <class name="CalendarCtrl" oldname="wxCalendarCtrl" module="calendar"> | |
23888 | <docstring>The calendar control allows the user to pick a date interactively.</docstring> | |
23889 | <refdoc>The CalendarCtrl displays a window containing several parts: the control to | |
23890 | pick the month and the year at the top (either or both of them may be | |
23891 | disabled) and a month area below them which shows all the days in the | |
23892 | month. The user can move the current selection using the keyboard and select | |
23893 | the date (generating EVT_CALENDAR event) by pressing <Return> or double | |
23894 | clicking it. | |
0f43fbdf | 23895 | |
f32fc4bc RD |
23896 | It has advanced possibilities for the customization of its display. All global |
23897 | settings (such as colours and fonts used) can, of course, be changed. But | |
23898 | also, the display style for each day in the month can be set independently | |
23899 | using CalendarDateAttr class. | |
856bf319 | 23900 | |
f32fc4bc RD |
23901 | An item without custom attributes is drawn with the default colours and font |
23902 | and without border, but setting custom attributes with SetAttr allows to | |
23903 | modify its appearance. Just create a custom attribute object and set it for | |
23904 | the day you want to be displayed specially A day may be marked as being a | |
23905 | holiday, (even if it is not recognized as one by wx.DateTime) by using the | |
23906 | SetHoliday method. | |
856bf319 | 23907 | |
f32fc4bc RD |
23908 | As the attributes are specified for each day, they may change when the month |
23909 | is changed, so you will often want to update them in an EVT_CALENDAR_MONTH | |
23910 | event handler. | |
856bf319 | 23911 | |
f32fc4bc RD |
23912 | Styles |
23913 | CAL_SUNDAY_FIRST: Show Sunday as the first day in the week | |
23914 | CAL_MONDAY_FIRST: Show Monday as the first day in the week | |
23915 | CAL_SHOW_HOLIDAYS: Highlight holidays in the calendar | |
23916 | CAL_NO_YEAR_CHANGE: Disable the year changing | |
23917 | CAL_NO_MONTH_CHANGE: Disable the month (and, implicitly, the year) changing | |
23918 | CAL_SHOW_SURROUNDING_WEEKS: Show the neighbouring weeks in the previous and next months | |
23919 | CAL_SEQUENTIAL_MONTH_SELECTION: Use alternative, more compact, style for the month and year selection controls. | |
856bf319 | 23920 | |
f32fc4bc | 23921 | The default calendar style is wxCAL_SHOW_HOLIDAYS. |
856bf319 | 23922 | |
f32fc4bc RD |
23923 | Events |
23924 | EVT_CALENDAR: A day was double clicked in the calendar. | |
23925 | EVT_CALENDAR_SEL_CHANGED: The selected date changed. | |
23926 | EVT_CALENDAR_DAY: The selected day changed. | |
23927 | EVT_CALENDAR_MONTH: The selected month changed. | |
23928 | EVT_CALENDAR_YEAR: The selected year changed. | |
23929 | EVT_CALENDAR_WEEKDAY_CLICKED: User clicked on the week day header | |
856bf319 | 23930 | |
f32fc4bc RD |
23931 | Note that changing the selected date will result in either of |
23932 | EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED event. | |
23933 | ||
23934 | </refdoc> | |
23935 | <baseclass name="Control"/> | |
23936 | <constructor name="CalendarCtrl" overloaded="no"> | |
23937 | <autodoc>__init__(Window parent, int id, DateTime date=DefaultDateTime, | |
23938 | Point pos=DefaultPosition, Size size=DefaultSize, | |
23939 | long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, | |
23940 | String name=CalendarNameStr) -> CalendarCtrl</autodoc> | |
23941 | <docstring>Create and show a calendar control.</docstring> | |
f32fc4bc RD |
23942 | <paramlist> |
23943 | <param name="parent" type="Window" default=""/> | |
23944 | <param name="id" type="int" default=""/> | |
23945 | <param name="date" type="DateTime" default="wxDefaultDateTime"/> | |
23946 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
23947 | <param name="size" type="Size" default="wxDefaultSize"/> | |
23948 | <param name="style" type="long" default="wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS"/> | |
23949 | <param name="name" type="String" default="wxPyCalendarNameStr"/> | |
23950 | </paramlist> | |
23951 | </constructor> | |
23952 | <constructor name="PreCalendarCtrl" overloaded="no"> | |
23953 | <autodoc>PreCalendarCtrl() -> CalendarCtrl</autodoc> | |
23954 | <docstring>Precreate a CalendarCtrl for 2-phase creation.</docstring> | |
f32fc4bc RD |
23955 | </constructor> |
23956 | <method name="Create" type="bool" overloaded="no"> | |
23957 | <autodoc>Create(Window parent, int id, DateTime date=DefaultDateTime, | |
23958 | Point pos=DefaultPosition, Size size=DefaultSize, | |
23959 | long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, | |
23960 | String name=CalendarNameStr) -> bool</autodoc> | |
23961 | <docstring>Acutally create the GUI portion of the CalendarCtrl for 2-phase creation.</docstring> | |
23962 | <paramlist> | |
23963 | <param name="parent" type="Window" default=""/> | |
23964 | <param name="id" type="int" default=""/> | |
23965 | <param name="date" type="DateTime" default="wxDefaultDateTime"/> | |
23966 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
23967 | <param name="size" type="Size" default="wxDefaultSize"/> | |
23968 | <param name="style" type="long" default="wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS"/> | |
23969 | <param name="name" type="String" default="wxPyCalendarNameStr"/> | |
23970 | </paramlist> | |
23971 | </method> | |
23972 | <method name="SetDate" type="" overloaded="no"> | |
23973 | <autodoc>SetDate(DateTime date)</autodoc> | |
23974 | <docstring>Sets the current date.</docstring> | |
23975 | <paramlist> | |
23976 | <param name="date" type="DateTime" default=""/> | |
23977 | </paramlist> | |
23978 | </method> | |
23979 | <method name="GetDate" type="DateTime" overloaded="no"> | |
23980 | <autodoc>GetDate() -> DateTime</autodoc> | |
23981 | <docstring>Gets the currently selected date.</docstring> | |
23982 | </method> | |
23983 | <method name="SetLowerDateLimit" type="bool" overloaded="no"> | |
23984 | <autodoc>SetLowerDateLimit(DateTime date=DefaultDateTime) -> bool</autodoc> | |
23985 | <docstring>set the range in which selection can occur</docstring> | |
23986 | <paramlist> | |
23987 | <param name="date" type="DateTime" default="wxDefaultDateTime"/> | |
23988 | </paramlist> | |
23989 | </method> | |
23990 | <method name="SetUpperDateLimit" type="bool" overloaded="no"> | |
23991 | <autodoc>SetUpperDateLimit(DateTime date=DefaultDateTime) -> bool</autodoc> | |
23992 | <docstring>set the range in which selection can occur</docstring> | |
23993 | <paramlist> | |
23994 | <param name="date" type="DateTime" default="wxDefaultDateTime"/> | |
23995 | </paramlist> | |
23996 | </method> | |
23997 | <method name="GetLowerDateLimit" type="DateTime" overloaded="no"> | |
23998 | <autodoc>GetLowerDateLimit() -> DateTime</autodoc> | |
23999 | <docstring>get the range in which selection can occur</docstring> | |
24000 | </method> | |
24001 | <method name="GetUpperDateLimit" type="DateTime" overloaded="no"> | |
24002 | <autodoc>GetUpperDateLimit() -> DateTime</autodoc> | |
24003 | <docstring>get the range in which selection can occur</docstring> | |
24004 | </method> | |
24005 | <method name="SetDateRange" type="bool" overloaded="no"> | |
24006 | <autodoc>SetDateRange(DateTime lowerdate=DefaultDateTime, DateTime upperdate=DefaultDateTime) -> bool</autodoc> | |
24007 | <docstring>set the range in which selection can occur</docstring> | |
24008 | <paramlist> | |
24009 | <param name="lowerdate" type="DateTime" default="wxDefaultDateTime"/> | |
24010 | <param name="upperdate" type="DateTime" default="wxDefaultDateTime"/> | |
24011 | </paramlist> | |
24012 | </method> | |
24013 | <method name="EnableYearChange" type="" overloaded="no"> | |
24014 | <autodoc>EnableYearChange(bool enable=True)</autodoc> | |
24015 | <docstring>This function should be used instead of changing CAL_NO_YEAR_CHANGE | |
24016 | style bit directly. It allows or disallows the user to change the year | |
24017 | interactively.</docstring> | |
24018 | <paramlist> | |
24019 | <param name="enable" type="bool" default="True"/> | |
24020 | </paramlist> | |
24021 | </method> | |
24022 | <method name="EnableMonthChange" type="" overloaded="no"> | |
24023 | <autodoc>EnableMonthChange(bool enable=True)</autodoc> | |
24024 | <docstring>This function should be used instead of changing CAL_NO_MONTH_CHANGE style | |
24025 | bit. It allows or disallows the user to change the month interactively. Note | |
24026 | that if the month can not be changed, the year can not be changed either.</docstring> | |
24027 | <paramlist> | |
24028 | <param name="enable" type="bool" default="True"/> | |
24029 | </paramlist> | |
24030 | </method> | |
24031 | <method name="EnableHolidayDisplay" type="" overloaded="no"> | |
24032 | <autodoc>EnableHolidayDisplay(bool display=True)</autodoc> | |
24033 | <docstring>This function should be used instead of changing CAL_SHOW_HOLIDAYS style | |
24034 | bit directly. It enables or disables the special highlighting of the holidays.</docstring> | |
24035 | <paramlist> | |
24036 | <param name="display" type="bool" default="True"/> | |
24037 | </paramlist> | |
24038 | </method> | |
24039 | <method name="SetHeaderColours" type="" overloaded="no"> | |
24040 | <autodoc>SetHeaderColours(Colour colFg, Colour colBg)</autodoc> | |
24041 | <docstring>header colours are used for painting the weekdays at the top</docstring> | |
24042 | <paramlist> | |
24043 | <param name="colFg" type="Colour" default=""/> | |
24044 | <param name="colBg" type="Colour" default=""/> | |
24045 | </paramlist> | |
24046 | </method> | |
24047 | <method name="GetHeaderColourFg" type="Colour" overloaded="no"> | |
24048 | <autodoc>GetHeaderColourFg() -> Colour</autodoc> | |
24049 | <docstring>header colours are used for painting the weekdays at the top</docstring> | |
24050 | </method> | |
24051 | <method name="GetHeaderColourBg" type="Colour" overloaded="no"> | |
24052 | <autodoc>GetHeaderColourBg() -> Colour</autodoc> | |
24053 | <docstring>header colours are used for painting the weekdays at the top</docstring> | |
24054 | </method> | |
24055 | <method name="SetHighlightColours" type="" overloaded="no"> | |
24056 | <autodoc>SetHighlightColours(Colour colFg, Colour colBg)</autodoc> | |
24057 | <docstring>highlight colour is used for the currently selected date</docstring> | |
24058 | <paramlist> | |
24059 | <param name="colFg" type="Colour" default=""/> | |
24060 | <param name="colBg" type="Colour" default=""/> | |
24061 | </paramlist> | |
24062 | </method> | |
24063 | <method name="GetHighlightColourFg" type="Colour" overloaded="no"> | |
24064 | <autodoc>GetHighlightColourFg() -> Colour</autodoc> | |
24065 | <docstring>highlight colour is used for the currently selected date</docstring> | |
24066 | </method> | |
24067 | <method name="GetHighlightColourBg" type="Colour" overloaded="no"> | |
24068 | <autodoc>GetHighlightColourBg() -> Colour</autodoc> | |
24069 | <docstring>highlight colour is used for the currently selected date</docstring> | |
24070 | </method> | |
24071 | <method name="SetHolidayColours" type="" overloaded="no"> | |
24072 | <autodoc>SetHolidayColours(Colour colFg, Colour colBg)</autodoc> | |
24073 | <docstring>holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used)</docstring> | |
24074 | <paramlist> | |
24075 | <param name="colFg" type="Colour" default=""/> | |
24076 | <param name="colBg" type="Colour" default=""/> | |
24077 | </paramlist> | |
24078 | </method> | |
24079 | <method name="GetHolidayColourFg" type="Colour" overloaded="no"> | |
24080 | <autodoc>GetHolidayColourFg() -> Colour</autodoc> | |
24081 | <docstring>holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used)</docstring> | |
24082 | </method> | |
24083 | <method name="GetHolidayColourBg" type="Colour" overloaded="no"> | |
24084 | <autodoc>GetHolidayColourBg() -> Colour</autodoc> | |
24085 | <docstring>holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used)</docstring> | |
24086 | </method> | |
24087 | <method name="GetAttr" type="CalendarDateAttr" overloaded="no"> | |
24088 | <autodoc>GetAttr(size_t day) -> CalendarDateAttr</autodoc> | |
24089 | <docstring>Returns the attribute for the given date (should be in the range 1...31). | |
24090 | The returned value may be None</docstring> | |
24091 | <paramlist> | |
24092 | <param name="day" type="size_t" default=""/> | |
24093 | </paramlist> | |
24094 | </method> | |
24095 | <method name="SetAttr" type="" overloaded="no"> | |
24096 | <autodoc>SetAttr(size_t day, CalendarDateAttr attr)</autodoc> | |
24097 | <docstring>Associates the attribute with the specified date (in the range 1...31). | |
24098 | If the attribute passed is None, the items attribute is cleared.</docstring> | |
24099 | <paramlist> | |
24100 | <param name="day" type="size_t" default=""/> | |
24101 | <param name="attr" type="CalendarDateAttr" default=""/> | |
24102 | </paramlist> | |
24103 | </method> | |
24104 | <method name="SetHoliday" type="" overloaded="no"> | |
24105 | <autodoc>SetHoliday(size_t day)</autodoc> | |
24106 | <docstring>Marks the specified day as being a holiday in the current month.</docstring> | |
24107 | <paramlist> | |
24108 | <param name="day" type="size_t" default=""/> | |
24109 | </paramlist> | |
24110 | </method> | |
24111 | <method name="ResetAttr" type="" overloaded="no"> | |
24112 | <autodoc>ResetAttr(size_t day)</autodoc> | |
24113 | <docstring>Clears any attributes associated with the given day (in the range 1...31).</docstring> | |
24114 | <paramlist> | |
24115 | <param name="day" type="size_t" default=""/> | |
24116 | </paramlist> | |
24117 | </method> | |
24118 | <method name="HitTest" type="PyObject" overloaded="no"> | |
24119 | <autodoc>HitTest(Point pos) -> (result, date, weekday)</autodoc> | |
24120 | <docstring>Returns 3-tuple with information about the given position on the calendar | |
24121 | control. The first value of the tuple is a result code and determines the | |
24122 | validity of the remaining two values. The result codes are: | |
24123 | ||
24124 | CAL_HITTEST_NOWHERE: hit outside of anything | |
24125 | CAL_HITTEST_HEADER: hit on the header, weekday is valid | |
24126 | CAL_HITTEST_DAY: hit on a day in the calendar, date is set. | |
24127 | </docstring> | |
24128 | <paramlist> | |
24129 | <param name="pos" type="Point" default=""/> | |
24130 | </paramlist> | |
24131 | </method> | |
24132 | <method name="GetMonthControl" type="Control" overloaded="no"> | |
24133 | <autodoc>GetMonthControl() -> Control</autodoc> | |
24134 | <docstring>get the currently shown control for month</docstring> | |
24135 | </method> | |
24136 | <method name="GetYearControl" type="Control" overloaded="no"> | |
24137 | <autodoc>GetYearControl() -> Control</autodoc> | |
24138 | <docstring>get the currently shown control for year</docstring> | |
24139 | </method> | |
24140 | </class> | |
24141 | </module> | |
24142 | <module name="grid"> | |
24143 | <import name="windows"/> | |
24144 | <pythoncode> wx = core </pythoncode> | |
24145 | <class name="GridCellRenderer" oldname="wxGridCellRenderer" module="grid"> | |
24146 | <method name="_setOORInfo" type="" overloaded="no"> | |
24147 | <autodoc>_setOORInfo(PyObject _self)</autodoc> | |
24148 | <paramlist> | |
24149 | <param name="_self" type="PyObject" default=""/> | |
24150 | </paramlist> | |
24151 | </method> | |
24152 | <method name="SetParameters" type="" overloaded="no"> | |
24153 | <autodoc>SetParameters(String params)</autodoc> | |
24154 | <paramlist> | |
24155 | <param name="params" type="String" default=""/> | |
24156 | </paramlist> | |
24157 | </method> | |
24158 | <method name="IncRef" type="" overloaded="no"> | |
24159 | <autodoc>IncRef()</autodoc> | |
24160 | </method> | |
24161 | <method name="DecRef" type="" overloaded="no"> | |
24162 | <autodoc>DecRef()</autodoc> | |
24163 | </method> | |
24164 | <method name="Draw" type="" overloaded="no"> | |
24165 | <autodoc>Draw(Grid grid, GridCellAttr attr, DC dc, Rect rect, int row, | |
24166 | int col, bool isSelected)</autodoc> | |
24167 | <paramlist> | |
24168 | <param name="grid" type="wxGrid" default=""/> | |
24169 | <param name="attr" type="wxGridCellAttr" default=""/> | |
24170 | <param name="dc" type="DC" default=""/> | |
24171 | <param name="rect" type="Rect" default=""/> | |
24172 | <param name="row" type="int" default=""/> | |
24173 | <param name="col" type="int" default=""/> | |
24174 | <param name="isSelected" type="bool" default=""/> | |
24175 | </paramlist> | |
24176 | </method> | |
24177 | <method name="GetBestSize" type="Size" overloaded="no"> | |
24178 | <autodoc>GetBestSize(Grid grid, GridCellAttr attr, DC dc, int row, int col) -> Size</autodoc> | |
24179 | <paramlist> | |
24180 | <param name="grid" type="wxGrid" default=""/> | |
24181 | <param name="attr" type="wxGridCellAttr" default=""/> | |
24182 | <param name="dc" type="DC" default=""/> | |
24183 | <param name="row" type="int" default=""/> | |
24184 | <param name="col" type="int" default=""/> | |
24185 | </paramlist> | |
24186 | </method> | |
24187 | <method name="Clone" type="GridCellRenderer" overloaded="no"> | |
24188 | <autodoc>Clone() -> GridCellRenderer</autodoc> | |
24189 | </method> | |
24190 | </class> | |
24191 | <class name="PyGridCellRenderer" oldname="wxPyGridCellRenderer" module="grid"> | |
24192 | <baseclass name="GridCellRenderer"/> | |
24193 | <constructor name="PyGridCellRenderer" overloaded="no"> | |
24194 | <autodoc>__init__() -> PyGridCellRenderer</autodoc> | |
24195 | </constructor> | |
24196 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
24197 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
24198 | <paramlist> | |
24199 | <param name="self" type="PyObject" default=""/> | |
24200 | <param name="_class" type="PyObject" default=""/> | |
24201 | </paramlist> | |
24202 | </method> | |
24203 | <method name="base_SetParameters" type="" overloaded="no"> | |
24204 | <autodoc>base_SetParameters(String params)</autodoc> | |
24205 | <paramlist> | |
24206 | <param name="params" type="String" default=""/> | |
24207 | </paramlist> | |
24208 | </method> | |
24209 | </class> | |
24210 | <class name="GridCellStringRenderer" oldname="wxGridCellStringRenderer" module="grid"> | |
24211 | <baseclass name="GridCellRenderer"/> | |
24212 | <constructor name="GridCellStringRenderer" overloaded="no"> | |
24213 | <autodoc>__init__() -> GridCellStringRenderer</autodoc> | |
24214 | </constructor> | |
24215 | </class> | |
24216 | <class name="GridCellNumberRenderer" oldname="wxGridCellNumberRenderer" module="grid"> | |
24217 | <baseclass name="GridCellStringRenderer"/> | |
24218 | <constructor name="GridCellNumberRenderer" overloaded="no"> | |
24219 | <autodoc>__init__() -> GridCellNumberRenderer</autodoc> | |
24220 | </constructor> | |
24221 | </class> | |
24222 | <class name="GridCellFloatRenderer" oldname="wxGridCellFloatRenderer" module="grid"> | |
24223 | <baseclass name="GridCellStringRenderer"/> | |
24224 | <constructor name="GridCellFloatRenderer" overloaded="no"> | |
24225 | <autodoc>__init__(int width=-1, int precision=-1) -> GridCellFloatRenderer</autodoc> | |
24226 | <paramlist> | |
24227 | <param name="width" type="int" default="-1"/> | |
24228 | <param name="precision" type="int" default="-1"/> | |
24229 | </paramlist> | |
24230 | </constructor> | |
24231 | <method name="GetWidth" type="int" overloaded="no"> | |
24232 | <autodoc>GetWidth() -> int</autodoc> | |
24233 | </method> | |
24234 | <method name="SetWidth" type="" overloaded="no"> | |
24235 | <autodoc>SetWidth(int width)</autodoc> | |
24236 | <paramlist> | |
24237 | <param name="width" type="int" default=""/> | |
24238 | </paramlist> | |
24239 | </method> | |
24240 | <method name="GetPrecision" type="int" overloaded="no"> | |
24241 | <autodoc>GetPrecision() -> int</autodoc> | |
24242 | </method> | |
24243 | <method name="SetPrecision" type="" overloaded="no"> | |
24244 | <autodoc>SetPrecision(int precision)</autodoc> | |
24245 | <paramlist> | |
24246 | <param name="precision" type="int" default=""/> | |
24247 | </paramlist> | |
24248 | </method> | |
24249 | </class> | |
24250 | <class name="GridCellBoolRenderer" oldname="wxGridCellBoolRenderer" module="grid"> | |
24251 | <baseclass name="GridCellRenderer"/> | |
24252 | <constructor name="GridCellBoolRenderer" overloaded="no"> | |
24253 | <autodoc>__init__() -> GridCellBoolRenderer</autodoc> | |
24254 | </constructor> | |
24255 | </class> | |
24256 | <class name="GridCellDateTimeRenderer" oldname="wxGridCellDateTimeRenderer" module="grid"> | |
24257 | <baseclass name="GridCellStringRenderer"/> | |
24258 | <constructor name="GridCellDateTimeRenderer" overloaded="no"> | |
24259 | <autodoc>__init__(String outformat=DateTimeFormatStr, String informat=DateTimeFormatStr) -> GridCellDateTimeRenderer</autodoc> | |
24260 | <paramlist> | |
24261 | <param name="outformat" type="String" default="wxPyDateTimeFormatStr"/> | |
24262 | <param name="informat" type="String" default="wxPyDateTimeFormatStr"/> | |
24263 | </paramlist> | |
24264 | </constructor> | |
24265 | </class> | |
24266 | <class name="GridCellEnumRenderer" oldname="wxGridCellEnumRenderer" module="grid"> | |
24267 | <baseclass name="GridCellStringRenderer"/> | |
24268 | <constructor name="GridCellEnumRenderer" overloaded="no"> | |
24269 | <autodoc>__init__(String choices=EmptyString) -> GridCellEnumRenderer</autodoc> | |
24270 | <paramlist> | |
24271 | <param name="choices" type="String" default="wxPyEmptyString"/> | |
24272 | </paramlist> | |
24273 | </constructor> | |
24274 | </class> | |
24275 | <class name="GridCellAutoWrapStringRenderer" oldname="wxGridCellAutoWrapStringRenderer" module="grid"> | |
24276 | <baseclass name="GridCellStringRenderer"/> | |
24277 | <constructor name="GridCellAutoWrapStringRenderer" overloaded="no"> | |
24278 | <autodoc>__init__() -> GridCellAutoWrapStringRenderer</autodoc> | |
24279 | </constructor> | |
24280 | </class> | |
24281 | <class name="GridCellEditor" oldname="wxGridCellEditor" module="grid"> | |
24282 | <method name="_setOORInfo" type="" overloaded="no"> | |
24283 | <autodoc>_setOORInfo(PyObject _self)</autodoc> | |
24284 | <paramlist> | |
24285 | <param name="_self" type="PyObject" default=""/> | |
24286 | </paramlist> | |
24287 | </method> | |
24288 | <method name="IsCreated" type="bool" overloaded="no"> | |
24289 | <autodoc>IsCreated() -> bool</autodoc> | |
24290 | </method> | |
24291 | <method name="GetControl" type="Control" overloaded="no"> | |
24292 | <autodoc>GetControl() -> Control</autodoc> | |
24293 | </method> | |
24294 | <method name="SetControl" type="" overloaded="no"> | |
24295 | <autodoc>SetControl(Control control)</autodoc> | |
24296 | <paramlist> | |
24297 | <param name="control" type="Control" default=""/> | |
24298 | </paramlist> | |
24299 | </method> | |
24300 | <method name="GetCellAttr" type="wxGridCellAttr" overloaded="no"> | |
24301 | <autodoc>GetCellAttr() -> GridCellAttr</autodoc> | |
24302 | </method> | |
24303 | <method name="SetCellAttr" type="" overloaded="no"> | |
24304 | <autodoc>SetCellAttr(GridCellAttr attr)</autodoc> | |
24305 | <paramlist> | |
24306 | <param name="attr" type="wxGridCellAttr" default=""/> | |
24307 | </paramlist> | |
24308 | </method> | |
24309 | <method name="SetParameters" type="" overloaded="no"> | |
24310 | <autodoc>SetParameters(String params)</autodoc> | |
24311 | <paramlist> | |
24312 | <param name="params" type="String" default=""/> | |
24313 | </paramlist> | |
24314 | </method> | |
24315 | <method name="IncRef" type="" overloaded="no"> | |
24316 | <autodoc>IncRef()</autodoc> | |
24317 | </method> | |
24318 | <method name="DecRef" type="" overloaded="no"> | |
24319 | <autodoc>DecRef()</autodoc> | |
24320 | </method> | |
24321 | <method name="Create" type="" overloaded="no"> | |
24322 | <autodoc>Create(Window parent, int id, EvtHandler evtHandler)</autodoc> | |
24323 | <paramlist> | |
24324 | <param name="parent" type="Window" default=""/> | |
24325 | <param name="id" type="int" default=""/> | |
24326 | <param name="evtHandler" type="EvtHandler" default=""/> | |
24327 | </paramlist> | |
24328 | </method> | |
24329 | <method name="BeginEdit" type="" overloaded="no"> | |
24330 | <autodoc>BeginEdit(int row, int col, Grid grid)</autodoc> | |
24331 | <paramlist> | |
24332 | <param name="row" type="int" default=""/> | |
24333 | <param name="col" type="int" default=""/> | |
24334 | <param name="grid" type="wxGrid" default=""/> | |
24335 | </paramlist> | |
24336 | </method> | |
24337 | <method name="EndEdit" type="bool" overloaded="no"> | |
24338 | <autodoc>EndEdit(int row, int col, Grid grid) -> bool</autodoc> | |
24339 | <paramlist> | |
24340 | <param name="row" type="int" default=""/> | |
24341 | <param name="col" type="int" default=""/> | |
24342 | <param name="grid" type="wxGrid" default=""/> | |
24343 | </paramlist> | |
24344 | </method> | |
24345 | <method name="Reset" type="" overloaded="no"> | |
24346 | <autodoc>Reset()</autodoc> | |
24347 | </method> | |
24348 | <method name="Clone" type="GridCellEditor" overloaded="no"> | |
24349 | <autodoc>Clone() -> GridCellEditor</autodoc> | |
24350 | </method> | |
24351 | <method name="SetSize" type="" overloaded="no"> | |
24352 | <autodoc>SetSize(Rect rect)</autodoc> | |
24353 | <paramlist> | |
24354 | <param name="rect" type="Rect" default=""/> | |
24355 | </paramlist> | |
24356 | </method> | |
24357 | <method name="Show" type="" overloaded="no"> | |
24358 | <autodoc>Show(bool show, GridCellAttr attr=None)</autodoc> | |
24359 | <paramlist> | |
24360 | <param name="show" type="bool" default=""/> | |
24361 | <param name="attr" type="wxGridCellAttr" default="NULL"/> | |
24362 | </paramlist> | |
24363 | </method> | |
24364 | <method name="PaintBackground" type="" overloaded="no"> | |
24365 | <autodoc>PaintBackground(Rect rectCell, GridCellAttr attr)</autodoc> | |
24366 | <paramlist> | |
24367 | <param name="rectCell" type="Rect" default=""/> | |
24368 | <param name="attr" type="wxGridCellAttr" default=""/> | |
24369 | </paramlist> | |
24370 | </method> | |
24371 | <method name="IsAcceptedKey" type="bool" overloaded="no"> | |
24372 | <autodoc>IsAcceptedKey(KeyEvent event) -> bool</autodoc> | |
24373 | <paramlist> | |
24374 | <param name="event" type="KeyEvent" default=""/> | |
24375 | </paramlist> | |
24376 | </method> | |
24377 | <method name="StartingKey" type="" overloaded="no"> | |
24378 | <autodoc>StartingKey(KeyEvent event)</autodoc> | |
24379 | <paramlist> | |
24380 | <param name="event" type="KeyEvent" default=""/> | |
24381 | </paramlist> | |
24382 | </method> | |
24383 | <method name="StartingClick" type="" overloaded="no"> | |
24384 | <autodoc>StartingClick()</autodoc> | |
24385 | </method> | |
24386 | <method name="HandleReturn" type="" overloaded="no"> | |
24387 | <autodoc>HandleReturn(KeyEvent event)</autodoc> | |
24388 | <paramlist> | |
24389 | <param name="event" type="KeyEvent" default=""/> | |
24390 | </paramlist> | |
24391 | </method> | |
24392 | <method name="Destroy" type="" overloaded="no"> | |
24393 | <autodoc>Destroy()</autodoc> | |
24394 | </method> | |
24395 | </class> | |
24396 | <class name="PyGridCellEditor" oldname="wxPyGridCellEditor" module="grid"> | |
24397 | <baseclass name="GridCellEditor"/> | |
24398 | <constructor name="PyGridCellEditor" overloaded="no"> | |
24399 | <autodoc>__init__() -> PyGridCellEditor</autodoc> | |
24400 | </constructor> | |
24401 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
24402 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
24403 | <paramlist> | |
24404 | <param name="self" type="PyObject" default=""/> | |
24405 | <param name="_class" type="PyObject" default=""/> | |
24406 | </paramlist> | |
24407 | </method> | |
24408 | <method name="base_SetSize" type="" overloaded="no"> | |
24409 | <autodoc>base_SetSize(Rect rect)</autodoc> | |
24410 | <paramlist> | |
24411 | <param name="rect" type="Rect" default=""/> | |
24412 | </paramlist> | |
24413 | </method> | |
24414 | <method name="base_Show" type="" overloaded="no"> | |
24415 | <autodoc>base_Show(bool show, GridCellAttr attr=None)</autodoc> | |
24416 | <paramlist> | |
24417 | <param name="show" type="bool" default=""/> | |
24418 | <param name="attr" type="wxGridCellAttr" default="NULL"/> | |
24419 | </paramlist> | |
24420 | </method> | |
24421 | <method name="base_PaintBackground" type="" overloaded="no"> | |
24422 | <autodoc>base_PaintBackground(Rect rectCell, GridCellAttr attr)</autodoc> | |
24423 | <paramlist> | |
24424 | <param name="rectCell" type="Rect" default=""/> | |
24425 | <param name="attr" type="wxGridCellAttr" default=""/> | |
24426 | </paramlist> | |
24427 | </method> | |
24428 | <method name="base_IsAcceptedKey" type="bool" overloaded="no"> | |
24429 | <autodoc>base_IsAcceptedKey(KeyEvent event) -> bool</autodoc> | |
24430 | <paramlist> | |
24431 | <param name="event" type="KeyEvent" default=""/> | |
24432 | </paramlist> | |
24433 | </method> | |
24434 | <method name="base_StartingKey" type="" overloaded="no"> | |
24435 | <autodoc>base_StartingKey(KeyEvent event)</autodoc> | |
24436 | <paramlist> | |
24437 | <param name="event" type="KeyEvent" default=""/> | |
24438 | </paramlist> | |
24439 | </method> | |
24440 | <method name="base_StartingClick" type="" overloaded="no"> | |
24441 | <autodoc>base_StartingClick()</autodoc> | |
24442 | </method> | |
24443 | <method name="base_HandleReturn" type="" overloaded="no"> | |
24444 | <autodoc>base_HandleReturn(KeyEvent event)</autodoc> | |
24445 | <paramlist> | |
24446 | <param name="event" type="KeyEvent" default=""/> | |
24447 | </paramlist> | |
24448 | </method> | |
24449 | <method name="base_Destroy" type="" overloaded="no"> | |
24450 | <autodoc>base_Destroy()</autodoc> | |
24451 | </method> | |
24452 | <method name="base_SetParameters" type="" overloaded="no"> | |
24453 | <autodoc>base_SetParameters(String params)</autodoc> | |
24454 | <paramlist> | |
24455 | <param name="params" type="String" default=""/> | |
24456 | </paramlist> | |
24457 | </method> | |
24458 | </class> | |
24459 | <class name="GridCellTextEditor" oldname="wxGridCellTextEditor" module="grid"> | |
24460 | <baseclass name="GridCellEditor"/> | |
24461 | <constructor name="GridCellTextEditor" overloaded="no"> | |
24462 | <autodoc>__init__() -> GridCellTextEditor</autodoc> | |
24463 | </constructor> | |
24464 | <method name="GetValue" type="String" overloaded="no"> | |
24465 | <autodoc>GetValue() -> String</autodoc> | |
24466 | </method> | |
24467 | </class> | |
24468 | <class name="GridCellNumberEditor" oldname="wxGridCellNumberEditor" module="grid"> | |
24469 | <baseclass name="GridCellTextEditor"/> | |
24470 | <constructor name="GridCellNumberEditor" overloaded="no"> | |
24471 | <autodoc>__init__(int min=-1, int max=-1) -> GridCellNumberEditor</autodoc> | |
24472 | <paramlist> | |
24473 | <param name="min" type="int" default="-1"/> | |
24474 | <param name="max" type="int" default="-1"/> | |
24475 | </paramlist> | |
24476 | </constructor> | |
24477 | <method name="GetValue" type="String" overloaded="no"> | |
24478 | <autodoc>GetValue() -> String</autodoc> | |
24479 | </method> | |
24480 | </class> | |
24481 | <class name="GridCellFloatEditor" oldname="wxGridCellFloatEditor" module="grid"> | |
24482 | <baseclass name="GridCellTextEditor"/> | |
24483 | <constructor name="GridCellFloatEditor" overloaded="no"> | |
24484 | <autodoc>__init__() -> GridCellFloatEditor</autodoc> | |
24485 | </constructor> | |
24486 | <method name="GetValue" type="String" overloaded="no"> | |
24487 | <autodoc>GetValue() -> String</autodoc> | |
24488 | </method> | |
24489 | </class> | |
24490 | <class name="GridCellBoolEditor" oldname="wxGridCellBoolEditor" module="grid"> | |
24491 | <baseclass name="GridCellEditor"/> | |
24492 | <constructor name="GridCellBoolEditor" overloaded="no"> | |
24493 | <autodoc>__init__() -> GridCellBoolEditor</autodoc> | |
24494 | </constructor> | |
24495 | <method name="GetValue" type="String" overloaded="no"> | |
24496 | <autodoc>GetValue() -> String</autodoc> | |
24497 | </method> | |
24498 | </class> | |
24499 | <class name="GridCellChoiceEditor" oldname="wxGridCellChoiceEditor" module="grid"> | |
24500 | <baseclass name="GridCellEditor"/> | |
24501 | <constructor name="GridCellChoiceEditor" overloaded="no"> | |
24502 | <autodoc>__init__(int choices=0, String choices_array=None, bool allowOthers=False) -> GridCellChoiceEditor</autodoc> | |
24503 | <paramlist> | |
24504 | <param name="choices" type="int" default="0"/> | |
24505 | <param name="choices_array" type="String" default="NULL"/> | |
24506 | <param name="allowOthers" type="bool" default="False"/> | |
24507 | </paramlist> | |
24508 | </constructor> | |
24509 | <method name="GetValue" type="String" overloaded="no"> | |
24510 | <autodoc>GetValue() -> String</autodoc> | |
24511 | </method> | |
24512 | </class> | |
24513 | <class name="GridCellEnumEditor" oldname="wxGridCellEnumEditor" module="grid"> | |
24514 | <baseclass name="GridCellChoiceEditor"/> | |
24515 | <constructor name="GridCellEnumEditor" overloaded="no"> | |
24516 | <autodoc>__init__(String choices=EmptyString) -> GridCellEnumEditor</autodoc> | |
24517 | <paramlist> | |
24518 | <param name="choices" type="String" default="wxPyEmptyString"/> | |
24519 | </paramlist> | |
24520 | </constructor> | |
24521 | <method name="GetValue" type="String" overloaded="no"> | |
24522 | <autodoc>GetValue() -> String</autodoc> | |
24523 | </method> | |
24524 | </class> | |
24525 | <class name="GridCellAutoWrapStringEditor" oldname="wxGridCellAutoWrapStringEditor" module="grid"> | |
24526 | <baseclass name="GridCellTextEditor"/> | |
24527 | <constructor name="GridCellAutoWrapStringEditor" overloaded="no"> | |
24528 | <autodoc>__init__() -> GridCellAutoWrapStringEditor</autodoc> | |
24529 | </constructor> | |
24530 | <method name="GetValue" type="String" overloaded="no"> | |
24531 | <autodoc>GetValue() -> String</autodoc> | |
24532 | </method> | |
24533 | </class> | |
24534 | <class name="GridCellAttr" oldname="wxGridCellAttr" module="grid"> | |
24535 | <constructor name="GridCellAttr" overloaded="no"> | |
24536 | <autodoc>__init__(GridCellAttr attrDefault=None) -> GridCellAttr</autodoc> | |
24537 | <paramlist> | |
24538 | <param name="attrDefault" type="GridCellAttr" default="NULL"/> | |
24539 | </paramlist> | |
24540 | </constructor> | |
24541 | <method name="_setOORInfo" type="" overloaded="no"> | |
24542 | <autodoc>_setOORInfo(PyObject _self)</autodoc> | |
24543 | <paramlist> | |
24544 | <param name="_self" type="PyObject" default=""/> | |
24545 | </paramlist> | |
24546 | </method> | |
24547 | <method name="Clone" type="GridCellAttr" overloaded="no"> | |
24548 | <autodoc>Clone() -> GridCellAttr</autodoc> | |
24549 | </method> | |
24550 | <method name="MergeWith" type="" overloaded="no"> | |
24551 | <autodoc>MergeWith(GridCellAttr mergefrom)</autodoc> | |
24552 | <paramlist> | |
24553 | <param name="mergefrom" type="GridCellAttr" default=""/> | |
24554 | </paramlist> | |
24555 | </method> | |
24556 | <method name="IncRef" type="" overloaded="no"> | |
24557 | <autodoc>IncRef()</autodoc> | |
24558 | </method> | |
24559 | <method name="DecRef" type="" overloaded="no"> | |
24560 | <autodoc>DecRef()</autodoc> | |
24561 | </method> | |
24562 | <method name="SetTextColour" type="" overloaded="no"> | |
24563 | <autodoc>SetTextColour(Colour colText)</autodoc> | |
24564 | <paramlist> | |
24565 | <param name="colText" type="Colour" default=""/> | |
24566 | </paramlist> | |
24567 | </method> | |
24568 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
24569 | <autodoc>SetBackgroundColour(Colour colBack)</autodoc> | |
24570 | <paramlist> | |
24571 | <param name="colBack" type="Colour" default=""/> | |
24572 | </paramlist> | |
24573 | </method> | |
24574 | <method name="SetFont" type="" overloaded="no"> | |
24575 | <autodoc>SetFont(Font font)</autodoc> | |
24576 | <paramlist> | |
24577 | <param name="font" type="Font" default=""/> | |
24578 | </paramlist> | |
24579 | </method> | |
24580 | <method name="SetAlignment" type="" overloaded="no"> | |
24581 | <autodoc>SetAlignment(int hAlign, int vAlign)</autodoc> | |
24582 | <paramlist> | |
24583 | <param name="hAlign" type="int" default=""/> | |
24584 | <param name="vAlign" type="int" default=""/> | |
24585 | </paramlist> | |
24586 | </method> | |
24587 | <method name="SetSize" type="" overloaded="no"> | |
24588 | <autodoc>SetSize(int num_rows, int num_cols)</autodoc> | |
24589 | <paramlist> | |
24590 | <param name="num_rows" type="int" default=""/> | |
24591 | <param name="num_cols" type="int" default=""/> | |
24592 | </paramlist> | |
24593 | </method> | |
24594 | <method name="SetOverflow" type="" overloaded="no"> | |
24595 | <autodoc>SetOverflow(bool allow=True)</autodoc> | |
24596 | <paramlist> | |
24597 | <param name="allow" type="bool" default="True"/> | |
24598 | </paramlist> | |
24599 | </method> | |
24600 | <method name="SetReadOnly" type="" overloaded="no"> | |
24601 | <autodoc>SetReadOnly(bool isReadOnly=True)</autodoc> | |
24602 | <paramlist> | |
24603 | <param name="isReadOnly" type="bool" default="True"/> | |
24604 | </paramlist> | |
24605 | </method> | |
24606 | <method name="SetRenderer" type="" overloaded="no"> | |
24607 | <autodoc>SetRenderer(GridCellRenderer renderer)</autodoc> | |
24608 | <paramlist> | |
24609 | <param name="renderer" type="GridCellRenderer" default=""/> | |
24610 | </paramlist> | |
24611 | </method> | |
24612 | <method name="SetEditor" type="" overloaded="no"> | |
24613 | <autodoc>SetEditor(GridCellEditor editor)</autodoc> | |
24614 | <paramlist> | |
24615 | <param name="editor" type="GridCellEditor" default=""/> | |
24616 | </paramlist> | |
24617 | </method> | |
24618 | <method name="SetKind" type="" overloaded="no"> | |
24619 | <autodoc>SetKind(int kind)</autodoc> | |
24620 | <paramlist> | |
24621 | <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/> | |
24622 | </paramlist> | |
24623 | </method> | |
24624 | <method name="HasTextColour" type="bool" overloaded="no"> | |
24625 | <autodoc>HasTextColour() -> bool</autodoc> | |
24626 | </method> | |
24627 | <method name="HasBackgroundColour" type="bool" overloaded="no"> | |
24628 | <autodoc>HasBackgroundColour() -> bool</autodoc> | |
24629 | </method> | |
24630 | <method name="HasFont" type="bool" overloaded="no"> | |
24631 | <autodoc>HasFont() -> bool</autodoc> | |
24632 | </method> | |
24633 | <method name="HasAlignment" type="bool" overloaded="no"> | |
24634 | <autodoc>HasAlignment() -> bool</autodoc> | |
24635 | </method> | |
24636 | <method name="HasRenderer" type="bool" overloaded="no"> | |
24637 | <autodoc>HasRenderer() -> bool</autodoc> | |
24638 | </method> | |
24639 | <method name="HasEditor" type="bool" overloaded="no"> | |
24640 | <autodoc>HasEditor() -> bool</autodoc> | |
24641 | </method> | |
24642 | <method name="HasReadWriteMode" type="bool" overloaded="no"> | |
24643 | <autodoc>HasReadWriteMode() -> bool</autodoc> | |
24644 | </method> | |
24645 | <method name="HasOverflowMode" type="bool" overloaded="no"> | |
24646 | <autodoc>HasOverflowMode() -> bool</autodoc> | |
24647 | </method> | |
24648 | <method name="GetTextColour" type="Colour" overloaded="no"> | |
24649 | <autodoc>GetTextColour() -> Colour</autodoc> | |
24650 | </method> | |
24651 | <method name="GetBackgroundColour" type="Colour" overloaded="no"> | |
24652 | <autodoc>GetBackgroundColour() -> Colour</autodoc> | |
24653 | </method> | |
24654 | <method name="GetFont" type="Font" overloaded="no"> | |
24655 | <autodoc>GetFont() -> Font</autodoc> | |
24656 | </method> | |
24657 | <method name="GetAlignment" type="" overloaded="no"> | |
24658 | <autodoc>GetAlignment() -> (hAlign, vAlign)</autodoc> | |
24659 | <paramlist> | |
24660 | <param name="OUTPUT" type="int" default=""/> | |
24661 | <param name="OUTPUT" type="int" default=""/> | |
24662 | </paramlist> | |
24663 | </method> | |
24664 | <method name="GetSize" type="" overloaded="no"> | |
24665 | <autodoc>GetSize() -> (num_rows, num_cols)</autodoc> | |
24666 | <paramlist> | |
24667 | <param name="OUTPUT" type="int" default=""/> | |
24668 | <param name="OUTPUT" type="int" default=""/> | |
24669 | </paramlist> | |
24670 | </method> | |
24671 | <method name="GetOverflow" type="bool" overloaded="no"> | |
24672 | <autodoc>GetOverflow() -> bool</autodoc> | |
24673 | </method> | |
24674 | <method name="GetRenderer" type="GridCellRenderer" overloaded="no"> | |
24675 | <autodoc>GetRenderer(Grid grid, int row, int col) -> GridCellRenderer</autodoc> | |
24676 | <paramlist> | |
24677 | <param name="grid" type="wxGrid" default=""/> | |
24678 | <param name="row" type="int" default=""/> | |
24679 | <param name="col" type="int" default=""/> | |
24680 | </paramlist> | |
24681 | </method> | |
24682 | <method name="GetEditor" type="GridCellEditor" overloaded="no"> | |
24683 | <autodoc>GetEditor(Grid grid, int row, int col) -> GridCellEditor</autodoc> | |
24684 | <paramlist> | |
24685 | <param name="grid" type="wxGrid" default=""/> | |
24686 | <param name="row" type="int" default=""/> | |
24687 | <param name="col" type="int" default=""/> | |
24688 | </paramlist> | |
24689 | </method> | |
24690 | <method name="IsReadOnly" type="bool" overloaded="no"> | |
24691 | <autodoc>IsReadOnly() -> bool</autodoc> | |
24692 | </method> | |
24693 | <method name="SetDefAttr" type="" overloaded="no"> | |
24694 | <autodoc>SetDefAttr(GridCellAttr defAttr)</autodoc> | |
24695 | <paramlist> | |
24696 | <param name="defAttr" type="GridCellAttr" default=""/> | |
24697 | </paramlist> | |
24698 | </method> | |
24699 | </class> | |
24700 | <class name="GridCellAttrProvider" oldname="wxGridCellAttrProvider" module="grid"> | |
24701 | <constructor name="GridCellAttrProvider" overloaded="no"> | |
24702 | <autodoc>__init__() -> GridCellAttrProvider</autodoc> | |
24703 | </constructor> | |
24704 | <method name="_setOORInfo" type="" overloaded="no"> | |
24705 | <autodoc>_setOORInfo(PyObject _self)</autodoc> | |
24706 | <paramlist> | |
24707 | <param name="_self" type="PyObject" default=""/> | |
24708 | </paramlist> | |
24709 | </method> | |
24710 | <method name="GetAttr" type="GridCellAttr" overloaded="no"> | |
24711 | <autodoc>GetAttr(int row, int col, int kind) -> GridCellAttr</autodoc> | |
24712 | <paramlist> | |
24713 | <param name="row" type="int" default=""/> | |
24714 | <param name="col" type="int" default=""/> | |
24715 | <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/> | |
24716 | </paramlist> | |
24717 | </method> | |
24718 | <method name="SetAttr" type="" overloaded="no"> | |
24719 | <autodoc>SetAttr(GridCellAttr attr, int row, int col)</autodoc> | |
24720 | <paramlist> | |
24721 | <param name="attr" type="GridCellAttr" default=""/> | |
24722 | <param name="row" type="int" default=""/> | |
24723 | <param name="col" type="int" default=""/> | |
24724 | </paramlist> | |
24725 | </method> | |
24726 | <method name="SetRowAttr" type="" overloaded="no"> | |
24727 | <autodoc>SetRowAttr(GridCellAttr attr, int row)</autodoc> | |
24728 | <paramlist> | |
24729 | <param name="attr" type="GridCellAttr" default=""/> | |
24730 | <param name="row" type="int" default=""/> | |
24731 | </paramlist> | |
24732 | </method> | |
24733 | <method name="SetColAttr" type="" overloaded="no"> | |
24734 | <autodoc>SetColAttr(GridCellAttr attr, int col)</autodoc> | |
24735 | <paramlist> | |
24736 | <param name="attr" type="GridCellAttr" default=""/> | |
24737 | <param name="col" type="int" default=""/> | |
24738 | </paramlist> | |
24739 | </method> | |
24740 | <method name="UpdateAttrRows" type="" overloaded="no"> | |
24741 | <autodoc>UpdateAttrRows(size_t pos, int numRows)</autodoc> | |
24742 | <paramlist> | |
24743 | <param name="pos" type="size_t" default=""/> | |
24744 | <param name="numRows" type="int" default=""/> | |
24745 | </paramlist> | |
24746 | </method> | |
24747 | <method name="UpdateAttrCols" type="" overloaded="no"> | |
24748 | <autodoc>UpdateAttrCols(size_t pos, int numCols)</autodoc> | |
24749 | <paramlist> | |
24750 | <param name="pos" type="size_t" default=""/> | |
24751 | <param name="numCols" type="int" default=""/> | |
24752 | </paramlist> | |
24753 | </method> | |
24754 | </class> | |
24755 | <class name="PyGridCellAttrProvider" oldname="wxPyGridCellAttrProvider" module="grid"> | |
24756 | <baseclass name="GridCellAttrProvider"/> | |
24757 | <constructor name="PyGridCellAttrProvider" overloaded="no"> | |
24758 | <autodoc>__init__() -> PyGridCellAttrProvider</autodoc> | |
24759 | </constructor> | |
24760 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
24761 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
24762 | <paramlist> | |
24763 | <param name="self" type="PyObject" default=""/> | |
24764 | <param name="_class" type="PyObject" default=""/> | |
24765 | </paramlist> | |
24766 | </method> | |
24767 | <method name="base_GetAttr" type="GridCellAttr" overloaded="no"> | |
24768 | <autodoc>base_GetAttr(int row, int col, int kind) -> GridCellAttr</autodoc> | |
24769 | <paramlist> | |
24770 | <param name="row" type="int" default=""/> | |
24771 | <param name="col" type="int" default=""/> | |
24772 | <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/> | |
24773 | </paramlist> | |
24774 | </method> | |
24775 | <method name="base_SetAttr" type="" overloaded="no"> | |
24776 | <autodoc>base_SetAttr(GridCellAttr attr, int row, int col)</autodoc> | |
24777 | <paramlist> | |
24778 | <param name="attr" type="GridCellAttr" default=""/> | |
24779 | <param name="row" type="int" default=""/> | |
24780 | <param name="col" type="int" default=""/> | |
24781 | </paramlist> | |
24782 | </method> | |
24783 | <method name="base_SetRowAttr" type="" overloaded="no"> | |
24784 | <autodoc>base_SetRowAttr(GridCellAttr attr, int row)</autodoc> | |
24785 | <paramlist> | |
24786 | <param name="attr" type="GridCellAttr" default=""/> | |
24787 | <param name="row" type="int" default=""/> | |
24788 | </paramlist> | |
24789 | </method> | |
24790 | <method name="base_SetColAttr" type="" overloaded="no"> | |
24791 | <autodoc>base_SetColAttr(GridCellAttr attr, int col)</autodoc> | |
24792 | <paramlist> | |
24793 | <param name="attr" type="GridCellAttr" default=""/> | |
24794 | <param name="col" type="int" default=""/> | |
24795 | </paramlist> | |
24796 | </method> | |
24797 | </class> | |
24798 | <class name="GridTableBase" oldname="wxGridTableBase" module="grid"> | |
24799 | <baseclass name="Object"/> | |
24800 | <method name="_setOORInfo" type="" overloaded="no"> | |
24801 | <autodoc>_setOORInfo(PyObject _self)</autodoc> | |
24802 | <paramlist> | |
24803 | <param name="_self" type="PyObject" default=""/> | |
24804 | </paramlist> | |
24805 | </method> | |
24806 | <method name="SetAttrProvider" type="" overloaded="no"> | |
24807 | <autodoc>SetAttrProvider(GridCellAttrProvider attrProvider)</autodoc> | |
24808 | <paramlist> | |
24809 | <param name="attrProvider" type="GridCellAttrProvider" default=""/> | |
24810 | </paramlist> | |
24811 | </method> | |
24812 | <method name="GetAttrProvider" type="GridCellAttrProvider" overloaded="no"> | |
24813 | <autodoc>GetAttrProvider() -> GridCellAttrProvider</autodoc> | |
24814 | </method> | |
24815 | <method name="SetView" type="" overloaded="no"> | |
24816 | <autodoc>SetView(Grid grid)</autodoc> | |
24817 | <paramlist> | |
24818 | <param name="grid" type="wxGrid" default=""/> | |
24819 | </paramlist> | |
24820 | </method> | |
24821 | <method name="GetView" type="wxGrid" overloaded="no"> | |
24822 | <autodoc>GetView() -> Grid</autodoc> | |
24823 | </method> | |
24824 | <method name="GetNumberRows" type="int" overloaded="no"> | |
24825 | <autodoc>GetNumberRows() -> int</autodoc> | |
24826 | </method> | |
24827 | <method name="GetNumberCols" type="int" overloaded="no"> | |
24828 | <autodoc>GetNumberCols() -> int</autodoc> | |
24829 | </method> | |
24830 | <method name="IsEmptyCell" type="bool" overloaded="no"> | |
24831 | <autodoc>IsEmptyCell(int row, int col) -> bool</autodoc> | |
24832 | <paramlist> | |
24833 | <param name="row" type="int" default=""/> | |
24834 | <param name="col" type="int" default=""/> | |
24835 | </paramlist> | |
24836 | </method> | |
24837 | <method name="GetValue" type="String" overloaded="no"> | |
24838 | <autodoc>GetValue(int row, int col) -> String</autodoc> | |
24839 | <paramlist> | |
24840 | <param name="row" type="int" default=""/> | |
24841 | <param name="col" type="int" default=""/> | |
24842 | </paramlist> | |
24843 | </method> | |
24844 | <method name="SetValue" type="" overloaded="no"> | |
24845 | <autodoc>SetValue(int row, int col, String value)</autodoc> | |
24846 | <paramlist> | |
24847 | <param name="row" type="int" default=""/> | |
24848 | <param name="col" type="int" default=""/> | |
24849 | <param name="value" type="String" default=""/> | |
24850 | </paramlist> | |
24851 | </method> | |
24852 | <method name="GetTypeName" type="String" overloaded="no"> | |
24853 | <autodoc>GetTypeName(int row, int col) -> String</autodoc> | |
24854 | <paramlist> | |
24855 | <param name="row" type="int" default=""/> | |
24856 | <param name="col" type="int" default=""/> | |
24857 | </paramlist> | |
24858 | </method> | |
24859 | <method name="CanGetValueAs" type="bool" overloaded="no"> | |
24860 | <autodoc>CanGetValueAs(int row, int col, String typeName) -> bool</autodoc> | |
24861 | <paramlist> | |
24862 | <param name="row" type="int" default=""/> | |
24863 | <param name="col" type="int" default=""/> | |
24864 | <param name="typeName" type="String" default=""/> | |
24865 | </paramlist> | |
24866 | </method> | |
24867 | <method name="CanSetValueAs" type="bool" overloaded="no"> | |
24868 | <autodoc>CanSetValueAs(int row, int col, String typeName) -> bool</autodoc> | |
24869 | <paramlist> | |
24870 | <param name="row" type="int" default=""/> | |
24871 | <param name="col" type="int" default=""/> | |
24872 | <param name="typeName" type="String" default=""/> | |
24873 | </paramlist> | |
24874 | </method> | |
24875 | <method name="GetValueAsLong" type="long" overloaded="no"> | |
24876 | <autodoc>GetValueAsLong(int row, int col) -> long</autodoc> | |
24877 | <paramlist> | |
24878 | <param name="row" type="int" default=""/> | |
24879 | <param name="col" type="int" default=""/> | |
24880 | </paramlist> | |
24881 | </method> | |
24882 | <method name="GetValueAsDouble" type="double" overloaded="no"> | |
24883 | <autodoc>GetValueAsDouble(int row, int col) -> double</autodoc> | |
24884 | <paramlist> | |
24885 | <param name="row" type="int" default=""/> | |
24886 | <param name="col" type="int" default=""/> | |
24887 | </paramlist> | |
24888 | </method> | |
24889 | <method name="GetValueAsBool" type="bool" overloaded="no"> | |
24890 | <autodoc>GetValueAsBool(int row, int col) -> bool</autodoc> | |
24891 | <paramlist> | |
24892 | <param name="row" type="int" default=""/> | |
24893 | <param name="col" type="int" default=""/> | |
24894 | </paramlist> | |
24895 | </method> | |
24896 | <method name="SetValueAsLong" type="" overloaded="no"> | |
24897 | <autodoc>SetValueAsLong(int row, int col, long value)</autodoc> | |
24898 | <paramlist> | |
24899 | <param name="row" type="int" default=""/> | |
24900 | <param name="col" type="int" default=""/> | |
24901 | <param name="value" type="long" default=""/> | |
24902 | </paramlist> | |
24903 | </method> | |
24904 | <method name="SetValueAsDouble" type="" overloaded="no"> | |
24905 | <autodoc>SetValueAsDouble(int row, int col, double value)</autodoc> | |
24906 | <paramlist> | |
24907 | <param name="row" type="int" default=""/> | |
24908 | <param name="col" type="int" default=""/> | |
24909 | <param name="value" type="double" default=""/> | |
24910 | </paramlist> | |
24911 | </method> | |
24912 | <method name="SetValueAsBool" type="" overloaded="no"> | |
24913 | <autodoc>SetValueAsBool(int row, int col, bool value)</autodoc> | |
24914 | <paramlist> | |
24915 | <param name="row" type="int" default=""/> | |
24916 | <param name="col" type="int" default=""/> | |
24917 | <param name="value" type="bool" default=""/> | |
24918 | </paramlist> | |
24919 | </method> | |
24920 | <method name="Clear" type="" overloaded="no"> | |
24921 | <autodoc>Clear()</autodoc> | |
24922 | </method> | |
24923 | <method name="InsertRows" type="bool" overloaded="no"> | |
24924 | <autodoc>InsertRows(size_t pos=0, size_t numRows=1) -> bool</autodoc> | |
24925 | <paramlist> | |
24926 | <param name="pos" type="size_t" default="0"/> | |
24927 | <param name="numRows" type="size_t" default="1"/> | |
24928 | </paramlist> | |
24929 | </method> | |
24930 | <method name="AppendRows" type="bool" overloaded="no"> | |
24931 | <autodoc>AppendRows(size_t numRows=1) -> bool</autodoc> | |
24932 | <paramlist> | |
24933 | <param name="numRows" type="size_t" default="1"/> | |
24934 | </paramlist> | |
24935 | </method> | |
24936 | <method name="DeleteRows" type="bool" overloaded="no"> | |
24937 | <autodoc>DeleteRows(size_t pos=0, size_t numRows=1) -> bool</autodoc> | |
24938 | <paramlist> | |
24939 | <param name="pos" type="size_t" default="0"/> | |
24940 | <param name="numRows" type="size_t" default="1"/> | |
24941 | </paramlist> | |
24942 | </method> | |
24943 | <method name="InsertCols" type="bool" overloaded="no"> | |
24944 | <autodoc>InsertCols(size_t pos=0, size_t numCols=1) -> bool</autodoc> | |
24945 | <paramlist> | |
24946 | <param name="pos" type="size_t" default="0"/> | |
24947 | <param name="numCols" type="size_t" default="1"/> | |
24948 | </paramlist> | |
24949 | </method> | |
24950 | <method name="AppendCols" type="bool" overloaded="no"> | |
24951 | <autodoc>AppendCols(size_t numCols=1) -> bool</autodoc> | |
24952 | <paramlist> | |
24953 | <param name="numCols" type="size_t" default="1"/> | |
24954 | </paramlist> | |
24955 | </method> | |
24956 | <method name="DeleteCols" type="bool" overloaded="no"> | |
24957 | <autodoc>DeleteCols(size_t pos=0, size_t numCols=1) -> bool</autodoc> | |
24958 | <paramlist> | |
24959 | <param name="pos" type="size_t" default="0"/> | |
24960 | <param name="numCols" type="size_t" default="1"/> | |
24961 | </paramlist> | |
24962 | </method> | |
24963 | <method name="GetRowLabelValue" type="String" overloaded="no"> | |
24964 | <autodoc>GetRowLabelValue(int row) -> String</autodoc> | |
24965 | <paramlist> | |
24966 | <param name="row" type="int" default=""/> | |
24967 | </paramlist> | |
24968 | </method> | |
24969 | <method name="GetColLabelValue" type="String" overloaded="no"> | |
24970 | <autodoc>GetColLabelValue(int col) -> String</autodoc> | |
24971 | <paramlist> | |
24972 | <param name="col" type="int" default=""/> | |
24973 | </paramlist> | |
24974 | </method> | |
24975 | <method name="SetRowLabelValue" type="" overloaded="no"> | |
24976 | <autodoc>SetRowLabelValue(int row, String value)</autodoc> | |
24977 | <paramlist> | |
24978 | <param name="row" type="int" default=""/> | |
24979 | <param name="value" type="String" default=""/> | |
24980 | </paramlist> | |
24981 | </method> | |
24982 | <method name="SetColLabelValue" type="" overloaded="no"> | |
24983 | <autodoc>SetColLabelValue(int col, String value)</autodoc> | |
24984 | <paramlist> | |
24985 | <param name="col" type="int" default=""/> | |
24986 | <param name="value" type="String" default=""/> | |
24987 | </paramlist> | |
24988 | </method> | |
24989 | <method name="CanHaveAttributes" type="bool" overloaded="no"> | |
24990 | <autodoc>CanHaveAttributes() -> bool</autodoc> | |
24991 | </method> | |
24992 | <method name="GetAttr" type="GridCellAttr" overloaded="no"> | |
24993 | <autodoc>GetAttr(int row, int col, int kind) -> GridCellAttr</autodoc> | |
24994 | <paramlist> | |
24995 | <param name="row" type="int" default=""/> | |
24996 | <param name="col" type="int" default=""/> | |
24997 | <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/> | |
24998 | </paramlist> | |
24999 | </method> | |
25000 | <method name="SetAttr" type="" overloaded="no"> | |
25001 | <autodoc>SetAttr(GridCellAttr attr, int row, int col)</autodoc> | |
25002 | <paramlist> | |
25003 | <param name="attr" type="GridCellAttr" default=""/> | |
25004 | <param name="row" type="int" default=""/> | |
25005 | <param name="col" type="int" default=""/> | |
25006 | </paramlist> | |
25007 | </method> | |
25008 | <method name="SetRowAttr" type="" overloaded="no"> | |
25009 | <autodoc>SetRowAttr(GridCellAttr attr, int row)</autodoc> | |
25010 | <paramlist> | |
25011 | <param name="attr" type="GridCellAttr" default=""/> | |
25012 | <param name="row" type="int" default=""/> | |
25013 | </paramlist> | |
25014 | </method> | |
25015 | <method name="SetColAttr" type="" overloaded="no"> | |
25016 | <autodoc>SetColAttr(GridCellAttr attr, int col)</autodoc> | |
25017 | <paramlist> | |
25018 | <param name="attr" type="GridCellAttr" default=""/> | |
25019 | <param name="col" type="int" default=""/> | |
25020 | </paramlist> | |
25021 | </method> | |
25022 | </class> | |
25023 | <class name="PyGridTableBase" oldname="wxPyGridTableBase" module="grid"> | |
25024 | <baseclass name="GridTableBase"/> | |
25025 | <constructor name="PyGridTableBase" overloaded="no"> | |
25026 | <autodoc>__init__() -> PyGridTableBase</autodoc> | |
25027 | </constructor> | |
25028 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
25029 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
25030 | <paramlist> | |
25031 | <param name="self" type="PyObject" default=""/> | |
25032 | <param name="_class" type="PyObject" default=""/> | |
25033 | </paramlist> | |
25034 | </method> | |
25035 | <method name="Destroy" type="" overloaded="no"> | |
25036 | <autodoc>Destroy()</autodoc> | |
25037 | <docstring>Deletes the C++ object this Python object is a proxy for.</docstring> | |
25038 | </method> | |
25039 | <method name="base_GetTypeName" type="String" overloaded="no"> | |
25040 | <autodoc>base_GetTypeName(int row, int col) -> String</autodoc> | |
25041 | <paramlist> | |
25042 | <param name="row" type="int" default=""/> | |
25043 | <param name="col" type="int" default=""/> | |
25044 | </paramlist> | |
25045 | </method> | |
25046 | <method name="base_CanGetValueAs" type="bool" overloaded="no"> | |
25047 | <autodoc>base_CanGetValueAs(int row, int col, String typeName) -> bool</autodoc> | |
25048 | <paramlist> | |
25049 | <param name="row" type="int" default=""/> | |
25050 | <param name="col" type="int" default=""/> | |
25051 | <param name="typeName" type="String" default=""/> | |
25052 | </paramlist> | |
25053 | </method> | |
25054 | <method name="base_CanSetValueAs" type="bool" overloaded="no"> | |
25055 | <autodoc>base_CanSetValueAs(int row, int col, String typeName) -> bool</autodoc> | |
25056 | <paramlist> | |
25057 | <param name="row" type="int" default=""/> | |
25058 | <param name="col" type="int" default=""/> | |
25059 | <param name="typeName" type="String" default=""/> | |
25060 | </paramlist> | |
25061 | </method> | |
25062 | <method name="base_Clear" type="" overloaded="no"> | |
25063 | <autodoc>base_Clear()</autodoc> | |
25064 | </method> | |
25065 | <method name="base_InsertRows" type="bool" overloaded="no"> | |
25066 | <autodoc>base_InsertRows(size_t pos=0, size_t numRows=1) -> bool</autodoc> | |
25067 | <paramlist> | |
25068 | <param name="pos" type="size_t" default="0"/> | |
25069 | <param name="numRows" type="size_t" default="1"/> | |
25070 | </paramlist> | |
25071 | </method> | |
25072 | <method name="base_AppendRows" type="bool" overloaded="no"> | |
25073 | <autodoc>base_AppendRows(size_t numRows=1) -> bool</autodoc> | |
25074 | <paramlist> | |
25075 | <param name="numRows" type="size_t" default="1"/> | |
25076 | </paramlist> | |
25077 | </method> | |
25078 | <method name="base_DeleteRows" type="bool" overloaded="no"> | |
25079 | <autodoc>base_DeleteRows(size_t pos=0, size_t numRows=1) -> bool</autodoc> | |
25080 | <paramlist> | |
25081 | <param name="pos" type="size_t" default="0"/> | |
25082 | <param name="numRows" type="size_t" default="1"/> | |
25083 | </paramlist> | |
25084 | </method> | |
25085 | <method name="base_InsertCols" type="bool" overloaded="no"> | |
25086 | <autodoc>base_InsertCols(size_t pos=0, size_t numCols=1) -> bool</autodoc> | |
25087 | <paramlist> | |
25088 | <param name="pos" type="size_t" default="0"/> | |
25089 | <param name="numCols" type="size_t" default="1"/> | |
25090 | </paramlist> | |
25091 | </method> | |
25092 | <method name="base_AppendCols" type="bool" overloaded="no"> | |
25093 | <autodoc>base_AppendCols(size_t numCols=1) -> bool</autodoc> | |
25094 | <paramlist> | |
25095 | <param name="numCols" type="size_t" default="1"/> | |
25096 | </paramlist> | |
25097 | </method> | |
25098 | <method name="base_DeleteCols" type="bool" overloaded="no"> | |
25099 | <autodoc>base_DeleteCols(size_t pos=0, size_t numCols=1) -> bool</autodoc> | |
25100 | <paramlist> | |
25101 | <param name="pos" type="size_t" default="0"/> | |
25102 | <param name="numCols" type="size_t" default="1"/> | |
25103 | </paramlist> | |
25104 | </method> | |
25105 | <method name="base_GetRowLabelValue" type="String" overloaded="no"> | |
25106 | <autodoc>base_GetRowLabelValue(int row) -> String</autodoc> | |
25107 | <paramlist> | |
25108 | <param name="row" type="int" default=""/> | |
25109 | </paramlist> | |
25110 | </method> | |
25111 | <method name="base_GetColLabelValue" type="String" overloaded="no"> | |
25112 | <autodoc>base_GetColLabelValue(int col) -> String</autodoc> | |
25113 | <paramlist> | |
25114 | <param name="col" type="int" default=""/> | |
25115 | </paramlist> | |
25116 | </method> | |
25117 | <method name="base_SetRowLabelValue" type="" overloaded="no"> | |
25118 | <autodoc>base_SetRowLabelValue(int row, String value)</autodoc> | |
25119 | <paramlist> | |
25120 | <param name="row" type="int" default=""/> | |
25121 | <param name="value" type="String" default=""/> | |
25122 | </paramlist> | |
25123 | </method> | |
25124 | <method name="base_SetColLabelValue" type="" overloaded="no"> | |
25125 | <autodoc>base_SetColLabelValue(int col, String value)</autodoc> | |
25126 | <paramlist> | |
25127 | <param name="col" type="int" default=""/> | |
25128 | <param name="value" type="String" default=""/> | |
25129 | </paramlist> | |
25130 | </method> | |
25131 | <method name="base_CanHaveAttributes" type="bool" overloaded="no"> | |
25132 | <autodoc>base_CanHaveAttributes() -> bool</autodoc> | |
25133 | </method> | |
25134 | <method name="base_GetAttr" type="GridCellAttr" overloaded="no"> | |
25135 | <autodoc>base_GetAttr(int row, int col, int kind) -> GridCellAttr</autodoc> | |
25136 | <paramlist> | |
25137 | <param name="row" type="int" default=""/> | |
25138 | <param name="col" type="int" default=""/> | |
25139 | <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/> | |
25140 | </paramlist> | |
25141 | </method> | |
25142 | <method name="base_SetAttr" type="" overloaded="no"> | |
25143 | <autodoc>base_SetAttr(GridCellAttr attr, int row, int col)</autodoc> | |
25144 | <paramlist> | |
25145 | <param name="attr" type="GridCellAttr" default=""/> | |
25146 | <param name="row" type="int" default=""/> | |
25147 | <param name="col" type="int" default=""/> | |
25148 | </paramlist> | |
25149 | </method> | |
25150 | <method name="base_SetRowAttr" type="" overloaded="no"> | |
25151 | <autodoc>base_SetRowAttr(GridCellAttr attr, int row)</autodoc> | |
25152 | <paramlist> | |
25153 | <param name="attr" type="GridCellAttr" default=""/> | |
25154 | <param name="row" type="int" default=""/> | |
25155 | </paramlist> | |
25156 | </method> | |
25157 | <method name="base_SetColAttr" type="" overloaded="no"> | |
25158 | <autodoc>base_SetColAttr(GridCellAttr attr, int col)</autodoc> | |
25159 | <paramlist> | |
25160 | <param name="attr" type="GridCellAttr" default=""/> | |
25161 | <param name="col" type="int" default=""/> | |
25162 | </paramlist> | |
25163 | </method> | |
25164 | </class> | |
25165 | <class name="GridStringTable" oldname="wxGridStringTable" module="grid"> | |
25166 | <baseclass name="GridTableBase"/> | |
25167 | <constructor name="GridStringTable" overloaded="no"> | |
25168 | <autodoc>__init__(int numRows=0, int numCols=0) -> GridStringTable</autodoc> | |
25169 | <paramlist> | |
25170 | <param name="numRows" type="int" default="0"/> | |
25171 | <param name="numCols" type="int" default="0"/> | |
25172 | </paramlist> | |
25173 | </constructor> | |
25174 | </class> | |
25175 | <class name="GridTableMessage" oldname="wxGridTableMessage" module="grid"> | |
25176 | <constructor name="GridTableMessage" overloaded="no"> | |
25177 | <autodoc>__init__(GridTableBase table, int id, int comInt1=-1, int comInt2=-1) -> GridTableMessage</autodoc> | |
25178 | <paramlist> | |
25179 | <param name="table" type="GridTableBase" default=""/> | |
25180 | <param name="id" type="int" default=""/> | |
25181 | <param name="comInt1" type="int" default="-1"/> | |
25182 | <param name="comInt2" type="int" default="-1"/> | |
25183 | </paramlist> | |
25184 | </constructor> | |
25185 | <destructor name="~wxGridTableMessage" overloaded="no"> | |
25186 | <autodoc>__del__()</autodoc> | |
25187 | </destructor> | |
25188 | <method name="SetTableObject" type="" overloaded="no"> | |
25189 | <autodoc>SetTableObject(GridTableBase table)</autodoc> | |
25190 | <paramlist> | |
25191 | <param name="table" type="GridTableBase" default=""/> | |
25192 | </paramlist> | |
25193 | </method> | |
25194 | <method name="GetTableObject" type="GridTableBase" overloaded="no"> | |
25195 | <autodoc>GetTableObject() -> GridTableBase</autodoc> | |
25196 | </method> | |
25197 | <method name="SetId" type="" overloaded="no"> | |
25198 | <autodoc>SetId(int id)</autodoc> | |
25199 | <paramlist> | |
25200 | <param name="id" type="int" default=""/> | |
25201 | </paramlist> | |
25202 | </method> | |
25203 | <method name="GetId" type="int" overloaded="no"> | |
25204 | <autodoc>GetId() -> int</autodoc> | |
25205 | </method> | |
25206 | <method name="SetCommandInt" type="" overloaded="no"> | |
25207 | <autodoc>SetCommandInt(int comInt1)</autodoc> | |
25208 | <paramlist> | |
25209 | <param name="comInt1" type="int" default=""/> | |
25210 | </paramlist> | |
25211 | </method> | |
25212 | <method name="GetCommandInt" type="int" overloaded="no"> | |
25213 | <autodoc>GetCommandInt() -> int</autodoc> | |
25214 | </method> | |
25215 | <method name="SetCommandInt2" type="" overloaded="no"> | |
25216 | <autodoc>SetCommandInt2(int comInt2)</autodoc> | |
25217 | <paramlist> | |
25218 | <param name="comInt2" type="int" default=""/> | |
25219 | </paramlist> | |
25220 | </method> | |
25221 | <method name="GetCommandInt2" type="int" overloaded="no"> | |
25222 | <autodoc>GetCommandInt2() -> int</autodoc> | |
25223 | </method> | |
25224 | </class> | |
25225 | <class name="GridCellCoords" oldname="wxGridCellCoords" module="grid"> | |
25226 | <constructor name="GridCellCoords" overloaded="no"> | |
25227 | <autodoc>__init__(int r=-1, int c=-1) -> GridCellCoords</autodoc> | |
25228 | <paramlist> | |
25229 | <param name="r" type="int" default="-1"/> | |
25230 | <param name="c" type="int" default="-1"/> | |
25231 | </paramlist> | |
25232 | </constructor> | |
25233 | <destructor name="~wxGridCellCoords" overloaded="no"> | |
25234 | <autodoc>__del__()</autodoc> | |
25235 | </destructor> | |
25236 | <method name="GetRow" type="int" overloaded="no"> | |
25237 | <autodoc>GetRow() -> int</autodoc> | |
25238 | </method> | |
25239 | <method name="SetRow" type="" overloaded="no"> | |
25240 | <autodoc>SetRow(int n)</autodoc> | |
25241 | <paramlist> | |
25242 | <param name="n" type="int" default=""/> | |
25243 | </paramlist> | |
25244 | </method> | |
25245 | <method name="GetCol" type="int" overloaded="no"> | |
25246 | <autodoc>GetCol() -> int</autodoc> | |
25247 | </method> | |
25248 | <method name="SetCol" type="" overloaded="no"> | |
25249 | <autodoc>SetCol(int n)</autodoc> | |
25250 | <paramlist> | |
25251 | <param name="n" type="int" default=""/> | |
25252 | </paramlist> | |
25253 | </method> | |
25254 | <method name="Set" type="" overloaded="no"> | |
25255 | <autodoc>Set(int row, int col)</autodoc> | |
25256 | <paramlist> | |
25257 | <param name="row" type="int" default=""/> | |
25258 | <param name="col" type="int" default=""/> | |
25259 | </paramlist> | |
25260 | </method> | |
25261 | <method name="__eq__" type="bool" overloaded="no"> | |
25262 | <autodoc>__eq__(GridCellCoords other) -> bool</autodoc> | |
25263 | <paramlist> | |
25264 | <param name="other" type="GridCellCoords" default=""/> | |
25265 | </paramlist> | |
25266 | </method> | |
25267 | <method name="__ne__" type="bool" overloaded="no"> | |
25268 | <autodoc>__ne__(GridCellCoords other) -> bool</autodoc> | |
25269 | <paramlist> | |
25270 | <param name="other" type="GridCellCoords" default=""/> | |
25271 | </paramlist> | |
25272 | </method> | |
25273 | <method name="asTuple" type="PyObject" overloaded="no"> | |
25274 | <autodoc>asTuple() -> PyObject</autodoc> | |
25275 | </method> | |
25276 | </class> | |
25277 | <class name="Grid" oldname="wxGrid" module="grid"> | |
25278 | <baseclass name="ScrolledWindow"/> | |
25279 | <constructor name="Grid" overloaded="no"> | |
25280 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
25281 | long style=WANTS_CHARS, | |
25282 | String name=PanelNameStr) -> Grid</autodoc> | |
25283 | <paramlist> | |
25284 | <param name="parent" type="Window" default=""/> | |
25285 | <param name="id" type="int" default=""/> | |
25286 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
25287 | <param name="size" type="Size" default="wxDefaultSize"/> | |
25288 | <param name="style" type="long" default="wxWANTS_CHARS"/> | |
25289 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
25290 | </paramlist> | |
25291 | </constructor> | |
25292 | <method name="CreateGrid" type="bool" overloaded="no"> | |
25293 | <autodoc>CreateGrid(int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool</autodoc> | |
25294 | <paramlist> | |
25295 | <param name="numRows" type="int" default=""/> | |
25296 | <param name="numCols" type="int" default=""/> | |
25297 | <param name="selmode" type="WXGRIDSELECTIONMODES" default="wxGrid::wxGridSelectCells"/> | |
25298 | </paramlist> | |
25299 | </method> | |
25300 | <method name="SetSelectionMode" type="" overloaded="no"> | |
25301 | <autodoc>SetSelectionMode(WXGRIDSELECTIONMODES selmode)</autodoc> | |
25302 | <paramlist> | |
25303 | <param name="selmode" type="WXGRIDSELECTIONMODES" default=""/> | |
25304 | </paramlist> | |
25305 | </method> | |
25306 | <method name="GetSelectionMode" type="WXGRIDSELECTIONMODES" overloaded="no"> | |
25307 | <autodoc>GetSelectionMode() -> WXGRIDSELECTIONMODES</autodoc> | |
25308 | </method> | |
25309 | <method name="GetNumberRows" type="int" overloaded="no"> | |
25310 | <autodoc>GetNumberRows() -> int</autodoc> | |
25311 | </method> | |
25312 | <method name="GetNumberCols" type="int" overloaded="no"> | |
25313 | <autodoc>GetNumberCols() -> int</autodoc> | |
25314 | </method> | |
25315 | <method name="ProcessTableMessage" type="bool" overloaded="no"> | |
25316 | <autodoc>ProcessTableMessage(GridTableMessage ??) -> bool</autodoc> | |
25317 | <paramlist> | |
25318 | <param name="" type="GridTableMessage" default=""/> | |
25319 | </paramlist> | |
25320 | </method> | |
25321 | <method name="GetTable" type="GridTableBase" overloaded="no"> | |
25322 | <autodoc>GetTable() -> GridTableBase</autodoc> | |
25323 | </method> | |
25324 | <method name="SetTable" type="bool" overloaded="no"> | |
25325 | <autodoc>SetTable(GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool</autodoc> | |
25326 | <paramlist> | |
25327 | <param name="table" type="GridTableBase" default=""/> | |
25328 | <param name="takeOwnership" type="bool" default="False"/> | |
25329 | <param name="selmode" type="WXGRIDSELECTIONMODES" default="wxGrid::wxGridSelectCells"/> | |
25330 | </paramlist> | |
25331 | </method> | |
25332 | <method name="ClearGrid" type="" overloaded="no"> | |
25333 | <autodoc>ClearGrid()</autodoc> | |
25334 | </method> | |
25335 | <method name="InsertRows" type="bool" overloaded="no"> | |
25336 | <autodoc>InsertRows(int pos=0, int numRows=1, bool updateLabels=True) -> bool</autodoc> | |
25337 | <paramlist> | |
25338 | <param name="pos" type="int" default="0"/> | |
25339 | <param name="numRows" type="int" default="1"/> | |
25340 | <param name="updateLabels" type="bool" default="True"/> | |
25341 | </paramlist> | |
25342 | </method> | |
25343 | <method name="AppendRows" type="bool" overloaded="no"> | |
25344 | <autodoc>AppendRows(int numRows=1, bool updateLabels=True) -> bool</autodoc> | |
25345 | <paramlist> | |
25346 | <param name="numRows" type="int" default="1"/> | |
25347 | <param name="updateLabels" type="bool" default="True"/> | |
25348 | </paramlist> | |
25349 | </method> | |
25350 | <method name="DeleteRows" type="bool" overloaded="no"> | |
25351 | <autodoc>DeleteRows(int pos=0, int numRows=1, bool updateLabels=True) -> bool</autodoc> | |
25352 | <paramlist> | |
25353 | <param name="pos" type="int" default="0"/> | |
25354 | <param name="numRows" type="int" default="1"/> | |
25355 | <param name="updateLabels" type="bool" default="True"/> | |
25356 | </paramlist> | |
25357 | </method> | |
25358 | <method name="InsertCols" type="bool" overloaded="no"> | |
25359 | <autodoc>InsertCols(int pos=0, int numCols=1, bool updateLabels=True) -> bool</autodoc> | |
25360 | <paramlist> | |
25361 | <param name="pos" type="int" default="0"/> | |
25362 | <param name="numCols" type="int" default="1"/> | |
25363 | <param name="updateLabels" type="bool" default="True"/> | |
25364 | </paramlist> | |
25365 | </method> | |
25366 | <method name="AppendCols" type="bool" overloaded="no"> | |
25367 | <autodoc>AppendCols(int numCols=1, bool updateLabels=True) -> bool</autodoc> | |
25368 | <paramlist> | |
25369 | <param name="numCols" type="int" default="1"/> | |
25370 | <param name="updateLabels" type="bool" default="True"/> | |
25371 | </paramlist> | |
25372 | </method> | |
25373 | <method name="DeleteCols" type="bool" overloaded="no"> | |
25374 | <autodoc>DeleteCols(int pos=0, int numCols=1, bool updateLabels=True) -> bool</autodoc> | |
25375 | <paramlist> | |
25376 | <param name="pos" type="int" default="0"/> | |
25377 | <param name="numCols" type="int" default="1"/> | |
25378 | <param name="updateLabels" type="bool" default="True"/> | |
25379 | </paramlist> | |
25380 | </method> | |
25381 | <method name="DrawCellHighlight" type="" overloaded="no"> | |
25382 | <autodoc>DrawCellHighlight(DC dc, GridCellAttr attr)</autodoc> | |
25383 | <paramlist> | |
25384 | <param name="dc" type="DC" default=""/> | |
25385 | <param name="attr" type="GridCellAttr" default=""/> | |
25386 | </paramlist> | |
25387 | </method> | |
25388 | <method name="DrawTextRectangle" type="" overloaded="no"> | |
25389 | <autodoc>DrawTextRectangle(DC dc, String ??, Rect ??, int horizontalAlignment=LEFT, | |
25390 | int verticalAlignment=TOP, int textOrientation=HORIZONTAL)</autodoc> | |
25391 | <paramlist> | |
25392 | <param name="dc" type="DC" default=""/> | |
25393 | <param name="" type="String" default=""/> | |
25394 | <param name="" type="Rect" default=""/> | |
25395 | <param name="horizontalAlignment" type="int" default="wxLEFT"/> | |
25396 | <param name="verticalAlignment" type="int" default="wxTOP"/> | |
25397 | <param name="textOrientation" type="int" default="wxHORIZONTAL"/> | |
25398 | </paramlist> | |
25399 | </method> | |
25400 | <method name="GetTextBoxSize" type="" overloaded="no"> | |
25401 | <autodoc>GetTextBoxSize(DC dc, list lines) -> (width, height)</autodoc> | |
25402 | <paramlist> | |
25403 | <param name="dc" type="DC" default=""/> | |
25404 | <param name="lines" type="wxArrayString" default=""/> | |
25405 | <param name="OUTPUT" type="long" default=""/> | |
25406 | <param name="OUTPUT" type="long" default=""/> | |
25407 | </paramlist> | |
25408 | </method> | |
25409 | <method name="BeginBatch" type="" overloaded="no"> | |
25410 | <autodoc>BeginBatch()</autodoc> | |
25411 | </method> | |
25412 | <method name="EndBatch" type="" overloaded="no"> | |
25413 | <autodoc>EndBatch()</autodoc> | |
25414 | </method> | |
25415 | <method name="GetBatchCount" type="int" overloaded="no"> | |
25416 | <autodoc>GetBatchCount() -> int</autodoc> | |
25417 | </method> | |
25418 | <method name="ForceRefresh" type="" overloaded="no"> | |
25419 | <autodoc>ForceRefresh()</autodoc> | |
25420 | </method> | |
f32fc4bc RD |
25421 | <method name="IsEditable" type="bool" overloaded="no"> |
25422 | <autodoc>IsEditable() -> bool</autodoc> | |
25423 | </method> | |
25424 | <method name="EnableEditing" type="" overloaded="no"> | |
25425 | <autodoc>EnableEditing(bool edit)</autodoc> | |
25426 | <paramlist> | |
25427 | <param name="edit" type="bool" default=""/> | |
25428 | </paramlist> | |
25429 | </method> | |
25430 | <method name="EnableCellEditControl" type="" overloaded="no"> | |
25431 | <autodoc>EnableCellEditControl(bool enable=True)</autodoc> | |
25432 | <paramlist> | |
25433 | <param name="enable" type="bool" default="True"/> | |
25434 | </paramlist> | |
25435 | </method> | |
25436 | <method name="DisableCellEditControl" type="" overloaded="no"> | |
25437 | <autodoc>DisableCellEditControl()</autodoc> | |
25438 | </method> | |
25439 | <method name="CanEnableCellControl" type="bool" overloaded="no"> | |
25440 | <autodoc>CanEnableCellControl() -> bool</autodoc> | |
25441 | </method> | |
25442 | <method name="IsCellEditControlEnabled" type="bool" overloaded="no"> | |
25443 | <autodoc>IsCellEditControlEnabled() -> bool</autodoc> | |
25444 | </method> | |
25445 | <method name="IsCellEditControlShown" type="bool" overloaded="no"> | |
25446 | <autodoc>IsCellEditControlShown() -> bool</autodoc> | |
25447 | </method> | |
25448 | <method name="IsCurrentCellReadOnly" type="bool" overloaded="no"> | |
25449 | <autodoc>IsCurrentCellReadOnly() -> bool</autodoc> | |
25450 | </method> | |
25451 | <method name="ShowCellEditControl" type="" overloaded="no"> | |
25452 | <autodoc>ShowCellEditControl()</autodoc> | |
25453 | </method> | |
25454 | <method name="HideCellEditControl" type="" overloaded="no"> | |
25455 | <autodoc>HideCellEditControl()</autodoc> | |
25456 | </method> | |
25457 | <method name="SaveEditControlValue" type="" overloaded="no"> | |
25458 | <autodoc>SaveEditControlValue()</autodoc> | |
25459 | </method> | |
25460 | <method name="XYToCell" type="GridCellCoords" overloaded="no"> | |
25461 | <autodoc>XYToCell(int x, int y) -> GridCellCoords</autodoc> | |
25462 | <paramlist> | |
25463 | <param name="x" type="int" default=""/> | |
25464 | <param name="y" type="int" default=""/> | |
25465 | </paramlist> | |
25466 | </method> | |
25467 | <method name="YToRow" type="int" overloaded="no"> | |
25468 | <autodoc>YToRow(int y) -> int</autodoc> | |
25469 | <paramlist> | |
25470 | <param name="y" type="int" default=""/> | |
25471 | </paramlist> | |
25472 | </method> | |
25473 | <method name="XToCol" type="int" overloaded="no"> | |
25474 | <autodoc>XToCol(int x) -> int</autodoc> | |
25475 | <paramlist> | |
25476 | <param name="x" type="int" default=""/> | |
25477 | </paramlist> | |
25478 | </method> | |
25479 | <method name="YToEdgeOfRow" type="int" overloaded="no"> | |
25480 | <autodoc>YToEdgeOfRow(int y) -> int</autodoc> | |
25481 | <paramlist> | |
25482 | <param name="y" type="int" default=""/> | |
25483 | </paramlist> | |
25484 | </method> | |
25485 | <method name="XToEdgeOfCol" type="int" overloaded="no"> | |
25486 | <autodoc>XToEdgeOfCol(int x) -> int</autodoc> | |
25487 | <paramlist> | |
25488 | <param name="x" type="int" default=""/> | |
25489 | </paramlist> | |
25490 | </method> | |
25491 | <method name="CellToRect" type="Rect" overloaded="no"> | |
25492 | <autodoc>CellToRect(int row, int col) -> Rect</autodoc> | |
25493 | <paramlist> | |
25494 | <param name="row" type="int" default=""/> | |
25495 | <param name="col" type="int" default=""/> | |
25496 | </paramlist> | |
25497 | </method> | |
25498 | <method name="GetGridCursorRow" type="int" overloaded="no"> | |
25499 | <autodoc>GetGridCursorRow() -> int</autodoc> | |
25500 | </method> | |
25501 | <method name="GetGridCursorCol" type="int" overloaded="no"> | |
25502 | <autodoc>GetGridCursorCol() -> int</autodoc> | |
25503 | </method> | |
25504 | <method name="IsVisible" type="bool" overloaded="no"> | |
25505 | <autodoc>IsVisible(int row, int col, bool wholeCellVisible=True) -> bool</autodoc> | |
25506 | <paramlist> | |
25507 | <param name="row" type="int" default=""/> | |
25508 | <param name="col" type="int" default=""/> | |
25509 | <param name="wholeCellVisible" type="bool" default="True"/> | |
25510 | </paramlist> | |
25511 | </method> | |
25512 | <method name="MakeCellVisible" type="" overloaded="no"> | |
25513 | <autodoc>MakeCellVisible(int row, int col)</autodoc> | |
25514 | <paramlist> | |
25515 | <param name="row" type="int" default=""/> | |
25516 | <param name="col" type="int" default=""/> | |
25517 | </paramlist> | |
25518 | </method> | |
25519 | <method name="SetGridCursor" type="" overloaded="no"> | |
25520 | <autodoc>SetGridCursor(int row, int col)</autodoc> | |
25521 | <paramlist> | |
25522 | <param name="row" type="int" default=""/> | |
25523 | <param name="col" type="int" default=""/> | |
25524 | </paramlist> | |
25525 | </method> | |
25526 | <method name="MoveCursorUp" type="bool" overloaded="no"> | |
25527 | <autodoc>MoveCursorUp(bool expandSelection) -> bool</autodoc> | |
25528 | <paramlist> | |
25529 | <param name="expandSelection" type="bool" default=""/> | |
25530 | </paramlist> | |
25531 | </method> | |
25532 | <method name="MoveCursorDown" type="bool" overloaded="no"> | |
25533 | <autodoc>MoveCursorDown(bool expandSelection) -> bool</autodoc> | |
25534 | <paramlist> | |
25535 | <param name="expandSelection" type="bool" default=""/> | |
25536 | </paramlist> | |
25537 | </method> | |
25538 | <method name="MoveCursorLeft" type="bool" overloaded="no"> | |
25539 | <autodoc>MoveCursorLeft(bool expandSelection) -> bool</autodoc> | |
25540 | <paramlist> | |
25541 | <param name="expandSelection" type="bool" default=""/> | |
25542 | </paramlist> | |
25543 | </method> | |
25544 | <method name="MoveCursorRight" type="bool" overloaded="no"> | |
25545 | <autodoc>MoveCursorRight(bool expandSelection) -> bool</autodoc> | |
25546 | <paramlist> | |
25547 | <param name="expandSelection" type="bool" default=""/> | |
25548 | </paramlist> | |
25549 | </method> | |
25550 | <method name="MovePageDown" type="bool" overloaded="no"> | |
25551 | <autodoc>MovePageDown() -> bool</autodoc> | |
25552 | </method> | |
25553 | <method name="MovePageUp" type="bool" overloaded="no"> | |
25554 | <autodoc>MovePageUp() -> bool</autodoc> | |
25555 | </method> | |
25556 | <method name="MoveCursorUpBlock" type="bool" overloaded="no"> | |
25557 | <autodoc>MoveCursorUpBlock(bool expandSelection) -> bool</autodoc> | |
25558 | <paramlist> | |
25559 | <param name="expandSelection" type="bool" default=""/> | |
25560 | </paramlist> | |
25561 | </method> | |
25562 | <method name="MoveCursorDownBlock" type="bool" overloaded="no"> | |
25563 | <autodoc>MoveCursorDownBlock(bool expandSelection) -> bool</autodoc> | |
25564 | <paramlist> | |
25565 | <param name="expandSelection" type="bool" default=""/> | |
25566 | </paramlist> | |
25567 | </method> | |
25568 | <method name="MoveCursorLeftBlock" type="bool" overloaded="no"> | |
25569 | <autodoc>MoveCursorLeftBlock(bool expandSelection) -> bool</autodoc> | |
25570 | <paramlist> | |
25571 | <param name="expandSelection" type="bool" default=""/> | |
25572 | </paramlist> | |
25573 | </method> | |
25574 | <method name="MoveCursorRightBlock" type="bool" overloaded="no"> | |
25575 | <autodoc>MoveCursorRightBlock(bool expandSelection) -> bool</autodoc> | |
25576 | <paramlist> | |
25577 | <param name="expandSelection" type="bool" default=""/> | |
25578 | </paramlist> | |
25579 | </method> | |
25580 | <method name="GetDefaultRowLabelSize" type="int" overloaded="no"> | |
25581 | <autodoc>GetDefaultRowLabelSize() -> int</autodoc> | |
25582 | </method> | |
25583 | <method name="GetRowLabelSize" type="int" overloaded="no"> | |
25584 | <autodoc>GetRowLabelSize() -> int</autodoc> | |
25585 | </method> | |
25586 | <method name="GetDefaultColLabelSize" type="int" overloaded="no"> | |
25587 | <autodoc>GetDefaultColLabelSize() -> int</autodoc> | |
25588 | </method> | |
25589 | <method name="GetColLabelSize" type="int" overloaded="no"> | |
25590 | <autodoc>GetColLabelSize() -> int</autodoc> | |
25591 | </method> | |
25592 | <method name="GetLabelBackgroundColour" type="Colour" overloaded="no"> | |
25593 | <autodoc>GetLabelBackgroundColour() -> Colour</autodoc> | |
25594 | </method> | |
25595 | <method name="GetLabelTextColour" type="Colour" overloaded="no"> | |
25596 | <autodoc>GetLabelTextColour() -> Colour</autodoc> | |
25597 | </method> | |
25598 | <method name="GetLabelFont" type="Font" overloaded="no"> | |
25599 | <autodoc>GetLabelFont() -> Font</autodoc> | |
25600 | </method> | |
25601 | <method name="GetRowLabelAlignment" type="" overloaded="no"> | |
25602 | <autodoc>GetRowLabelAlignment() -> (horiz, vert)</autodoc> | |
25603 | <paramlist> | |
25604 | <param name="OUTPUT" type="int" default=""/> | |
25605 | <param name="OUTPUT" type="int" default=""/> | |
25606 | </paramlist> | |
25607 | </method> | |
25608 | <method name="GetColLabelAlignment" type="" overloaded="no"> | |
25609 | <autodoc>GetColLabelAlignment() -> (horiz, vert)</autodoc> | |
25610 | <paramlist> | |
25611 | <param name="OUTPUT" type="int" default=""/> | |
25612 | <param name="OUTPUT" type="int" default=""/> | |
25613 | </paramlist> | |
25614 | </method> | |
25615 | <method name="GetColLabelTextOrientation" type="int" overloaded="no"> | |
25616 | <autodoc>GetColLabelTextOrientation() -> int</autodoc> | |
25617 | </method> | |
25618 | <method name="GetRowLabelValue" type="String" overloaded="no"> | |
25619 | <autodoc>GetRowLabelValue(int row) -> String</autodoc> | |
25620 | <paramlist> | |
25621 | <param name="row" type="int" default=""/> | |
25622 | </paramlist> | |
25623 | </method> | |
25624 | <method name="GetColLabelValue" type="String" overloaded="no"> | |
25625 | <autodoc>GetColLabelValue(int col) -> String</autodoc> | |
25626 | <paramlist> | |
25627 | <param name="col" type="int" default=""/> | |
25628 | </paramlist> | |
25629 | </method> | |
25630 | <method name="GetGridLineColour" type="Colour" overloaded="no"> | |
25631 | <autodoc>GetGridLineColour() -> Colour</autodoc> | |
25632 | </method> | |
25633 | <method name="GetCellHighlightColour" type="Colour" overloaded="no"> | |
25634 | <autodoc>GetCellHighlightColour() -> Colour</autodoc> | |
25635 | </method> | |
25636 | <method name="GetCellHighlightPenWidth" type="int" overloaded="no"> | |
25637 | <autodoc>GetCellHighlightPenWidth() -> int</autodoc> | |
25638 | </method> | |
25639 | <method name="GetCellHighlightROPenWidth" type="int" overloaded="no"> | |
25640 | <autodoc>GetCellHighlightROPenWidth() -> int</autodoc> | |
25641 | </method> | |
25642 | <method name="SetRowLabelSize" type="" overloaded="no"> | |
25643 | <autodoc>SetRowLabelSize(int width)</autodoc> | |
25644 | <paramlist> | |
25645 | <param name="width" type="int" default=""/> | |
25646 | </paramlist> | |
25647 | </method> | |
25648 | <method name="SetColLabelSize" type="" overloaded="no"> | |
25649 | <autodoc>SetColLabelSize(int height)</autodoc> | |
25650 | <paramlist> | |
25651 | <param name="height" type="int" default=""/> | |
25652 | </paramlist> | |
25653 | </method> | |
25654 | <method name="SetLabelBackgroundColour" type="" overloaded="no"> | |
25655 | <autodoc>SetLabelBackgroundColour(Colour ??)</autodoc> | |
25656 | <paramlist> | |
25657 | <param name="" type="Colour" default=""/> | |
25658 | </paramlist> | |
25659 | </method> | |
25660 | <method name="SetLabelTextColour" type="" overloaded="no"> | |
25661 | <autodoc>SetLabelTextColour(Colour ??)</autodoc> | |
25662 | <paramlist> | |
25663 | <param name="" type="Colour" default=""/> | |
25664 | </paramlist> | |
25665 | </method> | |
25666 | <method name="SetLabelFont" type="" overloaded="no"> | |
25667 | <autodoc>SetLabelFont(Font ??)</autodoc> | |
25668 | <paramlist> | |
25669 | <param name="" type="Font" default=""/> | |
25670 | </paramlist> | |
25671 | </method> | |
25672 | <method name="SetRowLabelAlignment" type="" overloaded="no"> | |
25673 | <autodoc>SetRowLabelAlignment(int horiz, int vert)</autodoc> | |
25674 | <paramlist> | |
25675 | <param name="horiz" type="int" default=""/> | |
25676 | <param name="vert" type="int" default=""/> | |
25677 | </paramlist> | |
25678 | </method> | |
25679 | <method name="SetColLabelAlignment" type="" overloaded="no"> | |
25680 | <autodoc>SetColLabelAlignment(int horiz, int vert)</autodoc> | |
25681 | <paramlist> | |
25682 | <param name="horiz" type="int" default=""/> | |
25683 | <param name="vert" type="int" default=""/> | |
25684 | </paramlist> | |
25685 | </method> | |
25686 | <method name="SetColLabelTextOrientation" type="" overloaded="no"> | |
25687 | <autodoc>SetColLabelTextOrientation(int textOrientation)</autodoc> | |
25688 | <paramlist> | |
25689 | <param name="textOrientation" type="int" default=""/> | |
25690 | </paramlist> | |
25691 | </method> | |
25692 | <method name="SetRowLabelValue" type="" overloaded="no"> | |
25693 | <autodoc>SetRowLabelValue(int row, String ??)</autodoc> | |
25694 | <paramlist> | |
25695 | <param name="row" type="int" default=""/> | |
25696 | <param name="" type="String" default=""/> | |
25697 | </paramlist> | |
25698 | </method> | |
25699 | <method name="SetColLabelValue" type="" overloaded="no"> | |
25700 | <autodoc>SetColLabelValue(int col, String ??)</autodoc> | |
25701 | <paramlist> | |
25702 | <param name="col" type="int" default=""/> | |
25703 | <param name="" type="String" default=""/> | |
25704 | </paramlist> | |
25705 | </method> | |
25706 | <method name="SetGridLineColour" type="" overloaded="no"> | |
25707 | <autodoc>SetGridLineColour(Colour ??)</autodoc> | |
25708 | <paramlist> | |
25709 | <param name="" type="Colour" default=""/> | |
25710 | </paramlist> | |
25711 | </method> | |
25712 | <method name="SetCellHighlightColour" type="" overloaded="no"> | |
25713 | <autodoc>SetCellHighlightColour(Colour ??)</autodoc> | |
25714 | <paramlist> | |
25715 | <param name="" type="Colour" default=""/> | |
25716 | </paramlist> | |
25717 | </method> | |
25718 | <method name="SetCellHighlightPenWidth" type="" overloaded="no"> | |
25719 | <autodoc>SetCellHighlightPenWidth(int width)</autodoc> | |
25720 | <paramlist> | |
25721 | <param name="width" type="int" default=""/> | |
25722 | </paramlist> | |
25723 | </method> | |
25724 | <method name="SetCellHighlightROPenWidth" type="" overloaded="no"> | |
25725 | <autodoc>SetCellHighlightROPenWidth(int width)</autodoc> | |
25726 | <paramlist> | |
25727 | <param name="width" type="int" default=""/> | |
25728 | </paramlist> | |
25729 | </method> | |
25730 | <method name="EnableDragRowSize" type="" overloaded="no"> | |
25731 | <autodoc>EnableDragRowSize(bool enable=True)</autodoc> | |
25732 | <paramlist> | |
25733 | <param name="enable" type="bool" default="True"/> | |
25734 | </paramlist> | |
25735 | </method> | |
25736 | <method name="DisableDragRowSize" type="" overloaded="no"> | |
25737 | <autodoc>DisableDragRowSize()</autodoc> | |
25738 | </method> | |
25739 | <method name="CanDragRowSize" type="bool" overloaded="no"> | |
25740 | <autodoc>CanDragRowSize() -> bool</autodoc> | |
25741 | </method> | |
25742 | <method name="EnableDragColSize" type="" overloaded="no"> | |
25743 | <autodoc>EnableDragColSize(bool enable=True)</autodoc> | |
25744 | <paramlist> | |
25745 | <param name="enable" type="bool" default="True"/> | |
25746 | </paramlist> | |
25747 | </method> | |
25748 | <method name="DisableDragColSize" type="" overloaded="no"> | |
25749 | <autodoc>DisableDragColSize()</autodoc> | |
25750 | </method> | |
25751 | <method name="CanDragColSize" type="bool" overloaded="no"> | |
25752 | <autodoc>CanDragColSize() -> bool</autodoc> | |
25753 | </method> | |
25754 | <method name="EnableDragGridSize" type="" overloaded="no"> | |
25755 | <autodoc>EnableDragGridSize(bool enable=True)</autodoc> | |
25756 | <paramlist> | |
25757 | <param name="enable" type="bool" default="True"/> | |
25758 | </paramlist> | |
25759 | </method> | |
25760 | <method name="DisableDragGridSize" type="" overloaded="no"> | |
25761 | <autodoc>DisableDragGridSize()</autodoc> | |
25762 | </method> | |
25763 | <method name="CanDragGridSize" type="bool" overloaded="no"> | |
25764 | <autodoc>CanDragGridSize() -> bool</autodoc> | |
25765 | </method> | |
25766 | <method name="SetAttr" type="" overloaded="no"> | |
25767 | <autodoc>SetAttr(int row, int col, GridCellAttr attr)</autodoc> | |
25768 | <paramlist> | |
25769 | <param name="row" type="int" default=""/> | |
25770 | <param name="col" type="int" default=""/> | |
25771 | <param name="attr" type="GridCellAttr" default=""/> | |
25772 | </paramlist> | |
25773 | </method> | |
25774 | <method name="SetRowAttr" type="" overloaded="no"> | |
25775 | <autodoc>SetRowAttr(int row, GridCellAttr attr)</autodoc> | |
25776 | <paramlist> | |
25777 | <param name="row" type="int" default=""/> | |
25778 | <param name="attr" type="GridCellAttr" default=""/> | |
25779 | </paramlist> | |
25780 | </method> | |
25781 | <method name="SetColAttr" type="" overloaded="no"> | |
25782 | <autodoc>SetColAttr(int col, GridCellAttr attr)</autodoc> | |
25783 | <paramlist> | |
25784 | <param name="col" type="int" default=""/> | |
25785 | <param name="attr" type="GridCellAttr" default=""/> | |
25786 | </paramlist> | |
25787 | </method> | |
25788 | <method name="SetColFormatBool" type="" overloaded="no"> | |
25789 | <autodoc>SetColFormatBool(int col)</autodoc> | |
25790 | <paramlist> | |
25791 | <param name="col" type="int" default=""/> | |
25792 | </paramlist> | |
25793 | </method> | |
25794 | <method name="SetColFormatNumber" type="" overloaded="no"> | |
25795 | <autodoc>SetColFormatNumber(int col)</autodoc> | |
25796 | <paramlist> | |
25797 | <param name="col" type="int" default=""/> | |
25798 | </paramlist> | |
25799 | </method> | |
25800 | <method name="SetColFormatFloat" type="" overloaded="no"> | |
25801 | <autodoc>SetColFormatFloat(int col, int width=-1, int precision=-1)</autodoc> | |
25802 | <paramlist> | |
25803 | <param name="col" type="int" default=""/> | |
25804 | <param name="width" type="int" default="-1"/> | |
25805 | <param name="precision" type="int" default="-1"/> | |
25806 | </paramlist> | |
25807 | </method> | |
25808 | <method name="SetColFormatCustom" type="" overloaded="no"> | |
25809 | <autodoc>SetColFormatCustom(int col, String typeName)</autodoc> | |
25810 | <paramlist> | |
25811 | <param name="col" type="int" default=""/> | |
25812 | <param name="typeName" type="String" default=""/> | |
25813 | </paramlist> | |
25814 | </method> | |
25815 | <method name="EnableGridLines" type="" overloaded="no"> | |
25816 | <autodoc>EnableGridLines(bool enable=True)</autodoc> | |
25817 | <paramlist> | |
25818 | <param name="enable" type="bool" default="True"/> | |
25819 | </paramlist> | |
25820 | </method> | |
25821 | <method name="GridLinesEnabled" type="bool" overloaded="no"> | |
25822 | <autodoc>GridLinesEnabled() -> bool</autodoc> | |
25823 | </method> | |
25824 | <method name="GetDefaultRowSize" type="int" overloaded="no"> | |
25825 | <autodoc>GetDefaultRowSize() -> int</autodoc> | |
25826 | </method> | |
25827 | <method name="GetRowSize" type="int" overloaded="no"> | |
25828 | <autodoc>GetRowSize(int row) -> int</autodoc> | |
25829 | <paramlist> | |
25830 | <param name="row" type="int" default=""/> | |
25831 | </paramlist> | |
25832 | </method> | |
25833 | <method name="GetDefaultColSize" type="int" overloaded="no"> | |
25834 | <autodoc>GetDefaultColSize() -> int</autodoc> | |
25835 | </method> | |
25836 | <method name="GetColSize" type="int" overloaded="no"> | |
25837 | <autodoc>GetColSize(int col) -> int</autodoc> | |
25838 | <paramlist> | |
25839 | <param name="col" type="int" default=""/> | |
25840 | </paramlist> | |
25841 | </method> | |
25842 | <method name="GetDefaultCellBackgroundColour" type="Colour" overloaded="no"> | |
25843 | <autodoc>GetDefaultCellBackgroundColour() -> Colour</autodoc> | |
25844 | </method> | |
25845 | <method name="GetCellBackgroundColour" type="Colour" overloaded="no"> | |
25846 | <autodoc>GetCellBackgroundColour(int row, int col) -> Colour</autodoc> | |
25847 | <paramlist> | |
25848 | <param name="row" type="int" default=""/> | |
25849 | <param name="col" type="int" default=""/> | |
25850 | </paramlist> | |
25851 | </method> | |
25852 | <method name="GetDefaultCellTextColour" type="Colour" overloaded="no"> | |
25853 | <autodoc>GetDefaultCellTextColour() -> Colour</autodoc> | |
25854 | </method> | |
25855 | <method name="GetCellTextColour" type="Colour" overloaded="no"> | |
25856 | <autodoc>GetCellTextColour(int row, int col) -> Colour</autodoc> | |
25857 | <paramlist> | |
25858 | <param name="row" type="int" default=""/> | |
25859 | <param name="col" type="int" default=""/> | |
25860 | </paramlist> | |
25861 | </method> | |
25862 | <method name="GetDefaultCellFont" type="Font" overloaded="no"> | |
25863 | <autodoc>GetDefaultCellFont() -> Font</autodoc> | |
25864 | </method> | |
25865 | <method name="GetCellFont" type="Font" overloaded="no"> | |
25866 | <autodoc>GetCellFont(int row, int col) -> Font</autodoc> | |
25867 | <paramlist> | |
25868 | <param name="row" type="int" default=""/> | |
25869 | <param name="col" type="int" default=""/> | |
25870 | </paramlist> | |
25871 | </method> | |
25872 | <method name="GetDefaultCellAlignment" type="" overloaded="no"> | |
25873 | <autodoc>GetDefaultCellAlignment() -> (horiz, vert)</autodoc> | |
25874 | <paramlist> | |
25875 | <param name="OUTPUT" type="int" default=""/> | |
25876 | <param name="OUTPUT" type="int" default=""/> | |
25877 | </paramlist> | |
25878 | </method> | |
25879 | <method name="GetCellAlignment" type="" overloaded="no"> | |
25880 | <autodoc>GetCellAlignment() -> (horiz, vert)</autodoc> | |
25881 | <paramlist> | |
25882 | <param name="row" type="int" default=""/> | |
25883 | <param name="col" type="int" default=""/> | |
25884 | <param name="OUTPUT" type="int" default=""/> | |
25885 | <param name="OUTPUT" type="int" default=""/> | |
25886 | </paramlist> | |
25887 | </method> | |
25888 | <method name="GetDefaultCellOverflow" type="bool" overloaded="no"> | |
25889 | <autodoc>GetDefaultCellOverflow() -> bool</autodoc> | |
25890 | </method> | |
25891 | <method name="GetCellOverflow" type="bool" overloaded="no"> | |
25892 | <autodoc>GetCellOverflow(int row, int col) -> bool</autodoc> | |
25893 | <paramlist> | |
25894 | <param name="row" type="int" default=""/> | |
25895 | <param name="col" type="int" default=""/> | |
25896 | </paramlist> | |
25897 | </method> | |
25898 | <method name="GetCellSize" type="" overloaded="no"> | |
25899 | <autodoc>GetCellSize(int row, int col) -> (num_rows, num_cols)</autodoc> | |
25900 | <paramlist> | |
25901 | <param name="row" type="int" default=""/> | |
25902 | <param name="col" type="int" default=""/> | |
25903 | <param name="OUTPUT" type="int" default=""/> | |
25904 | <param name="OUTPUT" type="int" default=""/> | |
25905 | </paramlist> | |
25906 | </method> | |
25907 | <method name="SetDefaultRowSize" type="" overloaded="no"> | |
25908 | <autodoc>SetDefaultRowSize(int height, bool resizeExistingRows=False)</autodoc> | |
25909 | <paramlist> | |
25910 | <param name="height" type="int" default=""/> | |
25911 | <param name="resizeExistingRows" type="bool" default="False"/> | |
25912 | </paramlist> | |
25913 | </method> | |
25914 | <method name="SetRowSize" type="" overloaded="no"> | |
25915 | <autodoc>SetRowSize(int row, int height)</autodoc> | |
25916 | <paramlist> | |
25917 | <param name="row" type="int" default=""/> | |
25918 | <param name="height" type="int" default=""/> | |
25919 | </paramlist> | |
25920 | </method> | |
25921 | <method name="SetDefaultColSize" type="" overloaded="no"> | |
25922 | <autodoc>SetDefaultColSize(int width, bool resizeExistingCols=False)</autodoc> | |
25923 | <paramlist> | |
25924 | <param name="width" type="int" default=""/> | |
25925 | <param name="resizeExistingCols" type="bool" default="False"/> | |
25926 | </paramlist> | |
25927 | </method> | |
25928 | <method name="SetColSize" type="" overloaded="no"> | |
25929 | <autodoc>SetColSize(int col, int width)</autodoc> | |
25930 | <paramlist> | |
25931 | <param name="col" type="int" default=""/> | |
25932 | <param name="width" type="int" default=""/> | |
25933 | </paramlist> | |
25934 | </method> | |
25935 | <method name="AutoSizeColumn" type="" overloaded="no"> | |
25936 | <autodoc>AutoSizeColumn(int col, bool setAsMin=True)</autodoc> | |
25937 | <paramlist> | |
25938 | <param name="col" type="int" default=""/> | |
25939 | <param name="setAsMin" type="bool" default="True"/> | |
25940 | </paramlist> | |
25941 | </method> | |
25942 | <method name="AutoSizeRow" type="" overloaded="no"> | |
25943 | <autodoc>AutoSizeRow(int row, bool setAsMin=True)</autodoc> | |
25944 | <paramlist> | |
25945 | <param name="row" type="int" default=""/> | |
25946 | <param name="setAsMin" type="bool" default="True"/> | |
25947 | </paramlist> | |
25948 | </method> | |
25949 | <method name="AutoSizeColumns" type="" overloaded="no"> | |
25950 | <autodoc>AutoSizeColumns(bool setAsMin=True)</autodoc> | |
25951 | <paramlist> | |
25952 | <param name="setAsMin" type="bool" default="True"/> | |
25953 | </paramlist> | |
25954 | </method> | |
25955 | <method name="AutoSizeRows" type="" overloaded="no"> | |
25956 | <autodoc>AutoSizeRows(bool setAsMin=True)</autodoc> | |
25957 | <paramlist> | |
25958 | <param name="setAsMin" type="bool" default="True"/> | |
25959 | </paramlist> | |
25960 | </method> | |
25961 | <method name="AutoSize" type="" overloaded="no"> | |
25962 | <autodoc>AutoSize()</autodoc> | |
25963 | </method> | |
25964 | <method name="AutoSizeRowLabelSize" type="" overloaded="no"> | |
25965 | <autodoc>AutoSizeRowLabelSize(int row)</autodoc> | |
25966 | <paramlist> | |
25967 | <param name="row" type="int" default=""/> | |
25968 | </paramlist> | |
25969 | </method> | |
25970 | <method name="AutoSizeColLabelSize" type="" overloaded="no"> | |
25971 | <autodoc>AutoSizeColLabelSize(int col)</autodoc> | |
25972 | <paramlist> | |
25973 | <param name="col" type="int" default=""/> | |
25974 | </paramlist> | |
25975 | </method> | |
25976 | <method name="SetColMinimalWidth" type="" overloaded="no"> | |
25977 | <autodoc>SetColMinimalWidth(int col, int width)</autodoc> | |
25978 | <paramlist> | |
25979 | <param name="col" type="int" default=""/> | |
25980 | <param name="width" type="int" default=""/> | |
25981 | </paramlist> | |
25982 | </method> | |
25983 | <method name="SetRowMinimalHeight" type="" overloaded="no"> | |
25984 | <autodoc>SetRowMinimalHeight(int row, int width)</autodoc> | |
25985 | <paramlist> | |
25986 | <param name="row" type="int" default=""/> | |
25987 | <param name="width" type="int" default=""/> | |
25988 | </paramlist> | |
25989 | </method> | |
25990 | <method name="SetColMinimalAcceptableWidth" type="" overloaded="no"> | |
25991 | <autodoc>SetColMinimalAcceptableWidth(int width)</autodoc> | |
25992 | <paramlist> | |
25993 | <param name="width" type="int" default=""/> | |
25994 | </paramlist> | |
25995 | </method> | |
25996 | <method name="SetRowMinimalAcceptableHeight" type="" overloaded="no"> | |
25997 | <autodoc>SetRowMinimalAcceptableHeight(int width)</autodoc> | |
25998 | <paramlist> | |
25999 | <param name="width" type="int" default=""/> | |
26000 | </paramlist> | |
26001 | </method> | |
26002 | <method name="GetColMinimalAcceptableWidth" type="int" overloaded="no"> | |
26003 | <autodoc>GetColMinimalAcceptableWidth() -> int</autodoc> | |
26004 | </method> | |
26005 | <method name="GetRowMinimalAcceptableHeight" type="int" overloaded="no"> | |
26006 | <autodoc>GetRowMinimalAcceptableHeight() -> int</autodoc> | |
26007 | </method> | |
26008 | <method name="SetDefaultCellBackgroundColour" type="" overloaded="no"> | |
26009 | <autodoc>SetDefaultCellBackgroundColour(Colour ??)</autodoc> | |
26010 | <paramlist> | |
26011 | <param name="" type="Colour" default=""/> | |
26012 | </paramlist> | |
26013 | </method> | |
26014 | <method name="SetCellBackgroundColour" type="" overloaded="no"> | |
26015 | <autodoc>SetCellBackgroundColour(int row, int col, Colour ??)</autodoc> | |
26016 | <paramlist> | |
26017 | <param name="row" type="int" default=""/> | |
26018 | <param name="col" type="int" default=""/> | |
26019 | <param name="" type="Colour" default=""/> | |
26020 | </paramlist> | |
26021 | </method> | |
26022 | <method name="SetDefaultCellTextColour" type="" overloaded="no"> | |
26023 | <autodoc>SetDefaultCellTextColour(Colour ??)</autodoc> | |
26024 | <paramlist> | |
26025 | <param name="" type="Colour" default=""/> | |
26026 | </paramlist> | |
26027 | </method> | |
26028 | <method name="SetCellTextColour" type="" overloaded="no"> | |
26029 | <autodoc>SetCellTextColour(int row, int col, Colour ??)</autodoc> | |
26030 | <paramlist> | |
26031 | <param name="row" type="int" default=""/> | |
26032 | <param name="col" type="int" default=""/> | |
26033 | <param name="" type="Colour" default=""/> | |
26034 | </paramlist> | |
26035 | </method> | |
26036 | <method name="SetDefaultCellFont" type="" overloaded="no"> | |
26037 | <autodoc>SetDefaultCellFont(Font ??)</autodoc> | |
26038 | <paramlist> | |
26039 | <param name="" type="Font" default=""/> | |
26040 | </paramlist> | |
26041 | </method> | |
26042 | <method name="SetCellFont" type="" overloaded="no"> | |
26043 | <autodoc>SetCellFont(int row, int col, Font ??)</autodoc> | |
26044 | <paramlist> | |
26045 | <param name="row" type="int" default=""/> | |
26046 | <param name="col" type="int" default=""/> | |
26047 | <param name="" type="Font" default=""/> | |
26048 | </paramlist> | |
26049 | </method> | |
26050 | <method name="SetDefaultCellAlignment" type="" overloaded="no"> | |
26051 | <autodoc>SetDefaultCellAlignment(int horiz, int vert)</autodoc> | |
26052 | <paramlist> | |
26053 | <param name="horiz" type="int" default=""/> | |
26054 | <param name="vert" type="int" default=""/> | |
26055 | </paramlist> | |
26056 | </method> | |
26057 | <method name="SetCellAlignment" type="" overloaded="no"> | |
26058 | <autodoc>SetCellAlignment(int row, int col, int horiz, int vert)</autodoc> | |
26059 | <paramlist> | |
26060 | <param name="row" type="int" default=""/> | |
26061 | <param name="col" type="int" default=""/> | |
26062 | <param name="horiz" type="int" default=""/> | |
26063 | <param name="vert" type="int" default=""/> | |
26064 | </paramlist> | |
26065 | </method> | |
26066 | <method name="SetDefaultCellOverflow" type="" overloaded="no"> | |
26067 | <autodoc>SetDefaultCellOverflow(bool allow)</autodoc> | |
26068 | <paramlist> | |
26069 | <param name="allow" type="bool" default=""/> | |
26070 | </paramlist> | |
26071 | </method> | |
26072 | <method name="SetCellOverflow" type="" overloaded="no"> | |
26073 | <autodoc>SetCellOverflow(int row, int col, bool allow)</autodoc> | |
26074 | <paramlist> | |
26075 | <param name="row" type="int" default=""/> | |
26076 | <param name="col" type="int" default=""/> | |
26077 | <param name="allow" type="bool" default=""/> | |
26078 | </paramlist> | |
26079 | </method> | |
26080 | <method name="SetCellSize" type="" overloaded="no"> | |
26081 | <autodoc>SetCellSize(int row, int col, int num_rows, int num_cols)</autodoc> | |
26082 | <paramlist> | |
26083 | <param name="row" type="int" default=""/> | |
26084 | <param name="col" type="int" default=""/> | |
26085 | <param name="num_rows" type="int" default=""/> | |
26086 | <param name="num_cols" type="int" default=""/> | |
26087 | </paramlist> | |
26088 | </method> | |
26089 | <method name="SetDefaultRenderer" type="" overloaded="no"> | |
26090 | <autodoc>SetDefaultRenderer(GridCellRenderer renderer)</autodoc> | |
26091 | <paramlist> | |
26092 | <param name="renderer" type="GridCellRenderer" default=""/> | |
26093 | </paramlist> | |
26094 | </method> | |
26095 | <method name="SetCellRenderer" type="" overloaded="no"> | |
26096 | <autodoc>SetCellRenderer(int row, int col, GridCellRenderer renderer)</autodoc> | |
26097 | <paramlist> | |
26098 | <param name="row" type="int" default=""/> | |
26099 | <param name="col" type="int" default=""/> | |
26100 | <param name="renderer" type="GridCellRenderer" default=""/> | |
26101 | </paramlist> | |
26102 | </method> | |
26103 | <method name="GetDefaultRenderer" type="GridCellRenderer" overloaded="no"> | |
26104 | <autodoc>GetDefaultRenderer() -> GridCellRenderer</autodoc> | |
26105 | </method> | |
26106 | <method name="GetCellRenderer" type="GridCellRenderer" overloaded="no"> | |
26107 | <autodoc>GetCellRenderer(int row, int col) -> GridCellRenderer</autodoc> | |
26108 | <paramlist> | |
26109 | <param name="row" type="int" default=""/> | |
26110 | <param name="col" type="int" default=""/> | |
26111 | </paramlist> | |
26112 | </method> | |
26113 | <method name="SetDefaultEditor" type="" overloaded="no"> | |
26114 | <autodoc>SetDefaultEditor(GridCellEditor editor)</autodoc> | |
26115 | <paramlist> | |
26116 | <param name="editor" type="GridCellEditor" default=""/> | |
26117 | </paramlist> | |
26118 | </method> | |
26119 | <method name="SetCellEditor" type="" overloaded="no"> | |
26120 | <autodoc>SetCellEditor(int row, int col, GridCellEditor editor)</autodoc> | |
26121 | <paramlist> | |
26122 | <param name="row" type="int" default=""/> | |
26123 | <param name="col" type="int" default=""/> | |
26124 | <param name="editor" type="GridCellEditor" default=""/> | |
26125 | </paramlist> | |
26126 | </method> | |
26127 | <method name="GetDefaultEditor" type="GridCellEditor" overloaded="no"> | |
26128 | <autodoc>GetDefaultEditor() -> GridCellEditor</autodoc> | |
26129 | </method> | |
26130 | <method name="GetCellEditor" type="GridCellEditor" overloaded="no"> | |
26131 | <autodoc>GetCellEditor(int row, int col) -> GridCellEditor</autodoc> | |
26132 | <paramlist> | |
26133 | <param name="row" type="int" default=""/> | |
26134 | <param name="col" type="int" default=""/> | |
26135 | </paramlist> | |
26136 | </method> | |
26137 | <method name="GetCellValue" type="String" overloaded="no"> | |
26138 | <autodoc>GetCellValue(int row, int col) -> String</autodoc> | |
26139 | <paramlist> | |
26140 | <param name="row" type="int" default=""/> | |
26141 | <param name="col" type="int" default=""/> | |
26142 | </paramlist> | |
26143 | </method> | |
26144 | <method name="SetCellValue" type="" overloaded="no"> | |
26145 | <autodoc>SetCellValue(int row, int col, String s)</autodoc> | |
26146 | <paramlist> | |
26147 | <param name="row" type="int" default=""/> | |
26148 | <param name="col" type="int" default=""/> | |
26149 | <param name="s" type="String" default=""/> | |
26150 | </paramlist> | |
26151 | </method> | |
26152 | <method name="IsReadOnly" type="bool" overloaded="no"> | |
26153 | <autodoc>IsReadOnly(int row, int col) -> bool</autodoc> | |
26154 | <paramlist> | |
26155 | <param name="row" type="int" default=""/> | |
26156 | <param name="col" type="int" default=""/> | |
26157 | </paramlist> | |
26158 | </method> | |
26159 | <method name="SetReadOnly" type="" overloaded="no"> | |
26160 | <autodoc>SetReadOnly(int row, int col, bool isReadOnly=True)</autodoc> | |
26161 | <paramlist> | |
26162 | <param name="row" type="int" default=""/> | |
26163 | <param name="col" type="int" default=""/> | |
26164 | <param name="isReadOnly" type="bool" default="True"/> | |
26165 | </paramlist> | |
26166 | </method> | |
26167 | <method name="SelectRow" type="" overloaded="no"> | |
26168 | <autodoc>SelectRow(int row, bool addToSelected=False)</autodoc> | |
26169 | <paramlist> | |
26170 | <param name="row" type="int" default=""/> | |
26171 | <param name="addToSelected" type="bool" default="False"/> | |
26172 | </paramlist> | |
26173 | </method> | |
26174 | <method name="SelectCol" type="" overloaded="no"> | |
26175 | <autodoc>SelectCol(int col, bool addToSelected=False)</autodoc> | |
26176 | <paramlist> | |
26177 | <param name="col" type="int" default=""/> | |
26178 | <param name="addToSelected" type="bool" default="False"/> | |
26179 | </paramlist> | |
26180 | </method> | |
26181 | <method name="SelectBlock" type="" overloaded="no"> | |
26182 | <autodoc>SelectBlock(int topRow, int leftCol, int bottomRow, int rightCol, | |
26183 | bool addToSelected=False)</autodoc> | |
26184 | <paramlist> | |
26185 | <param name="topRow" type="int" default=""/> | |
26186 | <param name="leftCol" type="int" default=""/> | |
26187 | <param name="bottomRow" type="int" default=""/> | |
26188 | <param name="rightCol" type="int" default=""/> | |
26189 | <param name="addToSelected" type="bool" default="False"/> | |
26190 | </paramlist> | |
26191 | </method> | |
26192 | <method name="SelectAll" type="" overloaded="no"> | |
26193 | <autodoc>SelectAll()</autodoc> | |
26194 | </method> | |
26195 | <method name="IsSelection" type="bool" overloaded="no"> | |
26196 | <autodoc>IsSelection() -> bool</autodoc> | |
26197 | </method> | |
26198 | <method name="ClearSelection" type="" overloaded="no"> | |
26199 | <autodoc>ClearSelection()</autodoc> | |
26200 | </method> | |
26201 | <method name="IsInSelection" type="bool" overloaded="no"> | |
26202 | <autodoc>IsInSelection(int row, int col) -> bool</autodoc> | |
26203 | <paramlist> | |
26204 | <param name="row" type="int" default=""/> | |
26205 | <param name="col" type="int" default=""/> | |
26206 | </paramlist> | |
26207 | </method> | |
26208 | <method name="GetSelectedCells" type="wxGridCellCoordsArray" overloaded="no"> | |
26209 | <autodoc>GetSelectedCells() -> wxGridCellCoordsArray</autodoc> | |
26210 | </method> | |
26211 | <method name="GetSelectionBlockTopLeft" type="wxGridCellCoordsArray" overloaded="no"> | |
26212 | <autodoc>GetSelectionBlockTopLeft() -> wxGridCellCoordsArray</autodoc> | |
26213 | </method> | |
26214 | <method name="GetSelectionBlockBottomRight" type="wxGridCellCoordsArray" overloaded="no"> | |
26215 | <autodoc>GetSelectionBlockBottomRight() -> wxGridCellCoordsArray</autodoc> | |
26216 | </method> | |
26217 | <method name="GetSelectedRows" type="wxArrayInt" overloaded="no"> | |
26218 | <autodoc>GetSelectedRows() -> wxArrayInt</autodoc> | |
26219 | </method> | |
26220 | <method name="GetSelectedCols" type="wxArrayInt" overloaded="no"> | |
26221 | <autodoc>GetSelectedCols() -> wxArrayInt</autodoc> | |
26222 | </method> | |
26223 | <method name="DeselectRow" type="" overloaded="no"> | |
26224 | <autodoc>DeselectRow(int row)</autodoc> | |
26225 | <paramlist> | |
26226 | <param name="row" type="int" default=""/> | |
26227 | </paramlist> | |
26228 | </method> | |
26229 | <method name="DeselectCol" type="" overloaded="no"> | |
26230 | <autodoc>DeselectCol(int col)</autodoc> | |
26231 | <paramlist> | |
26232 | <param name="col" type="int" default=""/> | |
26233 | </paramlist> | |
26234 | </method> | |
26235 | <method name="DeselectCell" type="" overloaded="no"> | |
26236 | <autodoc>DeselectCell(int row, int col)</autodoc> | |
26237 | <paramlist> | |
26238 | <param name="row" type="int" default=""/> | |
26239 | <param name="col" type="int" default=""/> | |
26240 | </paramlist> | |
26241 | </method> | |
26242 | <method name="BlockToDeviceRect" type="Rect" overloaded="no"> | |
26243 | <autodoc>BlockToDeviceRect(GridCellCoords topLeft, GridCellCoords bottomRight) -> Rect</autodoc> | |
26244 | <paramlist> | |
26245 | <param name="topLeft" type="GridCellCoords" default=""/> | |
26246 | <param name="bottomRight" type="GridCellCoords" default=""/> | |
26247 | </paramlist> | |
26248 | </method> | |
26249 | <method name="GetSelectionBackground" type="Colour" overloaded="no"> | |
26250 | <autodoc>GetSelectionBackground() -> Colour</autodoc> | |
26251 | </method> | |
26252 | <method name="GetSelectionForeground" type="Colour" overloaded="no"> | |
26253 | <autodoc>GetSelectionForeground() -> Colour</autodoc> | |
26254 | </method> | |
26255 | <method name="SetSelectionBackground" type="" overloaded="no"> | |
26256 | <autodoc>SetSelectionBackground(Colour c)</autodoc> | |
26257 | <paramlist> | |
26258 | <param name="c" type="Colour" default=""/> | |
26259 | </paramlist> | |
26260 | </method> | |
26261 | <method name="SetSelectionForeground" type="" overloaded="no"> | |
26262 | <autodoc>SetSelectionForeground(Colour c)</autodoc> | |
26263 | <paramlist> | |
26264 | <param name="c" type="Colour" default=""/> | |
26265 | </paramlist> | |
26266 | </method> | |
26267 | <method name="RegisterDataType" type="" overloaded="no"> | |
26268 | <autodoc>RegisterDataType(String typeName, GridCellRenderer renderer, GridCellEditor editor)</autodoc> | |
26269 | <paramlist> | |
26270 | <param name="typeName" type="String" default=""/> | |
26271 | <param name="renderer" type="GridCellRenderer" default=""/> | |
26272 | <param name="editor" type="GridCellEditor" default=""/> | |
26273 | </paramlist> | |
26274 | </method> | |
26275 | <method name="GetDefaultEditorForCell" type="GridCellEditor" overloaded="no"> | |
26276 | <autodoc>GetDefaultEditorForCell(int row, int col) -> GridCellEditor</autodoc> | |
26277 | <paramlist> | |
26278 | <param name="row" type="int" default=""/> | |
26279 | <param name="col" type="int" default=""/> | |
26280 | </paramlist> | |
26281 | </method> | |
26282 | <method name="GetDefaultRendererForCell" type="GridCellRenderer" overloaded="no"> | |
26283 | <autodoc>GetDefaultRendererForCell(int row, int col) -> GridCellRenderer</autodoc> | |
26284 | <paramlist> | |
26285 | <param name="row" type="int" default=""/> | |
26286 | <param name="col" type="int" default=""/> | |
26287 | </paramlist> | |
26288 | </method> | |
26289 | <method name="GetDefaultEditorForType" type="GridCellEditor" overloaded="no"> | |
26290 | <autodoc>GetDefaultEditorForType(String typeName) -> GridCellEditor</autodoc> | |
26291 | <paramlist> | |
26292 | <param name="typeName" type="String" default=""/> | |
26293 | </paramlist> | |
26294 | </method> | |
26295 | <method name="GetDefaultRendererForType" type="GridCellRenderer" overloaded="no"> | |
26296 | <autodoc>GetDefaultRendererForType(String typeName) -> GridCellRenderer</autodoc> | |
26297 | <paramlist> | |
26298 | <param name="typeName" type="String" default=""/> | |
26299 | </paramlist> | |
26300 | </method> | |
26301 | <method name="SetMargins" type="" overloaded="no"> | |
26302 | <autodoc>SetMargins(int extraWidth, int extraHeight)</autodoc> | |
26303 | <paramlist> | |
26304 | <param name="extraWidth" type="int" default=""/> | |
26305 | <param name="extraHeight" type="int" default=""/> | |
26306 | </paramlist> | |
26307 | </method> | |
26308 | <method name="GetGridWindow" type="Window" overloaded="no"> | |
26309 | <autodoc>GetGridWindow() -> Window</autodoc> | |
26310 | </method> | |
26311 | <method name="GetGridRowLabelWindow" type="Window" overloaded="no"> | |
26312 | <autodoc>GetGridRowLabelWindow() -> Window</autodoc> | |
26313 | </method> | |
26314 | <method name="GetGridColLabelWindow" type="Window" overloaded="no"> | |
26315 | <autodoc>GetGridColLabelWindow() -> Window</autodoc> | |
26316 | </method> | |
26317 | <method name="GetGridCornerLabelWindow" type="Window" overloaded="no"> | |
26318 | <autodoc>GetGridCornerLabelWindow() -> Window</autodoc> | |
26319 | </method> | |
26320 | </class> | |
26321 | <class name="GridEvent" oldname="wxGridEvent" module="grid"> | |
26322 | <baseclass name="NotifyEvent"/> | |
26323 | <constructor name="GridEvent" overloaded="no"> | |
26324 | <autodoc>__init__(int id, wxEventType type, Grid obj, int row=-1, int col=-1, | |
26325 | int x=-1, int y=-1, bool sel=True, bool control=False, | |
26326 | bool shift=False, bool alt=False, | |
26327 | bool meta=False) -> GridEvent</autodoc> | |
26328 | <paramlist> | |
26329 | <param name="id" type="int" default=""/> | |
26330 | <param name="type" type="wxEventType" default=""/> | |
26331 | <param name="obj" type="Grid" default=""/> | |
26332 | <param name="row" type="int" default="-1"/> | |
26333 | <param name="col" type="int" default="-1"/> | |
26334 | <param name="x" type="int" default="-1"/> | |
26335 | <param name="y" type="int" default="-1"/> | |
26336 | <param name="sel" type="bool" default="True"/> | |
26337 | <param name="control" type="bool" default="False"/> | |
26338 | <param name="shift" type="bool" default="False"/> | |
26339 | <param name="alt" type="bool" default="False"/> | |
26340 | <param name="meta" type="bool" default="False"/> | |
26341 | </paramlist> | |
26342 | </constructor> | |
26343 | <method name="GetRow" type="int" overloaded="no"> | |
26344 | <autodoc>GetRow() -> int</autodoc> | |
26345 | </method> | |
26346 | <method name="GetCol" type="int" overloaded="no"> | |
26347 | <autodoc>GetCol() -> int</autodoc> | |
26348 | </method> | |
26349 | <method name="GetPosition" type="Point" overloaded="no"> | |
26350 | <autodoc>GetPosition() -> Point</autodoc> | |
26351 | </method> | |
26352 | <method name="Selecting" type="bool" overloaded="no"> | |
26353 | <autodoc>Selecting() -> bool</autodoc> | |
26354 | </method> | |
26355 | <method name="ControlDown" type="bool" overloaded="no"> | |
26356 | <autodoc>ControlDown() -> bool</autodoc> | |
26357 | </method> | |
26358 | <method name="MetaDown" type="bool" overloaded="no"> | |
26359 | <autodoc>MetaDown() -> bool</autodoc> | |
26360 | </method> | |
26361 | <method name="ShiftDown" type="bool" overloaded="no"> | |
26362 | <autodoc>ShiftDown() -> bool</autodoc> | |
26363 | </method> | |
26364 | <method name="AltDown" type="bool" overloaded="no"> | |
26365 | <autodoc>AltDown() -> bool</autodoc> | |
26366 | </method> | |
26367 | </class> | |
26368 | <class name="GridSizeEvent" oldname="wxGridSizeEvent" module="grid"> | |
26369 | <baseclass name="NotifyEvent"/> | |
26370 | <constructor name="GridSizeEvent" overloaded="no"> | |
26371 | <autodoc>__init__(int id, wxEventType type, Grid obj, int rowOrCol=-1, | |
26372 | int x=-1, int y=-1, bool control=False, bool shift=False, | |
26373 | bool alt=False, bool meta=False) -> GridSizeEvent</autodoc> | |
26374 | <paramlist> | |
26375 | <param name="id" type="int" default=""/> | |
26376 | <param name="type" type="wxEventType" default=""/> | |
26377 | <param name="obj" type="Grid" default=""/> | |
26378 | <param name="rowOrCol" type="int" default="-1"/> | |
26379 | <param name="x" type="int" default="-1"/> | |
26380 | <param name="y" type="int" default="-1"/> | |
26381 | <param name="control" type="bool" default="False"/> | |
26382 | <param name="shift" type="bool" default="False"/> | |
26383 | <param name="alt" type="bool" default="False"/> | |
26384 | <param name="meta" type="bool" default="False"/> | |
26385 | </paramlist> | |
26386 | </constructor> | |
26387 | <method name="GetRowOrCol" type="int" overloaded="no"> | |
26388 | <autodoc>GetRowOrCol() -> int</autodoc> | |
26389 | </method> | |
26390 | <method name="GetPosition" type="Point" overloaded="no"> | |
26391 | <autodoc>GetPosition() -> Point</autodoc> | |
26392 | </method> | |
26393 | <method name="ControlDown" type="bool" overloaded="no"> | |
26394 | <autodoc>ControlDown() -> bool</autodoc> | |
26395 | </method> | |
26396 | <method name="MetaDown" type="bool" overloaded="no"> | |
26397 | <autodoc>MetaDown() -> bool</autodoc> | |
26398 | </method> | |
26399 | <method name="ShiftDown" type="bool" overloaded="no"> | |
26400 | <autodoc>ShiftDown() -> bool</autodoc> | |
26401 | </method> | |
26402 | <method name="AltDown" type="bool" overloaded="no"> | |
26403 | <autodoc>AltDown() -> bool</autodoc> | |
26404 | </method> | |
26405 | </class> | |
26406 | <class name="GridRangeSelectEvent" oldname="wxGridRangeSelectEvent" module="grid"> | |
26407 | <baseclass name="NotifyEvent"/> | |
26408 | <constructor name="GridRangeSelectEvent" overloaded="no"> | |
26409 | <autodoc>__init__(int id, wxEventType type, Grid obj, GridCellCoords topLeft, | |
26410 | GridCellCoords bottomRight, bool sel=True, | |
26411 | bool control=False, bool shift=False, | |
26412 | bool alt=False, bool meta=False) -> GridRangeSelectEvent</autodoc> | |
26413 | <paramlist> | |
26414 | <param name="id" type="int" default=""/> | |
26415 | <param name="type" type="wxEventType" default=""/> | |
26416 | <param name="obj" type="Grid" default=""/> | |
26417 | <param name="topLeft" type="GridCellCoords" default=""/> | |
26418 | <param name="bottomRight" type="GridCellCoords" default=""/> | |
26419 | <param name="sel" type="bool" default="True"/> | |
26420 | <param name="control" type="bool" default="False"/> | |
26421 | <param name="shift" type="bool" default="False"/> | |
26422 | <param name="alt" type="bool" default="False"/> | |
26423 | <param name="meta" type="bool" default="False"/> | |
26424 | </paramlist> | |
26425 | </constructor> | |
26426 | <method name="GetTopLeftCoords" type="GridCellCoords" overloaded="no"> | |
26427 | <autodoc>GetTopLeftCoords() -> GridCellCoords</autodoc> | |
26428 | </method> | |
26429 | <method name="GetBottomRightCoords" type="GridCellCoords" overloaded="no"> | |
26430 | <autodoc>GetBottomRightCoords() -> GridCellCoords</autodoc> | |
26431 | </method> | |
26432 | <method name="GetTopRow" type="int" overloaded="no"> | |
26433 | <autodoc>GetTopRow() -> int</autodoc> | |
26434 | </method> | |
26435 | <method name="GetBottomRow" type="int" overloaded="no"> | |
26436 | <autodoc>GetBottomRow() -> int</autodoc> | |
26437 | </method> | |
26438 | <method name="GetLeftCol" type="int" overloaded="no"> | |
26439 | <autodoc>GetLeftCol() -> int</autodoc> | |
26440 | </method> | |
26441 | <method name="GetRightCol" type="int" overloaded="no"> | |
26442 | <autodoc>GetRightCol() -> int</autodoc> | |
26443 | </method> | |
26444 | <method name="Selecting" type="bool" overloaded="no"> | |
26445 | <autodoc>Selecting() -> bool</autodoc> | |
26446 | </method> | |
26447 | <method name="ControlDown" type="bool" overloaded="no"> | |
26448 | <autodoc>ControlDown() -> bool</autodoc> | |
26449 | </method> | |
26450 | <method name="MetaDown" type="bool" overloaded="no"> | |
26451 | <autodoc>MetaDown() -> bool</autodoc> | |
26452 | </method> | |
26453 | <method name="ShiftDown" type="bool" overloaded="no"> | |
26454 | <autodoc>ShiftDown() -> bool</autodoc> | |
26455 | </method> | |
26456 | <method name="AltDown" type="bool" overloaded="no"> | |
26457 | <autodoc>AltDown() -> bool</autodoc> | |
26458 | </method> | |
26459 | </class> | |
26460 | <class name="GridEditorCreatedEvent" oldname="wxGridEditorCreatedEvent" module="grid"> | |
26461 | <baseclass name="CommandEvent"/> | |
26462 | <constructor name="GridEditorCreatedEvent" overloaded="no"> | |
26463 | <autodoc>__init__(int id, wxEventType type, Object obj, int row, int col, | |
26464 | Control ctrl) -> GridEditorCreatedEvent</autodoc> | |
26465 | <paramlist> | |
26466 | <param name="id" type="int" default=""/> | |
26467 | <param name="type" type="wxEventType" default=""/> | |
26468 | <param name="obj" type="Object" default=""/> | |
26469 | <param name="row" type="int" default=""/> | |
26470 | <param name="col" type="int" default=""/> | |
26471 | <param name="ctrl" type="Control" default=""/> | |
26472 | </paramlist> | |
26473 | </constructor> | |
26474 | <method name="GetRow" type="int" overloaded="no"> | |
26475 | <autodoc>GetRow() -> int</autodoc> | |
26476 | </method> | |
26477 | <method name="GetCol" type="int" overloaded="no"> | |
26478 | <autodoc>GetCol() -> int</autodoc> | |
26479 | </method> | |
26480 | <method name="GetControl" type="Control" overloaded="no"> | |
26481 | <autodoc>GetControl() -> Control</autodoc> | |
26482 | </method> | |
26483 | <method name="SetRow" type="" overloaded="no"> | |
26484 | <autodoc>SetRow(int row)</autodoc> | |
26485 | <paramlist> | |
26486 | <param name="row" type="int" default=""/> | |
26487 | </paramlist> | |
26488 | </method> | |
26489 | <method name="SetCol" type="" overloaded="no"> | |
26490 | <autodoc>SetCol(int col)</autodoc> | |
26491 | <paramlist> | |
26492 | <param name="col" type="int" default=""/> | |
26493 | </paramlist> | |
26494 | </method> | |
26495 | <method name="SetControl" type="" overloaded="no"> | |
26496 | <autodoc>SetControl(Control ctrl)</autodoc> | |
26497 | <paramlist> | |
26498 | <param name="ctrl" type="Control" default=""/> | |
26499 | </paramlist> | |
26500 | </method> | |
26501 | </class> | |
26502 | <pythoncode> | |
26503 | EVT_GRID_CELL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_CLICK ) | |
26504 | EVT_GRID_CELL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_CLICK ) | |
26505 | EVT_GRID_CELL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_DCLICK ) | |
26506 | EVT_GRID_CELL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_DCLICK ) | |
26507 | EVT_GRID_LABEL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_CLICK ) | |
26508 | EVT_GRID_LABEL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_CLICK ) | |
26509 | EVT_GRID_LABEL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_DCLICK ) | |
26510 | EVT_GRID_LABEL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_DCLICK ) | |
26511 | EVT_GRID_ROW_SIZE = wx.PyEventBinder( wxEVT_GRID_ROW_SIZE ) | |
26512 | EVT_GRID_COL_SIZE = wx.PyEventBinder( wxEVT_GRID_COL_SIZE ) | |
26513 | EVT_GRID_RANGE_SELECT = wx.PyEventBinder( wxEVT_GRID_RANGE_SELECT ) | |
26514 | EVT_GRID_CELL_CHANGE = wx.PyEventBinder( wxEVT_GRID_CELL_CHANGE ) | |
26515 | EVT_GRID_SELECT_CELL = wx.PyEventBinder( wxEVT_GRID_SELECT_CELL ) | |
26516 | EVT_GRID_EDITOR_SHOWN = wx.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN ) | |
26517 | EVT_GRID_EDITOR_HIDDEN = wx.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN ) | |
26518 | EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) | |
0f43fbdf | 26519 | </pythoncode> |
f32fc4bc RD |
26520 | </module> |
26521 | <module name="html"> | |
26522 | <import name="windows"/> | |
26523 | <pythoncode> wx = core </pythoncode> | |
26524 | <pythoncode> | |
0f43fbdf RD |
26525 | #--------------------------------------------------------------------------- |
26526 | </pythoncode> | |
f32fc4bc RD |
26527 | <class name="HtmlLinkInfo" oldname="wxHtmlLinkInfo" module="html"> |
26528 | <baseclass name="Object"/> | |
26529 | <constructor name="HtmlLinkInfo" overloaded="no"> | |
26530 | <autodoc>__init__(String href, String target=EmptyString) -> HtmlLinkInfo</autodoc> | |
26531 | <paramlist> | |
26532 | <param name="href" type="String" default=""/> | |
26533 | <param name="target" type="String" default="wxPyEmptyString"/> | |
26534 | </paramlist> | |
26535 | </constructor> | |
26536 | <method name="GetHref" type="String" overloaded="no"> | |
26537 | <autodoc>GetHref() -> String</autodoc> | |
26538 | </method> | |
26539 | <method name="GetTarget" type="String" overloaded="no"> | |
26540 | <autodoc>GetTarget() -> String</autodoc> | |
26541 | </method> | |
26542 | <method name="GetEvent" type="MouseEvent" overloaded="no"> | |
26543 | <autodoc>GetEvent() -> MouseEvent</autodoc> | |
26544 | </method> | |
26545 | <method name="GetHtmlCell" type="wxHtmlCell" overloaded="no"> | |
26546 | <autodoc>GetHtmlCell() -> HtmlCell</autodoc> | |
26547 | </method> | |
26548 | <method name="SetEvent" type="" overloaded="no"> | |
26549 | <autodoc>SetEvent(MouseEvent e)</autodoc> | |
26550 | <paramlist> | |
26551 | <param name="e" type="MouseEvent" default=""/> | |
26552 | </paramlist> | |
26553 | </method> | |
26554 | <method name="SetHtmlCell" type="" overloaded="no"> | |
26555 | <autodoc>SetHtmlCell(HtmlCell e)</autodoc> | |
26556 | <paramlist> | |
26557 | <param name="e" type="wxHtmlCell" default=""/> | |
26558 | </paramlist> | |
26559 | </method> | |
26560 | </class> | |
26561 | <class name="HtmlTag" oldname="wxHtmlTag" module="html"> | |
26562 | <baseclass name="Object"/> | |
26563 | <method name="GetName" type="String" overloaded="no"> | |
26564 | <autodoc>GetName() -> String</autodoc> | |
26565 | </method> | |
26566 | <method name="HasParam" type="bool" overloaded="no"> | |
26567 | <autodoc>HasParam(String par) -> bool</autodoc> | |
26568 | <paramlist> | |
26569 | <param name="par" type="String" default=""/> | |
26570 | </paramlist> | |
26571 | </method> | |
26572 | <method name="GetParam" type="String" overloaded="no"> | |
26573 | <autodoc>GetParam(String par, int with_commas=False) -> String</autodoc> | |
26574 | <paramlist> | |
26575 | <param name="par" type="String" default=""/> | |
26576 | <param name="with_commas" type="int" default="False"/> | |
26577 | </paramlist> | |
26578 | </method> | |
26579 | <method name="GetAllParams" type="String" overloaded="no"> | |
26580 | <autodoc>GetAllParams() -> String</autodoc> | |
26581 | </method> | |
26582 | <method name="HasEnding" type="bool" overloaded="no"> | |
26583 | <autodoc>HasEnding() -> bool</autodoc> | |
26584 | </method> | |
26585 | <method name="GetBeginPos" type="int" overloaded="no"> | |
26586 | <autodoc>GetBeginPos() -> int</autodoc> | |
26587 | </method> | |
26588 | <method name="GetEndPos1" type="int" overloaded="no"> | |
26589 | <autodoc>GetEndPos1() -> int</autodoc> | |
26590 | </method> | |
26591 | <method name="GetEndPos2" type="int" overloaded="no"> | |
26592 | <autodoc>GetEndPos2() -> int</autodoc> | |
26593 | </method> | |
26594 | </class> | |
26595 | <class name="HtmlParser" oldname="wxHtmlParser" module="html"> | |
26596 | <baseclass name="Object"/> | |
26597 | <method name="SetFS" type="" overloaded="no"> | |
26598 | <autodoc>SetFS(FileSystem fs)</autodoc> | |
26599 | <paramlist> | |
26600 | <param name="fs" type="FileSystem" default=""/> | |
26601 | </paramlist> | |
26602 | </method> | |
26603 | <method name="GetFS" type="FileSystem" overloaded="no"> | |
26604 | <autodoc>GetFS() -> FileSystem</autodoc> | |
26605 | </method> | |
26606 | <method name="Parse" type="Object" overloaded="no"> | |
26607 | <autodoc>Parse(String source) -> Object</autodoc> | |
26608 | <paramlist> | |
26609 | <param name="source" type="String" default=""/> | |
26610 | </paramlist> | |
26611 | </method> | |
26612 | <method name="InitParser" type="" overloaded="no"> | |
26613 | <autodoc>InitParser(String source)</autodoc> | |
26614 | <paramlist> | |
26615 | <param name="source" type="String" default=""/> | |
26616 | </paramlist> | |
26617 | </method> | |
26618 | <method name="DoneParser" type="" overloaded="no"> | |
26619 | <autodoc>DoneParser()</autodoc> | |
26620 | </method> | |
26621 | <method name="DoParsing" type="" overloaded="no"> | |
26622 | <autodoc>DoParsing(int begin_pos, int end_pos)</autodoc> | |
26623 | <paramlist> | |
26624 | <param name="begin_pos" type="int" default=""/> | |
26625 | <param name="end_pos" type="int" default=""/> | |
26626 | </paramlist> | |
26627 | </method> | |
26628 | <method name="StopParsing" type="" overloaded="no"> | |
26629 | <autodoc>StopParsing()</autodoc> | |
26630 | </method> | |
26631 | <method name="AddTagHandler" type="" overloaded="no"> | |
26632 | <autodoc>AddTagHandler(HtmlTagHandler handler)</autodoc> | |
26633 | <paramlist> | |
26634 | <param name="handler" type="wxHtmlTagHandler" default=""/> | |
26635 | </paramlist> | |
26636 | </method> | |
26637 | <method name="GetSource" type="String" overloaded="no"> | |
26638 | <autodoc>GetSource() -> String</autodoc> | |
26639 | </method> | |
26640 | <method name="PushTagHandler" type="" overloaded="no"> | |
26641 | <autodoc>PushTagHandler(HtmlTagHandler handler, String tags)</autodoc> | |
26642 | <paramlist> | |
26643 | <param name="handler" type="wxHtmlTagHandler" default=""/> | |
26644 | <param name="tags" type="String" default=""/> | |
26645 | </paramlist> | |
26646 | </method> | |
26647 | <method name="PopTagHandler" type="" overloaded="no"> | |
26648 | <autodoc>PopTagHandler()</autodoc> | |
26649 | </method> | |
26650 | </class> | |
26651 | <class name="HtmlWinParser" oldname="wxHtmlWinParser" module="html"> | |
26652 | <baseclass name="HtmlParser"/> | |
26653 | <constructor name="HtmlWinParser" overloaded="no"> | |
26654 | <autodoc>__init__(HtmlWindow wnd=None) -> HtmlWinParser</autodoc> | |
26655 | <paramlist> | |
26656 | <param name="wnd" type="wxPyHtmlWindow" default="NULL"/> | |
26657 | </paramlist> | |
26658 | </constructor> | |
26659 | <method name="SetDC" type="" overloaded="no"> | |
26660 | <autodoc>SetDC(DC dc)</autodoc> | |
26661 | <paramlist> | |
26662 | <param name="dc" type="DC" default=""/> | |
26663 | </paramlist> | |
26664 | </method> | |
26665 | <method name="GetDC" type="DC" overloaded="no"> | |
26666 | <autodoc>GetDC() -> DC</autodoc> | |
26667 | </method> | |
26668 | <method name="GetCharHeight" type="int" overloaded="no"> | |
26669 | <autodoc>GetCharHeight() -> int</autodoc> | |
26670 | </method> | |
26671 | <method name="GetCharWidth" type="int" overloaded="no"> | |
26672 | <autodoc>GetCharWidth() -> int</autodoc> | |
26673 | </method> | |
26674 | <method name="GetWindow" type="wxPyHtmlWindow" overloaded="no"> | |
26675 | <autodoc>GetWindow() -> HtmlWindow</autodoc> | |
26676 | </method> | |
26677 | <method name="SetFonts" type="" overloaded="no"> | |
26678 | <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc> | |
26679 | <paramlist> | |
26680 | <param name="normal_face" type="String" default=""/> | |
26681 | <param name="fixed_face" type="String" default=""/> | |
26682 | <param name="sizes" type="PyObject" default="NULL"/> | |
26683 | </paramlist> | |
26684 | </method> | |
26685 | <method name="GetContainer" type="wxHtmlContainerCell" overloaded="no"> | |
26686 | <autodoc>GetContainer() -> HtmlContainerCell</autodoc> | |
26687 | </method> | |
26688 | <method name="OpenContainer" type="wxHtmlContainerCell" overloaded="no"> | |
26689 | <autodoc>OpenContainer() -> HtmlContainerCell</autodoc> | |
26690 | </method> | |
26691 | <method name="SetContainer" type="wxHtmlContainerCell" overloaded="no"> | |
26692 | <autodoc>SetContainer(HtmlContainerCell c) -> HtmlContainerCell</autodoc> | |
26693 | <paramlist> | |
26694 | <param name="c" type="wxHtmlContainerCell" default=""/> | |
26695 | </paramlist> | |
26696 | </method> | |
26697 | <method name="CloseContainer" type="wxHtmlContainerCell" overloaded="no"> | |
26698 | <autodoc>CloseContainer() -> HtmlContainerCell</autodoc> | |
26699 | </method> | |
26700 | <method name="GetFontSize" type="int" overloaded="no"> | |
26701 | <autodoc>GetFontSize() -> int</autodoc> | |
26702 | </method> | |
26703 | <method name="SetFontSize" type="" overloaded="no"> | |
26704 | <autodoc>SetFontSize(int s)</autodoc> | |
26705 | <paramlist> | |
26706 | <param name="s" type="int" default=""/> | |
26707 | </paramlist> | |
26708 | </method> | |
26709 | <method name="GetFontBold" type="int" overloaded="no"> | |
26710 | <autodoc>GetFontBold() -> int</autodoc> | |
26711 | </method> | |
26712 | <method name="SetFontBold" type="" overloaded="no"> | |
26713 | <autodoc>SetFontBold(int x)</autodoc> | |
26714 | <paramlist> | |
26715 | <param name="x" type="int" default=""/> | |
26716 | </paramlist> | |
26717 | </method> | |
26718 | <method name="GetFontItalic" type="int" overloaded="no"> | |
26719 | <autodoc>GetFontItalic() -> int</autodoc> | |
26720 | </method> | |
26721 | <method name="SetFontItalic" type="" overloaded="no"> | |
26722 | <autodoc>SetFontItalic(int x)</autodoc> | |
26723 | <paramlist> | |
26724 | <param name="x" type="int" default=""/> | |
26725 | </paramlist> | |
26726 | </method> | |
26727 | <method name="GetFontUnderlined" type="int" overloaded="no"> | |
26728 | <autodoc>GetFontUnderlined() -> int</autodoc> | |
26729 | </method> | |
26730 | <method name="SetFontUnderlined" type="" overloaded="no"> | |
26731 | <autodoc>SetFontUnderlined(int x)</autodoc> | |
26732 | <paramlist> | |
26733 | <param name="x" type="int" default=""/> | |
26734 | </paramlist> | |
26735 | </method> | |
26736 | <method name="GetFontFixed" type="int" overloaded="no"> | |
26737 | <autodoc>GetFontFixed() -> int</autodoc> | |
26738 | </method> | |
26739 | <method name="SetFontFixed" type="" overloaded="no"> | |
26740 | <autodoc>SetFontFixed(int x)</autodoc> | |
26741 | <paramlist> | |
26742 | <param name="x" type="int" default=""/> | |
26743 | </paramlist> | |
26744 | </method> | |
26745 | <method name="GetAlign" type="int" overloaded="no"> | |
26746 | <autodoc>GetAlign() -> int</autodoc> | |
26747 | </method> | |
26748 | <method name="SetAlign" type="" overloaded="no"> | |
26749 | <autodoc>SetAlign(int a)</autodoc> | |
26750 | <paramlist> | |
26751 | <param name="a" type="int" default=""/> | |
26752 | </paramlist> | |
26753 | </method> | |
26754 | <method name="GetLinkColor" type="Colour" overloaded="no"> | |
26755 | <autodoc>GetLinkColor() -> Colour</autodoc> | |
26756 | </method> | |
26757 | <method name="SetLinkColor" type="" overloaded="no"> | |
26758 | <autodoc>SetLinkColor(Colour clr)</autodoc> | |
26759 | <paramlist> | |
26760 | <param name="clr" type="Colour" default=""/> | |
26761 | </paramlist> | |
26762 | </method> | |
26763 | <method name="GetActualColor" type="Colour" overloaded="no"> | |
26764 | <autodoc>GetActualColor() -> Colour</autodoc> | |
26765 | </method> | |
26766 | <method name="SetActualColor" type="" overloaded="no"> | |
26767 | <autodoc>SetActualColor(Colour clr)</autodoc> | |
26768 | <paramlist> | |
26769 | <param name="clr" type="Colour" default=""/> | |
26770 | </paramlist> | |
26771 | </method> | |
26772 | <method name="SetLink" type="" overloaded="no"> | |
26773 | <autodoc>SetLink(String link)</autodoc> | |
26774 | <paramlist> | |
26775 | <param name="link" type="String" default=""/> | |
26776 | </paramlist> | |
26777 | </method> | |
26778 | <method name="CreateCurrentFont" type="Font" overloaded="no"> | |
26779 | <autodoc>CreateCurrentFont() -> Font</autodoc> | |
26780 | </method> | |
26781 | <method name="GetLink" type="HtmlLinkInfo" overloaded="no"> | |
26782 | <autodoc>GetLink() -> HtmlLinkInfo</autodoc> | |
26783 | </method> | |
26784 | </class> | |
26785 | <class name="HtmlTagHandler" oldname="wxPyHtmlTagHandler" module="html"> | |
26786 | <baseclass name="Object"/> | |
26787 | <constructor name="wxPyHtmlTagHandler" overloaded="no"> | |
26788 | <autodoc>__init__() -> HtmlTagHandler</autodoc> | |
26789 | </constructor> | |
26790 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
26791 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
26792 | <paramlist> | |
26793 | <param name="self" type="PyObject" default=""/> | |
26794 | <param name="_class" type="PyObject" default=""/> | |
26795 | </paramlist> | |
26796 | </method> | |
26797 | <method name="SetParser" type="" overloaded="no"> | |
26798 | <autodoc>SetParser(HtmlParser parser)</autodoc> | |
26799 | <paramlist> | |
26800 | <param name="parser" type="HtmlParser" default=""/> | |
26801 | </paramlist> | |
26802 | </method> | |
26803 | <method name="GetParser" type="HtmlParser" overloaded="no"> | |
26804 | <autodoc>GetParser() -> HtmlParser</autodoc> | |
26805 | </method> | |
26806 | <method name="ParseInner" type="" overloaded="no"> | |
26807 | <autodoc>ParseInner(HtmlTag tag)</autodoc> | |
26808 | <paramlist> | |
26809 | <param name="tag" type="HtmlTag" default=""/> | |
26810 | </paramlist> | |
26811 | </method> | |
26812 | </class> | |
26813 | <class name="HtmlWinTagHandler" oldname="wxPyHtmlWinTagHandler" module="html"> | |
26814 | <baseclass name="HtmlTagHandler"/> | |
26815 | <constructor name="wxPyHtmlWinTagHandler" overloaded="no"> | |
26816 | <autodoc>__init__() -> HtmlWinTagHandler</autodoc> | |
26817 | </constructor> | |
26818 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
26819 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
26820 | <paramlist> | |
26821 | <param name="self" type="PyObject" default=""/> | |
26822 | <param name="_class" type="PyObject" default=""/> | |
26823 | </paramlist> | |
26824 | </method> | |
26825 | <method name="SetParser" type="" overloaded="no"> | |
26826 | <autodoc>SetParser(HtmlParser parser)</autodoc> | |
26827 | <paramlist> | |
26828 | <param name="parser" type="HtmlParser" default=""/> | |
26829 | </paramlist> | |
26830 | </method> | |
26831 | <method name="GetParser" type="HtmlWinParser" overloaded="no"> | |
26832 | <autodoc>GetParser() -> HtmlWinParser</autodoc> | |
26833 | </method> | |
26834 | <method name="ParseInner" type="" overloaded="no"> | |
26835 | <autodoc>ParseInner(HtmlTag tag)</autodoc> | |
26836 | <paramlist> | |
26837 | <param name="tag" type="HtmlTag" default=""/> | |
26838 | </paramlist> | |
26839 | </method> | |
26840 | </class> | |
26841 | <method name="HtmlWinParser_AddTagHandler" oldname="wxHtmlWinParser_AddTagHandler" type="" overloaded="no"> | |
26842 | <autodoc>HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)</autodoc> | |
26843 | <paramlist> | |
26844 | <param name="tagHandlerClass" type="PyObject" default=""/> | |
856bf319 RD |
26845 | </paramlist> |
26846 | </method> | |
0dd25e81 | 26847 | <pythoncode> |
0f43fbdf RD |
26848 | #--------------------------------------------------------------------------- |
26849 | </pythoncode> | |
f32fc4bc RD |
26850 | <class name="HtmlSelection" oldname="wxHtmlSelection" module="html"> |
26851 | <constructor name="HtmlSelection" overloaded="no"> | |
26852 | <autodoc>__init__() -> HtmlSelection</autodoc> | |
26853 | </constructor> | |
26854 | <destructor name="~wxHtmlSelection" overloaded="no"> | |
26855 | <autodoc>__del__()</autodoc> | |
26856 | </destructor> | |
26857 | <method name="Set" type="" overloaded="no"> | |
26858 | <autodoc>Set(Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)</autodoc> | |
26859 | <paramlist> | |
26860 | <param name="fromPos" type="Point" default=""/> | |
26861 | <param name="fromCell" type="wxHtmlCell" default=""/> | |
26862 | <param name="toPos" type="Point" default=""/> | |
26863 | <param name="toCell" type="wxHtmlCell" default=""/> | |
26864 | </paramlist> | |
26865 | </method> | |
26866 | <method name="SetCells" type="" overloaded="no"> | |
26867 | <autodoc>SetCells(HtmlCell fromCell, HtmlCell toCell)</autodoc> | |
26868 | <paramlist> | |
26869 | <param name="fromCell" type="wxHtmlCell" default=""/> | |
26870 | <param name="toCell" type="wxHtmlCell" default=""/> | |
26871 | </paramlist> | |
26872 | </method> | |
26873 | <method name="GetFromCell" type="wxHtmlCell" overloaded="no"> | |
26874 | <autodoc>GetFromCell() -> HtmlCell</autodoc> | |
26875 | </method> | |
26876 | <method name="GetToCell" type="wxHtmlCell" overloaded="no"> | |
26877 | <autodoc>GetToCell() -> HtmlCell</autodoc> | |
26878 | </method> | |
26879 | <method name="GetFromPos" type="Point" overloaded="no"> | |
26880 | <autodoc>GetFromPos() -> Point</autodoc> | |
26881 | </method> | |
26882 | <method name="GetToPos" type="Point" overloaded="no"> | |
26883 | <autodoc>GetToPos() -> Point</autodoc> | |
26884 | </method> | |
26885 | <method name="GetFromPrivPos" type="Point" overloaded="no"> | |
26886 | <autodoc>GetFromPrivPos() -> Point</autodoc> | |
26887 | </method> | |
26888 | <method name="GetToPrivPos" type="Point" overloaded="no"> | |
26889 | <autodoc>GetToPrivPos() -> Point</autodoc> | |
26890 | </method> | |
26891 | <method name="SetFromPrivPos" type="" overloaded="no"> | |
26892 | <autodoc>SetFromPrivPos(Point pos)</autodoc> | |
26893 | <paramlist> | |
26894 | <param name="pos" type="Point" default=""/> | |
26895 | </paramlist> | |
26896 | </method> | |
26897 | <method name="SetToPrivPos" type="" overloaded="no"> | |
26898 | <autodoc>SetToPrivPos(Point pos)</autodoc> | |
26899 | <paramlist> | |
26900 | <param name="pos" type="Point" default=""/> | |
26901 | </paramlist> | |
26902 | </method> | |
26903 | <method name="ClearPrivPos" type="" overloaded="no"> | |
26904 | <autodoc>ClearPrivPos()</autodoc> | |
26905 | </method> | |
26906 | <method name="IsEmpty" type="bool" overloaded="no"> | |
26907 | <autodoc>IsEmpty() -> bool</autodoc> | |
26908 | </method> | |
26909 | </class> | |
26910 | <class name="HtmlRenderingState" oldname="wxHtmlRenderingState" module="html"> | |
26911 | <constructor name="HtmlRenderingState" overloaded="no"> | |
26912 | <autodoc>__init__() -> HtmlRenderingState</autodoc> | |
26913 | </constructor> | |
26914 | <destructor name="~wxHtmlRenderingState" overloaded="no"> | |
26915 | <autodoc>__del__()</autodoc> | |
26916 | </destructor> | |
26917 | <method name="SetSelectionState" type="" overloaded="no"> | |
26918 | <autodoc>SetSelectionState(int s)</autodoc> | |
26919 | <paramlist> | |
26920 | <param name="s" type="wxHtmlSelectionState" default=""/> | |
26921 | </paramlist> | |
26922 | </method> | |
26923 | <method name="GetSelectionState" type="wxHtmlSelectionState" overloaded="no"> | |
26924 | <autodoc>GetSelectionState() -> int</autodoc> | |
26925 | </method> | |
26926 | <method name="SetFgColour" type="" overloaded="no"> | |
26927 | <autodoc>SetFgColour(Colour c)</autodoc> | |
26928 | <paramlist> | |
26929 | <param name="c" type="Colour" default=""/> | |
26930 | </paramlist> | |
26931 | </method> | |
26932 | <method name="GetFgColour" type="Colour" overloaded="no"> | |
26933 | <autodoc>GetFgColour() -> Colour</autodoc> | |
26934 | </method> | |
26935 | <method name="SetBgColour" type="" overloaded="no"> | |
26936 | <autodoc>SetBgColour(Colour c)</autodoc> | |
26937 | <paramlist> | |
26938 | <param name="c" type="Colour" default=""/> | |
26939 | </paramlist> | |
26940 | </method> | |
26941 | <method name="GetBgColour" type="Colour" overloaded="no"> | |
26942 | <autodoc>GetBgColour() -> Colour</autodoc> | |
26943 | </method> | |
26944 | </class> | |
26945 | <class name="HtmlRenderingStyle" oldname="wxHtmlRenderingStyle" module="html"> | |
26946 | <method name="GetSelectedTextColour" type="Colour" overloaded="no"> | |
26947 | <autodoc>GetSelectedTextColour(Colour clr) -> Colour</autodoc> | |
26948 | <paramlist> | |
26949 | <param name="clr" type="Colour" default=""/> | |
26950 | </paramlist> | |
26951 | </method> | |
26952 | <method name="GetSelectedTextBgColour" type="Colour" overloaded="no"> | |
26953 | <autodoc>GetSelectedTextBgColour(Colour clr) -> Colour</autodoc> | |
26954 | <paramlist> | |
26955 | <param name="clr" type="Colour" default=""/> | |
26956 | </paramlist> | |
26957 | </method> | |
26958 | </class> | |
26959 | <class name="DefaultHtmlRenderingStyle" oldname="wxDefaultHtmlRenderingStyle" module="html"> | |
26960 | <baseclass name="HtmlRenderingStyle"/> | |
26961 | <method name="GetSelectedTextColour" type="Colour" overloaded="no"> | |
26962 | <autodoc>GetSelectedTextColour(Colour clr) -> Colour</autodoc> | |
26963 | <paramlist> | |
26964 | <param name="clr" type="Colour" default=""/> | |
26965 | </paramlist> | |
26966 | </method> | |
26967 | <method name="GetSelectedTextBgColour" type="Colour" overloaded="no"> | |
26968 | <autodoc>GetSelectedTextBgColour(Colour clr) -> Colour</autodoc> | |
26969 | <paramlist> | |
26970 | <param name="clr" type="Colour" default=""/> | |
26971 | </paramlist> | |
26972 | </method> | |
26973 | </class> | |
26974 | <class name="HtmlRenderingInfo" oldname="wxHtmlRenderingInfo" module="html"> | |
26975 | <constructor name="HtmlRenderingInfo" overloaded="no"> | |
26976 | <autodoc>__init__() -> HtmlRenderingInfo</autodoc> | |
26977 | </constructor> | |
26978 | <destructor name="~wxHtmlRenderingInfo" overloaded="no"> | |
26979 | <autodoc>__del__()</autodoc> | |
26980 | </destructor> | |
26981 | <method name="SetSelection" type="" overloaded="no"> | |
26982 | <autodoc>SetSelection(HtmlSelection s)</autodoc> | |
26983 | <paramlist> | |
26984 | <param name="s" type="HtmlSelection" default=""/> | |
26985 | </paramlist> | |
26986 | </method> | |
26987 | <method name="GetSelection" type="HtmlSelection" overloaded="no"> | |
26988 | <autodoc>GetSelection() -> HtmlSelection</autodoc> | |
26989 | </method> | |
26990 | <method name="SetStyle" type="" overloaded="no"> | |
26991 | <autodoc>SetStyle(HtmlRenderingStyle style)</autodoc> | |
26992 | <paramlist> | |
26993 | <param name="style" type="HtmlRenderingStyle" default=""/> | |
26994 | </paramlist> | |
26995 | </method> | |
26996 | <method name="GetStyle" type="HtmlRenderingStyle" overloaded="no"> | |
26997 | <autodoc>GetStyle() -> HtmlRenderingStyle</autodoc> | |
26998 | </method> | |
26999 | <method name="GetState" type="HtmlRenderingState" overloaded="no"> | |
27000 | <autodoc>GetState() -> HtmlRenderingState</autodoc> | |
27001 | </method> | |
27002 | </class> | |
27003 | <pythoncode> | |
27004 | #--------------------------------------------------------------------------- | |
856bf319 | 27005 | </pythoncode> |
f32fc4bc RD |
27006 | <class name="HtmlCell" oldname="wxHtmlCell" module="html"> |
27007 | <baseclass name="Object"/> | |
27008 | <constructor name="HtmlCell" overloaded="no"> | |
27009 | <autodoc>__init__() -> HtmlCell</autodoc> | |
27010 | </constructor> | |
27011 | <method name="GetPosX" type="int" overloaded="no"> | |
27012 | <autodoc>GetPosX() -> int</autodoc> | |
27013 | </method> | |
27014 | <method name="GetPosY" type="int" overloaded="no"> | |
27015 | <autodoc>GetPosY() -> int</autodoc> | |
27016 | </method> | |
27017 | <method name="GetWidth" type="int" overloaded="no"> | |
27018 | <autodoc>GetWidth() -> int</autodoc> | |
27019 | </method> | |
27020 | <method name="GetHeight" type="int" overloaded="no"> | |
27021 | <autodoc>GetHeight() -> int</autodoc> | |
27022 | </method> | |
27023 | <method name="GetDescent" type="int" overloaded="no"> | |
27024 | <autodoc>GetDescent() -> int</autodoc> | |
27025 | </method> | |
368d20e8 RD |
27026 | <method name="GetMaxTotalWidth" type="int" overloaded="no"> |
27027 | <autodoc>GetMaxTotalWidth() -> int</autodoc> | |
27028 | </method> | |
f32fc4bc RD |
27029 | <method name="GetId" type="String" overloaded="no"> |
27030 | <autodoc>GetId() -> String</autodoc> | |
27031 | </method> | |
27032 | <method name="SetId" type="" overloaded="no"> | |
27033 | <autodoc>SetId(String id)</autodoc> | |
27034 | <paramlist> | |
27035 | <param name="id" type="String" default=""/> | |
27036 | </paramlist> | |
27037 | </method> | |
27038 | <method name="GetLink" type="HtmlLinkInfo" overloaded="no"> | |
27039 | <autodoc>GetLink(int x=0, int y=0) -> HtmlLinkInfo</autodoc> | |
27040 | <paramlist> | |
27041 | <param name="x" type="int" default="0"/> | |
27042 | <param name="y" type="int" default="0"/> | |
27043 | </paramlist> | |
27044 | </method> | |
27045 | <method name="GetNext" type="HtmlCell" overloaded="no"> | |
27046 | <autodoc>GetNext() -> HtmlCell</autodoc> | |
27047 | </method> | |
27048 | <method name="GetParent" type="wxHtmlContainerCell" overloaded="no"> | |
27049 | <autodoc>GetParent() -> HtmlContainerCell</autodoc> | |
27050 | </method> | |
27051 | <method name="GetFirstChild" type="HtmlCell" overloaded="no"> | |
27052 | <autodoc>GetFirstChild() -> HtmlCell</autodoc> | |
27053 | </method> | |
27054 | <method name="GetCursor" type="Cursor" overloaded="no"> | |
27055 | <autodoc>GetCursor() -> Cursor</autodoc> | |
27056 | </method> | |
27057 | <method name="IsFormattingCell" type="bool" overloaded="no"> | |
27058 | <autodoc>IsFormattingCell() -> bool</autodoc> | |
27059 | </method> | |
27060 | <method name="SetLink" type="" overloaded="no"> | |
27061 | <autodoc>SetLink(HtmlLinkInfo link)</autodoc> | |
27062 | <paramlist> | |
27063 | <param name="link" type="HtmlLinkInfo" default=""/> | |
27064 | </paramlist> | |
27065 | </method> | |
27066 | <method name="SetNext" type="" overloaded="no"> | |
27067 | <autodoc>SetNext(HtmlCell cell)</autodoc> | |
27068 | <paramlist> | |
27069 | <param name="cell" type="HtmlCell" default=""/> | |
27070 | </paramlist> | |
27071 | </method> | |
27072 | <method name="SetParent" type="" overloaded="no"> | |
27073 | <autodoc>SetParent(HtmlContainerCell p)</autodoc> | |
27074 | <paramlist> | |
27075 | <param name="p" type="wxHtmlContainerCell" default=""/> | |
27076 | </paramlist> | |
27077 | </method> | |
27078 | <method name="SetPos" type="" overloaded="no"> | |
27079 | <autodoc>SetPos(int x, int y)</autodoc> | |
27080 | <paramlist> | |
27081 | <param name="x" type="int" default=""/> | |
27082 | <param name="y" type="int" default=""/> | |
27083 | </paramlist> | |
27084 | </method> | |
27085 | <method name="Layout" type="" overloaded="no"> | |
27086 | <autodoc>Layout(int w)</autodoc> | |
27087 | <paramlist> | |
27088 | <param name="w" type="int" default=""/> | |
27089 | </paramlist> | |
27090 | </method> | |
27091 | <method name="Draw" type="" overloaded="no"> | |
27092 | <autodoc>Draw(DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)</autodoc> | |
27093 | <paramlist> | |
27094 | <param name="dc" type="DC" default=""/> | |
27095 | <param name="x" type="int" default=""/> | |
27096 | <param name="y" type="int" default=""/> | |
27097 | <param name="view_y1" type="int" default=""/> | |
27098 | <param name="view_y2" type="int" default=""/> | |
27099 | <param name="info" type="HtmlRenderingInfo" default=""/> | |
27100 | </paramlist> | |
27101 | </method> | |
27102 | <method name="DrawInvisible" type="" overloaded="no"> | |
27103 | <autodoc>DrawInvisible(DC dc, int x, int y, HtmlRenderingInfo info)</autodoc> | |
27104 | <paramlist> | |
27105 | <param name="dc" type="DC" default=""/> | |
27106 | <param name="x" type="int" default=""/> | |
27107 | <param name="y" type="int" default=""/> | |
27108 | <param name="info" type="HtmlRenderingInfo" default=""/> | |
27109 | </paramlist> | |
27110 | </method> | |
27111 | <method name="Find" type="HtmlCell" overloaded="no"> | |
27112 | <autodoc>Find(int condition, void param) -> HtmlCell</autodoc> | |
27113 | <paramlist> | |
27114 | <param name="condition" type="int" default=""/> | |
27115 | <param name="param" type="" default=""/> | |
27116 | </paramlist> | |
27117 | </method> | |
27118 | <method name="AdjustPagebreak" type="bool" overloaded="no"> | |
27119 | <autodoc>AdjustPagebreak(int INOUT) -> bool</autodoc> | |
27120 | <paramlist> | |
27121 | <param name="INOUT" type="int" default=""/> | |
27122 | </paramlist> | |
27123 | </method> | |
27124 | <method name="SetCanLiveOnPagebreak" type="" overloaded="no"> | |
27125 | <autodoc>SetCanLiveOnPagebreak(bool can)</autodoc> | |
27126 | <paramlist> | |
27127 | <param name="can" type="bool" default=""/> | |
27128 | </paramlist> | |
27129 | </method> | |
27130 | <method name="IsLinebreakAllowed" type="bool" overloaded="no"> | |
27131 | <autodoc>IsLinebreakAllowed() -> bool</autodoc> | |
27132 | </method> | |
27133 | <method name="IsTerminalCell" type="bool" overloaded="no"> | |
27134 | <autodoc>IsTerminalCell() -> bool</autodoc> | |
27135 | </method> | |
27136 | <method name="FindCellByPos" type="HtmlCell" overloaded="no"> | |
27137 | <autodoc>FindCellByPos(int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell</autodoc> | |
27138 | <paramlist> | |
27139 | <param name="x" type="int" default=""/> | |
27140 | <param name="y" type="int" default=""/> | |
27141 | <param name="flags" type="unsigned int" default="wxHTML_FIND_EXACT"/> | |
27142 | </paramlist> | |
27143 | </method> | |
27144 | <method name="GetAbsPos" type="Point" overloaded="no"> | |
27145 | <autodoc>GetAbsPos() -> Point</autodoc> | |
27146 | </method> | |
27147 | <method name="GetFirstTerminal" type="HtmlCell" overloaded="no"> | |
27148 | <autodoc>GetFirstTerminal() -> HtmlCell</autodoc> | |
27149 | </method> | |
27150 | <method name="GetLastTerminal" type="HtmlCell" overloaded="no"> | |
27151 | <autodoc>GetLastTerminal() -> HtmlCell</autodoc> | |
27152 | </method> | |
27153 | <method name="GetDepth" type="unsigned int" overloaded="no"> | |
27154 | <autodoc>GetDepth() -> unsigned int</autodoc> | |
27155 | </method> | |
27156 | <method name="IsBefore" type="bool" overloaded="no"> | |
27157 | <autodoc>IsBefore(HtmlCell cell) -> bool</autodoc> | |
27158 | <paramlist> | |
27159 | <param name="cell" type="HtmlCell" default=""/> | |
27160 | </paramlist> | |
27161 | </method> | |
27162 | <method name="ConvertToText" type="String" overloaded="no"> | |
27163 | <autodoc>ConvertToText(HtmlSelection sel) -> String</autodoc> | |
27164 | <paramlist> | |
27165 | <param name="sel" type="HtmlSelection" default=""/> | |
27166 | </paramlist> | |
27167 | </method> | |
27168 | </class> | |
27169 | <class name="HtmlWordCell" oldname="wxHtmlWordCell" module="html"> | |
27170 | <baseclass name="HtmlCell"/> | |
27171 | <constructor name="HtmlWordCell" overloaded="no"> | |
27172 | <autodoc>__init__(String word, DC dc) -> HtmlWordCell</autodoc> | |
27173 | <paramlist> | |
27174 | <param name="word" type="String" default=""/> | |
27175 | <param name="dc" type="DC" default=""/> | |
27176 | </paramlist> | |
27177 | </constructor> | |
27178 | </class> | |
27179 | <class name="HtmlContainerCell" oldname="wxHtmlContainerCell" module="html"> | |
27180 | <baseclass name="HtmlCell"/> | |
27181 | <constructor name="HtmlContainerCell" overloaded="no"> | |
27182 | <autodoc>__init__(HtmlContainerCell parent) -> HtmlContainerCell</autodoc> | |
27183 | <paramlist> | |
27184 | <param name="parent" type="HtmlContainerCell" default=""/> | |
27185 | </paramlist> | |
27186 | </constructor> | |
27187 | <method name="InsertCell" type="" overloaded="no"> | |
27188 | <autodoc>InsertCell(HtmlCell cell)</autodoc> | |
27189 | <paramlist> | |
27190 | <param name="cell" type="HtmlCell" default=""/> | |
27191 | </paramlist> | |
27192 | </method> | |
27193 | <method name="SetAlignHor" type="" overloaded="no"> | |
27194 | <autodoc>SetAlignHor(int al)</autodoc> | |
27195 | <paramlist> | |
27196 | <param name="al" type="int" default=""/> | |
27197 | </paramlist> | |
27198 | </method> | |
27199 | <method name="GetAlignHor" type="int" overloaded="no"> | |
27200 | <autodoc>GetAlignHor() -> int</autodoc> | |
27201 | </method> | |
27202 | <method name="SetAlignVer" type="" overloaded="no"> | |
27203 | <autodoc>SetAlignVer(int al)</autodoc> | |
27204 | <paramlist> | |
27205 | <param name="al" type="int" default=""/> | |
27206 | </paramlist> | |
27207 | </method> | |
27208 | <method name="GetAlignVer" type="int" overloaded="no"> | |
27209 | <autodoc>GetAlignVer() -> int</autodoc> | |
27210 | </method> | |
27211 | <method name="SetIndent" type="" overloaded="no"> | |
27212 | <autodoc>SetIndent(int i, int what, int units=HTML_UNITS_PIXELS)</autodoc> | |
27213 | <paramlist> | |
27214 | <param name="i" type="int" default=""/> | |
27215 | <param name="what" type="int" default=""/> | |
27216 | <param name="units" type="int" default="wxHTML_UNITS_PIXELS"/> | |
27217 | </paramlist> | |
27218 | </method> | |
27219 | <method name="GetIndent" type="int" overloaded="no"> | |
27220 | <autodoc>GetIndent(int ind) -> int</autodoc> | |
27221 | <paramlist> | |
27222 | <param name="ind" type="int" default=""/> | |
27223 | </paramlist> | |
27224 | </method> | |
27225 | <method name="GetIndentUnits" type="int" overloaded="no"> | |
27226 | <autodoc>GetIndentUnits(int ind) -> int</autodoc> | |
27227 | <paramlist> | |
27228 | <param name="ind" type="int" default=""/> | |
27229 | </paramlist> | |
27230 | </method> | |
27231 | <method name="SetAlign" type="" overloaded="no"> | |
27232 | <autodoc>SetAlign(HtmlTag tag)</autodoc> | |
27233 | <paramlist> | |
27234 | <param name="tag" type="HtmlTag" default=""/> | |
27235 | </paramlist> | |
27236 | </method> | |
27237 | <method name="SetWidthFloat" type="" overloaded="no"> | |
27238 | <autodoc>SetWidthFloat(int w, int units)</autodoc> | |
27239 | <paramlist> | |
27240 | <param name="w" type="int" default=""/> | |
27241 | <param name="units" type="int" default=""/> | |
27242 | </paramlist> | |
27243 | </method> | |
27244 | <method name="SetWidthFloatFromTag" type="" overloaded="no"> | |
27245 | <autodoc>SetWidthFloatFromTag(HtmlTag tag)</autodoc> | |
27246 | <paramlist> | |
27247 | <param name="tag" type="HtmlTag" default=""/> | |
27248 | </paramlist> | |
27249 | </method> | |
27250 | <method name="SetMinHeight" type="" overloaded="no"> | |
27251 | <autodoc>SetMinHeight(int h, int align=HTML_ALIGN_TOP)</autodoc> | |
27252 | <paramlist> | |
27253 | <param name="h" type="int" default=""/> | |
27254 | <param name="align" type="int" default="wxHTML_ALIGN_TOP"/> | |
27255 | </paramlist> | |
27256 | </method> | |
27257 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
27258 | <autodoc>SetBackgroundColour(Colour clr)</autodoc> | |
27259 | <paramlist> | |
27260 | <param name="clr" type="Colour" default=""/> | |
27261 | </paramlist> | |
27262 | </method> | |
27263 | <method name="GetBackgroundColour" type="Colour" overloaded="no"> | |
27264 | <autodoc>GetBackgroundColour() -> Colour</autodoc> | |
27265 | </method> | |
27266 | <method name="SetBorder" type="" overloaded="no"> | |
27267 | <autodoc>SetBorder(Colour clr1, Colour clr2)</autodoc> | |
27268 | <paramlist> | |
27269 | <param name="clr1" type="Colour" default=""/> | |
27270 | <param name="clr2" type="Colour" default=""/> | |
27271 | </paramlist> | |
27272 | </method> | |
27273 | <method name="GetFirstChild" type="HtmlCell" overloaded="no"> | |
27274 | <autodoc>GetFirstChild() -> HtmlCell</autodoc> | |
27275 | </method> | |
27276 | </class> | |
27277 | <class name="HtmlColourCell" oldname="wxHtmlColourCell" module="html"> | |
27278 | <baseclass name="HtmlCell"/> | |
27279 | <constructor name="HtmlColourCell" overloaded="no"> | |
27280 | <autodoc>__init__(Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell</autodoc> | |
27281 | <paramlist> | |
27282 | <param name="clr" type="Colour" default=""/> | |
27283 | <param name="flags" type="int" default="wxHTML_CLR_FOREGROUND"/> | |
27284 | </paramlist> | |
27285 | </constructor> | |
27286 | </class> | |
27287 | <class name="HtmlFontCell" oldname="wxHtmlFontCell" module="html"> | |
27288 | <baseclass name="HtmlCell"/> | |
27289 | <constructor name="HtmlFontCell" overloaded="no"> | |
27290 | <autodoc>__init__(Font font) -> HtmlFontCell</autodoc> | |
27291 | <paramlist> | |
27292 | <param name="font" type="Font" default=""/> | |
27293 | </paramlist> | |
27294 | </constructor> | |
27295 | </class> | |
27296 | <class name="HtmlWidgetCell" oldname="wxHtmlWidgetCell" module="html"> | |
27297 | <baseclass name="HtmlCell"/> | |
27298 | <constructor name="HtmlWidgetCell" overloaded="no"> | |
27299 | <autodoc>__init__(Window wnd, int w=0) -> HtmlWidgetCell</autodoc> | |
27300 | <paramlist> | |
27301 | <param name="wnd" type="Window" default=""/> | |
27302 | <param name="w" type="int" default="0"/> | |
27303 | </paramlist> | |
27304 | </constructor> | |
27305 | </class> | |
27306 | <pythoncode> | |
0f43fbdf RD |
27307 | #--------------------------------------------------------------------------- |
27308 | </pythoncode> | |
f32fc4bc RD |
27309 | <class name="HtmlFilter" oldname="wxPyHtmlFilter" module="html"> |
27310 | <baseclass name="Object"/> | |
27311 | <constructor name="wxPyHtmlFilter" overloaded="no"> | |
27312 | <autodoc>__init__() -> HtmlFilter</autodoc> | |
27313 | </constructor> | |
27314 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
27315 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
27316 | <paramlist> | |
27317 | <param name="self" type="PyObject" default=""/> | |
27318 | <param name="_class" type="PyObject" default=""/> | |
27319 | </paramlist> | |
27320 | </method> | |
27321 | </class> | |
27322 | <pythoncode> | |
0f43fbdf RD |
27323 | #--------------------------------------------------------------------------- |
27324 | </pythoncode> | |
f32fc4bc RD |
27325 | <class name="HtmlWindow" oldname="wxPyHtmlWindow" module="html"> |
27326 | <baseclass name="ScrolledWindow"/> | |
27327 | <constructor name="wxPyHtmlWindow" overloaded="no"> | |
27328 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
27329 | Size size=DefaultSize, int style=HW_DEFAULT_STYLE, | |
27330 | String name=HtmlWindowNameStr) -> HtmlWindow</autodoc> | |
27331 | <paramlist> | |
27332 | <param name="parent" type="Window" default=""/> | |
27333 | <param name="id" type="int" default="-1"/> | |
27334 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
27335 | <param name="size" type="Size" default="wxDefaultSize"/> | |
27336 | <param name="style" type="int" default="wxHW_DEFAULT_STYLE"/> | |
27337 | <param name="name" type="String" default="wxPyHtmlWindowNameStr"/> | |
27338 | </paramlist> | |
27339 | </constructor> | |
27340 | <constructor name="PreHtmlWindow" overloaded="no"> | |
27341 | <autodoc>PreHtmlWindow() -> HtmlWindow</autodoc> | |
27342 | </constructor> | |
27343 | <method name="Create" type="bool" overloaded="no"> | |
27344 | <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, | |
27345 | Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO, | |
27346 | String name=HtmlWindowNameStr) -> bool</autodoc> | |
27347 | <paramlist> | |
27348 | <param name="parent" type="Window" default=""/> | |
27349 | <param name="id" type="int" default="-1"/> | |
27350 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
27351 | <param name="size" type="Size" default="wxDefaultSize"/> | |
27352 | <param name="style" type="int" default="wxHW_SCROLLBAR_AUTO"/> | |
27353 | <param name="name" type="String" default="wxPyHtmlWindowNameStr"/> | |
27354 | </paramlist> | |
27355 | </method> | |
27356 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
27357 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
27358 | <paramlist> | |
27359 | <param name="self" type="PyObject" default=""/> | |
27360 | <param name="_class" type="PyObject" default=""/> | |
27361 | </paramlist> | |
27362 | </method> | |
27363 | <method name="SetPage" type="bool" overloaded="no"> | |
27364 | <autodoc>SetPage(String source) -> bool</autodoc> | |
27365 | <paramlist> | |
27366 | <param name="source" type="String" default=""/> | |
27367 | </paramlist> | |
27368 | </method> | |
27369 | <method name="LoadPage" type="bool" overloaded="no"> | |
27370 | <autodoc>LoadPage(String location) -> bool</autodoc> | |
27371 | <paramlist> | |
27372 | <param name="location" type="String" default=""/> | |
27373 | </paramlist> | |
27374 | </method> | |
27375 | <method name="LoadFile" type="bool" overloaded="no"> | |
27376 | <autodoc>LoadFile(String filename) -> bool</autodoc> | |
27377 | <paramlist> | |
27378 | <param name="filename" type="String" default=""/> | |
27379 | </paramlist> | |
27380 | </method> | |
27381 | <method name="AppendToPage" type="bool" overloaded="no"> | |
27382 | <autodoc>AppendToPage(String source) -> bool</autodoc> | |
27383 | <paramlist> | |
27384 | <param name="source" type="String" default=""/> | |
27385 | </paramlist> | |
27386 | </method> | |
27387 | <method name="GetOpenedPage" type="String" overloaded="no"> | |
27388 | <autodoc>GetOpenedPage() -> String</autodoc> | |
27389 | </method> | |
27390 | <method name="GetOpenedAnchor" type="String" overloaded="no"> | |
27391 | <autodoc>GetOpenedAnchor() -> String</autodoc> | |
27392 | </method> | |
27393 | <method name="GetOpenedPageTitle" type="String" overloaded="no"> | |
27394 | <autodoc>GetOpenedPageTitle() -> String</autodoc> | |
27395 | </method> | |
27396 | <method name="SetRelatedFrame" type="" overloaded="no"> | |
27397 | <autodoc>SetRelatedFrame(Frame frame, String format)</autodoc> | |
27398 | <paramlist> | |
27399 | <param name="frame" type="Frame" default=""/> | |
27400 | <param name="format" type="String" default=""/> | |
27401 | </paramlist> | |
27402 | </method> | |
27403 | <method name="GetRelatedFrame" type="Frame" overloaded="no"> | |
27404 | <autodoc>GetRelatedFrame() -> Frame</autodoc> | |
27405 | </method> | |
27406 | <method name="SetRelatedStatusBar" type="" overloaded="no"> | |
27407 | <autodoc>SetRelatedStatusBar(int bar)</autodoc> | |
27408 | <paramlist> | |
27409 | <param name="bar" type="int" default=""/> | |
27410 | </paramlist> | |
27411 | </method> | |
27412 | <method name="SetFonts" type="" overloaded="no"> | |
27413 | <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc> | |
27414 | <paramlist> | |
27415 | <param name="normal_face" type="String" default=""/> | |
27416 | <param name="fixed_face" type="String" default=""/> | |
27417 | <param name="sizes" type="PyObject" default="NULL"/> | |
27418 | </paramlist> | |
27419 | </method> | |
27420 | <method name="SetTitle" type="" overloaded="no"> | |
27421 | <autodoc>SetTitle(String title)</autodoc> | |
27422 | <paramlist> | |
27423 | <param name="title" type="String" default=""/> | |
27424 | </paramlist> | |
27425 | </method> | |
27426 | <method name="SetBorders" type="" overloaded="no"> | |
27427 | <autodoc>SetBorders(int b)</autodoc> | |
27428 | <paramlist> | |
27429 | <param name="b" type="int" default=""/> | |
27430 | </paramlist> | |
27431 | </method> | |
27432 | <method name="ReadCustomization" type="" overloaded="no"> | |
27433 | <autodoc>ReadCustomization(ConfigBase cfg, String path=EmptyString)</autodoc> | |
27434 | <paramlist> | |
27435 | <param name="cfg" type="ConfigBase" default=""/> | |
27436 | <param name="path" type="String" default="wxPyEmptyString"/> | |
27437 | </paramlist> | |
27438 | </method> | |
27439 | <method name="WriteCustomization" type="" overloaded="no"> | |
27440 | <autodoc>WriteCustomization(ConfigBase cfg, String path=EmptyString)</autodoc> | |
27441 | <paramlist> | |
27442 | <param name="cfg" type="ConfigBase" default=""/> | |
27443 | <param name="path" type="String" default="wxPyEmptyString"/> | |
27444 | </paramlist> | |
27445 | </method> | |
27446 | <method name="HistoryBack" type="bool" overloaded="no"> | |
27447 | <autodoc>HistoryBack() -> bool</autodoc> | |
27448 | </method> | |
27449 | <method name="HistoryForward" type="bool" overloaded="no"> | |
27450 | <autodoc>HistoryForward() -> bool</autodoc> | |
27451 | </method> | |
27452 | <method name="HistoryCanBack" type="bool" overloaded="no"> | |
27453 | <autodoc>HistoryCanBack() -> bool</autodoc> | |
27454 | </method> | |
27455 | <method name="HistoryCanForward" type="bool" overloaded="no"> | |
27456 | <autodoc>HistoryCanForward() -> bool</autodoc> | |
27457 | </method> | |
27458 | <method name="HistoryClear" type="" overloaded="no"> | |
27459 | <autodoc>HistoryClear()</autodoc> | |
27460 | </method> | |
27461 | <method name="GetInternalRepresentation" type="HtmlContainerCell" overloaded="no"> | |
27462 | <autodoc>GetInternalRepresentation() -> HtmlContainerCell</autodoc> | |
27463 | </method> | |
27464 | <method name="GetParser" type="HtmlWinParser" overloaded="no"> | |
27465 | <autodoc>GetParser() -> HtmlWinParser</autodoc> | |
27466 | </method> | |
27467 | <method name="ScrollToAnchor" type="bool" overloaded="no"> | |
27468 | <autodoc>ScrollToAnchor(String anchor) -> bool</autodoc> | |
27469 | <paramlist> | |
27470 | <param name="anchor" type="String" default=""/> | |
27471 | </paramlist> | |
27472 | </method> | |
27473 | <method name="HasAnchor" type="bool" overloaded="no"> | |
27474 | <autodoc>HasAnchor(String anchor) -> bool</autodoc> | |
27475 | <paramlist> | |
27476 | <param name="anchor" type="String" default=""/> | |
27477 | </paramlist> | |
27478 | </method> | |
27479 | <staticmethod name="AddFilter" type="" overloaded="no"> | |
27480 | <autodoc>AddFilter(HtmlFilter filter)</autodoc> | |
27481 | <paramlist> | |
27482 | <param name="filter" type="HtmlFilter" default=""/> | |
27483 | </paramlist> | |
27484 | </staticmethod> | |
27485 | <method name="SelectWord" type="" overloaded="no"> | |
27486 | <autodoc>SelectWord(Point pos)</autodoc> | |
27487 | <paramlist> | |
27488 | <param name="pos" type="Point" default=""/> | |
27489 | </paramlist> | |
27490 | </method> | |
27491 | <method name="SelectLine" type="" overloaded="no"> | |
27492 | <autodoc>SelectLine(Point pos)</autodoc> | |
27493 | <paramlist> | |
27494 | <param name="pos" type="Point" default=""/> | |
27495 | </paramlist> | |
27496 | </method> | |
27497 | <method name="SelectAll" type="" overloaded="no"> | |
27498 | <autodoc>SelectAll()</autodoc> | |
27499 | </method> | |
27500 | <method name="base_OnLinkClicked" type="" overloaded="no"> | |
27501 | <autodoc>base_OnLinkClicked(HtmlLinkInfo link)</autodoc> | |
27502 | <paramlist> | |
27503 | <param name="link" type="HtmlLinkInfo" default=""/> | |
27504 | </paramlist> | |
27505 | </method> | |
27506 | <method name="base_OnSetTitle" type="" overloaded="no"> | |
27507 | <autodoc>base_OnSetTitle(String title)</autodoc> | |
27508 | <paramlist> | |
27509 | <param name="title" type="String" default=""/> | |
27510 | </paramlist> | |
27511 | </method> | |
27512 | <method name="base_OnCellMouseHover" type="" overloaded="no"> | |
27513 | <autodoc>base_OnCellMouseHover(HtmlCell cell, int x, int y)</autodoc> | |
27514 | <paramlist> | |
27515 | <param name="cell" type="HtmlCell" default=""/> | |
27516 | <param name="x" type="int" default=""/> | |
27517 | <param name="y" type="int" default=""/> | |
27518 | </paramlist> | |
27519 | </method> | |
27520 | <method name="base_OnCellClicked" type="" overloaded="no"> | |
27521 | <autodoc>base_OnCellClicked(HtmlCell cell, int x, int y, MouseEvent event)</autodoc> | |
27522 | <paramlist> | |
27523 | <param name="cell" type="HtmlCell" default=""/> | |
27524 | <param name="x" type="int" default=""/> | |
27525 | <param name="y" type="int" default=""/> | |
27526 | <param name="event" type="MouseEvent" default=""/> | |
27527 | </paramlist> | |
27528 | </method> | |
27529 | </class> | |
27530 | <pythoncode> | |
0f43fbdf RD |
27531 | #--------------------------------------------------------------------------- |
27532 | </pythoncode> | |
f32fc4bc RD |
27533 | <class name="HtmlDCRenderer" oldname="wxHtmlDCRenderer" module="html"> |
27534 | <baseclass name="Object"/> | |
27535 | <constructor name="HtmlDCRenderer" overloaded="no"> | |
27536 | <autodoc>__init__() -> HtmlDCRenderer</autodoc> | |
27537 | </constructor> | |
27538 | <destructor name="~wxHtmlDCRenderer" overloaded="no"> | |
27539 | <autodoc>__del__()</autodoc> | |
27540 | </destructor> | |
27541 | <method name="SetDC" type="" overloaded="no"> | |
27542 | <autodoc>SetDC(DC dc, int maxwidth)</autodoc> | |
27543 | <paramlist> | |
27544 | <param name="dc" type="DC" default=""/> | |
27545 | <param name="maxwidth" type="int" default=""/> | |
27546 | </paramlist> | |
27547 | </method> | |
27548 | <method name="SetSize" type="" overloaded="no"> | |
27549 | <autodoc>SetSize(int width, int height)</autodoc> | |
27550 | <paramlist> | |
27551 | <param name="width" type="int" default=""/> | |
27552 | <param name="height" type="int" default=""/> | |
27553 | </paramlist> | |
27554 | </method> | |
27555 | <method name="SetHtmlText" type="" overloaded="no"> | |
27556 | <autodoc>SetHtmlText(String html, String basepath=EmptyString, bool isdir=True)</autodoc> | |
27557 | <paramlist> | |
27558 | <param name="html" type="String" default=""/> | |
27559 | <param name="basepath" type="String" default="wxPyEmptyString"/> | |
27560 | <param name="isdir" type="bool" default="True"/> | |
27561 | </paramlist> | |
27562 | </method> | |
27563 | <method name="SetFonts" type="" overloaded="no"> | |
27564 | <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc> | |
27565 | <paramlist> | |
27566 | <param name="normal_face" type="String" default=""/> | |
27567 | <param name="fixed_face" type="String" default=""/> | |
27568 | <param name="sizes" type="PyObject" default="NULL"/> | |
27569 | </paramlist> | |
27570 | </method> | |
27571 | <method name="Render" type="int" overloaded="no"> | |
27572 | <autodoc>Render(int x, int y, int from=0, int dont_render=False, int to=INT_MAX, | |
27573 | int choices=None, int LCOUNT=0) -> int</autodoc> | |
27574 | <paramlist> | |
27575 | <param name="x" type="int" default=""/> | |
27576 | <param name="y" type="int" default=""/> | |
27577 | <param name="from" type="int" default="0"/> | |
27578 | <param name="dont_render" type="int" default="False"/> | |
27579 | <param name="to" type="int" default="INT_MAX"/> | |
27580 | <param name="choices" type="int" default="NULL"/> | |
27581 | <param name="LCOUNT" type="int" default="0"/> | |
27582 | </paramlist> | |
27583 | </method> | |
27584 | <method name="GetTotalHeight" type="int" overloaded="no"> | |
27585 | <autodoc>GetTotalHeight() -> int</autodoc> | |
27586 | </method> | |
27587 | </class> | |
27588 | <class name="HtmlPrintout" oldname="wxHtmlPrintout" module="html"> | |
27589 | <baseclass name="Printout"/> | |
27590 | <constructor name="HtmlPrintout" overloaded="no"> | |
27591 | <autodoc>__init__(String title=HtmlPrintoutTitleStr) -> HtmlPrintout</autodoc> | |
27592 | <paramlist> | |
27593 | <param name="title" type="String" default="wxPyHtmlPrintoutTitleStr"/> | |
27594 | </paramlist> | |
27595 | </constructor> | |
27596 | <method name="SetHtmlText" type="" overloaded="no"> | |
27597 | <autodoc>SetHtmlText(String html, String basepath=EmptyString, bool isdir=True)</autodoc> | |
27598 | <paramlist> | |
27599 | <param name="html" type="String" default=""/> | |
27600 | <param name="basepath" type="String" default="wxPyEmptyString"/> | |
27601 | <param name="isdir" type="bool" default="True"/> | |
27602 | </paramlist> | |
27603 | </method> | |
27604 | <method name="SetHtmlFile" type="" overloaded="no"> | |
27605 | <autodoc>SetHtmlFile(String htmlfile)</autodoc> | |
27606 | <paramlist> | |
27607 | <param name="htmlfile" type="String" default=""/> | |
27608 | </paramlist> | |
27609 | </method> | |
27610 | <method name="SetHeader" type="" overloaded="no"> | |
27611 | <autodoc>SetHeader(String header, int pg=PAGE_ALL)</autodoc> | |
27612 | <paramlist> | |
27613 | <param name="header" type="String" default=""/> | |
27614 | <param name="pg" type="int" default="wxPAGE_ALL"/> | |
27615 | </paramlist> | |
27616 | </method> | |
27617 | <method name="SetFooter" type="" overloaded="no"> | |
27618 | <autodoc>SetFooter(String footer, int pg=PAGE_ALL)</autodoc> | |
27619 | <paramlist> | |
27620 | <param name="footer" type="String" default=""/> | |
27621 | <param name="pg" type="int" default="wxPAGE_ALL"/> | |
27622 | </paramlist> | |
27623 | </method> | |
27624 | <method name="SetFonts" type="" overloaded="no"> | |
27625 | <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc> | |
27626 | <paramlist> | |
27627 | <param name="normal_face" type="String" default=""/> | |
27628 | <param name="fixed_face" type="String" default=""/> | |
27629 | <param name="sizes" type="PyObject" default="NULL"/> | |
27630 | </paramlist> | |
27631 | </method> | |
27632 | <method name="SetMargins" type="" overloaded="no"> | |
27633 | <autodoc>SetMargins(float top=25.2, float bottom=25.2, float left=25.2, | |
27634 | float right=25.2, float spaces=5)</autodoc> | |
27635 | <paramlist> | |
27636 | <param name="top" type="float" default="25.2"/> | |
27637 | <param name="bottom" type="float" default="25.2"/> | |
27638 | <param name="left" type="float" default="25.2"/> | |
27639 | <param name="right" type="float" default="25.2"/> | |
27640 | <param name="spaces" type="float" default="5"/> | |
27641 | </paramlist> | |
27642 | </method> | |
27643 | <staticmethod name="AddFilter" type="" overloaded="no"> | |
27644 | <autodoc>AddFilter(wxHtmlFilter filter)</autodoc> | |
27645 | <paramlist> | |
27646 | <param name="filter" type="wxHtmlFilter" default=""/> | |
27647 | </paramlist> | |
27648 | </staticmethod> | |
27649 | <staticmethod name="CleanUpStatics" type="" overloaded="no"> | |
27650 | <autodoc>CleanUpStatics()</autodoc> | |
27651 | </staticmethod> | |
27652 | </class> | |
27653 | <class name="HtmlEasyPrinting" oldname="wxHtmlEasyPrinting" module="html"> | |
27654 | <baseclass name="Object"/> | |
27655 | <constructor name="HtmlEasyPrinting" overloaded="no"> | |
27656 | <autodoc>__init__(String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting</autodoc> | |
27657 | <paramlist> | |
27658 | <param name="name" type="String" default="wxPyHtmlPrintingTitleStr"/> | |
27659 | <param name="parentWindow" type="Window" default="NULL"/> | |
27660 | </paramlist> | |
27661 | </constructor> | |
27662 | <destructor name="~wxHtmlEasyPrinting" overloaded="no"> | |
27663 | <autodoc>__del__()</autodoc> | |
27664 | </destructor> | |
27665 | <method name="PreviewFile" type="" overloaded="no"> | |
27666 | <autodoc>PreviewFile(String htmlfile)</autodoc> | |
27667 | <paramlist> | |
27668 | <param name="htmlfile" type="String" default=""/> | |
27669 | </paramlist> | |
27670 | </method> | |
27671 | <method name="PreviewText" type="" overloaded="no"> | |
27672 | <autodoc>PreviewText(String htmltext, String basepath=EmptyString)</autodoc> | |
27673 | <paramlist> | |
27674 | <param name="htmltext" type="String" default=""/> | |
27675 | <param name="basepath" type="String" default="wxPyEmptyString"/> | |
27676 | </paramlist> | |
27677 | </method> | |
27678 | <method name="PrintFile" type="" overloaded="no"> | |
27679 | <autodoc>PrintFile(String htmlfile)</autodoc> | |
27680 | <paramlist> | |
27681 | <param name="htmlfile" type="String" default=""/> | |
27682 | </paramlist> | |
27683 | </method> | |
27684 | <method name="PrintText" type="" overloaded="no"> | |
27685 | <autodoc>PrintText(String htmltext, String basepath=EmptyString)</autodoc> | |
27686 | <paramlist> | |
27687 | <param name="htmltext" type="String" default=""/> | |
27688 | <param name="basepath" type="String" default="wxPyEmptyString"/> | |
27689 | </paramlist> | |
27690 | </method> | |
27691 | <method name="PrinterSetup" type="" overloaded="no"> | |
27692 | <autodoc>PrinterSetup()</autodoc> | |
27693 | </method> | |
27694 | <method name="PageSetup" type="" overloaded="no"> | |
27695 | <autodoc>PageSetup()</autodoc> | |
27696 | </method> | |
27697 | <method name="SetHeader" type="" overloaded="no"> | |
27698 | <autodoc>SetHeader(String header, int pg=PAGE_ALL)</autodoc> | |
27699 | <paramlist> | |
27700 | <param name="header" type="String" default=""/> | |
27701 | <param name="pg" type="int" default="wxPAGE_ALL"/> | |
27702 | </paramlist> | |
27703 | </method> | |
27704 | <method name="SetFooter" type="" overloaded="no"> | |
27705 | <autodoc>SetFooter(String footer, int pg=PAGE_ALL)</autodoc> | |
27706 | <paramlist> | |
27707 | <param name="footer" type="String" default=""/> | |
27708 | <param name="pg" type="int" default="wxPAGE_ALL"/> | |
27709 | </paramlist> | |
27710 | </method> | |
27711 | <method name="SetFonts" type="" overloaded="no"> | |
27712 | <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc> | |
27713 | <paramlist> | |
27714 | <param name="normal_face" type="String" default=""/> | |
27715 | <param name="fixed_face" type="String" default=""/> | |
27716 | <param name="sizes" type="PyObject" default="NULL"/> | |
27717 | </paramlist> | |
27718 | </method> | |
27719 | <method name="GetPrintData" type="PrintData" overloaded="no"> | |
27720 | <autodoc>GetPrintData() -> PrintData</autodoc> | |
27721 | </method> | |
27722 | <method name="GetPageSetupData" type="PageSetupDialogData" overloaded="no"> | |
27723 | <autodoc>GetPageSetupData() -> PageSetupDialogData</autodoc> | |
27724 | </method> | |
27725 | </class> | |
27726 | <pythoncode> | |
0dd25e81 RD |
27727 | #--------------------------------------------------------------------------- |
27728 | </pythoncode> | |
f32fc4bc RD |
27729 | <class name="HtmlBookRecord" oldname="wxHtmlBookRecord" module="html"> |
27730 | <constructor name="HtmlBookRecord" overloaded="no"> | |
27731 | <autodoc>__init__(String bookfile, String basepath, String title, String start) -> HtmlBookRecord</autodoc> | |
27732 | <paramlist> | |
27733 | <param name="bookfile" type="String" default=""/> | |
27734 | <param name="basepath" type="String" default=""/> | |
27735 | <param name="title" type="String" default=""/> | |
27736 | <param name="start" type="String" default=""/> | |
27737 | </paramlist> | |
27738 | </constructor> | |
27739 | <method name="GetBookFile" type="String" overloaded="no"> | |
27740 | <autodoc>GetBookFile() -> String</autodoc> | |
27741 | </method> | |
27742 | <method name="GetTitle" type="String" overloaded="no"> | |
27743 | <autodoc>GetTitle() -> String</autodoc> | |
27744 | </method> | |
27745 | <method name="GetStart" type="String" overloaded="no"> | |
27746 | <autodoc>GetStart() -> String</autodoc> | |
27747 | </method> | |
27748 | <method name="GetBasePath" type="String" overloaded="no"> | |
27749 | <autodoc>GetBasePath() -> String</autodoc> | |
27750 | </method> | |
27751 | <method name="SetContentsRange" type="" overloaded="no"> | |
27752 | <autodoc>SetContentsRange(int start, int end)</autodoc> | |
27753 | <paramlist> | |
27754 | <param name="start" type="int" default=""/> | |
27755 | <param name="end" type="int" default=""/> | |
27756 | </paramlist> | |
27757 | </method> | |
27758 | <method name="GetContentsStart" type="int" overloaded="no"> | |
27759 | <autodoc>GetContentsStart() -> int</autodoc> | |
27760 | </method> | |
27761 | <method name="GetContentsEnd" type="int" overloaded="no"> | |
27762 | <autodoc>GetContentsEnd() -> int</autodoc> | |
27763 | </method> | |
27764 | <method name="SetTitle" type="" overloaded="no"> | |
27765 | <autodoc>SetTitle(String title)</autodoc> | |
27766 | <paramlist> | |
27767 | <param name="title" type="String" default=""/> | |
27768 | </paramlist> | |
27769 | </method> | |
27770 | <method name="SetBasePath" type="" overloaded="no"> | |
27771 | <autodoc>SetBasePath(String path)</autodoc> | |
27772 | <paramlist> | |
27773 | <param name="path" type="String" default=""/> | |
27774 | </paramlist> | |
27775 | </method> | |
27776 | <method name="SetStart" type="" overloaded="no"> | |
27777 | <autodoc>SetStart(String start)</autodoc> | |
27778 | <paramlist> | |
27779 | <param name="start" type="String" default=""/> | |
27780 | </paramlist> | |
27781 | </method> | |
27782 | <method name="GetFullPath" type="String" overloaded="no"> | |
27783 | <autodoc>GetFullPath(String page) -> String</autodoc> | |
27784 | <paramlist> | |
27785 | <param name="page" type="String" default=""/> | |
27786 | </paramlist> | |
27787 | </method> | |
27788 | </class> | |
27789 | <class name="HtmlContentsItem" oldname="wxHtmlContentsItem" module="html"> | |
27790 | <method name="GetLevel" type="int" overloaded="no"> | |
27791 | <autodoc>GetLevel() -> int</autodoc> | |
27792 | </method> | |
27793 | <method name="GetID" type="int" overloaded="no"> | |
27794 | <autodoc>GetID() -> int</autodoc> | |
27795 | </method> | |
27796 | <method name="GetName" type="String" overloaded="no"> | |
27797 | <autodoc>GetName() -> String</autodoc> | |
27798 | </method> | |
27799 | <method name="GetPage" type="String" overloaded="no"> | |
27800 | <autodoc>GetPage() -> String</autodoc> | |
27801 | </method> | |
27802 | <method name="GetBook" type="HtmlBookRecord" overloaded="no"> | |
27803 | <autodoc>GetBook() -> HtmlBookRecord</autodoc> | |
27804 | </method> | |
27805 | </class> | |
27806 | <class name="HtmlSearchStatus" oldname="wxHtmlSearchStatus" module="html"> | |
27807 | <method name="Search" type="bool" overloaded="no"> | |
27808 | <autodoc>Search() -> bool</autodoc> | |
27809 | </method> | |
27810 | <method name="IsActive" type="bool" overloaded="no"> | |
27811 | <autodoc>IsActive() -> bool</autodoc> | |
27812 | </method> | |
27813 | <method name="GetCurIndex" type="int" overloaded="no"> | |
27814 | <autodoc>GetCurIndex() -> int</autodoc> | |
27815 | </method> | |
27816 | <method name="GetMaxIndex" type="int" overloaded="no"> | |
27817 | <autodoc>GetMaxIndex() -> int</autodoc> | |
27818 | </method> | |
27819 | <method name="GetName" type="String" overloaded="no"> | |
27820 | <autodoc>GetName() -> String</autodoc> | |
27821 | </method> | |
27822 | <method name="GetContentsItem" type="HtmlContentsItem" overloaded="no"> | |
27823 | <autodoc>GetContentsItem() -> HtmlContentsItem</autodoc> | |
27824 | </method> | |
27825 | </class> | |
27826 | <class name="HtmlHelpData" oldname="wxHtmlHelpData" module="html"> | |
27827 | <constructor name="HtmlHelpData" overloaded="no"> | |
27828 | <autodoc>__init__() -> HtmlHelpData</autodoc> | |
27829 | </constructor> | |
27830 | <destructor name="~wxHtmlHelpData" overloaded="no"> | |
27831 | <autodoc>__del__()</autodoc> | |
27832 | </destructor> | |
27833 | <method name="SetTempDir" type="" overloaded="no"> | |
27834 | <autodoc>SetTempDir(String path)</autodoc> | |
27835 | <paramlist> | |
27836 | <param name="path" type="String" default=""/> | |
27837 | </paramlist> | |
27838 | </method> | |
27839 | <method name="AddBook" type="bool" overloaded="no"> | |
27840 | <autodoc>AddBook(String book) -> bool</autodoc> | |
27841 | <paramlist> | |
27842 | <param name="book" type="String" default=""/> | |
27843 | </paramlist> | |
27844 | </method> | |
27845 | <method name="FindPageByName" type="String" overloaded="no"> | |
27846 | <autodoc>FindPageByName(String page) -> String</autodoc> | |
27847 | <paramlist> | |
27848 | <param name="page" type="String" default=""/> | |
27849 | </paramlist> | |
27850 | </method> | |
27851 | <method name="FindPageById" type="String" overloaded="no"> | |
27852 | <autodoc>FindPageById(int id) -> String</autodoc> | |
27853 | <paramlist> | |
27854 | <param name="id" type="int" default=""/> | |
27855 | </paramlist> | |
27856 | </method> | |
27857 | <method name="GetBookRecArray" type="wxHtmlBookRecArray" overloaded="no"> | |
27858 | <autodoc>GetBookRecArray() -> wxHtmlBookRecArray</autodoc> | |
27859 | </method> | |
27860 | <method name="GetContents" type="HtmlContentsItem" overloaded="no"> | |
27861 | <autodoc>GetContents() -> HtmlContentsItem</autodoc> | |
27862 | </method> | |
27863 | <method name="GetContentsCnt" type="int" overloaded="no"> | |
27864 | <autodoc>GetContentsCnt() -> int</autodoc> | |
27865 | </method> | |
27866 | <method name="GetIndex" type="HtmlContentsItem" overloaded="no"> | |
27867 | <autodoc>GetIndex() -> HtmlContentsItem</autodoc> | |
27868 | </method> | |
27869 | <method name="GetIndexCnt" type="int" overloaded="no"> | |
27870 | <autodoc>GetIndexCnt() -> int</autodoc> | |
27871 | </method> | |
27872 | </class> | |
27873 | <class name="HtmlHelpFrame" oldname="wxHtmlHelpFrame" module="html"> | |
27874 | <baseclass name="Frame"/> | |
27875 | <constructor name="HtmlHelpFrame" overloaded="no"> | |
27876 | <autodoc>__init__(Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE, | |
27877 | HtmlHelpData data=None) -> HtmlHelpFrame</autodoc> | |
27878 | <paramlist> | |
27879 | <param name="parent" type="Window" default=""/> | |
27880 | <param name="" type="int" default=""/> | |
27881 | <param name="title" type="String" default="wxPyEmptyString"/> | |
27882 | <param name="style" type="int" default="wxHF_DEFAULTSTYLE"/> | |
27883 | <param name="data" type="HtmlHelpData" default="NULL"/> | |
27884 | </paramlist> | |
27885 | </constructor> | |
27886 | <method name="GetData" type="HtmlHelpData" overloaded="no"> | |
27887 | <autodoc>GetData() -> HtmlHelpData</autodoc> | |
27888 | </method> | |
27889 | <method name="SetTitleFormat" type="" overloaded="no"> | |
27890 | <autodoc>SetTitleFormat(String format)</autodoc> | |
27891 | <paramlist> | |
27892 | <param name="format" type="String" default=""/> | |
27893 | </paramlist> | |
27894 | </method> | |
27895 | <method name="Display" type="" overloaded="no"> | |
27896 | <autodoc>Display(String x)</autodoc> | |
27897 | <paramlist> | |
27898 | <param name="x" type="String" default=""/> | |
27899 | </paramlist> | |
27900 | </method> | |
27901 | <method name="DisplayID" type="" overloaded="no"> | |
27902 | <autodoc>DisplayID(int id)</autodoc> | |
27903 | <paramlist> | |
27904 | <param name="id" type="int" default=""/> | |
27905 | </paramlist> | |
27906 | </method> | |
27907 | <method name="DisplayContents" type="" overloaded="no"> | |
27908 | <autodoc>DisplayContents()</autodoc> | |
27909 | </method> | |
27910 | <method name="DisplayIndex" type="" overloaded="no"> | |
27911 | <autodoc>DisplayIndex()</autodoc> | |
27912 | </method> | |
27913 | <method name="KeywordSearch" type="bool" overloaded="no"> | |
27914 | <autodoc>KeywordSearch(String keyword) -> bool</autodoc> | |
27915 | <paramlist> | |
27916 | <param name="keyword" type="String" default=""/> | |
27917 | </paramlist> | |
27918 | </method> | |
27919 | <method name="UseConfig" type="" overloaded="no"> | |
27920 | <autodoc>UseConfig(ConfigBase config, String rootpath=EmptyString)</autodoc> | |
27921 | <paramlist> | |
27922 | <param name="config" type="ConfigBase" default=""/> | |
27923 | <param name="rootpath" type="String" default="wxPyEmptyString"/> | |
27924 | </paramlist> | |
27925 | </method> | |
27926 | <method name="ReadCustomization" type="" overloaded="no"> | |
27927 | <autodoc>ReadCustomization(ConfigBase cfg, String path=EmptyString)</autodoc> | |
27928 | <paramlist> | |
27929 | <param name="cfg" type="ConfigBase" default=""/> | |
27930 | <param name="path" type="String" default="wxPyEmptyString"/> | |
27931 | </paramlist> | |
27932 | </method> | |
27933 | <method name="WriteCustomization" type="" overloaded="no"> | |
27934 | <autodoc>WriteCustomization(ConfigBase cfg, String path=EmptyString)</autodoc> | |
27935 | <paramlist> | |
27936 | <param name="cfg" type="ConfigBase" default=""/> | |
27937 | <param name="path" type="String" default="wxPyEmptyString"/> | |
27938 | </paramlist> | |
27939 | </method> | |
27940 | </class> | |
27941 | <class name="HtmlHelpController" oldname="wxHtmlHelpController" module="html"> | |
27942 | <baseclass name="EvtHandler"/> | |
27943 | <constructor name="HtmlHelpController" overloaded="no"> | |
27944 | <autodoc>__init__(int style=HF_DEFAULTSTYLE) -> HtmlHelpController</autodoc> | |
27945 | <paramlist> | |
27946 | <param name="style" type="int" default="wxHF_DEFAULTSTYLE"/> | |
27947 | </paramlist> | |
27948 | </constructor> | |
27949 | <destructor name="~wxHtmlHelpController" overloaded="no"> | |
27950 | <autodoc>__del__()</autodoc> | |
27951 | </destructor> | |
27952 | <method name="SetTitleFormat" type="" overloaded="no"> | |
27953 | <autodoc>SetTitleFormat(String format)</autodoc> | |
27954 | <paramlist> | |
27955 | <param name="format" type="String" default=""/> | |
27956 | </paramlist> | |
27957 | </method> | |
27958 | <method name="SetTempDir" type="" overloaded="no"> | |
27959 | <autodoc>SetTempDir(String path)</autodoc> | |
27960 | <paramlist> | |
27961 | <param name="path" type="String" default=""/> | |
27962 | </paramlist> | |
27963 | </method> | |
27964 | <method name="AddBook" type="bool" overloaded="no"> | |
27965 | <autodoc>AddBook(String book, int show_wait_msg=False) -> bool</autodoc> | |
27966 | <paramlist> | |
27967 | <param name="book" type="String" default=""/> | |
27968 | <param name="show_wait_msg" type="int" default="False"/> | |
27969 | </paramlist> | |
27970 | </method> | |
27971 | <method name="Display" type="" overloaded="no"> | |
27972 | <autodoc>Display(String x)</autodoc> | |
27973 | <paramlist> | |
27974 | <param name="x" type="String" default=""/> | |
27975 | </paramlist> | |
27976 | </method> | |
27977 | <method name="DisplayID" type="" overloaded="no"> | |
27978 | <autodoc>DisplayID(int id)</autodoc> | |
27979 | <paramlist> | |
27980 | <param name="id" type="int" default=""/> | |
27981 | </paramlist> | |
27982 | </method> | |
27983 | <method name="DisplayContents" type="" overloaded="no"> | |
27984 | <autodoc>DisplayContents()</autodoc> | |
27985 | </method> | |
27986 | <method name="DisplayIndex" type="" overloaded="no"> | |
27987 | <autodoc>DisplayIndex()</autodoc> | |
27988 | </method> | |
27989 | <method name="KeywordSearch" type="bool" overloaded="no"> | |
27990 | <autodoc>KeywordSearch(String keyword) -> bool</autodoc> | |
27991 | <paramlist> | |
27992 | <param name="keyword" type="String" default=""/> | |
27993 | </paramlist> | |
27994 | </method> | |
27995 | <method name="UseConfig" type="" overloaded="no"> | |
27996 | <autodoc>UseConfig(ConfigBase config, String rootpath=EmptyString)</autodoc> | |
27997 | <paramlist> | |
27998 | <param name="config" type="ConfigBase" default=""/> | |
27999 | <param name="rootpath" type="String" default="wxPyEmptyString"/> | |
28000 | </paramlist> | |
28001 | </method> | |
28002 | <method name="ReadCustomization" type="" overloaded="no"> | |
28003 | <autodoc>ReadCustomization(ConfigBase cfg, String path=EmptyString)</autodoc> | |
28004 | <paramlist> | |
28005 | <param name="cfg" type="ConfigBase" default=""/> | |
28006 | <param name="path" type="String" default="wxPyEmptyString"/> | |
28007 | </paramlist> | |
28008 | </method> | |
28009 | <method name="WriteCustomization" type="" overloaded="no"> | |
28010 | <autodoc>WriteCustomization(ConfigBase cfg, String path=EmptyString)</autodoc> | |
28011 | <paramlist> | |
28012 | <param name="cfg" type="ConfigBase" default=""/> | |
28013 | <param name="path" type="String" default="wxPyEmptyString"/> | |
28014 | </paramlist> | |
28015 | </method> | |
28016 | <method name="GetFrame" type="HtmlHelpFrame" overloaded="no"> | |
28017 | <autodoc>GetFrame() -> HtmlHelpFrame</autodoc> | |
28018 | </method> | |
28019 | </class> | |
28020 | </module> | |
28021 | <module name="wizard"> | |
28022 | <import name="windows"/> | |
28023 | <pythoncode> wx = core </pythoncode> | |
28024 | <pythoncode> | |
28025 | EVT_WIZARD_PAGE_CHANGED = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGED, 1) | |
28026 | EVT_WIZARD_PAGE_CHANGING = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGING, 1) | |
28027 | EVT_WIZARD_CANCEL = wx.PyEventBinder( wxEVT_WIZARD_CANCEL, 1) | |
28028 | EVT_WIZARD_HELP = wx.PyEventBinder( wxEVT_WIZARD_HELP, 1) | |
28029 | EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) | |
0dd25e81 | 28030 | </pythoncode> |
f32fc4bc RD |
28031 | <class name="WizardEvent" oldname="wxWizardEvent" module="wizard"> |
28032 | <baseclass name="NotifyEvent"/> | |
28033 | <constructor name="WizardEvent" overloaded="no"> | |
28034 | <autodoc>__init__(wxEventType type=wxEVT_NULL, int id=-1, bool direction=True, | |
28035 | WizardPage page=None) -> WizardEvent</autodoc> | |
28036 | <paramlist> | |
28037 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
28038 | <param name="id" type="int" default="-1"/> | |
28039 | <param name="direction" type="bool" default="True"/> | |
28040 | <param name="page" type="wxWizardPage" default="NULL"/> | |
28041 | </paramlist> | |
28042 | </constructor> | |
28043 | <method name="GetDirection" type="bool" overloaded="no"> | |
28044 | <autodoc>GetDirection() -> bool</autodoc> | |
28045 | </method> | |
28046 | <method name="GetPage" type="wxWizardPage" overloaded="no"> | |
28047 | <autodoc>GetPage() -> WizardPage</autodoc> | |
28048 | </method> | |
28049 | </class> | |
28050 | <class name="WizardPage" oldname="wxWizardPage" module="wizard"> | |
28051 | <baseclass name="Panel"/> | |
28052 | <method name="Create" type="bool" overloaded="no"> | |
28053 | <autodoc>Create(Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool</autodoc> | |
28054 | <paramlist> | |
28055 | <param name="parent" type="wxWizard" default=""/> | |
28056 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
28057 | <param name="resource" type="String" default="wxPyEmptyString"/> | |
28058 | </paramlist> | |
28059 | </method> | |
28060 | <method name="GetPrev" type="WizardPage" overloaded="no"> | |
28061 | <autodoc>GetPrev() -> WizardPage</autodoc> | |
28062 | </method> | |
28063 | <method name="GetNext" type="WizardPage" overloaded="no"> | |
28064 | <autodoc>GetNext() -> WizardPage</autodoc> | |
28065 | </method> | |
28066 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
28067 | <autodoc>GetBitmap() -> Bitmap</autodoc> | |
28068 | </method> | |
28069 | </class> | |
28070 | <class name="PyWizardPage" oldname="wxPyWizardPage" module="wizard"> | |
28071 | <baseclass name="WizardPage"/> | |
28072 | <constructor name="PyWizardPage" overloaded="no"> | |
28073 | <autodoc>__init__(Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage</autodoc> | |
28074 | <paramlist> | |
28075 | <param name="parent" type="wxWizard" default=""/> | |
28076 | <param name="bitmap" type="Bitmap" default="&wxNullBitmap"/> | |
28077 | <param name="resource" type="String" default="&wxPyEmptyString"/> | |
28078 | </paramlist> | |
28079 | </constructor> | |
28080 | <constructor name="PrePyWizardPage" overloaded="no"> | |
28081 | <autodoc>PrePyWizardPage() -> PyWizardPage</autodoc> | |
28082 | </constructor> | |
28083 | <method name="Create" type="bool" overloaded="no"> | |
28084 | <autodoc>Create(Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool</autodoc> | |
28085 | <paramlist> | |
28086 | <param name="parent" type="wxWizard" default=""/> | |
28087 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
28088 | <param name="resource" type="String" default="wxPyEmptyString"/> | |
28089 | </paramlist> | |
28090 | </method> | |
28091 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
28092 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
28093 | <paramlist> | |
28094 | <param name="self" type="PyObject" default=""/> | |
28095 | <param name="_class" type="PyObject" default=""/> | |
28096 | </paramlist> | |
28097 | </method> | |
28098 | <method name="base_DoMoveWindow" type="" overloaded="no"> | |
28099 | <autodoc>base_DoMoveWindow(int x, int y, int width, int height)</autodoc> | |
28100 | <paramlist> | |
28101 | <param name="x" type="int" default=""/> | |
28102 | <param name="y" type="int" default=""/> | |
28103 | <param name="width" type="int" default=""/> | |
28104 | <param name="height" type="int" default=""/> | |
28105 | </paramlist> | |
28106 | </method> | |
28107 | <method name="base_DoSetSize" type="" overloaded="no"> | |
28108 | <autodoc>base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc> | |
28109 | <paramlist> | |
28110 | <param name="x" type="int" default=""/> | |
28111 | <param name="y" type="int" default=""/> | |
28112 | <param name="width" type="int" default=""/> | |
28113 | <param name="height" type="int" default=""/> | |
28114 | <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/> | |
28115 | </paramlist> | |
28116 | </method> | |
28117 | <method name="base_DoSetClientSize" type="" overloaded="no"> | |
28118 | <autodoc>base_DoSetClientSize(int width, int height)</autodoc> | |
28119 | <paramlist> | |
28120 | <param name="width" type="int" default=""/> | |
28121 | <param name="height" type="int" default=""/> | |
28122 | </paramlist> | |
28123 | </method> | |
28124 | <method name="base_DoSetVirtualSize" type="" overloaded="no"> | |
28125 | <autodoc>base_DoSetVirtualSize(int x, int y)</autodoc> | |
28126 | <paramlist> | |
28127 | <param name="x" type="int" default=""/> | |
28128 | <param name="y" type="int" default=""/> | |
28129 | </paramlist> | |
28130 | </method> | |
28131 | <method name="base_DoGetSize" type="" overloaded="no"> | |
28132 | <autodoc>base_DoGetSize() -> (width, height)</autodoc> | |
28133 | <paramlist> | |
28134 | <param name="OUTPUT" type="int" default=""/> | |
28135 | <param name="OUTPUT" type="int" default=""/> | |
28136 | </paramlist> | |
28137 | </method> | |
28138 | <method name="base_DoGetClientSize" type="" overloaded="no"> | |
28139 | <autodoc>base_DoGetClientSize() -> (width, height)</autodoc> | |
28140 | <paramlist> | |
28141 | <param name="OUTPUT" type="int" default=""/> | |
28142 | <param name="OUTPUT" type="int" default=""/> | |
28143 | </paramlist> | |
28144 | </method> | |
28145 | <method name="base_DoGetPosition" type="" overloaded="no"> | |
28146 | <autodoc>base_DoGetPosition() -> (x,y)</autodoc> | |
28147 | <paramlist> | |
28148 | <param name="OUTPUT" type="int" default=""/> | |
28149 | <param name="OUTPUT" type="int" default=""/> | |
28150 | </paramlist> | |
28151 | </method> | |
28152 | <method name="base_DoGetVirtualSize" type="Size" overloaded="no"> | |
28153 | <autodoc>base_DoGetVirtualSize() -> Size</autodoc> | |
28154 | </method> | |
28155 | <method name="base_DoGetBestSize" type="Size" overloaded="no"> | |
28156 | <autodoc>base_DoGetBestSize() -> Size</autodoc> | |
28157 | </method> | |
28158 | <method name="base_InitDialog" type="" overloaded="no"> | |
28159 | <autodoc>base_InitDialog()</autodoc> | |
28160 | </method> | |
28161 | <method name="base_TransferDataToWindow" type="bool" overloaded="no"> | |
28162 | <autodoc>base_TransferDataToWindow() -> bool</autodoc> | |
28163 | </method> | |
28164 | <method name="base_TransferDataFromWindow" type="bool" overloaded="no"> | |
28165 | <autodoc>base_TransferDataFromWindow() -> bool</autodoc> | |
28166 | </method> | |
28167 | <method name="base_Validate" type="bool" overloaded="no"> | |
28168 | <autodoc>base_Validate() -> bool</autodoc> | |
28169 | </method> | |
28170 | <method name="base_AcceptsFocus" type="bool" overloaded="no"> | |
28171 | <autodoc>base_AcceptsFocus() -> bool</autodoc> | |
28172 | </method> | |
28173 | <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no"> | |
28174 | <autodoc>base_AcceptsFocusFromKeyboard() -> bool</autodoc> | |
28175 | </method> | |
28176 | <method name="base_GetMaxSize" type="Size" overloaded="no"> | |
28177 | <autodoc>base_GetMaxSize() -> Size</autodoc> | |
28178 | </method> | |
28179 | <method name="base_AddChild" type="" overloaded="no"> | |
28180 | <autodoc>base_AddChild(Window child)</autodoc> | |
28181 | <paramlist> | |
28182 | <param name="child" type="Window" default=""/> | |
28183 | </paramlist> | |
28184 | </method> | |
28185 | <method name="base_RemoveChild" type="" overloaded="no"> | |
28186 | <autodoc>base_RemoveChild(Window child)</autodoc> | |
28187 | <paramlist> | |
28188 | <param name="child" type="Window" default=""/> | |
28189 | </paramlist> | |
28190 | </method> | |
28191 | </class> | |
28192 | <class name="WizardPageSimple" oldname="wxWizardPageSimple" module="wizard"> | |
28193 | <baseclass name="WizardPage"/> | |
28194 | <constructor name="WizardPageSimple" overloaded="no"> | |
28195 | <autodoc>__init__(Wizard parent, WizardPage prev=None, WizardPage next=None, | |
28196 | Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple</autodoc> | |
28197 | <paramlist> | |
28198 | <param name="parent" type="wxWizard" default=""/> | |
28199 | <param name="prev" type="WizardPage" default="NULL"/> | |
28200 | <param name="next" type="WizardPage" default="NULL"/> | |
28201 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
28202 | <param name="resource" type="wxChar" default="NULL"/> | |
28203 | </paramlist> | |
28204 | </constructor> | |
28205 | <constructor name="PreWizardPageSimple" overloaded="no"> | |
28206 | <autodoc>PreWizardPageSimple() -> WizardPageSimple</autodoc> | |
28207 | </constructor> | |
28208 | <method name="Create" type="bool" overloaded="no"> | |
28209 | <autodoc>Create(Wizard parent=None, WizardPage prev=None, WizardPage next=None, | |
28210 | Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool</autodoc> | |
28211 | <paramlist> | |
28212 | <param name="parent" type="wxWizard" default="NULL"/> | |
28213 | <param name="prev" type="WizardPage" default="NULL"/> | |
28214 | <param name="next" type="WizardPage" default="NULL"/> | |
28215 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
28216 | <param name="resource" type="wxChar" default="NULL"/> | |
28217 | </paramlist> | |
28218 | </method> | |
28219 | <method name="SetPrev" type="" overloaded="no"> | |
28220 | <autodoc>SetPrev(WizardPage prev)</autodoc> | |
28221 | <paramlist> | |
28222 | <param name="prev" type="WizardPage" default=""/> | |
28223 | </paramlist> | |
28224 | </method> | |
28225 | <method name="SetNext" type="" overloaded="no"> | |
28226 | <autodoc>SetNext(WizardPage next)</autodoc> | |
28227 | <paramlist> | |
28228 | <param name="next" type="WizardPage" default=""/> | |
28229 | </paramlist> | |
28230 | </method> | |
28231 | <staticmethod name="Chain" type="" overloaded="no"> | |
28232 | <autodoc>Chain(WizardPageSimple first, WizardPageSimple second)</autodoc> | |
28233 | <paramlist> | |
28234 | <param name="first" type="WizardPageSimple" default=""/> | |
28235 | <param name="second" type="WizardPageSimple" default=""/> | |
28236 | </paramlist> | |
28237 | </staticmethod> | |
28238 | </class> | |
28239 | <class name="Wizard" oldname="wxWizard" module="wizard"> | |
28240 | <baseclass name="Dialog"/> | |
28241 | <constructor name="Wizard" overloaded="no"> | |
28242 | <autodoc>__init__(Window parent, int id=-1, String title=EmptyString, | |
28243 | Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition, | |
28244 | long style=DEFAULT_DIALOG_STYLE) -> Wizard</autodoc> | |
28245 | <paramlist> | |
28246 | <param name="parent" type="Window" default=""/> | |
28247 | <param name="id" type="int" default="-1"/> | |
28248 | <param name="title" type="String" default="wxPyEmptyString"/> | |
28249 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
28250 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
28251 | <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/> | |
28252 | </paramlist> | |
28253 | </constructor> | |
28254 | <constructor name="PreWizard" overloaded="no"> | |
28255 | <autodoc>PreWizard() -> Wizard</autodoc> | |
28256 | </constructor> | |
28257 | <method name="Create" type="bool" overloaded="no"> | |
28258 | <autodoc>Create(Window parent, int id=-1, String title=EmptyString, | |
28259 | Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool</autodoc> | |
28260 | <paramlist> | |
28261 | <param name="parent" type="Window" default=""/> | |
28262 | <param name="id" type="int" default="-1"/> | |
28263 | <param name="title" type="String" default="wxPyEmptyString"/> | |
28264 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
28265 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
28266 | </paramlist> | |
28267 | </method> | |
28268 | <method name="Init" type="" overloaded="no"> | |
28269 | <autodoc>Init()</autodoc> | |
28270 | </method> | |
28271 | <method name="RunWizard" type="bool" overloaded="no"> | |
28272 | <autodoc>RunWizard(WizardPage firstPage) -> bool</autodoc> | |
28273 | <paramlist> | |
28274 | <param name="firstPage" type="WizardPage" default=""/> | |
28275 | </paramlist> | |
28276 | </method> | |
28277 | <method name="GetCurrentPage" type="WizardPage" overloaded="no"> | |
28278 | <autodoc>GetCurrentPage() -> WizardPage</autodoc> | |
28279 | </method> | |
28280 | <method name="SetPageSize" type="" overloaded="no"> | |
28281 | <autodoc>SetPageSize(Size size)</autodoc> | |
28282 | <paramlist> | |
28283 | <param name="size" type="Size" default=""/> | |
28284 | </paramlist> | |
28285 | </method> | |
28286 | <method name="GetPageSize" type="Size" overloaded="no"> | |
28287 | <autodoc>GetPageSize() -> Size</autodoc> | |
28288 | </method> | |
28289 | <method name="FitToPage" type="" overloaded="no"> | |
28290 | <autodoc>FitToPage(WizardPage firstPage)</autodoc> | |
28291 | <paramlist> | |
28292 | <param name="firstPage" type="WizardPage" default=""/> | |
28293 | </paramlist> | |
28294 | </method> | |
28295 | <method name="GetPageAreaSizer" type="Sizer" overloaded="no"> | |
28296 | <autodoc>GetPageAreaSizer() -> Sizer</autodoc> | |
28297 | </method> | |
28298 | <method name="SetBorder" type="" overloaded="no"> | |
28299 | <autodoc>SetBorder(int border)</autodoc> | |
28300 | <paramlist> | |
28301 | <param name="border" type="int" default=""/> | |
28302 | </paramlist> | |
28303 | </method> | |
28304 | <method name="IsRunning" type="bool" overloaded="no"> | |
28305 | <autodoc>IsRunning() -> bool</autodoc> | |
28306 | </method> | |
28307 | <method name="ShowPage" type="bool" overloaded="no"> | |
28308 | <autodoc>ShowPage(WizardPage page, bool goingForward=True) -> bool</autodoc> | |
28309 | <paramlist> | |
28310 | <param name="page" type="WizardPage" default=""/> | |
28311 | <param name="goingForward" type="bool" default="True"/> | |
28312 | </paramlist> | |
28313 | </method> | |
28314 | <method name="HasNextPage" type="bool" overloaded="no"> | |
28315 | <autodoc>HasNextPage(WizardPage page) -> bool</autodoc> | |
28316 | <paramlist> | |
28317 | <param name="page" type="WizardPage" default=""/> | |
28318 | </paramlist> | |
28319 | </method> | |
28320 | <method name="HasPrevPage" type="bool" overloaded="no"> | |
28321 | <autodoc>HasPrevPage(WizardPage page) -> bool</autodoc> | |
28322 | <paramlist> | |
28323 | <param name="page" type="WizardPage" default=""/> | |
28324 | </paramlist> | |
28325 | </method> | |
28326 | </class> | |
28327 | </module> | |
28328 | <module name="glcanvas"> | |
28329 | <import name="core"/> | |
28330 | <pythoncode> wx = core </pythoncode> | |
28331 | <class name="GLContext" oldname="wxGLContext" module="glcanvas"> | |
28332 | <baseclass name="Object"/> | |
28333 | <constructor name="GLContext" overloaded="no"> | |
28334 | <autodoc>__init__(bool isRGB, GLCanvas win, wxPalette palette=wxNullPalette, | |
28335 | GLContext other=None) -> GLContext</autodoc> | |
28336 | <paramlist> | |
28337 | <param name="isRGB" type="bool" default=""/> | |
28338 | <param name="win" type="wxGLCanvas" default=""/> | |
28339 | <param name="palette" type="Palette" default="wxNullPalette"/> | |
28340 | <param name="other" type="GLContext" default="NULL"/> | |
28341 | </paramlist> | |
28342 | </constructor> | |
28343 | <destructor name="~wxGLContext" overloaded="no"> | |
28344 | <autodoc>__del__()</autodoc> | |
28345 | </destructor> | |
28346 | <method name="SetCurrent" type="" overloaded="no"> | |
28347 | <autodoc>SetCurrent()</autodoc> | |
28348 | </method> | |
28349 | <method name="SetColour" type="" overloaded="no"> | |
28350 | <autodoc>SetColour(String colour)</autodoc> | |
28351 | <paramlist> | |
28352 | <param name="colour" type="String" default=""/> | |
28353 | </paramlist> | |
28354 | </method> | |
28355 | <method name="SwapBuffers" type="" overloaded="no"> | |
28356 | <autodoc>SwapBuffers()</autodoc> | |
28357 | </method> | |
28358 | <method name="SetupPixelFormat" type="" overloaded="no"> | |
28359 | <autodoc>SetupPixelFormat()</autodoc> | |
28360 | </method> | |
28361 | <method name="SetupPalette" type="" overloaded="no"> | |
28362 | <autodoc>SetupPalette(wxPalette palette)</autodoc> | |
28363 | <paramlist> | |
28364 | <param name="palette" type="Palette" default=""/> | |
28365 | </paramlist> | |
28366 | </method> | |
28367 | <method name="CreateDefaultPalette" type="Palette" overloaded="no"> | |
28368 | <autodoc>CreateDefaultPalette() -> wxPalette</autodoc> | |
28369 | </method> | |
28370 | <method name="GetPalette" type="Palette" overloaded="no"> | |
28371 | <autodoc>GetPalette() -> wxPalette</autodoc> | |
28372 | </method> | |
28373 | <method name="GetWindow" type="Window" overloaded="no"> | |
28374 | <autodoc>GetWindow() -> Window</autodoc> | |
28375 | </method> | |
28376 | </class> | |
28377 | <class name="GLCanvas" oldname="wxGLCanvas" module="glcanvas"> | |
28378 | <baseclass name="Window"/> | |
28379 | <constructor name="GLCanvas" overloaded="no"> | |
28380 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
28381 | Size size=DefaultSize, long style=0, String name=GLCanvasNameStr, | |
28382 | int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas</autodoc> | |
28383 | <paramlist> | |
28384 | <param name="parent" type="Window" default=""/> | |
28385 | <param name="id" type="int" default="-1"/> | |
28386 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
28387 | <param name="size" type="Size" default="wxDefaultSize"/> | |
28388 | <param name="style" type="long" default="0"/> | |
28389 | <param name="name" type="String" default="wxPyGLCanvasNameStr"/> | |
28390 | <param name="attribList" type="int" default="NULL"/> | |
28391 | <param name="palette" type="Palette" default="wxNullPalette"/> | |
28392 | </paramlist> | |
28393 | </constructor> | |
28394 | <constructor name="GLCanvasWithContext" overloaded="no"> | |
28395 | <autodoc>GLCanvasWithContext(Window parent, GLContext shared=None, int id=-1, Point pos=DefaultPosition, | |
28396 | Size size=DefaultSize, | |
28397 | long style=0, String name=GLCanvasNameStr, | |
28398 | int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas</autodoc> | |
28399 | <paramlist> | |
28400 | <param name="parent" type="Window" default=""/> | |
28401 | <param name="shared" type="GLContext" default="NULL"/> | |
28402 | <param name="id" type="int" default="-1"/> | |
28403 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
28404 | <param name="size" type="Size" default="wxDefaultSize"/> | |
28405 | <param name="style" type="long" default="0"/> | |
28406 | <param name="name" type="String" default="wxPyGLCanvasNameStr"/> | |
28407 | <param name="attribList" type="int" default="NULL"/> | |
28408 | <param name="palette" type="Palette" default="wxNullPalette"/> | |
28409 | </paramlist> | |
28410 | </constructor> | |
28411 | <method name="SetCurrent" type="" overloaded="no"> | |
28412 | <autodoc>SetCurrent()</autodoc> | |
28413 | </method> | |
28414 | <method name="SetColour" type="" overloaded="no"> | |
28415 | <autodoc>SetColour(String colour)</autodoc> | |
28416 | <paramlist> | |
28417 | <param name="colour" type="String" default=""/> | |
28418 | </paramlist> | |
28419 | </method> | |
28420 | <method name="SwapBuffers" type="" overloaded="no"> | |
28421 | <autodoc>SwapBuffers()</autodoc> | |
28422 | </method> | |
28423 | <method name="GetContext" type="GLContext" overloaded="no"> | |
28424 | <autodoc>GetContext() -> GLContext</autodoc> | |
28425 | </method> | |
28426 | </class> | |
28427 | </module> | |
28428 | <module name="ogl"> | |
28429 | <import name="windows"/> | |
28430 | <pythoncode> wx = core </pythoncode> | |
28431 | <pythoncode> | |
0dd25e81 RD |
28432 | #--------------------------------------------------------------------------- |
28433 | </pythoncode> | |
f32fc4bc RD |
28434 | <class name="ShapeRegion" oldname="wxShapeRegion" module="ogl"> |
28435 | <baseclass name="Object"/> | |
28436 | <constructor name="ShapeRegion" overloaded="no"> | |
28437 | <autodoc>__init__() -> ShapeRegion</autodoc> | |
28438 | </constructor> | |
28439 | <method name="SetText" type="" overloaded="no"> | |
28440 | <autodoc>SetText(String s)</autodoc> | |
28441 | <paramlist> | |
28442 | <param name="s" type="String" default=""/> | |
28443 | </paramlist> | |
28444 | </method> | |
28445 | <method name="SetFont" type="" overloaded="no"> | |
28446 | <autodoc>SetFont(Font f)</autodoc> | |
28447 | <paramlist> | |
28448 | <param name="f" type="Font" default=""/> | |
28449 | </paramlist> | |
28450 | </method> | |
28451 | <method name="SetMinSize" type="" overloaded="no"> | |
28452 | <autodoc>SetMinSize(double w, double h)</autodoc> | |
28453 | <paramlist> | |
28454 | <param name="w" type="double" default=""/> | |
28455 | <param name="h" type="double" default=""/> | |
28456 | </paramlist> | |
28457 | </method> | |
28458 | <method name="SetSize" type="" overloaded="no"> | |
28459 | <autodoc>SetSize(double w, double h)</autodoc> | |
28460 | <paramlist> | |
28461 | <param name="w" type="double" default=""/> | |
28462 | <param name="h" type="double" default=""/> | |
28463 | </paramlist> | |
28464 | </method> | |
28465 | <method name="SetPosition" type="" overloaded="no"> | |
28466 | <autodoc>SetPosition(double x, double y)</autodoc> | |
28467 | <paramlist> | |
28468 | <param name="x" type="double" default=""/> | |
28469 | <param name="y" type="double" default=""/> | |
28470 | </paramlist> | |
28471 | </method> | |
28472 | <method name="SetProportions" type="" overloaded="no"> | |
28473 | <autodoc>SetProportions(double x, double y)</autodoc> | |
28474 | <paramlist> | |
28475 | <param name="x" type="double" default=""/> | |
28476 | <param name="y" type="double" default=""/> | |
28477 | </paramlist> | |
28478 | </method> | |
28479 | <method name="SetFormatMode" type="" overloaded="no"> | |
28480 | <autodoc>SetFormatMode(int mode)</autodoc> | |
28481 | <paramlist> | |
28482 | <param name="mode" type="int" default=""/> | |
28483 | </paramlist> | |
28484 | </method> | |
28485 | <method name="SetName" type="" overloaded="no"> | |
28486 | <autodoc>SetName(String s)</autodoc> | |
28487 | <paramlist> | |
28488 | <param name="s" type="String" default=""/> | |
28489 | </paramlist> | |
28490 | </method> | |
28491 | <method name="SetColour" type="" overloaded="no"> | |
28492 | <autodoc>SetColour(String col)</autodoc> | |
28493 | <paramlist> | |
28494 | <param name="col" type="String" default=""/> | |
28495 | </paramlist> | |
28496 | </method> | |
28497 | <method name="GetText" type="String" overloaded="no"> | |
28498 | <autodoc>GetText() -> String</autodoc> | |
28499 | </method> | |
28500 | <method name="GetFont" type="Font" overloaded="no"> | |
28501 | <autodoc>GetFont() -> Font</autodoc> | |
28502 | </method> | |
28503 | <method name="GetMinSize" type="" overloaded="no"> | |
28504 | <autodoc>GetMinSize(double OUTPUT, double OUTPUT)</autodoc> | |
28505 | <paramlist> | |
28506 | <param name="OUTPUT" type="double" default=""/> | |
28507 | <param name="OUTPUT" type="double" default=""/> | |
28508 | </paramlist> | |
28509 | </method> | |
28510 | <method name="GetProportion" type="" overloaded="no"> | |
28511 | <autodoc>GetProportion(double OUTPUT, double OUTPUT)</autodoc> | |
28512 | <paramlist> | |
28513 | <param name="OUTPUT" type="double" default=""/> | |
28514 | <param name="OUTPUT" type="double" default=""/> | |
28515 | </paramlist> | |
28516 | </method> | |
28517 | <method name="GetSize" type="" overloaded="no"> | |
28518 | <autodoc>GetSize(double OUTPUT, double OUTPUT)</autodoc> | |
28519 | <paramlist> | |
28520 | <param name="OUTPUT" type="double" default=""/> | |
28521 | <param name="OUTPUT" type="double" default=""/> | |
28522 | </paramlist> | |
28523 | </method> | |
28524 | <method name="GetPosition" type="" overloaded="no"> | |
28525 | <autodoc>GetPosition(double OUTPUT, double OUTPUT)</autodoc> | |
28526 | <paramlist> | |
28527 | <param name="OUTPUT" type="double" default=""/> | |
28528 | <param name="OUTPUT" type="double" default=""/> | |
28529 | </paramlist> | |
28530 | </method> | |
28531 | <method name="GetFormatMode" type="int" overloaded="no"> | |
28532 | <autodoc>GetFormatMode() -> int</autodoc> | |
28533 | </method> | |
28534 | <method name="GetName" type="String" overloaded="no"> | |
28535 | <autodoc>GetName() -> String</autodoc> | |
28536 | </method> | |
28537 | <method name="GetColour" type="String" overloaded="no"> | |
28538 | <autodoc>GetColour() -> String</autodoc> | |
28539 | </method> | |
28540 | <method name="GetActualColourObject" type="Colour" overloaded="no"> | |
28541 | <autodoc>GetActualColourObject() -> Colour</autodoc> | |
28542 | </method> | |
28543 | <method name="GetFormattedText" type="wxList" overloaded="no"> | |
28544 | <autodoc>GetFormattedText() -> wxList</autodoc> | |
28545 | </method> | |
28546 | <method name="GetPenColour" type="String" overloaded="no"> | |
28547 | <autodoc>GetPenColour() -> String</autodoc> | |
28548 | </method> | |
28549 | <method name="GetPenStyle" type="int" overloaded="no"> | |
28550 | <autodoc>GetPenStyle() -> int</autodoc> | |
28551 | </method> | |
28552 | <method name="SetPenStyle" type="" overloaded="no"> | |
28553 | <autodoc>SetPenStyle(int style)</autodoc> | |
28554 | <paramlist> | |
28555 | <param name="style" type="int" default=""/> | |
28556 | </paramlist> | |
28557 | </method> | |
28558 | <method name="SetPenColour" type="" overloaded="no"> | |
28559 | <autodoc>SetPenColour(String col)</autodoc> | |
28560 | <paramlist> | |
28561 | <param name="col" type="String" default=""/> | |
28562 | </paramlist> | |
28563 | </method> | |
28564 | <method name="GetActualPen" type="Pen" overloaded="no"> | |
28565 | <autodoc>GetActualPen() -> wxPen</autodoc> | |
28566 | </method> | |
28567 | <method name="GetWidth" type="double" overloaded="no"> | |
28568 | <autodoc>GetWidth() -> double</autodoc> | |
28569 | </method> | |
28570 | <method name="GetHeight" type="double" overloaded="no"> | |
28571 | <autodoc>GetHeight() -> double</autodoc> | |
28572 | </method> | |
28573 | <method name="ClearText" type="" overloaded="no"> | |
28574 | <autodoc>ClearText()</autodoc> | |
28575 | </method> | |
28576 | </class> | |
28577 | <class name="AttachmentPoint" oldname="wxAttachmentPoint" module="ogl"> | |
28578 | <baseclass name="Object"/> | |
28579 | <constructor name="AttachmentPoint" overloaded="no"> | |
28580 | <autodoc>__init__(int id=0, double x=0.0, double y=0.0) -> AttachmentPoint</autodoc> | |
28581 | <paramlist> | |
28582 | <param name="id" type="int" default="0"/> | |
28583 | <param name="x" type="double" default="0.0"/> | |
28584 | <param name="y" type="double" default="0.0"/> | |
28585 | </paramlist> | |
28586 | </constructor> | |
28587 | <property name="m_id" type="int" readonly="no"/> | |
28588 | <property name="m_x" type="double" readonly="no"/> | |
28589 | <property name="m_y" type="double" readonly="no"/> | |
28590 | </class> | |
28591 | <class name="PyShapeEvtHandler" oldname="wxPyShapeEvtHandler" module="ogl"> | |
28592 | <baseclass name="Object"/> | |
28593 | <constructor name="PyShapeEvtHandler" overloaded="no"> | |
28594 | <autodoc>__init__(PyShapeEvtHandler prev=None, PyShape shape=None) -> PyShapeEvtHandler</autodoc> | |
28595 | <paramlist> | |
28596 | <param name="prev" type="PyShapeEvtHandler" default="NULL"/> | |
28597 | <param name="shape" type="wxPyShape" default="NULL"/> | |
28598 | </paramlist> | |
28599 | </constructor> | |
28600 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
28601 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
28602 | <paramlist> | |
28603 | <param name="self" type="PyObject" default=""/> | |
28604 | <param name="_class" type="PyObject" default=""/> | |
28605 | </paramlist> | |
28606 | </method> | |
28607 | <method name="_setOORInfo" type="" overloaded="no"> | |
28608 | <autodoc>_setOORInfo(PyObject _self)</autodoc> | |
28609 | <paramlist> | |
28610 | <param name="_self" type="PyObject" default=""/> | |
28611 | </paramlist> | |
28612 | </method> | |
28613 | <method name="SetShape" type="" overloaded="no"> | |
28614 | <autodoc>SetShape(PyShape sh)</autodoc> | |
28615 | <paramlist> | |
28616 | <param name="sh" type="wxPyShape" default=""/> | |
28617 | </paramlist> | |
28618 | </method> | |
28619 | <method name="GetShape" type="wxPyShape" overloaded="no"> | |
28620 | <autodoc>GetShape() -> PyShape</autodoc> | |
28621 | </method> | |
28622 | <method name="SetPreviousHandler" type="" overloaded="no"> | |
28623 | <autodoc>SetPreviousHandler(PyShapeEvtHandler handler)</autodoc> | |
28624 | <paramlist> | |
28625 | <param name="handler" type="PyShapeEvtHandler" default=""/> | |
28626 | </paramlist> | |
28627 | </method> | |
28628 | <method name="GetPreviousHandler" type="PyShapeEvtHandler" overloaded="no"> | |
28629 | <autodoc>GetPreviousHandler() -> PyShapeEvtHandler</autodoc> | |
28630 | </method> | |
28631 | <method name="CreateNewCopy" type="PyShapeEvtHandler" overloaded="no"> | |
28632 | <autodoc>CreateNewCopy() -> PyShapeEvtHandler</autodoc> | |
28633 | </method> | |
28634 | <method name="base_OnDelete" type="" overloaded="no"> | |
28635 | <autodoc>base_OnDelete()</autodoc> | |
28636 | </method> | |
28637 | <method name="base_OnDraw" type="" overloaded="no"> | |
28638 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
28639 | <paramlist> | |
28640 | <param name="dc" type="DC" default=""/> | |
28641 | </paramlist> | |
28642 | </method> | |
28643 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
28644 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
28645 | <paramlist> | |
28646 | <param name="dc" type="DC" default=""/> | |
28647 | </paramlist> | |
28648 | </method> | |
28649 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
28650 | <autodoc>base_OnDrawBranches(DC dc, bool erase=False)</autodoc> | |
28651 | <paramlist> | |
28652 | <param name="dc" type="DC" default=""/> | |
28653 | <param name="erase" type="bool" default="False"/> | |
28654 | </paramlist> | |
28655 | </method> | |
28656 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
28657 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
28658 | <paramlist> | |
28659 | <param name="dc" type="DC" default=""/> | |
28660 | </paramlist> | |
28661 | </method> | |
28662 | <method name="base_OnErase" type="" overloaded="no"> | |
28663 | <autodoc>base_OnErase(DC dc)</autodoc> | |
28664 | <paramlist> | |
28665 | <param name="dc" type="DC" default=""/> | |
28666 | </paramlist> | |
28667 | </method> | |
28668 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
28669 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
28670 | <paramlist> | |
28671 | <param name="dc" type="DC" default=""/> | |
28672 | </paramlist> | |
28673 | </method> | |
28674 | <method name="base_OnHighlight" type="" overloaded="no"> | |
28675 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
28676 | <paramlist> | |
28677 | <param name="dc" type="DC" default=""/> | |
28678 | </paramlist> | |
28679 | </method> | |
28680 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
28681 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
28682 | <paramlist> | |
28683 | <param name="x" type="double" default=""/> | |
28684 | <param name="y" type="double" default=""/> | |
28685 | <param name="keys" type="int" default="0"/> | |
28686 | <param name="attachment" type="int" default="0"/> | |
28687 | </paramlist> | |
28688 | </method> | |
28689 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
28690 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
28691 | <paramlist> | |
28692 | <param name="x" type="double" default=""/> | |
28693 | <param name="y" type="double" default=""/> | |
28694 | <param name="keys" type="int" default="0"/> | |
28695 | <param name="attachment" type="int" default="0"/> | |
28696 | </paramlist> | |
28697 | </method> | |
28698 | <method name="base_OnRightClick" type="" overloaded="no"> | |
28699 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
28700 | <paramlist> | |
28701 | <param name="x" type="double" default=""/> | |
28702 | <param name="y" type="double" default=""/> | |
28703 | <param name="keys" type="int" default="0"/> | |
28704 | <param name="attachment" type="int" default="0"/> | |
28705 | </paramlist> | |
28706 | </method> | |
28707 | <method name="base_OnSize" type="" overloaded="no"> | |
28708 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
28709 | <paramlist> | |
28710 | <param name="x" type="double" default=""/> | |
28711 | <param name="y" type="double" default=""/> | |
28712 | </paramlist> | |
28713 | </method> | |
28714 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
28715 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
28716 | bool display=True) -> bool</autodoc> | |
28717 | <paramlist> | |
28718 | <param name="dc" type="DC" default=""/> | |
28719 | <param name="x" type="double" default=""/> | |
28720 | <param name="y" type="double" default=""/> | |
28721 | <param name="old_x" type="double" default=""/> | |
28722 | <param name="old_y" type="double" default=""/> | |
28723 | <param name="display" type="bool" default="True"/> | |
28724 | </paramlist> | |
28725 | </method> | |
28726 | <method name="base_OnMovePost" type="" overloaded="no"> | |
28727 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
28728 | bool display=True)</autodoc> | |
28729 | <paramlist> | |
28730 | <param name="dc" type="DC" default=""/> | |
28731 | <param name="x" type="double" default=""/> | |
28732 | <param name="y" type="double" default=""/> | |
28733 | <param name="old_x" type="double" default=""/> | |
28734 | <param name="old_y" type="double" default=""/> | |
28735 | <param name="display" type="bool" default="True"/> | |
28736 | </paramlist> | |
28737 | </method> | |
28738 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
28739 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
28740 | <paramlist> | |
28741 | <param name="draw" type="bool" default=""/> | |
28742 | <param name="x" type="double" default=""/> | |
28743 | <param name="y" type="double" default=""/> | |
28744 | <param name="keys" type="int" default="0"/> | |
28745 | <param name="attachment" type="int" default="0"/> | |
28746 | </paramlist> | |
28747 | </method> | |
28748 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
28749 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
28750 | <paramlist> | |
28751 | <param name="x" type="double" default=""/> | |
28752 | <param name="y" type="double" default=""/> | |
28753 | <param name="keys" type="int" default="0"/> | |
28754 | <param name="attachment" type="int" default="0"/> | |
28755 | </paramlist> | |
28756 | </method> | |
28757 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
28758 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
28759 | <paramlist> | |
28760 | <param name="x" type="double" default=""/> | |
28761 | <param name="y" type="double" default=""/> | |
28762 | <param name="keys" type="int" default="0"/> | |
28763 | <param name="attachment" type="int" default="0"/> | |
28764 | </paramlist> | |
28765 | </method> | |
28766 | <method name="base_OnDragRight" type="" overloaded="no"> | |
28767 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
28768 | <paramlist> | |
28769 | <param name="draw" type="bool" default=""/> | |
28770 | <param name="x" type="double" default=""/> | |
28771 | <param name="y" type="double" default=""/> | |
28772 | <param name="keys" type="int" default="0"/> | |
28773 | <param name="attachment" type="int" default="0"/> | |
28774 | </paramlist> | |
28775 | </method> | |
28776 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
28777 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
28778 | <paramlist> | |
28779 | <param name="x" type="double" default=""/> | |
28780 | <param name="y" type="double" default=""/> | |
28781 | <param name="keys" type="int" default="0"/> | |
28782 | <param name="attachment" type="int" default="0"/> | |
28783 | </paramlist> | |
28784 | </method> | |
28785 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
28786 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
28787 | <paramlist> | |
28788 | <param name="x" type="double" default=""/> | |
28789 | <param name="y" type="double" default=""/> | |
28790 | <param name="keys" type="int" default="0"/> | |
28791 | <param name="attachment" type="int" default="0"/> | |
28792 | </paramlist> | |
28793 | </method> | |
28794 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
28795 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
28796 | <paramlist> | |
28797 | <param name="dc" type="DC" default=""/> | |
28798 | <param name="x" type="double" default=""/> | |
28799 | <param name="y" type="double" default=""/> | |
28800 | <param name="w" type="double" default=""/> | |
28801 | <param name="h" type="double" default=""/> | |
28802 | </paramlist> | |
28803 | </method> | |
28804 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
28805 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
28806 | <paramlist> | |
28807 | <param name="dc" type="DC" default=""/> | |
28808 | </paramlist> | |
28809 | </method> | |
28810 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
28811 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
28812 | <paramlist> | |
28813 | <param name="dc" type="DC" default=""/> | |
28814 | </paramlist> | |
28815 | </method> | |
28816 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
28817 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
28818 | <paramlist> | |
28819 | <param name="dc" type="DC" default=""/> | |
28820 | <param name="moveControlPoints" type="bool" default="True"/> | |
28821 | </paramlist> | |
28822 | </method> | |
28823 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
28824 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
28825 | int attachment=0)</autodoc> | |
28826 | <paramlist> | |
28827 | <param name="pt" type="wxPyControlPoint" default=""/> | |
28828 | <param name="draw" type="bool" default=""/> | |
28829 | <param name="x" type="double" default=""/> | |
28830 | <param name="y" type="double" default=""/> | |
28831 | <param name="keys" type="int" default="0"/> | |
28832 | <param name="attachment" type="int" default="0"/> | |
28833 | </paramlist> | |
28834 | </method> | |
28835 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
28836 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
28837 | int attachment=0)</autodoc> | |
28838 | <paramlist> | |
28839 | <param name="pt" type="wxPyControlPoint" default=""/> | |
28840 | <param name="x" type="double" default=""/> | |
28841 | <param name="y" type="double" default=""/> | |
28842 | <param name="keys" type="int" default="0"/> | |
28843 | <param name="attachment" type="int" default="0"/> | |
28844 | </paramlist> | |
28845 | </method> | |
28846 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
28847 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
28848 | int attachment=0)</autodoc> | |
28849 | <paramlist> | |
28850 | <param name="pt" type="wxPyControlPoint" default=""/> | |
28851 | <param name="x" type="double" default=""/> | |
28852 | <param name="y" type="double" default=""/> | |
28853 | <param name="keys" type="int" default="0"/> | |
28854 | <param name="attachment" type="int" default="0"/> | |
28855 | </paramlist> | |
28856 | </method> | |
28857 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
28858 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
28859 | <paramlist> | |
28860 | <param name="w" type="double" default=""/> | |
28861 | <param name="h" type="double" default=""/> | |
28862 | </paramlist> | |
28863 | </method> | |
28864 | <method name="base_OnEndSize" type="" overloaded="no"> | |
28865 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
28866 | <paramlist> | |
28867 | <param name="w" type="double" default=""/> | |
28868 | <param name="h" type="double" default=""/> | |
28869 | </paramlist> | |
28870 | </method> | |
28871 | </class> | |
28872 | <class name="PyShape" oldname="wxPyShape" module="ogl"> | |
28873 | <baseclass name="PyShapeEvtHandler"/> | |
28874 | <constructor name="PyShape" overloaded="no"> | |
28875 | <autodoc>__init__(PyShapeCanvas can=None) -> PyShape</autodoc> | |
28876 | <paramlist> | |
28877 | <param name="can" type="wxPyShapeCanvas" default="NULL"/> | |
28878 | </paramlist> | |
28879 | </constructor> | |
28880 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
28881 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
28882 | <paramlist> | |
28883 | <param name="self" type="PyObject" default=""/> | |
28884 | <param name="_class" type="PyObject" default=""/> | |
28885 | </paramlist> | |
28886 | </method> | |
28887 | <method name="GetBoundingBoxMax" type="" overloaded="no"> | |
28888 | <autodoc>GetBoundingBoxMax(double OUTPUT, double OUTPUT)</autodoc> | |
28889 | <paramlist> | |
28890 | <param name="OUTPUT" type="double" default=""/> | |
28891 | <param name="OUTPUT" type="double" default=""/> | |
28892 | </paramlist> | |
28893 | </method> | |
28894 | <method name="GetBoundingBoxMin" type="" overloaded="no"> | |
28895 | <autodoc>GetBoundingBoxMin(double OUTPUT, double OUTPUT)</autodoc> | |
28896 | <paramlist> | |
28897 | <param name="OUTPUT" type="double" default=""/> | |
28898 | <param name="OUTPUT" type="double" default=""/> | |
28899 | </paramlist> | |
28900 | </method> | |
28901 | <method name="GetPerimeterPoint" type="bool" overloaded="no"> | |
28902 | <autodoc>GetPerimeterPoint(double x1, double y1, double x2, double y2, double OUTPUT, | |
28903 | double OUTPUT) -> bool</autodoc> | |
28904 | <paramlist> | |
28905 | <param name="x1" type="double" default=""/> | |
28906 | <param name="y1" type="double" default=""/> | |
28907 | <param name="x2" type="double" default=""/> | |
28908 | <param name="y2" type="double" default=""/> | |
28909 | <param name="OUTPUT" type="double" default=""/> | |
28910 | <param name="OUTPUT" type="double" default=""/> | |
28911 | </paramlist> | |
28912 | </method> | |
28913 | <method name="GetCanvas" type="wxPyShapeCanvas" overloaded="no"> | |
28914 | <autodoc>GetCanvas() -> PyShapeCanvas</autodoc> | |
28915 | </method> | |
28916 | <method name="SetCanvas" type="" overloaded="no"> | |
28917 | <autodoc>SetCanvas(PyShapeCanvas the_canvas)</autodoc> | |
28918 | <paramlist> | |
28919 | <param name="the_canvas" type="wxPyShapeCanvas" default=""/> | |
28920 | </paramlist> | |
28921 | </method> | |
28922 | <method name="AddToCanvas" type="" overloaded="no"> | |
28923 | <autodoc>AddToCanvas(PyShapeCanvas the_canvas, PyShape addAfter=None)</autodoc> | |
28924 | <paramlist> | |
28925 | <param name="the_canvas" type="wxPyShapeCanvas" default=""/> | |
28926 | <param name="addAfter" type="PyShape" default="NULL"/> | |
28927 | </paramlist> | |
28928 | </method> | |
28929 | <method name="InsertInCanvas" type="" overloaded="no"> | |
28930 | <autodoc>InsertInCanvas(PyShapeCanvas the_canvas)</autodoc> | |
28931 | <paramlist> | |
28932 | <param name="the_canvas" type="wxPyShapeCanvas" default=""/> | |
28933 | </paramlist> | |
28934 | </method> | |
28935 | <method name="RemoveFromCanvas" type="" overloaded="no"> | |
28936 | <autodoc>RemoveFromCanvas(PyShapeCanvas the_canvas)</autodoc> | |
28937 | <paramlist> | |
28938 | <param name="the_canvas" type="wxPyShapeCanvas" default=""/> | |
28939 | </paramlist> | |
28940 | </method> | |
28941 | <method name="GetX" type="double" overloaded="no"> | |
28942 | <autodoc>GetX() -> double</autodoc> | |
28943 | </method> | |
28944 | <method name="GetY" type="double" overloaded="no"> | |
28945 | <autodoc>GetY() -> double</autodoc> | |
28946 | </method> | |
28947 | <method name="SetX" type="" overloaded="no"> | |
28948 | <autodoc>SetX(double x)</autodoc> | |
28949 | <paramlist> | |
28950 | <param name="x" type="double" default=""/> | |
28951 | </paramlist> | |
28952 | </method> | |
28953 | <method name="SetY" type="" overloaded="no"> | |
28954 | <autodoc>SetY(double y)</autodoc> | |
28955 | <paramlist> | |
28956 | <param name="y" type="double" default=""/> | |
28957 | </paramlist> | |
28958 | </method> | |
28959 | <method name="GetParent" type="PyShape" overloaded="no"> | |
28960 | <autodoc>GetParent() -> PyShape</autodoc> | |
28961 | </method> | |
28962 | <method name="SetParent" type="" overloaded="no"> | |
28963 | <autodoc>SetParent(PyShape p)</autodoc> | |
28964 | <paramlist> | |
28965 | <param name="p" type="PyShape" default=""/> | |
28966 | </paramlist> | |
28967 | </method> | |
28968 | <method name="GetTopAncestor" type="PyShape" overloaded="no"> | |
28969 | <autodoc>GetTopAncestor() -> PyShape</autodoc> | |
28970 | </method> | |
28971 | <method name="GetChildren" type="PyObject" overloaded="no"> | |
28972 | <autodoc>GetChildren() -> PyObject</autodoc> | |
28973 | </method> | |
28974 | <method name="Unlink" type="" overloaded="no"> | |
28975 | <autodoc>Unlink()</autodoc> | |
28976 | </method> | |
28977 | <method name="SetDrawHandles" type="" overloaded="no"> | |
28978 | <autodoc>SetDrawHandles(bool drawH)</autodoc> | |
28979 | <paramlist> | |
28980 | <param name="drawH" type="bool" default=""/> | |
28981 | </paramlist> | |
28982 | </method> | |
28983 | <method name="GetDrawHandles" type="bool" overloaded="no"> | |
28984 | <autodoc>GetDrawHandles() -> bool</autodoc> | |
28985 | </method> | |
28986 | <method name="MakeControlPoints" type="" overloaded="no"> | |
28987 | <autodoc>MakeControlPoints()</autodoc> | |
28988 | </method> | |
28989 | <method name="DeleteControlPoints" type="" overloaded="no"> | |
28990 | <autodoc>DeleteControlPoints(DC dc=None)</autodoc> | |
28991 | <paramlist> | |
28992 | <param name="dc" type="DC" default="NULL"/> | |
28993 | </paramlist> | |
28994 | </method> | |
28995 | <method name="ResetControlPoints" type="" overloaded="no"> | |
28996 | <autodoc>ResetControlPoints()</autodoc> | |
28997 | </method> | |
28998 | <method name="GetEventHandler" type="PyShapeEvtHandler" overloaded="no"> | |
28999 | <autodoc>GetEventHandler() -> PyShapeEvtHandler</autodoc> | |
29000 | </method> | |
29001 | <method name="SetEventHandler" type="" overloaded="no"> | |
29002 | <autodoc>SetEventHandler(PyShapeEvtHandler handler)</autodoc> | |
29003 | <paramlist> | |
29004 | <param name="handler" type="PyShapeEvtHandler" default=""/> | |
29005 | </paramlist> | |
29006 | </method> | |
29007 | <method name="MakeMandatoryControlPoints" type="" overloaded="no"> | |
29008 | <autodoc>MakeMandatoryControlPoints()</autodoc> | |
29009 | </method> | |
29010 | <method name="ResetMandatoryControlPoints" type="" overloaded="no"> | |
29011 | <autodoc>ResetMandatoryControlPoints()</autodoc> | |
29012 | </method> | |
29013 | <method name="Recompute" type="bool" overloaded="no"> | |
29014 | <autodoc>Recompute() -> bool</autodoc> | |
29015 | </method> | |
29016 | <method name="CalculateSize" type="" overloaded="no"> | |
29017 | <autodoc>CalculateSize()</autodoc> | |
29018 | </method> | |
29019 | <method name="Select" type="" overloaded="no"> | |
29020 | <autodoc>Select(bool select=True, DC dc=None)</autodoc> | |
29021 | <paramlist> | |
29022 | <param name="select" type="bool" default="True"/> | |
29023 | <param name="dc" type="DC" default="NULL"/> | |
29024 | </paramlist> | |
29025 | </method> | |
29026 | <method name="SetHighlight" type="" overloaded="no"> | |
29027 | <autodoc>SetHighlight(bool hi=True, bool recurse=False)</autodoc> | |
29028 | <paramlist> | |
29029 | <param name="hi" type="bool" default="True"/> | |
29030 | <param name="recurse" type="bool" default="False"/> | |
29031 | </paramlist> | |
29032 | </method> | |
29033 | <method name="IsHighlighted" type="bool" overloaded="no"> | |
29034 | <autodoc>IsHighlighted() -> bool</autodoc> | |
29035 | </method> | |
29036 | <method name="Selected" type="bool" overloaded="no"> | |
29037 | <autodoc>Selected() -> bool</autodoc> | |
29038 | </method> | |
29039 | <method name="AncestorSelected" type="bool" overloaded="no"> | |
29040 | <autodoc>AncestorSelected() -> bool</autodoc> | |
29041 | </method> | |
29042 | <method name="SetSensitivityFilter" type="" overloaded="no"> | |
29043 | <autodoc>SetSensitivityFilter(int sens=OP_ALL, bool recursive=False)</autodoc> | |
29044 | <paramlist> | |
29045 | <param name="sens" type="int" default="OP_ALL"/> | |
29046 | <param name="recursive" type="bool" default="False"/> | |
29047 | </paramlist> | |
29048 | </method> | |
29049 | <method name="GetSensitivityFilter" type="int" overloaded="no"> | |
29050 | <autodoc>GetSensitivityFilter() -> int</autodoc> | |
29051 | </method> | |
29052 | <method name="SetDraggable" type="" overloaded="no"> | |
29053 | <autodoc>SetDraggable(bool drag, bool recursive=False)</autodoc> | |
29054 | <paramlist> | |
29055 | <param name="drag" type="bool" default=""/> | |
29056 | <param name="recursive" type="bool" default="False"/> | |
29057 | </paramlist> | |
29058 | </method> | |
29059 | <method name="SetFixedSize" type="" overloaded="no"> | |
29060 | <autodoc>SetFixedSize(bool x, bool y)</autodoc> | |
29061 | <paramlist> | |
29062 | <param name="x" type="bool" default=""/> | |
29063 | <param name="y" type="bool" default=""/> | |
29064 | </paramlist> | |
29065 | </method> | |
29066 | <method name="GetFixedSize" type="" overloaded="no"> | |
29067 | <autodoc>GetFixedSize(bool OUTPUT, bool OUTPUT)</autodoc> | |
29068 | <paramlist> | |
29069 | <param name="OUTPUT" type="bool" default=""/> | |
29070 | <param name="OUTPUT" type="bool" default=""/> | |
29071 | </paramlist> | |
29072 | </method> | |
29073 | <method name="GetFixedWidth" type="bool" overloaded="no"> | |
29074 | <autodoc>GetFixedWidth() -> bool</autodoc> | |
29075 | </method> | |
29076 | <method name="GetFixedHeight" type="bool" overloaded="no"> | |
29077 | <autodoc>GetFixedHeight() -> bool</autodoc> | |
29078 | </method> | |
29079 | <method name="SetSpaceAttachments" type="" overloaded="no"> | |
29080 | <autodoc>SetSpaceAttachments(bool sp)</autodoc> | |
29081 | <paramlist> | |
29082 | <param name="sp" type="bool" default=""/> | |
29083 | </paramlist> | |
29084 | </method> | |
29085 | <method name="GetSpaceAttachments" type="bool" overloaded="no"> | |
29086 | <autodoc>GetSpaceAttachments() -> bool</autodoc> | |
29087 | </method> | |
29088 | <method name="SetShadowMode" type="" overloaded="no"> | |
29089 | <autodoc>SetShadowMode(int mode, bool redraw=False)</autodoc> | |
29090 | <paramlist> | |
29091 | <param name="mode" type="int" default=""/> | |
29092 | <param name="redraw" type="bool" default="False"/> | |
29093 | </paramlist> | |
29094 | </method> | |
29095 | <method name="GetShadowMode" type="int" overloaded="no"> | |
29096 | <autodoc>GetShadowMode() -> int</autodoc> | |
29097 | </method> | |
29098 | <method name="HitTest" type="bool" overloaded="no"> | |
29099 | <autodoc>HitTest(double x, double y, int OUTPUT, double OUTPUT) -> bool</autodoc> | |
29100 | <paramlist> | |
29101 | <param name="x" type="double" default=""/> | |
29102 | <param name="y" type="double" default=""/> | |
29103 | <param name="OUTPUT" type="int" default=""/> | |
29104 | <param name="OUTPUT" type="double" default=""/> | |
29105 | </paramlist> | |
29106 | </method> | |
29107 | <method name="SetCentreResize" type="" overloaded="no"> | |
29108 | <autodoc>SetCentreResize(bool cr)</autodoc> | |
29109 | <paramlist> | |
29110 | <param name="cr" type="bool" default=""/> | |
29111 | </paramlist> | |
29112 | </method> | |
29113 | <method name="GetCentreResize" type="bool" overloaded="no"> | |
29114 | <autodoc>GetCentreResize() -> bool</autodoc> | |
29115 | </method> | |
29116 | <method name="SetMaintainAspectRatio" type="" overloaded="no"> | |
29117 | <autodoc>SetMaintainAspectRatio(bool ar)</autodoc> | |
29118 | <paramlist> | |
29119 | <param name="ar" type="bool" default=""/> | |
29120 | </paramlist> | |
29121 | </method> | |
29122 | <method name="GetMaintainAspectRatio" type="bool" overloaded="no"> | |
29123 | <autodoc>GetMaintainAspectRatio() -> bool</autodoc> | |
29124 | </method> | |
29125 | <method name="GetLines" type="PyObject" overloaded="no"> | |
29126 | <autodoc>GetLines() -> PyObject</autodoc> | |
29127 | </method> | |
29128 | <method name="SetDisableLabel" type="" overloaded="no"> | |
29129 | <autodoc>SetDisableLabel(bool flag)</autodoc> | |
29130 | <paramlist> | |
29131 | <param name="flag" type="bool" default=""/> | |
29132 | </paramlist> | |
29133 | </method> | |
29134 | <method name="GetDisableLabel" type="bool" overloaded="no"> | |
29135 | <autodoc>GetDisableLabel() -> bool</autodoc> | |
29136 | </method> | |
29137 | <method name="SetAttachmentMode" type="" overloaded="no"> | |
29138 | <autodoc>SetAttachmentMode(int mode)</autodoc> | |
29139 | <paramlist> | |
29140 | <param name="mode" type="int" default=""/> | |
29141 | </paramlist> | |
29142 | </method> | |
29143 | <method name="GetAttachmentMode" type="int" overloaded="no"> | |
29144 | <autodoc>GetAttachmentMode() -> int</autodoc> | |
29145 | </method> | |
29146 | <method name="SetId" type="" overloaded="no"> | |
29147 | <autodoc>SetId(long i)</autodoc> | |
29148 | <paramlist> | |
29149 | <param name="i" type="long" default=""/> | |
29150 | </paramlist> | |
29151 | </method> | |
29152 | <method name="GetId" type="long" overloaded="no"> | |
29153 | <autodoc>GetId() -> long</autodoc> | |
29154 | </method> | |
29155 | <method name="SetPen" type="" overloaded="no"> | |
29156 | <autodoc>SetPen(wxPen pen)</autodoc> | |
29157 | <paramlist> | |
29158 | <param name="pen" type="Pen" default=""/> | |
29159 | </paramlist> | |
29160 | </method> | |
29161 | <method name="SetBrush" type="" overloaded="no"> | |
29162 | <autodoc>SetBrush(wxBrush brush)</autodoc> | |
29163 | <paramlist> | |
29164 | <param name="brush" type="Brush" default=""/> | |
29165 | </paramlist> | |
29166 | </method> | |
29167 | <method name="Show" type="" overloaded="no"> | |
29168 | <autodoc>Show(bool show)</autodoc> | |
29169 | <paramlist> | |
29170 | <param name="show" type="bool" default=""/> | |
29171 | </paramlist> | |
29172 | </method> | |
29173 | <method name="IsShown" type="bool" overloaded="no"> | |
29174 | <autodoc>IsShown() -> bool</autodoc> | |
29175 | </method> | |
29176 | <method name="Move" type="" overloaded="no"> | |
29177 | <autodoc>Move(DC dc, double x1, double y1, bool display=True)</autodoc> | |
29178 | <paramlist> | |
29179 | <param name="dc" type="DC" default=""/> | |
29180 | <param name="x1" type="double" default=""/> | |
29181 | <param name="y1" type="double" default=""/> | |
29182 | <param name="display" type="bool" default="True"/> | |
29183 | </paramlist> | |
29184 | </method> | |
29185 | <method name="Erase" type="" overloaded="no"> | |
29186 | <autodoc>Erase(DC dc)</autodoc> | |
29187 | <paramlist> | |
29188 | <param name="dc" type="DC" default=""/> | |
29189 | </paramlist> | |
29190 | </method> | |
29191 | <method name="EraseContents" type="" overloaded="no"> | |
29192 | <autodoc>EraseContents(DC dc)</autodoc> | |
29193 | <paramlist> | |
29194 | <param name="dc" type="DC" default=""/> | |
29195 | </paramlist> | |
29196 | </method> | |
29197 | <method name="Draw" type="" overloaded="no"> | |
29198 | <autodoc>Draw(DC dc)</autodoc> | |
29199 | <paramlist> | |
29200 | <param name="dc" type="DC" default=""/> | |
29201 | </paramlist> | |
29202 | </method> | |
29203 | <method name="Flash" type="" overloaded="no"> | |
29204 | <autodoc>Flash()</autodoc> | |
29205 | </method> | |
29206 | <method name="MoveLinks" type="" overloaded="no"> | |
29207 | <autodoc>MoveLinks(DC dc)</autodoc> | |
29208 | <paramlist> | |
29209 | <param name="dc" type="DC" default=""/> | |
29210 | </paramlist> | |
29211 | </method> | |
29212 | <method name="DrawContents" type="" overloaded="no"> | |
29213 | <autodoc>DrawContents(DC dc)</autodoc> | |
29214 | <paramlist> | |
29215 | <param name="dc" type="DC" default=""/> | |
29216 | </paramlist> | |
29217 | </method> | |
29218 | <method name="SetSize" type="" overloaded="no"> | |
29219 | <autodoc>SetSize(double x, double y, bool recursive=True)</autodoc> | |
29220 | <paramlist> | |
29221 | <param name="x" type="double" default=""/> | |
29222 | <param name="y" type="double" default=""/> | |
29223 | <param name="recursive" type="bool" default="True"/> | |
29224 | </paramlist> | |
29225 | </method> | |
29226 | <method name="SetAttachmentSize" type="" overloaded="no"> | |
29227 | <autodoc>SetAttachmentSize(double x, double y)</autodoc> | |
29228 | <paramlist> | |
29229 | <param name="x" type="double" default=""/> | |
29230 | <param name="y" type="double" default=""/> | |
29231 | </paramlist> | |
29232 | </method> | |
29233 | <method name="Attach" type="" overloaded="no"> | |
29234 | <autodoc>Attach(PyShapeCanvas can)</autodoc> | |
29235 | <paramlist> | |
29236 | <param name="can" type="wxPyShapeCanvas" default=""/> | |
29237 | </paramlist> | |
29238 | </method> | |
29239 | <method name="Detach" type="" overloaded="no"> | |
29240 | <autodoc>Detach()</autodoc> | |
29241 | </method> | |
29242 | <method name="Constrain" type="bool" overloaded="no"> | |
29243 | <autodoc>Constrain() -> bool</autodoc> | |
29244 | </method> | |
29245 | <method name="AddLine" type="" overloaded="no"> | |
29246 | <autodoc>AddLine(PyLineShape line, PyShape other, int attachFrom=0, | |
29247 | int attachTo=0, int positionFrom=-1, int positionTo=-1)</autodoc> | |
29248 | <paramlist> | |
29249 | <param name="line" type="wxPyLineShape" default=""/> | |
29250 | <param name="other" type="PyShape" default=""/> | |
29251 | <param name="attachFrom" type="int" default="0"/> | |
29252 | <param name="attachTo" type="int" default="0"/> | |
29253 | <param name="positionFrom" type="int" default="-1"/> | |
29254 | <param name="positionTo" type="int" default="-1"/> | |
29255 | </paramlist> | |
29256 | </method> | |
29257 | <method name="GetLinePosition" type="int" overloaded="no"> | |
29258 | <autodoc>GetLinePosition(PyLineShape line) -> int</autodoc> | |
29259 | <paramlist> | |
29260 | <param name="line" type="wxPyLineShape" default=""/> | |
29261 | </paramlist> | |
29262 | </method> | |
29263 | <method name="AddText" type="" overloaded="no"> | |
29264 | <autodoc>AddText(String string)</autodoc> | |
29265 | <paramlist> | |
29266 | <param name="string" type="String" default=""/> | |
29267 | </paramlist> | |
29268 | </method> | |
29269 | <method name="GetPen" type="Pen" overloaded="no"> | |
29270 | <autodoc>GetPen() -> wxPen</autodoc> | |
29271 | </method> | |
29272 | <method name="GetBrush" type="Brush" overloaded="no"> | |
29273 | <autodoc>GetBrush() -> wxBrush</autodoc> | |
29274 | </method> | |
29275 | <method name="SetDefaultRegionSize" type="" overloaded="no"> | |
29276 | <autodoc>SetDefaultRegionSize()</autodoc> | |
29277 | </method> | |
29278 | <method name="FormatText" type="" overloaded="no"> | |
29279 | <autodoc>FormatText(DC dc, String s, int regionId=0)</autodoc> | |
29280 | <paramlist> | |
29281 | <param name="dc" type="DC" default=""/> | |
29282 | <param name="s" type="String" default=""/> | |
29283 | <param name="regionId" type="int" default="0"/> | |
29284 | </paramlist> | |
29285 | </method> | |
29286 | <method name="SetFormatMode" type="" overloaded="no"> | |
29287 | <autodoc>SetFormatMode(int mode, int regionId=0)</autodoc> | |
29288 | <paramlist> | |
29289 | <param name="mode" type="int" default=""/> | |
29290 | <param name="regionId" type="int" default="0"/> | |
29291 | </paramlist> | |
29292 | </method> | |
29293 | <method name="GetFormatMode" type="int" overloaded="no"> | |
29294 | <autodoc>GetFormatMode(int regionId=0) -> int</autodoc> | |
29295 | <paramlist> | |
29296 | <param name="regionId" type="int" default="0"/> | |
29297 | </paramlist> | |
29298 | </method> | |
29299 | <method name="SetFont" type="" overloaded="no"> | |
29300 | <autodoc>SetFont(Font font, int regionId=0)</autodoc> | |
29301 | <paramlist> | |
29302 | <param name="font" type="Font" default=""/> | |
29303 | <param name="regionId" type="int" default="0"/> | |
29304 | </paramlist> | |
29305 | </method> | |
29306 | <method name="GetFont" type="Font" overloaded="no"> | |
29307 | <autodoc>GetFont(int regionId=0) -> Font</autodoc> | |
29308 | <paramlist> | |
29309 | <param name="regionId" type="int" default="0"/> | |
29310 | </paramlist> | |
29311 | </method> | |
29312 | <method name="SetTextColour" type="" overloaded="no"> | |
29313 | <autodoc>SetTextColour(String colour, int regionId=0)</autodoc> | |
29314 | <paramlist> | |
29315 | <param name="colour" type="String" default=""/> | |
29316 | <param name="regionId" type="int" default="0"/> | |
29317 | </paramlist> | |
29318 | </method> | |
29319 | <method name="GetTextColour" type="String" overloaded="no"> | |
29320 | <autodoc>GetTextColour(int regionId=0) -> String</autodoc> | |
29321 | <paramlist> | |
29322 | <param name="regionId" type="int" default="0"/> | |
29323 | </paramlist> | |
29324 | </method> | |
29325 | <method name="GetNumberOfTextRegions" type="int" overloaded="no"> | |
29326 | <autodoc>GetNumberOfTextRegions() -> int</autodoc> | |
29327 | </method> | |
29328 | <method name="SetRegionName" type="" overloaded="no"> | |
29329 | <autodoc>SetRegionName(String name, int regionId=0)</autodoc> | |
29330 | <paramlist> | |
29331 | <param name="name" type="String" default=""/> | |
29332 | <param name="regionId" type="int" default="0"/> | |
29333 | </paramlist> | |
29334 | </method> | |
29335 | <method name="GetRegionName" type="String" overloaded="no"> | |
29336 | <autodoc>GetRegionName(int regionId) -> String</autodoc> | |
29337 | <paramlist> | |
29338 | <param name="regionId" type="int" default=""/> | |
29339 | </paramlist> | |
29340 | </method> | |
29341 | <method name="GetRegionId" type="int" overloaded="no"> | |
29342 | <autodoc>GetRegionId(String name) -> int</autodoc> | |
29343 | <paramlist> | |
29344 | <param name="name" type="String" default=""/> | |
29345 | </paramlist> | |
29346 | </method> | |
29347 | <method name="NameRegions" type="" overloaded="no"> | |
29348 | <autodoc>NameRegions(String parentName=EmptyString)</autodoc> | |
29349 | <paramlist> | |
29350 | <param name="parentName" type="String" default="wxPyEmptyString"/> | |
29351 | </paramlist> | |
29352 | </method> | |
29353 | <method name="GetRegions" type="PyObject" overloaded="no"> | |
29354 | <autodoc>GetRegions() -> PyObject</autodoc> | |
29355 | </method> | |
29356 | <method name="AddRegion" type="" overloaded="no"> | |
29357 | <autodoc>AddRegion(ShapeRegion region)</autodoc> | |
29358 | <paramlist> | |
29359 | <param name="region" type="ShapeRegion" default=""/> | |
29360 | </paramlist> | |
29361 | </method> | |
29362 | <method name="ClearRegions" type="" overloaded="no"> | |
29363 | <autodoc>ClearRegions()</autodoc> | |
29364 | </method> | |
29365 | <method name="AssignNewIds" type="" overloaded="no"> | |
29366 | <autodoc>AssignNewIds()</autodoc> | |
29367 | </method> | |
29368 | <method name="FindRegion" type="PyShape" overloaded="no"> | |
29369 | <autodoc>FindRegion(String regionName, int OUTPUT) -> PyShape</autodoc> | |
29370 | <paramlist> | |
29371 | <param name="regionName" type="String" default=""/> | |
29372 | <param name="OUTPUT" type="int" default=""/> | |
29373 | </paramlist> | |
29374 | </method> | |
29375 | <method name="FindRegionNames" type="" overloaded="no"> | |
29376 | <autodoc>FindRegionNames(wxStringList list)</autodoc> | |
29377 | <paramlist> | |
29378 | <param name="list" type="wxStringList" default=""/> | |
29379 | </paramlist> | |
29380 | </method> | |
29381 | <method name="ClearText" type="" overloaded="no"> | |
29382 | <autodoc>ClearText(int regionId=0)</autodoc> | |
29383 | <paramlist> | |
29384 | <param name="regionId" type="int" default="0"/> | |
29385 | </paramlist> | |
29386 | </method> | |
29387 | <method name="RemoveLine" type="" overloaded="no"> | |
29388 | <autodoc>RemoveLine(PyLineShape line)</autodoc> | |
29389 | <paramlist> | |
29390 | <param name="line" type="wxPyLineShape" default=""/> | |
29391 | </paramlist> | |
29392 | </method> | |
29393 | <method name="GetAttachmentPosition" type="bool" overloaded="no"> | |
29394 | <autodoc>GetAttachmentPosition(int attachment, double OUTPUT, double OUTPUT, int nth=0, | |
29395 | int no_arcs=1, PyLineShape line=None) -> bool</autodoc> | |
29396 | <paramlist> | |
29397 | <param name="attachment" type="int" default=""/> | |
29398 | <param name="OUTPUT" type="double" default=""/> | |
29399 | <param name="OUTPUT" type="double" default=""/> | |
29400 | <param name="nth" type="int" default="0"/> | |
29401 | <param name="no_arcs" type="int" default="1"/> | |
29402 | <param name="line" type="wxPyLineShape" default="NULL"/> | |
29403 | </paramlist> | |
29404 | </method> | |
29405 | <method name="GetNumberOfAttachments" type="int" overloaded="no"> | |
29406 | <autodoc>GetNumberOfAttachments() -> int</autodoc> | |
29407 | </method> | |
29408 | <method name="AttachmentIsValid" type="bool" overloaded="no"> | |
29409 | <autodoc>AttachmentIsValid(int attachment) -> bool</autodoc> | |
29410 | <paramlist> | |
29411 | <param name="attachment" type="int" default=""/> | |
29412 | </paramlist> | |
29413 | </method> | |
29414 | <method name="GetAttachments" type="PyObject" overloaded="no"> | |
29415 | <autodoc>GetAttachments() -> PyObject</autodoc> | |
29416 | </method> | |
29417 | <method name="GetAttachmentPositionEdge" type="bool" overloaded="no"> | |
29418 | <autodoc>GetAttachmentPositionEdge(int attachment, double OUTPUT, double OUTPUT, int nth=0, | |
29419 | int no_arcs=1, PyLineShape line=None) -> bool</autodoc> | |
29420 | <paramlist> | |
29421 | <param name="attachment" type="int" default=""/> | |
29422 | <param name="OUTPUT" type="double" default=""/> | |
29423 | <param name="OUTPUT" type="double" default=""/> | |
29424 | <param name="nth" type="int" default="0"/> | |
29425 | <param name="no_arcs" type="int" default="1"/> | |
29426 | <param name="line" type="wxPyLineShape" default="NULL"/> | |
29427 | </paramlist> | |
29428 | </method> | |
29429 | <method name="CalcSimpleAttachment" type="RealPoint" overloaded="no"> | |
29430 | <autodoc>CalcSimpleAttachment(RealPoint pt1, RealPoint pt2, int nth, int noArcs, | |
29431 | PyLineShape line) -> RealPoint</autodoc> | |
29432 | <paramlist> | |
29433 | <param name="pt1" type="RealPoint" default=""/> | |
29434 | <param name="pt2" type="RealPoint" default=""/> | |
29435 | <param name="nth" type="int" default=""/> | |
29436 | <param name="noArcs" type="int" default=""/> | |
29437 | <param name="line" type="wxPyLineShape" default=""/> | |
29438 | </paramlist> | |
29439 | </method> | |
29440 | <method name="AttachmentSortTest" type="bool" overloaded="no"> | |
29441 | <autodoc>AttachmentSortTest(int attachmentPoint, RealPoint pt1, RealPoint pt2) -> bool</autodoc> | |
29442 | <paramlist> | |
29443 | <param name="attachmentPoint" type="int" default=""/> | |
29444 | <param name="pt1" type="RealPoint" default=""/> | |
29445 | <param name="pt2" type="RealPoint" default=""/> | |
29446 | </paramlist> | |
29447 | </method> | |
29448 | <method name="EraseLinks" type="" overloaded="no"> | |
29449 | <autodoc>EraseLinks(DC dc, int attachment=-1, bool recurse=False)</autodoc> | |
29450 | <paramlist> | |
29451 | <param name="dc" type="DC" default=""/> | |
29452 | <param name="attachment" type="int" default="-1"/> | |
29453 | <param name="recurse" type="bool" default="False"/> | |
29454 | </paramlist> | |
29455 | </method> | |
29456 | <method name="DrawLinks" type="" overloaded="no"> | |
29457 | <autodoc>DrawLinks(DC dc, int attachment=-1, bool recurse=False)</autodoc> | |
29458 | <paramlist> | |
29459 | <param name="dc" type="DC" default=""/> | |
29460 | <param name="attachment" type="int" default="-1"/> | |
29461 | <param name="recurse" type="bool" default="False"/> | |
29462 | </paramlist> | |
29463 | </method> | |
29464 | <method name="MoveLineToNewAttachment" type="bool" overloaded="no"> | |
29465 | <autodoc>MoveLineToNewAttachment(DC dc, PyLineShape to_move, double x, double y) -> bool</autodoc> | |
29466 | <paramlist> | |
29467 | <param name="dc" type="DC" default=""/> | |
29468 | <param name="to_move" type="wxPyLineShape" default=""/> | |
29469 | <param name="x" type="double" default=""/> | |
29470 | <param name="y" type="double" default=""/> | |
29471 | </paramlist> | |
29472 | </method> | |
29473 | <method name="ApplyAttachmentOrdering" type="" overloaded="no"> | |
29474 | <autodoc>ApplyAttachmentOrdering(PyObject linesToSort)</autodoc> | |
29475 | <paramlist> | |
29476 | <param name="linesToSort" type="PyObject" default=""/> | |
29477 | </paramlist> | |
29478 | </method> | |
29479 | <method name="GetBranchingAttachmentRoot" type="RealPoint" overloaded="no"> | |
29480 | <autodoc>GetBranchingAttachmentRoot(int attachment) -> RealPoint</autodoc> | |
29481 | <paramlist> | |
29482 | <param name="attachment" type="int" default=""/> | |
29483 | </paramlist> | |
29484 | </method> | |
29485 | <method name="GetBranchingAttachmentInfo" type="bool" overloaded="no"> | |
29486 | <autodoc>GetBranchingAttachmentInfo(int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1, | |
29487 | RealPoint shoulder2) -> bool</autodoc> | |
29488 | <paramlist> | |
29489 | <param name="attachment" type="int" default=""/> | |
29490 | <param name="root" type="RealPoint" default=""/> | |
29491 | <param name="neck" type="RealPoint" default=""/> | |
29492 | <param name="shoulder1" type="RealPoint" default=""/> | |
29493 | <param name="shoulder2" type="RealPoint" default=""/> | |
29494 | </paramlist> | |
29495 | </method> | |
29496 | <method name="GetBranchingAttachmentPoint" type="bool" overloaded="no"> | |
29497 | <autodoc>GetBranchingAttachmentPoint(int attachment, int n, RealPoint attachmentPoint, RealPoint stemPoint) -> bool</autodoc> | |
29498 | <paramlist> | |
29499 | <param name="attachment" type="int" default=""/> | |
29500 | <param name="n" type="int" default=""/> | |
29501 | <param name="attachmentPoint" type="RealPoint" default=""/> | |
29502 | <param name="stemPoint" type="RealPoint" default=""/> | |
29503 | </paramlist> | |
29504 | </method> | |
29505 | <method name="GetAttachmentLineCount" type="int" overloaded="no"> | |
29506 | <autodoc>GetAttachmentLineCount(int attachment) -> int</autodoc> | |
29507 | <paramlist> | |
29508 | <param name="attachment" type="int" default=""/> | |
29509 | </paramlist> | |
29510 | </method> | |
29511 | <method name="SetBranchNeckLength" type="" overloaded="no"> | |
29512 | <autodoc>SetBranchNeckLength(int len)</autodoc> | |
29513 | <paramlist> | |
29514 | <param name="len" type="int" default=""/> | |
29515 | </paramlist> | |
29516 | </method> | |
29517 | <method name="GetBranchNeckLength" type="int" overloaded="no"> | |
29518 | <autodoc>GetBranchNeckLength() -> int</autodoc> | |
29519 | </method> | |
29520 | <method name="SetBranchStemLength" type="" overloaded="no"> | |
29521 | <autodoc>SetBranchStemLength(int len)</autodoc> | |
29522 | <paramlist> | |
29523 | <param name="len" type="int" default=""/> | |
29524 | </paramlist> | |
29525 | </method> | |
29526 | <method name="GetBranchStemLength" type="int" overloaded="no"> | |
29527 | <autodoc>GetBranchStemLength() -> int</autodoc> | |
29528 | </method> | |
29529 | <method name="SetBranchSpacing" type="" overloaded="no"> | |
29530 | <autodoc>SetBranchSpacing(int len)</autodoc> | |
29531 | <paramlist> | |
29532 | <param name="len" type="int" default=""/> | |
29533 | </paramlist> | |
29534 | </method> | |
29535 | <method name="GetBranchSpacing" type="int" overloaded="no"> | |
29536 | <autodoc>GetBranchSpacing() -> int</autodoc> | |
29537 | </method> | |
29538 | <method name="SetBranchStyle" type="" overloaded="no"> | |
29539 | <autodoc>SetBranchStyle(long style)</autodoc> | |
29540 | <paramlist> | |
29541 | <param name="style" type="long" default=""/> | |
29542 | </paramlist> | |
29543 | </method> | |
29544 | <method name="GetBranchStyle" type="long" overloaded="no"> | |
29545 | <autodoc>GetBranchStyle() -> long</autodoc> | |
29546 | </method> | |
29547 | <method name="PhysicalToLogicalAttachment" type="int" overloaded="no"> | |
29548 | <autodoc>PhysicalToLogicalAttachment(int physicalAttachment) -> int</autodoc> | |
29549 | <paramlist> | |
29550 | <param name="physicalAttachment" type="int" default=""/> | |
29551 | </paramlist> | |
29552 | </method> | |
29553 | <method name="LogicalToPhysicalAttachment" type="int" overloaded="no"> | |
29554 | <autodoc>LogicalToPhysicalAttachment(int logicalAttachment) -> int</autodoc> | |
29555 | <paramlist> | |
29556 | <param name="logicalAttachment" type="int" default=""/> | |
29557 | </paramlist> | |
29558 | </method> | |
29559 | <method name="Draggable" type="bool" overloaded="no"> | |
29560 | <autodoc>Draggable() -> bool</autodoc> | |
29561 | </method> | |
29562 | <method name="HasDescendant" type="bool" overloaded="no"> | |
29563 | <autodoc>HasDescendant(PyShape image) -> bool</autodoc> | |
29564 | <paramlist> | |
29565 | <param name="image" type="PyShape" default=""/> | |
29566 | </paramlist> | |
29567 | </method> | |
29568 | <method name="CreateNewCopy" type="PyShape" overloaded="no"> | |
29569 | <autodoc>CreateNewCopy(bool resetMapping=True, bool recompute=True) -> PyShape</autodoc> | |
29570 | <paramlist> | |
29571 | <param name="resetMapping" type="bool" default="True"/> | |
29572 | <param name="recompute" type="bool" default="True"/> | |
29573 | </paramlist> | |
29574 | </method> | |
29575 | <method name="Copy" type="" overloaded="no"> | |
29576 | <autodoc>Copy(PyShape copy)</autodoc> | |
29577 | <paramlist> | |
29578 | <param name="copy" type="PyShape" default=""/> | |
29579 | </paramlist> | |
29580 | </method> | |
29581 | <method name="CopyWithHandler" type="" overloaded="no"> | |
29582 | <autodoc>CopyWithHandler(PyShape copy)</autodoc> | |
29583 | <paramlist> | |
29584 | <param name="copy" type="PyShape" default=""/> | |
29585 | </paramlist> | |
29586 | </method> | |
29587 | <method name="Rotate" type="" overloaded="no"> | |
29588 | <autodoc>Rotate(double x, double y, double theta)</autodoc> | |
29589 | <paramlist> | |
29590 | <param name="x" type="double" default=""/> | |
29591 | <param name="y" type="double" default=""/> | |
29592 | <param name="theta" type="double" default=""/> | |
29593 | </paramlist> | |
29594 | </method> | |
29595 | <method name="GetRotation" type="double" overloaded="no"> | |
29596 | <autodoc>GetRotation() -> double</autodoc> | |
29597 | </method> | |
29598 | <method name="SetRotation" type="" overloaded="no"> | |
29599 | <autodoc>SetRotation(double rotation)</autodoc> | |
29600 | <paramlist> | |
29601 | <param name="rotation" type="double" default=""/> | |
29602 | </paramlist> | |
29603 | </method> | |
29604 | <method name="ClearAttachments" type="" overloaded="no"> | |
29605 | <autodoc>ClearAttachments()</autodoc> | |
29606 | </method> | |
29607 | <method name="Recentre" type="" overloaded="no"> | |
29608 | <autodoc>Recentre(DC dc)</autodoc> | |
29609 | <paramlist> | |
29610 | <param name="dc" type="DC" default=""/> | |
29611 | </paramlist> | |
29612 | </method> | |
29613 | <method name="ClearPointList" type="" overloaded="no"> | |
29614 | <autodoc>ClearPointList(wxList list)</autodoc> | |
29615 | <paramlist> | |
29616 | <param name="list" type="wxList" default=""/> | |
29617 | </paramlist> | |
29618 | </method> | |
29619 | <method name="GetBackgroundPen" type="Pen" overloaded="no"> | |
29620 | <autodoc>GetBackgroundPen() -> wxPen</autodoc> | |
29621 | </method> | |
29622 | <method name="GetBackgroundBrush" type="Brush" overloaded="no"> | |
29623 | <autodoc>GetBackgroundBrush() -> wxBrush</autodoc> | |
29624 | </method> | |
29625 | <method name="base_OnDelete" type="" overloaded="no"> | |
29626 | <autodoc>base_OnDelete()</autodoc> | |
29627 | </method> | |
29628 | <method name="base_OnDraw" type="" overloaded="no"> | |
29629 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
29630 | <paramlist> | |
29631 | <param name="dc" type="DC" default=""/> | |
29632 | </paramlist> | |
29633 | </method> | |
29634 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
29635 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
29636 | <paramlist> | |
29637 | <param name="dc" type="DC" default=""/> | |
29638 | </paramlist> | |
29639 | </method> | |
29640 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
29641 | <autodoc>base_OnDrawBranches(DC dc, bool erase=False)</autodoc> | |
29642 | <paramlist> | |
29643 | <param name="dc" type="DC" default=""/> | |
29644 | <param name="erase" type="bool" default="False"/> | |
29645 | </paramlist> | |
29646 | </method> | |
29647 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
29648 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
29649 | <paramlist> | |
29650 | <param name="dc" type="DC" default=""/> | |
29651 | </paramlist> | |
29652 | </method> | |
29653 | <method name="base_OnErase" type="" overloaded="no"> | |
29654 | <autodoc>base_OnErase(DC dc)</autodoc> | |
29655 | <paramlist> | |
29656 | <param name="dc" type="DC" default=""/> | |
29657 | </paramlist> | |
29658 | </method> | |
29659 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
29660 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
29661 | <paramlist> | |
29662 | <param name="dc" type="DC" default=""/> | |
29663 | </paramlist> | |
29664 | </method> | |
29665 | <method name="base_OnHighlight" type="" overloaded="no"> | |
29666 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
29667 | <paramlist> | |
29668 | <param name="dc" type="DC" default=""/> | |
29669 | </paramlist> | |
29670 | </method> | |
29671 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
29672 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
29673 | <paramlist> | |
29674 | <param name="x" type="double" default=""/> | |
29675 | <param name="y" type="double" default=""/> | |
29676 | <param name="keys" type="int" default="0"/> | |
29677 | <param name="attachment" type="int" default="0"/> | |
29678 | </paramlist> | |
29679 | </method> | |
29680 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
29681 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
29682 | <paramlist> | |
29683 | <param name="x" type="double" default=""/> | |
29684 | <param name="y" type="double" default=""/> | |
29685 | <param name="keys" type="int" default="0"/> | |
29686 | <param name="attachment" type="int" default="0"/> | |
29687 | </paramlist> | |
29688 | </method> | |
29689 | <method name="base_OnRightClick" type="" overloaded="no"> | |
29690 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
29691 | <paramlist> | |
29692 | <param name="x" type="double" default=""/> | |
29693 | <param name="y" type="double" default=""/> | |
29694 | <param name="keys" type="int" default="0"/> | |
29695 | <param name="attachment" type="int" default="0"/> | |
29696 | </paramlist> | |
29697 | </method> | |
29698 | <method name="base_OnSize" type="" overloaded="no"> | |
29699 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
29700 | <paramlist> | |
29701 | <param name="x" type="double" default=""/> | |
29702 | <param name="y" type="double" default=""/> | |
29703 | </paramlist> | |
29704 | </method> | |
29705 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
29706 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
29707 | bool display=True) -> bool</autodoc> | |
29708 | <paramlist> | |
29709 | <param name="dc" type="DC" default=""/> | |
29710 | <param name="x" type="double" default=""/> | |
29711 | <param name="y" type="double" default=""/> | |
29712 | <param name="old_x" type="double" default=""/> | |
29713 | <param name="old_y" type="double" default=""/> | |
29714 | <param name="display" type="bool" default="True"/> | |
29715 | </paramlist> | |
29716 | </method> | |
29717 | <method name="base_OnMovePost" type="" overloaded="no"> | |
29718 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
29719 | bool display=True)</autodoc> | |
29720 | <paramlist> | |
29721 | <param name="dc" type="DC" default=""/> | |
29722 | <param name="x" type="double" default=""/> | |
29723 | <param name="y" type="double" default=""/> | |
29724 | <param name="old_x" type="double" default=""/> | |
29725 | <param name="old_y" type="double" default=""/> | |
29726 | <param name="display" type="bool" default="True"/> | |
29727 | </paramlist> | |
29728 | </method> | |
29729 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
29730 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
29731 | <paramlist> | |
29732 | <param name="draw" type="bool" default=""/> | |
29733 | <param name="x" type="double" default=""/> | |
29734 | <param name="y" type="double" default=""/> | |
29735 | <param name="keys" type="int" default="0"/> | |
29736 | <param name="attachment" type="int" default="0"/> | |
29737 | </paramlist> | |
29738 | </method> | |
29739 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
29740 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
29741 | <paramlist> | |
29742 | <param name="x" type="double" default=""/> | |
29743 | <param name="y" type="double" default=""/> | |
29744 | <param name="keys" type="int" default="0"/> | |
29745 | <param name="attachment" type="int" default="0"/> | |
29746 | </paramlist> | |
29747 | </method> | |
29748 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
29749 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
29750 | <paramlist> | |
29751 | <param name="x" type="double" default=""/> | |
29752 | <param name="y" type="double" default=""/> | |
29753 | <param name="keys" type="int" default="0"/> | |
29754 | <param name="attachment" type="int" default="0"/> | |
29755 | </paramlist> | |
29756 | </method> | |
29757 | <method name="base_OnDragRight" type="" overloaded="no"> | |
29758 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
29759 | <paramlist> | |
29760 | <param name="draw" type="bool" default=""/> | |
29761 | <param name="x" type="double" default=""/> | |
29762 | <param name="y" type="double" default=""/> | |
29763 | <param name="keys" type="int" default="0"/> | |
29764 | <param name="attachment" type="int" default="0"/> | |
29765 | </paramlist> | |
29766 | </method> | |
29767 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
29768 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
29769 | <paramlist> | |
29770 | <param name="x" type="double" default=""/> | |
29771 | <param name="y" type="double" default=""/> | |
29772 | <param name="keys" type="int" default="0"/> | |
29773 | <param name="attachment" type="int" default="0"/> | |
29774 | </paramlist> | |
29775 | </method> | |
29776 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
29777 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
29778 | <paramlist> | |
29779 | <param name="x" type="double" default=""/> | |
29780 | <param name="y" type="double" default=""/> | |
29781 | <param name="keys" type="int" default="0"/> | |
29782 | <param name="attachment" type="int" default="0"/> | |
29783 | </paramlist> | |
29784 | </method> | |
29785 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
29786 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
29787 | <paramlist> | |
29788 | <param name="dc" type="DC" default=""/> | |
29789 | <param name="x" type="double" default=""/> | |
29790 | <param name="y" type="double" default=""/> | |
29791 | <param name="w" type="double" default=""/> | |
29792 | <param name="h" type="double" default=""/> | |
29793 | </paramlist> | |
29794 | </method> | |
29795 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
29796 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
29797 | <paramlist> | |
29798 | <param name="dc" type="DC" default=""/> | |
29799 | </paramlist> | |
29800 | </method> | |
29801 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
29802 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
29803 | <paramlist> | |
29804 | <param name="dc" type="DC" default=""/> | |
29805 | </paramlist> | |
29806 | </method> | |
29807 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
29808 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
29809 | <paramlist> | |
29810 | <param name="dc" type="DC" default=""/> | |
29811 | <param name="moveControlPoints" type="bool" default="True"/> | |
29812 | </paramlist> | |
29813 | </method> | |
29814 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
29815 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
29816 | int attachment=0)</autodoc> | |
29817 | <paramlist> | |
29818 | <param name="pt" type="wxPyControlPoint" default=""/> | |
29819 | <param name="draw" type="bool" default=""/> | |
29820 | <param name="x" type="double" default=""/> | |
29821 | <param name="y" type="double" default=""/> | |
29822 | <param name="keys" type="int" default="0"/> | |
29823 | <param name="attachment" type="int" default="0"/> | |
29824 | </paramlist> | |
29825 | </method> | |
29826 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
29827 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
29828 | int attachment=0)</autodoc> | |
29829 | <paramlist> | |
29830 | <param name="pt" type="wxPyControlPoint" default=""/> | |
29831 | <param name="x" type="double" default=""/> | |
29832 | <param name="y" type="double" default=""/> | |
29833 | <param name="keys" type="int" default="0"/> | |
29834 | <param name="attachment" type="int" default="0"/> | |
29835 | </paramlist> | |
29836 | </method> | |
29837 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
29838 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
29839 | int attachment=0)</autodoc> | |
29840 | <paramlist> | |
29841 | <param name="pt" type="wxPyControlPoint" default=""/> | |
29842 | <param name="x" type="double" default=""/> | |
29843 | <param name="y" type="double" default=""/> | |
29844 | <param name="keys" type="int" default="0"/> | |
29845 | <param name="attachment" type="int" default="0"/> | |
29846 | </paramlist> | |
29847 | </method> | |
29848 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
29849 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
29850 | <paramlist> | |
29851 | <param name="w" type="double" default=""/> | |
29852 | <param name="h" type="double" default=""/> | |
29853 | </paramlist> | |
29854 | </method> | |
29855 | <method name="base_OnEndSize" type="" overloaded="no"> | |
29856 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
29857 | <paramlist> | |
29858 | <param name="w" type="double" default=""/> | |
29859 | <param name="h" type="double" default=""/> | |
29860 | </paramlist> | |
29861 | </method> | |
29862 | </class> | |
29863 | <class name="PseudoMetaFile" oldname="wxPseudoMetaFile" module="ogl"> | |
29864 | <baseclass name="Object"/> | |
29865 | <constructor name="PseudoMetaFile" overloaded="no"> | |
29866 | <autodoc>__init__() -> PseudoMetaFile</autodoc> | |
29867 | </constructor> | |
29868 | <destructor name="~wxPseudoMetaFile" overloaded="no"> | |
29869 | <autodoc>__del__()</autodoc> | |
29870 | </destructor> | |
29871 | <method name="Draw" type="" overloaded="no"> | |
29872 | <autodoc>Draw(DC dc, double xoffset, double yoffset)</autodoc> | |
29873 | <paramlist> | |
29874 | <param name="dc" type="DC" default=""/> | |
29875 | <param name="xoffset" type="double" default=""/> | |
29876 | <param name="yoffset" type="double" default=""/> | |
29877 | </paramlist> | |
29878 | </method> | |
29879 | <method name="Clear" type="" overloaded="no"> | |
29880 | <autodoc>Clear()</autodoc> | |
29881 | </method> | |
29882 | <method name="Copy" type="" overloaded="no"> | |
29883 | <autodoc>Copy(PseudoMetaFile copy)</autodoc> | |
29884 | <paramlist> | |
29885 | <param name="copy" type="PseudoMetaFile" default=""/> | |
29886 | </paramlist> | |
29887 | </method> | |
29888 | <method name="Scale" type="" overloaded="no"> | |
29889 | <autodoc>Scale(double sx, double sy)</autodoc> | |
29890 | <paramlist> | |
29891 | <param name="sx" type="double" default=""/> | |
29892 | <param name="sy" type="double" default=""/> | |
29893 | </paramlist> | |
29894 | </method> | |
29895 | <method name="ScaleTo" type="" overloaded="no"> | |
29896 | <autodoc>ScaleTo(double w, double h)</autodoc> | |
29897 | <paramlist> | |
29898 | <param name="w" type="double" default=""/> | |
29899 | <param name="h" type="double" default=""/> | |
29900 | </paramlist> | |
29901 | </method> | |
29902 | <method name="Translate" type="" overloaded="no"> | |
29903 | <autodoc>Translate(double x, double y)</autodoc> | |
29904 | <paramlist> | |
29905 | <param name="x" type="double" default=""/> | |
29906 | <param name="y" type="double" default=""/> | |
29907 | </paramlist> | |
29908 | </method> | |
29909 | <method name="Rotate" type="" overloaded="no"> | |
29910 | <autodoc>Rotate(double x, double y, double theta)</autodoc> | |
29911 | <paramlist> | |
29912 | <param name="x" type="double" default=""/> | |
29913 | <param name="y" type="double" default=""/> | |
29914 | <param name="theta" type="double" default=""/> | |
29915 | </paramlist> | |
29916 | </method> | |
29917 | <method name="LoadFromMetaFile" type="bool" overloaded="no"> | |
29918 | <autodoc>LoadFromMetaFile(String filename, double width, double height) -> bool</autodoc> | |
29919 | <paramlist> | |
29920 | <param name="filename" type="String" default=""/> | |
29921 | <param name="width" type="double" default=""/> | |
29922 | <param name="height" type="double" default=""/> | |
29923 | </paramlist> | |
29924 | </method> | |
29925 | <method name="GetBounds" type="" overloaded="no"> | |
29926 | <autodoc>GetBounds(double minX, double minY, double maxX, double maxY)</autodoc> | |
29927 | <paramlist> | |
29928 | <param name="minX" type="double" default=""/> | |
29929 | <param name="minY" type="double" default=""/> | |
29930 | <param name="maxX" type="double" default=""/> | |
29931 | <param name="maxY" type="double" default=""/> | |
29932 | </paramlist> | |
29933 | </method> | |
29934 | <method name="CalculateSize" type="" overloaded="no"> | |
29935 | <autodoc>CalculateSize(PyDrawnShape shape)</autodoc> | |
29936 | <paramlist> | |
29937 | <param name="shape" type="wxPyDrawnShape" default=""/> | |
29938 | </paramlist> | |
29939 | </method> | |
29940 | <method name="SetRotateable" type="" overloaded="no"> | |
29941 | <autodoc>SetRotateable(bool rot)</autodoc> | |
29942 | <paramlist> | |
29943 | <param name="rot" type="bool" default=""/> | |
29944 | </paramlist> | |
29945 | </method> | |
29946 | <method name="GetRotateable" type="bool" overloaded="no"> | |
29947 | <autodoc>GetRotateable() -> bool</autodoc> | |
29948 | </method> | |
29949 | <method name="SetSize" type="" overloaded="no"> | |
29950 | <autodoc>SetSize(double w, double h)</autodoc> | |
29951 | <paramlist> | |
29952 | <param name="w" type="double" default=""/> | |
29953 | <param name="h" type="double" default=""/> | |
29954 | </paramlist> | |
29955 | </method> | |
29956 | <method name="SetFillBrush" type="" overloaded="no"> | |
29957 | <autodoc>SetFillBrush(wxBrush brush)</autodoc> | |
29958 | <paramlist> | |
29959 | <param name="brush" type="Brush" default=""/> | |
29960 | </paramlist> | |
29961 | </method> | |
29962 | <method name="GetFillBrush" type="Brush" overloaded="no"> | |
29963 | <autodoc>GetFillBrush() -> wxBrush</autodoc> | |
29964 | </method> | |
29965 | <method name="SetOutlinePen" type="" overloaded="no"> | |
29966 | <autodoc>SetOutlinePen(wxPen pen)</autodoc> | |
29967 | <paramlist> | |
29968 | <param name="pen" type="Pen" default=""/> | |
29969 | </paramlist> | |
29970 | </method> | |
29971 | <method name="GetOutlinePen" type="Pen" overloaded="no"> | |
29972 | <autodoc>GetOutlinePen() -> wxPen</autodoc> | |
29973 | </method> | |
29974 | <method name="SetOutlineOp" type="" overloaded="no"> | |
29975 | <autodoc>SetOutlineOp(int op)</autodoc> | |
29976 | <paramlist> | |
29977 | <param name="op" type="int" default=""/> | |
29978 | </paramlist> | |
29979 | </method> | |
29980 | <method name="GetOutlineOp" type="int" overloaded="no"> | |
29981 | <autodoc>GetOutlineOp() -> int</autodoc> | |
29982 | </method> | |
29983 | <method name="IsValid" type="bool" overloaded="no"> | |
29984 | <autodoc>IsValid() -> bool</autodoc> | |
29985 | </method> | |
29986 | <method name="DrawLine" type="" overloaded="no"> | |
29987 | <autodoc>DrawLine(Point pt1, Point pt2)</autodoc> | |
29988 | <paramlist> | |
29989 | <param name="pt1" type="Point" default=""/> | |
29990 | <param name="pt2" type="Point" default=""/> | |
29991 | </paramlist> | |
29992 | </method> | |
29993 | <method name="DrawRectangle" type="" overloaded="no"> | |
29994 | <autodoc>DrawRectangle(Rect rect)</autodoc> | |
29995 | <paramlist> | |
29996 | <param name="rect" type="Rect" default=""/> | |
29997 | </paramlist> | |
29998 | </method> | |
29999 | <method name="DrawRoundedRectangle" type="" overloaded="no"> | |
30000 | <autodoc>DrawRoundedRectangle(Rect rect, double radius)</autodoc> | |
30001 | <paramlist> | |
30002 | <param name="rect" type="Rect" default=""/> | |
30003 | <param name="radius" type="double" default=""/> | |
30004 | </paramlist> | |
30005 | </method> | |
30006 | <method name="DrawArc" type="" overloaded="no"> | |
30007 | <autodoc>DrawArc(Point centrePt, Point startPt, Point endPt)</autodoc> | |
30008 | <paramlist> | |
30009 | <param name="centrePt" type="Point" default=""/> | |
30010 | <param name="startPt" type="Point" default=""/> | |
30011 | <param name="endPt" type="Point" default=""/> | |
30012 | </paramlist> | |
30013 | </method> | |
30014 | <method name="DrawEllipticArc" type="" overloaded="no"> | |
30015 | <autodoc>DrawEllipticArc(Rect rect, double startAngle, double endAngle)</autodoc> | |
30016 | <paramlist> | |
30017 | <param name="rect" type="Rect" default=""/> | |
30018 | <param name="startAngle" type="double" default=""/> | |
30019 | <param name="endAngle" type="double" default=""/> | |
30020 | </paramlist> | |
30021 | </method> | |
30022 | <method name="DrawEllipse" type="" overloaded="no"> | |
30023 | <autodoc>DrawEllipse(Rect rect)</autodoc> | |
30024 | <paramlist> | |
30025 | <param name="rect" type="Rect" default=""/> | |
30026 | </paramlist> | |
30027 | </method> | |
30028 | <method name="DrawPoint" type="" overloaded="no"> | |
30029 | <autodoc>DrawPoint(Point pt)</autodoc> | |
30030 | <paramlist> | |
30031 | <param name="pt" type="Point" default=""/> | |
30032 | </paramlist> | |
30033 | </method> | |
30034 | <method name="DrawText" type="" overloaded="no"> | |
30035 | <autodoc>DrawText(String text, Point pt)</autodoc> | |
30036 | <paramlist> | |
30037 | <param name="text" type="String" default=""/> | |
30038 | <param name="pt" type="Point" default=""/> | |
30039 | </paramlist> | |
30040 | </method> | |
30041 | <method name="DrawLines" type="" overloaded="no"> | |
30042 | <autodoc>DrawLines(int PCOUNT, Point points)</autodoc> | |
30043 | <paramlist> | |
30044 | <param name="PCOUNT" type="int" default=""/> | |
30045 | <param name="points" type="Point" default=""/> | |
30046 | </paramlist> | |
30047 | </method> | |
30048 | <method name="DrawPolygon" type="" overloaded="no"> | |
30049 | <autodoc>DrawPolygon(int PCOUNT, Point points, int flags=0)</autodoc> | |
30050 | <paramlist> | |
30051 | <param name="PCOUNT" type="int" default=""/> | |
30052 | <param name="points" type="Point" default=""/> | |
30053 | <param name="flags" type="int" default="0"/> | |
30054 | </paramlist> | |
30055 | </method> | |
30056 | <method name="DrawSpline" type="" overloaded="no"> | |
30057 | <autodoc>DrawSpline(int PCOUNT, Point points)</autodoc> | |
30058 | <paramlist> | |
30059 | <param name="PCOUNT" type="int" default=""/> | |
30060 | <param name="points" type="Point" default=""/> | |
30061 | </paramlist> | |
30062 | </method> | |
30063 | <method name="SetClippingRect" type="" overloaded="no"> | |
30064 | <autodoc>SetClippingRect(Rect rect)</autodoc> | |
30065 | <paramlist> | |
30066 | <param name="rect" type="Rect" default=""/> | |
30067 | </paramlist> | |
30068 | </method> | |
30069 | <method name="DestroyClippingRect" type="" overloaded="no"> | |
30070 | <autodoc>DestroyClippingRect()</autodoc> | |
30071 | </method> | |
30072 | <method name="SetPen" type="" overloaded="no"> | |
30073 | <autodoc>SetPen(wxPen pen, bool isOutline=FALSE)</autodoc> | |
30074 | <paramlist> | |
30075 | <param name="pen" type="Pen" default=""/> | |
30076 | <param name="isOutline" type="bool" default="FALSE"/> | |
30077 | </paramlist> | |
30078 | </method> | |
30079 | <method name="SetBrush" type="" overloaded="no"> | |
30080 | <autodoc>SetBrush(wxBrush brush, bool isFill=FALSE)</autodoc> | |
30081 | <paramlist> | |
30082 | <param name="brush" type="Brush" default=""/> | |
30083 | <param name="isFill" type="bool" default="FALSE"/> | |
30084 | </paramlist> | |
30085 | </method> | |
30086 | <method name="SetFont" type="" overloaded="no"> | |
30087 | <autodoc>SetFont(Font font)</autodoc> | |
30088 | <paramlist> | |
30089 | <param name="font" type="Font" default=""/> | |
30090 | </paramlist> | |
30091 | </method> | |
30092 | <method name="SetTextColour" type="" overloaded="no"> | |
30093 | <autodoc>SetTextColour(Colour colour)</autodoc> | |
30094 | <paramlist> | |
30095 | <param name="colour" type="Colour" default=""/> | |
30096 | </paramlist> | |
30097 | </method> | |
30098 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
30099 | <autodoc>SetBackgroundColour(Colour colour)</autodoc> | |
30100 | <paramlist> | |
30101 | <param name="colour" type="Colour" default=""/> | |
30102 | </paramlist> | |
30103 | </method> | |
30104 | <method name="SetBackgroundMode" type="" overloaded="no"> | |
30105 | <autodoc>SetBackgroundMode(int mode)</autodoc> | |
30106 | <paramlist> | |
30107 | <param name="mode" type="int" default=""/> | |
30108 | </paramlist> | |
30109 | </method> | |
30110 | </class> | |
30111 | <class name="PyRectangleShape" oldname="wxPyRectangleShape" module="ogl"> | |
30112 | <baseclass name="PyShape"/> | |
30113 | <constructor name="PyRectangleShape" overloaded="no"> | |
30114 | <autodoc>__init__(double width=0.0, double height=0.0) -> PyRectangleShape</autodoc> | |
30115 | <paramlist> | |
30116 | <param name="width" type="double" default="0.0"/> | |
30117 | <param name="height" type="double" default="0.0"/> | |
30118 | </paramlist> | |
30119 | </constructor> | |
30120 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
30121 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
30122 | <paramlist> | |
30123 | <param name="self" type="PyObject" default=""/> | |
30124 | <param name="_class" type="PyObject" default=""/> | |
30125 | </paramlist> | |
30126 | </method> | |
30127 | <method name="SetCornerRadius" type="" overloaded="no"> | |
30128 | <autodoc>SetCornerRadius(double radius)</autodoc> | |
30129 | <paramlist> | |
30130 | <param name="radius" type="double" default=""/> | |
30131 | </paramlist> | |
30132 | </method> | |
30133 | <method name="GetCornerRadius" type="double" overloaded="no"> | |
30134 | <autodoc>GetCornerRadius() -> double</autodoc> | |
30135 | </method> | |
30136 | <method name="base_OnDelete" type="" overloaded="no"> | |
30137 | <autodoc>base_OnDelete()</autodoc> | |
30138 | </method> | |
30139 | <method name="base_OnDraw" type="" overloaded="no"> | |
30140 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
30141 | <paramlist> | |
30142 | <param name="dc" type="DC" default=""/> | |
30143 | </paramlist> | |
30144 | </method> | |
30145 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
30146 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
30147 | <paramlist> | |
30148 | <param name="dc" type="DC" default=""/> | |
30149 | </paramlist> | |
30150 | </method> | |
30151 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
30152 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
30153 | <paramlist> | |
30154 | <param name="dc" type="DC" default=""/> | |
30155 | <param name="erase" type="bool" default="FALSE"/> | |
30156 | </paramlist> | |
30157 | </method> | |
30158 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
30159 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
30160 | <paramlist> | |
30161 | <param name="dc" type="DC" default=""/> | |
30162 | </paramlist> | |
30163 | </method> | |
30164 | <method name="base_OnErase" type="" overloaded="no"> | |
30165 | <autodoc>base_OnErase(DC dc)</autodoc> | |
30166 | <paramlist> | |
30167 | <param name="dc" type="DC" default=""/> | |
30168 | </paramlist> | |
30169 | </method> | |
30170 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
30171 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
30172 | <paramlist> | |
30173 | <param name="dc" type="DC" default=""/> | |
30174 | </paramlist> | |
30175 | </method> | |
30176 | <method name="base_OnHighlight" type="" overloaded="no"> | |
30177 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
30178 | <paramlist> | |
30179 | <param name="dc" type="DC" default=""/> | |
30180 | </paramlist> | |
30181 | </method> | |
30182 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
30183 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30184 | <paramlist> | |
30185 | <param name="x" type="double" default=""/> | |
30186 | <param name="y" type="double" default=""/> | |
30187 | <param name="keys" type="int" default="0"/> | |
30188 | <param name="attachment" type="int" default="0"/> | |
30189 | </paramlist> | |
30190 | </method> | |
30191 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
30192 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30193 | <paramlist> | |
30194 | <param name="x" type="double" default=""/> | |
30195 | <param name="y" type="double" default=""/> | |
30196 | <param name="keys" type="int" default="0"/> | |
30197 | <param name="attachment" type="int" default="0"/> | |
30198 | </paramlist> | |
30199 | </method> | |
30200 | <method name="base_OnRightClick" type="" overloaded="no"> | |
30201 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30202 | <paramlist> | |
30203 | <param name="x" type="double" default=""/> | |
30204 | <param name="y" type="double" default=""/> | |
30205 | <param name="keys" type="int" default="0"/> | |
30206 | <param name="attachment" type="int" default="0"/> | |
30207 | </paramlist> | |
30208 | </method> | |
30209 | <method name="base_OnSize" type="" overloaded="no"> | |
30210 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
30211 | <paramlist> | |
30212 | <param name="x" type="double" default=""/> | |
30213 | <param name="y" type="double" default=""/> | |
30214 | </paramlist> | |
30215 | </method> | |
30216 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
30217 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
30218 | bool display=True) -> bool</autodoc> | |
30219 | <paramlist> | |
30220 | <param name="dc" type="DC" default=""/> | |
30221 | <param name="x" type="double" default=""/> | |
30222 | <param name="y" type="double" default=""/> | |
30223 | <param name="old_x" type="double" default=""/> | |
30224 | <param name="old_y" type="double" default=""/> | |
30225 | <param name="display" type="bool" default="True"/> | |
30226 | </paramlist> | |
30227 | </method> | |
30228 | <method name="base_OnMovePost" type="" overloaded="no"> | |
30229 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
30230 | bool display=True)</autodoc> | |
30231 | <paramlist> | |
30232 | <param name="dc" type="DC" default=""/> | |
30233 | <param name="x" type="double" default=""/> | |
30234 | <param name="y" type="double" default=""/> | |
30235 | <param name="old_x" type="double" default=""/> | |
30236 | <param name="old_y" type="double" default=""/> | |
30237 | <param name="display" type="bool" default="True"/> | |
30238 | </paramlist> | |
30239 | </method> | |
30240 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
30241 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
30242 | <paramlist> | |
30243 | <param name="draw" type="bool" default=""/> | |
30244 | <param name="x" type="double" default=""/> | |
30245 | <param name="y" type="double" default=""/> | |
30246 | <param name="keys" type="int" default="0"/> | |
30247 | <param name="attachment" type="int" default="0"/> | |
30248 | </paramlist> | |
30249 | </method> | |
30250 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
30251 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30252 | <paramlist> | |
30253 | <param name="x" type="double" default=""/> | |
30254 | <param name="y" type="double" default=""/> | |
30255 | <param name="keys" type="int" default="0"/> | |
30256 | <param name="attachment" type="int" default="0"/> | |
30257 | </paramlist> | |
30258 | </method> | |
30259 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
30260 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30261 | <paramlist> | |
30262 | <param name="x" type="double" default=""/> | |
30263 | <param name="y" type="double" default=""/> | |
30264 | <param name="keys" type="int" default="0"/> | |
30265 | <param name="attachment" type="int" default="0"/> | |
30266 | </paramlist> | |
30267 | </method> | |
30268 | <method name="base_OnDragRight" type="" overloaded="no"> | |
30269 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
30270 | <paramlist> | |
30271 | <param name="draw" type="bool" default=""/> | |
30272 | <param name="x" type="double" default=""/> | |
30273 | <param name="y" type="double" default=""/> | |
30274 | <param name="keys" type="int" default="0"/> | |
30275 | <param name="attachment" type="int" default="0"/> | |
30276 | </paramlist> | |
30277 | </method> | |
30278 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
30279 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30280 | <paramlist> | |
30281 | <param name="x" type="double" default=""/> | |
30282 | <param name="y" type="double" default=""/> | |
30283 | <param name="keys" type="int" default="0"/> | |
30284 | <param name="attachment" type="int" default="0"/> | |
30285 | </paramlist> | |
30286 | </method> | |
30287 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
30288 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30289 | <paramlist> | |
30290 | <param name="x" type="double" default=""/> | |
30291 | <param name="y" type="double" default=""/> | |
30292 | <param name="keys" type="int" default="0"/> | |
30293 | <param name="attachment" type="int" default="0"/> | |
30294 | </paramlist> | |
30295 | </method> | |
30296 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
30297 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
30298 | <paramlist> | |
30299 | <param name="dc" type="DC" default=""/> | |
30300 | <param name="x" type="double" default=""/> | |
30301 | <param name="y" type="double" default=""/> | |
30302 | <param name="w" type="double" default=""/> | |
30303 | <param name="h" type="double" default=""/> | |
30304 | </paramlist> | |
30305 | </method> | |
30306 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
30307 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
30308 | <paramlist> | |
30309 | <param name="dc" type="DC" default=""/> | |
30310 | </paramlist> | |
30311 | </method> | |
30312 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
30313 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
30314 | <paramlist> | |
30315 | <param name="dc" type="DC" default=""/> | |
30316 | </paramlist> | |
30317 | </method> | |
30318 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
30319 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
30320 | <paramlist> | |
30321 | <param name="dc" type="DC" default=""/> | |
30322 | <param name="moveControlPoints" type="bool" default="True"/> | |
30323 | </paramlist> | |
30324 | </method> | |
30325 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
30326 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
30327 | int attachment=0)</autodoc> | |
30328 | <paramlist> | |
30329 | <param name="pt" type="wxPyControlPoint" default=""/> | |
30330 | <param name="draw" type="bool" default=""/> | |
30331 | <param name="x" type="double" default=""/> | |
30332 | <param name="y" type="double" default=""/> | |
30333 | <param name="keys" type="int" default="0"/> | |
30334 | <param name="attachment" type="int" default="0"/> | |
30335 | </paramlist> | |
30336 | </method> | |
30337 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
30338 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
30339 | int attachment=0)</autodoc> | |
30340 | <paramlist> | |
30341 | <param name="pt" type="wxPyControlPoint" default=""/> | |
30342 | <param name="x" type="double" default=""/> | |
30343 | <param name="y" type="double" default=""/> | |
30344 | <param name="keys" type="int" default="0"/> | |
30345 | <param name="attachment" type="int" default="0"/> | |
30346 | </paramlist> | |
30347 | </method> | |
30348 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
30349 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
30350 | int attachment=0)</autodoc> | |
30351 | <paramlist> | |
30352 | <param name="pt" type="wxPyControlPoint" default=""/> | |
30353 | <param name="x" type="double" default=""/> | |
30354 | <param name="y" type="double" default=""/> | |
30355 | <param name="keys" type="int" default="0"/> | |
30356 | <param name="attachment" type="int" default="0"/> | |
30357 | </paramlist> | |
30358 | </method> | |
30359 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
30360 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
30361 | <paramlist> | |
30362 | <param name="w" type="double" default=""/> | |
30363 | <param name="h" type="double" default=""/> | |
30364 | </paramlist> | |
30365 | </method> | |
30366 | <method name="base_OnEndSize" type="" overloaded="no"> | |
30367 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
30368 | <paramlist> | |
30369 | <param name="w" type="double" default=""/> | |
30370 | <param name="h" type="double" default=""/> | |
30371 | </paramlist> | |
30372 | </method> | |
30373 | </class> | |
30374 | <class name="PyControlPoint" oldname="wxPyControlPoint" module="ogl"> | |
30375 | <baseclass name="PyRectangleShape"/> | |
30376 | <constructor name="PyControlPoint" overloaded="no"> | |
30377 | <autodoc>__init__(PyShapeCanvas the_canvas=None, PyShape object=None, | |
30378 | double size=0.0, double the_xoffset=0.0, double the_yoffset=0.0, | |
30379 | int the_type=0) -> PyControlPoint</autodoc> | |
30380 | <paramlist> | |
30381 | <param name="the_canvas" type="wxPyShapeCanvas" default="NULL"/> | |
30382 | <param name="object" type="PyShape" default="NULL"/> | |
30383 | <param name="size" type="double" default="0.0"/> | |
30384 | <param name="the_xoffset" type="double" default="0.0"/> | |
30385 | <param name="the_yoffset" type="double" default="0.0"/> | |
30386 | <param name="the_type" type="int" default="0"/> | |
30387 | </paramlist> | |
30388 | </constructor> | |
30389 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
30390 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
30391 | <paramlist> | |
30392 | <param name="self" type="PyObject" default=""/> | |
30393 | <param name="_class" type="PyObject" default=""/> | |
30394 | </paramlist> | |
30395 | </method> | |
30396 | <method name="SetCornerRadius" type="" overloaded="no"> | |
30397 | <autodoc>SetCornerRadius(double radius)</autodoc> | |
30398 | <paramlist> | |
30399 | <param name="radius" type="double" default=""/> | |
30400 | </paramlist> | |
30401 | </method> | |
30402 | <method name="base_OnDelete" type="" overloaded="no"> | |
30403 | <autodoc>base_OnDelete()</autodoc> | |
30404 | </method> | |
30405 | <method name="base_OnDraw" type="" overloaded="no"> | |
30406 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
30407 | <paramlist> | |
30408 | <param name="dc" type="DC" default=""/> | |
30409 | </paramlist> | |
30410 | </method> | |
30411 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
30412 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
30413 | <paramlist> | |
30414 | <param name="dc" type="DC" default=""/> | |
30415 | </paramlist> | |
30416 | </method> | |
30417 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
30418 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
30419 | <paramlist> | |
30420 | <param name="dc" type="DC" default=""/> | |
30421 | <param name="erase" type="bool" default="FALSE"/> | |
30422 | </paramlist> | |
30423 | </method> | |
30424 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
30425 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
30426 | <paramlist> | |
30427 | <param name="dc" type="DC" default=""/> | |
30428 | </paramlist> | |
30429 | </method> | |
30430 | <method name="base_OnErase" type="" overloaded="no"> | |
30431 | <autodoc>base_OnErase(DC dc)</autodoc> | |
30432 | <paramlist> | |
30433 | <param name="dc" type="DC" default=""/> | |
30434 | </paramlist> | |
30435 | </method> | |
30436 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
30437 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
30438 | <paramlist> | |
30439 | <param name="dc" type="DC" default=""/> | |
30440 | </paramlist> | |
30441 | </method> | |
30442 | <method name="base_OnHighlight" type="" overloaded="no"> | |
30443 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
30444 | <paramlist> | |
30445 | <param name="dc" type="DC" default=""/> | |
30446 | </paramlist> | |
30447 | </method> | |
30448 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
30449 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30450 | <paramlist> | |
30451 | <param name="x" type="double" default=""/> | |
30452 | <param name="y" type="double" default=""/> | |
30453 | <param name="keys" type="int" default="0"/> | |
30454 | <param name="attachment" type="int" default="0"/> | |
30455 | </paramlist> | |
30456 | </method> | |
30457 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
30458 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30459 | <paramlist> | |
30460 | <param name="x" type="double" default=""/> | |
30461 | <param name="y" type="double" default=""/> | |
30462 | <param name="keys" type="int" default="0"/> | |
30463 | <param name="attachment" type="int" default="0"/> | |
30464 | </paramlist> | |
30465 | </method> | |
30466 | <method name="base_OnRightClick" type="" overloaded="no"> | |
30467 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30468 | <paramlist> | |
30469 | <param name="x" type="double" default=""/> | |
30470 | <param name="y" type="double" default=""/> | |
30471 | <param name="keys" type="int" default="0"/> | |
30472 | <param name="attachment" type="int" default="0"/> | |
30473 | </paramlist> | |
30474 | </method> | |
30475 | <method name="base_OnSize" type="" overloaded="no"> | |
30476 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
30477 | <paramlist> | |
30478 | <param name="x" type="double" default=""/> | |
30479 | <param name="y" type="double" default=""/> | |
30480 | </paramlist> | |
30481 | </method> | |
30482 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
30483 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
30484 | bool display=True) -> bool</autodoc> | |
30485 | <paramlist> | |
30486 | <param name="dc" type="DC" default=""/> | |
30487 | <param name="x" type="double" default=""/> | |
30488 | <param name="y" type="double" default=""/> | |
30489 | <param name="old_x" type="double" default=""/> | |
30490 | <param name="old_y" type="double" default=""/> | |
30491 | <param name="display" type="bool" default="True"/> | |
30492 | </paramlist> | |
30493 | </method> | |
30494 | <method name="base_OnMovePost" type="" overloaded="no"> | |
30495 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
30496 | bool display=True)</autodoc> | |
30497 | <paramlist> | |
30498 | <param name="dc" type="DC" default=""/> | |
30499 | <param name="x" type="double" default=""/> | |
30500 | <param name="y" type="double" default=""/> | |
30501 | <param name="old_x" type="double" default=""/> | |
30502 | <param name="old_y" type="double" default=""/> | |
30503 | <param name="display" type="bool" default="True"/> | |
30504 | </paramlist> | |
30505 | </method> | |
30506 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
30507 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
30508 | <paramlist> | |
30509 | <param name="draw" type="bool" default=""/> | |
30510 | <param name="x" type="double" default=""/> | |
30511 | <param name="y" type="double" default=""/> | |
30512 | <param name="keys" type="int" default="0"/> | |
30513 | <param name="attachment" type="int" default="0"/> | |
30514 | </paramlist> | |
30515 | </method> | |
30516 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
30517 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30518 | <paramlist> | |
30519 | <param name="x" type="double" default=""/> | |
30520 | <param name="y" type="double" default=""/> | |
30521 | <param name="keys" type="int" default="0"/> | |
30522 | <param name="attachment" type="int" default="0"/> | |
30523 | </paramlist> | |
30524 | </method> | |
30525 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
30526 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30527 | <paramlist> | |
30528 | <param name="x" type="double" default=""/> | |
30529 | <param name="y" type="double" default=""/> | |
30530 | <param name="keys" type="int" default="0"/> | |
30531 | <param name="attachment" type="int" default="0"/> | |
30532 | </paramlist> | |
30533 | </method> | |
30534 | <method name="base_OnDragRight" type="" overloaded="no"> | |
30535 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
30536 | <paramlist> | |
30537 | <param name="draw" type="bool" default=""/> | |
30538 | <param name="x" type="double" default=""/> | |
30539 | <param name="y" type="double" default=""/> | |
30540 | <param name="keys" type="int" default="0"/> | |
30541 | <param name="attachment" type="int" default="0"/> | |
30542 | </paramlist> | |
30543 | </method> | |
30544 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
30545 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30546 | <paramlist> | |
30547 | <param name="x" type="double" default=""/> | |
30548 | <param name="y" type="double" default=""/> | |
30549 | <param name="keys" type="int" default="0"/> | |
30550 | <param name="attachment" type="int" default="0"/> | |
30551 | </paramlist> | |
30552 | </method> | |
30553 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
30554 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30555 | <paramlist> | |
30556 | <param name="x" type="double" default=""/> | |
30557 | <param name="y" type="double" default=""/> | |
30558 | <param name="keys" type="int" default="0"/> | |
30559 | <param name="attachment" type="int" default="0"/> | |
30560 | </paramlist> | |
30561 | </method> | |
30562 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
30563 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
30564 | <paramlist> | |
30565 | <param name="dc" type="DC" default=""/> | |
30566 | <param name="x" type="double" default=""/> | |
30567 | <param name="y" type="double" default=""/> | |
30568 | <param name="w" type="double" default=""/> | |
30569 | <param name="h" type="double" default=""/> | |
30570 | </paramlist> | |
30571 | </method> | |
30572 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
30573 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
30574 | <paramlist> | |
30575 | <param name="dc" type="DC" default=""/> | |
30576 | </paramlist> | |
30577 | </method> | |
30578 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
30579 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
30580 | <paramlist> | |
30581 | <param name="dc" type="DC" default=""/> | |
30582 | </paramlist> | |
30583 | </method> | |
30584 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
30585 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
30586 | <paramlist> | |
30587 | <param name="dc" type="DC" default=""/> | |
30588 | <param name="moveControlPoints" type="bool" default="True"/> | |
30589 | </paramlist> | |
30590 | </method> | |
30591 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
30592 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
30593 | int attachment=0)</autodoc> | |
30594 | <paramlist> | |
30595 | <param name="pt" type="PyControlPoint" default=""/> | |
30596 | <param name="draw" type="bool" default=""/> | |
30597 | <param name="x" type="double" default=""/> | |
30598 | <param name="y" type="double" default=""/> | |
30599 | <param name="keys" type="int" default="0"/> | |
30600 | <param name="attachment" type="int" default="0"/> | |
30601 | </paramlist> | |
30602 | </method> | |
30603 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
30604 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
30605 | int attachment=0)</autodoc> | |
30606 | <paramlist> | |
30607 | <param name="pt" type="PyControlPoint" default=""/> | |
30608 | <param name="x" type="double" default=""/> | |
30609 | <param name="y" type="double" default=""/> | |
30610 | <param name="keys" type="int" default="0"/> | |
30611 | <param name="attachment" type="int" default="0"/> | |
30612 | </paramlist> | |
30613 | </method> | |
30614 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
30615 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
30616 | int attachment=0)</autodoc> | |
30617 | <paramlist> | |
30618 | <param name="pt" type="PyControlPoint" default=""/> | |
30619 | <param name="x" type="double" default=""/> | |
30620 | <param name="y" type="double" default=""/> | |
30621 | <param name="keys" type="int" default="0"/> | |
30622 | <param name="attachment" type="int" default="0"/> | |
30623 | </paramlist> | |
30624 | </method> | |
30625 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
30626 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
30627 | <paramlist> | |
30628 | <param name="w" type="double" default=""/> | |
30629 | <param name="h" type="double" default=""/> | |
30630 | </paramlist> | |
30631 | </method> | |
30632 | <method name="base_OnEndSize" type="" overloaded="no"> | |
30633 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
30634 | <paramlist> | |
30635 | <param name="w" type="double" default=""/> | |
30636 | <param name="h" type="double" default=""/> | |
30637 | </paramlist> | |
30638 | </method> | |
30639 | </class> | |
30640 | <class name="PyBitmapShape" oldname="wxPyBitmapShape" module="ogl"> | |
30641 | <baseclass name="PyRectangleShape"/> | |
30642 | <constructor name="PyBitmapShape" overloaded="no"> | |
30643 | <autodoc>__init__() -> PyBitmapShape</autodoc> | |
30644 | </constructor> | |
30645 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
30646 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
30647 | <paramlist> | |
30648 | <param name="self" type="PyObject" default=""/> | |
30649 | <param name="_class" type="PyObject" default=""/> | |
30650 | </paramlist> | |
30651 | </method> | |
30652 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
30653 | <autodoc>GetBitmap() -> Bitmap</autodoc> | |
30654 | </method> | |
30655 | <method name="GetFilename" type="String" overloaded="no"> | |
30656 | <autodoc>GetFilename() -> String</autodoc> | |
30657 | </method> | |
30658 | <method name="SetBitmap" type="" overloaded="no"> | |
30659 | <autodoc>SetBitmap(Bitmap bitmap)</autodoc> | |
30660 | <paramlist> | |
30661 | <param name="bitmap" type="Bitmap" default=""/> | |
30662 | </paramlist> | |
30663 | </method> | |
30664 | <method name="SetFilename" type="" overloaded="no"> | |
30665 | <autodoc>SetFilename(String filename)</autodoc> | |
30666 | <paramlist> | |
30667 | <param name="filename" type="String" default=""/> | |
30668 | </paramlist> | |
30669 | </method> | |
30670 | <method name="base_OnDelete" type="" overloaded="no"> | |
30671 | <autodoc>base_OnDelete()</autodoc> | |
30672 | </method> | |
30673 | <method name="base_OnDraw" type="" overloaded="no"> | |
30674 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
30675 | <paramlist> | |
30676 | <param name="dc" type="DC" default=""/> | |
30677 | </paramlist> | |
30678 | </method> | |
30679 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
30680 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
30681 | <paramlist> | |
30682 | <param name="dc" type="DC" default=""/> | |
30683 | </paramlist> | |
30684 | </method> | |
30685 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
30686 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
30687 | <paramlist> | |
30688 | <param name="dc" type="DC" default=""/> | |
30689 | <param name="erase" type="bool" default="FALSE"/> | |
30690 | </paramlist> | |
30691 | </method> | |
30692 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
30693 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
30694 | <paramlist> | |
30695 | <param name="dc" type="DC" default=""/> | |
30696 | </paramlist> | |
30697 | </method> | |
30698 | <method name="base_OnErase" type="" overloaded="no"> | |
30699 | <autodoc>base_OnErase(DC dc)</autodoc> | |
30700 | <paramlist> | |
30701 | <param name="dc" type="DC" default=""/> | |
30702 | </paramlist> | |
30703 | </method> | |
30704 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
30705 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
30706 | <paramlist> | |
30707 | <param name="dc" type="DC" default=""/> | |
30708 | </paramlist> | |
30709 | </method> | |
30710 | <method name="base_OnHighlight" type="" overloaded="no"> | |
30711 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
30712 | <paramlist> | |
30713 | <param name="dc" type="DC" default=""/> | |
30714 | </paramlist> | |
30715 | </method> | |
30716 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
30717 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30718 | <paramlist> | |
30719 | <param name="x" type="double" default=""/> | |
30720 | <param name="y" type="double" default=""/> | |
30721 | <param name="keys" type="int" default="0"/> | |
30722 | <param name="attachment" type="int" default="0"/> | |
30723 | </paramlist> | |
30724 | </method> | |
30725 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
30726 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30727 | <paramlist> | |
30728 | <param name="x" type="double" default=""/> | |
30729 | <param name="y" type="double" default=""/> | |
30730 | <param name="keys" type="int" default="0"/> | |
30731 | <param name="attachment" type="int" default="0"/> | |
30732 | </paramlist> | |
30733 | </method> | |
30734 | <method name="base_OnRightClick" type="" overloaded="no"> | |
30735 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30736 | <paramlist> | |
30737 | <param name="x" type="double" default=""/> | |
30738 | <param name="y" type="double" default=""/> | |
30739 | <param name="keys" type="int" default="0"/> | |
30740 | <param name="attachment" type="int" default="0"/> | |
30741 | </paramlist> | |
30742 | </method> | |
30743 | <method name="base_OnSize" type="" overloaded="no"> | |
30744 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
30745 | <paramlist> | |
30746 | <param name="x" type="double" default=""/> | |
30747 | <param name="y" type="double" default=""/> | |
30748 | </paramlist> | |
30749 | </method> | |
30750 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
30751 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
30752 | bool display=True) -> bool</autodoc> | |
30753 | <paramlist> | |
30754 | <param name="dc" type="DC" default=""/> | |
30755 | <param name="x" type="double" default=""/> | |
30756 | <param name="y" type="double" default=""/> | |
30757 | <param name="old_x" type="double" default=""/> | |
30758 | <param name="old_y" type="double" default=""/> | |
30759 | <param name="display" type="bool" default="True"/> | |
30760 | </paramlist> | |
30761 | </method> | |
30762 | <method name="base_OnMovePost" type="" overloaded="no"> | |
30763 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
30764 | bool display=True)</autodoc> | |
30765 | <paramlist> | |
30766 | <param name="dc" type="DC" default=""/> | |
30767 | <param name="x" type="double" default=""/> | |
30768 | <param name="y" type="double" default=""/> | |
30769 | <param name="old_x" type="double" default=""/> | |
30770 | <param name="old_y" type="double" default=""/> | |
30771 | <param name="display" type="bool" default="True"/> | |
30772 | </paramlist> | |
30773 | </method> | |
30774 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
30775 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
30776 | <paramlist> | |
30777 | <param name="draw" type="bool" default=""/> | |
30778 | <param name="x" type="double" default=""/> | |
30779 | <param name="y" type="double" default=""/> | |
30780 | <param name="keys" type="int" default="0"/> | |
30781 | <param name="attachment" type="int" default="0"/> | |
30782 | </paramlist> | |
30783 | </method> | |
30784 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
30785 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30786 | <paramlist> | |
30787 | <param name="x" type="double" default=""/> | |
30788 | <param name="y" type="double" default=""/> | |
30789 | <param name="keys" type="int" default="0"/> | |
30790 | <param name="attachment" type="int" default="0"/> | |
30791 | </paramlist> | |
30792 | </method> | |
30793 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
30794 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30795 | <paramlist> | |
30796 | <param name="x" type="double" default=""/> | |
30797 | <param name="y" type="double" default=""/> | |
30798 | <param name="keys" type="int" default="0"/> | |
30799 | <param name="attachment" type="int" default="0"/> | |
30800 | </paramlist> | |
30801 | </method> | |
30802 | <method name="base_OnDragRight" type="" overloaded="no"> | |
30803 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
30804 | <paramlist> | |
30805 | <param name="draw" type="bool" default=""/> | |
30806 | <param name="x" type="double" default=""/> | |
30807 | <param name="y" type="double" default=""/> | |
30808 | <param name="keys" type="int" default="0"/> | |
30809 | <param name="attachment" type="int" default="0"/> | |
30810 | </paramlist> | |
30811 | </method> | |
30812 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
30813 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30814 | <paramlist> | |
30815 | <param name="x" type="double" default=""/> | |
30816 | <param name="y" type="double" default=""/> | |
30817 | <param name="keys" type="int" default="0"/> | |
30818 | <param name="attachment" type="int" default="0"/> | |
30819 | </paramlist> | |
30820 | </method> | |
30821 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
30822 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
30823 | <paramlist> | |
30824 | <param name="x" type="double" default=""/> | |
30825 | <param name="y" type="double" default=""/> | |
30826 | <param name="keys" type="int" default="0"/> | |
30827 | <param name="attachment" type="int" default="0"/> | |
30828 | </paramlist> | |
30829 | </method> | |
30830 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
30831 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
30832 | <paramlist> | |
30833 | <param name="dc" type="DC" default=""/> | |
30834 | <param name="x" type="double" default=""/> | |
30835 | <param name="y" type="double" default=""/> | |
30836 | <param name="w" type="double" default=""/> | |
30837 | <param name="h" type="double" default=""/> | |
30838 | </paramlist> | |
30839 | </method> | |
30840 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
30841 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
30842 | <paramlist> | |
30843 | <param name="dc" type="DC" default=""/> | |
30844 | </paramlist> | |
30845 | </method> | |
30846 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
30847 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
30848 | <paramlist> | |
30849 | <param name="dc" type="DC" default=""/> | |
30850 | </paramlist> | |
30851 | </method> | |
30852 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
30853 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
30854 | <paramlist> | |
30855 | <param name="dc" type="DC" default=""/> | |
30856 | <param name="moveControlPoints" type="bool" default="True"/> | |
30857 | </paramlist> | |
30858 | </method> | |
30859 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
30860 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
30861 | int attachment=0)</autodoc> | |
30862 | <paramlist> | |
30863 | <param name="pt" type="PyControlPoint" default=""/> | |
30864 | <param name="draw" type="bool" default=""/> | |
30865 | <param name="x" type="double" default=""/> | |
30866 | <param name="y" type="double" default=""/> | |
30867 | <param name="keys" type="int" default="0"/> | |
30868 | <param name="attachment" type="int" default="0"/> | |
30869 | </paramlist> | |
30870 | </method> | |
30871 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
30872 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
30873 | int attachment=0)</autodoc> | |
30874 | <paramlist> | |
30875 | <param name="pt" type="PyControlPoint" default=""/> | |
30876 | <param name="x" type="double" default=""/> | |
30877 | <param name="y" type="double" default=""/> | |
30878 | <param name="keys" type="int" default="0"/> | |
30879 | <param name="attachment" type="int" default="0"/> | |
30880 | </paramlist> | |
30881 | </method> | |
30882 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
30883 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
30884 | int attachment=0)</autodoc> | |
30885 | <paramlist> | |
30886 | <param name="pt" type="PyControlPoint" default=""/> | |
30887 | <param name="x" type="double" default=""/> | |
30888 | <param name="y" type="double" default=""/> | |
30889 | <param name="keys" type="int" default="0"/> | |
30890 | <param name="attachment" type="int" default="0"/> | |
30891 | </paramlist> | |
30892 | </method> | |
30893 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
30894 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
30895 | <paramlist> | |
30896 | <param name="w" type="double" default=""/> | |
30897 | <param name="h" type="double" default=""/> | |
30898 | </paramlist> | |
30899 | </method> | |
30900 | <method name="base_OnEndSize" type="" overloaded="no"> | |
30901 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
30902 | <paramlist> | |
30903 | <param name="w" type="double" default=""/> | |
30904 | <param name="h" type="double" default=""/> | |
30905 | </paramlist> | |
30906 | </method> | |
30907 | </class> | |
30908 | <class name="PyDrawnShape" oldname="wxPyDrawnShape" module="ogl"> | |
30909 | <baseclass name="PyRectangleShape"/> | |
30910 | <constructor name="PyDrawnShape" overloaded="no"> | |
30911 | <autodoc>__init__() -> PyDrawnShape</autodoc> | |
30912 | </constructor> | |
30913 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
30914 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
30915 | <paramlist> | |
30916 | <param name="self" type="PyObject" default=""/> | |
30917 | <param name="_class" type="PyObject" default=""/> | |
30918 | </paramlist> | |
30919 | </method> | |
30920 | <method name="CalculateSize" type="" overloaded="no"> | |
30921 | <autodoc>CalculateSize()</autodoc> | |
30922 | </method> | |
30923 | <method name="DestroyClippingRect" type="" overloaded="no"> | |
30924 | <autodoc>DestroyClippingRect()</autodoc> | |
30925 | </method> | |
30926 | <method name="DrawArc" type="" overloaded="no"> | |
30927 | <autodoc>DrawArc(Point centrePoint, Point startPoint, Point endPoint)</autodoc> | |
30928 | <paramlist> | |
30929 | <param name="centrePoint" type="Point" default=""/> | |
30930 | <param name="startPoint" type="Point" default=""/> | |
30931 | <param name="endPoint" type="Point" default=""/> | |
30932 | </paramlist> | |
30933 | </method> | |
30934 | <method name="DrawAtAngle" type="" overloaded="no"> | |
30935 | <autodoc>DrawAtAngle(int angle)</autodoc> | |
30936 | <paramlist> | |
30937 | <param name="angle" type="int" default=""/> | |
30938 | </paramlist> | |
30939 | </method> | |
30940 | <method name="DrawEllipticArc" type="" overloaded="no"> | |
30941 | <autodoc>DrawEllipticArc(Rect rect, double startAngle, double endAngle)</autodoc> | |
30942 | <paramlist> | |
30943 | <param name="rect" type="Rect" default=""/> | |
30944 | <param name="startAngle" type="double" default=""/> | |
30945 | <param name="endAngle" type="double" default=""/> | |
30946 | </paramlist> | |
30947 | </method> | |
30948 | <method name="DrawLine" type="" overloaded="no"> | |
30949 | <autodoc>DrawLine(Point point1, Point point2)</autodoc> | |
30950 | <paramlist> | |
30951 | <param name="point1" type="Point" default=""/> | |
30952 | <param name="point2" type="Point" default=""/> | |
30953 | </paramlist> | |
30954 | </method> | |
30955 | <method name="DrawLines" type="" overloaded="no"> | |
30956 | <autodoc>DrawLines(int PCOUNT, Point points)</autodoc> | |
30957 | <paramlist> | |
30958 | <param name="PCOUNT" type="int" default=""/> | |
30959 | <param name="points" type="Point" default=""/> | |
30960 | </paramlist> | |
30961 | </method> | |
30962 | <method name="DrawPoint" type="" overloaded="no"> | |
30963 | <autodoc>DrawPoint(Point point)</autodoc> | |
30964 | <paramlist> | |
30965 | <param name="point" type="Point" default=""/> | |
30966 | </paramlist> | |
30967 | </method> | |
30968 | <method name="DrawPolygon" type="" overloaded="no"> | |
30969 | <autodoc>DrawPolygon(int PCOUNT, Point points, int flags=0)</autodoc> | |
30970 | <paramlist> | |
30971 | <param name="PCOUNT" type="int" default=""/> | |
30972 | <param name="points" type="Point" default=""/> | |
30973 | <param name="flags" type="int" default="0"/> | |
30974 | </paramlist> | |
30975 | </method> | |
30976 | <method name="DrawRectangle" type="" overloaded="no"> | |
30977 | <autodoc>DrawRectangle(Rect rect)</autodoc> | |
30978 | <paramlist> | |
30979 | <param name="rect" type="Rect" default=""/> | |
30980 | </paramlist> | |
30981 | </method> | |
30982 | <method name="DrawRoundedRectangle" type="" overloaded="no"> | |
30983 | <autodoc>DrawRoundedRectangle(Rect rect, double radius)</autodoc> | |
30984 | <paramlist> | |
30985 | <param name="rect" type="Rect" default=""/> | |
30986 | <param name="radius" type="double" default=""/> | |
30987 | </paramlist> | |
30988 | </method> | |
30989 | <method name="DrawSpline" type="" overloaded="no"> | |
30990 | <autodoc>DrawSpline(int PCOUNT, Point points)</autodoc> | |
30991 | <paramlist> | |
30992 | <param name="PCOUNT" type="int" default=""/> | |
30993 | <param name="points" type="Point" default=""/> | |
30994 | </paramlist> | |
30995 | </method> | |
30996 | <method name="DrawText" type="" overloaded="no"> | |
30997 | <autodoc>DrawText(String text, Point point)</autodoc> | |
30998 | <paramlist> | |
30999 | <param name="text" type="String" default=""/> | |
31000 | <param name="point" type="Point" default=""/> | |
31001 | </paramlist> | |
31002 | </method> | |
31003 | <method name="GetAngle" type="int" overloaded="no"> | |
31004 | <autodoc>GetAngle() -> int</autodoc> | |
31005 | </method> | |
31006 | <method name="GetMetaFile" type="PseudoMetaFile" overloaded="no"> | |
31007 | <autodoc>GetMetaFile() -> PseudoMetaFile</autodoc> | |
31008 | </method> | |
31009 | <method name="GetRotation" type="double" overloaded="no"> | |
31010 | <autodoc>GetRotation() -> double</autodoc> | |
31011 | </method> | |
31012 | <method name="LoadFromMetaFile" type="bool" overloaded="no"> | |
31013 | <autodoc>LoadFromMetaFile(String filename) -> bool</autodoc> | |
31014 | <paramlist> | |
31015 | <param name="filename" type="String" default=""/> | |
31016 | </paramlist> | |
31017 | </method> | |
31018 | <method name="Rotate" type="" overloaded="no"> | |
31019 | <autodoc>Rotate(double x, double y, double theta)</autodoc> | |
31020 | <paramlist> | |
31021 | <param name="x" type="double" default=""/> | |
31022 | <param name="y" type="double" default=""/> | |
31023 | <param name="theta" type="double" default=""/> | |
31024 | </paramlist> | |
31025 | </method> | |
31026 | <method name="SetClippingRect" type="" overloaded="no"> | |
31027 | <autodoc>SetClippingRect(Rect rect)</autodoc> | |
31028 | <paramlist> | |
31029 | <param name="rect" type="Rect" default=""/> | |
31030 | </paramlist> | |
31031 | </method> | |
31032 | <method name="SetDrawnBackgroundColour" type="" overloaded="no"> | |
31033 | <autodoc>SetDrawnBackgroundColour(Colour colour)</autodoc> | |
31034 | <paramlist> | |
31035 | <param name="colour" type="Colour" default=""/> | |
31036 | </paramlist> | |
31037 | </method> | |
31038 | <method name="SetDrawnBackgroundMode" type="" overloaded="no"> | |
31039 | <autodoc>SetDrawnBackgroundMode(int mode)</autodoc> | |
31040 | <paramlist> | |
31041 | <param name="mode" type="int" default=""/> | |
31042 | </paramlist> | |
31043 | </method> | |
31044 | <method name="SetDrawnBrush" type="" overloaded="no"> | |
31045 | <autodoc>SetDrawnBrush(wxBrush pen, bool isOutline=FALSE)</autodoc> | |
31046 | <paramlist> | |
31047 | <param name="pen" type="Brush" default=""/> | |
31048 | <param name="isOutline" type="bool" default="FALSE"/> | |
31049 | </paramlist> | |
31050 | </method> | |
31051 | <method name="SetDrawnFont" type="" overloaded="no"> | |
31052 | <autodoc>SetDrawnFont(Font font)</autodoc> | |
31053 | <paramlist> | |
31054 | <param name="font" type="Font" default=""/> | |
31055 | </paramlist> | |
31056 | </method> | |
31057 | <method name="SetDrawnPen" type="" overloaded="no"> | |
31058 | <autodoc>SetDrawnPen(wxPen pen, bool isOutline=FALSE)</autodoc> | |
31059 | <paramlist> | |
31060 | <param name="pen" type="Pen" default=""/> | |
31061 | <param name="isOutline" type="bool" default="FALSE"/> | |
31062 | </paramlist> | |
31063 | </method> | |
31064 | <method name="SetDrawnTextColour" type="" overloaded="no"> | |
31065 | <autodoc>SetDrawnTextColour(Colour colour)</autodoc> | |
31066 | <paramlist> | |
31067 | <param name="colour" type="Colour" default=""/> | |
31068 | </paramlist> | |
31069 | </method> | |
31070 | <method name="Scale" type="" overloaded="no"> | |
31071 | <autodoc>Scale(double sx, double sy)</autodoc> | |
31072 | <paramlist> | |
31073 | <param name="sx" type="double" default=""/> | |
31074 | <param name="sy" type="double" default=""/> | |
31075 | </paramlist> | |
31076 | </method> | |
31077 | <method name="SetSaveToFile" type="" overloaded="no"> | |
31078 | <autodoc>SetSaveToFile(bool save)</autodoc> | |
31079 | <paramlist> | |
31080 | <param name="save" type="bool" default=""/> | |
31081 | </paramlist> | |
31082 | </method> | |
31083 | <method name="Translate" type="" overloaded="no"> | |
31084 | <autodoc>Translate(double x, double y)</autodoc> | |
31085 | <paramlist> | |
31086 | <param name="x" type="double" default=""/> | |
31087 | <param name="y" type="double" default=""/> | |
31088 | </paramlist> | |
31089 | </method> | |
31090 | <method name="base_OnDelete" type="" overloaded="no"> | |
31091 | <autodoc>base_OnDelete()</autodoc> | |
31092 | </method> | |
31093 | <method name="base_OnDraw" type="" overloaded="no"> | |
31094 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
31095 | <paramlist> | |
31096 | <param name="dc" type="DC" default=""/> | |
31097 | </paramlist> | |
31098 | </method> | |
31099 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
31100 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
31101 | <paramlist> | |
31102 | <param name="dc" type="DC" default=""/> | |
31103 | </paramlist> | |
31104 | </method> | |
31105 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
31106 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
31107 | <paramlist> | |
31108 | <param name="dc" type="DC" default=""/> | |
31109 | <param name="erase" type="bool" default="FALSE"/> | |
31110 | </paramlist> | |
31111 | </method> | |
31112 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
31113 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
31114 | <paramlist> | |
31115 | <param name="dc" type="DC" default=""/> | |
31116 | </paramlist> | |
31117 | </method> | |
31118 | <method name="base_OnErase" type="" overloaded="no"> | |
31119 | <autodoc>base_OnErase(DC dc)</autodoc> | |
31120 | <paramlist> | |
31121 | <param name="dc" type="DC" default=""/> | |
31122 | </paramlist> | |
31123 | </method> | |
31124 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
31125 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
31126 | <paramlist> | |
31127 | <param name="dc" type="DC" default=""/> | |
31128 | </paramlist> | |
31129 | </method> | |
31130 | <method name="base_OnHighlight" type="" overloaded="no"> | |
31131 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
31132 | <paramlist> | |
31133 | <param name="dc" type="DC" default=""/> | |
31134 | </paramlist> | |
31135 | </method> | |
31136 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
31137 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31138 | <paramlist> | |
31139 | <param name="x" type="double" default=""/> | |
31140 | <param name="y" type="double" default=""/> | |
31141 | <param name="keys" type="int" default="0"/> | |
31142 | <param name="attachment" type="int" default="0"/> | |
31143 | </paramlist> | |
31144 | </method> | |
31145 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
31146 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31147 | <paramlist> | |
31148 | <param name="x" type="double" default=""/> | |
31149 | <param name="y" type="double" default=""/> | |
31150 | <param name="keys" type="int" default="0"/> | |
31151 | <param name="attachment" type="int" default="0"/> | |
31152 | </paramlist> | |
31153 | </method> | |
31154 | <method name="base_OnRightClick" type="" overloaded="no"> | |
31155 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31156 | <paramlist> | |
31157 | <param name="x" type="double" default=""/> | |
31158 | <param name="y" type="double" default=""/> | |
31159 | <param name="keys" type="int" default="0"/> | |
31160 | <param name="attachment" type="int" default="0"/> | |
31161 | </paramlist> | |
31162 | </method> | |
31163 | <method name="base_OnSize" type="" overloaded="no"> | |
31164 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
31165 | <paramlist> | |
31166 | <param name="x" type="double" default=""/> | |
31167 | <param name="y" type="double" default=""/> | |
31168 | </paramlist> | |
31169 | </method> | |
31170 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
31171 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
31172 | bool display=True) -> bool</autodoc> | |
31173 | <paramlist> | |
31174 | <param name="dc" type="DC" default=""/> | |
31175 | <param name="x" type="double" default=""/> | |
31176 | <param name="y" type="double" default=""/> | |
31177 | <param name="old_x" type="double" default=""/> | |
31178 | <param name="old_y" type="double" default=""/> | |
31179 | <param name="display" type="bool" default="True"/> | |
31180 | </paramlist> | |
31181 | </method> | |
31182 | <method name="base_OnMovePost" type="" overloaded="no"> | |
31183 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
31184 | bool display=True)</autodoc> | |
31185 | <paramlist> | |
31186 | <param name="dc" type="DC" default=""/> | |
31187 | <param name="x" type="double" default=""/> | |
31188 | <param name="y" type="double" default=""/> | |
31189 | <param name="old_x" type="double" default=""/> | |
31190 | <param name="old_y" type="double" default=""/> | |
31191 | <param name="display" type="bool" default="True"/> | |
31192 | </paramlist> | |
31193 | </method> | |
31194 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
31195 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
31196 | <paramlist> | |
31197 | <param name="draw" type="bool" default=""/> | |
31198 | <param name="x" type="double" default=""/> | |
31199 | <param name="y" type="double" default=""/> | |
31200 | <param name="keys" type="int" default="0"/> | |
31201 | <param name="attachment" type="int" default="0"/> | |
31202 | </paramlist> | |
31203 | </method> | |
31204 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
31205 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31206 | <paramlist> | |
31207 | <param name="x" type="double" default=""/> | |
31208 | <param name="y" type="double" default=""/> | |
31209 | <param name="keys" type="int" default="0"/> | |
31210 | <param name="attachment" type="int" default="0"/> | |
31211 | </paramlist> | |
31212 | </method> | |
31213 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
31214 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31215 | <paramlist> | |
31216 | <param name="x" type="double" default=""/> | |
31217 | <param name="y" type="double" default=""/> | |
31218 | <param name="keys" type="int" default="0"/> | |
31219 | <param name="attachment" type="int" default="0"/> | |
31220 | </paramlist> | |
31221 | </method> | |
31222 | <method name="base_OnDragRight" type="" overloaded="no"> | |
31223 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
31224 | <paramlist> | |
31225 | <param name="draw" type="bool" default=""/> | |
31226 | <param name="x" type="double" default=""/> | |
31227 | <param name="y" type="double" default=""/> | |
31228 | <param name="keys" type="int" default="0"/> | |
31229 | <param name="attachment" type="int" default="0"/> | |
31230 | </paramlist> | |
31231 | </method> | |
31232 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
31233 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31234 | <paramlist> | |
31235 | <param name="x" type="double" default=""/> | |
31236 | <param name="y" type="double" default=""/> | |
31237 | <param name="keys" type="int" default="0"/> | |
31238 | <param name="attachment" type="int" default="0"/> | |
31239 | </paramlist> | |
31240 | </method> | |
31241 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
31242 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31243 | <paramlist> | |
31244 | <param name="x" type="double" default=""/> | |
31245 | <param name="y" type="double" default=""/> | |
31246 | <param name="keys" type="int" default="0"/> | |
31247 | <param name="attachment" type="int" default="0"/> | |
31248 | </paramlist> | |
31249 | </method> | |
31250 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
31251 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
31252 | <paramlist> | |
31253 | <param name="dc" type="DC" default=""/> | |
31254 | <param name="x" type="double" default=""/> | |
31255 | <param name="y" type="double" default=""/> | |
31256 | <param name="w" type="double" default=""/> | |
31257 | <param name="h" type="double" default=""/> | |
31258 | </paramlist> | |
31259 | </method> | |
31260 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
31261 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
31262 | <paramlist> | |
31263 | <param name="dc" type="DC" default=""/> | |
31264 | </paramlist> | |
31265 | </method> | |
31266 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
31267 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
31268 | <paramlist> | |
31269 | <param name="dc" type="DC" default=""/> | |
31270 | </paramlist> | |
31271 | </method> | |
31272 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
31273 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
31274 | <paramlist> | |
31275 | <param name="dc" type="DC" default=""/> | |
31276 | <param name="moveControlPoints" type="bool" default="True"/> | |
31277 | </paramlist> | |
31278 | </method> | |
31279 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
31280 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
31281 | int attachment=0)</autodoc> | |
31282 | <paramlist> | |
31283 | <param name="pt" type="PyControlPoint" default=""/> | |
31284 | <param name="draw" type="bool" default=""/> | |
31285 | <param name="x" type="double" default=""/> | |
31286 | <param name="y" type="double" default=""/> | |
31287 | <param name="keys" type="int" default="0"/> | |
31288 | <param name="attachment" type="int" default="0"/> | |
31289 | </paramlist> | |
31290 | </method> | |
31291 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
31292 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
31293 | int attachment=0)</autodoc> | |
31294 | <paramlist> | |
31295 | <param name="pt" type="PyControlPoint" default=""/> | |
31296 | <param name="x" type="double" default=""/> | |
31297 | <param name="y" type="double" default=""/> | |
31298 | <param name="keys" type="int" default="0"/> | |
31299 | <param name="attachment" type="int" default="0"/> | |
31300 | </paramlist> | |
31301 | </method> | |
31302 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
31303 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
31304 | int attachment=0)</autodoc> | |
31305 | <paramlist> | |
31306 | <param name="pt" type="PyControlPoint" default=""/> | |
31307 | <param name="x" type="double" default=""/> | |
31308 | <param name="y" type="double" default=""/> | |
31309 | <param name="keys" type="int" default="0"/> | |
31310 | <param name="attachment" type="int" default="0"/> | |
31311 | </paramlist> | |
31312 | </method> | |
31313 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
31314 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
31315 | <paramlist> | |
31316 | <param name="w" type="double" default=""/> | |
31317 | <param name="h" type="double" default=""/> | |
31318 | </paramlist> | |
31319 | </method> | |
31320 | <method name="base_OnEndSize" type="" overloaded="no"> | |
31321 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
31322 | <paramlist> | |
31323 | <param name="w" type="double" default=""/> | |
31324 | <param name="h" type="double" default=""/> | |
31325 | </paramlist> | |
31326 | </method> | |
31327 | </class> | |
31328 | <class name="OGLConstraint" oldname="wxOGLConstraint" module="ogl"> | |
31329 | <baseclass name="Object"/> | |
31330 | <constructor name="OGLConstraint" overloaded="no"> | |
31331 | <autodoc>__init__(int type, PyShape constraining, PyObject constrained) -> OGLConstraint</autodoc> | |
31332 | <paramlist> | |
31333 | <param name="type" type="int" default=""/> | |
31334 | <param name="constraining" type="PyShape" default=""/> | |
31335 | <param name="constrained" type="PyObject" default=""/> | |
31336 | </paramlist> | |
31337 | </constructor> | |
31338 | <method name="Evaluate" type="bool" overloaded="no"> | |
31339 | <autodoc>Evaluate() -> bool</autodoc> | |
31340 | </method> | |
31341 | <method name="SetSpacing" type="" overloaded="no"> | |
31342 | <autodoc>SetSpacing(double x, double y)</autodoc> | |
31343 | <paramlist> | |
31344 | <param name="x" type="double" default=""/> | |
31345 | <param name="y" type="double" default=""/> | |
31346 | </paramlist> | |
31347 | </method> | |
31348 | <method name="Equals" type="bool" overloaded="no"> | |
31349 | <autodoc>Equals(double a, double b) -> bool</autodoc> | |
31350 | <paramlist> | |
31351 | <param name="a" type="double" default=""/> | |
31352 | <param name="b" type="double" default=""/> | |
31353 | </paramlist> | |
31354 | </method> | |
31355 | </class> | |
31356 | <class name="PyCompositeShape" oldname="wxPyCompositeShape" module="ogl"> | |
31357 | <baseclass name="PyRectangleShape"/> | |
31358 | <constructor name="PyCompositeShape" overloaded="no"> | |
31359 | <autodoc>__init__() -> PyCompositeShape</autodoc> | |
31360 | </constructor> | |
31361 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
31362 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
31363 | <paramlist> | |
31364 | <param name="self" type="PyObject" default=""/> | |
31365 | <param name="_class" type="PyObject" default=""/> | |
31366 | </paramlist> | |
31367 | </method> | |
31368 | <method name="AddChild" type="" overloaded="no"> | |
31369 | <autodoc>AddChild(PyShape child, PyShape addAfter=None)</autodoc> | |
31370 | <paramlist> | |
31371 | <param name="child" type="PyShape" default=""/> | |
31372 | <param name="addAfter" type="PyShape" default="NULL"/> | |
31373 | </paramlist> | |
31374 | </method> | |
31375 | <method name="AddConstraint" type="OGLConstraint" overloaded="no"> | |
31376 | <autodoc>AddConstraint(OGLConstraint constraint) -> OGLConstraint</autodoc> | |
31377 | <paramlist> | |
31378 | <param name="constraint" type="OGLConstraint" default=""/> | |
31379 | </paramlist> | |
31380 | </method> | |
31381 | <method name="AddConstrainedShapes" type="OGLConstraint" overloaded="no"> | |
31382 | <autodoc>AddConstrainedShapes(int type, PyShape constraining, PyObject constrained) -> OGLConstraint</autodoc> | |
31383 | <paramlist> | |
31384 | <param name="type" type="int" default=""/> | |
31385 | <param name="constraining" type="PyShape" default=""/> | |
31386 | <param name="constrained" type="PyObject" default=""/> | |
31387 | </paramlist> | |
31388 | </method> | |
31389 | <method name="AddSimpleConstraint" type="OGLConstraint" overloaded="no"> | |
31390 | <autodoc>AddSimpleConstraint(int type, PyShape constraining, PyShape constrained) -> OGLConstraint</autodoc> | |
31391 | <paramlist> | |
31392 | <param name="type" type="int" default=""/> | |
31393 | <param name="constraining" type="PyShape" default=""/> | |
31394 | <param name="constrained" type="PyShape" default=""/> | |
31395 | </paramlist> | |
31396 | </method> | |
31397 | <method name="CalculateSize" type="" overloaded="no"> | |
31398 | <autodoc>CalculateSize()</autodoc> | |
31399 | </method> | |
31400 | <method name="ContainsDivision" type="bool" overloaded="no"> | |
31401 | <autodoc>ContainsDivision(PyDivisionShape division) -> bool</autodoc> | |
31402 | <paramlist> | |
31403 | <param name="division" type="wxPyDivisionShape" default=""/> | |
31404 | </paramlist> | |
31405 | </method> | |
31406 | <method name="DeleteConstraint" type="" overloaded="no"> | |
31407 | <autodoc>DeleteConstraint(OGLConstraint constraint)</autodoc> | |
31408 | <paramlist> | |
31409 | <param name="constraint" type="OGLConstraint" default=""/> | |
31410 | </paramlist> | |
31411 | </method> | |
31412 | <method name="DeleteConstraintsInvolvingChild" type="" overloaded="no"> | |
31413 | <autodoc>DeleteConstraintsInvolvingChild(PyShape child)</autodoc> | |
31414 | <paramlist> | |
31415 | <param name="child" type="PyShape" default=""/> | |
31416 | </paramlist> | |
31417 | </method> | |
31418 | <method name="FindContainerImage" type="PyShape" overloaded="no"> | |
31419 | <autodoc>FindContainerImage() -> PyShape</autodoc> | |
31420 | </method> | |
31421 | <method name="GetConstraints" type="PyObject" overloaded="no"> | |
31422 | <autodoc>GetConstraints() -> PyObject</autodoc> | |
31423 | </method> | |
31424 | <method name="GetDivisions" type="PyObject" overloaded="no"> | |
31425 | <autodoc>GetDivisions() -> PyObject</autodoc> | |
31426 | </method> | |
31427 | <method name="MakeContainer" type="" overloaded="no"> | |
31428 | <autodoc>MakeContainer()</autodoc> | |
31429 | </method> | |
31430 | <method name="Recompute" type="bool" overloaded="no"> | |
31431 | <autodoc>Recompute() -> bool</autodoc> | |
31432 | </method> | |
31433 | <method name="RemoveChild" type="" overloaded="no"> | |
31434 | <autodoc>RemoveChild(PyShape child)</autodoc> | |
31435 | <paramlist> | |
31436 | <param name="child" type="PyShape" default=""/> | |
31437 | </paramlist> | |
31438 | </method> | |
31439 | <method name="base_OnDelete" type="" overloaded="no"> | |
31440 | <autodoc>base_OnDelete()</autodoc> | |
31441 | </method> | |
31442 | <method name="base_OnDraw" type="" overloaded="no"> | |
31443 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
31444 | <paramlist> | |
31445 | <param name="dc" type="DC" default=""/> | |
31446 | </paramlist> | |
31447 | </method> | |
31448 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
31449 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
31450 | <paramlist> | |
31451 | <param name="dc" type="DC" default=""/> | |
31452 | </paramlist> | |
31453 | </method> | |
31454 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
31455 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
31456 | <paramlist> | |
31457 | <param name="dc" type="DC" default=""/> | |
31458 | <param name="erase" type="bool" default="FALSE"/> | |
31459 | </paramlist> | |
31460 | </method> | |
31461 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
31462 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
31463 | <paramlist> | |
31464 | <param name="dc" type="DC" default=""/> | |
31465 | </paramlist> | |
31466 | </method> | |
31467 | <method name="base_OnErase" type="" overloaded="no"> | |
31468 | <autodoc>base_OnErase(DC dc)</autodoc> | |
31469 | <paramlist> | |
31470 | <param name="dc" type="DC" default=""/> | |
31471 | </paramlist> | |
31472 | </method> | |
31473 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
31474 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
31475 | <paramlist> | |
31476 | <param name="dc" type="DC" default=""/> | |
31477 | </paramlist> | |
31478 | </method> | |
31479 | <method name="base_OnHighlight" type="" overloaded="no"> | |
31480 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
31481 | <paramlist> | |
31482 | <param name="dc" type="DC" default=""/> | |
31483 | </paramlist> | |
31484 | </method> | |
31485 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
31486 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31487 | <paramlist> | |
31488 | <param name="x" type="double" default=""/> | |
31489 | <param name="y" type="double" default=""/> | |
31490 | <param name="keys" type="int" default="0"/> | |
31491 | <param name="attachment" type="int" default="0"/> | |
31492 | </paramlist> | |
31493 | </method> | |
31494 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
31495 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31496 | <paramlist> | |
31497 | <param name="x" type="double" default=""/> | |
31498 | <param name="y" type="double" default=""/> | |
31499 | <param name="keys" type="int" default="0"/> | |
31500 | <param name="attachment" type="int" default="0"/> | |
31501 | </paramlist> | |
31502 | </method> | |
31503 | <method name="base_OnRightClick" type="" overloaded="no"> | |
31504 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31505 | <paramlist> | |
31506 | <param name="x" type="double" default=""/> | |
31507 | <param name="y" type="double" default=""/> | |
31508 | <param name="keys" type="int" default="0"/> | |
31509 | <param name="attachment" type="int" default="0"/> | |
31510 | </paramlist> | |
31511 | </method> | |
31512 | <method name="base_OnSize" type="" overloaded="no"> | |
31513 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
31514 | <paramlist> | |
31515 | <param name="x" type="double" default=""/> | |
31516 | <param name="y" type="double" default=""/> | |
31517 | </paramlist> | |
31518 | </method> | |
31519 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
31520 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
31521 | bool display=True) -> bool</autodoc> | |
31522 | <paramlist> | |
31523 | <param name="dc" type="DC" default=""/> | |
31524 | <param name="x" type="double" default=""/> | |
31525 | <param name="y" type="double" default=""/> | |
31526 | <param name="old_x" type="double" default=""/> | |
31527 | <param name="old_y" type="double" default=""/> | |
31528 | <param name="display" type="bool" default="True"/> | |
31529 | </paramlist> | |
31530 | </method> | |
31531 | <method name="base_OnMovePost" type="" overloaded="no"> | |
31532 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
31533 | bool display=True)</autodoc> | |
31534 | <paramlist> | |
31535 | <param name="dc" type="DC" default=""/> | |
31536 | <param name="x" type="double" default=""/> | |
31537 | <param name="y" type="double" default=""/> | |
31538 | <param name="old_x" type="double" default=""/> | |
31539 | <param name="old_y" type="double" default=""/> | |
31540 | <param name="display" type="bool" default="True"/> | |
31541 | </paramlist> | |
31542 | </method> | |
31543 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
31544 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
31545 | <paramlist> | |
31546 | <param name="draw" type="bool" default=""/> | |
31547 | <param name="x" type="double" default=""/> | |
31548 | <param name="y" type="double" default=""/> | |
31549 | <param name="keys" type="int" default="0"/> | |
31550 | <param name="attachment" type="int" default="0"/> | |
31551 | </paramlist> | |
31552 | </method> | |
31553 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
31554 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31555 | <paramlist> | |
31556 | <param name="x" type="double" default=""/> | |
31557 | <param name="y" type="double" default=""/> | |
31558 | <param name="keys" type="int" default="0"/> | |
31559 | <param name="attachment" type="int" default="0"/> | |
31560 | </paramlist> | |
31561 | </method> | |
31562 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
31563 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31564 | <paramlist> | |
31565 | <param name="x" type="double" default=""/> | |
31566 | <param name="y" type="double" default=""/> | |
31567 | <param name="keys" type="int" default="0"/> | |
31568 | <param name="attachment" type="int" default="0"/> | |
31569 | </paramlist> | |
31570 | </method> | |
31571 | <method name="base_OnDragRight" type="" overloaded="no"> | |
31572 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
31573 | <paramlist> | |
31574 | <param name="draw" type="bool" default=""/> | |
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_OnBeginDragRight" type="" overloaded="no"> | |
31582 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31583 | <paramlist> | |
31584 | <param name="x" type="double" default=""/> | |
31585 | <param name="y" type="double" default=""/> | |
31586 | <param name="keys" type="int" default="0"/> | |
31587 | <param name="attachment" type="int" default="0"/> | |
31588 | </paramlist> | |
31589 | </method> | |
31590 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
31591 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31592 | <paramlist> | |
31593 | <param name="x" type="double" default=""/> | |
31594 | <param name="y" type="double" default=""/> | |
31595 | <param name="keys" type="int" default="0"/> | |
31596 | <param name="attachment" type="int" default="0"/> | |
31597 | </paramlist> | |
31598 | </method> | |
31599 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
31600 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
31601 | <paramlist> | |
31602 | <param name="dc" type="DC" default=""/> | |
31603 | <param name="x" type="double" default=""/> | |
31604 | <param name="y" type="double" default=""/> | |
31605 | <param name="w" type="double" default=""/> | |
31606 | <param name="h" type="double" default=""/> | |
31607 | </paramlist> | |
31608 | </method> | |
31609 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
31610 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
31611 | <paramlist> | |
31612 | <param name="dc" type="DC" default=""/> | |
31613 | </paramlist> | |
31614 | </method> | |
31615 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
31616 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
31617 | <paramlist> | |
31618 | <param name="dc" type="DC" default=""/> | |
31619 | </paramlist> | |
31620 | </method> | |
31621 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
31622 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
31623 | <paramlist> | |
31624 | <param name="dc" type="DC" default=""/> | |
31625 | <param name="moveControlPoints" type="bool" default="True"/> | |
31626 | </paramlist> | |
31627 | </method> | |
31628 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
31629 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
31630 | int attachment=0)</autodoc> | |
31631 | <paramlist> | |
31632 | <param name="pt" type="PyControlPoint" default=""/> | |
31633 | <param name="draw" type="bool" default=""/> | |
31634 | <param name="x" type="double" default=""/> | |
31635 | <param name="y" type="double" default=""/> | |
31636 | <param name="keys" type="int" default="0"/> | |
31637 | <param name="attachment" type="int" default="0"/> | |
31638 | </paramlist> | |
31639 | </method> | |
31640 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
31641 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
31642 | int attachment=0)</autodoc> | |
31643 | <paramlist> | |
31644 | <param name="pt" type="PyControlPoint" default=""/> | |
31645 | <param name="x" type="double" default=""/> | |
31646 | <param name="y" type="double" default=""/> | |
31647 | <param name="keys" type="int" default="0"/> | |
31648 | <param name="attachment" type="int" default="0"/> | |
31649 | </paramlist> | |
31650 | </method> | |
31651 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
31652 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
31653 | int attachment=0)</autodoc> | |
31654 | <paramlist> | |
31655 | <param name="pt" type="PyControlPoint" default=""/> | |
31656 | <param name="x" type="double" default=""/> | |
31657 | <param name="y" type="double" default=""/> | |
31658 | <param name="keys" type="int" default="0"/> | |
31659 | <param name="attachment" type="int" default="0"/> | |
31660 | </paramlist> | |
31661 | </method> | |
31662 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
31663 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
31664 | <paramlist> | |
31665 | <param name="w" type="double" default=""/> | |
31666 | <param name="h" type="double" default=""/> | |
31667 | </paramlist> | |
31668 | </method> | |
31669 | <method name="base_OnEndSize" type="" overloaded="no"> | |
31670 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
31671 | <paramlist> | |
31672 | <param name="w" type="double" default=""/> | |
31673 | <param name="h" type="double" default=""/> | |
31674 | </paramlist> | |
31675 | </method> | |
31676 | </class> | |
31677 | <class name="PyDividedShape" oldname="wxPyDividedShape" module="ogl"> | |
31678 | <baseclass name="PyRectangleShape"/> | |
31679 | <constructor name="PyDividedShape" overloaded="no"> | |
31680 | <autodoc>__init__(double width=0.0, double height=0.0) -> PyDividedShape</autodoc> | |
31681 | <paramlist> | |
31682 | <param name="width" type="double" default="0.0"/> | |
31683 | <param name="height" type="double" default="0.0"/> | |
31684 | </paramlist> | |
31685 | </constructor> | |
31686 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
31687 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
31688 | <paramlist> | |
31689 | <param name="self" type="PyObject" default=""/> | |
31690 | <param name="_class" type="PyObject" default=""/> | |
31691 | </paramlist> | |
31692 | </method> | |
31693 | <method name="EditRegions" type="" overloaded="no"> | |
31694 | <autodoc>EditRegions()</autodoc> | |
31695 | </method> | |
31696 | <method name="SetRegionSizes" type="" overloaded="no"> | |
31697 | <autodoc>SetRegionSizes()</autodoc> | |
31698 | </method> | |
31699 | <method name="base_OnDelete" type="" overloaded="no"> | |
31700 | <autodoc>base_OnDelete()</autodoc> | |
31701 | </method> | |
31702 | <method name="base_OnDraw" type="" overloaded="no"> | |
31703 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
31704 | <paramlist> | |
31705 | <param name="dc" type="DC" default=""/> | |
31706 | </paramlist> | |
31707 | </method> | |
31708 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
31709 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
31710 | <paramlist> | |
31711 | <param name="dc" type="DC" default=""/> | |
31712 | </paramlist> | |
31713 | </method> | |
31714 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
31715 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
31716 | <paramlist> | |
31717 | <param name="dc" type="DC" default=""/> | |
31718 | <param name="erase" type="bool" default="FALSE"/> | |
31719 | </paramlist> | |
31720 | </method> | |
31721 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
31722 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
31723 | <paramlist> | |
31724 | <param name="dc" type="DC" default=""/> | |
31725 | </paramlist> | |
31726 | </method> | |
31727 | <method name="base_OnErase" type="" overloaded="no"> | |
31728 | <autodoc>base_OnErase(DC dc)</autodoc> | |
31729 | <paramlist> | |
31730 | <param name="dc" type="DC" default=""/> | |
31731 | </paramlist> | |
31732 | </method> | |
31733 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
31734 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
31735 | <paramlist> | |
31736 | <param name="dc" type="DC" default=""/> | |
31737 | </paramlist> | |
31738 | </method> | |
31739 | <method name="base_OnHighlight" type="" overloaded="no"> | |
31740 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
31741 | <paramlist> | |
31742 | <param name="dc" type="DC" default=""/> | |
31743 | </paramlist> | |
31744 | </method> | |
31745 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
31746 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31747 | <paramlist> | |
31748 | <param name="x" type="double" default=""/> | |
31749 | <param name="y" type="double" default=""/> | |
31750 | <param name="keys" type="int" default="0"/> | |
31751 | <param name="attachment" type="int" default="0"/> | |
31752 | </paramlist> | |
31753 | </method> | |
31754 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
31755 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31756 | <paramlist> | |
31757 | <param name="x" type="double" default=""/> | |
31758 | <param name="y" type="double" default=""/> | |
31759 | <param name="keys" type="int" default="0"/> | |
31760 | <param name="attachment" type="int" default="0"/> | |
31761 | </paramlist> | |
31762 | </method> | |
31763 | <method name="base_OnRightClick" type="" overloaded="no"> | |
31764 | <autodoc>base_OnRightClick(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_OnSize" type="" overloaded="no"> | |
31773 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
31774 | <paramlist> | |
31775 | <param name="x" type="double" default=""/> | |
31776 | <param name="y" type="double" default=""/> | |
31777 | </paramlist> | |
31778 | </method> | |
31779 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
31780 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
31781 | bool display=True) -> bool</autodoc> | |
31782 | <paramlist> | |
31783 | <param name="dc" type="DC" default=""/> | |
31784 | <param name="x" type="double" default=""/> | |
31785 | <param name="y" type="double" default=""/> | |
31786 | <param name="old_x" type="double" default=""/> | |
31787 | <param name="old_y" type="double" default=""/> | |
31788 | <param name="display" type="bool" default="True"/> | |
31789 | </paramlist> | |
31790 | </method> | |
31791 | <method name="base_OnMovePost" type="" overloaded="no"> | |
31792 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
31793 | bool display=True)</autodoc> | |
31794 | <paramlist> | |
31795 | <param name="dc" type="DC" default=""/> | |
31796 | <param name="x" type="double" default=""/> | |
31797 | <param name="y" type="double" default=""/> | |
31798 | <param name="old_x" type="double" default=""/> | |
31799 | <param name="old_y" type="double" default=""/> | |
31800 | <param name="display" type="bool" default="True"/> | |
31801 | </paramlist> | |
31802 | </method> | |
31803 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
31804 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
31805 | <paramlist> | |
31806 | <param name="draw" type="bool" default=""/> | |
31807 | <param name="x" type="double" default=""/> | |
31808 | <param name="y" type="double" default=""/> | |
31809 | <param name="keys" type="int" default="0"/> | |
31810 | <param name="attachment" type="int" default="0"/> | |
31811 | </paramlist> | |
31812 | </method> | |
31813 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
31814 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31815 | <paramlist> | |
31816 | <param name="x" type="double" default=""/> | |
31817 | <param name="y" type="double" default=""/> | |
31818 | <param name="keys" type="int" default="0"/> | |
31819 | <param name="attachment" type="int" default="0"/> | |
31820 | </paramlist> | |
31821 | </method> | |
31822 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
31823 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31824 | <paramlist> | |
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_OnDragRight" type="" overloaded="no"> | |
31832 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
31833 | <paramlist> | |
31834 | <param name="draw" type="bool" default=""/> | |
31835 | <param name="x" type="double" default=""/> | |
31836 | <param name="y" type="double" default=""/> | |
31837 | <param name="keys" type="int" default="0"/> | |
31838 | <param name="attachment" type="int" default="0"/> | |
31839 | </paramlist> | |
31840 | </method> | |
31841 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
31842 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31843 | <paramlist> | |
31844 | <param name="x" type="double" default=""/> | |
31845 | <param name="y" type="double" default=""/> | |
31846 | <param name="keys" type="int" default="0"/> | |
31847 | <param name="attachment" type="int" default="0"/> | |
31848 | </paramlist> | |
31849 | </method> | |
31850 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
31851 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
31852 | <paramlist> | |
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_OnDrawOutline" type="" overloaded="no"> | |
31860 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
31861 | <paramlist> | |
31862 | <param name="dc" type="DC" default=""/> | |
31863 | <param name="x" type="double" default=""/> | |
31864 | <param name="y" type="double" default=""/> | |
31865 | <param name="w" type="double" default=""/> | |
31866 | <param name="h" type="double" default=""/> | |
31867 | </paramlist> | |
31868 | </method> | |
31869 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
31870 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
31871 | <paramlist> | |
31872 | <param name="dc" type="DC" default=""/> | |
31873 | </paramlist> | |
31874 | </method> | |
31875 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
31876 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
31877 | <paramlist> | |
31878 | <param name="dc" type="DC" default=""/> | |
31879 | </paramlist> | |
31880 | </method> | |
31881 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
31882 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
31883 | <paramlist> | |
31884 | <param name="dc" type="DC" default=""/> | |
31885 | <param name="moveControlPoints" type="bool" default="True"/> | |
31886 | </paramlist> | |
31887 | </method> | |
31888 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
31889 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
31890 | int attachment=0)</autodoc> | |
31891 | <paramlist> | |
31892 | <param name="pt" type="PyControlPoint" default=""/> | |
31893 | <param name="draw" type="bool" default=""/> | |
31894 | <param name="x" type="double" default=""/> | |
31895 | <param name="y" type="double" default=""/> | |
31896 | <param name="keys" type="int" default="0"/> | |
31897 | <param name="attachment" type="int" default="0"/> | |
31898 | </paramlist> | |
31899 | </method> | |
31900 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
31901 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
31902 | int attachment=0)</autodoc> | |
31903 | <paramlist> | |
31904 | <param name="pt" type="PyControlPoint" default=""/> | |
31905 | <param name="x" type="double" default=""/> | |
31906 | <param name="y" type="double" default=""/> | |
31907 | <param name="keys" type="int" default="0"/> | |
31908 | <param name="attachment" type="int" default="0"/> | |
31909 | </paramlist> | |
31910 | </method> | |
31911 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
31912 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
31913 | int attachment=0)</autodoc> | |
31914 | <paramlist> | |
31915 | <param name="pt" type="PyControlPoint" default=""/> | |
31916 | <param name="x" type="double" default=""/> | |
31917 | <param name="y" type="double" default=""/> | |
31918 | <param name="keys" type="int" default="0"/> | |
31919 | <param name="attachment" type="int" default="0"/> | |
31920 | </paramlist> | |
31921 | </method> | |
31922 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
31923 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
31924 | <paramlist> | |
31925 | <param name="w" type="double" default=""/> | |
31926 | <param name="h" type="double" default=""/> | |
31927 | </paramlist> | |
31928 | </method> | |
31929 | <method name="base_OnEndSize" type="" overloaded="no"> | |
31930 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
31931 | <paramlist> | |
31932 | <param name="w" type="double" default=""/> | |
31933 | <param name="h" type="double" default=""/> | |
31934 | </paramlist> | |
31935 | </method> | |
31936 | </class> | |
31937 | <class name="PyDivisionShape" oldname="wxPyDivisionShape" module="ogl"> | |
31938 | <baseclass name="PyCompositeShape"/> | |
31939 | <constructor name="PyDivisionShape" overloaded="no"> | |
31940 | <autodoc>__init__() -> PyDivisionShape</autodoc> | |
31941 | </constructor> | |
31942 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
31943 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
31944 | <paramlist> | |
31945 | <param name="self" type="PyObject" default=""/> | |
31946 | <param name="_class" type="PyObject" default=""/> | |
31947 | </paramlist> | |
31948 | </method> | |
31949 | <method name="AdjustBottom" type="" overloaded="no"> | |
31950 | <autodoc>AdjustBottom(double bottom, bool test)</autodoc> | |
31951 | <paramlist> | |
31952 | <param name="bottom" type="double" default=""/> | |
31953 | <param name="test" type="bool" default=""/> | |
31954 | </paramlist> | |
31955 | </method> | |
31956 | <method name="AdjustLeft" type="" overloaded="no"> | |
31957 | <autodoc>AdjustLeft(double left, bool test)</autodoc> | |
31958 | <paramlist> | |
31959 | <param name="left" type="double" default=""/> | |
31960 | <param name="test" type="bool" default=""/> | |
31961 | </paramlist> | |
31962 | </method> | |
31963 | <method name="AdjustRight" type="" overloaded="no"> | |
31964 | <autodoc>AdjustRight(double right, bool test)</autodoc> | |
31965 | <paramlist> | |
31966 | <param name="right" type="double" default=""/> | |
31967 | <param name="test" type="bool" default=""/> | |
31968 | </paramlist> | |
31969 | </method> | |
31970 | <method name="AdjustTop" type="" overloaded="no"> | |
31971 | <autodoc>AdjustTop(double top, bool test)</autodoc> | |
31972 | <paramlist> | |
31973 | <param name="top" type="double" default=""/> | |
31974 | <param name="test" type="bool" default=""/> | |
31975 | </paramlist> | |
31976 | </method> | |
31977 | <method name="Divide" type="" overloaded="no"> | |
31978 | <autodoc>Divide(int direction)</autodoc> | |
31979 | <paramlist> | |
31980 | <param name="direction" type="int" default=""/> | |
31981 | </paramlist> | |
31982 | </method> | |
31983 | <method name="EditEdge" type="" overloaded="no"> | |
31984 | <autodoc>EditEdge(int side)</autodoc> | |
31985 | <paramlist> | |
31986 | <param name="side" type="int" default=""/> | |
31987 | </paramlist> | |
31988 | </method> | |
31989 | <method name="GetBottomSide" type="PyDivisionShape" overloaded="no"> | |
31990 | <autodoc>GetBottomSide() -> PyDivisionShape</autodoc> | |
31991 | </method> | |
31992 | <method name="GetHandleSide" type="int" overloaded="no"> | |
31993 | <autodoc>GetHandleSide() -> int</autodoc> | |
31994 | </method> | |
31995 | <method name="GetLeftSide" type="PyDivisionShape" overloaded="no"> | |
31996 | <autodoc>GetLeftSide() -> PyDivisionShape</autodoc> | |
31997 | </method> | |
31998 | <method name="GetLeftSideColour" type="String" overloaded="no"> | |
31999 | <autodoc>GetLeftSideColour() -> String</autodoc> | |
32000 | </method> | |
32001 | <method name="GetLeftSidePen" type="Pen" overloaded="no"> | |
32002 | <autodoc>GetLeftSidePen() -> wxPen</autodoc> | |
32003 | </method> | |
32004 | <method name="GetRightSide" type="PyDivisionShape" overloaded="no"> | |
32005 | <autodoc>GetRightSide() -> PyDivisionShape</autodoc> | |
32006 | </method> | |
32007 | <method name="GetTopSide" type="PyDivisionShape" overloaded="no"> | |
32008 | <autodoc>GetTopSide() -> PyDivisionShape</autodoc> | |
32009 | </method> | |
32010 | <method name="GetTopSidePen" type="Pen" overloaded="no"> | |
32011 | <autodoc>GetTopSidePen() -> wxPen</autodoc> | |
32012 | </method> | |
32013 | <method name="ResizeAdjoining" type="" overloaded="no"> | |
32014 | <autodoc>ResizeAdjoining(int side, double newPos, bool test)</autodoc> | |
32015 | <paramlist> | |
32016 | <param name="side" type="int" default=""/> | |
32017 | <param name="newPos" type="double" default=""/> | |
32018 | <param name="test" type="bool" default=""/> | |
32019 | </paramlist> | |
32020 | </method> | |
32021 | <method name="PopupMenu" type="" overloaded="no"> | |
32022 | <autodoc>PopupMenu(double x, double y)</autodoc> | |
32023 | <paramlist> | |
32024 | <param name="x" type="double" default=""/> | |
32025 | <param name="y" type="double" default=""/> | |
32026 | </paramlist> | |
32027 | </method> | |
32028 | <method name="SetBottomSide" type="" overloaded="no"> | |
32029 | <autodoc>SetBottomSide(PyDivisionShape shape)</autodoc> | |
32030 | <paramlist> | |
32031 | <param name="shape" type="PyDivisionShape" default=""/> | |
32032 | </paramlist> | |
32033 | </method> | |
32034 | <method name="SetHandleSide" type="" overloaded="no"> | |
32035 | <autodoc>SetHandleSide(int side)</autodoc> | |
32036 | <paramlist> | |
32037 | <param name="side" type="int" default=""/> | |
32038 | </paramlist> | |
32039 | </method> | |
32040 | <method name="SetLeftSide" type="" overloaded="no"> | |
32041 | <autodoc>SetLeftSide(PyDivisionShape shape)</autodoc> | |
32042 | <paramlist> | |
32043 | <param name="shape" type="PyDivisionShape" default=""/> | |
32044 | </paramlist> | |
32045 | </method> | |
32046 | <method name="SetLeftSideColour" type="" overloaded="no"> | |
32047 | <autodoc>SetLeftSideColour(String colour)</autodoc> | |
32048 | <paramlist> | |
32049 | <param name="colour" type="String" default=""/> | |
32050 | </paramlist> | |
32051 | </method> | |
32052 | <method name="SetLeftSidePen" type="" overloaded="no"> | |
32053 | <autodoc>SetLeftSidePen(wxPen pen)</autodoc> | |
32054 | <paramlist> | |
32055 | <param name="pen" type="Pen" default=""/> | |
32056 | </paramlist> | |
32057 | </method> | |
32058 | <method name="SetRightSide" type="" overloaded="no"> | |
32059 | <autodoc>SetRightSide(PyDivisionShape shape)</autodoc> | |
32060 | <paramlist> | |
32061 | <param name="shape" type="PyDivisionShape" default=""/> | |
32062 | </paramlist> | |
32063 | </method> | |
32064 | <method name="SetTopSide" type="" overloaded="no"> | |
32065 | <autodoc>SetTopSide(PyDivisionShape shape)</autodoc> | |
32066 | <paramlist> | |
32067 | <param name="shape" type="PyDivisionShape" default=""/> | |
32068 | </paramlist> | |
32069 | </method> | |
32070 | <method name="SetTopSideColour" type="" overloaded="no"> | |
32071 | <autodoc>SetTopSideColour(String colour)</autodoc> | |
32072 | <paramlist> | |
32073 | <param name="colour" type="String" default=""/> | |
32074 | </paramlist> | |
32075 | </method> | |
32076 | <method name="SetTopSidePen" type="" overloaded="no"> | |
32077 | <autodoc>SetTopSidePen(wxPen pen)</autodoc> | |
32078 | <paramlist> | |
32079 | <param name="pen" type="Pen" default=""/> | |
32080 | </paramlist> | |
32081 | </method> | |
32082 | <method name="base_OnDelete" type="" overloaded="no"> | |
32083 | <autodoc>base_OnDelete()</autodoc> | |
32084 | </method> | |
32085 | <method name="base_OnDraw" type="" overloaded="no"> | |
32086 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
32087 | <paramlist> | |
32088 | <param name="dc" type="DC" default=""/> | |
32089 | </paramlist> | |
32090 | </method> | |
32091 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
32092 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
32093 | <paramlist> | |
32094 | <param name="dc" type="DC" default=""/> | |
32095 | </paramlist> | |
32096 | </method> | |
32097 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
32098 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
32099 | <paramlist> | |
32100 | <param name="dc" type="DC" default=""/> | |
32101 | <param name="erase" type="bool" default="FALSE"/> | |
32102 | </paramlist> | |
32103 | </method> | |
32104 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
32105 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
32106 | <paramlist> | |
32107 | <param name="dc" type="DC" default=""/> | |
32108 | </paramlist> | |
32109 | </method> | |
32110 | <method name="base_OnErase" type="" overloaded="no"> | |
32111 | <autodoc>base_OnErase(DC dc)</autodoc> | |
32112 | <paramlist> | |
32113 | <param name="dc" type="DC" default=""/> | |
32114 | </paramlist> | |
32115 | </method> | |
32116 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
32117 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
32118 | <paramlist> | |
32119 | <param name="dc" type="DC" default=""/> | |
32120 | </paramlist> | |
32121 | </method> | |
32122 | <method name="base_OnHighlight" type="" overloaded="no"> | |
32123 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
32124 | <paramlist> | |
32125 | <param name="dc" type="DC" default=""/> | |
32126 | </paramlist> | |
32127 | </method> | |
32128 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
32129 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32130 | <paramlist> | |
32131 | <param name="x" type="double" default=""/> | |
32132 | <param name="y" type="double" default=""/> | |
32133 | <param name="keys" type="int" default="0"/> | |
32134 | <param name="attachment" type="int" default="0"/> | |
32135 | </paramlist> | |
32136 | </method> | |
32137 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
32138 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32139 | <paramlist> | |
32140 | <param name="x" type="double" default=""/> | |
32141 | <param name="y" type="double" default=""/> | |
32142 | <param name="keys" type="int" default="0"/> | |
32143 | <param name="attachment" type="int" default="0"/> | |
32144 | </paramlist> | |
32145 | </method> | |
32146 | <method name="base_OnRightClick" type="" overloaded="no"> | |
32147 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32148 | <paramlist> | |
32149 | <param name="x" type="double" default=""/> | |
32150 | <param name="y" type="double" default=""/> | |
32151 | <param name="keys" type="int" default="0"/> | |
32152 | <param name="attachment" type="int" default="0"/> | |
32153 | </paramlist> | |
32154 | </method> | |
32155 | <method name="base_OnSize" type="" overloaded="no"> | |
32156 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
32157 | <paramlist> | |
32158 | <param name="x" type="double" default=""/> | |
32159 | <param name="y" type="double" default=""/> | |
32160 | </paramlist> | |
32161 | </method> | |
32162 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
32163 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
32164 | bool display=True) -> bool</autodoc> | |
32165 | <paramlist> | |
32166 | <param name="dc" type="DC" default=""/> | |
32167 | <param name="x" type="double" default=""/> | |
32168 | <param name="y" type="double" default=""/> | |
32169 | <param name="old_x" type="double" default=""/> | |
32170 | <param name="old_y" type="double" default=""/> | |
32171 | <param name="display" type="bool" default="True"/> | |
32172 | </paramlist> | |
32173 | </method> | |
32174 | <method name="base_OnMovePost" type="" overloaded="no"> | |
32175 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
32176 | bool display=True)</autodoc> | |
32177 | <paramlist> | |
32178 | <param name="dc" type="DC" default=""/> | |
32179 | <param name="x" type="double" default=""/> | |
32180 | <param name="y" type="double" default=""/> | |
32181 | <param name="old_x" type="double" default=""/> | |
32182 | <param name="old_y" type="double" default=""/> | |
32183 | <param name="display" type="bool" default="True"/> | |
32184 | </paramlist> | |
32185 | </method> | |
32186 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
32187 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
32188 | <paramlist> | |
32189 | <param name="draw" type="bool" default=""/> | |
32190 | <param name="x" type="double" default=""/> | |
32191 | <param name="y" type="double" default=""/> | |
32192 | <param name="keys" type="int" default="0"/> | |
32193 | <param name="attachment" type="int" default="0"/> | |
32194 | </paramlist> | |
32195 | </method> | |
32196 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
32197 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32198 | <paramlist> | |
32199 | <param name="x" type="double" default=""/> | |
32200 | <param name="y" type="double" default=""/> | |
32201 | <param name="keys" type="int" default="0"/> | |
32202 | <param name="attachment" type="int" default="0"/> | |
32203 | </paramlist> | |
32204 | </method> | |
32205 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
32206 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32207 | <paramlist> | |
32208 | <param name="x" type="double" default=""/> | |
32209 | <param name="y" type="double" default=""/> | |
32210 | <param name="keys" type="int" default="0"/> | |
32211 | <param name="attachment" type="int" default="0"/> | |
32212 | </paramlist> | |
32213 | </method> | |
32214 | <method name="base_OnDragRight" type="" overloaded="no"> | |
32215 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
32216 | <paramlist> | |
32217 | <param name="draw" type="bool" default=""/> | |
32218 | <param name="x" type="double" default=""/> | |
32219 | <param name="y" type="double" default=""/> | |
32220 | <param name="keys" type="int" default="0"/> | |
32221 | <param name="attachment" type="int" default="0"/> | |
32222 | </paramlist> | |
32223 | </method> | |
32224 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
32225 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32226 | <paramlist> | |
32227 | <param name="x" type="double" default=""/> | |
32228 | <param name="y" type="double" default=""/> | |
32229 | <param name="keys" type="int" default="0"/> | |
32230 | <param name="attachment" type="int" default="0"/> | |
32231 | </paramlist> | |
32232 | </method> | |
32233 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
32234 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32235 | <paramlist> | |
32236 | <param name="x" type="double" default=""/> | |
32237 | <param name="y" type="double" default=""/> | |
32238 | <param name="keys" type="int" default="0"/> | |
32239 | <param name="attachment" type="int" default="0"/> | |
32240 | </paramlist> | |
32241 | </method> | |
32242 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
32243 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
32244 | <paramlist> | |
32245 | <param name="dc" type="DC" default=""/> | |
32246 | <param name="x" type="double" default=""/> | |
32247 | <param name="y" type="double" default=""/> | |
32248 | <param name="w" type="double" default=""/> | |
32249 | <param name="h" type="double" default=""/> | |
32250 | </paramlist> | |
32251 | </method> | |
32252 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
32253 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
32254 | <paramlist> | |
32255 | <param name="dc" type="DC" default=""/> | |
32256 | </paramlist> | |
32257 | </method> | |
32258 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
32259 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
32260 | <paramlist> | |
32261 | <param name="dc" type="DC" default=""/> | |
32262 | </paramlist> | |
32263 | </method> | |
32264 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
32265 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
32266 | <paramlist> | |
32267 | <param name="dc" type="DC" default=""/> | |
32268 | <param name="moveControlPoints" type="bool" default="True"/> | |
32269 | </paramlist> | |
32270 | </method> | |
32271 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
32272 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
32273 | int attachment=0)</autodoc> | |
32274 | <paramlist> | |
32275 | <param name="pt" type="PyControlPoint" default=""/> | |
32276 | <param name="draw" type="bool" default=""/> | |
32277 | <param name="x" type="double" default=""/> | |
32278 | <param name="y" type="double" default=""/> | |
32279 | <param name="keys" type="int" default="0"/> | |
32280 | <param name="attachment" type="int" default="0"/> | |
32281 | </paramlist> | |
32282 | </method> | |
32283 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
32284 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
32285 | int attachment=0)</autodoc> | |
32286 | <paramlist> | |
32287 | <param name="pt" type="PyControlPoint" default=""/> | |
32288 | <param name="x" type="double" default=""/> | |
32289 | <param name="y" type="double" default=""/> | |
32290 | <param name="keys" type="int" default="0"/> | |
32291 | <param name="attachment" type="int" default="0"/> | |
32292 | </paramlist> | |
32293 | </method> | |
32294 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
32295 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
32296 | int attachment=0)</autodoc> | |
32297 | <paramlist> | |
32298 | <param name="pt" type="PyControlPoint" default=""/> | |
32299 | <param name="x" type="double" default=""/> | |
32300 | <param name="y" type="double" default=""/> | |
32301 | <param name="keys" type="int" default="0"/> | |
32302 | <param name="attachment" type="int" default="0"/> | |
32303 | </paramlist> | |
32304 | </method> | |
32305 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
32306 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
32307 | <paramlist> | |
32308 | <param name="w" type="double" default=""/> | |
32309 | <param name="h" type="double" default=""/> | |
32310 | </paramlist> | |
32311 | </method> | |
32312 | <method name="base_OnEndSize" type="" overloaded="no"> | |
32313 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
32314 | <paramlist> | |
32315 | <param name="w" type="double" default=""/> | |
32316 | <param name="h" type="double" default=""/> | |
32317 | </paramlist> | |
32318 | </method> | |
32319 | </class> | |
32320 | <class name="PyEllipseShape" oldname="wxPyEllipseShape" module="ogl"> | |
32321 | <baseclass name="PyShape"/> | |
32322 | <constructor name="PyEllipseShape" overloaded="no"> | |
32323 | <autodoc>__init__(double width=0.0, double height=0.0) -> PyEllipseShape</autodoc> | |
32324 | <paramlist> | |
32325 | <param name="width" type="double" default="0.0"/> | |
32326 | <param name="height" type="double" default="0.0"/> | |
32327 | </paramlist> | |
32328 | </constructor> | |
32329 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
32330 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
32331 | <paramlist> | |
32332 | <param name="self" type="PyObject" default=""/> | |
32333 | <param name="_class" type="PyObject" default=""/> | |
32334 | </paramlist> | |
32335 | </method> | |
32336 | <method name="base_OnDraw" type="" overloaded="no"> | |
32337 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
32338 | <paramlist> | |
32339 | <param name="dc" type="DC" default=""/> | |
32340 | </paramlist> | |
32341 | </method> | |
32342 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
32343 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
32344 | <paramlist> | |
32345 | <param name="dc" type="DC" default=""/> | |
32346 | </paramlist> | |
32347 | </method> | |
32348 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
32349 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
32350 | <paramlist> | |
32351 | <param name="dc" type="DC" default=""/> | |
32352 | <param name="erase" type="bool" default="FALSE"/> | |
32353 | </paramlist> | |
32354 | </method> | |
32355 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
32356 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
32357 | <paramlist> | |
32358 | <param name="dc" type="DC" default=""/> | |
32359 | </paramlist> | |
32360 | </method> | |
32361 | <method name="base_OnErase" type="" overloaded="no"> | |
32362 | <autodoc>base_OnErase(DC dc)</autodoc> | |
32363 | <paramlist> | |
32364 | <param name="dc" type="DC" default=""/> | |
32365 | </paramlist> | |
32366 | </method> | |
32367 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
32368 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
32369 | <paramlist> | |
32370 | <param name="dc" type="DC" default=""/> | |
32371 | </paramlist> | |
32372 | </method> | |
32373 | <method name="base_OnHighlight" type="" overloaded="no"> | |
32374 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
32375 | <paramlist> | |
32376 | <param name="dc" type="DC" default=""/> | |
32377 | </paramlist> | |
32378 | </method> | |
32379 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
32380 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32381 | <paramlist> | |
32382 | <param name="x" type="double" default=""/> | |
32383 | <param name="y" type="double" default=""/> | |
32384 | <param name="keys" type="int" default="0"/> | |
32385 | <param name="attachment" type="int" default="0"/> | |
32386 | </paramlist> | |
32387 | </method> | |
32388 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
32389 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32390 | <paramlist> | |
32391 | <param name="x" type="double" default=""/> | |
32392 | <param name="y" type="double" default=""/> | |
32393 | <param name="keys" type="int" default="0"/> | |
32394 | <param name="attachment" type="int" default="0"/> | |
32395 | </paramlist> | |
32396 | </method> | |
32397 | <method name="base_OnRightClick" type="" overloaded="no"> | |
32398 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32399 | <paramlist> | |
32400 | <param name="x" type="double" default=""/> | |
32401 | <param name="y" type="double" default=""/> | |
32402 | <param name="keys" type="int" default="0"/> | |
32403 | <param name="attachment" type="int" default="0"/> | |
32404 | </paramlist> | |
32405 | </method> | |
32406 | <method name="base_OnSize" type="" overloaded="no"> | |
32407 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
32408 | <paramlist> | |
32409 | <param name="x" type="double" default=""/> | |
32410 | <param name="y" type="double" default=""/> | |
32411 | </paramlist> | |
32412 | </method> | |
32413 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
32414 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
32415 | bool display=True) -> bool</autodoc> | |
32416 | <paramlist> | |
32417 | <param name="dc" type="DC" default=""/> | |
32418 | <param name="x" type="double" default=""/> | |
32419 | <param name="y" type="double" default=""/> | |
32420 | <param name="old_x" type="double" default=""/> | |
32421 | <param name="old_y" type="double" default=""/> | |
32422 | <param name="display" type="bool" default="True"/> | |
32423 | </paramlist> | |
32424 | </method> | |
32425 | <method name="base_OnMovePost" type="" overloaded="no"> | |
32426 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
32427 | bool display=True)</autodoc> | |
32428 | <paramlist> | |
32429 | <param name="dc" type="DC" default=""/> | |
32430 | <param name="x" type="double" default=""/> | |
32431 | <param name="y" type="double" default=""/> | |
32432 | <param name="old_x" type="double" default=""/> | |
32433 | <param name="old_y" type="double" default=""/> | |
32434 | <param name="display" type="bool" default="True"/> | |
32435 | </paramlist> | |
32436 | </method> | |
32437 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
32438 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
32439 | <paramlist> | |
32440 | <param name="draw" type="bool" default=""/> | |
32441 | <param name="x" type="double" default=""/> | |
32442 | <param name="y" type="double" default=""/> | |
32443 | <param name="keys" type="int" default="0"/> | |
32444 | <param name="attachment" type="int" default="0"/> | |
32445 | </paramlist> | |
32446 | </method> | |
32447 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
32448 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32449 | <paramlist> | |
32450 | <param name="x" type="double" default=""/> | |
32451 | <param name="y" type="double" default=""/> | |
32452 | <param name="keys" type="int" default="0"/> | |
32453 | <param name="attachment" type="int" default="0"/> | |
32454 | </paramlist> | |
32455 | </method> | |
32456 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
32457 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32458 | <paramlist> | |
32459 | <param name="x" type="double" default=""/> | |
32460 | <param name="y" type="double" default=""/> | |
32461 | <param name="keys" type="int" default="0"/> | |
32462 | <param name="attachment" type="int" default="0"/> | |
32463 | </paramlist> | |
32464 | </method> | |
32465 | <method name="base_OnDragRight" type="" overloaded="no"> | |
32466 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
32467 | <paramlist> | |
32468 | <param name="draw" type="bool" default=""/> | |
32469 | <param name="x" type="double" default=""/> | |
32470 | <param name="y" type="double" default=""/> | |
32471 | <param name="keys" type="int" default="0"/> | |
32472 | <param name="attachment" type="int" default="0"/> | |
32473 | </paramlist> | |
32474 | </method> | |
32475 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
32476 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32477 | <paramlist> | |
32478 | <param name="x" type="double" default=""/> | |
32479 | <param name="y" type="double" default=""/> | |
32480 | <param name="keys" type="int" default="0"/> | |
32481 | <param name="attachment" type="int" default="0"/> | |
32482 | </paramlist> | |
32483 | </method> | |
32484 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
32485 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32486 | <paramlist> | |
32487 | <param name="x" type="double" default=""/> | |
32488 | <param name="y" type="double" default=""/> | |
32489 | <param name="keys" type="int" default="0"/> | |
32490 | <param name="attachment" type="int" default="0"/> | |
32491 | </paramlist> | |
32492 | </method> | |
32493 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
32494 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
32495 | <paramlist> | |
32496 | <param name="dc" type="DC" default=""/> | |
32497 | <param name="x" type="double" default=""/> | |
32498 | <param name="y" type="double" default=""/> | |
32499 | <param name="w" type="double" default=""/> | |
32500 | <param name="h" type="double" default=""/> | |
32501 | </paramlist> | |
32502 | </method> | |
32503 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
32504 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
32505 | <paramlist> | |
32506 | <param name="dc" type="DC" default=""/> | |
32507 | </paramlist> | |
32508 | </method> | |
32509 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
32510 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
32511 | <paramlist> | |
32512 | <param name="dc" type="DC" default=""/> | |
32513 | </paramlist> | |
32514 | </method> | |
32515 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
32516 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
32517 | <paramlist> | |
32518 | <param name="dc" type="DC" default=""/> | |
32519 | <param name="moveControlPoints" type="bool" default="True"/> | |
32520 | </paramlist> | |
32521 | </method> | |
32522 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
32523 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
32524 | int attachment=0)</autodoc> | |
32525 | <paramlist> | |
32526 | <param name="pt" type="PyControlPoint" default=""/> | |
32527 | <param name="draw" type="bool" default=""/> | |
32528 | <param name="x" type="double" default=""/> | |
32529 | <param name="y" type="double" default=""/> | |
32530 | <param name="keys" type="int" default="0"/> | |
32531 | <param name="attachment" type="int" default="0"/> | |
32532 | </paramlist> | |
32533 | </method> | |
32534 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
32535 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
32536 | int attachment=0)</autodoc> | |
32537 | <paramlist> | |
32538 | <param name="pt" type="PyControlPoint" default=""/> | |
32539 | <param name="x" type="double" default=""/> | |
32540 | <param name="y" type="double" default=""/> | |
32541 | <param name="keys" type="int" default="0"/> | |
32542 | <param name="attachment" type="int" default="0"/> | |
32543 | </paramlist> | |
32544 | </method> | |
32545 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
32546 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
32547 | int attachment=0)</autodoc> | |
32548 | <paramlist> | |
32549 | <param name="pt" type="PyControlPoint" default=""/> | |
32550 | <param name="x" type="double" default=""/> | |
32551 | <param name="y" type="double" default=""/> | |
32552 | <param name="keys" type="int" default="0"/> | |
32553 | <param name="attachment" type="int" default="0"/> | |
32554 | </paramlist> | |
32555 | </method> | |
32556 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
32557 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
32558 | <paramlist> | |
32559 | <param name="w" type="double" default=""/> | |
32560 | <param name="h" type="double" default=""/> | |
32561 | </paramlist> | |
32562 | </method> | |
32563 | <method name="base_OnEndSize" type="" overloaded="no"> | |
32564 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
32565 | <paramlist> | |
32566 | <param name="w" type="double" default=""/> | |
32567 | <param name="h" type="double" default=""/> | |
32568 | </paramlist> | |
32569 | </method> | |
32570 | </class> | |
32571 | <class name="PyCircleShape" oldname="wxPyCircleShape" module="ogl"> | |
32572 | <baseclass name="PyEllipseShape"/> | |
32573 | <constructor name="PyCircleShape" overloaded="no"> | |
32574 | <autodoc>__init__(double width=0.0) -> PyCircleShape</autodoc> | |
32575 | <paramlist> | |
32576 | <param name="width" type="double" default="0.0"/> | |
32577 | </paramlist> | |
32578 | </constructor> | |
32579 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
32580 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
32581 | <paramlist> | |
32582 | <param name="self" type="PyObject" default=""/> | |
32583 | <param name="_class" type="PyObject" default=""/> | |
32584 | </paramlist> | |
32585 | </method> | |
32586 | <method name="base_OnDraw" type="" overloaded="no"> | |
32587 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
32588 | <paramlist> | |
32589 | <param name="dc" type="DC" default=""/> | |
32590 | </paramlist> | |
32591 | </method> | |
32592 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
32593 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
32594 | <paramlist> | |
32595 | <param name="dc" type="DC" default=""/> | |
32596 | </paramlist> | |
32597 | </method> | |
32598 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
32599 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
32600 | <paramlist> | |
32601 | <param name="dc" type="DC" default=""/> | |
32602 | <param name="erase" type="bool" default="FALSE"/> | |
32603 | </paramlist> | |
32604 | </method> | |
32605 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
32606 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
32607 | <paramlist> | |
32608 | <param name="dc" type="DC" default=""/> | |
32609 | </paramlist> | |
32610 | </method> | |
32611 | <method name="base_OnErase" type="" overloaded="no"> | |
32612 | <autodoc>base_OnErase(DC dc)</autodoc> | |
32613 | <paramlist> | |
32614 | <param name="dc" type="DC" default=""/> | |
32615 | </paramlist> | |
32616 | </method> | |
32617 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
32618 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
32619 | <paramlist> | |
32620 | <param name="dc" type="DC" default=""/> | |
32621 | </paramlist> | |
32622 | </method> | |
32623 | <method name="base_OnHighlight" type="" overloaded="no"> | |
32624 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
32625 | <paramlist> | |
32626 | <param name="dc" type="DC" default=""/> | |
32627 | </paramlist> | |
32628 | </method> | |
32629 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
32630 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32631 | <paramlist> | |
32632 | <param name="x" type="double" default=""/> | |
32633 | <param name="y" type="double" default=""/> | |
32634 | <param name="keys" type="int" default="0"/> | |
32635 | <param name="attachment" type="int" default="0"/> | |
32636 | </paramlist> | |
32637 | </method> | |
32638 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
32639 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32640 | <paramlist> | |
32641 | <param name="x" type="double" default=""/> | |
32642 | <param name="y" type="double" default=""/> | |
32643 | <param name="keys" type="int" default="0"/> | |
32644 | <param name="attachment" type="int" default="0"/> | |
32645 | </paramlist> | |
32646 | </method> | |
32647 | <method name="base_OnRightClick" type="" overloaded="no"> | |
32648 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32649 | <paramlist> | |
32650 | <param name="x" type="double" default=""/> | |
32651 | <param name="y" type="double" default=""/> | |
32652 | <param name="keys" type="int" default="0"/> | |
32653 | <param name="attachment" type="int" default="0"/> | |
32654 | </paramlist> | |
32655 | </method> | |
32656 | <method name="base_OnSize" type="" overloaded="no"> | |
32657 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
32658 | <paramlist> | |
32659 | <param name="x" type="double" default=""/> | |
32660 | <param name="y" type="double" default=""/> | |
32661 | </paramlist> | |
32662 | </method> | |
32663 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
32664 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
32665 | bool display=True) -> bool</autodoc> | |
32666 | <paramlist> | |
32667 | <param name="dc" type="DC" default=""/> | |
32668 | <param name="x" type="double" default=""/> | |
32669 | <param name="y" type="double" default=""/> | |
32670 | <param name="old_x" type="double" default=""/> | |
32671 | <param name="old_y" type="double" default=""/> | |
32672 | <param name="display" type="bool" default="True"/> | |
32673 | </paramlist> | |
32674 | </method> | |
32675 | <method name="base_OnMovePost" type="" overloaded="no"> | |
32676 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
32677 | bool display=True)</autodoc> | |
32678 | <paramlist> | |
32679 | <param name="dc" type="DC" default=""/> | |
32680 | <param name="x" type="double" default=""/> | |
32681 | <param name="y" type="double" default=""/> | |
32682 | <param name="old_x" type="double" default=""/> | |
32683 | <param name="old_y" type="double" default=""/> | |
32684 | <param name="display" type="bool" default="True"/> | |
32685 | </paramlist> | |
32686 | </method> | |
32687 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
32688 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
32689 | <paramlist> | |
32690 | <param name="draw" type="bool" default=""/> | |
32691 | <param name="x" type="double" default=""/> | |
32692 | <param name="y" type="double" default=""/> | |
32693 | <param name="keys" type="int" default="0"/> | |
32694 | <param name="attachment" type="int" default="0"/> | |
32695 | </paramlist> | |
32696 | </method> | |
32697 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
32698 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32699 | <paramlist> | |
32700 | <param name="x" type="double" default=""/> | |
32701 | <param name="y" type="double" default=""/> | |
32702 | <param name="keys" type="int" default="0"/> | |
32703 | <param name="attachment" type="int" default="0"/> | |
32704 | </paramlist> | |
32705 | </method> | |
32706 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
32707 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32708 | <paramlist> | |
32709 | <param name="x" type="double" default=""/> | |
32710 | <param name="y" type="double" default=""/> | |
32711 | <param name="keys" type="int" default="0"/> | |
32712 | <param name="attachment" type="int" default="0"/> | |
32713 | </paramlist> | |
32714 | </method> | |
32715 | <method name="base_OnDragRight" type="" overloaded="no"> | |
32716 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
32717 | <paramlist> | |
32718 | <param name="draw" type="bool" default=""/> | |
32719 | <param name="x" type="double" default=""/> | |
32720 | <param name="y" type="double" default=""/> | |
32721 | <param name="keys" type="int" default="0"/> | |
32722 | <param name="attachment" type="int" default="0"/> | |
32723 | </paramlist> | |
32724 | </method> | |
32725 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
32726 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32727 | <paramlist> | |
32728 | <param name="x" type="double" default=""/> | |
32729 | <param name="y" type="double" default=""/> | |
32730 | <param name="keys" type="int" default="0"/> | |
32731 | <param name="attachment" type="int" default="0"/> | |
32732 | </paramlist> | |
32733 | </method> | |
32734 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
32735 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
32736 | <paramlist> | |
32737 | <param name="x" type="double" default=""/> | |
32738 | <param name="y" type="double" default=""/> | |
32739 | <param name="keys" type="int" default="0"/> | |
32740 | <param name="attachment" type="int" default="0"/> | |
32741 | </paramlist> | |
32742 | </method> | |
32743 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
32744 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
32745 | <paramlist> | |
32746 | <param name="dc" type="DC" default=""/> | |
32747 | <param name="x" type="double" default=""/> | |
32748 | <param name="y" type="double" default=""/> | |
32749 | <param name="w" type="double" default=""/> | |
32750 | <param name="h" type="double" default=""/> | |
32751 | </paramlist> | |
32752 | </method> | |
32753 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
32754 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
32755 | <paramlist> | |
32756 | <param name="dc" type="DC" default=""/> | |
32757 | </paramlist> | |
32758 | </method> | |
32759 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
32760 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
32761 | <paramlist> | |
32762 | <param name="dc" type="DC" default=""/> | |
32763 | </paramlist> | |
32764 | </method> | |
32765 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
32766 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
32767 | <paramlist> | |
32768 | <param name="dc" type="DC" default=""/> | |
32769 | <param name="moveControlPoints" type="bool" default="True"/> | |
32770 | </paramlist> | |
32771 | </method> | |
32772 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
32773 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
32774 | int attachment=0)</autodoc> | |
32775 | <paramlist> | |
32776 | <param name="pt" type="PyControlPoint" default=""/> | |
32777 | <param name="draw" type="bool" default=""/> | |
32778 | <param name="x" type="double" default=""/> | |
32779 | <param name="y" type="double" default=""/> | |
32780 | <param name="keys" type="int" default="0"/> | |
32781 | <param name="attachment" type="int" default="0"/> | |
32782 | </paramlist> | |
32783 | </method> | |
32784 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
32785 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
32786 | int attachment=0)</autodoc> | |
32787 | <paramlist> | |
32788 | <param name="pt" type="PyControlPoint" default=""/> | |
32789 | <param name="x" type="double" default=""/> | |
32790 | <param name="y" type="double" default=""/> | |
32791 | <param name="keys" type="int" default="0"/> | |
32792 | <param name="attachment" type="int" default="0"/> | |
32793 | </paramlist> | |
32794 | </method> | |
32795 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
32796 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
32797 | int attachment=0)</autodoc> | |
32798 | <paramlist> | |
32799 | <param name="pt" type="PyControlPoint" default=""/> | |
32800 | <param name="x" type="double" default=""/> | |
32801 | <param name="y" type="double" default=""/> | |
32802 | <param name="keys" type="int" default="0"/> | |
32803 | <param name="attachment" type="int" default="0"/> | |
32804 | </paramlist> | |
32805 | </method> | |
32806 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
32807 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
32808 | <paramlist> | |
32809 | <param name="w" type="double" default=""/> | |
32810 | <param name="h" type="double" default=""/> | |
32811 | </paramlist> | |
32812 | </method> | |
32813 | <method name="base_OnEndSize" type="" overloaded="no"> | |
32814 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
32815 | <paramlist> | |
32816 | <param name="w" type="double" default=""/> | |
32817 | <param name="h" type="double" default=""/> | |
32818 | </paramlist> | |
32819 | </method> | |
32820 | </class> | |
32821 | <class name="ArrowHead" oldname="wxArrowHead" module="ogl"> | |
32822 | <baseclass name="Object"/> | |
32823 | <constructor name="ArrowHead" overloaded="no"> | |
32824 | <autodoc>__init__(int type=0, int end=0, double size=0.0, double dist=0.0, | |
32825 | String name=EmptyString, PseudoMetaFile mf=None, | |
32826 | long arrowId=-1) -> ArrowHead</autodoc> | |
32827 | <paramlist> | |
32828 | <param name="type" type="int" default="0"/> | |
32829 | <param name="end" type="int" default="0"/> | |
32830 | <param name="size" type="double" default="0.0"/> | |
32831 | <param name="dist" type="double" default="0.0"/> | |
32832 | <param name="name" type="String" default="wxPyEmptyString"/> | |
32833 | <param name="mf" type="PseudoMetaFile" default="NULL"/> | |
32834 | <param name="arrowId" type="long" default="-1"/> | |
32835 | </paramlist> | |
32836 | </constructor> | |
32837 | <destructor name="~wxArrowHead" overloaded="no"> | |
32838 | <autodoc>__del__()</autodoc> | |
32839 | </destructor> | |
32840 | <method name="_GetType" type="int" overloaded="no"> | |
32841 | <autodoc>_GetType() -> int</autodoc> | |
32842 | </method> | |
32843 | <method name="GetPosition" type="int" overloaded="no"> | |
32844 | <autodoc>GetPosition() -> int</autodoc> | |
32845 | </method> | |
32846 | <method name="SetPosition" type="" overloaded="no"> | |
32847 | <autodoc>SetPosition(int pos)</autodoc> | |
32848 | <paramlist> | |
32849 | <param name="pos" type="int" default=""/> | |
32850 | </paramlist> | |
32851 | </method> | |
32852 | <method name="GetXOffset" type="double" overloaded="no"> | |
32853 | <autodoc>GetXOffset() -> double</autodoc> | |
32854 | </method> | |
32855 | <method name="GetYOffset" type="double" overloaded="no"> | |
32856 | <autodoc>GetYOffset() -> double</autodoc> | |
32857 | </method> | |
32858 | <method name="GetSpacing" type="double" overloaded="no"> | |
32859 | <autodoc>GetSpacing() -> double</autodoc> | |
32860 | </method> | |
32861 | <method name="GetSize" type="double" overloaded="no"> | |
32862 | <autodoc>GetSize() -> double</autodoc> | |
32863 | </method> | |
32864 | <method name="GetName" type="String" overloaded="no"> | |
32865 | <autodoc>GetName() -> String</autodoc> | |
32866 | </method> | |
32867 | <method name="SetXOffset" type="" overloaded="no"> | |
32868 | <autodoc>SetXOffset(double x)</autodoc> | |
32869 | <paramlist> | |
32870 | <param name="x" type="double" default=""/> | |
32871 | </paramlist> | |
32872 | </method> | |
32873 | <method name="SetYOffset" type="" overloaded="no"> | |
32874 | <autodoc>SetYOffset(double y)</autodoc> | |
32875 | <paramlist> | |
32876 | <param name="y" type="double" default=""/> | |
32877 | </paramlist> | |
32878 | </method> | |
32879 | <method name="GetMetaFile" type="PseudoMetaFile" overloaded="no"> | |
32880 | <autodoc>GetMetaFile() -> PseudoMetaFile</autodoc> | |
32881 | </method> | |
32882 | <method name="GetId" type="long" overloaded="no"> | |
32883 | <autodoc>GetId() -> long</autodoc> | |
32884 | </method> | |
32885 | <method name="GetArrowEnd" type="int" overloaded="no"> | |
32886 | <autodoc>GetArrowEnd() -> int</autodoc> | |
32887 | </method> | |
32888 | <method name="GetArrowSize" type="double" overloaded="no"> | |
32889 | <autodoc>GetArrowSize() -> double</autodoc> | |
32890 | </method> | |
32891 | <method name="SetSize" type="" overloaded="no"> | |
32892 | <autodoc>SetSize(double size)</autodoc> | |
32893 | <paramlist> | |
32894 | <param name="size" type="double" default=""/> | |
32895 | </paramlist> | |
32896 | </method> | |
32897 | <method name="SetSpacing" type="" overloaded="no"> | |
32898 | <autodoc>SetSpacing(double sp)</autodoc> | |
32899 | <paramlist> | |
32900 | <param name="sp" type="double" default=""/> | |
32901 | </paramlist> | |
32902 | </method> | |
32903 | </class> | |
32904 | <class name="PyLineShape" oldname="wxPyLineShape" module="ogl"> | |
32905 | <baseclass name="PyShape"/> | |
32906 | <constructor name="PyLineShape" overloaded="no"> | |
32907 | <autodoc>__init__() -> PyLineShape</autodoc> | |
32908 | </constructor> | |
32909 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
32910 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
32911 | <paramlist> | |
32912 | <param name="self" type="PyObject" default=""/> | |
32913 | <param name="_class" type="PyObject" default=""/> | |
32914 | </paramlist> | |
32915 | </method> | |
32916 | <method name="AddArrow" type="" overloaded="no"> | |
32917 | <autodoc>AddArrow(int type, int end=ARROW_POSITION_END, double arrowSize=10.0, | |
32918 | double xOffset=0.0, String name=EmptyString, | |
32919 | PseudoMetaFile mf=None, long arrowId=-1)</autodoc> | |
32920 | <paramlist> | |
32921 | <param name="type" type="int" default=""/> | |
32922 | <param name="end" type="int" default="ARROW_POSITION_END"/> | |
32923 | <param name="arrowSize" type="double" default="10.0"/> | |
32924 | <param name="xOffset" type="double" default="0.0"/> | |
32925 | <param name="name" type="String" default="wxPyEmptyString"/> | |
32926 | <param name="mf" type="PseudoMetaFile" default="NULL"/> | |
32927 | <param name="arrowId" type="long" default="-1"/> | |
32928 | </paramlist> | |
32929 | </method> | |
32930 | <method name="AddArrowOrdered" type="" overloaded="no"> | |
32931 | <autodoc>AddArrowOrdered(ArrowHead arrow, PyObject referenceList, int end)</autodoc> | |
32932 | <paramlist> | |
32933 | <param name="arrow" type="ArrowHead" default=""/> | |
32934 | <param name="referenceList" type="PyObject" default=""/> | |
32935 | <param name="end" type="int" default=""/> | |
32936 | </paramlist> | |
32937 | </method> | |
32938 | <method name="ClearArrow" type="bool" overloaded="no"> | |
32939 | <autodoc>ClearArrow(String name) -> bool</autodoc> | |
32940 | <paramlist> | |
32941 | <param name="name" type="String" default=""/> | |
32942 | </paramlist> | |
32943 | </method> | |
32944 | <method name="ClearArrowsAtPosition" type="" overloaded="no"> | |
32945 | <autodoc>ClearArrowsAtPosition(int position=-1)</autodoc> | |
32946 | <paramlist> | |
32947 | <param name="position" type="int" default="-1"/> | |
32948 | </paramlist> | |
32949 | </method> | |
32950 | <method name="DrawArrow" type="" overloaded="no"> | |
32951 | <autodoc>DrawArrow(DC dc, ArrowHead arrow, double xOffset, bool proportionalOffset)</autodoc> | |
32952 | <paramlist> | |
32953 | <param name="dc" type="DC" default=""/> | |
32954 | <param name="arrow" type="ArrowHead" default=""/> | |
32955 | <param name="xOffset" type="double" default=""/> | |
32956 | <param name="proportionalOffset" type="bool" default=""/> | |
32957 | </paramlist> | |
32958 | </method> | |
32959 | <method name="DeleteArrowHeadId" type="bool" overloaded="no"> | |
32960 | <autodoc>DeleteArrowHeadId(long arrowId) -> bool</autodoc> | |
32961 | <paramlist> | |
32962 | <param name="arrowId" type="long" default=""/> | |
32963 | </paramlist> | |
32964 | </method> | |
32965 | <method name="DeleteArrowHead" type="bool" overloaded="no"> | |
32966 | <autodoc>DeleteArrowHead(int position, String name) -> bool</autodoc> | |
32967 | <paramlist> | |
32968 | <param name="position" type="int" default=""/> | |
32969 | <param name="name" type="String" default=""/> | |
32970 | </paramlist> | |
32971 | </method> | |
32972 | <method name="DeleteLineControlPoint" type="bool" overloaded="no"> | |
32973 | <autodoc>DeleteLineControlPoint() -> bool</autodoc> | |
32974 | </method> | |
32975 | <method name="DrawArrows" type="" overloaded="no"> | |
32976 | <autodoc>DrawArrows(DC dc)</autodoc> | |
32977 | <paramlist> | |
32978 | <param name="dc" type="DC" default=""/> | |
32979 | </paramlist> | |
32980 | </method> | |
32981 | <method name="DrawRegion" type="" overloaded="no"> | |
32982 | <autodoc>DrawRegion(DC dc, ShapeRegion region, double x, double y)</autodoc> | |
32983 | <paramlist> | |
32984 | <param name="dc" type="DC" default=""/> | |
32985 | <param name="region" type="ShapeRegion" default=""/> | |
32986 | <param name="x" type="double" default=""/> | |
32987 | <param name="y" type="double" default=""/> | |
32988 | </paramlist> | |
32989 | </method> | |
32990 | <method name="EraseRegion" type="" overloaded="no"> | |
32991 | <autodoc>EraseRegion(DC dc, ShapeRegion region, double x, double y)</autodoc> | |
32992 | <paramlist> | |
32993 | <param name="dc" type="DC" default=""/> | |
32994 | <param name="region" type="ShapeRegion" default=""/> | |
32995 | <param name="x" type="double" default=""/> | |
32996 | <param name="y" type="double" default=""/> | |
32997 | </paramlist> | |
32998 | </method> | |
32999 | <method name="FindArrowHeadId" type="ArrowHead" overloaded="no"> | |
33000 | <autodoc>FindArrowHeadId(long arrowId) -> ArrowHead</autodoc> | |
33001 | <paramlist> | |
33002 | <param name="arrowId" type="long" default=""/> | |
33003 | </paramlist> | |
33004 | </method> | |
33005 | <method name="FindArrowHead" type="ArrowHead" overloaded="no"> | |
33006 | <autodoc>FindArrowHead(int position, String name) -> ArrowHead</autodoc> | |
33007 | <paramlist> | |
33008 | <param name="position" type="int" default=""/> | |
33009 | <param name="name" type="String" default=""/> | |
33010 | </paramlist> | |
33011 | </method> | |
33012 | <method name="FindLineEndPoints" type="" overloaded="no"> | |
33013 | <autodoc>FindLineEndPoints(double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)</autodoc> | |
33014 | <paramlist> | |
33015 | <param name="OUTPUT" type="double" default=""/> | |
33016 | <param name="OUTPUT" type="double" default=""/> | |
33017 | <param name="OUTPUT" type="double" default=""/> | |
33018 | <param name="OUTPUT" type="double" default=""/> | |
33019 | </paramlist> | |
33020 | </method> | |
33021 | <method name="FindLinePosition" type="int" overloaded="no"> | |
33022 | <autodoc>FindLinePosition(double x, double y) -> int</autodoc> | |
33023 | <paramlist> | |
33024 | <param name="x" type="double" default=""/> | |
33025 | <param name="y" type="double" default=""/> | |
33026 | </paramlist> | |
33027 | </method> | |
33028 | <method name="FindMinimumWidth" type="double" overloaded="no"> | |
33029 | <autodoc>FindMinimumWidth() -> double</autodoc> | |
33030 | </method> | |
33031 | <method name="FindNth" type="" overloaded="no"> | |
33032 | <autodoc>FindNth(PyShape image, int OUTPUT, int OUTPUT, bool incoming)</autodoc> | |
33033 | <paramlist> | |
33034 | <param name="image" type="PyShape" default=""/> | |
33035 | <param name="OUTPUT" type="int" default=""/> | |
33036 | <param name="OUTPUT" type="int" default=""/> | |
33037 | <param name="incoming" type="bool" default=""/> | |
33038 | </paramlist> | |
33039 | </method> | |
33040 | <method name="GetAttachmentFrom" type="int" overloaded="no"> | |
33041 | <autodoc>GetAttachmentFrom() -> int</autodoc> | |
33042 | </method> | |
33043 | <method name="GetAttachmentTo" type="int" overloaded="no"> | |
33044 | <autodoc>GetAttachmentTo() -> int</autodoc> | |
33045 | </method> | |
33046 | <method name="GetEnds" type="" overloaded="no"> | |
33047 | <autodoc>GetEnds(double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)</autodoc> | |
33048 | <paramlist> | |
33049 | <param name="OUTPUT" type="double" default=""/> | |
33050 | <param name="OUTPUT" type="double" default=""/> | |
33051 | <param name="OUTPUT" type="double" default=""/> | |
33052 | <param name="OUTPUT" type="double" default=""/> | |
33053 | </paramlist> | |
33054 | </method> | |
33055 | <method name="GetFrom" type="PyShape" overloaded="no"> | |
33056 | <autodoc>GetFrom() -> PyShape</autodoc> | |
33057 | </method> | |
33058 | <method name="GetLabelPosition" type="" overloaded="no"> | |
33059 | <autodoc>GetLabelPosition(int position, double OUTPUT, double OUTPUT)</autodoc> | |
33060 | <paramlist> | |
33061 | <param name="position" type="int" default=""/> | |
33062 | <param name="OUTPUT" type="double" default=""/> | |
33063 | <param name="OUTPUT" type="double" default=""/> | |
33064 | </paramlist> | |
33065 | </method> | |
33066 | <method name="GetNextControlPoint" type="RealPoint" overloaded="no"> | |
33067 | <autodoc>GetNextControlPoint(PyShape shape) -> RealPoint</autodoc> | |
33068 | <paramlist> | |
33069 | <param name="shape" type="PyShape" default=""/> | |
33070 | </paramlist> | |
33071 | </method> | |
33072 | <method name="GetTo" type="PyShape" overloaded="no"> | |
33073 | <autodoc>GetTo() -> PyShape</autodoc> | |
33074 | </method> | |
33075 | <method name="Initialise" type="" overloaded="no"> | |
33076 | <autodoc>Initialise()</autodoc> | |
33077 | </method> | |
33078 | <method name="InsertLineControlPoint" type="" overloaded="no"> | |
33079 | <autodoc>InsertLineControlPoint(DC dc)</autodoc> | |
33080 | <paramlist> | |
33081 | <param name="dc" type="DC" default=""/> | |
33082 | </paramlist> | |
33083 | </method> | |
33084 | <method name="IsEnd" type="bool" overloaded="no"> | |
33085 | <autodoc>IsEnd(PyShape shape) -> bool</autodoc> | |
33086 | <paramlist> | |
33087 | <param name="shape" type="PyShape" default=""/> | |
33088 | </paramlist> | |
33089 | </method> | |
33090 | <method name="IsSpline" type="bool" overloaded="no"> | |
33091 | <autodoc>IsSpline() -> bool</autodoc> | |
33092 | </method> | |
33093 | <method name="MakeLineControlPoints" type="" overloaded="no"> | |
33094 | <autodoc>MakeLineControlPoints(int n)</autodoc> | |
33095 | <paramlist> | |
33096 | <param name="n" type="int" default=""/> | |
33097 | </paramlist> | |
33098 | </method> | |
33099 | <method name="GetLineControlPoints" type="PyObject" overloaded="no"> | |
33100 | <autodoc>GetLineControlPoints() -> PyObject</autodoc> | |
33101 | </method> | |
33102 | <method name="SetAttachmentFrom" type="" overloaded="no"> | |
33103 | <autodoc>SetAttachmentFrom(int fromAttach)</autodoc> | |
33104 | <paramlist> | |
33105 | <param name="fromAttach" type="int" default=""/> | |
33106 | </paramlist> | |
33107 | </method> | |
33108 | <method name="SetAttachments" type="" overloaded="no"> | |
33109 | <autodoc>SetAttachments(int fromAttach, int toAttach)</autodoc> | |
33110 | <paramlist> | |
33111 | <param name="fromAttach" type="int" default=""/> | |
33112 | <param name="toAttach" type="int" default=""/> | |
33113 | </paramlist> | |
33114 | </method> | |
33115 | <method name="SetAttachmentTo" type="" overloaded="no"> | |
33116 | <autodoc>SetAttachmentTo(int toAttach)</autodoc> | |
33117 | <paramlist> | |
33118 | <param name="toAttach" type="int" default=""/> | |
33119 | </paramlist> | |
33120 | </method> | |
33121 | <method name="SetEnds" type="" overloaded="no"> | |
33122 | <autodoc>SetEnds(double x1, double y1, double x2, double y2)</autodoc> | |
33123 | <paramlist> | |
33124 | <param name="x1" type="double" default=""/> | |
33125 | <param name="y1" type="double" default=""/> | |
33126 | <param name="x2" type="double" default=""/> | |
33127 | <param name="y2" type="double" default=""/> | |
33128 | </paramlist> | |
33129 | </method> | |
33130 | <method name="SetFrom" type="" overloaded="no"> | |
33131 | <autodoc>SetFrom(PyShape object)</autodoc> | |
33132 | <paramlist> | |
33133 | <param name="object" type="PyShape" default=""/> | |
33134 | </paramlist> | |
33135 | </method> | |
33136 | <method name="SetIgnoreOffsets" type="" overloaded="no"> | |
33137 | <autodoc>SetIgnoreOffsets(bool ignore)</autodoc> | |
33138 | <paramlist> | |
33139 | <param name="ignore" type="bool" default=""/> | |
33140 | </paramlist> | |
33141 | </method> | |
33142 | <method name="SetSpline" type="" overloaded="no"> | |
33143 | <autodoc>SetSpline(bool spline)</autodoc> | |
33144 | <paramlist> | |
33145 | <param name="spline" type="bool" default=""/> | |
33146 | </paramlist> | |
33147 | </method> | |
33148 | <method name="SetTo" type="" overloaded="no"> | |
33149 | <autodoc>SetTo(PyShape object)</autodoc> | |
33150 | <paramlist> | |
33151 | <param name="object" type="PyShape" default=""/> | |
33152 | </paramlist> | |
33153 | </method> | |
33154 | <method name="Straighten" type="" overloaded="no"> | |
33155 | <autodoc>Straighten(DC dc=None)</autodoc> | |
33156 | <paramlist> | |
33157 | <param name="dc" type="DC" default="NULL"/> | |
33158 | </paramlist> | |
33159 | </method> | |
33160 | <method name="Unlink" type="" overloaded="no"> | |
33161 | <autodoc>Unlink()</autodoc> | |
33162 | </method> | |
33163 | <method name="SetAlignmentOrientation" type="" overloaded="no"> | |
33164 | <autodoc>SetAlignmentOrientation(bool isEnd, bool isHoriz)</autodoc> | |
33165 | <paramlist> | |
33166 | <param name="isEnd" type="bool" default=""/> | |
33167 | <param name="isHoriz" type="bool" default=""/> | |
33168 | </paramlist> | |
33169 | </method> | |
33170 | <method name="SetAlignmentType" type="" overloaded="no"> | |
33171 | <autodoc>SetAlignmentType(bool isEnd, int alignType)</autodoc> | |
33172 | <paramlist> | |
33173 | <param name="isEnd" type="bool" default=""/> | |
33174 | <param name="alignType" type="int" default=""/> | |
33175 | </paramlist> | |
33176 | </method> | |
33177 | <method name="GetAlignmentOrientation" type="bool" overloaded="no"> | |
33178 | <autodoc>GetAlignmentOrientation(bool isEnd) -> bool</autodoc> | |
33179 | <paramlist> | |
33180 | <param name="isEnd" type="bool" default=""/> | |
33181 | </paramlist> | |
33182 | </method> | |
33183 | <method name="GetAlignmentType" type="int" overloaded="no"> | |
33184 | <autodoc>GetAlignmentType(bool isEnd) -> int</autodoc> | |
33185 | <paramlist> | |
33186 | <param name="isEnd" type="bool" default=""/> | |
33187 | </paramlist> | |
33188 | </method> | |
33189 | <method name="GetAlignmentStart" type="int" overloaded="no"> | |
33190 | <autodoc>GetAlignmentStart() -> int</autodoc> | |
33191 | </method> | |
33192 | <method name="GetAlignmentEnd" type="int" overloaded="no"> | |
33193 | <autodoc>GetAlignmentEnd() -> int</autodoc> | |
33194 | </method> | |
33195 | <method name="base_OnDraw" type="" overloaded="no"> | |
33196 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
33197 | <paramlist> | |
33198 | <param name="dc" type="DC" default=""/> | |
33199 | </paramlist> | |
33200 | </method> | |
33201 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
33202 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
33203 | <paramlist> | |
33204 | <param name="dc" type="DC" default=""/> | |
33205 | </paramlist> | |
33206 | </method> | |
33207 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
33208 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
33209 | <paramlist> | |
33210 | <param name="dc" type="DC" default=""/> | |
33211 | <param name="erase" type="bool" default="FALSE"/> | |
33212 | </paramlist> | |
33213 | </method> | |
33214 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
33215 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
33216 | <paramlist> | |
33217 | <param name="dc" type="DC" default=""/> | |
33218 | </paramlist> | |
33219 | </method> | |
33220 | <method name="base_OnErase" type="" overloaded="no"> | |
33221 | <autodoc>base_OnErase(DC dc)</autodoc> | |
33222 | <paramlist> | |
33223 | <param name="dc" type="DC" default=""/> | |
33224 | </paramlist> | |
33225 | </method> | |
33226 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
33227 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
33228 | <paramlist> | |
33229 | <param name="dc" type="DC" default=""/> | |
33230 | </paramlist> | |
33231 | </method> | |
33232 | <method name="base_OnHighlight" type="" overloaded="no"> | |
33233 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
33234 | <paramlist> | |
33235 | <param name="dc" type="DC" default=""/> | |
33236 | </paramlist> | |
33237 | </method> | |
33238 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
33239 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33240 | <paramlist> | |
33241 | <param name="x" type="double" default=""/> | |
33242 | <param name="y" type="double" default=""/> | |
33243 | <param name="keys" type="int" default="0"/> | |
33244 | <param name="attachment" type="int" default="0"/> | |
33245 | </paramlist> | |
33246 | </method> | |
33247 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
33248 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33249 | <paramlist> | |
33250 | <param name="x" type="double" default=""/> | |
33251 | <param name="y" type="double" default=""/> | |
33252 | <param name="keys" type="int" default="0"/> | |
33253 | <param name="attachment" type="int" default="0"/> | |
33254 | </paramlist> | |
33255 | </method> | |
33256 | <method name="base_OnRightClick" type="" overloaded="no"> | |
33257 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33258 | <paramlist> | |
33259 | <param name="x" type="double" default=""/> | |
33260 | <param name="y" type="double" default=""/> | |
33261 | <param name="keys" type="int" default="0"/> | |
33262 | <param name="attachment" type="int" default="0"/> | |
33263 | </paramlist> | |
33264 | </method> | |
33265 | <method name="base_OnSize" type="" overloaded="no"> | |
33266 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
33267 | <paramlist> | |
33268 | <param name="x" type="double" default=""/> | |
33269 | <param name="y" type="double" default=""/> | |
33270 | </paramlist> | |
33271 | </method> | |
33272 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
33273 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
33274 | bool display=True) -> bool</autodoc> | |
33275 | <paramlist> | |
33276 | <param name="dc" type="DC" default=""/> | |
33277 | <param name="x" type="double" default=""/> | |
33278 | <param name="y" type="double" default=""/> | |
33279 | <param name="old_x" type="double" default=""/> | |
33280 | <param name="old_y" type="double" default=""/> | |
33281 | <param name="display" type="bool" default="True"/> | |
33282 | </paramlist> | |
33283 | </method> | |
33284 | <method name="base_OnMovePost" type="" overloaded="no"> | |
33285 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
33286 | bool display=True)</autodoc> | |
33287 | <paramlist> | |
33288 | <param name="dc" type="DC" default=""/> | |
33289 | <param name="x" type="double" default=""/> | |
33290 | <param name="y" type="double" default=""/> | |
33291 | <param name="old_x" type="double" default=""/> | |
33292 | <param name="old_y" type="double" default=""/> | |
33293 | <param name="display" type="bool" default="True"/> | |
33294 | </paramlist> | |
33295 | </method> | |
33296 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
33297 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
33298 | <paramlist> | |
33299 | <param name="draw" type="bool" default=""/> | |
33300 | <param name="x" type="double" default=""/> | |
33301 | <param name="y" type="double" default=""/> | |
33302 | <param name="keys" type="int" default="0"/> | |
33303 | <param name="attachment" type="int" default="0"/> | |
33304 | </paramlist> | |
33305 | </method> | |
33306 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
33307 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33308 | <paramlist> | |
33309 | <param name="x" type="double" default=""/> | |
33310 | <param name="y" type="double" default=""/> | |
33311 | <param name="keys" type="int" default="0"/> | |
33312 | <param name="attachment" type="int" default="0"/> | |
33313 | </paramlist> | |
33314 | </method> | |
33315 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
33316 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33317 | <paramlist> | |
33318 | <param name="x" type="double" default=""/> | |
33319 | <param name="y" type="double" default=""/> | |
33320 | <param name="keys" type="int" default="0"/> | |
33321 | <param name="attachment" type="int" default="0"/> | |
33322 | </paramlist> | |
33323 | </method> | |
33324 | <method name="base_OnDragRight" type="" overloaded="no"> | |
33325 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
33326 | <paramlist> | |
33327 | <param name="draw" type="bool" default=""/> | |
33328 | <param name="x" type="double" default=""/> | |
33329 | <param name="y" type="double" default=""/> | |
33330 | <param name="keys" type="int" default="0"/> | |
33331 | <param name="attachment" type="int" default="0"/> | |
33332 | </paramlist> | |
33333 | </method> | |
33334 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
33335 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33336 | <paramlist> | |
33337 | <param name="x" type="double" default=""/> | |
33338 | <param name="y" type="double" default=""/> | |
33339 | <param name="keys" type="int" default="0"/> | |
33340 | <param name="attachment" type="int" default="0"/> | |
33341 | </paramlist> | |
33342 | </method> | |
33343 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
33344 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33345 | <paramlist> | |
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_OnDrawOutline" type="" overloaded="no"> | |
33353 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
33354 | <paramlist> | |
33355 | <param name="dc" type="DC" default=""/> | |
33356 | <param name="x" type="double" default=""/> | |
33357 | <param name="y" type="double" default=""/> | |
33358 | <param name="w" type="double" default=""/> | |
33359 | <param name="h" type="double" default=""/> | |
33360 | </paramlist> | |
33361 | </method> | |
33362 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
33363 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
33364 | <paramlist> | |
33365 | <param name="dc" type="DC" default=""/> | |
33366 | </paramlist> | |
33367 | </method> | |
33368 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
33369 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
33370 | <paramlist> | |
33371 | <param name="dc" type="DC" default=""/> | |
33372 | </paramlist> | |
33373 | </method> | |
33374 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
33375 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
33376 | <paramlist> | |
33377 | <param name="dc" type="DC" default=""/> | |
33378 | <param name="moveControlPoints" type="bool" default="True"/> | |
33379 | </paramlist> | |
33380 | </method> | |
33381 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
33382 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
33383 | int attachment=0)</autodoc> | |
33384 | <paramlist> | |
33385 | <param name="pt" type="PyControlPoint" default=""/> | |
33386 | <param name="draw" type="bool" default=""/> | |
33387 | <param name="x" type="double" default=""/> | |
33388 | <param name="y" type="double" default=""/> | |
33389 | <param name="keys" type="int" default="0"/> | |
33390 | <param name="attachment" type="int" default="0"/> | |
33391 | </paramlist> | |
33392 | </method> | |
33393 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
33394 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
33395 | int attachment=0)</autodoc> | |
33396 | <paramlist> | |
33397 | <param name="pt" type="PyControlPoint" default=""/> | |
33398 | <param name="x" type="double" default=""/> | |
33399 | <param name="y" type="double" default=""/> | |
33400 | <param name="keys" type="int" default="0"/> | |
33401 | <param name="attachment" type="int" default="0"/> | |
33402 | </paramlist> | |
33403 | </method> | |
33404 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
33405 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
33406 | int attachment=0)</autodoc> | |
33407 | <paramlist> | |
33408 | <param name="pt" type="PyControlPoint" default=""/> | |
33409 | <param name="x" type="double" default=""/> | |
33410 | <param name="y" type="double" default=""/> | |
33411 | <param name="keys" type="int" default="0"/> | |
33412 | <param name="attachment" type="int" default="0"/> | |
33413 | </paramlist> | |
33414 | </method> | |
33415 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
33416 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
33417 | <paramlist> | |
33418 | <param name="w" type="double" default=""/> | |
33419 | <param name="h" type="double" default=""/> | |
33420 | </paramlist> | |
33421 | </method> | |
33422 | <method name="base_OnEndSize" type="" overloaded="no"> | |
33423 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
33424 | <paramlist> | |
33425 | <param name="w" type="double" default=""/> | |
33426 | <param name="h" type="double" default=""/> | |
33427 | </paramlist> | |
33428 | </method> | |
33429 | </class> | |
33430 | <class name="PyPolygonShape" oldname="wxPyPolygonShape" module="ogl"> | |
33431 | <baseclass name="PyShape"/> | |
33432 | <constructor name="PyPolygonShape" overloaded="no"> | |
33433 | <autodoc>__init__() -> PyPolygonShape</autodoc> | |
33434 | </constructor> | |
33435 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
33436 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
33437 | <paramlist> | |
33438 | <param name="self" type="PyObject" default=""/> | |
33439 | <param name="_class" type="PyObject" default=""/> | |
33440 | </paramlist> | |
33441 | </method> | |
33442 | <method name="Create" type="PyObject" overloaded="no"> | |
33443 | <autodoc>Create(PyObject points) -> PyObject</autodoc> | |
33444 | <paramlist> | |
33445 | <param name="points" type="PyObject" default=""/> | |
33446 | </paramlist> | |
33447 | </method> | |
33448 | <method name="AddPolygonPoint" type="" overloaded="no"> | |
33449 | <autodoc>AddPolygonPoint(int pos=0)</autodoc> | |
33450 | <paramlist> | |
33451 | <param name="pos" type="int" default="0"/> | |
33452 | </paramlist> | |
33453 | </method> | |
33454 | <method name="CalculatePolygonCentre" type="" overloaded="no"> | |
33455 | <autodoc>CalculatePolygonCentre()</autodoc> | |
33456 | </method> | |
33457 | <method name="DeletePolygonPoint" type="" overloaded="no"> | |
33458 | <autodoc>DeletePolygonPoint(int pos=0)</autodoc> | |
33459 | <paramlist> | |
33460 | <param name="pos" type="int" default="0"/> | |
33461 | </paramlist> | |
33462 | </method> | |
33463 | <method name="GetPoints" type="PyObject" overloaded="no"> | |
33464 | <autodoc>GetPoints() -> PyObject</autodoc> | |
33465 | </method> | |
33466 | <method name="GetOriginalPoints" type="PyObject" overloaded="no"> | |
33467 | <autodoc>GetOriginalPoints() -> PyObject</autodoc> | |
33468 | </method> | |
33469 | <method name="GetOriginalWidth" type="double" overloaded="no"> | |
33470 | <autodoc>GetOriginalWidth() -> double</autodoc> | |
33471 | </method> | |
33472 | <method name="GetOriginalHeight" type="double" overloaded="no"> | |
33473 | <autodoc>GetOriginalHeight() -> double</autodoc> | |
33474 | </method> | |
33475 | <method name="SetOriginalWidth" type="" overloaded="no"> | |
33476 | <autodoc>SetOriginalWidth(double w)</autodoc> | |
33477 | <paramlist> | |
33478 | <param name="w" type="double" default=""/> | |
33479 | </paramlist> | |
33480 | </method> | |
33481 | <method name="SetOriginalHeight" type="" overloaded="no"> | |
33482 | <autodoc>SetOriginalHeight(double h)</autodoc> | |
33483 | <paramlist> | |
33484 | <param name="h" type="double" default=""/> | |
33485 | </paramlist> | |
33486 | </method> | |
33487 | <method name="UpdateOriginalPoints" type="" overloaded="no"> | |
33488 | <autodoc>UpdateOriginalPoints()</autodoc> | |
33489 | </method> | |
33490 | <method name="base_OnDraw" type="" overloaded="no"> | |
33491 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
33492 | <paramlist> | |
33493 | <param name="dc" type="DC" default=""/> | |
33494 | </paramlist> | |
33495 | </method> | |
33496 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
33497 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
33498 | <paramlist> | |
33499 | <param name="dc" type="DC" default=""/> | |
33500 | </paramlist> | |
33501 | </method> | |
33502 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
33503 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
33504 | <paramlist> | |
33505 | <param name="dc" type="DC" default=""/> | |
33506 | <param name="erase" type="bool" default="FALSE"/> | |
33507 | </paramlist> | |
33508 | </method> | |
33509 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
33510 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
33511 | <paramlist> | |
33512 | <param name="dc" type="DC" default=""/> | |
33513 | </paramlist> | |
33514 | </method> | |
33515 | <method name="base_OnErase" type="" overloaded="no"> | |
33516 | <autodoc>base_OnErase(DC dc)</autodoc> | |
33517 | <paramlist> | |
33518 | <param name="dc" type="DC" default=""/> | |
33519 | </paramlist> | |
33520 | </method> | |
33521 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
33522 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
33523 | <paramlist> | |
33524 | <param name="dc" type="DC" default=""/> | |
33525 | </paramlist> | |
33526 | </method> | |
33527 | <method name="base_OnHighlight" type="" overloaded="no"> | |
33528 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
33529 | <paramlist> | |
33530 | <param name="dc" type="DC" default=""/> | |
33531 | </paramlist> | |
33532 | </method> | |
33533 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
33534 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33535 | <paramlist> | |
33536 | <param name="x" type="double" default=""/> | |
33537 | <param name="y" type="double" default=""/> | |
33538 | <param name="keys" type="int" default="0"/> | |
33539 | <param name="attachment" type="int" default="0"/> | |
33540 | </paramlist> | |
33541 | </method> | |
33542 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
33543 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33544 | <paramlist> | |
33545 | <param name="x" type="double" default=""/> | |
33546 | <param name="y" type="double" default=""/> | |
33547 | <param name="keys" type="int" default="0"/> | |
33548 | <param name="attachment" type="int" default="0"/> | |
33549 | </paramlist> | |
33550 | </method> | |
33551 | <method name="base_OnRightClick" type="" overloaded="no"> | |
33552 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33553 | <paramlist> | |
33554 | <param name="x" type="double" default=""/> | |
33555 | <param name="y" type="double" default=""/> | |
33556 | <param name="keys" type="int" default="0"/> | |
33557 | <param name="attachment" type="int" default="0"/> | |
33558 | </paramlist> | |
33559 | </method> | |
33560 | <method name="base_OnSize" type="" overloaded="no"> | |
33561 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
33562 | <paramlist> | |
33563 | <param name="x" type="double" default=""/> | |
33564 | <param name="y" type="double" default=""/> | |
33565 | </paramlist> | |
33566 | </method> | |
33567 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
33568 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
33569 | bool display=True) -> bool</autodoc> | |
33570 | <paramlist> | |
33571 | <param name="dc" type="DC" default=""/> | |
33572 | <param name="x" type="double" default=""/> | |
33573 | <param name="y" type="double" default=""/> | |
33574 | <param name="old_x" type="double" default=""/> | |
33575 | <param name="old_y" type="double" default=""/> | |
33576 | <param name="display" type="bool" default="True"/> | |
33577 | </paramlist> | |
33578 | </method> | |
33579 | <method name="base_OnMovePost" type="" overloaded="no"> | |
33580 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
33581 | bool display=True)</autodoc> | |
33582 | <paramlist> | |
33583 | <param name="dc" type="DC" default=""/> | |
33584 | <param name="x" type="double" default=""/> | |
33585 | <param name="y" type="double" default=""/> | |
33586 | <param name="old_x" type="double" default=""/> | |
33587 | <param name="old_y" type="double" default=""/> | |
33588 | <param name="display" type="bool" default="True"/> | |
33589 | </paramlist> | |
33590 | </method> | |
33591 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
33592 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
33593 | <paramlist> | |
33594 | <param name="draw" type="bool" default=""/> | |
33595 | <param name="x" type="double" default=""/> | |
33596 | <param name="y" type="double" default=""/> | |
33597 | <param name="keys" type="int" default="0"/> | |
33598 | <param name="attachment" type="int" default="0"/> | |
33599 | </paramlist> | |
33600 | </method> | |
33601 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
33602 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33603 | <paramlist> | |
33604 | <param name="x" type="double" default=""/> | |
33605 | <param name="y" type="double" default=""/> | |
33606 | <param name="keys" type="int" default="0"/> | |
33607 | <param name="attachment" type="int" default="0"/> | |
33608 | </paramlist> | |
33609 | </method> | |
33610 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
33611 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33612 | <paramlist> | |
33613 | <param name="x" type="double" default=""/> | |
33614 | <param name="y" type="double" default=""/> | |
33615 | <param name="keys" type="int" default="0"/> | |
33616 | <param name="attachment" type="int" default="0"/> | |
33617 | </paramlist> | |
33618 | </method> | |
33619 | <method name="base_OnDragRight" type="" overloaded="no"> | |
33620 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
33621 | <paramlist> | |
33622 | <param name="draw" type="bool" default=""/> | |
33623 | <param name="x" type="double" default=""/> | |
33624 | <param name="y" type="double" default=""/> | |
33625 | <param name="keys" type="int" default="0"/> | |
33626 | <param name="attachment" type="int" default="0"/> | |
33627 | </paramlist> | |
33628 | </method> | |
33629 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
33630 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33631 | <paramlist> | |
33632 | <param name="x" type="double" default=""/> | |
33633 | <param name="y" type="double" default=""/> | |
33634 | <param name="keys" type="int" default="0"/> | |
33635 | <param name="attachment" type="int" default="0"/> | |
33636 | </paramlist> | |
33637 | </method> | |
33638 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
33639 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33640 | <paramlist> | |
33641 | <param name="x" type="double" default=""/> | |
33642 | <param name="y" type="double" default=""/> | |
33643 | <param name="keys" type="int" default="0"/> | |
33644 | <param name="attachment" type="int" default="0"/> | |
33645 | </paramlist> | |
33646 | </method> | |
33647 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
33648 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
33649 | <paramlist> | |
33650 | <param name="dc" type="DC" default=""/> | |
33651 | <param name="x" type="double" default=""/> | |
33652 | <param name="y" type="double" default=""/> | |
33653 | <param name="w" type="double" default=""/> | |
33654 | <param name="h" type="double" default=""/> | |
33655 | </paramlist> | |
33656 | </method> | |
33657 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
33658 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
33659 | <paramlist> | |
33660 | <param name="dc" type="DC" default=""/> | |
33661 | </paramlist> | |
33662 | </method> | |
33663 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
33664 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
33665 | <paramlist> | |
33666 | <param name="dc" type="DC" default=""/> | |
33667 | </paramlist> | |
33668 | </method> | |
33669 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
33670 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
33671 | <paramlist> | |
33672 | <param name="dc" type="DC" default=""/> | |
33673 | <param name="moveControlPoints" type="bool" default="True"/> | |
33674 | </paramlist> | |
33675 | </method> | |
33676 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
33677 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
33678 | int attachment=0)</autodoc> | |
33679 | <paramlist> | |
33680 | <param name="pt" type="PyControlPoint" default=""/> | |
33681 | <param name="draw" type="bool" default=""/> | |
33682 | <param name="x" type="double" default=""/> | |
33683 | <param name="y" type="double" default=""/> | |
33684 | <param name="keys" type="int" default="0"/> | |
33685 | <param name="attachment" type="int" default="0"/> | |
33686 | </paramlist> | |
33687 | </method> | |
33688 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
33689 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
33690 | int attachment=0)</autodoc> | |
33691 | <paramlist> | |
33692 | <param name="pt" type="PyControlPoint" default=""/> | |
33693 | <param name="x" type="double" default=""/> | |
33694 | <param name="y" type="double" default=""/> | |
33695 | <param name="keys" type="int" default="0"/> | |
33696 | <param name="attachment" type="int" default="0"/> | |
33697 | </paramlist> | |
33698 | </method> | |
33699 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
33700 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
33701 | int attachment=0)</autodoc> | |
33702 | <paramlist> | |
33703 | <param name="pt" type="PyControlPoint" default=""/> | |
33704 | <param name="x" type="double" default=""/> | |
33705 | <param name="y" type="double" default=""/> | |
33706 | <param name="keys" type="int" default="0"/> | |
33707 | <param name="attachment" type="int" default="0"/> | |
33708 | </paramlist> | |
33709 | </method> | |
33710 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
33711 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
33712 | <paramlist> | |
33713 | <param name="w" type="double" default=""/> | |
33714 | <param name="h" type="double" default=""/> | |
33715 | </paramlist> | |
33716 | </method> | |
33717 | <method name="base_OnEndSize" type="" overloaded="no"> | |
33718 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
33719 | <paramlist> | |
33720 | <param name="w" type="double" default=""/> | |
33721 | <param name="h" type="double" default=""/> | |
33722 | </paramlist> | |
33723 | </method> | |
33724 | </class> | |
33725 | <class name="PyTextShape" oldname="wxPyTextShape" module="ogl"> | |
33726 | <baseclass name="PyRectangleShape"/> | |
33727 | <constructor name="PyTextShape" overloaded="no"> | |
33728 | <autodoc>__init__(double width=0.0, double height=0.0) -> PyTextShape</autodoc> | |
33729 | <paramlist> | |
33730 | <param name="width" type="double" default="0.0"/> | |
33731 | <param name="height" type="double" default="0.0"/> | |
33732 | </paramlist> | |
33733 | </constructor> | |
33734 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
33735 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
33736 | <paramlist> | |
33737 | <param name="self" type="PyObject" default=""/> | |
33738 | <param name="_class" type="PyObject" default=""/> | |
33739 | </paramlist> | |
33740 | </method> | |
33741 | <method name="base_OnDelete" type="" overloaded="no"> | |
33742 | <autodoc>base_OnDelete()</autodoc> | |
33743 | </method> | |
33744 | <method name="base_OnDraw" type="" overloaded="no"> | |
33745 | <autodoc>base_OnDraw(DC dc)</autodoc> | |
33746 | <paramlist> | |
33747 | <param name="dc" type="DC" default=""/> | |
33748 | </paramlist> | |
33749 | </method> | |
33750 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
33751 | <autodoc>base_OnDrawContents(DC dc)</autodoc> | |
33752 | <paramlist> | |
33753 | <param name="dc" type="DC" default=""/> | |
33754 | </paramlist> | |
33755 | </method> | |
33756 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
33757 | <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc> | |
33758 | <paramlist> | |
33759 | <param name="dc" type="DC" default=""/> | |
33760 | <param name="erase" type="bool" default="FALSE"/> | |
33761 | </paramlist> | |
33762 | </method> | |
33763 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
33764 | <autodoc>base_OnMoveLinks(DC dc)</autodoc> | |
33765 | <paramlist> | |
33766 | <param name="dc" type="DC" default=""/> | |
33767 | </paramlist> | |
33768 | </method> | |
33769 | <method name="base_OnErase" type="" overloaded="no"> | |
33770 | <autodoc>base_OnErase(DC dc)</autodoc> | |
33771 | <paramlist> | |
33772 | <param name="dc" type="DC" default=""/> | |
33773 | </paramlist> | |
33774 | </method> | |
33775 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
33776 | <autodoc>base_OnEraseContents(DC dc)</autodoc> | |
33777 | <paramlist> | |
33778 | <param name="dc" type="DC" default=""/> | |
33779 | </paramlist> | |
33780 | </method> | |
33781 | <method name="base_OnHighlight" type="" overloaded="no"> | |
33782 | <autodoc>base_OnHighlight(DC dc)</autodoc> | |
33783 | <paramlist> | |
33784 | <param name="dc" type="DC" default=""/> | |
33785 | </paramlist> | |
33786 | </method> | |
33787 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
33788 | <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33789 | <paramlist> | |
33790 | <param name="x" type="double" default=""/> | |
33791 | <param name="y" type="double" default=""/> | |
33792 | <param name="keys" type="int" default="0"/> | |
33793 | <param name="attachment" type="int" default="0"/> | |
33794 | </paramlist> | |
33795 | </method> | |
33796 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
33797 | <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33798 | <paramlist> | |
33799 | <param name="x" type="double" default=""/> | |
33800 | <param name="y" type="double" default=""/> | |
33801 | <param name="keys" type="int" default="0"/> | |
33802 | <param name="attachment" type="int" default="0"/> | |
33803 | </paramlist> | |
33804 | </method> | |
33805 | <method name="base_OnRightClick" type="" overloaded="no"> | |
33806 | <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33807 | <paramlist> | |
33808 | <param name="x" type="double" default=""/> | |
33809 | <param name="y" type="double" default=""/> | |
33810 | <param name="keys" type="int" default="0"/> | |
33811 | <param name="attachment" type="int" default="0"/> | |
33812 | </paramlist> | |
33813 | </method> | |
33814 | <method name="base_OnSize" type="" overloaded="no"> | |
33815 | <autodoc>base_OnSize(double x, double y)</autodoc> | |
33816 | <paramlist> | |
33817 | <param name="x" type="double" default=""/> | |
33818 | <param name="y" type="double" default=""/> | |
33819 | </paramlist> | |
33820 | </method> | |
33821 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
33822 | <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, | |
33823 | bool display=True) -> bool</autodoc> | |
33824 | <paramlist> | |
33825 | <param name="dc" type="DC" default=""/> | |
33826 | <param name="x" type="double" default=""/> | |
33827 | <param name="y" type="double" default=""/> | |
33828 | <param name="old_x" type="double" default=""/> | |
33829 | <param name="old_y" type="double" default=""/> | |
33830 | <param name="display" type="bool" default="True"/> | |
33831 | </paramlist> | |
33832 | </method> | |
33833 | <method name="base_OnMovePost" type="" overloaded="no"> | |
33834 | <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, | |
33835 | bool display=True)</autodoc> | |
33836 | <paramlist> | |
33837 | <param name="dc" type="DC" default=""/> | |
33838 | <param name="x" type="double" default=""/> | |
33839 | <param name="y" type="double" default=""/> | |
33840 | <param name="old_x" type="double" default=""/> | |
33841 | <param name="old_y" type="double" default=""/> | |
33842 | <param name="display" type="bool" default="True"/> | |
33843 | </paramlist> | |
33844 | </method> | |
33845 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
33846 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
33847 | <paramlist> | |
33848 | <param name="draw" type="bool" default=""/> | |
33849 | <param name="x" type="double" default=""/> | |
33850 | <param name="y" type="double" default=""/> | |
33851 | <param name="keys" type="int" default="0"/> | |
33852 | <param name="attachment" type="int" default="0"/> | |
33853 | </paramlist> | |
33854 | </method> | |
33855 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
33856 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33857 | <paramlist> | |
33858 | <param name="x" type="double" default=""/> | |
33859 | <param name="y" type="double" default=""/> | |
33860 | <param name="keys" type="int" default="0"/> | |
33861 | <param name="attachment" type="int" default="0"/> | |
33862 | </paramlist> | |
33863 | </method> | |
33864 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
33865 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33866 | <paramlist> | |
33867 | <param name="x" type="double" default=""/> | |
33868 | <param name="y" type="double" default=""/> | |
33869 | <param name="keys" type="int" default="0"/> | |
33870 | <param name="attachment" type="int" default="0"/> | |
33871 | </paramlist> | |
33872 | </method> | |
33873 | <method name="base_OnDragRight" type="" overloaded="no"> | |
33874 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> | |
33875 | <paramlist> | |
33876 | <param name="draw" type="bool" default=""/> | |
33877 | <param name="x" type="double" default=""/> | |
33878 | <param name="y" type="double" default=""/> | |
33879 | <param name="keys" type="int" default="0"/> | |
33880 | <param name="attachment" type="int" default="0"/> | |
33881 | </paramlist> | |
33882 | </method> | |
33883 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
33884 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33885 | <paramlist> | |
33886 | <param name="x" type="double" default=""/> | |
33887 | <param name="y" type="double" default=""/> | |
33888 | <param name="keys" type="int" default="0"/> | |
33889 | <param name="attachment" type="int" default="0"/> | |
33890 | </paramlist> | |
33891 | </method> | |
33892 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
33893 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc> | |
33894 | <paramlist> | |
33895 | <param name="x" type="double" default=""/> | |
33896 | <param name="y" type="double" default=""/> | |
33897 | <param name="keys" type="int" default="0"/> | |
33898 | <param name="attachment" type="int" default="0"/> | |
33899 | </paramlist> | |
33900 | </method> | |
33901 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
33902 | <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc> | |
33903 | <paramlist> | |
33904 | <param name="dc" type="DC" default=""/> | |
33905 | <param name="x" type="double" default=""/> | |
33906 | <param name="y" type="double" default=""/> | |
33907 | <param name="w" type="double" default=""/> | |
33908 | <param name="h" type="double" default=""/> | |
33909 | </paramlist> | |
33910 | </method> | |
33911 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
33912 | <autodoc>base_OnDrawControlPoints(DC dc)</autodoc> | |
33913 | <paramlist> | |
33914 | <param name="dc" type="DC" default=""/> | |
33915 | </paramlist> | |
33916 | </method> | |
33917 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
33918 | <autodoc>base_OnEraseControlPoints(DC dc)</autodoc> | |
33919 | <paramlist> | |
33920 | <param name="dc" type="DC" default=""/> | |
33921 | </paramlist> | |
33922 | </method> | |
33923 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
33924 | <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc> | |
33925 | <paramlist> | |
33926 | <param name="dc" type="DC" default=""/> | |
33927 | <param name="moveControlPoints" type="bool" default="True"/> | |
33928 | </paramlist> | |
33929 | </method> | |
33930 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
33931 | <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, | |
33932 | int attachment=0)</autodoc> | |
33933 | <paramlist> | |
33934 | <param name="pt" type="PyControlPoint" default=""/> | |
33935 | <param name="draw" type="bool" default=""/> | |
33936 | <param name="x" type="double" default=""/> | |
33937 | <param name="y" type="double" default=""/> | |
33938 | <param name="keys" type="int" default="0"/> | |
33939 | <param name="attachment" type="int" default="0"/> | |
33940 | </paramlist> | |
33941 | </method> | |
33942 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
33943 | <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
33944 | int attachment=0)</autodoc> | |
33945 | <paramlist> | |
33946 | <param name="pt" type="PyControlPoint" default=""/> | |
33947 | <param name="x" type="double" default=""/> | |
33948 | <param name="y" type="double" default=""/> | |
33949 | <param name="keys" type="int" default="0"/> | |
33950 | <param name="attachment" type="int" default="0"/> | |
33951 | </paramlist> | |
33952 | </method> | |
33953 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
33954 | <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, | |
33955 | int attachment=0)</autodoc> | |
33956 | <paramlist> | |
33957 | <param name="pt" type="PyControlPoint" default=""/> | |
33958 | <param name="x" type="double" default=""/> | |
33959 | <param name="y" type="double" default=""/> | |
33960 | <param name="keys" type="int" default="0"/> | |
33961 | <param name="attachment" type="int" default="0"/> | |
33962 | </paramlist> | |
33963 | </method> | |
33964 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
33965 | <autodoc>base_OnBeginSize(double w, double h)</autodoc> | |
33966 | <paramlist> | |
33967 | <param name="w" type="double" default=""/> | |
33968 | <param name="h" type="double" default=""/> | |
33969 | </paramlist> | |
33970 | </method> | |
33971 | <method name="base_OnEndSize" type="" overloaded="no"> | |
33972 | <autodoc>base_OnEndSize(double w, double h)</autodoc> | |
33973 | <paramlist> | |
33974 | <param name="w" type="double" default=""/> | |
33975 | <param name="h" type="double" default=""/> | |
33976 | </paramlist> | |
33977 | </method> | |
33978 | </class> | |
33979 | <class name="Diagram" oldname="wxDiagram" module="ogl"> | |
33980 | <baseclass name="Object"/> | |
33981 | <constructor name="Diagram" overloaded="no"> | |
33982 | <autodoc>__init__() -> Diagram</autodoc> | |
33983 | </constructor> | |
33984 | <method name="AddShape" type="" overloaded="no"> | |
33985 | <autodoc>AddShape(PyShape shape, PyShape addAfter=None)</autodoc> | |
33986 | <paramlist> | |
33987 | <param name="shape" type="PyShape" default=""/> | |
33988 | <param name="addAfter" type="PyShape" default="NULL"/> | |
33989 | </paramlist> | |
33990 | </method> | |
33991 | <method name="Clear" type="" overloaded="no"> | |
33992 | <autodoc>Clear(DC dc)</autodoc> | |
33993 | <paramlist> | |
33994 | <param name="dc" type="DC" default=""/> | |
33995 | </paramlist> | |
33996 | </method> | |
33997 | <method name="DeleteAllShapes" type="" overloaded="no"> | |
33998 | <autodoc>DeleteAllShapes()</autodoc> | |
33999 | </method> | |
34000 | <method name="DrawOutline" type="" overloaded="no"> | |
34001 | <autodoc>DrawOutline(DC dc, double x1, double y1, double x2, double y2)</autodoc> | |
34002 | <paramlist> | |
34003 | <param name="dc" type="DC" default=""/> | |
34004 | <param name="x1" type="double" default=""/> | |
34005 | <param name="y1" type="double" default=""/> | |
34006 | <param name="x2" type="double" default=""/> | |
34007 | <param name="y2" type="double" default=""/> | |
34008 | </paramlist> | |
34009 | </method> | |
34010 | <method name="FindShape" type="PyShape" overloaded="no"> | |
34011 | <autodoc>FindShape(long id) -> PyShape</autodoc> | |
34012 | <paramlist> | |
34013 | <param name="id" type="long" default=""/> | |
34014 | </paramlist> | |
34015 | </method> | |
34016 | <method name="GetCanvas" type="wxPyShapeCanvas" overloaded="no"> | |
34017 | <autodoc>GetCanvas() -> PyShapeCanvas</autodoc> | |
34018 | </method> | |
34019 | <method name="GetCount" type="int" overloaded="no"> | |
34020 | <autodoc>GetCount() -> int</autodoc> | |
34021 | </method> | |
34022 | <method name="GetGridSpacing" type="double" overloaded="no"> | |
34023 | <autodoc>GetGridSpacing() -> double</autodoc> | |
34024 | </method> | |
34025 | <method name="GetMouseTolerance" type="int" overloaded="no"> | |
34026 | <autodoc>GetMouseTolerance() -> int</autodoc> | |
34027 | </method> | |
34028 | <method name="GetShapeList" type="PyObject" overloaded="no"> | |
34029 | <autodoc>GetShapeList() -> PyObject</autodoc> | |
34030 | </method> | |
34031 | <method name="GetQuickEditMode" type="bool" overloaded="no"> | |
34032 | <autodoc>GetQuickEditMode() -> bool</autodoc> | |
34033 | </method> | |
34034 | <method name="GetSnapToGrid" type="bool" overloaded="no"> | |
34035 | <autodoc>GetSnapToGrid() -> bool</autodoc> | |
34036 | </method> | |
34037 | <method name="InsertShape" type="" overloaded="no"> | |
34038 | <autodoc>InsertShape(PyShape shape)</autodoc> | |
34039 | <paramlist> | |
34040 | <param name="shape" type="PyShape" default=""/> | |
34041 | </paramlist> | |
34042 | </method> | |
34043 | <method name="RecentreAll" type="" overloaded="no"> | |
34044 | <autodoc>RecentreAll(DC dc)</autodoc> | |
34045 | <paramlist> | |
34046 | <param name="dc" type="DC" default=""/> | |
34047 | </paramlist> | |
34048 | </method> | |
34049 | <method name="Redraw" type="" overloaded="no"> | |
34050 | <autodoc>Redraw(DC dc)</autodoc> | |
34051 | <paramlist> | |
34052 | <param name="dc" type="DC" default=""/> | |
34053 | </paramlist> | |
34054 | </method> | |
34055 | <method name="RemoveAllShapes" type="" overloaded="no"> | |
34056 | <autodoc>RemoveAllShapes()</autodoc> | |
34057 | </method> | |
34058 | <method name="RemoveShape" type="" overloaded="no"> | |
34059 | <autodoc>RemoveShape(PyShape shape)</autodoc> | |
34060 | <paramlist> | |
34061 | <param name="shape" type="PyShape" default=""/> | |
34062 | </paramlist> | |
34063 | </method> | |
34064 | <method name="SetCanvas" type="" overloaded="no"> | |
34065 | <autodoc>SetCanvas(PyShapeCanvas canvas)</autodoc> | |
34066 | <paramlist> | |
34067 | <param name="canvas" type="wxPyShapeCanvas" default=""/> | |
34068 | </paramlist> | |
34069 | </method> | |
34070 | <method name="SetGridSpacing" type="" overloaded="no"> | |
34071 | <autodoc>SetGridSpacing(double spacing)</autodoc> | |
34072 | <paramlist> | |
34073 | <param name="spacing" type="double" default=""/> | |
34074 | </paramlist> | |
34075 | </method> | |
34076 | <method name="SetMouseTolerance" type="" overloaded="no"> | |
34077 | <autodoc>SetMouseTolerance(int tolerance)</autodoc> | |
34078 | <paramlist> | |
34079 | <param name="tolerance" type="int" default=""/> | |
34080 | </paramlist> | |
34081 | </method> | |
34082 | <method name="SetQuickEditMode" type="" overloaded="no"> | |
34083 | <autodoc>SetQuickEditMode(bool mode)</autodoc> | |
34084 | <paramlist> | |
34085 | <param name="mode" type="bool" default=""/> | |
34086 | </paramlist> | |
34087 | </method> | |
34088 | <method name="SetSnapToGrid" type="" overloaded="no"> | |
34089 | <autodoc>SetSnapToGrid(bool snap)</autodoc> | |
34090 | <paramlist> | |
34091 | <param name="snap" type="bool" default=""/> | |
34092 | </paramlist> | |
34093 | </method> | |
34094 | <method name="ShowAll" type="" overloaded="no"> | |
34095 | <autodoc>ShowAll(bool show)</autodoc> | |
34096 | <paramlist> | |
34097 | <param name="show" type="bool" default=""/> | |
34098 | </paramlist> | |
34099 | </method> | |
34100 | <method name="Snap" type="" overloaded="no"> | |
34101 | <autodoc>Snap(double INOUT, double INOUT)</autodoc> | |
34102 | <paramlist> | |
34103 | <param name="INOUT" type="double" default=""/> | |
34104 | <param name="INOUT" type="double" default=""/> | |
34105 | </paramlist> | |
34106 | </method> | |
34107 | </class> | |
34108 | <class name="PyShapeCanvas" oldname="wxPyShapeCanvas" module="ogl"> | |
34109 | <baseclass name="ScrolledWindow"/> | |
34110 | <constructor name="PyShapeCanvas" overloaded="no"> | |
34111 | <autodoc>__init__(Window parent=None, int id=-1, Point pos=DefaultPosition, | |
34112 | Size size=DefaultSize, long style=BORDER, | |
34113 | String name=wxPyShapeCanvasNameStr) -> PyShapeCanvas</autodoc> | |
34114 | <paramlist> | |
34115 | <param name="parent" type="Window" default="NULL"/> | |
34116 | <param name="id" type="int" default="-1"/> | |
34117 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
34118 | <param name="size" type="Size" default="wxDefaultSize"/> | |
34119 | <param name="style" type="long" default="wxBORDER"/> | |
34120 | <param name="name" type="String" default="wxPyShapeCanvasNameStr"/> | |
34121 | </paramlist> | |
34122 | </constructor> | |
34123 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
34124 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
34125 | <paramlist> | |
34126 | <param name="self" type="PyObject" default=""/> | |
34127 | <param name="_class" type="PyObject" default=""/> | |
34128 | </paramlist> | |
34129 | </method> | |
34130 | <method name="AddShape" type="" overloaded="no"> | |
34131 | <autodoc>AddShape(PyShape shape, PyShape addAfter=None)</autodoc> | |
34132 | <paramlist> | |
34133 | <param name="shape" type="PyShape" default=""/> | |
34134 | <param name="addAfter" type="PyShape" default="NULL"/> | |
34135 | </paramlist> | |
34136 | </method> | |
34137 | <method name="FindShape" type="PyShape" overloaded="no"> | |
34138 | <autodoc>FindShape(double x1, double y, int OUTPUT, wxClassInfo info=None, | |
34139 | PyShape notImage=None) -> PyShape</autodoc> | |
34140 | <paramlist> | |
34141 | <param name="x1" type="double" default=""/> | |
34142 | <param name="y" type="double" default=""/> | |
34143 | <param name="OUTPUT" type="int" default=""/> | |
34144 | <param name="info" type="wxClassInfo" default="NULL"/> | |
34145 | <param name="notImage" type="PyShape" default="NULL"/> | |
34146 | </paramlist> | |
34147 | </method> | |
34148 | <method name="FindFirstSensitiveShape" type="PyShape" overloaded="no"> | |
34149 | <autodoc>FindFirstSensitiveShape(double x1, double y, int OUTPUT, int op) -> PyShape</autodoc> | |
34150 | <paramlist> | |
34151 | <param name="x1" type="double" default=""/> | |
34152 | <param name="y" type="double" default=""/> | |
34153 | <param name="OUTPUT" type="int" default=""/> | |
34154 | <param name="op" type="int" default=""/> | |
34155 | </paramlist> | |
34156 | </method> | |
34157 | <method name="GetDiagram" type="Diagram" overloaded="no"> | |
34158 | <autodoc>GetDiagram() -> Diagram</autodoc> | |
34159 | </method> | |
34160 | <method name="GetQuickEditMode" type="bool" overloaded="no"> | |
34161 | <autodoc>GetQuickEditMode() -> bool</autodoc> | |
34162 | </method> | |
34163 | <method name="InsertShape" type="" overloaded="no"> | |
34164 | <autodoc>InsertShape(PyShape shape)</autodoc> | |
34165 | <paramlist> | |
34166 | <param name="shape" type="PyShape" default=""/> | |
34167 | </paramlist> | |
34168 | </method> | |
34169 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
34170 | <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0)</autodoc> | |
34171 | <paramlist> | |
34172 | <param name="x" type="double" default=""/> | |
34173 | <param name="y" type="double" default=""/> | |
34174 | <param name="keys" type="int" default="0"/> | |
34175 | </paramlist> | |
34176 | </method> | |
34177 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
34178 | <autodoc>base_OnBeginDragRight(double x, double y, int keys=0)</autodoc> | |
34179 | <paramlist> | |
34180 | <param name="x" type="double" default=""/> | |
34181 | <param name="y" type="double" default=""/> | |
34182 | <param name="keys" type="int" default="0"/> | |
34183 | </paramlist> | |
34184 | </method> | |
34185 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
34186 | <autodoc>base_OnEndDragLeft(double x, double y, int keys=0)</autodoc> | |
34187 | <paramlist> | |
34188 | <param name="x" type="double" default=""/> | |
34189 | <param name="y" type="double" default=""/> | |
34190 | <param name="keys" type="int" default="0"/> | |
34191 | </paramlist> | |
34192 | </method> | |
34193 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
34194 | <autodoc>base_OnEndDragRight(double x, double y, int keys=0)</autodoc> | |
34195 | <paramlist> | |
34196 | <param name="x" type="double" default=""/> | |
34197 | <param name="y" type="double" default=""/> | |
34198 | <param name="keys" type="int" default="0"/> | |
34199 | </paramlist> | |
34200 | </method> | |
34201 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
34202 | <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0)</autodoc> | |
34203 | <paramlist> | |
34204 | <param name="draw" type="bool" default=""/> | |
34205 | <param name="x" type="double" default=""/> | |
34206 | <param name="y" type="double" default=""/> | |
34207 | <param name="keys" type="int" default="0"/> | |
34208 | </paramlist> | |
34209 | </method> | |
34210 | <method name="base_OnDragRight" type="" overloaded="no"> | |
34211 | <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0)</autodoc> | |
34212 | <paramlist> | |
34213 | <param name="draw" type="bool" default=""/> | |
34214 | <param name="x" type="double" default=""/> | |
34215 | <param name="y" type="double" default=""/> | |
34216 | <param name="keys" type="int" default="0"/> | |
34217 | </paramlist> | |
34218 | </method> | |
34219 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
34220 | <autodoc>base_OnLeftClick(double x, double y, int keys=0)</autodoc> | |
34221 | <paramlist> | |
34222 | <param name="x" type="double" default=""/> | |
34223 | <param name="y" type="double" default=""/> | |
34224 | <param name="keys" type="int" default="0"/> | |
34225 | </paramlist> | |
34226 | </method> | |
34227 | <method name="base_OnRightClick" type="" overloaded="no"> | |
34228 | <autodoc>base_OnRightClick(double x, double y, int keys=0)</autodoc> | |
34229 | <paramlist> | |
34230 | <param name="x" type="double" default=""/> | |
34231 | <param name="y" type="double" default=""/> | |
34232 | <param name="keys" type="int" default="0"/> | |
34233 | </paramlist> | |
34234 | </method> | |
34235 | <method name="Redraw" type="" overloaded="no"> | |
34236 | <autodoc>Redraw(DC dc)</autodoc> | |
34237 | <paramlist> | |
34238 | <param name="dc" type="DC" default=""/> | |
34239 | </paramlist> | |
34240 | </method> | |
34241 | <method name="RemoveShape" type="" overloaded="no"> | |
34242 | <autodoc>RemoveShape(PyShape shape)</autodoc> | |
34243 | <paramlist> | |
34244 | <param name="shape" type="PyShape" default=""/> | |
34245 | </paramlist> | |
34246 | </method> | |
34247 | <method name="SetDiagram" type="" overloaded="no"> | |
34248 | <autodoc>SetDiagram(Diagram diagram)</autodoc> | |
34249 | <paramlist> | |
34250 | <param name="diagram" type="Diagram" default=""/> | |
34251 | </paramlist> | |
34252 | </method> | |
34253 | <method name="Snap" type="" overloaded="no"> | |
34254 | <autodoc>Snap(double INOUT, double INOUT)</autodoc> | |
34255 | <paramlist> | |
34256 | <param name="INOUT" type="double" default=""/> | |
34257 | <param name="INOUT" type="double" default=""/> | |
34258 | </paramlist> | |
34259 | </method> | |
34260 | </class> | |
34261 | <pythoncode> | |
34262 | # Aliases | |
34263 | ShapeCanvas = PyShapeCanvas | |
34264 | ShapeEvtHandler = PyShapeEvtHandler | |
34265 | Shape = PyShape | |
34266 | RectangleShape = PyRectangleShape | |
34267 | BitmapShape = PyBitmapShape | |
34268 | DrawnShape = PyDrawnShape | |
34269 | CompositeShape = PyCompositeShape | |
34270 | DividedShape = PyDividedShape | |
34271 | DivisionShape = PyDivisionShape | |
34272 | EllipseShape = PyEllipseShape | |
34273 | CircleShape = PyCircleShape | |
34274 | LineShape = PyLineShape | |
34275 | PolygonShape = PyPolygonShape | |
34276 | TextShape = PyTextShape | |
34277 | ControlPoint = PyControlPoint | |
34278 | </pythoncode> | |
34279 | <method name="OGLInitialize" oldname="wxOGLInitialize" type="" overloaded="no"> | |
34280 | <autodoc>OGLInitialize()</autodoc> | |
34281 | </method> | |
34282 | <method name="OGLCleanUp" oldname="wxOGLCleanUp" type="" overloaded="no"> | |
34283 | <autodoc>OGLCleanUp()</autodoc> | |
34284 | </method> | |
34285 | </module> | |
34286 | <module name="stc"> | |
34287 | <import name="core"/> | |
34288 | <import name="misc"/> | |
34289 | <pythoncode> wx = core </pythoncode> | |
34290 | <class name="StyledTextCtrl" oldname="wxStyledTextCtrl" module="stc"> | |
34291 | <baseclass name="Control"/> | |
34292 | <constructor name="StyledTextCtrl" overloaded="no"> | |
34293 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
34294 | long style=0, String name=STCNameStr) -> StyledTextCtrl</autodoc> | |
34295 | <paramlist> | |
34296 | <param name="parent" type="Window" default=""/> | |
34297 | <param name="id" type="int" default=""/> | |
34298 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
34299 | <param name="size" type="Size" default="wxDefaultSize"/> | |
34300 | <param name="style" type="long" default="0"/> | |
34301 | <param name="name" type="String" default="wxPySTCNameStr"/> | |
34302 | </paramlist> | |
34303 | </constructor> | |
34304 | <constructor name="PreStyledTextCtrl" overloaded="no"> | |
34305 | <autodoc>PreStyledTextCtrl() -> StyledTextCtrl</autodoc> | |
34306 | </constructor> | |
34307 | <method name="Create" type="" overloaded="no"> | |
34308 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
34309 | long style=0, String name=wxSTCNameStr)</autodoc> | |
34310 | <paramlist> | |
34311 | <param name="parent" type="Window" default=""/> | |
34312 | <param name="id" type="int" default=""/> | |
34313 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
34314 | <param name="size" type="Size" default="wxDefaultSize"/> | |
34315 | <param name="style" type="long" default="0"/> | |
34316 | <param name="name" type="String" default="wxSTCNameStr"/> | |
34317 | </paramlist> | |
34318 | </method> | |
34319 | <method name="AddText" type="" overloaded="no"> | |
34320 | <autodoc>AddText(String text)</autodoc> | |
34321 | <paramlist> | |
34322 | <param name="text" type="String" default=""/> | |
34323 | </paramlist> | |
34324 | </method> | |
34325 | <method name="AddStyledText" type="" overloaded="no"> | |
34326 | <autodoc>AddStyledText(wxMemoryBuffer data)</autodoc> | |
34327 | <paramlist> | |
34328 | <param name="data" type="wxMemoryBuffer" default=""/> | |
34329 | </paramlist> | |
34330 | </method> | |
34331 | <method name="InsertText" type="" overloaded="no"> | |
34332 | <autodoc>InsertText(int pos, String text)</autodoc> | |
34333 | <paramlist> | |
34334 | <param name="pos" type="int" default=""/> | |
34335 | <param name="text" type="String" default=""/> | |
34336 | </paramlist> | |
34337 | </method> | |
34338 | <method name="ClearAll" type="" overloaded="no"> | |
34339 | <autodoc>ClearAll()</autodoc> | |
34340 | </method> | |
34341 | <method name="ClearDocumentStyle" type="" overloaded="no"> | |
34342 | <autodoc>ClearDocumentStyle()</autodoc> | |
34343 | </method> | |
34344 | <method name="GetLength" type="int" overloaded="no"> | |
34345 | <autodoc>GetLength() -> int</autodoc> | |
34346 | </method> | |
34347 | <method name="GetCharAt" type="int" overloaded="no"> | |
34348 | <autodoc>GetCharAt(int pos) -> int</autodoc> | |
34349 | <paramlist> | |
34350 | <param name="pos" type="int" default=""/> | |
34351 | </paramlist> | |
34352 | </method> | |
34353 | <method name="GetCurrentPos" type="int" overloaded="no"> | |
34354 | <autodoc>GetCurrentPos() -> int</autodoc> | |
34355 | </method> | |
34356 | <method name="GetAnchor" type="int" overloaded="no"> | |
34357 | <autodoc>GetAnchor() -> int</autodoc> | |
34358 | </method> | |
34359 | <method name="GetStyleAt" type="int" overloaded="no"> | |
34360 | <autodoc>GetStyleAt(int pos) -> int</autodoc> | |
34361 | <paramlist> | |
34362 | <param name="pos" type="int" default=""/> | |
34363 | </paramlist> | |
34364 | </method> | |
34365 | <method name="Redo" type="" overloaded="no"> | |
34366 | <autodoc>Redo()</autodoc> | |
34367 | </method> | |
34368 | <method name="SetUndoCollection" type="" overloaded="no"> | |
34369 | <autodoc>SetUndoCollection(bool collectUndo)</autodoc> | |
34370 | <paramlist> | |
34371 | <param name="collectUndo" type="bool" default=""/> | |
34372 | </paramlist> | |
34373 | </method> | |
34374 | <method name="SelectAll" type="" overloaded="no"> | |
34375 | <autodoc>SelectAll()</autodoc> | |
34376 | </method> | |
34377 | <method name="SetSavePoint" type="" overloaded="no"> | |
34378 | <autodoc>SetSavePoint()</autodoc> | |
34379 | </method> | |
34380 | <method name="GetStyledText" type="wxMemoryBuffer" overloaded="no"> | |
34381 | <autodoc>GetStyledText(int startPos, int endPos) -> wxMemoryBuffer</autodoc> | |
34382 | <paramlist> | |
34383 | <param name="startPos" type="int" default=""/> | |
34384 | <param name="endPos" type="int" default=""/> | |
34385 | </paramlist> | |
34386 | </method> | |
34387 | <method name="CanRedo" type="bool" overloaded="no"> | |
34388 | <autodoc>CanRedo() -> bool</autodoc> | |
34389 | </method> | |
34390 | <method name="MarkerLineFromHandle" type="int" overloaded="no"> | |
34391 | <autodoc>MarkerLineFromHandle(int handle) -> int</autodoc> | |
34392 | <paramlist> | |
34393 | <param name="handle" type="int" default=""/> | |
34394 | </paramlist> | |
34395 | </method> | |
34396 | <method name="MarkerDeleteHandle" type="" overloaded="no"> | |
34397 | <autodoc>MarkerDeleteHandle(int handle)</autodoc> | |
34398 | <paramlist> | |
34399 | <param name="handle" type="int" default=""/> | |
34400 | </paramlist> | |
34401 | </method> | |
34402 | <method name="GetUndoCollection" type="bool" overloaded="no"> | |
34403 | <autodoc>GetUndoCollection() -> bool</autodoc> | |
34404 | </method> | |
34405 | <method name="GetViewWhiteSpace" type="int" overloaded="no"> | |
34406 | <autodoc>GetViewWhiteSpace() -> int</autodoc> | |
34407 | </method> | |
34408 | <method name="SetViewWhiteSpace" type="" overloaded="no"> | |
34409 | <autodoc>SetViewWhiteSpace(int viewWS)</autodoc> | |
34410 | <paramlist> | |
34411 | <param name="viewWS" type="int" default=""/> | |
34412 | </paramlist> | |
34413 | </method> | |
34414 | <method name="PositionFromPoint" type="int" overloaded="no"> | |
34415 | <autodoc>PositionFromPoint(Point pt) -> int</autodoc> | |
34416 | <paramlist> | |
34417 | <param name="pt" type="Point" default=""/> | |
34418 | </paramlist> | |
34419 | </method> | |
34420 | <method name="PositionFromPointClose" type="int" overloaded="no"> | |
34421 | <autodoc>PositionFromPointClose(int x, int y) -> int</autodoc> | |
34422 | <paramlist> | |
34423 | <param name="x" type="int" default=""/> | |
34424 | <param name="y" type="int" default=""/> | |
34425 | </paramlist> | |
34426 | </method> | |
34427 | <method name="GotoLine" type="" overloaded="no"> | |
34428 | <autodoc>GotoLine(int line)</autodoc> | |
34429 | <paramlist> | |
34430 | <param name="line" type="int" default=""/> | |
34431 | </paramlist> | |
34432 | </method> | |
34433 | <method name="GotoPos" type="" overloaded="no"> | |
34434 | <autodoc>GotoPos(int pos)</autodoc> | |
34435 | <paramlist> | |
34436 | <param name="pos" type="int" default=""/> | |
34437 | </paramlist> | |
34438 | </method> | |
34439 | <method name="SetAnchor" type="" overloaded="no"> | |
34440 | <autodoc>SetAnchor(int posAnchor)</autodoc> | |
34441 | <paramlist> | |
34442 | <param name="posAnchor" type="int" default=""/> | |
34443 | </paramlist> | |
34444 | </method> | |
34445 | <method name="GetCurLine" type="String" overloaded="no"> | |
34446 | <autodoc>GetCurLine(int OUTPUT) -> String</autodoc> | |
34447 | <paramlist> | |
34448 | <param name="OUTPUT" type="int" default=""/> | |
34449 | </paramlist> | |
34450 | </method> | |
34451 | <method name="GetEndStyled" type="int" overloaded="no"> | |
34452 | <autodoc>GetEndStyled() -> int</autodoc> | |
34453 | </method> | |
34454 | <method name="ConvertEOLs" type="" overloaded="no"> | |
34455 | <autodoc>ConvertEOLs(int eolMode)</autodoc> | |
34456 | <paramlist> | |
34457 | <param name="eolMode" type="int" default=""/> | |
34458 | </paramlist> | |
34459 | </method> | |
34460 | <method name="GetEOLMode" type="int" overloaded="no"> | |
34461 | <autodoc>GetEOLMode() -> int</autodoc> | |
34462 | </method> | |
34463 | <method name="SetEOLMode" type="" overloaded="no"> | |
34464 | <autodoc>SetEOLMode(int eolMode)</autodoc> | |
34465 | <paramlist> | |
34466 | <param name="eolMode" type="int" default=""/> | |
34467 | </paramlist> | |
34468 | </method> | |
34469 | <method name="StartStyling" type="" overloaded="no"> | |
34470 | <autodoc>StartStyling(int pos, int mask)</autodoc> | |
34471 | <paramlist> | |
34472 | <param name="pos" type="int" default=""/> | |
34473 | <param name="mask" type="int" default=""/> | |
34474 | </paramlist> | |
34475 | </method> | |
34476 | <method name="SetStyling" type="" overloaded="no"> | |
34477 | <autodoc>SetStyling(int length, int style)</autodoc> | |
34478 | <paramlist> | |
34479 | <param name="length" type="int" default=""/> | |
34480 | <param name="style" type="int" default=""/> | |
34481 | </paramlist> | |
34482 | </method> | |
34483 | <method name="GetBufferedDraw" type="bool" overloaded="no"> | |
34484 | <autodoc>GetBufferedDraw() -> bool</autodoc> | |
34485 | </method> | |
34486 | <method name="SetBufferedDraw" type="" overloaded="no"> | |
34487 | <autodoc>SetBufferedDraw(bool buffered)</autodoc> | |
34488 | <paramlist> | |
34489 | <param name="buffered" type="bool" default=""/> | |
34490 | </paramlist> | |
34491 | </method> | |
34492 | <method name="SetTabWidth" type="" overloaded="no"> | |
34493 | <autodoc>SetTabWidth(int tabWidth)</autodoc> | |
34494 | <paramlist> | |
34495 | <param name="tabWidth" type="int" default=""/> | |
34496 | </paramlist> | |
34497 | </method> | |
34498 | <method name="GetTabWidth" type="int" overloaded="no"> | |
34499 | <autodoc>GetTabWidth() -> int</autodoc> | |
34500 | </method> | |
34501 | <method name="SetCodePage" type="" overloaded="no"> | |
34502 | <autodoc>SetCodePage(int codePage)</autodoc> | |
34503 | <paramlist> | |
34504 | <param name="codePage" type="int" default=""/> | |
34505 | </paramlist> | |
34506 | </method> | |
34507 | <method name="MarkerDefine" type="" overloaded="no"> | |
34508 | <autodoc>MarkerDefine(int markerNumber, int markerSymbol, Colour foreground=wxNullColour, | |
34509 | Colour background=wxNullColour)</autodoc> | |
34510 | <paramlist> | |
34511 | <param name="markerNumber" type="int" default=""/> | |
34512 | <param name="markerSymbol" type="int" default=""/> | |
34513 | <param name="foreground" type="Colour" default="wxNullColour"/> | |
34514 | <param name="background" type="Colour" default="wxNullColour"/> | |
34515 | </paramlist> | |
34516 | </method> | |
34517 | <method name="MarkerSetForeground" type="" overloaded="no"> | |
34518 | <autodoc>MarkerSetForeground(int markerNumber, Colour fore)</autodoc> | |
34519 | <paramlist> | |
34520 | <param name="markerNumber" type="int" default=""/> | |
34521 | <param name="fore" type="Colour" default=""/> | |
34522 | </paramlist> | |
34523 | </method> | |
34524 | <method name="MarkerSetBackground" type="" overloaded="no"> | |
34525 | <autodoc>MarkerSetBackground(int markerNumber, Colour back)</autodoc> | |
34526 | <paramlist> | |
34527 | <param name="markerNumber" type="int" default=""/> | |
34528 | <param name="back" type="Colour" default=""/> | |
34529 | </paramlist> | |
34530 | </method> | |
34531 | <method name="MarkerAdd" type="int" overloaded="no"> | |
34532 | <autodoc>MarkerAdd(int line, int markerNumber) -> int</autodoc> | |
34533 | <paramlist> | |
34534 | <param name="line" type="int" default=""/> | |
34535 | <param name="markerNumber" type="int" default=""/> | |
34536 | </paramlist> | |
34537 | </method> | |
34538 | <method name="MarkerDelete" type="" overloaded="no"> | |
34539 | <autodoc>MarkerDelete(int line, int markerNumber)</autodoc> | |
34540 | <paramlist> | |
34541 | <param name="line" type="int" default=""/> | |
34542 | <param name="markerNumber" type="int" default=""/> | |
34543 | </paramlist> | |
34544 | </method> | |
34545 | <method name="MarkerDeleteAll" type="" overloaded="no"> | |
34546 | <autodoc>MarkerDeleteAll(int markerNumber)</autodoc> | |
34547 | <paramlist> | |
34548 | <param name="markerNumber" type="int" default=""/> | |
34549 | </paramlist> | |
34550 | </method> | |
34551 | <method name="MarkerGet" type="int" overloaded="no"> | |
34552 | <autodoc>MarkerGet(int line) -> int</autodoc> | |
34553 | <paramlist> | |
34554 | <param name="line" type="int" default=""/> | |
34555 | </paramlist> | |
34556 | </method> | |
34557 | <method name="MarkerNext" type="int" overloaded="no"> | |
34558 | <autodoc>MarkerNext(int lineStart, int markerMask) -> int</autodoc> | |
34559 | <paramlist> | |
34560 | <param name="lineStart" type="int" default=""/> | |
34561 | <param name="markerMask" type="int" default=""/> | |
34562 | </paramlist> | |
34563 | </method> | |
34564 | <method name="MarkerPrevious" type="int" overloaded="no"> | |
34565 | <autodoc>MarkerPrevious(int lineStart, int markerMask) -> int</autodoc> | |
34566 | <paramlist> | |
34567 | <param name="lineStart" type="int" default=""/> | |
34568 | <param name="markerMask" type="int" default=""/> | |
34569 | </paramlist> | |
34570 | </method> | |
34571 | <method name="MarkerDefineBitmap" type="" overloaded="no"> | |
34572 | <autodoc>MarkerDefineBitmap(int markerNumber, Bitmap bmp)</autodoc> | |
34573 | <paramlist> | |
34574 | <param name="markerNumber" type="int" default=""/> | |
34575 | <param name="bmp" type="Bitmap" default=""/> | |
34576 | </paramlist> | |
34577 | </method> | |
34578 | <method name="SetMarginType" type="" overloaded="no"> | |
34579 | <autodoc>SetMarginType(int margin, int marginType)</autodoc> | |
34580 | <paramlist> | |
34581 | <param name="margin" type="int" default=""/> | |
34582 | <param name="marginType" type="int" default=""/> | |
34583 | </paramlist> | |
34584 | </method> | |
34585 | <method name="GetMarginType" type="int" overloaded="no"> | |
34586 | <autodoc>GetMarginType(int margin) -> int</autodoc> | |
34587 | <paramlist> | |
34588 | <param name="margin" type="int" default=""/> | |
34589 | </paramlist> | |
34590 | </method> | |
34591 | <method name="SetMarginWidth" type="" overloaded="no"> | |
34592 | <autodoc>SetMarginWidth(int margin, int pixelWidth)</autodoc> | |
34593 | <paramlist> | |
34594 | <param name="margin" type="int" default=""/> | |
34595 | <param name="pixelWidth" type="int" default=""/> | |
34596 | </paramlist> | |
34597 | </method> | |
34598 | <method name="GetMarginWidth" type="int" overloaded="no"> | |
34599 | <autodoc>GetMarginWidth(int margin) -> int</autodoc> | |
34600 | <paramlist> | |
34601 | <param name="margin" type="int" default=""/> | |
34602 | </paramlist> | |
34603 | </method> | |
34604 | <method name="SetMarginMask" type="" overloaded="no"> | |
34605 | <autodoc>SetMarginMask(int margin, int mask)</autodoc> | |
34606 | <paramlist> | |
34607 | <param name="margin" type="int" default=""/> | |
34608 | <param name="mask" type="int" default=""/> | |
34609 | </paramlist> | |
34610 | </method> | |
34611 | <method name="GetMarginMask" type="int" overloaded="no"> | |
34612 | <autodoc>GetMarginMask(int margin) -> int</autodoc> | |
34613 | <paramlist> | |
34614 | <param name="margin" type="int" default=""/> | |
34615 | </paramlist> | |
34616 | </method> | |
34617 | <method name="SetMarginSensitive" type="" overloaded="no"> | |
34618 | <autodoc>SetMarginSensitive(int margin, bool sensitive)</autodoc> | |
34619 | <paramlist> | |
34620 | <param name="margin" type="int" default=""/> | |
34621 | <param name="sensitive" type="bool" default=""/> | |
34622 | </paramlist> | |
34623 | </method> | |
34624 | <method name="GetMarginSensitive" type="bool" overloaded="no"> | |
34625 | <autodoc>GetMarginSensitive(int margin) -> bool</autodoc> | |
34626 | <paramlist> | |
34627 | <param name="margin" type="int" default=""/> | |
34628 | </paramlist> | |
34629 | </method> | |
34630 | <method name="StyleClearAll" type="" overloaded="no"> | |
34631 | <autodoc>StyleClearAll()</autodoc> | |
34632 | </method> | |
34633 | <method name="StyleSetForeground" type="" overloaded="no"> | |
34634 | <autodoc>StyleSetForeground(int style, Colour fore)</autodoc> | |
34635 | <paramlist> | |
34636 | <param name="style" type="int" default=""/> | |
34637 | <param name="fore" type="Colour" default=""/> | |
34638 | </paramlist> | |
34639 | </method> | |
34640 | <method name="StyleSetBackground" type="" overloaded="no"> | |
34641 | <autodoc>StyleSetBackground(int style, Colour back)</autodoc> | |
34642 | <paramlist> | |
34643 | <param name="style" type="int" default=""/> | |
34644 | <param name="back" type="Colour" default=""/> | |
34645 | </paramlist> | |
34646 | </method> | |
34647 | <method name="StyleSetBold" type="" overloaded="no"> | |
34648 | <autodoc>StyleSetBold(int style, bool bold)</autodoc> | |
34649 | <paramlist> | |
34650 | <param name="style" type="int" default=""/> | |
34651 | <param name="bold" type="bool" default=""/> | |
34652 | </paramlist> | |
34653 | </method> | |
34654 | <method name="StyleSetItalic" type="" overloaded="no"> | |
34655 | <autodoc>StyleSetItalic(int style, bool italic)</autodoc> | |
34656 | <paramlist> | |
34657 | <param name="style" type="int" default=""/> | |
34658 | <param name="italic" type="bool" default=""/> | |
34659 | </paramlist> | |
34660 | </method> | |
34661 | <method name="StyleSetSize" type="" overloaded="no"> | |
34662 | <autodoc>StyleSetSize(int style, int sizePoints)</autodoc> | |
34663 | <paramlist> | |
34664 | <param name="style" type="int" default=""/> | |
34665 | <param name="sizePoints" type="int" default=""/> | |
34666 | </paramlist> | |
34667 | </method> | |
34668 | <method name="StyleSetFaceName" type="" overloaded="no"> | |
34669 | <autodoc>StyleSetFaceName(int style, String fontName)</autodoc> | |
34670 | <paramlist> | |
34671 | <param name="style" type="int" default=""/> | |
34672 | <param name="fontName" type="String" default=""/> | |
34673 | </paramlist> | |
34674 | </method> | |
34675 | <method name="StyleSetEOLFilled" type="" overloaded="no"> | |
34676 | <autodoc>StyleSetEOLFilled(int style, bool filled)</autodoc> | |
34677 | <paramlist> | |
34678 | <param name="style" type="int" default=""/> | |
34679 | <param name="filled" type="bool" default=""/> | |
34680 | </paramlist> | |
34681 | </method> | |
34682 | <method name="StyleResetDefault" type="" overloaded="no"> | |
34683 | <autodoc>StyleResetDefault()</autodoc> | |
34684 | </method> | |
34685 | <method name="StyleSetUnderline" type="" overloaded="no"> | |
34686 | <autodoc>StyleSetUnderline(int style, bool underline)</autodoc> | |
34687 | <paramlist> | |
34688 | <param name="style" type="int" default=""/> | |
34689 | <param name="underline" type="bool" default=""/> | |
34690 | </paramlist> | |
34691 | </method> | |
34692 | <method name="StyleSetCase" type="" overloaded="no"> | |
34693 | <autodoc>StyleSetCase(int style, int caseForce)</autodoc> | |
34694 | <paramlist> | |
34695 | <param name="style" type="int" default=""/> | |
34696 | <param name="caseForce" type="int" default=""/> | |
34697 | </paramlist> | |
34698 | </method> | |
34699 | <method name="StyleSetCharacterSet" type="" overloaded="no"> | |
34700 | <autodoc>StyleSetCharacterSet(int style, int characterSet)</autodoc> | |
34701 | <paramlist> | |
34702 | <param name="style" type="int" default=""/> | |
34703 | <param name="characterSet" type="int" default=""/> | |
34704 | </paramlist> | |
34705 | </method> | |
34706 | <method name="StyleSetHotSpot" type="" overloaded="no"> | |
34707 | <autodoc>StyleSetHotSpot(int style, bool hotspot)</autodoc> | |
34708 | <paramlist> | |
34709 | <param name="style" type="int" default=""/> | |
34710 | <param name="hotspot" type="bool" default=""/> | |
34711 | </paramlist> | |
34712 | </method> | |
34713 | <method name="SetSelForeground" type="" overloaded="no"> | |
34714 | <autodoc>SetSelForeground(bool useSetting, Colour fore)</autodoc> | |
34715 | <paramlist> | |
34716 | <param name="useSetting" type="bool" default=""/> | |
34717 | <param name="fore" type="Colour" default=""/> | |
34718 | </paramlist> | |
34719 | </method> | |
34720 | <method name="SetSelBackground" type="" overloaded="no"> | |
34721 | <autodoc>SetSelBackground(bool useSetting, Colour back)</autodoc> | |
34722 | <paramlist> | |
34723 | <param name="useSetting" type="bool" default=""/> | |
34724 | <param name="back" type="Colour" default=""/> | |
34725 | </paramlist> | |
34726 | </method> | |
34727 | <method name="SetCaretForeground" type="" overloaded="no"> | |
34728 | <autodoc>SetCaretForeground(Colour fore)</autodoc> | |
34729 | <paramlist> | |
34730 | <param name="fore" type="Colour" default=""/> | |
34731 | </paramlist> | |
34732 | </method> | |
34733 | <method name="CmdKeyAssign" type="" overloaded="no"> | |
34734 | <autodoc>CmdKeyAssign(int key, int modifiers, int cmd)</autodoc> | |
34735 | <paramlist> | |
34736 | <param name="key" type="int" default=""/> | |
34737 | <param name="modifiers" type="int" default=""/> | |
34738 | <param name="cmd" type="int" default=""/> | |
34739 | </paramlist> | |
34740 | </method> | |
34741 | <method name="CmdKeyClear" type="" overloaded="no"> | |
34742 | <autodoc>CmdKeyClear(int key, int modifiers)</autodoc> | |
34743 | <paramlist> | |
34744 | <param name="key" type="int" default=""/> | |
34745 | <param name="modifiers" type="int" default=""/> | |
34746 | </paramlist> | |
34747 | </method> | |
34748 | <method name="CmdKeyClearAll" type="" overloaded="no"> | |
34749 | <autodoc>CmdKeyClearAll()</autodoc> | |
34750 | </method> | |
34751 | <method name="SetStyleBytes" type="" overloaded="no"> | |
34752 | <autodoc>SetStyleBytes(int length, char styleBytes)</autodoc> | |
34753 | <paramlist> | |
34754 | <param name="length" type="int" default=""/> | |
34755 | <param name="styleBytes" type="char" default=""/> | |
34756 | </paramlist> | |
34757 | </method> | |
34758 | <method name="StyleSetVisible" type="" overloaded="no"> | |
34759 | <autodoc>StyleSetVisible(int style, bool visible)</autodoc> | |
34760 | <paramlist> | |
34761 | <param name="style" type="int" default=""/> | |
34762 | <param name="visible" type="bool" default=""/> | |
34763 | </paramlist> | |
34764 | </method> | |
34765 | <method name="GetCaretPeriod" type="int" overloaded="no"> | |
34766 | <autodoc>GetCaretPeriod() -> int</autodoc> | |
34767 | </method> | |
34768 | <method name="SetCaretPeriod" type="" overloaded="no"> | |
34769 | <autodoc>SetCaretPeriod(int periodMilliseconds)</autodoc> | |
34770 | <paramlist> | |
34771 | <param name="periodMilliseconds" type="int" default=""/> | |
34772 | </paramlist> | |
34773 | </method> | |
34774 | <method name="SetWordChars" type="" overloaded="no"> | |
34775 | <autodoc>SetWordChars(String characters)</autodoc> | |
34776 | <paramlist> | |
34777 | <param name="characters" type="String" default=""/> | |
34778 | </paramlist> | |
34779 | </method> | |
34780 | <method name="BeginUndoAction" type="" overloaded="no"> | |
34781 | <autodoc>BeginUndoAction()</autodoc> | |
34782 | </method> | |
34783 | <method name="EndUndoAction" type="" overloaded="no"> | |
34784 | <autodoc>EndUndoAction()</autodoc> | |
34785 | </method> | |
34786 | <method name="IndicatorSetStyle" type="" overloaded="no"> | |
34787 | <autodoc>IndicatorSetStyle(int indic, int style)</autodoc> | |
34788 | <paramlist> | |
34789 | <param name="indic" type="int" default=""/> | |
34790 | <param name="style" type="int" default=""/> | |
34791 | </paramlist> | |
34792 | </method> | |
34793 | <method name="IndicatorGetStyle" type="int" overloaded="no"> | |
34794 | <autodoc>IndicatorGetStyle(int indic) -> int</autodoc> | |
34795 | <paramlist> | |
34796 | <param name="indic" type="int" default=""/> | |
34797 | </paramlist> | |
34798 | </method> | |
34799 | <method name="IndicatorSetForeground" type="" overloaded="no"> | |
34800 | <autodoc>IndicatorSetForeground(int indic, Colour fore)</autodoc> | |
34801 | <paramlist> | |
34802 | <param name="indic" type="int" default=""/> | |
34803 | <param name="fore" type="Colour" default=""/> | |
34804 | </paramlist> | |
34805 | </method> | |
34806 | <method name="IndicatorGetForeground" type="Colour" overloaded="no"> | |
34807 | <autodoc>IndicatorGetForeground(int indic) -> Colour</autodoc> | |
34808 | <paramlist> | |
34809 | <param name="indic" type="int" default=""/> | |
34810 | </paramlist> | |
34811 | </method> | |
34812 | <method name="SetWhitespaceForeground" type="" overloaded="no"> | |
34813 | <autodoc>SetWhitespaceForeground(bool useSetting, Colour fore)</autodoc> | |
34814 | <paramlist> | |
34815 | <param name="useSetting" type="bool" default=""/> | |
34816 | <param name="fore" type="Colour" default=""/> | |
34817 | </paramlist> | |
34818 | </method> | |
34819 | <method name="SetWhitespaceBackground" type="" overloaded="no"> | |
34820 | <autodoc>SetWhitespaceBackground(bool useSetting, Colour back)</autodoc> | |
34821 | <paramlist> | |
34822 | <param name="useSetting" type="bool" default=""/> | |
34823 | <param name="back" type="Colour" default=""/> | |
34824 | </paramlist> | |
34825 | </method> | |
34826 | <method name="SetStyleBits" type="" overloaded="no"> | |
34827 | <autodoc>SetStyleBits(int bits)</autodoc> | |
34828 | <paramlist> | |
34829 | <param name="bits" type="int" default=""/> | |
34830 | </paramlist> | |
34831 | </method> | |
34832 | <method name="GetStyleBits" type="int" overloaded="no"> | |
34833 | <autodoc>GetStyleBits() -> int</autodoc> | |
34834 | </method> | |
34835 | <method name="SetLineState" type="" overloaded="no"> | |
34836 | <autodoc>SetLineState(int line, int state)</autodoc> | |
34837 | <paramlist> | |
34838 | <param name="line" type="int" default=""/> | |
34839 | <param name="state" type="int" default=""/> | |
34840 | </paramlist> | |
34841 | </method> | |
34842 | <method name="GetLineState" type="int" overloaded="no"> | |
34843 | <autodoc>GetLineState(int line) -> int</autodoc> | |
34844 | <paramlist> | |
34845 | <param name="line" type="int" default=""/> | |
34846 | </paramlist> | |
34847 | </method> | |
34848 | <method name="GetMaxLineState" type="int" overloaded="no"> | |
34849 | <autodoc>GetMaxLineState() -> int</autodoc> | |
34850 | </method> | |
34851 | <method name="GetCaretLineVisible" type="bool" overloaded="no"> | |
34852 | <autodoc>GetCaretLineVisible() -> bool</autodoc> | |
34853 | </method> | |
34854 | <method name="SetCaretLineVisible" type="" overloaded="no"> | |
34855 | <autodoc>SetCaretLineVisible(bool show)</autodoc> | |
34856 | <paramlist> | |
34857 | <param name="show" type="bool" default=""/> | |
34858 | </paramlist> | |
34859 | </method> | |
34860 | <method name="GetCaretLineBack" type="Colour" overloaded="no"> | |
34861 | <autodoc>GetCaretLineBack() -> Colour</autodoc> | |
34862 | </method> | |
34863 | <method name="SetCaretLineBack" type="" overloaded="no"> | |
34864 | <autodoc>SetCaretLineBack(Colour back)</autodoc> | |
34865 | <paramlist> | |
34866 | <param name="back" type="Colour" default=""/> | |
34867 | </paramlist> | |
34868 | </method> | |
34869 | <method name="StyleSetChangeable" type="" overloaded="no"> | |
34870 | <autodoc>StyleSetChangeable(int style, bool changeable)</autodoc> | |
34871 | <paramlist> | |
34872 | <param name="style" type="int" default=""/> | |
34873 | <param name="changeable" type="bool" default=""/> | |
34874 | </paramlist> | |
34875 | </method> | |
34876 | <method name="AutoCompShow" type="" overloaded="no"> | |
34877 | <autodoc>AutoCompShow(int lenEntered, String itemList)</autodoc> | |
34878 | <paramlist> | |
34879 | <param name="lenEntered" type="int" default=""/> | |
34880 | <param name="itemList" type="String" default=""/> | |
34881 | </paramlist> | |
34882 | </method> | |
34883 | <method name="AutoCompCancel" type="" overloaded="no"> | |
34884 | <autodoc>AutoCompCancel()</autodoc> | |
34885 | </method> | |
34886 | <method name="AutoCompActive" type="bool" overloaded="no"> | |
34887 | <autodoc>AutoCompActive() -> bool</autodoc> | |
34888 | </method> | |
34889 | <method name="AutoCompPosStart" type="int" overloaded="no"> | |
34890 | <autodoc>AutoCompPosStart() -> int</autodoc> | |
34891 | </method> | |
34892 | <method name="AutoCompComplete" type="" overloaded="no"> | |
34893 | <autodoc>AutoCompComplete()</autodoc> | |
34894 | </method> | |
34895 | <method name="AutoCompStops" type="" overloaded="no"> | |
34896 | <autodoc>AutoCompStops(String characterSet)</autodoc> | |
34897 | <paramlist> | |
34898 | <param name="characterSet" type="String" default=""/> | |
34899 | </paramlist> | |
34900 | </method> | |
34901 | <method name="AutoCompSetSeparator" type="" overloaded="no"> | |
34902 | <autodoc>AutoCompSetSeparator(int separatorCharacter)</autodoc> | |
34903 | <paramlist> | |
34904 | <param name="separatorCharacter" type="int" default=""/> | |
34905 | </paramlist> | |
34906 | </method> | |
34907 | <method name="AutoCompGetSeparator" type="int" overloaded="no"> | |
34908 | <autodoc>AutoCompGetSeparator() -> int</autodoc> | |
34909 | </method> | |
34910 | <method name="AutoCompSelect" type="" overloaded="no"> | |
34911 | <autodoc>AutoCompSelect(String text)</autodoc> | |
34912 | <paramlist> | |
34913 | <param name="text" type="String" default=""/> | |
34914 | </paramlist> | |
34915 | </method> | |
34916 | <method name="AutoCompSetCancelAtStart" type="" overloaded="no"> | |
34917 | <autodoc>AutoCompSetCancelAtStart(bool cancel)</autodoc> | |
34918 | <paramlist> | |
34919 | <param name="cancel" type="bool" default=""/> | |
34920 | </paramlist> | |
34921 | </method> | |
34922 | <method name="AutoCompGetCancelAtStart" type="bool" overloaded="no"> | |
34923 | <autodoc>AutoCompGetCancelAtStart() -> bool</autodoc> | |
34924 | </method> | |
34925 | <method name="AutoCompSetFillUps" type="" overloaded="no"> | |
34926 | <autodoc>AutoCompSetFillUps(String characterSet)</autodoc> | |
34927 | <paramlist> | |
34928 | <param name="characterSet" type="String" default=""/> | |
34929 | </paramlist> | |
34930 | </method> | |
34931 | <method name="AutoCompSetChooseSingle" type="" overloaded="no"> | |
34932 | <autodoc>AutoCompSetChooseSingle(bool chooseSingle)</autodoc> | |
34933 | <paramlist> | |
34934 | <param name="chooseSingle" type="bool" default=""/> | |
34935 | </paramlist> | |
34936 | </method> | |
34937 | <method name="AutoCompGetChooseSingle" type="bool" overloaded="no"> | |
34938 | <autodoc>AutoCompGetChooseSingle() -> bool</autodoc> | |
34939 | </method> | |
34940 | <method name="AutoCompSetIgnoreCase" type="" overloaded="no"> | |
34941 | <autodoc>AutoCompSetIgnoreCase(bool ignoreCase)</autodoc> | |
34942 | <paramlist> | |
34943 | <param name="ignoreCase" type="bool" default=""/> | |
34944 | </paramlist> | |
34945 | </method> | |
34946 | <method name="AutoCompGetIgnoreCase" type="bool" overloaded="no"> | |
34947 | <autodoc>AutoCompGetIgnoreCase() -> bool</autodoc> | |
34948 | </method> | |
34949 | <method name="UserListShow" type="" overloaded="no"> | |
34950 | <autodoc>UserListShow(int listType, String itemList)</autodoc> | |
34951 | <paramlist> | |
34952 | <param name="listType" type="int" default=""/> | |
34953 | <param name="itemList" type="String" default=""/> | |
34954 | </paramlist> | |
34955 | </method> | |
34956 | <method name="AutoCompSetAutoHide" type="" overloaded="no"> | |
34957 | <autodoc>AutoCompSetAutoHide(bool autoHide)</autodoc> | |
34958 | <paramlist> | |
34959 | <param name="autoHide" type="bool" default=""/> | |
34960 | </paramlist> | |
34961 | </method> | |
34962 | <method name="AutoCompGetAutoHide" type="bool" overloaded="no"> | |
34963 | <autodoc>AutoCompGetAutoHide() -> bool</autodoc> | |
34964 | </method> | |
34965 | <method name="AutoCompSetDropRestOfWord" type="" overloaded="no"> | |
34966 | <autodoc>AutoCompSetDropRestOfWord(bool dropRestOfWord)</autodoc> | |
34967 | <paramlist> | |
34968 | <param name="dropRestOfWord" type="bool" default=""/> | |
34969 | </paramlist> | |
34970 | </method> | |
34971 | <method name="AutoCompGetDropRestOfWord" type="bool" overloaded="no"> | |
34972 | <autodoc>AutoCompGetDropRestOfWord() -> bool</autodoc> | |
34973 | </method> | |
34974 | <method name="RegisterImage" type="" overloaded="no"> | |
34975 | <autodoc>RegisterImage(int type, Bitmap bmp)</autodoc> | |
34976 | <paramlist> | |
34977 | <param name="type" type="int" default=""/> | |
34978 | <param name="bmp" type="Bitmap" default=""/> | |
34979 | </paramlist> | |
34980 | </method> | |
34981 | <method name="ClearRegisteredImages" type="" overloaded="no"> | |
34982 | <autodoc>ClearRegisteredImages()</autodoc> | |
34983 | </method> | |
34984 | <method name="AutoCompGetTypeSeparator" type="int" overloaded="no"> | |
34985 | <autodoc>AutoCompGetTypeSeparator() -> int</autodoc> | |
34986 | </method> | |
34987 | <method name="AutoCompSetTypeSeparator" type="" overloaded="no"> | |
34988 | <autodoc>AutoCompSetTypeSeparator(int separatorCharacter)</autodoc> | |
34989 | <paramlist> | |
34990 | <param name="separatorCharacter" type="int" default=""/> | |
34991 | </paramlist> | |
34992 | </method> | |
34993 | <method name="SetIndent" type="" overloaded="no"> | |
34994 | <autodoc>SetIndent(int indentSize)</autodoc> | |
34995 | <paramlist> | |
34996 | <param name="indentSize" type="int" default=""/> | |
34997 | </paramlist> | |
34998 | </method> | |
34999 | <method name="GetIndent" type="int" overloaded="no"> | |
35000 | <autodoc>GetIndent() -> int</autodoc> | |
35001 | </method> | |
35002 | <method name="SetUseTabs" type="" overloaded="no"> | |
35003 | <autodoc>SetUseTabs(bool useTabs)</autodoc> | |
35004 | <paramlist> | |
35005 | <param name="useTabs" type="bool" default=""/> | |
35006 | </paramlist> | |
35007 | </method> | |
35008 | <method name="GetUseTabs" type="bool" overloaded="no"> | |
35009 | <autodoc>GetUseTabs() -> bool</autodoc> | |
35010 | </method> | |
35011 | <method name="SetLineIndentation" type="" overloaded="no"> | |
35012 | <autodoc>SetLineIndentation(int line, int indentSize)</autodoc> | |
35013 | <paramlist> | |
35014 | <param name="line" type="int" default=""/> | |
35015 | <param name="indentSize" type="int" default=""/> | |
35016 | </paramlist> | |
35017 | </method> | |
35018 | <method name="GetLineIndentation" type="int" overloaded="no"> | |
35019 | <autodoc>GetLineIndentation(int line) -> int</autodoc> | |
35020 | <paramlist> | |
35021 | <param name="line" type="int" default=""/> | |
35022 | </paramlist> | |
35023 | </method> | |
35024 | <method name="GetLineIndentPosition" type="int" overloaded="no"> | |
35025 | <autodoc>GetLineIndentPosition(int line) -> int</autodoc> | |
35026 | <paramlist> | |
35027 | <param name="line" type="int" default=""/> | |
35028 | </paramlist> | |
35029 | </method> | |
35030 | <method name="GetColumn" type="int" overloaded="no"> | |
35031 | <autodoc>GetColumn(int pos) -> int</autodoc> | |
35032 | <paramlist> | |
35033 | <param name="pos" type="int" default=""/> | |
35034 | </paramlist> | |
35035 | </method> | |
35036 | <method name="SetUseHorizontalScrollBar" type="" overloaded="no"> | |
35037 | <autodoc>SetUseHorizontalScrollBar(bool show)</autodoc> | |
35038 | <paramlist> | |
35039 | <param name="show" type="bool" default=""/> | |
35040 | </paramlist> | |
35041 | </method> | |
35042 | <method name="GetUseHorizontalScrollBar" type="bool" overloaded="no"> | |
35043 | <autodoc>GetUseHorizontalScrollBar() -> bool</autodoc> | |
35044 | </method> | |
35045 | <method name="SetIndentationGuides" type="" overloaded="no"> | |
35046 | <autodoc>SetIndentationGuides(bool show)</autodoc> | |
35047 | <paramlist> | |
35048 | <param name="show" type="bool" default=""/> | |
35049 | </paramlist> | |
35050 | </method> | |
35051 | <method name="GetIndentationGuides" type="bool" overloaded="no"> | |
35052 | <autodoc>GetIndentationGuides() -> bool</autodoc> | |
35053 | </method> | |
35054 | <method name="SetHighlightGuide" type="" overloaded="no"> | |
35055 | <autodoc>SetHighlightGuide(int column)</autodoc> | |
35056 | <paramlist> | |
35057 | <param name="column" type="int" default=""/> | |
35058 | </paramlist> | |
35059 | </method> | |
35060 | <method name="GetHighlightGuide" type="int" overloaded="no"> | |
35061 | <autodoc>GetHighlightGuide() -> int</autodoc> | |
35062 | </method> | |
35063 | <method name="GetLineEndPosition" type="int" overloaded="no"> | |
35064 | <autodoc>GetLineEndPosition(int line) -> int</autodoc> | |
35065 | <paramlist> | |
35066 | <param name="line" type="int" default=""/> | |
35067 | </paramlist> | |
35068 | </method> | |
35069 | <method name="GetCodePage" type="int" overloaded="no"> | |
35070 | <autodoc>GetCodePage() -> int</autodoc> | |
35071 | </method> | |
35072 | <method name="GetCaretForeground" type="Colour" overloaded="no"> | |
35073 | <autodoc>GetCaretForeground() -> Colour</autodoc> | |
35074 | </method> | |
35075 | <method name="GetReadOnly" type="bool" overloaded="no"> | |
35076 | <autodoc>GetReadOnly() -> bool</autodoc> | |
35077 | </method> | |
35078 | <method name="SetCurrentPos" type="" overloaded="no"> | |
35079 | <autodoc>SetCurrentPos(int pos)</autodoc> | |
35080 | <paramlist> | |
35081 | <param name="pos" type="int" default=""/> | |
35082 | </paramlist> | |
35083 | </method> | |
35084 | <method name="SetSelectionStart" type="" overloaded="no"> | |
35085 | <autodoc>SetSelectionStart(int pos)</autodoc> | |
35086 | <paramlist> | |
35087 | <param name="pos" type="int" default=""/> | |
35088 | </paramlist> | |
35089 | </method> | |
35090 | <method name="GetSelectionStart" type="int" overloaded="no"> | |
35091 | <autodoc>GetSelectionStart() -> int</autodoc> | |
35092 | </method> | |
35093 | <method name="SetSelectionEnd" type="" overloaded="no"> | |
35094 | <autodoc>SetSelectionEnd(int pos)</autodoc> | |
35095 | <paramlist> | |
35096 | <param name="pos" type="int" default=""/> | |
35097 | </paramlist> | |
35098 | </method> | |
35099 | <method name="GetSelectionEnd" type="int" overloaded="no"> | |
35100 | <autodoc>GetSelectionEnd() -> int</autodoc> | |
35101 | </method> | |
35102 | <method name="SetPrintMagnification" type="" overloaded="no"> | |
35103 | <autodoc>SetPrintMagnification(int magnification)</autodoc> | |
35104 | <paramlist> | |
35105 | <param name="magnification" type="int" default=""/> | |
35106 | </paramlist> | |
35107 | </method> | |
35108 | <method name="GetPrintMagnification" type="int" overloaded="no"> | |
35109 | <autodoc>GetPrintMagnification() -> int</autodoc> | |
35110 | </method> | |
35111 | <method name="SetPrintColourMode" type="" overloaded="no"> | |
35112 | <autodoc>SetPrintColourMode(int mode)</autodoc> | |
35113 | <paramlist> | |
35114 | <param name="mode" type="int" default=""/> | |
35115 | </paramlist> | |
35116 | </method> | |
35117 | <method name="GetPrintColourMode" type="int" overloaded="no"> | |
35118 | <autodoc>GetPrintColourMode() -> int</autodoc> | |
35119 | </method> | |
35120 | <method name="FindText" type="int" overloaded="no"> | |
35121 | <autodoc>FindText(int minPos, int maxPos, String text, int flags=0) -> int</autodoc> | |
35122 | <paramlist> | |
35123 | <param name="minPos" type="int" default=""/> | |
35124 | <param name="maxPos" type="int" default=""/> | |
35125 | <param name="text" type="String" default=""/> | |
35126 | <param name="flags" type="int" default="0"/> | |
35127 | </paramlist> | |
35128 | </method> | |
35129 | <method name="FormatRange" type="int" overloaded="no"> | |
35130 | <autodoc>FormatRange(bool doDraw, int startPos, int endPos, DC draw, DC target, | |
35131 | Rect renderRect, Rect pageRect) -> int</autodoc> | |
35132 | <paramlist> | |
35133 | <param name="doDraw" type="bool" default=""/> | |
35134 | <param name="startPos" type="int" default=""/> | |
35135 | <param name="endPos" type="int" default=""/> | |
35136 | <param name="draw" type="DC" default=""/> | |
35137 | <param name="target" type="DC" default=""/> | |
35138 | <param name="renderRect" type="Rect" default=""/> | |
35139 | <param name="pageRect" type="Rect" default=""/> | |
35140 | </paramlist> | |
35141 | </method> | |
35142 | <method name="GetFirstVisibleLine" type="int" overloaded="no"> | |
35143 | <autodoc>GetFirstVisibleLine() -> int</autodoc> | |
35144 | </method> | |
35145 | <method name="GetLine" type="String" overloaded="no"> | |
35146 | <autodoc>GetLine(int line) -> String</autodoc> | |
35147 | <paramlist> | |
35148 | <param name="line" type="int" default=""/> | |
35149 | </paramlist> | |
35150 | </method> | |
35151 | <method name="GetLineCount" type="int" overloaded="no"> | |
35152 | <autodoc>GetLineCount() -> int</autodoc> | |
35153 | </method> | |
35154 | <method name="SetMarginLeft" type="" overloaded="no"> | |
35155 | <autodoc>SetMarginLeft(int pixelWidth)</autodoc> | |
35156 | <paramlist> | |
35157 | <param name="pixelWidth" type="int" default=""/> | |
35158 | </paramlist> | |
35159 | </method> | |
35160 | <method name="GetMarginLeft" type="int" overloaded="no"> | |
35161 | <autodoc>GetMarginLeft() -> int</autodoc> | |
35162 | </method> | |
35163 | <method name="SetMarginRight" type="" overloaded="no"> | |
35164 | <autodoc>SetMarginRight(int pixelWidth)</autodoc> | |
35165 | <paramlist> | |
35166 | <param name="pixelWidth" type="int" default=""/> | |
35167 | </paramlist> | |
35168 | </method> | |
35169 | <method name="GetMarginRight" type="int" overloaded="no"> | |
35170 | <autodoc>GetMarginRight() -> int</autodoc> | |
35171 | </method> | |
35172 | <method name="GetModify" type="bool" overloaded="no"> | |
35173 | <autodoc>GetModify() -> bool</autodoc> | |
35174 | </method> | |
35175 | <method name="SetSelection" type="" overloaded="no"> | |
35176 | <autodoc>SetSelection(int start, int end)</autodoc> | |
35177 | <paramlist> | |
35178 | <param name="start" type="int" default=""/> | |
35179 | <param name="end" type="int" default=""/> | |
35180 | </paramlist> | |
35181 | </method> | |
35182 | <method name="GetSelectedText" type="String" overloaded="no"> | |
35183 | <autodoc>GetSelectedText() -> String</autodoc> | |
35184 | </method> | |
35185 | <method name="GetTextRange" type="String" overloaded="no"> | |
35186 | <autodoc>GetTextRange(int startPos, int endPos) -> String</autodoc> | |
35187 | <paramlist> | |
35188 | <param name="startPos" type="int" default=""/> | |
35189 | <param name="endPos" type="int" default=""/> | |
35190 | </paramlist> | |
35191 | </method> | |
35192 | <method name="HideSelection" type="" overloaded="no"> | |
35193 | <autodoc>HideSelection(bool normal)</autodoc> | |
35194 | <paramlist> | |
35195 | <param name="normal" type="bool" default=""/> | |
35196 | </paramlist> | |
35197 | </method> | |
35198 | <method name="LineFromPosition" type="int" overloaded="no"> | |
35199 | <autodoc>LineFromPosition(int pos) -> int</autodoc> | |
35200 | <paramlist> | |
35201 | <param name="pos" type="int" default=""/> | |
35202 | </paramlist> | |
35203 | </method> | |
35204 | <method name="PositionFromLine" type="int" overloaded="no"> | |
35205 | <autodoc>PositionFromLine(int line) -> int</autodoc> | |
35206 | <paramlist> | |
35207 | <param name="line" type="int" default=""/> | |
35208 | </paramlist> | |
35209 | </method> | |
35210 | <method name="LineScroll" type="" overloaded="no"> | |
35211 | <autodoc>LineScroll(int columns, int lines)</autodoc> | |
35212 | <paramlist> | |
35213 | <param name="columns" type="int" default=""/> | |
35214 | <param name="lines" type="int" default=""/> | |
35215 | </paramlist> | |
35216 | </method> | |
35217 | <method name="EnsureCaretVisible" type="" overloaded="no"> | |
35218 | <autodoc>EnsureCaretVisible()</autodoc> | |
35219 | </method> | |
35220 | <method name="ReplaceSelection" type="" overloaded="no"> | |
35221 | <autodoc>ReplaceSelection(String text)</autodoc> | |
35222 | <paramlist> | |
35223 | <param name="text" type="String" default=""/> | |
35224 | </paramlist> | |
35225 | </method> | |
35226 | <method name="SetReadOnly" type="" overloaded="no"> | |
35227 | <autodoc>SetReadOnly(bool readOnly)</autodoc> | |
35228 | <paramlist> | |
35229 | <param name="readOnly" type="bool" default=""/> | |
35230 | </paramlist> | |
35231 | </method> | |
35232 | <method name="CanPaste" type="bool" overloaded="no"> | |
35233 | <autodoc>CanPaste() -> bool</autodoc> | |
35234 | </method> | |
35235 | <method name="CanUndo" type="bool" overloaded="no"> | |
35236 | <autodoc>CanUndo() -> bool</autodoc> | |
35237 | </method> | |
35238 | <method name="EmptyUndoBuffer" type="" overloaded="no"> | |
35239 | <autodoc>EmptyUndoBuffer()</autodoc> | |
35240 | </method> | |
35241 | <method name="Undo" type="" overloaded="no"> | |
35242 | <autodoc>Undo()</autodoc> | |
35243 | </method> | |
35244 | <method name="Cut" type="" overloaded="no"> | |
35245 | <autodoc>Cut()</autodoc> | |
35246 | </method> | |
35247 | <method name="Copy" type="" overloaded="no"> | |
35248 | <autodoc>Copy()</autodoc> | |
35249 | </method> | |
35250 | <method name="Paste" type="" overloaded="no"> | |
35251 | <autodoc>Paste()</autodoc> | |
35252 | </method> | |
35253 | <method name="Clear" type="" overloaded="no"> | |
35254 | <autodoc>Clear()</autodoc> | |
35255 | </method> | |
35256 | <method name="SetText" type="" overloaded="no"> | |
35257 | <autodoc>SetText(String text)</autodoc> | |
35258 | <paramlist> | |
35259 | <param name="text" type="String" default=""/> | |
35260 | </paramlist> | |
35261 | </method> | |
35262 | <method name="GetText" type="String" overloaded="no"> | |
35263 | <autodoc>GetText() -> String</autodoc> | |
35264 | </method> | |
35265 | <method name="GetTextLength" type="int" overloaded="no"> | |
35266 | <autodoc>GetTextLength() -> int</autodoc> | |
35267 | </method> | |
35268 | <method name="SetOvertype" type="" overloaded="no"> | |
35269 | <autodoc>SetOvertype(bool overtype)</autodoc> | |
35270 | <paramlist> | |
35271 | <param name="overtype" type="bool" default=""/> | |
35272 | </paramlist> | |
35273 | </method> | |
35274 | <method name="GetOvertype" type="bool" overloaded="no"> | |
35275 | <autodoc>GetOvertype() -> bool</autodoc> | |
35276 | </method> | |
35277 | <method name="SetCaretWidth" type="" overloaded="no"> | |
35278 | <autodoc>SetCaretWidth(int pixelWidth)</autodoc> | |
35279 | <paramlist> | |
35280 | <param name="pixelWidth" type="int" default=""/> | |
35281 | </paramlist> | |
35282 | </method> | |
35283 | <method name="GetCaretWidth" type="int" overloaded="no"> | |
35284 | <autodoc>GetCaretWidth() -> int</autodoc> | |
35285 | </method> | |
35286 | <method name="SetTargetStart" type="" overloaded="no"> | |
35287 | <autodoc>SetTargetStart(int pos)</autodoc> | |
35288 | <paramlist> | |
35289 | <param name="pos" type="int" default=""/> | |
35290 | </paramlist> | |
35291 | </method> | |
35292 | <method name="GetTargetStart" type="int" overloaded="no"> | |
35293 | <autodoc>GetTargetStart() -> int</autodoc> | |
35294 | </method> | |
35295 | <method name="SetTargetEnd" type="" overloaded="no"> | |
35296 | <autodoc>SetTargetEnd(int pos)</autodoc> | |
35297 | <paramlist> | |
35298 | <param name="pos" type="int" default=""/> | |
35299 | </paramlist> | |
35300 | </method> | |
35301 | <method name="GetTargetEnd" type="int" overloaded="no"> | |
35302 | <autodoc>GetTargetEnd() -> int</autodoc> | |
35303 | </method> | |
35304 | <method name="ReplaceTarget" type="int" overloaded="no"> | |
35305 | <autodoc>ReplaceTarget(String text) -> int</autodoc> | |
35306 | <paramlist> | |
35307 | <param name="text" type="String" default=""/> | |
35308 | </paramlist> | |
35309 | </method> | |
35310 | <method name="ReplaceTargetRE" type="int" overloaded="no"> | |
35311 | <autodoc>ReplaceTargetRE(String text) -> int</autodoc> | |
35312 | <paramlist> | |
35313 | <param name="text" type="String" default=""/> | |
35314 | </paramlist> | |
35315 | </method> | |
35316 | <method name="SearchInTarget" type="int" overloaded="no"> | |
35317 | <autodoc>SearchInTarget(String text) -> int</autodoc> | |
35318 | <paramlist> | |
35319 | <param name="text" type="String" default=""/> | |
35320 | </paramlist> | |
35321 | </method> | |
35322 | <method name="SetSearchFlags" type="" overloaded="no"> | |
35323 | <autodoc>SetSearchFlags(int flags)</autodoc> | |
35324 | <paramlist> | |
35325 | <param name="flags" type="int" default=""/> | |
35326 | </paramlist> | |
35327 | </method> | |
35328 | <method name="GetSearchFlags" type="int" overloaded="no"> | |
35329 | <autodoc>GetSearchFlags() -> int</autodoc> | |
35330 | </method> | |
35331 | <method name="CallTipShow" type="" overloaded="no"> | |
35332 | <autodoc>CallTipShow(int pos, String definition)</autodoc> | |
35333 | <paramlist> | |
35334 | <param name="pos" type="int" default=""/> | |
35335 | <param name="definition" type="String" default=""/> | |
35336 | </paramlist> | |
35337 | </method> | |
35338 | <method name="CallTipCancel" type="" overloaded="no"> | |
35339 | <autodoc>CallTipCancel()</autodoc> | |
35340 | </method> | |
35341 | <method name="CallTipActive" type="bool" overloaded="no"> | |
35342 | <autodoc>CallTipActive() -> bool</autodoc> | |
35343 | </method> | |
35344 | <method name="CallTipPosAtStart" type="int" overloaded="no"> | |
35345 | <autodoc>CallTipPosAtStart() -> int</autodoc> | |
35346 | </method> | |
35347 | <method name="CallTipSetHighlight" type="" overloaded="no"> | |
35348 | <autodoc>CallTipSetHighlight(int start, int end)</autodoc> | |
35349 | <paramlist> | |
35350 | <param name="start" type="int" default=""/> | |
35351 | <param name="end" type="int" default=""/> | |
35352 | </paramlist> | |
35353 | </method> | |
35354 | <method name="CallTipSetBackground" type="" overloaded="no"> | |
35355 | <autodoc>CallTipSetBackground(Colour back)</autodoc> | |
35356 | <paramlist> | |
35357 | <param name="back" type="Colour" default=""/> | |
35358 | </paramlist> | |
35359 | </method> | |
35360 | <method name="CallTipSetForeground" type="" overloaded="no"> | |
35361 | <autodoc>CallTipSetForeground(Colour fore)</autodoc> | |
35362 | <paramlist> | |
35363 | <param name="fore" type="Colour" default=""/> | |
35364 | </paramlist> | |
35365 | </method> | |
35366 | <method name="CallTipSetForegroundHighlight" type="" overloaded="no"> | |
35367 | <autodoc>CallTipSetForegroundHighlight(Colour fore)</autodoc> | |
35368 | <paramlist> | |
35369 | <param name="fore" type="Colour" default=""/> | |
35370 | </paramlist> | |
35371 | </method> | |
35372 | <method name="VisibleFromDocLine" type="int" overloaded="no"> | |
35373 | <autodoc>VisibleFromDocLine(int line) -> int</autodoc> | |
35374 | <paramlist> | |
35375 | <param name="line" type="int" default=""/> | |
35376 | </paramlist> | |
35377 | </method> | |
35378 | <method name="DocLineFromVisible" type="int" overloaded="no"> | |
35379 | <autodoc>DocLineFromVisible(int lineDisplay) -> int</autodoc> | |
35380 | <paramlist> | |
35381 | <param name="lineDisplay" type="int" default=""/> | |
35382 | </paramlist> | |
35383 | </method> | |
35384 | <method name="SetFoldLevel" type="" overloaded="no"> | |
35385 | <autodoc>SetFoldLevel(int line, int level)</autodoc> | |
35386 | <paramlist> | |
35387 | <param name="line" type="int" default=""/> | |
35388 | <param name="level" type="int" default=""/> | |
35389 | </paramlist> | |
35390 | </method> | |
35391 | <method name="GetFoldLevel" type="int" overloaded="no"> | |
35392 | <autodoc>GetFoldLevel(int line) -> int</autodoc> | |
35393 | <paramlist> | |
35394 | <param name="line" type="int" default=""/> | |
35395 | </paramlist> | |
35396 | </method> | |
35397 | <method name="GetLastChild" type="int" overloaded="no"> | |
35398 | <autodoc>GetLastChild(int line, int level) -> int</autodoc> | |
35399 | <paramlist> | |
35400 | <param name="line" type="int" default=""/> | |
35401 | <param name="level" type="int" default=""/> | |
35402 | </paramlist> | |
35403 | </method> | |
35404 | <method name="GetFoldParent" type="int" overloaded="no"> | |
35405 | <autodoc>GetFoldParent(int line) -> int</autodoc> | |
35406 | <paramlist> | |
35407 | <param name="line" type="int" default=""/> | |
35408 | </paramlist> | |
35409 | </method> | |
35410 | <method name="ShowLines" type="" overloaded="no"> | |
35411 | <autodoc>ShowLines(int lineStart, int lineEnd)</autodoc> | |
35412 | <paramlist> | |
35413 | <param name="lineStart" type="int" default=""/> | |
35414 | <param name="lineEnd" type="int" default=""/> | |
35415 | </paramlist> | |
35416 | </method> | |
35417 | <method name="HideLines" type="" overloaded="no"> | |
35418 | <autodoc>HideLines(int lineStart, int lineEnd)</autodoc> | |
35419 | <paramlist> | |
35420 | <param name="lineStart" type="int" default=""/> | |
35421 | <param name="lineEnd" type="int" default=""/> | |
35422 | </paramlist> | |
35423 | </method> | |
35424 | <method name="GetLineVisible" type="bool" overloaded="no"> | |
35425 | <autodoc>GetLineVisible(int line) -> bool</autodoc> | |
35426 | <paramlist> | |
35427 | <param name="line" type="int" default=""/> | |
35428 | </paramlist> | |
35429 | </method> | |
35430 | <method name="SetFoldExpanded" type="" overloaded="no"> | |
35431 | <autodoc>SetFoldExpanded(int line, bool expanded)</autodoc> | |
35432 | <paramlist> | |
35433 | <param name="line" type="int" default=""/> | |
35434 | <param name="expanded" type="bool" default=""/> | |
35435 | </paramlist> | |
35436 | </method> | |
35437 | <method name="GetFoldExpanded" type="bool" overloaded="no"> | |
35438 | <autodoc>GetFoldExpanded(int line) -> bool</autodoc> | |
35439 | <paramlist> | |
35440 | <param name="line" type="int" default=""/> | |
35441 | </paramlist> | |
35442 | </method> | |
35443 | <method name="ToggleFold" type="" overloaded="no"> | |
35444 | <autodoc>ToggleFold(int line)</autodoc> | |
35445 | <paramlist> | |
35446 | <param name="line" type="int" default=""/> | |
35447 | </paramlist> | |
35448 | </method> | |
35449 | <method name="EnsureVisible" type="" overloaded="no"> | |
35450 | <autodoc>EnsureVisible(int line)</autodoc> | |
35451 | <paramlist> | |
35452 | <param name="line" type="int" default=""/> | |
35453 | </paramlist> | |
35454 | </method> | |
35455 | <method name="SetFoldFlags" type="" overloaded="no"> | |
35456 | <autodoc>SetFoldFlags(int flags)</autodoc> | |
35457 | <paramlist> | |
35458 | <param name="flags" type="int" default=""/> | |
35459 | </paramlist> | |
35460 | </method> | |
35461 | <method name="EnsureVisibleEnforcePolicy" type="" overloaded="no"> | |
35462 | <autodoc>EnsureVisibleEnforcePolicy(int line)</autodoc> | |
35463 | <paramlist> | |
35464 | <param name="line" type="int" default=""/> | |
35465 | </paramlist> | |
35466 | </method> | |
35467 | <method name="SetTabIndents" type="" overloaded="no"> | |
35468 | <autodoc>SetTabIndents(bool tabIndents)</autodoc> | |
35469 | <paramlist> | |
35470 | <param name="tabIndents" type="bool" default=""/> | |
35471 | </paramlist> | |
35472 | </method> | |
35473 | <method name="GetTabIndents" type="bool" overloaded="no"> | |
35474 | <autodoc>GetTabIndents() -> bool</autodoc> | |
35475 | </method> | |
35476 | <method name="SetBackSpaceUnIndents" type="" overloaded="no"> | |
35477 | <autodoc>SetBackSpaceUnIndents(bool bsUnIndents)</autodoc> | |
35478 | <paramlist> | |
35479 | <param name="bsUnIndents" type="bool" default=""/> | |
35480 | </paramlist> | |
35481 | </method> | |
35482 | <method name="GetBackSpaceUnIndents" type="bool" overloaded="no"> | |
35483 | <autodoc>GetBackSpaceUnIndents() -> bool</autodoc> | |
35484 | </method> | |
35485 | <method name="SetMouseDwellTime" type="" overloaded="no"> | |
35486 | <autodoc>SetMouseDwellTime(int periodMilliseconds)</autodoc> | |
35487 | <paramlist> | |
35488 | <param name="periodMilliseconds" type="int" default=""/> | |
35489 | </paramlist> | |
35490 | </method> | |
35491 | <method name="GetMouseDwellTime" type="int" overloaded="no"> | |
35492 | <autodoc>GetMouseDwellTime() -> int</autodoc> | |
35493 | </method> | |
35494 | <method name="WordStartPosition" type="int" overloaded="no"> | |
35495 | <autodoc>WordStartPosition(int pos, bool onlyWordCharacters) -> int</autodoc> | |
35496 | <paramlist> | |
35497 | <param name="pos" type="int" default=""/> | |
35498 | <param name="onlyWordCharacters" type="bool" default=""/> | |
35499 | </paramlist> | |
35500 | </method> | |
35501 | <method name="WordEndPosition" type="int" overloaded="no"> | |
35502 | <autodoc>WordEndPosition(int pos, bool onlyWordCharacters) -> int</autodoc> | |
35503 | <paramlist> | |
35504 | <param name="pos" type="int" default=""/> | |
35505 | <param name="onlyWordCharacters" type="bool" default=""/> | |
35506 | </paramlist> | |
35507 | </method> | |
35508 | <method name="SetWrapMode" type="" overloaded="no"> | |
35509 | <autodoc>SetWrapMode(int mode)</autodoc> | |
35510 | <paramlist> | |
35511 | <param name="mode" type="int" default=""/> | |
35512 | </paramlist> | |
35513 | </method> | |
35514 | <method name="GetWrapMode" type="int" overloaded="no"> | |
35515 | <autodoc>GetWrapMode() -> int</autodoc> | |
35516 | </method> | |
35517 | <method name="SetLayoutCache" type="" overloaded="no"> | |
35518 | <autodoc>SetLayoutCache(int mode)</autodoc> | |
35519 | <paramlist> | |
35520 | <param name="mode" type="int" default=""/> | |
35521 | </paramlist> | |
35522 | </method> | |
35523 | <method name="GetLayoutCache" type="int" overloaded="no"> | |
35524 | <autodoc>GetLayoutCache() -> int</autodoc> | |
35525 | </method> | |
35526 | <method name="SetScrollWidth" type="" overloaded="no"> | |
35527 | <autodoc>SetScrollWidth(int pixelWidth)</autodoc> | |
35528 | <paramlist> | |
35529 | <param name="pixelWidth" type="int" default=""/> | |
35530 | </paramlist> | |
35531 | </method> | |
35532 | <method name="GetScrollWidth" type="int" overloaded="no"> | |
35533 | <autodoc>GetScrollWidth() -> int</autodoc> | |
35534 | </method> | |
35535 | <method name="TextWidth" type="int" overloaded="no"> | |
35536 | <autodoc>TextWidth(int style, String text) -> int</autodoc> | |
35537 | <paramlist> | |
35538 | <param name="style" type="int" default=""/> | |
35539 | <param name="text" type="String" default=""/> | |
35540 | </paramlist> | |
35541 | </method> | |
35542 | <method name="SetEndAtLastLine" type="" overloaded="no"> | |
35543 | <autodoc>SetEndAtLastLine(bool endAtLastLine)</autodoc> | |
35544 | <paramlist> | |
35545 | <param name="endAtLastLine" type="bool" default=""/> | |
35546 | </paramlist> | |
35547 | </method> | |
35548 | <method name="GetEndAtLastLine" type="int" overloaded="no"> | |
35549 | <autodoc>GetEndAtLastLine() -> int</autodoc> | |
35550 | </method> | |
35551 | <method name="TextHeight" type="int" overloaded="no"> | |
35552 | <autodoc>TextHeight(int line) -> int</autodoc> | |
35553 | <paramlist> | |
35554 | <param name="line" type="int" default=""/> | |
35555 | </paramlist> | |
35556 | </method> | |
35557 | <method name="SetUseVerticalScrollBar" type="" overloaded="no"> | |
35558 | <autodoc>SetUseVerticalScrollBar(bool show)</autodoc> | |
35559 | <paramlist> | |
35560 | <param name="show" type="bool" default=""/> | |
35561 | </paramlist> | |
35562 | </method> | |
35563 | <method name="GetUseVerticalScrollBar" type="bool" overloaded="no"> | |
35564 | <autodoc>GetUseVerticalScrollBar() -> bool</autodoc> | |
35565 | </method> | |
35566 | <method name="AppendText" type="" overloaded="no"> | |
35567 | <autodoc>AppendText(int length, String text)</autodoc> | |
35568 | <paramlist> | |
35569 | <param name="length" type="int" default=""/> | |
35570 | <param name="text" type="String" default=""/> | |
35571 | </paramlist> | |
35572 | </method> | |
35573 | <method name="GetTwoPhaseDraw" type="bool" overloaded="no"> | |
35574 | <autodoc>GetTwoPhaseDraw() -> bool</autodoc> | |
35575 | </method> | |
35576 | <method name="SetTwoPhaseDraw" type="" overloaded="no"> | |
35577 | <autodoc>SetTwoPhaseDraw(bool twoPhase)</autodoc> | |
35578 | <paramlist> | |
35579 | <param name="twoPhase" type="bool" default=""/> | |
35580 | </paramlist> | |
35581 | </method> | |
35582 | <method name="TargetFromSelection" type="" overloaded="no"> | |
35583 | <autodoc>TargetFromSelection()</autodoc> | |
35584 | </method> | |
35585 | <method name="LinesJoin" type="" overloaded="no"> | |
35586 | <autodoc>LinesJoin()</autodoc> | |
35587 | </method> | |
35588 | <method name="LinesSplit" type="" overloaded="no"> | |
35589 | <autodoc>LinesSplit(int pixelWidth)</autodoc> | |
35590 | <paramlist> | |
35591 | <param name="pixelWidth" type="int" default=""/> | |
35592 | </paramlist> | |
35593 | </method> | |
35594 | <method name="SetFoldMarginColour" type="" overloaded="no"> | |
35595 | <autodoc>SetFoldMarginColour(bool useSetting, Colour back)</autodoc> | |
35596 | <paramlist> | |
35597 | <param name="useSetting" type="bool" default=""/> | |
35598 | <param name="back" type="Colour" default=""/> | |
35599 | </paramlist> | |
35600 | </method> | |
35601 | <method name="SetFoldMarginHiColour" type="" overloaded="no"> | |
35602 | <autodoc>SetFoldMarginHiColour(bool useSetting, Colour fore)</autodoc> | |
35603 | <paramlist> | |
35604 | <param name="useSetting" type="bool" default=""/> | |
35605 | <param name="fore" type="Colour" default=""/> | |
35606 | </paramlist> | |
35607 | </method> | |
b39e211b RD |
35608 | <method name="LineDown" type="" overloaded="no"> |
35609 | <autodoc>LineDown()</autodoc> | |
35610 | <docstring>This is just a wrapper for ScrollLines(1).</docstring> | |
35611 | </method> | |
35612 | <method name="LineDownExtend" type="" overloaded="no"> | |
35613 | <autodoc>LineDownExtend()</autodoc> | |
35614 | </method> | |
35615 | <method name="LineUp" type="" overloaded="no"> | |
35616 | <autodoc>LineUp()</autodoc> | |
35617 | <docstring>This is just a wrapper for ScrollLines(-1).</docstring> | |
35618 | </method> | |
35619 | <method name="LineUpExtend" type="" overloaded="no"> | |
35620 | <autodoc>LineUpExtend()</autodoc> | |
35621 | </method> | |
35622 | <method name="CharLeft" type="" overloaded="no"> | |
35623 | <autodoc>CharLeft()</autodoc> | |
35624 | </method> | |
35625 | <method name="CharLeftExtend" type="" overloaded="no"> | |
35626 | <autodoc>CharLeftExtend()</autodoc> | |
35627 | </method> | |
35628 | <method name="CharRight" type="" overloaded="no"> | |
35629 | <autodoc>CharRight()</autodoc> | |
35630 | </method> | |
35631 | <method name="CharRightExtend" type="" overloaded="no"> | |
35632 | <autodoc>CharRightExtend()</autodoc> | |
35633 | </method> | |
35634 | <method name="WordLeft" type="" overloaded="no"> | |
35635 | <autodoc>WordLeft()</autodoc> | |
35636 | </method> | |
35637 | <method name="WordLeftExtend" type="" overloaded="no"> | |
35638 | <autodoc>WordLeftExtend()</autodoc> | |
35639 | </method> | |
35640 | <method name="WordRight" type="" overloaded="no"> | |
35641 | <autodoc>WordRight()</autodoc> | |
35642 | </method> | |
35643 | <method name="WordRightExtend" type="" overloaded="no"> | |
35644 | <autodoc>WordRightExtend()</autodoc> | |
35645 | </method> | |
35646 | <method name="Home" type="" overloaded="no"> | |
35647 | <autodoc>Home()</autodoc> | |
35648 | </method> | |
35649 | <method name="HomeExtend" type="" overloaded="no"> | |
35650 | <autodoc>HomeExtend()</autodoc> | |
35651 | </method> | |
35652 | <method name="LineEnd" type="" overloaded="no"> | |
35653 | <autodoc>LineEnd()</autodoc> | |
35654 | </method> | |
35655 | <method name="LineEndExtend" type="" overloaded="no"> | |
35656 | <autodoc>LineEndExtend()</autodoc> | |
35657 | </method> | |
35658 | <method name="DocumentStart" type="" overloaded="no"> | |
35659 | <autodoc>DocumentStart()</autodoc> | |
35660 | </method> | |
35661 | <method name="DocumentStartExtend" type="" overloaded="no"> | |
35662 | <autodoc>DocumentStartExtend()</autodoc> | |
35663 | </method> | |
35664 | <method name="DocumentEnd" type="" overloaded="no"> | |
35665 | <autodoc>DocumentEnd()</autodoc> | |
35666 | </method> | |
35667 | <method name="DocumentEndExtend" type="" overloaded="no"> | |
35668 | <autodoc>DocumentEndExtend()</autodoc> | |
35669 | </method> | |
35670 | <method name="PageUp" type="" overloaded="no"> | |
35671 | <autodoc>PageUp()</autodoc> | |
35672 | <docstring>This is just a wrapper for ScrollPages(-1).</docstring> | |
35673 | </method> | |
35674 | <method name="PageUpExtend" type="" overloaded="no"> | |
35675 | <autodoc>PageUpExtend()</autodoc> | |
35676 | </method> | |
35677 | <method name="PageDown" type="" overloaded="no"> | |
35678 | <autodoc>PageDown()</autodoc> | |
35679 | <docstring>This is just a wrapper for ScrollPages(1).</docstring> | |
35680 | </method> | |
35681 | <method name="PageDownExtend" type="" overloaded="no"> | |
35682 | <autodoc>PageDownExtend()</autodoc> | |
35683 | </method> | |
35684 | <method name="EditToggleOvertype" type="" overloaded="no"> | |
35685 | <autodoc>EditToggleOvertype()</autodoc> | |
35686 | </method> | |
35687 | <method name="Cancel" type="" overloaded="no"> | |
35688 | <autodoc>Cancel()</autodoc> | |
35689 | </method> | |
35690 | <method name="DeleteBack" type="" overloaded="no"> | |
35691 | <autodoc>DeleteBack()</autodoc> | |
35692 | </method> | |
35693 | <method name="Tab" type="" overloaded="no"> | |
35694 | <autodoc>Tab()</autodoc> | |
35695 | </method> | |
35696 | <method name="BackTab" type="" overloaded="no"> | |
35697 | <autodoc>BackTab()</autodoc> | |
35698 | </method> | |
35699 | <method name="NewLine" type="" overloaded="no"> | |
35700 | <autodoc>NewLine()</autodoc> | |
35701 | </method> | |
35702 | <method name="FormFeed" type="" overloaded="no"> | |
35703 | <autodoc>FormFeed()</autodoc> | |
35704 | </method> | |
35705 | <method name="VCHome" type="" overloaded="no"> | |
35706 | <autodoc>VCHome()</autodoc> | |
35707 | </method> | |
35708 | <method name="VCHomeExtend" type="" overloaded="no"> | |
35709 | <autodoc>VCHomeExtend()</autodoc> | |
35710 | </method> | |
35711 | <method name="ZoomIn" type="" overloaded="no"> | |
35712 | <autodoc>ZoomIn()</autodoc> | |
35713 | </method> | |
35714 | <method name="ZoomOut" type="" overloaded="no"> | |
35715 | <autodoc>ZoomOut()</autodoc> | |
35716 | </method> | |
35717 | <method name="DelWordLeft" type="" overloaded="no"> | |
35718 | <autodoc>DelWordLeft()</autodoc> | |
35719 | </method> | |
35720 | <method name="DelWordRight" type="" overloaded="no"> | |
35721 | <autodoc>DelWordRight()</autodoc> | |
35722 | </method> | |
35723 | <method name="LineCut" type="" overloaded="no"> | |
35724 | <autodoc>LineCut()</autodoc> | |
35725 | </method> | |
35726 | <method name="LineDelete" type="" overloaded="no"> | |
35727 | <autodoc>LineDelete()</autodoc> | |
35728 | </method> | |
35729 | <method name="LineTranspose" type="" overloaded="no"> | |
35730 | <autodoc>LineTranspose()</autodoc> | |
35731 | </method> | |
f32fc4bc RD |
35732 | <method name="LineDuplicate" type="" overloaded="no"> |
35733 | <autodoc>LineDuplicate()</autodoc> | |
35734 | </method> | |
b39e211b RD |
35735 | <method name="LowerCase" type="" overloaded="no"> |
35736 | <autodoc>LowerCase()</autodoc> | |
35737 | </method> | |
35738 | <method name="UpperCase" type="" overloaded="no"> | |
35739 | <autodoc>UpperCase()</autodoc> | |
35740 | </method> | |
35741 | <method name="LineScrollDown" type="" overloaded="no"> | |
35742 | <autodoc>LineScrollDown()</autodoc> | |
35743 | </method> | |
35744 | <method name="LineScrollUp" type="" overloaded="no"> | |
35745 | <autodoc>LineScrollUp()</autodoc> | |
35746 | </method> | |
35747 | <method name="DeleteBackNotLine" type="" overloaded="no"> | |
35748 | <autodoc>DeleteBackNotLine()</autodoc> | |
35749 | </method> | |
f32fc4bc RD |
35750 | <method name="HomeDisplay" type="" overloaded="no"> |
35751 | <autodoc>HomeDisplay()</autodoc> | |
35752 | </method> | |
35753 | <method name="HomeDisplayExtend" type="" overloaded="no"> | |
35754 | <autodoc>HomeDisplayExtend()</autodoc> | |
35755 | </method> | |
35756 | <method name="LineEndDisplay" type="" overloaded="no"> | |
35757 | <autodoc>LineEndDisplay()</autodoc> | |
35758 | </method> | |
35759 | <method name="LineEndDisplayExtend" type="" overloaded="no"> | |
35760 | <autodoc>LineEndDisplayExtend()</autodoc> | |
35761 | </method> | |
b39e211b RD |
35762 | <method name="HomeWrap" type="" overloaded="no"> |
35763 | <autodoc>HomeWrap()</autodoc> | |
35764 | </method> | |
35765 | <method name="HomeWrapExtend" type="" overloaded="no"> | |
35766 | <autodoc>HomeWrapExtend()</autodoc> | |
35767 | </method> | |
35768 | <method name="LineEndWrap" type="" overloaded="no"> | |
35769 | <autodoc>LineEndWrap()</autodoc> | |
35770 | </method> | |
35771 | <method name="LineEndWrapExtend" type="" overloaded="no"> | |
35772 | <autodoc>LineEndWrapExtend()</autodoc> | |
35773 | </method> | |
35774 | <method name="VCHomeWrap" type="" overloaded="no"> | |
35775 | <autodoc>VCHomeWrap()</autodoc> | |
35776 | </method> | |
35777 | <method name="VCHomeWrapExtend" type="" overloaded="no"> | |
35778 | <autodoc>VCHomeWrapExtend()</autodoc> | |
35779 | </method> | |
f32fc4bc RD |
35780 | <method name="LineCopy" type="" overloaded="no"> |
35781 | <autodoc>LineCopy()</autodoc> | |
35782 | </method> | |
35783 | <method name="MoveCaretInsideView" type="" overloaded="no"> | |
35784 | <autodoc>MoveCaretInsideView()</autodoc> | |
35785 | </method> | |
35786 | <method name="LineLength" type="int" overloaded="no"> | |
35787 | <autodoc>LineLength(int line) -> int</autodoc> | |
35788 | <paramlist> | |
35789 | <param name="line" type="int" default=""/> | |
35790 | </paramlist> | |
35791 | </method> | |
35792 | <method name="BraceHighlight" type="" overloaded="no"> | |
35793 | <autodoc>BraceHighlight(int pos1, int pos2)</autodoc> | |
35794 | <paramlist> | |
35795 | <param name="pos1" type="int" default=""/> | |
35796 | <param name="pos2" type="int" default=""/> | |
35797 | </paramlist> | |
35798 | </method> | |
35799 | <method name="BraceBadLight" type="" overloaded="no"> | |
35800 | <autodoc>BraceBadLight(int pos)</autodoc> | |
35801 | <paramlist> | |
35802 | <param name="pos" type="int" default=""/> | |
35803 | </paramlist> | |
35804 | </method> | |
35805 | <method name="BraceMatch" type="int" overloaded="no"> | |
35806 | <autodoc>BraceMatch(int pos) -> int</autodoc> | |
35807 | <paramlist> | |
35808 | <param name="pos" type="int" default=""/> | |
35809 | </paramlist> | |
35810 | </method> | |
35811 | <method name="GetViewEOL" type="bool" overloaded="no"> | |
35812 | <autodoc>GetViewEOL() -> bool</autodoc> | |
35813 | </method> | |
35814 | <method name="SetViewEOL" type="" overloaded="no"> | |
35815 | <autodoc>SetViewEOL(bool visible)</autodoc> | |
35816 | <paramlist> | |
35817 | <param name="visible" type="bool" default=""/> | |
35818 | </paramlist> | |
35819 | </method> | |
35820 | <method name="GetDocPointer" type="" overloaded="no"> | |
35821 | <autodoc>GetDocPointer() -> void</autodoc> | |
35822 | </method> | |
35823 | <method name="SetDocPointer" type="" overloaded="no"> | |
35824 | <autodoc>SetDocPointer(void docPointer)</autodoc> | |
35825 | <paramlist> | |
35826 | <param name="docPointer" type="" default=""/> | |
35827 | </paramlist> | |
35828 | </method> | |
35829 | <method name="SetModEventMask" type="" overloaded="no"> | |
35830 | <autodoc>SetModEventMask(int mask)</autodoc> | |
35831 | <paramlist> | |
35832 | <param name="mask" type="int" default=""/> | |
35833 | </paramlist> | |
35834 | </method> | |
35835 | <method name="GetEdgeColumn" type="int" overloaded="no"> | |
35836 | <autodoc>GetEdgeColumn() -> int</autodoc> | |
35837 | </method> | |
35838 | <method name="SetEdgeColumn" type="" overloaded="no"> | |
35839 | <autodoc>SetEdgeColumn(int column)</autodoc> | |
35840 | <paramlist> | |
35841 | <param name="column" type="int" default=""/> | |
35842 | </paramlist> | |
35843 | </method> | |
35844 | <method name="GetEdgeMode" type="int" overloaded="no"> | |
35845 | <autodoc>GetEdgeMode() -> int</autodoc> | |
35846 | </method> | |
35847 | <method name="SetEdgeMode" type="" overloaded="no"> | |
35848 | <autodoc>SetEdgeMode(int mode)</autodoc> | |
35849 | <paramlist> | |
35850 | <param name="mode" type="int" default=""/> | |
35851 | </paramlist> | |
35852 | </method> | |
35853 | <method name="GetEdgeColour" type="Colour" overloaded="no"> | |
35854 | <autodoc>GetEdgeColour() -> Colour</autodoc> | |
35855 | </method> | |
35856 | <method name="SetEdgeColour" type="" overloaded="no"> | |
35857 | <autodoc>SetEdgeColour(Colour edgeColour)</autodoc> | |
35858 | <paramlist> | |
35859 | <param name="edgeColour" type="Colour" default=""/> | |
35860 | </paramlist> | |
35861 | </method> | |
35862 | <method name="SearchAnchor" type="" overloaded="no"> | |
35863 | <autodoc>SearchAnchor()</autodoc> | |
35864 | </method> | |
35865 | <method name="SearchNext" type="int" overloaded="no"> | |
35866 | <autodoc>SearchNext(int flags, String text) -> int</autodoc> | |
35867 | <paramlist> | |
35868 | <param name="flags" type="int" default=""/> | |
35869 | <param name="text" type="String" default=""/> | |
35870 | </paramlist> | |
35871 | </method> | |
35872 | <method name="SearchPrev" type="int" overloaded="no"> | |
35873 | <autodoc>SearchPrev(int flags, String text) -> int</autodoc> | |
35874 | <paramlist> | |
35875 | <param name="flags" type="int" default=""/> | |
35876 | <param name="text" type="String" default=""/> | |
35877 | </paramlist> | |
35878 | </method> | |
35879 | <method name="LinesOnScreen" type="int" overloaded="no"> | |
35880 | <autodoc>LinesOnScreen() -> int</autodoc> | |
35881 | </method> | |
35882 | <method name="UsePopUp" type="" overloaded="no"> | |
35883 | <autodoc>UsePopUp(bool allowPopUp)</autodoc> | |
35884 | <paramlist> | |
35885 | <param name="allowPopUp" type="bool" default=""/> | |
35886 | </paramlist> | |
35887 | </method> | |
35888 | <method name="SelectionIsRectangle" type="bool" overloaded="no"> | |
35889 | <autodoc>SelectionIsRectangle() -> bool</autodoc> | |
35890 | </method> | |
35891 | <method name="SetZoom" type="" overloaded="no"> | |
35892 | <autodoc>SetZoom(int zoom)</autodoc> | |
35893 | <paramlist> | |
35894 | <param name="zoom" type="int" default=""/> | |
35895 | </paramlist> | |
35896 | </method> | |
35897 | <method name="GetZoom" type="int" overloaded="no"> | |
35898 | <autodoc>GetZoom() -> int</autodoc> | |
35899 | </method> | |
35900 | <method name="CreateDocument" type="" overloaded="no"> | |
35901 | <autodoc>CreateDocument() -> void</autodoc> | |
35902 | </method> | |
35903 | <method name="AddRefDocument" type="" overloaded="no"> | |
35904 | <autodoc>AddRefDocument(void docPointer)</autodoc> | |
35905 | <paramlist> | |
35906 | <param name="docPointer" type="" default=""/> | |
35907 | </paramlist> | |
35908 | </method> | |
35909 | <method name="ReleaseDocument" type="" overloaded="no"> | |
35910 | <autodoc>ReleaseDocument(void docPointer)</autodoc> | |
35911 | <paramlist> | |
35912 | <param name="docPointer" type="" default=""/> | |
35913 | </paramlist> | |
35914 | </method> | |
35915 | <method name="GetModEventMask" type="int" overloaded="no"> | |
35916 | <autodoc>GetModEventMask() -> int</autodoc> | |
35917 | </method> | |
35918 | <method name="SetSTCFocus" type="" overloaded="no"> | |
35919 | <autodoc>SetSTCFocus(bool focus)</autodoc> | |
35920 | <paramlist> | |
35921 | <param name="focus" type="bool" default=""/> | |
35922 | </paramlist> | |
35923 | </method> | |
35924 | <method name="GetSTCFocus" type="bool" overloaded="no"> | |
35925 | <autodoc>GetSTCFocus() -> bool</autodoc> | |
35926 | </method> | |
35927 | <method name="SetStatus" type="" overloaded="no"> | |
35928 | <autodoc>SetStatus(int statusCode)</autodoc> | |
35929 | <paramlist> | |
35930 | <param name="statusCode" type="int" default=""/> | |
35931 | </paramlist> | |
35932 | </method> | |
35933 | <method name="GetStatus" type="int" overloaded="no"> | |
35934 | <autodoc>GetStatus() -> int</autodoc> | |
35935 | </method> | |
35936 | <method name="SetMouseDownCaptures" type="" overloaded="no"> | |
35937 | <autodoc>SetMouseDownCaptures(bool captures)</autodoc> | |
35938 | <paramlist> | |
35939 | <param name="captures" type="bool" default=""/> | |
35940 | </paramlist> | |
35941 | </method> | |
35942 | <method name="GetMouseDownCaptures" type="bool" overloaded="no"> | |
35943 | <autodoc>GetMouseDownCaptures() -> bool</autodoc> | |
35944 | </method> | |
35945 | <method name="SetSTCCursor" type="" overloaded="no"> | |
35946 | <autodoc>SetSTCCursor(int cursorType)</autodoc> | |
35947 | <paramlist> | |
35948 | <param name="cursorType" type="int" default=""/> | |
35949 | </paramlist> | |
35950 | </method> | |
35951 | <method name="GetSTCCursor" type="int" overloaded="no"> | |
35952 | <autodoc>GetSTCCursor() -> int</autodoc> | |
35953 | </method> | |
35954 | <method name="SetControlCharSymbol" type="" overloaded="no"> | |
35955 | <autodoc>SetControlCharSymbol(int symbol)</autodoc> | |
35956 | <paramlist> | |
35957 | <param name="symbol" type="int" default=""/> | |
35958 | </paramlist> | |
35959 | </method> | |
35960 | <method name="GetControlCharSymbol" type="int" overloaded="no"> | |
35961 | <autodoc>GetControlCharSymbol() -> int</autodoc> | |
35962 | </method> | |
35963 | <method name="WordPartLeft" type="" overloaded="no"> | |
35964 | <autodoc>WordPartLeft()</autodoc> | |
35965 | </method> | |
35966 | <method name="WordPartLeftExtend" type="" overloaded="no"> | |
35967 | <autodoc>WordPartLeftExtend()</autodoc> | |
35968 | </method> | |
35969 | <method name="WordPartRight" type="" overloaded="no"> | |
35970 | <autodoc>WordPartRight()</autodoc> | |
35971 | </method> | |
35972 | <method name="WordPartRightExtend" type="" overloaded="no"> | |
35973 | <autodoc>WordPartRightExtend()</autodoc> | |
35974 | </method> | |
35975 | <method name="SetVisiblePolicy" type="" overloaded="no"> | |
35976 | <autodoc>SetVisiblePolicy(int visiblePolicy, int visibleSlop)</autodoc> | |
35977 | <paramlist> | |
35978 | <param name="visiblePolicy" type="int" default=""/> | |
35979 | <param name="visibleSlop" type="int" default=""/> | |
35980 | </paramlist> | |
35981 | </method> | |
35982 | <method name="DelLineLeft" type="" overloaded="no"> | |
35983 | <autodoc>DelLineLeft()</autodoc> | |
35984 | </method> | |
35985 | <method name="DelLineRight" type="" overloaded="no"> | |
35986 | <autodoc>DelLineRight()</autodoc> | |
35987 | </method> | |
35988 | <method name="SetXOffset" type="" overloaded="no"> | |
35989 | <autodoc>SetXOffset(int newOffset)</autodoc> | |
35990 | <paramlist> | |
35991 | <param name="newOffset" type="int" default=""/> | |
35992 | </paramlist> | |
35993 | </method> | |
35994 | <method name="GetXOffset" type="int" overloaded="no"> | |
35995 | <autodoc>GetXOffset() -> int</autodoc> | |
35996 | </method> | |
35997 | <method name="ChooseCaretX" type="" overloaded="no"> | |
35998 | <autodoc>ChooseCaretX()</autodoc> | |
35999 | </method> | |
36000 | <method name="SetXCaretPolicy" type="" overloaded="no"> | |
36001 | <autodoc>SetXCaretPolicy(int caretPolicy, int caretSlop)</autodoc> | |
36002 | <paramlist> | |
36003 | <param name="caretPolicy" type="int" default=""/> | |
36004 | <param name="caretSlop" type="int" default=""/> | |
36005 | </paramlist> | |
36006 | </method> | |
36007 | <method name="SetYCaretPolicy" type="" overloaded="no"> | |
36008 | <autodoc>SetYCaretPolicy(int caretPolicy, int caretSlop)</autodoc> | |
36009 | <paramlist> | |
36010 | <param name="caretPolicy" type="int" default=""/> | |
36011 | <param name="caretSlop" type="int" default=""/> | |
36012 | </paramlist> | |
36013 | </method> | |
36014 | <method name="SetPrintWrapMode" type="" overloaded="no"> | |
36015 | <autodoc>SetPrintWrapMode(int mode)</autodoc> | |
36016 | <paramlist> | |
36017 | <param name="mode" type="int" default=""/> | |
36018 | </paramlist> | |
36019 | </method> | |
36020 | <method name="GetPrintWrapMode" type="int" overloaded="no"> | |
36021 | <autodoc>GetPrintWrapMode() -> int</autodoc> | |
36022 | </method> | |
36023 | <method name="SetHotspotActiveForeground" type="" overloaded="no"> | |
36024 | <autodoc>SetHotspotActiveForeground(bool useSetting, Colour fore)</autodoc> | |
36025 | <paramlist> | |
36026 | <param name="useSetting" type="bool" default=""/> | |
36027 | <param name="fore" type="Colour" default=""/> | |
36028 | </paramlist> | |
36029 | </method> | |
36030 | <method name="SetHotspotActiveBackground" type="" overloaded="no"> | |
36031 | <autodoc>SetHotspotActiveBackground(bool useSetting, Colour back)</autodoc> | |
36032 | <paramlist> | |
36033 | <param name="useSetting" type="bool" default=""/> | |
36034 | <param name="back" type="Colour" default=""/> | |
36035 | </paramlist> | |
36036 | </method> | |
36037 | <method name="SetHotspotActiveUnderline" type="" overloaded="no"> | |
36038 | <autodoc>SetHotspotActiveUnderline(bool underline)</autodoc> | |
36039 | <paramlist> | |
36040 | <param name="underline" type="bool" default=""/> | |
36041 | </paramlist> | |
36042 | </method> | |
36043 | <method name="SetHotspotSingleLine" type="" overloaded="no"> | |
36044 | <autodoc>SetHotspotSingleLine(bool singleLine)</autodoc> | |
36045 | <paramlist> | |
36046 | <param name="singleLine" type="bool" default=""/> | |
36047 | </paramlist> | |
36048 | </method> | |
b39e211b RD |
36049 | <method name="ParaDown" type="" overloaded="no"> |
36050 | <autodoc>ParaDown()</autodoc> | |
36051 | </method> | |
36052 | <method name="ParaDownExtend" type="" overloaded="no"> | |
36053 | <autodoc>ParaDownExtend()</autodoc> | |
36054 | </method> | |
36055 | <method name="ParaUp" type="" overloaded="no"> | |
36056 | <autodoc>ParaUp()</autodoc> | |
36057 | </method> | |
36058 | <method name="ParaUpExtend" type="" overloaded="no"> | |
36059 | <autodoc>ParaUpExtend()</autodoc> | |
36060 | </method> | |
f32fc4bc RD |
36061 | <method name="PositionBefore" type="int" overloaded="no"> |
36062 | <autodoc>PositionBefore(int pos) -> int</autodoc> | |
36063 | <paramlist> | |
36064 | <param name="pos" type="int" default=""/> | |
36065 | </paramlist> | |
36066 | </method> | |
36067 | <method name="PositionAfter" type="int" overloaded="no"> | |
36068 | <autodoc>PositionAfter(int pos) -> int</autodoc> | |
36069 | <paramlist> | |
36070 | <param name="pos" type="int" default=""/> | |
36071 | </paramlist> | |
36072 | </method> | |
36073 | <method name="CopyRange" type="" overloaded="no"> | |
36074 | <autodoc>CopyRange(int start, int end)</autodoc> | |
36075 | <paramlist> | |
36076 | <param name="start" type="int" default=""/> | |
36077 | <param name="end" type="int" default=""/> | |
36078 | </paramlist> | |
36079 | </method> | |
36080 | <method name="CopyText" type="" overloaded="no"> | |
36081 | <autodoc>CopyText(int length, String text)</autodoc> | |
36082 | <paramlist> | |
36083 | <param name="length" type="int" default=""/> | |
36084 | <param name="text" type="String" default=""/> | |
36085 | </paramlist> | |
36086 | </method> | |
36087 | <method name="SetSelectionMode" type="" overloaded="no"> | |
36088 | <autodoc>SetSelectionMode(int mode)</autodoc> | |
36089 | <paramlist> | |
36090 | <param name="mode" type="int" default=""/> | |
36091 | </paramlist> | |
36092 | </method> | |
36093 | <method name="GetSelectionMode" type="int" overloaded="no"> | |
36094 | <autodoc>GetSelectionMode() -> int</autodoc> | |
36095 | </method> | |
36096 | <method name="GetLineSelStartPosition" type="int" overloaded="no"> | |
36097 | <autodoc>GetLineSelStartPosition(int line) -> int</autodoc> | |
36098 | <paramlist> | |
36099 | <param name="line" type="int" default=""/> | |
36100 | </paramlist> | |
36101 | </method> | |
36102 | <method name="GetLineSelEndPosition" type="int" overloaded="no"> | |
36103 | <autodoc>GetLineSelEndPosition(int line) -> int</autodoc> | |
36104 | <paramlist> | |
36105 | <param name="line" type="int" default=""/> | |
36106 | </paramlist> | |
36107 | </method> | |
b39e211b RD |
36108 | <method name="LineDownRectExtend" type="" overloaded="no"> |
36109 | <autodoc>LineDownRectExtend()</autodoc> | |
36110 | </method> | |
36111 | <method name="LineUpRectExtend" type="" overloaded="no"> | |
36112 | <autodoc>LineUpRectExtend()</autodoc> | |
36113 | </method> | |
36114 | <method name="CharLeftRectExtend" type="" overloaded="no"> | |
36115 | <autodoc>CharLeftRectExtend()</autodoc> | |
36116 | </method> | |
36117 | <method name="CharRightRectExtend" type="" overloaded="no"> | |
36118 | <autodoc>CharRightRectExtend()</autodoc> | |
36119 | </method> | |
36120 | <method name="HomeRectExtend" type="" overloaded="no"> | |
36121 | <autodoc>HomeRectExtend()</autodoc> | |
36122 | </method> | |
36123 | <method name="VCHomeRectExtend" type="" overloaded="no"> | |
36124 | <autodoc>VCHomeRectExtend()</autodoc> | |
36125 | </method> | |
36126 | <method name="LineEndRectExtend" type="" overloaded="no"> | |
36127 | <autodoc>LineEndRectExtend()</autodoc> | |
36128 | </method> | |
36129 | <method name="PageUpRectExtend" type="" overloaded="no"> | |
36130 | <autodoc>PageUpRectExtend()</autodoc> | |
36131 | </method> | |
36132 | <method name="PageDownRectExtend" type="" overloaded="no"> | |
36133 | <autodoc>PageDownRectExtend()</autodoc> | |
36134 | </method> | |
36135 | <method name="StutteredPageUp" type="" overloaded="no"> | |
36136 | <autodoc>StutteredPageUp()</autodoc> | |
36137 | </method> | |
36138 | <method name="StutteredPageUpExtend" type="" overloaded="no"> | |
36139 | <autodoc>StutteredPageUpExtend()</autodoc> | |
36140 | </method> | |
36141 | <method name="StutteredPageDown" type="" overloaded="no"> | |
36142 | <autodoc>StutteredPageDown()</autodoc> | |
36143 | </method> | |
36144 | <method name="StutteredPageDownExtend" type="" overloaded="no"> | |
36145 | <autodoc>StutteredPageDownExtend()</autodoc> | |
36146 | </method> | |
36147 | <method name="WordLeftEnd" type="" overloaded="no"> | |
36148 | <autodoc>WordLeftEnd()</autodoc> | |
36149 | </method> | |
36150 | <method name="WordLeftEndExtend" type="" overloaded="no"> | |
36151 | <autodoc>WordLeftEndExtend()</autodoc> | |
36152 | </method> | |
36153 | <method name="WordRightEnd" type="" overloaded="no"> | |
36154 | <autodoc>WordRightEnd()</autodoc> | |
36155 | </method> | |
36156 | <method name="WordRightEndExtend" type="" overloaded="no"> | |
36157 | <autodoc>WordRightEndExtend()</autodoc> | |
36158 | </method> | |
f32fc4bc RD |
36159 | <method name="SetWhitespaceChars" type="" overloaded="no"> |
36160 | <autodoc>SetWhitespaceChars(String characters)</autodoc> | |
36161 | <paramlist> | |
36162 | <param name="characters" type="String" default=""/> | |
36163 | </paramlist> | |
36164 | </method> | |
36165 | <method name="SetCharsDefault" type="" overloaded="no"> | |
36166 | <autodoc>SetCharsDefault()</autodoc> | |
36167 | </method> | |
36168 | <method name="AutoCompGetCurrent" type="int" overloaded="no"> | |
36169 | <autodoc>AutoCompGetCurrent() -> int</autodoc> | |
36170 | </method> | |
36171 | <method name="StartRecord" type="" overloaded="no"> | |
36172 | <autodoc>StartRecord()</autodoc> | |
36173 | </method> | |
36174 | <method name="StopRecord" type="" overloaded="no"> | |
36175 | <autodoc>StopRecord()</autodoc> | |
36176 | </method> | |
36177 | <method name="SetLexer" type="" overloaded="no"> | |
36178 | <autodoc>SetLexer(int lexer)</autodoc> | |
36179 | <paramlist> | |
36180 | <param name="lexer" type="int" default=""/> | |
36181 | </paramlist> | |
36182 | </method> | |
36183 | <method name="GetLexer" type="int" overloaded="no"> | |
36184 | <autodoc>GetLexer() -> int</autodoc> | |
36185 | </method> | |
36186 | <method name="Colourise" type="" overloaded="no"> | |
36187 | <autodoc>Colourise(int start, int end)</autodoc> | |
36188 | <paramlist> | |
36189 | <param name="start" type="int" default=""/> | |
36190 | <param name="end" type="int" default=""/> | |
36191 | </paramlist> | |
36192 | </method> | |
36193 | <method name="SetProperty" type="" overloaded="no"> | |
36194 | <autodoc>SetProperty(String key, String value)</autodoc> | |
36195 | <paramlist> | |
36196 | <param name="key" type="String" default=""/> | |
36197 | <param name="value" type="String" default=""/> | |
36198 | </paramlist> | |
36199 | </method> | |
36200 | <method name="SetKeyWords" type="" overloaded="no"> | |
36201 | <autodoc>SetKeyWords(int keywordSet, String keyWords)</autodoc> | |
36202 | <paramlist> | |
36203 | <param name="keywordSet" type="int" default=""/> | |
36204 | <param name="keyWords" type="String" default=""/> | |
36205 | </paramlist> | |
36206 | </method> | |
36207 | <method name="SetLexerLanguage" type="" overloaded="no"> | |
36208 | <autodoc>SetLexerLanguage(String language)</autodoc> | |
36209 | <paramlist> | |
36210 | <param name="language" type="String" default=""/> | |
36211 | </paramlist> | |
36212 | </method> | |
36213 | <method name="GetCurrentLine" type="int" overloaded="no"> | |
36214 | <autodoc>GetCurrentLine() -> int</autodoc> | |
36215 | </method> | |
36216 | <method name="StyleSetSpec" type="" overloaded="no"> | |
36217 | <autodoc>StyleSetSpec(int styleNum, String spec)</autodoc> | |
36218 | <paramlist> | |
36219 | <param name="styleNum" type="int" default=""/> | |
36220 | <param name="spec" type="String" default=""/> | |
36221 | </paramlist> | |
36222 | </method> | |
36223 | <method name="StyleSetFont" type="" overloaded="no"> | |
36224 | <autodoc>StyleSetFont(int styleNum, Font font)</autodoc> | |
36225 | <paramlist> | |
36226 | <param name="styleNum" type="int" default=""/> | |
36227 | <param name="font" type="Font" default=""/> | |
36228 | </paramlist> | |
36229 | </method> | |
36230 | <method name="StyleSetFontAttr" type="" overloaded="no"> | |
36231 | <autodoc>StyleSetFontAttr(int styleNum, int size, String faceName, bool bold, | |
36232 | bool italic, bool underline)</autodoc> | |
36233 | <paramlist> | |
36234 | <param name="styleNum" type="int" default=""/> | |
36235 | <param name="size" type="int" default=""/> | |
36236 | <param name="faceName" type="String" default=""/> | |
36237 | <param name="bold" type="bool" default=""/> | |
36238 | <param name="italic" type="bool" default=""/> | |
36239 | <param name="underline" type="bool" default=""/> | |
36240 | </paramlist> | |
36241 | </method> | |
36242 | <method name="CmdKeyExecute" type="" overloaded="no"> | |
36243 | <autodoc>CmdKeyExecute(int cmd)</autodoc> | |
36244 | <paramlist> | |
36245 | <param name="cmd" type="int" default=""/> | |
36246 | </paramlist> | |
36247 | </method> | |
36248 | <method name="SetMargins" type="" overloaded="no"> | |
36249 | <autodoc>SetMargins(int left, int right)</autodoc> | |
36250 | <paramlist> | |
36251 | <param name="left" type="int" default=""/> | |
36252 | <param name="right" type="int" default=""/> | |
36253 | </paramlist> | |
36254 | </method> | |
36255 | <method name="GetSelection" type="" overloaded="no"> | |
36256 | <autodoc>GetSelection(int OUTPUT, int OUTPUT)</autodoc> | |
36257 | <paramlist> | |
36258 | <param name="OUTPUT" type="int" default=""/> | |
36259 | <param name="OUTPUT" type="int" default=""/> | |
36260 | </paramlist> | |
36261 | </method> | |
36262 | <method name="PointFromPosition" type="Point" overloaded="no"> | |
36263 | <autodoc>PointFromPosition(int pos) -> Point</autodoc> | |
36264 | <paramlist> | |
36265 | <param name="pos" type="int" default=""/> | |
36266 | </paramlist> | |
36267 | </method> | |
36268 | <method name="ScrollToLine" type="" overloaded="no"> | |
36269 | <autodoc>ScrollToLine(int line)</autodoc> | |
36270 | <paramlist> | |
36271 | <param name="line" type="int" default=""/> | |
36272 | </paramlist> | |
36273 | </method> | |
36274 | <method name="ScrollToColumn" type="" overloaded="no"> | |
36275 | <autodoc>ScrollToColumn(int column)</autodoc> | |
36276 | <paramlist> | |
36277 | <param name="column" type="int" default=""/> | |
36278 | </paramlist> | |
36279 | </method> | |
36280 | <method name="SendMsg" type="long" overloaded="no"> | |
36281 | <autodoc>SendMsg(int msg, long wp=0, long lp=0) -> long</autodoc> | |
36282 | <paramlist> | |
36283 | <param name="msg" type="int" default=""/> | |
36284 | <param name="wp" type="long" default="0"/> | |
36285 | <param name="lp" type="long" default="0"/> | |
36286 | </paramlist> | |
36287 | </method> | |
36288 | <method name="SetVScrollBar" type="" overloaded="no"> | |
36289 | <autodoc>SetVScrollBar(wxScrollBar bar)</autodoc> | |
36290 | <paramlist> | |
36291 | <param name="bar" type="ScrollBar" default=""/> | |
36292 | </paramlist> | |
36293 | </method> | |
36294 | <method name="SetHScrollBar" type="" overloaded="no"> | |
36295 | <autodoc>SetHScrollBar(wxScrollBar bar)</autodoc> | |
36296 | <paramlist> | |
36297 | <param name="bar" type="ScrollBar" default=""/> | |
36298 | </paramlist> | |
36299 | </method> | |
36300 | <method name="GetLastKeydownProcessed" type="bool" overloaded="no"> | |
36301 | <autodoc>GetLastKeydownProcessed() -> bool</autodoc> | |
36302 | </method> | |
36303 | <method name="SetLastKeydownProcessed" type="" overloaded="no"> | |
36304 | <autodoc>SetLastKeydownProcessed(bool val)</autodoc> | |
36305 | <paramlist> | |
36306 | <param name="val" type="bool" default=""/> | |
36307 | </paramlist> | |
36308 | </method> | |
36309 | <method name="SaveFile" type="bool" overloaded="no"> | |
36310 | <autodoc>SaveFile(String filename) -> bool</autodoc> | |
36311 | <paramlist> | |
36312 | <param name="filename" type="String" default=""/> | |
36313 | </paramlist> | |
36314 | </method> | |
36315 | <method name="LoadFile" type="bool" overloaded="no"> | |
36316 | <autodoc>LoadFile(String filename) -> bool</autodoc> | |
36317 | <paramlist> | |
36318 | <param name="filename" type="String" default=""/> | |
36319 | </paramlist> | |
36320 | </method> | |
36321 | <method name="DoDragOver" type="wxDragResult" overloaded="no"> | |
36322 | <autodoc>DoDragOver(int x, int y, int def) -> int</autodoc> | |
36323 | <paramlist> | |
36324 | <param name="x" type="int" default=""/> | |
36325 | <param name="y" type="int" default=""/> | |
36326 | <param name="def" type="wxDragResult" default=""/> | |
36327 | </paramlist> | |
36328 | </method> | |
36329 | <method name="DoDropText" type="bool" overloaded="no"> | |
36330 | <autodoc>DoDropText(long x, long y, String data) -> bool</autodoc> | |
36331 | <paramlist> | |
36332 | <param name="x" type="long" default=""/> | |
36333 | <param name="y" type="long" default=""/> | |
36334 | <param name="data" type="String" default=""/> | |
36335 | </paramlist> | |
36336 | </method> | |
36337 | <method name="SetUseAntiAliasing" type="" overloaded="no"> | |
36338 | <autodoc>SetUseAntiAliasing(bool useAA)</autodoc> | |
36339 | <paramlist> | |
36340 | <param name="useAA" type="bool" default=""/> | |
36341 | </paramlist> | |
36342 | </method> | |
36343 | <method name="GetUseAntiAliasing" type="bool" overloaded="no"> | |
36344 | <autodoc>GetUseAntiAliasing() -> bool</autodoc> | |
36345 | </method> | |
36346 | </class> | |
36347 | <class name="StyledTextEvent" oldname="wxStyledTextEvent" module="stc"> | |
36348 | <baseclass name="CommandEvent"/> | |
36349 | <constructor name="StyledTextEvent" overloaded="no"> | |
36350 | <autodoc>__init__(wxEventType commandType=0, int id=0) -> StyledTextEvent</autodoc> | |
36351 | <paramlist> | |
36352 | <param name="commandType" type="wxEventType" default="0"/> | |
36353 | <param name="id" type="int" default="0"/> | |
36354 | </paramlist> | |
36355 | </constructor> | |
36356 | <destructor name="~wxStyledTextEvent" overloaded="no"> | |
36357 | <autodoc>__del__()</autodoc> | |
36358 | </destructor> | |
36359 | <method name="SetPosition" type="" overloaded="no"> | |
36360 | <autodoc>SetPosition(int pos)</autodoc> | |
36361 | <paramlist> | |
36362 | <param name="pos" type="int" default=""/> | |
36363 | </paramlist> | |
36364 | </method> | |
36365 | <method name="SetKey" type="" overloaded="no"> | |
36366 | <autodoc>SetKey(int k)</autodoc> | |
36367 | <paramlist> | |
36368 | <param name="k" type="int" default=""/> | |
36369 | </paramlist> | |
36370 | </method> | |
36371 | <method name="SetModifiers" type="" overloaded="no"> | |
36372 | <autodoc>SetModifiers(int m)</autodoc> | |
36373 | <paramlist> | |
36374 | <param name="m" type="int" default=""/> | |
36375 | </paramlist> | |
36376 | </method> | |
36377 | <method name="SetModificationType" type="" overloaded="no"> | |
36378 | <autodoc>SetModificationType(int t)</autodoc> | |
36379 | <paramlist> | |
36380 | <param name="t" type="int" default=""/> | |
36381 | </paramlist> | |
36382 | </method> | |
36383 | <method name="SetText" type="" overloaded="no"> | |
36384 | <autodoc>SetText(String t)</autodoc> | |
36385 | <paramlist> | |
36386 | <param name="t" type="String" default=""/> | |
36387 | </paramlist> | |
36388 | </method> | |
36389 | <method name="SetLength" type="" overloaded="no"> | |
36390 | <autodoc>SetLength(int len)</autodoc> | |
36391 | <paramlist> | |
36392 | <param name="len" type="int" default=""/> | |
36393 | </paramlist> | |
36394 | </method> | |
36395 | <method name="SetLinesAdded" type="" overloaded="no"> | |
36396 | <autodoc>SetLinesAdded(int num)</autodoc> | |
36397 | <paramlist> | |
36398 | <param name="num" type="int" default=""/> | |
36399 | </paramlist> | |
36400 | </method> | |
36401 | <method name="SetLine" type="" overloaded="no"> | |
36402 | <autodoc>SetLine(int val)</autodoc> | |
36403 | <paramlist> | |
36404 | <param name="val" type="int" default=""/> | |
36405 | </paramlist> | |
36406 | </method> | |
36407 | <method name="SetFoldLevelNow" type="" overloaded="no"> | |
36408 | <autodoc>SetFoldLevelNow(int val)</autodoc> | |
36409 | <paramlist> | |
36410 | <param name="val" type="int" default=""/> | |
36411 | </paramlist> | |
36412 | </method> | |
36413 | <method name="SetFoldLevelPrev" type="" overloaded="no"> | |
36414 | <autodoc>SetFoldLevelPrev(int val)</autodoc> | |
36415 | <paramlist> | |
36416 | <param name="val" type="int" default=""/> | |
36417 | </paramlist> | |
36418 | </method> | |
36419 | <method name="SetMargin" type="" overloaded="no"> | |
36420 | <autodoc>SetMargin(int val)</autodoc> | |
36421 | <paramlist> | |
36422 | <param name="val" type="int" default=""/> | |
36423 | </paramlist> | |
36424 | </method> | |
36425 | <method name="SetMessage" type="" overloaded="no"> | |
36426 | <autodoc>SetMessage(int val)</autodoc> | |
36427 | <paramlist> | |
36428 | <param name="val" type="int" default=""/> | |
36429 | </paramlist> | |
36430 | </method> | |
36431 | <method name="SetWParam" type="" overloaded="no"> | |
36432 | <autodoc>SetWParam(int val)</autodoc> | |
36433 | <paramlist> | |
36434 | <param name="val" type="int" default=""/> | |
36435 | </paramlist> | |
36436 | </method> | |
36437 | <method name="SetLParam" type="" overloaded="no"> | |
36438 | <autodoc>SetLParam(int val)</autodoc> | |
36439 | <paramlist> | |
36440 | <param name="val" type="int" default=""/> | |
36441 | </paramlist> | |
36442 | </method> | |
36443 | <method name="SetListType" type="" overloaded="no"> | |
36444 | <autodoc>SetListType(int val)</autodoc> | |
36445 | <paramlist> | |
36446 | <param name="val" type="int" default=""/> | |
36447 | </paramlist> | |
36448 | </method> | |
36449 | <method name="SetX" type="" overloaded="no"> | |
36450 | <autodoc>SetX(int val)</autodoc> | |
36451 | <paramlist> | |
36452 | <param name="val" type="int" default=""/> | |
36453 | </paramlist> | |
36454 | </method> | |
36455 | <method name="SetY" type="" overloaded="no"> | |
36456 | <autodoc>SetY(int val)</autodoc> | |
36457 | <paramlist> | |
36458 | <param name="val" type="int" default=""/> | |
36459 | </paramlist> | |
36460 | </method> | |
36461 | <method name="SetDragText" type="" overloaded="no"> | |
36462 | <autodoc>SetDragText(String val)</autodoc> | |
36463 | <paramlist> | |
36464 | <param name="val" type="String" default=""/> | |
36465 | </paramlist> | |
36466 | </method> | |
36467 | <method name="SetDragAllowMove" type="" overloaded="no"> | |
36468 | <autodoc>SetDragAllowMove(bool val)</autodoc> | |
36469 | <paramlist> | |
36470 | <param name="val" type="bool" default=""/> | |
36471 | </paramlist> | |
36472 | </method> | |
36473 | <method name="SetDragResult" type="" overloaded="no"> | |
36474 | <autodoc>SetDragResult(int val)</autodoc> | |
36475 | <paramlist> | |
36476 | <param name="val" type="wxDragResult" default=""/> | |
36477 | </paramlist> | |
36478 | </method> | |
36479 | <method name="GetPosition" type="int" overloaded="no"> | |
36480 | <autodoc>GetPosition() -> int</autodoc> | |
36481 | </method> | |
36482 | <method name="GetKey" type="int" overloaded="no"> | |
36483 | <autodoc>GetKey() -> int</autodoc> | |
36484 | </method> | |
36485 | <method name="GetModifiers" type="int" overloaded="no"> | |
36486 | <autodoc>GetModifiers() -> int</autodoc> | |
36487 | </method> | |
36488 | <method name="GetModificationType" type="int" overloaded="no"> | |
36489 | <autodoc>GetModificationType() -> int</autodoc> | |
36490 | </method> | |
36491 | <method name="GetText" type="String" overloaded="no"> | |
36492 | <autodoc>GetText() -> String</autodoc> | |
36493 | </method> | |
36494 | <method name="GetLength" type="int" overloaded="no"> | |
36495 | <autodoc>GetLength() -> int</autodoc> | |
36496 | </method> | |
36497 | <method name="GetLinesAdded" type="int" overloaded="no"> | |
36498 | <autodoc>GetLinesAdded() -> int</autodoc> | |
36499 | </method> | |
36500 | <method name="GetLine" type="int" overloaded="no"> | |
36501 | <autodoc>GetLine() -> int</autodoc> | |
36502 | </method> | |
36503 | <method name="GetFoldLevelNow" type="int" overloaded="no"> | |
36504 | <autodoc>GetFoldLevelNow() -> int</autodoc> | |
36505 | </method> | |
36506 | <method name="GetFoldLevelPrev" type="int" overloaded="no"> | |
36507 | <autodoc>GetFoldLevelPrev() -> int</autodoc> | |
36508 | </method> | |
36509 | <method name="GetMargin" type="int" overloaded="no"> | |
36510 | <autodoc>GetMargin() -> int</autodoc> | |
36511 | </method> | |
36512 | <method name="GetMessage" type="int" overloaded="no"> | |
36513 | <autodoc>GetMessage() -> int</autodoc> | |
36514 | </method> | |
36515 | <method name="GetWParam" type="int" overloaded="no"> | |
36516 | <autodoc>GetWParam() -> int</autodoc> | |
36517 | </method> | |
36518 | <method name="GetLParam" type="int" overloaded="no"> | |
36519 | <autodoc>GetLParam() -> int</autodoc> | |
36520 | </method> | |
36521 | <method name="GetListType" type="int" overloaded="no"> | |
36522 | <autodoc>GetListType() -> int</autodoc> | |
36523 | </method> | |
36524 | <method name="GetX" type="int" overloaded="no"> | |
36525 | <autodoc>GetX() -> int</autodoc> | |
36526 | </method> | |
36527 | <method name="GetY" type="int" overloaded="no"> | |
36528 | <autodoc>GetY() -> int</autodoc> | |
36529 | </method> | |
36530 | <method name="GetDragText" type="String" overloaded="no"> | |
36531 | <autodoc>GetDragText() -> String</autodoc> | |
36532 | </method> | |
36533 | <method name="GetDragAllowMove" type="bool" overloaded="no"> | |
36534 | <autodoc>GetDragAllowMove() -> bool</autodoc> | |
36535 | </method> | |
36536 | <method name="GetDragResult" type="wxDragResult" overloaded="no"> | |
36537 | <autodoc>GetDragResult() -> int</autodoc> | |
36538 | </method> | |
36539 | <method name="GetShift" type="bool" overloaded="no"> | |
36540 | <autodoc>GetShift() -> bool</autodoc> | |
36541 | </method> | |
36542 | <method name="GetControl" type="bool" overloaded="no"> | |
36543 | <autodoc>GetControl() -> bool</autodoc> | |
36544 | </method> | |
36545 | <method name="GetAlt" type="bool" overloaded="no"> | |
36546 | <autodoc>GetAlt() -> bool</autodoc> | |
36547 | </method> | |
36548 | <method name="Clone" type="Event" overloaded="no"> | |
36549 | <autodoc>Clone() -> Event</autodoc> | |
36550 | </method> | |
36551 | </class> | |
36552 | <pythoncode> | |
36553 | EVT_STC_CHANGE = wx.PyEventBinder( wxEVT_STC_CHANGE, 1 ) | |
36554 | EVT_STC_STYLENEEDED = wx.PyEventBinder( wxEVT_STC_STYLENEEDED, 1 ) | |
36555 | EVT_STC_CHARADDED = wx.PyEventBinder( wxEVT_STC_CHARADDED, 1 ) | |
36556 | EVT_STC_SAVEPOINTREACHED = wx.PyEventBinder( wxEVT_STC_SAVEPOINTREACHED, 1 ) | |
36557 | EVT_STC_SAVEPOINTLEFT = wx.PyEventBinder( wxEVT_STC_SAVEPOINTLEFT, 1 ) | |
36558 | EVT_STC_ROMODIFYATTEMPT = wx.PyEventBinder( wxEVT_STC_ROMODIFYATTEMPT, 1 ) | |
36559 | EVT_STC_KEY = wx.PyEventBinder( wxEVT_STC_KEY, 1 ) | |
36560 | EVT_STC_DOUBLECLICK = wx.PyEventBinder( wxEVT_STC_DOUBLECLICK, 1 ) | |
36561 | EVT_STC_UPDATEUI = wx.PyEventBinder( wxEVT_STC_UPDATEUI, 1 ) | |
36562 | EVT_STC_MODIFIED = wx.PyEventBinder( wxEVT_STC_MODIFIED, 1 ) | |
36563 | EVT_STC_MACRORECORD = wx.PyEventBinder( wxEVT_STC_MACRORECORD, 1 ) | |
36564 | EVT_STC_MARGINCLICK = wx.PyEventBinder( wxEVT_STC_MARGINCLICK, 1 ) | |
36565 | EVT_STC_NEEDSHOWN = wx.PyEventBinder( wxEVT_STC_NEEDSHOWN, 1 ) | |
36566 | EVT_STC_POSCHANGED = wx.PyEventBinder( wxEVT_STC_POSCHANGED, 1 ) | |
36567 | EVT_STC_PAINTED = wx.PyEventBinder( wxEVT_STC_PAINTED, 1 ) | |
36568 | EVT_STC_USERLISTSELECTION = wx.PyEventBinder( wxEVT_STC_USERLISTSELECTION, 1 ) | |
36569 | EVT_STC_URIDROPPED = wx.PyEventBinder( wxEVT_STC_URIDROPPED, 1 ) | |
36570 | EVT_STC_DWELLSTART = wx.PyEventBinder( wxEVT_STC_DWELLSTART, 1 ) | |
36571 | EVT_STC_DWELLEND = wx.PyEventBinder( wxEVT_STC_DWELLEND, 1 ) | |
36572 | EVT_STC_START_DRAG = wx.PyEventBinder( wxEVT_STC_START_DRAG, 1 ) | |
36573 | EVT_STC_DRAG_OVER = wx.PyEventBinder( wxEVT_STC_DRAG_OVER, 1 ) | |
36574 | EVT_STC_DO_DROP = wx.PyEventBinder( wxEVT_STC_DO_DROP, 1 ) | |
36575 | EVT_STC_ZOOM = wx.PyEventBinder( wxEVT_STC_ZOOM, 1 ) | |
36576 | EVT_STC_HOTSPOT_CLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_CLICK, 1 ) | |
36577 | EVT_STC_HOTSPOT_DCLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_DCLICK, 1 ) | |
36578 | EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 ) | |
36579 | </pythoncode> | |
36580 | </module> | |
36581 | <module name="xrc"> | |
36582 | <import name="core"/> | |
36583 | <pythoncode> wx = core </pythoncode> | |
36584 | <pythoncode> | |
36585 | #--------------------------------------------------------------------------- | |
36586 | </pythoncode> | |
36587 | <class name="XmlResource" oldname="wxXmlResource" module="xrc"> | |
36588 | <baseclass name="Object"/> | |
36589 | <constructor name="XmlResource" overloaded="no"> | |
36590 | <autodoc>__init__(String filemask, int flags=XRC_USE_LOCALE) -> XmlResource</autodoc> | |
36591 | <paramlist> | |
36592 | <param name="filemask" type="String" default=""/> | |
36593 | <param name="flags" type="int" default="wxXRC_USE_LOCALE"/> | |
36594 | </paramlist> | |
36595 | </constructor> | |
36596 | <constructor name="EmptyXmlResource" overloaded="no"> | |
36597 | <autodoc>EmptyXmlResource(int flags=XRC_USE_LOCALE) -> XmlResource</autodoc> | |
36598 | <paramlist> | |
36599 | <param name="flags" type="int" default="wxXRC_USE_LOCALE"/> | |
36600 | </paramlist> | |
36601 | </constructor> | |
36602 | <destructor name="~wxXmlResource" overloaded="no"> | |
36603 | <autodoc>__del__()</autodoc> | |
36604 | </destructor> | |
36605 | <method name="Load" type="bool" overloaded="no"> | |
36606 | <autodoc>Load(String filemask) -> bool</autodoc> | |
36607 | <paramlist> | |
36608 | <param name="filemask" type="String" default=""/> | |
36609 | </paramlist> | |
36610 | </method> | |
36611 | <method name="LoadFromString" type="bool" overloaded="no"> | |
36612 | <autodoc>LoadFromString(String data) -> bool</autodoc> | |
36613 | <paramlist> | |
36614 | <param name="data" type="String" default=""/> | |
36615 | </paramlist> | |
36616 | </method> | |
36617 | <method name="InitAllHandlers" type="" overloaded="no"> | |
36618 | <autodoc>InitAllHandlers()</autodoc> | |
36619 | </method> | |
36620 | <method name="AddHandler" type="" overloaded="no"> | |
36621 | <autodoc>AddHandler(XmlResourceHandler handler)</autodoc> | |
36622 | <paramlist> | |
36623 | <param name="handler" type="wxPyXmlResourceHandler" default=""/> | |
36624 | </paramlist> | |
36625 | </method> | |
36626 | <method name="InsertHandler" type="" overloaded="no"> | |
36627 | <autodoc>InsertHandler(XmlResourceHandler handler)</autodoc> | |
36628 | <paramlist> | |
36629 | <param name="handler" type="wxPyXmlResourceHandler" default=""/> | |
36630 | </paramlist> | |
36631 | </method> | |
36632 | <method name="ClearHandlers" type="" overloaded="no"> | |
36633 | <autodoc>ClearHandlers()</autodoc> | |
36634 | </method> | |
36635 | <staticmethod name="AddSubclassFactory" type="" overloaded="no"> | |
36636 | <autodoc>AddSubclassFactory(XmlSubclassFactory factory)</autodoc> | |
36637 | <paramlist> | |
36638 | <param name="factory" type="wxPyXmlSubclassFactory" default=""/> | |
36639 | </paramlist> | |
36640 | </staticmethod> | |
36641 | <method name="LoadMenu" type="Menu" overloaded="no"> | |
36642 | <autodoc>LoadMenu(String name) -> Menu</autodoc> | |
36643 | <paramlist> | |
36644 | <param name="name" type="String" default=""/> | |
36645 | </paramlist> | |
36646 | </method> | |
36647 | <method name="LoadMenuBar" type="MenuBar" overloaded="no"> | |
36648 | <autodoc>LoadMenuBar(String name) -> MenuBar</autodoc> | |
36649 | <paramlist> | |
36650 | <param name="name" type="String" default=""/> | |
36651 | </paramlist> | |
36652 | </method> | |
36653 | <method name="LoadMenuBarOnFrame" type="MenuBar" overloaded="no"> | |
36654 | <autodoc>LoadMenuBarOnFrame(Window parent, String name) -> MenuBar</autodoc> | |
36655 | <paramlist> | |
36656 | <param name="parent" type="Window" default=""/> | |
36657 | <param name="name" type="String" default=""/> | |
36658 | </paramlist> | |
36659 | </method> | |
36660 | <method name="LoadToolBar" type="ToolBar" overloaded="no"> | |
36661 | <autodoc>LoadToolBar(Window parent, String name) -> wxToolBar</autodoc> | |
36662 | <paramlist> | |
36663 | <param name="parent" type="Window" default=""/> | |
36664 | <param name="name" type="String" default=""/> | |
36665 | </paramlist> | |
36666 | </method> | |
36667 | <method name="LoadDialog" type="Dialog" overloaded="no"> | |
36668 | <autodoc>LoadDialog(Window parent, String name) -> wxDialog</autodoc> | |
36669 | <paramlist> | |
36670 | <param name="parent" type="Window" default=""/> | |
36671 | <param name="name" type="String" default=""/> | |
36672 | </paramlist> | |
36673 | </method> | |
36674 | <method name="LoadOnDialog" type="bool" overloaded="no"> | |
36675 | <autodoc>LoadOnDialog(wxDialog dlg, Window parent, String name) -> bool</autodoc> | |
36676 | <paramlist> | |
36677 | <param name="dlg" type="Dialog" default=""/> | |
36678 | <param name="parent" type="Window" default=""/> | |
36679 | <param name="name" type="String" default=""/> | |
36680 | </paramlist> | |
36681 | </method> | |
36682 | <method name="LoadPanel" type="Panel" overloaded="no"> | |
36683 | <autodoc>LoadPanel(Window parent, String name) -> wxPanel</autodoc> | |
36684 | <paramlist> | |
36685 | <param name="parent" type="Window" default=""/> | |
36686 | <param name="name" type="String" default=""/> | |
36687 | </paramlist> | |
36688 | </method> | |
36689 | <method name="LoadOnPanel" type="bool" overloaded="no"> | |
36690 | <autodoc>LoadOnPanel(wxPanel panel, Window parent, String name) -> bool</autodoc> | |
36691 | <paramlist> | |
36692 | <param name="panel" type="Panel" default=""/> | |
36693 | <param name="parent" type="Window" default=""/> | |
36694 | <param name="name" type="String" default=""/> | |
36695 | </paramlist> | |
36696 | </method> | |
36697 | <method name="LoadFrame" type="Frame" overloaded="no"> | |
36698 | <autodoc>LoadFrame(Window parent, String name) -> wxFrame</autodoc> | |
36699 | <paramlist> | |
36700 | <param name="parent" type="Window" default=""/> | |
36701 | <param name="name" type="String" default=""/> | |
36702 | </paramlist> | |
36703 | </method> | |
36704 | <method name="LoadOnFrame" type="bool" overloaded="no"> | |
36705 | <autodoc>LoadOnFrame(wxFrame frame, Window parent, String name) -> bool</autodoc> | |
36706 | <paramlist> | |
36707 | <param name="frame" type="Frame" default=""/> | |
36708 | <param name="parent" type="Window" default=""/> | |
36709 | <param name="name" type="String" default=""/> | |
36710 | </paramlist> | |
36711 | </method> | |
36712 | <method name="LoadObject" type="Object" overloaded="no"> | |
36713 | <autodoc>LoadObject(Window parent, String name, String classname) -> Object</autodoc> | |
36714 | <paramlist> | |
36715 | <param name="parent" type="Window" default=""/> | |
36716 | <param name="name" type="String" default=""/> | |
36717 | <param name="classname" type="String" default=""/> | |
36718 | </paramlist> | |
36719 | </method> | |
36720 | <method name="LoadOnObject" type="bool" overloaded="no"> | |
36721 | <autodoc>LoadOnObject(Object instance, Window parent, String name, String classname) -> bool</autodoc> | |
36722 | <paramlist> | |
36723 | <param name="instance" type="Object" default=""/> | |
36724 | <param name="parent" type="Window" default=""/> | |
36725 | <param name="name" type="String" default=""/> | |
36726 | <param name="classname" type="String" default=""/> | |
36727 | </paramlist> | |
36728 | </method> | |
36729 | <method name="LoadBitmap" type="Bitmap" overloaded="no"> | |
36730 | <autodoc>LoadBitmap(String name) -> Bitmap</autodoc> | |
36731 | <paramlist> | |
36732 | <param name="name" type="String" default=""/> | |
36733 | </paramlist> | |
36734 | </method> | |
36735 | <method name="LoadIcon" type="Icon" overloaded="no"> | |
36736 | <autodoc>LoadIcon(String name) -> Icon</autodoc> | |
36737 | <paramlist> | |
36738 | <param name="name" type="String" default=""/> | |
36739 | </paramlist> | |
36740 | </method> | |
36741 | <method name="AttachUnknownControl" type="bool" overloaded="no"> | |
36742 | <autodoc>AttachUnknownControl(String name, Window control, Window parent=None) -> bool</autodoc> | |
36743 | <paramlist> | |
36744 | <param name="name" type="String" default=""/> | |
36745 | <param name="control" type="Window" default=""/> | |
36746 | <param name="parent" type="Window" default="NULL"/> | |
36747 | </paramlist> | |
36748 | </method> | |
36749 | <staticmethod name="GetXRCID" type="int" overloaded="no"> | |
36750 | <autodoc>GetXRCID(String str_id) -> int</autodoc> | |
36751 | <paramlist> | |
36752 | <param name="str_id" type="String" default=""/> | |
36753 | </paramlist> | |
36754 | </staticmethod> | |
36755 | <method name="GetVersion" type="long" overloaded="no"> | |
36756 | <autodoc>GetVersion() -> long</autodoc> | |
36757 | </method> | |
36758 | <method name="CompareVersion" type="int" overloaded="no"> | |
36759 | <autodoc>CompareVersion(int major, int minor, int release, int revision) -> int</autodoc> | |
36760 | <paramlist> | |
36761 | <param name="major" type="int" default=""/> | |
36762 | <param name="minor" type="int" default=""/> | |
36763 | <param name="release" type="int" default=""/> | |
36764 | <param name="revision" type="int" default=""/> | |
36765 | </paramlist> | |
36766 | </method> | |
36767 | <staticmethod name="Get" type="XmlResource" overloaded="no"> | |
36768 | <autodoc>Get() -> XmlResource</autodoc> | |
36769 | </staticmethod> | |
36770 | <staticmethod name="Set" type="XmlResource" overloaded="no"> | |
36771 | <autodoc>Set(XmlResource res) -> XmlResource</autodoc> | |
36772 | <paramlist> | |
36773 | <param name="res" type="XmlResource" default=""/> | |
36774 | </paramlist> | |
36775 | </staticmethod> | |
36776 | <method name="GetFlags" type="int" overloaded="no"> | |
36777 | <autodoc>GetFlags() -> int</autodoc> | |
36778 | </method> | |
36779 | <method name="SetFlags" type="" overloaded="no"> | |
36780 | <autodoc>SetFlags(int flags)</autodoc> | |
36781 | <paramlist> | |
36782 | <param name="flags" type="int" default=""/> | |
36783 | </paramlist> | |
36784 | </method> | |
36785 | </class> | |
36786 | <pythoncode> | |
36787 | def XRCID(str_id): | |
36788 | return XmlResource_GetXRCID(str_id) | |
36789 | ||
36790 | def XRCCTRL(window, str_id, *ignoreargs): | |
36791 | return window.FindWindowById(XRCID(str_id)) | |
36792 | </pythoncode> | |
36793 | <pythoncode> | |
36794 | #--------------------------------------------------------------------------- | |
36795 | </pythoncode> | |
36796 | <class name="XmlSubclassFactory" oldname="wxPyXmlSubclassFactory" module="xrc"> | |
36797 | <constructor name="wxPyXmlSubclassFactory" overloaded="no"> | |
36798 | <autodoc>__init__() -> XmlSubclassFactory</autodoc> | |
36799 | </constructor> | |
36800 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
36801 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
36802 | <paramlist> | |
36803 | <param name="self" type="PyObject" default=""/> | |
36804 | <param name="_class" type="PyObject" default=""/> | |
36805 | </paramlist> | |
36806 | </method> | |
36807 | </class> | |
36808 | <pythoncode> | |
36809 | #--------------------------------------------------------------------------- | |
36810 | </pythoncode> | |
36811 | <class name="XmlProperty" oldname="wxXmlProperty" module="xrc"> | |
36812 | <constructor name="XmlProperty" overloaded="no"> | |
36813 | <autodoc>__init__(String name=EmptyString, String value=EmptyString, | |
36814 | XmlProperty next=None) -> XmlProperty</autodoc> | |
36815 | <paramlist> | |
36816 | <param name="name" type="String" default="wxPyEmptyString"/> | |
36817 | <param name="value" type="String" default="wxPyEmptyString"/> | |
36818 | <param name="next" type="XmlProperty" default="NULL"/> | |
36819 | </paramlist> | |
36820 | </constructor> | |
36821 | <method name="GetName" type="String" overloaded="no"> | |
36822 | <autodoc>GetName() -> String</autodoc> | |
36823 | </method> | |
36824 | <method name="GetValue" type="String" overloaded="no"> | |
36825 | <autodoc>GetValue() -> String</autodoc> | |
36826 | </method> | |
36827 | <method name="GetNext" type="XmlProperty" overloaded="no"> | |
36828 | <autodoc>GetNext() -> XmlProperty</autodoc> | |
36829 | </method> | |
36830 | <method name="SetName" type="" overloaded="no"> | |
36831 | <autodoc>SetName(String name)</autodoc> | |
36832 | <paramlist> | |
36833 | <param name="name" type="String" default=""/> | |
36834 | </paramlist> | |
36835 | </method> | |
36836 | <method name="SetValue" type="" overloaded="no"> | |
36837 | <autodoc>SetValue(String value)</autodoc> | |
36838 | <paramlist> | |
36839 | <param name="value" type="String" default=""/> | |
36840 | </paramlist> | |
36841 | </method> | |
36842 | <method name="SetNext" type="" overloaded="no"> | |
36843 | <autodoc>SetNext(XmlProperty next)</autodoc> | |
36844 | <paramlist> | |
36845 | <param name="next" type="XmlProperty" default=""/> | |
36846 | </paramlist> | |
36847 | </method> | |
36848 | </class> | |
36849 | <class name="XmlNode" oldname="wxXmlNode" module="xrc"> | |
36850 | <constructor name="XmlNode" overloaded="no"> | |
36851 | <autodoc>__init__(XmlNode parent=None, int type=0, String name=EmptyString, | |
36852 | String content=EmptyString, XmlProperty props=None, | |
36853 | XmlNode next=None) -> XmlNode</autodoc> | |
36854 | <paramlist> | |
36855 | <param name="parent" type="XmlNode" default="NULL"/> | |
36856 | <param name="type" type="wxXmlNodeType" default="0"/> | |
36857 | <param name="name" type="String" default="wxPyEmptyString"/> | |
36858 | <param name="content" type="String" default="wxPyEmptyString"/> | |
36859 | <param name="props" type="XmlProperty" default="NULL"/> | |
36860 | <param name="next" type="XmlNode" default="NULL"/> | |
36861 | </paramlist> | |
36862 | </constructor> | |
36863 | <constructor name="XmlNodeEasy" overloaded="no"> | |
36864 | <autodoc>XmlNodeEasy(int type, String name, String content=EmptyString) -> XmlNode</autodoc> | |
36865 | <paramlist> | |
36866 | <param name="type" type="wxXmlNodeType" default=""/> | |
36867 | <param name="name" type="String" default=""/> | |
36868 | <param name="content" type="String" default="wxPyEmptyString"/> | |
36869 | </paramlist> | |
36870 | </constructor> | |
36871 | <destructor name="~wxXmlNode" overloaded="no"> | |
36872 | <autodoc>__del__()</autodoc> | |
36873 | </destructor> | |
36874 | <method name="AddChild" type="" overloaded="no"> | |
36875 | <autodoc>AddChild(XmlNode child)</autodoc> | |
36876 | <paramlist> | |
36877 | <param name="child" type="XmlNode" default=""/> | |
36878 | </paramlist> | |
36879 | </method> | |
36880 | <method name="InsertChild" type="" overloaded="no"> | |
36881 | <autodoc>InsertChild(XmlNode child, XmlNode before_node)</autodoc> | |
36882 | <paramlist> | |
36883 | <param name="child" type="XmlNode" default=""/> | |
36884 | <param name="before_node" type="XmlNode" default=""/> | |
36885 | </paramlist> | |
36886 | </method> | |
36887 | <method name="RemoveChild" type="bool" overloaded="no"> | |
36888 | <autodoc>RemoveChild(XmlNode child) -> bool</autodoc> | |
36889 | <paramlist> | |
36890 | <param name="child" type="XmlNode" default=""/> | |
36891 | </paramlist> | |
36892 | </method> | |
36893 | <method name="AddProperty" type="" overloaded="no"> | |
36894 | <autodoc>AddProperty(XmlProperty prop)</autodoc> | |
36895 | <paramlist> | |
36896 | <param name="prop" type="XmlProperty" default=""/> | |
36897 | </paramlist> | |
36898 | </method> | |
36899 | <method name="AddPropertyName" type="" overloaded="no"> | |
36900 | <autodoc>AddPropertyName(String name, String value)</autodoc> | |
36901 | <paramlist> | |
36902 | <param name="name" type="String" default=""/> | |
36903 | <param name="value" type="String" default=""/> | |
36904 | </paramlist> | |
36905 | </method> | |
36906 | <method name="DeleteProperty" type="bool" overloaded="no"> | |
36907 | <autodoc>DeleteProperty(String name) -> bool</autodoc> | |
36908 | <paramlist> | |
36909 | <param name="name" type="String" default=""/> | |
36910 | </paramlist> | |
36911 | </method> | |
36912 | <method name="GetType" type="wxXmlNodeType" overloaded="no"> | |
36913 | <autodoc>GetType() -> int</autodoc> | |
36914 | </method> | |
36915 | <method name="GetName" type="String" overloaded="no"> | |
36916 | <autodoc>GetName() -> String</autodoc> | |
36917 | </method> | |
36918 | <method name="GetContent" type="String" overloaded="no"> | |
36919 | <autodoc>GetContent() -> String</autodoc> | |
36920 | </method> | |
36921 | <method name="GetParent" type="XmlNode" overloaded="no"> | |
36922 | <autodoc>GetParent() -> XmlNode</autodoc> | |
36923 | </method> | |
36924 | <method name="GetNext" type="XmlNode" overloaded="no"> | |
36925 | <autodoc>GetNext() -> XmlNode</autodoc> | |
36926 | </method> | |
36927 | <method name="GetChildren" type="XmlNode" overloaded="no"> | |
36928 | <autodoc>GetChildren() -> XmlNode</autodoc> | |
36929 | </method> | |
36930 | <method name="GetProperties" type="XmlProperty" overloaded="no"> | |
36931 | <autodoc>GetProperties() -> XmlProperty</autodoc> | |
36932 | </method> | |
36933 | <method name="GetPropVal" type="String" overloaded="no"> | |
36934 | <autodoc>GetPropVal(String propName, String defaultVal) -> String</autodoc> | |
36935 | <paramlist> | |
36936 | <param name="propName" type="String" default=""/> | |
36937 | <param name="defaultVal" type="String" default=""/> | |
36938 | </paramlist> | |
36939 | </method> | |
36940 | <method name="HasProp" type="bool" overloaded="no"> | |
36941 | <autodoc>HasProp(String propName) -> bool</autodoc> | |
36942 | <paramlist> | |
36943 | <param name="propName" type="String" default=""/> | |
36944 | </paramlist> | |
36945 | </method> | |
36946 | <method name="SetType" type="" overloaded="no"> | |
36947 | <autodoc>SetType(int type)</autodoc> | |
36948 | <paramlist> | |
36949 | <param name="type" type="wxXmlNodeType" default=""/> | |
36950 | </paramlist> | |
36951 | </method> | |
36952 | <method name="SetName" type="" overloaded="no"> | |
36953 | <autodoc>SetName(String name)</autodoc> | |
36954 | <paramlist> | |
36955 | <param name="name" type="String" default=""/> | |
36956 | </paramlist> | |
36957 | </method> | |
36958 | <method name="SetContent" type="" overloaded="no"> | |
36959 | <autodoc>SetContent(String con)</autodoc> | |
36960 | <paramlist> | |
36961 | <param name="con" type="String" default=""/> | |
36962 | </paramlist> | |
36963 | </method> | |
36964 | <method name="SetParent" type="" overloaded="no"> | |
36965 | <autodoc>SetParent(XmlNode parent)</autodoc> | |
36966 | <paramlist> | |
36967 | <param name="parent" type="XmlNode" default=""/> | |
36968 | </paramlist> | |
36969 | </method> | |
36970 | <method name="SetNext" type="" overloaded="no"> | |
36971 | <autodoc>SetNext(XmlNode next)</autodoc> | |
36972 | <paramlist> | |
36973 | <param name="next" type="XmlNode" default=""/> | |
36974 | </paramlist> | |
36975 | </method> | |
36976 | <method name="SetChildren" type="" overloaded="no"> | |
36977 | <autodoc>SetChildren(XmlNode child)</autodoc> | |
36978 | <paramlist> | |
36979 | <param name="child" type="XmlNode" default=""/> | |
36980 | </paramlist> | |
36981 | </method> | |
36982 | <method name="SetProperties" type="" overloaded="no"> | |
36983 | <autodoc>SetProperties(XmlProperty prop)</autodoc> | |
36984 | <paramlist> | |
36985 | <param name="prop" type="XmlProperty" default=""/> | |
36986 | </paramlist> | |
36987 | </method> | |
36988 | </class> | |
36989 | <class name="XmlDocument" oldname="wxXmlDocument" module="xrc"> | |
36990 | <baseclass name="Object"/> | |
36991 | <constructor name="XmlDocument" overloaded="no"> | |
36992 | <autodoc>__init__(String filename, String encoding=UTF8String) -> XmlDocument</autodoc> | |
36993 | <paramlist> | |
36994 | <param name="filename" type="String" default=""/> | |
36995 | <param name="encoding" type="String" default="wxPyUTF8String"/> | |
36996 | </paramlist> | |
36997 | </constructor> | |
36998 | <constructor name="XmlDocumentFromStream" overloaded="no"> | |
36999 | <autodoc>XmlDocumentFromStream(InputStream stream, String encoding=UTF8String) -> XmlDocument</autodoc> | |
37000 | <paramlist> | |
37001 | <param name="stream" type="wxInputStream" default=""/> | |
37002 | <param name="encoding" type="String" default="wxPyUTF8String"/> | |
37003 | </paramlist> | |
37004 | </constructor> | |
37005 | <constructor name="EmptyXmlDocument" overloaded="no"> | |
37006 | <autodoc>EmptyXmlDocument() -> XmlDocument</autodoc> | |
37007 | </constructor> | |
37008 | <destructor name="~wxXmlDocument" overloaded="no"> | |
37009 | <autodoc>__del__()</autodoc> | |
37010 | </destructor> | |
37011 | <method name="Load" type="bool" overloaded="no"> | |
37012 | <autodoc>Load(String filename, String encoding=UTF8String) -> bool</autodoc> | |
37013 | <paramlist> | |
37014 | <param name="filename" type="String" default=""/> | |
37015 | <param name="encoding" type="String" default="wxPyUTF8String"/> | |
37016 | </paramlist> | |
37017 | </method> | |
37018 | <method name="LoadFromStream" type="bool" overloaded="no"> | |
37019 | <autodoc>LoadFromStream(InputStream stream, String encoding=UTF8String) -> bool</autodoc> | |
37020 | <paramlist> | |
37021 | <param name="stream" type="wxInputStream" default=""/> | |
37022 | <param name="encoding" type="String" default="wxPyUTF8String"/> | |
37023 | </paramlist> | |
37024 | </method> | |
37025 | <method name="Save" type="bool" overloaded="no"> | |
37026 | <autodoc>Save(String filename) -> bool</autodoc> | |
37027 | <paramlist> | |
37028 | <param name="filename" type="String" default=""/> | |
37029 | </paramlist> | |
37030 | </method> | |
37031 | <method name="SaveToStream" type="bool" overloaded="no"> | |
37032 | <autodoc>SaveToStream(OutputStream stream) -> bool</autodoc> | |
37033 | <paramlist> | |
37034 | <param name="stream" type="OutputStream" default=""/> | |
37035 | </paramlist> | |
37036 | </method> | |
37037 | <method name="IsOk" type="bool" overloaded="no"> | |
37038 | <autodoc>IsOk() -> bool</autodoc> | |
37039 | </method> | |
37040 | <method name="GetRoot" type="XmlNode" overloaded="no"> | |
37041 | <autodoc>GetRoot() -> XmlNode</autodoc> | |
37042 | </method> | |
37043 | <method name="GetVersion" type="String" overloaded="no"> | |
37044 | <autodoc>GetVersion() -> String</autodoc> | |
37045 | </method> | |
37046 | <method name="GetFileEncoding" type="String" overloaded="no"> | |
37047 | <autodoc>GetFileEncoding() -> String</autodoc> | |
37048 | </method> | |
37049 | <method name="SetRoot" type="" overloaded="no"> | |
37050 | <autodoc>SetRoot(XmlNode node)</autodoc> | |
37051 | <paramlist> | |
37052 | <param name="node" type="XmlNode" default=""/> | |
37053 | </paramlist> | |
37054 | </method> | |
37055 | <method name="SetVersion" type="" overloaded="no"> | |
37056 | <autodoc>SetVersion(String version)</autodoc> | |
37057 | <paramlist> | |
37058 | <param name="version" type="String" default=""/> | |
37059 | </paramlist> | |
37060 | </method> | |
37061 | <method name="SetFileEncoding" type="" overloaded="no"> | |
37062 | <autodoc>SetFileEncoding(String encoding)</autodoc> | |
37063 | <paramlist> | |
37064 | <param name="encoding" type="String" default=""/> | |
37065 | </paramlist> | |
37066 | </method> | |
37067 | </class> | |
37068 | <pythoncode> | |
37069 | #--------------------------------------------------------------------------- | |
37070 | </pythoncode> | |
37071 | <class name="XmlResourceHandler" oldname="wxPyXmlResourceHandler" module="xrc"> | |
37072 | <baseclass name="Object"/> | |
37073 | <constructor name="wxPyXmlResourceHandler" overloaded="no"> | |
37074 | <autodoc>__init__() -> XmlResourceHandler</autodoc> | |
37075 | </constructor> | |
37076 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
37077 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
37078 | <paramlist> | |
37079 | <param name="self" type="PyObject" default=""/> | |
37080 | <param name="_class" type="PyObject" default=""/> | |
37081 | </paramlist> | |
37082 | </method> | |
37083 | <method name="CreateResource" type="Object" overloaded="no"> | |
37084 | <autodoc>CreateResource(XmlNode node, Object parent, Object instance) -> Object</autodoc> | |
37085 | <paramlist> | |
37086 | <param name="node" type="XmlNode" default=""/> | |
37087 | <param name="parent" type="Object" default=""/> | |
37088 | <param name="instance" type="Object" default=""/> | |
37089 | </paramlist> | |
37090 | </method> | |
37091 | <method name="SetParentResource" type="" overloaded="no"> | |
37092 | <autodoc>SetParentResource(XmlResource res)</autodoc> | |
37093 | <paramlist> | |
37094 | <param name="res" type="XmlResource" default=""/> | |
37095 | </paramlist> | |
37096 | </method> | |
37097 | <method name="GetResource" type="XmlResource" overloaded="no"> | |
37098 | <autodoc>GetResource() -> XmlResource</autodoc> | |
37099 | </method> | |
37100 | <method name="GetNode" type="XmlNode" overloaded="no"> | |
37101 | <autodoc>GetNode() -> XmlNode</autodoc> | |
37102 | </method> | |
37103 | <method name="GetClass" type="String" overloaded="no"> | |
37104 | <autodoc>GetClass() -> String</autodoc> | |
37105 | </method> | |
37106 | <method name="GetParent" type="Object" overloaded="no"> | |
37107 | <autodoc>GetParent() -> Object</autodoc> | |
37108 | </method> | |
37109 | <method name="GetInstance" type="Object" overloaded="no"> | |
37110 | <autodoc>GetInstance() -> Object</autodoc> | |
37111 | </method> | |
37112 | <method name="GetParentAsWindow" type="Window" overloaded="no"> | |
37113 | <autodoc>GetParentAsWindow() -> Window</autodoc> | |
37114 | </method> | |
37115 | <method name="GetInstanceAsWindow" type="Window" overloaded="no"> | |
37116 | <autodoc>GetInstanceAsWindow() -> Window</autodoc> | |
37117 | </method> | |
37118 | <method name="IsOfClass" type="bool" overloaded="no"> | |
37119 | <autodoc>IsOfClass(XmlNode node, String classname) -> bool</autodoc> | |
37120 | <paramlist> | |
37121 | <param name="node" type="XmlNode" default=""/> | |
37122 | <param name="classname" type="String" default=""/> | |
37123 | </paramlist> | |
37124 | </method> | |
37125 | <method name="GetNodeContent" type="String" overloaded="no"> | |
37126 | <autodoc>GetNodeContent(XmlNode node) -> String</autodoc> | |
37127 | <paramlist> | |
37128 | <param name="node" type="XmlNode" default=""/> | |
37129 | </paramlist> | |
37130 | </method> | |
37131 | <method name="HasParam" type="bool" overloaded="no"> | |
37132 | <autodoc>HasParam(String param) -> bool</autodoc> | |
37133 | <paramlist> | |
37134 | <param name="param" type="String" default=""/> | |
37135 | </paramlist> | |
37136 | </method> | |
37137 | <method name="GetParamNode" type="XmlNode" overloaded="no"> | |
37138 | <autodoc>GetParamNode(String param) -> XmlNode</autodoc> | |
37139 | <paramlist> | |
37140 | <param name="param" type="String" default=""/> | |
37141 | </paramlist> | |
37142 | </method> | |
37143 | <method name="GetParamValue" type="String" overloaded="no"> | |
37144 | <autodoc>GetParamValue(String param) -> String</autodoc> | |
37145 | <paramlist> | |
37146 | <param name="param" type="String" default=""/> | |
37147 | </paramlist> | |
37148 | </method> | |
37149 | <method name="AddStyle" type="" overloaded="no"> | |
37150 | <autodoc>AddStyle(String name, int value)</autodoc> | |
37151 | <paramlist> | |
37152 | <param name="name" type="String" default=""/> | |
37153 | <param name="value" type="int" default=""/> | |
37154 | </paramlist> | |
37155 | </method> | |
37156 | <method name="AddWindowStyles" type="" overloaded="no"> | |
37157 | <autodoc>AddWindowStyles()</autodoc> | |
37158 | </method> | |
37159 | <method name="GetStyle" type="int" overloaded="no"> | |
37160 | <autodoc>GetStyle(String param=StyleString, int defaults=0) -> int</autodoc> | |
37161 | <paramlist> | |
37162 | <param name="param" type="String" default="wxPyStyleString"/> | |
37163 | <param name="defaults" type="int" default="0"/> | |
37164 | </paramlist> | |
37165 | </method> | |
37166 | <method name="GetText" type="String" overloaded="no"> | |
37167 | <autodoc>GetText(String param, bool translate=True) -> String</autodoc> | |
37168 | <paramlist> | |
37169 | <param name="param" type="String" default=""/> | |
37170 | <param name="translate" type="bool" default="True"/> | |
37171 | </paramlist> | |
37172 | </method> | |
37173 | <method name="GetID" type="int" overloaded="no"> | |
37174 | <autodoc>GetID() -> int</autodoc> | |
37175 | </method> | |
37176 | <method name="GetName" type="String" overloaded="no"> | |
37177 | <autodoc>GetName() -> String</autodoc> | |
37178 | </method> | |
37179 | <method name="GetBool" type="bool" overloaded="no"> | |
37180 | <autodoc>GetBool(String param, bool defaultv=False) -> bool</autodoc> | |
37181 | <paramlist> | |
37182 | <param name="param" type="String" default=""/> | |
37183 | <param name="defaultv" type="bool" default="False"/> | |
37184 | </paramlist> | |
37185 | </method> | |
37186 | <method name="GetLong" type="long" overloaded="no"> | |
37187 | <autodoc>GetLong(String param, long defaultv=0) -> long</autodoc> | |
37188 | <paramlist> | |
37189 | <param name="param" type="String" default=""/> | |
37190 | <param name="defaultv" type="long" default="0"/> | |
37191 | </paramlist> | |
37192 | </method> | |
37193 | <method name="GetColour" type="Colour" overloaded="no"> | |
37194 | <autodoc>GetColour(String param) -> Colour</autodoc> | |
37195 | <paramlist> | |
37196 | <param name="param" type="String" default=""/> | |
37197 | </paramlist> | |
37198 | </method> | |
37199 | <method name="GetSize" type="Size" overloaded="no"> | |
37200 | <autodoc>GetSize(String param=SizeString) -> Size</autodoc> | |
37201 | <paramlist> | |
37202 | <param name="param" type="String" default="wxPySizeString"/> | |
37203 | </paramlist> | |
37204 | </method> | |
37205 | <method name="GetPosition" type="Point" overloaded="no"> | |
37206 | <autodoc>GetPosition(String param=PosString) -> Point</autodoc> | |
37207 | <paramlist> | |
37208 | <param name="param" type="String" default="wxPyPosString"/> | |
37209 | </paramlist> | |
37210 | </method> | |
37211 | <method name="GetDimension" type="int" overloaded="no"> | |
37212 | <autodoc>GetDimension(String param, int defaultv=0) -> int</autodoc> | |
37213 | <paramlist> | |
37214 | <param name="param" type="String" default=""/> | |
37215 | <param name="defaultv" type="int" default="0"/> | |
37216 | </paramlist> | |
37217 | </method> | |
37218 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
37219 | <autodoc>GetBitmap(String param=BitmapString, wxArtClient defaultArtClient=wxART_OTHER, | |
37220 | Size size=DefaultSize) -> Bitmap</autodoc> | |
37221 | <paramlist> | |
37222 | <param name="param" type="String" default="wxPyBitmapString"/> | |
37223 | <param name="defaultArtClient" type="wxArtClient" default="wxART_OTHER"/> | |
37224 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37225 | </paramlist> | |
37226 | </method> | |
37227 | <method name="GetIcon" type="Icon" overloaded="no"> | |
37228 | <autodoc>GetIcon(String param=IconString, wxArtClient defaultArtClient=wxART_OTHER, | |
37229 | Size size=DefaultSize) -> Icon</autodoc> | |
37230 | <paramlist> | |
37231 | <param name="param" type="String" default="wxPyIconString"/> | |
37232 | <param name="defaultArtClient" type="wxArtClient" default="wxART_OTHER"/> | |
37233 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37234 | </paramlist> | |
37235 | </method> | |
37236 | <method name="GetFont" type="Font" overloaded="no"> | |
37237 | <autodoc>GetFont(String param=FontString) -> Font</autodoc> | |
37238 | <paramlist> | |
37239 | <param name="param" type="String" default="wxPyFontString"/> | |
37240 | </paramlist> | |
37241 | </method> | |
37242 | <method name="SetupWindow" type="" overloaded="no"> | |
37243 | <autodoc>SetupWindow(Window wnd)</autodoc> | |
37244 | <paramlist> | |
37245 | <param name="wnd" type="Window" default=""/> | |
37246 | </paramlist> | |
37247 | </method> | |
37248 | <method name="CreateChildren" type="" overloaded="no"> | |
37249 | <autodoc>CreateChildren(Object parent, bool this_hnd_only=False)</autodoc> | |
37250 | <paramlist> | |
37251 | <param name="parent" type="Object" default=""/> | |
37252 | <param name="this_hnd_only" type="bool" default="False"/> | |
37253 | </paramlist> | |
37254 | </method> | |
37255 | <method name="CreateChildrenPrivately" type="" overloaded="no"> | |
37256 | <autodoc>CreateChildrenPrivately(Object parent, XmlNode rootnode=None)</autodoc> | |
37257 | <paramlist> | |
37258 | <param name="parent" type="Object" default=""/> | |
37259 | <param name="rootnode" type="XmlNode" default="NULL"/> | |
37260 | </paramlist> | |
37261 | </method> | |
37262 | <method name="CreateResFromNode" type="Object" overloaded="no"> | |
37263 | <autodoc>CreateResFromNode(XmlNode node, Object parent, Object instance=None) -> Object</autodoc> | |
37264 | <paramlist> | |
37265 | <param name="node" type="XmlNode" default=""/> | |
37266 | <param name="parent" type="Object" default=""/> | |
37267 | <param name="instance" type="Object" default="NULL"/> | |
37268 | </paramlist> | |
37269 | </method> | |
37270 | <method name="GetCurFileSystem" type="FileSystem" overloaded="no"> | |
37271 | <autodoc>GetCurFileSystem() -> FileSystem</autodoc> | |
37272 | </method> | |
37273 | </class> | |
37274 | <pythoncode>#---------------------------------------------------------------------------- | |
37275 | # The global was removed in favor of static accessor functions. This is for | |
37276 | # backwards compatibility: | |
37277 | ||
37278 | TheXmlResource = XmlResource_Get() | |
37279 | ||
37280 | ||
37281 | #---------------------------------------------------------------------------- | |
37282 | # Create a factory for handling the subclass property of the object tag. | |
37283 | ||
37284 | ||
37285 | def _my_import(name): | |
37286 | mod = __import__(name) | |
37287 | components = name.split('.') | |
37288 | for comp in components[1:]: | |
37289 | mod = getattr(mod, comp) | |
37290 | return mod | |
37291 | ||
37292 | ||
37293 | class XmlSubclassFactory_Python(XmlSubclassFactory): | |
37294 | def __init__(self): | |
37295 | XmlSubclassFactory.__init__(self) | |
37296 | ||
37297 | def Create(self, className): | |
37298 | assert className.find('.') != -1, "Module name must be specified!" | |
37299 | mname = className[:className.rfind('.')] | |
37300 | cname = className[className.rfind('.')+1:] | |
37301 | module = _my_import(mname) | |
37302 | klass = getattr(module, cname) | |
37303 | inst = klass() | |
37304 | return inst | |
37305 | ||
37306 | ||
37307 | XmlResource_AddSubclassFactory(XmlSubclassFactory_Python()) | |
37308 | ||
37309 | #---------------------------------------------------------------------------- | |
37310 | </pythoncode> | |
37311 | </module> | |
37312 | <module name="gizmos"> | |
37313 | <import name="windows"/> | |
37314 | <import name="controls"/> | |
37315 | <pythoncode> wx = core </pythoncode> | |
37316 | <class name="DynamicSashSplitEvent" oldname="wxDynamicSashSplitEvent" module="gizmos"> | |
37317 | <baseclass name="CommandEvent"/> | |
37318 | <constructor name="DynamicSashSplitEvent" overloaded="no"> | |
37319 | <autodoc>__init__(Object target) -> DynamicSashSplitEvent</autodoc> | |
37320 | <paramlist> | |
37321 | <param name="target" type="Object" default=""/> | |
37322 | </paramlist> | |
37323 | </constructor> | |
37324 | </class> | |
37325 | <class name="DynamicSashUnifyEvent" oldname="wxDynamicSashUnifyEvent" module="gizmos"> | |
37326 | <baseclass name="CommandEvent"/> | |
37327 | <constructor name="DynamicSashUnifyEvent" overloaded="no"> | |
37328 | <autodoc>__init__(Object target) -> DynamicSashUnifyEvent</autodoc> | |
37329 | <paramlist> | |
37330 | <param name="target" type="Object" default=""/> | |
37331 | </paramlist> | |
37332 | </constructor> | |
37333 | </class> | |
37334 | <class name="DynamicSashWindow" oldname="wxDynamicSashWindow" module="gizmos"> | |
37335 | <baseclass name="Window"/> | |
37336 | <constructor name="DynamicSashWindow" overloaded="no"> | |
37337 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
37338 | long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, | |
37339 | String name=DynamicSashNameStr) -> DynamicSashWindow</autodoc> | |
37340 | <paramlist> | |
37341 | <param name="parent" type="Window" default=""/> | |
37342 | <param name="id" type="int" default=""/> | |
37343 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37344 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37345 | <param name="style" type="long" default="wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER"/> | |
37346 | <param name="name" type="String" default="wxPyDynamicSashNameStr"/> | |
37347 | </paramlist> | |
37348 | </constructor> | |
37349 | <constructor name="PreDynamicSashWindow" overloaded="no"> | |
37350 | <autodoc>PreDynamicSashWindow() -> DynamicSashWindow</autodoc> | |
37351 | </constructor> | |
37352 | <method name="Create" type="bool" overloaded="no"> | |
37353 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
37354 | long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, | |
37355 | String name=DynamicSashNameStr) -> bool</autodoc> | |
37356 | <paramlist> | |
37357 | <param name="parent" type="Window" default=""/> | |
37358 | <param name="id" type="int" default=""/> | |
37359 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37360 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37361 | <param name="style" type="long" default="wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER"/> | |
37362 | <param name="name" type="String" default="wxPyDynamicSashNameStr"/> | |
37363 | </paramlist> | |
37364 | </method> | |
37365 | <method name="GetHScrollBar" type="ScrollBar" overloaded="no"> | |
37366 | <autodoc>GetHScrollBar(Window child) -> ScrollBar</autodoc> | |
37367 | <paramlist> | |
37368 | <param name="child" type="Window" default=""/> | |
37369 | </paramlist> | |
37370 | </method> | |
37371 | <method name="GetVScrollBar" type="ScrollBar" overloaded="no"> | |
37372 | <autodoc>GetVScrollBar(Window child) -> ScrollBar</autodoc> | |
37373 | <paramlist> | |
37374 | <param name="child" type="Window" default=""/> | |
37375 | </paramlist> | |
37376 | </method> | |
37377 | </class> | |
37378 | <pythoncode> | |
37379 | EVT_DYNAMIC_SASH_SPLIT = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT, 1 ) | |
37380 | EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) | |
37381 | </pythoncode> | |
37382 | <class name="EditableListBox" oldname="wxEditableListBox" module="gizmos"> | |
37383 | <baseclass name="Panel"/> | |
37384 | <constructor name="EditableListBox" overloaded="no"> | |
37385 | <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, | |
37386 | Size size=DefaultSize, long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE, | |
37387 | String name=EditableListBoxNameStr) -> EditableListBox</autodoc> | |
37388 | <paramlist> | |
37389 | <param name="parent" type="Window" default=""/> | |
37390 | <param name="id" type="int" default=""/> | |
37391 | <param name="label" type="String" default=""/> | |
37392 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37393 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37394 | <param name="style" type="long" default="wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE"/> | |
37395 | <param name="name" type="String" default="wxPyEditableListBoxNameStr"/> | |
37396 | </paramlist> | |
37397 | </constructor> | |
37398 | <method name="SetStrings" type="" overloaded="no"> | |
37399 | <autodoc>SetStrings(wxArrayString strings)</autodoc> | |
37400 | <paramlist> | |
37401 | <param name="strings" type="wxArrayString" default=""/> | |
37402 | </paramlist> | |
37403 | </method> | |
37404 | <method name="GetStrings" type="PyObject" overloaded="no"> | |
37405 | <autodoc>GetStrings() -> PyObject</autodoc> | |
37406 | </method> | |
37407 | <method name="GetListCtrl" type="wxListCtrl" overloaded="no"> | |
37408 | <autodoc>GetListCtrl() -> wxListCtrl</autodoc> | |
37409 | </method> | |
37410 | <method name="GetDelButton" type="BitmapButton" overloaded="no"> | |
37411 | <autodoc>GetDelButton() -> BitmapButton</autodoc> | |
37412 | </method> | |
37413 | <method name="GetNewButton" type="BitmapButton" overloaded="no"> | |
37414 | <autodoc>GetNewButton() -> BitmapButton</autodoc> | |
37415 | </method> | |
37416 | <method name="GetUpButton" type="BitmapButton" overloaded="no"> | |
37417 | <autodoc>GetUpButton() -> BitmapButton</autodoc> | |
37418 | </method> | |
37419 | <method name="GetDownButton" type="BitmapButton" overloaded="no"> | |
37420 | <autodoc>GetDownButton() -> BitmapButton</autodoc> | |
37421 | </method> | |
37422 | <method name="GetEditButton" type="BitmapButton" overloaded="no"> | |
37423 | <autodoc>GetEditButton() -> BitmapButton</autodoc> | |
37424 | </method> | |
37425 | </class> | |
37426 | <class name="RemotelyScrolledTreeCtrl" oldname="wxRemotelyScrolledTreeCtrl" module="gizmos"> | |
37427 | <baseclass name="TreeCtrl"/> | |
37428 | <constructor name="RemotelyScrolledTreeCtrl" overloaded="no"> | |
37429 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, | |
37430 | long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl</autodoc> | |
37431 | <paramlist> | |
37432 | <param name="parent" type="Window" default=""/> | |
37433 | <param name="id" type="int" default=""/> | |
37434 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37435 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37436 | <param name="style" type="long" default="wxTR_HAS_BUTTONS"/> | |
37437 | </paramlist> | |
37438 | </constructor> | |
37439 | <method name="HideVScrollbar" type="" overloaded="no"> | |
37440 | <autodoc>HideVScrollbar()</autodoc> | |
37441 | </method> | |
37442 | <method name="AdjustRemoteScrollbars" type="" overloaded="no"> | |
37443 | <autodoc>AdjustRemoteScrollbars()</autodoc> | |
37444 | </method> | |
37445 | <method name="GetScrolledWindow" type="ScrolledWindow" overloaded="no"> | |
37446 | <autodoc>GetScrolledWindow() -> ScrolledWindow</autodoc> | |
37447 | </method> | |
37448 | <method name="ScrollToLine" type="" overloaded="no"> | |
37449 | <autodoc>ScrollToLine(int posHoriz, int posVert)</autodoc> | |
37450 | <paramlist> | |
37451 | <param name="posHoriz" type="int" default=""/> | |
37452 | <param name="posVert" type="int" default=""/> | |
37453 | </paramlist> | |
37454 | </method> | |
37455 | <method name="SetCompanionWindow" type="" overloaded="no"> | |
37456 | <autodoc>SetCompanionWindow(Window companion)</autodoc> | |
37457 | <paramlist> | |
37458 | <param name="companion" type="Window" default=""/> | |
37459 | </paramlist> | |
37460 | </method> | |
37461 | <method name="GetCompanionWindow" type="Window" overloaded="no"> | |
37462 | <autodoc>GetCompanionWindow() -> Window</autodoc> | |
37463 | </method> | |
37464 | </class> | |
37465 | <class name="TreeCompanionWindow" oldname="wxPyTreeCompanionWindow" module="gizmos"> | |
37466 | <baseclass name="Window"/> | |
37467 | <constructor name="wxPyTreeCompanionWindow" overloaded="no"> | |
37468 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
37469 | Size size=DefaultSize, long style=0) -> TreeCompanionWindow</autodoc> | |
37470 | <paramlist> | |
37471 | <param name="parent" type="Window" default=""/> | |
37472 | <param name="id" type="int" default="-1"/> | |
37473 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37474 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37475 | <param name="style" type="long" default="0"/> | |
37476 | </paramlist> | |
37477 | </constructor> | |
37478 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
37479 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
37480 | <paramlist> | |
37481 | <param name="self" type="PyObject" default=""/> | |
37482 | <param name="_class" type="PyObject" default=""/> | |
37483 | </paramlist> | |
37484 | </method> | |
37485 | <method name="GetTreeCtrl" type="RemotelyScrolledTreeCtrl" overloaded="no"> | |
37486 | <autodoc>GetTreeCtrl() -> RemotelyScrolledTreeCtrl</autodoc> | |
37487 | </method> | |
37488 | <method name="SetTreeCtrl" type="" overloaded="no"> | |
37489 | <autodoc>SetTreeCtrl(RemotelyScrolledTreeCtrl treeCtrl)</autodoc> | |
37490 | <paramlist> | |
37491 | <param name="treeCtrl" type="RemotelyScrolledTreeCtrl" default=""/> | |
37492 | </paramlist> | |
37493 | </method> | |
37494 | </class> | |
37495 | <class name="ThinSplitterWindow" oldname="wxThinSplitterWindow" module="gizmos"> | |
37496 | <baseclass name="SplitterWindow"/> | |
37497 | <constructor name="ThinSplitterWindow" overloaded="no"> | |
37498 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
37499 | Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow</autodoc> | |
37500 | <paramlist> | |
37501 | <param name="parent" type="Window" default=""/> | |
37502 | <param name="id" type="int" default="-1"/> | |
37503 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37504 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37505 | <param name="style" type="long" default="wxSP_3D|wxCLIP_CHILDREN"/> | |
37506 | </paramlist> | |
37507 | </constructor> | |
37508 | </class> | |
37509 | <class name="SplitterScrolledWindow" oldname="wxSplitterScrolledWindow" module="gizmos"> | |
37510 | <baseclass name="ScrolledWindow"/> | |
37511 | <constructor name="SplitterScrolledWindow" overloaded="no"> | |
37512 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
37513 | Size size=DefaultSize, long style=0) -> SplitterScrolledWindow</autodoc> | |
37514 | <paramlist> | |
37515 | <param name="parent" type="Window" default=""/> | |
37516 | <param name="id" type="int" default="-1"/> | |
37517 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37518 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37519 | <param name="style" type="long" default="0"/> | |
37520 | </paramlist> | |
37521 | </constructor> | |
37522 | </class> | |
37523 | <class name="LEDNumberCtrl" oldname="wxLEDNumberCtrl" module="gizmos"> | |
37524 | <baseclass name="Control"/> | |
37525 | <constructor name="LEDNumberCtrl" overloaded="no"> | |
37526 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
37527 | Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl</autodoc> | |
37528 | <paramlist> | |
37529 | <param name="parent" type="Window" default=""/> | |
37530 | <param name="id" type="int" default="-1"/> | |
37531 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37532 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37533 | <param name="style" type="long" default="wxLED_ALIGN_LEFT|wxLED_DRAW_FADED"/> | |
37534 | </paramlist> | |
37535 | </constructor> | |
37536 | <constructor name="PreLEDNumberCtrl" overloaded="no"> | |
37537 | <autodoc>PreLEDNumberCtrl() -> LEDNumberCtrl</autodoc> | |
37538 | </constructor> | |
37539 | <method name="Create" type="bool" overloaded="no"> | |
37540 | <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, | |
37541 | Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool</autodoc> | |
37542 | <paramlist> | |
37543 | <param name="parent" type="Window" default=""/> | |
37544 | <param name="id" type="int" default="-1"/> | |
37545 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37546 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37547 | <param name="style" type="long" default="wxLED_ALIGN_LEFT|wxLED_DRAW_FADED"/> | |
37548 | </paramlist> | |
37549 | </method> | |
37550 | <method name="GetAlignment" type="wxLEDValueAlign" overloaded="no"> | |
37551 | <autodoc>GetAlignment() -> int</autodoc> | |
37552 | </method> | |
37553 | <method name="GetDrawFaded" type="bool" overloaded="no"> | |
37554 | <autodoc>GetDrawFaded() -> bool</autodoc> | |
37555 | </method> | |
37556 | <method name="GetValue" type="String" overloaded="no"> | |
37557 | <autodoc>GetValue() -> String</autodoc> | |
37558 | </method> | |
37559 | <method name="SetAlignment" type="" overloaded="no"> | |
37560 | <autodoc>SetAlignment(int Alignment, bool Redraw=true)</autodoc> | |
37561 | <paramlist> | |
37562 | <param name="Alignment" type="wxLEDValueAlign" default=""/> | |
37563 | <param name="Redraw" type="bool" default="true"/> | |
37564 | </paramlist> | |
37565 | </method> | |
37566 | <method name="SetDrawFaded" type="" overloaded="no"> | |
37567 | <autodoc>SetDrawFaded(bool DrawFaded, bool Redraw=true)</autodoc> | |
37568 | <paramlist> | |
37569 | <param name="DrawFaded" type="bool" default=""/> | |
37570 | <param name="Redraw" type="bool" default="true"/> | |
37571 | </paramlist> | |
37572 | </method> | |
37573 | <method name="SetValue" type="" overloaded="no"> | |
37574 | <autodoc>SetValue(String Value, bool Redraw=true)</autodoc> | |
37575 | <paramlist> | |
37576 | <param name="Value" type="String" default=""/> | |
37577 | <param name="Redraw" type="bool" default="true"/> | |
37578 | </paramlist> | |
37579 | </method> | |
37580 | </class> | |
37581 | <class name="TreeListColumnInfo" oldname="wxTreeListColumnInfo" module="gizmos"> | |
37582 | <baseclass name="Object"/> | |
37583 | <constructor name="TreeListColumnInfo" overloaded="no"> | |
37584 | <autodoc>__init__(String text=EmptyString, int image=-1, size_t width=100, | |
37585 | int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo</autodoc> | |
37586 | <paramlist> | |
37587 | <param name="text" type="String" default="wxPyEmptyString"/> | |
37588 | <param name="image" type="int" default="-1"/> | |
37589 | <param name="width" type="size_t" default="100"/> | |
37590 | <param name="alignment" type="wxTreeListColumnAlign" default="wxTL_ALIGN_LEFT"/> | |
37591 | </paramlist> | |
37592 | </constructor> | |
37593 | <method name="GetAlignment" type="wxTreeListColumnAlign" overloaded="no"> | |
37594 | <autodoc>GetAlignment() -> int</autodoc> | |
37595 | </method> | |
37596 | <method name="GetText" type="String" overloaded="no"> | |
37597 | <autodoc>GetText() -> String</autodoc> | |
37598 | </method> | |
37599 | <method name="GetImage" type="int" overloaded="no"> | |
37600 | <autodoc>GetImage() -> int</autodoc> | |
37601 | </method> | |
37602 | <method name="GetSelectedImage" type="int" overloaded="no"> | |
37603 | <autodoc>GetSelectedImage() -> int</autodoc> | |
37604 | </method> | |
37605 | <method name="GetWidth" type="size_t" overloaded="no"> | |
37606 | <autodoc>GetWidth() -> size_t</autodoc> | |
37607 | </method> | |
37608 | <method name="SetAlignment" type="" overloaded="no"> | |
37609 | <autodoc>SetAlignment(int alignment)</autodoc> | |
37610 | <paramlist> | |
37611 | <param name="alignment" type="wxTreeListColumnAlign" default=""/> | |
37612 | </paramlist> | |
37613 | </method> | |
37614 | <method name="SetText" type="" overloaded="no"> | |
37615 | <autodoc>SetText(String text)</autodoc> | |
37616 | <paramlist> | |
37617 | <param name="text" type="String" default=""/> | |
37618 | </paramlist> | |
37619 | </method> | |
37620 | <method name="SetImage" type="" overloaded="no"> | |
37621 | <autodoc>SetImage(int image)</autodoc> | |
37622 | <paramlist> | |
37623 | <param name="image" type="int" default=""/> | |
37624 | </paramlist> | |
37625 | </method> | |
37626 | <method name="SetSelectedImage" type="" overloaded="no"> | |
37627 | <autodoc>SetSelectedImage(int image)</autodoc> | |
37628 | <paramlist> | |
37629 | <param name="image" type="int" default=""/> | |
37630 | </paramlist> | |
37631 | </method> | |
37632 | <method name="SetWidth" type="" overloaded="no"> | |
37633 | <autodoc>SetWidth(size_t with)</autodoc> | |
37634 | <paramlist> | |
37635 | <param name="with" type="size_t" default=""/> | |
37636 | </paramlist> | |
37637 | </method> | |
37638 | </class> | |
37639 | <class name="TreeListCtrl" oldname="wxPyTreeListCtrl" module="gizmos"> | |
37640 | <baseclass name="Control"/> | |
37641 | <constructor name="wxPyTreeListCtrl" overloaded="no"> | |
37642 | <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, | |
37643 | Size size=DefaultSize, long style=TR_DEFAULT_STYLE, | |
37644 | Validator validator=DefaultValidator, | |
37645 | String name=TreeListCtrlNameStr) -> TreeListCtrl</autodoc> | |
37646 | <paramlist> | |
37647 | <param name="parent" type="Window" default=""/> | |
37648 | <param name="id" type="int" default="-1"/> | |
37649 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37650 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37651 | <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/> | |
37652 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
37653 | <param name="name" type="String" default="wxPyTreeListCtrlNameStr"/> | |
37654 | </paramlist> | |
37655 | </constructor> | |
37656 | <constructor name="PreTreeListCtrl" overloaded="no"> | |
37657 | <autodoc>PreTreeListCtrl() -> TreeListCtrl</autodoc> | |
37658 | </constructor> | |
37659 | <method name="Create" type="bool" overloaded="no"> | |
37660 | <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, | |
37661 | Size size=DefaultSize, long style=TR_DEFAULT_STYLE, | |
37662 | Validator validator=DefaultValidator, | |
37663 | String name=TreeListCtrlNameStr) -> bool</autodoc> | |
c2dda882 | 37664 | <docstring>Do the 2nd phase and create the GUI control.</docstring> |
f32fc4bc RD |
37665 | <paramlist> |
37666 | <param name="parent" type="Window" default=""/> | |
37667 | <param name="id" type="int" default="-1"/> | |
37668 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37669 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37670 | <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/> | |
37671 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
37672 | <param name="name" type="String" default="wxPyTreeListCtrlNameStr"/> | |
37673 | </paramlist> | |
37674 | </method> | |
37675 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
37676 | <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc> | |
37677 | <paramlist> | |
37678 | <param name="self" type="PyObject" default=""/> | |
37679 | <param name="_class" type="PyObject" default=""/> | |
37680 | </paramlist> | |
37681 | </method> | |
37682 | <method name="GetCount" type="size_t" overloaded="no"> | |
37683 | <autodoc>GetCount() -> size_t</autodoc> | |
37684 | </method> | |
37685 | <method name="GetIndent" type="unsigned int" overloaded="no"> | |
37686 | <autodoc>GetIndent() -> unsigned int</autodoc> | |
37687 | </method> | |
37688 | <method name="SetIndent" type="" overloaded="no"> | |
37689 | <autodoc>SetIndent(unsigned int indent)</autodoc> | |
37690 | <paramlist> | |
37691 | <param name="indent" type="unsigned int" default=""/> | |
37692 | </paramlist> | |
37693 | </method> | |
37694 | <method name="GetSpacing" type="unsigned int" overloaded="no"> | |
37695 | <autodoc>GetSpacing() -> unsigned int</autodoc> | |
37696 | </method> | |
37697 | <method name="SetSpacing" type="" overloaded="no"> | |
37698 | <autodoc>SetSpacing(unsigned int spacing)</autodoc> | |
37699 | <paramlist> | |
37700 | <param name="spacing" type="unsigned int" default=""/> | |
37701 | </paramlist> | |
37702 | </method> | |
37703 | <method name="GetLineSpacing" type="unsigned int" overloaded="no"> | |
37704 | <autodoc>GetLineSpacing() -> unsigned int</autodoc> | |
37705 | </method> | |
37706 | <method name="SetLineSpacing" type="" overloaded="no"> | |
37707 | <autodoc>SetLineSpacing(unsigned int spacing)</autodoc> | |
37708 | <paramlist> | |
37709 | <param name="spacing" type="unsigned int" default=""/> | |
37710 | </paramlist> | |
37711 | </method> | |
37712 | <method name="GetImageList" type="ImageList" overloaded="no"> | |
37713 | <autodoc>GetImageList() -> ImageList</autodoc> | |
37714 | </method> | |
37715 | <method name="GetStateImageList" type="ImageList" overloaded="no"> | |
37716 | <autodoc>GetStateImageList() -> ImageList</autodoc> | |
37717 | </method> | |
37718 | <method name="GetButtonsImageList" type="ImageList" overloaded="no"> | |
37719 | <autodoc>GetButtonsImageList() -> ImageList</autodoc> | |
37720 | </method> | |
37721 | <method name="SetImageList" type="" overloaded="no"> | |
37722 | <autodoc>SetImageList(ImageList imageList)</autodoc> | |
37723 | <paramlist> | |
37724 | <param name="imageList" type="ImageList" default=""/> | |
37725 | </paramlist> | |
37726 | </method> | |
37727 | <method name="SetStateImageList" type="" overloaded="no"> | |
37728 | <autodoc>SetStateImageList(ImageList imageList)</autodoc> | |
37729 | <paramlist> | |
37730 | <param name="imageList" type="ImageList" default=""/> | |
37731 | </paramlist> | |
37732 | </method> | |
37733 | <method name="SetButtonsImageList" type="" overloaded="no"> | |
37734 | <autodoc>SetButtonsImageList(ImageList imageList)</autodoc> | |
37735 | <paramlist> | |
37736 | <param name="imageList" type="ImageList" default=""/> | |
37737 | </paramlist> | |
37738 | </method> | |
37739 | <method name="AssignImageList" type="" overloaded="no"> | |
37740 | <autodoc>AssignImageList(ImageList imageList)</autodoc> | |
37741 | <paramlist> | |
37742 | <param name="imageList" type="ImageList" default=""/> | |
37743 | </paramlist> | |
37744 | </method> | |
37745 | <method name="AssignStateImageList" type="" overloaded="no"> | |
37746 | <autodoc>AssignStateImageList(ImageList imageList)</autodoc> | |
37747 | <paramlist> | |
37748 | <param name="imageList" type="ImageList" default=""/> | |
37749 | </paramlist> | |
37750 | </method> | |
37751 | <method name="AssignButtonsImageList" type="" overloaded="no"> | |
37752 | <autodoc>AssignButtonsImageList(ImageList imageList)</autodoc> | |
37753 | <paramlist> | |
37754 | <param name="imageList" type="ImageList" default=""/> | |
37755 | </paramlist> | |
37756 | </method> | |
37757 | <method name="AddColumn" type="" overloaded="no"> | |
37758 | <autodoc>AddColumn(String text)</autodoc> | |
37759 | <paramlist> | |
37760 | <param name="text" type="String" default=""/> | |
37761 | </paramlist> | |
37762 | </method> | |
37763 | <method name="AddColumnInfo" type="" overloaded="no"> | |
37764 | <autodoc>AddColumnInfo(TreeListColumnInfo col)</autodoc> | |
37765 | <paramlist> | |
37766 | <param name="col" type="TreeListColumnInfo" default=""/> | |
37767 | </paramlist> | |
37768 | </method> | |
37769 | <method name="InsertColumn" type="" overloaded="no"> | |
37770 | <autodoc>InsertColumn(size_t before, String text)</autodoc> | |
37771 | <paramlist> | |
37772 | <param name="before" type="size_t" default=""/> | |
37773 | <param name="text" type="String" default=""/> | |
37774 | </paramlist> | |
37775 | </method> | |
37776 | <method name="InsertColumnInfo" type="" overloaded="no"> | |
37777 | <autodoc>InsertColumnInfo(size_t before, TreeListColumnInfo col)</autodoc> | |
37778 | <paramlist> | |
37779 | <param name="before" type="size_t" default=""/> | |
37780 | <param name="col" type="TreeListColumnInfo" default=""/> | |
37781 | </paramlist> | |
37782 | </method> | |
37783 | <method name="RemoveColumn" type="" overloaded="no"> | |
37784 | <autodoc>RemoveColumn(size_t column)</autodoc> | |
37785 | <paramlist> | |
37786 | <param name="column" type="size_t" default=""/> | |
37787 | </paramlist> | |
37788 | </method> | |
37789 | <method name="GetColumnCount" type="size_t" overloaded="no"> | |
37790 | <autodoc>GetColumnCount() -> size_t</autodoc> | |
37791 | </method> | |
37792 | <method name="SetColumnWidth" type="" overloaded="no"> | |
37793 | <autodoc>SetColumnWidth(size_t column, size_t width)</autodoc> | |
37794 | <paramlist> | |
37795 | <param name="column" type="size_t" default=""/> | |
37796 | <param name="width" type="size_t" default=""/> | |
37797 | </paramlist> | |
37798 | </method> | |
37799 | <method name="GetColumnWidth" type="int" overloaded="no"> | |
37800 | <autodoc>GetColumnWidth(size_t column) -> int</autodoc> | |
37801 | <paramlist> | |
37802 | <param name="column" type="size_t" default=""/> | |
37803 | </paramlist> | |
37804 | </method> | |
37805 | <method name="SetMainColumn" type="" overloaded="no"> | |
37806 | <autodoc>SetMainColumn(size_t column)</autodoc> | |
37807 | <paramlist> | |
37808 | <param name="column" type="size_t" default=""/> | |
37809 | </paramlist> | |
37810 | </method> | |
37811 | <method name="GetMainColumn" type="size_t" overloaded="no"> | |
37812 | <autodoc>GetMainColumn() -> size_t</autodoc> | |
37813 | </method> | |
37814 | <method name="SetColumnText" type="" overloaded="no"> | |
37815 | <autodoc>SetColumnText(size_t column, String text)</autodoc> | |
37816 | <paramlist> | |
37817 | <param name="column" type="size_t" default=""/> | |
37818 | <param name="text" type="String" default=""/> | |
37819 | </paramlist> | |
37820 | </method> | |
37821 | <method name="GetColumnText" type="String" overloaded="no"> | |
37822 | <autodoc>GetColumnText(size_t column) -> String</autodoc> | |
37823 | <paramlist> | |
37824 | <param name="column" type="size_t" default=""/> | |
37825 | </paramlist> | |
37826 | </method> | |
37827 | <method name="SetColumn" type="" overloaded="no"> | |
37828 | <autodoc>SetColumn(size_t column, TreeListColumnInfo info)</autodoc> | |
37829 | <paramlist> | |
37830 | <param name="column" type="size_t" default=""/> | |
37831 | <param name="info" type="TreeListColumnInfo" default=""/> | |
37832 | </paramlist> | |
37833 | </method> | |
37834 | <method name="GetColumn" type="TreeListColumnInfo" overloaded="no"> | |
37835 | <autodoc>GetColumn(size_t column) -> TreeListColumnInfo</autodoc> | |
37836 | <paramlist> | |
37837 | <param name="column" type="size_t" default=""/> | |
37838 | </paramlist> | |
37839 | </method> | |
37840 | <method name="SetColumnAlignment" type="" overloaded="no"> | |
37841 | <autodoc>SetColumnAlignment(size_t column, int align)</autodoc> | |
37842 | <paramlist> | |
37843 | <param name="column" type="size_t" default=""/> | |
37844 | <param name="align" type="wxTreeListColumnAlign" default=""/> | |
37845 | </paramlist> | |
37846 | </method> | |
37847 | <method name="GetColumnAlignment" type="wxTreeListColumnAlign" overloaded="no"> | |
37848 | <autodoc>GetColumnAlignment(size_t column) -> int</autodoc> | |
37849 | <paramlist> | |
37850 | <param name="column" type="size_t" default=""/> | |
37851 | </paramlist> | |
37852 | </method> | |
37853 | <method name="SetColumnImage" type="" overloaded="no"> | |
37854 | <autodoc>SetColumnImage(size_t column, int image)</autodoc> | |
37855 | <paramlist> | |
37856 | <param name="column" type="size_t" default=""/> | |
37857 | <param name="image" type="int" default=""/> | |
37858 | </paramlist> | |
37859 | </method> | |
37860 | <method name="GetColumnImage" type="int" overloaded="no"> | |
37861 | <autodoc>GetColumnImage(size_t column) -> int</autodoc> | |
37862 | <paramlist> | |
37863 | <param name="column" type="size_t" default=""/> | |
37864 | </paramlist> | |
37865 | </method> | |
37866 | <method name="GetItemText" type="String" overloaded="no"> | |
37867 | <autodoc>GetItemText(TreeItemId item, int column=-1) -> String</autodoc> | |
37868 | <paramlist> | |
37869 | <param name="item" type="TreeItemId" default=""/> | |
37870 | <param name="column" type="int" default="-1"/> | |
37871 | </paramlist> | |
37872 | </method> | |
37873 | <method name="GetItemImage" type="int" overloaded="no"> | |
37874 | <autodoc>GetItemImage(TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int</autodoc> | |
37875 | <paramlist> | |
37876 | <param name="item" type="TreeItemId" default=""/> | |
37877 | <param name="column" type="int" default="-1"/> | |
37878 | <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/> | |
37879 | </paramlist> | |
37880 | </method> | |
37881 | <method name="SetItemText" type="" overloaded="no"> | |
37882 | <autodoc>SetItemText(TreeItemId item, String text, int column=-1)</autodoc> | |
37883 | <paramlist> | |
37884 | <param name="item" type="TreeItemId" default=""/> | |
37885 | <param name="text" type="String" default=""/> | |
37886 | <param name="column" type="int" default="-1"/> | |
37887 | </paramlist> | |
37888 | </method> | |
37889 | <method name="SetItemImage" type="" overloaded="no"> | |
37890 | <autodoc>SetItemImage(TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)</autodoc> | |
37891 | <paramlist> | |
37892 | <param name="item" type="TreeItemId" default=""/> | |
37893 | <param name="image" type="int" default=""/> | |
37894 | <param name="column" type="int" default="-1"/> | |
37895 | <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/> | |
37896 | </paramlist> | |
37897 | </method> | |
37898 | <method name="GetItemData" type="TreeItemData" overloaded="no"> | |
37899 | <autodoc>GetItemData(TreeItemId item) -> TreeItemData</autodoc> | |
37900 | <paramlist> | |
37901 | <param name="item" type="TreeItemId" default=""/> | |
37902 | </paramlist> | |
37903 | </method> | |
37904 | <method name="SetItemData" type="" overloaded="no"> | |
37905 | <autodoc>SetItemData(TreeItemId item, TreeItemData data)</autodoc> | |
37906 | <paramlist> | |
37907 | <param name="item" type="TreeItemId" default=""/> | |
37908 | <param name="data" type="TreeItemData" default=""/> | |
37909 | </paramlist> | |
37910 | </method> | |
37911 | <method name="GetItemPyData" type="PyObject" overloaded="no"> | |
37912 | <autodoc>GetItemPyData(TreeItemId item) -> PyObject</autodoc> | |
37913 | <paramlist> | |
37914 | <param name="item" type="TreeItemId" default=""/> | |
37915 | </paramlist> | |
37916 | </method> | |
37917 | <method name="SetItemPyData" type="" overloaded="no"> | |
37918 | <autodoc>SetItemPyData(TreeItemId item, PyObject obj)</autodoc> | |
37919 | <paramlist> | |
37920 | <param name="item" type="TreeItemId" default=""/> | |
37921 | <param name="obj" type="PyObject" default=""/> | |
37922 | </paramlist> | |
37923 | </method> | |
37924 | <method name="SetItemHasChildren" type="" overloaded="no"> | |
37925 | <autodoc>SetItemHasChildren(TreeItemId item, bool has=True)</autodoc> | |
37926 | <paramlist> | |
37927 | <param name="item" type="TreeItemId" default=""/> | |
37928 | <param name="has" type="bool" default="True"/> | |
37929 | </paramlist> | |
37930 | </method> | |
37931 | <method name="SetItemBold" type="" overloaded="no"> | |
37932 | <autodoc>SetItemBold(TreeItemId item, bool bold=True)</autodoc> | |
37933 | <paramlist> | |
37934 | <param name="item" type="TreeItemId" default=""/> | |
37935 | <param name="bold" type="bool" default="True"/> | |
37936 | </paramlist> | |
37937 | </method> | |
37938 | <method name="SetItemTextColour" type="" overloaded="no"> | |
37939 | <autodoc>SetItemTextColour(TreeItemId item, Colour col)</autodoc> | |
37940 | <paramlist> | |
37941 | <param name="item" type="TreeItemId" default=""/> | |
37942 | <param name="col" type="Colour" default=""/> | |
37943 | </paramlist> | |
37944 | </method> | |
37945 | <method name="SetItemBackgroundColour" type="" overloaded="no"> | |
37946 | <autodoc>SetItemBackgroundColour(TreeItemId item, Colour col)</autodoc> | |
37947 | <paramlist> | |
37948 | <param name="item" type="TreeItemId" default=""/> | |
37949 | <param name="col" type="Colour" default=""/> | |
37950 | </paramlist> | |
37951 | </method> | |
37952 | <method name="SetItemFont" type="" overloaded="no"> | |
37953 | <autodoc>SetItemFont(TreeItemId item, Font font)</autodoc> | |
37954 | <paramlist> | |
37955 | <param name="item" type="TreeItemId" default=""/> | |
37956 | <param name="font" type="Font" default=""/> | |
37957 | </paramlist> | |
37958 | </method> | |
37959 | <method name="GetItemBold" type="bool" overloaded="no"> | |
37960 | <autodoc>GetItemBold(TreeItemId item) -> bool</autodoc> | |
37961 | <paramlist> | |
37962 | <param name="item" type="TreeItemId" default=""/> | |
37963 | </paramlist> | |
37964 | </method> | |
37965 | <method name="GetItemTextColour" type="Colour" overloaded="no"> | |
37966 | <autodoc>GetItemTextColour(TreeItemId item) -> Colour</autodoc> | |
37967 | <paramlist> | |
37968 | <param name="item" type="TreeItemId" default=""/> | |
37969 | </paramlist> | |
37970 | </method> | |
37971 | <method name="GetItemBackgroundColour" type="Colour" overloaded="no"> | |
37972 | <autodoc>GetItemBackgroundColour(TreeItemId item) -> Colour</autodoc> | |
37973 | <paramlist> | |
37974 | <param name="item" type="TreeItemId" default=""/> | |
37975 | </paramlist> | |
37976 | </method> | |
37977 | <method name="GetItemFont" type="Font" overloaded="no"> | |
37978 | <autodoc>GetItemFont(TreeItemId item) -> Font</autodoc> | |
37979 | <paramlist> | |
37980 | <param name="item" type="TreeItemId" default=""/> | |
37981 | </paramlist> | |
37982 | </method> | |
37983 | <method name="IsVisible" type="bool" overloaded="no"> | |
37984 | <autodoc>IsVisible(TreeItemId item) -> bool</autodoc> | |
37985 | <paramlist> | |
37986 | <param name="item" type="TreeItemId" default=""/> | |
37987 | </paramlist> | |
37988 | </method> | |
37989 | <method name="ItemHasChildren" type="bool" overloaded="no"> | |
37990 | <autodoc>ItemHasChildren(TreeItemId item) -> bool</autodoc> | |
37991 | <paramlist> | |
37992 | <param name="item" type="TreeItemId" default=""/> | |
37993 | </paramlist> | |
37994 | </method> | |
37995 | <method name="IsExpanded" type="bool" overloaded="no"> | |
37996 | <autodoc>IsExpanded(TreeItemId item) -> bool</autodoc> | |
37997 | <paramlist> | |
37998 | <param name="item" type="TreeItemId" default=""/> | |
37999 | </paramlist> | |
38000 | </method> | |
38001 | <method name="IsSelected" type="bool" overloaded="no"> | |
38002 | <autodoc>IsSelected(TreeItemId item) -> bool</autodoc> | |
38003 | <paramlist> | |
38004 | <param name="item" type="TreeItemId" default=""/> | |
38005 | </paramlist> | |
38006 | </method> | |
38007 | <method name="IsBold" type="bool" overloaded="no"> | |
38008 | <autodoc>IsBold(TreeItemId item) -> bool</autodoc> | |
38009 | <paramlist> | |
38010 | <param name="item" type="TreeItemId" default=""/> | |
38011 | </paramlist> | |
38012 | </method> | |
38013 | <method name="GetChildrenCount" type="size_t" overloaded="no"> | |
38014 | <autodoc>GetChildrenCount(TreeItemId item, bool recursively=True) -> size_t</autodoc> | |
38015 | <paramlist> | |
38016 | <param name="item" type="TreeItemId" default=""/> | |
38017 | <param name="recursively" type="bool" default="True"/> | |
38018 | </paramlist> | |
38019 | </method> | |
38020 | <method name="GetRootItem" type="TreeItemId" overloaded="no"> | |
38021 | <autodoc>GetRootItem() -> TreeItemId</autodoc> | |
38022 | </method> | |
38023 | <method name="GetSelection" type="TreeItemId" overloaded="no"> | |
38024 | <autodoc>GetSelection() -> TreeItemId</autodoc> | |
38025 | </method> | |
38026 | <method name="GetSelections" type="PyObject" overloaded="no"> | |
38027 | <autodoc>GetSelections() -> PyObject</autodoc> | |
38028 | </method> | |
38029 | <method name="GetItemParent" type="TreeItemId" overloaded="no"> | |
38030 | <autodoc>GetItemParent(TreeItemId item) -> TreeItemId</autodoc> | |
38031 | <paramlist> | |
38032 | <param name="item" type="TreeItemId" default=""/> | |
38033 | </paramlist> | |
38034 | </method> | |
38035 | <method name="GetFirstChild" type="PyObject" overloaded="no"> | |
38036 | <autodoc>GetFirstChild(TreeItemId item) -> PyObject</autodoc> | |
38037 | <paramlist> | |
38038 | <param name="item" type="TreeItemId" default=""/> | |
38039 | </paramlist> | |
38040 | </method> | |
38041 | <method name="GetNextChild" type="PyObject" overloaded="no"> | |
38042 | <autodoc>GetNextChild(TreeItemId item, long cookie) -> PyObject</autodoc> | |
38043 | <paramlist> | |
38044 | <param name="item" type="TreeItemId" default=""/> | |
38045 | <param name="cookie" type="long" default=""/> | |
38046 | </paramlist> | |
38047 | </method> | |
38048 | <method name="GetLastChild" type="TreeItemId" overloaded="no"> | |
38049 | <autodoc>GetLastChild(TreeItemId item) -> TreeItemId</autodoc> | |
38050 | <paramlist> | |
38051 | <param name="item" type="TreeItemId" default=""/> | |
38052 | </paramlist> | |
38053 | </method> | |
38054 | <method name="GetNextSibling" type="TreeItemId" overloaded="no"> | |
38055 | <autodoc>GetNextSibling(TreeItemId item) -> TreeItemId</autodoc> | |
38056 | <paramlist> | |
38057 | <param name="item" type="TreeItemId" default=""/> | |
38058 | </paramlist> | |
38059 | </method> | |
38060 | <method name="GetPrevSibling" type="TreeItemId" overloaded="no"> | |
38061 | <autodoc>GetPrevSibling(TreeItemId item) -> TreeItemId</autodoc> | |
38062 | <paramlist> | |
38063 | <param name="item" type="TreeItemId" default=""/> | |
38064 | </paramlist> | |
38065 | </method> | |
38066 | <method name="GetFirstVisibleItem" type="TreeItemId" overloaded="no"> | |
38067 | <autodoc>GetFirstVisibleItem() -> TreeItemId</autodoc> | |
38068 | </method> | |
38069 | <method name="GetNextVisible" type="TreeItemId" overloaded="no"> | |
38070 | <autodoc>GetNextVisible(TreeItemId item) -> TreeItemId</autodoc> | |
38071 | <paramlist> | |
38072 | <param name="item" type="TreeItemId" default=""/> | |
38073 | </paramlist> | |
38074 | </method> | |
38075 | <method name="GetPrevVisible" type="TreeItemId" overloaded="no"> | |
38076 | <autodoc>GetPrevVisible(TreeItemId item) -> TreeItemId</autodoc> | |
38077 | <paramlist> | |
38078 | <param name="item" type="TreeItemId" default=""/> | |
38079 | </paramlist> | |
38080 | </method> | |
38081 | <method name="GetNext" type="TreeItemId" overloaded="no"> | |
38082 | <autodoc>GetNext(TreeItemId item) -> TreeItemId</autodoc> | |
38083 | <paramlist> | |
38084 | <param name="item" type="TreeItemId" default=""/> | |
38085 | </paramlist> | |
38086 | </method> | |
38087 | <method name="AddRoot" type="TreeItemId" overloaded="no"> | |
38088 | <autodoc>AddRoot(String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc> | |
38089 | <paramlist> | |
38090 | <param name="text" type="String" default=""/> | |
38091 | <param name="image" type="int" default="-1"/> | |
38092 | <param name="selectedImage" type="int" default="-1"/> | |
38093 | <param name="data" type="TreeItemData" default="NULL"/> | |
38094 | </paramlist> | |
38095 | </method> | |
38096 | <method name="PrependItem" type="TreeItemId" overloaded="no"> | |
38097 | <autodoc>PrependItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1, | |
0f43fbdf | 38098 | TreeItemData data=None) -> TreeItemId</autodoc> |
f32fc4bc RD |
38099 | <paramlist> |
38100 | <param name="parent" type="TreeItemId" default=""/> | |
38101 | <param name="text" type="String" default=""/> | |
38102 | <param name="image" type="int" default="-1"/> | |
38103 | <param name="selectedImage" type="int" default="-1"/> | |
38104 | <param name="data" type="TreeItemData" default="NULL"/> | |
38105 | </paramlist> | |
38106 | </method> | |
38107 | <method name="InsertItem" type="TreeItemId" overloaded="no"> | |
38108 | <autodoc>InsertItem(TreeItemId parent, TreeItemId idPrevious, String text, | |
0f43fbdf | 38109 | int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc> |
f32fc4bc RD |
38110 | <paramlist> |
38111 | <param name="parent" type="TreeItemId" default=""/> | |
38112 | <param name="idPrevious" type="TreeItemId" default=""/> | |
38113 | <param name="text" type="String" default=""/> | |
38114 | <param name="image" type="int" default="-1"/> | |
38115 | <param name="selectedImage" type="int" default="-1"/> | |
38116 | <param name="data" type="TreeItemData" default="NULL"/> | |
38117 | </paramlist> | |
38118 | </method> | |
38119 | <method name="InsertItemBefore" type="TreeItemId" overloaded="no"> | |
38120 | <autodoc>InsertItemBefore(TreeItemId parent, size_t index, String text, int image=-1, | |
0f43fbdf | 38121 | int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc> |
f32fc4bc RD |
38122 | <paramlist> |
38123 | <param name="parent" type="TreeItemId" default=""/> | |
38124 | <param name="index" type="size_t" default=""/> | |
38125 | <param name="text" type="String" default=""/> | |
38126 | <param name="image" type="int" default="-1"/> | |
38127 | <param name="selectedImage" type="int" default="-1"/> | |
38128 | <param name="data" type="TreeItemData" default="NULL"/> | |
38129 | </paramlist> | |
38130 | </method> | |
38131 | <method name="AppendItem" type="TreeItemId" overloaded="no"> | |
38132 | <autodoc>AppendItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1, | |
0f43fbdf | 38133 | TreeItemData data=None) -> TreeItemId</autodoc> |
f32fc4bc RD |
38134 | <paramlist> |
38135 | <param name="parent" type="TreeItemId" default=""/> | |
38136 | <param name="text" type="String" default=""/> | |
38137 | <param name="image" type="int" default="-1"/> | |
38138 | <param name="selectedImage" type="int" default="-1"/> | |
38139 | <param name="data" type="TreeItemData" default="NULL"/> | |
38140 | </paramlist> | |
38141 | </method> | |
38142 | <method name="Delete" type="" overloaded="no"> | |
38143 | <autodoc>Delete(TreeItemId item)</autodoc> | |
38144 | <paramlist> | |
38145 | <param name="item" type="TreeItemId" default=""/> | |
38146 | </paramlist> | |
38147 | </method> | |
38148 | <method name="DeleteChildren" type="" overloaded="no"> | |
38149 | <autodoc>DeleteChildren(TreeItemId item)</autodoc> | |
38150 | <paramlist> | |
38151 | <param name="item" type="TreeItemId" default=""/> | |
38152 | </paramlist> | |
38153 | </method> | |
38154 | <method name="DeleteAllItems" type="" overloaded="no"> | |
38155 | <autodoc>DeleteAllItems()</autodoc> | |
38156 | </method> | |
38157 | <method name="Expand" type="" overloaded="no"> | |
38158 | <autodoc>Expand(TreeItemId item)</autodoc> | |
38159 | <paramlist> | |
38160 | <param name="item" type="TreeItemId" default=""/> | |
38161 | </paramlist> | |
38162 | </method> | |
38163 | <method name="ExpandAll" type="" overloaded="no"> | |
38164 | <autodoc>ExpandAll(TreeItemId item)</autodoc> | |
38165 | <paramlist> | |
38166 | <param name="item" type="TreeItemId" default=""/> | |
38167 | </paramlist> | |
38168 | </method> | |
38169 | <method name="Collapse" type="" overloaded="no"> | |
38170 | <autodoc>Collapse(TreeItemId item)</autodoc> | |
38171 | <paramlist> | |
38172 | <param name="item" type="TreeItemId" default=""/> | |
38173 | </paramlist> | |
38174 | </method> | |
38175 | <method name="CollapseAndReset" type="" overloaded="no"> | |
38176 | <autodoc>CollapseAndReset(TreeItemId item)</autodoc> | |
38177 | <paramlist> | |
38178 | <param name="item" type="TreeItemId" default=""/> | |
38179 | </paramlist> | |
38180 | </method> | |
38181 | <method name="Toggle" type="" overloaded="no"> | |
38182 | <autodoc>Toggle(TreeItemId item)</autodoc> | |
38183 | <paramlist> | |
38184 | <param name="item" type="TreeItemId" default=""/> | |
38185 | </paramlist> | |
38186 | </method> | |
38187 | <method name="Unselect" type="" overloaded="no"> | |
38188 | <autodoc>Unselect()</autodoc> | |
38189 | </method> | |
38190 | <method name="UnselectAll" type="" overloaded="no"> | |
38191 | <autodoc>UnselectAll()</autodoc> | |
38192 | </method> | |
38193 | <method name="SelectItem" type="" overloaded="no"> | |
38194 | <autodoc>SelectItem(TreeItemId item, bool unselect_others=True, bool extended_select=False)</autodoc> | |
38195 | <paramlist> | |
38196 | <param name="item" type="TreeItemId" default=""/> | |
38197 | <param name="unselect_others" type="bool" default="True"/> | |
38198 | <param name="extended_select" type="bool" default="False"/> | |
38199 | </paramlist> | |
38200 | </method> | |
38201 | <method name="EnsureVisible" type="" overloaded="no"> | |
38202 | <autodoc>EnsureVisible(TreeItemId item)</autodoc> | |
38203 | <paramlist> | |
38204 | <param name="item" type="TreeItemId" default=""/> | |
38205 | </paramlist> | |
38206 | </method> | |
38207 | <method name="ScrollTo" type="" overloaded="no"> | |
38208 | <autodoc>ScrollTo(TreeItemId item)</autodoc> | |
38209 | <paramlist> | |
38210 | <param name="item" type="TreeItemId" default=""/> | |
38211 | </paramlist> | |
38212 | </method> | |
38213 | <method name="HitTest" type="TreeItemId" overloaded="no"> | |
38214 | <autodoc>HitTest(Point point, int OUTPUT, int OUTPUT) -> TreeItemId</autodoc> | |
38215 | <paramlist> | |
38216 | <param name="point" type="Point" default=""/> | |
38217 | <param name="OUTPUT" type="int" default=""/> | |
38218 | <param name="OUTPUT" type="int" default=""/> | |
38219 | </paramlist> | |
38220 | </method> | |
38221 | <method name="GetBoundingRect" type="PyObject" overloaded="no"> | |
38222 | <autodoc>GetBoundingRect(TreeItemId item, bool textOnly=False) -> PyObject</autodoc> | |
38223 | <paramlist> | |
38224 | <param name="item" type="TreeItemId" default=""/> | |
38225 | <param name="textOnly" type="bool" default="False"/> | |
38226 | </paramlist> | |
38227 | </method> | |
38228 | <method name="EditLabel" type="" overloaded="no"> | |
38229 | <autodoc>EditLabel(TreeItemId item)</autodoc> | |
38230 | <paramlist> | |
38231 | <param name="item" type="TreeItemId" default=""/> | |
38232 | </paramlist> | |
38233 | </method> | |
38234 | <method name="Edit" type="" overloaded="no"> | |
38235 | <autodoc>Edit(TreeItemId item)</autodoc> | |
38236 | <paramlist> | |
38237 | <param name="item" type="TreeItemId" default=""/> | |
38238 | </paramlist> | |
38239 | </method> | |
38240 | <method name="SortChildren" type="" overloaded="no"> | |
38241 | <autodoc>SortChildren(TreeItemId item)</autodoc> | |
38242 | <paramlist> | |
38243 | <param name="item" type="TreeItemId" default=""/> | |
38244 | </paramlist> | |
38245 | </method> | |
38246 | <method name="GetItemSelectedImage" type="int" overloaded="no"> | |
38247 | <autodoc>GetItemSelectedImage(TreeItemId item) -> int</autodoc> | |
38248 | <paramlist> | |
38249 | <param name="item" type="TreeItemId" default=""/> | |
38250 | </paramlist> | |
38251 | </method> | |
38252 | <method name="SetItemSelectedImage" type="" overloaded="no"> | |
38253 | <autodoc>SetItemSelectedImage(TreeItemId item, int image)</autodoc> | |
38254 | <paramlist> | |
38255 | <param name="item" type="TreeItemId" default=""/> | |
38256 | <param name="image" type="int" default=""/> | |
38257 | </paramlist> | |
38258 | </method> | |
38259 | <method name="GetHeaderWindow" type="Window" overloaded="no"> | |
38260 | <autodoc>GetHeaderWindow() -> Window</autodoc> | |
38261 | </method> | |
38262 | <method name="GetMainWindow" type="Window" overloaded="no"> | |
38263 | <autodoc>GetMainWindow() -> Window</autodoc> | |
38264 | </method> | |
38265 | </class> | |
38266 | </module> | |
0dd25e81 | 38267 | </wxPython-metadata> |