]>
Commit | Line | Data |
---|---|---|
f32fc4bc | 1 | <?xml version="1.0"?> |
0f43fbdf | 2 | <wxPython-metadata> |
781d2982 | 3 | <module name="_core"> |
f32fc4bc | 4 | <pythoncode> |
0f43fbdf RD |
5 | #// Give a reference to the dictionary of this module to the C++ extension |
6 | #// code. | |
781d2982 | 7 | _core_._wxPySetDictionary(vars()) |
0f43fbdf RD |
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__] | |
781d2982 RD |
13 | |
14 | </pythoncode> | |
15 | <pythoncode> | |
16 | #---------------------------------------------------------------------------- | |
17 | ||
18 | def _deprecated(callable, msg=None): | |
19 | """ | |
20 | Create a wrapper function that will raise a DeprecationWarning | |
21 | before calling the callable. | |
22 | """ | |
23 | if msg is None: | |
24 | msg = "%s is deprecated" % callable | |
25 | def deprecatedWrapper(*args, **kwargs): | |
26 | import warnings | |
27 | warnings.warn(msg, DeprecationWarning, stacklevel=2) | |
28 | return callable(*args, **kwargs) | |
29 | deprecatedWrapper.__doc__ = msg | |
30 | return deprecatedWrapper | |
31 | ||
32 | ||
33 | #---------------------------------------------------------------------------- | |
0f43fbdf | 34 | </pythoncode> |
f32fc4bc | 35 | <pythoncode> |
0f43fbdf RD |
36 | #--------------------------------------------------------------------------- |
37 | </pythoncode> | |
781d2982 | 38 | <class name="Object" oldname="wxObject" module="_core"> |
f32fc4bc | 39 | <docstring>The base class for most wx objects, although in wxPython not |
0f43fbdf | 40 | much functionality is needed nor exposed.</docstring> |
f32fc4bc | 41 | <method name="GetClassName" type="String" overloaded="no"> |
781d2982 RD |
42 | <autodoc>GetClassName(self) -> String</autodoc> |
43 | <docstring>Returns the class name of the C++ class using wxRTTI.</docstring> | |
f32fc4bc RD |
44 | </method> |
45 | <method name="Destroy" type="" overloaded="no"> | |
781d2982 | 46 | <autodoc>Destroy(self)</autodoc> |
f32fc4bc RD |
47 | <docstring>Deletes the C++ object this Python object is a proxy for.</docstring> |
48 | </method> | |
49 | </class> | |
50 | <pythoncode> | |
0f43fbdf RD |
51 | #--------------------------------------------------------------------------- |
52 | </pythoncode> | |
f32fc4bc | 53 | <pythoncode> |
0f43fbdf RD |
54 | #--------------------------------------------------------------------------- |
55 | </pythoncode> | |
781d2982 RD |
56 | <class name="Size" oldname="wxSize" module="_core"> |
57 | <docstring>wx.Size is a useful data structure used to represent the size of | |
58 | something. It simply contians integer width and height proprtites. | |
59 | In most places in wxPython where a wx.Size is expected a | |
60 | (width,height) tuple can be used instead.</docstring> | |
f32fc4bc | 61 | <constructor name="Size" overloaded="no"> |
781d2982 | 62 | <autodoc>__init__(self, int w=0, int h=0) -> Size</autodoc> |
f32fc4bc RD |
63 | <docstring>Creates a size object.</docstring> |
64 | <paramlist> | |
65 | <param name="w" type="int" default="0"/> | |
66 | <param name="h" type="int" default="0"/> | |
67 | </paramlist> | |
68 | </constructor> | |
69 | <destructor name="~wxSize" overloaded="no"> | |
781d2982 | 70 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
71 | </destructor> |
72 | <property name="width" type="int" readonly="no"/> | |
73 | <property name="height" type="int" readonly="no"/> | |
74 | <method name="__eq__" type="bool" overloaded="no"> | |
781d2982 | 75 | <autodoc>__eq__(self, Size sz) -> bool</autodoc> |
f32fc4bc RD |
76 | <docstring>Test for equality of wx.Size objects.</docstring> |
77 | <paramlist> | |
78 | <param name="sz" type="Size" default=""/> | |
79 | </paramlist> | |
80 | </method> | |
81 | <method name="__ne__" type="bool" overloaded="no"> | |
781d2982 | 82 | <autodoc>__ne__(self, Size sz) -> bool</autodoc> |
f32fc4bc RD |
83 | <docstring>Test for inequality.</docstring> |
84 | <paramlist> | |
85 | <param name="sz" type="Size" default=""/> | |
86 | </paramlist> | |
87 | </method> | |
88 | <method name="__add__" type="Size" overloaded="no"> | |
781d2982 | 89 | <autodoc>__add__(self, Size sz) -> Size</autodoc> |
f32fc4bc RD |
90 | <docstring>Add sz's proprties to this and return the result.</docstring> |
91 | <paramlist> | |
92 | <param name="sz" type="Size" default=""/> | |
93 | </paramlist> | |
94 | </method> | |
95 | <method name="__sub__" type="Size" overloaded="no"> | |
781d2982 | 96 | <autodoc>__sub__(self, Size sz) -> Size</autodoc> |
f32fc4bc RD |
97 | <docstring>Subtract sz's properties from this and return the result.</docstring> |
98 | <paramlist> | |
99 | <param name="sz" type="Size" default=""/> | |
100 | </paramlist> | |
101 | </method> | |
102 | <method name="IncTo" type="" overloaded="no"> | |
781d2982 | 103 | <autodoc>IncTo(self, Size sz)</autodoc> |
f32fc4bc | 104 | <docstring>Increments this object so that both of its dimensions are not less |
0f43fbdf | 105 | than the corresponding dimensions of the size.</docstring> |
f32fc4bc RD |
106 | <paramlist> |
107 | <param name="sz" type="Size" default=""/> | |
108 | </paramlist> | |
109 | </method> | |
110 | <method name="DecTo" type="" overloaded="no"> | |
781d2982 | 111 | <autodoc>DecTo(self, Size sz)</autodoc> |
f32fc4bc | 112 | <docstring>Decrements this object so that both of its dimensions are not greater |
0f43fbdf | 113 | than the corresponding dimensions of the size.</docstring> |
f32fc4bc RD |
114 | <paramlist> |
115 | <param name="sz" type="Size" default=""/> | |
116 | </paramlist> | |
117 | </method> | |
118 | <method name="Set" type="" overloaded="no"> | |
781d2982 | 119 | <autodoc>Set(self, int w, int h)</autodoc> |
f32fc4bc RD |
120 | <docstring>Set both width and height.</docstring> |
121 | <paramlist> | |
122 | <param name="w" type="int" default=""/> | |
123 | <param name="h" type="int" default=""/> | |
124 | </paramlist> | |
125 | </method> | |
126 | <method name="SetWidth" type="" overloaded="no"> | |
781d2982 | 127 | <autodoc>SetWidth(self, int w)</autodoc> |
f32fc4bc RD |
128 | <paramlist> |
129 | <param name="w" type="int" default=""/> | |
130 | </paramlist> | |
131 | </method> | |
132 | <method name="SetHeight" type="" overloaded="no"> | |
781d2982 | 133 | <autodoc>SetHeight(self, int h)</autodoc> |
f32fc4bc RD |
134 | <paramlist> |
135 | <param name="h" type="int" default=""/> | |
136 | </paramlist> | |
137 | </method> | |
138 | <method name="GetWidth" type="int" overloaded="no"> | |
781d2982 | 139 | <autodoc>GetWidth(self) -> int</autodoc> |
f32fc4bc RD |
140 | </method> |
141 | <method name="GetHeight" type="int" overloaded="no"> | |
781d2982 RD |
142 | <autodoc>GetHeight(self) -> int</autodoc> |
143 | </method> | |
144 | <method name="IsFullySpecified" type="bool" overloaded="no"> | |
145 | <autodoc>IsFullySpecified(self) -> bool</autodoc> | |
146 | <docstring>Returns True if both components of the size are non-default values.</docstring> | |
147 | </method> | |
148 | <method name="SetDefaults" type="" overloaded="no"> | |
149 | <autodoc>SetDefaults(self, Size size)</autodoc> | |
150 | <docstring>Combine this size with the other one replacing the default components | |
151 | of this object (i.e. equal to -1) with those of the other.</docstring> | |
152 | <paramlist> | |
153 | <param name="size" type="Size" default=""/> | |
154 | </paramlist> | |
f32fc4bc RD |
155 | </method> |
156 | <method name="Get" type="PyObject" overloaded="no"> | |
157 | <autodoc>Get() -> (width,height)</autodoc> | |
158 | <docstring>Returns the width and height properties as a tuple.</docstring> | |
159 | </method> | |
160 | </class> | |
0dd25e81 | 161 | <pythoncode> |
0f43fbdf RD |
162 | #--------------------------------------------------------------------------- |
163 | </pythoncode> | |
781d2982 RD |
164 | <class name="RealPoint" oldname="wxRealPoint" module="_core"> |
165 | <docstring>A data structure for representing a point or position with floating | |
166 | point x and y properties. In wxPython most places that expect a | |
167 | wx.RealPoint can also accept a (x,y) tuple.</docstring> | |
f32fc4bc | 168 | <constructor name="RealPoint" overloaded="no"> |
781d2982 | 169 | <autodoc>__init__(self, double x=0.0, double y=0.0) -> RealPoint</autodoc> |
f32fc4bc RD |
170 | <docstring>Create a wx.RealPoint object</docstring> |
171 | <paramlist> | |
172 | <param name="x" type="double" default="0.0"/> | |
173 | <param name="y" type="double" default="0.0"/> | |
174 | </paramlist> | |
175 | </constructor> | |
176 | <destructor name="~wxRealPoint" overloaded="no"> | |
781d2982 | 177 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
178 | </destructor> |
179 | <property name="x" type="double" readonly="no"/> | |
180 | <property name="y" type="double" readonly="no"/> | |
181 | <method name="__eq__" type="bool" overloaded="no"> | |
781d2982 | 182 | <autodoc>__eq__(self, RealPoint pt) -> bool</autodoc> |
f32fc4bc RD |
183 | <docstring>Test for equality of wx.RealPoint objects.</docstring> |
184 | <paramlist> | |
185 | <param name="pt" type="RealPoint" default=""/> | |
186 | </paramlist> | |
187 | </method> | |
188 | <method name="__ne__" type="bool" overloaded="no"> | |
781d2982 | 189 | <autodoc>__ne__(self, RealPoint pt) -> bool</autodoc> |
f32fc4bc RD |
190 | <docstring>Test for inequality of wx.RealPoint objects.</docstring> |
191 | <paramlist> | |
192 | <param name="pt" type="RealPoint" default=""/> | |
193 | </paramlist> | |
194 | </method> | |
195 | <method name="__add__" type="RealPoint" overloaded="no"> | |
781d2982 | 196 | <autodoc>__add__(self, RealPoint pt) -> RealPoint</autodoc> |
f32fc4bc RD |
197 | <docstring>Add pt's proprties to this and return the result.</docstring> |
198 | <paramlist> | |
199 | <param name="pt" type="RealPoint" default=""/> | |
200 | </paramlist> | |
201 | </method> | |
202 | <method name="__sub__" type="RealPoint" overloaded="no"> | |
781d2982 | 203 | <autodoc>__sub__(self, RealPoint pt) -> RealPoint</autodoc> |
f32fc4bc RD |
204 | <docstring>Subtract pt's proprties from this and return the result</docstring> |
205 | <paramlist> | |
206 | <param name="pt" type="RealPoint" default=""/> | |
207 | </paramlist> | |
208 | </method> | |
209 | <method name="Set" type="" overloaded="no"> | |
781d2982 | 210 | <autodoc>Set(self, double x, double y)</autodoc> |
f32fc4bc RD |
211 | <docstring>Set both the x and y properties</docstring> |
212 | <paramlist> | |
213 | <param name="x" type="double" default=""/> | |
214 | <param name="y" type="double" default=""/> | |
215 | </paramlist> | |
216 | </method> | |
217 | <method name="Get" type="PyObject" overloaded="no"> | |
218 | <autodoc>Get() -> (x,y)</autodoc> | |
219 | <docstring>Return the x and y properties as a tuple. </docstring> | |
220 | </method> | |
221 | </class> | |
0dd25e81 | 222 | <pythoncode> |
0f43fbdf RD |
223 | #--------------------------------------------------------------------------- |
224 | </pythoncode> | |
781d2982 RD |
225 | <class name="Point" oldname="wxPoint" module="_core"> |
226 | <docstring>A data structure for representing a point or position with integer x | |
227 | and y properties. Most places in wxPython that expect a wx.Point can | |
228 | also accept a (x,y) tuple.</docstring> | |
f32fc4bc | 229 | <constructor name="Point" overloaded="no"> |
781d2982 | 230 | <autodoc>__init__(self, int x=0, int y=0) -> Point</autodoc> |
f32fc4bc RD |
231 | <docstring>Create a wx.Point object</docstring> |
232 | <paramlist> | |
233 | <param name="x" type="int" default="0"/> | |
234 | <param name="y" type="int" default="0"/> | |
235 | </paramlist> | |
236 | </constructor> | |
237 | <destructor name="~wxPoint" overloaded="no"> | |
781d2982 | 238 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
239 | </destructor> |
240 | <property name="x" type="int" readonly="no"/> | |
241 | <property name="y" type="int" readonly="no"/> | |
242 | <method name="__eq__" type="bool" overloaded="no"> | |
781d2982 | 243 | <autodoc>__eq__(self, Point pt) -> bool</autodoc> |
f32fc4bc RD |
244 | <docstring>Test for equality of wx.Point objects.</docstring> |
245 | <paramlist> | |
246 | <param name="pt" type="Point" default=""/> | |
247 | </paramlist> | |
248 | </method> | |
249 | <method name="__ne__" type="bool" overloaded="no"> | |
781d2982 | 250 | <autodoc>__ne__(self, Point pt) -> bool</autodoc> |
f32fc4bc RD |
251 | <docstring>Test for inequality of wx.Point objects.</docstring> |
252 | <paramlist> | |
253 | <param name="pt" type="Point" default=""/> | |
254 | </paramlist> | |
255 | </method> | |
256 | <method name="__add__" type="Point" overloaded="no"> | |
781d2982 | 257 | <autodoc>__add__(self, Point pt) -> Point</autodoc> |
f32fc4bc RD |
258 | <docstring>Add pt's proprties to this and return the result.</docstring> |
259 | <paramlist> | |
260 | <param name="pt" type="Point" default=""/> | |
261 | </paramlist> | |
262 | </method> | |
263 | <method name="__sub__" type="Point" overloaded="no"> | |
781d2982 | 264 | <autodoc>__sub__(self, Point pt) -> Point</autodoc> |
f32fc4bc RD |
265 | <docstring>Subtract pt's proprties from this and return the result</docstring> |
266 | <paramlist> | |
267 | <param name="pt" type="Point" default=""/> | |
268 | </paramlist> | |
269 | </method> | |
270 | <method name="__iadd__" type="Point" overloaded="no"> | |
781d2982 | 271 | <autodoc>__iadd__(self, Point pt) -> Point</autodoc> |
f32fc4bc RD |
272 | <docstring>Add pt to this object.</docstring> |
273 | <paramlist> | |
274 | <param name="pt" type="Point" default=""/> | |
275 | </paramlist> | |
276 | </method> | |
277 | <method name="__isub__" type="Point" overloaded="no"> | |
781d2982 | 278 | <autodoc>__isub__(self, Point pt) -> Point</autodoc> |
f32fc4bc RD |
279 | <docstring>Subtract pt from this object.</docstring> |
280 | <paramlist> | |
281 | <param name="pt" type="Point" default=""/> | |
282 | </paramlist> | |
283 | </method> | |
284 | <method name="Set" type="" overloaded="no"> | |
781d2982 | 285 | <autodoc>Set(self, long x, long y)</autodoc> |
f32fc4bc RD |
286 | <docstring>Set both the x and y properties</docstring> |
287 | <paramlist> | |
288 | <param name="x" type="long" default=""/> | |
289 | <param name="y" type="long" default=""/> | |
290 | </paramlist> | |
291 | </method> | |
292 | <method name="Get" type="PyObject" overloaded="no"> | |
293 | <autodoc>Get() -> (x,y)</autodoc> | |
294 | <docstring>Return the x and y properties as a tuple. </docstring> | |
295 | </method> | |
296 | </class> | |
0dd25e81 | 297 | <pythoncode> |
0f43fbdf RD |
298 | #--------------------------------------------------------------------------- |
299 | </pythoncode> | |
781d2982 RD |
300 | <class name="Rect" oldname="wxRect" module="_core"> |
301 | <docstring>A class for representing and manipulating rectangles. It has x, y, | |
302 | width and height properties. In wxPython most palces that expect a | |
303 | wx.Rect can also accept a (x,y,width,height) tuple.</docstring> | |
f32fc4bc | 304 | <constructor name="Rect" overloaded="no"> |
781d2982 | 305 | <autodoc>__init__(self, int x=0, int y=0, int width=0, int height=0) -> Rect</autodoc> |
f32fc4bc RD |
306 | <docstring>Create a new Rect object.</docstring> |
307 | <paramlist> | |
308 | <param name="x" type="int" default="0"/> | |
309 | <param name="y" type="int" default="0"/> | |
310 | <param name="width" type="int" default="0"/> | |
311 | <param name="height" type="int" default="0"/> | |
312 | </paramlist> | |
313 | </constructor> | |
314 | <constructor name="RectPP" overloaded="no"> | |
315 | <autodoc>RectPP(Point topLeft, Point bottomRight) -> Rect</autodoc> | |
316 | <docstring>Create a new Rect object from Points representing two corners.</docstring> | |
317 | <paramlist> | |
318 | <param name="topLeft" type="Point" default=""/> | |
319 | <param name="bottomRight" type="Point" default=""/> | |
320 | </paramlist> | |
321 | </constructor> | |
322 | <constructor name="RectPS" overloaded="no"> | |
323 | <autodoc>RectPS(Point pos, Size size) -> Rect</autodoc> | |
324 | <docstring>Create a new Rect from a position and size.</docstring> | |
325 | <paramlist> | |
326 | <param name="pos" type="Point" default=""/> | |
327 | <param name="size" type="Size" default=""/> | |
328 | </paramlist> | |
329 | </constructor> | |
330 | <destructor name="~wxRect" overloaded="no"> | |
781d2982 | 331 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
332 | </destructor> |
333 | <method name="GetX" type="int" overloaded="no"> | |
781d2982 | 334 | <autodoc>GetX(self) -> int</autodoc> |
f32fc4bc RD |
335 | </method> |
336 | <method name="SetX" type="" overloaded="no"> | |
781d2982 | 337 | <autodoc>SetX(self, int x)</autodoc> |
f32fc4bc RD |
338 | <paramlist> |
339 | <param name="x" type="int" default=""/> | |
340 | </paramlist> | |
341 | </method> | |
342 | <method name="GetY" type="int" overloaded="no"> | |
781d2982 | 343 | <autodoc>GetY(self) -> int</autodoc> |
f32fc4bc RD |
344 | </method> |
345 | <method name="SetY" type="" overloaded="no"> | |
781d2982 | 346 | <autodoc>SetY(self, int y)</autodoc> |
f32fc4bc RD |
347 | <paramlist> |
348 | <param name="y" type="int" default=""/> | |
349 | </paramlist> | |
350 | </method> | |
351 | <method name="GetWidth" type="int" overloaded="no"> | |
781d2982 | 352 | <autodoc>GetWidth(self) -> int</autodoc> |
f32fc4bc RD |
353 | </method> |
354 | <method name="SetWidth" type="" overloaded="no"> | |
781d2982 | 355 | <autodoc>SetWidth(self, int w)</autodoc> |
f32fc4bc RD |
356 | <paramlist> |
357 | <param name="w" type="int" default=""/> | |
358 | </paramlist> | |
359 | </method> | |
360 | <method name="GetHeight" type="int" overloaded="no"> | |
781d2982 | 361 | <autodoc>GetHeight(self) -> int</autodoc> |
f32fc4bc RD |
362 | </method> |
363 | <method name="SetHeight" type="" overloaded="no"> | |
781d2982 | 364 | <autodoc>SetHeight(self, int h)</autodoc> |
f32fc4bc RD |
365 | <paramlist> |
366 | <param name="h" type="int" default=""/> | |
367 | </paramlist> | |
368 | </method> | |
369 | <method name="GetPosition" type="Point" overloaded="no"> | |
781d2982 | 370 | <autodoc>GetPosition(self) -> Point</autodoc> |
f32fc4bc RD |
371 | </method> |
372 | <method name="SetPosition" type="" overloaded="no"> | |
781d2982 | 373 | <autodoc>SetPosition(self, Point p)</autodoc> |
f32fc4bc RD |
374 | <paramlist> |
375 | <param name="p" type="Point" default=""/> | |
376 | </paramlist> | |
377 | </method> | |
378 | <method name="GetSize" type="Size" overloaded="no"> | |
781d2982 | 379 | <autodoc>GetSize(self) -> Size</autodoc> |
f32fc4bc RD |
380 | </method> |
381 | <method name="SetSize" type="" overloaded="no"> | |
781d2982 | 382 | <autodoc>SetSize(self, Size s)</autodoc> |
f32fc4bc RD |
383 | <paramlist> |
384 | <param name="s" type="Size" default=""/> | |
385 | </paramlist> | |
386 | </method> | |
387 | <method name="GetTopLeft" type="Point" overloaded="no"> | |
781d2982 | 388 | <autodoc>GetTopLeft(self) -> Point</autodoc> |
f32fc4bc RD |
389 | </method> |
390 | <method name="SetTopLeft" type="" overloaded="no"> | |
781d2982 | 391 | <autodoc>SetTopLeft(self, Point p)</autodoc> |
f32fc4bc RD |
392 | <paramlist> |
393 | <param name="p" type="Point" default=""/> | |
394 | </paramlist> | |
395 | </method> | |
396 | <method name="GetBottomRight" type="Point" overloaded="no"> | |
781d2982 | 397 | <autodoc>GetBottomRight(self) -> Point</autodoc> |
f32fc4bc RD |
398 | </method> |
399 | <method name="SetBottomRight" type="" overloaded="no"> | |
781d2982 | 400 | <autodoc>SetBottomRight(self, Point p)</autodoc> |
f32fc4bc RD |
401 | <paramlist> |
402 | <param name="p" type="Point" default=""/> | |
403 | </paramlist> | |
404 | </method> | |
405 | <method name="GetLeft" type="int" overloaded="no"> | |
781d2982 | 406 | <autodoc>GetLeft(self) -> int</autodoc> |
f32fc4bc RD |
407 | </method> |
408 | <method name="GetTop" type="int" overloaded="no"> | |
781d2982 | 409 | <autodoc>GetTop(self) -> int</autodoc> |
f32fc4bc RD |
410 | </method> |
411 | <method name="GetBottom" type="int" overloaded="no"> | |
781d2982 | 412 | <autodoc>GetBottom(self) -> int</autodoc> |
f32fc4bc RD |
413 | </method> |
414 | <method name="GetRight" type="int" overloaded="no"> | |
781d2982 | 415 | <autodoc>GetRight(self) -> int</autodoc> |
f32fc4bc RD |
416 | </method> |
417 | <method name="SetLeft" type="" overloaded="no"> | |
781d2982 | 418 | <autodoc>SetLeft(self, int left)</autodoc> |
f32fc4bc RD |
419 | <paramlist> |
420 | <param name="left" type="int" default=""/> | |
421 | </paramlist> | |
422 | </method> | |
423 | <method name="SetRight" type="" overloaded="no"> | |
781d2982 | 424 | <autodoc>SetRight(self, int right)</autodoc> |
f32fc4bc RD |
425 | <paramlist> |
426 | <param name="right" type="int" default=""/> | |
427 | </paramlist> | |
428 | </method> | |
429 | <method name="SetTop" type="" overloaded="no"> | |
781d2982 | 430 | <autodoc>SetTop(self, int top)</autodoc> |
f32fc4bc RD |
431 | <paramlist> |
432 | <param name="top" type="int" default=""/> | |
433 | </paramlist> | |
434 | </method> | |
435 | <method name="SetBottom" type="" overloaded="no"> | |
781d2982 | 436 | <autodoc>SetBottom(self, int bottom)</autodoc> |
f32fc4bc RD |
437 | <paramlist> |
438 | <param name="bottom" type="int" default=""/> | |
439 | </paramlist> | |
440 | </method> | |
441 | <method name="Inflate" type="Rect" overloaded="no"> | |
781d2982 RD |
442 | <autodoc>Inflate(self, int dx, int dy) -> Rect</autodoc> |
443 | <docstring>Increase the rectangle size by dx in x direction and dy in y | |
444 | direction. Both or one of) parameters may be negative to decrease the | |
445 | rectangle size.</docstring> | |
f32fc4bc RD |
446 | <paramlist> |
447 | <param name="dx" type="int" default=""/> | |
448 | <param name="dy" type="int" default=""/> | |
449 | </paramlist> | |
450 | </method> | |
451 | <method name="Deflate" type="Rect" overloaded="no"> | |
781d2982 RD |
452 | <autodoc>Deflate(self, int dx, int dy) -> Rect</autodoc> |
453 | <docstring>Decrease the rectangle size by dx in x direction and dy in y | |
454 | direction. Both or one of) parameters may be negative to increase the | |
455 | rectngle size. This method is the opposite of Inflate.</docstring> | |
f32fc4bc RD |
456 | <paramlist> |
457 | <param name="dx" type="int" default=""/> | |
458 | <param name="dy" type="int" default=""/> | |
459 | </paramlist> | |
460 | </method> | |
461 | <method name="OffsetXY" type="" overloaded="no"> | |
781d2982 RD |
462 | <autodoc>OffsetXY(self, int dx, int dy)</autodoc> |
463 | <docstring>Moves the rectangle by the specified offset. If dx is positive, the | |
464 | rectangle is moved to the right, if dy is positive, it is moved to the | |
465 | bottom, otherwise it is moved to the left or top respectively.</docstring> | |
f32fc4bc RD |
466 | <paramlist> |
467 | <param name="dx" type="int" default=""/> | |
468 | <param name="dy" type="int" default=""/> | |
469 | </paramlist> | |
470 | </method> | |
471 | <method name="Offset" type="" overloaded="no"> | |
781d2982 | 472 | <autodoc>Offset(self, Point pt)</autodoc> |
f32fc4bc RD |
473 | <docstring>Same as OffsetXY but uses dx,dy from Point</docstring> |
474 | <paramlist> | |
475 | <param name="pt" type="Point" default=""/> | |
476 | </paramlist> | |
477 | </method> | |
478 | <method name="Intersect" type="Rect" overloaded="no"> | |
781d2982 | 479 | <autodoc>Intersect(self, Rect rect) -> Rect</autodoc> |
f32fc4bc RD |
480 | <docstring>Return the intersectsion of this rectangle and rect.</docstring> |
481 | <paramlist> | |
482 | <param name="rect" type="Rect" default=""/> | |
483 | </paramlist> | |
484 | </method> | |
485 | <method name="__add__" type="Rect" overloaded="no"> | |
781d2982 | 486 | <autodoc>__add__(self, Rect rect) -> Rect</autodoc> |
f32fc4bc RD |
487 | <docstring>Add the properties of rect to this rectangle and return the result.</docstring> |
488 | <paramlist> | |
489 | <param name="rect" type="Rect" default=""/> | |
490 | </paramlist> | |
491 | </method> | |
492 | <method name="__iadd__" type="Rect" overloaded="no"> | |
781d2982 | 493 | <autodoc>__iadd__(self, Rect rect) -> Rect</autodoc> |
f32fc4bc RD |
494 | <docstring>Add the properties of rect to this rectangle, updating this rectangle.</docstring> |
495 | <paramlist> | |
496 | <param name="rect" type="Rect" default=""/> | |
497 | </paramlist> | |
498 | </method> | |
499 | <method name="__eq__" type="bool" overloaded="no"> | |
781d2982 | 500 | <autodoc>__eq__(self, Rect rect) -> bool</autodoc> |
f32fc4bc RD |
501 | <docstring>Test for equality.</docstring> |
502 | <paramlist> | |
503 | <param name="rect" type="Rect" default=""/> | |
504 | </paramlist> | |
505 | </method> | |
506 | <method name="__ne__" type="bool" overloaded="no"> | |
781d2982 | 507 | <autodoc>__ne__(self, Rect rect) -> bool</autodoc> |
f32fc4bc RD |
508 | <docstring>Test for inequality.</docstring> |
509 | <paramlist> | |
510 | <param name="rect" type="Rect" default=""/> | |
511 | </paramlist> | |
512 | </method> | |
513 | <method name="InsideXY" type="bool" overloaded="no"> | |
781d2982 | 514 | <autodoc>InsideXY(self, int x, int y) -> bool</autodoc> |
f32fc4bc RD |
515 | <docstring>Return True if the point is (not strcitly) inside the rect.</docstring> |
516 | <paramlist> | |
517 | <param name="x" type="int" default=""/> | |
518 | <param name="y" type="int" default=""/> | |
519 | </paramlist> | |
520 | </method> | |
521 | <method name="Inside" type="bool" overloaded="no"> | |
781d2982 | 522 | <autodoc>Inside(self, Point pt) -> bool</autodoc> |
f32fc4bc RD |
523 | <docstring>Return True if the point is (not strcitly) inside the rect.</docstring> |
524 | <paramlist> | |
525 | <param name="pt" type="Point" default=""/> | |
526 | </paramlist> | |
527 | </method> | |
528 | <method name="Intersects" type="bool" overloaded="no"> | |
781d2982 | 529 | <autodoc>Intersects(self, Rect rect) -> bool</autodoc> |
f32fc4bc RD |
530 | <docstring>Returns True if the rectangles have a non empty intersection.</docstring> |
531 | <paramlist> | |
532 | <param name="rect" type="Rect" default=""/> | |
533 | </paramlist> | |
534 | </method> | |
535 | <property name="x" type="int" readonly="no"/> | |
536 | <property name="y" type="int" readonly="no"/> | |
537 | <property name="width" type="int" readonly="no"/> | |
538 | <property name="height" type="int" readonly="no"/> | |
539 | <method name="Set" type="" overloaded="no"> | |
781d2982 | 540 | <autodoc>Set(self, int x=0, int y=0, int width=0, int height=0)</autodoc> |
f32fc4bc RD |
541 | <docstring>Set all rectangle properties.</docstring> |
542 | <paramlist> | |
543 | <param name="x" type="int" default="0"/> | |
544 | <param name="y" type="int" default="0"/> | |
545 | <param name="width" type="int" default="0"/> | |
546 | <param name="height" type="int" default="0"/> | |
547 | </paramlist> | |
548 | </method> | |
549 | <method name="Get" type="PyObject" overloaded="no"> | |
550 | <autodoc>Get() -> (x,y,width,height)</autodoc> | |
551 | <docstring>Return the rectangle properties as a tuple.</docstring> | |
552 | </method> | |
553 | </class> | |
554 | <method name="IntersectRect" oldname="wxIntersectRect" type="PyObject" overloaded="no"> | |
555 | <autodoc>IntersectRect(Rect r1, Rect r2) -> Rect</autodoc> | |
556 | <docstring>Calculate and return the intersection of r1 and r2.</docstring> | |
557 | <paramlist> | |
558 | <param name="r1" type="Rect" default=""/> | |
559 | <param name="r2" type="Rect" default=""/> | |
856bf319 RD |
560 | </paramlist> |
561 | </method> | |
0dd25e81 | 562 | <pythoncode> |
0f43fbdf RD |
563 | #--------------------------------------------------------------------------- |
564 | </pythoncode> | |
781d2982 RD |
565 | <class name="Point2D" oldname="wxPoint2D" module="_core"> |
566 | <docstring>wx.Point2Ds represent a point or a vector in a 2d coordinate system | |
567 | with floating point values.</docstring> | |
f32fc4bc | 568 | <constructor name="Point2D" overloaded="no"> |
781d2982 | 569 | <autodoc>__init__(self, double x=0.0, double y=0.0) -> Point2D</autodoc> |
f32fc4bc RD |
570 | <docstring>Create a w.Point2D object.</docstring> |
571 | <paramlist> | |
572 | <param name="x" type="double" default="0.0"/> | |
573 | <param name="y" type="double" default="0.0"/> | |
574 | </paramlist> | |
575 | </constructor> | |
576 | <constructor name="Point2DCopy" overloaded="no"> | |
577 | <autodoc>Point2DCopy(Point2D pt) -> Point2D</autodoc> | |
578 | <docstring>Create a w.Point2D object.</docstring> | |
579 | <paramlist> | |
580 | <param name="pt" type="Point2D" default=""/> | |
581 | </paramlist> | |
582 | </constructor> | |
583 | <constructor name="Point2DFromPoint" overloaded="no"> | |
584 | <autodoc>Point2DFromPoint(Point pt) -> Point2D</autodoc> | |
585 | <docstring>Create a w.Point2D object.</docstring> | |
586 | <paramlist> | |
587 | <param name="pt" type="Point" default=""/> | |
588 | </paramlist> | |
589 | </constructor> | |
590 | <method name="GetFloor" type="" overloaded="no"> | |
591 | <autodoc>GetFloor() -> (x,y)</autodoc> | |
ce6878e6 | 592 | <docstring>Convert to integer</docstring> |
f32fc4bc RD |
593 | <paramlist> |
594 | <param name="OUTPUT" type="int" default=""/> | |
595 | <param name="OUTPUT" type="int" default=""/> | |
596 | </paramlist> | |
597 | </method> | |
598 | <method name="GetRounded" type="" overloaded="no"> | |
599 | <autodoc>GetRounded() -> (x,y)</autodoc> | |
ce6878e6 | 600 | <docstring>Convert to integer</docstring> |
f32fc4bc RD |
601 | <paramlist> |
602 | <param name="OUTPUT" type="int" default=""/> | |
603 | <param name="OUTPUT" type="int" default=""/> | |
604 | </paramlist> | |
605 | </method> | |
606 | <method name="GetVectorLength" type="double" overloaded="no"> | |
781d2982 | 607 | <autodoc>GetVectorLength(self) -> double</autodoc> |
f32fc4bc RD |
608 | </method> |
609 | <method name="GetVectorAngle" type="double" overloaded="no"> | |
781d2982 | 610 | <autodoc>GetVectorAngle(self) -> double</autodoc> |
f32fc4bc RD |
611 | </method> |
612 | <method name="SetVectorLength" type="" overloaded="no"> | |
781d2982 | 613 | <autodoc>SetVectorLength(self, double length)</autodoc> |
f32fc4bc RD |
614 | <paramlist> |
615 | <param name="length" type="double" default=""/> | |
616 | </paramlist> | |
617 | </method> | |
618 | <method name="SetVectorAngle" type="" overloaded="no"> | |
781d2982 | 619 | <autodoc>SetVectorAngle(self, double degrees)</autodoc> |
f32fc4bc RD |
620 | <paramlist> |
621 | <param name="degrees" type="double" default=""/> | |
622 | </paramlist> | |
623 | </method> | |
624 | <method name="GetDistance" type="double" overloaded="no"> | |
781d2982 | 625 | <autodoc>GetDistance(self, Point2D pt) -> double</autodoc> |
f32fc4bc RD |
626 | <paramlist> |
627 | <param name="pt" type="Point2D" default=""/> | |
628 | </paramlist> | |
629 | </method> | |
630 | <method name="GetDistanceSquare" type="double" overloaded="no"> | |
781d2982 | 631 | <autodoc>GetDistanceSquare(self, Point2D pt) -> double</autodoc> |
f32fc4bc RD |
632 | <paramlist> |
633 | <param name="pt" type="Point2D" default=""/> | |
634 | </paramlist> | |
635 | </method> | |
636 | <method name="GetDotProduct" type="double" overloaded="no"> | |
781d2982 | 637 | <autodoc>GetDotProduct(self, Point2D vec) -> double</autodoc> |
f32fc4bc RD |
638 | <paramlist> |
639 | <param name="vec" type="Point2D" default=""/> | |
640 | </paramlist> | |
641 | </method> | |
642 | <method name="GetCrossProduct" type="double" overloaded="no"> | |
781d2982 | 643 | <autodoc>GetCrossProduct(self, Point2D vec) -> double</autodoc> |
f32fc4bc RD |
644 | <paramlist> |
645 | <param name="vec" type="Point2D" default=""/> | |
646 | </paramlist> | |
647 | </method> | |
648 | <method name="__neg__" type="Point2D" overloaded="no"> | |
781d2982 | 649 | <autodoc>__neg__(self) -> Point2D</autodoc> |
f32fc4bc RD |
650 | <docstring>the reflection of this point</docstring> |
651 | </method> | |
652 | <method name="__iadd__" type="Point2D" overloaded="no"> | |
781d2982 | 653 | <autodoc>__iadd__(self, Point2D pt) -> Point2D</autodoc> |
f32fc4bc RD |
654 | <paramlist> |
655 | <param name="pt" type="Point2D" default=""/> | |
656 | </paramlist> | |
657 | </method> | |
658 | <method name="__isub__" type="Point2D" overloaded="no"> | |
781d2982 | 659 | <autodoc>__isub__(self, Point2D pt) -> Point2D</autodoc> |
f32fc4bc RD |
660 | <paramlist> |
661 | <param name="pt" type="Point2D" default=""/> | |
662 | </paramlist> | |
663 | </method> | |
664 | <method name="__imul__" type="Point2D" overloaded="no"> | |
781d2982 | 665 | <autodoc>__imul__(self, Point2D pt) -> Point2D</autodoc> |
f32fc4bc RD |
666 | <paramlist> |
667 | <param name="pt" type="Point2D" default=""/> | |
668 | </paramlist> | |
669 | </method> | |
670 | <method name="__idiv__" type="Point2D" overloaded="no"> | |
781d2982 | 671 | <autodoc>__idiv__(self, Point2D pt) -> Point2D</autodoc> |
f32fc4bc RD |
672 | <paramlist> |
673 | <param name="pt" type="Point2D" default=""/> | |
674 | </paramlist> | |
675 | </method> | |
676 | <method name="__eq__" type="bool" overloaded="no"> | |
781d2982 | 677 | <autodoc>__eq__(self, Point2D pt) -> bool</autodoc> |
f32fc4bc RD |
678 | <docstring>Test for equality</docstring> |
679 | <paramlist> | |
680 | <param name="pt" type="Point2D" default=""/> | |
681 | </paramlist> | |
682 | </method> | |
683 | <method name="__ne__" type="bool" overloaded="no"> | |
781d2982 | 684 | <autodoc>__ne__(self, Point2D pt) -> bool</autodoc> |
f32fc4bc RD |
685 | <docstring>Test for inequality</docstring> |
686 | <paramlist> | |
687 | <param name="pt" type="Point2D" default=""/> | |
688 | </paramlist> | |
689 | </method> | |
690 | <property name="x" type="double" readonly="no"/> | |
691 | <property name="y" type="double" readonly="no"/> | |
692 | <method name="Set" type="" overloaded="no"> | |
781d2982 | 693 | <autodoc>Set(self, double x=0, double y=0)</autodoc> |
f32fc4bc RD |
694 | <paramlist> |
695 | <param name="x" type="double" default="0"/> | |
696 | <param name="y" type="double" default="0"/> | |
697 | </paramlist> | |
698 | </method> | |
699 | <method name="Get" type="PyObject" overloaded="no"> | |
700 | <autodoc>Get() -> (x,y)</autodoc> | |
701 | <docstring>Return x and y properties as a tuple.</docstring> | |
702 | </method> | |
703 | </class> | |
0dd25e81 | 704 | <pythoncode> |
f32fc4bc RD |
705 | #--------------------------------------------------------------------------- |
706 | </pythoncode> | |
781d2982 | 707 | <class name="InputStream" oldname="wxPyInputStream" module="_core"> |
f32fc4bc | 708 | <constructor name="wxPyInputStream" overloaded="no"> |
781d2982 | 709 | <autodoc>__init__(self, PyObject p) -> InputStream</autodoc> |
f32fc4bc RD |
710 | <paramlist> |
711 | <param name="p" type="PyObject" default=""/> | |
712 | </paramlist> | |
713 | </constructor> | |
714 | <method name="close" type="" overloaded="no"> | |
781d2982 | 715 | <autodoc>close(self)</autodoc> |
f32fc4bc RD |
716 | </method> |
717 | <method name="flush" type="" overloaded="no"> | |
781d2982 | 718 | <autodoc>flush(self)</autodoc> |
f32fc4bc RD |
719 | </method> |
720 | <method name="eof" type="bool" overloaded="no"> | |
781d2982 | 721 | <autodoc>eof(self) -> bool</autodoc> |
f32fc4bc RD |
722 | </method> |
723 | <method name="read" type="PyObject" overloaded="no"> | |
781d2982 | 724 | <autodoc>read(self, int size=-1) -> PyObject</autodoc> |
f32fc4bc RD |
725 | <paramlist> |
726 | <param name="size" type="int" default="-1"/> | |
727 | </paramlist> | |
728 | </method> | |
729 | <method name="readline" type="PyObject" overloaded="no"> | |
781d2982 | 730 | <autodoc>readline(self, int size=-1) -> PyObject</autodoc> |
f32fc4bc RD |
731 | <paramlist> |
732 | <param name="size" type="int" default="-1"/> | |
733 | </paramlist> | |
734 | </method> | |
735 | <method name="readlines" type="PyObject" overloaded="no"> | |
781d2982 | 736 | <autodoc>readlines(self, int sizehint=-1) -> PyObject</autodoc> |
f32fc4bc RD |
737 | <paramlist> |
738 | <param name="sizehint" type="int" default="-1"/> | |
739 | </paramlist> | |
740 | </method> | |
741 | <method name="seek" type="" overloaded="no"> | |
781d2982 | 742 | <autodoc>seek(self, int offset, int whence=0)</autodoc> |
f32fc4bc RD |
743 | <paramlist> |
744 | <param name="offset" type="int" default=""/> | |
745 | <param name="whence" type="int" default="0"/> | |
746 | </paramlist> | |
747 | </method> | |
748 | <method name="tell" type="int" overloaded="no"> | |
781d2982 | 749 | <autodoc>tell(self) -> int</autodoc> |
f32fc4bc RD |
750 | </method> |
751 | <method name="Peek" type="char" overloaded="no"> | |
781d2982 | 752 | <autodoc>Peek(self) -> char</autodoc> |
f32fc4bc RD |
753 | </method> |
754 | <method name="GetC" type="char" overloaded="no"> | |
781d2982 | 755 | <autodoc>GetC(self) -> char</autodoc> |
f32fc4bc RD |
756 | </method> |
757 | <method name="LastRead" type="size_t" overloaded="no"> | |
781d2982 | 758 | <autodoc>LastRead(self) -> size_t</autodoc> |
f32fc4bc RD |
759 | </method> |
760 | <method name="CanRead" type="bool" overloaded="no"> | |
781d2982 | 761 | <autodoc>CanRead(self) -> bool</autodoc> |
f32fc4bc RD |
762 | </method> |
763 | <method name="Eof" type="bool" overloaded="no"> | |
781d2982 | 764 | <autodoc>Eof(self) -> bool</autodoc> |
f32fc4bc RD |
765 | </method> |
766 | <method name="Ungetch" type="bool" overloaded="no"> | |
781d2982 | 767 | <autodoc>Ungetch(self, char c) -> bool</autodoc> |
f32fc4bc RD |
768 | <paramlist> |
769 | <param name="c" type="char" default=""/> | |
770 | </paramlist> | |
771 | </method> | |
772 | <method name="SeekI" type="long" overloaded="no"> | |
781d2982 | 773 | <autodoc>SeekI(self, long pos, int mode=FromStart) -> long</autodoc> |
f32fc4bc RD |
774 | <paramlist> |
775 | <param name="pos" type="long" default=""/> | |
776 | <param name="mode" type="wxSeekMode" default="wxFromStart"/> | |
777 | </paramlist> | |
778 | </method> | |
779 | <method name="TellI" type="long" overloaded="no"> | |
781d2982 | 780 | <autodoc>TellI(self) -> long</autodoc> |
f32fc4bc RD |
781 | </method> |
782 | </class> | |
781d2982 | 783 | <class name="OutputStream" oldname="wxOutputStream" module="_core"> |
f32fc4bc | 784 | <method name="write" type="" overloaded="no"> |
781d2982 | 785 | <autodoc>write(self, PyObject obj)</autodoc> |
f32fc4bc RD |
786 | <paramlist> |
787 | <param name="obj" type="PyObject" default=""/> | |
788 | </paramlist> | |
789 | </method> | |
790 | </class> | |
0dd25e81 | 791 | <pythoncode> |
0f43fbdf RD |
792 | #--------------------------------------------------------------------------- |
793 | </pythoncode> | |
781d2982 | 794 | <class name="FSFile" oldname="wxFSFile" module="_core"> |
f32fc4bc RD |
795 | <baseclass name="Object"/> |
796 | <constructor name="FSFile" overloaded="no"> | |
781d2982 | 797 | <autodoc>__init__(self, InputStream stream, String loc, String mimetype, String anchor, |
f32fc4bc RD |
798 | DateTime modif) -> FSFile</autodoc> |
799 | <paramlist> | |
800 | <param name="stream" type="wxInputStream" default=""/> | |
801 | <param name="loc" type="String" default=""/> | |
802 | <param name="mimetype" type="String" default=""/> | |
803 | <param name="anchor" type="String" default=""/> | |
804 | <param name="modif" type="wxDateTime" default=""/> | |
805 | </paramlist> | |
806 | </constructor> | |
807 | <destructor name="~wxFSFile" overloaded="no"> | |
781d2982 | 808 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
809 | </destructor> |
810 | <method name="GetStream" type="wxInputStream" overloaded="no"> | |
781d2982 | 811 | <autodoc>GetStream(self) -> InputStream</autodoc> |
f32fc4bc RD |
812 | </method> |
813 | <method name="GetMimeType" type="String" overloaded="no"> | |
781d2982 | 814 | <autodoc>GetMimeType(self) -> String</autodoc> |
f32fc4bc RD |
815 | </method> |
816 | <method name="GetLocation" type="String" overloaded="no"> | |
781d2982 | 817 | <autodoc>GetLocation(self) -> String</autodoc> |
f32fc4bc RD |
818 | </method> |
819 | <method name="GetAnchor" type="String" overloaded="no"> | |
781d2982 | 820 | <autodoc>GetAnchor(self) -> String</autodoc> |
f32fc4bc RD |
821 | </method> |
822 | <method name="GetModificationTime" type="wxDateTime" overloaded="no"> | |
781d2982 | 823 | <autodoc>GetModificationTime(self) -> DateTime</autodoc> |
f32fc4bc RD |
824 | </method> |
825 | </class> | |
781d2982 RD |
826 | <class name="CPPFileSystemHandler" oldname="wxFileSystemHandler" module="_core"/> |
827 | <class name="FileSystemHandler" oldname="wxPyFileSystemHandler" module="_core"> | |
f32fc4bc RD |
828 | <baseclass name="CPPFileSystemHandler"/> |
829 | <constructor name="wxPyFileSystemHandler" overloaded="no"> | |
781d2982 | 830 | <autodoc>__init__(self) -> FileSystemHandler</autodoc> |
f32fc4bc RD |
831 | </constructor> |
832 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 833 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
834 | <paramlist> |
835 | <param name="self" type="PyObject" default=""/> | |
836 | <param name="_class" type="PyObject" default=""/> | |
837 | </paramlist> | |
838 | </method> | |
839 | <method name="CanOpen" type="bool" overloaded="no"> | |
781d2982 | 840 | <autodoc>CanOpen(self, String location) -> bool</autodoc> |
f32fc4bc RD |
841 | <paramlist> |
842 | <param name="location" type="String" default=""/> | |
843 | </paramlist> | |
844 | </method> | |
845 | <method name="OpenFile" type="FSFile" overloaded="no"> | |
781d2982 | 846 | <autodoc>OpenFile(self, FileSystem fs, String location) -> FSFile</autodoc> |
f32fc4bc RD |
847 | <paramlist> |
848 | <param name="fs" type="wxFileSystem" default=""/> | |
849 | <param name="location" type="String" default=""/> | |
850 | </paramlist> | |
851 | </method> | |
852 | <method name="FindFirst" type="String" overloaded="no"> | |
781d2982 | 853 | <autodoc>FindFirst(self, String spec, int flags=0) -> String</autodoc> |
f32fc4bc RD |
854 | <paramlist> |
855 | <param name="spec" type="String" default=""/> | |
856 | <param name="flags" type="int" default="0"/> | |
857 | </paramlist> | |
858 | </method> | |
859 | <method name="FindNext" type="String" overloaded="no"> | |
781d2982 | 860 | <autodoc>FindNext(self) -> String</autodoc> |
f32fc4bc RD |
861 | </method> |
862 | <method name="GetProtocol" type="String" overloaded="no"> | |
781d2982 | 863 | <autodoc>GetProtocol(self, String location) -> String</autodoc> |
f32fc4bc RD |
864 | <paramlist> |
865 | <param name="location" type="String" default=""/> | |
866 | </paramlist> | |
867 | </method> | |
868 | <method name="GetLeftLocation" type="String" overloaded="no"> | |
781d2982 | 869 | <autodoc>GetLeftLocation(self, String location) -> String</autodoc> |
f32fc4bc RD |
870 | <paramlist> |
871 | <param name="location" type="String" default=""/> | |
872 | </paramlist> | |
873 | </method> | |
874 | <method name="GetAnchor" type="String" overloaded="no"> | |
781d2982 | 875 | <autodoc>GetAnchor(self, String location) -> String</autodoc> |
f32fc4bc RD |
876 | <paramlist> |
877 | <param name="location" type="String" default=""/> | |
878 | </paramlist> | |
879 | </method> | |
880 | <method name="GetRightLocation" type="String" overloaded="no"> | |
781d2982 | 881 | <autodoc>GetRightLocation(self, String location) -> String</autodoc> |
f32fc4bc RD |
882 | <paramlist> |
883 | <param name="location" type="String" default=""/> | |
884 | </paramlist> | |
885 | </method> | |
886 | <method name="GetMimeTypeFromExt" type="String" overloaded="no"> | |
781d2982 | 887 | <autodoc>GetMimeTypeFromExt(self, String location) -> String</autodoc> |
f32fc4bc RD |
888 | <paramlist> |
889 | <param name="location" type="String" default=""/> | |
890 | </paramlist> | |
891 | </method> | |
892 | </class> | |
781d2982 | 893 | <class name="FileSystem" oldname="wxFileSystem" module="_core"> |
f32fc4bc RD |
894 | <baseclass name="Object"/> |
895 | <constructor name="FileSystem" overloaded="no"> | |
781d2982 | 896 | <autodoc>__init__(self) -> FileSystem</autodoc> |
f32fc4bc RD |
897 | </constructor> |
898 | <destructor name="~wxFileSystem" overloaded="no"> | |
781d2982 | 899 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
900 | </destructor> |
901 | <method name="ChangePathTo" type="" overloaded="no"> | |
781d2982 | 902 | <autodoc>ChangePathTo(self, String location, bool is_dir=False)</autodoc> |
f32fc4bc RD |
903 | <paramlist> |
904 | <param name="location" type="String" default=""/> | |
905 | <param name="is_dir" type="bool" default="False"/> | |
906 | </paramlist> | |
907 | </method> | |
908 | <method name="GetPath" type="String" overloaded="no"> | |
781d2982 | 909 | <autodoc>GetPath(self) -> String</autodoc> |
f32fc4bc RD |
910 | </method> |
911 | <method name="OpenFile" type="FSFile" overloaded="no"> | |
781d2982 | 912 | <autodoc>OpenFile(self, String location) -> FSFile</autodoc> |
f32fc4bc RD |
913 | <paramlist> |
914 | <param name="location" type="String" default=""/> | |
915 | </paramlist> | |
916 | </method> | |
917 | <method name="FindFirst" type="String" overloaded="no"> | |
781d2982 | 918 | <autodoc>FindFirst(self, String spec, int flags=0) -> String</autodoc> |
f32fc4bc RD |
919 | <paramlist> |
920 | <param name="spec" type="String" default=""/> | |
921 | <param name="flags" type="int" default="0"/> | |
922 | </paramlist> | |
923 | </method> | |
924 | <method name="FindNext" type="String" overloaded="no"> | |
781d2982 | 925 | <autodoc>FindNext(self) -> String</autodoc> |
f32fc4bc RD |
926 | </method> |
927 | <staticmethod name="AddHandler" type="" overloaded="no"> | |
928 | <autodoc>AddHandler(CPPFileSystemHandler handler)</autodoc> | |
929 | <paramlist> | |
930 | <param name="handler" type="CPPFileSystemHandler" default=""/> | |
931 | </paramlist> | |
932 | </staticmethod> | |
933 | <staticmethod name="CleanUpHandlers" type="" overloaded="no"> | |
934 | <autodoc>CleanUpHandlers()</autodoc> | |
935 | </staticmethod> | |
936 | <staticmethod name="FileNameToURL" type="String" overloaded="no"> | |
937 | <autodoc>FileNameToURL(String filename) -> String</autodoc> | |
938 | <paramlist> | |
939 | <param name="filename" type="String" default=""/> | |
940 | </paramlist> | |
941 | </staticmethod> | |
942 | </class> | |
943 | <method name="FileSystem_URLToFileName" oldname="wxFileSystem_URLToFileName" type="String" overloaded="no"> | |
944 | <autodoc>FileSystem_URLToFileName(String url) -> String</autodoc> | |
945 | <paramlist> | |
946 | <param name="url" type="String" default=""/> | |
947 | </paramlist> | |
948 | </method> | |
781d2982 | 949 | <class name="InternetFSHandler" oldname="wxInternetFSHandler" module="_core"> |
f32fc4bc RD |
950 | <baseclass name="CPPFileSystemHandler"/> |
951 | <constructor name="InternetFSHandler" overloaded="no"> | |
781d2982 | 952 | <autodoc>__init__(self) -> InternetFSHandler</autodoc> |
f32fc4bc RD |
953 | </constructor> |
954 | <method name="CanOpen" type="bool" overloaded="no"> | |
781d2982 | 955 | <autodoc>CanOpen(self, String location) -> bool</autodoc> |
f32fc4bc RD |
956 | <paramlist> |
957 | <param name="location" type="String" default=""/> | |
958 | </paramlist> | |
959 | </method> | |
960 | <method name="OpenFile" type="FSFile" overloaded="no"> | |
781d2982 | 961 | <autodoc>OpenFile(self, FileSystem fs, String location) -> FSFile</autodoc> |
f32fc4bc RD |
962 | <paramlist> |
963 | <param name="fs" type="FileSystem" default=""/> | |
964 | <param name="location" type="String" default=""/> | |
965 | </paramlist> | |
966 | </method> | |
967 | </class> | |
781d2982 | 968 | <class name="ZipFSHandler" oldname="wxZipFSHandler" module="_core"> |
f32fc4bc RD |
969 | <baseclass name="CPPFileSystemHandler"/> |
970 | <constructor name="ZipFSHandler" overloaded="no"> | |
781d2982 | 971 | <autodoc>__init__(self) -> ZipFSHandler</autodoc> |
f32fc4bc RD |
972 | </constructor> |
973 | <method name="CanOpen" type="bool" overloaded="no"> | |
781d2982 | 974 | <autodoc>CanOpen(self, String location) -> bool</autodoc> |
f32fc4bc RD |
975 | <paramlist> |
976 | <param name="location" type="String" default=""/> | |
977 | </paramlist> | |
978 | </method> | |
979 | <method name="OpenFile" type="FSFile" overloaded="no"> | |
781d2982 | 980 | <autodoc>OpenFile(self, FileSystem fs, String location) -> FSFile</autodoc> |
f32fc4bc RD |
981 | <paramlist> |
982 | <param name="fs" type="FileSystem" default=""/> | |
983 | <param name="location" type="String" default=""/> | |
984 | </paramlist> | |
985 | </method> | |
986 | <method name="FindFirst" type="String" overloaded="no"> | |
781d2982 | 987 | <autodoc>FindFirst(self, String spec, int flags=0) -> String</autodoc> |
f32fc4bc RD |
988 | <paramlist> |
989 | <param name="spec" type="String" default=""/> | |
990 | <param name="flags" type="int" default="0"/> | |
991 | </paramlist> | |
992 | </method> | |
993 | <method name="FindNext" type="String" overloaded="no"> | |
781d2982 | 994 | <autodoc>FindNext(self) -> String</autodoc> |
f32fc4bc RD |
995 | </method> |
996 | </class> | |
997 | <method name="__wxMemoryFSHandler_AddFile_wxImage" oldname="__wxMemoryFSHandler_AddFile_wxImage" type="" overloaded="no"> | |
998 | <autodoc>__wxMemoryFSHandler_AddFile_wxImage(String filename, Image image, long type)</autodoc> | |
999 | <paramlist> | |
1000 | <param name="filename" type="String" default=""/> | |
1001 | <param name="image" type="wxImage" default=""/> | |
1002 | <param name="type" type="long" default=""/> | |
856bf319 RD |
1003 | </paramlist> |
1004 | </method> | |
f32fc4bc RD |
1005 | <method name="__wxMemoryFSHandler_AddFile_wxBitmap" oldname="__wxMemoryFSHandler_AddFile_wxBitmap" type="" overloaded="no"> |
1006 | <autodoc>__wxMemoryFSHandler_AddFile_wxBitmap(String filename, Bitmap bitmap, long type)</autodoc> | |
856bf319 | 1007 | <paramlist> |
f32fc4bc RD |
1008 | <param name="filename" type="String" default=""/> |
1009 | <param name="bitmap" type="wxBitmap" default=""/> | |
1010 | <param name="type" type="long" default=""/> | |
856bf319 RD |
1011 | </paramlist> |
1012 | </method> | |
f32fc4bc RD |
1013 | <method name="__wxMemoryFSHandler_AddFile_Data" oldname="__wxMemoryFSHandler_AddFile_Data" type="" overloaded="no"> |
1014 | <autodoc>__wxMemoryFSHandler_AddFile_Data(String filename, PyObject data)</autodoc> | |
856bf319 | 1015 | <paramlist> |
f32fc4bc RD |
1016 | <param name="filename" type="String" default=""/> |
1017 | <param name="data" type="PyObject" default=""/> | |
856bf319 RD |
1018 | </paramlist> |
1019 | </method> | |
f32fc4bc | 1020 | <pythoncode> |
856bf319 RD |
1021 | def MemoryFSHandler_AddFile(filename, a, b=''): |
1022 | if isinstance(a, wx.Image): | |
1023 | __wxMemoryFSHandler_AddFile_wxImage(filename, a, b) | |
1024 | elif isinstance(a, wx.Bitmap): | |
1025 | __wxMemoryFSHandler_AddFile_wxBitmap(filename, a, b) | |
1026 | elif type(a) == str: | |
1027 | __wxMemoryFSHandler_AddFile_Data(filename, a) | |
1028 | else: raise TypeError, 'wx.Image, wx.Bitmap or string expected' | |
1029 | </pythoncode> | |
781d2982 | 1030 | <class name="MemoryFSHandler" oldname="wxMemoryFSHandler" module="_core"> |
f32fc4bc RD |
1031 | <baseclass name="CPPFileSystemHandler"/> |
1032 | <constructor name="MemoryFSHandler" overloaded="no"> | |
781d2982 | 1033 | <autodoc>__init__(self) -> MemoryFSHandler</autodoc> |
f32fc4bc RD |
1034 | </constructor> |
1035 | <staticmethod name="RemoveFile" type="" overloaded="no"> | |
1036 | <autodoc>RemoveFile(String filename)</autodoc> | |
1037 | <paramlist> | |
1038 | <param name="filename" type="String" default=""/> | |
1039 | </paramlist> | |
1040 | </staticmethod> | |
1041 | <method name="CanOpen" type="bool" overloaded="no"> | |
781d2982 | 1042 | <autodoc>CanOpen(self, String location) -> bool</autodoc> |
f32fc4bc RD |
1043 | <paramlist> |
1044 | <param name="location" type="String" default=""/> | |
1045 | </paramlist> | |
1046 | </method> | |
1047 | <method name="OpenFile" type="FSFile" overloaded="no"> | |
781d2982 | 1048 | <autodoc>OpenFile(self, FileSystem fs, String location) -> FSFile</autodoc> |
f32fc4bc RD |
1049 | <paramlist> |
1050 | <param name="fs" type="FileSystem" default=""/> | |
1051 | <param name="location" type="String" default=""/> | |
1052 | </paramlist> | |
1053 | </method> | |
1054 | <method name="FindFirst" type="String" overloaded="no"> | |
781d2982 | 1055 | <autodoc>FindFirst(self, String spec, int flags=0) -> String</autodoc> |
f32fc4bc RD |
1056 | <paramlist> |
1057 | <param name="spec" type="String" default=""/> | |
1058 | <param name="flags" type="int" default="0"/> | |
1059 | </paramlist> | |
1060 | </method> | |
1061 | <method name="FindNext" type="String" overloaded="no"> | |
781d2982 | 1062 | <autodoc>FindNext(self) -> String</autodoc> |
f32fc4bc RD |
1063 | </method> |
1064 | </class> | |
1065 | <pythoncode> | |
0f43fbdf RD |
1066 | #--------------------------------------------------------------------------- |
1067 | </pythoncode> | |
781d2982 | 1068 | <class name="ImageHandler" oldname="wxImageHandler" module="_core"> |
f32fc4bc RD |
1069 | <baseclass name="Object"/> |
1070 | <method name="GetName" type="String" overloaded="no"> | |
781d2982 | 1071 | <autodoc>GetName(self) -> String</autodoc> |
f32fc4bc RD |
1072 | </method> |
1073 | <method name="GetExtension" type="String" overloaded="no"> | |
781d2982 | 1074 | <autodoc>GetExtension(self) -> String</autodoc> |
f32fc4bc RD |
1075 | </method> |
1076 | <method name="GetType" type="long" overloaded="no"> | |
781d2982 | 1077 | <autodoc>GetType(self) -> long</autodoc> |
f32fc4bc RD |
1078 | </method> |
1079 | <method name="GetMimeType" type="String" overloaded="no"> | |
781d2982 | 1080 | <autodoc>GetMimeType(self) -> String</autodoc> |
f32fc4bc RD |
1081 | </method> |
1082 | <method name="CanRead" type="bool" overloaded="no"> | |
781d2982 | 1083 | <autodoc>CanRead(self, String name) -> bool</autodoc> |
f32fc4bc RD |
1084 | <paramlist> |
1085 | <param name="name" type="String" default=""/> | |
1086 | </paramlist> | |
1087 | </method> | |
1088 | <method name="SetName" type="" overloaded="no"> | |
781d2982 | 1089 | <autodoc>SetName(self, String name)</autodoc> |
f32fc4bc RD |
1090 | <paramlist> |
1091 | <param name="name" type="String" default=""/> | |
1092 | </paramlist> | |
1093 | </method> | |
1094 | <method name="SetExtension" type="" overloaded="no"> | |
781d2982 | 1095 | <autodoc>SetExtension(self, String extension)</autodoc> |
f32fc4bc RD |
1096 | <paramlist> |
1097 | <param name="extension" type="String" default=""/> | |
1098 | </paramlist> | |
1099 | </method> | |
1100 | <method name="SetType" type="" overloaded="no"> | |
781d2982 | 1101 | <autodoc>SetType(self, long type)</autodoc> |
f32fc4bc RD |
1102 | <paramlist> |
1103 | <param name="type" type="long" default=""/> | |
1104 | </paramlist> | |
1105 | </method> | |
1106 | <method name="SetMimeType" type="" overloaded="no"> | |
781d2982 | 1107 | <autodoc>SetMimeType(self, String mimetype)</autodoc> |
f32fc4bc RD |
1108 | <paramlist> |
1109 | <param name="mimetype" type="String" default=""/> | |
1110 | </paramlist> | |
1111 | </method> | |
1112 | </class> | |
781d2982 | 1113 | <class name="ImageHistogram" oldname="wxImageHistogram" module="_core"> |
f32fc4bc | 1114 | <constructor name="ImageHistogram" overloaded="no"> |
781d2982 | 1115 | <autodoc>__init__(self) -> ImageHistogram</autodoc> |
f32fc4bc RD |
1116 | </constructor> |
1117 | <staticmethod name="MakeKey" type="unsigned long" overloaded="no"> | |
1118 | <autodoc>MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long</autodoc> | |
1119 | <docstring>Get the key in the histogram for the given RGB values</docstring> | |
1120 | <paramlist> | |
1121 | <param name="r" type="unsigned char" default=""/> | |
1122 | <param name="g" type="unsigned char" default=""/> | |
1123 | <param name="b" type="unsigned char" default=""/> | |
1124 | </paramlist> | |
1125 | </staticmethod> | |
1126 | <method name="FindFirstUnusedColour" type="bool" overloaded="no"> | |
1127 | <autodoc>FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b)</autodoc> | |
ce6878e6 RD |
1128 | <docstring>Find first colour that is not used in the image and has higher RGB |
1129 | values than startR, startG, startB. Returns a tuple consisting of a | |
1130 | success flag and rgb values.</docstring> | |
f32fc4bc RD |
1131 | <paramlist> |
1132 | <param name="OUTPUT" type="unsigned char" default=""/> | |
1133 | <param name="OUTPUT" type="unsigned char" default=""/> | |
1134 | <param name="OUTPUT" type="unsigned char" default=""/> | |
1135 | <param name="startR" type="unsigned char" default="1"/> | |
1136 | <param name="startG" type="unsigned char" default="0"/> | |
1137 | <param name="startB" type="unsigned char" default="0"/> | |
1138 | </paramlist> | |
1139 | </method> | |
1140 | </class> | |
781d2982 | 1141 | <class name="Image" oldname="wxImage" module="_core"> |
f32fc4bc RD |
1142 | <baseclass name="Object"/> |
1143 | <constructor name="Image" overloaded="no"> | |
781d2982 | 1144 | <autodoc>__init__(self, String name, long type=BITMAP_TYPE_ANY, int index=-1) -> Image</autodoc> |
f32fc4bc RD |
1145 | <paramlist> |
1146 | <param name="name" type="String" default=""/> | |
1147 | <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/> | |
1148 | <param name="index" type="int" default="-1"/> | |
1149 | </paramlist> | |
1150 | </constructor> | |
1151 | <constructor name="ImageFromMime" overloaded="no"> | |
1152 | <autodoc>ImageFromMime(String name, String mimetype, int index=-1) -> Image</autodoc> | |
1153 | <paramlist> | |
1154 | <param name="name" type="String" default=""/> | |
1155 | <param name="mimetype" type="String" default=""/> | |
1156 | <param name="index" type="int" default="-1"/> | |
1157 | </paramlist> | |
1158 | </constructor> | |
1159 | <constructor name="ImageFromStream" overloaded="no"> | |
1160 | <autodoc>ImageFromStream(InputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -> Image</autodoc> | |
1161 | <paramlist> | |
1162 | <param name="stream" type="wxInputStream" default=""/> | |
1163 | <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/> | |
1164 | <param name="index" type="int" default="-1"/> | |
1165 | </paramlist> | |
1166 | </constructor> | |
1167 | <constructor name="ImageFromStreamMime" overloaded="no"> | |
1168 | <autodoc>ImageFromStreamMime(InputStream stream, String mimetype, int index=-1) -> Image</autodoc> | |
1169 | <paramlist> | |
1170 | <param name="stream" type="wxInputStream" default=""/> | |
1171 | <param name="mimetype" type="String" default=""/> | |
1172 | <param name="index" type="int" default="-1"/> | |
1173 | </paramlist> | |
1174 | </constructor> | |
1175 | <constructor name="EmptyImage" overloaded="no"> | |
1176 | <autodoc>EmptyImage(int width=0, int height=0, bool clear=True) -> Image</autodoc> | |
1177 | <paramlist> | |
1178 | <param name="width" type="int" default="0"/> | |
1179 | <param name="height" type="int" default="0"/> | |
1180 | <param name="clear" type="bool" default="True"/> | |
1181 | </paramlist> | |
1182 | </constructor> | |
1183 | <constructor name="ImageFromBitmap" overloaded="no"> | |
1184 | <autodoc>ImageFromBitmap(Bitmap bitmap) -> Image</autodoc> | |
1185 | <paramlist> | |
1186 | <param name="bitmap" type="wxBitmap" default=""/> | |
1187 | </paramlist> | |
1188 | </constructor> | |
1189 | <constructor name="ImageFromData" overloaded="no"> | |
1190 | <autodoc>ImageFromData(int width, int height, unsigned char data) -> Image</autodoc> | |
1191 | <paramlist> | |
1192 | <param name="width" type="int" default=""/> | |
1193 | <param name="height" type="int" default=""/> | |
1194 | <param name="data" type="unsigned char" default=""/> | |
1195 | </paramlist> | |
1196 | </constructor> | |
1197 | <destructor name="~wxImage" overloaded="no"> | |
781d2982 | 1198 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
1199 | </destructor> |
1200 | <method name="Create" type="" overloaded="no"> | |
781d2982 | 1201 | <autodoc>Create(self, int width, int height)</autodoc> |
f32fc4bc RD |
1202 | <paramlist> |
1203 | <param name="width" type="int" default=""/> | |
1204 | <param name="height" type="int" default=""/> | |
1205 | </paramlist> | |
1206 | </method> | |
1207 | <method name="Destroy" type="" overloaded="no"> | |
781d2982 | 1208 | <autodoc>Destroy(self)</autodoc> |
f32fc4bc RD |
1209 | <docstring>Deletes the C++ object this Python object is a proxy for.</docstring> |
1210 | </method> | |
1211 | <method name="Scale" type="Image" overloaded="no"> | |
781d2982 | 1212 | <autodoc>Scale(self, int width, int height) -> Image</autodoc> |
f32fc4bc RD |
1213 | <paramlist> |
1214 | <param name="width" type="int" default=""/> | |
1215 | <param name="height" type="int" default=""/> | |
1216 | </paramlist> | |
1217 | </method> | |
1218 | <method name="ShrinkBy" type="Image" overloaded="no"> | |
781d2982 | 1219 | <autodoc>ShrinkBy(self, int xFactor, int yFactor) -> Image</autodoc> |
f32fc4bc RD |
1220 | <paramlist> |
1221 | <param name="xFactor" type="int" default=""/> | |
1222 | <param name="yFactor" type="int" default=""/> | |
1223 | </paramlist> | |
1224 | </method> | |
1225 | <method name="Rescale" type="Image" overloaded="no"> | |
781d2982 | 1226 | <autodoc>Rescale(self, int width, int height) -> Image</autodoc> |
f32fc4bc RD |
1227 | <paramlist> |
1228 | <param name="width" type="int" default=""/> | |
1229 | <param name="height" type="int" default=""/> | |
1230 | </paramlist> | |
1231 | </method> | |
1232 | <method name="SetRGB" type="" overloaded="no"> | |
781d2982 | 1233 | <autodoc>SetRGB(self, int x, int y, unsigned char r, unsigned char g, unsigned char b)</autodoc> |
f32fc4bc RD |
1234 | <paramlist> |
1235 | <param name="x" type="int" default=""/> | |
1236 | <param name="y" type="int" default=""/> | |
1237 | <param name="r" type="unsigned char" default=""/> | |
1238 | <param name="g" type="unsigned char" default=""/> | |
1239 | <param name="b" type="unsigned char" default=""/> | |
1240 | </paramlist> | |
1241 | </method> | |
1242 | <method name="GetRed" type="unsigned char" overloaded="no"> | |
781d2982 | 1243 | <autodoc>GetRed(self, int x, int y) -> unsigned char</autodoc> |
f32fc4bc RD |
1244 | <paramlist> |
1245 | <param name="x" type="int" default=""/> | |
1246 | <param name="y" type="int" default=""/> | |
1247 | </paramlist> | |
1248 | </method> | |
1249 | <method name="GetGreen" type="unsigned char" overloaded="no"> | |
781d2982 | 1250 | <autodoc>GetGreen(self, int x, int y) -> unsigned char</autodoc> |
f32fc4bc RD |
1251 | <paramlist> |
1252 | <param name="x" type="int" default=""/> | |
1253 | <param name="y" type="int" default=""/> | |
1254 | </paramlist> | |
1255 | </method> | |
1256 | <method name="GetBlue" type="unsigned char" overloaded="no"> | |
781d2982 | 1257 | <autodoc>GetBlue(self, int x, int y) -> unsigned char</autodoc> |
f32fc4bc RD |
1258 | <paramlist> |
1259 | <param name="x" type="int" default=""/> | |
1260 | <param name="y" type="int" default=""/> | |
1261 | </paramlist> | |
1262 | </method> | |
1263 | <method name="SetAlpha" type="" overloaded="no"> | |
781d2982 | 1264 | <autodoc>SetAlpha(self, int x, int y, unsigned char alpha)</autodoc> |
f32fc4bc RD |
1265 | <paramlist> |
1266 | <param name="x" type="int" default=""/> | |
1267 | <param name="y" type="int" default=""/> | |
1268 | <param name="alpha" type="unsigned char" default=""/> | |
1269 | </paramlist> | |
1270 | </method> | |
1271 | <method name="GetAlpha" type="unsigned char" overloaded="no"> | |
781d2982 | 1272 | <autodoc>GetAlpha(self, int x, int y) -> unsigned char</autodoc> |
f32fc4bc RD |
1273 | <paramlist> |
1274 | <param name="x" type="int" default=""/> | |
1275 | <param name="y" type="int" default=""/> | |
1276 | </paramlist> | |
1277 | </method> | |
1278 | <method name="HasAlpha" type="bool" overloaded="no"> | |
781d2982 | 1279 | <autodoc>HasAlpha(self) -> bool</autodoc> |
f32fc4bc RD |
1280 | </method> |
1281 | <method name="FindFirstUnusedColour" type="bool" overloaded="no"> | |
1282 | <autodoc>FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b)</autodoc> | |
ce6878e6 RD |
1283 | <docstring>Find first colour that is not used in the image and has higher RGB |
1284 | values than startR, startG, startB. Returns a tuple consisting of a | |
1285 | success flag and rgb values.</docstring> | |
f32fc4bc RD |
1286 | <paramlist> |
1287 | <param name="OUTPUT" type="byte" default=""/> | |
1288 | <param name="OUTPUT" type="byte" default=""/> | |
1289 | <param name="OUTPUT" type="byte" default=""/> | |
1290 | <param name="startR" type="byte" default="0"/> | |
1291 | <param name="startG" type="byte" default="0"/> | |
1292 | <param name="startB" type="byte" default="0"/> | |
1293 | </paramlist> | |
1294 | </method> | |
0190c472 RD |
1295 | <method name="ConvertAlphaToMask" type="bool" overloaded="no"> |
1296 | <autodoc>ConvertAlphaToMask(self, byte threshold=128) -> bool</autodoc> | |
1297 | <docstring>If the image has alpha channel, this method converts it to mask. All pixels | |
1298 | with alpha value less than ``threshold`` are replaced with mask colour and the | |
1299 | alpha channel is removed. Mask colour is chosen automatically using | |
1300 | `FindFirstUnusedColour`. | |
1301 | ||
1302 | If the image image doesn't have alpha channel, ConvertAlphaToMask does | |
1303 | nothing.</docstring> | |
1304 | <paramlist> | |
1305 | <param name="threshold" type="byte" default="128"/> | |
1306 | </paramlist> | |
1307 | </method> | |
f32fc4bc | 1308 | <method name="SetMaskFromImage" type="bool" overloaded="no"> |
781d2982 | 1309 | <autodoc>SetMaskFromImage(self, Image mask, byte mr, byte mg, byte mb) -> bool</autodoc> |
f32fc4bc RD |
1310 | <paramlist> |
1311 | <param name="mask" type="Image" default=""/> | |
1312 | <param name="mr" type="byte" default=""/> | |
1313 | <param name="mg" type="byte" default=""/> | |
1314 | <param name="mb" type="byte" default=""/> | |
1315 | </paramlist> | |
1316 | </method> | |
1317 | <staticmethod name="CanRead" type="bool" overloaded="no"> | |
1318 | <autodoc>CanRead(String name) -> bool</autodoc> | |
1319 | <paramlist> | |
1320 | <param name="name" type="String" default=""/> | |
1321 | </paramlist> | |
1322 | </staticmethod> | |
1323 | <staticmethod name="GetImageCount" type="int" overloaded="no"> | |
1324 | <autodoc>GetImageCount(String name, long type=BITMAP_TYPE_ANY) -> int</autodoc> | |
1325 | <paramlist> | |
1326 | <param name="name" type="String" default=""/> | |
1327 | <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/> | |
1328 | </paramlist> | |
1329 | </staticmethod> | |
1330 | <method name="LoadFile" type="bool" overloaded="no"> | |
781d2982 | 1331 | <autodoc>LoadFile(self, String name, long type=BITMAP_TYPE_ANY, int index=-1) -> bool</autodoc> |
f32fc4bc RD |
1332 | <paramlist> |
1333 | <param name="name" type="String" default=""/> | |
1334 | <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/> | |
1335 | <param name="index" type="int" default="-1"/> | |
1336 | </paramlist> | |
1337 | </method> | |
1338 | <method name="LoadMimeFile" type="bool" overloaded="no"> | |
781d2982 | 1339 | <autodoc>LoadMimeFile(self, String name, String mimetype, int index=-1) -> bool</autodoc> |
f32fc4bc RD |
1340 | <paramlist> |
1341 | <param name="name" type="String" default=""/> | |
1342 | <param name="mimetype" type="String" default=""/> | |
1343 | <param name="index" type="int" default="-1"/> | |
1344 | </paramlist> | |
1345 | </method> | |
1346 | <method name="SaveFile" type="bool" overloaded="no"> | |
781d2982 | 1347 | <autodoc>SaveFile(self, String name, int type) -> bool</autodoc> |
f32fc4bc RD |
1348 | <paramlist> |
1349 | <param name="name" type="String" default=""/> | |
1350 | <param name="type" type="int" default=""/> | |
1351 | </paramlist> | |
1352 | </method> | |
1353 | <method name="SaveMimeFile" type="bool" overloaded="no"> | |
781d2982 | 1354 | <autodoc>SaveMimeFile(self, String name, String mimetype) -> bool</autodoc> |
f32fc4bc RD |
1355 | <paramlist> |
1356 | <param name="name" type="String" default=""/> | |
1357 | <param name="mimetype" type="String" default=""/> | |
1358 | </paramlist> | |
1359 | </method> | |
1360 | <staticmethod name="CanReadStream" type="bool" overloaded="no"> | |
1361 | <autodoc>CanReadStream(InputStream stream) -> bool</autodoc> | |
1362 | <paramlist> | |
1363 | <param name="stream" type="wxInputStream" default=""/> | |
1364 | </paramlist> | |
1365 | </staticmethod> | |
1366 | <method name="LoadStream" type="bool" overloaded="no"> | |
781d2982 | 1367 | <autodoc>LoadStream(self, InputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -> bool</autodoc> |
f32fc4bc RD |
1368 | <paramlist> |
1369 | <param name="stream" type="wxInputStream" default=""/> | |
1370 | <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/> | |
1371 | <param name="index" type="int" default="-1"/> | |
1372 | </paramlist> | |
1373 | </method> | |
1374 | <method name="LoadMimeStream" type="bool" overloaded="no"> | |
781d2982 | 1375 | <autodoc>LoadMimeStream(self, InputStream stream, String mimetype, int index=-1) -> bool</autodoc> |
f32fc4bc RD |
1376 | <paramlist> |
1377 | <param name="stream" type="wxInputStream" default=""/> | |
1378 | <param name="mimetype" type="String" default=""/> | |
1379 | <param name="index" type="int" default="-1"/> | |
1380 | </paramlist> | |
1381 | </method> | |
1382 | <method name="Ok" type="bool" overloaded="no"> | |
781d2982 | 1383 | <autodoc>Ok(self) -> bool</autodoc> |
f32fc4bc RD |
1384 | </method> |
1385 | <method name="GetWidth" type="int" overloaded="no"> | |
781d2982 | 1386 | <autodoc>GetWidth(self) -> int</autodoc> |
f32fc4bc RD |
1387 | </method> |
1388 | <method name="GetHeight" type="int" overloaded="no"> | |
781d2982 RD |
1389 | <autodoc>GetHeight(self) -> int</autodoc> |
1390 | </method> | |
1391 | <method name="GetSize" type="Size" overloaded="no"> | |
1392 | <autodoc>GetSize(self) -> Size</autodoc> | |
f32fc4bc RD |
1393 | </method> |
1394 | <method name="GetSubImage" type="Image" overloaded="no"> | |
781d2982 | 1395 | <autodoc>GetSubImage(self, Rect rect) -> Image</autodoc> |
f32fc4bc RD |
1396 | <paramlist> |
1397 | <param name="rect" type="Rect" default=""/> | |
1398 | </paramlist> | |
1399 | </method> | |
1400 | <method name="Copy" type="Image" overloaded="no"> | |
781d2982 | 1401 | <autodoc>Copy(self) -> Image</autodoc> |
f32fc4bc RD |
1402 | </method> |
1403 | <method name="Paste" type="" overloaded="no"> | |
781d2982 | 1404 | <autodoc>Paste(self, Image image, int x, int y)</autodoc> |
f32fc4bc RD |
1405 | <paramlist> |
1406 | <param name="image" type="Image" default=""/> | |
1407 | <param name="x" type="int" default=""/> | |
1408 | <param name="y" type="int" default=""/> | |
1409 | </paramlist> | |
1410 | </method> | |
1411 | <method name="GetData" type="PyObject" overloaded="no"> | |
781d2982 | 1412 | <autodoc>GetData(self) -> PyObject</autodoc> |
f32fc4bc RD |
1413 | </method> |
1414 | <method name="SetData" type="" overloaded="no"> | |
781d2982 | 1415 | <autodoc>SetData(self, PyObject data)</autodoc> |
f32fc4bc RD |
1416 | <paramlist> |
1417 | <param name="data" type="PyObject" default=""/> | |
1418 | </paramlist> | |
1419 | </method> | |
1420 | <method name="GetDataBuffer" type="PyObject" overloaded="no"> | |
781d2982 | 1421 | <autodoc>GetDataBuffer(self) -> PyObject</autodoc> |
f32fc4bc RD |
1422 | </method> |
1423 | <method name="SetDataBuffer" type="" overloaded="no"> | |
781d2982 | 1424 | <autodoc>SetDataBuffer(self, PyObject data)</autodoc> |
f32fc4bc RD |
1425 | <paramlist> |
1426 | <param name="data" type="PyObject" default=""/> | |
1427 | </paramlist> | |
1428 | </method> | |
1429 | <method name="GetAlphaData" type="PyObject" overloaded="no"> | |
781d2982 | 1430 | <autodoc>GetAlphaData(self) -> PyObject</autodoc> |
f32fc4bc RD |
1431 | </method> |
1432 | <method name="SetAlphaData" type="" overloaded="no"> | |
781d2982 | 1433 | <autodoc>SetAlphaData(self, PyObject data)</autodoc> |
f32fc4bc RD |
1434 | <paramlist> |
1435 | <param name="data" type="PyObject" default=""/> | |
1436 | </paramlist> | |
1437 | </method> | |
1438 | <method name="GetAlphaBuffer" type="PyObject" overloaded="no"> | |
781d2982 | 1439 | <autodoc>GetAlphaBuffer(self) -> PyObject</autodoc> |
f32fc4bc RD |
1440 | </method> |
1441 | <method name="SetAlphaBuffer" type="" overloaded="no"> | |
781d2982 | 1442 | <autodoc>SetAlphaBuffer(self, PyObject data)</autodoc> |
f32fc4bc RD |
1443 | <paramlist> |
1444 | <param name="data" type="PyObject" default=""/> | |
1445 | </paramlist> | |
1446 | </method> | |
1447 | <method name="SetMaskColour" type="" overloaded="no"> | |
781d2982 | 1448 | <autodoc>SetMaskColour(self, unsigned char r, unsigned char g, unsigned char b)</autodoc> |
f32fc4bc RD |
1449 | <paramlist> |
1450 | <param name="r" type="unsigned char" default=""/> | |
1451 | <param name="g" type="unsigned char" default=""/> | |
1452 | <param name="b" type="unsigned char" default=""/> | |
1453 | </paramlist> | |
1454 | </method> | |
1455 | <method name="GetMaskRed" type="unsigned char" overloaded="no"> | |
781d2982 | 1456 | <autodoc>GetMaskRed(self) -> unsigned char</autodoc> |
f32fc4bc RD |
1457 | </method> |
1458 | <method name="GetMaskGreen" type="unsigned char" overloaded="no"> | |
781d2982 | 1459 | <autodoc>GetMaskGreen(self) -> unsigned char</autodoc> |
f32fc4bc RD |
1460 | </method> |
1461 | <method name="GetMaskBlue" type="unsigned char" overloaded="no"> | |
781d2982 | 1462 | <autodoc>GetMaskBlue(self) -> unsigned char</autodoc> |
f32fc4bc RD |
1463 | </method> |
1464 | <method name="SetMask" type="" overloaded="no"> | |
781d2982 | 1465 | <autodoc>SetMask(self, bool mask=True)</autodoc> |
f32fc4bc RD |
1466 | <paramlist> |
1467 | <param name="mask" type="bool" default="True"/> | |
1468 | </paramlist> | |
1469 | </method> | |
1470 | <method name="HasMask" type="bool" overloaded="no"> | |
781d2982 | 1471 | <autodoc>HasMask(self) -> bool</autodoc> |
f32fc4bc RD |
1472 | </method> |
1473 | <method name="Rotate" type="Image" overloaded="no"> | |
781d2982 | 1474 | <autodoc>Rotate(self, double angle, Point centre_of_rotation, bool interpolating=True, |
856bf319 | 1475 | Point offset_after_rotation=None) -> Image</autodoc> |
f32fc4bc RD |
1476 | <paramlist> |
1477 | <param name="angle" type="double" default=""/> | |
1478 | <param name="centre_of_rotation" type="Point" default=""/> | |
1479 | <param name="interpolating" type="bool" default="True"/> | |
1480 | <param name="offset_after_rotation" type="Point" default="NULL"/> | |
1481 | </paramlist> | |
1482 | </method> | |
1483 | <method name="Rotate90" type="Image" overloaded="no"> | |
781d2982 | 1484 | <autodoc>Rotate90(self, bool clockwise=True) -> Image</autodoc> |
f32fc4bc RD |
1485 | <paramlist> |
1486 | <param name="clockwise" type="bool" default="True"/> | |
1487 | </paramlist> | |
1488 | </method> | |
1489 | <method name="Mirror" type="Image" overloaded="no"> | |
781d2982 | 1490 | <autodoc>Mirror(self, bool horizontally=True) -> Image</autodoc> |
f32fc4bc RD |
1491 | <paramlist> |
1492 | <param name="horizontally" type="bool" default="True"/> | |
1493 | </paramlist> | |
1494 | </method> | |
1495 | <method name="Replace" type="" overloaded="no"> | |
781d2982 | 1496 | <autodoc>Replace(self, unsigned char r1, unsigned char g1, unsigned char b1, |
856bf319 | 1497 | unsigned char r2, unsigned char g2, unsigned char b2)</autodoc> |
f32fc4bc RD |
1498 | <paramlist> |
1499 | <param name="r1" type="unsigned char" default=""/> | |
1500 | <param name="g1" type="unsigned char" default=""/> | |
1501 | <param name="b1" type="unsigned char" default=""/> | |
1502 | <param name="r2" type="unsigned char" default=""/> | |
1503 | <param name="g2" type="unsigned char" default=""/> | |
1504 | <param name="b2" type="unsigned char" default=""/> | |
1505 | </paramlist> | |
1506 | </method> | |
1507 | <method name="ConvertToMono" type="Image" overloaded="no"> | |
781d2982 | 1508 | <autodoc>ConvertToMono(self, unsigned char r, unsigned char g, unsigned char b) -> Image</autodoc> |
f32fc4bc RD |
1509 | <paramlist> |
1510 | <param name="r" type="unsigned char" default=""/> | |
1511 | <param name="g" type="unsigned char" default=""/> | |
1512 | <param name="b" type="unsigned char" default=""/> | |
1513 | </paramlist> | |
1514 | </method> | |
1515 | <method name="SetOption" type="" overloaded="no"> | |
781d2982 | 1516 | <autodoc>SetOption(self, String name, String value)</autodoc> |
f32fc4bc RD |
1517 | <paramlist> |
1518 | <param name="name" type="String" default=""/> | |
1519 | <param name="value" type="String" default=""/> | |
1520 | </paramlist> | |
1521 | </method> | |
1522 | <method name="SetOptionInt" type="" overloaded="no"> | |
781d2982 | 1523 | <autodoc>SetOptionInt(self, String name, int value)</autodoc> |
f32fc4bc RD |
1524 | <paramlist> |
1525 | <param name="name" type="String" default=""/> | |
1526 | <param name="value" type="int" default=""/> | |
1527 | </paramlist> | |
1528 | </method> | |
1529 | <method name="GetOption" type="String" overloaded="no"> | |
781d2982 | 1530 | <autodoc>GetOption(self, String name) -> String</autodoc> |
f32fc4bc RD |
1531 | <paramlist> |
1532 | <param name="name" type="String" default=""/> | |
1533 | </paramlist> | |
1534 | </method> | |
1535 | <method name="GetOptionInt" type="int" overloaded="no"> | |
781d2982 | 1536 | <autodoc>GetOptionInt(self, String name) -> int</autodoc> |
f32fc4bc RD |
1537 | <paramlist> |
1538 | <param name="name" type="String" default=""/> | |
1539 | </paramlist> | |
1540 | </method> | |
1541 | <method name="HasOption" type="bool" overloaded="no"> | |
781d2982 | 1542 | <autodoc>HasOption(self, String name) -> bool</autodoc> |
f32fc4bc RD |
1543 | <paramlist> |
1544 | <param name="name" type="String" default=""/> | |
1545 | </paramlist> | |
1546 | </method> | |
1547 | <method name="CountColours" type="unsigned long" overloaded="no"> | |
781d2982 | 1548 | <autodoc>CountColours(self, unsigned long stopafter=(unsigned long) -1) -> unsigned long</autodoc> |
f32fc4bc RD |
1549 | <paramlist> |
1550 | <param name="stopafter" type="unsigned long" default="(unsigned long) -1"/> | |
1551 | </paramlist> | |
1552 | </method> | |
1553 | <method name="ComputeHistogram" type="unsigned long" overloaded="no"> | |
781d2982 | 1554 | <autodoc>ComputeHistogram(self, ImageHistogram h) -> unsigned long</autodoc> |
f32fc4bc RD |
1555 | <paramlist> |
1556 | <param name="h" type="ImageHistogram" default=""/> | |
1557 | </paramlist> | |
1558 | </method> | |
1559 | <staticmethod name="AddHandler" type="" overloaded="no"> | |
1560 | <autodoc>AddHandler(ImageHandler handler)</autodoc> | |
1561 | <paramlist> | |
1562 | <param name="handler" type="ImageHandler" default=""/> | |
1563 | </paramlist> | |
1564 | </staticmethod> | |
1565 | <staticmethod name="InsertHandler" type="" overloaded="no"> | |
1566 | <autodoc>InsertHandler(ImageHandler handler)</autodoc> | |
1567 | <paramlist> | |
1568 | <param name="handler" type="ImageHandler" default=""/> | |
1569 | </paramlist> | |
1570 | </staticmethod> | |
1571 | <staticmethod name="RemoveHandler" type="bool" overloaded="no"> | |
1572 | <autodoc>RemoveHandler(String name) -> bool</autodoc> | |
1573 | <paramlist> | |
1574 | <param name="name" type="String" default=""/> | |
1575 | </paramlist> | |
1576 | </staticmethod> | |
1577 | <staticmethod name="GetImageExtWildcard" type="String" overloaded="no"> | |
1578 | <autodoc>GetImageExtWildcard() -> String</autodoc> | |
1579 | </staticmethod> | |
1580 | <method name="ConvertToBitmap" type="wxBitmap" overloaded="no"> | |
781d2982 | 1581 | <autodoc>ConvertToBitmap(self) -> Bitmap</autodoc> |
f32fc4bc RD |
1582 | </method> |
1583 | <method name="ConvertToMonoBitmap" type="wxBitmap" overloaded="no"> | |
781d2982 | 1584 | <autodoc>ConvertToMonoBitmap(self, unsigned char red, unsigned char green, unsigned char blue) -> Bitmap</autodoc> |
f32fc4bc RD |
1585 | <paramlist> |
1586 | <param name="red" type="unsigned char" default=""/> | |
1587 | <param name="green" type="unsigned char" default=""/> | |
1588 | <param name="blue" type="unsigned char" default=""/> | |
1589 | </paramlist> | |
1590 | </method> | |
1591 | </class> | |
781d2982 RD |
1592 | <pythoncode> |
1593 | def InitAllImageHandlers(): | |
1594 | """ | |
1595 | The former functionality of InitAllImageHanders is now done internal to | |
1596 | the _core_ extension module and so this function has become a simple NOP. | |
1597 | """ | |
1598 | pass | |
1599 | </pythoncode> | |
1600 | <class name="BMPHandler" oldname="wxBMPHandler" module="_core"> | |
f32fc4bc RD |
1601 | <baseclass name="ImageHandler"/> |
1602 | <constructor name="BMPHandler" overloaded="no"> | |
781d2982 | 1603 | <autodoc>__init__(self) -> BMPHandler</autodoc> |
f32fc4bc RD |
1604 | </constructor> |
1605 | </class> | |
781d2982 | 1606 | <class name="ICOHandler" oldname="wxICOHandler" module="_core"> |
f32fc4bc RD |
1607 | <baseclass name="BMPHandler"/> |
1608 | <constructor name="ICOHandler" overloaded="no"> | |
781d2982 | 1609 | <autodoc>__init__(self) -> ICOHandler</autodoc> |
f32fc4bc RD |
1610 | </constructor> |
1611 | </class> | |
781d2982 | 1612 | <class name="CURHandler" oldname="wxCURHandler" module="_core"> |
f32fc4bc RD |
1613 | <baseclass name="ICOHandler"/> |
1614 | <constructor name="CURHandler" overloaded="no"> | |
781d2982 | 1615 | <autodoc>__init__(self) -> CURHandler</autodoc> |
f32fc4bc RD |
1616 | </constructor> |
1617 | </class> | |
781d2982 | 1618 | <class name="ANIHandler" oldname="wxANIHandler" module="_core"> |
f32fc4bc RD |
1619 | <baseclass name="CURHandler"/> |
1620 | <constructor name="ANIHandler" overloaded="no"> | |
781d2982 | 1621 | <autodoc>__init__(self) -> ANIHandler</autodoc> |
f32fc4bc RD |
1622 | </constructor> |
1623 | </class> | |
781d2982 | 1624 | <class name="PNGHandler" oldname="wxPNGHandler" module="_core"> |
f32fc4bc RD |
1625 | <baseclass name="ImageHandler"/> |
1626 | <constructor name="PNGHandler" overloaded="no"> | |
781d2982 | 1627 | <autodoc>__init__(self) -> PNGHandler</autodoc> |
f32fc4bc RD |
1628 | </constructor> |
1629 | </class> | |
781d2982 | 1630 | <class name="GIFHandler" oldname="wxGIFHandler" module="_core"> |
f32fc4bc RD |
1631 | <baseclass name="ImageHandler"/> |
1632 | <constructor name="GIFHandler" overloaded="no"> | |
781d2982 | 1633 | <autodoc>__init__(self) -> GIFHandler</autodoc> |
f32fc4bc RD |
1634 | </constructor> |
1635 | </class> | |
781d2982 | 1636 | <class name="PCXHandler" oldname="wxPCXHandler" module="_core"> |
f32fc4bc RD |
1637 | <baseclass name="ImageHandler"/> |
1638 | <constructor name="PCXHandler" overloaded="no"> | |
781d2982 | 1639 | <autodoc>__init__(self) -> PCXHandler</autodoc> |
f32fc4bc RD |
1640 | </constructor> |
1641 | </class> | |
781d2982 | 1642 | <class name="JPEGHandler" oldname="wxJPEGHandler" module="_core"> |
f32fc4bc RD |
1643 | <baseclass name="ImageHandler"/> |
1644 | <constructor name="JPEGHandler" overloaded="no"> | |
781d2982 | 1645 | <autodoc>__init__(self) -> JPEGHandler</autodoc> |
f32fc4bc RD |
1646 | </constructor> |
1647 | </class> | |
781d2982 | 1648 | <class name="PNMHandler" oldname="wxPNMHandler" module="_core"> |
f32fc4bc RD |
1649 | <baseclass name="ImageHandler"/> |
1650 | <constructor name="PNMHandler" overloaded="no"> | |
781d2982 | 1651 | <autodoc>__init__(self) -> PNMHandler</autodoc> |
f32fc4bc RD |
1652 | </constructor> |
1653 | </class> | |
781d2982 | 1654 | <class name="XPMHandler" oldname="wxXPMHandler" module="_core"> |
f32fc4bc RD |
1655 | <baseclass name="ImageHandler"/> |
1656 | <constructor name="XPMHandler" overloaded="no"> | |
781d2982 | 1657 | <autodoc>__init__(self) -> XPMHandler</autodoc> |
f32fc4bc RD |
1658 | </constructor> |
1659 | </class> | |
781d2982 | 1660 | <class name="TIFFHandler" oldname="wxTIFFHandler" module="_core"> |
f32fc4bc RD |
1661 | <baseclass name="ImageHandler"/> |
1662 | <constructor name="TIFFHandler" overloaded="no"> | |
781d2982 | 1663 | <autodoc>__init__(self) -> TIFFHandler</autodoc> |
f32fc4bc RD |
1664 | </constructor> |
1665 | </class> | |
ce6878e6 RD |
1666 | <class name="Quantize" oldname="wxQuantize" module="_core"> |
1667 | <docstring>Performs quantization, or colour reduction, on a wxImage.</docstring> | |
1668 | <staticmethod name="Quantize" type="bool" overloaded="no"> | |
1669 | <autodoc>Quantize(Image src, Image dest, int desiredNoColours=236, int flags=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE) -> bool</autodoc> | |
1670 | <docstring>Reduce the colours in the source image and put the result into the | |
1671 | destination image, setting the palette in the destination if | |
1672 | needed. Both images may be the same, to overwrite the source image. | |
1673 | :todo: Create a version that returns the wx.Palette used.</docstring> | |
1674 | <paramlist> | |
1675 | <param name="src" type="Image" default=""/> | |
1676 | <param name="dest" type="Image" default=""/> | |
1677 | <param name="desiredNoColours" type="int" default="236"/> | |
1678 | <param name="flags" type="int" default="wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE"/> | |
1679 | </paramlist> | |
1680 | </staticmethod> | |
1681 | </class> | |
f32fc4bc | 1682 | <pythoncode> |
856bf319 RD |
1683 | #--------------------------------------------------------------------------- |
1684 | </pythoncode> | |
781d2982 | 1685 | <class name="EvtHandler" oldname="wxEvtHandler" module="_core"> |
f32fc4bc RD |
1686 | <baseclass name="Object"/> |
1687 | <constructor name="EvtHandler" overloaded="no"> | |
781d2982 | 1688 | <autodoc>__init__(self) -> EvtHandler</autodoc> |
f32fc4bc RD |
1689 | </constructor> |
1690 | <method name="GetNextHandler" type="EvtHandler" overloaded="no"> | |
781d2982 | 1691 | <autodoc>GetNextHandler(self) -> EvtHandler</autodoc> |
f32fc4bc RD |
1692 | </method> |
1693 | <method name="GetPreviousHandler" type="EvtHandler" overloaded="no"> | |
781d2982 | 1694 | <autodoc>GetPreviousHandler(self) -> EvtHandler</autodoc> |
f32fc4bc RD |
1695 | </method> |
1696 | <method name="SetNextHandler" type="" overloaded="no"> | |
781d2982 | 1697 | <autodoc>SetNextHandler(self, EvtHandler handler)</autodoc> |
f32fc4bc RD |
1698 | <paramlist> |
1699 | <param name="handler" type="EvtHandler" default=""/> | |
1700 | </paramlist> | |
1701 | </method> | |
1702 | <method name="SetPreviousHandler" type="" overloaded="no"> | |
781d2982 | 1703 | <autodoc>SetPreviousHandler(self, EvtHandler handler)</autodoc> |
f32fc4bc RD |
1704 | <paramlist> |
1705 | <param name="handler" type="EvtHandler" default=""/> | |
1706 | </paramlist> | |
1707 | </method> | |
1708 | <method name="GetEvtHandlerEnabled" type="bool" overloaded="no"> | |
781d2982 | 1709 | <autodoc>GetEvtHandlerEnabled(self) -> bool</autodoc> |
f32fc4bc RD |
1710 | </method> |
1711 | <method name="SetEvtHandlerEnabled" type="" overloaded="no"> | |
781d2982 | 1712 | <autodoc>SetEvtHandlerEnabled(self, bool enabled)</autodoc> |
f32fc4bc RD |
1713 | <paramlist> |
1714 | <param name="enabled" type="bool" default=""/> | |
1715 | </paramlist> | |
1716 | </method> | |
1717 | <method name="ProcessEvent" type="bool" overloaded="no"> | |
781d2982 | 1718 | <autodoc>ProcessEvent(self, Event event) -> bool</autodoc> |
f32fc4bc RD |
1719 | <paramlist> |
1720 | <param name="event" type="wxEvent" default=""/> | |
1721 | </paramlist> | |
1722 | </method> | |
1723 | <method name="AddPendingEvent" type="" overloaded="no"> | |
781d2982 | 1724 | <autodoc>AddPendingEvent(self, Event event)</autodoc> |
f32fc4bc RD |
1725 | <paramlist> |
1726 | <param name="event" type="wxEvent" default=""/> | |
1727 | </paramlist> | |
1728 | </method> | |
1729 | <method name="ProcessPendingEvents" type="" overloaded="no"> | |
781d2982 | 1730 | <autodoc>ProcessPendingEvents(self)</autodoc> |
f32fc4bc RD |
1731 | </method> |
1732 | <method name="Connect" type="" overloaded="no"> | |
781d2982 | 1733 | <autodoc>Connect(self, int id, int lastId, int eventType, PyObject func)</autodoc> |
f32fc4bc RD |
1734 | <paramlist> |
1735 | <param name="id" type="int" default=""/> | |
1736 | <param name="lastId" type="int" default=""/> | |
1737 | <param name="eventType" type="int" default=""/> | |
1738 | <param name="func" type="PyObject" default=""/> | |
1739 | </paramlist> | |
1740 | </method> | |
1741 | <method name="Disconnect" type="bool" overloaded="no"> | |
781d2982 | 1742 | <autodoc>Disconnect(self, int id, int lastId=-1, wxEventType eventType=wxEVT_NULL) -> bool</autodoc> |
f32fc4bc RD |
1743 | <paramlist> |
1744 | <param name="id" type="int" default=""/> | |
1745 | <param name="lastId" type="int" default="-1"/> | |
1746 | <param name="eventType" type="wxEventType" default="wxEVT_NULL"/> | |
1747 | </paramlist> | |
1748 | </method> | |
1749 | <method name="_setOORInfo" type="" overloaded="no"> | |
781d2982 | 1750 | <autodoc>_setOORInfo(self, PyObject _self)</autodoc> |
f32fc4bc RD |
1751 | <paramlist> |
1752 | <param name="_self" type="PyObject" default=""/> | |
1753 | </paramlist> | |
1754 | </method> | |
1755 | </class> | |
856bf319 | 1756 | <pythoncode> |
856bf319 RD |
1757 | |
1758 | #--------------------------------------------------------------------------- | |
1759 | ||
1760 | class PyEventBinder(object): | |
1761 | """ | |
1762 | Instances of this class are used to bind specific events to event | |
1763 | handlers. | |
1764 | """ | |
1765 | def __init__(self, evtType, expectedIDs=0): | |
1766 | if expectedIDs not in [0, 1, 2]: | |
1767 | raise ValueError, "Invalid number of expectedIDs" | |
1768 | self.expectedIDs = expectedIDs | |
1769 | ||
1770 | if type(evtType) == list or type(evtType) == tuple: | |
1771 | self.evtType = evtType | |
1772 | else: | |
1773 | self.evtType = [evtType] | |
1774 | ||
1775 | ||
1776 | def Bind(self, target, id1, id2, function): | |
1777 | """Bind this set of event types to target.""" | |
1778 | for et in self.evtType: | |
1779 | target.Connect(id1, id2, et, function) | |
1780 | ||
781d2982 RD |
1781 | |
1782 | def Unbind(self, target, id1, id2): | |
1783 | """Remove an event binding.""" | |
1784 | success = 0 | |
1785 | for et in self.evtType: | |
1786 | success += target.Disconnect(id1, id2, et) | |
1787 | return success != 0 | |
1788 | ||
856bf319 RD |
1789 | |
1790 | def __call__(self, *args): | |
1791 | """ | |
1792 | For backwards compatibility with the old EVT_* functions. | |
1793 | Should be called with either (window, func), (window, ID, | |
1794 | func) or (window, ID1, ID2, func) parameters depending on the | |
1795 | type of the event. | |
1796 | """ | |
1797 | assert len(args) == 2 + self.expectedIDs | |
1798 | id1 = wx.ID_ANY | |
1799 | id2 = wx.ID_ANY | |
1800 | target = args[0] | |
1801 | if self.expectedIDs == 0: | |
1802 | func = args[1] | |
1803 | elif self.expectedIDs == 1: | |
1804 | id1 = args[1] | |
1805 | func = args[2] | |
1806 | elif self.expectedIDs == 2: | |
1807 | id1 = args[1] | |
1808 | id2 = args[2] | |
1809 | func = args[3] | |
1810 | else: | |
1811 | raise ValueError, "Unexpected number of IDs" | |
1812 | ||
1813 | self.Bind(target, id1, id2, func) | |
1814 | ||
1815 | ||
1816 | # These two are square pegs that don't fit the PyEventBinder hole... | |
1817 | def EVT_COMMAND(win, id, cmd, func): | |
1818 | win.Connect(id, -1, cmd, func) | |
1819 | def EVT_COMMAND_RANGE(win, id1, id2, cmd, func): | |
1820 | win.Connect(id1, id2, cmd, func) | |
1821 | ||
1822 | ||
1823 | #--------------------------------------------------------------------------- | |
1824 | </pythoncode> | |
f32fc4bc | 1825 | <pythoncode> |
856bf319 RD |
1826 | #--------------------------------------------------------------------------- |
1827 | </pythoncode> | |
f32fc4bc RD |
1828 | <method name="NewEventType" oldname="wxNewEventType" type="wxEventType" overloaded="no"> |
1829 | <autodoc>NewEventType() -> wxEventType</autodoc> | |
1830 | </method> | |
1831 | <pythoncode> | |
856bf319 RD |
1832 | # |
1833 | # Create some event binders | |
1834 | EVT_SIZE = wx.PyEventBinder( wxEVT_SIZE ) | |
1835 | EVT_SIZING = wx.PyEventBinder( wxEVT_SIZING ) | |
1836 | EVT_MOVE = wx.PyEventBinder( wxEVT_MOVE ) | |
1837 | EVT_MOVING = wx.PyEventBinder( wxEVT_MOVING ) | |
1838 | EVT_CLOSE = wx.PyEventBinder( wxEVT_CLOSE_WINDOW ) | |
1839 | EVT_END_SESSION = wx.PyEventBinder( wxEVT_END_SESSION ) | |
1840 | EVT_QUERY_END_SESSION = wx.PyEventBinder( wxEVT_QUERY_END_SESSION ) | |
1841 | EVT_PAINT = wx.PyEventBinder( wxEVT_PAINT ) | |
1842 | EVT_NC_PAINT = wx.PyEventBinder( wxEVT_NC_PAINT ) | |
1843 | EVT_ERASE_BACKGROUND = wx.PyEventBinder( wxEVT_ERASE_BACKGROUND ) | |
1844 | EVT_CHAR = wx.PyEventBinder( wxEVT_CHAR ) | |
1845 | EVT_KEY_DOWN = wx.PyEventBinder( wxEVT_KEY_DOWN ) | |
1846 | EVT_KEY_UP = wx.PyEventBinder( wxEVT_KEY_UP ) | |
1847 | EVT_HOTKEY = wx.PyEventBinder( wxEVT_HOTKEY, 1) | |
1848 | EVT_CHAR_HOOK = wx.PyEventBinder( wxEVT_CHAR_HOOK ) | |
1849 | EVT_MENU_OPEN = wx.PyEventBinder( wxEVT_MENU_OPEN ) | |
1850 | EVT_MENU_CLOSE = wx.PyEventBinder( wxEVT_MENU_CLOSE ) | |
1851 | EVT_MENU_HIGHLIGHT = wx.PyEventBinder( wxEVT_MENU_HIGHLIGHT, 1) | |
1852 | EVT_MENU_HIGHLIGHT_ALL = wx.PyEventBinder( wxEVT_MENU_HIGHLIGHT ) | |
1853 | EVT_SET_FOCUS = wx.PyEventBinder( wxEVT_SET_FOCUS ) | |
1854 | EVT_KILL_FOCUS = wx.PyEventBinder( wxEVT_KILL_FOCUS ) | |
1855 | EVT_CHILD_FOCUS = wx.PyEventBinder( wxEVT_CHILD_FOCUS ) | |
1856 | EVT_ACTIVATE = wx.PyEventBinder( wxEVT_ACTIVATE ) | |
1857 | EVT_ACTIVATE_APP = wx.PyEventBinder( wxEVT_ACTIVATE_APP ) | |
1858 | EVT_END_SESSION = wx.PyEventBinder( wxEVT_END_SESSION ) | |
1859 | EVT_QUERY_END_SESSION = wx.PyEventBinder( wxEVT_QUERY_END_SESSION ) | |
1860 | EVT_DROP_FILES = wx.PyEventBinder( wxEVT_DROP_FILES ) | |
1861 | EVT_INIT_DIALOG = wx.PyEventBinder( wxEVT_INIT_DIALOG ) | |
1862 | EVT_SYS_COLOUR_CHANGED = wx.PyEventBinder( wxEVT_SYS_COLOUR_CHANGED ) | |
1863 | EVT_DISPLAY_CHANGED = wx.PyEventBinder( wxEVT_DISPLAY_CHANGED ) | |
1864 | EVT_SHOW = wx.PyEventBinder( wxEVT_SHOW ) | |
1865 | EVT_MAXIMIZE = wx.PyEventBinder( wxEVT_MAXIMIZE ) | |
1866 | EVT_ICONIZE = wx.PyEventBinder( wxEVT_ICONIZE ) | |
1867 | EVT_NAVIGATION_KEY = wx.PyEventBinder( wxEVT_NAVIGATION_KEY ) | |
1868 | EVT_PALETTE_CHANGED = wx.PyEventBinder( wxEVT_PALETTE_CHANGED ) | |
1869 | EVT_QUERY_NEW_PALETTE = wx.PyEventBinder( wxEVT_QUERY_NEW_PALETTE ) | |
1870 | EVT_WINDOW_CREATE = wx.PyEventBinder( wxEVT_CREATE ) | |
1871 | EVT_WINDOW_DESTROY = wx.PyEventBinder( wxEVT_DESTROY ) | |
1872 | EVT_SET_CURSOR = wx.PyEventBinder( wxEVT_SET_CURSOR ) | |
1873 | EVT_MOUSE_CAPTURE_CHANGED = wx.PyEventBinder( wxEVT_MOUSE_CAPTURE_CHANGED ) | |
1874 | ||
1875 | EVT_LEFT_DOWN = wx.PyEventBinder( wxEVT_LEFT_DOWN ) | |
1876 | EVT_LEFT_UP = wx.PyEventBinder( wxEVT_LEFT_UP ) | |
1877 | EVT_MIDDLE_DOWN = wx.PyEventBinder( wxEVT_MIDDLE_DOWN ) | |
1878 | EVT_MIDDLE_UP = wx.PyEventBinder( wxEVT_MIDDLE_UP ) | |
1879 | EVT_RIGHT_DOWN = wx.PyEventBinder( wxEVT_RIGHT_DOWN ) | |
1880 | EVT_RIGHT_UP = wx.PyEventBinder( wxEVT_RIGHT_UP ) | |
1881 | EVT_MOTION = wx.PyEventBinder( wxEVT_MOTION ) | |
1882 | EVT_LEFT_DCLICK = wx.PyEventBinder( wxEVT_LEFT_DCLICK ) | |
1883 | EVT_MIDDLE_DCLICK = wx.PyEventBinder( wxEVT_MIDDLE_DCLICK ) | |
1884 | EVT_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_RIGHT_DCLICK ) | |
1885 | EVT_LEAVE_WINDOW = wx.PyEventBinder( wxEVT_LEAVE_WINDOW ) | |
1886 | EVT_ENTER_WINDOW = wx.PyEventBinder( wxEVT_ENTER_WINDOW ) | |
1887 | EVT_MOUSEWHEEL = wx.PyEventBinder( wxEVT_MOUSEWHEEL ) | |
1888 | ||
1889 | EVT_MOUSE_EVENTS = wx.PyEventBinder([ wxEVT_LEFT_DOWN, | |
1890 | wxEVT_LEFT_UP, | |
1891 | wxEVT_MIDDLE_DOWN, | |
1892 | wxEVT_MIDDLE_UP, | |
1893 | wxEVT_RIGHT_DOWN, | |
1894 | wxEVT_RIGHT_UP, | |
1895 | wxEVT_MOTION, | |
1896 | wxEVT_LEFT_DCLICK, | |
1897 | wxEVT_MIDDLE_DCLICK, | |
1898 | wxEVT_RIGHT_DCLICK, | |
1899 | wxEVT_ENTER_WINDOW, | |
1900 | wxEVT_LEAVE_WINDOW, | |
1901 | wxEVT_MOUSEWHEEL | |
1902 | ]) | |
1903 | ||
1904 | ||
1905 | # Scrolling from wxWindow (sent to wxScrolledWindow) | |
1906 | EVT_SCROLLWIN = wx.PyEventBinder([ wxEVT_SCROLLWIN_TOP, | |
1907 | wxEVT_SCROLLWIN_BOTTOM, | |
1908 | wxEVT_SCROLLWIN_LINEUP, | |
1909 | wxEVT_SCROLLWIN_LINEDOWN, | |
1910 | wxEVT_SCROLLWIN_PAGEUP, | |
1911 | wxEVT_SCROLLWIN_PAGEDOWN, | |
1912 | wxEVT_SCROLLWIN_THUMBTRACK, | |
1913 | wxEVT_SCROLLWIN_THUMBRELEASE, | |
1914 | ]) | |
1915 | ||
1916 | EVT_SCROLLWIN_TOP = wx.PyEventBinder( wxEVT_SCROLLWIN_TOP ) | |
1917 | EVT_SCROLLWIN_BOTTOM = wx.PyEventBinder( wxEVT_SCROLLWIN_BOTTOM ) | |
1918 | EVT_SCROLLWIN_LINEUP = wx.PyEventBinder( wxEVT_SCROLLWIN_LINEUP ) | |
1919 | EVT_SCROLLWIN_LINEDOWN = wx.PyEventBinder( wxEVT_SCROLLWIN_LINEDOWN ) | |
1920 | EVT_SCROLLWIN_PAGEUP = wx.PyEventBinder( wxEVT_SCROLLWIN_PAGEUP ) | |
1921 | EVT_SCROLLWIN_PAGEDOWN = wx.PyEventBinder( wxEVT_SCROLLWIN_PAGEDOWN ) | |
1922 | EVT_SCROLLWIN_THUMBTRACK = wx.PyEventBinder( wxEVT_SCROLLWIN_THUMBTRACK ) | |
1923 | EVT_SCROLLWIN_THUMBRELEASE = wx.PyEventBinder( wxEVT_SCROLLWIN_THUMBRELEASE ) | |
1924 | ||
1925 | # Scrolling from wxSlider and wxScrollBar | |
1926 | EVT_SCROLL = wx.PyEventBinder([ wxEVT_SCROLL_TOP, | |
1927 | wxEVT_SCROLL_BOTTOM, | |
1928 | wxEVT_SCROLL_LINEUP, | |
1929 | wxEVT_SCROLL_LINEDOWN, | |
1930 | wxEVT_SCROLL_PAGEUP, | |
1931 | wxEVT_SCROLL_PAGEDOWN, | |
1932 | wxEVT_SCROLL_THUMBTRACK, | |
1933 | wxEVT_SCROLL_THUMBRELEASE, | |
1934 | wxEVT_SCROLL_ENDSCROLL, | |
1935 | ]) | |
1936 | ||
1937 | EVT_SCROLL_TOP = wx.PyEventBinder( wxEVT_SCROLL_TOP ) | |
1938 | EVT_SCROLL_BOTTOM = wx.PyEventBinder( wxEVT_SCROLL_BOTTOM ) | |
1939 | EVT_SCROLL_LINEUP = wx.PyEventBinder( wxEVT_SCROLL_LINEUP ) | |
1940 | EVT_SCROLL_LINEDOWN = wx.PyEventBinder( wxEVT_SCROLL_LINEDOWN ) | |
1941 | EVT_SCROLL_PAGEUP = wx.PyEventBinder( wxEVT_SCROLL_PAGEUP ) | |
1942 | EVT_SCROLL_PAGEDOWN = wx.PyEventBinder( wxEVT_SCROLL_PAGEDOWN ) | |
1943 | EVT_SCROLL_THUMBTRACK = wx.PyEventBinder( wxEVT_SCROLL_THUMBTRACK ) | |
1944 | EVT_SCROLL_THUMBRELEASE = wx.PyEventBinder( wxEVT_SCROLL_THUMBRELEASE ) | |
0f43fbdf RD |
1945 | EVT_SCROLL_ENDSCROLL = wx.PyEventBinder( wxEVT_SCROLL_ENDSCROLL ) |
1946 | ||
1947 | # Scrolling from wxSlider and wxScrollBar, with an id | |
1948 | EVT_COMMAND_SCROLL = wx.PyEventBinder([ wxEVT_SCROLL_TOP, | |
1949 | wxEVT_SCROLL_BOTTOM, | |
1950 | wxEVT_SCROLL_LINEUP, | |
1951 | wxEVT_SCROLL_LINEDOWN, | |
1952 | wxEVT_SCROLL_PAGEUP, | |
1953 | wxEVT_SCROLL_PAGEDOWN, | |
1954 | wxEVT_SCROLL_THUMBTRACK, | |
1955 | wxEVT_SCROLL_THUMBRELEASE, | |
1956 | wxEVT_SCROLL_ENDSCROLL, | |
1957 | ], 1) | |
1958 | ||
1959 | EVT_COMMAND_SCROLL_TOP = wx.PyEventBinder( wxEVT_SCROLL_TOP, 1) | |
1960 | EVT_COMMAND_SCROLL_BOTTOM = wx.PyEventBinder( wxEVT_SCROLL_BOTTOM, 1) | |
1961 | EVT_COMMAND_SCROLL_LINEUP = wx.PyEventBinder( wxEVT_SCROLL_LINEUP, 1) | |
1962 | EVT_COMMAND_SCROLL_LINEDOWN = wx.PyEventBinder( wxEVT_SCROLL_LINEDOWN, 1) | |
1963 | EVT_COMMAND_SCROLL_PAGEUP = wx.PyEventBinder( wxEVT_SCROLL_PAGEUP, 1) | |
1964 | EVT_COMMAND_SCROLL_PAGEDOWN = wx.PyEventBinder( wxEVT_SCROLL_PAGEDOWN, 1) | |
1965 | EVT_COMMAND_SCROLL_THUMBTRACK = wx.PyEventBinder( wxEVT_SCROLL_THUMBTRACK, 1) | |
1966 | EVT_COMMAND_SCROLL_THUMBRELEASE = wx.PyEventBinder( wxEVT_SCROLL_THUMBRELEASE, 1) | |
1967 | EVT_COMMAND_SCROLL_ENDSCROLL = wx.PyEventBinder( wxEVT_SCROLL_ENDSCROLL, 1) | |
1968 | ||
0f43fbdf RD |
1969 | EVT_BUTTON = wx.PyEventBinder( wxEVT_COMMAND_BUTTON_CLICKED, 1) |
1970 | EVT_CHECKBOX = wx.PyEventBinder( wxEVT_COMMAND_CHECKBOX_CLICKED, 1) | |
1971 | EVT_CHOICE = wx.PyEventBinder( wxEVT_COMMAND_CHOICE_SELECTED, 1) | |
1972 | EVT_LISTBOX = wx.PyEventBinder( wxEVT_COMMAND_LISTBOX_SELECTED, 1) | |
1973 | EVT_LISTBOX_DCLICK = wx.PyEventBinder( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, 1) | |
1974 | EVT_MENU = wx.PyEventBinder( wxEVT_COMMAND_MENU_SELECTED, 1) | |
1975 | EVT_MENU_RANGE = wx.PyEventBinder( wxEVT_COMMAND_MENU_SELECTED, 2) | |
1976 | EVT_SLIDER = wx.PyEventBinder( wxEVT_COMMAND_SLIDER_UPDATED, 1) | |
1977 | EVT_RADIOBOX = wx.PyEventBinder( wxEVT_COMMAND_RADIOBOX_SELECTED, 1) | |
1978 | EVT_RADIOBUTTON = wx.PyEventBinder( wxEVT_COMMAND_RADIOBUTTON_SELECTED, 1) | |
1979 | ||
1980 | EVT_SCROLLBAR = wx.PyEventBinder( wxEVT_COMMAND_SCROLLBAR_UPDATED, 1) | |
1981 | EVT_VLBOX = wx.PyEventBinder( wxEVT_COMMAND_VLBOX_SELECTED, 1) | |
1982 | EVT_COMBOBOX = wx.PyEventBinder( wxEVT_COMMAND_COMBOBOX_SELECTED, 1) | |
1983 | EVT_TOOL = wx.PyEventBinder( wxEVT_COMMAND_TOOL_CLICKED, 1) | |
1984 | EVT_TOOL_RANGE = wx.PyEventBinder( wxEVT_COMMAND_TOOL_CLICKED, 2) | |
1985 | EVT_TOOL_RCLICKED = wx.PyEventBinder( wxEVT_COMMAND_TOOL_RCLICKED, 1) | |
1986 | EVT_TOOL_RCLICKED_RANGE = wx.PyEventBinder( wxEVT_COMMAND_TOOL_RCLICKED, 2) | |
1987 | EVT_TOOL_ENTER = wx.PyEventBinder( wxEVT_COMMAND_TOOL_ENTER, 1) | |
1988 | EVT_CHECKLISTBOX = wx.PyEventBinder( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, 1) | |
1989 | ||
1990 | ||
1991 | EVT_COMMAND_LEFT_CLICK = wx.PyEventBinder( wxEVT_COMMAND_LEFT_CLICK, 1) | |
1992 | EVT_COMMAND_LEFT_DCLICK = wx.PyEventBinder( wxEVT_COMMAND_LEFT_DCLICK, 1) | |
1993 | EVT_COMMAND_RIGHT_CLICK = wx.PyEventBinder( wxEVT_COMMAND_RIGHT_CLICK, 1) | |
1994 | EVT_COMMAND_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_COMMAND_RIGHT_DCLICK, 1) | |
1995 | EVT_COMMAND_SET_FOCUS = wx.PyEventBinder( wxEVT_COMMAND_SET_FOCUS, 1) | |
1996 | EVT_COMMAND_KILL_FOCUS = wx.PyEventBinder( wxEVT_COMMAND_KILL_FOCUS, 1) | |
1997 | EVT_COMMAND_ENTER = wx.PyEventBinder( wxEVT_COMMAND_ENTER, 1) | |
1998 | ||
1999 | EVT_IDLE = wx.PyEventBinder( wxEVT_IDLE ) | |
2000 | ||
2001 | EVT_UPDATE_UI = wx.PyEventBinder( wxEVT_UPDATE_UI, 1) | |
2002 | EVT_UPDATE_UI_RANGE = wx.PyEventBinder( wxEVT_UPDATE_UI, 2) | |
2003 | ||
2004 | EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) | |
2005 | ||
2006 | ||
2007 | </pythoncode> | |
f32fc4bc | 2008 | <pythoncode> |
0f43fbdf RD |
2009 | #--------------------------------------------------------------------------- |
2010 | </pythoncode> | |
781d2982 | 2011 | <class name="Event" oldname="wxEvent" module="_core"> |
f32fc4bc RD |
2012 | <baseclass name="Object"/> |
2013 | <destructor name="~wxEvent" overloaded="no"> | |
781d2982 | 2014 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
2015 | </destructor> |
2016 | <method name="SetEventType" type="" overloaded="no"> | |
781d2982 | 2017 | <autodoc>SetEventType(self, wxEventType typ)</autodoc> |
f32fc4bc RD |
2018 | <paramlist> |
2019 | <param name="typ" type="wxEventType" default=""/> | |
2020 | </paramlist> | |
2021 | </method> | |
2022 | <method name="GetEventType" type="wxEventType" overloaded="no"> | |
781d2982 | 2023 | <autodoc>GetEventType(self) -> wxEventType</autodoc> |
f32fc4bc RD |
2024 | </method> |
2025 | <method name="GetEventObject" type="Object" overloaded="no"> | |
781d2982 | 2026 | <autodoc>GetEventObject(self) -> Object</autodoc> |
f32fc4bc RD |
2027 | </method> |
2028 | <method name="SetEventObject" type="" overloaded="no"> | |
781d2982 | 2029 | <autodoc>SetEventObject(self, Object obj)</autodoc> |
f32fc4bc RD |
2030 | <paramlist> |
2031 | <param name="obj" type="Object" default=""/> | |
2032 | </paramlist> | |
2033 | </method> | |
2034 | <method name="GetTimestamp" type="long" overloaded="no"> | |
781d2982 | 2035 | <autodoc>GetTimestamp(self) -> long</autodoc> |
f32fc4bc RD |
2036 | </method> |
2037 | <method name="SetTimestamp" type="" overloaded="no"> | |
781d2982 | 2038 | <autodoc>SetTimestamp(self, long ts=0)</autodoc> |
f32fc4bc RD |
2039 | <paramlist> |
2040 | <param name="ts" type="long" default="0"/> | |
2041 | </paramlist> | |
2042 | </method> | |
2043 | <method name="GetId" type="int" overloaded="no"> | |
781d2982 | 2044 | <autodoc>GetId(self) -> int</autodoc> |
f32fc4bc RD |
2045 | </method> |
2046 | <method name="SetId" type="" overloaded="no"> | |
781d2982 | 2047 | <autodoc>SetId(self, int Id)</autodoc> |
f32fc4bc RD |
2048 | <paramlist> |
2049 | <param name="Id" type="int" default=""/> | |
2050 | </paramlist> | |
2051 | </method> | |
2052 | <method name="IsCommandEvent" type="bool" overloaded="no"> | |
781d2982 | 2053 | <autodoc>IsCommandEvent(self) -> bool</autodoc> |
f32fc4bc RD |
2054 | </method> |
2055 | <method name="Skip" type="" overloaded="no"> | |
781d2982 | 2056 | <autodoc>Skip(self, bool skip=True)</autodoc> |
f32fc4bc RD |
2057 | <paramlist> |
2058 | <param name="skip" type="bool" default="True"/> | |
2059 | </paramlist> | |
2060 | </method> | |
2061 | <method name="GetSkipped" type="bool" overloaded="no"> | |
781d2982 | 2062 | <autodoc>GetSkipped(self) -> bool</autodoc> |
f32fc4bc RD |
2063 | </method> |
2064 | <method name="ShouldPropagate" type="bool" overloaded="no"> | |
781d2982 | 2065 | <autodoc>ShouldPropagate(self) -> bool</autodoc> |
f32fc4bc RD |
2066 | </method> |
2067 | <method name="StopPropagation" type="int" overloaded="no"> | |
781d2982 | 2068 | <autodoc>StopPropagation(self) -> int</autodoc> |
f32fc4bc RD |
2069 | </method> |
2070 | <method name="ResumePropagation" type="" overloaded="no"> | |
781d2982 | 2071 | <autodoc>ResumePropagation(self, int propagationLevel)</autodoc> |
f32fc4bc RD |
2072 | <paramlist> |
2073 | <param name="propagationLevel" type="int" default=""/> | |
2074 | </paramlist> | |
2075 | </method> | |
2076 | <method name="Clone" type="Event" overloaded="no"> | |
781d2982 | 2077 | <autodoc>Clone(self) -> Event</autodoc> |
f32fc4bc RD |
2078 | </method> |
2079 | </class> | |
2080 | <pythoncode> | |
0f43fbdf RD |
2081 | #--------------------------------------------------------------------------- |
2082 | </pythoncode> | |
781d2982 | 2083 | <class name="PropagationDisabler" oldname="wxPropagationDisabler" module="_core"> |
f32fc4bc | 2084 | <constructor name="PropagationDisabler" overloaded="no"> |
781d2982 | 2085 | <autodoc>__init__(self, Event event) -> PropagationDisabler</autodoc> |
f32fc4bc RD |
2086 | <paramlist> |
2087 | <param name="event" type="Event" default=""/> | |
2088 | </paramlist> | |
2089 | </constructor> | |
2090 | <destructor name="~wxPropagationDisabler" overloaded="no"> | |
781d2982 | 2091 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
2092 | </destructor> |
2093 | </class> | |
781d2982 | 2094 | <class name="PropagateOnce" oldname="wxPropagateOnce" module="_core"> |
f32fc4bc | 2095 | <constructor name="PropagateOnce" overloaded="no"> |
781d2982 | 2096 | <autodoc>__init__(self, Event event) -> PropagateOnce</autodoc> |
f32fc4bc RD |
2097 | <paramlist> |
2098 | <param name="event" type="Event" default=""/> | |
2099 | </paramlist> | |
2100 | </constructor> | |
2101 | <destructor name="~wxPropagateOnce" overloaded="no"> | |
781d2982 | 2102 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
2103 | </destructor> |
2104 | </class> | |
2105 | <pythoncode> | |
0f43fbdf RD |
2106 | #--------------------------------------------------------------------------- |
2107 | </pythoncode> | |
781d2982 | 2108 | <class name="CommandEvent" oldname="wxCommandEvent" module="_core"> |
f32fc4bc RD |
2109 | <baseclass name="Event"/> |
2110 | <constructor name="CommandEvent" overloaded="no"> | |
781d2982 | 2111 | <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0) -> CommandEvent</autodoc> |
f32fc4bc RD |
2112 | <paramlist> |
2113 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
2114 | <param name="winid" type="int" default="0"/> | |
2115 | </paramlist> | |
2116 | </constructor> | |
2117 | <method name="GetSelection" type="int" overloaded="no"> | |
781d2982 | 2118 | <autodoc>GetSelection(self) -> int</autodoc> |
f32fc4bc RD |
2119 | </method> |
2120 | <method name="SetString" type="" overloaded="no"> | |
781d2982 | 2121 | <autodoc>SetString(self, String s)</autodoc> |
f32fc4bc RD |
2122 | <paramlist> |
2123 | <param name="s" type="String" default=""/> | |
2124 | </paramlist> | |
2125 | </method> | |
2126 | <method name="GetString" type="String" overloaded="no"> | |
781d2982 | 2127 | <autodoc>GetString(self) -> String</autodoc> |
f32fc4bc RD |
2128 | </method> |
2129 | <method name="IsChecked" type="bool" overloaded="no"> | |
781d2982 | 2130 | <autodoc>IsChecked(self) -> bool</autodoc> |
f32fc4bc RD |
2131 | </method> |
2132 | <method name="IsSelection" type="bool" overloaded="no"> | |
781d2982 | 2133 | <autodoc>IsSelection(self) -> bool</autodoc> |
f32fc4bc RD |
2134 | </method> |
2135 | <method name="SetExtraLong" type="" overloaded="no"> | |
781d2982 | 2136 | <autodoc>SetExtraLong(self, long extraLong)</autodoc> |
f32fc4bc RD |
2137 | <paramlist> |
2138 | <param name="extraLong" type="long" default=""/> | |
2139 | </paramlist> | |
2140 | </method> | |
2141 | <method name="GetExtraLong" type="long" overloaded="no"> | |
781d2982 | 2142 | <autodoc>GetExtraLong(self) -> long</autodoc> |
f32fc4bc RD |
2143 | </method> |
2144 | <method name="SetInt" type="" overloaded="no"> | |
781d2982 | 2145 | <autodoc>SetInt(self, int i)</autodoc> |
f32fc4bc RD |
2146 | <paramlist> |
2147 | <param name="i" type="int" default=""/> | |
2148 | </paramlist> | |
2149 | </method> | |
2150 | <method name="GetInt" type="long" overloaded="no"> | |
781d2982 | 2151 | <autodoc>GetInt(self) -> long</autodoc> |
f32fc4bc RD |
2152 | </method> |
2153 | <method name="Clone" type="Event" overloaded="no"> | |
781d2982 | 2154 | <autodoc>Clone(self) -> Event</autodoc> |
f32fc4bc RD |
2155 | </method> |
2156 | </class> | |
2157 | <pythoncode> | |
0f43fbdf RD |
2158 | #--------------------------------------------------------------------------- |
2159 | </pythoncode> | |
781d2982 | 2160 | <class name="NotifyEvent" oldname="wxNotifyEvent" module="_core"> |
f32fc4bc RD |
2161 | <baseclass name="CommandEvent"/> |
2162 | <constructor name="NotifyEvent" overloaded="no"> | |
781d2982 | 2163 | <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0) -> NotifyEvent</autodoc> |
f32fc4bc RD |
2164 | <paramlist> |
2165 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
2166 | <param name="winid" type="int" default="0"/> | |
2167 | </paramlist> | |
2168 | </constructor> | |
2169 | <method name="Veto" type="" overloaded="no"> | |
781d2982 | 2170 | <autodoc>Veto(self)</autodoc> |
f32fc4bc RD |
2171 | </method> |
2172 | <method name="Allow" type="" overloaded="no"> | |
781d2982 | 2173 | <autodoc>Allow(self)</autodoc> |
f32fc4bc RD |
2174 | </method> |
2175 | <method name="IsAllowed" type="bool" overloaded="no"> | |
781d2982 | 2176 | <autodoc>IsAllowed(self) -> bool</autodoc> |
f32fc4bc RD |
2177 | </method> |
2178 | </class> | |
2179 | <pythoncode> | |
0f43fbdf RD |
2180 | #--------------------------------------------------------------------------- |
2181 | </pythoncode> | |
781d2982 | 2182 | <class name="ScrollEvent" oldname="wxScrollEvent" module="_core"> |
f32fc4bc RD |
2183 | <baseclass name="CommandEvent"/> |
2184 | <constructor name="ScrollEvent" overloaded="no"> | |
781d2982 | 2185 | <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0, |
0f43fbdf | 2186 | int orient=0) -> ScrollEvent</autodoc> |
f32fc4bc RD |
2187 | <paramlist> |
2188 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
2189 | <param name="winid" type="int" default="0"/> | |
2190 | <param name="pos" type="int" default="0"/> | |
2191 | <param name="orient" type="int" default="0"/> | |
2192 | </paramlist> | |
2193 | </constructor> | |
2194 | <method name="GetOrientation" type="int" overloaded="no"> | |
781d2982 | 2195 | <autodoc>GetOrientation(self) -> int</autodoc> |
f32fc4bc RD |
2196 | </method> |
2197 | <method name="GetPosition" type="int" overloaded="no"> | |
781d2982 | 2198 | <autodoc>GetPosition(self) -> int</autodoc> |
f32fc4bc RD |
2199 | </method> |
2200 | <method name="SetOrientation" type="" overloaded="no"> | |
781d2982 | 2201 | <autodoc>SetOrientation(self, int orient)</autodoc> |
f32fc4bc RD |
2202 | <paramlist> |
2203 | <param name="orient" type="int" default=""/> | |
2204 | </paramlist> | |
2205 | </method> | |
2206 | <method name="SetPosition" type="" overloaded="no"> | |
781d2982 | 2207 | <autodoc>SetPosition(self, int pos)</autodoc> |
f32fc4bc RD |
2208 | <paramlist> |
2209 | <param name="pos" type="int" default=""/> | |
2210 | </paramlist> | |
2211 | </method> | |
2212 | </class> | |
2213 | <pythoncode> | |
0f43fbdf RD |
2214 | #--------------------------------------------------------------------------- |
2215 | </pythoncode> | |
781d2982 | 2216 | <class name="ScrollWinEvent" oldname="wxScrollWinEvent" module="_core"> |
f32fc4bc RD |
2217 | <baseclass name="Event"/> |
2218 | <constructor name="ScrollWinEvent" overloaded="no"> | |
781d2982 | 2219 | <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int pos=0, int orient=0) -> ScrollWinEvent</autodoc> |
f32fc4bc RD |
2220 | <paramlist> |
2221 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
2222 | <param name="pos" type="int" default="0"/> | |
2223 | <param name="orient" type="int" default="0"/> | |
2224 | </paramlist> | |
2225 | </constructor> | |
2226 | <method name="GetOrientation" type="int" overloaded="no"> | |
781d2982 | 2227 | <autodoc>GetOrientation(self) -> int</autodoc> |
f32fc4bc RD |
2228 | </method> |
2229 | <method name="GetPosition" type="int" overloaded="no"> | |
781d2982 | 2230 | <autodoc>GetPosition(self) -> int</autodoc> |
f32fc4bc RD |
2231 | </method> |
2232 | <method name="SetOrientation" type="" overloaded="no"> | |
781d2982 | 2233 | <autodoc>SetOrientation(self, int orient)</autodoc> |
f32fc4bc RD |
2234 | <paramlist> |
2235 | <param name="orient" type="int" default=""/> | |
2236 | </paramlist> | |
2237 | </method> | |
2238 | <method name="SetPosition" type="" overloaded="no"> | |
781d2982 | 2239 | <autodoc>SetPosition(self, int pos)</autodoc> |
f32fc4bc RD |
2240 | <paramlist> |
2241 | <param name="pos" type="int" default=""/> | |
2242 | </paramlist> | |
2243 | </method> | |
2244 | </class> | |
2245 | <pythoncode> | |
0f43fbdf RD |
2246 | #--------------------------------------------------------------------------- |
2247 | </pythoncode> | |
781d2982 | 2248 | <class name="MouseEvent" oldname="wxMouseEvent" module="_core"> |
f32fc4bc RD |
2249 | <baseclass name="Event"/> |
2250 | <constructor name="MouseEvent" overloaded="no"> | |
781d2982 | 2251 | <autodoc>__init__(self, wxEventType mouseType=wxEVT_NULL) -> MouseEvent</autodoc> |
f32fc4bc RD |
2252 | <paramlist> |
2253 | <param name="mouseType" type="wxEventType" default="wxEVT_NULL"/> | |
2254 | </paramlist> | |
2255 | </constructor> | |
2256 | <method name="IsButton" type="bool" overloaded="no"> | |
781d2982 | 2257 | <autodoc>IsButton(self) -> bool</autodoc> |
f32fc4bc RD |
2258 | </method> |
2259 | <method name="ButtonDown" type="bool" overloaded="no"> | |
781d2982 | 2260 | <autodoc>ButtonDown(self, int but=MOUSE_BTN_ANY) -> bool</autodoc> |
f32fc4bc RD |
2261 | <paramlist> |
2262 | <param name="but" type="int" default="wxMOUSE_BTN_ANY"/> | |
2263 | </paramlist> | |
2264 | </method> | |
2265 | <method name="ButtonDClick" type="bool" overloaded="no"> | |
781d2982 | 2266 | <autodoc>ButtonDClick(self, int but=MOUSE_BTN_ANY) -> bool</autodoc> |
f32fc4bc RD |
2267 | <paramlist> |
2268 | <param name="but" type="int" default="wxMOUSE_BTN_ANY"/> | |
2269 | </paramlist> | |
2270 | </method> | |
2271 | <method name="ButtonUp" type="bool" overloaded="no"> | |
781d2982 | 2272 | <autodoc>ButtonUp(self, int but=MOUSE_BTN_ANY) -> bool</autodoc> |
f32fc4bc RD |
2273 | <paramlist> |
2274 | <param name="but" type="int" default="wxMOUSE_BTN_ANY"/> | |
2275 | </paramlist> | |
2276 | </method> | |
2277 | <method name="Button" type="bool" overloaded="no"> | |
781d2982 | 2278 | <autodoc>Button(self, int but) -> bool</autodoc> |
f32fc4bc RD |
2279 | <paramlist> |
2280 | <param name="but" type="int" default=""/> | |
2281 | </paramlist> | |
2282 | </method> | |
2283 | <method name="ButtonIsDown" type="bool" overloaded="no"> | |
781d2982 | 2284 | <autodoc>ButtonIsDown(self, int but) -> bool</autodoc> |
f32fc4bc RD |
2285 | <paramlist> |
2286 | <param name="but" type="int" default=""/> | |
2287 | </paramlist> | |
2288 | </method> | |
2289 | <method name="GetButton" type="int" overloaded="no"> | |
781d2982 | 2290 | <autodoc>GetButton(self) -> int</autodoc> |
f32fc4bc RD |
2291 | </method> |
2292 | <method name="ControlDown" type="bool" overloaded="no"> | |
781d2982 | 2293 | <autodoc>ControlDown(self) -> bool</autodoc> |
f32fc4bc RD |
2294 | </method> |
2295 | <method name="MetaDown" type="bool" overloaded="no"> | |
781d2982 | 2296 | <autodoc>MetaDown(self) -> bool</autodoc> |
f32fc4bc RD |
2297 | </method> |
2298 | <method name="AltDown" type="bool" overloaded="no"> | |
781d2982 | 2299 | <autodoc>AltDown(self) -> bool</autodoc> |
f32fc4bc RD |
2300 | </method> |
2301 | <method name="ShiftDown" type="bool" overloaded="no"> | |
781d2982 | 2302 | <autodoc>ShiftDown(self) -> bool</autodoc> |
f32fc4bc | 2303 | </method> |
ce6878e6 RD |
2304 | <method name="CmdDown" type="bool" overloaded="no"> |
2305 | <autodoc>CmdDown(self) -> bool</autodoc> | |
2306 | <docstring>"Cmd" is a pseudo key which is the same as Control for PC and Unix | |
2307 | platforms but the special "Apple" (a.k.a as "Command") key on | |
2308 | Macs: it makes often sense to use it instead of, say, `ControlDown` | |
2309 | because Cmd key is used for the same thing under Mac as Ctrl | |
2310 | elsewhere. The Ctrl still exists, it's just not used for this | |
2311 | purpose. So for non-Mac platforms this is the same as `ControlDown` | |
2312 | and Macs this is the same as `MetaDown`.</docstring> | |
2313 | </method> | |
f32fc4bc | 2314 | <method name="LeftDown" type="bool" overloaded="no"> |
781d2982 | 2315 | <autodoc>LeftDown(self) -> bool</autodoc> |
f32fc4bc RD |
2316 | </method> |
2317 | <method name="MiddleDown" type="bool" overloaded="no"> | |
781d2982 | 2318 | <autodoc>MiddleDown(self) -> bool</autodoc> |
f32fc4bc RD |
2319 | </method> |
2320 | <method name="RightDown" type="bool" overloaded="no"> | |
781d2982 | 2321 | <autodoc>RightDown(self) -> bool</autodoc> |
f32fc4bc RD |
2322 | </method> |
2323 | <method name="LeftUp" type="bool" overloaded="no"> | |
781d2982 | 2324 | <autodoc>LeftUp(self) -> bool</autodoc> |
f32fc4bc RD |
2325 | </method> |
2326 | <method name="MiddleUp" type="bool" overloaded="no"> | |
781d2982 | 2327 | <autodoc>MiddleUp(self) -> bool</autodoc> |
f32fc4bc RD |
2328 | </method> |
2329 | <method name="RightUp" type="bool" overloaded="no"> | |
781d2982 | 2330 | <autodoc>RightUp(self) -> bool</autodoc> |
f32fc4bc RD |
2331 | </method> |
2332 | <method name="LeftDClick" type="bool" overloaded="no"> | |
781d2982 | 2333 | <autodoc>LeftDClick(self) -> bool</autodoc> |
f32fc4bc RD |
2334 | </method> |
2335 | <method name="MiddleDClick" type="bool" overloaded="no"> | |
781d2982 | 2336 | <autodoc>MiddleDClick(self) -> bool</autodoc> |
f32fc4bc RD |
2337 | </method> |
2338 | <method name="RightDClick" type="bool" overloaded="no"> | |
781d2982 | 2339 | <autodoc>RightDClick(self) -> bool</autodoc> |
f32fc4bc RD |
2340 | </method> |
2341 | <method name="LeftIsDown" type="bool" overloaded="no"> | |
781d2982 | 2342 | <autodoc>LeftIsDown(self) -> bool</autodoc> |
f32fc4bc RD |
2343 | </method> |
2344 | <method name="MiddleIsDown" type="bool" overloaded="no"> | |
781d2982 | 2345 | <autodoc>MiddleIsDown(self) -> bool</autodoc> |
f32fc4bc RD |
2346 | </method> |
2347 | <method name="RightIsDown" type="bool" overloaded="no"> | |
781d2982 | 2348 | <autodoc>RightIsDown(self) -> bool</autodoc> |
f32fc4bc RD |
2349 | </method> |
2350 | <method name="Dragging" type="bool" overloaded="no"> | |
781d2982 | 2351 | <autodoc>Dragging(self) -> bool</autodoc> |
f32fc4bc RD |
2352 | </method> |
2353 | <method name="Moving" type="bool" overloaded="no"> | |
781d2982 | 2354 | <autodoc>Moving(self) -> bool</autodoc> |
f32fc4bc RD |
2355 | </method> |
2356 | <method name="Entering" type="bool" overloaded="no"> | |
781d2982 | 2357 | <autodoc>Entering(self) -> bool</autodoc> |
f32fc4bc RD |
2358 | </method> |
2359 | <method name="Leaving" type="bool" overloaded="no"> | |
781d2982 | 2360 | <autodoc>Leaving(self) -> bool</autodoc> |
f32fc4bc RD |
2361 | </method> |
2362 | <method name="GetPosition" type="Point" overloaded="no"> | |
781d2982 RD |
2363 | <autodoc>GetPosition(self) -> Point</autodoc> |
2364 | <docstring>Returns the position of the mouse in window coordinates when the event | |
2365 | happened.</docstring> | |
f32fc4bc RD |
2366 | </method> |
2367 | <method name="GetPositionTuple" type="" overloaded="no"> | |
2368 | <autodoc>GetPositionTuple() -> (x,y)</autodoc> | |
781d2982 RD |
2369 | <docstring>Returns the position of the mouse in window coordinates when the event |
2370 | happened.</docstring> | |
f32fc4bc RD |
2371 | <paramlist> |
2372 | <param name="OUTPUT" type="long" default=""/> | |
2373 | <param name="OUTPUT" type="long" default=""/> | |
2374 | </paramlist> | |
2375 | </method> | |
2376 | <method name="GetLogicalPosition" type="Point" overloaded="no"> | |
781d2982 | 2377 | <autodoc>GetLogicalPosition(self, DC dc) -> Point</autodoc> |
f32fc4bc RD |
2378 | <paramlist> |
2379 | <param name="dc" type="wxDC" default=""/> | |
2380 | </paramlist> | |
2381 | </method> | |
2382 | <method name="GetX" type="int" overloaded="no"> | |
781d2982 | 2383 | <autodoc>GetX(self) -> int</autodoc> |
f32fc4bc RD |
2384 | </method> |
2385 | <method name="GetY" type="int" overloaded="no"> | |
781d2982 | 2386 | <autodoc>GetY(self) -> int</autodoc> |
f32fc4bc RD |
2387 | </method> |
2388 | <method name="GetWheelRotation" type="int" overloaded="no"> | |
781d2982 | 2389 | <autodoc>GetWheelRotation(self) -> int</autodoc> |
f32fc4bc RD |
2390 | </method> |
2391 | <method name="GetWheelDelta" type="int" overloaded="no"> | |
781d2982 | 2392 | <autodoc>GetWheelDelta(self) -> int</autodoc> |
f32fc4bc RD |
2393 | </method> |
2394 | <method name="GetLinesPerAction" type="int" overloaded="no"> | |
781d2982 | 2395 | <autodoc>GetLinesPerAction(self) -> int</autodoc> |
f32fc4bc RD |
2396 | </method> |
2397 | <method name="IsPageScroll" type="bool" overloaded="no"> | |
781d2982 | 2398 | <autodoc>IsPageScroll(self) -> bool</autodoc> |
f32fc4bc RD |
2399 | </method> |
2400 | <property name="m_x" type="int" readonly="no"/> | |
2401 | <property name="m_y" type="int" readonly="no"/> | |
2402 | <property name="m_leftDown" type="bool" readonly="no"/> | |
2403 | <property name="m_middleDown" type="bool" readonly="no"/> | |
2404 | <property name="m_rightDown" type="bool" readonly="no"/> | |
2405 | <property name="m_controlDown" type="bool" readonly="no"/> | |
2406 | <property name="m_shiftDown" type="bool" readonly="no"/> | |
2407 | <property name="m_altDown" type="bool" readonly="no"/> | |
2408 | <property name="m_metaDown" type="bool" readonly="no"/> | |
2409 | <property name="m_wheelRotation" type="int" readonly="no"/> | |
2410 | <property name="m_wheelDelta" type="int" readonly="no"/> | |
2411 | <property name="m_linesPerAction" type="int" readonly="no"/> | |
2412 | </class> | |
2413 | <pythoncode> | |
0f43fbdf RD |
2414 | #--------------------------------------------------------------------------- |
2415 | </pythoncode> | |
781d2982 | 2416 | <class name="SetCursorEvent" oldname="wxSetCursorEvent" module="_core"> |
f32fc4bc RD |
2417 | <baseclass name="Event"/> |
2418 | <constructor name="SetCursorEvent" overloaded="no"> | |
781d2982 | 2419 | <autodoc>__init__(self, int x=0, int y=0) -> SetCursorEvent</autodoc> |
f32fc4bc RD |
2420 | <paramlist> |
2421 | <param name="x" type="int" default="0"/> | |
2422 | <param name="y" type="int" default="0"/> | |
2423 | </paramlist> | |
2424 | </constructor> | |
2425 | <method name="GetX" type="int" overloaded="no"> | |
781d2982 | 2426 | <autodoc>GetX(self) -> int</autodoc> |
f32fc4bc RD |
2427 | </method> |
2428 | <method name="GetY" type="int" overloaded="no"> | |
781d2982 | 2429 | <autodoc>GetY(self) -> int</autodoc> |
f32fc4bc RD |
2430 | </method> |
2431 | <method name="SetCursor" type="" overloaded="no"> | |
781d2982 | 2432 | <autodoc>SetCursor(self, Cursor cursor)</autodoc> |
f32fc4bc RD |
2433 | <paramlist> |
2434 | <param name="cursor" type="wxCursor" default=""/> | |
2435 | </paramlist> | |
2436 | </method> | |
2437 | <method name="GetCursor" type="wxCursor" overloaded="no"> | |
781d2982 | 2438 | <autodoc>GetCursor(self) -> Cursor</autodoc> |
f32fc4bc RD |
2439 | </method> |
2440 | <method name="HasCursor" type="bool" overloaded="no"> | |
781d2982 | 2441 | <autodoc>HasCursor(self) -> bool</autodoc> |
f32fc4bc RD |
2442 | </method> |
2443 | </class> | |
2444 | <pythoncode> | |
0f43fbdf RD |
2445 | #--------------------------------------------------------------------------- |
2446 | </pythoncode> | |
781d2982 | 2447 | <class name="KeyEvent" oldname="wxKeyEvent" module="_core"> |
f32fc4bc RD |
2448 | <baseclass name="Event"/> |
2449 | <constructor name="KeyEvent" overloaded="no"> | |
781d2982 | 2450 | <autodoc>__init__(self, wxEventType keyType=wxEVT_NULL) -> KeyEvent</autodoc> |
f32fc4bc RD |
2451 | <paramlist> |
2452 | <param name="keyType" type="wxEventType" default="wxEVT_NULL"/> | |
2453 | </paramlist> | |
2454 | </constructor> | |
2455 | <method name="ControlDown" type="bool" overloaded="no"> | |
781d2982 | 2456 | <autodoc>ControlDown(self) -> bool</autodoc> |
f32fc4bc RD |
2457 | </method> |
2458 | <method name="MetaDown" type="bool" overloaded="no"> | |
781d2982 | 2459 | <autodoc>MetaDown(self) -> bool</autodoc> |
f32fc4bc RD |
2460 | </method> |
2461 | <method name="AltDown" type="bool" overloaded="no"> | |
781d2982 | 2462 | <autodoc>AltDown(self) -> bool</autodoc> |
f32fc4bc RD |
2463 | </method> |
2464 | <method name="ShiftDown" type="bool" overloaded="no"> | |
781d2982 | 2465 | <autodoc>ShiftDown(self) -> bool</autodoc> |
f32fc4bc | 2466 | </method> |
ce6878e6 RD |
2467 | <method name="CmdDown" type="bool" overloaded="no"> |
2468 | <autodoc>CmdDown(self) -> bool</autodoc> | |
2469 | <docstring>"Cmd" is a pseudo key which is the same as Control for PC and Unix | |
2470 | platforms but the special "Apple" (a.k.a as "Command") key on | |
2471 | Macs: it makes often sense to use it instead of, say, `ControlDown` | |
2472 | because Cmd key is used for the same thing under Mac as Ctrl | |
2473 | elsewhere. The Ctrl still exists, it's just not used for this | |
2474 | purpose. So for non-Mac platforms this is the same as `ControlDown` | |
2475 | and Macs this is the same as `MetaDown`.</docstring> | |
2476 | </method> | |
f32fc4bc | 2477 | <method name="HasModifiers" type="bool" overloaded="no"> |
781d2982 | 2478 | <autodoc>HasModifiers(self) -> bool</autodoc> |
f32fc4bc RD |
2479 | </method> |
2480 | <method name="GetKeyCode" type="int" overloaded="no"> | |
781d2982 | 2481 | <autodoc>GetKeyCode(self) -> int</autodoc> |
f32fc4bc | 2482 | </method> |
ce6878e6 RD |
2483 | <method name="GetUnicodeKey" type="int" overloaded="no"> |
2484 | <autodoc>GetUnicodeKey(self) -> int</autodoc> | |
f32fc4bc RD |
2485 | </method> |
2486 | <method name="GetRawKeyCode" type="unsigned int" overloaded="no"> | |
781d2982 | 2487 | <autodoc>GetRawKeyCode(self) -> unsigned int</autodoc> |
f32fc4bc RD |
2488 | </method> |
2489 | <method name="GetRawKeyFlags" type="unsigned int" overloaded="no"> | |
781d2982 | 2490 | <autodoc>GetRawKeyFlags(self) -> unsigned int</autodoc> |
f32fc4bc RD |
2491 | </method> |
2492 | <method name="GetPosition" type="Point" overloaded="no"> | |
781d2982 | 2493 | <autodoc>GetPosition(self) -> Point</autodoc> |
f32fc4bc RD |
2494 | <docstring>Find the position of the event.</docstring> |
2495 | </method> | |
2496 | <method name="GetPositionTuple" type="" overloaded="no"> | |
2497 | <autodoc>GetPositionTuple() -> (x,y)</autodoc> | |
2498 | <docstring>Find the position of the event.</docstring> | |
2499 | <paramlist> | |
2500 | <param name="OUTPUT" type="long" default=""/> | |
2501 | <param name="OUTPUT" type="long" default=""/> | |
2502 | </paramlist> | |
2503 | </method> | |
2504 | <method name="GetX" type="int" overloaded="no"> | |
781d2982 | 2505 | <autodoc>GetX(self) -> int</autodoc> |
f32fc4bc RD |
2506 | </method> |
2507 | <method name="GetY" type="int" overloaded="no"> | |
781d2982 | 2508 | <autodoc>GetY(self) -> int</autodoc> |
f32fc4bc RD |
2509 | </method> |
2510 | <property name="m_x" type="int" readonly="no"/> | |
2511 | <property name="m_y" type="int" readonly="no"/> | |
2512 | <property name="m_keyCode" type="long" readonly="no"/> | |
2513 | <property name="m_controlDown" type="bool" readonly="no"/> | |
2514 | <property name="m_shiftDown" type="bool" readonly="no"/> | |
2515 | <property name="m_altDown" type="bool" readonly="no"/> | |
2516 | <property name="m_metaDown" type="bool" readonly="no"/> | |
2517 | <property name="m_scanCode" type="bool" readonly="no"/> | |
2518 | <property name="m_rawCode" type="unsigned int" readonly="no"/> | |
2519 | <property name="m_rawFlags" type="unsigned int" readonly="no"/> | |
2520 | </class> | |
2521 | <pythoncode> | |
0f43fbdf RD |
2522 | #--------------------------------------------------------------------------- |
2523 | </pythoncode> | |
781d2982 | 2524 | <class name="SizeEvent" oldname="wxSizeEvent" module="_core"> |
f32fc4bc RD |
2525 | <baseclass name="Event"/> |
2526 | <constructor name="SizeEvent" overloaded="no"> | |
781d2982 | 2527 | <autodoc>__init__(self, Size sz=DefaultSize, int winid=0) -> SizeEvent</autodoc> |
f32fc4bc RD |
2528 | <paramlist> |
2529 | <param name="sz" type="Size" default="wxDefaultSize"/> | |
2530 | <param name="winid" type="int" default="0"/> | |
2531 | </paramlist> | |
2532 | </constructor> | |
2533 | <method name="GetSize" type="Size" overloaded="no"> | |
781d2982 | 2534 | <autodoc>GetSize(self) -> Size</autodoc> |
f32fc4bc RD |
2535 | </method> |
2536 | <method name="GetRect" type="Rect" overloaded="no"> | |
781d2982 | 2537 | <autodoc>GetRect(self) -> Rect</autodoc> |
f32fc4bc RD |
2538 | </method> |
2539 | <method name="SetRect" type="" overloaded="no"> | |
781d2982 | 2540 | <autodoc>SetRect(self, Rect rect)</autodoc> |
f32fc4bc RD |
2541 | <paramlist> |
2542 | <param name="rect" type="Rect" default=""/> | |
2543 | </paramlist> | |
2544 | </method> | |
2545 | <method name="SetSize" type="" overloaded="no"> | |
781d2982 | 2546 | <autodoc>SetSize(self, Size size)</autodoc> |
f32fc4bc RD |
2547 | <paramlist> |
2548 | <param name="size" type="Size" default=""/> | |
2549 | </paramlist> | |
2550 | </method> | |
2551 | <property name="m_size" type="Size" readonly="no"/> | |
2552 | <property name="m_rect" type="Rect" readonly="no"/> | |
2553 | </class> | |
2554 | <pythoncode> | |
0f43fbdf RD |
2555 | #--------------------------------------------------------------------------- |
2556 | </pythoncode> | |
781d2982 | 2557 | <class name="MoveEvent" oldname="wxMoveEvent" module="_core"> |
f32fc4bc RD |
2558 | <baseclass name="Event"/> |
2559 | <constructor name="MoveEvent" overloaded="no"> | |
781d2982 | 2560 | <autodoc>__init__(self, Point pos=DefaultPosition, int winid=0) -> MoveEvent</autodoc> |
f32fc4bc RD |
2561 | <paramlist> |
2562 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
2563 | <param name="winid" type="int" default="0"/> | |
2564 | </paramlist> | |
2565 | </constructor> | |
2566 | <method name="GetPosition" type="Point" overloaded="no"> | |
781d2982 | 2567 | <autodoc>GetPosition(self) -> Point</autodoc> |
f32fc4bc RD |
2568 | </method> |
2569 | <method name="GetRect" type="Rect" overloaded="no"> | |
781d2982 | 2570 | <autodoc>GetRect(self) -> Rect</autodoc> |
f32fc4bc RD |
2571 | </method> |
2572 | <method name="SetRect" type="" overloaded="no"> | |
781d2982 | 2573 | <autodoc>SetRect(self, Rect rect)</autodoc> |
f32fc4bc RD |
2574 | <paramlist> |
2575 | <param name="rect" type="Rect" default=""/> | |
2576 | </paramlist> | |
2577 | </method> | |
2578 | <method name="SetPosition" type="" overloaded="no"> | |
781d2982 | 2579 | <autodoc>SetPosition(self, Point pos)</autodoc> |
f32fc4bc RD |
2580 | <paramlist> |
2581 | <param name="pos" type="Point" default=""/> | |
2582 | </paramlist> | |
2583 | </method> | |
2584 | <property name="m_pos" type="Point" readonly="no"/> | |
2585 | <property name="m_rect" type="Rect" readonly="no"/> | |
2586 | </class> | |
2587 | <pythoncode> | |
0f43fbdf RD |
2588 | #--------------------------------------------------------------------------- |
2589 | </pythoncode> | |
781d2982 | 2590 | <class name="PaintEvent" oldname="wxPaintEvent" module="_core"> |
f32fc4bc RD |
2591 | <baseclass name="Event"/> |
2592 | <constructor name="PaintEvent" overloaded="no"> | |
781d2982 | 2593 | <autodoc>__init__(self, int Id=0) -> PaintEvent</autodoc> |
f32fc4bc RD |
2594 | <paramlist> |
2595 | <param name="Id" type="int" default="0"/> | |
2596 | </paramlist> | |
2597 | </constructor> | |
2598 | </class> | |
781d2982 | 2599 | <class name="NcPaintEvent" oldname="wxNcPaintEvent" module="_core"> |
f32fc4bc RD |
2600 | <baseclass name="Event"/> |
2601 | <constructor name="NcPaintEvent" overloaded="no"> | |
781d2982 | 2602 | <autodoc>__init__(self, int winid=0) -> NcPaintEvent</autodoc> |
f32fc4bc RD |
2603 | <paramlist> |
2604 | <param name="winid" type="int" default="0"/> | |
2605 | </paramlist> | |
2606 | </constructor> | |
2607 | </class> | |
2608 | <pythoncode> | |
0f43fbdf RD |
2609 | #--------------------------------------------------------------------------- |
2610 | </pythoncode> | |
781d2982 | 2611 | <class name="EraseEvent" oldname="wxEraseEvent" module="_core"> |
f32fc4bc RD |
2612 | <baseclass name="Event"/> |
2613 | <constructor name="EraseEvent" overloaded="no"> | |
781d2982 | 2614 | <autodoc>__init__(self, int Id=0, DC dc=(wxDC *) NULL) -> EraseEvent</autodoc> |
f32fc4bc RD |
2615 | <paramlist> |
2616 | <param name="Id" type="int" default="0"/> | |
2617 | <param name="dc" type="wxDC" default="(wxDC *) NULL"/> | |
2618 | </paramlist> | |
2619 | </constructor> | |
2620 | <method name="GetDC" type="wxDC" overloaded="no"> | |
781d2982 | 2621 | <autodoc>GetDC(self) -> DC</autodoc> |
f32fc4bc RD |
2622 | </method> |
2623 | </class> | |
2624 | <pythoncode> | |
0f43fbdf RD |
2625 | #--------------------------------------------------------------------------- |
2626 | </pythoncode> | |
781d2982 | 2627 | <class name="FocusEvent" oldname="wxFocusEvent" module="_core"> |
f32fc4bc RD |
2628 | <baseclass name="Event"/> |
2629 | <constructor name="FocusEvent" overloaded="no"> | |
781d2982 | 2630 | <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0) -> FocusEvent</autodoc> |
f32fc4bc RD |
2631 | <paramlist> |
2632 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
2633 | <param name="winid" type="int" default="0"/> | |
2634 | </paramlist> | |
2635 | </constructor> | |
2636 | <method name="GetWindow" type="wxWindow" overloaded="no"> | |
781d2982 | 2637 | <autodoc>GetWindow(self) -> Window</autodoc> |
f32fc4bc RD |
2638 | </method> |
2639 | <method name="SetWindow" type="" overloaded="no"> | |
781d2982 | 2640 | <autodoc>SetWindow(self, Window win)</autodoc> |
f32fc4bc RD |
2641 | <paramlist> |
2642 | <param name="win" type="wxWindow" default=""/> | |
2643 | </paramlist> | |
2644 | </method> | |
2645 | </class> | |
2646 | <pythoncode> | |
0f43fbdf RD |
2647 | #--------------------------------------------------------------------------- |
2648 | </pythoncode> | |
781d2982 | 2649 | <class name="ChildFocusEvent" oldname="wxChildFocusEvent" module="_core"> |
f32fc4bc RD |
2650 | <baseclass name="CommandEvent"/> |
2651 | <constructor name="ChildFocusEvent" overloaded="no"> | |
781d2982 | 2652 | <autodoc>__init__(self, Window win=None) -> ChildFocusEvent</autodoc> |
f32fc4bc RD |
2653 | <paramlist> |
2654 | <param name="win" type="wxWindow" default="NULL"/> | |
2655 | </paramlist> | |
2656 | </constructor> | |
2657 | <method name="GetWindow" type="wxWindow" overloaded="no"> | |
781d2982 | 2658 | <autodoc>GetWindow(self) -> Window</autodoc> |
f32fc4bc RD |
2659 | </method> |
2660 | </class> | |
2661 | <pythoncode> | |
0f43fbdf RD |
2662 | #--------------------------------------------------------------------------- |
2663 | </pythoncode> | |
781d2982 | 2664 | <class name="ActivateEvent" oldname="wxActivateEvent" module="_core"> |
f32fc4bc RD |
2665 | <baseclass name="Event"/> |
2666 | <constructor name="ActivateEvent" overloaded="no"> | |
781d2982 | 2667 | <autodoc>__init__(self, wxEventType type=wxEVT_NULL, bool active=True, int Id=0) -> ActivateEvent</autodoc> |
f32fc4bc RD |
2668 | <paramlist> |
2669 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
2670 | <param name="active" type="bool" default="True"/> | |
2671 | <param name="Id" type="int" default="0"/> | |
2672 | </paramlist> | |
2673 | </constructor> | |
2674 | <method name="GetActive" type="bool" overloaded="no"> | |
781d2982 | 2675 | <autodoc>GetActive(self) -> bool</autodoc> |
f32fc4bc RD |
2676 | </method> |
2677 | </class> | |
2678 | <pythoncode> | |
0f43fbdf RD |
2679 | #--------------------------------------------------------------------------- |
2680 | </pythoncode> | |
781d2982 | 2681 | <class name="InitDialogEvent" oldname="wxInitDialogEvent" module="_core"> |
f32fc4bc RD |
2682 | <baseclass name="Event"/> |
2683 | <constructor name="InitDialogEvent" overloaded="no"> | |
781d2982 | 2684 | <autodoc>__init__(self, int Id=0) -> InitDialogEvent</autodoc> |
f32fc4bc RD |
2685 | <paramlist> |
2686 | <param name="Id" type="int" default="0"/> | |
2687 | </paramlist> | |
2688 | </constructor> | |
2689 | </class> | |
2690 | <pythoncode> | |
0f43fbdf RD |
2691 | #--------------------------------------------------------------------------- |
2692 | </pythoncode> | |
781d2982 | 2693 | <class name="MenuEvent" oldname="wxMenuEvent" module="_core"> |
f32fc4bc RD |
2694 | <baseclass name="Event"/> |
2695 | <constructor name="MenuEvent" overloaded="no"> | |
781d2982 | 2696 | <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0, Menu menu=None) -> MenuEvent</autodoc> |
f32fc4bc RD |
2697 | <paramlist> |
2698 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
2699 | <param name="winid" type="int" default="0"/> | |
2700 | <param name="menu" type="wxMenu" default="NULL"/> | |
2701 | </paramlist> | |
2702 | </constructor> | |
2703 | <method name="GetMenuId" type="int" overloaded="no"> | |
781d2982 | 2704 | <autodoc>GetMenuId(self) -> int</autodoc> |
f32fc4bc RD |
2705 | </method> |
2706 | <method name="IsPopup" type="bool" overloaded="no"> | |
781d2982 | 2707 | <autodoc>IsPopup(self) -> bool</autodoc> |
f32fc4bc RD |
2708 | </method> |
2709 | <method name="GetMenu" type="wxMenu" overloaded="no"> | |
781d2982 | 2710 | <autodoc>GetMenu(self) -> Menu</autodoc> |
f32fc4bc RD |
2711 | </method> |
2712 | </class> | |
2713 | <pythoncode> | |
0f43fbdf RD |
2714 | #--------------------------------------------------------------------------- |
2715 | </pythoncode> | |
781d2982 | 2716 | <class name="CloseEvent" oldname="wxCloseEvent" module="_core"> |
f32fc4bc RD |
2717 | <baseclass name="Event"/> |
2718 | <constructor name="CloseEvent" overloaded="no"> | |
781d2982 | 2719 | <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0) -> CloseEvent</autodoc> |
f32fc4bc RD |
2720 | <paramlist> |
2721 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
2722 | <param name="winid" type="int" default="0"/> | |
2723 | </paramlist> | |
2724 | </constructor> | |
2725 | <method name="SetLoggingOff" type="" overloaded="no"> | |
781d2982 | 2726 | <autodoc>SetLoggingOff(self, bool logOff)</autodoc> |
f32fc4bc RD |
2727 | <paramlist> |
2728 | <param name="logOff" type="bool" default=""/> | |
2729 | </paramlist> | |
2730 | </method> | |
2731 | <method name="GetLoggingOff" type="bool" overloaded="no"> | |
781d2982 | 2732 | <autodoc>GetLoggingOff(self) -> bool</autodoc> |
f32fc4bc RD |
2733 | </method> |
2734 | <method name="Veto" type="" overloaded="no"> | |
781d2982 | 2735 | <autodoc>Veto(self, bool veto=True)</autodoc> |
f32fc4bc RD |
2736 | <paramlist> |
2737 | <param name="veto" type="bool" default="True"/> | |
2738 | </paramlist> | |
2739 | </method> | |
2740 | <method name="SetCanVeto" type="" overloaded="no"> | |
781d2982 | 2741 | <autodoc>SetCanVeto(self, bool canVeto)</autodoc> |
f32fc4bc RD |
2742 | <paramlist> |
2743 | <param name="canVeto" type="bool" default=""/> | |
2744 | </paramlist> | |
2745 | </method> | |
2746 | <method name="CanVeto" type="bool" overloaded="no"> | |
781d2982 | 2747 | <autodoc>CanVeto(self) -> bool</autodoc> |
f32fc4bc RD |
2748 | </method> |
2749 | <method name="GetVeto" type="bool" overloaded="no"> | |
781d2982 | 2750 | <autodoc>GetVeto(self) -> bool</autodoc> |
f32fc4bc RD |
2751 | </method> |
2752 | </class> | |
2753 | <pythoncode> | |
0f43fbdf RD |
2754 | #--------------------------------------------------------------------------- |
2755 | </pythoncode> | |
781d2982 | 2756 | <class name="ShowEvent" oldname="wxShowEvent" module="_core"> |
f32fc4bc RD |
2757 | <baseclass name="Event"/> |
2758 | <constructor name="ShowEvent" overloaded="no"> | |
781d2982 | 2759 | <autodoc>__init__(self, int winid=0, bool show=False) -> ShowEvent</autodoc> |
f32fc4bc RD |
2760 | <paramlist> |
2761 | <param name="winid" type="int" default="0"/> | |
2762 | <param name="show" type="bool" default="False"/> | |
2763 | </paramlist> | |
2764 | </constructor> | |
2765 | <method name="SetShow" type="" overloaded="no"> | |
781d2982 | 2766 | <autodoc>SetShow(self, bool show)</autodoc> |
f32fc4bc RD |
2767 | <paramlist> |
2768 | <param name="show" type="bool" default=""/> | |
2769 | </paramlist> | |
2770 | </method> | |
2771 | <method name="GetShow" type="bool" overloaded="no"> | |
781d2982 | 2772 | <autodoc>GetShow(self) -> bool</autodoc> |
f32fc4bc RD |
2773 | </method> |
2774 | </class> | |
2775 | <pythoncode> | |
0f43fbdf RD |
2776 | #--------------------------------------------------------------------------- |
2777 | </pythoncode> | |
781d2982 | 2778 | <class name="IconizeEvent" oldname="wxIconizeEvent" module="_core"> |
f32fc4bc RD |
2779 | <baseclass name="Event"/> |
2780 | <constructor name="IconizeEvent" overloaded="no"> | |
781d2982 | 2781 | <autodoc>__init__(self, int id=0, bool iconized=True) -> IconizeEvent</autodoc> |
f32fc4bc RD |
2782 | <paramlist> |
2783 | <param name="id" type="int" default="0"/> | |
2784 | <param name="iconized" type="bool" default="True"/> | |
2785 | </paramlist> | |
2786 | </constructor> | |
2787 | <method name="Iconized" type="bool" overloaded="no"> | |
781d2982 | 2788 | <autodoc>Iconized(self) -> bool</autodoc> |
f32fc4bc RD |
2789 | </method> |
2790 | </class> | |
2791 | <pythoncode> | |
0f43fbdf RD |
2792 | #--------------------------------------------------------------------------- |
2793 | </pythoncode> | |
781d2982 | 2794 | <class name="MaximizeEvent" oldname="wxMaximizeEvent" module="_core"> |
f32fc4bc RD |
2795 | <baseclass name="Event"/> |
2796 | <constructor name="MaximizeEvent" overloaded="no"> | |
781d2982 | 2797 | <autodoc>__init__(self, int id=0) -> MaximizeEvent</autodoc> |
f32fc4bc RD |
2798 | <paramlist> |
2799 | <param name="id" type="int" default="0"/> | |
2800 | </paramlist> | |
2801 | </constructor> | |
2802 | </class> | |
2803 | <pythoncode> | |
0f43fbdf RD |
2804 | #--------------------------------------------------------------------------- |
2805 | </pythoncode> | |
781d2982 | 2806 | <class name="DropFilesEvent" oldname="wxDropFilesEvent" module="_core"> |
f32fc4bc RD |
2807 | <baseclass name="Event"/> |
2808 | <method name="GetPosition" type="Point" overloaded="no"> | |
781d2982 | 2809 | <autodoc>GetPosition(self) -> Point</autodoc> |
f32fc4bc RD |
2810 | </method> |
2811 | <method name="GetNumberOfFiles" type="int" overloaded="no"> | |
781d2982 | 2812 | <autodoc>GetNumberOfFiles(self) -> int</autodoc> |
f32fc4bc RD |
2813 | </method> |
2814 | <method name="GetFiles" type="PyObject" overloaded="no"> | |
781d2982 | 2815 | <autodoc>GetFiles(self) -> PyObject</autodoc> |
f32fc4bc RD |
2816 | </method> |
2817 | </class> | |
2818 | <pythoncode> | |
0f43fbdf RD |
2819 | #--------------------------------------------------------------------------- |
2820 | </pythoncode> | |
781d2982 | 2821 | <class name="UpdateUIEvent" oldname="wxUpdateUIEvent" module="_core"> |
f32fc4bc RD |
2822 | <baseclass name="CommandEvent"/> |
2823 | <constructor name="UpdateUIEvent" overloaded="no"> | |
781d2982 | 2824 | <autodoc>__init__(self, int commandId=0) -> UpdateUIEvent</autodoc> |
f32fc4bc RD |
2825 | <paramlist> |
2826 | <param name="commandId" type="int" default="0"/> | |
2827 | </paramlist> | |
2828 | </constructor> | |
2829 | <method name="GetChecked" type="bool" overloaded="no"> | |
781d2982 | 2830 | <autodoc>GetChecked(self) -> bool</autodoc> |
f32fc4bc RD |
2831 | </method> |
2832 | <method name="GetEnabled" type="bool" overloaded="no"> | |
781d2982 | 2833 | <autodoc>GetEnabled(self) -> bool</autodoc> |
f32fc4bc RD |
2834 | </method> |
2835 | <method name="GetText" type="String" overloaded="no"> | |
781d2982 | 2836 | <autodoc>GetText(self) -> String</autodoc> |
f32fc4bc RD |
2837 | </method> |
2838 | <method name="GetSetText" type="bool" overloaded="no"> | |
781d2982 | 2839 | <autodoc>GetSetText(self) -> bool</autodoc> |
f32fc4bc RD |
2840 | </method> |
2841 | <method name="GetSetChecked" type="bool" overloaded="no"> | |
781d2982 | 2842 | <autodoc>GetSetChecked(self) -> bool</autodoc> |
f32fc4bc RD |
2843 | </method> |
2844 | <method name="GetSetEnabled" type="bool" overloaded="no"> | |
781d2982 | 2845 | <autodoc>GetSetEnabled(self) -> bool</autodoc> |
f32fc4bc RD |
2846 | </method> |
2847 | <method name="Check" type="" overloaded="no"> | |
781d2982 | 2848 | <autodoc>Check(self, bool check)</autodoc> |
f32fc4bc RD |
2849 | <paramlist> |
2850 | <param name="check" type="bool" default=""/> | |
2851 | </paramlist> | |
2852 | </method> | |
2853 | <method name="Enable" type="" overloaded="no"> | |
781d2982 | 2854 | <autodoc>Enable(self, bool enable)</autodoc> |
f32fc4bc RD |
2855 | <paramlist> |
2856 | <param name="enable" type="bool" default=""/> | |
2857 | </paramlist> | |
2858 | </method> | |
2859 | <method name="SetText" type="" overloaded="no"> | |
781d2982 | 2860 | <autodoc>SetText(self, String text)</autodoc> |
f32fc4bc RD |
2861 | <paramlist> |
2862 | <param name="text" type="String" default=""/> | |
2863 | </paramlist> | |
2864 | </method> | |
2865 | <staticmethod name="SetUpdateInterval" type="" overloaded="no"> | |
2866 | <autodoc>SetUpdateInterval(long updateInterval)</autodoc> | |
2867 | <paramlist> | |
2868 | <param name="updateInterval" type="long" default=""/> | |
2869 | </paramlist> | |
2870 | </staticmethod> | |
2871 | <staticmethod name="GetUpdateInterval" type="long" overloaded="no"> | |
2872 | <autodoc>GetUpdateInterval() -> long</autodoc> | |
2873 | </staticmethod> | |
2874 | <staticmethod name="CanUpdate" type="bool" overloaded="no"> | |
2875 | <autodoc>CanUpdate(Window win) -> bool</autodoc> | |
2876 | <paramlist> | |
2877 | <param name="win" type="wxWindow" default=""/> | |
2878 | </paramlist> | |
2879 | </staticmethod> | |
2880 | <staticmethod name="ResetUpdateTime" type="" overloaded="no"> | |
2881 | <autodoc>ResetUpdateTime()</autodoc> | |
2882 | </staticmethod> | |
2883 | <staticmethod name="SetMode" type="" overloaded="no"> | |
2884 | <autodoc>SetMode(int mode)</autodoc> | |
2885 | <paramlist> | |
2886 | <param name="mode" type="wxUpdateUIMode" default=""/> | |
2887 | </paramlist> | |
2888 | </staticmethod> | |
2889 | <staticmethod name="GetMode" type="wxUpdateUIMode" overloaded="no"> | |
2890 | <autodoc>GetMode() -> int</autodoc> | |
2891 | </staticmethod> | |
2892 | </class> | |
2893 | <pythoncode> | |
0f43fbdf RD |
2894 | #--------------------------------------------------------------------------- |
2895 | </pythoncode> | |
781d2982 | 2896 | <class name="SysColourChangedEvent" oldname="wxSysColourChangedEvent" module="_core"> |
f32fc4bc RD |
2897 | <baseclass name="Event"/> |
2898 | <constructor name="SysColourChangedEvent" overloaded="no"> | |
781d2982 | 2899 | <autodoc>__init__(self) -> SysColourChangedEvent</autodoc> |
f32fc4bc RD |
2900 | </constructor> |
2901 | </class> | |
2902 | <pythoncode> | |
0f43fbdf RD |
2903 | #--------------------------------------------------------------------------- |
2904 | </pythoncode> | |
781d2982 | 2905 | <class name="MouseCaptureChangedEvent" oldname="wxMouseCaptureChangedEvent" module="_core"> |
f32fc4bc RD |
2906 | <baseclass name="Event"/> |
2907 | <constructor name="MouseCaptureChangedEvent" overloaded="no"> | |
781d2982 | 2908 | <autodoc>__init__(self, int winid=0, Window gainedCapture=None) -> MouseCaptureChangedEvent</autodoc> |
f32fc4bc RD |
2909 | <paramlist> |
2910 | <param name="winid" type="int" default="0"/> | |
2911 | <param name="gainedCapture" type="wxWindow" default="NULL"/> | |
2912 | </paramlist> | |
2913 | </constructor> | |
2914 | <method name="GetCapturedWindow" type="wxWindow" overloaded="no"> | |
781d2982 | 2915 | <autodoc>GetCapturedWindow(self) -> Window</autodoc> |
f32fc4bc RD |
2916 | </method> |
2917 | </class> | |
2918 | <pythoncode> | |
0f43fbdf RD |
2919 | #--------------------------------------------------------------------------- |
2920 | </pythoncode> | |
781d2982 | 2921 | <class name="DisplayChangedEvent" oldname="wxDisplayChangedEvent" module="_core"> |
f32fc4bc RD |
2922 | <baseclass name="Event"/> |
2923 | <constructor name="DisplayChangedEvent" overloaded="no"> | |
781d2982 | 2924 | <autodoc>__init__(self) -> DisplayChangedEvent</autodoc> |
f32fc4bc RD |
2925 | </constructor> |
2926 | </class> | |
2927 | <pythoncode> | |
0f43fbdf RD |
2928 | #--------------------------------------------------------------------------- |
2929 | </pythoncode> | |
781d2982 | 2930 | <class name="PaletteChangedEvent" oldname="wxPaletteChangedEvent" module="_core"> |
f32fc4bc RD |
2931 | <baseclass name="Event"/> |
2932 | <constructor name="PaletteChangedEvent" overloaded="no"> | |
781d2982 | 2933 | <autodoc>__init__(self, int id=0) -> PaletteChangedEvent</autodoc> |
f32fc4bc RD |
2934 | <paramlist> |
2935 | <param name="id" type="int" default="0"/> | |
2936 | </paramlist> | |
2937 | </constructor> | |
2938 | <method name="SetChangedWindow" type="" overloaded="no"> | |
781d2982 | 2939 | <autodoc>SetChangedWindow(self, Window win)</autodoc> |
f32fc4bc RD |
2940 | <paramlist> |
2941 | <param name="win" type="wxWindow" default=""/> | |
2942 | </paramlist> | |
2943 | </method> | |
2944 | <method name="GetChangedWindow" type="wxWindow" overloaded="no"> | |
781d2982 | 2945 | <autodoc>GetChangedWindow(self) -> Window</autodoc> |
f32fc4bc RD |
2946 | </method> |
2947 | </class> | |
2948 | <pythoncode> | |
0f43fbdf RD |
2949 | #--------------------------------------------------------------------------- |
2950 | </pythoncode> | |
781d2982 | 2951 | <class name="QueryNewPaletteEvent" oldname="wxQueryNewPaletteEvent" module="_core"> |
f32fc4bc RD |
2952 | <baseclass name="Event"/> |
2953 | <constructor name="QueryNewPaletteEvent" overloaded="no"> | |
781d2982 | 2954 | <autodoc>__init__(self, int winid=0) -> QueryNewPaletteEvent</autodoc> |
f32fc4bc RD |
2955 | <paramlist> |
2956 | <param name="winid" type="int" default="0"/> | |
2957 | </paramlist> | |
2958 | </constructor> | |
2959 | <method name="SetPaletteRealized" type="" overloaded="no"> | |
781d2982 | 2960 | <autodoc>SetPaletteRealized(self, bool realized)</autodoc> |
f32fc4bc RD |
2961 | <paramlist> |
2962 | <param name="realized" type="bool" default=""/> | |
2963 | </paramlist> | |
2964 | </method> | |
2965 | <method name="GetPaletteRealized" type="bool" overloaded="no"> | |
781d2982 | 2966 | <autodoc>GetPaletteRealized(self) -> bool</autodoc> |
f32fc4bc RD |
2967 | </method> |
2968 | </class> | |
2969 | <pythoncode> | |
0f43fbdf RD |
2970 | #--------------------------------------------------------------------------- |
2971 | </pythoncode> | |
781d2982 | 2972 | <class name="NavigationKeyEvent" oldname="wxNavigationKeyEvent" module="_core"> |
f32fc4bc RD |
2973 | <baseclass name="Event"/> |
2974 | <constructor name="NavigationKeyEvent" overloaded="no"> | |
781d2982 | 2975 | <autodoc>__init__(self) -> NavigationKeyEvent</autodoc> |
f32fc4bc RD |
2976 | </constructor> |
2977 | <method name="GetDirection" type="bool" overloaded="no"> | |
781d2982 | 2978 | <autodoc>GetDirection(self) -> bool</autodoc> |
f32fc4bc RD |
2979 | </method> |
2980 | <method name="SetDirection" type="" overloaded="no"> | |
ce6878e6 | 2981 | <autodoc>SetDirection(self, bool forward)</autodoc> |
f32fc4bc | 2982 | <paramlist> |
ce6878e6 | 2983 | <param name="forward" type="bool" default=""/> |
f32fc4bc RD |
2984 | </paramlist> |
2985 | </method> | |
2986 | <method name="IsWindowChange" type="bool" overloaded="no"> | |
781d2982 | 2987 | <autodoc>IsWindowChange(self) -> bool</autodoc> |
f32fc4bc RD |
2988 | </method> |
2989 | <method name="SetWindowChange" type="" overloaded="no"> | |
ce6878e6 RD |
2990 | <autodoc>SetWindowChange(self, bool ischange)</autodoc> |
2991 | <paramlist> | |
2992 | <param name="ischange" type="bool" default=""/> | |
2993 | </paramlist> | |
2994 | </method> | |
2995 | <method name="SetFlags" type="" overloaded="no"> | |
2996 | <autodoc>SetFlags(self, long flags)</autodoc> | |
f32fc4bc | 2997 | <paramlist> |
ce6878e6 | 2998 | <param name="flags" type="long" default=""/> |
f32fc4bc RD |
2999 | </paramlist> |
3000 | </method> | |
3001 | <method name="GetCurrentFocus" type="wxWindow" overloaded="no"> | |
781d2982 | 3002 | <autodoc>GetCurrentFocus(self) -> Window</autodoc> |
f32fc4bc RD |
3003 | </method> |
3004 | <method name="SetCurrentFocus" type="" overloaded="no"> | |
781d2982 | 3005 | <autodoc>SetCurrentFocus(self, Window win)</autodoc> |
f32fc4bc RD |
3006 | <paramlist> |
3007 | <param name="win" type="wxWindow" default=""/> | |
3008 | </paramlist> | |
3009 | </method> | |
3010 | </class> | |
3011 | <pythoncode> | |
0f43fbdf RD |
3012 | #--------------------------------------------------------------------------- |
3013 | </pythoncode> | |
781d2982 | 3014 | <class name="WindowCreateEvent" oldname="wxWindowCreateEvent" module="_core"> |
f32fc4bc RD |
3015 | <baseclass name="CommandEvent"/> |
3016 | <constructor name="WindowCreateEvent" overloaded="no"> | |
781d2982 | 3017 | <autodoc>__init__(self, Window win=None) -> WindowCreateEvent</autodoc> |
f32fc4bc RD |
3018 | <paramlist> |
3019 | <param name="win" type="wxWindow" default="NULL"/> | |
3020 | </paramlist> | |
3021 | </constructor> | |
3022 | <method name="GetWindow" type="wxWindow" overloaded="no"> | |
781d2982 | 3023 | <autodoc>GetWindow(self) -> Window</autodoc> |
f32fc4bc RD |
3024 | </method> |
3025 | </class> | |
781d2982 | 3026 | <class name="WindowDestroyEvent" oldname="wxWindowDestroyEvent" module="_core"> |
f32fc4bc RD |
3027 | <baseclass name="CommandEvent"/> |
3028 | <constructor name="WindowDestroyEvent" overloaded="no"> | |
781d2982 | 3029 | <autodoc>__init__(self, Window win=None) -> WindowDestroyEvent</autodoc> |
f32fc4bc RD |
3030 | <paramlist> |
3031 | <param name="win" type="wxWindow" default="NULL"/> | |
3032 | </paramlist> | |
3033 | </constructor> | |
3034 | <method name="GetWindow" type="wxWindow" overloaded="no"> | |
781d2982 | 3035 | <autodoc>GetWindow(self) -> Window</autodoc> |
f32fc4bc RD |
3036 | </method> |
3037 | </class> | |
3038 | <pythoncode> | |
0f43fbdf RD |
3039 | #--------------------------------------------------------------------------- |
3040 | </pythoncode> | |
781d2982 | 3041 | <class name="ContextMenuEvent" oldname="wxContextMenuEvent" module="_core"> |
f32fc4bc RD |
3042 | <baseclass name="CommandEvent"/> |
3043 | <constructor name="ContextMenuEvent" overloaded="no"> | |
781d2982 | 3044 | <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> ContextMenuEvent</autodoc> |
f32fc4bc RD |
3045 | <paramlist> |
3046 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
3047 | <param name="winid" type="int" default="0"/> | |
3048 | <param name="pt" type="Point" default="wxDefaultPosition"/> | |
3049 | </paramlist> | |
3050 | </constructor> | |
3051 | <method name="GetPosition" type="Point" overloaded="no"> | |
781d2982 | 3052 | <autodoc>GetPosition(self) -> Point</autodoc> |
f32fc4bc RD |
3053 | </method> |
3054 | <method name="SetPosition" type="" overloaded="no"> | |
781d2982 | 3055 | <autodoc>SetPosition(self, Point pos)</autodoc> |
f32fc4bc RD |
3056 | <paramlist> |
3057 | <param name="pos" type="Point" default=""/> | |
3058 | </paramlist> | |
3059 | </method> | |
3060 | </class> | |
3061 | <pythoncode> | |
856bf319 RD |
3062 | #--------------------------------------------------------------------------- |
3063 | </pythoncode> | |
781d2982 | 3064 | <class name="IdleEvent" oldname="wxIdleEvent" module="_core"> |
f32fc4bc RD |
3065 | <baseclass name="Event"/> |
3066 | <constructor name="IdleEvent" overloaded="no"> | |
781d2982 | 3067 | <autodoc>__init__(self) -> IdleEvent</autodoc> |
f32fc4bc RD |
3068 | </constructor> |
3069 | <method name="RequestMore" type="" overloaded="no"> | |
781d2982 | 3070 | <autodoc>RequestMore(self, bool needMore=True)</autodoc> |
f32fc4bc RD |
3071 | <paramlist> |
3072 | <param name="needMore" type="bool" default="True"/> | |
3073 | </paramlist> | |
3074 | </method> | |
3075 | <method name="MoreRequested" type="bool" overloaded="no"> | |
781d2982 | 3076 | <autodoc>MoreRequested(self) -> bool</autodoc> |
f32fc4bc RD |
3077 | </method> |
3078 | <staticmethod name="SetMode" type="" overloaded="no"> | |
3079 | <autodoc>SetMode(int mode)</autodoc> | |
3080 | <paramlist> | |
3081 | <param name="mode" type="wxIdleMode" default=""/> | |
3082 | </paramlist> | |
3083 | </staticmethod> | |
3084 | <staticmethod name="GetMode" type="wxIdleMode" overloaded="no"> | |
3085 | <autodoc>GetMode() -> int</autodoc> | |
3086 | </staticmethod> | |
3087 | <staticmethod name="CanSend" type="bool" overloaded="no"> | |
3088 | <autodoc>CanSend(Window win) -> bool</autodoc> | |
3089 | <paramlist> | |
3090 | <param name="win" type="wxWindow" default=""/> | |
3091 | </paramlist> | |
3092 | </staticmethod> | |
3093 | </class> | |
3094 | <pythoncode> | |
856bf319 RD |
3095 | #--------------------------------------------------------------------------- |
3096 | </pythoncode> | |
781d2982 | 3097 | <class name="PyEvent" oldname="wxPyEvent" module="_core"> |
f32fc4bc RD |
3098 | <baseclass name="Event"/> |
3099 | <constructor name="PyEvent" overloaded="no"> | |
781d2982 | 3100 | <autodoc>__init__(self, int winid=0, wxEventType commandType=wxEVT_NULL) -> PyEvent</autodoc> |
f32fc4bc RD |
3101 | <paramlist> |
3102 | <param name="winid" type="int" default="0"/> | |
3103 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
3104 | </paramlist> | |
3105 | </constructor> | |
3106 | <destructor name="~wxPyEvent" overloaded="no"> | |
781d2982 | 3107 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
3108 | </destructor> |
3109 | <method name="SetSelf" type="" overloaded="no"> | |
781d2982 | 3110 | <autodoc>SetSelf(self, PyObject self)</autodoc> |
f32fc4bc RD |
3111 | <paramlist> |
3112 | <param name="self" type="PyObject" default=""/> | |
3113 | </paramlist> | |
3114 | </method> | |
3115 | <method name="GetSelf" type="PyObject" overloaded="no"> | |
781d2982 | 3116 | <autodoc>GetSelf(self) -> PyObject</autodoc> |
f32fc4bc RD |
3117 | </method> |
3118 | </class> | |
781d2982 | 3119 | <class name="PyCommandEvent" oldname="wxPyCommandEvent" module="_core"> |
f32fc4bc RD |
3120 | <baseclass name="CommandEvent"/> |
3121 | <constructor name="PyCommandEvent" overloaded="no"> | |
781d2982 | 3122 | <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> PyCommandEvent</autodoc> |
f32fc4bc RD |
3123 | <paramlist> |
3124 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
3125 | <param name="id" type="int" default="0"/> | |
3126 | </paramlist> | |
3127 | </constructor> | |
3128 | <destructor name="~wxPyCommandEvent" overloaded="no"> | |
781d2982 | 3129 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
3130 | </destructor> |
3131 | <method name="SetSelf" type="" overloaded="no"> | |
781d2982 | 3132 | <autodoc>SetSelf(self, PyObject self)</autodoc> |
f32fc4bc RD |
3133 | <paramlist> |
3134 | <param name="self" type="PyObject" default=""/> | |
3135 | </paramlist> | |
3136 | </method> | |
3137 | <method name="GetSelf" type="PyObject" overloaded="no"> | |
781d2982 | 3138 | <autodoc>GetSelf(self) -> PyObject</autodoc> |
f32fc4bc RD |
3139 | </method> |
3140 | </class> | |
3141 | <pythoncode> | |
856bf319 RD |
3142 | #--------------------------------------------------------------------------- |
3143 | </pythoncode> | |
781d2982 RD |
3144 | <class name="PyApp" oldname="wxPyApp" module="_core"> |
3145 | <docstring>The ``wx.PyApp`` class is an *implementation detail*, please use the | |
3146 | `wx.App` class (or some other derived class) instead.</docstring> | |
f32fc4bc RD |
3147 | <baseclass name="EvtHandler"/> |
3148 | <constructor name="PyApp" overloaded="no"> | |
781d2982 | 3149 | <autodoc>__init__(self) -> PyApp</autodoc> |
f32fc4bc RD |
3150 | <docstring>Create a new application object, starting the bootstrap process.</docstring> |
3151 | </constructor> | |
3152 | <destructor name="~wxPyApp" overloaded="no"> | |
781d2982 | 3153 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
3154 | </destructor> |
3155 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 3156 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
3157 | <paramlist> |
3158 | <param name="self" type="PyObject" default=""/> | |
3159 | <param name="_class" type="PyObject" default=""/> | |
3160 | </paramlist> | |
3161 | </method> | |
3162 | <method name="GetAppName" type="String" overloaded="no"> | |
781d2982 | 3163 | <autodoc>GetAppName(self) -> String</autodoc> |
f32fc4bc RD |
3164 | <docstring>Get the application name.</docstring> |
3165 | </method> | |
3166 | <method name="SetAppName" type="" overloaded="no"> | |
781d2982 RD |
3167 | <autodoc>SetAppName(self, String name)</autodoc> |
3168 | <docstring>Set the application name. This value may be used automatically by | |
3169 | `wx.Config` and such.</docstring> | |
f32fc4bc RD |
3170 | <paramlist> |
3171 | <param name="name" type="String" default=""/> | |
3172 | </paramlist> | |
3173 | </method> | |
3174 | <method name="GetClassName" type="String" overloaded="no"> | |
781d2982 | 3175 | <autodoc>GetClassName(self) -> String</autodoc> |
f32fc4bc RD |
3176 | <docstring>Get the application's class name.</docstring> |
3177 | </method> | |
3178 | <method name="SetClassName" type="" overloaded="no"> | |
781d2982 RD |
3179 | <autodoc>SetClassName(self, String name)</autodoc> |
3180 | <docstring>Set the application's class name. This value may be used for | |
3181 | X-resources if applicable for the platform</docstring> | |
f32fc4bc RD |
3182 | <paramlist> |
3183 | <param name="name" type="String" default=""/> | |
3184 | </paramlist> | |
3185 | </method> | |
3186 | <method name="GetVendorName" type="String" overloaded="no"> | |
781d2982 | 3187 | <autodoc>GetVendorName(self) -> String</autodoc> |
f32fc4bc RD |
3188 | <docstring>Get the application's vendor name.</docstring> |
3189 | </method> | |
3190 | <method name="SetVendorName" type="" overloaded="no"> | |
781d2982 RD |
3191 | <autodoc>SetVendorName(self, String name)</autodoc> |
3192 | <docstring>Set the application's vendor name. This value may be used | |
3193 | automatically by `wx.Config` and such.</docstring> | |
f32fc4bc RD |
3194 | <paramlist> |
3195 | <param name="name" type="String" default=""/> | |
3196 | </paramlist> | |
3197 | </method> | |
3198 | <method name="GetTraits" type="wxAppTraits" overloaded="no"> | |
781d2982 RD |
3199 | <autodoc>GetTraits(self) -> wxAppTraits</autodoc> |
3200 | <docstring>Return (and create if necessary) the app traits object to which we | |
3201 | delegate for everything which either should be configurable by the | |
3202 | user (then he can change the default behaviour simply by overriding | |
3203 | CreateTraits() and returning his own traits object) or which is | |
3204 | GUI/console dependent as then wx.AppTraits allows us to abstract the | |
3205 | differences behind the common facade. | |
3206 | ||
3207 | :todo: Add support for overriding CreateAppTraits in wxPython.</docstring> | |
f32fc4bc RD |
3208 | </method> |
3209 | <method name="ProcessPendingEvents" type="" overloaded="no"> | |
781d2982 RD |
3210 | <autodoc>ProcessPendingEvents(self)</autodoc> |
3211 | <docstring>Process all events in the Pending Events list -- it is necessary to | |
3212 | call this function to process posted events. This normally happens | |
3213 | during each event loop iteration.</docstring> | |
f32fc4bc RD |
3214 | </method> |
3215 | <method name="Yield" type="bool" overloaded="no"> | |
781d2982 RD |
3216 | <autodoc>Yield(self, bool onlyIfNeeded=False) -> bool</autodoc> |
3217 | <docstring>Process all currently pending events right now, instead of waiting | |
3218 | until return to the event loop. It is an error to call ``Yield`` | |
3219 | recursively unless the value of ``onlyIfNeeded`` is True. | |
3220 | ||
3221 | :warning: This function is dangerous as it can lead to unexpected | |
3222 | reentrancies (i.e. when called from an event handler it may | |
3223 | result in calling the same event handler again), use with | |
3224 | extreme care or, better, don't use at all! | |
3225 | ||
3226 | :see: `wx.Yield`, `wx.YieldIfNeeded`, `wx.SafeYield` | |
0f43fbdf | 3227 | </docstring> |
f32fc4bc RD |
3228 | <paramlist> |
3229 | <param name="onlyIfNeeded" type="bool" default="False"/> | |
3230 | </paramlist> | |
3231 | </method> | |
3232 | <method name="WakeUpIdle" type="" overloaded="no"> | |
781d2982 RD |
3233 | <autodoc>WakeUpIdle(self)</autodoc> |
3234 | <docstring>Make sure that idle events are sent again. | |
3235 | :see: `wx.WakeUpIdle`</docstring> | |
f32fc4bc RD |
3236 | </method> |
3237 | <method name="MainLoop" type="int" overloaded="no"> | |
781d2982 RD |
3238 | <autodoc>MainLoop(self) -> int</autodoc> |
3239 | <docstring>Execute the main GUI loop, the function doesn't normally return until | |
3240 | all top level windows have been closed and destroyed.</docstring> | |
f32fc4bc RD |
3241 | </method> |
3242 | <method name="Exit" type="" overloaded="no"> | |
781d2982 RD |
3243 | <autodoc>Exit(self)</autodoc> |
3244 | <docstring>Exit the main loop thus terminating the application. | |
3245 | :see: `wx.Exit`</docstring> | |
f32fc4bc RD |
3246 | </method> |
3247 | <method name="ExitMainLoop" type="" overloaded="no"> | |
781d2982 RD |
3248 | <autodoc>ExitMainLoop(self)</autodoc> |
3249 | <docstring>Exit the main GUI loop during the next iteration of the main | |
3250 | loop, (i.e. it does not stop the program immediately!)</docstring> | |
f32fc4bc RD |
3251 | </method> |
3252 | <method name="Pending" type="bool" overloaded="no"> | |
781d2982 | 3253 | <autodoc>Pending(self) -> bool</autodoc> |
f32fc4bc RD |
3254 | <docstring>Returns True if there are unprocessed events in the event queue.</docstring> |
3255 | </method> | |
3256 | <method name="Dispatch" type="bool" overloaded="no"> | |
781d2982 | 3257 | <autodoc>Dispatch(self) -> bool</autodoc> |
f32fc4bc | 3258 | <docstring>Process the first event in the event queue (blocks until an event |
0f43fbdf | 3259 | appears if there are none currently)</docstring> |
f32fc4bc RD |
3260 | </method> |
3261 | <method name="ProcessIdle" type="bool" overloaded="no"> | |
781d2982 RD |
3262 | <autodoc>ProcessIdle(self) -> bool</autodoc> |
3263 | <docstring>Called from the MainLoop when the application becomes idle (there are | |
3264 | no pending events) and sends a `wx.IdleEvent` to all interested | |
3265 | parties. Returns True if more idle events are needed, False if not.</docstring> | |
f32fc4bc RD |
3266 | </method> |
3267 | <method name="SendIdleEvents" type="bool" overloaded="no"> | |
781d2982 RD |
3268 | <autodoc>SendIdleEvents(self, Window win, IdleEvent event) -> bool</autodoc> |
3269 | <docstring>Send idle event to window and all subwindows. Returns True if more | |
3270 | idle time is requested.</docstring> | |
f32fc4bc RD |
3271 | <paramlist> |
3272 | <param name="win" type="wxWindow" default=""/> | |
3273 | <param name="event" type="IdleEvent" default=""/> | |
3274 | </paramlist> | |
3275 | </method> | |
3276 | <method name="IsActive" type="bool" overloaded="no"> | |
781d2982 | 3277 | <autodoc>IsActive(self) -> bool</autodoc> |
f32fc4bc RD |
3278 | <docstring>Return True if our app has focus.</docstring> |
3279 | </method> | |
3280 | <method name="SetTopWindow" type="" overloaded="no"> | |
781d2982 RD |
3281 | <autodoc>SetTopWindow(self, Window win)</autodoc> |
3282 | <docstring>Set the *main* top level window</docstring> | |
f32fc4bc RD |
3283 | <paramlist> |
3284 | <param name="win" type="wxWindow" default=""/> | |
3285 | </paramlist> | |
3286 | </method> | |
3287 | <method name="GetTopWindow" type="wxWindow" overloaded="no"> | |
781d2982 RD |
3288 | <autodoc>GetTopWindow(self) -> Window</autodoc> |
3289 | <docstring>Return the *main* top level window (if it hadn't been set previously | |
3290 | with SetTopWindow(), will return just some top level window and, if | |
3291 | there not any, will return None)</docstring> | |
f32fc4bc RD |
3292 | </method> |
3293 | <method name="SetExitOnFrameDelete" type="" overloaded="no"> | |
781d2982 RD |
3294 | <autodoc>SetExitOnFrameDelete(self, bool flag)</autodoc> |
3295 | <docstring>Control the exit behaviour: by default, the program will exit the main | |
3296 | loop (and so, usually, terminate) when the last top-level program | |
3297 | window is deleted. Beware that if you disable this behaviour (with | |
3298 | SetExitOnFrameDelete(False)), you'll have to call ExitMainLoop() | |
3299 | explicitly from somewhere.</docstring> | |
f32fc4bc RD |
3300 | <paramlist> |
3301 | <param name="flag" type="bool" default=""/> | |
3302 | </paramlist> | |
3303 | </method> | |
3304 | <method name="GetExitOnFrameDelete" type="bool" overloaded="no"> | |
781d2982 | 3305 | <autodoc>GetExitOnFrameDelete(self) -> bool</autodoc> |
f32fc4bc RD |
3306 | <docstring>Get the current exit behaviour setting.</docstring> |
3307 | </method> | |
3308 | <method name="SetUseBestVisual" type="" overloaded="no"> | |
781d2982 RD |
3309 | <autodoc>SetUseBestVisual(self, bool flag)</autodoc> |
3310 | <docstring>Set whether the app should try to use the best available visual on | |
3311 | systems where more than one is available, (Sun, SGI, XFree86 4, etc.)</docstring> | |
f32fc4bc RD |
3312 | <paramlist> |
3313 | <param name="flag" type="bool" default=""/> | |
3314 | </paramlist> | |
3315 | </method> | |
3316 | <method name="GetUseBestVisual" type="bool" overloaded="no"> | |
781d2982 | 3317 | <autodoc>GetUseBestVisual(self) -> bool</autodoc> |
f32fc4bc RD |
3318 | <docstring>Get current UseBestVisual setting.</docstring> |
3319 | </method> | |
3320 | <method name="SetPrintMode" type="" overloaded="no"> | |
781d2982 | 3321 | <autodoc>SetPrintMode(self, int mode)</autodoc> |
f32fc4bc RD |
3322 | <paramlist> |
3323 | <param name="mode" type="int" default=""/> | |
3324 | </paramlist> | |
3325 | </method> | |
3326 | <method name="GetPrintMode" type="int" overloaded="no"> | |
781d2982 | 3327 | <autodoc>GetPrintMode(self) -> int</autodoc> |
f32fc4bc RD |
3328 | </method> |
3329 | <method name="SetAssertMode" type="" overloaded="no"> | |
781d2982 | 3330 | <autodoc>SetAssertMode(self, int mode)</autodoc> |
ce6878e6 RD |
3331 | <docstring>Set the OnAssert behaviour for debug and hybrid builds.The following flags may be or'd together: |
3332 | ||
3333 | ========================= ======================================= | |
3334 | wx.PYAPP_ASSERT_SUPPRESS Don't do anything | |
3335 | wx.PYAPP_ASSERT_EXCEPTION Turn it into a Python exception if possible | |
3336 | (default) | |
3337 | wx.PYAPP_ASSERT_DIALOG Display a message dialog | |
3338 | wx.PYAPP_ASSERT_LOG Write the assertion info to the wx.Log | |
3339 | ========================= ======================================= | |
3340 | ||
3341 | </docstring> | |
f32fc4bc RD |
3342 | <paramlist> |
3343 | <param name="mode" type="int" default=""/> | |
3344 | </paramlist> | |
3345 | </method> | |
3346 | <method name="GetAssertMode" type="int" overloaded="no"> | |
781d2982 | 3347 | <autodoc>GetAssertMode(self) -> int</autodoc> |
f32fc4bc RD |
3348 | <docstring>Get the current OnAssert behaviour setting.</docstring> |
3349 | </method> | |
3350 | <staticmethod name="GetMacSupportPCMenuShortcuts" type="bool" overloaded="no"> | |
3351 | <autodoc>GetMacSupportPCMenuShortcuts() -> bool</autodoc> | |
3352 | </staticmethod> | |
3353 | <staticmethod name="GetMacAboutMenuItemId" type="long" overloaded="no"> | |
3354 | <autodoc>GetMacAboutMenuItemId() -> long</autodoc> | |
3355 | </staticmethod> | |
3356 | <staticmethod name="GetMacPreferencesMenuItemId" type="long" overloaded="no"> | |
3357 | <autodoc>GetMacPreferencesMenuItemId() -> long</autodoc> | |
3358 | </staticmethod> | |
3359 | <staticmethod name="GetMacExitMenuItemId" type="long" overloaded="no"> | |
3360 | <autodoc>GetMacExitMenuItemId() -> long</autodoc> | |
3361 | </staticmethod> | |
3362 | <staticmethod name="GetMacHelpMenuTitleName" type="String" overloaded="no"> | |
3363 | <autodoc>GetMacHelpMenuTitleName() -> String</autodoc> | |
3364 | </staticmethod> | |
3365 | <staticmethod name="SetMacSupportPCMenuShortcuts" type="" overloaded="no"> | |
3366 | <autodoc>SetMacSupportPCMenuShortcuts(bool val)</autodoc> | |
3367 | <paramlist> | |
3368 | <param name="val" type="bool" default=""/> | |
3369 | </paramlist> | |
3370 | </staticmethod> | |
3371 | <staticmethod name="SetMacAboutMenuItemId" type="" overloaded="no"> | |
3372 | <autodoc>SetMacAboutMenuItemId(long val)</autodoc> | |
3373 | <paramlist> | |
3374 | <param name="val" type="long" default=""/> | |
3375 | </paramlist> | |
3376 | </staticmethod> | |
3377 | <staticmethod name="SetMacPreferencesMenuItemId" type="" overloaded="no"> | |
3378 | <autodoc>SetMacPreferencesMenuItemId(long val)</autodoc> | |
3379 | <paramlist> | |
3380 | <param name="val" type="long" default=""/> | |
3381 | </paramlist> | |
3382 | </staticmethod> | |
3383 | <staticmethod name="SetMacExitMenuItemId" type="" overloaded="no"> | |
3384 | <autodoc>SetMacExitMenuItemId(long val)</autodoc> | |
3385 | <paramlist> | |
3386 | <param name="val" type="long" default=""/> | |
3387 | </paramlist> | |
3388 | </staticmethod> | |
3389 | <staticmethod name="SetMacHelpMenuTitleName" type="" overloaded="no"> | |
3390 | <autodoc>SetMacHelpMenuTitleName(String val)</autodoc> | |
3391 | <paramlist> | |
3392 | <param name="val" type="String" default=""/> | |
3393 | </paramlist> | |
3394 | </staticmethod> | |
3395 | <method name="_BootstrapApp" type="" overloaded="no"> | |
781d2982 | 3396 | <autodoc>_BootstrapApp(self)</autodoc> |
f32fc4bc RD |
3397 | <docstring>For internal use only</docstring> |
3398 | </method> | |
3399 | <staticmethod name="GetComCtl32Version" type="int" overloaded="no"> | |
3400 | <autodoc>GetComCtl32Version() -> int</autodoc> | |
781d2982 RD |
3401 | <docstring>Returns 400, 470, 471, etc. for comctl32.dll 4.00, 4.70, 4.71 or 0 if |
3402 | it wasn't found at all. Raises an exception on non-Windows platforms.</docstring> | |
f32fc4bc RD |
3403 | </staticmethod> |
3404 | </class> | |
3405 | <pythoncode> | |
856bf319 RD |
3406 | #--------------------------------------------------------------------------- |
3407 | </pythoncode> | |
f32fc4bc RD |
3408 | <method name="Exit" oldname="wxExit" type="" overloaded="no"> |
3409 | <autodoc>Exit()</autodoc> | |
3410 | <docstring>Force an exit of the application. Convenience for wx.GetApp().Exit()</docstring> | |
3411 | </method> | |
3412 | <method name="Yield" oldname="wxYield" type="bool" overloaded="no"> | |
3413 | <autodoc>Yield() -> bool</autodoc> | |
3414 | <docstring>Yield to other apps/messages. Convenience for wx.GetApp().Yield()</docstring> | |
3415 | </method> | |
3416 | <method name="YieldIfNeeded" oldname="wxYieldIfNeeded" type="bool" overloaded="no"> | |
3417 | <autodoc>YieldIfNeeded() -> bool</autodoc> | |
3418 | <docstring>Yield to other apps/messages. Convenience for wx.GetApp().Yield(True)</docstring> | |
3419 | </method> | |
3420 | <method name="SafeYield" oldname="wxSafeYield" type="bool" overloaded="no"> | |
3421 | <autodoc>SafeYield(Window win=None, bool onlyIfNeeded=False) -> bool</autodoc> | |
781d2982 RD |
3422 | <docstring>This function is similar to `wx.Yield`, except that it disables the |
3423 | user input to all program windows before calling `wx.Yield` and | |
3424 | re-enables it again afterwards. If ``win`` is not None, this window | |
3425 | will remain enabled, allowing the implementation of some limited user | |
3426 | interaction. | |
0f43fbdf | 3427 | |
781d2982 | 3428 | :Returns: the result of the call to `wx.Yield`.</docstring> |
f32fc4bc RD |
3429 | <paramlist> |
3430 | <param name="win" type="wxWindow" default="NULL"/> | |
3431 | <param name="onlyIfNeeded" type="bool" default="False"/> | |
3432 | </paramlist> | |
3433 | </method> | |
3434 | <method name="WakeUpIdle" oldname="wxWakeUpIdle" type="" overloaded="no"> | |
3435 | <autodoc>WakeUpIdle()</autodoc> | |
781d2982 RD |
3436 | <docstring>Cause the message queue to become empty again, so idle events will be |
3437 | sent.</docstring> | |
f32fc4bc RD |
3438 | </method> |
3439 | <method name="PostEvent" oldname="wxPostEvent" type="" overloaded="no"> | |
3440 | <autodoc>PostEvent(EvtHandler dest, Event event)</autodoc> | |
781d2982 RD |
3441 | <docstring>Send an event to a window or other wx.EvtHandler to be processed |
3442 | later.</docstring> | |
f32fc4bc RD |
3443 | <paramlist> |
3444 | <param name="dest" type="EvtHandler" default=""/> | |
3445 | <param name="event" type="Event" default=""/> | |
3446 | </paramlist> | |
3447 | </method> | |
3448 | <method name="App_CleanUp" oldname="wxApp_CleanUp" type="" overloaded="no"> | |
3449 | <autodoc>App_CleanUp()</autodoc> | |
781d2982 RD |
3450 | <docstring>For internal use only, it is used to cleanup after wxWidgets when |
3451 | Python shuts down.</docstring> | |
f32fc4bc | 3452 | </method> |
781d2982 | 3453 | <method name="GetApp" oldname="wxPyGetApp" type="PyApp" overloaded="no"> |
f32fc4bc RD |
3454 | <autodoc>GetApp() -> PyApp</autodoc> |
3455 | <docstring>Return a reference to the current wx.App object.</docstring> | |
3456 | </method> | |
3457 | <pythoncode> | |
0f43fbdf RD |
3458 | #---------------------------------------------------------------------- |
3459 | ||
3460 | class PyOnDemandOutputWindow: | |
3461 | """ | |
3462 | A class that can be used for redirecting Python's stdout and | |
3463 | stderr streams. It will do nothing until something is wrriten to | |
3464 | the stream at which point it will create a Frame with a text area | |
3465 | and write the text there. | |
3466 | """ | |
3467 | def __init__(self, title = "wxPython: stdout/stderr"): | |
3468 | self.frame = None | |
3469 | self.title = title | |
ce6878e6 RD |
3470 | self.pos = wx.DefaultPosition |
3471 | self.size = (450, 300) | |
0f43fbdf RD |
3472 | self.parent = None |
3473 | ||
3474 | def SetParent(self, parent): | |
3475 | """Set the window to be used as the popup Frame's parent.""" | |
3476 | self.parent = parent | |
3477 | ||
3478 | ||
3479 | def CreateOutputWindow(self, st): | |
ce6878e6 RD |
3480 | self.frame = wx.Frame(self.parent, -1, self.title, self.pos, self.size, |
3481 | style=wx.DEFAULT_FRAME_STYLE) | |
0f43fbdf | 3482 | self.text = wx.TextCtrl(self.frame, -1, "", |
ce6878e6 | 3483 | style=wx.TE_MULTILINE|wx.TE_READONLY) |
cff531b1 | 3484 | self.text.AppendText(st) |
0f43fbdf RD |
3485 | self.frame.Show(True) |
3486 | EVT_CLOSE(self.frame, self.OnCloseWindow) | |
3487 | ||
3488 | ||
b39e211b RD |
3489 | def OnCloseWindow(self, event): |
3490 | if self.frame is not None: | |
3491 | self.frame.Destroy() | |
3492 | self.frame = None | |
3493 | self.text = None | |
3494 | ||
3495 | ||
0f43fbdf RD |
3496 | # These methods provide the file-like output behaviour. |
3497 | def write(self, text): | |
3498 | """ | |
3499 | Create the output window if needed and write the string to it. | |
3500 | If not called in the context of the gui thread then uses | |
3501 | CallAfter to do the work there. | |
3502 | """ | |
3503 | if self.frame is None: | |
3504 | if not wx.Thread_IsMain(): | |
3505 | wx.CallAfter(self.CreateOutputWindow, text) | |
3506 | else: | |
3507 | self.CreateOutputWindow(text) | |
3508 | else: | |
3509 | if not wx.Thread_IsMain(): | |
3510 | wx.CallAfter(self.text.AppendText, text) | |
3511 | else: | |
3512 | self.text.AppendText(text) | |
3513 | ||
3514 | ||
3515 | def close(self): | |
3516 | if self.frame is not None: | |
3517 | wx.CallAfter(self.frame.Close) | |
3518 | ||
3519 | ||
ce6878e6 RD |
3520 | def flush(self): |
3521 | pass | |
3522 | ||
3523 | ||
0f43fbdf RD |
3524 | |
3525 | #---------------------------------------------------------------------- | |
3526 | ||
3527 | _defRedirect = (wx.Platform == '__WXMSW__' or wx.Platform == '__WXMAC__') | |
3528 | ||
3529 | class App(wx.PyApp): | |
3530 | """ | |
781d2982 RD |
3531 | The ``wx.App`` class represents the application and is used to: |
3532 | ||
3533 | * bootstrap the wxPython system and initialize the underlying | |
3534 | gui toolkit | |
3535 | * set and get application-wide properties | |
3536 | * implement the windowing system main message or event loop, | |
3537 | and to dispatch events to window instances | |
3538 | * etc. | |
3539 | ||
3540 | Every application must have a ``wx.App`` instance, and all | |
3541 | creation of UI objects should be delayed until after the | |
3542 | ``wx.App`` object has been created in order to ensure that the gui | |
3543 | platform and wxWidgets have been fully initialized. | |
3544 | ||
3545 | Normally you would derive from this class and implement an | |
3546 | ``OnInit`` method that creates a frame and then calls | |
3547 | ``self.SetTopWindow(frame)``. | |
3548 | ||
3549 | :see: `wx.PySimpleApp` for a simpler app class that can be used | |
3550 | directly. | |
0f43fbdf | 3551 | """ |
781d2982 | 3552 | |
0f43fbdf RD |
3553 | outputWindowClass = PyOnDemandOutputWindow |
3554 | ||
781d2982 RD |
3555 | def __init__(self, redirect=_defRedirect, filename=None, |
3556 | useBestVisual=False, clearSigInt=True): | |
3557 | """ | |
3558 | Construct a ``wx.App`` object. | |
3559 | ||
3560 | :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be | |
3561 | redirected? Defaults to True on Windows and Mac, False | |
3562 | otherwise. If `filename` is None then output will be | |
3563 | redirected to a window that pops up as needed. (You can | |
3564 | control what kind of window is created for the output by | |
3565 | resetting the class variable ``outputWindowClass`` to a | |
3566 | class of your choosing.) | |
3567 | ||
3568 | :param filename: The name of a file to redirect output to, if | |
3569 | redirect is True. | |
3570 | ||
3571 | :param useBestVisual: Should the app try to use the best | |
3572 | available visual provided by the system (only relevant on | |
3573 | systems that have more than one visual.) This parameter | |
3574 | must be used instead of calling `SetUseBestVisual` later | |
3575 | on because it must be set before the underlying GUI | |
3576 | toolkit is initialized. | |
3577 | ||
3578 | :param clearSigInt: Should SIGINT be cleared? This allows the | |
3579 | app to terminate upon a Ctrl-C in the console like other | |
3580 | GUI apps will. | |
3581 | ||
3582 | :note: You should override OnInit to do applicaition | |
3583 | initialization to ensure that the system, toolkit and | |
3584 | wxWidgets are fully initialized. | |
3585 | """ | |
0f43fbdf RD |
3586 | wx.PyApp.__init__(self) |
3587 | ||
3588 | if wx.Platform == "__WXMAC__": | |
3589 | try: | |
3590 | import MacOS | |
3591 | if not MacOS.WMAvailable(): | |
3592 | print """\\ | |
3593 | This program needs access to the screen. Please run with 'pythonw', | |
3594 | not 'python', and only when you are logged in on the main display of | |
3595 | your Mac.""" | |
3596 | _sys.exit(1) | |
781d2982 RD |
3597 | except SystemExit: |
3598 | raise | |
0f43fbdf RD |
3599 | except: |
3600 | pass | |
3601 | ||
3602 | # This has to be done before OnInit | |
3603 | self.SetUseBestVisual(useBestVisual) | |
3604 | ||
3605 | # Set the default handler for SIGINT. This fixes a problem | |
3606 | # where if Ctrl-C is pressed in the console that started this | |
3607 | # app then it will not appear to do anything, (not even send | |
3608 | # KeyboardInterrupt???) but will later segfault on exit. By | |
3609 | # setting the default handler then the app will exit, as | |
3610 | # expected (depending on platform.) | |
781d2982 RD |
3611 | if clearSigInt: |
3612 | try: | |
3613 | import signal | |
3614 | signal.signal(signal.SIGINT, signal.SIG_DFL) | |
3615 | except: | |
3616 | pass | |
0f43fbdf RD |
3617 | |
3618 | # Save and redirect the stdio to a window? | |
3619 | self.stdioWin = None | |
3620 | self.saveStdio = (_sys.stdout, _sys.stderr) | |
3621 | if redirect: | |
3622 | self.RedirectStdio(filename) | |
3623 | ||
3624 | # This finishes the initialization of wxWindows and then calls | |
3625 | # the OnInit that should be present in the derived class | |
3626 | self._BootstrapApp() | |
3627 | ||
3628 | ||
3629 | def __del__(self): | |
3630 | try: | |
3631 | self.RestoreStdio() # Just in case the MainLoop was overridden | |
3632 | except: | |
3633 | pass | |
3634 | ||
3635 | ||
3636 | def SetTopWindow(self, frame): | |
3637 | """Set the \\"main\\" top level window""" | |
3638 | if self.stdioWin: | |
3639 | self.stdioWin.SetParent(frame) | |
3640 | wx.PyApp.SetTopWindow(self, frame) | |
3641 | ||
3642 | ||
3643 | def MainLoop(self): | |
3644 | """Execute the main GUI event loop""" | |
3645 | wx.PyApp.MainLoop(self) | |
3646 | self.RestoreStdio() | |
3647 | ||
3648 | ||
b39e211b | 3649 | def RedirectStdio(self, filename=None): |
0f43fbdf RD |
3650 | """Redirect sys.stdout and sys.stderr to a file or a popup window.""" |
3651 | if filename: | |
3652 | _sys.stdout = _sys.stderr = open(filename, 'a') | |
3653 | else: | |
3654 | self.stdioWin = self.outputWindowClass() | |
3655 | _sys.stdout = _sys.stderr = self.stdioWin | |
3656 | ||
3657 | ||
3658 | def RestoreStdio(self): | |
3659 | _sys.stdout, _sys.stderr = self.saveStdio | |
3660 | ||
3661 | ||
ce6878e6 RD |
3662 | def SetOutputWindowAttributes(self, title=None, pos=None, size=None): |
3663 | """ | |
3664 | Set the title, position and/or size of the output window if | |
3665 | the stdio has been redirected. This should be called before | |
3666 | any output would cause the output window to be created. | |
3667 | """ | |
3668 | if self.stdioWin: | |
3669 | if title is not None: | |
3670 | self.stdioWin.title = title | |
3671 | if pos is not None: | |
3672 | self.stdioWin.pos = pos | |
3673 | if size is not None: | |
3674 | self.stdioWin.size = size | |
3675 | ||
3676 | ||
3677 | ||
0f43fbdf | 3678 | |
781d2982 RD |
3679 | # change from wx.PyApp_XX to wx.App_XX |
3680 | App_GetMacSupportPCMenuShortcuts = _core_.PyApp_GetMacSupportPCMenuShortcuts | |
3681 | App_GetMacAboutMenuItemId = _core_.PyApp_GetMacAboutMenuItemId | |
3682 | App_GetMacPreferencesMenuItemId = _core_.PyApp_GetMacPreferencesMenuItemId | |
3683 | App_GetMacExitMenuItemId = _core_.PyApp_GetMacExitMenuItemId | |
3684 | App_GetMacHelpMenuTitleName = _core_.PyApp_GetMacHelpMenuTitleName | |
3685 | App_SetMacSupportPCMenuShortcuts = _core_.PyApp_SetMacSupportPCMenuShortcuts | |
3686 | App_SetMacAboutMenuItemId = _core_.PyApp_SetMacAboutMenuItemId | |
3687 | App_SetMacPreferencesMenuItemId = _core_.PyApp_SetMacPreferencesMenuItemId | |
3688 | App_SetMacExitMenuItemId = _core_.PyApp_SetMacExitMenuItemId | |
3689 | App_SetMacHelpMenuTitleName = _core_.PyApp_SetMacHelpMenuTitleName | |
3690 | App_GetComCtl32Version = _core_.PyApp_GetComCtl32Version | |
0f43fbdf RD |
3691 | |
3692 | #---------------------------------------------------------------------------- | |
3693 | ||
3694 | class PySimpleApp(wx.App): | |
3695 | """ | |
3696 | A simple application class. You can just create one of these and | |
3697 | then then make your top level windows later, and not have to worry | |
781d2982 RD |
3698 | about OnInit. For example:: |
3699 | ||
3700 | app = wx.PySimpleApp() | |
3701 | frame = wx.Frame(None, title='Hello World') | |
3702 | frame.Show() | |
3703 | app.MainLoop() | |
3704 | ||
3705 | :see: `wx.App` | |
3706 | """ | |
0f43fbdf | 3707 | |
781d2982 RD |
3708 | def __init__(self, redirect=False, filename=None, |
3709 | useBestVisual=False, clearSigInt=True): | |
3710 | """ | |
3711 | :see: `wx.App.__init__` | |
3712 | """ | |
3713 | wx.App.__init__(self, redirect, filename, useBestVisual, clearSigInt) | |
0f43fbdf RD |
3714 | |
3715 | def OnInit(self): | |
0f43fbdf RD |
3716 | return True |
3717 | ||
3718 | ||
781d2982 | 3719 | |
0f43fbdf RD |
3720 | # Is anybody using this one? |
3721 | class PyWidgetTester(wx.App): | |
3722 | def __init__(self, size = (250, 100)): | |
3723 | self.size = size | |
3724 | wx.App.__init__(self, 0) | |
3725 | ||
3726 | def OnInit(self): | |
3727 | self.frame = wx.Frame(None, -1, "Widget Tester", pos=(0,0), size=self.size) | |
3728 | self.SetTopWindow(self.frame) | |
3729 | return True | |
3730 | ||
781d2982 RD |
3731 | def SetWidget(self, widgetClass, *args, **kwargs): |
3732 | w = widgetClass(self.frame, *args, **kwargs) | |
0f43fbdf RD |
3733 | self.frame.Show(True) |
3734 | ||
3735 | #---------------------------------------------------------------------------- | |
3736 | # DO NOT hold any other references to this object. This is how we | |
781d2982 | 3737 | # know when to cleanup system resources that wxWidgets is holding. When |
0f43fbdf | 3738 | # the sys module is unloaded, the refcount on sys.__wxPythonCleanup |
781d2982 | 3739 | # goes to zero and it calls the wx.App_CleanUp function. |
0f43fbdf RD |
3740 | |
3741 | class __wxPyCleanup: | |
3742 | def __init__(self): | |
781d2982 | 3743 | self.cleanup = _core_.App_CleanUp |
0f43fbdf RD |
3744 | def __del__(self): |
3745 | self.cleanup() | |
3746 | ||
3747 | _sys.__wxPythonCleanup = __wxPyCleanup() | |
3748 | ||
3749 | ## # another possible solution, but it gets called too early... | |
781d2982 RD |
3750 | ## import atexit |
3751 | ## atexit.register(_core_.wxApp_CleanUp) | |
0f43fbdf RD |
3752 | |
3753 | ||
3754 | #---------------------------------------------------------------------------- | |
3755 | </pythoncode> | |
f32fc4bc | 3756 | <pythoncode> |
0f43fbdf RD |
3757 | #--------------------------------------------------------------------------- |
3758 | </pythoncode> | |
781d2982 RD |
3759 | <class name="AcceleratorEntry" oldname="wxAcceleratorEntry" module="_core"> |
3760 | <docstring>A class used to define items in an `wx.AcceleratorTable`. wxPython | |
3761 | programs can choose to use wx.AcceleratorEntry objects, but using a | |
3762 | list of 3-tuple of integers (flags, keyCode, cmdID) usually works just | |
3763 | as well. See `__init__` for of the tuple values. | |
3764 | ||
3765 | :see: `wx.AcceleratorTable`</docstring> | |
f32fc4bc | 3766 | <constructor name="AcceleratorEntry" overloaded="no"> |
781d2982 | 3767 | <autodoc>__init__(self, int flags=0, int keyCode=0, int cmdID=0) -> AcceleratorEntry</autodoc> |
ce6878e6 RD |
3768 | <docstring>Construct a wx.AcceleratorEntry. |
3769 | :param flags: A bitmask of wx.ACCEL_ALT, wx.ACCEL_SHIFT, | |
3770 | wx.ACCEL_CTRL or wx.ACCEL_NORMAL used to specify | |
3771 | which modifier keys are held down. | |
3772 | :param keyCode: The keycode to be detected | |
3773 | :param cmdID: The menu or control command ID to use for the | |
3774 | accellerator event. | |
3775 | </docstring> | |
f32fc4bc RD |
3776 | <paramlist> |
3777 | <param name="flags" type="int" default="0"/> | |
3778 | <param name="keyCode" type="int" default="0"/> | |
781d2982 | 3779 | <param name="cmdID" type="int" default="0"/> |
f32fc4bc RD |
3780 | </paramlist> |
3781 | </constructor> | |
3782 | <destructor name="~wxAcceleratorEntry" overloaded="no"> | |
781d2982 | 3783 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
3784 | </destructor> |
3785 | <method name="Set" type="" overloaded="no"> | |
781d2982 RD |
3786 | <autodoc>Set(self, int flags, int keyCode, int cmd)</autodoc> |
3787 | <docstring>(Re)set the attributes of a wx.AcceleratorEntry. | |
3788 | :see `__init__`</docstring> | |
f32fc4bc RD |
3789 | <paramlist> |
3790 | <param name="flags" type="int" default=""/> | |
3791 | <param name="keyCode" type="int" default=""/> | |
3792 | <param name="cmd" type="int" default=""/> | |
f32fc4bc RD |
3793 | </paramlist> |
3794 | </method> | |
f32fc4bc | 3795 | <method name="GetFlags" type="int" overloaded="no"> |
781d2982 RD |
3796 | <autodoc>GetFlags(self) -> int</autodoc> |
3797 | <docstring>Get the AcceleratorEntry's flags.</docstring> | |
f32fc4bc RD |
3798 | </method> |
3799 | <method name="GetKeyCode" type="int" overloaded="no"> | |
781d2982 RD |
3800 | <autodoc>GetKeyCode(self) -> int</autodoc> |
3801 | <docstring>Get the AcceleratorEntry's keycode.</docstring> | |
f32fc4bc RD |
3802 | </method> |
3803 | <method name="GetCommand" type="int" overloaded="no"> | |
781d2982 RD |
3804 | <autodoc>GetCommand(self) -> int</autodoc> |
3805 | <docstring>Get the AcceleratorEntry's command ID.</docstring> | |
f32fc4bc RD |
3806 | </method> |
3807 | </class> | |
781d2982 RD |
3808 | <class name="AcceleratorTable" oldname="wxAcceleratorTable" module="_core"> |
3809 | <docstring>An accelerator table allows the application to specify a table of | |
3810 | keyboard shortcuts for menus or other commands. On Windows, menu or | |
3811 | button commands are supported; on GTK, only menu commands are | |
ce6878e6 RD |
3812 | supported. |
3813 | ||
3814 | The object ``wx.NullAcceleratorTable`` is defined to be a table with | |
3815 | no data, and is the initial accelerator table for a window. | |
3816 | ||
3817 | An accelerator takes precedence over normal processing and can be a | |
3818 | convenient way to program some event handling. For example, you can | |
3819 | use an accelerator table to make a hotkey generate an event no matter | |
3820 | which window within a frame has the focus. | |
3821 | ||
3822 | Foe example:: | |
3823 | ||
3824 | aTable = wx.AcceleratorTable([(wx.ACCEL_ALT, ord('X'), exitID), | |
3825 | (wx.ACCEL_CTRL, ord('H'), helpID), | |
3826 | (wx.ACCEL_CTRL, ord('F'), findID), | |
3827 | (wx.ACCEL_NORMAL, wx.WXK_F3, findnextID) | |
3828 | ]) | |
3829 | self.SetAcceleratorTable(aTable) | |
3830 | ||
3831 | ||
3832 | :see: `wx.AcceleratorEntry`, `wx.Window.SetAcceleratorTable` | |
3833 | </docstring> | |
f32fc4bc RD |
3834 | <baseclass name="Object"/> |
3835 | <constructor name="AcceleratorTable" overloaded="no"> | |
3836 | <autodoc>__init__(entries) -> AcceleratorTable</autodoc> | |
781d2982 RD |
3837 | <docstring>Construct an AcceleratorTable from a list of `wx.AcceleratorEntry` |
3838 | items or or of 3-tuples (flags, keyCode, cmdID) | |
3839 | ||
3840 | :see: `wx.AcceleratorEntry`</docstring> | |
f32fc4bc RD |
3841 | <paramlist> |
3842 | <param name="n" type="int" default=""/> | |
3843 | <param name="entries" type="AcceleratorEntry" default=""/> | |
3844 | </paramlist> | |
3845 | </constructor> | |
3846 | <destructor name="~wxAcceleratorTable" overloaded="no"> | |
781d2982 | 3847 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
3848 | </destructor> |
3849 | <method name="Ok" type="bool" overloaded="no"> | |
781d2982 | 3850 | <autodoc>Ok(self) -> bool</autodoc> |
f32fc4bc RD |
3851 | </method> |
3852 | </class> | |
3853 | <method name="GetAccelFromString" oldname="wxGetAccelFromString" type="AcceleratorEntry" overloaded="no"> | |
3854 | <autodoc>GetAccelFromString(String label) -> AcceleratorEntry</autodoc> | |
3855 | <paramlist> | |
3856 | <param name="label" type="String" default=""/> | |
0f43fbdf | 3857 | </paramlist> |
0f43fbdf | 3858 | </method> |
f32fc4bc | 3859 | <pythoncode> |
0f43fbdf RD |
3860 | #--------------------------------------------------------------------------- |
3861 | </pythoncode> | |
781d2982 RD |
3862 | <class name="VisualAttributes" oldname="wxVisualAttributes" module="_core"> |
3863 | <docstring>struct containing all the visual attributes of a control</docstring> | |
3864 | <constructor name="VisualAttributes" overloaded="no"> | |
3865 | <autodoc>__init__(self) -> VisualAttributes</autodoc> | |
3866 | <docstring>struct containing all the visual attributes of a control</docstring> | |
3867 | </constructor> | |
3868 | <destructor name="~wxVisualAttributes" overloaded="no"> | |
3869 | <autodoc>__del__(self)</autodoc> | |
3870 | </destructor> | |
3871 | <property name="font" type="wxFont" readonly="no"/> | |
3872 | <property name="colFg" type="wxColour" readonly="no"/> | |
3873 | <property name="colBg" type="wxColour" readonly="no"/> | |
3874 | </class> | |
3875 | <class name="Window" oldname="wxWindow" module="_core"> | |
3876 | <docstring>wx.Window is the base class for all windows and represents any visible | |
c2dda882 RD |
3877 | object on the screen. All controls, top level windows and so on are |
3878 | wx.Windows. Sizers and device contexts are not however, as they don't | |
3879 | appear on screen themselves. | |
ce6878e6 RD |
3880 | |
3881 | Styles | |
3882 | ------- | |
3883 | ============================= ===================================== | |
3884 | wx.SIMPLE_BORDER Displays a thin border around the window. | |
3885 | ||
3886 | wx.DOUBLE_BORDER Displays a double border. Windows and Mac only. | |
3887 | ||
3888 | wx.SUNKEN_BORDER Displays a sunken border. | |
3889 | ||
3890 | wx.RAISED_BORDER Displays a raised border. | |
3891 | ||
3892 | wx.STATIC_BORDER Displays a border suitable for a static | |
3893 | control. Windows only. | |
3894 | ||
3895 | wx.NO_BORDER Displays no border, overriding the default | |
3896 | border style for the window. | |
3897 | ||
3898 | wx.TRANSPARENT_WINDOW The window is transparent, that is, it | |
3899 | will not receive paint events. Windows only. | |
3900 | ||
3901 | wx.TAB_TRAVERSAL Use this to enable tab traversal for | |
3902 | non-dialog windows. | |
3903 | ||
3904 | wx.WANTS_CHARS Use this to indicate that the window | |
3905 | wants to get all char/key events for | |
3906 | all keys - even for keys like TAB or | |
3907 | ENTER which are usually used for | |
3908 | dialog navigation and which wouldn't | |
3909 | be generated without this style. If | |
3910 | you need to use this style in order to | |
3911 | get the arrows or etc., but would | |
3912 | still like to have normal keyboard | |
3913 | navigation take place, you should | |
3914 | create and send a wxNavigationKeyEvent | |
3915 | in response to the key events for Tab | |
3916 | and Shift-Tab. | |
3917 | ||
3918 | wx.NO_FULL_REPAINT_ON_RESIZE Disables repainting the window | |
3919 | completely when its size is changed. | |
3920 | You will have to repaint the new | |
3921 | window area manually if you use this | |
3922 | style. As of version 2.5.1 this | |
3923 | style is on by default. Use | |
3924 | wx.FULL_REPAINT_ON_RESIZE to | |
3925 | deactivate it. | |
3926 | ||
3927 | wx.VSCROLL Use this style to enable a vertical scrollbar. | |
3928 | ||
3929 | wx.HSCROLL Use this style to enable a horizontal scrollbar. | |
3930 | ||
3931 | wx.ALWAYS_SHOW_SB If a window has scrollbars, disable them | |
3932 | instead of hiding them when they are | |
3933 | not needed (i.e. when the size of the | |
3934 | window is big enough to not require | |
3935 | the scrollbars to navigate it). This | |
3936 | style is currently only implemented | |
3937 | for wxMSW and wxUniversal and does | |
3938 | nothing on the other platforms. | |
3939 | ||
3940 | wx.CLIP_CHILDREN Use this style to eliminate flicker caused by | |
3941 | the background being repainted, then | |
3942 | children being painted over | |
3943 | them. Windows only. | |
3944 | ||
3945 | wx.FULL_REPAINT_ON_RESIZE Use this style to force a complete | |
3946 | redraw of the window whenever it is | |
3947 | resized instead of redrawing just the | |
3948 | part of the window affected by | |
3949 | resizing. Note that this was the | |
3950 | behaviour by default before 2.5.1 | |
3951 | release and that if you experience | |
3952 | redraw problems with the code which | |
3953 | previously used to work you may want | |
3954 | to try this. | |
3955 | ============================= ===================================== | |
3956 | ||
3957 | ||
3958 | Extra Styles | |
3959 | ------------ | |
3960 | ============================= ===================================== | |
3961 | wx.WS_EX_VALIDATE_RECURSIVELY By default, | |
3962 | Validate/TransferDataTo/FromWindow() | |
3963 | only work on direct children of | |
3964 | the window (compatible | |
3965 | behaviour). Set this flag to make | |
3966 | them recursively descend into all | |
3967 | subwindows. | |
3968 | ||
3969 | wx.WS_EX_BLOCK_EVENTS wx.CommandEvents and the objects of the | |
3970 | derived classes are forwarded to | |
3971 | the parent window and so on | |
3972 | recursively by default. Using this | |
3973 | flag for the given window allows | |
3974 | to block this propagation at this | |
3975 | window, i.e. prevent the events | |
3976 | from being propagated further | |
3977 | upwards. Dialogs have this flag on | |
3978 | by default. | |
3979 | ||
3980 | wx.WS_EX_TRANSIENT Don't use this window as an implicit parent for | |
3981 | the other windows: this must be | |
3982 | used with transient windows as | |
3983 | otherwise there is the risk of | |
3984 | creating a dialog/frame with this | |
3985 | window as a parent which would | |
3986 | lead to a crash if the parent is | |
3987 | destroyed before the child. | |
3988 | ||
3989 | wx.WS_EX_PROCESS_IDLE This window should always process idle | |
3990 | events, even if the mode set by | |
3991 | wx.IdleEvent.SetMode is | |
3992 | wx.IDLE_PROCESS_SPECIFIED. | |
3993 | ||
3994 | wx.WS_EX_PROCESS_UI_UPDATES This window should always process UI | |
3995 | update events, even if the mode | |
3996 | set by wxUpdateUIEvent::SetMode is | |
3997 | wxUPDATE_UI_PROCESS_SPECIFIED. | |
3998 | ============================= ===================================== | |
3999 | ||
c2dda882 | 4000 | </docstring> |
f32fc4bc RD |
4001 | <baseclass name="EvtHandler"/> |
4002 | <constructor name="Window" overloaded="no"> | |
781d2982 RD |
4003 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
4004 | Size size=DefaultSize, long style=0, String name=PanelNameStr) -> Window</autodoc> | |
c2dda882 | 4005 | <docstring>Construct and show a generic Window.</docstring> |
f32fc4bc RD |
4006 | <paramlist> |
4007 | <param name="parent" type="Window" default=""/> | |
781d2982 | 4008 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
4009 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
4010 | <param name="size" type="Size" default="wxDefaultSize"/> | |
4011 | <param name="style" type="long" default="0"/> | |
4012 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
4013 | </paramlist> | |
4014 | </constructor> | |
4015 | <constructor name="PreWindow" overloaded="no"> | |
4016 | <autodoc>PreWindow() -> Window</autodoc> | |
c2dda882 | 4017 | <docstring>Precreate a Window for 2-phase creation.</docstring> |
f32fc4bc RD |
4018 | </constructor> |
4019 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
4020 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
4021 | Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool</autodoc> | |
c2dda882 | 4022 | <docstring>Create the GUI part of the Window for 2-phase creation mode.</docstring> |
f32fc4bc RD |
4023 | <paramlist> |
4024 | <param name="parent" type="Window" default=""/> | |
781d2982 | 4025 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
4026 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
4027 | <param name="size" type="Size" default="wxDefaultSize"/> | |
4028 | <param name="style" type="long" default="0"/> | |
4029 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
4030 | </paramlist> | |
4031 | </method> | |
4032 | <method name="Close" type="bool" overloaded="no"> | |
781d2982 | 4033 | <autodoc>Close(self, bool force=False) -> bool</autodoc> |
c2dda882 RD |
4034 | <docstring>This function simply generates a EVT_CLOSE event whose handler usually |
4035 | tries to close the window. It doesn't close the window itself, | |
4036 | however. If force is False (the default) then the window's close | |
ce6878e6 RD |
4037 | handler will be allowed to veto the destruction of the window. |
4038 | Usually Close is only used with the top level windows (wx.Frame and | |
4039 | wx.Dialog classes) as the others are not supposed to have any special | |
4040 | EVT_CLOSE logic. | |
4041 | ||
4042 | The close handler should check whether the window is being deleted | |
4043 | forcibly, using wx.CloseEvent.GetForce, in which case it should | |
4044 | destroy the window using wx.Window.Destroy. | |
4045 | ||
4046 | Note that calling Close does not guarantee that the window will be | |
4047 | destroyed; but it provides a way to simulate a manual close of a | |
4048 | window, which may or may not be implemented by destroying the | |
4049 | window. The default EVT_CLOSE handler for wx.Dialog does not | |
4050 | necessarily delete the dialog, since it will simply simulate an | |
4051 | wxID_CANCEL event which is handled by the appropriate button event | |
4052 | handler and may do anything at all. | |
4053 | ||
4054 | To guarantee that the window will be destroyed, call wx.Window.Destroy | |
4055 | instead.</docstring> | |
f32fc4bc RD |
4056 | <paramlist> |
4057 | <param name="force" type="bool" default="False"/> | |
4058 | </paramlist> | |
4059 | </method> | |
4060 | <method name="Destroy" type="bool" overloaded="no"> | |
781d2982 | 4061 | <autodoc>Destroy(self) -> bool</autodoc> |
c2dda882 RD |
4062 | <docstring>Destroys the window safely. Frames and dialogs are not destroyed |
4063 | immediately when this function is called -- they are added to a list | |
4064 | of windows to be deleted on idle time, when all the window's events | |
4065 | have been processed. This prevents problems with events being sent to | |
4066 | non-existent windows. | |
4067 | ||
4068 | Returns True if the window has either been successfully deleted, or it | |
4069 | has been added to the list of windows pending real deletion.</docstring> | |
f32fc4bc RD |
4070 | </method> |
4071 | <method name="DestroyChildren" type="bool" overloaded="no"> | |
781d2982 RD |
4072 | <autodoc>DestroyChildren(self) -> bool</autodoc> |
4073 | <docstring>Destroys all children of a window. Called automatically by the | |
4074 | destructor.</docstring> | |
f32fc4bc RD |
4075 | </method> |
4076 | <method name="IsBeingDeleted" type="bool" overloaded="no"> | |
781d2982 | 4077 | <autodoc>IsBeingDeleted(self) -> bool</autodoc> |
c2dda882 | 4078 | <docstring>Is the window in the process of being deleted?</docstring> |
f32fc4bc RD |
4079 | </method> |
4080 | <method name="SetTitle" type="" overloaded="no"> | |
781d2982 | 4081 | <autodoc>SetTitle(self, String title)</autodoc> |
c2dda882 | 4082 | <docstring>Sets the window's title. Applicable only to frames and dialogs.</docstring> |
f32fc4bc RD |
4083 | <paramlist> |
4084 | <param name="title" type="String" default=""/> | |
4085 | </paramlist> | |
4086 | </method> | |
4087 | <method name="GetTitle" type="String" overloaded="no"> | |
781d2982 | 4088 | <autodoc>GetTitle(self) -> String</autodoc> |
c2dda882 | 4089 | <docstring>Gets the window's title. Applicable only to frames and dialogs.</docstring> |
f32fc4bc RD |
4090 | </method> |
4091 | <method name="SetLabel" type="" overloaded="no"> | |
781d2982 | 4092 | <autodoc>SetLabel(self, String label)</autodoc> |
c2dda882 | 4093 | <docstring>Set the text which the window shows in its label if applicable.</docstring> |
f32fc4bc RD |
4094 | <paramlist> |
4095 | <param name="label" type="String" default=""/> | |
4096 | </paramlist> | |
4097 | </method> | |
4098 | <method name="GetLabel" type="String" overloaded="no"> | |
781d2982 RD |
4099 | <autodoc>GetLabel(self) -> String</autodoc> |
4100 | <docstring>Generic way of getting a label from any window, for identification | |
4101 | purposes. The interpretation of this function differs from class to | |
4102 | class. For frames and dialogs, the value returned is the title. For | |
4103 | buttons or static text controls, it is the button text. This function | |
4104 | can be useful for meta-programs such as testing tools or special-needs | |
4105 | access programs)which need to identify windows by name.</docstring> | |
f32fc4bc RD |
4106 | </method> |
4107 | <method name="SetName" type="" overloaded="no"> | |
781d2982 RD |
4108 | <autodoc>SetName(self, String name)</autodoc> |
4109 | <docstring>Sets the window's name. The window name is used for ressource setting | |
4110 | in X, it is not the same as the window title/label</docstring> | |
f32fc4bc RD |
4111 | <paramlist> |
4112 | <param name="name" type="String" default=""/> | |
4113 | </paramlist> | |
4114 | </method> | |
4115 | <method name="GetName" type="String" overloaded="no"> | |
781d2982 RD |
4116 | <autodoc>GetName(self) -> String</autodoc> |
4117 | <docstring>Returns the windows name. This name is not guaranteed to be unique; | |
4118 | it is up to the programmer to supply an appropriate name in the window | |
4119 | constructor or via wx.Window.SetName.</docstring> | |
b39e211b RD |
4120 | </method> |
4121 | <method name="SetWindowVariant" type="" overloaded="no"> | |
781d2982 RD |
4122 | <autodoc>SetWindowVariant(self, int variant)</autodoc> |
4123 | <docstring>Sets the variant of the window/font size to use for this window, if | |
ce6878e6 RD |
4124 | the platform supports variants, for example, wxMac. |
4125 | Variant values are: | |
4126 | ||
4127 | ======================== ======================================= | |
4128 | wx.WINDOW_VARIANT_NORMAL Normal size | |
4129 | wx.WINDOW_VARIANT_SMALL Smaller size (about 25 % smaller than normal) | |
4130 | wx.WINDOW_VARIANT_MINI Mini size (about 33 % smaller than normal) | |
4131 | wx.WINDOW_VARIANT_LARGE Large size (about 25 % larger than normal) | |
4132 | ======================== ======================================= | |
4133 | </docstring> | |
b39e211b RD |
4134 | <paramlist> |
4135 | <param name="variant" type="wxWindowVariant" default=""/> | |
4136 | </paramlist> | |
4137 | </method> | |
4138 | <method name="GetWindowVariant" type="wxWindowVariant" overloaded="no"> | |
781d2982 | 4139 | <autodoc>GetWindowVariant(self) -> int</autodoc> |
f32fc4bc RD |
4140 | </method> |
4141 | <method name="SetId" type="" overloaded="no"> | |
781d2982 | 4142 | <autodoc>SetId(self, int winid)</autodoc> |
c2dda882 RD |
4143 | <docstring>Sets the identifier of the window. Each window has an integer |
4144 | identifier. If the application has not provided one, an identifier | |
4145 | will be generated. Normally, the identifier should be provided on | |
4146 | creation and should not be modified subsequently.</docstring> | |
f32fc4bc RD |
4147 | <paramlist> |
4148 | <param name="winid" type="int" default=""/> | |
4149 | </paramlist> | |
4150 | </method> | |
4151 | <method name="GetId" type="int" overloaded="no"> | |
781d2982 | 4152 | <autodoc>GetId(self) -> int</autodoc> |
c2dda882 RD |
4153 | <docstring>Returns the identifier of the window. Each window has an integer |
4154 | identifier. If the application has not provided one (or the default Id | |
4155 | -1 is used) then an unique identifier with a negative value will be | |
4156 | generated.</docstring> | |
f32fc4bc RD |
4157 | </method> |
4158 | <staticmethod name="NewControlId" type="int" overloaded="no"> | |
4159 | <autodoc>NewControlId() -> int</autodoc> | |
c2dda882 | 4160 | <docstring>Generate a control id for the controls which were not given one.</docstring> |
f32fc4bc RD |
4161 | </staticmethod> |
4162 | <staticmethod name="NextControlId" type="int" overloaded="no"> | |
4163 | <autodoc>NextControlId(int winid) -> int</autodoc> | |
c2dda882 | 4164 | <docstring>Get the id of the control following the one with the given |
781d2982 | 4165 | autogenerated) id</docstring> |
f32fc4bc RD |
4166 | <paramlist> |
4167 | <param name="winid" type="int" default=""/> | |
4168 | </paramlist> | |
4169 | </staticmethod> | |
4170 | <staticmethod name="PrevControlId" type="int" overloaded="no"> | |
4171 | <autodoc>PrevControlId(int winid) -> int</autodoc> | |
c2dda882 | 4172 | <docstring>Get the id of the control preceding the one with the given |
781d2982 | 4173 | autogenerated) id</docstring> |
f32fc4bc RD |
4174 | <paramlist> |
4175 | <param name="winid" type="int" default=""/> | |
4176 | </paramlist> | |
4177 | </staticmethod> | |
4178 | <method name="SetSize" type="" overloaded="no"> | |
781d2982 | 4179 | <autodoc>SetSize(self, Size size)</autodoc> |
c2dda882 | 4180 | <docstring>Sets the size of the window in pixels.</docstring> |
f32fc4bc RD |
4181 | <paramlist> |
4182 | <param name="size" type="Size" default=""/> | |
4183 | </paramlist> | |
4184 | </method> | |
4185 | <method name="SetDimensions" type="" overloaded="no"> | |
781d2982 | 4186 | <autodoc>SetDimensions(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc> |
c2dda882 RD |
4187 | <docstring>Sets the position and size of the window in pixels. The sizeFlags |
4188 | parameter indicates the interpretation of the other params if they are | |
4189 | -1. wx.SIZE_AUTO*: a -1 indicates that a class-specific default | |
4190 | shoudl be used. wx.SIZE_USE_EXISTING: existing dimensions should be | |
4191 | used if -1 values are supplied. wxSIZE_ALLOW_MINUS_ONE: allow | |
4192 | dimensions of -1 and less to be interpreted as real dimensions, not | |
4193 | default values.</docstring> | |
f32fc4bc RD |
4194 | <paramlist> |
4195 | <param name="x" type="int" default=""/> | |
4196 | <param name="y" type="int" default=""/> | |
4197 | <param name="width" type="int" default=""/> | |
4198 | <param name="height" type="int" default=""/> | |
4199 | <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/> | |
4200 | </paramlist> | |
4201 | </method> | |
4202 | <method name="SetRect" type="" overloaded="no"> | |
781d2982 | 4203 | <autodoc>SetRect(self, Rect rect, int sizeFlags=SIZE_AUTO)</autodoc> |
c2dda882 | 4204 | <docstring>Sets the position and size of the window in pixels using a wx.Rect.</docstring> |
f32fc4bc RD |
4205 | <paramlist> |
4206 | <param name="rect" type="Rect" default=""/> | |
4207 | <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/> | |
4208 | </paramlist> | |
4209 | </method> | |
4210 | <method name="SetSizeWH" type="" overloaded="no"> | |
781d2982 | 4211 | <autodoc>SetSizeWH(self, int width, int height)</autodoc> |
c2dda882 | 4212 | <docstring>Sets the size of the window in pixels.</docstring> |
f32fc4bc RD |
4213 | <paramlist> |
4214 | <param name="width" type="int" default=""/> | |
4215 | <param name="height" type="int" default=""/> | |
4216 | </paramlist> | |
4217 | </method> | |
4218 | <method name="Move" type="" overloaded="no"> | |
781d2982 | 4219 | <autodoc>Move(self, Point pt, int flags=SIZE_USE_EXISTING)</autodoc> |
c2dda882 | 4220 | <docstring>Moves the window to the given position.</docstring> |
f32fc4bc RD |
4221 | <paramlist> |
4222 | <param name="pt" type="Point" default=""/> | |
4223 | <param name="flags" type="int" default="wxSIZE_USE_EXISTING"/> | |
4224 | </paramlist> | |
4225 | </method> | |
4226 | <method name="MoveXY" type="" overloaded="no"> | |
781d2982 | 4227 | <autodoc>MoveXY(self, int x, int y, int flags=SIZE_USE_EXISTING)</autodoc> |
c2dda882 | 4228 | <docstring>Moves the window to the given position.</docstring> |
f32fc4bc RD |
4229 | <paramlist> |
4230 | <param name="x" type="int" default=""/> | |
4231 | <param name="y" type="int" default=""/> | |
4232 | <param name="flags" type="int" default="wxSIZE_USE_EXISTING"/> | |
4233 | </paramlist> | |
4234 | </method> | |
ce6878e6 RD |
4235 | <method name="SetBestFittingSize" type="" overloaded="no"> |
4236 | <autodoc>SetBestFittingSize(self, Size size=DefaultSize)</autodoc> | |
4237 | <docstring>A 'Smart' SetSize that will fill in default size components with the | |
4238 | window's *best size* values. Also set's the minsize for use with sizers.</docstring> | |
4239 | <paramlist> | |
4240 | <param name="size" type="Size" default="wxDefaultSize"/> | |
4241 | </paramlist> | |
4242 | </method> | |
f32fc4bc | 4243 | <method name="Raise" type="" overloaded="no"> |
781d2982 | 4244 | <autodoc>Raise(self)</autodoc> |
c2dda882 RD |
4245 | <docstring>Raises the window to the top of the window hierarchy if it is a |
4246 | managed window (dialog or frame).</docstring> | |
f32fc4bc RD |
4247 | </method> |
4248 | <method name="Lower" type="" overloaded="no"> | |
781d2982 | 4249 | <autodoc>Lower(self)</autodoc> |
c2dda882 RD |
4250 | <docstring>Lowers the window to the bottom of the window hierarchy if it is a |
4251 | managed window (dialog or frame).</docstring> | |
f32fc4bc RD |
4252 | </method> |
4253 | <method name="SetClientSize" type="" overloaded="no"> | |
781d2982 | 4254 | <autodoc>SetClientSize(self, Size size)</autodoc> |
c2dda882 RD |
4255 | <docstring>This sets the size of the window client area in pixels. Using this |
4256 | function to size a window tends to be more device-independent than | |
4257 | wx.Window.SetSize, since the application need not worry about what | |
4258 | dimensions the border or title bar have when trying to fit the window | |
4259 | around panel items, for example.</docstring> | |
f32fc4bc RD |
4260 | <paramlist> |
4261 | <param name="size" type="Size" default=""/> | |
4262 | </paramlist> | |
4263 | </method> | |
4264 | <method name="SetClientSizeWH" type="" overloaded="no"> | |
781d2982 | 4265 | <autodoc>SetClientSizeWH(self, int width, int height)</autodoc> |
c2dda882 RD |
4266 | <docstring>This sets the size of the window client area in pixels. Using this |
4267 | function to size a window tends to be more device-independent than | |
4268 | wx.Window.SetSize, since the application need not worry about what | |
4269 | dimensions the border or title bar have when trying to fit the window | |
4270 | around panel items, for example.</docstring> | |
f32fc4bc RD |
4271 | <paramlist> |
4272 | <param name="width" type="int" default=""/> | |
4273 | <param name="height" type="int" default=""/> | |
4274 | </paramlist> | |
4275 | </method> | |
4276 | <method name="SetClientRect" type="" overloaded="no"> | |
781d2982 | 4277 | <autodoc>SetClientRect(self, Rect rect)</autodoc> |
c2dda882 RD |
4278 | <docstring>This sets the size of the window client area in pixels. Using this |
4279 | function to size a window tends to be more device-independent than | |
4280 | wx.Window.SetSize, since the application need not worry about what | |
4281 | dimensions the border or title bar have when trying to fit the window | |
4282 | around panel items, for example.</docstring> | |
f32fc4bc RD |
4283 | <paramlist> |
4284 | <param name="rect" type="Rect" default=""/> | |
4285 | </paramlist> | |
4286 | </method> | |
4287 | <method name="GetPosition" type="Point" overloaded="no"> | |
781d2982 | 4288 | <autodoc>GetPosition(self) -> Point</autodoc> |
f32fc4bc RD |
4289 | <docstring>Get the window's position.</docstring> |
4290 | </method> | |
4291 | <method name="GetPositionTuple" type="" overloaded="no"> | |
4292 | <autodoc>GetPositionTuple() -> (x,y)</autodoc> | |
4293 | <docstring>Get the window's position.</docstring> | |
4294 | <paramlist> | |
4295 | <param name="OUTPUT" type="int" default=""/> | |
4296 | <param name="OUTPUT" type="int" default=""/> | |
4297 | </paramlist> | |
4298 | </method> | |
4299 | <method name="GetSize" type="Size" overloaded="no"> | |
781d2982 | 4300 | <autodoc>GetSize(self) -> Size</autodoc> |
f32fc4bc RD |
4301 | <docstring>Get the window size.</docstring> |
4302 | </method> | |
4303 | <method name="GetSizeTuple" type="" overloaded="no"> | |
4304 | <autodoc>GetSizeTuple() -> (width, height)</autodoc> | |
4305 | <docstring>Get the window size.</docstring> | |
4306 | <paramlist> | |
4307 | <param name="OUTPUT" type="int" default=""/> | |
4308 | <param name="OUTPUT" type="int" default=""/> | |
4309 | </paramlist> | |
4310 | </method> | |
4311 | <method name="GetRect" type="Rect" overloaded="no"> | |
781d2982 | 4312 | <autodoc>GetRect(self) -> Rect</autodoc> |
c2dda882 | 4313 | <docstring>Returns the size and position of the window as a wx.Rect object.</docstring> |
f32fc4bc RD |
4314 | </method> |
4315 | <method name="GetClientSize" type="Size" overloaded="no"> | |
781d2982 | 4316 | <autodoc>GetClientSize(self) -> Size</autodoc> |
c2dda882 RD |
4317 | <docstring>This gets the size of the window's 'client area' in pixels. The client |
4318 | area is the area which may be drawn on by the programmer, excluding | |
4319 | title bar, border, scrollbars, etc.</docstring> | |
f32fc4bc RD |
4320 | </method> |
4321 | <method name="GetClientSizeTuple" type="" overloaded="no"> | |
4322 | <autodoc>GetClientSizeTuple() -> (width, height)</autodoc> | |
c2dda882 RD |
4323 | <docstring>This gets the size of the window's 'client area' in pixels. The client |
4324 | area is the area which may be drawn on by the programmer, excluding | |
4325 | title bar, border, scrollbars, etc.</docstring> | |
f32fc4bc RD |
4326 | <paramlist> |
4327 | <param name="OUTPUT" type="int" default=""/> | |
4328 | <param name="OUTPUT" type="int" default=""/> | |
4329 | </paramlist> | |
4330 | </method> | |
4331 | <method name="GetClientAreaOrigin" type="Point" overloaded="no"> | |
781d2982 | 4332 | <autodoc>GetClientAreaOrigin(self) -> Point</autodoc> |
c2dda882 RD |
4333 | <docstring>Get the origin of the client area of the window relative to the |
4334 | window's top left corner (the client area may be shifted because of | |
4335 | the borders, scrollbars, other decorations...)</docstring> | |
f32fc4bc RD |
4336 | </method> |
4337 | <method name="GetClientRect" type="Rect" overloaded="no"> | |
781d2982 RD |
4338 | <autodoc>GetClientRect(self) -> Rect</autodoc> |
4339 | <docstring>Get the client area position and size as a `wx.Rect` object.</docstring> | |
f32fc4bc RD |
4340 | </method> |
4341 | <method name="GetBestSize" type="Size" overloaded="no"> | |
781d2982 RD |
4342 | <autodoc>GetBestSize(self) -> Size</autodoc> |
4343 | <docstring>This function returns the best acceptable minimal size for the | |
4344 | window, if applicable. For example, for a static text control, it will | |
4345 | be the minimal size such that the control label is not truncated. For | |
4346 | windows containing subwindows (suzh aswx.Panel), the size returned by | |
4347 | this function will be the same as the size the window would have had | |
4348 | after calling Fit.</docstring> | |
f32fc4bc RD |
4349 | </method> |
4350 | <method name="GetBestSizeTuple" type="" overloaded="no"> | |
4351 | <autodoc>GetBestSizeTuple() -> (width, height)</autodoc> | |
781d2982 RD |
4352 | <docstring>This function returns the best acceptable minimal size for the |
4353 | window, if applicable. For example, for a static text control, it will | |
4354 | be the minimal size such that the control label is not truncated. For | |
4355 | windows containing subwindows (suzh aswx.Panel), the size returned by | |
4356 | this function will be the same as the size the window would have had | |
4357 | after calling Fit.</docstring> | |
f32fc4bc RD |
4358 | <paramlist> |
4359 | <param name="OUTPUT" type="int" default=""/> | |
4360 | <param name="OUTPUT" type="int" default=""/> | |
4361 | </paramlist> | |
4362 | </method> | |
ce6878e6 RD |
4363 | <method name="InvalidateBestSize" type="" overloaded="no"> |
4364 | <autodoc>InvalidateBestSize(self)</autodoc> | |
4365 | <docstring>Reset the cached best size value so it will be recalculated the next | |
4366 | time it is needed.</docstring> | |
4367 | </method> | |
4368 | <method name="GetBestFittingSize" type="Size" overloaded="no"> | |
4369 | <autodoc>GetBestFittingSize(self) -> Size</autodoc> | |
4370 | <docstring>This function will merge the window's best size into the window's | |
4371 | minimum size, giving priority to the min size components, and returns | |
4372 | the results. | |
4373 | </docstring> | |
4374 | </method> | |
f32fc4bc | 4375 | <method name="GetAdjustedBestSize" type="Size" overloaded="no"> |
781d2982 | 4376 | <autodoc>GetAdjustedBestSize(self) -> Size</autodoc> |
c2dda882 RD |
4377 | <docstring>This method is similar to GetBestSize, except in one |
4378 | thing. GetBestSize should return the minimum untruncated size of the | |
4379 | window, while this method will return the largest of BestSize and any | |
4380 | user specified minimum size. ie. it is the minimum size the window | |
4381 | should currently be drawn at, not the minimal size it can possibly | |
4382 | tolerate.</docstring> | |
f32fc4bc RD |
4383 | </method> |
4384 | <method name="Center" type="" overloaded="no"> | |
781d2982 | 4385 | <autodoc>Center(self, int direction=BOTH)</autodoc> |
c2dda882 RD |
4386 | <docstring>Centers the window. The parameter specifies the direction for |
4387 | cetering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may | |
4388 | also include wx.CENTER_ON_SCREEN flag if you want to center the window | |
4389 | on the entire screen and not on its parent window. If it is a | |
4390 | top-level window and has no parent then it will always be centered | |
4391 | relative to the screen.</docstring> | |
f32fc4bc RD |
4392 | <paramlist> |
4393 | <param name="direction" type="int" default="wxBOTH"/> | |
4394 | </paramlist> | |
4395 | </method> | |
4396 | <method name="CenterOnScreen" type="" overloaded="no"> | |
781d2982 | 4397 | <autodoc>CenterOnScreen(self, int dir=BOTH)</autodoc> |
c2dda882 | 4398 | <docstring>Center on screen (only works for top level windows)</docstring> |
f32fc4bc RD |
4399 | <paramlist> |
4400 | <param name="dir" type="int" default="wxBOTH"/> | |
4401 | </paramlist> | |
4402 | </method> | |
4403 | <method name="CenterOnParent" type="" overloaded="no"> | |
781d2982 | 4404 | <autodoc>CenterOnParent(self, int dir=BOTH)</autodoc> |
c2dda882 | 4405 | <docstring>Center with respect to the the parent window</docstring> |
f32fc4bc RD |
4406 | <paramlist> |
4407 | <param name="dir" type="int" default="wxBOTH"/> | |
4408 | </paramlist> | |
4409 | </method> | |
4410 | <method name="Fit" type="" overloaded="no"> | |
781d2982 | 4411 | <autodoc>Fit(self)</autodoc> |
c2dda882 RD |
4412 | <docstring>Sizes the window so that it fits around its subwindows. This function |
4413 | won't do anything if there are no subwindows and will only really work | |
4414 | correctly if sizers are used for the subwindows layout. Also, if the | |
4415 | window has exactly one subwindow it is better (faster and the result | |
4416 | is more precise as Fit adds some margin to account for fuzziness of | |
4417 | its calculations) to call window.SetClientSize(child.GetSize()) | |
4418 | instead of calling Fit.</docstring> | |
f32fc4bc RD |
4419 | </method> |
4420 | <method name="FitInside" type="" overloaded="no"> | |
781d2982 | 4421 | <autodoc>FitInside(self)</autodoc> |
c2dda882 RD |
4422 | <docstring>Similar to Fit, but sizes the interior (virtual) size of a |
4423 | window. Mainly useful with scrolled windows to reset scrollbars after | |
4424 | sizing changes that do not trigger a size event, and/or scrolled | |
4425 | windows without an interior sizer. This function similarly won't do | |
4426 | anything if there are no subwindows.</docstring> | |
f32fc4bc | 4427 | </method> |
ce6878e6 RD |
4428 | <method name="SetSizeHints" type="" overloaded="no"> |
4429 | <autodoc>SetSizeHints(self, int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, | |
4430 | int incH=-1)</autodoc> | |
c2dda882 RD |
4431 | <docstring>Allows specification of minimum and maximum window sizes, and window |
4432 | size increments. If a pair of values is not set (or set to -1), the | |
4433 | default values will be used. If this function is called, the user | |
ce6878e6 RD |
4434 | will not be able to size the window outside the given bounds (if it is |
4435 | a top-level window.) Sizers will also inspect the minimum window size | |
4436 | and will use that value if set when calculating layout. | |
4437 | ||
4438 | The resizing increments are only significant under Motif or Xt. | |
4439 | ||
4440 | :see: `GetMinSize`, `GetMaxSize`, `SetMinSize`, `SetMaxSize` | |
4441 | </docstring> | |
f32fc4bc RD |
4442 | <paramlist> |
4443 | <param name="minW" type="int" default=""/> | |
4444 | <param name="minH" type="int" default=""/> | |
4445 | <param name="maxW" type="int" default="-1"/> | |
4446 | <param name="maxH" type="int" default="-1"/> | |
4447 | <param name="incW" type="int" default="-1"/> | |
4448 | <param name="incH" type="int" default="-1"/> | |
4449 | </paramlist> | |
4450 | </method> | |
ce6878e6 RD |
4451 | <method name="SetSizeHintsSz" type="" overloaded="no"> |
4452 | <autodoc>SetSizeHintsSz(self, Size minSize, Size maxSize=DefaultSize, Size incSize=DefaultSize)</autodoc> | |
781d2982 RD |
4453 | <docstring>Allows specification of minimum and maximum window sizes, and window |
4454 | size increments. If a pair of values is not set (or set to -1), the | |
4455 | default values will be used. If this function is called, the user | |
ce6878e6 RD |
4456 | will not be able to size the window outside the given bounds (if it is |
4457 | a top-level window.) Sizers will also inspect the minimum window size | |
4458 | and will use that value if set when calculating layout. | |
4459 | ||
4460 | The resizing increments are only significant under Motif or Xt. | |
4461 | ||
4462 | :see: `GetMinSize`, `GetMaxSize`, `SetMinSize`, `SetMaxSize` | |
4463 | </docstring> | |
781d2982 RD |
4464 | <paramlist> |
4465 | <param name="minSize" type="Size" default=""/> | |
4466 | <param name="maxSize" type="Size" default="wxDefaultSize"/> | |
4467 | <param name="incSize" type="Size" default="wxDefaultSize"/> | |
4468 | </paramlist> | |
4469 | </method> | |
ce6878e6 RD |
4470 | <method name="SetVirtualSizeHints" type="" overloaded="no"> |
4471 | <autodoc>SetVirtualSizeHints(self, int minW, int minH, int maxW=-1, int maxH=-1)</autodoc> | |
c2dda882 RD |
4472 | <docstring>Allows specification of minimum and maximum virtual window sizes. If a |
4473 | pair of values is not set (or set to -1), the default values will be | |
4474 | used. If this function is called, the user will not be able to size | |
4475 | the virtual area of the window outside the given bounds.</docstring> | |
f32fc4bc RD |
4476 | <paramlist> |
4477 | <param name="minW" type="int" default=""/> | |
4478 | <param name="minH" type="int" default=""/> | |
4479 | <param name="maxW" type="int" default="-1"/> | |
4480 | <param name="maxH" type="int" default="-1"/> | |
4481 | </paramlist> | |
4482 | </method> | |
ce6878e6 RD |
4483 | <method name="SetVirtualSizeHintsSz" type="" overloaded="no"> |
4484 | <autodoc>SetVirtualSizeHintsSz(self, Size minSize, Size maxSize=DefaultSize)</autodoc> | |
781d2982 RD |
4485 | <docstring>Allows specification of minimum and maximum virtual window sizes. If a |
4486 | pair of values is not set (or set to -1), the default values will be | |
4487 | used. If this function is called, the user will not be able to size | |
4488 | the virtual area of the window outside the given bounds.</docstring> | |
4489 | <paramlist> | |
4490 | <param name="minSize" type="Size" default=""/> | |
4491 | <param name="maxSize" type="Size" default="wxDefaultSize"/> | |
4492 | </paramlist> | |
4493 | </method> | |
ce6878e6 RD |
4494 | <method name="GetMaxSize" type="Size" overloaded="no"> |
4495 | <autodoc>GetMaxSize(self) -> Size</autodoc> | |
4496 | </method> | |
4497 | <method name="GetMinSize" type="Size" overloaded="no"> | |
4498 | <autodoc>GetMinSize(self) -> Size</autodoc> | |
4499 | </method> | |
4500 | <method name="SetMinSize" type="" overloaded="no"> | |
4501 | <autodoc>SetMinSize(self, Size minSize)</autodoc> | |
4502 | <docstring>A more convenient method than `SetSizeHints` for setting just the | |
4503 | min size.</docstring> | |
4504 | <paramlist> | |
4505 | <param name="minSize" type="Size" default=""/> | |
4506 | </paramlist> | |
4507 | </method> | |
4508 | <method name="SetMaxSize" type="" overloaded="no"> | |
4509 | <autodoc>SetMaxSize(self, Size maxSize)</autodoc> | |
4510 | <docstring>A more convenient method than `SetSizeHints` for setting just the | |
4511 | max size.</docstring> | |
4512 | <paramlist> | |
4513 | <param name="maxSize" type="Size" default=""/> | |
4514 | </paramlist> | |
4515 | </method> | |
f32fc4bc | 4516 | <method name="GetMinWidth" type="int" overloaded="no"> |
781d2982 | 4517 | <autodoc>GetMinWidth(self) -> int</autodoc> |
f32fc4bc RD |
4518 | </method> |
4519 | <method name="GetMinHeight" type="int" overloaded="no"> | |
781d2982 | 4520 | <autodoc>GetMinHeight(self) -> int</autodoc> |
f32fc4bc RD |
4521 | </method> |
4522 | <method name="GetMaxWidth" type="int" overloaded="no"> | |
781d2982 | 4523 | <autodoc>GetMaxWidth(self) -> int</autodoc> |
f32fc4bc RD |
4524 | </method> |
4525 | <method name="GetMaxHeight" type="int" overloaded="no"> | |
781d2982 | 4526 | <autodoc>GetMaxHeight(self) -> int</autodoc> |
f32fc4bc | 4527 | </method> |
f32fc4bc | 4528 | <method name="SetVirtualSize" type="" overloaded="no"> |
781d2982 | 4529 | <autodoc>SetVirtualSize(self, Size size)</autodoc> |
c2dda882 RD |
4530 | <docstring>Set the the virtual size of a window in pixels. For most windows this |
4531 | is just the client area of the window, but for some like scrolled | |
4532 | windows it is more or less independent of the screen window size.</docstring> | |
f32fc4bc RD |
4533 | <paramlist> |
4534 | <param name="size" type="Size" default=""/> | |
4535 | </paramlist> | |
4536 | </method> | |
4537 | <method name="SetVirtualSizeWH" type="" overloaded="no"> | |
781d2982 | 4538 | <autodoc>SetVirtualSizeWH(self, int w, int h)</autodoc> |
c2dda882 RD |
4539 | <docstring>Set the the virtual size of a window in pixels. For most windows this |
4540 | is just the client area of the window, but for some like scrolled | |
4541 | windows it is more or less independent of the screen window size.</docstring> | |
f32fc4bc RD |
4542 | <paramlist> |
4543 | <param name="w" type="int" default=""/> | |
4544 | <param name="h" type="int" default=""/> | |
4545 | </paramlist> | |
4546 | </method> | |
4547 | <method name="GetVirtualSize" type="Size" overloaded="no"> | |
781d2982 | 4548 | <autodoc>GetVirtualSize(self) -> Size</autodoc> |
c2dda882 RD |
4549 | <docstring>Get the the virtual size of the window in pixels. For most windows |
4550 | this is just the client area of the window, but for some like scrolled | |
4551 | windows it is more or less independent of the screen window size.</docstring> | |
f32fc4bc RD |
4552 | </method> |
4553 | <method name="GetVirtualSizeTuple" type="" overloaded="no"> | |
4554 | <autodoc>GetVirtualSizeTuple() -> (width, height)</autodoc> | |
c2dda882 RD |
4555 | <docstring>Get the the virtual size of the window in pixels. For most windows |
4556 | this is just the client area of the window, but for some like scrolled | |
4557 | windows it is more or less independent of the screen window size.</docstring> | |
f32fc4bc RD |
4558 | <paramlist> |
4559 | <param name="OUTPUT" type="int" default=""/> | |
4560 | <param name="OUTPUT" type="int" default=""/> | |
4561 | </paramlist> | |
4562 | </method> | |
4563 | <method name="GetBestVirtualSize" type="Size" overloaded="no"> | |
781d2982 | 4564 | <autodoc>GetBestVirtualSize(self) -> Size</autodoc> |
c2dda882 RD |
4565 | <docstring>Return the largest of ClientSize and BestSize (as determined by a |
4566 | sizer, interior children, or other means)</docstring> | |
f32fc4bc RD |
4567 | </method> |
4568 | <method name="Show" type="bool" overloaded="no"> | |
781d2982 | 4569 | <autodoc>Show(self, bool show=True) -> bool</autodoc> |
c2dda882 RD |
4570 | <docstring>Shows or hides the window. You may need to call Raise for a top level |
4571 | window if you want to bring it to top, although this is not needed if | |
4572 | Show is called immediately after the frame creation. Returns True if | |
4573 | the window has been shown or hidden or False if nothing was done | |
4574 | because it already was in the requested state.</docstring> | |
f32fc4bc RD |
4575 | <paramlist> |
4576 | <param name="show" type="bool" default="True"/> | |
4577 | </paramlist> | |
4578 | </method> | |
4579 | <method name="Hide" type="bool" overloaded="no"> | |
781d2982 | 4580 | <autodoc>Hide(self) -> bool</autodoc> |
c2dda882 | 4581 | <docstring>Equivalent to calling Show(False).</docstring> |
f32fc4bc RD |
4582 | </method> |
4583 | <method name="Enable" type="bool" overloaded="no"> | |
781d2982 | 4584 | <autodoc>Enable(self, bool enable=True) -> bool</autodoc> |
c2dda882 RD |
4585 | <docstring>Enable or disable the window for user input. Note that when a parent |
4586 | window is disabled, all of its children are disabled as well and they | |
4587 | are reenabled again when the parent is. Returns true if the window | |
4588 | has been enabled or disabled, false if nothing was done, i.e. if the | |
4589 | window had already been in the specified state.</docstring> | |
f32fc4bc RD |
4590 | <paramlist> |
4591 | <param name="enable" type="bool" default="True"/> | |
4592 | </paramlist> | |
4593 | </method> | |
4594 | <method name="Disable" type="bool" overloaded="no"> | |
781d2982 | 4595 | <autodoc>Disable(self) -> bool</autodoc> |
c2dda882 | 4596 | <docstring>Disables the window, same as Enable(false).</docstring> |
f32fc4bc RD |
4597 | </method> |
4598 | <method name="IsShown" type="bool" overloaded="no"> | |
781d2982 | 4599 | <autodoc>IsShown(self) -> bool</autodoc> |
c2dda882 | 4600 | <docstring>Returns true if the window is shown, false if it has been hidden.</docstring> |
f32fc4bc RD |
4601 | </method> |
4602 | <method name="IsEnabled" type="bool" overloaded="no"> | |
781d2982 | 4603 | <autodoc>IsEnabled(self) -> bool</autodoc> |
c2dda882 | 4604 | <docstring>Returns true if the window is enabled for input, false otherwise.</docstring> |
f32fc4bc RD |
4605 | </method> |
4606 | <method name="SetWindowStyleFlag" type="" overloaded="no"> | |
781d2982 | 4607 | <autodoc>SetWindowStyleFlag(self, long style)</autodoc> |
c2dda882 | 4608 | <docstring>Sets the style of the window. Please note that some styles cannot be |
781d2982 RD |
4609 | changed after the window creation and that Refresh() might need to be |
4610 | called after changing the others for the change to take place | |
4611 | immediately.</docstring> | |
f32fc4bc RD |
4612 | <paramlist> |
4613 | <param name="style" type="long" default=""/> | |
4614 | </paramlist> | |
4615 | </method> | |
4616 | <method name="GetWindowStyleFlag" type="long" overloaded="no"> | |
781d2982 | 4617 | <autodoc>GetWindowStyleFlag(self) -> long</autodoc> |
c2dda882 RD |
4618 | <docstring>Gets the window style that was passed to the constructor or Create |
4619 | method.</docstring> | |
f32fc4bc RD |
4620 | </method> |
4621 | <method name="HasFlag" type="bool" overloaded="no"> | |
781d2982 | 4622 | <autodoc>HasFlag(self, int flag) -> bool</autodoc> |
c2dda882 | 4623 | <docstring>Test if the given style is set for this window.</docstring> |
f32fc4bc RD |
4624 | <paramlist> |
4625 | <param name="flag" type="int" default=""/> | |
4626 | </paramlist> | |
4627 | </method> | |
4628 | <method name="IsRetained" type="bool" overloaded="no"> | |
781d2982 | 4629 | <autodoc>IsRetained(self) -> bool</autodoc> |
c2dda882 RD |
4630 | <docstring>Returns true if the window is retained, false otherwise. Retained |
4631 | windows are only available on X platforms.</docstring> | |
f32fc4bc RD |
4632 | </method> |
4633 | <method name="SetExtraStyle" type="" overloaded="no"> | |
781d2982 | 4634 | <autodoc>SetExtraStyle(self, long exStyle)</autodoc> |
c2dda882 RD |
4635 | <docstring>Sets the extra style bits for the window. Extra styles are the less |
4636 | often used style bits which can't be set with the constructor or with | |
4637 | SetWindowStyleFlag()</docstring> | |
f32fc4bc RD |
4638 | <paramlist> |
4639 | <param name="exStyle" type="long" default=""/> | |
4640 | </paramlist> | |
4641 | </method> | |
4642 | <method name="GetExtraStyle" type="long" overloaded="no"> | |
781d2982 | 4643 | <autodoc>GetExtraStyle(self) -> long</autodoc> |
c2dda882 | 4644 | <docstring>Returns the extra style bits for the window.</docstring> |
f32fc4bc RD |
4645 | </method> |
4646 | <method name="MakeModal" type="" overloaded="no"> | |
781d2982 | 4647 | <autodoc>MakeModal(self, bool modal=True)</autodoc> |
c2dda882 RD |
4648 | <docstring>Disables all other windows in the application so that the user can |
4649 | only interact with this window. Passing False will reverse this | |
4650 | effect.</docstring> | |
f32fc4bc RD |
4651 | <paramlist> |
4652 | <param name="modal" type="bool" default="True"/> | |
4653 | </paramlist> | |
4654 | </method> | |
4655 | <method name="SetThemeEnabled" type="" overloaded="no"> | |
781d2982 | 4656 | <autodoc>SetThemeEnabled(self, bool enableTheme)</autodoc> |
c2dda882 RD |
4657 | <docstring>This function tells a window if it should use the system's "theme" |
4658 | code to draw the windows' background instead if its own background | |
4659 | drawing code. This will only have an effect on platforms that support | |
4660 | the notion of themes in user defined windows. One such platform is | |
4661 | GTK+ where windows can have (very colourful) backgrounds defined by a | |
4662 | user's selected theme. | |
4663 | ||
4664 | Dialogs, notebook pages and the status bar have this flag set to true | |
4665 | by default so that the default look and feel is simulated best.</docstring> | |
f32fc4bc RD |
4666 | <paramlist> |
4667 | <param name="enableTheme" type="bool" default=""/> | |
4668 | </paramlist> | |
4669 | </method> | |
4670 | <method name="GetThemeEnabled" type="bool" overloaded="no"> | |
781d2982 | 4671 | <autodoc>GetThemeEnabled(self) -> bool</autodoc> |
c2dda882 | 4672 | <docstring>Return the themeEnabled flag.</docstring> |
f32fc4bc RD |
4673 | </method> |
4674 | <method name="SetFocus" type="" overloaded="no"> | |
781d2982 | 4675 | <autodoc>SetFocus(self)</autodoc> |
c2dda882 | 4676 | <docstring>Set's the focus to this window, allowing it to receive keyboard input.</docstring> |
f32fc4bc RD |
4677 | </method> |
4678 | <method name="SetFocusFromKbd" type="" overloaded="no"> | |
781d2982 | 4679 | <autodoc>SetFocusFromKbd(self)</autodoc> |
c2dda882 RD |
4680 | <docstring>Set focus to this window as the result of a keyboard action. Normally |
4681 | only called internally.</docstring> | |
f32fc4bc RD |
4682 | </method> |
4683 | <staticmethod name="FindFocus" type="Window" overloaded="no"> | |
4684 | <autodoc>FindFocus() -> Window</autodoc> | |
c2dda882 RD |
4685 | <docstring>Returns the window or control that currently has the keyboard focus, |
4686 | or None.</docstring> | |
f32fc4bc RD |
4687 | </staticmethod> |
4688 | <method name="AcceptsFocus" type="bool" overloaded="no"> | |
781d2982 | 4689 | <autodoc>AcceptsFocus(self) -> bool</autodoc> |
c2dda882 | 4690 | <docstring>Can this window have focus?</docstring> |
f32fc4bc RD |
4691 | </method> |
4692 | <method name="AcceptsFocusFromKeyboard" type="bool" overloaded="no"> | |
781d2982 | 4693 | <autodoc>AcceptsFocusFromKeyboard(self) -> bool</autodoc> |
c2dda882 RD |
4694 | <docstring>Can this window be given focus by keyboard navigation? if not, the |
4695 | only way to give it focus (provided it accepts it at all) is to click | |
4696 | it.</docstring> | |
f32fc4bc RD |
4697 | </method> |
4698 | <method name="GetDefaultItem" type="Window" overloaded="no"> | |
781d2982 | 4699 | <autodoc>GetDefaultItem(self) -> Window</autodoc> |
c2dda882 RD |
4700 | <docstring>Get the default child of this parent, i.e. the one which is activated |
4701 | by pressing <Enter> such as the OK button on a wx.Dialog.</docstring> | |
f32fc4bc RD |
4702 | </method> |
4703 | <method name="SetDefaultItem" type="Window" overloaded="no"> | |
781d2982 | 4704 | <autodoc>SetDefaultItem(self, Window child) -> Window</autodoc> |
c2dda882 | 4705 | <docstring>Set this child as default, return the old default.</docstring> |
f32fc4bc RD |
4706 | <paramlist> |
4707 | <param name="child" type="Window" default=""/> | |
4708 | </paramlist> | |
4709 | </method> | |
4710 | <method name="SetTmpDefaultItem" type="" overloaded="no"> | |
781d2982 | 4711 | <autodoc>SetTmpDefaultItem(self, Window win)</autodoc> |
c2dda882 | 4712 | <docstring>Set this child as temporary default</docstring> |
f32fc4bc RD |
4713 | <paramlist> |
4714 | <param name="win" type="Window" default=""/> | |
4715 | </paramlist> | |
4716 | </method> | |
ce6878e6 RD |
4717 | <method name="Navigate" type="bool" overloaded="no"> |
4718 | <autodoc>Navigate(self, int flags=NavigationKeyEvent.IsForward) -> bool</autodoc> | |
4719 | <docstring>Does keyboard navigation from this window to another, by sending a | |
4720 | `wx.NavigationKeyEvent`. | |
4721 | ||
4722 | :param flags: A combination of the ``IsForward`` or ``IsBackward`` | |
4723 | and the ``WinChange`` values in the `wx.NavigationKeyEvent` | |
4724 | class, which determine if the navigation should be in forward | |
4725 | or reverse order, and if it should be able to cross parent | |
4726 | window boundaries, such as between notebook pages or MDI child | |
4727 | frames. Typically the status of the Shift key (for forward or | |
4728 | backward) or the Control key (for WinChange) would be used to | |
4729 | determine how to set the flags. | |
4730 | ||
4731 | One situation in which you may wish to call this method is from a text | |
4732 | control custom keypress handler to do the default navigation behaviour | |
4733 | for the tab key, since the standard default behaviour for a multiline | |
4734 | text control with the wx.TE_PROCESS_TAB style is to insert a tab and | |
4735 | not navigate to the next control.</docstring> | |
4736 | <paramlist> | |
4737 | <param name="flags" type="int" default="wxNavigationKeyEvent::IsForward"/> | |
4738 | </paramlist> | |
4739 | </method> | |
4740 | <method name="MoveAfterInTabOrder" type="" overloaded="no"> | |
4741 | <autodoc>MoveAfterInTabOrder(self, Window win)</autodoc> | |
4742 | <docstring>Moves this window in the tab navigation order after the specified | |
4743 | sibling window. This means that when the user presses the TAB key on | |
4744 | that other window, the focus switches to this window. | |
4745 | ||
4746 | The default tab order is the same as creation order. This function | |
4747 | and `MoveBeforeInTabOrder` allow to change it after creating all the | |
4748 | windows. | |
4749 | </docstring> | |
4750 | <paramlist> | |
4751 | <param name="win" type="Window" default=""/> | |
4752 | </paramlist> | |
4753 | </method> | |
4754 | <method name="MoveBeforeInTabOrder" type="" overloaded="no"> | |
4755 | <autodoc>MoveBeforeInTabOrder(self, Window win)</autodoc> | |
4756 | <docstring>Same as `MoveAfterInTabOrder` except that it inserts this window just | |
4757 | before win instead of putting it right after it.</docstring> | |
4758 | <paramlist> | |
4759 | <param name="win" type="Window" default=""/> | |
4760 | </paramlist> | |
4761 | </method> | |
f32fc4bc | 4762 | <method name="GetChildren" type="PyObject" overloaded="no"> |
781d2982 | 4763 | <autodoc>GetChildren(self) -> PyObject</autodoc> |
c2dda882 RD |
4764 | <docstring>Returns a list of the window's children. NOTE: Currently this is a |
4765 | copy of the child window list maintained by the window, so the return | |
4766 | value of this function is only valid as long as the window's children | |
4767 | do not change.</docstring> | |
f32fc4bc RD |
4768 | </method> |
4769 | <method name="GetParent" type="Window" overloaded="no"> | |
781d2982 | 4770 | <autodoc>GetParent(self) -> Window</autodoc> |
c2dda882 | 4771 | <docstring>Returns the parent window of this window, or None if there isn't one.</docstring> |
f32fc4bc RD |
4772 | </method> |
4773 | <method name="GetGrandParent" type="Window" overloaded="no"> | |
781d2982 RD |
4774 | <autodoc>GetGrandParent(self) -> Window</autodoc> |
4775 | <docstring>Returns the parent of the parent of this window, or None if there | |
4776 | isn't one.</docstring> | |
f32fc4bc RD |
4777 | </method> |
4778 | <method name="IsTopLevel" type="bool" overloaded="no"> | |
781d2982 | 4779 | <autodoc>IsTopLevel(self) -> bool</autodoc> |
c2dda882 RD |
4780 | <docstring>Returns true if the given window is a top-level one. Currently all |
4781 | frames and dialogs are always considered to be top-level windows (even | |
4782 | if they have a parent window).</docstring> | |
f32fc4bc RD |
4783 | </method> |
4784 | <method name="Reparent" type="bool" overloaded="no"> | |
781d2982 | 4785 | <autodoc>Reparent(self, Window newParent) -> bool</autodoc> |
c2dda882 RD |
4786 | <docstring>Reparents the window, i.e the window will be removed from its current |
4787 | parent window (e.g. a non-standard toolbar in a wxFrame) and then | |
4788 | re-inserted into another. Available on Windows and GTK. Returns True | |
4789 | if the parent was changed, False otherwise (error or newParent == | |
4790 | oldParent)</docstring> | |
f32fc4bc RD |
4791 | <paramlist> |
4792 | <param name="newParent" type="Window" default=""/> | |
4793 | </paramlist> | |
4794 | </method> | |
4795 | <method name="AddChild" type="" overloaded="no"> | |
781d2982 | 4796 | <autodoc>AddChild(self, Window child)</autodoc> |
c2dda882 RD |
4797 | <docstring>Adds a child window. This is called automatically by window creation |
4798 | functions so should not be required by the application programmer.</docstring> | |
f32fc4bc RD |
4799 | <paramlist> |
4800 | <param name="child" type="Window" default=""/> | |
4801 | </paramlist> | |
4802 | </method> | |
4803 | <method name="RemoveChild" type="" overloaded="no"> | |
781d2982 | 4804 | <autodoc>RemoveChild(self, Window child)</autodoc> |
c2dda882 RD |
4805 | <docstring>Removes a child window. This is called automatically by window |
4806 | deletion functions so should not be required by the application | |
4807 | programmer.</docstring> | |
f32fc4bc RD |
4808 | <paramlist> |
4809 | <param name="child" type="Window" default=""/> | |
4810 | </paramlist> | |
4811 | </method> | |
4812 | <method name="FindWindowById" type="Window" overloaded="no"> | |
781d2982 | 4813 | <autodoc>FindWindowById(self, long winid) -> Window</autodoc> |
c2dda882 | 4814 | <docstring>Find a chld of this window by window ID</docstring> |
f32fc4bc RD |
4815 | <paramlist> |
4816 | <param name="winid" type="long" default=""/> | |
4817 | </paramlist> | |
4818 | </method> | |
4819 | <method name="FindWindowByName" type="Window" overloaded="no"> | |
781d2982 | 4820 | <autodoc>FindWindowByName(self, String name) -> Window</autodoc> |
c2dda882 | 4821 | <docstring>Find a child of this window by name</docstring> |
f32fc4bc RD |
4822 | <paramlist> |
4823 | <param name="name" type="String" default=""/> | |
4824 | </paramlist> | |
4825 | </method> | |
4826 | <method name="GetEventHandler" type="EvtHandler" overloaded="no"> | |
781d2982 | 4827 | <autodoc>GetEventHandler(self) -> EvtHandler</autodoc> |
c2dda882 RD |
4828 | <docstring>Returns the event handler for this window. By default, the window is |
4829 | its own event handler.</docstring> | |
f32fc4bc RD |
4830 | </method> |
4831 | <method name="SetEventHandler" type="" overloaded="no"> | |
781d2982 | 4832 | <autodoc>SetEventHandler(self, EvtHandler handler)</autodoc> |
c2dda882 RD |
4833 | <docstring>Sets the event handler for this window. An event handler is an object |
4834 | that is capable of processing the events sent to a window. By default, | |
4835 | the window is its own event handler, but an application may wish to | |
4836 | substitute another, for example to allow central implementation of | |
4837 | event-handling for a variety of different window classes. | |
4838 | ||
781d2982 | 4839 | It is usually better to use `wx.Window.PushEventHandler` since this sets |
c2dda882 RD |
4840 | up a chain of event handlers, where an event not handled by one event |
4841 | handler is handed to the next one in the chain.</docstring> | |
f32fc4bc RD |
4842 | <paramlist> |
4843 | <param name="handler" type="EvtHandler" default=""/> | |
4844 | </paramlist> | |
4845 | </method> | |
4846 | <method name="PushEventHandler" type="" overloaded="no"> | |
781d2982 | 4847 | <autodoc>PushEventHandler(self, EvtHandler handler)</autodoc> |
c2dda882 RD |
4848 | <docstring>Pushes this event handler onto the event handler stack for the window. |
4849 | An event handler is an object that is capable of processing the events | |
4850 | sent to a window. By default, the window is its own event handler, but | |
4851 | an application may wish to substitute another, for example to allow | |
4852 | central implementation of event-handling for a variety of different | |
4853 | window classes. | |
4854 | ||
4855 | wx.Window.PushEventHandler allows an application to set up a chain of | |
4856 | event handlers, where an event not handled by one event handler is | |
781d2982 | 4857 | handed to the next one in the chain. Use `wx.Window.PopEventHandler` to |
c2dda882 | 4858 | remove the event handler.</docstring> |
f32fc4bc RD |
4859 | <paramlist> |
4860 | <param name="handler" type="EvtHandler" default=""/> | |
4861 | </paramlist> | |
4862 | </method> | |
4863 | <method name="PopEventHandler" type="EvtHandler" overloaded="no"> | |
781d2982 | 4864 | <autodoc>PopEventHandler(self, bool deleteHandler=False) -> EvtHandler</autodoc> |
c2dda882 RD |
4865 | <docstring>Removes and returns the top-most event handler on the event handler |
4866 | stack. If deleteHandler is True then the wx.EvtHandler object will be | |
4867 | destroyed after it is popped.</docstring> | |
f32fc4bc RD |
4868 | <paramlist> |
4869 | <param name="deleteHandler" type="bool" default="False"/> | |
4870 | </paramlist> | |
4871 | </method> | |
4872 | <method name="RemoveEventHandler" type="bool" overloaded="no"> | |
781d2982 RD |
4873 | <autodoc>RemoveEventHandler(self, EvtHandler handler) -> bool</autodoc> |
4874 | <docstring>Find the given handler in the event handler chain and remove (but not | |
4875 | delete) it from the event handler chain, return True if it was found | |
4876 | and False otherwise (this also results in an assert failure so this | |
4877 | function should only be called when the handler is supposed to be | |
4878 | there.)</docstring> | |
f32fc4bc RD |
4879 | <paramlist> |
4880 | <param name="handler" type="EvtHandler" default=""/> | |
4881 | </paramlist> | |
4882 | </method> | |
4883 | <method name="SetValidator" type="" overloaded="no"> | |
781d2982 | 4884 | <autodoc>SetValidator(self, Validator validator)</autodoc> |
c2dda882 RD |
4885 | <docstring>Deletes the current validator (if any) and sets the window validator, |
4886 | having called wx.Validator.Clone to create a new validator of this | |
4887 | type.</docstring> | |
f32fc4bc RD |
4888 | <paramlist> |
4889 | <param name="validator" type="wxValidator" default=""/> | |
4890 | </paramlist> | |
4891 | </method> | |
4892 | <method name="GetValidator" type="wxValidator" overloaded="no"> | |
781d2982 | 4893 | <autodoc>GetValidator(self) -> Validator</autodoc> |
c2dda882 RD |
4894 | <docstring>Returns a pointer to the current validator for the window, or None if |
4895 | there is none.</docstring> | |
781d2982 RD |
4896 | </method> |
4897 | <method name="Validate" type="bool" overloaded="no"> | |
4898 | <autodoc>Validate(self) -> bool</autodoc> | |
4899 | <docstring>Validates the current values of the child controls using their | |
4900 | validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra | |
4901 | style flag set, the method will also call Validate() of all child | |
4902 | windows. Returns false if any of the validations failed.</docstring> | |
4903 | </method> | |
4904 | <method name="TransferDataToWindow" type="bool" overloaded="no"> | |
4905 | <autodoc>TransferDataToWindow(self) -> bool</autodoc> | |
4906 | <docstring>Transfers values to child controls from data areas specified by their | |
4907 | validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra | |
4908 | style flag set, the method will also call TransferDataToWindow() of | |
4909 | all child windows.</docstring> | |
4910 | </method> | |
4911 | <method name="TransferDataFromWindow" type="bool" overloaded="no"> | |
4912 | <autodoc>TransferDataFromWindow(self) -> bool</autodoc> | |
4913 | <docstring>Transfers values from child controls to data areas specified by their | |
4914 | validators. Returns false if a transfer failed. If the window has | |
4915 | wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will | |
4916 | also call TransferDataFromWindow() of all child windows.</docstring> | |
4917 | </method> | |
4918 | <method name="InitDialog" type="" overloaded="no"> | |
4919 | <autodoc>InitDialog(self)</autodoc> | |
4920 | <docstring>Sends an EVT_INIT_DIALOG event, whose handler usually transfers data | |
4921 | to the dialog via validators.</docstring> | |
f32fc4bc RD |
4922 | </method> |
4923 | <method name="SetAcceleratorTable" type="" overloaded="no"> | |
781d2982 | 4924 | <autodoc>SetAcceleratorTable(self, AcceleratorTable accel)</autodoc> |
c2dda882 | 4925 | <docstring>Sets the accelerator table for this window.</docstring> |
f32fc4bc RD |
4926 | <paramlist> |
4927 | <param name="accel" type="AcceleratorTable" default=""/> | |
4928 | </paramlist> | |
4929 | </method> | |
4930 | <method name="GetAcceleratorTable" type="AcceleratorTable" overloaded="no"> | |
781d2982 | 4931 | <autodoc>GetAcceleratorTable(self) -> AcceleratorTable</autodoc> |
c2dda882 | 4932 | <docstring>Gets the accelerator table for this window.</docstring> |
f32fc4bc RD |
4933 | </method> |
4934 | <method name="RegisterHotKey" type="bool" overloaded="no"> | |
781d2982 | 4935 | <autodoc>RegisterHotKey(self, int hotkeyId, int modifiers, int keycode) -> bool</autodoc> |
c2dda882 RD |
4936 | <docstring>Registers a system wide hotkey. Every time the user presses the hotkey |
4937 | registered here, this window will receive a hotkey event. It will | |
4938 | receive the event even if the application is in the background and | |
4939 | does not have the input focus because the user is working with some | |
4940 | other application. To bind an event handler function to this hotkey | |
4941 | use EVT_HOTKEY with an id equal to hotkeyId. Returns True if the | |
4942 | hotkey was registered successfully.</docstring> | |
f32fc4bc RD |
4943 | <paramlist> |
4944 | <param name="hotkeyId" type="int" default=""/> | |
4945 | <param name="modifiers" type="int" default=""/> | |
4946 | <param name="keycode" type="int" default=""/> | |
4947 | </paramlist> | |
4948 | </method> | |
4949 | <method name="UnregisterHotKey" type="bool" overloaded="no"> | |
781d2982 | 4950 | <autodoc>UnregisterHotKey(self, int hotkeyId) -> bool</autodoc> |
c2dda882 | 4951 | <docstring>Unregisters a system wide hotkey.</docstring> |
f32fc4bc RD |
4952 | <paramlist> |
4953 | <param name="hotkeyId" type="int" default=""/> | |
4954 | </paramlist> | |
4955 | </method> | |
4956 | <method name="ConvertDialogPointToPixels" type="Point" overloaded="no"> | |
781d2982 | 4957 | <autodoc>ConvertDialogPointToPixels(self, Point pt) -> Point</autodoc> |
c2dda882 RD |
4958 | <docstring>Converts a point or size from dialog units to pixels. Dialog units |
4959 | are used for maintaining a dialog's proportions even if the font | |
4960 | changes. For the x dimension, the dialog units are multiplied by the | |
4961 | average character width and then divided by 4. For the y dimension, | |
4962 | the dialog units are multiplied by the average character height and | |
4963 | then divided by 8.</docstring> | |
f32fc4bc RD |
4964 | <paramlist> |
4965 | <param name="pt" type="Point" default=""/> | |
4966 | </paramlist> | |
4967 | </method> | |
4968 | <method name="ConvertDialogSizeToPixels" type="Size" overloaded="no"> | |
781d2982 | 4969 | <autodoc>ConvertDialogSizeToPixels(self, Size sz) -> Size</autodoc> |
c2dda882 RD |
4970 | <docstring>Converts a point or size from dialog units to pixels. Dialog units |
4971 | are used for maintaining a dialog's proportions even if the font | |
4972 | changes. For the x dimension, the dialog units are multiplied by the | |
4973 | average character width and then divided by 4. For the y dimension, | |
4974 | the dialog units are multiplied by the average character height and | |
4975 | then divided by 8.</docstring> | |
f32fc4bc RD |
4976 | <paramlist> |
4977 | <param name="sz" type="Size" default=""/> | |
4978 | </paramlist> | |
4979 | </method> | |
4980 | <method name="DLG_PNT" type="Point" overloaded="no"> | |
781d2982 | 4981 | <autodoc>DLG_PNT(self, Point pt) -> Point</autodoc> |
c2dda882 RD |
4982 | <docstring>Converts a point or size from dialog units to pixels. Dialog units |
4983 | are used for maintaining a dialog's proportions even if the font | |
4984 | changes. For the x dimension, the dialog units are multiplied by the | |
4985 | average character width and then divided by 4. For the y dimension, | |
4986 | the dialog units are multiplied by the average character height and | |
4987 | then divided by 8.</docstring> | |
f32fc4bc RD |
4988 | <paramlist> |
4989 | <param name="pt" type="Point" default=""/> | |
4990 | </paramlist> | |
4991 | </method> | |
4992 | <method name="DLG_SZE" type="Size" overloaded="no"> | |
781d2982 | 4993 | <autodoc>DLG_SZE(self, Size sz) -> Size</autodoc> |
c2dda882 RD |
4994 | <docstring>Converts a point or size from dialog units to pixels. Dialog units |
4995 | are used for maintaining a dialog's proportions even if the font | |
4996 | changes. For the x dimension, the dialog units are multiplied by the | |
4997 | average character width and then divided by 4. For the y dimension, | |
4998 | the dialog units are multiplied by the average character height and | |
4999 | then divided by 8.</docstring> | |
f32fc4bc RD |
5000 | <paramlist> |
5001 | <param name="sz" type="Size" default=""/> | |
5002 | </paramlist> | |
5003 | </method> | |
5004 | <method name="ConvertPixelPointToDialog" type="Point" overloaded="no"> | |
781d2982 | 5005 | <autodoc>ConvertPixelPointToDialog(self, Point pt) -> Point</autodoc> |
f32fc4bc RD |
5006 | <paramlist> |
5007 | <param name="pt" type="Point" default=""/> | |
5008 | </paramlist> | |
5009 | </method> | |
5010 | <method name="ConvertPixelSizeToDialog" type="Size" overloaded="no"> | |
781d2982 | 5011 | <autodoc>ConvertPixelSizeToDialog(self, Size sz) -> Size</autodoc> |
f32fc4bc RD |
5012 | <paramlist> |
5013 | <param name="sz" type="Size" default=""/> | |
5014 | </paramlist> | |
5015 | </method> | |
5016 | <method name="WarpPointer" type="" overloaded="no"> | |
781d2982 | 5017 | <autodoc>WarpPointer(self, int x, int y)</autodoc> |
c2dda882 RD |
5018 | <docstring>Moves the pointer to the given position on the window. |
5019 | ||
5020 | NOTE: This function is not supported under Mac because Apple Human | |
5021 | Interface Guidelines forbid moving the mouse cursor programmatically.</docstring> | |
f32fc4bc RD |
5022 | <paramlist> |
5023 | <param name="x" type="int" default=""/> | |
5024 | <param name="y" type="int" default=""/> | |
5025 | </paramlist> | |
5026 | </method> | |
5027 | <method name="CaptureMouse" type="" overloaded="no"> | |
781d2982 | 5028 | <autodoc>CaptureMouse(self)</autodoc> |
c2dda882 RD |
5029 | <docstring>Directs all mouse input to this window. Call wx.Window.ReleaseMouse to |
5030 | release the capture. | |
5031 | ||
5032 | Note that wxWindows maintains the stack of windows having captured the | |
5033 | mouse and when the mouse is released the capture returns to the window | |
5034 | which had had captured it previously and it is only really released if | |
5035 | there were no previous window. In particular, this means that you must | |
5036 | release the mouse as many times as you capture it.</docstring> | |
f32fc4bc RD |
5037 | </method> |
5038 | <method name="ReleaseMouse" type="" overloaded="no"> | |
781d2982 | 5039 | <autodoc>ReleaseMouse(self)</autodoc> |
c2dda882 | 5040 | <docstring>Releases mouse input captured with wx.Window.CaptureMouse.</docstring> |
f32fc4bc RD |
5041 | </method> |
5042 | <staticmethod name="GetCapture" type="Window" overloaded="no"> | |
5043 | <autodoc>GetCapture() -> Window</autodoc> | |
c2dda882 | 5044 | <docstring>Returns the window which currently captures the mouse or None</docstring> |
f32fc4bc RD |
5045 | </staticmethod> |
5046 | <method name="HasCapture" type="bool" overloaded="no"> | |
781d2982 | 5047 | <autodoc>HasCapture(self) -> bool</autodoc> |
c2dda882 | 5048 | <docstring>Returns true if this window has the current mouse capture.</docstring> |
f32fc4bc RD |
5049 | </method> |
5050 | <method name="Refresh" type="" overloaded="no"> | |
781d2982 | 5051 | <autodoc>Refresh(self, bool eraseBackground=True, Rect rect=None)</autodoc> |
c2dda882 RD |
5052 | <docstring>Mark the specified rectangle (or the whole window) as "dirty" so it |
5053 | will be repainted. Causes an EVT_PAINT event to be generated and sent | |
5054 | to the window.</docstring> | |
f32fc4bc RD |
5055 | <paramlist> |
5056 | <param name="eraseBackground" type="bool" default="True"/> | |
5057 | <param name="rect" type="Rect" default="NULL"/> | |
5058 | </paramlist> | |
5059 | </method> | |
5060 | <method name="RefreshRect" type="" overloaded="no"> | |
781d2982 | 5061 | <autodoc>RefreshRect(self, Rect rect)</autodoc> |
c2dda882 RD |
5062 | <docstring>Redraws the contents of the given rectangle: the area inside it will |
5063 | be repainted. This is the same as Refresh but has a nicer syntax.</docstring> | |
f32fc4bc RD |
5064 | <paramlist> |
5065 | <param name="rect" type="Rect" default=""/> | |
5066 | </paramlist> | |
5067 | </method> | |
5068 | <method name="Update" type="" overloaded="no"> | |
781d2982 | 5069 | <autodoc>Update(self)</autodoc> |
c2dda882 RD |
5070 | <docstring>Calling this method immediately repaints the invalidated area of the |
5071 | window instead of waiting for the EVT_PAINT event to happen, (normally | |
5072 | this would usually only happen when the flow of control returns to the | |
5073 | event loop.) Notice that this function doesn't refresh the window and | |
5074 | does nothing if the window has been already repainted. Use Refresh | |
5075 | first if you want to immediately redraw the window (or some portion of | |
5076 | it) unconditionally.</docstring> | |
f32fc4bc RD |
5077 | </method> |
5078 | <method name="ClearBackground" type="" overloaded="no"> | |
781d2982 | 5079 | <autodoc>ClearBackground(self)</autodoc> |
c2dda882 RD |
5080 | <docstring>Clears the window by filling it with the current background |
5081 | colour. Does not cause an erase background event to be generated.</docstring> | |
f32fc4bc RD |
5082 | </method> |
5083 | <method name="Freeze" type="" overloaded="no"> | |
781d2982 RD |
5084 | <autodoc>Freeze(self)</autodoc> |
5085 | <docstring>Freezes the window or, in other words, prevents any updates from | |
5086 | taking place on screen, the window is not redrawn at all. Thaw must be | |
5087 | called to reenable window redrawing. Calls to Freeze/Thaw may be | |
5088 | nested, with the actual Thaw being delayed until all the nesting has | |
5089 | been undone. | |
c2dda882 RD |
5090 | |
5091 | This method is useful for visual appearance optimization (for example, | |
5092 | it is a good idea to use it before inserting large amount of text into | |
5093 | a wxTextCtrl under wxGTK) but is not implemented on all platforms nor | |
5094 | for all controls so it is mostly just a hint to wxWindows and not a | |
5095 | mandatory directive.</docstring> | |
f32fc4bc RD |
5096 | </method> |
5097 | <method name="Thaw" type="" overloaded="no"> | |
781d2982 | 5098 | <autodoc>Thaw(self)</autodoc> |
b39e211b | 5099 | <docstring>Reenables window updating after a previous call to Freeze. Calls to |
781d2982 RD |
5100 | Freeze/Thaw may be nested, so Thaw must be called the same number of |
5101 | times that Freeze was before the window will be updated.</docstring> | |
f32fc4bc RD |
5102 | </method> |
5103 | <method name="PrepareDC" type="" overloaded="no"> | |
781d2982 | 5104 | <autodoc>PrepareDC(self, DC dc)</autodoc> |
c2dda882 RD |
5105 | <docstring>Call this function to prepare the device context for drawing a |
5106 | scrolled image. It sets the device origin according to the current | |
5107 | scroll position.</docstring> | |
f32fc4bc RD |
5108 | <paramlist> |
5109 | <param name="dc" type="wxDC" default=""/> | |
5110 | </paramlist> | |
5111 | </method> | |
5112 | <method name="GetUpdateRegion" type="wxRegion" overloaded="no"> | |
781d2982 | 5113 | <autodoc>GetUpdateRegion(self) -> Region</autodoc> |
c2dda882 RD |
5114 | <docstring>Returns the region specifying which parts of the window have been |
5115 | damaged. Should only be called within an EVT_PAINT handler.</docstring> | |
f32fc4bc RD |
5116 | </method> |
5117 | <method name="GetUpdateClientRect" type="Rect" overloaded="no"> | |
781d2982 | 5118 | <autodoc>GetUpdateClientRect(self) -> Rect</autodoc> |
c2dda882 | 5119 | <docstring>Get the update rectangle region bounding box in client coords.</docstring> |
f32fc4bc RD |
5120 | </method> |
5121 | <method name="IsExposed" type="bool" overloaded="no"> | |
781d2982 | 5122 | <autodoc>IsExposed(self, int x, int y, int w=1, int h=1) -> bool</autodoc> |
c2dda882 RD |
5123 | <docstring>Returns true if the given point or rectangle area has been exposed |
5124 | since the last repaint. Call this in an paint event handler to | |
5125 | optimize redrawing by only redrawing those areas, which have been | |
5126 | exposed.</docstring> | |
f32fc4bc RD |
5127 | <paramlist> |
5128 | <param name="x" type="int" default=""/> | |
5129 | <param name="y" type="int" default=""/> | |
5130 | <param name="w" type="int" default="1"/> | |
5131 | <param name="h" type="int" default="1"/> | |
5132 | </paramlist> | |
5133 | </method> | |
5134 | <method name="IsExposedPoint" type="bool" overloaded="no"> | |
781d2982 | 5135 | <autodoc>IsExposedPoint(self, Point pt) -> bool</autodoc> |
c2dda882 RD |
5136 | <docstring>Returns true if the given point or rectangle area has been exposed |
5137 | since the last repaint. Call this in an paint event handler to | |
5138 | optimize redrawing by only redrawing those areas, which have been | |
5139 | exposed.</docstring> | |
f32fc4bc RD |
5140 | <paramlist> |
5141 | <param name="pt" type="Point" default=""/> | |
5142 | </paramlist> | |
5143 | </method> | |
b39e211b | 5144 | <method name="IsExposedRect" type="bool" overloaded="no"> |
781d2982 | 5145 | <autodoc>IsExposedRect(self, Rect rect) -> bool</autodoc> |
c2dda882 RD |
5146 | <docstring>Returns true if the given point or rectangle area has been exposed |
5147 | since the last repaint. Call this in an paint event handler to | |
5148 | optimize redrawing by only redrawing those areas, which have been | |
5149 | exposed.</docstring> | |
f32fc4bc RD |
5150 | <paramlist> |
5151 | <param name="rect" type="Rect" default=""/> | |
5152 | </paramlist> | |
5153 | </method> | |
781d2982 RD |
5154 | <method name="GetDefaultAttributes" type="VisualAttributes" overloaded="no"> |
5155 | <autodoc>GetDefaultAttributes(self) -> VisualAttributes</autodoc> | |
5156 | <docstring>Get the default attributes for an instance of this class. This is | |
5157 | useful if you want to use the same font or colour in your own control | |
5158 | as in a standard control -- which is a much better idea than hard | |
5159 | coding specific colours or fonts which might look completely out of | |
5160 | place on the user's system, especially if it uses themes.</docstring> | |
5161 | </method> | |
5162 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> | |
5163 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
5164 | <docstring>Get the default attributes for this class. This is useful if you want | |
5165 | to use the same font or colour in your own control as in a standard | |
5166 | control -- which is a much better idea than hard coding specific | |
5167 | colours or fonts which might look completely out of place on the | |
5168 | user's system, especially if it uses themes. | |
5169 | ||
5170 | The variant parameter is only relevant under Mac currently and is | |
5171 | ignore under other platforms. Under Mac, it will change the size of | |
5172 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
5173 | this.</docstring> | |
5174 | <paramlist> | |
5175 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
5176 | </paramlist> | |
5177 | </staticmethod> | |
f32fc4bc | 5178 | <method name="SetBackgroundColour" type="bool" overloaded="no"> |
781d2982 | 5179 | <autodoc>SetBackgroundColour(self, Colour colour) -> bool</autodoc> |
c2dda882 RD |
5180 | <docstring>Sets the background colour of the window. Returns True if the colour |
5181 | was changed. The background colour is usually painted by the default | |
5182 | EVT_ERASE_BACKGROUND event handler function under Windows and | |
ce6878e6 RD |
5183 | automatically under GTK. Using `wx.NullColour` will reset the window |
5184 | to the default background colour. | |
c2dda882 | 5185 | |
781d2982 | 5186 | Note that setting the background colour may not cause an immediate |
ce6878e6 | 5187 | refresh, so you may wish to call `ClearBackground` or `Refresh` after |
c2dda882 RD |
5188 | calling this function. |
5189 | ||
ce6878e6 RD |
5190 | Using this function will disable attempts to use themes for this |
5191 | window, if the system supports them. Use with care since usually the | |
5192 | themes represent the appearance chosen by the user to be used for all | |
5193 | applications on the system.</docstring> | |
f32fc4bc RD |
5194 | <paramlist> |
5195 | <param name="colour" type="wxColour" default=""/> | |
5196 | </paramlist> | |
5197 | </method> | |
ce6878e6 RD |
5198 | <method name="SetOwnBackgroundColour" type="" overloaded="no"> |
5199 | <autodoc>SetOwnBackgroundColour(self, Colour colour)</autodoc> | |
781d2982 RD |
5200 | <paramlist> |
5201 | <param name="colour" type="wxColour" default=""/> | |
5202 | </paramlist> | |
5203 | </method> | |
f32fc4bc | 5204 | <method name="SetForegroundColour" type="bool" overloaded="no"> |
781d2982 | 5205 | <autodoc>SetForegroundColour(self, Colour colour) -> bool</autodoc> |
c2dda882 RD |
5206 | <docstring>Sets the foreground colour of the window. Returns True is the colour |
5207 | was changed. The interpretation of foreground colour is dependent on | |
5208 | the window class; it may be the text colour or other colour, or it may | |
5209 | not be used at all.</docstring> | |
f32fc4bc RD |
5210 | <paramlist> |
5211 | <param name="colour" type="wxColour" default=""/> | |
5212 | </paramlist> | |
5213 | </method> | |
fa47d7a7 VS |
5214 | <method name="SetOwnForegroundColour" type="" overloaded="no"> |
5215 | <autodoc>SetOwnForegroundColour(self, Colour colour)</autodoc> | |
781d2982 RD |
5216 | <paramlist> |
5217 | <param name="colour" type="wxColour" default=""/> | |
5218 | </paramlist> | |
5219 | </method> | |
f32fc4bc | 5220 | <method name="GetBackgroundColour" type="wxColour" overloaded="no"> |
781d2982 | 5221 | <autodoc>GetBackgroundColour(self) -> Colour</autodoc> |
c2dda882 | 5222 | <docstring>Returns the background colour of the window.</docstring> |
f32fc4bc RD |
5223 | </method> |
5224 | <method name="GetForegroundColour" type="wxColour" overloaded="no"> | |
781d2982 | 5225 | <autodoc>GetForegroundColour(self) -> Colour</autodoc> |
c2dda882 RD |
5226 | <docstring>Returns the foreground colour of the window. The interpretation of |
5227 | foreground colour is dependent on the window class; it may be the text | |
5228 | colour or other colour, or it may not be used at all.</docstring> | |
0190c472 RD |
5229 | </method> |
5230 | <method name="SetBackgroundStyle" type="bool" overloaded="no"> | |
5231 | <autodoc>SetBackgroundStyle(self, int style) -> bool</autodoc> | |
5232 | <docstring>Returns the background style of the window. The background style | |
5233 | indicates how the background of the window is drawn. | |
5234 | ||
5235 | ====================== ======================================== | |
5236 | wx.BG_STYLE_SYSTEM The background colour or pattern should | |
5237 | be determined by the system | |
5238 | wx.BG_STYLE_COLOUR The background should be a solid colour | |
5239 | wx.BG_STYLE_CUSTOM The background will be implemented by the | |
5240 | application. | |
5241 | ====================== ======================================== | |
5242 | ||
5243 | On GTK+, use of wx.BG_STYLE_CUSTOM allows the flicker-free drawing of | |
5244 | a custom background, such as a tiled bitmap. Currently the style has | |
5245 | no effect on other platforms. | |
5246 | ||
5247 | :see: `GetBackgroundStyle`, `SetBackgroundColour`</docstring> | |
5248 | <paramlist> | |
5249 | <param name="style" type="wxBackgroundStyle" default=""/> | |
5250 | </paramlist> | |
5251 | </method> | |
5252 | <method name="GetBackgroundStyle" type="wxBackgroundStyle" overloaded="no"> | |
5253 | <autodoc>GetBackgroundStyle(self) -> int</autodoc> | |
5254 | <docstring>Returns the background style of the window. | |
5255 | ||
5256 | :see: `SetBackgroundStyle`</docstring> | |
f32fc4bc RD |
5257 | </method> |
5258 | <method name="SetCursor" type="bool" overloaded="no"> | |
781d2982 | 5259 | <autodoc>SetCursor(self, Cursor cursor) -> bool</autodoc> |
c2dda882 RD |
5260 | <docstring>Sets the window's cursor. Notice that the window cursor also sets it |
5261 | for the children of the window implicitly. | |
5262 | ||
5263 | The cursor may be wx.NullCursor in which case the window cursor will | |
5264 | be reset back to default.</docstring> | |
f32fc4bc RD |
5265 | <paramlist> |
5266 | <param name="cursor" type="wxCursor" default=""/> | |
5267 | </paramlist> | |
5268 | </method> | |
5269 | <method name="GetCursor" type="wxCursor" overloaded="no"> | |
781d2982 | 5270 | <autodoc>GetCursor(self) -> Cursor</autodoc> |
c2dda882 | 5271 | <docstring>Return the cursor associated with this window.</docstring> |
f32fc4bc RD |
5272 | </method> |
5273 | <method name="SetFont" type="bool" overloaded="no"> | |
781d2982 | 5274 | <autodoc>SetFont(self, Font font) -> bool</autodoc> |
c2dda882 | 5275 | <docstring>Sets the font for this window.</docstring> |
f32fc4bc RD |
5276 | <paramlist> |
5277 | <param name="font" type="wxFont" default=""/> | |
5278 | </paramlist> | |
5279 | </method> | |
fa47d7a7 VS |
5280 | <method name="SetOwnFont" type="" overloaded="no"> |
5281 | <autodoc>SetOwnFont(self, Font font)</autodoc> | |
781d2982 RD |
5282 | <paramlist> |
5283 | <param name="font" type="wxFont" default=""/> | |
5284 | </paramlist> | |
5285 | </method> | |
f32fc4bc | 5286 | <method name="GetFont" type="wxFont" overloaded="no"> |
781d2982 | 5287 | <autodoc>GetFont(self) -> Font</autodoc> |
b39e211b | 5288 | <docstring>Returns the default font used for this window.</docstring> |
f32fc4bc RD |
5289 | </method> |
5290 | <method name="SetCaret" type="" overloaded="no"> | |
781d2982 | 5291 | <autodoc>SetCaret(self, Caret caret)</autodoc> |
c2dda882 | 5292 | <docstring>Sets the caret associated with the window.</docstring> |
f32fc4bc RD |
5293 | <paramlist> |
5294 | <param name="caret" type="wxCaret" default=""/> | |
5295 | </paramlist> | |
5296 | </method> | |
5297 | <method name="GetCaret" type="wxCaret" overloaded="no"> | |
781d2982 | 5298 | <autodoc>GetCaret(self) -> Caret</autodoc> |
c2dda882 | 5299 | <docstring>Returns the caret associated with the window.</docstring> |
f32fc4bc RD |
5300 | </method> |
5301 | <method name="GetCharHeight" type="int" overloaded="no"> | |
781d2982 | 5302 | <autodoc>GetCharHeight(self) -> int</autodoc> |
c2dda882 | 5303 | <docstring>Get the (average) character size for the current font.</docstring> |
f32fc4bc RD |
5304 | </method> |
5305 | <method name="GetCharWidth" type="int" overloaded="no"> | |
781d2982 | 5306 | <autodoc>GetCharWidth(self) -> int</autodoc> |
c2dda882 | 5307 | <docstring>Get the (average) character size for the current font.</docstring> |
f32fc4bc RD |
5308 | </method> |
5309 | <method name="GetTextExtent" type="" overloaded="no"> | |
5310 | <autodoc>GetTextExtent(String string) -> (width, height)</autodoc> | |
ce6878e6 | 5311 | <docstring>Get the width and height of the text using the current font.</docstring> |
f32fc4bc RD |
5312 | <paramlist> |
5313 | <param name="string" type="String" default=""/> | |
5314 | <param name="OUTPUT" type="int" default=""/> | |
5315 | <param name="OUTPUT" type="int" default=""/> | |
5316 | </paramlist> | |
5317 | </method> | |
5318 | <method name="GetFullTextExtent" type="" overloaded="no"> | |
5319 | <autodoc>GetFullTextExtent(String string, Font font=None) -> | |
5320 | (width, height, descent, externalLeading)</autodoc> | |
c2dda882 RD |
5321 | <docstring>Get the width, height, decent and leading of the text using the |
5322 | current or specified font.</docstring> | |
f32fc4bc RD |
5323 | <paramlist> |
5324 | <param name="string" type="String" default=""/> | |
5325 | <param name="OUTPUT" type="int" default=""/> | |
5326 | <param name="OUTPUT" type="int" default=""/> | |
5327 | <param name="OUTPUT" type="int" default=""/> | |
5328 | <param name="OUTPUT" type="int" default=""/> | |
5329 | <param name="font" type="wxFont" default="NULL"/> | |
5330 | </paramlist> | |
5331 | </method> | |
5332 | <method name="ClientToScreenXY" type="" overloaded="no"> | |
c2dda882 RD |
5333 | <autodoc>ClientToScreenXY(int x, int y) -> (x,y)</autodoc> |
5334 | <docstring>Converts to screen coordinates from coordinates relative to this window.</docstring> | |
f32fc4bc RD |
5335 | <paramlist> |
5336 | <param name="x" type="int" default=""/> | |
5337 | <param name="y" type="int" default=""/> | |
5338 | </paramlist> | |
5339 | </method> | |
5340 | <method name="ScreenToClientXY" type="" overloaded="no"> | |
c2dda882 RD |
5341 | <autodoc>ScreenToClientXY(int x, int y) -> (x,y)</autodoc> |
5342 | <docstring>Converts from screen to client window coordinates.</docstring> | |
f32fc4bc RD |
5343 | <paramlist> |
5344 | <param name="x" type="int" default=""/> | |
5345 | <param name="y" type="int" default=""/> | |
5346 | </paramlist> | |
5347 | </method> | |
5348 | <method name="ClientToScreen" type="Point" overloaded="no"> | |
781d2982 | 5349 | <autodoc>ClientToScreen(self, Point pt) -> Point</autodoc> |
c2dda882 | 5350 | <docstring>Converts to screen coordinates from coordinates relative to this window.</docstring> |
f32fc4bc RD |
5351 | <paramlist> |
5352 | <param name="pt" type="Point" default=""/> | |
5353 | </paramlist> | |
5354 | </method> | |
5355 | <method name="ScreenToClient" type="Point" overloaded="no"> | |
781d2982 | 5356 | <autodoc>ScreenToClient(self, Point pt) -> Point</autodoc> |
c2dda882 | 5357 | <docstring>Converts from screen to client window coordinates.</docstring> |
f32fc4bc RD |
5358 | <paramlist> |
5359 | <param name="pt" type="Point" default=""/> | |
5360 | </paramlist> | |
5361 | </method> | |
5362 | <method name="HitTestXY" type="wxHitTest" overloaded="no"> | |
781d2982 | 5363 | <autodoc>HitTestXY(self, int x, int y) -> int</autodoc> |
c2dda882 | 5364 | <docstring>Test where the given (in client coords) point lies</docstring> |
f32fc4bc RD |
5365 | <paramlist> |
5366 | <param name="x" type="int" default=""/> | |
5367 | <param name="y" type="int" default=""/> | |
5368 | </paramlist> | |
5369 | </method> | |
5370 | <method name="HitTest" type="wxHitTest" overloaded="no"> | |
781d2982 | 5371 | <autodoc>HitTest(self, Point pt) -> int</autodoc> |
c2dda882 | 5372 | <docstring>Test where the given (in client coords) point lies</docstring> |
f32fc4bc RD |
5373 | <paramlist> |
5374 | <param name="pt" type="Point" default=""/> | |
5375 | </paramlist> | |
5376 | </method> | |
c2dda882 RD |
5377 | <method name="GetBorder" type="wxBorder" overloaded="yes"> |
5378 | <docstring>Get the window border style from the given flags: this is different | |
5379 | from simply doing flags & wxBORDER_MASK because it uses | |
5380 | GetDefaultBorder() to translate wxBORDER_DEFAULT to something | |
5381 | reasonable. | |
5382 | </docstring> | |
f32fc4bc RD |
5383 | <paramlist> |
5384 | <param name="flags" type="long" default=""/> | |
5385 | </paramlist> | |
5386 | </method> | |
c2dda882 | 5387 | <method name="GetBorder" type="wxBorder" overloaded="yes"> |
781d2982 RD |
5388 | <autodoc>GetBorder(self, long flags) -> int |
5389 | GetBorder(self) -> int</autodoc> | |
c2dda882 | 5390 | <docstring>Get border for the flags of this window</docstring> |
f32fc4bc RD |
5391 | </method> |
5392 | <method name="UpdateWindowUI" type="" overloaded="no"> | |
781d2982 | 5393 | <autodoc>UpdateWindowUI(self, long flags=UPDATE_UI_NONE)</autodoc> |
c2dda882 RD |
5394 | <docstring>This function sends EVT_UPDATE_UI events to the window. The particular |
5395 | implementation depends on the window; for example a wx.ToolBar will | |
5396 | send an update UI event for each toolbar button, and a wx.Frame will | |
5397 | send an update UI event for each menubar menu item. You can call this | |
5398 | function from your application to ensure that your UI is up-to-date at | |
5399 | a particular point in time (as far as your EVT_UPDATE_UI handlers are | |
5400 | concerned). This may be necessary if you have called | |
5401 | wx.UpdateUIEvent.SetMode or wx.UpdateUIEvent.SetUpdateInterval to | |
5402 | limit the overhead that wxWindows incurs by sending update UI events | |
ce6878e6 RD |
5403 | in idle time. |
5404 | The flags should be a bitlist of one or more of the following values: | |
5405 | ||
5406 | ===================== ============================== | |
5407 | wx.UPDATE_UI_NONE No particular value | |
5408 | wx.UPDATE_UI_RECURSE Call the function for descendants | |
5409 | wx.UPDATE_UI_FROMIDLE Invoked from OnIdle | |
5410 | ===================== ============================== | |
5411 | ||
5412 | If you are calling this function from an OnIdle function, make sure | |
5413 | you pass the wx.UPDATE_UI_FROMIDLE flag, since this tells the window | |
5414 | to only update the UI elements that need to be updated in idle | |
5415 | time. Some windows update their elements only when necessary, for | |
5416 | example when a menu is about to be shown. The following is an example | |
5417 | of how to call UpdateWindowUI from an idle function:: | |
5418 | ||
5419 | def OnIdle(self, evt): | |
5420 | if wx.UpdateUIEvent.CanUpdate(self): | |
5421 | self.UpdateWindowUI(wx.UPDATE_UI_FROMIDLE); | |
5422 | </docstring> | |
f32fc4bc RD |
5423 | <paramlist> |
5424 | <param name="flags" type="long" default="wxUPDATE_UI_NONE"/> | |
5425 | </paramlist> | |
5426 | </method> | |
5427 | <method name="PopupMenuXY" type="bool" overloaded="no"> | |
ce6878e6 RD |
5428 | <autodoc>PopupMenuXY(self, Menu menu, int x=-1, int y=-1) -> bool</autodoc> |
5429 | <docstring>Pops up the given menu at the specified coordinates, relative to this window, | |
5430 | and returns control when the user has dismissed the menu. If a menu item is | |
5431 | selected, the corresponding menu event is generated and will be processed as | |
5432 | usual. If the default position is given then the current position of the | |
5433 | mouse cursor will be used.</docstring> | |
f32fc4bc RD |
5434 | <paramlist> |
5435 | <param name="menu" type="wxMenu" default=""/> | |
ce6878e6 RD |
5436 | <param name="x" type="int" default="-1"/> |
5437 | <param name="y" type="int" default="-1"/> | |
f32fc4bc RD |
5438 | </paramlist> |
5439 | </method> | |
5440 | <method name="PopupMenu" type="bool" overloaded="no"> | |
ce6878e6 RD |
5441 | <autodoc>PopupMenu(self, Menu menu, Point pos=DefaultPosition) -> bool</autodoc> |
5442 | <docstring>Pops up the given menu at the specified coordinates, relative to this window, | |
5443 | and returns control when the user has dismissed the menu. If a menu item is | |
5444 | selected, the corresponding menu event is generated and will be processed as | |
5445 | usual. If the default position is given then the current position of the | |
5446 | mouse cursor will be used.</docstring> | |
f32fc4bc RD |
5447 | <paramlist> |
5448 | <param name="menu" type="wxMenu" default=""/> | |
ce6878e6 | 5449 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
f32fc4bc RD |
5450 | </paramlist> |
5451 | </method> | |
5452 | <method name="GetHandle" type="long" overloaded="no"> | |
781d2982 | 5453 | <autodoc>GetHandle(self) -> long</autodoc> |
c2dda882 RD |
5454 | <docstring>Returns the platform-specific handle (as a long integer) of the |
5455 | physical window. Currently on wxMac it returns the handle of the | |
5456 | toplevel parent of the window.</docstring> | |
f32fc4bc RD |
5457 | </method> |
5458 | <method name="HasScrollbar" type="bool" overloaded="no"> | |
781d2982 | 5459 | <autodoc>HasScrollbar(self, int orient) -> bool</autodoc> |
c2dda882 | 5460 | <docstring>Does the window have the scrollbar for this orientation?</docstring> |
f32fc4bc RD |
5461 | <paramlist> |
5462 | <param name="orient" type="int" default=""/> | |
5463 | </paramlist> | |
5464 | </method> | |
5465 | <method name="SetScrollbar" type="" overloaded="no"> | |
781d2982 | 5466 | <autodoc>SetScrollbar(self, int orientation, int position, int thumbSize, int range, |
c2dda882 | 5467 | bool refresh=True)</autodoc> |
ce6878e6 RD |
5468 | <docstring>Sets the scrollbar properties of a built-in scrollbar. |
5469 | :param orientation: Determines the scrollbar whose page size is to | |
5470 | be set. May be wx.HORIZONTAL or wx.VERTICAL. | |
5471 | ||
5472 | :param position: The position of the scrollbar in scroll units. | |
5473 | ||
5474 | :param thumbSize: The size of the thumb, or visible portion of the | |
5475 | scrollbar, in scroll units. | |
5476 | ||
5477 | :param range: The maximum position of the scrollbar. | |
5478 | ||
5479 | :param refresh: True to redraw the scrollbar, false otherwise. | |
5480 | </docstring> | |
f32fc4bc | 5481 | <paramlist> |
c2dda882 | 5482 | <param name="orientation" type="int" default=""/> |
781d2982 RD |
5483 | <param name="position" type="int" default=""/> |
5484 | <param name="thumbSize" type="int" default=""/> | |
f32fc4bc RD |
5485 | <param name="range" type="int" default=""/> |
5486 | <param name="refresh" type="bool" default="True"/> | |
5487 | </paramlist> | |
5488 | </method> | |
5489 | <method name="SetScrollPos" type="" overloaded="no"> | |
781d2982 | 5490 | <autodoc>SetScrollPos(self, int orientation, int pos, bool refresh=True)</autodoc> |
c2dda882 | 5491 | <docstring>Sets the position of one of the built-in scrollbars.</docstring> |
f32fc4bc | 5492 | <paramlist> |
c2dda882 | 5493 | <param name="orientation" type="int" default=""/> |
f32fc4bc RD |
5494 | <param name="pos" type="int" default=""/> |
5495 | <param name="refresh" type="bool" default="True"/> | |
5496 | </paramlist> | |
5497 | </method> | |
5498 | <method name="GetScrollPos" type="int" overloaded="no"> | |
781d2982 | 5499 | <autodoc>GetScrollPos(self, int orientation) -> int</autodoc> |
c2dda882 | 5500 | <docstring>Returns the built-in scrollbar position.</docstring> |
f32fc4bc | 5501 | <paramlist> |
c2dda882 | 5502 | <param name="orientation" type="int" default=""/> |
f32fc4bc RD |
5503 | </paramlist> |
5504 | </method> | |
5505 | <method name="GetScrollThumb" type="int" overloaded="no"> | |
781d2982 | 5506 | <autodoc>GetScrollThumb(self, int orientation) -> int</autodoc> |
c2dda882 | 5507 | <docstring>Returns the built-in scrollbar thumb size.</docstring> |
f32fc4bc | 5508 | <paramlist> |
c2dda882 | 5509 | <param name="orientation" type="int" default=""/> |
f32fc4bc RD |
5510 | </paramlist> |
5511 | </method> | |
5512 | <method name="GetScrollRange" type="int" overloaded="no"> | |
781d2982 | 5513 | <autodoc>GetScrollRange(self, int orientation) -> int</autodoc> |
c2dda882 | 5514 | <docstring>Returns the built-in scrollbar range.</docstring> |
f32fc4bc | 5515 | <paramlist> |
c2dda882 | 5516 | <param name="orientation" type="int" default=""/> |
f32fc4bc RD |
5517 | </paramlist> |
5518 | </method> | |
5519 | <method name="ScrollWindow" type="" overloaded="no"> | |
781d2982 | 5520 | <autodoc>ScrollWindow(self, int dx, int dy, Rect rect=None)</autodoc> |
c2dda882 RD |
5521 | <docstring>Physically scrolls the pixels in the window and move child windows |
5522 | accordingly. Use this function to optimise your scrolling | |
5523 | implementations, to minimise the area that must be redrawn. Note that | |
ce6878e6 RD |
5524 | it is rarely required to call this function from a user program. |
5525 | :param dx: Amount to scroll horizontally. | |
5526 | ||
5527 | :param dy: Amount to scroll vertically. | |
5528 | ||
5529 | :param rect: Rectangle to invalidate. If this is None, the whole | |
5530 | window is invalidated. If you pass a rectangle corresponding | |
5531 | to the area of the window exposed by the scroll, your | |
5532 | painting handler can optimize painting by checking for the | |
5533 | invalidated region.</docstring> | |
f32fc4bc RD |
5534 | <paramlist> |
5535 | <param name="dx" type="int" default=""/> | |
5536 | <param name="dy" type="int" default=""/> | |
5537 | <param name="rect" type="Rect" default="NULL"/> | |
5538 | </paramlist> | |
5539 | </method> | |
5540 | <method name="ScrollLines" type="bool" overloaded="no"> | |
781d2982 | 5541 | <autodoc>ScrollLines(self, int lines) -> bool</autodoc> |
c2dda882 RD |
5542 | <docstring>If the platform and window class supports it, scrolls the window by |
5543 | the given number of lines down, if lines is positive, or up if lines | |
5544 | is negative. Returns True if the window was scrolled, False if it was | |
5545 | already on top/bottom and nothing was done.</docstring> | |
f32fc4bc RD |
5546 | <paramlist> |
5547 | <param name="lines" type="int" default=""/> | |
5548 | </paramlist> | |
5549 | </method> | |
5550 | <method name="ScrollPages" type="bool" overloaded="no"> | |
781d2982 RD |
5551 | <autodoc>ScrollPages(self, int pages) -> bool</autodoc> |
5552 | <docstring>If the platform and window class supports it, scrolls the window by | |
c2dda882 RD |
5553 | the given number of pages down, if pages is positive, or up if pages |
5554 | is negative. Returns True if the window was scrolled, False if it was | |
5555 | already on top/bottom and nothing was done.</docstring> | |
f32fc4bc RD |
5556 | <paramlist> |
5557 | <param name="pages" type="int" default=""/> | |
5558 | </paramlist> | |
5559 | </method> | |
5560 | <method name="LineUp" type="bool" overloaded="no"> | |
781d2982 | 5561 | <autodoc>LineUp(self) -> bool</autodoc> |
c2dda882 | 5562 | <docstring>This is just a wrapper for ScrollLines(-1).</docstring> |
f32fc4bc RD |
5563 | </method> |
5564 | <method name="LineDown" type="bool" overloaded="no"> | |
781d2982 | 5565 | <autodoc>LineDown(self) -> bool</autodoc> |
c2dda882 | 5566 | <docstring>This is just a wrapper for ScrollLines(1).</docstring> |
f32fc4bc RD |
5567 | </method> |
5568 | <method name="PageUp" type="bool" overloaded="no"> | |
781d2982 | 5569 | <autodoc>PageUp(self) -> bool</autodoc> |
c2dda882 | 5570 | <docstring>This is just a wrapper for ScrollPages(-1).</docstring> |
f32fc4bc RD |
5571 | </method> |
5572 | <method name="PageDown" type="bool" overloaded="no"> | |
781d2982 | 5573 | <autodoc>PageDown(self) -> bool</autodoc> |
c2dda882 | 5574 | <docstring>This is just a wrapper for ScrollPages(1).</docstring> |
f32fc4bc RD |
5575 | </method> |
5576 | <method name="SetHelpText" type="" overloaded="no"> | |
781d2982 | 5577 | <autodoc>SetHelpText(self, String text)</autodoc> |
c2dda882 RD |
5578 | <docstring>Sets the help text to be used as context-sensitive help for this |
5579 | window. Note that the text is actually stored by the current | |
5580 | wxHelpProvider implementation, and not in the window object itself.</docstring> | |
f32fc4bc RD |
5581 | <paramlist> |
5582 | <param name="text" type="String" default=""/> | |
5583 | </paramlist> | |
5584 | </method> | |
5585 | <method name="SetHelpTextForId" type="" overloaded="no"> | |
781d2982 | 5586 | <autodoc>SetHelpTextForId(self, String text)</autodoc> |
c2dda882 RD |
5587 | <docstring>Associate this help text with all windows with the same id as this |
5588 | one.</docstring> | |
f32fc4bc RD |
5589 | <paramlist> |
5590 | <param name="text" type="String" default=""/> | |
5591 | </paramlist> | |
5592 | </method> | |
5593 | <method name="GetHelpText" type="String" overloaded="no"> | |
781d2982 | 5594 | <autodoc>GetHelpText(self) -> String</autodoc> |
c2dda882 RD |
5595 | <docstring>Gets the help text to be used as context-sensitive help for this |
5596 | window. Note that the text is actually stored by the current | |
5597 | wxHelpProvider implementation, and not in the window object itself.</docstring> | |
f32fc4bc RD |
5598 | </method> |
5599 | <method name="SetToolTipString" type="" overloaded="no"> | |
781d2982 | 5600 | <autodoc>SetToolTipString(self, String tip)</autodoc> |
c2dda882 | 5601 | <docstring>Attach a tooltip to the window.</docstring> |
f32fc4bc RD |
5602 | <paramlist> |
5603 | <param name="tip" type="String" default=""/> | |
5604 | </paramlist> | |
5605 | </method> | |
5606 | <method name="SetToolTip" type="" overloaded="no"> | |
781d2982 | 5607 | <autodoc>SetToolTip(self, ToolTip tip)</autodoc> |
c2dda882 | 5608 | <docstring>Attach a tooltip to the window.</docstring> |
f32fc4bc RD |
5609 | <paramlist> |
5610 | <param name="tip" type="wxToolTip" default=""/> | |
5611 | </paramlist> | |
5612 | </method> | |
5613 | <method name="GetToolTip" type="wxToolTip" overloaded="no"> | |
781d2982 | 5614 | <autodoc>GetToolTip(self) -> ToolTip</autodoc> |
c2dda882 | 5615 | <docstring>get the associated tooltip or None if none</docstring> |
f32fc4bc RD |
5616 | </method> |
5617 | <method name="SetDropTarget" type="" overloaded="no"> | |
781d2982 | 5618 | <autodoc>SetDropTarget(self, DropTarget dropTarget)</autodoc> |
c2dda882 RD |
5619 | <docstring>Associates a drop target with this window. If the window already has |
5620 | a drop target, it is deleted.</docstring> | |
f32fc4bc RD |
5621 | <paramlist> |
5622 | <param name="dropTarget" type="wxPyDropTarget" default=""/> | |
5623 | </paramlist> | |
5624 | </method> | |
5625 | <method name="GetDropTarget" type="wxPyDropTarget" overloaded="no"> | |
781d2982 | 5626 | <autodoc>GetDropTarget(self) -> DropTarget</autodoc> |
c2dda882 | 5627 | <docstring>Returns the associated drop target, which may be None.</docstring> |
f32fc4bc RD |
5628 | </method> |
5629 | <method name="SetConstraints" type="" overloaded="no"> | |
781d2982 | 5630 | <autodoc>SetConstraints(self, LayoutConstraints constraints)</autodoc> |
c2dda882 RD |
5631 | <docstring>Sets the window to have the given layout constraints. If an existing |
5632 | layout constraints object is already owned by the window, it will be | |
5633 | deleted. Pass None to disassociate and delete the window's current | |
5634 | constraints. | |
5635 | ||
5636 | You must call SetAutoLayout to tell a window to use the constraints | |
5637 | automatically in its default EVT_SIZE handler; otherwise, you must | |
5638 | handle EVT_SIZE yourself and call Layout() explicitly. When setting | |
5639 | both a wx.LayoutConstraints and a wx.Sizer, only the sizer will have | |
5640 | effect.</docstring> | |
f32fc4bc RD |
5641 | <paramlist> |
5642 | <param name="constraints" type="wxLayoutConstraints" default=""/> | |
5643 | </paramlist> | |
5644 | </method> | |
5645 | <method name="GetConstraints" type="wxLayoutConstraints" overloaded="no"> | |
781d2982 | 5646 | <autodoc>GetConstraints(self) -> LayoutConstraints</autodoc> |
c2dda882 RD |
5647 | <docstring>Returns a pointer to the window's layout constraints, or None if there |
5648 | are none.</docstring> | |
f32fc4bc RD |
5649 | </method> |
5650 | <method name="SetAutoLayout" type="" overloaded="no"> | |
781d2982 | 5651 | <autodoc>SetAutoLayout(self, bool autoLayout)</autodoc> |
c2dda882 RD |
5652 | <docstring>Determines whether the Layout function will be called automatically |
5653 | when the window is resized. It is called implicitly by SetSizer but | |
5654 | if you use SetConstraints you should call it manually or otherwise the | |
5655 | window layout won't be correctly updated when its size changes.</docstring> | |
f32fc4bc RD |
5656 | <paramlist> |
5657 | <param name="autoLayout" type="bool" default=""/> | |
5658 | </paramlist> | |
5659 | </method> | |
5660 | <method name="GetAutoLayout" type="bool" overloaded="no"> | |
781d2982 | 5661 | <autodoc>GetAutoLayout(self) -> bool</autodoc> |
c2dda882 | 5662 | <docstring>Returns the current autoLayout setting</docstring> |
f32fc4bc RD |
5663 | </method> |
5664 | <method name="Layout" type="bool" overloaded="no"> | |
781d2982 | 5665 | <autodoc>Layout(self) -> bool</autodoc> |
c2dda882 RD |
5666 | <docstring>Invokes the constraint-based layout algorithm or the sizer-based |
5667 | algorithm for this window. See SetAutoLayout: when auto layout is on, | |
5668 | this function gets called automatically by the default EVT_SIZE | |
5669 | handler when the window is resized.</docstring> | |
f32fc4bc RD |
5670 | </method> |
5671 | <method name="SetSizer" type="" overloaded="no"> | |
781d2982 | 5672 | <autodoc>SetSizer(self, Sizer sizer, bool deleteOld=True)</autodoc> |
c2dda882 RD |
5673 | <docstring>Sets the window to have the given layout sizer. The window will then |
5674 | own the object, and will take care of its deletion. If an existing | |
5675 | layout sizer object is already owned by the window, it will be deleted | |
5676 | if the deleteOld parameter is true. Note that this function will also | |
5677 | call SetAutoLayout implicitly with a True parameter if the sizer is | |
5678 | non-NoneL and False otherwise.</docstring> | |
f32fc4bc RD |
5679 | <paramlist> |
5680 | <param name="sizer" type="wxSizer" default=""/> | |
5681 | <param name="deleteOld" type="bool" default="True"/> | |
5682 | </paramlist> | |
5683 | </method> | |
5684 | <method name="SetSizerAndFit" type="" overloaded="no"> | |
781d2982 | 5685 | <autodoc>SetSizerAndFit(self, Sizer sizer, bool deleteOld=True)</autodoc> |
c2dda882 RD |
5686 | <docstring>The same as SetSizer, except it also sets the size hints for the |
5687 | window based on the sizer's minimum size.</docstring> | |
f32fc4bc RD |
5688 | <paramlist> |
5689 | <param name="sizer" type="wxSizer" default=""/> | |
5690 | <param name="deleteOld" type="bool" default="True"/> | |
5691 | </paramlist> | |
5692 | </method> | |
5693 | <method name="GetSizer" type="wxSizer" overloaded="no"> | |
781d2982 | 5694 | <autodoc>GetSizer(self) -> Sizer</autodoc> |
c2dda882 RD |
5695 | <docstring>Return the sizer associated with the window by a previous call to |
5696 | SetSizer or None if there isn't one.</docstring> | |
f32fc4bc RD |
5697 | </method> |
5698 | <method name="SetContainingSizer" type="" overloaded="no"> | |
781d2982 | 5699 | <autodoc>SetContainingSizer(self, Sizer sizer)</autodoc> |
c2dda882 RD |
5700 | <docstring>This normally does not need to be called by application code. It is |
5701 | called internally when a window is added to a sizer, and is used so | |
5702 | the window can remove itself from the sizer when it is destroyed.</docstring> | |
f32fc4bc RD |
5703 | <paramlist> |
5704 | <param name="sizer" type="wxSizer" default=""/> | |
5705 | </paramlist> | |
5706 | </method> | |
5707 | <method name="GetContainingSizer" type="wxSizer" overloaded="no"> | |
781d2982 | 5708 | <autodoc>GetContainingSizer(self) -> Sizer</autodoc> |
c2dda882 | 5709 | <docstring>Return the sizer that this window is a member of, if any, otherwise None.</docstring> |
f32fc4bc | 5710 | </method> |
781d2982 RD |
5711 | <method name="InheritAttributes" type="" overloaded="no"> |
5712 | <autodoc>InheritAttributes(self)</autodoc> | |
5713 | <docstring>This function is (or should be, in case of custom controls) called | |
5714 | during window creation to intelligently set up the window visual | |
5715 | attributes, that is the font and the foreground and background | |
5716 | colours. | |
5717 | ||
5718 | By 'intelligently' the following is meant: by default, all windows use | |
5719 | their own default attributes. However if some of the parent's | |
5720 | attributes are explicitly changed (that is, using SetFont and not | |
fa47d7a7 | 5721 | SetOwnFont) and if the corresponding attribute hadn't been |
781d2982 RD |
5722 | explicitly set for this window itself, then this window takes the same |
5723 | value as used by the parent. In addition, if the window overrides | |
5724 | ShouldInheritColours to return false, the colours will not be changed | |
5725 | no matter what and only the font might. | |
5726 | ||
34621cc5 | 5727 | This rather complicated logic is necessary in order to accommodate the |
781d2982 RD |
5728 | different usage scenarius. The most common one is when all default |
5729 | attributes are used and in this case, nothing should be inherited as | |
5730 | in modern GUIs different controls use different fonts (and colours) | |
5731 | than their siblings so they can't inherit the same value from the | |
5732 | parent. However it was also deemed desirable to allow to simply change | |
5733 | the attributes of all children at once by just changing the font or | |
5734 | colour of their common parent, hence in this case we do inherit the | |
5735 | parents attributes. | |
5736 | </docstring> | |
5737 | </method> | |
5738 | <method name="ShouldInheritColours" type="bool" overloaded="no"> | |
5739 | <autodoc>ShouldInheritColours(self) -> bool</autodoc> | |
5740 | <docstring>Return true from here to allow the colours of this window to be | |
5741 | changed by InheritAttributes, returning false forbids inheriting them | |
5742 | from the parent window. | |
5743 | ||
5744 | The base class version returns false, but this method is overridden in | |
5745 | wxControl where it returns true.</docstring> | |
5746 | </method> | |
f32fc4bc RD |
5747 | </class> |
5748 | <pythoncode> | |
5749 | def DLG_PNT(win, point_or_x, y=None): | |
c2dda882 RD |
5750 | """ |
5751 | Convenience function for converting a Point or (x,y) in | |
5752 | dialog units to pixel units. | |
5753 | """ | |
f32fc4bc RD |
5754 | if y is None: |
5755 | return win.ConvertDialogPointToPixels(point_or_x) | |
5756 | else: | |
5757 | return win.ConvertDialogPointToPixels(wx.Point(point_or_x, y)) | |
5758 | ||
5759 | def DLG_SZE(win, size_width, height=None): | |
c2dda882 RD |
5760 | """ |
5761 | Convenience function for converting a Size or (w,h) in | |
5762 | dialog units to pixel units. | |
5763 | """ | |
f32fc4bc RD |
5764 | if height is None: |
5765 | return win.ConvertDialogSizeToPixels(size_width) | |
5766 | else: | |
5767 | return win.ConvertDialogSizeToPixels(wx.Size(size_width, height)) | |
5768 | </pythoncode> | |
5769 | <method name="FindWindowById" oldname="wxFindWindowById" type="Window" overloaded="no"> | |
5770 | <autodoc>FindWindowById(long id, Window parent=None) -> Window</autodoc> | |
c2dda882 RD |
5771 | <docstring>Find the first window in the application with the given id. If parent |
5772 | is None, the search will start from all top-level frames and dialog | |
5773 | boxes; if non-None, the search will be limited to the given window | |
5774 | hierarchy. The search is recursive in both cases.</docstring> | |
856bf319 | 5775 | <paramlist> |
f32fc4bc RD |
5776 | <param name="id" type="long" default=""/> |
5777 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
5778 | </paramlist> |
5779 | </method> | |
f32fc4bc RD |
5780 | <method name="FindWindowByName" oldname="wxFindWindowByName" type="Window" overloaded="no"> |
5781 | <autodoc>FindWindowByName(String name, Window parent=None) -> Window</autodoc> | |
c2dda882 RD |
5782 | <docstring>Find a window by its name (as given in a window constructor or Create |
5783 | function call). If parent is None, the search will start from all | |
5784 | top-level frames and dialog boxes; if non-None, the search will be | |
5785 | limited to the given window hierarchy. The search is recursive in both | |
5786 | cases. | |
5787 | ||
5788 | If no window with such name is found, wx.FindWindowByLabel is called.</docstring> | |
856bf319 | 5789 | <paramlist> |
f32fc4bc RD |
5790 | <param name="name" type="String" default=""/> |
5791 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
5792 | </paramlist> |
5793 | </method> | |
f32fc4bc RD |
5794 | <method name="FindWindowByLabel" oldname="wxFindWindowByLabel" type="Window" overloaded="no"> |
5795 | <autodoc>FindWindowByLabel(String label, Window parent=None) -> Window</autodoc> | |
c2dda882 RD |
5796 | <docstring>Find a window by its label. Depending on the type of window, the label |
5797 | may be a window title or panel item label. If parent is None, the | |
5798 | search will start from all top-level frames and dialog boxes; if | |
5799 | non-None, the search will be limited to the given window | |
5800 | hierarchy. The search is recursive in both cases.</docstring> | |
856bf319 | 5801 | <paramlist> |
f32fc4bc RD |
5802 | <param name="label" type="String" default=""/> |
5803 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
5804 | </paramlist> |
5805 | </method> | |
f32fc4bc | 5806 | <method name="Window_FromHWND" oldname="wxWindow_FromHWND" type="Window" overloaded="no"> |
b39e211b | 5807 | <autodoc>Window_FromHWND(Window parent, unsigned long _hWnd) -> Window</autodoc> |
856bf319 | 5808 | <paramlist> |
b39e211b RD |
5809 | <param name="parent" type="Window" default=""/> |
5810 | <param name="_hWnd" type="unsigned long" default=""/> | |
856bf319 RD |
5811 | </paramlist> |
5812 | </method> | |
856bf319 | 5813 | <pythoncode> |
856bf319 RD |
5814 | #--------------------------------------------------------------------------- |
5815 | </pythoncode> | |
781d2982 | 5816 | <class name="Validator" oldname="wxValidator" module="_core"> |
f32fc4bc RD |
5817 | <baseclass name="EvtHandler"/> |
5818 | <constructor name="Validator" overloaded="no"> | |
781d2982 | 5819 | <autodoc>__init__(self) -> Validator</autodoc> |
f32fc4bc RD |
5820 | </constructor> |
5821 | <method name="Clone" type="Validator" overloaded="no"> | |
781d2982 | 5822 | <autodoc>Clone(self) -> Validator</autodoc> |
f32fc4bc RD |
5823 | </method> |
5824 | <method name="Validate" type="bool" overloaded="no"> | |
781d2982 | 5825 | <autodoc>Validate(self, Window parent) -> bool</autodoc> |
f32fc4bc RD |
5826 | <paramlist> |
5827 | <param name="parent" type="Window" default=""/> | |
5828 | </paramlist> | |
5829 | </method> | |
5830 | <method name="TransferToWindow" type="bool" overloaded="no"> | |
781d2982 | 5831 | <autodoc>TransferToWindow(self) -> bool</autodoc> |
f32fc4bc RD |
5832 | </method> |
5833 | <method name="TransferFromWindow" type="bool" overloaded="no"> | |
781d2982 | 5834 | <autodoc>TransferFromWindow(self) -> bool</autodoc> |
f32fc4bc RD |
5835 | </method> |
5836 | <method name="GetWindow" type="Window" overloaded="no"> | |
781d2982 | 5837 | <autodoc>GetWindow(self) -> Window</autodoc> |
f32fc4bc RD |
5838 | </method> |
5839 | <method name="SetWindow" type="" overloaded="no"> | |
781d2982 | 5840 | <autodoc>SetWindow(self, Window window)</autodoc> |
f32fc4bc RD |
5841 | <paramlist> |
5842 | <param name="window" type="Window" default=""/> | |
5843 | </paramlist> | |
5844 | </method> | |
5845 | <staticmethod name="IsSilent" type="bool" overloaded="no"> | |
5846 | <autodoc>IsSilent() -> bool</autodoc> | |
5847 | </staticmethod> | |
5848 | <staticmethod name="SetBellOnError" type="" overloaded="no"> | |
5849 | <autodoc>SetBellOnError(int doIt=True)</autodoc> | |
5850 | <paramlist> | |
5851 | <param name="doIt" type="int" default="True"/> | |
5852 | </paramlist> | |
5853 | </staticmethod> | |
5854 | </class> | |
781d2982 | 5855 | <class name="PyValidator" oldname="wxPyValidator" module="_core"> |
f32fc4bc RD |
5856 | <baseclass name="Validator"/> |
5857 | <constructor name="PyValidator" overloaded="no"> | |
781d2982 | 5858 | <autodoc>__init__(self) -> PyValidator</autodoc> |
f32fc4bc RD |
5859 | </constructor> |
5860 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 5861 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class, int incref=True)</autodoc> |
f32fc4bc RD |
5862 | <paramlist> |
5863 | <param name="self" type="PyObject" default=""/> | |
5864 | <param name="_class" type="PyObject" default=""/> | |
5865 | <param name="incref" type="int" default="True"/> | |
5866 | </paramlist> | |
5867 | </method> | |
5868 | </class> | |
5869 | <pythoncode> | |
856bf319 RD |
5870 | #--------------------------------------------------------------------------- |
5871 | </pythoncode> | |
781d2982 | 5872 | <class name="Menu" oldname="wxMenu" module="_core"> |
f32fc4bc RD |
5873 | <baseclass name="EvtHandler"/> |
5874 | <constructor name="Menu" overloaded="no"> | |
781d2982 | 5875 | <autodoc>__init__(self, String title=EmptyString, long style=0) -> Menu</autodoc> |
f32fc4bc RD |
5876 | <paramlist> |
5877 | <param name="title" type="String" default="wxPyEmptyString"/> | |
5878 | <param name="style" type="long" default="0"/> | |
5879 | </paramlist> | |
5880 | </constructor> | |
5881 | <method name="Append" type="wxMenuItem" overloaded="no"> | |
781d2982 | 5882 | <autodoc>Append(self, int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -> MenuItem</autodoc> |
f32fc4bc RD |
5883 | <paramlist> |
5884 | <param name="id" type="int" default=""/> | |
5885 | <param name="text" type="String" default=""/> | |
5886 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5887 | <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/> | |
5888 | </paramlist> | |
5889 | </method> | |
5890 | <method name="AppendSeparator" type="wxMenuItem" overloaded="no"> | |
781d2982 | 5891 | <autodoc>AppendSeparator(self) -> MenuItem</autodoc> |
f32fc4bc RD |
5892 | </method> |
5893 | <method name="AppendCheckItem" type="wxMenuItem" overloaded="no"> | |
781d2982 | 5894 | <autodoc>AppendCheckItem(self, int id, String text, String help=EmptyString) -> MenuItem</autodoc> |
f32fc4bc RD |
5895 | <paramlist> |
5896 | <param name="id" type="int" default=""/> | |
5897 | <param name="text" type="String" default=""/> | |
5898 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5899 | </paramlist> | |
5900 | </method> | |
5901 | <method name="AppendRadioItem" type="wxMenuItem" overloaded="no"> | |
781d2982 | 5902 | <autodoc>AppendRadioItem(self, int id, String text, String help=EmptyString) -> MenuItem</autodoc> |
f32fc4bc RD |
5903 | <paramlist> |
5904 | <param name="id" type="int" default=""/> | |
5905 | <param name="text" type="String" default=""/> | |
5906 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5907 | </paramlist> | |
5908 | </method> | |
5909 | <method name="AppendMenu" type="wxMenuItem" overloaded="no"> | |
781d2982 | 5910 | <autodoc>AppendMenu(self, int id, String text, Menu submenu, String help=EmptyString) -> MenuItem</autodoc> |
f32fc4bc RD |
5911 | <paramlist> |
5912 | <param name="id" type="int" default=""/> | |
5913 | <param name="text" type="String" default=""/> | |
5914 | <param name="submenu" type="Menu" default=""/> | |
5915 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5916 | </paramlist> | |
5917 | </method> | |
5918 | <method name="AppendItem" type="wxMenuItem" overloaded="no"> | |
781d2982 | 5919 | <autodoc>AppendItem(self, MenuItem item) -> MenuItem</autodoc> |
f32fc4bc RD |
5920 | <paramlist> |
5921 | <param name="item" type="wxMenuItem" default=""/> | |
5922 | </paramlist> | |
5923 | </method> | |
5924 | <method name="Break" type="" overloaded="no"> | |
781d2982 | 5925 | <autodoc>Break(self)</autodoc> |
f32fc4bc RD |
5926 | </method> |
5927 | <method name="InsertItem" type="wxMenuItem" overloaded="no"> | |
781d2982 | 5928 | <autodoc>InsertItem(self, size_t pos, MenuItem item) -> MenuItem</autodoc> |
f32fc4bc RD |
5929 | <paramlist> |
5930 | <param name="pos" type="size_t" default=""/> | |
5931 | <param name="item" type="wxMenuItem" default=""/> | |
5932 | </paramlist> | |
5933 | </method> | |
5934 | <method name="Insert" type="wxMenuItem" overloaded="no"> | |
781d2982 | 5935 | <autodoc>Insert(self, size_t pos, int id, String text, String help=EmptyString, |
856bf319 | 5936 | int kind=ITEM_NORMAL) -> MenuItem</autodoc> |
f32fc4bc RD |
5937 | <paramlist> |
5938 | <param name="pos" type="size_t" default=""/> | |
5939 | <param name="id" type="int" default=""/> | |
5940 | <param name="text" type="String" default=""/> | |
5941 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5942 | <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/> | |
5943 | </paramlist> | |
5944 | </method> | |
5945 | <method name="InsertSeparator" type="wxMenuItem" overloaded="no"> | |
781d2982 | 5946 | <autodoc>InsertSeparator(self, size_t pos) -> MenuItem</autodoc> |
f32fc4bc RD |
5947 | <paramlist> |
5948 | <param name="pos" type="size_t" default=""/> | |
5949 | </paramlist> | |
5950 | </method> | |
5951 | <method name="InsertCheckItem" type="wxMenuItem" overloaded="no"> | |
781d2982 | 5952 | <autodoc>InsertCheckItem(self, size_t pos, int id, String text, String help=EmptyString) -> MenuItem</autodoc> |
f32fc4bc RD |
5953 | <paramlist> |
5954 | <param name="pos" type="size_t" default=""/> | |
5955 | <param name="id" type="int" default=""/> | |
5956 | <param name="text" type="String" default=""/> | |
5957 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5958 | </paramlist> | |
5959 | </method> | |
5960 | <method name="InsertRadioItem" type="wxMenuItem" overloaded="no"> | |
781d2982 | 5961 | <autodoc>InsertRadioItem(self, size_t pos, int id, String text, String help=EmptyString) -> MenuItem</autodoc> |
f32fc4bc RD |
5962 | <paramlist> |
5963 | <param name="pos" type="size_t" default=""/> | |
5964 | <param name="id" type="int" default=""/> | |
5965 | <param name="text" type="String" default=""/> | |
5966 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5967 | </paramlist> | |
5968 | </method> | |
5969 | <method name="InsertMenu" type="wxMenuItem" overloaded="no"> | |
781d2982 | 5970 | <autodoc>InsertMenu(self, size_t pos, int id, String text, Menu submenu, String help=EmptyString) -> MenuItem</autodoc> |
f32fc4bc RD |
5971 | <paramlist> |
5972 | <param name="pos" type="size_t" default=""/> | |
5973 | <param name="id" type="int" default=""/> | |
5974 | <param name="text" type="String" default=""/> | |
5975 | <param name="submenu" type="Menu" default=""/> | |
5976 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5977 | </paramlist> | |
5978 | </method> | |
5979 | <method name="PrependItem" type="wxMenuItem" overloaded="no"> | |
781d2982 | 5980 | <autodoc>PrependItem(self, MenuItem item) -> MenuItem</autodoc> |
f32fc4bc RD |
5981 | <paramlist> |
5982 | <param name="item" type="wxMenuItem" default=""/> | |
5983 | </paramlist> | |
5984 | </method> | |
5985 | <method name="Prepend" type="wxMenuItem" overloaded="no"> | |
781d2982 | 5986 | <autodoc>Prepend(self, int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -> MenuItem</autodoc> |
f32fc4bc RD |
5987 | <paramlist> |
5988 | <param name="id" type="int" default=""/> | |
5989 | <param name="text" type="String" default=""/> | |
5990 | <param name="help" type="String" default="wxPyEmptyString"/> | |
5991 | <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/> | |
5992 | </paramlist> | |
5993 | </method> | |
5994 | <method name="PrependSeparator" type="wxMenuItem" overloaded="no"> | |
781d2982 | 5995 | <autodoc>PrependSeparator(self) -> MenuItem</autodoc> |
f32fc4bc RD |
5996 | </method> |
5997 | <method name="PrependCheckItem" type="wxMenuItem" overloaded="no"> | |
781d2982 | 5998 | <autodoc>PrependCheckItem(self, int id, String text, String help=EmptyString) -> MenuItem</autodoc> |
f32fc4bc RD |
5999 | <paramlist> |
6000 | <param name="id" type="int" default=""/> | |
6001 | <param name="text" type="String" default=""/> | |
6002 | <param name="help" type="String" default="wxPyEmptyString"/> | |
6003 | </paramlist> | |
6004 | </method> | |
6005 | <method name="PrependRadioItem" type="wxMenuItem" overloaded="no"> | |
781d2982 | 6006 | <autodoc>PrependRadioItem(self, int id, String text, String help=EmptyString) -> MenuItem</autodoc> |
f32fc4bc RD |
6007 | <paramlist> |
6008 | <param name="id" type="int" default=""/> | |
6009 | <param name="text" type="String" default=""/> | |
6010 | <param name="help" type="String" default="wxPyEmptyString"/> | |
6011 | </paramlist> | |
6012 | </method> | |
6013 | <method name="PrependMenu" type="wxMenuItem" overloaded="no"> | |
781d2982 | 6014 | <autodoc>PrependMenu(self, int id, String text, Menu submenu, String help=EmptyString) -> MenuItem</autodoc> |
f32fc4bc RD |
6015 | <paramlist> |
6016 | <param name="id" type="int" default=""/> | |
6017 | <param name="text" type="String" default=""/> | |
6018 | <param name="submenu" type="Menu" default=""/> | |
6019 | <param name="help" type="String" default="wxPyEmptyString"/> | |
6020 | </paramlist> | |
6021 | </method> | |
6022 | <method name="Remove" type="wxMenuItem" overloaded="no"> | |
781d2982 | 6023 | <autodoc>Remove(self, int id) -> MenuItem</autodoc> |
f32fc4bc RD |
6024 | <paramlist> |
6025 | <param name="id" type="int" default=""/> | |
6026 | </paramlist> | |
6027 | </method> | |
6028 | <method name="RemoveItem" type="wxMenuItem" overloaded="no"> | |
781d2982 | 6029 | <autodoc>RemoveItem(self, MenuItem item) -> MenuItem</autodoc> |
f32fc4bc RD |
6030 | <paramlist> |
6031 | <param name="item" type="wxMenuItem" default=""/> | |
6032 | </paramlist> | |
6033 | </method> | |
6034 | <method name="Delete" type="bool" overloaded="no"> | |
781d2982 | 6035 | <autodoc>Delete(self, int id) -> bool</autodoc> |
f32fc4bc RD |
6036 | <paramlist> |
6037 | <param name="id" type="int" default=""/> | |
6038 | </paramlist> | |
6039 | </method> | |
6040 | <method name="DeleteItem" type="bool" overloaded="no"> | |
781d2982 | 6041 | <autodoc>DeleteItem(self, MenuItem item) -> bool</autodoc> |
f32fc4bc RD |
6042 | <paramlist> |
6043 | <param name="item" type="wxMenuItem" default=""/> | |
6044 | </paramlist> | |
6045 | </method> | |
6046 | <method name="Destroy" type="" overloaded="no"> | |
781d2982 | 6047 | <autodoc>Destroy(self)</autodoc> |
f32fc4bc RD |
6048 | <docstring>Deletes the C++ object this Python object is a proxy for.</docstring> |
6049 | </method> | |
6050 | <method name="DestroyId" type="bool" overloaded="no"> | |
781d2982 | 6051 | <autodoc>DestroyId(self, int id) -> bool</autodoc> |
f32fc4bc RD |
6052 | <docstring>Deletes the C++ object this Python object is a proxy for.</docstring> |
6053 | <paramlist> | |
6054 | <param name="id" type="int" default=""/> | |
6055 | </paramlist> | |
6056 | </method> | |
6057 | <method name="DestroyItem" type="bool" overloaded="no"> | |
781d2982 | 6058 | <autodoc>DestroyItem(self, MenuItem item) -> bool</autodoc> |
f32fc4bc RD |
6059 | <docstring>Deletes the C++ object this Python object is a proxy for.</docstring> |
6060 | <paramlist> | |
6061 | <param name="item" type="wxMenuItem" default=""/> | |
6062 | </paramlist> | |
6063 | </method> | |
6064 | <method name="GetMenuItemCount" type="size_t" overloaded="no"> | |
781d2982 | 6065 | <autodoc>GetMenuItemCount(self) -> size_t</autodoc> |
f32fc4bc RD |
6066 | </method> |
6067 | <method name="GetMenuItems" type="PyObject" overloaded="no"> | |
781d2982 | 6068 | <autodoc>GetMenuItems(self) -> PyObject</autodoc> |
f32fc4bc RD |
6069 | </method> |
6070 | <method name="FindItem" type="int" overloaded="no"> | |
781d2982 | 6071 | <autodoc>FindItem(self, String item) -> int</autodoc> |
f32fc4bc RD |
6072 | <paramlist> |
6073 | <param name="item" type="String" default=""/> | |
6074 | </paramlist> | |
6075 | </method> | |
6076 | <method name="FindItemById" type="wxMenuItem" overloaded="no"> | |
781d2982 | 6077 | <autodoc>FindItemById(self, int id) -> MenuItem</autodoc> |
f32fc4bc RD |
6078 | <paramlist> |
6079 | <param name="id" type="int" default=""/> | |
6080 | </paramlist> | |
6081 | </method> | |
6082 | <method name="FindItemByPosition" type="wxMenuItem" overloaded="no"> | |
781d2982 | 6083 | <autodoc>FindItemByPosition(self, size_t position) -> MenuItem</autodoc> |
f32fc4bc RD |
6084 | <paramlist> |
6085 | <param name="position" type="size_t" default=""/> | |
6086 | </paramlist> | |
6087 | </method> | |
6088 | <method name="Enable" type="" overloaded="no"> | |
781d2982 | 6089 | <autodoc>Enable(self, int id, bool enable)</autodoc> |
f32fc4bc RD |
6090 | <paramlist> |
6091 | <param name="id" type="int" default=""/> | |
6092 | <param name="enable" type="bool" default=""/> | |
6093 | </paramlist> | |
6094 | </method> | |
6095 | <method name="IsEnabled" type="bool" overloaded="no"> | |
781d2982 | 6096 | <autodoc>IsEnabled(self, int id) -> bool</autodoc> |
f32fc4bc RD |
6097 | <paramlist> |
6098 | <param name="id" type="int" default=""/> | |
6099 | </paramlist> | |
6100 | </method> | |
6101 | <method name="Check" type="" overloaded="no"> | |
781d2982 | 6102 | <autodoc>Check(self, int id, bool check)</autodoc> |
f32fc4bc RD |
6103 | <paramlist> |
6104 | <param name="id" type="int" default=""/> | |
6105 | <param name="check" type="bool" default=""/> | |
6106 | </paramlist> | |
6107 | </method> | |
6108 | <method name="IsChecked" type="bool" overloaded="no"> | |
781d2982 | 6109 | <autodoc>IsChecked(self, int id) -> bool</autodoc> |
f32fc4bc RD |
6110 | <paramlist> |
6111 | <param name="id" type="int" default=""/> | |
6112 | </paramlist> | |
6113 | </method> | |
6114 | <method name="SetLabel" type="" overloaded="no"> | |
781d2982 | 6115 | <autodoc>SetLabel(self, int id, String label)</autodoc> |
f32fc4bc RD |
6116 | <paramlist> |
6117 | <param name="id" type="int" default=""/> | |
6118 | <param name="label" type="String" default=""/> | |
6119 | </paramlist> | |
6120 | </method> | |
6121 | <method name="GetLabel" type="String" overloaded="no"> | |
781d2982 | 6122 | <autodoc>GetLabel(self, int id) -> String</autodoc> |
f32fc4bc RD |
6123 | <paramlist> |
6124 | <param name="id" type="int" default=""/> | |
6125 | </paramlist> | |
6126 | </method> | |
6127 | <method name="SetHelpString" type="" overloaded="no"> | |
781d2982 | 6128 | <autodoc>SetHelpString(self, int id, String helpString)</autodoc> |
f32fc4bc RD |
6129 | <paramlist> |
6130 | <param name="id" type="int" default=""/> | |
6131 | <param name="helpString" type="String" default=""/> | |
6132 | </paramlist> | |
6133 | </method> | |
6134 | <method name="GetHelpString" type="String" overloaded="no"> | |
781d2982 | 6135 | <autodoc>GetHelpString(self, int id) -> String</autodoc> |
f32fc4bc RD |
6136 | <paramlist> |
6137 | <param name="id" type="int" default=""/> | |
6138 | </paramlist> | |
6139 | </method> | |
6140 | <method name="SetTitle" type="" overloaded="no"> | |
781d2982 | 6141 | <autodoc>SetTitle(self, String title)</autodoc> |
f32fc4bc RD |
6142 | <paramlist> |
6143 | <param name="title" type="String" default=""/> | |
6144 | </paramlist> | |
6145 | </method> | |
6146 | <method name="GetTitle" type="String" overloaded="no"> | |
781d2982 | 6147 | <autodoc>GetTitle(self) -> String</autodoc> |
f32fc4bc RD |
6148 | </method> |
6149 | <method name="SetEventHandler" type="" overloaded="no"> | |
781d2982 | 6150 | <autodoc>SetEventHandler(self, EvtHandler handler)</autodoc> |
f32fc4bc RD |
6151 | <paramlist> |
6152 | <param name="handler" type="EvtHandler" default=""/> | |
6153 | </paramlist> | |
6154 | </method> | |
6155 | <method name="GetEventHandler" type="EvtHandler" overloaded="no"> | |
781d2982 | 6156 | <autodoc>GetEventHandler(self) -> EvtHandler</autodoc> |
f32fc4bc RD |
6157 | </method> |
6158 | <method name="SetInvokingWindow" type="" overloaded="no"> | |
781d2982 | 6159 | <autodoc>SetInvokingWindow(self, Window win)</autodoc> |
f32fc4bc RD |
6160 | <paramlist> |
6161 | <param name="win" type="Window" default=""/> | |
6162 | </paramlist> | |
6163 | </method> | |
6164 | <method name="GetInvokingWindow" type="Window" overloaded="no"> | |
781d2982 | 6165 | <autodoc>GetInvokingWindow(self) -> Window</autodoc> |
f32fc4bc RD |
6166 | </method> |
6167 | <method name="GetStyle" type="long" overloaded="no"> | |
781d2982 | 6168 | <autodoc>GetStyle(self) -> long</autodoc> |
f32fc4bc RD |
6169 | </method> |
6170 | <method name="UpdateUI" type="" overloaded="no"> | |
781d2982 | 6171 | <autodoc>UpdateUI(self, EvtHandler source=None)</autodoc> |
f32fc4bc RD |
6172 | <paramlist> |
6173 | <param name="source" type="EvtHandler" default="NULL"/> | |
6174 | </paramlist> | |
6175 | </method> | |
6176 | <method name="GetMenuBar" type="wxMenuBar" overloaded="no"> | |
781d2982 | 6177 | <autodoc>GetMenuBar(self) -> MenuBar</autodoc> |
f32fc4bc RD |
6178 | </method> |
6179 | <method name="Attach" type="" overloaded="no"> | |
781d2982 | 6180 | <autodoc>Attach(self, wxMenuBarBase menubar)</autodoc> |
f32fc4bc RD |
6181 | <paramlist> |
6182 | <param name="menubar" type="wxMenuBarBase" default=""/> | |
6183 | </paramlist> | |
6184 | </method> | |
6185 | <method name="Detach" type="" overloaded="no"> | |
781d2982 | 6186 | <autodoc>Detach(self)</autodoc> |
f32fc4bc RD |
6187 | </method> |
6188 | <method name="IsAttached" type="bool" overloaded="no"> | |
781d2982 | 6189 | <autodoc>IsAttached(self) -> bool</autodoc> |
f32fc4bc RD |
6190 | </method> |
6191 | <method name="SetParent" type="" overloaded="no"> | |
781d2982 | 6192 | <autodoc>SetParent(self, Menu parent)</autodoc> |
f32fc4bc RD |
6193 | <paramlist> |
6194 | <param name="parent" type="Menu" default=""/> | |
6195 | </paramlist> | |
6196 | </method> | |
6197 | <method name="GetParent" type="Menu" overloaded="no"> | |
781d2982 | 6198 | <autodoc>GetParent(self) -> Menu</autodoc> |
f32fc4bc RD |
6199 | </method> |
6200 | </class> | |
6201 | <pythoncode> | |
856bf319 RD |
6202 | #--------------------------------------------------------------------------- |
6203 | </pythoncode> | |
781d2982 | 6204 | <class name="MenuBar" oldname="wxMenuBar" module="_core"> |
f32fc4bc RD |
6205 | <baseclass name="Window"/> |
6206 | <constructor name="MenuBar" overloaded="no"> | |
781d2982 | 6207 | <autodoc>__init__(self, long style=0) -> MenuBar</autodoc> |
f32fc4bc RD |
6208 | <paramlist> |
6209 | <param name="style" type="long" default="0"/> | |
6210 | </paramlist> | |
6211 | </constructor> | |
6212 | <method name="Append" type="bool" overloaded="no"> | |
781d2982 | 6213 | <autodoc>Append(self, Menu menu, String title) -> bool</autodoc> |
f32fc4bc RD |
6214 | <paramlist> |
6215 | <param name="menu" type="Menu" default=""/> | |
6216 | <param name="title" type="String" default=""/> | |
6217 | </paramlist> | |
6218 | </method> | |
6219 | <method name="Insert" type="bool" overloaded="no"> | |
781d2982 | 6220 | <autodoc>Insert(self, size_t pos, Menu menu, String title) -> bool</autodoc> |
f32fc4bc RD |
6221 | <paramlist> |
6222 | <param name="pos" type="size_t" default=""/> | |
6223 | <param name="menu" type="Menu" default=""/> | |
6224 | <param name="title" type="String" default=""/> | |
6225 | </paramlist> | |
6226 | </method> | |
6227 | <method name="GetMenuCount" type="size_t" overloaded="no"> | |
781d2982 | 6228 | <autodoc>GetMenuCount(self) -> size_t</autodoc> |
f32fc4bc RD |
6229 | </method> |
6230 | <method name="GetMenu" type="Menu" overloaded="no"> | |
781d2982 | 6231 | <autodoc>GetMenu(self, size_t pos) -> Menu</autodoc> |
f32fc4bc RD |
6232 | <paramlist> |
6233 | <param name="pos" type="size_t" default=""/> | |
6234 | </paramlist> | |
6235 | </method> | |
6236 | <method name="Replace" type="Menu" overloaded="no"> | |
781d2982 | 6237 | <autodoc>Replace(self, size_t pos, Menu menu, String title) -> Menu</autodoc> |
f32fc4bc RD |
6238 | <paramlist> |
6239 | <param name="pos" type="size_t" default=""/> | |
6240 | <param name="menu" type="Menu" default=""/> | |
6241 | <param name="title" type="String" default=""/> | |
6242 | </paramlist> | |
6243 | </method> | |
6244 | <method name="Remove" type="Menu" overloaded="no"> | |
781d2982 | 6245 | <autodoc>Remove(self, size_t pos) -> Menu</autodoc> |
f32fc4bc RD |
6246 | <paramlist> |
6247 | <param name="pos" type="size_t" default=""/> | |
6248 | </paramlist> | |
6249 | </method> | |
6250 | <method name="EnableTop" type="" overloaded="no"> | |
781d2982 | 6251 | <autodoc>EnableTop(self, size_t pos, bool enable)</autodoc> |
f32fc4bc RD |
6252 | <paramlist> |
6253 | <param name="pos" type="size_t" default=""/> | |
6254 | <param name="enable" type="bool" default=""/> | |
6255 | </paramlist> | |
6256 | </method> | |
6257 | <method name="IsEnabledTop" type="bool" overloaded="no"> | |
781d2982 | 6258 | <autodoc>IsEnabledTop(self, size_t pos) -> bool</autodoc> |
f32fc4bc RD |
6259 | <paramlist> |
6260 | <param name="pos" type="size_t" default=""/> | |
6261 | </paramlist> | |
6262 | </method> | |
6263 | <method name="SetLabelTop" type="" overloaded="no"> | |
781d2982 | 6264 | <autodoc>SetLabelTop(self, size_t pos, String label)</autodoc> |
f32fc4bc RD |
6265 | <paramlist> |
6266 | <param name="pos" type="size_t" default=""/> | |
6267 | <param name="label" type="String" default=""/> | |
6268 | </paramlist> | |
6269 | </method> | |
6270 | <method name="GetLabelTop" type="String" overloaded="no"> | |
781d2982 | 6271 | <autodoc>GetLabelTop(self, size_t pos) -> String</autodoc> |
f32fc4bc RD |
6272 | <paramlist> |
6273 | <param name="pos" type="size_t" default=""/> | |
6274 | </paramlist> | |
6275 | </method> | |
6276 | <method name="FindMenuItem" type="int" overloaded="no"> | |
781d2982 | 6277 | <autodoc>FindMenuItem(self, String menu, String item) -> int</autodoc> |
f32fc4bc RD |
6278 | <paramlist> |
6279 | <param name="menu" type="String" default=""/> | |
6280 | <param name="item" type="String" default=""/> | |
6281 | </paramlist> | |
6282 | </method> | |
6283 | <method name="FindItemById" type="wxMenuItem" overloaded="no"> | |
781d2982 | 6284 | <autodoc>FindItemById(self, int id) -> MenuItem</autodoc> |
f32fc4bc RD |
6285 | <paramlist> |
6286 | <param name="id" type="int" default=""/> | |
6287 | </paramlist> | |
6288 | </method> | |
6289 | <method name="FindMenu" type="int" overloaded="no"> | |
781d2982 | 6290 | <autodoc>FindMenu(self, String title) -> int</autodoc> |
f32fc4bc RD |
6291 | <paramlist> |
6292 | <param name="title" type="String" default=""/> | |
6293 | </paramlist> | |
6294 | </method> | |
6295 | <method name="Enable" type="" overloaded="no"> | |
781d2982 | 6296 | <autodoc>Enable(self, int id, bool enable)</autodoc> |
f32fc4bc RD |
6297 | <paramlist> |
6298 | <param name="id" type="int" default=""/> | |
6299 | <param name="enable" type="bool" default=""/> | |
6300 | </paramlist> | |
6301 | </method> | |
6302 | <method name="Check" type="" overloaded="no"> | |
781d2982 | 6303 | <autodoc>Check(self, int id, bool check)</autodoc> |
f32fc4bc RD |
6304 | <paramlist> |
6305 | <param name="id" type="int" default=""/> | |
6306 | <param name="check" type="bool" default=""/> | |
6307 | </paramlist> | |
6308 | </method> | |
6309 | <method name="IsChecked" type="bool" overloaded="no"> | |
781d2982 | 6310 | <autodoc>IsChecked(self, int id) -> bool</autodoc> |
f32fc4bc RD |
6311 | <paramlist> |
6312 | <param name="id" type="int" default=""/> | |
6313 | </paramlist> | |
6314 | </method> | |
6315 | <method name="IsEnabled" type="bool" overloaded="no"> | |
781d2982 | 6316 | <autodoc>IsEnabled(self, int id) -> bool</autodoc> |
f32fc4bc RD |
6317 | <paramlist> |
6318 | <param name="id" type="int" default=""/> | |
6319 | </paramlist> | |
6320 | </method> | |
6321 | <method name="SetLabel" type="" overloaded="no"> | |
781d2982 | 6322 | <autodoc>SetLabel(self, int id, String label)</autodoc> |
f32fc4bc RD |
6323 | <paramlist> |
6324 | <param name="id" type="int" default=""/> | |
6325 | <param name="label" type="String" default=""/> | |
6326 | </paramlist> | |
6327 | </method> | |
6328 | <method name="GetLabel" type="String" overloaded="no"> | |
781d2982 | 6329 | <autodoc>GetLabel(self, int id) -> String</autodoc> |
f32fc4bc RD |
6330 | <paramlist> |
6331 | <param name="id" type="int" default=""/> | |
6332 | </paramlist> | |
6333 | </method> | |
6334 | <method name="SetHelpString" type="" overloaded="no"> | |
781d2982 | 6335 | <autodoc>SetHelpString(self, int id, String helpString)</autodoc> |
f32fc4bc RD |
6336 | <paramlist> |
6337 | <param name="id" type="int" default=""/> | |
6338 | <param name="helpString" type="String" default=""/> | |
6339 | </paramlist> | |
6340 | </method> | |
6341 | <method name="GetHelpString" type="String" overloaded="no"> | |
781d2982 | 6342 | <autodoc>GetHelpString(self, int id) -> String</autodoc> |
f32fc4bc RD |
6343 | <paramlist> |
6344 | <param name="id" type="int" default=""/> | |
6345 | </paramlist> | |
6346 | </method> | |
6347 | <method name="GetFrame" type="wxFrame" overloaded="no"> | |
781d2982 | 6348 | <autodoc>GetFrame(self) -> wxFrame</autodoc> |
f32fc4bc RD |
6349 | </method> |
6350 | <method name="IsAttached" type="bool" overloaded="no"> | |
781d2982 | 6351 | <autodoc>IsAttached(self) -> bool</autodoc> |
f32fc4bc RD |
6352 | </method> |
6353 | <method name="Attach" type="" overloaded="no"> | |
781d2982 | 6354 | <autodoc>Attach(self, wxFrame frame)</autodoc> |
f32fc4bc RD |
6355 | <paramlist> |
6356 | <param name="frame" type="wxFrame" default=""/> | |
6357 | </paramlist> | |
6358 | </method> | |
6359 | <method name="Detach" type="" overloaded="no"> | |
781d2982 | 6360 | <autodoc>Detach(self)</autodoc> |
f32fc4bc RD |
6361 | </method> |
6362 | </class> | |
6363 | <pythoncode> | |
856bf319 RD |
6364 | #--------------------------------------------------------------------------- |
6365 | </pythoncode> | |
781d2982 | 6366 | <class name="MenuItem" oldname="wxMenuItem" module="_core"> |
f32fc4bc RD |
6367 | <baseclass name="Object"/> |
6368 | <constructor name="MenuItem" overloaded="no"> | |
781d2982 | 6369 | <autodoc>__init__(self, Menu parentMenu=None, int id=ID_ANY, String text=EmptyString, |
856bf319 RD |
6370 | String help=EmptyString, int kind=ITEM_NORMAL, |
6371 | Menu subMenu=None) -> MenuItem</autodoc> | |
f32fc4bc RD |
6372 | <paramlist> |
6373 | <param name="parentMenu" type="Menu" default="NULL"/> | |
781d2982 | 6374 | <param name="id" type="int" default="wxID_ANY"/> |
f32fc4bc RD |
6375 | <param name="text" type="String" default="wxPyEmptyString"/> |
6376 | <param name="help" type="String" default="wxPyEmptyString"/> | |
6377 | <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/> | |
6378 | <param name="subMenu" type="Menu" default="NULL"/> | |
6379 | </paramlist> | |
6380 | </constructor> | |
6381 | <method name="GetMenu" type="Menu" overloaded="no"> | |
781d2982 | 6382 | <autodoc>GetMenu(self) -> Menu</autodoc> |
f32fc4bc RD |
6383 | </method> |
6384 | <method name="SetMenu" type="" overloaded="no"> | |
781d2982 | 6385 | <autodoc>SetMenu(self, Menu menu)</autodoc> |
f32fc4bc RD |
6386 | <paramlist> |
6387 | <param name="menu" type="Menu" default=""/> | |
6388 | </paramlist> | |
6389 | </method> | |
6390 | <method name="SetId" type="" overloaded="no"> | |
781d2982 | 6391 | <autodoc>SetId(self, int id)</autodoc> |
f32fc4bc RD |
6392 | <paramlist> |
6393 | <param name="id" type="int" default=""/> | |
6394 | </paramlist> | |
6395 | </method> | |
6396 | <method name="GetId" type="int" overloaded="no"> | |
781d2982 | 6397 | <autodoc>GetId(self) -> int</autodoc> |
f32fc4bc RD |
6398 | </method> |
6399 | <method name="IsSeparator" type="bool" overloaded="no"> | |
781d2982 | 6400 | <autodoc>IsSeparator(self) -> bool</autodoc> |
f32fc4bc RD |
6401 | </method> |
6402 | <method name="SetText" type="" overloaded="no"> | |
781d2982 | 6403 | <autodoc>SetText(self, String str)</autodoc> |
f32fc4bc RD |
6404 | <paramlist> |
6405 | <param name="str" type="String" default=""/> | |
6406 | </paramlist> | |
6407 | </method> | |
6408 | <method name="GetLabel" type="String" overloaded="no"> | |
781d2982 | 6409 | <autodoc>GetLabel(self) -> String</autodoc> |
f32fc4bc RD |
6410 | </method> |
6411 | <method name="GetText" type="String" overloaded="no"> | |
781d2982 | 6412 | <autodoc>GetText(self) -> String</autodoc> |
f32fc4bc RD |
6413 | </method> |
6414 | <staticmethod name="GetLabelFromText" type="String" overloaded="no"> | |
6415 | <autodoc>GetLabelFromText(String text) -> String</autodoc> | |
6416 | <paramlist> | |
6417 | <param name="text" type="String" default=""/> | |
6418 | </paramlist> | |
6419 | </staticmethod> | |
6420 | <method name="GetKind" type="wxItemKind" overloaded="no"> | |
781d2982 RD |
6421 | <autodoc>GetKind(self) -> int</autodoc> |
6422 | </method> | |
6423 | <method name="SetKind" type="" overloaded="no"> | |
6424 | <autodoc>SetKind(self, int kind)</autodoc> | |
6425 | <paramlist> | |
6426 | <param name="kind" type="wxItemKind" default=""/> | |
6427 | </paramlist> | |
f32fc4bc RD |
6428 | </method> |
6429 | <method name="SetCheckable" type="" overloaded="no"> | |
781d2982 | 6430 | <autodoc>SetCheckable(self, bool checkable)</autodoc> |
f32fc4bc RD |
6431 | <paramlist> |
6432 | <param name="checkable" type="bool" default=""/> | |
6433 | </paramlist> | |
6434 | </method> | |
6435 | <method name="IsCheckable" type="bool" overloaded="no"> | |
781d2982 | 6436 | <autodoc>IsCheckable(self) -> bool</autodoc> |
f32fc4bc RD |
6437 | </method> |
6438 | <method name="IsSubMenu" type="bool" overloaded="no"> | |
781d2982 | 6439 | <autodoc>IsSubMenu(self) -> bool</autodoc> |
f32fc4bc RD |
6440 | </method> |
6441 | <method name="SetSubMenu" type="" overloaded="no"> | |
781d2982 | 6442 | <autodoc>SetSubMenu(self, Menu menu)</autodoc> |
f32fc4bc RD |
6443 | <paramlist> |
6444 | <param name="menu" type="Menu" default=""/> | |
6445 | </paramlist> | |
6446 | </method> | |
6447 | <method name="GetSubMenu" type="Menu" overloaded="no"> | |
781d2982 | 6448 | <autodoc>GetSubMenu(self) -> Menu</autodoc> |
f32fc4bc RD |
6449 | </method> |
6450 | <method name="Enable" type="" overloaded="no"> | |
781d2982 | 6451 | <autodoc>Enable(self, bool enable=True)</autodoc> |
f32fc4bc RD |
6452 | <paramlist> |
6453 | <param name="enable" type="bool" default="True"/> | |
6454 | </paramlist> | |
6455 | </method> | |
6456 | <method name="IsEnabled" type="bool" overloaded="no"> | |
781d2982 | 6457 | <autodoc>IsEnabled(self) -> bool</autodoc> |
f32fc4bc RD |
6458 | </method> |
6459 | <method name="Check" type="" overloaded="no"> | |
781d2982 | 6460 | <autodoc>Check(self, bool check=True)</autodoc> |
f32fc4bc RD |
6461 | <paramlist> |
6462 | <param name="check" type="bool" default="True"/> | |
6463 | </paramlist> | |
6464 | </method> | |
6465 | <method name="IsChecked" type="bool" overloaded="no"> | |
781d2982 | 6466 | <autodoc>IsChecked(self) -> bool</autodoc> |
f32fc4bc RD |
6467 | </method> |
6468 | <method name="Toggle" type="" overloaded="no"> | |
781d2982 | 6469 | <autodoc>Toggle(self)</autodoc> |
f32fc4bc RD |
6470 | </method> |
6471 | <method name="SetHelp" type="" overloaded="no"> | |
781d2982 | 6472 | <autodoc>SetHelp(self, String str)</autodoc> |
f32fc4bc RD |
6473 | <paramlist> |
6474 | <param name="str" type="String" default=""/> | |
6475 | </paramlist> | |
6476 | </method> | |
6477 | <method name="GetHelp" type="String" overloaded="no"> | |
781d2982 | 6478 | <autodoc>GetHelp(self) -> String</autodoc> |
f32fc4bc RD |
6479 | </method> |
6480 | <method name="GetAccel" type="AcceleratorEntry" overloaded="no"> | |
781d2982 | 6481 | <autodoc>GetAccel(self) -> AcceleratorEntry</autodoc> |
f32fc4bc RD |
6482 | </method> |
6483 | <method name="SetAccel" type="" overloaded="no"> | |
781d2982 | 6484 | <autodoc>SetAccel(self, AcceleratorEntry accel)</autodoc> |
f32fc4bc RD |
6485 | <paramlist> |
6486 | <param name="accel" type="AcceleratorEntry" default=""/> | |
6487 | </paramlist> | |
6488 | </method> | |
6489 | <staticmethod name="GetDefaultMarginWidth" type="int" overloaded="no"> | |
6490 | <autodoc>GetDefaultMarginWidth() -> int</autodoc> | |
6491 | </staticmethod> | |
6492 | <method name="SetBitmap" type="" overloaded="no"> | |
781d2982 | 6493 | <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc> |
f32fc4bc RD |
6494 | <paramlist> |
6495 | <param name="bitmap" type="wxBitmap" default=""/> | |
6496 | </paramlist> | |
6497 | </method> | |
6498 | <method name="GetBitmap" type="wxBitmap" overloaded="no"> | |
781d2982 | 6499 | <autodoc>GetBitmap(self) -> Bitmap</autodoc> |
f32fc4bc RD |
6500 | </method> |
6501 | </class> | |
6502 | <pythoncode> | |
0f43fbdf RD |
6503 | #--------------------------------------------------------------------------- |
6504 | </pythoncode> | |
781d2982 | 6505 | <class name="Control" oldname="wxControl" module="_core"> |
c2dda882 RD |
6506 | <docstring>This is the base class for a control or 'widget'. |
6507 | ||
781d2982 RD |
6508 | A control is generally a small window which processes user input |
6509 | and/or displays one or more item of data.</docstring> | |
f32fc4bc RD |
6510 | <baseclass name="Window"/> |
6511 | <constructor name="Control" overloaded="no"> | |
781d2982 RD |
6512 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
6513 | Size size=DefaultSize, long style=0, Validator validator=DefaultValidator, | |
0f43fbdf | 6514 | String name=ControlNameStr) -> Control</autodoc> |
781d2982 RD |
6515 | <docstring>Create a Control. Normally you should only call this from a subclass' |
6516 | __init__ as a plain old wx.Control is not very useful.</docstring> | |
f32fc4bc RD |
6517 | <paramlist> |
6518 | <param name="parent" type="Window" default=""/> | |
781d2982 | 6519 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
6520 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
6521 | <param name="size" type="Size" default="wxDefaultSize"/> | |
6522 | <param name="style" type="long" default="0"/> | |
6523 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
6524 | <param name="name" type="String" default="wxPyControlNameStr"/> | |
6525 | </paramlist> | |
6526 | </constructor> | |
6527 | <constructor name="PreControl" overloaded="no"> | |
6528 | <autodoc>PreControl() -> Control</autodoc> | |
c2dda882 | 6529 | <docstring>Precreate a Control control for 2-phase creation</docstring> |
f32fc4bc RD |
6530 | </constructor> |
6531 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
6532 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
6533 | Size size=DefaultSize, long style=0, Validator validator=DefaultValidator, | |
0f43fbdf | 6534 | String name=ControlNameStr) -> bool</autodoc> |
c2dda882 | 6535 | <docstring>Do the 2nd phase and create the GUI control.</docstring> |
f32fc4bc RD |
6536 | <paramlist> |
6537 | <param name="parent" type="Window" default=""/> | |
781d2982 | 6538 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
6539 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
6540 | <param name="size" type="Size" default="wxDefaultSize"/> | |
6541 | <param name="style" type="long" default="0"/> | |
6542 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
6543 | <param name="name" type="String" default="wxPyControlNameStr"/> | |
6544 | </paramlist> | |
6545 | </method> | |
6546 | <method name="Command" type="" overloaded="no"> | |
781d2982 RD |
6547 | <autodoc>Command(self, CommandEvent event)</autodoc> |
6548 | <docstring>Simulates the effect of the user issuing a command to the item. | |
6549 | ||
6550 | :see: `wx.CommandEvent` | |
6551 | </docstring> | |
f32fc4bc RD |
6552 | <paramlist> |
6553 | <param name="event" type="CommandEvent" default=""/> | |
6554 | </paramlist> | |
6555 | </method> | |
6556 | <method name="GetLabel" type="String" overloaded="no"> | |
781d2982 | 6557 | <autodoc>GetLabel(self) -> String</autodoc> |
c2dda882 | 6558 | <docstring>Return a control's text.</docstring> |
f32fc4bc RD |
6559 | </method> |
6560 | <method name="SetLabel" type="" overloaded="no"> | |
781d2982 | 6561 | <autodoc>SetLabel(self, String label)</autodoc> |
c2dda882 | 6562 | <docstring>Sets the item's text.</docstring> |
f32fc4bc RD |
6563 | <paramlist> |
6564 | <param name="label" type="String" default=""/> | |
6565 | </paramlist> | |
6566 | </method> | |
781d2982 RD |
6567 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
6568 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
6569 | <docstring>Get the default attributes for this class. This is useful if you want | |
6570 | to use the same font or colour in your own control as in a standard | |
6571 | control -- which is a much better idea than hard coding specific | |
6572 | colours or fonts which might look completely out of place on the | |
6573 | user's system, especially if it uses themes. | |
6574 | ||
6575 | The variant parameter is only relevant under Mac currently and is | |
6576 | ignore under other platforms. Under Mac, it will change the size of | |
6577 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
6578 | this.</docstring> | |
6579 | <paramlist> | |
6580 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
6581 | </paramlist> | |
6582 | </staticmethod> | |
f32fc4bc RD |
6583 | </class> |
6584 | <pythoncode> | |
0f43fbdf RD |
6585 | #--------------------------------------------------------------------------- |
6586 | </pythoncode> | |
781d2982 | 6587 | <class name="ItemContainer" oldname="wxItemContainer" module="_core"> |
c2dda882 | 6588 | <docstring>wx.ItemContainer defines an interface which is implemented by all |
781d2982 RD |
6589 | controls which have string subitems, each of which may be selected, |
6590 | such as `wx.ListBox`, `wx.CheckListBox`, `wx.Choice` as well as | |
6591 | `wx.ComboBox` which implements an extended interface deriving from | |
6592 | this one. | |
c2dda882 | 6593 | |
781d2982 RD |
6594 | It defines the methods for accessing the control's items and although |
6595 | each of the derived classes implements them differently, they still | |
6596 | all conform to the same interface. | |
c2dda882 | 6597 | |
781d2982 RD |
6598 | The items in a wx.ItemContainer have (non empty) string labels and, |
6599 | optionally, client data associated with them. | |
c2dda882 | 6600 | </docstring> |
f32fc4bc | 6601 | <method name="Append" type="int" overloaded="no"> |
781d2982 RD |
6602 | <autodoc>Append(self, String item, PyObject clientData=None) -> int</autodoc> |
6603 | <docstring>Adds the item to the control, associating the given data with the item | |
6604 | if not None. The return value is the index of the newly added item | |
6605 | which may be different from the last one if the control is sorted (e.g. | |
6606 | has wx.LB_SORT or wx.CB_SORT style).</docstring> | |
f32fc4bc RD |
6607 | <paramlist> |
6608 | <param name="item" type="String" default=""/> | |
6609 | <param name="clientData" type="PyObject" default="NULL"/> | |
6610 | </paramlist> | |
6611 | </method> | |
6612 | <method name="AppendItems" type="" overloaded="no"> | |
ce6878e6 | 6613 | <autodoc>AppendItems(self, List strings)</autodoc> |
781d2982 RD |
6614 | <docstring>Apend several items at once to the control. Notice that calling this |
6615 | method may be much faster than appending the items one by one if you | |
6616 | need to add a lot of items.</docstring> | |
f32fc4bc RD |
6617 | <paramlist> |
6618 | <param name="strings" type="wxArrayString" default=""/> | |
6619 | </paramlist> | |
6620 | </method> | |
6621 | <method name="Insert" type="int" overloaded="no"> | |
781d2982 RD |
6622 | <autodoc>Insert(self, String item, int pos, PyObject clientData=None) -> int</autodoc> |
6623 | <docstring>Insert an item into the control before the item at the ``pos`` index, | |
c2dda882 | 6624 | optionally associating some data object with the item.</docstring> |
f32fc4bc RD |
6625 | <paramlist> |
6626 | <param name="item" type="String" default=""/> | |
6627 | <param name="pos" type="int" default=""/> | |
6628 | <param name="clientData" type="PyObject" default="NULL"/> | |
6629 | </paramlist> | |
6630 | </method> | |
6631 | <method name="Clear" type="" overloaded="no"> | |
781d2982 | 6632 | <autodoc>Clear(self)</autodoc> |
c2dda882 | 6633 | <docstring>Removes all items from the control.</docstring> |
f32fc4bc RD |
6634 | </method> |
6635 | <method name="Delete" type="" overloaded="no"> | |
781d2982 RD |
6636 | <autodoc>Delete(self, int n)</autodoc> |
6637 | <docstring>Deletes the item at the zero-based index 'n' from the control. Note | |
6638 | that it is an error (signalled by a `wx.PyAssertionError` exception if | |
6639 | enabled) to remove an item with the index negative or greater or equal | |
6640 | than the number of items in the control.</docstring> | |
f32fc4bc RD |
6641 | <paramlist> |
6642 | <param name="n" type="int" default=""/> | |
6643 | </paramlist> | |
6644 | </method> | |
6645 | <method name="GetCount" type="int" overloaded="no"> | |
781d2982 | 6646 | <autodoc>GetCount(self) -> int</autodoc> |
c2dda882 | 6647 | <docstring>Returns the number of items in the control.</docstring> |
f32fc4bc RD |
6648 | </method> |
6649 | <method name="IsEmpty" type="bool" overloaded="no"> | |
781d2982 | 6650 | <autodoc>IsEmpty(self) -> bool</autodoc> |
c2dda882 | 6651 | <docstring>Returns True if the control is empty or False if it has some items.</docstring> |
f32fc4bc RD |
6652 | </method> |
6653 | <method name="GetString" type="String" overloaded="no"> | |
781d2982 | 6654 | <autodoc>GetString(self, int n) -> String</autodoc> |
c2dda882 | 6655 | <docstring>Returns the label of the item with the given index.</docstring> |
f32fc4bc RD |
6656 | <paramlist> |
6657 | <param name="n" type="int" default=""/> | |
6658 | </paramlist> | |
6659 | </method> | |
6660 | <method name="GetStrings" type="wxArrayString" overloaded="no"> | |
781d2982 | 6661 | <autodoc>GetStrings(self) -> wxArrayString</autodoc> |
f32fc4bc RD |
6662 | </method> |
6663 | <method name="SetString" type="" overloaded="no"> | |
781d2982 | 6664 | <autodoc>SetString(self, int n, String s)</autodoc> |
c2dda882 | 6665 | <docstring>Sets the label for the given item.</docstring> |
f32fc4bc RD |
6666 | <paramlist> |
6667 | <param name="n" type="int" default=""/> | |
6668 | <param name="s" type="String" default=""/> | |
6669 | </paramlist> | |
6670 | </method> | |
6671 | <method name="FindString" type="int" overloaded="no"> | |
781d2982 | 6672 | <autodoc>FindString(self, String s) -> int</autodoc> |
c2dda882 | 6673 | <docstring>Finds an item whose label matches the given string. Returns the |
781d2982 RD |
6674 | zero-based position of the item, or ``wx.NOT_FOUND`` if the string was not |
6675 | found.</docstring> | |
f32fc4bc RD |
6676 | <paramlist> |
6677 | <param name="s" type="String" default=""/> | |
6678 | </paramlist> | |
6679 | </method> | |
6680 | <method name="Select" type="" overloaded="no"> | |
781d2982 | 6681 | <autodoc>Select(self, int n)</autodoc> |
c2dda882 | 6682 | <docstring>Sets the item at index 'n' to be the selected item.</docstring> |
f32fc4bc RD |
6683 | <paramlist> |
6684 | <param name="n" type="int" default=""/> | |
6685 | </paramlist> | |
6686 | </method> | |
6687 | <method name="GetSelection" type="int" overloaded="no"> | |
781d2982 RD |
6688 | <autodoc>GetSelection(self) -> int</autodoc> |
6689 | <docstring>Returns the index of the selected item or ``wx.NOT_FOUND`` if no item | |
6690 | is selected.</docstring> | |
f32fc4bc RD |
6691 | </method> |
6692 | <method name="GetStringSelection" type="String" overloaded="no"> | |
781d2982 RD |
6693 | <autodoc>GetStringSelection(self) -> String</autodoc> |
6694 | <docstring>Returns the label of the selected item or an empty string if no item | |
6695 | is selected.</docstring> | |
f32fc4bc RD |
6696 | </method> |
6697 | <method name="GetClientData" type="PyObject" overloaded="no"> | |
781d2982 | 6698 | <autodoc>GetClientData(self, int n) -> PyObject</autodoc> |
c2dda882 | 6699 | <docstring>Returns the client data associated with the given item, (if any.)</docstring> |
f32fc4bc RD |
6700 | <paramlist> |
6701 | <param name="n" type="int" default=""/> | |
6702 | </paramlist> | |
6703 | </method> | |
6704 | <method name="SetClientData" type="" overloaded="no"> | |
781d2982 | 6705 | <autodoc>SetClientData(self, int n, PyObject clientData)</autodoc> |
c2dda882 | 6706 | <docstring>Associate the given client data with the item at position n.</docstring> |
f32fc4bc RD |
6707 | <paramlist> |
6708 | <param name="n" type="int" default=""/> | |
6709 | <param name="clientData" type="PyObject" default=""/> | |
6710 | </paramlist> | |
6711 | </method> | |
6712 | </class> | |
6713 | <pythoncode> | |
0f43fbdf RD |
6714 | #--------------------------------------------------------------------------- |
6715 | </pythoncode> | |
781d2982 RD |
6716 | <class name="ControlWithItems" oldname="wxControlWithItems" module="_core"> |
6717 | <docstring>wx.ControlWithItems combines the ``wx.ItemContainer`` class with the | |
6718 | wx.Control class, and is used for the base class of various controls | |
6719 | that have items.</docstring> | |
f32fc4bc RD |
6720 | <baseclass name="Control"/> |
6721 | <baseclass name="ItemContainer"/> | |
6722 | </class> | |
6723 | <pythoncode> | |
0f43fbdf RD |
6724 | #--------------------------------------------------------------------------- |
6725 | </pythoncode> | |
781d2982 RD |
6726 | <class name="SizerItem" oldname="wxSizerItem" module="_core"> |
6727 | <docstring>The wx.SizerItem class is used to track the position, size and other | |
6728 | attributes of each item managed by a `wx.Sizer`. In normal usage user | |
6729 | code should never need to deal directly with a wx.SizerItem, but | |
6730 | custom classes derived from `wx.PySizer` will probably need to use the | |
6731 | collection of wx.SizerItems held by wx.Sizer when calculating layout. | |
6732 | ||
6733 | :see: `wx.Sizer`, `wx.GBSizerItem`</docstring> | |
f32fc4bc RD |
6734 | <baseclass name="Object"/> |
6735 | <constructor name="SizerItem" overloaded="no"> | |
781d2982 RD |
6736 | <autodoc>__init__(self) -> SizerItem</autodoc> |
6737 | <docstring>Constructs an empty wx.SizerItem. Either a window, sizer or spacer | |
6738 | size will need to be set before this item can be used in a Sizer. | |
6739 | ||
6740 | You will probably never need to create a wx.SizerItem directly as they | |
6741 | are created automatically when the sizer's Add, Insert or Prepend | |
6742 | methods are called. | |
6743 | ||
6744 | :see: `wx.SizerItemSpacer`, `wx.SizerItemWindow`, `wx.SizerItemSizer`</docstring> | |
f32fc4bc | 6745 | </constructor> |
781d2982 RD |
6746 | <constructor name="SizerItemWindow" overloaded="no"> |
6747 | <autodoc>SizerItemWindow(Window window, int proportion, int flag, int border, | |
6748 | PyObject userData=None) -> SizerItem</autodoc> | |
6749 | <docstring>Constructs a `wx.SizerItem` for tracking a window.</docstring> | |
f32fc4bc | 6750 | <paramlist> |
781d2982 | 6751 | <param name="window" type="Window" default=""/> |
f32fc4bc RD |
6752 | <param name="proportion" type="int" default=""/> |
6753 | <param name="flag" type="int" default=""/> | |
6754 | <param name="border" type="int" default=""/> | |
781d2982 | 6755 | <param name="userData" type="PyObject" default="NULL"/> |
f32fc4bc RD |
6756 | </paramlist> |
6757 | </constructor> | |
781d2982 RD |
6758 | <constructor name="SizerItemSpacer" overloaded="no"> |
6759 | <autodoc>SizerItemSpacer(int width, int height, int proportion, int flag, int border, | |
6760 | PyObject userData=None) -> SizerItem</autodoc> | |
6761 | <docstring>Constructs a `wx.SizerItem` for tracking a spacer.</docstring> | |
f32fc4bc | 6762 | <paramlist> |
781d2982 RD |
6763 | <param name="width" type="int" default=""/> |
6764 | <param name="height" type="int" default=""/> | |
f32fc4bc RD |
6765 | <param name="proportion" type="int" default=""/> |
6766 | <param name="flag" type="int" default=""/> | |
6767 | <param name="border" type="int" default=""/> | |
781d2982 | 6768 | <param name="userData" type="PyObject" default="NULL"/> |
f32fc4bc RD |
6769 | </paramlist> |
6770 | </constructor> | |
6771 | <constructor name="SizerItemSizer" overloaded="no"> | |
6772 | <autodoc>SizerItemSizer(Sizer sizer, int proportion, int flag, int border, | |
781d2982 RD |
6773 | PyObject userData=None) -> SizerItem</autodoc> |
6774 | <docstring>Constructs a `wx.SizerItem` for tracking a subsizer</docstring> | |
f32fc4bc RD |
6775 | <paramlist> |
6776 | <param name="sizer" type="wxSizer" default=""/> | |
6777 | <param name="proportion" type="int" default=""/> | |
6778 | <param name="flag" type="int" default=""/> | |
6779 | <param name="border" type="int" default=""/> | |
781d2982 | 6780 | <param name="userData" type="PyObject" default="NULL"/> |
f32fc4bc RD |
6781 | </paramlist> |
6782 | </constructor> | |
6783 | <method name="DeleteWindows" type="" overloaded="no"> | |
781d2982 RD |
6784 | <autodoc>DeleteWindows(self)</autodoc> |
6785 | <docstring>Destroy the window or the windows in a subsizer, depending on the type | |
6786 | of item.</docstring> | |
f32fc4bc RD |
6787 | </method> |
6788 | <method name="DetachSizer" type="" overloaded="no"> | |
781d2982 RD |
6789 | <autodoc>DetachSizer(self)</autodoc> |
6790 | <docstring>Enable deleting the SizerItem without destroying the contained sizer.</docstring> | |
f32fc4bc RD |
6791 | </method> |
6792 | <method name="GetSize" type="Size" overloaded="no"> | |
781d2982 RD |
6793 | <autodoc>GetSize(self) -> Size</autodoc> |
6794 | <docstring>Get the current size of the item, as set in the last Layout.</docstring> | |
f32fc4bc RD |
6795 | </method> |
6796 | <method name="CalcMin" type="Size" overloaded="no"> | |
781d2982 RD |
6797 | <autodoc>CalcMin(self) -> Size</autodoc> |
6798 | <docstring>Calculates the minimum desired size for the item, including any space | |
6799 | needed by borders.</docstring> | |
f32fc4bc RD |
6800 | </method> |
6801 | <method name="SetDimension" type="" overloaded="no"> | |
781d2982 RD |
6802 | <autodoc>SetDimension(self, Point pos, Size size)</autodoc> |
6803 | <docstring>Set the position and size of the space allocated for this item by the | |
6804 | sizer, and adjust the position and size of the item (window or | |
6805 | subsizer) to be within that space taking alignment and borders into | |
6806 | account.</docstring> | |
f32fc4bc RD |
6807 | <paramlist> |
6808 | <param name="pos" type="Point" default=""/> | |
6809 | <param name="size" type="Size" default=""/> | |
6810 | </paramlist> | |
6811 | </method> | |
6812 | <method name="GetMinSize" type="Size" overloaded="no"> | |
781d2982 RD |
6813 | <autodoc>GetMinSize(self) -> Size</autodoc> |
6814 | <docstring>Get the minimum size needed for the item.</docstring> | |
f32fc4bc | 6815 | </method> |
ce6878e6 RD |
6816 | <method name="GetMinSizeWithBorder" type="Size" overloaded="no"> |
6817 | <autodoc>GetMinSizeWithBorder(self) -> Size</autodoc> | |
6818 | <docstring>Get the minimum size needed for the item with space for the borders | |
6819 | added, if needed.</docstring> | |
6820 | </method> | |
f32fc4bc | 6821 | <method name="SetInitSize" type="" overloaded="no"> |
781d2982 | 6822 | <autodoc>SetInitSize(self, int x, int y)</autodoc> |
f32fc4bc RD |
6823 | <paramlist> |
6824 | <param name="x" type="int" default=""/> | |
6825 | <param name="y" type="int" default=""/> | |
6826 | </paramlist> | |
6827 | </method> | |
6828 | <method name="SetRatioWH" type="" overloaded="no"> | |
781d2982 RD |
6829 | <autodoc>SetRatioWH(self, int width, int height)</autodoc> |
6830 | <docstring>Set the ratio item attribute.</docstring> | |
f32fc4bc RD |
6831 | <paramlist> |
6832 | <param name="width" type="int" default=""/> | |
6833 | <param name="height" type="int" default=""/> | |
6834 | </paramlist> | |
6835 | </method> | |
6836 | <method name="SetRatioSize" type="" overloaded="no"> | |
781d2982 RD |
6837 | <autodoc>SetRatioSize(self, Size size)</autodoc> |
6838 | <docstring>Set the ratio item attribute.</docstring> | |
f32fc4bc RD |
6839 | <paramlist> |
6840 | <param name="size" type="Size" default=""/> | |
6841 | </paramlist> | |
6842 | </method> | |
6843 | <method name="SetRatio" type="" overloaded="no"> | |
781d2982 RD |
6844 | <autodoc>SetRatio(self, float ratio)</autodoc> |
6845 | <docstring>Set the ratio item attribute.</docstring> | |
f32fc4bc RD |
6846 | <paramlist> |
6847 | <param name="ratio" type="float" default=""/> | |
6848 | </paramlist> | |
6849 | </method> | |
6850 | <method name="GetRatio" type="float" overloaded="no"> | |
781d2982 RD |
6851 | <autodoc>GetRatio(self) -> float</autodoc> |
6852 | <docstring>Set the ratio item attribute.</docstring> | |
f32fc4bc RD |
6853 | </method> |
6854 | <method name="IsWindow" type="bool" overloaded="no"> | |
781d2982 RD |
6855 | <autodoc>IsWindow(self) -> bool</autodoc> |
6856 | <docstring>Is this sizer item a window?</docstring> | |
f32fc4bc RD |
6857 | </method> |
6858 | <method name="IsSizer" type="bool" overloaded="no"> | |
781d2982 RD |
6859 | <autodoc>IsSizer(self) -> bool</autodoc> |
6860 | <docstring>Is this sizer item a subsizer?</docstring> | |
f32fc4bc RD |
6861 | </method> |
6862 | <method name="IsSpacer" type="bool" overloaded="no"> | |
781d2982 RD |
6863 | <autodoc>IsSpacer(self) -> bool</autodoc> |
6864 | <docstring>Is this sizer item a spacer?</docstring> | |
f32fc4bc RD |
6865 | </method> |
6866 | <method name="SetProportion" type="" overloaded="no"> | |
781d2982 RD |
6867 | <autodoc>SetProportion(self, int proportion)</autodoc> |
6868 | <docstring>Set the proportion value for this item.</docstring> | |
f32fc4bc RD |
6869 | <paramlist> |
6870 | <param name="proportion" type="int" default=""/> | |
6871 | </paramlist> | |
6872 | </method> | |
6873 | <method name="GetProportion" type="int" overloaded="no"> | |
781d2982 RD |
6874 | <autodoc>GetProportion(self) -> int</autodoc> |
6875 | <docstring>Get the proportion value for this item.</docstring> | |
f32fc4bc RD |
6876 | </method> |
6877 | <method name="SetFlag" type="" overloaded="no"> | |
781d2982 RD |
6878 | <autodoc>SetFlag(self, int flag)</autodoc> |
6879 | <docstring>Set the flag value for this item.</docstring> | |
f32fc4bc RD |
6880 | <paramlist> |
6881 | <param name="flag" type="int" default=""/> | |
6882 | </paramlist> | |
6883 | </method> | |
6884 | <method name="GetFlag" type="int" overloaded="no"> | |
781d2982 RD |
6885 | <autodoc>GetFlag(self) -> int</autodoc> |
6886 | <docstring>Get the flag value for this item.</docstring> | |
f32fc4bc RD |
6887 | </method> |
6888 | <method name="SetBorder" type="" overloaded="no"> | |
781d2982 RD |
6889 | <autodoc>SetBorder(self, int border)</autodoc> |
6890 | <docstring>Set the border value for this item.</docstring> | |
f32fc4bc RD |
6891 | <paramlist> |
6892 | <param name="border" type="int" default=""/> | |
6893 | </paramlist> | |
6894 | </method> | |
6895 | <method name="GetBorder" type="int" overloaded="no"> | |
781d2982 RD |
6896 | <autodoc>GetBorder(self) -> int</autodoc> |
6897 | <docstring>Get the border value for this item.</docstring> | |
f32fc4bc RD |
6898 | </method> |
6899 | <method name="GetWindow" type="Window" overloaded="no"> | |
781d2982 RD |
6900 | <autodoc>GetWindow(self) -> Window</autodoc> |
6901 | <docstring>Get the window (if any) that is managed by this sizer item.</docstring> | |
f32fc4bc RD |
6902 | </method> |
6903 | <method name="SetWindow" type="" overloaded="no"> | |
781d2982 RD |
6904 | <autodoc>SetWindow(self, Window window)</autodoc> |
6905 | <docstring>Set the window to be managed by this sizer item.</docstring> | |
f32fc4bc RD |
6906 | <paramlist> |
6907 | <param name="window" type="Window" default=""/> | |
6908 | </paramlist> | |
6909 | </method> | |
6910 | <method name="GetSizer" type="wxSizer" overloaded="no"> | |
781d2982 RD |
6911 | <autodoc>GetSizer(self) -> Sizer</autodoc> |
6912 | <docstring>Get the subsizer (if any) that is managed by this sizer item.</docstring> | |
f32fc4bc RD |
6913 | </method> |
6914 | <method name="SetSizer" type="" overloaded="no"> | |
781d2982 RD |
6915 | <autodoc>SetSizer(self, Sizer sizer)</autodoc> |
6916 | <docstring>Set the subsizer to be managed by this sizer item.</docstring> | |
f32fc4bc RD |
6917 | <paramlist> |
6918 | <param name="sizer" type="wxSizer" default=""/> | |
6919 | </paramlist> | |
6920 | </method> | |
6921 | <method name="GetSpacer" type="Size" overloaded="no"> | |
781d2982 RD |
6922 | <autodoc>GetSpacer(self) -> Size</autodoc> |
6923 | <docstring>Get the size of the spacer managed by this sizer item.</docstring> | |
f32fc4bc RD |
6924 | </method> |
6925 | <method name="SetSpacer" type="" overloaded="no"> | |
781d2982 RD |
6926 | <autodoc>SetSpacer(self, Size size)</autodoc> |
6927 | <docstring>Set the size of the spacer to be managed by this sizer item.</docstring> | |
f32fc4bc RD |
6928 | <paramlist> |
6929 | <param name="size" type="Size" default=""/> | |
6930 | </paramlist> | |
6931 | </method> | |
6932 | <method name="Show" type="" overloaded="no"> | |
781d2982 RD |
6933 | <autodoc>Show(self, bool show)</autodoc> |
6934 | <docstring>Set the show item attribute, which sizers use to determine if the item | |
6935 | is to be made part of the layout or not. If the item is tracking a | |
6936 | window then it is shown or hidden as needed.</docstring> | |
f32fc4bc RD |
6937 | <paramlist> |
6938 | <param name="show" type="bool" default=""/> | |
6939 | </paramlist> | |
6940 | </method> | |
6941 | <method name="IsShown" type="bool" overloaded="no"> | |
781d2982 RD |
6942 | <autodoc>IsShown(self) -> bool</autodoc> |
6943 | <docstring>Is the item to be shown in the layout?</docstring> | |
f32fc4bc RD |
6944 | </method> |
6945 | <method name="GetPosition" type="Point" overloaded="no"> | |
781d2982 RD |
6946 | <autodoc>GetPosition(self) -> Point</autodoc> |
6947 | <docstring>Returns the current position of the item, as set in the last Layout.</docstring> | |
f32fc4bc RD |
6948 | </method> |
6949 | <method name="GetUserData" type="PyObject" overloaded="no"> | |
781d2982 RD |
6950 | <autodoc>GetUserData(self) -> PyObject</autodoc> |
6951 | <docstring>Returns the userData associated with this sizer item, or None if there | |
6952 | isn't any.</docstring> | |
6953 | </method> | |
6954 | </class> | |
6955 | <class name="Sizer" oldname="wxSizer" module="_core"> | |
6956 | <docstring>wx.Sizer is the abstract base class used for laying out subwindows in | |
6957 | a window. You cannot use wx.Sizer directly; instead, you will have to | |
6958 | use one of the sizer classes derived from it such as `wx.BoxSizer`, | |
6959 | `wx.StaticBoxSizer`, `wx.NotebookSizer`, `wx.GridSizer`, `wx.FlexGridSizer` | |
6960 | and `wx.GridBagSizer`. | |
6961 | ||
6962 | The concept implemented by sizers in wxWidgets is closely related to | |
6963 | layout tools in other GUI toolkits, such as Java's AWT, the GTK | |
6964 | toolkit or the Qt toolkit. It is based upon the idea of the individual | |
6965 | subwindows reporting their minimal required size and their ability to | |
6966 | get stretched if the size of the parent window has changed. This will | |
6967 | most often mean that the programmer does not set the original size of | |
6968 | a dialog in the beginning, rather the dialog will assigned a sizer and | |
6969 | this sizer will be queried about the recommended size. The sizer in | |
6970 | turn will query its children, which can be normal windows or contorls, | |
6971 | empty space or other sizers, so that a hierarchy of sizers can be | |
6972 | constructed. Note that wxSizer does not derive from wxWindow and thus | |
6973 | do not interfere with tab ordering and requires very little resources | |
6974 | compared to a real window on screen. | |
6975 | ||
6976 | What makes sizers so well fitted for use in wxWidgets is the fact that | |
6977 | every control reports its own minimal size and the algorithm can | |
6978 | handle differences in font sizes or different window (dialog item) | |
6979 | sizes on different platforms without problems. If for example the | |
6980 | standard font as well as the overall design of Mac widgets requires | |
6981 | more space than on Windows, then the initial size of a dialog using a | |
ce6878e6 RD |
6982 | sizer will automatically be bigger on Mac than on Windows. |
6983 | ||
6984 | :note: If you wish to create a custom sizer class in wxPython you | |
6985 | should derive the class from `wx.PySizer` in order to get | |
6986 | Python-aware capabilities for the various virtual methods. | |
6987 | ||
6988 | :see: `wx.SizerItem` | |
6989 | ||
6990 | :todo: More dscriptive text here along with some pictures... | |
6991 | ||
6992 | </docstring> | |
f32fc4bc RD |
6993 | <baseclass name="Object"/> |
6994 | <method name="_setOORInfo" type="" overloaded="no"> | |
781d2982 | 6995 | <autodoc>_setOORInfo(self, PyObject _self)</autodoc> |
f32fc4bc RD |
6996 | <paramlist> |
6997 | <param name="_self" type="PyObject" default=""/> | |
6998 | </paramlist> | |
6999 | </method> | |
7000 | <method name="Add" type="" overloaded="no"> | |
781d2982 | 7001 | <autodoc>Add(self, item, int proportion=0, int flag=0, int border=0, |
0f43fbdf | 7002 | PyObject userData=None)</autodoc> |
ce6878e6 RD |
7003 | <docstring>Appends a child item to the sizer. |
7004 | ||
7005 | :param item: The item can be one of three kinds of objects: | |
7006 | ||
7007 | - **window**: A `wx.Window` to be managed by the sizer. Its | |
7008 | minimal size (either set explicitly by the user or | |
7009 | calculated internally when constructed with wx.DefaultSize) | |
7010 | is interpreted as the minimal size to use when laying out | |
7011 | item in the sizer. This is particularly useful in | |
7012 | connection with `wx.Window.SetSizeHints`. | |
7013 | ||
7014 | - **sizer**: The (child-)sizer to be added to the sizer. This | |
7015 | allows placing a child sizer in a sizer and thus to create | |
7016 | hierarchies of sizers (typically a vertical box as the top | |
7017 | sizer and several horizontal boxes on the level beneath). | |
7018 | ||
7019 | - **size**: A `wx.Size` or a 2-element sequence of integers | |
7020 | that represents the width and height of a spacer to be added | |
7021 | to the sizer. Adding spacers to sizers gives more | |
7022 | flexibility in the design of dialogs; imagine for example a | |
7023 | horizontal box with two buttons at the bottom of a dialog: | |
7024 | you might want to insert a space between the two buttons and | |
7025 | make that space stretchable using the *proportion* value and | |
7026 | the result will be that the left button will be aligned with | |
7027 | the left side of the dialog and the right button with the | |
7028 | right side - the space in between will shrink and grow with | |
7029 | the dialog. | |
7030 | ||
7031 | :param proportion: Although the meaning of this parameter is | |
7032 | undefined in wx.Sizer, it is used in `wx.BoxSizer` to indicate | |
7033 | if a child of a sizer can change its size in the main | |
7034 | orientation of the wx.BoxSizer - where 0 stands for not | |
7035 | changeable and a value of more than zero is interpreted | |
7036 | relative (a proportion of the total) to the value of other | |
7037 | children of the same wx.BoxSizer. For example, you might have | |
7038 | a horizontal wx.BoxSizer with three children, two of which are | |
7039 | supposed to change their size with the sizer. Then the two | |
7040 | stretchable windows should each be given *proportion* value of | |
7041 | 1 to make them grow and shrink equally with the sizer's | |
7042 | horizontal dimension. But if one of them had a *proportion* | |
7043 | value of 2 then it would get a double share of the space | |
7044 | available after the fixed size items are positioned. | |
7045 | ||
7046 | :param flag: This parameter can be used to set a number of flags | |
7047 | which can be combined using the binary OR operator ``|``. Two | |
7048 | main behaviours are defined using these flags. One is the | |
7049 | border around a window: the *border* parameter determines the | |
7050 | border width whereas the flags given here determine which | |
7051 | side(s) of the item that the border will be added. The other | |
7052 | flags determine how the sizer item behaves when the space | |
7053 | allotted to the sizer changes, and is somewhat dependent on | |
7054 | the specific kind of sizer used. | |
7055 | ||
7056 | +----------------------------+------------------------------------------+ | |
7057 | |- wx.TOP |These flags are used to specify | | |
7058 | |- wx.BOTTOM |which side(s) of the sizer item that | | |
7059 | |- wx.LEFT |the *border* width will apply to. | | |
7060 | |- wx.RIGHT | | | |
7061 | |- wx.ALL | | | |
7062 | | | | | |
7063 | +----------------------------+------------------------------------------+ | |
7064 | |- wx.EXAPAND |The item will be expanded to fill | | |
7065 | | |the space allotted to the item. | | |
7066 | +----------------------------+------------------------------------------+ | |
7067 | |- wx.SHAPED |The item will be expanded as much as | | |
7068 | | |possible while also maintaining its | | |
7069 | | |aspect ratio | | |
7070 | +----------------------------+------------------------------------------+ | |
7071 | |- wx.FIXED_MINSIZE |Normally wx.Sizers will use | | |
7072 | | |`wx.Window.GetMinSize` or | | |
7073 | | |`wx.Window.GetBestSize` to determine what | | |
7074 | | |the minimal size of window items should | | |
7075 | | |be, and will use that size to calculate | | |
7076 | | |the layout. This allows layouts to adjust | | |
7077 | | |when an item changes and it's best size | | |
7078 | | |becomes different. If you would rather | | |
7079 | | |have a window item stay the size it | | |
7080 | | |started with then use wx.FIXED_MINSIZE. | | |
7081 | +----------------------------+------------------------------------------+ | |
7082 | |- wx.ALIGN_CENTER |The wx.ALIGN flags allow you to specify | | |
7083 | |- wx.ALIGN_LEFT |the alignment of the item within the space| | |
7084 | |- wx.ALIGN_RIGHT |allotted to it by the sizer, ajusted for | | |
7085 | |- wx.ALIGN_TOP |the border if any. | | |
7086 | |- wx.ALIGN_BOTTOM | | | |
7087 | |- wx.ALIGN_CENTER_VERTICAL | | | |
7088 | |- wx.ALIGN_CENTER_HORIZONTAL| | | |
7089 | +----------------------------+------------------------------------------+ | |
7090 | ||
7091 | ||
7092 | :param border: Determines the border width, if the *flag* | |
7093 | parameter is set to include any border flag. | |
7094 | ||
7095 | :param userData: Allows an extra object to be attached to the | |
7096 | sizer item, for use in derived classes when sizing information | |
7097 | is more complex than the *proportion* and *flag* will allow for. | |
7098 | </docstring> | |
f32fc4bc RD |
7099 | <paramlist> |
7100 | <param name="item" type="PyObject" default=""/> | |
7101 | <param name="proportion" type="int" default="0"/> | |
7102 | <param name="flag" type="int" default="0"/> | |
7103 | <param name="border" type="int" default="0"/> | |
7104 | <param name="userData" type="PyObject" default="NULL"/> | |
7105 | </paramlist> | |
7106 | </method> | |
7107 | <method name="Insert" type="" overloaded="no"> | |
781d2982 RD |
7108 | <autodoc>Insert(self, int before, item, int proportion=0, int flag=0, int border=0, |
7109 | PyObject userData=None)</autodoc> | |
7110 | <docstring>Inserts a new item into the list of items managed by this sizer before | |
7111 | the item at index *before*. See `Add` for a description of the parameters.</docstring> | |
f32fc4bc RD |
7112 | <paramlist> |
7113 | <param name="before" type="int" default=""/> | |
7114 | <param name="item" type="PyObject" default=""/> | |
7115 | <param name="proportion" type="int" default="0"/> | |
7116 | <param name="flag" type="int" default="0"/> | |
7117 | <param name="border" type="int" default="0"/> | |
7118 | <param name="userData" type="PyObject" default="NULL"/> | |
7119 | </paramlist> | |
7120 | </method> | |
7121 | <method name="Prepend" type="" overloaded="no"> | |
781d2982 | 7122 | <autodoc>Prepend(self, item, int proportion=0, int flag=0, int border=0, |
0f43fbdf | 7123 | PyObject userData=None)</autodoc> |
781d2982 RD |
7124 | <docstring>Adds a new item to the begining of the list of sizer items managed by |
7125 | this sizer. See `Add` for a description of the parameters.</docstring> | |
f32fc4bc RD |
7126 | <paramlist> |
7127 | <param name="item" type="PyObject" default=""/> | |
7128 | <param name="proportion" type="int" default="0"/> | |
7129 | <param name="flag" type="int" default="0"/> | |
7130 | <param name="border" type="int" default="0"/> | |
7131 | <param name="userData" type="PyObject" default="NULL"/> | |
7132 | </paramlist> | |
7133 | </method> | |
7134 | <method name="Remove" type="bool" overloaded="no"> | |
781d2982 RD |
7135 | <autodoc>Remove(self, item) -> bool</autodoc> |
7136 | <docstring>Removes an item from the sizer and destroys it. This method does not | |
7137 | cause any layout or resizing to take place, call `Layout` to update | |
7138 | the layout on screen after removing a child from the sizer. The | |
7139 | *item* parameter can be either a window, a sizer, or the zero-based | |
7140 | index of an item to remove. Returns True if the child item was found | |
ce6878e6 RD |
7141 | and removed. |
7142 | ||
7143 | :note: For historical reasons calling this method with a `wx.Window` | |
7144 | parameter is depreacted, as it will not be able to destroy the | |
7145 | window since it is owned by its parent. You should use `Detach` | |
7146 | instead. | |
7147 | </docstring> | |
781d2982 RD |
7148 | <paramlist> |
7149 | <param name="item" type="PyObject" default=""/> | |
7150 | </paramlist> | |
7151 | </method> | |
7152 | <method name="Detach" type="bool" overloaded="no"> | |
7153 | <autodoc>Detach(self, item) -> bool</autodoc> | |
7154 | <docstring>Detaches an item from the sizer without destroying it. This method | |
7155 | does not cause any layout or resizing to take place, call `Layout` to | |
7156 | do so. The *item* parameter can be either a window, a sizer, or the | |
7157 | zero-based index of the item to be detached. Returns True if the child item | |
7158 | was found and detached.</docstring> | |
f32fc4bc RD |
7159 | <paramlist> |
7160 | <param name="item" type="PyObject" default=""/> | |
7161 | </paramlist> | |
7162 | </method> | |
7163 | <method name="_SetItemMinSize" type="" overloaded="no"> | |
781d2982 | 7164 | <autodoc>_SetItemMinSize(self, PyObject item, Size size)</autodoc> |
f32fc4bc RD |
7165 | <paramlist> |
7166 | <param name="item" type="PyObject" default=""/> | |
7167 | <param name="size" type="Size" default=""/> | |
7168 | </paramlist> | |
7169 | </method> | |
7170 | <method name="AddItem" type="" overloaded="no"> | |
781d2982 RD |
7171 | <autodoc>AddItem(self, SizerItem item)</autodoc> |
7172 | <docstring>Adds a `wx.SizerItem` to the sizer.</docstring> | |
f32fc4bc RD |
7173 | <paramlist> |
7174 | <param name="item" type="SizerItem" default=""/> | |
7175 | </paramlist> | |
7176 | </method> | |
7177 | <method name="InsertItem" type="" overloaded="no"> | |
781d2982 RD |
7178 | <autodoc>InsertItem(self, int index, SizerItem item)</autodoc> |
7179 | <docstring>Inserts a `wx.SizerItem` to the sizer at the position given by *index*.</docstring> | |
f32fc4bc RD |
7180 | <paramlist> |
7181 | <param name="index" type="size_t" default=""/> | |
7182 | <param name="item" type="SizerItem" default=""/> | |
7183 | </paramlist> | |
7184 | </method> | |
7185 | <method name="PrependItem" type="" overloaded="no"> | |
781d2982 RD |
7186 | <autodoc>PrependItem(self, SizerItem item)</autodoc> |
7187 | <docstring>Prepends a `wx.SizerItem` to the sizer.</docstring> | |
f32fc4bc RD |
7188 | <paramlist> |
7189 | <param name="item" type="SizerItem" default=""/> | |
7190 | </paramlist> | |
7191 | </method> | |
7192 | <method name="SetDimension" type="" overloaded="no"> | |
781d2982 RD |
7193 | <autodoc>SetDimension(self, int x, int y, int width, int height)</autodoc> |
7194 | <docstring>Call this to force the sizer to take the given dimension and thus | |
7195 | force the items owned by the sizer to resize themselves according to | |
7196 | the rules defined by the parameter in the `Add`, `Insert` or `Prepend` | |
7197 | methods.</docstring> | |
f32fc4bc RD |
7198 | <paramlist> |
7199 | <param name="x" type="int" default=""/> | |
7200 | <param name="y" type="int" default=""/> | |
7201 | <param name="width" type="int" default=""/> | |
7202 | <param name="height" type="int" default=""/> | |
7203 | </paramlist> | |
7204 | </method> | |
7205 | <method name="SetMinSize" type="" overloaded="no"> | |
781d2982 RD |
7206 | <autodoc>SetMinSize(self, Size size)</autodoc> |
7207 | <docstring>Call this to give the sizer a minimal size. Normally, the sizer will | |
7208 | calculate its minimal size based purely on how much space its children | |
7209 | need. After calling this method `GetMinSize` will return either the | |
7210 | minimal size as requested by its children or the minimal size set | |
7211 | here, depending on which is bigger.</docstring> | |
f32fc4bc RD |
7212 | <paramlist> |
7213 | <param name="size" type="Size" default=""/> | |
7214 | </paramlist> | |
7215 | </method> | |
7216 | <method name="GetSize" type="Size" overloaded="no"> | |
781d2982 RD |
7217 | <autodoc>GetSize(self) -> Size</autodoc> |
7218 | <docstring>Returns the current size of the space managed by the sizer.</docstring> | |
f32fc4bc RD |
7219 | </method> |
7220 | <method name="GetPosition" type="Point" overloaded="no"> | |
781d2982 RD |
7221 | <autodoc>GetPosition(self) -> Point</autodoc> |
7222 | <docstring>Returns the current position of the sizer's managed space.</docstring> | |
f32fc4bc RD |
7223 | </method> |
7224 | <method name="GetMinSize" type="Size" overloaded="no"> | |
781d2982 RD |
7225 | <autodoc>GetMinSize(self) -> Size</autodoc> |
7226 | <docstring>Returns the minimal size of the sizer. This is either the combined | |
7227 | minimal size of all the children and their borders or the minimal size | |
7228 | set by SetMinSize, depending on which is bigger.</docstring> | |
f32fc4bc RD |
7229 | </method> |
7230 | <method name="RecalcSizes" type="" overloaded="no"> | |
781d2982 RD |
7231 | <autodoc>RecalcSizes(self)</autodoc> |
7232 | <docstring>Using the sizes calculated by `CalcMin` reposition and resize all the | |
7233 | items managed by this sizer. You should not need to call this directly as | |
7234 | it is called by `Layout`.</docstring> | |
f32fc4bc RD |
7235 | </method> |
7236 | <method name="CalcMin" type="Size" overloaded="no"> | |
781d2982 RD |
7237 | <autodoc>CalcMin(self) -> Size</autodoc> |
7238 | <docstring>This method is where the sizer will do the actual calculation of its | |
7239 | children's minimal sizes. You should not need to call this directly as | |
7240 | it is called by `Layout`.</docstring> | |
f32fc4bc RD |
7241 | </method> |
7242 | <method name="Layout" type="" overloaded="no"> | |
781d2982 RD |
7243 | <autodoc>Layout(self)</autodoc> |
7244 | <docstring>This method will force the recalculation and layout of the items | |
7245 | controlled by the sizer using the current space allocated to the | |
7246 | sizer. Normally this is called automatically from the owning window's | |
7247 | EVT_SIZE handler, but it is also useful to call it from user code when | |
7248 | one of the items in a sizer change size, or items are added or | |
7249 | removed.</docstring> | |
f32fc4bc RD |
7250 | </method> |
7251 | <method name="Fit" type="Size" overloaded="no"> | |
781d2982 RD |
7252 | <autodoc>Fit(self, Window window) -> Size</autodoc> |
7253 | <docstring>Tell the sizer to resize the *window* to match the sizer's minimal | |
7254 | size. This is commonly done in the constructor of the window itself in | |
7255 | order to set its initial size to match the needs of the children as | |
7256 | determined by the sizer. Returns the new size. | |
7257 | ||
7258 | For a top level window this is the total window size, not the client size.</docstring> | |
f32fc4bc RD |
7259 | <paramlist> |
7260 | <param name="window" type="Window" default=""/> | |
7261 | </paramlist> | |
7262 | </method> | |
7263 | <method name="FitInside" type="" overloaded="no"> | |
781d2982 RD |
7264 | <autodoc>FitInside(self, Window window)</autodoc> |
7265 | <docstring>Tell the sizer to resize the *virtual size* of the *window* to match the | |
7266 | sizer's minimal size. This will not alter the on screen size of the | |
7267 | window, but may cause the addition/removal/alteration of scrollbars | |
7268 | required to view the virtual area in windows which manage it. | |
7269 | ||
7270 | :see: `wx.ScrolledWindow.SetScrollbars`, `SetVirtualSizeHints` | |
7271 | </docstring> | |
f32fc4bc RD |
7272 | <paramlist> |
7273 | <param name="window" type="Window" default=""/> | |
7274 | </paramlist> | |
7275 | </method> | |
7276 | <method name="SetSizeHints" type="" overloaded="no"> | |
781d2982 RD |
7277 | <autodoc>SetSizeHints(self, Window window)</autodoc> |
7278 | <docstring>Tell the sizer to set (and `Fit`) the minimal size of the *window* to | |
7279 | match the sizer's minimal size. This is commonly done in the | |
7280 | constructor of the window itself if the window is resizable (as are | |
7281 | many dialogs under Unix and frames on probably all platforms) in order | |
7282 | to prevent the window from being sized smaller than the minimal size | |
7283 | required by the sizer.</docstring> | |
f32fc4bc RD |
7284 | <paramlist> |
7285 | <param name="window" type="Window" default=""/> | |
7286 | </paramlist> | |
7287 | </method> | |
7288 | <method name="SetVirtualSizeHints" type="" overloaded="no"> | |
781d2982 RD |
7289 | <autodoc>SetVirtualSizeHints(self, Window window)</autodoc> |
7290 | <docstring>Tell the sizer to set the minimal size of the window virtual area to | |
7291 | match the sizer's minimal size. For windows with managed scrollbars | |
7292 | this will set them appropriately. | |
7293 | ||
7294 | :see: `wx.ScrolledWindow.SetScrollbars` | |
7295 | </docstring> | |
f32fc4bc RD |
7296 | <paramlist> |
7297 | <param name="window" type="Window" default=""/> | |
7298 | </paramlist> | |
7299 | </method> | |
7300 | <method name="Clear" type="" overloaded="no"> | |
781d2982 RD |
7301 | <autodoc>Clear(self, bool deleteWindows=False)</autodoc> |
7302 | <docstring>Clear all items from the sizer, optionally destroying the window items | |
7303 | as well.</docstring> | |
f32fc4bc | 7304 | <paramlist> |
781d2982 | 7305 | <param name="deleteWindows" type="bool" default="False"/> |
f32fc4bc RD |
7306 | </paramlist> |
7307 | </method> | |
7308 | <method name="DeleteWindows" type="" overloaded="no"> | |
781d2982 RD |
7309 | <autodoc>DeleteWindows(self)</autodoc> |
7310 | <docstring>Destroy all windows managed by the sizer.</docstring> | |
f32fc4bc RD |
7311 | </method> |
7312 | <method name="GetChildren" type="PyObject" overloaded="no"> | |
781d2982 RD |
7313 | <autodoc>GetChildren(sefl) -> list</autodoc> |
7314 | <docstring>Returns a list of all the `wx.SizerItem` objects managed by the sizer.</docstring> | |
f32fc4bc RD |
7315 | </method> |
7316 | <method name="Show" type="" overloaded="no"> | |
781d2982 RD |
7317 | <autodoc>Show(self, item, bool show=True)</autodoc> |
7318 | <docstring>Shows or hides an item managed by the sizer. To make a sizer item | |
7319 | disappear or reappear, use Show followed by `Layout`. The *item* | |
7320 | parameter can be either a window, a sizer, or the zero-based index of | |
7321 | the item.</docstring> | |
f32fc4bc RD |
7322 | <paramlist> |
7323 | <param name="item" type="PyObject" default=""/> | |
7324 | <param name="show" type="bool" default="True"/> | |
7325 | </paramlist> | |
7326 | </method> | |
f32fc4bc | 7327 | <method name="IsShown" type="bool" overloaded="no"> |
781d2982 RD |
7328 | <autodoc>IsShown(self, item)</autodoc> |
7329 | <docstring>Determines if the item is currently shown. sizer. To make a sizer | |
7330 | item disappear or reappear, use Show followed by `Layout`. The *item* | |
7331 | parameter can be either a window, a sizer, or the zero-based index of | |
7332 | the item.</docstring> | |
f32fc4bc RD |
7333 | <paramlist> |
7334 | <param name="item" type="PyObject" default=""/> | |
7335 | </paramlist> | |
7336 | </method> | |
7337 | <method name="ShowItems" type="" overloaded="no"> | |
781d2982 RD |
7338 | <autodoc>ShowItems(self, bool show)</autodoc> |
7339 | <docstring>Recursively call `wx.Window.Show` on all sizer items.</docstring> | |
f32fc4bc RD |
7340 | <paramlist> |
7341 | <param name="show" type="bool" default=""/> | |
7342 | </paramlist> | |
7343 | </method> | |
7344 | </class> | |
781d2982 RD |
7345 | <class name="PySizer" oldname="wxPySizer" module="_core"> |
7346 | <docstring>wx.PySizer is a special version of `wx.Sizer` that has been | |
7347 | instrumented to allow the C++ virtual methods to be overloaded in | |
7348 | Python derived classes. You would derive from this class if you are | |
7349 | wanting to implement a custom sizer in Python code. Simply implement | |
7350 | `CalcMin` and `RecalcSizes` in the derived class and you're all set. | |
7351 | For example:: | |
7352 | ||
7353 | class MySizer(wx.PySizer): | |
7354 | def __init__(self): | |
7355 | wx.PySizer.__init__(self) | |
7356 | ||
7357 | def CalcMin(self): | |
7358 | for item in self.GetChildren(): | |
7359 | # calculate the total minimum width and height needed | |
7360 | # by all items in the sizer according to this sizer's | |
7361 | # layout algorithm. | |
7362 | ... | |
7363 | return wx.Size(width, height) | |
7364 | ||
7365 | def RecalcSizes(self): | |
7366 | # find the space allotted to this sizer | |
7367 | pos = self.GetPosition() | |
7368 | size = self.GetSize() | |
7369 | for item in self.GetChildren(): | |
7370 | # Recalculate (if necessary) the position and size of | |
7371 | # each item and then call item.SetDimension to do the | |
7372 | # actual positioning and sizing of the items within the | |
7373 | # space alloted to this sizer. | |
7374 | ... | |
7375 | item.SetDimension(itemPos, itemSize) | |
7376 | ||
7377 | ||
7378 | When `Layout` is called it first calls `CalcMin` followed by | |
7379 | `RecalcSizes` so you can optimize a bit by saving the results of | |
7380 | `CalcMin` and resuing them in `RecalcSizes`. | |
7381 | ||
7382 | :see: `wx.SizerItem`, `wx.Sizer.GetChildren` | |
7383 | ||
7384 | </docstring> | |
f32fc4bc RD |
7385 | <baseclass name="Sizer"/> |
7386 | <constructor name="PySizer" overloaded="no"> | |
781d2982 RD |
7387 | <autodoc>__init__(self) -> PySizer</autodoc> |
7388 | <docstring>Creates a wx.PySizer. Must be called from the __init__ in the derived | |
7389 | class.</docstring> | |
f32fc4bc RD |
7390 | </constructor> |
7391 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 7392 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
7393 | <paramlist> |
7394 | <param name="self" type="PyObject" default=""/> | |
7395 | <param name="_class" type="PyObject" default=""/> | |
7396 | </paramlist> | |
7397 | </method> | |
7398 | </class> | |
0dd25e81 | 7399 | <pythoncode> |
0f43fbdf RD |
7400 | #--------------------------------------------------------------------------- |
7401 | </pythoncode> | |
781d2982 RD |
7402 | <class name="BoxSizer" oldname="wxBoxSizer" module="_core"> |
7403 | <docstring>The basic idea behind a box sizer is that windows will most often be | |
7404 | laid out in rather simple basic geometry, typically in a row or a | |
7405 | column or nested hierarchies of either. A wx.BoxSizer will lay out | |
7406 | its items in a simple row or column, depending on the orientation | |
ce6878e6 RD |
7407 | parameter passed to the constructor. |
7408 | ||
7409 | It is the unique feature of a box sizer, that it can grow in both | |
7410 | directions (height and width) but can distribute its growth in the | |
7411 | main direction (horizontal for a row) *unevenly* among its children. | |
7412 | This is determined by the proportion parameter give to items when they | |
7413 | are added to the sizer. It is interpreted as a weight factor, i.e. it | |
7414 | can be zero, indicating that the window may not be resized at all, or | |
7415 | above zero. If several windows have a value above zero, the value is | |
7416 | interpreted relative to the sum of all weight factors of the sizer, so | |
7417 | when adding two windows with a value of 1, they will both get resized | |
7418 | equally and each will receive half of the available space after the | |
7419 | fixed size items have been sized. If the items have unequal | |
7420 | proportion settings then they will receive a coresondingly unequal | |
7421 | allotment of the free space. | |
7422 | ||
7423 | :see: `wx.StaticBoxSizer` | |
7424 | </docstring> | |
f32fc4bc RD |
7425 | <baseclass name="Sizer"/> |
7426 | <constructor name="BoxSizer" overloaded="no"> | |
781d2982 RD |
7427 | <autodoc>__init__(self, int orient=HORIZONTAL) -> BoxSizer</autodoc> |
7428 | <docstring>Constructor for a wx.BoxSizer. *orient* may be one of ``wx.VERTICAL`` | |
7429 | or ``wx.HORIZONTAL`` for creating either a column sizer or a row | |
7430 | sizer.</docstring> | |
f32fc4bc RD |
7431 | <paramlist> |
7432 | <param name="orient" type="int" default="wxHORIZONTAL"/> | |
7433 | </paramlist> | |
7434 | </constructor> | |
7435 | <method name="GetOrientation" type="int" overloaded="no"> | |
781d2982 RD |
7436 | <autodoc>GetOrientation(self) -> int</autodoc> |
7437 | <docstring>Returns the current orientation of the sizer.</docstring> | |
f32fc4bc RD |
7438 | </method> |
7439 | <method name="SetOrientation" type="" overloaded="no"> | |
781d2982 RD |
7440 | <autodoc>SetOrientation(self, int orient)</autodoc> |
7441 | <docstring>Resets the orientation of the sizer.</docstring> | |
f32fc4bc RD |
7442 | <paramlist> |
7443 | <param name="orient" type="int" default=""/> | |
7444 | </paramlist> | |
7445 | </method> | |
f32fc4bc RD |
7446 | </class> |
7447 | <pythoncode> | |
0f43fbdf RD |
7448 | #--------------------------------------------------------------------------- |
7449 | </pythoncode> | |
781d2982 RD |
7450 | <class name="StaticBoxSizer" oldname="wxStaticBoxSizer" module="_core"> |
7451 | <docstring>wx.StaticBoxSizer derives from and functions identically to the | |
7452 | `wx.BoxSizer` and adds a `wx.StaticBox` around the items that the sizer | |
7453 | manages. Note that this static box must be created separately and | |
7454 | passed to the sizer constructor.</docstring> | |
f32fc4bc RD |
7455 | <baseclass name="BoxSizer"/> |
7456 | <constructor name="StaticBoxSizer" overloaded="no"> | |
781d2982 RD |
7457 | <autodoc>__init__(self, StaticBox box, int orient=HORIZONTAL) -> StaticBoxSizer</autodoc> |
7458 | <docstring>Constructor. It takes an associated static box and the orientation | |
7459 | *orient* as parameters - orient can be either of ``wx.VERTICAL`` or | |
7460 | ``wx.HORIZONTAL``.</docstring> | |
f32fc4bc RD |
7461 | <paramlist> |
7462 | <param name="box" type="wxStaticBox" default=""/> | |
7463 | <param name="orient" type="int" default="wxHORIZONTAL"/> | |
7464 | </paramlist> | |
7465 | </constructor> | |
7466 | <method name="GetStaticBox" type="wxStaticBox" overloaded="no"> | |
781d2982 RD |
7467 | <autodoc>GetStaticBox(self) -> StaticBox</autodoc> |
7468 | <docstring>Returns the static box associated with this sizer.</docstring> | |
f32fc4bc RD |
7469 | </method> |
7470 | </class> | |
7471 | <pythoncode> | |
0f43fbdf RD |
7472 | #--------------------------------------------------------------------------- |
7473 | </pythoncode> | |
781d2982 RD |
7474 | <class name="GridSizer" oldname="wxGridSizer" module="_core"> |
7475 | <docstring>A grid sizer is a sizer which lays out its children in a | |
7476 | two-dimensional table with all cells having the same size. In other | |
7477 | words, the width of each cell within the grid is the width of the | |
7478 | widest item added to the sizer and the height of each grid cell is the | |
7479 | height of the tallest item. An optional vertical and/or horizontal | |
7480 | gap between items can also be specified (in pixels.) | |
7481 | ||
7482 | Items are placed in the cells of the grid in the order they are added, | |
7483 | in row-major order. In other words, the first row is filled first, | |
7484 | then the second, and so on until all items have been added. (If | |
7485 | neccessary, additional rows will be added as items are added.) If you | |
7486 | need to have greater control over the cells that items are placed in | |
7487 | then use the `wx.GridBagSizer`. | |
7488 | </docstring> | |
f32fc4bc RD |
7489 | <baseclass name="Sizer"/> |
7490 | <constructor name="GridSizer" overloaded="no"> | |
781d2982 RD |
7491 | <autodoc>__init__(self, int rows=1, int cols=0, int vgap=0, int hgap=0) -> GridSizer</autodoc> |
7492 | <docstring>Constructor for a wx.GridSizer. *rows* and *cols* determine the number | |
7493 | of columns and rows in the sizer - if either of the parameters is | |
7494 | zero, it will be calculated to from the total number of children in | |
7495 | the sizer, thus making the sizer grow dynamically. *vgap* and *hgap* | |
7496 | define extra space between all children.</docstring> | |
f32fc4bc RD |
7497 | <paramlist> |
7498 | <param name="rows" type="int" default="1"/> | |
7499 | <param name="cols" type="int" default="0"/> | |
7500 | <param name="vgap" type="int" default="0"/> | |
7501 | <param name="hgap" type="int" default="0"/> | |
7502 | </paramlist> | |
7503 | </constructor> | |
f32fc4bc | 7504 | <method name="SetCols" type="" overloaded="no"> |
781d2982 RD |
7505 | <autodoc>SetCols(self, int cols)</autodoc> |
7506 | <docstring>Sets the number of columns in the sizer.</docstring> | |
f32fc4bc RD |
7507 | <paramlist> |
7508 | <param name="cols" type="int" default=""/> | |
7509 | </paramlist> | |
7510 | </method> | |
7511 | <method name="SetRows" type="" overloaded="no"> | |
781d2982 RD |
7512 | <autodoc>SetRows(self, int rows)</autodoc> |
7513 | <docstring>Sets the number of rows in the sizer.</docstring> | |
f32fc4bc RD |
7514 | <paramlist> |
7515 | <param name="rows" type="int" default=""/> | |
7516 | </paramlist> | |
7517 | </method> | |
7518 | <method name="SetVGap" type="" overloaded="no"> | |
781d2982 RD |
7519 | <autodoc>SetVGap(self, int gap)</autodoc> |
7520 | <docstring>Sets the vertical gap (in pixels) between the cells in the sizer.</docstring> | |
f32fc4bc RD |
7521 | <paramlist> |
7522 | <param name="gap" type="int" default=""/> | |
7523 | </paramlist> | |
7524 | </method> | |
7525 | <method name="SetHGap" type="" overloaded="no"> | |
781d2982 RD |
7526 | <autodoc>SetHGap(self, int gap)</autodoc> |
7527 | <docstring>Sets the horizontal gap (in pixels) between cells in the sizer</docstring> | |
f32fc4bc RD |
7528 | <paramlist> |
7529 | <param name="gap" type="int" default=""/> | |
7530 | </paramlist> | |
7531 | </method> | |
7532 | <method name="GetCols" type="int" overloaded="no"> | |
781d2982 RD |
7533 | <autodoc>GetCols(self) -> int</autodoc> |
7534 | <docstring>Returns the number of columns in the sizer.</docstring> | |
f32fc4bc RD |
7535 | </method> |
7536 | <method name="GetRows" type="int" overloaded="no"> | |
781d2982 RD |
7537 | <autodoc>GetRows(self) -> int</autodoc> |
7538 | <docstring>Returns the number of rows in the sizer.</docstring> | |
f32fc4bc RD |
7539 | </method> |
7540 | <method name="GetVGap" type="int" overloaded="no"> | |
781d2982 RD |
7541 | <autodoc>GetVGap(self) -> int</autodoc> |
7542 | <docstring>Returns the vertical gap (in pixels) between the cells in the sizer.</docstring> | |
f32fc4bc RD |
7543 | </method> |
7544 | <method name="GetHGap" type="int" overloaded="no"> | |
781d2982 RD |
7545 | <autodoc>GetHGap(self) -> int</autodoc> |
7546 | <docstring>Returns the horizontal gap (in pixels) between cells in the sizer.</docstring> | |
f32fc4bc RD |
7547 | </method> |
7548 | </class> | |
7549 | <pythoncode> | |
0f43fbdf RD |
7550 | #--------------------------------------------------------------------------- |
7551 | </pythoncode> | |
781d2982 RD |
7552 | <class name="FlexGridSizer" oldname="wxFlexGridSizer" module="_core"> |
7553 | <docstring>A flex grid sizer is a sizer which lays out its children in a | |
7554 | two-dimensional table with all table cells in one row having the same | |
7555 | height and all cells in one column having the same width, but all | |
7556 | rows or all columns are not necessarily the same height or width as in | |
7557 | the `wx.GridSizer`. | |
7558 | ||
7559 | wx.FlexGridSizer can also size items equally in one direction but | |
7560 | unequally ("flexibly") in the other. If the sizer is only flexible | |
7561 | in one direction (this can be changed using `SetFlexibleDirection`), it | |
7562 | needs to be decided how the sizer should grow in the other ("non | |
7563 | flexible") direction in order to fill the available space. The | |
7564 | `SetNonFlexibleGrowMode` method serves this purpose. | |
7565 | ||
7566 | </docstring> | |
f32fc4bc RD |
7567 | <baseclass name="GridSizer"/> |
7568 | <constructor name="FlexGridSizer" overloaded="no"> | |
781d2982 RD |
7569 | <autodoc>__init__(self, int rows=1, int cols=0, int vgap=0, int hgap=0) -> FlexGridSizer</autodoc> |
7570 | <docstring>Constructor for a wx.FlexGridSizer. *rows* and *cols* determine the | |
7571 | number of columns and rows in the sizer - if either of the parameters | |
7572 | is zero, it will be calculated to from the total number of children in | |
7573 | the sizer, thus making the sizer grow dynamically. *vgap* and *hgap* | |
7574 | define extra space between all children.</docstring> | |
f32fc4bc RD |
7575 | <paramlist> |
7576 | <param name="rows" type="int" default="1"/> | |
7577 | <param name="cols" type="int" default="0"/> | |
7578 | <param name="vgap" type="int" default="0"/> | |
7579 | <param name="hgap" type="int" default="0"/> | |
7580 | </paramlist> | |
7581 | </constructor> | |
f32fc4bc | 7582 | <method name="AddGrowableRow" type="" overloaded="no"> |
781d2982 RD |
7583 | <autodoc>AddGrowableRow(self, size_t idx, int proportion=0)</autodoc> |
7584 | <docstring>Specifies that row *idx* (starting from zero) should be grown if there | |
7585 | is extra space available to the sizer. | |
7586 | ||
7587 | The *proportion* parameter has the same meaning as the stretch factor | |
7588 | for the box sizers except that if all proportions are 0, then all | |
7589 | columns are resized equally (instead of not being resized at all).</docstring> | |
f32fc4bc RD |
7590 | <paramlist> |
7591 | <param name="idx" type="size_t" default=""/> | |
7592 | <param name="proportion" type="int" default="0"/> | |
7593 | </paramlist> | |
7594 | </method> | |
7595 | <method name="RemoveGrowableRow" type="" overloaded="no"> | |
781d2982 RD |
7596 | <autodoc>RemoveGrowableRow(self, size_t idx)</autodoc> |
7597 | <docstring>Specifies that row *idx* is no longer growable.</docstring> | |
f32fc4bc RD |
7598 | <paramlist> |
7599 | <param name="idx" type="size_t" default=""/> | |
7600 | </paramlist> | |
7601 | </method> | |
7602 | <method name="AddGrowableCol" type="" overloaded="no"> | |
781d2982 RD |
7603 | <autodoc>AddGrowableCol(self, size_t idx, int proportion=0)</autodoc> |
7604 | <docstring>Specifies that column *idx* (starting from zero) should be grown if | |
7605 | there is extra space available to the sizer. | |
7606 | ||
7607 | The *proportion* parameter has the same meaning as the stretch factor | |
7608 | for the box sizers except that if all proportions are 0, then all | |
7609 | columns are resized equally (instead of not being resized at all).</docstring> | |
f32fc4bc RD |
7610 | <paramlist> |
7611 | <param name="idx" type="size_t" default=""/> | |
7612 | <param name="proportion" type="int" default="0"/> | |
7613 | </paramlist> | |
7614 | </method> | |
7615 | <method name="RemoveGrowableCol" type="" overloaded="no"> | |
781d2982 RD |
7616 | <autodoc>RemoveGrowableCol(self, size_t idx)</autodoc> |
7617 | <docstring>Specifies that column *idx* is no longer growable.</docstring> | |
f32fc4bc RD |
7618 | <paramlist> |
7619 | <param name="idx" type="size_t" default=""/> | |
7620 | </paramlist> | |
7621 | </method> | |
7622 | <method name="SetFlexibleDirection" type="" overloaded="no"> | |
781d2982 RD |
7623 | <autodoc>SetFlexibleDirection(self, int direction)</autodoc> |
7624 | <docstring>Specifies whether the sizer should flexibly resize its columns, rows, | |
7625 | or both. Argument *direction* can be one of the following values. Any | |
7626 | other value is ignored. | |
7627 | ||
7628 | ============== ======================================= | |
7629 | wx.VERTICAL Rows are flexibly sized. | |
7630 | wx.HORIZONTAL Columns are flexibly sized. | |
7631 | wx.BOTH Both rows and columns are flexibly sized | |
7632 | (this is the default value). | |
7633 | ============== ======================================= | |
7634 | ||
7635 | Note that this method does not trigger relayout. | |
7636 | </docstring> | |
f32fc4bc RD |
7637 | <paramlist> |
7638 | <param name="direction" type="int" default=""/> | |
7639 | </paramlist> | |
7640 | </method> | |
7641 | <method name="GetFlexibleDirection" type="int" overloaded="no"> | |
781d2982 RD |
7642 | <autodoc>GetFlexibleDirection(self) -> int</autodoc> |
7643 | <docstring>Returns a value that specifies whether the sizer | |
7644 | flexibly resizes its columns, rows, or both (default). | |
7645 | ||
7646 | :see: `SetFlexibleDirection`</docstring> | |
f32fc4bc RD |
7647 | </method> |
7648 | <method name="SetNonFlexibleGrowMode" type="" overloaded="no"> | |
781d2982 RD |
7649 | <autodoc>SetNonFlexibleGrowMode(self, int mode)</autodoc> |
7650 | <docstring>Specifies how the sizer should grow in the non-flexible direction if | |
7651 | there is one (so `SetFlexibleDirection` must have been called | |
7652 | previously). Argument *mode* can be one of the following values: | |
7653 | ||
7654 | ========================== ================================================= | |
7655 | wx.FLEX_GROWMODE_NONE Sizer doesn't grow in the non flexible direction. | |
7656 | wx.FLEX_GROWMODE_SPECIFIED Sizer honors growable columns/rows set with | |
7657 | `AddGrowableCol` and `AddGrowableRow`. In this | |
7658 | case equal sizing applies to minimum sizes of | |
7659 | columns or rows (this is the default value). | |
7660 | wx.FLEX_GROWMODE_ALL Sizer equally stretches all columns or rows in | |
7661 | the non flexible direction, whether they are | |
7662 | growable or not in the flexbile direction. | |
7663 | ========================== ================================================= | |
7664 | ||
7665 | Note that this method does not trigger relayout. | |
7666 | ||
7667 | </docstring> | |
f32fc4bc RD |
7668 | <paramlist> |
7669 | <param name="mode" type="wxFlexSizerGrowMode" default=""/> | |
7670 | </paramlist> | |
7671 | </method> | |
7672 | <method name="GetNonFlexibleGrowMode" type="wxFlexSizerGrowMode" overloaded="no"> | |
781d2982 RD |
7673 | <autodoc>GetNonFlexibleGrowMode(self) -> int</autodoc> |
7674 | <docstring>Returns the value that specifies how the sizer grows in the | |
7675 | non-flexible direction if there is one. | |
7676 | ||
7677 | :see: `SetNonFlexibleGrowMode`</docstring> | |
f32fc4bc RD |
7678 | </method> |
7679 | <method name="GetRowHeights" type="wxArrayInt" overloaded="no"> | |
781d2982 | 7680 | <autodoc>GetRowHeights(self) -> list</autodoc> |
ce6878e6 RD |
7681 | <docstring>Returns a list of integers representing the heights of each of the |
7682 | rows in the sizer.</docstring> | |
f32fc4bc RD |
7683 | </method> |
7684 | <method name="GetColWidths" type="wxArrayInt" overloaded="no"> | |
781d2982 | 7685 | <autodoc>GetColWidths(self) -> list</autodoc> |
ce6878e6 RD |
7686 | <docstring>Returns a list of integers representing the widths of each of the |
7687 | columns in the sizer.</docstring> | |
f32fc4bc RD |
7688 | </method> |
7689 | </class> | |
7690 | <pythoncode> | |
0f43fbdf RD |
7691 | #--------------------------------------------------------------------------- |
7692 | </pythoncode> | |
781d2982 RD |
7693 | <class name="GBPosition" oldname="wxGBPosition" module="_core"> |
7694 | <docstring>This class represents the position of an item in a virtual grid of | |
7695 | rows and columns managed by a `wx.GridBagSizer`. wxPython has | |
7696 | typemaps that will automatically convert from a 2-element sequence of | |
7697 | integers to a wx.GBPosition, so you can use the more pythonic | |
7698 | representation of the position nearly transparently in Python code.</docstring> | |
f32fc4bc | 7699 | <constructor name="GBPosition" overloaded="no"> |
781d2982 RD |
7700 | <autodoc>__init__(self, int row=0, int col=0) -> GBPosition</autodoc> |
7701 | <docstring>This class represents the position of an item in a virtual grid of | |
7702 | rows and columns managed by a `wx.GridBagSizer`. wxPython has | |
7703 | typemaps that will automatically convert from a 2-element sequence of | |
7704 | integers to a wx.GBPosition, so you can use the more pythonic | |
7705 | representation of the position nearly transparently in Python code.</docstring> | |
f32fc4bc RD |
7706 | <paramlist> |
7707 | <param name="row" type="int" default="0"/> | |
7708 | <param name="col" type="int" default="0"/> | |
7709 | </paramlist> | |
7710 | </constructor> | |
7711 | <method name="GetRow" type="int" overloaded="no"> | |
781d2982 | 7712 | <autodoc>GetRow(self) -> int</autodoc> |
f32fc4bc RD |
7713 | </method> |
7714 | <method name="GetCol" type="int" overloaded="no"> | |
781d2982 | 7715 | <autodoc>GetCol(self) -> int</autodoc> |
f32fc4bc RD |
7716 | </method> |
7717 | <method name="SetRow" type="" overloaded="no"> | |
781d2982 | 7718 | <autodoc>SetRow(self, int row)</autodoc> |
f32fc4bc RD |
7719 | <paramlist> |
7720 | <param name="row" type="int" default=""/> | |
7721 | </paramlist> | |
7722 | </method> | |
7723 | <method name="SetCol" type="" overloaded="no"> | |
781d2982 | 7724 | <autodoc>SetCol(self, int col)</autodoc> |
f32fc4bc RD |
7725 | <paramlist> |
7726 | <param name="col" type="int" default=""/> | |
7727 | </paramlist> | |
7728 | </method> | |
7729 | <method name="__eq__" type="bool" overloaded="no"> | |
781d2982 | 7730 | <autodoc>__eq__(self, GBPosition other) -> bool</autodoc> |
f32fc4bc | 7731 | <paramlist> |
c2dda882 | 7732 | <param name="other" type="GBPosition" default=""/> |
f32fc4bc RD |
7733 | </paramlist> |
7734 | </method> | |
7735 | <method name="__ne__" type="bool" overloaded="no"> | |
781d2982 | 7736 | <autodoc>__ne__(self, GBPosition other) -> bool</autodoc> |
f32fc4bc | 7737 | <paramlist> |
c2dda882 | 7738 | <param name="other" type="GBPosition" default=""/> |
f32fc4bc RD |
7739 | </paramlist> |
7740 | </method> | |
7741 | <method name="Set" type="" overloaded="no"> | |
781d2982 | 7742 | <autodoc>Set(self, int row=0, int col=0)</autodoc> |
f32fc4bc RD |
7743 | <paramlist> |
7744 | <param name="row" type="int" default="0"/> | |
7745 | <param name="col" type="int" default="0"/> | |
7746 | </paramlist> | |
7747 | </method> | |
7748 | <method name="Get" type="PyObject" overloaded="no"> | |
781d2982 | 7749 | <autodoc>Get(self) -> PyObject</autodoc> |
f32fc4bc RD |
7750 | </method> |
7751 | </class> | |
781d2982 RD |
7752 | <class name="GBSpan" oldname="wxGBSpan" module="_core"> |
7753 | <docstring>This class is used to hold the row and column spanning attributes of | |
7754 | items in a `wx.GridBagSizer`. wxPython has typemaps that will | |
7755 | automatically convert from a 2-element sequence of integers to a | |
7756 | wx.GBSpan, so you can use the more pythonic representation of the span | |
7757 | nearly transparently in Python code. | |
7758 | </docstring> | |
f32fc4bc | 7759 | <constructor name="GBSpan" overloaded="no"> |
781d2982 RD |
7760 | <autodoc>__init__(self, int rowspan=1, int colspan=1) -> GBSpan</autodoc> |
7761 | <docstring>Construct a new wxGBSpan, optionally setting the rowspan and | |
7762 | colspan. The default is (1,1). (Meaning that the item occupies one | |
7763 | cell in each direction.</docstring> | |
f32fc4bc RD |
7764 | <paramlist> |
7765 | <param name="rowspan" type="int" default="1"/> | |
7766 | <param name="colspan" type="int" default="1"/> | |
7767 | </paramlist> | |
7768 | </constructor> | |
7769 | <method name="GetRowspan" type="int" overloaded="no"> | |
781d2982 | 7770 | <autodoc>GetRowspan(self) -> int</autodoc> |
f32fc4bc RD |
7771 | </method> |
7772 | <method name="GetColspan" type="int" overloaded="no"> | |
781d2982 | 7773 | <autodoc>GetColspan(self) -> int</autodoc> |
f32fc4bc RD |
7774 | </method> |
7775 | <method name="SetRowspan" type="" overloaded="no"> | |
781d2982 | 7776 | <autodoc>SetRowspan(self, int rowspan)</autodoc> |
f32fc4bc RD |
7777 | <paramlist> |
7778 | <param name="rowspan" type="int" default=""/> | |
7779 | </paramlist> | |
7780 | </method> | |
7781 | <method name="SetColspan" type="" overloaded="no"> | |
781d2982 | 7782 | <autodoc>SetColspan(self, int colspan)</autodoc> |
f32fc4bc RD |
7783 | <paramlist> |
7784 | <param name="colspan" type="int" default=""/> | |
7785 | </paramlist> | |
7786 | </method> | |
7787 | <method name="__eq__" type="bool" overloaded="no"> | |
781d2982 | 7788 | <autodoc>__eq__(self, GBSpan other) -> bool</autodoc> |
f32fc4bc | 7789 | <paramlist> |
c2dda882 | 7790 | <param name="other" type="GBSpan" default=""/> |
f32fc4bc RD |
7791 | </paramlist> |
7792 | </method> | |
7793 | <method name="__ne__" type="bool" overloaded="no"> | |
781d2982 | 7794 | <autodoc>__ne__(self, GBSpan other) -> bool</autodoc> |
f32fc4bc | 7795 | <paramlist> |
c2dda882 | 7796 | <param name="other" type="GBSpan" default=""/> |
f32fc4bc RD |
7797 | </paramlist> |
7798 | </method> | |
7799 | <method name="Set" type="" overloaded="no"> | |
781d2982 | 7800 | <autodoc>Set(self, int rowspan=1, int colspan=1)</autodoc> |
f32fc4bc RD |
7801 | <paramlist> |
7802 | <param name="rowspan" type="int" default="1"/> | |
7803 | <param name="colspan" type="int" default="1"/> | |
7804 | </paramlist> | |
7805 | </method> | |
7806 | <method name="Get" type="PyObject" overloaded="no"> | |
781d2982 | 7807 | <autodoc>Get(self) -> PyObject</autodoc> |
f32fc4bc RD |
7808 | </method> |
7809 | </class> | |
781d2982 RD |
7810 | <class name="GBSizerItem" oldname="wxGBSizerItem" module="_core"> |
7811 | <docstring>The wx.GBSizerItem class is used to track the additional data about | |
7812 | items in a `wx.GridBagSizer` such as the item's position in the grid | |
7813 | and how many rows or columns it spans. | |
7814 | </docstring> | |
f32fc4bc RD |
7815 | <baseclass name="SizerItem"/> |
7816 | <constructor name="GBSizerItem" overloaded="no"> | |
781d2982 RD |
7817 | <autodoc>__init__(self) -> GBSizerItem</autodoc> |
7818 | <docstring>Constructs an empty wx.GBSizerItem. Either a window, sizer or spacer | |
7819 | size will need to be set, as well as a position and span before this | |
7820 | item can be used in a Sizer. | |
7821 | ||
7822 | You will probably never need to create a wx.GBSizerItem directly as they | |
7823 | are created automatically when the sizer's Add method is called.</docstring> | |
f32fc4bc RD |
7824 | </constructor> |
7825 | <constructor name="GBSizerItemWindow" overloaded="no"> | |
7826 | <autodoc>GBSizerItemWindow(Window window, GBPosition pos, GBSpan span, int flag, | |
781d2982 RD |
7827 | int border, PyObject userData=None) -> GBSizerItem</autodoc> |
7828 | <docstring>Construct a `wx.GBSizerItem` for a window.</docstring> | |
f32fc4bc RD |
7829 | <paramlist> |
7830 | <param name="window" type="Window" default=""/> | |
7831 | <param name="pos" type="GBPosition" default=""/> | |
7832 | <param name="span" type="GBSpan" default=""/> | |
7833 | <param name="flag" type="int" default=""/> | |
7834 | <param name="border" type="int" default=""/> | |
781d2982 | 7835 | <param name="userData" type="PyObject" default="NULL"/> |
f32fc4bc RD |
7836 | </paramlist> |
7837 | </constructor> | |
7838 | <constructor name="GBSizerItemSizer" overloaded="no"> | |
7839 | <autodoc>GBSizerItemSizer(Sizer sizer, GBPosition pos, GBSpan span, int flag, | |
781d2982 RD |
7840 | int border, PyObject userData=None) -> GBSizerItem</autodoc> |
7841 | <docstring>Construct a `wx.GBSizerItem` for a sizer</docstring> | |
f32fc4bc RD |
7842 | <paramlist> |
7843 | <param name="sizer" type="Sizer" default=""/> | |
7844 | <param name="pos" type="GBPosition" default=""/> | |
7845 | <param name="span" type="GBSpan" default=""/> | |
7846 | <param name="flag" type="int" default=""/> | |
7847 | <param name="border" type="int" default=""/> | |
781d2982 | 7848 | <param name="userData" type="PyObject" default="NULL"/> |
f32fc4bc RD |
7849 | </paramlist> |
7850 | </constructor> | |
7851 | <constructor name="GBSizerItemSpacer" overloaded="no"> | |
7852 | <autodoc>GBSizerItemSpacer(int width, int height, GBPosition pos, GBSpan span, | |
781d2982 RD |
7853 | int flag, int border, PyObject userData=None) -> GBSizerItem</autodoc> |
7854 | <docstring>Construct a `wx.GBSizerItem` for a spacer.</docstring> | |
f32fc4bc RD |
7855 | <paramlist> |
7856 | <param name="width" type="int" default=""/> | |
7857 | <param name="height" type="int" default=""/> | |
7858 | <param name="pos" type="GBPosition" default=""/> | |
7859 | <param name="span" type="GBSpan" default=""/> | |
7860 | <param name="flag" type="int" default=""/> | |
7861 | <param name="border" type="int" default=""/> | |
781d2982 | 7862 | <param name="userData" type="PyObject" default="NULL"/> |
f32fc4bc RD |
7863 | </paramlist> |
7864 | </constructor> | |
7865 | <method name="GetPos" type="GBPosition" overloaded="no"> | |
781d2982 RD |
7866 | <autodoc>GetPos(self) -> GBPosition</autodoc> |
7867 | <docstring>Get the grid position of the item</docstring> | |
f32fc4bc RD |
7868 | </method> |
7869 | <method name="GetSpan" type="GBSpan" overloaded="no"> | |
781d2982 RD |
7870 | <autodoc>GetSpan(self) -> GBSpan</autodoc> |
7871 | <docstring>Get the row and column spanning of the item</docstring> | |
f32fc4bc RD |
7872 | </method> |
7873 | <method name="SetPos" type="bool" overloaded="no"> | |
781d2982 RD |
7874 | <autodoc>SetPos(self, GBPosition pos) -> bool</autodoc> |
7875 | <docstring>If the item is already a member of a sizer then first ensure that | |
7876 | there is no other item that would intersect with this one at the new | |
7877 | position, then set the new position. Returns True if the change is | |
7878 | successful and after the next Layout() the item will be moved.</docstring> | |
f32fc4bc RD |
7879 | <paramlist> |
7880 | <param name="pos" type="GBPosition" default=""/> | |
7881 | </paramlist> | |
7882 | </method> | |
7883 | <method name="SetSpan" type="bool" overloaded="no"> | |
781d2982 RD |
7884 | <autodoc>SetSpan(self, GBSpan span) -> bool</autodoc> |
7885 | <docstring>If the item is already a member of a sizer then first ensure that | |
7886 | there is no other item that would intersect with this one with its new | |
7887 | spanning size, then set the new spanning. Returns True if the change | |
7888 | is successful and after the next Layout() the item will be resized. | |
7889 | </docstring> | |
f32fc4bc RD |
7890 | <paramlist> |
7891 | <param name="span" type="GBSpan" default=""/> | |
7892 | </paramlist> | |
7893 | </method> | |
781d2982 RD |
7894 | <method name="Intersects" type="bool" overloaded="no"> |
7895 | <autodoc>Intersects(self, GBSizerItem other) -> bool</autodoc> | |
7896 | <docstring>Returns True if this item and the other item instersect.</docstring> | |
f32fc4bc RD |
7897 | <paramlist> |
7898 | <param name="other" type="GBSizerItem" default=""/> | |
7899 | </paramlist> | |
7900 | </method> | |
781d2982 RD |
7901 | <method name="IntersectsPos" type="bool" overloaded="no"> |
7902 | <autodoc>IntersectsPos(self, GBPosition pos, GBSpan span) -> bool</autodoc> | |
7903 | <docstring>Returns True if the given pos/span would intersect with this item.</docstring> | |
f32fc4bc RD |
7904 | <paramlist> |
7905 | <param name="pos" type="GBPosition" default=""/> | |
7906 | <param name="span" type="GBSpan" default=""/> | |
7907 | </paramlist> | |
7908 | </method> | |
781d2982 RD |
7909 | <method name="GetEndPos" type="GBPosition" overloaded="no"> |
7910 | <autodoc>GetEndPos(self) -> GBPosition</autodoc> | |
7911 | <docstring>Get the row and column of the endpoint of this item.</docstring> | |
f32fc4bc RD |
7912 | </method> |
7913 | <method name="GetGBSizer" type="wxGridBagSizer" overloaded="no"> | |
781d2982 RD |
7914 | <autodoc>GetGBSizer(self) -> GridBagSizer</autodoc> |
7915 | <docstring>Get the sizer this item is a member of.</docstring> | |
f32fc4bc RD |
7916 | </method> |
7917 | <method name="SetGBSizer" type="" overloaded="no"> | |
781d2982 RD |
7918 | <autodoc>SetGBSizer(self, GridBagSizer sizer)</autodoc> |
7919 | <docstring>Set the sizer this item is a member of.</docstring> | |
f32fc4bc RD |
7920 | <paramlist> |
7921 | <param name="sizer" type="wxGridBagSizer" default=""/> | |
7922 | </paramlist> | |
7923 | </method> | |
7924 | </class> | |
781d2982 RD |
7925 | <class name="GridBagSizer" oldname="wxGridBagSizer" module="_core"> |
7926 | <docstring>A `wx.Sizer` that can lay out items in a virtual grid like a | |
7927 | `wx.FlexGridSizer` but in this case explicit positioning of the items | |
7928 | is allowed using `wx.GBPosition`, and items can optionally span more | |
7929 | than one row and/or column using `wx.GBSpan`. The total size of the | |
7930 | virtual grid is determined by the largest row and column that items are | |
7931 | positioned at, adjusted for spanning. | |
7932 | </docstring> | |
f32fc4bc RD |
7933 | <baseclass name="FlexGridSizer"/> |
7934 | <constructor name="GridBagSizer" overloaded="no"> | |
781d2982 RD |
7935 | <autodoc>__init__(self, int vgap=0, int hgap=0) -> GridBagSizer</autodoc> |
7936 | <docstring>Constructor, with optional parameters to specify the gap between the | |
7937 | rows and columns.</docstring> | |
f32fc4bc RD |
7938 | <paramlist> |
7939 | <param name="vgap" type="int" default="0"/> | |
7940 | <param name="hgap" type="int" default="0"/> | |
7941 | </paramlist> | |
7942 | </constructor> | |
7943 | <method name="Add" type="bool" overloaded="no"> | |
781d2982 RD |
7944 | <autodoc>Add(self, item, GBPosition pos, GBSpan span=DefaultSpan, int flag=0, |
7945 | int border=0, userData=None)</autodoc> | |
7946 | <docstring>Adds an item to the sizer at the grid cell *pos*, optionally spanning | |
7947 | more than one row or column as specified with *span*. The remaining | |
7948 | args behave similarly to `wx.Sizer.Add`. | |
7949 | ||
7950 | Returns True if the item was successfully placed at the given cell | |
7951 | position, False if something was already there. | |
7952 | </docstring> | |
f32fc4bc RD |
7953 | <paramlist> |
7954 | <param name="item" type="PyObject" default=""/> | |
7955 | <param name="pos" type="GBPosition" default=""/> | |
7956 | <param name="span" type="GBSpan" default="wxDefaultSpan"/> | |
7957 | <param name="flag" type="int" default="0"/> | |
7958 | <param name="border" type="int" default="0"/> | |
7959 | <param name="userData" type="PyObject" default="NULL"/> | |
7960 | </paramlist> | |
7961 | </method> | |
7962 | <method name="AddItem" type="bool" overloaded="no"> | |
781d2982 RD |
7963 | <autodoc>Add(self, GBSizerItem item) -> bool</autodoc> |
7964 | <docstring>Add an item to the sizer using a `wx.GBSizerItem`. Returns True if | |
7965 | the item was successfully placed at its given cell position, False if | |
7966 | something was already there.</docstring> | |
f32fc4bc RD |
7967 | <paramlist> |
7968 | <param name="item" type="GBSizerItem" default=""/> | |
7969 | </paramlist> | |
7970 | </method> | |
7971 | <method name="GetEmptyCellSize" type="Size" overloaded="no"> | |
781d2982 RD |
7972 | <autodoc>GetEmptyCellSize(self) -> Size</autodoc> |
7973 | <docstring>Get the size used for cells in the grid with no item.</docstring> | |
f32fc4bc RD |
7974 | </method> |
7975 | <method name="SetEmptyCellSize" type="" overloaded="no"> | |
781d2982 RD |
7976 | <autodoc>SetEmptyCellSize(self, Size sz)</autodoc> |
7977 | <docstring>Set the size used for cells in the grid with no item.</docstring> | |
f32fc4bc RD |
7978 | <paramlist> |
7979 | <param name="sz" type="Size" default=""/> | |
7980 | </paramlist> | |
7981 | </method> | |
7982 | <method name="GetItemPosition" type="GBPosition" overloaded="yes"> | |
781d2982 RD |
7983 | <docstring>GetItemPosition(self, item) -> GBPosition |
7984 | ||
7985 | Get the grid position of the specified *item* where *item* is either a | |
7986 | window or subsizer that is a member of this sizer, or a zero-based | |
7987 | index of an item.</docstring> | |
f32fc4bc RD |
7988 | <paramlist> |
7989 | <param name="window" type="Window" default=""/> | |
7990 | </paramlist> | |
7991 | </method> | |
7992 | <method name="GetItemPosition" type="GBPosition" overloaded="yes"> | |
781d2982 RD |
7993 | <docstring>GetItemPosition(self, item) -> GBPosition |
7994 | ||
7995 | Get the grid position of the specified *item* where *item* is either a | |
7996 | window or subsizer that is a member of this sizer, or a zero-based | |
7997 | index of an item.</docstring> | |
f32fc4bc RD |
7998 | <paramlist> |
7999 | <param name="sizer" type="Sizer" default=""/> | |
8000 | </paramlist> | |
8001 | </method> | |
8002 | <method name="GetItemPosition" type="GBPosition" overloaded="yes"> | |
781d2982 RD |
8003 | <docstring>GetItemPosition(self, item) -> GBPosition |
8004 | ||
8005 | Get the grid position of the specified *item* where *item* is either a | |
8006 | window or subsizer that is a member of this sizer, or a zero-based | |
8007 | index of an item.</docstring> | |
f32fc4bc RD |
8008 | <paramlist> |
8009 | <param name="index" type="size_t" default=""/> | |
8010 | </paramlist> | |
8011 | </method> | |
8012 | <method name="SetItemPosition" type="bool" overloaded="yes"> | |
781d2982 RD |
8013 | <docstring>SetItemPosition(self, item, GBPosition pos) -> bool |
8014 | ||
8015 | Set the grid position of the specified *item* where *item* is either a | |
8016 | window or subsizer that is a member of this sizer, or a zero-based | |
8017 | index of an item. Returns True on success. If the move is not | |
8018 | allowed (because an item is already there) then False is returned. | |
8019 | </docstring> | |
f32fc4bc RD |
8020 | <paramlist> |
8021 | <param name="window" type="Window" default=""/> | |
8022 | <param name="pos" type="GBPosition" default=""/> | |
8023 | </paramlist> | |
8024 | </method> | |
8025 | <method name="SetItemPosition" type="bool" overloaded="yes"> | |
781d2982 RD |
8026 | <docstring>SetItemPosition(self, item, GBPosition pos) -> bool |
8027 | ||
8028 | Set the grid position of the specified *item* where *item* is either a | |
8029 | window or subsizer that is a member of this sizer, or a zero-based | |
8030 | index of an item. Returns True on success. If the move is not | |
8031 | allowed (because an item is already there) then False is returned. | |
8032 | </docstring> | |
f32fc4bc RD |
8033 | <paramlist> |
8034 | <param name="sizer" type="Sizer" default=""/> | |
8035 | <param name="pos" type="GBPosition" default=""/> | |
8036 | </paramlist> | |
8037 | </method> | |
8038 | <method name="SetItemPosition" type="bool" overloaded="yes"> | |
781d2982 RD |
8039 | <docstring>SetItemPosition(self, item, GBPosition pos) -> bool |
8040 | ||
8041 | Set the grid position of the specified *item* where *item* is either a | |
8042 | window or subsizer that is a member of this sizer, or a zero-based | |
8043 | index of an item. Returns True on success. If the move is not | |
8044 | allowed (because an item is already there) then False is returned. | |
8045 | </docstring> | |
f32fc4bc RD |
8046 | <paramlist> |
8047 | <param name="index" type="size_t" default=""/> | |
8048 | <param name="pos" type="GBPosition" default=""/> | |
8049 | </paramlist> | |
8050 | </method> | |
8051 | <method name="GetItemSpan" type="GBSpan" overloaded="yes"> | |
781d2982 RD |
8052 | <docstring>GetItemSpan(self, item) -> GBSpan |
8053 | ||
8054 | Get the row/col spanning of the specified *item* where *item* is | |
8055 | either a window or subsizer that is a member of this sizer, or a | |
8056 | zero-based index of an item.</docstring> | |
f32fc4bc RD |
8057 | <paramlist> |
8058 | <param name="window" type="Window" default=""/> | |
8059 | </paramlist> | |
8060 | </method> | |
8061 | <method name="GetItemSpan" type="GBSpan" overloaded="yes"> | |
781d2982 RD |
8062 | <docstring>GetItemSpan(self, item) -> GBSpan |
8063 | ||
8064 | Get the row/col spanning of the specified *item* where *item* is | |
8065 | either a window or subsizer that is a member of this sizer, or a | |
8066 | zero-based index of an item.</docstring> | |
f32fc4bc RD |
8067 | <paramlist> |
8068 | <param name="sizer" type="Sizer" default=""/> | |
8069 | </paramlist> | |
8070 | </method> | |
8071 | <method name="GetItemSpan" type="GBSpan" overloaded="yes"> | |
781d2982 RD |
8072 | <docstring>GetItemSpan(self, item) -> GBSpan |
8073 | ||
8074 | Get the row/col spanning of the specified *item* where *item* is | |
8075 | either a window or subsizer that is a member of this sizer, or a | |
8076 | zero-based index of an item.</docstring> | |
f32fc4bc RD |
8077 | <paramlist> |
8078 | <param name="index" type="size_t" default=""/> | |
8079 | </paramlist> | |
8080 | </method> | |
8081 | <method name="SetItemSpan" type="bool" overloaded="yes"> | |
781d2982 RD |
8082 | <docstring>SetItemSpan(self, item, GBSpan span) -> bool |
8083 | ||
8084 | Set the row/col spanning of the specified *item* where *item* is | |
8085 | either a window or subsizer that is a member of this sizer, or a | |
8086 | zero-based index of an item. Returns True on success. If the move is | |
8087 | not allowed (because an item is already there) then False is returned.</docstring> | |
f32fc4bc RD |
8088 | <paramlist> |
8089 | <param name="window" type="Window" default=""/> | |
8090 | <param name="span" type="GBSpan" default=""/> | |
8091 | </paramlist> | |
8092 | </method> | |
8093 | <method name="SetItemSpan" type="bool" overloaded="yes"> | |
781d2982 RD |
8094 | <docstring>SetItemSpan(self, item, GBSpan span) -> bool |
8095 | ||
8096 | Set the row/col spanning of the specified *item* where *item* is | |
8097 | either a window or subsizer that is a member of this sizer, or a | |
8098 | zero-based index of an item. Returns True on success. If the move is | |
8099 | not allowed (because an item is already there) then False is returned.</docstring> | |
f32fc4bc RD |
8100 | <paramlist> |
8101 | <param name="sizer" type="Sizer" default=""/> | |
8102 | <param name="span" type="GBSpan" default=""/> | |
8103 | </paramlist> | |
8104 | </method> | |
8105 | <method name="SetItemSpan" type="bool" overloaded="yes"> | |
781d2982 RD |
8106 | <docstring>SetItemSpan(self, item, GBSpan span) -> bool |
8107 | ||
8108 | Set the row/col spanning of the specified *item* where *item* is | |
8109 | either a window or subsizer that is a member of this sizer, or a | |
8110 | zero-based index of an item. Returns True on success. If the move is | |
8111 | not allowed (because an item is already there) then False is returned.</docstring> | |
f32fc4bc RD |
8112 | <paramlist> |
8113 | <param name="index" type="size_t" default=""/> | |
8114 | <param name="span" type="GBSpan" default=""/> | |
8115 | </paramlist> | |
8116 | </method> | |
8117 | <method name="FindItem" type="GBSizerItem" overloaded="yes"> | |
781d2982 RD |
8118 | <docstring>FindItem(self, item) -> GBSizerItem |
8119 | ||
8120 | Find the sizer item for the given window or subsizer, returns None if | |
8121 | not found. (non-recursive)</docstring> | |
f32fc4bc RD |
8122 | <paramlist> |
8123 | <param name="window" type="Window" default=""/> | |
8124 | </paramlist> | |
8125 | </method> | |
8126 | <method name="FindItem" type="GBSizerItem" overloaded="yes"> | |
781d2982 RD |
8127 | <docstring>FindItem(self, item) -> GBSizerItem |
8128 | ||
8129 | Find the sizer item for the given window or subsizer, returns None if | |
8130 | not found. (non-recursive)</docstring> | |
f32fc4bc RD |
8131 | <paramlist> |
8132 | <param name="sizer" type="Sizer" default=""/> | |
8133 | </paramlist> | |
8134 | </method> | |
8135 | <method name="FindItemAtPosition" type="GBSizerItem" overloaded="no"> | |
781d2982 RD |
8136 | <autodoc>FindItemAtPosition(self, GBPosition pos) -> GBSizerItem</autodoc> |
8137 | <docstring>Return the sizer item for the given grid cell, or None if there is no | |
8138 | item at that position. (non-recursive)</docstring> | |
f32fc4bc RD |
8139 | <paramlist> |
8140 | <param name="pos" type="GBPosition" default=""/> | |
8141 | </paramlist> | |
8142 | </method> | |
8143 | <method name="FindItemAtPoint" type="GBSizerItem" overloaded="no"> | |
781d2982 RD |
8144 | <autodoc>FindItemAtPoint(self, Point pt) -> GBSizerItem</autodoc> |
8145 | <docstring>Return the sizer item located at the point given in *pt*, or None if | |
8146 | there is no item at that point. The (x,y) coordinates in pt correspond | |
8147 | to the client coordinates of the window using the sizer for | |
8148 | layout. (non-recursive)</docstring> | |
f32fc4bc RD |
8149 | <paramlist> |
8150 | <param name="pt" type="Point" default=""/> | |
8151 | </paramlist> | |
8152 | </method> | |
781d2982 RD |
8153 | <method name="CheckForIntersection" type="bool" overloaded="no"> |
8154 | <autodoc>CheckForIntersection(self, GBSizerItem item, GBSizerItem excludeItem=None) -> bool</autodoc> | |
8155 | <docstring>Look at all items and see if any intersect (or would overlap) the | |
8156 | given *item*. Returns True if so, False if there would be no overlap. | |
8157 | If an *excludeItem* is given then it will not be checked for | |
8158 | intersection, for example it may be the item we are checking the | |
8159 | position of. | |
8160 | </docstring> | |
f32fc4bc | 8161 | <paramlist> |
781d2982 RD |
8162 | <param name="item" type="GBSizerItem" default=""/> |
8163 | <param name="excludeItem" type="GBSizerItem" default="NULL"/> | |
f32fc4bc RD |
8164 | </paramlist> |
8165 | </method> | |
781d2982 RD |
8166 | <method name="CheckForIntersectionPos" type="bool" overloaded="no"> |
8167 | <autodoc>CheckForIntersectionPos(self, GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) -> bool</autodoc> | |
8168 | <docstring>Look at all items and see if any intersect (or would overlap) the | |
8169 | given position and span. Returns True if so, False if there would be | |
8170 | no overlap. If an *excludeItem* is given then it will not be checked | |
8171 | for intersection, for example it may be the item we are checking the | |
8172 | position of.</docstring> | |
f32fc4bc RD |
8173 | <paramlist> |
8174 | <param name="pos" type="GBPosition" default=""/> | |
8175 | <param name="span" type="GBSpan" default=""/> | |
8176 | <param name="excludeItem" type="GBSizerItem" default="NULL"/> | |
8177 | </paramlist> | |
8178 | </method> | |
8179 | </class> | |
8180 | <pythoncode> | |
0f43fbdf RD |
8181 | #--------------------------------------------------------------------------- |
8182 | </pythoncode> | |
781d2982 RD |
8183 | <class name="IndividualLayoutConstraint" oldname="wxIndividualLayoutConstraint" module="_core"> |
8184 | <docstring>Objects of this class are stored in the `wx.LayoutConstraints` class as | |
8185 | one of eight possible constraints that a window can be involved in. | |
8186 | You will never need to create an instance of | |
8187 | wx.IndividualLayoutConstraint, rather you should create a | |
8188 | `wx.LayoutConstraints` instance and use the individual contstraints | |
ce6878e6 RD |
8189 | that it contains. |
8190 | ||
8191 | Constraints are initially set to have the relationship | |
8192 | wx.Unconstrained, which means that their values should be calculated | |
8193 | by looking at known constraints. | |
8194 | ||
8195 | The Edge specifies the type of edge or dimension of a window. | |
8196 | ||
8197 | Edges | |
8198 | ------ | |
8199 | ================== ============================================== | |
8200 | wx.Left The left edge. | |
8201 | wx.Top The top edge. | |
8202 | wx.Right The right edge. | |
8203 | wx.Bottom The bottom edge. | |
8204 | wx.CentreX The x-coordinate of the centre of the window. | |
8205 | wx.CentreY The y-coordinate of the centre of the window. | |
8206 | ================== ============================================== | |
8207 | ||
8208 | ||
8209 | The Relationship specifies the relationship that this edge or | |
8210 | dimension has with another specified edge or dimension. Normally, the | |
8211 | user doesn't use these directly because functions such as Below and | |
8212 | RightOf are a convenience for using the more general Set function. | |
8213 | ||
8214 | Relationships | |
8215 | ------------- | |
8216 | ================== ============================================== | |
8217 | wx.Unconstrained The edge or dimension is unconstrained | |
8218 | (the default for edges.) | |
8219 | wx.AsIs The edge or dimension is to be taken from the current | |
8220 | window position or size (the default for dimensions.) | |
8221 | wx.Above The edge should be above another edge. | |
8222 | wx.Below The edge should be below another edge. | |
8223 | wx.LeftOf The edge should be to the left of another edge. | |
8224 | wx.RightOf The edge should be to the right of another edge. | |
8225 | wx.SameAs The edge or dimension should be the same as another edge | |
8226 | or dimension. | |
8227 | wx.PercentOf The edge or dimension should be a percentage of another | |
8228 | edge or dimension. | |
8229 | wx.Absolute The edge or dimension should be a given absolute value. | |
8230 | ================== ============================================== | |
8231 | ||
8232 | :see: `wx.LayoutConstraints`, `wx.Window.SetConstraints` | |
8233 | </docstring> | |
f32fc4bc RD |
8234 | <baseclass name="Object"/> |
8235 | <method name="Set" type="" overloaded="no"> | |
781d2982 RD |
8236 | <autodoc>Set(self, int rel, Window otherW, int otherE, int val=0, int marg=wxLAYOUT_DEFAULT_MARGIN)</autodoc> |
8237 | <docstring>Sets the properties of the constraint. Normally called by one of the | |
8238 | convenience functions such as Above, RightOf, SameAs.</docstring> | |
f32fc4bc RD |
8239 | <paramlist> |
8240 | <param name="rel" type="wxRelationship" default=""/> | |
8241 | <param name="otherW" type="Window" default=""/> | |
8242 | <param name="otherE" type="wxEdge" default=""/> | |
8243 | <param name="val" type="int" default="0"/> | |
8244 | <param name="marg" type="int" default="wxLAYOUT_DEFAULT_MARGIN"/> | |
8245 | </paramlist> | |
8246 | </method> | |
8247 | <method name="LeftOf" type="" overloaded="no"> | |
781d2982 RD |
8248 | <autodoc>LeftOf(self, Window sibling, int marg=0)</autodoc> |
8249 | <docstring>Constrains this edge to be to the left of the given window, with an | |
8250 | optional margin. Implicitly, this is relative to the left edge of the | |
8251 | other window.</docstring> | |
f32fc4bc RD |
8252 | <paramlist> |
8253 | <param name="sibling" type="Window" default=""/> | |
8254 | <param name="marg" type="int" default="0"/> | |
8255 | </paramlist> | |
8256 | </method> | |
8257 | <method name="RightOf" type="" overloaded="no"> | |
781d2982 RD |
8258 | <autodoc>RightOf(self, Window sibling, int marg=0)</autodoc> |
8259 | <docstring>Constrains this edge to be to the right of the given window, with an | |
8260 | optional margin. Implicitly, this is relative to the right edge of the | |
8261 | other window.</docstring> | |
f32fc4bc RD |
8262 | <paramlist> |
8263 | <param name="sibling" type="Window" default=""/> | |
8264 | <param name="marg" type="int" default="0"/> | |
8265 | </paramlist> | |
8266 | </method> | |
8267 | <method name="Above" type="" overloaded="no"> | |
781d2982 RD |
8268 | <autodoc>Above(self, Window sibling, int marg=0)</autodoc> |
8269 | <docstring>Constrains this edge to be above the given window, with an optional | |
8270 | margin. Implicitly, this is relative to the top edge of the other | |
8271 | window.</docstring> | |
f32fc4bc RD |
8272 | <paramlist> |
8273 | <param name="sibling" type="Window" default=""/> | |
8274 | <param name="marg" type="int" default="0"/> | |
8275 | </paramlist> | |
8276 | </method> | |
8277 | <method name="Below" type="" overloaded="no"> | |
781d2982 RD |
8278 | <autodoc>Below(self, Window sibling, int marg=0)</autodoc> |
8279 | <docstring>Constrains this edge to be below the given window, with an optional | |
8280 | margin. Implicitly, this is relative to the bottom edge of the other | |
8281 | window.</docstring> | |
f32fc4bc RD |
8282 | <paramlist> |
8283 | <param name="sibling" type="Window" default=""/> | |
8284 | <param name="marg" type="int" default="0"/> | |
8285 | </paramlist> | |
8286 | </method> | |
8287 | <method name="SameAs" type="" overloaded="no"> | |
781d2982 RD |
8288 | <autodoc>SameAs(self, Window otherW, int edge, int marg=0)</autodoc> |
8289 | <docstring>Constrains this edge or dimension to be to the same as the edge of the | |
8290 | given window, with an optional margin.</docstring> | |
f32fc4bc RD |
8291 | <paramlist> |
8292 | <param name="otherW" type="Window" default=""/> | |
8293 | <param name="edge" type="wxEdge" default=""/> | |
8294 | <param name="marg" type="int" default="0"/> | |
8295 | </paramlist> | |
8296 | </method> | |
8297 | <method name="PercentOf" type="" overloaded="no"> | |
781d2982 RD |
8298 | <autodoc>PercentOf(self, Window otherW, int wh, int per)</autodoc> |
8299 | <docstring>Constrains this edge or dimension to be to a percentage of the given | |
8300 | window, with an optional margin.</docstring> | |
f32fc4bc RD |
8301 | <paramlist> |
8302 | <param name="otherW" type="Window" default=""/> | |
8303 | <param name="wh" type="wxEdge" default=""/> | |
8304 | <param name="per" type="int" default=""/> | |
8305 | </paramlist> | |
8306 | </method> | |
8307 | <method name="Absolute" type="" overloaded="no"> | |
781d2982 RD |
8308 | <autodoc>Absolute(self, int val)</autodoc> |
8309 | <docstring>Constrains this edge or dimension to be the given absolute value.</docstring> | |
f32fc4bc RD |
8310 | <paramlist> |
8311 | <param name="val" type="int" default=""/> | |
8312 | </paramlist> | |
8313 | </method> | |
8314 | <method name="Unconstrained" type="" overloaded="no"> | |
781d2982 RD |
8315 | <autodoc>Unconstrained(self)</autodoc> |
8316 | <docstring>Sets this edge or dimension to be unconstrained, that is, dependent on | |
8317 | other edges and dimensions from which this value can be deduced.</docstring> | |
f32fc4bc RD |
8318 | </method> |
8319 | <method name="AsIs" type="" overloaded="no"> | |
781d2982 RD |
8320 | <autodoc>AsIs(self)</autodoc> |
8321 | <docstring>Sets this edge or constraint to be whatever the window's value is at | |
8322 | the moment. If either of the width and height constraints are *as is*, | |
8323 | the window will not be resized, but moved instead. This is important | |
8324 | when considering panel items which are intended to have a default | |
8325 | size, such as a button, which may take its size from the size of the | |
8326 | button label.</docstring> | |
f32fc4bc RD |
8327 | </method> |
8328 | <method name="GetOtherWindow" type="Window" overloaded="no"> | |
781d2982 | 8329 | <autodoc>GetOtherWindow(self) -> Window</autodoc> |
f32fc4bc RD |
8330 | </method> |
8331 | <method name="GetMyEdge" type="wxEdge" overloaded="no"> | |
781d2982 | 8332 | <autodoc>GetMyEdge(self) -> int</autodoc> |
f32fc4bc RD |
8333 | </method> |
8334 | <method name="SetEdge" type="" overloaded="no"> | |
781d2982 | 8335 | <autodoc>SetEdge(self, int which)</autodoc> |
f32fc4bc RD |
8336 | <paramlist> |
8337 | <param name="which" type="wxEdge" default=""/> | |
8338 | </paramlist> | |
8339 | </method> | |
8340 | <method name="SetValue" type="" overloaded="no"> | |
781d2982 | 8341 | <autodoc>SetValue(self, int v)</autodoc> |
f32fc4bc RD |
8342 | <paramlist> |
8343 | <param name="v" type="int" default=""/> | |
8344 | </paramlist> | |
8345 | </method> | |
8346 | <method name="GetMargin" type="int" overloaded="no"> | |
781d2982 | 8347 | <autodoc>GetMargin(self) -> int</autodoc> |
f32fc4bc RD |
8348 | </method> |
8349 | <method name="SetMargin" type="" overloaded="no"> | |
781d2982 | 8350 | <autodoc>SetMargin(self, int m)</autodoc> |
f32fc4bc RD |
8351 | <paramlist> |
8352 | <param name="m" type="int" default=""/> | |
8353 | </paramlist> | |
8354 | </method> | |
8355 | <method name="GetValue" type="int" overloaded="no"> | |
781d2982 | 8356 | <autodoc>GetValue(self) -> int</autodoc> |
f32fc4bc RD |
8357 | </method> |
8358 | <method name="GetPercent" type="int" overloaded="no"> | |
781d2982 | 8359 | <autodoc>GetPercent(self) -> int</autodoc> |
f32fc4bc RD |
8360 | </method> |
8361 | <method name="GetOtherEdge" type="int" overloaded="no"> | |
781d2982 | 8362 | <autodoc>GetOtherEdge(self) -> int</autodoc> |
f32fc4bc RD |
8363 | </method> |
8364 | <method name="GetDone" type="bool" overloaded="no"> | |
781d2982 | 8365 | <autodoc>GetDone(self) -> bool</autodoc> |
f32fc4bc RD |
8366 | </method> |
8367 | <method name="SetDone" type="" overloaded="no"> | |
781d2982 | 8368 | <autodoc>SetDone(self, bool d)</autodoc> |
f32fc4bc RD |
8369 | <paramlist> |
8370 | <param name="d" type="bool" default=""/> | |
8371 | </paramlist> | |
8372 | </method> | |
8373 | <method name="GetRelationship" type="wxRelationship" overloaded="no"> | |
781d2982 | 8374 | <autodoc>GetRelationship(self) -> int</autodoc> |
f32fc4bc RD |
8375 | </method> |
8376 | <method name="SetRelationship" type="" overloaded="no"> | |
781d2982 | 8377 | <autodoc>SetRelationship(self, int r)</autodoc> |
f32fc4bc RD |
8378 | <paramlist> |
8379 | <param name="r" type="wxRelationship" default=""/> | |
8380 | </paramlist> | |
8381 | </method> | |
8382 | <method name="ResetIfWin" type="bool" overloaded="no"> | |
781d2982 | 8383 | <autodoc>ResetIfWin(self, Window otherW) -> bool</autodoc> |
c2dda882 | 8384 | <docstring>Reset constraint if it mentions otherWin</docstring> |
f32fc4bc RD |
8385 | <paramlist> |
8386 | <param name="otherW" type="Window" default=""/> | |
8387 | </paramlist> | |
8388 | </method> | |
8389 | <method name="SatisfyConstraint" type="bool" overloaded="no"> | |
781d2982 | 8390 | <autodoc>SatisfyConstraint(self, LayoutConstraints constraints, Window win) -> bool</autodoc> |
c2dda882 | 8391 | <docstring>Try to satisfy constraint</docstring> |
f32fc4bc RD |
8392 | <paramlist> |
8393 | <param name="constraints" type="wxLayoutConstraints" default=""/> | |
8394 | <param name="win" type="Window" default=""/> | |
8395 | </paramlist> | |
8396 | </method> | |
8397 | <method name="GetEdge" type="int" overloaded="no"> | |
781d2982 | 8398 | <autodoc>GetEdge(self, int which, Window thisWin, Window other) -> int</autodoc> |
c2dda882 RD |
8399 | <docstring>Get the value of this edge or dimension, or if this |
8400 | is not determinable, -1.</docstring> | |
f32fc4bc RD |
8401 | <paramlist> |
8402 | <param name="which" type="wxEdge" default=""/> | |
8403 | <param name="thisWin" type="Window" default=""/> | |
8404 | <param name="other" type="Window" default=""/> | |
8405 | </paramlist> | |
8406 | </method> | |
8407 | </class> | |
781d2982 RD |
8408 | <class name="LayoutConstraints" oldname="wxLayoutConstraints" module="_core"> |
8409 | <docstring>**Note:** constraints are now deprecated and you should use sizers | |
8410 | instead. | |
c2dda882 | 8411 | |
781d2982 RD |
8412 | Objects of this class can be associated with a window to define its |
8413 | layout constraints, with respect to siblings or its parent. | |
c2dda882 RD |
8414 | |
8415 | The class consists of the following eight constraints of class | |
8416 | wx.IndividualLayoutConstraint, some or all of which should be accessed | |
8417 | directly to set the appropriate constraints. | |
8418 | ||
8419 | * left: represents the left hand edge of the window | |
8420 | * right: represents the right hand edge of the window | |
8421 | * top: represents the top edge of the window | |
8422 | * bottom: represents the bottom edge of the window | |
8423 | * width: represents the width of the window | |
8424 | * height: represents the height of the window | |
8425 | * centreX: represents the horizontal centre point of the window | |
8426 | * centreY: represents the vertical centre point of the window | |
8427 | ||
781d2982 RD |
8428 | Most constraints are initially set to have the relationship |
8429 | wxUnconstrained, which means that their values should be calculated by | |
8430 | looking at known constraints. The exceptions are width and height, | |
8431 | which are set to wxAsIs to ensure that if the user does not specify a | |
8432 | constraint, the existing width and height will be used, to be | |
8433 | compatible with panel items which often have take a default size. If | |
8434 | the constraint is ``wx.AsIs``, the dimension will not be changed. | |
8435 | ||
8436 | :see: `wx.IndividualLayoutConstraint`, `wx.Window.SetConstraints` | |
c2dda882 | 8437 | </docstring> |
f32fc4bc RD |
8438 | <baseclass name="Object"/> |
8439 | <constructor name="LayoutConstraints" overloaded="no"> | |
781d2982 | 8440 | <autodoc>__init__(self) -> LayoutConstraints</autodoc> |
f32fc4bc RD |
8441 | </constructor> |
8442 | <property name="left" type="IndividualLayoutConstraint" readonly="yes"/> | |
8443 | <property name="top" type="IndividualLayoutConstraint" readonly="yes"/> | |
8444 | <property name="right" type="IndividualLayoutConstraint" readonly="yes"/> | |
8445 | <property name="bottom" type="IndividualLayoutConstraint" readonly="yes"/> | |
8446 | <property name="width" type="IndividualLayoutConstraint" readonly="yes"/> | |
8447 | <property name="height" type="IndividualLayoutConstraint" readonly="yes"/> | |
8448 | <property name="centreX" type="IndividualLayoutConstraint" readonly="yes"/> | |
8449 | <property name="centreY" type="IndividualLayoutConstraint" readonly="yes"/> | |
8450 | <method name="SatisfyConstraints" type="bool" overloaded="no"> | |
8451 | <autodoc>SatisfyConstraints(Window win) -> (areSatisfied, noChanges)</autodoc> | |
8452 | <paramlist> | |
8453 | <param name="win" type="Window" default=""/> | |
8454 | <param name="OUTPUT" type="int" default=""/> | |
8455 | </paramlist> | |
8456 | </method> | |
8457 | <method name="AreSatisfied" type="bool" overloaded="no"> | |
781d2982 | 8458 | <autodoc>AreSatisfied(self) -> bool</autodoc> |
f32fc4bc RD |
8459 | </method> |
8460 | </class> | |
8461 | <pythoncode>#---------------------------------------------------------------------------- | |
0f43fbdf RD |
8462 | |
8463 | # Use Python's bool constants if available, make some if not | |
8464 | try: | |
8465 | True | |
8466 | except NameError: | |
8467 | __builtins__.True = 1==1 | |
8468 | __builtins__.False = 1==0 | |
368d20e8 RD |
8469 | def bool(value): return not not value |
8470 | __builtins__.bool = bool | |
0f43fbdf RD |
8471 | |
8472 | ||
8473 | ||
8474 | # workarounds for bad wxRTTI names | |
8475 | __wxPyPtrTypeMap['wxGauge95'] = 'wxGauge' | |
8476 | __wxPyPtrTypeMap['wxSlider95'] = 'wxSlider' | |
8477 | __wxPyPtrTypeMap['wxStatusBar95'] = 'wxStatusBar' | |
8478 | ||
8479 | ||
8480 | #---------------------------------------------------------------------------- | |
8481 | # Load version numbers from __version__... Ensure that major and minor | |
0190c472 | 8482 | # versions are the same for both wxPython and wxWidgets. |
0f43fbdf RD |
8483 | |
8484 | from __version__ import * | |
8485 | __version__ = VERSION_STRING | |
8486 | ||
0190c472 RD |
8487 | assert MAJOR_VERSION == _core_.MAJOR_VERSION, "wxPython/wxWidgets version mismatch" |
8488 | assert MINOR_VERSION == _core_.MINOR_VERSION, "wxPython/wxWidgets version mismatch" | |
781d2982 | 8489 | if RELEASE_VERSION != _core_.RELEASE_VERSION: |
0f43fbdf | 8490 | import warnings |
0190c472 | 8491 | warnings.warn("wxPython/wxWidgets release number mismatch") |
0f43fbdf RD |
8492 | |
8493 | #---------------------------------------------------------------------------- | |
8494 | ||
8495 | class PyDeadObjectError(AttributeError): | |
8496 | pass | |
8497 | ||
8498 | class _wxPyDeadObject(object): | |
8499 | """ | |
8500 | Instances of wx objects that are OOR capable will have their __class__ | |
8501 | changed to this class when the C++ object is deleted. This should help | |
8502 | prevent crashes due to referencing a bogus C++ pointer. | |
8503 | """ | |
8504 | reprStr = "wxPython wrapper for DELETED %s object! (The C++ object no longer exists.)" | |
8505 | attrStr = "The C++ part of the %s object has been deleted, attribute access no longer allowed." | |
8506 | ||
8507 | def __repr__(self): | |
8508 | if not hasattr(self, "_name"): | |
8509 | self._name = "[unknown]" | |
8510 | return self.reprStr % self._name | |
8511 | ||
8512 | def __getattr__(self, *args): | |
8513 | if not hasattr(self, "_name"): | |
8514 | self._name = "[unknown]" | |
8515 | raise PyDeadObjectError(self.attrStr % self._name) | |
8516 | ||
8517 | def __nonzero__(self): | |
8518 | return 0 | |
8519 | ||
8520 | ||
8521 | ||
8522 | class PyUnbornObjectError(AttributeError): | |
8523 | pass | |
8524 | ||
8525 | class _wxPyUnbornObject(object): | |
8526 | """ | |
781d2982 | 8527 | Some stock objects are created when the wx._core module is |
0f43fbdf RD |
8528 | imported, but their C++ instance is not created until the wx.App |
8529 | object is created and initialized. These object instances will | |
8530 | temporarily have their __class__ changed to this class so an | |
8531 | exception will be raised if they are used before the C++ instance | |
8532 | is ready. | |
8533 | """ | |
8534 | ||
8535 | reprStr = "wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.)" | |
8536 | attrStr = "The C++ part of this object has not been initialized, attribute access not allowed." | |
8537 | ||
8538 | def __repr__(self): | |
8539 | #if not hasattr(self, "_name"): | |
8540 | # self._name = "[unknown]" | |
8541 | return self.reprStr #% self._name | |
8542 | ||
8543 | def __getattr__(self, *args): | |
8544 | #if not hasattr(self, "_name"): | |
8545 | # self._name = "[unknown]" | |
8546 | raise PyUnbornObjectError(self.attrStr) # % self._name ) | |
8547 | ||
8548 | def __nonzero__(self): | |
8549 | return 0 | |
8550 | ||
8551 | ||
8552 | #---------------------------------------------------------------------------- | |
8553 | _wxPyCallAfterId = None | |
8554 | ||
8555 | def CallAfter(callable, *args, **kw): | |
8556 | """ | |
8557 | Call the specified function after the current and pending event | |
8558 | handlers have been completed. This is also good for making GUI | |
781d2982 RD |
8559 | method calls from non-GUI threads. Any extra positional or |
8560 | keyword args are passed on to the callable when it is called. | |
8561 | ||
8562 | :see: `wx.FutureCall` | |
0f43fbdf RD |
8563 | """ |
8564 | app = wx.GetApp() | |
ce6878e6 | 8565 | assert app is not None, 'No wx.App created yet' |
0f43fbdf RD |
8566 | |
8567 | global _wxPyCallAfterId | |
8568 | if _wxPyCallAfterId is None: | |
8569 | _wxPyCallAfterId = wx.NewEventType() | |
8570 | app.Connect(-1, -1, _wxPyCallAfterId, | |
8571 | lambda event: event.callable(*event.args, **event.kw) ) | |
8572 | evt = wx.PyEvent() | |
8573 | evt.SetEventType(_wxPyCallAfterId) | |
8574 | evt.callable = callable | |
8575 | evt.args = args | |
8576 | evt.kw = kw | |
8577 | wx.PostEvent(app, evt) | |
8578 | ||
8579 | ||
8580 | #---------------------------------------------------------------------------- | |
8581 | ||
8582 | ||
8583 | class FutureCall: | |
8584 | """ | |
b39e211b | 8585 | A convenience class for wx.Timer, that calls the given callable |
0f43fbdf RD |
8586 | object once after the given amount of milliseconds, passing any |
8587 | positional or keyword args. The return value of the callable is | |
781d2982 | 8588 | availbale after it has been run with the `GetResult` method. |
0f43fbdf RD |
8589 | |
8590 | If you don't need to get the return value or restart the timer | |
8591 | then there is no need to hold a reference to this object. It will | |
8592 | hold a reference to itself while the timer is running (the timer | |
8593 | has a reference to self.Notify) but the cycle will be broken when | |
8594 | the timer completes, automatically cleaning up the wx.FutureCall | |
8595 | object. | |
781d2982 RD |
8596 | |
8597 | :see: `wx.CallAfter` | |
0f43fbdf RD |
8598 | """ |
8599 | def __init__(self, millis, callable, *args, **kwargs): | |
8600 | self.millis = millis | |
8601 | self.callable = callable | |
8602 | self.SetArgs(*args, **kwargs) | |
8603 | self.runCount = 0 | |
b39e211b | 8604 | self.running = False |
0f43fbdf RD |
8605 | self.hasRun = False |
8606 | self.result = None | |
8607 | self.timer = None | |
8608 | self.Start() | |
8609 | ||
8610 | def __del__(self): | |
8611 | self.Stop() | |
8612 | ||
8613 | ||
8614 | def Start(self, millis=None, *args, **kwargs): | |
8615 | """ | |
8616 | (Re)start the timer | |
8617 | """ | |
8618 | self.hasRun = False | |
8619 | if millis is not None: | |
8620 | self.millis = millis | |
8621 | if args or kwargs: | |
8622 | self.SetArgs(*args, **kwargs) | |
8623 | self.Stop() | |
8624 | self.timer = wx.PyTimer(self.Notify) | |
8625 | self.timer.Start(self.millis, wx.TIMER_ONE_SHOT) | |
b39e211b | 8626 | self.running = True |
0f43fbdf RD |
8627 | Restart = Start |
8628 | ||
8629 | ||
8630 | def Stop(self): | |
8631 | """ | |
8632 | Stop and destroy the timer. | |
8633 | """ | |
8634 | if self.timer is not None: | |
8635 | self.timer.Stop() | |
8636 | self.timer = None | |
8637 | ||
8638 | ||
8639 | def GetInterval(self): | |
8640 | if self.timer is not None: | |
8641 | return self.timer.GetInterval() | |
8642 | else: | |
8643 | return 0 | |
8644 | ||
8645 | ||
8646 | def IsRunning(self): | |
8647 | return self.timer is not None and self.timer.IsRunning() | |
8648 | ||
8649 | ||
8650 | def SetArgs(self, *args, **kwargs): | |
8651 | """ | |
8652 | (Re)set the args passed to the callable object. This is | |
8653 | useful in conjunction with Restart if you want to schedule a | |
8654 | new call to the same callable object but with different | |
8655 | parameters. | |
8656 | """ | |
8657 | self.args = args | |
8658 | self.kwargs = kwargs | |
8659 | ||
8660 | ||
8661 | def HasRun(self): | |
8662 | return self.hasRun | |
8663 | ||
8664 | def GetResult(self): | |
8665 | return self.result | |
8666 | ||
8667 | def Notify(self): | |
8668 | """ | |
8669 | The timer has expired so call the callable. | |
8670 | """ | |
8671 | if self.callable and getattr(self.callable, 'im_self', True): | |
8672 | self.runCount += 1 | |
b39e211b | 8673 | self.running = False |
0f43fbdf RD |
8674 | self.result = self.callable(*self.args, **self.kwargs) |
8675 | self.hasRun = True | |
b39e211b RD |
8676 | if not self.running: |
8677 | # if it wasn't restarted, then cleanup | |
8678 | wx.CallAfter(self.Stop) | |
0f43fbdf RD |
8679 | |
8680 | ||
781d2982 RD |
8681 | |
8682 | #---------------------------------------------------------------------------- | |
8683 | # Control which items in this module should be documented by epydoc. | |
8684 | # We allow only classes and functions, which will help reduce the size | |
8685 | # of the docs by filtering out the zillions of constants, EVT objects, | |
8686 | # and etc that don't make much sense by themselves, but are instead | |
8687 | # documented (or will be) as part of the classes/functions/methods | |
8688 | # where they should be used. | |
8689 | ||
8690 | class __DocFilter: | |
8691 | """ | |
8692 | A filter for epydoc that only allows non-Ptr classes and | |
8693 | fucntions, in order to reduce the clutter in the API docs. | |
8694 | """ | |
8695 | def __init__(self, globals): | |
8696 | self._globals = globals | |
8697 | ||
8698 | def __call__(self, name): | |
8699 | import types | |
8700 | obj = self._globals.get(name, None) | |
8701 | if type(obj) not in [type, types.ClassType, types.FunctionType, types.BuiltinFunctionType]: | |
8702 | return False | |
8703 | if name.startswith('_') or name.endswith('Ptr') or name.startswith('EVT'): | |
8704 | return False | |
8705 | return True | |
8706 | ||
0f43fbdf RD |
8707 | #---------------------------------------------------------------------------- |
8708 | #---------------------------------------------------------------------------- | |
8709 | ||
8710 | # Import other modules in this package that should show up in the | |
8711 | # "core" wx namespace | |
781d2982 RD |
8712 | from _gdi import * |
8713 | from _windows import * | |
8714 | from _controls import * | |
8715 | from _misc import * | |
0f43fbdf RD |
8716 | |
8717 | ||
8718 | # Fixup the stock objects since they can't be used yet. (They will be | |
8719 | # restored in wx.PyApp.OnInit.) | |
781d2982 | 8720 | _core_._wxPyFixStockObjects() |
0f43fbdf RD |
8721 | |
8722 | #---------------------------------------------------------------------------- | |
8723 | #---------------------------------------------------------------------------- | |
8724 | </pythoncode> | |
f32fc4bc | 8725 | </module> |
781d2982 RD |
8726 | <module name="_gdi"> |
8727 | <import name="_core"/> | |
8728 | <pythoncode> wx = _core </pythoncode> | |
f32fc4bc | 8729 | <pythoncode> |
856bf319 RD |
8730 | #--------------------------------------------------------------------------- |
8731 | </pythoncode> | |
781d2982 | 8732 | <class name="GDIObject" oldname="wxGDIObject" module="_gdi"> |
f32fc4bc RD |
8733 | <baseclass name="Object"/> |
8734 | <constructor name="GDIObject" overloaded="no"> | |
781d2982 | 8735 | <autodoc>__init__(self) -> GDIObject</autodoc> |
f32fc4bc RD |
8736 | </constructor> |
8737 | <destructor name="~wxGDIObject" overloaded="no"> | |
781d2982 | 8738 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
8739 | </destructor> |
8740 | <method name="GetVisible" type="bool" overloaded="no"> | |
781d2982 | 8741 | <autodoc>GetVisible(self) -> bool</autodoc> |
f32fc4bc RD |
8742 | </method> |
8743 | <method name="SetVisible" type="" overloaded="no"> | |
781d2982 | 8744 | <autodoc>SetVisible(self, bool visible)</autodoc> |
f32fc4bc RD |
8745 | <paramlist> |
8746 | <param name="visible" type="bool" default=""/> | |
8747 | </paramlist> | |
8748 | </method> | |
8749 | <method name="IsNull" type="bool" overloaded="no"> | |
781d2982 | 8750 | <autodoc>IsNull(self) -> bool</autodoc> |
f32fc4bc RD |
8751 | </method> |
8752 | </class> | |
8753 | <pythoncode> | |
856bf319 RD |
8754 | #--------------------------------------------------------------------------- |
8755 | </pythoncode> | |
781d2982 RD |
8756 | <class name="Colour" oldname="wxColour" module="_gdi"> |
8757 | <docstring>A colour is an object representing a combination of Red, Green, and | |
8758 | Blue (RGB) intensity values, and is used to determine drawing colours, | |
8759 | window colours, etc. Valid RGB values are in the range 0 to 255. | |
c2dda882 | 8760 | |
781d2982 RD |
8761 | In wxPython there are typemaps that will automatically convert from a |
8762 | colour name, or from a '#RRGGBB' colour hex value string to a | |
8763 | wx.Colour object when calling C++ methods that expect a wxColour. | |
8764 | This means that the following are all equivallent:: | |
c2dda882 RD |
8765 | |
8766 | win.SetBackgroundColour(wxColour(0,0,255)) | |
781d2982 RD |
8767 | win.SetBackgroundColour('BLUE') |
8768 | win.SetBackgroundColour('#0000FF') | |
c2dda882 | 8769 | |
781d2982 RD |
8770 | Additional colour names and their coresponding values can be added |
8771 | using `wx.ColourDatabase`. Various system colours (as set in the | |
8772 | user's system preferences) can be retrieved with | |
8773 | `wx.SystemSettings.GetColour`. | |
8774 | </docstring> | |
f32fc4bc RD |
8775 | <baseclass name="Object"/> |
8776 | <constructor name="Colour" overloaded="no"> | |
781d2982 RD |
8777 | <autodoc>__init__(self, byte red=0, byte green=0, byte blue=0) -> Colour</autodoc> |
8778 | <docstring>Constructs a colour from red, green and blue values. | |
8779 | ||
8780 | :see: Alternate constructors `wx.NamedColour` and `wx.ColourRGB`. | |
8781 | </docstring> | |
f32fc4bc | 8782 | <paramlist> |
781d2982 RD |
8783 | <param name="red" type="byte" default="0"/> |
8784 | <param name="green" type="byte" default="0"/> | |
8785 | <param name="blue" type="byte" default="0"/> | |
f32fc4bc RD |
8786 | </paramlist> |
8787 | </constructor> | |
8788 | <constructor name="NamedColour" overloaded="no"> | |
8789 | <autodoc>NamedColour(String colorName) -> Colour</autodoc> | |
781d2982 RD |
8790 | <docstring>Constructs a colour object using a colour name listed in |
8791 | ``wx.TheColourDatabase``.</docstring> | |
f32fc4bc RD |
8792 | <paramlist> |
8793 | <param name="colorName" type="String" default=""/> | |
8794 | </paramlist> | |
8795 | </constructor> | |
8796 | <constructor name="ColourRGB" overloaded="no"> | |
8797 | <autodoc>ColourRGB(unsigned long colRGB) -> Colour</autodoc> | |
c2dda882 | 8798 | <docstring>Constructs a colour from a packed RGB value.</docstring> |
f32fc4bc RD |
8799 | <paramlist> |
8800 | <param name="colRGB" type="unsigned long" default=""/> | |
8801 | </paramlist> | |
8802 | </constructor> | |
8803 | <destructor name="~wxColour" overloaded="no"> | |
781d2982 | 8804 | <autodoc>__del__(self)</autodoc> |
f32fc4bc | 8805 | </destructor> |
781d2982 RD |
8806 | <method name="Red" type="byte" overloaded="no"> |
8807 | <autodoc>Red(self) -> byte</autodoc> | |
c2dda882 | 8808 | <docstring>Returns the red intensity.</docstring> |
f32fc4bc | 8809 | </method> |
781d2982 RD |
8810 | <method name="Green" type="byte" overloaded="no"> |
8811 | <autodoc>Green(self) -> byte</autodoc> | |
c2dda882 | 8812 | <docstring>Returns the green intensity.</docstring> |
f32fc4bc | 8813 | </method> |
781d2982 RD |
8814 | <method name="Blue" type="byte" overloaded="no"> |
8815 | <autodoc>Blue(self) -> byte</autodoc> | |
c2dda882 | 8816 | <docstring>Returns the blue intensity.</docstring> |
f32fc4bc RD |
8817 | </method> |
8818 | <method name="Ok" type="bool" overloaded="no"> | |
781d2982 | 8819 | <autodoc>Ok(self) -> bool</autodoc> |
c2dda882 RD |
8820 | <docstring>Returns True if the colour object is valid (the colour has been |
8821 | initialised with RGB values).</docstring> | |
f32fc4bc RD |
8822 | </method> |
8823 | <method name="Set" type="" overloaded="no"> | |
781d2982 | 8824 | <autodoc>Set(self, byte red, byte green, byte blue)</autodoc> |
c2dda882 | 8825 | <docstring>Sets the RGB intensity values.</docstring> |
f32fc4bc | 8826 | <paramlist> |
781d2982 RD |
8827 | <param name="red" type="byte" default=""/> |
8828 | <param name="green" type="byte" default=""/> | |
8829 | <param name="blue" type="byte" default=""/> | |
f32fc4bc RD |
8830 | </paramlist> |
8831 | </method> | |
8832 | <method name="SetRGB" type="" overloaded="no"> | |
781d2982 | 8833 | <autodoc>SetRGB(self, unsigned long colRGB)</autodoc> |
c2dda882 | 8834 | <docstring>Sets the RGB intensity values from a packed RGB value.</docstring> |
f32fc4bc RD |
8835 | <paramlist> |
8836 | <param name="colRGB" type="unsigned long" default=""/> | |
8837 | </paramlist> | |
8838 | </method> | |
c2dda882 | 8839 | <method name="SetFromName" type="" overloaded="no"> |
781d2982 RD |
8840 | <autodoc>SetFromName(self, String colourName)</autodoc> |
8841 | <docstring>Sets the RGB intensity values using a colour name listed in | |
8842 | ``wx.TheColourDatabase``.</docstring> | |
c2dda882 RD |
8843 | <paramlist> |
8844 | <param name="colourName" type="String" default=""/> | |
8845 | </paramlist> | |
8846 | </method> | |
8847 | <method name="GetPixel" type="long" overloaded="no"> | |
781d2982 | 8848 | <autodoc>GetPixel(self) -> long</autodoc> |
c2dda882 | 8849 | <docstring>Returns a pixel value which is platform-dependent. On Windows, a |
781d2982 RD |
8850 | COLORREF is returned. On X, an allocated pixel value is returned. -1 |
8851 | is returned if the pixel is invalid (on X, unallocated).</docstring> | |
c2dda882 | 8852 | </method> |
f32fc4bc | 8853 | <method name="__eq__" type="bool" overloaded="no"> |
781d2982 | 8854 | <autodoc>__eq__(self, Colour colour) -> bool</autodoc> |
c2dda882 | 8855 | <docstring>Compare colours for equality</docstring> |
f32fc4bc RD |
8856 | <paramlist> |
8857 | <param name="colour" type="Colour" default=""/> | |
8858 | </paramlist> | |
8859 | </method> | |
8860 | <method name="__ne__" type="bool" overloaded="no"> | |
781d2982 | 8861 | <autodoc>__ne__(self, Colour colour) -> bool</autodoc> |
c2dda882 | 8862 | <docstring>Compare colours for inequality</docstring> |
f32fc4bc RD |
8863 | <paramlist> |
8864 | <param name="colour" type="Colour" default=""/> | |
8865 | </paramlist> | |
8866 | </method> | |
f32fc4bc | 8867 | <method name="Get" type="PyObject" overloaded="no"> |
c2dda882 RD |
8868 | <autodoc>Get() -> (r, g, b)</autodoc> |
8869 | <docstring>Returns the RGB intensity values as a tuple.</docstring> | |
8870 | </method> | |
8871 | <method name="GetRGB" type="unsigned long" overloaded="no"> | |
781d2982 | 8872 | <autodoc>GetRGB(self) -> unsigned long</autodoc> |
c2dda882 | 8873 | <docstring>Return the colour as a packed RGB value</docstring> |
f32fc4bc RD |
8874 | </method> |
8875 | </class> | |
856bf319 | 8876 | <pythoncode> |
856bf319 RD |
8877 | Color = Colour |
8878 | NamedColor = NamedColour | |
8879 | ColorRGB = ColourRGB | |
8880 | </pythoncode> | |
781d2982 | 8881 | <class name="Palette" oldname="wxPalette" module="_gdi"> |
f32fc4bc RD |
8882 | <baseclass name="GDIObject"/> |
8883 | <constructor name="Palette" overloaded="no"> | |
781d2982 | 8884 | <autodoc>__init__(self, int n, unsigned char red, unsigned char green, unsigned char blue) -> Palette</autodoc> |
f32fc4bc RD |
8885 | <paramlist> |
8886 | <param name="n" type="int" default=""/> | |
8887 | <param name="red" type="unsigned char" default=""/> | |
8888 | <param name="green" type="unsigned char" default=""/> | |
8889 | <param name="blue" type="unsigned char" default=""/> | |
8890 | </paramlist> | |
8891 | </constructor> | |
8892 | <destructor name="~wxPalette" overloaded="no"> | |
781d2982 | 8893 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
8894 | </destructor> |
8895 | <method name="GetPixel" type="int" overloaded="no"> | |
781d2982 | 8896 | <autodoc>GetPixel(self, byte red, byte green, byte blue) -> int</autodoc> |
f32fc4bc RD |
8897 | <paramlist> |
8898 | <param name="red" type="byte" default=""/> | |
8899 | <param name="green" type="byte" default=""/> | |
8900 | <param name="blue" type="byte" default=""/> | |
8901 | </paramlist> | |
8902 | </method> | |
8903 | <method name="GetRGB" type="bool" overloaded="no"> | |
8904 | <autodoc>GetRGB(int pixel) -> (R,G,B)</autodoc> | |
8905 | <paramlist> | |
8906 | <param name="pixel" type="int" default=""/> | |
8907 | <param name="OUTPUT" type="byte" default=""/> | |
8908 | <param name="OUTPUT" type="byte" default=""/> | |
8909 | <param name="OUTPUT" type="byte" default=""/> | |
8910 | </paramlist> | |
8911 | </method> | |
8912 | <method name="Ok" type="bool" overloaded="no"> | |
781d2982 | 8913 | <autodoc>Ok(self) -> bool</autodoc> |
f32fc4bc RD |
8914 | </method> |
8915 | </class> | |
8916 | <pythoncode> | |
856bf319 RD |
8917 | #--------------------------------------------------------------------------- |
8918 | </pythoncode> | |
781d2982 | 8919 | <class name="Pen" oldname="wxPen" module="_gdi"> |
f32fc4bc RD |
8920 | <baseclass name="GDIObject"/> |
8921 | <constructor name="Pen" overloaded="no"> | |
781d2982 | 8922 | <autodoc>__init__(self, Colour colour, int width=1, int style=SOLID) -> Pen</autodoc> |
f32fc4bc RD |
8923 | <paramlist> |
8924 | <param name="colour" type="Colour" default=""/> | |
8925 | <param name="width" type="int" default="1"/> | |
8926 | <param name="style" type="int" default="wxSOLID"/> | |
8927 | </paramlist> | |
8928 | </constructor> | |
8929 | <destructor name="~wxPen" overloaded="no"> | |
781d2982 | 8930 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
8931 | </destructor> |
8932 | <method name="GetCap" type="int" overloaded="no"> | |
781d2982 | 8933 | <autodoc>GetCap(self) -> int</autodoc> |
f32fc4bc RD |
8934 | </method> |
8935 | <method name="GetColour" type="Colour" overloaded="no"> | |
781d2982 | 8936 | <autodoc>GetColour(self) -> Colour</autodoc> |
f32fc4bc RD |
8937 | </method> |
8938 | <method name="GetJoin" type="int" overloaded="no"> | |
781d2982 | 8939 | <autodoc>GetJoin(self) -> int</autodoc> |
f32fc4bc RD |
8940 | </method> |
8941 | <method name="GetStyle" type="int" overloaded="no"> | |
781d2982 | 8942 | <autodoc>GetStyle(self) -> int</autodoc> |
f32fc4bc RD |
8943 | </method> |
8944 | <method name="GetWidth" type="int" overloaded="no"> | |
781d2982 | 8945 | <autodoc>GetWidth(self) -> int</autodoc> |
f32fc4bc RD |
8946 | </method> |
8947 | <method name="Ok" type="bool" overloaded="no"> | |
781d2982 | 8948 | <autodoc>Ok(self) -> bool</autodoc> |
f32fc4bc RD |
8949 | </method> |
8950 | <method name="SetCap" type="" overloaded="no"> | |
781d2982 | 8951 | <autodoc>SetCap(self, int cap_style)</autodoc> |
f32fc4bc RD |
8952 | <paramlist> |
8953 | <param name="cap_style" type="int" default=""/> | |
8954 | </paramlist> | |
8955 | </method> | |
8956 | <method name="SetColour" type="" overloaded="no"> | |
781d2982 | 8957 | <autodoc>SetColour(self, Colour colour)</autodoc> |
f32fc4bc RD |
8958 | <paramlist> |
8959 | <param name="colour" type="Colour" default=""/> | |
8960 | </paramlist> | |
8961 | </method> | |
8962 | <method name="SetJoin" type="" overloaded="no"> | |
781d2982 | 8963 | <autodoc>SetJoin(self, int join_style)</autodoc> |
f32fc4bc RD |
8964 | <paramlist> |
8965 | <param name="join_style" type="int" default=""/> | |
8966 | </paramlist> | |
8967 | </method> | |
8968 | <method name="SetStyle" type="" overloaded="no"> | |
781d2982 | 8969 | <autodoc>SetStyle(self, int style)</autodoc> |
f32fc4bc RD |
8970 | <paramlist> |
8971 | <param name="style" type="int" default=""/> | |
8972 | </paramlist> | |
8973 | </method> | |
8974 | <method name="SetWidth" type="" overloaded="no"> | |
781d2982 | 8975 | <autodoc>SetWidth(self, int width)</autodoc> |
f32fc4bc RD |
8976 | <paramlist> |
8977 | <param name="width" type="int" default=""/> | |
8978 | </paramlist> | |
8979 | </method> | |
8980 | <method name="SetDashes" type="" overloaded="no"> | |
781d2982 | 8981 | <autodoc>SetDashes(self, int dashes, wxDash dashes_array)</autodoc> |
f32fc4bc RD |
8982 | <paramlist> |
8983 | <param name="dashes" type="int" default=""/> | |
8984 | <param name="dashes_array" type="wxDash" default=""/> | |
8985 | </paramlist> | |
8986 | </method> | |
8987 | <method name="GetDashes" type="PyObject" overloaded="no"> | |
781d2982 | 8988 | <autodoc>GetDashes(self) -> PyObject</autodoc> |
c2dda882 | 8989 | </method> |
781d2982 RD |
8990 | <method name="_SetDashes" type="" overloaded="no"> |
8991 | <autodoc>_SetDashes(self, PyObject _self, PyObject pyDashes)</autodoc> | |
c2dda882 | 8992 | <paramlist> |
781d2982 RD |
8993 | <param name="_self" type="PyObject" default=""/> |
8994 | <param name="pyDashes" type="PyObject" default=""/> | |
f32fc4bc RD |
8995 | </paramlist> |
8996 | </method> | |
8997 | <method name="GetDashCount" type="int" overloaded="no"> | |
781d2982 | 8998 | <autodoc>GetDashCount(self) -> int</autodoc> |
f32fc4bc | 8999 | </method> |
781d2982 RD |
9000 | <method name="__eq__" type="bool" overloaded="no"> |
9001 | <autodoc>__eq__(self, Pen other) -> bool</autodoc> | |
f32fc4bc | 9002 | <paramlist> |
781d2982 | 9003 | <param name="other" type="Pen" default=""/> |
f32fc4bc | 9004 | </paramlist> |
781d2982 RD |
9005 | </method> |
9006 | <method name="__ne__" type="bool" overloaded="no"> | |
9007 | <autodoc>__ne__(self, Pen other) -> bool</autodoc> | |
f32fc4bc | 9008 | <paramlist> |
781d2982 | 9009 | <param name="other" type="Pen" default=""/> |
f32fc4bc RD |
9010 | </paramlist> |
9011 | </method> | |
9012 | </class> | |
f32fc4bc | 9013 | <pythoncode> |
856bf319 RD |
9014 | #--------------------------------------------------------------------------- |
9015 | </pythoncode> | |
781d2982 RD |
9016 | <class name="Brush" oldname="wxBrush" module="_gdi"> |
9017 | <docstring>A brush is a drawing tool for filling in areas. It is used for | |
9018 | painting the background of rectangles, ellipses, etc. when drawing on | |
ce6878e6 RD |
9019 | a `wx.DC`. It has a colour and a style. |
9020 | ||
9021 | :warning: Do not create instances of wx.Brush before the `wx.App` | |
9022 | object has been created because, depending on the platform, | |
9023 | required internal data structures may not have been initialized | |
9024 | yet. Instead create your brushes in the app's OnInit or as they | |
9025 | are needed for drawing. | |
9026 | ||
9027 | :note: On monochrome displays all brushes are white, unless the colour | |
9028 | really is black. | |
9029 | ||
9030 | :see: `wx.BrushList`, `wx.DC`, `wx.DC.SetBrush` | |
9031 | </docstring> | |
f32fc4bc RD |
9032 | <baseclass name="GDIObject"/> |
9033 | <constructor name="Brush" overloaded="no"> | |
781d2982 | 9034 | <autodoc>__init__(self, Colour colour, int style=SOLID) -> Brush</autodoc> |
ce6878e6 RD |
9035 | <docstring>Constructs a brush from a `wx.Colour` object and a style.The style parameter may be one of the following: |
9036 | ||
9037 | =================== ============================= | |
9038 | Style Meaning | |
9039 | =================== ============================= | |
9040 | wx.TRANSPARENT Transparent (no fill). | |
9041 | wx.SOLID Solid. | |
9042 | wx.STIPPLE Uses a bitmap as a stipple. | |
9043 | wx.BDIAGONAL_HATCH Backward diagonal hatch. | |
9044 | wx.CROSSDIAG_HATCH Cross-diagonal hatch. | |
9045 | wx.FDIAGONAL_HATCH Forward diagonal hatch. | |
9046 | wx.CROSS_HATCH Cross hatch. | |
9047 | wx.HORIZONTAL_HATCH Horizontal hatch. | |
9048 | wx.VERTICAL_HATCH Vertical hatch. | |
9049 | =================== ============================= | |
9050 | ||
9051 | </docstring> | |
f32fc4bc RD |
9052 | <paramlist> |
9053 | <param name="colour" type="Colour" default=""/> | |
9054 | <param name="style" type="int" default="wxSOLID"/> | |
9055 | </paramlist> | |
9056 | </constructor> | |
9057 | <destructor name="~wxBrush" overloaded="no"> | |
781d2982 | 9058 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
9059 | </destructor> |
9060 | <method name="SetColour" type="" overloaded="no"> | |
781d2982 RD |
9061 | <autodoc>SetColour(self, Colour col)</autodoc> |
9062 | <docstring>Set the brush's `wx.Colour`.</docstring> | |
f32fc4bc RD |
9063 | <paramlist> |
9064 | <param name="col" type="Colour" default=""/> | |
9065 | </paramlist> | |
9066 | </method> | |
9067 | <method name="SetStyle" type="" overloaded="no"> | |
781d2982 RD |
9068 | <autodoc>SetStyle(self, int style)</autodoc> |
9069 | <docstring>Sets the style of the brush. See `__init__` for a listing of styles.</docstring> | |
f32fc4bc RD |
9070 | <paramlist> |
9071 | <param name="style" type="int" default=""/> | |
9072 | </paramlist> | |
9073 | </method> | |
9074 | <method name="SetStipple" type="" overloaded="no"> | |
781d2982 RD |
9075 | <autodoc>SetStipple(self, Bitmap stipple)</autodoc> |
9076 | <docstring>Sets the stipple `wx.Bitmap`.</docstring> | |
f32fc4bc RD |
9077 | <paramlist> |
9078 | <param name="stipple" type="wxBitmap" default=""/> | |
9079 | </paramlist> | |
9080 | </method> | |
9081 | <method name="GetColour" type="Colour" overloaded="no"> | |
781d2982 RD |
9082 | <autodoc>GetColour(self) -> Colour</autodoc> |
9083 | <docstring>Returns the `wx.Colour` of the brush.</docstring> | |
f32fc4bc RD |
9084 | </method> |
9085 | <method name="GetStyle" type="int" overloaded="no"> | |
781d2982 RD |
9086 | <autodoc>GetStyle(self) -> int</autodoc> |
9087 | <docstring>Returns the style of the brush. See `__init__` for a listing of | |
9088 | styles.</docstring> | |
f32fc4bc RD |
9089 | </method> |
9090 | <method name="GetStipple" type="wxBitmap" overloaded="no"> | |
781d2982 RD |
9091 | <autodoc>GetStipple(self) -> Bitmap</autodoc> |
9092 | <docstring>Returns the stiple `wx.Bitmap` of the brush. If the brush does not | |
9093 | have a wx.STIPPLE style, then the return value may be non-None but an | |
9094 | uninitialised bitmap (`wx.Bitmap.Ok` returns False).</docstring> | |
f32fc4bc RD |
9095 | </method> |
9096 | <method name="Ok" type="bool" overloaded="no"> | |
781d2982 RD |
9097 | <autodoc>Ok(self) -> bool</autodoc> |
9098 | <docstring>Returns True if the brush is initialised and valid.</docstring> | |
f32fc4bc RD |
9099 | </method> |
9100 | </class> | |
781d2982 RD |
9101 | <class name="Bitmap" oldname="wxBitmap" module="_gdi"> |
9102 | <docstring>The wx.Bitmap class encapsulates the concept of a platform-dependent | |
9103 | bitmap. It can be either monochrome or colour, and either loaded from | |
9104 | a file or created dynamically. A bitmap can be selected into a memory | |
9105 | device context (instance of `wx.MemoryDC`). This enables the bitmap to | |
9106 | be copied to a window or memory device context using `wx.DC.Blit`, or | |
ce6878e6 RD |
9107 | to be used as a drawing surface. |
9108 | ||
9109 | The BMP and XMP image file formats are supported on all platforms by | |
9110 | wx.Bitmap. Other formats are automatically loaded by `wx.Image` and | |
9111 | converted to a wx.Bitmap, so any image file format supported by | |
9112 | `wx.Image` can be used. | |
9113 | ||
9114 | :todo: Add wrappers and support for raw bitmap data access. Can this | |
9115 | be be put into Python without losing the speed benefits of the | |
9116 | teplates and iterators in rawbmp.h? | |
9117 | ||
9118 | :todo: Find a way to do very efficient PIL Image <--> wx.Bitmap | |
9119 | converstions. | |
9120 | </docstring> | |
f32fc4bc RD |
9121 | <baseclass name="GDIObject"/> |
9122 | <constructor name="Bitmap" overloaded="no"> | |
781d2982 | 9123 | <autodoc>__init__(self, String name, int type=BITMAP_TYPE_ANY) -> Bitmap</autodoc> |
ce6878e6 RD |
9124 | <docstring>Loads a bitmap from a file. |
9125 | :param name: Name of the file to load the bitmap from. | |
9126 | :param type: The type of image to expect. Can be one of the following | |
9127 | constants (assuming that the neccessary `wx.Image` handlers are | |
9128 | loaded): | |
9129 | ||
9130 | * wx.BITMAP_TYPE_ANY | |
9131 | * wx.BITMAP_TYPE_BMP | |
9132 | * wx.BITMAP_TYPE_ICO | |
9133 | * wx.BITMAP_TYPE_CUR | |
9134 | * wx.BITMAP_TYPE_XBM | |
9135 | * wx.BITMAP_TYPE_XPM | |
9136 | * wx.BITMAP_TYPE_TIF | |
9137 | * wx.BITMAP_TYPE_GIF | |
9138 | * wx.BITMAP_TYPE_PNG | |
9139 | * wx.BITMAP_TYPE_JPEG | |
9140 | * wx.BITMAP_TYPE_PNM | |
9141 | * wx.BITMAP_TYPE_PCX | |
9142 | * wx.BITMAP_TYPE_PICT | |
9143 | * wx.BITMAP_TYPE_ICON | |
9144 | * wx.BITMAP_TYPE_ANI | |
9145 | * wx.BITMAP_TYPE_IFF | |
9146 | ||
9147 | :see: Alternate constructors `wx.EmptyBitmap`, `wx.BitmapFromIcon`, | |
9148 | `wx.BitmapFromImage`, `wx.BitmapFromXPMData`, | |
9149 | `wx.BitmapFromBits` | |
9150 | </docstring> | |
f32fc4bc RD |
9151 | <paramlist> |
9152 | <param name="name" type="String" default=""/> | |
9153 | <param name="type" type="wxBitmapType" default="wxBITMAP_TYPE_ANY"/> | |
9154 | </paramlist> | |
9155 | </constructor> | |
9156 | <constructor name="EmptyBitmap" overloaded="no"> | |
9157 | <autodoc>EmptyBitmap(int width, int height, int depth=-1) -> Bitmap</autodoc> | |
781d2982 RD |
9158 | <docstring>Creates a new bitmap of the given size. A depth of -1 indicates the |
9159 | depth of the current screen or visual. Some platforms only support 1 | |
9160 | for monochrome and -1 for the current colour setting.</docstring> | |
f32fc4bc RD |
9161 | <paramlist> |
9162 | <param name="width" type="int" default=""/> | |
9163 | <param name="height" type="int" default=""/> | |
9164 | <param name="depth" type="int" default="-1"/> | |
9165 | </paramlist> | |
9166 | </constructor> | |
9167 | <constructor name="BitmapFromIcon" overloaded="no"> | |
9168 | <autodoc>BitmapFromIcon(Icon icon) -> Bitmap</autodoc> | |
781d2982 | 9169 | <docstring>Create a new bitmap from a `wx.Icon` object.</docstring> |
f32fc4bc RD |
9170 | <paramlist> |
9171 | <param name="icon" type="wxIcon" default=""/> | |
9172 | </paramlist> | |
9173 | </constructor> | |
9174 | <constructor name="BitmapFromImage" overloaded="no"> | |
9175 | <autodoc>BitmapFromImage(Image image, int depth=-1) -> Bitmap</autodoc> | |
781d2982 RD |
9176 | <docstring>Creates bitmap object from a `wx.Image`. This has to be done to |
9177 | actually display a `wx.Image` as you cannot draw an image directly on | |
9178 | a window. The resulting bitmap will use the provided colour depth (or | |
9179 | that of the current screen colour depth if depth is -1) which entails | |
9180 | that a colour reduction may have to take place.</docstring> | |
f32fc4bc RD |
9181 | <paramlist> |
9182 | <param name="image" type="Image" default=""/> | |
9183 | <param name="depth" type="int" default="-1"/> | |
9184 | </paramlist> | |
9185 | </constructor> | |
9186 | <constructor name="BitmapFromXPMData" overloaded="no"> | |
9187 | <autodoc>BitmapFromXPMData(PyObject listOfStrings) -> Bitmap</autodoc> | |
9188 | <docstring>Construct a Bitmap from a list of strings formatted as XPM data.</docstring> | |
9189 | <paramlist> | |
9190 | <param name="listOfStrings" type="PyObject" default=""/> | |
9191 | </paramlist> | |
9192 | </constructor> | |
9193 | <constructor name="BitmapFromBits" overloaded="no"> | |
9194 | <autodoc>BitmapFromBits(PyObject bits, int width, int height, int depth=1) -> Bitmap</autodoc> | |
781d2982 RD |
9195 | <docstring>Creates a bitmap from an array of bits. You should only use this |
9196 | function for monochrome bitmaps (depth 1) in portable programs: in | |
9197 | this case the bits parameter should contain an XBM image. For other | |
9198 | bit depths, the behaviour is platform dependent.</docstring> | |
f32fc4bc RD |
9199 | <paramlist> |
9200 | <param name="bits" type="PyObject" default=""/> | |
9201 | <param name="width" type="int" default=""/> | |
9202 | <param name="height" type="int" default=""/> | |
9203 | <param name="depth" type="int" default="1"/> | |
9204 | </paramlist> | |
9205 | </constructor> | |
9206 | <destructor name="~wxBitmap" overloaded="no"> | |
781d2982 | 9207 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
9208 | </destructor> |
9209 | <method name="Ok" type="bool" overloaded="no"> | |
781d2982 | 9210 | <autodoc>Ok(self) -> bool</autodoc> |
f32fc4bc RD |
9211 | </method> |
9212 | <method name="GetWidth" type="int" overloaded="no"> | |
781d2982 | 9213 | <autodoc>GetWidth(self) -> int</autodoc> |
f32fc4bc RD |
9214 | <docstring>Gets the width of the bitmap in pixels.</docstring> |
9215 | </method> | |
9216 | <method name="GetHeight" type="int" overloaded="no"> | |
781d2982 | 9217 | <autodoc>GetHeight(self) -> int</autodoc> |
f32fc4bc RD |
9218 | <docstring>Gets the height of the bitmap in pixels.</docstring> |
9219 | </method> | |
9220 | <method name="GetDepth" type="int" overloaded="no"> | |
781d2982 | 9221 | <autodoc>GetDepth(self) -> int</autodoc> |
f32fc4bc | 9222 | <docstring>Gets the colour depth of the bitmap. A value of 1 indicates a |
856bf319 | 9223 | monochrome bitmap.</docstring> |
f32fc4bc | 9224 | </method> |
781d2982 RD |
9225 | <method name="GetSize" type="Size" overloaded="no"> |
9226 | <autodoc>GetSize(self) -> Size</autodoc> | |
9227 | <docstring>Get the size of the bitmap.</docstring> | |
9228 | </method> | |
f32fc4bc | 9229 | <method name="ConvertToImage" type="Image" overloaded="no"> |
781d2982 RD |
9230 | <autodoc>ConvertToImage(self) -> Image</autodoc> |
9231 | <docstring>Creates a platform-independent image from a platform-dependent | |
9232 | bitmap. This preserves mask information so that bitmaps and images can | |
9233 | be converted back and forth without loss in that respect.</docstring> | |
f32fc4bc RD |
9234 | </method> |
9235 | <method name="GetMask" type="wxMask" overloaded="no"> | |
781d2982 RD |
9236 | <autodoc>GetMask(self) -> Mask</autodoc> |
9237 | <docstring>Gets the associated mask (if any) which may have been loaded from a | |
9238 | file or explpicitly set for the bitmap. | |
9239 | ||
9240 | :see: `SetMask`, `wx.Mask` | |
9241 | </docstring> | |
f32fc4bc RD |
9242 | </method> |
9243 | <method name="SetMask" type="" overloaded="no"> | |
781d2982 RD |
9244 | <autodoc>SetMask(self, Mask mask)</autodoc> |
9245 | <docstring>Sets the mask for this bitmap. | |
9246 | ||
9247 | :see: `GetMask`, `wx.Mask` | |
9248 | </docstring> | |
f32fc4bc RD |
9249 | <paramlist> |
9250 | <param name="mask" type="wxMask" default=""/> | |
9251 | </paramlist> | |
9252 | </method> | |
9253 | <method name="SetMaskColour" type="" overloaded="no"> | |
781d2982 | 9254 | <autodoc>SetMaskColour(self, Colour colour)</autodoc> |
f32fc4bc RD |
9255 | <docstring>Create a Mask based on a specified colour in the Bitmap.</docstring> |
9256 | <paramlist> | |
9257 | <param name="colour" type="Colour" default=""/> | |
9258 | </paramlist> | |
9259 | </method> | |
9260 | <method name="GetSubBitmap" type="Bitmap" overloaded="no"> | |
781d2982 RD |
9261 | <autodoc>GetSubBitmap(self, Rect rect) -> Bitmap</autodoc> |
9262 | <docstring>Returns a sub-bitmap of the current one as long as the rect belongs | |
9263 | entirely to the bitmap. This function preserves bit depth and mask | |
9264 | information.</docstring> | |
f32fc4bc RD |
9265 | <paramlist> |
9266 | <param name="rect" type="Rect" default=""/> | |
9267 | </paramlist> | |
9268 | </method> | |
9269 | <method name="SaveFile" type="bool" overloaded="no"> | |
781d2982 RD |
9270 | <autodoc>SaveFile(self, String name, int type, Palette palette=None) -> bool</autodoc> |
9271 | <docstring>Saves a bitmap in the named file. See `__init__` for a description of | |
9272 | the ``type`` parameter.</docstring> | |
f32fc4bc RD |
9273 | <paramlist> |
9274 | <param name="name" type="String" default=""/> | |
9275 | <param name="type" type="wxBitmapType" default=""/> | |
781d2982 | 9276 | <param name="palette" type="Palette" default="NULL"/> |
f32fc4bc RD |
9277 | </paramlist> |
9278 | </method> | |
9279 | <method name="LoadFile" type="bool" overloaded="no"> | |
781d2982 RD |
9280 | <autodoc>LoadFile(self, String name, int type) -> bool</autodoc> |
9281 | <docstring>Loads a bitmap from a file. See `__init__` for a description of the | |
9282 | ``type`` parameter.</docstring> | |
f32fc4bc RD |
9283 | <paramlist> |
9284 | <param name="name" type="String" default=""/> | |
9285 | <param name="type" type="wxBitmapType" default=""/> | |
9286 | </paramlist> | |
9287 | </method> | |
9288 | <method name="CopyFromIcon" type="bool" overloaded="no"> | |
781d2982 | 9289 | <autodoc>CopyFromIcon(self, Icon icon) -> bool</autodoc> |
f32fc4bc RD |
9290 | <paramlist> |
9291 | <param name="icon" type="wxIcon" default=""/> | |
9292 | </paramlist> | |
9293 | </method> | |
9294 | <method name="SetHeight" type="" overloaded="no"> | |
781d2982 RD |
9295 | <autodoc>SetHeight(self, int height)</autodoc> |
9296 | <docstring>Set the height property (does not affect the existing bitmap data).</docstring> | |
f32fc4bc RD |
9297 | <paramlist> |
9298 | <param name="height" type="int" default=""/> | |
9299 | </paramlist> | |
9300 | </method> | |
9301 | <method name="SetWidth" type="" overloaded="no"> | |
781d2982 RD |
9302 | <autodoc>SetWidth(self, int width)</autodoc> |
9303 | <docstring>Set the width property (does not affect the existing bitmap data).</docstring> | |
f32fc4bc RD |
9304 | <paramlist> |
9305 | <param name="width" type="int" default=""/> | |
9306 | </paramlist> | |
9307 | </method> | |
9308 | <method name="SetDepth" type="" overloaded="no"> | |
781d2982 RD |
9309 | <autodoc>SetDepth(self, int depth)</autodoc> |
9310 | <docstring>Set the depth property (does not affect the existing bitmap data).</docstring> | |
f32fc4bc RD |
9311 | <paramlist> |
9312 | <param name="depth" type="int" default=""/> | |
9313 | </paramlist> | |
9314 | </method> | |
781d2982 RD |
9315 | <method name="SetSize" type="" overloaded="no"> |
9316 | <autodoc>SetSize(self, Size size)</autodoc> | |
9317 | <docstring>Set the bitmap size (does not affect the existing bitmap data).</docstring> | |
9318 | <paramlist> | |
9319 | <param name="size" type="Size" default=""/> | |
9320 | </paramlist> | |
9321 | </method> | |
b39e211b | 9322 | <method name="__eq__" type="bool" overloaded="no"> |
781d2982 | 9323 | <autodoc>__eq__(self, Bitmap other) -> bool</autodoc> |
b39e211b RD |
9324 | <paramlist> |
9325 | <param name="other" type="Bitmap" default=""/> | |
9326 | </paramlist> | |
9327 | </method> | |
9328 | <method name="__ne__" type="bool" overloaded="no"> | |
781d2982 | 9329 | <autodoc>__ne__(self, Bitmap other) -> bool</autodoc> |
b39e211b RD |
9330 | <paramlist> |
9331 | <param name="other" type="Bitmap" default=""/> | |
9332 | </paramlist> | |
9333 | </method> | |
f32fc4bc | 9334 | </class> |
781d2982 RD |
9335 | <class name="Mask" oldname="wxMask" module="_gdi"> |
9336 | <docstring>This class encapsulates a monochrome mask bitmap, where the masked | |
9337 | area is black and the unmasked area is white. When associated with a | |
9338 | bitmap and drawn in a device context, the unmasked area of the bitmap | |
9339 | will be drawn, and the masked area will not be drawn. | |
9340 | ||
9341 | A mask may be associated with a `wx.Bitmap`. It is used in | |
9342 | `wx.DC.DrawBitmap` or `wx.DC.Blit` when the source device context is a | |
9343 | `wx.MemoryDC` with a `wx.Bitmap` selected into it that contains a | |
9344 | mask.</docstring> | |
f32fc4bc RD |
9345 | <baseclass name="Object"/> |
9346 | <constructor name="Mask" overloaded="no"> | |
781d2982 RD |
9347 | <autodoc>__init__(self, Bitmap bitmap, Colour colour=NullColour) -> Mask</autodoc> |
9348 | <docstring>Constructs a mask from a `wx.Bitmap` and a `wx.Colour` in that bitmap | |
9349 | that indicates the transparent portions of the mask. In other words, | |
9350 | the pixels in ``bitmap`` that match ``colour`` will be the transparent | |
9351 | portions of the mask. If no ``colour`` or an invalid ``colour`` is | |
9352 | passed then BLACK is used. | |
9353 | ||
9354 | :see: `wx.Bitmap`, `wx.Colour`</docstring> | |
f32fc4bc RD |
9355 | <paramlist> |
9356 | <param name="bitmap" type="Bitmap" default=""/> | |
9357 | <param name="colour" type="Colour" default="wxNullColour"/> | |
9358 | </paramlist> | |
9359 | </constructor> | |
9360 | </class> | |
781d2982 RD |
9361 | <pythoncode> MaskColour = wx._deprecated(Mask, "wx.MaskColour is deprecated, use `wx.Mask` instead.") </pythoncode> |
9362 | <class name="Icon" oldname="wxIcon" module="_gdi"> | |
f32fc4bc RD |
9363 | <baseclass name="GDIObject"/> |
9364 | <constructor name="Icon" overloaded="no"> | |
781d2982 | 9365 | <autodoc>__init__(self, String name, int type, int desiredWidth=-1, int desiredHeight=-1) -> Icon</autodoc> |
f32fc4bc RD |
9366 | <paramlist> |
9367 | <param name="name" type="String" default=""/> | |
9368 | <param name="type" type="wxBitmapType" default=""/> | |
9369 | <param name="desiredWidth" type="int" default="-1"/> | |
9370 | <param name="desiredHeight" type="int" default="-1"/> | |
9371 | </paramlist> | |
9372 | </constructor> | |
9373 | <constructor name="EmptyIcon" overloaded="no"> | |
9374 | <autodoc>EmptyIcon() -> Icon</autodoc> | |
9375 | </constructor> | |
9376 | <constructor name="IconFromLocation" overloaded="no"> | |
9377 | <autodoc>IconFromLocation(IconLocation loc) -> Icon</autodoc> | |
9378 | <paramlist> | |
9379 | <param name="loc" type="wxIconLocation" default=""/> | |
9380 | </paramlist> | |
9381 | </constructor> | |
9382 | <constructor name="IconFromBitmap" overloaded="no"> | |
9383 | <autodoc>IconFromBitmap(Bitmap bmp) -> Icon</autodoc> | |
9384 | <paramlist> | |
9385 | <param name="bmp" type="Bitmap" default=""/> | |
9386 | </paramlist> | |
9387 | </constructor> | |
9388 | <constructor name="IconFromXPMData" overloaded="no"> | |
9389 | <autodoc>IconFromXPMData(PyObject listOfStrings) -> Icon</autodoc> | |
9390 | <paramlist> | |
9391 | <param name="listOfStrings" type="PyObject" default=""/> | |
9392 | </paramlist> | |
9393 | </constructor> | |
9394 | <destructor name="~wxIcon" overloaded="no"> | |
781d2982 | 9395 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
9396 | </destructor> |
9397 | <method name="LoadFile" type="bool" overloaded="no"> | |
781d2982 | 9398 | <autodoc>LoadFile(self, String name, int type) -> bool</autodoc> |
f32fc4bc RD |
9399 | <paramlist> |
9400 | <param name="name" type="String" default=""/> | |
9401 | <param name="type" type="wxBitmapType" default=""/> | |
9402 | </paramlist> | |
9403 | </method> | |
9404 | <method name="Ok" type="bool" overloaded="no"> | |
781d2982 | 9405 | <autodoc>Ok(self) -> bool</autodoc> |
f32fc4bc RD |
9406 | </method> |
9407 | <method name="GetWidth" type="int" overloaded="no"> | |
781d2982 | 9408 | <autodoc>GetWidth(self) -> int</autodoc> |
f32fc4bc RD |
9409 | </method> |
9410 | <method name="GetHeight" type="int" overloaded="no"> | |
781d2982 | 9411 | <autodoc>GetHeight(self) -> int</autodoc> |
f32fc4bc RD |
9412 | </method> |
9413 | <method name="GetDepth" type="int" overloaded="no"> | |
781d2982 | 9414 | <autodoc>GetDepth(self) -> int</autodoc> |
f32fc4bc RD |
9415 | </method> |
9416 | <method name="SetWidth" type="" overloaded="no"> | |
781d2982 | 9417 | <autodoc>SetWidth(self, int w)</autodoc> |
f32fc4bc RD |
9418 | <paramlist> |
9419 | <param name="w" type="int" default=""/> | |
9420 | </paramlist> | |
9421 | </method> | |
9422 | <method name="SetHeight" type="" overloaded="no"> | |
781d2982 | 9423 | <autodoc>SetHeight(self, int h)</autodoc> |
f32fc4bc RD |
9424 | <paramlist> |
9425 | <param name="h" type="int" default=""/> | |
9426 | </paramlist> | |
9427 | </method> | |
9428 | <method name="SetDepth" type="" overloaded="no"> | |
781d2982 | 9429 | <autodoc>SetDepth(self, int d)</autodoc> |
f32fc4bc RD |
9430 | <paramlist> |
9431 | <param name="d" type="int" default=""/> | |
9432 | </paramlist> | |
9433 | </method> | |
9434 | <method name="CopyFromBitmap" type="" overloaded="no"> | |
781d2982 | 9435 | <autodoc>CopyFromBitmap(self, Bitmap bmp)</autodoc> |
f32fc4bc RD |
9436 | <paramlist> |
9437 | <param name="bmp" type="Bitmap" default=""/> | |
9438 | </paramlist> | |
9439 | </method> | |
9440 | </class> | |
781d2982 | 9441 | <class name="IconLocation" oldname="wxIconLocation" module="_gdi"> |
f32fc4bc | 9442 | <constructor name="IconLocation" overloaded="no"> |
781d2982 | 9443 | <autodoc>__init__(self, String filename=&wxPyEmptyString, int num=0) -> IconLocation</autodoc> |
f32fc4bc RD |
9444 | <paramlist> |
9445 | <param name="filename" type="String" default="&wxPyEmptyString"/> | |
9446 | <param name="num" type="int" default="0"/> | |
9447 | </paramlist> | |
9448 | </constructor> | |
9449 | <destructor name="~wxIconLocation" overloaded="no"> | |
781d2982 | 9450 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
9451 | </destructor> |
9452 | <method name="IsOk" type="bool" overloaded="no"> | |
781d2982 | 9453 | <autodoc>IsOk(self) -> bool</autodoc> |
f32fc4bc RD |
9454 | </method> |
9455 | <method name="SetFileName" type="" overloaded="no"> | |
781d2982 | 9456 | <autodoc>SetFileName(self, String filename)</autodoc> |
f32fc4bc RD |
9457 | <paramlist> |
9458 | <param name="filename" type="String" default=""/> | |
9459 | </paramlist> | |
9460 | </method> | |
9461 | <method name="GetFileName" type="String" overloaded="no"> | |
781d2982 | 9462 | <autodoc>GetFileName(self) -> String</autodoc> |
f32fc4bc RD |
9463 | </method> |
9464 | <method name="SetIndex" type="" overloaded="no"> | |
781d2982 | 9465 | <autodoc>SetIndex(self, int num)</autodoc> |
f32fc4bc RD |
9466 | <paramlist> |
9467 | <param name="num" type="int" default=""/> | |
9468 | </paramlist> | |
9469 | </method> | |
9470 | <method name="GetIndex" type="int" overloaded="no"> | |
781d2982 | 9471 | <autodoc>GetIndex(self) -> int</autodoc> |
f32fc4bc RD |
9472 | </method> |
9473 | </class> | |
781d2982 | 9474 | <class name="IconBundle" oldname="wxIconBundle" module="_gdi"> |
f32fc4bc | 9475 | <constructor name="IconBundle" overloaded="no"> |
781d2982 | 9476 | <autodoc>__init__(self) -> IconBundle</autodoc> |
f32fc4bc RD |
9477 | </constructor> |
9478 | <constructor name="IconBundleFromFile" overloaded="no"> | |
9479 | <autodoc>IconBundleFromFile(String file, long type) -> IconBundle</autodoc> | |
9480 | <paramlist> | |
9481 | <param name="file" type="String" default=""/> | |
9482 | <param name="type" type="long" default=""/> | |
9483 | </paramlist> | |
9484 | </constructor> | |
9485 | <constructor name="IconBundleFromIcon" overloaded="no"> | |
9486 | <autodoc>IconBundleFromIcon(Icon icon) -> IconBundle</autodoc> | |
9487 | <paramlist> | |
9488 | <param name="icon" type="Icon" default=""/> | |
9489 | </paramlist> | |
9490 | </constructor> | |
9491 | <destructor name="~wxIconBundle" overloaded="no"> | |
781d2982 | 9492 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
9493 | </destructor> |
9494 | <method name="AddIcon" type="" overloaded="no"> | |
781d2982 | 9495 | <autodoc>AddIcon(self, Icon icon)</autodoc> |
f32fc4bc RD |
9496 | <paramlist> |
9497 | <param name="icon" type="Icon" default=""/> | |
9498 | </paramlist> | |
9499 | </method> | |
9500 | <method name="AddIconFromFile" type="" overloaded="no"> | |
781d2982 | 9501 | <autodoc>AddIconFromFile(self, String file, long type)</autodoc> |
f32fc4bc RD |
9502 | <paramlist> |
9503 | <param name="file" type="String" default=""/> | |
9504 | <param name="type" type="long" default=""/> | |
9505 | </paramlist> | |
9506 | </method> | |
9507 | <method name="GetIcon" type="Icon" overloaded="no"> | |
781d2982 | 9508 | <autodoc>GetIcon(self, Size size) -> Icon</autodoc> |
f32fc4bc RD |
9509 | <paramlist> |
9510 | <param name="size" type="Size" default=""/> | |
9511 | </paramlist> | |
9512 | </method> | |
9513 | </class> | |
781d2982 RD |
9514 | <class name="Cursor" oldname="wxCursor" module="_gdi"> |
9515 | <docstring>A cursor is a small bitmap usually used for denoting where the mouse | |
9516 | pointer is, with a picture that might indicate the interpretation of a | |
9517 | mouse click. | |
c2dda882 RD |
9518 | |
9519 | A single cursor object may be used in many windows (any subwindow | |
781d2982 RD |
9520 | type). The wxWindows convention is to set the cursor for a window, as |
9521 | in X, rather than to set it globally as in MS Windows, although a | |
9522 | global `wx.SetCursor` function is also available for use on MS Windows. | |
ce6878e6 RD |
9523 | |
9524 | ||
9525 | Stock Cursor IDs | |
9526 | ----------------- | |
9527 | ======================== ====================================== | |
9528 | wx.CURSOR_ARROW A standard arrow cursor. | |
9529 | wx.CURSOR_RIGHT_ARROW A standard arrow cursor pointing to the right. | |
9530 | wx.CURSOR_BLANK Transparent cursor. | |
9531 | wx.CURSOR_BULLSEYE Bullseye cursor. | |
9532 | wx.CURSOR_CHAR Rectangular character cursor. | |
9533 | wx.CURSOR_CROSS A cross cursor. | |
9534 | wx.CURSOR_HAND A hand cursor. | |
9535 | wx.CURSOR_IBEAM An I-beam cursor (vertical line). | |
9536 | wx.CURSOR_LEFT_BUTTON Represents a mouse with the left button depressed. | |
9537 | wx.CURSOR_MAGNIFIER A magnifier icon. | |
9538 | wx.CURSOR_MIDDLE_BUTTON Represents a mouse with the middle button depressed. | |
9539 | wx.CURSOR_NO_ENTRY A no-entry sign cursor. | |
9540 | wx.CURSOR_PAINT_BRUSH A paintbrush cursor. | |
9541 | wx.CURSOR_PENCIL A pencil cursor. | |
9542 | wx.CURSOR_POINT_LEFT A cursor that points left. | |
9543 | wx.CURSOR_POINT_RIGHT A cursor that points right. | |
9544 | wx.CURSOR_QUESTION_ARROW An arrow and question mark. | |
9545 | wx.CURSOR_RIGHT_BUTTON Represents a mouse with the right button depressed. | |
9546 | wx.CURSOR_SIZENESW A sizing cursor pointing NE-SW. | |
9547 | wx.CURSOR_SIZENS A sizing cursor pointing N-S. | |
9548 | wx.CURSOR_SIZENWSE A sizing cursor pointing NW-SE. | |
9549 | wx.CURSOR_SIZEWE A sizing cursor pointing W-E. | |
9550 | wx.CURSOR_SIZING A general sizing cursor. | |
9551 | wx.CURSOR_SPRAYCAN A spraycan cursor. | |
9552 | wx.CURSOR_WAIT A wait cursor. | |
9553 | wx.CURSOR_WATCH A watch cursor. | |
9554 | wx.CURSOR_ARROWWAIT A cursor with both an arrow and an hourglass, (windows.) | |
9555 | ======================== ====================================== | |
9556 | ||
781d2982 | 9557 | </docstring> |
f32fc4bc RD |
9558 | <baseclass name="GDIObject"/> |
9559 | <constructor name="Cursor" overloaded="no"> | |
781d2982 | 9560 | <autodoc>__init__(self, String cursorName, long type, int hotSpotX=0, int hotSpotY=0) -> Cursor</autodoc> |
c2dda882 | 9561 | <docstring>Construct a Cursor from a file. Specify the type of file using |
781d2982 RD |
9562 | wx.BITAMP_TYPE* constants, and specify the hotspot if not using a cur |
9563 | file. | |
c2dda882 | 9564 | |
781d2982 RD |
9565 | This constructor is not available on wxGTK, use ``wx.StockCursor``, |
9566 | ``wx.CursorFromImage``, or ``wx.CursorFromBits`` instead.</docstring> | |
f32fc4bc RD |
9567 | <paramlist> |
9568 | <param name="cursorName" type="String" default=""/> | |
c2dda882 | 9569 | <param name="type" type="long" default=""/> |
f32fc4bc RD |
9570 | <param name="hotSpotX" type="int" default="0"/> |
9571 | <param name="hotSpotY" type="int" default="0"/> | |
9572 | </paramlist> | |
9573 | </constructor> | |
9574 | <constructor name="StockCursor" overloaded="no"> | |
9575 | <autodoc>StockCursor(int id) -> Cursor</autodoc> | |
781d2982 RD |
9576 | <docstring>Create a cursor using one of the stock cursors. Note that not all |
9577 | cursors are available on all platforms.</docstring> | |
f32fc4bc RD |
9578 | <paramlist> |
9579 | <param name="id" type="int" default=""/> | |
9580 | </paramlist> | |
9581 | </constructor> | |
9582 | <constructor name="CursorFromImage" overloaded="no"> | |
9583 | <autodoc>CursorFromImage(Image image) -> Cursor</autodoc> | |
781d2982 RD |
9584 | <docstring>Constructs a cursor from a wxImage. The cursor is monochrome, colors |
9585 | with the RGB elements all greater than 127 will be foreground, colors | |
9586 | less than this background. The mask (if any) will be used as | |
ce6878e6 RD |
9587 | transparent. |
9588 | In MSW the foreground will be white and the background | |
9589 | black. The cursor is resized to 32x32. | |
9590 | ||
9591 | In GTK, the two most frequent colors will be used for foreground and | |
9592 | background. The cursor will be displayed at the size of the image. | |
9593 | ||
9594 | On MacOS the cursor is resized to 16x16 and currently only shown as | |
9595 | black/white (mask respected).</docstring> | |
f32fc4bc RD |
9596 | <paramlist> |
9597 | <param name="image" type="Image" default=""/> | |
9598 | </paramlist> | |
9599 | </constructor> | |
f32fc4bc | 9600 | <destructor name="~wxCursor" overloaded="no"> |
781d2982 | 9601 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
9602 | </destructor> |
9603 | <method name="Ok" type="bool" overloaded="no"> | |
781d2982 | 9604 | <autodoc>Ok(self) -> bool</autodoc> |
f32fc4bc RD |
9605 | </method> |
9606 | </class> | |
9607 | <pythoncode> | |
9608 | #--------------------------------------------------------------------------- | |
9609 | </pythoncode> | |
781d2982 | 9610 | <class name="Region" oldname="wxRegion" module="_gdi"> |
f32fc4bc RD |
9611 | <baseclass name="GDIObject"/> |
9612 | <constructor name="Region" overloaded="no"> | |
781d2982 | 9613 | <autodoc>__init__(self, int x=0, int y=0, int width=0, int height=0) -> Region</autodoc> |
f32fc4bc RD |
9614 | <paramlist> |
9615 | <param name="x" type="int" default="0"/> | |
9616 | <param name="y" type="int" default="0"/> | |
9617 | <param name="width" type="int" default="0"/> | |
9618 | <param name="height" type="int" default="0"/> | |
9619 | </paramlist> | |
9620 | </constructor> | |
9621 | <constructor name="RegionFromBitmap" overloaded="no"> | |
ce6878e6 RD |
9622 | <autodoc>RegionFromBitmap(Bitmap bmp) -> Region</autodoc> |
9623 | <paramlist> | |
9624 | <param name="bmp" type="Bitmap" default=""/> | |
9625 | </paramlist> | |
9626 | </constructor> | |
9627 | <constructor name="RegionFromBitmapColour" overloaded="no"> | |
9628 | <autodoc>RegionFromBitmapColour(Bitmap bmp, Colour transColour, int tolerance=0) -> Region</autodoc> | |
f32fc4bc RD |
9629 | <paramlist> |
9630 | <param name="bmp" type="Bitmap" default=""/> | |
ce6878e6 | 9631 | <param name="transColour" type="Colour" default=""/> |
f32fc4bc RD |
9632 | <param name="tolerance" type="int" default="0"/> |
9633 | </paramlist> | |
9634 | </constructor> | |
9635 | <constructor name="RegionFromPoints" overloaded="no"> | |
9636 | <autodoc>RegionFromPoints(int points, Point points_array, int fillStyle=WINDING_RULE) -> Region</autodoc> | |
9637 | <paramlist> | |
9638 | <param name="points" type="int" default=""/> | |
9639 | <param name="points_array" type="Point" default=""/> | |
9640 | <param name="fillStyle" type="int" default="wxWINDING_RULE"/> | |
9641 | </paramlist> | |
9642 | </constructor> | |
9643 | <destructor name="~wxRegion" overloaded="no"> | |
781d2982 | 9644 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
9645 | </destructor> |
9646 | <method name="Clear" type="" overloaded="no"> | |
781d2982 | 9647 | <autodoc>Clear(self)</autodoc> |
f32fc4bc RD |
9648 | </method> |
9649 | <method name="Offset" type="bool" overloaded="no"> | |
781d2982 | 9650 | <autodoc>Offset(self, int x, int y) -> bool</autodoc> |
f32fc4bc RD |
9651 | <paramlist> |
9652 | <param name="x" type="int" default=""/> | |
9653 | <param name="y" type="int" default=""/> | |
9654 | </paramlist> | |
9655 | </method> | |
9656 | <method name="Contains" type="wxRegionContain" overloaded="no"> | |
781d2982 | 9657 | <autodoc>Contains(self, int x, int y) -> int</autodoc> |
f32fc4bc RD |
9658 | <paramlist> |
9659 | <param name="x" type="int" default=""/> | |
9660 | <param name="y" type="int" default=""/> | |
9661 | </paramlist> | |
9662 | </method> | |
9663 | <method name="ContainsPoint" type="wxRegionContain" overloaded="no"> | |
781d2982 | 9664 | <autodoc>ContainsPoint(self, Point pt) -> int</autodoc> |
f32fc4bc RD |
9665 | <paramlist> |
9666 | <param name="pt" type="Point" default=""/> | |
9667 | </paramlist> | |
9668 | </method> | |
9669 | <method name="ContainsRect" type="wxRegionContain" overloaded="no"> | |
781d2982 | 9670 | <autodoc>ContainsRect(self, Rect rect) -> int</autodoc> |
f32fc4bc RD |
9671 | <paramlist> |
9672 | <param name="rect" type="Rect" default=""/> | |
9673 | </paramlist> | |
9674 | </method> | |
9675 | <method name="ContainsRectDim" type="wxRegionContain" overloaded="no"> | |
781d2982 | 9676 | <autodoc>ContainsRectDim(self, int x, int y, int w, int h) -> int</autodoc> |
f32fc4bc RD |
9677 | <paramlist> |
9678 | <param name="x" type="int" default=""/> | |
9679 | <param name="y" type="int" default=""/> | |
9680 | <param name="w" type="int" default=""/> | |
9681 | <param name="h" type="int" default=""/> | |
9682 | </paramlist> | |
9683 | </method> | |
9684 | <method name="GetBox" type="Rect" overloaded="no"> | |
781d2982 | 9685 | <autodoc>GetBox(self) -> Rect</autodoc> |
f32fc4bc RD |
9686 | </method> |
9687 | <method name="Intersect" type="bool" overloaded="no"> | |
781d2982 | 9688 | <autodoc>Intersect(self, int x, int y, int width, int height) -> bool</autodoc> |
f32fc4bc RD |
9689 | <paramlist> |
9690 | <param name="x" type="int" default=""/> | |
9691 | <param name="y" type="int" default=""/> | |
9692 | <param name="width" type="int" default=""/> | |
9693 | <param name="height" type="int" default=""/> | |
9694 | </paramlist> | |
9695 | </method> | |
9696 | <method name="IntersectRect" type="bool" overloaded="no"> | |
781d2982 | 9697 | <autodoc>IntersectRect(self, Rect rect) -> bool</autodoc> |
f32fc4bc RD |
9698 | <paramlist> |
9699 | <param name="rect" type="Rect" default=""/> | |
9700 | </paramlist> | |
9701 | </method> | |
9702 | <method name="IntersectRegion" type="bool" overloaded="no"> | |
781d2982 | 9703 | <autodoc>IntersectRegion(self, Region region) -> bool</autodoc> |
f32fc4bc RD |
9704 | <paramlist> |
9705 | <param name="region" type="Region" default=""/> | |
9706 | </paramlist> | |
9707 | </method> | |
9708 | <method name="IsEmpty" type="bool" overloaded="no"> | |
781d2982 | 9709 | <autodoc>IsEmpty(self) -> bool</autodoc> |
f32fc4bc RD |
9710 | </method> |
9711 | <method name="Union" type="bool" overloaded="no"> | |
781d2982 | 9712 | <autodoc>Union(self, int x, int y, int width, int height) -> bool</autodoc> |
f32fc4bc RD |
9713 | <paramlist> |
9714 | <param name="x" type="int" default=""/> | |
9715 | <param name="y" type="int" default=""/> | |
9716 | <param name="width" type="int" default=""/> | |
9717 | <param name="height" type="int" default=""/> | |
9718 | </paramlist> | |
9719 | </method> | |
9720 | <method name="UnionRect" type="bool" overloaded="no"> | |
781d2982 | 9721 | <autodoc>UnionRect(self, Rect rect) -> bool</autodoc> |
f32fc4bc RD |
9722 | <paramlist> |
9723 | <param name="rect" type="Rect" default=""/> | |
9724 | </paramlist> | |
9725 | </method> | |
9726 | <method name="UnionRegion" type="bool" overloaded="no"> | |
781d2982 | 9727 | <autodoc>UnionRegion(self, Region region) -> bool</autodoc> |
f32fc4bc RD |
9728 | <paramlist> |
9729 | <param name="region" type="Region" default=""/> | |
9730 | </paramlist> | |
9731 | </method> | |
9732 | <method name="Subtract" type="bool" overloaded="no"> | |
781d2982 | 9733 | <autodoc>Subtract(self, int x, int y, int width, int height) -> bool</autodoc> |
f32fc4bc RD |
9734 | <paramlist> |
9735 | <param name="x" type="int" default=""/> | |
9736 | <param name="y" type="int" default=""/> | |
9737 | <param name="width" type="int" default=""/> | |
9738 | <param name="height" type="int" default=""/> | |
9739 | </paramlist> | |
9740 | </method> | |
9741 | <method name="SubtractRect" type="bool" overloaded="no"> | |
781d2982 | 9742 | <autodoc>SubtractRect(self, Rect rect) -> bool</autodoc> |
f32fc4bc RD |
9743 | <paramlist> |
9744 | <param name="rect" type="Rect" default=""/> | |
9745 | </paramlist> | |
9746 | </method> | |
9747 | <method name="SubtractRegion" type="bool" overloaded="no"> | |
781d2982 | 9748 | <autodoc>SubtractRegion(self, Region region) -> bool</autodoc> |
f32fc4bc RD |
9749 | <paramlist> |
9750 | <param name="region" type="Region" default=""/> | |
9751 | </paramlist> | |
9752 | </method> | |
9753 | <method name="Xor" type="bool" overloaded="no"> | |
781d2982 | 9754 | <autodoc>Xor(self, int x, int y, int width, int height) -> bool</autodoc> |
f32fc4bc RD |
9755 | <paramlist> |
9756 | <param name="x" type="int" default=""/> | |
9757 | <param name="y" type="int" default=""/> | |
9758 | <param name="width" type="int" default=""/> | |
9759 | <param name="height" type="int" default=""/> | |
9760 | </paramlist> | |
9761 | </method> | |
9762 | <method name="XorRect" type="bool" overloaded="no"> | |
781d2982 | 9763 | <autodoc>XorRect(self, Rect rect) -> bool</autodoc> |
f32fc4bc RD |
9764 | <paramlist> |
9765 | <param name="rect" type="Rect" default=""/> | |
9766 | </paramlist> | |
9767 | </method> | |
9768 | <method name="XorRegion" type="bool" overloaded="no"> | |
781d2982 | 9769 | <autodoc>XorRegion(self, Region region) -> bool</autodoc> |
f32fc4bc RD |
9770 | <paramlist> |
9771 | <param name="region" type="Region" default=""/> | |
9772 | </paramlist> | |
9773 | </method> | |
9774 | <method name="ConvertToBitmap" type="Bitmap" overloaded="no"> | |
781d2982 | 9775 | <autodoc>ConvertToBitmap(self) -> Bitmap</autodoc> |
f32fc4bc RD |
9776 | </method> |
9777 | <method name="UnionBitmap" type="bool" overloaded="no"> | |
ce6878e6 | 9778 | <autodoc>UnionBitmap(self, Bitmap bmp) -> bool</autodoc> |
f32fc4bc RD |
9779 | <paramlist> |
9780 | <param name="bmp" type="Bitmap" default=""/> | |
ce6878e6 RD |
9781 | </paramlist> |
9782 | </method> | |
9783 | <method name="UnionBitmapColour" type="bool" overloaded="no"> | |
9784 | <autodoc>UnionBitmapColour(self, Bitmap bmp, Colour transColour, int tolerance=0) -> bool</autodoc> | |
9785 | <paramlist> | |
9786 | <param name="bmp" type="Bitmap" default=""/> | |
9787 | <param name="transColour" type="Colour" default=""/> | |
f32fc4bc RD |
9788 | <param name="tolerance" type="int" default="0"/> |
9789 | </paramlist> | |
9790 | </method> | |
9791 | </class> | |
781d2982 | 9792 | <class name="RegionIterator" oldname="wxRegionIterator" module="_gdi"> |
f32fc4bc RD |
9793 | <baseclass name="Object"/> |
9794 | <constructor name="RegionIterator" overloaded="no"> | |
781d2982 | 9795 | <autodoc>__init__(self, Region region) -> RegionIterator</autodoc> |
f32fc4bc RD |
9796 | <paramlist> |
9797 | <param name="region" type="Region" default=""/> | |
9798 | </paramlist> | |
9799 | </constructor> | |
9800 | <destructor name="~wxRegionIterator" overloaded="no"> | |
781d2982 | 9801 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
9802 | </destructor> |
9803 | <method name="GetX" type="int" overloaded="no"> | |
781d2982 | 9804 | <autodoc>GetX(self) -> int</autodoc> |
f32fc4bc RD |
9805 | </method> |
9806 | <method name="GetY" type="int" overloaded="no"> | |
781d2982 | 9807 | <autodoc>GetY(self) -> int</autodoc> |
f32fc4bc RD |
9808 | </method> |
9809 | <method name="GetW" type="int" overloaded="no"> | |
781d2982 | 9810 | <autodoc>GetW(self) -> int</autodoc> |
f32fc4bc RD |
9811 | </method> |
9812 | <method name="GetWidth" type="int" overloaded="no"> | |
781d2982 | 9813 | <autodoc>GetWidth(self) -> int</autodoc> |
f32fc4bc RD |
9814 | </method> |
9815 | <method name="GetH" type="int" overloaded="no"> | |
781d2982 | 9816 | <autodoc>GetH(self) -> int</autodoc> |
f32fc4bc RD |
9817 | </method> |
9818 | <method name="GetHeight" type="int" overloaded="no"> | |
781d2982 | 9819 | <autodoc>GetHeight(self) -> int</autodoc> |
f32fc4bc RD |
9820 | </method> |
9821 | <method name="GetRect" type="Rect" overloaded="no"> | |
781d2982 | 9822 | <autodoc>GetRect(self) -> Rect</autodoc> |
f32fc4bc RD |
9823 | </method> |
9824 | <method name="HaveRects" type="bool" overloaded="no"> | |
781d2982 | 9825 | <autodoc>HaveRects(self) -> bool</autodoc> |
f32fc4bc RD |
9826 | </method> |
9827 | <method name="Reset" type="" overloaded="no"> | |
781d2982 | 9828 | <autodoc>Reset(self)</autodoc> |
f32fc4bc RD |
9829 | </method> |
9830 | <method name="Next" type="" overloaded="no"> | |
781d2982 | 9831 | <autodoc>Next(self)</autodoc> |
f32fc4bc RD |
9832 | </method> |
9833 | <method name="__nonzero__" type="bool" overloaded="no"> | |
781d2982 | 9834 | <autodoc>__nonzero__(self) -> bool</autodoc> |
f32fc4bc RD |
9835 | </method> |
9836 | </class> | |
9837 | <pythoncode> | |
9838 | #--------------------------------------------------------------------------- | |
9839 | </pythoncode> | |
9840 | <pythoncode> | |
9841 | #--------------------------------------------------------------------------- | |
9842 | </pythoncode> | |
781d2982 | 9843 | <class name="NativeFontInfo" oldname="wxNativeFontInfo" module="_gdi"> |
f32fc4bc | 9844 | <constructor name="NativeFontInfo" overloaded="no"> |
781d2982 | 9845 | <autodoc>__init__(self) -> NativeFontInfo</autodoc> |
f32fc4bc RD |
9846 | </constructor> |
9847 | <destructor name="~wxNativeFontInfo" overloaded="no"> | |
781d2982 | 9848 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
9849 | </destructor> |
9850 | <method name="Init" type="" overloaded="no"> | |
781d2982 | 9851 | <autodoc>Init(self)</autodoc> |
f32fc4bc RD |
9852 | </method> |
9853 | <method name="InitFromFont" type="" overloaded="no"> | |
781d2982 | 9854 | <autodoc>InitFromFont(self, Font font)</autodoc> |
f32fc4bc RD |
9855 | <paramlist> |
9856 | <param name="font" type="wxFont" default=""/> | |
9857 | </paramlist> | |
9858 | </method> | |
9859 | <method name="GetPointSize" type="int" overloaded="no"> | |
781d2982 | 9860 | <autodoc>GetPointSize(self) -> int</autodoc> |
f32fc4bc RD |
9861 | </method> |
9862 | <method name="GetStyle" type="wxFontStyle" overloaded="no"> | |
781d2982 | 9863 | <autodoc>GetStyle(self) -> int</autodoc> |
f32fc4bc RD |
9864 | </method> |
9865 | <method name="GetWeight" type="wxFontWeight" overloaded="no"> | |
781d2982 | 9866 | <autodoc>GetWeight(self) -> int</autodoc> |
f32fc4bc RD |
9867 | </method> |
9868 | <method name="GetUnderlined" type="bool" overloaded="no"> | |
781d2982 | 9869 | <autodoc>GetUnderlined(self) -> bool</autodoc> |
f32fc4bc RD |
9870 | </method> |
9871 | <method name="GetFaceName" type="String" overloaded="no"> | |
781d2982 | 9872 | <autodoc>GetFaceName(self) -> String</autodoc> |
f32fc4bc RD |
9873 | </method> |
9874 | <method name="GetFamily" type="wxFontFamily" overloaded="no"> | |
781d2982 | 9875 | <autodoc>GetFamily(self) -> int</autodoc> |
f32fc4bc RD |
9876 | </method> |
9877 | <method name="GetEncoding" type="wxFontEncoding" overloaded="no"> | |
781d2982 | 9878 | <autodoc>GetEncoding(self) -> int</autodoc> |
f32fc4bc RD |
9879 | </method> |
9880 | <method name="SetPointSize" type="" overloaded="no"> | |
781d2982 | 9881 | <autodoc>SetPointSize(self, int pointsize)</autodoc> |
f32fc4bc RD |
9882 | <paramlist> |
9883 | <param name="pointsize" type="int" default=""/> | |
9884 | </paramlist> | |
9885 | </method> | |
9886 | <method name="SetStyle" type="" overloaded="no"> | |
781d2982 | 9887 | <autodoc>SetStyle(self, int style)</autodoc> |
f32fc4bc RD |
9888 | <paramlist> |
9889 | <param name="style" type="wxFontStyle" default=""/> | |
9890 | </paramlist> | |
9891 | </method> | |
9892 | <method name="SetWeight" type="" overloaded="no"> | |
781d2982 | 9893 | <autodoc>SetWeight(self, int weight)</autodoc> |
f32fc4bc RD |
9894 | <paramlist> |
9895 | <param name="weight" type="wxFontWeight" default=""/> | |
9896 | </paramlist> | |
9897 | </method> | |
9898 | <method name="SetUnderlined" type="" overloaded="no"> | |
781d2982 | 9899 | <autodoc>SetUnderlined(self, bool underlined)</autodoc> |
f32fc4bc RD |
9900 | <paramlist> |
9901 | <param name="underlined" type="bool" default=""/> | |
9902 | </paramlist> | |
9903 | </method> | |
9904 | <method name="SetFaceName" type="" overloaded="no"> | |
781d2982 | 9905 | <autodoc>SetFaceName(self, String facename)</autodoc> |
f32fc4bc RD |
9906 | <paramlist> |
9907 | <param name="facename" type="String" default=""/> | |
9908 | </paramlist> | |
9909 | </method> | |
9910 | <method name="SetFamily" type="" overloaded="no"> | |
781d2982 | 9911 | <autodoc>SetFamily(self, int family)</autodoc> |
f32fc4bc RD |
9912 | <paramlist> |
9913 | <param name="family" type="wxFontFamily" default=""/> | |
9914 | </paramlist> | |
9915 | </method> | |
9916 | <method name="SetEncoding" type="" overloaded="no"> | |
781d2982 | 9917 | <autodoc>SetEncoding(self, int encoding)</autodoc> |
f32fc4bc RD |
9918 | <paramlist> |
9919 | <param name="encoding" type="wxFontEncoding" default=""/> | |
9920 | </paramlist> | |
9921 | </method> | |
9922 | <method name="FromString" type="bool" overloaded="no"> | |
781d2982 | 9923 | <autodoc>FromString(self, String s) -> bool</autodoc> |
f32fc4bc RD |
9924 | <paramlist> |
9925 | <param name="s" type="String" default=""/> | |
9926 | </paramlist> | |
9927 | </method> | |
9928 | <method name="ToString" type="String" overloaded="no"> | |
781d2982 | 9929 | <autodoc>ToString(self) -> String</autodoc> |
f32fc4bc RD |
9930 | </method> |
9931 | <method name="__str__" type="String" overloaded="no"> | |
781d2982 | 9932 | <autodoc>__str__(self) -> String</autodoc> |
f32fc4bc RD |
9933 | </method> |
9934 | <method name="FromUserString" type="bool" overloaded="no"> | |
781d2982 | 9935 | <autodoc>FromUserString(self, String s) -> bool</autodoc> |
f32fc4bc RD |
9936 | <paramlist> |
9937 | <param name="s" type="String" default=""/> | |
9938 | </paramlist> | |
9939 | </method> | |
9940 | <method name="ToUserString" type="String" overloaded="no"> | |
781d2982 | 9941 | <autodoc>ToUserString(self) -> String</autodoc> |
f32fc4bc RD |
9942 | </method> |
9943 | </class> | |
781d2982 | 9944 | <class name="NativeEncodingInfo" oldname="wxNativeEncodingInfo" module="_gdi"> |
f32fc4bc | 9945 | <constructor name="NativeEncodingInfo" overloaded="no"> |
781d2982 | 9946 | <autodoc>__init__(self) -> NativeEncodingInfo</autodoc> |
f32fc4bc RD |
9947 | </constructor> |
9948 | <destructor name="~wxNativeEncodingInfo" overloaded="no"> | |
781d2982 | 9949 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
9950 | </destructor> |
9951 | <property name="facename" type="String" readonly="no"/> | |
9952 | <property name="encoding" type="wxFontEncoding" readonly="no"/> | |
9953 | <method name="FromString" type="bool" overloaded="no"> | |
781d2982 | 9954 | <autodoc>FromString(self, String s) -> bool</autodoc> |
f32fc4bc RD |
9955 | <paramlist> |
9956 | <param name="s" type="String" default=""/> | |
9957 | </paramlist> | |
9958 | </method> | |
9959 | <method name="ToString" type="String" overloaded="no"> | |
781d2982 | 9960 | <autodoc>ToString(self) -> String</autodoc> |
f32fc4bc RD |
9961 | </method> |
9962 | </class> | |
9963 | <method name="GetNativeFontEncoding" oldname="wxGetNativeFontEncoding" type="NativeEncodingInfo" overloaded="no"> | |
9964 | <autodoc>GetNativeFontEncoding(int encoding) -> NativeEncodingInfo</autodoc> | |
856bf319 | 9965 | <paramlist> |
f32fc4bc | 9966 | <param name="encoding" type="wxFontEncoding" default=""/> |
856bf319 RD |
9967 | </paramlist> |
9968 | </method> | |
f32fc4bc RD |
9969 | <method name="TestFontEncoding" oldname="wxTestFontEncoding" type="bool" overloaded="no"> |
9970 | <autodoc>TestFontEncoding(NativeEncodingInfo info) -> bool</autodoc> | |
856bf319 | 9971 | <paramlist> |
f32fc4bc | 9972 | <param name="info" type="NativeEncodingInfo" default=""/> |
856bf319 RD |
9973 | </paramlist> |
9974 | </method> | |
f32fc4bc RD |
9975 | <pythoncode> |
9976 | #--------------------------------------------------------------------------- | |
9977 | </pythoncode> | |
781d2982 | 9978 | <class name="FontMapper" oldname="wxFontMapper" module="_gdi"> |
f32fc4bc | 9979 | <constructor name="FontMapper" overloaded="no"> |
781d2982 | 9980 | <autodoc>__init__(self) -> FontMapper</autodoc> |
f32fc4bc RD |
9981 | </constructor> |
9982 | <destructor name="~wxFontMapper" overloaded="no"> | |
781d2982 | 9983 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
9984 | </destructor> |
9985 | <staticmethod name="Get" type="FontMapper" overloaded="no"> | |
9986 | <autodoc>Get() -> FontMapper</autodoc> | |
9987 | </staticmethod> | |
9988 | <staticmethod name="Set" type="FontMapper" overloaded="no"> | |
9989 | <autodoc>Set(FontMapper mapper) -> FontMapper</autodoc> | |
9990 | <paramlist> | |
9991 | <param name="mapper" type="FontMapper" default=""/> | |
9992 | </paramlist> | |
9993 | </staticmethod> | |
9994 | <method name="CharsetToEncoding" type="wxFontEncoding" overloaded="no"> | |
781d2982 | 9995 | <autodoc>CharsetToEncoding(self, String charset, bool interactive=True) -> int</autodoc> |
f32fc4bc RD |
9996 | <paramlist> |
9997 | <param name="charset" type="String" default=""/> | |
9998 | <param name="interactive" type="bool" default="True"/> | |
9999 | </paramlist> | |
10000 | </method> | |
10001 | <staticmethod name="GetSupportedEncodingsCount" type="size_t" overloaded="no"> | |
10002 | <autodoc>GetSupportedEncodingsCount() -> size_t</autodoc> | |
10003 | </staticmethod> | |
10004 | <staticmethod name="GetEncoding" type="wxFontEncoding" overloaded="no"> | |
10005 | <autodoc>GetEncoding(size_t n) -> int</autodoc> | |
10006 | <paramlist> | |
10007 | <param name="n" type="size_t" default=""/> | |
10008 | </paramlist> | |
10009 | </staticmethod> | |
10010 | <staticmethod name="GetEncodingName" type="String" overloaded="no"> | |
10011 | <autodoc>GetEncodingName(int encoding) -> String</autodoc> | |
10012 | <paramlist> | |
10013 | <param name="encoding" type="wxFontEncoding" default=""/> | |
10014 | </paramlist> | |
10015 | </staticmethod> | |
10016 | <staticmethod name="GetEncodingDescription" type="String" overloaded="no"> | |
10017 | <autodoc>GetEncodingDescription(int encoding) -> String</autodoc> | |
10018 | <paramlist> | |
10019 | <param name="encoding" type="wxFontEncoding" default=""/> | |
10020 | </paramlist> | |
10021 | </staticmethod> | |
781d2982 RD |
10022 | <staticmethod name="GetEncodingFromName" type="wxFontEncoding" overloaded="no"> |
10023 | <autodoc>GetEncodingFromName(String name) -> int</autodoc> | |
10024 | <paramlist> | |
10025 | <param name="name" type="String" default=""/> | |
10026 | </paramlist> | |
10027 | </staticmethod> | |
f32fc4bc | 10028 | <method name="SetConfig" type="" overloaded="no"> |
781d2982 | 10029 | <autodoc>SetConfig(self, ConfigBase config)</autodoc> |
f32fc4bc RD |
10030 | <paramlist> |
10031 | <param name="config" type="wxConfigBase" default=""/> | |
10032 | </paramlist> | |
10033 | </method> | |
10034 | <method name="SetConfigPath" type="" overloaded="no"> | |
781d2982 | 10035 | <autodoc>SetConfigPath(self, String prefix)</autodoc> |
f32fc4bc RD |
10036 | <paramlist> |
10037 | <param name="prefix" type="String" default=""/> | |
10038 | </paramlist> | |
10039 | </method> | |
10040 | <staticmethod name="GetDefaultConfigPath" type="String" overloaded="no"> | |
10041 | <autodoc>GetDefaultConfigPath() -> String</autodoc> | |
10042 | </staticmethod> | |
10043 | <method name="GetAltForEncoding" type="PyObject" overloaded="no"> | |
781d2982 | 10044 | <autodoc>GetAltForEncoding(self, int encoding, String facename=EmptyString, bool interactive=True) -> PyObject</autodoc> |
f32fc4bc RD |
10045 | <paramlist> |
10046 | <param name="encoding" type="wxFontEncoding" default=""/> | |
10047 | <param name="facename" type="String" default="wxPyEmptyString"/> | |
10048 | <param name="interactive" type="bool" default="True"/> | |
10049 | </paramlist> | |
10050 | </method> | |
10051 | <method name="IsEncodingAvailable" type="bool" overloaded="no"> | |
781d2982 | 10052 | <autodoc>IsEncodingAvailable(self, int encoding, String facename=EmptyString) -> bool</autodoc> |
f32fc4bc RD |
10053 | <paramlist> |
10054 | <param name="encoding" type="wxFontEncoding" default=""/> | |
10055 | <param name="facename" type="String" default="wxPyEmptyString"/> | |
10056 | </paramlist> | |
10057 | </method> | |
10058 | <method name="SetDialogParent" type="" overloaded="no"> | |
781d2982 | 10059 | <autodoc>SetDialogParent(self, Window parent)</autodoc> |
f32fc4bc RD |
10060 | <paramlist> |
10061 | <param name="parent" type="Window" default=""/> | |
10062 | </paramlist> | |
10063 | </method> | |
10064 | <method name="SetDialogTitle" type="" overloaded="no"> | |
781d2982 | 10065 | <autodoc>SetDialogTitle(self, String title)</autodoc> |
f32fc4bc RD |
10066 | <paramlist> |
10067 | <param name="title" type="String" default=""/> | |
10068 | </paramlist> | |
10069 | </method> | |
10070 | </class> | |
10071 | <pythoncode> | |
10072 | #--------------------------------------------------------------------------- | |
10073 | </pythoncode> | |
781d2982 | 10074 | <class name="Font" oldname="wxFont" module="_gdi"> |
f32fc4bc RD |
10075 | <baseclass name="GDIObject"/> |
10076 | <constructor name="Font" overloaded="no"> | |
781d2982 | 10077 | <autodoc>__init__(self, int pointSize, int family, int style, int weight, bool underline=False, |
f32fc4bc RD |
10078 | String face=EmptyString, |
10079 | int encoding=FONTENCODING_DEFAULT) -> Font</autodoc> | |
10080 | <paramlist> | |
10081 | <param name="pointSize" type="int" default=""/> | |
10082 | <param name="family" type="int" default=""/> | |
10083 | <param name="style" type="int" default=""/> | |
10084 | <param name="weight" type="int" default=""/> | |
10085 | <param name="underline" type="bool" default="False"/> | |
10086 | <param name="face" type="String" default="wxPyEmptyString"/> | |
10087 | <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_DEFAULT"/> | |
10088 | </paramlist> | |
10089 | </constructor> | |
10090 | <constructor name="FontFromNativeInfo" overloaded="no"> | |
10091 | <autodoc>FontFromNativeInfo(NativeFontInfo info) -> Font</autodoc> | |
10092 | <paramlist> | |
10093 | <param name="info" type="NativeFontInfo" default=""/> | |
10094 | </paramlist> | |
10095 | </constructor> | |
10096 | <constructor name="FontFromNativeInfoString" overloaded="no"> | |
10097 | <autodoc>FontFromNativeInfoString(String info) -> Font</autodoc> | |
10098 | <paramlist> | |
10099 | <param name="info" type="String" default=""/> | |
10100 | </paramlist> | |
10101 | </constructor> | |
10102 | <constructor name="Font2" overloaded="no"> | |
10103 | <autodoc>Font2(int pointSize, int family, int flags=FONTFLAG_DEFAULT, | |
10104 | String face=EmptyString, int encoding=FONTENCODING_DEFAULT) -> Font</autodoc> | |
10105 | <paramlist> | |
10106 | <param name="pointSize" type="int" default=""/> | |
10107 | <param name="family" type="wxFontFamily" default=""/> | |
10108 | <param name="flags" type="int" default="wxFONTFLAG_DEFAULT"/> | |
10109 | <param name="face" type="String" default="wxPyEmptyString"/> | |
10110 | <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_DEFAULT"/> | |
10111 | </paramlist> | |
10112 | </constructor> | |
10113 | <destructor name="~wxFont" overloaded="no"> | |
781d2982 | 10114 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
10115 | </destructor> |
10116 | <method name="Ok" type="bool" overloaded="no"> | |
781d2982 | 10117 | <autodoc>Ok(self) -> bool</autodoc> |
f32fc4bc RD |
10118 | </method> |
10119 | <method name="__eq__" type="bool" overloaded="no"> | |
781d2982 | 10120 | <autodoc>__eq__(self, Font other) -> bool</autodoc> |
f32fc4bc | 10121 | <paramlist> |
c2dda882 | 10122 | <param name="other" type="Font" default=""/> |
f32fc4bc RD |
10123 | </paramlist> |
10124 | </method> | |
10125 | <method name="__ne__" type="bool" overloaded="no"> | |
781d2982 | 10126 | <autodoc>__ne__(self, Font other) -> bool</autodoc> |
f32fc4bc | 10127 | <paramlist> |
c2dda882 | 10128 | <param name="other" type="Font" default=""/> |
f32fc4bc RD |
10129 | </paramlist> |
10130 | </method> | |
10131 | <method name="GetPointSize" type="int" overloaded="no"> | |
781d2982 | 10132 | <autodoc>GetPointSize(self) -> int</autodoc> |
f32fc4bc RD |
10133 | </method> |
10134 | <method name="GetFamily" type="int" overloaded="no"> | |
781d2982 | 10135 | <autodoc>GetFamily(self) -> int</autodoc> |
f32fc4bc RD |
10136 | </method> |
10137 | <method name="GetStyle" type="int" overloaded="no"> | |
781d2982 | 10138 | <autodoc>GetStyle(self) -> int</autodoc> |
f32fc4bc RD |
10139 | </method> |
10140 | <method name="GetWeight" type="int" overloaded="no"> | |
781d2982 | 10141 | <autodoc>GetWeight(self) -> int</autodoc> |
f32fc4bc RD |
10142 | </method> |
10143 | <method name="GetUnderlined" type="bool" overloaded="no"> | |
781d2982 | 10144 | <autodoc>GetUnderlined(self) -> bool</autodoc> |
f32fc4bc RD |
10145 | </method> |
10146 | <method name="GetFaceName" type="String" overloaded="no"> | |
781d2982 | 10147 | <autodoc>GetFaceName(self) -> String</autodoc> |
f32fc4bc RD |
10148 | </method> |
10149 | <method name="GetEncoding" type="wxFontEncoding" overloaded="no"> | |
781d2982 | 10150 | <autodoc>GetEncoding(self) -> int</autodoc> |
f32fc4bc RD |
10151 | </method> |
10152 | <method name="GetNativeFontInfo" type="NativeFontInfo" overloaded="no"> | |
781d2982 | 10153 | <autodoc>GetNativeFontInfo(self) -> NativeFontInfo</autodoc> |
f32fc4bc RD |
10154 | </method> |
10155 | <method name="IsFixedWidth" type="bool" overloaded="no"> | |
781d2982 | 10156 | <autodoc>IsFixedWidth(self) -> bool</autodoc> |
f32fc4bc RD |
10157 | </method> |
10158 | <method name="GetNativeFontInfoDesc" type="String" overloaded="no"> | |
781d2982 | 10159 | <autodoc>GetNativeFontInfoDesc(self) -> String</autodoc> |
f32fc4bc RD |
10160 | </method> |
10161 | <method name="GetNativeFontInfoUserDesc" type="String" overloaded="no"> | |
781d2982 | 10162 | <autodoc>GetNativeFontInfoUserDesc(self) -> String</autodoc> |
f32fc4bc RD |
10163 | </method> |
10164 | <method name="SetPointSize" type="" overloaded="no"> | |
781d2982 | 10165 | <autodoc>SetPointSize(self, int pointSize)</autodoc> |
f32fc4bc RD |
10166 | <paramlist> |
10167 | <param name="pointSize" type="int" default=""/> | |
10168 | </paramlist> | |
10169 | </method> | |
10170 | <method name="SetFamily" type="" overloaded="no"> | |
781d2982 | 10171 | <autodoc>SetFamily(self, int family)</autodoc> |
f32fc4bc RD |
10172 | <paramlist> |
10173 | <param name="family" type="int" default=""/> | |
10174 | </paramlist> | |
10175 | </method> | |
10176 | <method name="SetStyle" type="" overloaded="no"> | |
781d2982 | 10177 | <autodoc>SetStyle(self, int style)</autodoc> |
f32fc4bc RD |
10178 | <paramlist> |
10179 | <param name="style" type="int" default=""/> | |
10180 | </paramlist> | |
10181 | </method> | |
10182 | <method name="SetWeight" type="" overloaded="no"> | |
781d2982 | 10183 | <autodoc>SetWeight(self, int weight)</autodoc> |
f32fc4bc RD |
10184 | <paramlist> |
10185 | <param name="weight" type="int" default=""/> | |
10186 | </paramlist> | |
10187 | </method> | |
10188 | <method name="SetFaceName" type="" overloaded="no"> | |
781d2982 | 10189 | <autodoc>SetFaceName(self, String faceName)</autodoc> |
f32fc4bc RD |
10190 | <paramlist> |
10191 | <param name="faceName" type="String" default=""/> | |
10192 | </paramlist> | |
10193 | </method> | |
10194 | <method name="SetUnderlined" type="" overloaded="no"> | |
781d2982 | 10195 | <autodoc>SetUnderlined(self, bool underlined)</autodoc> |
f32fc4bc RD |
10196 | <paramlist> |
10197 | <param name="underlined" type="bool" default=""/> | |
10198 | </paramlist> | |
10199 | </method> | |
10200 | <method name="SetEncoding" type="" overloaded="no"> | |
781d2982 | 10201 | <autodoc>SetEncoding(self, int encoding)</autodoc> |
f32fc4bc RD |
10202 | <paramlist> |
10203 | <param name="encoding" type="wxFontEncoding" default=""/> | |
10204 | </paramlist> | |
10205 | </method> | |
10206 | <method name="SetNativeFontInfo" type="" overloaded="no"> | |
781d2982 | 10207 | <autodoc>SetNativeFontInfo(self, NativeFontInfo info)</autodoc> |
f32fc4bc RD |
10208 | <paramlist> |
10209 | <param name="info" type="NativeFontInfo" default=""/> | |
10210 | </paramlist> | |
10211 | </method> | |
10212 | <method name="SetNativeFontInfoFromString" type="" overloaded="no"> | |
781d2982 | 10213 | <autodoc>SetNativeFontInfoFromString(self, String info)</autodoc> |
f32fc4bc RD |
10214 | <paramlist> |
10215 | <param name="info" type="String" default=""/> | |
10216 | </paramlist> | |
10217 | </method> | |
10218 | <method name="SetNativeFontInfoUserDesc" type="" overloaded="no"> | |
781d2982 | 10219 | <autodoc>SetNativeFontInfoUserDesc(self, String info)</autodoc> |
f32fc4bc RD |
10220 | <paramlist> |
10221 | <param name="info" type="String" default=""/> | |
10222 | </paramlist> | |
10223 | </method> | |
10224 | <method name="GetFamilyString" type="String" overloaded="no"> | |
781d2982 | 10225 | <autodoc>GetFamilyString(self) -> String</autodoc> |
f32fc4bc RD |
10226 | </method> |
10227 | <method name="GetStyleString" type="String" overloaded="no"> | |
781d2982 | 10228 | <autodoc>GetStyleString(self) -> String</autodoc> |
f32fc4bc RD |
10229 | </method> |
10230 | <method name="GetWeightString" type="String" overloaded="no"> | |
781d2982 | 10231 | <autodoc>GetWeightString(self) -> String</autodoc> |
f32fc4bc RD |
10232 | </method> |
10233 | <method name="SetNoAntiAliasing" type="" overloaded="no"> | |
781d2982 | 10234 | <autodoc>SetNoAntiAliasing(self, bool no=True)</autodoc> |
f32fc4bc RD |
10235 | <paramlist> |
10236 | <param name="no" type="bool" default="True"/> | |
10237 | </paramlist> | |
10238 | </method> | |
10239 | <method name="GetNoAntiAliasing" type="bool" overloaded="no"> | |
781d2982 | 10240 | <autodoc>GetNoAntiAliasing(self) -> bool</autodoc> |
f32fc4bc RD |
10241 | </method> |
10242 | <staticmethod name="GetDefaultEncoding" type="wxFontEncoding" overloaded="no"> | |
10243 | <autodoc>GetDefaultEncoding() -> int</autodoc> | |
10244 | </staticmethod> | |
10245 | <staticmethod name="SetDefaultEncoding" type="" overloaded="no"> | |
10246 | <autodoc>SetDefaultEncoding(int encoding)</autodoc> | |
10247 | <paramlist> | |
10248 | <param name="encoding" type="wxFontEncoding" default=""/> | |
10249 | </paramlist> | |
10250 | </staticmethod> | |
10251 | </class> | |
10252 | <pythoncode> | |
10253 | #--------------------------------------------------------------------------- | |
10254 | </pythoncode> | |
781d2982 | 10255 | <class name="FontEnumerator" oldname="wxPyFontEnumerator" module="_gdi"> |
f32fc4bc | 10256 | <constructor name="wxPyFontEnumerator" overloaded="no"> |
781d2982 | 10257 | <autodoc>__init__(self) -> FontEnumerator</autodoc> |
f32fc4bc RD |
10258 | </constructor> |
10259 | <destructor name="~wxPyFontEnumerator" overloaded="no"> | |
781d2982 | 10260 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
10261 | </destructor> |
10262 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 10263 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class, bool incref)</autodoc> |
f32fc4bc RD |
10264 | <paramlist> |
10265 | <param name="self" type="PyObject" default=""/> | |
10266 | <param name="_class" type="PyObject" default=""/> | |
10267 | <param name="incref" type="bool" default=""/> | |
10268 | </paramlist> | |
10269 | </method> | |
10270 | <method name="EnumerateFacenames" type="bool" overloaded="no"> | |
781d2982 | 10271 | <autodoc>EnumerateFacenames(self, int encoding=FONTENCODING_SYSTEM, bool fixedWidthOnly=False) -> bool</autodoc> |
f32fc4bc RD |
10272 | <paramlist> |
10273 | <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_SYSTEM"/> | |
10274 | <param name="fixedWidthOnly" type="bool" default="False"/> | |
10275 | </paramlist> | |
10276 | </method> | |
10277 | <method name="EnumerateEncodings" type="bool" overloaded="no"> | |
781d2982 | 10278 | <autodoc>EnumerateEncodings(self, String facename=EmptyString) -> bool</autodoc> |
f32fc4bc RD |
10279 | <paramlist> |
10280 | <param name="facename" type="String" default="wxPyEmptyString"/> | |
10281 | </paramlist> | |
10282 | </method> | |
10283 | <method name="GetEncodings" type="PyObject" overloaded="no"> | |
781d2982 | 10284 | <autodoc>GetEncodings(self) -> PyObject</autodoc> |
f32fc4bc RD |
10285 | </method> |
10286 | <method name="GetFacenames" type="PyObject" overloaded="no"> | |
781d2982 | 10287 | <autodoc>GetFacenames(self) -> PyObject</autodoc> |
f32fc4bc RD |
10288 | </method> |
10289 | </class> | |
10290 | <pythoncode> | |
10291 | #--------------------------------------------------------------------------- | |
10292 | </pythoncode> | |
781d2982 | 10293 | <class name="LanguageInfo" oldname="wxLanguageInfo" module="_gdi"> |
f32fc4bc RD |
10294 | <property name="Language" type="int" readonly="no"/> |
10295 | <property name="CanonicalName" type="String" readonly="no"/> | |
10296 | <property name="Description" type="String" readonly="no"/> | |
10297 | </class> | |
781d2982 | 10298 | <class name="Locale" oldname="wxLocale" module="_gdi"> |
f32fc4bc | 10299 | <constructor name="Locale" overloaded="no"> |
781d2982 | 10300 | <autodoc>__init__(self, int language=-1, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -> Locale</autodoc> |
f32fc4bc | 10301 | <paramlist> |
781d2982 | 10302 | <param name="language" type="int" default="-1"/> |
f32fc4bc RD |
10303 | <param name="flags" type="int" default="wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING"/> |
10304 | </paramlist> | |
10305 | </constructor> | |
10306 | <destructor name="~wxLocale" overloaded="no"> | |
781d2982 | 10307 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
10308 | </destructor> |
10309 | <method name="Init1" type="bool" overloaded="no"> | |
781d2982 | 10310 | <autodoc>Init1(self, String szName, String szShort=EmptyString, String szLocale=EmptyString, |
f32fc4bc RD |
10311 | bool bLoadDefault=True, |
10312 | bool bConvertEncoding=False) -> bool</autodoc> | |
10313 | <paramlist> | |
10314 | <param name="szName" type="String" default=""/> | |
10315 | <param name="szShort" type="String" default="wxPyEmptyString"/> | |
10316 | <param name="szLocale" type="String" default="wxPyEmptyString"/> | |
10317 | <param name="bLoadDefault" type="bool" default="True"/> | |
10318 | <param name="bConvertEncoding" type="bool" default="False"/> | |
10319 | </paramlist> | |
10320 | </method> | |
10321 | <method name="Init2" type="bool" overloaded="no"> | |
781d2982 | 10322 | <autodoc>Init2(self, int language=LANGUAGE_DEFAULT, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -> bool</autodoc> |
f32fc4bc RD |
10323 | <paramlist> |
10324 | <param name="language" type="int" default="wxLANGUAGE_DEFAULT"/> | |
10325 | <param name="flags" type="int" default="wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING"/> | |
10326 | </paramlist> | |
10327 | </method> | |
10328 | <staticmethod name="GetSystemLanguage" type="int" overloaded="no"> | |
10329 | <autodoc>GetSystemLanguage() -> int</autodoc> | |
10330 | </staticmethod> | |
10331 | <staticmethod name="GetSystemEncoding" type="wxFontEncoding" overloaded="no"> | |
10332 | <autodoc>GetSystemEncoding() -> int</autodoc> | |
10333 | </staticmethod> | |
10334 | <staticmethod name="GetSystemEncodingName" type="String" overloaded="no"> | |
10335 | <autodoc>GetSystemEncodingName() -> String</autodoc> | |
10336 | </staticmethod> | |
10337 | <method name="IsOk" type="bool" overloaded="no"> | |
781d2982 | 10338 | <autodoc>IsOk(self) -> bool</autodoc> |
f32fc4bc RD |
10339 | </method> |
10340 | <method name="GetLocale" type="String" overloaded="no"> | |
781d2982 | 10341 | <autodoc>GetLocale(self) -> String</autodoc> |
f32fc4bc RD |
10342 | </method> |
10343 | <method name="GetLanguage" type="int" overloaded="no"> | |
781d2982 | 10344 | <autodoc>GetLanguage(self) -> int</autodoc> |
f32fc4bc RD |
10345 | </method> |
10346 | <method name="GetSysName" type="String" overloaded="no"> | |
781d2982 | 10347 | <autodoc>GetSysName(self) -> String</autodoc> |
f32fc4bc RD |
10348 | </method> |
10349 | <method name="GetCanonicalName" type="String" overloaded="no"> | |
781d2982 | 10350 | <autodoc>GetCanonicalName(self) -> String</autodoc> |
f32fc4bc RD |
10351 | </method> |
10352 | <staticmethod name="AddCatalogLookupPathPrefix" type="" overloaded="no"> | |
10353 | <autodoc>AddCatalogLookupPathPrefix(String prefix)</autodoc> | |
10354 | <paramlist> | |
10355 | <param name="prefix" type="String" default=""/> | |
10356 | </paramlist> | |
10357 | </staticmethod> | |
10358 | <method name="AddCatalog" type="bool" overloaded="no"> | |
781d2982 | 10359 | <autodoc>AddCatalog(self, String szDomain) -> bool</autodoc> |
f32fc4bc RD |
10360 | <paramlist> |
10361 | <param name="szDomain" type="String" default=""/> | |
10362 | </paramlist> | |
10363 | </method> | |
10364 | <method name="IsLoaded" type="bool" overloaded="no"> | |
781d2982 | 10365 | <autodoc>IsLoaded(self, String szDomain) -> bool</autodoc> |
f32fc4bc RD |
10366 | <paramlist> |
10367 | <param name="szDomain" type="String" default=""/> | |
10368 | </paramlist> | |
10369 | </method> | |
10370 | <staticmethod name="GetLanguageInfo" type="LanguageInfo" overloaded="no"> | |
10371 | <autodoc>GetLanguageInfo(int lang) -> LanguageInfo</autodoc> | |
10372 | <paramlist> | |
10373 | <param name="lang" type="int" default=""/> | |
10374 | </paramlist> | |
10375 | </staticmethod> | |
10376 | <staticmethod name="GetLanguageName" type="String" overloaded="no"> | |
10377 | <autodoc>GetLanguageName(int lang) -> String</autodoc> | |
10378 | <paramlist> | |
10379 | <param name="lang" type="int" default=""/> | |
10380 | </paramlist> | |
10381 | </staticmethod> | |
10382 | <staticmethod name="FindLanguageInfo" type="LanguageInfo" overloaded="no"> | |
10383 | <autodoc>FindLanguageInfo(String locale) -> LanguageInfo</autodoc> | |
10384 | <paramlist> | |
10385 | <param name="locale" type="String" default=""/> | |
10386 | </paramlist> | |
10387 | </staticmethod> | |
10388 | <staticmethod name="AddLanguage" type="" overloaded="no"> | |
10389 | <autodoc>AddLanguage(LanguageInfo info)</autodoc> | |
10390 | <paramlist> | |
10391 | <param name="info" type="LanguageInfo" default=""/> | |
10392 | </paramlist> | |
10393 | </staticmethod> | |
10394 | <method name="GetString" type="String" overloaded="no"> | |
781d2982 | 10395 | <autodoc>GetString(self, String szOrigString, String szDomain=EmptyString) -> String</autodoc> |
f32fc4bc RD |
10396 | <paramlist> |
10397 | <param name="szOrigString" type="String" default=""/> | |
10398 | <param name="szDomain" type="String" default="wxPyEmptyString"/> | |
10399 | </paramlist> | |
10400 | </method> | |
10401 | <method name="GetName" type="String" overloaded="no"> | |
781d2982 | 10402 | <autodoc>GetName(self) -> String</autodoc> |
f32fc4bc RD |
10403 | </method> |
10404 | </class> | |
10405 | <method name="GetLocale" oldname="wxGetLocale" type="Locale" overloaded="no"> | |
10406 | <autodoc>GetLocale() -> Locale</autodoc> | |
10407 | </method> | |
10408 | <method name="GetTranslation" oldname="wxGetTranslation" type="String" overloaded="yes"> | |
10409 | <paramlist> | |
10410 | <param name="str" type="String" default=""/> | |
10411 | </paramlist> | |
10412 | </method> | |
10413 | <method name="GetTranslation" oldname="wxGetTranslation" type="String" overloaded="yes"> | |
10414 | <autodoc>GetTranslation(String str) -> String | |
10415 | GetTranslation(String str, String strPlural, size_t n) -> String</autodoc> | |
856bf319 | 10416 | <paramlist> |
f32fc4bc RD |
10417 | <param name="str" type="String" default=""/> |
10418 | <param name="strPlural" type="String" default=""/> | |
10419 | <param name="n" type="size_t" default=""/> | |
856bf319 RD |
10420 | </paramlist> |
10421 | </method> | |
f32fc4bc | 10422 | <pythoncode> |
856bf319 RD |
10423 | #--------------------------------------------------------------------------- |
10424 | </pythoncode> | |
781d2982 | 10425 | <class name="EncodingConverter" oldname="wxEncodingConverter" module="_gdi"> |
f32fc4bc RD |
10426 | <baseclass name="Object"/> |
10427 | <constructor name="EncodingConverter" overloaded="no"> | |
781d2982 | 10428 | <autodoc>__init__(self) -> EncodingConverter</autodoc> |
f32fc4bc RD |
10429 | </constructor> |
10430 | <destructor name="~wxEncodingConverter" overloaded="no"> | |
781d2982 | 10431 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
10432 | </destructor> |
10433 | <method name="Init" type="bool" overloaded="no"> | |
781d2982 | 10434 | <autodoc>Init(self, int input_enc, int output_enc, int method=CONVERT_STRICT) -> bool</autodoc> |
f32fc4bc RD |
10435 | <paramlist> |
10436 | <param name="input_enc" type="wxFontEncoding" default=""/> | |
10437 | <param name="output_enc" type="wxFontEncoding" default=""/> | |
10438 | <param name="method" type="int" default="wxCONVERT_STRICT"/> | |
10439 | </paramlist> | |
10440 | </method> | |
10441 | <method name="Convert" type="String" overloaded="no"> | |
781d2982 | 10442 | <autodoc>Convert(self, String input) -> String</autodoc> |
f32fc4bc RD |
10443 | <paramlist> |
10444 | <param name="input" type="String" default=""/> | |
10445 | </paramlist> | |
10446 | </method> | |
10447 | <staticmethod name="GetPlatformEquivalents" type="wxFontEncodingArray" overloaded="no"> | |
10448 | <autodoc>GetPlatformEquivalents(int enc, int platform=PLATFORM_CURRENT) -> wxFontEncodingArray</autodoc> | |
10449 | <paramlist> | |
10450 | <param name="enc" type="wxFontEncoding" default=""/> | |
10451 | <param name="platform" type="int" default="wxPLATFORM_CURRENT"/> | |
10452 | </paramlist> | |
10453 | </staticmethod> | |
10454 | <staticmethod name="GetAllEquivalents" type="wxFontEncodingArray" overloaded="no"> | |
10455 | <autodoc>GetAllEquivalents(int enc) -> wxFontEncodingArray</autodoc> | |
10456 | <paramlist> | |
10457 | <param name="enc" type="wxFontEncoding" default=""/> | |
10458 | </paramlist> | |
10459 | </staticmethod> | |
10460 | <staticmethod name="CanConvert" type="bool" overloaded="no"> | |
10461 | <autodoc>CanConvert(int encIn, int encOut) -> bool</autodoc> | |
10462 | <paramlist> | |
10463 | <param name="encIn" type="wxFontEncoding" default=""/> | |
10464 | <param name="encOut" type="wxFontEncoding" default=""/> | |
10465 | </paramlist> | |
10466 | </staticmethod> | |
10467 | </class> | |
10468 | <pythoncode>#---------------------------------------------------------------------------- | |
781d2982 | 10469 | # On MSW add the directory where the wxWidgets catalogs were installed |
f32fc4bc RD |
10470 | # to the default catalog path. |
10471 | if wx.Platform == "__WXMSW__": | |
10472 | import os | |
10473 | localedir = os.path.join(os.path.split(__file__)[0], "locale") | |
10474 | Locale_AddCatalogLookupPathPrefix(localedir) | |
10475 | del os | |
10476 | ||
10477 | #---------------------------------------------------------------------------- | |
10478 | </pythoncode> | |
10479 | <pythoncode> | |
0f43fbdf RD |
10480 | #--------------------------------------------------------------------------- |
10481 | </pythoncode> | |
781d2982 | 10482 | <class name="DC" oldname="wxDC" module="_gdi"> |
ce6878e6 RD |
10483 | <docstring>A wx.DC is a device context onto which graphics and text can be |
10484 | drawn. It is intended to represent a number of output devices in a | |
10485 | generic way, so a window can have a device context associated with it, | |
10486 | and a printer also has a device context. In this way, the same piece | |
10487 | of code may write to a number of different devices, if the device | |
10488 | context is used as a parameter. | |
10489 | ||
10490 | Derived types of wxDC have documentation for specific features only, | |
10491 | so refer to this section for most device context information. | |
10492 | ||
10493 | The wx.DC class is abstract and can not be instantiated, you must use | |
10494 | one of the derived classes instead. Which one will depend on the | |
10495 | situation in which it is used.</docstring> | |
f32fc4bc RD |
10496 | <baseclass name="Object"/> |
10497 | <destructor name="~wxDC" overloaded="no"> | |
781d2982 | 10498 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
10499 | </destructor> |
10500 | <method name="BeginDrawing" type="" overloaded="no"> | |
781d2982 | 10501 | <autodoc>BeginDrawing(self)</autodoc> |
ce6878e6 RD |
10502 | <docstring>Allows for optimization of drawing code on platforms that need it. On |
10503 | other platforms this is just an empty function and is harmless. To | |
10504 | take advantage of this postential optimization simply enclose each | |
10505 | group of calls to the drawing primitives within calls to | |
10506 | `BeginDrawing` and `EndDrawing`.</docstring> | |
f32fc4bc RD |
10507 | </method> |
10508 | <method name="EndDrawing" type="" overloaded="no"> | |
781d2982 | 10509 | <autodoc>EndDrawing(self)</autodoc> |
ce6878e6 RD |
10510 | <docstring>Ends the group of drawing primitives started with `BeginDrawing`, and |
10511 | invokes whatever optimization is available for this DC type on the | |
10512 | current platform.</docstring> | |
f32fc4bc | 10513 | </method> |
781d2982 RD |
10514 | <method name="FloodFill" type="bool" overloaded="no"> |
10515 | <autodoc>FloodFill(self, int x, int y, Colour col, int style=FLOOD_SURFACE) -> bool</autodoc> | |
ce6878e6 RD |
10516 | <docstring>Flood fills the device context starting from the given point, using |
10517 | the current brush colour, and using a style: | |
10518 | ||
10519 | - **wxFLOOD_SURFACE**: the flooding occurs until a colour other than | |
10520 | the given colour is encountered. | |
10521 | ||
10522 | - **wxFLOOD_BORDER**: the area to be flooded is bounded by the given | |
10523 | colour. | |
10524 | ||
10525 | Returns False if the operation failed. | |
10526 | ||
10527 | Note: The present implementation for non-Windows platforms may fail to | |
10528 | find colour borders if the pixels do not match the colour | |
10529 | exactly. However the function will still return true.</docstring> | |
f32fc4bc RD |
10530 | <paramlist> |
10531 | <param name="x" type="int" default=""/> | |
10532 | <param name="y" type="int" default=""/> | |
10533 | <param name="col" type="Colour" default=""/> | |
10534 | <param name="style" type="int" default="wxFLOOD_SURFACE"/> | |
10535 | </paramlist> | |
10536 | </method> | |
781d2982 RD |
10537 | <method name="FloodFillPoint" type="bool" overloaded="no"> |
10538 | <autodoc>FloodFillPoint(self, Point pt, Colour col, int style=FLOOD_SURFACE) -> bool</autodoc> | |
ce6878e6 RD |
10539 | <docstring>Flood fills the device context starting from the given point, using |
10540 | the current brush colour, and using a style: | |
10541 | ||
10542 | - **wxFLOOD_SURFACE**: the flooding occurs until a colour other than | |
10543 | the given colour is encountered. | |
10544 | ||
10545 | - **wxFLOOD_BORDER**: the area to be flooded is bounded by the given | |
10546 | colour. | |
10547 | ||
10548 | Returns False if the operation failed. | |
10549 | ||
10550 | Note: The present implementation for non-Windows platforms may fail to | |
10551 | find colour borders if the pixels do not match the colour | |
10552 | exactly. However the function will still return true.</docstring> | |
f32fc4bc RD |
10553 | <paramlist> |
10554 | <param name="pt" type="Point" default=""/> | |
10555 | <param name="col" type="Colour" default=""/> | |
10556 | <param name="style" type="int" default="wxFLOOD_SURFACE"/> | |
10557 | </paramlist> | |
10558 | </method> | |
781d2982 RD |
10559 | <method name="GetPixel" type="Colour" overloaded="no"> |
10560 | <autodoc>GetPixel(self, int x, int y) -> Colour</autodoc> | |
ce6878e6 | 10561 | <docstring>Gets the colour at the specified location on the DC.</docstring> |
f32fc4bc RD |
10562 | <paramlist> |
10563 | <param name="x" type="int" default=""/> | |
10564 | <param name="y" type="int" default=""/> | |
10565 | </paramlist> | |
10566 | </method> | |
781d2982 RD |
10567 | <method name="GetPixelPoint" type="Colour" overloaded="no"> |
10568 | <autodoc>GetPixelPoint(self, Point pt) -> Colour</autodoc> | |
f32fc4bc RD |
10569 | <paramlist> |
10570 | <param name="pt" type="Point" default=""/> | |
10571 | </paramlist> | |
10572 | </method> | |
781d2982 RD |
10573 | <method name="DrawLine" type="" overloaded="no"> |
10574 | <autodoc>DrawLine(self, int x1, int y1, int x2, int y2)</autodoc> | |
ce6878e6 RD |
10575 | <docstring>Draws a line from the first point to the second. The current pen is |
10576 | used for drawing the line. Note that the second point is *not* part of | |
10577 | the line and is not drawn by this function (this is consistent with | |
10578 | the behaviour of many other toolkits).</docstring> | |
f32fc4bc RD |
10579 | <paramlist> |
10580 | <param name="x1" type="int" default=""/> | |
10581 | <param name="y1" type="int" default=""/> | |
10582 | <param name="x2" type="int" default=""/> | |
10583 | <param name="y2" type="int" default=""/> | |
10584 | </paramlist> | |
10585 | </method> | |
781d2982 RD |
10586 | <method name="DrawLinePoint" type="" overloaded="no"> |
10587 | <autodoc>DrawLinePoint(self, Point pt1, Point pt2)</autodoc> | |
ce6878e6 RD |
10588 | <docstring>Draws a line from the first point to the second. The current pen is |
10589 | used for drawing the line. Note that the second point is *not* part of | |
10590 | the line and is not drawn by this function (this is consistent with | |
10591 | the behaviour of many other toolkits).</docstring> | |
f32fc4bc RD |
10592 | <paramlist> |
10593 | <param name="pt1" type="Point" default=""/> | |
10594 | <param name="pt2" type="Point" default=""/> | |
10595 | </paramlist> | |
10596 | </method> | |
781d2982 RD |
10597 | <method name="CrossHair" type="" overloaded="no"> |
10598 | <autodoc>CrossHair(self, int x, int y)</autodoc> | |
ce6878e6 RD |
10599 | <docstring>Displays a cross hair using the current pen. This is a vertical and |
10600 | horizontal line the height and width of the window, centred on the | |
10601 | given point.</docstring> | |
f32fc4bc RD |
10602 | <paramlist> |
10603 | <param name="x" type="int" default=""/> | |
10604 | <param name="y" type="int" default=""/> | |
10605 | </paramlist> | |
10606 | </method> | |
781d2982 RD |
10607 | <method name="CrossHairPoint" type="" overloaded="no"> |
10608 | <autodoc>CrossHairPoint(self, Point pt)</autodoc> | |
ce6878e6 RD |
10609 | <docstring>Displays a cross hair using the current pen. This is a vertical and |
10610 | horizontal line the height and width of the window, centred on the | |
10611 | given point.</docstring> | |
f32fc4bc RD |
10612 | <paramlist> |
10613 | <param name="pt" type="Point" default=""/> | |
10614 | </paramlist> | |
10615 | </method> | |
781d2982 RD |
10616 | <method name="DrawArc" type="" overloaded="no"> |
10617 | <autodoc>DrawArc(self, int x1, int y1, int x2, int y2, int xc, int yc)</autodoc> | |
ce6878e6 RD |
10618 | <docstring>Draws an arc of a circle, centred on the *center* point (xc, yc), from |
10619 | the first point to the second. The current pen is used for the outline | |
10620 | and the current brush for filling the shape. | |
10621 | ||
10622 | The arc is drawn in an anticlockwise direction from the start point to | |
10623 | the end point.</docstring> | |
f32fc4bc RD |
10624 | <paramlist> |
10625 | <param name="x1" type="int" default=""/> | |
10626 | <param name="y1" type="int" default=""/> | |
10627 | <param name="x2" type="int" default=""/> | |
10628 | <param name="y2" type="int" default=""/> | |
10629 | <param name="xc" type="int" default=""/> | |
10630 | <param name="yc" type="int" default=""/> | |
10631 | </paramlist> | |
10632 | </method> | |
781d2982 | 10633 | <method name="DrawArcPoint" type="" overloaded="no"> |
ce6878e6 RD |
10634 | <autodoc>DrawArcPoint(self, Point pt1, Point pt2, Point center)</autodoc> |
10635 | <docstring>Draws an arc of a circle, centred on the *center* point (xc, yc), from | |
10636 | the first point to the second. The current pen is used for the outline | |
10637 | and the current brush for filling the shape. | |
10638 | ||
10639 | The arc is drawn in an anticlockwise direction from the start point to | |
10640 | the end point.</docstring> | |
f32fc4bc RD |
10641 | <paramlist> |
10642 | <param name="pt1" type="Point" default=""/> | |
10643 | <param name="pt2" type="Point" default=""/> | |
ce6878e6 | 10644 | <param name="center" type="Point" default=""/> |
f32fc4bc RD |
10645 | </paramlist> |
10646 | </method> | |
781d2982 RD |
10647 | <method name="DrawCheckMark" type="" overloaded="no"> |
10648 | <autodoc>DrawCheckMark(self, int x, int y, int width, int height)</autodoc> | |
ce6878e6 | 10649 | <docstring>Draws a check mark inside the given rectangle.</docstring> |
f32fc4bc RD |
10650 | <paramlist> |
10651 | <param name="x" type="int" default=""/> | |
10652 | <param name="y" type="int" default=""/> | |
10653 | <param name="width" type="int" default=""/> | |
10654 | <param name="height" type="int" default=""/> | |
10655 | </paramlist> | |
10656 | </method> | |
781d2982 RD |
10657 | <method name="DrawCheckMarkRect" type="" overloaded="no"> |
10658 | <autodoc>DrawCheckMarkRect(self, Rect rect)</autodoc> | |
ce6878e6 | 10659 | <docstring>Draws a check mark inside the given rectangle.</docstring> |
f32fc4bc RD |
10660 | <paramlist> |
10661 | <param name="rect" type="Rect" default=""/> | |
10662 | </paramlist> | |
10663 | </method> | |
781d2982 | 10664 | <method name="DrawEllipticArc" type="" overloaded="no"> |
ce6878e6 RD |
10665 | <autodoc>DrawEllipticArc(self, int x, int y, int w, int h, double start, double end)</autodoc> |
10666 | <docstring>Draws an arc of an ellipse, with the given rectangle defining the | |
10667 | bounds of the ellipse. The current pen is used for drawing the arc and | |
10668 | the current brush is used for drawing the pie. | |
10669 | ||
10670 | The *start* and *end* parameters specify the start and end of the arc | |
10671 | relative to the three-o'clock position from the center of the | |
10672 | rectangle. Angles are specified in degrees (360 is a complete | |
10673 | circle). Positive values mean counter-clockwise motion. If start is | |
10674 | equal to end, a complete ellipse will be drawn.</docstring> | |
f32fc4bc RD |
10675 | <paramlist> |
10676 | <param name="x" type="int" default=""/> | |
10677 | <param name="y" type="int" default=""/> | |
10678 | <param name="w" type="int" default=""/> | |
10679 | <param name="h" type="int" default=""/> | |
ce6878e6 RD |
10680 | <param name="start" type="double" default=""/> |
10681 | <param name="end" type="double" default=""/> | |
f32fc4bc RD |
10682 | </paramlist> |
10683 | </method> | |
781d2982 | 10684 | <method name="DrawEllipticArcPointSize" type="" overloaded="no"> |
ce6878e6 RD |
10685 | <autodoc>DrawEllipticArcPointSize(self, Point pt, Size sz, double start, double end)</autodoc> |
10686 | <docstring>Draws an arc of an ellipse, with the given rectangle defining the | |
10687 | bounds of the ellipse. The current pen is used for drawing the arc and | |
10688 | the current brush is used for drawing the pie. | |
10689 | ||
10690 | The *start* and *end* parameters specify the start and end of the arc | |
10691 | relative to the three-o'clock position from the center of the | |
10692 | rectangle. Angles are specified in degrees (360 is a complete | |
10693 | circle). Positive values mean counter-clockwise motion. If start is | |
10694 | equal to end, a complete ellipse will be drawn.</docstring> | |
f32fc4bc RD |
10695 | <paramlist> |
10696 | <param name="pt" type="Point" default=""/> | |
10697 | <param name="sz" type="Size" default=""/> | |
ce6878e6 RD |
10698 | <param name="start" type="double" default=""/> |
10699 | <param name="end" type="double" default=""/> | |
f32fc4bc RD |
10700 | </paramlist> |
10701 | </method> | |
781d2982 RD |
10702 | <method name="DrawPoint" type="" overloaded="no"> |
10703 | <autodoc>DrawPoint(self, int x, int y)</autodoc> | |
ce6878e6 | 10704 | <docstring>Draws a point using the current pen.</docstring> |
f32fc4bc RD |
10705 | <paramlist> |
10706 | <param name="x" type="int" default=""/> | |
10707 | <param name="y" type="int" default=""/> | |
10708 | </paramlist> | |
10709 | </method> | |
781d2982 RD |
10710 | <method name="DrawPointPoint" type="" overloaded="no"> |
10711 | <autodoc>DrawPointPoint(self, Point pt)</autodoc> | |
ce6878e6 | 10712 | <docstring>Draws a point using the current pen.</docstring> |
f32fc4bc RD |
10713 | <paramlist> |
10714 | <param name="pt" type="Point" default=""/> | |
10715 | </paramlist> | |
10716 | </method> | |
781d2982 RD |
10717 | <method name="DrawRectangle" type="" overloaded="no"> |
10718 | <autodoc>DrawRectangle(self, int x, int y, int width, int height)</autodoc> | |
ce6878e6 RD |
10719 | <docstring>Draws a rectangle with the given top left corner, and with the given |
10720 | size. The current pen is used for the outline and the current brush | |
10721 | for filling the shape.</docstring> | |
f32fc4bc RD |
10722 | <paramlist> |
10723 | <param name="x" type="int" default=""/> | |
10724 | <param name="y" type="int" default=""/> | |
10725 | <param name="width" type="int" default=""/> | |
10726 | <param name="height" type="int" default=""/> | |
10727 | </paramlist> | |
10728 | </method> | |
781d2982 RD |
10729 | <method name="DrawRectangleRect" type="" overloaded="no"> |
10730 | <autodoc>DrawRectangleRect(self, Rect rect)</autodoc> | |
ce6878e6 RD |
10731 | <docstring>Draws a rectangle with the given top left corner, and with the given |
10732 | size. The current pen is used for the outline and the current brush | |
10733 | for filling the shape.</docstring> | |
f32fc4bc | 10734 | <paramlist> |
781d2982 | 10735 | <param name="rect" type="Rect" default=""/> |
f32fc4bc RD |
10736 | </paramlist> |
10737 | </method> | |
781d2982 RD |
10738 | <method name="DrawRectanglePointSize" type="" overloaded="no"> |
10739 | <autodoc>DrawRectanglePointSize(self, Point pt, Size sz)</autodoc> | |
ce6878e6 RD |
10740 | <docstring>Draws a rectangle with the given top left corner, and with the given |
10741 | size. The current pen is used for the outline and the current brush | |
10742 | for filling the shape.</docstring> | |
f32fc4bc | 10743 | <paramlist> |
781d2982 RD |
10744 | <param name="pt" type="Point" default=""/> |
10745 | <param name="sz" type="Size" default=""/> | |
f32fc4bc RD |
10746 | </paramlist> |
10747 | </method> | |
781d2982 RD |
10748 | <method name="DrawRoundedRectangle" type="" overloaded="no"> |
10749 | <autodoc>DrawRoundedRectangle(self, int x, int y, int width, int height, double radius)</autodoc> | |
ce6878e6 RD |
10750 | <docstring>Draws a rectangle with the given top left corner, and with the given |
10751 | size. The corners are quarter-circles using the given radius. The | |
10752 | current pen is used for the outline and the current brush for filling | |
10753 | the shape. | |
10754 | ||
10755 | If radius is positive, the value is assumed to be the radius of the | |
10756 | rounded corner. If radius is negative, the absolute value is assumed | |
10757 | to be the proportion of the smallest dimension of the rectangle. This | |
10758 | means that the corner can be a sensible size relative to the size of | |
10759 | the rectangle, and also avoids the strange effects X produces when the | |
10760 | corners are too big for the rectangle.</docstring> | |
f32fc4bc RD |
10761 | <paramlist> |
10762 | <param name="x" type="int" default=""/> | |
10763 | <param name="y" type="int" default=""/> | |
10764 | <param name="width" type="int" default=""/> | |
10765 | <param name="height" type="int" default=""/> | |
10766 | <param name="radius" type="double" default=""/> | |
10767 | </paramlist> | |
10768 | </method> | |
781d2982 RD |
10769 | <method name="DrawRoundedRectangleRect" type="" overloaded="no"> |
10770 | <autodoc>DrawRoundedRectangleRect(self, Rect r, double radius)</autodoc> | |
ce6878e6 RD |
10771 | <docstring>Draws a rectangle with the given top left corner, and with the given |
10772 | size. The corners are quarter-circles using the given radius. The | |
10773 | current pen is used for the outline and the current brush for filling | |
10774 | the shape. | |
10775 | ||
10776 | If radius is positive, the value is assumed to be the radius of the | |
10777 | rounded corner. If radius is negative, the absolute value is assumed | |
10778 | to be the proportion of the smallest dimension of the rectangle. This | |
10779 | means that the corner can be a sensible size relative to the size of | |
10780 | the rectangle, and also avoids the strange effects X produces when the | |
10781 | corners are too big for the rectangle.</docstring> | |
f32fc4bc | 10782 | <paramlist> |
781d2982 | 10783 | <param name="r" type="Rect" default=""/> |
f32fc4bc RD |
10784 | <param name="radius" type="double" default=""/> |
10785 | </paramlist> | |
10786 | </method> | |
781d2982 RD |
10787 | <method name="DrawRoundedRectanglePointSize" type="" overloaded="no"> |
10788 | <autodoc>DrawRoundedRectanglePointSize(self, Point pt, Size sz, double radius)</autodoc> | |
ce6878e6 RD |
10789 | <docstring>Draws a rectangle with the given top left corner, and with the given |
10790 | size. The corners are quarter-circles using the given radius. The | |
10791 | current pen is used for the outline and the current brush for filling | |
10792 | the shape. | |
10793 | ||
10794 | If radius is positive, the value is assumed to be the radius of the | |
10795 | rounded corner. If radius is negative, the absolute value is assumed | |
10796 | to be the proportion of the smallest dimension of the rectangle. This | |
10797 | means that the corner can be a sensible size relative to the size of | |
10798 | the rectangle, and also avoids the strange effects X produces when the | |
10799 | corners are too big for the rectangle.</docstring> | |
f32fc4bc | 10800 | <paramlist> |
781d2982 RD |
10801 | <param name="pt" type="Point" default=""/> |
10802 | <param name="sz" type="Size" default=""/> | |
f32fc4bc RD |
10803 | <param name="radius" type="double" default=""/> |
10804 | </paramlist> | |
10805 | </method> | |
781d2982 RD |
10806 | <method name="DrawCircle" type="" overloaded="no"> |
10807 | <autodoc>DrawCircle(self, int x, int y, int radius)</autodoc> | |
ce6878e6 RD |
10808 | <docstring>Draws a circle with the given center point and radius. The current |
10809 | pen is used for the outline and the current brush for filling the | |
10810 | shape. | |
10811 | ||
10812 | :see: `DrawEllipse`</docstring> | |
f32fc4bc RD |
10813 | <paramlist> |
10814 | <param name="x" type="int" default=""/> | |
10815 | <param name="y" type="int" default=""/> | |
10816 | <param name="radius" type="int" default=""/> | |
10817 | </paramlist> | |
10818 | </method> | |
781d2982 RD |
10819 | <method name="DrawCirclePoint" type="" overloaded="no"> |
10820 | <autodoc>DrawCirclePoint(self, Point pt, int radius)</autodoc> | |
ce6878e6 RD |
10821 | <docstring>Draws a circle with the given center point and radius. The current |
10822 | pen is used for the outline and the current brush for filling the | |
10823 | shape. | |
10824 | ||
10825 | :see: `DrawEllipse`</docstring> | |
f32fc4bc RD |
10826 | <paramlist> |
10827 | <param name="pt" type="Point" default=""/> | |
10828 | <param name="radius" type="int" default=""/> | |
10829 | </paramlist> | |
10830 | </method> | |
781d2982 RD |
10831 | <method name="DrawEllipse" type="" overloaded="no"> |
10832 | <autodoc>DrawEllipse(self, int x, int y, int width, int height)</autodoc> | |
ce6878e6 RD |
10833 | <docstring>Draws an ellipse contained in the specified rectangle. The current pen |
10834 | is used for the outline and the current brush for filling the shape. | |
10835 | ||
10836 | :see: `DrawCircle`</docstring> | |
f32fc4bc RD |
10837 | <paramlist> |
10838 | <param name="x" type="int" default=""/> | |
10839 | <param name="y" type="int" default=""/> | |
10840 | <param name="width" type="int" default=""/> | |
10841 | <param name="height" type="int" default=""/> | |
10842 | </paramlist> | |
10843 | </method> | |
781d2982 RD |
10844 | <method name="DrawEllipseRect" type="" overloaded="no"> |
10845 | <autodoc>DrawEllipseRect(self, Rect rect)</autodoc> | |
ce6878e6 RD |
10846 | <docstring>Draws an ellipse contained in the specified rectangle. The current pen |
10847 | is used for the outline and the current brush for filling the shape. | |
10848 | ||
10849 | :see: `DrawCircle`</docstring> | |
f32fc4bc | 10850 | <paramlist> |
781d2982 | 10851 | <param name="rect" type="Rect" default=""/> |
f32fc4bc RD |
10852 | </paramlist> |
10853 | </method> | |
781d2982 RD |
10854 | <method name="DrawEllipsePointSize" type="" overloaded="no"> |
10855 | <autodoc>DrawEllipsePointSize(self, Point pt, Size sz)</autodoc> | |
ce6878e6 RD |
10856 | <docstring>Draws an ellipse contained in the specified rectangle. The current pen |
10857 | is used for the outline and the current brush for filling the shape. | |
10858 | ||
10859 | :see: `DrawCircle`</docstring> | |
f32fc4bc | 10860 | <paramlist> |
781d2982 RD |
10861 | <param name="pt" type="Point" default=""/> |
10862 | <param name="sz" type="Size" default=""/> | |
f32fc4bc RD |
10863 | </paramlist> |
10864 | </method> | |
781d2982 RD |
10865 | <method name="DrawIcon" type="" overloaded="no"> |
10866 | <autodoc>DrawIcon(self, Icon icon, int x, int y)</autodoc> | |
ce6878e6 RD |
10867 | <docstring>Draw an icon on the display (does nothing if the device context is |
10868 | PostScript). This can be the simplest way of drawing bitmaps on a | |
10869 | window.</docstring> | |
f32fc4bc RD |
10870 | <paramlist> |
10871 | <param name="icon" type="Icon" default=""/> | |
10872 | <param name="x" type="int" default=""/> | |
10873 | <param name="y" type="int" default=""/> | |
10874 | </paramlist> | |
10875 | </method> | |
781d2982 RD |
10876 | <method name="DrawIconPoint" type="" overloaded="no"> |
10877 | <autodoc>DrawIconPoint(self, Icon icon, Point pt)</autodoc> | |
ce6878e6 RD |
10878 | <docstring>Draw an icon on the display (does nothing if the device context is |
10879 | PostScript). This can be the simplest way of drawing bitmaps on a | |
10880 | window.</docstring> | |
f32fc4bc RD |
10881 | <paramlist> |
10882 | <param name="icon" type="Icon" default=""/> | |
10883 | <param name="pt" type="Point" default=""/> | |
10884 | </paramlist> | |
10885 | </method> | |
781d2982 RD |
10886 | <method name="DrawBitmap" type="" overloaded="no"> |
10887 | <autodoc>DrawBitmap(self, Bitmap bmp, int x, int y, bool useMask=False)</autodoc> | |
ce6878e6 RD |
10888 | <docstring>Draw a bitmap on the device context at the specified point. If |
10889 | *transparent* is true and the bitmap has a transparency mask, (or | |
10890 | alpha channel on the platforms that support it) then the bitmap will | |
10891 | be drawn transparently. | |
10892 | ||
10893 | When drawing a mono-bitmap, the current text foreground colour will be | |
10894 | used to draw the foreground of the bitmap (all bits set to 1), and the | |
10895 | current text background colour to draw the background (all bits set to | |
10896 | 0). | |
10897 | ||
10898 | :see: `SetTextForeground`, `SetTextBackground` and `wx.MemoryDC`</docstring> | |
f32fc4bc RD |
10899 | <paramlist> |
10900 | <param name="bmp" type="Bitmap" default=""/> | |
10901 | <param name="x" type="int" default=""/> | |
10902 | <param name="y" type="int" default=""/> | |
10903 | <param name="useMask" type="bool" default="False"/> | |
10904 | </paramlist> | |
10905 | </method> | |
781d2982 RD |
10906 | <method name="DrawBitmapPoint" type="" overloaded="no"> |
10907 | <autodoc>DrawBitmapPoint(self, Bitmap bmp, Point pt, bool useMask=False)</autodoc> | |
ce6878e6 RD |
10908 | <docstring>Draw a bitmap on the device context at the specified point. If |
10909 | *transparent* is true and the bitmap has a transparency mask, (or | |
10910 | alpha channel on the platforms that support it) then the bitmap will | |
10911 | be drawn transparently. | |
10912 | ||
10913 | When drawing a mono-bitmap, the current text foreground colour will be | |
10914 | used to draw the foreground of the bitmap (all bits set to 1), and the | |
10915 | current text background colour to draw the background (all bits set to | |
10916 | 0). | |
10917 | ||
10918 | :see: `SetTextForeground`, `SetTextBackground` and `wx.MemoryDC`</docstring> | |
f32fc4bc RD |
10919 | <paramlist> |
10920 | <param name="bmp" type="Bitmap" default=""/> | |
10921 | <param name="pt" type="Point" default=""/> | |
10922 | <param name="useMask" type="bool" default="False"/> | |
10923 | </paramlist> | |
10924 | </method> | |
781d2982 RD |
10925 | <method name="DrawText" type="" overloaded="no"> |
10926 | <autodoc>DrawText(self, String text, int x, int y)</autodoc> | |
ce6878e6 RD |
10927 | <docstring>Draws a text string at the specified point, using the current text |
10928 | font, and the current text foreground and background colours. | |
10929 | ||
10930 | The coordinates refer to the top-left corner of the rectangle bounding | |
10931 | the string. See `GetTextExtent` for how to get the dimensions of a | |
10932 | text string, which can be used to position the text more precisely. | |
10933 | ||
10934 | **NOTE**: under wxGTK the current logical function is used by this | |
10935 | function but it is ignored by wxMSW. Thus, you should avoid using | |
10936 | logical functions with this function in portable programs. | |
10937 | ||
10938 | :see: `DrawRotatedText`</docstring> | |
f32fc4bc RD |
10939 | <paramlist> |
10940 | <param name="text" type="String" default=""/> | |
10941 | <param name="x" type="int" default=""/> | |
10942 | <param name="y" type="int" default=""/> | |
10943 | </paramlist> | |
10944 | </method> | |
781d2982 RD |
10945 | <method name="DrawTextPoint" type="" overloaded="no"> |
10946 | <autodoc>DrawTextPoint(self, String text, Point pt)</autodoc> | |
ce6878e6 RD |
10947 | <docstring>Draws a text string at the specified point, using the current text |
10948 | font, and the current text foreground and background colours. | |
10949 | ||
10950 | The coordinates refer to the top-left corner of the rectangle bounding | |
10951 | the string. See `GetTextExtent` for how to get the dimensions of a | |
10952 | text string, which can be used to position the text more precisely. | |
10953 | ||
10954 | **NOTE**: under wxGTK the current logical function is used by this | |
10955 | function but it is ignored by wxMSW. Thus, you should avoid using | |
10956 | logical functions with this function in portable programs. | |
10957 | ||
10958 | :see: `DrawRotatedText`</docstring> | |
f32fc4bc RD |
10959 | <paramlist> |
10960 | <param name="text" type="String" default=""/> | |
10961 | <param name="pt" type="Point" default=""/> | |
10962 | </paramlist> | |
10963 | </method> | |
781d2982 RD |
10964 | <method name="DrawRotatedText" type="" overloaded="no"> |
10965 | <autodoc>DrawRotatedText(self, String text, int x, int y, double angle)</autodoc> | |
ce6878e6 RD |
10966 | <docstring>Draws the text rotated by *angle* degrees, if supported by the platform. |
10967 | ||
10968 | **NOTE**: Under Win9x only TrueType fonts can be drawn by this | |
10969 | function. In particular, a font different from ``wx.NORMAL_FONT`` | |
10970 | should be used as the it is not normally a TrueType | |
10971 | font. ``wx.SWISS_FONT`` is an example of a font which is. | |
10972 | ||
10973 | :see: `DrawText`</docstring> | |
f32fc4bc RD |
10974 | <paramlist> |
10975 | <param name="text" type="String" default=""/> | |
10976 | <param name="x" type="int" default=""/> | |
10977 | <param name="y" type="int" default=""/> | |
10978 | <param name="angle" type="double" default=""/> | |
10979 | </paramlist> | |
10980 | </method> | |
781d2982 RD |
10981 | <method name="DrawRotatedTextPoint" type="" overloaded="no"> |
10982 | <autodoc>DrawRotatedTextPoint(self, String text, Point pt, double angle)</autodoc> | |
ce6878e6 RD |
10983 | <docstring>Draws the text rotated by *angle* degrees, if supported by the platform. |
10984 | ||
10985 | **NOTE**: Under Win9x only TrueType fonts can be drawn by this | |
10986 | function. In particular, a font different from ``wx.NORMAL_FONT`` | |
10987 | should be used as the it is not normally a TrueType | |
10988 | font. ``wx.SWISS_FONT`` is an example of a font which is. | |
10989 | ||
10990 | :see: `DrawText`</docstring> | |
f32fc4bc RD |
10991 | <paramlist> |
10992 | <param name="text" type="String" default=""/> | |
10993 | <param name="pt" type="Point" default=""/> | |
10994 | <param name="angle" type="double" default=""/> | |
10995 | </paramlist> | |
10996 | </method> | |
781d2982 RD |
10997 | <method name="Blit" type="bool" overloaded="no"> |
10998 | <autodoc>Blit(self, int xdest, int ydest, int width, int height, DC source, | |
f32fc4bc RD |
10999 | int xsrc, int ysrc, int rop=COPY, bool useMask=False, |
11000 | int xsrcMask=-1, int ysrcMask=-1) -> bool</autodoc> | |
ce6878e6 RD |
11001 | <docstring>Copy from a source DC to this DC. Parameters specify the destination |
11002 | coordinates, size of area to copy, source DC, source coordinates, | |
11003 | logical function, whether to use a bitmap mask, and mask source | |
11004 | position. | |
11005 | ||
11006 | :param xdest: Destination device context x position. | |
11007 | :param ydest: Destination device context y position. | |
11008 | :param width: Width of source area to be copied. | |
11009 | :param height: Height of source area to be copied. | |
11010 | :param source: Source device context. | |
11011 | :param xsrc: Source device context x position. | |
11012 | :param ysrc: Source device context y position. | |
11013 | :param rop: Logical function to use: see `SetLogicalFunction`. | |
11014 | :param useMask: If true, Blit does a transparent blit using the mask | |
11015 | that is associated with the bitmap selected into the | |
11016 | source device context. | |
11017 | :param xsrcMask: Source x position on the mask. If both xsrcMask and | |
11018 | ysrcMask are -1, xsrc and ysrc will be assumed for | |
11019 | the mask source position. | |
11020 | :param ysrcMask: Source y position on the mask. | |
11021 | </docstring> | |
f32fc4bc RD |
11022 | <paramlist> |
11023 | <param name="xdest" type="int" default=""/> | |
11024 | <param name="ydest" type="int" default=""/> | |
11025 | <param name="width" type="int" default=""/> | |
11026 | <param name="height" type="int" default=""/> | |
11027 | <param name="source" type="DC" default=""/> | |
11028 | <param name="xsrc" type="int" default=""/> | |
11029 | <param name="ysrc" type="int" default=""/> | |
11030 | <param name="rop" type="int" default="wxCOPY"/> | |
11031 | <param name="useMask" type="bool" default="False"/> | |
11032 | <param name="xsrcMask" type="int" default="-1"/> | |
11033 | <param name="ysrcMask" type="int" default="-1"/> | |
11034 | </paramlist> | |
11035 | </method> | |
781d2982 RD |
11036 | <method name="BlitPointSize" type="bool" overloaded="no"> |
11037 | <autodoc>BlitPointSize(self, Point destPt, Size sz, DC source, Point srcPt, int rop=COPY, | |
f32fc4bc | 11038 | bool useMask=False, Point srcPtMask=DefaultPosition) -> bool</autodoc> |
ce6878e6 RD |
11039 | <docstring>Copy from a source DC to this DC. Parameters specify the destination |
11040 | coordinates, size of area to copy, source DC, source coordinates, | |
11041 | logical function, whether to use a bitmap mask, and mask source | |
11042 | position. | |
11043 | ||
11044 | :param destPt: Destination device context position. | |
11045 | :param sz: Size of source area to be copied. | |
11046 | :param source: Source device context. | |
11047 | :param srcPt: Source device context position. | |
11048 | :param rop: Logical function to use: see `SetLogicalFunction`. | |
11049 | :param useMask: If true, Blit does a transparent blit using the mask | |
11050 | that is associated with the bitmap selected into the | |
11051 | source device context. | |
11052 | :param srcPtMask: Source position on the mask. | |
11053 | </docstring> | |
f32fc4bc RD |
11054 | <paramlist> |
11055 | <param name="destPt" type="Point" default=""/> | |
11056 | <param name="sz" type="Size" default=""/> | |
11057 | <param name="source" type="DC" default=""/> | |
11058 | <param name="srcPt" type="Point" default=""/> | |
11059 | <param name="rop" type="int" default="wxCOPY"/> | |
11060 | <param name="useMask" type="bool" default="False"/> | |
11061 | <param name="srcPtMask" type="Point" default="wxDefaultPosition"/> | |
11062 | </paramlist> | |
11063 | </method> | |
781d2982 RD |
11064 | <method name="SetClippingRegion" type="" overloaded="no"> |
11065 | <autodoc>SetClippingRegion(self, int x, int y, int width, int height)</autodoc> | |
ce6878e6 RD |
11066 | <docstring>Sets the clipping region for this device context to the intersection |
11067 | of the given region described by the parameters of this method and the | |
11068 | previously set clipping region. You should call `DestroyClippingRegion` | |
11069 | if you want to set the clipping region exactly to the region | |
11070 | specified. | |
11071 | ||
11072 | The clipping region is an area to which drawing is | |
11073 | restricted. Possible uses for the clipping region are for clipping | |
11074 | text or for speeding up window redraws when only a known area of the | |
11075 | screen is damaged. | |
11076 | ||
11077 | :see: `DestroyClippingRegion`, `wx.Region`</docstring> | |
781d2982 RD |
11078 | <paramlist> |
11079 | <param name="x" type="int" default=""/> | |
11080 | <param name="y" type="int" default=""/> | |
11081 | <param name="width" type="int" default=""/> | |
11082 | <param name="height" type="int" default=""/> | |
11083 | </paramlist> | |
11084 | </method> | |
11085 | <method name="SetClippingRegionPointSize" type="" overloaded="no"> | |
11086 | <autodoc>SetClippingRegionPointSize(self, Point pt, Size sz)</autodoc> | |
ce6878e6 RD |
11087 | <docstring>Sets the clipping region for this device context to the intersection |
11088 | of the given region described by the parameters of this method and the | |
11089 | previously set clipping region. You should call `DestroyClippingRegion` | |
11090 | if you want to set the clipping region exactly to the region | |
11091 | specified. | |
11092 | ||
11093 | The clipping region is an area to which drawing is | |
11094 | restricted. Possible uses for the clipping region are for clipping | |
11095 | text or for speeding up window redraws when only a known area of the | |
11096 | screen is damaged. | |
11097 | ||
11098 | :see: `DestroyClippingRegion`, `wx.Region`</docstring> | |
781d2982 RD |
11099 | <paramlist> |
11100 | <param name="pt" type="Point" default=""/> | |
11101 | <param name="sz" type="Size" default=""/> | |
11102 | </paramlist> | |
11103 | </method> | |
11104 | <method name="SetClippingRegionAsRegion" type="" overloaded="no"> | |
11105 | <autodoc>SetClippingRegionAsRegion(self, Region region)</autodoc> | |
ce6878e6 RD |
11106 | <docstring>Sets the clipping region for this device context to the intersection |
11107 | of the given region described by the parameters of this method and the | |
11108 | previously set clipping region. You should call `DestroyClippingRegion` | |
11109 | if you want to set the clipping region exactly to the region | |
11110 | specified. | |
11111 | ||
11112 | The clipping region is an area to which drawing is | |
11113 | restricted. Possible uses for the clipping region are for clipping | |
11114 | text or for speeding up window redraws when only a known area of the | |
11115 | screen is damaged. | |
11116 | ||
11117 | :see: `DestroyClippingRegion`, `wx.Region`</docstring> | |
781d2982 RD |
11118 | <paramlist> |
11119 | <param name="region" type="Region" default=""/> | |
11120 | </paramlist> | |
11121 | </method> | |
11122 | <method name="SetClippingRect" type="" overloaded="no"> | |
11123 | <autodoc>SetClippingRect(self, Rect rect)</autodoc> | |
ce6878e6 RD |
11124 | <docstring>Sets the clipping region for this device context to the intersection |
11125 | of the given region described by the parameters of this method and the | |
11126 | previously set clipping region. You should call `DestroyClippingRegion` | |
11127 | if you want to set the clipping region exactly to the region | |
11128 | specified. | |
11129 | ||
11130 | The clipping region is an area to which drawing is | |
11131 | restricted. Possible uses for the clipping region are for clipping | |
11132 | text or for speeding up window redraws when only a known area of the | |
11133 | screen is damaged. | |
11134 | ||
11135 | :see: `DestroyClippingRegion`, `wx.Region`</docstring> | |
781d2982 RD |
11136 | <paramlist> |
11137 | <param name="rect" type="Rect" default=""/> | |
11138 | </paramlist> | |
11139 | </method> | |
f32fc4bc | 11140 | <method name="DrawLines" type="" overloaded="no"> |
ce6878e6 RD |
11141 | <autodoc>DrawLines(self, List points, int xoffset=0, int yoffset=0)</autodoc> |
11142 | <docstring>Draws lines using a sequence of `wx.Point` objects, adding the | |
11143 | optional offset coordinate. The current pen is used for drawing the | |
11144 | lines.</docstring> | |
f32fc4bc RD |
11145 | <paramlist> |
11146 | <param name="points" type="int" default=""/> | |
11147 | <param name="points_array" type="Point" default=""/> | |
11148 | <param name="xoffset" type="int" default="0"/> | |
11149 | <param name="yoffset" type="int" default="0"/> | |
11150 | </paramlist> | |
11151 | </method> | |
11152 | <method name="DrawPolygon" type="" overloaded="no"> | |
ce6878e6 | 11153 | <autodoc>DrawPolygon(self, List points, int xoffset=0, int yoffset=0, |
f32fc4bc | 11154 | int fillStyle=ODDEVEN_RULE)</autodoc> |
ce6878e6 RD |
11155 | <docstring>Draws a filled polygon using a sequence of `wx.Point` objects, adding |
11156 | the optional offset coordinate. The last argument specifies the fill | |
11157 | rule: ``wx.ODDEVEN_RULE`` (the default) or ``wx.WINDING_RULE``. | |
11158 | ||
11159 | The current pen is used for drawing the outline, and the current brush | |
11160 | for filling the shape. Using a transparent brush suppresses | |
11161 | filling. Note that wxWidgets automatically closes the first and last | |
11162 | points.</docstring> | |
f32fc4bc RD |
11163 | <paramlist> |
11164 | <param name="points" type="int" default=""/> | |
11165 | <param name="points_array" type="Point" default=""/> | |
11166 | <param name="xoffset" type="int" default="0"/> | |
11167 | <param name="yoffset" type="int" default="0"/> | |
11168 | <param name="fillStyle" type="int" default="wxODDEVEN_RULE"/> | |
11169 | </paramlist> | |
11170 | </method> | |
11171 | <method name="DrawLabel" type="" overloaded="no"> | |
781d2982 | 11172 | <autodoc>DrawLabel(self, String text, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, |
f32fc4bc | 11173 | int indexAccel=-1)</autodoc> |
ce6878e6 RD |
11174 | <docstring>Draw *text* within the specified rectangle, abiding by the alignment |
11175 | flags. Will additionally emphasize the character at *indexAccel* if | |
11176 | it is not -1. | |
11177 | ||
11178 | :see: `DrawImageLabel`</docstring> | |
f32fc4bc RD |
11179 | <paramlist> |
11180 | <param name="text" type="String" default=""/> | |
11181 | <param name="rect" type="Rect" default=""/> | |
11182 | <param name="alignment" type="int" default="wxALIGN_LEFT|wxALIGN_TOP"/> | |
11183 | <param name="indexAccel" type="int" default="-1"/> | |
11184 | </paramlist> | |
11185 | </method> | |
11186 | <method name="DrawImageLabel" type="Rect" overloaded="no"> | |
781d2982 | 11187 | <autodoc>DrawImageLabel(self, String text, Bitmap image, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, |
f32fc4bc | 11188 | int indexAccel=-1) -> Rect</autodoc> |
ce6878e6 RD |
11189 | <docstring>Draw *text* and an image (which may be ``wx.NullBitmap`` to skip |
11190 | drawing it) within the specified rectangle, abiding by the alignment | |
11191 | flags. Will additionally emphasize the character at *indexAccel* if | |
11192 | it is not -1. Returns the bounding rectangle.</docstring> | |
f32fc4bc RD |
11193 | <paramlist> |
11194 | <param name="text" type="String" default=""/> | |
11195 | <param name="image" type="Bitmap" default=""/> | |
11196 | <param name="rect" type="Rect" default=""/> | |
11197 | <param name="alignment" type="int" default="wxALIGN_LEFT|wxALIGN_TOP"/> | |
11198 | <param name="indexAccel" type="int" default="-1"/> | |
11199 | </paramlist> | |
11200 | </method> | |
11201 | <method name="DrawSpline" type="" overloaded="no"> | |
ce6878e6 RD |
11202 | <autodoc>DrawSpline(self, List points)</autodoc> |
11203 | <docstring>Draws a spline between all given control points, (a list of `wx.Point` | |
11204 | objects) using the current pen. The spline is drawn using a series of | |
11205 | lines, using an algorithm taken from the X drawing program 'XFIG'.</docstring> | |
f32fc4bc RD |
11206 | <paramlist> |
11207 | <param name="points" type="int" default=""/> | |
11208 | <param name="points_array" type="Point" default=""/> | |
11209 | </paramlist> | |
11210 | </method> | |
11211 | <method name="Clear" type="" overloaded="no"> | |
781d2982 | 11212 | <autodoc>Clear(self)</autodoc> |
ce6878e6 | 11213 | <docstring>Clears the device context using the current background brush.</docstring> |
f32fc4bc RD |
11214 | </method> |
11215 | <method name="StartDoc" type="bool" overloaded="no"> | |
781d2982 | 11216 | <autodoc>StartDoc(self, String message) -> bool</autodoc> |
ce6878e6 RD |
11217 | <docstring>Starts a document (only relevant when outputting to a |
11218 | printer). *Message* is a message to show whilst printing.</docstring> | |
f32fc4bc RD |
11219 | <paramlist> |
11220 | <param name="message" type="String" default=""/> | |
11221 | </paramlist> | |
11222 | </method> | |
11223 | <method name="EndDoc" type="" overloaded="no"> | |
781d2982 | 11224 | <autodoc>EndDoc(self)</autodoc> |
ce6878e6 | 11225 | <docstring>Ends a document (only relevant when outputting to a printer).</docstring> |
f32fc4bc RD |
11226 | </method> |
11227 | <method name="StartPage" type="" overloaded="no"> | |
781d2982 | 11228 | <autodoc>StartPage(self)</autodoc> |
ce6878e6 | 11229 | <docstring>Starts a document page (only relevant when outputting to a printer).</docstring> |
f32fc4bc RD |
11230 | </method> |
11231 | <method name="EndPage" type="" overloaded="no"> | |
781d2982 | 11232 | <autodoc>EndPage(self)</autodoc> |
ce6878e6 | 11233 | <docstring>Ends a document page (only relevant when outputting to a printer).</docstring> |
f32fc4bc RD |
11234 | </method> |
11235 | <method name="SetFont" type="" overloaded="no"> | |
781d2982 | 11236 | <autodoc>SetFont(self, Font font)</autodoc> |
ce6878e6 RD |
11237 | <docstring>Sets the current font for the DC. It must be a valid font, in |
11238 | particular you should not pass ``wx.NullFont`` to this method. | |
11239 | ||
11240 | :see: `wx.Font`</docstring> | |
f32fc4bc RD |
11241 | <paramlist> |
11242 | <param name="font" type="Font" default=""/> | |
11243 | </paramlist> | |
11244 | </method> | |
11245 | <method name="SetPen" type="" overloaded="no"> | |
781d2982 | 11246 | <autodoc>SetPen(self, Pen pen)</autodoc> |
ce6878e6 RD |
11247 | <docstring>Sets the current pen for the DC. |
11248 | ||
11249 | If the argument is ``wx.NullPen``, the current pen is selected out of the | |
11250 | device context, and the original pen restored. | |
11251 | ||
11252 | :see: `wx.Pen`</docstring> | |
f32fc4bc RD |
11253 | <paramlist> |
11254 | <param name="pen" type="Pen" default=""/> | |
11255 | </paramlist> | |
11256 | </method> | |
11257 | <method name="SetBrush" type="" overloaded="no"> | |
781d2982 | 11258 | <autodoc>SetBrush(self, Brush brush)</autodoc> |
ce6878e6 RD |
11259 | <docstring>Sets the current brush for the DC. |
11260 | ||
11261 | If the argument is ``wx.NullBrush``, the current brush is selected out | |
11262 | of the device context, and the original brush restored, allowing the | |
11263 | current brush to be destroyed safely. | |
11264 | ||
11265 | :see: `wx.Brush`</docstring> | |
f32fc4bc RD |
11266 | <paramlist> |
11267 | <param name="brush" type="Brush" default=""/> | |
11268 | </paramlist> | |
11269 | </method> | |
11270 | <method name="SetBackground" type="" overloaded="no"> | |
781d2982 | 11271 | <autodoc>SetBackground(self, Brush brush)</autodoc> |
ce6878e6 | 11272 | <docstring>Sets the current background brush for the DC.</docstring> |
f32fc4bc RD |
11273 | <paramlist> |
11274 | <param name="brush" type="Brush" default=""/> | |
11275 | </paramlist> | |
11276 | </method> | |
11277 | <method name="SetBackgroundMode" type="" overloaded="no"> | |
781d2982 | 11278 | <autodoc>SetBackgroundMode(self, int mode)</autodoc> |
ce6878e6 RD |
11279 | <docstring>*mode* may be one of ``wx.SOLID`` and ``wx.TRANSPARENT``. This setting |
11280 | determines whether text will be drawn with a background colour or | |
11281 | not.</docstring> | |
f32fc4bc RD |
11282 | <paramlist> |
11283 | <param name="mode" type="int" default=""/> | |
11284 | </paramlist> | |
11285 | </method> | |
11286 | <method name="SetPalette" type="" overloaded="no"> | |
781d2982 | 11287 | <autodoc>SetPalette(self, Palette palette)</autodoc> |
ce6878e6 RD |
11288 | <docstring>If this is a window DC or memory DC, assigns the given palette to the |
11289 | window or bitmap associated with the DC. If the argument is | |
11290 | ``wx.NullPalette``, the current palette is selected out of the device | |
11291 | context, and the original palette restored. | |
11292 | ||
11293 | :see: `wx.Palette`</docstring> | |
f32fc4bc RD |
11294 | <paramlist> |
11295 | <param name="palette" type="Palette" default=""/> | |
11296 | </paramlist> | |
11297 | </method> | |
f32fc4bc | 11298 | <method name="DestroyClippingRegion" type="" overloaded="no"> |
781d2982 | 11299 | <autodoc>DestroyClippingRegion(self)</autodoc> |
ce6878e6 RD |
11300 | <docstring>Destroys the current clipping region so that none of the DC is |
11301 | clipped. | |
11302 | ||
11303 | :see: `SetClippingRegion`</docstring> | |
f32fc4bc RD |
11304 | </method> |
11305 | <method name="GetClippingBox" type="" overloaded="no"> | |
11306 | <autodoc>GetClippingBox() -> (x, y, width, height)</autodoc> | |
ce6878e6 | 11307 | <docstring>Gets the rectangle surrounding the current clipping region.</docstring> |
f32fc4bc RD |
11308 | <paramlist> |
11309 | <param name="OUTPUT" type="int" default=""/> | |
11310 | <param name="OUTPUT" type="int" default=""/> | |
11311 | <param name="OUTPUT" type="int" default=""/> | |
11312 | <param name="OUTPUT" type="int" default=""/> | |
11313 | </paramlist> | |
11314 | </method> | |
11315 | <method name="GetClippingRect" type="Rect" overloaded="no"> | |
781d2982 | 11316 | <autodoc>GetClippingRect(self) -> Rect</autodoc> |
ce6878e6 | 11317 | <docstring>Gets the rectangle surrounding the current clipping region.</docstring> |
f32fc4bc RD |
11318 | </method> |
11319 | <method name="GetCharHeight" type="int" overloaded="no"> | |
781d2982 | 11320 | <autodoc>GetCharHeight(self) -> int</autodoc> |
ce6878e6 | 11321 | <docstring>Gets the character height of the currently set font.</docstring> |
f32fc4bc RD |
11322 | </method> |
11323 | <method name="GetCharWidth" type="int" overloaded="no"> | |
781d2982 | 11324 | <autodoc>GetCharWidth(self) -> int</autodoc> |
ce6878e6 | 11325 | <docstring>Gets the average character width of the currently set font.</docstring> |
f32fc4bc RD |
11326 | </method> |
11327 | <method name="GetTextExtent" type="" overloaded="no"> | |
11328 | <autodoc>GetTextExtent(wxString string) -> (width, height)</autodoc> | |
ce6878e6 RD |
11329 | <docstring>Get the width and height of the text using the current font. Only |
11330 | works for single line strings.</docstring> | |
f32fc4bc RD |
11331 | <paramlist> |
11332 | <param name="string" type="String" default=""/> | |
11333 | <param name="OUTPUT" type="int" default=""/> | |
11334 | <param name="OUTPUT" type="int" default=""/> | |
11335 | </paramlist> | |
11336 | </method> | |
11337 | <method name="GetFullTextExtent" type="" overloaded="no"> | |
11338 | <autodoc>GetFullTextExtent(wxString string, Font font=None) -> | |
11339 | (width, height, descent, externalLeading)</autodoc> | |
781d2982 RD |
11340 | <docstring>Get the width, height, decent and leading of the text using the |
11341 | current or specified font. Only works for single line strings.</docstring> | |
f32fc4bc RD |
11342 | <paramlist> |
11343 | <param name="string" type="String" default=""/> | |
11344 | <param name="OUTPUT" type="int" default=""/> | |
11345 | <param name="OUTPUT" type="int" default=""/> | |
11346 | <param name="OUTPUT" type="int" default=""/> | |
11347 | <param name="OUTPUT" type="int" default=""/> | |
11348 | <param name="font" type="Font" default="NULL"/> | |
11349 | </paramlist> | |
11350 | </method> | |
11351 | <method name="GetMultiLineTextExtent" type="" overloaded="no"> | |
11352 | <autodoc>GetMultiLineTextExtent(wxString string, Font font=None) -> | |
11353 | (width, height, descent, externalLeading)</autodoc> | |
ce6878e6 RD |
11354 | <docstring>Get the width, height, decent and leading of the text using the |
11355 | current or specified font. Works for single as well as multi-line | |
11356 | strings.</docstring> | |
f32fc4bc RD |
11357 | <paramlist> |
11358 | <param name="text" type="String" default=""/> | |
11359 | <param name="OUTPUT" type="int" default=""/> | |
11360 | <param name="OUTPUT" type="int" default=""/> | |
11361 | <param name="OUTPUT" type="int" default=""/> | |
11362 | <param name="font" type="Font" default="NULL"/> | |
11363 | </paramlist> | |
11364 | </method> | |
11365 | <method name="GetPartialTextExtents" type="wxArrayInt" overloaded="no"> | |
ce6878e6 RD |
11366 | <autodoc>GetPartialTextExtents(self, text) -> [widths]</autodoc> |
11367 | <docstring>Returns a list of integers such that each value is the distance in | |
11368 | pixels from the begining of text to the coresponding character of | |
11369 | *text*. The generic version simply builds a running total of the widths | |
11370 | of each character using GetTextExtent, however if the various | |
11371 | platforms have a native API function that is faster or more accurate | |
43e8916f | 11372 | than the generic implementation then it will be used instead.</docstring> |
f32fc4bc RD |
11373 | <paramlist> |
11374 | <param name="text" type="String" default=""/> | |
11375 | </paramlist> | |
11376 | </method> | |
11377 | <method name="GetSize" type="Size" overloaded="no"> | |
781d2982 | 11378 | <autodoc>GetSize(self) -> Size</autodoc> |
ce6878e6 RD |
11379 | <docstring>This gets the horizontal and vertical resolution in device units. It |
11380 | can be used to scale graphics to fit the page. For example, if *maxX* | |
11381 | and *maxY* represent the maximum horizontal and vertical 'pixel' values | |
11382 | used in your application, the following code will scale the graphic to | |
11383 | fit on the printer page:: | |
11384 | ||
11385 | w, h = dc.GetSize() | |
11386 | scaleX = maxX*1.0 / w | |
11387 | scaleY = maxY*1.0 / h | |
11388 | dc.SetUserScale(min(scaleX,scaleY),min(scaleX,scaleY)) | |
11389 | </docstring> | |
f32fc4bc RD |
11390 | </method> |
11391 | <method name="GetSizeTuple" type="" overloaded="no"> | |
11392 | <autodoc>GetSizeTuple() -> (width, height)</autodoc> | |
ce6878e6 RD |
11393 | <docstring>This gets the horizontal and vertical resolution in device units. It |
11394 | can be used to scale graphics to fit the page. For example, if *maxX* | |
11395 | and *maxY* represent the maximum horizontal and vertical 'pixel' values | |
11396 | used in your application, the following code will scale the graphic to | |
11397 | fit on the printer page:: | |
11398 | ||
11399 | w, h = dc.GetSize() | |
11400 | scaleX = maxX*1.0 / w | |
11401 | scaleY = maxY*1.0 / h | |
11402 | dc.SetUserScale(min(scaleX,scaleY),min(scaleX,scaleY)) | |
11403 | </docstring> | |
f32fc4bc RD |
11404 | <paramlist> |
11405 | <param name="OUTPUT" type="int" default=""/> | |
11406 | <param name="OUTPUT" type="int" default=""/> | |
11407 | </paramlist> | |
11408 | </method> | |
11409 | <method name="GetSizeMM" type="Size" overloaded="no"> | |
781d2982 | 11410 | <autodoc>GetSizeMM(self) -> Size</autodoc> |
f32fc4bc RD |
11411 | <docstring>Get the DC size in milimeters.</docstring> |
11412 | </method> | |
11413 | <method name="GetSizeMMTuple" type="" overloaded="no"> | |
11414 | <autodoc>GetSizeMMTuple() -> (width, height)</autodoc> | |
11415 | <docstring>Get the DC size in milimeters.</docstring> | |
11416 | <paramlist> | |
11417 | <param name="OUTPUT" type="int" default=""/> | |
11418 | <param name="OUTPUT" type="int" default=""/> | |
11419 | </paramlist> | |
11420 | </method> | |
11421 | <method name="DeviceToLogicalX" type="int" overloaded="no"> | |
781d2982 | 11422 | <autodoc>DeviceToLogicalX(self, int x) -> int</autodoc> |
ce6878e6 RD |
11423 | <docstring>Convert device X coordinate to logical coordinate, using the current |
11424 | mapping mode.</docstring> | |
f32fc4bc RD |
11425 | <paramlist> |
11426 | <param name="x" type="int" default=""/> | |
11427 | </paramlist> | |
11428 | </method> | |
11429 | <method name="DeviceToLogicalY" type="int" overloaded="no"> | |
781d2982 | 11430 | <autodoc>DeviceToLogicalY(self, int y) -> int</autodoc> |
ce6878e6 RD |
11431 | <docstring>Converts device Y coordinate to logical coordinate, using the current |
11432 | mapping mode.</docstring> | |
f32fc4bc RD |
11433 | <paramlist> |
11434 | <param name="y" type="int" default=""/> | |
11435 | </paramlist> | |
11436 | </method> | |
11437 | <method name="DeviceToLogicalXRel" type="int" overloaded="no"> | |
781d2982 | 11438 | <autodoc>DeviceToLogicalXRel(self, int x) -> int</autodoc> |
ce6878e6 RD |
11439 | <docstring>Convert device X coordinate to relative logical coordinate, using the |
11440 | current mapping mode but ignoring the x axis orientation. Use this | |
11441 | function for converting a width, for example.</docstring> | |
f32fc4bc RD |
11442 | <paramlist> |
11443 | <param name="x" type="int" default=""/> | |
11444 | </paramlist> | |
11445 | </method> | |
11446 | <method name="DeviceToLogicalYRel" type="int" overloaded="no"> | |
781d2982 | 11447 | <autodoc>DeviceToLogicalYRel(self, int y) -> int</autodoc> |
ce6878e6 RD |
11448 | <docstring>Convert device Y coordinate to relative logical coordinate, using the |
11449 | current mapping mode but ignoring the y axis orientation. Use this | |
11450 | function for converting a height, for example.</docstring> | |
f32fc4bc RD |
11451 | <paramlist> |
11452 | <param name="y" type="int" default=""/> | |
11453 | </paramlist> | |
11454 | </method> | |
11455 | <method name="LogicalToDeviceX" type="int" overloaded="no"> | |
781d2982 | 11456 | <autodoc>LogicalToDeviceX(self, int x) -> int</autodoc> |
ce6878e6 RD |
11457 | <docstring>Converts logical X coordinate to device coordinate, using the current |
11458 | mapping mode.</docstring> | |
f32fc4bc RD |
11459 | <paramlist> |
11460 | <param name="x" type="int" default=""/> | |
11461 | </paramlist> | |
11462 | </method> | |
11463 | <method name="LogicalToDeviceY" type="int" overloaded="no"> | |
781d2982 | 11464 | <autodoc>LogicalToDeviceY(self, int y) -> int</autodoc> |
ce6878e6 RD |
11465 | <docstring>Converts logical Y coordinate to device coordinate, using the current |
11466 | mapping mode.</docstring> | |
f32fc4bc RD |
11467 | <paramlist> |
11468 | <param name="y" type="int" default=""/> | |
11469 | </paramlist> | |
11470 | </method> | |
11471 | <method name="LogicalToDeviceXRel" type="int" overloaded="no"> | |
781d2982 | 11472 | <autodoc>LogicalToDeviceXRel(self, int x) -> int</autodoc> |
ce6878e6 RD |
11473 | <docstring>Converts logical X coordinate to relative device coordinate, using the |
11474 | current mapping mode but ignoring the x axis orientation. Use this for | |
11475 | converting a width, for example.</docstring> | |
f32fc4bc RD |
11476 | <paramlist> |
11477 | <param name="x" type="int" default=""/> | |
11478 | </paramlist> | |
11479 | </method> | |
11480 | <method name="LogicalToDeviceYRel" type="int" overloaded="no"> | |
781d2982 | 11481 | <autodoc>LogicalToDeviceYRel(self, int y) -> int</autodoc> |
ce6878e6 RD |
11482 | <docstring>Converts logical Y coordinate to relative device coordinate, using the |
11483 | current mapping mode but ignoring the y axis orientation. Use this for | |
11484 | converting a height, for example.</docstring> | |
f32fc4bc RD |
11485 | <paramlist> |
11486 | <param name="y" type="int" default=""/> | |
11487 | </paramlist> | |
11488 | </method> | |
11489 | <method name="CanDrawBitmap" type="bool" overloaded="no"> | |
781d2982 | 11490 | <autodoc>CanDrawBitmap(self) -> bool</autodoc> |
f32fc4bc RD |
11491 | </method> |
11492 | <method name="CanGetTextExtent" type="bool" overloaded="no"> | |
781d2982 | 11493 | <autodoc>CanGetTextExtent(self) -> bool</autodoc> |
f32fc4bc RD |
11494 | </method> |
11495 | <method name="GetDepth" type="int" overloaded="no"> | |
781d2982 | 11496 | <autodoc>GetDepth(self) -> int</autodoc> |
ce6878e6 | 11497 | <docstring>Returns the colour depth of the DC.</docstring> |
f32fc4bc RD |
11498 | </method> |
11499 | <method name="GetPPI" type="Size" overloaded="no"> | |
781d2982 | 11500 | <autodoc>GetPPI(self) -> Size</autodoc> |
ce6878e6 | 11501 | <docstring>Resolution in Pixels per inch</docstring> |
f32fc4bc RD |
11502 | </method> |
11503 | <method name="Ok" type="bool" overloaded="no"> | |
781d2982 | 11504 | <autodoc>Ok(self) -> bool</autodoc> |
ce6878e6 | 11505 | <docstring>Returns true if the DC is ok to use.</docstring> |
f32fc4bc RD |
11506 | </method> |
11507 | <method name="GetBackgroundMode" type="int" overloaded="no"> | |
781d2982 | 11508 | <autodoc>GetBackgroundMode(self) -> int</autodoc> |
ce6878e6 RD |
11509 | <docstring>Returns the current background mode, either ``wx.SOLID`` or |
11510 | ``wx.TRANSPARENT``. | |
11511 | ||
11512 | :see: `SetBackgroundMode`</docstring> | |
f32fc4bc RD |
11513 | </method> |
11514 | <method name="GetBackground" type="Brush" overloaded="no"> | |
781d2982 | 11515 | <autodoc>GetBackground(self) -> Brush</autodoc> |
ce6878e6 RD |
11516 | <docstring>Gets the brush used for painting the background. |
11517 | ||
11518 | :see: `SetBackground`</docstring> | |
f32fc4bc RD |
11519 | </method> |
11520 | <method name="GetBrush" type="Brush" overloaded="no"> | |
781d2982 | 11521 | <autodoc>GetBrush(self) -> Brush</autodoc> |
ce6878e6 | 11522 | <docstring>Gets the current brush</docstring> |
f32fc4bc RD |
11523 | </method> |
11524 | <method name="GetFont" type="Font" overloaded="no"> | |
781d2982 | 11525 | <autodoc>GetFont(self) -> Font</autodoc> |
ce6878e6 | 11526 | <docstring>Gets the current font</docstring> |
f32fc4bc RD |
11527 | </method> |
11528 | <method name="GetPen" type="Pen" overloaded="no"> | |
781d2982 | 11529 | <autodoc>GetPen(self) -> Pen</autodoc> |
ce6878e6 | 11530 | <docstring>Gets the current pen</docstring> |
f32fc4bc RD |
11531 | </method> |
11532 | <method name="GetTextBackground" type="Colour" overloaded="no"> | |
781d2982 | 11533 | <autodoc>GetTextBackground(self) -> Colour</autodoc> |
ce6878e6 | 11534 | <docstring>Gets the current text background colour</docstring> |
f32fc4bc RD |
11535 | </method> |
11536 | <method name="GetTextForeground" type="Colour" overloaded="no"> | |
781d2982 | 11537 | <autodoc>GetTextForeground(self) -> Colour</autodoc> |
ce6878e6 | 11538 | <docstring>Gets the current text foreground colour</docstring> |
f32fc4bc RD |
11539 | </method> |
11540 | <method name="SetTextForeground" type="" overloaded="no"> | |
781d2982 | 11541 | <autodoc>SetTextForeground(self, Colour colour)</autodoc> |
ce6878e6 | 11542 | <docstring>Sets the current text foreground colour for the DC.</docstring> |
f32fc4bc RD |
11543 | <paramlist> |
11544 | <param name="colour" type="Colour" default=""/> | |
11545 | </paramlist> | |
11546 | </method> | |
11547 | <method name="SetTextBackground" type="" overloaded="no"> | |
781d2982 | 11548 | <autodoc>SetTextBackground(self, Colour colour)</autodoc> |
ce6878e6 | 11549 | <docstring>Sets the current text background colour for the DC.</docstring> |
f32fc4bc RD |
11550 | <paramlist> |
11551 | <param name="colour" type="Colour" default=""/> | |
11552 | </paramlist> | |
11553 | </method> | |
11554 | <method name="GetMapMode" type="int" overloaded="no"> | |
781d2982 | 11555 | <autodoc>GetMapMode(self) -> int</autodoc> |
ce6878e6 | 11556 | <docstring>Gets the current *mapping mode* for the device context </docstring> |
f32fc4bc RD |
11557 | </method> |
11558 | <method name="SetMapMode" type="" overloaded="no"> | |
781d2982 | 11559 | <autodoc>SetMapMode(self, int mode)</autodoc> |
ce6878e6 RD |
11560 | <docstring>The *mapping mode* of the device context defines the unit of |
11561 | measurement used to convert logical units to device units. The | |
11562 | mapping mode can be one of the following: | |
11563 | ||
11564 | ================ ============================================= | |
11565 | wx.MM_TWIPS Each logical unit is 1/20 of a point, or 1/1440 | |
11566 | of an inch. | |
11567 | wx.MM_POINTS Each logical unit is a point, or 1/72 of an inch. | |
11568 | wx.MM_METRIC Each logical unit is 1 mm. | |
11569 | wx.MM_LOMETRIC Each logical unit is 1/10 of a mm. | |
11570 | wx.MM_TEXT Each logical unit is 1 pixel. | |
11571 | ================ ============================================= | |
11572 | ||
11573 | Note that in X, text drawing isn't handled consistently with the | |
11574 | mapping mode; a font is always specified in point size. However, | |
11575 | setting the user scale (see `SetUserScale`) scales the text | |
11576 | appropriately. In Windows, scalable TrueType fonts are always used; in | |
11577 | X, results depend on availability of fonts, but usually a reasonable | |
11578 | match is found. | |
11579 | ||
11580 | The coordinate origin is always at the top left of the screen/printer. | |
11581 | ||
11582 | Drawing to a Windows printer device context uses the current mapping | |
11583 | mode, but mapping mode is currently ignored for PostScript output. | |
11584 | </docstring> | |
f32fc4bc RD |
11585 | <paramlist> |
11586 | <param name="mode" type="int" default=""/> | |
11587 | </paramlist> | |
11588 | </method> | |
11589 | <method name="GetUserScale" type="" overloaded="no"> | |
ce6878e6 RD |
11590 | <autodoc>GetUserScale(self) -> (xScale, yScale)</autodoc> |
11591 | <docstring>Gets the current user scale factor (set by `SetUserScale`).</docstring> | |
f32fc4bc RD |
11592 | <paramlist> |
11593 | <param name="OUTPUT" type="double" default=""/> | |
11594 | <param name="OUTPUT" type="double" default=""/> | |
11595 | </paramlist> | |
11596 | </method> | |
11597 | <method name="SetUserScale" type="" overloaded="no"> | |
781d2982 | 11598 | <autodoc>SetUserScale(self, double x, double y)</autodoc> |
ce6878e6 RD |
11599 | <docstring>Sets the user scaling factor, useful for applications which require |
11600 | 'zooming'.</docstring> | |
f32fc4bc RD |
11601 | <paramlist> |
11602 | <param name="x" type="double" default=""/> | |
11603 | <param name="y" type="double" default=""/> | |
11604 | </paramlist> | |
11605 | </method> | |
11606 | <method name="GetLogicalScale" type="" overloaded="no"> | |
11607 | <autodoc>GetLogicalScale() -> (xScale, yScale)</autodoc> | |
11608 | <paramlist> | |
11609 | <param name="OUTPUT" type="double" default=""/> | |
11610 | <param name="OUTPUT" type="double" default=""/> | |
11611 | </paramlist> | |
11612 | </method> | |
11613 | <method name="SetLogicalScale" type="" overloaded="no"> | |
781d2982 | 11614 | <autodoc>SetLogicalScale(self, double x, double y)</autodoc> |
f32fc4bc RD |
11615 | <paramlist> |
11616 | <param name="x" type="double" default=""/> | |
11617 | <param name="y" type="double" default=""/> | |
11618 | </paramlist> | |
11619 | </method> | |
11620 | <method name="GetLogicalOrigin" type="Point" overloaded="no"> | |
781d2982 | 11621 | <autodoc>GetLogicalOrigin(self) -> Point</autodoc> |
f32fc4bc RD |
11622 | </method> |
11623 | <method name="GetLogicalOriginTuple" type="" overloaded="no"> | |
11624 | <autodoc>GetLogicalOriginTuple() -> (x,y)</autodoc> | |
11625 | <paramlist> | |
11626 | <param name="OUTPUT" type="int" default=""/> | |
11627 | <param name="OUTPUT" type="int" default=""/> | |
11628 | </paramlist> | |
11629 | </method> | |
11630 | <method name="SetLogicalOrigin" type="" overloaded="no"> | |
781d2982 | 11631 | <autodoc>SetLogicalOrigin(self, int x, int y)</autodoc> |
f32fc4bc RD |
11632 | <paramlist> |
11633 | <param name="x" type="int" default=""/> | |
11634 | <param name="y" type="int" default=""/> | |
11635 | </paramlist> | |
11636 | </method> | |
781d2982 RD |
11637 | <method name="SetLogicalOriginPoint" type="" overloaded="no"> |
11638 | <autodoc>SetLogicalOriginPoint(self, Point point)</autodoc> | |
11639 | <paramlist> | |
11640 | <param name="point" type="Point" default=""/> | |
11641 | </paramlist> | |
11642 | </method> | |
f32fc4bc | 11643 | <method name="GetDeviceOrigin" type="Point" overloaded="no"> |
781d2982 | 11644 | <autodoc>GetDeviceOrigin(self) -> Point</autodoc> |
f32fc4bc RD |
11645 | </method> |
11646 | <method name="GetDeviceOriginTuple" type="" overloaded="no"> | |
11647 | <autodoc>GetDeviceOriginTuple() -> (x,y)</autodoc> | |
11648 | <paramlist> | |
11649 | <param name="OUTPUT" type="int" default=""/> | |
11650 | <param name="OUTPUT" type="int" default=""/> | |
11651 | </paramlist> | |
11652 | </method> | |
11653 | <method name="SetDeviceOrigin" type="" overloaded="no"> | |
781d2982 | 11654 | <autodoc>SetDeviceOrigin(self, int x, int y)</autodoc> |
f32fc4bc RD |
11655 | <paramlist> |
11656 | <param name="x" type="int" default=""/> | |
11657 | <param name="y" type="int" default=""/> | |
11658 | </paramlist> | |
11659 | </method> | |
781d2982 RD |
11660 | <method name="SetDeviceOriginPoint" type="" overloaded="no"> |
11661 | <autodoc>SetDeviceOriginPoint(self, Point point)</autodoc> | |
11662 | <paramlist> | |
11663 | <param name="point" type="Point" default=""/> | |
11664 | </paramlist> | |
11665 | </method> | |
f32fc4bc | 11666 | <method name="SetAxisOrientation" type="" overloaded="no"> |
781d2982 | 11667 | <autodoc>SetAxisOrientation(self, bool xLeftRight, bool yBottomUp)</autodoc> |
ce6878e6 RD |
11668 | <docstring>Sets the x and y axis orientation (i.e., the direction from lowest to |
11669 | highest values on the axis). The default orientation is the natural | |
11670 | orientation, e.g. x axis from left to right and y axis from bottom up.</docstring> | |
f32fc4bc RD |
11671 | <paramlist> |
11672 | <param name="xLeftRight" type="bool" default=""/> | |
11673 | <param name="yBottomUp" type="bool" default=""/> | |
11674 | </paramlist> | |
11675 | </method> | |
11676 | <method name="GetLogicalFunction" type="int" overloaded="no"> | |
781d2982 | 11677 | <autodoc>GetLogicalFunction(self) -> int</autodoc> |
ce6878e6 | 11678 | <docstring>Gets the current logical function (set by `SetLogicalFunction`).</docstring> |
f32fc4bc RD |
11679 | </method> |
11680 | <method name="SetLogicalFunction" type="" overloaded="no"> | |
781d2982 | 11681 | <autodoc>SetLogicalFunction(self, int function)</autodoc> |
ce6878e6 RD |
11682 | <docstring>Sets the current logical function for the device context. This |
11683 | determines how a source pixel (from a pen or brush colour, or source | |
11684 | device context if using `Blit`) combines with a destination pixel in | |
11685 | the current device context. | |
11686 | ||
11687 | The possible values and their meaning in terms of source and | |
11688 | destination pixel values are as follows: | |
11689 | ||
11690 | ================ ========================== | |
11691 | wx.AND src AND dst | |
11692 | wx.AND_INVERT (NOT src) AND dst | |
11693 | wx.AND_REVERSE src AND (NOT dst) | |
11694 | wx.CLEAR 0 | |
11695 | wx.COPY src | |
11696 | wx.EQUIV (NOT src) XOR dst | |
11697 | wx.INVERT NOT dst | |
11698 | wx.NAND (NOT src) OR (NOT dst) | |
11699 | wx.NOR (NOT src) AND (NOT dst) | |
11700 | wx.NO_OP dst | |
11701 | wx.OR src OR dst | |
11702 | wx.OR_INVERT (NOT src) OR dst | |
11703 | wx.OR_REVERSE src OR (NOT dst) | |
11704 | wx.SET 1 | |
11705 | wx.SRC_INVERT NOT src | |
11706 | wx.XOR src XOR dst | |
11707 | ================ ========================== | |
11708 | ||
11709 | The default is wx.COPY, which simply draws with the current | |
11710 | colour. The others combine the current colour and the background using | |
11711 | a logical operation. wx.INVERT is commonly used for drawing rubber | |
11712 | bands or moving outlines, since drawing twice reverts to the original | |
11713 | colour. | |
11714 | </docstring> | |
f32fc4bc RD |
11715 | <paramlist> |
11716 | <param name="function" type="int" default=""/> | |
11717 | </paramlist> | |
11718 | </method> | |
11719 | <method name="SetOptimization" type="" overloaded="no"> | |
ce6878e6 RD |
11720 | <autodoc>SetOptimization(self, bool optimize)</autodoc> |
11721 | <docstring>If *optimize* is true this function sets optimization mode on. This | |
11722 | currently means that under X, the device context will not try to set a | |
11723 | pen or brush property if it is known to be set already. This approach | |
11724 | can fall down if non-wxWidgets code is using the same device context | |
11725 | or window, for example when the window is a panel on which the | |
11726 | windowing system draws panel items. The wxWidgets device context | |
11727 | 'memory' will now be out of step with reality. | |
11728 | ||
11729 | Setting optimization off, drawing, then setting it back on again, is a | |
11730 | trick that must occasionally be employed.</docstring> | |
f32fc4bc | 11731 | <paramlist> |
ce6878e6 | 11732 | <param name="optimize" type="bool" default=""/> |
f32fc4bc RD |
11733 | </paramlist> |
11734 | </method> | |
11735 | <method name="GetOptimization" type="bool" overloaded="no"> | |
781d2982 | 11736 | <autodoc>GetOptimization(self) -> bool</autodoc> |
ce6878e6 RD |
11737 | <docstring>Returns true if device context optimization is on. See |
11738 | `SetOptimization` for .</docstring> | |
f32fc4bc RD |
11739 | </method> |
11740 | <method name="CalcBoundingBox" type="" overloaded="no"> | |
781d2982 | 11741 | <autodoc>CalcBoundingBox(self, int x, int y)</autodoc> |
ce6878e6 RD |
11742 | <docstring>Adds the specified point to the bounding box which can be retrieved |
11743 | with `MinX`, `MaxX` and `MinY`, `MaxY` or `GetBoundingBox` functions.</docstring> | |
f32fc4bc RD |
11744 | <paramlist> |
11745 | <param name="x" type="int" default=""/> | |
11746 | <param name="y" type="int" default=""/> | |
11747 | </paramlist> | |
11748 | </method> | |
781d2982 RD |
11749 | <method name="CalcBoundingBoxPoint" type="" overloaded="no"> |
11750 | <autodoc>CalcBoundingBoxPoint(self, Point point)</autodoc> | |
ce6878e6 RD |
11751 | <docstring>Adds the specified point to the bounding box which can be retrieved |
11752 | with `MinX`, `MaxX` and `MinY`, `MaxY` or `GetBoundingBox` functions.</docstring> | |
781d2982 RD |
11753 | <paramlist> |
11754 | <param name="point" type="Point" default=""/> | |
11755 | </paramlist> | |
11756 | </method> | |
f32fc4bc | 11757 | <method name="ResetBoundingBox" type="" overloaded="no"> |
781d2982 | 11758 | <autodoc>ResetBoundingBox(self)</autodoc> |
ce6878e6 RD |
11759 | <docstring>Resets the bounding box: after a call to this function, the bounding |
11760 | box doesn't contain anything.</docstring> | |
f32fc4bc RD |
11761 | </method> |
11762 | <method name="MinX" type="int" overloaded="no"> | |
781d2982 | 11763 | <autodoc>MinX(self) -> int</autodoc> |
ce6878e6 | 11764 | <docstring>Gets the minimum horizontal extent used in drawing commands so far.</docstring> |
f32fc4bc RD |
11765 | </method> |
11766 | <method name="MaxX" type="int" overloaded="no"> | |
781d2982 | 11767 | <autodoc>MaxX(self) -> int</autodoc> |
ce6878e6 | 11768 | <docstring>Gets the maximum horizontal extent used in drawing commands so far.</docstring> |
f32fc4bc RD |
11769 | </method> |
11770 | <method name="MinY" type="int" overloaded="no"> | |
781d2982 | 11771 | <autodoc>MinY(self) -> int</autodoc> |
ce6878e6 | 11772 | <docstring>Gets the minimum vertical extent used in drawing commands so far.</docstring> |
f32fc4bc RD |
11773 | </method> |
11774 | <method name="MaxY" type="int" overloaded="no"> | |
781d2982 | 11775 | <autodoc>MaxY(self) -> int</autodoc> |
ce6878e6 | 11776 | <docstring>Gets the maximum vertical extent used in drawing commands so far.</docstring> |
f32fc4bc RD |
11777 | </method> |
11778 | <method name="GetBoundingBox" type="" overloaded="no"> | |
11779 | <autodoc>GetBoundingBox() -> (x1,y1, x2,y2)</autodoc> | |
ce6878e6 | 11780 | <docstring>Returns the min and max points used in drawing commands so far.</docstring> |
f32fc4bc RD |
11781 | <paramlist> |
11782 | <param name="OUTPUT" type="int" default=""/> | |
11783 | <param name="OUTPUT" type="int" default=""/> | |
11784 | <param name="OUTPUT" type="int" default=""/> | |
11785 | <param name="OUTPUT" type="int" default=""/> | |
11786 | </paramlist> | |
11787 | </method> | |
11788 | <method name="_DrawPointList" type="PyObject" overloaded="no"> | |
781d2982 | 11789 | <autodoc>_DrawPointList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc> |
f32fc4bc RD |
11790 | <paramlist> |
11791 | <param name="pyCoords" type="PyObject" default=""/> | |
11792 | <param name="pyPens" type="PyObject" default=""/> | |
11793 | <param name="pyBrushes" type="PyObject" default=""/> | |
11794 | </paramlist> | |
11795 | </method> | |
11796 | <method name="_DrawLineList" type="PyObject" overloaded="no"> | |
781d2982 | 11797 | <autodoc>_DrawLineList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc> |
f32fc4bc RD |
11798 | <paramlist> |
11799 | <param name="pyCoords" type="PyObject" default=""/> | |
11800 | <param name="pyPens" type="PyObject" default=""/> | |
11801 | <param name="pyBrushes" type="PyObject" default=""/> | |
11802 | </paramlist> | |
11803 | </method> | |
11804 | <method name="_DrawRectangleList" type="PyObject" overloaded="no"> | |
781d2982 | 11805 | <autodoc>_DrawRectangleList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc> |
f32fc4bc RD |
11806 | <paramlist> |
11807 | <param name="pyCoords" type="PyObject" default=""/> | |
11808 | <param name="pyPens" type="PyObject" default=""/> | |
11809 | <param name="pyBrushes" type="PyObject" default=""/> | |
11810 | </paramlist> | |
11811 | </method> | |
11812 | <method name="_DrawEllipseList" type="PyObject" overloaded="no"> | |
781d2982 | 11813 | <autodoc>_DrawEllipseList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc> |
f32fc4bc RD |
11814 | <paramlist> |
11815 | <param name="pyCoords" type="PyObject" default=""/> | |
11816 | <param name="pyPens" type="PyObject" default=""/> | |
11817 | <param name="pyBrushes" type="PyObject" default=""/> | |
11818 | </paramlist> | |
11819 | </method> | |
11820 | <method name="_DrawPolygonList" type="PyObject" overloaded="no"> | |
781d2982 | 11821 | <autodoc>_DrawPolygonList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc> |
f32fc4bc RD |
11822 | <paramlist> |
11823 | <param name="pyCoords" type="PyObject" default=""/> | |
11824 | <param name="pyPens" type="PyObject" default=""/> | |
11825 | <param name="pyBrushes" type="PyObject" default=""/> | |
11826 | </paramlist> | |
11827 | </method> | |
11828 | <method name="_DrawTextList" type="PyObject" overloaded="no"> | |
781d2982 | 11829 | <autodoc>_DrawTextList(self, PyObject textList, PyObject pyPoints, PyObject foregroundList, |
f32fc4bc RD |
11830 | PyObject backgroundList) -> PyObject</autodoc> |
11831 | <paramlist> | |
11832 | <param name="textList" type="PyObject" default=""/> | |
11833 | <param name="pyPoints" type="PyObject" default=""/> | |
11834 | <param name="foregroundList" type="PyObject" default=""/> | |
11835 | <param name="backgroundList" type="PyObject" default=""/> | |
11836 | </paramlist> | |
11837 | </method> | |
11838 | </class> | |
11839 | <pythoncode> | |
0f43fbdf RD |
11840 | #--------------------------------------------------------------------------- |
11841 | </pythoncode> | |
781d2982 | 11842 | <class name="MemoryDC" oldname="wxMemoryDC" module="_gdi"> |
ce6878e6 RD |
11843 | <docstring>A memory device context provides a means to draw graphics onto a |
11844 | bitmap. A bitmap must be selected into the new memory DC before it may | |
11845 | be used for anything. Typical usage is as follows:: | |
11846 | ||
11847 | dc = wx.MemoryDC() | |
11848 | dc.SelectObject(bitmap) | |
11849 | # draw on the dc usign any of the Draw methods | |
11850 | dc.SelectObject(wx.NullBitmap) | |
11851 | # the bitmap now contains wahtever was drawn upon it | |
11852 | ||
11853 | Note that the memory DC *must* be deleted (or the bitmap selected out | |
11854 | of it) before a bitmap can be reselected into another memory DC. | |
11855 | </docstring> | |
f32fc4bc RD |
11856 | <baseclass name="DC"/> |
11857 | <constructor name="MemoryDC" overloaded="no"> | |
781d2982 | 11858 | <autodoc>__init__(self) -> MemoryDC</autodoc> |
ce6878e6 RD |
11859 | <docstring>Constructs a new memory device context. |
11860 | ||
11861 | Use the Ok member to test whether the constructor was successful in | |
11862 | creating a usable device context. Don't forget to select a bitmap into | |
11863 | the DC before drawing on it. | |
11864 | ||
11865 | :see: `MemoryDCFromDC`</docstring> | |
f32fc4bc RD |
11866 | </constructor> |
11867 | <constructor name="MemoryDCFromDC" overloaded="no"> | |
11868 | <autodoc>MemoryDCFromDC(DC oldDC) -> MemoryDC</autodoc> | |
ce6878e6 | 11869 | <docstring>Creates a DC that is compatible with the oldDC.</docstring> |
f32fc4bc RD |
11870 | <paramlist> |
11871 | <param name="oldDC" type="DC" default=""/> | |
11872 | </paramlist> | |
11873 | </constructor> | |
11874 | <method name="SelectObject" type="" overloaded="no"> | |
781d2982 | 11875 | <autodoc>SelectObject(self, Bitmap bitmap)</autodoc> |
ce6878e6 RD |
11876 | <docstring>Selects the bitmap into the device context, to use as the memory |
11877 | bitmap. Selecting the bitmap into a memory DC allows you to draw into | |
11878 | the DC, and therefore the bitmap, and also to use Blit to copy the | |
11879 | bitmap to a window. | |
11880 | ||
11881 | If the argument is wx.NullBitmap (or some other uninitialised | |
11882 | `wx.Bitmap`) the current bitmap is selected out of the device context, | |
11883 | and the original bitmap restored, allowing the current bitmap to be | |
11884 | destroyed safely.</docstring> | |
f32fc4bc RD |
11885 | <paramlist> |
11886 | <param name="bitmap" type="Bitmap" default=""/> | |
11887 | </paramlist> | |
11888 | </method> | |
11889 | </class> | |
11890 | <pythoncode> | |
856bf319 RD |
11891 | #--------------------------------------------------------------------------- |
11892 | </pythoncode> | |
781d2982 | 11893 | <class name="BufferedDC" oldname="wxBufferedDC" module="_gdi"> |
ce6878e6 RD |
11894 | <docstring>This simple class provides a simple way to avoid flicker: when drawing |
11895 | on it, everything is in fact first drawn on an in-memory buffer (a | |
11896 | `wx.Bitmap`) and then copied to the screen only once, when this object | |
11897 | is destroyed. | |
11898 | ||
11899 | It can be used in the same way as any other device | |
11900 | context. wx.BufferedDC itself typically replaces `wx.ClientDC`, if you | |
11901 | want to use it in your EVT_PAINT handler, you should look at | |
11902 | `wx.BufferedPaintDC`. | |
11903 | </docstring> | |
f32fc4bc RD |
11904 | <baseclass name="MemoryDC"/> |
11905 | <constructor name="BufferedDC" overloaded="yes"> | |
ce6878e6 RD |
11906 | <docstring>Constructs a buffered DC. |
11907 | ||
11908 | :param dc: The underlying DC: everything drawn to this object will | |
11909 | be flushed to this DC when this object is destroyed. You may | |
11910 | pass ``None`` in order to just initialize the buffer, and not | |
11911 | flush it. | |
11912 | ||
11913 | :param buffer: If a `wx.Size` object is passed as the 2nd arg then | |
11914 | it is the size of the bitmap that will be created internally | |
11915 | and used for an implicit buffer. If the 2nd arg is a | |
11916 | `wx.Bitmap` then it is the explicit buffer that will be | |
11917 | used. Using an explicit buffer is the most efficient solution | |
11918 | as the bitmap doesn't have to be recreated each time but it | |
11919 | also requires more memory as the bitmap is never freed. The | |
11920 | bitmap should have appropriate size, anything drawn outside of | |
11921 | its bounds is clipped. | |
11922 | </docstring> | |
f32fc4bc RD |
11923 | <paramlist> |
11924 | <param name="dc" type="DC" default=""/> | |
11925 | <param name="buffer" type="Bitmap" default=""/> | |
11926 | </paramlist> | |
11927 | </constructor> | |
11928 | <constructor name="BufferedDC" overloaded="yes"> | |
781d2982 RD |
11929 | <autodoc>__init__(self, DC dc, Bitmap buffer) -> BufferedDC |
11930 | __init__(self, DC dc, Size area) -> BufferedDC</autodoc> | |
ce6878e6 RD |
11931 | <docstring>Constructs a buffered DC. |
11932 | ||
11933 | :param dc: The underlying DC: everything drawn to this object will | |
11934 | be flushed to this DC when this object is destroyed. You may | |
11935 | pass ``None`` in order to just initialize the buffer, and not | |
11936 | flush it. | |
11937 | ||
11938 | :param buffer: If a `wx.Size` object is passed as the 2nd arg then | |
11939 | it is the size of the bitmap that will be created internally | |
11940 | and used for an implicit buffer. If the 2nd arg is a | |
11941 | `wx.Bitmap` then it is the explicit buffer that will be | |
11942 | used. Using an explicit buffer is the most efficient solution | |
11943 | as the bitmap doesn't have to be recreated each time but it | |
11944 | also requires more memory as the bitmap is never freed. The | |
11945 | bitmap should have appropriate size, anything drawn outside of | |
11946 | its bounds is clipped. | |
11947 | </docstring> | |
f32fc4bc RD |
11948 | <paramlist> |
11949 | <param name="dc" type="DC" default=""/> | |
11950 | <param name="area" type="Size" default=""/> | |
f32fc4bc RD |
11951 | </paramlist> |
11952 | </constructor> | |
c2dda882 | 11953 | <destructor name="~wxBufferedDC" overloaded="no"> |
781d2982 | 11954 | <autodoc>__del__(self)</autodoc> |
ce6878e6 RD |
11955 | <docstring>Copies everything drawn on the DC so far to the underlying DC |
11956 | associated with this object, if any.</docstring> | |
c2dda882 | 11957 | </destructor> |
f32fc4bc | 11958 | <method name="UnMask" type="" overloaded="no"> |
781d2982 | 11959 | <autodoc>UnMask(self)</autodoc> |
ce6878e6 RD |
11960 | <docstring>Blits the buffer to the dc, and detaches the dc from the buffer (so it |
11961 | can be effectively used once only). This is usually only called in | |
11962 | the destructor.</docstring> | |
f32fc4bc RD |
11963 | </method> |
11964 | </class> | |
781d2982 | 11965 | <class name="BufferedPaintDC" oldname="wxBufferedPaintDC" module="_gdi"> |
ce6878e6 RD |
11966 | <docstring>This is a subclass of `wx.BufferedDC` which can be used inside of an |
11967 | EVT_PAINT event handler. Just create an object of this class instead | |
11968 | of `wx.PaintDC` and that's all you have to do to (mostly) avoid | |
11969 | flicker. The only thing to watch out for is that if you are using this | |
11970 | class together with `wx.ScrolledWindow`, you probably do **not** want | |
11971 | to call `wx.Window.PrepareDC` on it as it already does this internally | |
11972 | for the real underlying `wx.PaintDC`. | |
11973 | ||
11974 | If your window is already fully buffered in a `wx.Bitmap` then your | |
11975 | EVT_PAINT handler can be as simple as just creating a | |
11976 | ``wx.BufferedPaintDC`` as it will `Blit` the buffer to the window | |
11977 | automatically when it is destroyed. For example:: | |
11978 | ||
11979 | def OnPaint(self, event): | |
11980 | dc = wx.BufferedPaintDC(self, self.buffer) | |
11981 | ||
11982 | ||
11983 | </docstring> | |
f32fc4bc | 11984 | <baseclass name="BufferedDC"/> |
c2dda882 | 11985 | <constructor name="BufferedPaintDC" overloaded="no"> |
781d2982 | 11986 | <autodoc>__init__(self, Window window, Bitmap buffer=NullBitmap) -> BufferedPaintDC</autodoc> |
ce6878e6 RD |
11987 | <docstring>Create a buffered paint DC. As with `wx.BufferedDC`, you may either |
11988 | provide the bitmap to be used for buffering or let this object create | |
11989 | one internally (in the latter case, the size of the client part of the | |
11990 | window is automatically used). | |
11991 | ||
11992 | </docstring> | |
f32fc4bc RD |
11993 | <paramlist> |
11994 | <param name="window" type="Window" default=""/> | |
c2dda882 | 11995 | <param name="buffer" type="Bitmap" default="wxNullBitmap"/> |
f32fc4bc RD |
11996 | </paramlist> |
11997 | </constructor> | |
11998 | </class> | |
11999 | <pythoncode> | |
856bf319 RD |
12000 | #--------------------------------------------------------------------------- |
12001 | </pythoncode> | |
781d2982 | 12002 | <class name="ScreenDC" oldname="wxScreenDC" module="_gdi"> |
ce6878e6 RD |
12003 | <docstring>A wxScreenDC can be used to paint anywhere on the screen. This should |
12004 | normally be constructed as a temporary stack object; don't store a | |
12005 | wxScreenDC object. | |
12006 | </docstring> | |
f32fc4bc RD |
12007 | <baseclass name="DC"/> |
12008 | <constructor name="ScreenDC" overloaded="no"> | |
781d2982 | 12009 | <autodoc>__init__(self) -> ScreenDC</autodoc> |
ce6878e6 RD |
12010 | <docstring>A wxScreenDC can be used to paint anywhere on the screen. This should |
12011 | normally be constructed as a temporary stack object; don't store a | |
12012 | wxScreenDC object. | |
12013 | </docstring> | |
f32fc4bc RD |
12014 | </constructor> |
12015 | <method name="StartDrawingOnTopWin" type="bool" overloaded="no"> | |
781d2982 | 12016 | <autodoc>StartDrawingOnTopWin(self, Window window) -> bool</autodoc> |
ce6878e6 RD |
12017 | <docstring>Specify that the area of the screen to be drawn upon coincides with |
12018 | the given window. | |
12019 | ||
12020 | :see: `EndDrawingOnTop`</docstring> | |
f32fc4bc RD |
12021 | <paramlist> |
12022 | <param name="window" type="Window" default=""/> | |
12023 | </paramlist> | |
12024 | </method> | |
12025 | <method name="StartDrawingOnTop" type="bool" overloaded="no"> | |
781d2982 | 12026 | <autodoc>StartDrawingOnTop(self, Rect rect=None) -> bool</autodoc> |
ce6878e6 RD |
12027 | <docstring>Specify that the area is the given rectangle, or the whole screen if |
12028 | ``None`` is passed. | |
12029 | ||
12030 | :see: `EndDrawingOnTop`</docstring> | |
f32fc4bc RD |
12031 | <paramlist> |
12032 | <param name="rect" type="Rect" default="NULL"/> | |
12033 | </paramlist> | |
12034 | </method> | |
12035 | <method name="EndDrawingOnTop" type="bool" overloaded="no"> | |
781d2982 | 12036 | <autodoc>EndDrawingOnTop(self) -> bool</autodoc> |
ce6878e6 RD |
12037 | <docstring>Use this in conjunction with `StartDrawingOnTop` or |
12038 | `StartDrawingOnTopWin` to ensure that drawing to the screen occurs on | |
12039 | top of existing windows. Without this, some window systems (such as X) | |
12040 | only allow drawing to take place underneath other windows. | |
12041 | ||
12042 | You might use this pair of functions when implementing a drag feature, | |
12043 | for example as in the `wx.SplitterWindow` implementation. | |
12044 | ||
12045 | These functions are probably obsolete since the X implementations | |
12046 | allow drawing directly on the screen now. However, the fact that this | |
12047 | function allows the screen to be refreshed afterwards may be useful | |
12048 | to some applications.</docstring> | |
f32fc4bc RD |
12049 | </method> |
12050 | </class> | |
12051 | <pythoncode> | |
0f43fbdf RD |
12052 | #--------------------------------------------------------------------------- |
12053 | </pythoncode> | |
781d2982 | 12054 | <class name="ClientDC" oldname="wxClientDC" module="_gdi"> |
ce6878e6 RD |
12055 | <docstring>A wx.ClientDC must be constructed if an application wishes to paint on |
12056 | the client area of a window from outside an EVT_PAINT event. This should | |
12057 | normally be constructed as a temporary stack object; don't store a | |
12058 | wx.ClientDC object long term. | |
12059 | ||
12060 | To draw on a window from within an EVT_PAINT handler, construct a | |
12061 | `wx.PaintDC` object. | |
12062 | ||
12063 | To draw on the whole window including decorations, construct a | |
12064 | `wx.WindowDC` object (Windows only). | |
12065 | </docstring> | |
f32fc4bc RD |
12066 | <baseclass name="DC"/> |
12067 | <constructor name="ClientDC" overloaded="no"> | |
781d2982 | 12068 | <autodoc>__init__(self, Window win) -> ClientDC</autodoc> |
ce6878e6 | 12069 | <docstring>Constructor. Pass the window on which you wish to paint.</docstring> |
f32fc4bc RD |
12070 | <paramlist> |
12071 | <param name="win" type="Window" default=""/> | |
12072 | </paramlist> | |
12073 | </constructor> | |
12074 | </class> | |
12075 | <pythoncode> | |
0f43fbdf RD |
12076 | #--------------------------------------------------------------------------- |
12077 | </pythoncode> | |
781d2982 | 12078 | <class name="PaintDC" oldname="wxPaintDC" module="_gdi"> |
ce6878e6 RD |
12079 | <docstring>A wx.PaintDC must be constructed if an application wishes to paint on |
12080 | the client area of a window from within an EVT_PAINT event | |
12081 | handler. This should normally be constructed as a temporary stack | |
12082 | object; don't store a wx.PaintDC object. If you have an EVT_PAINT | |
12083 | handler, you **must** create a wx.PaintDC object within it even if you | |
12084 | don't actually use it. | |
12085 | ||
12086 | Using wx.PaintDC within EVT_PAINT handlers is important because it | |
12087 | automatically sets the clipping area to the damaged area of the | |
12088 | window. Attempts to draw outside this area do not appear. | |
12089 | ||
12090 | To draw on a window from outside EVT_PAINT handlers, construct a | |
12091 | `wx.ClientDC` object. | |
12092 | </docstring> | |
f32fc4bc RD |
12093 | <baseclass name="DC"/> |
12094 | <constructor name="PaintDC" overloaded="no"> | |
781d2982 | 12095 | <autodoc>__init__(self, Window win) -> PaintDC</autodoc> |
ce6878e6 | 12096 | <docstring>Constructor. Pass the window on which you wish to paint.</docstring> |
f32fc4bc RD |
12097 | <paramlist> |
12098 | <param name="win" type="Window" default=""/> | |
12099 | </paramlist> | |
12100 | </constructor> | |
12101 | </class> | |
0dd25e81 | 12102 | <pythoncode> |
0f43fbdf RD |
12103 | #--------------------------------------------------------------------------- |
12104 | </pythoncode> | |
781d2982 | 12105 | <class name="WindowDC" oldname="wxWindowDC" module="_gdi"> |
ce6878e6 RD |
12106 | <docstring>A wx.WindowDC must be constructed if an application wishes to paint on |
12107 | the whole area of a window (client and decorations). This should | |
12108 | normally be constructed as a temporary stack object; don't store a | |
12109 | wx.WindowDC object.</docstring> | |
f32fc4bc RD |
12110 | <baseclass name="DC"/> |
12111 | <constructor name="WindowDC" overloaded="no"> | |
781d2982 | 12112 | <autodoc>__init__(self, Window win) -> WindowDC</autodoc> |
ce6878e6 | 12113 | <docstring>Constructor. Pass the window on which you wish to paint.</docstring> |
f32fc4bc RD |
12114 | <paramlist> |
12115 | <param name="win" type="Window" default=""/> | |
12116 | </paramlist> | |
12117 | </constructor> | |
12118 | </class> | |
12119 | <pythoncode> | |
12120 | #--------------------------------------------------------------------------- | |
0f43fbdf | 12121 | </pythoncode> |
781d2982 | 12122 | <class name="MirrorDC" oldname="wxMirrorDC" module="_gdi"> |
ce6878e6 RD |
12123 | <docstring>wx.MirrorDC is a simple wrapper class which is always associated with a |
12124 | real `wx.DC` object and either forwards all of its operations to it | |
12125 | without changes (no mirroring takes place) or exchanges x and y | |
12126 | coordinates which makes it possible to reuse the same code to draw a | |
12127 | figure and its mirror -- i.e. reflection related to the diagonal line | |
12128 | x == y.</docstring> | |
f32fc4bc RD |
12129 | <baseclass name="DC"/> |
12130 | <constructor name="MirrorDC" overloaded="no"> | |
781d2982 | 12131 | <autodoc>__init__(self, DC dc, bool mirror) -> MirrorDC</autodoc> |
ce6878e6 RD |
12132 | <docstring>Creates a mirrored DC associated with the real *dc*. Everything drawn |
12133 | on the wx.MirrorDC will appear on the *dc*, and will be mirrored if | |
12134 | *mirror* is True.</docstring> | |
f32fc4bc RD |
12135 | <paramlist> |
12136 | <param name="dc" type="DC" default=""/> | |
12137 | <param name="mirror" type="bool" default=""/> | |
12138 | </paramlist> | |
12139 | </constructor> | |
12140 | </class> | |
12141 | <pythoncode> | |
0f43fbdf RD |
12142 | #--------------------------------------------------------------------------- |
12143 | </pythoncode> | |
781d2982 | 12144 | <class name="PostScriptDC" oldname="wxPostScriptDC" module="_gdi"> |
ce6878e6 | 12145 | <docstring>This is a `wx.DC` that can write to PostScript files on any platform.</docstring> |
f32fc4bc RD |
12146 | <baseclass name="DC"/> |
12147 | <constructor name="PostScriptDC" overloaded="no"> | |
781d2982 | 12148 | <autodoc>__init__(self, wxPrintData printData) -> PostScriptDC</autodoc> |
ce6878e6 RD |
12149 | <docstring>Constructs a PostScript printer device context from a `wx.PrintData` |
12150 | object.</docstring> | |
f32fc4bc RD |
12151 | <paramlist> |
12152 | <param name="printData" type="wxPrintData" default=""/> | |
12153 | </paramlist> | |
12154 | </constructor> | |
12155 | <method name="GetPrintData" type="wxPrintData" overloaded="no"> | |
781d2982 | 12156 | <autodoc>GetPrintData(self) -> wxPrintData</autodoc> |
f32fc4bc RD |
12157 | </method> |
12158 | <method name="SetPrintData" type="" overloaded="no"> | |
781d2982 | 12159 | <autodoc>SetPrintData(self, wxPrintData data)</autodoc> |
f32fc4bc RD |
12160 | <paramlist> |
12161 | <param name="data" type="wxPrintData" default=""/> | |
12162 | </paramlist> | |
12163 | </method> | |
12164 | <staticmethod name="SetResolution" type="" overloaded="no"> | |
12165 | <autodoc>SetResolution(int ppi)</autodoc> | |
ce6878e6 RD |
12166 | <docstring>Set resolution (in pixels per inch) that will be used in PostScript |
12167 | output. Default is 720ppi.</docstring> | |
f32fc4bc RD |
12168 | <paramlist> |
12169 | <param name="ppi" type="int" default=""/> | |
12170 | </paramlist> | |
12171 | </staticmethod> | |
12172 | <staticmethod name="GetResolution" type="int" overloaded="no"> | |
12173 | <autodoc>GetResolution() -> int</autodoc> | |
ce6878e6 | 12174 | <docstring>Return resolution used in PostScript output.</docstring> |
f32fc4bc RD |
12175 | </staticmethod> |
12176 | </class> | |
0dd25e81 | 12177 | <pythoncode> |
0f43fbdf RD |
12178 | #--------------------------------------------------------------------------- |
12179 | </pythoncode> | |
781d2982 | 12180 | <class name="MetaFile" oldname="wxMetaFile" module="_gdi"> |
f32fc4bc RD |
12181 | <baseclass name="Object"/> |
12182 | <constructor name="MetaFile" overloaded="no"> | |
781d2982 | 12183 | <autodoc>__init__(self, String filename=EmptyString) -> MetaFile</autodoc> |
f32fc4bc RD |
12184 | <paramlist> |
12185 | <param name="filename" type="String" default="wxPyEmptyString"/> | |
12186 | </paramlist> | |
12187 | </constructor> | |
12188 | </class> | |
781d2982 | 12189 | <class name="MetaFileDC" oldname="wxMetaFileDC" module="_gdi"> |
f32fc4bc RD |
12190 | <baseclass name="DC"/> |
12191 | <constructor name="MetaFileDC" overloaded="no"> | |
781d2982 | 12192 | <autodoc>__init__(self, String filename=EmptyString, int width=0, int height=0, |
0f43fbdf | 12193 | String description=EmptyString) -> MetaFileDC</autodoc> |
f32fc4bc RD |
12194 | <paramlist> |
12195 | <param name="filename" type="String" default="wxPyEmptyString"/> | |
12196 | <param name="width" type="int" default="0"/> | |
12197 | <param name="height" type="int" default="0"/> | |
12198 | <param name="description" type="String" default="wxPyEmptyString"/> | |
12199 | </paramlist> | |
12200 | </constructor> | |
12201 | </class> | |
781d2982 | 12202 | <class name="PrinterDC" oldname="wxPrinterDC" module="_gdi"> |
f32fc4bc RD |
12203 | <baseclass name="DC"/> |
12204 | <constructor name="PrinterDC" overloaded="no"> | |
781d2982 | 12205 | <autodoc>__init__(self, wxPrintData printData) -> PrinterDC</autodoc> |
f32fc4bc RD |
12206 | <paramlist> |
12207 | <param name="printData" type="wxPrintData" default=""/> | |
12208 | </paramlist> | |
12209 | </constructor> | |
12210 | </class> | |
12211 | <pythoncode> | |
856bf319 RD |
12212 | #--------------------------------------------------------------------------- |
12213 | </pythoncode> | |
781d2982 | 12214 | <class name="ImageList" oldname="wxImageList" module="_gdi"> |
f32fc4bc RD |
12215 | <baseclass name="Object"/> |
12216 | <constructor name="ImageList" overloaded="no"> | |
781d2982 | 12217 | <autodoc>__init__(self, int width, int height, int mask=True, int initialCount=1) -> ImageList</autodoc> |
f32fc4bc RD |
12218 | <paramlist> |
12219 | <param name="width" type="int" default=""/> | |
12220 | <param name="height" type="int" default=""/> | |
12221 | <param name="mask" type="int" default="True"/> | |
12222 | <param name="initialCount" type="int" default="1"/> | |
12223 | </paramlist> | |
12224 | </constructor> | |
12225 | <destructor name="~wxImageList" overloaded="no"> | |
781d2982 | 12226 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
12227 | </destructor> |
12228 | <method name="Add" type="int" overloaded="no"> | |
781d2982 | 12229 | <autodoc>Add(self, Bitmap bitmap, Bitmap mask=NullBitmap) -> int</autodoc> |
f32fc4bc RD |
12230 | <paramlist> |
12231 | <param name="bitmap" type="Bitmap" default=""/> | |
12232 | <param name="mask" type="Bitmap" default="wxNullBitmap"/> | |
12233 | </paramlist> | |
12234 | </method> | |
12235 | <method name="AddWithColourMask" type="int" overloaded="no"> | |
781d2982 | 12236 | <autodoc>AddWithColourMask(self, Bitmap bitmap, Colour maskColour) -> int</autodoc> |
f32fc4bc RD |
12237 | <paramlist> |
12238 | <param name="bitmap" type="Bitmap" default=""/> | |
12239 | <param name="maskColour" type="Colour" default=""/> | |
12240 | </paramlist> | |
12241 | </method> | |
12242 | <method name="AddIcon" type="int" overloaded="no"> | |
781d2982 | 12243 | <autodoc>AddIcon(self, Icon icon) -> int</autodoc> |
f32fc4bc RD |
12244 | <paramlist> |
12245 | <param name="icon" type="Icon" default=""/> | |
12246 | </paramlist> | |
12247 | </method> | |
12248 | <method name="Replace" type="bool" overloaded="no"> | |
781d2982 | 12249 | <autodoc>Replace(self, int index, Bitmap bitmap) -> bool</autodoc> |
f32fc4bc RD |
12250 | <paramlist> |
12251 | <param name="index" type="int" default=""/> | |
12252 | <param name="bitmap" type="Bitmap" default=""/> | |
12253 | </paramlist> | |
12254 | </method> | |
12255 | <method name="Draw" type="bool" overloaded="no"> | |
781d2982 | 12256 | <autodoc>Draw(self, int index, DC dc, int x, int x, int flags=IMAGELIST_DRAW_NORMAL, |
856bf319 | 12257 | bool solidBackground=False) -> bool</autodoc> |
f32fc4bc RD |
12258 | <paramlist> |
12259 | <param name="index" type="int" default=""/> | |
12260 | <param name="dc" type="DC" default=""/> | |
12261 | <param name="x" type="int" default=""/> | |
12262 | <param name="x" type="int" default=""/> | |
12263 | <param name="flags" type="int" default="wxIMAGELIST_DRAW_NORMAL"/> | |
12264 | <param name="solidBackground" type="bool" default="False"/> | |
12265 | </paramlist> | |
12266 | </method> | |
12267 | <method name="GetImageCount" type="int" overloaded="no"> | |
781d2982 | 12268 | <autodoc>GetImageCount(self) -> int</autodoc> |
f32fc4bc RD |
12269 | </method> |
12270 | <method name="Remove" type="bool" overloaded="no"> | |
781d2982 | 12271 | <autodoc>Remove(self, int index) -> bool</autodoc> |
f32fc4bc RD |
12272 | <paramlist> |
12273 | <param name="index" type="int" default=""/> | |
12274 | </paramlist> | |
12275 | </method> | |
12276 | <method name="RemoveAll" type="bool" overloaded="no"> | |
781d2982 | 12277 | <autodoc>RemoveAll(self) -> bool</autodoc> |
f32fc4bc RD |
12278 | </method> |
12279 | <method name="GetSize" type="" overloaded="no"> | |
12280 | <autodoc>GetSize() -> (width,height)</autodoc> | |
12281 | <paramlist> | |
12282 | <param name="index" type="int" default=""/> | |
12283 | <param name="OUTPUT" type="int" default=""/> | |
12284 | <param name="OUTPUT" type="int" default=""/> | |
12285 | </paramlist> | |
12286 | </method> | |
12287 | </class> | |
12288 | <pythoncode> | |
856bf319 RD |
12289 | #--------------------------------------------------------------------------- |
12290 | </pythoncode> | |
781d2982 | 12291 | <class name="PenList" oldname="wxPenList" module="_gdi"> |
f32fc4bc RD |
12292 | <baseclass name="Object"/> |
12293 | <method name="AddPen" type="" overloaded="no"> | |
781d2982 | 12294 | <autodoc>AddPen(self, Pen pen)</autodoc> |
f32fc4bc RD |
12295 | <paramlist> |
12296 | <param name="pen" type="Pen" default=""/> | |
12297 | </paramlist> | |
12298 | </method> | |
12299 | <method name="FindOrCreatePen" type="Pen" overloaded="no"> | |
781d2982 | 12300 | <autodoc>FindOrCreatePen(self, Colour colour, int width, int style) -> Pen</autodoc> |
f32fc4bc RD |
12301 | <paramlist> |
12302 | <param name="colour" type="Colour" default=""/> | |
12303 | <param name="width" type="int" default=""/> | |
12304 | <param name="style" type="int" default=""/> | |
12305 | </paramlist> | |
12306 | </method> | |
12307 | <method name="RemovePen" type="" overloaded="no"> | |
781d2982 | 12308 | <autodoc>RemovePen(self, Pen pen)</autodoc> |
f32fc4bc RD |
12309 | <paramlist> |
12310 | <param name="pen" type="Pen" default=""/> | |
12311 | </paramlist> | |
12312 | </method> | |
12313 | <method name="GetCount" type="int" overloaded="no"> | |
781d2982 | 12314 | <autodoc>GetCount(self) -> int</autodoc> |
f32fc4bc RD |
12315 | </method> |
12316 | </class> | |
781d2982 | 12317 | <class name="BrushList" oldname="wxBrushList" module="_gdi"> |
f32fc4bc RD |
12318 | <baseclass name="Object"/> |
12319 | <method name="AddBrush" type="" overloaded="no"> | |
781d2982 | 12320 | <autodoc>AddBrush(self, Brush brush)</autodoc> |
f32fc4bc RD |
12321 | <paramlist> |
12322 | <param name="brush" type="Brush" default=""/> | |
12323 | </paramlist> | |
12324 | </method> | |
12325 | <method name="FindOrCreateBrush" type="Brush" overloaded="no"> | |
781d2982 | 12326 | <autodoc>FindOrCreateBrush(self, Colour colour, int style) -> Brush</autodoc> |
f32fc4bc RD |
12327 | <paramlist> |
12328 | <param name="colour" type="Colour" default=""/> | |
12329 | <param name="style" type="int" default=""/> | |
12330 | </paramlist> | |
12331 | </method> | |
12332 | <method name="RemoveBrush" type="" overloaded="no"> | |
781d2982 | 12333 | <autodoc>RemoveBrush(self, Brush brush)</autodoc> |
f32fc4bc RD |
12334 | <paramlist> |
12335 | <param name="brush" type="Brush" default=""/> | |
12336 | </paramlist> | |
12337 | </method> | |
12338 | <method name="GetCount" type="int" overloaded="no"> | |
781d2982 | 12339 | <autodoc>GetCount(self) -> int</autodoc> |
f32fc4bc RD |
12340 | </method> |
12341 | </class> | |
781d2982 | 12342 | <class name="ColourDatabase" oldname="wxColourDatabase" module="_gdi"> |
f32fc4bc RD |
12343 | <baseclass name="Object"/> |
12344 | <constructor name="ColourDatabase" overloaded="no"> | |
781d2982 | 12345 | <autodoc>__init__(self) -> ColourDatabase</autodoc> |
f32fc4bc RD |
12346 | </constructor> |
12347 | <destructor name="~wxColourDatabase" overloaded="no"> | |
781d2982 | 12348 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
12349 | </destructor> |
12350 | <method name="Find" type="Colour" overloaded="no"> | |
781d2982 | 12351 | <autodoc>Find(self, String name) -> Colour</autodoc> |
f32fc4bc RD |
12352 | <paramlist> |
12353 | <param name="name" type="String" default=""/> | |
12354 | </paramlist> | |
12355 | </method> | |
12356 | <method name="FindName" type="String" overloaded="no"> | |
781d2982 | 12357 | <autodoc>FindName(self, Colour colour) -> String</autodoc> |
f32fc4bc RD |
12358 | <paramlist> |
12359 | <param name="colour" type="Colour" default=""/> | |
12360 | </paramlist> | |
12361 | </method> | |
12362 | <method name="AddColour" type="" overloaded="no"> | |
781d2982 | 12363 | <autodoc>AddColour(self, String name, Colour colour)</autodoc> |
f32fc4bc RD |
12364 | <paramlist> |
12365 | <param name="name" type="String" default=""/> | |
12366 | <param name="colour" type="Colour" default=""/> | |
12367 | </paramlist> | |
12368 | </method> | |
12369 | <method name="Append" type="" overloaded="no"> | |
781d2982 | 12370 | <autodoc>Append(self, String name, int red, int green, int blue)</autodoc> |
f32fc4bc RD |
12371 | <paramlist> |
12372 | <param name="name" type="String" default=""/> | |
12373 | <param name="red" type="int" default=""/> | |
12374 | <param name="green" type="int" default=""/> | |
12375 | <param name="blue" type="int" default=""/> | |
12376 | </paramlist> | |
12377 | </method> | |
12378 | </class> | |
781d2982 | 12379 | <class name="FontList" oldname="wxFontList" module="_gdi"> |
f32fc4bc RD |
12380 | <baseclass name="Object"/> |
12381 | <method name="AddFont" type="" overloaded="no"> | |
781d2982 | 12382 | <autodoc>AddFont(self, Font font)</autodoc> |
f32fc4bc RD |
12383 | <paramlist> |
12384 | <param name="font" type="Font" default=""/> | |
12385 | </paramlist> | |
12386 | </method> | |
12387 | <method name="FindOrCreateFont" type="Font" overloaded="no"> | |
781d2982 | 12388 | <autodoc>FindOrCreateFont(self, int point_size, int family, int style, int weight, |
856bf319 RD |
12389 | bool underline=False, String facename=EmptyString, |
12390 | int encoding=FONTENCODING_DEFAULT) -> Font</autodoc> | |
f32fc4bc RD |
12391 | <paramlist> |
12392 | <param name="point_size" type="int" default=""/> | |
12393 | <param name="family" type="int" default=""/> | |
12394 | <param name="style" type="int" default=""/> | |
12395 | <param name="weight" type="int" default=""/> | |
12396 | <param name="underline" type="bool" default="False"/> | |
12397 | <param name="facename" type="String" default="wxPyEmptyString"/> | |
12398 | <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_DEFAULT"/> | |
12399 | </paramlist> | |
12400 | </method> | |
12401 | <method name="RemoveFont" type="" overloaded="no"> | |
781d2982 | 12402 | <autodoc>RemoveFont(self, Font font)</autodoc> |
f32fc4bc RD |
12403 | <paramlist> |
12404 | <param name="font" type="Font" default=""/> | |
12405 | </paramlist> | |
12406 | </method> | |
12407 | <method name="GetCount" type="int" overloaded="no"> | |
781d2982 | 12408 | <autodoc>GetCount(self) -> int</autodoc> |
f32fc4bc RD |
12409 | </method> |
12410 | </class> | |
12411 | <pythoncode> | |
856bf319 RD |
12412 | #--------------------------------------------------------------------------- |
12413 | </pythoncode> | |
f32fc4bc RD |
12414 | <pythoncode> NullColor = NullColour </pythoncode> |
12415 | <pythoncode> | |
856bf319 RD |
12416 | #--------------------------------------------------------------------------- |
12417 | </pythoncode> | |
781d2982 | 12418 | <class name="Effects" oldname="wxEffects" module="_gdi"> |
f32fc4bc RD |
12419 | <baseclass name="Object"/> |
12420 | <constructor name="Effects" overloaded="no"> | |
781d2982 | 12421 | <autodoc>__init__(self) -> Effects</autodoc> |
f32fc4bc RD |
12422 | </constructor> |
12423 | <method name="GetHighlightColour" type="Colour" overloaded="no"> | |
781d2982 | 12424 | <autodoc>GetHighlightColour(self) -> Colour</autodoc> |
f32fc4bc RD |
12425 | </method> |
12426 | <method name="GetLightShadow" type="Colour" overloaded="no"> | |
781d2982 | 12427 | <autodoc>GetLightShadow(self) -> Colour</autodoc> |
f32fc4bc RD |
12428 | </method> |
12429 | <method name="GetFaceColour" type="Colour" overloaded="no"> | |
781d2982 | 12430 | <autodoc>GetFaceColour(self) -> Colour</autodoc> |
f32fc4bc RD |
12431 | </method> |
12432 | <method name="GetMediumShadow" type="Colour" overloaded="no"> | |
781d2982 | 12433 | <autodoc>GetMediumShadow(self) -> Colour</autodoc> |
f32fc4bc RD |
12434 | </method> |
12435 | <method name="GetDarkShadow" type="Colour" overloaded="no"> | |
781d2982 | 12436 | <autodoc>GetDarkShadow(self) -> Colour</autodoc> |
f32fc4bc RD |
12437 | </method> |
12438 | <method name="SetHighlightColour" type="" overloaded="no"> | |
781d2982 | 12439 | <autodoc>SetHighlightColour(self, Colour c)</autodoc> |
f32fc4bc RD |
12440 | <paramlist> |
12441 | <param name="c" type="Colour" default=""/> | |
12442 | </paramlist> | |
12443 | </method> | |
12444 | <method name="SetLightShadow" type="" overloaded="no"> | |
781d2982 | 12445 | <autodoc>SetLightShadow(self, Colour c)</autodoc> |
f32fc4bc RD |
12446 | <paramlist> |
12447 | <param name="c" type="Colour" default=""/> | |
12448 | </paramlist> | |
12449 | </method> | |
12450 | <method name="SetFaceColour" type="" overloaded="no"> | |
781d2982 | 12451 | <autodoc>SetFaceColour(self, Colour c)</autodoc> |
f32fc4bc RD |
12452 | <paramlist> |
12453 | <param name="c" type="Colour" default=""/> | |
12454 | </paramlist> | |
12455 | </method> | |
12456 | <method name="SetMediumShadow" type="" overloaded="no"> | |
781d2982 | 12457 | <autodoc>SetMediumShadow(self, Colour c)</autodoc> |
f32fc4bc RD |
12458 | <paramlist> |
12459 | <param name="c" type="Colour" default=""/> | |
12460 | </paramlist> | |
12461 | </method> | |
12462 | <method name="SetDarkShadow" type="" overloaded="no"> | |
781d2982 | 12463 | <autodoc>SetDarkShadow(self, Colour c)</autodoc> |
f32fc4bc RD |
12464 | <paramlist> |
12465 | <param name="c" type="Colour" default=""/> | |
12466 | </paramlist> | |
12467 | </method> | |
12468 | <method name="Set" type="" overloaded="no"> | |
781d2982 | 12469 | <autodoc>Set(self, Colour highlightColour, Colour lightShadow, Colour faceColour, |
856bf319 | 12470 | Colour mediumShadow, Colour darkShadow)</autodoc> |
f32fc4bc RD |
12471 | <paramlist> |
12472 | <param name="highlightColour" type="Colour" default=""/> | |
12473 | <param name="lightShadow" type="Colour" default=""/> | |
12474 | <param name="faceColour" type="Colour" default=""/> | |
12475 | <param name="mediumShadow" type="Colour" default=""/> | |
12476 | <param name="darkShadow" type="Colour" default=""/> | |
12477 | </paramlist> | |
12478 | </method> | |
12479 | <method name="DrawSunkenEdge" type="" overloaded="no"> | |
781d2982 | 12480 | <autodoc>DrawSunkenEdge(self, DC dc, Rect rect, int borderSize=1)</autodoc> |
f32fc4bc RD |
12481 | <paramlist> |
12482 | <param name="dc" type="DC" default=""/> | |
12483 | <param name="rect" type="Rect" default=""/> | |
12484 | <param name="borderSize" type="int" default="1"/> | |
12485 | </paramlist> | |
12486 | </method> | |
12487 | <method name="TileBitmap" type="bool" overloaded="no"> | |
781d2982 | 12488 | <autodoc>TileBitmap(self, Rect rect, DC dc, Bitmap bitmap) -> bool</autodoc> |
f32fc4bc RD |
12489 | <paramlist> |
12490 | <param name="rect" type="Rect" default=""/> | |
12491 | <param name="dc" type="DC" default=""/> | |
12492 | <param name="bitmap" type="Bitmap" default=""/> | |
12493 | </paramlist> | |
12494 | </method> | |
12495 | </class> | |
12496 | </module> | |
781d2982 RD |
12497 | <module name="_windows"> |
12498 | <import name="_core"/> | |
12499 | <pythoncode> wx = _core </pythoncode> | |
f32fc4bc | 12500 | <pythoncode> |
856bf319 RD |
12501 | #--------------------------------------------------------------------------- |
12502 | </pythoncode> | |
781d2982 | 12503 | <class name="Panel" oldname="wxPanel" module="_windows"> |
f32fc4bc RD |
12504 | <baseclass name="Window"/> |
12505 | <constructor name="Panel" overloaded="no"> | |
781d2982 | 12506 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
856bf319 RD |
12507 | Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, |
12508 | String name=PanelNameStr) -> Panel</autodoc> | |
f32fc4bc RD |
12509 | <paramlist> |
12510 | <param name="parent" type="Window" default=""/> | |
12511 | <param name="id" type="int" default="-1"/> | |
12512 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12513 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12514 | <param name="style" type="long" default="wxTAB_TRAVERSAL|wxNO_BORDER"/> | |
12515 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
12516 | </paramlist> | |
12517 | </constructor> | |
12518 | <constructor name="PrePanel" overloaded="no"> | |
12519 | <autodoc>PrePanel() -> Panel</autodoc> | |
12520 | </constructor> | |
12521 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
12522 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
12523 | Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, | |
856bf319 | 12524 | String name=PanelNameStr) -> bool</autodoc> |
0190c472 | 12525 | <docstring>Create the GUI part of the Window for 2-phase creation mode.</docstring> |
f32fc4bc RD |
12526 | <paramlist> |
12527 | <param name="parent" type="Window" default=""/> | |
781d2982 | 12528 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
12529 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
12530 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12531 | <param name="style" type="long" default="wxTAB_TRAVERSAL|wxNO_BORDER"/> | |
12532 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
12533 | </paramlist> | |
12534 | </method> | |
12535 | <method name="InitDialog" type="" overloaded="no"> | |
781d2982 RD |
12536 | <autodoc>InitDialog(self)</autodoc> |
12537 | <docstring>Sends an EVT_INIT_DIALOG event, whose handler usually transfers data | |
12538 | to the dialog via validators.</docstring> | |
f32fc4bc | 12539 | </method> |
781d2982 RD |
12540 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
12541 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
12542 | <docstring>Get the default attributes for this class. This is useful if you want | |
12543 | to use the same font or colour in your own control as in a standard | |
12544 | control -- which is a much better idea than hard coding specific | |
12545 | colours or fonts which might look completely out of place on the | |
12546 | user's system, especially if it uses themes. | |
12547 | ||
12548 | The variant parameter is only relevant under Mac currently and is | |
12549 | ignore under other platforms. Under Mac, it will change the size of | |
12550 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
12551 | this.</docstring> | |
12552 | <paramlist> | |
12553 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
12554 | </paramlist> | |
12555 | </staticmethod> | |
f32fc4bc RD |
12556 | </class> |
12557 | <pythoncode> | |
856bf319 RD |
12558 | #--------------------------------------------------------------------------- |
12559 | </pythoncode> | |
781d2982 | 12560 | <class name="ScrolledWindow" oldname="wxScrolledWindow" module="_windows"> |
f32fc4bc RD |
12561 | <baseclass name="Panel"/> |
12562 | <constructor name="ScrolledWindow" overloaded="no"> | |
781d2982 | 12563 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
856bf319 RD |
12564 | Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, |
12565 | String name=PanelNameStr) -> ScrolledWindow</autodoc> | |
f32fc4bc RD |
12566 | <paramlist> |
12567 | <param name="parent" type="Window" default=""/> | |
12568 | <param name="id" type="int" default="-1"/> | |
12569 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12570 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12571 | <param name="style" type="long" default="wxHSCROLL|wxVSCROLL"/> | |
12572 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
12573 | </paramlist> | |
12574 | </constructor> | |
12575 | <constructor name="PreScrolledWindow" overloaded="no"> | |
12576 | <autodoc>PreScrolledWindow() -> ScrolledWindow</autodoc> | |
12577 | </constructor> | |
12578 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 12579 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
856bf319 RD |
12580 | Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, |
12581 | String name=PanelNameStr) -> bool</autodoc> | |
0190c472 | 12582 | <docstring>Create the GUI part of the Window for 2-phase creation mode.</docstring> |
f32fc4bc RD |
12583 | <paramlist> |
12584 | <param name="parent" type="Window" default=""/> | |
12585 | <param name="id" type="int" default="-1"/> | |
12586 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
12587 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12588 | <param name="style" type="long" default="wxHSCROLL|wxVSCROLL"/> | |
12589 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
12590 | </paramlist> | |
12591 | </method> | |
12592 | <method name="SetScrollbars" type="" overloaded="no"> | |
781d2982 | 12593 | <autodoc>SetScrollbars(self, int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX, |
856bf319 | 12594 | int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)</autodoc> |
f32fc4bc RD |
12595 | <paramlist> |
12596 | <param name="pixelsPerUnitX" type="int" default=""/> | |
12597 | <param name="pixelsPerUnitY" type="int" default=""/> | |
12598 | <param name="noUnitsX" type="int" default=""/> | |
12599 | <param name="noUnitsY" type="int" default=""/> | |
12600 | <param name="xPos" type="int" default="0"/> | |
12601 | <param name="yPos" type="int" default="0"/> | |
12602 | <param name="noRefresh" type="bool" default="False"/> | |
12603 | </paramlist> | |
12604 | </method> | |
12605 | <method name="Scroll" type="" overloaded="no"> | |
781d2982 | 12606 | <autodoc>Scroll(self, int x, int y)</autodoc> |
f32fc4bc RD |
12607 | <paramlist> |
12608 | <param name="x" type="int" default=""/> | |
12609 | <param name="y" type="int" default=""/> | |
12610 | </paramlist> | |
12611 | </method> | |
12612 | <method name="GetScrollPageSize" type="int" overloaded="no"> | |
781d2982 | 12613 | <autodoc>GetScrollPageSize(self, int orient) -> int</autodoc> |
f32fc4bc RD |
12614 | <paramlist> |
12615 | <param name="orient" type="int" default=""/> | |
12616 | </paramlist> | |
12617 | </method> | |
12618 | <method name="SetScrollPageSize" type="" overloaded="no"> | |
781d2982 | 12619 | <autodoc>SetScrollPageSize(self, int orient, int pageSize)</autodoc> |
f32fc4bc RD |
12620 | <paramlist> |
12621 | <param name="orient" type="int" default=""/> | |
12622 | <param name="pageSize" type="int" default=""/> | |
12623 | </paramlist> | |
12624 | </method> | |
12625 | <method name="SetScrollRate" type="" overloaded="no"> | |
781d2982 | 12626 | <autodoc>SetScrollRate(self, int xstep, int ystep)</autodoc> |
f32fc4bc RD |
12627 | <paramlist> |
12628 | <param name="xstep" type="int" default=""/> | |
12629 | <param name="ystep" type="int" default=""/> | |
12630 | </paramlist> | |
12631 | </method> | |
12632 | <method name="GetScrollPixelsPerUnit" type="" overloaded="no"> | |
12633 | <autodoc>GetScrollPixelsPerUnit() -> (xUnit, yUnit)</autodoc> | |
ce6878e6 | 12634 | <docstring>Get the size of one logical unit in physical units.</docstring> |
f32fc4bc RD |
12635 | <paramlist> |
12636 | <param name="OUTPUT" type="int" default=""/> | |
12637 | <param name="OUTPUT" type="int" default=""/> | |
12638 | </paramlist> | |
12639 | </method> | |
12640 | <method name="EnableScrolling" type="" overloaded="no"> | |
781d2982 | 12641 | <autodoc>EnableScrolling(self, bool x_scrolling, bool y_scrolling)</autodoc> |
f32fc4bc RD |
12642 | <paramlist> |
12643 | <param name="x_scrolling" type="bool" default=""/> | |
12644 | <param name="y_scrolling" type="bool" default=""/> | |
12645 | </paramlist> | |
12646 | </method> | |
12647 | <method name="GetViewStart" type="" overloaded="no"> | |
12648 | <autodoc>GetViewStart() -> (x,y)</autodoc> | |
ce6878e6 | 12649 | <docstring>Get the view start</docstring> |
f32fc4bc RD |
12650 | <paramlist> |
12651 | <param name="OUTPUT" type="int" default=""/> | |
12652 | <param name="OUTPUT" type="int" default=""/> | |
12653 | </paramlist> | |
12654 | </method> | |
12655 | <method name="SetScale" type="" overloaded="no"> | |
781d2982 | 12656 | <autodoc>SetScale(self, double xs, double ys)</autodoc> |
f32fc4bc RD |
12657 | <paramlist> |
12658 | <param name="xs" type="double" default=""/> | |
12659 | <param name="ys" type="double" default=""/> | |
12660 | </paramlist> | |
12661 | </method> | |
12662 | <method name="GetScaleX" type="double" overloaded="no"> | |
781d2982 | 12663 | <autodoc>GetScaleX(self) -> double</autodoc> |
f32fc4bc RD |
12664 | </method> |
12665 | <method name="GetScaleY" type="double" overloaded="no"> | |
781d2982 | 12666 | <autodoc>GetScaleY(self) -> double</autodoc> |
f32fc4bc RD |
12667 | </method> |
12668 | <method name="CalcScrolledPosition" type="Point" overloaded="yes"> | |
12669 | <docstring>Translate between scrolled and unscrolled coordinates.</docstring> | |
12670 | <paramlist> | |
12671 | <param name="pt" type="Point" default=""/> | |
12672 | </paramlist> | |
12673 | </method> | |
12674 | <method name="CalcScrolledPosition" type="" overloaded="yes"> | |
781d2982 | 12675 | <autodoc>CalcScrolledPosition(self, Point pt) -> Point |
856bf319 | 12676 | CalcScrolledPosition(int x, int y) -> (sx, sy)</autodoc> |
f32fc4bc RD |
12677 | <docstring>Translate between scrolled and unscrolled coordinates.</docstring> |
12678 | <paramlist> | |
12679 | <param name="x" type="int" default=""/> | |
12680 | <param name="y" type="int" default=""/> | |
12681 | <param name="OUTPUT" type="int" default=""/> | |
12682 | <param name="OUTPUT" type="int" default=""/> | |
12683 | </paramlist> | |
12684 | </method> | |
12685 | <method name="CalcUnscrolledPosition" type="Point" overloaded="yes"> | |
12686 | <docstring>Translate between scrolled and unscrolled coordinates.</docstring> | |
12687 | <paramlist> | |
12688 | <param name="pt" type="Point" default=""/> | |
12689 | </paramlist> | |
12690 | </method> | |
12691 | <method name="CalcUnscrolledPosition" type="" overloaded="yes"> | |
781d2982 | 12692 | <autodoc>CalcUnscrolledPosition(self, Point pt) -> Point |
856bf319 | 12693 | CalcUnscrolledPosition(int x, int y) -> (ux, uy)</autodoc> |
f32fc4bc RD |
12694 | <docstring>Translate between scrolled and unscrolled coordinates.</docstring> |
12695 | <paramlist> | |
12696 | <param name="x" type="int" default=""/> | |
12697 | <param name="y" type="int" default=""/> | |
12698 | <param name="OUTPUT" type="int" default=""/> | |
12699 | <param name="OUTPUT" type="int" default=""/> | |
12700 | </paramlist> | |
12701 | </method> | |
12702 | <method name="AdjustScrollbars" type="" overloaded="no"> | |
781d2982 | 12703 | <autodoc>AdjustScrollbars(self)</autodoc> |
f32fc4bc RD |
12704 | </method> |
12705 | <method name="CalcScrollInc" type="int" overloaded="no"> | |
781d2982 | 12706 | <autodoc>CalcScrollInc(self, ScrollWinEvent event) -> int</autodoc> |
f32fc4bc RD |
12707 | <paramlist> |
12708 | <param name="event" type="ScrollWinEvent" default=""/> | |
12709 | </paramlist> | |
12710 | </method> | |
12711 | <method name="SetTargetWindow" type="" overloaded="no"> | |
781d2982 | 12712 | <autodoc>SetTargetWindow(self, Window target)</autodoc> |
f32fc4bc RD |
12713 | <paramlist> |
12714 | <param name="target" type="Window" default=""/> | |
12715 | </paramlist> | |
12716 | </method> | |
12717 | <method name="GetTargetWindow" type="Window" overloaded="no"> | |
781d2982 | 12718 | <autodoc>GetTargetWindow(self) -> Window</autodoc> |
f32fc4bc | 12719 | </method> |
ce6878e6 RD |
12720 | <method name="DoPrepareDC" type="" overloaded="no"> |
12721 | <autodoc>DoPrepareDC(self, DC dc)</autodoc> | |
12722 | <docstring>Normally what is called by `PrepareDC`.</docstring> | |
12723 | <paramlist> | |
12724 | <param name="dc" type="DC" default=""/> | |
12725 | </paramlist> | |
12726 | </method> | |
781d2982 RD |
12727 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
12728 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
12729 | <docstring>Get the default attributes for this class. This is useful if you want | |
12730 | to use the same font or colour in your own control as in a standard | |
12731 | control -- which is a much better idea than hard coding specific | |
12732 | colours or fonts which might look completely out of place on the | |
12733 | user's system, especially if it uses themes. | |
12734 | ||
12735 | The variant parameter is only relevant under Mac currently and is | |
12736 | ignore under other platforms. Under Mac, it will change the size of | |
12737 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
12738 | this.</docstring> | |
12739 | <paramlist> | |
12740 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
12741 | </paramlist> | |
12742 | </staticmethod> | |
f32fc4bc RD |
12743 | </class> |
12744 | <pythoncode> | |
856bf319 RD |
12745 | #--------------------------------------------------------------------------- |
12746 | </pythoncode> | |
781d2982 | 12747 | <class name="TopLevelWindow" oldname="wxTopLevelWindow" module="_windows"> |
f32fc4bc RD |
12748 | <baseclass name="Window"/> |
12749 | <method name="Maximize" type="" overloaded="no"> | |
781d2982 | 12750 | <autodoc>Maximize(self, bool maximize=True)</autodoc> |
f32fc4bc RD |
12751 | <paramlist> |
12752 | <param name="maximize" type="bool" default="True"/> | |
12753 | </paramlist> | |
12754 | </method> | |
12755 | <method name="Restore" type="" overloaded="no"> | |
781d2982 | 12756 | <autodoc>Restore(self)</autodoc> |
f32fc4bc RD |
12757 | </method> |
12758 | <method name="Iconize" type="" overloaded="no"> | |
781d2982 | 12759 | <autodoc>Iconize(self, bool iconize=True)</autodoc> |
f32fc4bc RD |
12760 | <paramlist> |
12761 | <param name="iconize" type="bool" default="True"/> | |
12762 | </paramlist> | |
12763 | </method> | |
12764 | <method name="IsMaximized" type="bool" overloaded="no"> | |
781d2982 | 12765 | <autodoc>IsMaximized(self) -> bool</autodoc> |
f32fc4bc RD |
12766 | </method> |
12767 | <method name="IsIconized" type="bool" overloaded="no"> | |
781d2982 | 12768 | <autodoc>IsIconized(self) -> bool</autodoc> |
f32fc4bc RD |
12769 | </method> |
12770 | <method name="GetIcon" type="Icon" overloaded="no"> | |
781d2982 | 12771 | <autodoc>GetIcon(self) -> Icon</autodoc> |
f32fc4bc RD |
12772 | </method> |
12773 | <method name="SetIcon" type="" overloaded="no"> | |
781d2982 | 12774 | <autodoc>SetIcon(self, Icon icon)</autodoc> |
f32fc4bc RD |
12775 | <paramlist> |
12776 | <param name="icon" type="Icon" default=""/> | |
12777 | </paramlist> | |
12778 | </method> | |
12779 | <method name="SetIcons" type="" overloaded="no"> | |
781d2982 | 12780 | <autodoc>SetIcons(self, wxIconBundle icons)</autodoc> |
f32fc4bc RD |
12781 | <paramlist> |
12782 | <param name="icons" type="IconBundle" default=""/> | |
12783 | </paramlist> | |
12784 | </method> | |
12785 | <method name="ShowFullScreen" type="bool" overloaded="no"> | |
781d2982 | 12786 | <autodoc>ShowFullScreen(self, bool show, long style=FULLSCREEN_ALL) -> bool</autodoc> |
f32fc4bc RD |
12787 | <paramlist> |
12788 | <param name="show" type="bool" default=""/> | |
12789 | <param name="style" type="long" default="wxFULLSCREEN_ALL"/> | |
12790 | </paramlist> | |
12791 | </method> | |
12792 | <method name="IsFullScreen" type="bool" overloaded="no"> | |
781d2982 | 12793 | <autodoc>IsFullScreen(self) -> bool</autodoc> |
f32fc4bc RD |
12794 | </method> |
12795 | <method name="SetTitle" type="" overloaded="no"> | |
781d2982 | 12796 | <autodoc>SetTitle(self, String title)</autodoc> |
c2dda882 | 12797 | <docstring>Sets the window's title. Applicable only to frames and dialogs.</docstring> |
f32fc4bc RD |
12798 | <paramlist> |
12799 | <param name="title" type="String" default=""/> | |
12800 | </paramlist> | |
12801 | </method> | |
12802 | <method name="GetTitle" type="String" overloaded="no"> | |
781d2982 | 12803 | <autodoc>GetTitle(self) -> String</autodoc> |
c2dda882 | 12804 | <docstring>Gets the window's title. Applicable only to frames and dialogs.</docstring> |
f32fc4bc RD |
12805 | </method> |
12806 | <method name="SetShape" type="bool" overloaded="no"> | |
781d2982 | 12807 | <autodoc>SetShape(self, Region region) -> bool</autodoc> |
f32fc4bc RD |
12808 | <paramlist> |
12809 | <param name="region" type="Region" default=""/> | |
12810 | </paramlist> | |
12811 | </method> | |
12812 | </class> | |
12813 | <pythoncode> | |
856bf319 RD |
12814 | #--------------------------------------------------------------------------- |
12815 | </pythoncode> | |
781d2982 | 12816 | <class name="Frame" oldname="wxFrame" module="_windows"> |
f32fc4bc RD |
12817 | <baseclass name="TopLevelWindow"/> |
12818 | <constructor name="Frame" overloaded="no"> | |
781d2982 RD |
12819 | <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString, |
12820 | Point pos=DefaultPosition, Size size=DefaultSize, | |
12821 | long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> Frame</autodoc> | |
f32fc4bc RD |
12822 | <paramlist> |
12823 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
12824 | <param name="id" type="int" default="-1"/> |
12825 | <param name="title" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
12826 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
12827 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12828 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
12829 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
12830 | </paramlist> | |
12831 | </constructor> | |
12832 | <constructor name="PreFrame" overloaded="no"> | |
12833 | <autodoc>PreFrame() -> Frame</autodoc> | |
12834 | </constructor> | |
12835 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
12836 | <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString, |
12837 | Point pos=DefaultPosition, Size size=DefaultSize, | |
12838 | long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool</autodoc> | |
f32fc4bc RD |
12839 | <paramlist> |
12840 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
12841 | <param name="id" type="int" default="-1"/> |
12842 | <param name="title" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
12843 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
12844 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12845 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
12846 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
12847 | </paramlist> | |
12848 | </method> | |
12849 | <method name="GetClientAreaOrigin" type="Point" overloaded="no"> | |
781d2982 | 12850 | <autodoc>GetClientAreaOrigin(self) -> Point</autodoc> |
c2dda882 RD |
12851 | <docstring>Get the origin of the client area of the window relative to the |
12852 | window's top left corner (the client area may be shifted because of | |
12853 | the borders, scrollbars, other decorations...)</docstring> | |
f32fc4bc RD |
12854 | </method> |
12855 | <method name="SendSizeEvent" type="" overloaded="no"> | |
781d2982 | 12856 | <autodoc>SendSizeEvent(self)</autodoc> |
f32fc4bc RD |
12857 | </method> |
12858 | <method name="SetMenuBar" type="" overloaded="no"> | |
781d2982 | 12859 | <autodoc>SetMenuBar(self, MenuBar menubar)</autodoc> |
f32fc4bc RD |
12860 | <paramlist> |
12861 | <param name="menubar" type="MenuBar" default=""/> | |
12862 | </paramlist> | |
12863 | </method> | |
12864 | <method name="GetMenuBar" type="MenuBar" overloaded="no"> | |
781d2982 | 12865 | <autodoc>GetMenuBar(self) -> MenuBar</autodoc> |
f32fc4bc RD |
12866 | </method> |
12867 | <method name="ProcessCommand" type="bool" overloaded="no"> | |
781d2982 | 12868 | <autodoc>ProcessCommand(self, int winid) -> bool</autodoc> |
f32fc4bc RD |
12869 | <paramlist> |
12870 | <param name="winid" type="int" default=""/> | |
12871 | </paramlist> | |
12872 | </method> | |
12873 | <method name="CreateStatusBar" type="wxStatusBar" overloaded="no"> | |
781d2982 | 12874 | <autodoc>CreateStatusBar(self, int number=1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE, |
b39e211b | 12875 | int winid=0, String name=StatusLineNameStr) -> StatusBar</autodoc> |
f32fc4bc RD |
12876 | <paramlist> |
12877 | <param name="number" type="int" default="1"/> | |
b39e211b | 12878 | <param name="style" type="long" default="wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE"/> |
f32fc4bc RD |
12879 | <param name="winid" type="int" default="0"/> |
12880 | <param name="name" type="String" default="wxPyStatusLineNameStr"/> | |
12881 | </paramlist> | |
12882 | </method> | |
12883 | <method name="GetStatusBar" type="wxStatusBar" overloaded="no"> | |
781d2982 | 12884 | <autodoc>GetStatusBar(self) -> StatusBar</autodoc> |
f32fc4bc RD |
12885 | </method> |
12886 | <method name="SetStatusBar" type="" overloaded="no"> | |
781d2982 | 12887 | <autodoc>SetStatusBar(self, StatusBar statBar)</autodoc> |
f32fc4bc RD |
12888 | <paramlist> |
12889 | <param name="statBar" type="wxStatusBar" default=""/> | |
12890 | </paramlist> | |
12891 | </method> | |
12892 | <method name="SetStatusText" type="" overloaded="no"> | |
781d2982 | 12893 | <autodoc>SetStatusText(self, String text, int number=0)</autodoc> |
f32fc4bc RD |
12894 | <paramlist> |
12895 | <param name="text" type="String" default=""/> | |
12896 | <param name="number" type="int" default="0"/> | |
12897 | </paramlist> | |
12898 | </method> | |
12899 | <method name="SetStatusWidths" type="" overloaded="no"> | |
781d2982 | 12900 | <autodoc>SetStatusWidths(self, int widths, int widths_field)</autodoc> |
f32fc4bc RD |
12901 | <paramlist> |
12902 | <param name="widths" type="int" default=""/> | |
12903 | <param name="widths_field" type="int" default=""/> | |
12904 | </paramlist> | |
12905 | </method> | |
12906 | <method name="PushStatusText" type="" overloaded="no"> | |
781d2982 | 12907 | <autodoc>PushStatusText(self, String text, int number=0)</autodoc> |
f32fc4bc RD |
12908 | <paramlist> |
12909 | <param name="text" type="String" default=""/> | |
12910 | <param name="number" type="int" default="0"/> | |
12911 | </paramlist> | |
12912 | </method> | |
12913 | <method name="PopStatusText" type="" overloaded="no"> | |
781d2982 | 12914 | <autodoc>PopStatusText(self, int number=0)</autodoc> |
f32fc4bc RD |
12915 | <paramlist> |
12916 | <param name="number" type="int" default="0"/> | |
12917 | </paramlist> | |
12918 | </method> | |
12919 | <method name="SetStatusBarPane" type="" overloaded="no"> | |
781d2982 | 12920 | <autodoc>SetStatusBarPane(self, int n)</autodoc> |
f32fc4bc RD |
12921 | <paramlist> |
12922 | <param name="n" type="int" default=""/> | |
12923 | </paramlist> | |
12924 | </method> | |
12925 | <method name="GetStatusBarPane" type="int" overloaded="no"> | |
781d2982 | 12926 | <autodoc>GetStatusBarPane(self) -> int</autodoc> |
f32fc4bc RD |
12927 | </method> |
12928 | <method name="CreateToolBar" type="wxToolBar" overloaded="no"> | |
781d2982 | 12929 | <autodoc>CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar</autodoc> |
f32fc4bc RD |
12930 | <paramlist> |
12931 | <param name="style" type="long" default="-1"/> | |
12932 | <param name="winid" type="int" default="-1"/> | |
12933 | <param name="name" type="String" default="wxPyToolBarNameStr"/> | |
12934 | </paramlist> | |
12935 | </method> | |
12936 | <method name="GetToolBar" type="wxToolBar" overloaded="no"> | |
781d2982 | 12937 | <autodoc>GetToolBar(self) -> wxToolBar</autodoc> |
f32fc4bc RD |
12938 | </method> |
12939 | <method name="SetToolBar" type="" overloaded="no"> | |
781d2982 | 12940 | <autodoc>SetToolBar(self, wxToolBar toolbar)</autodoc> |
f32fc4bc RD |
12941 | <paramlist> |
12942 | <param name="toolbar" type="wxToolBar" default=""/> | |
12943 | </paramlist> | |
12944 | </method> | |
12945 | <method name="DoGiveHelp" type="" overloaded="no"> | |
781d2982 | 12946 | <autodoc>DoGiveHelp(self, String text, bool show)</autodoc> |
f32fc4bc RD |
12947 | <paramlist> |
12948 | <param name="text" type="String" default=""/> | |
12949 | <param name="show" type="bool" default=""/> | |
12950 | </paramlist> | |
12951 | </method> | |
12952 | <method name="DoMenuUpdates" type="" overloaded="no"> | |
781d2982 | 12953 | <autodoc>DoMenuUpdates(self, Menu menu=None)</autodoc> |
f32fc4bc RD |
12954 | <paramlist> |
12955 | <param name="menu" type="Menu" default="NULL"/> | |
12956 | </paramlist> | |
12957 | </method> | |
781d2982 RD |
12958 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
12959 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
12960 | <docstring>Get the default attributes for this class. This is useful if you want | |
12961 | to use the same font or colour in your own control as in a standard | |
12962 | control -- which is a much better idea than hard coding specific | |
12963 | colours or fonts which might look completely out of place on the | |
12964 | user's system, especially if it uses themes. | |
12965 | ||
12966 | The variant parameter is only relevant under Mac currently and is | |
12967 | ignore under other platforms. Under Mac, it will change the size of | |
12968 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
12969 | this.</docstring> | |
12970 | <paramlist> | |
12971 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
12972 | </paramlist> | |
12973 | </staticmethod> | |
f32fc4bc RD |
12974 | </class> |
12975 | <pythoncode> | |
856bf319 RD |
12976 | #--------------------------------------------------------------------------- |
12977 | </pythoncode> | |
781d2982 | 12978 | <class name="Dialog" oldname="wxDialog" module="_windows"> |
f32fc4bc RD |
12979 | <baseclass name="TopLevelWindow"/> |
12980 | <constructor name="Dialog" overloaded="no"> | |
781d2982 RD |
12981 | <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString, |
12982 | Point pos=DefaultPosition, Size size=DefaultSize, | |
12983 | long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> Dialog</autodoc> | |
f32fc4bc RD |
12984 | <paramlist> |
12985 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
12986 | <param name="id" type="int" default="-1"/> |
12987 | <param name="title" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
12988 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
12989 | <param name="size" type="Size" default="wxDefaultSize"/> | |
12990 | <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/> | |
12991 | <param name="name" type="String" default="wxPyDialogNameStr"/> | |
12992 | </paramlist> | |
12993 | </constructor> | |
12994 | <constructor name="PreDialog" overloaded="no"> | |
12995 | <autodoc>PreDialog() -> Dialog</autodoc> | |
12996 | </constructor> | |
12997 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
12998 | <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString, |
12999 | Point pos=DefaultPosition, Size size=DefaultSize, | |
13000 | long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> bool</autodoc> | |
f32fc4bc RD |
13001 | <paramlist> |
13002 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
13003 | <param name="id" type="int" default="-1"/> |
13004 | <param name="title" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
13005 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
13006 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13007 | <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/> | |
13008 | <param name="name" type="String" default="wxPyDialogNameStr"/> | |
13009 | </paramlist> | |
13010 | </method> | |
13011 | <method name="SetReturnCode" type="" overloaded="no"> | |
781d2982 | 13012 | <autodoc>SetReturnCode(self, int returnCode)</autodoc> |
f32fc4bc RD |
13013 | <paramlist> |
13014 | <param name="returnCode" type="int" default=""/> | |
13015 | </paramlist> | |
13016 | </method> | |
13017 | <method name="GetReturnCode" type="int" overloaded="no"> | |
781d2982 | 13018 | <autodoc>GetReturnCode(self) -> int</autodoc> |
f32fc4bc RD |
13019 | </method> |
13020 | <method name="CreateTextSizer" type="Sizer" overloaded="no"> | |
781d2982 | 13021 | <autodoc>CreateTextSizer(self, String message) -> Sizer</autodoc> |
f32fc4bc RD |
13022 | <paramlist> |
13023 | <param name="message" type="String" default=""/> | |
13024 | </paramlist> | |
13025 | </method> | |
13026 | <method name="CreateButtonSizer" type="Sizer" overloaded="no"> | |
781d2982 | 13027 | <autodoc>CreateButtonSizer(self, long flags) -> Sizer</autodoc> |
f32fc4bc RD |
13028 | <paramlist> |
13029 | <param name="flags" type="long" default=""/> | |
13030 | </paramlist> | |
13031 | </method> | |
13032 | <method name="IsModal" type="bool" overloaded="no"> | |
781d2982 | 13033 | <autodoc>IsModal(self) -> bool</autodoc> |
f32fc4bc RD |
13034 | </method> |
13035 | <method name="ShowModal" type="int" overloaded="no"> | |
781d2982 | 13036 | <autodoc>ShowModal(self) -> int</autodoc> |
f32fc4bc RD |
13037 | </method> |
13038 | <method name="EndModal" type="" overloaded="no"> | |
781d2982 | 13039 | <autodoc>EndModal(self, int retCode)</autodoc> |
f32fc4bc RD |
13040 | <paramlist> |
13041 | <param name="retCode" type="int" default=""/> | |
13042 | </paramlist> | |
13043 | </method> | |
781d2982 RD |
13044 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
13045 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
13046 | <docstring>Get the default attributes for this class. This is useful if you want | |
13047 | to use the same font or colour in your own control as in a standard | |
13048 | control -- which is a much better idea than hard coding specific | |
13049 | colours or fonts which might look completely out of place on the | |
13050 | user's system, especially if it uses themes. | |
13051 | ||
13052 | The variant parameter is only relevant under Mac currently and is | |
13053 | ignore under other platforms. Under Mac, it will change the size of | |
13054 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
13055 | this.</docstring> | |
13056 | <paramlist> | |
13057 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
13058 | </paramlist> | |
13059 | </staticmethod> | |
f32fc4bc RD |
13060 | </class> |
13061 | <pythoncode> | |
856bf319 RD |
13062 | #--------------------------------------------------------------------------- |
13063 | </pythoncode> | |
781d2982 | 13064 | <class name="MiniFrame" oldname="wxMiniFrame" module="_windows"> |
f32fc4bc RD |
13065 | <baseclass name="Frame"/> |
13066 | <constructor name="MiniFrame" overloaded="no"> | |
781d2982 RD |
13067 | <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString, |
13068 | Point pos=DefaultPosition, Size size=DefaultSize, | |
13069 | long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> MiniFrame</autodoc> | |
f32fc4bc RD |
13070 | <paramlist> |
13071 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
13072 | <param name="id" type="int" default="-1"/> |
13073 | <param name="title" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
13074 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
13075 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13076 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
13077 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
13078 | </paramlist> | |
13079 | </constructor> | |
13080 | <constructor name="PreMiniFrame" overloaded="no"> | |
13081 | <autodoc>PreMiniFrame() -> MiniFrame</autodoc> | |
13082 | </constructor> | |
13083 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
13084 | <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString, |
13085 | Point pos=DefaultPosition, Size size=DefaultSize, | |
13086 | long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool</autodoc> | |
f32fc4bc RD |
13087 | <paramlist> |
13088 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
13089 | <param name="id" type="int" default="-1"/> |
13090 | <param name="title" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
13091 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
13092 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13093 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
13094 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
13095 | </paramlist> | |
13096 | </method> | |
13097 | </class> | |
13098 | <pythoncode> | |
856bf319 RD |
13099 | #--------------------------------------------------------------------------- |
13100 | </pythoncode> | |
781d2982 | 13101 | <class name="SplashScreenWindow" oldname="wxSplashScreenWindow" module="_windows"> |
f32fc4bc RD |
13102 | <baseclass name="Window"/> |
13103 | <constructor name="SplashScreenWindow" overloaded="no"> | |
781d2982 | 13104 | <autodoc>__init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition, |
856bf319 | 13105 | Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow</autodoc> |
f32fc4bc RD |
13106 | <paramlist> |
13107 | <param name="bitmap" type="Bitmap" default=""/> | |
13108 | <param name="parent" type="Window" default=""/> | |
13109 | <param name="id" type="int" default=""/> | |
13110 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
13111 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13112 | <param name="style" type="long" default="wxNO_BORDER"/> | |
13113 | </paramlist> | |
13114 | </constructor> | |
13115 | <method name="SetBitmap" type="" overloaded="no"> | |
781d2982 | 13116 | <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc> |
f32fc4bc RD |
13117 | <paramlist> |
13118 | <param name="bitmap" type="Bitmap" default=""/> | |
13119 | </paramlist> | |
13120 | </method> | |
13121 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
781d2982 | 13122 | <autodoc>GetBitmap(self) -> Bitmap</autodoc> |
f32fc4bc RD |
13123 | </method> |
13124 | </class> | |
781d2982 | 13125 | <class name="SplashScreen" oldname="wxSplashScreen" module="_windows"> |
f32fc4bc RD |
13126 | <baseclass name="Frame"/> |
13127 | <constructor name="SplashScreen" overloaded="no"> | |
781d2982 RD |
13128 | <autodoc>__init__(self, Bitmap bitmap, long splashStyle, int milliseconds, |
13129 | Window parent, int id=-1, Point pos=DefaultPosition, | |
856bf319 | 13130 | Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen</autodoc> |
f32fc4bc RD |
13131 | <paramlist> |
13132 | <param name="bitmap" type="Bitmap" default=""/> | |
13133 | <param name="splashStyle" type="long" default=""/> | |
13134 | <param name="milliseconds" type="int" default=""/> | |
13135 | <param name="parent" type="Window" default=""/> | |
781d2982 | 13136 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
13137 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
13138 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13139 | <param name="style" type="long" default="wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP"/> | |
13140 | </paramlist> | |
13141 | </constructor> | |
13142 | <method name="GetSplashStyle" type="long" overloaded="no"> | |
781d2982 | 13143 | <autodoc>GetSplashStyle(self) -> long</autodoc> |
f32fc4bc RD |
13144 | </method> |
13145 | <method name="GetSplashWindow" type="SplashScreenWindow" overloaded="no"> | |
781d2982 | 13146 | <autodoc>GetSplashWindow(self) -> SplashScreenWindow</autodoc> |
f32fc4bc RD |
13147 | </method> |
13148 | <method name="GetTimeout" type="int" overloaded="no"> | |
781d2982 | 13149 | <autodoc>GetTimeout(self) -> int</autodoc> |
f32fc4bc RD |
13150 | </method> |
13151 | </class> | |
13152 | <pythoncode> | |
856bf319 RD |
13153 | #--------------------------------------------------------------------------- |
13154 | </pythoncode> | |
781d2982 | 13155 | <class name="StatusBar" oldname="wxStatusBar" module="_windows"> |
f32fc4bc RD |
13156 | <baseclass name="Window"/> |
13157 | <constructor name="StatusBar" overloaded="no"> | |
781d2982 | 13158 | <autodoc>__init__(self, Window parent, int id=-1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE, |
b39e211b | 13159 | String name=StatusLineNameStr) -> StatusBar</autodoc> |
f32fc4bc RD |
13160 | <paramlist> |
13161 | <param name="parent" type="Window" default=""/> | |
13162 | <param name="id" type="int" default="-1"/> | |
b39e211b | 13163 | <param name="style" type="long" default="wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE"/> |
f32fc4bc RD |
13164 | <param name="name" type="String" default="wxPyStatusLineNameStr"/> |
13165 | </paramlist> | |
13166 | </constructor> | |
13167 | <constructor name="PreStatusBar" overloaded="no"> | |
13168 | <autodoc>PreStatusBar() -> StatusBar</autodoc> | |
13169 | </constructor> | |
13170 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 13171 | <autodoc>Create(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool</autodoc> |
f32fc4bc RD |
13172 | <paramlist> |
13173 | <param name="parent" type="Window" default=""/> | |
781d2982 | 13174 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
13175 | <param name="style" type="long" default="wxST_SIZEGRIP"/> |
13176 | <param name="name" type="String" default="wxPyStatusLineNameStr"/> | |
13177 | </paramlist> | |
13178 | </method> | |
13179 | <method name="SetFieldsCount" type="" overloaded="no"> | |
781d2982 | 13180 | <autodoc>SetFieldsCount(self, int number=1)</autodoc> |
f32fc4bc RD |
13181 | <paramlist> |
13182 | <param name="number" type="int" default="1"/> | |
13183 | </paramlist> | |
13184 | </method> | |
13185 | <method name="GetFieldsCount" type="int" overloaded="no"> | |
781d2982 | 13186 | <autodoc>GetFieldsCount(self) -> int</autodoc> |
f32fc4bc RD |
13187 | </method> |
13188 | <method name="SetStatusText" type="" overloaded="no"> | |
781d2982 | 13189 | <autodoc>SetStatusText(self, String text, int number=0)</autodoc> |
f32fc4bc RD |
13190 | <paramlist> |
13191 | <param name="text" type="String" default=""/> | |
13192 | <param name="number" type="int" default="0"/> | |
13193 | </paramlist> | |
13194 | </method> | |
13195 | <method name="GetStatusText" type="String" overloaded="no"> | |
781d2982 | 13196 | <autodoc>GetStatusText(self, int number=0) -> String</autodoc> |
f32fc4bc RD |
13197 | <paramlist> |
13198 | <param name="number" type="int" default="0"/> | |
13199 | </paramlist> | |
13200 | </method> | |
13201 | <method name="PushStatusText" type="" overloaded="no"> | |
781d2982 | 13202 | <autodoc>PushStatusText(self, String text, int number=0)</autodoc> |
f32fc4bc RD |
13203 | <paramlist> |
13204 | <param name="text" type="String" default=""/> | |
13205 | <param name="number" type="int" default="0"/> | |
13206 | </paramlist> | |
13207 | </method> | |
13208 | <method name="PopStatusText" type="" overloaded="no"> | |
781d2982 | 13209 | <autodoc>PopStatusText(self, int number=0)</autodoc> |
f32fc4bc RD |
13210 | <paramlist> |
13211 | <param name="number" type="int" default="0"/> | |
13212 | </paramlist> | |
13213 | </method> | |
13214 | <method name="SetStatusWidths" type="" overloaded="no"> | |
781d2982 | 13215 | <autodoc>SetStatusWidths(self, int widths, int widths_field)</autodoc> |
f32fc4bc RD |
13216 | <paramlist> |
13217 | <param name="widths" type="int" default=""/> | |
13218 | <param name="widths_field" type="int" default=""/> | |
13219 | </paramlist> | |
13220 | </method> | |
ce6878e6 RD |
13221 | <method name="SetStatusStyles" type="" overloaded="no"> |
13222 | <autodoc>SetStatusStyles(self, int styles, int styles_field)</autodoc> | |
13223 | <paramlist> | |
13224 | <param name="styles" type="int" default=""/> | |
13225 | <param name="styles_field" type="int" default=""/> | |
13226 | </paramlist> | |
13227 | </method> | |
f32fc4bc | 13228 | <method name="GetFieldRect" type="Rect" overloaded="no"> |
781d2982 | 13229 | <autodoc>GetFieldRect(self, int i) -> Rect</autodoc> |
f32fc4bc RD |
13230 | <paramlist> |
13231 | <param name="i" type="int" default=""/> | |
13232 | </paramlist> | |
13233 | </method> | |
13234 | <method name="SetMinHeight" type="" overloaded="no"> | |
781d2982 | 13235 | <autodoc>SetMinHeight(self, int height)</autodoc> |
f32fc4bc RD |
13236 | <paramlist> |
13237 | <param name="height" type="int" default=""/> | |
13238 | </paramlist> | |
13239 | </method> | |
13240 | <method name="GetBorderX" type="int" overloaded="no"> | |
781d2982 | 13241 | <autodoc>GetBorderX(self) -> int</autodoc> |
f32fc4bc RD |
13242 | </method> |
13243 | <method name="GetBorderY" type="int" overloaded="no"> | |
781d2982 | 13244 | <autodoc>GetBorderY(self) -> int</autodoc> |
f32fc4bc | 13245 | </method> |
781d2982 RD |
13246 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
13247 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
13248 | <docstring>Get the default attributes for this class. This is useful if you want | |
13249 | to use the same font or colour in your own control as in a standard | |
13250 | control -- which is a much better idea than hard coding specific | |
13251 | colours or fonts which might look completely out of place on the | |
13252 | user's system, especially if it uses themes. | |
13253 | ||
13254 | The variant parameter is only relevant under Mac currently and is | |
13255 | ignore under other platforms. Under Mac, it will change the size of | |
13256 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
13257 | this.</docstring> | |
13258 | <paramlist> | |
13259 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
13260 | </paramlist> | |
13261 | </staticmethod> | |
f32fc4bc RD |
13262 | </class> |
13263 | <pythoncode> | |
856bf319 RD |
13264 | #--------------------------------------------------------------------------- |
13265 | </pythoncode> | |
781d2982 RD |
13266 | <class name="SplitterWindow" oldname="wxSplitterWindow" module="_windows"> |
13267 | <docstring>wx.SplitterWindow manages up to two subwindows or panes, with an | |
13268 | optional vertical or horizontal split which can be used with the mouse | |
ce6878e6 RD |
13269 | or programmatically. |
13270 | ||
13271 | Styles | |
13272 | ------- | |
13273 | ==================== ====================================== | |
13274 | wx.SP_3D Draws a 3D effect border and sash. | |
13275 | wx.SP_3DSASH Draws a 3D effect sash. | |
13276 | wx.SP_3DBORDER Synonym for wxSP_BORDER. | |
13277 | wx.SP_BORDER Draws a standard border. | |
13278 | wx.SP_NOBORDER No border (default). | |
13279 | wx.SP_NO_XP_THEME Under Windows XP, switches off the | |
13280 | attempt to draw the splitter | |
13281 | using Windows XP theming, so the | |
13282 | borders and sash will take on the | |
13283 | pre-XP look. | |
13284 | wx.SP_PERMIT_UNSPLIT Always allow to unsplit, even with | |
13285 | the minimum pane size other than zero. | |
13286 | wx.SP_LIVE_UPDATE Don't draw XOR line but resize the | |
13287 | child windows immediately. | |
13288 | ==================== ====================================== | |
13289 | ||
13290 | Events | |
13291 | ------ | |
13292 | ============================== ======================================= | |
13293 | EVT_SPLITTER_SASH_POS_CHANGING The sash position is in the | |
13294 | process of being changed. May be | |
13295 | used to modify the position of | |
13296 | the tracking bar to properly | |
13297 | reflect the position that would | |
13298 | be set if the drag were to be | |
13299 | completed at this point. | |
13300 | ||
13301 | EVT_SPLITTER_SASH_POS_CHANGED | |
13302 | The sash position was | |
13303 | changed. May be used to modify | |
13304 | the sash position before it is | |
13305 | set, or to prevent the change | |
13306 | from taking place. | |
13307 | ||
13308 | EVT_SPLITTER_UNSPLIT The splitter has been just unsplit. | |
13309 | ||
13310 | EVT_SPLITTER_DCLICK The sash was double clicked. The | |
13311 | default behaviour is to unsplit | |
13312 | the window when this happens | |
13313 | (unless the minimum pane size has | |
13314 | been set to a value greater than | |
13315 | zero.) | |
13316 | ============================== ======================================= | |
13317 | ||
13318 | </docstring> | |
f32fc4bc RD |
13319 | <baseclass name="Window"/> |
13320 | <constructor name="SplitterWindow" overloaded="no"> | |
781d2982 RD |
13321 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
13322 | Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow</autodoc> | |
368d20e8 | 13323 | <docstring>Constructor. Creates and shows a SplitterWindow.</docstring> |
f32fc4bc RD |
13324 | <paramlist> |
13325 | <param name="parent" type="Window" default=""/> | |
781d2982 | 13326 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
13327 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
13328 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13329 | <param name="style" type="long" default="wxSP_3D"/> | |
13330 | <param name="name" type="String" default="wxPySplitterNameStr"/> | |
13331 | </paramlist> | |
13332 | </constructor> | |
13333 | <constructor name="PreSplitterWindow" overloaded="no"> | |
13334 | <autodoc>PreSplitterWindow() -> SplitterWindow</autodoc> | |
368d20e8 | 13335 | <docstring>Precreate a SplitterWindow for 2-phase creation.</docstring> |
f32fc4bc RD |
13336 | </constructor> |
13337 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
13338 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
13339 | Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool</autodoc> | |
368d20e8 | 13340 | <docstring>Create the GUI part of the SplitterWindow for the 2-phase create.</docstring> |
f32fc4bc RD |
13341 | <paramlist> |
13342 | <param name="parent" type="Window" default=""/> | |
781d2982 | 13343 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
13344 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
13345 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13346 | <param name="style" type="long" default="wxSP_3D"/> | |
13347 | <param name="name" type="String" default="wxPySplitterNameStr"/> | |
13348 | </paramlist> | |
13349 | </method> | |
13350 | <method name="GetWindow1" type="Window" overloaded="no"> | |
781d2982 | 13351 | <autodoc>GetWindow1(self) -> Window</autodoc> |
368d20e8 | 13352 | <docstring>Gets the only or left/top pane.</docstring> |
f32fc4bc RD |
13353 | </method> |
13354 | <method name="GetWindow2" type="Window" overloaded="no"> | |
781d2982 | 13355 | <autodoc>GetWindow2(self) -> Window</autodoc> |
368d20e8 | 13356 | <docstring>Gets the right/bottom pane.</docstring> |
f32fc4bc RD |
13357 | </method> |
13358 | <method name="SetSplitMode" type="" overloaded="no"> | |
781d2982 | 13359 | <autodoc>SetSplitMode(self, int mode)</autodoc> |
368d20e8 | 13360 | <docstring>Sets the split mode. The mode can be wx.SPLIT_VERTICAL or |
781d2982 RD |
13361 | wx.SPLIT_HORIZONTAL. This only sets the internal variable; does not |
13362 | update the display.</docstring> | |
f32fc4bc RD |
13363 | <paramlist> |
13364 | <param name="mode" type="int" default=""/> | |
13365 | </paramlist> | |
13366 | </method> | |
13367 | <method name="GetSplitMode" type="wxSplitMode" overloaded="no"> | |
781d2982 | 13368 | <autodoc>GetSplitMode(self) -> int</autodoc> |
368d20e8 | 13369 | <docstring>Gets the split mode</docstring> |
f32fc4bc RD |
13370 | </method> |
13371 | <method name="Initialize" type="" overloaded="no"> | |
781d2982 RD |
13372 | <autodoc>Initialize(self, Window window)</autodoc> |
13373 | <docstring>Initializes the splitter window to have one pane. This should be | |
13374 | called if you wish to initially view only a single pane in the | |
13375 | splitter window.</docstring> | |
f32fc4bc RD |
13376 | <paramlist> |
13377 | <param name="window" type="Window" default=""/> | |
13378 | </paramlist> | |
13379 | </method> | |
13380 | <method name="SplitVertically" type="bool" overloaded="no"> | |
781d2982 | 13381 | <autodoc>SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool</autodoc> |
ce6878e6 RD |
13382 | <docstring>Initializes the left and right panes of the splitter window. |
13383 | :param window1: The left pane. | |
13384 | :param window2: The right pane. | |
13385 | :param sashPosition: The initial position of the sash. If this | |
13386 | value is positive, it specifies the size of the left | |
13387 | pane. If it is negative, it is absolute value gives | |
13388 | the size of the right pane. Finally, specify 0 | |
13389 | (default) to choose the default position (half of | |
13390 | the total window width). | |
13391 | ||
13392 | Returns True if successful, False otherwise (the window was already | |
13393 | split). | |
13394 | ||
13395 | SplitVertically should be called if you wish to initially view two | |
13396 | panes. It can also be called at any subsequent time, but the | |
13397 | application should check that the window is not currently split using | |
13398 | IsSplit. | |
13399 | </docstring> | |
f32fc4bc RD |
13400 | <paramlist> |
13401 | <param name="window1" type="Window" default=""/> | |
13402 | <param name="window2" type="Window" default=""/> | |
13403 | <param name="sashPosition" type="int" default="0"/> | |
13404 | </paramlist> | |
13405 | </method> | |
13406 | <method name="SplitHorizontally" type="bool" overloaded="no"> | |
781d2982 | 13407 | <autodoc>SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool</autodoc> |
ce6878e6 RD |
13408 | <docstring>Initializes the top and bottom panes of the splitter window. |
13409 | :param window1: The top pane. | |
13410 | :param window2: The bottom pane. | |
13411 | :param sashPosition: The initial position of the sash. If this | |
13412 | value is positive, it specifies the size of the | |
13413 | upper pane. If it is negative, it is absolute value | |
13414 | gives the size of the lower pane. Finally, specify 0 | |
13415 | (default) to choose the default position (half of | |
13416 | the total window height). | |
13417 | ||
13418 | Returns True if successful, False otherwise (the window was already | |
13419 | split). | |
13420 | ||
13421 | SplitHorizontally should be called if you wish to initially view two | |
13422 | panes. It can also be called at any subsequent time, but the | |
13423 | application should check that the window is not currently split using | |
13424 | IsSplit. | |
13425 | </docstring> | |
f32fc4bc RD |
13426 | <paramlist> |
13427 | <param name="window1" type="Window" default=""/> | |
13428 | <param name="window2" type="Window" default=""/> | |
13429 | <param name="sashPosition" type="int" default="0"/> | |
13430 | </paramlist> | |
13431 | </method> | |
13432 | <method name="Unsplit" type="bool" overloaded="no"> | |
781d2982 RD |
13433 | <autodoc>Unsplit(self, Window toRemove=None) -> bool</autodoc> |
13434 | <docstring>Unsplits the window. Pass the pane to remove, or None to remove the | |
13435 | right or bottom pane. Returns True if successful, False otherwise (the | |
13436 | window was not split). | |
368d20e8 RD |
13437 | |
13438 | This function will not actually delete the pane being | |
13439 | removed; it sends EVT_SPLITTER_UNSPLIT which can be handled | |
13440 | for the desired behaviour. By default, the pane being | |
13441 | removed is only hidden.</docstring> | |
f32fc4bc RD |
13442 | <paramlist> |
13443 | <param name="toRemove" type="Window" default="NULL"/> | |
13444 | </paramlist> | |
13445 | </method> | |
13446 | <method name="ReplaceWindow" type="bool" overloaded="no"> | |
781d2982 | 13447 | <autodoc>ReplaceWindow(self, Window winOld, Window winNew) -> bool</autodoc> |
368d20e8 | 13448 | <docstring>This function replaces one of the windows managed by the |
781d2982 RD |
13449 | SplitterWindow with another one. It is in general better to use it |
13450 | instead of calling Unsplit() and then resplitting the window back | |
13451 | because it will provoke much less flicker. It is valid to call this | |
13452 | function whether the splitter has two windows or only one. | |
13453 | ||
13454 | Both parameters should be non-None and winOld must specify one of the | |
13455 | windows managed by the splitter. If the parameters are incorrect or | |
13456 | the window couldn't be replaced, False is returned. Otherwise the | |
13457 | function will return True, but please notice that it will not Destroy | |
13458 | the replaced window and you may wish to do it yourself.</docstring> | |
f32fc4bc RD |
13459 | <paramlist> |
13460 | <param name="winOld" type="Window" default=""/> | |
13461 | <param name="winNew" type="Window" default=""/> | |
13462 | </paramlist> | |
13463 | </method> | |
368d20e8 | 13464 | <method name="UpdateSize" type="" overloaded="no"> |
781d2982 RD |
13465 | <autodoc>UpdateSize(self)</autodoc> |
13466 | <docstring>Causes any pending sizing of the sash and child panes to take place | |
13467 | immediately. | |
13468 | ||
13469 | Such resizing normally takes place in idle time, in order to wait for | |
13470 | layout to be completed. However, this can cause unacceptable flicker | |
13471 | as the panes are resized after the window has been shown. To work | |
13472 | around this, you can perform window layout (for example by sending a | |
13473 | size event to the parent window), and then call this function, before | |
13474 | showing the top-level window.</docstring> | |
368d20e8 | 13475 | </method> |
f32fc4bc | 13476 | <method name="IsSplit" type="bool" overloaded="no"> |
781d2982 | 13477 | <autodoc>IsSplit(self) -> bool</autodoc> |
368d20e8 | 13478 | <docstring>Is the window split?</docstring> |
f32fc4bc RD |
13479 | </method> |
13480 | <method name="SetSashSize" type="" overloaded="no"> | |
781d2982 | 13481 | <autodoc>SetSashSize(self, int width)</autodoc> |
368d20e8 | 13482 | <docstring>Sets the sash size</docstring> |
f32fc4bc RD |
13483 | <paramlist> |
13484 | <param name="width" type="int" default=""/> | |
13485 | </paramlist> | |
13486 | </method> | |
13487 | <method name="SetBorderSize" type="" overloaded="no"> | |
781d2982 | 13488 | <autodoc>SetBorderSize(self, int width)</autodoc> |
368d20e8 | 13489 | <docstring>Sets the border size</docstring> |
f32fc4bc RD |
13490 | <paramlist> |
13491 | <param name="width" type="int" default=""/> | |
13492 | </paramlist> | |
13493 | </method> | |
13494 | <method name="GetSashSize" type="int" overloaded="no"> | |
781d2982 | 13495 | <autodoc>GetSashSize(self) -> int</autodoc> |
368d20e8 | 13496 | <docstring>Gets the sash size</docstring> |
f32fc4bc RD |
13497 | </method> |
13498 | <method name="GetBorderSize" type="int" overloaded="no"> | |
781d2982 | 13499 | <autodoc>GetBorderSize(self) -> int</autodoc> |
368d20e8 | 13500 | <docstring>Gets the border size</docstring> |
f32fc4bc RD |
13501 | </method> |
13502 | <method name="SetSashPosition" type="" overloaded="no"> | |
781d2982 RD |
13503 | <autodoc>SetSashPosition(self, int position, bool redraw=True)</autodoc> |
13504 | <docstring>Sets the sash position, in pixels. If redraw is Ttrue then the panes | |
13505 | are resized and the sash and border are redrawn.</docstring> | |
f32fc4bc RD |
13506 | <paramlist> |
13507 | <param name="position" type="int" default=""/> | |
13508 | <param name="redraw" type="bool" default="True"/> | |
13509 | </paramlist> | |
13510 | </method> | |
13511 | <method name="GetSashPosition" type="int" overloaded="no"> | |
781d2982 | 13512 | <autodoc>GetSashPosition(self) -> int</autodoc> |
368d20e8 | 13513 | <docstring>Returns the surrent sash position.</docstring> |
f32fc4bc RD |
13514 | </method> |
13515 | <method name="SetMinimumPaneSize" type="" overloaded="no"> | |
781d2982 | 13516 | <autodoc>SetMinimumPaneSize(self, int min)</autodoc> |
368d20e8 RD |
13517 | <docstring>Sets the minimum pane size in pixels. |
13518 | ||
781d2982 RD |
13519 | The default minimum pane size is zero, which means that either pane |
13520 | can be reduced to zero by dragging the sash, thus removing one of the | |
13521 | panes. To prevent this behaviour (and veto out-of-range sash | |
13522 | dragging), set a minimum size, for example 20 pixels. If the | |
13523 | wx.SP_PERMIT_UNSPLIT style is used when a splitter window is created, | |
13524 | the window may be unsplit even if minimum size is non-zero.</docstring> | |
f32fc4bc RD |
13525 | <paramlist> |
13526 | <param name="min" type="int" default=""/> | |
13527 | </paramlist> | |
13528 | </method> | |
13529 | <method name="GetMinimumPaneSize" type="int" overloaded="no"> | |
781d2982 | 13530 | <autodoc>GetMinimumPaneSize(self) -> int</autodoc> |
368d20e8 | 13531 | <docstring>Gets the minimum pane size in pixels.</docstring> |
f32fc4bc RD |
13532 | </method> |
13533 | <method name="SashHitTest" type="bool" overloaded="no"> | |
781d2982 | 13534 | <autodoc>SashHitTest(self, int x, int y, int tolerance=5) -> bool</autodoc> |
368d20e8 | 13535 | <docstring>Tests for x, y over the sash</docstring> |
f32fc4bc RD |
13536 | <paramlist> |
13537 | <param name="x" type="int" default=""/> | |
13538 | <param name="y" type="int" default=""/> | |
13539 | <param name="tolerance" type="int" default="5"/> | |
13540 | </paramlist> | |
13541 | </method> | |
13542 | <method name="SizeWindows" type="" overloaded="no"> | |
781d2982 | 13543 | <autodoc>SizeWindows(self)</autodoc> |
368d20e8 | 13544 | <docstring>Resizes subwindows</docstring> |
f32fc4bc RD |
13545 | </method> |
13546 | <method name="SetNeedUpdating" type="" overloaded="no"> | |
781d2982 | 13547 | <autodoc>SetNeedUpdating(self, bool needUpdating)</autodoc> |
f32fc4bc RD |
13548 | <paramlist> |
13549 | <param name="needUpdating" type="bool" default=""/> | |
13550 | </paramlist> | |
13551 | </method> | |
13552 | <method name="GetNeedUpdating" type="bool" overloaded="no"> | |
781d2982 | 13553 | <autodoc>GetNeedUpdating(self) -> bool</autodoc> |
f32fc4bc | 13554 | </method> |
781d2982 RD |
13555 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
13556 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
13557 | <docstring>Get the default attributes for this class. This is useful if you want | |
13558 | to use the same font or colour in your own control as in a standard | |
13559 | control -- which is a much better idea than hard coding specific | |
13560 | colours or fonts which might look completely out of place on the | |
13561 | user's system, especially if it uses themes. | |
13562 | ||
13563 | The variant parameter is only relevant under Mac currently and is | |
13564 | ignore under other platforms. Under Mac, it will change the size of | |
13565 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
13566 | this.</docstring> | |
13567 | <paramlist> | |
13568 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
13569 | </paramlist> | |
13570 | </staticmethod> | |
f32fc4bc | 13571 | </class> |
781d2982 | 13572 | <class name="SplitterEvent" oldname="wxSplitterEvent" module="_windows"> |
368d20e8 | 13573 | <docstring>This class represents the events generated by a splitter control.</docstring> |
f32fc4bc RD |
13574 | <baseclass name="NotifyEvent"/> |
13575 | <constructor name="SplitterEvent" overloaded="no"> | |
781d2982 | 13576 | <autodoc>__init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent</autodoc> |
368d20e8 | 13577 | <docstring>This class represents the events generated by a splitter control.</docstring> |
f32fc4bc RD |
13578 | <paramlist> |
13579 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
13580 | <param name="splitter" type="SplitterWindow" default="(wxSplitterWindow *) NULL"/> | |
13581 | </paramlist> | |
13582 | </constructor> | |
13583 | <method name="SetSashPosition" type="" overloaded="no"> | |
781d2982 RD |
13584 | <autodoc>SetSashPosition(self, int pos)</autodoc> |
13585 | <docstring>This funciton is only meaningful during EVT_SPLITTER_SASH_POS_CHANGING | |
13586 | and EVT_SPLITTER_SASH_POS_CHANGED events. In the case of _CHANGED | |
13587 | events, sets the the new sash position. In the case of _CHANGING | |
13588 | events, sets the new tracking bar position so visual feedback during | |
13589 | dragging will represent that change that will actually take place. Set | |
13590 | to -1 from the event handler code to prevent repositioning.</docstring> | |
f32fc4bc RD |
13591 | <paramlist> |
13592 | <param name="pos" type="int" default=""/> | |
13593 | </paramlist> | |
13594 | </method> | |
13595 | <method name="GetSashPosition" type="int" overloaded="no"> | |
781d2982 RD |
13596 | <autodoc>GetSashPosition(self) -> int</autodoc> |
13597 | <docstring>Returns the new sash position while in EVT_SPLITTER_SASH_POS_CHANGING | |
13598 | and EVT_SPLITTER_SASH_POS_CHANGED events.</docstring> | |
f32fc4bc RD |
13599 | </method> |
13600 | <method name="GetWindowBeingRemoved" type="Window" overloaded="no"> | |
781d2982 RD |
13601 | <autodoc>GetWindowBeingRemoved(self) -> Window</autodoc> |
13602 | <docstring>Returns a pointer to the window being removed when a splitter window | |
13603 | is unsplit.</docstring> | |
f32fc4bc RD |
13604 | </method> |
13605 | <method name="GetX" type="int" overloaded="no"> | |
781d2982 | 13606 | <autodoc>GetX(self) -> int</autodoc> |
368d20e8 RD |
13607 | <docstring>Returns the x coordinate of the double-click point in a |
13608 | EVT_SPLITTER_DCLICK event.</docstring> | |
f32fc4bc RD |
13609 | </method> |
13610 | <method name="GetY" type="int" overloaded="no"> | |
781d2982 | 13611 | <autodoc>GetY(self) -> int</autodoc> |
368d20e8 RD |
13612 | <docstring>Returns the y coordinate of the double-click point in a |
13613 | EVT_SPLITTER_DCLICK event.</docstring> | |
f32fc4bc RD |
13614 | </method> |
13615 | </class> | |
13616 | <pythoncode> | |
856bf319 RD |
13617 | EVT_SPLITTER_SASH_POS_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 1 ) |
13618 | EVT_SPLITTER_SASH_POS_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 1 ) | |
13619 | EVT_SPLITTER_DOUBLECLICKED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 1 ) | |
13620 | EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) | |
368d20e8 | 13621 | EVT_SPLITTER_DCLICK = EVT_SPLITTER_DOUBLECLICKED |
856bf319 | 13622 | </pythoncode> |
f32fc4bc | 13623 | <pythoncode> |
856bf319 RD |
13624 | #--------------------------------------------------------------------------- |
13625 | </pythoncode> | |
781d2982 | 13626 | <class name="SashWindow" oldname="wxSashWindow" module="_windows"> |
f32fc4bc RD |
13627 | <baseclass name="Window"/> |
13628 | <constructor name="SashWindow" overloaded="no"> | |
781d2982 RD |
13629 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
13630 | Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D, | |
856bf319 | 13631 | String name=SashNameStr) -> SashWindow</autodoc> |
f32fc4bc RD |
13632 | <paramlist> |
13633 | <param name="parent" type="Window" default=""/> | |
781d2982 | 13634 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
13635 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
13636 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13637 | <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/> | |
13638 | <param name="name" type="String" default="wxPySashNameStr"/> | |
13639 | </paramlist> | |
13640 | </constructor> | |
13641 | <constructor name="PreSashWindow" overloaded="no"> | |
13642 | <autodoc>PreSashWindow() -> SashWindow</autodoc> | |
13643 | </constructor> | |
13644 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
13645 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
13646 | Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D, | |
856bf319 | 13647 | String name=SashNameStr) -> bool</autodoc> |
f32fc4bc RD |
13648 | <paramlist> |
13649 | <param name="parent" type="Window" default=""/> | |
781d2982 | 13650 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
13651 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
13652 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13653 | <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/> | |
13654 | <param name="name" type="String" default="wxPySashNameStr"/> | |
13655 | </paramlist> | |
13656 | </method> | |
13657 | <method name="SetSashVisible" type="" overloaded="no"> | |
781d2982 | 13658 | <autodoc>SetSashVisible(self, int edge, bool sash)</autodoc> |
f32fc4bc RD |
13659 | <paramlist> |
13660 | <param name="edge" type="wxSashEdgePosition" default=""/> | |
13661 | <param name="sash" type="bool" default=""/> | |
13662 | </paramlist> | |
13663 | </method> | |
13664 | <method name="GetSashVisible" type="bool" overloaded="no"> | |
781d2982 | 13665 | <autodoc>GetSashVisible(self, int edge) -> bool</autodoc> |
f32fc4bc RD |
13666 | <paramlist> |
13667 | <param name="edge" type="wxSashEdgePosition" default=""/> | |
13668 | </paramlist> | |
13669 | </method> | |
13670 | <method name="SetSashBorder" type="" overloaded="no"> | |
781d2982 | 13671 | <autodoc>SetSashBorder(self, int edge, bool border)</autodoc> |
f32fc4bc RD |
13672 | <paramlist> |
13673 | <param name="edge" type="wxSashEdgePosition" default=""/> | |
13674 | <param name="border" type="bool" default=""/> | |
13675 | </paramlist> | |
13676 | </method> | |
13677 | <method name="HasBorder" type="bool" overloaded="no"> | |
781d2982 | 13678 | <autodoc>HasBorder(self, int edge) -> bool</autodoc> |
f32fc4bc RD |
13679 | <paramlist> |
13680 | <param name="edge" type="wxSashEdgePosition" default=""/> | |
13681 | </paramlist> | |
13682 | </method> | |
13683 | <method name="GetEdgeMargin" type="int" overloaded="no"> | |
781d2982 | 13684 | <autodoc>GetEdgeMargin(self, int edge) -> int</autodoc> |
f32fc4bc RD |
13685 | <paramlist> |
13686 | <param name="edge" type="wxSashEdgePosition" default=""/> | |
13687 | </paramlist> | |
13688 | </method> | |
13689 | <method name="SetDefaultBorderSize" type="" overloaded="no"> | |
781d2982 | 13690 | <autodoc>SetDefaultBorderSize(self, int width)</autodoc> |
f32fc4bc RD |
13691 | <paramlist> |
13692 | <param name="width" type="int" default=""/> | |
13693 | </paramlist> | |
13694 | </method> | |
13695 | <method name="GetDefaultBorderSize" type="int" overloaded="no"> | |
781d2982 | 13696 | <autodoc>GetDefaultBorderSize(self) -> int</autodoc> |
f32fc4bc RD |
13697 | </method> |
13698 | <method name="SetExtraBorderSize" type="" overloaded="no"> | |
781d2982 | 13699 | <autodoc>SetExtraBorderSize(self, int width)</autodoc> |
f32fc4bc RD |
13700 | <paramlist> |
13701 | <param name="width" type="int" default=""/> | |
13702 | </paramlist> | |
13703 | </method> | |
13704 | <method name="GetExtraBorderSize" type="int" overloaded="no"> | |
781d2982 | 13705 | <autodoc>GetExtraBorderSize(self) -> int</autodoc> |
f32fc4bc RD |
13706 | </method> |
13707 | <method name="SetMinimumSizeX" type="" overloaded="no"> | |
781d2982 | 13708 | <autodoc>SetMinimumSizeX(self, int min)</autodoc> |
f32fc4bc RD |
13709 | <paramlist> |
13710 | <param name="min" type="int" default=""/> | |
13711 | </paramlist> | |
13712 | </method> | |
13713 | <method name="SetMinimumSizeY" type="" overloaded="no"> | |
781d2982 | 13714 | <autodoc>SetMinimumSizeY(self, int min)</autodoc> |
f32fc4bc RD |
13715 | <paramlist> |
13716 | <param name="min" type="int" default=""/> | |
13717 | </paramlist> | |
13718 | </method> | |
13719 | <method name="GetMinimumSizeX" type="int" overloaded="no"> | |
781d2982 | 13720 | <autodoc>GetMinimumSizeX(self) -> int</autodoc> |
f32fc4bc RD |
13721 | </method> |
13722 | <method name="GetMinimumSizeY" type="int" overloaded="no"> | |
781d2982 | 13723 | <autodoc>GetMinimumSizeY(self) -> int</autodoc> |
f32fc4bc RD |
13724 | </method> |
13725 | <method name="SetMaximumSizeX" type="" overloaded="no"> | |
781d2982 | 13726 | <autodoc>SetMaximumSizeX(self, int max)</autodoc> |
f32fc4bc RD |
13727 | <paramlist> |
13728 | <param name="max" type="int" default=""/> | |
13729 | </paramlist> | |
13730 | </method> | |
13731 | <method name="SetMaximumSizeY" type="" overloaded="no"> | |
781d2982 | 13732 | <autodoc>SetMaximumSizeY(self, int max)</autodoc> |
f32fc4bc RD |
13733 | <paramlist> |
13734 | <param name="max" type="int" default=""/> | |
13735 | </paramlist> | |
13736 | </method> | |
13737 | <method name="GetMaximumSizeX" type="int" overloaded="no"> | |
781d2982 | 13738 | <autodoc>GetMaximumSizeX(self) -> int</autodoc> |
f32fc4bc RD |
13739 | </method> |
13740 | <method name="GetMaximumSizeY" type="int" overloaded="no"> | |
781d2982 | 13741 | <autodoc>GetMaximumSizeY(self) -> int</autodoc> |
f32fc4bc RD |
13742 | </method> |
13743 | <method name="SashHitTest" type="wxSashEdgePosition" overloaded="no"> | |
781d2982 | 13744 | <autodoc>SashHitTest(self, int x, int y, int tolerance=2) -> int</autodoc> |
f32fc4bc RD |
13745 | <paramlist> |
13746 | <param name="x" type="int" default=""/> | |
13747 | <param name="y" type="int" default=""/> | |
13748 | <param name="tolerance" type="int" default="2"/> | |
13749 | </paramlist> | |
13750 | </method> | |
13751 | <method name="SizeWindows" type="" overloaded="no"> | |
781d2982 | 13752 | <autodoc>SizeWindows(self)</autodoc> |
f32fc4bc RD |
13753 | </method> |
13754 | </class> | |
781d2982 | 13755 | <class name="SashEvent" oldname="wxSashEvent" module="_windows"> |
f32fc4bc RD |
13756 | <baseclass name="CommandEvent"/> |
13757 | <constructor name="SashEvent" overloaded="no"> | |
781d2982 | 13758 | <autodoc>__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent</autodoc> |
f32fc4bc RD |
13759 | <paramlist> |
13760 | <param name="id" type="int" default="0"/> | |
13761 | <param name="edge" type="wxSashEdgePosition" default="wxSASH_NONE"/> | |
13762 | </paramlist> | |
13763 | </constructor> | |
13764 | <method name="SetEdge" type="" overloaded="no"> | |
781d2982 | 13765 | <autodoc>SetEdge(self, int edge)</autodoc> |
f32fc4bc RD |
13766 | <paramlist> |
13767 | <param name="edge" type="wxSashEdgePosition" default=""/> | |
13768 | </paramlist> | |
13769 | </method> | |
13770 | <method name="GetEdge" type="wxSashEdgePosition" overloaded="no"> | |
781d2982 | 13771 | <autodoc>GetEdge(self) -> int</autodoc> |
f32fc4bc RD |
13772 | </method> |
13773 | <method name="SetDragRect" type="" overloaded="no"> | |
781d2982 | 13774 | <autodoc>SetDragRect(self, Rect rect)</autodoc> |
f32fc4bc RD |
13775 | <paramlist> |
13776 | <param name="rect" type="Rect" default=""/> | |
13777 | </paramlist> | |
13778 | </method> | |
13779 | <method name="GetDragRect" type="Rect" overloaded="no"> | |
781d2982 | 13780 | <autodoc>GetDragRect(self) -> Rect</autodoc> |
f32fc4bc RD |
13781 | </method> |
13782 | <method name="SetDragStatus" type="" overloaded="no"> | |
781d2982 | 13783 | <autodoc>SetDragStatus(self, int status)</autodoc> |
f32fc4bc RD |
13784 | <paramlist> |
13785 | <param name="status" type="wxSashDragStatus" default=""/> | |
13786 | </paramlist> | |
13787 | </method> | |
13788 | <method name="GetDragStatus" type="wxSashDragStatus" overloaded="no"> | |
781d2982 | 13789 | <autodoc>GetDragStatus(self) -> int</autodoc> |
f32fc4bc RD |
13790 | </method> |
13791 | </class> | |
13792 | <pythoncode> | |
856bf319 RD |
13793 | EVT_SASH_DRAGGED = wx.PyEventBinder( wxEVT_SASH_DRAGGED, 1 ) |
13794 | EVT_SASH_DRAGGED_RANGE = wx.PyEventBinder( wxEVT_SASH_DRAGGED, 2 ) | |
13795 | </pythoncode> | |
f32fc4bc | 13796 | <pythoncode> |
856bf319 RD |
13797 | #--------------------------------------------------------------------------- |
13798 | </pythoncode> | |
781d2982 | 13799 | <class name="QueryLayoutInfoEvent" oldname="wxQueryLayoutInfoEvent" module="_windows"> |
f32fc4bc RD |
13800 | <baseclass name="Event"/> |
13801 | <constructor name="QueryLayoutInfoEvent" overloaded="no"> | |
781d2982 | 13802 | <autodoc>__init__(self, int id=0) -> QueryLayoutInfoEvent</autodoc> |
f32fc4bc RD |
13803 | <paramlist> |
13804 | <param name="id" type="int" default="0"/> | |
13805 | </paramlist> | |
13806 | </constructor> | |
13807 | <method name="SetRequestedLength" type="" overloaded="no"> | |
781d2982 | 13808 | <autodoc>SetRequestedLength(self, int length)</autodoc> |
f32fc4bc RD |
13809 | <paramlist> |
13810 | <param name="length" type="int" default=""/> | |
13811 | </paramlist> | |
13812 | </method> | |
13813 | <method name="GetRequestedLength" type="int" overloaded="no"> | |
781d2982 | 13814 | <autodoc>GetRequestedLength(self) -> int</autodoc> |
f32fc4bc RD |
13815 | </method> |
13816 | <method name="SetFlags" type="" overloaded="no"> | |
781d2982 | 13817 | <autodoc>SetFlags(self, int flags)</autodoc> |
f32fc4bc RD |
13818 | <paramlist> |
13819 | <param name="flags" type="int" default=""/> | |
13820 | </paramlist> | |
13821 | </method> | |
13822 | <method name="GetFlags" type="int" overloaded="no"> | |
781d2982 | 13823 | <autodoc>GetFlags(self) -> int</autodoc> |
f32fc4bc RD |
13824 | </method> |
13825 | <method name="SetSize" type="" overloaded="no"> | |
781d2982 | 13826 | <autodoc>SetSize(self, Size size)</autodoc> |
f32fc4bc RD |
13827 | <paramlist> |
13828 | <param name="size" type="Size" default=""/> | |
13829 | </paramlist> | |
13830 | </method> | |
13831 | <method name="GetSize" type="Size" overloaded="no"> | |
781d2982 | 13832 | <autodoc>GetSize(self) -> Size</autodoc> |
f32fc4bc RD |
13833 | </method> |
13834 | <method name="SetOrientation" type="" overloaded="no"> | |
781d2982 | 13835 | <autodoc>SetOrientation(self, int orient)</autodoc> |
f32fc4bc RD |
13836 | <paramlist> |
13837 | <param name="orient" type="wxLayoutOrientation" default=""/> | |
13838 | </paramlist> | |
13839 | </method> | |
13840 | <method name="GetOrientation" type="wxLayoutOrientation" overloaded="no"> | |
781d2982 | 13841 | <autodoc>GetOrientation(self) -> int</autodoc> |
f32fc4bc RD |
13842 | </method> |
13843 | <method name="SetAlignment" type="" overloaded="no"> | |
781d2982 | 13844 | <autodoc>SetAlignment(self, int align)</autodoc> |
f32fc4bc RD |
13845 | <paramlist> |
13846 | <param name="align" type="wxLayoutAlignment" default=""/> | |
13847 | </paramlist> | |
13848 | </method> | |
13849 | <method name="GetAlignment" type="wxLayoutAlignment" overloaded="no"> | |
781d2982 | 13850 | <autodoc>GetAlignment(self) -> int</autodoc> |
f32fc4bc RD |
13851 | </method> |
13852 | </class> | |
781d2982 | 13853 | <class name="CalculateLayoutEvent" oldname="wxCalculateLayoutEvent" module="_windows"> |
f32fc4bc RD |
13854 | <baseclass name="Event"/> |
13855 | <constructor name="CalculateLayoutEvent" overloaded="no"> | |
781d2982 | 13856 | <autodoc>__init__(self, int id=0) -> CalculateLayoutEvent</autodoc> |
f32fc4bc RD |
13857 | <paramlist> |
13858 | <param name="id" type="int" default="0"/> | |
13859 | </paramlist> | |
13860 | </constructor> | |
13861 | <method name="SetFlags" type="" overloaded="no"> | |
781d2982 | 13862 | <autodoc>SetFlags(self, int flags)</autodoc> |
f32fc4bc RD |
13863 | <paramlist> |
13864 | <param name="flags" type="int" default=""/> | |
13865 | </paramlist> | |
13866 | </method> | |
13867 | <method name="GetFlags" type="int" overloaded="no"> | |
781d2982 | 13868 | <autodoc>GetFlags(self) -> int</autodoc> |
f32fc4bc RD |
13869 | </method> |
13870 | <method name="SetRect" type="" overloaded="no"> | |
781d2982 | 13871 | <autodoc>SetRect(self, Rect rect)</autodoc> |
f32fc4bc RD |
13872 | <paramlist> |
13873 | <param name="rect" type="Rect" default=""/> | |
13874 | </paramlist> | |
13875 | </method> | |
13876 | <method name="GetRect" type="Rect" overloaded="no"> | |
781d2982 | 13877 | <autodoc>GetRect(self) -> Rect</autodoc> |
f32fc4bc RD |
13878 | </method> |
13879 | </class> | |
13880 | <pythoncode> | |
856bf319 RD |
13881 | EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO ) |
13882 | EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT ) | |
13883 | </pythoncode> | |
781d2982 | 13884 | <class name="SashLayoutWindow" oldname="wxSashLayoutWindow" module="_windows"> |
f32fc4bc RD |
13885 | <baseclass name="SashWindow"/> |
13886 | <constructor name="SashLayoutWindow" overloaded="no"> | |
781d2982 RD |
13887 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
13888 | Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D, | |
856bf319 | 13889 | String name=SashLayoutNameStr) -> SashLayoutWindow</autodoc> |
f32fc4bc RD |
13890 | <paramlist> |
13891 | <param name="parent" type="Window" default=""/> | |
781d2982 | 13892 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
13893 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
13894 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13895 | <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/> | |
13896 | <param name="name" type="String" default="wxPySashLayoutNameStr"/> | |
13897 | </paramlist> | |
13898 | </constructor> | |
13899 | <constructor name="PreSashLayoutWindow" overloaded="no"> | |
13900 | <autodoc>PreSashLayoutWindow() -> SashLayoutWindow</autodoc> | |
13901 | </constructor> | |
13902 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
13903 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
13904 | Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D, | |
856bf319 | 13905 | String name=SashLayoutNameStr) -> bool</autodoc> |
f32fc4bc RD |
13906 | <paramlist> |
13907 | <param name="parent" type="Window" default=""/> | |
781d2982 | 13908 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
13909 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
13910 | <param name="size" type="Size" default="wxDefaultSize"/> | |
13911 | <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/> | |
13912 | <param name="name" type="String" default="wxPySashLayoutNameStr"/> | |
13913 | </paramlist> | |
13914 | </method> | |
13915 | <method name="GetAlignment" type="wxLayoutAlignment" overloaded="no"> | |
781d2982 | 13916 | <autodoc>GetAlignment(self) -> int</autodoc> |
f32fc4bc RD |
13917 | </method> |
13918 | <method name="GetOrientation" type="wxLayoutOrientation" overloaded="no"> | |
781d2982 | 13919 | <autodoc>GetOrientation(self) -> int</autodoc> |
f32fc4bc RD |
13920 | </method> |
13921 | <method name="SetAlignment" type="" overloaded="no"> | |
781d2982 | 13922 | <autodoc>SetAlignment(self, int alignment)</autodoc> |
f32fc4bc RD |
13923 | <paramlist> |
13924 | <param name="alignment" type="wxLayoutAlignment" default=""/> | |
13925 | </paramlist> | |
13926 | </method> | |
13927 | <method name="SetDefaultSize" type="" overloaded="no"> | |
781d2982 | 13928 | <autodoc>SetDefaultSize(self, Size size)</autodoc> |
f32fc4bc RD |
13929 | <paramlist> |
13930 | <param name="size" type="Size" default=""/> | |
13931 | </paramlist> | |
13932 | </method> | |
13933 | <method name="SetOrientation" type="" overloaded="no"> | |
781d2982 | 13934 | <autodoc>SetOrientation(self, int orientation)</autodoc> |
f32fc4bc RD |
13935 | <paramlist> |
13936 | <param name="orientation" type="wxLayoutOrientation" default=""/> | |
13937 | </paramlist> | |
13938 | </method> | |
13939 | </class> | |
781d2982 | 13940 | <class name="LayoutAlgorithm" oldname="wxLayoutAlgorithm" module="_windows"> |
f32fc4bc RD |
13941 | <baseclass name="Object"/> |
13942 | <constructor name="LayoutAlgorithm" overloaded="no"> | |
781d2982 | 13943 | <autodoc>__init__(self) -> LayoutAlgorithm</autodoc> |
f32fc4bc RD |
13944 | </constructor> |
13945 | <destructor name="~wxLayoutAlgorithm" overloaded="no"> | |
781d2982 | 13946 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
13947 | </destructor> |
13948 | <method name="LayoutMDIFrame" type="bool" overloaded="no"> | |
781d2982 | 13949 | <autodoc>LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool</autodoc> |
f32fc4bc RD |
13950 | <paramlist> |
13951 | <param name="frame" type="wxMDIParentFrame" default=""/> | |
13952 | <param name="rect" type="Rect" default="NULL"/> | |
13953 | </paramlist> | |
13954 | </method> | |
13955 | <method name="LayoutFrame" type="bool" overloaded="no"> | |
781d2982 | 13956 | <autodoc>LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool</autodoc> |
f32fc4bc RD |
13957 | <paramlist> |
13958 | <param name="frame" type="Frame" default=""/> | |
13959 | <param name="mainWindow" type="Window" default="NULL"/> | |
13960 | </paramlist> | |
13961 | </method> | |
13962 | <method name="LayoutWindow" type="bool" overloaded="no"> | |
781d2982 | 13963 | <autodoc>LayoutWindow(self, Window parent, Window mainWindow=None) -> bool</autodoc> |
f32fc4bc RD |
13964 | <paramlist> |
13965 | <param name="parent" type="Window" default=""/> | |
13966 | <param name="mainWindow" type="Window" default="NULL"/> | |
13967 | </paramlist> | |
13968 | </method> | |
13969 | </class> | |
13970 | <pythoncode> | |
856bf319 RD |
13971 | #--------------------------------------------------------------------------- |
13972 | </pythoncode> | |
781d2982 | 13973 | <class name="PopupWindow" oldname="wxPopupWindow" module="_windows"> |
f32fc4bc RD |
13974 | <baseclass name="Window"/> |
13975 | <constructor name="PopupWindow" overloaded="no"> | |
781d2982 | 13976 | <autodoc>__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow</autodoc> |
f32fc4bc RD |
13977 | <paramlist> |
13978 | <param name="parent" type="Window" default=""/> | |
13979 | <param name="flags" type="int" default="wxBORDER_NONE"/> | |
13980 | </paramlist> | |
13981 | </constructor> | |
13982 | <constructor name="PrePopupWindow" overloaded="no"> | |
13983 | <autodoc>PrePopupWindow() -> PopupWindow</autodoc> | |
13984 | </constructor> | |
13985 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 13986 | <autodoc>Create(self, Window parent, int flags=BORDER_NONE) -> bool</autodoc> |
f32fc4bc RD |
13987 | <paramlist> |
13988 | <param name="parent" type="Window" default=""/> | |
13989 | <param name="flags" type="int" default="wxBORDER_NONE"/> | |
13990 | </paramlist> | |
13991 | </method> | |
13992 | <method name="Position" type="" overloaded="no"> | |
781d2982 | 13993 | <autodoc>Position(self, Point ptOrigin, Size size)</autodoc> |
f32fc4bc RD |
13994 | <paramlist> |
13995 | <param name="ptOrigin" type="Point" default=""/> | |
13996 | <param name="size" type="Size" default=""/> | |
13997 | </paramlist> | |
13998 | </method> | |
13999 | </class> | |
14000 | <pythoncode> | |
856bf319 RD |
14001 | #--------------------------------------------------------------------------- |
14002 | </pythoncode> | |
781d2982 | 14003 | <class name="PopupTransientWindow" oldname="wxPyPopupTransientWindow" module="_windows"> |
f32fc4bc RD |
14004 | <baseclass name="PopupWindow"/> |
14005 | <constructor name="wxPyPopupTransientWindow" overloaded="no"> | |
781d2982 | 14006 | <autodoc>__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow</autodoc> |
f32fc4bc RD |
14007 | <paramlist> |
14008 | <param name="parent" type="Window" default=""/> | |
14009 | <param name="style" type="int" default="wxBORDER_NONE"/> | |
14010 | </paramlist> | |
14011 | </constructor> | |
14012 | <constructor name="PrePopupTransientWindow" overloaded="no"> | |
14013 | <autodoc>PrePopupTransientWindow() -> PopupTransientWindow</autodoc> | |
14014 | </constructor> | |
14015 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 14016 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
14017 | <paramlist> |
14018 | <param name="self" type="PyObject" default=""/> | |
14019 | <param name="_class" type="PyObject" default=""/> | |
14020 | </paramlist> | |
14021 | </method> | |
14022 | <method name="Popup" type="" overloaded="no"> | |
781d2982 | 14023 | <autodoc>Popup(self, Window focus=None)</autodoc> |
f32fc4bc RD |
14024 | <paramlist> |
14025 | <param name="focus" type="Window" default="NULL"/> | |
14026 | </paramlist> | |
14027 | </method> | |
14028 | <method name="Dismiss" type="" overloaded="no"> | |
781d2982 | 14029 | <autodoc>Dismiss(self)</autodoc> |
f32fc4bc RD |
14030 | </method> |
14031 | </class> | |
14032 | <pythoncode> | |
856bf319 RD |
14033 | #--------------------------------------------------------------------------- |
14034 | </pythoncode> | |
781d2982 | 14035 | <class name="TipWindow" oldname="wxTipWindow" module="_windows"> |
f32fc4bc RD |
14036 | <baseclass name="PopupTransientWindow"/> |
14037 | <constructor name="TipWindow" overloaded="no"> | |
781d2982 | 14038 | <autodoc>__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow</autodoc> |
f32fc4bc RD |
14039 | <paramlist> |
14040 | <param name="parent" type="Window" default=""/> | |
14041 | <param name="text" type="String" default=""/> | |
14042 | <param name="maxLength" type="int" default="100"/> | |
14043 | <param name="rectBound" type="Rect" default="NULL"/> | |
14044 | </paramlist> | |
14045 | </constructor> | |
14046 | <method name="SetBoundingRect" type="" overloaded="no"> | |
781d2982 | 14047 | <autodoc>SetBoundingRect(self, Rect rectBound)</autodoc> |
f32fc4bc RD |
14048 | <paramlist> |
14049 | <param name="rectBound" type="Rect" default=""/> | |
14050 | </paramlist> | |
14051 | </method> | |
14052 | <method name="Close" type="" overloaded="no"> | |
781d2982 | 14053 | <autodoc>Close(self)</autodoc> |
f32fc4bc RD |
14054 | </method> |
14055 | </class> | |
14056 | <pythoncode> | |
856bf319 RD |
14057 | #--------------------------------------------------------------------------- |
14058 | </pythoncode> | |
781d2982 | 14059 | <class name="VScrolledWindow" oldname="wxPyVScrolledWindow" module="_windows"> |
f32fc4bc RD |
14060 | <baseclass name="Panel"/> |
14061 | <constructor name="wxPyVScrolledWindow" overloaded="no"> | |
781d2982 | 14062 | <autodoc>__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, |
856bf319 | 14063 | Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow</autodoc> |
f32fc4bc RD |
14064 | <paramlist> |
14065 | <param name="parent" type="Window" default=""/> | |
14066 | <param name="id" type="int" default="wxID_ANY"/> | |
14067 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14068 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14069 | <param name="style" type="long" default="0"/> | |
14070 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
14071 | </paramlist> | |
14072 | </constructor> | |
14073 | <constructor name="PreVScrolledWindow" overloaded="no"> | |
14074 | <autodoc>PreVScrolledWindow() -> VScrolledWindow</autodoc> | |
14075 | </constructor> | |
14076 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 14077 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
14078 | <paramlist> |
14079 | <param name="self" type="PyObject" default=""/> | |
14080 | <param name="_class" type="PyObject" default=""/> | |
14081 | </paramlist> | |
14082 | </method> | |
14083 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 14084 | <autodoc>Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, |
856bf319 | 14085 | Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool</autodoc> |
f32fc4bc RD |
14086 | <paramlist> |
14087 | <param name="parent" type="Window" default=""/> | |
14088 | <param name="id" type="int" default="wxID_ANY"/> | |
14089 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14090 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14091 | <param name="style" type="long" default="0"/> | |
14092 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
14093 | </paramlist> | |
14094 | </method> | |
14095 | <method name="SetLineCount" type="" overloaded="no"> | |
781d2982 | 14096 | <autodoc>SetLineCount(self, size_t count)</autodoc> |
f32fc4bc RD |
14097 | <paramlist> |
14098 | <param name="count" type="size_t" default=""/> | |
14099 | </paramlist> | |
14100 | </method> | |
14101 | <method name="ScrollToLine" type="bool" overloaded="no"> | |
781d2982 | 14102 | <autodoc>ScrollToLine(self, size_t line) -> bool</autodoc> |
f32fc4bc RD |
14103 | <paramlist> |
14104 | <param name="line" type="size_t" default=""/> | |
14105 | </paramlist> | |
14106 | </method> | |
14107 | <method name="ScrollLines" type="bool" overloaded="no"> | |
781d2982 | 14108 | <autodoc>ScrollLines(self, int lines) -> bool</autodoc> |
0190c472 RD |
14109 | <docstring>If the platform and window class supports it, scrolls the window by |
14110 | the given number of lines down, if lines is positive, or up if lines | |
14111 | is negative. Returns True if the window was scrolled, False if it was | |
14112 | already on top/bottom and nothing was done.</docstring> | |
f32fc4bc RD |
14113 | <paramlist> |
14114 | <param name="lines" type="int" default=""/> | |
14115 | </paramlist> | |
14116 | </method> | |
14117 | <method name="ScrollPages" type="bool" overloaded="no"> | |
781d2982 RD |
14118 | <autodoc>ScrollPages(self, int pages) -> bool</autodoc> |
14119 | <docstring>If the platform and window class supports it, scrolls the window by | |
c2dda882 RD |
14120 | the given number of pages down, if pages is positive, or up if pages |
14121 | is negative. Returns True if the window was scrolled, False if it was | |
14122 | already on top/bottom and nothing was done.</docstring> | |
f32fc4bc RD |
14123 | <paramlist> |
14124 | <param name="pages" type="int" default=""/> | |
14125 | </paramlist> | |
14126 | </method> | |
14127 | <method name="RefreshLine" type="" overloaded="no"> | |
781d2982 | 14128 | <autodoc>RefreshLine(self, size_t line)</autodoc> |
f32fc4bc RD |
14129 | <paramlist> |
14130 | <param name="line" type="size_t" default=""/> | |
14131 | </paramlist> | |
14132 | </method> | |
14133 | <method name="RefreshLines" type="" overloaded="no"> | |
781d2982 | 14134 | <autodoc>RefreshLines(self, size_t from, size_t to)</autodoc> |
f32fc4bc RD |
14135 | <paramlist> |
14136 | <param name="from" type="size_t" default=""/> | |
14137 | <param name="to" type="size_t" default=""/> | |
14138 | </paramlist> | |
14139 | </method> | |
ce6878e6 RD |
14140 | <method name="HitTestXY" type="int" overloaded="no"> |
14141 | <autodoc>HitTestXY(self, int x, int y) -> int</autodoc> | |
c2dda882 | 14142 | <docstring>Test where the given (in client coords) point lies</docstring> |
f32fc4bc RD |
14143 | <paramlist> |
14144 | <param name="x" type="int" default=""/> | |
14145 | <param name="y" type="int" default=""/> | |
14146 | </paramlist> | |
14147 | </method> | |
14148 | <method name="HitTest" type="int" overloaded="no"> | |
781d2982 | 14149 | <autodoc>HitTest(self, Point pt) -> int</autodoc> |
c2dda882 | 14150 | <docstring>Test where the given (in client coords) point lies</docstring> |
f32fc4bc RD |
14151 | <paramlist> |
14152 | <param name="pt" type="Point" default=""/> | |
14153 | </paramlist> | |
14154 | </method> | |
14155 | <method name="RefreshAll" type="" overloaded="no"> | |
781d2982 | 14156 | <autodoc>RefreshAll(self)</autodoc> |
f32fc4bc RD |
14157 | </method> |
14158 | <method name="GetLineCount" type="size_t" overloaded="no"> | |
781d2982 | 14159 | <autodoc>GetLineCount(self) -> size_t</autodoc> |
f32fc4bc RD |
14160 | </method> |
14161 | <method name="GetFirstVisibleLine" type="size_t" overloaded="no"> | |
781d2982 | 14162 | <autodoc>GetFirstVisibleLine(self) -> size_t</autodoc> |
f32fc4bc RD |
14163 | </method> |
14164 | <method name="GetLastVisibleLine" type="size_t" overloaded="no"> | |
781d2982 | 14165 | <autodoc>GetLastVisibleLine(self) -> size_t</autodoc> |
f32fc4bc RD |
14166 | </method> |
14167 | <method name="IsVisible" type="bool" overloaded="no"> | |
781d2982 | 14168 | <autodoc>IsVisible(self, size_t line) -> bool</autodoc> |
f32fc4bc RD |
14169 | <paramlist> |
14170 | <param name="line" type="size_t" default=""/> | |
14171 | </paramlist> | |
14172 | </method> | |
14173 | </class> | |
781d2982 | 14174 | <class name="VListBox" oldname="wxPyVListBox" module="_windows"> |
f32fc4bc RD |
14175 | <baseclass name="VScrolledWindow"/> |
14176 | <constructor name="wxPyVListBox" overloaded="no"> | |
781d2982 | 14177 | <autodoc>__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, |
856bf319 | 14178 | Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox</autodoc> |
f32fc4bc RD |
14179 | <paramlist> |
14180 | <param name="parent" type="Window" default=""/> | |
14181 | <param name="id" type="int" default="wxID_ANY"/> | |
14182 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14183 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14184 | <param name="style" type="long" default="0"/> | |
14185 | <param name="name" type="String" default="wxPyVListBoxNameStr"/> | |
14186 | </paramlist> | |
14187 | </constructor> | |
14188 | <constructor name="PreVListBox" overloaded="no"> | |
14189 | <autodoc>PreVListBox() -> VListBox</autodoc> | |
14190 | </constructor> | |
14191 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 14192 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
14193 | <paramlist> |
14194 | <param name="self" type="PyObject" default=""/> | |
14195 | <param name="_class" type="PyObject" default=""/> | |
14196 | </paramlist> | |
14197 | </method> | |
14198 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 14199 | <autodoc>Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, |
856bf319 | 14200 | Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool</autodoc> |
f32fc4bc RD |
14201 | <paramlist> |
14202 | <param name="parent" type="Window" default=""/> | |
14203 | <param name="id" type="int" default="wxID_ANY"/> | |
14204 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14205 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14206 | <param name="style" type="long" default="0"/> | |
14207 | <param name="name" type="String" default="wxPyVListBoxNameStr"/> | |
14208 | </paramlist> | |
14209 | </method> | |
14210 | <method name="GetItemCount" type="size_t" overloaded="no"> | |
781d2982 | 14211 | <autodoc>GetItemCount(self) -> size_t</autodoc> |
f32fc4bc RD |
14212 | </method> |
14213 | <method name="HasMultipleSelection" type="bool" overloaded="no"> | |
781d2982 | 14214 | <autodoc>HasMultipleSelection(self) -> bool</autodoc> |
f32fc4bc RD |
14215 | </method> |
14216 | <method name="GetSelection" type="int" overloaded="no"> | |
781d2982 | 14217 | <autodoc>GetSelection(self) -> int</autodoc> |
f32fc4bc RD |
14218 | </method> |
14219 | <method name="IsCurrent" type="bool" overloaded="no"> | |
781d2982 | 14220 | <autodoc>IsCurrent(self, size_t item) -> bool</autodoc> |
f32fc4bc RD |
14221 | <paramlist> |
14222 | <param name="item" type="size_t" default=""/> | |
14223 | </paramlist> | |
14224 | </method> | |
14225 | <method name="IsSelected" type="bool" overloaded="no"> | |
781d2982 | 14226 | <autodoc>IsSelected(self, size_t item) -> bool</autodoc> |
f32fc4bc RD |
14227 | <paramlist> |
14228 | <param name="item" type="size_t" default=""/> | |
14229 | </paramlist> | |
14230 | </method> | |
14231 | <method name="GetSelectedCount" type="size_t" overloaded="no"> | |
781d2982 | 14232 | <autodoc>GetSelectedCount(self) -> size_t</autodoc> |
f32fc4bc | 14233 | </method> |
781d2982 RD |
14234 | <method name="GetFirstSelected" type="PyObject" overloaded="no"> |
14235 | <autodoc>GetFirstSelected(self) -> PyObject</autodoc> | |
f32fc4bc | 14236 | </method> |
781d2982 RD |
14237 | <method name="GetNextSelected" type="PyObject" overloaded="no"> |
14238 | <autodoc>GetNextSelected(self, unsigned long cookie) -> PyObject</autodoc> | |
f32fc4bc RD |
14239 | <paramlist> |
14240 | <param name="cookie" type="unsigned long" default=""/> | |
14241 | </paramlist> | |
14242 | </method> | |
14243 | <method name="GetMargins" type="Point" overloaded="no"> | |
781d2982 | 14244 | <autodoc>GetMargins(self) -> Point</autodoc> |
f32fc4bc RD |
14245 | </method> |
14246 | <method name="GetSelectionBackground" type="Colour" overloaded="no"> | |
781d2982 | 14247 | <autodoc>GetSelectionBackground(self) -> Colour</autodoc> |
f32fc4bc RD |
14248 | </method> |
14249 | <method name="SetItemCount" type="" overloaded="no"> | |
781d2982 | 14250 | <autodoc>SetItemCount(self, size_t count)</autodoc> |
f32fc4bc RD |
14251 | <paramlist> |
14252 | <param name="count" type="size_t" default=""/> | |
14253 | </paramlist> | |
14254 | </method> | |
14255 | <method name="Clear" type="" overloaded="no"> | |
781d2982 | 14256 | <autodoc>Clear(self)</autodoc> |
f32fc4bc RD |
14257 | </method> |
14258 | <method name="SetSelection" type="" overloaded="no"> | |
781d2982 | 14259 | <autodoc>SetSelection(self, int selection)</autodoc> |
f32fc4bc RD |
14260 | <paramlist> |
14261 | <param name="selection" type="int" default=""/> | |
14262 | </paramlist> | |
14263 | </method> | |
14264 | <method name="Select" type="bool" overloaded="no"> | |
781d2982 | 14265 | <autodoc>Select(self, size_t item, bool select=True) -> bool</autodoc> |
f32fc4bc RD |
14266 | <paramlist> |
14267 | <param name="item" type="size_t" default=""/> | |
14268 | <param name="select" type="bool" default="True"/> | |
14269 | </paramlist> | |
14270 | </method> | |
14271 | <method name="SelectRange" type="bool" overloaded="no"> | |
781d2982 | 14272 | <autodoc>SelectRange(self, size_t from, size_t to) -> bool</autodoc> |
f32fc4bc RD |
14273 | <paramlist> |
14274 | <param name="from" type="size_t" default=""/> | |
14275 | <param name="to" type="size_t" default=""/> | |
14276 | </paramlist> | |
14277 | </method> | |
14278 | <method name="Toggle" type="" overloaded="no"> | |
781d2982 | 14279 | <autodoc>Toggle(self, size_t item)</autodoc> |
f32fc4bc RD |
14280 | <paramlist> |
14281 | <param name="item" type="size_t" default=""/> | |
14282 | </paramlist> | |
14283 | </method> | |
14284 | <method name="SelectAll" type="bool" overloaded="no"> | |
781d2982 | 14285 | <autodoc>SelectAll(self) -> bool</autodoc> |
f32fc4bc RD |
14286 | </method> |
14287 | <method name="DeselectAll" type="bool" overloaded="no"> | |
781d2982 | 14288 | <autodoc>DeselectAll(self) -> bool</autodoc> |
f32fc4bc RD |
14289 | </method> |
14290 | <method name="SetMargins" type="" overloaded="no"> | |
781d2982 | 14291 | <autodoc>SetMargins(self, Point pt)</autodoc> |
f32fc4bc RD |
14292 | <paramlist> |
14293 | <param name="pt" type="Point" default=""/> | |
14294 | </paramlist> | |
14295 | </method> | |
14296 | <method name="SetMarginsXY" type="" overloaded="no"> | |
781d2982 | 14297 | <autodoc>SetMarginsXY(self, int x, int y)</autodoc> |
f32fc4bc RD |
14298 | <paramlist> |
14299 | <param name="x" type="int" default=""/> | |
14300 | <param name="y" type="int" default=""/> | |
14301 | </paramlist> | |
14302 | </method> | |
14303 | <method name="SetSelectionBackground" type="" overloaded="no"> | |
781d2982 | 14304 | <autodoc>SetSelectionBackground(self, Colour col)</autodoc> |
f32fc4bc RD |
14305 | <paramlist> |
14306 | <param name="col" type="Colour" default=""/> | |
14307 | </paramlist> | |
14308 | </method> | |
14309 | </class> | |
781d2982 | 14310 | <class name="HtmlListBox" oldname="wxPyHtmlListBox" module="_windows"> |
f32fc4bc RD |
14311 | <baseclass name="VListBox"/> |
14312 | <constructor name="wxPyHtmlListBox" overloaded="no"> | |
781d2982 | 14313 | <autodoc>__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, |
856bf319 | 14314 | Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox</autodoc> |
f32fc4bc RD |
14315 | <paramlist> |
14316 | <param name="parent" type="Window" default=""/> | |
14317 | <param name="id" type="int" default="wxID_ANY"/> | |
14318 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14319 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14320 | <param name="style" type="long" default="0"/> | |
14321 | <param name="name" type="String" default="wxPyVListBoxNameStr"/> | |
14322 | </paramlist> | |
14323 | </constructor> | |
14324 | <constructor name="PreHtmlListBox" overloaded="no"> | |
14325 | <autodoc>PreHtmlListBox() -> HtmlListBox</autodoc> | |
14326 | </constructor> | |
14327 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 14328 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
14329 | <paramlist> |
14330 | <param name="self" type="PyObject" default=""/> | |
14331 | <param name="_class" type="PyObject" default=""/> | |
14332 | </paramlist> | |
14333 | </method> | |
14334 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 14335 | <autodoc>Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, |
856bf319 | 14336 | Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool</autodoc> |
f32fc4bc RD |
14337 | <paramlist> |
14338 | <param name="parent" type="Window" default=""/> | |
14339 | <param name="id" type="int" default="wxID_ANY"/> | |
14340 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14341 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14342 | <param name="style" type="long" default="0"/> | |
14343 | <param name="name" type="String" default="wxPyVListBoxNameStr"/> | |
14344 | </paramlist> | |
14345 | </method> | |
14346 | <method name="RefreshAll" type="" overloaded="no"> | |
781d2982 | 14347 | <autodoc>RefreshAll(self)</autodoc> |
f32fc4bc RD |
14348 | </method> |
14349 | <method name="SetItemCount" type="" overloaded="no"> | |
781d2982 | 14350 | <autodoc>SetItemCount(self, size_t count)</autodoc> |
f32fc4bc RD |
14351 | <paramlist> |
14352 | <param name="count" type="size_t" default=""/> | |
14353 | </paramlist> | |
14354 | </method> | |
781d2982 RD |
14355 | <method name="GetFileSystem" type="FileSystem" overloaded="no"> |
14356 | <autodoc>GetFileSystem(self) -> FileSystem</autodoc> | |
14357 | </method> | |
f32fc4bc RD |
14358 | </class> |
14359 | <pythoncode> | |
856bf319 RD |
14360 | #--------------------------------------------------------------------------- |
14361 | </pythoncode> | |
781d2982 | 14362 | <class name="TaskBarIcon" oldname="wxTaskBarIcon" module="_windows"> |
f32fc4bc RD |
14363 | <baseclass name="EvtHandler"/> |
14364 | <constructor name="TaskBarIcon" overloaded="no"> | |
781d2982 | 14365 | <autodoc>__init__(self) -> TaskBarIcon</autodoc> |
f32fc4bc RD |
14366 | </constructor> |
14367 | <destructor name="~wxTaskBarIcon" overloaded="no"> | |
781d2982 | 14368 | <autodoc>__del__(self)</autodoc> |
f32fc4bc | 14369 | </destructor> |
781d2982 RD |
14370 | <method name="Destroy" type="" overloaded="no"> |
14371 | <autodoc>Destroy(self)</autodoc> | |
14372 | <docstring>Deletes the C++ object this Python object is a proxy for.</docstring> | |
14373 | </method> | |
f32fc4bc | 14374 | <method name="IsOk" type="bool" overloaded="no"> |
781d2982 | 14375 | <autodoc>IsOk(self) -> bool</autodoc> |
f32fc4bc RD |
14376 | </method> |
14377 | <method name="IsIconInstalled" type="bool" overloaded="no"> | |
781d2982 | 14378 | <autodoc>IsIconInstalled(self) -> bool</autodoc> |
f32fc4bc RD |
14379 | </method> |
14380 | <method name="SetIcon" type="bool" overloaded="no"> | |
781d2982 | 14381 | <autodoc>SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool</autodoc> |
f32fc4bc RD |
14382 | <paramlist> |
14383 | <param name="icon" type="Icon" default=""/> | |
14384 | <param name="tooltip" type="String" default="wxPyEmptyString"/> | |
14385 | </paramlist> | |
14386 | </method> | |
14387 | <method name="RemoveIcon" type="bool" overloaded="no"> | |
781d2982 | 14388 | <autodoc>RemoveIcon(self) -> bool</autodoc> |
f32fc4bc RD |
14389 | </method> |
14390 | <method name="PopupMenu" type="bool" overloaded="no"> | |
781d2982 | 14391 | <autodoc>PopupMenu(self, Menu menu) -> bool</autodoc> |
f32fc4bc RD |
14392 | <paramlist> |
14393 | <param name="menu" type="Menu" default=""/> | |
14394 | </paramlist> | |
14395 | </method> | |
14396 | </class> | |
781d2982 | 14397 | <class name="TaskBarIconEvent" oldname="wxTaskBarIconEvent" module="_windows"> |
f32fc4bc RD |
14398 | <baseclass name="Event"/> |
14399 | <constructor name="TaskBarIconEvent" overloaded="no"> | |
781d2982 | 14400 | <autodoc>__init__(self, wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent</autodoc> |
f32fc4bc RD |
14401 | <paramlist> |
14402 | <param name="evtType" type="wxEventType" default=""/> | |
14403 | <param name="tbIcon" type="TaskBarIcon" default=""/> | |
14404 | </paramlist> | |
14405 | </constructor> | |
14406 | </class> | |
14407 | <pythoncode> | |
856bf319 RD |
14408 | EVT_TASKBAR_MOVE = wx.PyEventBinder ( wxEVT_TASKBAR_MOVE ) |
14409 | EVT_TASKBAR_LEFT_DOWN = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN ) | |
14410 | EVT_TASKBAR_LEFT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP ) | |
14411 | EVT_TASKBAR_RIGHT_DOWN = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN ) | |
14412 | EVT_TASKBAR_RIGHT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP ) | |
14413 | EVT_TASKBAR_LEFT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK ) | |
14414 | EVT_TASKBAR_RIGHT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK ) | |
14415 | </pythoncode> | |
f32fc4bc | 14416 | <pythoncode> |
856bf319 RD |
14417 | #--------------------------------------------------------------------------- |
14418 | </pythoncode> | |
781d2982 RD |
14419 | <class name="ColourData" oldname="wxColourData" module="_windows"> |
14420 | <docstring>This class holds a variety of information related to the colour | |
14421 | chooser dialog, used to transfer settings and results to and from the | |
14422 | `wx.ColourDialog`.</docstring> | |
f32fc4bc RD |
14423 | <baseclass name="Object"/> |
14424 | <constructor name="ColourData" overloaded="no"> | |
781d2982 | 14425 | <autodoc>__init__(self) -> ColourData</autodoc> |
c2dda882 | 14426 | <docstring>Constructor, sets default values.</docstring> |
f32fc4bc RD |
14427 | </constructor> |
14428 | <destructor name="~wxColourData" overloaded="no"> | |
781d2982 | 14429 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
14430 | </destructor> |
14431 | <method name="GetChooseFull" type="bool" overloaded="no"> | |
781d2982 RD |
14432 | <autodoc>GetChooseFull(self) -> bool</autodoc> |
14433 | <docstring>Under Windows, determines whether the Windows colour dialog will | |
14434 | display the full dialog with custom colour selection controls. Has no | |
14435 | meaning under other platforms. The default value is true.</docstring> | |
f32fc4bc RD |
14436 | </method> |
14437 | <method name="GetColour" type="Colour" overloaded="no"> | |
781d2982 | 14438 | <autodoc>GetColour(self) -> Colour</autodoc> |
c2dda882 | 14439 | <docstring>Gets the colour (pre)selected by the dialog.</docstring> |
f32fc4bc RD |
14440 | </method> |
14441 | <method name="GetCustomColour" type="Colour" overloaded="no"> | |
781d2982 RD |
14442 | <autodoc>GetCustomColour(self, int i) -> Colour</autodoc> |
14443 | <docstring>Gets the i'th custom colour associated with the colour dialog. i | |
14444 | should be an integer between 0 and 15. The default custom colours are | |
14445 | all invalid colours.</docstring> | |
f32fc4bc RD |
14446 | <paramlist> |
14447 | <param name="i" type="int" default=""/> | |
14448 | </paramlist> | |
14449 | </method> | |
14450 | <method name="SetChooseFull" type="" overloaded="no"> | |
781d2982 RD |
14451 | <autodoc>SetChooseFull(self, int flag)</autodoc> |
14452 | <docstring>Under Windows, tells the Windows colour dialog to display the full | |
14453 | dialog with custom colour selection controls. Under other platforms, | |
14454 | has no effect. The default value is true.</docstring> | |
f32fc4bc RD |
14455 | <paramlist> |
14456 | <param name="flag" type="int" default=""/> | |
14457 | </paramlist> | |
14458 | </method> | |
14459 | <method name="SetColour" type="" overloaded="no"> | |
781d2982 RD |
14460 | <autodoc>SetColour(self, Colour colour)</autodoc> |
14461 | <docstring>Sets the default colour for the colour dialog. The default colour is | |
14462 | black.</docstring> | |
f32fc4bc RD |
14463 | <paramlist> |
14464 | <param name="colour" type="Colour" default=""/> | |
14465 | </paramlist> | |
14466 | </method> | |
14467 | <method name="SetCustomColour" type="" overloaded="no"> | |
781d2982 RD |
14468 | <autodoc>SetCustomColour(self, int i, Colour colour)</autodoc> |
14469 | <docstring>Sets the i'th custom colour for the colour dialog. i should be an | |
14470 | integer between 0 and 15. The default custom colours are all invalid colours.</docstring> | |
f32fc4bc RD |
14471 | <paramlist> |
14472 | <param name="i" type="int" default=""/> | |
14473 | <param name="colour" type="Colour" default=""/> | |
14474 | </paramlist> | |
14475 | </method> | |
14476 | </class> | |
781d2982 | 14477 | <class name="ColourDialog" oldname="wxColourDialog" module="_windows"> |
c2dda882 | 14478 | <docstring>This class represents the colour chooser dialog.</docstring> |
f32fc4bc RD |
14479 | <baseclass name="Dialog"/> |
14480 | <constructor name="ColourDialog" overloaded="no"> | |
781d2982 RD |
14481 | <autodoc>__init__(self, Window parent, ColourData data=None) -> ColourDialog</autodoc> |
14482 | <docstring>Constructor. Pass a parent window, and optionally a `wx.ColourData`, | |
14483 | which will be copied to the colour dialog's internal ColourData | |
14484 | instance.</docstring> | |
f32fc4bc RD |
14485 | <paramlist> |
14486 | <param name="parent" type="Window" default=""/> | |
14487 | <param name="data" type="ColourData" default="NULL"/> | |
14488 | </paramlist> | |
14489 | </constructor> | |
14490 | <method name="GetColourData" type="ColourData" overloaded="no"> | |
781d2982 RD |
14491 | <autodoc>GetColourData(self) -> ColourData</autodoc> |
14492 | <docstring>Returns a reference to the `wx.ColourData` used by the dialog.</docstring> | |
14493 | </method> | |
14494 | </class> | |
14495 | <class name="DirDialog" oldname="wxDirDialog" module="_windows"> | |
14496 | <docstring>wx.DirDialog allows the user to select a directory by browising the | |
ce6878e6 RD |
14497 | file system. |
14498 | ||
14499 | Window Styles | |
14500 | -------------- | |
14501 | ==================== ========================================== | |
14502 | wx.DD_NEW_DIR_BUTTON Add 'Create new directory' button and allow | |
14503 | directory names to be editable. On Windows | |
14504 | the new directory button is only available | |
14505 | with recent versions of the common dialogs. | |
14506 | ==================== ========================================== | |
14507 | </docstring> | |
f32fc4bc RD |
14508 | <baseclass name="Dialog"/> |
14509 | <constructor name="DirDialog" overloaded="no"> | |
781d2982 | 14510 | <autodoc>__init__(self, Window parent, String message=DirSelectorPromptStr, |
856bf319 RD |
14511 | String defaultPath=EmptyString, long style=0, |
14512 | Point pos=DefaultPosition, Size size=DefaultSize, | |
14513 | String name=DirDialogNameStr) -> DirDialog</autodoc> | |
c2dda882 | 14514 | <docstring>Constructor. Use ShowModal method to show the dialog.</docstring> |
f32fc4bc RD |
14515 | <paramlist> |
14516 | <param name="parent" type="Window" default=""/> | |
14517 | <param name="message" type="String" default="wxPyDirSelectorPromptStr"/> | |
14518 | <param name="defaultPath" type="String" default="wxPyEmptyString"/> | |
14519 | <param name="style" type="long" default="0"/> | |
14520 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14521 | <param name="size" type="Size" default="wxDefaultSize"/> | |
14522 | <param name="name" type="String" default="wxPyDirDialogNameStr"/> | |
14523 | </paramlist> | |
14524 | </constructor> | |
14525 | <method name="GetPath" type="String" overloaded="no"> | |
781d2982 | 14526 | <autodoc>GetPath(self) -> String</autodoc> |
c2dda882 | 14527 | <docstring>Returns the default or user-selected path.</docstring> |
f32fc4bc RD |
14528 | </method> |
14529 | <method name="GetMessage" type="String" overloaded="no"> | |
781d2982 | 14530 | <autodoc>GetMessage(self) -> String</autodoc> |
c2dda882 | 14531 | <docstring>Returns the message that will be displayed on the dialog.</docstring> |
f32fc4bc RD |
14532 | </method> |
14533 | <method name="GetStyle" type="long" overloaded="no"> | |
781d2982 | 14534 | <autodoc>GetStyle(self) -> long</autodoc> |
c2dda882 | 14535 | <docstring>Returns the dialog style.</docstring> |
f32fc4bc RD |
14536 | </method> |
14537 | <method name="SetMessage" type="" overloaded="no"> | |
781d2982 | 14538 | <autodoc>SetMessage(self, String message)</autodoc> |
c2dda882 | 14539 | <docstring>Sets the message that will be displayed on the dialog.</docstring> |
f32fc4bc RD |
14540 | <paramlist> |
14541 | <param name="message" type="String" default=""/> | |
14542 | </paramlist> | |
14543 | </method> | |
14544 | <method name="SetPath" type="" overloaded="no"> | |
781d2982 | 14545 | <autodoc>SetPath(self, String path)</autodoc> |
c2dda882 | 14546 | <docstring>Sets the default path.</docstring> |
f32fc4bc RD |
14547 | <paramlist> |
14548 | <param name="path" type="String" default=""/> | |
14549 | </paramlist> | |
14550 | </method> | |
f32fc4bc | 14551 | </class> |
781d2982 RD |
14552 | <class name="FileDialog" oldname="wxFileDialog" module="_windows"> |
14553 | <docstring>wx.FileDialog allows the user to select one or more files from the | |
ce6878e6 RD |
14554 | filesystem. |
14555 | ||
14556 | In Windows, this is the common file selector dialog. On X based | |
14557 | platforms a generic alternative is used. The path and filename are | |
14558 | distinct elements of a full file pathname. If path is "", the | |
14559 | current directory will be used. If filename is "", no default | |
14560 | filename will be supplied. The wildcard determines what files are | |
14561 | displayed in the file selector, and file extension supplies a type | |
14562 | extension for the required filename. | |
14563 | ||
14564 | Both the X and Windows versions implement a wildcard filter. Typing a | |
14565 | filename containing wildcards (\\*, ?) in the filename text item, and | |
14566 | clicking on Ok, will result in only those files matching the pattern | |
14567 | being displayed. The wildcard may be a specification for multiple | |
14568 | types of file with a description for each, such as:: | |
14569 | ||
14570 | "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif" | |
14571 | ||
14572 | ||
14573 | Window Styles | |
14574 | -------------- | |
14575 | =================== ========================================== | |
14576 | wx.OPEN This is an open dialog. | |
14577 | ||
14578 | wx.SAVE This is a save dialog. | |
14579 | ||
14580 | wx.HIDE_READONLY For open dialog only: hide the checkbox | |
14581 | allowing to open the file in read-only mode. | |
14582 | ||
14583 | wx.OVERWRITE_PROMPT For save dialog only: prompt for a confirmation | |
14584 | if a file will be overwritten. | |
14585 | ||
14586 | wx.MULTIPLE For open dialog only: allows selecting multiple | |
14587 | files. | |
14588 | ||
14589 | wx.CHANGE_DIR Change the current working directory to the | |
14590 | directory where the file(s) chosen by the user | |
14591 | are. | |
14592 | =================== ========================================== | |
14593 | </docstring> | |
f32fc4bc RD |
14594 | <baseclass name="Dialog"/> |
14595 | <constructor name="FileDialog" overloaded="no"> | |
781d2982 | 14596 | <autodoc>__init__(self, Window parent, String message=FileSelectorPromptStr, |
856bf319 RD |
14597 | String defaultDir=EmptyString, String defaultFile=EmptyString, |
14598 | String wildcard=FileSelectorDefaultWildcardStr, | |
14599 | long style=0, Point pos=DefaultPosition) -> FileDialog</autodoc> | |
c2dda882 | 14600 | <docstring>Constructor. Use ShowModal method to show the dialog.</docstring> |
f32fc4bc RD |
14601 | <paramlist> |
14602 | <param name="parent" type="Window" default=""/> | |
14603 | <param name="message" type="String" default="wxPyFileSelectorPromptStr"/> | |
14604 | <param name="defaultDir" type="String" default="wxPyEmptyString"/> | |
14605 | <param name="defaultFile" type="String" default="wxPyEmptyString"/> | |
14606 | <param name="wildcard" type="String" default="wxPyFileSelectorDefaultWildcardStr"/> | |
14607 | <param name="style" type="long" default="0"/> | |
14608 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14609 | </paramlist> | |
14610 | </constructor> | |
14611 | <method name="SetMessage" type="" overloaded="no"> | |
781d2982 | 14612 | <autodoc>SetMessage(self, String message)</autodoc> |
c2dda882 | 14613 | <docstring>Sets the message that will be displayed on the dialog.</docstring> |
f32fc4bc RD |
14614 | <paramlist> |
14615 | <param name="message" type="String" default=""/> | |
14616 | </paramlist> | |
14617 | </method> | |
14618 | <method name="SetPath" type="" overloaded="no"> | |
781d2982 RD |
14619 | <autodoc>SetPath(self, String path)</autodoc> |
14620 | <docstring>Sets the path (the combined directory and filename that will be | |
14621 | returned when the dialog is dismissed).</docstring> | |
f32fc4bc RD |
14622 | <paramlist> |
14623 | <param name="path" type="String" default=""/> | |
14624 | </paramlist> | |
14625 | </method> | |
14626 | <method name="SetDirectory" type="" overloaded="no"> | |
781d2982 | 14627 | <autodoc>SetDirectory(self, String dir)</autodoc> |
c2dda882 | 14628 | <docstring>Sets the default directory.</docstring> |
f32fc4bc RD |
14629 | <paramlist> |
14630 | <param name="dir" type="String" default=""/> | |
14631 | </paramlist> | |
14632 | </method> | |
14633 | <method name="SetFilename" type="" overloaded="no"> | |
781d2982 | 14634 | <autodoc>SetFilename(self, String name)</autodoc> |
c2dda882 | 14635 | <docstring>Sets the default filename.</docstring> |
f32fc4bc RD |
14636 | <paramlist> |
14637 | <param name="name" type="String" default=""/> | |
14638 | </paramlist> | |
14639 | </method> | |
14640 | <method name="SetWildcard" type="" overloaded="no"> | |
781d2982 RD |
14641 | <autodoc>SetWildcard(self, String wildCard)</autodoc> |
14642 | <docstring>Sets the wildcard, which can contain multiple file types, for | |
14643 | example:: | |
14644 | ||
14645 | "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif" | |
14646 | </docstring> | |
f32fc4bc RD |
14647 | <paramlist> |
14648 | <param name="wildCard" type="String" default=""/> | |
14649 | </paramlist> | |
14650 | </method> | |
14651 | <method name="SetStyle" type="" overloaded="no"> | |
781d2982 | 14652 | <autodoc>SetStyle(self, long style)</autodoc> |
c2dda882 | 14653 | <docstring>Sets the dialog style.</docstring> |
f32fc4bc RD |
14654 | <paramlist> |
14655 | <param name="style" type="long" default=""/> | |
14656 | </paramlist> | |
14657 | </method> | |
14658 | <method name="SetFilterIndex" type="" overloaded="no"> | |
781d2982 | 14659 | <autodoc>SetFilterIndex(self, int filterIndex)</autodoc> |
c2dda882 | 14660 | <docstring>Sets the default filter index, starting from zero.</docstring> |
f32fc4bc RD |
14661 | <paramlist> |
14662 | <param name="filterIndex" type="int" default=""/> | |
14663 | </paramlist> | |
14664 | </method> | |
14665 | <method name="GetMessage" type="String" overloaded="no"> | |
781d2982 | 14666 | <autodoc>GetMessage(self) -> String</autodoc> |
c2dda882 | 14667 | <docstring>Returns the message that will be displayed on the dialog.</docstring> |
f32fc4bc RD |
14668 | </method> |
14669 | <method name="GetPath" type="String" overloaded="no"> | |
781d2982 | 14670 | <autodoc>GetPath(self) -> String</autodoc> |
c2dda882 | 14671 | <docstring>Returns the full path (directory and filename) of the selected file.</docstring> |
f32fc4bc RD |
14672 | </method> |
14673 | <method name="GetDirectory" type="String" overloaded="no"> | |
781d2982 | 14674 | <autodoc>GetDirectory(self) -> String</autodoc> |
c2dda882 | 14675 | <docstring>Returns the default directory.</docstring> |
f32fc4bc RD |
14676 | </method> |
14677 | <method name="GetFilename" type="String" overloaded="no"> | |
781d2982 | 14678 | <autodoc>GetFilename(self) -> String</autodoc> |
c2dda882 | 14679 | <docstring>Returns the default filename.</docstring> |
f32fc4bc RD |
14680 | </method> |
14681 | <method name="GetWildcard" type="String" overloaded="no"> | |
781d2982 | 14682 | <autodoc>GetWildcard(self) -> String</autodoc> |
c2dda882 | 14683 | <docstring>Returns the file dialog wildcard.</docstring> |
f32fc4bc RD |
14684 | </method> |
14685 | <method name="GetStyle" type="long" overloaded="no"> | |
781d2982 | 14686 | <autodoc>GetStyle(self) -> long</autodoc> |
c2dda882 | 14687 | <docstring>Returns the dialog style.</docstring> |
f32fc4bc RD |
14688 | </method> |
14689 | <method name="GetFilterIndex" type="int" overloaded="no"> | |
781d2982 | 14690 | <autodoc>GetFilterIndex(self) -> int</autodoc> |
c2dda882 RD |
14691 | <docstring>Returns the index into the list of filters supplied, optionally, in |
14692 | the wildcard parameter. Before the dialog is shown, this is the index | |
781d2982 RD |
14693 | which will be used when the dialog is first displayed. After the |
14694 | dialog is shown, this is the index selected by the user.</docstring> | |
f32fc4bc RD |
14695 | </method> |
14696 | <method name="GetFilenames" type="PyObject" overloaded="no"> | |
781d2982 RD |
14697 | <autodoc>GetFilenames(self) -> PyObject</autodoc> |
14698 | <docstring>Returns a list of filenames chosen in the dialog. This function | |
14699 | should only be used with the dialogs which have wx.MULTIPLE style, use | |
c2dda882 | 14700 | GetFilename for the others.</docstring> |
f32fc4bc RD |
14701 | </method> |
14702 | <method name="GetPaths" type="PyObject" overloaded="no"> | |
781d2982 | 14703 | <autodoc>GetPaths(self) -> PyObject</autodoc> |
c2dda882 | 14704 | <docstring>Fills the array paths with the full paths of the files chosen. This |
781d2982 RD |
14705 | function should only be used with the dialogs which have wx.MULTIPLE |
14706 | style, use GetPath for the others.</docstring> | |
f32fc4bc RD |
14707 | </method> |
14708 | </class> | |
781d2982 | 14709 | <class name="MultiChoiceDialog" oldname="wxMultiChoiceDialog" module="_windows"> |
c2dda882 | 14710 | <docstring>A simple dialog with a multi selection listbox.</docstring> |
f32fc4bc RD |
14711 | <baseclass name="Dialog"/> |
14712 | <constructor name="MultiChoiceDialog" overloaded="no"> | |
c2dda882 RD |
14713 | <autodoc>__init__(Window parent, String message, String caption, |
14714 | List choices=[], long style=CHOICEDLG_STYLE, | |
856bf319 | 14715 | Point pos=DefaultPosition) -> MultiChoiceDialog</autodoc> |
c2dda882 | 14716 | <docstring>Constructor. Use ShowModal method to show the dialog.</docstring> |
f32fc4bc RD |
14717 | <paramlist> |
14718 | <param name="parent" type="Window" default=""/> | |
14719 | <param name="message" type="String" default=""/> | |
14720 | <param name="caption" type="String" default=""/> | |
14721 | <param name="choices" type="int" default="0"/> | |
781d2982 | 14722 | <param name="choices_array" type="String" default="NULL"/> |
f32fc4bc RD |
14723 | <param name="style" type="long" default="wxCHOICEDLG_STYLE"/> |
14724 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14725 | </paramlist> | |
14726 | </constructor> | |
14727 | <method name="SetSelections" type="" overloaded="no"> | |
c2dda882 | 14728 | <autodoc>SetSelections(List selections)</autodoc> |
ce6878e6 RD |
14729 | <docstring>Specify the items in the list that should be selected, using a list of |
14730 | integers.</docstring> | |
f32fc4bc RD |
14731 | <paramlist> |
14732 | <param name="selections" type="wxArrayInt" default=""/> | |
14733 | </paramlist> | |
14734 | </method> | |
14735 | <method name="GetSelections" type="PyObject" overloaded="no"> | |
c2dda882 RD |
14736 | <autodoc>GetSelections() -> [selections]</autodoc> |
14737 | <docstring>Returns a list of integers representing the items that are selected.</docstring> | |
f32fc4bc RD |
14738 | </method> |
14739 | </class> | |
781d2982 | 14740 | <class name="SingleChoiceDialog" oldname="wxSingleChoiceDialog" module="_windows"> |
c2dda882 | 14741 | <docstring>A simple dialog with a single selection listbox.</docstring> |
f32fc4bc RD |
14742 | <baseclass name="Dialog"/> |
14743 | <constructor name="SingleChoiceDialog" overloaded="no"> | |
c2dda882 RD |
14744 | <autodoc>__init__(Window parent, String message, String caption, |
14745 | List choices=[], long style=CHOICEDLG_STYLE, | |
856bf319 | 14746 | Point pos=DefaultPosition) -> SingleChoiceDialog</autodoc> |
c2dda882 | 14747 | <docstring>Constructor. Use ShowModal method to show the dialog.</docstring> |
f32fc4bc RD |
14748 | <paramlist> |
14749 | <param name="parent" type="Window" default=""/> | |
14750 | <param name="message" type="String" default=""/> | |
14751 | <param name="caption" type="String" default=""/> | |
14752 | <param name="choices" type="int" default=""/> | |
14753 | <param name="choices_array" type="String" default=""/> | |
14754 | <param name="style" type="long" default="wxCHOICEDLG_STYLE"/> | |
14755 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14756 | </paramlist> | |
14757 | </constructor> | |
14758 | <method name="GetSelection" type="int" overloaded="no"> | |
781d2982 | 14759 | <autodoc>GetSelection(self) -> int</autodoc> |
c2dda882 | 14760 | <docstring>Get the index of teh currently selected item.</docstring> |
f32fc4bc RD |
14761 | </method> |
14762 | <method name="GetStringSelection" type="String" overloaded="no"> | |
781d2982 | 14763 | <autodoc>GetStringSelection(self) -> String</autodoc> |
c2dda882 | 14764 | <docstring>Returns the string value of the currently selected item</docstring> |
f32fc4bc RD |
14765 | </method> |
14766 | <method name="SetSelection" type="" overloaded="no"> | |
781d2982 | 14767 | <autodoc>SetSelection(self, int sel)</autodoc> |
c2dda882 | 14768 | <docstring>Set the current selected item to sel</docstring> |
f32fc4bc RD |
14769 | <paramlist> |
14770 | <param name="sel" type="int" default=""/> | |
14771 | </paramlist> | |
14772 | </method> | |
f32fc4bc | 14773 | </class> |
781d2982 | 14774 | <class name="TextEntryDialog" oldname="wxTextEntryDialog" module="_windows"> |
c2dda882 | 14775 | <docstring>A dialog with text control, [ok] and [cancel] buttons</docstring> |
f32fc4bc RD |
14776 | <baseclass name="Dialog"/> |
14777 | <constructor name="TextEntryDialog" overloaded="no"> | |
781d2982 | 14778 | <autodoc>__init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr, |
856bf319 RD |
14779 | String defaultValue=EmptyString, |
14780 | long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog</autodoc> | |
c2dda882 | 14781 | <docstring>Constructor. Use ShowModal method to show the dialog.</docstring> |
f32fc4bc RD |
14782 | <paramlist> |
14783 | <param name="parent" type="Window" default=""/> | |
14784 | <param name="message" type="String" default=""/> | |
14785 | <param name="caption" type="String" default="wxPyGetTextFromUserPromptStr"/> | |
14786 | <param name="defaultValue" type="String" default="wxPyEmptyString"/> | |
14787 | <param name="style" type="long" default="wxOK|wxCANCEL|wxCENTRE"/> | |
14788 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14789 | </paramlist> | |
14790 | </constructor> | |
14791 | <method name="GetValue" type="String" overloaded="no"> | |
781d2982 | 14792 | <autodoc>GetValue(self) -> String</autodoc> |
c2dda882 RD |
14793 | <docstring>Returns the text that the user has entered if the user has pressed OK, |
14794 | or the original value if the user has pressed Cancel.</docstring> | |
f32fc4bc RD |
14795 | </method> |
14796 | <method name="SetValue" type="" overloaded="no"> | |
781d2982 | 14797 | <autodoc>SetValue(self, String value)</autodoc> |
c2dda882 | 14798 | <docstring>Sets the default text value.</docstring> |
f32fc4bc RD |
14799 | <paramlist> |
14800 | <param name="value" type="String" default=""/> | |
14801 | </paramlist> | |
14802 | </method> | |
f32fc4bc | 14803 | </class> |
781d2982 RD |
14804 | <class name="FontData" oldname="wxFontData" module="_windows"> |
14805 | <docstring>This class holds a variety of information related to font dialogs and | |
14806 | is used to transfer settings to and results from a `wx.FontDialog`.</docstring> | |
f32fc4bc RD |
14807 | <baseclass name="Object"/> |
14808 | <constructor name="FontData" overloaded="no"> | |
781d2982 RD |
14809 | <autodoc>__init__(self) -> FontData</autodoc> |
14810 | <docstring>This class holds a variety of information related to font dialogs and | |
14811 | is used to transfer settings to and results from a `wx.FontDialog`.</docstring> | |
f32fc4bc RD |
14812 | </constructor> |
14813 | <destructor name="~wxFontData" overloaded="no"> | |
781d2982 | 14814 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
14815 | </destructor> |
14816 | <method name="EnableEffects" type="" overloaded="no"> | |
781d2982 RD |
14817 | <autodoc>EnableEffects(self, bool enable)</autodoc> |
14818 | <docstring>Enables or disables 'effects' under MS Windows only. This refers to | |
14819 | the controls for manipulating colour, strikeout and underline | |
c2dda882 | 14820 | properties. The default value is true.</docstring> |
f32fc4bc RD |
14821 | <paramlist> |
14822 | <param name="enable" type="bool" default=""/> | |
14823 | </paramlist> | |
14824 | </method> | |
14825 | <method name="GetAllowSymbols" type="bool" overloaded="no"> | |
781d2982 RD |
14826 | <autodoc>GetAllowSymbols(self) -> bool</autodoc> |
14827 | <docstring>Under MS Windows, returns a flag determining whether symbol fonts can | |
14828 | be selected. Has no effect on other platforms. The default value is | |
14829 | true.</docstring> | |
f32fc4bc RD |
14830 | </method> |
14831 | <method name="GetColour" type="Colour" overloaded="no"> | |
781d2982 RD |
14832 | <autodoc>GetColour(self) -> Colour</autodoc> |
14833 | <docstring>Gets the colour associated with the font dialog. The default value is | |
14834 | black.</docstring> | |
f32fc4bc RD |
14835 | </method> |
14836 | <method name="GetChosenFont" type="Font" overloaded="no"> | |
781d2982 | 14837 | <autodoc>GetChosenFont(self) -> Font</autodoc> |
c2dda882 | 14838 | <docstring>Gets the font chosen by the user.</docstring> |
f32fc4bc RD |
14839 | </method> |
14840 | <method name="GetEnableEffects" type="bool" overloaded="no"> | |
781d2982 | 14841 | <autodoc>GetEnableEffects(self) -> bool</autodoc> |
c2dda882 | 14842 | <docstring>Determines whether 'effects' are enabled under Windows.</docstring> |
f32fc4bc RD |
14843 | </method> |
14844 | <method name="GetInitialFont" type="Font" overloaded="no"> | |
781d2982 RD |
14845 | <autodoc>GetInitialFont(self) -> Font</autodoc> |
14846 | <docstring>Gets the font that will be initially used by the font dialog. This | |
14847 | should have previously been set by the application.</docstring> | |
f32fc4bc RD |
14848 | </method> |
14849 | <method name="GetShowHelp" type="bool" overloaded="no"> | |
781d2982 RD |
14850 | <autodoc>GetShowHelp(self) -> bool</autodoc> |
14851 | <docstring>Returns true if the Help button will be shown (Windows only). The | |
14852 | default value is false.</docstring> | |
f32fc4bc RD |
14853 | </method> |
14854 | <method name="SetAllowSymbols" type="" overloaded="no"> | |
781d2982 RD |
14855 | <autodoc>SetAllowSymbols(self, bool allowSymbols)</autodoc> |
14856 | <docstring>Under MS Windows, determines whether symbol fonts can be selected. Has | |
14857 | no effect on other platforms. The default value is true.</docstring> | |
f32fc4bc RD |
14858 | <paramlist> |
14859 | <param name="allowSymbols" type="bool" default=""/> | |
14860 | </paramlist> | |
14861 | </method> | |
14862 | <method name="SetChosenFont" type="" overloaded="no"> | |
781d2982 RD |
14863 | <autodoc>SetChosenFont(self, Font font)</autodoc> |
14864 | <docstring>Sets the font that will be returned to the user (normally for internal | |
14865 | use only).</docstring> | |
f32fc4bc RD |
14866 | <paramlist> |
14867 | <param name="font" type="Font" default=""/> | |
14868 | </paramlist> | |
14869 | </method> | |
14870 | <method name="SetColour" type="" overloaded="no"> | |
781d2982 RD |
14871 | <autodoc>SetColour(self, Colour colour)</autodoc> |
14872 | <docstring>Sets the colour that will be used for the font foreground colour. The | |
14873 | default colour is black.</docstring> | |
f32fc4bc RD |
14874 | <paramlist> |
14875 | <param name="colour" type="Colour" default=""/> | |
14876 | </paramlist> | |
14877 | </method> | |
14878 | <method name="SetInitialFont" type="" overloaded="no"> | |
781d2982 | 14879 | <autodoc>SetInitialFont(self, Font font)</autodoc> |
c2dda882 | 14880 | <docstring>Sets the font that will be initially used by the font dialog.</docstring> |
f32fc4bc RD |
14881 | <paramlist> |
14882 | <param name="font" type="Font" default=""/> | |
14883 | </paramlist> | |
14884 | </method> | |
14885 | <method name="SetRange" type="" overloaded="no"> | |
781d2982 RD |
14886 | <autodoc>SetRange(self, int min, int max)</autodoc> |
14887 | <docstring>Sets the valid range for the font point size (Windows only). The | |
14888 | default is 0, 0 (unrestricted range).</docstring> | |
f32fc4bc RD |
14889 | <paramlist> |
14890 | <param name="min" type="int" default=""/> | |
14891 | <param name="max" type="int" default=""/> | |
14892 | </paramlist> | |
14893 | </method> | |
14894 | <method name="SetShowHelp" type="" overloaded="no"> | |
781d2982 RD |
14895 | <autodoc>SetShowHelp(self, bool showHelp)</autodoc> |
14896 | <docstring>Determines whether the Help button will be displayed in the font | |
14897 | dialog (Windows only). The default value is false.</docstring> | |
f32fc4bc RD |
14898 | <paramlist> |
14899 | <param name="showHelp" type="bool" default=""/> | |
14900 | </paramlist> | |
14901 | </method> | |
14902 | </class> | |
781d2982 RD |
14903 | <class name="FontDialog" oldname="wxFontDialog" module="_windows"> |
14904 | <docstring>wx.FontDialog allows the user to select a system font and its attributes. | |
14905 | ||
14906 | :see: `wx.FontData` | |
14907 | </docstring> | |
f32fc4bc RD |
14908 | <baseclass name="Dialog"/> |
14909 | <constructor name="FontDialog" overloaded="no"> | |
781d2982 RD |
14910 | <autodoc>__init__(self, Window parent, FontData data) -> FontDialog</autodoc> |
14911 | <docstring>Constructor. Pass a parent window and the `wx.FontData` object to be | |
14912 | used to initialize the dialog controls. Call `ShowModal` to display | |
14913 | the dialog. If ShowModal returns ``wx.ID_OK`` then you can fetch the | |
14914 | results with via the `wx.FontData` returned by `GetFontData`.</docstring> | |
f32fc4bc RD |
14915 | <paramlist> |
14916 | <param name="parent" type="Window" default=""/> | |
14917 | <param name="data" type="FontData" default=""/> | |
14918 | </paramlist> | |
14919 | </constructor> | |
14920 | <method name="GetFontData" type="FontData" overloaded="no"> | |
781d2982 RD |
14921 | <autodoc>GetFontData(self) -> FontData</autodoc> |
14922 | <docstring>Returns a reference to the internal `wx.FontData` used by the | |
14923 | wx.FontDialog.</docstring> | |
f32fc4bc RD |
14924 | </method> |
14925 | </class> | |
781d2982 RD |
14926 | <class name="MessageDialog" oldname="wxMessageDialog" module="_windows"> |
14927 | <docstring>This class provides a simple dialog that shows a single or multi-line | |
ce6878e6 RD |
14928 | message, with a choice of OK, Yes, No and/or Cancel buttons. |
14929 | ||
14930 | Window Styles | |
14931 | -------------- | |
14932 | =================== ============================================= | |
14933 | wx.OK Show an OK button. | |
14934 | wx.CANCEL Show a Cancel button. | |
14935 | wx.YES_NO Show Yes and No buttons. | |
14936 | wx.YES_DEFAULT Used with wxYES_NO, makes Yes button the | |
14937 | default - which is the default behaviour. | |
14938 | wx.NO_DEFAULT Used with wxYES_NO, makes No button the default. | |
14939 | wx.ICON_EXCLAMATION Shows an exclamation mark icon. | |
14940 | wx.ICON_HAND Shows an error icon. | |
14941 | wx.ICON_ERROR Shows an error icon - the same as wxICON_HAND. | |
14942 | wx.ICON_QUESTION Shows a question mark icon. | |
14943 | wx.ICON_INFORMATION Shows an information (i) icon. | |
14944 | wx.STAY_ON_TOP The message box stays on top of all other | |
14945 | window, even those of the other applications | |
14946 | (Windows only). | |
14947 | =================== ============================================= | |
14948 | </docstring> | |
f32fc4bc | 14949 | <baseclass name="Dialog"/> |
368d20e8 | 14950 | <constructor name="MessageDialog" overloaded="no"> |
781d2982 | 14951 | <autodoc>__init__(self, Window parent, String message, String caption=MessageBoxCaptionStr, |
368d20e8 RD |
14952 | long style=wxOK|wxCANCEL|wxCENTRE, |
14953 | Point pos=DefaultPosition) -> MessageDialog</autodoc> | |
781d2982 | 14954 | <docstring>Constructor, use `ShowModal` to display the dialog.</docstring> |
f32fc4bc RD |
14955 | <paramlist> |
14956 | <param name="parent" type="Window" default=""/> | |
14957 | <param name="message" type="String" default=""/> | |
14958 | <param name="caption" type="String" default="wxPyMessageBoxCaptionStr"/> | |
14959 | <param name="style" type="long" default="wxOK|wxCANCEL|wxCENTRE"/> | |
14960 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
14961 | </paramlist> | |
14962 | </constructor> | |
f32fc4bc | 14963 | </class> |
781d2982 RD |
14964 | <class name="ProgressDialog" oldname="wxProgressDialog" module="_windows"> |
14965 | <docstring>A dialog that shows a short message and a progress bar. Optionally, it | |
ce6878e6 RD |
14966 | can display an ABORT button. |
14967 | ||
14968 | Window Styles | |
14969 | -------------- | |
14970 | ==================== ============================================= | |
14971 | wx.PD_APP_MODAL Make the progress dialog modal. If this flag is | |
14972 | not given, it is only "locally" modal - | |
14973 | that is the input to the parent window is | |
14974 | disabled, but not to the other ones. | |
14975 | ||
14976 | wx.PD_AUTO_HIDE Causes the progress dialog to disappear from | |
14977 | screen as soon as the maximum value of the | |
14978 | progress meter has been reached. | |
14979 | ||
14980 | wx.PD_CAN_ABORT This flag tells the dialog that it should have | |
14981 | a "Cancel" button which the user may press. If | |
14982 | this happens, the next call to Update() will | |
14983 | return false. | |
14984 | ||
14985 | wx.PD_ELAPSED_TIME This flag tells the dialog that it should show | |
14986 | elapsed time (since creating the dialog). | |
14987 | ||
14988 | wx.PD_ESTIMATED_TIME This flag tells the dialog that it should show | |
14989 | estimated time. | |
14990 | ||
14991 | wx.PD_REMAINING_TIME This flag tells the dialog that it should show | |
14992 | remaining time. | |
14993 | ==================== ============================================= | |
14994 | </docstring> | |
f32fc4bc RD |
14995 | <baseclass name="Frame"/> |
14996 | <constructor name="ProgressDialog" overloaded="no"> | |
781d2982 | 14997 | <autodoc>__init__(self, String title, String message, int maximum=100, Window parent=None, |
856bf319 | 14998 | int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog</autodoc> |
781d2982 RD |
14999 | <docstring>Constructor. Creates the dialog, displays it and disables user input |
15000 | for other windows, or, if wx.PD_APP_MODAL flag is not given, for its | |
15001 | parent window only.</docstring> | |
f32fc4bc RD |
15002 | <paramlist> |
15003 | <param name="title" type="String" default=""/> | |
15004 | <param name="message" type="String" default=""/> | |
15005 | <param name="maximum" type="int" default="100"/> | |
15006 | <param name="parent" type="Window" default="NULL"/> | |
15007 | <param name="style" type="int" default="wxPD_AUTO_HIDE|wxPD_APP_MODAL"/> | |
15008 | </paramlist> | |
15009 | </constructor> | |
15010 | <method name="Update" type="bool" overloaded="no"> | |
781d2982 RD |
15011 | <autodoc>Update(self, int value, String newmsg=EmptyString) -> bool</autodoc> |
15012 | <docstring>Updates the dialog, setting the progress bar to the new value and, if | |
ce6878e6 RD |
15013 | given changes the message above it. The value given should be less |
15014 | than or equal to the maximum value given to the constructor and the | |
15015 | dialog is closed if it is equal to the maximum. Returns true unless | |
15016 | the Cancel button has been pressed. | |
c2dda882 | 15017 | |
781d2982 RD |
15018 | If false is returned, the application can either immediately destroy |
15019 | the dialog or ask the user for the confirmation and if the abort is | |
15020 | not confirmed the dialog may be resumed with Resume function.</docstring> | |
f32fc4bc RD |
15021 | <paramlist> |
15022 | <param name="value" type="int" default=""/> | |
15023 | <param name="newmsg" type="String" default="wxPyEmptyString"/> | |
15024 | </paramlist> | |
15025 | </method> | |
15026 | <method name="Resume" type="" overloaded="no"> | |
781d2982 RD |
15027 | <autodoc>Resume(self)</autodoc> |
15028 | <docstring>Can be used to continue with the dialog, after the user had chosen to | |
15029 | abort.</docstring> | |
f32fc4bc RD |
15030 | </method> |
15031 | </class> | |
15032 | <pythoncode> | |
856bf319 RD |
15033 | EVT_FIND = wx.PyEventBinder( wxEVT_COMMAND_FIND, 1 ) |
15034 | EVT_FIND_NEXT = wx.PyEventBinder( wxEVT_COMMAND_FIND_NEXT, 1 ) | |
15035 | EVT_FIND_REPLACE = wx.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE, 1 ) | |
15036 | EVT_FIND_REPLACE_ALL = wx.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL, 1 ) | |
15037 | EVT_FIND_CLOSE = wx.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE, 1 ) | |
15038 | ||
15039 | # For backwards compatibility. Should they be removed? | |
15040 | EVT_COMMAND_FIND = EVT_FIND | |
15041 | EVT_COMMAND_FIND_NEXT = EVT_FIND_NEXT | |
15042 | EVT_COMMAND_FIND_REPLACE = EVT_FIND_REPLACE | |
15043 | EVT_COMMAND_FIND_REPLACE_ALL = EVT_FIND_REPLACE_ALL | |
15044 | EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE | |
15045 | </pythoncode> | |
781d2982 | 15046 | <class name="FindDialogEvent" oldname="wxFindDialogEvent" module="_windows"> |
c2dda882 | 15047 | <docstring>Events for the FindReplaceDialog</docstring> |
f32fc4bc RD |
15048 | <baseclass name="CommandEvent"/> |
15049 | <constructor name="FindDialogEvent" overloaded="no"> | |
781d2982 | 15050 | <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent</autodoc> |
c2dda882 | 15051 | <docstring>Events for the FindReplaceDialog</docstring> |
f32fc4bc RD |
15052 | <paramlist> |
15053 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
15054 | <param name="id" type="int" default="0"/> | |
15055 | </paramlist> | |
15056 | </constructor> | |
15057 | <method name="GetFlags" type="int" overloaded="no"> | |
781d2982 | 15058 | <autodoc>GetFlags(self) -> int</autodoc> |
c2dda882 RD |
15059 | <docstring>Get the currently selected flags: this is the combination of |
15060 | wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.</docstring> | |
f32fc4bc RD |
15061 | </method> |
15062 | <method name="GetFindString" type="String" overloaded="no"> | |
781d2982 | 15063 | <autodoc>GetFindString(self) -> String</autodoc> |
c2dda882 | 15064 | <docstring>Return the string to find (never empty).</docstring> |
f32fc4bc RD |
15065 | </method> |
15066 | <method name="GetReplaceString" type="String" overloaded="no"> | |
781d2982 RD |
15067 | <autodoc>GetReplaceString(self) -> String</autodoc> |
15068 | <docstring>Return the string to replace the search string with (only for replace | |
15069 | and replace all events).</docstring> | |
f32fc4bc RD |
15070 | </method> |
15071 | <method name="GetDialog" type="wxFindReplaceDialog" overloaded="no"> | |
781d2982 | 15072 | <autodoc>GetDialog(self) -> FindReplaceDialog</autodoc> |
c2dda882 | 15073 | <docstring>Return the pointer to the dialog which generated this event.</docstring> |
f32fc4bc RD |
15074 | </method> |
15075 | <method name="SetFlags" type="" overloaded="no"> | |
781d2982 | 15076 | <autodoc>SetFlags(self, int flags)</autodoc> |
f32fc4bc RD |
15077 | <paramlist> |
15078 | <param name="flags" type="int" default=""/> | |
15079 | </paramlist> | |
15080 | </method> | |
15081 | <method name="SetFindString" type="" overloaded="no"> | |
781d2982 | 15082 | <autodoc>SetFindString(self, String str)</autodoc> |
f32fc4bc RD |
15083 | <paramlist> |
15084 | <param name="str" type="String" default=""/> | |
15085 | </paramlist> | |
15086 | </method> | |
15087 | <method name="SetReplaceString" type="" overloaded="no"> | |
781d2982 | 15088 | <autodoc>SetReplaceString(self, String str)</autodoc> |
f32fc4bc RD |
15089 | <paramlist> |
15090 | <param name="str" type="String" default=""/> | |
15091 | </paramlist> | |
15092 | </method> | |
15093 | </class> | |
781d2982 RD |
15094 | <class name="FindReplaceData" oldname="wxFindReplaceData" module="_windows"> |
15095 | <docstring>wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used | |
15096 | to initialize the dialog with the default values and will keep the | |
15097 | last values from the dialog when it is closed. It is also updated each | |
15098 | time a `wx.FindDialogEvent` is generated so instead of using the | |
15099 | `wx.FindDialogEvent` methods you can also directly query this object. | |
c2dda882 | 15100 | |
781d2982 | 15101 | Note that all SetXXX() methods may only be called before showing the |
ce6878e6 RD |
15102 | dialog and calling them has no effect later. |
15103 | ||
15104 | Flags | |
15105 | ----- | |
15106 | ================ =============================================== | |
15107 | wx.FR_DOWN Downward search/replace selected (otherwise, | |
15108 | upwards) | |
15109 | ||
15110 | wx.FR_WHOLEWORD Whole word search/replace selected | |
15111 | ||
15112 | wx.FR_MATCHCASE Case sensitive search/replace selected | |
15113 | (otherwise, case insensitive) | |
15114 | ================ =============================================== | |
15115 | </docstring> | |
f32fc4bc RD |
15116 | <baseclass name="Object"/> |
15117 | <constructor name="FindReplaceData" overloaded="no"> | |
781d2982 | 15118 | <autodoc>__init__(self, int flags=0) -> FindReplaceData</autodoc> |
c2dda882 | 15119 | <docstring>Constuctor initializes the flags to default value (0).</docstring> |
f32fc4bc RD |
15120 | <paramlist> |
15121 | <param name="flags" type="int" default="0"/> | |
15122 | </paramlist> | |
15123 | </constructor> | |
15124 | <destructor name="~wxFindReplaceData" overloaded="no"> | |
781d2982 | 15125 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
15126 | </destructor> |
15127 | <method name="GetFindString" type="String" overloaded="no"> | |
781d2982 | 15128 | <autodoc>GetFindString(self) -> String</autodoc> |
c2dda882 | 15129 | <docstring>Get the string to find.</docstring> |
f32fc4bc RD |
15130 | </method> |
15131 | <method name="GetReplaceString" type="String" overloaded="no"> | |
781d2982 | 15132 | <autodoc>GetReplaceString(self) -> String</autodoc> |
c2dda882 | 15133 | <docstring>Get the replacement string.</docstring> |
f32fc4bc RD |
15134 | </method> |
15135 | <method name="GetFlags" type="int" overloaded="no"> | |
781d2982 | 15136 | <autodoc>GetFlags(self) -> int</autodoc> |
c2dda882 | 15137 | <docstring>Get the combination of flag values.</docstring> |
f32fc4bc RD |
15138 | </method> |
15139 | <method name="SetFlags" type="" overloaded="no"> | |
781d2982 | 15140 | <autodoc>SetFlags(self, int flags)</autodoc> |
c2dda882 | 15141 | <docstring>Set the flags to use to initialize the controls of the dialog.</docstring> |
f32fc4bc RD |
15142 | <paramlist> |
15143 | <param name="flags" type="int" default=""/> | |
15144 | </paramlist> | |
15145 | </method> | |
15146 | <method name="SetFindString" type="" overloaded="no"> | |
781d2982 | 15147 | <autodoc>SetFindString(self, String str)</autodoc> |
c2dda882 | 15148 | <docstring>Set the string to find (used as initial value by the dialog).</docstring> |
f32fc4bc RD |
15149 | <paramlist> |
15150 | <param name="str" type="String" default=""/> | |
15151 | </paramlist> | |
15152 | </method> | |
15153 | <method name="SetReplaceString" type="" overloaded="no"> | |
781d2982 | 15154 | <autodoc>SetReplaceString(self, String str)</autodoc> |
c2dda882 | 15155 | <docstring>Set the replacement string (used as initial value by the dialog).</docstring> |
f32fc4bc RD |
15156 | <paramlist> |
15157 | <param name="str" type="String" default=""/> | |
15158 | </paramlist> | |
15159 | </method> | |
15160 | </class> | |
781d2982 RD |
15161 | <class name="FindReplaceDialog" oldname="wxFindReplaceDialog" module="_windows"> |
15162 | <docstring>wx.FindReplaceDialog is a standard modeless dialog which is used to | |
15163 | allow the user to search for some text (and possibly replace it with | |
15164 | something else). The actual searching is supposed to be done in the | |
15165 | owner window which is the parent of this dialog. Note that it means | |
15166 | that unlike for the other standard dialogs this one must have a parent | |
15167 | window. Also note that there is no way to use this dialog in a modal | |
ce6878e6 RD |
15168 | way; it is always, by design and implementation, modeless. |
15169 | ||
15170 | ||
15171 | Window Styles | |
15172 | ------------- | |
15173 | ||
15174 | ===================== ========================================= | |
15175 | wx.FR_REPLACEDIALOG replace dialog (otherwise find dialog) | |
15176 | ||
15177 | wx.FR_NOUPDOWN don't allow changing the search direction | |
15178 | ||
15179 | wx.FR_NOMATCHCASE don't allow case sensitive searching | |
15180 | ||
15181 | wx.FR_NOWHOLEWORD don't allow whole word searching | |
15182 | ===================== ========================================= | |
15183 | </docstring> | |
f32fc4bc RD |
15184 | <baseclass name="Dialog"/> |
15185 | <constructor name="FindReplaceDialog" overloaded="no"> | |
781d2982 | 15186 | <autodoc>__init__(self, Window parent, FindReplaceData data, String title, |
856bf319 | 15187 | int style=0) -> FindReplaceDialog</autodoc> |
c2dda882 RD |
15188 | <docstring>Create a FindReplaceDialog. The parent and data parameters must be |
15189 | non-None. Use Show to display the dialog.</docstring> | |
f32fc4bc RD |
15190 | <paramlist> |
15191 | <param name="parent" type="Window" default=""/> | |
15192 | <param name="data" type="FindReplaceData" default=""/> | |
15193 | <param name="title" type="String" default=""/> | |
15194 | <param name="style" type="int" default="0"/> | |
15195 | </paramlist> | |
15196 | </constructor> | |
15197 | <constructor name="PreFindReplaceDialog" overloaded="no"> | |
15198 | <autodoc>PreFindReplaceDialog() -> FindReplaceDialog</autodoc> | |
c2dda882 | 15199 | <docstring>Precreate a FindReplaceDialog for 2-phase creation</docstring> |
f32fc4bc RD |
15200 | </constructor> |
15201 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 15202 | <autodoc>Create(self, Window parent, FindReplaceData data, String title, |
856bf319 | 15203 | int style=0) -> bool</autodoc> |
c2dda882 | 15204 | <docstring>Create the dialog, for 2-phase create.</docstring> |
f32fc4bc RD |
15205 | <paramlist> |
15206 | <param name="parent" type="Window" default=""/> | |
15207 | <param name="data" type="FindReplaceData" default=""/> | |
15208 | <param name="title" type="String" default=""/> | |
15209 | <param name="style" type="int" default="0"/> | |
15210 | </paramlist> | |
15211 | </method> | |
15212 | <method name="GetData" type="FindReplaceData" overloaded="no"> | |
781d2982 | 15213 | <autodoc>GetData(self) -> FindReplaceData</autodoc> |
c2dda882 | 15214 | <docstring>Get the FindReplaceData object used by this dialog.</docstring> |
f32fc4bc RD |
15215 | </method> |
15216 | <method name="SetData" type="" overloaded="no"> | |
781d2982 | 15217 | <autodoc>SetData(self, FindReplaceData data)</autodoc> |
c2dda882 | 15218 | <docstring>Set the FindReplaceData object used by this dialog.</docstring> |
f32fc4bc RD |
15219 | <paramlist> |
15220 | <param name="data" type="FindReplaceData" default=""/> | |
15221 | </paramlist> | |
15222 | </method> | |
15223 | </class> | |
15224 | <pythoncode> | |
856bf319 RD |
15225 | #--------------------------------------------------------------------------- |
15226 | </pythoncode> | |
781d2982 | 15227 | <class name="MDIParentFrame" oldname="wxMDIParentFrame" module="_windows"> |
f32fc4bc RD |
15228 | <baseclass name="Frame"/> |
15229 | <constructor name="MDIParentFrame" overloaded="no"> | |
781d2982 RD |
15230 | <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString, |
15231 | Point pos=DefaultPosition, Size size=DefaultSize, | |
15232 | long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, | |
856bf319 | 15233 | String name=FrameNameStr) -> MDIParentFrame</autodoc> |
f32fc4bc RD |
15234 | <paramlist> |
15235 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
15236 | <param name="id" type="int" default="-1"/> |
15237 | <param name="title" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
15238 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
15239 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15240 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL"/> | |
15241 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
15242 | </paramlist> | |
15243 | </constructor> | |
15244 | <constructor name="PreMDIParentFrame" overloaded="no"> | |
15245 | <autodoc>PreMDIParentFrame() -> MDIParentFrame</autodoc> | |
15246 | </constructor> | |
15247 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
15248 | <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString, |
15249 | Point pos=DefaultPosition, Size size=DefaultSize, | |
15250 | long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, | |
856bf319 | 15251 | String name=FrameNameStr) -> bool</autodoc> |
f32fc4bc RD |
15252 | <paramlist> |
15253 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
15254 | <param name="id" type="int" default="-1"/> |
15255 | <param name="title" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
15256 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
15257 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15258 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL"/> | |
15259 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
15260 | </paramlist> | |
15261 | </method> | |
15262 | <method name="ActivateNext" type="" overloaded="no"> | |
781d2982 | 15263 | <autodoc>ActivateNext(self)</autodoc> |
f32fc4bc RD |
15264 | </method> |
15265 | <method name="ActivatePrevious" type="" overloaded="no"> | |
781d2982 | 15266 | <autodoc>ActivatePrevious(self)</autodoc> |
f32fc4bc RD |
15267 | </method> |
15268 | <method name="ArrangeIcons" type="" overloaded="no"> | |
781d2982 | 15269 | <autodoc>ArrangeIcons(self)</autodoc> |
f32fc4bc RD |
15270 | </method> |
15271 | <method name="Cascade" type="" overloaded="no"> | |
781d2982 | 15272 | <autodoc>Cascade(self)</autodoc> |
f32fc4bc RD |
15273 | </method> |
15274 | <method name="GetActiveChild" type="wxMDIChildFrame" overloaded="no"> | |
781d2982 | 15275 | <autodoc>GetActiveChild(self) -> MDIChildFrame</autodoc> |
f32fc4bc RD |
15276 | </method> |
15277 | <method name="GetClientWindow" type="wxMDIClientWindow" overloaded="no"> | |
781d2982 | 15278 | <autodoc>GetClientWindow(self) -> MDIClientWindow</autodoc> |
f32fc4bc RD |
15279 | </method> |
15280 | <method name="GetToolBar" type="Window" overloaded="no"> | |
781d2982 | 15281 | <autodoc>GetToolBar(self) -> Window</autodoc> |
f32fc4bc RD |
15282 | </method> |
15283 | <method name="Tile" type="" overloaded="no"> | |
781d2982 | 15284 | <autodoc>Tile(self)</autodoc> |
f32fc4bc RD |
15285 | </method> |
15286 | </class> | |
781d2982 | 15287 | <class name="MDIChildFrame" oldname="wxMDIChildFrame" module="_windows"> |
f32fc4bc RD |
15288 | <baseclass name="Frame"/> |
15289 | <constructor name="MDIChildFrame" overloaded="no"> | |
781d2982 RD |
15290 | <autodoc>__init__(self, MDIParentFrame parent, int id=-1, String title=EmptyString, |
15291 | Point pos=DefaultPosition, Size size=DefaultSize, | |
15292 | long style=DEFAULT_FRAME_STYLE, | |
856bf319 | 15293 | String name=FrameNameStr) -> MDIChildFrame</autodoc> |
f32fc4bc RD |
15294 | <paramlist> |
15295 | <param name="parent" type="MDIParentFrame" default=""/> | |
781d2982 RD |
15296 | <param name="id" type="int" default="-1"/> |
15297 | <param name="title" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
15298 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
15299 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15300 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
15301 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
15302 | </paramlist> | |
15303 | </constructor> | |
15304 | <constructor name="PreMDIChildFrame" overloaded="no"> | |
15305 | <autodoc>PreMDIChildFrame() -> MDIChildFrame</autodoc> | |
15306 | </constructor> | |
15307 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
15308 | <autodoc>Create(self, MDIParentFrame parent, int id=-1, String title=EmptyString, |
15309 | Point pos=DefaultPosition, Size size=DefaultSize, | |
15310 | long style=DEFAULT_FRAME_STYLE, | |
856bf319 | 15311 | String name=FrameNameStr) -> bool</autodoc> |
f32fc4bc RD |
15312 | <paramlist> |
15313 | <param name="parent" type="MDIParentFrame" default=""/> | |
781d2982 RD |
15314 | <param name="id" type="int" default="-1"/> |
15315 | <param name="title" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
15316 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
15317 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15318 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
15319 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
15320 | </paramlist> | |
15321 | </method> | |
15322 | <method name="Activate" type="" overloaded="no"> | |
781d2982 | 15323 | <autodoc>Activate(self)</autodoc> |
f32fc4bc RD |
15324 | </method> |
15325 | <method name="Maximize" type="" overloaded="no"> | |
781d2982 | 15326 | <autodoc>Maximize(self, bool maximize)</autodoc> |
f32fc4bc RD |
15327 | <paramlist> |
15328 | <param name="maximize" type="bool" default=""/> | |
15329 | </paramlist> | |
15330 | </method> | |
15331 | <method name="Restore" type="" overloaded="no"> | |
781d2982 | 15332 | <autodoc>Restore(self)</autodoc> |
f32fc4bc RD |
15333 | </method> |
15334 | </class> | |
781d2982 | 15335 | <class name="MDIClientWindow" oldname="wxMDIClientWindow" module="_windows"> |
f32fc4bc RD |
15336 | <baseclass name="Window"/> |
15337 | <constructor name="MDIClientWindow" overloaded="no"> | |
781d2982 | 15338 | <autodoc>__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow</autodoc> |
f32fc4bc RD |
15339 | <paramlist> |
15340 | <param name="parent" type="MDIParentFrame" default=""/> | |
15341 | <param name="style" type="long" default="0"/> | |
15342 | </paramlist> | |
15343 | </constructor> | |
15344 | <constructor name="PreMDIClientWindow" overloaded="no"> | |
15345 | <autodoc>PreMDIClientWindow() -> MDIClientWindow</autodoc> | |
15346 | </constructor> | |
15347 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 15348 | <autodoc>Create(self, MDIParentFrame parent, long style=0) -> bool</autodoc> |
f32fc4bc RD |
15349 | <paramlist> |
15350 | <param name="parent" type="MDIParentFrame" default=""/> | |
15351 | <param name="style" type="long" default="0"/> | |
15352 | </paramlist> | |
15353 | </method> | |
15354 | </class> | |
15355 | <pythoncode> | |
856bf319 RD |
15356 | #--------------------------------------------------------------------------- |
15357 | </pythoncode> | |
781d2982 | 15358 | <class name="PyWindow" oldname="wxPyWindow" module="_windows"> |
f32fc4bc RD |
15359 | <baseclass name="Window"/> |
15360 | <constructor name="PyWindow" overloaded="no"> | |
781d2982 RD |
15361 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
15362 | Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyWindow</autodoc> | |
f32fc4bc RD |
15363 | <paramlist> |
15364 | <param name="parent" type="Window" default=""/> | |
781d2982 | 15365 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
15366 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
15367 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15368 | <param name="style" type="long" default="0"/> | |
15369 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
15370 | </paramlist> | |
15371 | </constructor> | |
781d2982 RD |
15372 | <constructor name="PrePyWindow" overloaded="no"> |
15373 | <autodoc>PrePyWindow() -> PyWindow</autodoc> | |
15374 | </constructor> | |
f32fc4bc | 15375 | <method name="_setCallbackInfo" type="" overloaded="no"> |
781d2982 | 15376 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
15377 | <paramlist> |
15378 | <param name="self" type="PyObject" default=""/> | |
15379 | <param name="_class" type="PyObject" default=""/> | |
15380 | </paramlist> | |
15381 | </method> | |
781d2982 RD |
15382 | <method name="SetBestSize" type="" overloaded="no"> |
15383 | <autodoc>SetBestSize(self, Size size)</autodoc> | |
15384 | <paramlist> | |
15385 | <param name="size" type="Size" default=""/> | |
15386 | </paramlist> | |
15387 | </method> | |
f32fc4bc | 15388 | <method name="base_DoMoveWindow" type="" overloaded="no"> |
781d2982 | 15389 | <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc> |
f32fc4bc RD |
15390 | <paramlist> |
15391 | <param name="x" type="int" default=""/> | |
15392 | <param name="y" type="int" default=""/> | |
15393 | <param name="width" type="int" default=""/> | |
15394 | <param name="height" type="int" default=""/> | |
15395 | </paramlist> | |
15396 | </method> | |
15397 | <method name="base_DoSetSize" type="" overloaded="no"> | |
781d2982 | 15398 | <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc> |
f32fc4bc RD |
15399 | <paramlist> |
15400 | <param name="x" type="int" default=""/> | |
15401 | <param name="y" type="int" default=""/> | |
15402 | <param name="width" type="int" default=""/> | |
15403 | <param name="height" type="int" default=""/> | |
15404 | <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/> | |
15405 | </paramlist> | |
15406 | </method> | |
15407 | <method name="base_DoSetClientSize" type="" overloaded="no"> | |
781d2982 | 15408 | <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc> |
f32fc4bc RD |
15409 | <paramlist> |
15410 | <param name="width" type="int" default=""/> | |
15411 | <param name="height" type="int" default=""/> | |
15412 | </paramlist> | |
15413 | </method> | |
15414 | <method name="base_DoSetVirtualSize" type="" overloaded="no"> | |
781d2982 | 15415 | <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc> |
f32fc4bc RD |
15416 | <paramlist> |
15417 | <param name="x" type="int" default=""/> | |
15418 | <param name="y" type="int" default=""/> | |
15419 | </paramlist> | |
15420 | </method> | |
15421 | <method name="base_DoGetSize" type="" overloaded="no"> | |
15422 | <autodoc>base_DoGetSize() -> (width, height)</autodoc> | |
15423 | <paramlist> | |
15424 | <param name="OUTPUT" type="int" default=""/> | |
15425 | <param name="OUTPUT" type="int" default=""/> | |
15426 | </paramlist> | |
15427 | </method> | |
15428 | <method name="base_DoGetClientSize" type="" overloaded="no"> | |
15429 | <autodoc>base_DoGetClientSize() -> (width, height)</autodoc> | |
15430 | <paramlist> | |
15431 | <param name="OUTPUT" type="int" default=""/> | |
15432 | <param name="OUTPUT" type="int" default=""/> | |
15433 | </paramlist> | |
15434 | </method> | |
15435 | <method name="base_DoGetPosition" type="" overloaded="no"> | |
15436 | <autodoc>base_DoGetPosition() -> (x,y)</autodoc> | |
15437 | <paramlist> | |
15438 | <param name="OUTPUT" type="int" default=""/> | |
15439 | <param name="OUTPUT" type="int" default=""/> | |
15440 | </paramlist> | |
15441 | </method> | |
15442 | <method name="base_DoGetVirtualSize" type="Size" overloaded="no"> | |
781d2982 | 15443 | <autodoc>base_DoGetVirtualSize(self) -> Size</autodoc> |
f32fc4bc RD |
15444 | </method> |
15445 | <method name="base_DoGetBestSize" type="Size" overloaded="no"> | |
781d2982 | 15446 | <autodoc>base_DoGetBestSize(self) -> Size</autodoc> |
f32fc4bc RD |
15447 | </method> |
15448 | <method name="base_InitDialog" type="" overloaded="no"> | |
781d2982 | 15449 | <autodoc>base_InitDialog(self)</autodoc> |
f32fc4bc RD |
15450 | </method> |
15451 | <method name="base_TransferDataToWindow" type="bool" overloaded="no"> | |
781d2982 | 15452 | <autodoc>base_TransferDataToWindow(self) -> bool</autodoc> |
f32fc4bc RD |
15453 | </method> |
15454 | <method name="base_TransferDataFromWindow" type="bool" overloaded="no"> | |
781d2982 | 15455 | <autodoc>base_TransferDataFromWindow(self) -> bool</autodoc> |
f32fc4bc RD |
15456 | </method> |
15457 | <method name="base_Validate" type="bool" overloaded="no"> | |
781d2982 | 15458 | <autodoc>base_Validate(self) -> bool</autodoc> |
f32fc4bc RD |
15459 | </method> |
15460 | <method name="base_AcceptsFocus" type="bool" overloaded="no"> | |
781d2982 | 15461 | <autodoc>base_AcceptsFocus(self) -> bool</autodoc> |
f32fc4bc RD |
15462 | </method> |
15463 | <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no"> | |
781d2982 | 15464 | <autodoc>base_AcceptsFocusFromKeyboard(self) -> bool</autodoc> |
f32fc4bc RD |
15465 | </method> |
15466 | <method name="base_GetMaxSize" type="Size" overloaded="no"> | |
781d2982 | 15467 | <autodoc>base_GetMaxSize(self) -> Size</autodoc> |
f32fc4bc RD |
15468 | </method> |
15469 | <method name="base_AddChild" type="" overloaded="no"> | |
781d2982 | 15470 | <autodoc>base_AddChild(self, Window child)</autodoc> |
f32fc4bc RD |
15471 | <paramlist> |
15472 | <param name="child" type="Window" default=""/> | |
15473 | </paramlist> | |
15474 | </method> | |
15475 | <method name="base_RemoveChild" type="" overloaded="no"> | |
781d2982 | 15476 | <autodoc>base_RemoveChild(self, Window child)</autodoc> |
f32fc4bc RD |
15477 | <paramlist> |
15478 | <param name="child" type="Window" default=""/> | |
15479 | </paramlist> | |
15480 | </method> | |
781d2982 RD |
15481 | <method name="base_ShouldInheritColours" type="bool" overloaded="no"> |
15482 | <autodoc>base_ShouldInheritColours(self) -> bool</autodoc> | |
15483 | </method> | |
15484 | <method name="base_ApplyParentThemeBackground" type="" overloaded="no"> | |
15485 | <autodoc>base_ApplyParentThemeBackground(self, Colour c)</autodoc> | |
15486 | <paramlist> | |
15487 | <param name="c" type="Colour" default=""/> | |
15488 | </paramlist> | |
15489 | </method> | |
15490 | <method name="base_GetDefaultAttributes" type="VisualAttributes" overloaded="no"> | |
15491 | <autodoc>base_GetDefaultAttributes(self) -> VisualAttributes</autodoc> | |
15492 | </method> | |
f32fc4bc | 15493 | </class> |
781d2982 | 15494 | <class name="PyPanel" oldname="wxPyPanel" module="_windows"> |
f32fc4bc RD |
15495 | <baseclass name="Panel"/> |
15496 | <constructor name="PyPanel" overloaded="no"> | |
781d2982 RD |
15497 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
15498 | Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPanel</autodoc> | |
f32fc4bc RD |
15499 | <paramlist> |
15500 | <param name="parent" type="Window" default=""/> | |
781d2982 | 15501 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
15502 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
15503 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15504 | <param name="style" type="long" default="0"/> | |
15505 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
15506 | </paramlist> | |
15507 | </constructor> | |
781d2982 RD |
15508 | <constructor name="PrePyPanel" overloaded="no"> |
15509 | <autodoc>PrePyPanel() -> PyPanel</autodoc> | |
15510 | </constructor> | |
f32fc4bc | 15511 | <method name="_setCallbackInfo" type="" overloaded="no"> |
781d2982 | 15512 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
15513 | <paramlist> |
15514 | <param name="self" type="PyObject" default=""/> | |
15515 | <param name="_class" type="PyObject" default=""/> | |
15516 | </paramlist> | |
15517 | </method> | |
781d2982 RD |
15518 | <method name="SetBestSize" type="" overloaded="no"> |
15519 | <autodoc>SetBestSize(self, Size size)</autodoc> | |
15520 | <paramlist> | |
15521 | <param name="size" type="Size" default=""/> | |
15522 | </paramlist> | |
15523 | </method> | |
f32fc4bc | 15524 | <method name="base_DoMoveWindow" type="" overloaded="no"> |
781d2982 | 15525 | <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc> |
f32fc4bc RD |
15526 | <paramlist> |
15527 | <param name="x" type="int" default=""/> | |
15528 | <param name="y" type="int" default=""/> | |
15529 | <param name="width" type="int" default=""/> | |
15530 | <param name="height" type="int" default=""/> | |
15531 | </paramlist> | |
15532 | </method> | |
15533 | <method name="base_DoSetSize" type="" overloaded="no"> | |
781d2982 | 15534 | <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc> |
f32fc4bc RD |
15535 | <paramlist> |
15536 | <param name="x" type="int" default=""/> | |
15537 | <param name="y" type="int" default=""/> | |
15538 | <param name="width" type="int" default=""/> | |
15539 | <param name="height" type="int" default=""/> | |
15540 | <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/> | |
15541 | </paramlist> | |
15542 | </method> | |
15543 | <method name="base_DoSetClientSize" type="" overloaded="no"> | |
781d2982 | 15544 | <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc> |
f32fc4bc RD |
15545 | <paramlist> |
15546 | <param name="width" type="int" default=""/> | |
15547 | <param name="height" type="int" default=""/> | |
15548 | </paramlist> | |
15549 | </method> | |
15550 | <method name="base_DoSetVirtualSize" type="" overloaded="no"> | |
781d2982 | 15551 | <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc> |
f32fc4bc RD |
15552 | <paramlist> |
15553 | <param name="x" type="int" default=""/> | |
15554 | <param name="y" type="int" default=""/> | |
15555 | </paramlist> | |
15556 | </method> | |
15557 | <method name="base_DoGetSize" type="" overloaded="no"> | |
15558 | <autodoc>base_DoGetSize() -> (width, height)</autodoc> | |
15559 | <paramlist> | |
15560 | <param name="OUTPUT" type="int" default=""/> | |
15561 | <param name="OUTPUT" type="int" default=""/> | |
15562 | </paramlist> | |
15563 | </method> | |
15564 | <method name="base_DoGetClientSize" type="" overloaded="no"> | |
15565 | <autodoc>base_DoGetClientSize() -> (width, height)</autodoc> | |
15566 | <paramlist> | |
15567 | <param name="OUTPUT" type="int" default=""/> | |
15568 | <param name="OUTPUT" type="int" default=""/> | |
15569 | </paramlist> | |
15570 | </method> | |
15571 | <method name="base_DoGetPosition" type="" overloaded="no"> | |
15572 | <autodoc>base_DoGetPosition() -> (x,y)</autodoc> | |
15573 | <paramlist> | |
15574 | <param name="OUTPUT" type="int" default=""/> | |
15575 | <param name="OUTPUT" type="int" default=""/> | |
15576 | </paramlist> | |
15577 | </method> | |
15578 | <method name="base_DoGetVirtualSize" type="Size" overloaded="no"> | |
781d2982 | 15579 | <autodoc>base_DoGetVirtualSize(self) -> Size</autodoc> |
f32fc4bc RD |
15580 | </method> |
15581 | <method name="base_DoGetBestSize" type="Size" overloaded="no"> | |
781d2982 | 15582 | <autodoc>base_DoGetBestSize(self) -> Size</autodoc> |
f32fc4bc RD |
15583 | </method> |
15584 | <method name="base_InitDialog" type="" overloaded="no"> | |
781d2982 | 15585 | <autodoc>base_InitDialog(self)</autodoc> |
f32fc4bc RD |
15586 | </method> |
15587 | <method name="base_TransferDataToWindow" type="bool" overloaded="no"> | |
781d2982 | 15588 | <autodoc>base_TransferDataToWindow(self) -> bool</autodoc> |
f32fc4bc RD |
15589 | </method> |
15590 | <method name="base_TransferDataFromWindow" type="bool" overloaded="no"> | |
781d2982 | 15591 | <autodoc>base_TransferDataFromWindow(self) -> bool</autodoc> |
f32fc4bc RD |
15592 | </method> |
15593 | <method name="base_Validate" type="bool" overloaded="no"> | |
781d2982 | 15594 | <autodoc>base_Validate(self) -> bool</autodoc> |
f32fc4bc RD |
15595 | </method> |
15596 | <method name="base_AcceptsFocus" type="bool" overloaded="no"> | |
781d2982 | 15597 | <autodoc>base_AcceptsFocus(self) -> bool</autodoc> |
f32fc4bc RD |
15598 | </method> |
15599 | <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no"> | |
781d2982 | 15600 | <autodoc>base_AcceptsFocusFromKeyboard(self) -> bool</autodoc> |
f32fc4bc RD |
15601 | </method> |
15602 | <method name="base_GetMaxSize" type="Size" overloaded="no"> | |
781d2982 | 15603 | <autodoc>base_GetMaxSize(self) -> Size</autodoc> |
f32fc4bc RD |
15604 | </method> |
15605 | <method name="base_AddChild" type="" overloaded="no"> | |
781d2982 | 15606 | <autodoc>base_AddChild(self, Window child)</autodoc> |
f32fc4bc RD |
15607 | <paramlist> |
15608 | <param name="child" type="Window" default=""/> | |
15609 | </paramlist> | |
15610 | </method> | |
15611 | <method name="base_RemoveChild" type="" overloaded="no"> | |
781d2982 | 15612 | <autodoc>base_RemoveChild(self, Window child)</autodoc> |
f32fc4bc RD |
15613 | <paramlist> |
15614 | <param name="child" type="Window" default=""/> | |
15615 | </paramlist> | |
15616 | </method> | |
781d2982 RD |
15617 | <method name="base_ShouldInheritColours" type="bool" overloaded="no"> |
15618 | <autodoc>base_ShouldInheritColours(self) -> bool</autodoc> | |
15619 | </method> | |
15620 | <method name="base_ApplyParentThemeBackground" type="" overloaded="no"> | |
15621 | <autodoc>base_ApplyParentThemeBackground(self, Colour c)</autodoc> | |
15622 | <paramlist> | |
15623 | <param name="c" type="Colour" default=""/> | |
15624 | </paramlist> | |
15625 | </method> | |
15626 | <method name="base_GetDefaultAttributes" type="VisualAttributes" overloaded="no"> | |
15627 | <autodoc>base_GetDefaultAttributes(self) -> VisualAttributes</autodoc> | |
15628 | </method> | |
15629 | </class> | |
15630 | <class name="PyScrolledWindow" oldname="wxPyScrolledWindow" module="_windows"> | |
15631 | <baseclass name="ScrolledWindow"/> | |
15632 | <constructor name="PyScrolledWindow" overloaded="no"> | |
15633 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, | |
15634 | Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyScrolledWindow</autodoc> | |
15635 | <paramlist> | |
15636 | <param name="parent" type="Window" default=""/> | |
15637 | <param name="id" type="int" default="-1"/> | |
15638 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
15639 | <param name="size" type="Size" default="wxDefaultSize"/> | |
15640 | <param name="style" type="long" default="0"/> | |
15641 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
15642 | </paramlist> | |
15643 | </constructor> | |
15644 | <constructor name="PrePyScrolledWindow" overloaded="no"> | |
15645 | <autodoc>PrePyScrolledWindow() -> PyScrolledWindow</autodoc> | |
15646 | </constructor> | |
15647 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
15648 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> | |
15649 | <paramlist> | |
15650 | <param name="self" type="PyObject" default=""/> | |
15651 | <param name="_class" type="PyObject" default=""/> | |
15652 | </paramlist> | |
15653 | </method> | |
15654 | <method name="SetBestSize" type="" overloaded="no"> | |
15655 | <autodoc>SetBestSize(self, Size size)</autodoc> | |
15656 | <paramlist> | |
15657 | <param name="size" type="Size" default=""/> | |
15658 | </paramlist> | |
15659 | </method> | |
15660 | <method name="base_DoMoveWindow" type="" overloaded="no"> | |
15661 | <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc> | |
15662 | <paramlist> | |
15663 | <param name="x" type="int" default=""/> | |
15664 | <param name="y" type="int" default=""/> | |
15665 | <param name="width" type="int" default=""/> | |
15666 | <param name="height" type="int" default=""/> | |
15667 | </paramlist> | |
15668 | </method> | |
15669 | <method name="base_DoSetSize" type="" overloaded="no"> | |
15670 | <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc> | |
15671 | <paramlist> | |
15672 | <param name="x" type="int" default=""/> | |
15673 | <param name="y" type="int" default=""/> | |
15674 | <param name="width" type="int" default=""/> | |
15675 | <param name="height" type="int" default=""/> | |
15676 | <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/> | |
15677 | </paramlist> | |
15678 | </method> | |
15679 | <method name="base_DoSetClientSize" type="" overloaded="no"> | |
15680 | <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc> | |
15681 | <paramlist> | |
15682 | <param name="width" type="int" default=""/> | |
15683 | <param name="height" type="int" default=""/> | |
15684 | </paramlist> | |
15685 | </method> | |
15686 | <method name="base_DoSetVirtualSize" type="" overloaded="no"> | |
15687 | <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc> | |
15688 | <paramlist> | |
15689 | <param name="x" type="int" default=""/> | |
15690 | <param name="y" type="int" default=""/> | |
15691 | </paramlist> | |
15692 | </method> | |
15693 | <method name="base_DoGetSize" type="" overloaded="no"> | |
15694 | <autodoc>base_DoGetSize() -> (width, height)</autodoc> | |
15695 | <paramlist> | |
15696 | <param name="OUTPUT" type="int" default=""/> | |
15697 | <param name="OUTPUT" type="int" default=""/> | |
15698 | </paramlist> | |
15699 | </method> | |
15700 | <method name="base_DoGetClientSize" type="" overloaded="no"> | |
15701 | <autodoc>base_DoGetClientSize() -> (width, height)</autodoc> | |
15702 | <paramlist> | |
15703 | <param name="OUTPUT" type="int" default=""/> | |
15704 | <param name="OUTPUT" type="int" default=""/> | |
15705 | </paramlist> | |
15706 | </method> | |
15707 | <method name="base_DoGetPosition" type="" overloaded="no"> | |
15708 | <autodoc>base_DoGetPosition() -> (x,y)</autodoc> | |
15709 | <paramlist> | |
15710 | <param name="OUTPUT" type="int" default=""/> | |
15711 | <param name="OUTPUT" type="int" default=""/> | |
15712 | </paramlist> | |
15713 | </method> | |
15714 | <method name="base_DoGetVirtualSize" type="Size" overloaded="no"> | |
15715 | <autodoc>base_DoGetVirtualSize(self) -> Size</autodoc> | |
15716 | </method> | |
15717 | <method name="base_DoGetBestSize" type="Size" overloaded="no"> | |
15718 | <autodoc>base_DoGetBestSize(self) -> Size</autodoc> | |
15719 | </method> | |
15720 | <method name="base_InitDialog" type="" overloaded="no"> | |
15721 | <autodoc>base_InitDialog(self)</autodoc> | |
15722 | </method> | |
15723 | <method name="base_TransferDataToWindow" type="bool" overloaded="no"> | |
15724 | <autodoc>base_TransferDataToWindow(self) -> bool</autodoc> | |
15725 | </method> | |
15726 | <method name="base_TransferDataFromWindow" type="bool" overloaded="no"> | |
15727 | <autodoc>base_TransferDataFromWindow(self) -> bool</autodoc> | |
15728 | </method> | |
15729 | <method name="base_Validate" type="bool" overloaded="no"> | |
15730 | <autodoc>base_Validate(self) -> bool</autodoc> | |
15731 | </method> | |
15732 | <method name="base_AcceptsFocus" type="bool" overloaded="no"> | |
15733 | <autodoc>base_AcceptsFocus(self) -> bool</autodoc> | |
15734 | </method> | |
15735 | <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no"> | |
15736 | <autodoc>base_AcceptsFocusFromKeyboard(self) -> bool</autodoc> | |
15737 | </method> | |
15738 | <method name="base_GetMaxSize" type="Size" overloaded="no"> | |
15739 | <autodoc>base_GetMaxSize(self) -> Size</autodoc> | |
15740 | </method> | |
15741 | <method name="base_AddChild" type="" overloaded="no"> | |
15742 | <autodoc>base_AddChild(self, Window child)</autodoc> | |
15743 | <paramlist> | |
15744 | <param name="child" type="Window" default=""/> | |
15745 | </paramlist> | |
15746 | </method> | |
15747 | <method name="base_RemoveChild" type="" overloaded="no"> | |
15748 | <autodoc>base_RemoveChild(self, Window child)</autodoc> | |
15749 | <paramlist> | |
15750 | <param name="child" type="Window" default=""/> | |
15751 | </paramlist> | |
15752 | </method> | |
15753 | <method name="base_ShouldInheritColours" type="bool" overloaded="no"> | |
15754 | <autodoc>base_ShouldInheritColours(self) -> bool</autodoc> | |
15755 | </method> | |
15756 | <method name="base_ApplyParentThemeBackground" type="" overloaded="no"> | |
15757 | <autodoc>base_ApplyParentThemeBackground(self, Colour c)</autodoc> | |
15758 | <paramlist> | |
15759 | <param name="c" type="Colour" default=""/> | |
15760 | </paramlist> | |
15761 | </method> | |
15762 | <method name="base_GetDefaultAttributes" type="VisualAttributes" overloaded="no"> | |
15763 | <autodoc>base_GetDefaultAttributes(self) -> VisualAttributes</autodoc> | |
15764 | </method> | |
f32fc4bc RD |
15765 | </class> |
15766 | <pythoncode> | |
856bf319 RD |
15767 | #--------------------------------------------------------------------------- |
15768 | </pythoncode> | |
781d2982 | 15769 | <class name="PrintData" oldname="wxPrintData" module="_windows"> |
f32fc4bc | 15770 | <baseclass name="Object"/> |
781d2982 RD |
15771 | <constructor name="PrintData" overloaded="yes"/> |
15772 | <constructor name="PrintData" overloaded="yes"> | |
15773 | <autodoc>__init__(self) -> PrintData | |
15774 | __init__(self, PrintData data) -> PrintData</autodoc> | |
15775 | <paramlist> | |
15776 | <param name="data" type="PrintData" default=""/> | |
15777 | </paramlist> | |
f32fc4bc RD |
15778 | </constructor> |
15779 | <destructor name="~wxPrintData" overloaded="no"> | |
781d2982 | 15780 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
15781 | </destructor> |
15782 | <method name="GetNoCopies" type="int" overloaded="no"> | |
781d2982 | 15783 | <autodoc>GetNoCopies(self) -> int</autodoc> |
f32fc4bc RD |
15784 | </method> |
15785 | <method name="GetCollate" type="bool" overloaded="no"> | |
781d2982 | 15786 | <autodoc>GetCollate(self) -> bool</autodoc> |
f32fc4bc RD |
15787 | </method> |
15788 | <method name="GetOrientation" type="int" overloaded="no"> | |
781d2982 | 15789 | <autodoc>GetOrientation(self) -> int</autodoc> |
f32fc4bc RD |
15790 | </method> |
15791 | <method name="Ok" type="bool" overloaded="no"> | |
781d2982 | 15792 | <autodoc>Ok(self) -> bool</autodoc> |
f32fc4bc RD |
15793 | </method> |
15794 | <method name="GetPrinterName" type="String" overloaded="no"> | |
781d2982 | 15795 | <autodoc>GetPrinterName(self) -> String</autodoc> |
f32fc4bc RD |
15796 | </method> |
15797 | <method name="GetColour" type="bool" overloaded="no"> | |
781d2982 | 15798 | <autodoc>GetColour(self) -> bool</autodoc> |
f32fc4bc RD |
15799 | </method> |
15800 | <method name="GetDuplex" type="wxDuplexMode" overloaded="no"> | |
781d2982 | 15801 | <autodoc>GetDuplex(self) -> int</autodoc> |
f32fc4bc RD |
15802 | </method> |
15803 | <method name="GetPaperId" type="wxPaperSize" overloaded="no"> | |
781d2982 | 15804 | <autodoc>GetPaperId(self) -> int</autodoc> |
f32fc4bc RD |
15805 | </method> |
15806 | <method name="GetPaperSize" type="Size" overloaded="no"> | |
781d2982 | 15807 | <autodoc>GetPaperSize(self) -> Size</autodoc> |
f32fc4bc RD |
15808 | </method> |
15809 | <method name="GetQuality" type="int" overloaded="no"> | |
781d2982 | 15810 | <autodoc>GetQuality(self) -> int</autodoc> |
f32fc4bc RD |
15811 | </method> |
15812 | <method name="SetNoCopies" type="" overloaded="no"> | |
781d2982 | 15813 | <autodoc>SetNoCopies(self, int v)</autodoc> |
f32fc4bc RD |
15814 | <paramlist> |
15815 | <param name="v" type="int" default=""/> | |
15816 | </paramlist> | |
15817 | </method> | |
15818 | <method name="SetCollate" type="" overloaded="no"> | |
781d2982 | 15819 | <autodoc>SetCollate(self, bool flag)</autodoc> |
f32fc4bc RD |
15820 | <paramlist> |
15821 | <param name="flag" type="bool" default=""/> | |
15822 | </paramlist> | |
15823 | </method> | |
15824 | <method name="SetOrientation" type="" overloaded="no"> | |
781d2982 | 15825 | <autodoc>SetOrientation(self, int orient)</autodoc> |
f32fc4bc RD |
15826 | <paramlist> |
15827 | <param name="orient" type="int" default=""/> | |
15828 | </paramlist> | |
15829 | </method> | |
15830 | <method name="SetPrinterName" type="" overloaded="no"> | |
781d2982 | 15831 | <autodoc>SetPrinterName(self, String name)</autodoc> |
f32fc4bc RD |
15832 | <paramlist> |
15833 | <param name="name" type="String" default=""/> | |
15834 | </paramlist> | |
15835 | </method> | |
15836 | <method name="SetColour" type="" overloaded="no"> | |
781d2982 | 15837 | <autodoc>SetColour(self, bool colour)</autodoc> |
f32fc4bc RD |
15838 | <paramlist> |
15839 | <param name="colour" type="bool" default=""/> | |
15840 | </paramlist> | |
15841 | </method> | |
15842 | <method name="SetDuplex" type="" overloaded="no"> | |
781d2982 | 15843 | <autodoc>SetDuplex(self, int duplex)</autodoc> |
f32fc4bc RD |
15844 | <paramlist> |
15845 | <param name="duplex" type="wxDuplexMode" default=""/> | |
15846 | </paramlist> | |
15847 | </method> | |
15848 | <method name="SetPaperId" type="" overloaded="no"> | |
781d2982 | 15849 | <autodoc>SetPaperId(self, int sizeId)</autodoc> |
f32fc4bc RD |
15850 | <paramlist> |
15851 | <param name="sizeId" type="wxPaperSize" default=""/> | |
15852 | </paramlist> | |
15853 | </method> | |
15854 | <method name="SetPaperSize" type="" overloaded="no"> | |
781d2982 | 15855 | <autodoc>SetPaperSize(self, Size sz)</autodoc> |
f32fc4bc RD |
15856 | <paramlist> |
15857 | <param name="sz" type="Size" default=""/> | |
15858 | </paramlist> | |
15859 | </method> | |
15860 | <method name="SetQuality" type="" overloaded="no"> | |
781d2982 | 15861 | <autodoc>SetQuality(self, int quality)</autodoc> |
f32fc4bc RD |
15862 | <paramlist> |
15863 | <param name="quality" type="int" default=""/> | |
15864 | </paramlist> | |
15865 | </method> | |
15866 | <method name="GetPrinterCommand" type="String" overloaded="no"> | |
781d2982 | 15867 | <autodoc>GetPrinterCommand(self) -> String</autodoc> |
f32fc4bc RD |
15868 | </method> |
15869 | <method name="GetPrinterOptions" type="String" overloaded="no"> | |
781d2982 | 15870 | <autodoc>GetPrinterOptions(self) -> String</autodoc> |
f32fc4bc RD |
15871 | </method> |
15872 | <method name="GetPreviewCommand" type="String" overloaded="no"> | |
781d2982 | 15873 | <autodoc>GetPreviewCommand(self) -> String</autodoc> |
f32fc4bc RD |
15874 | </method> |
15875 | <method name="GetFilename" type="String" overloaded="no"> | |
781d2982 | 15876 | <autodoc>GetFilename(self) -> String</autodoc> |
f32fc4bc RD |
15877 | </method> |
15878 | <method name="GetFontMetricPath" type="String" overloaded="no"> | |
781d2982 | 15879 | <autodoc>GetFontMetricPath(self) -> String</autodoc> |
f32fc4bc RD |
15880 | </method> |
15881 | <method name="GetPrinterScaleX" type="double" overloaded="no"> | |
781d2982 | 15882 | <autodoc>GetPrinterScaleX(self) -> double</autodoc> |
f32fc4bc RD |
15883 | </method> |
15884 | <method name="GetPrinterScaleY" type="double" overloaded="no"> | |
781d2982 | 15885 | <autodoc>GetPrinterScaleY(self) -> double</autodoc> |
f32fc4bc RD |
15886 | </method> |
15887 | <method name="GetPrinterTranslateX" type="long" overloaded="no"> | |
781d2982 | 15888 | <autodoc>GetPrinterTranslateX(self) -> long</autodoc> |
f32fc4bc RD |
15889 | </method> |
15890 | <method name="GetPrinterTranslateY" type="long" overloaded="no"> | |
781d2982 | 15891 | <autodoc>GetPrinterTranslateY(self) -> long</autodoc> |
f32fc4bc RD |
15892 | </method> |
15893 | <method name="GetPrintMode" type="wxPrintMode" overloaded="no"> | |
781d2982 | 15894 | <autodoc>GetPrintMode(self) -> int</autodoc> |
f32fc4bc RD |
15895 | </method> |
15896 | <method name="SetPrinterCommand" type="" overloaded="no"> | |
781d2982 | 15897 | <autodoc>SetPrinterCommand(self, String command)</autodoc> |
f32fc4bc RD |
15898 | <paramlist> |
15899 | <param name="command" type="String" default=""/> | |
15900 | </paramlist> | |
15901 | </method> | |
15902 | <method name="SetPrinterOptions" type="" overloaded="no"> | |
781d2982 | 15903 | <autodoc>SetPrinterOptions(self, String options)</autodoc> |
f32fc4bc RD |
15904 | <paramlist> |
15905 | <param name="options" type="String" default=""/> | |
15906 | </paramlist> | |
15907 | </method> | |
15908 | <method name="SetPreviewCommand" type="" overloaded="no"> | |
781d2982 | 15909 | <autodoc>SetPreviewCommand(self, String command)</autodoc> |
f32fc4bc RD |
15910 | <paramlist> |
15911 | <param name="command" type="String" default=""/> | |
15912 | </paramlist> | |
15913 | </method> | |
15914 | <method name="SetFilename" type="" overloaded="no"> | |
781d2982 | 15915 | <autodoc>SetFilename(self, String filename)</autodoc> |
f32fc4bc RD |
15916 | <paramlist> |
15917 | <param name="filename" type="String" default=""/> | |
15918 | </paramlist> | |
15919 | </method> | |
15920 | <method name="SetFontMetricPath" type="" overloaded="no"> | |
781d2982 | 15921 | <autodoc>SetFontMetricPath(self, String path)</autodoc> |
f32fc4bc RD |
15922 | <paramlist> |
15923 | <param name="path" type="String" default=""/> | |
15924 | </paramlist> | |
15925 | </method> | |
15926 | <method name="SetPrinterScaleX" type="" overloaded="no"> | |
781d2982 | 15927 | <autodoc>SetPrinterScaleX(self, double x)</autodoc> |
f32fc4bc RD |
15928 | <paramlist> |
15929 | <param name="x" type="double" default=""/> | |
15930 | </paramlist> | |
15931 | </method> | |
15932 | <method name="SetPrinterScaleY" type="" overloaded="no"> | |
781d2982 | 15933 | <autodoc>SetPrinterScaleY(self, double y)</autodoc> |
f32fc4bc RD |
15934 | <paramlist> |
15935 | <param name="y" type="double" default=""/> | |
15936 | </paramlist> | |
15937 | </method> | |
15938 | <method name="SetPrinterScaling" type="" overloaded="no"> | |
781d2982 | 15939 | <autodoc>SetPrinterScaling(self, double x, double y)</autodoc> |
f32fc4bc RD |
15940 | <paramlist> |
15941 | <param name="x" type="double" default=""/> | |
15942 | <param name="y" type="double" default=""/> | |
15943 | </paramlist> | |
15944 | </method> | |
15945 | <method name="SetPrinterTranslateX" type="" overloaded="no"> | |
781d2982 | 15946 | <autodoc>SetPrinterTranslateX(self, long x)</autodoc> |
f32fc4bc RD |
15947 | <paramlist> |
15948 | <param name="x" type="long" default=""/> | |
15949 | </paramlist> | |
15950 | </method> | |
15951 | <method name="SetPrinterTranslateY" type="" overloaded="no"> | |
781d2982 | 15952 | <autodoc>SetPrinterTranslateY(self, long y)</autodoc> |
f32fc4bc RD |
15953 | <paramlist> |
15954 | <param name="y" type="long" default=""/> | |
15955 | </paramlist> | |
15956 | </method> | |
15957 | <method name="SetPrinterTranslation" type="" overloaded="no"> | |
781d2982 | 15958 | <autodoc>SetPrinterTranslation(self, long x, long y)</autodoc> |
f32fc4bc RD |
15959 | <paramlist> |
15960 | <param name="x" type="long" default=""/> | |
15961 | <param name="y" type="long" default=""/> | |
15962 | </paramlist> | |
15963 | </method> | |
15964 | <method name="SetPrintMode" type="" overloaded="no"> | |
781d2982 | 15965 | <autodoc>SetPrintMode(self, int printMode)</autodoc> |
f32fc4bc RD |
15966 | <paramlist> |
15967 | <param name="printMode" type="wxPrintMode" default=""/> | |
15968 | </paramlist> | |
15969 | </method> | |
15970 | <method name="GetOutputStream" type="OutputStream" overloaded="no"> | |
781d2982 | 15971 | <autodoc>GetOutputStream(self) -> OutputStream</autodoc> |
f32fc4bc RD |
15972 | </method> |
15973 | <method name="SetOutputStream" type="" overloaded="no"> | |
781d2982 | 15974 | <autodoc>SetOutputStream(self, OutputStream outputstream)</autodoc> |
f32fc4bc RD |
15975 | <paramlist> |
15976 | <param name="outputstream" type="OutputStream" default=""/> | |
15977 | </paramlist> | |
15978 | </method> | |
15979 | </class> | |
781d2982 | 15980 | <class name="PageSetupDialogData" oldname="wxPageSetupDialogData" module="_windows"> |
f32fc4bc | 15981 | <baseclass name="Object"/> |
781d2982 RD |
15982 | <constructor name="PageSetupDialogData" overloaded="yes"/> |
15983 | <constructor name="PageSetupDialogData" overloaded="yes"> | |
15984 | <autodoc>__init__(self) -> PageSetupDialogData | |
15985 | __init__(self, PageSetupDialogData data) -> PageSetupDialogData</autodoc> | |
15986 | <paramlist> | |
15987 | <param name="data" type="PageSetupDialogData" default=""/> | |
15988 | </paramlist> | |
f32fc4bc RD |
15989 | </constructor> |
15990 | <destructor name="~wxPageSetupDialogData" overloaded="no"> | |
781d2982 | 15991 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
15992 | </destructor> |
15993 | <method name="EnableHelp" type="" overloaded="no"> | |
781d2982 | 15994 | <autodoc>EnableHelp(self, bool flag)</autodoc> |
f32fc4bc RD |
15995 | <paramlist> |
15996 | <param name="flag" type="bool" default=""/> | |
15997 | </paramlist> | |
15998 | </method> | |
15999 | <method name="EnableMargins" type="" overloaded="no"> | |
781d2982 | 16000 | <autodoc>EnableMargins(self, bool flag)</autodoc> |
f32fc4bc RD |
16001 | <paramlist> |
16002 | <param name="flag" type="bool" default=""/> | |
16003 | </paramlist> | |
16004 | </method> | |
16005 | <method name="EnableOrientation" type="" overloaded="no"> | |
781d2982 | 16006 | <autodoc>EnableOrientation(self, bool flag)</autodoc> |
f32fc4bc RD |
16007 | <paramlist> |
16008 | <param name="flag" type="bool" default=""/> | |
16009 | </paramlist> | |
16010 | </method> | |
16011 | <method name="EnablePaper" type="" overloaded="no"> | |
781d2982 | 16012 | <autodoc>EnablePaper(self, bool flag)</autodoc> |
f32fc4bc RD |
16013 | <paramlist> |
16014 | <param name="flag" type="bool" default=""/> | |
16015 | </paramlist> | |
16016 | </method> | |
16017 | <method name="EnablePrinter" type="" overloaded="no"> | |
781d2982 | 16018 | <autodoc>EnablePrinter(self, bool flag)</autodoc> |
f32fc4bc RD |
16019 | <paramlist> |
16020 | <param name="flag" type="bool" default=""/> | |
16021 | </paramlist> | |
16022 | </method> | |
16023 | <method name="GetDefaultMinMargins" type="bool" overloaded="no"> | |
781d2982 | 16024 | <autodoc>GetDefaultMinMargins(self) -> bool</autodoc> |
f32fc4bc RD |
16025 | </method> |
16026 | <method name="GetEnableMargins" type="bool" overloaded="no"> | |
781d2982 | 16027 | <autodoc>GetEnableMargins(self) -> bool</autodoc> |
f32fc4bc RD |
16028 | </method> |
16029 | <method name="GetEnableOrientation" type="bool" overloaded="no"> | |
781d2982 | 16030 | <autodoc>GetEnableOrientation(self) -> bool</autodoc> |
f32fc4bc RD |
16031 | </method> |
16032 | <method name="GetEnablePaper" type="bool" overloaded="no"> | |
781d2982 | 16033 | <autodoc>GetEnablePaper(self) -> bool</autodoc> |
f32fc4bc RD |
16034 | </method> |
16035 | <method name="GetEnablePrinter" type="bool" overloaded="no"> | |
781d2982 | 16036 | <autodoc>GetEnablePrinter(self) -> bool</autodoc> |
f32fc4bc RD |
16037 | </method> |
16038 | <method name="GetEnableHelp" type="bool" overloaded="no"> | |
781d2982 | 16039 | <autodoc>GetEnableHelp(self) -> bool</autodoc> |
f32fc4bc RD |
16040 | </method> |
16041 | <method name="GetDefaultInfo" type="bool" overloaded="no"> | |
781d2982 | 16042 | <autodoc>GetDefaultInfo(self) -> bool</autodoc> |
f32fc4bc RD |
16043 | </method> |
16044 | <method name="GetMarginTopLeft" type="Point" overloaded="no"> | |
781d2982 | 16045 | <autodoc>GetMarginTopLeft(self) -> Point</autodoc> |
f32fc4bc RD |
16046 | </method> |
16047 | <method name="GetMarginBottomRight" type="Point" overloaded="no"> | |
781d2982 | 16048 | <autodoc>GetMarginBottomRight(self) -> Point</autodoc> |
f32fc4bc RD |
16049 | </method> |
16050 | <method name="GetMinMarginTopLeft" type="Point" overloaded="no"> | |
781d2982 | 16051 | <autodoc>GetMinMarginTopLeft(self) -> Point</autodoc> |
f32fc4bc RD |
16052 | </method> |
16053 | <method name="GetMinMarginBottomRight" type="Point" overloaded="no"> | |
781d2982 | 16054 | <autodoc>GetMinMarginBottomRight(self) -> Point</autodoc> |
f32fc4bc RD |
16055 | </method> |
16056 | <method name="GetPaperId" type="wxPaperSize" overloaded="no"> | |
781d2982 | 16057 | <autodoc>GetPaperId(self) -> int</autodoc> |
f32fc4bc RD |
16058 | </method> |
16059 | <method name="GetPaperSize" type="Size" overloaded="no"> | |
781d2982 | 16060 | <autodoc>GetPaperSize(self) -> Size</autodoc> |
f32fc4bc RD |
16061 | </method> |
16062 | <method name="GetPrintData" type="PrintData" overloaded="no"> | |
781d2982 | 16063 | <autodoc>GetPrintData(self) -> PrintData</autodoc> |
f32fc4bc RD |
16064 | </method> |
16065 | <method name="Ok" type="bool" overloaded="no"> | |
781d2982 | 16066 | <autodoc>Ok(self) -> bool</autodoc> |
f32fc4bc RD |
16067 | </method> |
16068 | <method name="SetDefaultInfo" type="" overloaded="no"> | |
781d2982 | 16069 | <autodoc>SetDefaultInfo(self, bool flag)</autodoc> |
f32fc4bc RD |
16070 | <paramlist> |
16071 | <param name="flag" type="bool" default=""/> | |
16072 | </paramlist> | |
16073 | </method> | |
16074 | <method name="SetDefaultMinMargins" type="" overloaded="no"> | |
781d2982 | 16075 | <autodoc>SetDefaultMinMargins(self, bool flag)</autodoc> |
f32fc4bc RD |
16076 | <paramlist> |
16077 | <param name="flag" type="bool" default=""/> | |
16078 | </paramlist> | |
16079 | </method> | |
16080 | <method name="SetMarginTopLeft" type="" overloaded="no"> | |
781d2982 | 16081 | <autodoc>SetMarginTopLeft(self, Point pt)</autodoc> |
f32fc4bc RD |
16082 | <paramlist> |
16083 | <param name="pt" type="Point" default=""/> | |
16084 | </paramlist> | |
16085 | </method> | |
16086 | <method name="SetMarginBottomRight" type="" overloaded="no"> | |
781d2982 | 16087 | <autodoc>SetMarginBottomRight(self, Point pt)</autodoc> |
f32fc4bc RD |
16088 | <paramlist> |
16089 | <param name="pt" type="Point" default=""/> | |
16090 | </paramlist> | |
16091 | </method> | |
16092 | <method name="SetMinMarginTopLeft" type="" overloaded="no"> | |
781d2982 | 16093 | <autodoc>SetMinMarginTopLeft(self, Point pt)</autodoc> |
f32fc4bc RD |
16094 | <paramlist> |
16095 | <param name="pt" type="Point" default=""/> | |
16096 | </paramlist> | |
16097 | </method> | |
16098 | <method name="SetMinMarginBottomRight" type="" overloaded="no"> | |
781d2982 | 16099 | <autodoc>SetMinMarginBottomRight(self, Point pt)</autodoc> |
f32fc4bc RD |
16100 | <paramlist> |
16101 | <param name="pt" type="Point" default=""/> | |
16102 | </paramlist> | |
16103 | </method> | |
16104 | <method name="SetPaperId" type="" overloaded="no"> | |
781d2982 | 16105 | <autodoc>SetPaperId(self, int id)</autodoc> |
f32fc4bc RD |
16106 | <paramlist> |
16107 | <param name="id" type="wxPaperSize" default=""/> | |
16108 | </paramlist> | |
16109 | </method> | |
16110 | <method name="SetPaperSize" type="" overloaded="no"> | |
781d2982 | 16111 | <autodoc>SetPaperSize(self, Size size)</autodoc> |
f32fc4bc RD |
16112 | <paramlist> |
16113 | <param name="size" type="Size" default=""/> | |
16114 | </paramlist> | |
16115 | </method> | |
16116 | <method name="SetPrintData" type="" overloaded="no"> | |
781d2982 | 16117 | <autodoc>SetPrintData(self, PrintData printData)</autodoc> |
f32fc4bc RD |
16118 | <paramlist> |
16119 | <param name="printData" type="PrintData" default=""/> | |
16120 | </paramlist> | |
16121 | </method> | |
16122 | </class> | |
781d2982 | 16123 | <class name="PageSetupDialog" oldname="wxPageSetupDialog" module="_windows"> |
f32fc4bc RD |
16124 | <baseclass name="Dialog"/> |
16125 | <constructor name="PageSetupDialog" overloaded="no"> | |
781d2982 | 16126 | <autodoc>__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog</autodoc> |
f32fc4bc RD |
16127 | <paramlist> |
16128 | <param name="parent" type="Window" default=""/> | |
16129 | <param name="data" type="PageSetupDialogData" default="NULL"/> | |
16130 | </paramlist> | |
16131 | </constructor> | |
16132 | <method name="GetPageSetupData" type="PageSetupDialogData" overloaded="no"> | |
781d2982 | 16133 | <autodoc>GetPageSetupData(self) -> PageSetupDialogData</autodoc> |
f32fc4bc RD |
16134 | </method> |
16135 | <method name="ShowModal" type="int" overloaded="no"> | |
781d2982 | 16136 | <autodoc>ShowModal(self) -> int</autodoc> |
f32fc4bc RD |
16137 | </method> |
16138 | </class> | |
781d2982 | 16139 | <class name="PrintDialogData" oldname="wxPrintDialogData" module="_windows"> |
f32fc4bc | 16140 | <baseclass name="Object"/> |
b39e211b RD |
16141 | <constructor name="PrintDialogData" overloaded="yes"/> |
16142 | <constructor name="PrintDialogData" overloaded="yes"> | |
781d2982 RD |
16143 | <autodoc>__init__(self) -> PrintDialogData |
16144 | __init__(self, PrintData printData) -> PrintDialogData</autodoc> | |
b39e211b RD |
16145 | <paramlist> |
16146 | <param name="printData" type="PrintData" default=""/> | |
16147 | </paramlist> | |
f32fc4bc RD |
16148 | </constructor> |
16149 | <destructor name="~wxPrintDialogData" overloaded="no"> | |
781d2982 | 16150 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
16151 | </destructor> |
16152 | <method name="GetFromPage" type="int" overloaded="no"> | |
781d2982 | 16153 | <autodoc>GetFromPage(self) -> int</autodoc> |
f32fc4bc RD |
16154 | </method> |
16155 | <method name="GetToPage" type="int" overloaded="no"> | |
781d2982 | 16156 | <autodoc>GetToPage(self) -> int</autodoc> |
f32fc4bc RD |
16157 | </method> |
16158 | <method name="GetMinPage" type="int" overloaded="no"> | |
781d2982 | 16159 | <autodoc>GetMinPage(self) -> int</autodoc> |
f32fc4bc RD |
16160 | </method> |
16161 | <method name="GetMaxPage" type="int" overloaded="no"> | |
781d2982 | 16162 | <autodoc>GetMaxPage(self) -> int</autodoc> |
f32fc4bc RD |
16163 | </method> |
16164 | <method name="GetNoCopies" type="int" overloaded="no"> | |
781d2982 | 16165 | <autodoc>GetNoCopies(self) -> int</autodoc> |
f32fc4bc RD |
16166 | </method> |
16167 | <method name="GetAllPages" type="bool" overloaded="no"> | |
781d2982 | 16168 | <autodoc>GetAllPages(self) -> bool</autodoc> |
f32fc4bc RD |
16169 | </method> |
16170 | <method name="GetSelection" type="bool" overloaded="no"> | |
781d2982 | 16171 | <autodoc>GetSelection(self) -> bool</autodoc> |
f32fc4bc RD |
16172 | </method> |
16173 | <method name="GetCollate" type="bool" overloaded="no"> | |
781d2982 | 16174 | <autodoc>GetCollate(self) -> bool</autodoc> |
f32fc4bc RD |
16175 | </method> |
16176 | <method name="GetPrintToFile" type="bool" overloaded="no"> | |
781d2982 | 16177 | <autodoc>GetPrintToFile(self) -> bool</autodoc> |
f32fc4bc RD |
16178 | </method> |
16179 | <method name="GetSetupDialog" type="bool" overloaded="no"> | |
781d2982 | 16180 | <autodoc>GetSetupDialog(self) -> bool</autodoc> |
f32fc4bc RD |
16181 | </method> |
16182 | <method name="SetFromPage" type="" overloaded="no"> | |
781d2982 | 16183 | <autodoc>SetFromPage(self, int v)</autodoc> |
f32fc4bc RD |
16184 | <paramlist> |
16185 | <param name="v" type="int" default=""/> | |
16186 | </paramlist> | |
16187 | </method> | |
16188 | <method name="SetToPage" type="" overloaded="no"> | |
781d2982 | 16189 | <autodoc>SetToPage(self, int v)</autodoc> |
f32fc4bc RD |
16190 | <paramlist> |
16191 | <param name="v" type="int" default=""/> | |
16192 | </paramlist> | |
16193 | </method> | |
16194 | <method name="SetMinPage" type="" overloaded="no"> | |
781d2982 | 16195 | <autodoc>SetMinPage(self, int v)</autodoc> |
f32fc4bc RD |
16196 | <paramlist> |
16197 | <param name="v" type="int" default=""/> | |
16198 | </paramlist> | |
16199 | </method> | |
16200 | <method name="SetMaxPage" type="" overloaded="no"> | |
781d2982 | 16201 | <autodoc>SetMaxPage(self, int v)</autodoc> |
f32fc4bc RD |
16202 | <paramlist> |
16203 | <param name="v" type="int" default=""/> | |
16204 | </paramlist> | |
16205 | </method> | |
16206 | <method name="SetNoCopies" type="" overloaded="no"> | |
781d2982 | 16207 | <autodoc>SetNoCopies(self, int v)</autodoc> |
f32fc4bc RD |
16208 | <paramlist> |
16209 | <param name="v" type="int" default=""/> | |
16210 | </paramlist> | |
16211 | </method> | |
16212 | <method name="SetAllPages" type="" overloaded="no"> | |
781d2982 | 16213 | <autodoc>SetAllPages(self, bool flag)</autodoc> |
f32fc4bc RD |
16214 | <paramlist> |
16215 | <param name="flag" type="bool" default=""/> | |
16216 | </paramlist> | |
16217 | </method> | |
16218 | <method name="SetSelection" type="" overloaded="no"> | |
781d2982 | 16219 | <autodoc>SetSelection(self, bool flag)</autodoc> |
f32fc4bc RD |
16220 | <paramlist> |
16221 | <param name="flag" type="bool" default=""/> | |
16222 | </paramlist> | |
16223 | </method> | |
16224 | <method name="SetCollate" type="" overloaded="no"> | |
781d2982 | 16225 | <autodoc>SetCollate(self, bool flag)</autodoc> |
f32fc4bc RD |
16226 | <paramlist> |
16227 | <param name="flag" type="bool" default=""/> | |
16228 | </paramlist> | |
16229 | </method> | |
16230 | <method name="SetPrintToFile" type="" overloaded="no"> | |
781d2982 | 16231 | <autodoc>SetPrintToFile(self, bool flag)</autodoc> |
f32fc4bc RD |
16232 | <paramlist> |
16233 | <param name="flag" type="bool" default=""/> | |
16234 | </paramlist> | |
16235 | </method> | |
16236 | <method name="SetSetupDialog" type="" overloaded="no"> | |
781d2982 | 16237 | <autodoc>SetSetupDialog(self, bool flag)</autodoc> |
f32fc4bc RD |
16238 | <paramlist> |
16239 | <param name="flag" type="bool" default=""/> | |
16240 | </paramlist> | |
16241 | </method> | |
16242 | <method name="EnablePrintToFile" type="" overloaded="no"> | |
781d2982 | 16243 | <autodoc>EnablePrintToFile(self, bool flag)</autodoc> |
f32fc4bc RD |
16244 | <paramlist> |
16245 | <param name="flag" type="bool" default=""/> | |
16246 | </paramlist> | |
16247 | </method> | |
16248 | <method name="EnableSelection" type="" overloaded="no"> | |
781d2982 | 16249 | <autodoc>EnableSelection(self, bool flag)</autodoc> |
f32fc4bc RD |
16250 | <paramlist> |
16251 | <param name="flag" type="bool" default=""/> | |
16252 | </paramlist> | |
16253 | </method> | |
16254 | <method name="EnablePageNumbers" type="" overloaded="no"> | |
781d2982 | 16255 | <autodoc>EnablePageNumbers(self, bool flag)</autodoc> |
f32fc4bc RD |
16256 | <paramlist> |
16257 | <param name="flag" type="bool" default=""/> | |
16258 | </paramlist> | |
16259 | </method> | |
16260 | <method name="EnableHelp" type="" overloaded="no"> | |
781d2982 | 16261 | <autodoc>EnableHelp(self, bool flag)</autodoc> |
f32fc4bc RD |
16262 | <paramlist> |
16263 | <param name="flag" type="bool" default=""/> | |
16264 | </paramlist> | |
16265 | </method> | |
16266 | <method name="GetEnablePrintToFile" type="bool" overloaded="no"> | |
781d2982 | 16267 | <autodoc>GetEnablePrintToFile(self) -> bool</autodoc> |
f32fc4bc RD |
16268 | </method> |
16269 | <method name="GetEnableSelection" type="bool" overloaded="no"> | |
781d2982 | 16270 | <autodoc>GetEnableSelection(self) -> bool</autodoc> |
f32fc4bc RD |
16271 | </method> |
16272 | <method name="GetEnablePageNumbers" type="bool" overloaded="no"> | |
781d2982 | 16273 | <autodoc>GetEnablePageNumbers(self) -> bool</autodoc> |
f32fc4bc RD |
16274 | </method> |
16275 | <method name="GetEnableHelp" type="bool" overloaded="no"> | |
781d2982 | 16276 | <autodoc>GetEnableHelp(self) -> bool</autodoc> |
f32fc4bc RD |
16277 | </method> |
16278 | <method name="Ok" type="bool" overloaded="no"> | |
781d2982 | 16279 | <autodoc>Ok(self) -> bool</autodoc> |
f32fc4bc RD |
16280 | </method> |
16281 | <method name="GetPrintData" type="PrintData" overloaded="no"> | |
781d2982 | 16282 | <autodoc>GetPrintData(self) -> PrintData</autodoc> |
f32fc4bc RD |
16283 | </method> |
16284 | <method name="SetPrintData" type="" overloaded="no"> | |
781d2982 | 16285 | <autodoc>SetPrintData(self, PrintData printData)</autodoc> |
f32fc4bc RD |
16286 | <paramlist> |
16287 | <param name="printData" type="PrintData" default=""/> | |
16288 | </paramlist> | |
16289 | </method> | |
16290 | </class> | |
781d2982 | 16291 | <class name="PrintDialog" oldname="wxPrintDialog" module="_windows"> |
f32fc4bc RD |
16292 | <baseclass name="Dialog"/> |
16293 | <constructor name="PrintDialog" overloaded="no"> | |
781d2982 | 16294 | <autodoc>__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog</autodoc> |
f32fc4bc RD |
16295 | <paramlist> |
16296 | <param name="parent" type="Window" default=""/> | |
16297 | <param name="data" type="PrintDialogData" default="NULL"/> | |
16298 | </paramlist> | |
16299 | </constructor> | |
16300 | <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no"> | |
781d2982 | 16301 | <autodoc>GetPrintDialogData(self) -> PrintDialogData</autodoc> |
f32fc4bc RD |
16302 | </method> |
16303 | <method name="GetPrintDC" type="DC" overloaded="no"> | |
781d2982 | 16304 | <autodoc>GetPrintDC(self) -> DC</autodoc> |
f32fc4bc RD |
16305 | </method> |
16306 | <method name="ShowModal" type="int" overloaded="no"> | |
781d2982 | 16307 | <autodoc>ShowModal(self) -> int</autodoc> |
f32fc4bc RD |
16308 | </method> |
16309 | </class> | |
781d2982 | 16310 | <class name="Printer" oldname="wxPrinter" module="_windows"> |
f32fc4bc RD |
16311 | <baseclass name="Object"/> |
16312 | <constructor name="Printer" overloaded="no"> | |
781d2982 | 16313 | <autodoc>__init__(self, PrintDialogData data=None) -> Printer</autodoc> |
f32fc4bc RD |
16314 | <paramlist> |
16315 | <param name="data" type="PrintDialogData" default="NULL"/> | |
16316 | </paramlist> | |
16317 | </constructor> | |
16318 | <destructor name="~wxPrinter" overloaded="no"> | |
781d2982 | 16319 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
16320 | </destructor> |
16321 | <method name="CreateAbortWindow" type="" overloaded="no"> | |
781d2982 | 16322 | <autodoc>CreateAbortWindow(self, Window parent, Printout printout)</autodoc> |
f32fc4bc RD |
16323 | <paramlist> |
16324 | <param name="parent" type="Window" default=""/> | |
16325 | <param name="printout" type="wxPyPrintout" default=""/> | |
16326 | </paramlist> | |
16327 | </method> | |
16328 | <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no"> | |
781d2982 | 16329 | <autodoc>GetPrintDialogData(self) -> PrintDialogData</autodoc> |
f32fc4bc RD |
16330 | </method> |
16331 | <method name="Print" type="bool" overloaded="no"> | |
781d2982 | 16332 | <autodoc>Print(self, Window parent, Printout printout, int prompt=True) -> bool</autodoc> |
f32fc4bc RD |
16333 | <paramlist> |
16334 | <param name="parent" type="Window" default=""/> | |
16335 | <param name="printout" type="wxPyPrintout" default=""/> | |
16336 | <param name="prompt" type="int" default="True"/> | |
16337 | </paramlist> | |
16338 | </method> | |
16339 | <method name="PrintDialog" type="DC" overloaded="no"> | |
781d2982 | 16340 | <autodoc>PrintDialog(self, Window parent) -> DC</autodoc> |
f32fc4bc RD |
16341 | <paramlist> |
16342 | <param name="parent" type="Window" default=""/> | |
16343 | </paramlist> | |
16344 | </method> | |
16345 | <method name="ReportError" type="" overloaded="no"> | |
781d2982 | 16346 | <autodoc>ReportError(self, Window parent, Printout printout, String message)</autodoc> |
f32fc4bc RD |
16347 | <paramlist> |
16348 | <param name="parent" type="Window" default=""/> | |
16349 | <param name="printout" type="wxPyPrintout" default=""/> | |
16350 | <param name="message" type="String" default=""/> | |
16351 | </paramlist> | |
16352 | </method> | |
16353 | <method name="Setup" type="bool" overloaded="no"> | |
781d2982 | 16354 | <autodoc>Setup(self, Window parent) -> bool</autodoc> |
f32fc4bc RD |
16355 | <paramlist> |
16356 | <param name="parent" type="Window" default=""/> | |
16357 | </paramlist> | |
16358 | </method> | |
16359 | <method name="GetAbort" type="bool" overloaded="no"> | |
781d2982 | 16360 | <autodoc>GetAbort(self) -> bool</autodoc> |
f32fc4bc RD |
16361 | </method> |
16362 | <staticmethod name="GetLastError" type="wxPrinterError" overloaded="no"> | |
16363 | <autodoc>GetLastError() -> int</autodoc> | |
16364 | </staticmethod> | |
16365 | </class> | |
781d2982 | 16366 | <class name="Printout" oldname="wxPyPrintout" module="_windows"> |
f32fc4bc RD |
16367 | <baseclass name="Object"/> |
16368 | <constructor name="wxPyPrintout" overloaded="no"> | |
781d2982 | 16369 | <autodoc>__init__(self, String title=PrintoutTitleStr) -> Printout</autodoc> |
f32fc4bc RD |
16370 | <paramlist> |
16371 | <param name="title" type="String" default="wxPyPrintoutTitleStr"/> | |
16372 | </paramlist> | |
16373 | </constructor> | |
16374 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 16375 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
16376 | <paramlist> |
16377 | <param name="self" type="PyObject" default=""/> | |
16378 | <param name="_class" type="PyObject" default=""/> | |
16379 | </paramlist> | |
16380 | </method> | |
16381 | <method name="GetTitle" type="String" overloaded="no"> | |
781d2982 | 16382 | <autodoc>GetTitle(self) -> String</autodoc> |
f32fc4bc RD |
16383 | </method> |
16384 | <method name="GetDC" type="DC" overloaded="no"> | |
781d2982 | 16385 | <autodoc>GetDC(self) -> DC</autodoc> |
f32fc4bc RD |
16386 | </method> |
16387 | <method name="SetDC" type="" overloaded="no"> | |
781d2982 | 16388 | <autodoc>SetDC(self, DC dc)</autodoc> |
f32fc4bc RD |
16389 | <paramlist> |
16390 | <param name="dc" type="DC" default=""/> | |
16391 | </paramlist> | |
16392 | </method> | |
16393 | <method name="SetPageSizePixels" type="" overloaded="no"> | |
781d2982 | 16394 | <autodoc>SetPageSizePixels(self, int w, int h)</autodoc> |
f32fc4bc RD |
16395 | <paramlist> |
16396 | <param name="w" type="int" default=""/> | |
16397 | <param name="h" type="int" default=""/> | |
16398 | </paramlist> | |
16399 | </method> | |
16400 | <method name="GetPageSizePixels" type="" overloaded="no"> | |
16401 | <autodoc>GetPageSizePixels() -> (w, h)</autodoc> | |
16402 | <paramlist> | |
16403 | <param name="OUTPUT" type="int" default=""/> | |
16404 | <param name="OUTPUT" type="int" default=""/> | |
16405 | </paramlist> | |
16406 | </method> | |
16407 | <method name="SetPageSizeMM" type="" overloaded="no"> | |
781d2982 | 16408 | <autodoc>SetPageSizeMM(self, int w, int h)</autodoc> |
f32fc4bc RD |
16409 | <paramlist> |
16410 | <param name="w" type="int" default=""/> | |
16411 | <param name="h" type="int" default=""/> | |
16412 | </paramlist> | |
16413 | </method> | |
16414 | <method name="GetPageSizeMM" type="" overloaded="no"> | |
16415 | <autodoc>GetPageSizeMM() -> (w, h)</autodoc> | |
16416 | <paramlist> | |
16417 | <param name="OUTPUT" type="int" default=""/> | |
16418 | <param name="OUTPUT" type="int" default=""/> | |
16419 | </paramlist> | |
16420 | </method> | |
16421 | <method name="SetPPIScreen" type="" overloaded="no"> | |
781d2982 | 16422 | <autodoc>SetPPIScreen(self, int x, int y)</autodoc> |
f32fc4bc RD |
16423 | <paramlist> |
16424 | <param name="x" type="int" default=""/> | |
16425 | <param name="y" type="int" default=""/> | |
16426 | </paramlist> | |
16427 | </method> | |
16428 | <method name="GetPPIScreen" type="" overloaded="no"> | |
16429 | <autodoc>GetPPIScreen() -> (x,y)</autodoc> | |
16430 | <paramlist> | |
16431 | <param name="OUTPUT" type="int" default=""/> | |
16432 | <param name="OUTPUT" type="int" default=""/> | |
16433 | </paramlist> | |
16434 | </method> | |
16435 | <method name="SetPPIPrinter" type="" overloaded="no"> | |
781d2982 | 16436 | <autodoc>SetPPIPrinter(self, int x, int y)</autodoc> |
f32fc4bc RD |
16437 | <paramlist> |
16438 | <param name="x" type="int" default=""/> | |
16439 | <param name="y" type="int" default=""/> | |
16440 | </paramlist> | |
16441 | </method> | |
16442 | <method name="GetPPIPrinter" type="" overloaded="no"> | |
16443 | <autodoc>GetPPIPrinter() -> (x,y)</autodoc> | |
16444 | <paramlist> | |
16445 | <param name="OUTPUT" type="int" default=""/> | |
16446 | <param name="OUTPUT" type="int" default=""/> | |
16447 | </paramlist> | |
16448 | </method> | |
16449 | <method name="IsPreview" type="bool" overloaded="no"> | |
781d2982 | 16450 | <autodoc>IsPreview(self) -> bool</autodoc> |
f32fc4bc RD |
16451 | </method> |
16452 | <method name="SetIsPreview" type="" overloaded="no"> | |
781d2982 | 16453 | <autodoc>SetIsPreview(self, bool p)</autodoc> |
f32fc4bc RD |
16454 | <paramlist> |
16455 | <param name="p" type="bool" default=""/> | |
16456 | </paramlist> | |
16457 | </method> | |
16458 | <method name="base_OnBeginDocument" type="bool" overloaded="no"> | |
781d2982 | 16459 | <autodoc>base_OnBeginDocument(self, int startPage, int endPage) -> bool</autodoc> |
f32fc4bc RD |
16460 | <paramlist> |
16461 | <param name="startPage" type="int" default=""/> | |
16462 | <param name="endPage" type="int" default=""/> | |
16463 | </paramlist> | |
16464 | </method> | |
16465 | <method name="base_OnEndDocument" type="" overloaded="no"> | |
781d2982 | 16466 | <autodoc>base_OnEndDocument(self)</autodoc> |
f32fc4bc RD |
16467 | </method> |
16468 | <method name="base_OnBeginPrinting" type="" overloaded="no"> | |
781d2982 | 16469 | <autodoc>base_OnBeginPrinting(self)</autodoc> |
f32fc4bc RD |
16470 | </method> |
16471 | <method name="base_OnEndPrinting" type="" overloaded="no"> | |
781d2982 | 16472 | <autodoc>base_OnEndPrinting(self)</autodoc> |
f32fc4bc RD |
16473 | </method> |
16474 | <method name="base_OnPreparePrinting" type="" overloaded="no"> | |
781d2982 | 16475 | <autodoc>base_OnPreparePrinting(self)</autodoc> |
f32fc4bc RD |
16476 | </method> |
16477 | <method name="base_HasPage" type="bool" overloaded="no"> | |
781d2982 | 16478 | <autodoc>base_HasPage(self, int page) -> bool</autodoc> |
f32fc4bc RD |
16479 | <paramlist> |
16480 | <param name="page" type="int" default=""/> | |
16481 | </paramlist> | |
16482 | </method> | |
16483 | <method name="base_GetPageInfo" type="" overloaded="no"> | |
16484 | <autodoc>base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)</autodoc> | |
16485 | <paramlist> | |
16486 | <param name="OUTPUT" type="int" default=""/> | |
16487 | <param name="OUTPUT" type="int" default=""/> | |
16488 | <param name="OUTPUT" type="int" default=""/> | |
16489 | <param name="OUTPUT" type="int" default=""/> | |
16490 | </paramlist> | |
16491 | </method> | |
16492 | </class> | |
781d2982 | 16493 | <class name="PreviewCanvas" oldname="wxPreviewCanvas" module="_windows"> |
f32fc4bc RD |
16494 | <baseclass name="ScrolledWindow"/> |
16495 | <constructor name="PreviewCanvas" overloaded="no"> | |
781d2982 | 16496 | <autodoc>__init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition, |
856bf319 RD |
16497 | Size size=DefaultSize, long style=0, |
16498 | String name=PreviewCanvasNameStr) -> PreviewCanvas</autodoc> | |
f32fc4bc RD |
16499 | <paramlist> |
16500 | <param name="preview" type="wxPrintPreview" default=""/> | |
16501 | <param name="parent" type="Window" default=""/> | |
16502 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16503 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16504 | <param name="style" type="long" default="0"/> | |
16505 | <param name="name" type="String" default="wxPyPreviewCanvasNameStr"/> | |
16506 | </paramlist> | |
16507 | </constructor> | |
16508 | </class> | |
781d2982 | 16509 | <class name="PreviewFrame" oldname="wxPreviewFrame" module="_windows"> |
f32fc4bc RD |
16510 | <baseclass name="Frame"/> |
16511 | <constructor name="PreviewFrame" overloaded="no"> | |
781d2982 | 16512 | <autodoc>__init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition, |
856bf319 RD |
16513 | Size size=DefaultSize, |
16514 | long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame</autodoc> | |
f32fc4bc RD |
16515 | <paramlist> |
16516 | <param name="preview" type="wxPrintPreview" default=""/> | |
16517 | <param name="parent" type="Frame" default=""/> | |
16518 | <param name="title" type="String" default=""/> | |
16519 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16520 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16521 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
16522 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
16523 | </paramlist> | |
16524 | </constructor> | |
16525 | <method name="Initialize" type="" overloaded="no"> | |
781d2982 | 16526 | <autodoc>Initialize(self)</autodoc> |
f32fc4bc RD |
16527 | </method> |
16528 | <method name="CreateControlBar" type="" overloaded="no"> | |
781d2982 | 16529 | <autodoc>CreateControlBar(self)</autodoc> |
f32fc4bc RD |
16530 | </method> |
16531 | <method name="CreateCanvas" type="" overloaded="no"> | |
781d2982 | 16532 | <autodoc>CreateCanvas(self)</autodoc> |
f32fc4bc RD |
16533 | </method> |
16534 | <method name="GetControlBar" type="wxPreviewControlBar" overloaded="no"> | |
781d2982 | 16535 | <autodoc>GetControlBar(self) -> PreviewControlBar</autodoc> |
f32fc4bc RD |
16536 | </method> |
16537 | </class> | |
781d2982 | 16538 | <class name="PreviewControlBar" oldname="wxPreviewControlBar" module="_windows"> |
f32fc4bc RD |
16539 | <baseclass name="Panel"/> |
16540 | <constructor name="PreviewControlBar" overloaded="no"> | |
781d2982 | 16541 | <autodoc>__init__(self, PrintPreview preview, long buttons, Window parent, |
856bf319 RD |
16542 | Point pos=DefaultPosition, Size size=DefaultSize, |
16543 | long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar</autodoc> | |
f32fc4bc RD |
16544 | <paramlist> |
16545 | <param name="preview" type="wxPrintPreview" default=""/> | |
16546 | <param name="buttons" type="long" default=""/> | |
16547 | <param name="parent" type="Window" default=""/> | |
16548 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16549 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16550 | <param name="style" type="long" default="wxTAB_TRAVERSAL"/> | |
16551 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
16552 | </paramlist> | |
16553 | </constructor> | |
16554 | <method name="GetZoomControl" type="int" overloaded="no"> | |
781d2982 | 16555 | <autodoc>GetZoomControl(self) -> int</autodoc> |
f32fc4bc RD |
16556 | </method> |
16557 | <method name="SetZoomControl" type="" overloaded="no"> | |
781d2982 | 16558 | <autodoc>SetZoomControl(self, int zoom)</autodoc> |
f32fc4bc RD |
16559 | <paramlist> |
16560 | <param name="zoom" type="int" default=""/> | |
16561 | </paramlist> | |
16562 | </method> | |
16563 | <method name="GetPrintPreview" type="wxPrintPreview" overloaded="no"> | |
781d2982 | 16564 | <autodoc>GetPrintPreview(self) -> PrintPreview</autodoc> |
f32fc4bc RD |
16565 | </method> |
16566 | <method name="OnNext" type="" overloaded="no"> | |
781d2982 | 16567 | <autodoc>OnNext(self)</autodoc> |
f32fc4bc RD |
16568 | </method> |
16569 | <method name="OnPrevious" type="" overloaded="no"> | |
781d2982 | 16570 | <autodoc>OnPrevious(self)</autodoc> |
f32fc4bc RD |
16571 | </method> |
16572 | <method name="OnFirst" type="" overloaded="no"> | |
781d2982 | 16573 | <autodoc>OnFirst(self)</autodoc> |
f32fc4bc RD |
16574 | </method> |
16575 | <method name="OnLast" type="" overloaded="no"> | |
781d2982 | 16576 | <autodoc>OnLast(self)</autodoc> |
f32fc4bc RD |
16577 | </method> |
16578 | <method name="OnGoto" type="" overloaded="no"> | |
781d2982 | 16579 | <autodoc>OnGoto(self)</autodoc> |
f32fc4bc RD |
16580 | </method> |
16581 | </class> | |
781d2982 | 16582 | <class name="PrintPreview" oldname="wxPrintPreview" module="_windows"> |
f32fc4bc | 16583 | <baseclass name="Object"/> |
b39e211b | 16584 | <constructor name="PrintPreview" overloaded="yes"> |
f32fc4bc RD |
16585 | <paramlist> |
16586 | <param name="printout" type="Printout" default=""/> | |
16587 | <param name="printoutForPrinting" type="Printout" default=""/> | |
b39e211b RD |
16588 | <param name="data" type="PrintDialogData" default="NULL"/> |
16589 | </paramlist> | |
16590 | </constructor> | |
16591 | <constructor name="PrintPreview" overloaded="yes"> | |
781d2982 RD |
16592 | <autodoc>__init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview |
16593 | __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview</autodoc> | |
b39e211b RD |
16594 | <paramlist> |
16595 | <param name="printout" type="Printout" default=""/> | |
16596 | <param name="printoutForPrinting" type="Printout" default=""/> | |
16597 | <param name="data" type="PrintData" default=""/> | |
f32fc4bc RD |
16598 | </paramlist> |
16599 | </constructor> | |
16600 | <method name="SetCurrentPage" type="bool" overloaded="no"> | |
781d2982 | 16601 | <autodoc>SetCurrentPage(self, int pageNum) -> bool</autodoc> |
f32fc4bc RD |
16602 | <paramlist> |
16603 | <param name="pageNum" type="int" default=""/> | |
16604 | </paramlist> | |
16605 | </method> | |
16606 | <method name="GetCurrentPage" type="int" overloaded="no"> | |
781d2982 | 16607 | <autodoc>GetCurrentPage(self) -> int</autodoc> |
f32fc4bc RD |
16608 | </method> |
16609 | <method name="SetPrintout" type="" overloaded="no"> | |
781d2982 | 16610 | <autodoc>SetPrintout(self, Printout printout)</autodoc> |
f32fc4bc RD |
16611 | <paramlist> |
16612 | <param name="printout" type="Printout" default=""/> | |
16613 | </paramlist> | |
16614 | </method> | |
16615 | <method name="GetPrintout" type="Printout" overloaded="no"> | |
781d2982 | 16616 | <autodoc>GetPrintout(self) -> Printout</autodoc> |
f32fc4bc RD |
16617 | </method> |
16618 | <method name="GetPrintoutForPrinting" type="Printout" overloaded="no"> | |
781d2982 | 16619 | <autodoc>GetPrintoutForPrinting(self) -> Printout</autodoc> |
f32fc4bc RD |
16620 | </method> |
16621 | <method name="SetFrame" type="" overloaded="no"> | |
781d2982 | 16622 | <autodoc>SetFrame(self, Frame frame)</autodoc> |
f32fc4bc RD |
16623 | <paramlist> |
16624 | <param name="frame" type="Frame" default=""/> | |
16625 | </paramlist> | |
16626 | </method> | |
16627 | <method name="SetCanvas" type="" overloaded="no"> | |
781d2982 | 16628 | <autodoc>SetCanvas(self, PreviewCanvas canvas)</autodoc> |
f32fc4bc RD |
16629 | <paramlist> |
16630 | <param name="canvas" type="PreviewCanvas" default=""/> | |
16631 | </paramlist> | |
16632 | </method> | |
16633 | <method name="GetFrame" type="Frame" overloaded="no"> | |
781d2982 | 16634 | <autodoc>GetFrame(self) -> Frame</autodoc> |
f32fc4bc RD |
16635 | </method> |
16636 | <method name="GetCanvas" type="PreviewCanvas" overloaded="no"> | |
781d2982 | 16637 | <autodoc>GetCanvas(self) -> PreviewCanvas</autodoc> |
f32fc4bc RD |
16638 | </method> |
16639 | <method name="PaintPage" type="bool" overloaded="no"> | |
781d2982 | 16640 | <autodoc>PaintPage(self, PreviewCanvas canvas, DC dc) -> bool</autodoc> |
f32fc4bc RD |
16641 | <paramlist> |
16642 | <param name="canvas" type="PreviewCanvas" default=""/> | |
16643 | <param name="dc" type="DC" default=""/> | |
16644 | </paramlist> | |
16645 | </method> | |
16646 | <method name="DrawBlankPage" type="bool" overloaded="no"> | |
781d2982 | 16647 | <autodoc>DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool</autodoc> |
f32fc4bc RD |
16648 | <paramlist> |
16649 | <param name="canvas" type="PreviewCanvas" default=""/> | |
16650 | <param name="dc" type="DC" default=""/> | |
16651 | </paramlist> | |
16652 | </method> | |
16653 | <method name="RenderPage" type="bool" overloaded="no"> | |
781d2982 | 16654 | <autodoc>RenderPage(self, int pageNum) -> bool</autodoc> |
f32fc4bc RD |
16655 | <paramlist> |
16656 | <param name="pageNum" type="int" default=""/> | |
16657 | </paramlist> | |
16658 | </method> | |
16659 | <method name="AdjustScrollbars" type="" overloaded="no"> | |
781d2982 | 16660 | <autodoc>AdjustScrollbars(self, PreviewCanvas canvas)</autodoc> |
f32fc4bc RD |
16661 | <paramlist> |
16662 | <param name="canvas" type="PreviewCanvas" default=""/> | |
16663 | </paramlist> | |
16664 | </method> | |
16665 | <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no"> | |
781d2982 | 16666 | <autodoc>GetPrintDialogData(self) -> PrintDialogData</autodoc> |
f32fc4bc RD |
16667 | </method> |
16668 | <method name="SetZoom" type="" overloaded="no"> | |
781d2982 | 16669 | <autodoc>SetZoom(self, int percent)</autodoc> |
f32fc4bc RD |
16670 | <paramlist> |
16671 | <param name="percent" type="int" default=""/> | |
16672 | </paramlist> | |
16673 | </method> | |
16674 | <method name="GetZoom" type="int" overloaded="no"> | |
781d2982 | 16675 | <autodoc>GetZoom(self) -> int</autodoc> |
f32fc4bc RD |
16676 | </method> |
16677 | <method name="GetMaxPage" type="int" overloaded="no"> | |
781d2982 | 16678 | <autodoc>GetMaxPage(self) -> int</autodoc> |
f32fc4bc RD |
16679 | </method> |
16680 | <method name="GetMinPage" type="int" overloaded="no"> | |
781d2982 | 16681 | <autodoc>GetMinPage(self) -> int</autodoc> |
f32fc4bc RD |
16682 | </method> |
16683 | <method name="Ok" type="bool" overloaded="no"> | |
781d2982 | 16684 | <autodoc>Ok(self) -> bool</autodoc> |
f32fc4bc RD |
16685 | </method> |
16686 | <method name="SetOk" type="" overloaded="no"> | |
781d2982 | 16687 | <autodoc>SetOk(self, bool ok)</autodoc> |
f32fc4bc RD |
16688 | <paramlist> |
16689 | <param name="ok" type="bool" default=""/> | |
16690 | </paramlist> | |
16691 | </method> | |
16692 | <method name="Print" type="bool" overloaded="no"> | |
781d2982 | 16693 | <autodoc>Print(self, bool interactive) -> bool</autodoc> |
f32fc4bc RD |
16694 | <paramlist> |
16695 | <param name="interactive" type="bool" default=""/> | |
16696 | </paramlist> | |
16697 | </method> | |
16698 | <method name="DetermineScaling" type="" overloaded="no"> | |
781d2982 | 16699 | <autodoc>DetermineScaling(self)</autodoc> |
f32fc4bc RD |
16700 | </method> |
16701 | </class> | |
781d2982 | 16702 | <class name="PyPrintPreview" oldname="wxPyPrintPreview" module="_windows"> |
f32fc4bc | 16703 | <baseclass name="PrintPreview"/> |
b39e211b | 16704 | <constructor name="PyPrintPreview" overloaded="yes"> |
f32fc4bc RD |
16705 | <paramlist> |
16706 | <param name="printout" type="Printout" default=""/> | |
16707 | <param name="printoutForPrinting" type="Printout" default=""/> | |
b39e211b RD |
16708 | <param name="data" type="PrintDialogData" default="NULL"/> |
16709 | </paramlist> | |
16710 | </constructor> | |
16711 | <constructor name="PyPrintPreview" overloaded="yes"> | |
781d2982 RD |
16712 | <autodoc>__init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview |
16713 | __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview</autodoc> | |
b39e211b RD |
16714 | <paramlist> |
16715 | <param name="printout" type="Printout" default=""/> | |
16716 | <param name="printoutForPrinting" type="Printout" default=""/> | |
16717 | <param name="data" type="PrintData" default=""/> | |
f32fc4bc RD |
16718 | </paramlist> |
16719 | </constructor> | |
16720 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 16721 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
16722 | <paramlist> |
16723 | <param name="self" type="PyObject" default=""/> | |
16724 | <param name="_class" type="PyObject" default=""/> | |
16725 | </paramlist> | |
16726 | </method> | |
16727 | <method name="base_SetCurrentPage" type="bool" overloaded="no"> | |
781d2982 | 16728 | <autodoc>base_SetCurrentPage(self, int pageNum) -> bool</autodoc> |
f32fc4bc RD |
16729 | <paramlist> |
16730 | <param name="pageNum" type="int" default=""/> | |
16731 | </paramlist> | |
16732 | </method> | |
16733 | <method name="base_PaintPage" type="bool" overloaded="no"> | |
781d2982 | 16734 | <autodoc>base_PaintPage(self, PreviewCanvas canvas, DC dc) -> bool</autodoc> |
f32fc4bc RD |
16735 | <paramlist> |
16736 | <param name="canvas" type="PreviewCanvas" default=""/> | |
16737 | <param name="dc" type="DC" default=""/> | |
16738 | </paramlist> | |
16739 | </method> | |
16740 | <method name="base_DrawBlankPage" type="bool" overloaded="no"> | |
781d2982 | 16741 | <autodoc>base_DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool</autodoc> |
f32fc4bc RD |
16742 | <paramlist> |
16743 | <param name="canvas" type="PreviewCanvas" default=""/> | |
16744 | <param name="dc" type="DC" default=""/> | |
16745 | </paramlist> | |
16746 | </method> | |
16747 | <method name="base_RenderPage" type="bool" overloaded="no"> | |
781d2982 | 16748 | <autodoc>base_RenderPage(self, int pageNum) -> bool</autodoc> |
f32fc4bc RD |
16749 | <paramlist> |
16750 | <param name="pageNum" type="int" default=""/> | |
16751 | </paramlist> | |
16752 | </method> | |
16753 | <method name="base_SetZoom" type="" overloaded="no"> | |
781d2982 | 16754 | <autodoc>base_SetZoom(self, int percent)</autodoc> |
f32fc4bc RD |
16755 | <paramlist> |
16756 | <param name="percent" type="int" default=""/> | |
16757 | </paramlist> | |
16758 | </method> | |
16759 | <method name="base_Print" type="bool" overloaded="no"> | |
781d2982 | 16760 | <autodoc>base_Print(self, bool interactive) -> bool</autodoc> |
f32fc4bc RD |
16761 | <paramlist> |
16762 | <param name="interactive" type="bool" default=""/> | |
16763 | </paramlist> | |
16764 | </method> | |
16765 | <method name="base_DetermineScaling" type="" overloaded="no"> | |
781d2982 | 16766 | <autodoc>base_DetermineScaling(self)</autodoc> |
f32fc4bc RD |
16767 | </method> |
16768 | </class> | |
781d2982 | 16769 | <class name="PyPreviewFrame" oldname="wxPyPreviewFrame" module="_windows"> |
f32fc4bc RD |
16770 | <baseclass name="PreviewFrame"/> |
16771 | <constructor name="PyPreviewFrame" overloaded="no"> | |
781d2982 | 16772 | <autodoc>__init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition, |
856bf319 RD |
16773 | Size size=DefaultSize, |
16774 | long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame</autodoc> | |
f32fc4bc RD |
16775 | <paramlist> |
16776 | <param name="preview" type="PrintPreview" default=""/> | |
16777 | <param name="parent" type="Frame" default=""/> | |
16778 | <param name="title" type="String" default=""/> | |
16779 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16780 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16781 | <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/> | |
16782 | <param name="name" type="String" default="wxPyFrameNameStr"/> | |
16783 | </paramlist> | |
16784 | </constructor> | |
16785 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 16786 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
16787 | <paramlist> |
16788 | <param name="self" type="PyObject" default=""/> | |
16789 | <param name="_class" type="PyObject" default=""/> | |
16790 | </paramlist> | |
16791 | </method> | |
16792 | <method name="SetPreviewCanvas" type="" overloaded="no"> | |
781d2982 | 16793 | <autodoc>SetPreviewCanvas(self, PreviewCanvas canvas)</autodoc> |
f32fc4bc RD |
16794 | <paramlist> |
16795 | <param name="canvas" type="PreviewCanvas" default=""/> | |
16796 | </paramlist> | |
16797 | </method> | |
16798 | <method name="SetControlBar" type="" overloaded="no"> | |
781d2982 | 16799 | <autodoc>SetControlBar(self, PreviewControlBar bar)</autodoc> |
f32fc4bc RD |
16800 | <paramlist> |
16801 | <param name="bar" type="PreviewControlBar" default=""/> | |
16802 | </paramlist> | |
16803 | </method> | |
16804 | <method name="base_Initialize" type="" overloaded="no"> | |
781d2982 | 16805 | <autodoc>base_Initialize(self)</autodoc> |
f32fc4bc RD |
16806 | </method> |
16807 | <method name="base_CreateCanvas" type="" overloaded="no"> | |
781d2982 | 16808 | <autodoc>base_CreateCanvas(self)</autodoc> |
f32fc4bc RD |
16809 | </method> |
16810 | <method name="base_CreateControlBar" type="" overloaded="no"> | |
781d2982 | 16811 | <autodoc>base_CreateControlBar(self)</autodoc> |
f32fc4bc RD |
16812 | </method> |
16813 | </class> | |
781d2982 | 16814 | <class name="PyPreviewControlBar" oldname="wxPyPreviewControlBar" module="_windows"> |
f32fc4bc RD |
16815 | <baseclass name="PreviewControlBar"/> |
16816 | <constructor name="PyPreviewControlBar" overloaded="no"> | |
781d2982 | 16817 | <autodoc>__init__(self, PrintPreview preview, long buttons, Window parent, |
856bf319 RD |
16818 | Point pos=DefaultPosition, Size size=DefaultSize, |
16819 | long style=0, String name=PanelNameStr) -> PyPreviewControlBar</autodoc> | |
f32fc4bc RD |
16820 | <paramlist> |
16821 | <param name="preview" type="PrintPreview" default=""/> | |
16822 | <param name="buttons" type="long" default=""/> | |
16823 | <param name="parent" type="Window" default=""/> | |
16824 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
16825 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16826 | <param name="style" type="long" default="0"/> | |
16827 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
16828 | </paramlist> | |
16829 | </constructor> | |
16830 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 16831 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
16832 | <paramlist> |
16833 | <param name="self" type="PyObject" default=""/> | |
16834 | <param name="_class" type="PyObject" default=""/> | |
16835 | </paramlist> | |
16836 | </method> | |
16837 | <method name="SetPrintPreview" type="" overloaded="no"> | |
781d2982 | 16838 | <autodoc>SetPrintPreview(self, PrintPreview preview)</autodoc> |
f32fc4bc RD |
16839 | <paramlist> |
16840 | <param name="preview" type="PrintPreview" default=""/> | |
16841 | </paramlist> | |
16842 | </method> | |
16843 | <method name="base_CreateButtons" type="" overloaded="no"> | |
781d2982 | 16844 | <autodoc>base_CreateButtons(self)</autodoc> |
f32fc4bc RD |
16845 | </method> |
16846 | <method name="base_SetZoomControl" type="" overloaded="no"> | |
781d2982 | 16847 | <autodoc>base_SetZoomControl(self, int zoom)</autodoc> |
f32fc4bc RD |
16848 | <paramlist> |
16849 | <param name="zoom" type="int" default=""/> | |
16850 | </paramlist> | |
16851 | </method> | |
16852 | </class> | |
16853 | </module> | |
781d2982 RD |
16854 | <module name="_controls"> |
16855 | <import name="_core"/> | |
16856 | <pythoncode> wx = _core </pythoncode> | |
f32fc4bc | 16857 | <pythoncode> |
856bf319 RD |
16858 | #--------------------------------------------------------------------------- |
16859 | </pythoncode> | |
781d2982 | 16860 | <class name="Button" oldname="wxButton" module="_controls"> |
f32fc4bc | 16861 | <docstring>A button is a control that contains a text string, and is one of the most |
856bf319 | 16862 | common elements of a GUI. It may be placed on a dialog box or panel, or |
ce6878e6 RD |
16863 | indeed almost any other window. |
16864 | ||
16865 | Window Styles | |
16866 | ------------- | |
16867 | ============== ========================================== | |
0190c472 | 16868 | wx.BU_LEFT Left-justifies the label. Windows and GTK+ only. |
ce6878e6 | 16869 | wx.BU_TOP Aligns the label to the top of the button. |
0190c472 RD |
16870 | Windows and GTK+ only. |
16871 | wx.BU_RIGHT Right-justifies the bitmap label. Windows and GTK+ only. | |
ce6878e6 | 16872 | wx.BU_BOTTOM Aligns the label to the bottom of the button. |
0190c472 | 16873 | Windows and GTK+ only. |
ce6878e6 RD |
16874 | wx.BU_EXACTFIT Creates the button as small as possible |
16875 | instead of making it of the standard size | |
16876 | (which is the default behaviour.) | |
16877 | ============== ========================================== | |
16878 | ||
16879 | Events | |
16880 | ------ | |
16881 | ============ ========================================== | |
16882 | EVT_BUTTON Sent when the button is clicked. | |
16883 | ============ ========================================== | |
16884 | ||
16885 | :see: `wx.BitmapButton` | |
16886 | </docstring> | |
f32fc4bc RD |
16887 | <baseclass name="Control"/> |
16888 | <constructor name="Button" overloaded="no"> | |
781d2982 RD |
16889 | <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString, |
16890 | Point pos=DefaultPosition, Size size=DefaultSize, | |
16891 | long style=0, Validator validator=DefaultValidator, | |
16892 | String name=ButtonNameStr) -> Button</autodoc> | |
0190c472 RD |
16893 | <docstring>Create and show a button. The preferred way to create standard |
16894 | buttons is to use a standard ID and an empty label. In this case | |
16895 | wxWigets will automatically use a stock label that coresponds to the | |
16896 | ID given. In additon, the button will be decorated with stock icons | |
16897 | under GTK+ 2. | |
16898 | ||
16899 | The stock IDs and coresponding labels are | |
16900 | ||
16901 | ================== ==================== | |
16902 | wx.ID_ADD 'Add' | |
16903 | wx.ID_APPLY '\\&Apply' | |
16904 | wx.ID_BOLD '\\&Bold' | |
16905 | wx.ID_CANCEL '\\&Cancel' | |
16906 | wx.ID_CLEAR '\\&Clear' | |
16907 | wx.ID_CLOSE '\\&Close' | |
16908 | wx.ID_COPY '\\&Copy' | |
16909 | wx.ID_CUT 'Cu\\&t' | |
16910 | wx.ID_DELETE '\\&Delete' | |
16911 | wx.ID_FIND '\\&Find' | |
16912 | wx.ID_REPLACE 'Find and rep\\&lace' | |
16913 | wx.ID_BACKWARD '\\&Back' | |
16914 | wx.ID_DOWN '\\&Down' | |
16915 | wx.ID_FORWARD '\\&Forward' | |
16916 | wx.ID_UP '\\&Up' | |
16917 | wx.ID_HELP '\\&Help' | |
16918 | wx.ID_HOME '\\&Home' | |
16919 | wx.ID_INDENT 'Indent' | |
16920 | wx.ID_INDEX '\\&Index' | |
16921 | wx.ID_ITALIC '\\&Italic' | |
16922 | wx.ID_JUSTIFY_CENTER 'Centered' | |
16923 | wx.ID_JUSTIFY_FILL 'Justified' | |
16924 | wx.ID_JUSTIFY_LEFT 'Align Left' | |
16925 | wx.ID_JUSTIFY_RIGHT 'Align Right' | |
16926 | wx.ID_NEW '\\&New' | |
16927 | wx.ID_NO '\\&No' | |
16928 | wx.ID_OK '\\&OK' | |
16929 | wx.ID_OPEN '\\&Open' | |
16930 | wx.ID_PASTE '\\&Paste' | |
16931 | wx.ID_PREFERENCES '\\&Preferences' | |
16932 | wx.ID_PRINT '\\&Print' | |
16933 | wx.ID_PREVIEW 'Print previe\\&w' | |
16934 | wx.ID_PROPERTIES '\\&Properties' | |
16935 | wx.ID_EXIT '\\&Quit' | |
16936 | wx.ID_REDO '\\&Redo' | |
16937 | wx.ID_REFRESH 'Refresh' | |
16938 | wx.ID_REMOVE 'Remove' | |
16939 | wx.ID_REVERT_TO_SAVED 'Revert to Saved' | |
16940 | wx.ID_SAVE '\\&Save' | |
16941 | wx.ID_SAVEAS 'Save \\&As...' | |
16942 | wx.ID_STOP '\\&Stop' | |
16943 | wx.ID_UNDELETE 'Undelete' | |
16944 | wx.ID_UNDERLINE '\\&Underline' | |
16945 | wx.ID_UNDO '\\&Undo' | |
16946 | wx.ID_UNINDENT '\\&Unindent' | |
16947 | wx.ID_YES '\\&Yes' | |
16948 | wx.ID_ZOOM_100 '\\&Actual Size' | |
16949 | wx.ID_ZOOM_FIT 'Zoom to \\&Fit' | |
16950 | wx.ID_ZOOM_IN 'Zoom \\&In' | |
16951 | wx.ID_ZOOM_OUT 'Zoom \\&Out' | |
16952 | ================== ==================== | |
16953 | </docstring> | |
f32fc4bc RD |
16954 | <paramlist> |
16955 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
16956 | <param name="id" type="int" default="-1"/> |
16957 | <param name="label" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
16958 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
16959 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16960 | <param name="style" type="long" default="0"/> | |
16961 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16962 | <param name="name" type="String" default="wxPyButtonNameStr"/> | |
16963 | </paramlist> | |
16964 | </constructor> | |
16965 | <constructor name="PreButton" overloaded="no"> | |
16966 | <autodoc>PreButton() -> Button</autodoc> | |
16967 | <docstring>Precreate a Button for 2-phase creation.</docstring> | |
16968 | </constructor> | |
16969 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
16970 | <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString, |
16971 | Point pos=DefaultPosition, Size size=DefaultSize, | |
16972 | long style=0, Validator validator=DefaultValidator, | |
16973 | String name=ButtonNameStr) -> bool</autodoc> | |
f32fc4bc RD |
16974 | <docstring>Acutally create the GUI Button for 2-phase creation.</docstring> |
16975 | <paramlist> | |
16976 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
16977 | <param name="id" type="int" default="-1"/> |
16978 | <param name="label" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
16979 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
16980 | <param name="size" type="Size" default="wxDefaultSize"/> | |
16981 | <param name="style" type="long" default="0"/> | |
16982 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
16983 | <param name="name" type="String" default="wxPyButtonNameStr"/> | |
16984 | </paramlist> | |
16985 | </method> | |
16986 | <method name="SetDefault" type="" overloaded="no"> | |
781d2982 | 16987 | <autodoc>SetDefault(self)</autodoc> |
f32fc4bc RD |
16988 | <docstring>This sets the button to be the default item for the panel or dialog box.</docstring> |
16989 | </method> | |
16990 | <staticmethod name="GetDefaultSize" type="Size" overloaded="no"> | |
16991 | <autodoc>GetDefaultSize() -> Size</autodoc> | |
781d2982 RD |
16992 | <docstring>Returns the default button size for this platform.</docstring> |
16993 | </staticmethod> | |
16994 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> | |
16995 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
16996 | <docstring>Get the default attributes for this class. This is useful if you want | |
16997 | to use the same font or colour in your own control as in a standard | |
16998 | control -- which is a much better idea than hard coding specific | |
16999 | colours or fonts which might look completely out of place on the | |
17000 | user's system, especially if it uses themes. | |
17001 | ||
17002 | The variant parameter is only relevant under Mac currently and is | |
17003 | ignore under other platforms. Under Mac, it will change the size of | |
17004 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
17005 | this.</docstring> | |
17006 | <paramlist> | |
17007 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
17008 | </paramlist> | |
f32fc4bc RD |
17009 | </staticmethod> |
17010 | </class> | |
781d2982 | 17011 | <class name="BitmapButton" oldname="wxBitmapButton" module="_controls"> |
f32fc4bc | 17012 | <docstring>A Button that contains a bitmap. A bitmap button can be supplied with a |
781d2982 | 17013 | single bitmap, and wxWidgets will draw all button states using this bitmap. If |
856bf319 | 17014 | the application needs more control, additional bitmaps for the selected state, |
ce6878e6 RD |
17015 | unpressed focused state, and greyed-out state may be supplied. |
17016 | ||
17017 | Window Styles | |
17018 | ------------- | |
17019 | ============== ============================================= | |
17020 | wx.BU_AUTODRAW If this is specified, the button will be drawn | |
17021 | automatically using the label bitmap only, | |
17022 | providing a 3D-look border. If this style is | |
17023 | not specified, the button will be drawn | |
17024 | without borders and using all provided | |
17025 | bitmaps. WIN32 only. | |
17026 | wx.BU_LEFT Left-justifies the label. WIN32 only. | |
17027 | wx.BU_TOP Aligns the label to the top of the button. WIN32 | |
17028 | only. | |
17029 | wx.BU_RIGHT Right-justifies the bitmap label. WIN32 only. | |
17030 | wx.BU_BOTTOM Aligns the label to the bottom of the | |
17031 | button. WIN32 only. | |
17032 | wx.BU_EXACTFIT Creates the button as small as possible | |
17033 | instead of making it of the standard size | |
17034 | (which is the default behaviour.) | |
17035 | ============== ============================================= | |
17036 | ||
17037 | Events | |
17038 | ------ | |
17039 | =========== ================================== | |
17040 | EVT_BUTTON Sent when the button is clicked. | |
17041 | =========== ================================== | |
17042 | ||
17043 | :see: `wx.Button`, `wx.Bitmap` | |
17044 | </docstring> | |
f32fc4bc RD |
17045 | <baseclass name="Button"/> |
17046 | <constructor name="BitmapButton" overloaded="no"> | |
781d2982 RD |
17047 | <autodoc>__init__(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap, |
17048 | Point pos=DefaultPosition, Size size=DefaultSize, | |
17049 | long style=BU_AUTODRAW, Validator validator=DefaultValidator, | |
856bf319 | 17050 | String name=ButtonNameStr) -> BitmapButton</autodoc> |
f32fc4bc RD |
17051 | <docstring>Create and show a button with a bitmap for the label.</docstring> |
17052 | <paramlist> | |
17053 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
17054 | <param name="id" type="int" default="-1"/> |
17055 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
f32fc4bc RD |
17056 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
17057 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17058 | <param name="style" type="long" default="wxBU_AUTODRAW"/> | |
17059 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
17060 | <param name="name" type="String" default="wxPyButtonNameStr"/> | |
17061 | </paramlist> | |
17062 | </constructor> | |
17063 | <constructor name="PreBitmapButton" overloaded="no"> | |
17064 | <autodoc>PreBitmapButton() -> BitmapButton</autodoc> | |
17065 | <docstring>Precreate a BitmapButton for 2-phase creation.</docstring> | |
17066 | </constructor> | |
17067 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
17068 | <autodoc>Create(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap, |
17069 | Point pos=DefaultPosition, Size size=DefaultSize, | |
17070 | long style=BU_AUTODRAW, Validator validator=DefaultValidator, | |
856bf319 | 17071 | String name=ButtonNameStr) -> bool</autodoc> |
f32fc4bc RD |
17072 | <docstring>Acutally create the GUI BitmapButton for 2-phase creation.</docstring> |
17073 | <paramlist> | |
17074 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
17075 | <param name="id" type="int" default="-1"/> |
17076 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
f32fc4bc RD |
17077 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
17078 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17079 | <param name="style" type="long" default="wxBU_AUTODRAW"/> | |
17080 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
17081 | <param name="name" type="String" default="wxPyButtonNameStr"/> | |
17082 | </paramlist> | |
17083 | </method> | |
17084 | <method name="GetBitmapLabel" type="Bitmap" overloaded="no"> | |
781d2982 | 17085 | <autodoc>GetBitmapLabel(self) -> Bitmap</autodoc> |
f32fc4bc RD |
17086 | <docstring>Returns the label bitmap (the one passed to the constructor).</docstring> |
17087 | </method> | |
17088 | <method name="GetBitmapDisabled" type="Bitmap" overloaded="no"> | |
781d2982 | 17089 | <autodoc>GetBitmapDisabled(self) -> Bitmap</autodoc> |
f32fc4bc RD |
17090 | <docstring>Returns the bitmap for the disabled state.</docstring> |
17091 | </method> | |
17092 | <method name="GetBitmapFocus" type="Bitmap" overloaded="no"> | |
781d2982 | 17093 | <autodoc>GetBitmapFocus(self) -> Bitmap</autodoc> |
f32fc4bc RD |
17094 | <docstring>Returns the bitmap for the focused state.</docstring> |
17095 | </method> | |
17096 | <method name="GetBitmapSelected" type="Bitmap" overloaded="no"> | |
781d2982 | 17097 | <autodoc>GetBitmapSelected(self) -> Bitmap</autodoc> |
f32fc4bc RD |
17098 | <docstring>Returns the bitmap for the selected state.</docstring> |
17099 | </method> | |
17100 | <method name="SetBitmapDisabled" type="" overloaded="no"> | |
781d2982 | 17101 | <autodoc>SetBitmapDisabled(self, Bitmap bitmap)</autodoc> |
f32fc4bc RD |
17102 | <docstring>Sets the bitmap for the disabled button appearance.</docstring> |
17103 | <paramlist> | |
17104 | <param name="bitmap" type="Bitmap" default=""/> | |
17105 | </paramlist> | |
17106 | </method> | |
17107 | <method name="SetBitmapFocus" type="" overloaded="no"> | |
781d2982 | 17108 | <autodoc>SetBitmapFocus(self, Bitmap bitmap)</autodoc> |
f32fc4bc RD |
17109 | <docstring>Sets the bitmap for the button appearance when it has the keyboard focus.</docstring> |
17110 | <paramlist> | |
17111 | <param name="bitmap" type="Bitmap" default=""/> | |
17112 | </paramlist> | |
17113 | </method> | |
17114 | <method name="SetBitmapSelected" type="" overloaded="no"> | |
781d2982 | 17115 | <autodoc>SetBitmapSelected(self, Bitmap bitmap)</autodoc> |
f32fc4bc RD |
17116 | <docstring>Sets the bitmap for the selected (depressed) button appearance.</docstring> |
17117 | <paramlist> | |
17118 | <param name="bitmap" type="Bitmap" default=""/> | |
17119 | </paramlist> | |
17120 | </method> | |
17121 | <method name="SetBitmapLabel" type="" overloaded="no"> | |
781d2982 | 17122 | <autodoc>SetBitmapLabel(self, Bitmap bitmap)</autodoc> |
f32fc4bc | 17123 | <docstring>Sets the bitmap label for the button. This is the bitmap used for the |
856bf319 | 17124 | unselected state, and for all other states if no other bitmaps are provided.</docstring> |
f32fc4bc RD |
17125 | <paramlist> |
17126 | <param name="bitmap" type="Bitmap" default=""/> | |
17127 | </paramlist> | |
17128 | </method> | |
17129 | <method name="SetMargins" type="" overloaded="no"> | |
781d2982 | 17130 | <autodoc>SetMargins(self, int x, int y)</autodoc> |
f32fc4bc RD |
17131 | <paramlist> |
17132 | <param name="x" type="int" default=""/> | |
17133 | <param name="y" type="int" default=""/> | |
17134 | </paramlist> | |
17135 | </method> | |
17136 | <method name="GetMarginX" type="int" overloaded="no"> | |
781d2982 | 17137 | <autodoc>GetMarginX(self) -> int</autodoc> |
f32fc4bc RD |
17138 | </method> |
17139 | <method name="GetMarginY" type="int" overloaded="no"> | |
781d2982 | 17140 | <autodoc>GetMarginY(self) -> int</autodoc> |
f32fc4bc RD |
17141 | </method> |
17142 | </class> | |
17143 | <pythoncode> | |
856bf319 RD |
17144 | #--------------------------------------------------------------------------- |
17145 | </pythoncode> | |
781d2982 RD |
17146 | <class name="CheckBox" oldname="wxCheckBox" module="_controls"> |
17147 | <docstring>A checkbox is a labelled box which by default is either on (the | |
17148 | checkmark is visible) or off (no checkmark). Optionally (When the | |
17149 | wx.CHK_3STATE style flag is set) it can have a third state, called the | |
17150 | mixed or undetermined state. Often this is used as a "Does Not | |
ce6878e6 RD |
17151 | Apply" state. |
17152 | ||
17153 | Window Styles | |
17154 | ------------- | |
17155 | ================================= =============================== | |
17156 | wx.CHK_2STATE Create a 2-state checkbox. | |
17157 | This is the default. | |
17158 | wx.CHK_3STATE Create a 3-state checkbox. | |
17159 | wx.CHK_ALLOW_3RD_STATE_FOR_USER By default a user can't set a | |
17160 | 3-state checkbox to the | |
17161 | third state. It can only be | |
17162 | done from code. Using this | |
17163 | flags allows the user to set | |
17164 | the checkbox to the third | |
17165 | state by clicking. | |
17166 | wx.ALIGN_RIGHT Makes the | |
17167 | text appear on the left of | |
17168 | the checkbox. | |
17169 | ================================= =============================== | |
17170 | ||
17171 | Events | |
17172 | ------ | |
17173 | =============================== =============================== | |
17174 | EVT_CHECKBOX Sent when checkbox is clicked. | |
17175 | =============================== =============================== | |
17176 | </docstring> | |
f32fc4bc RD |
17177 | <baseclass name="Control"/> |
17178 | <constructor name="CheckBox" overloaded="no"> | |
781d2982 RD |
17179 | <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString, |
17180 | Point pos=DefaultPosition, Size size=DefaultSize, | |
17181 | long style=0, Validator validator=DefaultValidator, | |
17182 | String name=CheckBoxNameStr) -> CheckBox</autodoc> | |
c2dda882 | 17183 | <docstring>Creates and shows a CheckBox control</docstring> |
f32fc4bc RD |
17184 | <paramlist> |
17185 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
17186 | <param name="id" type="int" default="-1"/> |
17187 | <param name="label" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
17188 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
17189 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17190 | <param name="style" type="long" default="0"/> | |
17191 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
17192 | <param name="name" type="String" default="wxPyCheckBoxNameStr"/> | |
17193 | </paramlist> | |
17194 | </constructor> | |
17195 | <constructor name="PreCheckBox" overloaded="no"> | |
17196 | <autodoc>PreCheckBox() -> CheckBox</autodoc> | |
c2dda882 | 17197 | <docstring>Precreate a CheckBox for 2-phase creation.</docstring> |
f32fc4bc RD |
17198 | </constructor> |
17199 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
17200 | <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString, |
17201 | Point pos=DefaultPosition, Size size=DefaultSize, | |
17202 | long style=0, Validator validator=DefaultValidator, | |
17203 | String name=CheckBoxNameStr) -> bool</autodoc> | |
c2dda882 | 17204 | <docstring>Actually create the GUI CheckBox for 2-phase creation.</docstring> |
f32fc4bc RD |
17205 | <paramlist> |
17206 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
17207 | <param name="id" type="int" default="-1"/> |
17208 | <param name="label" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
17209 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
17210 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17211 | <param name="style" type="long" default="0"/> | |
17212 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
17213 | <param name="name" type="String" default="wxPyCheckBoxNameStr"/> | |
17214 | </paramlist> | |
17215 | </method> | |
17216 | <method name="GetValue" type="bool" overloaded="no"> | |
781d2982 | 17217 | <autodoc>GetValue(self) -> bool</autodoc> |
c2dda882 RD |
17218 | <docstring>Gets the state of a 2-state CheckBox. Returns True if it is checked, |
17219 | False otherwise.</docstring> | |
f32fc4bc RD |
17220 | </method> |
17221 | <method name="IsChecked" type="bool" overloaded="no"> | |
781d2982 RD |
17222 | <autodoc>IsChecked(self) -> bool</autodoc> |
17223 | <docstring>Similar to GetValue, but raises an exception if it is not a 2-state | |
17224 | CheckBox.</docstring> | |
f32fc4bc RD |
17225 | </method> |
17226 | <method name="SetValue" type="" overloaded="no"> | |
781d2982 RD |
17227 | <autodoc>SetValue(self, bool state)</autodoc> |
17228 | <docstring>Set the state of a 2-state CheckBox. Pass True for checked, False for | |
17229 | unchecked.</docstring> | |
f32fc4bc RD |
17230 | <paramlist> |
17231 | <param name="state" type="bool" default=""/> | |
17232 | </paramlist> | |
17233 | </method> | |
17234 | <method name="Get3StateValue" type="wxCheckBoxState" overloaded="no"> | |
781d2982 RD |
17235 | <autodoc>Get3StateValue(self) -> int</autodoc> |
17236 | <docstring>Returns wx.CHK_UNCHECKED when the CheckBox is unchecked, | |
17237 | wx.CHK_CHECKED when it is checked and wx.CHK_UNDETERMINED when it's in | |
17238 | the undetermined state. Raises an exceptiion when the function is | |
17239 | used with a 2-state CheckBox.</docstring> | |
f32fc4bc RD |
17240 | </method> |
17241 | <method name="Set3StateValue" type="" overloaded="no"> | |
781d2982 RD |
17242 | <autodoc>Set3StateValue(self, int state)</autodoc> |
17243 | <docstring>Sets the CheckBox to the given state. The state parameter can be one | |
17244 | of the following: wx.CHK_UNCHECKED (Check is off), wx.CHK_CHECKED (the | |
17245 | Check is on) or wx.CHK_UNDETERMINED (Check is mixed). Raises an | |
17246 | exception when the CheckBox is a 2-state checkbox and setting the | |
17247 | state to wx.CHK_UNDETERMINED.</docstring> | |
f32fc4bc RD |
17248 | <paramlist> |
17249 | <param name="state" type="wxCheckBoxState" default=""/> | |
17250 | </paramlist> | |
17251 | </method> | |
17252 | <method name="Is3State" type="bool" overloaded="no"> | |
781d2982 | 17253 | <autodoc>Is3State(self) -> bool</autodoc> |
c2dda882 | 17254 | <docstring>Returns whether or not the CheckBox is a 3-state CheckBox.</docstring> |
f32fc4bc RD |
17255 | </method> |
17256 | <method name="Is3rdStateAllowedForUser" type="bool" overloaded="no"> | |
781d2982 RD |
17257 | <autodoc>Is3rdStateAllowedForUser(self) -> bool</autodoc> |
17258 | <docstring>Returns whether or not the user can set the CheckBox to the third | |
17259 | state.</docstring> | |
f32fc4bc | 17260 | </method> |
781d2982 RD |
17261 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
17262 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
17263 | <docstring>Get the default attributes for this class. This is useful if you want | |
17264 | to use the same font or colour in your own control as in a standard | |
17265 | control -- which is a much better idea than hard coding specific | |
17266 | colours or fonts which might look completely out of place on the | |
17267 | user's system, especially if it uses themes. | |
17268 | ||
17269 | The variant parameter is only relevant under Mac currently and is | |
17270 | ignore under other platforms. Under Mac, it will change the size of | |
17271 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
17272 | this.</docstring> | |
17273 | <paramlist> | |
17274 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
17275 | </paramlist> | |
17276 | </staticmethod> | |
f32fc4bc RD |
17277 | </class> |
17278 | <pythoncode> | |
856bf319 RD |
17279 | #--------------------------------------------------------------------------- |
17280 | </pythoncode> | |
781d2982 RD |
17281 | <class name="Choice" oldname="wxChoice" module="_controls"> |
17282 | <docstring>A Choice control is used to select one of a list of strings. | |
17283 | Unlike a `wx.ListBox`, only the selection is visible until the | |
ce6878e6 RD |
17284 | user pulls down the menu of choices. |
17285 | ||
17286 | Events | |
17287 | ------ | |
17288 | ================ ========================================== | |
17289 | EVT_CHOICE Sent when an item in the list is selected. | |
17290 | ================ ========================================== | |
17291 | </docstring> | |
f32fc4bc RD |
17292 | <baseclass name="ControlWithItems"/> |
17293 | <constructor name="Choice" overloaded="no"> | |
c2dda882 RD |
17294 | <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, |
17295 | List choices=[], long style=0, Validator validator=DefaultValidator, | |
856bf319 | 17296 | String name=ChoiceNameStr) -> Choice</autodoc> |
c2dda882 | 17297 | <docstring>Create and show a Choice control</docstring> |
f32fc4bc RD |
17298 | <paramlist> |
17299 | <param name="parent" type="Window" default=""/> | |
781d2982 | 17300 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
17301 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
17302 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17303 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
17304 | <param name="style" type="long" default="0"/> | |
17305 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
17306 | <param name="name" type="String" default="wxPyChoiceNameStr"/> | |
17307 | </paramlist> | |
17308 | </constructor> | |
17309 | <constructor name="PreChoice" overloaded="no"> | |
17310 | <autodoc>PreChoice() -> Choice</autodoc> | |
c2dda882 | 17311 | <docstring>Precreate a Choice control for 2-phase creation.</docstring> |
f32fc4bc RD |
17312 | </constructor> |
17313 | <method name="Create" type="bool" overloaded="no"> | |
c2dda882 RD |
17314 | <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, |
17315 | List choices=[], long style=0, Validator validator=DefaultValidator, | |
856bf319 | 17316 | String name=ChoiceNameStr) -> bool</autodoc> |
ce6878e6 | 17317 | <docstring>Actually create the GUI Choice control for 2-phase creation</docstring> |
f32fc4bc RD |
17318 | <paramlist> |
17319 | <param name="parent" type="Window" default=""/> | |
781d2982 | 17320 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
17321 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
17322 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17323 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
17324 | <param name="style" type="long" default="0"/> | |
17325 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
17326 | <param name="name" type="String" default="wxPyChoiceNameStr"/> | |
17327 | </paramlist> | |
17328 | </method> | |
f32fc4bc | 17329 | <method name="SetSelection" type="" overloaded="no"> |
781d2982 | 17330 | <autodoc>SetSelection(self, int n)</autodoc> |
c2dda882 | 17331 | <docstring>Select the n'th item (zero based) in the list.</docstring> |
f32fc4bc RD |
17332 | <paramlist> |
17333 | <param name="n" type="int" default=""/> | |
17334 | </paramlist> | |
17335 | </method> | |
781d2982 RD |
17336 | <method name="SetStringSelection" type="bool" overloaded="no"> |
17337 | <autodoc>SetStringSelection(self, String string) -> bool</autodoc> | |
c2dda882 | 17338 | <docstring>Select the item with the specifed string</docstring> |
f32fc4bc RD |
17339 | <paramlist> |
17340 | <param name="string" type="String" default=""/> | |
17341 | </paramlist> | |
17342 | </method> | |
17343 | <method name="SetString" type="" overloaded="no"> | |
781d2982 | 17344 | <autodoc>SetString(self, int n, String string)</autodoc> |
c2dda882 | 17345 | <docstring>Set the label for the n'th item (zero based) in the list.</docstring> |
f32fc4bc RD |
17346 | <paramlist> |
17347 | <param name="n" type="int" default=""/> | |
c2dda882 | 17348 | <param name="string" type="String" default=""/> |
f32fc4bc RD |
17349 | </paramlist> |
17350 | </method> | |
781d2982 RD |
17351 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
17352 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
17353 | <docstring>Get the default attributes for this class. This is useful if you want | |
17354 | to use the same font or colour in your own control as in a standard | |
17355 | control -- which is a much better idea than hard coding specific | |
17356 | colours or fonts which might look completely out of place on the | |
17357 | user's system, especially if it uses themes. | |
17358 | ||
17359 | The variant parameter is only relevant under Mac currently and is | |
17360 | ignore under other platforms. Under Mac, it will change the size of | |
17361 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
17362 | this.</docstring> | |
17363 | <paramlist> | |
17364 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
17365 | </paramlist> | |
17366 | </staticmethod> | |
f32fc4bc RD |
17367 | </class> |
17368 | <pythoncode> | |
856bf319 RD |
17369 | #--------------------------------------------------------------------------- |
17370 | </pythoncode> | |
781d2982 RD |
17371 | <class name="ComboBox" oldname="wxComboBox" module="_controls"> |
17372 | <docstring>A combobox is like a combination of an edit control and a | |
17373 | listbox. It can be displayed as static list with editable or | |
17374 | read-only text field; or a drop-down list with text field. | |
c2dda882 | 17375 | |
781d2982 | 17376 | A combobox permits a single selection only. Combobox items are |
ce6878e6 RD |
17377 | numbered from zero. |
17378 | ||
17379 | Styles | |
17380 | ------ | |
17381 | ================ =============================================== | |
17382 | wx.CB_SIMPLE Creates a combobox with a permanently | |
17383 | displayed list. Windows only. | |
17384 | ||
17385 | wx.CB_DROPDOWN Creates a combobox with a drop-down list. | |
17386 | ||
17387 | wx.CB_READONLY Same as wxCB_DROPDOWN but only the strings | |
17388 | specified as the combobox choices can be | |
17389 | selected, it is impossible to select | |
17390 | (even from a program) a string which is | |
17391 | not in the choices list. | |
17392 | ||
17393 | wx.CB_SORT Sorts the entries in the list alphabetically. | |
17394 | ================ =============================================== | |
17395 | ||
17396 | Events | |
17397 | ------- | |
17398 | ================ =============================================== | |
17399 | EVT_COMBOBOX Sent when an item on the list is selected. | |
17400 | EVT_TEXT Sent when the combobox text changes. | |
17401 | ================ =============================================== | |
17402 | </docstring> | |
f32fc4bc RD |
17403 | <baseclass name="Control"/> |
17404 | <baseclass name="ItemContainer"/> | |
17405 | <constructor name="ComboBox" overloaded="no"> | |
c2dda882 RD |
17406 | <autodoc>__init__(Window parent, int id, String value=EmptyString, |
17407 | Point pos=DefaultPosition, Size size=DefaultSize, | |
781d2982 RD |
17408 | List choices=[], long style=0, Validator validator=DefaultValidator, |
17409 | String name=ComboBoxNameStr) -> ComboBox</autodoc> | |
c2dda882 | 17410 | <docstring>Constructor, creates and shows a ComboBox control.</docstring> |
f32fc4bc RD |
17411 | <paramlist> |
17412 | <param name="parent" type="Window" default=""/> | |
781d2982 | 17413 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
17414 | <param name="value" type="String" default="wxPyEmptyString"/> |
17415 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
17416 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17417 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
17418 | <param name="style" type="long" default="0"/> | |
17419 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
17420 | <param name="name" type="String" default="wxPyComboBoxNameStr"/> | |
17421 | </paramlist> | |
17422 | </constructor> | |
17423 | <constructor name="PreComboBox" overloaded="no"> | |
17424 | <autodoc>PreComboBox() -> ComboBox</autodoc> | |
c2dda882 | 17425 | <docstring>Precreate a ComboBox control for 2-phase creation.</docstring> |
f32fc4bc RD |
17426 | </constructor> |
17427 | <method name="Create" type="bool" overloaded="no"> | |
c2dda882 RD |
17428 | <autodoc>Create(Window parent, int id, String value=EmptyString, |
17429 | Point pos=DefaultPosition, Size size=DefaultSize, | |
17430 | List choices=[], long style=0, Validator validator=DefaultValidator, | |
17431 | String name=ChoiceNameStr) -> bool</autodoc> | |
ce6878e6 | 17432 | <docstring>Actually create the GUI wxComboBox control for 2-phase creation</docstring> |
f32fc4bc RD |
17433 | <paramlist> |
17434 | <param name="parent" type="Window" default=""/> | |
781d2982 | 17435 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
17436 | <param name="value" type="String" default="wxPyEmptyString"/> |
17437 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
17438 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17439 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
17440 | <param name="style" type="long" default="0"/> | |
17441 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
c2dda882 | 17442 | <param name="name" type="String" default="wxPyChoiceNameStr"/> |
f32fc4bc RD |
17443 | </paramlist> |
17444 | </method> | |
17445 | <method name="GetValue" type="String" overloaded="no"> | |
781d2982 | 17446 | <autodoc>GetValue(self) -> String</autodoc> |
c2dda882 | 17447 | <docstring>Returns the current value in the combobox text field.</docstring> |
f32fc4bc RD |
17448 | </method> |
17449 | <method name="SetValue" type="" overloaded="no"> | |
781d2982 | 17450 | <autodoc>SetValue(self, String value)</autodoc> |
f32fc4bc RD |
17451 | <paramlist> |
17452 | <param name="value" type="String" default=""/> | |
17453 | </paramlist> | |
17454 | </method> | |
17455 | <method name="Copy" type="" overloaded="no"> | |
781d2982 | 17456 | <autodoc>Copy(self)</autodoc> |
c2dda882 | 17457 | <docstring>Copies the selected text to the clipboard.</docstring> |
f32fc4bc RD |
17458 | </method> |
17459 | <method name="Cut" type="" overloaded="no"> | |
781d2982 | 17460 | <autodoc>Cut(self)</autodoc> |
c2dda882 | 17461 | <docstring>Copies the selected text to the clipboard and removes the selection.</docstring> |
f32fc4bc RD |
17462 | </method> |
17463 | <method name="Paste" type="" overloaded="no"> | |
781d2982 | 17464 | <autodoc>Paste(self)</autodoc> |
c2dda882 | 17465 | <docstring>Pastes text from the clipboard to the text field.</docstring> |
f32fc4bc RD |
17466 | </method> |
17467 | <method name="SetInsertionPoint" type="" overloaded="no"> | |
781d2982 | 17468 | <autodoc>SetInsertionPoint(self, long pos)</autodoc> |
c2dda882 | 17469 | <docstring>Sets the insertion point in the combobox text field.</docstring> |
f32fc4bc RD |
17470 | <paramlist> |
17471 | <param name="pos" type="long" default=""/> | |
17472 | </paramlist> | |
17473 | </method> | |
17474 | <method name="GetInsertionPoint" type="long" overloaded="no"> | |
781d2982 | 17475 | <autodoc>GetInsertionPoint(self) -> long</autodoc> |
c2dda882 | 17476 | <docstring>Returns the insertion point for the combobox's text field.</docstring> |
f32fc4bc RD |
17477 | </method> |
17478 | <method name="GetLastPosition" type="long" overloaded="no"> | |
781d2982 | 17479 | <autodoc>GetLastPosition(self) -> long</autodoc> |
c2dda882 | 17480 | <docstring>Returns the last position in the combobox text field.</docstring> |
f32fc4bc RD |
17481 | </method> |
17482 | <method name="Replace" type="" overloaded="no"> | |
781d2982 | 17483 | <autodoc>Replace(self, long from, long to, String value)</autodoc> |
c2dda882 RD |
17484 | <docstring>Replaces the text between two positions with the given text, in the |
17485 | combobox text field.</docstring> | |
f32fc4bc RD |
17486 | <paramlist> |
17487 | <param name="from" type="long" default=""/> | |
17488 | <param name="to" type="long" default=""/> | |
17489 | <param name="value" type="String" default=""/> | |
17490 | </paramlist> | |
17491 | </method> | |
17492 | <method name="SetSelection" type="" overloaded="no"> | |
781d2982 RD |
17493 | <autodoc>SetSelection(self, int n)</autodoc> |
17494 | <docstring>Sets the item at index 'n' to be the selected item.</docstring> | |
f32fc4bc RD |
17495 | <paramlist> |
17496 | <param name="n" type="int" default=""/> | |
17497 | </paramlist> | |
17498 | </method> | |
17499 | <method name="SetMark" type="" overloaded="no"> | |
781d2982 RD |
17500 | <autodoc>SetMark(self, long from, long to)</autodoc> |
17501 | <docstring>Selects the text between the two positions in the combobox text field.</docstring> | |
f32fc4bc RD |
17502 | <paramlist> |
17503 | <param name="from" type="long" default=""/> | |
17504 | <param name="to" type="long" default=""/> | |
17505 | </paramlist> | |
17506 | </method> | |
781d2982 RD |
17507 | <method name="SetStringSelection" type="bool" overloaded="no"> |
17508 | <autodoc>SetStringSelection(self, String string) -> bool</autodoc> | |
17509 | <docstring>Select the item with the specifed string</docstring> | |
17510 | <paramlist> | |
17511 | <param name="string" type="String" default=""/> | |
17512 | </paramlist> | |
17513 | </method> | |
17514 | <method name="SetString" type="" overloaded="no"> | |
17515 | <autodoc>SetString(self, int n, String string)</autodoc> | |
17516 | <docstring>Set the label for the n'th item (zero based) in the list.</docstring> | |
17517 | <paramlist> | |
17518 | <param name="n" type="int" default=""/> | |
17519 | <param name="string" type="String" default=""/> | |
17520 | </paramlist> | |
17521 | </method> | |
f32fc4bc | 17522 | <method name="SetEditable" type="" overloaded="no"> |
781d2982 | 17523 | <autodoc>SetEditable(self, bool editable)</autodoc> |
f32fc4bc RD |
17524 | <paramlist> |
17525 | <param name="editable" type="bool" default=""/> | |
17526 | </paramlist> | |
17527 | </method> | |
17528 | <method name="SetInsertionPointEnd" type="" overloaded="no"> | |
781d2982 | 17529 | <autodoc>SetInsertionPointEnd(self)</autodoc> |
c2dda882 | 17530 | <docstring>Sets the insertion point at the end of the combobox text field.</docstring> |
f32fc4bc RD |
17531 | </method> |
17532 | <method name="Remove" type="" overloaded="no"> | |
781d2982 | 17533 | <autodoc>Remove(self, long from, long to)</autodoc> |
c2dda882 | 17534 | <docstring>Removes the text between the two positions in the combobox text field.</docstring> |
f32fc4bc RD |
17535 | <paramlist> |
17536 | <param name="from" type="long" default=""/> | |
17537 | <param name="to" type="long" default=""/> | |
17538 | </paramlist> | |
17539 | </method> | |
781d2982 RD |
17540 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
17541 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
17542 | <docstring>Get the default attributes for this class. This is useful if you want | |
17543 | to use the same font or colour in your own control as in a standard | |
17544 | control -- which is a much better idea than hard coding specific | |
17545 | colours or fonts which might look completely out of place on the | |
17546 | user's system, especially if it uses themes. | |
17547 | ||
17548 | The variant parameter is only relevant under Mac currently and is | |
17549 | ignore under other platforms. Under Mac, it will change the size of | |
17550 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
17551 | this.</docstring> | |
17552 | <paramlist> | |
17553 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
17554 | </paramlist> | |
17555 | </staticmethod> | |
f32fc4bc RD |
17556 | </class> |
17557 | <pythoncode> | |
856bf319 RD |
17558 | #--------------------------------------------------------------------------- |
17559 | </pythoncode> | |
781d2982 | 17560 | <class name="Gauge" oldname="wxGauge" module="_controls"> |
f32fc4bc RD |
17561 | <baseclass name="Control"/> |
17562 | <constructor name="Gauge" overloaded="no"> | |
781d2982 | 17563 | <autodoc>__init__(self, Window parent, int id=-1, int range=100, Point pos=DefaultPosition, |
856bf319 RD |
17564 | Size size=DefaultSize, long style=GA_HORIZONTAL, |
17565 | Validator validator=DefaultValidator, | |
17566 | String name=GaugeNameStr) -> Gauge</autodoc> | |
f32fc4bc RD |
17567 | <paramlist> |
17568 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
17569 | <param name="id" type="int" default="-1"/> |
17570 | <param name="range" type="int" default="100"/> | |
f32fc4bc RD |
17571 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
17572 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17573 | <param name="style" type="long" default="wxGA_HORIZONTAL"/> | |
17574 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
17575 | <param name="name" type="String" default="wxPyGaugeNameStr"/> | |
17576 | </paramlist> | |
17577 | </constructor> | |
17578 | <constructor name="PreGauge" overloaded="no"> | |
17579 | <autodoc>PreGauge() -> Gauge</autodoc> | |
17580 | </constructor> | |
17581 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 17582 | <autodoc>Create(self, Window parent, int id=-1, int range=100, Point pos=DefaultPosition, |
856bf319 RD |
17583 | Size size=DefaultSize, long style=GA_HORIZONTAL, |
17584 | Validator validator=DefaultValidator, | |
17585 | String name=GaugeNameStr) -> bool</autodoc> | |
f32fc4bc RD |
17586 | <paramlist> |
17587 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
17588 | <param name="id" type="int" default="-1"/> |
17589 | <param name="range" type="int" default="100"/> | |
f32fc4bc RD |
17590 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
17591 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17592 | <param name="style" type="long" default="wxGA_HORIZONTAL"/> | |
17593 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
17594 | <param name="name" type="String" default="wxPyGaugeNameStr"/> | |
17595 | </paramlist> | |
17596 | </method> | |
17597 | <method name="SetRange" type="" overloaded="no"> | |
781d2982 | 17598 | <autodoc>SetRange(self, int range)</autodoc> |
f32fc4bc RD |
17599 | <paramlist> |
17600 | <param name="range" type="int" default=""/> | |
17601 | </paramlist> | |
17602 | </method> | |
17603 | <method name="GetRange" type="int" overloaded="no"> | |
781d2982 | 17604 | <autodoc>GetRange(self) -> int</autodoc> |
f32fc4bc RD |
17605 | </method> |
17606 | <method name="SetValue" type="" overloaded="no"> | |
781d2982 | 17607 | <autodoc>SetValue(self, int pos)</autodoc> |
f32fc4bc RD |
17608 | <paramlist> |
17609 | <param name="pos" type="int" default=""/> | |
17610 | </paramlist> | |
17611 | </method> | |
17612 | <method name="GetValue" type="int" overloaded="no"> | |
781d2982 | 17613 | <autodoc>GetValue(self) -> int</autodoc> |
f32fc4bc RD |
17614 | </method> |
17615 | <method name="IsVertical" type="bool" overloaded="no"> | |
781d2982 | 17616 | <autodoc>IsVertical(self) -> bool</autodoc> |
f32fc4bc RD |
17617 | </method> |
17618 | <method name="SetShadowWidth" type="" overloaded="no"> | |
781d2982 | 17619 | <autodoc>SetShadowWidth(self, int w)</autodoc> |
f32fc4bc RD |
17620 | <paramlist> |
17621 | <param name="w" type="int" default=""/> | |
17622 | </paramlist> | |
17623 | </method> | |
17624 | <method name="GetShadowWidth" type="int" overloaded="no"> | |
781d2982 | 17625 | <autodoc>GetShadowWidth(self) -> int</autodoc> |
f32fc4bc RD |
17626 | </method> |
17627 | <method name="SetBezelFace" type="" overloaded="no"> | |
781d2982 | 17628 | <autodoc>SetBezelFace(self, int w)</autodoc> |
f32fc4bc RD |
17629 | <paramlist> |
17630 | <param name="w" type="int" default=""/> | |
17631 | </paramlist> | |
17632 | </method> | |
17633 | <method name="GetBezelFace" type="int" overloaded="no"> | |
781d2982 | 17634 | <autodoc>GetBezelFace(self) -> int</autodoc> |
f32fc4bc | 17635 | </method> |
781d2982 RD |
17636 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
17637 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
17638 | <docstring>Get the default attributes for this class. This is useful if you want | |
17639 | to use the same font or colour in your own control as in a standard | |
17640 | control -- which is a much better idea than hard coding specific | |
17641 | colours or fonts which might look completely out of place on the | |
17642 | user's system, especially if it uses themes. | |
17643 | ||
17644 | The variant parameter is only relevant under Mac currently and is | |
17645 | ignore under other platforms. Under Mac, it will change the size of | |
17646 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
17647 | this.</docstring> | |
17648 | <paramlist> | |
17649 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
17650 | </paramlist> | |
17651 | </staticmethod> | |
f32fc4bc RD |
17652 | </class> |
17653 | <pythoncode> | |
856bf319 RD |
17654 | #--------------------------------------------------------------------------- |
17655 | </pythoncode> | |
781d2982 | 17656 | <class name="StaticBox" oldname="wxStaticBox" module="_controls"> |
f32fc4bc RD |
17657 | <baseclass name="Control"/> |
17658 | <constructor name="StaticBox" overloaded="no"> | |
781d2982 RD |
17659 | <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString, |
17660 | Point pos=DefaultPosition, Size size=DefaultSize, | |
17661 | long style=0, String name=StaticBoxNameStr) -> StaticBox</autodoc> | |
f32fc4bc RD |
17662 | <paramlist> |
17663 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
17664 | <param name="id" type="int" default="-1"/> |
17665 | <param name="label" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
17666 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
17667 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17668 | <param name="style" type="long" default="0"/> | |
17669 | <param name="name" type="String" default="wxPyStaticBoxNameStr"/> | |
17670 | </paramlist> | |
17671 | </constructor> | |
17672 | <constructor name="PreStaticBox" overloaded="no"> | |
17673 | <autodoc>PreStaticBox() -> StaticBox</autodoc> | |
17674 | </constructor> | |
17675 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
17676 | <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString, |
17677 | Point pos=DefaultPosition, Size size=DefaultSize, | |
17678 | long style=0, String name=StaticBoxNameStr) -> bool</autodoc> | |
f32fc4bc RD |
17679 | <paramlist> |
17680 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
17681 | <param name="id" type="int" default="-1"/> |
17682 | <param name="label" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
17683 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
17684 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17685 | <param name="style" type="long" default="0"/> | |
17686 | <param name="name" type="String" default="wxPyStaticBoxNameStr"/> | |
17687 | </paramlist> | |
17688 | </method> | |
781d2982 RD |
17689 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
17690 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
17691 | <docstring>Get the default attributes for this class. This is useful if you want | |
17692 | to use the same font or colour in your own control as in a standard | |
17693 | control -- which is a much better idea than hard coding specific | |
17694 | colours or fonts which might look completely out of place on the | |
17695 | user's system, especially if it uses themes. | |
17696 | ||
17697 | The variant parameter is only relevant under Mac currently and is | |
17698 | ignore under other platforms. Under Mac, it will change the size of | |
17699 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
17700 | this.</docstring> | |
17701 | <paramlist> | |
17702 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
17703 | </paramlist> | |
17704 | </staticmethod> | |
f32fc4bc RD |
17705 | </class> |
17706 | <pythoncode> | |
856bf319 RD |
17707 | #--------------------------------------------------------------------------- |
17708 | </pythoncode> | |
781d2982 | 17709 | <class name="StaticLine" oldname="wxStaticLine" module="_controls"> |
f32fc4bc RD |
17710 | <baseclass name="Control"/> |
17711 | <constructor name="StaticLine" overloaded="no"> | |
781d2982 RD |
17712 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
17713 | Size size=DefaultSize, long style=LI_HORIZONTAL, | |
856bf319 | 17714 | String name=StaticTextNameStr) -> StaticLine</autodoc> |
f32fc4bc RD |
17715 | <paramlist> |
17716 | <param name="parent" type="Window" default=""/> | |
781d2982 | 17717 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
17718 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
17719 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17720 | <param name="style" type="long" default="wxLI_HORIZONTAL"/> | |
17721 | <param name="name" type="String" default="wxPyStaticTextNameStr"/> | |
17722 | </paramlist> | |
17723 | </constructor> | |
17724 | <constructor name="PreStaticLine" overloaded="no"> | |
17725 | <autodoc>PreStaticLine() -> StaticLine</autodoc> | |
17726 | </constructor> | |
17727 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
17728 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
17729 | Size size=DefaultSize, long style=LI_HORIZONTAL, | |
856bf319 | 17730 | String name=StaticTextNameStr) -> bool</autodoc> |
f32fc4bc RD |
17731 | <paramlist> |
17732 | <param name="parent" type="Window" default=""/> | |
781d2982 | 17733 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
17734 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
17735 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17736 | <param name="style" type="long" default="wxLI_HORIZONTAL"/> | |
17737 | <param name="name" type="String" default="wxPyStaticTextNameStr"/> | |
17738 | </paramlist> | |
17739 | </method> | |
17740 | <method name="IsVertical" type="bool" overloaded="no"> | |
781d2982 | 17741 | <autodoc>IsVertical(self) -> bool</autodoc> |
f32fc4bc RD |
17742 | </method> |
17743 | <staticmethod name="GetDefaultSize" type="int" overloaded="no"> | |
17744 | <autodoc>GetDefaultSize() -> int</autodoc> | |
17745 | </staticmethod> | |
781d2982 RD |
17746 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
17747 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
17748 | <docstring>Get the default attributes for this class. This is useful if you want | |
17749 | to use the same font or colour in your own control as in a standard | |
17750 | control -- which is a much better idea than hard coding specific | |
17751 | colours or fonts which might look completely out of place on the | |
17752 | user's system, especially if it uses themes. | |
17753 | ||
17754 | The variant parameter is only relevant under Mac currently and is | |
17755 | ignore under other platforms. Under Mac, it will change the size of | |
17756 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
17757 | this.</docstring> | |
17758 | <paramlist> | |
17759 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
17760 | </paramlist> | |
17761 | </staticmethod> | |
f32fc4bc RD |
17762 | </class> |
17763 | <pythoncode> | |
856bf319 RD |
17764 | #--------------------------------------------------------------------------- |
17765 | </pythoncode> | |
781d2982 | 17766 | <class name="StaticText" oldname="wxStaticText" module="_controls"> |
f32fc4bc RD |
17767 | <baseclass name="Control"/> |
17768 | <constructor name="StaticText" overloaded="no"> | |
781d2982 RD |
17769 | <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString, |
17770 | Point pos=DefaultPosition, Size size=DefaultSize, | |
17771 | long style=0, String name=StaticTextNameStr) -> StaticText</autodoc> | |
f32fc4bc RD |
17772 | <paramlist> |
17773 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
17774 | <param name="id" type="int" default="-1"/> |
17775 | <param name="label" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
17776 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
17777 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17778 | <param name="style" type="long" default="0"/> | |
17779 | <param name="name" type="String" default="wxPyStaticTextNameStr"/> | |
17780 | </paramlist> | |
17781 | </constructor> | |
17782 | <constructor name="PreStaticText" overloaded="no"> | |
17783 | <autodoc>PreStaticText() -> StaticText</autodoc> | |
17784 | </constructor> | |
17785 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
17786 | <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString, |
17787 | Point pos=DefaultPosition, Size size=DefaultSize, | |
17788 | long style=0, String name=StaticTextNameStr) -> bool</autodoc> | |
f32fc4bc RD |
17789 | <paramlist> |
17790 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
17791 | <param name="id" type="int" default="-1"/> |
17792 | <param name="label" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
17793 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
17794 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17795 | <param name="style" type="long" default="0"/> | |
17796 | <param name="name" type="String" default="wxPyStaticTextNameStr"/> | |
17797 | </paramlist> | |
17798 | </method> | |
781d2982 RD |
17799 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
17800 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
17801 | <docstring>Get the default attributes for this class. This is useful if you want | |
17802 | to use the same font or colour in your own control as in a standard | |
17803 | control -- which is a much better idea than hard coding specific | |
17804 | colours or fonts which might look completely out of place on the | |
17805 | user's system, especially if it uses themes. | |
17806 | ||
17807 | The variant parameter is only relevant under Mac currently and is | |
17808 | ignore under other platforms. Under Mac, it will change the size of | |
17809 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
17810 | this.</docstring> | |
17811 | <paramlist> | |
17812 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
17813 | </paramlist> | |
17814 | </staticmethod> | |
f32fc4bc RD |
17815 | </class> |
17816 | <pythoncode> | |
856bf319 RD |
17817 | #--------------------------------------------------------------------------- |
17818 | </pythoncode> | |
781d2982 | 17819 | <class name="StaticBitmap" oldname="wxStaticBitmap" module="_controls"> |
f32fc4bc RD |
17820 | <baseclass name="Control"/> |
17821 | <constructor name="StaticBitmap" overloaded="no"> | |
781d2982 RD |
17822 | <autodoc>__init__(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap, |
17823 | Point pos=DefaultPosition, Size size=DefaultSize, | |
17824 | long style=0, String name=StaticBitmapNameStr) -> StaticBitmap</autodoc> | |
f32fc4bc RD |
17825 | <paramlist> |
17826 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
17827 | <param name="id" type="int" default="-1"/> |
17828 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
f32fc4bc RD |
17829 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
17830 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17831 | <param name="style" type="long" default="0"/> | |
17832 | <param name="name" type="String" default="wxPyStaticBitmapNameStr"/> | |
17833 | </paramlist> | |
17834 | </constructor> | |
17835 | <constructor name="PreStaticBitmap" overloaded="no"> | |
17836 | <autodoc>PreStaticBitmap() -> StaticBitmap</autodoc> | |
17837 | </constructor> | |
17838 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
17839 | <autodoc>Create(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap, |
17840 | Point pos=DefaultPosition, Size size=DefaultSize, | |
17841 | long style=0, String name=StaticBitmapNameStr) -> bool</autodoc> | |
f32fc4bc RD |
17842 | <paramlist> |
17843 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
17844 | <param name="id" type="int" default="-1"/> |
17845 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
f32fc4bc RD |
17846 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
17847 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17848 | <param name="style" type="long" default="0"/> | |
17849 | <param name="name" type="String" default="wxPyStaticBitmapNameStr"/> | |
17850 | </paramlist> | |
17851 | </method> | |
17852 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
781d2982 | 17853 | <autodoc>GetBitmap(self) -> Bitmap</autodoc> |
f32fc4bc RD |
17854 | </method> |
17855 | <method name="SetBitmap" type="" overloaded="no"> | |
781d2982 | 17856 | <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc> |
f32fc4bc RD |
17857 | <paramlist> |
17858 | <param name="bitmap" type="Bitmap" default=""/> | |
17859 | </paramlist> | |
17860 | </method> | |
17861 | <method name="SetIcon" type="" overloaded="no"> | |
781d2982 | 17862 | <autodoc>SetIcon(self, Icon icon)</autodoc> |
f32fc4bc RD |
17863 | <paramlist> |
17864 | <param name="icon" type="Icon" default=""/> | |
17865 | </paramlist> | |
17866 | </method> | |
781d2982 RD |
17867 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
17868 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
17869 | <docstring>Get the default attributes for this class. This is useful if you want | |
17870 | to use the same font or colour in your own control as in a standard | |
17871 | control -- which is a much better idea than hard coding specific | |
17872 | colours or fonts which might look completely out of place on the | |
17873 | user's system, especially if it uses themes. | |
17874 | ||
17875 | The variant parameter is only relevant under Mac currently and is | |
17876 | ignore under other platforms. Under Mac, it will change the size of | |
17877 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
17878 | this.</docstring> | |
17879 | <paramlist> | |
17880 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
17881 | </paramlist> | |
17882 | </staticmethod> | |
f32fc4bc RD |
17883 | </class> |
17884 | <pythoncode> | |
856bf319 RD |
17885 | #--------------------------------------------------------------------------- |
17886 | </pythoncode> | |
781d2982 | 17887 | <class name="ListBox" oldname="wxListBox" module="_controls"> |
f32fc4bc RD |
17888 | <baseclass name="ControlWithItems"/> |
17889 | <constructor name="ListBox" overloaded="no"> | |
781d2982 RD |
17890 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
17891 | Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray, | |
856bf319 RD |
17892 | long style=0, Validator validator=DefaultValidator, |
17893 | String name=ListBoxNameStr) -> ListBox</autodoc> | |
f32fc4bc RD |
17894 | <paramlist> |
17895 | <param name="parent" type="Window" default=""/> | |
781d2982 | 17896 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
17897 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
17898 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17899 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
17900 | <param name="style" type="long" default="0"/> | |
17901 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
17902 | <param name="name" type="String" default="wxPyListBoxNameStr"/> | |
17903 | </paramlist> | |
17904 | </constructor> | |
17905 | <constructor name="PreListBox" overloaded="no"> | |
17906 | <autodoc>PreListBox() -> ListBox</autodoc> | |
17907 | </constructor> | |
17908 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
17909 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
17910 | Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray, | |
856bf319 RD |
17911 | long style=0, Validator validator=DefaultValidator, |
17912 | String name=ListBoxNameStr) -> bool</autodoc> | |
f32fc4bc RD |
17913 | <paramlist> |
17914 | <param name="parent" type="Window" default=""/> | |
781d2982 | 17915 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
17916 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
17917 | <param name="size" type="Size" default="wxDefaultSize"/> | |
17918 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
17919 | <param name="style" type="long" default="0"/> | |
17920 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
17921 | <param name="name" type="String" default="wxPyListBoxNameStr"/> | |
17922 | </paramlist> | |
17923 | </method> | |
17924 | <method name="Insert" type="" overloaded="no"> | |
781d2982 RD |
17925 | <autodoc>Insert(self, String item, int pos, PyObject clientData=None)</autodoc> |
17926 | <docstring>Insert an item into the control before the item at the ``pos`` index, | |
c2dda882 | 17927 | optionally associating some data object with the item.</docstring> |
f32fc4bc RD |
17928 | <paramlist> |
17929 | <param name="item" type="String" default=""/> | |
17930 | <param name="pos" type="int" default=""/> | |
17931 | <param name="clientData" type="PyObject" default="NULL"/> | |
17932 | </paramlist> | |
17933 | </method> | |
17934 | <method name="InsertItems" type="" overloaded="no"> | |
781d2982 | 17935 | <autodoc>InsertItems(self, wxArrayString items, int pos)</autodoc> |
f32fc4bc RD |
17936 | <paramlist> |
17937 | <param name="items" type="wxArrayString" default=""/> | |
17938 | <param name="pos" type="int" default=""/> | |
17939 | </paramlist> | |
17940 | </method> | |
17941 | <method name="Set" type="" overloaded="no"> | |
781d2982 | 17942 | <autodoc>Set(self, wxArrayString items)</autodoc> |
f32fc4bc RD |
17943 | <paramlist> |
17944 | <param name="items" type="wxArrayString" default=""/> | |
17945 | </paramlist> | |
17946 | </method> | |
17947 | <method name="IsSelected" type="bool" overloaded="no"> | |
781d2982 | 17948 | <autodoc>IsSelected(self, int n) -> bool</autodoc> |
f32fc4bc RD |
17949 | <paramlist> |
17950 | <param name="n" type="int" default=""/> | |
17951 | </paramlist> | |
17952 | </method> | |
17953 | <method name="SetSelection" type="" overloaded="no"> | |
781d2982 | 17954 | <autodoc>SetSelection(self, int n, bool select=True)</autodoc> |
f32fc4bc RD |
17955 | <paramlist> |
17956 | <param name="n" type="int" default=""/> | |
17957 | <param name="select" type="bool" default="True"/> | |
17958 | </paramlist> | |
17959 | </method> | |
17960 | <method name="Select" type="" overloaded="no"> | |
781d2982 | 17961 | <autodoc>Select(self, int n)</autodoc> |
c2dda882 | 17962 | <docstring>Sets the item at index 'n' to be the selected item.</docstring> |
f32fc4bc RD |
17963 | <paramlist> |
17964 | <param name="n" type="int" default=""/> | |
17965 | </paramlist> | |
17966 | </method> | |
17967 | <method name="Deselect" type="" overloaded="no"> | |
781d2982 | 17968 | <autodoc>Deselect(self, int n)</autodoc> |
f32fc4bc RD |
17969 | <paramlist> |
17970 | <param name="n" type="int" default=""/> | |
17971 | </paramlist> | |
17972 | </method> | |
17973 | <method name="DeselectAll" type="" overloaded="no"> | |
781d2982 | 17974 | <autodoc>DeselectAll(self, int itemToLeaveSelected=-1)</autodoc> |
f32fc4bc RD |
17975 | <paramlist> |
17976 | <param name="itemToLeaveSelected" type="int" default="-1"/> | |
17977 | </paramlist> | |
17978 | </method> | |
17979 | <method name="SetStringSelection" type="bool" overloaded="no"> | |
781d2982 | 17980 | <autodoc>SetStringSelection(self, String s, bool select=True) -> bool</autodoc> |
f32fc4bc RD |
17981 | <paramlist> |
17982 | <param name="s" type="String" default=""/> | |
17983 | <param name="select" type="bool" default="True"/> | |
17984 | </paramlist> | |
17985 | </method> | |
17986 | <method name="GetSelections" type="PyObject" overloaded="no"> | |
781d2982 | 17987 | <autodoc>GetSelections(self) -> PyObject</autodoc> |
f32fc4bc RD |
17988 | </method> |
17989 | <method name="SetFirstItem" type="" overloaded="no"> | |
781d2982 | 17990 | <autodoc>SetFirstItem(self, int n)</autodoc> |
f32fc4bc RD |
17991 | <paramlist> |
17992 | <param name="n" type="int" default=""/> | |
17993 | </paramlist> | |
17994 | </method> | |
17995 | <method name="SetFirstItemStr" type="" overloaded="no"> | |
781d2982 | 17996 | <autodoc>SetFirstItemStr(self, String s)</autodoc> |
f32fc4bc RD |
17997 | <paramlist> |
17998 | <param name="s" type="String" default=""/> | |
17999 | </paramlist> | |
18000 | </method> | |
18001 | <method name="EnsureVisible" type="" overloaded="no"> | |
781d2982 | 18002 | <autodoc>EnsureVisible(self, int n)</autodoc> |
f32fc4bc RD |
18003 | <paramlist> |
18004 | <param name="n" type="int" default=""/> | |
18005 | </paramlist> | |
18006 | </method> | |
18007 | <method name="AppendAndEnsureVisible" type="" overloaded="no"> | |
781d2982 | 18008 | <autodoc>AppendAndEnsureVisible(self, String s)</autodoc> |
f32fc4bc RD |
18009 | <paramlist> |
18010 | <param name="s" type="String" default=""/> | |
18011 | </paramlist> | |
18012 | </method> | |
18013 | <method name="IsSorted" type="bool" overloaded="no"> | |
781d2982 | 18014 | <autodoc>IsSorted(self) -> bool</autodoc> |
f32fc4bc RD |
18015 | </method> |
18016 | <method name="SetItemForegroundColour" type="" overloaded="no"> | |
781d2982 | 18017 | <autodoc>SetItemForegroundColour(self, int item, Colour c)</autodoc> |
f32fc4bc RD |
18018 | <paramlist> |
18019 | <param name="item" type="int" default=""/> | |
18020 | <param name="c" type="Colour" default=""/> | |
18021 | </paramlist> | |
18022 | </method> | |
18023 | <method name="SetItemBackgroundColour" type="" overloaded="no"> | |
781d2982 | 18024 | <autodoc>SetItemBackgroundColour(self, int item, Colour c)</autodoc> |
f32fc4bc RD |
18025 | <paramlist> |
18026 | <param name="item" type="int" default=""/> | |
18027 | <param name="c" type="Colour" default=""/> | |
18028 | </paramlist> | |
18029 | </method> | |
18030 | <method name="SetItemFont" type="" overloaded="no"> | |
781d2982 | 18031 | <autodoc>SetItemFont(self, int item, Font f)</autodoc> |
f32fc4bc RD |
18032 | <paramlist> |
18033 | <param name="item" type="int" default=""/> | |
18034 | <param name="f" type="Font" default=""/> | |
18035 | </paramlist> | |
18036 | </method> | |
781d2982 RD |
18037 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
18038 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
18039 | <docstring>Get the default attributes for this class. This is useful if you want | |
18040 | to use the same font or colour in your own control as in a standard | |
18041 | control -- which is a much better idea than hard coding specific | |
18042 | colours or fonts which might look completely out of place on the | |
18043 | user's system, especially if it uses themes. | |
18044 | ||
18045 | The variant parameter is only relevant under Mac currently and is | |
18046 | ignore under other platforms. Under Mac, it will change the size of | |
18047 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
18048 | this.</docstring> | |
18049 | <paramlist> | |
18050 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
18051 | </paramlist> | |
18052 | </staticmethod> | |
f32fc4bc RD |
18053 | </class> |
18054 | <pythoncode> | |
0f43fbdf RD |
18055 | #--------------------------------------------------------------------------- |
18056 | </pythoncode> | |
781d2982 | 18057 | <class name="CheckListBox" oldname="wxCheckListBox" module="_controls"> |
f32fc4bc RD |
18058 | <baseclass name="ListBox"/> |
18059 | <constructor name="CheckListBox" overloaded="no"> | |
781d2982 RD |
18060 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
18061 | Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray, | |
856bf319 RD |
18062 | long style=0, Validator validator=DefaultValidator, |
18063 | String name=ListBoxNameStr) -> CheckListBox</autodoc> | |
f32fc4bc RD |
18064 | <paramlist> |
18065 | <param name="parent" type="Window" default=""/> | |
781d2982 | 18066 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
18067 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
18068 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18069 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
18070 | <param name="style" type="long" default="0"/> | |
18071 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
18072 | <param name="name" type="String" default="wxPyListBoxNameStr"/> | |
18073 | </paramlist> | |
18074 | </constructor> | |
18075 | <constructor name="PreCheckListBox" overloaded="no"> | |
18076 | <autodoc>PreCheckListBox() -> CheckListBox</autodoc> | |
18077 | </constructor> | |
18078 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
18079 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
18080 | Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray, | |
856bf319 RD |
18081 | long style=0, Validator validator=DefaultValidator, |
18082 | String name=ListBoxNameStr) -> bool</autodoc> | |
f32fc4bc RD |
18083 | <paramlist> |
18084 | <param name="parent" type="Window" default=""/> | |
781d2982 | 18085 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
18086 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
18087 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18088 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
18089 | <param name="style" type="long" default="0"/> | |
18090 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
18091 | <param name="name" type="String" default="wxPyListBoxNameStr"/> | |
18092 | </paramlist> | |
18093 | </method> | |
18094 | <method name="IsChecked" type="bool" overloaded="no"> | |
781d2982 | 18095 | <autodoc>IsChecked(self, int index) -> bool</autodoc> |
f32fc4bc RD |
18096 | <paramlist> |
18097 | <param name="index" type="int" default=""/> | |
18098 | </paramlist> | |
18099 | </method> | |
18100 | <method name="Check" type="" overloaded="no"> | |
781d2982 | 18101 | <autodoc>Check(self, int index, int check=True)</autodoc> |
f32fc4bc RD |
18102 | <paramlist> |
18103 | <param name="index" type="int" default=""/> | |
18104 | <param name="check" type="int" default="True"/> | |
18105 | </paramlist> | |
18106 | </method> | |
18107 | <method name="GetItemHeight" type="int" overloaded="no"> | |
781d2982 | 18108 | <autodoc>GetItemHeight(self) -> int</autodoc> |
f32fc4bc RD |
18109 | </method> |
18110 | <method name="HitTest" type="int" overloaded="no"> | |
781d2982 | 18111 | <autodoc>HitTest(self, Point pt) -> int</autodoc> |
c2dda882 | 18112 | <docstring>Test where the given (in client coords) point lies</docstring> |
f32fc4bc RD |
18113 | <paramlist> |
18114 | <param name="pt" type="Point" default=""/> | |
18115 | </paramlist> | |
18116 | </method> | |
18117 | <method name="HitTestXY" type="int" overloaded="no"> | |
781d2982 | 18118 | <autodoc>HitTestXY(self, int x, int y) -> int</autodoc> |
c2dda882 | 18119 | <docstring>Test where the given (in client coords) point lies</docstring> |
f32fc4bc RD |
18120 | <paramlist> |
18121 | <param name="x" type="int" default=""/> | |
18122 | <param name="y" type="int" default=""/> | |
18123 | </paramlist> | |
18124 | </method> | |
18125 | </class> | |
18126 | <pythoncode> | |
0f43fbdf RD |
18127 | #--------------------------------------------------------------------------- |
18128 | </pythoncode> | |
781d2982 | 18129 | <class name="TextAttr" oldname="wxTextAttr" module="_controls"> |
ce6878e6 RD |
18130 | <constructor name="TextAttr" overloaded="no"> |
18131 | <autodoc>__init__(self, Colour colText=wxNullColour, Colour colBack=wxNullColour, | |
18132 | Font font=wxNullFont, int alignment=TEXT_ALIGNMENT_DEFAULT) -> TextAttr</autodoc> | |
f32fc4bc | 18133 | <paramlist> |
ce6878e6 | 18134 | <param name="colText" type="Colour" default="wxNullColour"/> |
f32fc4bc RD |
18135 | <param name="colBack" type="Colour" default="wxNullColour"/> |
18136 | <param name="font" type="Font" default="wxNullFont"/> | |
18137 | <param name="alignment" type="wxTextAttrAlignment" default="wxTEXT_ALIGNMENT_DEFAULT"/> | |
18138 | </paramlist> | |
18139 | </constructor> | |
18140 | <destructor name="~wxTextAttr" overloaded="no"> | |
781d2982 | 18141 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
18142 | </destructor> |
18143 | <method name="Init" type="" overloaded="no"> | |
781d2982 | 18144 | <autodoc>Init(self)</autodoc> |
f32fc4bc RD |
18145 | </method> |
18146 | <method name="SetTextColour" type="" overloaded="no"> | |
781d2982 | 18147 | <autodoc>SetTextColour(self, Colour colText)</autodoc> |
f32fc4bc RD |
18148 | <paramlist> |
18149 | <param name="colText" type="Colour" default=""/> | |
18150 | </paramlist> | |
18151 | </method> | |
18152 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
781d2982 | 18153 | <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc> |
f32fc4bc RD |
18154 | <paramlist> |
18155 | <param name="colBack" type="Colour" default=""/> | |
18156 | </paramlist> | |
18157 | </method> | |
18158 | <method name="SetFont" type="" overloaded="no"> | |
781d2982 | 18159 | <autodoc>SetFont(self, Font font, long flags=TEXT_ATTR_FONT)</autodoc> |
f32fc4bc RD |
18160 | <paramlist> |
18161 | <param name="font" type="Font" default=""/> | |
18162 | <param name="flags" type="long" default="wxTEXT_ATTR_FONT"/> | |
18163 | </paramlist> | |
18164 | </method> | |
18165 | <method name="SetAlignment" type="" overloaded="no"> | |
781d2982 | 18166 | <autodoc>SetAlignment(self, int alignment)</autodoc> |
f32fc4bc RD |
18167 | <paramlist> |
18168 | <param name="alignment" type="wxTextAttrAlignment" default=""/> | |
18169 | </paramlist> | |
18170 | </method> | |
18171 | <method name="SetTabs" type="" overloaded="no"> | |
781d2982 | 18172 | <autodoc>SetTabs(self, wxArrayInt tabs)</autodoc> |
f32fc4bc RD |
18173 | <paramlist> |
18174 | <param name="tabs" type="wxArrayInt" default=""/> | |
18175 | </paramlist> | |
18176 | </method> | |
18177 | <method name="SetLeftIndent" type="" overloaded="no"> | |
781d2982 | 18178 | <autodoc>SetLeftIndent(self, int indent, int subIndent=0)</autodoc> |
f32fc4bc RD |
18179 | <paramlist> |
18180 | <param name="indent" type="int" default=""/> | |
781d2982 | 18181 | <param name="subIndent" type="int" default="0"/> |
f32fc4bc RD |
18182 | </paramlist> |
18183 | </method> | |
18184 | <method name="SetRightIndent" type="" overloaded="no"> | |
781d2982 | 18185 | <autodoc>SetRightIndent(self, int indent)</autodoc> |
f32fc4bc RD |
18186 | <paramlist> |
18187 | <param name="indent" type="int" default=""/> | |
18188 | </paramlist> | |
18189 | </method> | |
18190 | <method name="SetFlags" type="" overloaded="no"> | |
781d2982 | 18191 | <autodoc>SetFlags(self, long flags)</autodoc> |
f32fc4bc RD |
18192 | <paramlist> |
18193 | <param name="flags" type="long" default=""/> | |
18194 | </paramlist> | |
18195 | </method> | |
18196 | <method name="HasTextColour" type="bool" overloaded="no"> | |
781d2982 | 18197 | <autodoc>HasTextColour(self) -> bool</autodoc> |
f32fc4bc RD |
18198 | </method> |
18199 | <method name="HasBackgroundColour" type="bool" overloaded="no"> | |
781d2982 | 18200 | <autodoc>HasBackgroundColour(self) -> bool</autodoc> |
f32fc4bc RD |
18201 | </method> |
18202 | <method name="HasFont" type="bool" overloaded="no"> | |
781d2982 | 18203 | <autodoc>HasFont(self) -> bool</autodoc> |
f32fc4bc RD |
18204 | </method> |
18205 | <method name="HasAlignment" type="bool" overloaded="no"> | |
781d2982 | 18206 | <autodoc>HasAlignment(self) -> bool</autodoc> |
f32fc4bc RD |
18207 | </method> |
18208 | <method name="HasTabs" type="bool" overloaded="no"> | |
781d2982 | 18209 | <autodoc>HasTabs(self) -> bool</autodoc> |
f32fc4bc RD |
18210 | </method> |
18211 | <method name="HasLeftIndent" type="bool" overloaded="no"> | |
781d2982 | 18212 | <autodoc>HasLeftIndent(self) -> bool</autodoc> |
f32fc4bc RD |
18213 | </method> |
18214 | <method name="HasRightIndent" type="bool" overloaded="no"> | |
781d2982 | 18215 | <autodoc>HasRightIndent(self) -> bool</autodoc> |
f32fc4bc RD |
18216 | </method> |
18217 | <method name="HasFlag" type="bool" overloaded="no"> | |
781d2982 | 18218 | <autodoc>HasFlag(self, long flag) -> bool</autodoc> |
f32fc4bc RD |
18219 | <paramlist> |
18220 | <param name="flag" type="long" default=""/> | |
18221 | </paramlist> | |
18222 | </method> | |
18223 | <method name="GetTextColour" type="Colour" overloaded="no"> | |
781d2982 | 18224 | <autodoc>GetTextColour(self) -> Colour</autodoc> |
f32fc4bc RD |
18225 | </method> |
18226 | <method name="GetBackgroundColour" type="Colour" overloaded="no"> | |
781d2982 | 18227 | <autodoc>GetBackgroundColour(self) -> Colour</autodoc> |
f32fc4bc RD |
18228 | </method> |
18229 | <method name="GetFont" type="Font" overloaded="no"> | |
781d2982 | 18230 | <autodoc>GetFont(self) -> Font</autodoc> |
f32fc4bc RD |
18231 | </method> |
18232 | <method name="GetAlignment" type="wxTextAttrAlignment" overloaded="no"> | |
781d2982 | 18233 | <autodoc>GetAlignment(self) -> int</autodoc> |
f32fc4bc RD |
18234 | </method> |
18235 | <method name="GetTabs" type="wxArrayInt" overloaded="no"> | |
781d2982 | 18236 | <autodoc>GetTabs(self) -> wxArrayInt</autodoc> |
f32fc4bc RD |
18237 | </method> |
18238 | <method name="GetLeftIndent" type="long" overloaded="no"> | |
781d2982 RD |
18239 | <autodoc>GetLeftIndent(self) -> long</autodoc> |
18240 | </method> | |
18241 | <method name="GetLeftSubIndent" type="long" overloaded="no"> | |
18242 | <autodoc>GetLeftSubIndent(self) -> long</autodoc> | |
f32fc4bc RD |
18243 | </method> |
18244 | <method name="GetRightIndent" type="long" overloaded="no"> | |
781d2982 | 18245 | <autodoc>GetRightIndent(self) -> long</autodoc> |
f32fc4bc RD |
18246 | </method> |
18247 | <method name="GetFlags" type="long" overloaded="no"> | |
781d2982 | 18248 | <autodoc>GetFlags(self) -> long</autodoc> |
f32fc4bc RD |
18249 | </method> |
18250 | <method name="IsDefault" type="bool" overloaded="no"> | |
781d2982 | 18251 | <autodoc>IsDefault(self) -> bool</autodoc> |
f32fc4bc RD |
18252 | </method> |
18253 | <staticmethod name="Combine" type="TextAttr" overloaded="no"> | |
18254 | <autodoc>Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -> TextAttr</autodoc> | |
18255 | <paramlist> | |
18256 | <param name="attr" type="TextAttr" default=""/> | |
18257 | <param name="attrDef" type="TextAttr" default=""/> | |
18258 | <param name="text" type="wxTextCtrl" default=""/> | |
18259 | </paramlist> | |
18260 | </staticmethod> | |
18261 | </class> | |
781d2982 | 18262 | <class name="TextCtrl" oldname="wxTextCtrl" module="_controls"> |
f32fc4bc RD |
18263 | <baseclass name="Control"/> |
18264 | <constructor name="TextCtrl" overloaded="no"> | |
781d2982 RD |
18265 | <autodoc>__init__(self, Window parent, int id=-1, String value=EmptyString, |
18266 | Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
18267 | long style=0, Validator validator=DefaultValidator, |
18268 | String name=TextCtrlNameStr) -> TextCtrl</autodoc> | |
f32fc4bc RD |
18269 | <paramlist> |
18270 | <param name="parent" type="Window" default=""/> | |
781d2982 | 18271 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
18272 | <param name="value" type="String" default="wxPyEmptyString"/> |
18273 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
18274 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18275 | <param name="style" type="long" default="0"/> | |
18276 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
18277 | <param name="name" type="String" default="wxPyTextCtrlNameStr"/> | |
18278 | </paramlist> | |
18279 | </constructor> | |
18280 | <constructor name="PreTextCtrl" overloaded="no"> | |
18281 | <autodoc>PreTextCtrl() -> TextCtrl</autodoc> | |
18282 | </constructor> | |
18283 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
18284 | <autodoc>Create(self, Window parent, int id=-1, String value=EmptyString, |
18285 | Point pos=DefaultPosition, Size size=DefaultSize, | |
856bf319 RD |
18286 | long style=0, Validator validator=DefaultValidator, |
18287 | String name=TextCtrlNameStr) -> bool</autodoc> | |
f32fc4bc RD |
18288 | <paramlist> |
18289 | <param name="parent" type="Window" default=""/> | |
781d2982 | 18290 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
18291 | <param name="value" type="String" default="wxPyEmptyString"/> |
18292 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
18293 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18294 | <param name="style" type="long" default="0"/> | |
18295 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
18296 | <param name="name" type="String" default="wxPyTextCtrlNameStr"/> | |
18297 | </paramlist> | |
18298 | </method> | |
18299 | <method name="GetValue" type="String" overloaded="no"> | |
781d2982 | 18300 | <autodoc>GetValue(self) -> String</autodoc> |
f32fc4bc RD |
18301 | </method> |
18302 | <method name="SetValue" type="" overloaded="no"> | |
781d2982 | 18303 | <autodoc>SetValue(self, String value)</autodoc> |
f32fc4bc RD |
18304 | <paramlist> |
18305 | <param name="value" type="String" default=""/> | |
18306 | </paramlist> | |
18307 | </method> | |
18308 | <method name="GetRange" type="String" overloaded="no"> | |
781d2982 | 18309 | <autodoc>GetRange(self, long from, long to) -> String</autodoc> |
f32fc4bc RD |
18310 | <paramlist> |
18311 | <param name="from" type="long" default=""/> | |
18312 | <param name="to" type="long" default=""/> | |
18313 | </paramlist> | |
18314 | </method> | |
18315 | <method name="GetLineLength" type="int" overloaded="no"> | |
781d2982 | 18316 | <autodoc>GetLineLength(self, long lineNo) -> int</autodoc> |
f32fc4bc RD |
18317 | <paramlist> |
18318 | <param name="lineNo" type="long" default=""/> | |
18319 | </paramlist> | |
18320 | </method> | |
18321 | <method name="GetLineText" type="String" overloaded="no"> | |
781d2982 | 18322 | <autodoc>GetLineText(self, long lineNo) -> String</autodoc> |
f32fc4bc RD |
18323 | <paramlist> |
18324 | <param name="lineNo" type="long" default=""/> | |
18325 | </paramlist> | |
18326 | </method> | |
18327 | <method name="GetNumberOfLines" type="int" overloaded="no"> | |
781d2982 | 18328 | <autodoc>GetNumberOfLines(self) -> int</autodoc> |
f32fc4bc RD |
18329 | </method> |
18330 | <method name="IsModified" type="bool" overloaded="no"> | |
781d2982 | 18331 | <autodoc>IsModified(self) -> bool</autodoc> |
f32fc4bc RD |
18332 | </method> |
18333 | <method name="IsEditable" type="bool" overloaded="no"> | |
781d2982 | 18334 | <autodoc>IsEditable(self) -> bool</autodoc> |
f32fc4bc RD |
18335 | </method> |
18336 | <method name="IsSingleLine" type="bool" overloaded="no"> | |
781d2982 | 18337 | <autodoc>IsSingleLine(self) -> bool</autodoc> |
f32fc4bc RD |
18338 | </method> |
18339 | <method name="IsMultiLine" type="bool" overloaded="no"> | |
781d2982 | 18340 | <autodoc>IsMultiLine(self) -> bool</autodoc> |
f32fc4bc RD |
18341 | </method> |
18342 | <method name="GetSelection" type="" overloaded="no"> | |
18343 | <autodoc>GetSelection() -> (from, to)</autodoc> | |
ce6878e6 | 18344 | <docstring>If the return values from and to are the same, there is no selection.</docstring> |
f32fc4bc RD |
18345 | <paramlist> |
18346 | <param name="OUTPUT" type="long" default=""/> | |
18347 | <param name="OUTPUT" type="long" default=""/> | |
18348 | </paramlist> | |
18349 | </method> | |
18350 | <method name="GetStringSelection" type="String" overloaded="no"> | |
781d2982 | 18351 | <autodoc>GetStringSelection(self) -> String</autodoc> |
f32fc4bc RD |
18352 | </method> |
18353 | <method name="Clear" type="" overloaded="no"> | |
781d2982 | 18354 | <autodoc>Clear(self)</autodoc> |
f32fc4bc RD |
18355 | </method> |
18356 | <method name="Replace" type="" overloaded="no"> | |
781d2982 | 18357 | <autodoc>Replace(self, long from, long to, String value)</autodoc> |
f32fc4bc RD |
18358 | <paramlist> |
18359 | <param name="from" type="long" default=""/> | |
18360 | <param name="to" type="long" default=""/> | |
18361 | <param name="value" type="String" default=""/> | |
18362 | </paramlist> | |
18363 | </method> | |
18364 | <method name="Remove" type="" overloaded="no"> | |
781d2982 | 18365 | <autodoc>Remove(self, long from, long to)</autodoc> |
f32fc4bc RD |
18366 | <paramlist> |
18367 | <param name="from" type="long" default=""/> | |
18368 | <param name="to" type="long" default=""/> | |
18369 | </paramlist> | |
18370 | </method> | |
18371 | <method name="LoadFile" type="bool" overloaded="no"> | |
781d2982 | 18372 | <autodoc>LoadFile(self, String file) -> bool</autodoc> |
f32fc4bc RD |
18373 | <paramlist> |
18374 | <param name="file" type="String" default=""/> | |
18375 | </paramlist> | |
18376 | </method> | |
18377 | <method name="SaveFile" type="bool" overloaded="no"> | |
781d2982 | 18378 | <autodoc>SaveFile(self, String file=EmptyString) -> bool</autodoc> |
f32fc4bc RD |
18379 | <paramlist> |
18380 | <param name="file" type="String" default="wxPyEmptyString"/> | |
18381 | </paramlist> | |
18382 | </method> | |
18383 | <method name="MarkDirty" type="" overloaded="no"> | |
781d2982 | 18384 | <autodoc>MarkDirty(self)</autodoc> |
f32fc4bc RD |
18385 | </method> |
18386 | <method name="DiscardEdits" type="" overloaded="no"> | |
781d2982 | 18387 | <autodoc>DiscardEdits(self)</autodoc> |
f32fc4bc RD |
18388 | </method> |
18389 | <method name="SetMaxLength" type="" overloaded="no"> | |
781d2982 | 18390 | <autodoc>SetMaxLength(self, unsigned long len)</autodoc> |
f32fc4bc RD |
18391 | <paramlist> |
18392 | <param name="len" type="unsigned long" default=""/> | |
18393 | </paramlist> | |
18394 | </method> | |
18395 | <method name="WriteText" type="" overloaded="no"> | |
781d2982 | 18396 | <autodoc>WriteText(self, String text)</autodoc> |
f32fc4bc RD |
18397 | <paramlist> |
18398 | <param name="text" type="String" default=""/> | |
18399 | </paramlist> | |
18400 | </method> | |
18401 | <method name="AppendText" type="" overloaded="no"> | |
781d2982 | 18402 | <autodoc>AppendText(self, String text)</autodoc> |
f32fc4bc RD |
18403 | <paramlist> |
18404 | <param name="text" type="String" default=""/> | |
18405 | </paramlist> | |
18406 | </method> | |
18407 | <method name="EmulateKeyPress" type="bool" overloaded="no"> | |
781d2982 | 18408 | <autodoc>EmulateKeyPress(self, KeyEvent event) -> bool</autodoc> |
f32fc4bc RD |
18409 | <paramlist> |
18410 | <param name="event" type="KeyEvent" default=""/> | |
18411 | </paramlist> | |
18412 | </method> | |
18413 | <method name="SetStyle" type="bool" overloaded="no"> | |
781d2982 | 18414 | <autodoc>SetStyle(self, long start, long end, TextAttr style) -> bool</autodoc> |
f32fc4bc RD |
18415 | <paramlist> |
18416 | <param name="start" type="long" default=""/> | |
18417 | <param name="end" type="long" default=""/> | |
18418 | <param name="style" type="TextAttr" default=""/> | |
18419 | </paramlist> | |
18420 | </method> | |
18421 | <method name="GetStyle" type="bool" overloaded="no"> | |
781d2982 | 18422 | <autodoc>GetStyle(self, long position, TextAttr style) -> bool</autodoc> |
f32fc4bc RD |
18423 | <paramlist> |
18424 | <param name="position" type="long" default=""/> | |
18425 | <param name="style" type="TextAttr" default=""/> | |
18426 | </paramlist> | |
18427 | </method> | |
18428 | <method name="SetDefaultStyle" type="bool" overloaded="no"> | |
781d2982 | 18429 | <autodoc>SetDefaultStyle(self, TextAttr style) -> bool</autodoc> |
f32fc4bc RD |
18430 | <paramlist> |
18431 | <param name="style" type="TextAttr" default=""/> | |
18432 | </paramlist> | |
18433 | </method> | |
18434 | <method name="GetDefaultStyle" type="TextAttr" overloaded="no"> | |
781d2982 | 18435 | <autodoc>GetDefaultStyle(self) -> TextAttr</autodoc> |
f32fc4bc RD |
18436 | </method> |
18437 | <method name="XYToPosition" type="long" overloaded="no"> | |
781d2982 | 18438 | <autodoc>XYToPosition(self, long x, long y) -> long</autodoc> |
f32fc4bc RD |
18439 | <paramlist> |
18440 | <param name="x" type="long" default=""/> | |
18441 | <param name="y" type="long" default=""/> | |
18442 | </paramlist> | |
18443 | </method> | |
18444 | <method name="PositionToXY" type="" overloaded="no"> | |
18445 | <autodoc>PositionToXY(long pos) -> (x, y)</autodoc> | |
18446 | <paramlist> | |
18447 | <param name="pos" type="long" default=""/> | |
18448 | <param name="OUTPUT" type="long" default=""/> | |
18449 | <param name="OUTPUT" type="long" default=""/> | |
18450 | </paramlist> | |
18451 | </method> | |
18452 | <method name="ShowPosition" type="" overloaded="no"> | |
781d2982 | 18453 | <autodoc>ShowPosition(self, long pos)</autodoc> |
f32fc4bc RD |
18454 | <paramlist> |
18455 | <param name="pos" type="long" default=""/> | |
18456 | </paramlist> | |
18457 | </method> | |
18458 | <method name="HitTest" type="wxTextCtrlHitTestResult" overloaded="no"> | |
18459 | <autodoc>HitTest(Point pt) -> (result, row, col)</autodoc> | |
ce6878e6 RD |
18460 | <docstring>Find the row, col coresponding to the character at the point given in |
18461 | pixels. NB: pt is in device coords but is not adjusted for the client | |
18462 | area origin nor scrolling.</docstring> | |
f32fc4bc RD |
18463 | <paramlist> |
18464 | <param name="pt" type="Point" default=""/> | |
18465 | <param name="OUTPUT" type="long" default=""/> | |
18466 | <param name="OUTPUT" type="long" default=""/> | |
18467 | </paramlist> | |
18468 | </method> | |
ce6878e6 RD |
18469 | <method name="HitTestPos" type="wxTextCtrlHitTestResult" overloaded="no"> |
18470 | <autodoc>HitTestPos(Point pt) -> (result, position)</autodoc> | |
18471 | <docstring>Find the character position in the text coresponding to the point | |
18472 | given in pixels. NB: pt is in device coords but is not adjusted for | |
18473 | the client area origin nor scrolling. </docstring> | |
18474 | <paramlist> | |
18475 | <param name="pt" type="Point" default=""/> | |
18476 | <param name="OUTPUT" type="long" default=""/> | |
18477 | </paramlist> | |
18478 | </method> | |
f32fc4bc | 18479 | <method name="Copy" type="" overloaded="no"> |
781d2982 | 18480 | <autodoc>Copy(self)</autodoc> |
f32fc4bc RD |
18481 | </method> |
18482 | <method name="Cut" type="" overloaded="no"> | |
781d2982 | 18483 | <autodoc>Cut(self)</autodoc> |
f32fc4bc RD |
18484 | </method> |
18485 | <method name="Paste" type="" overloaded="no"> | |
781d2982 | 18486 | <autodoc>Paste(self)</autodoc> |
f32fc4bc RD |
18487 | </method> |
18488 | <method name="CanCopy" type="bool" overloaded="no"> | |
781d2982 | 18489 | <autodoc>CanCopy(self) -> bool</autodoc> |
f32fc4bc RD |
18490 | </method> |
18491 | <method name="CanCut" type="bool" overloaded="no"> | |
781d2982 | 18492 | <autodoc>CanCut(self) -> bool</autodoc> |
f32fc4bc RD |
18493 | </method> |
18494 | <method name="CanPaste" type="bool" overloaded="no"> | |
781d2982 | 18495 | <autodoc>CanPaste(self) -> bool</autodoc> |
f32fc4bc RD |
18496 | </method> |
18497 | <method name="Undo" type="" overloaded="no"> | |
781d2982 | 18498 | <autodoc>Undo(self)</autodoc> |
f32fc4bc RD |
18499 | </method> |
18500 | <method name="Redo" type="" overloaded="no"> | |
781d2982 | 18501 | <autodoc>Redo(self)</autodoc> |
f32fc4bc RD |
18502 | </method> |
18503 | <method name="CanUndo" type="bool" overloaded="no"> | |
781d2982 | 18504 | <autodoc>CanUndo(self) -> bool</autodoc> |
f32fc4bc RD |
18505 | </method> |
18506 | <method name="CanRedo" type="bool" overloaded="no"> | |
781d2982 | 18507 | <autodoc>CanRedo(self) -> bool</autodoc> |
f32fc4bc RD |
18508 | </method> |
18509 | <method name="SetInsertionPoint" type="" overloaded="no"> | |
781d2982 | 18510 | <autodoc>SetInsertionPoint(self, long pos)</autodoc> |
f32fc4bc RD |
18511 | <paramlist> |
18512 | <param name="pos" type="long" default=""/> | |
18513 | </paramlist> | |
18514 | </method> | |
18515 | <method name="SetInsertionPointEnd" type="" overloaded="no"> | |
781d2982 | 18516 | <autodoc>SetInsertionPointEnd(self)</autodoc> |
f32fc4bc RD |
18517 | </method> |
18518 | <method name="GetInsertionPoint" type="long" overloaded="no"> | |
781d2982 | 18519 | <autodoc>GetInsertionPoint(self) -> long</autodoc> |
f32fc4bc RD |
18520 | </method> |
18521 | <method name="GetLastPosition" type="long" overloaded="no"> | |
781d2982 | 18522 | <autodoc>GetLastPosition(self) -> long</autodoc> |
f32fc4bc RD |
18523 | </method> |
18524 | <method name="SetSelection" type="" overloaded="no"> | |
781d2982 | 18525 | <autodoc>SetSelection(self, long from, long to)</autodoc> |
f32fc4bc RD |
18526 | <paramlist> |
18527 | <param name="from" type="long" default=""/> | |
18528 | <param name="to" type="long" default=""/> | |
18529 | </paramlist> | |
18530 | </method> | |
18531 | <method name="SelectAll" type="" overloaded="no"> | |
781d2982 | 18532 | <autodoc>SelectAll(self)</autodoc> |
f32fc4bc RD |
18533 | </method> |
18534 | <method name="SetEditable" type="" overloaded="no"> | |
781d2982 | 18535 | <autodoc>SetEditable(self, bool editable)</autodoc> |
f32fc4bc RD |
18536 | <paramlist> |
18537 | <param name="editable" type="bool" default=""/> | |
18538 | </paramlist> | |
18539 | </method> | |
18540 | <method name="write" type="" overloaded="no"> | |
781d2982 | 18541 | <autodoc>write(self, String text)</autodoc> |
f32fc4bc RD |
18542 | <paramlist> |
18543 | <param name="text" type="String" default=""/> | |
18544 | </paramlist> | |
18545 | </method> | |
18546 | <method name="GetString" type="String" overloaded="no"> | |
781d2982 | 18547 | <autodoc>GetString(self, long from, long to) -> String</autodoc> |
f32fc4bc RD |
18548 | <paramlist> |
18549 | <param name="from" type="long" default=""/> | |
18550 | <param name="to" type="long" default=""/> | |
18551 | </paramlist> | |
18552 | </method> | |
781d2982 RD |
18553 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
18554 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
18555 | <docstring>Get the default attributes for this class. This is useful if you want | |
18556 | to use the same font or colour in your own control as in a standard | |
18557 | control -- which is a much better idea than hard coding specific | |
18558 | colours or fonts which might look completely out of place on the | |
18559 | user's system, especially if it uses themes. | |
18560 | ||
18561 | The variant parameter is only relevant under Mac currently and is | |
18562 | ignore under other platforms. Under Mac, it will change the size of | |
18563 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
18564 | this.</docstring> | |
18565 | <paramlist> | |
18566 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
18567 | </paramlist> | |
18568 | </staticmethod> | |
f32fc4bc | 18569 | </class> |
781d2982 | 18570 | <class name="TextUrlEvent" oldname="wxTextUrlEvent" module="_controls"> |
f32fc4bc RD |
18571 | <baseclass name="CommandEvent"/> |
18572 | <constructor name="TextUrlEvent" overloaded="no"> | |
781d2982 | 18573 | <autodoc>__init__(self, int winid, MouseEvent evtMouse, long start, long end) -> TextUrlEvent</autodoc> |
f32fc4bc RD |
18574 | <paramlist> |
18575 | <param name="winid" type="int" default=""/> | |
18576 | <param name="evtMouse" type="MouseEvent" default=""/> | |
18577 | <param name="start" type="long" default=""/> | |
18578 | <param name="end" type="long" default=""/> | |
18579 | </paramlist> | |
18580 | </constructor> | |
18581 | <method name="GetMouseEvent" type="MouseEvent" overloaded="no"> | |
781d2982 | 18582 | <autodoc>GetMouseEvent(self) -> MouseEvent</autodoc> |
f32fc4bc RD |
18583 | </method> |
18584 | <method name="GetURLStart" type="long" overloaded="no"> | |
781d2982 | 18585 | <autodoc>GetURLStart(self) -> long</autodoc> |
f32fc4bc RD |
18586 | </method> |
18587 | <method name="GetURLEnd" type="long" overloaded="no"> | |
781d2982 | 18588 | <autodoc>GetURLEnd(self) -> long</autodoc> |
f32fc4bc RD |
18589 | </method> |
18590 | </class> | |
18591 | <pythoncode> | |
856bf319 RD |
18592 | EVT_TEXT = wx.PyEventBinder( wxEVT_COMMAND_TEXT_UPDATED, 1) |
18593 | EVT_TEXT_ENTER = wx.PyEventBinder( wxEVT_COMMAND_TEXT_ENTER, 1) | |
18594 | EVT_TEXT_URL = wx.PyEventBinder( wxEVT_COMMAND_TEXT_URL, 1) | |
18595 | EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1) | |
18596 | </pythoncode> | |
f32fc4bc | 18597 | <pythoncode> |
856bf319 RD |
18598 | #--------------------------------------------------------------------------- |
18599 | </pythoncode> | |
781d2982 | 18600 | <class name="ScrollBar" oldname="wxScrollBar" module="_controls"> |
f32fc4bc RD |
18601 | <baseclass name="Control"/> |
18602 | <constructor name="ScrollBar" overloaded="no"> | |
781d2982 | 18603 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
856bf319 RD |
18604 | Size size=DefaultSize, long style=SB_HORIZONTAL, |
18605 | Validator validator=DefaultValidator, String name=ScrollBarNameStr) -> ScrollBar</autodoc> | |
f32fc4bc RD |
18606 | <paramlist> |
18607 | <param name="parent" type="Window" default=""/> | |
18608 | <param name="id" type="int" default="-1"/> | |
18609 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
18610 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18611 | <param name="style" type="long" default="wxSB_HORIZONTAL"/> | |
18612 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
18613 | <param name="name" type="String" default="wxPyScrollBarNameStr"/> | |
18614 | </paramlist> | |
18615 | </constructor> | |
18616 | <constructor name="PreScrollBar" overloaded="no"> | |
18617 | <autodoc>PreScrollBar() -> ScrollBar</autodoc> | |
18618 | </constructor> | |
18619 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 18620 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
856bf319 RD |
18621 | Size size=DefaultSize, long style=SB_HORIZONTAL, |
18622 | Validator validator=DefaultValidator, String name=ScrollBarNameStr) -> bool</autodoc> | |
c2dda882 | 18623 | <docstring>Do the 2nd phase and create the GUI control.</docstring> |
f32fc4bc RD |
18624 | <paramlist> |
18625 | <param name="parent" type="Window" default=""/> | |
18626 | <param name="id" type="int" default="-1"/> | |
18627 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
18628 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18629 | <param name="style" type="long" default="wxSB_HORIZONTAL"/> | |
18630 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
18631 | <param name="name" type="String" default="wxPyScrollBarNameStr"/> | |
18632 | </paramlist> | |
18633 | </method> | |
18634 | <method name="GetThumbPosition" type="int" overloaded="no"> | |
781d2982 | 18635 | <autodoc>GetThumbPosition(self) -> int</autodoc> |
f32fc4bc RD |
18636 | </method> |
18637 | <method name="GetThumbSize" type="int" overloaded="no"> | |
781d2982 | 18638 | <autodoc>GetThumbSize(self) -> int</autodoc> |
f32fc4bc RD |
18639 | </method> |
18640 | <method name="GetPageSize" type="int" overloaded="no"> | |
781d2982 | 18641 | <autodoc>GetPageSize(self) -> int</autodoc> |
f32fc4bc RD |
18642 | </method> |
18643 | <method name="GetRange" type="int" overloaded="no"> | |
781d2982 | 18644 | <autodoc>GetRange(self) -> int</autodoc> |
f32fc4bc RD |
18645 | </method> |
18646 | <method name="IsVertical" type="bool" overloaded="no"> | |
781d2982 | 18647 | <autodoc>IsVertical(self) -> bool</autodoc> |
f32fc4bc RD |
18648 | </method> |
18649 | <method name="SetThumbPosition" type="" overloaded="no"> | |
781d2982 | 18650 | <autodoc>SetThumbPosition(self, int viewStart)</autodoc> |
f32fc4bc RD |
18651 | <paramlist> |
18652 | <param name="viewStart" type="int" default=""/> | |
18653 | </paramlist> | |
18654 | </method> | |
18655 | <method name="SetScrollbar" type="" overloaded="no"> | |
781d2982 | 18656 | <autodoc>SetScrollbar(self, int position, int thumbSize, int range, int pageSize, |
856bf319 | 18657 | bool refresh=True)</autodoc> |
ce6878e6 RD |
18658 | <docstring>Sets the scrollbar properties of a built-in scrollbar. |
18659 | :param orientation: Determines the scrollbar whose page size is to | |
18660 | be set. May be wx.HORIZONTAL or wx.VERTICAL. | |
18661 | ||
18662 | :param position: The position of the scrollbar in scroll units. | |
18663 | ||
18664 | :param thumbSize: The size of the thumb, or visible portion of the | |
18665 | scrollbar, in scroll units. | |
18666 | ||
18667 | :param range: The maximum position of the scrollbar. | |
18668 | ||
18669 | :param refresh: True to redraw the scrollbar, false otherwise. | |
18670 | </docstring> | |
f32fc4bc RD |
18671 | <paramlist> |
18672 | <param name="position" type="int" default=""/> | |
18673 | <param name="thumbSize" type="int" default=""/> | |
18674 | <param name="range" type="int" default=""/> | |
18675 | <param name="pageSize" type="int" default=""/> | |
18676 | <param name="refresh" type="bool" default="True"/> | |
18677 | </paramlist> | |
18678 | </method> | |
781d2982 RD |
18679 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
18680 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
18681 | <docstring>Get the default attributes for this class. This is useful if you want | |
18682 | to use the same font or colour in your own control as in a standard | |
18683 | control -- which is a much better idea than hard coding specific | |
18684 | colours or fonts which might look completely out of place on the | |
18685 | user's system, especially if it uses themes. | |
18686 | ||
18687 | The variant parameter is only relevant under Mac currently and is | |
18688 | ignore under other platforms. Under Mac, it will change the size of | |
18689 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
18690 | this.</docstring> | |
18691 | <paramlist> | |
18692 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
18693 | </paramlist> | |
18694 | </staticmethod> | |
f32fc4bc RD |
18695 | </class> |
18696 | <pythoncode> | |
0f43fbdf RD |
18697 | #--------------------------------------------------------------------------- |
18698 | </pythoncode> | |
781d2982 | 18699 | <class name="SpinButton" oldname="wxSpinButton" module="_controls"> |
f32fc4bc RD |
18700 | <baseclass name="Control"/> |
18701 | <constructor name="SpinButton" overloaded="no"> | |
781d2982 | 18702 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
856bf319 RD |
18703 | Size size=DefaultSize, long style=SP_HORIZONTAL, |
18704 | String name=SPIN_BUTTON_NAME) -> SpinButton</autodoc> | |
f32fc4bc RD |
18705 | <paramlist> |
18706 | <param name="parent" type="Window" default=""/> | |
18707 | <param name="id" type="int" default="-1"/> | |
18708 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
18709 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18710 | <param name="style" type="long" default="wxSP_HORIZONTAL"/> | |
18711 | <param name="name" type="String" default="wxPySPIN_BUTTON_NAME"/> | |
18712 | </paramlist> | |
18713 | </constructor> | |
18714 | <constructor name="PreSpinButton" overloaded="no"> | |
18715 | <autodoc>PreSpinButton() -> SpinButton</autodoc> | |
18716 | </constructor> | |
18717 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 18718 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
856bf319 RD |
18719 | Size size=DefaultSize, long style=SP_HORIZONTAL, |
18720 | String name=SPIN_BUTTON_NAME) -> bool</autodoc> | |
f32fc4bc RD |
18721 | <paramlist> |
18722 | <param name="parent" type="Window" default=""/> | |
18723 | <param name="id" type="int" default="-1"/> | |
18724 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
18725 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18726 | <param name="style" type="long" default="wxSP_HORIZONTAL"/> | |
18727 | <param name="name" type="String" default="wxPySPIN_BUTTON_NAME"/> | |
18728 | </paramlist> | |
18729 | </method> | |
18730 | <method name="GetValue" type="int" overloaded="no"> | |
781d2982 | 18731 | <autodoc>GetValue(self) -> int</autodoc> |
f32fc4bc RD |
18732 | </method> |
18733 | <method name="GetMin" type="int" overloaded="no"> | |
781d2982 | 18734 | <autodoc>GetMin(self) -> int</autodoc> |
f32fc4bc RD |
18735 | </method> |
18736 | <method name="GetMax" type="int" overloaded="no"> | |
781d2982 | 18737 | <autodoc>GetMax(self) -> int</autodoc> |
f32fc4bc RD |
18738 | </method> |
18739 | <method name="SetValue" type="" overloaded="no"> | |
781d2982 | 18740 | <autodoc>SetValue(self, int val)</autodoc> |
f32fc4bc RD |
18741 | <paramlist> |
18742 | <param name="val" type="int" default=""/> | |
18743 | </paramlist> | |
18744 | </method> | |
18745 | <method name="SetMin" type="" overloaded="no"> | |
781d2982 | 18746 | <autodoc>SetMin(self, int minVal)</autodoc> |
f32fc4bc RD |
18747 | <paramlist> |
18748 | <param name="minVal" type="int" default=""/> | |
18749 | </paramlist> | |
18750 | </method> | |
18751 | <method name="SetMax" type="" overloaded="no"> | |
781d2982 | 18752 | <autodoc>SetMax(self, int maxVal)</autodoc> |
f32fc4bc RD |
18753 | <paramlist> |
18754 | <param name="maxVal" type="int" default=""/> | |
18755 | </paramlist> | |
18756 | </method> | |
18757 | <method name="SetRange" type="" overloaded="no"> | |
781d2982 | 18758 | <autodoc>SetRange(self, int minVal, int maxVal)</autodoc> |
f32fc4bc RD |
18759 | <paramlist> |
18760 | <param name="minVal" type="int" default=""/> | |
18761 | <param name="maxVal" type="int" default=""/> | |
18762 | </paramlist> | |
18763 | </method> | |
18764 | <method name="IsVertical" type="bool" overloaded="no"> | |
781d2982 | 18765 | <autodoc>IsVertical(self) -> bool</autodoc> |
f32fc4bc | 18766 | </method> |
781d2982 RD |
18767 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
18768 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
18769 | <docstring>Get the default attributes for this class. This is useful if you want | |
18770 | to use the same font or colour in your own control as in a standard | |
18771 | control -- which is a much better idea than hard coding specific | |
18772 | colours or fonts which might look completely out of place on the | |
18773 | user's system, especially if it uses themes. | |
18774 | ||
18775 | The variant parameter is only relevant under Mac currently and is | |
18776 | ignore under other platforms. Under Mac, it will change the size of | |
18777 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
18778 | this.</docstring> | |
18779 | <paramlist> | |
18780 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
18781 | </paramlist> | |
18782 | </staticmethod> | |
f32fc4bc | 18783 | </class> |
781d2982 | 18784 | <class name="SpinCtrl" oldname="wxSpinCtrl" module="_controls"> |
f32fc4bc RD |
18785 | <baseclass name="Control"/> |
18786 | <constructor name="SpinCtrl" overloaded="no"> | |
781d2982 | 18787 | <autodoc>__init__(self, Window parent, int id=-1, String value=EmptyString, |
856bf319 RD |
18788 | Point pos=DefaultPosition, Size size=DefaultSize, |
18789 | long style=SP_ARROW_KEYS, int min=0, int max=100, | |
18790 | int initial=0, String name=SpinCtrlNameStr) -> SpinCtrl</autodoc> | |
f32fc4bc RD |
18791 | <paramlist> |
18792 | <param name="parent" type="Window" default=""/> | |
18793 | <param name="id" type="int" default="-1"/> | |
18794 | <param name="value" type="String" default="wxPyEmptyString"/> | |
18795 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
18796 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18797 | <param name="style" type="long" default="wxSP_ARROW_KEYS"/> | |
18798 | <param name="min" type="int" default="0"/> | |
18799 | <param name="max" type="int" default="100"/> | |
18800 | <param name="initial" type="int" default="0"/> | |
18801 | <param name="name" type="String" default="wxPySpinCtrlNameStr"/> | |
18802 | </paramlist> | |
18803 | </constructor> | |
18804 | <constructor name="PreSpinCtrl" overloaded="no"> | |
18805 | <autodoc>PreSpinCtrl() -> SpinCtrl</autodoc> | |
18806 | </constructor> | |
18807 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 18808 | <autodoc>Create(self, Window parent, int id=-1, String value=EmptyString, |
856bf319 RD |
18809 | Point pos=DefaultPosition, Size size=DefaultSize, |
18810 | long style=SP_ARROW_KEYS, int min=0, int max=100, | |
18811 | int initial=0, String name=SpinCtrlNameStr) -> bool</autodoc> | |
f32fc4bc RD |
18812 | <paramlist> |
18813 | <param name="parent" type="Window" default=""/> | |
18814 | <param name="id" type="int" default="-1"/> | |
18815 | <param name="value" type="String" default="wxPyEmptyString"/> | |
18816 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
18817 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18818 | <param name="style" type="long" default="wxSP_ARROW_KEYS"/> | |
18819 | <param name="min" type="int" default="0"/> | |
18820 | <param name="max" type="int" default="100"/> | |
18821 | <param name="initial" type="int" default="0"/> | |
18822 | <param name="name" type="String" default="wxPySpinCtrlNameStr"/> | |
18823 | </paramlist> | |
18824 | </method> | |
18825 | <method name="GetValue" type="int" overloaded="no"> | |
781d2982 | 18826 | <autodoc>GetValue(self) -> int</autodoc> |
f32fc4bc RD |
18827 | </method> |
18828 | <method name="SetValue" type="" overloaded="no"> | |
781d2982 | 18829 | <autodoc>SetValue(self, int value)</autodoc> |
f32fc4bc RD |
18830 | <paramlist> |
18831 | <param name="value" type="int" default=""/> | |
18832 | </paramlist> | |
18833 | </method> | |
18834 | <method name="SetValueString" type="" overloaded="no"> | |
781d2982 | 18835 | <autodoc>SetValueString(self, String text)</autodoc> |
f32fc4bc RD |
18836 | <paramlist> |
18837 | <param name="text" type="String" default=""/> | |
18838 | </paramlist> | |
18839 | </method> | |
18840 | <method name="SetRange" type="" overloaded="no"> | |
781d2982 | 18841 | <autodoc>SetRange(self, int minVal, int maxVal)</autodoc> |
f32fc4bc RD |
18842 | <paramlist> |
18843 | <param name="minVal" type="int" default=""/> | |
18844 | <param name="maxVal" type="int" default=""/> | |
18845 | </paramlist> | |
18846 | </method> | |
18847 | <method name="GetMin" type="int" overloaded="no"> | |
781d2982 | 18848 | <autodoc>GetMin(self) -> int</autodoc> |
f32fc4bc RD |
18849 | </method> |
18850 | <method name="GetMax" type="int" overloaded="no"> | |
781d2982 | 18851 | <autodoc>GetMax(self) -> int</autodoc> |
f32fc4bc RD |
18852 | </method> |
18853 | <method name="SetSelection" type="" overloaded="no"> | |
781d2982 | 18854 | <autodoc>SetSelection(self, long from, long to)</autodoc> |
f32fc4bc RD |
18855 | <paramlist> |
18856 | <param name="from" type="long" default=""/> | |
18857 | <param name="to" type="long" default=""/> | |
18858 | </paramlist> | |
18859 | </method> | |
781d2982 RD |
18860 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
18861 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
18862 | <docstring>Get the default attributes for this class. This is useful if you want | |
18863 | to use the same font or colour in your own control as in a standard | |
18864 | control -- which is a much better idea than hard coding specific | |
18865 | colours or fonts which might look completely out of place on the | |
18866 | user's system, especially if it uses themes. | |
18867 | ||
18868 | The variant parameter is only relevant under Mac currently and is | |
18869 | ignore under other platforms. Under Mac, it will change the size of | |
18870 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
18871 | this.</docstring> | |
18872 | <paramlist> | |
18873 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
18874 | </paramlist> | |
18875 | </staticmethod> | |
f32fc4bc | 18876 | </class> |
781d2982 | 18877 | <class name="SpinEvent" oldname="wxSpinEvent" module="_controls"> |
f32fc4bc RD |
18878 | <baseclass name="NotifyEvent"/> |
18879 | <constructor name="SpinEvent" overloaded="no"> | |
781d2982 | 18880 | <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0) -> SpinEvent</autodoc> |
f32fc4bc RD |
18881 | <paramlist> |
18882 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
18883 | <param name="winid" type="int" default="0"/> | |
18884 | </paramlist> | |
18885 | </constructor> | |
18886 | <method name="GetPosition" type="int" overloaded="no"> | |
781d2982 | 18887 | <autodoc>GetPosition(self) -> int</autodoc> |
f32fc4bc RD |
18888 | </method> |
18889 | <method name="SetPosition" type="" overloaded="no"> | |
781d2982 | 18890 | <autodoc>SetPosition(self, int pos)</autodoc> |
f32fc4bc RD |
18891 | <paramlist> |
18892 | <param name="pos" type="int" default=""/> | |
18893 | </paramlist> | |
18894 | </method> | |
18895 | </class> | |
18896 | <pythoncode> | |
856bf319 RD |
18897 | EVT_SPIN_UP = wx.PyEventBinder( wx.wxEVT_SCROLL_LINEUP, 1) |
18898 | EVT_SPIN_DOWN = wx.PyEventBinder( wx.wxEVT_SCROLL_LINEDOWN, 1) | |
18899 | EVT_SPIN = wx.PyEventBinder( wx.wxEVT_SCROLL_THUMBTRACK, 1) | |
18900 | EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) | |
18901 | </pythoncode> | |
f32fc4bc | 18902 | <pythoncode> |
0f43fbdf RD |
18903 | #--------------------------------------------------------------------------- |
18904 | </pythoncode> | |
781d2982 | 18905 | <class name="RadioBox" oldname="wxRadioBox" module="_controls"> |
f32fc4bc RD |
18906 | <baseclass name="Control"/> |
18907 | <constructor name="RadioBox" overloaded="no"> | |
781d2982 RD |
18908 | <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString, |
18909 | Point pos=DefaultPosition, Size size=DefaultSize, | |
18910 | wxArrayString choices=wxPyEmptyStringArray, | |
18911 | int majorDimension=0, long style=RA_HORIZONTAL, | |
18912 | Validator validator=DefaultValidator, | |
856bf319 | 18913 | String name=RadioBoxNameStr) -> RadioBox</autodoc> |
f32fc4bc RD |
18914 | <paramlist> |
18915 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
18916 | <param name="id" type="int" default="-1"/> |
18917 | <param name="label" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
18918 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
18919 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18920 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
18921 | <param name="majorDimension" type="int" default="0"/> | |
18922 | <param name="style" type="long" default="wxRA_HORIZONTAL"/> | |
18923 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
18924 | <param name="name" type="String" default="wxPyRadioBoxNameStr"/> | |
18925 | </paramlist> | |
18926 | </constructor> | |
18927 | <constructor name="PreRadioBox" overloaded="no"> | |
18928 | <autodoc>PreRadioBox() -> RadioBox</autodoc> | |
18929 | </constructor> | |
18930 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
18931 | <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString, |
18932 | Point pos=DefaultPosition, Size size=DefaultSize, | |
18933 | wxArrayString choices=wxPyEmptyStringArray, | |
18934 | int majorDimension=0, long style=RA_HORIZONTAL, | |
18935 | Validator validator=DefaultValidator, | |
856bf319 | 18936 | String name=RadioBoxNameStr) -> bool</autodoc> |
f32fc4bc | 18937 | <paramlist> |
781d2982 RD |
18938 | <param name="parent" type="Window" default=""/> |
18939 | <param name="id" type="int" default="-1"/> | |
18940 | <param name="label" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
18941 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
18942 | <param name="size" type="Size" default="wxDefaultSize"/> | |
18943 | <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/> | |
18944 | <param name="majorDimension" type="int" default="0"/> | |
18945 | <param name="style" type="long" default="wxRA_HORIZONTAL"/> | |
18946 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
18947 | <param name="name" type="String" default="wxPyRadioBoxNameStr"/> | |
18948 | </paramlist> | |
18949 | </method> | |
18950 | <method name="SetSelection" type="" overloaded="no"> | |
781d2982 | 18951 | <autodoc>SetSelection(self, int n)</autodoc> |
f32fc4bc RD |
18952 | <paramlist> |
18953 | <param name="n" type="int" default=""/> | |
18954 | </paramlist> | |
18955 | </method> | |
18956 | <method name="GetSelection" type="int" overloaded="no"> | |
781d2982 | 18957 | <autodoc>GetSelection(self) -> int</autodoc> |
f32fc4bc RD |
18958 | </method> |
18959 | <method name="GetStringSelection" type="String" overloaded="no"> | |
781d2982 | 18960 | <autodoc>GetStringSelection(self) -> String</autodoc> |
f32fc4bc RD |
18961 | </method> |
18962 | <method name="SetStringSelection" type="bool" overloaded="no"> | |
781d2982 | 18963 | <autodoc>SetStringSelection(self, String s) -> bool</autodoc> |
f32fc4bc RD |
18964 | <paramlist> |
18965 | <param name="s" type="String" default=""/> | |
18966 | </paramlist> | |
18967 | </method> | |
18968 | <method name="GetCount" type="int" overloaded="no"> | |
781d2982 | 18969 | <autodoc>GetCount(self) -> int</autodoc> |
f32fc4bc RD |
18970 | </method> |
18971 | <method name="FindString" type="int" overloaded="no"> | |
781d2982 | 18972 | <autodoc>FindString(self, String s) -> int</autodoc> |
f32fc4bc RD |
18973 | <paramlist> |
18974 | <param name="s" type="String" default=""/> | |
18975 | </paramlist> | |
18976 | </method> | |
18977 | <method name="GetString" type="String" overloaded="no"> | |
781d2982 | 18978 | <autodoc>GetString(self, int n) -> String</autodoc> |
f32fc4bc RD |
18979 | <paramlist> |
18980 | <param name="n" type="int" default=""/> | |
18981 | </paramlist> | |
18982 | </method> | |
18983 | <method name="SetString" type="" overloaded="no"> | |
781d2982 | 18984 | <autodoc>SetString(self, int n, String label)</autodoc> |
f32fc4bc RD |
18985 | <paramlist> |
18986 | <param name="n" type="int" default=""/> | |
18987 | <param name="label" type="String" default=""/> | |
18988 | </paramlist> | |
18989 | </method> | |
18990 | <method name="EnableItem" type="" overloaded="no"> | |
781d2982 | 18991 | <autodoc>EnableItem(self, int n, bool enable=True)</autodoc> |
f32fc4bc RD |
18992 | <paramlist> |
18993 | <param name="n" type="int" default=""/> | |
18994 | <param name="enable" type="bool" default="True"/> | |
18995 | </paramlist> | |
18996 | </method> | |
18997 | <method name="ShowItem" type="" overloaded="no"> | |
781d2982 | 18998 | <autodoc>ShowItem(self, int n, bool show=True)</autodoc> |
f32fc4bc RD |
18999 | <paramlist> |
19000 | <param name="n" type="int" default=""/> | |
19001 | <param name="show" type="bool" default="True"/> | |
19002 | </paramlist> | |
19003 | </method> | |
19004 | <method name="GetColumnCount" type="int" overloaded="no"> | |
781d2982 | 19005 | <autodoc>GetColumnCount(self) -> int</autodoc> |
f32fc4bc RD |
19006 | </method> |
19007 | <method name="GetRowCount" type="int" overloaded="no"> | |
781d2982 | 19008 | <autodoc>GetRowCount(self) -> int</autodoc> |
f32fc4bc RD |
19009 | </method> |
19010 | <method name="GetNextItem" type="int" overloaded="no"> | |
781d2982 | 19011 | <autodoc>GetNextItem(self, int item, int dir, long style) -> int</autodoc> |
f32fc4bc RD |
19012 | <paramlist> |
19013 | <param name="item" type="int" default=""/> | |
19014 | <param name="dir" type="wxDirection" default=""/> | |
19015 | <param name="style" type="long" default=""/> | |
19016 | </paramlist> | |
19017 | </method> | |
781d2982 RD |
19018 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
19019 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
19020 | <docstring>Get the default attributes for this class. This is useful if you want | |
19021 | to use the same font or colour in your own control as in a standard | |
19022 | control -- which is a much better idea than hard coding specific | |
19023 | colours or fonts which might look completely out of place on the | |
19024 | user's system, especially if it uses themes. | |
19025 | ||
19026 | The variant parameter is only relevant under Mac currently and is | |
19027 | ignore under other platforms. Under Mac, it will change the size of | |
19028 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
19029 | this.</docstring> | |
19030 | <paramlist> | |
19031 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
19032 | </paramlist> | |
19033 | </staticmethod> | |
f32fc4bc RD |
19034 | </class> |
19035 | <pythoncode> | |
0f43fbdf RD |
19036 | #--------------------------------------------------------------------------- |
19037 | </pythoncode> | |
781d2982 | 19038 | <class name="RadioButton" oldname="wxRadioButton" module="_controls"> |
f32fc4bc RD |
19039 | <baseclass name="Control"/> |
19040 | <constructor name="RadioButton" overloaded="no"> | |
781d2982 RD |
19041 | <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString, |
19042 | Point pos=DefaultPosition, Size size=DefaultSize, | |
19043 | long style=0, Validator validator=DefaultValidator, | |
19044 | String name=RadioButtonNameStr) -> RadioButton</autodoc> | |
f32fc4bc RD |
19045 | <paramlist> |
19046 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
19047 | <param name="id" type="int" default="-1"/> |
19048 | <param name="label" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
19049 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
19050 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19051 | <param name="style" type="long" default="0"/> | |
19052 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
19053 | <param name="name" type="String" default="wxPyRadioButtonNameStr"/> | |
19054 | </paramlist> | |
19055 | </constructor> | |
19056 | <constructor name="PreRadioButton" overloaded="no"> | |
19057 | <autodoc>PreRadioButton() -> RadioButton</autodoc> | |
19058 | </constructor> | |
19059 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
19060 | <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString, |
19061 | Point pos=DefaultPosition, Size size=DefaultSize, | |
19062 | long style=0, Validator validator=DefaultValidator, | |
19063 | String name=RadioButtonNameStr) -> bool</autodoc> | |
f32fc4bc RD |
19064 | <paramlist> |
19065 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
19066 | <param name="id" type="int" default="-1"/> |
19067 | <param name="label" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
19068 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
19069 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19070 | <param name="style" type="long" default="0"/> | |
19071 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
19072 | <param name="name" type="String" default="wxPyRadioButtonNameStr"/> | |
19073 | </paramlist> | |
19074 | </method> | |
19075 | <method name="GetValue" type="bool" overloaded="no"> | |
781d2982 | 19076 | <autodoc>GetValue(self) -> bool</autodoc> |
f32fc4bc RD |
19077 | </method> |
19078 | <method name="SetValue" type="" overloaded="no"> | |
781d2982 | 19079 | <autodoc>SetValue(self, bool value)</autodoc> |
f32fc4bc RD |
19080 | <paramlist> |
19081 | <param name="value" type="bool" default=""/> | |
19082 | </paramlist> | |
19083 | </method> | |
781d2982 RD |
19084 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
19085 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
19086 | <docstring>Get the default attributes for this class. This is useful if you want | |
19087 | to use the same font or colour in your own control as in a standard | |
19088 | control -- which is a much better idea than hard coding specific | |
19089 | colours or fonts which might look completely out of place on the | |
19090 | user's system, especially if it uses themes. | |
19091 | ||
19092 | The variant parameter is only relevant under Mac currently and is | |
19093 | ignore under other platforms. Under Mac, it will change the size of | |
19094 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
19095 | this.</docstring> | |
19096 | <paramlist> | |
19097 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
19098 | </paramlist> | |
19099 | </staticmethod> | |
f32fc4bc RD |
19100 | </class> |
19101 | <pythoncode> | |
0f43fbdf RD |
19102 | #--------------------------------------------------------------------------- |
19103 | </pythoncode> | |
781d2982 | 19104 | <class name="Slider" oldname="wxSlider" module="_controls"> |
f32fc4bc RD |
19105 | <baseclass name="Control"/> |
19106 | <constructor name="Slider" overloaded="no"> | |
781d2982 RD |
19107 | <autodoc>__init__(self, Window parent, int id=-1, int value=0, int minValue=0, |
19108 | int maxValue=100, Point pos=DefaultPosition, | |
19109 | Size size=DefaultSize, long style=SL_HORIZONTAL, | |
19110 | Validator validator=DefaultValidator, | |
856bf319 | 19111 | String name=SliderNameStr) -> Slider</autodoc> |
f32fc4bc RD |
19112 | <paramlist> |
19113 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
19114 | <param name="id" type="int" default="-1"/> |
19115 | <param name="value" type="int" default="0"/> | |
19116 | <param name="minValue" type="int" default="0"/> | |
19117 | <param name="maxValue" type="int" default="100"/> | |
f32fc4bc RD |
19118 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
19119 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19120 | <param name="style" type="long" default="wxSL_HORIZONTAL"/> | |
19121 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
19122 | <param name="name" type="String" default="wxPySliderNameStr"/> | |
19123 | </paramlist> | |
19124 | </constructor> | |
19125 | <constructor name="PreSlider" overloaded="no"> | |
19126 | <autodoc>PreSlider() -> Slider</autodoc> | |
19127 | </constructor> | |
19128 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
19129 | <autodoc>Create(self, Window parent, int id=-1, int value=0, int minValue=0, |
19130 | int maxValue=100, Point pos=DefaultPosition, | |
19131 | Size size=DefaultSize, long style=SL_HORIZONTAL, | |
19132 | Validator validator=DefaultValidator, | |
856bf319 | 19133 | String name=SliderNameStr) -> bool</autodoc> |
f32fc4bc RD |
19134 | <paramlist> |
19135 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
19136 | <param name="id" type="int" default="-1"/> |
19137 | <param name="value" type="int" default="0"/> | |
19138 | <param name="minValue" type="int" default="0"/> | |
19139 | <param name="maxValue" type="int" default="100"/> | |
f32fc4bc RD |
19140 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
19141 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19142 | <param name="style" type="long" default="wxSL_HORIZONTAL"/> | |
19143 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
19144 | <param name="name" type="String" default="wxPySliderNameStr"/> | |
19145 | </paramlist> | |
19146 | </method> | |
19147 | <method name="GetValue" type="int" overloaded="no"> | |
781d2982 | 19148 | <autodoc>GetValue(self) -> int</autodoc> |
f32fc4bc RD |
19149 | </method> |
19150 | <method name="SetValue" type="" overloaded="no"> | |
781d2982 | 19151 | <autodoc>SetValue(self, int value)</autodoc> |
f32fc4bc RD |
19152 | <paramlist> |
19153 | <param name="value" type="int" default=""/> | |
19154 | </paramlist> | |
19155 | </method> | |
19156 | <method name="SetRange" type="" overloaded="no"> | |
781d2982 | 19157 | <autodoc>SetRange(self, int minValue, int maxValue)</autodoc> |
f32fc4bc RD |
19158 | <paramlist> |
19159 | <param name="minValue" type="int" default=""/> | |
19160 | <param name="maxValue" type="int" default=""/> | |
19161 | </paramlist> | |
19162 | </method> | |
19163 | <method name="GetMin" type="int" overloaded="no"> | |
781d2982 | 19164 | <autodoc>GetMin(self) -> int</autodoc> |
f32fc4bc RD |
19165 | </method> |
19166 | <method name="GetMax" type="int" overloaded="no"> | |
781d2982 | 19167 | <autodoc>GetMax(self) -> int</autodoc> |
f32fc4bc RD |
19168 | </method> |
19169 | <method name="SetMin" type="" overloaded="no"> | |
781d2982 | 19170 | <autodoc>SetMin(self, int minValue)</autodoc> |
f32fc4bc RD |
19171 | <paramlist> |
19172 | <param name="minValue" type="int" default=""/> | |
19173 | </paramlist> | |
19174 | </method> | |
19175 | <method name="SetMax" type="" overloaded="no"> | |
781d2982 | 19176 | <autodoc>SetMax(self, int maxValue)</autodoc> |
f32fc4bc RD |
19177 | <paramlist> |
19178 | <param name="maxValue" type="int" default=""/> | |
19179 | </paramlist> | |
19180 | </method> | |
19181 | <method name="SetLineSize" type="" overloaded="no"> | |
781d2982 | 19182 | <autodoc>SetLineSize(self, int lineSize)</autodoc> |
f32fc4bc RD |
19183 | <paramlist> |
19184 | <param name="lineSize" type="int" default=""/> | |
19185 | </paramlist> | |
19186 | </method> | |
19187 | <method name="SetPageSize" type="" overloaded="no"> | |
781d2982 | 19188 | <autodoc>SetPageSize(self, int pageSize)</autodoc> |
f32fc4bc RD |
19189 | <paramlist> |
19190 | <param name="pageSize" type="int" default=""/> | |
19191 | </paramlist> | |
19192 | </method> | |
19193 | <method name="GetLineSize" type="int" overloaded="no"> | |
781d2982 | 19194 | <autodoc>GetLineSize(self) -> int</autodoc> |
f32fc4bc RD |
19195 | </method> |
19196 | <method name="GetPageSize" type="int" overloaded="no"> | |
781d2982 | 19197 | <autodoc>GetPageSize(self) -> int</autodoc> |
f32fc4bc RD |
19198 | </method> |
19199 | <method name="SetThumbLength" type="" overloaded="no"> | |
781d2982 | 19200 | <autodoc>SetThumbLength(self, int lenPixels)</autodoc> |
f32fc4bc RD |
19201 | <paramlist> |
19202 | <param name="lenPixels" type="int" default=""/> | |
19203 | </paramlist> | |
19204 | </method> | |
19205 | <method name="GetThumbLength" type="int" overloaded="no"> | |
781d2982 | 19206 | <autodoc>GetThumbLength(self) -> int</autodoc> |
f32fc4bc RD |
19207 | </method> |
19208 | <method name="SetTickFreq" type="" overloaded="no"> | |
781d2982 | 19209 | <autodoc>SetTickFreq(self, int n, int pos=1)</autodoc> |
f32fc4bc RD |
19210 | <paramlist> |
19211 | <param name="n" type="int" default=""/> | |
19212 | <param name="pos" type="int" default="1"/> | |
19213 | </paramlist> | |
19214 | </method> | |
19215 | <method name="GetTickFreq" type="int" overloaded="no"> | |
781d2982 | 19216 | <autodoc>GetTickFreq(self) -> int</autodoc> |
f32fc4bc RD |
19217 | </method> |
19218 | <method name="ClearTicks" type="" overloaded="no"> | |
781d2982 | 19219 | <autodoc>ClearTicks(self)</autodoc> |
f32fc4bc RD |
19220 | </method> |
19221 | <method name="SetTick" type="" overloaded="no"> | |
781d2982 | 19222 | <autodoc>SetTick(self, int tickPos)</autodoc> |
f32fc4bc RD |
19223 | <paramlist> |
19224 | <param name="tickPos" type="int" default=""/> | |
19225 | </paramlist> | |
19226 | </method> | |
19227 | <method name="ClearSel" type="" overloaded="no"> | |
781d2982 | 19228 | <autodoc>ClearSel(self)</autodoc> |
f32fc4bc RD |
19229 | </method> |
19230 | <method name="GetSelEnd" type="int" overloaded="no"> | |
781d2982 | 19231 | <autodoc>GetSelEnd(self) -> int</autodoc> |
f32fc4bc RD |
19232 | </method> |
19233 | <method name="GetSelStart" type="int" overloaded="no"> | |
781d2982 | 19234 | <autodoc>GetSelStart(self) -> int</autodoc> |
f32fc4bc RD |
19235 | </method> |
19236 | <method name="SetSelection" type="" overloaded="no"> | |
781d2982 | 19237 | <autodoc>SetSelection(self, int min, int max)</autodoc> |
f32fc4bc RD |
19238 | <paramlist> |
19239 | <param name="min" type="int" default=""/> | |
19240 | <param name="max" type="int" default=""/> | |
19241 | </paramlist> | |
19242 | </method> | |
781d2982 RD |
19243 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
19244 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
19245 | <docstring>Get the default attributes for this class. This is useful if you want | |
19246 | to use the same font or colour in your own control as in a standard | |
19247 | control -- which is a much better idea than hard coding specific | |
19248 | colours or fonts which might look completely out of place on the | |
19249 | user's system, especially if it uses themes. | |
19250 | ||
19251 | The variant parameter is only relevant under Mac currently and is | |
19252 | ignore under other platforms. Under Mac, it will change the size of | |
19253 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
19254 | this.</docstring> | |
19255 | <paramlist> | |
19256 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
19257 | </paramlist> | |
19258 | </staticmethod> | |
f32fc4bc RD |
19259 | </class> |
19260 | <pythoncode> | |
0f43fbdf RD |
19261 | #--------------------------------------------------------------------------- |
19262 | </pythoncode> | |
f32fc4bc | 19263 | <pythoncode> |
856bf319 | 19264 | EVT_TOGGLEBUTTON = wx.PyEventBinder( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 1) |
0f43fbdf | 19265 | </pythoncode> |
781d2982 | 19266 | <class name="ToggleButton" oldname="wxToggleButton" module="_controls"> |
f32fc4bc RD |
19267 | <baseclass name="Control"/> |
19268 | <constructor name="ToggleButton" overloaded="no"> | |
781d2982 RD |
19269 | <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString, |
19270 | Point pos=DefaultPosition, Size size=DefaultSize, | |
19271 | long style=0, Validator validator=DefaultValidator, | |
19272 | String name=ToggleButtonNameStr) -> ToggleButton</autodoc> | |
f32fc4bc RD |
19273 | <paramlist> |
19274 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
19275 | <param name="id" type="int" default="-1"/> |
19276 | <param name="label" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
19277 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
19278 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19279 | <param name="style" type="long" default="0"/> | |
19280 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
19281 | <param name="name" type="String" default="wxPyToggleButtonNameStr"/> | |
19282 | </paramlist> | |
19283 | </constructor> | |
19284 | <constructor name="PreToggleButton" overloaded="no"> | |
19285 | <autodoc>PreToggleButton() -> ToggleButton</autodoc> | |
19286 | </constructor> | |
19287 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
19288 | <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString, |
19289 | Point pos=DefaultPosition, Size size=DefaultSize, | |
19290 | long style=0, Validator validator=DefaultValidator, | |
19291 | String name=ToggleButtonNameStr) -> bool</autodoc> | |
f32fc4bc RD |
19292 | <paramlist> |
19293 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
19294 | <param name="id" type="int" default="-1"/> |
19295 | <param name="label" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
19296 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
19297 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19298 | <param name="style" type="long" default="0"/> | |
19299 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
19300 | <param name="name" type="String" default="wxPyToggleButtonNameStr"/> | |
19301 | </paramlist> | |
19302 | </method> | |
19303 | <method name="SetValue" type="" overloaded="no"> | |
781d2982 | 19304 | <autodoc>SetValue(self, bool value)</autodoc> |
f32fc4bc RD |
19305 | <paramlist> |
19306 | <param name="value" type="bool" default=""/> | |
19307 | </paramlist> | |
19308 | </method> | |
19309 | <method name="GetValue" type="bool" overloaded="no"> | |
781d2982 | 19310 | <autodoc>GetValue(self) -> bool</autodoc> |
f32fc4bc RD |
19311 | </method> |
19312 | <method name="SetLabel" type="" overloaded="no"> | |
781d2982 | 19313 | <autodoc>SetLabel(self, String label)</autodoc> |
c2dda882 | 19314 | <docstring>Sets the item's text.</docstring> |
f32fc4bc RD |
19315 | <paramlist> |
19316 | <param name="label" type="String" default=""/> | |
19317 | </paramlist> | |
19318 | </method> | |
781d2982 RD |
19319 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
19320 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
19321 | <docstring>Get the default attributes for this class. This is useful if you want | |
19322 | to use the same font or colour in your own control as in a standard | |
19323 | control -- which is a much better idea than hard coding specific | |
19324 | colours or fonts which might look completely out of place on the | |
19325 | user's system, especially if it uses themes. | |
19326 | ||
19327 | The variant parameter is only relevant under Mac currently and is | |
19328 | ignore under other platforms. Under Mac, it will change the size of | |
19329 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
19330 | this.</docstring> | |
19331 | <paramlist> | |
19332 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
19333 | </paramlist> | |
19334 | </staticmethod> | |
f32fc4bc RD |
19335 | </class> |
19336 | <pythoncode> | |
0f43fbdf RD |
19337 | #--------------------------------------------------------------------------- |
19338 | </pythoncode> | |
781d2982 | 19339 | <class name="BookCtrl" oldname="wxBookCtrl" module="_controls"> |
f32fc4bc RD |
19340 | <baseclass name="Control"/> |
19341 | <method name="GetPageCount" type="size_t" overloaded="no"> | |
781d2982 | 19342 | <autodoc>GetPageCount(self) -> size_t</autodoc> |
f32fc4bc RD |
19343 | </method> |
19344 | <method name="GetPage" type="Window" overloaded="no"> | |
781d2982 | 19345 | <autodoc>GetPage(self, size_t n) -> Window</autodoc> |
f32fc4bc RD |
19346 | <paramlist> |
19347 | <param name="n" type="size_t" default=""/> | |
19348 | </paramlist> | |
19349 | </method> | |
19350 | <method name="GetSelection" type="int" overloaded="no"> | |
781d2982 | 19351 | <autodoc>GetSelection(self) -> int</autodoc> |
f32fc4bc RD |
19352 | </method> |
19353 | <method name="SetPageText" type="bool" overloaded="no"> | |
781d2982 | 19354 | <autodoc>SetPageText(self, size_t n, String strText) -> bool</autodoc> |
f32fc4bc RD |
19355 | <paramlist> |
19356 | <param name="n" type="size_t" default=""/> | |
19357 | <param name="strText" type="String" default=""/> | |
19358 | </paramlist> | |
19359 | </method> | |
19360 | <method name="GetPageText" type="String" overloaded="no"> | |
781d2982 | 19361 | <autodoc>GetPageText(self, size_t n) -> String</autodoc> |
f32fc4bc RD |
19362 | <paramlist> |
19363 | <param name="n" type="size_t" default=""/> | |
19364 | </paramlist> | |
19365 | </method> | |
19366 | <method name="SetImageList" type="" overloaded="no"> | |
781d2982 | 19367 | <autodoc>SetImageList(self, ImageList imageList)</autodoc> |
f32fc4bc RD |
19368 | <paramlist> |
19369 | <param name="imageList" type="ImageList" default=""/> | |
19370 | </paramlist> | |
19371 | </method> | |
19372 | <method name="AssignImageList" type="" overloaded="no"> | |
781d2982 | 19373 | <autodoc>AssignImageList(self, ImageList imageList)</autodoc> |
f32fc4bc RD |
19374 | <paramlist> |
19375 | <param name="imageList" type="ImageList" default=""/> | |
19376 | </paramlist> | |
19377 | </method> | |
19378 | <method name="GetImageList" type="ImageList" overloaded="no"> | |
781d2982 | 19379 | <autodoc>GetImageList(self) -> ImageList</autodoc> |
f32fc4bc RD |
19380 | </method> |
19381 | <method name="GetPageImage" type="int" overloaded="no"> | |
781d2982 | 19382 | <autodoc>GetPageImage(self, size_t n) -> int</autodoc> |
f32fc4bc RD |
19383 | <paramlist> |
19384 | <param name="n" type="size_t" default=""/> | |
19385 | </paramlist> | |
19386 | </method> | |
19387 | <method name="SetPageImage" type="bool" overloaded="no"> | |
781d2982 | 19388 | <autodoc>SetPageImage(self, size_t n, int imageId) -> bool</autodoc> |
f32fc4bc RD |
19389 | <paramlist> |
19390 | <param name="n" type="size_t" default=""/> | |
19391 | <param name="imageId" type="int" default=""/> | |
19392 | </paramlist> | |
19393 | </method> | |
19394 | <method name="SetPageSize" type="" overloaded="no"> | |
781d2982 | 19395 | <autodoc>SetPageSize(self, Size size)</autodoc> |
f32fc4bc RD |
19396 | <paramlist> |
19397 | <param name="size" type="Size" default=""/> | |
19398 | </paramlist> | |
19399 | </method> | |
19400 | <method name="CalcSizeFromPage" type="Size" overloaded="no"> | |
781d2982 | 19401 | <autodoc>CalcSizeFromPage(self, Size sizePage) -> Size</autodoc> |
f32fc4bc RD |
19402 | <paramlist> |
19403 | <param name="sizePage" type="Size" default=""/> | |
19404 | </paramlist> | |
19405 | </method> | |
19406 | <method name="DeletePage" type="bool" overloaded="no"> | |
781d2982 | 19407 | <autodoc>DeletePage(self, size_t n) -> bool</autodoc> |
f32fc4bc RD |
19408 | <paramlist> |
19409 | <param name="n" type="size_t" default=""/> | |
19410 | </paramlist> | |
19411 | </method> | |
19412 | <method name="RemovePage" type="bool" overloaded="no"> | |
781d2982 | 19413 | <autodoc>RemovePage(self, size_t n) -> bool</autodoc> |
f32fc4bc RD |
19414 | <paramlist> |
19415 | <param name="n" type="size_t" default=""/> | |
19416 | </paramlist> | |
19417 | </method> | |
19418 | <method name="DeleteAllPages" type="bool" overloaded="no"> | |
781d2982 | 19419 | <autodoc>DeleteAllPages(self) -> bool</autodoc> |
f32fc4bc RD |
19420 | </method> |
19421 | <method name="AddPage" type="bool" overloaded="no"> | |
781d2982 | 19422 | <autodoc>AddPage(self, Window page, String text, bool select=False, int imageId=-1) -> bool</autodoc> |
f32fc4bc RD |
19423 | <paramlist> |
19424 | <param name="page" type="Window" default=""/> | |
19425 | <param name="text" type="String" default=""/> | |
19426 | <param name="select" type="bool" default="False"/> | |
19427 | <param name="imageId" type="int" default="-1"/> | |
19428 | </paramlist> | |
19429 | </method> | |
19430 | <method name="InsertPage" type="bool" overloaded="no"> | |
781d2982 | 19431 | <autodoc>InsertPage(self, size_t n, Window page, String text, bool select=False, |
856bf319 | 19432 | int imageId=-1) -> bool</autodoc> |
f32fc4bc RD |
19433 | <paramlist> |
19434 | <param name="n" type="size_t" default=""/> | |
19435 | <param name="page" type="Window" default=""/> | |
19436 | <param name="text" type="String" default=""/> | |
19437 | <param name="select" type="bool" default="False"/> | |
19438 | <param name="imageId" type="int" default="-1"/> | |
19439 | </paramlist> | |
19440 | </method> | |
19441 | <method name="SetSelection" type="int" overloaded="no"> | |
781d2982 | 19442 | <autodoc>SetSelection(self, size_t n) -> int</autodoc> |
f32fc4bc RD |
19443 | <paramlist> |
19444 | <param name="n" type="size_t" default=""/> | |
19445 | </paramlist> | |
19446 | </method> | |
19447 | <method name="AdvanceSelection" type="" overloaded="no"> | |
781d2982 | 19448 | <autodoc>AdvanceSelection(self, bool forward=True)</autodoc> |
f32fc4bc RD |
19449 | <paramlist> |
19450 | <param name="forward" type="bool" default="True"/> | |
19451 | </paramlist> | |
19452 | </method> | |
781d2982 RD |
19453 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
19454 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
19455 | <docstring>Get the default attributes for this class. This is useful if you want | |
19456 | to use the same font or colour in your own control as in a standard | |
19457 | control -- which is a much better idea than hard coding specific | |
19458 | colours or fonts which might look completely out of place on the | |
19459 | user's system, especially if it uses themes. | |
19460 | ||
19461 | The variant parameter is only relevant under Mac currently and is | |
19462 | ignore under other platforms. Under Mac, it will change the size of | |
19463 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
19464 | this.</docstring> | |
19465 | <paramlist> | |
19466 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
19467 | </paramlist> | |
19468 | </staticmethod> | |
f32fc4bc | 19469 | </class> |
781d2982 | 19470 | <class name="BookCtrlEvent" oldname="wxBookCtrlEvent" module="_controls"> |
f32fc4bc RD |
19471 | <baseclass name="NotifyEvent"/> |
19472 | <constructor name="BookCtrlEvent" overloaded="no"> | |
781d2982 | 19473 | <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, |
856bf319 | 19474 | int nOldSel=-1) -> BookCtrlEvent</autodoc> |
f32fc4bc RD |
19475 | <paramlist> |
19476 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
19477 | <param name="id" type="int" default="0"/> | |
19478 | <param name="nSel" type="int" default="-1"/> | |
19479 | <param name="nOldSel" type="int" default="-1"/> | |
19480 | </paramlist> | |
19481 | </constructor> | |
19482 | <method name="GetSelection" type="int" overloaded="no"> | |
781d2982 | 19483 | <autodoc>GetSelection(self) -> int</autodoc> |
f32fc4bc RD |
19484 | </method> |
19485 | <method name="SetSelection" type="" overloaded="no"> | |
781d2982 | 19486 | <autodoc>SetSelection(self, int nSel)</autodoc> |
f32fc4bc RD |
19487 | <paramlist> |
19488 | <param name="nSel" type="int" default=""/> | |
19489 | </paramlist> | |
19490 | </method> | |
19491 | <method name="GetOldSelection" type="int" overloaded="no"> | |
781d2982 | 19492 | <autodoc>GetOldSelection(self) -> int</autodoc> |
f32fc4bc RD |
19493 | </method> |
19494 | <method name="SetOldSelection" type="" overloaded="no"> | |
781d2982 | 19495 | <autodoc>SetOldSelection(self, int nOldSel)</autodoc> |
f32fc4bc RD |
19496 | <paramlist> |
19497 | <param name="nOldSel" type="int" default=""/> | |
19498 | </paramlist> | |
19499 | </method> | |
19500 | </class> | |
19501 | <pythoncode> | |
0f43fbdf RD |
19502 | #--------------------------------------------------------------------------- |
19503 | </pythoncode> | |
781d2982 | 19504 | <class name="Notebook" oldname="wxNotebook" module="_controls"> |
f32fc4bc RD |
19505 | <baseclass name="BookCtrl"/> |
19506 | <constructor name="Notebook" overloaded="no"> | |
781d2982 | 19507 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
368d20e8 | 19508 | Size size=DefaultSize, long style=0, String name=NOTEBOOK_NAME) -> Notebook</autodoc> |
f32fc4bc RD |
19509 | <paramlist> |
19510 | <param name="parent" type="Window" default=""/> | |
368d20e8 | 19511 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
19512 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
19513 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19514 | <param name="style" type="long" default="0"/> | |
19515 | <param name="name" type="String" default="wxPyNOTEBOOK_NAME"/> | |
19516 | </paramlist> | |
19517 | </constructor> | |
19518 | <constructor name="PreNotebook" overloaded="no"> | |
19519 | <autodoc>PreNotebook() -> Notebook</autodoc> | |
19520 | </constructor> | |
19521 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
19522 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
19523 | Size size=DefaultSize, long style=0, String name=NOTEBOOK_NAME) -> bool</autodoc> | |
f32fc4bc RD |
19524 | <paramlist> |
19525 | <param name="parent" type="Window" default=""/> | |
781d2982 | 19526 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
19527 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
19528 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19529 | <param name="style" type="long" default="0"/> | |
19530 | <param name="name" type="String" default="wxPyNOTEBOOK_NAME"/> | |
19531 | </paramlist> | |
19532 | </method> | |
19533 | <method name="GetRowCount" type="int" overloaded="no"> | |
781d2982 | 19534 | <autodoc>GetRowCount(self) -> int</autodoc> |
f32fc4bc RD |
19535 | </method> |
19536 | <method name="SetPadding" type="" overloaded="no"> | |
781d2982 | 19537 | <autodoc>SetPadding(self, Size padding)</autodoc> |
f32fc4bc RD |
19538 | <paramlist> |
19539 | <param name="padding" type="Size" default=""/> | |
19540 | </paramlist> | |
19541 | </method> | |
19542 | <method name="SetTabSize" type="" overloaded="no"> | |
781d2982 | 19543 | <autodoc>SetTabSize(self, Size sz)</autodoc> |
f32fc4bc RD |
19544 | <paramlist> |
19545 | <param name="sz" type="Size" default=""/> | |
19546 | </paramlist> | |
19547 | </method> | |
19548 | <method name="HitTest" type="int" overloaded="no"> | |
19549 | <autodoc>HitTest(Point pt) -> (tab, where)</autodoc> | |
ce6878e6 RD |
19550 | <docstring>Returns the tab which is hit, and flags indicating where using |
19551 | wx.NB_HITTEST flags.</docstring> | |
f32fc4bc RD |
19552 | <paramlist> |
19553 | <param name="pt" type="Point" default=""/> | |
19554 | <param name="OUTPUT" type="long" default=""/> | |
19555 | </paramlist> | |
19556 | </method> | |
19557 | <method name="CalcSizeFromPage" type="Size" overloaded="no"> | |
781d2982 | 19558 | <autodoc>CalcSizeFromPage(self, Size sizePage) -> Size</autodoc> |
f32fc4bc RD |
19559 | <paramlist> |
19560 | <param name="sizePage" type="Size" default=""/> | |
19561 | </paramlist> | |
19562 | </method> | |
781d2982 RD |
19563 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
19564 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
19565 | <docstring>Get the default attributes for this class. This is useful if you want | |
19566 | to use the same font or colour in your own control as in a standard | |
19567 | control -- which is a much better idea than hard coding specific | |
19568 | colours or fonts which might look completely out of place on the | |
19569 | user's system, especially if it uses themes. | |
19570 | ||
19571 | The variant parameter is only relevant under Mac currently and is | |
19572 | ignore under other platforms. Under Mac, it will change the size of | |
19573 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
19574 | this.</docstring> | |
19575 | <paramlist> | |
19576 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
19577 | </paramlist> | |
19578 | </staticmethod> | |
f32fc4bc | 19579 | </class> |
781d2982 | 19580 | <class name="NotebookEvent" oldname="wxNotebookEvent" module="_controls"> |
f32fc4bc RD |
19581 | <baseclass name="BookCtrlEvent"/> |
19582 | <constructor name="NotebookEvent" overloaded="no"> | |
781d2982 | 19583 | <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, |
856bf319 | 19584 | int nOldSel=-1) -> NotebookEvent</autodoc> |
f32fc4bc RD |
19585 | <paramlist> |
19586 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
19587 | <param name="id" type="int" default="0"/> | |
19588 | <param name="nSel" type="int" default="-1"/> | |
19589 | <param name="nOldSel" type="int" default="-1"/> | |
19590 | </paramlist> | |
19591 | </constructor> | |
19592 | </class> | |
19593 | <pythoncode> | |
856bf319 RD |
19594 | # wxNotebook events |
19595 | EVT_NOTEBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 1 ) | |
19596 | EVT_NOTEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 1 ) | |
0f43fbdf | 19597 | </pythoncode> |
f32fc4bc | 19598 | <pythoncode> |
856bf319 RD |
19599 | #---------------------------------------------------------------------------- |
19600 | ||
19601 | class NotebookPage(wx.Panel): | |
19602 | """ | |
19603 | There is an old (and apparently unsolvable) bug when placing a | |
19604 | window with a nonstandard background colour in a wxNotebook on | |
19605 | wxGTK, as the notbooks's background colour would always be used | |
19606 | when the window is refreshed. The solution is to place a panel in | |
19607 | the notbook and the coloured window on the panel, sized to cover | |
19608 | the panel. This simple class does that for you, just put an | |
19609 | instance of this in the notebook and make your regular window a | |
19610 | child of this one and it will handle the resize for you. | |
19611 | """ | |
19612 | def __init__(self, parent, id=-1, | |
19613 | pos=wx.DefaultPosition, size=wx.DefaultSize, | |
19614 | style=wx.TAB_TRAVERSAL, name="panel"): | |
19615 | wx.Panel.__init__(self, parent, id, pos, size, style, name) | |
19616 | self.child = None | |
19617 | EVT_SIZE(self, self.OnSize) | |
19618 | ||
19619 | def OnSize(self, evt): | |
19620 | if self.child is None: | |
19621 | children = self.GetChildren() | |
19622 | if len(children): | |
19623 | self.child = children[0] | |
19624 | if self.child: | |
19625 | self.child.SetPosition((0,0)) | |
19626 | self.child.SetSize(self.GetSize()) | |
19627 | ||
0f43fbdf | 19628 | </pythoncode> |
f32fc4bc | 19629 | <pythoncode> |
0f43fbdf RD |
19630 | #--------------------------------------------------------------------------- |
19631 | </pythoncode> | |
781d2982 | 19632 | <class name="Listbook" oldname="wxListbook" module="_controls"> |
f32fc4bc RD |
19633 | <baseclass name="BookCtrl"/> |
19634 | <constructor name="Listbook" overloaded="no"> | |
781d2982 | 19635 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
368d20e8 | 19636 | Size size=DefaultSize, long style=0, String name=EmptyString) -> Listbook</autodoc> |
f32fc4bc RD |
19637 | <paramlist> |
19638 | <param name="parent" type="Window" default=""/> | |
368d20e8 | 19639 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
19640 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
19641 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19642 | <param name="style" type="long" default="0"/> | |
19643 | <param name="name" type="String" default="wxPyEmptyString"/> | |
19644 | </paramlist> | |
19645 | </constructor> | |
19646 | <constructor name="PreListbook" overloaded="no"> | |
19647 | <autodoc>PreListbook() -> Listbook</autodoc> | |
19648 | </constructor> | |
19649 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
19650 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
19651 | Size size=DefaultSize, long style=0, String name=EmptyString) -> bool</autodoc> | |
f32fc4bc RD |
19652 | <paramlist> |
19653 | <param name="parent" type="Window" default=""/> | |
781d2982 | 19654 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
19655 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
19656 | <param name="size" type="Size" default="wxDefaultSize"/> | |
19657 | <param name="style" type="long" default="0"/> | |
19658 | <param name="name" type="String" default="wxPyEmptyString"/> | |
19659 | </paramlist> | |
19660 | </method> | |
19661 | <method name="IsVertical" type="bool" overloaded="no"> | |
781d2982 | 19662 | <autodoc>IsVertical(self) -> bool</autodoc> |
f32fc4bc RD |
19663 | </method> |
19664 | </class> | |
781d2982 | 19665 | <class name="ListbookEvent" oldname="wxListbookEvent" module="_controls"> |
f32fc4bc RD |
19666 | <baseclass name="BookCtrlEvent"/> |
19667 | <constructor name="ListbookEvent" overloaded="no"> | |
781d2982 | 19668 | <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, |
856bf319 | 19669 | int nOldSel=-1) -> ListbookEvent</autodoc> |
f32fc4bc RD |
19670 | <paramlist> |
19671 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
19672 | <param name="id" type="int" default="0"/> | |
19673 | <param name="nSel" type="int" default="-1"/> | |
19674 | <param name="nOldSel" type="int" default="-1"/> | |
19675 | </paramlist> | |
19676 | </constructor> | |
19677 | </class> | |
19678 | <pythoncode> | |
856bf319 RD |
19679 | EVT_LISTBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 1 ) |
19680 | EVT_LISTBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 1 ) | |
0f43fbdf | 19681 | </pythoncode> |
f32fc4bc RD |
19682 | <pythoncode> |
19683 | #--------------------------------------------------------------------------- | |
19684 | </pythoncode> | |
781d2982 | 19685 | <class name="BookCtrlSizer" oldname="wxBookCtrlSizer" module="_controls"> |
f32fc4bc RD |
19686 | <baseclass name="Sizer"/> |
19687 | <constructor name="BookCtrlSizer" overloaded="no"> | |
781d2982 | 19688 | <autodoc>__init__(self, BookCtrl nb) -> BookCtrlSizer</autodoc> |
f32fc4bc RD |
19689 | <paramlist> |
19690 | <param name="nb" type="BookCtrl" default=""/> | |
19691 | </paramlist> | |
19692 | </constructor> | |
19693 | <method name="RecalcSizes" type="" overloaded="no"> | |
781d2982 RD |
19694 | <autodoc>RecalcSizes(self)</autodoc> |
19695 | <docstring>Using the sizes calculated by `CalcMin` reposition and resize all the | |
19696 | items managed by this sizer. You should not need to call this directly as | |
19697 | it is called by `Layout`.</docstring> | |
f32fc4bc RD |
19698 | </method> |
19699 | <method name="CalcMin" type="Size" overloaded="no"> | |
781d2982 RD |
19700 | <autodoc>CalcMin(self) -> Size</autodoc> |
19701 | <docstring>This method is where the sizer will do the actual calculation of its | |
19702 | children's minimal sizes. You should not need to call this directly as | |
19703 | it is called by `Layout`.</docstring> | |
f32fc4bc RD |
19704 | </method> |
19705 | <method name="GetControl" type="BookCtrl" overloaded="no"> | |
781d2982 | 19706 | <autodoc>GetControl(self) -> BookCtrl</autodoc> |
f32fc4bc RD |
19707 | </method> |
19708 | </class> | |
781d2982 | 19709 | <class name="NotebookSizer" oldname="wxNotebookSizer" module="_controls"> |
f32fc4bc RD |
19710 | <baseclass name="Sizer"/> |
19711 | <constructor name="NotebookSizer" overloaded="no"> | |
781d2982 | 19712 | <autodoc>__init__(self, Notebook nb) -> NotebookSizer</autodoc> |
f32fc4bc RD |
19713 | <paramlist> |
19714 | <param name="nb" type="Notebook" default=""/> | |
19715 | </paramlist> | |
19716 | </constructor> | |
19717 | <method name="RecalcSizes" type="" overloaded="no"> | |
781d2982 RD |
19718 | <autodoc>RecalcSizes(self)</autodoc> |
19719 | <docstring>Using the sizes calculated by `CalcMin` reposition and resize all the | |
19720 | items managed by this sizer. You should not need to call this directly as | |
19721 | it is called by `Layout`.</docstring> | |
f32fc4bc RD |
19722 | </method> |
19723 | <method name="CalcMin" type="Size" overloaded="no"> | |
781d2982 RD |
19724 | <autodoc>CalcMin(self) -> Size</autodoc> |
19725 | <docstring>This method is where the sizer will do the actual calculation of its | |
19726 | children's minimal sizes. You should not need to call this directly as | |
19727 | it is called by `Layout`.</docstring> | |
f32fc4bc RD |
19728 | </method> |
19729 | <method name="GetNotebook" type="Notebook" overloaded="no"> | |
781d2982 | 19730 | <autodoc>GetNotebook(self) -> Notebook</autodoc> |
f32fc4bc RD |
19731 | </method> |
19732 | </class> | |
19733 | <pythoncode> | |
19734 | #--------------------------------------------------------------------------- | |
19735 | </pythoncode> | |
781d2982 | 19736 | <class name="ToolBarToolBase" oldname="wxToolBarToolBase" module="_controls"> |
f32fc4bc RD |
19737 | <baseclass name="Object"/> |
19738 | <method name="GetId" type="int" overloaded="no"> | |
781d2982 | 19739 | <autodoc>GetId(self) -> int</autodoc> |
f32fc4bc RD |
19740 | </method> |
19741 | <method name="GetControl" type="Control" overloaded="no"> | |
781d2982 | 19742 | <autodoc>GetControl(self) -> Control</autodoc> |
f32fc4bc RD |
19743 | </method> |
19744 | <method name="GetToolBar" type="wxToolBarBase" overloaded="no"> | |
781d2982 | 19745 | <autodoc>GetToolBar(self) -> ToolBarBase</autodoc> |
f32fc4bc RD |
19746 | </method> |
19747 | <method name="IsButton" type="int" overloaded="no"> | |
781d2982 | 19748 | <autodoc>IsButton(self) -> int</autodoc> |
f32fc4bc RD |
19749 | </method> |
19750 | <method name="IsControl" type="int" overloaded="no"> | |
781d2982 | 19751 | <autodoc>IsControl(self) -> int</autodoc> |
f32fc4bc RD |
19752 | </method> |
19753 | <method name="IsSeparator" type="int" overloaded="no"> | |
781d2982 | 19754 | <autodoc>IsSeparator(self) -> int</autodoc> |
f32fc4bc RD |
19755 | </method> |
19756 | <method name="GetStyle" type="int" overloaded="no"> | |
781d2982 | 19757 | <autodoc>GetStyle(self) -> int</autodoc> |
f32fc4bc RD |
19758 | </method> |
19759 | <method name="GetKind" type="wxItemKind" overloaded="no"> | |
781d2982 | 19760 | <autodoc>GetKind(self) -> int</autodoc> |
f32fc4bc RD |
19761 | </method> |
19762 | <method name="IsEnabled" type="bool" overloaded="no"> | |
781d2982 | 19763 | <autodoc>IsEnabled(self) -> bool</autodoc> |
f32fc4bc RD |
19764 | </method> |
19765 | <method name="IsToggled" type="bool" overloaded="no"> | |
781d2982 | 19766 | <autodoc>IsToggled(self) -> bool</autodoc> |
f32fc4bc RD |
19767 | </method> |
19768 | <method name="CanBeToggled" type="bool" overloaded="no"> | |
781d2982 | 19769 | <autodoc>CanBeToggled(self) -> bool</autodoc> |
f32fc4bc RD |
19770 | </method> |
19771 | <method name="GetNormalBitmap" type="Bitmap" overloaded="no"> | |
781d2982 | 19772 | <autodoc>GetNormalBitmap(self) -> Bitmap</autodoc> |
f32fc4bc RD |
19773 | </method> |
19774 | <method name="GetDisabledBitmap" type="Bitmap" overloaded="no"> | |
781d2982 | 19775 | <autodoc>GetDisabledBitmap(self) -> Bitmap</autodoc> |
f32fc4bc RD |
19776 | </method> |
19777 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
781d2982 | 19778 | <autodoc>GetBitmap(self) -> Bitmap</autodoc> |
f32fc4bc RD |
19779 | </method> |
19780 | <method name="GetLabel" type="String" overloaded="no"> | |
781d2982 | 19781 | <autodoc>GetLabel(self) -> String</autodoc> |
f32fc4bc RD |
19782 | </method> |
19783 | <method name="GetShortHelp" type="String" overloaded="no"> | |
781d2982 | 19784 | <autodoc>GetShortHelp(self) -> String</autodoc> |
f32fc4bc RD |
19785 | </method> |
19786 | <method name="GetLongHelp" type="String" overloaded="no"> | |
781d2982 | 19787 | <autodoc>GetLongHelp(self) -> String</autodoc> |
f32fc4bc RD |
19788 | </method> |
19789 | <method name="Enable" type="bool" overloaded="no"> | |
781d2982 | 19790 | <autodoc>Enable(self, bool enable) -> bool</autodoc> |
f32fc4bc RD |
19791 | <paramlist> |
19792 | <param name="enable" type="bool" default=""/> | |
19793 | </paramlist> | |
19794 | </method> | |
19795 | <method name="Toggle" type="" overloaded="no"> | |
781d2982 | 19796 | <autodoc>Toggle(self)</autodoc> |
f32fc4bc RD |
19797 | </method> |
19798 | <method name="SetToggle" type="bool" overloaded="no"> | |
781d2982 | 19799 | <autodoc>SetToggle(self, bool toggle) -> bool</autodoc> |
f32fc4bc RD |
19800 | <paramlist> |
19801 | <param name="toggle" type="bool" default=""/> | |
19802 | </paramlist> | |
19803 | </method> | |
19804 | <method name="SetShortHelp" type="bool" overloaded="no"> | |
781d2982 | 19805 | <autodoc>SetShortHelp(self, String help) -> bool</autodoc> |
f32fc4bc RD |
19806 | <paramlist> |
19807 | <param name="help" type="String" default=""/> | |
19808 | </paramlist> | |
19809 | </method> | |
19810 | <method name="SetLongHelp" type="bool" overloaded="no"> | |
781d2982 | 19811 | <autodoc>SetLongHelp(self, String help) -> bool</autodoc> |
f32fc4bc RD |
19812 | <paramlist> |
19813 | <param name="help" type="String" default=""/> | |
19814 | </paramlist> | |
19815 | </method> | |
19816 | <method name="SetNormalBitmap" type="" overloaded="no"> | |
781d2982 | 19817 | <autodoc>SetNormalBitmap(self, Bitmap bmp)</autodoc> |
f32fc4bc RD |
19818 | <paramlist> |
19819 | <param name="bmp" type="Bitmap" default=""/> | |
19820 | </paramlist> | |
19821 | </method> | |
19822 | <method name="SetDisabledBitmap" type="" overloaded="no"> | |
781d2982 | 19823 | <autodoc>SetDisabledBitmap(self, Bitmap bmp)</autodoc> |
f32fc4bc RD |
19824 | <paramlist> |
19825 | <param name="bmp" type="Bitmap" default=""/> | |
19826 | </paramlist> | |
19827 | </method> | |
19828 | <method name="SetLabel" type="" overloaded="no"> | |
781d2982 | 19829 | <autodoc>SetLabel(self, String label)</autodoc> |
f32fc4bc RD |
19830 | <paramlist> |
19831 | <param name="label" type="String" default=""/> | |
19832 | </paramlist> | |
19833 | </method> | |
19834 | <method name="Detach" type="" overloaded="no"> | |
781d2982 | 19835 | <autodoc>Detach(self)</autodoc> |
f32fc4bc RD |
19836 | </method> |
19837 | <method name="Attach" type="" overloaded="no"> | |
781d2982 | 19838 | <autodoc>Attach(self, ToolBarBase tbar)</autodoc> |
f32fc4bc RD |
19839 | <paramlist> |
19840 | <param name="tbar" type="wxToolBarBase" default=""/> | |
19841 | </paramlist> | |
19842 | </method> | |
19843 | <method name="GetClientData" type="PyObject" overloaded="no"> | |
781d2982 | 19844 | <autodoc>GetClientData(self) -> PyObject</autodoc> |
f32fc4bc RD |
19845 | </method> |
19846 | <method name="SetClientData" type="" overloaded="no"> | |
781d2982 | 19847 | <autodoc>SetClientData(self, PyObject clientData)</autodoc> |
f32fc4bc RD |
19848 | <paramlist> |
19849 | <param name="clientData" type="PyObject" default=""/> | |
19850 | </paramlist> | |
19851 | </method> | |
19852 | </class> | |
781d2982 | 19853 | <class name="ToolBarBase" oldname="wxToolBarBase" module="_controls"> |
f32fc4bc RD |
19854 | <baseclass name="Control"/> |
19855 | <method name="DoAddTool" type="ToolBarToolBase" overloaded="no"> | |
781d2982 | 19856 | <autodoc>DoAddTool(self, int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap, |
f32fc4bc RD |
19857 | int kind=ITEM_NORMAL, String shortHelp=EmptyString, |
19858 | String longHelp=EmptyString, | |
19859 | PyObject clientData=None) -> ToolBarToolBase</autodoc> | |
19860 | <paramlist> | |
19861 | <param name="id" type="int" default=""/> | |
19862 | <param name="label" type="String" default=""/> | |
19863 | <param name="bitmap" type="Bitmap" default=""/> | |
19864 | <param name="bmpDisabled" type="Bitmap" default="wxNullBitmap"/> | |
19865 | <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/> | |
19866 | <param name="shortHelp" type="String" default="wxPyEmptyString"/> | |
19867 | <param name="longHelp" type="String" default="wxPyEmptyString"/> | |
19868 | <param name="clientData" type="PyObject" default="NULL"/> | |
19869 | </paramlist> | |
19870 | </method> | |
19871 | <method name="DoInsertTool" type="ToolBarToolBase" overloaded="no"> | |
781d2982 | 19872 | <autodoc>DoInsertTool(self, size_t pos, int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap, |
f32fc4bc RD |
19873 | int kind=ITEM_NORMAL, |
19874 | String shortHelp=EmptyString, String longHelp=EmptyString, | |
19875 | PyObject clientData=None) -> ToolBarToolBase</autodoc> | |
19876 | <paramlist> | |
19877 | <param name="pos" type="size_t" default=""/> | |
19878 | <param name="id" type="int" default=""/> | |
19879 | <param name="label" type="String" default=""/> | |
19880 | <param name="bitmap" type="Bitmap" default=""/> | |
19881 | <param name="bmpDisabled" type="Bitmap" default="wxNullBitmap"/> | |
19882 | <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/> | |
19883 | <param name="shortHelp" type="String" default="wxPyEmptyString"/> | |
19884 | <param name="longHelp" type="String" default="wxPyEmptyString"/> | |
19885 | <param name="clientData" type="PyObject" default="NULL"/> | |
19886 | </paramlist> | |
19887 | </method> | |
19888 | <method name="AddToolItem" type="ToolBarToolBase" overloaded="no"> | |
781d2982 | 19889 | <autodoc>AddToolItem(self, ToolBarToolBase tool) -> ToolBarToolBase</autodoc> |
f32fc4bc RD |
19890 | <paramlist> |
19891 | <param name="tool" type="ToolBarToolBase" default=""/> | |
19892 | </paramlist> | |
19893 | </method> | |
19894 | <method name="InsertToolItem" type="ToolBarToolBase" overloaded="no"> | |
781d2982 | 19895 | <autodoc>InsertToolItem(self, size_t pos, ToolBarToolBase tool) -> ToolBarToolBase</autodoc> |
f32fc4bc RD |
19896 | <paramlist> |
19897 | <param name="pos" type="size_t" default=""/> | |
19898 | <param name="tool" type="ToolBarToolBase" default=""/> | |
19899 | </paramlist> | |
19900 | </method> | |
19901 | <method name="AddControl" type="ToolBarToolBase" overloaded="no"> | |
781d2982 | 19902 | <autodoc>AddControl(self, Control control) -> ToolBarToolBase</autodoc> |
f32fc4bc RD |
19903 | <paramlist> |
19904 | <param name="control" type="Control" default=""/> | |
19905 | </paramlist> | |
19906 | </method> | |
19907 | <method name="InsertControl" type="ToolBarToolBase" overloaded="no"> | |
781d2982 | 19908 | <autodoc>InsertControl(self, size_t pos, Control control) -> ToolBarToolBase</autodoc> |
f32fc4bc RD |
19909 | <paramlist> |
19910 | <param name="pos" type="size_t" default=""/> | |
19911 | <param name="control" type="Control" default=""/> | |
19912 | </paramlist> | |
19913 | </method> | |
19914 | <method name="FindControl" type="Control" overloaded="no"> | |
781d2982 | 19915 | <autodoc>FindControl(self, int id) -> Control</autodoc> |
f32fc4bc RD |
19916 | <paramlist> |
19917 | <param name="id" type="int" default=""/> | |
19918 | </paramlist> | |
19919 | </method> | |
19920 | <method name="AddSeparator" type="ToolBarToolBase" overloaded="no"> | |
781d2982 | 19921 | <autodoc>AddSeparator(self) -> ToolBarToolBase</autodoc> |
f32fc4bc RD |
19922 | </method> |
19923 | <method name="InsertSeparator" type="ToolBarToolBase" overloaded="no"> | |
781d2982 | 19924 | <autodoc>InsertSeparator(self, size_t pos) -> ToolBarToolBase</autodoc> |
f32fc4bc RD |
19925 | <paramlist> |
19926 | <param name="pos" type="size_t" default=""/> | |
19927 | </paramlist> | |
19928 | </method> | |
19929 | <method name="RemoveTool" type="ToolBarToolBase" overloaded="no"> | |
781d2982 | 19930 | <autodoc>RemoveTool(self, int id) -> ToolBarToolBase</autodoc> |
f32fc4bc RD |
19931 | <paramlist> |
19932 | <param name="id" type="int" default=""/> | |
19933 | </paramlist> | |
19934 | </method> | |
19935 | <method name="DeleteToolByPos" type="bool" overloaded="no"> | |
781d2982 | 19936 | <autodoc>DeleteToolByPos(self, size_t pos) -> bool</autodoc> |
f32fc4bc RD |
19937 | <paramlist> |
19938 | <param name="pos" type="size_t" default=""/> | |
19939 | </paramlist> | |
19940 | </method> | |
19941 | <method name="DeleteTool" type="bool" overloaded="no"> | |
781d2982 | 19942 | <autodoc>DeleteTool(self, int id) -> bool</autodoc> |
f32fc4bc RD |
19943 | <paramlist> |
19944 | <param name="id" type="int" default=""/> | |
19945 | </paramlist> | |
19946 | </method> | |
19947 | <method name="ClearTools" type="" overloaded="no"> | |
781d2982 | 19948 | <autodoc>ClearTools(self)</autodoc> |
f32fc4bc RD |
19949 | </method> |
19950 | <method name="Realize" type="bool" overloaded="no"> | |
781d2982 | 19951 | <autodoc>Realize(self) -> bool</autodoc> |
f32fc4bc RD |
19952 | </method> |
19953 | <method name="EnableTool" type="" overloaded="no"> | |
781d2982 | 19954 | <autodoc>EnableTool(self, int id, bool enable)</autodoc> |
f32fc4bc RD |
19955 | <paramlist> |
19956 | <param name="id" type="int" default=""/> | |
19957 | <param name="enable" type="bool" default=""/> | |
19958 | </paramlist> | |
19959 | </method> | |
19960 | <method name="ToggleTool" type="" overloaded="no"> | |
781d2982 | 19961 | <autodoc>ToggleTool(self, int id, bool toggle)</autodoc> |
f32fc4bc RD |
19962 | <paramlist> |
19963 | <param name="id" type="int" default=""/> | |
19964 | <param name="toggle" type="bool" default=""/> | |
19965 | </paramlist> | |
19966 | </method> | |
19967 | <method name="SetToggle" type="" overloaded="no"> | |
781d2982 | 19968 | <autodoc>SetToggle(self, int id, bool toggle)</autodoc> |
f32fc4bc RD |
19969 | <paramlist> |
19970 | <param name="id" type="int" default=""/> | |
19971 | <param name="toggle" type="bool" default=""/> | |
19972 | </paramlist> | |
19973 | </method> | |
19974 | <method name="GetToolClientData" type="PyObject" overloaded="no"> | |
781d2982 | 19975 | <autodoc>GetToolClientData(self, int id) -> PyObject</autodoc> |
f32fc4bc RD |
19976 | <paramlist> |
19977 | <param name="id" type="int" default=""/> | |
19978 | </paramlist> | |
19979 | </method> | |
19980 | <method name="SetToolClientData" type="" overloaded="no"> | |
781d2982 | 19981 | <autodoc>SetToolClientData(self, int id, PyObject clientData)</autodoc> |
f32fc4bc RD |
19982 | <paramlist> |
19983 | <param name="id" type="int" default=""/> | |
19984 | <param name="clientData" type="PyObject" default=""/> | |
19985 | </paramlist> | |
19986 | </method> | |
19987 | <method name="GetToolPos" type="int" overloaded="no"> | |
781d2982 | 19988 | <autodoc>GetToolPos(self, int id) -> int</autodoc> |
f32fc4bc RD |
19989 | <paramlist> |
19990 | <param name="id" type="int" default=""/> | |
19991 | </paramlist> | |
19992 | </method> | |
19993 | <method name="GetToolState" type="bool" overloaded="no"> | |
781d2982 | 19994 | <autodoc>GetToolState(self, int id) -> bool</autodoc> |
f32fc4bc RD |
19995 | <paramlist> |
19996 | <param name="id" type="int" default=""/> | |
19997 | </paramlist> | |
19998 | </method> | |
19999 | <method name="GetToolEnabled" type="bool" overloaded="no"> | |
781d2982 | 20000 | <autodoc>GetToolEnabled(self, int id) -> bool</autodoc> |
f32fc4bc RD |
20001 | <paramlist> |
20002 | <param name="id" type="int" default=""/> | |
20003 | </paramlist> | |
20004 | </method> | |
20005 | <method name="SetToolShortHelp" type="" overloaded="no"> | |
781d2982 | 20006 | <autodoc>SetToolShortHelp(self, int id, String helpString)</autodoc> |
f32fc4bc RD |
20007 | <paramlist> |
20008 | <param name="id" type="int" default=""/> | |
20009 | <param name="helpString" type="String" default=""/> | |
20010 | </paramlist> | |
20011 | </method> | |
20012 | <method name="GetToolShortHelp" type="String" overloaded="no"> | |
781d2982 | 20013 | <autodoc>GetToolShortHelp(self, int id) -> String</autodoc> |
f32fc4bc RD |
20014 | <paramlist> |
20015 | <param name="id" type="int" default=""/> | |
20016 | </paramlist> | |
20017 | </method> | |
20018 | <method name="SetToolLongHelp" type="" overloaded="no"> | |
781d2982 | 20019 | <autodoc>SetToolLongHelp(self, int id, String helpString)</autodoc> |
f32fc4bc RD |
20020 | <paramlist> |
20021 | <param name="id" type="int" default=""/> | |
20022 | <param name="helpString" type="String" default=""/> | |
20023 | </paramlist> | |
20024 | </method> | |
20025 | <method name="GetToolLongHelp" type="String" overloaded="no"> | |
781d2982 | 20026 | <autodoc>GetToolLongHelp(self, int id) -> String</autodoc> |
f32fc4bc RD |
20027 | <paramlist> |
20028 | <param name="id" type="int" default=""/> | |
20029 | </paramlist> | |
20030 | </method> | |
20031 | <method name="SetMarginsXY" type="" overloaded="no"> | |
781d2982 | 20032 | <autodoc>SetMarginsXY(self, int x, int y)</autodoc> |
f32fc4bc RD |
20033 | <paramlist> |
20034 | <param name="x" type="int" default=""/> | |
20035 | <param name="y" type="int" default=""/> | |
20036 | </paramlist> | |
20037 | </method> | |
20038 | <method name="SetMargins" type="" overloaded="no"> | |
781d2982 | 20039 | <autodoc>SetMargins(self, Size size)</autodoc> |
f32fc4bc RD |
20040 | <paramlist> |
20041 | <param name="size" type="Size" default=""/> | |
20042 | </paramlist> | |
20043 | </method> | |
20044 | <method name="SetToolPacking" type="" overloaded="no"> | |
781d2982 | 20045 | <autodoc>SetToolPacking(self, int packing)</autodoc> |
f32fc4bc RD |
20046 | <paramlist> |
20047 | <param name="packing" type="int" default=""/> | |
20048 | </paramlist> | |
20049 | </method> | |
20050 | <method name="SetToolSeparation" type="" overloaded="no"> | |
781d2982 | 20051 | <autodoc>SetToolSeparation(self, int separation)</autodoc> |
f32fc4bc RD |
20052 | <paramlist> |
20053 | <param name="separation" type="int" default=""/> | |
20054 | </paramlist> | |
20055 | </method> | |
20056 | <method name="GetToolMargins" type="Size" overloaded="no"> | |
781d2982 | 20057 | <autodoc>GetToolMargins(self) -> Size</autodoc> |
f32fc4bc RD |
20058 | </method> |
20059 | <method name="GetMargins" type="Size" overloaded="no"> | |
781d2982 | 20060 | <autodoc>GetMargins(self) -> Size</autodoc> |
f32fc4bc RD |
20061 | </method> |
20062 | <method name="GetToolPacking" type="int" overloaded="no"> | |
781d2982 | 20063 | <autodoc>GetToolPacking(self) -> int</autodoc> |
f32fc4bc RD |
20064 | </method> |
20065 | <method name="GetToolSeparation" type="int" overloaded="no"> | |
781d2982 | 20066 | <autodoc>GetToolSeparation(self) -> int</autodoc> |
f32fc4bc RD |
20067 | </method> |
20068 | <method name="SetRows" type="" overloaded="no"> | |
781d2982 | 20069 | <autodoc>SetRows(self, int nRows)</autodoc> |
f32fc4bc RD |
20070 | <paramlist> |
20071 | <param name="nRows" type="int" default=""/> | |
20072 | </paramlist> | |
20073 | </method> | |
20074 | <method name="SetMaxRowsCols" type="" overloaded="no"> | |
781d2982 | 20075 | <autodoc>SetMaxRowsCols(self, int rows, int cols)</autodoc> |
f32fc4bc RD |
20076 | <paramlist> |
20077 | <param name="rows" type="int" default=""/> | |
20078 | <param name="cols" type="int" default=""/> | |
20079 | </paramlist> | |
20080 | </method> | |
20081 | <method name="GetMaxRows" type="int" overloaded="no"> | |
781d2982 | 20082 | <autodoc>GetMaxRows(self) -> int</autodoc> |
f32fc4bc RD |
20083 | </method> |
20084 | <method name="GetMaxCols" type="int" overloaded="no"> | |
781d2982 | 20085 | <autodoc>GetMaxCols(self) -> int</autodoc> |
f32fc4bc RD |
20086 | </method> |
20087 | <method name="SetToolBitmapSize" type="" overloaded="no"> | |
781d2982 | 20088 | <autodoc>SetToolBitmapSize(self, Size size)</autodoc> |
f32fc4bc RD |
20089 | <paramlist> |
20090 | <param name="size" type="Size" default=""/> | |
20091 | </paramlist> | |
20092 | </method> | |
20093 | <method name="GetToolBitmapSize" type="Size" overloaded="no"> | |
781d2982 | 20094 | <autodoc>GetToolBitmapSize(self) -> Size</autodoc> |
f32fc4bc RD |
20095 | </method> |
20096 | <method name="GetToolSize" type="Size" overloaded="no"> | |
781d2982 | 20097 | <autodoc>GetToolSize(self) -> Size</autodoc> |
f32fc4bc RD |
20098 | </method> |
20099 | <method name="FindToolForPosition" type="ToolBarToolBase" overloaded="no"> | |
781d2982 | 20100 | <autodoc>FindToolForPosition(self, int x, int y) -> ToolBarToolBase</autodoc> |
f32fc4bc RD |
20101 | <paramlist> |
20102 | <param name="x" type="int" default=""/> | |
20103 | <param name="y" type="int" default=""/> | |
20104 | </paramlist> | |
20105 | </method> | |
20106 | <method name="FindById" type="ToolBarToolBase" overloaded="no"> | |
781d2982 | 20107 | <autodoc>FindById(self, int toolid) -> ToolBarToolBase</autodoc> |
f32fc4bc RD |
20108 | <paramlist> |
20109 | <param name="toolid" type="int" default=""/> | |
20110 | </paramlist> | |
20111 | </method> | |
20112 | <method name="IsVertical" type="bool" overloaded="no"> | |
781d2982 | 20113 | <autodoc>IsVertical(self) -> bool</autodoc> |
f32fc4bc RD |
20114 | </method> |
20115 | </class> | |
781d2982 | 20116 | <class name="ToolBar" oldname="wxToolBar" module="_controls"> |
f32fc4bc RD |
20117 | <baseclass name="ToolBarBase"/> |
20118 | <constructor name="ToolBar" overloaded="no"> | |
781d2982 RD |
20119 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
20120 | Size size=DefaultSize, long style=wxNO_BORDER|wxTB_HORIZONTAL, | |
f32fc4bc RD |
20121 | String name=wxPyToolBarNameStr) -> ToolBar</autodoc> |
20122 | <paramlist> | |
20123 | <param name="parent" type="Window" default=""/> | |
781d2982 | 20124 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
20125 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
20126 | <param name="size" type="Size" default="wxDefaultSize"/> | |
20127 | <param name="style" type="long" default="wxNO_BORDER|wxTB_HORIZONTAL"/> | |
20128 | <param name="name" type="String" default="wxPyToolBarNameStr"/> | |
20129 | </paramlist> | |
20130 | </constructor> | |
20131 | <constructor name="PreToolBar" overloaded="no"> | |
20132 | <autodoc>PreToolBar() -> ToolBar</autodoc> | |
20133 | </constructor> | |
20134 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
20135 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
20136 | Size size=DefaultSize, long style=wxNO_BORDER|wxTB_HORIZONTAL, | |
f32fc4bc RD |
20137 | String name=wxPyToolBarNameStr) -> bool</autodoc> |
20138 | <paramlist> | |
20139 | <param name="parent" type="Window" default=""/> | |
781d2982 | 20140 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
20141 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
20142 | <param name="size" type="Size" default="wxDefaultSize"/> | |
20143 | <param name="style" type="long" default="wxNO_BORDER|wxTB_HORIZONTAL"/> | |
20144 | <param name="name" type="String" default="wxPyToolBarNameStr"/> | |
20145 | </paramlist> | |
20146 | </method> | |
20147 | <method name="FindToolForPosition" type="ToolBarToolBase" overloaded="no"> | |
781d2982 | 20148 | <autodoc>FindToolForPosition(self, int x, int y) -> ToolBarToolBase</autodoc> |
f32fc4bc RD |
20149 | <paramlist> |
20150 | <param name="x" type="int" default=""/> | |
20151 | <param name="y" type="int" default=""/> | |
20152 | </paramlist> | |
20153 | </method> | |
781d2982 RD |
20154 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
20155 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
20156 | <docstring>Get the default attributes for this class. This is useful if you want | |
20157 | to use the same font or colour in your own control as in a standard | |
20158 | control -- which is a much better idea than hard coding specific | |
20159 | colours or fonts which might look completely out of place on the | |
20160 | user's system, especially if it uses themes. | |
20161 | ||
20162 | The variant parameter is only relevant under Mac currently and is | |
20163 | ignore under other platforms. Under Mac, it will change the size of | |
20164 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
20165 | this.</docstring> | |
20166 | <paramlist> | |
20167 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
20168 | </paramlist> | |
20169 | </staticmethod> | |
f32fc4bc RD |
20170 | </class> |
20171 | <pythoncode> | |
20172 | #--------------------------------------------------------------------------- | |
20173 | </pythoncode> | |
20174 | <pythoncode> | |
20175 | #--------------------------------------------------------------------------- | |
20176 | </pythoncode> | |
781d2982 | 20177 | <class name="ListItemAttr" oldname="wxListItemAttr" module="_controls"> |
f32fc4bc | 20178 | <constructor name="ListItemAttr" overloaded="no"> |
781d2982 | 20179 | <autodoc>__init__(self, Colour colText=wxNullColour, Colour colBack=wxNullColour, |
f32fc4bc RD |
20180 | Font font=wxNullFont) -> ListItemAttr</autodoc> |
20181 | <paramlist> | |
20182 | <param name="colText" type="Colour" default="wxNullColour"/> | |
20183 | <param name="colBack" type="Colour" default="wxNullColour"/> | |
20184 | <param name="font" type="Font" default="wxNullFont"/> | |
20185 | </paramlist> | |
20186 | </constructor> | |
20187 | <method name="SetTextColour" type="" overloaded="no"> | |
781d2982 | 20188 | <autodoc>SetTextColour(self, Colour colText)</autodoc> |
f32fc4bc RD |
20189 | <paramlist> |
20190 | <param name="colText" type="Colour" default=""/> | |
20191 | </paramlist> | |
20192 | </method> | |
20193 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
781d2982 | 20194 | <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc> |
f32fc4bc RD |
20195 | <paramlist> |
20196 | <param name="colBack" type="Colour" default=""/> | |
20197 | </paramlist> | |
20198 | </method> | |
20199 | <method name="SetFont" type="" overloaded="no"> | |
781d2982 | 20200 | <autodoc>SetFont(self, Font font)</autodoc> |
f32fc4bc RD |
20201 | <paramlist> |
20202 | <param name="font" type="Font" default=""/> | |
20203 | </paramlist> | |
20204 | </method> | |
20205 | <method name="HasTextColour" type="bool" overloaded="no"> | |
781d2982 | 20206 | <autodoc>HasTextColour(self) -> bool</autodoc> |
f32fc4bc RD |
20207 | </method> |
20208 | <method name="HasBackgroundColour" type="bool" overloaded="no"> | |
781d2982 | 20209 | <autodoc>HasBackgroundColour(self) -> bool</autodoc> |
f32fc4bc RD |
20210 | </method> |
20211 | <method name="HasFont" type="bool" overloaded="no"> | |
781d2982 | 20212 | <autodoc>HasFont(self) -> bool</autodoc> |
f32fc4bc RD |
20213 | </method> |
20214 | <method name="GetTextColour" type="Colour" overloaded="no"> | |
781d2982 | 20215 | <autodoc>GetTextColour(self) -> Colour</autodoc> |
f32fc4bc RD |
20216 | </method> |
20217 | <method name="GetBackgroundColour" type="Colour" overloaded="no"> | |
781d2982 | 20218 | <autodoc>GetBackgroundColour(self) -> Colour</autodoc> |
f32fc4bc RD |
20219 | </method> |
20220 | <method name="GetFont" type="Font" overloaded="no"> | |
781d2982 | 20221 | <autodoc>GetFont(self) -> Font</autodoc> |
f32fc4bc RD |
20222 | </method> |
20223 | <method name="Destroy" type="" overloaded="no"> | |
781d2982 | 20224 | <autodoc>Destroy(self)</autodoc> |
f32fc4bc RD |
20225 | </method> |
20226 | </class> | |
20227 | <pythoncode> | |
20228 | #--------------------------------------------------------------------------- | |
20229 | </pythoncode> | |
781d2982 | 20230 | <class name="ListItem" oldname="wxListItem" module="_controls"> |
f32fc4bc RD |
20231 | <baseclass name="Object"/> |
20232 | <constructor name="ListItem" overloaded="no"> | |
781d2982 | 20233 | <autodoc>__init__(self) -> ListItem</autodoc> |
f32fc4bc RD |
20234 | </constructor> |
20235 | <destructor name="~wxListItem" overloaded="no"> | |
781d2982 | 20236 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
20237 | </destructor> |
20238 | <method name="Clear" type="" overloaded="no"> | |
781d2982 | 20239 | <autodoc>Clear(self)</autodoc> |
f32fc4bc RD |
20240 | </method> |
20241 | <method name="ClearAttributes" type="" overloaded="no"> | |
781d2982 | 20242 | <autodoc>ClearAttributes(self)</autodoc> |
f32fc4bc RD |
20243 | </method> |
20244 | <method name="SetMask" type="" overloaded="no"> | |
781d2982 | 20245 | <autodoc>SetMask(self, long mask)</autodoc> |
f32fc4bc RD |
20246 | <paramlist> |
20247 | <param name="mask" type="long" default=""/> | |
20248 | </paramlist> | |
20249 | </method> | |
20250 | <method name="SetId" type="" overloaded="no"> | |
781d2982 | 20251 | <autodoc>SetId(self, long id)</autodoc> |
f32fc4bc RD |
20252 | <paramlist> |
20253 | <param name="id" type="long" default=""/> | |
20254 | </paramlist> | |
20255 | </method> | |
20256 | <method name="SetColumn" type="" overloaded="no"> | |
781d2982 | 20257 | <autodoc>SetColumn(self, int col)</autodoc> |
f32fc4bc RD |
20258 | <paramlist> |
20259 | <param name="col" type="int" default=""/> | |
20260 | </paramlist> | |
20261 | </method> | |
20262 | <method name="SetState" type="" overloaded="no"> | |
781d2982 | 20263 | <autodoc>SetState(self, long state)</autodoc> |
f32fc4bc RD |
20264 | <paramlist> |
20265 | <param name="state" type="long" default=""/> | |
20266 | </paramlist> | |
20267 | </method> | |
20268 | <method name="SetStateMask" type="" overloaded="no"> | |
781d2982 | 20269 | <autodoc>SetStateMask(self, long stateMask)</autodoc> |
f32fc4bc RD |
20270 | <paramlist> |
20271 | <param name="stateMask" type="long" default=""/> | |
20272 | </paramlist> | |
20273 | </method> | |
20274 | <method name="SetText" type="" overloaded="no"> | |
781d2982 | 20275 | <autodoc>SetText(self, String text)</autodoc> |
f32fc4bc RD |
20276 | <paramlist> |
20277 | <param name="text" type="String" default=""/> | |
20278 | </paramlist> | |
20279 | </method> | |
20280 | <method name="SetImage" type="" overloaded="no"> | |
781d2982 | 20281 | <autodoc>SetImage(self, int image)</autodoc> |
f32fc4bc RD |
20282 | <paramlist> |
20283 | <param name="image" type="int" default=""/> | |
20284 | </paramlist> | |
20285 | </method> | |
20286 | <method name="SetData" type="" overloaded="no"> | |
781d2982 | 20287 | <autodoc>SetData(self, long data)</autodoc> |
f32fc4bc RD |
20288 | <paramlist> |
20289 | <param name="data" type="long" default=""/> | |
20290 | </paramlist> | |
20291 | </method> | |
20292 | <method name="SetWidth" type="" overloaded="no"> | |
781d2982 | 20293 | <autodoc>SetWidth(self, int width)</autodoc> |
f32fc4bc RD |
20294 | <paramlist> |
20295 | <param name="width" type="int" default=""/> | |
20296 | </paramlist> | |
20297 | </method> | |
20298 | <method name="SetAlign" type="" overloaded="no"> | |
781d2982 | 20299 | <autodoc>SetAlign(self, int align)</autodoc> |
f32fc4bc RD |
20300 | <paramlist> |
20301 | <param name="align" type="wxListColumnFormat" default=""/> | |
20302 | </paramlist> | |
20303 | </method> | |
20304 | <method name="SetTextColour" type="" overloaded="no"> | |
781d2982 | 20305 | <autodoc>SetTextColour(self, Colour colText)</autodoc> |
f32fc4bc RD |
20306 | <paramlist> |
20307 | <param name="colText" type="Colour" default=""/> | |
20308 | </paramlist> | |
20309 | </method> | |
20310 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
781d2982 | 20311 | <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc> |
f32fc4bc RD |
20312 | <paramlist> |
20313 | <param name="colBack" type="Colour" default=""/> | |
20314 | </paramlist> | |
20315 | </method> | |
20316 | <method name="SetFont" type="" overloaded="no"> | |
781d2982 | 20317 | <autodoc>SetFont(self, Font font)</autodoc> |
f32fc4bc RD |
20318 | <paramlist> |
20319 | <param name="font" type="Font" default=""/> | |
20320 | </paramlist> | |
20321 | </method> | |
20322 | <method name="GetMask" type="long" overloaded="no"> | |
781d2982 | 20323 | <autodoc>GetMask(self) -> long</autodoc> |
f32fc4bc RD |
20324 | </method> |
20325 | <method name="GetId" type="long" overloaded="no"> | |
781d2982 | 20326 | <autodoc>GetId(self) -> long</autodoc> |
f32fc4bc RD |
20327 | </method> |
20328 | <method name="GetColumn" type="int" overloaded="no"> | |
781d2982 | 20329 | <autodoc>GetColumn(self) -> int</autodoc> |
f32fc4bc RD |
20330 | </method> |
20331 | <method name="GetState" type="long" overloaded="no"> | |
781d2982 | 20332 | <autodoc>GetState(self) -> long</autodoc> |
f32fc4bc RD |
20333 | </method> |
20334 | <method name="GetText" type="String" overloaded="no"> | |
781d2982 | 20335 | <autodoc>GetText(self) -> String</autodoc> |
f32fc4bc RD |
20336 | </method> |
20337 | <method name="GetImage" type="int" overloaded="no"> | |
781d2982 | 20338 | <autodoc>GetImage(self) -> int</autodoc> |
f32fc4bc RD |
20339 | </method> |
20340 | <method name="GetData" type="long" overloaded="no"> | |
781d2982 | 20341 | <autodoc>GetData(self) -> long</autodoc> |
f32fc4bc RD |
20342 | </method> |
20343 | <method name="GetWidth" type="int" overloaded="no"> | |
781d2982 | 20344 | <autodoc>GetWidth(self) -> int</autodoc> |
f32fc4bc RD |
20345 | </method> |
20346 | <method name="GetAlign" type="wxListColumnFormat" overloaded="no"> | |
781d2982 | 20347 | <autodoc>GetAlign(self) -> int</autodoc> |
f32fc4bc RD |
20348 | </method> |
20349 | <method name="GetAttributes" type="ListItemAttr" overloaded="no"> | |
781d2982 | 20350 | <autodoc>GetAttributes(self) -> ListItemAttr</autodoc> |
f32fc4bc RD |
20351 | </method> |
20352 | <method name="HasAttributes" type="bool" overloaded="no"> | |
781d2982 | 20353 | <autodoc>HasAttributes(self) -> bool</autodoc> |
f32fc4bc RD |
20354 | </method> |
20355 | <method name="GetTextColour" type="Colour" overloaded="no"> | |
781d2982 | 20356 | <autodoc>GetTextColour(self) -> Colour</autodoc> |
f32fc4bc RD |
20357 | </method> |
20358 | <method name="GetBackgroundColour" type="Colour" overloaded="no"> | |
781d2982 | 20359 | <autodoc>GetBackgroundColour(self) -> Colour</autodoc> |
f32fc4bc RD |
20360 | </method> |
20361 | <method name="GetFont" type="Font" overloaded="no"> | |
781d2982 | 20362 | <autodoc>GetFont(self) -> Font</autodoc> |
f32fc4bc RD |
20363 | </method> |
20364 | <property name="m_mask" type="long" readonly="no"/> | |
20365 | <property name="m_itemId" type="long" readonly="no"/> | |
20366 | <property name="m_col" type="int" readonly="no"/> | |
20367 | <property name="m_state" type="long" readonly="no"/> | |
20368 | <property name="m_stateMask" type="long" readonly="no"/> | |
20369 | <property name="m_text" type="String" readonly="no"/> | |
20370 | <property name="m_image" type="int" readonly="no"/> | |
20371 | <property name="m_data" type="long" readonly="no"/> | |
20372 | <property name="m_format" type="int" readonly="no"/> | |
20373 | <property name="m_width" type="int" readonly="no"/> | |
20374 | </class> | |
20375 | <pythoncode> | |
20376 | #--------------------------------------------------------------------------- | |
20377 | </pythoncode> | |
781d2982 | 20378 | <class name="ListEvent" oldname="wxListEvent" module="_controls"> |
f32fc4bc RD |
20379 | <baseclass name="NotifyEvent"/> |
20380 | <constructor name="ListEvent" overloaded="no"> | |
781d2982 | 20381 | <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> ListEvent</autodoc> |
f32fc4bc RD |
20382 | <paramlist> |
20383 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
20384 | <param name="id" type="int" default="0"/> | |
20385 | </paramlist> | |
20386 | </constructor> | |
20387 | <property name="m_code" type="int" readonly="no"/> | |
20388 | <property name="m_oldItemIndex" type="long" readonly="no"/> | |
20389 | <property name="m_itemIndex" type="long" readonly="no"/> | |
20390 | <property name="m_col" type="int" readonly="no"/> | |
20391 | <property name="m_pointDrag" type="Point" readonly="no"/> | |
20392 | <property name="m_item" type="ListItem" readonly="yes"/> | |
20393 | <method name="GetKeyCode" type="int" overloaded="no"> | |
781d2982 | 20394 | <autodoc>GetKeyCode(self) -> int</autodoc> |
f32fc4bc RD |
20395 | </method> |
20396 | <method name="GetIndex" type="long" overloaded="no"> | |
781d2982 | 20397 | <autodoc>GetIndex(self) -> long</autodoc> |
f32fc4bc RD |
20398 | </method> |
20399 | <method name="GetColumn" type="int" overloaded="no"> | |
781d2982 | 20400 | <autodoc>GetColumn(self) -> int</autodoc> |
f32fc4bc RD |
20401 | </method> |
20402 | <method name="GetPoint" type="Point" overloaded="no"> | |
781d2982 | 20403 | <autodoc>GetPoint(self) -> Point</autodoc> |
f32fc4bc RD |
20404 | </method> |
20405 | <method name="GetLabel" type="String" overloaded="no"> | |
781d2982 | 20406 | <autodoc>GetLabel(self) -> String</autodoc> |
f32fc4bc RD |
20407 | </method> |
20408 | <method name="GetText" type="String" overloaded="no"> | |
781d2982 | 20409 | <autodoc>GetText(self) -> String</autodoc> |
f32fc4bc RD |
20410 | </method> |
20411 | <method name="GetImage" type="int" overloaded="no"> | |
781d2982 | 20412 | <autodoc>GetImage(self) -> int</autodoc> |
f32fc4bc RD |
20413 | </method> |
20414 | <method name="GetData" type="long" overloaded="no"> | |
781d2982 | 20415 | <autodoc>GetData(self) -> long</autodoc> |
f32fc4bc RD |
20416 | </method> |
20417 | <method name="GetMask" type="long" overloaded="no"> | |
781d2982 | 20418 | <autodoc>GetMask(self) -> long</autodoc> |
f32fc4bc RD |
20419 | </method> |
20420 | <method name="GetItem" type="ListItem" overloaded="no"> | |
781d2982 | 20421 | <autodoc>GetItem(self) -> ListItem</autodoc> |
f32fc4bc RD |
20422 | </method> |
20423 | <method name="GetCacheFrom" type="long" overloaded="no"> | |
781d2982 | 20424 | <autodoc>GetCacheFrom(self) -> long</autodoc> |
f32fc4bc RD |
20425 | </method> |
20426 | <method name="GetCacheTo" type="long" overloaded="no"> | |
781d2982 | 20427 | <autodoc>GetCacheTo(self) -> long</autodoc> |
f32fc4bc RD |
20428 | </method> |
20429 | <method name="IsEditCancelled" type="bool" overloaded="no"> | |
781d2982 | 20430 | <autodoc>IsEditCancelled(self) -> bool</autodoc> |
f32fc4bc RD |
20431 | </method> |
20432 | <method name="SetEditCanceled" type="" overloaded="no"> | |
781d2982 | 20433 | <autodoc>SetEditCanceled(self, bool editCancelled)</autodoc> |
f32fc4bc RD |
20434 | <paramlist> |
20435 | <param name="editCancelled" type="bool" default=""/> | |
20436 | </paramlist> | |
20437 | </method> | |
20438 | </class> | |
20439 | <pythoncode> | |
20440 | ||
20441 | EVT_LIST_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_DRAG , 1) | |
20442 | EVT_LIST_BEGIN_RDRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_RDRAG , 1) | |
20443 | EVT_LIST_BEGIN_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT , 1) | |
20444 | EVT_LIST_END_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_LIST_END_LABEL_EDIT , 1) | |
20445 | EVT_LIST_DELETE_ITEM = wx.PyEventBinder(wxEVT_COMMAND_LIST_DELETE_ITEM , 1) | |
20446 | EVT_LIST_DELETE_ALL_ITEMS = wx.PyEventBinder(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS , 1) | |
20447 | EVT_LIST_GET_INFO = wx.PyEventBinder(wxEVT_COMMAND_LIST_GET_INFO , 1) | |
20448 | EVT_LIST_SET_INFO = wx.PyEventBinder(wxEVT_COMMAND_LIST_SET_INFO , 1) | |
20449 | EVT_LIST_ITEM_SELECTED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_SELECTED , 1) | |
20450 | EVT_LIST_ITEM_DESELECTED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_DESELECTED , 1) | |
20451 | EVT_LIST_KEY_DOWN = wx.PyEventBinder(wxEVT_COMMAND_LIST_KEY_DOWN , 1) | |
20452 | EVT_LIST_INSERT_ITEM = wx.PyEventBinder(wxEVT_COMMAND_LIST_INSERT_ITEM , 1) | |
20453 | EVT_LIST_COL_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_CLICK , 1) | |
20454 | EVT_LIST_ITEM_RIGHT_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK , 1) | |
20455 | EVT_LIST_ITEM_MIDDLE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 1) | |
20456 | EVT_LIST_ITEM_ACTIVATED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_ACTIVATED , 1) | |
20457 | EVT_LIST_CACHE_HINT = wx.PyEventBinder(wxEVT_COMMAND_LIST_CACHE_HINT , 1) | |
20458 | EVT_LIST_COL_RIGHT_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK , 1) | |
20459 | EVT_LIST_COL_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG , 1) | |
20460 | EVT_LIST_COL_DRAGGING = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_DRAGGING , 1) | |
20461 | EVT_LIST_COL_END_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_END_DRAG , 1) | |
20462 | EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED , 1) | |
20463 | </pythoncode> | |
20464 | <pythoncode> | |
20465 | #--------------------------------------------------------------------------- | |
20466 | </pythoncode> | |
781d2982 | 20467 | <class name="ListCtrl" oldname="wxPyListCtrl" module="_controls"> |
f32fc4bc RD |
20468 | <baseclass name="Control"/> |
20469 | <constructor name="wxPyListCtrl" overloaded="no"> | |
781d2982 | 20470 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
f32fc4bc RD |
20471 | Size size=DefaultSize, long style=LC_ICON, |
20472 | Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> ListCtrl</autodoc> | |
20473 | <paramlist> | |
20474 | <param name="parent" type="Window" default=""/> | |
20475 | <param name="id" type="int" default="-1"/> | |
20476 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
20477 | <param name="size" type="Size" default="wxDefaultSize"/> | |
20478 | <param name="style" type="long" default="wxLC_ICON"/> | |
20479 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
20480 | <param name="name" type="String" default="wxPyListCtrlNameStr"/> | |
20481 | </paramlist> | |
20482 | </constructor> | |
20483 | <constructor name="PreListCtrl" overloaded="no"> | |
20484 | <autodoc>PreListCtrl() -> ListCtrl</autodoc> | |
20485 | </constructor> | |
20486 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 20487 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
f32fc4bc RD |
20488 | Size size=DefaultSize, long style=LC_ICON, |
20489 | Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> bool</autodoc> | |
c2dda882 | 20490 | <docstring>Do the 2nd phase and create the GUI control.</docstring> |
f32fc4bc RD |
20491 | <paramlist> |
20492 | <param name="parent" type="Window" default=""/> | |
20493 | <param name="id" type="int" default="-1"/> | |
20494 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
20495 | <param name="size" type="Size" default="wxDefaultSize"/> | |
20496 | <param name="style" type="long" default="wxLC_ICON"/> | |
20497 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
20498 | <param name="name" type="String" default="wxPyListCtrlNameStr"/> | |
20499 | </paramlist> | |
20500 | </method> | |
20501 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 20502 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
20503 | <paramlist> |
20504 | <param name="self" type="PyObject" default=""/> | |
20505 | <param name="_class" type="PyObject" default=""/> | |
20506 | </paramlist> | |
20507 | </method> | |
20508 | <method name="SetForegroundColour" type="bool" overloaded="no"> | |
781d2982 | 20509 | <autodoc>SetForegroundColour(self, Colour col) -> bool</autodoc> |
f32fc4bc RD |
20510 | <paramlist> |
20511 | <param name="col" type="Colour" default=""/> | |
20512 | </paramlist> | |
20513 | </method> | |
20514 | <method name="SetBackgroundColour" type="bool" overloaded="no"> | |
781d2982 | 20515 | <autodoc>SetBackgroundColour(self, Colour col) -> bool</autodoc> |
f32fc4bc RD |
20516 | <paramlist> |
20517 | <param name="col" type="Colour" default=""/> | |
20518 | </paramlist> | |
20519 | </method> | |
20520 | <method name="GetColumn" type="ListItem" overloaded="no"> | |
781d2982 | 20521 | <autodoc>GetColumn(self, int col) -> ListItem</autodoc> |
f32fc4bc RD |
20522 | <paramlist> |
20523 | <param name="col" type="int" default=""/> | |
20524 | </paramlist> | |
20525 | </method> | |
20526 | <method name="SetColumn" type="bool" overloaded="no"> | |
781d2982 | 20527 | <autodoc>SetColumn(self, int col, ListItem item) -> bool</autodoc> |
f32fc4bc RD |
20528 | <paramlist> |
20529 | <param name="col" type="int" default=""/> | |
20530 | <param name="item" type="ListItem" default=""/> | |
20531 | </paramlist> | |
20532 | </method> | |
20533 | <method name="GetColumnWidth" type="int" overloaded="no"> | |
781d2982 | 20534 | <autodoc>GetColumnWidth(self, int col) -> int</autodoc> |
f32fc4bc RD |
20535 | <paramlist> |
20536 | <param name="col" type="int" default=""/> | |
20537 | </paramlist> | |
20538 | </method> | |
20539 | <method name="SetColumnWidth" type="bool" overloaded="no"> | |
781d2982 | 20540 | <autodoc>SetColumnWidth(self, int col, int width) -> bool</autodoc> |
f32fc4bc RD |
20541 | <paramlist> |
20542 | <param name="col" type="int" default=""/> | |
20543 | <param name="width" type="int" default=""/> | |
20544 | </paramlist> | |
20545 | </method> | |
20546 | <method name="GetCountPerPage" type="int" overloaded="no"> | |
781d2982 | 20547 | <autodoc>GetCountPerPage(self) -> int</autodoc> |
f32fc4bc RD |
20548 | </method> |
20549 | <method name="GetViewRect" type="Rect" overloaded="no"> | |
781d2982 | 20550 | <autodoc>GetViewRect(self) -> Rect</autodoc> |
f32fc4bc RD |
20551 | </method> |
20552 | <method name="GetItem" type="ListItem" overloaded="no"> | |
781d2982 | 20553 | <autodoc>GetItem(self, long itemId, int col=0) -> ListItem</autodoc> |
f32fc4bc RD |
20554 | <paramlist> |
20555 | <param name="itemId" type="long" default=""/> | |
20556 | <param name="col" type="int" default="0"/> | |
20557 | </paramlist> | |
20558 | </method> | |
20559 | <method name="SetItem" type="bool" overloaded="no"> | |
781d2982 | 20560 | <autodoc>SetItem(self, ListItem info) -> bool</autodoc> |
f32fc4bc RD |
20561 | <paramlist> |
20562 | <param name="info" type="ListItem" default=""/> | |
20563 | </paramlist> | |
20564 | </method> | |
20565 | <method name="SetStringItem" type="long" overloaded="no"> | |
781d2982 | 20566 | <autodoc>SetStringItem(self, long index, int col, String label, int imageId=-1) -> long</autodoc> |
f32fc4bc RD |
20567 | <paramlist> |
20568 | <param name="index" type="long" default=""/> | |
20569 | <param name="col" type="int" default=""/> | |
20570 | <param name="label" type="String" default=""/> | |
20571 | <param name="imageId" type="int" default="-1"/> | |
20572 | </paramlist> | |
20573 | </method> | |
20574 | <method name="GetItemState" type="int" overloaded="no"> | |
781d2982 | 20575 | <autodoc>GetItemState(self, long item, long stateMask) -> int</autodoc> |
f32fc4bc RD |
20576 | <paramlist> |
20577 | <param name="item" type="long" default=""/> | |
20578 | <param name="stateMask" type="long" default=""/> | |
20579 | </paramlist> | |
20580 | </method> | |
20581 | <method name="SetItemState" type="bool" overloaded="no"> | |
781d2982 | 20582 | <autodoc>SetItemState(self, long item, long state, long stateMask) -> bool</autodoc> |
f32fc4bc RD |
20583 | <paramlist> |
20584 | <param name="item" type="long" default=""/> | |
20585 | <param name="state" type="long" default=""/> | |
20586 | <param name="stateMask" type="long" default=""/> | |
20587 | </paramlist> | |
20588 | </method> | |
20589 | <method name="SetItemImage" type="bool" overloaded="no"> | |
781d2982 | 20590 | <autodoc>SetItemImage(self, long item, int image, int selImage) -> bool</autodoc> |
f32fc4bc RD |
20591 | <paramlist> |
20592 | <param name="item" type="long" default=""/> | |
20593 | <param name="image" type="int" default=""/> | |
20594 | <param name="selImage" type="int" default=""/> | |
20595 | </paramlist> | |
20596 | </method> | |
20597 | <method name="GetItemText" type="String" overloaded="no"> | |
781d2982 | 20598 | <autodoc>GetItemText(self, long item) -> String</autodoc> |
f32fc4bc RD |
20599 | <paramlist> |
20600 | <param name="item" type="long" default=""/> | |
20601 | </paramlist> | |
20602 | </method> | |
20603 | <method name="SetItemText" type="" overloaded="no"> | |
781d2982 | 20604 | <autodoc>SetItemText(self, long item, String str)</autodoc> |
f32fc4bc RD |
20605 | <paramlist> |
20606 | <param name="item" type="long" default=""/> | |
20607 | <param name="str" type="String" default=""/> | |
20608 | </paramlist> | |
20609 | </method> | |
20610 | <method name="GetItemData" type="long" overloaded="no"> | |
781d2982 | 20611 | <autodoc>GetItemData(self, long item) -> long</autodoc> |
f32fc4bc RD |
20612 | <paramlist> |
20613 | <param name="item" type="long" default=""/> | |
20614 | </paramlist> | |
20615 | </method> | |
20616 | <method name="SetItemData" type="bool" overloaded="no"> | |
781d2982 | 20617 | <autodoc>SetItemData(self, long item, long data) -> bool</autodoc> |
f32fc4bc RD |
20618 | <paramlist> |
20619 | <param name="item" type="long" default=""/> | |
20620 | <param name="data" type="long" default=""/> | |
20621 | </paramlist> | |
20622 | </method> | |
20623 | <method name="GetItemPosition" type="Point" overloaded="no"> | |
781d2982 | 20624 | <autodoc>GetItemPosition(self, long item) -> Point</autodoc> |
f32fc4bc RD |
20625 | <paramlist> |
20626 | <param name="item" type="long" default=""/> | |
20627 | </paramlist> | |
20628 | </method> | |
20629 | <method name="GetItemRect" type="Rect" overloaded="no"> | |
781d2982 | 20630 | <autodoc>GetItemRect(self, long item, int code=LIST_RECT_BOUNDS) -> Rect</autodoc> |
f32fc4bc RD |
20631 | <paramlist> |
20632 | <param name="item" type="long" default=""/> | |
20633 | <param name="code" type="int" default="wxLIST_RECT_BOUNDS"/> | |
20634 | </paramlist> | |
20635 | </method> | |
20636 | <method name="SetItemPosition" type="bool" overloaded="no"> | |
781d2982 | 20637 | <autodoc>SetItemPosition(self, long item, Point pos) -> bool</autodoc> |
f32fc4bc RD |
20638 | <paramlist> |
20639 | <param name="item" type="long" default=""/> | |
20640 | <param name="pos" type="Point" default=""/> | |
20641 | </paramlist> | |
20642 | </method> | |
20643 | <method name="GetItemCount" type="int" overloaded="no"> | |
781d2982 | 20644 | <autodoc>GetItemCount(self) -> int</autodoc> |
f32fc4bc RD |
20645 | </method> |
20646 | <method name="GetColumnCount" type="int" overloaded="no"> | |
781d2982 | 20647 | <autodoc>GetColumnCount(self) -> int</autodoc> |
f32fc4bc RD |
20648 | </method> |
20649 | <method name="GetItemSpacing" type="Size" overloaded="no"> | |
781d2982 | 20650 | <autodoc>GetItemSpacing(self) -> Size</autodoc> |
f32fc4bc RD |
20651 | </method> |
20652 | <method name="SetItemSpacing" type="" overloaded="no"> | |
781d2982 | 20653 | <autodoc>SetItemSpacing(self, int spacing, bool isSmall=False)</autodoc> |
f32fc4bc RD |
20654 | <paramlist> |
20655 | <param name="spacing" type="int" default=""/> | |
20656 | <param name="isSmall" type="bool" default="False"/> | |
20657 | </paramlist> | |
20658 | </method> | |
20659 | <method name="GetSelectedItemCount" type="int" overloaded="no"> | |
781d2982 | 20660 | <autodoc>GetSelectedItemCount(self) -> int</autodoc> |
f32fc4bc RD |
20661 | </method> |
20662 | <method name="GetTextColour" type="Colour" overloaded="no"> | |
781d2982 | 20663 | <autodoc>GetTextColour(self) -> Colour</autodoc> |
f32fc4bc RD |
20664 | </method> |
20665 | <method name="SetTextColour" type="" overloaded="no"> | |
781d2982 | 20666 | <autodoc>SetTextColour(self, Colour col)</autodoc> |
f32fc4bc RD |
20667 | <paramlist> |
20668 | <param name="col" type="Colour" default=""/> | |
20669 | </paramlist> | |
20670 | </method> | |
20671 | <method name="GetTopItem" type="long" overloaded="no"> | |
781d2982 | 20672 | <autodoc>GetTopItem(self) -> long</autodoc> |
f32fc4bc RD |
20673 | </method> |
20674 | <method name="SetSingleStyle" type="" overloaded="no"> | |
781d2982 | 20675 | <autodoc>SetSingleStyle(self, long style, bool add=True)</autodoc> |
f32fc4bc RD |
20676 | <paramlist> |
20677 | <param name="style" type="long" default=""/> | |
20678 | <param name="add" type="bool" default="True"/> | |
20679 | </paramlist> | |
20680 | </method> | |
20681 | <method name="SetWindowStyleFlag" type="" overloaded="no"> | |
781d2982 | 20682 | <autodoc>SetWindowStyleFlag(self, long style)</autodoc> |
c2dda882 | 20683 | <docstring>Sets the style of the window. Please note that some styles cannot be |
781d2982 RD |
20684 | changed after the window creation and that Refresh() might need to be |
20685 | called after changing the others for the change to take place | |
20686 | immediately.</docstring> | |
f32fc4bc RD |
20687 | <paramlist> |
20688 | <param name="style" type="long" default=""/> | |
20689 | </paramlist> | |
20690 | </method> | |
20691 | <method name="GetNextItem" type="long" overloaded="no"> | |
781d2982 | 20692 | <autodoc>GetNextItem(self, long item, int geometry=LIST_NEXT_ALL, int state=LIST_STATE_DONTCARE) -> long</autodoc> |
f32fc4bc RD |
20693 | <paramlist> |
20694 | <param name="item" type="long" default=""/> | |
20695 | <param name="geometry" type="int" default="wxLIST_NEXT_ALL"/> | |
20696 | <param name="state" type="int" default="wxLIST_STATE_DONTCARE"/> | |
20697 | </paramlist> | |
20698 | </method> | |
20699 | <method name="GetImageList" type="ImageList" overloaded="no"> | |
781d2982 | 20700 | <autodoc>GetImageList(self, int which) -> ImageList</autodoc> |
f32fc4bc RD |
20701 | <paramlist> |
20702 | <param name="which" type="int" default=""/> | |
20703 | </paramlist> | |
20704 | </method> | |
20705 | <method name="SetImageList" type="" overloaded="no"> | |
781d2982 | 20706 | <autodoc>SetImageList(self, ImageList imageList, int which)</autodoc> |
f32fc4bc RD |
20707 | <paramlist> |
20708 | <param name="imageList" type="ImageList" default=""/> | |
20709 | <param name="which" type="int" default=""/> | |
20710 | </paramlist> | |
20711 | </method> | |
20712 | <method name="AssignImageList" type="" overloaded="no"> | |
781d2982 | 20713 | <autodoc>AssignImageList(self, ImageList imageList, int which)</autodoc> |
f32fc4bc RD |
20714 | <paramlist> |
20715 | <param name="imageList" type="ImageList" default=""/> | |
20716 | <param name="which" type="int" default=""/> | |
20717 | </paramlist> | |
20718 | </method> | |
b39e211b | 20719 | <method name="InReportView" type="bool" overloaded="no"> |
781d2982 | 20720 | <autodoc>InReportView(self) -> bool</autodoc> |
b39e211b | 20721 | </method> |
f32fc4bc | 20722 | <method name="IsVirtual" type="bool" overloaded="no"> |
781d2982 | 20723 | <autodoc>IsVirtual(self) -> bool</autodoc> |
f32fc4bc RD |
20724 | </method> |
20725 | <method name="RefreshItem" type="" overloaded="no"> | |
781d2982 | 20726 | <autodoc>RefreshItem(self, long item)</autodoc> |
f32fc4bc RD |
20727 | <paramlist> |
20728 | <param name="item" type="long" default=""/> | |
20729 | </paramlist> | |
20730 | </method> | |
20731 | <method name="RefreshItems" type="" overloaded="no"> | |
781d2982 | 20732 | <autodoc>RefreshItems(self, long itemFrom, long itemTo)</autodoc> |
f32fc4bc RD |
20733 | <paramlist> |
20734 | <param name="itemFrom" type="long" default=""/> | |
20735 | <param name="itemTo" type="long" default=""/> | |
20736 | </paramlist> | |
20737 | </method> | |
20738 | <method name="Arrange" type="bool" overloaded="no"> | |
781d2982 | 20739 | <autodoc>Arrange(self, int flag=LIST_ALIGN_DEFAULT) -> bool</autodoc> |
f32fc4bc RD |
20740 | <paramlist> |
20741 | <param name="flag" type="int" default="wxLIST_ALIGN_DEFAULT"/> | |
20742 | </paramlist> | |
20743 | </method> | |
20744 | <method name="DeleteItem" type="bool" overloaded="no"> | |
781d2982 | 20745 | <autodoc>DeleteItem(self, long item) -> bool</autodoc> |
f32fc4bc RD |
20746 | <paramlist> |
20747 | <param name="item" type="long" default=""/> | |
20748 | </paramlist> | |
20749 | </method> | |
20750 | <method name="DeleteAllItems" type="bool" overloaded="no"> | |
781d2982 | 20751 | <autodoc>DeleteAllItems(self) -> bool</autodoc> |
f32fc4bc RD |
20752 | </method> |
20753 | <method name="DeleteColumn" type="bool" overloaded="no"> | |
781d2982 | 20754 | <autodoc>DeleteColumn(self, int col) -> bool</autodoc> |
f32fc4bc RD |
20755 | <paramlist> |
20756 | <param name="col" type="int" default=""/> | |
20757 | </paramlist> | |
20758 | </method> | |
20759 | <method name="DeleteAllColumns" type="bool" overloaded="no"> | |
781d2982 | 20760 | <autodoc>DeleteAllColumns(self) -> bool</autodoc> |
f32fc4bc RD |
20761 | </method> |
20762 | <method name="ClearAll" type="" overloaded="no"> | |
781d2982 | 20763 | <autodoc>ClearAll(self)</autodoc> |
f32fc4bc RD |
20764 | </method> |
20765 | <method name="EditLabel" type="" overloaded="no"> | |
781d2982 | 20766 | <autodoc>EditLabel(self, long item)</autodoc> |
f32fc4bc RD |
20767 | <paramlist> |
20768 | <param name="item" type="long" default=""/> | |
20769 | </paramlist> | |
20770 | </method> | |
20771 | <method name="EnsureVisible" type="bool" overloaded="no"> | |
781d2982 | 20772 | <autodoc>EnsureVisible(self, long item) -> bool</autodoc> |
f32fc4bc RD |
20773 | <paramlist> |
20774 | <param name="item" type="long" default=""/> | |
20775 | </paramlist> | |
20776 | </method> | |
20777 | <method name="FindItem" type="long" overloaded="no"> | |
781d2982 | 20778 | <autodoc>FindItem(self, long start, String str, bool partial=False) -> long</autodoc> |
f32fc4bc RD |
20779 | <paramlist> |
20780 | <param name="start" type="long" default=""/> | |
20781 | <param name="str" type="String" default=""/> | |
20782 | <param name="partial" type="bool" default="False"/> | |
20783 | </paramlist> | |
20784 | </method> | |
20785 | <method name="FindItemData" type="long" overloaded="no"> | |
781d2982 | 20786 | <autodoc>FindItemData(self, long start, long data) -> long</autodoc> |
f32fc4bc RD |
20787 | <paramlist> |
20788 | <param name="start" type="long" default=""/> | |
20789 | <param name="data" type="long" default=""/> | |
20790 | </paramlist> | |
20791 | </method> | |
20792 | <method name="FindItemAtPos" type="long" overloaded="no"> | |
781d2982 | 20793 | <autodoc>FindItemAtPos(self, long start, Point pt, int direction) -> long</autodoc> |
f32fc4bc RD |
20794 | <paramlist> |
20795 | <param name="start" type="long" default=""/> | |
20796 | <param name="pt" type="Point" default=""/> | |
20797 | <param name="direction" type="int" default=""/> | |
20798 | </paramlist> | |
20799 | </method> | |
20800 | <method name="HitTest" type="long" overloaded="no"> | |
20801 | <autodoc>HitTest(Point point) -> (item, where)</autodoc> | |
ce6878e6 RD |
20802 | <docstring>Determines which item (if any) is at the specified point, giving |
20803 | in the second return value (see wxLIST_HITTEST_... flags.)</docstring> | |
f32fc4bc RD |
20804 | <paramlist> |
20805 | <param name="point" type="Point" default=""/> | |
20806 | <param name="OUTPUT" type="int" default=""/> | |
20807 | </paramlist> | |
20808 | </method> | |
20809 | <method name="InsertItem" type="long" overloaded="no"> | |
781d2982 | 20810 | <autodoc>InsertItem(self, ListItem info) -> long</autodoc> |
f32fc4bc RD |
20811 | <paramlist> |
20812 | <param name="info" type="ListItem" default=""/> | |
20813 | </paramlist> | |
20814 | </method> | |
20815 | <method name="InsertStringItem" type="long" overloaded="no"> | |
781d2982 | 20816 | <autodoc>InsertStringItem(self, long index, String label) -> long</autodoc> |
f32fc4bc RD |
20817 | <paramlist> |
20818 | <param name="index" type="long" default=""/> | |
20819 | <param name="label" type="String" default=""/> | |
20820 | </paramlist> | |
20821 | </method> | |
20822 | <method name="InsertImageItem" type="long" overloaded="no"> | |
781d2982 | 20823 | <autodoc>InsertImageItem(self, long index, int imageIndex) -> long</autodoc> |
f32fc4bc RD |
20824 | <paramlist> |
20825 | <param name="index" type="long" default=""/> | |
20826 | <param name="imageIndex" type="int" default=""/> | |
20827 | </paramlist> | |
20828 | </method> | |
20829 | <method name="InsertImageStringItem" type="long" overloaded="no"> | |
781d2982 | 20830 | <autodoc>InsertImageStringItem(self, long index, String label, int imageIndex) -> long</autodoc> |
f32fc4bc RD |
20831 | <paramlist> |
20832 | <param name="index" type="long" default=""/> | |
20833 | <param name="label" type="String" default=""/> | |
20834 | <param name="imageIndex" type="int" default=""/> | |
20835 | </paramlist> | |
20836 | </method> | |
20837 | <method name="InsertColumnInfo" type="long" overloaded="no"> | |
781d2982 | 20838 | <autodoc>InsertColumnInfo(self, long col, ListItem info) -> long</autodoc> |
f32fc4bc RD |
20839 | <paramlist> |
20840 | <param name="col" type="long" default=""/> | |
20841 | <param name="info" type="ListItem" default=""/> | |
20842 | </paramlist> | |
20843 | </method> | |
20844 | <method name="InsertColumn" type="long" overloaded="no"> | |
781d2982 | 20845 | <autodoc>InsertColumn(self, long col, String heading, int format=LIST_FORMAT_LEFT, |
f32fc4bc RD |
20846 | int width=-1) -> long</autodoc> |
20847 | <paramlist> | |
20848 | <param name="col" type="long" default=""/> | |
20849 | <param name="heading" type="String" default=""/> | |
20850 | <param name="format" type="int" default="wxLIST_FORMAT_LEFT"/> | |
20851 | <param name="width" type="int" default="-1"/> | |
20852 | </paramlist> | |
20853 | </method> | |
20854 | <method name="SetItemCount" type="" overloaded="no"> | |
781d2982 | 20855 | <autodoc>SetItemCount(self, long count)</autodoc> |
f32fc4bc RD |
20856 | <paramlist> |
20857 | <param name="count" type="long" default=""/> | |
20858 | </paramlist> | |
20859 | </method> | |
20860 | <method name="ScrollList" type="bool" overloaded="no"> | |
781d2982 | 20861 | <autodoc>ScrollList(self, int dx, int dy) -> bool</autodoc> |
f32fc4bc RD |
20862 | <paramlist> |
20863 | <param name="dx" type="int" default=""/> | |
20864 | <param name="dy" type="int" default=""/> | |
20865 | </paramlist> | |
20866 | </method> | |
20867 | <method name="SetItemTextColour" type="" overloaded="no"> | |
781d2982 | 20868 | <autodoc>SetItemTextColour(self, long item, Colour col)</autodoc> |
f32fc4bc RD |
20869 | <paramlist> |
20870 | <param name="item" type="long" default=""/> | |
20871 | <param name="col" type="Colour" default=""/> | |
20872 | </paramlist> | |
20873 | </method> | |
20874 | <method name="GetItemTextColour" type="Colour" overloaded="no"> | |
781d2982 | 20875 | <autodoc>GetItemTextColour(self, long item) -> Colour</autodoc> |
f32fc4bc RD |
20876 | <paramlist> |
20877 | <param name="item" type="long" default=""/> | |
20878 | </paramlist> | |
20879 | </method> | |
20880 | <method name="SetItemBackgroundColour" type="" overloaded="no"> | |
781d2982 | 20881 | <autodoc>SetItemBackgroundColour(self, long item, Colour col)</autodoc> |
f32fc4bc RD |
20882 | <paramlist> |
20883 | <param name="item" type="long" default=""/> | |
20884 | <param name="col" type="Colour" default=""/> | |
20885 | </paramlist> | |
20886 | </method> | |
20887 | <method name="GetItemBackgroundColour" type="Colour" overloaded="no"> | |
781d2982 | 20888 | <autodoc>GetItemBackgroundColour(self, long item) -> Colour</autodoc> |
f32fc4bc RD |
20889 | <paramlist> |
20890 | <param name="item" type="long" default=""/> | |
20891 | </paramlist> | |
20892 | </method> | |
20893 | <method name="SortItems" type="bool" overloaded="no"> | |
781d2982 | 20894 | <autodoc>SortItems(self, PyObject func) -> bool</autodoc> |
f32fc4bc RD |
20895 | <paramlist> |
20896 | <param name="func" type="PyObject" default=""/> | |
20897 | </paramlist> | |
20898 | </method> | |
20899 | <method name="GetMainWindow" type="Window" overloaded="no"> | |
781d2982 | 20900 | <autodoc>GetMainWindow(self) -> Window</autodoc> |
f32fc4bc | 20901 | </method> |
781d2982 RD |
20902 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
20903 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
20904 | <docstring>Get the default attributes for this class. This is useful if you want | |
20905 | to use the same font or colour in your own control as in a standard | |
20906 | control -- which is a much better idea than hard coding specific | |
20907 | colours or fonts which might look completely out of place on the | |
20908 | user's system, especially if it uses themes. | |
20909 | ||
20910 | The variant parameter is only relevant under Mac currently and is | |
20911 | ignore under other platforms. Under Mac, it will change the size of | |
20912 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
20913 | this.</docstring> | |
20914 | <paramlist> | |
20915 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
20916 | </paramlist> | |
20917 | </staticmethod> | |
f32fc4bc RD |
20918 | </class> |
20919 | <pythoncode> | |
20920 | #--------------------------------------------------------------------------- | |
20921 | </pythoncode> | |
781d2982 | 20922 | <class name="ListView" oldname="wxListView" module="_controls"> |
f32fc4bc RD |
20923 | <baseclass name="ListCtrl"/> |
20924 | <constructor name="ListView" overloaded="no"> | |
781d2982 | 20925 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
f32fc4bc RD |
20926 | Size size=DefaultSize, long style=LC_REPORT, |
20927 | Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> ListView</autodoc> | |
20928 | <paramlist> | |
20929 | <param name="parent" type="Window" default=""/> | |
20930 | <param name="id" type="int" default="-1"/> | |
20931 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
20932 | <param name="size" type="Size" default="wxDefaultSize"/> | |
20933 | <param name="style" type="long" default="wxLC_REPORT"/> | |
20934 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
20935 | <param name="name" type="String" default="wxPyListCtrlNameStr"/> | |
20936 | </paramlist> | |
20937 | </constructor> | |
20938 | <constructor name="PreListView" overloaded="no"> | |
20939 | <autodoc>PreListView() -> ListView</autodoc> | |
20940 | </constructor> | |
20941 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 20942 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
f32fc4bc RD |
20943 | Size size=DefaultSize, long style=LC_REPORT, |
20944 | Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> bool</autodoc> | |
c2dda882 | 20945 | <docstring>Do the 2nd phase and create the GUI control.</docstring> |
f32fc4bc RD |
20946 | <paramlist> |
20947 | <param name="parent" type="Window" default=""/> | |
20948 | <param name="id" type="int" default="-1"/> | |
20949 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
20950 | <param name="size" type="Size" default="wxDefaultSize"/> | |
20951 | <param name="style" type="long" default="wxLC_REPORT"/> | |
20952 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
20953 | <param name="name" type="String" default="wxPyListCtrlNameStr"/> | |
20954 | </paramlist> | |
20955 | </method> | |
20956 | <method name="Select" type="" overloaded="no"> | |
781d2982 | 20957 | <autodoc>Select(self, long n, bool on=True)</autodoc> |
f32fc4bc RD |
20958 | <paramlist> |
20959 | <param name="n" type="long" default=""/> | |
20960 | <param name="on" type="bool" default="True"/> | |
20961 | </paramlist> | |
20962 | </method> | |
20963 | <method name="Focus" type="" overloaded="no"> | |
781d2982 | 20964 | <autodoc>Focus(self, long index)</autodoc> |
f32fc4bc RD |
20965 | <paramlist> |
20966 | <param name="index" type="long" default=""/> | |
20967 | </paramlist> | |
20968 | </method> | |
20969 | <method name="GetFocusedItem" type="long" overloaded="no"> | |
781d2982 | 20970 | <autodoc>GetFocusedItem(self) -> long</autodoc> |
f32fc4bc RD |
20971 | </method> |
20972 | <method name="GetNextSelected" type="long" overloaded="no"> | |
781d2982 | 20973 | <autodoc>GetNextSelected(self, long item) -> long</autodoc> |
f32fc4bc RD |
20974 | <paramlist> |
20975 | <param name="item" type="long" default=""/> | |
20976 | </paramlist> | |
20977 | </method> | |
20978 | <method name="GetFirstSelected" type="long" overloaded="no"> | |
781d2982 | 20979 | <autodoc>GetFirstSelected(self) -> long</autodoc> |
f32fc4bc RD |
20980 | </method> |
20981 | <method name="IsSelected" type="bool" overloaded="no"> | |
781d2982 | 20982 | <autodoc>IsSelected(self, long index) -> bool</autodoc> |
f32fc4bc RD |
20983 | <paramlist> |
20984 | <param name="index" type="long" default=""/> | |
20985 | </paramlist> | |
20986 | </method> | |
20987 | <method name="SetColumnImage" type="" overloaded="no"> | |
781d2982 | 20988 | <autodoc>SetColumnImage(self, int col, int image)</autodoc> |
f32fc4bc RD |
20989 | <paramlist> |
20990 | <param name="col" type="int" default=""/> | |
20991 | <param name="image" type="int" default=""/> | |
20992 | </paramlist> | |
20993 | </method> | |
20994 | <method name="ClearColumnImage" type="" overloaded="no"> | |
781d2982 | 20995 | <autodoc>ClearColumnImage(self, int col)</autodoc> |
f32fc4bc RD |
20996 | <paramlist> |
20997 | <param name="col" type="int" default=""/> | |
20998 | </paramlist> | |
20999 | </method> | |
21000 | </class> | |
21001 | <pythoncode> | |
21002 | #--------------------------------------------------------------------------- | |
21003 | </pythoncode> | |
21004 | <pythoncode> | |
21005 | #--------------------------------------------------------------------------- | |
21006 | </pythoncode> | |
781d2982 | 21007 | <class name="TreeItemId" oldname="wxTreeItemId" module="_controls"> |
f32fc4bc | 21008 | <constructor name="TreeItemId" overloaded="no"> |
781d2982 | 21009 | <autodoc>__init__(self) -> TreeItemId</autodoc> |
f32fc4bc RD |
21010 | </constructor> |
21011 | <destructor name="~wxTreeItemId" overloaded="no"> | |
781d2982 | 21012 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
21013 | </destructor> |
21014 | <method name="IsOk" type="bool" overloaded="no"> | |
781d2982 | 21015 | <autodoc>IsOk(self) -> bool</autodoc> |
f32fc4bc RD |
21016 | </method> |
21017 | <method name="__eq__" type="bool" overloaded="no"> | |
781d2982 | 21018 | <autodoc>__eq__(self, TreeItemId other) -> bool</autodoc> |
f32fc4bc RD |
21019 | <paramlist> |
21020 | <param name="other" type="TreeItemId" default=""/> | |
21021 | </paramlist> | |
21022 | </method> | |
21023 | <method name="__ne__" type="bool" overloaded="no"> | |
781d2982 | 21024 | <autodoc>__ne__(self, TreeItemId other) -> bool</autodoc> |
f32fc4bc RD |
21025 | <paramlist> |
21026 | <param name="other" type="TreeItemId" default=""/> | |
21027 | </paramlist> | |
21028 | </method> | |
21029 | <property name="m_pItem" type="" readonly="no"/> | |
21030 | </class> | |
781d2982 | 21031 | <class name="TreeItemData" oldname="wxPyTreeItemData" module="_controls"> |
f32fc4bc | 21032 | <constructor name="wxPyTreeItemData" overloaded="no"> |
781d2982 | 21033 | <autodoc>__init__(self, PyObject obj=None) -> TreeItemData</autodoc> |
f32fc4bc RD |
21034 | <paramlist> |
21035 | <param name="obj" type="PyObject" default="NULL"/> | |
21036 | </paramlist> | |
21037 | </constructor> | |
21038 | <method name="GetData" type="PyObject" overloaded="no"> | |
781d2982 | 21039 | <autodoc>GetData(self) -> PyObject</autodoc> |
f32fc4bc RD |
21040 | </method> |
21041 | <method name="SetData" type="" overloaded="no"> | |
781d2982 | 21042 | <autodoc>SetData(self, PyObject obj)</autodoc> |
f32fc4bc RD |
21043 | <paramlist> |
21044 | <param name="obj" type="PyObject" default=""/> | |
21045 | </paramlist> | |
21046 | </method> | |
21047 | <method name="GetId" type="TreeItemId" overloaded="no"> | |
781d2982 | 21048 | <autodoc>GetId(self) -> TreeItemId</autodoc> |
f32fc4bc RD |
21049 | </method> |
21050 | <method name="SetId" type="" overloaded="no"> | |
781d2982 | 21051 | <autodoc>SetId(self, TreeItemId id)</autodoc> |
f32fc4bc RD |
21052 | <paramlist> |
21053 | <param name="id" type="TreeItemId" default=""/> | |
21054 | </paramlist> | |
21055 | </method> | |
21056 | <method name="Destroy" type="" overloaded="no"> | |
781d2982 | 21057 | <autodoc>Destroy(self)</autodoc> |
f32fc4bc RD |
21058 | </method> |
21059 | </class> | |
21060 | <pythoncode> | |
21061 | #--------------------------------------------------------------------------- | |
21062 | </pythoncode> | |
21063 | <pythoncode> | |
21064 | ||
21065 | EVT_TREE_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_DRAG , 1) | |
21066 | EVT_TREE_BEGIN_RDRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_RDRAG , 1) | |
21067 | EVT_TREE_BEGIN_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT , 1) | |
21068 | EVT_TREE_END_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_TREE_END_LABEL_EDIT , 1) | |
21069 | EVT_TREE_DELETE_ITEM = wx.PyEventBinder(wxEVT_COMMAND_TREE_DELETE_ITEM , 1) | |
21070 | EVT_TREE_GET_INFO = wx.PyEventBinder(wxEVT_COMMAND_TREE_GET_INFO , 1) | |
21071 | EVT_TREE_SET_INFO = wx.PyEventBinder(wxEVT_COMMAND_TREE_SET_INFO , 1) | |
21072 | EVT_TREE_ITEM_EXPANDED = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_EXPANDED , 1) | |
21073 | EVT_TREE_ITEM_EXPANDING = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_EXPANDING , 1) | |
21074 | EVT_TREE_ITEM_COLLAPSED = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_COLLAPSED , 1) | |
21075 | EVT_TREE_ITEM_COLLAPSING = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_COLLAPSING , 1) | |
21076 | EVT_TREE_SEL_CHANGED = wx.PyEventBinder(wxEVT_COMMAND_TREE_SEL_CHANGED , 1) | |
21077 | EVT_TREE_SEL_CHANGING = wx.PyEventBinder(wxEVT_COMMAND_TREE_SEL_CHANGING , 1) | |
21078 | EVT_TREE_KEY_DOWN = wx.PyEventBinder(wxEVT_COMMAND_TREE_KEY_DOWN , 1) | |
21079 | EVT_TREE_ITEM_ACTIVATED = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_ACTIVATED , 1) | |
21080 | EVT_TREE_ITEM_RIGHT_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK , 1) | |
21081 | EVT_TREE_ITEM_MIDDLE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 1) | |
21082 | EVT_TREE_END_DRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_END_DRAG , 1) | |
21083 | EVT_TREE_STATE_IMAGE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 1) | |
21084 | EVT_TREE_ITEM_GETTOOLTIP = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 1) | |
21085 | </pythoncode> | |
781d2982 | 21086 | <class name="TreeEvent" oldname="wxTreeEvent" module="_controls"> |
f32fc4bc RD |
21087 | <baseclass name="NotifyEvent"/> |
21088 | <constructor name="TreeEvent" overloaded="no"> | |
781d2982 | 21089 | <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> TreeEvent</autodoc> |
f32fc4bc RD |
21090 | <paramlist> |
21091 | <param name="commandType" type="wxEventType" default="wxEVT_NULL"/> | |
21092 | <param name="id" type="int" default="0"/> | |
21093 | </paramlist> | |
21094 | </constructor> | |
21095 | <method name="GetItem" type="TreeItemId" overloaded="no"> | |
781d2982 | 21096 | <autodoc>GetItem(self) -> TreeItemId</autodoc> |
f32fc4bc RD |
21097 | </method> |
21098 | <method name="SetItem" type="" overloaded="no"> | |
781d2982 | 21099 | <autodoc>SetItem(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
21100 | <paramlist> |
21101 | <param name="item" type="TreeItemId" default=""/> | |
21102 | </paramlist> | |
21103 | </method> | |
21104 | <method name="GetOldItem" type="TreeItemId" overloaded="no"> | |
781d2982 | 21105 | <autodoc>GetOldItem(self) -> TreeItemId</autodoc> |
f32fc4bc RD |
21106 | </method> |
21107 | <method name="SetOldItem" type="" overloaded="no"> | |
781d2982 | 21108 | <autodoc>SetOldItem(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
21109 | <paramlist> |
21110 | <param name="item" type="TreeItemId" default=""/> | |
21111 | </paramlist> | |
21112 | </method> | |
21113 | <method name="GetPoint" type="Point" overloaded="no"> | |
781d2982 | 21114 | <autodoc>GetPoint(self) -> Point</autodoc> |
f32fc4bc RD |
21115 | </method> |
21116 | <method name="SetPoint" type="" overloaded="no"> | |
781d2982 | 21117 | <autodoc>SetPoint(self, Point pt)</autodoc> |
f32fc4bc RD |
21118 | <paramlist> |
21119 | <param name="pt" type="Point" default=""/> | |
21120 | </paramlist> | |
21121 | </method> | |
21122 | <method name="GetKeyEvent" type="KeyEvent" overloaded="no"> | |
781d2982 | 21123 | <autodoc>GetKeyEvent(self) -> KeyEvent</autodoc> |
f32fc4bc RD |
21124 | </method> |
21125 | <method name="GetKeyCode" type="int" overloaded="no"> | |
781d2982 | 21126 | <autodoc>GetKeyCode(self) -> int</autodoc> |
f32fc4bc RD |
21127 | </method> |
21128 | <method name="SetKeyEvent" type="" overloaded="no"> | |
781d2982 | 21129 | <autodoc>SetKeyEvent(self, KeyEvent evt)</autodoc> |
f32fc4bc RD |
21130 | <paramlist> |
21131 | <param name="evt" type="KeyEvent" default=""/> | |
21132 | </paramlist> | |
21133 | </method> | |
21134 | <method name="GetLabel" type="String" overloaded="no"> | |
781d2982 | 21135 | <autodoc>GetLabel(self) -> String</autodoc> |
f32fc4bc RD |
21136 | </method> |
21137 | <method name="SetLabel" type="" overloaded="no"> | |
781d2982 | 21138 | <autodoc>SetLabel(self, String label)</autodoc> |
f32fc4bc RD |
21139 | <paramlist> |
21140 | <param name="label" type="String" default=""/> | |
21141 | </paramlist> | |
21142 | </method> | |
21143 | <method name="IsEditCancelled" type="bool" overloaded="no"> | |
781d2982 | 21144 | <autodoc>IsEditCancelled(self) -> bool</autodoc> |
f32fc4bc RD |
21145 | </method> |
21146 | <method name="SetEditCanceled" type="" overloaded="no"> | |
781d2982 | 21147 | <autodoc>SetEditCanceled(self, bool editCancelled)</autodoc> |
f32fc4bc RD |
21148 | <paramlist> |
21149 | <param name="editCancelled" type="bool" default=""/> | |
21150 | </paramlist> | |
21151 | </method> | |
21152 | <method name="SetToolTip" type="" overloaded="no"> | |
781d2982 | 21153 | <autodoc>SetToolTip(self, String toolTip)</autodoc> |
f32fc4bc RD |
21154 | <paramlist> |
21155 | <param name="toolTip" type="String" default=""/> | |
21156 | </paramlist> | |
21157 | </method> | |
21158 | </class> | |
21159 | <pythoncode> | |
21160 | #--------------------------------------------------------------------------- | |
21161 | </pythoncode> | |
781d2982 | 21162 | <class name="TreeCtrl" oldname="wxPyTreeCtrl" module="_controls"> |
f32fc4bc RD |
21163 | <baseclass name="Control"/> |
21164 | <constructor name="wxPyTreeCtrl" overloaded="no"> | |
781d2982 | 21165 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
f32fc4bc RD |
21166 | Size size=DefaultSize, long style=TR_DEFAULT_STYLE, |
21167 | Validator validator=DefaultValidator, | |
21168 | String name=TreeCtrlNameStr) -> TreeCtrl</autodoc> | |
21169 | <paramlist> | |
21170 | <param name="parent" type="Window" default=""/> | |
21171 | <param name="id" type="int" default="-1"/> | |
21172 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
21173 | <param name="size" type="Size" default="wxDefaultSize"/> | |
21174 | <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/> | |
21175 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
21176 | <param name="name" type="String" default="wxPyTreeCtrlNameStr"/> | |
21177 | </paramlist> | |
21178 | </constructor> | |
21179 | <constructor name="PreTreeCtrl" overloaded="no"> | |
21180 | <autodoc>PreTreeCtrl() -> TreeCtrl</autodoc> | |
21181 | </constructor> | |
21182 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 21183 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
f32fc4bc RD |
21184 | Size size=DefaultSize, long style=TR_DEFAULT_STYLE, |
21185 | Validator validator=DefaultValidator, | |
21186 | String name=TreeCtrlNameStr) -> bool</autodoc> | |
c2dda882 | 21187 | <docstring>Do the 2nd phase and create the GUI control.</docstring> |
f32fc4bc RD |
21188 | <paramlist> |
21189 | <param name="parent" type="Window" default=""/> | |
21190 | <param name="id" type="int" default="-1"/> | |
21191 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
21192 | <param name="size" type="Size" default="wxDefaultSize"/> | |
21193 | <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/> | |
21194 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
21195 | <param name="name" type="String" default="wxPyTreeCtrlNameStr"/> | |
21196 | </paramlist> | |
21197 | </method> | |
21198 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 21199 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
21200 | <paramlist> |
21201 | <param name="self" type="PyObject" default=""/> | |
21202 | <param name="_class" type="PyObject" default=""/> | |
21203 | </paramlist> | |
21204 | </method> | |
21205 | <method name="GetCount" type="size_t" overloaded="no"> | |
781d2982 | 21206 | <autodoc>GetCount(self) -> size_t</autodoc> |
f32fc4bc RD |
21207 | </method> |
21208 | <method name="GetIndent" type="unsigned int" overloaded="no"> | |
781d2982 | 21209 | <autodoc>GetIndent(self) -> unsigned int</autodoc> |
f32fc4bc RD |
21210 | </method> |
21211 | <method name="SetIndent" type="" overloaded="no"> | |
781d2982 | 21212 | <autodoc>SetIndent(self, unsigned int indent)</autodoc> |
f32fc4bc RD |
21213 | <paramlist> |
21214 | <param name="indent" type="unsigned int" default=""/> | |
21215 | </paramlist> | |
21216 | </method> | |
21217 | <method name="GetSpacing" type="unsigned int" overloaded="no"> | |
781d2982 | 21218 | <autodoc>GetSpacing(self) -> unsigned int</autodoc> |
f32fc4bc RD |
21219 | </method> |
21220 | <method name="SetSpacing" type="" overloaded="no"> | |
781d2982 | 21221 | <autodoc>SetSpacing(self, unsigned int spacing)</autodoc> |
f32fc4bc RD |
21222 | <paramlist> |
21223 | <param name="spacing" type="unsigned int" default=""/> | |
21224 | </paramlist> | |
21225 | </method> | |
21226 | <method name="GetImageList" type="ImageList" overloaded="no"> | |
781d2982 | 21227 | <autodoc>GetImageList(self) -> ImageList</autodoc> |
f32fc4bc RD |
21228 | </method> |
21229 | <method name="GetStateImageList" type="ImageList" overloaded="no"> | |
781d2982 | 21230 | <autodoc>GetStateImageList(self) -> ImageList</autodoc> |
f32fc4bc RD |
21231 | </method> |
21232 | <method name="SetImageList" type="" overloaded="no"> | |
781d2982 | 21233 | <autodoc>SetImageList(self, ImageList imageList)</autodoc> |
f32fc4bc RD |
21234 | <paramlist> |
21235 | <param name="imageList" type="ImageList" default=""/> | |
21236 | </paramlist> | |
21237 | </method> | |
21238 | <method name="SetStateImageList" type="" overloaded="no"> | |
781d2982 | 21239 | <autodoc>SetStateImageList(self, ImageList imageList)</autodoc> |
f32fc4bc RD |
21240 | <paramlist> |
21241 | <param name="imageList" type="ImageList" default=""/> | |
21242 | </paramlist> | |
21243 | </method> | |
21244 | <method name="AssignImageList" type="" overloaded="no"> | |
781d2982 | 21245 | <autodoc>AssignImageList(self, ImageList imageList)</autodoc> |
f32fc4bc RD |
21246 | <paramlist> |
21247 | <param name="imageList" type="ImageList" default=""/> | |
21248 | </paramlist> | |
21249 | </method> | |
21250 | <method name="AssignStateImageList" type="" overloaded="no"> | |
781d2982 | 21251 | <autodoc>AssignStateImageList(self, ImageList imageList)</autodoc> |
f32fc4bc RD |
21252 | <paramlist> |
21253 | <param name="imageList" type="ImageList" default=""/> | |
21254 | </paramlist> | |
21255 | </method> | |
21256 | <method name="GetItemText" type="String" overloaded="no"> | |
781d2982 | 21257 | <autodoc>GetItemText(self, TreeItemId item) -> String</autodoc> |
f32fc4bc RD |
21258 | <paramlist> |
21259 | <param name="item" type="TreeItemId" default=""/> | |
21260 | </paramlist> | |
21261 | </method> | |
21262 | <method name="GetItemImage" type="int" overloaded="no"> | |
781d2982 | 21263 | <autodoc>GetItemImage(self, TreeItemId item, int which=TreeItemIcon_Normal) -> int</autodoc> |
f32fc4bc RD |
21264 | <paramlist> |
21265 | <param name="item" type="TreeItemId" default=""/> | |
21266 | <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/> | |
21267 | </paramlist> | |
21268 | </method> | |
21269 | <method name="GetItemData" type="TreeItemData" overloaded="no"> | |
781d2982 | 21270 | <autodoc>GetItemData(self, TreeItemId item) -> TreeItemData</autodoc> |
f32fc4bc RD |
21271 | <paramlist> |
21272 | <param name="item" type="TreeItemId" default=""/> | |
21273 | </paramlist> | |
21274 | </method> | |
21275 | <method name="GetItemPyData" type="PyObject" overloaded="no"> | |
781d2982 | 21276 | <autodoc>GetItemPyData(self, TreeItemId item) -> PyObject</autodoc> |
f32fc4bc RD |
21277 | <paramlist> |
21278 | <param name="item" type="TreeItemId" default=""/> | |
21279 | </paramlist> | |
21280 | </method> | |
21281 | <method name="GetItemTextColour" type="Colour" overloaded="no"> | |
781d2982 | 21282 | <autodoc>GetItemTextColour(self, TreeItemId item) -> Colour</autodoc> |
f32fc4bc RD |
21283 | <paramlist> |
21284 | <param name="item" type="TreeItemId" default=""/> | |
21285 | </paramlist> | |
21286 | </method> | |
21287 | <method name="GetItemBackgroundColour" type="Colour" overloaded="no"> | |
781d2982 | 21288 | <autodoc>GetItemBackgroundColour(self, TreeItemId item) -> Colour</autodoc> |
f32fc4bc RD |
21289 | <paramlist> |
21290 | <param name="item" type="TreeItemId" default=""/> | |
21291 | </paramlist> | |
21292 | </method> | |
21293 | <method name="GetItemFont" type="Font" overloaded="no"> | |
781d2982 | 21294 | <autodoc>GetItemFont(self, TreeItemId item) -> Font</autodoc> |
f32fc4bc RD |
21295 | <paramlist> |
21296 | <param name="item" type="TreeItemId" default=""/> | |
21297 | </paramlist> | |
21298 | </method> | |
21299 | <method name="SetItemText" type="" overloaded="no"> | |
781d2982 | 21300 | <autodoc>SetItemText(self, TreeItemId item, String text)</autodoc> |
f32fc4bc RD |
21301 | <paramlist> |
21302 | <param name="item" type="TreeItemId" default=""/> | |
21303 | <param name="text" type="String" default=""/> | |
21304 | </paramlist> | |
21305 | </method> | |
21306 | <method name="SetItemImage" type="" overloaded="no"> | |
781d2982 | 21307 | <autodoc>SetItemImage(self, TreeItemId item, int image, int which=TreeItemIcon_Normal)</autodoc> |
f32fc4bc RD |
21308 | <paramlist> |
21309 | <param name="item" type="TreeItemId" default=""/> | |
21310 | <param name="image" type="int" default=""/> | |
21311 | <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/> | |
21312 | </paramlist> | |
21313 | </method> | |
21314 | <method name="SetItemData" type="" overloaded="no"> | |
781d2982 | 21315 | <autodoc>SetItemData(self, TreeItemId item, TreeItemData data)</autodoc> |
f32fc4bc RD |
21316 | <paramlist> |
21317 | <param name="item" type="TreeItemId" default=""/> | |
21318 | <param name="data" type="TreeItemData" default=""/> | |
21319 | </paramlist> | |
21320 | </method> | |
21321 | <method name="SetItemPyData" type="" overloaded="no"> | |
781d2982 | 21322 | <autodoc>SetItemPyData(self, TreeItemId item, PyObject obj)</autodoc> |
f32fc4bc RD |
21323 | <paramlist> |
21324 | <param name="item" type="TreeItemId" default=""/> | |
21325 | <param name="obj" type="PyObject" default=""/> | |
21326 | </paramlist> | |
21327 | </method> | |
21328 | <method name="SetItemHasChildren" type="" overloaded="no"> | |
781d2982 | 21329 | <autodoc>SetItemHasChildren(self, TreeItemId item, bool has=True)</autodoc> |
f32fc4bc RD |
21330 | <paramlist> |
21331 | <param name="item" type="TreeItemId" default=""/> | |
21332 | <param name="has" type="bool" default="True"/> | |
21333 | </paramlist> | |
21334 | </method> | |
21335 | <method name="SetItemBold" type="" overloaded="no"> | |
781d2982 | 21336 | <autodoc>SetItemBold(self, TreeItemId item, bool bold=True)</autodoc> |
f32fc4bc RD |
21337 | <paramlist> |
21338 | <param name="item" type="TreeItemId" default=""/> | |
21339 | <param name="bold" type="bool" default="True"/> | |
21340 | </paramlist> | |
21341 | </method> | |
21342 | <method name="SetItemTextColour" type="" overloaded="no"> | |
781d2982 | 21343 | <autodoc>SetItemTextColour(self, TreeItemId item, Colour col)</autodoc> |
f32fc4bc RD |
21344 | <paramlist> |
21345 | <param name="item" type="TreeItemId" default=""/> | |
21346 | <param name="col" type="Colour" default=""/> | |
21347 | </paramlist> | |
21348 | </method> | |
21349 | <method name="SetItemBackgroundColour" type="" overloaded="no"> | |
781d2982 | 21350 | <autodoc>SetItemBackgroundColour(self, TreeItemId item, Colour col)</autodoc> |
f32fc4bc RD |
21351 | <paramlist> |
21352 | <param name="item" type="TreeItemId" default=""/> | |
21353 | <param name="col" type="Colour" default=""/> | |
21354 | </paramlist> | |
21355 | </method> | |
21356 | <method name="SetItemFont" type="" overloaded="no"> | |
781d2982 | 21357 | <autodoc>SetItemFont(self, TreeItemId item, Font font)</autodoc> |
f32fc4bc RD |
21358 | <paramlist> |
21359 | <param name="item" type="TreeItemId" default=""/> | |
21360 | <param name="font" type="Font" default=""/> | |
21361 | </paramlist> | |
21362 | </method> | |
21363 | <method name="IsVisible" type="bool" overloaded="no"> | |
781d2982 | 21364 | <autodoc>IsVisible(self, TreeItemId item) -> bool</autodoc> |
f32fc4bc RD |
21365 | <paramlist> |
21366 | <param name="item" type="TreeItemId" default=""/> | |
21367 | </paramlist> | |
21368 | </method> | |
21369 | <method name="ItemHasChildren" type="bool" overloaded="no"> | |
781d2982 | 21370 | <autodoc>ItemHasChildren(self, TreeItemId item) -> bool</autodoc> |
f32fc4bc RD |
21371 | <paramlist> |
21372 | <param name="item" type="TreeItemId" default=""/> | |
21373 | </paramlist> | |
21374 | </method> | |
21375 | <method name="IsExpanded" type="bool" overloaded="no"> | |
781d2982 | 21376 | <autodoc>IsExpanded(self, TreeItemId item) -> bool</autodoc> |
f32fc4bc RD |
21377 | <paramlist> |
21378 | <param name="item" type="TreeItemId" default=""/> | |
21379 | </paramlist> | |
21380 | </method> | |
21381 | <method name="IsSelected" type="bool" overloaded="no"> | |
781d2982 | 21382 | <autodoc>IsSelected(self, TreeItemId item) -> bool</autodoc> |
f32fc4bc RD |
21383 | <paramlist> |
21384 | <param name="item" type="TreeItemId" default=""/> | |
21385 | </paramlist> | |
21386 | </method> | |
21387 | <method name="IsBold" type="bool" overloaded="no"> | |
781d2982 | 21388 | <autodoc>IsBold(self, TreeItemId item) -> bool</autodoc> |
f32fc4bc RD |
21389 | <paramlist> |
21390 | <param name="item" type="TreeItemId" default=""/> | |
21391 | </paramlist> | |
21392 | </method> | |
21393 | <method name="GetChildrenCount" type="size_t" overloaded="no"> | |
781d2982 | 21394 | <autodoc>GetChildrenCount(self, TreeItemId item, bool recursively=True) -> size_t</autodoc> |
f32fc4bc RD |
21395 | <paramlist> |
21396 | <param name="item" type="TreeItemId" default=""/> | |
21397 | <param name="recursively" type="bool" default="True"/> | |
21398 | </paramlist> | |
21399 | </method> | |
21400 | <method name="GetRootItem" type="TreeItemId" overloaded="no"> | |
781d2982 | 21401 | <autodoc>GetRootItem(self) -> TreeItemId</autodoc> |
f32fc4bc RD |
21402 | </method> |
21403 | <method name="GetSelection" type="TreeItemId" overloaded="no"> | |
781d2982 | 21404 | <autodoc>GetSelection(self) -> TreeItemId</autodoc> |
f32fc4bc RD |
21405 | </method> |
21406 | <method name="GetSelections" type="PyObject" overloaded="no"> | |
781d2982 | 21407 | <autodoc>GetSelections(self) -> PyObject</autodoc> |
f32fc4bc RD |
21408 | </method> |
21409 | <method name="GetItemParent" type="TreeItemId" overloaded="no"> | |
781d2982 | 21410 | <autodoc>GetItemParent(self, TreeItemId item) -> TreeItemId</autodoc> |
f32fc4bc RD |
21411 | <paramlist> |
21412 | <param name="item" type="TreeItemId" default=""/> | |
21413 | </paramlist> | |
21414 | </method> | |
21415 | <method name="GetFirstChild" type="PyObject" overloaded="no"> | |
781d2982 | 21416 | <autodoc>GetFirstChild(self, TreeItemId item) -> PyObject</autodoc> |
f32fc4bc RD |
21417 | <paramlist> |
21418 | <param name="item" type="TreeItemId" default=""/> | |
21419 | </paramlist> | |
21420 | </method> | |
21421 | <method name="GetNextChild" type="PyObject" overloaded="no"> | |
781d2982 | 21422 | <autodoc>GetNextChild(self, TreeItemId item, void cookie) -> PyObject</autodoc> |
f32fc4bc RD |
21423 | <paramlist> |
21424 | <param name="item" type="TreeItemId" default=""/> | |
21425 | <param name="cookie" type="" default=""/> | |
21426 | </paramlist> | |
21427 | </method> | |
21428 | <method name="GetLastChild" type="TreeItemId" overloaded="no"> | |
781d2982 | 21429 | <autodoc>GetLastChild(self, TreeItemId item) -> TreeItemId</autodoc> |
f32fc4bc RD |
21430 | <paramlist> |
21431 | <param name="item" type="TreeItemId" default=""/> | |
21432 | </paramlist> | |
21433 | </method> | |
21434 | <method name="GetNextSibling" type="TreeItemId" overloaded="no"> | |
781d2982 | 21435 | <autodoc>GetNextSibling(self, TreeItemId item) -> TreeItemId</autodoc> |
f32fc4bc RD |
21436 | <paramlist> |
21437 | <param name="item" type="TreeItemId" default=""/> | |
21438 | </paramlist> | |
21439 | </method> | |
21440 | <method name="GetPrevSibling" type="TreeItemId" overloaded="no"> | |
781d2982 | 21441 | <autodoc>GetPrevSibling(self, TreeItemId item) -> TreeItemId</autodoc> |
f32fc4bc RD |
21442 | <paramlist> |
21443 | <param name="item" type="TreeItemId" default=""/> | |
21444 | </paramlist> | |
21445 | </method> | |
21446 | <method name="GetFirstVisibleItem" type="TreeItemId" overloaded="no"> | |
781d2982 | 21447 | <autodoc>GetFirstVisibleItem(self) -> TreeItemId</autodoc> |
f32fc4bc RD |
21448 | </method> |
21449 | <method name="GetNextVisible" type="TreeItemId" overloaded="no"> | |
781d2982 | 21450 | <autodoc>GetNextVisible(self, TreeItemId item) -> TreeItemId</autodoc> |
f32fc4bc RD |
21451 | <paramlist> |
21452 | <param name="item" type="TreeItemId" default=""/> | |
21453 | </paramlist> | |
21454 | </method> | |
21455 | <method name="GetPrevVisible" type="TreeItemId" overloaded="no"> | |
781d2982 | 21456 | <autodoc>GetPrevVisible(self, TreeItemId item) -> TreeItemId</autodoc> |
f32fc4bc RD |
21457 | <paramlist> |
21458 | <param name="item" type="TreeItemId" default=""/> | |
21459 | </paramlist> | |
21460 | </method> | |
21461 | <method name="AddRoot" type="TreeItemId" overloaded="no"> | |
781d2982 | 21462 | <autodoc>AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc> |
f32fc4bc RD |
21463 | <paramlist> |
21464 | <param name="text" type="String" default=""/> | |
21465 | <param name="image" type="int" default="-1"/> | |
21466 | <param name="selectedImage" type="int" default="-1"/> | |
21467 | <param name="data" type="TreeItemData" default="NULL"/> | |
21468 | </paramlist> | |
21469 | </method> | |
21470 | <method name="PrependItem" type="TreeItemId" overloaded="no"> | |
781d2982 | 21471 | <autodoc>PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1, |
f32fc4bc RD |
21472 | TreeItemData data=None) -> TreeItemId</autodoc> |
21473 | <paramlist> | |
21474 | <param name="parent" type="TreeItemId" default=""/> | |
21475 | <param name="text" type="String" default=""/> | |
21476 | <param name="image" type="int" default="-1"/> | |
21477 | <param name="selectedImage" type="int" default="-1"/> | |
21478 | <param name="data" type="TreeItemData" default="NULL"/> | |
21479 | </paramlist> | |
21480 | </method> | |
21481 | <method name="InsertItem" type="TreeItemId" overloaded="no"> | |
781d2982 | 21482 | <autodoc>InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text, |
f32fc4bc RD |
21483 | int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc> |
21484 | <paramlist> | |
21485 | <param name="parent" type="TreeItemId" default=""/> | |
21486 | <param name="idPrevious" type="TreeItemId" default=""/> | |
21487 | <param name="text" type="String" default=""/> | |
21488 | <param name="image" type="int" default="-1"/> | |
21489 | <param name="selectedImage" type="int" default="-1"/> | |
21490 | <param name="data" type="TreeItemData" default="NULL"/> | |
21491 | </paramlist> | |
21492 | </method> | |
21493 | <method name="InsertItemBefore" type="TreeItemId" overloaded="no"> | |
781d2982 | 21494 | <autodoc>InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1, |
f32fc4bc RD |
21495 | int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc> |
21496 | <paramlist> | |
21497 | <param name="parent" type="TreeItemId" default=""/> | |
21498 | <param name="index" type="size_t" default=""/> | |
21499 | <param name="text" type="String" default=""/> | |
21500 | <param name="image" type="int" default="-1"/> | |
21501 | <param name="selectedImage" type="int" default="-1"/> | |
21502 | <param name="data" type="TreeItemData" default="NULL"/> | |
21503 | </paramlist> | |
21504 | </method> | |
21505 | <method name="AppendItem" type="TreeItemId" overloaded="no"> | |
781d2982 | 21506 | <autodoc>AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1, |
f32fc4bc RD |
21507 | TreeItemData data=None) -> TreeItemId</autodoc> |
21508 | <paramlist> | |
21509 | <param name="parent" type="TreeItemId" default=""/> | |
21510 | <param name="text" type="String" default=""/> | |
21511 | <param name="image" type="int" default="-1"/> | |
21512 | <param name="selectedImage" type="int" default="-1"/> | |
21513 | <param name="data" type="TreeItemData" default="NULL"/> | |
21514 | </paramlist> | |
21515 | </method> | |
21516 | <method name="Delete" type="" overloaded="no"> | |
781d2982 | 21517 | <autodoc>Delete(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
21518 | <paramlist> |
21519 | <param name="item" type="TreeItemId" default=""/> | |
21520 | </paramlist> | |
21521 | </method> | |
21522 | <method name="DeleteChildren" type="" overloaded="no"> | |
781d2982 | 21523 | <autodoc>DeleteChildren(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
21524 | <paramlist> |
21525 | <param name="item" type="TreeItemId" default=""/> | |
21526 | </paramlist> | |
21527 | </method> | |
21528 | <method name="DeleteAllItems" type="" overloaded="no"> | |
781d2982 | 21529 | <autodoc>DeleteAllItems(self)</autodoc> |
f32fc4bc RD |
21530 | </method> |
21531 | <method name="Expand" type="" overloaded="no"> | |
781d2982 | 21532 | <autodoc>Expand(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
21533 | <paramlist> |
21534 | <param name="item" type="TreeItemId" default=""/> | |
21535 | </paramlist> | |
21536 | </method> | |
21537 | <method name="Collapse" type="" overloaded="no"> | |
781d2982 | 21538 | <autodoc>Collapse(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
21539 | <paramlist> |
21540 | <param name="item" type="TreeItemId" default=""/> | |
21541 | </paramlist> | |
21542 | </method> | |
21543 | <method name="CollapseAndReset" type="" overloaded="no"> | |
781d2982 | 21544 | <autodoc>CollapseAndReset(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
21545 | <paramlist> |
21546 | <param name="item" type="TreeItemId" default=""/> | |
21547 | </paramlist> | |
21548 | </method> | |
21549 | <method name="Toggle" type="" overloaded="no"> | |
781d2982 | 21550 | <autodoc>Toggle(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
21551 | <paramlist> |
21552 | <param name="item" type="TreeItemId" default=""/> | |
21553 | </paramlist> | |
21554 | </method> | |
21555 | <method name="Unselect" type="" overloaded="no"> | |
781d2982 | 21556 | <autodoc>Unselect(self)</autodoc> |
f32fc4bc RD |
21557 | </method> |
21558 | <method name="UnselectItem" type="" overloaded="no"> | |
781d2982 | 21559 | <autodoc>UnselectItem(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
21560 | <paramlist> |
21561 | <param name="item" type="TreeItemId" default=""/> | |
21562 | </paramlist> | |
21563 | </method> | |
21564 | <method name="UnselectAll" type="" overloaded="no"> | |
781d2982 | 21565 | <autodoc>UnselectAll(self)</autodoc> |
f32fc4bc RD |
21566 | </method> |
21567 | <method name="SelectItem" type="" overloaded="no"> | |
781d2982 | 21568 | <autodoc>SelectItem(self, TreeItemId item, bool select=True)</autodoc> |
f32fc4bc RD |
21569 | <paramlist> |
21570 | <param name="item" type="TreeItemId" default=""/> | |
21571 | <param name="select" type="bool" default="True"/> | |
21572 | </paramlist> | |
21573 | </method> | |
21574 | <method name="ToggleItemSelection" type="" overloaded="no"> | |
781d2982 | 21575 | <autodoc>ToggleItemSelection(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
21576 | <paramlist> |
21577 | <param name="item" type="TreeItemId" default=""/> | |
21578 | </paramlist> | |
21579 | </method> | |
21580 | <method name="EnsureVisible" type="" overloaded="no"> | |
781d2982 | 21581 | <autodoc>EnsureVisible(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
21582 | <paramlist> |
21583 | <param name="item" type="TreeItemId" default=""/> | |
21584 | </paramlist> | |
21585 | </method> | |
21586 | <method name="ScrollTo" type="" overloaded="no"> | |
781d2982 | 21587 | <autodoc>ScrollTo(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
21588 | <paramlist> |
21589 | <param name="item" type="TreeItemId" default=""/> | |
21590 | </paramlist> | |
21591 | </method> | |
21592 | <method name="EditLabel" type="" overloaded="no"> | |
781d2982 | 21593 | <autodoc>EditLabel(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
21594 | <paramlist> |
21595 | <param name="item" type="TreeItemId" default=""/> | |
21596 | </paramlist> | |
21597 | </method> | |
21598 | <method name="GetEditControl" type="TextCtrl" overloaded="no"> | |
781d2982 | 21599 | <autodoc>GetEditControl(self) -> TextCtrl</autodoc> |
f32fc4bc RD |
21600 | </method> |
21601 | <method name="SortChildren" type="" overloaded="no"> | |
781d2982 | 21602 | <autodoc>SortChildren(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
21603 | <paramlist> |
21604 | <param name="item" type="TreeItemId" default=""/> | |
21605 | </paramlist> | |
21606 | </method> | |
21607 | <method name="HitTest" type="TreeItemId" overloaded="no"> | |
21608 | <autodoc>HitTest(Point point) -> (item, where)</autodoc> | |
ce6878e6 RD |
21609 | <docstring>Determine which item (if any) belongs the given point. The coordinates |
21610 | specified are relative to the client area of tree ctrl and the where return | |
21611 | value is set to a bitmask of wxTREE_HITTEST_xxx constants. | |
21612 | </docstring> | |
f32fc4bc RD |
21613 | <paramlist> |
21614 | <param name="point" type="Point" default=""/> | |
21615 | <param name="OUTPUT" type="int" default=""/> | |
21616 | </paramlist> | |
21617 | </method> | |
21618 | <method name="GetBoundingRect" type="PyObject" overloaded="no"> | |
781d2982 | 21619 | <autodoc>GetBoundingRect(self, TreeItemId item, bool textOnly=False) -> PyObject</autodoc> |
f32fc4bc RD |
21620 | <paramlist> |
21621 | <param name="item" type="TreeItemId" default=""/> | |
21622 | <param name="textOnly" type="bool" default="False"/> | |
21623 | </paramlist> | |
21624 | </method> | |
781d2982 RD |
21625 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
21626 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
21627 | <docstring>Get the default attributes for this class. This is useful if you want | |
21628 | to use the same font or colour in your own control as in a standard | |
21629 | control -- which is a much better idea than hard coding specific | |
21630 | colours or fonts which might look completely out of place on the | |
21631 | user's system, especially if it uses themes. | |
21632 | ||
21633 | The variant parameter is only relevant under Mac currently and is | |
21634 | ignore under other platforms. Under Mac, it will change the size of | |
21635 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
21636 | this.</docstring> | |
21637 | <paramlist> | |
21638 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
21639 | </paramlist> | |
21640 | </staticmethod> | |
f32fc4bc RD |
21641 | </class> |
21642 | <pythoncode> | |
21643 | #--------------------------------------------------------------------------- | |
21644 | </pythoncode> | |
781d2982 | 21645 | <class name="GenericDirCtrl" oldname="wxGenericDirCtrl" module="_controls"> |
f32fc4bc RD |
21646 | <baseclass name="Control"/> |
21647 | <constructor name="GenericDirCtrl" overloaded="no"> | |
781d2982 | 21648 | <autodoc>__init__(self, Window parent, int id=-1, String dir=DirDialogDefaultFolderStr, |
f32fc4bc RD |
21649 | Point pos=DefaultPosition, Size size=DefaultSize, |
21650 | long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, | |
21651 | String filter=EmptyString, | |
21652 | int defaultFilter=0, String name=TreeCtrlNameStr) -> GenericDirCtrl</autodoc> | |
21653 | <paramlist> | |
21654 | <param name="parent" type="Window" default=""/> | |
21655 | <param name="id" type="int" default="-1"/> | |
21656 | <param name="dir" type="String" default="wxPyDirDialogDefaultFolderStr"/> | |
21657 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
21658 | <param name="size" type="Size" default="wxDefaultSize"/> | |
21659 | <param name="style" type="long" default="wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER"/> | |
21660 | <param name="filter" type="String" default="wxPyEmptyString"/> | |
21661 | <param name="defaultFilter" type="int" default="0"/> | |
21662 | <param name="name" type="String" default="wxPyTreeCtrlNameStr"/> | |
21663 | </paramlist> | |
21664 | </constructor> | |
21665 | <constructor name="PreGenericDirCtrl" overloaded="no"> | |
21666 | <autodoc>PreGenericDirCtrl() -> GenericDirCtrl</autodoc> | |
21667 | </constructor> | |
21668 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 21669 | <autodoc>Create(self, Window parent, int id=-1, String dir=DirDialogDefaultFolderStr, |
f32fc4bc RD |
21670 | Point pos=DefaultPosition, Size size=DefaultSize, |
21671 | long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, | |
21672 | String filter=EmptyString, | |
21673 | int defaultFilter=0, String name=TreeCtrlNameStr) -> bool</autodoc> | |
21674 | <paramlist> | |
21675 | <param name="parent" type="Window" default=""/> | |
21676 | <param name="id" type="int" default="-1"/> | |
21677 | <param name="dir" type="String" default="wxPyDirDialogDefaultFolderStr"/> | |
21678 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
21679 | <param name="size" type="Size" default="wxDefaultSize"/> | |
21680 | <param name="style" type="long" default="wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER"/> | |
21681 | <param name="filter" type="String" default="wxPyEmptyString"/> | |
21682 | <param name="defaultFilter" type="int" default="0"/> | |
21683 | <param name="name" type="String" default="wxPyTreeCtrlNameStr"/> | |
21684 | </paramlist> | |
21685 | </method> | |
21686 | <method name="ExpandPath" type="bool" overloaded="no"> | |
781d2982 | 21687 | <autodoc>ExpandPath(self, String path) -> bool</autodoc> |
f32fc4bc RD |
21688 | <paramlist> |
21689 | <param name="path" type="String" default=""/> | |
21690 | </paramlist> | |
21691 | </method> | |
21692 | <method name="GetDefaultPath" type="String" overloaded="no"> | |
781d2982 | 21693 | <autodoc>GetDefaultPath(self) -> String</autodoc> |
f32fc4bc RD |
21694 | </method> |
21695 | <method name="SetDefaultPath" type="" overloaded="no"> | |
781d2982 | 21696 | <autodoc>SetDefaultPath(self, String path)</autodoc> |
f32fc4bc RD |
21697 | <paramlist> |
21698 | <param name="path" type="String" default=""/> | |
21699 | </paramlist> | |
21700 | </method> | |
21701 | <method name="GetPath" type="String" overloaded="no"> | |
781d2982 | 21702 | <autodoc>GetPath(self) -> String</autodoc> |
f32fc4bc RD |
21703 | </method> |
21704 | <method name="GetFilePath" type="String" overloaded="no"> | |
781d2982 | 21705 | <autodoc>GetFilePath(self) -> String</autodoc> |
f32fc4bc RD |
21706 | </method> |
21707 | <method name="SetPath" type="" overloaded="no"> | |
781d2982 | 21708 | <autodoc>SetPath(self, String path)</autodoc> |
f32fc4bc RD |
21709 | <paramlist> |
21710 | <param name="path" type="String" default=""/> | |
21711 | </paramlist> | |
21712 | </method> | |
21713 | <method name="ShowHidden" type="" overloaded="no"> | |
781d2982 | 21714 | <autodoc>ShowHidden(self, bool show)</autodoc> |
f32fc4bc RD |
21715 | <paramlist> |
21716 | <param name="show" type="bool" default=""/> | |
21717 | </paramlist> | |
21718 | </method> | |
21719 | <method name="GetShowHidden" type="bool" overloaded="no"> | |
781d2982 | 21720 | <autodoc>GetShowHidden(self) -> bool</autodoc> |
f32fc4bc RD |
21721 | </method> |
21722 | <method name="GetFilter" type="String" overloaded="no"> | |
781d2982 | 21723 | <autodoc>GetFilter(self) -> String</autodoc> |
f32fc4bc RD |
21724 | </method> |
21725 | <method name="SetFilter" type="" overloaded="no"> | |
781d2982 | 21726 | <autodoc>SetFilter(self, String filter)</autodoc> |
f32fc4bc RD |
21727 | <paramlist> |
21728 | <param name="filter" type="String" default=""/> | |
21729 | </paramlist> | |
21730 | </method> | |
21731 | <method name="GetFilterIndex" type="int" overloaded="no"> | |
781d2982 | 21732 | <autodoc>GetFilterIndex(self) -> int</autodoc> |
f32fc4bc RD |
21733 | </method> |
21734 | <method name="SetFilterIndex" type="" overloaded="no"> | |
781d2982 | 21735 | <autodoc>SetFilterIndex(self, int n)</autodoc> |
f32fc4bc RD |
21736 | <paramlist> |
21737 | <param name="n" type="int" default=""/> | |
21738 | </paramlist> | |
21739 | </method> | |
21740 | <method name="GetRootId" type="TreeItemId" overloaded="no"> | |
781d2982 | 21741 | <autodoc>GetRootId(self) -> TreeItemId</autodoc> |
f32fc4bc RD |
21742 | </method> |
21743 | <method name="GetTreeCtrl" type="TreeCtrl" overloaded="no"> | |
781d2982 | 21744 | <autodoc>GetTreeCtrl(self) -> TreeCtrl</autodoc> |
f32fc4bc RD |
21745 | </method> |
21746 | <method name="GetFilterListCtrl" type="wxDirFilterListCtrl" overloaded="no"> | |
781d2982 | 21747 | <autodoc>GetFilterListCtrl(self) -> DirFilterListCtrl</autodoc> |
f32fc4bc RD |
21748 | </method> |
21749 | <method name="FindChild" type="TreeItemId" overloaded="no"> | |
21750 | <autodoc>FindChild(wxTreeItemId parentId, wxString path) -> (item, done)</autodoc> | |
ce6878e6 RD |
21751 | <docstring>Find the child that matches the first part of 'path'. E.g. if a child |
21752 | path is "/usr" and 'path' is "/usr/include" then the child for | |
21753 | /usr is returned. If the path string has been used (we're at the | |
21754 | leaf), done is set to True. | |
21755 | </docstring> | |
f32fc4bc RD |
21756 | <paramlist> |
21757 | <param name="parentId" type="TreeItemId" default=""/> | |
21758 | <param name="path" type="String" default=""/> | |
21759 | <param name="OUTPUT" type="bool" default=""/> | |
21760 | </paramlist> | |
21761 | </method> | |
21762 | <method name="DoResize" type="" overloaded="no"> | |
781d2982 | 21763 | <autodoc>DoResize(self)</autodoc> |
f32fc4bc RD |
21764 | </method> |
21765 | <method name="ReCreateTree" type="" overloaded="no"> | |
781d2982 | 21766 | <autodoc>ReCreateTree(self)</autodoc> |
f32fc4bc RD |
21767 | </method> |
21768 | </class> | |
781d2982 | 21769 | <class name="DirFilterListCtrl" oldname="wxDirFilterListCtrl" module="_controls"> |
f32fc4bc RD |
21770 | <baseclass name="Choice"/> |
21771 | <constructor name="DirFilterListCtrl" overloaded="no"> | |
781d2982 | 21772 | <autodoc>__init__(self, GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, |
f32fc4bc RD |
21773 | Size size=DefaultSize, long style=0) -> DirFilterListCtrl</autodoc> |
21774 | <paramlist> | |
21775 | <param name="parent" type="GenericDirCtrl" default=""/> | |
21776 | <param name="id" type="int" default="-1"/> | |
21777 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
21778 | <param name="size" type="Size" default="wxDefaultSize"/> | |
21779 | <param name="style" type="long" default="0"/> | |
21780 | </paramlist> | |
21781 | </constructor> | |
21782 | <constructor name="PreDirFilterListCtrl" overloaded="no"> | |
21783 | <autodoc>PreDirFilterListCtrl() -> DirFilterListCtrl</autodoc> | |
21784 | </constructor> | |
21785 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 21786 | <autodoc>Create(self, GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, |
f32fc4bc RD |
21787 | Size size=DefaultSize, long style=0) -> bool</autodoc> |
21788 | <paramlist> | |
21789 | <param name="parent" type="GenericDirCtrl" default=""/> | |
21790 | <param name="id" type="int" default="-1"/> | |
21791 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
21792 | <param name="size" type="Size" default="wxDefaultSize"/> | |
21793 | <param name="style" type="long" default="0"/> | |
21794 | </paramlist> | |
21795 | </method> | |
21796 | <method name="FillFilterList" type="" overloaded="no"> | |
781d2982 | 21797 | <autodoc>FillFilterList(self, String filter, int defaultFilter)</autodoc> |
f32fc4bc RD |
21798 | <paramlist> |
21799 | <param name="filter" type="String" default=""/> | |
21800 | <param name="defaultFilter" type="int" default=""/> | |
21801 | </paramlist> | |
21802 | </method> | |
21803 | </class> | |
21804 | <pythoncode> | |
21805 | #--------------------------------------------------------------------------- | |
21806 | </pythoncode> | |
781d2982 | 21807 | <class name="PyControl" oldname="wxPyControl" module="_controls"> |
f32fc4bc RD |
21808 | <baseclass name="Control"/> |
21809 | <constructor name="PyControl" overloaded="no"> | |
781d2982 RD |
21810 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
21811 | Size size=DefaultSize, long style=0, Validator validator=DefaultValidator, | |
f32fc4bc RD |
21812 | String name=ControlNameStr) -> PyControl</autodoc> |
21813 | <paramlist> | |
21814 | <param name="parent" type="Window" default=""/> | |
781d2982 | 21815 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
21816 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
21817 | <param name="size" type="Size" default="wxDefaultSize"/> | |
21818 | <param name="style" type="long" default="0"/> | |
21819 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
21820 | <param name="name" type="String" default="wxPyControlNameStr"/> | |
21821 | </paramlist> | |
21822 | </constructor> | |
781d2982 RD |
21823 | <constructor name="PrePyControl" overloaded="no"> |
21824 | <autodoc>PrePyControl() -> PyControl</autodoc> | |
21825 | </constructor> | |
f32fc4bc | 21826 | <method name="_setCallbackInfo" type="" overloaded="no"> |
781d2982 | 21827 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
21828 | <paramlist> |
21829 | <param name="self" type="PyObject" default=""/> | |
21830 | <param name="_class" type="PyObject" default=""/> | |
21831 | </paramlist> | |
21832 | </method> | |
781d2982 RD |
21833 | <method name="SetBestSize" type="" overloaded="no"> |
21834 | <autodoc>SetBestSize(self, Size size)</autodoc> | |
21835 | <paramlist> | |
21836 | <param name="size" type="Size" default=""/> | |
21837 | </paramlist> | |
21838 | </method> | |
f32fc4bc | 21839 | <method name="base_DoMoveWindow" type="" overloaded="no"> |
781d2982 | 21840 | <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc> |
f32fc4bc RD |
21841 | <paramlist> |
21842 | <param name="x" type="int" default=""/> | |
21843 | <param name="y" type="int" default=""/> | |
21844 | <param name="width" type="int" default=""/> | |
21845 | <param name="height" type="int" default=""/> | |
21846 | </paramlist> | |
21847 | </method> | |
21848 | <method name="base_DoSetSize" type="" overloaded="no"> | |
781d2982 | 21849 | <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc> |
f32fc4bc RD |
21850 | <paramlist> |
21851 | <param name="x" type="int" default=""/> | |
21852 | <param name="y" type="int" default=""/> | |
21853 | <param name="width" type="int" default=""/> | |
21854 | <param name="height" type="int" default=""/> | |
21855 | <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/> | |
21856 | </paramlist> | |
21857 | </method> | |
21858 | <method name="base_DoSetClientSize" type="" overloaded="no"> | |
781d2982 | 21859 | <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc> |
f32fc4bc RD |
21860 | <paramlist> |
21861 | <param name="width" type="int" default=""/> | |
21862 | <param name="height" type="int" default=""/> | |
21863 | </paramlist> | |
21864 | </method> | |
21865 | <method name="base_DoSetVirtualSize" type="" overloaded="no"> | |
781d2982 | 21866 | <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc> |
f32fc4bc RD |
21867 | <paramlist> |
21868 | <param name="x" type="int" default=""/> | |
21869 | <param name="y" type="int" default=""/> | |
21870 | </paramlist> | |
21871 | </method> | |
21872 | <method name="base_DoGetSize" type="" overloaded="no"> | |
21873 | <autodoc>base_DoGetSize() -> (width, height)</autodoc> | |
21874 | <paramlist> | |
21875 | <param name="OUTPUT" type="int" default=""/> | |
21876 | <param name="OUTPUT" type="int" default=""/> | |
21877 | </paramlist> | |
21878 | </method> | |
21879 | <method name="base_DoGetClientSize" type="" overloaded="no"> | |
21880 | <autodoc>base_DoGetClientSize() -> (width, height)</autodoc> | |
21881 | <paramlist> | |
21882 | <param name="OUTPUT" type="int" default=""/> | |
21883 | <param name="OUTPUT" type="int" default=""/> | |
21884 | </paramlist> | |
21885 | </method> | |
21886 | <method name="base_DoGetPosition" type="" overloaded="no"> | |
21887 | <autodoc>base_DoGetPosition() -> (x,y)</autodoc> | |
21888 | <paramlist> | |
21889 | <param name="OUTPUT" type="int" default=""/> | |
21890 | <param name="OUTPUT" type="int" default=""/> | |
21891 | </paramlist> | |
21892 | </method> | |
21893 | <method name="base_DoGetVirtualSize" type="Size" overloaded="no"> | |
781d2982 | 21894 | <autodoc>base_DoGetVirtualSize(self) -> Size</autodoc> |
f32fc4bc RD |
21895 | </method> |
21896 | <method name="base_DoGetBestSize" type="Size" overloaded="no"> | |
781d2982 | 21897 | <autodoc>base_DoGetBestSize(self) -> Size</autodoc> |
f32fc4bc RD |
21898 | </method> |
21899 | <method name="base_InitDialog" type="" overloaded="no"> | |
781d2982 | 21900 | <autodoc>base_InitDialog(self)</autodoc> |
f32fc4bc RD |
21901 | </method> |
21902 | <method name="base_TransferDataToWindow" type="bool" overloaded="no"> | |
781d2982 | 21903 | <autodoc>base_TransferDataToWindow(self) -> bool</autodoc> |
f32fc4bc RD |
21904 | </method> |
21905 | <method name="base_TransferDataFromWindow" type="bool" overloaded="no"> | |
781d2982 | 21906 | <autodoc>base_TransferDataFromWindow(self) -> bool</autodoc> |
f32fc4bc RD |
21907 | </method> |
21908 | <method name="base_Validate" type="bool" overloaded="no"> | |
781d2982 | 21909 | <autodoc>base_Validate(self) -> bool</autodoc> |
f32fc4bc RD |
21910 | </method> |
21911 | <method name="base_AcceptsFocus" type="bool" overloaded="no"> | |
781d2982 | 21912 | <autodoc>base_AcceptsFocus(self) -> bool</autodoc> |
f32fc4bc RD |
21913 | </method> |
21914 | <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no"> | |
781d2982 | 21915 | <autodoc>base_AcceptsFocusFromKeyboard(self) -> bool</autodoc> |
f32fc4bc RD |
21916 | </method> |
21917 | <method name="base_GetMaxSize" type="Size" overloaded="no"> | |
781d2982 | 21918 | <autodoc>base_GetMaxSize(self) -> Size</autodoc> |
f32fc4bc RD |
21919 | </method> |
21920 | <method name="base_AddChild" type="" overloaded="no"> | |
781d2982 | 21921 | <autodoc>base_AddChild(self, Window child)</autodoc> |
f32fc4bc RD |
21922 | <paramlist> |
21923 | <param name="child" type="Window" default=""/> | |
21924 | </paramlist> | |
21925 | </method> | |
21926 | <method name="base_RemoveChild" type="" overloaded="no"> | |
781d2982 | 21927 | <autodoc>base_RemoveChild(self, Window child)</autodoc> |
f32fc4bc RD |
21928 | <paramlist> |
21929 | <param name="child" type="Window" default=""/> | |
21930 | </paramlist> | |
21931 | </method> | |
781d2982 RD |
21932 | <method name="base_ShouldInheritColours" type="bool" overloaded="no"> |
21933 | <autodoc>base_ShouldInheritColours(self) -> bool</autodoc> | |
21934 | </method> | |
21935 | <method name="base_ApplyParentThemeBackground" type="" overloaded="no"> | |
21936 | <autodoc>base_ApplyParentThemeBackground(self, Colour c)</autodoc> | |
21937 | <paramlist> | |
21938 | <param name="c" type="Colour" default=""/> | |
21939 | </paramlist> | |
21940 | </method> | |
21941 | <method name="base_GetDefaultAttributes" type="VisualAttributes" overloaded="no"> | |
21942 | <autodoc>base_GetDefaultAttributes(self) -> VisualAttributes</autodoc> | |
21943 | </method> | |
f32fc4bc RD |
21944 | </class> |
21945 | <pythoncode> | |
21946 | #--------------------------------------------------------------------------- | |
21947 | </pythoncode> | |
21948 | <pythoncode> | |
21949 | EVT_HELP = wx.PyEventBinder( wxEVT_HELP, 1) | |
21950 | EVT_HELP_RANGE = wx.PyEventBinder( wxEVT_HELP, 2) | |
21951 | EVT_DETAILED_HELP = wx.PyEventBinder( wxEVT_DETAILED_HELP, 1) | |
21952 | EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) | |
21953 | </pythoncode> | |
781d2982 RD |
21954 | <class name="HelpEvent" oldname="wxHelpEvent" module="_controls"> |
21955 | <docstring>A help event is sent when the user has requested context-sensitive | |
21956 | help. This can either be caused by the application requesting | |
21957 | context-sensitive help mode via wx.ContextHelp, or (on MS Windows) by | |
21958 | the system generating a WM_HELP message when the user pressed F1 or | |
21959 | clicked on the query button in a dialog caption. | |
21960 | ||
21961 | A help event is sent to the window that the user clicked on, and is | |
21962 | propagated up the window hierarchy until the event is processed or | |
21963 | there are no more event handlers. The application should call | |
21964 | event.GetId to check the identity of the clicked-on window, and then | |
21965 | either show some suitable help or call event.Skip if the identifier is | |
21966 | unrecognised. Calling Skip is important because it allows wxWindows to | |
21967 | generate further events for ancestors of the clicked-on | |
21968 | window. Otherwise it would be impossible to show help for container | |
ce6878e6 RD |
21969 | windows, since processing would stop after the first window found. |
21970 | ||
21971 | Events | |
21972 | ------- | |
21973 | ============== ========================================= | |
21974 | EVT_HELP Sent when the user has requested context- | |
21975 | sensitive help. | |
21976 | EVT_HELP_RANGE Allows to catch EVT_HELP for a range of IDs | |
21977 | ============== ========================================= | |
21978 | ||
21979 | :see: `wx.ContextHelp`, `wx.ContextHelpButton` | |
21980 | </docstring> | |
f32fc4bc RD |
21981 | <baseclass name="CommandEvent"/> |
21982 | <constructor name="HelpEvent" overloaded="no"> | |
781d2982 | 21983 | <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> HelpEvent</autodoc> |
f32fc4bc RD |
21984 | <paramlist> |
21985 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
21986 | <param name="winid" type="int" default="0"/> | |
21987 | <param name="pt" type="Point" default="wxDefaultPosition"/> | |
21988 | </paramlist> | |
21989 | </constructor> | |
21990 | <method name="GetPosition" type="Point" overloaded="no"> | |
781d2982 | 21991 | <autodoc>GetPosition(self) -> Point</autodoc> |
c2dda882 RD |
21992 | <docstring>Returns the left-click position of the mouse, in screen |
21993 | coordinates. This allows the application to position the help | |
21994 | appropriately.</docstring> | |
f32fc4bc RD |
21995 | </method> |
21996 | <method name="SetPosition" type="" overloaded="no"> | |
781d2982 | 21997 | <autodoc>SetPosition(self, Point pos)</autodoc> |
c2dda882 | 21998 | <docstring>Sets the left-click position of the mouse, in screen coordinates.</docstring> |
f32fc4bc RD |
21999 | <paramlist> |
22000 | <param name="pos" type="Point" default=""/> | |
22001 | </paramlist> | |
22002 | </method> | |
22003 | <method name="GetLink" type="String" overloaded="no"> | |
781d2982 | 22004 | <autodoc>GetLink(self) -> String</autodoc> |
c2dda882 | 22005 | <docstring>Get an optional link to further help</docstring> |
f32fc4bc RD |
22006 | </method> |
22007 | <method name="SetLink" type="" overloaded="no"> | |
781d2982 | 22008 | <autodoc>SetLink(self, String link)</autodoc> |
c2dda882 | 22009 | <docstring>Set an optional link to further help</docstring> |
f32fc4bc RD |
22010 | <paramlist> |
22011 | <param name="link" type="String" default=""/> | |
22012 | </paramlist> | |
22013 | </method> | |
22014 | <method name="GetTarget" type="String" overloaded="no"> | |
781d2982 | 22015 | <autodoc>GetTarget(self) -> String</autodoc> |
c2dda882 | 22016 | <docstring>Get an optional target to display help in. E.g. a window specification</docstring> |
f32fc4bc RD |
22017 | </method> |
22018 | <method name="SetTarget" type="" overloaded="no"> | |
781d2982 | 22019 | <autodoc>SetTarget(self, String target)</autodoc> |
c2dda882 | 22020 | <docstring>Set an optional target to display help in. E.g. a window specification</docstring> |
f32fc4bc RD |
22021 | <paramlist> |
22022 | <param name="target" type="String" default=""/> | |
22023 | </paramlist> | |
22024 | </method> | |
22025 | </class> | |
781d2982 RD |
22026 | <class name="ContextHelp" oldname="wxContextHelp" module="_controls"> |
22027 | <docstring>This class changes the cursor to a query and puts the application into | |
22028 | a 'context-sensitive help mode'. When the user left-clicks on a window | |
22029 | within the specified window, a ``EVT_HELP`` event is sent to that | |
22030 | control, and the application may respond to it by popping up some | |
22031 | help. | |
c2dda882 RD |
22032 | |
22033 | There are a couple of ways to invoke this behaviour implicitly: | |
22034 | ||
781d2982 RD |
22035 | * Use the wx.DIALOG_EX_CONTEXTHELP extended style for a dialog |
22036 | (Windows only). This will put a question mark in the titlebar, | |
22037 | and Windows will put the application into context-sensitive help | |
22038 | mode automatically, with further programming. | |
22039 | ||
22040 | * Create a `wx.ContextHelpButton`, whose predefined behaviour is | |
22041 | to create a context help object. Normally you will write your | |
22042 | application so that this button is only added to a dialog for | |
22043 | non-Windows platforms (use ``wx.DIALOG_EX_CONTEXTHELP`` on | |
22044 | Windows). | |
22045 | ||
22046 | :see: `wx.ContextHelpButton` | |
c2dda882 | 22047 | </docstring> |
f32fc4bc RD |
22048 | <baseclass name="Object"/> |
22049 | <constructor name="ContextHelp" overloaded="no"> | |
781d2982 RD |
22050 | <autodoc>__init__(self, Window window=None, bool doNow=True) -> ContextHelp</autodoc> |
22051 | <docstring>Constructs a context help object, calling BeginContextHelp if doNow is | |
22052 | true (the default). | |
c2dda882 RD |
22053 | |
22054 | If window is None, the top window is used.</docstring> | |
f32fc4bc RD |
22055 | <paramlist> |
22056 | <param name="window" type="Window" default="NULL"/> | |
22057 | <param name="doNow" type="bool" default="True"/> | |
22058 | </paramlist> | |
22059 | </constructor> | |
22060 | <destructor name="~wxContextHelp" overloaded="no"> | |
781d2982 | 22061 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
22062 | </destructor> |
22063 | <method name="BeginContextHelp" type="bool" overloaded="no"> | |
781d2982 RD |
22064 | <autodoc>BeginContextHelp(self, Window window=None) -> bool</autodoc> |
22065 | <docstring>Puts the application into context-sensitive help mode. window is the | |
22066 | window which will be used to catch events; if NULL, the top window | |
22067 | will be used. | |
c2dda882 RD |
22068 | |
22069 | Returns true if the application was successfully put into | |
781d2982 RD |
22070 | context-sensitive help mode. This function only returns when the event |
22071 | loop has finished.</docstring> | |
f32fc4bc RD |
22072 | <paramlist> |
22073 | <param name="window" type="Window" default="NULL"/> | |
22074 | </paramlist> | |
22075 | </method> | |
22076 | <method name="EndContextHelp" type="bool" overloaded="no"> | |
781d2982 | 22077 | <autodoc>EndContextHelp(self) -> bool</autodoc> |
c2dda882 RD |
22078 | <docstring>Ends context-sensitive help mode. Not normally called by the |
22079 | application.</docstring> | |
f32fc4bc RD |
22080 | </method> |
22081 | </class> | |
781d2982 RD |
22082 | <class name="ContextHelpButton" oldname="wxContextHelpButton" module="_controls"> |
22083 | <docstring>Instances of this class may be used to add a question mark button that | |
22084 | when pressed, puts the application into context-help mode. It does | |
22085 | this by creating a wx.ContextHelp object which itself generates a | |
22086 | ``EVT_HELP`` event when the user clicks on a window. | |
22087 | ||
22088 | On Windows, you may add a question-mark icon to a dialog by use of the | |
22089 | ``wx.DIALOG_EX_CONTEXTHELP`` extra style, but on other platforms you | |
22090 | will have to add a button explicitly, usually next to OK, Cancel or | |
22091 | similar buttons. | |
c2dda882 | 22092 | |
781d2982 | 22093 | :see: `wx.ContextHelp`, `wx.ContextHelpButton` |
c2dda882 | 22094 | </docstring> |
f32fc4bc RD |
22095 | <baseclass name="BitmapButton"/> |
22096 | <constructor name="ContextHelpButton" overloaded="no"> | |
781d2982 | 22097 | <autodoc>__init__(self, Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition, |
f32fc4bc | 22098 | Size size=DefaultSize, long style=BU_AUTODRAW) -> ContextHelpButton</autodoc> |
c2dda882 | 22099 | <docstring>Constructor, creating and showing a context help button.</docstring> |
f32fc4bc RD |
22100 | <paramlist> |
22101 | <param name="parent" type="Window" default=""/> | |
22102 | <param name="id" type="int" default="wxID_CONTEXT_HELP"/> | |
22103 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
22104 | <param name="size" type="Size" default="wxDefaultSize"/> | |
22105 | <param name="style" type="long" default="wxBU_AUTODRAW"/> | |
22106 | </paramlist> | |
22107 | </constructor> | |
22108 | </class> | |
781d2982 | 22109 | <class name="HelpProvider" oldname="wxHelpProvider" module="_controls"> |
c2dda882 RD |
22110 | <docstring>wx.HelpProvider is an abstract class used by a program |
22111 | implementing context-sensitive help to show the help text for the | |
22112 | given window. | |
22113 | ||
22114 | The current help provider must be explicitly set by the | |
22115 | application using wx.HelpProvider.Set().</docstring> | |
f32fc4bc RD |
22116 | <staticmethod name="Set" type="HelpProvider" overloaded="no"> |
22117 | <autodoc>Set(HelpProvider helpProvider) -> HelpProvider</autodoc> | |
781d2982 RD |
22118 | <docstring>Sset the current, application-wide help provider. Returns the previous |
22119 | one. Unlike some other classes, the help provider is not created on | |
22120 | demand. This must be explicitly done by the application.</docstring> | |
f32fc4bc RD |
22121 | <paramlist> |
22122 | <param name="helpProvider" type="HelpProvider" default=""/> | |
22123 | </paramlist> | |
22124 | </staticmethod> | |
22125 | <staticmethod name="Get" type="HelpProvider" overloaded="no"> | |
22126 | <autodoc>Get() -> HelpProvider</autodoc> | |
c2dda882 | 22127 | <docstring>Return the current application-wide help provider.</docstring> |
f32fc4bc RD |
22128 | </staticmethod> |
22129 | <method name="GetHelp" type="String" overloaded="no"> | |
781d2982 RD |
22130 | <autodoc>GetHelp(self, Window window) -> String</autodoc> |
22131 | <docstring>Gets the help string for this window. Its interpretation is dependent | |
22132 | on the help provider except that empty string always means that no | |
22133 | help is associated with the window.</docstring> | |
f32fc4bc RD |
22134 | <paramlist> |
22135 | <param name="window" type="Window" default=""/> | |
22136 | </paramlist> | |
22137 | </method> | |
22138 | <method name="ShowHelp" type="bool" overloaded="no"> | |
781d2982 | 22139 | <autodoc>ShowHelp(self, Window window) -> bool</autodoc> |
c2dda882 | 22140 | <docstring>Shows help for the given window. Uses GetHelp internally if |
781d2982 RD |
22141 | applicable. Returns True if it was done, or False if no help was |
22142 | available for this window.</docstring> | |
f32fc4bc RD |
22143 | <paramlist> |
22144 | <param name="window" type="Window" default=""/> | |
22145 | </paramlist> | |
22146 | </method> | |
22147 | <method name="AddHelp" type="" overloaded="no"> | |
781d2982 | 22148 | <autodoc>AddHelp(self, Window window, String text)</autodoc> |
c2dda882 | 22149 | <docstring>Associates the text with the given window.</docstring> |
f32fc4bc RD |
22150 | <paramlist> |
22151 | <param name="window" type="Window" default=""/> | |
22152 | <param name="text" type="String" default=""/> | |
22153 | </paramlist> | |
22154 | </method> | |
22155 | <method name="AddHelpById" type="" overloaded="no"> | |
781d2982 | 22156 | <autodoc>AddHelpById(self, int id, String text)</autodoc> |
c2dda882 | 22157 | <docstring>This version associates the given text with all windows with this |
781d2982 RD |
22158 | id. May be used to set the same help string for all Cancel buttons in |
22159 | the application, for example.</docstring> | |
f32fc4bc RD |
22160 | <paramlist> |
22161 | <param name="id" type="int" default=""/> | |
22162 | <param name="text" type="String" default=""/> | |
22163 | </paramlist> | |
22164 | </method> | |
c2dda882 | 22165 | <method name="RemoveHelp" type="" overloaded="no"> |
781d2982 | 22166 | <autodoc>RemoveHelp(self, Window window)</autodoc> |
c2dda882 | 22167 | <docstring>Removes the association between the window pointer and the help |
781d2982 RD |
22168 | text. This is called by the wx.Window destructor. Without this, the |
22169 | table of help strings will fill up and when window pointers are | |
22170 | reused, the wrong help string will be found.</docstring> | |
c2dda882 RD |
22171 | <paramlist> |
22172 | <param name="window" type="Window" default=""/> | |
22173 | </paramlist> | |
22174 | </method> | |
f32fc4bc | 22175 | <method name="Destroy" type="" overloaded="no"> |
781d2982 | 22176 | <autodoc>Destroy(self)</autodoc> |
f32fc4bc RD |
22177 | </method> |
22178 | </class> | |
781d2982 RD |
22179 | <class name="SimpleHelpProvider" oldname="wxSimpleHelpProvider" module="_controls"> |
22180 | <docstring>wx.SimpleHelpProvider is an implementation of `wx.HelpProvider` which | |
22181 | supports only plain text help strings, and shows the string associated | |
22182 | with the control (if any) in a tooltip.</docstring> | |
f32fc4bc RD |
22183 | <baseclass name="HelpProvider"/> |
22184 | <constructor name="SimpleHelpProvider" overloaded="no"> | |
781d2982 RD |
22185 | <autodoc>__init__(self) -> SimpleHelpProvider</autodoc> |
22186 | <docstring>wx.SimpleHelpProvider is an implementation of `wx.HelpProvider` which | |
22187 | supports only plain text help strings, and shows the string associated | |
22188 | with the control (if any) in a tooltip.</docstring> | |
f32fc4bc RD |
22189 | </constructor> |
22190 | </class> | |
22191 | <pythoncode> | |
22192 | #--------------------------------------------------------------------------- | |
22193 | </pythoncode> | |
781d2982 | 22194 | <class name="DragImage" oldname="wxGenericDragImage" module="_controls"> |
f32fc4bc RD |
22195 | <baseclass name="Object"/> |
22196 | <constructor name="wxGenericDragImage" overloaded="no"> | |
781d2982 | 22197 | <autodoc>__init__(self, Bitmap image, Cursor cursor=wxNullCursor) -> DragImage</autodoc> |
f32fc4bc RD |
22198 | <paramlist> |
22199 | <param name="image" type="Bitmap" default=""/> | |
22200 | <param name="cursor" type="Cursor" default="wxNullCursor"/> | |
22201 | </paramlist> | |
22202 | </constructor> | |
22203 | <constructor name="DragIcon" overloaded="no"> | |
22204 | <autodoc>DragIcon(Icon image, Cursor cursor=wxNullCursor) -> DragImage</autodoc> | |
22205 | <paramlist> | |
22206 | <param name="image" type="Icon" default=""/> | |
22207 | <param name="cursor" type="Cursor" default="wxNullCursor"/> | |
22208 | </paramlist> | |
22209 | </constructor> | |
22210 | <constructor name="DragString" overloaded="no"> | |
22211 | <autodoc>DragString(String str, Cursor cursor=wxNullCursor) -> DragImage</autodoc> | |
22212 | <paramlist> | |
22213 | <param name="str" type="String" default=""/> | |
22214 | <param name="cursor" type="Cursor" default="wxNullCursor"/> | |
22215 | </paramlist> | |
22216 | </constructor> | |
22217 | <constructor name="DragTreeItem" overloaded="no"> | |
22218 | <autodoc>DragTreeItem(TreeCtrl treeCtrl, TreeItemId id) -> DragImage</autodoc> | |
22219 | <paramlist> | |
22220 | <param name="treeCtrl" type="TreeCtrl" default=""/> | |
22221 | <param name="id" type="TreeItemId" default=""/> | |
22222 | </paramlist> | |
22223 | </constructor> | |
22224 | <constructor name="DragListItem" overloaded="no"> | |
22225 | <autodoc>DragListItem(ListCtrl listCtrl, long id) -> DragImage</autodoc> | |
22226 | <paramlist> | |
22227 | <param name="listCtrl" type="ListCtrl" default=""/> | |
22228 | <param name="id" type="long" default=""/> | |
22229 | </paramlist> | |
22230 | </constructor> | |
22231 | <destructor name="~wxGenericDragImage" overloaded="no"> | |
781d2982 | 22232 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
22233 | </destructor> |
22234 | <method name="SetBackingBitmap" type="" overloaded="no"> | |
781d2982 | 22235 | <autodoc>SetBackingBitmap(self, Bitmap bitmap)</autodoc> |
f32fc4bc RD |
22236 | <paramlist> |
22237 | <param name="bitmap" type="Bitmap" default=""/> | |
22238 | </paramlist> | |
22239 | </method> | |
22240 | <method name="BeginDrag" type="bool" overloaded="no"> | |
781d2982 | 22241 | <autodoc>BeginDrag(self, Point hotspot, Window window, bool fullScreen=False, |
f32fc4bc RD |
22242 | Rect rect=None) -> bool</autodoc> |
22243 | <paramlist> | |
22244 | <param name="hotspot" type="Point" default=""/> | |
22245 | <param name="window" type="Window" default=""/> | |
22246 | <param name="fullScreen" type="bool" default="False"/> | |
22247 | <param name="rect" type="Rect" default="NULL"/> | |
22248 | </paramlist> | |
22249 | </method> | |
22250 | <method name="BeginDragBounded" type="bool" overloaded="no"> | |
781d2982 | 22251 | <autodoc>BeginDragBounded(self, Point hotspot, Window window, Window boundingWindow) -> bool</autodoc> |
f32fc4bc RD |
22252 | <paramlist> |
22253 | <param name="hotspot" type="Point" default=""/> | |
22254 | <param name="window" type="Window" default=""/> | |
22255 | <param name="boundingWindow" type="Window" default=""/> | |
22256 | </paramlist> | |
22257 | </method> | |
22258 | <method name="EndDrag" type="bool" overloaded="no"> | |
781d2982 | 22259 | <autodoc>EndDrag(self) -> bool</autodoc> |
f32fc4bc RD |
22260 | </method> |
22261 | <method name="Move" type="bool" overloaded="no"> | |
781d2982 | 22262 | <autodoc>Move(self, Point pt) -> bool</autodoc> |
f32fc4bc RD |
22263 | <paramlist> |
22264 | <param name="pt" type="Point" default=""/> | |
22265 | </paramlist> | |
22266 | </method> | |
22267 | <method name="Show" type="bool" overloaded="no"> | |
781d2982 | 22268 | <autodoc>Show(self) -> bool</autodoc> |
f32fc4bc RD |
22269 | </method> |
22270 | <method name="Hide" type="bool" overloaded="no"> | |
781d2982 | 22271 | <autodoc>Hide(self) -> bool</autodoc> |
f32fc4bc RD |
22272 | </method> |
22273 | <method name="GetImageRect" type="Rect" overloaded="no"> | |
781d2982 | 22274 | <autodoc>GetImageRect(self, Point pos) -> Rect</autodoc> |
f32fc4bc RD |
22275 | <paramlist> |
22276 | <param name="pos" type="Point" default=""/> | |
22277 | </paramlist> | |
22278 | </method> | |
22279 | <method name="DoDrawImage" type="bool" overloaded="no"> | |
781d2982 | 22280 | <autodoc>DoDrawImage(self, DC dc, Point pos) -> bool</autodoc> |
f32fc4bc RD |
22281 | <paramlist> |
22282 | <param name="dc" type="DC" default=""/> | |
22283 | <param name="pos" type="Point" default=""/> | |
22284 | </paramlist> | |
22285 | </method> | |
22286 | <method name="UpdateBackingFromWindow" type="bool" overloaded="no"> | |
781d2982 | 22287 | <autodoc>UpdateBackingFromWindow(self, DC windowDC, MemoryDC destDC, Rect sourceRect, Rect destRect) -> bool</autodoc> |
f32fc4bc RD |
22288 | <paramlist> |
22289 | <param name="windowDC" type="DC" default=""/> | |
22290 | <param name="destDC" type="MemoryDC" default=""/> | |
22291 | <param name="sourceRect" type="Rect" default=""/> | |
22292 | <param name="destRect" type="Rect" default=""/> | |
22293 | </paramlist> | |
22294 | </method> | |
22295 | <method name="RedrawImage" type="bool" overloaded="no"> | |
781d2982 | 22296 | <autodoc>RedrawImage(self, Point oldPos, Point newPos, bool eraseOld, bool drawNew) -> bool</autodoc> |
f32fc4bc RD |
22297 | <paramlist> |
22298 | <param name="oldPos" type="Point" default=""/> | |
22299 | <param name="newPos" type="Point" default=""/> | |
22300 | <param name="eraseOld" type="bool" default=""/> | |
22301 | <param name="drawNew" type="bool" default=""/> | |
22302 | </paramlist> | |
22303 | </method> | |
22304 | </class> | |
22305 | </module> | |
781d2982 RD |
22306 | <module name="_misc"> |
22307 | <import name="_core"/> | |
22308 | <pythoncode> wx = _core </pythoncode> | |
f32fc4bc RD |
22309 | <pythoncode> |
22310 | #--------------------------------------------------------------------------- | |
22311 | </pythoncode> | |
781d2982 | 22312 | <class name="SystemSettings" oldname="wxSystemSettings" module="_misc"> |
f32fc4bc RD |
22313 | <staticmethod name="GetColour" type="Colour" overloaded="no"> |
22314 | <autodoc>GetColour(int index) -> Colour</autodoc> | |
22315 | <paramlist> | |
22316 | <param name="index" type="wxSystemColour" default=""/> | |
22317 | </paramlist> | |
22318 | </staticmethod> | |
22319 | <staticmethod name="GetFont" type="Font" overloaded="no"> | |
22320 | <autodoc>GetFont(int index) -> Font</autodoc> | |
22321 | <paramlist> | |
22322 | <param name="index" type="wxSystemFont" default=""/> | |
22323 | </paramlist> | |
22324 | </staticmethod> | |
22325 | <staticmethod name="GetMetric" type="int" overloaded="no"> | |
22326 | <autodoc>GetMetric(int index) -> int</autodoc> | |
22327 | <paramlist> | |
22328 | <param name="index" type="wxSystemMetric" default=""/> | |
22329 | </paramlist> | |
22330 | </staticmethod> | |
22331 | <staticmethod name="HasFeature" type="bool" overloaded="no"> | |
22332 | <autodoc>HasFeature(int index) -> bool</autodoc> | |
22333 | <paramlist> | |
22334 | <param name="index" type="wxSystemFeature" default=""/> | |
22335 | </paramlist> | |
22336 | </staticmethod> | |
22337 | <staticmethod name="GetScreenType" type="wxSystemScreenType" overloaded="no"> | |
22338 | <autodoc>GetScreenType() -> int</autodoc> | |
22339 | </staticmethod> | |
22340 | <staticmethod name="SetScreenType" type="" overloaded="no"> | |
22341 | <autodoc>SetScreenType(int screen)</autodoc> | |
22342 | <paramlist> | |
22343 | <param name="screen" type="wxSystemScreenType" default=""/> | |
22344 | </paramlist> | |
22345 | </staticmethod> | |
22346 | </class> | |
781d2982 | 22347 | <class name="SystemOptions" oldname="wxSystemOptions" module="_misc"> |
f32fc4bc RD |
22348 | <baseclass name="Object"/> |
22349 | <constructor name="SystemOptions" overloaded="no"> | |
781d2982 | 22350 | <autodoc>__init__(self) -> SystemOptions</autodoc> |
f32fc4bc RD |
22351 | </constructor> |
22352 | <staticmethod name="SetOption" type="" overloaded="no"> | |
22353 | <autodoc>SetOption(String name, String value)</autodoc> | |
22354 | <paramlist> | |
22355 | <param name="name" type="String" default=""/> | |
22356 | <param name="value" type="String" default=""/> | |
22357 | </paramlist> | |
22358 | </staticmethod> | |
22359 | <staticmethod name="SetOptionInt" type="" overloaded="no"> | |
22360 | <autodoc>SetOptionInt(String name, int value)</autodoc> | |
22361 | <paramlist> | |
22362 | <param name="name" type="String" default=""/> | |
22363 | <param name="value" type="int" default=""/> | |
22364 | </paramlist> | |
22365 | </staticmethod> | |
22366 | <staticmethod name="GetOption" type="String" overloaded="no"> | |
22367 | <autodoc>GetOption(String name) -> String</autodoc> | |
22368 | <paramlist> | |
22369 | <param name="name" type="String" default=""/> | |
22370 | </paramlist> | |
22371 | </staticmethod> | |
22372 | <staticmethod name="GetOptionInt" type="int" overloaded="no"> | |
22373 | <autodoc>GetOptionInt(String name) -> int</autodoc> | |
22374 | <paramlist> | |
22375 | <param name="name" type="String" default=""/> | |
22376 | </paramlist> | |
22377 | </staticmethod> | |
22378 | <staticmethod name="HasOption" type="bool" overloaded="no"> | |
22379 | <autodoc>HasOption(String name) -> bool</autodoc> | |
22380 | <paramlist> | |
22381 | <param name="name" type="String" default=""/> | |
22382 | </paramlist> | |
22383 | </staticmethod> | |
22384 | </class> | |
22385 | <pythoncode> | |
0f43fbdf RD |
22386 | #--------------------------------------------------------------------------- |
22387 | </pythoncode> | |
f32fc4bc RD |
22388 | <method name="NewId" oldname="wxNewId" type="long" overloaded="no"> |
22389 | <autodoc>NewId() -> long</autodoc> | |
22390 | </method> | |
22391 | <method name="RegisterId" oldname="wxRegisterId" type="" overloaded="no"> | |
22392 | <autodoc>RegisterId(long id)</autodoc> | |
856bf319 | 22393 | <paramlist> |
f32fc4bc | 22394 | <param name="id" type="long" default=""/> |
856bf319 | 22395 | </paramlist> |
856bf319 | 22396 | </method> |
f32fc4bc RD |
22397 | <method name="GetCurrentId" oldname="wxGetCurrentId" type="long" overloaded="no"> |
22398 | <autodoc>GetCurrentId() -> long</autodoc> | |
856bf319 | 22399 | </method> |
f32fc4bc RD |
22400 | <method name="Bell" oldname="wxBell" type="" overloaded="no"> |
22401 | <autodoc>Bell()</autodoc> | |
856bf319 | 22402 | </method> |
f32fc4bc RD |
22403 | <method name="EndBusyCursor" oldname="wxEndBusyCursor" type="" overloaded="no"> |
22404 | <autodoc>EndBusyCursor()</autodoc> | |
22405 | </method> | |
22406 | <method name="GetElapsedTime" oldname="wxGetElapsedTime" type="long" overloaded="no"> | |
22407 | <autodoc>GetElapsedTime(bool resetTimer=True) -> long</autodoc> | |
856bf319 | 22408 | <paramlist> |
f32fc4bc | 22409 | <param name="resetTimer" type="bool" default="True"/> |
856bf319 | 22410 | </paramlist> |
856bf319 | 22411 | </method> |
f32fc4bc RD |
22412 | <method name="GetMousePosition" oldname="wxGetMousePosition" type="" overloaded="no"> |
22413 | <autodoc>GetMousePosition() -> (x,y)</autodoc> | |
22414 | <paramlist> | |
22415 | <param name="OUTPUT" type="int" default=""/> | |
22416 | <param name="OUTPUT" type="int" default=""/> | |
22417 | </paramlist> | |
856bf319 | 22418 | </method> |
f32fc4bc RD |
22419 | <method name="IsBusy" oldname="wxIsBusy" type="bool" overloaded="no"> |
22420 | <autodoc>IsBusy() -> bool</autodoc> | |
856bf319 | 22421 | </method> |
f32fc4bc RD |
22422 | <method name="Now" oldname="wxNow" type="String" overloaded="no"> |
22423 | <autodoc>Now() -> String</autodoc> | |
856bf319 | 22424 | </method> |
f32fc4bc RD |
22425 | <method name="Shell" oldname="wxShell" type="bool" overloaded="no"> |
22426 | <autodoc>Shell(String command=EmptyString) -> bool</autodoc> | |
22427 | <paramlist> | |
22428 | <param name="command" type="String" default="wxPyEmptyString"/> | |
22429 | </paramlist> | |
856bf319 | 22430 | </method> |
f32fc4bc RD |
22431 | <method name="StartTimer" oldname="wxStartTimer" type="" overloaded="no"> |
22432 | <autodoc>StartTimer()</autodoc> | |
856bf319 | 22433 | </method> |
f32fc4bc RD |
22434 | <method name="GetOsVersion" oldname="wxGetOsVersion" type="int" overloaded="no"> |
22435 | <autodoc>GetOsVersion() -> (platform, major, minor)</autodoc> | |
22436 | <paramlist> | |
22437 | <param name="OUTPUT" type="int" default=""/> | |
22438 | <param name="OUTPUT" type="int" default=""/> | |
22439 | </paramlist> | |
856bf319 | 22440 | </method> |
f32fc4bc RD |
22441 | <method name="GetOsDescription" oldname="wxGetOsDescription" type="String" overloaded="no"> |
22442 | <autodoc>GetOsDescription() -> String</autodoc> | |
856bf319 | 22443 | </method> |
f32fc4bc RD |
22444 | <method name="GetFreeMemory" oldname="wxGetFreeMemory" type="long" overloaded="no"> |
22445 | <autodoc>GetFreeMemory() -> long</autodoc> | |
856bf319 | 22446 | </method> |
f32fc4bc RD |
22447 | <method name="Shutdown" oldname="wxShutdown" type="bool" overloaded="no"> |
22448 | <autodoc>Shutdown(int wFlags) -> bool</autodoc> | |
22449 | <paramlist> | |
22450 | <param name="wFlags" type="wxShutdownFlags" default=""/> | |
22451 | </paramlist> | |
856bf319 | 22452 | </method> |
f32fc4bc RD |
22453 | <method name="Sleep" oldname="wxSleep" type="" overloaded="no"> |
22454 | <autodoc>Sleep(int secs)</autodoc> | |
22455 | <paramlist> | |
22456 | <param name="secs" type="int" default=""/> | |
22457 | </paramlist> | |
856bf319 | 22458 | </method> |
ce6878e6 RD |
22459 | <method name="MilliSleep" oldname="wxMilliSleep" type="" overloaded="no"> |
22460 | <autodoc>MilliSleep(unsigned long milliseconds)</autodoc> | |
f32fc4bc RD |
22461 | <paramlist> |
22462 | <param name="milliseconds" type="unsigned long" default=""/> | |
22463 | </paramlist> | |
856bf319 | 22464 | </method> |
ce6878e6 RD |
22465 | <method name="MicroSleep" oldname="wxMicroSleep" type="" overloaded="no"> |
22466 | <autodoc>MicroSleep(unsigned long microseconds)</autodoc> | |
22467 | <paramlist> | |
22468 | <param name="microseconds" type="unsigned long" default=""/> | |
22469 | </paramlist> | |
22470 | </method> | |
22471 | <pythoncode> Usleep = MilliSleep </pythoncode> | |
f32fc4bc RD |
22472 | <method name="EnableTopLevelWindows" oldname="wxEnableTopLevelWindows" type="" overloaded="no"> |
22473 | <autodoc>EnableTopLevelWindows(bool enable)</autodoc> | |
22474 | <paramlist> | |
22475 | <param name="enable" type="bool" default=""/> | |
22476 | </paramlist> | |
856bf319 | 22477 | </method> |
f32fc4bc RD |
22478 | <method name="StripMenuCodes" oldname="wxStripMenuCodes" type="String" overloaded="no"> |
22479 | <autodoc>StripMenuCodes(String in) -> String</autodoc> | |
22480 | <paramlist> | |
22481 | <param name="in" type="String" default=""/> | |
22482 | </paramlist> | |
856bf319 | 22483 | </method> |
f32fc4bc RD |
22484 | <method name="GetEmailAddress" oldname="wxGetEmailAddress" type="String" overloaded="no"> |
22485 | <autodoc>GetEmailAddress() -> String</autodoc> | |
856bf319 | 22486 | </method> |
f32fc4bc RD |
22487 | <method name="GetHostName" oldname="wxGetHostName" type="String" overloaded="no"> |
22488 | <autodoc>GetHostName() -> String</autodoc> | |
856bf319 | 22489 | </method> |
f32fc4bc RD |
22490 | <method name="GetFullHostName" oldname="wxGetFullHostName" type="String" overloaded="no"> |
22491 | <autodoc>GetFullHostName() -> String</autodoc> | |
856bf319 | 22492 | </method> |
f32fc4bc RD |
22493 | <method name="GetUserId" oldname="wxGetUserId" type="String" overloaded="no"> |
22494 | <autodoc>GetUserId() -> String</autodoc> | |
856bf319 | 22495 | </method> |
f32fc4bc RD |
22496 | <method name="GetUserName" oldname="wxGetUserName" type="String" overloaded="no"> |
22497 | <autodoc>GetUserName() -> String</autodoc> | |
856bf319 | 22498 | </method> |
f32fc4bc RD |
22499 | <method name="GetHomeDir" oldname="wxGetHomeDir" type="String" overloaded="no"> |
22500 | <autodoc>GetHomeDir() -> String</autodoc> | |
856bf319 | 22501 | </method> |
f32fc4bc RD |
22502 | <method name="GetUserHome" oldname="wxGetUserHome" type="String" overloaded="no"> |
22503 | <autodoc>GetUserHome(String user=EmptyString) -> String</autodoc> | |
856bf319 | 22504 | <paramlist> |
f32fc4bc | 22505 | <param name="user" type="String" default="wxPyEmptyString"/> |
856bf319 RD |
22506 | </paramlist> |
22507 | </method> | |
f32fc4bc RD |
22508 | <method name="GetProcessId" oldname="wxGetProcessId" type="unsigned long" overloaded="no"> |
22509 | <autodoc>GetProcessId() -> unsigned long</autodoc> | |
22510 | </method> | |
22511 | <method name="Trap" oldname="wxTrap" type="" overloaded="no"> | |
22512 | <autodoc>Trap()</autodoc> | |
856bf319 | 22513 | </method> |
f32fc4bc RD |
22514 | <method name="FileSelector" oldname="wxFileSelector" type="String" overloaded="no"> |
22515 | <autodoc>FileSelector(String message=FileSelectorPromptStr, String default_path=EmptyString, | |
22516 | String default_filename=EmptyString, | |
22517 | String default_extension=EmptyString, | |
22518 | String wildcard=FileSelectorDefaultWildcardStr, | |
22519 | int flags=0, Window parent=None, int x=-1, | |
22520 | int y=-1) -> String</autodoc> | |
856bf319 | 22521 | <paramlist> |
f32fc4bc RD |
22522 | <param name="message" type="String" default="wxPyFileSelectorPromptStr"/> |
22523 | <param name="default_path" type="String" default="wxPyEmptyString"/> | |
22524 | <param name="default_filename" type="String" default="wxPyEmptyString"/> | |
22525 | <param name="default_extension" type="String" default="wxPyEmptyString"/> | |
22526 | <param name="wildcard" type="String" default="wxPyFileSelectorDefaultWildcardStr"/> | |
22527 | <param name="flags" type="int" default="0"/> | |
22528 | <param name="parent" type="Window" default="NULL"/> | |
22529 | <param name="x" type="int" default="-1"/> | |
22530 | <param name="y" type="int" default="-1"/> | |
856bf319 RD |
22531 | </paramlist> |
22532 | </method> | |
f32fc4bc RD |
22533 | <method name="LoadFileSelector" oldname="wxLoadFileSelector" type="String" overloaded="no"> |
22534 | <autodoc>LoadFileSelector(String what, String extension, String default_name=EmptyString, | |
22535 | Window parent=None) -> String</autodoc> | |
856bf319 | 22536 | <paramlist> |
f32fc4bc RD |
22537 | <param name="what" type="String" default=""/> |
22538 | <param name="extension" type="String" default=""/> | |
22539 | <param name="default_name" type="String" default="wxPyEmptyString"/> | |
22540 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
22541 | </paramlist> |
22542 | </method> | |
f32fc4bc RD |
22543 | <method name="SaveFileSelector" oldname="wxSaveFileSelector" type="String" overloaded="no"> |
22544 | <autodoc>SaveFileSelector(String what, String extension, String default_name=EmptyString, | |
22545 | Window parent=None) -> String</autodoc> | |
856bf319 | 22546 | <paramlist> |
f32fc4bc RD |
22547 | <param name="what" type="String" default=""/> |
22548 | <param name="extension" type="String" default=""/> | |
22549 | <param name="default_name" type="String" default="wxPyEmptyString"/> | |
22550 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
22551 | </paramlist> |
22552 | </method> | |
f32fc4bc RD |
22553 | <method name="DirSelector" oldname="wxDirSelector" type="String" overloaded="no"> |
22554 | <autodoc>DirSelector(String message=DirSelectorPromptStr, String defaultPath=EmptyString, | |
22555 | long style=DD_DEFAULT_STYLE, | |
22556 | Point pos=DefaultPosition, Window parent=None) -> String</autodoc> | |
856bf319 | 22557 | <paramlist> |
f32fc4bc RD |
22558 | <param name="message" type="String" default="wxPyDirSelectorPromptStr"/> |
22559 | <param name="defaultPath" type="String" default="wxPyEmptyString"/> | |
22560 | <param name="style" type="long" default="wxDD_DEFAULT_STYLE"/> | |
22561 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
22562 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
22563 | </paramlist> |
22564 | </method> | |
f32fc4bc RD |
22565 | <method name="GetTextFromUser" oldname="wxGetTextFromUser" type="String" overloaded="no"> |
22566 | <autodoc>GetTextFromUser(String message, String caption=EmptyString, String default_value=EmptyString, | |
22567 | Window parent=None, | |
22568 | int x=-1, int y=-1, bool centre=True) -> String</autodoc> | |
856bf319 | 22569 | <paramlist> |
f32fc4bc RD |
22570 | <param name="message" type="String" default=""/> |
22571 | <param name="caption" type="String" default="wxPyEmptyString"/> | |
22572 | <param name="default_value" type="String" default="wxPyEmptyString"/> | |
22573 | <param name="parent" type="Window" default="NULL"/> | |
22574 | <param name="x" type="int" default="-1"/> | |
22575 | <param name="y" type="int" default="-1"/> | |
22576 | <param name="centre" type="bool" default="True"/> | |
856bf319 RD |
22577 | </paramlist> |
22578 | </method> | |
f32fc4bc RD |
22579 | <method name="GetPasswordFromUser" oldname="wxGetPasswordFromUser" type="String" overloaded="no"> |
22580 | <autodoc>GetPasswordFromUser(String message, String caption=EmptyString, String default_value=EmptyString, | |
22581 | Window parent=None) -> String</autodoc> | |
856bf319 | 22582 | <paramlist> |
f32fc4bc RD |
22583 | <param name="message" type="String" default=""/> |
22584 | <param name="caption" type="String" default="wxPyEmptyString"/> | |
22585 | <param name="default_value" type="String" default="wxPyEmptyString"/> | |
22586 | <param name="parent" type="Window" default="NULL"/> | |
856bf319 RD |
22587 | </paramlist> |
22588 | </method> | |
f32fc4bc RD |
22589 | <method name="GetSingleChoice" oldname="wxGetSingleChoice" type="String" overloaded="no"> |
22590 | <autodoc>GetSingleChoice(String message, String caption, int choices, String choices_array, | |
22591 | Window parent=None, int x=-1, | |
22592 | int y=-1, bool centre=True, int width=150, int height=200) -> String</autodoc> | |
856bf319 | 22593 | <paramlist> |
f32fc4bc RD |
22594 | <param name="message" type="String" default=""/> |
22595 | <param name="caption" type="String" default=""/> | |
22596 | <param name="choices" type="int" default=""/> | |
22597 | <param name="choices_array" type="String" default=""/> | |
22598 | <param name="parent" type="Window" default="NULL"/> | |
22599 | <param name="x" type="int" default="-1"/> | |
22600 | <param name="y" type="int" default="-1"/> | |
22601 | <param name="centre" type="bool" default="True"/> | |
22602 | <param name="width" type="int" default="150"/> | |
22603 | <param name="height" type="int" default="200"/> | |
856bf319 RD |
22604 | </paramlist> |
22605 | </method> | |
f32fc4bc RD |
22606 | <method name="GetSingleChoiceIndex" oldname="wxGetSingleChoiceIndex" type="int" overloaded="no"> |
22607 | <autodoc>GetSingleChoiceIndex(String message, String caption, int choices, String choices_array, | |
22608 | Window parent=None, int x=-1, | |
22609 | int y=-1, bool centre=True, int width=150, int height=200) -> int</autodoc> | |
856bf319 | 22610 | <paramlist> |
f32fc4bc RD |
22611 | <param name="message" type="String" default=""/> |
22612 | <param name="caption" type="String" default=""/> | |
22613 | <param name="choices" type="int" default=""/> | |
22614 | <param name="choices_array" type="String" default=""/> | |
22615 | <param name="parent" type="Window" default="NULL"/> | |
22616 | <param name="x" type="int" default="-1"/> | |
22617 | <param name="y" type="int" default="-1"/> | |
22618 | <param name="centre" type="bool" default="True"/> | |
22619 | <param name="width" type="int" default="150"/> | |
22620 | <param name="height" type="int" default="200"/> | |
856bf319 RD |
22621 | </paramlist> |
22622 | </method> | |
f32fc4bc RD |
22623 | <method name="MessageBox" oldname="wxMessageBox" type="int" overloaded="no"> |
22624 | <autodoc>MessageBox(String message, String caption=EmptyString, int style=wxOK|wxCENTRE, | |
22625 | Window parent=None, int x=-1, | |
22626 | int y=-1) -> int</autodoc> | |
856bf319 | 22627 | <paramlist> |
f32fc4bc RD |
22628 | <param name="message" type="String" default=""/> |
22629 | <param name="caption" type="String" default="wxPyEmptyString"/> | |
22630 | <param name="style" type="int" default="wxOK|wxCENTRE"/> | |
22631 | <param name="parent" type="Window" default="NULL"/> | |
22632 | <param name="x" type="int" default="-1"/> | |
22633 | <param name="y" type="int" default="-1"/> | |
856bf319 RD |
22634 | </paramlist> |
22635 | </method> | |
f32fc4bc RD |
22636 | <method name="GetNumberFromUser" oldname="wxGetNumberFromUser" type="long" overloaded="no"> |
22637 | <autodoc>GetNumberFromUser(String message, String prompt, String caption, long value, | |
22638 | long min=0, long max=100, Window parent=None, | |
22639 | Point pos=DefaultPosition) -> long</autodoc> | |
856bf319 | 22640 | <paramlist> |
f32fc4bc RD |
22641 | <param name="message" type="String" default=""/> |
22642 | <param name="prompt" type="String" default=""/> | |
22643 | <param name="caption" type="String" default=""/> | |
22644 | <param name="value" type="long" default=""/> | |
22645 | <param name="min" type="long" default="0"/> | |
22646 | <param name="max" type="long" default="100"/> | |
22647 | <param name="parent" type="Window" default="NULL"/> | |
22648 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
856bf319 RD |
22649 | </paramlist> |
22650 | </method> | |
f32fc4bc RD |
22651 | <method name="ColourDisplay" oldname="wxColourDisplay" type="bool" overloaded="no"> |
22652 | <autodoc>ColourDisplay() -> bool</autodoc> | |
22653 | </method> | |
22654 | <method name="DisplayDepth" oldname="wxDisplayDepth" type="int" overloaded="no"> | |
22655 | <autodoc>DisplayDepth() -> int</autodoc> | |
22656 | </method> | |
22657 | <method name="GetDisplayDepth" oldname="wxGetDisplayDepth" type="int" overloaded="no"> | |
22658 | <autodoc>GetDisplayDepth() -> int</autodoc> | |
22659 | </method> | |
22660 | <method name="DisplaySize" oldname="wxDisplaySize" type="" overloaded="no"> | |
22661 | <autodoc>DisplaySize() -> (width, height)</autodoc> | |
856bf319 | 22662 | <paramlist> |
f32fc4bc RD |
22663 | <param name="OUTPUT" type="int" default=""/> |
22664 | <param name="OUTPUT" type="int" default=""/> | |
856bf319 RD |
22665 | </paramlist> |
22666 | </method> | |
f32fc4bc RD |
22667 | <method name="GetDisplaySize" oldname="wxGetDisplaySize" type="Size" overloaded="no"> |
22668 | <autodoc>GetDisplaySize() -> Size</autodoc> | |
22669 | </method> | |
22670 | <method name="DisplaySizeMM" oldname="wxDisplaySizeMM" type="" overloaded="no"> | |
22671 | <autodoc>DisplaySizeMM() -> (width, height)</autodoc> | |
856bf319 | 22672 | <paramlist> |
f32fc4bc RD |
22673 | <param name="OUTPUT" type="int" default=""/> |
22674 | <param name="OUTPUT" type="int" default=""/> | |
856bf319 RD |
22675 | </paramlist> |
22676 | </method> | |
f32fc4bc RD |
22677 | <method name="GetDisplaySizeMM" oldname="wxGetDisplaySizeMM" type="Size" overloaded="no"> |
22678 | <autodoc>GetDisplaySizeMM() -> Size</autodoc> | |
22679 | </method> | |
22680 | <method name="ClientDisplayRect" oldname="wxClientDisplayRect" type="" overloaded="no"> | |
22681 | <autodoc>ClientDisplayRect() -> (x, y, width, height)</autodoc> | |
856bf319 | 22682 | <paramlist> |
f32fc4bc RD |
22683 | <param name="OUTPUT" type="int" default=""/> |
22684 | <param name="OUTPUT" type="int" default=""/> | |
22685 | <param name="OUTPUT" type="int" default=""/> | |
22686 | <param name="OUTPUT" type="int" default=""/> | |
856bf319 RD |
22687 | </paramlist> |
22688 | </method> | |
f32fc4bc RD |
22689 | <method name="GetClientDisplayRect" oldname="wxGetClientDisplayRect" type="Rect" overloaded="no"> |
22690 | <autodoc>GetClientDisplayRect() -> Rect</autodoc> | |
22691 | </method> | |
22692 | <method name="SetCursor" oldname="wxSetCursor" type="" overloaded="no"> | |
22693 | <autodoc>SetCursor(Cursor cursor)</autodoc> | |
856bf319 | 22694 | <paramlist> |
f32fc4bc | 22695 | <param name="cursor" type="Cursor" default=""/> |
856bf319 RD |
22696 | </paramlist> |
22697 | </method> | |
f32fc4bc RD |
22698 | <method name="BeginBusyCursor" oldname="wxBeginBusyCursor" type="" overloaded="no"> |
22699 | <autodoc>BeginBusyCursor(Cursor cursor=wxHOURGLASS_CURSOR)</autodoc> | |
856bf319 | 22700 | <paramlist> |
f32fc4bc | 22701 | <param name="cursor" type="Cursor" default="wxHOURGLASS_CURSOR"/> |
856bf319 RD |
22702 | </paramlist> |
22703 | </method> | |
f32fc4bc RD |
22704 | <method name="GetActiveWindow" oldname="wxGetActiveWindow" type="Window" overloaded="no"> |
22705 | <autodoc>GetActiveWindow() -> Window</autodoc> | |
856bf319 | 22706 | </method> |
f32fc4bc RD |
22707 | <method name="GenericFindWindowAtPoint" oldname="wxGenericFindWindowAtPoint" type="Window" overloaded="no"> |
22708 | <autodoc>GenericFindWindowAtPoint(Point pt) -> Window</autodoc> | |
856bf319 | 22709 | <paramlist> |
f32fc4bc | 22710 | <param name="pt" type="Point" default=""/> |
856bf319 RD |
22711 | </paramlist> |
22712 | </method> | |
f32fc4bc RD |
22713 | <method name="FindWindowAtPoint" oldname="wxFindWindowAtPoint" type="Window" overloaded="no"> |
22714 | <autodoc>FindWindowAtPoint(Point pt) -> Window</autodoc> | |
856bf319 | 22715 | <paramlist> |
f32fc4bc | 22716 | <param name="pt" type="Point" default=""/> |
856bf319 RD |
22717 | </paramlist> |
22718 | </method> | |
f32fc4bc RD |
22719 | <method name="GetTopLevelParent" oldname="wxGetTopLevelParent" type="Window" overloaded="no"> |
22720 | <autodoc>GetTopLevelParent(Window win) -> Window</autodoc> | |
856bf319 | 22721 | <paramlist> |
f32fc4bc | 22722 | <param name="win" type="Window" default=""/> |
856bf319 RD |
22723 | </paramlist> |
22724 | </method> | |
f32fc4bc RD |
22725 | <method name="GetKeyState" oldname="wxGetKeyState" type="bool" overloaded="no"> |
22726 | <autodoc>GetKeyState(int key) -> bool</autodoc> | |
781d2982 RD |
22727 | <docstring>Get the state of a key (true if pressed or toggled on, false if not.) |
22728 | This is generally most useful getting the state of the modifier or | |
22729 | toggle keys. On some platforms those may be the only keys that work. | |
22730 | </docstring> | |
856bf319 | 22731 | <paramlist> |
f32fc4bc | 22732 | <param name="key" type="wxKeyCode" default=""/> |
856bf319 RD |
22733 | </paramlist> |
22734 | </method> | |
f32fc4bc RD |
22735 | <method name="WakeUpMainThread" oldname="wxWakeUpMainThread" type="" overloaded="no"> |
22736 | <autodoc>WakeUpMainThread()</autodoc> | |
856bf319 | 22737 | </method> |
f32fc4bc RD |
22738 | <method name="MutexGuiEnter" oldname="wxMutexGuiEnter" type="" overloaded="no"> |
22739 | <autodoc>MutexGuiEnter()</autodoc> | |
856bf319 | 22740 | </method> |
f32fc4bc RD |
22741 | <method name="MutexGuiLeave" oldname="wxMutexGuiLeave" type="" overloaded="no"> |
22742 | <autodoc>MutexGuiLeave()</autodoc> | |
856bf319 | 22743 | </method> |
781d2982 | 22744 | <class name="MutexGuiLocker" oldname="wxMutexGuiLocker" module="_misc"> |
f32fc4bc | 22745 | <constructor name="MutexGuiLocker" overloaded="no"> |
781d2982 | 22746 | <autodoc>__init__(self) -> MutexGuiLocker</autodoc> |
f32fc4bc RD |
22747 | </constructor> |
22748 | <destructor name="~wxMutexGuiLocker" overloaded="no"> | |
781d2982 | 22749 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
22750 | </destructor> |
22751 | </class> | |
22752 | <method name="Thread_IsMain" oldname="wxThread_IsMain" type="bool" overloaded="no"> | |
22753 | <autodoc>Thread_IsMain() -> bool</autodoc> | |
856bf319 | 22754 | </method> |
f32fc4bc RD |
22755 | <pythoncode> |
22756 | #--------------------------------------------------------------------------- | |
22757 | </pythoncode> | |
781d2982 | 22758 | <class name="ToolTip" oldname="wxToolTip" module="_misc"> |
f32fc4bc RD |
22759 | <baseclass name="Object"/> |
22760 | <constructor name="ToolTip" overloaded="no"> | |
781d2982 | 22761 | <autodoc>__init__(self, String tip) -> ToolTip</autodoc> |
f32fc4bc RD |
22762 | <paramlist> |
22763 | <param name="tip" type="String" default=""/> | |
22764 | </paramlist> | |
22765 | </constructor> | |
22766 | <method name="SetTip" type="" overloaded="no"> | |
781d2982 | 22767 | <autodoc>SetTip(self, String tip)</autodoc> |
f32fc4bc RD |
22768 | <paramlist> |
22769 | <param name="tip" type="String" default=""/> | |
22770 | </paramlist> | |
22771 | </method> | |
22772 | <method name="GetTip" type="String" overloaded="no"> | |
781d2982 | 22773 | <autodoc>GetTip(self) -> String</autodoc> |
f32fc4bc RD |
22774 | </method> |
22775 | <method name="GetWindow" type="Window" overloaded="no"> | |
781d2982 | 22776 | <autodoc>GetWindow(self) -> Window</autodoc> |
f32fc4bc RD |
22777 | </method> |
22778 | <staticmethod name="Enable" type="" overloaded="no"> | |
22779 | <autodoc>Enable(bool flag)</autodoc> | |
22780 | <paramlist> | |
22781 | <param name="flag" type="bool" default=""/> | |
22782 | </paramlist> | |
22783 | </staticmethod> | |
22784 | <staticmethod name="SetDelay" type="" overloaded="no"> | |
22785 | <autodoc>SetDelay(long milliseconds)</autodoc> | |
22786 | <paramlist> | |
22787 | <param name="milliseconds" type="long" default=""/> | |
22788 | </paramlist> | |
22789 | </staticmethod> | |
22790 | </class> | |
781d2982 | 22791 | <class name="Caret" oldname="wxCaret" module="_misc"> |
f32fc4bc | 22792 | <constructor name="Caret" overloaded="no"> |
781d2982 | 22793 | <autodoc>__init__(self, Window window, Size size) -> Caret</autodoc> |
f32fc4bc RD |
22794 | <paramlist> |
22795 | <param name="window" type="Window" default=""/> | |
22796 | <param name="size" type="Size" default=""/> | |
22797 | </paramlist> | |
22798 | </constructor> | |
22799 | <destructor name="~wxCaret" overloaded="no"> | |
781d2982 | 22800 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
22801 | </destructor> |
22802 | <method name="IsOk" type="bool" overloaded="no"> | |
781d2982 | 22803 | <autodoc>IsOk(self) -> bool</autodoc> |
f32fc4bc RD |
22804 | </method> |
22805 | <method name="IsVisible" type="bool" overloaded="no"> | |
781d2982 | 22806 | <autodoc>IsVisible(self) -> bool</autodoc> |
f32fc4bc RD |
22807 | </method> |
22808 | <method name="GetPosition" type="Point" overloaded="no"> | |
781d2982 | 22809 | <autodoc>GetPosition(self) -> Point</autodoc> |
f32fc4bc RD |
22810 | </method> |
22811 | <method name="GetPositionTuple" type="" overloaded="no"> | |
22812 | <autodoc>GetPositionTuple() -> (x,y)</autodoc> | |
22813 | <paramlist> | |
22814 | <param name="OUTPUT" type="int" default=""/> | |
22815 | <param name="OUTPUT" type="int" default=""/> | |
22816 | </paramlist> | |
22817 | </method> | |
22818 | <method name="GetSize" type="Size" overloaded="no"> | |
781d2982 | 22819 | <autodoc>GetSize(self) -> Size</autodoc> |
f32fc4bc RD |
22820 | </method> |
22821 | <method name="GetSizeTuple" type="" overloaded="no"> | |
22822 | <autodoc>GetSizeTuple() -> (width, height)</autodoc> | |
22823 | <paramlist> | |
22824 | <param name="OUTPUT" type="int" default=""/> | |
22825 | <param name="OUTPUT" type="int" default=""/> | |
22826 | </paramlist> | |
22827 | </method> | |
22828 | <method name="GetWindow" type="Window" overloaded="no"> | |
781d2982 | 22829 | <autodoc>GetWindow(self) -> Window</autodoc> |
f32fc4bc RD |
22830 | </method> |
22831 | <method name="MoveXY" type="" overloaded="no"> | |
781d2982 | 22832 | <autodoc>MoveXY(self, int x, int y)</autodoc> |
f32fc4bc RD |
22833 | <paramlist> |
22834 | <param name="x" type="int" default=""/> | |
22835 | <param name="y" type="int" default=""/> | |
22836 | </paramlist> | |
22837 | </method> | |
22838 | <method name="Move" type="" overloaded="no"> | |
781d2982 | 22839 | <autodoc>Move(self, Point pt)</autodoc> |
f32fc4bc RD |
22840 | <paramlist> |
22841 | <param name="pt" type="Point" default=""/> | |
22842 | </paramlist> | |
22843 | </method> | |
22844 | <method name="SetSizeWH" type="" overloaded="no"> | |
781d2982 | 22845 | <autodoc>SetSizeWH(self, int width, int height)</autodoc> |
f32fc4bc RD |
22846 | <paramlist> |
22847 | <param name="width" type="int" default=""/> | |
22848 | <param name="height" type="int" default=""/> | |
22849 | </paramlist> | |
22850 | </method> | |
22851 | <method name="SetSize" type="" overloaded="no"> | |
781d2982 | 22852 | <autodoc>SetSize(self, Size size)</autodoc> |
f32fc4bc RD |
22853 | <paramlist> |
22854 | <param name="size" type="Size" default=""/> | |
22855 | </paramlist> | |
22856 | </method> | |
22857 | <method name="Show" type="" overloaded="no"> | |
781d2982 | 22858 | <autodoc>Show(self, int show=True)</autodoc> |
f32fc4bc RD |
22859 | <paramlist> |
22860 | <param name="show" type="int" default="True"/> | |
22861 | </paramlist> | |
22862 | </method> | |
22863 | <method name="Hide" type="" overloaded="no"> | |
781d2982 | 22864 | <autodoc>Hide(self)</autodoc> |
f32fc4bc RD |
22865 | </method> |
22866 | </class> | |
22867 | <method name="Caret_GetBlinkTime" oldname="wxCaret_GetBlinkTime" type="int" overloaded="no"> | |
22868 | <autodoc>Caret_GetBlinkTime() -> int</autodoc> | |
22869 | </method> | |
22870 | <method name="Caret_SetBlinkTime" oldname="wxCaret_SetBlinkTime" type="" overloaded="no"> | |
22871 | <autodoc>Caret_SetBlinkTime(int milliseconds)</autodoc> | |
856bf319 | 22872 | <paramlist> |
f32fc4bc | 22873 | <param name="milliseconds" type="int" default=""/> |
856bf319 RD |
22874 | </paramlist> |
22875 | </method> | |
781d2982 | 22876 | <class name="BusyCursor" oldname="wxBusyCursor" module="_misc"> |
f32fc4bc | 22877 | <constructor name="BusyCursor" overloaded="no"> |
781d2982 | 22878 | <autodoc>__init__(self, Cursor cursor=wxHOURGLASS_CURSOR) -> BusyCursor</autodoc> |
f32fc4bc RD |
22879 | <paramlist> |
22880 | <param name="cursor" type="Cursor" default="wxHOURGLASS_CURSOR"/> | |
22881 | </paramlist> | |
22882 | </constructor> | |
22883 | <destructor name="~wxBusyCursor" overloaded="no"> | |
781d2982 | 22884 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
22885 | </destructor> |
22886 | </class> | |
781d2982 | 22887 | <class name="WindowDisabler" oldname="wxWindowDisabler" module="_misc"> |
f32fc4bc | 22888 | <constructor name="WindowDisabler" overloaded="no"> |
781d2982 | 22889 | <autodoc>__init__(self, Window winToSkip=None) -> WindowDisabler</autodoc> |
f32fc4bc RD |
22890 | <paramlist> |
22891 | <param name="winToSkip" type="Window" default="NULL"/> | |
22892 | </paramlist> | |
22893 | </constructor> | |
22894 | <destructor name="~wxWindowDisabler" overloaded="no"> | |
781d2982 | 22895 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
22896 | </destructor> |
22897 | </class> | |
781d2982 | 22898 | <class name="BusyInfo" oldname="wxBusyInfo" module="_misc"> |
f32fc4bc RD |
22899 | <baseclass name="Object"/> |
22900 | <constructor name="BusyInfo" overloaded="no"> | |
781d2982 | 22901 | <autodoc>__init__(self, String message) -> BusyInfo</autodoc> |
f32fc4bc RD |
22902 | <paramlist> |
22903 | <param name="message" type="String" default=""/> | |
22904 | </paramlist> | |
22905 | </constructor> | |
22906 | <destructor name="~wxBusyInfo" overloaded="no"> | |
781d2982 | 22907 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
22908 | </destructor> |
22909 | </class> | |
781d2982 | 22910 | <class name="StopWatch" oldname="wxStopWatch" module="_misc"> |
f32fc4bc | 22911 | <constructor name="StopWatch" overloaded="no"> |
781d2982 | 22912 | <autodoc>__init__(self) -> StopWatch</autodoc> |
f32fc4bc RD |
22913 | </constructor> |
22914 | <method name="Start" type="" overloaded="no"> | |
781d2982 | 22915 | <autodoc>Start(self, long t0=0)</autodoc> |
f32fc4bc RD |
22916 | <paramlist> |
22917 | <param name="t0" type="long" default="0"/> | |
22918 | </paramlist> | |
22919 | </method> | |
22920 | <method name="Pause" type="" overloaded="no"> | |
781d2982 | 22921 | <autodoc>Pause(self)</autodoc> |
f32fc4bc RD |
22922 | </method> |
22923 | <method name="Resume" type="" overloaded="no"> | |
781d2982 | 22924 | <autodoc>Resume(self)</autodoc> |
f32fc4bc RD |
22925 | </method> |
22926 | <method name="Time" type="long" overloaded="no"> | |
781d2982 | 22927 | <autodoc>Time(self) -> long</autodoc> |
f32fc4bc RD |
22928 | </method> |
22929 | </class> | |
781d2982 | 22930 | <class name="FileHistory" oldname="wxFileHistory" module="_misc"> |
f32fc4bc RD |
22931 | <baseclass name="Object"/> |
22932 | <constructor name="FileHistory" overloaded="no"> | |
0190c472 | 22933 | <autodoc>__init__(self, int maxFiles=9, int idBase=ID_FILE1) -> FileHistory</autodoc> |
f32fc4bc RD |
22934 | <paramlist> |
22935 | <param name="maxFiles" type="int" default="9"/> | |
0190c472 | 22936 | <param name="idBase" type="int" default="wxID_FILE1"/> |
f32fc4bc RD |
22937 | </paramlist> |
22938 | </constructor> | |
22939 | <destructor name="~wxFileHistory" overloaded="no"> | |
781d2982 | 22940 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
22941 | </destructor> |
22942 | <method name="AddFileToHistory" type="" overloaded="no"> | |
781d2982 | 22943 | <autodoc>AddFileToHistory(self, String file)</autodoc> |
f32fc4bc RD |
22944 | <paramlist> |
22945 | <param name="file" type="String" default=""/> | |
22946 | </paramlist> | |
22947 | </method> | |
22948 | <method name="RemoveFileFromHistory" type="" overloaded="no"> | |
781d2982 | 22949 | <autodoc>RemoveFileFromHistory(self, int i)</autodoc> |
f32fc4bc RD |
22950 | <paramlist> |
22951 | <param name="i" type="int" default=""/> | |
22952 | </paramlist> | |
22953 | </method> | |
22954 | <method name="GetMaxFiles" type="int" overloaded="no"> | |
781d2982 | 22955 | <autodoc>GetMaxFiles(self) -> int</autodoc> |
f32fc4bc RD |
22956 | </method> |
22957 | <method name="UseMenu" type="" overloaded="no"> | |
781d2982 | 22958 | <autodoc>UseMenu(self, Menu menu)</autodoc> |
f32fc4bc RD |
22959 | <paramlist> |
22960 | <param name="menu" type="Menu" default=""/> | |
22961 | </paramlist> | |
22962 | </method> | |
22963 | <method name="RemoveMenu" type="" overloaded="no"> | |
781d2982 | 22964 | <autodoc>RemoveMenu(self, Menu menu)</autodoc> |
f32fc4bc RD |
22965 | <paramlist> |
22966 | <param name="menu" type="Menu" default=""/> | |
22967 | </paramlist> | |
22968 | </method> | |
22969 | <method name="Load" type="" overloaded="no"> | |
781d2982 | 22970 | <autodoc>Load(self, ConfigBase config)</autodoc> |
f32fc4bc RD |
22971 | <paramlist> |
22972 | <param name="config" type="wxConfigBase" default=""/> | |
22973 | </paramlist> | |
22974 | </method> | |
22975 | <method name="Save" type="" overloaded="no"> | |
781d2982 | 22976 | <autodoc>Save(self, ConfigBase config)</autodoc> |
f32fc4bc RD |
22977 | <paramlist> |
22978 | <param name="config" type="wxConfigBase" default=""/> | |
22979 | </paramlist> | |
22980 | </method> | |
22981 | <method name="AddFilesToMenu" type="" overloaded="no"> | |
781d2982 | 22982 | <autodoc>AddFilesToMenu(self)</autodoc> |
f32fc4bc RD |
22983 | </method> |
22984 | <method name="AddFilesToThisMenu" type="" overloaded="no"> | |
781d2982 | 22985 | <autodoc>AddFilesToThisMenu(self, Menu menu)</autodoc> |
f32fc4bc RD |
22986 | <paramlist> |
22987 | <param name="menu" type="Menu" default=""/> | |
22988 | </paramlist> | |
22989 | </method> | |
22990 | <method name="GetHistoryFile" type="String" overloaded="no"> | |
781d2982 | 22991 | <autodoc>GetHistoryFile(self, int i) -> String</autodoc> |
f32fc4bc RD |
22992 | <paramlist> |
22993 | <param name="i" type="int" default=""/> | |
22994 | </paramlist> | |
22995 | </method> | |
22996 | <method name="GetCount" type="int" overloaded="no"> | |
781d2982 | 22997 | <autodoc>GetCount(self) -> int</autodoc> |
f32fc4bc RD |
22998 | </method> |
22999 | </class> | |
781d2982 | 23000 | <class name="SingleInstanceChecker" oldname="wxSingleInstanceChecker" module="_misc"> |
f32fc4bc | 23001 | <constructor name="SingleInstanceChecker" overloaded="no"> |
781d2982 | 23002 | <autodoc>__init__(self, String name, String path=EmptyString) -> SingleInstanceChecker</autodoc> |
f32fc4bc RD |
23003 | <paramlist> |
23004 | <param name="name" type="String" default=""/> | |
23005 | <param name="path" type="String" default="wxPyEmptyString"/> | |
23006 | </paramlist> | |
23007 | </constructor> | |
23008 | <constructor name="PreSingleInstanceChecker" overloaded="no"> | |
23009 | <autodoc>PreSingleInstanceChecker() -> SingleInstanceChecker</autodoc> | |
23010 | </constructor> | |
23011 | <destructor name="~wxSingleInstanceChecker" overloaded="no"> | |
781d2982 | 23012 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
23013 | </destructor> |
23014 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 23015 | <autodoc>Create(self, String name, String path=EmptyString) -> bool</autodoc> |
f32fc4bc RD |
23016 | <paramlist> |
23017 | <param name="name" type="String" default=""/> | |
23018 | <param name="path" type="String" default="wxPyEmptyString"/> | |
23019 | </paramlist> | |
23020 | </method> | |
23021 | <method name="IsAnotherRunning" type="bool" overloaded="no"> | |
781d2982 | 23022 | <autodoc>IsAnotherRunning(self) -> bool</autodoc> |
f32fc4bc RD |
23023 | </method> |
23024 | </class> | |
23025 | <method name="DrawWindowOnDC" oldname="wxDrawWindowOnDC" type="" overloaded="no"> | |
23026 | <autodoc>DrawWindowOnDC(Window window, DC dc, int method)</autodoc> | |
23027 | <paramlist> | |
23028 | <param name="window" type="Window" default=""/> | |
23029 | <param name="dc" type="DC" default=""/> | |
23030 | <param name="method" type="int" default=""/> | |
856bf319 RD |
23031 | </paramlist> |
23032 | </method> | |
f32fc4bc RD |
23033 | <pythoncode> |
23034 | #--------------------------------------------------------------------------- | |
23035 | </pythoncode> | |
781d2982 | 23036 | <class name="TipProvider" oldname="wxTipProvider" module="_misc"> |
f32fc4bc | 23037 | <destructor name="~wxTipProvider" overloaded="no"> |
781d2982 | 23038 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
23039 | </destructor> |
23040 | <method name="GetTip" type="String" overloaded="no"> | |
781d2982 | 23041 | <autodoc>GetTip(self) -> String</autodoc> |
f32fc4bc RD |
23042 | </method> |
23043 | <method name="GetCurrentTip" type="size_t" overloaded="no"> | |
781d2982 | 23044 | <autodoc>GetCurrentTip(self) -> size_t</autodoc> |
f32fc4bc RD |
23045 | </method> |
23046 | <method name="PreprocessTip" type="String" overloaded="no"> | |
781d2982 | 23047 | <autodoc>PreprocessTip(self, String tip) -> String</autodoc> |
f32fc4bc RD |
23048 | <paramlist> |
23049 | <param name="tip" type="String" default=""/> | |
23050 | </paramlist> | |
23051 | </method> | |
23052 | </class> | |
781d2982 | 23053 | <class name="PyTipProvider" oldname="wxPyTipProvider" module="_misc"> |
f32fc4bc RD |
23054 | <baseclass name="TipProvider"/> |
23055 | <constructor name="PyTipProvider" overloaded="no"> | |
781d2982 | 23056 | <autodoc>__init__(self, size_t currentTip) -> PyTipProvider</autodoc> |
f32fc4bc RD |
23057 | <paramlist> |
23058 | <param name="currentTip" type="size_t" default=""/> | |
23059 | </paramlist> | |
23060 | </constructor> | |
23061 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 23062 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
23063 | <paramlist> |
23064 | <param name="self" type="PyObject" default=""/> | |
23065 | <param name="_class" type="PyObject" default=""/> | |
23066 | </paramlist> | |
23067 | </method> | |
23068 | </class> | |
23069 | <method name="ShowTip" oldname="wxShowTip" type="bool" overloaded="no"> | |
23070 | <autodoc>ShowTip(Window parent, TipProvider tipProvider, bool showAtStartup=True) -> bool</autodoc> | |
23071 | <paramlist> | |
23072 | <param name="parent" type="Window" default=""/> | |
23073 | <param name="tipProvider" type="TipProvider" default=""/> | |
23074 | <param name="showAtStartup" type="bool" default="True"/> | |
23075 | </paramlist> | |
23076 | </method> | |
23077 | <method name="CreateFileTipProvider" oldname="wxCreateFileTipProvider" type="TipProvider" overloaded="no"> | |
23078 | <autodoc>CreateFileTipProvider(String filename, size_t currentTip) -> TipProvider</autodoc> | |
23079 | <paramlist> | |
23080 | <param name="filename" type="String" default=""/> | |
23081 | <param name="currentTip" type="size_t" default=""/> | |
856bf319 RD |
23082 | </paramlist> |
23083 | </method> | |
f32fc4bc | 23084 | <pythoncode> |
0f43fbdf RD |
23085 | #--------------------------------------------------------------------------- |
23086 | </pythoncode> | |
781d2982 | 23087 | <class name="Timer" oldname="wxPyTimer" module="_misc"> |
f32fc4bc RD |
23088 | <baseclass name="EvtHandler"/> |
23089 | <constructor name="wxPyTimer" overloaded="no"> | |
781d2982 | 23090 | <autodoc>__init__(self, EvtHandler owner=None, int id=-1) -> Timer</autodoc> |
f32fc4bc RD |
23091 | <paramlist> |
23092 | <param name="owner" type="EvtHandler" default="NULL"/> | |
23093 | <param name="id" type="int" default="-1"/> | |
23094 | </paramlist> | |
23095 | </constructor> | |
23096 | <destructor name="~wxPyTimer" overloaded="no"> | |
781d2982 | 23097 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
23098 | </destructor> |
23099 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 23100 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class, int incref=1)</autodoc> |
f32fc4bc RD |
23101 | <paramlist> |
23102 | <param name="self" type="PyObject" default=""/> | |
23103 | <param name="_class" type="PyObject" default=""/> | |
b39e211b | 23104 | <param name="incref" type="int" default="1"/> |
f32fc4bc RD |
23105 | </paramlist> |
23106 | </method> | |
23107 | <method name="SetOwner" type="" overloaded="no"> | |
781d2982 | 23108 | <autodoc>SetOwner(self, EvtHandler owner, int id=-1)</autodoc> |
f32fc4bc RD |
23109 | <paramlist> |
23110 | <param name="owner" type="EvtHandler" default=""/> | |
23111 | <param name="id" type="int" default="-1"/> | |
23112 | </paramlist> | |
23113 | </method> | |
781d2982 RD |
23114 | <method name="GetOwner" type="EvtHandler" overloaded="no"> |
23115 | <autodoc>GetOwner(self) -> EvtHandler</autodoc> | |
23116 | </method> | |
f32fc4bc | 23117 | <method name="Start" type="bool" overloaded="no"> |
781d2982 | 23118 | <autodoc>Start(self, int milliseconds=-1, bool oneShot=False) -> bool</autodoc> |
f32fc4bc RD |
23119 | <paramlist> |
23120 | <param name="milliseconds" type="int" default="-1"/> | |
23121 | <param name="oneShot" type="bool" default="False"/> | |
23122 | </paramlist> | |
23123 | </method> | |
23124 | <method name="Stop" type="" overloaded="no"> | |
781d2982 | 23125 | <autodoc>Stop(self)</autodoc> |
f32fc4bc RD |
23126 | </method> |
23127 | <method name="IsRunning" type="bool" overloaded="no"> | |
781d2982 | 23128 | <autodoc>IsRunning(self) -> bool</autodoc> |
f32fc4bc RD |
23129 | </method> |
23130 | <method name="GetInterval" type="int" overloaded="no"> | |
781d2982 | 23131 | <autodoc>GetInterval(self) -> int</autodoc> |
f32fc4bc RD |
23132 | </method> |
23133 | <method name="IsOneShot" type="bool" overloaded="no"> | |
781d2982 | 23134 | <autodoc>IsOneShot(self) -> bool</autodoc> |
f32fc4bc RD |
23135 | </method> |
23136 | <method name="GetId" type="int" overloaded="no"> | |
781d2982 | 23137 | <autodoc>GetId(self) -> int</autodoc> |
f32fc4bc RD |
23138 | </method> |
23139 | </class> | |
b39e211b | 23140 | <pythoncode> |
f32fc4bc RD |
23141 | # For backwards compatibility with 2.4 |
23142 | class PyTimer(Timer): | |
23143 | def __init__(self, notify): | |
23144 | Timer.__init__(self) | |
23145 | self.notify = notify | |
23146 | ||
23147 | def Notify(self): | |
23148 | if self.notify: | |
23149 | self.notify() | |
23150 | ||
23151 | ||
23152 | EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 ) | |
b39e211b | 23153 | |
0f43fbdf | 23154 | </pythoncode> |
781d2982 | 23155 | <class name="TimerEvent" oldname="wxTimerEvent" module="_misc"> |
f32fc4bc RD |
23156 | <baseclass name="Event"/> |
23157 | <constructor name="TimerEvent" overloaded="no"> | |
781d2982 | 23158 | <autodoc>__init__(self, int timerid=0, int interval=0) -> TimerEvent</autodoc> |
f32fc4bc RD |
23159 | <paramlist> |
23160 | <param name="timerid" type="int" default="0"/> | |
23161 | <param name="interval" type="int" default="0"/> | |
23162 | </paramlist> | |
23163 | </constructor> | |
23164 | <method name="GetInterval" type="int" overloaded="no"> | |
781d2982 | 23165 | <autodoc>GetInterval(self) -> int</autodoc> |
f32fc4bc RD |
23166 | </method> |
23167 | </class> | |
781d2982 | 23168 | <class name="TimerRunner" oldname="wxTimerRunner" module="_misc"> |
f32fc4bc RD |
23169 | <constructor name="TimerRunner" overloaded="yes"> |
23170 | <paramlist> | |
23171 | <param name="timer" type="wxTimer" default=""/> | |
23172 | </paramlist> | |
23173 | </constructor> | |
23174 | <constructor name="TimerRunner" overloaded="yes"> | |
781d2982 RD |
23175 | <autodoc>__init__(self, wxTimer timer) -> TimerRunner |
23176 | __init__(self, wxTimer timer, int milli, bool oneShot=False) -> TimerRunner</autodoc> | |
f32fc4bc RD |
23177 | <paramlist> |
23178 | <param name="timer" type="wxTimer" default=""/> | |
23179 | <param name="milli" type="int" default=""/> | |
23180 | <param name="oneShot" type="bool" default="False"/> | |
23181 | </paramlist> | |
23182 | </constructor> | |
23183 | <destructor name="~wxTimerRunner" overloaded="no"> | |
781d2982 | 23184 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
23185 | </destructor> |
23186 | <method name="Start" type="" overloaded="no"> | |
781d2982 | 23187 | <autodoc>Start(self, int milli, bool oneShot=False)</autodoc> |
f32fc4bc RD |
23188 | <paramlist> |
23189 | <param name="milli" type="int" default=""/> | |
23190 | <param name="oneShot" type="bool" default="False"/> | |
23191 | </paramlist> | |
23192 | </method> | |
23193 | </class> | |
23194 | <pythoncode> | |
0f43fbdf RD |
23195 | #--------------------------------------------------------------------------- |
23196 | </pythoncode> | |
781d2982 | 23197 | <class name="Log" oldname="wxLog" module="_misc"> |
f32fc4bc | 23198 | <constructor name="Log" overloaded="no"> |
781d2982 | 23199 | <autodoc>__init__(self) -> Log</autodoc> |
f32fc4bc RD |
23200 | </constructor> |
23201 | <staticmethod name="IsEnabled" type="bool" overloaded="no"> | |
23202 | <autodoc>IsEnabled() -> bool</autodoc> | |
23203 | </staticmethod> | |
23204 | <staticmethod name="EnableLogging" type="bool" overloaded="no"> | |
23205 | <autodoc>EnableLogging(bool doIt=True) -> bool</autodoc> | |
23206 | <paramlist> | |
23207 | <param name="doIt" type="bool" default="True"/> | |
23208 | </paramlist> | |
23209 | </staticmethod> | |
23210 | <staticmethod name="OnLog" type="" overloaded="no"> | |
23211 | <autodoc>OnLog(wxLogLevel level, wxChar szString, time_t t)</autodoc> | |
23212 | <paramlist> | |
23213 | <param name="level" type="wxLogLevel" default=""/> | |
23214 | <param name="szString" type="wxChar" default=""/> | |
23215 | <param name="t" type="time_t" default=""/> | |
23216 | </paramlist> | |
23217 | </staticmethod> | |
23218 | <method name="Flush" type="" overloaded="no"> | |
781d2982 | 23219 | <autodoc>Flush(self)</autodoc> |
f32fc4bc RD |
23220 | </method> |
23221 | <staticmethod name="FlushActive" type="" overloaded="no"> | |
23222 | <autodoc>FlushActive()</autodoc> | |
23223 | </staticmethod> | |
23224 | <staticmethod name="GetActiveTarget" type="Log" overloaded="no"> | |
23225 | <autodoc>GetActiveTarget() -> Log</autodoc> | |
23226 | </staticmethod> | |
23227 | <staticmethod name="SetActiveTarget" type="Log" overloaded="no"> | |
23228 | <autodoc>SetActiveTarget(Log pLogger) -> Log</autodoc> | |
23229 | <paramlist> | |
23230 | <param name="pLogger" type="Log" default=""/> | |
23231 | </paramlist> | |
23232 | </staticmethod> | |
23233 | <staticmethod name="Suspend" type="" overloaded="no"> | |
23234 | <autodoc>Suspend()</autodoc> | |
23235 | </staticmethod> | |
23236 | <staticmethod name="Resume" type="" overloaded="no"> | |
23237 | <autodoc>Resume()</autodoc> | |
23238 | </staticmethod> | |
23239 | <staticmethod name="SetVerbose" type="" overloaded="no"> | |
23240 | <autodoc>SetVerbose(bool bVerbose=True)</autodoc> | |
23241 | <paramlist> | |
23242 | <param name="bVerbose" type="bool" default="True"/> | |
23243 | </paramlist> | |
23244 | </staticmethod> | |
23245 | <staticmethod name="SetLogLevel" type="" overloaded="no"> | |
23246 | <autodoc>SetLogLevel(wxLogLevel logLevel)</autodoc> | |
23247 | <paramlist> | |
23248 | <param name="logLevel" type="wxLogLevel" default=""/> | |
23249 | </paramlist> | |
23250 | </staticmethod> | |
23251 | <staticmethod name="DontCreateOnDemand" type="" overloaded="no"> | |
23252 | <autodoc>DontCreateOnDemand()</autodoc> | |
23253 | </staticmethod> | |
23254 | <staticmethod name="SetTraceMask" type="" overloaded="no"> | |
23255 | <autodoc>SetTraceMask(wxTraceMask ulMask)</autodoc> | |
23256 | <paramlist> | |
23257 | <param name="ulMask" type="wxTraceMask" default=""/> | |
23258 | </paramlist> | |
23259 | </staticmethod> | |
23260 | <staticmethod name="AddTraceMask" type="" overloaded="no"> | |
23261 | <autodoc>AddTraceMask(String str)</autodoc> | |
23262 | <paramlist> | |
23263 | <param name="str" type="String" default=""/> | |
23264 | </paramlist> | |
23265 | </staticmethod> | |
23266 | <staticmethod name="RemoveTraceMask" type="" overloaded="no"> | |
23267 | <autodoc>RemoveTraceMask(String str)</autodoc> | |
23268 | <paramlist> | |
23269 | <param name="str" type="String" default=""/> | |
23270 | </paramlist> | |
23271 | </staticmethod> | |
23272 | <staticmethod name="ClearTraceMasks" type="" overloaded="no"> | |
23273 | <autodoc>ClearTraceMasks()</autodoc> | |
23274 | </staticmethod> | |
23275 | <staticmethod name="GetTraceMasks" type="wxArrayString" overloaded="no"> | |
23276 | <autodoc>GetTraceMasks() -> wxArrayString</autodoc> | |
23277 | </staticmethod> | |
23278 | <staticmethod name="SetTimestamp" type="" overloaded="no"> | |
23279 | <autodoc>SetTimestamp(wxChar ts)</autodoc> | |
23280 | <paramlist> | |
23281 | <param name="ts" type="wxChar" default=""/> | |
23282 | </paramlist> | |
23283 | </staticmethod> | |
23284 | <staticmethod name="GetVerbose" type="bool" overloaded="no"> | |
23285 | <autodoc>GetVerbose() -> bool</autodoc> | |
23286 | </staticmethod> | |
23287 | <staticmethod name="GetTraceMask" type="wxTraceMask" overloaded="no"> | |
23288 | <autodoc>GetTraceMask() -> wxTraceMask</autodoc> | |
23289 | </staticmethod> | |
23290 | <staticmethod name="IsAllowedTraceMask" type="bool" overloaded="no"> | |
23291 | <autodoc>IsAllowedTraceMask(wxChar mask) -> bool</autodoc> | |
23292 | <paramlist> | |
23293 | <param name="mask" type="wxChar" default=""/> | |
23294 | </paramlist> | |
23295 | </staticmethod> | |
23296 | <staticmethod name="GetLogLevel" type="wxLogLevel" overloaded="no"> | |
23297 | <autodoc>GetLogLevel() -> wxLogLevel</autodoc> | |
23298 | </staticmethod> | |
23299 | <staticmethod name="GetTimestamp" type="wxChar" overloaded="no"> | |
23300 | <autodoc>GetTimestamp() -> wxChar</autodoc> | |
23301 | </staticmethod> | |
23302 | <staticmethod name="TimeStamp" type="String" overloaded="no"> | |
23303 | <autodoc>TimeStamp() -> String</autodoc> | |
23304 | </staticmethod> | |
23305 | <method name="Destroy" type="" overloaded="no"> | |
781d2982 | 23306 | <autodoc>Destroy(self)</autodoc> |
f32fc4bc RD |
23307 | </method> |
23308 | </class> | |
781d2982 | 23309 | <class name="LogStderr" oldname="wxLogStderr" module="_misc"> |
f32fc4bc RD |
23310 | <baseclass name="Log"/> |
23311 | <constructor name="LogStderr" overloaded="no"> | |
781d2982 | 23312 | <autodoc>__init__(self) -> LogStderr</autodoc> |
f32fc4bc RD |
23313 | </constructor> |
23314 | </class> | |
781d2982 | 23315 | <class name="LogTextCtrl" oldname="wxLogTextCtrl" module="_misc"> |
f32fc4bc RD |
23316 | <baseclass name="Log"/> |
23317 | <constructor name="LogTextCtrl" overloaded="no"> | |
781d2982 | 23318 | <autodoc>__init__(self, wxTextCtrl pTextCtrl) -> LogTextCtrl</autodoc> |
f32fc4bc RD |
23319 | <paramlist> |
23320 | <param name="pTextCtrl" type="TextCtrl" default=""/> | |
23321 | </paramlist> | |
23322 | </constructor> | |
23323 | </class> | |
781d2982 | 23324 | <class name="LogGui" oldname="wxLogGui" module="_misc"> |
f32fc4bc RD |
23325 | <baseclass name="Log"/> |
23326 | <constructor name="LogGui" overloaded="no"> | |
781d2982 | 23327 | <autodoc>__init__(self) -> LogGui</autodoc> |
f32fc4bc RD |
23328 | </constructor> |
23329 | </class> | |
781d2982 | 23330 | <class name="LogWindow" oldname="wxLogWindow" module="_misc"> |
f32fc4bc RD |
23331 | <baseclass name="Log"/> |
23332 | <constructor name="LogWindow" overloaded="no"> | |
781d2982 | 23333 | <autodoc>__init__(self, wxFrame pParent, String szTitle, bool bShow=True, bool bPassToOld=True) -> LogWindow</autodoc> |
f32fc4bc RD |
23334 | <paramlist> |
23335 | <param name="pParent" type="Frame" default=""/> | |
23336 | <param name="szTitle" type="String" default=""/> | |
23337 | <param name="bShow" type="bool" default="True"/> | |
23338 | <param name="bPassToOld" type="bool" default="True"/> | |
23339 | </paramlist> | |
23340 | </constructor> | |
23341 | <method name="Show" type="" overloaded="no"> | |
781d2982 | 23342 | <autodoc>Show(self, bool bShow=True)</autodoc> |
f32fc4bc RD |
23343 | <paramlist> |
23344 | <param name="bShow" type="bool" default="True"/> | |
23345 | </paramlist> | |
23346 | </method> | |
23347 | <method name="GetFrame" type="Frame" overloaded="no"> | |
781d2982 | 23348 | <autodoc>GetFrame(self) -> wxFrame</autodoc> |
f32fc4bc RD |
23349 | </method> |
23350 | <method name="GetOldLog" type="Log" overloaded="no"> | |
781d2982 | 23351 | <autodoc>GetOldLog(self) -> Log</autodoc> |
f32fc4bc RD |
23352 | </method> |
23353 | <method name="IsPassingMessages" type="bool" overloaded="no"> | |
781d2982 | 23354 | <autodoc>IsPassingMessages(self) -> bool</autodoc> |
f32fc4bc RD |
23355 | </method> |
23356 | <method name="PassMessages" type="" overloaded="no"> | |
781d2982 | 23357 | <autodoc>PassMessages(self, bool bDoPass)</autodoc> |
f32fc4bc RD |
23358 | <paramlist> |
23359 | <param name="bDoPass" type="bool" default=""/> | |
23360 | </paramlist> | |
23361 | </method> | |
23362 | </class> | |
781d2982 | 23363 | <class name="LogChain" oldname="wxLogChain" module="_misc"> |
f32fc4bc RD |
23364 | <baseclass name="Log"/> |
23365 | <constructor name="LogChain" overloaded="no"> | |
781d2982 | 23366 | <autodoc>__init__(self, Log logger) -> LogChain</autodoc> |
f32fc4bc RD |
23367 | <paramlist> |
23368 | <param name="logger" type="Log" default=""/> | |
23369 | </paramlist> | |
23370 | </constructor> | |
23371 | <method name="SetLog" type="" overloaded="no"> | |
781d2982 | 23372 | <autodoc>SetLog(self, Log logger)</autodoc> |
f32fc4bc RD |
23373 | <paramlist> |
23374 | <param name="logger" type="Log" default=""/> | |
23375 | </paramlist> | |
23376 | </method> | |
23377 | <method name="PassMessages" type="" overloaded="no"> | |
781d2982 | 23378 | <autodoc>PassMessages(self, bool bDoPass)</autodoc> |
f32fc4bc RD |
23379 | <paramlist> |
23380 | <param name="bDoPass" type="bool" default=""/> | |
23381 | </paramlist> | |
23382 | </method> | |
23383 | <method name="IsPassingMessages" type="bool" overloaded="no"> | |
781d2982 | 23384 | <autodoc>IsPassingMessages(self) -> bool</autodoc> |
f32fc4bc RD |
23385 | </method> |
23386 | <method name="GetOldLog" type="Log" overloaded="no"> | |
781d2982 | 23387 | <autodoc>GetOldLog(self) -> Log</autodoc> |
f32fc4bc RD |
23388 | </method> |
23389 | </class> | |
23390 | <method name="SysErrorCode" oldname="wxSysErrorCode" type="unsigned long" overloaded="no"> | |
23391 | <autodoc>SysErrorCode() -> unsigned long</autodoc> | |
23392 | </method> | |
23393 | <method name="SysErrorMsg" oldname="wxSysErrorMsg" type="String" overloaded="no"> | |
23394 | <autodoc>SysErrorMsg(unsigned long nErrCode=0) -> String</autodoc> | |
23395 | <paramlist> | |
23396 | <param name="nErrCode" type="unsigned long" default="0"/> | |
23397 | </paramlist> | |
23398 | </method> | |
23399 | <method name="LogFatalError" oldname="wxLogFatalError" type="" overloaded="no"> | |
23400 | <autodoc>LogFatalError(String msg)</autodoc> | |
23401 | <paramlist> | |
23402 | <param name="msg" type="String" default=""/> | |
23403 | </paramlist> | |
23404 | </method> | |
23405 | <method name="LogError" oldname="wxLogError" type="" overloaded="no"> | |
23406 | <autodoc>LogError(String msg)</autodoc> | |
23407 | <paramlist> | |
23408 | <param name="msg" type="String" default=""/> | |
23409 | </paramlist> | |
23410 | </method> | |
23411 | <method name="LogWarning" oldname="wxLogWarning" type="" overloaded="no"> | |
23412 | <autodoc>LogWarning(String msg)</autodoc> | |
23413 | <paramlist> | |
23414 | <param name="msg" type="String" default=""/> | |
23415 | </paramlist> | |
23416 | </method> | |
23417 | <method name="LogMessage" oldname="wxLogMessage" type="" overloaded="no"> | |
23418 | <autodoc>LogMessage(String msg)</autodoc> | |
856bf319 | 23419 | <paramlist> |
f32fc4bc | 23420 | <param name="msg" type="String" default=""/> |
856bf319 RD |
23421 | </paramlist> |
23422 | </method> | |
f32fc4bc RD |
23423 | <method name="LogInfo" oldname="wxLogInfo" type="" overloaded="no"> |
23424 | <autodoc>LogInfo(String msg)</autodoc> | |
856bf319 | 23425 | <paramlist> |
f32fc4bc | 23426 | <param name="msg" type="String" default=""/> |
856bf319 RD |
23427 | </paramlist> |
23428 | </method> | |
f32fc4bc RD |
23429 | <method name="LogDebug" oldname="wxLogDebug" type="" overloaded="no"> |
23430 | <autodoc>LogDebug(String msg)</autodoc> | |
856bf319 | 23431 | <paramlist> |
f32fc4bc | 23432 | <param name="msg" type="String" default=""/> |
856bf319 RD |
23433 | </paramlist> |
23434 | </method> | |
f32fc4bc RD |
23435 | <method name="LogVerbose" oldname="wxLogVerbose" type="" overloaded="no"> |
23436 | <autodoc>LogVerbose(String msg)</autodoc> | |
856bf319 | 23437 | <paramlist> |
f32fc4bc | 23438 | <param name="msg" type="String" default=""/> |
856bf319 RD |
23439 | </paramlist> |
23440 | </method> | |
f32fc4bc RD |
23441 | <method name="LogStatus" oldname="wxLogStatus" type="" overloaded="no"> |
23442 | <autodoc>LogStatus(String msg)</autodoc> | |
856bf319 | 23443 | <paramlist> |
f32fc4bc | 23444 | <param name="msg" type="String" default=""/> |
856bf319 RD |
23445 | </paramlist> |
23446 | </method> | |
f32fc4bc RD |
23447 | <method name="LogStatusFrame" oldname="wxLogStatus" type="" overloaded="no"> |
23448 | <autodoc>LogStatusFrame(wxFrame pFrame, String msg)</autodoc> | |
856bf319 | 23449 | <paramlist> |
f32fc4bc RD |
23450 | <param name="pFrame" type="Frame" default=""/> |
23451 | <param name="msg" type="String" default=""/> | |
856bf319 RD |
23452 | </paramlist> |
23453 | </method> | |
f32fc4bc RD |
23454 | <method name="LogSysError" oldname="wxLogSysError" type="" overloaded="no"> |
23455 | <autodoc>LogSysError(String msg)</autodoc> | |
856bf319 | 23456 | <paramlist> |
f32fc4bc | 23457 | <param name="msg" type="String" default=""/> |
856bf319 RD |
23458 | </paramlist> |
23459 | </method> | |
f32fc4bc | 23460 | <method name="LogTrace" oldname="wxLogTrace" type="" overloaded="yes"> |
856bf319 | 23461 | <paramlist> |
f32fc4bc RD |
23462 | <param name="mask" type="unsigned long" default=""/> |
23463 | <param name="msg" type="String" default=""/> | |
856bf319 RD |
23464 | </paramlist> |
23465 | </method> | |
f32fc4bc RD |
23466 | <method name="LogTrace" oldname="wxLogTrace" type="" overloaded="yes"> |
23467 | <autodoc>LogTrace(unsigned long mask, String msg) | |
23468 | LogTrace(String mask, String msg)</autodoc> | |
856bf319 | 23469 | <paramlist> |
f32fc4bc RD |
23470 | <param name="mask" type="String" default=""/> |
23471 | <param name="msg" type="String" default=""/> | |
23472 | </paramlist> | |
23473 | </method> | |
23474 | <method name="LogGeneric" oldname="wxLogGeneric" type="" overloaded="no"> | |
23475 | <autodoc>LogGeneric(unsigned long level, String msg)</autodoc> | |
23476 | <paramlist> | |
23477 | <param name="level" type="unsigned long" default=""/> | |
23478 | <param name="msg" type="String" default=""/> | |
23479 | </paramlist> | |
23480 | </method> | |
23481 | <method name="SafeShowMessage" oldname="wxSafeShowMessage" type="" overloaded="no"> | |
23482 | <autodoc>SafeShowMessage(String title, String text)</autodoc> | |
23483 | <paramlist> | |
23484 | <param name="title" type="String" default=""/> | |
23485 | <param name="text" type="String" default=""/> | |
23486 | </paramlist> | |
23487 | </method> | |
781d2982 | 23488 | <class name="LogNull" oldname="wxLogNull" module="_misc"> |
f32fc4bc | 23489 | <constructor name="LogNull" overloaded="no"> |
781d2982 | 23490 | <autodoc>__init__(self) -> LogNull</autodoc> |
f32fc4bc RD |
23491 | </constructor> |
23492 | <destructor name="~wxLogNull" overloaded="no"> | |
781d2982 | 23493 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
23494 | </destructor> |
23495 | </class> | |
781d2982 | 23496 | <class name="PyLog" oldname="wxPyLog" module="_misc"> |
f32fc4bc RD |
23497 | <baseclass name="Log"/> |
23498 | <constructor name="PyLog" overloaded="no"> | |
781d2982 | 23499 | <autodoc>__init__(self) -> PyLog</autodoc> |
f32fc4bc RD |
23500 | </constructor> |
23501 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 23502 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
23503 | <paramlist> |
23504 | <param name="self" type="PyObject" default=""/> | |
23505 | <param name="_class" type="PyObject" default=""/> | |
23506 | </paramlist> | |
23507 | </method> | |
23508 | </class> | |
23509 | <pythoncode> | |
0f43fbdf RD |
23510 | #--------------------------------------------------------------------------- |
23511 | </pythoncode> | |
781d2982 | 23512 | <class name="Process" oldname="wxPyProcess" module="_misc"> |
f32fc4bc RD |
23513 | <baseclass name="EvtHandler"/> |
23514 | <constructor name="wxPyProcess" overloaded="no"> | |
781d2982 | 23515 | <autodoc>__init__(self, EvtHandler parent=None, int id=-1) -> Process</autodoc> |
f32fc4bc RD |
23516 | <paramlist> |
23517 | <param name="parent" type="EvtHandler" default="NULL"/> | |
23518 | <param name="id" type="int" default="-1"/> | |
23519 | </paramlist> | |
23520 | </constructor> | |
23521 | <staticmethod name="Kill" type="wxKillError" overloaded="no"> | |
23522 | <autodoc>Kill(int pid, int sig=SIGTERM) -> int</autodoc> | |
23523 | <paramlist> | |
23524 | <param name="pid" type="int" default=""/> | |
23525 | <param name="sig" type="wxSignal" default="wxSIGTERM"/> | |
23526 | </paramlist> | |
23527 | </staticmethod> | |
23528 | <staticmethod name="Exists" type="bool" overloaded="no"> | |
23529 | <autodoc>Exists(int pid) -> bool</autodoc> | |
23530 | <paramlist> | |
23531 | <param name="pid" type="int" default=""/> | |
23532 | </paramlist> | |
23533 | </staticmethod> | |
23534 | <staticmethod name="Open" type="Process" overloaded="no"> | |
23535 | <autodoc>Open(String cmd, int flags=EXEC_ASYNC) -> Process</autodoc> | |
23536 | <paramlist> | |
23537 | <param name="cmd" type="String" default=""/> | |
23538 | <param name="flags" type="int" default="wxEXEC_ASYNC"/> | |
23539 | </paramlist> | |
23540 | </staticmethod> | |
23541 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 23542 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
23543 | <paramlist> |
23544 | <param name="self" type="PyObject" default=""/> | |
23545 | <param name="_class" type="PyObject" default=""/> | |
23546 | </paramlist> | |
23547 | </method> | |
23548 | <method name="base_OnTerminate" type="" overloaded="no"> | |
781d2982 | 23549 | <autodoc>base_OnTerminate(self, int pid, int status)</autodoc> |
f32fc4bc RD |
23550 | <paramlist> |
23551 | <param name="pid" type="int" default=""/> | |
23552 | <param name="status" type="int" default=""/> | |
23553 | </paramlist> | |
23554 | </method> | |
23555 | <method name="Redirect" type="" overloaded="no"> | |
781d2982 | 23556 | <autodoc>Redirect(self)</autodoc> |
f32fc4bc RD |
23557 | </method> |
23558 | <method name="IsRedirected" type="bool" overloaded="no"> | |
781d2982 | 23559 | <autodoc>IsRedirected(self) -> bool</autodoc> |
f32fc4bc RD |
23560 | </method> |
23561 | <method name="Detach" type="" overloaded="no"> | |
781d2982 | 23562 | <autodoc>Detach(self)</autodoc> |
f32fc4bc RD |
23563 | </method> |
23564 | <method name="GetInputStream" type="wxInputStream" overloaded="no"> | |
781d2982 | 23565 | <autodoc>GetInputStream(self) -> InputStream</autodoc> |
f32fc4bc RD |
23566 | </method> |
23567 | <method name="GetErrorStream" type="wxInputStream" overloaded="no"> | |
781d2982 | 23568 | <autodoc>GetErrorStream(self) -> InputStream</autodoc> |
f32fc4bc RD |
23569 | </method> |
23570 | <method name="GetOutputStream" type="OutputStream" overloaded="no"> | |
781d2982 | 23571 | <autodoc>GetOutputStream(self) -> OutputStream</autodoc> |
f32fc4bc RD |
23572 | </method> |
23573 | <method name="CloseOutput" type="" overloaded="no"> | |
781d2982 | 23574 | <autodoc>CloseOutput(self)</autodoc> |
f32fc4bc RD |
23575 | </method> |
23576 | <method name="IsInputOpened" type="bool" overloaded="no"> | |
781d2982 | 23577 | <autodoc>IsInputOpened(self) -> bool</autodoc> |
f32fc4bc RD |
23578 | </method> |
23579 | <method name="IsInputAvailable" type="bool" overloaded="no"> | |
781d2982 | 23580 | <autodoc>IsInputAvailable(self) -> bool</autodoc> |
f32fc4bc RD |
23581 | </method> |
23582 | <method name="IsErrorAvailable" type="bool" overloaded="no"> | |
781d2982 | 23583 | <autodoc>IsErrorAvailable(self) -> bool</autodoc> |
f32fc4bc RD |
23584 | </method> |
23585 | </class> | |
781d2982 | 23586 | <class name="ProcessEvent" oldname="wxProcessEvent" module="_misc"> |
f32fc4bc RD |
23587 | <baseclass name="Event"/> |
23588 | <constructor name="ProcessEvent" overloaded="no"> | |
781d2982 | 23589 | <autodoc>__init__(self, int id=0, int pid=0, int exitcode=0) -> ProcessEvent</autodoc> |
f32fc4bc RD |
23590 | <paramlist> |
23591 | <param name="id" type="int" default="0"/> | |
23592 | <param name="pid" type="int" default="0"/> | |
23593 | <param name="exitcode" type="int" default="0"/> | |
23594 | </paramlist> | |
23595 | </constructor> | |
23596 | <method name="GetPid" type="int" overloaded="no"> | |
781d2982 | 23597 | <autodoc>GetPid(self) -> int</autodoc> |
f32fc4bc RD |
23598 | </method> |
23599 | <method name="GetExitCode" type="int" overloaded="no"> | |
781d2982 | 23600 | <autodoc>GetExitCode(self) -> int</autodoc> |
f32fc4bc RD |
23601 | </method> |
23602 | <property name="m_pid" type="int" readonly="no"/> | |
23603 | <property name="m_exitcode" type="int" readonly="no"/> | |
23604 | </class> | |
23605 | <pythoncode> | |
23606 | EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS, 1 ) | |
23607 | </pythoncode> | |
23608 | <method name="Execute" oldname="wxExecute" type="long" overloaded="no"> | |
23609 | <autodoc>Execute(String command, int flags=EXEC_ASYNC, Process process=None) -> long</autodoc> | |
856bf319 | 23610 | <paramlist> |
f32fc4bc RD |
23611 | <param name="command" type="String" default=""/> |
23612 | <param name="flags" type="int" default="wxEXEC_ASYNC"/> | |
23613 | <param name="process" type="Process" default="NULL"/> | |
856bf319 RD |
23614 | </paramlist> |
23615 | </method> | |
f32fc4bc RD |
23616 | <pythoncode> |
23617 | #--------------------------------------------------------------------------- | |
23618 | </pythoncode> | |
781d2982 | 23619 | <class name="Joystick" oldname="wxJoystick" module="_misc"> |
f32fc4bc | 23620 | <constructor name="Joystick" overloaded="no"> |
781d2982 | 23621 | <autodoc>__init__(self, int joystick=JOYSTICK1) -> Joystick</autodoc> |
f32fc4bc RD |
23622 | <paramlist> |
23623 | <param name="joystick" type="int" default="wxJOYSTICK1"/> | |
23624 | </paramlist> | |
23625 | </constructor> | |
23626 | <destructor name="~wxJoystick" overloaded="no"> | |
781d2982 | 23627 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
23628 | </destructor> |
23629 | <method name="GetPosition" type="Point" overloaded="no"> | |
781d2982 | 23630 | <autodoc>GetPosition(self) -> Point</autodoc> |
f32fc4bc RD |
23631 | </method> |
23632 | <method name="GetZPosition" type="int" overloaded="no"> | |
781d2982 | 23633 | <autodoc>GetZPosition(self) -> int</autodoc> |
f32fc4bc RD |
23634 | </method> |
23635 | <method name="GetButtonState" type="int" overloaded="no"> | |
781d2982 | 23636 | <autodoc>GetButtonState(self) -> int</autodoc> |
f32fc4bc RD |
23637 | </method> |
23638 | <method name="GetPOVPosition" type="int" overloaded="no"> | |
781d2982 | 23639 | <autodoc>GetPOVPosition(self) -> int</autodoc> |
f32fc4bc RD |
23640 | </method> |
23641 | <method name="GetPOVCTSPosition" type="int" overloaded="no"> | |
781d2982 | 23642 | <autodoc>GetPOVCTSPosition(self) -> int</autodoc> |
f32fc4bc RD |
23643 | </method> |
23644 | <method name="GetRudderPosition" type="int" overloaded="no"> | |
781d2982 | 23645 | <autodoc>GetRudderPosition(self) -> int</autodoc> |
f32fc4bc RD |
23646 | </method> |
23647 | <method name="GetUPosition" type="int" overloaded="no"> | |
781d2982 | 23648 | <autodoc>GetUPosition(self) -> int</autodoc> |
f32fc4bc RD |
23649 | </method> |
23650 | <method name="GetVPosition" type="int" overloaded="no"> | |
781d2982 | 23651 | <autodoc>GetVPosition(self) -> int</autodoc> |
f32fc4bc RD |
23652 | </method> |
23653 | <method name="GetMovementThreshold" type="int" overloaded="no"> | |
781d2982 | 23654 | <autodoc>GetMovementThreshold(self) -> int</autodoc> |
f32fc4bc RD |
23655 | </method> |
23656 | <method name="SetMovementThreshold" type="" overloaded="no"> | |
781d2982 | 23657 | <autodoc>SetMovementThreshold(self, int threshold)</autodoc> |
f32fc4bc RD |
23658 | <paramlist> |
23659 | <param name="threshold" type="int" default=""/> | |
23660 | </paramlist> | |
23661 | </method> | |
23662 | <method name="IsOk" type="bool" overloaded="no"> | |
781d2982 | 23663 | <autodoc>IsOk(self) -> bool</autodoc> |
f32fc4bc RD |
23664 | </method> |
23665 | <method name="GetNumberJoysticks" type="int" overloaded="no"> | |
781d2982 | 23666 | <autodoc>GetNumberJoysticks(self) -> int</autodoc> |
f32fc4bc RD |
23667 | </method> |
23668 | <method name="GetManufacturerId" type="int" overloaded="no"> | |
781d2982 | 23669 | <autodoc>GetManufacturerId(self) -> int</autodoc> |
f32fc4bc RD |
23670 | </method> |
23671 | <method name="GetProductId" type="int" overloaded="no"> | |
781d2982 | 23672 | <autodoc>GetProductId(self) -> int</autodoc> |
f32fc4bc RD |
23673 | </method> |
23674 | <method name="GetProductName" type="String" overloaded="no"> | |
781d2982 | 23675 | <autodoc>GetProductName(self) -> String</autodoc> |
f32fc4bc RD |
23676 | </method> |
23677 | <method name="GetXMin" type="int" overloaded="no"> | |
781d2982 | 23678 | <autodoc>GetXMin(self) -> int</autodoc> |
f32fc4bc RD |
23679 | </method> |
23680 | <method name="GetYMin" type="int" overloaded="no"> | |
781d2982 | 23681 | <autodoc>GetYMin(self) -> int</autodoc> |
f32fc4bc RD |
23682 | </method> |
23683 | <method name="GetZMin" type="int" overloaded="no"> | |
781d2982 | 23684 | <autodoc>GetZMin(self) -> int</autodoc> |
f32fc4bc RD |
23685 | </method> |
23686 | <method name="GetXMax" type="int" overloaded="no"> | |
781d2982 | 23687 | <autodoc>GetXMax(self) -> int</autodoc> |
f32fc4bc RD |
23688 | </method> |
23689 | <method name="GetYMax" type="int" overloaded="no"> | |
781d2982 | 23690 | <autodoc>GetYMax(self) -> int</autodoc> |
f32fc4bc RD |
23691 | </method> |
23692 | <method name="GetZMax" type="int" overloaded="no"> | |
781d2982 | 23693 | <autodoc>GetZMax(self) -> int</autodoc> |
f32fc4bc RD |
23694 | </method> |
23695 | <method name="GetNumberButtons" type="int" overloaded="no"> | |
781d2982 | 23696 | <autodoc>GetNumberButtons(self) -> int</autodoc> |
f32fc4bc RD |
23697 | </method> |
23698 | <method name="GetNumberAxes" type="int" overloaded="no"> | |
781d2982 | 23699 | <autodoc>GetNumberAxes(self) -> int</autodoc> |
f32fc4bc RD |
23700 | </method> |
23701 | <method name="GetMaxButtons" type="int" overloaded="no"> | |
781d2982 | 23702 | <autodoc>GetMaxButtons(self) -> int</autodoc> |
f32fc4bc RD |
23703 | </method> |
23704 | <method name="GetMaxAxes" type="int" overloaded="no"> | |
781d2982 | 23705 | <autodoc>GetMaxAxes(self) -> int</autodoc> |
f32fc4bc RD |
23706 | </method> |
23707 | <method name="GetPollingMin" type="int" overloaded="no"> | |
781d2982 | 23708 | <autodoc>GetPollingMin(self) -> int</autodoc> |
f32fc4bc RD |
23709 | </method> |
23710 | <method name="GetPollingMax" type="int" overloaded="no"> | |
781d2982 | 23711 | <autodoc>GetPollingMax(self) -> int</autodoc> |
f32fc4bc RD |
23712 | </method> |
23713 | <method name="GetRudderMin" type="int" overloaded="no"> | |
781d2982 | 23714 | <autodoc>GetRudderMin(self) -> int</autodoc> |
f32fc4bc RD |
23715 | </method> |
23716 | <method name="GetRudderMax" type="int" overloaded="no"> | |
781d2982 | 23717 | <autodoc>GetRudderMax(self) -> int</autodoc> |
f32fc4bc RD |
23718 | </method> |
23719 | <method name="GetUMin" type="int" overloaded="no"> | |
781d2982 | 23720 | <autodoc>GetUMin(self) -> int</autodoc> |
f32fc4bc RD |
23721 | </method> |
23722 | <method name="GetUMax" type="int" overloaded="no"> | |
781d2982 | 23723 | <autodoc>GetUMax(self) -> int</autodoc> |
f32fc4bc RD |
23724 | </method> |
23725 | <method name="GetVMin" type="int" overloaded="no"> | |
781d2982 | 23726 | <autodoc>GetVMin(self) -> int</autodoc> |
f32fc4bc RD |
23727 | </method> |
23728 | <method name="GetVMax" type="int" overloaded="no"> | |
781d2982 | 23729 | <autodoc>GetVMax(self) -> int</autodoc> |
f32fc4bc RD |
23730 | </method> |
23731 | <method name="HasRudder" type="bool" overloaded="no"> | |
781d2982 | 23732 | <autodoc>HasRudder(self) -> bool</autodoc> |
f32fc4bc RD |
23733 | </method> |
23734 | <method name="HasZ" type="bool" overloaded="no"> | |
781d2982 | 23735 | <autodoc>HasZ(self) -> bool</autodoc> |
f32fc4bc RD |
23736 | </method> |
23737 | <method name="HasU" type="bool" overloaded="no"> | |
781d2982 | 23738 | <autodoc>HasU(self) -> bool</autodoc> |
f32fc4bc RD |
23739 | </method> |
23740 | <method name="HasV" type="bool" overloaded="no"> | |
781d2982 | 23741 | <autodoc>HasV(self) -> bool</autodoc> |
f32fc4bc RD |
23742 | </method> |
23743 | <method name="HasPOV" type="bool" overloaded="no"> | |
781d2982 | 23744 | <autodoc>HasPOV(self) -> bool</autodoc> |
f32fc4bc RD |
23745 | </method> |
23746 | <method name="HasPOV4Dir" type="bool" overloaded="no"> | |
781d2982 | 23747 | <autodoc>HasPOV4Dir(self) -> bool</autodoc> |
f32fc4bc RD |
23748 | </method> |
23749 | <method name="HasPOVCTS" type="bool" overloaded="no"> | |
781d2982 | 23750 | <autodoc>HasPOVCTS(self) -> bool</autodoc> |
f32fc4bc RD |
23751 | </method> |
23752 | <method name="SetCapture" type="bool" overloaded="no"> | |
781d2982 | 23753 | <autodoc>SetCapture(self, Window win, int pollingFreq=0) -> bool</autodoc> |
f32fc4bc RD |
23754 | <paramlist> |
23755 | <param name="win" type="Window" default=""/> | |
23756 | <param name="pollingFreq" type="int" default="0"/> | |
23757 | </paramlist> | |
23758 | </method> | |
23759 | <method name="ReleaseCapture" type="bool" overloaded="no"> | |
781d2982 | 23760 | <autodoc>ReleaseCapture(self) -> bool</autodoc> |
f32fc4bc RD |
23761 | </method> |
23762 | </class> | |
781d2982 | 23763 | <class name="JoystickEvent" oldname="wxJoystickEvent" module="_misc"> |
f32fc4bc RD |
23764 | <baseclass name="Event"/> |
23765 | <constructor name="JoystickEvent" overloaded="no"> | |
781d2982 | 23766 | <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1, |
f32fc4bc RD |
23767 | int change=0) -> JoystickEvent</autodoc> |
23768 | <paramlist> | |
23769 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
23770 | <param name="state" type="int" default="0"/> | |
23771 | <param name="joystick" type="int" default="wxJOYSTICK1"/> | |
23772 | <param name="change" type="int" default="0"/> | |
23773 | </paramlist> | |
23774 | </constructor> | |
23775 | <property name="m_pos" type="Point" readonly="no"/> | |
23776 | <property name="m_zPosition" type="int" readonly="no"/> | |
23777 | <property name="m_buttonChange" type="int" readonly="no"/> | |
23778 | <property name="m_buttonState" type="int" readonly="no"/> | |
23779 | <property name="m_joyStick" type="int" readonly="no"/> | |
23780 | <method name="GetPosition" type="Point" overloaded="no"> | |
781d2982 | 23781 | <autodoc>GetPosition(self) -> Point</autodoc> |
f32fc4bc RD |
23782 | </method> |
23783 | <method name="GetZPosition" type="int" overloaded="no"> | |
781d2982 | 23784 | <autodoc>GetZPosition(self) -> int</autodoc> |
f32fc4bc RD |
23785 | </method> |
23786 | <method name="GetButtonState" type="int" overloaded="no"> | |
781d2982 | 23787 | <autodoc>GetButtonState(self) -> int</autodoc> |
f32fc4bc RD |
23788 | </method> |
23789 | <method name="GetButtonChange" type="int" overloaded="no"> | |
781d2982 | 23790 | <autodoc>GetButtonChange(self) -> int</autodoc> |
f32fc4bc RD |
23791 | </method> |
23792 | <method name="GetJoystick" type="int" overloaded="no"> | |
781d2982 | 23793 | <autodoc>GetJoystick(self) -> int</autodoc> |
f32fc4bc RD |
23794 | </method> |
23795 | <method name="SetJoystick" type="" overloaded="no"> | |
781d2982 | 23796 | <autodoc>SetJoystick(self, int stick)</autodoc> |
f32fc4bc RD |
23797 | <paramlist> |
23798 | <param name="stick" type="int" default=""/> | |
23799 | </paramlist> | |
23800 | </method> | |
23801 | <method name="SetButtonState" type="" overloaded="no"> | |
781d2982 | 23802 | <autodoc>SetButtonState(self, int state)</autodoc> |
f32fc4bc RD |
23803 | <paramlist> |
23804 | <param name="state" type="int" default=""/> | |
23805 | </paramlist> | |
23806 | </method> | |
23807 | <method name="SetButtonChange" type="" overloaded="no"> | |
781d2982 | 23808 | <autodoc>SetButtonChange(self, int change)</autodoc> |
f32fc4bc RD |
23809 | <paramlist> |
23810 | <param name="change" type="int" default=""/> | |
23811 | </paramlist> | |
23812 | </method> | |
23813 | <method name="SetPosition" type="" overloaded="no"> | |
781d2982 | 23814 | <autodoc>SetPosition(self, Point pos)</autodoc> |
f32fc4bc RD |
23815 | <paramlist> |
23816 | <param name="pos" type="Point" default=""/> | |
23817 | </paramlist> | |
23818 | </method> | |
23819 | <method name="SetZPosition" type="" overloaded="no"> | |
781d2982 | 23820 | <autodoc>SetZPosition(self, int zPos)</autodoc> |
f32fc4bc RD |
23821 | <paramlist> |
23822 | <param name="zPos" type="int" default=""/> | |
23823 | </paramlist> | |
23824 | </method> | |
23825 | <method name="IsButton" type="bool" overloaded="no"> | |
781d2982 | 23826 | <autodoc>IsButton(self) -> bool</autodoc> |
f32fc4bc RD |
23827 | </method> |
23828 | <method name="IsMove" type="bool" overloaded="no"> | |
781d2982 | 23829 | <autodoc>IsMove(self) -> bool</autodoc> |
f32fc4bc RD |
23830 | </method> |
23831 | <method name="IsZMove" type="bool" overloaded="no"> | |
781d2982 | 23832 | <autodoc>IsZMove(self) -> bool</autodoc> |
f32fc4bc RD |
23833 | </method> |
23834 | <method name="ButtonDown" type="bool" overloaded="no"> | |
781d2982 | 23835 | <autodoc>ButtonDown(self, int but=JOY_BUTTON_ANY) -> bool</autodoc> |
f32fc4bc RD |
23836 | <paramlist> |
23837 | <param name="but" type="int" default="wxJOY_BUTTON_ANY"/> | |
23838 | </paramlist> | |
23839 | </method> | |
23840 | <method name="ButtonUp" type="bool" overloaded="no"> | |
781d2982 | 23841 | <autodoc>ButtonUp(self, int but=JOY_BUTTON_ANY) -> bool</autodoc> |
f32fc4bc RD |
23842 | <paramlist> |
23843 | <param name="but" type="int" default="wxJOY_BUTTON_ANY"/> | |
23844 | </paramlist> | |
23845 | </method> | |
23846 | <method name="ButtonIsDown" type="bool" overloaded="no"> | |
781d2982 | 23847 | <autodoc>ButtonIsDown(self, int but=JOY_BUTTON_ANY) -> bool</autodoc> |
f32fc4bc RD |
23848 | <paramlist> |
23849 | <param name="but" type="int" default="wxJOY_BUTTON_ANY"/> | |
23850 | </paramlist> | |
23851 | </method> | |
23852 | </class> | |
23853 | <pythoncode> | |
23854 | EVT_JOY_BUTTON_DOWN = wx.PyEventBinder( wxEVT_JOY_BUTTON_DOWN ) | |
23855 | EVT_JOY_BUTTON_UP = wx.PyEventBinder( wxEVT_JOY_BUTTON_UP ) | |
23856 | EVT_JOY_MOVE = wx.PyEventBinder( wxEVT_JOY_MOVE ) | |
23857 | EVT_JOY_ZMOVE = wx.PyEventBinder( wxEVT_JOY_ZMOVE ) | |
23858 | ||
23859 | EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN, | |
23860 | wxEVT_JOY_BUTTON_UP, | |
23861 | wxEVT_JOY_MOVE, | |
23862 | wxEVT_JOY_ZMOVE, | |
23863 | ]) | |
856bf319 | 23864 | |
0f43fbdf | 23865 | </pythoncode> |
f32fc4bc | 23866 | <pythoncode> |
0f43fbdf RD |
23867 | #--------------------------------------------------------------------------- |
23868 | </pythoncode> | |
781d2982 RD |
23869 | <class name="Sound" oldname="wxSound" module="_misc"> |
23870 | <constructor name="Sound" overloaded="no"> | |
23871 | <autodoc>__init__(self, String fileName=EmptyString) -> Sound</autodoc> | |
f32fc4bc | 23872 | <paramlist> |
781d2982 | 23873 | <param name="fileName" type="String" default="wxPyEmptyString"/> |
f32fc4bc RD |
23874 | </paramlist> |
23875 | </constructor> | |
781d2982 RD |
23876 | <constructor name="SoundFromData" overloaded="no"> |
23877 | <autodoc>SoundFromData(PyObject data) -> Sound</autodoc> | |
f32fc4bc | 23878 | <paramlist> |
781d2982 | 23879 | <param name="data" type="PyObject" default=""/> |
f32fc4bc RD |
23880 | </paramlist> |
23881 | </constructor> | |
23882 | <destructor name="~wxSound" overloaded="no"> | |
781d2982 | 23883 | <autodoc>__del__(self)</autodoc> |
f32fc4bc | 23884 | </destructor> |
781d2982 RD |
23885 | <method name="Create" type="bool" overloaded="no"> |
23886 | <autodoc>Create(self, String fileName) -> bool</autodoc> | |
f32fc4bc RD |
23887 | <paramlist> |
23888 | <param name="fileName" type="String" default=""/> | |
f32fc4bc RD |
23889 | </paramlist> |
23890 | </method> | |
781d2982 RD |
23891 | <method name="CreateFromData" type="bool" overloaded="no"> |
23892 | <autodoc>CreateFromData(self, PyObject data) -> bool</autodoc> | |
f32fc4bc | 23893 | <paramlist> |
781d2982 | 23894 | <param name="data" type="PyObject" default=""/> |
f32fc4bc RD |
23895 | </paramlist> |
23896 | </method> | |
23897 | <method name="IsOk" type="bool" overloaded="no"> | |
781d2982 | 23898 | <autodoc>IsOk(self) -> bool</autodoc> |
f32fc4bc RD |
23899 | </method> |
23900 | <method name="Play" type="bool" overloaded="no"> | |
781d2982 | 23901 | <autodoc>Play(self, unsigned int flags=SOUND_ASYNC) -> bool</autodoc> |
f32fc4bc RD |
23902 | <paramlist> |
23903 | <param name="flags" type="unsigned int" default="wxSOUND_ASYNC"/> | |
23904 | </paramlist> | |
23905 | </method> | |
23906 | <staticmethod name="PlaySound" type="bool" overloaded="no"> | |
23907 | <autodoc>PlaySound(String filename, unsigned int flags=SOUND_ASYNC) -> bool</autodoc> | |
23908 | <paramlist> | |
23909 | <param name="filename" type="String" default=""/> | |
23910 | <param name="flags" type="unsigned int" default="wxSOUND_ASYNC"/> | |
23911 | </paramlist> | |
23912 | </staticmethod> | |
23913 | <staticmethod name="Stop" type="" overloaded="no"> | |
23914 | <autodoc>Stop()</autodoc> | |
23915 | </staticmethod> | |
23916 | </class> | |
23917 | <pythoncode> | |
23918 | #--------------------------------------------------------------------------- | |
23919 | </pythoncode> | |
781d2982 | 23920 | <class name="FileTypeInfo" oldname="wxFileTypeInfo" module="_misc"> |
f32fc4bc | 23921 | <constructor name="FileTypeInfo" overloaded="no"> |
781d2982 | 23922 | <autodoc>__init__(self, String mimeType, String openCmd, String printCmd, String desc) -> FileTypeInfo</autodoc> |
f32fc4bc RD |
23923 | <paramlist> |
23924 | <param name="mimeType" type="String" default=""/> | |
23925 | <param name="openCmd" type="String" default=""/> | |
23926 | <param name="printCmd" type="String" default=""/> | |
23927 | <param name="desc" type="String" default=""/> | |
23928 | </paramlist> | |
23929 | </constructor> | |
23930 | <constructor name="FileTypeInfoSequence" overloaded="no"> | |
23931 | <autodoc>FileTypeInfoSequence(wxArrayString sArray) -> FileTypeInfo</autodoc> | |
23932 | <paramlist> | |
23933 | <param name="sArray" type="wxArrayString" default=""/> | |
23934 | </paramlist> | |
23935 | </constructor> | |
23936 | <constructor name="NullFileTypeInfo" overloaded="no"> | |
23937 | <autodoc>NullFileTypeInfo() -> FileTypeInfo</autodoc> | |
23938 | </constructor> | |
23939 | <method name="IsValid" type="bool" overloaded="no"> | |
781d2982 | 23940 | <autodoc>IsValid(self) -> bool</autodoc> |
f32fc4bc RD |
23941 | </method> |
23942 | <method name="SetIcon" type="" overloaded="no"> | |
781d2982 | 23943 | <autodoc>SetIcon(self, String iconFile, int iconIndex=0)</autodoc> |
f32fc4bc RD |
23944 | <paramlist> |
23945 | <param name="iconFile" type="String" default=""/> | |
23946 | <param name="iconIndex" type="int" default="0"/> | |
23947 | </paramlist> | |
23948 | </method> | |
23949 | <method name="SetShortDesc" type="" overloaded="no"> | |
781d2982 | 23950 | <autodoc>SetShortDesc(self, String shortDesc)</autodoc> |
f32fc4bc RD |
23951 | <paramlist> |
23952 | <param name="shortDesc" type="String" default=""/> | |
23953 | </paramlist> | |
23954 | </method> | |
23955 | <method name="GetMimeType" type="String" overloaded="no"> | |
781d2982 | 23956 | <autodoc>GetMimeType(self) -> String</autodoc> |
f32fc4bc RD |
23957 | </method> |
23958 | <method name="GetOpenCommand" type="String" overloaded="no"> | |
781d2982 | 23959 | <autodoc>GetOpenCommand(self) -> String</autodoc> |
f32fc4bc RD |
23960 | </method> |
23961 | <method name="GetPrintCommand" type="String" overloaded="no"> | |
781d2982 | 23962 | <autodoc>GetPrintCommand(self) -> String</autodoc> |
f32fc4bc RD |
23963 | </method> |
23964 | <method name="GetShortDesc" type="String" overloaded="no"> | |
781d2982 | 23965 | <autodoc>GetShortDesc(self) -> String</autodoc> |
f32fc4bc RD |
23966 | </method> |
23967 | <method name="GetDescription" type="String" overloaded="no"> | |
781d2982 | 23968 | <autodoc>GetDescription(self) -> String</autodoc> |
f32fc4bc RD |
23969 | </method> |
23970 | <method name="GetExtensions" type="wxArrayString" overloaded="no"> | |
781d2982 | 23971 | <autodoc>GetExtensions(self) -> wxArrayString</autodoc> |
f32fc4bc RD |
23972 | </method> |
23973 | <method name="GetExtensionsCount" type="int" overloaded="no"> | |
781d2982 | 23974 | <autodoc>GetExtensionsCount(self) -> int</autodoc> |
f32fc4bc RD |
23975 | </method> |
23976 | <method name="GetIconFile" type="String" overloaded="no"> | |
781d2982 | 23977 | <autodoc>GetIconFile(self) -> String</autodoc> |
f32fc4bc RD |
23978 | </method> |
23979 | <method name="GetIconIndex" type="int" overloaded="no"> | |
781d2982 | 23980 | <autodoc>GetIconIndex(self) -> int</autodoc> |
f32fc4bc RD |
23981 | </method> |
23982 | </class> | |
781d2982 | 23983 | <class name="FileType" oldname="wxFileType" module="_misc"> |
f32fc4bc | 23984 | <constructor name="FileType" overloaded="no"> |
781d2982 | 23985 | <autodoc>__init__(self, FileTypeInfo ftInfo) -> FileType</autodoc> |
f32fc4bc RD |
23986 | <paramlist> |
23987 | <param name="ftInfo" type="FileTypeInfo" default=""/> | |
23988 | </paramlist> | |
23989 | </constructor> | |
23990 | <destructor name="~wxFileType" overloaded="no"> | |
781d2982 | 23991 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
23992 | </destructor> |
23993 | <method name="GetMimeType" type="PyObject" overloaded="no"> | |
781d2982 | 23994 | <autodoc>GetMimeType(self) -> PyObject</autodoc> |
f32fc4bc RD |
23995 | </method> |
23996 | <method name="GetMimeTypes" type="PyObject" overloaded="no"> | |
781d2982 | 23997 | <autodoc>GetMimeTypes(self) -> PyObject</autodoc> |
f32fc4bc RD |
23998 | </method> |
23999 | <method name="GetExtensions" type="PyObject" overloaded="no"> | |
781d2982 | 24000 | <autodoc>GetExtensions(self) -> PyObject</autodoc> |
f32fc4bc RD |
24001 | </method> |
24002 | <method name="GetIcon" type="Icon" overloaded="no"> | |
781d2982 | 24003 | <autodoc>GetIcon(self) -> Icon</autodoc> |
f32fc4bc RD |
24004 | </method> |
24005 | <method name="GetIconInfo" type="PyObject" overloaded="no"> | |
781d2982 | 24006 | <autodoc>GetIconInfo(self) -> PyObject</autodoc> |
f32fc4bc RD |
24007 | </method> |
24008 | <method name="GetDescription" type="PyObject" overloaded="no"> | |
781d2982 | 24009 | <autodoc>GetDescription(self) -> PyObject</autodoc> |
f32fc4bc RD |
24010 | </method> |
24011 | <method name="GetOpenCommand" type="PyObject" overloaded="no"> | |
781d2982 | 24012 | <autodoc>GetOpenCommand(self, String filename, String mimetype=EmptyString) -> PyObject</autodoc> |
f32fc4bc RD |
24013 | <paramlist> |
24014 | <param name="filename" type="String" default=""/> | |
24015 | <param name="mimetype" type="String" default="wxPyEmptyString"/> | |
24016 | </paramlist> | |
24017 | </method> | |
24018 | <method name="GetPrintCommand" type="PyObject" overloaded="no"> | |
781d2982 | 24019 | <autodoc>GetPrintCommand(self, String filename, String mimetype=EmptyString) -> PyObject</autodoc> |
f32fc4bc RD |
24020 | <paramlist> |
24021 | <param name="filename" type="String" default=""/> | |
24022 | <param name="mimetype" type="String" default="wxPyEmptyString"/> | |
24023 | </paramlist> | |
24024 | </method> | |
24025 | <method name="GetAllCommands" type="PyObject" overloaded="no"> | |
781d2982 | 24026 | <autodoc>GetAllCommands(self, String filename, String mimetype=EmptyString) -> PyObject</autodoc> |
f32fc4bc RD |
24027 | <paramlist> |
24028 | <param name="filename" type="String" default=""/> | |
24029 | <param name="mimetype" type="String" default="wxPyEmptyString"/> | |
24030 | </paramlist> | |
24031 | </method> | |
24032 | <method name="SetCommand" type="bool" overloaded="no"> | |
781d2982 | 24033 | <autodoc>SetCommand(self, String cmd, String verb, bool overwriteprompt=True) -> bool</autodoc> |
f32fc4bc RD |
24034 | <paramlist> |
24035 | <param name="cmd" type="String" default=""/> | |
24036 | <param name="verb" type="String" default=""/> | |
24037 | <param name="overwriteprompt" type="bool" default="True"/> | |
24038 | </paramlist> | |
24039 | </method> | |
24040 | <method name="SetDefaultIcon" type="bool" overloaded="no"> | |
781d2982 | 24041 | <autodoc>SetDefaultIcon(self, String cmd=EmptyString, int index=0) -> bool</autodoc> |
f32fc4bc RD |
24042 | <paramlist> |
24043 | <param name="cmd" type="String" default="wxPyEmptyString"/> | |
24044 | <param name="index" type="int" default="0"/> | |
24045 | </paramlist> | |
24046 | </method> | |
24047 | <method name="Unassociate" type="bool" overloaded="no"> | |
781d2982 | 24048 | <autodoc>Unassociate(self) -> bool</autodoc> |
f32fc4bc RD |
24049 | </method> |
24050 | <staticmethod name="ExpandCommand" type="String" overloaded="no"> | |
24051 | <autodoc>ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String</autodoc> | |
24052 | <paramlist> | |
24053 | <param name="command" type="String" default=""/> | |
24054 | <param name="filename" type="String" default=""/> | |
24055 | <param name="mimetype" type="String" default="wxPyEmptyString"/> | |
24056 | </paramlist> | |
24057 | </staticmethod> | |
24058 | </class> | |
781d2982 | 24059 | <class name="MimeTypesManager" oldname="wxMimeTypesManager" module="_misc"> |
f32fc4bc | 24060 | <constructor name="MimeTypesManager" overloaded="no"> |
781d2982 | 24061 | <autodoc>__init__(self) -> MimeTypesManager</autodoc> |
f32fc4bc RD |
24062 | </constructor> |
24063 | <destructor name="~wxMimeTypesManager" overloaded="no"> | |
781d2982 | 24064 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
24065 | </destructor> |
24066 | <staticmethod name="IsOfType" type="bool" overloaded="no"> | |
24067 | <autodoc>IsOfType(String mimeType, String wildcard) -> bool</autodoc> | |
24068 | <paramlist> | |
24069 | <param name="mimeType" type="String" default=""/> | |
24070 | <param name="wildcard" type="String" default=""/> | |
24071 | </paramlist> | |
24072 | </staticmethod> | |
24073 | <method name="Initialize" type="" overloaded="no"> | |
781d2982 | 24074 | <autodoc>Initialize(self, int mailcapStyle=MAILCAP_ALL, String extraDir=EmptyString)</autodoc> |
f32fc4bc RD |
24075 | <paramlist> |
24076 | <param name="mailcapStyle" type="int" default="wxMAILCAP_ALL"/> | |
24077 | <param name="extraDir" type="String" default="wxPyEmptyString"/> | |
24078 | </paramlist> | |
24079 | </method> | |
24080 | <method name="ClearData" type="" overloaded="no"> | |
781d2982 | 24081 | <autodoc>ClearData(self)</autodoc> |
f32fc4bc RD |
24082 | </method> |
24083 | <method name="GetFileTypeFromExtension" type="FileType" overloaded="no"> | |
781d2982 | 24084 | <autodoc>GetFileTypeFromExtension(self, String ext) -> FileType</autodoc> |
f32fc4bc RD |
24085 | <paramlist> |
24086 | <param name="ext" type="String" default=""/> | |
24087 | </paramlist> | |
24088 | </method> | |
24089 | <method name="GetFileTypeFromMimeType" type="FileType" overloaded="no"> | |
781d2982 | 24090 | <autodoc>GetFileTypeFromMimeType(self, String mimeType) -> FileType</autodoc> |
f32fc4bc RD |
24091 | <paramlist> |
24092 | <param name="mimeType" type="String" default=""/> | |
24093 | </paramlist> | |
24094 | </method> | |
24095 | <method name="ReadMailcap" type="bool" overloaded="no"> | |
781d2982 | 24096 | <autodoc>ReadMailcap(self, String filename, bool fallback=False) -> bool</autodoc> |
f32fc4bc RD |
24097 | <paramlist> |
24098 | <param name="filename" type="String" default=""/> | |
24099 | <param name="fallback" type="bool" default="False"/> | |
24100 | </paramlist> | |
24101 | </method> | |
24102 | <method name="ReadMimeTypes" type="bool" overloaded="no"> | |
781d2982 | 24103 | <autodoc>ReadMimeTypes(self, String filename) -> bool</autodoc> |
f32fc4bc RD |
24104 | <paramlist> |
24105 | <param name="filename" type="String" default=""/> | |
24106 | </paramlist> | |
24107 | </method> | |
24108 | <method name="EnumAllFileTypes" type="PyObject" overloaded="no"> | |
781d2982 | 24109 | <autodoc>EnumAllFileTypes(self) -> PyObject</autodoc> |
f32fc4bc RD |
24110 | </method> |
24111 | <method name="AddFallback" type="" overloaded="no"> | |
781d2982 | 24112 | <autodoc>AddFallback(self, FileTypeInfo ft)</autodoc> |
f32fc4bc RD |
24113 | <paramlist> |
24114 | <param name="ft" type="FileTypeInfo" default=""/> | |
24115 | </paramlist> | |
24116 | </method> | |
24117 | <method name="Associate" type="FileType" overloaded="no"> | |
781d2982 | 24118 | <autodoc>Associate(self, FileTypeInfo ftInfo) -> FileType</autodoc> |
f32fc4bc RD |
24119 | <paramlist> |
24120 | <param name="ftInfo" type="FileTypeInfo" default=""/> | |
24121 | </paramlist> | |
24122 | </method> | |
24123 | <method name="Unassociate" type="bool" overloaded="no"> | |
781d2982 | 24124 | <autodoc>Unassociate(self, FileType ft) -> bool</autodoc> |
f32fc4bc RD |
24125 | <paramlist> |
24126 | <param name="ft" type="FileType" default=""/> | |
24127 | </paramlist> | |
24128 | </method> | |
24129 | </class> | |
24130 | <pythoncode> | |
24131 | #--------------------------------------------------------------------------- | |
24132 | </pythoncode> | |
781d2982 RD |
24133 | <class name="ArtProvider" oldname="wxPyArtProvider" module="_misc"> |
24134 | <docstring>The wx.ArtProvider class is used to customize the look of wxWidgets | |
24135 | application. When wxWidgets needs to display an icon or a bitmap (e.g. | |
24136 | in the standard file dialog), it does not use hard-coded resource but | |
24137 | asks wx.ArtProvider for it instead. This way the users can plug in | |
24138 | their own wx.ArtProvider class and easily replace standard art with | |
24139 | his/her own version. It is easy thing to do: all that is needed is | |
24140 | to derive a class from wx.ArtProvider, override it's CreateBitmap | |
24141 | method and register the provider with wx.ArtProvider.PushProvider:: | |
24142 | ||
24143 | class MyArtProvider(wx.ArtProvider): | |
24144 | def __init__(self): | |
24145 | wx.ArtProvider.__init__(self) | |
24146 | ||
24147 | def CreateBitmap(self, artid, client, size): | |
24148 | ... | |
24149 | return bmp | |
ce6878e6 RD |
24150 | |
24151 | ||
24152 | Identifying art resources | |
24153 | ------------------------- | |
24154 | ||
24155 | Every bitmap is known to wx.ArtProvider under an unique ID that is | |
0190c472 RD |
24156 | used when requesting a resource from it. The IDs can have one of the |
24157 | following predefined values. Additionally, any string recognized by | |
24158 | custom art providers registered using `PushProvider` may be used. | |
24159 | ||
24160 | GTK+ Note | |
24161 | --------- | |
24162 | ||
24163 | When running under GTK+ 2, GTK+ stock item IDs (e.g. 'gtk-cdrom') may be used | |
24164 | as well. Additionally, if wxGTK was compiled against GTK+ >= 2.4, then it is | |
24165 | also possible to load icons from current icon theme by specifying their name | |
24166 | without the extension and directory components. Icon themes recognized by GTK+ | |
24167 | follow the freedesktop.org Icon Themes specification. Note that themes are | |
24168 | not guaranteed to contain all icons, so wx.ArtProvider may return wx.NullBitmap | |
24169 | or wx.NullIcon. The default theme is typically installed in /usr/share/icons/hicolor. | |
24170 | ||
ce6878e6 RD |
24171 | |
24172 | * wx.ART_ADD_BOOKMARK | |
24173 | * wx.ART_DEL_BOOKMARK | |
24174 | * wx.ART_HELP_SIDE_PANEL | |
24175 | * wx.ART_HELP_SETTINGS | |
24176 | * wx.ART_HELP_BOOK | |
24177 | * wx.ART_HELP_FOLDER | |
24178 | * wx.ART_HELP_PAGE | |
24179 | * wx.ART_GO_BACK | |
24180 | * wx.ART_GO_FORWARD | |
24181 | * wx.ART_GO_UP | |
24182 | * wx.ART_GO_DOWN | |
24183 | * wx.ART_GO_TO_PARENT | |
24184 | * wx.ART_GO_HOME | |
24185 | * wx.ART_FILE_OPEN | |
24186 | * wx.ART_PRINT | |
24187 | * wx.ART_HELP | |
24188 | * wx.ART_TIP | |
24189 | * wx.ART_REPORT_VIEW | |
24190 | * wx.ART_LIST_VIEW | |
24191 | * wx.ART_NEW_DIR | |
24192 | * wx.ART_FOLDER | |
24193 | * wx.ART_GO_DIR_UP | |
24194 | * wx.ART_EXECUTABLE_FILE | |
24195 | * wx.ART_NORMAL_FILE | |
24196 | * wx.ART_TICK_MARK | |
24197 | * wx.ART_CROSS_MARK | |
24198 | * wx.ART_ERROR | |
24199 | * wx.ART_QUESTION | |
24200 | * wx.ART_WARNING | |
24201 | * wx.ART_INFORMATION | |
24202 | * wx.ART_MISSING_IMAGE | |
24203 | ||
24204 | ||
24205 | Clients | |
24206 | ------- | |
24207 | ||
24208 | The Client is the entity that calls wx.ArtProvider's `GetBitmap` or | |
0190c472 | 24209 | `GetIcon` function. Client IDs serve as a hint to wx.ArtProvider |
ce6878e6 RD |
24210 | that is supposed to help it to choose the best looking bitmap. For |
24211 | example it is often desirable to use slightly different icons in menus | |
24212 | and toolbars even though they represent the same action (e.g. | |
24213 | wx.ART_FILE_OPEN). Remember that this is really only a hint for | |
24214 | wx.ArtProvider -- it is common that `wx.ArtProvider.GetBitmap` returns | |
24215 | identical bitmap for different client values! | |
24216 | ||
24217 | * wx.ART_TOOLBAR | |
24218 | * wx.ART_MENU | |
24219 | * wx.ART_FRAME_ICON | |
24220 | * wx.ART_CMN_DIALOG | |
24221 | * wx.ART_HELP_BROWSER | |
24222 | * wx.ART_MESSAGE_BOX | |
0190c472 | 24223 | * wx.ART_BUTTON |
ce6878e6 RD |
24224 | * wx.ART_OTHER (used for all requests that don't fit into any |
24225 | of the categories above) | |
781d2982 | 24226 | </docstring> |
f32fc4bc | 24227 | <constructor name="wxPyArtProvider" overloaded="no"> |
781d2982 RD |
24228 | <autodoc>__init__(self) -> ArtProvider</autodoc> |
24229 | <docstring>The wx.ArtProvider class is used to customize the look of wxWidgets | |
24230 | application. When wxWidgets needs to display an icon or a bitmap (e.g. | |
24231 | in the standard file dialog), it does not use hard-coded resource but | |
24232 | asks wx.ArtProvider for it instead. This way the users can plug in | |
24233 | their own wx.ArtProvider class and easily replace standard art with | |
24234 | his/her own version. It is easy thing to do: all that is needed is | |
24235 | to derive a class from wx.ArtProvider, override it's CreateBitmap | |
24236 | method and register the provider with wx.ArtProvider.PushProvider:: | |
24237 | ||
24238 | class MyArtProvider(wx.ArtProvider): | |
24239 | def __init__(self): | |
24240 | wx.ArtProvider.__init__(self) | |
24241 | ||
24242 | def CreateBitmap(self, artid, client, size): | |
24243 | ... | |
24244 | return bmp | |
ce6878e6 RD |
24245 | |
24246 | ||
24247 | Identifying art resources | |
24248 | ------------------------- | |
24249 | ||
24250 | Every bitmap is known to wx.ArtProvider under an unique ID that is | |
0190c472 RD |
24251 | used when requesting a resource from it. The IDs can have one of the |
24252 | following predefined values. Additionally, any string recognized by | |
24253 | custom art providers registered using `PushProvider` may be used. | |
24254 | ||
24255 | GTK+ Note | |
24256 | --------- | |
24257 | ||
24258 | When running under GTK+ 2, GTK+ stock item IDs (e.g. 'gtk-cdrom') may be used | |
24259 | as well. Additionally, if wxGTK was compiled against GTK+ >= 2.4, then it is | |
24260 | also possible to load icons from current icon theme by specifying their name | |
24261 | without the extension and directory components. Icon themes recognized by GTK+ | |
24262 | follow the freedesktop.org Icon Themes specification. Note that themes are | |
24263 | not guaranteed to contain all icons, so wx.ArtProvider may return wx.NullBitmap | |
24264 | or wx.NullIcon. The default theme is typically installed in /usr/share/icons/hicolor. | |
24265 | ||
ce6878e6 RD |
24266 | |
24267 | * wx.ART_ADD_BOOKMARK | |
24268 | * wx.ART_DEL_BOOKMARK | |
24269 | * wx.ART_HELP_SIDE_PANEL | |
24270 | * wx.ART_HELP_SETTINGS | |
24271 | * wx.ART_HELP_BOOK | |
24272 | * wx.ART_HELP_FOLDER | |
24273 | * wx.ART_HELP_PAGE | |
24274 | * wx.ART_GO_BACK | |
24275 | * wx.ART_GO_FORWARD | |
24276 | * wx.ART_GO_UP | |
24277 | * wx.ART_GO_DOWN | |
24278 | * wx.ART_GO_TO_PARENT | |
24279 | * wx.ART_GO_HOME | |
24280 | * wx.ART_FILE_OPEN | |
24281 | * wx.ART_PRINT | |
24282 | * wx.ART_HELP | |
24283 | * wx.ART_TIP | |
24284 | * wx.ART_REPORT_VIEW | |
24285 | * wx.ART_LIST_VIEW | |
24286 | * wx.ART_NEW_DIR | |
24287 | * wx.ART_FOLDER | |
24288 | * wx.ART_GO_DIR_UP | |
24289 | * wx.ART_EXECUTABLE_FILE | |
24290 | * wx.ART_NORMAL_FILE | |
24291 | * wx.ART_TICK_MARK | |
24292 | * wx.ART_CROSS_MARK | |
24293 | * wx.ART_ERROR | |
24294 | * wx.ART_QUESTION | |
24295 | * wx.ART_WARNING | |
24296 | * wx.ART_INFORMATION | |
24297 | * wx.ART_MISSING_IMAGE | |
24298 | ||
24299 | ||
24300 | Clients | |
24301 | ------- | |
24302 | ||
24303 | The Client is the entity that calls wx.ArtProvider's `GetBitmap` or | |
0190c472 | 24304 | `GetIcon` function. Client IDs serve as a hint to wx.ArtProvider |
ce6878e6 RD |
24305 | that is supposed to help it to choose the best looking bitmap. For |
24306 | example it is often desirable to use slightly different icons in menus | |
24307 | and toolbars even though they represent the same action (e.g. | |
24308 | wx.ART_FILE_OPEN). Remember that this is really only a hint for | |
24309 | wx.ArtProvider -- it is common that `wx.ArtProvider.GetBitmap` returns | |
24310 | identical bitmap for different client values! | |
24311 | ||
24312 | * wx.ART_TOOLBAR | |
24313 | * wx.ART_MENU | |
24314 | * wx.ART_FRAME_ICON | |
24315 | * wx.ART_CMN_DIALOG | |
24316 | * wx.ART_HELP_BROWSER | |
24317 | * wx.ART_MESSAGE_BOX | |
0190c472 | 24318 | * wx.ART_BUTTON |
ce6878e6 RD |
24319 | * wx.ART_OTHER (used for all requests that don't fit into any |
24320 | of the categories above) | |
781d2982 | 24321 | </docstring> |
f32fc4bc RD |
24322 | </constructor> |
24323 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 24324 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
24325 | <paramlist> |
24326 | <param name="self" type="PyObject" default=""/> | |
24327 | <param name="_class" type="PyObject" default=""/> | |
24328 | </paramlist> | |
24329 | </method> | |
24330 | <staticmethod name="PushProvider" type="" overloaded="no"> | |
24331 | <autodoc>PushProvider(ArtProvider provider)</autodoc> | |
24332 | <docstring>Add new provider to the top of providers stack.</docstring> | |
24333 | <paramlist> | |
24334 | <param name="provider" type="ArtProvider" default=""/> | |
24335 | </paramlist> | |
24336 | </staticmethod> | |
24337 | <staticmethod name="PopProvider" type="bool" overloaded="no"> | |
24338 | <autodoc>PopProvider() -> bool</autodoc> | |
24339 | <docstring>Remove latest added provider and delete it.</docstring> | |
24340 | </staticmethod> | |
24341 | <staticmethod name="RemoveProvider" type="bool" overloaded="no"> | |
24342 | <autodoc>RemoveProvider(ArtProvider provider) -> bool</autodoc> | |
781d2982 RD |
24343 | <docstring>Remove provider. The provider must have been added previously! The |
24344 | provider is _not_ deleted.</docstring> | |
f32fc4bc RD |
24345 | <paramlist> |
24346 | <param name="provider" type="ArtProvider" default=""/> | |
24347 | </paramlist> | |
24348 | </staticmethod> | |
24349 | <staticmethod name="GetBitmap" type="Bitmap" overloaded="no"> | |
24350 | <autodoc>GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -> Bitmap</autodoc> | |
24351 | <docstring>Query the providers for bitmap with given ID and return it. Return | |
24352 | wx.NullBitmap if no provider provides it.</docstring> | |
24353 | <paramlist> | |
24354 | <param name="id" type="String" default=""/> | |
24355 | <param name="client" type="String" default="wxPyART_OTHER"/> | |
24356 | <param name="size" type="Size" default="wxDefaultSize"/> | |
24357 | </paramlist> | |
24358 | </staticmethod> | |
24359 | <staticmethod name="GetIcon" type="Icon" overloaded="no"> | |
24360 | <autodoc>GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -> Icon</autodoc> | |
781d2982 | 24361 | <docstring>Query the providers for icon with given ID and return it. Return |
f32fc4bc RD |
24362 | wx.NullIcon if no provider provides it.</docstring> |
24363 | <paramlist> | |
24364 | <param name="id" type="String" default=""/> | |
24365 | <param name="client" type="String" default="wxPyART_OTHER"/> | |
24366 | <param name="size" type="Size" default="wxDefaultSize"/> | |
24367 | </paramlist> | |
24368 | </staticmethod> | |
24369 | <method name="Destroy" type="" overloaded="no"> | |
781d2982 | 24370 | <autodoc>Destroy(self)</autodoc> |
f32fc4bc RD |
24371 | </method> |
24372 | </class> | |
24373 | <pythoncode> | |
24374 | #--------------------------------------------------------------------------- | |
24375 | </pythoncode> | |
781d2982 | 24376 | <class name="ConfigBase" oldname="wxConfigBase" module="_misc"> |
c2dda882 | 24377 | <docstring>wx.ConfigBase class defines the basic interface of all config |
781d2982 RD |
24378 | classes. It can not be used by itself (it is an abstract base class) |
24379 | and you will always use one of its derivations: wx.Config or | |
24380 | wx.FileConfig. | |
24381 | ||
24382 | wx.ConfigBase organizes the items in a tree-like structure, modeled | |
24383 | after the Unix/Dos filesystem. There are groups that act like | |
24384 | directories and entries, key/value pairs that act like files. There | |
24385 | is always one current group given by the current path. As in the file | |
24386 | system case, to specify a key in the config class you must use a path | |
24387 | to it. Config classes also support the notion of the current group, | |
24388 | which makes it possible to use relative paths. | |
b39e211b RD |
24389 | |
24390 | Keys are pairs "key_name = value" where value may be of string, | |
24391 | integer floating point or boolean, you can not store binary data | |
781d2982 RD |
24392 | without first encoding it as a string. For performance reasons items |
24393 | should be kept small, no more than a couple kilobytes. | |
c2dda882 | 24394 | </docstring> |
f32fc4bc | 24395 | <destructor name="~wxConfigBase" overloaded="no"> |
781d2982 | 24396 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
24397 | </destructor> |
24398 | <staticmethod name="Set" type="ConfigBase" overloaded="no"> | |
c2dda882 | 24399 | <autodoc>Set(ConfigBase config) -> ConfigBase</autodoc> |
781d2982 RD |
24400 | <docstring>Sets the global config object (the one returned by Get) and returns a |
24401 | reference to the previous global config object.</docstring> | |
f32fc4bc | 24402 | <paramlist> |
c2dda882 | 24403 | <param name="config" type="ConfigBase" default=""/> |
f32fc4bc RD |
24404 | </paramlist> |
24405 | </staticmethod> | |
24406 | <staticmethod name="Get" type="ConfigBase" overloaded="no"> | |
24407 | <autodoc>Get(bool createOnDemand=True) -> ConfigBase</autodoc> | |
c2dda882 | 24408 | <docstring>Returns the current global config object, creating one if neccessary.</docstring> |
f32fc4bc RD |
24409 | <paramlist> |
24410 | <param name="createOnDemand" type="bool" default="True"/> | |
24411 | </paramlist> | |
24412 | </staticmethod> | |
24413 | <staticmethod name="Create" type="ConfigBase" overloaded="no"> | |
24414 | <autodoc>Create() -> ConfigBase</autodoc> | |
c2dda882 RD |
24415 | <docstring>Create and return a new global config object. This function will |
24416 | create the "best" implementation of wx.Config available for the | |
24417 | current platform.</docstring> | |
f32fc4bc RD |
24418 | </staticmethod> |
24419 | <staticmethod name="DontCreateOnDemand" type="" overloaded="no"> | |
24420 | <autodoc>DontCreateOnDemand()</autodoc> | |
781d2982 RD |
24421 | <docstring>Should Get() try to create a new log object if there isn't a current |
24422 | one?</docstring> | |
f32fc4bc RD |
24423 | </staticmethod> |
24424 | <method name="SetPath" type="" overloaded="no"> | |
781d2982 RD |
24425 | <autodoc>SetPath(self, String path)</autodoc> |
24426 | <docstring>Set current path: if the first character is '/', it's the absolute | |
24427 | path, otherwise it's a relative path. '..' is supported. If the | |
24428 | strPath doesn't exist it is created.</docstring> | |
f32fc4bc | 24429 | <paramlist> |
c2dda882 | 24430 | <param name="path" type="String" default=""/> |
f32fc4bc RD |
24431 | </paramlist> |
24432 | </method> | |
24433 | <method name="GetPath" type="String" overloaded="no"> | |
781d2982 | 24434 | <autodoc>GetPath(self) -> String</autodoc> |
c2dda882 | 24435 | <docstring>Retrieve the current path (always as absolute path)</docstring> |
f32fc4bc RD |
24436 | </method> |
24437 | <method name="GetFirstGroup" type="PyObject" overloaded="no"> | |
c2dda882 | 24438 | <autodoc>GetFirstGroup() -> (more, value, index)</autodoc> |
781d2982 RD |
24439 | <docstring>Allows enumerating the subgroups in a config object. Returns a tuple |
24440 | containing a flag indicating there are more items, the name of the | |
24441 | current item, and an index to pass to GetNextGroup to fetch the next | |
24442 | item.</docstring> | |
f32fc4bc RD |
24443 | </method> |
24444 | <method name="GetNextGroup" type="PyObject" overloaded="no"> | |
c2dda882 | 24445 | <autodoc>GetNextGroup(long index) -> (more, value, index)</autodoc> |
781d2982 RD |
24446 | <docstring>Allows enumerating the subgroups in a config object. Returns a tuple |
24447 | containing a flag indicating there are more items, the name of the | |
24448 | current item, and an index to pass to GetNextGroup to fetch the next | |
24449 | item.</docstring> | |
f32fc4bc RD |
24450 | <paramlist> |
24451 | <param name="index" type="long" default=""/> | |
24452 | </paramlist> | |
24453 | </method> | |
24454 | <method name="GetFirstEntry" type="PyObject" overloaded="no"> | |
c2dda882 RD |
24455 | <autodoc>GetFirstEntry() -> (more, value, index)</autodoc> |
24456 | <docstring>Allows enumerating the entries in the current group in a config | |
781d2982 RD |
24457 | object. Returns a tuple containing a flag indicating there are more |
24458 | items, the name of the current item, and an index to pass to | |
c2dda882 | 24459 | GetNextGroup to fetch the next item.</docstring> |
f32fc4bc RD |
24460 | </method> |
24461 | <method name="GetNextEntry" type="PyObject" overloaded="no"> | |
c2dda882 RD |
24462 | <autodoc>GetNextEntry(long index) -> (more, value, index)</autodoc> |
24463 | <docstring>Allows enumerating the entries in the current group in a config | |
781d2982 RD |
24464 | object. Returns a tuple containing a flag indicating there are more |
24465 | items, the name of the current item, and an index to pass to | |
c2dda882 | 24466 | GetNextGroup to fetch the next item.</docstring> |
f32fc4bc RD |
24467 | <paramlist> |
24468 | <param name="index" type="long" default=""/> | |
24469 | </paramlist> | |
24470 | </method> | |
24471 | <method name="GetNumberOfEntries" type="size_t" overloaded="no"> | |
781d2982 RD |
24472 | <autodoc>GetNumberOfEntries(self, bool recursive=False) -> size_t</autodoc> |
24473 | <docstring>Get the number of entries in the current group, with or without its | |
24474 | subgroups.</docstring> | |
f32fc4bc | 24475 | <paramlist> |
c2dda882 | 24476 | <param name="recursive" type="bool" default="False"/> |
f32fc4bc RD |
24477 | </paramlist> |
24478 | </method> | |
24479 | <method name="GetNumberOfGroups" type="size_t" overloaded="no"> | |
781d2982 RD |
24480 | <autodoc>GetNumberOfGroups(self, bool recursive=False) -> size_t</autodoc> |
24481 | <docstring>Get the number of subgroups in the current group, with or without its | |
24482 | subgroups.</docstring> | |
f32fc4bc | 24483 | <paramlist> |
c2dda882 | 24484 | <param name="recursive" type="bool" default="False"/> |
f32fc4bc RD |
24485 | </paramlist> |
24486 | </method> | |
24487 | <method name="HasGroup" type="bool" overloaded="no"> | |
781d2982 | 24488 | <autodoc>HasGroup(self, String name) -> bool</autodoc> |
c2dda882 | 24489 | <docstring>Returns True if the group by this name exists</docstring> |
f32fc4bc | 24490 | <paramlist> |
c2dda882 | 24491 | <param name="name" type="String" default=""/> |
f32fc4bc RD |
24492 | </paramlist> |
24493 | </method> | |
24494 | <method name="HasEntry" type="bool" overloaded="no"> | |
781d2982 | 24495 | <autodoc>HasEntry(self, String name) -> bool</autodoc> |
c2dda882 | 24496 | <docstring>Returns True if the entry by this name exists</docstring> |
f32fc4bc | 24497 | <paramlist> |
c2dda882 | 24498 | <param name="name" type="String" default=""/> |
f32fc4bc RD |
24499 | </paramlist> |
24500 | </method> | |
24501 | <method name="Exists" type="bool" overloaded="no"> | |
781d2982 | 24502 | <autodoc>Exists(self, String name) -> bool</autodoc> |
c2dda882 | 24503 | <docstring>Returns True if either a group or an entry with a given name exists</docstring> |
f32fc4bc | 24504 | <paramlist> |
c2dda882 | 24505 | <param name="name" type="String" default=""/> |
f32fc4bc RD |
24506 | </paramlist> |
24507 | </method> | |
24508 | <method name="GetEntryType" type="wxConfigBase::EntryType" overloaded="no"> | |
781d2982 | 24509 | <autodoc>GetEntryType(self, String name) -> int</autodoc> |
c2dda882 | 24510 | <docstring>Get the type of the entry. Returns one of the wx.Config.Type_XXX values.</docstring> |
f32fc4bc RD |
24511 | <paramlist> |
24512 | <param name="name" type="String" default=""/> | |
24513 | </paramlist> | |
24514 | </method> | |
24515 | <method name="Read" type="String" overloaded="no"> | |
781d2982 | 24516 | <autodoc>Read(self, String key, String defaultVal=EmptyString) -> String</autodoc> |
c2dda882 | 24517 | <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring> |
f32fc4bc RD |
24518 | <paramlist> |
24519 | <param name="key" type="String" default=""/> | |
24520 | <param name="defaultVal" type="String" default="wxPyEmptyString"/> | |
24521 | </paramlist> | |
24522 | </method> | |
24523 | <method name="ReadInt" type="long" overloaded="no"> | |
781d2982 | 24524 | <autodoc>ReadInt(self, String key, long defaultVal=0) -> long</autodoc> |
c2dda882 | 24525 | <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring> |
f32fc4bc RD |
24526 | <paramlist> |
24527 | <param name="key" type="String" default=""/> | |
24528 | <param name="defaultVal" type="long" default="0"/> | |
24529 | </paramlist> | |
24530 | </method> | |
24531 | <method name="ReadFloat" type="double" overloaded="no"> | |
781d2982 | 24532 | <autodoc>ReadFloat(self, String key, double defaultVal=0.0) -> double</autodoc> |
c2dda882 | 24533 | <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring> |
f32fc4bc RD |
24534 | <paramlist> |
24535 | <param name="key" type="String" default=""/> | |
24536 | <param name="defaultVal" type="double" default="0.0"/> | |
24537 | </paramlist> | |
24538 | </method> | |
24539 | <method name="ReadBool" type="bool" overloaded="no"> | |
781d2982 | 24540 | <autodoc>ReadBool(self, String key, bool defaultVal=False) -> bool</autodoc> |
c2dda882 | 24541 | <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring> |
f32fc4bc RD |
24542 | <paramlist> |
24543 | <param name="key" type="String" default=""/> | |
24544 | <param name="defaultVal" type="bool" default="False"/> | |
24545 | </paramlist> | |
24546 | </method> | |
24547 | <method name="Write" type="bool" overloaded="no"> | |
781d2982 | 24548 | <autodoc>Write(self, String key, String value) -> bool</autodoc> |
c2dda882 | 24549 | <docstring>write the value (return True on success)</docstring> |
f32fc4bc RD |
24550 | <paramlist> |
24551 | <param name="key" type="String" default=""/> | |
24552 | <param name="value" type="String" default=""/> | |
24553 | </paramlist> | |
24554 | </method> | |
24555 | <method name="WriteInt" type="bool" overloaded="no"> | |
781d2982 | 24556 | <autodoc>WriteInt(self, String key, long value) -> bool</autodoc> |
c2dda882 | 24557 | <docstring>write the value (return True on success)</docstring> |
f32fc4bc RD |
24558 | <paramlist> |
24559 | <param name="key" type="String" default=""/> | |
24560 | <param name="value" type="long" default=""/> | |
24561 | </paramlist> | |
24562 | </method> | |
24563 | <method name="WriteFloat" type="bool" overloaded="no"> | |
781d2982 | 24564 | <autodoc>WriteFloat(self, String key, double value) -> bool</autodoc> |
c2dda882 | 24565 | <docstring>write the value (return True on success)</docstring> |
f32fc4bc RD |
24566 | <paramlist> |
24567 | <param name="key" type="String" default=""/> | |
24568 | <param name="value" type="double" default=""/> | |
24569 | </paramlist> | |
24570 | </method> | |
24571 | <method name="WriteBool" type="bool" overloaded="no"> | |
781d2982 | 24572 | <autodoc>WriteBool(self, String key, bool value) -> bool</autodoc> |
c2dda882 | 24573 | <docstring>write the value (return True on success)</docstring> |
f32fc4bc RD |
24574 | <paramlist> |
24575 | <param name="key" type="String" default=""/> | |
24576 | <param name="value" type="bool" default=""/> | |
24577 | </paramlist> | |
24578 | </method> | |
24579 | <method name="Flush" type="bool" overloaded="no"> | |
781d2982 | 24580 | <autodoc>Flush(self, bool currentOnly=False) -> bool</autodoc> |
c2dda882 | 24581 | <docstring>permanently writes all changes</docstring> |
f32fc4bc | 24582 | <paramlist> |
c2dda882 | 24583 | <param name="currentOnly" type="bool" default="False"/> |
f32fc4bc RD |
24584 | </paramlist> |
24585 | </method> | |
24586 | <method name="RenameEntry" type="bool" overloaded="no"> | |
781d2982 | 24587 | <autodoc>RenameEntry(self, String oldName, String newName) -> bool</autodoc> |
c2dda882 RD |
24588 | <docstring>Rename an entry. Returns False on failure (probably because the new |
24589 | name is already taken by an existing entry)</docstring> | |
f32fc4bc RD |
24590 | <paramlist> |
24591 | <param name="oldName" type="String" default=""/> | |
24592 | <param name="newName" type="String" default=""/> | |
24593 | </paramlist> | |
24594 | </method> | |
24595 | <method name="RenameGroup" type="bool" overloaded="no"> | |
781d2982 RD |
24596 | <autodoc>RenameGroup(self, String oldName, String newName) -> bool</autodoc> |
24597 | <docstring>Rename a group. Returns False on failure (probably because the new | |
c2dda882 | 24598 | name is already taken by an existing entry)</docstring> |
f32fc4bc RD |
24599 | <paramlist> |
24600 | <param name="oldName" type="String" default=""/> | |
24601 | <param name="newName" type="String" default=""/> | |
24602 | </paramlist> | |
24603 | </method> | |
24604 | <method name="DeleteEntry" type="bool" overloaded="no"> | |
781d2982 RD |
24605 | <autodoc>DeleteEntry(self, String key, bool deleteGroupIfEmpty=True) -> bool</autodoc> |
24606 | <docstring>Deletes the specified entry and the group it belongs to if it was the | |
24607 | last key in it and the second parameter is True</docstring> | |
f32fc4bc RD |
24608 | <paramlist> |
24609 | <param name="key" type="String" default=""/> | |
c2dda882 | 24610 | <param name="deleteGroupIfEmpty" type="bool" default="True"/> |
f32fc4bc RD |
24611 | </paramlist> |
24612 | </method> | |
24613 | <method name="DeleteGroup" type="bool" overloaded="no"> | |
781d2982 | 24614 | <autodoc>DeleteGroup(self, String key) -> bool</autodoc> |
c2dda882 | 24615 | <docstring>Delete the group (with all subgroups)</docstring> |
f32fc4bc RD |
24616 | <paramlist> |
24617 | <param name="key" type="String" default=""/> | |
24618 | </paramlist> | |
24619 | </method> | |
24620 | <method name="DeleteAll" type="bool" overloaded="no"> | |
781d2982 | 24621 | <autodoc>DeleteAll(self) -> bool</autodoc> |
c2dda882 | 24622 | <docstring>Delete the whole underlying object (disk file, registry key, ...) |
781d2982 | 24623 | primarly intended for use by deinstallation routine.</docstring> |
f32fc4bc RD |
24624 | </method> |
24625 | <method name="SetExpandEnvVars" type="" overloaded="no"> | |
781d2982 RD |
24626 | <autodoc>SetExpandEnvVars(self, bool doIt=True)</autodoc> |
24627 | <docstring>We can automatically expand environment variables in the config | |
24628 | entries this option is on by default, you can turn it on/off at any | |
24629 | time)</docstring> | |
f32fc4bc | 24630 | <paramlist> |
c2dda882 | 24631 | <param name="doIt" type="bool" default="True"/> |
f32fc4bc RD |
24632 | </paramlist> |
24633 | </method> | |
c2dda882 | 24634 | <method name="IsExpandingEnvVars" type="bool" overloaded="no"> |
781d2982 | 24635 | <autodoc>IsExpandingEnvVars(self) -> bool</autodoc> |
c2dda882 RD |
24636 | <docstring>Are we currently expanding environment variables?</docstring> |
24637 | </method> | |
f32fc4bc | 24638 | <method name="SetRecordDefaults" type="" overloaded="no"> |
781d2982 | 24639 | <autodoc>SetRecordDefaults(self, bool doIt=True)</autodoc> |
c2dda882 | 24640 | <docstring>Set whether the config objec should record default values.</docstring> |
f32fc4bc | 24641 | <paramlist> |
c2dda882 | 24642 | <param name="doIt" type="bool" default="True"/> |
f32fc4bc RD |
24643 | </paramlist> |
24644 | </method> | |
24645 | <method name="IsRecordingDefaults" type="bool" overloaded="no"> | |
781d2982 | 24646 | <autodoc>IsRecordingDefaults(self) -> bool</autodoc> |
c2dda882 | 24647 | <docstring>Are we currently recording default values?</docstring> |
f32fc4bc RD |
24648 | </method> |
24649 | <method name="ExpandEnvVars" type="String" overloaded="no"> | |
781d2982 | 24650 | <autodoc>ExpandEnvVars(self, String str) -> String</autodoc> |
c2dda882 | 24651 | <docstring>Expand any environment variables in str and return the result</docstring> |
f32fc4bc RD |
24652 | <paramlist> |
24653 | <param name="str" type="String" default=""/> | |
24654 | </paramlist> | |
24655 | </method> | |
24656 | <method name="GetAppName" type="String" overloaded="no"> | |
781d2982 | 24657 | <autodoc>GetAppName(self) -> String</autodoc> |
f32fc4bc RD |
24658 | </method> |
24659 | <method name="GetVendorName" type="String" overloaded="no"> | |
781d2982 | 24660 | <autodoc>GetVendorName(self) -> String</autodoc> |
f32fc4bc RD |
24661 | </method> |
24662 | <method name="SetAppName" type="" overloaded="no"> | |
781d2982 | 24663 | <autodoc>SetAppName(self, String appName)</autodoc> |
f32fc4bc RD |
24664 | <paramlist> |
24665 | <param name="appName" type="String" default=""/> | |
24666 | </paramlist> | |
24667 | </method> | |
24668 | <method name="SetVendorName" type="" overloaded="no"> | |
781d2982 | 24669 | <autodoc>SetVendorName(self, String vendorName)</autodoc> |
f32fc4bc RD |
24670 | <paramlist> |
24671 | <param name="vendorName" type="String" default=""/> | |
24672 | </paramlist> | |
24673 | </method> | |
24674 | <method name="SetStyle" type="" overloaded="no"> | |
781d2982 | 24675 | <autodoc>SetStyle(self, long style)</autodoc> |
f32fc4bc RD |
24676 | <paramlist> |
24677 | <param name="style" type="long" default=""/> | |
24678 | </paramlist> | |
24679 | </method> | |
24680 | <method name="GetStyle" type="long" overloaded="no"> | |
781d2982 | 24681 | <autodoc>GetStyle(self) -> long</autodoc> |
f32fc4bc RD |
24682 | </method> |
24683 | </class> | |
781d2982 | 24684 | <class name="Config" oldname="wxConfig" module="_misc"> |
c2dda882 RD |
24685 | <docstring>This ConfigBase-derived class will use the registry on Windows, |
24686 | and will be a wx.FileConfig on other platforms.</docstring> | |
f32fc4bc RD |
24687 | <baseclass name="ConfigBase"/> |
24688 | <constructor name="Config" overloaded="no"> | |
781d2982 | 24689 | <autodoc>__init__(self, String appName=EmptyString, String vendorName=EmptyString, |
f32fc4bc | 24690 | String localFilename=EmptyString, String globalFilename=EmptyString, |
368d20e8 | 24691 | long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -> Config</autodoc> |
f32fc4bc RD |
24692 | <paramlist> |
24693 | <param name="appName" type="String" default="wxPyEmptyString"/> | |
24694 | <param name="vendorName" type="String" default="wxPyEmptyString"/> | |
24695 | <param name="localFilename" type="String" default="wxPyEmptyString"/> | |
24696 | <param name="globalFilename" type="String" default="wxPyEmptyString"/> | |
368d20e8 | 24697 | <param name="style" type="long" default="wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE"/> |
f32fc4bc RD |
24698 | </paramlist> |
24699 | </constructor> | |
24700 | <destructor name="~wxConfig" overloaded="no"> | |
781d2982 | 24701 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
24702 | </destructor> |
24703 | </class> | |
781d2982 | 24704 | <class name="FileConfig" oldname="wxFileConfig" module="_misc"> |
c2dda882 | 24705 | <docstring>This config class will use a file for storage on all platforms.</docstring> |
f32fc4bc RD |
24706 | <baseclass name="ConfigBase"/> |
24707 | <constructor name="FileConfig" overloaded="no"> | |
781d2982 | 24708 | <autodoc>__init__(self, String appName=EmptyString, String vendorName=EmptyString, |
f32fc4bc | 24709 | String localFilename=EmptyString, String globalFilename=EmptyString, |
b39e211b | 24710 | long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -> FileConfig</autodoc> |
f32fc4bc RD |
24711 | <paramlist> |
24712 | <param name="appName" type="String" default="wxPyEmptyString"/> | |
24713 | <param name="vendorName" type="String" default="wxPyEmptyString"/> | |
24714 | <param name="localFilename" type="String" default="wxPyEmptyString"/> | |
24715 | <param name="globalFilename" type="String" default="wxPyEmptyString"/> | |
b39e211b | 24716 | <param name="style" type="long" default="wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE"/> |
f32fc4bc RD |
24717 | </paramlist> |
24718 | </constructor> | |
24719 | <destructor name="~wxFileConfig" overloaded="no"> | |
781d2982 | 24720 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
24721 | </destructor> |
24722 | </class> | |
781d2982 RD |
24723 | <class name="ConfigPathChanger" oldname="wxConfigPathChanger" module="_misc"> |
24724 | <docstring>A handy little class which changes current path to the path of given | |
24725 | entry and restores it in the destructoir: so if you declare a local | |
24726 | variable of this type, you work in the entry directory and the path is | |
24727 | automatically restored when the function returns.</docstring> | |
c2dda882 | 24728 | <constructor name="ConfigPathChanger" overloaded="no"> |
781d2982 | 24729 | <autodoc>__init__(self, ConfigBase config, String entry) -> ConfigPathChanger</autodoc> |
c2dda882 RD |
24730 | <paramlist> |
24731 | <param name="config" type="ConfigBase" default=""/> | |
24732 | <param name="entry" type="String" default=""/> | |
24733 | </paramlist> | |
24734 | </constructor> | |
24735 | <destructor name="~wxConfigPathChanger" overloaded="no"> | |
781d2982 | 24736 | <autodoc>__del__(self)</autodoc> |
c2dda882 RD |
24737 | </destructor> |
24738 | <method name="Name" type="String" overloaded="no"> | |
781d2982 | 24739 | <autodoc>Name(self) -> String</autodoc> |
c2dda882 RD |
24740 | <docstring>Get the key name</docstring> |
24741 | </method> | |
24742 | </class> | |
f32fc4bc RD |
24743 | <method name="ExpandEnvVars" oldname="wxExpandEnvVars" type="String" overloaded="no"> |
24744 | <autodoc>ExpandEnvVars(String sz) -> String</autodoc> | |
c2dda882 | 24745 | <docstring>Replace environment variables ($SOMETHING) with their values. The |
781d2982 RD |
24746 | format is $VARNAME or ${VARNAME} where VARNAME contains alphanumeric |
24747 | characters and '_' only. '$' must be escaped ('\\$') in order to be | |
24748 | taken literally.</docstring> | |
f32fc4bc RD |
24749 | <paramlist> |
24750 | <param name="sz" type="String" default=""/> | |
856bf319 RD |
24751 | </paramlist> |
24752 | </method> | |
f32fc4bc RD |
24753 | <pythoncode> |
24754 | #--------------------------------------------------------------------------- | |
24755 | </pythoncode> | |
781d2982 | 24756 | <class name="DateTime" oldname="wxDateTime" module="_misc"> |
f32fc4bc | 24757 | <constructor name="DateTime" overloaded="no"> |
781d2982 | 24758 | <autodoc>__init__(self) -> DateTime</autodoc> |
f32fc4bc RD |
24759 | </constructor> |
24760 | <constructor name="DateTimeFromTimeT" overloaded="no"> | |
24761 | <autodoc>DateTimeFromTimeT(time_t timet) -> DateTime</autodoc> | |
24762 | <paramlist> | |
24763 | <param name="timet" type="time_t" default=""/> | |
24764 | </paramlist> | |
24765 | </constructor> | |
24766 | <constructor name="DateTimeFromJDN" overloaded="no"> | |
24767 | <autodoc>DateTimeFromJDN(double jdn) -> DateTime</autodoc> | |
24768 | <paramlist> | |
24769 | <param name="jdn" type="double" default=""/> | |
24770 | </paramlist> | |
24771 | </constructor> | |
24772 | <constructor name="DateTimeFromHMS" overloaded="no"> | |
24773 | <autodoc>DateTimeFromHMS(int hour, int minute=0, int second=0, int millisec=0) -> DateTime</autodoc> | |
24774 | <paramlist> | |
24775 | <param name="hour" type="int" default=""/> | |
24776 | <param name="minute" type="int" default="0"/> | |
24777 | <param name="second" type="int" default="0"/> | |
24778 | <param name="millisec" type="int" default="0"/> | |
24779 | </paramlist> | |
24780 | </constructor> | |
24781 | <constructor name="DateTimeFromDMY" overloaded="no"> | |
24782 | <autodoc>DateTimeFromDMY(int day, int month=Inv_Month, int year=Inv_Year, int hour=0, | |
24783 | int minute=0, int second=0, int millisec=0) -> DateTime</autodoc> | |
24784 | <paramlist> | |
24785 | <param name="day" type="int" default=""/> | |
24786 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
24787 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
24788 | <param name="hour" type="int" default="0"/> | |
24789 | <param name="minute" type="int" default="0"/> | |
24790 | <param name="second" type="int" default="0"/> | |
24791 | <param name="millisec" type="int" default="0"/> | |
24792 | </paramlist> | |
24793 | </constructor> | |
24794 | <destructor name="~wxDateTime" overloaded="no"> | |
781d2982 | 24795 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
24796 | </destructor> |
24797 | <staticmethod name="SetCountry" type="" overloaded="no"> | |
24798 | <autodoc>SetCountry(int country)</autodoc> | |
24799 | <paramlist> | |
24800 | <param name="country" type="wxDateTime::Country" default=""/> | |
24801 | </paramlist> | |
24802 | </staticmethod> | |
24803 | <staticmethod name="GetCountry" type="wxDateTime::Country" overloaded="no"> | |
24804 | <autodoc>GetCountry() -> int</autodoc> | |
24805 | </staticmethod> | |
24806 | <staticmethod name="IsWestEuropeanCountry" type="bool" overloaded="no"> | |
24807 | <autodoc>IsWestEuropeanCountry(int country=Country_Default) -> bool</autodoc> | |
24808 | <paramlist> | |
24809 | <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/> | |
24810 | </paramlist> | |
24811 | </staticmethod> | |
24812 | <staticmethod name="GetCurrentYear" type="int" overloaded="no"> | |
24813 | <autodoc>GetCurrentYear(int cal=Gregorian) -> int</autodoc> | |
24814 | <paramlist> | |
24815 | <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/> | |
24816 | </paramlist> | |
24817 | </staticmethod> | |
24818 | <staticmethod name="ConvertYearToBC" type="int" overloaded="no"> | |
24819 | <autodoc>ConvertYearToBC(int year) -> int</autodoc> | |
24820 | <paramlist> | |
24821 | <param name="year" type="int" default=""/> | |
24822 | </paramlist> | |
24823 | </staticmethod> | |
24824 | <staticmethod name="GetCurrentMonth" type="wxDateTime::Month" overloaded="no"> | |
24825 | <autodoc>GetCurrentMonth(int cal=Gregorian) -> int</autodoc> | |
24826 | <paramlist> | |
24827 | <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/> | |
24828 | </paramlist> | |
24829 | </staticmethod> | |
24830 | <staticmethod name="IsLeapYear" type="bool" overloaded="no"> | |
24831 | <autodoc>IsLeapYear(int year=Inv_Year, int cal=Gregorian) -> bool</autodoc> | |
24832 | <paramlist> | |
24833 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
24834 | <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/> | |
24835 | </paramlist> | |
24836 | </staticmethod> | |
24837 | <staticmethod name="GetCentury" type="int" overloaded="no"> | |
24838 | <autodoc>GetCentury(int year=Inv_Year) -> int</autodoc> | |
24839 | <paramlist> | |
24840 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
24841 | </paramlist> | |
24842 | </staticmethod> | |
24843 | <staticmethod name="GetNumberOfDaysinYear" type="int" overloaded="no"> | |
24844 | <autodoc>GetNumberOfDaysinYear(int year, int cal=Gregorian) -> int</autodoc> | |
24845 | <paramlist> | |
24846 | <param name="year" type="int" default=""/> | |
24847 | <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/> | |
24848 | </paramlist> | |
24849 | </staticmethod> | |
24850 | <staticmethod name="GetNumberOfDaysInMonth" type="int" overloaded="no"> | |
24851 | <autodoc>GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -> int</autodoc> | |
24852 | <paramlist> | |
24853 | <param name="month" type="wxDateTime::Month" default=""/> | |
24854 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
24855 | <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/> | |
24856 | </paramlist> | |
24857 | </staticmethod> | |
24858 | <staticmethod name="GetMonthName" type="String" overloaded="no"> | |
24859 | <autodoc>GetMonthName(int month, int flags=Name_Full) -> String</autodoc> | |
24860 | <paramlist> | |
24861 | <param name="month" type="wxDateTime::Month" default=""/> | |
24862 | <param name="flags" type="wxDateTime::NameFlags" default="wxDateTime::Name_Full"/> | |
24863 | </paramlist> | |
24864 | </staticmethod> | |
24865 | <staticmethod name="GetWeekDayName" type="String" overloaded="no"> | |
24866 | <autodoc>GetWeekDayName(int weekday, int flags=Name_Full) -> String</autodoc> | |
24867 | <paramlist> | |
24868 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
24869 | <param name="flags" type="wxDateTime::NameFlags" default="wxDateTime::Name_Full"/> | |
24870 | </paramlist> | |
24871 | </staticmethod> | |
24872 | <staticmethod name="GetAmPmStrings" type="" overloaded="no"> | |
24873 | <autodoc>GetAmPmStrings() -> (am, pm)</autodoc> | |
ce6878e6 | 24874 | <docstring>Get the AM and PM strings in the current locale (may be empty)</docstring> |
f32fc4bc RD |
24875 | <paramlist> |
24876 | <param name="OUTPUT" type="String" default=""/> | |
24877 | <param name="OUTPUT" type="String" default=""/> | |
24878 | </paramlist> | |
24879 | </staticmethod> | |
24880 | <staticmethod name="IsDSTApplicable" type="bool" overloaded="no"> | |
24881 | <autodoc>IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -> bool</autodoc> | |
24882 | <paramlist> | |
24883 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
24884 | <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/> | |
24885 | </paramlist> | |
24886 | </staticmethod> | |
24887 | <staticmethod name="GetBeginDST" type="DateTime" overloaded="no"> | |
24888 | <autodoc>GetBeginDST(int year=Inv_Year, int country=Country_Default) -> DateTime</autodoc> | |
24889 | <paramlist> | |
24890 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
24891 | <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/> | |
24892 | </paramlist> | |
24893 | </staticmethod> | |
24894 | <staticmethod name="GetEndDST" type="DateTime" overloaded="no"> | |
24895 | <autodoc>GetEndDST(int year=Inv_Year, int country=Country_Default) -> DateTime</autodoc> | |
24896 | <paramlist> | |
24897 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
24898 | <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/> | |
24899 | </paramlist> | |
24900 | </staticmethod> | |
24901 | <staticmethod name="Now" type="DateTime" overloaded="no"> | |
24902 | <autodoc>Now() -> DateTime</autodoc> | |
24903 | </staticmethod> | |
24904 | <staticmethod name="UNow" type="DateTime" overloaded="no"> | |
24905 | <autodoc>UNow() -> DateTime</autodoc> | |
24906 | </staticmethod> | |
24907 | <staticmethod name="Today" type="DateTime" overloaded="no"> | |
24908 | <autodoc>Today() -> DateTime</autodoc> | |
24909 | </staticmethod> | |
24910 | <method name="SetToCurrent" type="DateTime" overloaded="no"> | |
781d2982 | 24911 | <autodoc>SetToCurrent(self) -> DateTime</autodoc> |
f32fc4bc RD |
24912 | </method> |
24913 | <method name="SetTimeT" type="DateTime" overloaded="no"> | |
781d2982 | 24914 | <autodoc>SetTimeT(self, time_t timet) -> DateTime</autodoc> |
f32fc4bc RD |
24915 | <paramlist> |
24916 | <param name="timet" type="time_t" default=""/> | |
24917 | </paramlist> | |
24918 | </method> | |
24919 | <method name="SetJDN" type="DateTime" overloaded="no"> | |
781d2982 | 24920 | <autodoc>SetJDN(self, double jdn) -> DateTime</autodoc> |
f32fc4bc RD |
24921 | <paramlist> |
24922 | <param name="jdn" type="double" default=""/> | |
24923 | </paramlist> | |
24924 | </method> | |
24925 | <method name="SetHMS" type="DateTime" overloaded="no"> | |
781d2982 | 24926 | <autodoc>SetHMS(self, int hour, int minute=0, int second=0, int millisec=0) -> DateTime</autodoc> |
f32fc4bc RD |
24927 | <paramlist> |
24928 | <param name="hour" type="int" default=""/> | |
24929 | <param name="minute" type="int" default="0"/> | |
24930 | <param name="second" type="int" default="0"/> | |
24931 | <param name="millisec" type="int" default="0"/> | |
24932 | </paramlist> | |
24933 | </method> | |
24934 | <method name="Set" type="DateTime" overloaded="no"> | |
781d2982 | 24935 | <autodoc>Set(self, int day, int month=Inv_Month, int year=Inv_Year, int hour=0, |
f32fc4bc RD |
24936 | int minute=0, int second=0, int millisec=0) -> DateTime</autodoc> |
24937 | <paramlist> | |
24938 | <param name="day" type="int" default=""/> | |
24939 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
24940 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
24941 | <param name="hour" type="int" default="0"/> | |
24942 | <param name="minute" type="int" default="0"/> | |
24943 | <param name="second" type="int" default="0"/> | |
24944 | <param name="millisec" type="int" default="0"/> | |
24945 | </paramlist> | |
24946 | </method> | |
24947 | <method name="ResetTime" type="DateTime" overloaded="no"> | |
781d2982 | 24948 | <autodoc>ResetTime(self) -> DateTime</autodoc> |
f32fc4bc RD |
24949 | </method> |
24950 | <method name="SetYear" type="DateTime" overloaded="no"> | |
781d2982 | 24951 | <autodoc>SetYear(self, int year) -> DateTime</autodoc> |
f32fc4bc RD |
24952 | <paramlist> |
24953 | <param name="year" type="int" default=""/> | |
24954 | </paramlist> | |
24955 | </method> | |
24956 | <method name="SetMonth" type="DateTime" overloaded="no"> | |
781d2982 | 24957 | <autodoc>SetMonth(self, int month) -> DateTime</autodoc> |
f32fc4bc RD |
24958 | <paramlist> |
24959 | <param name="month" type="wxDateTime::Month" default=""/> | |
24960 | </paramlist> | |
24961 | </method> | |
24962 | <method name="SetDay" type="DateTime" overloaded="no"> | |
781d2982 | 24963 | <autodoc>SetDay(self, int day) -> DateTime</autodoc> |
f32fc4bc RD |
24964 | <paramlist> |
24965 | <param name="day" type="int" default=""/> | |
24966 | </paramlist> | |
24967 | </method> | |
24968 | <method name="SetHour" type="DateTime" overloaded="no"> | |
781d2982 | 24969 | <autodoc>SetHour(self, int hour) -> DateTime</autodoc> |
f32fc4bc RD |
24970 | <paramlist> |
24971 | <param name="hour" type="int" default=""/> | |
24972 | </paramlist> | |
24973 | </method> | |
24974 | <method name="SetMinute" type="DateTime" overloaded="no"> | |
781d2982 | 24975 | <autodoc>SetMinute(self, int minute) -> DateTime</autodoc> |
f32fc4bc RD |
24976 | <paramlist> |
24977 | <param name="minute" type="int" default=""/> | |
24978 | </paramlist> | |
24979 | </method> | |
24980 | <method name="SetSecond" type="DateTime" overloaded="no"> | |
781d2982 | 24981 | <autodoc>SetSecond(self, int second) -> DateTime</autodoc> |
f32fc4bc RD |
24982 | <paramlist> |
24983 | <param name="second" type="int" default=""/> | |
24984 | </paramlist> | |
24985 | </method> | |
24986 | <method name="SetMillisecond" type="DateTime" overloaded="no"> | |
781d2982 | 24987 | <autodoc>SetMillisecond(self, int millisecond) -> DateTime</autodoc> |
f32fc4bc RD |
24988 | <paramlist> |
24989 | <param name="millisecond" type="int" default=""/> | |
24990 | </paramlist> | |
24991 | </method> | |
24992 | <method name="SetToWeekDayInSameWeek" type="DateTime" overloaded="no"> | |
781d2982 | 24993 | <autodoc>SetToWeekDayInSameWeek(self, int weekday, int flags=Monday_First) -> DateTime</autodoc> |
f32fc4bc RD |
24994 | <paramlist> |
24995 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
24996 | <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/> | |
24997 | </paramlist> | |
24998 | </method> | |
24999 | <method name="GetWeekDayInSameWeek" type="DateTime" overloaded="no"> | |
781d2982 | 25000 | <autodoc>GetWeekDayInSameWeek(self, int weekday, int flags=Monday_First) -> DateTime</autodoc> |
f32fc4bc RD |
25001 | <paramlist> |
25002 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
25003 | <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/> | |
25004 | </paramlist> | |
25005 | </method> | |
25006 | <method name="SetToNextWeekDay" type="DateTime" overloaded="no"> | |
781d2982 | 25007 | <autodoc>SetToNextWeekDay(self, int weekday) -> DateTime</autodoc> |
f32fc4bc RD |
25008 | <paramlist> |
25009 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
25010 | </paramlist> | |
25011 | </method> | |
25012 | <method name="GetNextWeekDay" type="DateTime" overloaded="no"> | |
781d2982 | 25013 | <autodoc>GetNextWeekDay(self, int weekday) -> DateTime</autodoc> |
f32fc4bc RD |
25014 | <paramlist> |
25015 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
25016 | </paramlist> | |
25017 | </method> | |
25018 | <method name="SetToPrevWeekDay" type="DateTime" overloaded="no"> | |
781d2982 | 25019 | <autodoc>SetToPrevWeekDay(self, int weekday) -> DateTime</autodoc> |
f32fc4bc RD |
25020 | <paramlist> |
25021 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
25022 | </paramlist> | |
25023 | </method> | |
25024 | <method name="GetPrevWeekDay" type="DateTime" overloaded="no"> | |
781d2982 | 25025 | <autodoc>GetPrevWeekDay(self, int weekday) -> DateTime</autodoc> |
f32fc4bc RD |
25026 | <paramlist> |
25027 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
25028 | </paramlist> | |
25029 | </method> | |
25030 | <method name="SetToWeekDay" type="bool" overloaded="no"> | |
781d2982 | 25031 | <autodoc>SetToWeekDay(self, int weekday, int n=1, int month=Inv_Month, int year=Inv_Year) -> bool</autodoc> |
f32fc4bc RD |
25032 | <paramlist> |
25033 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
25034 | <param name="n" type="int" default="1"/> | |
25035 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
25036 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
25037 | </paramlist> | |
25038 | </method> | |
25039 | <method name="SetToLastWeekDay" type="bool" overloaded="no"> | |
781d2982 | 25040 | <autodoc>SetToLastWeekDay(self, int weekday, int month=Inv_Month, int year=Inv_Year) -> bool</autodoc> |
f32fc4bc RD |
25041 | <paramlist> |
25042 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
25043 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
25044 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
25045 | </paramlist> | |
25046 | </method> | |
25047 | <method name="GetLastWeekDay" type="DateTime" overloaded="no"> | |
781d2982 | 25048 | <autodoc>GetLastWeekDay(self, int weekday, int month=Inv_Month, int year=Inv_Year) -> DateTime</autodoc> |
f32fc4bc RD |
25049 | <paramlist> |
25050 | <param name="weekday" type="wxDateTime::WeekDay" default=""/> | |
25051 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
25052 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
25053 | </paramlist> | |
25054 | </method> | |
25055 | <method name="SetToTheWeek" type="bool" overloaded="no"> | |
781d2982 | 25056 | <autodoc>SetToTheWeek(self, int numWeek, int weekday=Mon, int flags=Monday_First) -> bool</autodoc> |
f32fc4bc RD |
25057 | <paramlist> |
25058 | <param name="numWeek" type="int" default=""/> | |
25059 | <param name="weekday" type="wxDateTime::WeekDay" default="wxDateTime::Mon"/> | |
25060 | <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/> | |
25061 | </paramlist> | |
25062 | </method> | |
25063 | <method name="GetWeek" type="DateTime" overloaded="no"> | |
781d2982 | 25064 | <autodoc>GetWeek(self, int numWeek, int weekday=Mon, int flags=Monday_First) -> DateTime</autodoc> |
f32fc4bc RD |
25065 | <paramlist> |
25066 | <param name="numWeek" type="int" default=""/> | |
25067 | <param name="weekday" type="wxDateTime::WeekDay" default="wxDateTime::Mon"/> | |
25068 | <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/> | |
25069 | </paramlist> | |
25070 | </method> | |
25071 | <method name="SetToLastMonthDay" type="DateTime" overloaded="no"> | |
781d2982 | 25072 | <autodoc>SetToLastMonthDay(self, int month=Inv_Month, int year=Inv_Year) -> DateTime</autodoc> |
f32fc4bc RD |
25073 | <paramlist> |
25074 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
25075 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
25076 | </paramlist> | |
25077 | </method> | |
25078 | <method name="GetLastMonthDay" type="DateTime" overloaded="no"> | |
781d2982 | 25079 | <autodoc>GetLastMonthDay(self, int month=Inv_Month, int year=Inv_Year) -> DateTime</autodoc> |
f32fc4bc RD |
25080 | <paramlist> |
25081 | <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/> | |
25082 | <param name="year" type="int" default="wxDateTime::Inv_Year"/> | |
25083 | </paramlist> | |
25084 | </method> | |
25085 | <method name="SetToYearDay" type="DateTime" overloaded="no"> | |
781d2982 | 25086 | <autodoc>SetToYearDay(self, int yday) -> DateTime</autodoc> |
f32fc4bc RD |
25087 | <paramlist> |
25088 | <param name="yday" type="int" default=""/> | |
25089 | </paramlist> | |
25090 | </method> | |
25091 | <method name="GetYearDay" type="DateTime" overloaded="no"> | |
781d2982 | 25092 | <autodoc>GetYearDay(self, int yday) -> DateTime</autodoc> |
f32fc4bc RD |
25093 | <paramlist> |
25094 | <param name="yday" type="int" default=""/> | |
25095 | </paramlist> | |
25096 | </method> | |
25097 | <method name="GetJulianDayNumber" type="double" overloaded="no"> | |
781d2982 | 25098 | <autodoc>GetJulianDayNumber(self) -> double</autodoc> |
f32fc4bc RD |
25099 | </method> |
25100 | <method name="GetJDN" type="double" overloaded="no"> | |
781d2982 | 25101 | <autodoc>GetJDN(self) -> double</autodoc> |
f32fc4bc RD |
25102 | </method> |
25103 | <method name="GetModifiedJulianDayNumber" type="double" overloaded="no"> | |
781d2982 | 25104 | <autodoc>GetModifiedJulianDayNumber(self) -> double</autodoc> |
f32fc4bc RD |
25105 | </method> |
25106 | <method name="GetMJD" type="double" overloaded="no"> | |
781d2982 | 25107 | <autodoc>GetMJD(self) -> double</autodoc> |
f32fc4bc RD |
25108 | </method> |
25109 | <method name="GetRataDie" type="double" overloaded="no"> | |
781d2982 | 25110 | <autodoc>GetRataDie(self) -> double</autodoc> |
f32fc4bc RD |
25111 | </method> |
25112 | <method name="ToTimezone" type="DateTime" overloaded="no"> | |
781d2982 | 25113 | <autodoc>ToTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -> DateTime</autodoc> |
f32fc4bc RD |
25114 | <paramlist> |
25115 | <param name="tz" type="wxDateTime::TimeZone" default=""/> | |
25116 | <param name="noDST" type="bool" default="False"/> | |
25117 | </paramlist> | |
25118 | </method> | |
25119 | <method name="MakeTimezone" type="DateTime" overloaded="no"> | |
781d2982 | 25120 | <autodoc>MakeTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -> DateTime</autodoc> |
f32fc4bc RD |
25121 | <paramlist> |
25122 | <param name="tz" type="wxDateTime::TimeZone" default=""/> | |
25123 | <param name="noDST" type="bool" default="False"/> | |
25124 | </paramlist> | |
25125 | </method> | |
25126 | <method name="ToGMT" type="DateTime" overloaded="no"> | |
781d2982 | 25127 | <autodoc>ToGMT(self, bool noDST=False) -> DateTime</autodoc> |
f32fc4bc RD |
25128 | <paramlist> |
25129 | <param name="noDST" type="bool" default="False"/> | |
25130 | </paramlist> | |
25131 | </method> | |
25132 | <method name="MakeGMT" type="DateTime" overloaded="no"> | |
781d2982 | 25133 | <autodoc>MakeGMT(self, bool noDST=False) -> DateTime</autodoc> |
f32fc4bc RD |
25134 | <paramlist> |
25135 | <param name="noDST" type="bool" default="False"/> | |
25136 | </paramlist> | |
25137 | </method> | |
25138 | <method name="IsDST" type="int" overloaded="no"> | |
781d2982 | 25139 | <autodoc>IsDST(self, int country=Country_Default) -> int</autodoc> |
f32fc4bc RD |
25140 | <paramlist> |
25141 | <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/> | |
25142 | </paramlist> | |
25143 | </method> | |
25144 | <method name="IsValid" type="bool" overloaded="no"> | |
781d2982 | 25145 | <autodoc>IsValid(self) -> bool</autodoc> |
f32fc4bc RD |
25146 | </method> |
25147 | <method name="GetTicks" type="time_t" overloaded="no"> | |
781d2982 | 25148 | <autodoc>GetTicks(self) -> time_t</autodoc> |
f32fc4bc RD |
25149 | </method> |
25150 | <method name="GetYear" type="int" overloaded="no"> | |
781d2982 | 25151 | <autodoc>GetYear(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> |
f32fc4bc RD |
25152 | <paramlist> |
25153 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
25154 | </paramlist> | |
25155 | </method> | |
25156 | <method name="GetMonth" type="wxDateTime::Month" overloaded="no"> | |
781d2982 | 25157 | <autodoc>GetMonth(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> |
f32fc4bc RD |
25158 | <paramlist> |
25159 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
25160 | </paramlist> | |
25161 | </method> | |
25162 | <method name="GetDay" type="int" overloaded="no"> | |
781d2982 | 25163 | <autodoc>GetDay(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> |
f32fc4bc RD |
25164 | <paramlist> |
25165 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
25166 | </paramlist> | |
25167 | </method> | |
25168 | <method name="GetWeekDay" type="wxDateTime::WeekDay" overloaded="no"> | |
781d2982 | 25169 | <autodoc>GetWeekDay(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> |
f32fc4bc RD |
25170 | <paramlist> |
25171 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
25172 | </paramlist> | |
25173 | </method> | |
25174 | <method name="GetHour" type="int" overloaded="no"> | |
781d2982 | 25175 | <autodoc>GetHour(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> |
f32fc4bc RD |
25176 | <paramlist> |
25177 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
25178 | </paramlist> | |
25179 | </method> | |
25180 | <method name="GetMinute" type="int" overloaded="no"> | |
781d2982 | 25181 | <autodoc>GetMinute(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> |
f32fc4bc RD |
25182 | <paramlist> |
25183 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
25184 | </paramlist> | |
25185 | </method> | |
25186 | <method name="GetSecond" type="int" overloaded="no"> | |
781d2982 | 25187 | <autodoc>GetSecond(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> |
f32fc4bc RD |
25188 | <paramlist> |
25189 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
25190 | </paramlist> | |
25191 | </method> | |
25192 | <method name="GetMillisecond" type="int" overloaded="no"> | |
781d2982 | 25193 | <autodoc>GetMillisecond(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> |
f32fc4bc RD |
25194 | <paramlist> |
25195 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
25196 | </paramlist> | |
25197 | </method> | |
25198 | <method name="GetDayOfYear" type="int" overloaded="no"> | |
781d2982 | 25199 | <autodoc>GetDayOfYear(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> |
f32fc4bc RD |
25200 | <paramlist> |
25201 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
25202 | </paramlist> | |
25203 | </method> | |
25204 | <method name="GetWeekOfYear" type="int" overloaded="no"> | |
781d2982 | 25205 | <autodoc>GetWeekOfYear(self, int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> |
f32fc4bc RD |
25206 | <paramlist> |
25207 | <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/> | |
25208 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
25209 | </paramlist> | |
25210 | </method> | |
25211 | <method name="GetWeekOfMonth" type="int" overloaded="no"> | |
781d2982 | 25212 | <autodoc>GetWeekOfMonth(self, int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc> |
f32fc4bc RD |
25213 | <paramlist> |
25214 | <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/> | |
25215 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
25216 | </paramlist> | |
25217 | </method> | |
25218 | <method name="IsWorkDay" type="bool" overloaded="no"> | |
781d2982 | 25219 | <autodoc>IsWorkDay(self, int country=Country_Default) -> bool</autodoc> |
f32fc4bc RD |
25220 | <paramlist> |
25221 | <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/> | |
25222 | </paramlist> | |
25223 | </method> | |
25224 | <method name="IsEqualTo" type="bool" overloaded="no"> | |
781d2982 | 25225 | <autodoc>IsEqualTo(self, DateTime datetime) -> bool</autodoc> |
f32fc4bc RD |
25226 | <paramlist> |
25227 | <param name="datetime" type="DateTime" default=""/> | |
25228 | </paramlist> | |
25229 | </method> | |
25230 | <method name="IsEarlierThan" type="bool" overloaded="no"> | |
781d2982 | 25231 | <autodoc>IsEarlierThan(self, DateTime datetime) -> bool</autodoc> |
f32fc4bc RD |
25232 | <paramlist> |
25233 | <param name="datetime" type="DateTime" default=""/> | |
25234 | </paramlist> | |
25235 | </method> | |
25236 | <method name="IsLaterThan" type="bool" overloaded="no"> | |
781d2982 | 25237 | <autodoc>IsLaterThan(self, DateTime datetime) -> bool</autodoc> |
f32fc4bc RD |
25238 | <paramlist> |
25239 | <param name="datetime" type="DateTime" default=""/> | |
25240 | </paramlist> | |
25241 | </method> | |
25242 | <method name="IsStrictlyBetween" type="bool" overloaded="no"> | |
781d2982 | 25243 | <autodoc>IsStrictlyBetween(self, DateTime t1, DateTime t2) -> bool</autodoc> |
f32fc4bc RD |
25244 | <paramlist> |
25245 | <param name="t1" type="DateTime" default=""/> | |
25246 | <param name="t2" type="DateTime" default=""/> | |
25247 | </paramlist> | |
25248 | </method> | |
25249 | <method name="IsBetween" type="bool" overloaded="no"> | |
781d2982 | 25250 | <autodoc>IsBetween(self, DateTime t1, DateTime t2) -> bool</autodoc> |
f32fc4bc RD |
25251 | <paramlist> |
25252 | <param name="t1" type="DateTime" default=""/> | |
25253 | <param name="t2" type="DateTime" default=""/> | |
25254 | </paramlist> | |
25255 | </method> | |
25256 | <method name="IsSameDate" type="bool" overloaded="no"> | |
781d2982 | 25257 | <autodoc>IsSameDate(self, DateTime dt) -> bool</autodoc> |
f32fc4bc RD |
25258 | <paramlist> |
25259 | <param name="dt" type="DateTime" default=""/> | |
25260 | </paramlist> | |
25261 | </method> | |
25262 | <method name="IsSameTime" type="bool" overloaded="no"> | |
781d2982 | 25263 | <autodoc>IsSameTime(self, DateTime dt) -> bool</autodoc> |
f32fc4bc RD |
25264 | <paramlist> |
25265 | <param name="dt" type="DateTime" default=""/> | |
25266 | </paramlist> | |
25267 | </method> | |
25268 | <method name="IsEqualUpTo" type="bool" overloaded="no"> | |
781d2982 | 25269 | <autodoc>IsEqualUpTo(self, DateTime dt, TimeSpan ts) -> bool</autodoc> |
f32fc4bc RD |
25270 | <paramlist> |
25271 | <param name="dt" type="DateTime" default=""/> | |
25272 | <param name="ts" type="wxTimeSpan" default=""/> | |
25273 | </paramlist> | |
25274 | </method> | |
25275 | <method name="AddTS" type="DateTime" overloaded="no"> | |
781d2982 | 25276 | <autodoc>AddTS(self, TimeSpan diff) -> DateTime</autodoc> |
f32fc4bc RD |
25277 | <paramlist> |
25278 | <param name="diff" type="wxTimeSpan" default=""/> | |
25279 | </paramlist> | |
25280 | </method> | |
25281 | <method name="AddDS" type="DateTime" overloaded="no"> | |
781d2982 | 25282 | <autodoc>AddDS(self, DateSpan diff) -> DateTime</autodoc> |
f32fc4bc RD |
25283 | <paramlist> |
25284 | <param name="diff" type="wxDateSpan" default=""/> | |
25285 | </paramlist> | |
25286 | </method> | |
25287 | <method name="SubtractTS" type="DateTime" overloaded="no"> | |
781d2982 | 25288 | <autodoc>SubtractTS(self, TimeSpan diff) -> DateTime</autodoc> |
f32fc4bc RD |
25289 | <paramlist> |
25290 | <param name="diff" type="wxTimeSpan" default=""/> | |
25291 | </paramlist> | |
25292 | </method> | |
25293 | <method name="SubtractDS" type="DateTime" overloaded="no"> | |
781d2982 | 25294 | <autodoc>SubtractDS(self, DateSpan diff) -> DateTime</autodoc> |
f32fc4bc RD |
25295 | <paramlist> |
25296 | <param name="diff" type="wxDateSpan" default=""/> | |
25297 | </paramlist> | |
25298 | </method> | |
25299 | <method name="Subtract" type="wxTimeSpan" overloaded="no"> | |
781d2982 | 25300 | <autodoc>Subtract(self, DateTime dt) -> TimeSpan</autodoc> |
f32fc4bc RD |
25301 | <paramlist> |
25302 | <param name="dt" type="DateTime" default=""/> | |
25303 | </paramlist> | |
25304 | </method> | |
25305 | <method name="__iadd__" type="DateTime" overloaded="yes"> | |
25306 | <paramlist> | |
25307 | <param name="diff" type="wxTimeSpan" default=""/> | |
25308 | </paramlist> | |
25309 | </method> | |
25310 | <method name="__iadd__" type="DateTime" overloaded="yes"> | |
781d2982 RD |
25311 | <autodoc>__iadd__(self, TimeSpan diff) -> DateTime |
25312 | __iadd__(self, DateSpan diff) -> DateTime</autodoc> | |
f32fc4bc RD |
25313 | <paramlist> |
25314 | <param name="diff" type="wxDateSpan" default=""/> | |
25315 | </paramlist> | |
25316 | </method> | |
25317 | <method name="__isub__" type="DateTime" overloaded="yes"> | |
25318 | <paramlist> | |
25319 | <param name="diff" type="wxTimeSpan" default=""/> | |
25320 | </paramlist> | |
25321 | </method> | |
25322 | <method name="__isub__" type="DateTime" overloaded="yes"> | |
781d2982 RD |
25323 | <autodoc>__isub__(self, TimeSpan diff) -> DateTime |
25324 | __isub__(self, DateSpan diff) -> DateTime</autodoc> | |
f32fc4bc RD |
25325 | <paramlist> |
25326 | <param name="diff" type="wxDateSpan" default=""/> | |
25327 | </paramlist> | |
25328 | </method> | |
25329 | <method name="__add__" type="DateTime" overloaded="yes"> | |
25330 | <paramlist> | |
25331 | <param name="other" type="wxTimeSpan" default=""/> | |
25332 | </paramlist> | |
25333 | </method> | |
25334 | <method name="__add__" type="DateTime" overloaded="yes"> | |
781d2982 RD |
25335 | <autodoc>__add__(self, TimeSpan other) -> DateTime |
25336 | __add__(self, DateSpan other) -> DateTime</autodoc> | |
f32fc4bc RD |
25337 | <paramlist> |
25338 | <param name="other" type="wxDateSpan" default=""/> | |
25339 | </paramlist> | |
25340 | </method> | |
25341 | <method name="__sub__" type="wxTimeSpan" overloaded="yes"> | |
25342 | <paramlist> | |
25343 | <param name="other" type="DateTime" default=""/> | |
25344 | </paramlist> | |
25345 | </method> | |
25346 | <method name="__sub__" type="DateTime" overloaded="yes"> | |
25347 | <paramlist> | |
25348 | <param name="other" type="wxTimeSpan" default=""/> | |
25349 | </paramlist> | |
25350 | </method> | |
25351 | <method name="__sub__" type="DateTime" overloaded="yes"> | |
781d2982 RD |
25352 | <autodoc>__sub__(self, DateTime other) -> TimeSpan |
25353 | __sub__(self, TimeSpan other) -> DateTime | |
25354 | __sub__(self, DateSpan other) -> DateTime</autodoc> | |
f32fc4bc RD |
25355 | <paramlist> |
25356 | <param name="other" type="wxDateSpan" default=""/> | |
25357 | </paramlist> | |
25358 | </method> | |
25359 | <method name="__lt__" type="bool" overloaded="no"> | |
781d2982 | 25360 | <autodoc>__lt__(self, DateTime other) -> bool</autodoc> |
f32fc4bc RD |
25361 | <paramlist> |
25362 | <param name="other" type="DateTime" default=""/> | |
25363 | </paramlist> | |
25364 | </method> | |
25365 | <method name="__le__" type="bool" overloaded="no"> | |
781d2982 | 25366 | <autodoc>__le__(self, DateTime other) -> bool</autodoc> |
f32fc4bc RD |
25367 | <paramlist> |
25368 | <param name="other" type="DateTime" default=""/> | |
25369 | </paramlist> | |
25370 | </method> | |
25371 | <method name="__gt__" type="bool" overloaded="no"> | |
781d2982 | 25372 | <autodoc>__gt__(self, DateTime other) -> bool</autodoc> |
f32fc4bc RD |
25373 | <paramlist> |
25374 | <param name="other" type="DateTime" default=""/> | |
25375 | </paramlist> | |
25376 | </method> | |
25377 | <method name="__ge__" type="bool" overloaded="no"> | |
781d2982 | 25378 | <autodoc>__ge__(self, DateTime other) -> bool</autodoc> |
f32fc4bc RD |
25379 | <paramlist> |
25380 | <param name="other" type="DateTime" default=""/> | |
25381 | </paramlist> | |
25382 | </method> | |
25383 | <method name="__eq__" type="bool" overloaded="no"> | |
781d2982 | 25384 | <autodoc>__eq__(self, DateTime other) -> bool</autodoc> |
f32fc4bc RD |
25385 | <paramlist> |
25386 | <param name="other" type="DateTime" default=""/> | |
25387 | </paramlist> | |
25388 | </method> | |
25389 | <method name="__ne__" type="bool" overloaded="no"> | |
781d2982 | 25390 | <autodoc>__ne__(self, DateTime other) -> bool</autodoc> |
f32fc4bc RD |
25391 | <paramlist> |
25392 | <param name="other" type="DateTime" default=""/> | |
25393 | </paramlist> | |
25394 | </method> | |
25395 | <method name="ParseRfc822Date" type="int" overloaded="no"> | |
781d2982 | 25396 | <autodoc>ParseRfc822Date(self, String date) -> int</autodoc> |
f32fc4bc RD |
25397 | <paramlist> |
25398 | <param name="date" type="String" default=""/> | |
25399 | </paramlist> | |
25400 | </method> | |
25401 | <method name="ParseFormat" type="int" overloaded="no"> | |
781d2982 | 25402 | <autodoc>ParseFormat(self, String date, String format=DateFormatStr, DateTime dateDef=DefaultDateTime) -> int</autodoc> |
f32fc4bc RD |
25403 | <paramlist> |
25404 | <param name="date" type="String" default=""/> | |
25405 | <param name="format" type="String" default="wxPyDateFormatStr"/> | |
25406 | <param name="dateDef" type="DateTime" default="wxDefaultDateTime"/> | |
25407 | </paramlist> | |
25408 | </method> | |
25409 | <method name="ParseDateTime" type="int" overloaded="no"> | |
781d2982 | 25410 | <autodoc>ParseDateTime(self, String datetime) -> int</autodoc> |
f32fc4bc RD |
25411 | <paramlist> |
25412 | <param name="datetime" type="String" default=""/> | |
25413 | </paramlist> | |
25414 | </method> | |
25415 | <method name="ParseDate" type="int" overloaded="no"> | |
781d2982 | 25416 | <autodoc>ParseDate(self, String date) -> int</autodoc> |
f32fc4bc RD |
25417 | <paramlist> |
25418 | <param name="date" type="String" default=""/> | |
25419 | </paramlist> | |
25420 | </method> | |
25421 | <method name="ParseTime" type="int" overloaded="no"> | |
781d2982 | 25422 | <autodoc>ParseTime(self, String time) -> int</autodoc> |
f32fc4bc RD |
25423 | <paramlist> |
25424 | <param name="time" type="String" default=""/> | |
25425 | </paramlist> | |
25426 | </method> | |
25427 | <method name="Format" type="String" overloaded="no"> | |
781d2982 | 25428 | <autodoc>Format(self, String format=DateFormatStr, wxDateTime::TimeZone tz=LOCAL_TZ) -> String</autodoc> |
f32fc4bc RD |
25429 | <paramlist> |
25430 | <param name="format" type="String" default="wxPyDateFormatStr"/> | |
25431 | <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/> | |
25432 | </paramlist> | |
25433 | </method> | |
25434 | <method name="FormatDate" type="String" overloaded="no"> | |
781d2982 | 25435 | <autodoc>FormatDate(self) -> String</autodoc> |
f32fc4bc RD |
25436 | </method> |
25437 | <method name="FormatTime" type="String" overloaded="no"> | |
781d2982 | 25438 | <autodoc>FormatTime(self) -> String</autodoc> |
f32fc4bc RD |
25439 | </method> |
25440 | <method name="FormatISODate" type="String" overloaded="no"> | |
781d2982 | 25441 | <autodoc>FormatISODate(self) -> String</autodoc> |
f32fc4bc RD |
25442 | </method> |
25443 | <method name="FormatISOTime" type="String" overloaded="no"> | |
781d2982 | 25444 | <autodoc>FormatISOTime(self) -> String</autodoc> |
f32fc4bc RD |
25445 | </method> |
25446 | </class> | |
781d2982 | 25447 | <class name="TimeSpan" oldname="wxTimeSpan" module="_misc"> |
f32fc4bc | 25448 | <constructor name="TimeSpan" overloaded="no"> |
781d2982 | 25449 | <autodoc>__init__(self, long hours=0, long minutes=0, long seconds=0, long milliseconds=0) -> TimeSpan</autodoc> |
f32fc4bc RD |
25450 | <paramlist> |
25451 | <param name="hours" type="long" default="0"/> | |
25452 | <param name="minutes" type="long" default="0"/> | |
25453 | <param name="seconds" type="long" default="0"/> | |
25454 | <param name="milliseconds" type="long" default="0"/> | |
25455 | </paramlist> | |
25456 | </constructor> | |
25457 | <destructor name="~wxTimeSpan" overloaded="no"> | |
781d2982 | 25458 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
25459 | </destructor> |
25460 | <staticmethod name="Seconds" type="TimeSpan" overloaded="no"> | |
25461 | <autodoc>Seconds(long sec) -> TimeSpan</autodoc> | |
25462 | <paramlist> | |
25463 | <param name="sec" type="long" default=""/> | |
25464 | </paramlist> | |
25465 | </staticmethod> | |
25466 | <staticmethod name="Second" type="TimeSpan" overloaded="no"> | |
25467 | <autodoc>Second() -> TimeSpan</autodoc> | |
25468 | </staticmethod> | |
25469 | <staticmethod name="Minutes" type="TimeSpan" overloaded="no"> | |
25470 | <autodoc>Minutes(long min) -> TimeSpan</autodoc> | |
25471 | <paramlist> | |
25472 | <param name="min" type="long" default=""/> | |
25473 | </paramlist> | |
25474 | </staticmethod> | |
25475 | <staticmethod name="Minute" type="TimeSpan" overloaded="no"> | |
25476 | <autodoc>Minute() -> TimeSpan</autodoc> | |
25477 | </staticmethod> | |
25478 | <staticmethod name="Hours" type="TimeSpan" overloaded="no"> | |
25479 | <autodoc>Hours(long hours) -> TimeSpan</autodoc> | |
25480 | <paramlist> | |
25481 | <param name="hours" type="long" default=""/> | |
25482 | </paramlist> | |
25483 | </staticmethod> | |
25484 | <staticmethod name="Hour" type="TimeSpan" overloaded="no"> | |
25485 | <autodoc>Hour() -> TimeSpan</autodoc> | |
25486 | </staticmethod> | |
25487 | <staticmethod name="Days" type="TimeSpan" overloaded="no"> | |
25488 | <autodoc>Days(long days) -> TimeSpan</autodoc> | |
25489 | <paramlist> | |
25490 | <param name="days" type="long" default=""/> | |
25491 | </paramlist> | |
25492 | </staticmethod> | |
25493 | <staticmethod name="Day" type="TimeSpan" overloaded="no"> | |
25494 | <autodoc>Day() -> TimeSpan</autodoc> | |
25495 | </staticmethod> | |
25496 | <staticmethod name="Weeks" type="TimeSpan" overloaded="no"> | |
25497 | <autodoc>Weeks(long days) -> TimeSpan</autodoc> | |
25498 | <paramlist> | |
25499 | <param name="days" type="long" default=""/> | |
25500 | </paramlist> | |
25501 | </staticmethod> | |
25502 | <staticmethod name="Week" type="TimeSpan" overloaded="no"> | |
25503 | <autodoc>Week() -> TimeSpan</autodoc> | |
25504 | </staticmethod> | |
25505 | <method name="Add" type="TimeSpan" overloaded="no"> | |
781d2982 | 25506 | <autodoc>Add(self, TimeSpan diff) -> TimeSpan</autodoc> |
f32fc4bc RD |
25507 | <paramlist> |
25508 | <param name="diff" type="TimeSpan" default=""/> | |
25509 | </paramlist> | |
25510 | </method> | |
25511 | <method name="Subtract" type="TimeSpan" overloaded="no"> | |
781d2982 | 25512 | <autodoc>Subtract(self, TimeSpan diff) -> TimeSpan</autodoc> |
f32fc4bc RD |
25513 | <paramlist> |
25514 | <param name="diff" type="TimeSpan" default=""/> | |
25515 | </paramlist> | |
25516 | </method> | |
25517 | <method name="Multiply" type="TimeSpan" overloaded="no"> | |
781d2982 | 25518 | <autodoc>Multiply(self, int n) -> TimeSpan</autodoc> |
f32fc4bc RD |
25519 | <paramlist> |
25520 | <param name="n" type="int" default=""/> | |
25521 | </paramlist> | |
25522 | </method> | |
25523 | <method name="Neg" type="TimeSpan" overloaded="no"> | |
781d2982 | 25524 | <autodoc>Neg(self) -> TimeSpan</autodoc> |
f32fc4bc RD |
25525 | </method> |
25526 | <method name="Abs" type="TimeSpan" overloaded="no"> | |
781d2982 | 25527 | <autodoc>Abs(self) -> TimeSpan</autodoc> |
f32fc4bc RD |
25528 | </method> |
25529 | <method name="__iadd__" type="TimeSpan" overloaded="no"> | |
781d2982 | 25530 | <autodoc>__iadd__(self, TimeSpan diff) -> TimeSpan</autodoc> |
f32fc4bc RD |
25531 | <paramlist> |
25532 | <param name="diff" type="TimeSpan" default=""/> | |
25533 | </paramlist> | |
25534 | </method> | |
25535 | <method name="__isub__" type="TimeSpan" overloaded="no"> | |
781d2982 | 25536 | <autodoc>__isub__(self, TimeSpan diff) -> TimeSpan</autodoc> |
f32fc4bc RD |
25537 | <paramlist> |
25538 | <param name="diff" type="TimeSpan" default=""/> | |
25539 | </paramlist> | |
25540 | </method> | |
25541 | <method name="__imul__" type="TimeSpan" overloaded="no"> | |
781d2982 | 25542 | <autodoc>__imul__(self, int n) -> TimeSpan</autodoc> |
f32fc4bc RD |
25543 | <paramlist> |
25544 | <param name="n" type="int" default=""/> | |
25545 | </paramlist> | |
25546 | </method> | |
25547 | <method name="__neg__" type="TimeSpan" overloaded="no"> | |
781d2982 | 25548 | <autodoc>__neg__(self) -> TimeSpan</autodoc> |
f32fc4bc RD |
25549 | </method> |
25550 | <method name="__add__" type="TimeSpan" overloaded="no"> | |
781d2982 | 25551 | <autodoc>__add__(self, TimeSpan other) -> TimeSpan</autodoc> |
f32fc4bc RD |
25552 | <paramlist> |
25553 | <param name="other" type="TimeSpan" default=""/> | |
25554 | </paramlist> | |
25555 | </method> | |
25556 | <method name="__sub__" type="TimeSpan" overloaded="no"> | |
781d2982 | 25557 | <autodoc>__sub__(self, TimeSpan other) -> TimeSpan</autodoc> |
f32fc4bc RD |
25558 | <paramlist> |
25559 | <param name="other" type="TimeSpan" default=""/> | |
25560 | </paramlist> | |
25561 | </method> | |
25562 | <method name="__mul__" type="TimeSpan" overloaded="no"> | |
781d2982 | 25563 | <autodoc>__mul__(self, int n) -> TimeSpan</autodoc> |
f32fc4bc RD |
25564 | <paramlist> |
25565 | <param name="n" type="int" default=""/> | |
25566 | </paramlist> | |
25567 | </method> | |
25568 | <method name="__rmul__" type="TimeSpan" overloaded="no"> | |
781d2982 | 25569 | <autodoc>__rmul__(self, int n) -> TimeSpan</autodoc> |
f32fc4bc RD |
25570 | <paramlist> |
25571 | <param name="n" type="int" default=""/> | |
25572 | </paramlist> | |
25573 | </method> | |
25574 | <method name="__lt__" type="bool" overloaded="no"> | |
781d2982 | 25575 | <autodoc>__lt__(self, TimeSpan other) -> bool</autodoc> |
f32fc4bc RD |
25576 | <paramlist> |
25577 | <param name="other" type="TimeSpan" default=""/> | |
25578 | </paramlist> | |
25579 | </method> | |
25580 | <method name="__le__" type="bool" overloaded="no"> | |
781d2982 | 25581 | <autodoc>__le__(self, TimeSpan other) -> bool</autodoc> |
f32fc4bc RD |
25582 | <paramlist> |
25583 | <param name="other" type="TimeSpan" default=""/> | |
25584 | </paramlist> | |
25585 | </method> | |
25586 | <method name="__gt__" type="bool" overloaded="no"> | |
781d2982 | 25587 | <autodoc>__gt__(self, TimeSpan other) -> bool</autodoc> |
f32fc4bc RD |
25588 | <paramlist> |
25589 | <param name="other" type="TimeSpan" default=""/> | |
25590 | </paramlist> | |
25591 | </method> | |
25592 | <method name="__ge__" type="bool" overloaded="no"> | |
781d2982 | 25593 | <autodoc>__ge__(self, TimeSpan other) -> bool</autodoc> |
f32fc4bc RD |
25594 | <paramlist> |
25595 | <param name="other" type="TimeSpan" default=""/> | |
25596 | </paramlist> | |
25597 | </method> | |
25598 | <method name="__eq__" type="bool" overloaded="no"> | |
781d2982 | 25599 | <autodoc>__eq__(self, TimeSpan other) -> bool</autodoc> |
f32fc4bc RD |
25600 | <paramlist> |
25601 | <param name="other" type="TimeSpan" default=""/> | |
25602 | </paramlist> | |
25603 | </method> | |
25604 | <method name="__ne__" type="bool" overloaded="no"> | |
781d2982 | 25605 | <autodoc>__ne__(self, TimeSpan other) -> bool</autodoc> |
f32fc4bc RD |
25606 | <paramlist> |
25607 | <param name="other" type="TimeSpan" default=""/> | |
25608 | </paramlist> | |
25609 | </method> | |
25610 | <method name="IsNull" type="bool" overloaded="no"> | |
781d2982 | 25611 | <autodoc>IsNull(self) -> bool</autodoc> |
f32fc4bc RD |
25612 | </method> |
25613 | <method name="IsPositive" type="bool" overloaded="no"> | |
781d2982 | 25614 | <autodoc>IsPositive(self) -> bool</autodoc> |
f32fc4bc RD |
25615 | </method> |
25616 | <method name="IsNegative" type="bool" overloaded="no"> | |
781d2982 | 25617 | <autodoc>IsNegative(self) -> bool</autodoc> |
f32fc4bc RD |
25618 | </method> |
25619 | <method name="IsEqualTo" type="bool" overloaded="no"> | |
781d2982 | 25620 | <autodoc>IsEqualTo(self, TimeSpan ts) -> bool</autodoc> |
f32fc4bc RD |
25621 | <paramlist> |
25622 | <param name="ts" type="TimeSpan" default=""/> | |
25623 | </paramlist> | |
25624 | </method> | |
25625 | <method name="IsLongerThan" type="bool" overloaded="no"> | |
781d2982 | 25626 | <autodoc>IsLongerThan(self, TimeSpan ts) -> bool</autodoc> |
f32fc4bc RD |
25627 | <paramlist> |
25628 | <param name="ts" type="TimeSpan" default=""/> | |
25629 | </paramlist> | |
25630 | </method> | |
25631 | <method name="IsShorterThan" type="bool" overloaded="no"> | |
781d2982 | 25632 | <autodoc>IsShorterThan(self, TimeSpan t) -> bool</autodoc> |
f32fc4bc RD |
25633 | <paramlist> |
25634 | <param name="t" type="TimeSpan" default=""/> | |
25635 | </paramlist> | |
25636 | </method> | |
25637 | <method name="GetWeeks" type="int" overloaded="no"> | |
781d2982 | 25638 | <autodoc>GetWeeks(self) -> int</autodoc> |
f32fc4bc RD |
25639 | </method> |
25640 | <method name="GetDays" type="int" overloaded="no"> | |
781d2982 | 25641 | <autodoc>GetDays(self) -> int</autodoc> |
f32fc4bc RD |
25642 | </method> |
25643 | <method name="GetHours" type="int" overloaded="no"> | |
781d2982 | 25644 | <autodoc>GetHours(self) -> int</autodoc> |
f32fc4bc RD |
25645 | </method> |
25646 | <method name="GetMinutes" type="int" overloaded="no"> | |
781d2982 | 25647 | <autodoc>GetMinutes(self) -> int</autodoc> |
f32fc4bc RD |
25648 | </method> |
25649 | <method name="GetSeconds" type="wxLongLong" overloaded="no"> | |
781d2982 | 25650 | <autodoc>GetSeconds(self) -> wxLongLong</autodoc> |
f32fc4bc RD |
25651 | </method> |
25652 | <method name="GetMilliseconds" type="wxLongLong" overloaded="no"> | |
781d2982 | 25653 | <autodoc>GetMilliseconds(self) -> wxLongLong</autodoc> |
f32fc4bc RD |
25654 | </method> |
25655 | <method name="Format" type="String" overloaded="no"> | |
781d2982 | 25656 | <autodoc>Format(self, String format=TimeSpanFormatStr) -> String</autodoc> |
f32fc4bc RD |
25657 | <paramlist> |
25658 | <param name="format" type="String" default="wxPyTimeSpanFormatStr"/> | |
25659 | </paramlist> | |
25660 | </method> | |
25661 | </class> | |
781d2982 | 25662 | <class name="DateSpan" oldname="wxDateSpan" module="_misc"> |
f32fc4bc | 25663 | <constructor name="DateSpan" overloaded="no"> |
781d2982 | 25664 | <autodoc>__init__(self, int years=0, int months=0, int weeks=0, int days=0) -> DateSpan</autodoc> |
f32fc4bc RD |
25665 | <paramlist> |
25666 | <param name="years" type="int" default="0"/> | |
25667 | <param name="months" type="int" default="0"/> | |
25668 | <param name="weeks" type="int" default="0"/> | |
25669 | <param name="days" type="int" default="0"/> | |
25670 | </paramlist> | |
25671 | </constructor> | |
25672 | <destructor name="~wxDateSpan" overloaded="no"> | |
781d2982 | 25673 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
25674 | </destructor> |
25675 | <staticmethod name="Days" type="DateSpan" overloaded="no"> | |
25676 | <autodoc>Days(int days) -> DateSpan</autodoc> | |
25677 | <paramlist> | |
25678 | <param name="days" type="int" default=""/> | |
25679 | </paramlist> | |
25680 | </staticmethod> | |
25681 | <staticmethod name="Day" type="DateSpan" overloaded="no"> | |
25682 | <autodoc>Day() -> DateSpan</autodoc> | |
25683 | </staticmethod> | |
25684 | <staticmethod name="Weeks" type="DateSpan" overloaded="no"> | |
25685 | <autodoc>Weeks(int weeks) -> DateSpan</autodoc> | |
25686 | <paramlist> | |
25687 | <param name="weeks" type="int" default=""/> | |
25688 | </paramlist> | |
25689 | </staticmethod> | |
25690 | <staticmethod name="Week" type="DateSpan" overloaded="no"> | |
25691 | <autodoc>Week() -> DateSpan</autodoc> | |
25692 | </staticmethod> | |
25693 | <staticmethod name="Months" type="DateSpan" overloaded="no"> | |
25694 | <autodoc>Months(int mon) -> DateSpan</autodoc> | |
25695 | <paramlist> | |
25696 | <param name="mon" type="int" default=""/> | |
25697 | </paramlist> | |
25698 | </staticmethod> | |
25699 | <staticmethod name="Month" type="DateSpan" overloaded="no"> | |
25700 | <autodoc>Month() -> DateSpan</autodoc> | |
25701 | </staticmethod> | |
25702 | <staticmethod name="Years" type="DateSpan" overloaded="no"> | |
25703 | <autodoc>Years(int years) -> DateSpan</autodoc> | |
25704 | <paramlist> | |
25705 | <param name="years" type="int" default=""/> | |
25706 | </paramlist> | |
25707 | </staticmethod> | |
25708 | <staticmethod name="Year" type="DateSpan" overloaded="no"> | |
25709 | <autodoc>Year() -> DateSpan</autodoc> | |
25710 | </staticmethod> | |
25711 | <method name="SetYears" type="DateSpan" overloaded="no"> | |
781d2982 | 25712 | <autodoc>SetYears(self, int n) -> DateSpan</autodoc> |
f32fc4bc RD |
25713 | <paramlist> |
25714 | <param name="n" type="int" default=""/> | |
25715 | </paramlist> | |
25716 | </method> | |
25717 | <method name="SetMonths" type="DateSpan" overloaded="no"> | |
781d2982 | 25718 | <autodoc>SetMonths(self, int n) -> DateSpan</autodoc> |
f32fc4bc RD |
25719 | <paramlist> |
25720 | <param name="n" type="int" default=""/> | |
25721 | </paramlist> | |
25722 | </method> | |
25723 | <method name="SetWeeks" type="DateSpan" overloaded="no"> | |
781d2982 | 25724 | <autodoc>SetWeeks(self, int n) -> DateSpan</autodoc> |
f32fc4bc RD |
25725 | <paramlist> |
25726 | <param name="n" type="int" default=""/> | |
25727 | </paramlist> | |
25728 | </method> | |
25729 | <method name="SetDays" type="DateSpan" overloaded="no"> | |
781d2982 | 25730 | <autodoc>SetDays(self, int n) -> DateSpan</autodoc> |
f32fc4bc RD |
25731 | <paramlist> |
25732 | <param name="n" type="int" default=""/> | |
25733 | </paramlist> | |
25734 | </method> | |
25735 | <method name="GetYears" type="int" overloaded="no"> | |
781d2982 | 25736 | <autodoc>GetYears(self) -> int</autodoc> |
f32fc4bc RD |
25737 | </method> |
25738 | <method name="GetMonths" type="int" overloaded="no"> | |
781d2982 | 25739 | <autodoc>GetMonths(self) -> int</autodoc> |
f32fc4bc RD |
25740 | </method> |
25741 | <method name="GetWeeks" type="int" overloaded="no"> | |
781d2982 | 25742 | <autodoc>GetWeeks(self) -> int</autodoc> |
f32fc4bc RD |
25743 | </method> |
25744 | <method name="GetDays" type="int" overloaded="no"> | |
781d2982 | 25745 | <autodoc>GetDays(self) -> int</autodoc> |
f32fc4bc RD |
25746 | </method> |
25747 | <method name="GetTotalDays" type="int" overloaded="no"> | |
781d2982 | 25748 | <autodoc>GetTotalDays(self) -> int</autodoc> |
f32fc4bc RD |
25749 | </method> |
25750 | <method name="Add" type="DateSpan" overloaded="no"> | |
781d2982 | 25751 | <autodoc>Add(self, DateSpan other) -> DateSpan</autodoc> |
f32fc4bc RD |
25752 | <paramlist> |
25753 | <param name="other" type="DateSpan" default=""/> | |
25754 | </paramlist> | |
25755 | </method> | |
25756 | <method name="Subtract" type="DateSpan" overloaded="no"> | |
781d2982 | 25757 | <autodoc>Subtract(self, DateSpan other) -> DateSpan</autodoc> |
f32fc4bc RD |
25758 | <paramlist> |
25759 | <param name="other" type="DateSpan" default=""/> | |
25760 | </paramlist> | |
25761 | </method> | |
25762 | <method name="Neg" type="DateSpan" overloaded="no"> | |
781d2982 | 25763 | <autodoc>Neg(self) -> DateSpan</autodoc> |
f32fc4bc RD |
25764 | </method> |
25765 | <method name="Multiply" type="DateSpan" overloaded="no"> | |
781d2982 | 25766 | <autodoc>Multiply(self, int factor) -> DateSpan</autodoc> |
f32fc4bc RD |
25767 | <paramlist> |
25768 | <param name="factor" type="int" default=""/> | |
25769 | </paramlist> | |
25770 | </method> | |
25771 | <method name="__iadd__" type="DateSpan" overloaded="no"> | |
781d2982 | 25772 | <autodoc>__iadd__(self, DateSpan other) -> DateSpan</autodoc> |
f32fc4bc RD |
25773 | <paramlist> |
25774 | <param name="other" type="DateSpan" default=""/> | |
25775 | </paramlist> | |
25776 | </method> | |
25777 | <method name="__isub__" type="DateSpan" overloaded="no"> | |
781d2982 | 25778 | <autodoc>__isub__(self, DateSpan other) -> DateSpan</autodoc> |
f32fc4bc RD |
25779 | <paramlist> |
25780 | <param name="other" type="DateSpan" default=""/> | |
25781 | </paramlist> | |
25782 | </method> | |
25783 | <method name="__neg__" type="DateSpan" overloaded="no"> | |
781d2982 | 25784 | <autodoc>__neg__(self) -> DateSpan</autodoc> |
f32fc4bc RD |
25785 | </method> |
25786 | <method name="__imul__" type="DateSpan" overloaded="no"> | |
781d2982 | 25787 | <autodoc>__imul__(self, int factor) -> DateSpan</autodoc> |
f32fc4bc RD |
25788 | <paramlist> |
25789 | <param name="factor" type="int" default=""/> | |
25790 | </paramlist> | |
25791 | </method> | |
25792 | <method name="__add__" type="DateSpan" overloaded="no"> | |
781d2982 | 25793 | <autodoc>__add__(self, DateSpan other) -> DateSpan</autodoc> |
f32fc4bc RD |
25794 | <paramlist> |
25795 | <param name="other" type="DateSpan" default=""/> | |
25796 | </paramlist> | |
25797 | </method> | |
25798 | <method name="__sub__" type="DateSpan" overloaded="no"> | |
781d2982 | 25799 | <autodoc>__sub__(self, DateSpan other) -> DateSpan</autodoc> |
f32fc4bc RD |
25800 | <paramlist> |
25801 | <param name="other" type="DateSpan" default=""/> | |
25802 | </paramlist> | |
25803 | </method> | |
25804 | <method name="__mul__" type="DateSpan" overloaded="no"> | |
781d2982 | 25805 | <autodoc>__mul__(self, int n) -> DateSpan</autodoc> |
f32fc4bc RD |
25806 | <paramlist> |
25807 | <param name="n" type="int" default=""/> | |
25808 | </paramlist> | |
25809 | </method> | |
25810 | <method name="__rmul__" type="DateSpan" overloaded="no"> | |
781d2982 | 25811 | <autodoc>__rmul__(self, int n) -> DateSpan</autodoc> |
f32fc4bc RD |
25812 | <paramlist> |
25813 | <param name="n" type="int" default=""/> | |
25814 | </paramlist> | |
25815 | </method> | |
25816 | <method name="__eq__" type="bool" overloaded="no"> | |
781d2982 | 25817 | <autodoc>__eq__(self, DateSpan other) -> bool</autodoc> |
f32fc4bc RD |
25818 | <paramlist> |
25819 | <param name="other" type="DateSpan" default=""/> | |
25820 | </paramlist> | |
25821 | </method> | |
25822 | <method name="__ne__" type="bool" overloaded="no"> | |
781d2982 | 25823 | <autodoc>__ne__(self, DateSpan other) -> bool</autodoc> |
f32fc4bc RD |
25824 | <paramlist> |
25825 | <param name="other" type="DateSpan" default=""/> | |
25826 | </paramlist> | |
25827 | </method> | |
25828 | </class> | |
25829 | <method name="GetLocalTime" oldname="wxGetLocalTime" type="long" overloaded="no"> | |
25830 | <autodoc>GetLocalTime() -> long</autodoc> | |
25831 | </method> | |
25832 | <method name="GetUTCTime" oldname="wxGetUTCTime" type="long" overloaded="no"> | |
25833 | <autodoc>GetUTCTime() -> long</autodoc> | |
25834 | </method> | |
25835 | <method name="GetCurrentTime" oldname="wxGetCurrentTime" type="long" overloaded="no"> | |
25836 | <autodoc>GetCurrentTime() -> long</autodoc> | |
25837 | </method> | |
25838 | <method name="GetLocalTimeMillis" oldname="wxGetLocalTimeMillis" type="wxLongLong" overloaded="no"> | |
25839 | <autodoc>GetLocalTimeMillis() -> wxLongLong</autodoc> | |
856bf319 | 25840 | </method> |
f32fc4bc RD |
25841 | <pythoncode> |
25842 | #--------------------------------------------------------------------------- | |
25843 | </pythoncode> | |
781d2982 | 25844 | <class name="DataFormat" oldname="wxDataFormat" module="_misc"> |
c2dda882 | 25845 | <docstring>A wx.DataFormat is an encapsulation of a platform-specific format |
781d2982 RD |
25846 | handle which is used by the system for the clipboard and drag and drop |
25847 | operations. The applications are usually only interested in, for | |
25848 | example, pasting data from the clipboard only if the data is in a | |
25849 | format the program understands. A data format is is used to uniquely | |
ce6878e6 RD |
25850 | identify this format. |
25851 | On the system level, a data format is usually just a number, (which | |
25852 | may be the CLIPFORMAT under Windows or Atom under X11, for example.) | |
25853 | ||
25854 | The standard format IDs are: | |
25855 | ||
25856 | ================ ===================================== | |
25857 | wx.DF_INVALID An invalid format | |
25858 | wx.DF_TEXT Text format | |
25859 | wx.DF_BITMAP A bitmap (wx.Bitmap) | |
25860 | wx.DF_METAFILE A metafile (wx.Metafile, Windows only) | |
25861 | wx.DF_FILENAME A list of filenames | |
25862 | wx.DF_HTML An HTML string. This is only valid on | |
25863 | Windows and non-unicode builds | |
25864 | ================ ===================================== | |
25865 | ||
25866 | Aside the standard formats, the application may also use custom | |
25867 | formats which are identified by their names (strings) and not numeric | |
25868 | identifiers. Although internally custom format must be created (or | |
25869 | registered) first, you shouldn't care about it because it is done | |
25870 | automatically the first time the wxDataFormat object corresponding to | |
25871 | a given format name is created. | |
25872 | ||
25873 | </docstring> | |
f32fc4bc | 25874 | <constructor name="DataFormat" overloaded="no"> |
781d2982 RD |
25875 | <autodoc>__init__(self, int type) -> DataFormat</autodoc> |
25876 | <docstring>Constructs a data format object for one of the standard data formats | |
25877 | or an empty data object (use SetType or SetId later in this case)</docstring> | |
f32fc4bc RD |
25878 | <paramlist> |
25879 | <param name="type" type="wxDataFormatId" default=""/> | |
25880 | </paramlist> | |
25881 | </constructor> | |
25882 | <constructor name="CustomDataFormat" overloaded="no"> | |
25883 | <autodoc>CustomDataFormat(String format) -> DataFormat</autodoc> | |
781d2982 RD |
25884 | <docstring>Constructs a data format object for a custom format identified by its |
25885 | name.</docstring> | |
f32fc4bc RD |
25886 | <paramlist> |
25887 | <param name="format" type="String" default=""/> | |
25888 | </paramlist> | |
25889 | </constructor> | |
25890 | <destructor name="~wxDataFormat" overloaded="no"> | |
781d2982 | 25891 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
25892 | </destructor> |
25893 | <method name="__eq__" type="bool" overloaded="yes"> | |
25894 | <paramlist> | |
25895 | <param name="format" type="wxDataFormatId" default=""/> | |
25896 | </paramlist> | |
25897 | </method> | |
25898 | <method name="__ne__" type="bool" overloaded="yes"> | |
25899 | <paramlist> | |
25900 | <param name="format" type="wxDataFormatId" default=""/> | |
25901 | </paramlist> | |
25902 | </method> | |
25903 | <method name="__eq__" type="bool" overloaded="yes"> | |
781d2982 RD |
25904 | <autodoc>__eq__(self, int format) -> bool |
25905 | __eq__(self, DataFormat format) -> bool</autodoc> | |
f32fc4bc RD |
25906 | <paramlist> |
25907 | <param name="format" type="DataFormat" default=""/> | |
25908 | </paramlist> | |
25909 | </method> | |
25910 | <method name="__ne__" type="bool" overloaded="yes"> | |
781d2982 RD |
25911 | <autodoc>__ne__(self, int format) -> bool |
25912 | __ne__(self, DataFormat format) -> bool</autodoc> | |
f32fc4bc RD |
25913 | <paramlist> |
25914 | <param name="format" type="DataFormat" default=""/> | |
25915 | </paramlist> | |
25916 | </method> | |
25917 | <method name="SetType" type="" overloaded="no"> | |
781d2982 RD |
25918 | <autodoc>SetType(self, int format)</autodoc> |
25919 | <docstring>Sets the format to the given value, which should be one of wx.DF_XXX | |
25920 | constants.</docstring> | |
f32fc4bc RD |
25921 | <paramlist> |
25922 | <param name="format" type="wxDataFormatId" default=""/> | |
25923 | </paramlist> | |
25924 | </method> | |
25925 | <method name="GetType" type="wxDataFormatId" overloaded="no"> | |
781d2982 | 25926 | <autodoc>GetType(self) -> int</autodoc> |
c2dda882 | 25927 | <docstring>Returns the platform-specific number identifying the format.</docstring> |
f32fc4bc RD |
25928 | </method> |
25929 | <method name="GetId" type="String" overloaded="no"> | |
781d2982 RD |
25930 | <autodoc>GetId(self) -> String</autodoc> |
25931 | <docstring>Returns the name of a custom format (this function will fail for a | |
25932 | standard format).</docstring> | |
f32fc4bc RD |
25933 | </method> |
25934 | <method name="SetId" type="" overloaded="no"> | |
781d2982 | 25935 | <autodoc>SetId(self, String format)</autodoc> |
c2dda882 | 25936 | <docstring>Sets the format to be the custom format identified by the given name.</docstring> |
f32fc4bc RD |
25937 | <paramlist> |
25938 | <param name="format" type="String" default=""/> | |
25939 | </paramlist> | |
25940 | </method> | |
25941 | </class> | |
781d2982 RD |
25942 | <class name="DataObject" oldname="wxDataObject" module="_misc"> |
25943 | <docstring>A wx.DataObject represents data that can be copied to or from the | |
25944 | clipboard, or dragged and dropped. The important thing about | |
25945 | wx.DataObject is that this is a 'smart' piece of data unlike usual | |
25946 | 'dumb' data containers such as memory buffers or files. Being 'smart' | |
25947 | here means that the data object itself should know what data formats | |
25948 | it supports and how to render itself in each of supported formats. | |
25949 | ||
25950 | **NOTE**: This class is an abstract base class and can not be used | |
25951 | directly from Python. If you need a custom type of data object then | |
25952 | you should instead derive from `wx.PyDataObjectSimple` or use | |
25953 | `wx.CustomDataObject`. | |
ce6878e6 RD |
25954 | |
25955 | Not surprisingly, being 'smart' comes at a price of added | |
25956 | complexity. This is reasonable for the situations when you really need | |
25957 | to support multiple formats, but may be annoying if you only want to | |
25958 | do something simple like cut and paste text. | |
25959 | ||
25960 | To provide a solution for both cases, wxWidgets has two predefined | |
25961 | classes which derive from wx.DataObject: `wx.DataObjectSimple` and | |
25962 | `wx.DataObjectComposite`. `wx.DataObjectSimple` is the simplest | |
25963 | wx.DataObject possible and only holds data in a single format (such as | |
25964 | text or bitmap) and `wx.DataObjectComposite` is the simplest way to | |
25965 | implement a wx.DataObject which supports multiple simultaneous formats | |
25966 | because it achievs this by simply holding several | |
25967 | `wx.DataObjectSimple` objects. | |
25968 | ||
25969 | Please note that the easiest way to use drag and drop and the | |
25970 | clipboard with multiple formats is by using `wx.DataObjectComposite`, | |
25971 | but it is not the most efficient one as each `wx.DataObjectSimple` | |
25972 | would contain the whole data in its respective formats. Now imagine | |
25973 | that you want to paste 200 pages of text in your proprietary format, | |
25974 | as well as Word, RTF, HTML, Unicode and plain text to the clipboard | |
25975 | and even today's computers are in trouble. For this case, you will | |
25976 | have to derive from wx.DataObject directly and make it enumerate its | |
25977 | formats and provide the data in the requested format on | |
25978 | demand. (**TODO**: This is currently not possible from Python. Make | |
25979 | it so.) | |
25980 | ||
25981 | Note that the platform transfer mechanisms for the clipboard and drag | |
25982 | and drop, do not copy any data out of the source application until | |
25983 | another application actually requests the data. This is in contrast to | |
25984 | the 'feel' offered to the user of a program who would normally think | |
25985 | that the data resides in the clipboard after having pressed 'Copy' - | |
25986 | in reality it is only declared to be available. | |
781d2982 | 25987 | </docstring> |
f32fc4bc | 25988 | <destructor name="~wxDataObject" overloaded="no"> |
781d2982 | 25989 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
25990 | </destructor> |
25991 | <method name="GetPreferredFormat" type="DataFormat" overloaded="no"> | |
781d2982 RD |
25992 | <autodoc>GetPreferredFormat(self, int dir=Get) -> DataFormat</autodoc> |
25993 | <docstring>Returns the preferred format for either rendering the data (if dir is | |
25994 | Get, its default value) or for setting it. Usually this will be the | |
25995 | native format of the wx.DataObject.</docstring> | |
f32fc4bc RD |
25996 | <paramlist> |
25997 | <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/> | |
25998 | </paramlist> | |
25999 | </method> | |
26000 | <method name="GetFormatCount" type="size_t" overloaded="no"> | |
781d2982 RD |
26001 | <autodoc>GetFormatCount(self, int dir=Get) -> size_t</autodoc> |
26002 | <docstring>Returns the number of available formats for rendering or setting the | |
26003 | data.</docstring> | |
f32fc4bc RD |
26004 | <paramlist> |
26005 | <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/> | |
26006 | </paramlist> | |
26007 | </method> | |
26008 | <method name="IsSupported" type="bool" overloaded="no"> | |
781d2982 RD |
26009 | <autodoc>IsSupported(self, DataFormat format, int dir=Get) -> bool</autodoc> |
26010 | <docstring>Returns True if this format is supported.</docstring> | |
f32fc4bc RD |
26011 | <paramlist> |
26012 | <param name="format" type="DataFormat" default=""/> | |
26013 | <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/> | |
26014 | </paramlist> | |
26015 | </method> | |
26016 | <method name="GetDataSize" type="size_t" overloaded="no"> | |
781d2982 RD |
26017 | <autodoc>GetDataSize(self, DataFormat format) -> size_t</autodoc> |
26018 | <docstring>Get the (total) size of data for the given format</docstring> | |
f32fc4bc RD |
26019 | <paramlist> |
26020 | <param name="format" type="DataFormat" default=""/> | |
26021 | </paramlist> | |
26022 | </method> | |
781d2982 RD |
26023 | <method name="GetAllFormats" type="PyObject" overloaded="no"> |
26024 | <autodoc>GetAllFormats(self, int dir=Get) -> [formats]</autodoc> | |
26025 | <docstring>Returns a list of all the wx.DataFormats that this dataobject supports | |
26026 | in the given direction.</docstring> | |
f32fc4bc | 26027 | <paramlist> |
f32fc4bc RD |
26028 | <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/> |
26029 | </paramlist> | |
26030 | </method> | |
781d2982 RD |
26031 | <method name="GetDataHere" type="PyObject" overloaded="no"> |
26032 | <autodoc>GetDataHere(self, DataFormat format) -> String</autodoc> | |
26033 | <docstring>Get the data bytes in the specified format, returns None on failure. | |
ce6878e6 RD |
26034 | |
26035 | :todo: This should use the python buffer interface isntead...</docstring> | |
f32fc4bc RD |
26036 | <paramlist> |
26037 | <param name="format" type="DataFormat" default=""/> | |
f32fc4bc RD |
26038 | </paramlist> |
26039 | </method> | |
26040 | <method name="SetData" type="bool" overloaded="no"> | |
781d2982 RD |
26041 | <autodoc>SetData(self, DataFormat format, String data) -> bool</autodoc> |
26042 | <docstring>Set the data in the specified format from the bytes in the the data string. | |
ce6878e6 RD |
26043 | |
26044 | :todo: This should use the python buffer interface isntead...</docstring> | |
f32fc4bc RD |
26045 | <paramlist> |
26046 | <param name="format" type="DataFormat" default=""/> | |
781d2982 | 26047 | <param name="data" type="PyObject" default=""/> |
f32fc4bc RD |
26048 | </paramlist> |
26049 | </method> | |
26050 | </class> | |
781d2982 RD |
26051 | <class name="DataObjectSimple" oldname="wxDataObjectSimple" module="_misc"> |
26052 | <docstring>wx.DataObjectSimple is a `wx.DataObject` which only supports one | |
26053 | format. This is the simplest possible `wx.DataObject` implementation. | |
26054 | ||
26055 | This is still an "abstract base class" meaning that you can't use it | |
26056 | directly. You either need to use one of the predefined base classes, | |
26057 | or derive your own class from `wx.PyDataObjectSimple`. | |
26058 | </docstring> | |
f32fc4bc RD |
26059 | <baseclass name="DataObject"/> |
26060 | <constructor name="DataObjectSimple" overloaded="no"> | |
781d2982 RD |
26061 | <autodoc>__init__(self, DataFormat format=FormatInvalid) -> DataObjectSimple</autodoc> |
26062 | <docstring>Constructor accepts the supported format (none by default) which may | |
26063 | also be set later with `SetFormat`.</docstring> | |
f32fc4bc RD |
26064 | <paramlist> |
26065 | <param name="format" type="DataFormat" default="wxFormatInvalid"/> | |
26066 | </paramlist> | |
26067 | </constructor> | |
26068 | <method name="GetFormat" type="DataFormat" overloaded="no"> | |
781d2982 RD |
26069 | <autodoc>GetFormat(self) -> DataFormat</autodoc> |
26070 | <docstring>Returns the (one and only one) format supported by this object. It is | |
26071 | assumed that the format is supported in both directions.</docstring> | |
f32fc4bc RD |
26072 | </method> |
26073 | <method name="SetFormat" type="" overloaded="no"> | |
781d2982 RD |
26074 | <autodoc>SetFormat(self, DataFormat format)</autodoc> |
26075 | <docstring>Sets the supported format.</docstring> | |
f32fc4bc RD |
26076 | <paramlist> |
26077 | <param name="format" type="DataFormat" default=""/> | |
26078 | </paramlist> | |
26079 | </method> | |
781d2982 RD |
26080 | <method name="GetDataSize" type="size_t" overloaded="no"> |
26081 | <autodoc>GetDataSize(self) -> size_t</autodoc> | |
26082 | <docstring>Get the size of our data.</docstring> | |
26083 | </method> | |
26084 | <method name="GetDataHere" type="PyObject" overloaded="no"> | |
26085 | <autodoc>GetDataHere(self) -> String</autodoc> | |
26086 | <docstring>Returns the data bytes from the data object as a string, returns None | |
26087 | on failure. Must be implemented in the derived class if the object | |
26088 | supports rendering its data.</docstring> | |
26089 | </method> | |
26090 | <method name="SetData" type="bool" overloaded="no"> | |
26091 | <autodoc>SetData(self, String data) -> bool</autodoc> | |
26092 | <docstring>Copy the data value to the data object. Must be implemented in the | |
26093 | derived class if the object supports setting its data. | |
26094 | </docstring> | |
26095 | <paramlist> | |
26096 | <param name="data" type="PyObject" default=""/> | |
26097 | </paramlist> | |
26098 | </method> | |
f32fc4bc | 26099 | </class> |
781d2982 RD |
26100 | <class name="PyDataObjectSimple" oldname="wxPyDataObjectSimple" module="_misc"> |
26101 | <docstring>wx.PyDataObjectSimple is a version of `wx.DataObjectSimple` that is | |
26102 | Python-aware and knows how to reflect calls to its C++ virtual methods | |
26103 | to methods in the Python derived class. You should derive from this | |
26104 | class and overload `GetDataSize`, `GetDataHere` and `SetData` when you | |
26105 | need to create your own simple single-format type of `wx.DataObject`. | |
ce6878e6 RD |
26106 | |
26107 | Here is a simple example:: | |
26108 | ||
26109 | class MyDataObject(wx.PyDataObjectSimple): | |
26110 | def __init__(self): | |
26111 | wx.PyDataObjectSimple.__init__( | |
26112 | self, wx.CustomDataFormat('MyDOFormat')) | |
26113 | self.data = '' | |
26114 | ||
26115 | def GetDataSize(self): | |
26116 | return len(self.data) | |
26117 | def GetDataHere(self): | |
26118 | return self.data # returns a string | |
26119 | def SetData(self, data): | |
26120 | self.data = data | |
26121 | return True | |
26122 | ||
26123 | Note that there is already a `wx.CustomDataObject` class that behaves | |
26124 | very similarly to this example. The value of creating your own | |
26125 | derived class like this is to be able to do additional things when the | |
26126 | data is requested or given via the clipboard or drag and drop | |
26127 | operation, such as generate the data value or decode it into needed | |
26128 | data structures. | |
781d2982 | 26129 | </docstring> |
f32fc4bc RD |
26130 | <baseclass name="DataObjectSimple"/> |
26131 | <constructor name="PyDataObjectSimple" overloaded="no"> | |
781d2982 RD |
26132 | <autodoc>__init__(self, DataFormat format=FormatInvalid) -> PyDataObjectSimple</autodoc> |
26133 | <docstring>wx.PyDataObjectSimple is a version of `wx.DataObjectSimple` that is | |
26134 | Python-aware and knows how to reflect calls to its C++ virtual methods | |
26135 | to methods in the Python derived class. You should derive from this | |
26136 | class and overload `GetDataSize`, `GetDataHere` and `SetData` when you | |
26137 | need to create your own simple single-format type of `wx.DataObject`. | |
ce6878e6 RD |
26138 | |
26139 | Here is a simple example:: | |
26140 | ||
26141 | class MyDataObject(wx.PyDataObjectSimple): | |
26142 | def __init__(self): | |
26143 | wx.PyDataObjectSimple.__init__( | |
26144 | self, wx.CustomDataFormat('MyDOFormat')) | |
26145 | self.data = '' | |
26146 | ||
26147 | def GetDataSize(self): | |
26148 | return len(self.data) | |
26149 | def GetDataHere(self): | |
26150 | return self.data # returns a string | |
26151 | def SetData(self, data): | |
26152 | self.data = data | |
26153 | return True | |
26154 | ||
26155 | Note that there is already a `wx.CustomDataObject` class that behaves | |
26156 | very similarly to this example. The value of creating your own | |
26157 | derived class like this is to be able to do additional things when the | |
26158 | data is requested or given via the clipboard or drag and drop | |
26159 | operation, such as generate the data value or decode it into needed | |
26160 | data structures. | |
781d2982 | 26161 | </docstring> |
f32fc4bc RD |
26162 | <paramlist> |
26163 | <param name="format" type="DataFormat" default="wxFormatInvalid"/> | |
26164 | </paramlist> | |
26165 | </constructor> | |
26166 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 26167 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
26168 | <paramlist> |
26169 | <param name="self" type="PyObject" default=""/> | |
26170 | <param name="_class" type="PyObject" default=""/> | |
26171 | </paramlist> | |
26172 | </method> | |
26173 | </class> | |
781d2982 RD |
26174 | <class name="DataObjectComposite" oldname="wxDataObjectComposite" module="_misc"> |
26175 | <docstring>wx.DataObjectComposite is the simplest `wx.DataObject` derivation | |
26176 | which may be sued to support multiple formats. It contains several | |
26177 | 'wx.DataObjectSimple` objects and supports any format supported by at | |
26178 | least one of them. Only one of these data objects is *preferred* (the | |
26179 | first one if not explicitly changed by using the second parameter of | |
26180 | `Add`) and its format determines the preferred format of the composite | |
26181 | data object as well. | |
26182 | ||
26183 | See `wx.DataObject` documentation for the reasons why you might prefer | |
26184 | to use wx.DataObject directly instead of wx.DataObjectComposite for | |
26185 | efficiency reasons. | |
26186 | </docstring> | |
f32fc4bc RD |
26187 | <baseclass name="DataObject"/> |
26188 | <constructor name="DataObjectComposite" overloaded="no"> | |
781d2982 RD |
26189 | <autodoc>__init__(self) -> DataObjectComposite</autodoc> |
26190 | <docstring>wx.DataObjectComposite is the simplest `wx.DataObject` derivation | |
26191 | which may be sued to support multiple formats. It contains several | |
26192 | 'wx.DataObjectSimple` objects and supports any format supported by at | |
26193 | least one of them. Only one of these data objects is *preferred* (the | |
26194 | first one if not explicitly changed by using the second parameter of | |
26195 | `Add`) and its format determines the preferred format of the composite | |
26196 | data object as well. | |
26197 | ||
26198 | See `wx.DataObject` documentation for the reasons why you might prefer | |
26199 | to use wx.DataObject directly instead of wx.DataObjectComposite for | |
26200 | efficiency reasons. | |
26201 | </docstring> | |
f32fc4bc RD |
26202 | </constructor> |
26203 | <method name="Add" type="" overloaded="no"> | |
781d2982 RD |
26204 | <autodoc>Add(self, DataObjectSimple dataObject, bool preferred=False)</autodoc> |
26205 | <docstring>Adds the dataObject to the list of supported objects and it becomes | |
26206 | the preferred object if preferred is True.</docstring> | |
f32fc4bc RD |
26207 | <paramlist> |
26208 | <param name="dataObject" type="DataObjectSimple" default=""/> | |
781d2982 | 26209 | <param name="preferred" type="bool" default="False"/> |
f32fc4bc RD |
26210 | </paramlist> |
26211 | </method> | |
26212 | </class> | |
781d2982 RD |
26213 | <class name="TextDataObject" oldname="wxTextDataObject" module="_misc"> |
26214 | <docstring>wx.TextDataObject is a specialization of `wx.DataObject` for text | |
26215 | data. It can be used without change to paste data into the `wx.Clipboard` | |
26216 | or a `wx.DropSource`. | |
26217 | ||
26218 | Alternativly, you may wish to derive a new class from the | |
26219 | `wx.PyTextDataObject` class for providing text on-demand in order to | |
26220 | minimize memory consumption when offering data in several formats, | |
26221 | such as plain text and RTF, because by default the text is stored in a | |
26222 | string in this class, but it might as well be generated on demand when | |
26223 | requested. For this, `GetTextLength` and `GetText` will have to be | |
26224 | overridden.</docstring> | |
f32fc4bc RD |
26225 | <baseclass name="DataObjectSimple"/> |
26226 | <constructor name="TextDataObject" overloaded="no"> | |
781d2982 RD |
26227 | <autodoc>__init__(self, String text=EmptyString) -> TextDataObject</autodoc> |
26228 | <docstring>Constructor, may be used to initialise the text (otherwise `SetText` | |
26229 | should be used later).</docstring> | |
f32fc4bc RD |
26230 | <paramlist> |
26231 | <param name="text" type="String" default="wxPyEmptyString"/> | |
26232 | </paramlist> | |
26233 | </constructor> | |
26234 | <method name="GetTextLength" type="size_t" overloaded="no"> | |
781d2982 RD |
26235 | <autodoc>GetTextLength(self) -> size_t</autodoc> |
26236 | <docstring>Returns the data size. By default, returns the size of the text data | |
26237 | set in the constructor or using `SetText`. This can be overridden (via | |
26238 | `wx.PyTextDataObject`) to provide text size data on-demand. It is | |
26239 | recommended to return the text length plus 1 for a trailing zero, but | |
26240 | this is not strictly required.</docstring> | |
f32fc4bc RD |
26241 | </method> |
26242 | <method name="GetText" type="String" overloaded="no"> | |
781d2982 RD |
26243 | <autodoc>GetText(self) -> String</autodoc> |
26244 | <docstring>Returns the text associated with the data object.</docstring> | |
f32fc4bc RD |
26245 | </method> |
26246 | <method name="SetText" type="" overloaded="no"> | |
781d2982 RD |
26247 | <autodoc>SetText(self, String text)</autodoc> |
26248 | <docstring>Sets the text associated with the data object. This method is called | |
26249 | when the data object receives the data and, by default, copies the | |
26250 | text into the member variable. If you want to process the text on the | |
26251 | fly you may wish to override this function (via | |
26252 | `wx.PyTextDataObject`.)</docstring> | |
f32fc4bc RD |
26253 | <paramlist> |
26254 | <param name="text" type="String" default=""/> | |
26255 | </paramlist> | |
26256 | </method> | |
26257 | </class> | |
781d2982 RD |
26258 | <class name="PyTextDataObject" oldname="wxPyTextDataObject" module="_misc"> |
26259 | <docstring>wx.PyTextDataObject is a version of `wx.TextDataObject` that is | |
26260 | Python-aware and knows how to reflect calls to its C++ virtual methods | |
26261 | to methods in the Python derived class. You should derive from this | |
26262 | class and overload `GetTextLength`, `GetText`, and `SetText` when you | |
26263 | want to be able to provide text on demand instead of preloading it | |
26264 | into the data object.</docstring> | |
f32fc4bc RD |
26265 | <baseclass name="TextDataObject"/> |
26266 | <constructor name="PyTextDataObject" overloaded="no"> | |
781d2982 RD |
26267 | <autodoc>__init__(self, String text=EmptyString) -> PyTextDataObject</autodoc> |
26268 | <docstring>wx.PyTextDataObject is a version of `wx.TextDataObject` that is | |
26269 | Python-aware and knows how to reflect calls to its C++ virtual methods | |
26270 | to methods in the Python derived class. You should derive from this | |
26271 | class and overload `GetTextLength`, `GetText`, and `SetText` when you | |
26272 | want to be able to provide text on demand instead of preloading it | |
26273 | into the data object.</docstring> | |
f32fc4bc RD |
26274 | <paramlist> |
26275 | <param name="text" type="String" default="wxPyEmptyString"/> | |
26276 | </paramlist> | |
26277 | </constructor> | |
26278 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 26279 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
26280 | <paramlist> |
26281 | <param name="self" type="PyObject" default=""/> | |
26282 | <param name="_class" type="PyObject" default=""/> | |
26283 | </paramlist> | |
26284 | </method> | |
26285 | </class> | |
781d2982 RD |
26286 | <class name="BitmapDataObject" oldname="wxBitmapDataObject" module="_misc"> |
26287 | <docstring>wx.BitmapDataObject is a specialization of wxDataObject for bitmap | |
26288 | data. It can be used without change to paste data into the `wx.Clipboard` | |
26289 | or a `wx.DropSource`. | |
ce6878e6 RD |
26290 | |
26291 | :see: `wx.PyBitmapDataObject` if you wish to override `GetBitmap` to increase efficiency.</docstring> | |
f32fc4bc RD |
26292 | <baseclass name="DataObjectSimple"/> |
26293 | <constructor name="BitmapDataObject" overloaded="no"> | |
781d2982 RD |
26294 | <autodoc>__init__(self, Bitmap bitmap=wxNullBitmap) -> BitmapDataObject</autodoc> |
26295 | <docstring>Constructor, optionally passing a bitmap (otherwise use `SetBitmap` | |
26296 | later).</docstring> | |
f32fc4bc RD |
26297 | <paramlist> |
26298 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
26299 | </paramlist> | |
26300 | </constructor> | |
26301 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
781d2982 RD |
26302 | <autodoc>GetBitmap(self) -> Bitmap</autodoc> |
26303 | <docstring>Returns the bitmap associated with the data object. You may wish to | |
26304 | override this method (by deriving from `wx.PyBitmapDataObject`) when | |
26305 | offering data on-demand, but this is not required by wxWidgets' | |
26306 | internals. Use this method to get data in bitmap form from the | |
26307 | `wx.Clipboard`.</docstring> | |
f32fc4bc RD |
26308 | </method> |
26309 | <method name="SetBitmap" type="" overloaded="no"> | |
781d2982 RD |
26310 | <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc> |
26311 | <docstring>Sets the bitmap associated with the data object. This method is called | |
26312 | when the data object receives data. Usually there will be no reason to | |
26313 | override this function.</docstring> | |
f32fc4bc RD |
26314 | <paramlist> |
26315 | <param name="bitmap" type="Bitmap" default=""/> | |
26316 | </paramlist> | |
26317 | </method> | |
26318 | </class> | |
781d2982 RD |
26319 | <class name="PyBitmapDataObject" oldname="wxPyBitmapDataObject" module="_misc"> |
26320 | <docstring>wx.PyBitmapDataObject is a version of `wx.BitmapDataObject` that is | |
26321 | Python-aware and knows how to reflect calls to its C++ virtual methods | |
26322 | to methods in the Python derived class. To be able to provide bitmap | |
26323 | data on demand derive from this class and overload `GetBitmap`.</docstring> | |
f32fc4bc RD |
26324 | <baseclass name="BitmapDataObject"/> |
26325 | <constructor name="PyBitmapDataObject" overloaded="no"> | |
781d2982 RD |
26326 | <autodoc>__init__(self, Bitmap bitmap=wxNullBitmap) -> PyBitmapDataObject</autodoc> |
26327 | <docstring>wx.PyBitmapDataObject is a version of `wx.BitmapDataObject` that is | |
26328 | Python-aware and knows how to reflect calls to its C++ virtual methods | |
26329 | to methods in the Python derived class. To be able to provide bitmap | |
26330 | data on demand derive from this class and overload `GetBitmap`.</docstring> | |
f32fc4bc RD |
26331 | <paramlist> |
26332 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
26333 | </paramlist> | |
26334 | </constructor> | |
26335 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 26336 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
26337 | <paramlist> |
26338 | <param name="self" type="PyObject" default=""/> | |
26339 | <param name="_class" type="PyObject" default=""/> | |
26340 | </paramlist> | |
26341 | </method> | |
26342 | </class> | |
781d2982 RD |
26343 | <class name="FileDataObject" oldname="wxFileDataObject" module="_misc"> |
26344 | <docstring>wx.FileDataObject is a specialization of `wx.DataObjectSimple` for | |
26345 | file names. The program works with it just as if it were a list of | |
26346 | absolute file names, but internally it uses the same format as | |
26347 | Explorer and other compatible programs under Windows or GNOME/KDE | |
26348 | filemanager under Unix which makes it possible to receive files from | |
26349 | them using this class. | |
26350 | ||
26351 | :Warning: Under all non-Windows platforms this class is currently | |
26352 | "input-only", i.e. you can receive the files from another | |
26353 | application, but copying (or dragging) file(s) from a wxWidgets | |
26354 | application is not currently supported. | |
26355 | </docstring> | |
f32fc4bc RD |
26356 | <baseclass name="DataObjectSimple"/> |
26357 | <constructor name="FileDataObject" overloaded="no"> | |
781d2982 | 26358 | <autodoc>__init__(self) -> FileDataObject</autodoc> |
f32fc4bc RD |
26359 | </constructor> |
26360 | <method name="GetFilenames" type="wxArrayString" overloaded="no"> | |
781d2982 | 26361 | <autodoc>GetFilenames(self) -> [names]</autodoc> |
ce6878e6 | 26362 | <docstring>Returns a list of file names.</docstring> |
f32fc4bc | 26363 | </method> |
c2dda882 | 26364 | <method name="AddFile" type="" overloaded="no"> |
781d2982 RD |
26365 | <autodoc>AddFile(self, String filename)</autodoc> |
26366 | <docstring>Adds a file to the list of files represented by this data object.</docstring> | |
c2dda882 RD |
26367 | <paramlist> |
26368 | <param name="filename" type="String" default=""/> | |
26369 | </paramlist> | |
26370 | </method> | |
f32fc4bc | 26371 | </class> |
781d2982 RD |
26372 | <class name="CustomDataObject" oldname="wxCustomDataObject" module="_misc"> |
26373 | <docstring>wx.CustomDataObject is a specialization of `wx.DataObjectSimple` for | |
26374 | some application-specific data in arbitrary format. Python strings | |
26375 | are used for getting and setting data, but any picklable object can | |
26376 | easily be transfered via strings. A copy of the data is stored in the | |
26377 | data object.</docstring> | |
f32fc4bc RD |
26378 | <baseclass name="DataObjectSimple"/> |
26379 | <constructor name="CustomDataObject" overloaded="no"> | |
781d2982 RD |
26380 | <autodoc>__init__(self, DataFormat format=FormatInvalid) -> CustomDataObject</autodoc> |
26381 | <docstring>wx.CustomDataObject is a specialization of `wx.DataObjectSimple` for | |
26382 | some application-specific data in arbitrary format. Python strings | |
26383 | are used for getting and setting data, but any picklable object can | |
26384 | easily be transfered via strings. A copy of the data is stored in the | |
26385 | data object.</docstring> | |
f32fc4bc RD |
26386 | <paramlist> |
26387 | <param name="format" type="DataFormat" default="wxFormatInvalid"/> | |
26388 | </paramlist> | |
26389 | </constructor> | |
f32fc4bc | 26390 | <method name="SetData" type="bool" overloaded="no"> |
781d2982 RD |
26391 | <autodoc>SetData(self, String data) -> bool</autodoc> |
26392 | <docstring>Copy the data value to the data object.</docstring> | |
f32fc4bc RD |
26393 | <paramlist> |
26394 | <param name="data" type="PyObject" default=""/> | |
26395 | </paramlist> | |
26396 | </method> | |
26397 | <method name="GetSize" type="size_t" overloaded="no"> | |
781d2982 RD |
26398 | <autodoc>GetSize(self) -> size_t</autodoc> |
26399 | <docstring>Get the size of the data.</docstring> | |
f32fc4bc RD |
26400 | </method> |
26401 | <method name="GetData" type="PyObject" overloaded="no"> | |
781d2982 RD |
26402 | <autodoc>GetData(self) -> String</autodoc> |
26403 | <docstring>Returns the data bytes from the data object as a string.</docstring> | |
f32fc4bc RD |
26404 | </method> |
26405 | </class> | |
781d2982 RD |
26406 | <class name="URLDataObject" oldname="wxURLDataObject" module="_misc"> |
26407 | <docstring>This data object holds a URL in a format that is compatible with some | |
26408 | browsers such that it is able to be dragged to or from them.</docstring> | |
f32fc4bc RD |
26409 | <baseclass name="DataObjectComposite"/> |
26410 | <constructor name="URLDataObject" overloaded="no"> | |
781d2982 RD |
26411 | <autodoc>__init__(self) -> URLDataObject</autodoc> |
26412 | <docstring>This data object holds a URL in a format that is compatible with some | |
26413 | browsers such that it is able to be dragged to or from them.</docstring> | |
f32fc4bc RD |
26414 | </constructor> |
26415 | <method name="GetURL" type="String" overloaded="no"> | |
781d2982 RD |
26416 | <autodoc>GetURL(self) -> String</autodoc> |
26417 | <docstring>Returns a string containing the current URL.</docstring> | |
f32fc4bc RD |
26418 | </method> |
26419 | <method name="SetURL" type="" overloaded="no"> | |
781d2982 RD |
26420 | <autodoc>SetURL(self, String url)</autodoc> |
26421 | <docstring>Set the URL.</docstring> | |
f32fc4bc RD |
26422 | <paramlist> |
26423 | <param name="url" type="String" default=""/> | |
26424 | </paramlist> | |
26425 | </method> | |
26426 | </class> | |
781d2982 | 26427 | <class name="MetafileDataObject" oldname="wxMetafileDataObject" module="_misc"> |
f32fc4bc RD |
26428 | <baseclass name="DataObjectSimple"/> |
26429 | <constructor name="MetafileDataObject" overloaded="no"> | |
781d2982 | 26430 | <autodoc>__init__(self) -> MetafileDataObject</autodoc> |
f32fc4bc RD |
26431 | </constructor> |
26432 | </class> | |
26433 | <pythoncode> | |
26434 | #--------------------------------------------------------------------------- | |
26435 | </pythoncode> | |
26436 | <method name="IsDragResultOk" oldname="wxIsDragResultOk" type="bool" overloaded="no"> | |
26437 | <autodoc>IsDragResultOk(int res) -> bool</autodoc> | |
856bf319 | 26438 | <paramlist> |
f32fc4bc | 26439 | <param name="res" type="wxDragResult" default=""/> |
856bf319 RD |
26440 | </paramlist> |
26441 | </method> | |
781d2982 | 26442 | <class name="DropSource" oldname="wxPyDropSource" module="_misc"> |
f32fc4bc | 26443 | <constructor name="wxPyDropSource" overloaded="no"> |
781d2982 | 26444 | <autodoc>__init__(self, Window win, Icon copy=wxNullIcon, Icon move=wxNullIcon, |
f32fc4bc RD |
26445 | Icon none=wxNullIcon) -> DropSource</autodoc> |
26446 | <paramlist> | |
26447 | <param name="win" type="Window" default=""/> | |
26448 | <param name="copy" type="Icon" default="wxNullIcon"/> | |
26449 | <param name="move" type="Icon" default="wxNullIcon"/> | |
26450 | <param name="none" type="Icon" default="wxNullIcon"/> | |
26451 | </paramlist> | |
26452 | </constructor> | |
26453 | <destructor name="~wxPyDropSource" overloaded="no"> | |
781d2982 | 26454 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
26455 | </destructor> |
26456 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 26457 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class, int incref)</autodoc> |
f32fc4bc RD |
26458 | <paramlist> |
26459 | <param name="self" type="PyObject" default=""/> | |
26460 | <param name="_class" type="PyObject" default=""/> | |
26461 | <param name="incref" type="int" default=""/> | |
26462 | </paramlist> | |
26463 | </method> | |
26464 | <method name="SetData" type="" overloaded="no"> | |
781d2982 | 26465 | <autodoc>SetData(self, DataObject data)</autodoc> |
f32fc4bc RD |
26466 | <paramlist> |
26467 | <param name="data" type="DataObject" default=""/> | |
26468 | </paramlist> | |
26469 | </method> | |
26470 | <method name="GetDataObject" type="DataObject" overloaded="no"> | |
781d2982 | 26471 | <autodoc>GetDataObject(self) -> DataObject</autodoc> |
f32fc4bc RD |
26472 | </method> |
26473 | <method name="SetCursor" type="" overloaded="no"> | |
781d2982 | 26474 | <autodoc>SetCursor(self, int res, Cursor cursor)</autodoc> |
f32fc4bc RD |
26475 | <paramlist> |
26476 | <param name="res" type="wxDragResult" default=""/> | |
26477 | <param name="cursor" type="Cursor" default=""/> | |
26478 | </paramlist> | |
26479 | </method> | |
26480 | <method name="DoDragDrop" type="wxDragResult" overloaded="no"> | |
781d2982 | 26481 | <autodoc>DoDragDrop(self, int flags=Drag_CopyOnly) -> int</autodoc> |
f32fc4bc RD |
26482 | <paramlist> |
26483 | <param name="flags" type="int" default="wxDrag_CopyOnly"/> | |
26484 | </paramlist> | |
26485 | </method> | |
26486 | <method name="base_GiveFeedback" type="bool" overloaded="no"> | |
781d2982 | 26487 | <autodoc>base_GiveFeedback(self, int effect) -> bool</autodoc> |
f32fc4bc RD |
26488 | <paramlist> |
26489 | <param name="effect" type="wxDragResult" default=""/> | |
26490 | </paramlist> | |
26491 | </method> | |
26492 | </class> | |
781d2982 | 26493 | <class name="DropTarget" oldname="wxPyDropTarget" module="_misc"> |
c2dda882 | 26494 | <constructor name="DropTarget" overloaded="no"> |
781d2982 | 26495 | <autodoc>__init__(self, DataObject dataObject=None) -> DropTarget</autodoc> |
f32fc4bc RD |
26496 | <paramlist> |
26497 | <param name="dataObject" type="DataObject" default="NULL"/> | |
26498 | </paramlist> | |
26499 | </constructor> | |
26500 | <destructor name="~wxPyDropTarget" overloaded="no"> | |
781d2982 | 26501 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
26502 | </destructor> |
26503 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 26504 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
26505 | <paramlist> |
26506 | <param name="self" type="PyObject" default=""/> | |
26507 | <param name="_class" type="PyObject" default=""/> | |
26508 | </paramlist> | |
26509 | </method> | |
26510 | <method name="GetDataObject" type="DataObject" overloaded="no"> | |
781d2982 | 26511 | <autodoc>GetDataObject(self) -> DataObject</autodoc> |
f32fc4bc RD |
26512 | </method> |
26513 | <method name="SetDataObject" type="" overloaded="no"> | |
781d2982 | 26514 | <autodoc>SetDataObject(self, DataObject dataObject)</autodoc> |
f32fc4bc RD |
26515 | <paramlist> |
26516 | <param name="dataObject" type="DataObject" default=""/> | |
26517 | </paramlist> | |
26518 | </method> | |
26519 | <method name="base_OnEnter" type="wxDragResult" overloaded="no"> | |
781d2982 | 26520 | <autodoc>base_OnEnter(self, int x, int y, int def) -> int</autodoc> |
f32fc4bc RD |
26521 | <paramlist> |
26522 | <param name="x" type="int" default=""/> | |
26523 | <param name="y" type="int" default=""/> | |
26524 | <param name="def" type="wxDragResult" default=""/> | |
26525 | </paramlist> | |
26526 | </method> | |
26527 | <method name="base_OnDragOver" type="wxDragResult" overloaded="no"> | |
781d2982 | 26528 | <autodoc>base_OnDragOver(self, int x, int y, int def) -> int</autodoc> |
f32fc4bc RD |
26529 | <paramlist> |
26530 | <param name="x" type="int" default=""/> | |
26531 | <param name="y" type="int" default=""/> | |
26532 | <param name="def" type="wxDragResult" default=""/> | |
26533 | </paramlist> | |
26534 | </method> | |
26535 | <method name="base_OnLeave" type="" overloaded="no"> | |
781d2982 | 26536 | <autodoc>base_OnLeave(self)</autodoc> |
f32fc4bc RD |
26537 | </method> |
26538 | <method name="base_OnDrop" type="bool" overloaded="no"> | |
781d2982 | 26539 | <autodoc>base_OnDrop(self, int x, int y) -> bool</autodoc> |
f32fc4bc RD |
26540 | <paramlist> |
26541 | <param name="x" type="int" default=""/> | |
26542 | <param name="y" type="int" default=""/> | |
26543 | </paramlist> | |
26544 | </method> | |
26545 | <method name="GetData" type="bool" overloaded="no"> | |
781d2982 | 26546 | <autodoc>GetData(self) -> bool</autodoc> |
f32fc4bc RD |
26547 | </method> |
26548 | </class> | |
26549 | <pythoncode> PyDropTarget = DropTarget </pythoncode> | |
781d2982 | 26550 | <class name="TextDropTarget" oldname="wxPyTextDropTarget" module="_misc"> |
f32fc4bc RD |
26551 | <baseclass name="DropTarget"/> |
26552 | <constructor name="wxPyTextDropTarget" overloaded="no"> | |
781d2982 | 26553 | <autodoc>__init__(self) -> TextDropTarget</autodoc> |
f32fc4bc RD |
26554 | </constructor> |
26555 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 26556 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
26557 | <paramlist> |
26558 | <param name="self" type="PyObject" default=""/> | |
26559 | <param name="_class" type="PyObject" default=""/> | |
26560 | </paramlist> | |
26561 | </method> | |
26562 | <method name="base_OnEnter" type="wxDragResult" overloaded="no"> | |
781d2982 | 26563 | <autodoc>base_OnEnter(self, int x, int y, int def) -> int</autodoc> |
f32fc4bc RD |
26564 | <paramlist> |
26565 | <param name="x" type="int" default=""/> | |
26566 | <param name="y" type="int" default=""/> | |
26567 | <param name="def" type="wxDragResult" default=""/> | |
26568 | </paramlist> | |
26569 | </method> | |
26570 | <method name="base_OnDragOver" type="wxDragResult" overloaded="no"> | |
781d2982 | 26571 | <autodoc>base_OnDragOver(self, int x, int y, int def) -> int</autodoc> |
f32fc4bc RD |
26572 | <paramlist> |
26573 | <param name="x" type="int" default=""/> | |
26574 | <param name="y" type="int" default=""/> | |
26575 | <param name="def" type="wxDragResult" default=""/> | |
26576 | </paramlist> | |
26577 | </method> | |
26578 | <method name="base_OnLeave" type="" overloaded="no"> | |
781d2982 | 26579 | <autodoc>base_OnLeave(self)</autodoc> |
f32fc4bc RD |
26580 | </method> |
26581 | <method name="base_OnDrop" type="bool" overloaded="no"> | |
781d2982 | 26582 | <autodoc>base_OnDrop(self, int x, int y) -> bool</autodoc> |
f32fc4bc RD |
26583 | <paramlist> |
26584 | <param name="x" type="int" default=""/> | |
26585 | <param name="y" type="int" default=""/> | |
26586 | </paramlist> | |
26587 | </method> | |
26588 | <method name="base_OnData" type="wxDragResult" overloaded="no"> | |
781d2982 | 26589 | <autodoc>base_OnData(self, int x, int y, int def) -> int</autodoc> |
f32fc4bc RD |
26590 | <paramlist> |
26591 | <param name="x" type="int" default=""/> | |
26592 | <param name="y" type="int" default=""/> | |
26593 | <param name="def" type="wxDragResult" default=""/> | |
26594 | </paramlist> | |
26595 | </method> | |
26596 | </class> | |
781d2982 | 26597 | <class name="FileDropTarget" oldname="wxPyFileDropTarget" module="_misc"> |
f32fc4bc RD |
26598 | <baseclass name="DropTarget"/> |
26599 | <constructor name="wxPyFileDropTarget" overloaded="no"> | |
781d2982 | 26600 | <autodoc>__init__(self) -> FileDropTarget</autodoc> |
f32fc4bc RD |
26601 | </constructor> |
26602 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 26603 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
26604 | <paramlist> |
26605 | <param name="self" type="PyObject" default=""/> | |
26606 | <param name="_class" type="PyObject" default=""/> | |
26607 | </paramlist> | |
26608 | </method> | |
26609 | <method name="base_OnEnter" type="wxDragResult" overloaded="no"> | |
781d2982 | 26610 | <autodoc>base_OnEnter(self, int x, int y, int def) -> int</autodoc> |
f32fc4bc RD |
26611 | <paramlist> |
26612 | <param name="x" type="int" default=""/> | |
26613 | <param name="y" type="int" default=""/> | |
26614 | <param name="def" type="wxDragResult" default=""/> | |
26615 | </paramlist> | |
26616 | </method> | |
26617 | <method name="base_OnDragOver" type="wxDragResult" overloaded="no"> | |
781d2982 | 26618 | <autodoc>base_OnDragOver(self, int x, int y, int def) -> int</autodoc> |
f32fc4bc RD |
26619 | <paramlist> |
26620 | <param name="x" type="int" default=""/> | |
26621 | <param name="y" type="int" default=""/> | |
26622 | <param name="def" type="wxDragResult" default=""/> | |
26623 | </paramlist> | |
26624 | </method> | |
26625 | <method name="base_OnLeave" type="" overloaded="no"> | |
781d2982 | 26626 | <autodoc>base_OnLeave(self)</autodoc> |
f32fc4bc RD |
26627 | </method> |
26628 | <method name="base_OnDrop" type="bool" overloaded="no"> | |
781d2982 | 26629 | <autodoc>base_OnDrop(self, int x, int y) -> bool</autodoc> |
f32fc4bc RD |
26630 | <paramlist> |
26631 | <param name="x" type="int" default=""/> | |
26632 | <param name="y" type="int" default=""/> | |
26633 | </paramlist> | |
26634 | </method> | |
26635 | <method name="base_OnData" type="wxDragResult" overloaded="no"> | |
781d2982 | 26636 | <autodoc>base_OnData(self, int x, int y, int def) -> int</autodoc> |
f32fc4bc RD |
26637 | <paramlist> |
26638 | <param name="x" type="int" default=""/> | |
26639 | <param name="y" type="int" default=""/> | |
26640 | <param name="def" type="wxDragResult" default=""/> | |
26641 | </paramlist> | |
26642 | </method> | |
26643 | </class> | |
0dd25e81 | 26644 | <pythoncode> |
f32fc4bc RD |
26645 | #--------------------------------------------------------------------------- |
26646 | </pythoncode> | |
781d2982 RD |
26647 | <class name="Clipboard" oldname="wxClipboard" module="_misc"> |
26648 | <docstring>wx.Clipboard represents the system clipboard and provides methods to | |
26649 | copy data to it or paste data from it. Normally, you should only use | |
26650 | ``wx.TheClipboard`` which is a reference to a global wx.Clipboard | |
26651 | instance. | |
26652 | ||
26653 | Call ``wx.TheClipboard``'s `Open` method to get ownership of the | |
26654 | clipboard. If this operation returns True, you now own the | |
26655 | clipboard. Call `SetData` to put data on the clipboard, or `GetData` | |
26656 | to retrieve data from the clipboard. Call `Close` to close the | |
26657 | clipboard and relinquish ownership. You should keep the clipboard open | |
26658 | only momentarily. | |
26659 | ||
26660 | :see: `wx.DataObject` | |
c2dda882 | 26661 | </docstring> |
f32fc4bc RD |
26662 | <baseclass name="Object"/> |
26663 | <constructor name="Clipboard" overloaded="no"> | |
781d2982 | 26664 | <autodoc>__init__(self) -> Clipboard</autodoc> |
f32fc4bc RD |
26665 | </constructor> |
26666 | <destructor name="~wxClipboard" overloaded="no"> | |
781d2982 | 26667 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
26668 | </destructor> |
26669 | <method name="Open" type="bool" overloaded="no"> | |
781d2982 RD |
26670 | <autodoc>Open(self) -> bool</autodoc> |
26671 | <docstring>Call this function to open the clipboard before calling SetData and | |
26672 | GetData. Call Close when you have finished with the clipboard. You | |
26673 | should keep the clipboard open for only a very short time. Returns | |
26674 | True on success.</docstring> | |
f32fc4bc RD |
26675 | </method> |
26676 | <method name="Close" type="" overloaded="no"> | |
781d2982 | 26677 | <autodoc>Close(self)</autodoc> |
c2dda882 | 26678 | <docstring>Closes the clipboard.</docstring> |
f32fc4bc RD |
26679 | </method> |
26680 | <method name="IsOpened" type="bool" overloaded="no"> | |
781d2982 | 26681 | <autodoc>IsOpened(self) -> bool</autodoc> |
c2dda882 | 26682 | <docstring>Query whether the clipboard is opened</docstring> |
f32fc4bc RD |
26683 | </method> |
26684 | <method name="AddData" type="bool" overloaded="no"> | |
781d2982 RD |
26685 | <autodoc>AddData(self, DataObject data) -> bool</autodoc> |
26686 | <docstring>Call this function to add the data object to the clipboard. You may | |
26687 | call this function repeatedly after having cleared the clipboard. | |
c2dda882 | 26688 | After this function has been called, the clipboard owns the data, so |
781d2982 RD |
26689 | do not delete the data explicitly. |
26690 | ||
26691 | :see: `wx.DataObject`</docstring> | |
f32fc4bc RD |
26692 | <paramlist> |
26693 | <param name="data" type="DataObject" default=""/> | |
26694 | </paramlist> | |
26695 | </method> | |
26696 | <method name="SetData" type="bool" overloaded="no"> | |
781d2982 RD |
26697 | <autodoc>SetData(self, DataObject data) -> bool</autodoc> |
26698 | <docstring>Set the clipboard data, this is the same as `Clear` followed by | |
26699 | `AddData`. | |
26700 | ||
26701 | :see: `wx.DataObject`</docstring> | |
f32fc4bc RD |
26702 | <paramlist> |
26703 | <param name="data" type="DataObject" default=""/> | |
26704 | </paramlist> | |
26705 | </method> | |
26706 | <method name="IsSupported" type="bool" overloaded="no"> | |
781d2982 | 26707 | <autodoc>IsSupported(self, DataFormat format) -> bool</autodoc> |
c2dda882 RD |
26708 | <docstring>Returns True if the given format is available in the data object(s) on |
26709 | the clipboard.</docstring> | |
f32fc4bc RD |
26710 | <paramlist> |
26711 | <param name="format" type="DataFormat" default=""/> | |
26712 | </paramlist> | |
26713 | </method> | |
26714 | <method name="GetData" type="bool" overloaded="no"> | |
781d2982 RD |
26715 | <autodoc>GetData(self, DataObject data) -> bool</autodoc> |
26716 | <docstring>Call this function to fill data with data on the clipboard, if | |
26717 | available in the required format. Returns true on success.</docstring> | |
f32fc4bc RD |
26718 | <paramlist> |
26719 | <param name="data" type="DataObject" default=""/> | |
26720 | </paramlist> | |
26721 | </method> | |
26722 | <method name="Clear" type="" overloaded="no"> | |
781d2982 RD |
26723 | <autodoc>Clear(self)</autodoc> |
26724 | <docstring>Clears data from the clipboard object and also the system's clipboard | |
c2dda882 | 26725 | if possible.</docstring> |
f32fc4bc RD |
26726 | </method> |
26727 | <method name="Flush" type="bool" overloaded="no"> | |
781d2982 | 26728 | <autodoc>Flush(self) -> bool</autodoc> |
c2dda882 | 26729 | <docstring>Flushes the clipboard: this means that the data which is currently on |
781d2982 RD |
26730 | clipboard will stay available even after the application exits, |
26731 | possibly eating memory, otherwise the clipboard will be emptied on | |
26732 | exit. Returns False if the operation is unsuccesful for any reason.</docstring> | |
f32fc4bc RD |
26733 | </method> |
26734 | <method name="UsePrimarySelection" type="" overloaded="no"> | |
781d2982 RD |
26735 | <autodoc>UsePrimarySelection(self, bool primary=True)</autodoc> |
26736 | <docstring>On platforms supporting it (the X11 based platforms), selects the | |
26737 | so called PRIMARY SELECTION as the clipboard as opposed to the | |
26738 | normal clipboard, if primary is True.</docstring> | |
f32fc4bc | 26739 | <paramlist> |
c2dda882 | 26740 | <param name="primary" type="bool" default="True"/> |
f32fc4bc RD |
26741 | </paramlist> |
26742 | </method> | |
ce6878e6 RD |
26743 | <staticmethod name="Get" type="Clipboard" overloaded="no"> |
26744 | <autodoc>Get() -> Clipboard</autodoc> | |
26745 | <docstring>Returns global instance (wxTheClipboard) of the object.</docstring> | |
26746 | </staticmethod> | |
f32fc4bc | 26747 | </class> |
ce6878e6 RD |
26748 | <pythoncode> |
26749 | class _wxPyDelayedInitWrapper(object): | |
26750 | def __init__(self, initfunc, *args, **kwargs): | |
26751 | self._initfunc = initfunc | |
26752 | self._args = args | |
26753 | self._kwargs = kwargs | |
26754 | self._instance = None | |
26755 | def _checkInstance(self): | |
26756 | if self._instance is None: | |
26757 | self._instance = self._initfunc(*self._args, **self._kwargs) | |
26758 | def __getattr__(self, name): | |
26759 | self._checkInstance() | |
26760 | return getattr(self._instance, name) | |
26761 | def __repr__(self): | |
26762 | self._checkInstance() | |
26763 | return repr(self._instance) | |
26764 | TheClipboard = _wxPyDelayedInitWrapper(Clipboard.Get) | |
26765 | </pythoncode> | |
781d2982 RD |
26766 | <class name="ClipboardLocker" oldname="wxClipboardLocker" module="_misc"> |
26767 | <docstring>A helpful class for opening the clipboard and automatically | |
26768 | closing it when the locker is destroyed.</docstring> | |
f32fc4bc | 26769 | <constructor name="ClipboardLocker" overloaded="no"> |
781d2982 RD |
26770 | <autodoc>__init__(self, Clipboard clipboard=None) -> ClipboardLocker</autodoc> |
26771 | <docstring>A helpful class for opening the clipboard and automatically | |
26772 | closing it when the locker is destroyed.</docstring> | |
f32fc4bc RD |
26773 | <paramlist> |
26774 | <param name="clipboard" type="Clipboard" default="NULL"/> | |
26775 | </paramlist> | |
26776 | </constructor> | |
26777 | <destructor name="~wxClipboardLocker" overloaded="no"> | |
781d2982 | 26778 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
26779 | </destructor> |
26780 | <method name="__nonzero__" type="bool" overloaded="no"> | |
781d2982 | 26781 | <autodoc>__nonzero__(self) -> bool</autodoc> |
c2dda882 RD |
26782 | <docstring>A ClipboardLocker instance evaluates to True if the clipboard was |
26783 | successfully opened.</docstring> | |
f32fc4bc RD |
26784 | </method> |
26785 | </class> | |
b39e211b RD |
26786 | <pythoncode> |
26787 | #--------------------------------------------------------------------------- | |
26788 | </pythoncode> | |
781d2982 | 26789 | <class name="VideoMode" oldname="wxVideoMode" module="_misc"> |
b39e211b RD |
26790 | <docstring>A simple struct containing video mode parameters for a display</docstring> |
26791 | <constructor name="VideoMode" overloaded="no"> | |
781d2982 | 26792 | <autodoc>__init__(self, int width=0, int height=0, int depth=0, int freq=0) -> VideoMode</autodoc> |
b39e211b RD |
26793 | <docstring>A simple struct containing video mode parameters for a display</docstring> |
26794 | <paramlist> | |
26795 | <param name="width" type="int" default="0"/> | |
26796 | <param name="height" type="int" default="0"/> | |
26797 | <param name="depth" type="int" default="0"/> | |
26798 | <param name="freq" type="int" default="0"/> | |
26799 | </paramlist> | |
26800 | </constructor> | |
26801 | <destructor name="~wxVideoMode" overloaded="no"> | |
781d2982 | 26802 | <autodoc>__del__(self)</autodoc> |
b39e211b RD |
26803 | </destructor> |
26804 | <method name="Matches" type="bool" overloaded="no"> | |
781d2982 RD |
26805 | <autodoc>Matches(self, VideoMode other) -> bool</autodoc> |
26806 | <docstring>Returns true if this mode matches the other one in the sense that all | |
26807 | non zero fields of the other mode have the same value in this | |
b39e211b RD |
26808 | one (except for refresh which is allowed to have a greater value)</docstring> |
26809 | <paramlist> | |
26810 | <param name="other" type="VideoMode" default=""/> | |
26811 | </paramlist> | |
26812 | </method> | |
26813 | <method name="GetWidth" type="int" overloaded="no"> | |
781d2982 RD |
26814 | <autodoc>GetWidth(self) -> int</autodoc> |
26815 | <docstring>Returns the screen width in pixels (e.g. 640*480), 0 means unspecified</docstring> | |
b39e211b RD |
26816 | </method> |
26817 | <method name="GetHeight" type="int" overloaded="no"> | |
781d2982 | 26818 | <autodoc>GetHeight(self) -> int</autodoc> |
b39e211b RD |
26819 | <docstring>Returns the screen width in pixels (e.g. 640*480), 0 means |
26820 | unspecified</docstring> | |
26821 | </method> | |
26822 | <method name="GetDepth" type="int" overloaded="no"> | |
781d2982 RD |
26823 | <autodoc>GetDepth(self) -> int</autodoc> |
26824 | <docstring>Returns the screen's bits per pixel (e.g. 32), 1 is monochrome and 0 | |
26825 | means unspecified/known</docstring> | |
b39e211b RD |
26826 | </method> |
26827 | <method name="IsOk" type="bool" overloaded="no"> | |
781d2982 | 26828 | <autodoc>IsOk(self) -> bool</autodoc> |
b39e211b RD |
26829 | <docstring>returns true if the object has been initialized</docstring> |
26830 | </method> | |
26831 | <method name="__eq__" type="bool" overloaded="no"> | |
781d2982 | 26832 | <autodoc>__eq__(self, VideoMode other) -> bool</autodoc> |
b39e211b RD |
26833 | <paramlist> |
26834 | <param name="other" type="VideoMode" default=""/> | |
26835 | </paramlist> | |
26836 | </method> | |
26837 | <method name="__ne__" type="bool" overloaded="no"> | |
781d2982 | 26838 | <autodoc>__ne__(self, VideoMode other) -> bool</autodoc> |
b39e211b RD |
26839 | <paramlist> |
26840 | <param name="other" type="VideoMode" default=""/> | |
26841 | </paramlist> | |
26842 | </method> | |
26843 | <property name="w" type="int" readonly="no"/> | |
26844 | <property name="h" type="int" readonly="no"/> | |
26845 | <property name="bpp" type="int" readonly="no"/> | |
26846 | <property name="refresh" type="int" readonly="no"/> | |
26847 | </class> | |
781d2982 | 26848 | <class name="Display" oldname="wxDisplay" module="_misc"> |
b39e211b RD |
26849 | <docstring>Represents a display/monitor attached to the system</docstring> |
26850 | <constructor name="Display" overloaded="no"> | |
781d2982 RD |
26851 | <autodoc>__init__(self, size_t index=0) -> Display</autodoc> |
26852 | <docstring>Set up a Display instance with the specified display. The displays | |
26853 | are numbered from 0 to GetCount() - 1, 0 is always the primary display | |
26854 | and the only one which is always supported</docstring> | |
b39e211b RD |
26855 | <paramlist> |
26856 | <param name="index" type="size_t" default="0"/> | |
26857 | </paramlist> | |
26858 | </constructor> | |
26859 | <destructor name="~wxDisplay" overloaded="no"> | |
781d2982 | 26860 | <autodoc>__del__(self)</autodoc> |
b39e211b RD |
26861 | </destructor> |
26862 | <staticmethod name="GetCount" type="size_t" overloaded="no"> | |
26863 | <autodoc>GetCount() -> size_t</autodoc> | |
26864 | <docstring>Return the number of available displays.</docstring> | |
26865 | </staticmethod> | |
26866 | <staticmethod name="GetFromPoint" type="int" overloaded="no"> | |
26867 | <autodoc>GetFromPoint(Point pt) -> int</autodoc> | |
781d2982 RD |
26868 | <docstring>Find the display where the given point lies, return wx.NOT_FOUND if it |
26869 | doesn't belong to any display</docstring> | |
b39e211b RD |
26870 | <paramlist> |
26871 | <param name="pt" type="Point" default=""/> | |
26872 | </paramlist> | |
26873 | </staticmethod> | |
26874 | <staticmethod name="GetFromWindow" type="int" overloaded="no"> | |
26875 | <autodoc>GetFromWindow(Window window) -> int</autodoc> | |
781d2982 RD |
26876 | <docstring>Find the display where the given window lies, return wx.NOT_FOUND if |
26877 | it is not shown at all.</docstring> | |
b39e211b RD |
26878 | <paramlist> |
26879 | <param name="window" type="Window" default=""/> | |
26880 | </paramlist> | |
26881 | </staticmethod> | |
26882 | <method name="IsOk" type="bool" overloaded="no"> | |
781d2982 | 26883 | <autodoc>IsOk(self) -> bool</autodoc> |
b39e211b RD |
26884 | <docstring>Return true if the object was initialized successfully</docstring> |
26885 | </method> | |
26886 | <method name="GetGeometry" type="Rect" overloaded="no"> | |
781d2982 RD |
26887 | <autodoc>GetGeometry(self) -> Rect</autodoc> |
26888 | <docstring>Returns the bounding rectangle of the display whose index was passed | |
26889 | to the constructor.</docstring> | |
b39e211b RD |
26890 | </method> |
26891 | <method name="GetName" type="String" overloaded="no"> | |
781d2982 | 26892 | <autodoc>GetName(self) -> String</autodoc> |
b39e211b RD |
26893 | <docstring>Returns the display's name. A name is not available on all platforms.</docstring> |
26894 | </method> | |
26895 | <method name="IsPrimary" type="bool" overloaded="no"> | |
781d2982 | 26896 | <autodoc>IsPrimary(self) -> bool</autodoc> |
b39e211b RD |
26897 | <docstring>Returns true if the display is the primary display. The primary |
26898 | display is the one whose index is 0.</docstring> | |
26899 | </method> | |
26900 | <method name="GetModes" type="PyObject" overloaded="no"> | |
26901 | <autodoc>GetModes(VideoMode mode=DefaultVideoMode) -> [videoMode...]</autodoc> | |
781d2982 RD |
26902 | <docstring>Enumerate all video modes supported by this display matching the given |
26903 | one (in the sense of VideoMode.Match()). | |
b39e211b | 26904 | |
781d2982 RD |
26905 | As any mode matches the default value of the argument and there is |
26906 | always at least one video mode supported by display, the returned | |
26907 | array is only empty for the default value of the argument if this | |
26908 | function is not supported at all on this platform.</docstring> | |
b39e211b RD |
26909 | <paramlist> |
26910 | <param name="mode" type="VideoMode" default="wxDefaultVideoMode"/> | |
26911 | </paramlist> | |
26912 | </method> | |
26913 | <method name="GetCurrentMode" type="VideoMode" overloaded="no"> | |
781d2982 | 26914 | <autodoc>GetCurrentMode(self) -> VideoMode</autodoc> |
b39e211b RD |
26915 | <docstring>Get the current video mode.</docstring> |
26916 | </method> | |
26917 | <method name="ChangeMode" type="bool" overloaded="no"> | |
781d2982 | 26918 | <autodoc>ChangeMode(self, VideoMode mode=DefaultVideoMode) -> bool</autodoc> |
ce6878e6 RD |
26919 | <docstring>Changes the video mode of this display to the mode specified in the |
26920 | mode parameter. | |
26921 | ||
26922 | If wx.DefaultVideoMode is passed in as the mode parameter, the defined | |
26923 | behaviour is that wx.Display will reset the video mode to the default | |
26924 | mode used by the display. On Windows, the behavior is normal. | |
26925 | However, there are differences on other platforms. On Unix variations | |
26926 | using X11 extensions it should behave as defined, but some | |
26927 | irregularities may occur. | |
26928 | ||
26929 | On wxMac passing in wx.DefaultVideoMode as the mode parameter does | |
26930 | nothing. This happens because Carbon no longer has access to | |
26931 | DMUseScreenPrefs, an undocumented function that changed the video mode | |
26932 | to the system default by using the system's 'scrn' resource. | |
26933 | ||
26934 | Returns True if succeeded, False otherwise</docstring> | |
b39e211b RD |
26935 | <paramlist> |
26936 | <param name="mode" type="VideoMode" default="wxDefaultVideoMode"/> | |
26937 | </paramlist> | |
26938 | </method> | |
26939 | <method name="ResetMode" type="" overloaded="no"> | |
781d2982 | 26940 | <autodoc>ResetMode(self)</autodoc> |
b39e211b RD |
26941 | <docstring>Restore the default video mode (just a more readable synonym)</docstring> |
26942 | </method> | |
26943 | </class> | |
f32fc4bc RD |
26944 | </module> |
26945 | <module name="calendar"> | |
781d2982 RD |
26946 | <import name="_misc"/> |
26947 | <pythoncode> wx = _core </pythoncode> | |
26948 | <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode> | |
f32fc4bc | 26949 | <class name="CalendarDateAttr" oldname="wxCalendarDateAttr" module="calendar"> |
781d2982 RD |
26950 | <docstring>A set of customization attributes for a calendar date, which can be |
26951 | used to control the look of the Calendar object.</docstring> | |
f32fc4bc | 26952 | <constructor name="CalendarDateAttr" overloaded="no"> |
781d2982 | 26953 | <autodoc>__init__(self, Colour colText=wxNullColour, Colour colBack=wxNullColour, |
f32fc4bc RD |
26954 | Colour colBorder=wxNullColour, Font font=wxNullFont, |
26955 | int border=CAL_BORDER_NONE) -> CalendarDateAttr</autodoc> | |
26956 | <docstring>Create a CalendarDateAttr.</docstring> | |
26957 | <paramlist> | |
26958 | <param name="colText" type="Colour" default="wxNullColour"/> | |
26959 | <param name="colBack" type="Colour" default="wxNullColour"/> | |
26960 | <param name="colBorder" type="Colour" default="wxNullColour"/> | |
26961 | <param name="font" type="Font" default="wxNullFont"/> | |
26962 | <param name="border" type="wxCalendarDateBorder" default="wxCAL_BORDER_NONE"/> | |
26963 | </paramlist> | |
26964 | </constructor> | |
26965 | <method name="SetTextColour" type="" overloaded="no"> | |
781d2982 | 26966 | <autodoc>SetTextColour(self, Colour colText)</autodoc> |
f32fc4bc RD |
26967 | <paramlist> |
26968 | <param name="colText" type="Colour" default=""/> | |
26969 | </paramlist> | |
26970 | </method> | |
26971 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
781d2982 | 26972 | <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc> |
f32fc4bc RD |
26973 | <paramlist> |
26974 | <param name="colBack" type="Colour" default=""/> | |
26975 | </paramlist> | |
26976 | </method> | |
26977 | <method name="SetBorderColour" type="" overloaded="no"> | |
781d2982 | 26978 | <autodoc>SetBorderColour(self, Colour col)</autodoc> |
f32fc4bc RD |
26979 | <paramlist> |
26980 | <param name="col" type="Colour" default=""/> | |
26981 | </paramlist> | |
26982 | </method> | |
26983 | <method name="SetFont" type="" overloaded="no"> | |
781d2982 | 26984 | <autodoc>SetFont(self, Font font)</autodoc> |
f32fc4bc RD |
26985 | <paramlist> |
26986 | <param name="font" type="Font" default=""/> | |
26987 | </paramlist> | |
26988 | </method> | |
26989 | <method name="SetBorder" type="" overloaded="no"> | |
781d2982 | 26990 | <autodoc>SetBorder(self, int border)</autodoc> |
f32fc4bc RD |
26991 | <paramlist> |
26992 | <param name="border" type="wxCalendarDateBorder" default=""/> | |
26993 | </paramlist> | |
26994 | </method> | |
26995 | <method name="SetHoliday" type="" overloaded="no"> | |
781d2982 | 26996 | <autodoc>SetHoliday(self, bool holiday)</autodoc> |
f32fc4bc RD |
26997 | <paramlist> |
26998 | <param name="holiday" type="bool" default=""/> | |
26999 | </paramlist> | |
27000 | </method> | |
27001 | <method name="HasTextColour" type="bool" overloaded="no"> | |
781d2982 | 27002 | <autodoc>HasTextColour(self) -> bool</autodoc> |
f32fc4bc RD |
27003 | </method> |
27004 | <method name="HasBackgroundColour" type="bool" overloaded="no"> | |
781d2982 | 27005 | <autodoc>HasBackgroundColour(self) -> bool</autodoc> |
f32fc4bc RD |
27006 | </method> |
27007 | <method name="HasBorderColour" type="bool" overloaded="no"> | |
781d2982 | 27008 | <autodoc>HasBorderColour(self) -> bool</autodoc> |
f32fc4bc RD |
27009 | </method> |
27010 | <method name="HasFont" type="bool" overloaded="no"> | |
781d2982 | 27011 | <autodoc>HasFont(self) -> bool</autodoc> |
f32fc4bc RD |
27012 | </method> |
27013 | <method name="HasBorder" type="bool" overloaded="no"> | |
781d2982 | 27014 | <autodoc>HasBorder(self) -> bool</autodoc> |
f32fc4bc RD |
27015 | </method> |
27016 | <method name="IsHoliday" type="bool" overloaded="no"> | |
781d2982 | 27017 | <autodoc>IsHoliday(self) -> bool</autodoc> |
f32fc4bc RD |
27018 | </method> |
27019 | <method name="GetTextColour" type="Colour" overloaded="no"> | |
781d2982 | 27020 | <autodoc>GetTextColour(self) -> Colour</autodoc> |
f32fc4bc RD |
27021 | </method> |
27022 | <method name="GetBackgroundColour" type="Colour" overloaded="no"> | |
781d2982 | 27023 | <autodoc>GetBackgroundColour(self) -> Colour</autodoc> |
f32fc4bc RD |
27024 | </method> |
27025 | <method name="GetBorderColour" type="Colour" overloaded="no"> | |
781d2982 | 27026 | <autodoc>GetBorderColour(self) -> Colour</autodoc> |
f32fc4bc RD |
27027 | </method> |
27028 | <method name="GetFont" type="Font" overloaded="no"> | |
781d2982 | 27029 | <autodoc>GetFont(self) -> Font</autodoc> |
f32fc4bc RD |
27030 | </method> |
27031 | <method name="GetBorder" type="wxCalendarDateBorder" overloaded="no"> | |
781d2982 | 27032 | <autodoc>GetBorder(self) -> int</autodoc> |
f32fc4bc RD |
27033 | </method> |
27034 | </class> | |
27035 | <class name="CalendarEvent" oldname="wxCalendarEvent" module="calendar"> | |
27036 | <baseclass name="CommandEvent"/> | |
27037 | <constructor name="CalendarEvent" overloaded="no"> | |
781d2982 | 27038 | <autodoc>__init__(self, CalendarCtrl cal, wxEventType type) -> CalendarEvent</autodoc> |
f32fc4bc RD |
27039 | <paramlist> |
27040 | <param name="cal" type="wxCalendarCtrl" default=""/> | |
27041 | <param name="type" type="wxEventType" default=""/> | |
27042 | </paramlist> | |
27043 | </constructor> | |
27044 | <method name="GetDate" type="DateTime" overloaded="no"> | |
781d2982 | 27045 | <autodoc>GetDate(self) -> DateTime</autodoc> |
f32fc4bc RD |
27046 | </method> |
27047 | <method name="SetDate" type="" overloaded="no"> | |
781d2982 | 27048 | <autodoc>SetDate(self, DateTime date)</autodoc> |
f32fc4bc RD |
27049 | <paramlist> |
27050 | <param name="date" type="DateTime" default=""/> | |
27051 | </paramlist> | |
27052 | </method> | |
27053 | <method name="SetWeekDay" type="" overloaded="no"> | |
781d2982 | 27054 | <autodoc>SetWeekDay(self, int wd)</autodoc> |
f32fc4bc RD |
27055 | <paramlist> |
27056 | <param name="wd" type="wxDateTime::WeekDay" default=""/> | |
27057 | </paramlist> | |
27058 | </method> | |
27059 | <method name="GetWeekDay" type="wxDateTime::WeekDay" overloaded="no"> | |
781d2982 | 27060 | <autodoc>GetWeekDay(self) -> int</autodoc> |
f32fc4bc RD |
27061 | </method> |
27062 | </class> | |
27063 | <pythoncode> | |
27064 | EVT_CALENDAR = wx.PyEventBinder( wxEVT_CALENDAR_DOUBLECLICKED, 1) | |
27065 | EVT_CALENDAR_SEL_CHANGED = wx.PyEventBinder( wxEVT_CALENDAR_SEL_CHANGED, 1) | |
27066 | EVT_CALENDAR_DAY = wx.PyEventBinder( wxEVT_CALENDAR_DAY_CHANGED, 1) | |
27067 | EVT_CALENDAR_MONTH = wx.PyEventBinder( wxEVT_CALENDAR_MONTH_CHANGED, 1) | |
27068 | EVT_CALENDAR_YEAR = wx.PyEventBinder( wxEVT_CALENDAR_YEAR_CHANGED, 1) | |
27069 | EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, 1) | |
27070 | </pythoncode> | |
27071 | <class name="CalendarCtrl" oldname="wxCalendarCtrl" module="calendar"> | |
781d2982 RD |
27072 | <docstring>The calendar control allows the user to pick a date interactively. |
27073 | ||
27074 | The CalendarCtrl displays a window containing several parts: the | |
27075 | control to pick the month and the year at the top (either or both of | |
27076 | them may be disabled) and a month area below them which shows all the | |
27077 | days in the month. The user can move the current selection using the | |
27078 | keyboard and select the date (generating EVT_CALENDAR event) by | |
27079 | pressing <Return> or double clicking it. | |
27080 | ||
27081 | It has advanced possibilities for the customization of its | |
27082 | display. All global settings (such as colours and fonts used) can, of | |
27083 | course, be changed. But also, the display style for each day in the | |
27084 | month can be set independently using CalendarDateAttr class. | |
27085 | ||
27086 | An item without custom attributes is drawn with the default colours | |
27087 | and font and without border, but setting custom attributes with | |
27088 | SetAttr allows to modify its appearance. Just create a custom | |
27089 | attribute object and set it for the day you want to be displayed | |
27090 | specially A day may be marked as being a holiday, (even if it is not | |
27091 | recognized as one by wx.DateTime) by using the SetHoliday method. | |
27092 | ||
27093 | As the attributes are specified for each day, they may change when the | |
27094 | month is changed, so you will often want to update them in an | |
ce6878e6 RD |
27095 | EVT_CALENDAR_MONTH event handler. |
27096 | ||
27097 | Window Styles | |
27098 | ------------- | |
27099 | ============================== ============================ | |
27100 | CAL_SUNDAY_FIRST Show Sunday as the first day | |
27101 | in the week | |
27102 | CAL_MONDAY_FIRST Show Monday as the first day | |
27103 | in the week | |
27104 | CAL_SHOW_HOLIDAYS Highlight holidays in the | |
27105 | calendar | |
27106 | CAL_NO_YEAR_CHANGE Disable the year changing | |
27107 | CAL_NO_MONTH_CHANGE Disable the month (and, | |
27108 | implicitly, the year) changing | |
27109 | CAL_SHOW_SURROUNDING_WEEKS Show the neighbouring weeks in | |
27110 | the previous and next months | |
27111 | CAL_SEQUENTIAL_MONTH_SELECTION Use alternative, more compact, | |
27112 | style for the month and year | |
27113 | selection controls. | |
27114 | ============================== ============================ | |
27115 | ||
27116 | The default calendar style is CAL_SHOW_HOLIDAYS. | |
27117 | ||
27118 | Events | |
27119 | ------- | |
27120 | ============================= ============================== | |
27121 | EVT_CALENDAR A day was double clicked in the | |
27122 | calendar. | |
27123 | EVT_CALENDAR_SEL_CHANGED The selected date changed. | |
27124 | EVT_CALENDAR_DAY The selected day changed. | |
27125 | EVT_CALENDAR_MONTH The selected month changed. | |
27126 | EVT_CALENDAR_YEAR The selected year changed. | |
27127 | EVT_CALENDAR_WEEKDAY_CLICKED User clicked on the week day | |
27128 | header | |
27129 | ============================= ============================== | |
27130 | ||
27131 | Note that changing the selected date will result in one of | |
27132 | EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED | |
27133 | event. | |
27134 | ||
27135 | </docstring> | |
f32fc4bc RD |
27136 | <baseclass name="Control"/> |
27137 | <constructor name="CalendarCtrl" overloaded="no"> | |
781d2982 | 27138 | <autodoc>__init__(self, Window parent, int id=-1, DateTime date=DefaultDateTime, |
f32fc4bc RD |
27139 | Point pos=DefaultPosition, Size size=DefaultSize, |
27140 | long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, | |
27141 | String name=CalendarNameStr) -> CalendarCtrl</autodoc> | |
27142 | <docstring>Create and show a calendar control.</docstring> | |
f32fc4bc RD |
27143 | <paramlist> |
27144 | <param name="parent" type="Window" default=""/> | |
781d2982 | 27145 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
27146 | <param name="date" type="DateTime" default="wxDefaultDateTime"/> |
27147 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
27148 | <param name="size" type="Size" default="wxDefaultSize"/> | |
27149 | <param name="style" type="long" default="wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS"/> | |
27150 | <param name="name" type="String" default="wxPyCalendarNameStr"/> | |
27151 | </paramlist> | |
27152 | </constructor> | |
27153 | <constructor name="PreCalendarCtrl" overloaded="no"> | |
27154 | <autodoc>PreCalendarCtrl() -> CalendarCtrl</autodoc> | |
27155 | <docstring>Precreate a CalendarCtrl for 2-phase creation.</docstring> | |
f32fc4bc RD |
27156 | </constructor> |
27157 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 27158 | <autodoc>Create(self, Window parent, int id, DateTime date=DefaultDateTime, |
f32fc4bc RD |
27159 | Point pos=DefaultPosition, Size size=DefaultSize, |
27160 | long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, | |
27161 | String name=CalendarNameStr) -> bool</autodoc> | |
781d2982 RD |
27162 | <docstring>Acutally create the GUI portion of the CalendarCtrl for 2-phase |
27163 | creation.</docstring> | |
f32fc4bc RD |
27164 | <paramlist> |
27165 | <param name="parent" type="Window" default=""/> | |
27166 | <param name="id" type="int" default=""/> | |
27167 | <param name="date" type="DateTime" default="wxDefaultDateTime"/> | |
27168 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
27169 | <param name="size" type="Size" default="wxDefaultSize"/> | |
27170 | <param name="style" type="long" default="wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS"/> | |
27171 | <param name="name" type="String" default="wxPyCalendarNameStr"/> | |
27172 | </paramlist> | |
27173 | </method> | |
27174 | <method name="SetDate" type="" overloaded="no"> | |
781d2982 | 27175 | <autodoc>SetDate(self, DateTime date)</autodoc> |
f32fc4bc RD |
27176 | <docstring>Sets the current date.</docstring> |
27177 | <paramlist> | |
27178 | <param name="date" type="DateTime" default=""/> | |
27179 | </paramlist> | |
27180 | </method> | |
27181 | <method name="GetDate" type="DateTime" overloaded="no"> | |
781d2982 | 27182 | <autodoc>GetDate(self) -> DateTime</autodoc> |
f32fc4bc RD |
27183 | <docstring>Gets the currently selected date.</docstring> |
27184 | </method> | |
27185 | <method name="SetLowerDateLimit" type="bool" overloaded="no"> | |
781d2982 | 27186 | <autodoc>SetLowerDateLimit(self, DateTime date=DefaultDateTime) -> bool</autodoc> |
f32fc4bc RD |
27187 | <docstring>set the range in which selection can occur</docstring> |
27188 | <paramlist> | |
27189 | <param name="date" type="DateTime" default="wxDefaultDateTime"/> | |
27190 | </paramlist> | |
27191 | </method> | |
27192 | <method name="SetUpperDateLimit" type="bool" overloaded="no"> | |
781d2982 | 27193 | <autodoc>SetUpperDateLimit(self, DateTime date=DefaultDateTime) -> bool</autodoc> |
f32fc4bc RD |
27194 | <docstring>set the range in which selection can occur</docstring> |
27195 | <paramlist> | |
27196 | <param name="date" type="DateTime" default="wxDefaultDateTime"/> | |
27197 | </paramlist> | |
27198 | </method> | |
27199 | <method name="GetLowerDateLimit" type="DateTime" overloaded="no"> | |
781d2982 | 27200 | <autodoc>GetLowerDateLimit(self) -> DateTime</autodoc> |
f32fc4bc RD |
27201 | <docstring>get the range in which selection can occur</docstring> |
27202 | </method> | |
27203 | <method name="GetUpperDateLimit" type="DateTime" overloaded="no"> | |
781d2982 | 27204 | <autodoc>GetUpperDateLimit(self) -> DateTime</autodoc> |
f32fc4bc RD |
27205 | <docstring>get the range in which selection can occur</docstring> |
27206 | </method> | |
27207 | <method name="SetDateRange" type="bool" overloaded="no"> | |
781d2982 | 27208 | <autodoc>SetDateRange(self, DateTime lowerdate=DefaultDateTime, DateTime upperdate=DefaultDateTime) -> bool</autodoc> |
f32fc4bc RD |
27209 | <docstring>set the range in which selection can occur</docstring> |
27210 | <paramlist> | |
27211 | <param name="lowerdate" type="DateTime" default="wxDefaultDateTime"/> | |
27212 | <param name="upperdate" type="DateTime" default="wxDefaultDateTime"/> | |
27213 | </paramlist> | |
27214 | </method> | |
27215 | <method name="EnableYearChange" type="" overloaded="no"> | |
781d2982 | 27216 | <autodoc>EnableYearChange(self, bool enable=True)</autodoc> |
f32fc4bc RD |
27217 | <docstring>This function should be used instead of changing CAL_NO_YEAR_CHANGE |
27218 | style bit directly. It allows or disallows the user to change the year | |
27219 | interactively.</docstring> | |
27220 | <paramlist> | |
27221 | <param name="enable" type="bool" default="True"/> | |
27222 | </paramlist> | |
27223 | </method> | |
27224 | <method name="EnableMonthChange" type="" overloaded="no"> | |
781d2982 RD |
27225 | <autodoc>EnableMonthChange(self, bool enable=True)</autodoc> |
27226 | <docstring>This function should be used instead of changing CAL_NO_MONTH_CHANGE | |
27227 | style bit. It allows or disallows the user to change the month | |
27228 | interactively. Note that if the month can not be changed, the year can | |
27229 | not be changed either.</docstring> | |
f32fc4bc RD |
27230 | <paramlist> |
27231 | <param name="enable" type="bool" default="True"/> | |
27232 | </paramlist> | |
27233 | </method> | |
27234 | <method name="EnableHolidayDisplay" type="" overloaded="no"> | |
781d2982 RD |
27235 | <autodoc>EnableHolidayDisplay(self, bool display=True)</autodoc> |
27236 | <docstring>This function should be used instead of changing CAL_SHOW_HOLIDAYS | |
27237 | style bit directly. It enables or disables the special highlighting of | |
27238 | the holidays.</docstring> | |
f32fc4bc RD |
27239 | <paramlist> |
27240 | <param name="display" type="bool" default="True"/> | |
27241 | </paramlist> | |
27242 | </method> | |
27243 | <method name="SetHeaderColours" type="" overloaded="no"> | |
781d2982 RD |
27244 | <autodoc>SetHeaderColours(self, Colour colFg, Colour colBg)</autodoc> |
27245 | <docstring>Header colours are used for painting the weekdays at the top.</docstring> | |
f32fc4bc RD |
27246 | <paramlist> |
27247 | <param name="colFg" type="Colour" default=""/> | |
27248 | <param name="colBg" type="Colour" default=""/> | |
27249 | </paramlist> | |
27250 | </method> | |
27251 | <method name="GetHeaderColourFg" type="Colour" overloaded="no"> | |
781d2982 RD |
27252 | <autodoc>GetHeaderColourFg(self) -> Colour</autodoc> |
27253 | <docstring>Header colours are used for painting the weekdays at the top.</docstring> | |
f32fc4bc RD |
27254 | </method> |
27255 | <method name="GetHeaderColourBg" type="Colour" overloaded="no"> | |
781d2982 RD |
27256 | <autodoc>GetHeaderColourBg(self) -> Colour</autodoc> |
27257 | <docstring>Header colours are used for painting the weekdays at the top.</docstring> | |
f32fc4bc RD |
27258 | </method> |
27259 | <method name="SetHighlightColours" type="" overloaded="no"> | |
781d2982 RD |
27260 | <autodoc>SetHighlightColours(self, Colour colFg, Colour colBg)</autodoc> |
27261 | <docstring>Highlight colour is used for the currently selected date.</docstring> | |
f32fc4bc RD |
27262 | <paramlist> |
27263 | <param name="colFg" type="Colour" default=""/> | |
27264 | <param name="colBg" type="Colour" default=""/> | |
27265 | </paramlist> | |
27266 | </method> | |
27267 | <method name="GetHighlightColourFg" type="Colour" overloaded="no"> | |
781d2982 RD |
27268 | <autodoc>GetHighlightColourFg(self) -> Colour</autodoc> |
27269 | <docstring>Highlight colour is used for the currently selected date.</docstring> | |
f32fc4bc RD |
27270 | </method> |
27271 | <method name="GetHighlightColourBg" type="Colour" overloaded="no"> | |
781d2982 RD |
27272 | <autodoc>GetHighlightColourBg(self) -> Colour</autodoc> |
27273 | <docstring>Highlight colour is used for the currently selected date.</docstring> | |
f32fc4bc RD |
27274 | </method> |
27275 | <method name="SetHolidayColours" type="" overloaded="no"> | |
781d2982 RD |
27276 | <autodoc>SetHolidayColours(self, Colour colFg, Colour colBg)</autodoc> |
27277 | <docstring>Holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is | |
27278 | used).</docstring> | |
f32fc4bc RD |
27279 | <paramlist> |
27280 | <param name="colFg" type="Colour" default=""/> | |
27281 | <param name="colBg" type="Colour" default=""/> | |
27282 | </paramlist> | |
27283 | </method> | |
27284 | <method name="GetHolidayColourFg" type="Colour" overloaded="no"> | |
781d2982 RD |
27285 | <autodoc>GetHolidayColourFg(self) -> Colour</autodoc> |
27286 | <docstring>Holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is | |
27287 | used).</docstring> | |
f32fc4bc RD |
27288 | </method> |
27289 | <method name="GetHolidayColourBg" type="Colour" overloaded="no"> | |
781d2982 RD |
27290 | <autodoc>GetHolidayColourBg(self) -> Colour</autodoc> |
27291 | <docstring>Holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is | |
27292 | used).</docstring> | |
f32fc4bc RD |
27293 | </method> |
27294 | <method name="GetAttr" type="CalendarDateAttr" overloaded="no"> | |
781d2982 RD |
27295 | <autodoc>GetAttr(self, size_t day) -> CalendarDateAttr</autodoc> |
27296 | <docstring>Returns the attribute for the given date (should be in the range | |
27297 | 1...31). The returned value may be None</docstring> | |
f32fc4bc RD |
27298 | <paramlist> |
27299 | <param name="day" type="size_t" default=""/> | |
27300 | </paramlist> | |
27301 | </method> | |
27302 | <method name="SetAttr" type="" overloaded="no"> | |
781d2982 RD |
27303 | <autodoc>SetAttr(self, size_t day, CalendarDateAttr attr)</autodoc> |
27304 | <docstring>Associates the attribute with the specified date (in the range | |
27305 | 1...31). If the attribute passed is None, the items attribute is | |
27306 | cleared.</docstring> | |
f32fc4bc RD |
27307 | <paramlist> |
27308 | <param name="day" type="size_t" default=""/> | |
27309 | <param name="attr" type="CalendarDateAttr" default=""/> | |
27310 | </paramlist> | |
27311 | </method> | |
27312 | <method name="SetHoliday" type="" overloaded="no"> | |
781d2982 | 27313 | <autodoc>SetHoliday(self, size_t day)</autodoc> |
f32fc4bc RD |
27314 | <docstring>Marks the specified day as being a holiday in the current month.</docstring> |
27315 | <paramlist> | |
27316 | <param name="day" type="size_t" default=""/> | |
27317 | </paramlist> | |
27318 | </method> | |
27319 | <method name="ResetAttr" type="" overloaded="no"> | |
781d2982 RD |
27320 | <autodoc>ResetAttr(self, size_t day)</autodoc> |
27321 | <docstring>Clears any attributes associated with the given day (in the range | |
27322 | 1...31).</docstring> | |
f32fc4bc RD |
27323 | <paramlist> |
27324 | <param name="day" type="size_t" default=""/> | |
27325 | </paramlist> | |
27326 | </method> | |
27327 | <method name="HitTest" type="PyObject" overloaded="no"> | |
27328 | <autodoc>HitTest(Point pos) -> (result, date, weekday)</autodoc> | |
781d2982 RD |
27329 | <docstring>Returns 3-tuple with information about the given position on the |
27330 | calendar control. The first value of the tuple is a result code and | |
ce6878e6 RD |
27331 | determines the validity of the remaining two values. |
27332 | The result codes are: | |
27333 | ||
27334 | =================== ============================================ | |
27335 | CAL_HITTEST_NOWHERE hit outside of anything | |
27336 | CAL_HITTEST_HEADER hit on the header, weekday is valid | |
27337 | CAL_HITTEST_DAY hit on a day in the calendar, date is set. | |
27338 | =================== ============================================ | |
27339 | </docstring> | |
f32fc4bc RD |
27340 | <paramlist> |
27341 | <param name="pos" type="Point" default=""/> | |
27342 | </paramlist> | |
27343 | </method> | |
27344 | <method name="GetMonthControl" type="Control" overloaded="no"> | |
781d2982 RD |
27345 | <autodoc>GetMonthControl(self) -> Control</autodoc> |
27346 | <docstring>Get the currently shown control for month.</docstring> | |
f32fc4bc RD |
27347 | </method> |
27348 | <method name="GetYearControl" type="Control" overloaded="no"> | |
781d2982 RD |
27349 | <autodoc>GetYearControl(self) -> Control</autodoc> |
27350 | <docstring>Get the currently shown control for year.</docstring> | |
f32fc4bc | 27351 | </method> |
781d2982 RD |
27352 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
27353 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
27354 | <docstring>Get the default attributes for this class. This is useful if you want | |
27355 | to use the same font or colour in your own control as in a standard | |
27356 | control -- which is a much better idea than hard coding specific | |
27357 | colours or fonts which might look completely out of place on the | |
27358 | user's system, especially if it uses themes. | |
27359 | ||
27360 | The variant parameter is only relevant under Mac currently and is | |
27361 | ignore under other platforms. Under Mac, it will change the size of | |
27362 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
27363 | this.</docstring> | |
27364 | <paramlist> | |
27365 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
27366 | </paramlist> | |
27367 | </staticmethod> | |
f32fc4bc RD |
27368 | </class> |
27369 | </module> | |
27370 | <module name="grid"> | |
781d2982 RD |
27371 | <import name="_windows"/> |
27372 | <pythoncode> wx = _core </pythoncode> | |
27373 | <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode> | |
f32fc4bc RD |
27374 | <class name="GridCellRenderer" oldname="wxGridCellRenderer" module="grid"> |
27375 | <method name="_setOORInfo" type="" overloaded="no"> | |
781d2982 | 27376 | <autodoc>_setOORInfo(self, PyObject _self)</autodoc> |
f32fc4bc RD |
27377 | <paramlist> |
27378 | <param name="_self" type="PyObject" default=""/> | |
27379 | </paramlist> | |
27380 | </method> | |
27381 | <method name="SetParameters" type="" overloaded="no"> | |
781d2982 | 27382 | <autodoc>SetParameters(self, String params)</autodoc> |
f32fc4bc RD |
27383 | <paramlist> |
27384 | <param name="params" type="String" default=""/> | |
27385 | </paramlist> | |
27386 | </method> | |
27387 | <method name="IncRef" type="" overloaded="no"> | |
781d2982 | 27388 | <autodoc>IncRef(self)</autodoc> |
f32fc4bc RD |
27389 | </method> |
27390 | <method name="DecRef" type="" overloaded="no"> | |
781d2982 | 27391 | <autodoc>DecRef(self)</autodoc> |
f32fc4bc RD |
27392 | </method> |
27393 | <method name="Draw" type="" overloaded="no"> | |
781d2982 | 27394 | <autodoc>Draw(self, Grid grid, GridCellAttr attr, DC dc, Rect rect, int row, |
f32fc4bc RD |
27395 | int col, bool isSelected)</autodoc> |
27396 | <paramlist> | |
27397 | <param name="grid" type="wxGrid" default=""/> | |
27398 | <param name="attr" type="wxGridCellAttr" default=""/> | |
27399 | <param name="dc" type="DC" default=""/> | |
27400 | <param name="rect" type="Rect" default=""/> | |
27401 | <param name="row" type="int" default=""/> | |
27402 | <param name="col" type="int" default=""/> | |
27403 | <param name="isSelected" type="bool" default=""/> | |
27404 | </paramlist> | |
27405 | </method> | |
27406 | <method name="GetBestSize" type="Size" overloaded="no"> | |
781d2982 | 27407 | <autodoc>GetBestSize(self, Grid grid, GridCellAttr attr, DC dc, int row, int col) -> Size</autodoc> |
f32fc4bc RD |
27408 | <paramlist> |
27409 | <param name="grid" type="wxGrid" default=""/> | |
27410 | <param name="attr" type="wxGridCellAttr" default=""/> | |
27411 | <param name="dc" type="DC" default=""/> | |
27412 | <param name="row" type="int" default=""/> | |
27413 | <param name="col" type="int" default=""/> | |
27414 | </paramlist> | |
27415 | </method> | |
27416 | <method name="Clone" type="GridCellRenderer" overloaded="no"> | |
781d2982 | 27417 | <autodoc>Clone(self) -> GridCellRenderer</autodoc> |
f32fc4bc RD |
27418 | </method> |
27419 | </class> | |
27420 | <class name="PyGridCellRenderer" oldname="wxPyGridCellRenderer" module="grid"> | |
27421 | <baseclass name="GridCellRenderer"/> | |
27422 | <constructor name="PyGridCellRenderer" overloaded="no"> | |
781d2982 | 27423 | <autodoc>__init__(self) -> PyGridCellRenderer</autodoc> |
f32fc4bc RD |
27424 | </constructor> |
27425 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 27426 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
27427 | <paramlist> |
27428 | <param name="self" type="PyObject" default=""/> | |
27429 | <param name="_class" type="PyObject" default=""/> | |
27430 | </paramlist> | |
27431 | </method> | |
27432 | <method name="base_SetParameters" type="" overloaded="no"> | |
781d2982 | 27433 | <autodoc>base_SetParameters(self, String params)</autodoc> |
f32fc4bc RD |
27434 | <paramlist> |
27435 | <param name="params" type="String" default=""/> | |
27436 | </paramlist> | |
27437 | </method> | |
27438 | </class> | |
27439 | <class name="GridCellStringRenderer" oldname="wxGridCellStringRenderer" module="grid"> | |
27440 | <baseclass name="GridCellRenderer"/> | |
27441 | <constructor name="GridCellStringRenderer" overloaded="no"> | |
781d2982 | 27442 | <autodoc>__init__(self) -> GridCellStringRenderer</autodoc> |
f32fc4bc RD |
27443 | </constructor> |
27444 | </class> | |
27445 | <class name="GridCellNumberRenderer" oldname="wxGridCellNumberRenderer" module="grid"> | |
27446 | <baseclass name="GridCellStringRenderer"/> | |
27447 | <constructor name="GridCellNumberRenderer" overloaded="no"> | |
781d2982 | 27448 | <autodoc>__init__(self) -> GridCellNumberRenderer</autodoc> |
f32fc4bc RD |
27449 | </constructor> |
27450 | </class> | |
27451 | <class name="GridCellFloatRenderer" oldname="wxGridCellFloatRenderer" module="grid"> | |
27452 | <baseclass name="GridCellStringRenderer"/> | |
27453 | <constructor name="GridCellFloatRenderer" overloaded="no"> | |
781d2982 | 27454 | <autodoc>__init__(self, int width=-1, int precision=-1) -> GridCellFloatRenderer</autodoc> |
f32fc4bc RD |
27455 | <paramlist> |
27456 | <param name="width" type="int" default="-1"/> | |
27457 | <param name="precision" type="int" default="-1"/> | |
27458 | </paramlist> | |
27459 | </constructor> | |
27460 | <method name="GetWidth" type="int" overloaded="no"> | |
781d2982 | 27461 | <autodoc>GetWidth(self) -> int</autodoc> |
f32fc4bc RD |
27462 | </method> |
27463 | <method name="SetWidth" type="" overloaded="no"> | |
781d2982 | 27464 | <autodoc>SetWidth(self, int width)</autodoc> |
f32fc4bc RD |
27465 | <paramlist> |
27466 | <param name="width" type="int" default=""/> | |
27467 | </paramlist> | |
27468 | </method> | |
27469 | <method name="GetPrecision" type="int" overloaded="no"> | |
781d2982 | 27470 | <autodoc>GetPrecision(self) -> int</autodoc> |
f32fc4bc RD |
27471 | </method> |
27472 | <method name="SetPrecision" type="" overloaded="no"> | |
781d2982 | 27473 | <autodoc>SetPrecision(self, int precision)</autodoc> |
f32fc4bc RD |
27474 | <paramlist> |
27475 | <param name="precision" type="int" default=""/> | |
27476 | </paramlist> | |
27477 | </method> | |
27478 | </class> | |
27479 | <class name="GridCellBoolRenderer" oldname="wxGridCellBoolRenderer" module="grid"> | |
27480 | <baseclass name="GridCellRenderer"/> | |
27481 | <constructor name="GridCellBoolRenderer" overloaded="no"> | |
781d2982 | 27482 | <autodoc>__init__(self) -> GridCellBoolRenderer</autodoc> |
f32fc4bc RD |
27483 | </constructor> |
27484 | </class> | |
27485 | <class name="GridCellDateTimeRenderer" oldname="wxGridCellDateTimeRenderer" module="grid"> | |
27486 | <baseclass name="GridCellStringRenderer"/> | |
27487 | <constructor name="GridCellDateTimeRenderer" overloaded="no"> | |
781d2982 | 27488 | <autodoc>__init__(self, String outformat=DateTimeFormatStr, String informat=DateTimeFormatStr) -> GridCellDateTimeRenderer</autodoc> |
f32fc4bc RD |
27489 | <paramlist> |
27490 | <param name="outformat" type="String" default="wxPyDateTimeFormatStr"/> | |
27491 | <param name="informat" type="String" default="wxPyDateTimeFormatStr"/> | |
27492 | </paramlist> | |
27493 | </constructor> | |
27494 | </class> | |
27495 | <class name="GridCellEnumRenderer" oldname="wxGridCellEnumRenderer" module="grid"> | |
27496 | <baseclass name="GridCellStringRenderer"/> | |
27497 | <constructor name="GridCellEnumRenderer" overloaded="no"> | |
781d2982 | 27498 | <autodoc>__init__(self, String choices=EmptyString) -> GridCellEnumRenderer</autodoc> |
f32fc4bc RD |
27499 | <paramlist> |
27500 | <param name="choices" type="String" default="wxPyEmptyString"/> | |
27501 | </paramlist> | |
27502 | </constructor> | |
27503 | </class> | |
27504 | <class name="GridCellAutoWrapStringRenderer" oldname="wxGridCellAutoWrapStringRenderer" module="grid"> | |
27505 | <baseclass name="GridCellStringRenderer"/> | |
27506 | <constructor name="GridCellAutoWrapStringRenderer" overloaded="no"> | |
781d2982 | 27507 | <autodoc>__init__(self) -> GridCellAutoWrapStringRenderer</autodoc> |
f32fc4bc RD |
27508 | </constructor> |
27509 | </class> | |
27510 | <class name="GridCellEditor" oldname="wxGridCellEditor" module="grid"> | |
27511 | <method name="_setOORInfo" type="" overloaded="no"> | |
781d2982 | 27512 | <autodoc>_setOORInfo(self, PyObject _self)</autodoc> |
f32fc4bc RD |
27513 | <paramlist> |
27514 | <param name="_self" type="PyObject" default=""/> | |
27515 | </paramlist> | |
27516 | </method> | |
27517 | <method name="IsCreated" type="bool" overloaded="no"> | |
781d2982 | 27518 | <autodoc>IsCreated(self) -> bool</autodoc> |
f32fc4bc RD |
27519 | </method> |
27520 | <method name="GetControl" type="Control" overloaded="no"> | |
781d2982 | 27521 | <autodoc>GetControl(self) -> Control</autodoc> |
f32fc4bc RD |
27522 | </method> |
27523 | <method name="SetControl" type="" overloaded="no"> | |
781d2982 | 27524 | <autodoc>SetControl(self, Control control)</autodoc> |
f32fc4bc RD |
27525 | <paramlist> |
27526 | <param name="control" type="Control" default=""/> | |
27527 | </paramlist> | |
27528 | </method> | |
27529 | <method name="GetCellAttr" type="wxGridCellAttr" overloaded="no"> | |
781d2982 | 27530 | <autodoc>GetCellAttr(self) -> GridCellAttr</autodoc> |
f32fc4bc RD |
27531 | </method> |
27532 | <method name="SetCellAttr" type="" overloaded="no"> | |
781d2982 | 27533 | <autodoc>SetCellAttr(self, GridCellAttr attr)</autodoc> |
f32fc4bc RD |
27534 | <paramlist> |
27535 | <param name="attr" type="wxGridCellAttr" default=""/> | |
27536 | </paramlist> | |
27537 | </method> | |
27538 | <method name="SetParameters" type="" overloaded="no"> | |
781d2982 | 27539 | <autodoc>SetParameters(self, String params)</autodoc> |
f32fc4bc RD |
27540 | <paramlist> |
27541 | <param name="params" type="String" default=""/> | |
27542 | </paramlist> | |
27543 | </method> | |
27544 | <method name="IncRef" type="" overloaded="no"> | |
781d2982 | 27545 | <autodoc>IncRef(self)</autodoc> |
f32fc4bc RD |
27546 | </method> |
27547 | <method name="DecRef" type="" overloaded="no"> | |
781d2982 | 27548 | <autodoc>DecRef(self)</autodoc> |
f32fc4bc RD |
27549 | </method> |
27550 | <method name="Create" type="" overloaded="no"> | |
781d2982 | 27551 | <autodoc>Create(self, Window parent, int id, EvtHandler evtHandler)</autodoc> |
f32fc4bc RD |
27552 | <paramlist> |
27553 | <param name="parent" type="Window" default=""/> | |
27554 | <param name="id" type="int" default=""/> | |
27555 | <param name="evtHandler" type="EvtHandler" default=""/> | |
27556 | </paramlist> | |
27557 | </method> | |
27558 | <method name="BeginEdit" type="" overloaded="no"> | |
781d2982 | 27559 | <autodoc>BeginEdit(self, int row, int col, Grid grid)</autodoc> |
f32fc4bc RD |
27560 | <paramlist> |
27561 | <param name="row" type="int" default=""/> | |
27562 | <param name="col" type="int" default=""/> | |
27563 | <param name="grid" type="wxGrid" default=""/> | |
27564 | </paramlist> | |
27565 | </method> | |
27566 | <method name="EndEdit" type="bool" overloaded="no"> | |
781d2982 | 27567 | <autodoc>EndEdit(self, int row, int col, Grid grid) -> bool</autodoc> |
f32fc4bc RD |
27568 | <paramlist> |
27569 | <param name="row" type="int" default=""/> | |
27570 | <param name="col" type="int" default=""/> | |
27571 | <param name="grid" type="wxGrid" default=""/> | |
27572 | </paramlist> | |
27573 | </method> | |
27574 | <method name="Reset" type="" overloaded="no"> | |
781d2982 | 27575 | <autodoc>Reset(self)</autodoc> |
f32fc4bc RD |
27576 | </method> |
27577 | <method name="Clone" type="GridCellEditor" overloaded="no"> | |
781d2982 | 27578 | <autodoc>Clone(self) -> GridCellEditor</autodoc> |
f32fc4bc RD |
27579 | </method> |
27580 | <method name="SetSize" type="" overloaded="no"> | |
781d2982 | 27581 | <autodoc>SetSize(self, Rect rect)</autodoc> |
f32fc4bc RD |
27582 | <paramlist> |
27583 | <param name="rect" type="Rect" default=""/> | |
27584 | </paramlist> | |
27585 | </method> | |
27586 | <method name="Show" type="" overloaded="no"> | |
781d2982 | 27587 | <autodoc>Show(self, bool show, GridCellAttr attr=None)</autodoc> |
f32fc4bc RD |
27588 | <paramlist> |
27589 | <param name="show" type="bool" default=""/> | |
27590 | <param name="attr" type="wxGridCellAttr" default="NULL"/> | |
27591 | </paramlist> | |
27592 | </method> | |
27593 | <method name="PaintBackground" type="" overloaded="no"> | |
781d2982 | 27594 | <autodoc>PaintBackground(self, Rect rectCell, GridCellAttr attr)</autodoc> |
f32fc4bc RD |
27595 | <paramlist> |
27596 | <param name="rectCell" type="Rect" default=""/> | |
27597 | <param name="attr" type="wxGridCellAttr" default=""/> | |
27598 | </paramlist> | |
27599 | </method> | |
27600 | <method name="IsAcceptedKey" type="bool" overloaded="no"> | |
781d2982 | 27601 | <autodoc>IsAcceptedKey(self, KeyEvent event) -> bool</autodoc> |
f32fc4bc RD |
27602 | <paramlist> |
27603 | <param name="event" type="KeyEvent" default=""/> | |
27604 | </paramlist> | |
27605 | </method> | |
27606 | <method name="StartingKey" type="" overloaded="no"> | |
781d2982 | 27607 | <autodoc>StartingKey(self, KeyEvent event)</autodoc> |
f32fc4bc RD |
27608 | <paramlist> |
27609 | <param name="event" type="KeyEvent" default=""/> | |
27610 | </paramlist> | |
27611 | </method> | |
27612 | <method name="StartingClick" type="" overloaded="no"> | |
781d2982 | 27613 | <autodoc>StartingClick(self)</autodoc> |
f32fc4bc RD |
27614 | </method> |
27615 | <method name="HandleReturn" type="" overloaded="no"> | |
781d2982 | 27616 | <autodoc>HandleReturn(self, KeyEvent event)</autodoc> |
f32fc4bc RD |
27617 | <paramlist> |
27618 | <param name="event" type="KeyEvent" default=""/> | |
27619 | </paramlist> | |
27620 | </method> | |
27621 | <method name="Destroy" type="" overloaded="no"> | |
781d2982 | 27622 | <autodoc>Destroy(self)</autodoc> |
f32fc4bc RD |
27623 | </method> |
27624 | </class> | |
27625 | <class name="PyGridCellEditor" oldname="wxPyGridCellEditor" module="grid"> | |
27626 | <baseclass name="GridCellEditor"/> | |
27627 | <constructor name="PyGridCellEditor" overloaded="no"> | |
781d2982 | 27628 | <autodoc>__init__(self) -> PyGridCellEditor</autodoc> |
f32fc4bc RD |
27629 | </constructor> |
27630 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 27631 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
27632 | <paramlist> |
27633 | <param name="self" type="PyObject" default=""/> | |
27634 | <param name="_class" type="PyObject" default=""/> | |
27635 | </paramlist> | |
27636 | </method> | |
27637 | <method name="base_SetSize" type="" overloaded="no"> | |
781d2982 | 27638 | <autodoc>base_SetSize(self, Rect rect)</autodoc> |
f32fc4bc RD |
27639 | <paramlist> |
27640 | <param name="rect" type="Rect" default=""/> | |
27641 | </paramlist> | |
27642 | </method> | |
27643 | <method name="base_Show" type="" overloaded="no"> | |
781d2982 | 27644 | <autodoc>base_Show(self, bool show, GridCellAttr attr=None)</autodoc> |
f32fc4bc RD |
27645 | <paramlist> |
27646 | <param name="show" type="bool" default=""/> | |
27647 | <param name="attr" type="wxGridCellAttr" default="NULL"/> | |
27648 | </paramlist> | |
27649 | </method> | |
27650 | <method name="base_PaintBackground" type="" overloaded="no"> | |
781d2982 | 27651 | <autodoc>base_PaintBackground(self, Rect rectCell, GridCellAttr attr)</autodoc> |
f32fc4bc RD |
27652 | <paramlist> |
27653 | <param name="rectCell" type="Rect" default=""/> | |
27654 | <param name="attr" type="wxGridCellAttr" default=""/> | |
27655 | </paramlist> | |
27656 | </method> | |
27657 | <method name="base_IsAcceptedKey" type="bool" overloaded="no"> | |
781d2982 | 27658 | <autodoc>base_IsAcceptedKey(self, KeyEvent event) -> bool</autodoc> |
f32fc4bc RD |
27659 | <paramlist> |
27660 | <param name="event" type="KeyEvent" default=""/> | |
27661 | </paramlist> | |
27662 | </method> | |
27663 | <method name="base_StartingKey" type="" overloaded="no"> | |
781d2982 | 27664 | <autodoc>base_StartingKey(self, KeyEvent event)</autodoc> |
f32fc4bc RD |
27665 | <paramlist> |
27666 | <param name="event" type="KeyEvent" default=""/> | |
27667 | </paramlist> | |
27668 | </method> | |
27669 | <method name="base_StartingClick" type="" overloaded="no"> | |
781d2982 | 27670 | <autodoc>base_StartingClick(self)</autodoc> |
f32fc4bc RD |
27671 | </method> |
27672 | <method name="base_HandleReturn" type="" overloaded="no"> | |
781d2982 | 27673 | <autodoc>base_HandleReturn(self, KeyEvent event)</autodoc> |
f32fc4bc RD |
27674 | <paramlist> |
27675 | <param name="event" type="KeyEvent" default=""/> | |
27676 | </paramlist> | |
27677 | </method> | |
27678 | <method name="base_Destroy" type="" overloaded="no"> | |
781d2982 | 27679 | <autodoc>base_Destroy(self)</autodoc> |
f32fc4bc RD |
27680 | </method> |
27681 | <method name="base_SetParameters" type="" overloaded="no"> | |
781d2982 | 27682 | <autodoc>base_SetParameters(self, String params)</autodoc> |
f32fc4bc RD |
27683 | <paramlist> |
27684 | <param name="params" type="String" default=""/> | |
27685 | </paramlist> | |
27686 | </method> | |
27687 | </class> | |
27688 | <class name="GridCellTextEditor" oldname="wxGridCellTextEditor" module="grid"> | |
27689 | <baseclass name="GridCellEditor"/> | |
27690 | <constructor name="GridCellTextEditor" overloaded="no"> | |
781d2982 | 27691 | <autodoc>__init__(self) -> GridCellTextEditor</autodoc> |
f32fc4bc RD |
27692 | </constructor> |
27693 | <method name="GetValue" type="String" overloaded="no"> | |
781d2982 | 27694 | <autodoc>GetValue(self) -> String</autodoc> |
f32fc4bc RD |
27695 | </method> |
27696 | </class> | |
27697 | <class name="GridCellNumberEditor" oldname="wxGridCellNumberEditor" module="grid"> | |
27698 | <baseclass name="GridCellTextEditor"/> | |
27699 | <constructor name="GridCellNumberEditor" overloaded="no"> | |
781d2982 | 27700 | <autodoc>__init__(self, int min=-1, int max=-1) -> GridCellNumberEditor</autodoc> |
f32fc4bc RD |
27701 | <paramlist> |
27702 | <param name="min" type="int" default="-1"/> | |
27703 | <param name="max" type="int" default="-1"/> | |
27704 | </paramlist> | |
27705 | </constructor> | |
27706 | <method name="GetValue" type="String" overloaded="no"> | |
781d2982 | 27707 | <autodoc>GetValue(self) -> String</autodoc> |
f32fc4bc RD |
27708 | </method> |
27709 | </class> | |
27710 | <class name="GridCellFloatEditor" oldname="wxGridCellFloatEditor" module="grid"> | |
27711 | <baseclass name="GridCellTextEditor"/> | |
27712 | <constructor name="GridCellFloatEditor" overloaded="no"> | |
781d2982 RD |
27713 | <autodoc>__init__(self, int width=-1, int precision=-1) -> GridCellFloatEditor</autodoc> |
27714 | <paramlist> | |
27715 | <param name="width" type="int" default="-1"/> | |
27716 | <param name="precision" type="int" default="-1"/> | |
27717 | </paramlist> | |
f32fc4bc RD |
27718 | </constructor> |
27719 | <method name="GetValue" type="String" overloaded="no"> | |
781d2982 | 27720 | <autodoc>GetValue(self) -> String</autodoc> |
f32fc4bc RD |
27721 | </method> |
27722 | </class> | |
27723 | <class name="GridCellBoolEditor" oldname="wxGridCellBoolEditor" module="grid"> | |
27724 | <baseclass name="GridCellEditor"/> | |
27725 | <constructor name="GridCellBoolEditor" overloaded="no"> | |
781d2982 | 27726 | <autodoc>__init__(self) -> GridCellBoolEditor</autodoc> |
f32fc4bc RD |
27727 | </constructor> |
27728 | <method name="GetValue" type="String" overloaded="no"> | |
781d2982 | 27729 | <autodoc>GetValue(self) -> String</autodoc> |
f32fc4bc RD |
27730 | </method> |
27731 | </class> | |
27732 | <class name="GridCellChoiceEditor" oldname="wxGridCellChoiceEditor" module="grid"> | |
27733 | <baseclass name="GridCellEditor"/> | |
27734 | <constructor name="GridCellChoiceEditor" overloaded="no"> | |
781d2982 | 27735 | <autodoc>__init__(self, int choices=0, String choices_array=None, bool allowOthers=False) -> GridCellChoiceEditor</autodoc> |
f32fc4bc RD |
27736 | <paramlist> |
27737 | <param name="choices" type="int" default="0"/> | |
27738 | <param name="choices_array" type="String" default="NULL"/> | |
27739 | <param name="allowOthers" type="bool" default="False"/> | |
27740 | </paramlist> | |
27741 | </constructor> | |
27742 | <method name="GetValue" type="String" overloaded="no"> | |
781d2982 | 27743 | <autodoc>GetValue(self) -> String</autodoc> |
f32fc4bc RD |
27744 | </method> |
27745 | </class> | |
27746 | <class name="GridCellEnumEditor" oldname="wxGridCellEnumEditor" module="grid"> | |
27747 | <baseclass name="GridCellChoiceEditor"/> | |
27748 | <constructor name="GridCellEnumEditor" overloaded="no"> | |
781d2982 | 27749 | <autodoc>__init__(self, String choices=EmptyString) -> GridCellEnumEditor</autodoc> |
f32fc4bc RD |
27750 | <paramlist> |
27751 | <param name="choices" type="String" default="wxPyEmptyString"/> | |
27752 | </paramlist> | |
27753 | </constructor> | |
27754 | <method name="GetValue" type="String" overloaded="no"> | |
781d2982 | 27755 | <autodoc>GetValue(self) -> String</autodoc> |
f32fc4bc RD |
27756 | </method> |
27757 | </class> | |
27758 | <class name="GridCellAutoWrapStringEditor" oldname="wxGridCellAutoWrapStringEditor" module="grid"> | |
27759 | <baseclass name="GridCellTextEditor"/> | |
27760 | <constructor name="GridCellAutoWrapStringEditor" overloaded="no"> | |
781d2982 | 27761 | <autodoc>__init__(self) -> GridCellAutoWrapStringEditor</autodoc> |
f32fc4bc RD |
27762 | </constructor> |
27763 | <method name="GetValue" type="String" overloaded="no"> | |
781d2982 | 27764 | <autodoc>GetValue(self) -> String</autodoc> |
f32fc4bc RD |
27765 | </method> |
27766 | </class> | |
27767 | <class name="GridCellAttr" oldname="wxGridCellAttr" module="grid"> | |
27768 | <constructor name="GridCellAttr" overloaded="no"> | |
781d2982 | 27769 | <autodoc>__init__(self, GridCellAttr attrDefault=None) -> GridCellAttr</autodoc> |
f32fc4bc RD |
27770 | <paramlist> |
27771 | <param name="attrDefault" type="GridCellAttr" default="NULL"/> | |
27772 | </paramlist> | |
27773 | </constructor> | |
27774 | <method name="_setOORInfo" type="" overloaded="no"> | |
781d2982 | 27775 | <autodoc>_setOORInfo(self, PyObject _self)</autodoc> |
f32fc4bc RD |
27776 | <paramlist> |
27777 | <param name="_self" type="PyObject" default=""/> | |
27778 | </paramlist> | |
27779 | </method> | |
27780 | <method name="Clone" type="GridCellAttr" overloaded="no"> | |
781d2982 | 27781 | <autodoc>Clone(self) -> GridCellAttr</autodoc> |
f32fc4bc RD |
27782 | </method> |
27783 | <method name="MergeWith" type="" overloaded="no"> | |
781d2982 | 27784 | <autodoc>MergeWith(self, GridCellAttr mergefrom)</autodoc> |
f32fc4bc RD |
27785 | <paramlist> |
27786 | <param name="mergefrom" type="GridCellAttr" default=""/> | |
27787 | </paramlist> | |
27788 | </method> | |
27789 | <method name="IncRef" type="" overloaded="no"> | |
781d2982 | 27790 | <autodoc>IncRef(self)</autodoc> |
f32fc4bc RD |
27791 | </method> |
27792 | <method name="DecRef" type="" overloaded="no"> | |
781d2982 | 27793 | <autodoc>DecRef(self)</autodoc> |
f32fc4bc RD |
27794 | </method> |
27795 | <method name="SetTextColour" type="" overloaded="no"> | |
781d2982 | 27796 | <autodoc>SetTextColour(self, Colour colText)</autodoc> |
f32fc4bc RD |
27797 | <paramlist> |
27798 | <param name="colText" type="Colour" default=""/> | |
27799 | </paramlist> | |
27800 | </method> | |
27801 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
781d2982 | 27802 | <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc> |
f32fc4bc RD |
27803 | <paramlist> |
27804 | <param name="colBack" type="Colour" default=""/> | |
27805 | </paramlist> | |
27806 | </method> | |
27807 | <method name="SetFont" type="" overloaded="no"> | |
781d2982 | 27808 | <autodoc>SetFont(self, Font font)</autodoc> |
f32fc4bc RD |
27809 | <paramlist> |
27810 | <param name="font" type="Font" default=""/> | |
27811 | </paramlist> | |
27812 | </method> | |
27813 | <method name="SetAlignment" type="" overloaded="no"> | |
781d2982 | 27814 | <autodoc>SetAlignment(self, int hAlign, int vAlign)</autodoc> |
f32fc4bc RD |
27815 | <paramlist> |
27816 | <param name="hAlign" type="int" default=""/> | |
27817 | <param name="vAlign" type="int" default=""/> | |
27818 | </paramlist> | |
27819 | </method> | |
27820 | <method name="SetSize" type="" overloaded="no"> | |
781d2982 | 27821 | <autodoc>SetSize(self, int num_rows, int num_cols)</autodoc> |
f32fc4bc RD |
27822 | <paramlist> |
27823 | <param name="num_rows" type="int" default=""/> | |
27824 | <param name="num_cols" type="int" default=""/> | |
27825 | </paramlist> | |
27826 | </method> | |
27827 | <method name="SetOverflow" type="" overloaded="no"> | |
781d2982 | 27828 | <autodoc>SetOverflow(self, bool allow=True)</autodoc> |
f32fc4bc RD |
27829 | <paramlist> |
27830 | <param name="allow" type="bool" default="True"/> | |
27831 | </paramlist> | |
27832 | </method> | |
27833 | <method name="SetReadOnly" type="" overloaded="no"> | |
781d2982 | 27834 | <autodoc>SetReadOnly(self, bool isReadOnly=True)</autodoc> |
f32fc4bc RD |
27835 | <paramlist> |
27836 | <param name="isReadOnly" type="bool" default="True"/> | |
27837 | </paramlist> | |
27838 | </method> | |
27839 | <method name="SetRenderer" type="" overloaded="no"> | |
781d2982 | 27840 | <autodoc>SetRenderer(self, GridCellRenderer renderer)</autodoc> |
f32fc4bc RD |
27841 | <paramlist> |
27842 | <param name="renderer" type="GridCellRenderer" default=""/> | |
27843 | </paramlist> | |
27844 | </method> | |
27845 | <method name="SetEditor" type="" overloaded="no"> | |
781d2982 | 27846 | <autodoc>SetEditor(self, GridCellEditor editor)</autodoc> |
f32fc4bc RD |
27847 | <paramlist> |
27848 | <param name="editor" type="GridCellEditor" default=""/> | |
27849 | </paramlist> | |
27850 | </method> | |
27851 | <method name="SetKind" type="" overloaded="no"> | |
781d2982 | 27852 | <autodoc>SetKind(self, int kind)</autodoc> |
f32fc4bc RD |
27853 | <paramlist> |
27854 | <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/> | |
27855 | </paramlist> | |
27856 | </method> | |
27857 | <method name="HasTextColour" type="bool" overloaded="no"> | |
781d2982 | 27858 | <autodoc>HasTextColour(self) -> bool</autodoc> |
f32fc4bc RD |
27859 | </method> |
27860 | <method name="HasBackgroundColour" type="bool" overloaded="no"> | |
781d2982 | 27861 | <autodoc>HasBackgroundColour(self) -> bool</autodoc> |
f32fc4bc RD |
27862 | </method> |
27863 | <method name="HasFont" type="bool" overloaded="no"> | |
781d2982 | 27864 | <autodoc>HasFont(self) -> bool</autodoc> |
f32fc4bc RD |
27865 | </method> |
27866 | <method name="HasAlignment" type="bool" overloaded="no"> | |
781d2982 | 27867 | <autodoc>HasAlignment(self) -> bool</autodoc> |
f32fc4bc RD |
27868 | </method> |
27869 | <method name="HasRenderer" type="bool" overloaded="no"> | |
781d2982 | 27870 | <autodoc>HasRenderer(self) -> bool</autodoc> |
f32fc4bc RD |
27871 | </method> |
27872 | <method name="HasEditor" type="bool" overloaded="no"> | |
781d2982 | 27873 | <autodoc>HasEditor(self) -> bool</autodoc> |
f32fc4bc RD |
27874 | </method> |
27875 | <method name="HasReadWriteMode" type="bool" overloaded="no"> | |
781d2982 | 27876 | <autodoc>HasReadWriteMode(self) -> bool</autodoc> |
f32fc4bc RD |
27877 | </method> |
27878 | <method name="HasOverflowMode" type="bool" overloaded="no"> | |
781d2982 | 27879 | <autodoc>HasOverflowMode(self) -> bool</autodoc> |
f32fc4bc RD |
27880 | </method> |
27881 | <method name="GetTextColour" type="Colour" overloaded="no"> | |
781d2982 | 27882 | <autodoc>GetTextColour(self) -> Colour</autodoc> |
f32fc4bc RD |
27883 | </method> |
27884 | <method name="GetBackgroundColour" type="Colour" overloaded="no"> | |
781d2982 | 27885 | <autodoc>GetBackgroundColour(self) -> Colour</autodoc> |
f32fc4bc RD |
27886 | </method> |
27887 | <method name="GetFont" type="Font" overloaded="no"> | |
781d2982 | 27888 | <autodoc>GetFont(self) -> Font</autodoc> |
f32fc4bc RD |
27889 | </method> |
27890 | <method name="GetAlignment" type="" overloaded="no"> | |
27891 | <autodoc>GetAlignment() -> (hAlign, vAlign)</autodoc> | |
27892 | <paramlist> | |
27893 | <param name="OUTPUT" type="int" default=""/> | |
27894 | <param name="OUTPUT" type="int" default=""/> | |
27895 | </paramlist> | |
27896 | </method> | |
27897 | <method name="GetSize" type="" overloaded="no"> | |
27898 | <autodoc>GetSize() -> (num_rows, num_cols)</autodoc> | |
27899 | <paramlist> | |
27900 | <param name="OUTPUT" type="int" default=""/> | |
27901 | <param name="OUTPUT" type="int" default=""/> | |
27902 | </paramlist> | |
27903 | </method> | |
27904 | <method name="GetOverflow" type="bool" overloaded="no"> | |
781d2982 | 27905 | <autodoc>GetOverflow(self) -> bool</autodoc> |
f32fc4bc RD |
27906 | </method> |
27907 | <method name="GetRenderer" type="GridCellRenderer" overloaded="no"> | |
781d2982 | 27908 | <autodoc>GetRenderer(self, Grid grid, int row, int col) -> GridCellRenderer</autodoc> |
f32fc4bc RD |
27909 | <paramlist> |
27910 | <param name="grid" type="wxGrid" default=""/> | |
27911 | <param name="row" type="int" default=""/> | |
27912 | <param name="col" type="int" default=""/> | |
27913 | </paramlist> | |
27914 | </method> | |
27915 | <method name="GetEditor" type="GridCellEditor" overloaded="no"> | |
781d2982 | 27916 | <autodoc>GetEditor(self, Grid grid, int row, int col) -> GridCellEditor</autodoc> |
f32fc4bc RD |
27917 | <paramlist> |
27918 | <param name="grid" type="wxGrid" default=""/> | |
27919 | <param name="row" type="int" default=""/> | |
27920 | <param name="col" type="int" default=""/> | |
27921 | </paramlist> | |
27922 | </method> | |
27923 | <method name="IsReadOnly" type="bool" overloaded="no"> | |
781d2982 | 27924 | <autodoc>IsReadOnly(self) -> bool</autodoc> |
f32fc4bc | 27925 | </method> |
ce6878e6 RD |
27926 | <method name="GetKind" type="wxGridCellAttr::wxAttrKind" overloaded="no"> |
27927 | <autodoc>GetKind(self) -> int</autodoc> | |
27928 | </method> | |
f32fc4bc | 27929 | <method name="SetDefAttr" type="" overloaded="no"> |
781d2982 | 27930 | <autodoc>SetDefAttr(self, GridCellAttr defAttr)</autodoc> |
f32fc4bc RD |
27931 | <paramlist> |
27932 | <param name="defAttr" type="GridCellAttr" default=""/> | |
27933 | </paramlist> | |
27934 | </method> | |
27935 | </class> | |
27936 | <class name="GridCellAttrProvider" oldname="wxGridCellAttrProvider" module="grid"> | |
27937 | <constructor name="GridCellAttrProvider" overloaded="no"> | |
781d2982 | 27938 | <autodoc>__init__(self) -> GridCellAttrProvider</autodoc> |
f32fc4bc RD |
27939 | </constructor> |
27940 | <method name="_setOORInfo" type="" overloaded="no"> | |
781d2982 | 27941 | <autodoc>_setOORInfo(self, PyObject _self)</autodoc> |
f32fc4bc RD |
27942 | <paramlist> |
27943 | <param name="_self" type="PyObject" default=""/> | |
27944 | </paramlist> | |
27945 | </method> | |
27946 | <method name="GetAttr" type="GridCellAttr" overloaded="no"> | |
781d2982 | 27947 | <autodoc>GetAttr(self, int row, int col, int kind) -> GridCellAttr</autodoc> |
f32fc4bc RD |
27948 | <paramlist> |
27949 | <param name="row" type="int" default=""/> | |
27950 | <param name="col" type="int" default=""/> | |
27951 | <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/> | |
27952 | </paramlist> | |
27953 | </method> | |
27954 | <method name="SetAttr" type="" overloaded="no"> | |
781d2982 | 27955 | <autodoc>SetAttr(self, GridCellAttr attr, int row, int col)</autodoc> |
f32fc4bc RD |
27956 | <paramlist> |
27957 | <param name="attr" type="GridCellAttr" default=""/> | |
27958 | <param name="row" type="int" default=""/> | |
27959 | <param name="col" type="int" default=""/> | |
27960 | </paramlist> | |
27961 | </method> | |
27962 | <method name="SetRowAttr" type="" overloaded="no"> | |
781d2982 | 27963 | <autodoc>SetRowAttr(self, GridCellAttr attr, int row)</autodoc> |
f32fc4bc RD |
27964 | <paramlist> |
27965 | <param name="attr" type="GridCellAttr" default=""/> | |
27966 | <param name="row" type="int" default=""/> | |
27967 | </paramlist> | |
27968 | </method> | |
27969 | <method name="SetColAttr" type="" overloaded="no"> | |
781d2982 | 27970 | <autodoc>SetColAttr(self, GridCellAttr attr, int col)</autodoc> |
f32fc4bc RD |
27971 | <paramlist> |
27972 | <param name="attr" type="GridCellAttr" default=""/> | |
27973 | <param name="col" type="int" default=""/> | |
27974 | </paramlist> | |
27975 | </method> | |
27976 | <method name="UpdateAttrRows" type="" overloaded="no"> | |
781d2982 | 27977 | <autodoc>UpdateAttrRows(self, size_t pos, int numRows)</autodoc> |
f32fc4bc RD |
27978 | <paramlist> |
27979 | <param name="pos" type="size_t" default=""/> | |
27980 | <param name="numRows" type="int" default=""/> | |
27981 | </paramlist> | |
27982 | </method> | |
27983 | <method name="UpdateAttrCols" type="" overloaded="no"> | |
781d2982 | 27984 | <autodoc>UpdateAttrCols(self, size_t pos, int numCols)</autodoc> |
f32fc4bc RD |
27985 | <paramlist> |
27986 | <param name="pos" type="size_t" default=""/> | |
27987 | <param name="numCols" type="int" default=""/> | |
27988 | </paramlist> | |
27989 | </method> | |
27990 | </class> | |
27991 | <class name="PyGridCellAttrProvider" oldname="wxPyGridCellAttrProvider" module="grid"> | |
27992 | <baseclass name="GridCellAttrProvider"/> | |
27993 | <constructor name="PyGridCellAttrProvider" overloaded="no"> | |
781d2982 | 27994 | <autodoc>__init__(self) -> PyGridCellAttrProvider</autodoc> |
f32fc4bc RD |
27995 | </constructor> |
27996 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 27997 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
27998 | <paramlist> |
27999 | <param name="self" type="PyObject" default=""/> | |
28000 | <param name="_class" type="PyObject" default=""/> | |
28001 | </paramlist> | |
28002 | </method> | |
28003 | <method name="base_GetAttr" type="GridCellAttr" overloaded="no"> | |
781d2982 | 28004 | <autodoc>base_GetAttr(self, int row, int col, int kind) -> GridCellAttr</autodoc> |
f32fc4bc RD |
28005 | <paramlist> |
28006 | <param name="row" type="int" default=""/> | |
28007 | <param name="col" type="int" default=""/> | |
28008 | <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/> | |
28009 | </paramlist> | |
28010 | </method> | |
28011 | <method name="base_SetAttr" type="" overloaded="no"> | |
781d2982 | 28012 | <autodoc>base_SetAttr(self, GridCellAttr attr, int row, int col)</autodoc> |
f32fc4bc RD |
28013 | <paramlist> |
28014 | <param name="attr" type="GridCellAttr" default=""/> | |
28015 | <param name="row" type="int" default=""/> | |
28016 | <param name="col" type="int" default=""/> | |
28017 | </paramlist> | |
28018 | </method> | |
28019 | <method name="base_SetRowAttr" type="" overloaded="no"> | |
781d2982 | 28020 | <autodoc>base_SetRowAttr(self, GridCellAttr attr, int row)</autodoc> |
f32fc4bc RD |
28021 | <paramlist> |
28022 | <param name="attr" type="GridCellAttr" default=""/> | |
28023 | <param name="row" type="int" default=""/> | |
28024 | </paramlist> | |
28025 | </method> | |
28026 | <method name="base_SetColAttr" type="" overloaded="no"> | |
781d2982 | 28027 | <autodoc>base_SetColAttr(self, GridCellAttr attr, int col)</autodoc> |
f32fc4bc RD |
28028 | <paramlist> |
28029 | <param name="attr" type="GridCellAttr" default=""/> | |
28030 | <param name="col" type="int" default=""/> | |
28031 | </paramlist> | |
28032 | </method> | |
28033 | </class> | |
28034 | <class name="GridTableBase" oldname="wxGridTableBase" module="grid"> | |
28035 | <baseclass name="Object"/> | |
28036 | <method name="_setOORInfo" type="" overloaded="no"> | |
781d2982 | 28037 | <autodoc>_setOORInfo(self, PyObject _self)</autodoc> |
f32fc4bc RD |
28038 | <paramlist> |
28039 | <param name="_self" type="PyObject" default=""/> | |
28040 | </paramlist> | |
28041 | </method> | |
28042 | <method name="SetAttrProvider" type="" overloaded="no"> | |
781d2982 | 28043 | <autodoc>SetAttrProvider(self, GridCellAttrProvider attrProvider)</autodoc> |
f32fc4bc RD |
28044 | <paramlist> |
28045 | <param name="attrProvider" type="GridCellAttrProvider" default=""/> | |
28046 | </paramlist> | |
28047 | </method> | |
28048 | <method name="GetAttrProvider" type="GridCellAttrProvider" overloaded="no"> | |
781d2982 | 28049 | <autodoc>GetAttrProvider(self) -> GridCellAttrProvider</autodoc> |
f32fc4bc RD |
28050 | </method> |
28051 | <method name="SetView" type="" overloaded="no"> | |
781d2982 | 28052 | <autodoc>SetView(self, Grid grid)</autodoc> |
f32fc4bc RD |
28053 | <paramlist> |
28054 | <param name="grid" type="wxGrid" default=""/> | |
28055 | </paramlist> | |
28056 | </method> | |
28057 | <method name="GetView" type="wxGrid" overloaded="no"> | |
781d2982 | 28058 | <autodoc>GetView(self) -> Grid</autodoc> |
f32fc4bc RD |
28059 | </method> |
28060 | <method name="GetNumberRows" type="int" overloaded="no"> | |
781d2982 | 28061 | <autodoc>GetNumberRows(self) -> int</autodoc> |
f32fc4bc RD |
28062 | </method> |
28063 | <method name="GetNumberCols" type="int" overloaded="no"> | |
781d2982 | 28064 | <autodoc>GetNumberCols(self) -> int</autodoc> |
f32fc4bc RD |
28065 | </method> |
28066 | <method name="IsEmptyCell" type="bool" overloaded="no"> | |
781d2982 | 28067 | <autodoc>IsEmptyCell(self, int row, int col) -> bool</autodoc> |
f32fc4bc RD |
28068 | <paramlist> |
28069 | <param name="row" type="int" default=""/> | |
28070 | <param name="col" type="int" default=""/> | |
28071 | </paramlist> | |
28072 | </method> | |
28073 | <method name="GetValue" type="String" overloaded="no"> | |
781d2982 | 28074 | <autodoc>GetValue(self, int row, int col) -> String</autodoc> |
f32fc4bc RD |
28075 | <paramlist> |
28076 | <param name="row" type="int" default=""/> | |
28077 | <param name="col" type="int" default=""/> | |
28078 | </paramlist> | |
28079 | </method> | |
28080 | <method name="SetValue" type="" overloaded="no"> | |
781d2982 | 28081 | <autodoc>SetValue(self, int row, int col, String value)</autodoc> |
f32fc4bc RD |
28082 | <paramlist> |
28083 | <param name="row" type="int" default=""/> | |
28084 | <param name="col" type="int" default=""/> | |
28085 | <param name="value" type="String" default=""/> | |
28086 | </paramlist> | |
28087 | </method> | |
28088 | <method name="GetTypeName" type="String" overloaded="no"> | |
781d2982 | 28089 | <autodoc>GetTypeName(self, int row, int col) -> String</autodoc> |
f32fc4bc RD |
28090 | <paramlist> |
28091 | <param name="row" type="int" default=""/> | |
28092 | <param name="col" type="int" default=""/> | |
28093 | </paramlist> | |
28094 | </method> | |
28095 | <method name="CanGetValueAs" type="bool" overloaded="no"> | |
781d2982 | 28096 | <autodoc>CanGetValueAs(self, int row, int col, String typeName) -> bool</autodoc> |
f32fc4bc RD |
28097 | <paramlist> |
28098 | <param name="row" type="int" default=""/> | |
28099 | <param name="col" type="int" default=""/> | |
28100 | <param name="typeName" type="String" default=""/> | |
28101 | </paramlist> | |
28102 | </method> | |
28103 | <method name="CanSetValueAs" type="bool" overloaded="no"> | |
781d2982 | 28104 | <autodoc>CanSetValueAs(self, int row, int col, String typeName) -> bool</autodoc> |
f32fc4bc RD |
28105 | <paramlist> |
28106 | <param name="row" type="int" default=""/> | |
28107 | <param name="col" type="int" default=""/> | |
28108 | <param name="typeName" type="String" default=""/> | |
28109 | </paramlist> | |
28110 | </method> | |
28111 | <method name="GetValueAsLong" type="long" overloaded="no"> | |
781d2982 | 28112 | <autodoc>GetValueAsLong(self, int row, int col) -> long</autodoc> |
f32fc4bc RD |
28113 | <paramlist> |
28114 | <param name="row" type="int" default=""/> | |
28115 | <param name="col" type="int" default=""/> | |
28116 | </paramlist> | |
28117 | </method> | |
28118 | <method name="GetValueAsDouble" type="double" overloaded="no"> | |
781d2982 | 28119 | <autodoc>GetValueAsDouble(self, int row, int col) -> double</autodoc> |
f32fc4bc RD |
28120 | <paramlist> |
28121 | <param name="row" type="int" default=""/> | |
28122 | <param name="col" type="int" default=""/> | |
28123 | </paramlist> | |
28124 | </method> | |
28125 | <method name="GetValueAsBool" type="bool" overloaded="no"> | |
781d2982 | 28126 | <autodoc>GetValueAsBool(self, int row, int col) -> bool</autodoc> |
f32fc4bc RD |
28127 | <paramlist> |
28128 | <param name="row" type="int" default=""/> | |
28129 | <param name="col" type="int" default=""/> | |
28130 | </paramlist> | |
28131 | </method> | |
28132 | <method name="SetValueAsLong" type="" overloaded="no"> | |
781d2982 | 28133 | <autodoc>SetValueAsLong(self, int row, int col, long value)</autodoc> |
f32fc4bc RD |
28134 | <paramlist> |
28135 | <param name="row" type="int" default=""/> | |
28136 | <param name="col" type="int" default=""/> | |
28137 | <param name="value" type="long" default=""/> | |
28138 | </paramlist> | |
28139 | </method> | |
28140 | <method name="SetValueAsDouble" type="" overloaded="no"> | |
781d2982 | 28141 | <autodoc>SetValueAsDouble(self, int row, int col, double value)</autodoc> |
f32fc4bc RD |
28142 | <paramlist> |
28143 | <param name="row" type="int" default=""/> | |
28144 | <param name="col" type="int" default=""/> | |
28145 | <param name="value" type="double" default=""/> | |
28146 | </paramlist> | |
28147 | </method> | |
28148 | <method name="SetValueAsBool" type="" overloaded="no"> | |
781d2982 | 28149 | <autodoc>SetValueAsBool(self, int row, int col, bool value)</autodoc> |
f32fc4bc RD |
28150 | <paramlist> |
28151 | <param name="row" type="int" default=""/> | |
28152 | <param name="col" type="int" default=""/> | |
28153 | <param name="value" type="bool" default=""/> | |
28154 | </paramlist> | |
28155 | </method> | |
28156 | <method name="Clear" type="" overloaded="no"> | |
781d2982 | 28157 | <autodoc>Clear(self)</autodoc> |
f32fc4bc RD |
28158 | </method> |
28159 | <method name="InsertRows" type="bool" overloaded="no"> | |
781d2982 | 28160 | <autodoc>InsertRows(self, size_t pos=0, size_t numRows=1) -> bool</autodoc> |
f32fc4bc RD |
28161 | <paramlist> |
28162 | <param name="pos" type="size_t" default="0"/> | |
28163 | <param name="numRows" type="size_t" default="1"/> | |
28164 | </paramlist> | |
28165 | </method> | |
28166 | <method name="AppendRows" type="bool" overloaded="no"> | |
781d2982 | 28167 | <autodoc>AppendRows(self, size_t numRows=1) -> bool</autodoc> |
f32fc4bc RD |
28168 | <paramlist> |
28169 | <param name="numRows" type="size_t" default="1"/> | |
28170 | </paramlist> | |
28171 | </method> | |
28172 | <method name="DeleteRows" type="bool" overloaded="no"> | |
781d2982 | 28173 | <autodoc>DeleteRows(self, size_t pos=0, size_t numRows=1) -> bool</autodoc> |
f32fc4bc RD |
28174 | <paramlist> |
28175 | <param name="pos" type="size_t" default="0"/> | |
28176 | <param name="numRows" type="size_t" default="1"/> | |
28177 | </paramlist> | |
28178 | </method> | |
28179 | <method name="InsertCols" type="bool" overloaded="no"> | |
781d2982 | 28180 | <autodoc>InsertCols(self, size_t pos=0, size_t numCols=1) -> bool</autodoc> |
f32fc4bc RD |
28181 | <paramlist> |
28182 | <param name="pos" type="size_t" default="0"/> | |
28183 | <param name="numCols" type="size_t" default="1"/> | |
28184 | </paramlist> | |
28185 | </method> | |
28186 | <method name="AppendCols" type="bool" overloaded="no"> | |
781d2982 | 28187 | <autodoc>AppendCols(self, size_t numCols=1) -> bool</autodoc> |
f32fc4bc RD |
28188 | <paramlist> |
28189 | <param name="numCols" type="size_t" default="1"/> | |
28190 | </paramlist> | |
28191 | </method> | |
28192 | <method name="DeleteCols" type="bool" overloaded="no"> | |
781d2982 | 28193 | <autodoc>DeleteCols(self, size_t pos=0, size_t numCols=1) -> bool</autodoc> |
f32fc4bc RD |
28194 | <paramlist> |
28195 | <param name="pos" type="size_t" default="0"/> | |
28196 | <param name="numCols" type="size_t" default="1"/> | |
28197 | </paramlist> | |
28198 | </method> | |
28199 | <method name="GetRowLabelValue" type="String" overloaded="no"> | |
781d2982 | 28200 | <autodoc>GetRowLabelValue(self, int row) -> String</autodoc> |
f32fc4bc RD |
28201 | <paramlist> |
28202 | <param name="row" type="int" default=""/> | |
28203 | </paramlist> | |
28204 | </method> | |
28205 | <method name="GetColLabelValue" type="String" overloaded="no"> | |
781d2982 | 28206 | <autodoc>GetColLabelValue(self, int col) -> String</autodoc> |
f32fc4bc RD |
28207 | <paramlist> |
28208 | <param name="col" type="int" default=""/> | |
28209 | </paramlist> | |
28210 | </method> | |
28211 | <method name="SetRowLabelValue" type="" overloaded="no"> | |
781d2982 | 28212 | <autodoc>SetRowLabelValue(self, int row, String value)</autodoc> |
f32fc4bc RD |
28213 | <paramlist> |
28214 | <param name="row" type="int" default=""/> | |
28215 | <param name="value" type="String" default=""/> | |
28216 | </paramlist> | |
28217 | </method> | |
28218 | <method name="SetColLabelValue" type="" overloaded="no"> | |
781d2982 | 28219 | <autodoc>SetColLabelValue(self, int col, String value)</autodoc> |
f32fc4bc RD |
28220 | <paramlist> |
28221 | <param name="col" type="int" default=""/> | |
28222 | <param name="value" type="String" default=""/> | |
28223 | </paramlist> | |
28224 | </method> | |
28225 | <method name="CanHaveAttributes" type="bool" overloaded="no"> | |
781d2982 | 28226 | <autodoc>CanHaveAttributes(self) -> bool</autodoc> |
f32fc4bc RD |
28227 | </method> |
28228 | <method name="GetAttr" type="GridCellAttr" overloaded="no"> | |
781d2982 | 28229 | <autodoc>GetAttr(self, int row, int col, int kind) -> GridCellAttr</autodoc> |
f32fc4bc RD |
28230 | <paramlist> |
28231 | <param name="row" type="int" default=""/> | |
28232 | <param name="col" type="int" default=""/> | |
28233 | <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/> | |
28234 | </paramlist> | |
28235 | </method> | |
28236 | <method name="SetAttr" type="" overloaded="no"> | |
781d2982 | 28237 | <autodoc>SetAttr(self, GridCellAttr attr, int row, int col)</autodoc> |
f32fc4bc RD |
28238 | <paramlist> |
28239 | <param name="attr" type="GridCellAttr" default=""/> | |
28240 | <param name="row" type="int" default=""/> | |
28241 | <param name="col" type="int" default=""/> | |
28242 | </paramlist> | |
28243 | </method> | |
28244 | <method name="SetRowAttr" type="" overloaded="no"> | |
781d2982 | 28245 | <autodoc>SetRowAttr(self, GridCellAttr attr, int row)</autodoc> |
f32fc4bc RD |
28246 | <paramlist> |
28247 | <param name="attr" type="GridCellAttr" default=""/> | |
28248 | <param name="row" type="int" default=""/> | |
28249 | </paramlist> | |
28250 | </method> | |
28251 | <method name="SetColAttr" type="" overloaded="no"> | |
781d2982 | 28252 | <autodoc>SetColAttr(self, GridCellAttr attr, int col)</autodoc> |
f32fc4bc RD |
28253 | <paramlist> |
28254 | <param name="attr" type="GridCellAttr" default=""/> | |
28255 | <param name="col" type="int" default=""/> | |
28256 | </paramlist> | |
28257 | </method> | |
28258 | </class> | |
28259 | <class name="PyGridTableBase" oldname="wxPyGridTableBase" module="grid"> | |
28260 | <baseclass name="GridTableBase"/> | |
28261 | <constructor name="PyGridTableBase" overloaded="no"> | |
781d2982 | 28262 | <autodoc>__init__(self) -> PyGridTableBase</autodoc> |
f32fc4bc RD |
28263 | </constructor> |
28264 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 28265 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
28266 | <paramlist> |
28267 | <param name="self" type="PyObject" default=""/> | |
28268 | <param name="_class" type="PyObject" default=""/> | |
28269 | </paramlist> | |
28270 | </method> | |
28271 | <method name="Destroy" type="" overloaded="no"> | |
781d2982 | 28272 | <autodoc>Destroy(self)</autodoc> |
f32fc4bc RD |
28273 | <docstring>Deletes the C++ object this Python object is a proxy for.</docstring> |
28274 | </method> | |
28275 | <method name="base_GetTypeName" type="String" overloaded="no"> | |
781d2982 | 28276 | <autodoc>base_GetTypeName(self, int row, int col) -> String</autodoc> |
f32fc4bc RD |
28277 | <paramlist> |
28278 | <param name="row" type="int" default=""/> | |
28279 | <param name="col" type="int" default=""/> | |
28280 | </paramlist> | |
28281 | </method> | |
28282 | <method name="base_CanGetValueAs" type="bool" overloaded="no"> | |
781d2982 | 28283 | <autodoc>base_CanGetValueAs(self, int row, int col, String typeName) -> bool</autodoc> |
f32fc4bc RD |
28284 | <paramlist> |
28285 | <param name="row" type="int" default=""/> | |
28286 | <param name="col" type="int" default=""/> | |
28287 | <param name="typeName" type="String" default=""/> | |
28288 | </paramlist> | |
28289 | </method> | |
28290 | <method name="base_CanSetValueAs" type="bool" overloaded="no"> | |
781d2982 | 28291 | <autodoc>base_CanSetValueAs(self, int row, int col, String typeName) -> bool</autodoc> |
f32fc4bc RD |
28292 | <paramlist> |
28293 | <param name="row" type="int" default=""/> | |
28294 | <param name="col" type="int" default=""/> | |
28295 | <param name="typeName" type="String" default=""/> | |
28296 | </paramlist> | |
28297 | </method> | |
28298 | <method name="base_Clear" type="" overloaded="no"> | |
781d2982 | 28299 | <autodoc>base_Clear(self)</autodoc> |
f32fc4bc RD |
28300 | </method> |
28301 | <method name="base_InsertRows" type="bool" overloaded="no"> | |
781d2982 | 28302 | <autodoc>base_InsertRows(self, size_t pos=0, size_t numRows=1) -> bool</autodoc> |
f32fc4bc RD |
28303 | <paramlist> |
28304 | <param name="pos" type="size_t" default="0"/> | |
28305 | <param name="numRows" type="size_t" default="1"/> | |
28306 | </paramlist> | |
28307 | </method> | |
28308 | <method name="base_AppendRows" type="bool" overloaded="no"> | |
781d2982 | 28309 | <autodoc>base_AppendRows(self, size_t numRows=1) -> bool</autodoc> |
f32fc4bc RD |
28310 | <paramlist> |
28311 | <param name="numRows" type="size_t" default="1"/> | |
28312 | </paramlist> | |
28313 | </method> | |
28314 | <method name="base_DeleteRows" type="bool" overloaded="no"> | |
781d2982 | 28315 | <autodoc>base_DeleteRows(self, size_t pos=0, size_t numRows=1) -> bool</autodoc> |
f32fc4bc RD |
28316 | <paramlist> |
28317 | <param name="pos" type="size_t" default="0"/> | |
28318 | <param name="numRows" type="size_t" default="1"/> | |
28319 | </paramlist> | |
28320 | </method> | |
28321 | <method name="base_InsertCols" type="bool" overloaded="no"> | |
781d2982 | 28322 | <autodoc>base_InsertCols(self, size_t pos=0, size_t numCols=1) -> bool</autodoc> |
f32fc4bc RD |
28323 | <paramlist> |
28324 | <param name="pos" type="size_t" default="0"/> | |
28325 | <param name="numCols" type="size_t" default="1"/> | |
28326 | </paramlist> | |
28327 | </method> | |
28328 | <method name="base_AppendCols" type="bool" overloaded="no"> | |
781d2982 | 28329 | <autodoc>base_AppendCols(self, size_t numCols=1) -> bool</autodoc> |
f32fc4bc RD |
28330 | <paramlist> |
28331 | <param name="numCols" type="size_t" default="1"/> | |
28332 | </paramlist> | |
28333 | </method> | |
28334 | <method name="base_DeleteCols" type="bool" overloaded="no"> | |
781d2982 | 28335 | <autodoc>base_DeleteCols(self, size_t pos=0, size_t numCols=1) -> bool</autodoc> |
f32fc4bc RD |
28336 | <paramlist> |
28337 | <param name="pos" type="size_t" default="0"/> | |
28338 | <param name="numCols" type="size_t" default="1"/> | |
28339 | </paramlist> | |
28340 | </method> | |
28341 | <method name="base_GetRowLabelValue" type="String" overloaded="no"> | |
781d2982 | 28342 | <autodoc>base_GetRowLabelValue(self, int row) -> String</autodoc> |
f32fc4bc RD |
28343 | <paramlist> |
28344 | <param name="row" type="int" default=""/> | |
28345 | </paramlist> | |
28346 | </method> | |
28347 | <method name="base_GetColLabelValue" type="String" overloaded="no"> | |
781d2982 | 28348 | <autodoc>base_GetColLabelValue(self, int col) -> String</autodoc> |
f32fc4bc RD |
28349 | <paramlist> |
28350 | <param name="col" type="int" default=""/> | |
28351 | </paramlist> | |
28352 | </method> | |
28353 | <method name="base_SetRowLabelValue" type="" overloaded="no"> | |
781d2982 | 28354 | <autodoc>base_SetRowLabelValue(self, int row, String value)</autodoc> |
f32fc4bc RD |
28355 | <paramlist> |
28356 | <param name="row" type="int" default=""/> | |
28357 | <param name="value" type="String" default=""/> | |
28358 | </paramlist> | |
28359 | </method> | |
28360 | <method name="base_SetColLabelValue" type="" overloaded="no"> | |
781d2982 | 28361 | <autodoc>base_SetColLabelValue(self, int col, String value)</autodoc> |
f32fc4bc RD |
28362 | <paramlist> |
28363 | <param name="col" type="int" default=""/> | |
28364 | <param name="value" type="String" default=""/> | |
28365 | </paramlist> | |
28366 | </method> | |
28367 | <method name="base_CanHaveAttributes" type="bool" overloaded="no"> | |
781d2982 | 28368 | <autodoc>base_CanHaveAttributes(self) -> bool</autodoc> |
f32fc4bc RD |
28369 | </method> |
28370 | <method name="base_GetAttr" type="GridCellAttr" overloaded="no"> | |
781d2982 | 28371 | <autodoc>base_GetAttr(self, int row, int col, int kind) -> GridCellAttr</autodoc> |
f32fc4bc RD |
28372 | <paramlist> |
28373 | <param name="row" type="int" default=""/> | |
28374 | <param name="col" type="int" default=""/> | |
28375 | <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/> | |
28376 | </paramlist> | |
28377 | </method> | |
28378 | <method name="base_SetAttr" type="" overloaded="no"> | |
781d2982 | 28379 | <autodoc>base_SetAttr(self, GridCellAttr attr, int row, int col)</autodoc> |
f32fc4bc RD |
28380 | <paramlist> |
28381 | <param name="attr" type="GridCellAttr" default=""/> | |
28382 | <param name="row" type="int" default=""/> | |
28383 | <param name="col" type="int" default=""/> | |
28384 | </paramlist> | |
28385 | </method> | |
28386 | <method name="base_SetRowAttr" type="" overloaded="no"> | |
781d2982 | 28387 | <autodoc>base_SetRowAttr(self, GridCellAttr attr, int row)</autodoc> |
f32fc4bc RD |
28388 | <paramlist> |
28389 | <param name="attr" type="GridCellAttr" default=""/> | |
28390 | <param name="row" type="int" default=""/> | |
28391 | </paramlist> | |
28392 | </method> | |
28393 | <method name="base_SetColAttr" type="" overloaded="no"> | |
781d2982 | 28394 | <autodoc>base_SetColAttr(self, GridCellAttr attr, int col)</autodoc> |
f32fc4bc RD |
28395 | <paramlist> |
28396 | <param name="attr" type="GridCellAttr" default=""/> | |
28397 | <param name="col" type="int" default=""/> | |
28398 | </paramlist> | |
28399 | </method> | |
28400 | </class> | |
28401 | <class name="GridStringTable" oldname="wxGridStringTable" module="grid"> | |
28402 | <baseclass name="GridTableBase"/> | |
28403 | <constructor name="GridStringTable" overloaded="no"> | |
781d2982 | 28404 | <autodoc>__init__(self, int numRows=0, int numCols=0) -> GridStringTable</autodoc> |
f32fc4bc RD |
28405 | <paramlist> |
28406 | <param name="numRows" type="int" default="0"/> | |
28407 | <param name="numCols" type="int" default="0"/> | |
28408 | </paramlist> | |
28409 | </constructor> | |
28410 | </class> | |
28411 | <class name="GridTableMessage" oldname="wxGridTableMessage" module="grid"> | |
28412 | <constructor name="GridTableMessage" overloaded="no"> | |
781d2982 | 28413 | <autodoc>__init__(self, GridTableBase table, int id, int comInt1=-1, int comInt2=-1) -> GridTableMessage</autodoc> |
f32fc4bc RD |
28414 | <paramlist> |
28415 | <param name="table" type="GridTableBase" default=""/> | |
28416 | <param name="id" type="int" default=""/> | |
28417 | <param name="comInt1" type="int" default="-1"/> | |
28418 | <param name="comInt2" type="int" default="-1"/> | |
28419 | </paramlist> | |
28420 | </constructor> | |
28421 | <destructor name="~wxGridTableMessage" overloaded="no"> | |
781d2982 | 28422 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
28423 | </destructor> |
28424 | <method name="SetTableObject" type="" overloaded="no"> | |
781d2982 | 28425 | <autodoc>SetTableObject(self, GridTableBase table)</autodoc> |
f32fc4bc RD |
28426 | <paramlist> |
28427 | <param name="table" type="GridTableBase" default=""/> | |
28428 | </paramlist> | |
28429 | </method> | |
28430 | <method name="GetTableObject" type="GridTableBase" overloaded="no"> | |
781d2982 | 28431 | <autodoc>GetTableObject(self) -> GridTableBase</autodoc> |
f32fc4bc RD |
28432 | </method> |
28433 | <method name="SetId" type="" overloaded="no"> | |
781d2982 | 28434 | <autodoc>SetId(self, int id)</autodoc> |
f32fc4bc RD |
28435 | <paramlist> |
28436 | <param name="id" type="int" default=""/> | |
28437 | </paramlist> | |
28438 | </method> | |
28439 | <method name="GetId" type="int" overloaded="no"> | |
781d2982 | 28440 | <autodoc>GetId(self) -> int</autodoc> |
f32fc4bc RD |
28441 | </method> |
28442 | <method name="SetCommandInt" type="" overloaded="no"> | |
781d2982 | 28443 | <autodoc>SetCommandInt(self, int comInt1)</autodoc> |
f32fc4bc RD |
28444 | <paramlist> |
28445 | <param name="comInt1" type="int" default=""/> | |
28446 | </paramlist> | |
28447 | </method> | |
28448 | <method name="GetCommandInt" type="int" overloaded="no"> | |
781d2982 | 28449 | <autodoc>GetCommandInt(self) -> int</autodoc> |
f32fc4bc RD |
28450 | </method> |
28451 | <method name="SetCommandInt2" type="" overloaded="no"> | |
781d2982 | 28452 | <autodoc>SetCommandInt2(self, int comInt2)</autodoc> |
f32fc4bc RD |
28453 | <paramlist> |
28454 | <param name="comInt2" type="int" default=""/> | |
28455 | </paramlist> | |
28456 | </method> | |
28457 | <method name="GetCommandInt2" type="int" overloaded="no"> | |
781d2982 | 28458 | <autodoc>GetCommandInt2(self) -> int</autodoc> |
f32fc4bc RD |
28459 | </method> |
28460 | </class> | |
28461 | <class name="GridCellCoords" oldname="wxGridCellCoords" module="grid"> | |
28462 | <constructor name="GridCellCoords" overloaded="no"> | |
781d2982 | 28463 | <autodoc>__init__(self, int r=-1, int c=-1) -> GridCellCoords</autodoc> |
f32fc4bc RD |
28464 | <paramlist> |
28465 | <param name="r" type="int" default="-1"/> | |
28466 | <param name="c" type="int" default="-1"/> | |
28467 | </paramlist> | |
28468 | </constructor> | |
28469 | <destructor name="~wxGridCellCoords" overloaded="no"> | |
781d2982 | 28470 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
28471 | </destructor> |
28472 | <method name="GetRow" type="int" overloaded="no"> | |
781d2982 | 28473 | <autodoc>GetRow(self) -> int</autodoc> |
f32fc4bc RD |
28474 | </method> |
28475 | <method name="SetRow" type="" overloaded="no"> | |
781d2982 | 28476 | <autodoc>SetRow(self, int n)</autodoc> |
f32fc4bc RD |
28477 | <paramlist> |
28478 | <param name="n" type="int" default=""/> | |
28479 | </paramlist> | |
28480 | </method> | |
28481 | <method name="GetCol" type="int" overloaded="no"> | |
781d2982 | 28482 | <autodoc>GetCol(self) -> int</autodoc> |
f32fc4bc RD |
28483 | </method> |
28484 | <method name="SetCol" type="" overloaded="no"> | |
781d2982 | 28485 | <autodoc>SetCol(self, int n)</autodoc> |
f32fc4bc RD |
28486 | <paramlist> |
28487 | <param name="n" type="int" default=""/> | |
28488 | </paramlist> | |
28489 | </method> | |
28490 | <method name="Set" type="" overloaded="no"> | |
781d2982 | 28491 | <autodoc>Set(self, int row, int col)</autodoc> |
f32fc4bc RD |
28492 | <paramlist> |
28493 | <param name="row" type="int" default=""/> | |
28494 | <param name="col" type="int" default=""/> | |
28495 | </paramlist> | |
28496 | </method> | |
28497 | <method name="__eq__" type="bool" overloaded="no"> | |
781d2982 | 28498 | <autodoc>__eq__(self, GridCellCoords other) -> bool</autodoc> |
f32fc4bc RD |
28499 | <paramlist> |
28500 | <param name="other" type="GridCellCoords" default=""/> | |
28501 | </paramlist> | |
28502 | </method> | |
28503 | <method name="__ne__" type="bool" overloaded="no"> | |
781d2982 | 28504 | <autodoc>__ne__(self, GridCellCoords other) -> bool</autodoc> |
f32fc4bc RD |
28505 | <paramlist> |
28506 | <param name="other" type="GridCellCoords" default=""/> | |
28507 | </paramlist> | |
28508 | </method> | |
781d2982 RD |
28509 | <method name="Get" type="PyObject" overloaded="no"> |
28510 | <autodoc>Get(self) -> PyObject</autodoc> | |
f32fc4bc RD |
28511 | </method> |
28512 | </class> | |
28513 | <class name="Grid" oldname="wxGrid" module="grid"> | |
28514 | <baseclass name="ScrolledWindow"/> | |
28515 | <constructor name="Grid" overloaded="no"> | |
781d2982 RD |
28516 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
28517 | Size size=DefaultSize, long style=WANTS_CHARS, | |
f32fc4bc RD |
28518 | String name=PanelNameStr) -> Grid</autodoc> |
28519 | <paramlist> | |
28520 | <param name="parent" type="Window" default=""/> | |
781d2982 | 28521 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
28522 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
28523 | <param name="size" type="Size" default="wxDefaultSize"/> | |
28524 | <param name="style" type="long" default="wxWANTS_CHARS"/> | |
28525 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
28526 | </paramlist> | |
28527 | </constructor> | |
781d2982 RD |
28528 | <constructor name="PreGrid" overloaded="no"> |
28529 | <autodoc>PreGrid() -> Grid</autodoc> | |
28530 | </constructor> | |
28531 | <method name="Create" type="bool" overloaded="no"> | |
28532 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, | |
28533 | Size size=DefaultSize, long style=WANTS_CHARS, | |
28534 | String name=PanelNameStr) -> bool</autodoc> | |
28535 | <paramlist> | |
28536 | <param name="parent" type="Window" default=""/> | |
28537 | <param name="id" type="int" default="-1"/> | |
28538 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
28539 | <param name="size" type="Size" default="wxDefaultSize"/> | |
28540 | <param name="style" type="long" default="wxWANTS_CHARS"/> | |
28541 | <param name="name" type="String" default="wxPyPanelNameStr"/> | |
28542 | </paramlist> | |
28543 | </method> | |
f32fc4bc | 28544 | <method name="CreateGrid" type="bool" overloaded="no"> |
781d2982 | 28545 | <autodoc>CreateGrid(self, int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool</autodoc> |
f32fc4bc RD |
28546 | <paramlist> |
28547 | <param name="numRows" type="int" default=""/> | |
28548 | <param name="numCols" type="int" default=""/> | |
28549 | <param name="selmode" type="WXGRIDSELECTIONMODES" default="wxGrid::wxGridSelectCells"/> | |
28550 | </paramlist> | |
28551 | </method> | |
28552 | <method name="SetSelectionMode" type="" overloaded="no"> | |
781d2982 | 28553 | <autodoc>SetSelectionMode(self, WXGRIDSELECTIONMODES selmode)</autodoc> |
f32fc4bc RD |
28554 | <paramlist> |
28555 | <param name="selmode" type="WXGRIDSELECTIONMODES" default=""/> | |
28556 | </paramlist> | |
28557 | </method> | |
28558 | <method name="GetSelectionMode" type="WXGRIDSELECTIONMODES" overloaded="no"> | |
781d2982 | 28559 | <autodoc>GetSelectionMode(self) -> WXGRIDSELECTIONMODES</autodoc> |
f32fc4bc RD |
28560 | </method> |
28561 | <method name="GetNumberRows" type="int" overloaded="no"> | |
781d2982 | 28562 | <autodoc>GetNumberRows(self) -> int</autodoc> |
f32fc4bc RD |
28563 | </method> |
28564 | <method name="GetNumberCols" type="int" overloaded="no"> | |
781d2982 | 28565 | <autodoc>GetNumberCols(self) -> int</autodoc> |
f32fc4bc RD |
28566 | </method> |
28567 | <method name="ProcessTableMessage" type="bool" overloaded="no"> | |
781d2982 | 28568 | <autodoc>ProcessTableMessage(self, GridTableMessage ??) -> bool</autodoc> |
f32fc4bc RD |
28569 | <paramlist> |
28570 | <param name="" type="GridTableMessage" default=""/> | |
28571 | </paramlist> | |
28572 | </method> | |
28573 | <method name="GetTable" type="GridTableBase" overloaded="no"> | |
781d2982 | 28574 | <autodoc>GetTable(self) -> GridTableBase</autodoc> |
f32fc4bc RD |
28575 | </method> |
28576 | <method name="SetTable" type="bool" overloaded="no"> | |
781d2982 | 28577 | <autodoc>SetTable(self, GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool</autodoc> |
f32fc4bc RD |
28578 | <paramlist> |
28579 | <param name="table" type="GridTableBase" default=""/> | |
28580 | <param name="takeOwnership" type="bool" default="False"/> | |
28581 | <param name="selmode" type="WXGRIDSELECTIONMODES" default="wxGrid::wxGridSelectCells"/> | |
28582 | </paramlist> | |
28583 | </method> | |
28584 | <method name="ClearGrid" type="" overloaded="no"> | |
781d2982 | 28585 | <autodoc>ClearGrid(self)</autodoc> |
f32fc4bc RD |
28586 | </method> |
28587 | <method name="InsertRows" type="bool" overloaded="no"> | |
781d2982 | 28588 | <autodoc>InsertRows(self, int pos=0, int numRows=1, bool updateLabels=True) -> bool</autodoc> |
f32fc4bc RD |
28589 | <paramlist> |
28590 | <param name="pos" type="int" default="0"/> | |
28591 | <param name="numRows" type="int" default="1"/> | |
28592 | <param name="updateLabels" type="bool" default="True"/> | |
28593 | </paramlist> | |
28594 | </method> | |
28595 | <method name="AppendRows" type="bool" overloaded="no"> | |
781d2982 | 28596 | <autodoc>AppendRows(self, int numRows=1, bool updateLabels=True) -> bool</autodoc> |
f32fc4bc RD |
28597 | <paramlist> |
28598 | <param name="numRows" type="int" default="1"/> | |
28599 | <param name="updateLabels" type="bool" default="True"/> | |
28600 | </paramlist> | |
28601 | </method> | |
28602 | <method name="DeleteRows" type="bool" overloaded="no"> | |
781d2982 | 28603 | <autodoc>DeleteRows(self, int pos=0, int numRows=1, bool updateLabels=True) -> bool</autodoc> |
f32fc4bc RD |
28604 | <paramlist> |
28605 | <param name="pos" type="int" default="0"/> | |
28606 | <param name="numRows" type="int" default="1"/> | |
28607 | <param name="updateLabels" type="bool" default="True"/> | |
28608 | </paramlist> | |
28609 | </method> | |
28610 | <method name="InsertCols" type="bool" overloaded="no"> | |
781d2982 | 28611 | <autodoc>InsertCols(self, int pos=0, int numCols=1, bool updateLabels=True) -> bool</autodoc> |
f32fc4bc RD |
28612 | <paramlist> |
28613 | <param name="pos" type="int" default="0"/> | |
28614 | <param name="numCols" type="int" default="1"/> | |
28615 | <param name="updateLabels" type="bool" default="True"/> | |
28616 | </paramlist> | |
28617 | </method> | |
28618 | <method name="AppendCols" type="bool" overloaded="no"> | |
781d2982 | 28619 | <autodoc>AppendCols(self, int numCols=1, bool updateLabels=True) -> bool</autodoc> |
f32fc4bc RD |
28620 | <paramlist> |
28621 | <param name="numCols" type="int" default="1"/> | |
28622 | <param name="updateLabels" type="bool" default="True"/> | |
28623 | </paramlist> | |
28624 | </method> | |
28625 | <method name="DeleteCols" type="bool" overloaded="no"> | |
781d2982 | 28626 | <autodoc>DeleteCols(self, int pos=0, int numCols=1, bool updateLabels=True) -> bool</autodoc> |
f32fc4bc RD |
28627 | <paramlist> |
28628 | <param name="pos" type="int" default="0"/> | |
28629 | <param name="numCols" type="int" default="1"/> | |
28630 | <param name="updateLabels" type="bool" default="True"/> | |
28631 | </paramlist> | |
28632 | </method> | |
28633 | <method name="DrawCellHighlight" type="" overloaded="no"> | |
781d2982 | 28634 | <autodoc>DrawCellHighlight(self, DC dc, GridCellAttr attr)</autodoc> |
f32fc4bc RD |
28635 | <paramlist> |
28636 | <param name="dc" type="DC" default=""/> | |
28637 | <param name="attr" type="GridCellAttr" default=""/> | |
28638 | </paramlist> | |
28639 | </method> | |
28640 | <method name="DrawTextRectangle" type="" overloaded="no"> | |
781d2982 | 28641 | <autodoc>DrawTextRectangle(self, DC dc, String ??, Rect ??, int horizontalAlignment=LEFT, |
f32fc4bc RD |
28642 | int verticalAlignment=TOP, int textOrientation=HORIZONTAL)</autodoc> |
28643 | <paramlist> | |
28644 | <param name="dc" type="DC" default=""/> | |
28645 | <param name="" type="String" default=""/> | |
28646 | <param name="" type="Rect" default=""/> | |
28647 | <param name="horizontalAlignment" type="int" default="wxLEFT"/> | |
28648 | <param name="verticalAlignment" type="int" default="wxTOP"/> | |
28649 | <param name="textOrientation" type="int" default="wxHORIZONTAL"/> | |
28650 | </paramlist> | |
28651 | </method> | |
28652 | <method name="GetTextBoxSize" type="" overloaded="no"> | |
28653 | <autodoc>GetTextBoxSize(DC dc, list lines) -> (width, height)</autodoc> | |
28654 | <paramlist> | |
28655 | <param name="dc" type="DC" default=""/> | |
28656 | <param name="lines" type="wxArrayString" default=""/> | |
28657 | <param name="OUTPUT" type="long" default=""/> | |
28658 | <param name="OUTPUT" type="long" default=""/> | |
28659 | </paramlist> | |
28660 | </method> | |
28661 | <method name="BeginBatch" type="" overloaded="no"> | |
781d2982 | 28662 | <autodoc>BeginBatch(self)</autodoc> |
f32fc4bc RD |
28663 | </method> |
28664 | <method name="EndBatch" type="" overloaded="no"> | |
781d2982 | 28665 | <autodoc>EndBatch(self)</autodoc> |
f32fc4bc RD |
28666 | </method> |
28667 | <method name="GetBatchCount" type="int" overloaded="no"> | |
781d2982 | 28668 | <autodoc>GetBatchCount(self) -> int</autodoc> |
f32fc4bc RD |
28669 | </method> |
28670 | <method name="ForceRefresh" type="" overloaded="no"> | |
781d2982 | 28671 | <autodoc>ForceRefresh(self)</autodoc> |
f32fc4bc | 28672 | </method> |
f32fc4bc | 28673 | <method name="IsEditable" type="bool" overloaded="no"> |
781d2982 | 28674 | <autodoc>IsEditable(self) -> bool</autodoc> |
f32fc4bc RD |
28675 | </method> |
28676 | <method name="EnableEditing" type="" overloaded="no"> | |
781d2982 | 28677 | <autodoc>EnableEditing(self, bool edit)</autodoc> |
f32fc4bc RD |
28678 | <paramlist> |
28679 | <param name="edit" type="bool" default=""/> | |
28680 | </paramlist> | |
28681 | </method> | |
28682 | <method name="EnableCellEditControl" type="" overloaded="no"> | |
781d2982 | 28683 | <autodoc>EnableCellEditControl(self, bool enable=True)</autodoc> |
f32fc4bc RD |
28684 | <paramlist> |
28685 | <param name="enable" type="bool" default="True"/> | |
28686 | </paramlist> | |
28687 | </method> | |
28688 | <method name="DisableCellEditControl" type="" overloaded="no"> | |
781d2982 | 28689 | <autodoc>DisableCellEditControl(self)</autodoc> |
f32fc4bc RD |
28690 | </method> |
28691 | <method name="CanEnableCellControl" type="bool" overloaded="no"> | |
781d2982 | 28692 | <autodoc>CanEnableCellControl(self) -> bool</autodoc> |
f32fc4bc RD |
28693 | </method> |
28694 | <method name="IsCellEditControlEnabled" type="bool" overloaded="no"> | |
781d2982 | 28695 | <autodoc>IsCellEditControlEnabled(self) -> bool</autodoc> |
f32fc4bc RD |
28696 | </method> |
28697 | <method name="IsCellEditControlShown" type="bool" overloaded="no"> | |
781d2982 | 28698 | <autodoc>IsCellEditControlShown(self) -> bool</autodoc> |
f32fc4bc RD |
28699 | </method> |
28700 | <method name="IsCurrentCellReadOnly" type="bool" overloaded="no"> | |
781d2982 | 28701 | <autodoc>IsCurrentCellReadOnly(self) -> bool</autodoc> |
f32fc4bc RD |
28702 | </method> |
28703 | <method name="ShowCellEditControl" type="" overloaded="no"> | |
781d2982 | 28704 | <autodoc>ShowCellEditControl(self)</autodoc> |
f32fc4bc RD |
28705 | </method> |
28706 | <method name="HideCellEditControl" type="" overloaded="no"> | |
781d2982 | 28707 | <autodoc>HideCellEditControl(self)</autodoc> |
f32fc4bc RD |
28708 | </method> |
28709 | <method name="SaveEditControlValue" type="" overloaded="no"> | |
781d2982 | 28710 | <autodoc>SaveEditControlValue(self)</autodoc> |
f32fc4bc RD |
28711 | </method> |
28712 | <method name="XYToCell" type="GridCellCoords" overloaded="no"> | |
781d2982 | 28713 | <autodoc>XYToCell(self, int x, int y) -> GridCellCoords</autodoc> |
f32fc4bc RD |
28714 | <paramlist> |
28715 | <param name="x" type="int" default=""/> | |
28716 | <param name="y" type="int" default=""/> | |
28717 | </paramlist> | |
28718 | </method> | |
28719 | <method name="YToRow" type="int" overloaded="no"> | |
781d2982 | 28720 | <autodoc>YToRow(self, int y) -> int</autodoc> |
f32fc4bc RD |
28721 | <paramlist> |
28722 | <param name="y" type="int" default=""/> | |
28723 | </paramlist> | |
28724 | </method> | |
28725 | <method name="XToCol" type="int" overloaded="no"> | |
781d2982 | 28726 | <autodoc>XToCol(self, int x) -> int</autodoc> |
f32fc4bc RD |
28727 | <paramlist> |
28728 | <param name="x" type="int" default=""/> | |
28729 | </paramlist> | |
28730 | </method> | |
28731 | <method name="YToEdgeOfRow" type="int" overloaded="no"> | |
781d2982 | 28732 | <autodoc>YToEdgeOfRow(self, int y) -> int</autodoc> |
f32fc4bc RD |
28733 | <paramlist> |
28734 | <param name="y" type="int" default=""/> | |
28735 | </paramlist> | |
28736 | </method> | |
28737 | <method name="XToEdgeOfCol" type="int" overloaded="no"> | |
781d2982 | 28738 | <autodoc>XToEdgeOfCol(self, int x) -> int</autodoc> |
f32fc4bc RD |
28739 | <paramlist> |
28740 | <param name="x" type="int" default=""/> | |
28741 | </paramlist> | |
28742 | </method> | |
28743 | <method name="CellToRect" type="Rect" overloaded="no"> | |
781d2982 | 28744 | <autodoc>CellToRect(self, int row, int col) -> Rect</autodoc> |
f32fc4bc RD |
28745 | <paramlist> |
28746 | <param name="row" type="int" default=""/> | |
28747 | <param name="col" type="int" default=""/> | |
28748 | </paramlist> | |
28749 | </method> | |
28750 | <method name="GetGridCursorRow" type="int" overloaded="no"> | |
781d2982 | 28751 | <autodoc>GetGridCursorRow(self) -> int</autodoc> |
f32fc4bc RD |
28752 | </method> |
28753 | <method name="GetGridCursorCol" type="int" overloaded="no"> | |
781d2982 | 28754 | <autodoc>GetGridCursorCol(self) -> int</autodoc> |
f32fc4bc RD |
28755 | </method> |
28756 | <method name="IsVisible" type="bool" overloaded="no"> | |
781d2982 | 28757 | <autodoc>IsVisible(self, int row, int col, bool wholeCellVisible=True) -> bool</autodoc> |
f32fc4bc RD |
28758 | <paramlist> |
28759 | <param name="row" type="int" default=""/> | |
28760 | <param name="col" type="int" default=""/> | |
28761 | <param name="wholeCellVisible" type="bool" default="True"/> | |
28762 | </paramlist> | |
28763 | </method> | |
28764 | <method name="MakeCellVisible" type="" overloaded="no"> | |
781d2982 | 28765 | <autodoc>MakeCellVisible(self, int row, int col)</autodoc> |
f32fc4bc RD |
28766 | <paramlist> |
28767 | <param name="row" type="int" default=""/> | |
28768 | <param name="col" type="int" default=""/> | |
28769 | </paramlist> | |
28770 | </method> | |
28771 | <method name="SetGridCursor" type="" overloaded="no"> | |
781d2982 | 28772 | <autodoc>SetGridCursor(self, int row, int col)</autodoc> |
f32fc4bc RD |
28773 | <paramlist> |
28774 | <param name="row" type="int" default=""/> | |
28775 | <param name="col" type="int" default=""/> | |
28776 | </paramlist> | |
28777 | </method> | |
28778 | <method name="MoveCursorUp" type="bool" overloaded="no"> | |
781d2982 | 28779 | <autodoc>MoveCursorUp(self, bool expandSelection) -> bool</autodoc> |
f32fc4bc RD |
28780 | <paramlist> |
28781 | <param name="expandSelection" type="bool" default=""/> | |
28782 | </paramlist> | |
28783 | </method> | |
28784 | <method name="MoveCursorDown" type="bool" overloaded="no"> | |
781d2982 | 28785 | <autodoc>MoveCursorDown(self, bool expandSelection) -> bool</autodoc> |
f32fc4bc RD |
28786 | <paramlist> |
28787 | <param name="expandSelection" type="bool" default=""/> | |
28788 | </paramlist> | |
28789 | </method> | |
28790 | <method name="MoveCursorLeft" type="bool" overloaded="no"> | |
781d2982 | 28791 | <autodoc>MoveCursorLeft(self, bool expandSelection) -> bool</autodoc> |
f32fc4bc RD |
28792 | <paramlist> |
28793 | <param name="expandSelection" type="bool" default=""/> | |
28794 | </paramlist> | |
28795 | </method> | |
28796 | <method name="MoveCursorRight" type="bool" overloaded="no"> | |
781d2982 | 28797 | <autodoc>MoveCursorRight(self, bool expandSelection) -> bool</autodoc> |
f32fc4bc RD |
28798 | <paramlist> |
28799 | <param name="expandSelection" type="bool" default=""/> | |
28800 | </paramlist> | |
28801 | </method> | |
28802 | <method name="MovePageDown" type="bool" overloaded="no"> | |
781d2982 | 28803 | <autodoc>MovePageDown(self) -> bool</autodoc> |
f32fc4bc RD |
28804 | </method> |
28805 | <method name="MovePageUp" type="bool" overloaded="no"> | |
781d2982 | 28806 | <autodoc>MovePageUp(self) -> bool</autodoc> |
f32fc4bc RD |
28807 | </method> |
28808 | <method name="MoveCursorUpBlock" type="bool" overloaded="no"> | |
781d2982 | 28809 | <autodoc>MoveCursorUpBlock(self, bool expandSelection) -> bool</autodoc> |
f32fc4bc RD |
28810 | <paramlist> |
28811 | <param name="expandSelection" type="bool" default=""/> | |
28812 | </paramlist> | |
28813 | </method> | |
28814 | <method name="MoveCursorDownBlock" type="bool" overloaded="no"> | |
781d2982 | 28815 | <autodoc>MoveCursorDownBlock(self, bool expandSelection) -> bool</autodoc> |
f32fc4bc RD |
28816 | <paramlist> |
28817 | <param name="expandSelection" type="bool" default=""/> | |
28818 | </paramlist> | |
28819 | </method> | |
28820 | <method name="MoveCursorLeftBlock" type="bool" overloaded="no"> | |
781d2982 | 28821 | <autodoc>MoveCursorLeftBlock(self, bool expandSelection) -> bool</autodoc> |
f32fc4bc RD |
28822 | <paramlist> |
28823 | <param name="expandSelection" type="bool" default=""/> | |
28824 | </paramlist> | |
28825 | </method> | |
28826 | <method name="MoveCursorRightBlock" type="bool" overloaded="no"> | |
781d2982 | 28827 | <autodoc>MoveCursorRightBlock(self, bool expandSelection) -> bool</autodoc> |
f32fc4bc RD |
28828 | <paramlist> |
28829 | <param name="expandSelection" type="bool" default=""/> | |
28830 | </paramlist> | |
28831 | </method> | |
28832 | <method name="GetDefaultRowLabelSize" type="int" overloaded="no"> | |
781d2982 | 28833 | <autodoc>GetDefaultRowLabelSize(self) -> int</autodoc> |
f32fc4bc RD |
28834 | </method> |
28835 | <method name="GetRowLabelSize" type="int" overloaded="no"> | |
781d2982 | 28836 | <autodoc>GetRowLabelSize(self) -> int</autodoc> |
f32fc4bc RD |
28837 | </method> |
28838 | <method name="GetDefaultColLabelSize" type="int" overloaded="no"> | |
781d2982 | 28839 | <autodoc>GetDefaultColLabelSize(self) -> int</autodoc> |
f32fc4bc RD |
28840 | </method> |
28841 | <method name="GetColLabelSize" type="int" overloaded="no"> | |
781d2982 | 28842 | <autodoc>GetColLabelSize(self) -> int</autodoc> |
f32fc4bc RD |
28843 | </method> |
28844 | <method name="GetLabelBackgroundColour" type="Colour" overloaded="no"> | |
781d2982 | 28845 | <autodoc>GetLabelBackgroundColour(self) -> Colour</autodoc> |
f32fc4bc RD |
28846 | </method> |
28847 | <method name="GetLabelTextColour" type="Colour" overloaded="no"> | |
781d2982 | 28848 | <autodoc>GetLabelTextColour(self) -> Colour</autodoc> |
f32fc4bc RD |
28849 | </method> |
28850 | <method name="GetLabelFont" type="Font" overloaded="no"> | |
781d2982 | 28851 | <autodoc>GetLabelFont(self) -> Font</autodoc> |
f32fc4bc RD |
28852 | </method> |
28853 | <method name="GetRowLabelAlignment" type="" overloaded="no"> | |
28854 | <autodoc>GetRowLabelAlignment() -> (horiz, vert)</autodoc> | |
28855 | <paramlist> | |
28856 | <param name="OUTPUT" type="int" default=""/> | |
28857 | <param name="OUTPUT" type="int" default=""/> | |
28858 | </paramlist> | |
28859 | </method> | |
28860 | <method name="GetColLabelAlignment" type="" overloaded="no"> | |
28861 | <autodoc>GetColLabelAlignment() -> (horiz, vert)</autodoc> | |
28862 | <paramlist> | |
28863 | <param name="OUTPUT" type="int" default=""/> | |
28864 | <param name="OUTPUT" type="int" default=""/> | |
28865 | </paramlist> | |
28866 | </method> | |
28867 | <method name="GetColLabelTextOrientation" type="int" overloaded="no"> | |
781d2982 | 28868 | <autodoc>GetColLabelTextOrientation(self) -> int</autodoc> |
f32fc4bc RD |
28869 | </method> |
28870 | <method name="GetRowLabelValue" type="String" overloaded="no"> | |
781d2982 | 28871 | <autodoc>GetRowLabelValue(self, int row) -> String</autodoc> |
f32fc4bc RD |
28872 | <paramlist> |
28873 | <param name="row" type="int" default=""/> | |
28874 | </paramlist> | |
28875 | </method> | |
28876 | <method name="GetColLabelValue" type="String" overloaded="no"> | |
781d2982 | 28877 | <autodoc>GetColLabelValue(self, int col) -> String</autodoc> |
f32fc4bc RD |
28878 | <paramlist> |
28879 | <param name="col" type="int" default=""/> | |
28880 | </paramlist> | |
28881 | </method> | |
28882 | <method name="GetGridLineColour" type="Colour" overloaded="no"> | |
781d2982 | 28883 | <autodoc>GetGridLineColour(self) -> Colour</autodoc> |
f32fc4bc RD |
28884 | </method> |
28885 | <method name="GetCellHighlightColour" type="Colour" overloaded="no"> | |
781d2982 | 28886 | <autodoc>GetCellHighlightColour(self) -> Colour</autodoc> |
f32fc4bc RD |
28887 | </method> |
28888 | <method name="GetCellHighlightPenWidth" type="int" overloaded="no"> | |
781d2982 | 28889 | <autodoc>GetCellHighlightPenWidth(self) -> int</autodoc> |
f32fc4bc RD |
28890 | </method> |
28891 | <method name="GetCellHighlightROPenWidth" type="int" overloaded="no"> | |
781d2982 | 28892 | <autodoc>GetCellHighlightROPenWidth(self) -> int</autodoc> |
f32fc4bc RD |
28893 | </method> |
28894 | <method name="SetRowLabelSize" type="" overloaded="no"> | |
781d2982 | 28895 | <autodoc>SetRowLabelSize(self, int width)</autodoc> |
f32fc4bc RD |
28896 | <paramlist> |
28897 | <param name="width" type="int" default=""/> | |
28898 | </paramlist> | |
28899 | </method> | |
28900 | <method name="SetColLabelSize" type="" overloaded="no"> | |
781d2982 | 28901 | <autodoc>SetColLabelSize(self, int height)</autodoc> |
f32fc4bc RD |
28902 | <paramlist> |
28903 | <param name="height" type="int" default=""/> | |
28904 | </paramlist> | |
28905 | </method> | |
28906 | <method name="SetLabelBackgroundColour" type="" overloaded="no"> | |
781d2982 | 28907 | <autodoc>SetLabelBackgroundColour(self, Colour ??)</autodoc> |
f32fc4bc RD |
28908 | <paramlist> |
28909 | <param name="" type="Colour" default=""/> | |
28910 | </paramlist> | |
28911 | </method> | |
28912 | <method name="SetLabelTextColour" type="" overloaded="no"> | |
781d2982 | 28913 | <autodoc>SetLabelTextColour(self, Colour ??)</autodoc> |
f32fc4bc RD |
28914 | <paramlist> |
28915 | <param name="" type="Colour" default=""/> | |
28916 | </paramlist> | |
28917 | </method> | |
28918 | <method name="SetLabelFont" type="" overloaded="no"> | |
781d2982 | 28919 | <autodoc>SetLabelFont(self, Font ??)</autodoc> |
f32fc4bc RD |
28920 | <paramlist> |
28921 | <param name="" type="Font" default=""/> | |
28922 | </paramlist> | |
28923 | </method> | |
28924 | <method name="SetRowLabelAlignment" type="" overloaded="no"> | |
781d2982 | 28925 | <autodoc>SetRowLabelAlignment(self, int horiz, int vert)</autodoc> |
f32fc4bc RD |
28926 | <paramlist> |
28927 | <param name="horiz" type="int" default=""/> | |
28928 | <param name="vert" type="int" default=""/> | |
28929 | </paramlist> | |
28930 | </method> | |
28931 | <method name="SetColLabelAlignment" type="" overloaded="no"> | |
781d2982 | 28932 | <autodoc>SetColLabelAlignment(self, int horiz, int vert)</autodoc> |
f32fc4bc RD |
28933 | <paramlist> |
28934 | <param name="horiz" type="int" default=""/> | |
28935 | <param name="vert" type="int" default=""/> | |
28936 | </paramlist> | |
28937 | </method> | |
28938 | <method name="SetColLabelTextOrientation" type="" overloaded="no"> | |
781d2982 | 28939 | <autodoc>SetColLabelTextOrientation(self, int textOrientation)</autodoc> |
f32fc4bc RD |
28940 | <paramlist> |
28941 | <param name="textOrientation" type="int" default=""/> | |
28942 | </paramlist> | |
28943 | </method> | |
28944 | <method name="SetRowLabelValue" type="" overloaded="no"> | |
781d2982 | 28945 | <autodoc>SetRowLabelValue(self, int row, String ??)</autodoc> |
f32fc4bc RD |
28946 | <paramlist> |
28947 | <param name="row" type="int" default=""/> | |
28948 | <param name="" type="String" default=""/> | |
28949 | </paramlist> | |
28950 | </method> | |
28951 | <method name="SetColLabelValue" type="" overloaded="no"> | |
781d2982 | 28952 | <autodoc>SetColLabelValue(self, int col, String ??)</autodoc> |
f32fc4bc RD |
28953 | <paramlist> |
28954 | <param name="col" type="int" default=""/> | |
28955 | <param name="" type="String" default=""/> | |
28956 | </paramlist> | |
28957 | </method> | |
28958 | <method name="SetGridLineColour" type="" overloaded="no"> | |
781d2982 | 28959 | <autodoc>SetGridLineColour(self, Colour ??)</autodoc> |
f32fc4bc RD |
28960 | <paramlist> |
28961 | <param name="" type="Colour" default=""/> | |
28962 | </paramlist> | |
28963 | </method> | |
28964 | <method name="SetCellHighlightColour" type="" overloaded="no"> | |
781d2982 | 28965 | <autodoc>SetCellHighlightColour(self, Colour ??)</autodoc> |
f32fc4bc RD |
28966 | <paramlist> |
28967 | <param name="" type="Colour" default=""/> | |
28968 | </paramlist> | |
28969 | </method> | |
28970 | <method name="SetCellHighlightPenWidth" type="" overloaded="no"> | |
781d2982 | 28971 | <autodoc>SetCellHighlightPenWidth(self, int width)</autodoc> |
f32fc4bc RD |
28972 | <paramlist> |
28973 | <param name="width" type="int" default=""/> | |
28974 | </paramlist> | |
28975 | </method> | |
28976 | <method name="SetCellHighlightROPenWidth" type="" overloaded="no"> | |
781d2982 | 28977 | <autodoc>SetCellHighlightROPenWidth(self, int width)</autodoc> |
f32fc4bc RD |
28978 | <paramlist> |
28979 | <param name="width" type="int" default=""/> | |
28980 | </paramlist> | |
28981 | </method> | |
28982 | <method name="EnableDragRowSize" type="" overloaded="no"> | |
781d2982 | 28983 | <autodoc>EnableDragRowSize(self, bool enable=True)</autodoc> |
f32fc4bc RD |
28984 | <paramlist> |
28985 | <param name="enable" type="bool" default="True"/> | |
28986 | </paramlist> | |
28987 | </method> | |
28988 | <method name="DisableDragRowSize" type="" overloaded="no"> | |
781d2982 | 28989 | <autodoc>DisableDragRowSize(self)</autodoc> |
f32fc4bc RD |
28990 | </method> |
28991 | <method name="CanDragRowSize" type="bool" overloaded="no"> | |
781d2982 | 28992 | <autodoc>CanDragRowSize(self) -> bool</autodoc> |
f32fc4bc RD |
28993 | </method> |
28994 | <method name="EnableDragColSize" type="" overloaded="no"> | |
781d2982 | 28995 | <autodoc>EnableDragColSize(self, bool enable=True)</autodoc> |
f32fc4bc RD |
28996 | <paramlist> |
28997 | <param name="enable" type="bool" default="True"/> | |
28998 | </paramlist> | |
28999 | </method> | |
29000 | <method name="DisableDragColSize" type="" overloaded="no"> | |
781d2982 | 29001 | <autodoc>DisableDragColSize(self)</autodoc> |
f32fc4bc RD |
29002 | </method> |
29003 | <method name="CanDragColSize" type="bool" overloaded="no"> | |
781d2982 | 29004 | <autodoc>CanDragColSize(self) -> bool</autodoc> |
f32fc4bc RD |
29005 | </method> |
29006 | <method name="EnableDragGridSize" type="" overloaded="no"> | |
781d2982 | 29007 | <autodoc>EnableDragGridSize(self, bool enable=True)</autodoc> |
f32fc4bc RD |
29008 | <paramlist> |
29009 | <param name="enable" type="bool" default="True"/> | |
29010 | </paramlist> | |
29011 | </method> | |
29012 | <method name="DisableDragGridSize" type="" overloaded="no"> | |
781d2982 | 29013 | <autodoc>DisableDragGridSize(self)</autodoc> |
f32fc4bc RD |
29014 | </method> |
29015 | <method name="CanDragGridSize" type="bool" overloaded="no"> | |
781d2982 | 29016 | <autodoc>CanDragGridSize(self) -> bool</autodoc> |
f32fc4bc | 29017 | </method> |
0190c472 RD |
29018 | <method name="EnableDragCell" type="" overloaded="no"> |
29019 | <autodoc>EnableDragCell(self, bool enable=True)</autodoc> | |
29020 | <paramlist> | |
29021 | <param name="enable" type="bool" default="True"/> | |
29022 | </paramlist> | |
29023 | </method> | |
29024 | <method name="DisableDragCell" type="" overloaded="no"> | |
29025 | <autodoc>DisableDragCell(self)</autodoc> | |
29026 | </method> | |
29027 | <method name="CanDragCell" type="bool" overloaded="no"> | |
29028 | <autodoc>CanDragCell(self) -> bool</autodoc> | |
29029 | </method> | |
f32fc4bc | 29030 | <method name="SetAttr" type="" overloaded="no"> |
781d2982 | 29031 | <autodoc>SetAttr(self, int row, int col, GridCellAttr attr)</autodoc> |
f32fc4bc RD |
29032 | <paramlist> |
29033 | <param name="row" type="int" default=""/> | |
29034 | <param name="col" type="int" default=""/> | |
29035 | <param name="attr" type="GridCellAttr" default=""/> | |
29036 | </paramlist> | |
29037 | </method> | |
29038 | <method name="SetRowAttr" type="" overloaded="no"> | |
781d2982 | 29039 | <autodoc>SetRowAttr(self, int row, GridCellAttr attr)</autodoc> |
f32fc4bc RD |
29040 | <paramlist> |
29041 | <param name="row" type="int" default=""/> | |
29042 | <param name="attr" type="GridCellAttr" default=""/> | |
29043 | </paramlist> | |
29044 | </method> | |
29045 | <method name="SetColAttr" type="" overloaded="no"> | |
781d2982 | 29046 | <autodoc>SetColAttr(self, int col, GridCellAttr attr)</autodoc> |
f32fc4bc RD |
29047 | <paramlist> |
29048 | <param name="col" type="int" default=""/> | |
29049 | <param name="attr" type="GridCellAttr" default=""/> | |
29050 | </paramlist> | |
29051 | </method> | |
29052 | <method name="SetColFormatBool" type="" overloaded="no"> | |
781d2982 | 29053 | <autodoc>SetColFormatBool(self, int col)</autodoc> |
f32fc4bc RD |
29054 | <paramlist> |
29055 | <param name="col" type="int" default=""/> | |
29056 | </paramlist> | |
29057 | </method> | |
29058 | <method name="SetColFormatNumber" type="" overloaded="no"> | |
781d2982 | 29059 | <autodoc>SetColFormatNumber(self, int col)</autodoc> |
f32fc4bc RD |
29060 | <paramlist> |
29061 | <param name="col" type="int" default=""/> | |
29062 | </paramlist> | |
29063 | </method> | |
29064 | <method name="SetColFormatFloat" type="" overloaded="no"> | |
781d2982 | 29065 | <autodoc>SetColFormatFloat(self, int col, int width=-1, int precision=-1)</autodoc> |
f32fc4bc RD |
29066 | <paramlist> |
29067 | <param name="col" type="int" default=""/> | |
29068 | <param name="width" type="int" default="-1"/> | |
29069 | <param name="precision" type="int" default="-1"/> | |
29070 | </paramlist> | |
29071 | </method> | |
29072 | <method name="SetColFormatCustom" type="" overloaded="no"> | |
781d2982 | 29073 | <autodoc>SetColFormatCustom(self, int col, String typeName)</autodoc> |
f32fc4bc RD |
29074 | <paramlist> |
29075 | <param name="col" type="int" default=""/> | |
29076 | <param name="typeName" type="String" default=""/> | |
29077 | </paramlist> | |
29078 | </method> | |
29079 | <method name="EnableGridLines" type="" overloaded="no"> | |
781d2982 | 29080 | <autodoc>EnableGridLines(self, bool enable=True)</autodoc> |
f32fc4bc RD |
29081 | <paramlist> |
29082 | <param name="enable" type="bool" default="True"/> | |
29083 | </paramlist> | |
29084 | </method> | |
29085 | <method name="GridLinesEnabled" type="bool" overloaded="no"> | |
781d2982 | 29086 | <autodoc>GridLinesEnabled(self) -> bool</autodoc> |
f32fc4bc RD |
29087 | </method> |
29088 | <method name="GetDefaultRowSize" type="int" overloaded="no"> | |
781d2982 | 29089 | <autodoc>GetDefaultRowSize(self) -> int</autodoc> |
f32fc4bc RD |
29090 | </method> |
29091 | <method name="GetRowSize" type="int" overloaded="no"> | |
781d2982 | 29092 | <autodoc>GetRowSize(self, int row) -> int</autodoc> |
f32fc4bc RD |
29093 | <paramlist> |
29094 | <param name="row" type="int" default=""/> | |
29095 | </paramlist> | |
29096 | </method> | |
29097 | <method name="GetDefaultColSize" type="int" overloaded="no"> | |
781d2982 | 29098 | <autodoc>GetDefaultColSize(self) -> int</autodoc> |
f32fc4bc RD |
29099 | </method> |
29100 | <method name="GetColSize" type="int" overloaded="no"> | |
781d2982 | 29101 | <autodoc>GetColSize(self, int col) -> int</autodoc> |
f32fc4bc RD |
29102 | <paramlist> |
29103 | <param name="col" type="int" default=""/> | |
29104 | </paramlist> | |
29105 | </method> | |
29106 | <method name="GetDefaultCellBackgroundColour" type="Colour" overloaded="no"> | |
781d2982 | 29107 | <autodoc>GetDefaultCellBackgroundColour(self) -> Colour</autodoc> |
f32fc4bc RD |
29108 | </method> |
29109 | <method name="GetCellBackgroundColour" type="Colour" overloaded="no"> | |
781d2982 | 29110 | <autodoc>GetCellBackgroundColour(self, int row, int col) -> Colour</autodoc> |
f32fc4bc RD |
29111 | <paramlist> |
29112 | <param name="row" type="int" default=""/> | |
29113 | <param name="col" type="int" default=""/> | |
29114 | </paramlist> | |
29115 | </method> | |
29116 | <method name="GetDefaultCellTextColour" type="Colour" overloaded="no"> | |
781d2982 | 29117 | <autodoc>GetDefaultCellTextColour(self) -> Colour</autodoc> |
f32fc4bc RD |
29118 | </method> |
29119 | <method name="GetCellTextColour" type="Colour" overloaded="no"> | |
781d2982 | 29120 | <autodoc>GetCellTextColour(self, int row, int col) -> Colour</autodoc> |
f32fc4bc RD |
29121 | <paramlist> |
29122 | <param name="row" type="int" default=""/> | |
29123 | <param name="col" type="int" default=""/> | |
29124 | </paramlist> | |
29125 | </method> | |
29126 | <method name="GetDefaultCellFont" type="Font" overloaded="no"> | |
781d2982 | 29127 | <autodoc>GetDefaultCellFont(self) -> Font</autodoc> |
f32fc4bc RD |
29128 | </method> |
29129 | <method name="GetCellFont" type="Font" overloaded="no"> | |
781d2982 | 29130 | <autodoc>GetCellFont(self, int row, int col) -> Font</autodoc> |
f32fc4bc RD |
29131 | <paramlist> |
29132 | <param name="row" type="int" default=""/> | |
29133 | <param name="col" type="int" default=""/> | |
29134 | </paramlist> | |
29135 | </method> | |
29136 | <method name="GetDefaultCellAlignment" type="" overloaded="no"> | |
29137 | <autodoc>GetDefaultCellAlignment() -> (horiz, vert)</autodoc> | |
29138 | <paramlist> | |
29139 | <param name="OUTPUT" type="int" default=""/> | |
29140 | <param name="OUTPUT" type="int" default=""/> | |
29141 | </paramlist> | |
29142 | </method> | |
29143 | <method name="GetCellAlignment" type="" overloaded="no"> | |
29144 | <autodoc>GetCellAlignment() -> (horiz, vert)</autodoc> | |
29145 | <paramlist> | |
29146 | <param name="row" type="int" default=""/> | |
29147 | <param name="col" type="int" default=""/> | |
29148 | <param name="OUTPUT" type="int" default=""/> | |
29149 | <param name="OUTPUT" type="int" default=""/> | |
29150 | </paramlist> | |
29151 | </method> | |
29152 | <method name="GetDefaultCellOverflow" type="bool" overloaded="no"> | |
781d2982 | 29153 | <autodoc>GetDefaultCellOverflow(self) -> bool</autodoc> |
f32fc4bc RD |
29154 | </method> |
29155 | <method name="GetCellOverflow" type="bool" overloaded="no"> | |
781d2982 | 29156 | <autodoc>GetCellOverflow(self, int row, int col) -> bool</autodoc> |
f32fc4bc RD |
29157 | <paramlist> |
29158 | <param name="row" type="int" default=""/> | |
29159 | <param name="col" type="int" default=""/> | |
29160 | </paramlist> | |
29161 | </method> | |
29162 | <method name="GetCellSize" type="" overloaded="no"> | |
29163 | <autodoc>GetCellSize(int row, int col) -> (num_rows, num_cols)</autodoc> | |
29164 | <paramlist> | |
29165 | <param name="row" type="int" default=""/> | |
29166 | <param name="col" type="int" default=""/> | |
29167 | <param name="OUTPUT" type="int" default=""/> | |
29168 | <param name="OUTPUT" type="int" default=""/> | |
29169 | </paramlist> | |
29170 | </method> | |
29171 | <method name="SetDefaultRowSize" type="" overloaded="no"> | |
781d2982 | 29172 | <autodoc>SetDefaultRowSize(self, int height, bool resizeExistingRows=False)</autodoc> |
f32fc4bc RD |
29173 | <paramlist> |
29174 | <param name="height" type="int" default=""/> | |
29175 | <param name="resizeExistingRows" type="bool" default="False"/> | |
29176 | </paramlist> | |
29177 | </method> | |
29178 | <method name="SetRowSize" type="" overloaded="no"> | |
781d2982 | 29179 | <autodoc>SetRowSize(self, int row, int height)</autodoc> |
f32fc4bc RD |
29180 | <paramlist> |
29181 | <param name="row" type="int" default=""/> | |
29182 | <param name="height" type="int" default=""/> | |
29183 | </paramlist> | |
29184 | </method> | |
29185 | <method name="SetDefaultColSize" type="" overloaded="no"> | |
781d2982 | 29186 | <autodoc>SetDefaultColSize(self, int width, bool resizeExistingCols=False)</autodoc> |
f32fc4bc RD |
29187 | <paramlist> |
29188 | <param name="width" type="int" default=""/> | |
29189 | <param name="resizeExistingCols" type="bool" default="False"/> | |
29190 | </paramlist> | |
29191 | </method> | |
29192 | <method name="SetColSize" type="" overloaded="no"> | |
781d2982 | 29193 | <autodoc>SetColSize(self, int col, int width)</autodoc> |
f32fc4bc RD |
29194 | <paramlist> |
29195 | <param name="col" type="int" default=""/> | |
29196 | <param name="width" type="int" default=""/> | |
29197 | </paramlist> | |
29198 | </method> | |
29199 | <method name="AutoSizeColumn" type="" overloaded="no"> | |
781d2982 | 29200 | <autodoc>AutoSizeColumn(self, int col, bool setAsMin=True)</autodoc> |
f32fc4bc RD |
29201 | <paramlist> |
29202 | <param name="col" type="int" default=""/> | |
29203 | <param name="setAsMin" type="bool" default="True"/> | |
29204 | </paramlist> | |
29205 | </method> | |
29206 | <method name="AutoSizeRow" type="" overloaded="no"> | |
781d2982 | 29207 | <autodoc>AutoSizeRow(self, int row, bool setAsMin=True)</autodoc> |
f32fc4bc RD |
29208 | <paramlist> |
29209 | <param name="row" type="int" default=""/> | |
29210 | <param name="setAsMin" type="bool" default="True"/> | |
29211 | </paramlist> | |
29212 | </method> | |
29213 | <method name="AutoSizeColumns" type="" overloaded="no"> | |
781d2982 | 29214 | <autodoc>AutoSizeColumns(self, bool setAsMin=True)</autodoc> |
f32fc4bc RD |
29215 | <paramlist> |
29216 | <param name="setAsMin" type="bool" default="True"/> | |
29217 | </paramlist> | |
29218 | </method> | |
29219 | <method name="AutoSizeRows" type="" overloaded="no"> | |
781d2982 | 29220 | <autodoc>AutoSizeRows(self, bool setAsMin=True)</autodoc> |
f32fc4bc RD |
29221 | <paramlist> |
29222 | <param name="setAsMin" type="bool" default="True"/> | |
29223 | </paramlist> | |
29224 | </method> | |
29225 | <method name="AutoSize" type="" overloaded="no"> | |
781d2982 | 29226 | <autodoc>AutoSize(self)</autodoc> |
f32fc4bc RD |
29227 | </method> |
29228 | <method name="AutoSizeRowLabelSize" type="" overloaded="no"> | |
781d2982 | 29229 | <autodoc>AutoSizeRowLabelSize(self, int row)</autodoc> |
f32fc4bc RD |
29230 | <paramlist> |
29231 | <param name="row" type="int" default=""/> | |
29232 | </paramlist> | |
29233 | </method> | |
29234 | <method name="AutoSizeColLabelSize" type="" overloaded="no"> | |
781d2982 | 29235 | <autodoc>AutoSizeColLabelSize(self, int col)</autodoc> |
f32fc4bc RD |
29236 | <paramlist> |
29237 | <param name="col" type="int" default=""/> | |
29238 | </paramlist> | |
29239 | </method> | |
29240 | <method name="SetColMinimalWidth" type="" overloaded="no"> | |
781d2982 | 29241 | <autodoc>SetColMinimalWidth(self, int col, int width)</autodoc> |
f32fc4bc RD |
29242 | <paramlist> |
29243 | <param name="col" type="int" default=""/> | |
29244 | <param name="width" type="int" default=""/> | |
29245 | </paramlist> | |
29246 | </method> | |
29247 | <method name="SetRowMinimalHeight" type="" overloaded="no"> | |
781d2982 | 29248 | <autodoc>SetRowMinimalHeight(self, int row, int width)</autodoc> |
f32fc4bc RD |
29249 | <paramlist> |
29250 | <param name="row" type="int" default=""/> | |
29251 | <param name="width" type="int" default=""/> | |
29252 | </paramlist> | |
29253 | </method> | |
29254 | <method name="SetColMinimalAcceptableWidth" type="" overloaded="no"> | |
781d2982 | 29255 | <autodoc>SetColMinimalAcceptableWidth(self, int width)</autodoc> |
f32fc4bc RD |
29256 | <paramlist> |
29257 | <param name="width" type="int" default=""/> | |
29258 | </paramlist> | |
29259 | </method> | |
29260 | <method name="SetRowMinimalAcceptableHeight" type="" overloaded="no"> | |
781d2982 | 29261 | <autodoc>SetRowMinimalAcceptableHeight(self, int width)</autodoc> |
f32fc4bc RD |
29262 | <paramlist> |
29263 | <param name="width" type="int" default=""/> | |
29264 | </paramlist> | |
29265 | </method> | |
29266 | <method name="GetColMinimalAcceptableWidth" type="int" overloaded="no"> | |
781d2982 | 29267 | <autodoc>GetColMinimalAcceptableWidth(self) -> int</autodoc> |
f32fc4bc RD |
29268 | </method> |
29269 | <method name="GetRowMinimalAcceptableHeight" type="int" overloaded="no"> | |
781d2982 | 29270 | <autodoc>GetRowMinimalAcceptableHeight(self) -> int</autodoc> |
f32fc4bc RD |
29271 | </method> |
29272 | <method name="SetDefaultCellBackgroundColour" type="" overloaded="no"> | |
781d2982 | 29273 | <autodoc>SetDefaultCellBackgroundColour(self, Colour ??)</autodoc> |
f32fc4bc RD |
29274 | <paramlist> |
29275 | <param name="" type="Colour" default=""/> | |
29276 | </paramlist> | |
29277 | </method> | |
29278 | <method name="SetCellBackgroundColour" type="" overloaded="no"> | |
781d2982 | 29279 | <autodoc>SetCellBackgroundColour(self, int row, int col, Colour ??)</autodoc> |
f32fc4bc RD |
29280 | <paramlist> |
29281 | <param name="row" type="int" default=""/> | |
29282 | <param name="col" type="int" default=""/> | |
29283 | <param name="" type="Colour" default=""/> | |
29284 | </paramlist> | |
29285 | </method> | |
29286 | <method name="SetDefaultCellTextColour" type="" overloaded="no"> | |
781d2982 | 29287 | <autodoc>SetDefaultCellTextColour(self, Colour ??)</autodoc> |
f32fc4bc RD |
29288 | <paramlist> |
29289 | <param name="" type="Colour" default=""/> | |
29290 | </paramlist> | |
29291 | </method> | |
29292 | <method name="SetCellTextColour" type="" overloaded="no"> | |
781d2982 | 29293 | <autodoc>SetCellTextColour(self, int row, int col, Colour ??)</autodoc> |
f32fc4bc RD |
29294 | <paramlist> |
29295 | <param name="row" type="int" default=""/> | |
29296 | <param name="col" type="int" default=""/> | |
29297 | <param name="" type="Colour" default=""/> | |
29298 | </paramlist> | |
29299 | </method> | |
29300 | <method name="SetDefaultCellFont" type="" overloaded="no"> | |
781d2982 | 29301 | <autodoc>SetDefaultCellFont(self, Font ??)</autodoc> |
f32fc4bc RD |
29302 | <paramlist> |
29303 | <param name="" type="Font" default=""/> | |
29304 | </paramlist> | |
29305 | </method> | |
29306 | <method name="SetCellFont" type="" overloaded="no"> | |
781d2982 | 29307 | <autodoc>SetCellFont(self, int row, int col, Font ??)</autodoc> |
f32fc4bc RD |
29308 | <paramlist> |
29309 | <param name="row" type="int" default=""/> | |
29310 | <param name="col" type="int" default=""/> | |
29311 | <param name="" type="Font" default=""/> | |
29312 | </paramlist> | |
29313 | </method> | |
29314 | <method name="SetDefaultCellAlignment" type="" overloaded="no"> | |
781d2982 | 29315 | <autodoc>SetDefaultCellAlignment(self, int horiz, int vert)</autodoc> |
f32fc4bc RD |
29316 | <paramlist> |
29317 | <param name="horiz" type="int" default=""/> | |
29318 | <param name="vert" type="int" default=""/> | |
29319 | </paramlist> | |
29320 | </method> | |
29321 | <method name="SetCellAlignment" type="" overloaded="no"> | |
781d2982 | 29322 | <autodoc>SetCellAlignment(self, int row, int col, int horiz, int vert)</autodoc> |
f32fc4bc RD |
29323 | <paramlist> |
29324 | <param name="row" type="int" default=""/> | |
29325 | <param name="col" type="int" default=""/> | |
29326 | <param name="horiz" type="int" default=""/> | |
29327 | <param name="vert" type="int" default=""/> | |
29328 | </paramlist> | |
29329 | </method> | |
29330 | <method name="SetDefaultCellOverflow" type="" overloaded="no"> | |
781d2982 | 29331 | <autodoc>SetDefaultCellOverflow(self, bool allow)</autodoc> |
f32fc4bc RD |
29332 | <paramlist> |
29333 | <param name="allow" type="bool" default=""/> | |
29334 | </paramlist> | |
29335 | </method> | |
29336 | <method name="SetCellOverflow" type="" overloaded="no"> | |
781d2982 | 29337 | <autodoc>SetCellOverflow(self, int row, int col, bool allow)</autodoc> |
f32fc4bc RD |
29338 | <paramlist> |
29339 | <param name="row" type="int" default=""/> | |
29340 | <param name="col" type="int" default=""/> | |
29341 | <param name="allow" type="bool" default=""/> | |
29342 | </paramlist> | |
29343 | </method> | |
29344 | <method name="SetCellSize" type="" overloaded="no"> | |
781d2982 | 29345 | <autodoc>SetCellSize(self, int row, int col, int num_rows, int num_cols)</autodoc> |
f32fc4bc RD |
29346 | <paramlist> |
29347 | <param name="row" type="int" default=""/> | |
29348 | <param name="col" type="int" default=""/> | |
29349 | <param name="num_rows" type="int" default=""/> | |
29350 | <param name="num_cols" type="int" default=""/> | |
29351 | </paramlist> | |
29352 | </method> | |
29353 | <method name="SetDefaultRenderer" type="" overloaded="no"> | |
781d2982 | 29354 | <autodoc>SetDefaultRenderer(self, GridCellRenderer renderer)</autodoc> |
f32fc4bc RD |
29355 | <paramlist> |
29356 | <param name="renderer" type="GridCellRenderer" default=""/> | |
29357 | </paramlist> | |
29358 | </method> | |
29359 | <method name="SetCellRenderer" type="" overloaded="no"> | |
781d2982 | 29360 | <autodoc>SetCellRenderer(self, int row, int col, GridCellRenderer renderer)</autodoc> |
f32fc4bc RD |
29361 | <paramlist> |
29362 | <param name="row" type="int" default=""/> | |
29363 | <param name="col" type="int" default=""/> | |
29364 | <param name="renderer" type="GridCellRenderer" default=""/> | |
29365 | </paramlist> | |
29366 | </method> | |
29367 | <method name="GetDefaultRenderer" type="GridCellRenderer" overloaded="no"> | |
781d2982 | 29368 | <autodoc>GetDefaultRenderer(self) -> GridCellRenderer</autodoc> |
f32fc4bc RD |
29369 | </method> |
29370 | <method name="GetCellRenderer" type="GridCellRenderer" overloaded="no"> | |
781d2982 | 29371 | <autodoc>GetCellRenderer(self, int row, int col) -> GridCellRenderer</autodoc> |
f32fc4bc RD |
29372 | <paramlist> |
29373 | <param name="row" type="int" default=""/> | |
29374 | <param name="col" type="int" default=""/> | |
29375 | </paramlist> | |
29376 | </method> | |
29377 | <method name="SetDefaultEditor" type="" overloaded="no"> | |
781d2982 | 29378 | <autodoc>SetDefaultEditor(self, GridCellEditor editor)</autodoc> |
f32fc4bc RD |
29379 | <paramlist> |
29380 | <param name="editor" type="GridCellEditor" default=""/> | |
29381 | </paramlist> | |
29382 | </method> | |
29383 | <method name="SetCellEditor" type="" overloaded="no"> | |
781d2982 | 29384 | <autodoc>SetCellEditor(self, int row, int col, GridCellEditor editor)</autodoc> |
f32fc4bc RD |
29385 | <paramlist> |
29386 | <param name="row" type="int" default=""/> | |
29387 | <param name="col" type="int" default=""/> | |
29388 | <param name="editor" type="GridCellEditor" default=""/> | |
29389 | </paramlist> | |
29390 | </method> | |
29391 | <method name="GetDefaultEditor" type="GridCellEditor" overloaded="no"> | |
781d2982 | 29392 | <autodoc>GetDefaultEditor(self) -> GridCellEditor</autodoc> |
f32fc4bc RD |
29393 | </method> |
29394 | <method name="GetCellEditor" type="GridCellEditor" overloaded="no"> | |
781d2982 | 29395 | <autodoc>GetCellEditor(self, int row, int col) -> GridCellEditor</autodoc> |
f32fc4bc RD |
29396 | <paramlist> |
29397 | <param name="row" type="int" default=""/> | |
29398 | <param name="col" type="int" default=""/> | |
29399 | </paramlist> | |
29400 | </method> | |
29401 | <method name="GetCellValue" type="String" overloaded="no"> | |
781d2982 | 29402 | <autodoc>GetCellValue(self, int row, int col) -> String</autodoc> |
f32fc4bc RD |
29403 | <paramlist> |
29404 | <param name="row" type="int" default=""/> | |
29405 | <param name="col" type="int" default=""/> | |
29406 | </paramlist> | |
29407 | </method> | |
29408 | <method name="SetCellValue" type="" overloaded="no"> | |
781d2982 | 29409 | <autodoc>SetCellValue(self, int row, int col, String s)</autodoc> |
f32fc4bc RD |
29410 | <paramlist> |
29411 | <param name="row" type="int" default=""/> | |
29412 | <param name="col" type="int" default=""/> | |
29413 | <param name="s" type="String" default=""/> | |
29414 | </paramlist> | |
29415 | </method> | |
29416 | <method name="IsReadOnly" type="bool" overloaded="no"> | |
781d2982 | 29417 | <autodoc>IsReadOnly(self, int row, int col) -> bool</autodoc> |
f32fc4bc RD |
29418 | <paramlist> |
29419 | <param name="row" type="int" default=""/> | |
29420 | <param name="col" type="int" default=""/> | |
29421 | </paramlist> | |
29422 | </method> | |
29423 | <method name="SetReadOnly" type="" overloaded="no"> | |
781d2982 | 29424 | <autodoc>SetReadOnly(self, int row, int col, bool isReadOnly=True)</autodoc> |
f32fc4bc RD |
29425 | <paramlist> |
29426 | <param name="row" type="int" default=""/> | |
29427 | <param name="col" type="int" default=""/> | |
29428 | <param name="isReadOnly" type="bool" default="True"/> | |
29429 | </paramlist> | |
29430 | </method> | |
29431 | <method name="SelectRow" type="" overloaded="no"> | |
781d2982 | 29432 | <autodoc>SelectRow(self, int row, bool addToSelected=False)</autodoc> |
f32fc4bc RD |
29433 | <paramlist> |
29434 | <param name="row" type="int" default=""/> | |
29435 | <param name="addToSelected" type="bool" default="False"/> | |
29436 | </paramlist> | |
29437 | </method> | |
29438 | <method name="SelectCol" type="" overloaded="no"> | |
781d2982 | 29439 | <autodoc>SelectCol(self, int col, bool addToSelected=False)</autodoc> |
f32fc4bc RD |
29440 | <paramlist> |
29441 | <param name="col" type="int" default=""/> | |
29442 | <param name="addToSelected" type="bool" default="False"/> | |
29443 | </paramlist> | |
29444 | </method> | |
29445 | <method name="SelectBlock" type="" overloaded="no"> | |
781d2982 | 29446 | <autodoc>SelectBlock(self, int topRow, int leftCol, int bottomRow, int rightCol, |
f32fc4bc RD |
29447 | bool addToSelected=False)</autodoc> |
29448 | <paramlist> | |
29449 | <param name="topRow" type="int" default=""/> | |
29450 | <param name="leftCol" type="int" default=""/> | |
29451 | <param name="bottomRow" type="int" default=""/> | |
29452 | <param name="rightCol" type="int" default=""/> | |
29453 | <param name="addToSelected" type="bool" default="False"/> | |
29454 | </paramlist> | |
29455 | </method> | |
29456 | <method name="SelectAll" type="" overloaded="no"> | |
781d2982 | 29457 | <autodoc>SelectAll(self)</autodoc> |
f32fc4bc RD |
29458 | </method> |
29459 | <method name="IsSelection" type="bool" overloaded="no"> | |
781d2982 | 29460 | <autodoc>IsSelection(self) -> bool</autodoc> |
f32fc4bc RD |
29461 | </method> |
29462 | <method name="ClearSelection" type="" overloaded="no"> | |
781d2982 | 29463 | <autodoc>ClearSelection(self)</autodoc> |
f32fc4bc RD |
29464 | </method> |
29465 | <method name="IsInSelection" type="bool" overloaded="no"> | |
781d2982 | 29466 | <autodoc>IsInSelection(self, int row, int col) -> bool</autodoc> |
f32fc4bc RD |
29467 | <paramlist> |
29468 | <param name="row" type="int" default=""/> | |
29469 | <param name="col" type="int" default=""/> | |
29470 | </paramlist> | |
29471 | </method> | |
29472 | <method name="GetSelectedCells" type="wxGridCellCoordsArray" overloaded="no"> | |
781d2982 | 29473 | <autodoc>GetSelectedCells(self) -> wxGridCellCoordsArray</autodoc> |
f32fc4bc RD |
29474 | </method> |
29475 | <method name="GetSelectionBlockTopLeft" type="wxGridCellCoordsArray" overloaded="no"> | |
781d2982 | 29476 | <autodoc>GetSelectionBlockTopLeft(self) -> wxGridCellCoordsArray</autodoc> |
f32fc4bc RD |
29477 | </method> |
29478 | <method name="GetSelectionBlockBottomRight" type="wxGridCellCoordsArray" overloaded="no"> | |
781d2982 | 29479 | <autodoc>GetSelectionBlockBottomRight(self) -> wxGridCellCoordsArray</autodoc> |
f32fc4bc RD |
29480 | </method> |
29481 | <method name="GetSelectedRows" type="wxArrayInt" overloaded="no"> | |
781d2982 | 29482 | <autodoc>GetSelectedRows(self) -> wxArrayInt</autodoc> |
f32fc4bc RD |
29483 | </method> |
29484 | <method name="GetSelectedCols" type="wxArrayInt" overloaded="no"> | |
781d2982 | 29485 | <autodoc>GetSelectedCols(self) -> wxArrayInt</autodoc> |
f32fc4bc RD |
29486 | </method> |
29487 | <method name="DeselectRow" type="" overloaded="no"> | |
781d2982 | 29488 | <autodoc>DeselectRow(self, int row)</autodoc> |
f32fc4bc RD |
29489 | <paramlist> |
29490 | <param name="row" type="int" default=""/> | |
29491 | </paramlist> | |
29492 | </method> | |
29493 | <method name="DeselectCol" type="" overloaded="no"> | |
781d2982 | 29494 | <autodoc>DeselectCol(self, int col)</autodoc> |
f32fc4bc RD |
29495 | <paramlist> |
29496 | <param name="col" type="int" default=""/> | |
29497 | </paramlist> | |
29498 | </method> | |
29499 | <method name="DeselectCell" type="" overloaded="no"> | |
781d2982 | 29500 | <autodoc>DeselectCell(self, int row, int col)</autodoc> |
f32fc4bc RD |
29501 | <paramlist> |
29502 | <param name="row" type="int" default=""/> | |
29503 | <param name="col" type="int" default=""/> | |
29504 | </paramlist> | |
29505 | </method> | |
29506 | <method name="BlockToDeviceRect" type="Rect" overloaded="no"> | |
781d2982 | 29507 | <autodoc>BlockToDeviceRect(self, GridCellCoords topLeft, GridCellCoords bottomRight) -> Rect</autodoc> |
f32fc4bc RD |
29508 | <paramlist> |
29509 | <param name="topLeft" type="GridCellCoords" default=""/> | |
29510 | <param name="bottomRight" type="GridCellCoords" default=""/> | |
29511 | </paramlist> | |
29512 | </method> | |
29513 | <method name="GetSelectionBackground" type="Colour" overloaded="no"> | |
781d2982 | 29514 | <autodoc>GetSelectionBackground(self) -> Colour</autodoc> |
f32fc4bc RD |
29515 | </method> |
29516 | <method name="GetSelectionForeground" type="Colour" overloaded="no"> | |
781d2982 | 29517 | <autodoc>GetSelectionForeground(self) -> Colour</autodoc> |
f32fc4bc RD |
29518 | </method> |
29519 | <method name="SetSelectionBackground" type="" overloaded="no"> | |
781d2982 | 29520 | <autodoc>SetSelectionBackground(self, Colour c)</autodoc> |
f32fc4bc RD |
29521 | <paramlist> |
29522 | <param name="c" type="Colour" default=""/> | |
29523 | </paramlist> | |
29524 | </method> | |
29525 | <method name="SetSelectionForeground" type="" overloaded="no"> | |
781d2982 | 29526 | <autodoc>SetSelectionForeground(self, Colour c)</autodoc> |
f32fc4bc RD |
29527 | <paramlist> |
29528 | <param name="c" type="Colour" default=""/> | |
29529 | </paramlist> | |
29530 | </method> | |
29531 | <method name="RegisterDataType" type="" overloaded="no"> | |
781d2982 | 29532 | <autodoc>RegisterDataType(self, String typeName, GridCellRenderer renderer, GridCellEditor editor)</autodoc> |
f32fc4bc RD |
29533 | <paramlist> |
29534 | <param name="typeName" type="String" default=""/> | |
29535 | <param name="renderer" type="GridCellRenderer" default=""/> | |
29536 | <param name="editor" type="GridCellEditor" default=""/> | |
29537 | </paramlist> | |
29538 | </method> | |
29539 | <method name="GetDefaultEditorForCell" type="GridCellEditor" overloaded="no"> | |
781d2982 | 29540 | <autodoc>GetDefaultEditorForCell(self, int row, int col) -> GridCellEditor</autodoc> |
f32fc4bc RD |
29541 | <paramlist> |
29542 | <param name="row" type="int" default=""/> | |
29543 | <param name="col" type="int" default=""/> | |
29544 | </paramlist> | |
29545 | </method> | |
29546 | <method name="GetDefaultRendererForCell" type="GridCellRenderer" overloaded="no"> | |
781d2982 | 29547 | <autodoc>GetDefaultRendererForCell(self, int row, int col) -> GridCellRenderer</autodoc> |
f32fc4bc RD |
29548 | <paramlist> |
29549 | <param name="row" type="int" default=""/> | |
29550 | <param name="col" type="int" default=""/> | |
29551 | </paramlist> | |
29552 | </method> | |
29553 | <method name="GetDefaultEditorForType" type="GridCellEditor" overloaded="no"> | |
781d2982 | 29554 | <autodoc>GetDefaultEditorForType(self, String typeName) -> GridCellEditor</autodoc> |
f32fc4bc RD |
29555 | <paramlist> |
29556 | <param name="typeName" type="String" default=""/> | |
29557 | </paramlist> | |
29558 | </method> | |
29559 | <method name="GetDefaultRendererForType" type="GridCellRenderer" overloaded="no"> | |
781d2982 | 29560 | <autodoc>GetDefaultRendererForType(self, String typeName) -> GridCellRenderer</autodoc> |
f32fc4bc RD |
29561 | <paramlist> |
29562 | <param name="typeName" type="String" default=""/> | |
29563 | </paramlist> | |
29564 | </method> | |
29565 | <method name="SetMargins" type="" overloaded="no"> | |
781d2982 | 29566 | <autodoc>SetMargins(self, int extraWidth, int extraHeight)</autodoc> |
f32fc4bc RD |
29567 | <paramlist> |
29568 | <param name="extraWidth" type="int" default=""/> | |
29569 | <param name="extraHeight" type="int" default=""/> | |
29570 | </paramlist> | |
29571 | </method> | |
29572 | <method name="GetGridWindow" type="Window" overloaded="no"> | |
781d2982 | 29573 | <autodoc>GetGridWindow(self) -> Window</autodoc> |
f32fc4bc RD |
29574 | </method> |
29575 | <method name="GetGridRowLabelWindow" type="Window" overloaded="no"> | |
781d2982 | 29576 | <autodoc>GetGridRowLabelWindow(self) -> Window</autodoc> |
f32fc4bc RD |
29577 | </method> |
29578 | <method name="GetGridColLabelWindow" type="Window" overloaded="no"> | |
781d2982 | 29579 | <autodoc>GetGridColLabelWindow(self) -> Window</autodoc> |
f32fc4bc RD |
29580 | </method> |
29581 | <method name="GetGridCornerLabelWindow" type="Window" overloaded="no"> | |
781d2982 | 29582 | <autodoc>GetGridCornerLabelWindow(self) -> Window</autodoc> |
f32fc4bc | 29583 | </method> |
781d2982 RD |
29584 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
29585 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
29586 | <docstring>Get the default attributes for this class. This is useful if you want | |
29587 | to use the same font or colour in your own control as in a standard | |
29588 | control -- which is a much better idea than hard coding specific | |
29589 | colours or fonts which might look completely out of place on the | |
29590 | user's system, especially if it uses themes. | |
29591 | ||
29592 | The variant parameter is only relevant under Mac currently and is | |
29593 | ignore under other platforms. Under Mac, it will change the size of | |
29594 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
29595 | this.</docstring> | |
29596 | <paramlist> | |
29597 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
29598 | </paramlist> | |
29599 | </staticmethod> | |
f32fc4bc RD |
29600 | </class> |
29601 | <class name="GridEvent" oldname="wxGridEvent" module="grid"> | |
29602 | <baseclass name="NotifyEvent"/> | |
29603 | <constructor name="GridEvent" overloaded="no"> | |
781d2982 | 29604 | <autodoc>__init__(self, int id, wxEventType type, Grid obj, int row=-1, int col=-1, |
f32fc4bc RD |
29605 | int x=-1, int y=-1, bool sel=True, bool control=False, |
29606 | bool shift=False, bool alt=False, | |
29607 | bool meta=False) -> GridEvent</autodoc> | |
29608 | <paramlist> | |
29609 | <param name="id" type="int" default=""/> | |
29610 | <param name="type" type="wxEventType" default=""/> | |
29611 | <param name="obj" type="Grid" default=""/> | |
29612 | <param name="row" type="int" default="-1"/> | |
29613 | <param name="col" type="int" default="-1"/> | |
29614 | <param name="x" type="int" default="-1"/> | |
29615 | <param name="y" type="int" default="-1"/> | |
29616 | <param name="sel" type="bool" default="True"/> | |
29617 | <param name="control" type="bool" default="False"/> | |
29618 | <param name="shift" type="bool" default="False"/> | |
29619 | <param name="alt" type="bool" default="False"/> | |
29620 | <param name="meta" type="bool" default="False"/> | |
29621 | </paramlist> | |
29622 | </constructor> | |
29623 | <method name="GetRow" type="int" overloaded="no"> | |
781d2982 | 29624 | <autodoc>GetRow(self) -> int</autodoc> |
f32fc4bc RD |
29625 | </method> |
29626 | <method name="GetCol" type="int" overloaded="no"> | |
781d2982 | 29627 | <autodoc>GetCol(self) -> int</autodoc> |
f32fc4bc RD |
29628 | </method> |
29629 | <method name="GetPosition" type="Point" overloaded="no"> | |
781d2982 | 29630 | <autodoc>GetPosition(self) -> Point</autodoc> |
f32fc4bc RD |
29631 | </method> |
29632 | <method name="Selecting" type="bool" overloaded="no"> | |
781d2982 | 29633 | <autodoc>Selecting(self) -> bool</autodoc> |
f32fc4bc RD |
29634 | </method> |
29635 | <method name="ControlDown" type="bool" overloaded="no"> | |
781d2982 | 29636 | <autodoc>ControlDown(self) -> bool</autodoc> |
f32fc4bc RD |
29637 | </method> |
29638 | <method name="MetaDown" type="bool" overloaded="no"> | |
781d2982 | 29639 | <autodoc>MetaDown(self) -> bool</autodoc> |
f32fc4bc RD |
29640 | </method> |
29641 | <method name="ShiftDown" type="bool" overloaded="no"> | |
781d2982 | 29642 | <autodoc>ShiftDown(self) -> bool</autodoc> |
f32fc4bc RD |
29643 | </method> |
29644 | <method name="AltDown" type="bool" overloaded="no"> | |
781d2982 | 29645 | <autodoc>AltDown(self) -> bool</autodoc> |
f32fc4bc RD |
29646 | </method> |
29647 | </class> | |
29648 | <class name="GridSizeEvent" oldname="wxGridSizeEvent" module="grid"> | |
29649 | <baseclass name="NotifyEvent"/> | |
29650 | <constructor name="GridSizeEvent" overloaded="no"> | |
781d2982 | 29651 | <autodoc>__init__(self, int id, wxEventType type, Grid obj, int rowOrCol=-1, |
f32fc4bc RD |
29652 | int x=-1, int y=-1, bool control=False, bool shift=False, |
29653 | bool alt=False, bool meta=False) -> GridSizeEvent</autodoc> | |
29654 | <paramlist> | |
29655 | <param name="id" type="int" default=""/> | |
29656 | <param name="type" type="wxEventType" default=""/> | |
29657 | <param name="obj" type="Grid" default=""/> | |
29658 | <param name="rowOrCol" type="int" default="-1"/> | |
29659 | <param name="x" type="int" default="-1"/> | |
29660 | <param name="y" type="int" default="-1"/> | |
29661 | <param name="control" type="bool" default="False"/> | |
29662 | <param name="shift" type="bool" default="False"/> | |
29663 | <param name="alt" type="bool" default="False"/> | |
29664 | <param name="meta" type="bool" default="False"/> | |
29665 | </paramlist> | |
29666 | </constructor> | |
29667 | <method name="GetRowOrCol" type="int" overloaded="no"> | |
781d2982 | 29668 | <autodoc>GetRowOrCol(self) -> int</autodoc> |
f32fc4bc RD |
29669 | </method> |
29670 | <method name="GetPosition" type="Point" overloaded="no"> | |
781d2982 | 29671 | <autodoc>GetPosition(self) -> Point</autodoc> |
f32fc4bc RD |
29672 | </method> |
29673 | <method name="ControlDown" type="bool" overloaded="no"> | |
781d2982 | 29674 | <autodoc>ControlDown(self) -> bool</autodoc> |
f32fc4bc RD |
29675 | </method> |
29676 | <method name="MetaDown" type="bool" overloaded="no"> | |
781d2982 | 29677 | <autodoc>MetaDown(self) -> bool</autodoc> |
f32fc4bc RD |
29678 | </method> |
29679 | <method name="ShiftDown" type="bool" overloaded="no"> | |
781d2982 | 29680 | <autodoc>ShiftDown(self) -> bool</autodoc> |
f32fc4bc RD |
29681 | </method> |
29682 | <method name="AltDown" type="bool" overloaded="no"> | |
781d2982 | 29683 | <autodoc>AltDown(self) -> bool</autodoc> |
f32fc4bc RD |
29684 | </method> |
29685 | </class> | |
29686 | <class name="GridRangeSelectEvent" oldname="wxGridRangeSelectEvent" module="grid"> | |
29687 | <baseclass name="NotifyEvent"/> | |
29688 | <constructor name="GridRangeSelectEvent" overloaded="no"> | |
781d2982 | 29689 | <autodoc>__init__(self, int id, wxEventType type, Grid obj, GridCellCoords topLeft, |
f32fc4bc RD |
29690 | GridCellCoords bottomRight, bool sel=True, |
29691 | bool control=False, bool shift=False, | |
29692 | bool alt=False, bool meta=False) -> GridRangeSelectEvent</autodoc> | |
29693 | <paramlist> | |
29694 | <param name="id" type="int" default=""/> | |
29695 | <param name="type" type="wxEventType" default=""/> | |
29696 | <param name="obj" type="Grid" default=""/> | |
29697 | <param name="topLeft" type="GridCellCoords" default=""/> | |
29698 | <param name="bottomRight" type="GridCellCoords" default=""/> | |
29699 | <param name="sel" type="bool" default="True"/> | |
29700 | <param name="control" type="bool" default="False"/> | |
29701 | <param name="shift" type="bool" default="False"/> | |
29702 | <param name="alt" type="bool" default="False"/> | |
29703 | <param name="meta" type="bool" default="False"/> | |
29704 | </paramlist> | |
29705 | </constructor> | |
29706 | <method name="GetTopLeftCoords" type="GridCellCoords" overloaded="no"> | |
781d2982 | 29707 | <autodoc>GetTopLeftCoords(self) -> GridCellCoords</autodoc> |
f32fc4bc RD |
29708 | </method> |
29709 | <method name="GetBottomRightCoords" type="GridCellCoords" overloaded="no"> | |
781d2982 | 29710 | <autodoc>GetBottomRightCoords(self) -> GridCellCoords</autodoc> |
f32fc4bc RD |
29711 | </method> |
29712 | <method name="GetTopRow" type="int" overloaded="no"> | |
781d2982 | 29713 | <autodoc>GetTopRow(self) -> int</autodoc> |
f32fc4bc RD |
29714 | </method> |
29715 | <method name="GetBottomRow" type="int" overloaded="no"> | |
781d2982 | 29716 | <autodoc>GetBottomRow(self) -> int</autodoc> |
f32fc4bc RD |
29717 | </method> |
29718 | <method name="GetLeftCol" type="int" overloaded="no"> | |
781d2982 | 29719 | <autodoc>GetLeftCol(self) -> int</autodoc> |
f32fc4bc RD |
29720 | </method> |
29721 | <method name="GetRightCol" type="int" overloaded="no"> | |
781d2982 | 29722 | <autodoc>GetRightCol(self) -> int</autodoc> |
f32fc4bc RD |
29723 | </method> |
29724 | <method name="Selecting" type="bool" overloaded="no"> | |
781d2982 | 29725 | <autodoc>Selecting(self) -> bool</autodoc> |
f32fc4bc RD |
29726 | </method> |
29727 | <method name="ControlDown" type="bool" overloaded="no"> | |
781d2982 | 29728 | <autodoc>ControlDown(self) -> bool</autodoc> |
f32fc4bc RD |
29729 | </method> |
29730 | <method name="MetaDown" type="bool" overloaded="no"> | |
781d2982 | 29731 | <autodoc>MetaDown(self) -> bool</autodoc> |
f32fc4bc RD |
29732 | </method> |
29733 | <method name="ShiftDown" type="bool" overloaded="no"> | |
781d2982 | 29734 | <autodoc>ShiftDown(self) -> bool</autodoc> |
f32fc4bc RD |
29735 | </method> |
29736 | <method name="AltDown" type="bool" overloaded="no"> | |
781d2982 | 29737 | <autodoc>AltDown(self) -> bool</autodoc> |
f32fc4bc RD |
29738 | </method> |
29739 | </class> | |
29740 | <class name="GridEditorCreatedEvent" oldname="wxGridEditorCreatedEvent" module="grid"> | |
29741 | <baseclass name="CommandEvent"/> | |
29742 | <constructor name="GridEditorCreatedEvent" overloaded="no"> | |
781d2982 | 29743 | <autodoc>__init__(self, int id, wxEventType type, Object obj, int row, int col, |
f32fc4bc RD |
29744 | Control ctrl) -> GridEditorCreatedEvent</autodoc> |
29745 | <paramlist> | |
29746 | <param name="id" type="int" default=""/> | |
29747 | <param name="type" type="wxEventType" default=""/> | |
29748 | <param name="obj" type="Object" default=""/> | |
29749 | <param name="row" type="int" default=""/> | |
29750 | <param name="col" type="int" default=""/> | |
29751 | <param name="ctrl" type="Control" default=""/> | |
29752 | </paramlist> | |
29753 | </constructor> | |
29754 | <method name="GetRow" type="int" overloaded="no"> | |
781d2982 | 29755 | <autodoc>GetRow(self) -> int</autodoc> |
f32fc4bc RD |
29756 | </method> |
29757 | <method name="GetCol" type="int" overloaded="no"> | |
781d2982 | 29758 | <autodoc>GetCol(self) -> int</autodoc> |
f32fc4bc RD |
29759 | </method> |
29760 | <method name="GetControl" type="Control" overloaded="no"> | |
781d2982 | 29761 | <autodoc>GetControl(self) -> Control</autodoc> |
f32fc4bc RD |
29762 | </method> |
29763 | <method name="SetRow" type="" overloaded="no"> | |
781d2982 | 29764 | <autodoc>SetRow(self, int row)</autodoc> |
f32fc4bc RD |
29765 | <paramlist> |
29766 | <param name="row" type="int" default=""/> | |
29767 | </paramlist> | |
29768 | </method> | |
29769 | <method name="SetCol" type="" overloaded="no"> | |
781d2982 | 29770 | <autodoc>SetCol(self, int col)</autodoc> |
f32fc4bc RD |
29771 | <paramlist> |
29772 | <param name="col" type="int" default=""/> | |
29773 | </paramlist> | |
29774 | </method> | |
29775 | <method name="SetControl" type="" overloaded="no"> | |
781d2982 | 29776 | <autodoc>SetControl(self, Control ctrl)</autodoc> |
f32fc4bc RD |
29777 | <paramlist> |
29778 | <param name="ctrl" type="Control" default=""/> | |
29779 | </paramlist> | |
29780 | </method> | |
29781 | </class> | |
29782 | <pythoncode> | |
29783 | EVT_GRID_CELL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_CLICK ) | |
29784 | EVT_GRID_CELL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_CLICK ) | |
29785 | EVT_GRID_CELL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_DCLICK ) | |
29786 | EVT_GRID_CELL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_DCLICK ) | |
29787 | EVT_GRID_LABEL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_CLICK ) | |
29788 | EVT_GRID_LABEL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_CLICK ) | |
29789 | EVT_GRID_LABEL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_DCLICK ) | |
29790 | EVT_GRID_LABEL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_DCLICK ) | |
29791 | EVT_GRID_ROW_SIZE = wx.PyEventBinder( wxEVT_GRID_ROW_SIZE ) | |
29792 | EVT_GRID_COL_SIZE = wx.PyEventBinder( wxEVT_GRID_COL_SIZE ) | |
29793 | EVT_GRID_RANGE_SELECT = wx.PyEventBinder( wxEVT_GRID_RANGE_SELECT ) | |
29794 | EVT_GRID_CELL_CHANGE = wx.PyEventBinder( wxEVT_GRID_CELL_CHANGE ) | |
29795 | EVT_GRID_SELECT_CELL = wx.PyEventBinder( wxEVT_GRID_SELECT_CELL ) | |
29796 | EVT_GRID_EDITOR_SHOWN = wx.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN ) | |
29797 | EVT_GRID_EDITOR_HIDDEN = wx.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN ) | |
29798 | EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) | |
0190c472 | 29799 | EVT_GRID_CELL_BEGIN_DRAG = wx.PyEventBinder( wxEVT_GRID_CELL_BEGIN_DRAG ) |
ce6878e6 RD |
29800 | |
29801 | ||
29802 | # The same as above but with the ability to specify an identifier | |
29803 | EVT_GRID_CMD_CELL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_CLICK, 1 ) | |
29804 | EVT_GRID_CMD_CELL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_CLICK, 1 ) | |
29805 | EVT_GRID_CMD_CELL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_DCLICK, 1 ) | |
29806 | EVT_GRID_CMD_CELL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_DCLICK, 1 ) | |
29807 | EVT_GRID_CMD_LABEL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_CLICK, 1 ) | |
29808 | EVT_GRID_CMD_LABEL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_CLICK, 1 ) | |
29809 | EVT_GRID_CMD_LABEL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_DCLICK, 1 ) | |
29810 | EVT_GRID_CMD_LABEL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_DCLICK, 1 ) | |
29811 | EVT_GRID_CMD_ROW_SIZE = wx.PyEventBinder( wxEVT_GRID_ROW_SIZE, 1 ) | |
29812 | EVT_GRID_CMD_COL_SIZE = wx.PyEventBinder( wxEVT_GRID_COL_SIZE, 1 ) | |
29813 | EVT_GRID_CMD_RANGE_SELECT = wx.PyEventBinder( wxEVT_GRID_RANGE_SELECT, 1 ) | |
29814 | EVT_GRID_CMD_CELL_CHANGE = wx.PyEventBinder( wxEVT_GRID_CELL_CHANGE, 1 ) | |
29815 | EVT_GRID_CMD_SELECT_CELL = wx.PyEventBinder( wxEVT_GRID_SELECT_CELL, 1 ) | |
29816 | EVT_GRID_CMD_EDITOR_SHOWN = wx.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN, 1 ) | |
29817 | EVT_GRID_CMD_EDITOR_HIDDEN = wx.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN, 1 ) | |
29818 | EVT_GRID_CMD_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED, 1 ) | |
0190c472 RD |
29819 | EVT_GRID_CMD_CELL_BEGIN_DRAG = wx.PyEventBinder( wxEVT_GRID_CELL_BEGIN_DRAG, 1 ) |
29820 | ||
0f43fbdf | 29821 | </pythoncode> |
f32fc4bc RD |
29822 | </module> |
29823 | <module name="html"> | |
781d2982 RD |
29824 | <import name="_windows"/> |
29825 | <pythoncode> wx = _core </pythoncode> | |
29826 | <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode> | |
f32fc4bc | 29827 | <pythoncode> |
0f43fbdf RD |
29828 | #--------------------------------------------------------------------------- |
29829 | </pythoncode> | |
f32fc4bc RD |
29830 | <class name="HtmlLinkInfo" oldname="wxHtmlLinkInfo" module="html"> |
29831 | <baseclass name="Object"/> | |
29832 | <constructor name="HtmlLinkInfo" overloaded="no"> | |
781d2982 | 29833 | <autodoc>__init__(self, String href, String target=EmptyString) -> HtmlLinkInfo</autodoc> |
f32fc4bc RD |
29834 | <paramlist> |
29835 | <param name="href" type="String" default=""/> | |
29836 | <param name="target" type="String" default="wxPyEmptyString"/> | |
29837 | </paramlist> | |
29838 | </constructor> | |
29839 | <method name="GetHref" type="String" overloaded="no"> | |
781d2982 | 29840 | <autodoc>GetHref(self) -> String</autodoc> |
f32fc4bc RD |
29841 | </method> |
29842 | <method name="GetTarget" type="String" overloaded="no"> | |
781d2982 | 29843 | <autodoc>GetTarget(self) -> String</autodoc> |
f32fc4bc RD |
29844 | </method> |
29845 | <method name="GetEvent" type="MouseEvent" overloaded="no"> | |
781d2982 | 29846 | <autodoc>GetEvent(self) -> MouseEvent</autodoc> |
f32fc4bc RD |
29847 | </method> |
29848 | <method name="GetHtmlCell" type="wxHtmlCell" overloaded="no"> | |
781d2982 | 29849 | <autodoc>GetHtmlCell(self) -> HtmlCell</autodoc> |
f32fc4bc RD |
29850 | </method> |
29851 | <method name="SetEvent" type="" overloaded="no"> | |
781d2982 | 29852 | <autodoc>SetEvent(self, MouseEvent e)</autodoc> |
f32fc4bc RD |
29853 | <paramlist> |
29854 | <param name="e" type="MouseEvent" default=""/> | |
29855 | </paramlist> | |
29856 | </method> | |
29857 | <method name="SetHtmlCell" type="" overloaded="no"> | |
781d2982 | 29858 | <autodoc>SetHtmlCell(self, HtmlCell e)</autodoc> |
f32fc4bc RD |
29859 | <paramlist> |
29860 | <param name="e" type="wxHtmlCell" default=""/> | |
29861 | </paramlist> | |
29862 | </method> | |
29863 | </class> | |
29864 | <class name="HtmlTag" oldname="wxHtmlTag" module="html"> | |
29865 | <baseclass name="Object"/> | |
29866 | <method name="GetName" type="String" overloaded="no"> | |
781d2982 | 29867 | <autodoc>GetName(self) -> String</autodoc> |
f32fc4bc RD |
29868 | </method> |
29869 | <method name="HasParam" type="bool" overloaded="no"> | |
781d2982 | 29870 | <autodoc>HasParam(self, String par) -> bool</autodoc> |
f32fc4bc RD |
29871 | <paramlist> |
29872 | <param name="par" type="String" default=""/> | |
29873 | </paramlist> | |
29874 | </method> | |
29875 | <method name="GetParam" type="String" overloaded="no"> | |
781d2982 | 29876 | <autodoc>GetParam(self, String par, int with_commas=False) -> String</autodoc> |
f32fc4bc RD |
29877 | <paramlist> |
29878 | <param name="par" type="String" default=""/> | |
29879 | <param name="with_commas" type="int" default="False"/> | |
29880 | </paramlist> | |
29881 | </method> | |
29882 | <method name="GetAllParams" type="String" overloaded="no"> | |
781d2982 | 29883 | <autodoc>GetAllParams(self) -> String</autodoc> |
f32fc4bc RD |
29884 | </method> |
29885 | <method name="HasEnding" type="bool" overloaded="no"> | |
781d2982 | 29886 | <autodoc>HasEnding(self) -> bool</autodoc> |
f32fc4bc RD |
29887 | </method> |
29888 | <method name="GetBeginPos" type="int" overloaded="no"> | |
781d2982 | 29889 | <autodoc>GetBeginPos(self) -> int</autodoc> |
f32fc4bc RD |
29890 | </method> |
29891 | <method name="GetEndPos1" type="int" overloaded="no"> | |
781d2982 | 29892 | <autodoc>GetEndPos1(self) -> int</autodoc> |
f32fc4bc RD |
29893 | </method> |
29894 | <method name="GetEndPos2" type="int" overloaded="no"> | |
781d2982 | 29895 | <autodoc>GetEndPos2(self) -> int</autodoc> |
f32fc4bc RD |
29896 | </method> |
29897 | </class> | |
29898 | <class name="HtmlParser" oldname="wxHtmlParser" module="html"> | |
29899 | <baseclass name="Object"/> | |
29900 | <method name="SetFS" type="" overloaded="no"> | |
781d2982 | 29901 | <autodoc>SetFS(self, FileSystem fs)</autodoc> |
f32fc4bc RD |
29902 | <paramlist> |
29903 | <param name="fs" type="FileSystem" default=""/> | |
29904 | </paramlist> | |
29905 | </method> | |
29906 | <method name="GetFS" type="FileSystem" overloaded="no"> | |
781d2982 | 29907 | <autodoc>GetFS(self) -> FileSystem</autodoc> |
f32fc4bc RD |
29908 | </method> |
29909 | <method name="Parse" type="Object" overloaded="no"> | |
781d2982 | 29910 | <autodoc>Parse(self, String source) -> Object</autodoc> |
f32fc4bc RD |
29911 | <paramlist> |
29912 | <param name="source" type="String" default=""/> | |
29913 | </paramlist> | |
29914 | </method> | |
29915 | <method name="InitParser" type="" overloaded="no"> | |
781d2982 | 29916 | <autodoc>InitParser(self, String source)</autodoc> |
f32fc4bc RD |
29917 | <paramlist> |
29918 | <param name="source" type="String" default=""/> | |
29919 | </paramlist> | |
29920 | </method> | |
29921 | <method name="DoneParser" type="" overloaded="no"> | |
781d2982 | 29922 | <autodoc>DoneParser(self)</autodoc> |
f32fc4bc RD |
29923 | </method> |
29924 | <method name="DoParsing" type="" overloaded="no"> | |
781d2982 | 29925 | <autodoc>DoParsing(self, int begin_pos, int end_pos)</autodoc> |
f32fc4bc RD |
29926 | <paramlist> |
29927 | <param name="begin_pos" type="int" default=""/> | |
29928 | <param name="end_pos" type="int" default=""/> | |
29929 | </paramlist> | |
29930 | </method> | |
29931 | <method name="StopParsing" type="" overloaded="no"> | |
781d2982 | 29932 | <autodoc>StopParsing(self)</autodoc> |
f32fc4bc RD |
29933 | </method> |
29934 | <method name="AddTagHandler" type="" overloaded="no"> | |
781d2982 | 29935 | <autodoc>AddTagHandler(self, HtmlTagHandler handler)</autodoc> |
f32fc4bc RD |
29936 | <paramlist> |
29937 | <param name="handler" type="wxHtmlTagHandler" default=""/> | |
29938 | </paramlist> | |
29939 | </method> | |
29940 | <method name="GetSource" type="String" overloaded="no"> | |
781d2982 | 29941 | <autodoc>GetSource(self) -> String</autodoc> |
f32fc4bc RD |
29942 | </method> |
29943 | <method name="PushTagHandler" type="" overloaded="no"> | |
781d2982 | 29944 | <autodoc>PushTagHandler(self, HtmlTagHandler handler, String tags)</autodoc> |
f32fc4bc RD |
29945 | <paramlist> |
29946 | <param name="handler" type="wxHtmlTagHandler" default=""/> | |
29947 | <param name="tags" type="String" default=""/> | |
29948 | </paramlist> | |
29949 | </method> | |
29950 | <method name="PopTagHandler" type="" overloaded="no"> | |
781d2982 | 29951 | <autodoc>PopTagHandler(self)</autodoc> |
f32fc4bc RD |
29952 | </method> |
29953 | </class> | |
29954 | <class name="HtmlWinParser" oldname="wxHtmlWinParser" module="html"> | |
29955 | <baseclass name="HtmlParser"/> | |
29956 | <constructor name="HtmlWinParser" overloaded="no"> | |
781d2982 | 29957 | <autodoc>__init__(self, HtmlWindow wnd=None) -> HtmlWinParser</autodoc> |
f32fc4bc RD |
29958 | <paramlist> |
29959 | <param name="wnd" type="wxPyHtmlWindow" default="NULL"/> | |
29960 | </paramlist> | |
29961 | </constructor> | |
29962 | <method name="SetDC" type="" overloaded="no"> | |
781d2982 | 29963 | <autodoc>SetDC(self, DC dc)</autodoc> |
f32fc4bc RD |
29964 | <paramlist> |
29965 | <param name="dc" type="DC" default=""/> | |
29966 | </paramlist> | |
29967 | </method> | |
29968 | <method name="GetDC" type="DC" overloaded="no"> | |
781d2982 | 29969 | <autodoc>GetDC(self) -> DC</autodoc> |
f32fc4bc RD |
29970 | </method> |
29971 | <method name="GetCharHeight" type="int" overloaded="no"> | |
781d2982 | 29972 | <autodoc>GetCharHeight(self) -> int</autodoc> |
f32fc4bc RD |
29973 | </method> |
29974 | <method name="GetCharWidth" type="int" overloaded="no"> | |
781d2982 | 29975 | <autodoc>GetCharWidth(self) -> int</autodoc> |
f32fc4bc RD |
29976 | </method> |
29977 | <method name="GetWindow" type="wxPyHtmlWindow" overloaded="no"> | |
781d2982 | 29978 | <autodoc>GetWindow(self) -> HtmlWindow</autodoc> |
f32fc4bc RD |
29979 | </method> |
29980 | <method name="SetFonts" type="" overloaded="no"> | |
781d2982 | 29981 | <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc> |
f32fc4bc RD |
29982 | <paramlist> |
29983 | <param name="normal_face" type="String" default=""/> | |
29984 | <param name="fixed_face" type="String" default=""/> | |
29985 | <param name="sizes" type="PyObject" default="NULL"/> | |
29986 | </paramlist> | |
29987 | </method> | |
ce6878e6 RD |
29988 | <method name="NormalizeFontSizes" type="" overloaded="no"> |
29989 | <autodoc>NormalizeFontSizes(self, int size=-1)</autodoc> | |
29990 | <paramlist> | |
29991 | <param name="size" type="int" default="-1"/> | |
29992 | </paramlist> | |
29993 | </method> | |
f32fc4bc | 29994 | <method name="GetContainer" type="wxHtmlContainerCell" overloaded="no"> |
781d2982 | 29995 | <autodoc>GetContainer(self) -> HtmlContainerCell</autodoc> |
f32fc4bc RD |
29996 | </method> |
29997 | <method name="OpenContainer" type="wxHtmlContainerCell" overloaded="no"> | |
781d2982 | 29998 | <autodoc>OpenContainer(self) -> HtmlContainerCell</autodoc> |
f32fc4bc RD |
29999 | </method> |
30000 | <method name="SetContainer" type="wxHtmlContainerCell" overloaded="no"> | |
781d2982 | 30001 | <autodoc>SetContainer(self, HtmlContainerCell c) -> HtmlContainerCell</autodoc> |
f32fc4bc RD |
30002 | <paramlist> |
30003 | <param name="c" type="wxHtmlContainerCell" default=""/> | |
30004 | </paramlist> | |
30005 | </method> | |
30006 | <method name="CloseContainer" type="wxHtmlContainerCell" overloaded="no"> | |
781d2982 | 30007 | <autodoc>CloseContainer(self) -> HtmlContainerCell</autodoc> |
f32fc4bc RD |
30008 | </method> |
30009 | <method name="GetFontSize" type="int" overloaded="no"> | |
781d2982 | 30010 | <autodoc>GetFontSize(self) -> int</autodoc> |
f32fc4bc RD |
30011 | </method> |
30012 | <method name="SetFontSize" type="" overloaded="no"> | |
781d2982 | 30013 | <autodoc>SetFontSize(self, int s)</autodoc> |
f32fc4bc RD |
30014 | <paramlist> |
30015 | <param name="s" type="int" default=""/> | |
30016 | </paramlist> | |
30017 | </method> | |
30018 | <method name="GetFontBold" type="int" overloaded="no"> | |
781d2982 | 30019 | <autodoc>GetFontBold(self) -> int</autodoc> |
f32fc4bc RD |
30020 | </method> |
30021 | <method name="SetFontBold" type="" overloaded="no"> | |
781d2982 | 30022 | <autodoc>SetFontBold(self, int x)</autodoc> |
f32fc4bc RD |
30023 | <paramlist> |
30024 | <param name="x" type="int" default=""/> | |
30025 | </paramlist> | |
30026 | </method> | |
30027 | <method name="GetFontItalic" type="int" overloaded="no"> | |
781d2982 | 30028 | <autodoc>GetFontItalic(self) -> int</autodoc> |
f32fc4bc RD |
30029 | </method> |
30030 | <method name="SetFontItalic" type="" overloaded="no"> | |
781d2982 | 30031 | <autodoc>SetFontItalic(self, int x)</autodoc> |
f32fc4bc RD |
30032 | <paramlist> |
30033 | <param name="x" type="int" default=""/> | |
30034 | </paramlist> | |
30035 | </method> | |
30036 | <method name="GetFontUnderlined" type="int" overloaded="no"> | |
781d2982 | 30037 | <autodoc>GetFontUnderlined(self) -> int</autodoc> |
f32fc4bc RD |
30038 | </method> |
30039 | <method name="SetFontUnderlined" type="" overloaded="no"> | |
781d2982 | 30040 | <autodoc>SetFontUnderlined(self, int x)</autodoc> |
f32fc4bc RD |
30041 | <paramlist> |
30042 | <param name="x" type="int" default=""/> | |
30043 | </paramlist> | |
30044 | </method> | |
30045 | <method name="GetFontFixed" type="int" overloaded="no"> | |
781d2982 | 30046 | <autodoc>GetFontFixed(self) -> int</autodoc> |
f32fc4bc RD |
30047 | </method> |
30048 | <method name="SetFontFixed" type="" overloaded="no"> | |
781d2982 | 30049 | <autodoc>SetFontFixed(self, int x)</autodoc> |
f32fc4bc RD |
30050 | <paramlist> |
30051 | <param name="x" type="int" default=""/> | |
30052 | </paramlist> | |
30053 | </method> | |
30054 | <method name="GetAlign" type="int" overloaded="no"> | |
781d2982 | 30055 | <autodoc>GetAlign(self) -> int</autodoc> |
f32fc4bc RD |
30056 | </method> |
30057 | <method name="SetAlign" type="" overloaded="no"> | |
781d2982 | 30058 | <autodoc>SetAlign(self, int a)</autodoc> |
f32fc4bc RD |
30059 | <paramlist> |
30060 | <param name="a" type="int" default=""/> | |
30061 | </paramlist> | |
30062 | </method> | |
30063 | <method name="GetLinkColor" type="Colour" overloaded="no"> | |
781d2982 | 30064 | <autodoc>GetLinkColor(self) -> Colour</autodoc> |
f32fc4bc RD |
30065 | </method> |
30066 | <method name="SetLinkColor" type="" overloaded="no"> | |
781d2982 | 30067 | <autodoc>SetLinkColor(self, Colour clr)</autodoc> |
f32fc4bc RD |
30068 | <paramlist> |
30069 | <param name="clr" type="Colour" default=""/> | |
30070 | </paramlist> | |
30071 | </method> | |
30072 | <method name="GetActualColor" type="Colour" overloaded="no"> | |
781d2982 | 30073 | <autodoc>GetActualColor(self) -> Colour</autodoc> |
f32fc4bc RD |
30074 | </method> |
30075 | <method name="SetActualColor" type="" overloaded="no"> | |
781d2982 | 30076 | <autodoc>SetActualColor(self, Colour clr)</autodoc> |
f32fc4bc RD |
30077 | <paramlist> |
30078 | <param name="clr" type="Colour" default=""/> | |
30079 | </paramlist> | |
30080 | </method> | |
30081 | <method name="SetLink" type="" overloaded="no"> | |
781d2982 | 30082 | <autodoc>SetLink(self, String link)</autodoc> |
f32fc4bc RD |
30083 | <paramlist> |
30084 | <param name="link" type="String" default=""/> | |
30085 | </paramlist> | |
30086 | </method> | |
30087 | <method name="CreateCurrentFont" type="Font" overloaded="no"> | |
781d2982 | 30088 | <autodoc>CreateCurrentFont(self) -> Font</autodoc> |
f32fc4bc RD |
30089 | </method> |
30090 | <method name="GetLink" type="HtmlLinkInfo" overloaded="no"> | |
781d2982 | 30091 | <autodoc>GetLink(self) -> HtmlLinkInfo</autodoc> |
f32fc4bc RD |
30092 | </method> |
30093 | </class> | |
30094 | <class name="HtmlTagHandler" oldname="wxPyHtmlTagHandler" module="html"> | |
30095 | <baseclass name="Object"/> | |
30096 | <constructor name="wxPyHtmlTagHandler" overloaded="no"> | |
781d2982 | 30097 | <autodoc>__init__(self) -> HtmlTagHandler</autodoc> |
f32fc4bc RD |
30098 | </constructor> |
30099 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 30100 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
30101 | <paramlist> |
30102 | <param name="self" type="PyObject" default=""/> | |
30103 | <param name="_class" type="PyObject" default=""/> | |
30104 | </paramlist> | |
30105 | </method> | |
30106 | <method name="SetParser" type="" overloaded="no"> | |
781d2982 | 30107 | <autodoc>SetParser(self, HtmlParser parser)</autodoc> |
f32fc4bc RD |
30108 | <paramlist> |
30109 | <param name="parser" type="HtmlParser" default=""/> | |
30110 | </paramlist> | |
30111 | </method> | |
30112 | <method name="GetParser" type="HtmlParser" overloaded="no"> | |
781d2982 | 30113 | <autodoc>GetParser(self) -> HtmlParser</autodoc> |
f32fc4bc RD |
30114 | </method> |
30115 | <method name="ParseInner" type="" overloaded="no"> | |
781d2982 | 30116 | <autodoc>ParseInner(self, HtmlTag tag)</autodoc> |
f32fc4bc RD |
30117 | <paramlist> |
30118 | <param name="tag" type="HtmlTag" default=""/> | |
30119 | </paramlist> | |
30120 | </method> | |
30121 | </class> | |
30122 | <class name="HtmlWinTagHandler" oldname="wxPyHtmlWinTagHandler" module="html"> | |
30123 | <baseclass name="HtmlTagHandler"/> | |
30124 | <constructor name="wxPyHtmlWinTagHandler" overloaded="no"> | |
781d2982 | 30125 | <autodoc>__init__(self) -> HtmlWinTagHandler</autodoc> |
f32fc4bc RD |
30126 | </constructor> |
30127 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 30128 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
30129 | <paramlist> |
30130 | <param name="self" type="PyObject" default=""/> | |
30131 | <param name="_class" type="PyObject" default=""/> | |
30132 | </paramlist> | |
30133 | </method> | |
30134 | <method name="SetParser" type="" overloaded="no"> | |
781d2982 | 30135 | <autodoc>SetParser(self, HtmlParser parser)</autodoc> |
f32fc4bc RD |
30136 | <paramlist> |
30137 | <param name="parser" type="HtmlParser" default=""/> | |
30138 | </paramlist> | |
30139 | </method> | |
30140 | <method name="GetParser" type="HtmlWinParser" overloaded="no"> | |
781d2982 | 30141 | <autodoc>GetParser(self) -> HtmlWinParser</autodoc> |
f32fc4bc RD |
30142 | </method> |
30143 | <method name="ParseInner" type="" overloaded="no"> | |
781d2982 | 30144 | <autodoc>ParseInner(self, HtmlTag tag)</autodoc> |
f32fc4bc RD |
30145 | <paramlist> |
30146 | <param name="tag" type="HtmlTag" default=""/> | |
30147 | </paramlist> | |
30148 | </method> | |
30149 | </class> | |
30150 | <method name="HtmlWinParser_AddTagHandler" oldname="wxHtmlWinParser_AddTagHandler" type="" overloaded="no"> | |
30151 | <autodoc>HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)</autodoc> | |
30152 | <paramlist> | |
30153 | <param name="tagHandlerClass" type="PyObject" default=""/> | |
856bf319 RD |
30154 | </paramlist> |
30155 | </method> | |
0dd25e81 | 30156 | <pythoncode> |
0f43fbdf RD |
30157 | #--------------------------------------------------------------------------- |
30158 | </pythoncode> | |
f32fc4bc RD |
30159 | <class name="HtmlSelection" oldname="wxHtmlSelection" module="html"> |
30160 | <constructor name="HtmlSelection" overloaded="no"> | |
781d2982 | 30161 | <autodoc>__init__(self) -> HtmlSelection</autodoc> |
f32fc4bc RD |
30162 | </constructor> |
30163 | <destructor name="~wxHtmlSelection" overloaded="no"> | |
781d2982 | 30164 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
30165 | </destructor> |
30166 | <method name="Set" type="" overloaded="no"> | |
781d2982 | 30167 | <autodoc>Set(self, Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)</autodoc> |
f32fc4bc RD |
30168 | <paramlist> |
30169 | <param name="fromPos" type="Point" default=""/> | |
30170 | <param name="fromCell" type="wxHtmlCell" default=""/> | |
30171 | <param name="toPos" type="Point" default=""/> | |
30172 | <param name="toCell" type="wxHtmlCell" default=""/> | |
30173 | </paramlist> | |
30174 | </method> | |
30175 | <method name="SetCells" type="" overloaded="no"> | |
781d2982 | 30176 | <autodoc>SetCells(self, HtmlCell fromCell, HtmlCell toCell)</autodoc> |
f32fc4bc RD |
30177 | <paramlist> |
30178 | <param name="fromCell" type="wxHtmlCell" default=""/> | |
30179 | <param name="toCell" type="wxHtmlCell" default=""/> | |
30180 | </paramlist> | |
30181 | </method> | |
30182 | <method name="GetFromCell" type="wxHtmlCell" overloaded="no"> | |
781d2982 | 30183 | <autodoc>GetFromCell(self) -> HtmlCell</autodoc> |
f32fc4bc RD |
30184 | </method> |
30185 | <method name="GetToCell" type="wxHtmlCell" overloaded="no"> | |
781d2982 | 30186 | <autodoc>GetToCell(self) -> HtmlCell</autodoc> |
f32fc4bc RD |
30187 | </method> |
30188 | <method name="GetFromPos" type="Point" overloaded="no"> | |
781d2982 | 30189 | <autodoc>GetFromPos(self) -> Point</autodoc> |
f32fc4bc RD |
30190 | </method> |
30191 | <method name="GetToPos" type="Point" overloaded="no"> | |
781d2982 | 30192 | <autodoc>GetToPos(self) -> Point</autodoc> |
f32fc4bc RD |
30193 | </method> |
30194 | <method name="GetFromPrivPos" type="Point" overloaded="no"> | |
781d2982 | 30195 | <autodoc>GetFromPrivPos(self) -> Point</autodoc> |
f32fc4bc RD |
30196 | </method> |
30197 | <method name="GetToPrivPos" type="Point" overloaded="no"> | |
781d2982 | 30198 | <autodoc>GetToPrivPos(self) -> Point</autodoc> |
f32fc4bc RD |
30199 | </method> |
30200 | <method name="SetFromPrivPos" type="" overloaded="no"> | |
781d2982 | 30201 | <autodoc>SetFromPrivPos(self, Point pos)</autodoc> |
f32fc4bc RD |
30202 | <paramlist> |
30203 | <param name="pos" type="Point" default=""/> | |
30204 | </paramlist> | |
30205 | </method> | |
30206 | <method name="SetToPrivPos" type="" overloaded="no"> | |
781d2982 | 30207 | <autodoc>SetToPrivPos(self, Point pos)</autodoc> |
f32fc4bc RD |
30208 | <paramlist> |
30209 | <param name="pos" type="Point" default=""/> | |
30210 | </paramlist> | |
30211 | </method> | |
30212 | <method name="ClearPrivPos" type="" overloaded="no"> | |
781d2982 | 30213 | <autodoc>ClearPrivPos(self)</autodoc> |
f32fc4bc RD |
30214 | </method> |
30215 | <method name="IsEmpty" type="bool" overloaded="no"> | |
781d2982 | 30216 | <autodoc>IsEmpty(self) -> bool</autodoc> |
f32fc4bc RD |
30217 | </method> |
30218 | </class> | |
30219 | <class name="HtmlRenderingState" oldname="wxHtmlRenderingState" module="html"> | |
30220 | <constructor name="HtmlRenderingState" overloaded="no"> | |
781d2982 | 30221 | <autodoc>__init__(self) -> HtmlRenderingState</autodoc> |
f32fc4bc RD |
30222 | </constructor> |
30223 | <destructor name="~wxHtmlRenderingState" overloaded="no"> | |
781d2982 | 30224 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
30225 | </destructor> |
30226 | <method name="SetSelectionState" type="" overloaded="no"> | |
781d2982 | 30227 | <autodoc>SetSelectionState(self, int s)</autodoc> |
f32fc4bc RD |
30228 | <paramlist> |
30229 | <param name="s" type="wxHtmlSelectionState" default=""/> | |
30230 | </paramlist> | |
30231 | </method> | |
30232 | <method name="GetSelectionState" type="wxHtmlSelectionState" overloaded="no"> | |
781d2982 | 30233 | <autodoc>GetSelectionState(self) -> int</autodoc> |
f32fc4bc RD |
30234 | </method> |
30235 | <method name="SetFgColour" type="" overloaded="no"> | |
781d2982 | 30236 | <autodoc>SetFgColour(self, Colour c)</autodoc> |
f32fc4bc RD |
30237 | <paramlist> |
30238 | <param name="c" type="Colour" default=""/> | |
30239 | </paramlist> | |
30240 | </method> | |
30241 | <method name="GetFgColour" type="Colour" overloaded="no"> | |
781d2982 | 30242 | <autodoc>GetFgColour(self) -> Colour</autodoc> |
f32fc4bc RD |
30243 | </method> |
30244 | <method name="SetBgColour" type="" overloaded="no"> | |
781d2982 | 30245 | <autodoc>SetBgColour(self, Colour c)</autodoc> |
f32fc4bc RD |
30246 | <paramlist> |
30247 | <param name="c" type="Colour" default=""/> | |
30248 | </paramlist> | |
30249 | </method> | |
30250 | <method name="GetBgColour" type="Colour" overloaded="no"> | |
781d2982 | 30251 | <autodoc>GetBgColour(self) -> Colour</autodoc> |
f32fc4bc RD |
30252 | </method> |
30253 | </class> | |
30254 | <class name="HtmlRenderingStyle" oldname="wxHtmlRenderingStyle" module="html"> | |
30255 | <method name="GetSelectedTextColour" type="Colour" overloaded="no"> | |
781d2982 | 30256 | <autodoc>GetSelectedTextColour(self, Colour clr) -> Colour</autodoc> |
f32fc4bc RD |
30257 | <paramlist> |
30258 | <param name="clr" type="Colour" default=""/> | |
30259 | </paramlist> | |
30260 | </method> | |
30261 | <method name="GetSelectedTextBgColour" type="Colour" overloaded="no"> | |
781d2982 | 30262 | <autodoc>GetSelectedTextBgColour(self, Colour clr) -> Colour</autodoc> |
f32fc4bc RD |
30263 | <paramlist> |
30264 | <param name="clr" type="Colour" default=""/> | |
30265 | </paramlist> | |
30266 | </method> | |
30267 | </class> | |
30268 | <class name="DefaultHtmlRenderingStyle" oldname="wxDefaultHtmlRenderingStyle" module="html"> | |
30269 | <baseclass name="HtmlRenderingStyle"/> | |
30270 | <method name="GetSelectedTextColour" type="Colour" overloaded="no"> | |
781d2982 | 30271 | <autodoc>GetSelectedTextColour(self, Colour clr) -> Colour</autodoc> |
f32fc4bc RD |
30272 | <paramlist> |
30273 | <param name="clr" type="Colour" default=""/> | |
30274 | </paramlist> | |
30275 | </method> | |
30276 | <method name="GetSelectedTextBgColour" type="Colour" overloaded="no"> | |
781d2982 | 30277 | <autodoc>GetSelectedTextBgColour(self, Colour clr) -> Colour</autodoc> |
f32fc4bc RD |
30278 | <paramlist> |
30279 | <param name="clr" type="Colour" default=""/> | |
30280 | </paramlist> | |
30281 | </method> | |
30282 | </class> | |
30283 | <class name="HtmlRenderingInfo" oldname="wxHtmlRenderingInfo" module="html"> | |
30284 | <constructor name="HtmlRenderingInfo" overloaded="no"> | |
781d2982 | 30285 | <autodoc>__init__(self) -> HtmlRenderingInfo</autodoc> |
f32fc4bc RD |
30286 | </constructor> |
30287 | <destructor name="~wxHtmlRenderingInfo" overloaded="no"> | |
781d2982 | 30288 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
30289 | </destructor> |
30290 | <method name="SetSelection" type="" overloaded="no"> | |
781d2982 | 30291 | <autodoc>SetSelection(self, HtmlSelection s)</autodoc> |
f32fc4bc RD |
30292 | <paramlist> |
30293 | <param name="s" type="HtmlSelection" default=""/> | |
30294 | </paramlist> | |
30295 | </method> | |
30296 | <method name="GetSelection" type="HtmlSelection" overloaded="no"> | |
781d2982 | 30297 | <autodoc>GetSelection(self) -> HtmlSelection</autodoc> |
f32fc4bc RD |
30298 | </method> |
30299 | <method name="SetStyle" type="" overloaded="no"> | |
781d2982 | 30300 | <autodoc>SetStyle(self, HtmlRenderingStyle style)</autodoc> |
f32fc4bc RD |
30301 | <paramlist> |
30302 | <param name="style" type="HtmlRenderingStyle" default=""/> | |
30303 | </paramlist> | |
30304 | </method> | |
30305 | <method name="GetStyle" type="HtmlRenderingStyle" overloaded="no"> | |
781d2982 | 30306 | <autodoc>GetStyle(self) -> HtmlRenderingStyle</autodoc> |
f32fc4bc RD |
30307 | </method> |
30308 | <method name="GetState" type="HtmlRenderingState" overloaded="no"> | |
781d2982 | 30309 | <autodoc>GetState(self) -> HtmlRenderingState</autodoc> |
f32fc4bc RD |
30310 | </method> |
30311 | </class> | |
30312 | <pythoncode> | |
30313 | #--------------------------------------------------------------------------- | |
856bf319 | 30314 | </pythoncode> |
f32fc4bc RD |
30315 | <class name="HtmlCell" oldname="wxHtmlCell" module="html"> |
30316 | <baseclass name="Object"/> | |
30317 | <constructor name="HtmlCell" overloaded="no"> | |
781d2982 | 30318 | <autodoc>__init__(self) -> HtmlCell</autodoc> |
f32fc4bc RD |
30319 | </constructor> |
30320 | <method name="GetPosX" type="int" overloaded="no"> | |
781d2982 | 30321 | <autodoc>GetPosX(self) -> int</autodoc> |
f32fc4bc RD |
30322 | </method> |
30323 | <method name="GetPosY" type="int" overloaded="no"> | |
781d2982 | 30324 | <autodoc>GetPosY(self) -> int</autodoc> |
f32fc4bc RD |
30325 | </method> |
30326 | <method name="GetWidth" type="int" overloaded="no"> | |
781d2982 | 30327 | <autodoc>GetWidth(self) -> int</autodoc> |
f32fc4bc RD |
30328 | </method> |
30329 | <method name="GetHeight" type="int" overloaded="no"> | |
781d2982 | 30330 | <autodoc>GetHeight(self) -> int</autodoc> |
f32fc4bc RD |
30331 | </method> |
30332 | <method name="GetDescent" type="int" overloaded="no"> | |
781d2982 | 30333 | <autodoc>GetDescent(self) -> int</autodoc> |
f32fc4bc | 30334 | </method> |
368d20e8 | 30335 | <method name="GetMaxTotalWidth" type="int" overloaded="no"> |
781d2982 | 30336 | <autodoc>GetMaxTotalWidth(self) -> int</autodoc> |
368d20e8 | 30337 | </method> |
f32fc4bc | 30338 | <method name="GetId" type="String" overloaded="no"> |
781d2982 | 30339 | <autodoc>GetId(self) -> String</autodoc> |
f32fc4bc RD |
30340 | </method> |
30341 | <method name="SetId" type="" overloaded="no"> | |
781d2982 | 30342 | <autodoc>SetId(self, String id)</autodoc> |
f32fc4bc RD |
30343 | <paramlist> |
30344 | <param name="id" type="String" default=""/> | |
30345 | </paramlist> | |
30346 | </method> | |
30347 | <method name="GetLink" type="HtmlLinkInfo" overloaded="no"> | |
781d2982 | 30348 | <autodoc>GetLink(self, int x=0, int y=0) -> HtmlLinkInfo</autodoc> |
f32fc4bc RD |
30349 | <paramlist> |
30350 | <param name="x" type="int" default="0"/> | |
30351 | <param name="y" type="int" default="0"/> | |
30352 | </paramlist> | |
30353 | </method> | |
30354 | <method name="GetNext" type="HtmlCell" overloaded="no"> | |
781d2982 | 30355 | <autodoc>GetNext(self) -> HtmlCell</autodoc> |
f32fc4bc RD |
30356 | </method> |
30357 | <method name="GetParent" type="wxHtmlContainerCell" overloaded="no"> | |
781d2982 | 30358 | <autodoc>GetParent(self) -> HtmlContainerCell</autodoc> |
f32fc4bc RD |
30359 | </method> |
30360 | <method name="GetFirstChild" type="HtmlCell" overloaded="no"> | |
781d2982 | 30361 | <autodoc>GetFirstChild(self) -> HtmlCell</autodoc> |
f32fc4bc RD |
30362 | </method> |
30363 | <method name="GetCursor" type="Cursor" overloaded="no"> | |
781d2982 | 30364 | <autodoc>GetCursor(self) -> Cursor</autodoc> |
f32fc4bc RD |
30365 | </method> |
30366 | <method name="IsFormattingCell" type="bool" overloaded="no"> | |
781d2982 | 30367 | <autodoc>IsFormattingCell(self) -> bool</autodoc> |
f32fc4bc RD |
30368 | </method> |
30369 | <method name="SetLink" type="" overloaded="no"> | |
781d2982 | 30370 | <autodoc>SetLink(self, HtmlLinkInfo link)</autodoc> |
f32fc4bc RD |
30371 | <paramlist> |
30372 | <param name="link" type="HtmlLinkInfo" default=""/> | |
30373 | </paramlist> | |
30374 | </method> | |
30375 | <method name="SetNext" type="" overloaded="no"> | |
781d2982 | 30376 | <autodoc>SetNext(self, HtmlCell cell)</autodoc> |
f32fc4bc RD |
30377 | <paramlist> |
30378 | <param name="cell" type="HtmlCell" default=""/> | |
30379 | </paramlist> | |
30380 | </method> | |
30381 | <method name="SetParent" type="" overloaded="no"> | |
781d2982 | 30382 | <autodoc>SetParent(self, HtmlContainerCell p)</autodoc> |
f32fc4bc RD |
30383 | <paramlist> |
30384 | <param name="p" type="wxHtmlContainerCell" default=""/> | |
30385 | </paramlist> | |
30386 | </method> | |
30387 | <method name="SetPos" type="" overloaded="no"> | |
781d2982 | 30388 | <autodoc>SetPos(self, int x, int y)</autodoc> |
f32fc4bc RD |
30389 | <paramlist> |
30390 | <param name="x" type="int" default=""/> | |
30391 | <param name="y" type="int" default=""/> | |
30392 | </paramlist> | |
30393 | </method> | |
30394 | <method name="Layout" type="" overloaded="no"> | |
781d2982 | 30395 | <autodoc>Layout(self, int w)</autodoc> |
f32fc4bc RD |
30396 | <paramlist> |
30397 | <param name="w" type="int" default=""/> | |
30398 | </paramlist> | |
30399 | </method> | |
30400 | <method name="Draw" type="" overloaded="no"> | |
781d2982 | 30401 | <autodoc>Draw(self, DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)</autodoc> |
f32fc4bc RD |
30402 | <paramlist> |
30403 | <param name="dc" type="DC" default=""/> | |
30404 | <param name="x" type="int" default=""/> | |
30405 | <param name="y" type="int" default=""/> | |
30406 | <param name="view_y1" type="int" default=""/> | |
30407 | <param name="view_y2" type="int" default=""/> | |
30408 | <param name="info" type="HtmlRenderingInfo" default=""/> | |
30409 | </paramlist> | |
30410 | </method> | |
30411 | <method name="DrawInvisible" type="" overloaded="no"> | |
781d2982 | 30412 | <autodoc>DrawInvisible(self, DC dc, int x, int y, HtmlRenderingInfo info)</autodoc> |
f32fc4bc RD |
30413 | <paramlist> |
30414 | <param name="dc" type="DC" default=""/> | |
30415 | <param name="x" type="int" default=""/> | |
30416 | <param name="y" type="int" default=""/> | |
30417 | <param name="info" type="HtmlRenderingInfo" default=""/> | |
30418 | </paramlist> | |
30419 | </method> | |
30420 | <method name="Find" type="HtmlCell" overloaded="no"> | |
781d2982 | 30421 | <autodoc>Find(self, int condition, void param) -> HtmlCell</autodoc> |
f32fc4bc RD |
30422 | <paramlist> |
30423 | <param name="condition" type="int" default=""/> | |
30424 | <param name="param" type="" default=""/> | |
30425 | </paramlist> | |
30426 | </method> | |
30427 | <method name="AdjustPagebreak" type="bool" overloaded="no"> | |
781d2982 | 30428 | <autodoc>AdjustPagebreak(self, int INOUT) -> bool</autodoc> |
f32fc4bc RD |
30429 | <paramlist> |
30430 | <param name="INOUT" type="int" default=""/> | |
30431 | </paramlist> | |
30432 | </method> | |
30433 | <method name="SetCanLiveOnPagebreak" type="" overloaded="no"> | |
781d2982 | 30434 | <autodoc>SetCanLiveOnPagebreak(self, bool can)</autodoc> |
f32fc4bc RD |
30435 | <paramlist> |
30436 | <param name="can" type="bool" default=""/> | |
30437 | </paramlist> | |
30438 | </method> | |
30439 | <method name="IsLinebreakAllowed" type="bool" overloaded="no"> | |
781d2982 | 30440 | <autodoc>IsLinebreakAllowed(self) -> bool</autodoc> |
f32fc4bc RD |
30441 | </method> |
30442 | <method name="IsTerminalCell" type="bool" overloaded="no"> | |
781d2982 | 30443 | <autodoc>IsTerminalCell(self) -> bool</autodoc> |
f32fc4bc RD |
30444 | </method> |
30445 | <method name="FindCellByPos" type="HtmlCell" overloaded="no"> | |
781d2982 | 30446 | <autodoc>FindCellByPos(self, int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell</autodoc> |
f32fc4bc RD |
30447 | <paramlist> |
30448 | <param name="x" type="int" default=""/> | |
30449 | <param name="y" type="int" default=""/> | |
30450 | <param name="flags" type="unsigned int" default="wxHTML_FIND_EXACT"/> | |
30451 | </paramlist> | |
30452 | </method> | |
30453 | <method name="GetAbsPos" type="Point" overloaded="no"> | |
781d2982 | 30454 | <autodoc>GetAbsPos(self) -> Point</autodoc> |
f32fc4bc RD |
30455 | </method> |
30456 | <method name="GetFirstTerminal" type="HtmlCell" overloaded="no"> | |
781d2982 | 30457 | <autodoc>GetFirstTerminal(self) -> HtmlCell</autodoc> |
f32fc4bc RD |
30458 | </method> |
30459 | <method name="GetLastTerminal" type="HtmlCell" overloaded="no"> | |
781d2982 | 30460 | <autodoc>GetLastTerminal(self) -> HtmlCell</autodoc> |
f32fc4bc RD |
30461 | </method> |
30462 | <method name="GetDepth" type="unsigned int" overloaded="no"> | |
781d2982 | 30463 | <autodoc>GetDepth(self) -> unsigned int</autodoc> |
f32fc4bc RD |
30464 | </method> |
30465 | <method name="IsBefore" type="bool" overloaded="no"> | |
781d2982 | 30466 | <autodoc>IsBefore(self, HtmlCell cell) -> bool</autodoc> |
f32fc4bc RD |
30467 | <paramlist> |
30468 | <param name="cell" type="HtmlCell" default=""/> | |
30469 | </paramlist> | |
30470 | </method> | |
30471 | <method name="ConvertToText" type="String" overloaded="no"> | |
781d2982 | 30472 | <autodoc>ConvertToText(self, HtmlSelection sel) -> String</autodoc> |
f32fc4bc RD |
30473 | <paramlist> |
30474 | <param name="sel" type="HtmlSelection" default=""/> | |
30475 | </paramlist> | |
30476 | </method> | |
30477 | </class> | |
30478 | <class name="HtmlWordCell" oldname="wxHtmlWordCell" module="html"> | |
30479 | <baseclass name="HtmlCell"/> | |
30480 | <constructor name="HtmlWordCell" overloaded="no"> | |
781d2982 | 30481 | <autodoc>__init__(self, String word, DC dc) -> HtmlWordCell</autodoc> |
f32fc4bc RD |
30482 | <paramlist> |
30483 | <param name="word" type="String" default=""/> | |
30484 | <param name="dc" type="DC" default=""/> | |
30485 | </paramlist> | |
30486 | </constructor> | |
30487 | </class> | |
30488 | <class name="HtmlContainerCell" oldname="wxHtmlContainerCell" module="html"> | |
30489 | <baseclass name="HtmlCell"/> | |
30490 | <constructor name="HtmlContainerCell" overloaded="no"> | |
781d2982 | 30491 | <autodoc>__init__(self, HtmlContainerCell parent) -> HtmlContainerCell</autodoc> |
f32fc4bc RD |
30492 | <paramlist> |
30493 | <param name="parent" type="HtmlContainerCell" default=""/> | |
30494 | </paramlist> | |
30495 | </constructor> | |
30496 | <method name="InsertCell" type="" overloaded="no"> | |
781d2982 | 30497 | <autodoc>InsertCell(self, HtmlCell cell)</autodoc> |
f32fc4bc RD |
30498 | <paramlist> |
30499 | <param name="cell" type="HtmlCell" default=""/> | |
30500 | </paramlist> | |
30501 | </method> | |
30502 | <method name="SetAlignHor" type="" overloaded="no"> | |
781d2982 | 30503 | <autodoc>SetAlignHor(self, int al)</autodoc> |
f32fc4bc RD |
30504 | <paramlist> |
30505 | <param name="al" type="int" default=""/> | |
30506 | </paramlist> | |
30507 | </method> | |
30508 | <method name="GetAlignHor" type="int" overloaded="no"> | |
781d2982 | 30509 | <autodoc>GetAlignHor(self) -> int</autodoc> |
f32fc4bc RD |
30510 | </method> |
30511 | <method name="SetAlignVer" type="" overloaded="no"> | |
781d2982 | 30512 | <autodoc>SetAlignVer(self, int al)</autodoc> |
f32fc4bc RD |
30513 | <paramlist> |
30514 | <param name="al" type="int" default=""/> | |
30515 | </paramlist> | |
30516 | </method> | |
30517 | <method name="GetAlignVer" type="int" overloaded="no"> | |
781d2982 | 30518 | <autodoc>GetAlignVer(self) -> int</autodoc> |
f32fc4bc RD |
30519 | </method> |
30520 | <method name="SetIndent" type="" overloaded="no"> | |
781d2982 | 30521 | <autodoc>SetIndent(self, int i, int what, int units=HTML_UNITS_PIXELS)</autodoc> |
f32fc4bc RD |
30522 | <paramlist> |
30523 | <param name="i" type="int" default=""/> | |
30524 | <param name="what" type="int" default=""/> | |
30525 | <param name="units" type="int" default="wxHTML_UNITS_PIXELS"/> | |
30526 | </paramlist> | |
30527 | </method> | |
30528 | <method name="GetIndent" type="int" overloaded="no"> | |
781d2982 | 30529 | <autodoc>GetIndent(self, int ind) -> int</autodoc> |
f32fc4bc RD |
30530 | <paramlist> |
30531 | <param name="ind" type="int" default=""/> | |
30532 | </paramlist> | |
30533 | </method> | |
30534 | <method name="GetIndentUnits" type="int" overloaded="no"> | |
781d2982 | 30535 | <autodoc>GetIndentUnits(self, int ind) -> int</autodoc> |
f32fc4bc RD |
30536 | <paramlist> |
30537 | <param name="ind" type="int" default=""/> | |
30538 | </paramlist> | |
30539 | </method> | |
30540 | <method name="SetAlign" type="" overloaded="no"> | |
781d2982 | 30541 | <autodoc>SetAlign(self, HtmlTag tag)</autodoc> |
f32fc4bc RD |
30542 | <paramlist> |
30543 | <param name="tag" type="HtmlTag" default=""/> | |
30544 | </paramlist> | |
30545 | </method> | |
30546 | <method name="SetWidthFloat" type="" overloaded="no"> | |
781d2982 | 30547 | <autodoc>SetWidthFloat(self, int w, int units)</autodoc> |
f32fc4bc RD |
30548 | <paramlist> |
30549 | <param name="w" type="int" default=""/> | |
30550 | <param name="units" type="int" default=""/> | |
30551 | </paramlist> | |
30552 | </method> | |
30553 | <method name="SetWidthFloatFromTag" type="" overloaded="no"> | |
781d2982 | 30554 | <autodoc>SetWidthFloatFromTag(self, HtmlTag tag)</autodoc> |
f32fc4bc RD |
30555 | <paramlist> |
30556 | <param name="tag" type="HtmlTag" default=""/> | |
30557 | </paramlist> | |
30558 | </method> | |
30559 | <method name="SetMinHeight" type="" overloaded="no"> | |
781d2982 | 30560 | <autodoc>SetMinHeight(self, int h, int align=HTML_ALIGN_TOP)</autodoc> |
f32fc4bc RD |
30561 | <paramlist> |
30562 | <param name="h" type="int" default=""/> | |
30563 | <param name="align" type="int" default="wxHTML_ALIGN_TOP"/> | |
30564 | </paramlist> | |
30565 | </method> | |
30566 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
781d2982 | 30567 | <autodoc>SetBackgroundColour(self, Colour clr)</autodoc> |
f32fc4bc RD |
30568 | <paramlist> |
30569 | <param name="clr" type="Colour" default=""/> | |
30570 | </paramlist> | |
30571 | </method> | |
30572 | <method name="GetBackgroundColour" type="Colour" overloaded="no"> | |
781d2982 | 30573 | <autodoc>GetBackgroundColour(self) -> Colour</autodoc> |
f32fc4bc RD |
30574 | </method> |
30575 | <method name="SetBorder" type="" overloaded="no"> | |
781d2982 | 30576 | <autodoc>SetBorder(self, Colour clr1, Colour clr2)</autodoc> |
f32fc4bc RD |
30577 | <paramlist> |
30578 | <param name="clr1" type="Colour" default=""/> | |
30579 | <param name="clr2" type="Colour" default=""/> | |
30580 | </paramlist> | |
30581 | </method> | |
30582 | <method name="GetFirstChild" type="HtmlCell" overloaded="no"> | |
781d2982 | 30583 | <autodoc>GetFirstChild(self) -> HtmlCell</autodoc> |
f32fc4bc RD |
30584 | </method> |
30585 | </class> | |
30586 | <class name="HtmlColourCell" oldname="wxHtmlColourCell" module="html"> | |
30587 | <baseclass name="HtmlCell"/> | |
30588 | <constructor name="HtmlColourCell" overloaded="no"> | |
781d2982 | 30589 | <autodoc>__init__(self, Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell</autodoc> |
f32fc4bc RD |
30590 | <paramlist> |
30591 | <param name="clr" type="Colour" default=""/> | |
30592 | <param name="flags" type="int" default="wxHTML_CLR_FOREGROUND"/> | |
30593 | </paramlist> | |
30594 | </constructor> | |
30595 | </class> | |
30596 | <class name="HtmlFontCell" oldname="wxHtmlFontCell" module="html"> | |
30597 | <baseclass name="HtmlCell"/> | |
30598 | <constructor name="HtmlFontCell" overloaded="no"> | |
781d2982 | 30599 | <autodoc>__init__(self, Font font) -> HtmlFontCell</autodoc> |
f32fc4bc RD |
30600 | <paramlist> |
30601 | <param name="font" type="Font" default=""/> | |
30602 | </paramlist> | |
30603 | </constructor> | |
30604 | </class> | |
30605 | <class name="HtmlWidgetCell" oldname="wxHtmlWidgetCell" module="html"> | |
30606 | <baseclass name="HtmlCell"/> | |
30607 | <constructor name="HtmlWidgetCell" overloaded="no"> | |
781d2982 | 30608 | <autodoc>__init__(self, Window wnd, int w=0) -> HtmlWidgetCell</autodoc> |
f32fc4bc RD |
30609 | <paramlist> |
30610 | <param name="wnd" type="Window" default=""/> | |
30611 | <param name="w" type="int" default="0"/> | |
30612 | </paramlist> | |
30613 | </constructor> | |
30614 | </class> | |
30615 | <pythoncode> | |
0f43fbdf RD |
30616 | #--------------------------------------------------------------------------- |
30617 | </pythoncode> | |
f32fc4bc RD |
30618 | <class name="HtmlFilter" oldname="wxPyHtmlFilter" module="html"> |
30619 | <baseclass name="Object"/> | |
30620 | <constructor name="wxPyHtmlFilter" overloaded="no"> | |
781d2982 | 30621 | <autodoc>__init__(self) -> HtmlFilter</autodoc> |
f32fc4bc RD |
30622 | </constructor> |
30623 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 30624 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
30625 | <paramlist> |
30626 | <param name="self" type="PyObject" default=""/> | |
30627 | <param name="_class" type="PyObject" default=""/> | |
30628 | </paramlist> | |
30629 | </method> | |
30630 | </class> | |
30631 | <pythoncode> | |
0f43fbdf RD |
30632 | #--------------------------------------------------------------------------- |
30633 | </pythoncode> | |
f32fc4bc RD |
30634 | <class name="HtmlWindow" oldname="wxPyHtmlWindow" module="html"> |
30635 | <baseclass name="ScrolledWindow"/> | |
30636 | <constructor name="wxPyHtmlWindow" overloaded="no"> | |
781d2982 | 30637 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
f32fc4bc RD |
30638 | Size size=DefaultSize, int style=HW_DEFAULT_STYLE, |
30639 | String name=HtmlWindowNameStr) -> HtmlWindow</autodoc> | |
30640 | <paramlist> | |
30641 | <param name="parent" type="Window" default=""/> | |
30642 | <param name="id" type="int" default="-1"/> | |
30643 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
30644 | <param name="size" type="Size" default="wxDefaultSize"/> | |
30645 | <param name="style" type="int" default="wxHW_DEFAULT_STYLE"/> | |
30646 | <param name="name" type="String" default="wxPyHtmlWindowNameStr"/> | |
30647 | </paramlist> | |
30648 | </constructor> | |
30649 | <constructor name="PreHtmlWindow" overloaded="no"> | |
30650 | <autodoc>PreHtmlWindow() -> HtmlWindow</autodoc> | |
30651 | </constructor> | |
30652 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 30653 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
f32fc4bc RD |
30654 | Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO, |
30655 | String name=HtmlWindowNameStr) -> bool</autodoc> | |
30656 | <paramlist> | |
30657 | <param name="parent" type="Window" default=""/> | |
30658 | <param name="id" type="int" default="-1"/> | |
30659 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
30660 | <param name="size" type="Size" default="wxDefaultSize"/> | |
30661 | <param name="style" type="int" default="wxHW_SCROLLBAR_AUTO"/> | |
30662 | <param name="name" type="String" default="wxPyHtmlWindowNameStr"/> | |
30663 | </paramlist> | |
30664 | </method> | |
30665 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 30666 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
30667 | <paramlist> |
30668 | <param name="self" type="PyObject" default=""/> | |
30669 | <param name="_class" type="PyObject" default=""/> | |
30670 | </paramlist> | |
30671 | </method> | |
30672 | <method name="SetPage" type="bool" overloaded="no"> | |
781d2982 | 30673 | <autodoc>SetPage(self, String source) -> bool</autodoc> |
f32fc4bc RD |
30674 | <paramlist> |
30675 | <param name="source" type="String" default=""/> | |
30676 | </paramlist> | |
30677 | </method> | |
30678 | <method name="LoadPage" type="bool" overloaded="no"> | |
781d2982 | 30679 | <autodoc>LoadPage(self, String location) -> bool</autodoc> |
f32fc4bc RD |
30680 | <paramlist> |
30681 | <param name="location" type="String" default=""/> | |
30682 | </paramlist> | |
30683 | </method> | |
30684 | <method name="LoadFile" type="bool" overloaded="no"> | |
781d2982 | 30685 | <autodoc>LoadFile(self, String filename) -> bool</autodoc> |
f32fc4bc RD |
30686 | <paramlist> |
30687 | <param name="filename" type="String" default=""/> | |
30688 | </paramlist> | |
30689 | </method> | |
30690 | <method name="AppendToPage" type="bool" overloaded="no"> | |
781d2982 | 30691 | <autodoc>AppendToPage(self, String source) -> bool</autodoc> |
f32fc4bc RD |
30692 | <paramlist> |
30693 | <param name="source" type="String" default=""/> | |
30694 | </paramlist> | |
30695 | </method> | |
30696 | <method name="GetOpenedPage" type="String" overloaded="no"> | |
781d2982 | 30697 | <autodoc>GetOpenedPage(self) -> String</autodoc> |
f32fc4bc RD |
30698 | </method> |
30699 | <method name="GetOpenedAnchor" type="String" overloaded="no"> | |
781d2982 | 30700 | <autodoc>GetOpenedAnchor(self) -> String</autodoc> |
f32fc4bc RD |
30701 | </method> |
30702 | <method name="GetOpenedPageTitle" type="String" overloaded="no"> | |
781d2982 | 30703 | <autodoc>GetOpenedPageTitle(self) -> String</autodoc> |
f32fc4bc RD |
30704 | </method> |
30705 | <method name="SetRelatedFrame" type="" overloaded="no"> | |
781d2982 | 30706 | <autodoc>SetRelatedFrame(self, Frame frame, String format)</autodoc> |
f32fc4bc RD |
30707 | <paramlist> |
30708 | <param name="frame" type="Frame" default=""/> | |
30709 | <param name="format" type="String" default=""/> | |
30710 | </paramlist> | |
30711 | </method> | |
30712 | <method name="GetRelatedFrame" type="Frame" overloaded="no"> | |
781d2982 | 30713 | <autodoc>GetRelatedFrame(self) -> Frame</autodoc> |
f32fc4bc RD |
30714 | </method> |
30715 | <method name="SetRelatedStatusBar" type="" overloaded="no"> | |
781d2982 | 30716 | <autodoc>SetRelatedStatusBar(self, int bar)</autodoc> |
f32fc4bc RD |
30717 | <paramlist> |
30718 | <param name="bar" type="int" default=""/> | |
30719 | </paramlist> | |
30720 | </method> | |
30721 | <method name="SetFonts" type="" overloaded="no"> | |
781d2982 | 30722 | <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc> |
f32fc4bc RD |
30723 | <paramlist> |
30724 | <param name="normal_face" type="String" default=""/> | |
30725 | <param name="fixed_face" type="String" default=""/> | |
30726 | <param name="sizes" type="PyObject" default="NULL"/> | |
30727 | </paramlist> | |
30728 | </method> | |
ce6878e6 RD |
30729 | <method name="NormalizeFontSizes" type="" overloaded="no"> |
30730 | <autodoc>NormalizeFontSizes(self, int size=-1)</autodoc> | |
30731 | <paramlist> | |
30732 | <param name="size" type="int" default="-1"/> | |
30733 | </paramlist> | |
30734 | </method> | |
f32fc4bc | 30735 | <method name="SetTitle" type="" overloaded="no"> |
781d2982 | 30736 | <autodoc>SetTitle(self, String title)</autodoc> |
f32fc4bc RD |
30737 | <paramlist> |
30738 | <param name="title" type="String" default=""/> | |
30739 | </paramlist> | |
30740 | </method> | |
30741 | <method name="SetBorders" type="" overloaded="no"> | |
781d2982 | 30742 | <autodoc>SetBorders(self, int b)</autodoc> |
f32fc4bc RD |
30743 | <paramlist> |
30744 | <param name="b" type="int" default=""/> | |
30745 | </paramlist> | |
30746 | </method> | |
30747 | <method name="ReadCustomization" type="" overloaded="no"> | |
781d2982 | 30748 | <autodoc>ReadCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc> |
f32fc4bc RD |
30749 | <paramlist> |
30750 | <param name="cfg" type="ConfigBase" default=""/> | |
30751 | <param name="path" type="String" default="wxPyEmptyString"/> | |
30752 | </paramlist> | |
30753 | </method> | |
30754 | <method name="WriteCustomization" type="" overloaded="no"> | |
781d2982 | 30755 | <autodoc>WriteCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc> |
f32fc4bc RD |
30756 | <paramlist> |
30757 | <param name="cfg" type="ConfigBase" default=""/> | |
30758 | <param name="path" type="String" default="wxPyEmptyString"/> | |
30759 | </paramlist> | |
30760 | </method> | |
30761 | <method name="HistoryBack" type="bool" overloaded="no"> | |
781d2982 | 30762 | <autodoc>HistoryBack(self) -> bool</autodoc> |
f32fc4bc RD |
30763 | </method> |
30764 | <method name="HistoryForward" type="bool" overloaded="no"> | |
781d2982 | 30765 | <autodoc>HistoryForward(self) -> bool</autodoc> |
f32fc4bc RD |
30766 | </method> |
30767 | <method name="HistoryCanBack" type="bool" overloaded="no"> | |
781d2982 | 30768 | <autodoc>HistoryCanBack(self) -> bool</autodoc> |
f32fc4bc RD |
30769 | </method> |
30770 | <method name="HistoryCanForward" type="bool" overloaded="no"> | |
781d2982 | 30771 | <autodoc>HistoryCanForward(self) -> bool</autodoc> |
f32fc4bc RD |
30772 | </method> |
30773 | <method name="HistoryClear" type="" overloaded="no"> | |
781d2982 | 30774 | <autodoc>HistoryClear(self)</autodoc> |
f32fc4bc RD |
30775 | </method> |
30776 | <method name="GetInternalRepresentation" type="HtmlContainerCell" overloaded="no"> | |
781d2982 | 30777 | <autodoc>GetInternalRepresentation(self) -> HtmlContainerCell</autodoc> |
f32fc4bc RD |
30778 | </method> |
30779 | <method name="GetParser" type="HtmlWinParser" overloaded="no"> | |
781d2982 | 30780 | <autodoc>GetParser(self) -> HtmlWinParser</autodoc> |
f32fc4bc RD |
30781 | </method> |
30782 | <method name="ScrollToAnchor" type="bool" overloaded="no"> | |
781d2982 | 30783 | <autodoc>ScrollToAnchor(self, String anchor) -> bool</autodoc> |
f32fc4bc RD |
30784 | <paramlist> |
30785 | <param name="anchor" type="String" default=""/> | |
30786 | </paramlist> | |
30787 | </method> | |
30788 | <method name="HasAnchor" type="bool" overloaded="no"> | |
781d2982 | 30789 | <autodoc>HasAnchor(self, String anchor) -> bool</autodoc> |
f32fc4bc RD |
30790 | <paramlist> |
30791 | <param name="anchor" type="String" default=""/> | |
30792 | </paramlist> | |
30793 | </method> | |
30794 | <staticmethod name="AddFilter" type="" overloaded="no"> | |
30795 | <autodoc>AddFilter(HtmlFilter filter)</autodoc> | |
30796 | <paramlist> | |
30797 | <param name="filter" type="HtmlFilter" default=""/> | |
30798 | </paramlist> | |
30799 | </staticmethod> | |
30800 | <method name="SelectWord" type="" overloaded="no"> | |
781d2982 | 30801 | <autodoc>SelectWord(self, Point pos)</autodoc> |
f32fc4bc RD |
30802 | <paramlist> |
30803 | <param name="pos" type="Point" default=""/> | |
30804 | </paramlist> | |
30805 | </method> | |
30806 | <method name="SelectLine" type="" overloaded="no"> | |
781d2982 | 30807 | <autodoc>SelectLine(self, Point pos)</autodoc> |
f32fc4bc RD |
30808 | <paramlist> |
30809 | <param name="pos" type="Point" default=""/> | |
30810 | </paramlist> | |
30811 | </method> | |
30812 | <method name="SelectAll" type="" overloaded="no"> | |
781d2982 | 30813 | <autodoc>SelectAll(self)</autodoc> |
f32fc4bc | 30814 | </method> |
ce6878e6 RD |
30815 | <method name="SelectionToText" type="String" overloaded="no"> |
30816 | <autodoc>SelectionToText(self) -> String</autodoc> | |
30817 | </method> | |
30818 | <method name="ToText" type="String" overloaded="no"> | |
30819 | <autodoc>ToText(self) -> String</autodoc> | |
30820 | </method> | |
f32fc4bc | 30821 | <method name="base_OnLinkClicked" type="" overloaded="no"> |
781d2982 | 30822 | <autodoc>base_OnLinkClicked(self, HtmlLinkInfo link)</autodoc> |
f32fc4bc RD |
30823 | <paramlist> |
30824 | <param name="link" type="HtmlLinkInfo" default=""/> | |
30825 | </paramlist> | |
30826 | </method> | |
30827 | <method name="base_OnSetTitle" type="" overloaded="no"> | |
781d2982 | 30828 | <autodoc>base_OnSetTitle(self, String title)</autodoc> |
f32fc4bc RD |
30829 | <paramlist> |
30830 | <param name="title" type="String" default=""/> | |
30831 | </paramlist> | |
30832 | </method> | |
30833 | <method name="base_OnCellMouseHover" type="" overloaded="no"> | |
781d2982 | 30834 | <autodoc>base_OnCellMouseHover(self, HtmlCell cell, int x, int y)</autodoc> |
f32fc4bc RD |
30835 | <paramlist> |
30836 | <param name="cell" type="HtmlCell" default=""/> | |
30837 | <param name="x" type="int" default=""/> | |
30838 | <param name="y" type="int" default=""/> | |
30839 | </paramlist> | |
30840 | </method> | |
30841 | <method name="base_OnCellClicked" type="" overloaded="no"> | |
781d2982 | 30842 | <autodoc>base_OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event)</autodoc> |
f32fc4bc RD |
30843 | <paramlist> |
30844 | <param name="cell" type="HtmlCell" default=""/> | |
30845 | <param name="x" type="int" default=""/> | |
30846 | <param name="y" type="int" default=""/> | |
30847 | <param name="event" type="MouseEvent" default=""/> | |
30848 | </paramlist> | |
30849 | </method> | |
781d2982 RD |
30850 | <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no"> |
30851 | <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc> | |
30852 | <docstring>Get the default attributes for this class. This is useful if you want | |
30853 | to use the same font or colour in your own control as in a standard | |
30854 | control -- which is a much better idea than hard coding specific | |
30855 | colours or fonts which might look completely out of place on the | |
30856 | user's system, especially if it uses themes. | |
30857 | ||
30858 | The variant parameter is only relevant under Mac currently and is | |
30859 | ignore under other platforms. Under Mac, it will change the size of | |
30860 | the returned font. See `wx.Window.SetWindowVariant` for more about | |
30861 | this.</docstring> | |
30862 | <paramlist> | |
30863 | <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/> | |
30864 | </paramlist> | |
30865 | </staticmethod> | |
f32fc4bc RD |
30866 | </class> |
30867 | <pythoncode> | |
0f43fbdf RD |
30868 | #--------------------------------------------------------------------------- |
30869 | </pythoncode> | |
f32fc4bc RD |
30870 | <class name="HtmlDCRenderer" oldname="wxHtmlDCRenderer" module="html"> |
30871 | <baseclass name="Object"/> | |
30872 | <constructor name="HtmlDCRenderer" overloaded="no"> | |
781d2982 | 30873 | <autodoc>__init__(self) -> HtmlDCRenderer</autodoc> |
f32fc4bc RD |
30874 | </constructor> |
30875 | <destructor name="~wxHtmlDCRenderer" overloaded="no"> | |
781d2982 | 30876 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
30877 | </destructor> |
30878 | <method name="SetDC" type="" overloaded="no"> | |
781d2982 | 30879 | <autodoc>SetDC(self, DC dc, int maxwidth)</autodoc> |
f32fc4bc RD |
30880 | <paramlist> |
30881 | <param name="dc" type="DC" default=""/> | |
30882 | <param name="maxwidth" type="int" default=""/> | |
30883 | </paramlist> | |
30884 | </method> | |
30885 | <method name="SetSize" type="" overloaded="no"> | |
781d2982 | 30886 | <autodoc>SetSize(self, int width, int height)</autodoc> |
f32fc4bc RD |
30887 | <paramlist> |
30888 | <param name="width" type="int" default=""/> | |
30889 | <param name="height" type="int" default=""/> | |
30890 | </paramlist> | |
30891 | </method> | |
30892 | <method name="SetHtmlText" type="" overloaded="no"> | |
781d2982 | 30893 | <autodoc>SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)</autodoc> |
f32fc4bc RD |
30894 | <paramlist> |
30895 | <param name="html" type="String" default=""/> | |
30896 | <param name="basepath" type="String" default="wxPyEmptyString"/> | |
30897 | <param name="isdir" type="bool" default="True"/> | |
30898 | </paramlist> | |
30899 | </method> | |
30900 | <method name="SetFonts" type="" overloaded="no"> | |
781d2982 | 30901 | <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc> |
f32fc4bc RD |
30902 | <paramlist> |
30903 | <param name="normal_face" type="String" default=""/> | |
30904 | <param name="fixed_face" type="String" default=""/> | |
30905 | <param name="sizes" type="PyObject" default="NULL"/> | |
30906 | </paramlist> | |
30907 | </method> | |
ce6878e6 RD |
30908 | <method name="NormalizeFontSizes" type="" overloaded="no"> |
30909 | <autodoc>NormalizeFontSizes(self, int size=-1)</autodoc> | |
30910 | <paramlist> | |
30911 | <param name="size" type="int" default="-1"/> | |
30912 | </paramlist> | |
30913 | </method> | |
f32fc4bc | 30914 | <method name="Render" type="int" overloaded="no"> |
781d2982 | 30915 | <autodoc>Render(self, int x, int y, int from=0, int dont_render=False, int to=INT_MAX, |
f32fc4bc RD |
30916 | int choices=None, int LCOUNT=0) -> int</autodoc> |
30917 | <paramlist> | |
30918 | <param name="x" type="int" default=""/> | |
30919 | <param name="y" type="int" default=""/> | |
30920 | <param name="from" type="int" default="0"/> | |
30921 | <param name="dont_render" type="int" default="False"/> | |
30922 | <param name="to" type="int" default="INT_MAX"/> | |
30923 | <param name="choices" type="int" default="NULL"/> | |
30924 | <param name="LCOUNT" type="int" default="0"/> | |
30925 | </paramlist> | |
30926 | </method> | |
30927 | <method name="GetTotalHeight" type="int" overloaded="no"> | |
781d2982 | 30928 | <autodoc>GetTotalHeight(self) -> int</autodoc> |
f32fc4bc RD |
30929 | </method> |
30930 | </class> | |
30931 | <class name="HtmlPrintout" oldname="wxHtmlPrintout" module="html"> | |
30932 | <baseclass name="Printout"/> | |
30933 | <constructor name="HtmlPrintout" overloaded="no"> | |
781d2982 | 30934 | <autodoc>__init__(self, String title=HtmlPrintoutTitleStr) -> HtmlPrintout</autodoc> |
f32fc4bc RD |
30935 | <paramlist> |
30936 | <param name="title" type="String" default="wxPyHtmlPrintoutTitleStr"/> | |
30937 | </paramlist> | |
30938 | </constructor> | |
30939 | <method name="SetHtmlText" type="" overloaded="no"> | |
781d2982 | 30940 | <autodoc>SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)</autodoc> |
f32fc4bc RD |
30941 | <paramlist> |
30942 | <param name="html" type="String" default=""/> | |
30943 | <param name="basepath" type="String" default="wxPyEmptyString"/> | |
30944 | <param name="isdir" type="bool" default="True"/> | |
30945 | </paramlist> | |
30946 | </method> | |
30947 | <method name="SetHtmlFile" type="" overloaded="no"> | |
781d2982 | 30948 | <autodoc>SetHtmlFile(self, String htmlfile)</autodoc> |
f32fc4bc RD |
30949 | <paramlist> |
30950 | <param name="htmlfile" type="String" default=""/> | |
30951 | </paramlist> | |
30952 | </method> | |
30953 | <method name="SetHeader" type="" overloaded="no"> | |
781d2982 | 30954 | <autodoc>SetHeader(self, String header, int pg=PAGE_ALL)</autodoc> |
f32fc4bc RD |
30955 | <paramlist> |
30956 | <param name="header" type="String" default=""/> | |
30957 | <param name="pg" type="int" default="wxPAGE_ALL"/> | |
30958 | </paramlist> | |
30959 | </method> | |
30960 | <method name="SetFooter" type="" overloaded="no"> | |
781d2982 | 30961 | <autodoc>SetFooter(self, String footer, int pg=PAGE_ALL)</autodoc> |
f32fc4bc RD |
30962 | <paramlist> |
30963 | <param name="footer" type="String" default=""/> | |
30964 | <param name="pg" type="int" default="wxPAGE_ALL"/> | |
30965 | </paramlist> | |
30966 | </method> | |
30967 | <method name="SetFonts" type="" overloaded="no"> | |
781d2982 | 30968 | <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc> |
f32fc4bc RD |
30969 | <paramlist> |
30970 | <param name="normal_face" type="String" default=""/> | |
30971 | <param name="fixed_face" type="String" default=""/> | |
30972 | <param name="sizes" type="PyObject" default="NULL"/> | |
30973 | </paramlist> | |
30974 | </method> | |
ce6878e6 RD |
30975 | <method name="NormalizeFontSizes" type="" overloaded="no"> |
30976 | <autodoc>NormalizeFontSizes(self, int size=-1)</autodoc> | |
30977 | <paramlist> | |
30978 | <param name="size" type="int" default="-1"/> | |
30979 | </paramlist> | |
30980 | </method> | |
f32fc4bc | 30981 | <method name="SetMargins" type="" overloaded="no"> |
781d2982 | 30982 | <autodoc>SetMargins(self, float top=25.2, float bottom=25.2, float left=25.2, |
f32fc4bc RD |
30983 | float right=25.2, float spaces=5)</autodoc> |
30984 | <paramlist> | |
30985 | <param name="top" type="float" default="25.2"/> | |
30986 | <param name="bottom" type="float" default="25.2"/> | |
30987 | <param name="left" type="float" default="25.2"/> | |
30988 | <param name="right" type="float" default="25.2"/> | |
30989 | <param name="spaces" type="float" default="5"/> | |
30990 | </paramlist> | |
30991 | </method> | |
30992 | <staticmethod name="AddFilter" type="" overloaded="no"> | |
30993 | <autodoc>AddFilter(wxHtmlFilter filter)</autodoc> | |
30994 | <paramlist> | |
30995 | <param name="filter" type="wxHtmlFilter" default=""/> | |
30996 | </paramlist> | |
30997 | </staticmethod> | |
30998 | <staticmethod name="CleanUpStatics" type="" overloaded="no"> | |
30999 | <autodoc>CleanUpStatics()</autodoc> | |
31000 | </staticmethod> | |
31001 | </class> | |
31002 | <class name="HtmlEasyPrinting" oldname="wxHtmlEasyPrinting" module="html"> | |
31003 | <baseclass name="Object"/> | |
31004 | <constructor name="HtmlEasyPrinting" overloaded="no"> | |
781d2982 | 31005 | <autodoc>__init__(self, String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting</autodoc> |
f32fc4bc RD |
31006 | <paramlist> |
31007 | <param name="name" type="String" default="wxPyHtmlPrintingTitleStr"/> | |
31008 | <param name="parentWindow" type="Window" default="NULL"/> | |
31009 | </paramlist> | |
31010 | </constructor> | |
31011 | <destructor name="~wxHtmlEasyPrinting" overloaded="no"> | |
781d2982 | 31012 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
31013 | </destructor> |
31014 | <method name="PreviewFile" type="" overloaded="no"> | |
781d2982 | 31015 | <autodoc>PreviewFile(self, String htmlfile)</autodoc> |
f32fc4bc RD |
31016 | <paramlist> |
31017 | <param name="htmlfile" type="String" default=""/> | |
31018 | </paramlist> | |
31019 | </method> | |
31020 | <method name="PreviewText" type="" overloaded="no"> | |
781d2982 | 31021 | <autodoc>PreviewText(self, String htmltext, String basepath=EmptyString)</autodoc> |
f32fc4bc RD |
31022 | <paramlist> |
31023 | <param name="htmltext" type="String" default=""/> | |
31024 | <param name="basepath" type="String" default="wxPyEmptyString"/> | |
31025 | </paramlist> | |
31026 | </method> | |
31027 | <method name="PrintFile" type="" overloaded="no"> | |
781d2982 | 31028 | <autodoc>PrintFile(self, String htmlfile)</autodoc> |
f32fc4bc RD |
31029 | <paramlist> |
31030 | <param name="htmlfile" type="String" default=""/> | |
31031 | </paramlist> | |
31032 | </method> | |
31033 | <method name="PrintText" type="" overloaded="no"> | |
781d2982 | 31034 | <autodoc>PrintText(self, String htmltext, String basepath=EmptyString)</autodoc> |
f32fc4bc RD |
31035 | <paramlist> |
31036 | <param name="htmltext" type="String" default=""/> | |
31037 | <param name="basepath" type="String" default="wxPyEmptyString"/> | |
31038 | </paramlist> | |
31039 | </method> | |
31040 | <method name="PrinterSetup" type="" overloaded="no"> | |
781d2982 | 31041 | <autodoc>PrinterSetup(self)</autodoc> |
f32fc4bc RD |
31042 | </method> |
31043 | <method name="PageSetup" type="" overloaded="no"> | |
781d2982 | 31044 | <autodoc>PageSetup(self)</autodoc> |
f32fc4bc RD |
31045 | </method> |
31046 | <method name="SetHeader" type="" overloaded="no"> | |
781d2982 | 31047 | <autodoc>SetHeader(self, String header, int pg=PAGE_ALL)</autodoc> |
f32fc4bc RD |
31048 | <paramlist> |
31049 | <param name="header" type="String" default=""/> | |
31050 | <param name="pg" type="int" default="wxPAGE_ALL"/> | |
31051 | </paramlist> | |
31052 | </method> | |
31053 | <method name="SetFooter" type="" overloaded="no"> | |
781d2982 | 31054 | <autodoc>SetFooter(self, String footer, int pg=PAGE_ALL)</autodoc> |
f32fc4bc RD |
31055 | <paramlist> |
31056 | <param name="footer" type="String" default=""/> | |
31057 | <param name="pg" type="int" default="wxPAGE_ALL"/> | |
31058 | </paramlist> | |
31059 | </method> | |
31060 | <method name="SetFonts" type="" overloaded="no"> | |
781d2982 | 31061 | <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc> |
f32fc4bc RD |
31062 | <paramlist> |
31063 | <param name="normal_face" type="String" default=""/> | |
31064 | <param name="fixed_face" type="String" default=""/> | |
31065 | <param name="sizes" type="PyObject" default="NULL"/> | |
31066 | </paramlist> | |
31067 | </method> | |
ce6878e6 RD |
31068 | <method name="NormalizeFontSizes" type="" overloaded="no"> |
31069 | <autodoc>NormalizeFontSizes(self, int size=-1)</autodoc> | |
31070 | <paramlist> | |
31071 | <param name="size" type="int" default="-1"/> | |
31072 | </paramlist> | |
31073 | </method> | |
f32fc4bc | 31074 | <method name="GetPrintData" type="PrintData" overloaded="no"> |
781d2982 | 31075 | <autodoc>GetPrintData(self) -> PrintData</autodoc> |
f32fc4bc RD |
31076 | </method> |
31077 | <method name="GetPageSetupData" type="PageSetupDialogData" overloaded="no"> | |
781d2982 | 31078 | <autodoc>GetPageSetupData(self) -> PageSetupDialogData</autodoc> |
f32fc4bc RD |
31079 | </method> |
31080 | </class> | |
31081 | <pythoncode> | |
0dd25e81 RD |
31082 | #--------------------------------------------------------------------------- |
31083 | </pythoncode> | |
f32fc4bc RD |
31084 | <class name="HtmlBookRecord" oldname="wxHtmlBookRecord" module="html"> |
31085 | <constructor name="HtmlBookRecord" overloaded="no"> | |
781d2982 | 31086 | <autodoc>__init__(self, String bookfile, String basepath, String title, String start) -> HtmlBookRecord</autodoc> |
f32fc4bc RD |
31087 | <paramlist> |
31088 | <param name="bookfile" type="String" default=""/> | |
31089 | <param name="basepath" type="String" default=""/> | |
31090 | <param name="title" type="String" default=""/> | |
31091 | <param name="start" type="String" default=""/> | |
31092 | </paramlist> | |
31093 | </constructor> | |
31094 | <method name="GetBookFile" type="String" overloaded="no"> | |
781d2982 | 31095 | <autodoc>GetBookFile(self) -> String</autodoc> |
f32fc4bc RD |
31096 | </method> |
31097 | <method name="GetTitle" type="String" overloaded="no"> | |
781d2982 | 31098 | <autodoc>GetTitle(self) -> String</autodoc> |
f32fc4bc RD |
31099 | </method> |
31100 | <method name="GetStart" type="String" overloaded="no"> | |
781d2982 | 31101 | <autodoc>GetStart(self) -> String</autodoc> |
f32fc4bc RD |
31102 | </method> |
31103 | <method name="GetBasePath" type="String" overloaded="no"> | |
781d2982 | 31104 | <autodoc>GetBasePath(self) -> String</autodoc> |
f32fc4bc RD |
31105 | </method> |
31106 | <method name="SetContentsRange" type="" overloaded="no"> | |
781d2982 | 31107 | <autodoc>SetContentsRange(self, int start, int end)</autodoc> |
f32fc4bc RD |
31108 | <paramlist> |
31109 | <param name="start" type="int" default=""/> | |
31110 | <param name="end" type="int" default=""/> | |
31111 | </paramlist> | |
31112 | </method> | |
31113 | <method name="GetContentsStart" type="int" overloaded="no"> | |
781d2982 | 31114 | <autodoc>GetContentsStart(self) -> int</autodoc> |
f32fc4bc RD |
31115 | </method> |
31116 | <method name="GetContentsEnd" type="int" overloaded="no"> | |
781d2982 | 31117 | <autodoc>GetContentsEnd(self) -> int</autodoc> |
f32fc4bc RD |
31118 | </method> |
31119 | <method name="SetTitle" type="" overloaded="no"> | |
781d2982 | 31120 | <autodoc>SetTitle(self, String title)</autodoc> |
f32fc4bc RD |
31121 | <paramlist> |
31122 | <param name="title" type="String" default=""/> | |
31123 | </paramlist> | |
31124 | </method> | |
31125 | <method name="SetBasePath" type="" overloaded="no"> | |
781d2982 | 31126 | <autodoc>SetBasePath(self, String path)</autodoc> |
f32fc4bc RD |
31127 | <paramlist> |
31128 | <param name="path" type="String" default=""/> | |
31129 | </paramlist> | |
31130 | </method> | |
31131 | <method name="SetStart" type="" overloaded="no"> | |
781d2982 | 31132 | <autodoc>SetStart(self, String start)</autodoc> |
f32fc4bc RD |
31133 | <paramlist> |
31134 | <param name="start" type="String" default=""/> | |
31135 | </paramlist> | |
31136 | </method> | |
31137 | <method name="GetFullPath" type="String" overloaded="no"> | |
781d2982 | 31138 | <autodoc>GetFullPath(self, String page) -> String</autodoc> |
f32fc4bc RD |
31139 | <paramlist> |
31140 | <param name="page" type="String" default=""/> | |
31141 | </paramlist> | |
31142 | </method> | |
31143 | </class> | |
31144 | <class name="HtmlContentsItem" oldname="wxHtmlContentsItem" module="html"> | |
31145 | <method name="GetLevel" type="int" overloaded="no"> | |
781d2982 | 31146 | <autodoc>GetLevel(self) -> int</autodoc> |
f32fc4bc RD |
31147 | </method> |
31148 | <method name="GetID" type="int" overloaded="no"> | |
781d2982 | 31149 | <autodoc>GetID(self) -> int</autodoc> |
f32fc4bc RD |
31150 | </method> |
31151 | <method name="GetName" type="String" overloaded="no"> | |
781d2982 | 31152 | <autodoc>GetName(self) -> String</autodoc> |
f32fc4bc RD |
31153 | </method> |
31154 | <method name="GetPage" type="String" overloaded="no"> | |
781d2982 | 31155 | <autodoc>GetPage(self) -> String</autodoc> |
f32fc4bc RD |
31156 | </method> |
31157 | <method name="GetBook" type="HtmlBookRecord" overloaded="no"> | |
781d2982 | 31158 | <autodoc>GetBook(self) -> HtmlBookRecord</autodoc> |
f32fc4bc RD |
31159 | </method> |
31160 | </class> | |
31161 | <class name="HtmlSearchStatus" oldname="wxHtmlSearchStatus" module="html"> | |
31162 | <method name="Search" type="bool" overloaded="no"> | |
781d2982 | 31163 | <autodoc>Search(self) -> bool</autodoc> |
f32fc4bc RD |
31164 | </method> |
31165 | <method name="IsActive" type="bool" overloaded="no"> | |
781d2982 | 31166 | <autodoc>IsActive(self) -> bool</autodoc> |
f32fc4bc RD |
31167 | </method> |
31168 | <method name="GetCurIndex" type="int" overloaded="no"> | |
781d2982 | 31169 | <autodoc>GetCurIndex(self) -> int</autodoc> |
f32fc4bc RD |
31170 | </method> |
31171 | <method name="GetMaxIndex" type="int" overloaded="no"> | |
781d2982 | 31172 | <autodoc>GetMaxIndex(self) -> int</autodoc> |
f32fc4bc RD |
31173 | </method> |
31174 | <method name="GetName" type="String" overloaded="no"> | |
781d2982 | 31175 | <autodoc>GetName(self) -> String</autodoc> |
f32fc4bc RD |
31176 | </method> |
31177 | <method name="GetContentsItem" type="HtmlContentsItem" overloaded="no"> | |
781d2982 | 31178 | <autodoc>GetContentsItem(self) -> HtmlContentsItem</autodoc> |
f32fc4bc RD |
31179 | </method> |
31180 | </class> | |
31181 | <class name="HtmlHelpData" oldname="wxHtmlHelpData" module="html"> | |
31182 | <constructor name="HtmlHelpData" overloaded="no"> | |
781d2982 | 31183 | <autodoc>__init__(self) -> HtmlHelpData</autodoc> |
f32fc4bc RD |
31184 | </constructor> |
31185 | <destructor name="~wxHtmlHelpData" overloaded="no"> | |
781d2982 | 31186 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
31187 | </destructor> |
31188 | <method name="SetTempDir" type="" overloaded="no"> | |
781d2982 | 31189 | <autodoc>SetTempDir(self, String path)</autodoc> |
f32fc4bc RD |
31190 | <paramlist> |
31191 | <param name="path" type="String" default=""/> | |
31192 | </paramlist> | |
31193 | </method> | |
31194 | <method name="AddBook" type="bool" overloaded="no"> | |
781d2982 | 31195 | <autodoc>AddBook(self, String book) -> bool</autodoc> |
f32fc4bc RD |
31196 | <paramlist> |
31197 | <param name="book" type="String" default=""/> | |
31198 | </paramlist> | |
31199 | </method> | |
31200 | <method name="FindPageByName" type="String" overloaded="no"> | |
781d2982 | 31201 | <autodoc>FindPageByName(self, String page) -> String</autodoc> |
f32fc4bc RD |
31202 | <paramlist> |
31203 | <param name="page" type="String" default=""/> | |
31204 | </paramlist> | |
31205 | </method> | |
31206 | <method name="FindPageById" type="String" overloaded="no"> | |
781d2982 | 31207 | <autodoc>FindPageById(self, int id) -> String</autodoc> |
f32fc4bc RD |
31208 | <paramlist> |
31209 | <param name="id" type="int" default=""/> | |
31210 | </paramlist> | |
31211 | </method> | |
31212 | <method name="GetBookRecArray" type="wxHtmlBookRecArray" overloaded="no"> | |
781d2982 | 31213 | <autodoc>GetBookRecArray(self) -> wxHtmlBookRecArray</autodoc> |
f32fc4bc RD |
31214 | </method> |
31215 | <method name="GetContents" type="HtmlContentsItem" overloaded="no"> | |
781d2982 | 31216 | <autodoc>GetContents(self) -> HtmlContentsItem</autodoc> |
f32fc4bc RD |
31217 | </method> |
31218 | <method name="GetContentsCnt" type="int" overloaded="no"> | |
781d2982 | 31219 | <autodoc>GetContentsCnt(self) -> int</autodoc> |
f32fc4bc RD |
31220 | </method> |
31221 | <method name="GetIndex" type="HtmlContentsItem" overloaded="no"> | |
781d2982 | 31222 | <autodoc>GetIndex(self) -> HtmlContentsItem</autodoc> |
f32fc4bc RD |
31223 | </method> |
31224 | <method name="GetIndexCnt" type="int" overloaded="no"> | |
781d2982 | 31225 | <autodoc>GetIndexCnt(self) -> int</autodoc> |
f32fc4bc RD |
31226 | </method> |
31227 | </class> | |
31228 | <class name="HtmlHelpFrame" oldname="wxHtmlHelpFrame" module="html"> | |
31229 | <baseclass name="Frame"/> | |
31230 | <constructor name="HtmlHelpFrame" overloaded="no"> | |
781d2982 | 31231 | <autodoc>__init__(self, Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE, |
f32fc4bc RD |
31232 | HtmlHelpData data=None) -> HtmlHelpFrame</autodoc> |
31233 | <paramlist> | |
31234 | <param name="parent" type="Window" default=""/> | |
31235 | <param name="" type="int" default=""/> | |
31236 | <param name="title" type="String" default="wxPyEmptyString"/> | |
31237 | <param name="style" type="int" default="wxHF_DEFAULTSTYLE"/> | |
31238 | <param name="data" type="HtmlHelpData" default="NULL"/> | |
31239 | </paramlist> | |
31240 | </constructor> | |
31241 | <method name="GetData" type="HtmlHelpData" overloaded="no"> | |
781d2982 | 31242 | <autodoc>GetData(self) -> HtmlHelpData</autodoc> |
f32fc4bc RD |
31243 | </method> |
31244 | <method name="SetTitleFormat" type="" overloaded="no"> | |
781d2982 | 31245 | <autodoc>SetTitleFormat(self, String format)</autodoc> |
f32fc4bc RD |
31246 | <paramlist> |
31247 | <param name="format" type="String" default=""/> | |
31248 | </paramlist> | |
31249 | </method> | |
31250 | <method name="Display" type="" overloaded="no"> | |
781d2982 | 31251 | <autodoc>Display(self, String x)</autodoc> |
f32fc4bc RD |
31252 | <paramlist> |
31253 | <param name="x" type="String" default=""/> | |
31254 | </paramlist> | |
31255 | </method> | |
31256 | <method name="DisplayID" type="" overloaded="no"> | |
781d2982 | 31257 | <autodoc>DisplayID(self, int id)</autodoc> |
f32fc4bc RD |
31258 | <paramlist> |
31259 | <param name="id" type="int" default=""/> | |
31260 | </paramlist> | |
31261 | </method> | |
31262 | <method name="DisplayContents" type="" overloaded="no"> | |
781d2982 | 31263 | <autodoc>DisplayContents(self)</autodoc> |
f32fc4bc RD |
31264 | </method> |
31265 | <method name="DisplayIndex" type="" overloaded="no"> | |
781d2982 | 31266 | <autodoc>DisplayIndex(self)</autodoc> |
f32fc4bc RD |
31267 | </method> |
31268 | <method name="KeywordSearch" type="bool" overloaded="no"> | |
781d2982 | 31269 | <autodoc>KeywordSearch(self, String keyword) -> bool</autodoc> |
f32fc4bc RD |
31270 | <paramlist> |
31271 | <param name="keyword" type="String" default=""/> | |
31272 | </paramlist> | |
31273 | </method> | |
31274 | <method name="UseConfig" type="" overloaded="no"> | |
781d2982 | 31275 | <autodoc>UseConfig(self, ConfigBase config, String rootpath=EmptyString)</autodoc> |
f32fc4bc RD |
31276 | <paramlist> |
31277 | <param name="config" type="ConfigBase" default=""/> | |
31278 | <param name="rootpath" type="String" default="wxPyEmptyString"/> | |
31279 | </paramlist> | |
31280 | </method> | |
31281 | <method name="ReadCustomization" type="" overloaded="no"> | |
781d2982 | 31282 | <autodoc>ReadCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc> |
f32fc4bc RD |
31283 | <paramlist> |
31284 | <param name="cfg" type="ConfigBase" default=""/> | |
31285 | <param name="path" type="String" default="wxPyEmptyString"/> | |
31286 | </paramlist> | |
31287 | </method> | |
31288 | <method name="WriteCustomization" type="" overloaded="no"> | |
781d2982 | 31289 | <autodoc>WriteCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc> |
f32fc4bc RD |
31290 | <paramlist> |
31291 | <param name="cfg" type="ConfigBase" default=""/> | |
31292 | <param name="path" type="String" default="wxPyEmptyString"/> | |
31293 | </paramlist> | |
31294 | </method> | |
31295 | </class> | |
31296 | <class name="HtmlHelpController" oldname="wxHtmlHelpController" module="html"> | |
31297 | <baseclass name="EvtHandler"/> | |
31298 | <constructor name="HtmlHelpController" overloaded="no"> | |
781d2982 | 31299 | <autodoc>__init__(self, int style=HF_DEFAULTSTYLE) -> HtmlHelpController</autodoc> |
f32fc4bc RD |
31300 | <paramlist> |
31301 | <param name="style" type="int" default="wxHF_DEFAULTSTYLE"/> | |
31302 | </paramlist> | |
31303 | </constructor> | |
31304 | <destructor name="~wxHtmlHelpController" overloaded="no"> | |
781d2982 | 31305 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
31306 | </destructor> |
31307 | <method name="SetTitleFormat" type="" overloaded="no"> | |
781d2982 | 31308 | <autodoc>SetTitleFormat(self, String format)</autodoc> |
f32fc4bc RD |
31309 | <paramlist> |
31310 | <param name="format" type="String" default=""/> | |
31311 | </paramlist> | |
31312 | </method> | |
31313 | <method name="SetTempDir" type="" overloaded="no"> | |
781d2982 | 31314 | <autodoc>SetTempDir(self, String path)</autodoc> |
f32fc4bc RD |
31315 | <paramlist> |
31316 | <param name="path" type="String" default=""/> | |
31317 | </paramlist> | |
31318 | </method> | |
31319 | <method name="AddBook" type="bool" overloaded="no"> | |
781d2982 | 31320 | <autodoc>AddBook(self, String book, int show_wait_msg=False) -> bool</autodoc> |
f32fc4bc RD |
31321 | <paramlist> |
31322 | <param name="book" type="String" default=""/> | |
31323 | <param name="show_wait_msg" type="int" default="False"/> | |
31324 | </paramlist> | |
31325 | </method> | |
31326 | <method name="Display" type="" overloaded="no"> | |
781d2982 | 31327 | <autodoc>Display(self, String x)</autodoc> |
f32fc4bc RD |
31328 | <paramlist> |
31329 | <param name="x" type="String" default=""/> | |
31330 | </paramlist> | |
31331 | </method> | |
31332 | <method name="DisplayID" type="" overloaded="no"> | |
781d2982 | 31333 | <autodoc>DisplayID(self, int id)</autodoc> |
f32fc4bc RD |
31334 | <paramlist> |
31335 | <param name="id" type="int" default=""/> | |
31336 | </paramlist> | |
31337 | </method> | |
31338 | <method name="DisplayContents" type="" overloaded="no"> | |
781d2982 | 31339 | <autodoc>DisplayContents(self)</autodoc> |
f32fc4bc RD |
31340 | </method> |
31341 | <method name="DisplayIndex" type="" overloaded="no"> | |
781d2982 | 31342 | <autodoc>DisplayIndex(self)</autodoc> |
f32fc4bc RD |
31343 | </method> |
31344 | <method name="KeywordSearch" type="bool" overloaded="no"> | |
781d2982 | 31345 | <autodoc>KeywordSearch(self, String keyword) -> bool</autodoc> |
f32fc4bc RD |
31346 | <paramlist> |
31347 | <param name="keyword" type="String" default=""/> | |
31348 | </paramlist> | |
31349 | </method> | |
31350 | <method name="UseConfig" type="" overloaded="no"> | |
781d2982 | 31351 | <autodoc>UseConfig(self, ConfigBase config, String rootpath=EmptyString)</autodoc> |
f32fc4bc RD |
31352 | <paramlist> |
31353 | <param name="config" type="ConfigBase" default=""/> | |
31354 | <param name="rootpath" type="String" default="wxPyEmptyString"/> | |
31355 | </paramlist> | |
31356 | </method> | |
31357 | <method name="ReadCustomization" type="" overloaded="no"> | |
781d2982 | 31358 | <autodoc>ReadCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc> |
f32fc4bc RD |
31359 | <paramlist> |
31360 | <param name="cfg" type="ConfigBase" default=""/> | |
31361 | <param name="path" type="String" default="wxPyEmptyString"/> | |
31362 | </paramlist> | |
31363 | </method> | |
31364 | <method name="WriteCustomization" type="" overloaded="no"> | |
781d2982 | 31365 | <autodoc>WriteCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc> |
f32fc4bc RD |
31366 | <paramlist> |
31367 | <param name="cfg" type="ConfigBase" default=""/> | |
31368 | <param name="path" type="String" default="wxPyEmptyString"/> | |
31369 | </paramlist> | |
31370 | </method> | |
31371 | <method name="GetFrame" type="HtmlHelpFrame" overloaded="no"> | |
781d2982 | 31372 | <autodoc>GetFrame(self) -> HtmlHelpFrame</autodoc> |
f32fc4bc RD |
31373 | </method> |
31374 | </class> | |
31375 | </module> | |
31376 | <module name="wizard"> | |
781d2982 RD |
31377 | <import name="_windows"/> |
31378 | <pythoncode> wx = _core </pythoncode> | |
31379 | <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode> | |
f32fc4bc RD |
31380 | <pythoncode> |
31381 | EVT_WIZARD_PAGE_CHANGED = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGED, 1) | |
31382 | EVT_WIZARD_PAGE_CHANGING = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGING, 1) | |
31383 | EVT_WIZARD_CANCEL = wx.PyEventBinder( wxEVT_WIZARD_CANCEL, 1) | |
31384 | EVT_WIZARD_HELP = wx.PyEventBinder( wxEVT_WIZARD_HELP, 1) | |
31385 | EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) | |
0dd25e81 | 31386 | </pythoncode> |
f32fc4bc RD |
31387 | <class name="WizardEvent" oldname="wxWizardEvent" module="wizard"> |
31388 | <baseclass name="NotifyEvent"/> | |
31389 | <constructor name="WizardEvent" overloaded="no"> | |
781d2982 | 31390 | <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int id=-1, bool direction=True, |
f32fc4bc RD |
31391 | WizardPage page=None) -> WizardEvent</autodoc> |
31392 | <paramlist> | |
31393 | <param name="type" type="wxEventType" default="wxEVT_NULL"/> | |
31394 | <param name="id" type="int" default="-1"/> | |
31395 | <param name="direction" type="bool" default="True"/> | |
31396 | <param name="page" type="wxWizardPage" default="NULL"/> | |
31397 | </paramlist> | |
31398 | </constructor> | |
31399 | <method name="GetDirection" type="bool" overloaded="no"> | |
781d2982 | 31400 | <autodoc>GetDirection(self) -> bool</autodoc> |
f32fc4bc RD |
31401 | </method> |
31402 | <method name="GetPage" type="wxWizardPage" overloaded="no"> | |
781d2982 | 31403 | <autodoc>GetPage(self) -> WizardPage</autodoc> |
f32fc4bc RD |
31404 | </method> |
31405 | </class> | |
31406 | <class name="WizardPage" oldname="wxWizardPage" module="wizard"> | |
31407 | <baseclass name="Panel"/> | |
31408 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 31409 | <autodoc>Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool</autodoc> |
f32fc4bc RD |
31410 | <paramlist> |
31411 | <param name="parent" type="wxWizard" default=""/> | |
31412 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
31413 | <param name="resource" type="String" default="wxPyEmptyString"/> | |
31414 | </paramlist> | |
31415 | </method> | |
31416 | <method name="GetPrev" type="WizardPage" overloaded="no"> | |
781d2982 | 31417 | <autodoc>GetPrev(self) -> WizardPage</autodoc> |
f32fc4bc RD |
31418 | </method> |
31419 | <method name="GetNext" type="WizardPage" overloaded="no"> | |
781d2982 | 31420 | <autodoc>GetNext(self) -> WizardPage</autodoc> |
f32fc4bc RD |
31421 | </method> |
31422 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
781d2982 | 31423 | <autodoc>GetBitmap(self) -> Bitmap</autodoc> |
f32fc4bc RD |
31424 | </method> |
31425 | </class> | |
31426 | <class name="PyWizardPage" oldname="wxPyWizardPage" module="wizard"> | |
31427 | <baseclass name="WizardPage"/> | |
31428 | <constructor name="PyWizardPage" overloaded="no"> | |
781d2982 | 31429 | <autodoc>__init__(self, Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage</autodoc> |
f32fc4bc RD |
31430 | <paramlist> |
31431 | <param name="parent" type="wxWizard" default=""/> | |
31432 | <param name="bitmap" type="Bitmap" default="&wxNullBitmap"/> | |
31433 | <param name="resource" type="String" default="&wxPyEmptyString"/> | |
31434 | </paramlist> | |
31435 | </constructor> | |
31436 | <constructor name="PrePyWizardPage" overloaded="no"> | |
31437 | <autodoc>PrePyWizardPage() -> PyWizardPage</autodoc> | |
31438 | </constructor> | |
31439 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 31440 | <autodoc>Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool</autodoc> |
f32fc4bc RD |
31441 | <paramlist> |
31442 | <param name="parent" type="wxWizard" default=""/> | |
31443 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
31444 | <param name="resource" type="String" default="wxPyEmptyString"/> | |
31445 | </paramlist> | |
31446 | </method> | |
31447 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 31448 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
31449 | <paramlist> |
31450 | <param name="self" type="PyObject" default=""/> | |
31451 | <param name="_class" type="PyObject" default=""/> | |
31452 | </paramlist> | |
31453 | </method> | |
31454 | <method name="base_DoMoveWindow" type="" overloaded="no"> | |
781d2982 | 31455 | <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc> |
f32fc4bc RD |
31456 | <paramlist> |
31457 | <param name="x" type="int" default=""/> | |
31458 | <param name="y" type="int" default=""/> | |
31459 | <param name="width" type="int" default=""/> | |
31460 | <param name="height" type="int" default=""/> | |
31461 | </paramlist> | |
31462 | </method> | |
31463 | <method name="base_DoSetSize" type="" overloaded="no"> | |
781d2982 | 31464 | <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc> |
f32fc4bc RD |
31465 | <paramlist> |
31466 | <param name="x" type="int" default=""/> | |
31467 | <param name="y" type="int" default=""/> | |
31468 | <param name="width" type="int" default=""/> | |
31469 | <param name="height" type="int" default=""/> | |
31470 | <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/> | |
31471 | </paramlist> | |
31472 | </method> | |
31473 | <method name="base_DoSetClientSize" type="" overloaded="no"> | |
781d2982 | 31474 | <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc> |
f32fc4bc RD |
31475 | <paramlist> |
31476 | <param name="width" type="int" default=""/> | |
31477 | <param name="height" type="int" default=""/> | |
31478 | </paramlist> | |
31479 | </method> | |
31480 | <method name="base_DoSetVirtualSize" type="" overloaded="no"> | |
781d2982 | 31481 | <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc> |
f32fc4bc RD |
31482 | <paramlist> |
31483 | <param name="x" type="int" default=""/> | |
31484 | <param name="y" type="int" default=""/> | |
31485 | </paramlist> | |
31486 | </method> | |
31487 | <method name="base_DoGetSize" type="" overloaded="no"> | |
31488 | <autodoc>base_DoGetSize() -> (width, height)</autodoc> | |
31489 | <paramlist> | |
31490 | <param name="OUTPUT" type="int" default=""/> | |
31491 | <param name="OUTPUT" type="int" default=""/> | |
31492 | </paramlist> | |
31493 | </method> | |
31494 | <method name="base_DoGetClientSize" type="" overloaded="no"> | |
31495 | <autodoc>base_DoGetClientSize() -> (width, height)</autodoc> | |
31496 | <paramlist> | |
31497 | <param name="OUTPUT" type="int" default=""/> | |
31498 | <param name="OUTPUT" type="int" default=""/> | |
31499 | </paramlist> | |
31500 | </method> | |
31501 | <method name="base_DoGetPosition" type="" overloaded="no"> | |
31502 | <autodoc>base_DoGetPosition() -> (x,y)</autodoc> | |
31503 | <paramlist> | |
31504 | <param name="OUTPUT" type="int" default=""/> | |
31505 | <param name="OUTPUT" type="int" default=""/> | |
31506 | </paramlist> | |
31507 | </method> | |
31508 | <method name="base_DoGetVirtualSize" type="Size" overloaded="no"> | |
781d2982 | 31509 | <autodoc>base_DoGetVirtualSize(self) -> Size</autodoc> |
f32fc4bc RD |
31510 | </method> |
31511 | <method name="base_DoGetBestSize" type="Size" overloaded="no"> | |
781d2982 | 31512 | <autodoc>base_DoGetBestSize(self) -> Size</autodoc> |
f32fc4bc RD |
31513 | </method> |
31514 | <method name="base_InitDialog" type="" overloaded="no"> | |
781d2982 | 31515 | <autodoc>base_InitDialog(self)</autodoc> |
f32fc4bc RD |
31516 | </method> |
31517 | <method name="base_TransferDataToWindow" type="bool" overloaded="no"> | |
781d2982 | 31518 | <autodoc>base_TransferDataToWindow(self) -> bool</autodoc> |
f32fc4bc RD |
31519 | </method> |
31520 | <method name="base_TransferDataFromWindow" type="bool" overloaded="no"> | |
781d2982 | 31521 | <autodoc>base_TransferDataFromWindow(self) -> bool</autodoc> |
f32fc4bc RD |
31522 | </method> |
31523 | <method name="base_Validate" type="bool" overloaded="no"> | |
781d2982 | 31524 | <autodoc>base_Validate(self) -> bool</autodoc> |
f32fc4bc RD |
31525 | </method> |
31526 | <method name="base_AcceptsFocus" type="bool" overloaded="no"> | |
781d2982 | 31527 | <autodoc>base_AcceptsFocus(self) -> bool</autodoc> |
f32fc4bc RD |
31528 | </method> |
31529 | <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no"> | |
781d2982 | 31530 | <autodoc>base_AcceptsFocusFromKeyboard(self) -> bool</autodoc> |
f32fc4bc RD |
31531 | </method> |
31532 | <method name="base_GetMaxSize" type="Size" overloaded="no"> | |
781d2982 | 31533 | <autodoc>base_GetMaxSize(self) -> Size</autodoc> |
f32fc4bc RD |
31534 | </method> |
31535 | <method name="base_AddChild" type="" overloaded="no"> | |
781d2982 | 31536 | <autodoc>base_AddChild(self, Window child)</autodoc> |
f32fc4bc RD |
31537 | <paramlist> |
31538 | <param name="child" type="Window" default=""/> | |
31539 | </paramlist> | |
31540 | </method> | |
31541 | <method name="base_RemoveChild" type="" overloaded="no"> | |
781d2982 | 31542 | <autodoc>base_RemoveChild(self, Window child)</autodoc> |
f32fc4bc RD |
31543 | <paramlist> |
31544 | <param name="child" type="Window" default=""/> | |
31545 | </paramlist> | |
31546 | </method> | |
31547 | </class> | |
31548 | <class name="WizardPageSimple" oldname="wxWizardPageSimple" module="wizard"> | |
31549 | <baseclass name="WizardPage"/> | |
31550 | <constructor name="WizardPageSimple" overloaded="no"> | |
781d2982 | 31551 | <autodoc>__init__(self, Wizard parent, WizardPage prev=None, WizardPage next=None, |
f32fc4bc RD |
31552 | Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple</autodoc> |
31553 | <paramlist> | |
31554 | <param name="parent" type="wxWizard" default=""/> | |
31555 | <param name="prev" type="WizardPage" default="NULL"/> | |
31556 | <param name="next" type="WizardPage" default="NULL"/> | |
31557 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
31558 | <param name="resource" type="wxChar" default="NULL"/> | |
31559 | </paramlist> | |
31560 | </constructor> | |
31561 | <constructor name="PreWizardPageSimple" overloaded="no"> | |
31562 | <autodoc>PreWizardPageSimple() -> WizardPageSimple</autodoc> | |
31563 | </constructor> | |
31564 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 31565 | <autodoc>Create(self, Wizard parent=None, WizardPage prev=None, WizardPage next=None, |
f32fc4bc RD |
31566 | Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool</autodoc> |
31567 | <paramlist> | |
31568 | <param name="parent" type="wxWizard" default="NULL"/> | |
31569 | <param name="prev" type="WizardPage" default="NULL"/> | |
31570 | <param name="next" type="WizardPage" default="NULL"/> | |
31571 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
31572 | <param name="resource" type="wxChar" default="NULL"/> | |
31573 | </paramlist> | |
31574 | </method> | |
31575 | <method name="SetPrev" type="" overloaded="no"> | |
781d2982 | 31576 | <autodoc>SetPrev(self, WizardPage prev)</autodoc> |
f32fc4bc RD |
31577 | <paramlist> |
31578 | <param name="prev" type="WizardPage" default=""/> | |
31579 | </paramlist> | |
31580 | </method> | |
31581 | <method name="SetNext" type="" overloaded="no"> | |
781d2982 | 31582 | <autodoc>SetNext(self, WizardPage next)</autodoc> |
f32fc4bc RD |
31583 | <paramlist> |
31584 | <param name="next" type="WizardPage" default=""/> | |
31585 | </paramlist> | |
31586 | </method> | |
31587 | <staticmethod name="Chain" type="" overloaded="no"> | |
31588 | <autodoc>Chain(WizardPageSimple first, WizardPageSimple second)</autodoc> | |
31589 | <paramlist> | |
31590 | <param name="first" type="WizardPageSimple" default=""/> | |
31591 | <param name="second" type="WizardPageSimple" default=""/> | |
31592 | </paramlist> | |
31593 | </staticmethod> | |
31594 | </class> | |
31595 | <class name="Wizard" oldname="wxWizard" module="wizard"> | |
31596 | <baseclass name="Dialog"/> | |
31597 | <constructor name="Wizard" overloaded="no"> | |
781d2982 | 31598 | <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString, |
f32fc4bc RD |
31599 | Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition, |
31600 | long style=DEFAULT_DIALOG_STYLE) -> Wizard</autodoc> | |
31601 | <paramlist> | |
31602 | <param name="parent" type="Window" default=""/> | |
31603 | <param name="id" type="int" default="-1"/> | |
31604 | <param name="title" type="String" default="wxPyEmptyString"/> | |
31605 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
31606 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
31607 | <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/> | |
31608 | </paramlist> | |
31609 | </constructor> | |
31610 | <constructor name="PreWizard" overloaded="no"> | |
31611 | <autodoc>PreWizard() -> Wizard</autodoc> | |
31612 | </constructor> | |
31613 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 31614 | <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString, |
f32fc4bc RD |
31615 | Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool</autodoc> |
31616 | <paramlist> | |
31617 | <param name="parent" type="Window" default=""/> | |
31618 | <param name="id" type="int" default="-1"/> | |
31619 | <param name="title" type="String" default="wxPyEmptyString"/> | |
31620 | <param name="bitmap" type="Bitmap" default="wxNullBitmap"/> | |
31621 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
31622 | </paramlist> | |
31623 | </method> | |
31624 | <method name="Init" type="" overloaded="no"> | |
781d2982 | 31625 | <autodoc>Init(self)</autodoc> |
f32fc4bc RD |
31626 | </method> |
31627 | <method name="RunWizard" type="bool" overloaded="no"> | |
781d2982 | 31628 | <autodoc>RunWizard(self, WizardPage firstPage) -> bool</autodoc> |
f32fc4bc RD |
31629 | <paramlist> |
31630 | <param name="firstPage" type="WizardPage" default=""/> | |
31631 | </paramlist> | |
31632 | </method> | |
31633 | <method name="GetCurrentPage" type="WizardPage" overloaded="no"> | |
781d2982 | 31634 | <autodoc>GetCurrentPage(self) -> WizardPage</autodoc> |
f32fc4bc RD |
31635 | </method> |
31636 | <method name="SetPageSize" type="" overloaded="no"> | |
781d2982 | 31637 | <autodoc>SetPageSize(self, Size size)</autodoc> |
f32fc4bc RD |
31638 | <paramlist> |
31639 | <param name="size" type="Size" default=""/> | |
31640 | </paramlist> | |
31641 | </method> | |
31642 | <method name="GetPageSize" type="Size" overloaded="no"> | |
781d2982 | 31643 | <autodoc>GetPageSize(self) -> Size</autodoc> |
f32fc4bc RD |
31644 | </method> |
31645 | <method name="FitToPage" type="" overloaded="no"> | |
781d2982 | 31646 | <autodoc>FitToPage(self, WizardPage firstPage)</autodoc> |
f32fc4bc RD |
31647 | <paramlist> |
31648 | <param name="firstPage" type="WizardPage" default=""/> | |
31649 | </paramlist> | |
31650 | </method> | |
31651 | <method name="GetPageAreaSizer" type="Sizer" overloaded="no"> | |
781d2982 | 31652 | <autodoc>GetPageAreaSizer(self) -> Sizer</autodoc> |
f32fc4bc RD |
31653 | </method> |
31654 | <method name="SetBorder" type="" overloaded="no"> | |
781d2982 | 31655 | <autodoc>SetBorder(self, int border)</autodoc> |
f32fc4bc RD |
31656 | <paramlist> |
31657 | <param name="border" type="int" default=""/> | |
31658 | </paramlist> | |
31659 | </method> | |
31660 | <method name="IsRunning" type="bool" overloaded="no"> | |
781d2982 | 31661 | <autodoc>IsRunning(self) -> bool</autodoc> |
f32fc4bc RD |
31662 | </method> |
31663 | <method name="ShowPage" type="bool" overloaded="no"> | |
781d2982 | 31664 | <autodoc>ShowPage(self, WizardPage page, bool goingForward=True) -> bool</autodoc> |
f32fc4bc RD |
31665 | <paramlist> |
31666 | <param name="page" type="WizardPage" default=""/> | |
31667 | <param name="goingForward" type="bool" default="True"/> | |
31668 | </paramlist> | |
31669 | </method> | |
31670 | <method name="HasNextPage" type="bool" overloaded="no"> | |
781d2982 | 31671 | <autodoc>HasNextPage(self, WizardPage page) -> bool</autodoc> |
f32fc4bc RD |
31672 | <paramlist> |
31673 | <param name="page" type="WizardPage" default=""/> | |
31674 | </paramlist> | |
31675 | </method> | |
31676 | <method name="HasPrevPage" type="bool" overloaded="no"> | |
781d2982 | 31677 | <autodoc>HasPrevPage(self, WizardPage page) -> bool</autodoc> |
f32fc4bc RD |
31678 | <paramlist> |
31679 | <param name="page" type="WizardPage" default=""/> | |
31680 | </paramlist> | |
31681 | </method> | |
31682 | </class> | |
31683 | </module> | |
31684 | <module name="glcanvas"> | |
781d2982 RD |
31685 | <import name="_core"/> |
31686 | <pythoncode> wx = _core </pythoncode> | |
31687 | <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode> | |
f32fc4bc RD |
31688 | <class name="GLContext" oldname="wxGLContext" module="glcanvas"> |
31689 | <baseclass name="Object"/> | |
31690 | <constructor name="GLContext" overloaded="no"> | |
781d2982 | 31691 | <autodoc>__init__(self, bool isRGB, GLCanvas win, wxPalette palette=wxNullPalette, |
f32fc4bc RD |
31692 | GLContext other=None) -> GLContext</autodoc> |
31693 | <paramlist> | |
31694 | <param name="isRGB" type="bool" default=""/> | |
31695 | <param name="win" type="wxGLCanvas" default=""/> | |
31696 | <param name="palette" type="Palette" default="wxNullPalette"/> | |
31697 | <param name="other" type="GLContext" default="NULL"/> | |
31698 | </paramlist> | |
31699 | </constructor> | |
31700 | <destructor name="~wxGLContext" overloaded="no"> | |
781d2982 | 31701 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
31702 | </destructor> |
31703 | <method name="SetCurrent" type="" overloaded="no"> | |
781d2982 | 31704 | <autodoc>SetCurrent(self)</autodoc> |
f32fc4bc RD |
31705 | </method> |
31706 | <method name="SetColour" type="" overloaded="no"> | |
781d2982 | 31707 | <autodoc>SetColour(self, String colour)</autodoc> |
f32fc4bc RD |
31708 | <paramlist> |
31709 | <param name="colour" type="String" default=""/> | |
31710 | </paramlist> | |
31711 | </method> | |
31712 | <method name="SwapBuffers" type="" overloaded="no"> | |
781d2982 | 31713 | <autodoc>SwapBuffers(self)</autodoc> |
f32fc4bc RD |
31714 | </method> |
31715 | <method name="SetupPixelFormat" type="" overloaded="no"> | |
781d2982 | 31716 | <autodoc>SetupPixelFormat(self)</autodoc> |
f32fc4bc RD |
31717 | </method> |
31718 | <method name="SetupPalette" type="" overloaded="no"> | |
781d2982 | 31719 | <autodoc>SetupPalette(self, wxPalette palette)</autodoc> |
f32fc4bc RD |
31720 | <paramlist> |
31721 | <param name="palette" type="Palette" default=""/> | |
31722 | </paramlist> | |
31723 | </method> | |
31724 | <method name="CreateDefaultPalette" type="Palette" overloaded="no"> | |
781d2982 | 31725 | <autodoc>CreateDefaultPalette(self) -> wxPalette</autodoc> |
f32fc4bc RD |
31726 | </method> |
31727 | <method name="GetPalette" type="Palette" overloaded="no"> | |
781d2982 | 31728 | <autodoc>GetPalette(self) -> wxPalette</autodoc> |
f32fc4bc RD |
31729 | </method> |
31730 | <method name="GetWindow" type="Window" overloaded="no"> | |
781d2982 | 31731 | <autodoc>GetWindow(self) -> Window</autodoc> |
f32fc4bc RD |
31732 | </method> |
31733 | </class> | |
31734 | <class name="GLCanvas" oldname="wxGLCanvas" module="glcanvas"> | |
31735 | <baseclass name="Window"/> | |
31736 | <constructor name="GLCanvas" overloaded="no"> | |
781d2982 | 31737 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
f32fc4bc RD |
31738 | Size size=DefaultSize, long style=0, String name=GLCanvasNameStr, |
31739 | int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas</autodoc> | |
31740 | <paramlist> | |
31741 | <param name="parent" type="Window" default=""/> | |
31742 | <param name="id" type="int" default="-1"/> | |
31743 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
31744 | <param name="size" type="Size" default="wxDefaultSize"/> | |
31745 | <param name="style" type="long" default="0"/> | |
31746 | <param name="name" type="String" default="wxPyGLCanvasNameStr"/> | |
31747 | <param name="attribList" type="int" default="NULL"/> | |
31748 | <param name="palette" type="Palette" default="wxNullPalette"/> | |
31749 | </paramlist> | |
31750 | </constructor> | |
31751 | <constructor name="GLCanvasWithContext" overloaded="no"> | |
31752 | <autodoc>GLCanvasWithContext(Window parent, GLContext shared=None, int id=-1, Point pos=DefaultPosition, | |
31753 | Size size=DefaultSize, | |
31754 | long style=0, String name=GLCanvasNameStr, | |
31755 | int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas</autodoc> | |
31756 | <paramlist> | |
31757 | <param name="parent" type="Window" default=""/> | |
31758 | <param name="shared" type="GLContext" default="NULL"/> | |
31759 | <param name="id" type="int" default="-1"/> | |
31760 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
31761 | <param name="size" type="Size" default="wxDefaultSize"/> | |
31762 | <param name="style" type="long" default="0"/> | |
31763 | <param name="name" type="String" default="wxPyGLCanvasNameStr"/> | |
31764 | <param name="attribList" type="int" default="NULL"/> | |
31765 | <param name="palette" type="Palette" default="wxNullPalette"/> | |
31766 | </paramlist> | |
31767 | </constructor> | |
31768 | <method name="SetCurrent" type="" overloaded="no"> | |
781d2982 | 31769 | <autodoc>SetCurrent(self)</autodoc> |
f32fc4bc RD |
31770 | </method> |
31771 | <method name="SetColour" type="" overloaded="no"> | |
781d2982 | 31772 | <autodoc>SetColour(self, String colour)</autodoc> |
f32fc4bc RD |
31773 | <paramlist> |
31774 | <param name="colour" type="String" default=""/> | |
31775 | </paramlist> | |
31776 | </method> | |
31777 | <method name="SwapBuffers" type="" overloaded="no"> | |
781d2982 | 31778 | <autodoc>SwapBuffers(self)</autodoc> |
f32fc4bc RD |
31779 | </method> |
31780 | <method name="GetContext" type="GLContext" overloaded="no"> | |
781d2982 | 31781 | <autodoc>GetContext(self) -> GLContext</autodoc> |
f32fc4bc RD |
31782 | </method> |
31783 | </class> | |
31784 | </module> | |
31785 | <module name="ogl"> | |
781d2982 RD |
31786 | <import name="_windows"/> |
31787 | <pythoncode> wx = _core </pythoncode> | |
31788 | <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode> | |
31789 | <pythoncode> | |
31790 | import warnings | |
31791 | warnings.warn("This module is deprecated. Please use the wx.lib.ogl package instead.", | |
31792 | DeprecationWarning, stacklevel=2) | |
31793 | </pythoncode> | |
f32fc4bc | 31794 | <pythoncode> |
0dd25e81 RD |
31795 | #--------------------------------------------------------------------------- |
31796 | </pythoncode> | |
f32fc4bc RD |
31797 | <class name="ShapeRegion" oldname="wxShapeRegion" module="ogl"> |
31798 | <baseclass name="Object"/> | |
31799 | <constructor name="ShapeRegion" overloaded="no"> | |
781d2982 | 31800 | <autodoc>__init__(self) -> ShapeRegion</autodoc> |
f32fc4bc RD |
31801 | </constructor> |
31802 | <method name="SetText" type="" overloaded="no"> | |
781d2982 | 31803 | <autodoc>SetText(self, String s)</autodoc> |
f32fc4bc RD |
31804 | <paramlist> |
31805 | <param name="s" type="String" default=""/> | |
31806 | </paramlist> | |
31807 | </method> | |
31808 | <method name="SetFont" type="" overloaded="no"> | |
781d2982 | 31809 | <autodoc>SetFont(self, Font f)</autodoc> |
f32fc4bc RD |
31810 | <paramlist> |
31811 | <param name="f" type="Font" default=""/> | |
31812 | </paramlist> | |
31813 | </method> | |
31814 | <method name="SetMinSize" type="" overloaded="no"> | |
781d2982 | 31815 | <autodoc>SetMinSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
31816 | <paramlist> |
31817 | <param name="w" type="double" default=""/> | |
31818 | <param name="h" type="double" default=""/> | |
31819 | </paramlist> | |
31820 | </method> | |
31821 | <method name="SetSize" type="" overloaded="no"> | |
781d2982 | 31822 | <autodoc>SetSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
31823 | <paramlist> |
31824 | <param name="w" type="double" default=""/> | |
31825 | <param name="h" type="double" default=""/> | |
31826 | </paramlist> | |
31827 | </method> | |
31828 | <method name="SetPosition" type="" overloaded="no"> | |
781d2982 | 31829 | <autodoc>SetPosition(self, double x, double y)</autodoc> |
f32fc4bc RD |
31830 | <paramlist> |
31831 | <param name="x" type="double" default=""/> | |
31832 | <param name="y" type="double" default=""/> | |
31833 | </paramlist> | |
31834 | </method> | |
31835 | <method name="SetProportions" type="" overloaded="no"> | |
781d2982 | 31836 | <autodoc>SetProportions(self, double x, double y)</autodoc> |
f32fc4bc RD |
31837 | <paramlist> |
31838 | <param name="x" type="double" default=""/> | |
31839 | <param name="y" type="double" default=""/> | |
31840 | </paramlist> | |
31841 | </method> | |
31842 | <method name="SetFormatMode" type="" overloaded="no"> | |
781d2982 | 31843 | <autodoc>SetFormatMode(self, int mode)</autodoc> |
f32fc4bc RD |
31844 | <paramlist> |
31845 | <param name="mode" type="int" default=""/> | |
31846 | </paramlist> | |
31847 | </method> | |
31848 | <method name="SetName" type="" overloaded="no"> | |
781d2982 | 31849 | <autodoc>SetName(self, String s)</autodoc> |
f32fc4bc RD |
31850 | <paramlist> |
31851 | <param name="s" type="String" default=""/> | |
31852 | </paramlist> | |
31853 | </method> | |
31854 | <method name="SetColour" type="" overloaded="no"> | |
781d2982 | 31855 | <autodoc>SetColour(self, String col)</autodoc> |
f32fc4bc RD |
31856 | <paramlist> |
31857 | <param name="col" type="String" default=""/> | |
31858 | </paramlist> | |
31859 | </method> | |
31860 | <method name="GetText" type="String" overloaded="no"> | |
781d2982 | 31861 | <autodoc>GetText(self) -> String</autodoc> |
f32fc4bc RD |
31862 | </method> |
31863 | <method name="GetFont" type="Font" overloaded="no"> | |
781d2982 | 31864 | <autodoc>GetFont(self) -> Font</autodoc> |
f32fc4bc RD |
31865 | </method> |
31866 | <method name="GetMinSize" type="" overloaded="no"> | |
781d2982 | 31867 | <autodoc>GetMinSize(self, double OUTPUT, double OUTPUT)</autodoc> |
f32fc4bc RD |
31868 | <paramlist> |
31869 | <param name="OUTPUT" type="double" default=""/> | |
31870 | <param name="OUTPUT" type="double" default=""/> | |
31871 | </paramlist> | |
31872 | </method> | |
31873 | <method name="GetProportion" type="" overloaded="no"> | |
781d2982 | 31874 | <autodoc>GetProportion(self, double OUTPUT, double OUTPUT)</autodoc> |
f32fc4bc RD |
31875 | <paramlist> |
31876 | <param name="OUTPUT" type="double" default=""/> | |
31877 | <param name="OUTPUT" type="double" default=""/> | |
31878 | </paramlist> | |
31879 | </method> | |
31880 | <method name="GetSize" type="" overloaded="no"> | |
781d2982 | 31881 | <autodoc>GetSize(self, double OUTPUT, double OUTPUT)</autodoc> |
f32fc4bc RD |
31882 | <paramlist> |
31883 | <param name="OUTPUT" type="double" default=""/> | |
31884 | <param name="OUTPUT" type="double" default=""/> | |
31885 | </paramlist> | |
31886 | </method> | |
31887 | <method name="GetPosition" type="" overloaded="no"> | |
781d2982 | 31888 | <autodoc>GetPosition(self, double OUTPUT, double OUTPUT)</autodoc> |
f32fc4bc RD |
31889 | <paramlist> |
31890 | <param name="OUTPUT" type="double" default=""/> | |
31891 | <param name="OUTPUT" type="double" default=""/> | |
31892 | </paramlist> | |
31893 | </method> | |
31894 | <method name="GetFormatMode" type="int" overloaded="no"> | |
781d2982 | 31895 | <autodoc>GetFormatMode(self) -> int</autodoc> |
f32fc4bc RD |
31896 | </method> |
31897 | <method name="GetName" type="String" overloaded="no"> | |
781d2982 | 31898 | <autodoc>GetName(self) -> String</autodoc> |
f32fc4bc RD |
31899 | </method> |
31900 | <method name="GetColour" type="String" overloaded="no"> | |
781d2982 | 31901 | <autodoc>GetColour(self) -> String</autodoc> |
f32fc4bc RD |
31902 | </method> |
31903 | <method name="GetActualColourObject" type="Colour" overloaded="no"> | |
781d2982 | 31904 | <autodoc>GetActualColourObject(self) -> Colour</autodoc> |
f32fc4bc RD |
31905 | </method> |
31906 | <method name="GetFormattedText" type="wxList" overloaded="no"> | |
781d2982 | 31907 | <autodoc>GetFormattedText(self) -> wxList</autodoc> |
f32fc4bc RD |
31908 | </method> |
31909 | <method name="GetPenColour" type="String" overloaded="no"> | |
781d2982 | 31910 | <autodoc>GetPenColour(self) -> String</autodoc> |
f32fc4bc RD |
31911 | </method> |
31912 | <method name="GetPenStyle" type="int" overloaded="no"> | |
781d2982 | 31913 | <autodoc>GetPenStyle(self) -> int</autodoc> |
f32fc4bc RD |
31914 | </method> |
31915 | <method name="SetPenStyle" type="" overloaded="no"> | |
781d2982 | 31916 | <autodoc>SetPenStyle(self, int style)</autodoc> |
f32fc4bc RD |
31917 | <paramlist> |
31918 | <param name="style" type="int" default=""/> | |
31919 | </paramlist> | |
31920 | </method> | |
31921 | <method name="SetPenColour" type="" overloaded="no"> | |
781d2982 | 31922 | <autodoc>SetPenColour(self, String col)</autodoc> |
f32fc4bc RD |
31923 | <paramlist> |
31924 | <param name="col" type="String" default=""/> | |
31925 | </paramlist> | |
31926 | </method> | |
31927 | <method name="GetActualPen" type="Pen" overloaded="no"> | |
781d2982 | 31928 | <autodoc>GetActualPen(self) -> wxPen</autodoc> |
f32fc4bc RD |
31929 | </method> |
31930 | <method name="GetWidth" type="double" overloaded="no"> | |
781d2982 | 31931 | <autodoc>GetWidth(self) -> double</autodoc> |
f32fc4bc RD |
31932 | </method> |
31933 | <method name="GetHeight" type="double" overloaded="no"> | |
781d2982 | 31934 | <autodoc>GetHeight(self) -> double</autodoc> |
f32fc4bc RD |
31935 | </method> |
31936 | <method name="ClearText" type="" overloaded="no"> | |
781d2982 | 31937 | <autodoc>ClearText(self)</autodoc> |
f32fc4bc RD |
31938 | </method> |
31939 | </class> | |
31940 | <class name="AttachmentPoint" oldname="wxAttachmentPoint" module="ogl"> | |
31941 | <baseclass name="Object"/> | |
31942 | <constructor name="AttachmentPoint" overloaded="no"> | |
781d2982 | 31943 | <autodoc>__init__(self, int id=0, double x=0.0, double y=0.0) -> AttachmentPoint</autodoc> |
f32fc4bc RD |
31944 | <paramlist> |
31945 | <param name="id" type="int" default="0"/> | |
31946 | <param name="x" type="double" default="0.0"/> | |
31947 | <param name="y" type="double" default="0.0"/> | |
31948 | </paramlist> | |
31949 | </constructor> | |
31950 | <property name="m_id" type="int" readonly="no"/> | |
31951 | <property name="m_x" type="double" readonly="no"/> | |
31952 | <property name="m_y" type="double" readonly="no"/> | |
31953 | </class> | |
31954 | <class name="PyShapeEvtHandler" oldname="wxPyShapeEvtHandler" module="ogl"> | |
31955 | <baseclass name="Object"/> | |
31956 | <constructor name="PyShapeEvtHandler" overloaded="no"> | |
781d2982 | 31957 | <autodoc>__init__(self, PyShapeEvtHandler prev=None, PyShape shape=None) -> PyShapeEvtHandler</autodoc> |
f32fc4bc RD |
31958 | <paramlist> |
31959 | <param name="prev" type="PyShapeEvtHandler" default="NULL"/> | |
31960 | <param name="shape" type="wxPyShape" default="NULL"/> | |
31961 | </paramlist> | |
31962 | </constructor> | |
31963 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 31964 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
31965 | <paramlist> |
31966 | <param name="self" type="PyObject" default=""/> | |
31967 | <param name="_class" type="PyObject" default=""/> | |
31968 | </paramlist> | |
31969 | </method> | |
31970 | <method name="_setOORInfo" type="" overloaded="no"> | |
781d2982 | 31971 | <autodoc>_setOORInfo(self, PyObject _self)</autodoc> |
f32fc4bc RD |
31972 | <paramlist> |
31973 | <param name="_self" type="PyObject" default=""/> | |
31974 | </paramlist> | |
31975 | </method> | |
31976 | <method name="SetShape" type="" overloaded="no"> | |
781d2982 | 31977 | <autodoc>SetShape(self, PyShape sh)</autodoc> |
f32fc4bc RD |
31978 | <paramlist> |
31979 | <param name="sh" type="wxPyShape" default=""/> | |
31980 | </paramlist> | |
31981 | </method> | |
31982 | <method name="GetShape" type="wxPyShape" overloaded="no"> | |
781d2982 | 31983 | <autodoc>GetShape(self) -> PyShape</autodoc> |
f32fc4bc RD |
31984 | </method> |
31985 | <method name="SetPreviousHandler" type="" overloaded="no"> | |
781d2982 | 31986 | <autodoc>SetPreviousHandler(self, PyShapeEvtHandler handler)</autodoc> |
f32fc4bc RD |
31987 | <paramlist> |
31988 | <param name="handler" type="PyShapeEvtHandler" default=""/> | |
31989 | </paramlist> | |
31990 | </method> | |
31991 | <method name="GetPreviousHandler" type="PyShapeEvtHandler" overloaded="no"> | |
781d2982 | 31992 | <autodoc>GetPreviousHandler(self) -> PyShapeEvtHandler</autodoc> |
f32fc4bc RD |
31993 | </method> |
31994 | <method name="CreateNewCopy" type="PyShapeEvtHandler" overloaded="no"> | |
781d2982 | 31995 | <autodoc>CreateNewCopy(self) -> PyShapeEvtHandler</autodoc> |
f32fc4bc RD |
31996 | </method> |
31997 | <method name="base_OnDelete" type="" overloaded="no"> | |
781d2982 | 31998 | <autodoc>base_OnDelete(self)</autodoc> |
f32fc4bc RD |
31999 | </method> |
32000 | <method name="base_OnDraw" type="" overloaded="no"> | |
781d2982 | 32001 | <autodoc>base_OnDraw(self, DC dc)</autodoc> |
f32fc4bc RD |
32002 | <paramlist> |
32003 | <param name="dc" type="DC" default=""/> | |
32004 | </paramlist> | |
32005 | </method> | |
32006 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
781d2982 | 32007 | <autodoc>base_OnDrawContents(self, DC dc)</autodoc> |
f32fc4bc RD |
32008 | <paramlist> |
32009 | <param name="dc" type="DC" default=""/> | |
32010 | </paramlist> | |
32011 | </method> | |
32012 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
781d2982 | 32013 | <autodoc>base_OnDrawBranches(self, DC dc, bool erase=False)</autodoc> |
f32fc4bc RD |
32014 | <paramlist> |
32015 | <param name="dc" type="DC" default=""/> | |
32016 | <param name="erase" type="bool" default="False"/> | |
32017 | </paramlist> | |
32018 | </method> | |
32019 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
781d2982 | 32020 | <autodoc>base_OnMoveLinks(self, DC dc)</autodoc> |
f32fc4bc RD |
32021 | <paramlist> |
32022 | <param name="dc" type="DC" default=""/> | |
32023 | </paramlist> | |
32024 | </method> | |
32025 | <method name="base_OnErase" type="" overloaded="no"> | |
781d2982 | 32026 | <autodoc>base_OnErase(self, DC dc)</autodoc> |
f32fc4bc RD |
32027 | <paramlist> |
32028 | <param name="dc" type="DC" default=""/> | |
32029 | </paramlist> | |
32030 | </method> | |
32031 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
781d2982 | 32032 | <autodoc>base_OnEraseContents(self, DC dc)</autodoc> |
f32fc4bc RD |
32033 | <paramlist> |
32034 | <param name="dc" type="DC" default=""/> | |
32035 | </paramlist> | |
32036 | </method> | |
32037 | <method name="base_OnHighlight" type="" overloaded="no"> | |
781d2982 | 32038 | <autodoc>base_OnHighlight(self, DC dc)</autodoc> |
f32fc4bc RD |
32039 | <paramlist> |
32040 | <param name="dc" type="DC" default=""/> | |
32041 | </paramlist> | |
32042 | </method> | |
32043 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
781d2982 | 32044 | <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
32045 | <paramlist> |
32046 | <param name="x" type="double" default=""/> | |
32047 | <param name="y" type="double" default=""/> | |
32048 | <param name="keys" type="int" default="0"/> | |
32049 | <param name="attachment" type="int" default="0"/> | |
32050 | </paramlist> | |
32051 | </method> | |
32052 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
781d2982 | 32053 | <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
32054 | <paramlist> |
32055 | <param name="x" type="double" default=""/> | |
32056 | <param name="y" type="double" default=""/> | |
32057 | <param name="keys" type="int" default="0"/> | |
32058 | <param name="attachment" type="int" default="0"/> | |
32059 | </paramlist> | |
32060 | </method> | |
32061 | <method name="base_OnRightClick" type="" overloaded="no"> | |
781d2982 | 32062 | <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
32063 | <paramlist> |
32064 | <param name="x" type="double" default=""/> | |
32065 | <param name="y" type="double" default=""/> | |
32066 | <param name="keys" type="int" default="0"/> | |
32067 | <param name="attachment" type="int" default="0"/> | |
32068 | </paramlist> | |
32069 | </method> | |
32070 | <method name="base_OnSize" type="" overloaded="no"> | |
781d2982 | 32071 | <autodoc>base_OnSize(self, double x, double y)</autodoc> |
f32fc4bc RD |
32072 | <paramlist> |
32073 | <param name="x" type="double" default=""/> | |
32074 | <param name="y" type="double" default=""/> | |
32075 | </paramlist> | |
32076 | </method> | |
32077 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
781d2982 | 32078 | <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
32079 | bool display=True) -> bool</autodoc> |
32080 | <paramlist> | |
32081 | <param name="dc" type="DC" default=""/> | |
32082 | <param name="x" type="double" default=""/> | |
32083 | <param name="y" type="double" default=""/> | |
32084 | <param name="old_x" type="double" default=""/> | |
32085 | <param name="old_y" type="double" default=""/> | |
32086 | <param name="display" type="bool" default="True"/> | |
32087 | </paramlist> | |
32088 | </method> | |
32089 | <method name="base_OnMovePost" type="" overloaded="no"> | |
781d2982 | 32090 | <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
32091 | bool display=True)</autodoc> |
32092 | <paramlist> | |
32093 | <param name="dc" type="DC" default=""/> | |
32094 | <param name="x" type="double" default=""/> | |
32095 | <param name="y" type="double" default=""/> | |
32096 | <param name="old_x" type="double" default=""/> | |
32097 | <param name="old_y" type="double" default=""/> | |
32098 | <param name="display" type="bool" default="True"/> | |
32099 | </paramlist> | |
32100 | </method> | |
32101 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
781d2982 | 32102 | <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
32103 | <paramlist> |
32104 | <param name="draw" type="bool" default=""/> | |
32105 | <param name="x" type="double" default=""/> | |
32106 | <param name="y" type="double" default=""/> | |
32107 | <param name="keys" type="int" default="0"/> | |
32108 | <param name="attachment" type="int" default="0"/> | |
32109 | </paramlist> | |
32110 | </method> | |
32111 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 32112 | <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
32113 | <paramlist> |
32114 | <param name="x" type="double" default=""/> | |
32115 | <param name="y" type="double" default=""/> | |
32116 | <param name="keys" type="int" default="0"/> | |
32117 | <param name="attachment" type="int" default="0"/> | |
32118 | </paramlist> | |
32119 | </method> | |
32120 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
781d2982 | 32121 | <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
32122 | <paramlist> |
32123 | <param name="x" type="double" default=""/> | |
32124 | <param name="y" type="double" default=""/> | |
32125 | <param name="keys" type="int" default="0"/> | |
32126 | <param name="attachment" type="int" default="0"/> | |
32127 | </paramlist> | |
32128 | </method> | |
32129 | <method name="base_OnDragRight" type="" overloaded="no"> | |
781d2982 | 32130 | <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
32131 | <paramlist> |
32132 | <param name="draw" type="bool" default=""/> | |
32133 | <param name="x" type="double" default=""/> | |
32134 | <param name="y" type="double" default=""/> | |
32135 | <param name="keys" type="int" default="0"/> | |
32136 | <param name="attachment" type="int" default="0"/> | |
32137 | </paramlist> | |
32138 | </method> | |
32139 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
781d2982 | 32140 | <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
32141 | <paramlist> |
32142 | <param name="x" type="double" default=""/> | |
32143 | <param name="y" type="double" default=""/> | |
32144 | <param name="keys" type="int" default="0"/> | |
32145 | <param name="attachment" type="int" default="0"/> | |
32146 | </paramlist> | |
32147 | </method> | |
32148 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
781d2982 | 32149 | <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
32150 | <paramlist> |
32151 | <param name="x" type="double" default=""/> | |
32152 | <param name="y" type="double" default=""/> | |
32153 | <param name="keys" type="int" default="0"/> | |
32154 | <param name="attachment" type="int" default="0"/> | |
32155 | </paramlist> | |
32156 | </method> | |
32157 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
781d2982 | 32158 | <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc> |
f32fc4bc RD |
32159 | <paramlist> |
32160 | <param name="dc" type="DC" default=""/> | |
32161 | <param name="x" type="double" default=""/> | |
32162 | <param name="y" type="double" default=""/> | |
32163 | <param name="w" type="double" default=""/> | |
32164 | <param name="h" type="double" default=""/> | |
32165 | </paramlist> | |
32166 | </method> | |
32167 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
781d2982 | 32168 | <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
32169 | <paramlist> |
32170 | <param name="dc" type="DC" default=""/> | |
32171 | </paramlist> | |
32172 | </method> | |
32173 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
781d2982 | 32174 | <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
32175 | <paramlist> |
32176 | <param name="dc" type="DC" default=""/> | |
32177 | </paramlist> | |
32178 | </method> | |
32179 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
781d2982 | 32180 | <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc> |
f32fc4bc RD |
32181 | <paramlist> |
32182 | <param name="dc" type="DC" default=""/> | |
32183 | <param name="moveControlPoints" type="bool" default="True"/> | |
32184 | </paramlist> | |
32185 | </method> | |
32186 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
781d2982 | 32187 | <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, |
f32fc4bc RD |
32188 | int attachment=0)</autodoc> |
32189 | <paramlist> | |
32190 | <param name="pt" type="wxPyControlPoint" default=""/> | |
32191 | <param name="draw" type="bool" default=""/> | |
32192 | <param name="x" type="double" default=""/> | |
32193 | <param name="y" type="double" default=""/> | |
32194 | <param name="keys" type="int" default="0"/> | |
32195 | <param name="attachment" type="int" default="0"/> | |
32196 | </paramlist> | |
32197 | </method> | |
32198 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 32199 | <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
32200 | int attachment=0)</autodoc> |
32201 | <paramlist> | |
32202 | <param name="pt" type="wxPyControlPoint" default=""/> | |
32203 | <param name="x" type="double" default=""/> | |
32204 | <param name="y" type="double" default=""/> | |
32205 | <param name="keys" type="int" default="0"/> | |
32206 | <param name="attachment" type="int" default="0"/> | |
32207 | </paramlist> | |
32208 | </method> | |
32209 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
781d2982 | 32210 | <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
32211 | int attachment=0)</autodoc> |
32212 | <paramlist> | |
32213 | <param name="pt" type="wxPyControlPoint" default=""/> | |
32214 | <param name="x" type="double" default=""/> | |
32215 | <param name="y" type="double" default=""/> | |
32216 | <param name="keys" type="int" default="0"/> | |
32217 | <param name="attachment" type="int" default="0"/> | |
32218 | </paramlist> | |
32219 | </method> | |
32220 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
781d2982 | 32221 | <autodoc>base_OnBeginSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
32222 | <paramlist> |
32223 | <param name="w" type="double" default=""/> | |
32224 | <param name="h" type="double" default=""/> | |
32225 | </paramlist> | |
32226 | </method> | |
32227 | <method name="base_OnEndSize" type="" overloaded="no"> | |
781d2982 | 32228 | <autodoc>base_OnEndSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
32229 | <paramlist> |
32230 | <param name="w" type="double" default=""/> | |
32231 | <param name="h" type="double" default=""/> | |
32232 | </paramlist> | |
32233 | </method> | |
32234 | </class> | |
32235 | <class name="PyShape" oldname="wxPyShape" module="ogl"> | |
32236 | <baseclass name="PyShapeEvtHandler"/> | |
32237 | <constructor name="PyShape" overloaded="no"> | |
781d2982 | 32238 | <autodoc>__init__(self, PyShapeCanvas can=None) -> PyShape</autodoc> |
f32fc4bc RD |
32239 | <paramlist> |
32240 | <param name="can" type="wxPyShapeCanvas" default="NULL"/> | |
32241 | </paramlist> | |
32242 | </constructor> | |
32243 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 32244 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
32245 | <paramlist> |
32246 | <param name="self" type="PyObject" default=""/> | |
32247 | <param name="_class" type="PyObject" default=""/> | |
32248 | </paramlist> | |
32249 | </method> | |
32250 | <method name="GetBoundingBoxMax" type="" overloaded="no"> | |
781d2982 | 32251 | <autodoc>GetBoundingBoxMax(self, double OUTPUT, double OUTPUT)</autodoc> |
f32fc4bc RD |
32252 | <paramlist> |
32253 | <param name="OUTPUT" type="double" default=""/> | |
32254 | <param name="OUTPUT" type="double" default=""/> | |
32255 | </paramlist> | |
32256 | </method> | |
32257 | <method name="GetBoundingBoxMin" type="" overloaded="no"> | |
781d2982 | 32258 | <autodoc>GetBoundingBoxMin(self, double OUTPUT, double OUTPUT)</autodoc> |
f32fc4bc RD |
32259 | <paramlist> |
32260 | <param name="OUTPUT" type="double" default=""/> | |
32261 | <param name="OUTPUT" type="double" default=""/> | |
32262 | </paramlist> | |
32263 | </method> | |
32264 | <method name="GetPerimeterPoint" type="bool" overloaded="no"> | |
781d2982 | 32265 | <autodoc>GetPerimeterPoint(self, double x1, double y1, double x2, double y2, double OUTPUT, |
f32fc4bc RD |
32266 | double OUTPUT) -> bool</autodoc> |
32267 | <paramlist> | |
32268 | <param name="x1" type="double" default=""/> | |
32269 | <param name="y1" type="double" default=""/> | |
32270 | <param name="x2" type="double" default=""/> | |
32271 | <param name="y2" type="double" default=""/> | |
32272 | <param name="OUTPUT" type="double" default=""/> | |
32273 | <param name="OUTPUT" type="double" default=""/> | |
32274 | </paramlist> | |
32275 | </method> | |
32276 | <method name="GetCanvas" type="wxPyShapeCanvas" overloaded="no"> | |
781d2982 | 32277 | <autodoc>GetCanvas(self) -> PyShapeCanvas</autodoc> |
f32fc4bc RD |
32278 | </method> |
32279 | <method name="SetCanvas" type="" overloaded="no"> | |
781d2982 | 32280 | <autodoc>SetCanvas(self, PyShapeCanvas the_canvas)</autodoc> |
f32fc4bc RD |
32281 | <paramlist> |
32282 | <param name="the_canvas" type="wxPyShapeCanvas" default=""/> | |
32283 | </paramlist> | |
32284 | </method> | |
32285 | <method name="AddToCanvas" type="" overloaded="no"> | |
781d2982 | 32286 | <autodoc>AddToCanvas(self, PyShapeCanvas the_canvas, PyShape addAfter=None)</autodoc> |
f32fc4bc RD |
32287 | <paramlist> |
32288 | <param name="the_canvas" type="wxPyShapeCanvas" default=""/> | |
32289 | <param name="addAfter" type="PyShape" default="NULL"/> | |
32290 | </paramlist> | |
32291 | </method> | |
32292 | <method name="InsertInCanvas" type="" overloaded="no"> | |
781d2982 | 32293 | <autodoc>InsertInCanvas(self, PyShapeCanvas the_canvas)</autodoc> |
f32fc4bc RD |
32294 | <paramlist> |
32295 | <param name="the_canvas" type="wxPyShapeCanvas" default=""/> | |
32296 | </paramlist> | |
32297 | </method> | |
32298 | <method name="RemoveFromCanvas" type="" overloaded="no"> | |
781d2982 | 32299 | <autodoc>RemoveFromCanvas(self, PyShapeCanvas the_canvas)</autodoc> |
f32fc4bc RD |
32300 | <paramlist> |
32301 | <param name="the_canvas" type="wxPyShapeCanvas" default=""/> | |
32302 | </paramlist> | |
32303 | </method> | |
32304 | <method name="GetX" type="double" overloaded="no"> | |
781d2982 | 32305 | <autodoc>GetX(self) -> double</autodoc> |
f32fc4bc RD |
32306 | </method> |
32307 | <method name="GetY" type="double" overloaded="no"> | |
781d2982 | 32308 | <autodoc>GetY(self) -> double</autodoc> |
f32fc4bc RD |
32309 | </method> |
32310 | <method name="SetX" type="" overloaded="no"> | |
781d2982 | 32311 | <autodoc>SetX(self, double x)</autodoc> |
f32fc4bc RD |
32312 | <paramlist> |
32313 | <param name="x" type="double" default=""/> | |
32314 | </paramlist> | |
32315 | </method> | |
32316 | <method name="SetY" type="" overloaded="no"> | |
781d2982 | 32317 | <autodoc>SetY(self, double y)</autodoc> |
f32fc4bc RD |
32318 | <paramlist> |
32319 | <param name="y" type="double" default=""/> | |
32320 | </paramlist> | |
32321 | </method> | |
32322 | <method name="GetParent" type="PyShape" overloaded="no"> | |
781d2982 | 32323 | <autodoc>GetParent(self) -> PyShape</autodoc> |
f32fc4bc RD |
32324 | </method> |
32325 | <method name="SetParent" type="" overloaded="no"> | |
781d2982 | 32326 | <autodoc>SetParent(self, PyShape p)</autodoc> |
f32fc4bc RD |
32327 | <paramlist> |
32328 | <param name="p" type="PyShape" default=""/> | |
32329 | </paramlist> | |
32330 | </method> | |
32331 | <method name="GetTopAncestor" type="PyShape" overloaded="no"> | |
781d2982 | 32332 | <autodoc>GetTopAncestor(self) -> PyShape</autodoc> |
f32fc4bc RD |
32333 | </method> |
32334 | <method name="GetChildren" type="PyObject" overloaded="no"> | |
781d2982 | 32335 | <autodoc>GetChildren(self) -> PyObject</autodoc> |
f32fc4bc RD |
32336 | </method> |
32337 | <method name="Unlink" type="" overloaded="no"> | |
781d2982 | 32338 | <autodoc>Unlink(self)</autodoc> |
f32fc4bc RD |
32339 | </method> |
32340 | <method name="SetDrawHandles" type="" overloaded="no"> | |
781d2982 | 32341 | <autodoc>SetDrawHandles(self, bool drawH)</autodoc> |
f32fc4bc RD |
32342 | <paramlist> |
32343 | <param name="drawH" type="bool" default=""/> | |
32344 | </paramlist> | |
32345 | </method> | |
32346 | <method name="GetDrawHandles" type="bool" overloaded="no"> | |
781d2982 | 32347 | <autodoc>GetDrawHandles(self) -> bool</autodoc> |
f32fc4bc RD |
32348 | </method> |
32349 | <method name="MakeControlPoints" type="" overloaded="no"> | |
781d2982 | 32350 | <autodoc>MakeControlPoints(self)</autodoc> |
f32fc4bc RD |
32351 | </method> |
32352 | <method name="DeleteControlPoints" type="" overloaded="no"> | |
781d2982 | 32353 | <autodoc>DeleteControlPoints(self, DC dc=None)</autodoc> |
f32fc4bc RD |
32354 | <paramlist> |
32355 | <param name="dc" type="DC" default="NULL"/> | |
32356 | </paramlist> | |
32357 | </method> | |
32358 | <method name="ResetControlPoints" type="" overloaded="no"> | |
781d2982 | 32359 | <autodoc>ResetControlPoints(self)</autodoc> |
f32fc4bc RD |
32360 | </method> |
32361 | <method name="GetEventHandler" type="PyShapeEvtHandler" overloaded="no"> | |
781d2982 | 32362 | <autodoc>GetEventHandler(self) -> PyShapeEvtHandler</autodoc> |
f32fc4bc RD |
32363 | </method> |
32364 | <method name="SetEventHandler" type="" overloaded="no"> | |
781d2982 | 32365 | <autodoc>SetEventHandler(self, PyShapeEvtHandler handler)</autodoc> |
f32fc4bc RD |
32366 | <paramlist> |
32367 | <param name="handler" type="PyShapeEvtHandler" default=""/> | |
32368 | </paramlist> | |
32369 | </method> | |
32370 | <method name="MakeMandatoryControlPoints" type="" overloaded="no"> | |
781d2982 | 32371 | <autodoc>MakeMandatoryControlPoints(self)</autodoc> |
f32fc4bc RD |
32372 | </method> |
32373 | <method name="ResetMandatoryControlPoints" type="" overloaded="no"> | |
781d2982 | 32374 | <autodoc>ResetMandatoryControlPoints(self)</autodoc> |
f32fc4bc RD |
32375 | </method> |
32376 | <method name="Recompute" type="bool" overloaded="no"> | |
781d2982 | 32377 | <autodoc>Recompute(self) -> bool</autodoc> |
f32fc4bc RD |
32378 | </method> |
32379 | <method name="CalculateSize" type="" overloaded="no"> | |
781d2982 | 32380 | <autodoc>CalculateSize(self)</autodoc> |
f32fc4bc RD |
32381 | </method> |
32382 | <method name="Select" type="" overloaded="no"> | |
781d2982 | 32383 | <autodoc>Select(self, bool select=True, DC dc=None)</autodoc> |
f32fc4bc RD |
32384 | <paramlist> |
32385 | <param name="select" type="bool" default="True"/> | |
32386 | <param name="dc" type="DC" default="NULL"/> | |
32387 | </paramlist> | |
32388 | </method> | |
32389 | <method name="SetHighlight" type="" overloaded="no"> | |
781d2982 | 32390 | <autodoc>SetHighlight(self, bool hi=True, bool recurse=False)</autodoc> |
f32fc4bc RD |
32391 | <paramlist> |
32392 | <param name="hi" type="bool" default="True"/> | |
32393 | <param name="recurse" type="bool" default="False"/> | |
32394 | </paramlist> | |
32395 | </method> | |
32396 | <method name="IsHighlighted" type="bool" overloaded="no"> | |
781d2982 | 32397 | <autodoc>IsHighlighted(self) -> bool</autodoc> |
f32fc4bc RD |
32398 | </method> |
32399 | <method name="Selected" type="bool" overloaded="no"> | |
781d2982 | 32400 | <autodoc>Selected(self) -> bool</autodoc> |
f32fc4bc RD |
32401 | </method> |
32402 | <method name="AncestorSelected" type="bool" overloaded="no"> | |
781d2982 | 32403 | <autodoc>AncestorSelected(self) -> bool</autodoc> |
f32fc4bc RD |
32404 | </method> |
32405 | <method name="SetSensitivityFilter" type="" overloaded="no"> | |
781d2982 | 32406 | <autodoc>SetSensitivityFilter(self, int sens=OP_ALL, bool recursive=False)</autodoc> |
f32fc4bc RD |
32407 | <paramlist> |
32408 | <param name="sens" type="int" default="OP_ALL"/> | |
32409 | <param name="recursive" type="bool" default="False"/> | |
32410 | </paramlist> | |
32411 | </method> | |
32412 | <method name="GetSensitivityFilter" type="int" overloaded="no"> | |
781d2982 | 32413 | <autodoc>GetSensitivityFilter(self) -> int</autodoc> |
f32fc4bc RD |
32414 | </method> |
32415 | <method name="SetDraggable" type="" overloaded="no"> | |
781d2982 | 32416 | <autodoc>SetDraggable(self, bool drag, bool recursive=False)</autodoc> |
f32fc4bc RD |
32417 | <paramlist> |
32418 | <param name="drag" type="bool" default=""/> | |
32419 | <param name="recursive" type="bool" default="False"/> | |
32420 | </paramlist> | |
32421 | </method> | |
32422 | <method name="SetFixedSize" type="" overloaded="no"> | |
781d2982 | 32423 | <autodoc>SetFixedSize(self, bool x, bool y)</autodoc> |
f32fc4bc RD |
32424 | <paramlist> |
32425 | <param name="x" type="bool" default=""/> | |
32426 | <param name="y" type="bool" default=""/> | |
32427 | </paramlist> | |
32428 | </method> | |
32429 | <method name="GetFixedSize" type="" overloaded="no"> | |
781d2982 | 32430 | <autodoc>GetFixedSize(self, bool OUTPUT, bool OUTPUT)</autodoc> |
f32fc4bc RD |
32431 | <paramlist> |
32432 | <param name="OUTPUT" type="bool" default=""/> | |
32433 | <param name="OUTPUT" type="bool" default=""/> | |
32434 | </paramlist> | |
32435 | </method> | |
32436 | <method name="GetFixedWidth" type="bool" overloaded="no"> | |
781d2982 | 32437 | <autodoc>GetFixedWidth(self) -> bool</autodoc> |
f32fc4bc RD |
32438 | </method> |
32439 | <method name="GetFixedHeight" type="bool" overloaded="no"> | |
781d2982 | 32440 | <autodoc>GetFixedHeight(self) -> bool</autodoc> |
f32fc4bc RD |
32441 | </method> |
32442 | <method name="SetSpaceAttachments" type="" overloaded="no"> | |
781d2982 | 32443 | <autodoc>SetSpaceAttachments(self, bool sp)</autodoc> |
f32fc4bc RD |
32444 | <paramlist> |
32445 | <param name="sp" type="bool" default=""/> | |
32446 | </paramlist> | |
32447 | </method> | |
32448 | <method name="GetSpaceAttachments" type="bool" overloaded="no"> | |
781d2982 | 32449 | <autodoc>GetSpaceAttachments(self) -> bool</autodoc> |
f32fc4bc RD |
32450 | </method> |
32451 | <method name="SetShadowMode" type="" overloaded="no"> | |
781d2982 | 32452 | <autodoc>SetShadowMode(self, int mode, bool redraw=False)</autodoc> |
f32fc4bc RD |
32453 | <paramlist> |
32454 | <param name="mode" type="int" default=""/> | |
32455 | <param name="redraw" type="bool" default="False"/> | |
32456 | </paramlist> | |
32457 | </method> | |
32458 | <method name="GetShadowMode" type="int" overloaded="no"> | |
781d2982 | 32459 | <autodoc>GetShadowMode(self) -> int</autodoc> |
f32fc4bc RD |
32460 | </method> |
32461 | <method name="HitTest" type="bool" overloaded="no"> | |
781d2982 | 32462 | <autodoc>HitTest(self, double x, double y, int OUTPUT, double OUTPUT) -> bool</autodoc> |
f32fc4bc RD |
32463 | <paramlist> |
32464 | <param name="x" type="double" default=""/> | |
32465 | <param name="y" type="double" default=""/> | |
32466 | <param name="OUTPUT" type="int" default=""/> | |
32467 | <param name="OUTPUT" type="double" default=""/> | |
32468 | </paramlist> | |
32469 | </method> | |
32470 | <method name="SetCentreResize" type="" overloaded="no"> | |
781d2982 | 32471 | <autodoc>SetCentreResize(self, bool cr)</autodoc> |
f32fc4bc RD |
32472 | <paramlist> |
32473 | <param name="cr" type="bool" default=""/> | |
32474 | </paramlist> | |
32475 | </method> | |
32476 | <method name="GetCentreResize" type="bool" overloaded="no"> | |
781d2982 | 32477 | <autodoc>GetCentreResize(self) -> bool</autodoc> |
f32fc4bc RD |
32478 | </method> |
32479 | <method name="SetMaintainAspectRatio" type="" overloaded="no"> | |
781d2982 | 32480 | <autodoc>SetMaintainAspectRatio(self, bool ar)</autodoc> |
f32fc4bc RD |
32481 | <paramlist> |
32482 | <param name="ar" type="bool" default=""/> | |
32483 | </paramlist> | |
32484 | </method> | |
32485 | <method name="GetMaintainAspectRatio" type="bool" overloaded="no"> | |
781d2982 | 32486 | <autodoc>GetMaintainAspectRatio(self) -> bool</autodoc> |
f32fc4bc RD |
32487 | </method> |
32488 | <method name="GetLines" type="PyObject" overloaded="no"> | |
781d2982 | 32489 | <autodoc>GetLines(self) -> PyObject</autodoc> |
f32fc4bc RD |
32490 | </method> |
32491 | <method name="SetDisableLabel" type="" overloaded="no"> | |
781d2982 | 32492 | <autodoc>SetDisableLabel(self, bool flag)</autodoc> |
f32fc4bc RD |
32493 | <paramlist> |
32494 | <param name="flag" type="bool" default=""/> | |
32495 | </paramlist> | |
32496 | </method> | |
32497 | <method name="GetDisableLabel" type="bool" overloaded="no"> | |
781d2982 | 32498 | <autodoc>GetDisableLabel(self) -> bool</autodoc> |
f32fc4bc RD |
32499 | </method> |
32500 | <method name="SetAttachmentMode" type="" overloaded="no"> | |
781d2982 | 32501 | <autodoc>SetAttachmentMode(self, int mode)</autodoc> |
f32fc4bc RD |
32502 | <paramlist> |
32503 | <param name="mode" type="int" default=""/> | |
32504 | </paramlist> | |
32505 | </method> | |
32506 | <method name="GetAttachmentMode" type="int" overloaded="no"> | |
781d2982 | 32507 | <autodoc>GetAttachmentMode(self) -> int</autodoc> |
f32fc4bc RD |
32508 | </method> |
32509 | <method name="SetId" type="" overloaded="no"> | |
781d2982 | 32510 | <autodoc>SetId(self, long i)</autodoc> |
f32fc4bc RD |
32511 | <paramlist> |
32512 | <param name="i" type="long" default=""/> | |
32513 | </paramlist> | |
32514 | </method> | |
32515 | <method name="GetId" type="long" overloaded="no"> | |
781d2982 | 32516 | <autodoc>GetId(self) -> long</autodoc> |
f32fc4bc RD |
32517 | </method> |
32518 | <method name="SetPen" type="" overloaded="no"> | |
781d2982 | 32519 | <autodoc>SetPen(self, wxPen pen)</autodoc> |
f32fc4bc RD |
32520 | <paramlist> |
32521 | <param name="pen" type="Pen" default=""/> | |
32522 | </paramlist> | |
32523 | </method> | |
32524 | <method name="SetBrush" type="" overloaded="no"> | |
781d2982 | 32525 | <autodoc>SetBrush(self, wxBrush brush)</autodoc> |
f32fc4bc RD |
32526 | <paramlist> |
32527 | <param name="brush" type="Brush" default=""/> | |
32528 | </paramlist> | |
32529 | </method> | |
32530 | <method name="Show" type="" overloaded="no"> | |
781d2982 | 32531 | <autodoc>Show(self, bool show)</autodoc> |
f32fc4bc RD |
32532 | <paramlist> |
32533 | <param name="show" type="bool" default=""/> | |
32534 | </paramlist> | |
32535 | </method> | |
32536 | <method name="IsShown" type="bool" overloaded="no"> | |
781d2982 | 32537 | <autodoc>IsShown(self) -> bool</autodoc> |
f32fc4bc RD |
32538 | </method> |
32539 | <method name="Move" type="" overloaded="no"> | |
781d2982 | 32540 | <autodoc>Move(self, DC dc, double x1, double y1, bool display=True)</autodoc> |
f32fc4bc RD |
32541 | <paramlist> |
32542 | <param name="dc" type="DC" default=""/> | |
32543 | <param name="x1" type="double" default=""/> | |
32544 | <param name="y1" type="double" default=""/> | |
32545 | <param name="display" type="bool" default="True"/> | |
32546 | </paramlist> | |
32547 | </method> | |
32548 | <method name="Erase" type="" overloaded="no"> | |
781d2982 | 32549 | <autodoc>Erase(self, DC dc)</autodoc> |
f32fc4bc RD |
32550 | <paramlist> |
32551 | <param name="dc" type="DC" default=""/> | |
32552 | </paramlist> | |
32553 | </method> | |
32554 | <method name="EraseContents" type="" overloaded="no"> | |
781d2982 | 32555 | <autodoc>EraseContents(self, DC dc)</autodoc> |
f32fc4bc RD |
32556 | <paramlist> |
32557 | <param name="dc" type="DC" default=""/> | |
32558 | </paramlist> | |
32559 | </method> | |
32560 | <method name="Draw" type="" overloaded="no"> | |
781d2982 | 32561 | <autodoc>Draw(self, DC dc)</autodoc> |
f32fc4bc RD |
32562 | <paramlist> |
32563 | <param name="dc" type="DC" default=""/> | |
32564 | </paramlist> | |
32565 | </method> | |
32566 | <method name="Flash" type="" overloaded="no"> | |
781d2982 | 32567 | <autodoc>Flash(self)</autodoc> |
f32fc4bc RD |
32568 | </method> |
32569 | <method name="MoveLinks" type="" overloaded="no"> | |
781d2982 | 32570 | <autodoc>MoveLinks(self, DC dc)</autodoc> |
f32fc4bc RD |
32571 | <paramlist> |
32572 | <param name="dc" type="DC" default=""/> | |
32573 | </paramlist> | |
32574 | </method> | |
32575 | <method name="DrawContents" type="" overloaded="no"> | |
781d2982 | 32576 | <autodoc>DrawContents(self, DC dc)</autodoc> |
f32fc4bc RD |
32577 | <paramlist> |
32578 | <param name="dc" type="DC" default=""/> | |
32579 | </paramlist> | |
32580 | </method> | |
32581 | <method name="SetSize" type="" overloaded="no"> | |
781d2982 | 32582 | <autodoc>SetSize(self, double x, double y, bool recursive=True)</autodoc> |
f32fc4bc RD |
32583 | <paramlist> |
32584 | <param name="x" type="double" default=""/> | |
32585 | <param name="y" type="double" default=""/> | |
32586 | <param name="recursive" type="bool" default="True"/> | |
32587 | </paramlist> | |
32588 | </method> | |
32589 | <method name="SetAttachmentSize" type="" overloaded="no"> | |
781d2982 | 32590 | <autodoc>SetAttachmentSize(self, double x, double y)</autodoc> |
f32fc4bc RD |
32591 | <paramlist> |
32592 | <param name="x" type="double" default=""/> | |
32593 | <param name="y" type="double" default=""/> | |
32594 | </paramlist> | |
32595 | </method> | |
32596 | <method name="Attach" type="" overloaded="no"> | |
781d2982 | 32597 | <autodoc>Attach(self, PyShapeCanvas can)</autodoc> |
f32fc4bc RD |
32598 | <paramlist> |
32599 | <param name="can" type="wxPyShapeCanvas" default=""/> | |
32600 | </paramlist> | |
32601 | </method> | |
32602 | <method name="Detach" type="" overloaded="no"> | |
781d2982 | 32603 | <autodoc>Detach(self)</autodoc> |
f32fc4bc RD |
32604 | </method> |
32605 | <method name="Constrain" type="bool" overloaded="no"> | |
781d2982 | 32606 | <autodoc>Constrain(self) -> bool</autodoc> |
f32fc4bc RD |
32607 | </method> |
32608 | <method name="AddLine" type="" overloaded="no"> | |
781d2982 | 32609 | <autodoc>AddLine(self, PyLineShape line, PyShape other, int attachFrom=0, |
f32fc4bc RD |
32610 | int attachTo=0, int positionFrom=-1, int positionTo=-1)</autodoc> |
32611 | <paramlist> | |
32612 | <param name="line" type="wxPyLineShape" default=""/> | |
32613 | <param name="other" type="PyShape" default=""/> | |
32614 | <param name="attachFrom" type="int" default="0"/> | |
32615 | <param name="attachTo" type="int" default="0"/> | |
32616 | <param name="positionFrom" type="int" default="-1"/> | |
32617 | <param name="positionTo" type="int" default="-1"/> | |
32618 | </paramlist> | |
32619 | </method> | |
32620 | <method name="GetLinePosition" type="int" overloaded="no"> | |
781d2982 | 32621 | <autodoc>GetLinePosition(self, PyLineShape line) -> int</autodoc> |
f32fc4bc RD |
32622 | <paramlist> |
32623 | <param name="line" type="wxPyLineShape" default=""/> | |
32624 | </paramlist> | |
32625 | </method> | |
32626 | <method name="AddText" type="" overloaded="no"> | |
781d2982 | 32627 | <autodoc>AddText(self, String string)</autodoc> |
f32fc4bc RD |
32628 | <paramlist> |
32629 | <param name="string" type="String" default=""/> | |
32630 | </paramlist> | |
32631 | </method> | |
32632 | <method name="GetPen" type="Pen" overloaded="no"> | |
781d2982 | 32633 | <autodoc>GetPen(self) -> wxPen</autodoc> |
f32fc4bc RD |
32634 | </method> |
32635 | <method name="GetBrush" type="Brush" overloaded="no"> | |
781d2982 | 32636 | <autodoc>GetBrush(self) -> wxBrush</autodoc> |
f32fc4bc RD |
32637 | </method> |
32638 | <method name="SetDefaultRegionSize" type="" overloaded="no"> | |
781d2982 | 32639 | <autodoc>SetDefaultRegionSize(self)</autodoc> |
f32fc4bc RD |
32640 | </method> |
32641 | <method name="FormatText" type="" overloaded="no"> | |
781d2982 | 32642 | <autodoc>FormatText(self, DC dc, String s, int regionId=0)</autodoc> |
f32fc4bc RD |
32643 | <paramlist> |
32644 | <param name="dc" type="DC" default=""/> | |
32645 | <param name="s" type="String" default=""/> | |
32646 | <param name="regionId" type="int" default="0"/> | |
32647 | </paramlist> | |
32648 | </method> | |
32649 | <method name="SetFormatMode" type="" overloaded="no"> | |
781d2982 | 32650 | <autodoc>SetFormatMode(self, int mode, int regionId=0)</autodoc> |
f32fc4bc RD |
32651 | <paramlist> |
32652 | <param name="mode" type="int" default=""/> | |
32653 | <param name="regionId" type="int" default="0"/> | |
32654 | </paramlist> | |
32655 | </method> | |
32656 | <method name="GetFormatMode" type="int" overloaded="no"> | |
781d2982 | 32657 | <autodoc>GetFormatMode(self, int regionId=0) -> int</autodoc> |
f32fc4bc RD |
32658 | <paramlist> |
32659 | <param name="regionId" type="int" default="0"/> | |
32660 | </paramlist> | |
32661 | </method> | |
32662 | <method name="SetFont" type="" overloaded="no"> | |
781d2982 | 32663 | <autodoc>SetFont(self, Font font, int regionId=0)</autodoc> |
f32fc4bc RD |
32664 | <paramlist> |
32665 | <param name="font" type="Font" default=""/> | |
32666 | <param name="regionId" type="int" default="0"/> | |
32667 | </paramlist> | |
32668 | </method> | |
32669 | <method name="GetFont" type="Font" overloaded="no"> | |
781d2982 | 32670 | <autodoc>GetFont(self, int regionId=0) -> Font</autodoc> |
f32fc4bc RD |
32671 | <paramlist> |
32672 | <param name="regionId" type="int" default="0"/> | |
32673 | </paramlist> | |
32674 | </method> | |
32675 | <method name="SetTextColour" type="" overloaded="no"> | |
781d2982 | 32676 | <autodoc>SetTextColour(self, String colour, int regionId=0)</autodoc> |
f32fc4bc RD |
32677 | <paramlist> |
32678 | <param name="colour" type="String" default=""/> | |
32679 | <param name="regionId" type="int" default="0"/> | |
32680 | </paramlist> | |
32681 | </method> | |
32682 | <method name="GetTextColour" type="String" overloaded="no"> | |
781d2982 | 32683 | <autodoc>GetTextColour(self, int regionId=0) -> String</autodoc> |
f32fc4bc RD |
32684 | <paramlist> |
32685 | <param name="regionId" type="int" default="0"/> | |
32686 | </paramlist> | |
32687 | </method> | |
32688 | <method name="GetNumberOfTextRegions" type="int" overloaded="no"> | |
781d2982 | 32689 | <autodoc>GetNumberOfTextRegions(self) -> int</autodoc> |
f32fc4bc RD |
32690 | </method> |
32691 | <method name="SetRegionName" type="" overloaded="no"> | |
781d2982 | 32692 | <autodoc>SetRegionName(self, String name, int regionId=0)</autodoc> |
f32fc4bc RD |
32693 | <paramlist> |
32694 | <param name="name" type="String" default=""/> | |
32695 | <param name="regionId" type="int" default="0"/> | |
32696 | </paramlist> | |
32697 | </method> | |
32698 | <method name="GetRegionName" type="String" overloaded="no"> | |
781d2982 | 32699 | <autodoc>GetRegionName(self, int regionId) -> String</autodoc> |
f32fc4bc RD |
32700 | <paramlist> |
32701 | <param name="regionId" type="int" default=""/> | |
32702 | </paramlist> | |
32703 | </method> | |
32704 | <method name="GetRegionId" type="int" overloaded="no"> | |
781d2982 | 32705 | <autodoc>GetRegionId(self, String name) -> int</autodoc> |
f32fc4bc RD |
32706 | <paramlist> |
32707 | <param name="name" type="String" default=""/> | |
32708 | </paramlist> | |
32709 | </method> | |
32710 | <method name="NameRegions" type="" overloaded="no"> | |
781d2982 | 32711 | <autodoc>NameRegions(self, String parentName=EmptyString)</autodoc> |
f32fc4bc RD |
32712 | <paramlist> |
32713 | <param name="parentName" type="String" default="wxPyEmptyString"/> | |
32714 | </paramlist> | |
32715 | </method> | |
32716 | <method name="GetRegions" type="PyObject" overloaded="no"> | |
781d2982 | 32717 | <autodoc>GetRegions(self) -> PyObject</autodoc> |
f32fc4bc RD |
32718 | </method> |
32719 | <method name="AddRegion" type="" overloaded="no"> | |
781d2982 | 32720 | <autodoc>AddRegion(self, ShapeRegion region)</autodoc> |
f32fc4bc RD |
32721 | <paramlist> |
32722 | <param name="region" type="ShapeRegion" default=""/> | |
32723 | </paramlist> | |
32724 | </method> | |
32725 | <method name="ClearRegions" type="" overloaded="no"> | |
781d2982 | 32726 | <autodoc>ClearRegions(self)</autodoc> |
f32fc4bc RD |
32727 | </method> |
32728 | <method name="AssignNewIds" type="" overloaded="no"> | |
781d2982 | 32729 | <autodoc>AssignNewIds(self)</autodoc> |
f32fc4bc RD |
32730 | </method> |
32731 | <method name="FindRegion" type="PyShape" overloaded="no"> | |
781d2982 | 32732 | <autodoc>FindRegion(self, String regionName, int OUTPUT) -> PyShape</autodoc> |
f32fc4bc RD |
32733 | <paramlist> |
32734 | <param name="regionName" type="String" default=""/> | |
32735 | <param name="OUTPUT" type="int" default=""/> | |
32736 | </paramlist> | |
32737 | </method> | |
32738 | <method name="FindRegionNames" type="" overloaded="no"> | |
781d2982 | 32739 | <autodoc>FindRegionNames(self, wxStringList list)</autodoc> |
f32fc4bc RD |
32740 | <paramlist> |
32741 | <param name="list" type="wxStringList" default=""/> | |
32742 | </paramlist> | |
32743 | </method> | |
32744 | <method name="ClearText" type="" overloaded="no"> | |
781d2982 | 32745 | <autodoc>ClearText(self, int regionId=0)</autodoc> |
f32fc4bc RD |
32746 | <paramlist> |
32747 | <param name="regionId" type="int" default="0"/> | |
32748 | </paramlist> | |
32749 | </method> | |
32750 | <method name="RemoveLine" type="" overloaded="no"> | |
781d2982 | 32751 | <autodoc>RemoveLine(self, PyLineShape line)</autodoc> |
f32fc4bc RD |
32752 | <paramlist> |
32753 | <param name="line" type="wxPyLineShape" default=""/> | |
32754 | </paramlist> | |
32755 | </method> | |
32756 | <method name="GetAttachmentPosition" type="bool" overloaded="no"> | |
781d2982 | 32757 | <autodoc>GetAttachmentPosition(self, int attachment, double OUTPUT, double OUTPUT, int nth=0, |
f32fc4bc RD |
32758 | int no_arcs=1, PyLineShape line=None) -> bool</autodoc> |
32759 | <paramlist> | |
32760 | <param name="attachment" type="int" default=""/> | |
32761 | <param name="OUTPUT" type="double" default=""/> | |
32762 | <param name="OUTPUT" type="double" default=""/> | |
32763 | <param name="nth" type="int" default="0"/> | |
32764 | <param name="no_arcs" type="int" default="1"/> | |
32765 | <param name="line" type="wxPyLineShape" default="NULL"/> | |
32766 | </paramlist> | |
32767 | </method> | |
32768 | <method name="GetNumberOfAttachments" type="int" overloaded="no"> | |
781d2982 | 32769 | <autodoc>GetNumberOfAttachments(self) -> int</autodoc> |
f32fc4bc RD |
32770 | </method> |
32771 | <method name="AttachmentIsValid" type="bool" overloaded="no"> | |
781d2982 | 32772 | <autodoc>AttachmentIsValid(self, int attachment) -> bool</autodoc> |
f32fc4bc RD |
32773 | <paramlist> |
32774 | <param name="attachment" type="int" default=""/> | |
32775 | </paramlist> | |
32776 | </method> | |
32777 | <method name="GetAttachments" type="PyObject" overloaded="no"> | |
781d2982 | 32778 | <autodoc>GetAttachments(self) -> PyObject</autodoc> |
f32fc4bc RD |
32779 | </method> |
32780 | <method name="GetAttachmentPositionEdge" type="bool" overloaded="no"> | |
781d2982 | 32781 | <autodoc>GetAttachmentPositionEdge(self, int attachment, double OUTPUT, double OUTPUT, int nth=0, |
f32fc4bc RD |
32782 | int no_arcs=1, PyLineShape line=None) -> bool</autodoc> |
32783 | <paramlist> | |
32784 | <param name="attachment" type="int" default=""/> | |
32785 | <param name="OUTPUT" type="double" default=""/> | |
32786 | <param name="OUTPUT" type="double" default=""/> | |
32787 | <param name="nth" type="int" default="0"/> | |
32788 | <param name="no_arcs" type="int" default="1"/> | |
32789 | <param name="line" type="wxPyLineShape" default="NULL"/> | |
32790 | </paramlist> | |
32791 | </method> | |
32792 | <method name="CalcSimpleAttachment" type="RealPoint" overloaded="no"> | |
781d2982 | 32793 | <autodoc>CalcSimpleAttachment(self, RealPoint pt1, RealPoint pt2, int nth, int noArcs, |
f32fc4bc RD |
32794 | PyLineShape line) -> RealPoint</autodoc> |
32795 | <paramlist> | |
32796 | <param name="pt1" type="RealPoint" default=""/> | |
32797 | <param name="pt2" type="RealPoint" default=""/> | |
32798 | <param name="nth" type="int" default=""/> | |
32799 | <param name="noArcs" type="int" default=""/> | |
32800 | <param name="line" type="wxPyLineShape" default=""/> | |
32801 | </paramlist> | |
32802 | </method> | |
32803 | <method name="AttachmentSortTest" type="bool" overloaded="no"> | |
781d2982 | 32804 | <autodoc>AttachmentSortTest(self, int attachmentPoint, RealPoint pt1, RealPoint pt2) -> bool</autodoc> |
f32fc4bc RD |
32805 | <paramlist> |
32806 | <param name="attachmentPoint" type="int" default=""/> | |
32807 | <param name="pt1" type="RealPoint" default=""/> | |
32808 | <param name="pt2" type="RealPoint" default=""/> | |
32809 | </paramlist> | |
32810 | </method> | |
32811 | <method name="EraseLinks" type="" overloaded="no"> | |
781d2982 | 32812 | <autodoc>EraseLinks(self, DC dc, int attachment=-1, bool recurse=False)</autodoc> |
f32fc4bc RD |
32813 | <paramlist> |
32814 | <param name="dc" type="DC" default=""/> | |
32815 | <param name="attachment" type="int" default="-1"/> | |
32816 | <param name="recurse" type="bool" default="False"/> | |
32817 | </paramlist> | |
32818 | </method> | |
32819 | <method name="DrawLinks" type="" overloaded="no"> | |
781d2982 | 32820 | <autodoc>DrawLinks(self, DC dc, int attachment=-1, bool recurse=False)</autodoc> |
f32fc4bc RD |
32821 | <paramlist> |
32822 | <param name="dc" type="DC" default=""/> | |
32823 | <param name="attachment" type="int" default="-1"/> | |
32824 | <param name="recurse" type="bool" default="False"/> | |
32825 | </paramlist> | |
32826 | </method> | |
32827 | <method name="MoveLineToNewAttachment" type="bool" overloaded="no"> | |
781d2982 | 32828 | <autodoc>MoveLineToNewAttachment(self, DC dc, PyLineShape to_move, double x, double y) -> bool</autodoc> |
f32fc4bc RD |
32829 | <paramlist> |
32830 | <param name="dc" type="DC" default=""/> | |
32831 | <param name="to_move" type="wxPyLineShape" default=""/> | |
32832 | <param name="x" type="double" default=""/> | |
32833 | <param name="y" type="double" default=""/> | |
32834 | </paramlist> | |
32835 | </method> | |
32836 | <method name="ApplyAttachmentOrdering" type="" overloaded="no"> | |
781d2982 | 32837 | <autodoc>ApplyAttachmentOrdering(self, PyObject linesToSort)</autodoc> |
f32fc4bc RD |
32838 | <paramlist> |
32839 | <param name="linesToSort" type="PyObject" default=""/> | |
32840 | </paramlist> | |
32841 | </method> | |
32842 | <method name="GetBranchingAttachmentRoot" type="RealPoint" overloaded="no"> | |
781d2982 | 32843 | <autodoc>GetBranchingAttachmentRoot(self, int attachment) -> RealPoint</autodoc> |
f32fc4bc RD |
32844 | <paramlist> |
32845 | <param name="attachment" type="int" default=""/> | |
32846 | </paramlist> | |
32847 | </method> | |
32848 | <method name="GetBranchingAttachmentInfo" type="bool" overloaded="no"> | |
781d2982 | 32849 | <autodoc>GetBranchingAttachmentInfo(self, int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1, |
f32fc4bc RD |
32850 | RealPoint shoulder2) -> bool</autodoc> |
32851 | <paramlist> | |
32852 | <param name="attachment" type="int" default=""/> | |
32853 | <param name="root" type="RealPoint" default=""/> | |
32854 | <param name="neck" type="RealPoint" default=""/> | |
32855 | <param name="shoulder1" type="RealPoint" default=""/> | |
32856 | <param name="shoulder2" type="RealPoint" default=""/> | |
32857 | </paramlist> | |
32858 | </method> | |
32859 | <method name="GetBranchingAttachmentPoint" type="bool" overloaded="no"> | |
781d2982 | 32860 | <autodoc>GetBranchingAttachmentPoint(self, int attachment, int n, RealPoint attachmentPoint, RealPoint stemPoint) -> bool</autodoc> |
f32fc4bc RD |
32861 | <paramlist> |
32862 | <param name="attachment" type="int" default=""/> | |
32863 | <param name="n" type="int" default=""/> | |
32864 | <param name="attachmentPoint" type="RealPoint" default=""/> | |
32865 | <param name="stemPoint" type="RealPoint" default=""/> | |
32866 | </paramlist> | |
32867 | </method> | |
32868 | <method name="GetAttachmentLineCount" type="int" overloaded="no"> | |
781d2982 | 32869 | <autodoc>GetAttachmentLineCount(self, int attachment) -> int</autodoc> |
f32fc4bc RD |
32870 | <paramlist> |
32871 | <param name="attachment" type="int" default=""/> | |
32872 | </paramlist> | |
32873 | </method> | |
32874 | <method name="SetBranchNeckLength" type="" overloaded="no"> | |
781d2982 | 32875 | <autodoc>SetBranchNeckLength(self, int len)</autodoc> |
f32fc4bc RD |
32876 | <paramlist> |
32877 | <param name="len" type="int" default=""/> | |
32878 | </paramlist> | |
32879 | </method> | |
32880 | <method name="GetBranchNeckLength" type="int" overloaded="no"> | |
781d2982 | 32881 | <autodoc>GetBranchNeckLength(self) -> int</autodoc> |
f32fc4bc RD |
32882 | </method> |
32883 | <method name="SetBranchStemLength" type="" overloaded="no"> | |
781d2982 | 32884 | <autodoc>SetBranchStemLength(self, int len)</autodoc> |
f32fc4bc RD |
32885 | <paramlist> |
32886 | <param name="len" type="int" default=""/> | |
32887 | </paramlist> | |
32888 | </method> | |
32889 | <method name="GetBranchStemLength" type="int" overloaded="no"> | |
781d2982 | 32890 | <autodoc>GetBranchStemLength(self) -> int</autodoc> |
f32fc4bc RD |
32891 | </method> |
32892 | <method name="SetBranchSpacing" type="" overloaded="no"> | |
781d2982 | 32893 | <autodoc>SetBranchSpacing(self, int len)</autodoc> |
f32fc4bc RD |
32894 | <paramlist> |
32895 | <param name="len" type="int" default=""/> | |
32896 | </paramlist> | |
32897 | </method> | |
32898 | <method name="GetBranchSpacing" type="int" overloaded="no"> | |
781d2982 | 32899 | <autodoc>GetBranchSpacing(self) -> int</autodoc> |
f32fc4bc RD |
32900 | </method> |
32901 | <method name="SetBranchStyle" type="" overloaded="no"> | |
781d2982 | 32902 | <autodoc>SetBranchStyle(self, long style)</autodoc> |
f32fc4bc RD |
32903 | <paramlist> |
32904 | <param name="style" type="long" default=""/> | |
32905 | </paramlist> | |
32906 | </method> | |
32907 | <method name="GetBranchStyle" type="long" overloaded="no"> | |
781d2982 | 32908 | <autodoc>GetBranchStyle(self) -> long</autodoc> |
f32fc4bc RD |
32909 | </method> |
32910 | <method name="PhysicalToLogicalAttachment" type="int" overloaded="no"> | |
781d2982 | 32911 | <autodoc>PhysicalToLogicalAttachment(self, int physicalAttachment) -> int</autodoc> |
f32fc4bc RD |
32912 | <paramlist> |
32913 | <param name="physicalAttachment" type="int" default=""/> | |
32914 | </paramlist> | |
32915 | </method> | |
32916 | <method name="LogicalToPhysicalAttachment" type="int" overloaded="no"> | |
781d2982 | 32917 | <autodoc>LogicalToPhysicalAttachment(self, int logicalAttachment) -> int</autodoc> |
f32fc4bc RD |
32918 | <paramlist> |
32919 | <param name="logicalAttachment" type="int" default=""/> | |
32920 | </paramlist> | |
32921 | </method> | |
32922 | <method name="Draggable" type="bool" overloaded="no"> | |
781d2982 | 32923 | <autodoc>Draggable(self) -> bool</autodoc> |
f32fc4bc RD |
32924 | </method> |
32925 | <method name="HasDescendant" type="bool" overloaded="no"> | |
781d2982 | 32926 | <autodoc>HasDescendant(self, PyShape image) -> bool</autodoc> |
f32fc4bc RD |
32927 | <paramlist> |
32928 | <param name="image" type="PyShape" default=""/> | |
32929 | </paramlist> | |
32930 | </method> | |
32931 | <method name="CreateNewCopy" type="PyShape" overloaded="no"> | |
781d2982 | 32932 | <autodoc>CreateNewCopy(self, bool resetMapping=True, bool recompute=True) -> PyShape</autodoc> |
f32fc4bc RD |
32933 | <paramlist> |
32934 | <param name="resetMapping" type="bool" default="True"/> | |
32935 | <param name="recompute" type="bool" default="True"/> | |
32936 | </paramlist> | |
32937 | </method> | |
32938 | <method name="Copy" type="" overloaded="no"> | |
781d2982 | 32939 | <autodoc>Copy(self, PyShape copy)</autodoc> |
f32fc4bc RD |
32940 | <paramlist> |
32941 | <param name="copy" type="PyShape" default=""/> | |
32942 | </paramlist> | |
32943 | </method> | |
32944 | <method name="CopyWithHandler" type="" overloaded="no"> | |
781d2982 | 32945 | <autodoc>CopyWithHandler(self, PyShape copy)</autodoc> |
f32fc4bc RD |
32946 | <paramlist> |
32947 | <param name="copy" type="PyShape" default=""/> | |
32948 | </paramlist> | |
32949 | </method> | |
32950 | <method name="Rotate" type="" overloaded="no"> | |
781d2982 | 32951 | <autodoc>Rotate(self, double x, double y, double theta)</autodoc> |
f32fc4bc RD |
32952 | <paramlist> |
32953 | <param name="x" type="double" default=""/> | |
32954 | <param name="y" type="double" default=""/> | |
32955 | <param name="theta" type="double" default=""/> | |
32956 | </paramlist> | |
32957 | </method> | |
32958 | <method name="GetRotation" type="double" overloaded="no"> | |
781d2982 | 32959 | <autodoc>GetRotation(self) -> double</autodoc> |
f32fc4bc RD |
32960 | </method> |
32961 | <method name="SetRotation" type="" overloaded="no"> | |
781d2982 | 32962 | <autodoc>SetRotation(self, double rotation)</autodoc> |
f32fc4bc RD |
32963 | <paramlist> |
32964 | <param name="rotation" type="double" default=""/> | |
32965 | </paramlist> | |
32966 | </method> | |
32967 | <method name="ClearAttachments" type="" overloaded="no"> | |
781d2982 | 32968 | <autodoc>ClearAttachments(self)</autodoc> |
f32fc4bc RD |
32969 | </method> |
32970 | <method name="Recentre" type="" overloaded="no"> | |
781d2982 | 32971 | <autodoc>Recentre(self, DC dc)</autodoc> |
f32fc4bc RD |
32972 | <paramlist> |
32973 | <param name="dc" type="DC" default=""/> | |
32974 | </paramlist> | |
32975 | </method> | |
32976 | <method name="ClearPointList" type="" overloaded="no"> | |
781d2982 | 32977 | <autodoc>ClearPointList(self, wxList list)</autodoc> |
f32fc4bc RD |
32978 | <paramlist> |
32979 | <param name="list" type="wxList" default=""/> | |
32980 | </paramlist> | |
32981 | </method> | |
32982 | <method name="GetBackgroundPen" type="Pen" overloaded="no"> | |
781d2982 | 32983 | <autodoc>GetBackgroundPen(self) -> wxPen</autodoc> |
f32fc4bc RD |
32984 | </method> |
32985 | <method name="GetBackgroundBrush" type="Brush" overloaded="no"> | |
781d2982 | 32986 | <autodoc>GetBackgroundBrush(self) -> wxBrush</autodoc> |
f32fc4bc RD |
32987 | </method> |
32988 | <method name="base_OnDelete" type="" overloaded="no"> | |
781d2982 | 32989 | <autodoc>base_OnDelete(self)</autodoc> |
f32fc4bc RD |
32990 | </method> |
32991 | <method name="base_OnDraw" type="" overloaded="no"> | |
781d2982 | 32992 | <autodoc>base_OnDraw(self, DC dc)</autodoc> |
f32fc4bc RD |
32993 | <paramlist> |
32994 | <param name="dc" type="DC" default=""/> | |
32995 | </paramlist> | |
32996 | </method> | |
32997 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
781d2982 | 32998 | <autodoc>base_OnDrawContents(self, DC dc)</autodoc> |
f32fc4bc RD |
32999 | <paramlist> |
33000 | <param name="dc" type="DC" default=""/> | |
33001 | </paramlist> | |
33002 | </method> | |
33003 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
781d2982 | 33004 | <autodoc>base_OnDrawBranches(self, DC dc, bool erase=False)</autodoc> |
f32fc4bc RD |
33005 | <paramlist> |
33006 | <param name="dc" type="DC" default=""/> | |
33007 | <param name="erase" type="bool" default="False"/> | |
33008 | </paramlist> | |
33009 | </method> | |
33010 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
781d2982 | 33011 | <autodoc>base_OnMoveLinks(self, DC dc)</autodoc> |
f32fc4bc RD |
33012 | <paramlist> |
33013 | <param name="dc" type="DC" default=""/> | |
33014 | </paramlist> | |
33015 | </method> | |
33016 | <method name="base_OnErase" type="" overloaded="no"> | |
781d2982 | 33017 | <autodoc>base_OnErase(self, DC dc)</autodoc> |
f32fc4bc RD |
33018 | <paramlist> |
33019 | <param name="dc" type="DC" default=""/> | |
33020 | </paramlist> | |
33021 | </method> | |
33022 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
781d2982 | 33023 | <autodoc>base_OnEraseContents(self, DC dc)</autodoc> |
f32fc4bc RD |
33024 | <paramlist> |
33025 | <param name="dc" type="DC" default=""/> | |
33026 | </paramlist> | |
33027 | </method> | |
33028 | <method name="base_OnHighlight" type="" overloaded="no"> | |
781d2982 | 33029 | <autodoc>base_OnHighlight(self, DC dc)</autodoc> |
f32fc4bc RD |
33030 | <paramlist> |
33031 | <param name="dc" type="DC" default=""/> | |
33032 | </paramlist> | |
33033 | </method> | |
33034 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
781d2982 | 33035 | <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33036 | <paramlist> |
33037 | <param name="x" type="double" default=""/> | |
33038 | <param name="y" type="double" default=""/> | |
33039 | <param name="keys" type="int" default="0"/> | |
33040 | <param name="attachment" type="int" default="0"/> | |
33041 | </paramlist> | |
33042 | </method> | |
33043 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
781d2982 | 33044 | <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33045 | <paramlist> |
33046 | <param name="x" type="double" default=""/> | |
33047 | <param name="y" type="double" default=""/> | |
33048 | <param name="keys" type="int" default="0"/> | |
33049 | <param name="attachment" type="int" default="0"/> | |
33050 | </paramlist> | |
33051 | </method> | |
33052 | <method name="base_OnRightClick" type="" overloaded="no"> | |
781d2982 | 33053 | <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33054 | <paramlist> |
33055 | <param name="x" type="double" default=""/> | |
33056 | <param name="y" type="double" default=""/> | |
33057 | <param name="keys" type="int" default="0"/> | |
33058 | <param name="attachment" type="int" default="0"/> | |
33059 | </paramlist> | |
33060 | </method> | |
33061 | <method name="base_OnSize" type="" overloaded="no"> | |
781d2982 | 33062 | <autodoc>base_OnSize(self, double x, double y)</autodoc> |
f32fc4bc RD |
33063 | <paramlist> |
33064 | <param name="x" type="double" default=""/> | |
33065 | <param name="y" type="double" default=""/> | |
33066 | </paramlist> | |
33067 | </method> | |
33068 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
781d2982 | 33069 | <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
33070 | bool display=True) -> bool</autodoc> |
33071 | <paramlist> | |
33072 | <param name="dc" type="DC" default=""/> | |
33073 | <param name="x" type="double" default=""/> | |
33074 | <param name="y" type="double" default=""/> | |
33075 | <param name="old_x" type="double" default=""/> | |
33076 | <param name="old_y" type="double" default=""/> | |
33077 | <param name="display" type="bool" default="True"/> | |
33078 | </paramlist> | |
33079 | </method> | |
33080 | <method name="base_OnMovePost" type="" overloaded="no"> | |
781d2982 | 33081 | <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
33082 | bool display=True)</autodoc> |
33083 | <paramlist> | |
33084 | <param name="dc" type="DC" default=""/> | |
33085 | <param name="x" type="double" default=""/> | |
33086 | <param name="y" type="double" default=""/> | |
33087 | <param name="old_x" type="double" default=""/> | |
33088 | <param name="old_y" type="double" default=""/> | |
33089 | <param name="display" type="bool" default="True"/> | |
33090 | </paramlist> | |
33091 | </method> | |
33092 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
781d2982 | 33093 | <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33094 | <paramlist> |
33095 | <param name="draw" type="bool" default=""/> | |
33096 | <param name="x" type="double" default=""/> | |
33097 | <param name="y" type="double" default=""/> | |
33098 | <param name="keys" type="int" default="0"/> | |
33099 | <param name="attachment" type="int" default="0"/> | |
33100 | </paramlist> | |
33101 | </method> | |
33102 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 33103 | <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33104 | <paramlist> |
33105 | <param name="x" type="double" default=""/> | |
33106 | <param name="y" type="double" default=""/> | |
33107 | <param name="keys" type="int" default="0"/> | |
33108 | <param name="attachment" type="int" default="0"/> | |
33109 | </paramlist> | |
33110 | </method> | |
33111 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
781d2982 | 33112 | <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33113 | <paramlist> |
33114 | <param name="x" type="double" default=""/> | |
33115 | <param name="y" type="double" default=""/> | |
33116 | <param name="keys" type="int" default="0"/> | |
33117 | <param name="attachment" type="int" default="0"/> | |
33118 | </paramlist> | |
33119 | </method> | |
33120 | <method name="base_OnDragRight" type="" overloaded="no"> | |
781d2982 | 33121 | <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33122 | <paramlist> |
33123 | <param name="draw" type="bool" default=""/> | |
33124 | <param name="x" type="double" default=""/> | |
33125 | <param name="y" type="double" default=""/> | |
33126 | <param name="keys" type="int" default="0"/> | |
33127 | <param name="attachment" type="int" default="0"/> | |
33128 | </paramlist> | |
33129 | </method> | |
33130 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
781d2982 | 33131 | <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33132 | <paramlist> |
33133 | <param name="x" type="double" default=""/> | |
33134 | <param name="y" type="double" default=""/> | |
33135 | <param name="keys" type="int" default="0"/> | |
33136 | <param name="attachment" type="int" default="0"/> | |
33137 | </paramlist> | |
33138 | </method> | |
33139 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
781d2982 | 33140 | <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33141 | <paramlist> |
33142 | <param name="x" type="double" default=""/> | |
33143 | <param name="y" type="double" default=""/> | |
33144 | <param name="keys" type="int" default="0"/> | |
33145 | <param name="attachment" type="int" default="0"/> | |
33146 | </paramlist> | |
33147 | </method> | |
33148 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
781d2982 | 33149 | <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc> |
f32fc4bc RD |
33150 | <paramlist> |
33151 | <param name="dc" type="DC" default=""/> | |
33152 | <param name="x" type="double" default=""/> | |
33153 | <param name="y" type="double" default=""/> | |
33154 | <param name="w" type="double" default=""/> | |
33155 | <param name="h" type="double" default=""/> | |
33156 | </paramlist> | |
33157 | </method> | |
33158 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
781d2982 | 33159 | <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
33160 | <paramlist> |
33161 | <param name="dc" type="DC" default=""/> | |
33162 | </paramlist> | |
33163 | </method> | |
33164 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
781d2982 | 33165 | <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
33166 | <paramlist> |
33167 | <param name="dc" type="DC" default=""/> | |
33168 | </paramlist> | |
33169 | </method> | |
33170 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
781d2982 | 33171 | <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc> |
f32fc4bc RD |
33172 | <paramlist> |
33173 | <param name="dc" type="DC" default=""/> | |
33174 | <param name="moveControlPoints" type="bool" default="True"/> | |
33175 | </paramlist> | |
33176 | </method> | |
33177 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
781d2982 | 33178 | <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, |
f32fc4bc RD |
33179 | int attachment=0)</autodoc> |
33180 | <paramlist> | |
33181 | <param name="pt" type="wxPyControlPoint" default=""/> | |
33182 | <param name="draw" type="bool" default=""/> | |
33183 | <param name="x" type="double" default=""/> | |
33184 | <param name="y" type="double" default=""/> | |
33185 | <param name="keys" type="int" default="0"/> | |
33186 | <param name="attachment" type="int" default="0"/> | |
33187 | </paramlist> | |
33188 | </method> | |
33189 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 33190 | <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
33191 | int attachment=0)</autodoc> |
33192 | <paramlist> | |
33193 | <param name="pt" type="wxPyControlPoint" default=""/> | |
33194 | <param name="x" type="double" default=""/> | |
33195 | <param name="y" type="double" default=""/> | |
33196 | <param name="keys" type="int" default="0"/> | |
33197 | <param name="attachment" type="int" default="0"/> | |
33198 | </paramlist> | |
33199 | </method> | |
33200 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
781d2982 | 33201 | <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
33202 | int attachment=0)</autodoc> |
33203 | <paramlist> | |
33204 | <param name="pt" type="wxPyControlPoint" default=""/> | |
33205 | <param name="x" type="double" default=""/> | |
33206 | <param name="y" type="double" default=""/> | |
33207 | <param name="keys" type="int" default="0"/> | |
33208 | <param name="attachment" type="int" default="0"/> | |
33209 | </paramlist> | |
33210 | </method> | |
33211 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
781d2982 | 33212 | <autodoc>base_OnBeginSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
33213 | <paramlist> |
33214 | <param name="w" type="double" default=""/> | |
33215 | <param name="h" type="double" default=""/> | |
33216 | </paramlist> | |
33217 | </method> | |
33218 | <method name="base_OnEndSize" type="" overloaded="no"> | |
781d2982 | 33219 | <autodoc>base_OnEndSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
33220 | <paramlist> |
33221 | <param name="w" type="double" default=""/> | |
33222 | <param name="h" type="double" default=""/> | |
33223 | </paramlist> | |
33224 | </method> | |
33225 | </class> | |
33226 | <class name="PseudoMetaFile" oldname="wxPseudoMetaFile" module="ogl"> | |
33227 | <baseclass name="Object"/> | |
33228 | <constructor name="PseudoMetaFile" overloaded="no"> | |
781d2982 | 33229 | <autodoc>__init__(self) -> PseudoMetaFile</autodoc> |
f32fc4bc RD |
33230 | </constructor> |
33231 | <destructor name="~wxPseudoMetaFile" overloaded="no"> | |
781d2982 | 33232 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
33233 | </destructor> |
33234 | <method name="Draw" type="" overloaded="no"> | |
781d2982 | 33235 | <autodoc>Draw(self, DC dc, double xoffset, double yoffset)</autodoc> |
f32fc4bc RD |
33236 | <paramlist> |
33237 | <param name="dc" type="DC" default=""/> | |
33238 | <param name="xoffset" type="double" default=""/> | |
33239 | <param name="yoffset" type="double" default=""/> | |
33240 | </paramlist> | |
33241 | </method> | |
33242 | <method name="Clear" type="" overloaded="no"> | |
781d2982 | 33243 | <autodoc>Clear(self)</autodoc> |
f32fc4bc RD |
33244 | </method> |
33245 | <method name="Copy" type="" overloaded="no"> | |
781d2982 | 33246 | <autodoc>Copy(self, PseudoMetaFile copy)</autodoc> |
f32fc4bc RD |
33247 | <paramlist> |
33248 | <param name="copy" type="PseudoMetaFile" default=""/> | |
33249 | </paramlist> | |
33250 | </method> | |
33251 | <method name="Scale" type="" overloaded="no"> | |
781d2982 | 33252 | <autodoc>Scale(self, double sx, double sy)</autodoc> |
f32fc4bc RD |
33253 | <paramlist> |
33254 | <param name="sx" type="double" default=""/> | |
33255 | <param name="sy" type="double" default=""/> | |
33256 | </paramlist> | |
33257 | </method> | |
33258 | <method name="ScaleTo" type="" overloaded="no"> | |
781d2982 | 33259 | <autodoc>ScaleTo(self, double w, double h)</autodoc> |
f32fc4bc RD |
33260 | <paramlist> |
33261 | <param name="w" type="double" default=""/> | |
33262 | <param name="h" type="double" default=""/> | |
33263 | </paramlist> | |
33264 | </method> | |
33265 | <method name="Translate" type="" overloaded="no"> | |
781d2982 | 33266 | <autodoc>Translate(self, double x, double y)</autodoc> |
f32fc4bc RD |
33267 | <paramlist> |
33268 | <param name="x" type="double" default=""/> | |
33269 | <param name="y" type="double" default=""/> | |
33270 | </paramlist> | |
33271 | </method> | |
33272 | <method name="Rotate" type="" overloaded="no"> | |
781d2982 | 33273 | <autodoc>Rotate(self, double x, double y, double theta)</autodoc> |
f32fc4bc RD |
33274 | <paramlist> |
33275 | <param name="x" type="double" default=""/> | |
33276 | <param name="y" type="double" default=""/> | |
33277 | <param name="theta" type="double" default=""/> | |
33278 | </paramlist> | |
33279 | </method> | |
33280 | <method name="LoadFromMetaFile" type="bool" overloaded="no"> | |
781d2982 | 33281 | <autodoc>LoadFromMetaFile(self, String filename, double width, double height) -> bool</autodoc> |
f32fc4bc RD |
33282 | <paramlist> |
33283 | <param name="filename" type="String" default=""/> | |
33284 | <param name="width" type="double" default=""/> | |
33285 | <param name="height" type="double" default=""/> | |
33286 | </paramlist> | |
33287 | </method> | |
33288 | <method name="GetBounds" type="" overloaded="no"> | |
781d2982 | 33289 | <autodoc>GetBounds(self, double minX, double minY, double maxX, double maxY)</autodoc> |
f32fc4bc RD |
33290 | <paramlist> |
33291 | <param name="minX" type="double" default=""/> | |
33292 | <param name="minY" type="double" default=""/> | |
33293 | <param name="maxX" type="double" default=""/> | |
33294 | <param name="maxY" type="double" default=""/> | |
33295 | </paramlist> | |
33296 | </method> | |
33297 | <method name="CalculateSize" type="" overloaded="no"> | |
781d2982 | 33298 | <autodoc>CalculateSize(self, PyDrawnShape shape)</autodoc> |
f32fc4bc RD |
33299 | <paramlist> |
33300 | <param name="shape" type="wxPyDrawnShape" default=""/> | |
33301 | </paramlist> | |
33302 | </method> | |
33303 | <method name="SetRotateable" type="" overloaded="no"> | |
781d2982 | 33304 | <autodoc>SetRotateable(self, bool rot)</autodoc> |
f32fc4bc RD |
33305 | <paramlist> |
33306 | <param name="rot" type="bool" default=""/> | |
33307 | </paramlist> | |
33308 | </method> | |
33309 | <method name="GetRotateable" type="bool" overloaded="no"> | |
781d2982 | 33310 | <autodoc>GetRotateable(self) -> bool</autodoc> |
f32fc4bc RD |
33311 | </method> |
33312 | <method name="SetSize" type="" overloaded="no"> | |
781d2982 | 33313 | <autodoc>SetSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
33314 | <paramlist> |
33315 | <param name="w" type="double" default=""/> | |
33316 | <param name="h" type="double" default=""/> | |
33317 | </paramlist> | |
33318 | </method> | |
33319 | <method name="SetFillBrush" type="" overloaded="no"> | |
781d2982 | 33320 | <autodoc>SetFillBrush(self, wxBrush brush)</autodoc> |
f32fc4bc RD |
33321 | <paramlist> |
33322 | <param name="brush" type="Brush" default=""/> | |
33323 | </paramlist> | |
33324 | </method> | |
33325 | <method name="GetFillBrush" type="Brush" overloaded="no"> | |
781d2982 | 33326 | <autodoc>GetFillBrush(self) -> wxBrush</autodoc> |
f32fc4bc RD |
33327 | </method> |
33328 | <method name="SetOutlinePen" type="" overloaded="no"> | |
781d2982 | 33329 | <autodoc>SetOutlinePen(self, wxPen pen)</autodoc> |
f32fc4bc RD |
33330 | <paramlist> |
33331 | <param name="pen" type="Pen" default=""/> | |
33332 | </paramlist> | |
33333 | </method> | |
33334 | <method name="GetOutlinePen" type="Pen" overloaded="no"> | |
781d2982 | 33335 | <autodoc>GetOutlinePen(self) -> wxPen</autodoc> |
f32fc4bc RD |
33336 | </method> |
33337 | <method name="SetOutlineOp" type="" overloaded="no"> | |
781d2982 | 33338 | <autodoc>SetOutlineOp(self, int op)</autodoc> |
f32fc4bc RD |
33339 | <paramlist> |
33340 | <param name="op" type="int" default=""/> | |
33341 | </paramlist> | |
33342 | </method> | |
33343 | <method name="GetOutlineOp" type="int" overloaded="no"> | |
781d2982 | 33344 | <autodoc>GetOutlineOp(self) -> int</autodoc> |
f32fc4bc RD |
33345 | </method> |
33346 | <method name="IsValid" type="bool" overloaded="no"> | |
781d2982 | 33347 | <autodoc>IsValid(self) -> bool</autodoc> |
f32fc4bc RD |
33348 | </method> |
33349 | <method name="DrawLine" type="" overloaded="no"> | |
781d2982 | 33350 | <autodoc>DrawLine(self, Point pt1, Point pt2)</autodoc> |
f32fc4bc RD |
33351 | <paramlist> |
33352 | <param name="pt1" type="Point" default=""/> | |
33353 | <param name="pt2" type="Point" default=""/> | |
33354 | </paramlist> | |
33355 | </method> | |
33356 | <method name="DrawRectangle" type="" overloaded="no"> | |
781d2982 | 33357 | <autodoc>DrawRectangle(self, Rect rect)</autodoc> |
f32fc4bc RD |
33358 | <paramlist> |
33359 | <param name="rect" type="Rect" default=""/> | |
33360 | </paramlist> | |
33361 | </method> | |
33362 | <method name="DrawRoundedRectangle" type="" overloaded="no"> | |
781d2982 | 33363 | <autodoc>DrawRoundedRectangle(self, Rect rect, double radius)</autodoc> |
f32fc4bc RD |
33364 | <paramlist> |
33365 | <param name="rect" type="Rect" default=""/> | |
33366 | <param name="radius" type="double" default=""/> | |
33367 | </paramlist> | |
33368 | </method> | |
33369 | <method name="DrawArc" type="" overloaded="no"> | |
781d2982 | 33370 | <autodoc>DrawArc(self, Point centrePt, Point startPt, Point endPt)</autodoc> |
f32fc4bc RD |
33371 | <paramlist> |
33372 | <param name="centrePt" type="Point" default=""/> | |
33373 | <param name="startPt" type="Point" default=""/> | |
33374 | <param name="endPt" type="Point" default=""/> | |
33375 | </paramlist> | |
33376 | </method> | |
33377 | <method name="DrawEllipticArc" type="" overloaded="no"> | |
781d2982 | 33378 | <autodoc>DrawEllipticArc(self, Rect rect, double startAngle, double endAngle)</autodoc> |
f32fc4bc RD |
33379 | <paramlist> |
33380 | <param name="rect" type="Rect" default=""/> | |
33381 | <param name="startAngle" type="double" default=""/> | |
33382 | <param name="endAngle" type="double" default=""/> | |
33383 | </paramlist> | |
33384 | </method> | |
33385 | <method name="DrawEllipse" type="" overloaded="no"> | |
781d2982 | 33386 | <autodoc>DrawEllipse(self, Rect rect)</autodoc> |
f32fc4bc RD |
33387 | <paramlist> |
33388 | <param name="rect" type="Rect" default=""/> | |
33389 | </paramlist> | |
33390 | </method> | |
33391 | <method name="DrawPoint" type="" overloaded="no"> | |
781d2982 | 33392 | <autodoc>DrawPoint(self, Point pt)</autodoc> |
f32fc4bc RD |
33393 | <paramlist> |
33394 | <param name="pt" type="Point" default=""/> | |
33395 | </paramlist> | |
33396 | </method> | |
33397 | <method name="DrawText" type="" overloaded="no"> | |
781d2982 | 33398 | <autodoc>DrawText(self, String text, Point pt)</autodoc> |
f32fc4bc RD |
33399 | <paramlist> |
33400 | <param name="text" type="String" default=""/> | |
33401 | <param name="pt" type="Point" default=""/> | |
33402 | </paramlist> | |
33403 | </method> | |
33404 | <method name="DrawLines" type="" overloaded="no"> | |
781d2982 | 33405 | <autodoc>DrawLines(self, int points, Point points_array)</autodoc> |
f32fc4bc | 33406 | <paramlist> |
781d2982 RD |
33407 | <param name="points" type="int" default=""/> |
33408 | <param name="points_array" type="Point" default=""/> | |
f32fc4bc RD |
33409 | </paramlist> |
33410 | </method> | |
33411 | <method name="DrawPolygon" type="" overloaded="no"> | |
781d2982 | 33412 | <autodoc>DrawPolygon(self, int points, Point points_array, int flags=0)</autodoc> |
f32fc4bc | 33413 | <paramlist> |
781d2982 RD |
33414 | <param name="points" type="int" default=""/> |
33415 | <param name="points_array" type="Point" default=""/> | |
f32fc4bc RD |
33416 | <param name="flags" type="int" default="0"/> |
33417 | </paramlist> | |
33418 | </method> | |
33419 | <method name="DrawSpline" type="" overloaded="no"> | |
781d2982 | 33420 | <autodoc>DrawSpline(self, int points, Point points_array)</autodoc> |
f32fc4bc | 33421 | <paramlist> |
781d2982 RD |
33422 | <param name="points" type="int" default=""/> |
33423 | <param name="points_array" type="Point" default=""/> | |
f32fc4bc RD |
33424 | </paramlist> |
33425 | </method> | |
33426 | <method name="SetClippingRect" type="" overloaded="no"> | |
781d2982 | 33427 | <autodoc>SetClippingRect(self, Rect rect)</autodoc> |
f32fc4bc RD |
33428 | <paramlist> |
33429 | <param name="rect" type="Rect" default=""/> | |
33430 | </paramlist> | |
33431 | </method> | |
33432 | <method name="DestroyClippingRect" type="" overloaded="no"> | |
781d2982 | 33433 | <autodoc>DestroyClippingRect(self)</autodoc> |
f32fc4bc RD |
33434 | </method> |
33435 | <method name="SetPen" type="" overloaded="no"> | |
781d2982 | 33436 | <autodoc>SetPen(self, wxPen pen, bool isOutline=FALSE)</autodoc> |
f32fc4bc RD |
33437 | <paramlist> |
33438 | <param name="pen" type="Pen" default=""/> | |
33439 | <param name="isOutline" type="bool" default="FALSE"/> | |
33440 | </paramlist> | |
33441 | </method> | |
33442 | <method name="SetBrush" type="" overloaded="no"> | |
781d2982 | 33443 | <autodoc>SetBrush(self, wxBrush brush, bool isFill=FALSE)</autodoc> |
f32fc4bc RD |
33444 | <paramlist> |
33445 | <param name="brush" type="Brush" default=""/> | |
33446 | <param name="isFill" type="bool" default="FALSE"/> | |
33447 | </paramlist> | |
33448 | </method> | |
33449 | <method name="SetFont" type="" overloaded="no"> | |
781d2982 | 33450 | <autodoc>SetFont(self, Font font)</autodoc> |
f32fc4bc RD |
33451 | <paramlist> |
33452 | <param name="font" type="Font" default=""/> | |
33453 | </paramlist> | |
33454 | </method> | |
33455 | <method name="SetTextColour" type="" overloaded="no"> | |
781d2982 | 33456 | <autodoc>SetTextColour(self, Colour colour)</autodoc> |
f32fc4bc RD |
33457 | <paramlist> |
33458 | <param name="colour" type="Colour" default=""/> | |
33459 | </paramlist> | |
33460 | </method> | |
33461 | <method name="SetBackgroundColour" type="" overloaded="no"> | |
781d2982 | 33462 | <autodoc>SetBackgroundColour(self, Colour colour)</autodoc> |
f32fc4bc RD |
33463 | <paramlist> |
33464 | <param name="colour" type="Colour" default=""/> | |
33465 | </paramlist> | |
33466 | </method> | |
33467 | <method name="SetBackgroundMode" type="" overloaded="no"> | |
781d2982 | 33468 | <autodoc>SetBackgroundMode(self, int mode)</autodoc> |
f32fc4bc RD |
33469 | <paramlist> |
33470 | <param name="mode" type="int" default=""/> | |
33471 | </paramlist> | |
33472 | </method> | |
33473 | </class> | |
33474 | <class name="PyRectangleShape" oldname="wxPyRectangleShape" module="ogl"> | |
33475 | <baseclass name="PyShape"/> | |
33476 | <constructor name="PyRectangleShape" overloaded="no"> | |
781d2982 | 33477 | <autodoc>__init__(self, double width=0.0, double height=0.0) -> PyRectangleShape</autodoc> |
f32fc4bc RD |
33478 | <paramlist> |
33479 | <param name="width" type="double" default="0.0"/> | |
33480 | <param name="height" type="double" default="0.0"/> | |
33481 | </paramlist> | |
33482 | </constructor> | |
33483 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 33484 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
33485 | <paramlist> |
33486 | <param name="self" type="PyObject" default=""/> | |
33487 | <param name="_class" type="PyObject" default=""/> | |
33488 | </paramlist> | |
33489 | </method> | |
33490 | <method name="SetCornerRadius" type="" overloaded="no"> | |
781d2982 | 33491 | <autodoc>SetCornerRadius(self, double radius)</autodoc> |
f32fc4bc RD |
33492 | <paramlist> |
33493 | <param name="radius" type="double" default=""/> | |
33494 | </paramlist> | |
33495 | </method> | |
33496 | <method name="GetCornerRadius" type="double" overloaded="no"> | |
781d2982 | 33497 | <autodoc>GetCornerRadius(self) -> double</autodoc> |
f32fc4bc RD |
33498 | </method> |
33499 | <method name="base_OnDelete" type="" overloaded="no"> | |
781d2982 | 33500 | <autodoc>base_OnDelete(self)</autodoc> |
f32fc4bc RD |
33501 | </method> |
33502 | <method name="base_OnDraw" type="" overloaded="no"> | |
781d2982 | 33503 | <autodoc>base_OnDraw(self, DC dc)</autodoc> |
f32fc4bc RD |
33504 | <paramlist> |
33505 | <param name="dc" type="DC" default=""/> | |
33506 | </paramlist> | |
33507 | </method> | |
33508 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
781d2982 | 33509 | <autodoc>base_OnDrawContents(self, DC dc)</autodoc> |
f32fc4bc RD |
33510 | <paramlist> |
33511 | <param name="dc" type="DC" default=""/> | |
33512 | </paramlist> | |
33513 | </method> | |
33514 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
781d2982 | 33515 | <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc> |
f32fc4bc RD |
33516 | <paramlist> |
33517 | <param name="dc" type="DC" default=""/> | |
33518 | <param name="erase" type="bool" default="FALSE"/> | |
33519 | </paramlist> | |
33520 | </method> | |
33521 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
781d2982 | 33522 | <autodoc>base_OnMoveLinks(self, DC dc)</autodoc> |
f32fc4bc RD |
33523 | <paramlist> |
33524 | <param name="dc" type="DC" default=""/> | |
33525 | </paramlist> | |
33526 | </method> | |
33527 | <method name="base_OnErase" type="" overloaded="no"> | |
781d2982 | 33528 | <autodoc>base_OnErase(self, DC dc)</autodoc> |
f32fc4bc RD |
33529 | <paramlist> |
33530 | <param name="dc" type="DC" default=""/> | |
33531 | </paramlist> | |
33532 | </method> | |
33533 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
781d2982 | 33534 | <autodoc>base_OnEraseContents(self, DC dc)</autodoc> |
f32fc4bc RD |
33535 | <paramlist> |
33536 | <param name="dc" type="DC" default=""/> | |
33537 | </paramlist> | |
33538 | </method> | |
33539 | <method name="base_OnHighlight" type="" overloaded="no"> | |
781d2982 | 33540 | <autodoc>base_OnHighlight(self, DC dc)</autodoc> |
f32fc4bc RD |
33541 | <paramlist> |
33542 | <param name="dc" type="DC" default=""/> | |
33543 | </paramlist> | |
33544 | </method> | |
33545 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
781d2982 | 33546 | <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33547 | <paramlist> |
33548 | <param name="x" type="double" default=""/> | |
33549 | <param name="y" type="double" default=""/> | |
33550 | <param name="keys" type="int" default="0"/> | |
33551 | <param name="attachment" type="int" default="0"/> | |
33552 | </paramlist> | |
33553 | </method> | |
33554 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
781d2982 | 33555 | <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33556 | <paramlist> |
33557 | <param name="x" type="double" default=""/> | |
33558 | <param name="y" type="double" default=""/> | |
33559 | <param name="keys" type="int" default="0"/> | |
33560 | <param name="attachment" type="int" default="0"/> | |
33561 | </paramlist> | |
33562 | </method> | |
33563 | <method name="base_OnRightClick" type="" overloaded="no"> | |
781d2982 | 33564 | <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33565 | <paramlist> |
33566 | <param name="x" type="double" default=""/> | |
33567 | <param name="y" type="double" default=""/> | |
33568 | <param name="keys" type="int" default="0"/> | |
33569 | <param name="attachment" type="int" default="0"/> | |
33570 | </paramlist> | |
33571 | </method> | |
33572 | <method name="base_OnSize" type="" overloaded="no"> | |
781d2982 | 33573 | <autodoc>base_OnSize(self, double x, double y)</autodoc> |
f32fc4bc RD |
33574 | <paramlist> |
33575 | <param name="x" type="double" default=""/> | |
33576 | <param name="y" type="double" default=""/> | |
33577 | </paramlist> | |
33578 | </method> | |
33579 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
781d2982 | 33580 | <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
33581 | bool display=True) -> bool</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_OnMovePost" type="" overloaded="no"> | |
781d2982 | 33592 | <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
33593 | bool display=True)</autodoc> |
33594 | <paramlist> | |
33595 | <param name="dc" type="DC" default=""/> | |
33596 | <param name="x" type="double" default=""/> | |
33597 | <param name="y" type="double" default=""/> | |
33598 | <param name="old_x" type="double" default=""/> | |
33599 | <param name="old_y" type="double" default=""/> | |
33600 | <param name="display" type="bool" default="True"/> | |
33601 | </paramlist> | |
33602 | </method> | |
33603 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
781d2982 | 33604 | <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33605 | <paramlist> |
33606 | <param name="draw" type="bool" default=""/> | |
33607 | <param name="x" type="double" default=""/> | |
33608 | <param name="y" type="double" default=""/> | |
33609 | <param name="keys" type="int" default="0"/> | |
33610 | <param name="attachment" type="int" default="0"/> | |
33611 | </paramlist> | |
33612 | </method> | |
33613 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 33614 | <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33615 | <paramlist> |
33616 | <param name="x" type="double" default=""/> | |
33617 | <param name="y" type="double" default=""/> | |
33618 | <param name="keys" type="int" default="0"/> | |
33619 | <param name="attachment" type="int" default="0"/> | |
33620 | </paramlist> | |
33621 | </method> | |
33622 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
781d2982 | 33623 | <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33624 | <paramlist> |
33625 | <param name="x" type="double" default=""/> | |
33626 | <param name="y" type="double" default=""/> | |
33627 | <param name="keys" type="int" default="0"/> | |
33628 | <param name="attachment" type="int" default="0"/> | |
33629 | </paramlist> | |
33630 | </method> | |
33631 | <method name="base_OnDragRight" type="" overloaded="no"> | |
781d2982 | 33632 | <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33633 | <paramlist> |
33634 | <param name="draw" type="bool" default=""/> | |
33635 | <param name="x" type="double" default=""/> | |
33636 | <param name="y" type="double" default=""/> | |
33637 | <param name="keys" type="int" default="0"/> | |
33638 | <param name="attachment" type="int" default="0"/> | |
33639 | </paramlist> | |
33640 | </method> | |
33641 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
781d2982 | 33642 | <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33643 | <paramlist> |
33644 | <param name="x" type="double" default=""/> | |
33645 | <param name="y" type="double" default=""/> | |
33646 | <param name="keys" type="int" default="0"/> | |
33647 | <param name="attachment" type="int" default="0"/> | |
33648 | </paramlist> | |
33649 | </method> | |
33650 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
781d2982 | 33651 | <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33652 | <paramlist> |
33653 | <param name="x" type="double" default=""/> | |
33654 | <param name="y" type="double" default=""/> | |
33655 | <param name="keys" type="int" default="0"/> | |
33656 | <param name="attachment" type="int" default="0"/> | |
33657 | </paramlist> | |
33658 | </method> | |
33659 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
781d2982 | 33660 | <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc> |
f32fc4bc RD |
33661 | <paramlist> |
33662 | <param name="dc" type="DC" default=""/> | |
33663 | <param name="x" type="double" default=""/> | |
33664 | <param name="y" type="double" default=""/> | |
33665 | <param name="w" type="double" default=""/> | |
33666 | <param name="h" type="double" default=""/> | |
33667 | </paramlist> | |
33668 | </method> | |
33669 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
781d2982 | 33670 | <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
33671 | <paramlist> |
33672 | <param name="dc" type="DC" default=""/> | |
33673 | </paramlist> | |
33674 | </method> | |
33675 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
781d2982 | 33676 | <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
33677 | <paramlist> |
33678 | <param name="dc" type="DC" default=""/> | |
33679 | </paramlist> | |
33680 | </method> | |
33681 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
781d2982 | 33682 | <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc> |
f32fc4bc RD |
33683 | <paramlist> |
33684 | <param name="dc" type="DC" default=""/> | |
33685 | <param name="moveControlPoints" type="bool" default="True"/> | |
33686 | </paramlist> | |
33687 | </method> | |
33688 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
781d2982 | 33689 | <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, |
f32fc4bc RD |
33690 | int attachment=0)</autodoc> |
33691 | <paramlist> | |
33692 | <param name="pt" type="wxPyControlPoint" default=""/> | |
33693 | <param name="draw" type="bool" default=""/> | |
33694 | <param name="x" type="double" default=""/> | |
33695 | <param name="y" type="double" default=""/> | |
33696 | <param name="keys" type="int" default="0"/> | |
33697 | <param name="attachment" type="int" default="0"/> | |
33698 | </paramlist> | |
33699 | </method> | |
33700 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 33701 | <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
33702 | int attachment=0)</autodoc> |
33703 | <paramlist> | |
33704 | <param name="pt" type="wxPyControlPoint" default=""/> | |
33705 | <param name="x" type="double" default=""/> | |
33706 | <param name="y" type="double" default=""/> | |
33707 | <param name="keys" type="int" default="0"/> | |
33708 | <param name="attachment" type="int" default="0"/> | |
33709 | </paramlist> | |
33710 | </method> | |
33711 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
781d2982 | 33712 | <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
33713 | int attachment=0)</autodoc> |
33714 | <paramlist> | |
33715 | <param name="pt" type="wxPyControlPoint" default=""/> | |
33716 | <param name="x" type="double" default=""/> | |
33717 | <param name="y" type="double" default=""/> | |
33718 | <param name="keys" type="int" default="0"/> | |
33719 | <param name="attachment" type="int" default="0"/> | |
33720 | </paramlist> | |
33721 | </method> | |
33722 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
781d2982 | 33723 | <autodoc>base_OnBeginSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
33724 | <paramlist> |
33725 | <param name="w" type="double" default=""/> | |
33726 | <param name="h" type="double" default=""/> | |
33727 | </paramlist> | |
33728 | </method> | |
33729 | <method name="base_OnEndSize" type="" overloaded="no"> | |
781d2982 | 33730 | <autodoc>base_OnEndSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
33731 | <paramlist> |
33732 | <param name="w" type="double" default=""/> | |
33733 | <param name="h" type="double" default=""/> | |
33734 | </paramlist> | |
33735 | </method> | |
33736 | </class> | |
33737 | <class name="PyControlPoint" oldname="wxPyControlPoint" module="ogl"> | |
33738 | <baseclass name="PyRectangleShape"/> | |
33739 | <constructor name="PyControlPoint" overloaded="no"> | |
781d2982 | 33740 | <autodoc>__init__(self, PyShapeCanvas the_canvas=None, PyShape object=None, |
f32fc4bc RD |
33741 | double size=0.0, double the_xoffset=0.0, double the_yoffset=0.0, |
33742 | int the_type=0) -> PyControlPoint</autodoc> | |
33743 | <paramlist> | |
33744 | <param name="the_canvas" type="wxPyShapeCanvas" default="NULL"/> | |
33745 | <param name="object" type="PyShape" default="NULL"/> | |
33746 | <param name="size" type="double" default="0.0"/> | |
33747 | <param name="the_xoffset" type="double" default="0.0"/> | |
33748 | <param name="the_yoffset" type="double" default="0.0"/> | |
33749 | <param name="the_type" type="int" default="0"/> | |
33750 | </paramlist> | |
33751 | </constructor> | |
33752 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 33753 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
33754 | <paramlist> |
33755 | <param name="self" type="PyObject" default=""/> | |
33756 | <param name="_class" type="PyObject" default=""/> | |
33757 | </paramlist> | |
33758 | </method> | |
33759 | <method name="SetCornerRadius" type="" overloaded="no"> | |
781d2982 | 33760 | <autodoc>SetCornerRadius(self, double radius)</autodoc> |
f32fc4bc RD |
33761 | <paramlist> |
33762 | <param name="radius" type="double" default=""/> | |
33763 | </paramlist> | |
33764 | </method> | |
33765 | <method name="base_OnDelete" type="" overloaded="no"> | |
781d2982 | 33766 | <autodoc>base_OnDelete(self)</autodoc> |
f32fc4bc RD |
33767 | </method> |
33768 | <method name="base_OnDraw" type="" overloaded="no"> | |
781d2982 | 33769 | <autodoc>base_OnDraw(self, DC dc)</autodoc> |
f32fc4bc RD |
33770 | <paramlist> |
33771 | <param name="dc" type="DC" default=""/> | |
33772 | </paramlist> | |
33773 | </method> | |
33774 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
781d2982 | 33775 | <autodoc>base_OnDrawContents(self, DC dc)</autodoc> |
f32fc4bc RD |
33776 | <paramlist> |
33777 | <param name="dc" type="DC" default=""/> | |
33778 | </paramlist> | |
33779 | </method> | |
33780 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
781d2982 | 33781 | <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc> |
f32fc4bc RD |
33782 | <paramlist> |
33783 | <param name="dc" type="DC" default=""/> | |
33784 | <param name="erase" type="bool" default="FALSE"/> | |
33785 | </paramlist> | |
33786 | </method> | |
33787 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
781d2982 | 33788 | <autodoc>base_OnMoveLinks(self, DC dc)</autodoc> |
f32fc4bc RD |
33789 | <paramlist> |
33790 | <param name="dc" type="DC" default=""/> | |
33791 | </paramlist> | |
33792 | </method> | |
33793 | <method name="base_OnErase" type="" overloaded="no"> | |
781d2982 | 33794 | <autodoc>base_OnErase(self, DC dc)</autodoc> |
f32fc4bc RD |
33795 | <paramlist> |
33796 | <param name="dc" type="DC" default=""/> | |
33797 | </paramlist> | |
33798 | </method> | |
33799 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
781d2982 | 33800 | <autodoc>base_OnEraseContents(self, DC dc)</autodoc> |
f32fc4bc RD |
33801 | <paramlist> |
33802 | <param name="dc" type="DC" default=""/> | |
33803 | </paramlist> | |
33804 | </method> | |
33805 | <method name="base_OnHighlight" type="" overloaded="no"> | |
781d2982 | 33806 | <autodoc>base_OnHighlight(self, DC dc)</autodoc> |
f32fc4bc RD |
33807 | <paramlist> |
33808 | <param name="dc" type="DC" default=""/> | |
33809 | </paramlist> | |
33810 | </method> | |
33811 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
781d2982 | 33812 | <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33813 | <paramlist> |
33814 | <param name="x" type="double" default=""/> | |
33815 | <param name="y" type="double" default=""/> | |
33816 | <param name="keys" type="int" default="0"/> | |
33817 | <param name="attachment" type="int" default="0"/> | |
33818 | </paramlist> | |
33819 | </method> | |
33820 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
781d2982 | 33821 | <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33822 | <paramlist> |
33823 | <param name="x" type="double" default=""/> | |
33824 | <param name="y" type="double" default=""/> | |
33825 | <param name="keys" type="int" default="0"/> | |
33826 | <param name="attachment" type="int" default="0"/> | |
33827 | </paramlist> | |
33828 | </method> | |
33829 | <method name="base_OnRightClick" type="" overloaded="no"> | |
781d2982 | 33830 | <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33831 | <paramlist> |
33832 | <param name="x" type="double" default=""/> | |
33833 | <param name="y" type="double" default=""/> | |
33834 | <param name="keys" type="int" default="0"/> | |
33835 | <param name="attachment" type="int" default="0"/> | |
33836 | </paramlist> | |
33837 | </method> | |
33838 | <method name="base_OnSize" type="" overloaded="no"> | |
781d2982 | 33839 | <autodoc>base_OnSize(self, double x, double y)</autodoc> |
f32fc4bc RD |
33840 | <paramlist> |
33841 | <param name="x" type="double" default=""/> | |
33842 | <param name="y" type="double" default=""/> | |
33843 | </paramlist> | |
33844 | </method> | |
33845 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
781d2982 | 33846 | <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
33847 | bool display=True) -> bool</autodoc> |
33848 | <paramlist> | |
33849 | <param name="dc" type="DC" default=""/> | |
33850 | <param name="x" type="double" default=""/> | |
33851 | <param name="y" type="double" default=""/> | |
33852 | <param name="old_x" type="double" default=""/> | |
33853 | <param name="old_y" type="double" default=""/> | |
33854 | <param name="display" type="bool" default="True"/> | |
33855 | </paramlist> | |
33856 | </method> | |
33857 | <method name="base_OnMovePost" type="" overloaded="no"> | |
781d2982 | 33858 | <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
33859 | bool display=True)</autodoc> |
33860 | <paramlist> | |
33861 | <param name="dc" type="DC" default=""/> | |
33862 | <param name="x" type="double" default=""/> | |
33863 | <param name="y" type="double" default=""/> | |
33864 | <param name="old_x" type="double" default=""/> | |
33865 | <param name="old_y" type="double" default=""/> | |
33866 | <param name="display" type="bool" default="True"/> | |
33867 | </paramlist> | |
33868 | </method> | |
33869 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
781d2982 | 33870 | <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33871 | <paramlist> |
33872 | <param name="draw" type="bool" default=""/> | |
33873 | <param name="x" type="double" default=""/> | |
33874 | <param name="y" type="double" default=""/> | |
33875 | <param name="keys" type="int" default="0"/> | |
33876 | <param name="attachment" type="int" default="0"/> | |
33877 | </paramlist> | |
33878 | </method> | |
33879 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 33880 | <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33881 | <paramlist> |
33882 | <param name="x" type="double" default=""/> | |
33883 | <param name="y" type="double" default=""/> | |
33884 | <param name="keys" type="int" default="0"/> | |
33885 | <param name="attachment" type="int" default="0"/> | |
33886 | </paramlist> | |
33887 | </method> | |
33888 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
781d2982 | 33889 | <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33890 | <paramlist> |
33891 | <param name="x" type="double" default=""/> | |
33892 | <param name="y" type="double" default=""/> | |
33893 | <param name="keys" type="int" default="0"/> | |
33894 | <param name="attachment" type="int" default="0"/> | |
33895 | </paramlist> | |
33896 | </method> | |
33897 | <method name="base_OnDragRight" type="" overloaded="no"> | |
781d2982 | 33898 | <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33899 | <paramlist> |
33900 | <param name="draw" type="bool" default=""/> | |
33901 | <param name="x" type="double" default=""/> | |
33902 | <param name="y" type="double" default=""/> | |
33903 | <param name="keys" type="int" default="0"/> | |
33904 | <param name="attachment" type="int" default="0"/> | |
33905 | </paramlist> | |
33906 | </method> | |
33907 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
781d2982 | 33908 | <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33909 | <paramlist> |
33910 | <param name="x" type="double" default=""/> | |
33911 | <param name="y" type="double" default=""/> | |
33912 | <param name="keys" type="int" default="0"/> | |
33913 | <param name="attachment" type="int" default="0"/> | |
33914 | </paramlist> | |
33915 | </method> | |
33916 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
781d2982 | 33917 | <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
33918 | <paramlist> |
33919 | <param name="x" type="double" default=""/> | |
33920 | <param name="y" type="double" default=""/> | |
33921 | <param name="keys" type="int" default="0"/> | |
33922 | <param name="attachment" type="int" default="0"/> | |
33923 | </paramlist> | |
33924 | </method> | |
33925 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
781d2982 | 33926 | <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc> |
f32fc4bc RD |
33927 | <paramlist> |
33928 | <param name="dc" type="DC" default=""/> | |
33929 | <param name="x" type="double" default=""/> | |
33930 | <param name="y" type="double" default=""/> | |
33931 | <param name="w" type="double" default=""/> | |
33932 | <param name="h" type="double" default=""/> | |
33933 | </paramlist> | |
33934 | </method> | |
33935 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
781d2982 | 33936 | <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
33937 | <paramlist> |
33938 | <param name="dc" type="DC" default=""/> | |
33939 | </paramlist> | |
33940 | </method> | |
33941 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
781d2982 | 33942 | <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
33943 | <paramlist> |
33944 | <param name="dc" type="DC" default=""/> | |
33945 | </paramlist> | |
33946 | </method> | |
33947 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
781d2982 | 33948 | <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc> |
f32fc4bc RD |
33949 | <paramlist> |
33950 | <param name="dc" type="DC" default=""/> | |
33951 | <param name="moveControlPoints" type="bool" default="True"/> | |
33952 | </paramlist> | |
33953 | </method> | |
33954 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
781d2982 | 33955 | <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, |
f32fc4bc RD |
33956 | int attachment=0)</autodoc> |
33957 | <paramlist> | |
33958 | <param name="pt" type="PyControlPoint" default=""/> | |
33959 | <param name="draw" type="bool" default=""/> | |
33960 | <param name="x" type="double" default=""/> | |
33961 | <param name="y" type="double" default=""/> | |
33962 | <param name="keys" type="int" default="0"/> | |
33963 | <param name="attachment" type="int" default="0"/> | |
33964 | </paramlist> | |
33965 | </method> | |
33966 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 33967 | <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
33968 | int attachment=0)</autodoc> |
33969 | <paramlist> | |
33970 | <param name="pt" type="PyControlPoint" default=""/> | |
33971 | <param name="x" type="double" default=""/> | |
33972 | <param name="y" type="double" default=""/> | |
33973 | <param name="keys" type="int" default="0"/> | |
33974 | <param name="attachment" type="int" default="0"/> | |
33975 | </paramlist> | |
33976 | </method> | |
33977 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
781d2982 | 33978 | <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
33979 | int attachment=0)</autodoc> |
33980 | <paramlist> | |
33981 | <param name="pt" type="PyControlPoint" default=""/> | |
33982 | <param name="x" type="double" default=""/> | |
33983 | <param name="y" type="double" default=""/> | |
33984 | <param name="keys" type="int" default="0"/> | |
33985 | <param name="attachment" type="int" default="0"/> | |
33986 | </paramlist> | |
33987 | </method> | |
33988 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
781d2982 | 33989 | <autodoc>base_OnBeginSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
33990 | <paramlist> |
33991 | <param name="w" type="double" default=""/> | |
33992 | <param name="h" type="double" default=""/> | |
33993 | </paramlist> | |
33994 | </method> | |
33995 | <method name="base_OnEndSize" type="" overloaded="no"> | |
781d2982 | 33996 | <autodoc>base_OnEndSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
33997 | <paramlist> |
33998 | <param name="w" type="double" default=""/> | |
33999 | <param name="h" type="double" default=""/> | |
34000 | </paramlist> | |
34001 | </method> | |
34002 | </class> | |
34003 | <class name="PyBitmapShape" oldname="wxPyBitmapShape" module="ogl"> | |
34004 | <baseclass name="PyRectangleShape"/> | |
34005 | <constructor name="PyBitmapShape" overloaded="no"> | |
781d2982 | 34006 | <autodoc>__init__(self) -> PyBitmapShape</autodoc> |
f32fc4bc RD |
34007 | </constructor> |
34008 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 34009 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
34010 | <paramlist> |
34011 | <param name="self" type="PyObject" default=""/> | |
34012 | <param name="_class" type="PyObject" default=""/> | |
34013 | </paramlist> | |
34014 | </method> | |
34015 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
781d2982 | 34016 | <autodoc>GetBitmap(self) -> Bitmap</autodoc> |
f32fc4bc RD |
34017 | </method> |
34018 | <method name="GetFilename" type="String" overloaded="no"> | |
781d2982 | 34019 | <autodoc>GetFilename(self) -> String</autodoc> |
f32fc4bc RD |
34020 | </method> |
34021 | <method name="SetBitmap" type="" overloaded="no"> | |
781d2982 | 34022 | <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc> |
f32fc4bc RD |
34023 | <paramlist> |
34024 | <param name="bitmap" type="Bitmap" default=""/> | |
34025 | </paramlist> | |
34026 | </method> | |
34027 | <method name="SetFilename" type="" overloaded="no"> | |
781d2982 | 34028 | <autodoc>SetFilename(self, String filename)</autodoc> |
f32fc4bc RD |
34029 | <paramlist> |
34030 | <param name="filename" type="String" default=""/> | |
34031 | </paramlist> | |
34032 | </method> | |
34033 | <method name="base_OnDelete" type="" overloaded="no"> | |
781d2982 | 34034 | <autodoc>base_OnDelete(self)</autodoc> |
f32fc4bc RD |
34035 | </method> |
34036 | <method name="base_OnDraw" type="" overloaded="no"> | |
781d2982 | 34037 | <autodoc>base_OnDraw(self, DC dc)</autodoc> |
f32fc4bc RD |
34038 | <paramlist> |
34039 | <param name="dc" type="DC" default=""/> | |
34040 | </paramlist> | |
34041 | </method> | |
34042 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
781d2982 | 34043 | <autodoc>base_OnDrawContents(self, DC dc)</autodoc> |
f32fc4bc RD |
34044 | <paramlist> |
34045 | <param name="dc" type="DC" default=""/> | |
34046 | </paramlist> | |
34047 | </method> | |
34048 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
781d2982 | 34049 | <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc> |
f32fc4bc RD |
34050 | <paramlist> |
34051 | <param name="dc" type="DC" default=""/> | |
34052 | <param name="erase" type="bool" default="FALSE"/> | |
34053 | </paramlist> | |
34054 | </method> | |
34055 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
781d2982 | 34056 | <autodoc>base_OnMoveLinks(self, DC dc)</autodoc> |
f32fc4bc RD |
34057 | <paramlist> |
34058 | <param name="dc" type="DC" default=""/> | |
34059 | </paramlist> | |
34060 | </method> | |
34061 | <method name="base_OnErase" type="" overloaded="no"> | |
781d2982 | 34062 | <autodoc>base_OnErase(self, DC dc)</autodoc> |
f32fc4bc RD |
34063 | <paramlist> |
34064 | <param name="dc" type="DC" default=""/> | |
34065 | </paramlist> | |
34066 | </method> | |
34067 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
781d2982 | 34068 | <autodoc>base_OnEraseContents(self, DC dc)</autodoc> |
f32fc4bc RD |
34069 | <paramlist> |
34070 | <param name="dc" type="DC" default=""/> | |
34071 | </paramlist> | |
34072 | </method> | |
34073 | <method name="base_OnHighlight" type="" overloaded="no"> | |
781d2982 | 34074 | <autodoc>base_OnHighlight(self, DC dc)</autodoc> |
f32fc4bc RD |
34075 | <paramlist> |
34076 | <param name="dc" type="DC" default=""/> | |
34077 | </paramlist> | |
34078 | </method> | |
34079 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
781d2982 | 34080 | <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34081 | <paramlist> |
34082 | <param name="x" type="double" default=""/> | |
34083 | <param name="y" type="double" default=""/> | |
34084 | <param name="keys" type="int" default="0"/> | |
34085 | <param name="attachment" type="int" default="0"/> | |
34086 | </paramlist> | |
34087 | </method> | |
34088 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
781d2982 | 34089 | <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34090 | <paramlist> |
34091 | <param name="x" type="double" default=""/> | |
34092 | <param name="y" type="double" default=""/> | |
34093 | <param name="keys" type="int" default="0"/> | |
34094 | <param name="attachment" type="int" default="0"/> | |
34095 | </paramlist> | |
34096 | </method> | |
34097 | <method name="base_OnRightClick" type="" overloaded="no"> | |
781d2982 | 34098 | <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34099 | <paramlist> |
34100 | <param name="x" type="double" default=""/> | |
34101 | <param name="y" type="double" default=""/> | |
34102 | <param name="keys" type="int" default="0"/> | |
34103 | <param name="attachment" type="int" default="0"/> | |
34104 | </paramlist> | |
34105 | </method> | |
34106 | <method name="base_OnSize" type="" overloaded="no"> | |
781d2982 | 34107 | <autodoc>base_OnSize(self, double x, double y)</autodoc> |
f32fc4bc RD |
34108 | <paramlist> |
34109 | <param name="x" type="double" default=""/> | |
34110 | <param name="y" type="double" default=""/> | |
34111 | </paramlist> | |
34112 | </method> | |
34113 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
781d2982 | 34114 | <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
34115 | bool display=True) -> bool</autodoc> |
34116 | <paramlist> | |
34117 | <param name="dc" type="DC" default=""/> | |
34118 | <param name="x" type="double" default=""/> | |
34119 | <param name="y" type="double" default=""/> | |
34120 | <param name="old_x" type="double" default=""/> | |
34121 | <param name="old_y" type="double" default=""/> | |
34122 | <param name="display" type="bool" default="True"/> | |
34123 | </paramlist> | |
34124 | </method> | |
34125 | <method name="base_OnMovePost" type="" overloaded="no"> | |
781d2982 | 34126 | <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
34127 | bool display=True)</autodoc> |
34128 | <paramlist> | |
34129 | <param name="dc" type="DC" default=""/> | |
34130 | <param name="x" type="double" default=""/> | |
34131 | <param name="y" type="double" default=""/> | |
34132 | <param name="old_x" type="double" default=""/> | |
34133 | <param name="old_y" type="double" default=""/> | |
34134 | <param name="display" type="bool" default="True"/> | |
34135 | </paramlist> | |
34136 | </method> | |
34137 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
781d2982 | 34138 | <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34139 | <paramlist> |
34140 | <param name="draw" type="bool" default=""/> | |
34141 | <param name="x" type="double" default=""/> | |
34142 | <param name="y" type="double" default=""/> | |
34143 | <param name="keys" type="int" default="0"/> | |
34144 | <param name="attachment" type="int" default="0"/> | |
34145 | </paramlist> | |
34146 | </method> | |
34147 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 34148 | <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34149 | <paramlist> |
34150 | <param name="x" type="double" default=""/> | |
34151 | <param name="y" type="double" default=""/> | |
34152 | <param name="keys" type="int" default="0"/> | |
34153 | <param name="attachment" type="int" default="0"/> | |
34154 | </paramlist> | |
34155 | </method> | |
34156 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
781d2982 | 34157 | <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34158 | <paramlist> |
34159 | <param name="x" type="double" default=""/> | |
34160 | <param name="y" type="double" default=""/> | |
34161 | <param name="keys" type="int" default="0"/> | |
34162 | <param name="attachment" type="int" default="0"/> | |
34163 | </paramlist> | |
34164 | </method> | |
34165 | <method name="base_OnDragRight" type="" overloaded="no"> | |
781d2982 | 34166 | <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34167 | <paramlist> |
34168 | <param name="draw" type="bool" default=""/> | |
34169 | <param name="x" type="double" default=""/> | |
34170 | <param name="y" type="double" default=""/> | |
34171 | <param name="keys" type="int" default="0"/> | |
34172 | <param name="attachment" type="int" default="0"/> | |
34173 | </paramlist> | |
34174 | </method> | |
34175 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
781d2982 | 34176 | <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34177 | <paramlist> |
34178 | <param name="x" type="double" default=""/> | |
34179 | <param name="y" type="double" default=""/> | |
34180 | <param name="keys" type="int" default="0"/> | |
34181 | <param name="attachment" type="int" default="0"/> | |
34182 | </paramlist> | |
34183 | </method> | |
34184 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
781d2982 | 34185 | <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34186 | <paramlist> |
34187 | <param name="x" type="double" default=""/> | |
34188 | <param name="y" type="double" default=""/> | |
34189 | <param name="keys" type="int" default="0"/> | |
34190 | <param name="attachment" type="int" default="0"/> | |
34191 | </paramlist> | |
34192 | </method> | |
34193 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
781d2982 | 34194 | <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc> |
f32fc4bc RD |
34195 | <paramlist> |
34196 | <param name="dc" type="DC" default=""/> | |
34197 | <param name="x" type="double" default=""/> | |
34198 | <param name="y" type="double" default=""/> | |
34199 | <param name="w" type="double" default=""/> | |
34200 | <param name="h" type="double" default=""/> | |
34201 | </paramlist> | |
34202 | </method> | |
34203 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
781d2982 | 34204 | <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
34205 | <paramlist> |
34206 | <param name="dc" type="DC" default=""/> | |
34207 | </paramlist> | |
34208 | </method> | |
34209 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
781d2982 | 34210 | <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
34211 | <paramlist> |
34212 | <param name="dc" type="DC" default=""/> | |
34213 | </paramlist> | |
34214 | </method> | |
34215 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
781d2982 | 34216 | <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc> |
f32fc4bc RD |
34217 | <paramlist> |
34218 | <param name="dc" type="DC" default=""/> | |
34219 | <param name="moveControlPoints" type="bool" default="True"/> | |
34220 | </paramlist> | |
34221 | </method> | |
34222 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
781d2982 | 34223 | <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, |
f32fc4bc RD |
34224 | int attachment=0)</autodoc> |
34225 | <paramlist> | |
34226 | <param name="pt" type="PyControlPoint" default=""/> | |
34227 | <param name="draw" type="bool" default=""/> | |
34228 | <param name="x" type="double" default=""/> | |
34229 | <param name="y" type="double" default=""/> | |
34230 | <param name="keys" type="int" default="0"/> | |
34231 | <param name="attachment" type="int" default="0"/> | |
34232 | </paramlist> | |
34233 | </method> | |
34234 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 34235 | <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
34236 | int attachment=0)</autodoc> |
34237 | <paramlist> | |
34238 | <param name="pt" type="PyControlPoint" default=""/> | |
34239 | <param name="x" type="double" default=""/> | |
34240 | <param name="y" type="double" default=""/> | |
34241 | <param name="keys" type="int" default="0"/> | |
34242 | <param name="attachment" type="int" default="0"/> | |
34243 | </paramlist> | |
34244 | </method> | |
34245 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
781d2982 | 34246 | <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
34247 | int attachment=0)</autodoc> |
34248 | <paramlist> | |
34249 | <param name="pt" type="PyControlPoint" default=""/> | |
34250 | <param name="x" type="double" default=""/> | |
34251 | <param name="y" type="double" default=""/> | |
34252 | <param name="keys" type="int" default="0"/> | |
34253 | <param name="attachment" type="int" default="0"/> | |
34254 | </paramlist> | |
34255 | </method> | |
34256 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
781d2982 | 34257 | <autodoc>base_OnBeginSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
34258 | <paramlist> |
34259 | <param name="w" type="double" default=""/> | |
34260 | <param name="h" type="double" default=""/> | |
34261 | </paramlist> | |
34262 | </method> | |
34263 | <method name="base_OnEndSize" type="" overloaded="no"> | |
781d2982 | 34264 | <autodoc>base_OnEndSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
34265 | <paramlist> |
34266 | <param name="w" type="double" default=""/> | |
34267 | <param name="h" type="double" default=""/> | |
34268 | </paramlist> | |
34269 | </method> | |
34270 | </class> | |
34271 | <class name="PyDrawnShape" oldname="wxPyDrawnShape" module="ogl"> | |
34272 | <baseclass name="PyRectangleShape"/> | |
34273 | <constructor name="PyDrawnShape" overloaded="no"> | |
781d2982 | 34274 | <autodoc>__init__(self) -> PyDrawnShape</autodoc> |
f32fc4bc RD |
34275 | </constructor> |
34276 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 34277 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
34278 | <paramlist> |
34279 | <param name="self" type="PyObject" default=""/> | |
34280 | <param name="_class" type="PyObject" default=""/> | |
34281 | </paramlist> | |
34282 | </method> | |
34283 | <method name="CalculateSize" type="" overloaded="no"> | |
781d2982 | 34284 | <autodoc>CalculateSize(self)</autodoc> |
f32fc4bc RD |
34285 | </method> |
34286 | <method name="DestroyClippingRect" type="" overloaded="no"> | |
781d2982 | 34287 | <autodoc>DestroyClippingRect(self)</autodoc> |
f32fc4bc RD |
34288 | </method> |
34289 | <method name="DrawArc" type="" overloaded="no"> | |
781d2982 | 34290 | <autodoc>DrawArc(self, Point centrePoint, Point startPoint, Point endPoint)</autodoc> |
f32fc4bc RD |
34291 | <paramlist> |
34292 | <param name="centrePoint" type="Point" default=""/> | |
34293 | <param name="startPoint" type="Point" default=""/> | |
34294 | <param name="endPoint" type="Point" default=""/> | |
34295 | </paramlist> | |
34296 | </method> | |
34297 | <method name="DrawAtAngle" type="" overloaded="no"> | |
781d2982 | 34298 | <autodoc>DrawAtAngle(self, int angle)</autodoc> |
f32fc4bc RD |
34299 | <paramlist> |
34300 | <param name="angle" type="int" default=""/> | |
34301 | </paramlist> | |
34302 | </method> | |
34303 | <method name="DrawEllipticArc" type="" overloaded="no"> | |
781d2982 | 34304 | <autodoc>DrawEllipticArc(self, Rect rect, double startAngle, double endAngle)</autodoc> |
f32fc4bc RD |
34305 | <paramlist> |
34306 | <param name="rect" type="Rect" default=""/> | |
34307 | <param name="startAngle" type="double" default=""/> | |
34308 | <param name="endAngle" type="double" default=""/> | |
34309 | </paramlist> | |
34310 | </method> | |
34311 | <method name="DrawLine" type="" overloaded="no"> | |
781d2982 | 34312 | <autodoc>DrawLine(self, Point point1, Point point2)</autodoc> |
f32fc4bc RD |
34313 | <paramlist> |
34314 | <param name="point1" type="Point" default=""/> | |
34315 | <param name="point2" type="Point" default=""/> | |
34316 | </paramlist> | |
34317 | </method> | |
34318 | <method name="DrawLines" type="" overloaded="no"> | |
781d2982 | 34319 | <autodoc>DrawLines(self, int points, Point points_array)</autodoc> |
f32fc4bc | 34320 | <paramlist> |
781d2982 RD |
34321 | <param name="points" type="int" default=""/> |
34322 | <param name="points_array" type="Point" default=""/> | |
f32fc4bc RD |
34323 | </paramlist> |
34324 | </method> | |
34325 | <method name="DrawPoint" type="" overloaded="no"> | |
781d2982 | 34326 | <autodoc>DrawPoint(self, Point point)</autodoc> |
f32fc4bc RD |
34327 | <paramlist> |
34328 | <param name="point" type="Point" default=""/> | |
34329 | </paramlist> | |
34330 | </method> | |
34331 | <method name="DrawPolygon" type="" overloaded="no"> | |
781d2982 | 34332 | <autodoc>DrawPolygon(self, int points, Point points_array, int flags=0)</autodoc> |
f32fc4bc | 34333 | <paramlist> |
781d2982 RD |
34334 | <param name="points" type="int" default=""/> |
34335 | <param name="points_array" type="Point" default=""/> | |
f32fc4bc RD |
34336 | <param name="flags" type="int" default="0"/> |
34337 | </paramlist> | |
34338 | </method> | |
34339 | <method name="DrawRectangle" type="" overloaded="no"> | |
781d2982 | 34340 | <autodoc>DrawRectangle(self, Rect rect)</autodoc> |
f32fc4bc RD |
34341 | <paramlist> |
34342 | <param name="rect" type="Rect" default=""/> | |
34343 | </paramlist> | |
34344 | </method> | |
34345 | <method name="DrawRoundedRectangle" type="" overloaded="no"> | |
781d2982 | 34346 | <autodoc>DrawRoundedRectangle(self, Rect rect, double radius)</autodoc> |
f32fc4bc RD |
34347 | <paramlist> |
34348 | <param name="rect" type="Rect" default=""/> | |
34349 | <param name="radius" type="double" default=""/> | |
34350 | </paramlist> | |
34351 | </method> | |
34352 | <method name="DrawSpline" type="" overloaded="no"> | |
781d2982 | 34353 | <autodoc>DrawSpline(self, int points, Point points_array)</autodoc> |
f32fc4bc | 34354 | <paramlist> |
781d2982 RD |
34355 | <param name="points" type="int" default=""/> |
34356 | <param name="points_array" type="Point" default=""/> | |
f32fc4bc RD |
34357 | </paramlist> |
34358 | </method> | |
34359 | <method name="DrawText" type="" overloaded="no"> | |
781d2982 | 34360 | <autodoc>DrawText(self, String text, Point point)</autodoc> |
f32fc4bc RD |
34361 | <paramlist> |
34362 | <param name="text" type="String" default=""/> | |
34363 | <param name="point" type="Point" default=""/> | |
34364 | </paramlist> | |
34365 | </method> | |
34366 | <method name="GetAngle" type="int" overloaded="no"> | |
781d2982 | 34367 | <autodoc>GetAngle(self) -> int</autodoc> |
f32fc4bc RD |
34368 | </method> |
34369 | <method name="GetMetaFile" type="PseudoMetaFile" overloaded="no"> | |
781d2982 | 34370 | <autodoc>GetMetaFile(self) -> PseudoMetaFile</autodoc> |
f32fc4bc RD |
34371 | </method> |
34372 | <method name="GetRotation" type="double" overloaded="no"> | |
781d2982 | 34373 | <autodoc>GetRotation(self) -> double</autodoc> |
f32fc4bc RD |
34374 | </method> |
34375 | <method name="LoadFromMetaFile" type="bool" overloaded="no"> | |
781d2982 | 34376 | <autodoc>LoadFromMetaFile(self, String filename) -> bool</autodoc> |
f32fc4bc RD |
34377 | <paramlist> |
34378 | <param name="filename" type="String" default=""/> | |
34379 | </paramlist> | |
34380 | </method> | |
34381 | <method name="Rotate" type="" overloaded="no"> | |
781d2982 | 34382 | <autodoc>Rotate(self, double x, double y, double theta)</autodoc> |
f32fc4bc RD |
34383 | <paramlist> |
34384 | <param name="x" type="double" default=""/> | |
34385 | <param name="y" type="double" default=""/> | |
34386 | <param name="theta" type="double" default=""/> | |
34387 | </paramlist> | |
34388 | </method> | |
34389 | <method name="SetClippingRect" type="" overloaded="no"> | |
781d2982 | 34390 | <autodoc>SetClippingRect(self, Rect rect)</autodoc> |
f32fc4bc RD |
34391 | <paramlist> |
34392 | <param name="rect" type="Rect" default=""/> | |
34393 | </paramlist> | |
34394 | </method> | |
34395 | <method name="SetDrawnBackgroundColour" type="" overloaded="no"> | |
781d2982 | 34396 | <autodoc>SetDrawnBackgroundColour(self, Colour colour)</autodoc> |
f32fc4bc RD |
34397 | <paramlist> |
34398 | <param name="colour" type="Colour" default=""/> | |
34399 | </paramlist> | |
34400 | </method> | |
34401 | <method name="SetDrawnBackgroundMode" type="" overloaded="no"> | |
781d2982 | 34402 | <autodoc>SetDrawnBackgroundMode(self, int mode)</autodoc> |
f32fc4bc RD |
34403 | <paramlist> |
34404 | <param name="mode" type="int" default=""/> | |
34405 | </paramlist> | |
34406 | </method> | |
34407 | <method name="SetDrawnBrush" type="" overloaded="no"> | |
781d2982 | 34408 | <autodoc>SetDrawnBrush(self, wxBrush pen, bool isOutline=FALSE)</autodoc> |
f32fc4bc RD |
34409 | <paramlist> |
34410 | <param name="pen" type="Brush" default=""/> | |
34411 | <param name="isOutline" type="bool" default="FALSE"/> | |
34412 | </paramlist> | |
34413 | </method> | |
34414 | <method name="SetDrawnFont" type="" overloaded="no"> | |
781d2982 | 34415 | <autodoc>SetDrawnFont(self, Font font)</autodoc> |
f32fc4bc RD |
34416 | <paramlist> |
34417 | <param name="font" type="Font" default=""/> | |
34418 | </paramlist> | |
34419 | </method> | |
34420 | <method name="SetDrawnPen" type="" overloaded="no"> | |
781d2982 | 34421 | <autodoc>SetDrawnPen(self, wxPen pen, bool isOutline=FALSE)</autodoc> |
f32fc4bc RD |
34422 | <paramlist> |
34423 | <param name="pen" type="Pen" default=""/> | |
34424 | <param name="isOutline" type="bool" default="FALSE"/> | |
34425 | </paramlist> | |
34426 | </method> | |
34427 | <method name="SetDrawnTextColour" type="" overloaded="no"> | |
781d2982 | 34428 | <autodoc>SetDrawnTextColour(self, Colour colour)</autodoc> |
f32fc4bc RD |
34429 | <paramlist> |
34430 | <param name="colour" type="Colour" default=""/> | |
34431 | </paramlist> | |
34432 | </method> | |
34433 | <method name="Scale" type="" overloaded="no"> | |
781d2982 | 34434 | <autodoc>Scale(self, double sx, double sy)</autodoc> |
f32fc4bc RD |
34435 | <paramlist> |
34436 | <param name="sx" type="double" default=""/> | |
34437 | <param name="sy" type="double" default=""/> | |
34438 | </paramlist> | |
34439 | </method> | |
34440 | <method name="SetSaveToFile" type="" overloaded="no"> | |
781d2982 | 34441 | <autodoc>SetSaveToFile(self, bool save)</autodoc> |
f32fc4bc RD |
34442 | <paramlist> |
34443 | <param name="save" type="bool" default=""/> | |
34444 | </paramlist> | |
34445 | </method> | |
34446 | <method name="Translate" type="" overloaded="no"> | |
781d2982 | 34447 | <autodoc>Translate(self, double x, double y)</autodoc> |
f32fc4bc RD |
34448 | <paramlist> |
34449 | <param name="x" type="double" default=""/> | |
34450 | <param name="y" type="double" default=""/> | |
34451 | </paramlist> | |
34452 | </method> | |
34453 | <method name="base_OnDelete" type="" overloaded="no"> | |
781d2982 | 34454 | <autodoc>base_OnDelete(self)</autodoc> |
f32fc4bc RD |
34455 | </method> |
34456 | <method name="base_OnDraw" type="" overloaded="no"> | |
781d2982 | 34457 | <autodoc>base_OnDraw(self, DC dc)</autodoc> |
f32fc4bc RD |
34458 | <paramlist> |
34459 | <param name="dc" type="DC" default=""/> | |
34460 | </paramlist> | |
34461 | </method> | |
34462 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
781d2982 | 34463 | <autodoc>base_OnDrawContents(self, DC dc)</autodoc> |
f32fc4bc RD |
34464 | <paramlist> |
34465 | <param name="dc" type="DC" default=""/> | |
34466 | </paramlist> | |
34467 | </method> | |
34468 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
781d2982 | 34469 | <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc> |
f32fc4bc RD |
34470 | <paramlist> |
34471 | <param name="dc" type="DC" default=""/> | |
34472 | <param name="erase" type="bool" default="FALSE"/> | |
34473 | </paramlist> | |
34474 | </method> | |
34475 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
781d2982 | 34476 | <autodoc>base_OnMoveLinks(self, DC dc)</autodoc> |
f32fc4bc RD |
34477 | <paramlist> |
34478 | <param name="dc" type="DC" default=""/> | |
34479 | </paramlist> | |
34480 | </method> | |
34481 | <method name="base_OnErase" type="" overloaded="no"> | |
781d2982 | 34482 | <autodoc>base_OnErase(self, DC dc)</autodoc> |
f32fc4bc RD |
34483 | <paramlist> |
34484 | <param name="dc" type="DC" default=""/> | |
34485 | </paramlist> | |
34486 | </method> | |
34487 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
781d2982 | 34488 | <autodoc>base_OnEraseContents(self, DC dc)</autodoc> |
f32fc4bc RD |
34489 | <paramlist> |
34490 | <param name="dc" type="DC" default=""/> | |
34491 | </paramlist> | |
34492 | </method> | |
34493 | <method name="base_OnHighlight" type="" overloaded="no"> | |
781d2982 | 34494 | <autodoc>base_OnHighlight(self, DC dc)</autodoc> |
f32fc4bc RD |
34495 | <paramlist> |
34496 | <param name="dc" type="DC" default=""/> | |
34497 | </paramlist> | |
34498 | </method> | |
34499 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
781d2982 | 34500 | <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34501 | <paramlist> |
34502 | <param name="x" type="double" default=""/> | |
34503 | <param name="y" type="double" default=""/> | |
34504 | <param name="keys" type="int" default="0"/> | |
34505 | <param name="attachment" type="int" default="0"/> | |
34506 | </paramlist> | |
34507 | </method> | |
34508 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
781d2982 | 34509 | <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34510 | <paramlist> |
34511 | <param name="x" type="double" default=""/> | |
34512 | <param name="y" type="double" default=""/> | |
34513 | <param name="keys" type="int" default="0"/> | |
34514 | <param name="attachment" type="int" default="0"/> | |
34515 | </paramlist> | |
34516 | </method> | |
34517 | <method name="base_OnRightClick" type="" overloaded="no"> | |
781d2982 | 34518 | <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34519 | <paramlist> |
34520 | <param name="x" type="double" default=""/> | |
34521 | <param name="y" type="double" default=""/> | |
34522 | <param name="keys" type="int" default="0"/> | |
34523 | <param name="attachment" type="int" default="0"/> | |
34524 | </paramlist> | |
34525 | </method> | |
34526 | <method name="base_OnSize" type="" overloaded="no"> | |
781d2982 | 34527 | <autodoc>base_OnSize(self, double x, double y)</autodoc> |
f32fc4bc RD |
34528 | <paramlist> |
34529 | <param name="x" type="double" default=""/> | |
34530 | <param name="y" type="double" default=""/> | |
34531 | </paramlist> | |
34532 | </method> | |
34533 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
781d2982 | 34534 | <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
34535 | bool display=True) -> bool</autodoc> |
34536 | <paramlist> | |
34537 | <param name="dc" type="DC" default=""/> | |
34538 | <param name="x" type="double" default=""/> | |
34539 | <param name="y" type="double" default=""/> | |
34540 | <param name="old_x" type="double" default=""/> | |
34541 | <param name="old_y" type="double" default=""/> | |
34542 | <param name="display" type="bool" default="True"/> | |
34543 | </paramlist> | |
34544 | </method> | |
34545 | <method name="base_OnMovePost" type="" overloaded="no"> | |
781d2982 | 34546 | <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
34547 | bool display=True)</autodoc> |
34548 | <paramlist> | |
34549 | <param name="dc" type="DC" default=""/> | |
34550 | <param name="x" type="double" default=""/> | |
34551 | <param name="y" type="double" default=""/> | |
34552 | <param name="old_x" type="double" default=""/> | |
34553 | <param name="old_y" type="double" default=""/> | |
34554 | <param name="display" type="bool" default="True"/> | |
34555 | </paramlist> | |
34556 | </method> | |
34557 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
781d2982 | 34558 | <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34559 | <paramlist> |
34560 | <param name="draw" type="bool" default=""/> | |
34561 | <param name="x" type="double" default=""/> | |
34562 | <param name="y" type="double" default=""/> | |
34563 | <param name="keys" type="int" default="0"/> | |
34564 | <param name="attachment" type="int" default="0"/> | |
34565 | </paramlist> | |
34566 | </method> | |
34567 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 34568 | <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34569 | <paramlist> |
34570 | <param name="x" type="double" default=""/> | |
34571 | <param name="y" type="double" default=""/> | |
34572 | <param name="keys" type="int" default="0"/> | |
34573 | <param name="attachment" type="int" default="0"/> | |
34574 | </paramlist> | |
34575 | </method> | |
34576 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
781d2982 | 34577 | <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34578 | <paramlist> |
34579 | <param name="x" type="double" default=""/> | |
34580 | <param name="y" type="double" default=""/> | |
34581 | <param name="keys" type="int" default="0"/> | |
34582 | <param name="attachment" type="int" default="0"/> | |
34583 | </paramlist> | |
34584 | </method> | |
34585 | <method name="base_OnDragRight" type="" overloaded="no"> | |
781d2982 | 34586 | <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34587 | <paramlist> |
34588 | <param name="draw" type="bool" default=""/> | |
34589 | <param name="x" type="double" default=""/> | |
34590 | <param name="y" type="double" default=""/> | |
34591 | <param name="keys" type="int" default="0"/> | |
34592 | <param name="attachment" type="int" default="0"/> | |
34593 | </paramlist> | |
34594 | </method> | |
34595 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
781d2982 | 34596 | <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34597 | <paramlist> |
34598 | <param name="x" type="double" default=""/> | |
34599 | <param name="y" type="double" default=""/> | |
34600 | <param name="keys" type="int" default="0"/> | |
34601 | <param name="attachment" type="int" default="0"/> | |
34602 | </paramlist> | |
34603 | </method> | |
34604 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
781d2982 | 34605 | <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34606 | <paramlist> |
34607 | <param name="x" type="double" default=""/> | |
34608 | <param name="y" type="double" default=""/> | |
34609 | <param name="keys" type="int" default="0"/> | |
34610 | <param name="attachment" type="int" default="0"/> | |
34611 | </paramlist> | |
34612 | </method> | |
34613 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
781d2982 | 34614 | <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc> |
f32fc4bc RD |
34615 | <paramlist> |
34616 | <param name="dc" type="DC" default=""/> | |
34617 | <param name="x" type="double" default=""/> | |
34618 | <param name="y" type="double" default=""/> | |
34619 | <param name="w" type="double" default=""/> | |
34620 | <param name="h" type="double" default=""/> | |
34621 | </paramlist> | |
34622 | </method> | |
34623 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
781d2982 | 34624 | <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
34625 | <paramlist> |
34626 | <param name="dc" type="DC" default=""/> | |
34627 | </paramlist> | |
34628 | </method> | |
34629 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
781d2982 | 34630 | <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
34631 | <paramlist> |
34632 | <param name="dc" type="DC" default=""/> | |
34633 | </paramlist> | |
34634 | </method> | |
34635 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
781d2982 | 34636 | <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc> |
f32fc4bc RD |
34637 | <paramlist> |
34638 | <param name="dc" type="DC" default=""/> | |
34639 | <param name="moveControlPoints" type="bool" default="True"/> | |
34640 | </paramlist> | |
34641 | </method> | |
34642 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
781d2982 | 34643 | <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, |
f32fc4bc RD |
34644 | int attachment=0)</autodoc> |
34645 | <paramlist> | |
34646 | <param name="pt" type="PyControlPoint" default=""/> | |
34647 | <param name="draw" type="bool" default=""/> | |
34648 | <param name="x" type="double" default=""/> | |
34649 | <param name="y" type="double" default=""/> | |
34650 | <param name="keys" type="int" default="0"/> | |
34651 | <param name="attachment" type="int" default="0"/> | |
34652 | </paramlist> | |
34653 | </method> | |
34654 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 34655 | <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
34656 | int attachment=0)</autodoc> |
34657 | <paramlist> | |
34658 | <param name="pt" type="PyControlPoint" default=""/> | |
34659 | <param name="x" type="double" default=""/> | |
34660 | <param name="y" type="double" default=""/> | |
34661 | <param name="keys" type="int" default="0"/> | |
34662 | <param name="attachment" type="int" default="0"/> | |
34663 | </paramlist> | |
34664 | </method> | |
34665 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
781d2982 | 34666 | <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
34667 | int attachment=0)</autodoc> |
34668 | <paramlist> | |
34669 | <param name="pt" type="PyControlPoint" default=""/> | |
34670 | <param name="x" type="double" default=""/> | |
34671 | <param name="y" type="double" default=""/> | |
34672 | <param name="keys" type="int" default="0"/> | |
34673 | <param name="attachment" type="int" default="0"/> | |
34674 | </paramlist> | |
34675 | </method> | |
34676 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
781d2982 | 34677 | <autodoc>base_OnBeginSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
34678 | <paramlist> |
34679 | <param name="w" type="double" default=""/> | |
34680 | <param name="h" type="double" default=""/> | |
34681 | </paramlist> | |
34682 | </method> | |
34683 | <method name="base_OnEndSize" type="" overloaded="no"> | |
781d2982 | 34684 | <autodoc>base_OnEndSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
34685 | <paramlist> |
34686 | <param name="w" type="double" default=""/> | |
34687 | <param name="h" type="double" default=""/> | |
34688 | </paramlist> | |
34689 | </method> | |
34690 | </class> | |
34691 | <class name="OGLConstraint" oldname="wxOGLConstraint" module="ogl"> | |
34692 | <baseclass name="Object"/> | |
34693 | <constructor name="OGLConstraint" overloaded="no"> | |
781d2982 | 34694 | <autodoc>__init__(self, int type, PyShape constraining, PyObject constrained) -> OGLConstraint</autodoc> |
f32fc4bc RD |
34695 | <paramlist> |
34696 | <param name="type" type="int" default=""/> | |
34697 | <param name="constraining" type="PyShape" default=""/> | |
34698 | <param name="constrained" type="PyObject" default=""/> | |
34699 | </paramlist> | |
34700 | </constructor> | |
34701 | <method name="Evaluate" type="bool" overloaded="no"> | |
781d2982 | 34702 | <autodoc>Evaluate(self) -> bool</autodoc> |
f32fc4bc RD |
34703 | </method> |
34704 | <method name="SetSpacing" type="" overloaded="no"> | |
781d2982 | 34705 | <autodoc>SetSpacing(self, double x, double y)</autodoc> |
f32fc4bc RD |
34706 | <paramlist> |
34707 | <param name="x" type="double" default=""/> | |
34708 | <param name="y" type="double" default=""/> | |
34709 | </paramlist> | |
34710 | </method> | |
34711 | <method name="Equals" type="bool" overloaded="no"> | |
781d2982 | 34712 | <autodoc>Equals(self, double a, double b) -> bool</autodoc> |
f32fc4bc RD |
34713 | <paramlist> |
34714 | <param name="a" type="double" default=""/> | |
34715 | <param name="b" type="double" default=""/> | |
34716 | </paramlist> | |
34717 | </method> | |
34718 | </class> | |
34719 | <class name="PyCompositeShape" oldname="wxPyCompositeShape" module="ogl"> | |
34720 | <baseclass name="PyRectangleShape"/> | |
34721 | <constructor name="PyCompositeShape" overloaded="no"> | |
781d2982 | 34722 | <autodoc>__init__(self) -> PyCompositeShape</autodoc> |
f32fc4bc RD |
34723 | </constructor> |
34724 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 34725 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
34726 | <paramlist> |
34727 | <param name="self" type="PyObject" default=""/> | |
34728 | <param name="_class" type="PyObject" default=""/> | |
34729 | </paramlist> | |
34730 | </method> | |
34731 | <method name="AddChild" type="" overloaded="no"> | |
781d2982 | 34732 | <autodoc>AddChild(self, PyShape child, PyShape addAfter=None)</autodoc> |
f32fc4bc RD |
34733 | <paramlist> |
34734 | <param name="child" type="PyShape" default=""/> | |
34735 | <param name="addAfter" type="PyShape" default="NULL"/> | |
34736 | </paramlist> | |
34737 | </method> | |
34738 | <method name="AddConstraint" type="OGLConstraint" overloaded="no"> | |
781d2982 | 34739 | <autodoc>AddConstraint(self, OGLConstraint constraint) -> OGLConstraint</autodoc> |
f32fc4bc RD |
34740 | <paramlist> |
34741 | <param name="constraint" type="OGLConstraint" default=""/> | |
34742 | </paramlist> | |
34743 | </method> | |
34744 | <method name="AddConstrainedShapes" type="OGLConstraint" overloaded="no"> | |
781d2982 | 34745 | <autodoc>AddConstrainedShapes(self, int type, PyShape constraining, PyObject constrained) -> OGLConstraint</autodoc> |
f32fc4bc RD |
34746 | <paramlist> |
34747 | <param name="type" type="int" default=""/> | |
34748 | <param name="constraining" type="PyShape" default=""/> | |
34749 | <param name="constrained" type="PyObject" default=""/> | |
34750 | </paramlist> | |
34751 | </method> | |
34752 | <method name="AddSimpleConstraint" type="OGLConstraint" overloaded="no"> | |
781d2982 | 34753 | <autodoc>AddSimpleConstraint(self, int type, PyShape constraining, PyShape constrained) -> OGLConstraint</autodoc> |
f32fc4bc RD |
34754 | <paramlist> |
34755 | <param name="type" type="int" default=""/> | |
34756 | <param name="constraining" type="PyShape" default=""/> | |
34757 | <param name="constrained" type="PyShape" default=""/> | |
34758 | </paramlist> | |
34759 | </method> | |
34760 | <method name="CalculateSize" type="" overloaded="no"> | |
781d2982 | 34761 | <autodoc>CalculateSize(self)</autodoc> |
f32fc4bc RD |
34762 | </method> |
34763 | <method name="ContainsDivision" type="bool" overloaded="no"> | |
781d2982 | 34764 | <autodoc>ContainsDivision(self, PyDivisionShape division) -> bool</autodoc> |
f32fc4bc RD |
34765 | <paramlist> |
34766 | <param name="division" type="wxPyDivisionShape" default=""/> | |
34767 | </paramlist> | |
34768 | </method> | |
34769 | <method name="DeleteConstraint" type="" overloaded="no"> | |
781d2982 | 34770 | <autodoc>DeleteConstraint(self, OGLConstraint constraint)</autodoc> |
f32fc4bc RD |
34771 | <paramlist> |
34772 | <param name="constraint" type="OGLConstraint" default=""/> | |
34773 | </paramlist> | |
34774 | </method> | |
34775 | <method name="DeleteConstraintsInvolvingChild" type="" overloaded="no"> | |
781d2982 | 34776 | <autodoc>DeleteConstraintsInvolvingChild(self, PyShape child)</autodoc> |
f32fc4bc RD |
34777 | <paramlist> |
34778 | <param name="child" type="PyShape" default=""/> | |
34779 | </paramlist> | |
34780 | </method> | |
34781 | <method name="FindContainerImage" type="PyShape" overloaded="no"> | |
781d2982 | 34782 | <autodoc>FindContainerImage(self) -> PyShape</autodoc> |
f32fc4bc RD |
34783 | </method> |
34784 | <method name="GetConstraints" type="PyObject" overloaded="no"> | |
781d2982 | 34785 | <autodoc>GetConstraints(self) -> PyObject</autodoc> |
f32fc4bc RD |
34786 | </method> |
34787 | <method name="GetDivisions" type="PyObject" overloaded="no"> | |
781d2982 | 34788 | <autodoc>GetDivisions(self) -> PyObject</autodoc> |
f32fc4bc RD |
34789 | </method> |
34790 | <method name="MakeContainer" type="" overloaded="no"> | |
781d2982 | 34791 | <autodoc>MakeContainer(self)</autodoc> |
f32fc4bc RD |
34792 | </method> |
34793 | <method name="Recompute" type="bool" overloaded="no"> | |
781d2982 | 34794 | <autodoc>Recompute(self) -> bool</autodoc> |
f32fc4bc RD |
34795 | </method> |
34796 | <method name="RemoveChild" type="" overloaded="no"> | |
781d2982 | 34797 | <autodoc>RemoveChild(self, PyShape child)</autodoc> |
f32fc4bc RD |
34798 | <paramlist> |
34799 | <param name="child" type="PyShape" default=""/> | |
34800 | </paramlist> | |
34801 | </method> | |
34802 | <method name="base_OnDelete" type="" overloaded="no"> | |
781d2982 | 34803 | <autodoc>base_OnDelete(self)</autodoc> |
f32fc4bc RD |
34804 | </method> |
34805 | <method name="base_OnDraw" type="" overloaded="no"> | |
781d2982 | 34806 | <autodoc>base_OnDraw(self, DC dc)</autodoc> |
f32fc4bc RD |
34807 | <paramlist> |
34808 | <param name="dc" type="DC" default=""/> | |
34809 | </paramlist> | |
34810 | </method> | |
34811 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
781d2982 | 34812 | <autodoc>base_OnDrawContents(self, DC dc)</autodoc> |
f32fc4bc RD |
34813 | <paramlist> |
34814 | <param name="dc" type="DC" default=""/> | |
34815 | </paramlist> | |
34816 | </method> | |
34817 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
781d2982 | 34818 | <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc> |
f32fc4bc RD |
34819 | <paramlist> |
34820 | <param name="dc" type="DC" default=""/> | |
34821 | <param name="erase" type="bool" default="FALSE"/> | |
34822 | </paramlist> | |
34823 | </method> | |
34824 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
781d2982 | 34825 | <autodoc>base_OnMoveLinks(self, DC dc)</autodoc> |
f32fc4bc RD |
34826 | <paramlist> |
34827 | <param name="dc" type="DC" default=""/> | |
34828 | </paramlist> | |
34829 | </method> | |
34830 | <method name="base_OnErase" type="" overloaded="no"> | |
781d2982 | 34831 | <autodoc>base_OnErase(self, DC dc)</autodoc> |
f32fc4bc RD |
34832 | <paramlist> |
34833 | <param name="dc" type="DC" default=""/> | |
34834 | </paramlist> | |
34835 | </method> | |
34836 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
781d2982 | 34837 | <autodoc>base_OnEraseContents(self, DC dc)</autodoc> |
f32fc4bc RD |
34838 | <paramlist> |
34839 | <param name="dc" type="DC" default=""/> | |
34840 | </paramlist> | |
34841 | </method> | |
34842 | <method name="base_OnHighlight" type="" overloaded="no"> | |
781d2982 | 34843 | <autodoc>base_OnHighlight(self, DC dc)</autodoc> |
f32fc4bc RD |
34844 | <paramlist> |
34845 | <param name="dc" type="DC" default=""/> | |
34846 | </paramlist> | |
34847 | </method> | |
34848 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
781d2982 | 34849 | <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34850 | <paramlist> |
34851 | <param name="x" type="double" default=""/> | |
34852 | <param name="y" type="double" default=""/> | |
34853 | <param name="keys" type="int" default="0"/> | |
34854 | <param name="attachment" type="int" default="0"/> | |
34855 | </paramlist> | |
34856 | </method> | |
34857 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
781d2982 | 34858 | <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34859 | <paramlist> |
34860 | <param name="x" type="double" default=""/> | |
34861 | <param name="y" type="double" default=""/> | |
34862 | <param name="keys" type="int" default="0"/> | |
34863 | <param name="attachment" type="int" default="0"/> | |
34864 | </paramlist> | |
34865 | </method> | |
34866 | <method name="base_OnRightClick" type="" overloaded="no"> | |
781d2982 | 34867 | <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34868 | <paramlist> |
34869 | <param name="x" type="double" default=""/> | |
34870 | <param name="y" type="double" default=""/> | |
34871 | <param name="keys" type="int" default="0"/> | |
34872 | <param name="attachment" type="int" default="0"/> | |
34873 | </paramlist> | |
34874 | </method> | |
34875 | <method name="base_OnSize" type="" overloaded="no"> | |
781d2982 | 34876 | <autodoc>base_OnSize(self, double x, double y)</autodoc> |
f32fc4bc RD |
34877 | <paramlist> |
34878 | <param name="x" type="double" default=""/> | |
34879 | <param name="y" type="double" default=""/> | |
34880 | </paramlist> | |
34881 | </method> | |
34882 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
781d2982 | 34883 | <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
34884 | bool display=True) -> bool</autodoc> |
34885 | <paramlist> | |
34886 | <param name="dc" type="DC" default=""/> | |
34887 | <param name="x" type="double" default=""/> | |
34888 | <param name="y" type="double" default=""/> | |
34889 | <param name="old_x" type="double" default=""/> | |
34890 | <param name="old_y" type="double" default=""/> | |
34891 | <param name="display" type="bool" default="True"/> | |
34892 | </paramlist> | |
34893 | </method> | |
34894 | <method name="base_OnMovePost" type="" overloaded="no"> | |
781d2982 | 34895 | <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
34896 | bool display=True)</autodoc> |
34897 | <paramlist> | |
34898 | <param name="dc" type="DC" default=""/> | |
34899 | <param name="x" type="double" default=""/> | |
34900 | <param name="y" type="double" default=""/> | |
34901 | <param name="old_x" type="double" default=""/> | |
34902 | <param name="old_y" type="double" default=""/> | |
34903 | <param name="display" type="bool" default="True"/> | |
34904 | </paramlist> | |
34905 | </method> | |
34906 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
781d2982 | 34907 | <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34908 | <paramlist> |
34909 | <param name="draw" type="bool" default=""/> | |
34910 | <param name="x" type="double" default=""/> | |
34911 | <param name="y" type="double" default=""/> | |
34912 | <param name="keys" type="int" default="0"/> | |
34913 | <param name="attachment" type="int" default="0"/> | |
34914 | </paramlist> | |
34915 | </method> | |
34916 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 34917 | <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34918 | <paramlist> |
34919 | <param name="x" type="double" default=""/> | |
34920 | <param name="y" type="double" default=""/> | |
34921 | <param name="keys" type="int" default="0"/> | |
34922 | <param name="attachment" type="int" default="0"/> | |
34923 | </paramlist> | |
34924 | </method> | |
34925 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
781d2982 | 34926 | <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34927 | <paramlist> |
34928 | <param name="x" type="double" default=""/> | |
34929 | <param name="y" type="double" default=""/> | |
34930 | <param name="keys" type="int" default="0"/> | |
34931 | <param name="attachment" type="int" default="0"/> | |
34932 | </paramlist> | |
34933 | </method> | |
34934 | <method name="base_OnDragRight" type="" overloaded="no"> | |
781d2982 | 34935 | <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34936 | <paramlist> |
34937 | <param name="draw" type="bool" default=""/> | |
34938 | <param name="x" type="double" default=""/> | |
34939 | <param name="y" type="double" default=""/> | |
34940 | <param name="keys" type="int" default="0"/> | |
34941 | <param name="attachment" type="int" default="0"/> | |
34942 | </paramlist> | |
34943 | </method> | |
34944 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
781d2982 | 34945 | <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34946 | <paramlist> |
34947 | <param name="x" type="double" default=""/> | |
34948 | <param name="y" type="double" default=""/> | |
34949 | <param name="keys" type="int" default="0"/> | |
34950 | <param name="attachment" type="int" default="0"/> | |
34951 | </paramlist> | |
34952 | </method> | |
34953 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
781d2982 | 34954 | <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
34955 | <paramlist> |
34956 | <param name="x" type="double" default=""/> | |
34957 | <param name="y" type="double" default=""/> | |
34958 | <param name="keys" type="int" default="0"/> | |
34959 | <param name="attachment" type="int" default="0"/> | |
34960 | </paramlist> | |
34961 | </method> | |
34962 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
781d2982 | 34963 | <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc> |
f32fc4bc RD |
34964 | <paramlist> |
34965 | <param name="dc" type="DC" default=""/> | |
34966 | <param name="x" type="double" default=""/> | |
34967 | <param name="y" type="double" default=""/> | |
34968 | <param name="w" type="double" default=""/> | |
34969 | <param name="h" type="double" default=""/> | |
34970 | </paramlist> | |
34971 | </method> | |
34972 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
781d2982 | 34973 | <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
34974 | <paramlist> |
34975 | <param name="dc" type="DC" default=""/> | |
34976 | </paramlist> | |
34977 | </method> | |
34978 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
781d2982 | 34979 | <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
34980 | <paramlist> |
34981 | <param name="dc" type="DC" default=""/> | |
34982 | </paramlist> | |
34983 | </method> | |
34984 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
781d2982 | 34985 | <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc> |
f32fc4bc RD |
34986 | <paramlist> |
34987 | <param name="dc" type="DC" default=""/> | |
34988 | <param name="moveControlPoints" type="bool" default="True"/> | |
34989 | </paramlist> | |
34990 | </method> | |
34991 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
781d2982 | 34992 | <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, |
f32fc4bc RD |
34993 | int attachment=0)</autodoc> |
34994 | <paramlist> | |
34995 | <param name="pt" type="PyControlPoint" default=""/> | |
34996 | <param name="draw" type="bool" default=""/> | |
34997 | <param name="x" type="double" default=""/> | |
34998 | <param name="y" type="double" default=""/> | |
34999 | <param name="keys" type="int" default="0"/> | |
35000 | <param name="attachment" type="int" default="0"/> | |
35001 | </paramlist> | |
35002 | </method> | |
35003 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 35004 | <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
35005 | int attachment=0)</autodoc> |
35006 | <paramlist> | |
35007 | <param name="pt" type="PyControlPoint" default=""/> | |
35008 | <param name="x" type="double" default=""/> | |
35009 | <param name="y" type="double" default=""/> | |
35010 | <param name="keys" type="int" default="0"/> | |
35011 | <param name="attachment" type="int" default="0"/> | |
35012 | </paramlist> | |
35013 | </method> | |
35014 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
781d2982 | 35015 | <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
35016 | int attachment=0)</autodoc> |
35017 | <paramlist> | |
35018 | <param name="pt" type="PyControlPoint" default=""/> | |
35019 | <param name="x" type="double" default=""/> | |
35020 | <param name="y" type="double" default=""/> | |
35021 | <param name="keys" type="int" default="0"/> | |
35022 | <param name="attachment" type="int" default="0"/> | |
35023 | </paramlist> | |
35024 | </method> | |
35025 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
781d2982 | 35026 | <autodoc>base_OnBeginSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
35027 | <paramlist> |
35028 | <param name="w" type="double" default=""/> | |
35029 | <param name="h" type="double" default=""/> | |
35030 | </paramlist> | |
35031 | </method> | |
35032 | <method name="base_OnEndSize" type="" overloaded="no"> | |
781d2982 | 35033 | <autodoc>base_OnEndSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
35034 | <paramlist> |
35035 | <param name="w" type="double" default=""/> | |
35036 | <param name="h" type="double" default=""/> | |
35037 | </paramlist> | |
35038 | </method> | |
35039 | </class> | |
35040 | <class name="PyDividedShape" oldname="wxPyDividedShape" module="ogl"> | |
35041 | <baseclass name="PyRectangleShape"/> | |
35042 | <constructor name="PyDividedShape" overloaded="no"> | |
781d2982 | 35043 | <autodoc>__init__(self, double width=0.0, double height=0.0) -> PyDividedShape</autodoc> |
f32fc4bc RD |
35044 | <paramlist> |
35045 | <param name="width" type="double" default="0.0"/> | |
35046 | <param name="height" type="double" default="0.0"/> | |
35047 | </paramlist> | |
35048 | </constructor> | |
35049 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 35050 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
35051 | <paramlist> |
35052 | <param name="self" type="PyObject" default=""/> | |
35053 | <param name="_class" type="PyObject" default=""/> | |
35054 | </paramlist> | |
35055 | </method> | |
35056 | <method name="EditRegions" type="" overloaded="no"> | |
781d2982 | 35057 | <autodoc>EditRegions(self)</autodoc> |
f32fc4bc RD |
35058 | </method> |
35059 | <method name="SetRegionSizes" type="" overloaded="no"> | |
781d2982 | 35060 | <autodoc>SetRegionSizes(self)</autodoc> |
f32fc4bc RD |
35061 | </method> |
35062 | <method name="base_OnDelete" type="" overloaded="no"> | |
781d2982 | 35063 | <autodoc>base_OnDelete(self)</autodoc> |
f32fc4bc RD |
35064 | </method> |
35065 | <method name="base_OnDraw" type="" overloaded="no"> | |
781d2982 | 35066 | <autodoc>base_OnDraw(self, DC dc)</autodoc> |
f32fc4bc RD |
35067 | <paramlist> |
35068 | <param name="dc" type="DC" default=""/> | |
35069 | </paramlist> | |
35070 | </method> | |
35071 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
781d2982 | 35072 | <autodoc>base_OnDrawContents(self, DC dc)</autodoc> |
f32fc4bc RD |
35073 | <paramlist> |
35074 | <param name="dc" type="DC" default=""/> | |
35075 | </paramlist> | |
35076 | </method> | |
35077 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
781d2982 | 35078 | <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc> |
f32fc4bc RD |
35079 | <paramlist> |
35080 | <param name="dc" type="DC" default=""/> | |
35081 | <param name="erase" type="bool" default="FALSE"/> | |
35082 | </paramlist> | |
35083 | </method> | |
35084 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
781d2982 | 35085 | <autodoc>base_OnMoveLinks(self, DC dc)</autodoc> |
f32fc4bc RD |
35086 | <paramlist> |
35087 | <param name="dc" type="DC" default=""/> | |
35088 | </paramlist> | |
35089 | </method> | |
35090 | <method name="base_OnErase" type="" overloaded="no"> | |
781d2982 | 35091 | <autodoc>base_OnErase(self, DC dc)</autodoc> |
f32fc4bc RD |
35092 | <paramlist> |
35093 | <param name="dc" type="DC" default=""/> | |
35094 | </paramlist> | |
35095 | </method> | |
35096 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
781d2982 | 35097 | <autodoc>base_OnEraseContents(self, DC dc)</autodoc> |
f32fc4bc RD |
35098 | <paramlist> |
35099 | <param name="dc" type="DC" default=""/> | |
35100 | </paramlist> | |
35101 | </method> | |
35102 | <method name="base_OnHighlight" type="" overloaded="no"> | |
781d2982 | 35103 | <autodoc>base_OnHighlight(self, DC dc)</autodoc> |
f32fc4bc RD |
35104 | <paramlist> |
35105 | <param name="dc" type="DC" default=""/> | |
35106 | </paramlist> | |
35107 | </method> | |
35108 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
781d2982 | 35109 | <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35110 | <paramlist> |
35111 | <param name="x" type="double" default=""/> | |
35112 | <param name="y" type="double" default=""/> | |
35113 | <param name="keys" type="int" default="0"/> | |
35114 | <param name="attachment" type="int" default="0"/> | |
35115 | </paramlist> | |
35116 | </method> | |
35117 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
781d2982 | 35118 | <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35119 | <paramlist> |
35120 | <param name="x" type="double" default=""/> | |
35121 | <param name="y" type="double" default=""/> | |
35122 | <param name="keys" type="int" default="0"/> | |
35123 | <param name="attachment" type="int" default="0"/> | |
35124 | </paramlist> | |
35125 | </method> | |
35126 | <method name="base_OnRightClick" type="" overloaded="no"> | |
781d2982 | 35127 | <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35128 | <paramlist> |
35129 | <param name="x" type="double" default=""/> | |
35130 | <param name="y" type="double" default=""/> | |
35131 | <param name="keys" type="int" default="0"/> | |
35132 | <param name="attachment" type="int" default="0"/> | |
35133 | </paramlist> | |
35134 | </method> | |
35135 | <method name="base_OnSize" type="" overloaded="no"> | |
781d2982 | 35136 | <autodoc>base_OnSize(self, double x, double y)</autodoc> |
f32fc4bc RD |
35137 | <paramlist> |
35138 | <param name="x" type="double" default=""/> | |
35139 | <param name="y" type="double" default=""/> | |
35140 | </paramlist> | |
35141 | </method> | |
35142 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
781d2982 | 35143 | <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
35144 | bool display=True) -> bool</autodoc> |
35145 | <paramlist> | |
35146 | <param name="dc" type="DC" default=""/> | |
35147 | <param name="x" type="double" default=""/> | |
35148 | <param name="y" type="double" default=""/> | |
35149 | <param name="old_x" type="double" default=""/> | |
35150 | <param name="old_y" type="double" default=""/> | |
35151 | <param name="display" type="bool" default="True"/> | |
35152 | </paramlist> | |
35153 | </method> | |
35154 | <method name="base_OnMovePost" type="" overloaded="no"> | |
781d2982 | 35155 | <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
35156 | bool display=True)</autodoc> |
35157 | <paramlist> | |
35158 | <param name="dc" type="DC" default=""/> | |
35159 | <param name="x" type="double" default=""/> | |
35160 | <param name="y" type="double" default=""/> | |
35161 | <param name="old_x" type="double" default=""/> | |
35162 | <param name="old_y" type="double" default=""/> | |
35163 | <param name="display" type="bool" default="True"/> | |
35164 | </paramlist> | |
35165 | </method> | |
35166 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
781d2982 | 35167 | <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35168 | <paramlist> |
35169 | <param name="draw" type="bool" default=""/> | |
35170 | <param name="x" type="double" default=""/> | |
35171 | <param name="y" type="double" default=""/> | |
35172 | <param name="keys" type="int" default="0"/> | |
35173 | <param name="attachment" type="int" default="0"/> | |
35174 | </paramlist> | |
35175 | </method> | |
35176 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 35177 | <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35178 | <paramlist> |
35179 | <param name="x" type="double" default=""/> | |
35180 | <param name="y" type="double" default=""/> | |
35181 | <param name="keys" type="int" default="0"/> | |
35182 | <param name="attachment" type="int" default="0"/> | |
35183 | </paramlist> | |
35184 | </method> | |
35185 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
781d2982 | 35186 | <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35187 | <paramlist> |
35188 | <param name="x" type="double" default=""/> | |
35189 | <param name="y" type="double" default=""/> | |
35190 | <param name="keys" type="int" default="0"/> | |
35191 | <param name="attachment" type="int" default="0"/> | |
35192 | </paramlist> | |
35193 | </method> | |
35194 | <method name="base_OnDragRight" type="" overloaded="no"> | |
781d2982 | 35195 | <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35196 | <paramlist> |
35197 | <param name="draw" type="bool" default=""/> | |
35198 | <param name="x" type="double" default=""/> | |
35199 | <param name="y" type="double" default=""/> | |
35200 | <param name="keys" type="int" default="0"/> | |
35201 | <param name="attachment" type="int" default="0"/> | |
35202 | </paramlist> | |
35203 | </method> | |
35204 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
781d2982 | 35205 | <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35206 | <paramlist> |
35207 | <param name="x" type="double" default=""/> | |
35208 | <param name="y" type="double" default=""/> | |
35209 | <param name="keys" type="int" default="0"/> | |
35210 | <param name="attachment" type="int" default="0"/> | |
35211 | </paramlist> | |
35212 | </method> | |
35213 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
781d2982 | 35214 | <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35215 | <paramlist> |
35216 | <param name="x" type="double" default=""/> | |
35217 | <param name="y" type="double" default=""/> | |
35218 | <param name="keys" type="int" default="0"/> | |
35219 | <param name="attachment" type="int" default="0"/> | |
35220 | </paramlist> | |
35221 | </method> | |
35222 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
781d2982 | 35223 | <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc> |
f32fc4bc RD |
35224 | <paramlist> |
35225 | <param name="dc" type="DC" default=""/> | |
35226 | <param name="x" type="double" default=""/> | |
35227 | <param name="y" type="double" default=""/> | |
35228 | <param name="w" type="double" default=""/> | |
35229 | <param name="h" type="double" default=""/> | |
35230 | </paramlist> | |
35231 | </method> | |
35232 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
781d2982 | 35233 | <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
35234 | <paramlist> |
35235 | <param name="dc" type="DC" default=""/> | |
35236 | </paramlist> | |
35237 | </method> | |
35238 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
781d2982 | 35239 | <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
35240 | <paramlist> |
35241 | <param name="dc" type="DC" default=""/> | |
35242 | </paramlist> | |
35243 | </method> | |
35244 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
781d2982 | 35245 | <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc> |
f32fc4bc RD |
35246 | <paramlist> |
35247 | <param name="dc" type="DC" default=""/> | |
35248 | <param name="moveControlPoints" type="bool" default="True"/> | |
35249 | </paramlist> | |
35250 | </method> | |
35251 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
781d2982 | 35252 | <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, |
f32fc4bc RD |
35253 | int attachment=0)</autodoc> |
35254 | <paramlist> | |
35255 | <param name="pt" type="PyControlPoint" default=""/> | |
35256 | <param name="draw" type="bool" default=""/> | |
35257 | <param name="x" type="double" default=""/> | |
35258 | <param name="y" type="double" default=""/> | |
35259 | <param name="keys" type="int" default="0"/> | |
35260 | <param name="attachment" type="int" default="0"/> | |
35261 | </paramlist> | |
35262 | </method> | |
35263 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 35264 | <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
35265 | int attachment=0)</autodoc> |
35266 | <paramlist> | |
35267 | <param name="pt" type="PyControlPoint" default=""/> | |
35268 | <param name="x" type="double" default=""/> | |
35269 | <param name="y" type="double" default=""/> | |
35270 | <param name="keys" type="int" default="0"/> | |
35271 | <param name="attachment" type="int" default="0"/> | |
35272 | </paramlist> | |
35273 | </method> | |
35274 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
781d2982 | 35275 | <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
35276 | int attachment=0)</autodoc> |
35277 | <paramlist> | |
35278 | <param name="pt" type="PyControlPoint" default=""/> | |
35279 | <param name="x" type="double" default=""/> | |
35280 | <param name="y" type="double" default=""/> | |
35281 | <param name="keys" type="int" default="0"/> | |
35282 | <param name="attachment" type="int" default="0"/> | |
35283 | </paramlist> | |
35284 | </method> | |
35285 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
781d2982 | 35286 | <autodoc>base_OnBeginSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
35287 | <paramlist> |
35288 | <param name="w" type="double" default=""/> | |
35289 | <param name="h" type="double" default=""/> | |
35290 | </paramlist> | |
35291 | </method> | |
35292 | <method name="base_OnEndSize" type="" overloaded="no"> | |
781d2982 | 35293 | <autodoc>base_OnEndSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
35294 | <paramlist> |
35295 | <param name="w" type="double" default=""/> | |
35296 | <param name="h" type="double" default=""/> | |
35297 | </paramlist> | |
35298 | </method> | |
35299 | </class> | |
35300 | <class name="PyDivisionShape" oldname="wxPyDivisionShape" module="ogl"> | |
35301 | <baseclass name="PyCompositeShape"/> | |
35302 | <constructor name="PyDivisionShape" overloaded="no"> | |
781d2982 | 35303 | <autodoc>__init__(self) -> PyDivisionShape</autodoc> |
f32fc4bc RD |
35304 | </constructor> |
35305 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 35306 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
35307 | <paramlist> |
35308 | <param name="self" type="PyObject" default=""/> | |
35309 | <param name="_class" type="PyObject" default=""/> | |
35310 | </paramlist> | |
35311 | </method> | |
35312 | <method name="AdjustBottom" type="" overloaded="no"> | |
781d2982 | 35313 | <autodoc>AdjustBottom(self, double bottom, bool test)</autodoc> |
f32fc4bc RD |
35314 | <paramlist> |
35315 | <param name="bottom" type="double" default=""/> | |
35316 | <param name="test" type="bool" default=""/> | |
35317 | </paramlist> | |
35318 | </method> | |
35319 | <method name="AdjustLeft" type="" overloaded="no"> | |
781d2982 | 35320 | <autodoc>AdjustLeft(self, double left, bool test)</autodoc> |
f32fc4bc RD |
35321 | <paramlist> |
35322 | <param name="left" type="double" default=""/> | |
35323 | <param name="test" type="bool" default=""/> | |
35324 | </paramlist> | |
35325 | </method> | |
35326 | <method name="AdjustRight" type="" overloaded="no"> | |
781d2982 | 35327 | <autodoc>AdjustRight(self, double right, bool test)</autodoc> |
f32fc4bc RD |
35328 | <paramlist> |
35329 | <param name="right" type="double" default=""/> | |
35330 | <param name="test" type="bool" default=""/> | |
35331 | </paramlist> | |
35332 | </method> | |
35333 | <method name="AdjustTop" type="" overloaded="no"> | |
781d2982 | 35334 | <autodoc>AdjustTop(self, double top, bool test)</autodoc> |
f32fc4bc RD |
35335 | <paramlist> |
35336 | <param name="top" type="double" default=""/> | |
35337 | <param name="test" type="bool" default=""/> | |
35338 | </paramlist> | |
35339 | </method> | |
35340 | <method name="Divide" type="" overloaded="no"> | |
781d2982 | 35341 | <autodoc>Divide(self, int direction)</autodoc> |
f32fc4bc RD |
35342 | <paramlist> |
35343 | <param name="direction" type="int" default=""/> | |
35344 | </paramlist> | |
35345 | </method> | |
35346 | <method name="EditEdge" type="" overloaded="no"> | |
781d2982 | 35347 | <autodoc>EditEdge(self, int side)</autodoc> |
f32fc4bc RD |
35348 | <paramlist> |
35349 | <param name="side" type="int" default=""/> | |
35350 | </paramlist> | |
35351 | </method> | |
35352 | <method name="GetBottomSide" type="PyDivisionShape" overloaded="no"> | |
781d2982 | 35353 | <autodoc>GetBottomSide(self) -> PyDivisionShape</autodoc> |
f32fc4bc RD |
35354 | </method> |
35355 | <method name="GetHandleSide" type="int" overloaded="no"> | |
781d2982 | 35356 | <autodoc>GetHandleSide(self) -> int</autodoc> |
f32fc4bc RD |
35357 | </method> |
35358 | <method name="GetLeftSide" type="PyDivisionShape" overloaded="no"> | |
781d2982 | 35359 | <autodoc>GetLeftSide(self) -> PyDivisionShape</autodoc> |
f32fc4bc RD |
35360 | </method> |
35361 | <method name="GetLeftSideColour" type="String" overloaded="no"> | |
781d2982 | 35362 | <autodoc>GetLeftSideColour(self) -> String</autodoc> |
f32fc4bc RD |
35363 | </method> |
35364 | <method name="GetLeftSidePen" type="Pen" overloaded="no"> | |
781d2982 | 35365 | <autodoc>GetLeftSidePen(self) -> wxPen</autodoc> |
f32fc4bc RD |
35366 | </method> |
35367 | <method name="GetRightSide" type="PyDivisionShape" overloaded="no"> | |
781d2982 | 35368 | <autodoc>GetRightSide(self) -> PyDivisionShape</autodoc> |
f32fc4bc RD |
35369 | </method> |
35370 | <method name="GetTopSide" type="PyDivisionShape" overloaded="no"> | |
781d2982 | 35371 | <autodoc>GetTopSide(self) -> PyDivisionShape</autodoc> |
f32fc4bc RD |
35372 | </method> |
35373 | <method name="GetTopSidePen" type="Pen" overloaded="no"> | |
781d2982 | 35374 | <autodoc>GetTopSidePen(self) -> wxPen</autodoc> |
f32fc4bc RD |
35375 | </method> |
35376 | <method name="ResizeAdjoining" type="" overloaded="no"> | |
781d2982 | 35377 | <autodoc>ResizeAdjoining(self, int side, double newPos, bool test)</autodoc> |
f32fc4bc RD |
35378 | <paramlist> |
35379 | <param name="side" type="int" default=""/> | |
35380 | <param name="newPos" type="double" default=""/> | |
35381 | <param name="test" type="bool" default=""/> | |
35382 | </paramlist> | |
35383 | </method> | |
35384 | <method name="PopupMenu" type="" overloaded="no"> | |
781d2982 | 35385 | <autodoc>PopupMenu(self, double x, double y)</autodoc> |
f32fc4bc RD |
35386 | <paramlist> |
35387 | <param name="x" type="double" default=""/> | |
35388 | <param name="y" type="double" default=""/> | |
35389 | </paramlist> | |
35390 | </method> | |
35391 | <method name="SetBottomSide" type="" overloaded="no"> | |
781d2982 | 35392 | <autodoc>SetBottomSide(self, PyDivisionShape shape)</autodoc> |
f32fc4bc RD |
35393 | <paramlist> |
35394 | <param name="shape" type="PyDivisionShape" default=""/> | |
35395 | </paramlist> | |
35396 | </method> | |
35397 | <method name="SetHandleSide" type="" overloaded="no"> | |
781d2982 | 35398 | <autodoc>SetHandleSide(self, int side)</autodoc> |
f32fc4bc RD |
35399 | <paramlist> |
35400 | <param name="side" type="int" default=""/> | |
35401 | </paramlist> | |
35402 | </method> | |
35403 | <method name="SetLeftSide" type="" overloaded="no"> | |
781d2982 | 35404 | <autodoc>SetLeftSide(self, PyDivisionShape shape)</autodoc> |
f32fc4bc RD |
35405 | <paramlist> |
35406 | <param name="shape" type="PyDivisionShape" default=""/> | |
35407 | </paramlist> | |
35408 | </method> | |
35409 | <method name="SetLeftSideColour" type="" overloaded="no"> | |
781d2982 | 35410 | <autodoc>SetLeftSideColour(self, String colour)</autodoc> |
f32fc4bc RD |
35411 | <paramlist> |
35412 | <param name="colour" type="String" default=""/> | |
35413 | </paramlist> | |
35414 | </method> | |
35415 | <method name="SetLeftSidePen" type="" overloaded="no"> | |
781d2982 | 35416 | <autodoc>SetLeftSidePen(self, wxPen pen)</autodoc> |
f32fc4bc RD |
35417 | <paramlist> |
35418 | <param name="pen" type="Pen" default=""/> | |
35419 | </paramlist> | |
35420 | </method> | |
35421 | <method name="SetRightSide" type="" overloaded="no"> | |
781d2982 | 35422 | <autodoc>SetRightSide(self, PyDivisionShape shape)</autodoc> |
f32fc4bc RD |
35423 | <paramlist> |
35424 | <param name="shape" type="PyDivisionShape" default=""/> | |
35425 | </paramlist> | |
35426 | </method> | |
35427 | <method name="SetTopSide" type="" overloaded="no"> | |
781d2982 | 35428 | <autodoc>SetTopSide(self, PyDivisionShape shape)</autodoc> |
f32fc4bc RD |
35429 | <paramlist> |
35430 | <param name="shape" type="PyDivisionShape" default=""/> | |
35431 | </paramlist> | |
35432 | </method> | |
35433 | <method name="SetTopSideColour" type="" overloaded="no"> | |
781d2982 | 35434 | <autodoc>SetTopSideColour(self, String colour)</autodoc> |
f32fc4bc RD |
35435 | <paramlist> |
35436 | <param name="colour" type="String" default=""/> | |
35437 | </paramlist> | |
35438 | </method> | |
35439 | <method name="SetTopSidePen" type="" overloaded="no"> | |
781d2982 | 35440 | <autodoc>SetTopSidePen(self, wxPen pen)</autodoc> |
f32fc4bc RD |
35441 | <paramlist> |
35442 | <param name="pen" type="Pen" default=""/> | |
35443 | </paramlist> | |
35444 | </method> | |
35445 | <method name="base_OnDelete" type="" overloaded="no"> | |
781d2982 | 35446 | <autodoc>base_OnDelete(self)</autodoc> |
f32fc4bc RD |
35447 | </method> |
35448 | <method name="base_OnDraw" type="" overloaded="no"> | |
781d2982 | 35449 | <autodoc>base_OnDraw(self, DC dc)</autodoc> |
f32fc4bc RD |
35450 | <paramlist> |
35451 | <param name="dc" type="DC" default=""/> | |
35452 | </paramlist> | |
35453 | </method> | |
35454 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
781d2982 | 35455 | <autodoc>base_OnDrawContents(self, DC dc)</autodoc> |
f32fc4bc RD |
35456 | <paramlist> |
35457 | <param name="dc" type="DC" default=""/> | |
35458 | </paramlist> | |
35459 | </method> | |
35460 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
781d2982 | 35461 | <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc> |
f32fc4bc RD |
35462 | <paramlist> |
35463 | <param name="dc" type="DC" default=""/> | |
35464 | <param name="erase" type="bool" default="FALSE"/> | |
35465 | </paramlist> | |
35466 | </method> | |
35467 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
781d2982 | 35468 | <autodoc>base_OnMoveLinks(self, DC dc)</autodoc> |
f32fc4bc RD |
35469 | <paramlist> |
35470 | <param name="dc" type="DC" default=""/> | |
35471 | </paramlist> | |
35472 | </method> | |
35473 | <method name="base_OnErase" type="" overloaded="no"> | |
781d2982 | 35474 | <autodoc>base_OnErase(self, DC dc)</autodoc> |
f32fc4bc RD |
35475 | <paramlist> |
35476 | <param name="dc" type="DC" default=""/> | |
35477 | </paramlist> | |
35478 | </method> | |
35479 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
781d2982 | 35480 | <autodoc>base_OnEraseContents(self, DC dc)</autodoc> |
f32fc4bc RD |
35481 | <paramlist> |
35482 | <param name="dc" type="DC" default=""/> | |
35483 | </paramlist> | |
35484 | </method> | |
35485 | <method name="base_OnHighlight" type="" overloaded="no"> | |
781d2982 | 35486 | <autodoc>base_OnHighlight(self, DC dc)</autodoc> |
f32fc4bc RD |
35487 | <paramlist> |
35488 | <param name="dc" type="DC" default=""/> | |
35489 | </paramlist> | |
35490 | </method> | |
35491 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
781d2982 | 35492 | <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35493 | <paramlist> |
35494 | <param name="x" type="double" default=""/> | |
35495 | <param name="y" type="double" default=""/> | |
35496 | <param name="keys" type="int" default="0"/> | |
35497 | <param name="attachment" type="int" default="0"/> | |
35498 | </paramlist> | |
35499 | </method> | |
35500 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
781d2982 | 35501 | <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35502 | <paramlist> |
35503 | <param name="x" type="double" default=""/> | |
35504 | <param name="y" type="double" default=""/> | |
35505 | <param name="keys" type="int" default="0"/> | |
35506 | <param name="attachment" type="int" default="0"/> | |
35507 | </paramlist> | |
35508 | </method> | |
35509 | <method name="base_OnRightClick" type="" overloaded="no"> | |
781d2982 | 35510 | <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35511 | <paramlist> |
35512 | <param name="x" type="double" default=""/> | |
35513 | <param name="y" type="double" default=""/> | |
35514 | <param name="keys" type="int" default="0"/> | |
35515 | <param name="attachment" type="int" default="0"/> | |
35516 | </paramlist> | |
35517 | </method> | |
35518 | <method name="base_OnSize" type="" overloaded="no"> | |
781d2982 | 35519 | <autodoc>base_OnSize(self, double x, double y)</autodoc> |
f32fc4bc RD |
35520 | <paramlist> |
35521 | <param name="x" type="double" default=""/> | |
35522 | <param name="y" type="double" default=""/> | |
35523 | </paramlist> | |
35524 | </method> | |
35525 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
781d2982 | 35526 | <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
35527 | bool display=True) -> bool</autodoc> |
35528 | <paramlist> | |
35529 | <param name="dc" type="DC" default=""/> | |
35530 | <param name="x" type="double" default=""/> | |
35531 | <param name="y" type="double" default=""/> | |
35532 | <param name="old_x" type="double" default=""/> | |
35533 | <param name="old_y" type="double" default=""/> | |
35534 | <param name="display" type="bool" default="True"/> | |
35535 | </paramlist> | |
35536 | </method> | |
35537 | <method name="base_OnMovePost" type="" overloaded="no"> | |
781d2982 | 35538 | <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
35539 | bool display=True)</autodoc> |
35540 | <paramlist> | |
35541 | <param name="dc" type="DC" default=""/> | |
35542 | <param name="x" type="double" default=""/> | |
35543 | <param name="y" type="double" default=""/> | |
35544 | <param name="old_x" type="double" default=""/> | |
35545 | <param name="old_y" type="double" default=""/> | |
35546 | <param name="display" type="bool" default="True"/> | |
35547 | </paramlist> | |
35548 | </method> | |
35549 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
781d2982 | 35550 | <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35551 | <paramlist> |
35552 | <param name="draw" type="bool" default=""/> | |
35553 | <param name="x" type="double" default=""/> | |
35554 | <param name="y" type="double" default=""/> | |
35555 | <param name="keys" type="int" default="0"/> | |
35556 | <param name="attachment" type="int" default="0"/> | |
35557 | </paramlist> | |
35558 | </method> | |
35559 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 35560 | <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35561 | <paramlist> |
35562 | <param name="x" type="double" default=""/> | |
35563 | <param name="y" type="double" default=""/> | |
35564 | <param name="keys" type="int" default="0"/> | |
35565 | <param name="attachment" type="int" default="0"/> | |
35566 | </paramlist> | |
35567 | </method> | |
35568 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
781d2982 | 35569 | <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35570 | <paramlist> |
35571 | <param name="x" type="double" default=""/> | |
35572 | <param name="y" type="double" default=""/> | |
35573 | <param name="keys" type="int" default="0"/> | |
35574 | <param name="attachment" type="int" default="0"/> | |
35575 | </paramlist> | |
35576 | </method> | |
35577 | <method name="base_OnDragRight" type="" overloaded="no"> | |
781d2982 | 35578 | <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35579 | <paramlist> |
35580 | <param name="draw" type="bool" default=""/> | |
35581 | <param name="x" type="double" default=""/> | |
35582 | <param name="y" type="double" default=""/> | |
35583 | <param name="keys" type="int" default="0"/> | |
35584 | <param name="attachment" type="int" default="0"/> | |
35585 | </paramlist> | |
35586 | </method> | |
35587 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
781d2982 | 35588 | <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35589 | <paramlist> |
35590 | <param name="x" type="double" default=""/> | |
35591 | <param name="y" type="double" default=""/> | |
35592 | <param name="keys" type="int" default="0"/> | |
35593 | <param name="attachment" type="int" default="0"/> | |
35594 | </paramlist> | |
35595 | </method> | |
35596 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
781d2982 | 35597 | <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35598 | <paramlist> |
35599 | <param name="x" type="double" default=""/> | |
35600 | <param name="y" type="double" default=""/> | |
35601 | <param name="keys" type="int" default="0"/> | |
35602 | <param name="attachment" type="int" default="0"/> | |
35603 | </paramlist> | |
35604 | </method> | |
35605 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
781d2982 | 35606 | <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc> |
f32fc4bc RD |
35607 | <paramlist> |
35608 | <param name="dc" type="DC" default=""/> | |
35609 | <param name="x" type="double" default=""/> | |
35610 | <param name="y" type="double" default=""/> | |
35611 | <param name="w" type="double" default=""/> | |
35612 | <param name="h" type="double" default=""/> | |
35613 | </paramlist> | |
35614 | </method> | |
35615 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
781d2982 | 35616 | <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
35617 | <paramlist> |
35618 | <param name="dc" type="DC" default=""/> | |
35619 | </paramlist> | |
35620 | </method> | |
35621 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
781d2982 | 35622 | <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
35623 | <paramlist> |
35624 | <param name="dc" type="DC" default=""/> | |
35625 | </paramlist> | |
35626 | </method> | |
35627 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
781d2982 | 35628 | <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc> |
f32fc4bc RD |
35629 | <paramlist> |
35630 | <param name="dc" type="DC" default=""/> | |
35631 | <param name="moveControlPoints" type="bool" default="True"/> | |
35632 | </paramlist> | |
35633 | </method> | |
35634 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
781d2982 | 35635 | <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, |
f32fc4bc RD |
35636 | int attachment=0)</autodoc> |
35637 | <paramlist> | |
35638 | <param name="pt" type="PyControlPoint" default=""/> | |
35639 | <param name="draw" type="bool" default=""/> | |
35640 | <param name="x" type="double" default=""/> | |
35641 | <param name="y" type="double" default=""/> | |
35642 | <param name="keys" type="int" default="0"/> | |
35643 | <param name="attachment" type="int" default="0"/> | |
35644 | </paramlist> | |
35645 | </method> | |
35646 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 35647 | <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
35648 | int attachment=0)</autodoc> |
35649 | <paramlist> | |
35650 | <param name="pt" type="PyControlPoint" default=""/> | |
35651 | <param name="x" type="double" default=""/> | |
35652 | <param name="y" type="double" default=""/> | |
35653 | <param name="keys" type="int" default="0"/> | |
35654 | <param name="attachment" type="int" default="0"/> | |
35655 | </paramlist> | |
35656 | </method> | |
35657 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
781d2982 | 35658 | <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
35659 | int attachment=0)</autodoc> |
35660 | <paramlist> | |
35661 | <param name="pt" type="PyControlPoint" default=""/> | |
35662 | <param name="x" type="double" default=""/> | |
35663 | <param name="y" type="double" default=""/> | |
35664 | <param name="keys" type="int" default="0"/> | |
35665 | <param name="attachment" type="int" default="0"/> | |
35666 | </paramlist> | |
35667 | </method> | |
35668 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
781d2982 | 35669 | <autodoc>base_OnBeginSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
35670 | <paramlist> |
35671 | <param name="w" type="double" default=""/> | |
35672 | <param name="h" type="double" default=""/> | |
35673 | </paramlist> | |
35674 | </method> | |
35675 | <method name="base_OnEndSize" type="" overloaded="no"> | |
781d2982 | 35676 | <autodoc>base_OnEndSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
35677 | <paramlist> |
35678 | <param name="w" type="double" default=""/> | |
35679 | <param name="h" type="double" default=""/> | |
35680 | </paramlist> | |
35681 | </method> | |
35682 | </class> | |
35683 | <class name="PyEllipseShape" oldname="wxPyEllipseShape" module="ogl"> | |
35684 | <baseclass name="PyShape"/> | |
35685 | <constructor name="PyEllipseShape" overloaded="no"> | |
781d2982 | 35686 | <autodoc>__init__(self, double width=0.0, double height=0.0) -> PyEllipseShape</autodoc> |
f32fc4bc RD |
35687 | <paramlist> |
35688 | <param name="width" type="double" default="0.0"/> | |
35689 | <param name="height" type="double" default="0.0"/> | |
35690 | </paramlist> | |
35691 | </constructor> | |
35692 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 35693 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
35694 | <paramlist> |
35695 | <param name="self" type="PyObject" default=""/> | |
35696 | <param name="_class" type="PyObject" default=""/> | |
35697 | </paramlist> | |
35698 | </method> | |
35699 | <method name="base_OnDraw" type="" overloaded="no"> | |
781d2982 | 35700 | <autodoc>base_OnDraw(self, DC dc)</autodoc> |
f32fc4bc RD |
35701 | <paramlist> |
35702 | <param name="dc" type="DC" default=""/> | |
35703 | </paramlist> | |
35704 | </method> | |
35705 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
781d2982 | 35706 | <autodoc>base_OnDrawContents(self, DC dc)</autodoc> |
f32fc4bc RD |
35707 | <paramlist> |
35708 | <param name="dc" type="DC" default=""/> | |
35709 | </paramlist> | |
35710 | </method> | |
35711 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
781d2982 | 35712 | <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc> |
f32fc4bc RD |
35713 | <paramlist> |
35714 | <param name="dc" type="DC" default=""/> | |
35715 | <param name="erase" type="bool" default="FALSE"/> | |
35716 | </paramlist> | |
35717 | </method> | |
35718 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
781d2982 | 35719 | <autodoc>base_OnMoveLinks(self, DC dc)</autodoc> |
f32fc4bc RD |
35720 | <paramlist> |
35721 | <param name="dc" type="DC" default=""/> | |
35722 | </paramlist> | |
35723 | </method> | |
35724 | <method name="base_OnErase" type="" overloaded="no"> | |
781d2982 | 35725 | <autodoc>base_OnErase(self, DC dc)</autodoc> |
f32fc4bc RD |
35726 | <paramlist> |
35727 | <param name="dc" type="DC" default=""/> | |
35728 | </paramlist> | |
35729 | </method> | |
35730 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
781d2982 | 35731 | <autodoc>base_OnEraseContents(self, DC dc)</autodoc> |
f32fc4bc RD |
35732 | <paramlist> |
35733 | <param name="dc" type="DC" default=""/> | |
35734 | </paramlist> | |
35735 | </method> | |
35736 | <method name="base_OnHighlight" type="" overloaded="no"> | |
781d2982 | 35737 | <autodoc>base_OnHighlight(self, DC dc)</autodoc> |
f32fc4bc RD |
35738 | <paramlist> |
35739 | <param name="dc" type="DC" default=""/> | |
35740 | </paramlist> | |
35741 | </method> | |
35742 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
781d2982 | 35743 | <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35744 | <paramlist> |
35745 | <param name="x" type="double" default=""/> | |
35746 | <param name="y" type="double" default=""/> | |
35747 | <param name="keys" type="int" default="0"/> | |
35748 | <param name="attachment" type="int" default="0"/> | |
35749 | </paramlist> | |
35750 | </method> | |
35751 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
781d2982 | 35752 | <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35753 | <paramlist> |
35754 | <param name="x" type="double" default=""/> | |
35755 | <param name="y" type="double" default=""/> | |
35756 | <param name="keys" type="int" default="0"/> | |
35757 | <param name="attachment" type="int" default="0"/> | |
35758 | </paramlist> | |
35759 | </method> | |
35760 | <method name="base_OnRightClick" type="" overloaded="no"> | |
781d2982 | 35761 | <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35762 | <paramlist> |
35763 | <param name="x" type="double" default=""/> | |
35764 | <param name="y" type="double" default=""/> | |
35765 | <param name="keys" type="int" default="0"/> | |
35766 | <param name="attachment" type="int" default="0"/> | |
35767 | </paramlist> | |
35768 | </method> | |
35769 | <method name="base_OnSize" type="" overloaded="no"> | |
781d2982 | 35770 | <autodoc>base_OnSize(self, double x, double y)</autodoc> |
f32fc4bc RD |
35771 | <paramlist> |
35772 | <param name="x" type="double" default=""/> | |
35773 | <param name="y" type="double" default=""/> | |
35774 | </paramlist> | |
35775 | </method> | |
35776 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
781d2982 | 35777 | <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
35778 | bool display=True) -> bool</autodoc> |
35779 | <paramlist> | |
35780 | <param name="dc" type="DC" default=""/> | |
35781 | <param name="x" type="double" default=""/> | |
35782 | <param name="y" type="double" default=""/> | |
35783 | <param name="old_x" type="double" default=""/> | |
35784 | <param name="old_y" type="double" default=""/> | |
35785 | <param name="display" type="bool" default="True"/> | |
35786 | </paramlist> | |
35787 | </method> | |
35788 | <method name="base_OnMovePost" type="" overloaded="no"> | |
781d2982 | 35789 | <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
35790 | bool display=True)</autodoc> |
35791 | <paramlist> | |
35792 | <param name="dc" type="DC" default=""/> | |
35793 | <param name="x" type="double" default=""/> | |
35794 | <param name="y" type="double" default=""/> | |
35795 | <param name="old_x" type="double" default=""/> | |
35796 | <param name="old_y" type="double" default=""/> | |
35797 | <param name="display" type="bool" default="True"/> | |
35798 | </paramlist> | |
35799 | </method> | |
35800 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
781d2982 | 35801 | <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35802 | <paramlist> |
35803 | <param name="draw" type="bool" default=""/> | |
35804 | <param name="x" type="double" default=""/> | |
35805 | <param name="y" type="double" default=""/> | |
35806 | <param name="keys" type="int" default="0"/> | |
35807 | <param name="attachment" type="int" default="0"/> | |
35808 | </paramlist> | |
35809 | </method> | |
35810 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 35811 | <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35812 | <paramlist> |
35813 | <param name="x" type="double" default=""/> | |
35814 | <param name="y" type="double" default=""/> | |
35815 | <param name="keys" type="int" default="0"/> | |
35816 | <param name="attachment" type="int" default="0"/> | |
35817 | </paramlist> | |
35818 | </method> | |
35819 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
781d2982 | 35820 | <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35821 | <paramlist> |
35822 | <param name="x" type="double" default=""/> | |
35823 | <param name="y" type="double" default=""/> | |
35824 | <param name="keys" type="int" default="0"/> | |
35825 | <param name="attachment" type="int" default="0"/> | |
35826 | </paramlist> | |
35827 | </method> | |
35828 | <method name="base_OnDragRight" type="" overloaded="no"> | |
781d2982 | 35829 | <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35830 | <paramlist> |
35831 | <param name="draw" type="bool" default=""/> | |
35832 | <param name="x" type="double" default=""/> | |
35833 | <param name="y" type="double" default=""/> | |
35834 | <param name="keys" type="int" default="0"/> | |
35835 | <param name="attachment" type="int" default="0"/> | |
35836 | </paramlist> | |
35837 | </method> | |
35838 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
781d2982 | 35839 | <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35840 | <paramlist> |
35841 | <param name="x" type="double" default=""/> | |
35842 | <param name="y" type="double" default=""/> | |
35843 | <param name="keys" type="int" default="0"/> | |
35844 | <param name="attachment" type="int" default="0"/> | |
35845 | </paramlist> | |
35846 | </method> | |
35847 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
781d2982 | 35848 | <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35849 | <paramlist> |
35850 | <param name="x" type="double" default=""/> | |
35851 | <param name="y" type="double" default=""/> | |
35852 | <param name="keys" type="int" default="0"/> | |
35853 | <param name="attachment" type="int" default="0"/> | |
35854 | </paramlist> | |
35855 | </method> | |
35856 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
781d2982 | 35857 | <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc> |
f32fc4bc RD |
35858 | <paramlist> |
35859 | <param name="dc" type="DC" default=""/> | |
35860 | <param name="x" type="double" default=""/> | |
35861 | <param name="y" type="double" default=""/> | |
35862 | <param name="w" type="double" default=""/> | |
35863 | <param name="h" type="double" default=""/> | |
35864 | </paramlist> | |
35865 | </method> | |
35866 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
781d2982 | 35867 | <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
35868 | <paramlist> |
35869 | <param name="dc" type="DC" default=""/> | |
35870 | </paramlist> | |
35871 | </method> | |
35872 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
781d2982 | 35873 | <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
35874 | <paramlist> |
35875 | <param name="dc" type="DC" default=""/> | |
35876 | </paramlist> | |
35877 | </method> | |
35878 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
781d2982 | 35879 | <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc> |
f32fc4bc RD |
35880 | <paramlist> |
35881 | <param name="dc" type="DC" default=""/> | |
35882 | <param name="moveControlPoints" type="bool" default="True"/> | |
35883 | </paramlist> | |
35884 | </method> | |
35885 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
781d2982 | 35886 | <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, |
f32fc4bc RD |
35887 | int attachment=0)</autodoc> |
35888 | <paramlist> | |
35889 | <param name="pt" type="PyControlPoint" default=""/> | |
35890 | <param name="draw" type="bool" default=""/> | |
35891 | <param name="x" type="double" default=""/> | |
35892 | <param name="y" type="double" default=""/> | |
35893 | <param name="keys" type="int" default="0"/> | |
35894 | <param name="attachment" type="int" default="0"/> | |
35895 | </paramlist> | |
35896 | </method> | |
35897 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 35898 | <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
35899 | int attachment=0)</autodoc> |
35900 | <paramlist> | |
35901 | <param name="pt" type="PyControlPoint" default=""/> | |
35902 | <param name="x" type="double" default=""/> | |
35903 | <param name="y" type="double" default=""/> | |
35904 | <param name="keys" type="int" default="0"/> | |
35905 | <param name="attachment" type="int" default="0"/> | |
35906 | </paramlist> | |
35907 | </method> | |
35908 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
781d2982 | 35909 | <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
35910 | int attachment=0)</autodoc> |
35911 | <paramlist> | |
35912 | <param name="pt" type="PyControlPoint" default=""/> | |
35913 | <param name="x" type="double" default=""/> | |
35914 | <param name="y" type="double" default=""/> | |
35915 | <param name="keys" type="int" default="0"/> | |
35916 | <param name="attachment" type="int" default="0"/> | |
35917 | </paramlist> | |
35918 | </method> | |
35919 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
781d2982 | 35920 | <autodoc>base_OnBeginSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
35921 | <paramlist> |
35922 | <param name="w" type="double" default=""/> | |
35923 | <param name="h" type="double" default=""/> | |
35924 | </paramlist> | |
35925 | </method> | |
35926 | <method name="base_OnEndSize" type="" overloaded="no"> | |
781d2982 | 35927 | <autodoc>base_OnEndSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
35928 | <paramlist> |
35929 | <param name="w" type="double" default=""/> | |
35930 | <param name="h" type="double" default=""/> | |
35931 | </paramlist> | |
35932 | </method> | |
35933 | </class> | |
35934 | <class name="PyCircleShape" oldname="wxPyCircleShape" module="ogl"> | |
35935 | <baseclass name="PyEllipseShape"/> | |
35936 | <constructor name="PyCircleShape" overloaded="no"> | |
781d2982 | 35937 | <autodoc>__init__(self, double width=0.0) -> PyCircleShape</autodoc> |
f32fc4bc RD |
35938 | <paramlist> |
35939 | <param name="width" type="double" default="0.0"/> | |
35940 | </paramlist> | |
35941 | </constructor> | |
35942 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 35943 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
35944 | <paramlist> |
35945 | <param name="self" type="PyObject" default=""/> | |
35946 | <param name="_class" type="PyObject" default=""/> | |
35947 | </paramlist> | |
35948 | </method> | |
35949 | <method name="base_OnDraw" type="" overloaded="no"> | |
781d2982 | 35950 | <autodoc>base_OnDraw(self, DC dc)</autodoc> |
f32fc4bc RD |
35951 | <paramlist> |
35952 | <param name="dc" type="DC" default=""/> | |
35953 | </paramlist> | |
35954 | </method> | |
35955 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
781d2982 | 35956 | <autodoc>base_OnDrawContents(self, DC dc)</autodoc> |
f32fc4bc RD |
35957 | <paramlist> |
35958 | <param name="dc" type="DC" default=""/> | |
35959 | </paramlist> | |
35960 | </method> | |
35961 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
781d2982 | 35962 | <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc> |
f32fc4bc RD |
35963 | <paramlist> |
35964 | <param name="dc" type="DC" default=""/> | |
35965 | <param name="erase" type="bool" default="FALSE"/> | |
35966 | </paramlist> | |
35967 | </method> | |
35968 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
781d2982 | 35969 | <autodoc>base_OnMoveLinks(self, DC dc)</autodoc> |
f32fc4bc RD |
35970 | <paramlist> |
35971 | <param name="dc" type="DC" default=""/> | |
35972 | </paramlist> | |
35973 | </method> | |
35974 | <method name="base_OnErase" type="" overloaded="no"> | |
781d2982 | 35975 | <autodoc>base_OnErase(self, DC dc)</autodoc> |
f32fc4bc RD |
35976 | <paramlist> |
35977 | <param name="dc" type="DC" default=""/> | |
35978 | </paramlist> | |
35979 | </method> | |
35980 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
781d2982 | 35981 | <autodoc>base_OnEraseContents(self, DC dc)</autodoc> |
f32fc4bc RD |
35982 | <paramlist> |
35983 | <param name="dc" type="DC" default=""/> | |
35984 | </paramlist> | |
35985 | </method> | |
35986 | <method name="base_OnHighlight" type="" overloaded="no"> | |
781d2982 | 35987 | <autodoc>base_OnHighlight(self, DC dc)</autodoc> |
f32fc4bc RD |
35988 | <paramlist> |
35989 | <param name="dc" type="DC" default=""/> | |
35990 | </paramlist> | |
35991 | </method> | |
35992 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
781d2982 | 35993 | <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
35994 | <paramlist> |
35995 | <param name="x" type="double" default=""/> | |
35996 | <param name="y" type="double" default=""/> | |
35997 | <param name="keys" type="int" default="0"/> | |
35998 | <param name="attachment" type="int" default="0"/> | |
35999 | </paramlist> | |
36000 | </method> | |
36001 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
781d2982 | 36002 | <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36003 | <paramlist> |
36004 | <param name="x" type="double" default=""/> | |
36005 | <param name="y" type="double" default=""/> | |
36006 | <param name="keys" type="int" default="0"/> | |
36007 | <param name="attachment" type="int" default="0"/> | |
36008 | </paramlist> | |
36009 | </method> | |
36010 | <method name="base_OnRightClick" type="" overloaded="no"> | |
781d2982 | 36011 | <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36012 | <paramlist> |
36013 | <param name="x" type="double" default=""/> | |
36014 | <param name="y" type="double" default=""/> | |
36015 | <param name="keys" type="int" default="0"/> | |
36016 | <param name="attachment" type="int" default="0"/> | |
36017 | </paramlist> | |
36018 | </method> | |
36019 | <method name="base_OnSize" type="" overloaded="no"> | |
781d2982 | 36020 | <autodoc>base_OnSize(self, double x, double y)</autodoc> |
f32fc4bc RD |
36021 | <paramlist> |
36022 | <param name="x" type="double" default=""/> | |
36023 | <param name="y" type="double" default=""/> | |
36024 | </paramlist> | |
36025 | </method> | |
36026 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
781d2982 | 36027 | <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
36028 | bool display=True) -> bool</autodoc> |
36029 | <paramlist> | |
36030 | <param name="dc" type="DC" default=""/> | |
36031 | <param name="x" type="double" default=""/> | |
36032 | <param name="y" type="double" default=""/> | |
36033 | <param name="old_x" type="double" default=""/> | |
36034 | <param name="old_y" type="double" default=""/> | |
36035 | <param name="display" type="bool" default="True"/> | |
36036 | </paramlist> | |
36037 | </method> | |
36038 | <method name="base_OnMovePost" type="" overloaded="no"> | |
781d2982 | 36039 | <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
36040 | bool display=True)</autodoc> |
36041 | <paramlist> | |
36042 | <param name="dc" type="DC" default=""/> | |
36043 | <param name="x" type="double" default=""/> | |
36044 | <param name="y" type="double" default=""/> | |
36045 | <param name="old_x" type="double" default=""/> | |
36046 | <param name="old_y" type="double" default=""/> | |
36047 | <param name="display" type="bool" default="True"/> | |
36048 | </paramlist> | |
36049 | </method> | |
36050 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
781d2982 | 36051 | <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36052 | <paramlist> |
36053 | <param name="draw" type="bool" default=""/> | |
36054 | <param name="x" type="double" default=""/> | |
36055 | <param name="y" type="double" default=""/> | |
36056 | <param name="keys" type="int" default="0"/> | |
36057 | <param name="attachment" type="int" default="0"/> | |
36058 | </paramlist> | |
36059 | </method> | |
36060 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 36061 | <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36062 | <paramlist> |
36063 | <param name="x" type="double" default=""/> | |
36064 | <param name="y" type="double" default=""/> | |
36065 | <param name="keys" type="int" default="0"/> | |
36066 | <param name="attachment" type="int" default="0"/> | |
36067 | </paramlist> | |
36068 | </method> | |
36069 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
781d2982 | 36070 | <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36071 | <paramlist> |
36072 | <param name="x" type="double" default=""/> | |
36073 | <param name="y" type="double" default=""/> | |
36074 | <param name="keys" type="int" default="0"/> | |
36075 | <param name="attachment" type="int" default="0"/> | |
36076 | </paramlist> | |
36077 | </method> | |
36078 | <method name="base_OnDragRight" type="" overloaded="no"> | |
781d2982 | 36079 | <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36080 | <paramlist> |
36081 | <param name="draw" type="bool" default=""/> | |
36082 | <param name="x" type="double" default=""/> | |
36083 | <param name="y" type="double" default=""/> | |
36084 | <param name="keys" type="int" default="0"/> | |
36085 | <param name="attachment" type="int" default="0"/> | |
36086 | </paramlist> | |
36087 | </method> | |
36088 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
781d2982 | 36089 | <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36090 | <paramlist> |
36091 | <param name="x" type="double" default=""/> | |
36092 | <param name="y" type="double" default=""/> | |
36093 | <param name="keys" type="int" default="0"/> | |
36094 | <param name="attachment" type="int" default="0"/> | |
36095 | </paramlist> | |
36096 | </method> | |
36097 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
781d2982 | 36098 | <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36099 | <paramlist> |
36100 | <param name="x" type="double" default=""/> | |
36101 | <param name="y" type="double" default=""/> | |
36102 | <param name="keys" type="int" default="0"/> | |
36103 | <param name="attachment" type="int" default="0"/> | |
36104 | </paramlist> | |
36105 | </method> | |
36106 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
781d2982 | 36107 | <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc> |
f32fc4bc RD |
36108 | <paramlist> |
36109 | <param name="dc" type="DC" default=""/> | |
36110 | <param name="x" type="double" default=""/> | |
36111 | <param name="y" type="double" default=""/> | |
36112 | <param name="w" type="double" default=""/> | |
36113 | <param name="h" type="double" default=""/> | |
36114 | </paramlist> | |
36115 | </method> | |
36116 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
781d2982 | 36117 | <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
36118 | <paramlist> |
36119 | <param name="dc" type="DC" default=""/> | |
36120 | </paramlist> | |
36121 | </method> | |
36122 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
781d2982 | 36123 | <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
36124 | <paramlist> |
36125 | <param name="dc" type="DC" default=""/> | |
36126 | </paramlist> | |
36127 | </method> | |
36128 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
781d2982 | 36129 | <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc> |
f32fc4bc RD |
36130 | <paramlist> |
36131 | <param name="dc" type="DC" default=""/> | |
36132 | <param name="moveControlPoints" type="bool" default="True"/> | |
36133 | </paramlist> | |
36134 | </method> | |
36135 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
781d2982 | 36136 | <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, |
f32fc4bc RD |
36137 | int attachment=0)</autodoc> |
36138 | <paramlist> | |
36139 | <param name="pt" type="PyControlPoint" default=""/> | |
36140 | <param name="draw" type="bool" default=""/> | |
36141 | <param name="x" type="double" default=""/> | |
36142 | <param name="y" type="double" default=""/> | |
36143 | <param name="keys" type="int" default="0"/> | |
36144 | <param name="attachment" type="int" default="0"/> | |
36145 | </paramlist> | |
36146 | </method> | |
36147 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 36148 | <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
36149 | int attachment=0)</autodoc> |
36150 | <paramlist> | |
36151 | <param name="pt" type="PyControlPoint" default=""/> | |
36152 | <param name="x" type="double" default=""/> | |
36153 | <param name="y" type="double" default=""/> | |
36154 | <param name="keys" type="int" default="0"/> | |
36155 | <param name="attachment" type="int" default="0"/> | |
36156 | </paramlist> | |
36157 | </method> | |
36158 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
781d2982 | 36159 | <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
36160 | int attachment=0)</autodoc> |
36161 | <paramlist> | |
36162 | <param name="pt" type="PyControlPoint" default=""/> | |
36163 | <param name="x" type="double" default=""/> | |
36164 | <param name="y" type="double" default=""/> | |
36165 | <param name="keys" type="int" default="0"/> | |
36166 | <param name="attachment" type="int" default="0"/> | |
36167 | </paramlist> | |
36168 | </method> | |
36169 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
781d2982 | 36170 | <autodoc>base_OnBeginSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
36171 | <paramlist> |
36172 | <param name="w" type="double" default=""/> | |
36173 | <param name="h" type="double" default=""/> | |
36174 | </paramlist> | |
36175 | </method> | |
36176 | <method name="base_OnEndSize" type="" overloaded="no"> | |
781d2982 | 36177 | <autodoc>base_OnEndSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
36178 | <paramlist> |
36179 | <param name="w" type="double" default=""/> | |
36180 | <param name="h" type="double" default=""/> | |
36181 | </paramlist> | |
36182 | </method> | |
36183 | </class> | |
36184 | <class name="ArrowHead" oldname="wxArrowHead" module="ogl"> | |
36185 | <baseclass name="Object"/> | |
36186 | <constructor name="ArrowHead" overloaded="no"> | |
781d2982 | 36187 | <autodoc>__init__(self, int type=0, int end=0, double size=0.0, double dist=0.0, |
f32fc4bc RD |
36188 | String name=EmptyString, PseudoMetaFile mf=None, |
36189 | long arrowId=-1) -> ArrowHead</autodoc> | |
36190 | <paramlist> | |
36191 | <param name="type" type="int" default="0"/> | |
36192 | <param name="end" type="int" default="0"/> | |
36193 | <param name="size" type="double" default="0.0"/> | |
36194 | <param name="dist" type="double" default="0.0"/> | |
36195 | <param name="name" type="String" default="wxPyEmptyString"/> | |
36196 | <param name="mf" type="PseudoMetaFile" default="NULL"/> | |
36197 | <param name="arrowId" type="long" default="-1"/> | |
36198 | </paramlist> | |
36199 | </constructor> | |
36200 | <destructor name="~wxArrowHead" overloaded="no"> | |
781d2982 | 36201 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
36202 | </destructor> |
36203 | <method name="_GetType" type="int" overloaded="no"> | |
781d2982 | 36204 | <autodoc>_GetType(self) -> int</autodoc> |
f32fc4bc RD |
36205 | </method> |
36206 | <method name="GetPosition" type="int" overloaded="no"> | |
781d2982 | 36207 | <autodoc>GetPosition(self) -> int</autodoc> |
f32fc4bc RD |
36208 | </method> |
36209 | <method name="SetPosition" type="" overloaded="no"> | |
781d2982 | 36210 | <autodoc>SetPosition(self, int pos)</autodoc> |
f32fc4bc RD |
36211 | <paramlist> |
36212 | <param name="pos" type="int" default=""/> | |
36213 | </paramlist> | |
36214 | </method> | |
36215 | <method name="GetXOffset" type="double" overloaded="no"> | |
781d2982 | 36216 | <autodoc>GetXOffset(self) -> double</autodoc> |
f32fc4bc RD |
36217 | </method> |
36218 | <method name="GetYOffset" type="double" overloaded="no"> | |
781d2982 | 36219 | <autodoc>GetYOffset(self) -> double</autodoc> |
f32fc4bc RD |
36220 | </method> |
36221 | <method name="GetSpacing" type="double" overloaded="no"> | |
781d2982 | 36222 | <autodoc>GetSpacing(self) -> double</autodoc> |
f32fc4bc RD |
36223 | </method> |
36224 | <method name="GetSize" type="double" overloaded="no"> | |
781d2982 | 36225 | <autodoc>GetSize(self) -> double</autodoc> |
f32fc4bc RD |
36226 | </method> |
36227 | <method name="GetName" type="String" overloaded="no"> | |
781d2982 | 36228 | <autodoc>GetName(self) -> String</autodoc> |
f32fc4bc RD |
36229 | </method> |
36230 | <method name="SetXOffset" type="" overloaded="no"> | |
781d2982 | 36231 | <autodoc>SetXOffset(self, double x)</autodoc> |
f32fc4bc RD |
36232 | <paramlist> |
36233 | <param name="x" type="double" default=""/> | |
36234 | </paramlist> | |
36235 | </method> | |
36236 | <method name="SetYOffset" type="" overloaded="no"> | |
781d2982 | 36237 | <autodoc>SetYOffset(self, double y)</autodoc> |
f32fc4bc RD |
36238 | <paramlist> |
36239 | <param name="y" type="double" default=""/> | |
36240 | </paramlist> | |
36241 | </method> | |
36242 | <method name="GetMetaFile" type="PseudoMetaFile" overloaded="no"> | |
781d2982 | 36243 | <autodoc>GetMetaFile(self) -> PseudoMetaFile</autodoc> |
f32fc4bc RD |
36244 | </method> |
36245 | <method name="GetId" type="long" overloaded="no"> | |
781d2982 | 36246 | <autodoc>GetId(self) -> long</autodoc> |
f32fc4bc RD |
36247 | </method> |
36248 | <method name="GetArrowEnd" type="int" overloaded="no"> | |
781d2982 | 36249 | <autodoc>GetArrowEnd(self) -> int</autodoc> |
f32fc4bc RD |
36250 | </method> |
36251 | <method name="GetArrowSize" type="double" overloaded="no"> | |
781d2982 | 36252 | <autodoc>GetArrowSize(self) -> double</autodoc> |
f32fc4bc RD |
36253 | </method> |
36254 | <method name="SetSize" type="" overloaded="no"> | |
781d2982 | 36255 | <autodoc>SetSize(self, double size)</autodoc> |
f32fc4bc RD |
36256 | <paramlist> |
36257 | <param name="size" type="double" default=""/> | |
36258 | </paramlist> | |
36259 | </method> | |
36260 | <method name="SetSpacing" type="" overloaded="no"> | |
781d2982 | 36261 | <autodoc>SetSpacing(self, double sp)</autodoc> |
f32fc4bc RD |
36262 | <paramlist> |
36263 | <param name="sp" type="double" default=""/> | |
36264 | </paramlist> | |
36265 | </method> | |
36266 | </class> | |
36267 | <class name="PyLineShape" oldname="wxPyLineShape" module="ogl"> | |
36268 | <baseclass name="PyShape"/> | |
36269 | <constructor name="PyLineShape" overloaded="no"> | |
781d2982 | 36270 | <autodoc>__init__(self) -> PyLineShape</autodoc> |
f32fc4bc RD |
36271 | </constructor> |
36272 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 36273 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
36274 | <paramlist> |
36275 | <param name="self" type="PyObject" default=""/> | |
36276 | <param name="_class" type="PyObject" default=""/> | |
36277 | </paramlist> | |
36278 | </method> | |
36279 | <method name="AddArrow" type="" overloaded="no"> | |
781d2982 | 36280 | <autodoc>AddArrow(self, int type, int end=ARROW_POSITION_END, double arrowSize=10.0, |
f32fc4bc RD |
36281 | double xOffset=0.0, String name=EmptyString, |
36282 | PseudoMetaFile mf=None, long arrowId=-1)</autodoc> | |
36283 | <paramlist> | |
36284 | <param name="type" type="int" default=""/> | |
36285 | <param name="end" type="int" default="ARROW_POSITION_END"/> | |
36286 | <param name="arrowSize" type="double" default="10.0"/> | |
36287 | <param name="xOffset" type="double" default="0.0"/> | |
36288 | <param name="name" type="String" default="wxPyEmptyString"/> | |
36289 | <param name="mf" type="PseudoMetaFile" default="NULL"/> | |
36290 | <param name="arrowId" type="long" default="-1"/> | |
36291 | </paramlist> | |
36292 | </method> | |
36293 | <method name="AddArrowOrdered" type="" overloaded="no"> | |
781d2982 | 36294 | <autodoc>AddArrowOrdered(self, ArrowHead arrow, PyObject referenceList, int end)</autodoc> |
f32fc4bc RD |
36295 | <paramlist> |
36296 | <param name="arrow" type="ArrowHead" default=""/> | |
36297 | <param name="referenceList" type="PyObject" default=""/> | |
36298 | <param name="end" type="int" default=""/> | |
36299 | </paramlist> | |
36300 | </method> | |
36301 | <method name="ClearArrow" type="bool" overloaded="no"> | |
781d2982 | 36302 | <autodoc>ClearArrow(self, String name) -> bool</autodoc> |
f32fc4bc RD |
36303 | <paramlist> |
36304 | <param name="name" type="String" default=""/> | |
36305 | </paramlist> | |
36306 | </method> | |
36307 | <method name="ClearArrowsAtPosition" type="" overloaded="no"> | |
781d2982 | 36308 | <autodoc>ClearArrowsAtPosition(self, int position=-1)</autodoc> |
f32fc4bc RD |
36309 | <paramlist> |
36310 | <param name="position" type="int" default="-1"/> | |
36311 | </paramlist> | |
36312 | </method> | |
36313 | <method name="DrawArrow" type="" overloaded="no"> | |
781d2982 | 36314 | <autodoc>DrawArrow(self, DC dc, ArrowHead arrow, double xOffset, bool proportionalOffset)</autodoc> |
f32fc4bc RD |
36315 | <paramlist> |
36316 | <param name="dc" type="DC" default=""/> | |
36317 | <param name="arrow" type="ArrowHead" default=""/> | |
36318 | <param name="xOffset" type="double" default=""/> | |
36319 | <param name="proportionalOffset" type="bool" default=""/> | |
36320 | </paramlist> | |
36321 | </method> | |
36322 | <method name="DeleteArrowHeadId" type="bool" overloaded="no"> | |
781d2982 | 36323 | <autodoc>DeleteArrowHeadId(self, long arrowId) -> bool</autodoc> |
f32fc4bc RD |
36324 | <paramlist> |
36325 | <param name="arrowId" type="long" default=""/> | |
36326 | </paramlist> | |
36327 | </method> | |
36328 | <method name="DeleteArrowHead" type="bool" overloaded="no"> | |
781d2982 | 36329 | <autodoc>DeleteArrowHead(self, int position, String name) -> bool</autodoc> |
f32fc4bc RD |
36330 | <paramlist> |
36331 | <param name="position" type="int" default=""/> | |
36332 | <param name="name" type="String" default=""/> | |
36333 | </paramlist> | |
36334 | </method> | |
36335 | <method name="DeleteLineControlPoint" type="bool" overloaded="no"> | |
781d2982 | 36336 | <autodoc>DeleteLineControlPoint(self) -> bool</autodoc> |
f32fc4bc RD |
36337 | </method> |
36338 | <method name="DrawArrows" type="" overloaded="no"> | |
781d2982 | 36339 | <autodoc>DrawArrows(self, DC dc)</autodoc> |
f32fc4bc RD |
36340 | <paramlist> |
36341 | <param name="dc" type="DC" default=""/> | |
36342 | </paramlist> | |
36343 | </method> | |
36344 | <method name="DrawRegion" type="" overloaded="no"> | |
781d2982 | 36345 | <autodoc>DrawRegion(self, DC dc, ShapeRegion region, double x, double y)</autodoc> |
f32fc4bc RD |
36346 | <paramlist> |
36347 | <param name="dc" type="DC" default=""/> | |
36348 | <param name="region" type="ShapeRegion" default=""/> | |
36349 | <param name="x" type="double" default=""/> | |
36350 | <param name="y" type="double" default=""/> | |
36351 | </paramlist> | |
36352 | </method> | |
36353 | <method name="EraseRegion" type="" overloaded="no"> | |
781d2982 | 36354 | <autodoc>EraseRegion(self, DC dc, ShapeRegion region, double x, double y)</autodoc> |
f32fc4bc RD |
36355 | <paramlist> |
36356 | <param name="dc" type="DC" default=""/> | |
36357 | <param name="region" type="ShapeRegion" default=""/> | |
36358 | <param name="x" type="double" default=""/> | |
36359 | <param name="y" type="double" default=""/> | |
36360 | </paramlist> | |
36361 | </method> | |
36362 | <method name="FindArrowHeadId" type="ArrowHead" overloaded="no"> | |
781d2982 | 36363 | <autodoc>FindArrowHeadId(self, long arrowId) -> ArrowHead</autodoc> |
f32fc4bc RD |
36364 | <paramlist> |
36365 | <param name="arrowId" type="long" default=""/> | |
36366 | </paramlist> | |
36367 | </method> | |
36368 | <method name="FindArrowHead" type="ArrowHead" overloaded="no"> | |
781d2982 | 36369 | <autodoc>FindArrowHead(self, int position, String name) -> ArrowHead</autodoc> |
f32fc4bc RD |
36370 | <paramlist> |
36371 | <param name="position" type="int" default=""/> | |
36372 | <param name="name" type="String" default=""/> | |
36373 | </paramlist> | |
36374 | </method> | |
36375 | <method name="FindLineEndPoints" type="" overloaded="no"> | |
781d2982 | 36376 | <autodoc>FindLineEndPoints(self, double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)</autodoc> |
f32fc4bc RD |
36377 | <paramlist> |
36378 | <param name="OUTPUT" type="double" default=""/> | |
36379 | <param name="OUTPUT" type="double" default=""/> | |
36380 | <param name="OUTPUT" type="double" default=""/> | |
36381 | <param name="OUTPUT" type="double" default=""/> | |
36382 | </paramlist> | |
36383 | </method> | |
36384 | <method name="FindLinePosition" type="int" overloaded="no"> | |
781d2982 | 36385 | <autodoc>FindLinePosition(self, double x, double y) -> int</autodoc> |
f32fc4bc RD |
36386 | <paramlist> |
36387 | <param name="x" type="double" default=""/> | |
36388 | <param name="y" type="double" default=""/> | |
36389 | </paramlist> | |
36390 | </method> | |
36391 | <method name="FindMinimumWidth" type="double" overloaded="no"> | |
781d2982 | 36392 | <autodoc>FindMinimumWidth(self) -> double</autodoc> |
f32fc4bc RD |
36393 | </method> |
36394 | <method name="FindNth" type="" overloaded="no"> | |
781d2982 | 36395 | <autodoc>FindNth(self, PyShape image, int OUTPUT, int OUTPUT, bool incoming)</autodoc> |
f32fc4bc RD |
36396 | <paramlist> |
36397 | <param name="image" type="PyShape" default=""/> | |
36398 | <param name="OUTPUT" type="int" default=""/> | |
36399 | <param name="OUTPUT" type="int" default=""/> | |
36400 | <param name="incoming" type="bool" default=""/> | |
36401 | </paramlist> | |
36402 | </method> | |
36403 | <method name="GetAttachmentFrom" type="int" overloaded="no"> | |
781d2982 | 36404 | <autodoc>GetAttachmentFrom(self) -> int</autodoc> |
f32fc4bc RD |
36405 | </method> |
36406 | <method name="GetAttachmentTo" type="int" overloaded="no"> | |
781d2982 | 36407 | <autodoc>GetAttachmentTo(self) -> int</autodoc> |
f32fc4bc RD |
36408 | </method> |
36409 | <method name="GetEnds" type="" overloaded="no"> | |
781d2982 | 36410 | <autodoc>GetEnds(self, double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)</autodoc> |
f32fc4bc RD |
36411 | <paramlist> |
36412 | <param name="OUTPUT" type="double" default=""/> | |
36413 | <param name="OUTPUT" type="double" default=""/> | |
36414 | <param name="OUTPUT" type="double" default=""/> | |
36415 | <param name="OUTPUT" type="double" default=""/> | |
36416 | </paramlist> | |
36417 | </method> | |
36418 | <method name="GetFrom" type="PyShape" overloaded="no"> | |
781d2982 | 36419 | <autodoc>GetFrom(self) -> PyShape</autodoc> |
f32fc4bc RD |
36420 | </method> |
36421 | <method name="GetLabelPosition" type="" overloaded="no"> | |
781d2982 | 36422 | <autodoc>GetLabelPosition(self, int position, double OUTPUT, double OUTPUT)</autodoc> |
f32fc4bc RD |
36423 | <paramlist> |
36424 | <param name="position" type="int" default=""/> | |
36425 | <param name="OUTPUT" type="double" default=""/> | |
36426 | <param name="OUTPUT" type="double" default=""/> | |
36427 | </paramlist> | |
36428 | </method> | |
36429 | <method name="GetNextControlPoint" type="RealPoint" overloaded="no"> | |
781d2982 | 36430 | <autodoc>GetNextControlPoint(self, PyShape shape) -> RealPoint</autodoc> |
f32fc4bc RD |
36431 | <paramlist> |
36432 | <param name="shape" type="PyShape" default=""/> | |
36433 | </paramlist> | |
36434 | </method> | |
36435 | <method name="GetTo" type="PyShape" overloaded="no"> | |
781d2982 | 36436 | <autodoc>GetTo(self) -> PyShape</autodoc> |
f32fc4bc RD |
36437 | </method> |
36438 | <method name="Initialise" type="" overloaded="no"> | |
781d2982 | 36439 | <autodoc>Initialise(self)</autodoc> |
f32fc4bc RD |
36440 | </method> |
36441 | <method name="InsertLineControlPoint" type="" overloaded="no"> | |
781d2982 | 36442 | <autodoc>InsertLineControlPoint(self, DC dc)</autodoc> |
f32fc4bc RD |
36443 | <paramlist> |
36444 | <param name="dc" type="DC" default=""/> | |
36445 | </paramlist> | |
36446 | </method> | |
36447 | <method name="IsEnd" type="bool" overloaded="no"> | |
781d2982 | 36448 | <autodoc>IsEnd(self, PyShape shape) -> bool</autodoc> |
f32fc4bc RD |
36449 | <paramlist> |
36450 | <param name="shape" type="PyShape" default=""/> | |
36451 | </paramlist> | |
36452 | </method> | |
36453 | <method name="IsSpline" type="bool" overloaded="no"> | |
781d2982 | 36454 | <autodoc>IsSpline(self) -> bool</autodoc> |
f32fc4bc RD |
36455 | </method> |
36456 | <method name="MakeLineControlPoints" type="" overloaded="no"> | |
781d2982 | 36457 | <autodoc>MakeLineControlPoints(self, int n)</autodoc> |
f32fc4bc RD |
36458 | <paramlist> |
36459 | <param name="n" type="int" default=""/> | |
36460 | </paramlist> | |
36461 | </method> | |
36462 | <method name="GetLineControlPoints" type="PyObject" overloaded="no"> | |
781d2982 RD |
36463 | <autodoc>GetLineControlPoints(self) -> PyObject</autodoc> |
36464 | </method> | |
36465 | <method name="SetLineControlPoints" type="" overloaded="no"> | |
36466 | <autodoc>SetLineControlPoints(self, PyObject list)</autodoc> | |
36467 | <paramlist> | |
36468 | <param name="list" type="PyObject" default=""/> | |
36469 | </paramlist> | |
f32fc4bc RD |
36470 | </method> |
36471 | <method name="SetAttachmentFrom" type="" overloaded="no"> | |
781d2982 | 36472 | <autodoc>SetAttachmentFrom(self, int fromAttach)</autodoc> |
f32fc4bc RD |
36473 | <paramlist> |
36474 | <param name="fromAttach" type="int" default=""/> | |
36475 | </paramlist> | |
36476 | </method> | |
36477 | <method name="SetAttachments" type="" overloaded="no"> | |
781d2982 | 36478 | <autodoc>SetAttachments(self, int fromAttach, int toAttach)</autodoc> |
f32fc4bc RD |
36479 | <paramlist> |
36480 | <param name="fromAttach" type="int" default=""/> | |
36481 | <param name="toAttach" type="int" default=""/> | |
36482 | </paramlist> | |
36483 | </method> | |
36484 | <method name="SetAttachmentTo" type="" overloaded="no"> | |
781d2982 | 36485 | <autodoc>SetAttachmentTo(self, int toAttach)</autodoc> |
f32fc4bc RD |
36486 | <paramlist> |
36487 | <param name="toAttach" type="int" default=""/> | |
36488 | </paramlist> | |
36489 | </method> | |
36490 | <method name="SetEnds" type="" overloaded="no"> | |
781d2982 | 36491 | <autodoc>SetEnds(self, double x1, double y1, double x2, double y2)</autodoc> |
f32fc4bc RD |
36492 | <paramlist> |
36493 | <param name="x1" type="double" default=""/> | |
36494 | <param name="y1" type="double" default=""/> | |
36495 | <param name="x2" type="double" default=""/> | |
36496 | <param name="y2" type="double" default=""/> | |
36497 | </paramlist> | |
36498 | </method> | |
36499 | <method name="SetFrom" type="" overloaded="no"> | |
781d2982 | 36500 | <autodoc>SetFrom(self, PyShape object)</autodoc> |
f32fc4bc RD |
36501 | <paramlist> |
36502 | <param name="object" type="PyShape" default=""/> | |
36503 | </paramlist> | |
36504 | </method> | |
36505 | <method name="SetIgnoreOffsets" type="" overloaded="no"> | |
781d2982 | 36506 | <autodoc>SetIgnoreOffsets(self, bool ignore)</autodoc> |
f32fc4bc RD |
36507 | <paramlist> |
36508 | <param name="ignore" type="bool" default=""/> | |
36509 | </paramlist> | |
36510 | </method> | |
36511 | <method name="SetSpline" type="" overloaded="no"> | |
781d2982 | 36512 | <autodoc>SetSpline(self, bool spline)</autodoc> |
f32fc4bc RD |
36513 | <paramlist> |
36514 | <param name="spline" type="bool" default=""/> | |
36515 | </paramlist> | |
36516 | </method> | |
36517 | <method name="SetTo" type="" overloaded="no"> | |
781d2982 | 36518 | <autodoc>SetTo(self, PyShape object)</autodoc> |
f32fc4bc RD |
36519 | <paramlist> |
36520 | <param name="object" type="PyShape" default=""/> | |
36521 | </paramlist> | |
36522 | </method> | |
36523 | <method name="Straighten" type="" overloaded="no"> | |
781d2982 | 36524 | <autodoc>Straighten(self, DC dc=None)</autodoc> |
f32fc4bc RD |
36525 | <paramlist> |
36526 | <param name="dc" type="DC" default="NULL"/> | |
36527 | </paramlist> | |
36528 | </method> | |
36529 | <method name="Unlink" type="" overloaded="no"> | |
781d2982 | 36530 | <autodoc>Unlink(self)</autodoc> |
f32fc4bc RD |
36531 | </method> |
36532 | <method name="SetAlignmentOrientation" type="" overloaded="no"> | |
781d2982 | 36533 | <autodoc>SetAlignmentOrientation(self, bool isEnd, bool isHoriz)</autodoc> |
f32fc4bc RD |
36534 | <paramlist> |
36535 | <param name="isEnd" type="bool" default=""/> | |
36536 | <param name="isHoriz" type="bool" default=""/> | |
36537 | </paramlist> | |
36538 | </method> | |
36539 | <method name="SetAlignmentType" type="" overloaded="no"> | |
781d2982 | 36540 | <autodoc>SetAlignmentType(self, bool isEnd, int alignType)</autodoc> |
f32fc4bc RD |
36541 | <paramlist> |
36542 | <param name="isEnd" type="bool" default=""/> | |
36543 | <param name="alignType" type="int" default=""/> | |
36544 | </paramlist> | |
36545 | </method> | |
36546 | <method name="GetAlignmentOrientation" type="bool" overloaded="no"> | |
781d2982 | 36547 | <autodoc>GetAlignmentOrientation(self, bool isEnd) -> bool</autodoc> |
f32fc4bc RD |
36548 | <paramlist> |
36549 | <param name="isEnd" type="bool" default=""/> | |
36550 | </paramlist> | |
36551 | </method> | |
36552 | <method name="GetAlignmentType" type="int" overloaded="no"> | |
781d2982 | 36553 | <autodoc>GetAlignmentType(self, bool isEnd) -> int</autodoc> |
f32fc4bc RD |
36554 | <paramlist> |
36555 | <param name="isEnd" type="bool" default=""/> | |
36556 | </paramlist> | |
36557 | </method> | |
36558 | <method name="GetAlignmentStart" type="int" overloaded="no"> | |
781d2982 | 36559 | <autodoc>GetAlignmentStart(self) -> int</autodoc> |
f32fc4bc RD |
36560 | </method> |
36561 | <method name="GetAlignmentEnd" type="int" overloaded="no"> | |
781d2982 | 36562 | <autodoc>GetAlignmentEnd(self) -> int</autodoc> |
f32fc4bc RD |
36563 | </method> |
36564 | <method name="base_OnDraw" type="" overloaded="no"> | |
781d2982 | 36565 | <autodoc>base_OnDraw(self, DC dc)</autodoc> |
f32fc4bc RD |
36566 | <paramlist> |
36567 | <param name="dc" type="DC" default=""/> | |
36568 | </paramlist> | |
36569 | </method> | |
36570 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
781d2982 | 36571 | <autodoc>base_OnDrawContents(self, DC dc)</autodoc> |
f32fc4bc RD |
36572 | <paramlist> |
36573 | <param name="dc" type="DC" default=""/> | |
36574 | </paramlist> | |
36575 | </method> | |
36576 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
781d2982 | 36577 | <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc> |
f32fc4bc RD |
36578 | <paramlist> |
36579 | <param name="dc" type="DC" default=""/> | |
36580 | <param name="erase" type="bool" default="FALSE"/> | |
36581 | </paramlist> | |
36582 | </method> | |
36583 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
781d2982 | 36584 | <autodoc>base_OnMoveLinks(self, DC dc)</autodoc> |
f32fc4bc RD |
36585 | <paramlist> |
36586 | <param name="dc" type="DC" default=""/> | |
36587 | </paramlist> | |
36588 | </method> | |
36589 | <method name="base_OnErase" type="" overloaded="no"> | |
781d2982 | 36590 | <autodoc>base_OnErase(self, DC dc)</autodoc> |
f32fc4bc RD |
36591 | <paramlist> |
36592 | <param name="dc" type="DC" default=""/> | |
36593 | </paramlist> | |
36594 | </method> | |
36595 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
781d2982 | 36596 | <autodoc>base_OnEraseContents(self, DC dc)</autodoc> |
f32fc4bc RD |
36597 | <paramlist> |
36598 | <param name="dc" type="DC" default=""/> | |
36599 | </paramlist> | |
36600 | </method> | |
36601 | <method name="base_OnHighlight" type="" overloaded="no"> | |
781d2982 | 36602 | <autodoc>base_OnHighlight(self, DC dc)</autodoc> |
f32fc4bc RD |
36603 | <paramlist> |
36604 | <param name="dc" type="DC" default=""/> | |
36605 | </paramlist> | |
36606 | </method> | |
36607 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
781d2982 | 36608 | <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36609 | <paramlist> |
36610 | <param name="x" type="double" default=""/> | |
36611 | <param name="y" type="double" default=""/> | |
36612 | <param name="keys" type="int" default="0"/> | |
36613 | <param name="attachment" type="int" default="0"/> | |
36614 | </paramlist> | |
36615 | </method> | |
36616 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
781d2982 | 36617 | <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36618 | <paramlist> |
36619 | <param name="x" type="double" default=""/> | |
36620 | <param name="y" type="double" default=""/> | |
36621 | <param name="keys" type="int" default="0"/> | |
36622 | <param name="attachment" type="int" default="0"/> | |
36623 | </paramlist> | |
36624 | </method> | |
36625 | <method name="base_OnRightClick" type="" overloaded="no"> | |
781d2982 | 36626 | <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36627 | <paramlist> |
36628 | <param name="x" type="double" default=""/> | |
36629 | <param name="y" type="double" default=""/> | |
36630 | <param name="keys" type="int" default="0"/> | |
36631 | <param name="attachment" type="int" default="0"/> | |
36632 | </paramlist> | |
36633 | </method> | |
36634 | <method name="base_OnSize" type="" overloaded="no"> | |
781d2982 | 36635 | <autodoc>base_OnSize(self, double x, double y)</autodoc> |
f32fc4bc RD |
36636 | <paramlist> |
36637 | <param name="x" type="double" default=""/> | |
36638 | <param name="y" type="double" default=""/> | |
36639 | </paramlist> | |
36640 | </method> | |
36641 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
781d2982 | 36642 | <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
36643 | bool display=True) -> bool</autodoc> |
36644 | <paramlist> | |
36645 | <param name="dc" type="DC" default=""/> | |
36646 | <param name="x" type="double" default=""/> | |
36647 | <param name="y" type="double" default=""/> | |
36648 | <param name="old_x" type="double" default=""/> | |
36649 | <param name="old_y" type="double" default=""/> | |
36650 | <param name="display" type="bool" default="True"/> | |
36651 | </paramlist> | |
36652 | </method> | |
36653 | <method name="base_OnMovePost" type="" overloaded="no"> | |
781d2982 | 36654 | <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
36655 | bool display=True)</autodoc> |
36656 | <paramlist> | |
36657 | <param name="dc" type="DC" default=""/> | |
36658 | <param name="x" type="double" default=""/> | |
36659 | <param name="y" type="double" default=""/> | |
36660 | <param name="old_x" type="double" default=""/> | |
36661 | <param name="old_y" type="double" default=""/> | |
36662 | <param name="display" type="bool" default="True"/> | |
36663 | </paramlist> | |
36664 | </method> | |
36665 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
781d2982 | 36666 | <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36667 | <paramlist> |
36668 | <param name="draw" type="bool" default=""/> | |
36669 | <param name="x" type="double" default=""/> | |
36670 | <param name="y" type="double" default=""/> | |
36671 | <param name="keys" type="int" default="0"/> | |
36672 | <param name="attachment" type="int" default="0"/> | |
36673 | </paramlist> | |
36674 | </method> | |
36675 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 36676 | <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36677 | <paramlist> |
36678 | <param name="x" type="double" default=""/> | |
36679 | <param name="y" type="double" default=""/> | |
36680 | <param name="keys" type="int" default="0"/> | |
36681 | <param name="attachment" type="int" default="0"/> | |
36682 | </paramlist> | |
36683 | </method> | |
36684 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
781d2982 | 36685 | <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36686 | <paramlist> |
36687 | <param name="x" type="double" default=""/> | |
36688 | <param name="y" type="double" default=""/> | |
36689 | <param name="keys" type="int" default="0"/> | |
36690 | <param name="attachment" type="int" default="0"/> | |
36691 | </paramlist> | |
36692 | </method> | |
36693 | <method name="base_OnDragRight" type="" overloaded="no"> | |
781d2982 | 36694 | <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36695 | <paramlist> |
36696 | <param name="draw" type="bool" default=""/> | |
36697 | <param name="x" type="double" default=""/> | |
36698 | <param name="y" type="double" default=""/> | |
36699 | <param name="keys" type="int" default="0"/> | |
36700 | <param name="attachment" type="int" default="0"/> | |
36701 | </paramlist> | |
36702 | </method> | |
36703 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
781d2982 | 36704 | <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36705 | <paramlist> |
36706 | <param name="x" type="double" default=""/> | |
36707 | <param name="y" type="double" default=""/> | |
36708 | <param name="keys" type="int" default="0"/> | |
36709 | <param name="attachment" type="int" default="0"/> | |
36710 | </paramlist> | |
36711 | </method> | |
36712 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
781d2982 | 36713 | <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36714 | <paramlist> |
36715 | <param name="x" type="double" default=""/> | |
36716 | <param name="y" type="double" default=""/> | |
36717 | <param name="keys" type="int" default="0"/> | |
36718 | <param name="attachment" type="int" default="0"/> | |
36719 | </paramlist> | |
36720 | </method> | |
36721 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
781d2982 | 36722 | <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc> |
f32fc4bc RD |
36723 | <paramlist> |
36724 | <param name="dc" type="DC" default=""/> | |
36725 | <param name="x" type="double" default=""/> | |
36726 | <param name="y" type="double" default=""/> | |
36727 | <param name="w" type="double" default=""/> | |
36728 | <param name="h" type="double" default=""/> | |
36729 | </paramlist> | |
36730 | </method> | |
36731 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
781d2982 | 36732 | <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
36733 | <paramlist> |
36734 | <param name="dc" type="DC" default=""/> | |
36735 | </paramlist> | |
36736 | </method> | |
36737 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
781d2982 | 36738 | <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
36739 | <paramlist> |
36740 | <param name="dc" type="DC" default=""/> | |
36741 | </paramlist> | |
36742 | </method> | |
36743 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
781d2982 | 36744 | <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc> |
f32fc4bc RD |
36745 | <paramlist> |
36746 | <param name="dc" type="DC" default=""/> | |
36747 | <param name="moveControlPoints" type="bool" default="True"/> | |
36748 | </paramlist> | |
36749 | </method> | |
36750 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
781d2982 | 36751 | <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, |
f32fc4bc RD |
36752 | int attachment=0)</autodoc> |
36753 | <paramlist> | |
36754 | <param name="pt" type="PyControlPoint" default=""/> | |
36755 | <param name="draw" type="bool" default=""/> | |
36756 | <param name="x" type="double" default=""/> | |
36757 | <param name="y" type="double" default=""/> | |
36758 | <param name="keys" type="int" default="0"/> | |
36759 | <param name="attachment" type="int" default="0"/> | |
36760 | </paramlist> | |
36761 | </method> | |
36762 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 36763 | <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
36764 | int attachment=0)</autodoc> |
36765 | <paramlist> | |
36766 | <param name="pt" type="PyControlPoint" default=""/> | |
36767 | <param name="x" type="double" default=""/> | |
36768 | <param name="y" type="double" default=""/> | |
36769 | <param name="keys" type="int" default="0"/> | |
36770 | <param name="attachment" type="int" default="0"/> | |
36771 | </paramlist> | |
36772 | </method> | |
36773 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
781d2982 | 36774 | <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
36775 | int attachment=0)</autodoc> |
36776 | <paramlist> | |
36777 | <param name="pt" type="PyControlPoint" default=""/> | |
36778 | <param name="x" type="double" default=""/> | |
36779 | <param name="y" type="double" default=""/> | |
36780 | <param name="keys" type="int" default="0"/> | |
36781 | <param name="attachment" type="int" default="0"/> | |
36782 | </paramlist> | |
36783 | </method> | |
36784 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
781d2982 | 36785 | <autodoc>base_OnBeginSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
36786 | <paramlist> |
36787 | <param name="w" type="double" default=""/> | |
36788 | <param name="h" type="double" default=""/> | |
36789 | </paramlist> | |
36790 | </method> | |
36791 | <method name="base_OnEndSize" type="" overloaded="no"> | |
781d2982 | 36792 | <autodoc>base_OnEndSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
36793 | <paramlist> |
36794 | <param name="w" type="double" default=""/> | |
36795 | <param name="h" type="double" default=""/> | |
36796 | </paramlist> | |
36797 | </method> | |
36798 | </class> | |
36799 | <class name="PyPolygonShape" oldname="wxPyPolygonShape" module="ogl"> | |
36800 | <baseclass name="PyShape"/> | |
36801 | <constructor name="PyPolygonShape" overloaded="no"> | |
781d2982 | 36802 | <autodoc>__init__(self) -> PyPolygonShape</autodoc> |
f32fc4bc RD |
36803 | </constructor> |
36804 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 36805 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
36806 | <paramlist> |
36807 | <param name="self" type="PyObject" default=""/> | |
36808 | <param name="_class" type="PyObject" default=""/> | |
36809 | </paramlist> | |
36810 | </method> | |
36811 | <method name="Create" type="PyObject" overloaded="no"> | |
781d2982 | 36812 | <autodoc>Create(self, PyObject points) -> PyObject</autodoc> |
f32fc4bc RD |
36813 | <paramlist> |
36814 | <param name="points" type="PyObject" default=""/> | |
36815 | </paramlist> | |
36816 | </method> | |
36817 | <method name="AddPolygonPoint" type="" overloaded="no"> | |
781d2982 | 36818 | <autodoc>AddPolygonPoint(self, int pos=0)</autodoc> |
f32fc4bc RD |
36819 | <paramlist> |
36820 | <param name="pos" type="int" default="0"/> | |
36821 | </paramlist> | |
36822 | </method> | |
36823 | <method name="CalculatePolygonCentre" type="" overloaded="no"> | |
781d2982 | 36824 | <autodoc>CalculatePolygonCentre(self)</autodoc> |
f32fc4bc RD |
36825 | </method> |
36826 | <method name="DeletePolygonPoint" type="" overloaded="no"> | |
781d2982 | 36827 | <autodoc>DeletePolygonPoint(self, int pos=0)</autodoc> |
f32fc4bc RD |
36828 | <paramlist> |
36829 | <param name="pos" type="int" default="0"/> | |
36830 | </paramlist> | |
36831 | </method> | |
36832 | <method name="GetPoints" type="PyObject" overloaded="no"> | |
781d2982 | 36833 | <autodoc>GetPoints(self) -> PyObject</autodoc> |
f32fc4bc RD |
36834 | </method> |
36835 | <method name="GetOriginalPoints" type="PyObject" overloaded="no"> | |
781d2982 | 36836 | <autodoc>GetOriginalPoints(self) -> PyObject</autodoc> |
f32fc4bc RD |
36837 | </method> |
36838 | <method name="GetOriginalWidth" type="double" overloaded="no"> | |
781d2982 | 36839 | <autodoc>GetOriginalWidth(self) -> double</autodoc> |
f32fc4bc RD |
36840 | </method> |
36841 | <method name="GetOriginalHeight" type="double" overloaded="no"> | |
781d2982 | 36842 | <autodoc>GetOriginalHeight(self) -> double</autodoc> |
f32fc4bc RD |
36843 | </method> |
36844 | <method name="SetOriginalWidth" type="" overloaded="no"> | |
781d2982 | 36845 | <autodoc>SetOriginalWidth(self, double w)</autodoc> |
f32fc4bc RD |
36846 | <paramlist> |
36847 | <param name="w" type="double" default=""/> | |
36848 | </paramlist> | |
36849 | </method> | |
36850 | <method name="SetOriginalHeight" type="" overloaded="no"> | |
781d2982 | 36851 | <autodoc>SetOriginalHeight(self, double h)</autodoc> |
f32fc4bc RD |
36852 | <paramlist> |
36853 | <param name="h" type="double" default=""/> | |
36854 | </paramlist> | |
36855 | </method> | |
36856 | <method name="UpdateOriginalPoints" type="" overloaded="no"> | |
781d2982 | 36857 | <autodoc>UpdateOriginalPoints(self)</autodoc> |
f32fc4bc RD |
36858 | </method> |
36859 | <method name="base_OnDraw" type="" overloaded="no"> | |
781d2982 | 36860 | <autodoc>base_OnDraw(self, DC dc)</autodoc> |
f32fc4bc RD |
36861 | <paramlist> |
36862 | <param name="dc" type="DC" default=""/> | |
36863 | </paramlist> | |
36864 | </method> | |
36865 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
781d2982 | 36866 | <autodoc>base_OnDrawContents(self, DC dc)</autodoc> |
f32fc4bc RD |
36867 | <paramlist> |
36868 | <param name="dc" type="DC" default=""/> | |
36869 | </paramlist> | |
36870 | </method> | |
36871 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
781d2982 | 36872 | <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc> |
f32fc4bc RD |
36873 | <paramlist> |
36874 | <param name="dc" type="DC" default=""/> | |
36875 | <param name="erase" type="bool" default="FALSE"/> | |
36876 | </paramlist> | |
36877 | </method> | |
36878 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
781d2982 | 36879 | <autodoc>base_OnMoveLinks(self, DC dc)</autodoc> |
f32fc4bc RD |
36880 | <paramlist> |
36881 | <param name="dc" type="DC" default=""/> | |
36882 | </paramlist> | |
36883 | </method> | |
36884 | <method name="base_OnErase" type="" overloaded="no"> | |
781d2982 | 36885 | <autodoc>base_OnErase(self, DC dc)</autodoc> |
f32fc4bc RD |
36886 | <paramlist> |
36887 | <param name="dc" type="DC" default=""/> | |
36888 | </paramlist> | |
36889 | </method> | |
36890 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
781d2982 | 36891 | <autodoc>base_OnEraseContents(self, DC dc)</autodoc> |
f32fc4bc RD |
36892 | <paramlist> |
36893 | <param name="dc" type="DC" default=""/> | |
36894 | </paramlist> | |
36895 | </method> | |
36896 | <method name="base_OnHighlight" type="" overloaded="no"> | |
781d2982 | 36897 | <autodoc>base_OnHighlight(self, DC dc)</autodoc> |
f32fc4bc RD |
36898 | <paramlist> |
36899 | <param name="dc" type="DC" default=""/> | |
36900 | </paramlist> | |
36901 | </method> | |
36902 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
781d2982 | 36903 | <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36904 | <paramlist> |
36905 | <param name="x" type="double" default=""/> | |
36906 | <param name="y" type="double" default=""/> | |
36907 | <param name="keys" type="int" default="0"/> | |
36908 | <param name="attachment" type="int" default="0"/> | |
36909 | </paramlist> | |
36910 | </method> | |
36911 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
781d2982 | 36912 | <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36913 | <paramlist> |
36914 | <param name="x" type="double" default=""/> | |
36915 | <param name="y" type="double" default=""/> | |
36916 | <param name="keys" type="int" default="0"/> | |
36917 | <param name="attachment" type="int" default="0"/> | |
36918 | </paramlist> | |
36919 | </method> | |
36920 | <method name="base_OnRightClick" type="" overloaded="no"> | |
781d2982 | 36921 | <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36922 | <paramlist> |
36923 | <param name="x" type="double" default=""/> | |
36924 | <param name="y" type="double" default=""/> | |
36925 | <param name="keys" type="int" default="0"/> | |
36926 | <param name="attachment" type="int" default="0"/> | |
36927 | </paramlist> | |
36928 | </method> | |
36929 | <method name="base_OnSize" type="" overloaded="no"> | |
781d2982 | 36930 | <autodoc>base_OnSize(self, double x, double y)</autodoc> |
f32fc4bc RD |
36931 | <paramlist> |
36932 | <param name="x" type="double" default=""/> | |
36933 | <param name="y" type="double" default=""/> | |
36934 | </paramlist> | |
36935 | </method> | |
36936 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
781d2982 | 36937 | <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
36938 | bool display=True) -> bool</autodoc> |
36939 | <paramlist> | |
36940 | <param name="dc" type="DC" default=""/> | |
36941 | <param name="x" type="double" default=""/> | |
36942 | <param name="y" type="double" default=""/> | |
36943 | <param name="old_x" type="double" default=""/> | |
36944 | <param name="old_y" type="double" default=""/> | |
36945 | <param name="display" type="bool" default="True"/> | |
36946 | </paramlist> | |
36947 | </method> | |
36948 | <method name="base_OnMovePost" type="" overloaded="no"> | |
781d2982 | 36949 | <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
36950 | bool display=True)</autodoc> |
36951 | <paramlist> | |
36952 | <param name="dc" type="DC" default=""/> | |
36953 | <param name="x" type="double" default=""/> | |
36954 | <param name="y" type="double" default=""/> | |
36955 | <param name="old_x" type="double" default=""/> | |
36956 | <param name="old_y" type="double" default=""/> | |
36957 | <param name="display" type="bool" default="True"/> | |
36958 | </paramlist> | |
36959 | </method> | |
36960 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
781d2982 | 36961 | <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36962 | <paramlist> |
36963 | <param name="draw" type="bool" default=""/> | |
36964 | <param name="x" type="double" default=""/> | |
36965 | <param name="y" type="double" default=""/> | |
36966 | <param name="keys" type="int" default="0"/> | |
36967 | <param name="attachment" type="int" default="0"/> | |
36968 | </paramlist> | |
36969 | </method> | |
36970 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 36971 | <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36972 | <paramlist> |
36973 | <param name="x" type="double" default=""/> | |
36974 | <param name="y" type="double" default=""/> | |
36975 | <param name="keys" type="int" default="0"/> | |
36976 | <param name="attachment" type="int" default="0"/> | |
36977 | </paramlist> | |
36978 | </method> | |
36979 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
781d2982 | 36980 | <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36981 | <paramlist> |
36982 | <param name="x" type="double" default=""/> | |
36983 | <param name="y" type="double" default=""/> | |
36984 | <param name="keys" type="int" default="0"/> | |
36985 | <param name="attachment" type="int" default="0"/> | |
36986 | </paramlist> | |
36987 | </method> | |
36988 | <method name="base_OnDragRight" type="" overloaded="no"> | |
781d2982 | 36989 | <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
36990 | <paramlist> |
36991 | <param name="draw" type="bool" default=""/> | |
36992 | <param name="x" type="double" default=""/> | |
36993 | <param name="y" type="double" default=""/> | |
36994 | <param name="keys" type="int" default="0"/> | |
36995 | <param name="attachment" type="int" default="0"/> | |
36996 | </paramlist> | |
36997 | </method> | |
36998 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
781d2982 | 36999 | <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
37000 | <paramlist> |
37001 | <param name="x" type="double" default=""/> | |
37002 | <param name="y" type="double" default=""/> | |
37003 | <param name="keys" type="int" default="0"/> | |
37004 | <param name="attachment" type="int" default="0"/> | |
37005 | </paramlist> | |
37006 | </method> | |
37007 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
781d2982 | 37008 | <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
37009 | <paramlist> |
37010 | <param name="x" type="double" default=""/> | |
37011 | <param name="y" type="double" default=""/> | |
37012 | <param name="keys" type="int" default="0"/> | |
37013 | <param name="attachment" type="int" default="0"/> | |
37014 | </paramlist> | |
37015 | </method> | |
37016 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
781d2982 | 37017 | <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc> |
f32fc4bc RD |
37018 | <paramlist> |
37019 | <param name="dc" type="DC" default=""/> | |
37020 | <param name="x" type="double" default=""/> | |
37021 | <param name="y" type="double" default=""/> | |
37022 | <param name="w" type="double" default=""/> | |
37023 | <param name="h" type="double" default=""/> | |
37024 | </paramlist> | |
37025 | </method> | |
37026 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
781d2982 | 37027 | <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
37028 | <paramlist> |
37029 | <param name="dc" type="DC" default=""/> | |
37030 | </paramlist> | |
37031 | </method> | |
37032 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
781d2982 | 37033 | <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
37034 | <paramlist> |
37035 | <param name="dc" type="DC" default=""/> | |
37036 | </paramlist> | |
37037 | </method> | |
37038 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
781d2982 | 37039 | <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc> |
f32fc4bc RD |
37040 | <paramlist> |
37041 | <param name="dc" type="DC" default=""/> | |
37042 | <param name="moveControlPoints" type="bool" default="True"/> | |
37043 | </paramlist> | |
37044 | </method> | |
37045 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
781d2982 | 37046 | <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, |
f32fc4bc RD |
37047 | int attachment=0)</autodoc> |
37048 | <paramlist> | |
37049 | <param name="pt" type="PyControlPoint" default=""/> | |
37050 | <param name="draw" type="bool" default=""/> | |
37051 | <param name="x" type="double" default=""/> | |
37052 | <param name="y" type="double" default=""/> | |
37053 | <param name="keys" type="int" default="0"/> | |
37054 | <param name="attachment" type="int" default="0"/> | |
37055 | </paramlist> | |
37056 | </method> | |
37057 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 37058 | <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
37059 | int attachment=0)</autodoc> |
37060 | <paramlist> | |
37061 | <param name="pt" type="PyControlPoint" default=""/> | |
37062 | <param name="x" type="double" default=""/> | |
37063 | <param name="y" type="double" default=""/> | |
37064 | <param name="keys" type="int" default="0"/> | |
37065 | <param name="attachment" type="int" default="0"/> | |
37066 | </paramlist> | |
37067 | </method> | |
37068 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
781d2982 | 37069 | <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
37070 | int attachment=0)</autodoc> |
37071 | <paramlist> | |
37072 | <param name="pt" type="PyControlPoint" default=""/> | |
37073 | <param name="x" type="double" default=""/> | |
37074 | <param name="y" type="double" default=""/> | |
37075 | <param name="keys" type="int" default="0"/> | |
37076 | <param name="attachment" type="int" default="0"/> | |
37077 | </paramlist> | |
37078 | </method> | |
37079 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
781d2982 | 37080 | <autodoc>base_OnBeginSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
37081 | <paramlist> |
37082 | <param name="w" type="double" default=""/> | |
37083 | <param name="h" type="double" default=""/> | |
37084 | </paramlist> | |
37085 | </method> | |
37086 | <method name="base_OnEndSize" type="" overloaded="no"> | |
781d2982 | 37087 | <autodoc>base_OnEndSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
37088 | <paramlist> |
37089 | <param name="w" type="double" default=""/> | |
37090 | <param name="h" type="double" default=""/> | |
37091 | </paramlist> | |
37092 | </method> | |
37093 | </class> | |
37094 | <class name="PyTextShape" oldname="wxPyTextShape" module="ogl"> | |
37095 | <baseclass name="PyRectangleShape"/> | |
37096 | <constructor name="PyTextShape" overloaded="no"> | |
781d2982 | 37097 | <autodoc>__init__(self, double width=0.0, double height=0.0) -> PyTextShape</autodoc> |
f32fc4bc RD |
37098 | <paramlist> |
37099 | <param name="width" type="double" default="0.0"/> | |
37100 | <param name="height" type="double" default="0.0"/> | |
37101 | </paramlist> | |
37102 | </constructor> | |
37103 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 37104 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
37105 | <paramlist> |
37106 | <param name="self" type="PyObject" default=""/> | |
37107 | <param name="_class" type="PyObject" default=""/> | |
37108 | </paramlist> | |
37109 | </method> | |
37110 | <method name="base_OnDelete" type="" overloaded="no"> | |
781d2982 | 37111 | <autodoc>base_OnDelete(self)</autodoc> |
f32fc4bc RD |
37112 | </method> |
37113 | <method name="base_OnDraw" type="" overloaded="no"> | |
781d2982 | 37114 | <autodoc>base_OnDraw(self, DC dc)</autodoc> |
f32fc4bc RD |
37115 | <paramlist> |
37116 | <param name="dc" type="DC" default=""/> | |
37117 | </paramlist> | |
37118 | </method> | |
37119 | <method name="base_OnDrawContents" type="" overloaded="no"> | |
781d2982 | 37120 | <autodoc>base_OnDrawContents(self, DC dc)</autodoc> |
f32fc4bc RD |
37121 | <paramlist> |
37122 | <param name="dc" type="DC" default=""/> | |
37123 | </paramlist> | |
37124 | </method> | |
37125 | <method name="base_OnDrawBranches" type="" overloaded="no"> | |
781d2982 | 37126 | <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc> |
f32fc4bc RD |
37127 | <paramlist> |
37128 | <param name="dc" type="DC" default=""/> | |
37129 | <param name="erase" type="bool" default="FALSE"/> | |
37130 | </paramlist> | |
37131 | </method> | |
37132 | <method name="base_OnMoveLinks" type="" overloaded="no"> | |
781d2982 | 37133 | <autodoc>base_OnMoveLinks(self, DC dc)</autodoc> |
f32fc4bc RD |
37134 | <paramlist> |
37135 | <param name="dc" type="DC" default=""/> | |
37136 | </paramlist> | |
37137 | </method> | |
37138 | <method name="base_OnErase" type="" overloaded="no"> | |
781d2982 | 37139 | <autodoc>base_OnErase(self, DC dc)</autodoc> |
f32fc4bc RD |
37140 | <paramlist> |
37141 | <param name="dc" type="DC" default=""/> | |
37142 | </paramlist> | |
37143 | </method> | |
37144 | <method name="base_OnEraseContents" type="" overloaded="no"> | |
781d2982 | 37145 | <autodoc>base_OnEraseContents(self, DC dc)</autodoc> |
f32fc4bc RD |
37146 | <paramlist> |
37147 | <param name="dc" type="DC" default=""/> | |
37148 | </paramlist> | |
37149 | </method> | |
37150 | <method name="base_OnHighlight" type="" overloaded="no"> | |
781d2982 | 37151 | <autodoc>base_OnHighlight(self, DC dc)</autodoc> |
f32fc4bc RD |
37152 | <paramlist> |
37153 | <param name="dc" type="DC" default=""/> | |
37154 | </paramlist> | |
37155 | </method> | |
37156 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
781d2982 | 37157 | <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
37158 | <paramlist> |
37159 | <param name="x" type="double" default=""/> | |
37160 | <param name="y" type="double" default=""/> | |
37161 | <param name="keys" type="int" default="0"/> | |
37162 | <param name="attachment" type="int" default="0"/> | |
37163 | </paramlist> | |
37164 | </method> | |
37165 | <method name="base_OnLeftDoubleClick" type="" overloaded="no"> | |
781d2982 | 37166 | <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
37167 | <paramlist> |
37168 | <param name="x" type="double" default=""/> | |
37169 | <param name="y" type="double" default=""/> | |
37170 | <param name="keys" type="int" default="0"/> | |
37171 | <param name="attachment" type="int" default="0"/> | |
37172 | </paramlist> | |
37173 | </method> | |
37174 | <method name="base_OnRightClick" type="" overloaded="no"> | |
781d2982 | 37175 | <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
37176 | <paramlist> |
37177 | <param name="x" type="double" default=""/> | |
37178 | <param name="y" type="double" default=""/> | |
37179 | <param name="keys" type="int" default="0"/> | |
37180 | <param name="attachment" type="int" default="0"/> | |
37181 | </paramlist> | |
37182 | </method> | |
37183 | <method name="base_OnSize" type="" overloaded="no"> | |
781d2982 | 37184 | <autodoc>base_OnSize(self, double x, double y)</autodoc> |
f32fc4bc RD |
37185 | <paramlist> |
37186 | <param name="x" type="double" default=""/> | |
37187 | <param name="y" type="double" default=""/> | |
37188 | </paramlist> | |
37189 | </method> | |
37190 | <method name="base_OnMovePre" type="bool" overloaded="no"> | |
781d2982 | 37191 | <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
37192 | bool display=True) -> bool</autodoc> |
37193 | <paramlist> | |
37194 | <param name="dc" type="DC" default=""/> | |
37195 | <param name="x" type="double" default=""/> | |
37196 | <param name="y" type="double" default=""/> | |
37197 | <param name="old_x" type="double" default=""/> | |
37198 | <param name="old_y" type="double" default=""/> | |
37199 | <param name="display" type="bool" default="True"/> | |
37200 | </paramlist> | |
37201 | </method> | |
37202 | <method name="base_OnMovePost" type="" overloaded="no"> | |
781d2982 | 37203 | <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, |
f32fc4bc RD |
37204 | bool display=True)</autodoc> |
37205 | <paramlist> | |
37206 | <param name="dc" type="DC" default=""/> | |
37207 | <param name="x" type="double" default=""/> | |
37208 | <param name="y" type="double" default=""/> | |
37209 | <param name="old_x" type="double" default=""/> | |
37210 | <param name="old_y" type="double" default=""/> | |
37211 | <param name="display" type="bool" default="True"/> | |
37212 | </paramlist> | |
37213 | </method> | |
37214 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
781d2982 | 37215 | <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
37216 | <paramlist> |
37217 | <param name="draw" type="bool" default=""/> | |
37218 | <param name="x" type="double" default=""/> | |
37219 | <param name="y" type="double" default=""/> | |
37220 | <param name="keys" type="int" default="0"/> | |
37221 | <param name="attachment" type="int" default="0"/> | |
37222 | </paramlist> | |
37223 | </method> | |
37224 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 37225 | <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
37226 | <paramlist> |
37227 | <param name="x" type="double" default=""/> | |
37228 | <param name="y" type="double" default=""/> | |
37229 | <param name="keys" type="int" default="0"/> | |
37230 | <param name="attachment" type="int" default="0"/> | |
37231 | </paramlist> | |
37232 | </method> | |
37233 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
781d2982 | 37234 | <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
37235 | <paramlist> |
37236 | <param name="x" type="double" default=""/> | |
37237 | <param name="y" type="double" default=""/> | |
37238 | <param name="keys" type="int" default="0"/> | |
37239 | <param name="attachment" type="int" default="0"/> | |
37240 | </paramlist> | |
37241 | </method> | |
37242 | <method name="base_OnDragRight" type="" overloaded="no"> | |
781d2982 | 37243 | <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
37244 | <paramlist> |
37245 | <param name="draw" type="bool" default=""/> | |
37246 | <param name="x" type="double" default=""/> | |
37247 | <param name="y" type="double" default=""/> | |
37248 | <param name="keys" type="int" default="0"/> | |
37249 | <param name="attachment" type="int" default="0"/> | |
37250 | </paramlist> | |
37251 | </method> | |
37252 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
781d2982 | 37253 | <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
37254 | <paramlist> |
37255 | <param name="x" type="double" default=""/> | |
37256 | <param name="y" type="double" default=""/> | |
37257 | <param name="keys" type="int" default="0"/> | |
37258 | <param name="attachment" type="int" default="0"/> | |
37259 | </paramlist> | |
37260 | </method> | |
37261 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
781d2982 | 37262 | <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc> |
f32fc4bc RD |
37263 | <paramlist> |
37264 | <param name="x" type="double" default=""/> | |
37265 | <param name="y" type="double" default=""/> | |
37266 | <param name="keys" type="int" default="0"/> | |
37267 | <param name="attachment" type="int" default="0"/> | |
37268 | </paramlist> | |
37269 | </method> | |
37270 | <method name="base_OnDrawOutline" type="" overloaded="no"> | |
781d2982 | 37271 | <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc> |
f32fc4bc RD |
37272 | <paramlist> |
37273 | <param name="dc" type="DC" default=""/> | |
37274 | <param name="x" type="double" default=""/> | |
37275 | <param name="y" type="double" default=""/> | |
37276 | <param name="w" type="double" default=""/> | |
37277 | <param name="h" type="double" default=""/> | |
37278 | </paramlist> | |
37279 | </method> | |
37280 | <method name="base_OnDrawControlPoints" type="" overloaded="no"> | |
781d2982 | 37281 | <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
37282 | <paramlist> |
37283 | <param name="dc" type="DC" default=""/> | |
37284 | </paramlist> | |
37285 | </method> | |
37286 | <method name="base_OnEraseControlPoints" type="" overloaded="no"> | |
781d2982 | 37287 | <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc> |
f32fc4bc RD |
37288 | <paramlist> |
37289 | <param name="dc" type="DC" default=""/> | |
37290 | </paramlist> | |
37291 | </method> | |
37292 | <method name="base_OnMoveLink" type="" overloaded="no"> | |
781d2982 | 37293 | <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc> |
f32fc4bc RD |
37294 | <paramlist> |
37295 | <param name="dc" type="DC" default=""/> | |
37296 | <param name="moveControlPoints" type="bool" default="True"/> | |
37297 | </paramlist> | |
37298 | </method> | |
37299 | <method name="base_OnSizingDragLeft" type="" overloaded="no"> | |
781d2982 | 37300 | <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, |
f32fc4bc RD |
37301 | int attachment=0)</autodoc> |
37302 | <paramlist> | |
37303 | <param name="pt" type="PyControlPoint" default=""/> | |
37304 | <param name="draw" type="bool" default=""/> | |
37305 | <param name="x" type="double" default=""/> | |
37306 | <param name="y" type="double" default=""/> | |
37307 | <param name="keys" type="int" default="0"/> | |
37308 | <param name="attachment" type="int" default="0"/> | |
37309 | </paramlist> | |
37310 | </method> | |
37311 | <method name="base_OnSizingBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 37312 | <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
37313 | int attachment=0)</autodoc> |
37314 | <paramlist> | |
37315 | <param name="pt" type="PyControlPoint" default=""/> | |
37316 | <param name="x" type="double" default=""/> | |
37317 | <param name="y" type="double" default=""/> | |
37318 | <param name="keys" type="int" default="0"/> | |
37319 | <param name="attachment" type="int" default="0"/> | |
37320 | </paramlist> | |
37321 | </method> | |
37322 | <method name="base_OnSizingEndDragLeft" type="" overloaded="no"> | |
781d2982 | 37323 | <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, |
f32fc4bc RD |
37324 | int attachment=0)</autodoc> |
37325 | <paramlist> | |
37326 | <param name="pt" type="PyControlPoint" default=""/> | |
37327 | <param name="x" type="double" default=""/> | |
37328 | <param name="y" type="double" default=""/> | |
37329 | <param name="keys" type="int" default="0"/> | |
37330 | <param name="attachment" type="int" default="0"/> | |
37331 | </paramlist> | |
37332 | </method> | |
37333 | <method name="base_OnBeginSize" type="" overloaded="no"> | |
781d2982 | 37334 | <autodoc>base_OnBeginSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
37335 | <paramlist> |
37336 | <param name="w" type="double" default=""/> | |
37337 | <param name="h" type="double" default=""/> | |
37338 | </paramlist> | |
37339 | </method> | |
37340 | <method name="base_OnEndSize" type="" overloaded="no"> | |
781d2982 | 37341 | <autodoc>base_OnEndSize(self, double w, double h)</autodoc> |
f32fc4bc RD |
37342 | <paramlist> |
37343 | <param name="w" type="double" default=""/> | |
37344 | <param name="h" type="double" default=""/> | |
37345 | </paramlist> | |
37346 | </method> | |
37347 | </class> | |
37348 | <class name="Diagram" oldname="wxDiagram" module="ogl"> | |
37349 | <baseclass name="Object"/> | |
37350 | <constructor name="Diagram" overloaded="no"> | |
781d2982 | 37351 | <autodoc>__init__(self) -> Diagram</autodoc> |
f32fc4bc RD |
37352 | </constructor> |
37353 | <method name="AddShape" type="" overloaded="no"> | |
781d2982 | 37354 | <autodoc>AddShape(self, PyShape shape, PyShape addAfter=None)</autodoc> |
f32fc4bc RD |
37355 | <paramlist> |
37356 | <param name="shape" type="PyShape" default=""/> | |
37357 | <param name="addAfter" type="PyShape" default="NULL"/> | |
37358 | </paramlist> | |
37359 | </method> | |
37360 | <method name="Clear" type="" overloaded="no"> | |
781d2982 | 37361 | <autodoc>Clear(self, DC dc)</autodoc> |
f32fc4bc RD |
37362 | <paramlist> |
37363 | <param name="dc" type="DC" default=""/> | |
37364 | </paramlist> | |
37365 | </method> | |
37366 | <method name="DeleteAllShapes" type="" overloaded="no"> | |
781d2982 | 37367 | <autodoc>DeleteAllShapes(self)</autodoc> |
f32fc4bc RD |
37368 | </method> |
37369 | <method name="DrawOutline" type="" overloaded="no"> | |
781d2982 | 37370 | <autodoc>DrawOutline(self, DC dc, double x1, double y1, double x2, double y2)</autodoc> |
f32fc4bc RD |
37371 | <paramlist> |
37372 | <param name="dc" type="DC" default=""/> | |
37373 | <param name="x1" type="double" default=""/> | |
37374 | <param name="y1" type="double" default=""/> | |
37375 | <param name="x2" type="double" default=""/> | |
37376 | <param name="y2" type="double" default=""/> | |
37377 | </paramlist> | |
37378 | </method> | |
37379 | <method name="FindShape" type="PyShape" overloaded="no"> | |
781d2982 | 37380 | <autodoc>FindShape(self, long id) -> PyShape</autodoc> |
f32fc4bc RD |
37381 | <paramlist> |
37382 | <param name="id" type="long" default=""/> | |
37383 | </paramlist> | |
37384 | </method> | |
37385 | <method name="GetCanvas" type="wxPyShapeCanvas" overloaded="no"> | |
781d2982 | 37386 | <autodoc>GetCanvas(self) -> PyShapeCanvas</autodoc> |
f32fc4bc RD |
37387 | </method> |
37388 | <method name="GetCount" type="int" overloaded="no"> | |
781d2982 | 37389 | <autodoc>GetCount(self) -> int</autodoc> |
f32fc4bc RD |
37390 | </method> |
37391 | <method name="GetGridSpacing" type="double" overloaded="no"> | |
781d2982 | 37392 | <autodoc>GetGridSpacing(self) -> double</autodoc> |
f32fc4bc RD |
37393 | </method> |
37394 | <method name="GetMouseTolerance" type="int" overloaded="no"> | |
781d2982 | 37395 | <autodoc>GetMouseTolerance(self) -> int</autodoc> |
f32fc4bc RD |
37396 | </method> |
37397 | <method name="GetShapeList" type="PyObject" overloaded="no"> | |
781d2982 | 37398 | <autodoc>GetShapeList(self) -> PyObject</autodoc> |
f32fc4bc RD |
37399 | </method> |
37400 | <method name="GetQuickEditMode" type="bool" overloaded="no"> | |
781d2982 | 37401 | <autodoc>GetQuickEditMode(self) -> bool</autodoc> |
f32fc4bc RD |
37402 | </method> |
37403 | <method name="GetSnapToGrid" type="bool" overloaded="no"> | |
781d2982 | 37404 | <autodoc>GetSnapToGrid(self) -> bool</autodoc> |
f32fc4bc RD |
37405 | </method> |
37406 | <method name="InsertShape" type="" overloaded="no"> | |
781d2982 | 37407 | <autodoc>InsertShape(self, PyShape shape)</autodoc> |
f32fc4bc RD |
37408 | <paramlist> |
37409 | <param name="shape" type="PyShape" default=""/> | |
37410 | </paramlist> | |
37411 | </method> | |
37412 | <method name="RecentreAll" type="" overloaded="no"> | |
781d2982 | 37413 | <autodoc>RecentreAll(self, DC dc)</autodoc> |
f32fc4bc RD |
37414 | <paramlist> |
37415 | <param name="dc" type="DC" default=""/> | |
37416 | </paramlist> | |
37417 | </method> | |
37418 | <method name="Redraw" type="" overloaded="no"> | |
781d2982 | 37419 | <autodoc>Redraw(self, DC dc)</autodoc> |
f32fc4bc RD |
37420 | <paramlist> |
37421 | <param name="dc" type="DC" default=""/> | |
37422 | </paramlist> | |
37423 | </method> | |
37424 | <method name="RemoveAllShapes" type="" overloaded="no"> | |
781d2982 | 37425 | <autodoc>RemoveAllShapes(self)</autodoc> |
f32fc4bc RD |
37426 | </method> |
37427 | <method name="RemoveShape" type="" overloaded="no"> | |
781d2982 | 37428 | <autodoc>RemoveShape(self, PyShape shape)</autodoc> |
f32fc4bc RD |
37429 | <paramlist> |
37430 | <param name="shape" type="PyShape" default=""/> | |
37431 | </paramlist> | |
37432 | </method> | |
37433 | <method name="SetCanvas" type="" overloaded="no"> | |
781d2982 | 37434 | <autodoc>SetCanvas(self, PyShapeCanvas canvas)</autodoc> |
f32fc4bc RD |
37435 | <paramlist> |
37436 | <param name="canvas" type="wxPyShapeCanvas" default=""/> | |
37437 | </paramlist> | |
37438 | </method> | |
37439 | <method name="SetGridSpacing" type="" overloaded="no"> | |
781d2982 | 37440 | <autodoc>SetGridSpacing(self, double spacing)</autodoc> |
f32fc4bc RD |
37441 | <paramlist> |
37442 | <param name="spacing" type="double" default=""/> | |
37443 | </paramlist> | |
37444 | </method> | |
37445 | <method name="SetMouseTolerance" type="" overloaded="no"> | |
781d2982 | 37446 | <autodoc>SetMouseTolerance(self, int tolerance)</autodoc> |
f32fc4bc RD |
37447 | <paramlist> |
37448 | <param name="tolerance" type="int" default=""/> | |
37449 | </paramlist> | |
37450 | </method> | |
37451 | <method name="SetQuickEditMode" type="" overloaded="no"> | |
781d2982 | 37452 | <autodoc>SetQuickEditMode(self, bool mode)</autodoc> |
f32fc4bc RD |
37453 | <paramlist> |
37454 | <param name="mode" type="bool" default=""/> | |
37455 | </paramlist> | |
37456 | </method> | |
37457 | <method name="SetSnapToGrid" type="" overloaded="no"> | |
781d2982 | 37458 | <autodoc>SetSnapToGrid(self, bool snap)</autodoc> |
f32fc4bc RD |
37459 | <paramlist> |
37460 | <param name="snap" type="bool" default=""/> | |
37461 | </paramlist> | |
37462 | </method> | |
37463 | <method name="ShowAll" type="" overloaded="no"> | |
781d2982 | 37464 | <autodoc>ShowAll(self, bool show)</autodoc> |
f32fc4bc RD |
37465 | <paramlist> |
37466 | <param name="show" type="bool" default=""/> | |
37467 | </paramlist> | |
37468 | </method> | |
37469 | <method name="Snap" type="" overloaded="no"> | |
781d2982 | 37470 | <autodoc>Snap(self, double INOUT, double INOUT)</autodoc> |
f32fc4bc RD |
37471 | <paramlist> |
37472 | <param name="INOUT" type="double" default=""/> | |
37473 | <param name="INOUT" type="double" default=""/> | |
37474 | </paramlist> | |
37475 | </method> | |
37476 | </class> | |
37477 | <class name="PyShapeCanvas" oldname="wxPyShapeCanvas" module="ogl"> | |
37478 | <baseclass name="ScrolledWindow"/> | |
37479 | <constructor name="PyShapeCanvas" overloaded="no"> | |
781d2982 | 37480 | <autodoc>__init__(self, Window parent=None, int id=-1, Point pos=DefaultPosition, |
f32fc4bc RD |
37481 | Size size=DefaultSize, long style=BORDER, |
37482 | String name=wxPyShapeCanvasNameStr) -> PyShapeCanvas</autodoc> | |
37483 | <paramlist> | |
37484 | <param name="parent" type="Window" default="NULL"/> | |
37485 | <param name="id" type="int" default="-1"/> | |
37486 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
37487 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37488 | <param name="style" type="long" default="wxBORDER"/> | |
37489 | <param name="name" type="String" default="wxPyShapeCanvasNameStr"/> | |
37490 | </paramlist> | |
37491 | </constructor> | |
37492 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 37493 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
37494 | <paramlist> |
37495 | <param name="self" type="PyObject" default=""/> | |
37496 | <param name="_class" type="PyObject" default=""/> | |
37497 | </paramlist> | |
37498 | </method> | |
37499 | <method name="AddShape" type="" overloaded="no"> | |
781d2982 | 37500 | <autodoc>AddShape(self, PyShape shape, PyShape addAfter=None)</autodoc> |
f32fc4bc RD |
37501 | <paramlist> |
37502 | <param name="shape" type="PyShape" default=""/> | |
37503 | <param name="addAfter" type="PyShape" default="NULL"/> | |
37504 | </paramlist> | |
37505 | </method> | |
37506 | <method name="FindShape" type="PyShape" overloaded="no"> | |
781d2982 | 37507 | <autodoc>FindShape(self, double x1, double y, int OUTPUT, wxClassInfo info=None, |
f32fc4bc RD |
37508 | PyShape notImage=None) -> PyShape</autodoc> |
37509 | <paramlist> | |
37510 | <param name="x1" type="double" default=""/> | |
37511 | <param name="y" type="double" default=""/> | |
37512 | <param name="OUTPUT" type="int" default=""/> | |
37513 | <param name="info" type="wxClassInfo" default="NULL"/> | |
37514 | <param name="notImage" type="PyShape" default="NULL"/> | |
37515 | </paramlist> | |
37516 | </method> | |
37517 | <method name="FindFirstSensitiveShape" type="PyShape" overloaded="no"> | |
781d2982 | 37518 | <autodoc>FindFirstSensitiveShape(self, double x1, double y, int OUTPUT, int op) -> PyShape</autodoc> |
f32fc4bc RD |
37519 | <paramlist> |
37520 | <param name="x1" type="double" default=""/> | |
37521 | <param name="y" type="double" default=""/> | |
37522 | <param name="OUTPUT" type="int" default=""/> | |
37523 | <param name="op" type="int" default=""/> | |
37524 | </paramlist> | |
37525 | </method> | |
37526 | <method name="GetDiagram" type="Diagram" overloaded="no"> | |
781d2982 | 37527 | <autodoc>GetDiagram(self) -> Diagram</autodoc> |
f32fc4bc RD |
37528 | </method> |
37529 | <method name="GetQuickEditMode" type="bool" overloaded="no"> | |
781d2982 | 37530 | <autodoc>GetQuickEditMode(self) -> bool</autodoc> |
f32fc4bc RD |
37531 | </method> |
37532 | <method name="InsertShape" type="" overloaded="no"> | |
781d2982 | 37533 | <autodoc>InsertShape(self, PyShape shape)</autodoc> |
f32fc4bc RD |
37534 | <paramlist> |
37535 | <param name="shape" type="PyShape" default=""/> | |
37536 | </paramlist> | |
37537 | </method> | |
37538 | <method name="base_OnBeginDragLeft" type="" overloaded="no"> | |
781d2982 | 37539 | <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0)</autodoc> |
f32fc4bc RD |
37540 | <paramlist> |
37541 | <param name="x" type="double" default=""/> | |
37542 | <param name="y" type="double" default=""/> | |
37543 | <param name="keys" type="int" default="0"/> | |
37544 | </paramlist> | |
37545 | </method> | |
37546 | <method name="base_OnBeginDragRight" type="" overloaded="no"> | |
781d2982 | 37547 | <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0)</autodoc> |
f32fc4bc RD |
37548 | <paramlist> |
37549 | <param name="x" type="double" default=""/> | |
37550 | <param name="y" type="double" default=""/> | |
37551 | <param name="keys" type="int" default="0"/> | |
37552 | </paramlist> | |
37553 | </method> | |
37554 | <method name="base_OnEndDragLeft" type="" overloaded="no"> | |
781d2982 | 37555 | <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0)</autodoc> |
f32fc4bc RD |
37556 | <paramlist> |
37557 | <param name="x" type="double" default=""/> | |
37558 | <param name="y" type="double" default=""/> | |
37559 | <param name="keys" type="int" default="0"/> | |
37560 | </paramlist> | |
37561 | </method> | |
37562 | <method name="base_OnEndDragRight" type="" overloaded="no"> | |
781d2982 | 37563 | <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0)</autodoc> |
f32fc4bc RD |
37564 | <paramlist> |
37565 | <param name="x" type="double" default=""/> | |
37566 | <param name="y" type="double" default=""/> | |
37567 | <param name="keys" type="int" default="0"/> | |
37568 | </paramlist> | |
37569 | </method> | |
37570 | <method name="base_OnDragLeft" type="" overloaded="no"> | |
781d2982 | 37571 | <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0)</autodoc> |
f32fc4bc RD |
37572 | <paramlist> |
37573 | <param name="draw" type="bool" default=""/> | |
37574 | <param name="x" type="double" default=""/> | |
37575 | <param name="y" type="double" default=""/> | |
37576 | <param name="keys" type="int" default="0"/> | |
37577 | </paramlist> | |
37578 | </method> | |
37579 | <method name="base_OnDragRight" type="" overloaded="no"> | |
781d2982 | 37580 | <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0)</autodoc> |
f32fc4bc RD |
37581 | <paramlist> |
37582 | <param name="draw" type="bool" default=""/> | |
37583 | <param name="x" type="double" default=""/> | |
37584 | <param name="y" type="double" default=""/> | |
37585 | <param name="keys" type="int" default="0"/> | |
37586 | </paramlist> | |
37587 | </method> | |
37588 | <method name="base_OnLeftClick" type="" overloaded="no"> | |
781d2982 | 37589 | <autodoc>base_OnLeftClick(self, double x, double y, int keys=0)</autodoc> |
f32fc4bc RD |
37590 | <paramlist> |
37591 | <param name="x" type="double" default=""/> | |
37592 | <param name="y" type="double" default=""/> | |
37593 | <param name="keys" type="int" default="0"/> | |
37594 | </paramlist> | |
37595 | </method> | |
37596 | <method name="base_OnRightClick" type="" overloaded="no"> | |
781d2982 | 37597 | <autodoc>base_OnRightClick(self, double x, double y, int keys=0)</autodoc> |
f32fc4bc RD |
37598 | <paramlist> |
37599 | <param name="x" type="double" default=""/> | |
37600 | <param name="y" type="double" default=""/> | |
37601 | <param name="keys" type="int" default="0"/> | |
37602 | </paramlist> | |
37603 | </method> | |
37604 | <method name="Redraw" type="" overloaded="no"> | |
781d2982 | 37605 | <autodoc>Redraw(self, DC dc)</autodoc> |
f32fc4bc RD |
37606 | <paramlist> |
37607 | <param name="dc" type="DC" default=""/> | |
37608 | </paramlist> | |
37609 | </method> | |
37610 | <method name="RemoveShape" type="" overloaded="no"> | |
781d2982 | 37611 | <autodoc>RemoveShape(self, PyShape shape)</autodoc> |
f32fc4bc RD |
37612 | <paramlist> |
37613 | <param name="shape" type="PyShape" default=""/> | |
37614 | </paramlist> | |
37615 | </method> | |
37616 | <method name="SetDiagram" type="" overloaded="no"> | |
781d2982 | 37617 | <autodoc>SetDiagram(self, Diagram diagram)</autodoc> |
f32fc4bc RD |
37618 | <paramlist> |
37619 | <param name="diagram" type="Diagram" default=""/> | |
37620 | </paramlist> | |
37621 | </method> | |
37622 | <method name="Snap" type="" overloaded="no"> | |
781d2982 | 37623 | <autodoc>Snap(self, double INOUT, double INOUT)</autodoc> |
f32fc4bc RD |
37624 | <paramlist> |
37625 | <param name="INOUT" type="double" default=""/> | |
37626 | <param name="INOUT" type="double" default=""/> | |
37627 | </paramlist> | |
37628 | </method> | |
37629 | </class> | |
37630 | <pythoncode> | |
37631 | # Aliases | |
37632 | ShapeCanvas = PyShapeCanvas | |
37633 | ShapeEvtHandler = PyShapeEvtHandler | |
37634 | Shape = PyShape | |
37635 | RectangleShape = PyRectangleShape | |
37636 | BitmapShape = PyBitmapShape | |
37637 | DrawnShape = PyDrawnShape | |
37638 | CompositeShape = PyCompositeShape | |
37639 | DividedShape = PyDividedShape | |
37640 | DivisionShape = PyDivisionShape | |
37641 | EllipseShape = PyEllipseShape | |
37642 | CircleShape = PyCircleShape | |
37643 | LineShape = PyLineShape | |
37644 | PolygonShape = PyPolygonShape | |
37645 | TextShape = PyTextShape | |
37646 | ControlPoint = PyControlPoint | |
37647 | </pythoncode> | |
37648 | <method name="OGLInitialize" oldname="wxOGLInitialize" type="" overloaded="no"> | |
37649 | <autodoc>OGLInitialize()</autodoc> | |
37650 | </method> | |
37651 | <method name="OGLCleanUp" oldname="wxOGLCleanUp" type="" overloaded="no"> | |
37652 | <autodoc>OGLCleanUp()</autodoc> | |
37653 | </method> | |
37654 | </module> | |
37655 | <module name="stc"> | |
781d2982 RD |
37656 | <import name="_core"/> |
37657 | <import name="_misc"/> | |
37658 | <pythoncode> wx = _core </pythoncode> | |
37659 | <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode> | |
f32fc4bc RD |
37660 | <class name="StyledTextCtrl" oldname="wxStyledTextCtrl" module="stc"> |
37661 | <baseclass name="Control"/> | |
37662 | <constructor name="StyledTextCtrl" overloaded="no"> | |
781d2982 RD |
37663 | <autodoc>__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, |
37664 | Size size=DefaultSize, long style=0, String name=STCNameStr) -> StyledTextCtrl</autodoc> | |
f32fc4bc RD |
37665 | <paramlist> |
37666 | <param name="parent" type="Window" default=""/> | |
781d2982 | 37667 | <param name="id" type="int" default="wxID_ANY"/> |
f32fc4bc RD |
37668 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
37669 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37670 | <param name="style" type="long" default="0"/> | |
37671 | <param name="name" type="String" default="wxPySTCNameStr"/> | |
37672 | </paramlist> | |
37673 | </constructor> | |
37674 | <constructor name="PreStyledTextCtrl" overloaded="no"> | |
37675 | <autodoc>PreStyledTextCtrl() -> StyledTextCtrl</autodoc> | |
37676 | </constructor> | |
37677 | <method name="Create" type="" overloaded="no"> | |
781d2982 RD |
37678 | <autodoc>Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, |
37679 | Size size=DefaultSize, long style=0, String name=wxSTCNameStr)</autodoc> | |
f32fc4bc RD |
37680 | <paramlist> |
37681 | <param name="parent" type="Window" default=""/> | |
781d2982 | 37682 | <param name="id" type="int" default="wxID_ANY"/> |
f32fc4bc RD |
37683 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
37684 | <param name="size" type="Size" default="wxDefaultSize"/> | |
37685 | <param name="style" type="long" default="0"/> | |
37686 | <param name="name" type="String" default="wxSTCNameStr"/> | |
37687 | </paramlist> | |
37688 | </method> | |
37689 | <method name="AddText" type="" overloaded="no"> | |
781d2982 | 37690 | <autodoc>AddText(self, String text)</autodoc> |
f32fc4bc RD |
37691 | <paramlist> |
37692 | <param name="text" type="String" default=""/> | |
37693 | </paramlist> | |
37694 | </method> | |
37695 | <method name="AddStyledText" type="" overloaded="no"> | |
781d2982 | 37696 | <autodoc>AddStyledText(self, wxMemoryBuffer data)</autodoc> |
f32fc4bc RD |
37697 | <paramlist> |
37698 | <param name="data" type="wxMemoryBuffer" default=""/> | |
37699 | </paramlist> | |
37700 | </method> | |
37701 | <method name="InsertText" type="" overloaded="no"> | |
781d2982 | 37702 | <autodoc>InsertText(self, int pos, String text)</autodoc> |
f32fc4bc RD |
37703 | <paramlist> |
37704 | <param name="pos" type="int" default=""/> | |
37705 | <param name="text" type="String" default=""/> | |
37706 | </paramlist> | |
37707 | </method> | |
37708 | <method name="ClearAll" type="" overloaded="no"> | |
781d2982 | 37709 | <autodoc>ClearAll(self)</autodoc> |
f32fc4bc RD |
37710 | </method> |
37711 | <method name="ClearDocumentStyle" type="" overloaded="no"> | |
781d2982 | 37712 | <autodoc>ClearDocumentStyle(self)</autodoc> |
f32fc4bc RD |
37713 | </method> |
37714 | <method name="GetLength" type="int" overloaded="no"> | |
781d2982 | 37715 | <autodoc>GetLength(self) -> int</autodoc> |
f32fc4bc RD |
37716 | </method> |
37717 | <method name="GetCharAt" type="int" overloaded="no"> | |
781d2982 | 37718 | <autodoc>GetCharAt(self, int pos) -> int</autodoc> |
f32fc4bc RD |
37719 | <paramlist> |
37720 | <param name="pos" type="int" default=""/> | |
37721 | </paramlist> | |
37722 | </method> | |
37723 | <method name="GetCurrentPos" type="int" overloaded="no"> | |
781d2982 | 37724 | <autodoc>GetCurrentPos(self) -> int</autodoc> |
f32fc4bc RD |
37725 | </method> |
37726 | <method name="GetAnchor" type="int" overloaded="no"> | |
781d2982 | 37727 | <autodoc>GetAnchor(self) -> int</autodoc> |
f32fc4bc RD |
37728 | </method> |
37729 | <method name="GetStyleAt" type="int" overloaded="no"> | |
781d2982 | 37730 | <autodoc>GetStyleAt(self, int pos) -> int</autodoc> |
f32fc4bc RD |
37731 | <paramlist> |
37732 | <param name="pos" type="int" default=""/> | |
37733 | </paramlist> | |
37734 | </method> | |
37735 | <method name="Redo" type="" overloaded="no"> | |
781d2982 | 37736 | <autodoc>Redo(self)</autodoc> |
f32fc4bc RD |
37737 | </method> |
37738 | <method name="SetUndoCollection" type="" overloaded="no"> | |
781d2982 | 37739 | <autodoc>SetUndoCollection(self, bool collectUndo)</autodoc> |
f32fc4bc RD |
37740 | <paramlist> |
37741 | <param name="collectUndo" type="bool" default=""/> | |
37742 | </paramlist> | |
37743 | </method> | |
37744 | <method name="SelectAll" type="" overloaded="no"> | |
781d2982 | 37745 | <autodoc>SelectAll(self)</autodoc> |
f32fc4bc RD |
37746 | </method> |
37747 | <method name="SetSavePoint" type="" overloaded="no"> | |
781d2982 | 37748 | <autodoc>SetSavePoint(self)</autodoc> |
f32fc4bc RD |
37749 | </method> |
37750 | <method name="GetStyledText" type="wxMemoryBuffer" overloaded="no"> | |
781d2982 | 37751 | <autodoc>GetStyledText(self, int startPos, int endPos) -> wxMemoryBuffer</autodoc> |
f32fc4bc RD |
37752 | <paramlist> |
37753 | <param name="startPos" type="int" default=""/> | |
37754 | <param name="endPos" type="int" default=""/> | |
37755 | </paramlist> | |
37756 | </method> | |
37757 | <method name="CanRedo" type="bool" overloaded="no"> | |
781d2982 | 37758 | <autodoc>CanRedo(self) -> bool</autodoc> |
f32fc4bc RD |
37759 | </method> |
37760 | <method name="MarkerLineFromHandle" type="int" overloaded="no"> | |
781d2982 | 37761 | <autodoc>MarkerLineFromHandle(self, int handle) -> int</autodoc> |
f32fc4bc RD |
37762 | <paramlist> |
37763 | <param name="handle" type="int" default=""/> | |
37764 | </paramlist> | |
37765 | </method> | |
37766 | <method name="MarkerDeleteHandle" type="" overloaded="no"> | |
781d2982 | 37767 | <autodoc>MarkerDeleteHandle(self, int handle)</autodoc> |
f32fc4bc RD |
37768 | <paramlist> |
37769 | <param name="handle" type="int" default=""/> | |
37770 | </paramlist> | |
37771 | </method> | |
37772 | <method name="GetUndoCollection" type="bool" overloaded="no"> | |
781d2982 | 37773 | <autodoc>GetUndoCollection(self) -> bool</autodoc> |
f32fc4bc RD |
37774 | </method> |
37775 | <method name="GetViewWhiteSpace" type="int" overloaded="no"> | |
781d2982 | 37776 | <autodoc>GetViewWhiteSpace(self) -> int</autodoc> |
f32fc4bc RD |
37777 | </method> |
37778 | <method name="SetViewWhiteSpace" type="" overloaded="no"> | |
781d2982 | 37779 | <autodoc>SetViewWhiteSpace(self, int viewWS)</autodoc> |
f32fc4bc RD |
37780 | <paramlist> |
37781 | <param name="viewWS" type="int" default=""/> | |
37782 | </paramlist> | |
37783 | </method> | |
37784 | <method name="PositionFromPoint" type="int" overloaded="no"> | |
781d2982 | 37785 | <autodoc>PositionFromPoint(self, Point pt) -> int</autodoc> |
f32fc4bc RD |
37786 | <paramlist> |
37787 | <param name="pt" type="Point" default=""/> | |
37788 | </paramlist> | |
37789 | </method> | |
37790 | <method name="PositionFromPointClose" type="int" overloaded="no"> | |
781d2982 | 37791 | <autodoc>PositionFromPointClose(self, int x, int y) -> int</autodoc> |
f32fc4bc RD |
37792 | <paramlist> |
37793 | <param name="x" type="int" default=""/> | |
37794 | <param name="y" type="int" default=""/> | |
37795 | </paramlist> | |
37796 | </method> | |
37797 | <method name="GotoLine" type="" overloaded="no"> | |
781d2982 | 37798 | <autodoc>GotoLine(self, int line)</autodoc> |
f32fc4bc RD |
37799 | <paramlist> |
37800 | <param name="line" type="int" default=""/> | |
37801 | </paramlist> | |
37802 | </method> | |
37803 | <method name="GotoPos" type="" overloaded="no"> | |
781d2982 | 37804 | <autodoc>GotoPos(self, int pos)</autodoc> |
f32fc4bc RD |
37805 | <paramlist> |
37806 | <param name="pos" type="int" default=""/> | |
37807 | </paramlist> | |
37808 | </method> | |
37809 | <method name="SetAnchor" type="" overloaded="no"> | |
781d2982 | 37810 | <autodoc>SetAnchor(self, int posAnchor)</autodoc> |
f32fc4bc RD |
37811 | <paramlist> |
37812 | <param name="posAnchor" type="int" default=""/> | |
37813 | </paramlist> | |
37814 | </method> | |
37815 | <method name="GetCurLine" type="String" overloaded="no"> | |
781d2982 | 37816 | <autodoc>GetCurLine(self, int OUTPUT) -> String</autodoc> |
f32fc4bc RD |
37817 | <paramlist> |
37818 | <param name="OUTPUT" type="int" default=""/> | |
37819 | </paramlist> | |
37820 | </method> | |
37821 | <method name="GetEndStyled" type="int" overloaded="no"> | |
781d2982 | 37822 | <autodoc>GetEndStyled(self) -> int</autodoc> |
f32fc4bc RD |
37823 | </method> |
37824 | <method name="ConvertEOLs" type="" overloaded="no"> | |
781d2982 | 37825 | <autodoc>ConvertEOLs(self, int eolMode)</autodoc> |
f32fc4bc RD |
37826 | <paramlist> |
37827 | <param name="eolMode" type="int" default=""/> | |
37828 | </paramlist> | |
37829 | </method> | |
37830 | <method name="GetEOLMode" type="int" overloaded="no"> | |
781d2982 | 37831 | <autodoc>GetEOLMode(self) -> int</autodoc> |
f32fc4bc RD |
37832 | </method> |
37833 | <method name="SetEOLMode" type="" overloaded="no"> | |
781d2982 | 37834 | <autodoc>SetEOLMode(self, int eolMode)</autodoc> |
f32fc4bc RD |
37835 | <paramlist> |
37836 | <param name="eolMode" type="int" default=""/> | |
37837 | </paramlist> | |
37838 | </method> | |
37839 | <method name="StartStyling" type="" overloaded="no"> | |
781d2982 | 37840 | <autodoc>StartStyling(self, int pos, int mask)</autodoc> |
f32fc4bc RD |
37841 | <paramlist> |
37842 | <param name="pos" type="int" default=""/> | |
37843 | <param name="mask" type="int" default=""/> | |
37844 | </paramlist> | |
37845 | </method> | |
37846 | <method name="SetStyling" type="" overloaded="no"> | |
781d2982 | 37847 | <autodoc>SetStyling(self, int length, int style)</autodoc> |
f32fc4bc RD |
37848 | <paramlist> |
37849 | <param name="length" type="int" default=""/> | |
37850 | <param name="style" type="int" default=""/> | |
37851 | </paramlist> | |
37852 | </method> | |
37853 | <method name="GetBufferedDraw" type="bool" overloaded="no"> | |
781d2982 | 37854 | <autodoc>GetBufferedDraw(self) -> bool</autodoc> |
f32fc4bc RD |
37855 | </method> |
37856 | <method name="SetBufferedDraw" type="" overloaded="no"> | |
781d2982 | 37857 | <autodoc>SetBufferedDraw(self, bool buffered)</autodoc> |
f32fc4bc RD |
37858 | <paramlist> |
37859 | <param name="buffered" type="bool" default=""/> | |
37860 | </paramlist> | |
37861 | </method> | |
37862 | <method name="SetTabWidth" type="" overloaded="no"> | |
781d2982 | 37863 | <autodoc>SetTabWidth(self, int tabWidth)</autodoc> |
f32fc4bc RD |
37864 | <paramlist> |
37865 | <param name="tabWidth" type="int" default=""/> | |
37866 | </paramlist> | |
37867 | </method> | |
37868 | <method name="GetTabWidth" type="int" overloaded="no"> | |
781d2982 | 37869 | <autodoc>GetTabWidth(self) -> int</autodoc> |
f32fc4bc RD |
37870 | </method> |
37871 | <method name="SetCodePage" type="" overloaded="no"> | |
781d2982 | 37872 | <autodoc>SetCodePage(self, int codePage)</autodoc> |
f32fc4bc RD |
37873 | <paramlist> |
37874 | <param name="codePage" type="int" default=""/> | |
37875 | </paramlist> | |
37876 | </method> | |
37877 | <method name="MarkerDefine" type="" overloaded="no"> | |
781d2982 | 37878 | <autodoc>MarkerDefine(self, int markerNumber, int markerSymbol, Colour foreground=wxNullColour, |
f32fc4bc RD |
37879 | Colour background=wxNullColour)</autodoc> |
37880 | <paramlist> | |
37881 | <param name="markerNumber" type="int" default=""/> | |
37882 | <param name="markerSymbol" type="int" default=""/> | |
37883 | <param name="foreground" type="Colour" default="wxNullColour"/> | |
37884 | <param name="background" type="Colour" default="wxNullColour"/> | |
37885 | </paramlist> | |
37886 | </method> | |
37887 | <method name="MarkerSetForeground" type="" overloaded="no"> | |
781d2982 | 37888 | <autodoc>MarkerSetForeground(self, int markerNumber, Colour fore)</autodoc> |
f32fc4bc RD |
37889 | <paramlist> |
37890 | <param name="markerNumber" type="int" default=""/> | |
37891 | <param name="fore" type="Colour" default=""/> | |
37892 | </paramlist> | |
37893 | </method> | |
37894 | <method name="MarkerSetBackground" type="" overloaded="no"> | |
781d2982 | 37895 | <autodoc>MarkerSetBackground(self, int markerNumber, Colour back)</autodoc> |
f32fc4bc RD |
37896 | <paramlist> |
37897 | <param name="markerNumber" type="int" default=""/> | |
37898 | <param name="back" type="Colour" default=""/> | |
37899 | </paramlist> | |
37900 | </method> | |
37901 | <method name="MarkerAdd" type="int" overloaded="no"> | |
781d2982 | 37902 | <autodoc>MarkerAdd(self, int line, int markerNumber) -> int</autodoc> |
f32fc4bc RD |
37903 | <paramlist> |
37904 | <param name="line" type="int" default=""/> | |
37905 | <param name="markerNumber" type="int" default=""/> | |
37906 | </paramlist> | |
37907 | </method> | |
37908 | <method name="MarkerDelete" type="" overloaded="no"> | |
781d2982 | 37909 | <autodoc>MarkerDelete(self, int line, int markerNumber)</autodoc> |
f32fc4bc RD |
37910 | <paramlist> |
37911 | <param name="line" type="int" default=""/> | |
37912 | <param name="markerNumber" type="int" default=""/> | |
37913 | </paramlist> | |
37914 | </method> | |
37915 | <method name="MarkerDeleteAll" type="" overloaded="no"> | |
781d2982 | 37916 | <autodoc>MarkerDeleteAll(self, int markerNumber)</autodoc> |
f32fc4bc RD |
37917 | <paramlist> |
37918 | <param name="markerNumber" type="int" default=""/> | |
37919 | </paramlist> | |
37920 | </method> | |
37921 | <method name="MarkerGet" type="int" overloaded="no"> | |
781d2982 | 37922 | <autodoc>MarkerGet(self, int line) -> int</autodoc> |
f32fc4bc RD |
37923 | <paramlist> |
37924 | <param name="line" type="int" default=""/> | |
37925 | </paramlist> | |
37926 | </method> | |
37927 | <method name="MarkerNext" type="int" overloaded="no"> | |
781d2982 | 37928 | <autodoc>MarkerNext(self, int lineStart, int markerMask) -> int</autodoc> |
f32fc4bc RD |
37929 | <paramlist> |
37930 | <param name="lineStart" type="int" default=""/> | |
37931 | <param name="markerMask" type="int" default=""/> | |
37932 | </paramlist> | |
37933 | </method> | |
37934 | <method name="MarkerPrevious" type="int" overloaded="no"> | |
781d2982 | 37935 | <autodoc>MarkerPrevious(self, int lineStart, int markerMask) -> int</autodoc> |
f32fc4bc RD |
37936 | <paramlist> |
37937 | <param name="lineStart" type="int" default=""/> | |
37938 | <param name="markerMask" type="int" default=""/> | |
37939 | </paramlist> | |
37940 | </method> | |
37941 | <method name="MarkerDefineBitmap" type="" overloaded="no"> | |
781d2982 | 37942 | <autodoc>MarkerDefineBitmap(self, int markerNumber, Bitmap bmp)</autodoc> |
f32fc4bc RD |
37943 | <paramlist> |
37944 | <param name="markerNumber" type="int" default=""/> | |
37945 | <param name="bmp" type="Bitmap" default=""/> | |
37946 | </paramlist> | |
37947 | </method> | |
37948 | <method name="SetMarginType" type="" overloaded="no"> | |
781d2982 | 37949 | <autodoc>SetMarginType(self, int margin, int marginType)</autodoc> |
f32fc4bc RD |
37950 | <paramlist> |
37951 | <param name="margin" type="int" default=""/> | |
37952 | <param name="marginType" type="int" default=""/> | |
37953 | </paramlist> | |
37954 | </method> | |
37955 | <method name="GetMarginType" type="int" overloaded="no"> | |
781d2982 | 37956 | <autodoc>GetMarginType(self, int margin) -> int</autodoc> |
f32fc4bc RD |
37957 | <paramlist> |
37958 | <param name="margin" type="int" default=""/> | |
37959 | </paramlist> | |
37960 | </method> | |
37961 | <method name="SetMarginWidth" type="" overloaded="no"> | |
781d2982 | 37962 | <autodoc>SetMarginWidth(self, int margin, int pixelWidth)</autodoc> |
f32fc4bc RD |
37963 | <paramlist> |
37964 | <param name="margin" type="int" default=""/> | |
37965 | <param name="pixelWidth" type="int" default=""/> | |
37966 | </paramlist> | |
37967 | </method> | |
37968 | <method name="GetMarginWidth" type="int" overloaded="no"> | |
781d2982 | 37969 | <autodoc>GetMarginWidth(self, int margin) -> int</autodoc> |
f32fc4bc RD |
37970 | <paramlist> |
37971 | <param name="margin" type="int" default=""/> | |
37972 | </paramlist> | |
37973 | </method> | |
37974 | <method name="SetMarginMask" type="" overloaded="no"> | |
781d2982 | 37975 | <autodoc>SetMarginMask(self, int margin, int mask)</autodoc> |
f32fc4bc RD |
37976 | <paramlist> |
37977 | <param name="margin" type="int" default=""/> | |
37978 | <param name="mask" type="int" default=""/> | |
37979 | </paramlist> | |
37980 | </method> | |
37981 | <method name="GetMarginMask" type="int" overloaded="no"> | |
781d2982 | 37982 | <autodoc>GetMarginMask(self, int margin) -> int</autodoc> |
f32fc4bc RD |
37983 | <paramlist> |
37984 | <param name="margin" type="int" default=""/> | |
37985 | </paramlist> | |
37986 | </method> | |
37987 | <method name="SetMarginSensitive" type="" overloaded="no"> | |
781d2982 | 37988 | <autodoc>SetMarginSensitive(self, int margin, bool sensitive)</autodoc> |
f32fc4bc RD |
37989 | <paramlist> |
37990 | <param name="margin" type="int" default=""/> | |
37991 | <param name="sensitive" type="bool" default=""/> | |
37992 | </paramlist> | |
37993 | </method> | |
37994 | <method name="GetMarginSensitive" type="bool" overloaded="no"> | |
781d2982 | 37995 | <autodoc>GetMarginSensitive(self, int margin) -> bool</autodoc> |
f32fc4bc RD |
37996 | <paramlist> |
37997 | <param name="margin" type="int" default=""/> | |
37998 | </paramlist> | |
37999 | </method> | |
38000 | <method name="StyleClearAll" type="" overloaded="no"> | |
781d2982 | 38001 | <autodoc>StyleClearAll(self)</autodoc> |
f32fc4bc RD |
38002 | </method> |
38003 | <method name="StyleSetForeground" type="" overloaded="no"> | |
781d2982 | 38004 | <autodoc>StyleSetForeground(self, int style, Colour fore)</autodoc> |
f32fc4bc RD |
38005 | <paramlist> |
38006 | <param name="style" type="int" default=""/> | |
38007 | <param name="fore" type="Colour" default=""/> | |
38008 | </paramlist> | |
38009 | </method> | |
38010 | <method name="StyleSetBackground" type="" overloaded="no"> | |
781d2982 | 38011 | <autodoc>StyleSetBackground(self, int style, Colour back)</autodoc> |
f32fc4bc RD |
38012 | <paramlist> |
38013 | <param name="style" type="int" default=""/> | |
38014 | <param name="back" type="Colour" default=""/> | |
38015 | </paramlist> | |
38016 | </method> | |
38017 | <method name="StyleSetBold" type="" overloaded="no"> | |
781d2982 | 38018 | <autodoc>StyleSetBold(self, int style, bool bold)</autodoc> |
f32fc4bc RD |
38019 | <paramlist> |
38020 | <param name="style" type="int" default=""/> | |
38021 | <param name="bold" type="bool" default=""/> | |
38022 | </paramlist> | |
38023 | </method> | |
38024 | <method name="StyleSetItalic" type="" overloaded="no"> | |
781d2982 | 38025 | <autodoc>StyleSetItalic(self, int style, bool italic)</autodoc> |
f32fc4bc RD |
38026 | <paramlist> |
38027 | <param name="style" type="int" default=""/> | |
38028 | <param name="italic" type="bool" default=""/> | |
38029 | </paramlist> | |
38030 | </method> | |
38031 | <method name="StyleSetSize" type="" overloaded="no"> | |
781d2982 | 38032 | <autodoc>StyleSetSize(self, int style, int sizePoints)</autodoc> |
f32fc4bc RD |
38033 | <paramlist> |
38034 | <param name="style" type="int" default=""/> | |
38035 | <param name="sizePoints" type="int" default=""/> | |
38036 | </paramlist> | |
38037 | </method> | |
38038 | <method name="StyleSetFaceName" type="" overloaded="no"> | |
781d2982 | 38039 | <autodoc>StyleSetFaceName(self, int style, String fontName)</autodoc> |
f32fc4bc RD |
38040 | <paramlist> |
38041 | <param name="style" type="int" default=""/> | |
38042 | <param name="fontName" type="String" default=""/> | |
38043 | </paramlist> | |
38044 | </method> | |
38045 | <method name="StyleSetEOLFilled" type="" overloaded="no"> | |
781d2982 | 38046 | <autodoc>StyleSetEOLFilled(self, int style, bool filled)</autodoc> |
f32fc4bc RD |
38047 | <paramlist> |
38048 | <param name="style" type="int" default=""/> | |
38049 | <param name="filled" type="bool" default=""/> | |
38050 | </paramlist> | |
38051 | </method> | |
38052 | <method name="StyleResetDefault" type="" overloaded="no"> | |
781d2982 | 38053 | <autodoc>StyleResetDefault(self)</autodoc> |
f32fc4bc RD |
38054 | </method> |
38055 | <method name="StyleSetUnderline" type="" overloaded="no"> | |
781d2982 | 38056 | <autodoc>StyleSetUnderline(self, int style, bool underline)</autodoc> |
f32fc4bc RD |
38057 | <paramlist> |
38058 | <param name="style" type="int" default=""/> | |
38059 | <param name="underline" type="bool" default=""/> | |
38060 | </paramlist> | |
38061 | </method> | |
38062 | <method name="StyleSetCase" type="" overloaded="no"> | |
781d2982 | 38063 | <autodoc>StyleSetCase(self, int style, int caseForce)</autodoc> |
f32fc4bc RD |
38064 | <paramlist> |
38065 | <param name="style" type="int" default=""/> | |
38066 | <param name="caseForce" type="int" default=""/> | |
38067 | </paramlist> | |
38068 | </method> | |
38069 | <method name="StyleSetCharacterSet" type="" overloaded="no"> | |
781d2982 | 38070 | <autodoc>StyleSetCharacterSet(self, int style, int characterSet)</autodoc> |
f32fc4bc RD |
38071 | <paramlist> |
38072 | <param name="style" type="int" default=""/> | |
38073 | <param name="characterSet" type="int" default=""/> | |
38074 | </paramlist> | |
38075 | </method> | |
38076 | <method name="StyleSetHotSpot" type="" overloaded="no"> | |
781d2982 | 38077 | <autodoc>StyleSetHotSpot(self, int style, bool hotspot)</autodoc> |
f32fc4bc RD |
38078 | <paramlist> |
38079 | <param name="style" type="int" default=""/> | |
38080 | <param name="hotspot" type="bool" default=""/> | |
38081 | </paramlist> | |
38082 | </method> | |
38083 | <method name="SetSelForeground" type="" overloaded="no"> | |
781d2982 | 38084 | <autodoc>SetSelForeground(self, bool useSetting, Colour fore)</autodoc> |
f32fc4bc RD |
38085 | <paramlist> |
38086 | <param name="useSetting" type="bool" default=""/> | |
38087 | <param name="fore" type="Colour" default=""/> | |
38088 | </paramlist> | |
38089 | </method> | |
38090 | <method name="SetSelBackground" type="" overloaded="no"> | |
781d2982 | 38091 | <autodoc>SetSelBackground(self, bool useSetting, Colour back)</autodoc> |
f32fc4bc RD |
38092 | <paramlist> |
38093 | <param name="useSetting" type="bool" default=""/> | |
38094 | <param name="back" type="Colour" default=""/> | |
38095 | </paramlist> | |
38096 | </method> | |
38097 | <method name="SetCaretForeground" type="" overloaded="no"> | |
781d2982 | 38098 | <autodoc>SetCaretForeground(self, Colour fore)</autodoc> |
f32fc4bc RD |
38099 | <paramlist> |
38100 | <param name="fore" type="Colour" default=""/> | |
38101 | </paramlist> | |
38102 | </method> | |
38103 | <method name="CmdKeyAssign" type="" overloaded="no"> | |
781d2982 | 38104 | <autodoc>CmdKeyAssign(self, int key, int modifiers, int cmd)</autodoc> |
f32fc4bc RD |
38105 | <paramlist> |
38106 | <param name="key" type="int" default=""/> | |
38107 | <param name="modifiers" type="int" default=""/> | |
38108 | <param name="cmd" type="int" default=""/> | |
38109 | </paramlist> | |
38110 | </method> | |
38111 | <method name="CmdKeyClear" type="" overloaded="no"> | |
781d2982 | 38112 | <autodoc>CmdKeyClear(self, int key, int modifiers)</autodoc> |
f32fc4bc RD |
38113 | <paramlist> |
38114 | <param name="key" type="int" default=""/> | |
38115 | <param name="modifiers" type="int" default=""/> | |
38116 | </paramlist> | |
38117 | </method> | |
38118 | <method name="CmdKeyClearAll" type="" overloaded="no"> | |
781d2982 | 38119 | <autodoc>CmdKeyClearAll(self)</autodoc> |
f32fc4bc RD |
38120 | </method> |
38121 | <method name="SetStyleBytes" type="" overloaded="no"> | |
781d2982 | 38122 | <autodoc>SetStyleBytes(self, int length, char styleBytes)</autodoc> |
f32fc4bc RD |
38123 | <paramlist> |
38124 | <param name="length" type="int" default=""/> | |
38125 | <param name="styleBytes" type="char" default=""/> | |
38126 | </paramlist> | |
38127 | </method> | |
38128 | <method name="StyleSetVisible" type="" overloaded="no"> | |
781d2982 | 38129 | <autodoc>StyleSetVisible(self, int style, bool visible)</autodoc> |
f32fc4bc RD |
38130 | <paramlist> |
38131 | <param name="style" type="int" default=""/> | |
38132 | <param name="visible" type="bool" default=""/> | |
38133 | </paramlist> | |
38134 | </method> | |
38135 | <method name="GetCaretPeriod" type="int" overloaded="no"> | |
781d2982 | 38136 | <autodoc>GetCaretPeriod(self) -> int</autodoc> |
f32fc4bc RD |
38137 | </method> |
38138 | <method name="SetCaretPeriod" type="" overloaded="no"> | |
781d2982 | 38139 | <autodoc>SetCaretPeriod(self, int periodMilliseconds)</autodoc> |
f32fc4bc RD |
38140 | <paramlist> |
38141 | <param name="periodMilliseconds" type="int" default=""/> | |
38142 | </paramlist> | |
38143 | </method> | |
38144 | <method name="SetWordChars" type="" overloaded="no"> | |
781d2982 | 38145 | <autodoc>SetWordChars(self, String characters)</autodoc> |
f32fc4bc RD |
38146 | <paramlist> |
38147 | <param name="characters" type="String" default=""/> | |
38148 | </paramlist> | |
38149 | </method> | |
38150 | <method name="BeginUndoAction" type="" overloaded="no"> | |
781d2982 | 38151 | <autodoc>BeginUndoAction(self)</autodoc> |
f32fc4bc RD |
38152 | </method> |
38153 | <method name="EndUndoAction" type="" overloaded="no"> | |
781d2982 | 38154 | <autodoc>EndUndoAction(self)</autodoc> |
f32fc4bc RD |
38155 | </method> |
38156 | <method name="IndicatorSetStyle" type="" overloaded="no"> | |
781d2982 | 38157 | <autodoc>IndicatorSetStyle(self, int indic, int style)</autodoc> |
f32fc4bc RD |
38158 | <paramlist> |
38159 | <param name="indic" type="int" default=""/> | |
38160 | <param name="style" type="int" default=""/> | |
38161 | </paramlist> | |
38162 | </method> | |
38163 | <method name="IndicatorGetStyle" type="int" overloaded="no"> | |
781d2982 | 38164 | <autodoc>IndicatorGetStyle(self, int indic) -> int</autodoc> |
f32fc4bc RD |
38165 | <paramlist> |
38166 | <param name="indic" type="int" default=""/> | |
38167 | </paramlist> | |
38168 | </method> | |
38169 | <method name="IndicatorSetForeground" type="" overloaded="no"> | |
781d2982 | 38170 | <autodoc>IndicatorSetForeground(self, int indic, Colour fore)</autodoc> |
f32fc4bc RD |
38171 | <paramlist> |
38172 | <param name="indic" type="int" default=""/> | |
38173 | <param name="fore" type="Colour" default=""/> | |
38174 | </paramlist> | |
38175 | </method> | |
38176 | <method name="IndicatorGetForeground" type="Colour" overloaded="no"> | |
781d2982 | 38177 | <autodoc>IndicatorGetForeground(self, int indic) -> Colour</autodoc> |
f32fc4bc RD |
38178 | <paramlist> |
38179 | <param name="indic" type="int" default=""/> | |
38180 | </paramlist> | |
38181 | </method> | |
38182 | <method name="SetWhitespaceForeground" type="" overloaded="no"> | |
781d2982 | 38183 | <autodoc>SetWhitespaceForeground(self, bool useSetting, Colour fore)</autodoc> |
f32fc4bc RD |
38184 | <paramlist> |
38185 | <param name="useSetting" type="bool" default=""/> | |
38186 | <param name="fore" type="Colour" default=""/> | |
38187 | </paramlist> | |
38188 | </method> | |
38189 | <method name="SetWhitespaceBackground" type="" overloaded="no"> | |
781d2982 | 38190 | <autodoc>SetWhitespaceBackground(self, bool useSetting, Colour back)</autodoc> |
f32fc4bc RD |
38191 | <paramlist> |
38192 | <param name="useSetting" type="bool" default=""/> | |
38193 | <param name="back" type="Colour" default=""/> | |
38194 | </paramlist> | |
38195 | </method> | |
38196 | <method name="SetStyleBits" type="" overloaded="no"> | |
781d2982 | 38197 | <autodoc>SetStyleBits(self, int bits)</autodoc> |
f32fc4bc RD |
38198 | <paramlist> |
38199 | <param name="bits" type="int" default=""/> | |
38200 | </paramlist> | |
38201 | </method> | |
38202 | <method name="GetStyleBits" type="int" overloaded="no"> | |
781d2982 | 38203 | <autodoc>GetStyleBits(self) -> int</autodoc> |
f32fc4bc RD |
38204 | </method> |
38205 | <method name="SetLineState" type="" overloaded="no"> | |
781d2982 | 38206 | <autodoc>SetLineState(self, int line, int state)</autodoc> |
f32fc4bc RD |
38207 | <paramlist> |
38208 | <param name="line" type="int" default=""/> | |
38209 | <param name="state" type="int" default=""/> | |
38210 | </paramlist> | |
38211 | </method> | |
38212 | <method name="GetLineState" type="int" overloaded="no"> | |
781d2982 | 38213 | <autodoc>GetLineState(self, int line) -> int</autodoc> |
f32fc4bc RD |
38214 | <paramlist> |
38215 | <param name="line" type="int" default=""/> | |
38216 | </paramlist> | |
38217 | </method> | |
38218 | <method name="GetMaxLineState" type="int" overloaded="no"> | |
781d2982 | 38219 | <autodoc>GetMaxLineState(self) -> int</autodoc> |
f32fc4bc RD |
38220 | </method> |
38221 | <method name="GetCaretLineVisible" type="bool" overloaded="no"> | |
781d2982 | 38222 | <autodoc>GetCaretLineVisible(self) -> bool</autodoc> |
f32fc4bc RD |
38223 | </method> |
38224 | <method name="SetCaretLineVisible" type="" overloaded="no"> | |
781d2982 | 38225 | <autodoc>SetCaretLineVisible(self, bool show)</autodoc> |
f32fc4bc RD |
38226 | <paramlist> |
38227 | <param name="show" type="bool" default=""/> | |
38228 | </paramlist> | |
38229 | </method> | |
38230 | <method name="GetCaretLineBack" type="Colour" overloaded="no"> | |
781d2982 | 38231 | <autodoc>GetCaretLineBack(self) -> Colour</autodoc> |
f32fc4bc RD |
38232 | </method> |
38233 | <method name="SetCaretLineBack" type="" overloaded="no"> | |
781d2982 | 38234 | <autodoc>SetCaretLineBack(self, Colour back)</autodoc> |
f32fc4bc RD |
38235 | <paramlist> |
38236 | <param name="back" type="Colour" default=""/> | |
38237 | </paramlist> | |
38238 | </method> | |
38239 | <method name="StyleSetChangeable" type="" overloaded="no"> | |
781d2982 | 38240 | <autodoc>StyleSetChangeable(self, int style, bool changeable)</autodoc> |
f32fc4bc RD |
38241 | <paramlist> |
38242 | <param name="style" type="int" default=""/> | |
38243 | <param name="changeable" type="bool" default=""/> | |
38244 | </paramlist> | |
38245 | </method> | |
38246 | <method name="AutoCompShow" type="" overloaded="no"> | |
781d2982 | 38247 | <autodoc>AutoCompShow(self, int lenEntered, String itemList)</autodoc> |
f32fc4bc RD |
38248 | <paramlist> |
38249 | <param name="lenEntered" type="int" default=""/> | |
38250 | <param name="itemList" type="String" default=""/> | |
38251 | </paramlist> | |
38252 | </method> | |
38253 | <method name="AutoCompCancel" type="" overloaded="no"> | |
781d2982 | 38254 | <autodoc>AutoCompCancel(self)</autodoc> |
f32fc4bc RD |
38255 | </method> |
38256 | <method name="AutoCompActive" type="bool" overloaded="no"> | |
781d2982 | 38257 | <autodoc>AutoCompActive(self) -> bool</autodoc> |
f32fc4bc RD |
38258 | </method> |
38259 | <method name="AutoCompPosStart" type="int" overloaded="no"> | |
781d2982 | 38260 | <autodoc>AutoCompPosStart(self) -> int</autodoc> |
f32fc4bc RD |
38261 | </method> |
38262 | <method name="AutoCompComplete" type="" overloaded="no"> | |
781d2982 | 38263 | <autodoc>AutoCompComplete(self)</autodoc> |
f32fc4bc RD |
38264 | </method> |
38265 | <method name="AutoCompStops" type="" overloaded="no"> | |
781d2982 | 38266 | <autodoc>AutoCompStops(self, String characterSet)</autodoc> |
f32fc4bc RD |
38267 | <paramlist> |
38268 | <param name="characterSet" type="String" default=""/> | |
38269 | </paramlist> | |
38270 | </method> | |
38271 | <method name="AutoCompSetSeparator" type="" overloaded="no"> | |
781d2982 | 38272 | <autodoc>AutoCompSetSeparator(self, int separatorCharacter)</autodoc> |
f32fc4bc RD |
38273 | <paramlist> |
38274 | <param name="separatorCharacter" type="int" default=""/> | |
38275 | </paramlist> | |
38276 | </method> | |
38277 | <method name="AutoCompGetSeparator" type="int" overloaded="no"> | |
781d2982 | 38278 | <autodoc>AutoCompGetSeparator(self) -> int</autodoc> |
f32fc4bc RD |
38279 | </method> |
38280 | <method name="AutoCompSelect" type="" overloaded="no"> | |
781d2982 | 38281 | <autodoc>AutoCompSelect(self, String text)</autodoc> |
f32fc4bc RD |
38282 | <paramlist> |
38283 | <param name="text" type="String" default=""/> | |
38284 | </paramlist> | |
38285 | </method> | |
38286 | <method name="AutoCompSetCancelAtStart" type="" overloaded="no"> | |
781d2982 | 38287 | <autodoc>AutoCompSetCancelAtStart(self, bool cancel)</autodoc> |
f32fc4bc RD |
38288 | <paramlist> |
38289 | <param name="cancel" type="bool" default=""/> | |
38290 | </paramlist> | |
38291 | </method> | |
38292 | <method name="AutoCompGetCancelAtStart" type="bool" overloaded="no"> | |
781d2982 | 38293 | <autodoc>AutoCompGetCancelAtStart(self) -> bool</autodoc> |
f32fc4bc RD |
38294 | </method> |
38295 | <method name="AutoCompSetFillUps" type="" overloaded="no"> | |
781d2982 | 38296 | <autodoc>AutoCompSetFillUps(self, String characterSet)</autodoc> |
f32fc4bc RD |
38297 | <paramlist> |
38298 | <param name="characterSet" type="String" default=""/> | |
38299 | </paramlist> | |
38300 | </method> | |
38301 | <method name="AutoCompSetChooseSingle" type="" overloaded="no"> | |
781d2982 | 38302 | <autodoc>AutoCompSetChooseSingle(self, bool chooseSingle)</autodoc> |
f32fc4bc RD |
38303 | <paramlist> |
38304 | <param name="chooseSingle" type="bool" default=""/> | |
38305 | </paramlist> | |
38306 | </method> | |
38307 | <method name="AutoCompGetChooseSingle" type="bool" overloaded="no"> | |
781d2982 | 38308 | <autodoc>AutoCompGetChooseSingle(self) -> bool</autodoc> |
f32fc4bc RD |
38309 | </method> |
38310 | <method name="AutoCompSetIgnoreCase" type="" overloaded="no"> | |
781d2982 | 38311 | <autodoc>AutoCompSetIgnoreCase(self, bool ignoreCase)</autodoc> |
f32fc4bc RD |
38312 | <paramlist> |
38313 | <param name="ignoreCase" type="bool" default=""/> | |
38314 | </paramlist> | |
38315 | </method> | |
38316 | <method name="AutoCompGetIgnoreCase" type="bool" overloaded="no"> | |
781d2982 | 38317 | <autodoc>AutoCompGetIgnoreCase(self) -> bool</autodoc> |
f32fc4bc RD |
38318 | </method> |
38319 | <method name="UserListShow" type="" overloaded="no"> | |
781d2982 | 38320 | <autodoc>UserListShow(self, int listType, String itemList)</autodoc> |
f32fc4bc RD |
38321 | <paramlist> |
38322 | <param name="listType" type="int" default=""/> | |
38323 | <param name="itemList" type="String" default=""/> | |
38324 | </paramlist> | |
38325 | </method> | |
38326 | <method name="AutoCompSetAutoHide" type="" overloaded="no"> | |
781d2982 | 38327 | <autodoc>AutoCompSetAutoHide(self, bool autoHide)</autodoc> |
f32fc4bc RD |
38328 | <paramlist> |
38329 | <param name="autoHide" type="bool" default=""/> | |
38330 | </paramlist> | |
38331 | </method> | |
38332 | <method name="AutoCompGetAutoHide" type="bool" overloaded="no"> | |
781d2982 | 38333 | <autodoc>AutoCompGetAutoHide(self) -> bool</autodoc> |
f32fc4bc RD |
38334 | </method> |
38335 | <method name="AutoCompSetDropRestOfWord" type="" overloaded="no"> | |
781d2982 | 38336 | <autodoc>AutoCompSetDropRestOfWord(self, bool dropRestOfWord)</autodoc> |
f32fc4bc RD |
38337 | <paramlist> |
38338 | <param name="dropRestOfWord" type="bool" default=""/> | |
38339 | </paramlist> | |
38340 | </method> | |
38341 | <method name="AutoCompGetDropRestOfWord" type="bool" overloaded="no"> | |
781d2982 | 38342 | <autodoc>AutoCompGetDropRestOfWord(self) -> bool</autodoc> |
f32fc4bc RD |
38343 | </method> |
38344 | <method name="RegisterImage" type="" overloaded="no"> | |
781d2982 | 38345 | <autodoc>RegisterImage(self, int type, Bitmap bmp)</autodoc> |
f32fc4bc RD |
38346 | <paramlist> |
38347 | <param name="type" type="int" default=""/> | |
38348 | <param name="bmp" type="Bitmap" default=""/> | |
38349 | </paramlist> | |
38350 | </method> | |
38351 | <method name="ClearRegisteredImages" type="" overloaded="no"> | |
781d2982 | 38352 | <autodoc>ClearRegisteredImages(self)</autodoc> |
f32fc4bc RD |
38353 | </method> |
38354 | <method name="AutoCompGetTypeSeparator" type="int" overloaded="no"> | |
781d2982 | 38355 | <autodoc>AutoCompGetTypeSeparator(self) -> int</autodoc> |
f32fc4bc RD |
38356 | </method> |
38357 | <method name="AutoCompSetTypeSeparator" type="" overloaded="no"> | |
781d2982 | 38358 | <autodoc>AutoCompSetTypeSeparator(self, int separatorCharacter)</autodoc> |
f32fc4bc RD |
38359 | <paramlist> |
38360 | <param name="separatorCharacter" type="int" default=""/> | |
38361 | </paramlist> | |
38362 | </method> | |
38363 | <method name="SetIndent" type="" overloaded="no"> | |
781d2982 | 38364 | <autodoc>SetIndent(self, int indentSize)</autodoc> |
f32fc4bc RD |
38365 | <paramlist> |
38366 | <param name="indentSize" type="int" default=""/> | |
38367 | </paramlist> | |
38368 | </method> | |
38369 | <method name="GetIndent" type="int" overloaded="no"> | |
781d2982 | 38370 | <autodoc>GetIndent(self) -> int</autodoc> |
f32fc4bc RD |
38371 | </method> |
38372 | <method name="SetUseTabs" type="" overloaded="no"> | |
781d2982 | 38373 | <autodoc>SetUseTabs(self, bool useTabs)</autodoc> |
f32fc4bc RD |
38374 | <paramlist> |
38375 | <param name="useTabs" type="bool" default=""/> | |
38376 | </paramlist> | |
38377 | </method> | |
38378 | <method name="GetUseTabs" type="bool" overloaded="no"> | |
781d2982 | 38379 | <autodoc>GetUseTabs(self) -> bool</autodoc> |
f32fc4bc RD |
38380 | </method> |
38381 | <method name="SetLineIndentation" type="" overloaded="no"> | |
781d2982 | 38382 | <autodoc>SetLineIndentation(self, int line, int indentSize)</autodoc> |
f32fc4bc RD |
38383 | <paramlist> |
38384 | <param name="line" type="int" default=""/> | |
38385 | <param name="indentSize" type="int" default=""/> | |
38386 | </paramlist> | |
38387 | </method> | |
38388 | <method name="GetLineIndentation" type="int" overloaded="no"> | |
781d2982 | 38389 | <autodoc>GetLineIndentation(self, int line) -> int</autodoc> |
f32fc4bc RD |
38390 | <paramlist> |
38391 | <param name="line" type="int" default=""/> | |
38392 | </paramlist> | |
38393 | </method> | |
38394 | <method name="GetLineIndentPosition" type="int" overloaded="no"> | |
781d2982 | 38395 | <autodoc>GetLineIndentPosition(self, int line) -> int</autodoc> |
f32fc4bc RD |
38396 | <paramlist> |
38397 | <param name="line" type="int" default=""/> | |
38398 | </paramlist> | |
38399 | </method> | |
38400 | <method name="GetColumn" type="int" overloaded="no"> | |
781d2982 | 38401 | <autodoc>GetColumn(self, int pos) -> int</autodoc> |
f32fc4bc RD |
38402 | <paramlist> |
38403 | <param name="pos" type="int" default=""/> | |
38404 | </paramlist> | |
38405 | </method> | |
38406 | <method name="SetUseHorizontalScrollBar" type="" overloaded="no"> | |
781d2982 | 38407 | <autodoc>SetUseHorizontalScrollBar(self, bool show)</autodoc> |
f32fc4bc RD |
38408 | <paramlist> |
38409 | <param name="show" type="bool" default=""/> | |
38410 | </paramlist> | |
38411 | </method> | |
38412 | <method name="GetUseHorizontalScrollBar" type="bool" overloaded="no"> | |
781d2982 | 38413 | <autodoc>GetUseHorizontalScrollBar(self) -> bool</autodoc> |
f32fc4bc RD |
38414 | </method> |
38415 | <method name="SetIndentationGuides" type="" overloaded="no"> | |
781d2982 | 38416 | <autodoc>SetIndentationGuides(self, bool show)</autodoc> |
f32fc4bc RD |
38417 | <paramlist> |
38418 | <param name="show" type="bool" default=""/> | |
38419 | </paramlist> | |
38420 | </method> | |
38421 | <method name="GetIndentationGuides" type="bool" overloaded="no"> | |
781d2982 | 38422 | <autodoc>GetIndentationGuides(self) -> bool</autodoc> |
f32fc4bc RD |
38423 | </method> |
38424 | <method name="SetHighlightGuide" type="" overloaded="no"> | |
781d2982 | 38425 | <autodoc>SetHighlightGuide(self, int column)</autodoc> |
f32fc4bc RD |
38426 | <paramlist> |
38427 | <param name="column" type="int" default=""/> | |
38428 | </paramlist> | |
38429 | </method> | |
38430 | <method name="GetHighlightGuide" type="int" overloaded="no"> | |
781d2982 | 38431 | <autodoc>GetHighlightGuide(self) -> int</autodoc> |
f32fc4bc RD |
38432 | </method> |
38433 | <method name="GetLineEndPosition" type="int" overloaded="no"> | |
781d2982 | 38434 | <autodoc>GetLineEndPosition(self, int line) -> int</autodoc> |
f32fc4bc RD |
38435 | <paramlist> |
38436 | <param name="line" type="int" default=""/> | |
38437 | </paramlist> | |
38438 | </method> | |
38439 | <method name="GetCodePage" type="int" overloaded="no"> | |
781d2982 | 38440 | <autodoc>GetCodePage(self) -> int</autodoc> |
f32fc4bc RD |
38441 | </method> |
38442 | <method name="GetCaretForeground" type="Colour" overloaded="no"> | |
781d2982 | 38443 | <autodoc>GetCaretForeground(self) -> Colour</autodoc> |
f32fc4bc RD |
38444 | </method> |
38445 | <method name="GetReadOnly" type="bool" overloaded="no"> | |
781d2982 | 38446 | <autodoc>GetReadOnly(self) -> bool</autodoc> |
f32fc4bc RD |
38447 | </method> |
38448 | <method name="SetCurrentPos" type="" overloaded="no"> | |
781d2982 | 38449 | <autodoc>SetCurrentPos(self, int pos)</autodoc> |
f32fc4bc RD |
38450 | <paramlist> |
38451 | <param name="pos" type="int" default=""/> | |
38452 | </paramlist> | |
38453 | </method> | |
38454 | <method name="SetSelectionStart" type="" overloaded="no"> | |
781d2982 | 38455 | <autodoc>SetSelectionStart(self, int pos)</autodoc> |
f32fc4bc RD |
38456 | <paramlist> |
38457 | <param name="pos" type="int" default=""/> | |
38458 | </paramlist> | |
38459 | </method> | |
38460 | <method name="GetSelectionStart" type="int" overloaded="no"> | |
781d2982 | 38461 | <autodoc>GetSelectionStart(self) -> int</autodoc> |
f32fc4bc RD |
38462 | </method> |
38463 | <method name="SetSelectionEnd" type="" overloaded="no"> | |
781d2982 | 38464 | <autodoc>SetSelectionEnd(self, int pos)</autodoc> |
f32fc4bc RD |
38465 | <paramlist> |
38466 | <param name="pos" type="int" default=""/> | |
38467 | </paramlist> | |
38468 | </method> | |
38469 | <method name="GetSelectionEnd" type="int" overloaded="no"> | |
781d2982 | 38470 | <autodoc>GetSelectionEnd(self) -> int</autodoc> |
f32fc4bc RD |
38471 | </method> |
38472 | <method name="SetPrintMagnification" type="" overloaded="no"> | |
781d2982 | 38473 | <autodoc>SetPrintMagnification(self, int magnification)</autodoc> |
f32fc4bc RD |
38474 | <paramlist> |
38475 | <param name="magnification" type="int" default=""/> | |
38476 | </paramlist> | |
38477 | </method> | |
38478 | <method name="GetPrintMagnification" type="int" overloaded="no"> | |
781d2982 | 38479 | <autodoc>GetPrintMagnification(self) -> int</autodoc> |
f32fc4bc RD |
38480 | </method> |
38481 | <method name="SetPrintColourMode" type="" overloaded="no"> | |
781d2982 | 38482 | <autodoc>SetPrintColourMode(self, int mode)</autodoc> |
f32fc4bc RD |
38483 | <paramlist> |
38484 | <param name="mode" type="int" default=""/> | |
38485 | </paramlist> | |
38486 | </method> | |
38487 | <method name="GetPrintColourMode" type="int" overloaded="no"> | |
781d2982 | 38488 | <autodoc>GetPrintColourMode(self) -> int</autodoc> |
f32fc4bc RD |
38489 | </method> |
38490 | <method name="FindText" type="int" overloaded="no"> | |
781d2982 | 38491 | <autodoc>FindText(self, int minPos, int maxPos, String text, int flags=0) -> int</autodoc> |
f32fc4bc RD |
38492 | <paramlist> |
38493 | <param name="minPos" type="int" default=""/> | |
38494 | <param name="maxPos" type="int" default=""/> | |
38495 | <param name="text" type="String" default=""/> | |
38496 | <param name="flags" type="int" default="0"/> | |
38497 | </paramlist> | |
38498 | </method> | |
38499 | <method name="FormatRange" type="int" overloaded="no"> | |
781d2982 | 38500 | <autodoc>FormatRange(self, bool doDraw, int startPos, int endPos, DC draw, DC target, |
f32fc4bc RD |
38501 | Rect renderRect, Rect pageRect) -> int</autodoc> |
38502 | <paramlist> | |
38503 | <param name="doDraw" type="bool" default=""/> | |
38504 | <param name="startPos" type="int" default=""/> | |
38505 | <param name="endPos" type="int" default=""/> | |
38506 | <param name="draw" type="DC" default=""/> | |
38507 | <param name="target" type="DC" default=""/> | |
38508 | <param name="renderRect" type="Rect" default=""/> | |
38509 | <param name="pageRect" type="Rect" default=""/> | |
38510 | </paramlist> | |
38511 | </method> | |
38512 | <method name="GetFirstVisibleLine" type="int" overloaded="no"> | |
781d2982 | 38513 | <autodoc>GetFirstVisibleLine(self) -> int</autodoc> |
f32fc4bc RD |
38514 | </method> |
38515 | <method name="GetLine" type="String" overloaded="no"> | |
781d2982 | 38516 | <autodoc>GetLine(self, int line) -> String</autodoc> |
f32fc4bc RD |
38517 | <paramlist> |
38518 | <param name="line" type="int" default=""/> | |
38519 | </paramlist> | |
38520 | </method> | |
38521 | <method name="GetLineCount" type="int" overloaded="no"> | |
781d2982 | 38522 | <autodoc>GetLineCount(self) -> int</autodoc> |
f32fc4bc RD |
38523 | </method> |
38524 | <method name="SetMarginLeft" type="" overloaded="no"> | |
781d2982 | 38525 | <autodoc>SetMarginLeft(self, int pixelWidth)</autodoc> |
f32fc4bc RD |
38526 | <paramlist> |
38527 | <param name="pixelWidth" type="int" default=""/> | |
38528 | </paramlist> | |
38529 | </method> | |
38530 | <method name="GetMarginLeft" type="int" overloaded="no"> | |
781d2982 | 38531 | <autodoc>GetMarginLeft(self) -> int</autodoc> |
f32fc4bc RD |
38532 | </method> |
38533 | <method name="SetMarginRight" type="" overloaded="no"> | |
781d2982 | 38534 | <autodoc>SetMarginRight(self, int pixelWidth)</autodoc> |
f32fc4bc RD |
38535 | <paramlist> |
38536 | <param name="pixelWidth" type="int" default=""/> | |
38537 | </paramlist> | |
38538 | </method> | |
38539 | <method name="GetMarginRight" type="int" overloaded="no"> | |
781d2982 | 38540 | <autodoc>GetMarginRight(self) -> int</autodoc> |
f32fc4bc RD |
38541 | </method> |
38542 | <method name="GetModify" type="bool" overloaded="no"> | |
781d2982 | 38543 | <autodoc>GetModify(self) -> bool</autodoc> |
f32fc4bc RD |
38544 | </method> |
38545 | <method name="SetSelection" type="" overloaded="no"> | |
781d2982 | 38546 | <autodoc>SetSelection(self, int start, int end)</autodoc> |
f32fc4bc RD |
38547 | <paramlist> |
38548 | <param name="start" type="int" default=""/> | |
38549 | <param name="end" type="int" default=""/> | |
38550 | </paramlist> | |
38551 | </method> | |
38552 | <method name="GetSelectedText" type="String" overloaded="no"> | |
781d2982 | 38553 | <autodoc>GetSelectedText(self) -> String</autodoc> |
f32fc4bc RD |
38554 | </method> |
38555 | <method name="GetTextRange" type="String" overloaded="no"> | |
781d2982 | 38556 | <autodoc>GetTextRange(self, int startPos, int endPos) -> String</autodoc> |
f32fc4bc RD |
38557 | <paramlist> |
38558 | <param name="startPos" type="int" default=""/> | |
38559 | <param name="endPos" type="int" default=""/> | |
38560 | </paramlist> | |
38561 | </method> | |
38562 | <method name="HideSelection" type="" overloaded="no"> | |
781d2982 | 38563 | <autodoc>HideSelection(self, bool normal)</autodoc> |
f32fc4bc RD |
38564 | <paramlist> |
38565 | <param name="normal" type="bool" default=""/> | |
38566 | </paramlist> | |
38567 | </method> | |
38568 | <method name="LineFromPosition" type="int" overloaded="no"> | |
781d2982 | 38569 | <autodoc>LineFromPosition(self, int pos) -> int</autodoc> |
f32fc4bc RD |
38570 | <paramlist> |
38571 | <param name="pos" type="int" default=""/> | |
38572 | </paramlist> | |
38573 | </method> | |
38574 | <method name="PositionFromLine" type="int" overloaded="no"> | |
781d2982 | 38575 | <autodoc>PositionFromLine(self, int line) -> int</autodoc> |
f32fc4bc RD |
38576 | <paramlist> |
38577 | <param name="line" type="int" default=""/> | |
38578 | </paramlist> | |
38579 | </method> | |
38580 | <method name="LineScroll" type="" overloaded="no"> | |
781d2982 | 38581 | <autodoc>LineScroll(self, int columns, int lines)</autodoc> |
f32fc4bc RD |
38582 | <paramlist> |
38583 | <param name="columns" type="int" default=""/> | |
38584 | <param name="lines" type="int" default=""/> | |
38585 | </paramlist> | |
38586 | </method> | |
38587 | <method name="EnsureCaretVisible" type="" overloaded="no"> | |
781d2982 | 38588 | <autodoc>EnsureCaretVisible(self)</autodoc> |
f32fc4bc RD |
38589 | </method> |
38590 | <method name="ReplaceSelection" type="" overloaded="no"> | |
781d2982 | 38591 | <autodoc>ReplaceSelection(self, String text)</autodoc> |
f32fc4bc RD |
38592 | <paramlist> |
38593 | <param name="text" type="String" default=""/> | |
38594 | </paramlist> | |
38595 | </method> | |
38596 | <method name="SetReadOnly" type="" overloaded="no"> | |
781d2982 | 38597 | <autodoc>SetReadOnly(self, bool readOnly)</autodoc> |
f32fc4bc RD |
38598 | <paramlist> |
38599 | <param name="readOnly" type="bool" default=""/> | |
38600 | </paramlist> | |
38601 | </method> | |
38602 | <method name="CanPaste" type="bool" overloaded="no"> | |
781d2982 | 38603 | <autodoc>CanPaste(self) -> bool</autodoc> |
f32fc4bc RD |
38604 | </method> |
38605 | <method name="CanUndo" type="bool" overloaded="no"> | |
781d2982 | 38606 | <autodoc>CanUndo(self) -> bool</autodoc> |
f32fc4bc RD |
38607 | </method> |
38608 | <method name="EmptyUndoBuffer" type="" overloaded="no"> | |
781d2982 | 38609 | <autodoc>EmptyUndoBuffer(self)</autodoc> |
f32fc4bc RD |
38610 | </method> |
38611 | <method name="Undo" type="" overloaded="no"> | |
781d2982 | 38612 | <autodoc>Undo(self)</autodoc> |
f32fc4bc RD |
38613 | </method> |
38614 | <method name="Cut" type="" overloaded="no"> | |
781d2982 | 38615 | <autodoc>Cut(self)</autodoc> |
f32fc4bc RD |
38616 | </method> |
38617 | <method name="Copy" type="" overloaded="no"> | |
781d2982 | 38618 | <autodoc>Copy(self)</autodoc> |
f32fc4bc RD |
38619 | </method> |
38620 | <method name="Paste" type="" overloaded="no"> | |
781d2982 | 38621 | <autodoc>Paste(self)</autodoc> |
f32fc4bc RD |
38622 | </method> |
38623 | <method name="Clear" type="" overloaded="no"> | |
781d2982 | 38624 | <autodoc>Clear(self)</autodoc> |
f32fc4bc RD |
38625 | </method> |
38626 | <method name="SetText" type="" overloaded="no"> | |
781d2982 | 38627 | <autodoc>SetText(self, String text)</autodoc> |
f32fc4bc RD |
38628 | <paramlist> |
38629 | <param name="text" type="String" default=""/> | |
38630 | </paramlist> | |
38631 | </method> | |
38632 | <method name="GetText" type="String" overloaded="no"> | |
781d2982 | 38633 | <autodoc>GetText(self) -> String</autodoc> |
f32fc4bc RD |
38634 | </method> |
38635 | <method name="GetTextLength" type="int" overloaded="no"> | |
781d2982 | 38636 | <autodoc>GetTextLength(self) -> int</autodoc> |
f32fc4bc RD |
38637 | </method> |
38638 | <method name="SetOvertype" type="" overloaded="no"> | |
781d2982 | 38639 | <autodoc>SetOvertype(self, bool overtype)</autodoc> |
f32fc4bc RD |
38640 | <paramlist> |
38641 | <param name="overtype" type="bool" default=""/> | |
38642 | </paramlist> | |
38643 | </method> | |
38644 | <method name="GetOvertype" type="bool" overloaded="no"> | |
781d2982 | 38645 | <autodoc>GetOvertype(self) -> bool</autodoc> |
f32fc4bc RD |
38646 | </method> |
38647 | <method name="SetCaretWidth" type="" overloaded="no"> | |
781d2982 | 38648 | <autodoc>SetCaretWidth(self, int pixelWidth)</autodoc> |
f32fc4bc RD |
38649 | <paramlist> |
38650 | <param name="pixelWidth" type="int" default=""/> | |
38651 | </paramlist> | |
38652 | </method> | |
38653 | <method name="GetCaretWidth" type="int" overloaded="no"> | |
781d2982 | 38654 | <autodoc>GetCaretWidth(self) -> int</autodoc> |
f32fc4bc RD |
38655 | </method> |
38656 | <method name="SetTargetStart" type="" overloaded="no"> | |
781d2982 | 38657 | <autodoc>SetTargetStart(self, int pos)</autodoc> |
f32fc4bc RD |
38658 | <paramlist> |
38659 | <param name="pos" type="int" default=""/> | |
38660 | </paramlist> | |
38661 | </method> | |
38662 | <method name="GetTargetStart" type="int" overloaded="no"> | |
781d2982 | 38663 | <autodoc>GetTargetStart(self) -> int</autodoc> |
f32fc4bc RD |
38664 | </method> |
38665 | <method name="SetTargetEnd" type="" overloaded="no"> | |
781d2982 | 38666 | <autodoc>SetTargetEnd(self, int pos)</autodoc> |
f32fc4bc RD |
38667 | <paramlist> |
38668 | <param name="pos" type="int" default=""/> | |
38669 | </paramlist> | |
38670 | </method> | |
38671 | <method name="GetTargetEnd" type="int" overloaded="no"> | |
781d2982 | 38672 | <autodoc>GetTargetEnd(self) -> int</autodoc> |
f32fc4bc RD |
38673 | </method> |
38674 | <method name="ReplaceTarget" type="int" overloaded="no"> | |
781d2982 | 38675 | <autodoc>ReplaceTarget(self, String text) -> int</autodoc> |
f32fc4bc RD |
38676 | <paramlist> |
38677 | <param name="text" type="String" default=""/> | |
38678 | </paramlist> | |
38679 | </method> | |
38680 | <method name="ReplaceTargetRE" type="int" overloaded="no"> | |
781d2982 | 38681 | <autodoc>ReplaceTargetRE(self, String text) -> int</autodoc> |
f32fc4bc RD |
38682 | <paramlist> |
38683 | <param name="text" type="String" default=""/> | |
38684 | </paramlist> | |
38685 | </method> | |
38686 | <method name="SearchInTarget" type="int" overloaded="no"> | |
781d2982 | 38687 | <autodoc>SearchInTarget(self, String text) -> int</autodoc> |
f32fc4bc RD |
38688 | <paramlist> |
38689 | <param name="text" type="String" default=""/> | |
38690 | </paramlist> | |
38691 | </method> | |
38692 | <method name="SetSearchFlags" type="" overloaded="no"> | |
781d2982 | 38693 | <autodoc>SetSearchFlags(self, int flags)</autodoc> |
f32fc4bc RD |
38694 | <paramlist> |
38695 | <param name="flags" type="int" default=""/> | |
38696 | </paramlist> | |
38697 | </method> | |
38698 | <method name="GetSearchFlags" type="int" overloaded="no"> | |
781d2982 | 38699 | <autodoc>GetSearchFlags(self) -> int</autodoc> |
f32fc4bc RD |
38700 | </method> |
38701 | <method name="CallTipShow" type="" overloaded="no"> | |
781d2982 | 38702 | <autodoc>CallTipShow(self, int pos, String definition)</autodoc> |
f32fc4bc RD |
38703 | <paramlist> |
38704 | <param name="pos" type="int" default=""/> | |
38705 | <param name="definition" type="String" default=""/> | |
38706 | </paramlist> | |
38707 | </method> | |
38708 | <method name="CallTipCancel" type="" overloaded="no"> | |
781d2982 | 38709 | <autodoc>CallTipCancel(self)</autodoc> |
f32fc4bc RD |
38710 | </method> |
38711 | <method name="CallTipActive" type="bool" overloaded="no"> | |
781d2982 | 38712 | <autodoc>CallTipActive(self) -> bool</autodoc> |
f32fc4bc RD |
38713 | </method> |
38714 | <method name="CallTipPosAtStart" type="int" overloaded="no"> | |
781d2982 | 38715 | <autodoc>CallTipPosAtStart(self) -> int</autodoc> |
f32fc4bc RD |
38716 | </method> |
38717 | <method name="CallTipSetHighlight" type="" overloaded="no"> | |
781d2982 | 38718 | <autodoc>CallTipSetHighlight(self, int start, int end)</autodoc> |
f32fc4bc RD |
38719 | <paramlist> |
38720 | <param name="start" type="int" default=""/> | |
38721 | <param name="end" type="int" default=""/> | |
38722 | </paramlist> | |
38723 | </method> | |
38724 | <method name="CallTipSetBackground" type="" overloaded="no"> | |
781d2982 | 38725 | <autodoc>CallTipSetBackground(self, Colour back)</autodoc> |
f32fc4bc RD |
38726 | <paramlist> |
38727 | <param name="back" type="Colour" default=""/> | |
38728 | </paramlist> | |
38729 | </method> | |
38730 | <method name="CallTipSetForeground" type="" overloaded="no"> | |
781d2982 | 38731 | <autodoc>CallTipSetForeground(self, Colour fore)</autodoc> |
f32fc4bc RD |
38732 | <paramlist> |
38733 | <param name="fore" type="Colour" default=""/> | |
38734 | </paramlist> | |
38735 | </method> | |
38736 | <method name="CallTipSetForegroundHighlight" type="" overloaded="no"> | |
781d2982 | 38737 | <autodoc>CallTipSetForegroundHighlight(self, Colour fore)</autodoc> |
f32fc4bc RD |
38738 | <paramlist> |
38739 | <param name="fore" type="Colour" default=""/> | |
38740 | </paramlist> | |
38741 | </method> | |
38742 | <method name="VisibleFromDocLine" type="int" overloaded="no"> | |
781d2982 | 38743 | <autodoc>VisibleFromDocLine(self, int line) -> int</autodoc> |
f32fc4bc RD |
38744 | <paramlist> |
38745 | <param name="line" type="int" default=""/> | |
38746 | </paramlist> | |
38747 | </method> | |
38748 | <method name="DocLineFromVisible" type="int" overloaded="no"> | |
781d2982 | 38749 | <autodoc>DocLineFromVisible(self, int lineDisplay) -> int</autodoc> |
f32fc4bc RD |
38750 | <paramlist> |
38751 | <param name="lineDisplay" type="int" default=""/> | |
38752 | </paramlist> | |
38753 | </method> | |
38754 | <method name="SetFoldLevel" type="" overloaded="no"> | |
781d2982 | 38755 | <autodoc>SetFoldLevel(self, int line, int level)</autodoc> |
f32fc4bc RD |
38756 | <paramlist> |
38757 | <param name="line" type="int" default=""/> | |
38758 | <param name="level" type="int" default=""/> | |
38759 | </paramlist> | |
38760 | </method> | |
38761 | <method name="GetFoldLevel" type="int" overloaded="no"> | |
781d2982 | 38762 | <autodoc>GetFoldLevel(self, int line) -> int</autodoc> |
f32fc4bc RD |
38763 | <paramlist> |
38764 | <param name="line" type="int" default=""/> | |
38765 | </paramlist> | |
38766 | </method> | |
38767 | <method name="GetLastChild" type="int" overloaded="no"> | |
781d2982 | 38768 | <autodoc>GetLastChild(self, int line, int level) -> int</autodoc> |
f32fc4bc RD |
38769 | <paramlist> |
38770 | <param name="line" type="int" default=""/> | |
38771 | <param name="level" type="int" default=""/> | |
38772 | </paramlist> | |
38773 | </method> | |
38774 | <method name="GetFoldParent" type="int" overloaded="no"> | |
781d2982 | 38775 | <autodoc>GetFoldParent(self, int line) -> int</autodoc> |
f32fc4bc RD |
38776 | <paramlist> |
38777 | <param name="line" type="int" default=""/> | |
38778 | </paramlist> | |
38779 | </method> | |
38780 | <method name="ShowLines" type="" overloaded="no"> | |
781d2982 | 38781 | <autodoc>ShowLines(self, int lineStart, int lineEnd)</autodoc> |
f32fc4bc RD |
38782 | <paramlist> |
38783 | <param name="lineStart" type="int" default=""/> | |
38784 | <param name="lineEnd" type="int" default=""/> | |
38785 | </paramlist> | |
38786 | </method> | |
38787 | <method name="HideLines" type="" overloaded="no"> | |
781d2982 | 38788 | <autodoc>HideLines(self, int lineStart, int lineEnd)</autodoc> |
f32fc4bc RD |
38789 | <paramlist> |
38790 | <param name="lineStart" type="int" default=""/> | |
38791 | <param name="lineEnd" type="int" default=""/> | |
38792 | </paramlist> | |
38793 | </method> | |
38794 | <method name="GetLineVisible" type="bool" overloaded="no"> | |
781d2982 | 38795 | <autodoc>GetLineVisible(self, int line) -> bool</autodoc> |
f32fc4bc RD |
38796 | <paramlist> |
38797 | <param name="line" type="int" default=""/> | |
38798 | </paramlist> | |
38799 | </method> | |
38800 | <method name="SetFoldExpanded" type="" overloaded="no"> | |
781d2982 | 38801 | <autodoc>SetFoldExpanded(self, int line, bool expanded)</autodoc> |
f32fc4bc RD |
38802 | <paramlist> |
38803 | <param name="line" type="int" default=""/> | |
38804 | <param name="expanded" type="bool" default=""/> | |
38805 | </paramlist> | |
38806 | </method> | |
38807 | <method name="GetFoldExpanded" type="bool" overloaded="no"> | |
781d2982 | 38808 | <autodoc>GetFoldExpanded(self, int line) -> bool</autodoc> |
f32fc4bc RD |
38809 | <paramlist> |
38810 | <param name="line" type="int" default=""/> | |
38811 | </paramlist> | |
38812 | </method> | |
38813 | <method name="ToggleFold" type="" overloaded="no"> | |
781d2982 | 38814 | <autodoc>ToggleFold(self, int line)</autodoc> |
f32fc4bc RD |
38815 | <paramlist> |
38816 | <param name="line" type="int" default=""/> | |
38817 | </paramlist> | |
38818 | </method> | |
38819 | <method name="EnsureVisible" type="" overloaded="no"> | |
781d2982 | 38820 | <autodoc>EnsureVisible(self, int line)</autodoc> |
f32fc4bc RD |
38821 | <paramlist> |
38822 | <param name="line" type="int" default=""/> | |
38823 | </paramlist> | |
38824 | </method> | |
38825 | <method name="SetFoldFlags" type="" overloaded="no"> | |
781d2982 | 38826 | <autodoc>SetFoldFlags(self, int flags)</autodoc> |
f32fc4bc RD |
38827 | <paramlist> |
38828 | <param name="flags" type="int" default=""/> | |
38829 | </paramlist> | |
38830 | </method> | |
38831 | <method name="EnsureVisibleEnforcePolicy" type="" overloaded="no"> | |
781d2982 | 38832 | <autodoc>EnsureVisibleEnforcePolicy(self, int line)</autodoc> |
f32fc4bc RD |
38833 | <paramlist> |
38834 | <param name="line" type="int" default=""/> | |
38835 | </paramlist> | |
38836 | </method> | |
38837 | <method name="SetTabIndents" type="" overloaded="no"> | |
781d2982 | 38838 | <autodoc>SetTabIndents(self, bool tabIndents)</autodoc> |
f32fc4bc RD |
38839 | <paramlist> |
38840 | <param name="tabIndents" type="bool" default=""/> | |
38841 | </paramlist> | |
38842 | </method> | |
38843 | <method name="GetTabIndents" type="bool" overloaded="no"> | |
781d2982 | 38844 | <autodoc>GetTabIndents(self) -> bool</autodoc> |
f32fc4bc RD |
38845 | </method> |
38846 | <method name="SetBackSpaceUnIndents" type="" overloaded="no"> | |
781d2982 | 38847 | <autodoc>SetBackSpaceUnIndents(self, bool bsUnIndents)</autodoc> |
f32fc4bc RD |
38848 | <paramlist> |
38849 | <param name="bsUnIndents" type="bool" default=""/> | |
38850 | </paramlist> | |
38851 | </method> | |
38852 | <method name="GetBackSpaceUnIndents" type="bool" overloaded="no"> | |
781d2982 | 38853 | <autodoc>GetBackSpaceUnIndents(self) -> bool</autodoc> |
f32fc4bc RD |
38854 | </method> |
38855 | <method name="SetMouseDwellTime" type="" overloaded="no"> | |
781d2982 | 38856 | <autodoc>SetMouseDwellTime(self, int periodMilliseconds)</autodoc> |
f32fc4bc RD |
38857 | <paramlist> |
38858 | <param name="periodMilliseconds" type="int" default=""/> | |
38859 | </paramlist> | |
38860 | </method> | |
38861 | <method name="GetMouseDwellTime" type="int" overloaded="no"> | |
781d2982 | 38862 | <autodoc>GetMouseDwellTime(self) -> int</autodoc> |
f32fc4bc RD |
38863 | </method> |
38864 | <method name="WordStartPosition" type="int" overloaded="no"> | |
781d2982 | 38865 | <autodoc>WordStartPosition(self, int pos, bool onlyWordCharacters) -> int</autodoc> |
f32fc4bc RD |
38866 | <paramlist> |
38867 | <param name="pos" type="int" default=""/> | |
38868 | <param name="onlyWordCharacters" type="bool" default=""/> | |
38869 | </paramlist> | |
38870 | </method> | |
38871 | <method name="WordEndPosition" type="int" overloaded="no"> | |
781d2982 | 38872 | <autodoc>WordEndPosition(self, int pos, bool onlyWordCharacters) -> int</autodoc> |
f32fc4bc RD |
38873 | <paramlist> |
38874 | <param name="pos" type="int" default=""/> | |
38875 | <param name="onlyWordCharacters" type="bool" default=""/> | |
38876 | </paramlist> | |
38877 | </method> | |
38878 | <method name="SetWrapMode" type="" overloaded="no"> | |
781d2982 | 38879 | <autodoc>SetWrapMode(self, int mode)</autodoc> |
f32fc4bc RD |
38880 | <paramlist> |
38881 | <param name="mode" type="int" default=""/> | |
38882 | </paramlist> | |
38883 | </method> | |
38884 | <method name="GetWrapMode" type="int" overloaded="no"> | |
781d2982 | 38885 | <autodoc>GetWrapMode(self) -> int</autodoc> |
f32fc4bc RD |
38886 | </method> |
38887 | <method name="SetLayoutCache" type="" overloaded="no"> | |
781d2982 | 38888 | <autodoc>SetLayoutCache(self, int mode)</autodoc> |
f32fc4bc RD |
38889 | <paramlist> |
38890 | <param name="mode" type="int" default=""/> | |
38891 | </paramlist> | |
38892 | </method> | |
38893 | <method name="GetLayoutCache" type="int" overloaded="no"> | |
781d2982 | 38894 | <autodoc>GetLayoutCache(self) -> int</autodoc> |
f32fc4bc RD |
38895 | </method> |
38896 | <method name="SetScrollWidth" type="" overloaded="no"> | |
781d2982 | 38897 | <autodoc>SetScrollWidth(self, int pixelWidth)</autodoc> |
f32fc4bc RD |
38898 | <paramlist> |
38899 | <param name="pixelWidth" type="int" default=""/> | |
38900 | </paramlist> | |
38901 | </method> | |
38902 | <method name="GetScrollWidth" type="int" overloaded="no"> | |
781d2982 | 38903 | <autodoc>GetScrollWidth(self) -> int</autodoc> |
f32fc4bc RD |
38904 | </method> |
38905 | <method name="TextWidth" type="int" overloaded="no"> | |
781d2982 | 38906 | <autodoc>TextWidth(self, int style, String text) -> int</autodoc> |
f32fc4bc RD |
38907 | <paramlist> |
38908 | <param name="style" type="int" default=""/> | |
38909 | <param name="text" type="String" default=""/> | |
38910 | </paramlist> | |
38911 | </method> | |
38912 | <method name="SetEndAtLastLine" type="" overloaded="no"> | |
781d2982 | 38913 | <autodoc>SetEndAtLastLine(self, bool endAtLastLine)</autodoc> |
f32fc4bc RD |
38914 | <paramlist> |
38915 | <param name="endAtLastLine" type="bool" default=""/> | |
38916 | </paramlist> | |
38917 | </method> | |
38918 | <method name="GetEndAtLastLine" type="int" overloaded="no"> | |
781d2982 | 38919 | <autodoc>GetEndAtLastLine(self) -> int</autodoc> |
f32fc4bc RD |
38920 | </method> |
38921 | <method name="TextHeight" type="int" overloaded="no"> | |
781d2982 | 38922 | <autodoc>TextHeight(self, int line) -> int</autodoc> |
f32fc4bc RD |
38923 | <paramlist> |
38924 | <param name="line" type="int" default=""/> | |
38925 | </paramlist> | |
38926 | </method> | |
38927 | <method name="SetUseVerticalScrollBar" type="" overloaded="no"> | |
781d2982 | 38928 | <autodoc>SetUseVerticalScrollBar(self, bool show)</autodoc> |
f32fc4bc RD |
38929 | <paramlist> |
38930 | <param name="show" type="bool" default=""/> | |
38931 | </paramlist> | |
38932 | </method> | |
38933 | <method name="GetUseVerticalScrollBar" type="bool" overloaded="no"> | |
781d2982 | 38934 | <autodoc>GetUseVerticalScrollBar(self) -> bool</autodoc> |
f32fc4bc RD |
38935 | </method> |
38936 | <method name="AppendText" type="" overloaded="no"> | |
781d2982 | 38937 | <autodoc>AppendText(self, int length, String text)</autodoc> |
f32fc4bc RD |
38938 | <paramlist> |
38939 | <param name="length" type="int" default=""/> | |
38940 | <param name="text" type="String" default=""/> | |
38941 | </paramlist> | |
38942 | </method> | |
38943 | <method name="GetTwoPhaseDraw" type="bool" overloaded="no"> | |
781d2982 | 38944 | <autodoc>GetTwoPhaseDraw(self) -> bool</autodoc> |
f32fc4bc RD |
38945 | </method> |
38946 | <method name="SetTwoPhaseDraw" type="" overloaded="no"> | |
781d2982 | 38947 | <autodoc>SetTwoPhaseDraw(self, bool twoPhase)</autodoc> |
f32fc4bc RD |
38948 | <paramlist> |
38949 | <param name="twoPhase" type="bool" default=""/> | |
38950 | </paramlist> | |
38951 | </method> | |
38952 | <method name="TargetFromSelection" type="" overloaded="no"> | |
781d2982 | 38953 | <autodoc>TargetFromSelection(self)</autodoc> |
f32fc4bc RD |
38954 | </method> |
38955 | <method name="LinesJoin" type="" overloaded="no"> | |
781d2982 | 38956 | <autodoc>LinesJoin(self)</autodoc> |
f32fc4bc RD |
38957 | </method> |
38958 | <method name="LinesSplit" type="" overloaded="no"> | |
781d2982 | 38959 | <autodoc>LinesSplit(self, int pixelWidth)</autodoc> |
f32fc4bc RD |
38960 | <paramlist> |
38961 | <param name="pixelWidth" type="int" default=""/> | |
38962 | </paramlist> | |
38963 | </method> | |
38964 | <method name="SetFoldMarginColour" type="" overloaded="no"> | |
781d2982 | 38965 | <autodoc>SetFoldMarginColour(self, bool useSetting, Colour back)</autodoc> |
f32fc4bc RD |
38966 | <paramlist> |
38967 | <param name="useSetting" type="bool" default=""/> | |
38968 | <param name="back" type="Colour" default=""/> | |
38969 | </paramlist> | |
38970 | </method> | |
38971 | <method name="SetFoldMarginHiColour" type="" overloaded="no"> | |
781d2982 | 38972 | <autodoc>SetFoldMarginHiColour(self, bool useSetting, Colour fore)</autodoc> |
f32fc4bc RD |
38973 | <paramlist> |
38974 | <param name="useSetting" type="bool" default=""/> | |
38975 | <param name="fore" type="Colour" default=""/> | |
38976 | </paramlist> | |
38977 | </method> | |
b39e211b | 38978 | <method name="LineDown" type="" overloaded="no"> |
781d2982 | 38979 | <autodoc>LineDown(self)</autodoc> |
b39e211b RD |
38980 | <docstring>This is just a wrapper for ScrollLines(1).</docstring> |
38981 | </method> | |
38982 | <method name="LineDownExtend" type="" overloaded="no"> | |
781d2982 | 38983 | <autodoc>LineDownExtend(self)</autodoc> |
b39e211b RD |
38984 | </method> |
38985 | <method name="LineUp" type="" overloaded="no"> | |
781d2982 | 38986 | <autodoc>LineUp(self)</autodoc> |
b39e211b RD |
38987 | <docstring>This is just a wrapper for ScrollLines(-1).</docstring> |
38988 | </method> | |
38989 | <method name="LineUpExtend" type="" overloaded="no"> | |
781d2982 | 38990 | <autodoc>LineUpExtend(self)</autodoc> |
b39e211b RD |
38991 | </method> |
38992 | <method name="CharLeft" type="" overloaded="no"> | |
781d2982 | 38993 | <autodoc>CharLeft(self)</autodoc> |
b39e211b RD |
38994 | </method> |
38995 | <method name="CharLeftExtend" type="" overloaded="no"> | |
781d2982 | 38996 | <autodoc>CharLeftExtend(self)</autodoc> |
b39e211b RD |
38997 | </method> |
38998 | <method name="CharRight" type="" overloaded="no"> | |
781d2982 | 38999 | <autodoc>CharRight(self)</autodoc> |
b39e211b RD |
39000 | </method> |
39001 | <method name="CharRightExtend" type="" overloaded="no"> | |
781d2982 | 39002 | <autodoc>CharRightExtend(self)</autodoc> |
b39e211b RD |
39003 | </method> |
39004 | <method name="WordLeft" type="" overloaded="no"> | |
781d2982 | 39005 | <autodoc>WordLeft(self)</autodoc> |
b39e211b RD |
39006 | </method> |
39007 | <method name="WordLeftExtend" type="" overloaded="no"> | |
781d2982 | 39008 | <autodoc>WordLeftExtend(self)</autodoc> |
b39e211b RD |
39009 | </method> |
39010 | <method name="WordRight" type="" overloaded="no"> | |
781d2982 | 39011 | <autodoc>WordRight(self)</autodoc> |
b39e211b RD |
39012 | </method> |
39013 | <method name="WordRightExtend" type="" overloaded="no"> | |
781d2982 | 39014 | <autodoc>WordRightExtend(self)</autodoc> |
b39e211b RD |
39015 | </method> |
39016 | <method name="Home" type="" overloaded="no"> | |
781d2982 | 39017 | <autodoc>Home(self)</autodoc> |
b39e211b RD |
39018 | </method> |
39019 | <method name="HomeExtend" type="" overloaded="no"> | |
781d2982 | 39020 | <autodoc>HomeExtend(self)</autodoc> |
b39e211b RD |
39021 | </method> |
39022 | <method name="LineEnd" type="" overloaded="no"> | |
781d2982 | 39023 | <autodoc>LineEnd(self)</autodoc> |
b39e211b RD |
39024 | </method> |
39025 | <method name="LineEndExtend" type="" overloaded="no"> | |
781d2982 | 39026 | <autodoc>LineEndExtend(self)</autodoc> |
b39e211b RD |
39027 | </method> |
39028 | <method name="DocumentStart" type="" overloaded="no"> | |
781d2982 | 39029 | <autodoc>DocumentStart(self)</autodoc> |
b39e211b RD |
39030 | </method> |
39031 | <method name="DocumentStartExtend" type="" overloaded="no"> | |
781d2982 | 39032 | <autodoc>DocumentStartExtend(self)</autodoc> |
b39e211b RD |
39033 | </method> |
39034 | <method name="DocumentEnd" type="" overloaded="no"> | |
781d2982 | 39035 | <autodoc>DocumentEnd(self)</autodoc> |
b39e211b RD |
39036 | </method> |
39037 | <method name="DocumentEndExtend" type="" overloaded="no"> | |
781d2982 | 39038 | <autodoc>DocumentEndExtend(self)</autodoc> |
b39e211b RD |
39039 | </method> |
39040 | <method name="PageUp" type="" overloaded="no"> | |
781d2982 | 39041 | <autodoc>PageUp(self)</autodoc> |
b39e211b RD |
39042 | <docstring>This is just a wrapper for ScrollPages(-1).</docstring> |
39043 | </method> | |
39044 | <method name="PageUpExtend" type="" overloaded="no"> | |
781d2982 | 39045 | <autodoc>PageUpExtend(self)</autodoc> |
b39e211b RD |
39046 | </method> |
39047 | <method name="PageDown" type="" overloaded="no"> | |
781d2982 | 39048 | <autodoc>PageDown(self)</autodoc> |
b39e211b RD |
39049 | <docstring>This is just a wrapper for ScrollPages(1).</docstring> |
39050 | </method> | |
39051 | <method name="PageDownExtend" type="" overloaded="no"> | |
781d2982 | 39052 | <autodoc>PageDownExtend(self)</autodoc> |
b39e211b RD |
39053 | </method> |
39054 | <method name="EditToggleOvertype" type="" overloaded="no"> | |
781d2982 | 39055 | <autodoc>EditToggleOvertype(self)</autodoc> |
b39e211b RD |
39056 | </method> |
39057 | <method name="Cancel" type="" overloaded="no"> | |
781d2982 | 39058 | <autodoc>Cancel(self)</autodoc> |
b39e211b RD |
39059 | </method> |
39060 | <method name="DeleteBack" type="" overloaded="no"> | |
781d2982 | 39061 | <autodoc>DeleteBack(self)</autodoc> |
b39e211b RD |
39062 | </method> |
39063 | <method name="Tab" type="" overloaded="no"> | |
781d2982 | 39064 | <autodoc>Tab(self)</autodoc> |
b39e211b RD |
39065 | </method> |
39066 | <method name="BackTab" type="" overloaded="no"> | |
781d2982 | 39067 | <autodoc>BackTab(self)</autodoc> |
b39e211b RD |
39068 | </method> |
39069 | <method name="NewLine" type="" overloaded="no"> | |
781d2982 | 39070 | <autodoc>NewLine(self)</autodoc> |
b39e211b RD |
39071 | </method> |
39072 | <method name="FormFeed" type="" overloaded="no"> | |
781d2982 | 39073 | <autodoc>FormFeed(self)</autodoc> |
b39e211b RD |
39074 | </method> |
39075 | <method name="VCHome" type="" overloaded="no"> | |
781d2982 | 39076 | <autodoc>VCHome(self)</autodoc> |
b39e211b RD |
39077 | </method> |
39078 | <method name="VCHomeExtend" type="" overloaded="no"> | |
781d2982 | 39079 | <autodoc>VCHomeExtend(self)</autodoc> |
b39e211b RD |
39080 | </method> |
39081 | <method name="ZoomIn" type="" overloaded="no"> | |
781d2982 | 39082 | <autodoc>ZoomIn(self)</autodoc> |
b39e211b RD |
39083 | </method> |
39084 | <method name="ZoomOut" type="" overloaded="no"> | |
781d2982 | 39085 | <autodoc>ZoomOut(self)</autodoc> |
b39e211b RD |
39086 | </method> |
39087 | <method name="DelWordLeft" type="" overloaded="no"> | |
781d2982 | 39088 | <autodoc>DelWordLeft(self)</autodoc> |
b39e211b RD |
39089 | </method> |
39090 | <method name="DelWordRight" type="" overloaded="no"> | |
781d2982 | 39091 | <autodoc>DelWordRight(self)</autodoc> |
b39e211b RD |
39092 | </method> |
39093 | <method name="LineCut" type="" overloaded="no"> | |
781d2982 | 39094 | <autodoc>LineCut(self)</autodoc> |
b39e211b RD |
39095 | </method> |
39096 | <method name="LineDelete" type="" overloaded="no"> | |
781d2982 | 39097 | <autodoc>LineDelete(self)</autodoc> |
b39e211b RD |
39098 | </method> |
39099 | <method name="LineTranspose" type="" overloaded="no"> | |
781d2982 | 39100 | <autodoc>LineTranspose(self)</autodoc> |
b39e211b | 39101 | </method> |
f32fc4bc | 39102 | <method name="LineDuplicate" type="" overloaded="no"> |
781d2982 | 39103 | <autodoc>LineDuplicate(self)</autodoc> |
f32fc4bc | 39104 | </method> |
b39e211b | 39105 | <method name="LowerCase" type="" overloaded="no"> |
781d2982 | 39106 | <autodoc>LowerCase(self)</autodoc> |
b39e211b RD |
39107 | </method> |
39108 | <method name="UpperCase" type="" overloaded="no"> | |
781d2982 | 39109 | <autodoc>UpperCase(self)</autodoc> |
b39e211b RD |
39110 | </method> |
39111 | <method name="LineScrollDown" type="" overloaded="no"> | |
781d2982 | 39112 | <autodoc>LineScrollDown(self)</autodoc> |
b39e211b RD |
39113 | </method> |
39114 | <method name="LineScrollUp" type="" overloaded="no"> | |
781d2982 | 39115 | <autodoc>LineScrollUp(self)</autodoc> |
b39e211b RD |
39116 | </method> |
39117 | <method name="DeleteBackNotLine" type="" overloaded="no"> | |
781d2982 | 39118 | <autodoc>DeleteBackNotLine(self)</autodoc> |
b39e211b | 39119 | </method> |
f32fc4bc | 39120 | <method name="HomeDisplay" type="" overloaded="no"> |
781d2982 | 39121 | <autodoc>HomeDisplay(self)</autodoc> |
f32fc4bc RD |
39122 | </method> |
39123 | <method name="HomeDisplayExtend" type="" overloaded="no"> | |
781d2982 | 39124 | <autodoc>HomeDisplayExtend(self)</autodoc> |
f32fc4bc RD |
39125 | </method> |
39126 | <method name="LineEndDisplay" type="" overloaded="no"> | |
781d2982 | 39127 | <autodoc>LineEndDisplay(self)</autodoc> |
f32fc4bc RD |
39128 | </method> |
39129 | <method name="LineEndDisplayExtend" type="" overloaded="no"> | |
781d2982 | 39130 | <autodoc>LineEndDisplayExtend(self)</autodoc> |
f32fc4bc | 39131 | </method> |
b39e211b | 39132 | <method name="HomeWrap" type="" overloaded="no"> |
781d2982 | 39133 | <autodoc>HomeWrap(self)</autodoc> |
b39e211b RD |
39134 | </method> |
39135 | <method name="HomeWrapExtend" type="" overloaded="no"> | |
781d2982 | 39136 | <autodoc>HomeWrapExtend(self)</autodoc> |
b39e211b RD |
39137 | </method> |
39138 | <method name="LineEndWrap" type="" overloaded="no"> | |
781d2982 | 39139 | <autodoc>LineEndWrap(self)</autodoc> |
b39e211b RD |
39140 | </method> |
39141 | <method name="LineEndWrapExtend" type="" overloaded="no"> | |
781d2982 | 39142 | <autodoc>LineEndWrapExtend(self)</autodoc> |
b39e211b RD |
39143 | </method> |
39144 | <method name="VCHomeWrap" type="" overloaded="no"> | |
781d2982 | 39145 | <autodoc>VCHomeWrap(self)</autodoc> |
b39e211b RD |
39146 | </method> |
39147 | <method name="VCHomeWrapExtend" type="" overloaded="no"> | |
781d2982 | 39148 | <autodoc>VCHomeWrapExtend(self)</autodoc> |
b39e211b | 39149 | </method> |
f32fc4bc | 39150 | <method name="LineCopy" type="" overloaded="no"> |
781d2982 | 39151 | <autodoc>LineCopy(self)</autodoc> |
f32fc4bc RD |
39152 | </method> |
39153 | <method name="MoveCaretInsideView" type="" overloaded="no"> | |
781d2982 | 39154 | <autodoc>MoveCaretInsideView(self)</autodoc> |
f32fc4bc RD |
39155 | </method> |
39156 | <method name="LineLength" type="int" overloaded="no"> | |
781d2982 | 39157 | <autodoc>LineLength(self, int line) -> int</autodoc> |
f32fc4bc RD |
39158 | <paramlist> |
39159 | <param name="line" type="int" default=""/> | |
39160 | </paramlist> | |
39161 | </method> | |
39162 | <method name="BraceHighlight" type="" overloaded="no"> | |
781d2982 | 39163 | <autodoc>BraceHighlight(self, int pos1, int pos2)</autodoc> |
f32fc4bc RD |
39164 | <paramlist> |
39165 | <param name="pos1" type="int" default=""/> | |
39166 | <param name="pos2" type="int" default=""/> | |
39167 | </paramlist> | |
39168 | </method> | |
39169 | <method name="BraceBadLight" type="" overloaded="no"> | |
781d2982 | 39170 | <autodoc>BraceBadLight(self, int pos)</autodoc> |
f32fc4bc RD |
39171 | <paramlist> |
39172 | <param name="pos" type="int" default=""/> | |
39173 | </paramlist> | |
39174 | </method> | |
39175 | <method name="BraceMatch" type="int" overloaded="no"> | |
781d2982 | 39176 | <autodoc>BraceMatch(self, int pos) -> int</autodoc> |
f32fc4bc RD |
39177 | <paramlist> |
39178 | <param name="pos" type="int" default=""/> | |
39179 | </paramlist> | |
39180 | </method> | |
39181 | <method name="GetViewEOL" type="bool" overloaded="no"> | |
781d2982 | 39182 | <autodoc>GetViewEOL(self) -> bool</autodoc> |
f32fc4bc RD |
39183 | </method> |
39184 | <method name="SetViewEOL" type="" overloaded="no"> | |
781d2982 | 39185 | <autodoc>SetViewEOL(self, bool visible)</autodoc> |
f32fc4bc RD |
39186 | <paramlist> |
39187 | <param name="visible" type="bool" default=""/> | |
39188 | </paramlist> | |
39189 | </method> | |
39190 | <method name="GetDocPointer" type="" overloaded="no"> | |
781d2982 | 39191 | <autodoc>GetDocPointer(self) -> void</autodoc> |
f32fc4bc RD |
39192 | </method> |
39193 | <method name="SetDocPointer" type="" overloaded="no"> | |
781d2982 | 39194 | <autodoc>SetDocPointer(self, void docPointer)</autodoc> |
f32fc4bc RD |
39195 | <paramlist> |
39196 | <param name="docPointer" type="" default=""/> | |
39197 | </paramlist> | |
39198 | </method> | |
39199 | <method name="SetModEventMask" type="" overloaded="no"> | |
781d2982 | 39200 | <autodoc>SetModEventMask(self, int mask)</autodoc> |
f32fc4bc RD |
39201 | <paramlist> |
39202 | <param name="mask" type="int" default=""/> | |
39203 | </paramlist> | |
39204 | </method> | |
39205 | <method name="GetEdgeColumn" type="int" overloaded="no"> | |
781d2982 | 39206 | <autodoc>GetEdgeColumn(self) -> int</autodoc> |
f32fc4bc RD |
39207 | </method> |
39208 | <method name="SetEdgeColumn" type="" overloaded="no"> | |
781d2982 | 39209 | <autodoc>SetEdgeColumn(self, int column)</autodoc> |
f32fc4bc RD |
39210 | <paramlist> |
39211 | <param name="column" type="int" default=""/> | |
39212 | </paramlist> | |
39213 | </method> | |
39214 | <method name="GetEdgeMode" type="int" overloaded="no"> | |
781d2982 | 39215 | <autodoc>GetEdgeMode(self) -> int</autodoc> |
f32fc4bc RD |
39216 | </method> |
39217 | <method name="SetEdgeMode" type="" overloaded="no"> | |
781d2982 | 39218 | <autodoc>SetEdgeMode(self, int mode)</autodoc> |
f32fc4bc RD |
39219 | <paramlist> |
39220 | <param name="mode" type="int" default=""/> | |
39221 | </paramlist> | |
39222 | </method> | |
39223 | <method name="GetEdgeColour" type="Colour" overloaded="no"> | |
781d2982 | 39224 | <autodoc>GetEdgeColour(self) -> Colour</autodoc> |
f32fc4bc RD |
39225 | </method> |
39226 | <method name="SetEdgeColour" type="" overloaded="no"> | |
781d2982 | 39227 | <autodoc>SetEdgeColour(self, Colour edgeColour)</autodoc> |
f32fc4bc RD |
39228 | <paramlist> |
39229 | <param name="edgeColour" type="Colour" default=""/> | |
39230 | </paramlist> | |
39231 | </method> | |
39232 | <method name="SearchAnchor" type="" overloaded="no"> | |
781d2982 | 39233 | <autodoc>SearchAnchor(self)</autodoc> |
f32fc4bc RD |
39234 | </method> |
39235 | <method name="SearchNext" type="int" overloaded="no"> | |
781d2982 | 39236 | <autodoc>SearchNext(self, int flags, String text) -> int</autodoc> |
f32fc4bc RD |
39237 | <paramlist> |
39238 | <param name="flags" type="int" default=""/> | |
39239 | <param name="text" type="String" default=""/> | |
39240 | </paramlist> | |
39241 | </method> | |
39242 | <method name="SearchPrev" type="int" overloaded="no"> | |
781d2982 | 39243 | <autodoc>SearchPrev(self, int flags, String text) -> int</autodoc> |
f32fc4bc RD |
39244 | <paramlist> |
39245 | <param name="flags" type="int" default=""/> | |
39246 | <param name="text" type="String" default=""/> | |
39247 | </paramlist> | |
39248 | </method> | |
39249 | <method name="LinesOnScreen" type="int" overloaded="no"> | |
781d2982 | 39250 | <autodoc>LinesOnScreen(self) -> int</autodoc> |
f32fc4bc RD |
39251 | </method> |
39252 | <method name="UsePopUp" type="" overloaded="no"> | |
781d2982 | 39253 | <autodoc>UsePopUp(self, bool allowPopUp)</autodoc> |
f32fc4bc RD |
39254 | <paramlist> |
39255 | <param name="allowPopUp" type="bool" default=""/> | |
39256 | </paramlist> | |
39257 | </method> | |
39258 | <method name="SelectionIsRectangle" type="bool" overloaded="no"> | |
781d2982 | 39259 | <autodoc>SelectionIsRectangle(self) -> bool</autodoc> |
f32fc4bc RD |
39260 | </method> |
39261 | <method name="SetZoom" type="" overloaded="no"> | |
781d2982 | 39262 | <autodoc>SetZoom(self, int zoom)</autodoc> |
f32fc4bc RD |
39263 | <paramlist> |
39264 | <param name="zoom" type="int" default=""/> | |
39265 | </paramlist> | |
39266 | </method> | |
39267 | <method name="GetZoom" type="int" overloaded="no"> | |
781d2982 | 39268 | <autodoc>GetZoom(self) -> int</autodoc> |
f32fc4bc RD |
39269 | </method> |
39270 | <method name="CreateDocument" type="" overloaded="no"> | |
781d2982 | 39271 | <autodoc>CreateDocument(self) -> void</autodoc> |
f32fc4bc RD |
39272 | </method> |
39273 | <method name="AddRefDocument" type="" overloaded="no"> | |
781d2982 | 39274 | <autodoc>AddRefDocument(self, void docPointer)</autodoc> |
f32fc4bc RD |
39275 | <paramlist> |
39276 | <param name="docPointer" type="" default=""/> | |
39277 | </paramlist> | |
39278 | </method> | |
39279 | <method name="ReleaseDocument" type="" overloaded="no"> | |
781d2982 | 39280 | <autodoc>ReleaseDocument(self, void docPointer)</autodoc> |
f32fc4bc RD |
39281 | <paramlist> |
39282 | <param name="docPointer" type="" default=""/> | |
39283 | </paramlist> | |
39284 | </method> | |
39285 | <method name="GetModEventMask" type="int" overloaded="no"> | |
781d2982 | 39286 | <autodoc>GetModEventMask(self) -> int</autodoc> |
f32fc4bc RD |
39287 | </method> |
39288 | <method name="SetSTCFocus" type="" overloaded="no"> | |
781d2982 | 39289 | <autodoc>SetSTCFocus(self, bool focus)</autodoc> |
f32fc4bc RD |
39290 | <paramlist> |
39291 | <param name="focus" type="bool" default=""/> | |
39292 | </paramlist> | |
39293 | </method> | |
39294 | <method name="GetSTCFocus" type="bool" overloaded="no"> | |
781d2982 | 39295 | <autodoc>GetSTCFocus(self) -> bool</autodoc> |
f32fc4bc RD |
39296 | </method> |
39297 | <method name="SetStatus" type="" overloaded="no"> | |
781d2982 | 39298 | <autodoc>SetStatus(self, int statusCode)</autodoc> |
f32fc4bc RD |
39299 | <paramlist> |
39300 | <param name="statusCode" type="int" default=""/> | |
39301 | </paramlist> | |
39302 | </method> | |
39303 | <method name="GetStatus" type="int" overloaded="no"> | |
781d2982 | 39304 | <autodoc>GetStatus(self) -> int</autodoc> |
f32fc4bc RD |
39305 | </method> |
39306 | <method name="SetMouseDownCaptures" type="" overloaded="no"> | |
781d2982 | 39307 | <autodoc>SetMouseDownCaptures(self, bool captures)</autodoc> |
f32fc4bc RD |
39308 | <paramlist> |
39309 | <param name="captures" type="bool" default=""/> | |
39310 | </paramlist> | |
39311 | </method> | |
39312 | <method name="GetMouseDownCaptures" type="bool" overloaded="no"> | |
781d2982 | 39313 | <autodoc>GetMouseDownCaptures(self) -> bool</autodoc> |
f32fc4bc RD |
39314 | </method> |
39315 | <method name="SetSTCCursor" type="" overloaded="no"> | |
781d2982 | 39316 | <autodoc>SetSTCCursor(self, int cursorType)</autodoc> |
f32fc4bc RD |
39317 | <paramlist> |
39318 | <param name="cursorType" type="int" default=""/> | |
39319 | </paramlist> | |
39320 | </method> | |
39321 | <method name="GetSTCCursor" type="int" overloaded="no"> | |
781d2982 | 39322 | <autodoc>GetSTCCursor(self) -> int</autodoc> |
f32fc4bc RD |
39323 | </method> |
39324 | <method name="SetControlCharSymbol" type="" overloaded="no"> | |
781d2982 | 39325 | <autodoc>SetControlCharSymbol(self, int symbol)</autodoc> |
f32fc4bc RD |
39326 | <paramlist> |
39327 | <param name="symbol" type="int" default=""/> | |
39328 | </paramlist> | |
39329 | </method> | |
39330 | <method name="GetControlCharSymbol" type="int" overloaded="no"> | |
781d2982 | 39331 | <autodoc>GetControlCharSymbol(self) -> int</autodoc> |
f32fc4bc RD |
39332 | </method> |
39333 | <method name="WordPartLeft" type="" overloaded="no"> | |
781d2982 | 39334 | <autodoc>WordPartLeft(self)</autodoc> |
f32fc4bc RD |
39335 | </method> |
39336 | <method name="WordPartLeftExtend" type="" overloaded="no"> | |
781d2982 | 39337 | <autodoc>WordPartLeftExtend(self)</autodoc> |
f32fc4bc RD |
39338 | </method> |
39339 | <method name="WordPartRight" type="" overloaded="no"> | |
781d2982 | 39340 | <autodoc>WordPartRight(self)</autodoc> |
f32fc4bc RD |
39341 | </method> |
39342 | <method name="WordPartRightExtend" type="" overloaded="no"> | |
781d2982 | 39343 | <autodoc>WordPartRightExtend(self)</autodoc> |
f32fc4bc RD |
39344 | </method> |
39345 | <method name="SetVisiblePolicy" type="" overloaded="no"> | |
781d2982 | 39346 | <autodoc>SetVisiblePolicy(self, int visiblePolicy, int visibleSlop)</autodoc> |
f32fc4bc RD |
39347 | <paramlist> |
39348 | <param name="visiblePolicy" type="int" default=""/> | |
39349 | <param name="visibleSlop" type="int" default=""/> | |
39350 | </paramlist> | |
39351 | </method> | |
39352 | <method name="DelLineLeft" type="" overloaded="no"> | |
781d2982 | 39353 | <autodoc>DelLineLeft(self)</autodoc> |
f32fc4bc RD |
39354 | </method> |
39355 | <method name="DelLineRight" type="" overloaded="no"> | |
781d2982 | 39356 | <autodoc>DelLineRight(self)</autodoc> |
f32fc4bc RD |
39357 | </method> |
39358 | <method name="SetXOffset" type="" overloaded="no"> | |
781d2982 | 39359 | <autodoc>SetXOffset(self, int newOffset)</autodoc> |
f32fc4bc RD |
39360 | <paramlist> |
39361 | <param name="newOffset" type="int" default=""/> | |
39362 | </paramlist> | |
39363 | </method> | |
39364 | <method name="GetXOffset" type="int" overloaded="no"> | |
781d2982 | 39365 | <autodoc>GetXOffset(self) -> int</autodoc> |
f32fc4bc RD |
39366 | </method> |
39367 | <method name="ChooseCaretX" type="" overloaded="no"> | |
781d2982 | 39368 | <autodoc>ChooseCaretX(self)</autodoc> |
f32fc4bc RD |
39369 | </method> |
39370 | <method name="SetXCaretPolicy" type="" overloaded="no"> | |
781d2982 | 39371 | <autodoc>SetXCaretPolicy(self, int caretPolicy, int caretSlop)</autodoc> |
f32fc4bc RD |
39372 | <paramlist> |
39373 | <param name="caretPolicy" type="int" default=""/> | |
39374 | <param name="caretSlop" type="int" default=""/> | |
39375 | </paramlist> | |
39376 | </method> | |
39377 | <method name="SetYCaretPolicy" type="" overloaded="no"> | |
781d2982 | 39378 | <autodoc>SetYCaretPolicy(self, int caretPolicy, int caretSlop)</autodoc> |
f32fc4bc RD |
39379 | <paramlist> |
39380 | <param name="caretPolicy" type="int" default=""/> | |
39381 | <param name="caretSlop" type="int" default=""/> | |
39382 | </paramlist> | |
39383 | </method> | |
39384 | <method name="SetPrintWrapMode" type="" overloaded="no"> | |
781d2982 | 39385 | <autodoc>SetPrintWrapMode(self, int mode)</autodoc> |
f32fc4bc RD |
39386 | <paramlist> |
39387 | <param name="mode" type="int" default=""/> | |
39388 | </paramlist> | |
39389 | </method> | |
39390 | <method name="GetPrintWrapMode" type="int" overloaded="no"> | |
781d2982 | 39391 | <autodoc>GetPrintWrapMode(self) -> int</autodoc> |
f32fc4bc RD |
39392 | </method> |
39393 | <method name="SetHotspotActiveForeground" type="" overloaded="no"> | |
781d2982 | 39394 | <autodoc>SetHotspotActiveForeground(self, bool useSetting, Colour fore)</autodoc> |
f32fc4bc RD |
39395 | <paramlist> |
39396 | <param name="useSetting" type="bool" default=""/> | |
39397 | <param name="fore" type="Colour" default=""/> | |
39398 | </paramlist> | |
39399 | </method> | |
39400 | <method name="SetHotspotActiveBackground" type="" overloaded="no"> | |
781d2982 | 39401 | <autodoc>SetHotspotActiveBackground(self, bool useSetting, Colour back)</autodoc> |
f32fc4bc RD |
39402 | <paramlist> |
39403 | <param name="useSetting" type="bool" default=""/> | |
39404 | <param name="back" type="Colour" default=""/> | |
39405 | </paramlist> | |
39406 | </method> | |
39407 | <method name="SetHotspotActiveUnderline" type="" overloaded="no"> | |
781d2982 | 39408 | <autodoc>SetHotspotActiveUnderline(self, bool underline)</autodoc> |
f32fc4bc RD |
39409 | <paramlist> |
39410 | <param name="underline" type="bool" default=""/> | |
39411 | </paramlist> | |
39412 | </method> | |
39413 | <method name="SetHotspotSingleLine" type="" overloaded="no"> | |
781d2982 | 39414 | <autodoc>SetHotspotSingleLine(self, bool singleLine)</autodoc> |
f32fc4bc RD |
39415 | <paramlist> |
39416 | <param name="singleLine" type="bool" default=""/> | |
39417 | </paramlist> | |
39418 | </method> | |
b39e211b | 39419 | <method name="ParaDown" type="" overloaded="no"> |
781d2982 | 39420 | <autodoc>ParaDown(self)</autodoc> |
b39e211b RD |
39421 | </method> |
39422 | <method name="ParaDownExtend" type="" overloaded="no"> | |
781d2982 | 39423 | <autodoc>ParaDownExtend(self)</autodoc> |
b39e211b RD |
39424 | </method> |
39425 | <method name="ParaUp" type="" overloaded="no"> | |
781d2982 | 39426 | <autodoc>ParaUp(self)</autodoc> |
b39e211b RD |
39427 | </method> |
39428 | <method name="ParaUpExtend" type="" overloaded="no"> | |
781d2982 | 39429 | <autodoc>ParaUpExtend(self)</autodoc> |
b39e211b | 39430 | </method> |
f32fc4bc | 39431 | <method name="PositionBefore" type="int" overloaded="no"> |
781d2982 | 39432 | <autodoc>PositionBefore(self, int pos) -> int</autodoc> |
f32fc4bc RD |
39433 | <paramlist> |
39434 | <param name="pos" type="int" default=""/> | |
39435 | </paramlist> | |
39436 | </method> | |
39437 | <method name="PositionAfter" type="int" overloaded="no"> | |
781d2982 | 39438 | <autodoc>PositionAfter(self, int pos) -> int</autodoc> |
f32fc4bc RD |
39439 | <paramlist> |
39440 | <param name="pos" type="int" default=""/> | |
39441 | </paramlist> | |
39442 | </method> | |
39443 | <method name="CopyRange" type="" overloaded="no"> | |
781d2982 | 39444 | <autodoc>CopyRange(self, int start, int end)</autodoc> |
f32fc4bc RD |
39445 | <paramlist> |
39446 | <param name="start" type="int" default=""/> | |
39447 | <param name="end" type="int" default=""/> | |
39448 | </paramlist> | |
39449 | </method> | |
39450 | <method name="CopyText" type="" overloaded="no"> | |
781d2982 | 39451 | <autodoc>CopyText(self, int length, String text)</autodoc> |
f32fc4bc RD |
39452 | <paramlist> |
39453 | <param name="length" type="int" default=""/> | |
39454 | <param name="text" type="String" default=""/> | |
39455 | </paramlist> | |
39456 | </method> | |
39457 | <method name="SetSelectionMode" type="" overloaded="no"> | |
781d2982 | 39458 | <autodoc>SetSelectionMode(self, int mode)</autodoc> |
f32fc4bc RD |
39459 | <paramlist> |
39460 | <param name="mode" type="int" default=""/> | |
39461 | </paramlist> | |
39462 | </method> | |
39463 | <method name="GetSelectionMode" type="int" overloaded="no"> | |
781d2982 | 39464 | <autodoc>GetSelectionMode(self) -> int</autodoc> |
f32fc4bc RD |
39465 | </method> |
39466 | <method name="GetLineSelStartPosition" type="int" overloaded="no"> | |
781d2982 | 39467 | <autodoc>GetLineSelStartPosition(self, int line) -> int</autodoc> |
f32fc4bc RD |
39468 | <paramlist> |
39469 | <param name="line" type="int" default=""/> | |
39470 | </paramlist> | |
39471 | </method> | |
39472 | <method name="GetLineSelEndPosition" type="int" overloaded="no"> | |
781d2982 | 39473 | <autodoc>GetLineSelEndPosition(self, int line) -> int</autodoc> |
f32fc4bc RD |
39474 | <paramlist> |
39475 | <param name="line" type="int" default=""/> | |
39476 | </paramlist> | |
39477 | </method> | |
b39e211b | 39478 | <method name="LineDownRectExtend" type="" overloaded="no"> |
781d2982 | 39479 | <autodoc>LineDownRectExtend(self)</autodoc> |
b39e211b RD |
39480 | </method> |
39481 | <method name="LineUpRectExtend" type="" overloaded="no"> | |
781d2982 | 39482 | <autodoc>LineUpRectExtend(self)</autodoc> |
b39e211b RD |
39483 | </method> |
39484 | <method name="CharLeftRectExtend" type="" overloaded="no"> | |
781d2982 | 39485 | <autodoc>CharLeftRectExtend(self)</autodoc> |
b39e211b RD |
39486 | </method> |
39487 | <method name="CharRightRectExtend" type="" overloaded="no"> | |
781d2982 | 39488 | <autodoc>CharRightRectExtend(self)</autodoc> |
b39e211b RD |
39489 | </method> |
39490 | <method name="HomeRectExtend" type="" overloaded="no"> | |
781d2982 | 39491 | <autodoc>HomeRectExtend(self)</autodoc> |
b39e211b RD |
39492 | </method> |
39493 | <method name="VCHomeRectExtend" type="" overloaded="no"> | |
781d2982 | 39494 | <autodoc>VCHomeRectExtend(self)</autodoc> |
b39e211b RD |
39495 | </method> |
39496 | <method name="LineEndRectExtend" type="" overloaded="no"> | |
781d2982 | 39497 | <autodoc>LineEndRectExtend(self)</autodoc> |
b39e211b RD |
39498 | </method> |
39499 | <method name="PageUpRectExtend" type="" overloaded="no"> | |
781d2982 | 39500 | <autodoc>PageUpRectExtend(self)</autodoc> |
b39e211b RD |
39501 | </method> |
39502 | <method name="PageDownRectExtend" type="" overloaded="no"> | |
781d2982 | 39503 | <autodoc>PageDownRectExtend(self)</autodoc> |
b39e211b RD |
39504 | </method> |
39505 | <method name="StutteredPageUp" type="" overloaded="no"> | |
781d2982 | 39506 | <autodoc>StutteredPageUp(self)</autodoc> |
b39e211b RD |
39507 | </method> |
39508 | <method name="StutteredPageUpExtend" type="" overloaded="no"> | |
781d2982 | 39509 | <autodoc>StutteredPageUpExtend(self)</autodoc> |
b39e211b RD |
39510 | </method> |
39511 | <method name="StutteredPageDown" type="" overloaded="no"> | |
781d2982 | 39512 | <autodoc>StutteredPageDown(self)</autodoc> |
b39e211b RD |
39513 | </method> |
39514 | <method name="StutteredPageDownExtend" type="" overloaded="no"> | |
781d2982 | 39515 | <autodoc>StutteredPageDownExtend(self)</autodoc> |
b39e211b RD |
39516 | </method> |
39517 | <method name="WordLeftEnd" type="" overloaded="no"> | |
781d2982 | 39518 | <autodoc>WordLeftEnd(self)</autodoc> |
b39e211b RD |
39519 | </method> |
39520 | <method name="WordLeftEndExtend" type="" overloaded="no"> | |
781d2982 | 39521 | <autodoc>WordLeftEndExtend(self)</autodoc> |
b39e211b RD |
39522 | </method> |
39523 | <method name="WordRightEnd" type="" overloaded="no"> | |
781d2982 | 39524 | <autodoc>WordRightEnd(self)</autodoc> |
b39e211b RD |
39525 | </method> |
39526 | <method name="WordRightEndExtend" type="" overloaded="no"> | |
781d2982 | 39527 | <autodoc>WordRightEndExtend(self)</autodoc> |
b39e211b | 39528 | </method> |
f32fc4bc | 39529 | <method name="SetWhitespaceChars" type="" overloaded="no"> |
781d2982 | 39530 | <autodoc>SetWhitespaceChars(self, String characters)</autodoc> |
f32fc4bc RD |
39531 | <paramlist> |
39532 | <param name="characters" type="String" default=""/> | |
39533 | </paramlist> | |
39534 | </method> | |
39535 | <method name="SetCharsDefault" type="" overloaded="no"> | |
781d2982 | 39536 | <autodoc>SetCharsDefault(self)</autodoc> |
f32fc4bc RD |
39537 | </method> |
39538 | <method name="AutoCompGetCurrent" type="int" overloaded="no"> | |
781d2982 | 39539 | <autodoc>AutoCompGetCurrent(self) -> int</autodoc> |
f32fc4bc RD |
39540 | </method> |
39541 | <method name="StartRecord" type="" overloaded="no"> | |
781d2982 | 39542 | <autodoc>StartRecord(self)</autodoc> |
f32fc4bc RD |
39543 | </method> |
39544 | <method name="StopRecord" type="" overloaded="no"> | |
781d2982 | 39545 | <autodoc>StopRecord(self)</autodoc> |
f32fc4bc RD |
39546 | </method> |
39547 | <method name="SetLexer" type="" overloaded="no"> | |
781d2982 | 39548 | <autodoc>SetLexer(self, int lexer)</autodoc> |
f32fc4bc RD |
39549 | <paramlist> |
39550 | <param name="lexer" type="int" default=""/> | |
39551 | </paramlist> | |
39552 | </method> | |
39553 | <method name="GetLexer" type="int" overloaded="no"> | |
781d2982 | 39554 | <autodoc>GetLexer(self) -> int</autodoc> |
f32fc4bc RD |
39555 | </method> |
39556 | <method name="Colourise" type="" overloaded="no"> | |
781d2982 | 39557 | <autodoc>Colourise(self, int start, int end)</autodoc> |
f32fc4bc RD |
39558 | <paramlist> |
39559 | <param name="start" type="int" default=""/> | |
39560 | <param name="end" type="int" default=""/> | |
39561 | </paramlist> | |
39562 | </method> | |
39563 | <method name="SetProperty" type="" overloaded="no"> | |
781d2982 | 39564 | <autodoc>SetProperty(self, String key, String value)</autodoc> |
f32fc4bc RD |
39565 | <paramlist> |
39566 | <param name="key" type="String" default=""/> | |
39567 | <param name="value" type="String" default=""/> | |
39568 | </paramlist> | |
39569 | </method> | |
39570 | <method name="SetKeyWords" type="" overloaded="no"> | |
781d2982 | 39571 | <autodoc>SetKeyWords(self, int keywordSet, String keyWords)</autodoc> |
f32fc4bc RD |
39572 | <paramlist> |
39573 | <param name="keywordSet" type="int" default=""/> | |
39574 | <param name="keyWords" type="String" default=""/> | |
39575 | </paramlist> | |
39576 | </method> | |
39577 | <method name="SetLexerLanguage" type="" overloaded="no"> | |
781d2982 | 39578 | <autodoc>SetLexerLanguage(self, String language)</autodoc> |
f32fc4bc RD |
39579 | <paramlist> |
39580 | <param name="language" type="String" default=""/> | |
39581 | </paramlist> | |
39582 | </method> | |
39583 | <method name="GetCurrentLine" type="int" overloaded="no"> | |
781d2982 | 39584 | <autodoc>GetCurrentLine(self) -> int</autodoc> |
f32fc4bc RD |
39585 | </method> |
39586 | <method name="StyleSetSpec" type="" overloaded="no"> | |
781d2982 | 39587 | <autodoc>StyleSetSpec(self, int styleNum, String spec)</autodoc> |
f32fc4bc RD |
39588 | <paramlist> |
39589 | <param name="styleNum" type="int" default=""/> | |
39590 | <param name="spec" type="String" default=""/> | |
39591 | </paramlist> | |
39592 | </method> | |
39593 | <method name="StyleSetFont" type="" overloaded="no"> | |
781d2982 | 39594 | <autodoc>StyleSetFont(self, int styleNum, Font font)</autodoc> |
f32fc4bc RD |
39595 | <paramlist> |
39596 | <param name="styleNum" type="int" default=""/> | |
39597 | <param name="font" type="Font" default=""/> | |
39598 | </paramlist> | |
39599 | </method> | |
39600 | <method name="StyleSetFontAttr" type="" overloaded="no"> | |
781d2982 | 39601 | <autodoc>StyleSetFontAttr(self, int styleNum, int size, String faceName, bool bold, |
f32fc4bc RD |
39602 | bool italic, bool underline)</autodoc> |
39603 | <paramlist> | |
39604 | <param name="styleNum" type="int" default=""/> | |
39605 | <param name="size" type="int" default=""/> | |
39606 | <param name="faceName" type="String" default=""/> | |
39607 | <param name="bold" type="bool" default=""/> | |
39608 | <param name="italic" type="bool" default=""/> | |
39609 | <param name="underline" type="bool" default=""/> | |
39610 | </paramlist> | |
39611 | </method> | |
39612 | <method name="CmdKeyExecute" type="" overloaded="no"> | |
781d2982 | 39613 | <autodoc>CmdKeyExecute(self, int cmd)</autodoc> |
f32fc4bc RD |
39614 | <paramlist> |
39615 | <param name="cmd" type="int" default=""/> | |
39616 | </paramlist> | |
39617 | </method> | |
39618 | <method name="SetMargins" type="" overloaded="no"> | |
781d2982 | 39619 | <autodoc>SetMargins(self, int left, int right)</autodoc> |
f32fc4bc RD |
39620 | <paramlist> |
39621 | <param name="left" type="int" default=""/> | |
39622 | <param name="right" type="int" default=""/> | |
39623 | </paramlist> | |
39624 | </method> | |
39625 | <method name="GetSelection" type="" overloaded="no"> | |
781d2982 | 39626 | <autodoc>GetSelection(self, int OUTPUT, int OUTPUT)</autodoc> |
f32fc4bc RD |
39627 | <paramlist> |
39628 | <param name="OUTPUT" type="int" default=""/> | |
39629 | <param name="OUTPUT" type="int" default=""/> | |
39630 | </paramlist> | |
39631 | </method> | |
39632 | <method name="PointFromPosition" type="Point" overloaded="no"> | |
781d2982 | 39633 | <autodoc>PointFromPosition(self, int pos) -> Point</autodoc> |
f32fc4bc RD |
39634 | <paramlist> |
39635 | <param name="pos" type="int" default=""/> | |
39636 | </paramlist> | |
39637 | </method> | |
39638 | <method name="ScrollToLine" type="" overloaded="no"> | |
781d2982 | 39639 | <autodoc>ScrollToLine(self, int line)</autodoc> |
f32fc4bc RD |
39640 | <paramlist> |
39641 | <param name="line" type="int" default=""/> | |
39642 | </paramlist> | |
39643 | </method> | |
39644 | <method name="ScrollToColumn" type="" overloaded="no"> | |
781d2982 | 39645 | <autodoc>ScrollToColumn(self, int column)</autodoc> |
f32fc4bc RD |
39646 | <paramlist> |
39647 | <param name="column" type="int" default=""/> | |
39648 | </paramlist> | |
39649 | </method> | |
39650 | <method name="SendMsg" type="long" overloaded="no"> | |
781d2982 | 39651 | <autodoc>SendMsg(self, int msg, long wp=0, long lp=0) -> long</autodoc> |
f32fc4bc RD |
39652 | <paramlist> |
39653 | <param name="msg" type="int" default=""/> | |
39654 | <param name="wp" type="long" default="0"/> | |
39655 | <param name="lp" type="long" default="0"/> | |
39656 | </paramlist> | |
39657 | </method> | |
39658 | <method name="SetVScrollBar" type="" overloaded="no"> | |
781d2982 | 39659 | <autodoc>SetVScrollBar(self, wxScrollBar bar)</autodoc> |
f32fc4bc RD |
39660 | <paramlist> |
39661 | <param name="bar" type="ScrollBar" default=""/> | |
39662 | </paramlist> | |
39663 | </method> | |
39664 | <method name="SetHScrollBar" type="" overloaded="no"> | |
781d2982 | 39665 | <autodoc>SetHScrollBar(self, wxScrollBar bar)</autodoc> |
f32fc4bc RD |
39666 | <paramlist> |
39667 | <param name="bar" type="ScrollBar" default=""/> | |
39668 | </paramlist> | |
39669 | </method> | |
39670 | <method name="GetLastKeydownProcessed" type="bool" overloaded="no"> | |
781d2982 | 39671 | <autodoc>GetLastKeydownProcessed(self) -> bool</autodoc> |
f32fc4bc RD |
39672 | </method> |
39673 | <method name="SetLastKeydownProcessed" type="" overloaded="no"> | |
781d2982 | 39674 | <autodoc>SetLastKeydownProcessed(self, bool val)</autodoc> |
f32fc4bc RD |
39675 | <paramlist> |
39676 | <param name="val" type="bool" default=""/> | |
39677 | </paramlist> | |
39678 | </method> | |
39679 | <method name="SaveFile" type="bool" overloaded="no"> | |
781d2982 | 39680 | <autodoc>SaveFile(self, String filename) -> bool</autodoc> |
f32fc4bc RD |
39681 | <paramlist> |
39682 | <param name="filename" type="String" default=""/> | |
39683 | </paramlist> | |
39684 | </method> | |
39685 | <method name="LoadFile" type="bool" overloaded="no"> | |
781d2982 | 39686 | <autodoc>LoadFile(self, String filename) -> bool</autodoc> |
f32fc4bc RD |
39687 | <paramlist> |
39688 | <param name="filename" type="String" default=""/> | |
39689 | </paramlist> | |
39690 | </method> | |
39691 | <method name="DoDragOver" type="wxDragResult" overloaded="no"> | |
781d2982 | 39692 | <autodoc>DoDragOver(self, int x, int y, int def) -> int</autodoc> |
f32fc4bc RD |
39693 | <paramlist> |
39694 | <param name="x" type="int" default=""/> | |
39695 | <param name="y" type="int" default=""/> | |
39696 | <param name="def" type="wxDragResult" default=""/> | |
39697 | </paramlist> | |
39698 | </method> | |
39699 | <method name="DoDropText" type="bool" overloaded="no"> | |
781d2982 | 39700 | <autodoc>DoDropText(self, long x, long y, String data) -> bool</autodoc> |
f32fc4bc RD |
39701 | <paramlist> |
39702 | <param name="x" type="long" default=""/> | |
39703 | <param name="y" type="long" default=""/> | |
39704 | <param name="data" type="String" default=""/> | |
39705 | </paramlist> | |
39706 | </method> | |
39707 | <method name="SetUseAntiAliasing" type="" overloaded="no"> | |
781d2982 | 39708 | <autodoc>SetUseAntiAliasing(self, bool useAA)</autodoc> |
f32fc4bc RD |
39709 | <paramlist> |
39710 | <param name="useAA" type="bool" default=""/> | |
39711 | </paramlist> | |
39712 | </method> | |
39713 | <method name="GetUseAntiAliasing" type="bool" overloaded="no"> | |
781d2982 | 39714 | <autodoc>GetUseAntiAliasing(self) -> bool</autodoc> |
f32fc4bc RD |
39715 | </method> |
39716 | </class> | |
39717 | <class name="StyledTextEvent" oldname="wxStyledTextEvent" module="stc"> | |
39718 | <baseclass name="CommandEvent"/> | |
39719 | <constructor name="StyledTextEvent" overloaded="no"> | |
781d2982 | 39720 | <autodoc>__init__(self, wxEventType commandType=0, int id=0) -> StyledTextEvent</autodoc> |
f32fc4bc RD |
39721 | <paramlist> |
39722 | <param name="commandType" type="wxEventType" default="0"/> | |
39723 | <param name="id" type="int" default="0"/> | |
39724 | </paramlist> | |
39725 | </constructor> | |
39726 | <destructor name="~wxStyledTextEvent" overloaded="no"> | |
781d2982 | 39727 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
39728 | </destructor> |
39729 | <method name="SetPosition" type="" overloaded="no"> | |
781d2982 | 39730 | <autodoc>SetPosition(self, int pos)</autodoc> |
f32fc4bc RD |
39731 | <paramlist> |
39732 | <param name="pos" type="int" default=""/> | |
39733 | </paramlist> | |
39734 | </method> | |
39735 | <method name="SetKey" type="" overloaded="no"> | |
781d2982 | 39736 | <autodoc>SetKey(self, int k)</autodoc> |
f32fc4bc RD |
39737 | <paramlist> |
39738 | <param name="k" type="int" default=""/> | |
39739 | </paramlist> | |
39740 | </method> | |
39741 | <method name="SetModifiers" type="" overloaded="no"> | |
781d2982 | 39742 | <autodoc>SetModifiers(self, int m)</autodoc> |
f32fc4bc RD |
39743 | <paramlist> |
39744 | <param name="m" type="int" default=""/> | |
39745 | </paramlist> | |
39746 | </method> | |
39747 | <method name="SetModificationType" type="" overloaded="no"> | |
781d2982 | 39748 | <autodoc>SetModificationType(self, int t)</autodoc> |
f32fc4bc RD |
39749 | <paramlist> |
39750 | <param name="t" type="int" default=""/> | |
39751 | </paramlist> | |
39752 | </method> | |
39753 | <method name="SetText" type="" overloaded="no"> | |
781d2982 | 39754 | <autodoc>SetText(self, String t)</autodoc> |
f32fc4bc RD |
39755 | <paramlist> |
39756 | <param name="t" type="String" default=""/> | |
39757 | </paramlist> | |
39758 | </method> | |
39759 | <method name="SetLength" type="" overloaded="no"> | |
781d2982 | 39760 | <autodoc>SetLength(self, int len)</autodoc> |
f32fc4bc RD |
39761 | <paramlist> |
39762 | <param name="len" type="int" default=""/> | |
39763 | </paramlist> | |
39764 | </method> | |
39765 | <method name="SetLinesAdded" type="" overloaded="no"> | |
781d2982 | 39766 | <autodoc>SetLinesAdded(self, int num)</autodoc> |
f32fc4bc RD |
39767 | <paramlist> |
39768 | <param name="num" type="int" default=""/> | |
39769 | </paramlist> | |
39770 | </method> | |
39771 | <method name="SetLine" type="" overloaded="no"> | |
781d2982 | 39772 | <autodoc>SetLine(self, int val)</autodoc> |
f32fc4bc RD |
39773 | <paramlist> |
39774 | <param name="val" type="int" default=""/> | |
39775 | </paramlist> | |
39776 | </method> | |
39777 | <method name="SetFoldLevelNow" type="" overloaded="no"> | |
781d2982 | 39778 | <autodoc>SetFoldLevelNow(self, int val)</autodoc> |
f32fc4bc RD |
39779 | <paramlist> |
39780 | <param name="val" type="int" default=""/> | |
39781 | </paramlist> | |
39782 | </method> | |
39783 | <method name="SetFoldLevelPrev" type="" overloaded="no"> | |
781d2982 | 39784 | <autodoc>SetFoldLevelPrev(self, int val)</autodoc> |
f32fc4bc RD |
39785 | <paramlist> |
39786 | <param name="val" type="int" default=""/> | |
39787 | </paramlist> | |
39788 | </method> | |
39789 | <method name="SetMargin" type="" overloaded="no"> | |
781d2982 | 39790 | <autodoc>SetMargin(self, int val)</autodoc> |
f32fc4bc RD |
39791 | <paramlist> |
39792 | <param name="val" type="int" default=""/> | |
39793 | </paramlist> | |
39794 | </method> | |
39795 | <method name="SetMessage" type="" overloaded="no"> | |
781d2982 | 39796 | <autodoc>SetMessage(self, int val)</autodoc> |
f32fc4bc RD |
39797 | <paramlist> |
39798 | <param name="val" type="int" default=""/> | |
39799 | </paramlist> | |
39800 | </method> | |
39801 | <method name="SetWParam" type="" overloaded="no"> | |
781d2982 | 39802 | <autodoc>SetWParam(self, int val)</autodoc> |
f32fc4bc RD |
39803 | <paramlist> |
39804 | <param name="val" type="int" default=""/> | |
39805 | </paramlist> | |
39806 | </method> | |
39807 | <method name="SetLParam" type="" overloaded="no"> | |
781d2982 | 39808 | <autodoc>SetLParam(self, int val)</autodoc> |
f32fc4bc RD |
39809 | <paramlist> |
39810 | <param name="val" type="int" default=""/> | |
39811 | </paramlist> | |
39812 | </method> | |
39813 | <method name="SetListType" type="" overloaded="no"> | |
781d2982 | 39814 | <autodoc>SetListType(self, int val)</autodoc> |
f32fc4bc RD |
39815 | <paramlist> |
39816 | <param name="val" type="int" default=""/> | |
39817 | </paramlist> | |
39818 | </method> | |
39819 | <method name="SetX" type="" overloaded="no"> | |
781d2982 | 39820 | <autodoc>SetX(self, int val)</autodoc> |
f32fc4bc RD |
39821 | <paramlist> |
39822 | <param name="val" type="int" default=""/> | |
39823 | </paramlist> | |
39824 | </method> | |
39825 | <method name="SetY" type="" overloaded="no"> | |
781d2982 | 39826 | <autodoc>SetY(self, int val)</autodoc> |
f32fc4bc RD |
39827 | <paramlist> |
39828 | <param name="val" type="int" default=""/> | |
39829 | </paramlist> | |
39830 | </method> | |
39831 | <method name="SetDragText" type="" overloaded="no"> | |
781d2982 | 39832 | <autodoc>SetDragText(self, String val)</autodoc> |
f32fc4bc RD |
39833 | <paramlist> |
39834 | <param name="val" type="String" default=""/> | |
39835 | </paramlist> | |
39836 | </method> | |
39837 | <method name="SetDragAllowMove" type="" overloaded="no"> | |
781d2982 | 39838 | <autodoc>SetDragAllowMove(self, bool val)</autodoc> |
f32fc4bc RD |
39839 | <paramlist> |
39840 | <param name="val" type="bool" default=""/> | |
39841 | </paramlist> | |
39842 | </method> | |
39843 | <method name="SetDragResult" type="" overloaded="no"> | |
781d2982 | 39844 | <autodoc>SetDragResult(self, int val)</autodoc> |
f32fc4bc RD |
39845 | <paramlist> |
39846 | <param name="val" type="wxDragResult" default=""/> | |
39847 | </paramlist> | |
39848 | </method> | |
39849 | <method name="GetPosition" type="int" overloaded="no"> | |
781d2982 | 39850 | <autodoc>GetPosition(self) -> int</autodoc> |
f32fc4bc RD |
39851 | </method> |
39852 | <method name="GetKey" type="int" overloaded="no"> | |
781d2982 | 39853 | <autodoc>GetKey(self) -> int</autodoc> |
f32fc4bc RD |
39854 | </method> |
39855 | <method name="GetModifiers" type="int" overloaded="no"> | |
781d2982 | 39856 | <autodoc>GetModifiers(self) -> int</autodoc> |
f32fc4bc RD |
39857 | </method> |
39858 | <method name="GetModificationType" type="int" overloaded="no"> | |
781d2982 | 39859 | <autodoc>GetModificationType(self) -> int</autodoc> |
f32fc4bc RD |
39860 | </method> |
39861 | <method name="GetText" type="String" overloaded="no"> | |
781d2982 | 39862 | <autodoc>GetText(self) -> String</autodoc> |
f32fc4bc RD |
39863 | </method> |
39864 | <method name="GetLength" type="int" overloaded="no"> | |
781d2982 | 39865 | <autodoc>GetLength(self) -> int</autodoc> |
f32fc4bc RD |
39866 | </method> |
39867 | <method name="GetLinesAdded" type="int" overloaded="no"> | |
781d2982 | 39868 | <autodoc>GetLinesAdded(self) -> int</autodoc> |
f32fc4bc RD |
39869 | </method> |
39870 | <method name="GetLine" type="int" overloaded="no"> | |
781d2982 | 39871 | <autodoc>GetLine(self) -> int</autodoc> |
f32fc4bc RD |
39872 | </method> |
39873 | <method name="GetFoldLevelNow" type="int" overloaded="no"> | |
781d2982 | 39874 | <autodoc>GetFoldLevelNow(self) -> int</autodoc> |
f32fc4bc RD |
39875 | </method> |
39876 | <method name="GetFoldLevelPrev" type="int" overloaded="no"> | |
781d2982 | 39877 | <autodoc>GetFoldLevelPrev(self) -> int</autodoc> |
f32fc4bc RD |
39878 | </method> |
39879 | <method name="GetMargin" type="int" overloaded="no"> | |
781d2982 | 39880 | <autodoc>GetMargin(self) -> int</autodoc> |
f32fc4bc RD |
39881 | </method> |
39882 | <method name="GetMessage" type="int" overloaded="no"> | |
781d2982 | 39883 | <autodoc>GetMessage(self) -> int</autodoc> |
f32fc4bc RD |
39884 | </method> |
39885 | <method name="GetWParam" type="int" overloaded="no"> | |
781d2982 | 39886 | <autodoc>GetWParam(self) -> int</autodoc> |
f32fc4bc RD |
39887 | </method> |
39888 | <method name="GetLParam" type="int" overloaded="no"> | |
781d2982 | 39889 | <autodoc>GetLParam(self) -> int</autodoc> |
f32fc4bc RD |
39890 | </method> |
39891 | <method name="GetListType" type="int" overloaded="no"> | |
781d2982 | 39892 | <autodoc>GetListType(self) -> int</autodoc> |
f32fc4bc RD |
39893 | </method> |
39894 | <method name="GetX" type="int" overloaded="no"> | |
781d2982 | 39895 | <autodoc>GetX(self) -> int</autodoc> |
f32fc4bc RD |
39896 | </method> |
39897 | <method name="GetY" type="int" overloaded="no"> | |
781d2982 | 39898 | <autodoc>GetY(self) -> int</autodoc> |
f32fc4bc RD |
39899 | </method> |
39900 | <method name="GetDragText" type="String" overloaded="no"> | |
781d2982 | 39901 | <autodoc>GetDragText(self) -> String</autodoc> |
f32fc4bc RD |
39902 | </method> |
39903 | <method name="GetDragAllowMove" type="bool" overloaded="no"> | |
781d2982 | 39904 | <autodoc>GetDragAllowMove(self) -> bool</autodoc> |
f32fc4bc RD |
39905 | </method> |
39906 | <method name="GetDragResult" type="wxDragResult" overloaded="no"> | |
781d2982 | 39907 | <autodoc>GetDragResult(self) -> int</autodoc> |
f32fc4bc RD |
39908 | </method> |
39909 | <method name="GetShift" type="bool" overloaded="no"> | |
781d2982 | 39910 | <autodoc>GetShift(self) -> bool</autodoc> |
f32fc4bc RD |
39911 | </method> |
39912 | <method name="GetControl" type="bool" overloaded="no"> | |
781d2982 | 39913 | <autodoc>GetControl(self) -> bool</autodoc> |
f32fc4bc RD |
39914 | </method> |
39915 | <method name="GetAlt" type="bool" overloaded="no"> | |
781d2982 | 39916 | <autodoc>GetAlt(self) -> bool</autodoc> |
f32fc4bc RD |
39917 | </method> |
39918 | <method name="Clone" type="Event" overloaded="no"> | |
781d2982 | 39919 | <autodoc>Clone(self) -> Event</autodoc> |
f32fc4bc RD |
39920 | </method> |
39921 | </class> | |
39922 | <pythoncode> | |
39923 | EVT_STC_CHANGE = wx.PyEventBinder( wxEVT_STC_CHANGE, 1 ) | |
39924 | EVT_STC_STYLENEEDED = wx.PyEventBinder( wxEVT_STC_STYLENEEDED, 1 ) | |
39925 | EVT_STC_CHARADDED = wx.PyEventBinder( wxEVT_STC_CHARADDED, 1 ) | |
39926 | EVT_STC_SAVEPOINTREACHED = wx.PyEventBinder( wxEVT_STC_SAVEPOINTREACHED, 1 ) | |
39927 | EVT_STC_SAVEPOINTLEFT = wx.PyEventBinder( wxEVT_STC_SAVEPOINTLEFT, 1 ) | |
39928 | EVT_STC_ROMODIFYATTEMPT = wx.PyEventBinder( wxEVT_STC_ROMODIFYATTEMPT, 1 ) | |
39929 | EVT_STC_KEY = wx.PyEventBinder( wxEVT_STC_KEY, 1 ) | |
39930 | EVT_STC_DOUBLECLICK = wx.PyEventBinder( wxEVT_STC_DOUBLECLICK, 1 ) | |
39931 | EVT_STC_UPDATEUI = wx.PyEventBinder( wxEVT_STC_UPDATEUI, 1 ) | |
39932 | EVT_STC_MODIFIED = wx.PyEventBinder( wxEVT_STC_MODIFIED, 1 ) | |
39933 | EVT_STC_MACRORECORD = wx.PyEventBinder( wxEVT_STC_MACRORECORD, 1 ) | |
39934 | EVT_STC_MARGINCLICK = wx.PyEventBinder( wxEVT_STC_MARGINCLICK, 1 ) | |
39935 | EVT_STC_NEEDSHOWN = wx.PyEventBinder( wxEVT_STC_NEEDSHOWN, 1 ) | |
f32fc4bc RD |
39936 | EVT_STC_PAINTED = wx.PyEventBinder( wxEVT_STC_PAINTED, 1 ) |
39937 | EVT_STC_USERLISTSELECTION = wx.PyEventBinder( wxEVT_STC_USERLISTSELECTION, 1 ) | |
39938 | EVT_STC_URIDROPPED = wx.PyEventBinder( wxEVT_STC_URIDROPPED, 1 ) | |
39939 | EVT_STC_DWELLSTART = wx.PyEventBinder( wxEVT_STC_DWELLSTART, 1 ) | |
39940 | EVT_STC_DWELLEND = wx.PyEventBinder( wxEVT_STC_DWELLEND, 1 ) | |
39941 | EVT_STC_START_DRAG = wx.PyEventBinder( wxEVT_STC_START_DRAG, 1 ) | |
39942 | EVT_STC_DRAG_OVER = wx.PyEventBinder( wxEVT_STC_DRAG_OVER, 1 ) | |
39943 | EVT_STC_DO_DROP = wx.PyEventBinder( wxEVT_STC_DO_DROP, 1 ) | |
39944 | EVT_STC_ZOOM = wx.PyEventBinder( wxEVT_STC_ZOOM, 1 ) | |
39945 | EVT_STC_HOTSPOT_CLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_CLICK, 1 ) | |
39946 | EVT_STC_HOTSPOT_DCLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_DCLICK, 1 ) | |
39947 | EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 ) | |
39948 | </pythoncode> | |
39949 | </module> | |
39950 | <module name="xrc"> | |
781d2982 RD |
39951 | <import name="_core"/> |
39952 | <pythoncode> wx = _core </pythoncode> | |
39953 | <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode> | |
f32fc4bc RD |
39954 | <pythoncode> |
39955 | #--------------------------------------------------------------------------- | |
39956 | </pythoncode> | |
39957 | <class name="XmlResource" oldname="wxXmlResource" module="xrc"> | |
39958 | <baseclass name="Object"/> | |
39959 | <constructor name="XmlResource" overloaded="no"> | |
781d2982 | 39960 | <autodoc>__init__(self, String filemask, int flags=XRC_USE_LOCALE) -> XmlResource</autodoc> |
f32fc4bc RD |
39961 | <paramlist> |
39962 | <param name="filemask" type="String" default=""/> | |
39963 | <param name="flags" type="int" default="wxXRC_USE_LOCALE"/> | |
39964 | </paramlist> | |
39965 | </constructor> | |
39966 | <constructor name="EmptyXmlResource" overloaded="no"> | |
39967 | <autodoc>EmptyXmlResource(int flags=XRC_USE_LOCALE) -> XmlResource</autodoc> | |
39968 | <paramlist> | |
39969 | <param name="flags" type="int" default="wxXRC_USE_LOCALE"/> | |
39970 | </paramlist> | |
39971 | </constructor> | |
39972 | <destructor name="~wxXmlResource" overloaded="no"> | |
781d2982 | 39973 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
39974 | </destructor> |
39975 | <method name="Load" type="bool" overloaded="no"> | |
781d2982 | 39976 | <autodoc>Load(self, String filemask) -> bool</autodoc> |
f32fc4bc RD |
39977 | <paramlist> |
39978 | <param name="filemask" type="String" default=""/> | |
39979 | </paramlist> | |
39980 | </method> | |
39981 | <method name="LoadFromString" type="bool" overloaded="no"> | |
781d2982 | 39982 | <autodoc>LoadFromString(self, String data) -> bool</autodoc> |
f32fc4bc RD |
39983 | <paramlist> |
39984 | <param name="data" type="String" default=""/> | |
39985 | </paramlist> | |
39986 | </method> | |
39987 | <method name="InitAllHandlers" type="" overloaded="no"> | |
781d2982 | 39988 | <autodoc>InitAllHandlers(self)</autodoc> |
f32fc4bc RD |
39989 | </method> |
39990 | <method name="AddHandler" type="" overloaded="no"> | |
781d2982 | 39991 | <autodoc>AddHandler(self, XmlResourceHandler handler)</autodoc> |
f32fc4bc RD |
39992 | <paramlist> |
39993 | <param name="handler" type="wxPyXmlResourceHandler" default=""/> | |
39994 | </paramlist> | |
39995 | </method> | |
39996 | <method name="InsertHandler" type="" overloaded="no"> | |
781d2982 | 39997 | <autodoc>InsertHandler(self, XmlResourceHandler handler)</autodoc> |
f32fc4bc RD |
39998 | <paramlist> |
39999 | <param name="handler" type="wxPyXmlResourceHandler" default=""/> | |
40000 | </paramlist> | |
40001 | </method> | |
40002 | <method name="ClearHandlers" type="" overloaded="no"> | |
781d2982 | 40003 | <autodoc>ClearHandlers(self)</autodoc> |
f32fc4bc RD |
40004 | </method> |
40005 | <staticmethod name="AddSubclassFactory" type="" overloaded="no"> | |
40006 | <autodoc>AddSubclassFactory(XmlSubclassFactory factory)</autodoc> | |
40007 | <paramlist> | |
40008 | <param name="factory" type="wxPyXmlSubclassFactory" default=""/> | |
40009 | </paramlist> | |
40010 | </staticmethod> | |
40011 | <method name="LoadMenu" type="Menu" overloaded="no"> | |
781d2982 | 40012 | <autodoc>LoadMenu(self, String name) -> Menu</autodoc> |
f32fc4bc RD |
40013 | <paramlist> |
40014 | <param name="name" type="String" default=""/> | |
40015 | </paramlist> | |
40016 | </method> | |
40017 | <method name="LoadMenuBar" type="MenuBar" overloaded="no"> | |
781d2982 | 40018 | <autodoc>LoadMenuBar(self, String name) -> MenuBar</autodoc> |
f32fc4bc RD |
40019 | <paramlist> |
40020 | <param name="name" type="String" default=""/> | |
40021 | </paramlist> | |
40022 | </method> | |
40023 | <method name="LoadMenuBarOnFrame" type="MenuBar" overloaded="no"> | |
781d2982 | 40024 | <autodoc>LoadMenuBarOnFrame(self, Window parent, String name) -> MenuBar</autodoc> |
f32fc4bc RD |
40025 | <paramlist> |
40026 | <param name="parent" type="Window" default=""/> | |
40027 | <param name="name" type="String" default=""/> | |
40028 | </paramlist> | |
40029 | </method> | |
40030 | <method name="LoadToolBar" type="ToolBar" overloaded="no"> | |
781d2982 | 40031 | <autodoc>LoadToolBar(self, Window parent, String name) -> wxToolBar</autodoc> |
f32fc4bc RD |
40032 | <paramlist> |
40033 | <param name="parent" type="Window" default=""/> | |
40034 | <param name="name" type="String" default=""/> | |
40035 | </paramlist> | |
40036 | </method> | |
40037 | <method name="LoadDialog" type="Dialog" overloaded="no"> | |
781d2982 | 40038 | <autodoc>LoadDialog(self, Window parent, String name) -> wxDialog</autodoc> |
f32fc4bc RD |
40039 | <paramlist> |
40040 | <param name="parent" type="Window" default=""/> | |
40041 | <param name="name" type="String" default=""/> | |
40042 | </paramlist> | |
40043 | </method> | |
40044 | <method name="LoadOnDialog" type="bool" overloaded="no"> | |
781d2982 | 40045 | <autodoc>LoadOnDialog(self, wxDialog dlg, Window parent, String name) -> bool</autodoc> |
f32fc4bc RD |
40046 | <paramlist> |
40047 | <param name="dlg" type="Dialog" default=""/> | |
40048 | <param name="parent" type="Window" default=""/> | |
40049 | <param name="name" type="String" default=""/> | |
40050 | </paramlist> | |
40051 | </method> | |
40052 | <method name="LoadPanel" type="Panel" overloaded="no"> | |
781d2982 | 40053 | <autodoc>LoadPanel(self, Window parent, String name) -> wxPanel</autodoc> |
f32fc4bc RD |
40054 | <paramlist> |
40055 | <param name="parent" type="Window" default=""/> | |
40056 | <param name="name" type="String" default=""/> | |
40057 | </paramlist> | |
40058 | </method> | |
40059 | <method name="LoadOnPanel" type="bool" overloaded="no"> | |
781d2982 | 40060 | <autodoc>LoadOnPanel(self, wxPanel panel, Window parent, String name) -> bool</autodoc> |
f32fc4bc RD |
40061 | <paramlist> |
40062 | <param name="panel" type="Panel" default=""/> | |
40063 | <param name="parent" type="Window" default=""/> | |
40064 | <param name="name" type="String" default=""/> | |
40065 | </paramlist> | |
40066 | </method> | |
40067 | <method name="LoadFrame" type="Frame" overloaded="no"> | |
781d2982 | 40068 | <autodoc>LoadFrame(self, Window parent, String name) -> wxFrame</autodoc> |
f32fc4bc RD |
40069 | <paramlist> |
40070 | <param name="parent" type="Window" default=""/> | |
40071 | <param name="name" type="String" default=""/> | |
40072 | </paramlist> | |
40073 | </method> | |
40074 | <method name="LoadOnFrame" type="bool" overloaded="no"> | |
781d2982 | 40075 | <autodoc>LoadOnFrame(self, wxFrame frame, Window parent, String name) -> bool</autodoc> |
f32fc4bc RD |
40076 | <paramlist> |
40077 | <param name="frame" type="Frame" default=""/> | |
40078 | <param name="parent" type="Window" default=""/> | |
40079 | <param name="name" type="String" default=""/> | |
40080 | </paramlist> | |
40081 | </method> | |
40082 | <method name="LoadObject" type="Object" overloaded="no"> | |
781d2982 | 40083 | <autodoc>LoadObject(self, Window parent, String name, String classname) -> Object</autodoc> |
f32fc4bc RD |
40084 | <paramlist> |
40085 | <param name="parent" type="Window" default=""/> | |
40086 | <param name="name" type="String" default=""/> | |
40087 | <param name="classname" type="String" default=""/> | |
40088 | </paramlist> | |
40089 | </method> | |
40090 | <method name="LoadOnObject" type="bool" overloaded="no"> | |
781d2982 | 40091 | <autodoc>LoadOnObject(self, Object instance, Window parent, String name, String classname) -> bool</autodoc> |
f32fc4bc RD |
40092 | <paramlist> |
40093 | <param name="instance" type="Object" default=""/> | |
40094 | <param name="parent" type="Window" default=""/> | |
40095 | <param name="name" type="String" default=""/> | |
40096 | <param name="classname" type="String" default=""/> | |
40097 | </paramlist> | |
40098 | </method> | |
40099 | <method name="LoadBitmap" type="Bitmap" overloaded="no"> | |
781d2982 | 40100 | <autodoc>LoadBitmap(self, String name) -> Bitmap</autodoc> |
f32fc4bc RD |
40101 | <paramlist> |
40102 | <param name="name" type="String" default=""/> | |
40103 | </paramlist> | |
40104 | </method> | |
40105 | <method name="LoadIcon" type="Icon" overloaded="no"> | |
781d2982 | 40106 | <autodoc>LoadIcon(self, String name) -> Icon</autodoc> |
f32fc4bc RD |
40107 | <paramlist> |
40108 | <param name="name" type="String" default=""/> | |
40109 | </paramlist> | |
40110 | </method> | |
40111 | <method name="AttachUnknownControl" type="bool" overloaded="no"> | |
781d2982 | 40112 | <autodoc>AttachUnknownControl(self, String name, Window control, Window parent=None) -> bool</autodoc> |
f32fc4bc RD |
40113 | <paramlist> |
40114 | <param name="name" type="String" default=""/> | |
40115 | <param name="control" type="Window" default=""/> | |
40116 | <param name="parent" type="Window" default="NULL"/> | |
40117 | </paramlist> | |
40118 | </method> | |
40119 | <staticmethod name="GetXRCID" type="int" overloaded="no"> | |
40120 | <autodoc>GetXRCID(String str_id) -> int</autodoc> | |
40121 | <paramlist> | |
40122 | <param name="str_id" type="String" default=""/> | |
40123 | </paramlist> | |
40124 | </staticmethod> | |
40125 | <method name="GetVersion" type="long" overloaded="no"> | |
781d2982 | 40126 | <autodoc>GetVersion(self) -> long</autodoc> |
f32fc4bc RD |
40127 | </method> |
40128 | <method name="CompareVersion" type="int" overloaded="no"> | |
781d2982 | 40129 | <autodoc>CompareVersion(self, int major, int minor, int release, int revision) -> int</autodoc> |
f32fc4bc RD |
40130 | <paramlist> |
40131 | <param name="major" type="int" default=""/> | |
40132 | <param name="minor" type="int" default=""/> | |
40133 | <param name="release" type="int" default=""/> | |
40134 | <param name="revision" type="int" default=""/> | |
40135 | </paramlist> | |
40136 | </method> | |
40137 | <staticmethod name="Get" type="XmlResource" overloaded="no"> | |
40138 | <autodoc>Get() -> XmlResource</autodoc> | |
40139 | </staticmethod> | |
40140 | <staticmethod name="Set" type="XmlResource" overloaded="no"> | |
40141 | <autodoc>Set(XmlResource res) -> XmlResource</autodoc> | |
40142 | <paramlist> | |
40143 | <param name="res" type="XmlResource" default=""/> | |
40144 | </paramlist> | |
40145 | </staticmethod> | |
40146 | <method name="GetFlags" type="int" overloaded="no"> | |
781d2982 | 40147 | <autodoc>GetFlags(self) -> int</autodoc> |
f32fc4bc RD |
40148 | </method> |
40149 | <method name="SetFlags" type="" overloaded="no"> | |
781d2982 | 40150 | <autodoc>SetFlags(self, int flags)</autodoc> |
f32fc4bc RD |
40151 | <paramlist> |
40152 | <param name="flags" type="int" default=""/> | |
40153 | </paramlist> | |
40154 | </method> | |
40155 | </class> | |
40156 | <pythoncode> | |
40157 | def XRCID(str_id): | |
40158 | return XmlResource_GetXRCID(str_id) | |
40159 | ||
40160 | def XRCCTRL(window, str_id, *ignoreargs): | |
40161 | return window.FindWindowById(XRCID(str_id)) | |
40162 | </pythoncode> | |
40163 | <pythoncode> | |
40164 | #--------------------------------------------------------------------------- | |
40165 | </pythoncode> | |
40166 | <class name="XmlSubclassFactory" oldname="wxPyXmlSubclassFactory" module="xrc"> | |
40167 | <constructor name="wxPyXmlSubclassFactory" overloaded="no"> | |
781d2982 | 40168 | <autodoc>__init__(self) -> XmlSubclassFactory</autodoc> |
f32fc4bc RD |
40169 | </constructor> |
40170 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 40171 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
40172 | <paramlist> |
40173 | <param name="self" type="PyObject" default=""/> | |
40174 | <param name="_class" type="PyObject" default=""/> | |
40175 | </paramlist> | |
40176 | </method> | |
40177 | </class> | |
40178 | <pythoncode> | |
40179 | #--------------------------------------------------------------------------- | |
40180 | </pythoncode> | |
40181 | <class name="XmlProperty" oldname="wxXmlProperty" module="xrc"> | |
40182 | <constructor name="XmlProperty" overloaded="no"> | |
781d2982 | 40183 | <autodoc>__init__(self, String name=EmptyString, String value=EmptyString, |
f32fc4bc RD |
40184 | XmlProperty next=None) -> XmlProperty</autodoc> |
40185 | <paramlist> | |
40186 | <param name="name" type="String" default="wxPyEmptyString"/> | |
40187 | <param name="value" type="String" default="wxPyEmptyString"/> | |
40188 | <param name="next" type="XmlProperty" default="NULL"/> | |
40189 | </paramlist> | |
40190 | </constructor> | |
40191 | <method name="GetName" type="String" overloaded="no"> | |
781d2982 | 40192 | <autodoc>GetName(self) -> String</autodoc> |
f32fc4bc RD |
40193 | </method> |
40194 | <method name="GetValue" type="String" overloaded="no"> | |
781d2982 | 40195 | <autodoc>GetValue(self) -> String</autodoc> |
f32fc4bc RD |
40196 | </method> |
40197 | <method name="GetNext" type="XmlProperty" overloaded="no"> | |
781d2982 | 40198 | <autodoc>GetNext(self) -> XmlProperty</autodoc> |
f32fc4bc RD |
40199 | </method> |
40200 | <method name="SetName" type="" overloaded="no"> | |
781d2982 | 40201 | <autodoc>SetName(self, String name)</autodoc> |
f32fc4bc RD |
40202 | <paramlist> |
40203 | <param name="name" type="String" default=""/> | |
40204 | </paramlist> | |
40205 | </method> | |
40206 | <method name="SetValue" type="" overloaded="no"> | |
781d2982 | 40207 | <autodoc>SetValue(self, String value)</autodoc> |
f32fc4bc RD |
40208 | <paramlist> |
40209 | <param name="value" type="String" default=""/> | |
40210 | </paramlist> | |
40211 | </method> | |
40212 | <method name="SetNext" type="" overloaded="no"> | |
781d2982 | 40213 | <autodoc>SetNext(self, XmlProperty next)</autodoc> |
f32fc4bc RD |
40214 | <paramlist> |
40215 | <param name="next" type="XmlProperty" default=""/> | |
40216 | </paramlist> | |
40217 | </method> | |
40218 | </class> | |
40219 | <class name="XmlNode" oldname="wxXmlNode" module="xrc"> | |
40220 | <constructor name="XmlNode" overloaded="no"> | |
781d2982 | 40221 | <autodoc>__init__(self, XmlNode parent=None, int type=0, String name=EmptyString, |
f32fc4bc RD |
40222 | String content=EmptyString, XmlProperty props=None, |
40223 | XmlNode next=None) -> XmlNode</autodoc> | |
40224 | <paramlist> | |
40225 | <param name="parent" type="XmlNode" default="NULL"/> | |
40226 | <param name="type" type="wxXmlNodeType" default="0"/> | |
40227 | <param name="name" type="String" default="wxPyEmptyString"/> | |
40228 | <param name="content" type="String" default="wxPyEmptyString"/> | |
40229 | <param name="props" type="XmlProperty" default="NULL"/> | |
40230 | <param name="next" type="XmlNode" default="NULL"/> | |
40231 | </paramlist> | |
40232 | </constructor> | |
40233 | <constructor name="XmlNodeEasy" overloaded="no"> | |
40234 | <autodoc>XmlNodeEasy(int type, String name, String content=EmptyString) -> XmlNode</autodoc> | |
40235 | <paramlist> | |
40236 | <param name="type" type="wxXmlNodeType" default=""/> | |
40237 | <param name="name" type="String" default=""/> | |
40238 | <param name="content" type="String" default="wxPyEmptyString"/> | |
40239 | </paramlist> | |
40240 | </constructor> | |
40241 | <destructor name="~wxXmlNode" overloaded="no"> | |
781d2982 | 40242 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
40243 | </destructor> |
40244 | <method name="AddChild" type="" overloaded="no"> | |
781d2982 | 40245 | <autodoc>AddChild(self, XmlNode child)</autodoc> |
f32fc4bc RD |
40246 | <paramlist> |
40247 | <param name="child" type="XmlNode" default=""/> | |
40248 | </paramlist> | |
40249 | </method> | |
40250 | <method name="InsertChild" type="" overloaded="no"> | |
781d2982 | 40251 | <autodoc>InsertChild(self, XmlNode child, XmlNode before_node)</autodoc> |
f32fc4bc RD |
40252 | <paramlist> |
40253 | <param name="child" type="XmlNode" default=""/> | |
40254 | <param name="before_node" type="XmlNode" default=""/> | |
40255 | </paramlist> | |
40256 | </method> | |
40257 | <method name="RemoveChild" type="bool" overloaded="no"> | |
781d2982 | 40258 | <autodoc>RemoveChild(self, XmlNode child) -> bool</autodoc> |
f32fc4bc RD |
40259 | <paramlist> |
40260 | <param name="child" type="XmlNode" default=""/> | |
40261 | </paramlist> | |
40262 | </method> | |
40263 | <method name="AddProperty" type="" overloaded="no"> | |
781d2982 | 40264 | <autodoc>AddProperty(self, XmlProperty prop)</autodoc> |
f32fc4bc RD |
40265 | <paramlist> |
40266 | <param name="prop" type="XmlProperty" default=""/> | |
40267 | </paramlist> | |
40268 | </method> | |
40269 | <method name="AddPropertyName" type="" overloaded="no"> | |
781d2982 | 40270 | <autodoc>AddPropertyName(self, String name, String value)</autodoc> |
f32fc4bc RD |
40271 | <paramlist> |
40272 | <param name="name" type="String" default=""/> | |
40273 | <param name="value" type="String" default=""/> | |
40274 | </paramlist> | |
40275 | </method> | |
40276 | <method name="DeleteProperty" type="bool" overloaded="no"> | |
781d2982 | 40277 | <autodoc>DeleteProperty(self, String name) -> bool</autodoc> |
f32fc4bc RD |
40278 | <paramlist> |
40279 | <param name="name" type="String" default=""/> | |
40280 | </paramlist> | |
40281 | </method> | |
40282 | <method name="GetType" type="wxXmlNodeType" overloaded="no"> | |
781d2982 | 40283 | <autodoc>GetType(self) -> int</autodoc> |
f32fc4bc RD |
40284 | </method> |
40285 | <method name="GetName" type="String" overloaded="no"> | |
781d2982 | 40286 | <autodoc>GetName(self) -> String</autodoc> |
f32fc4bc RD |
40287 | </method> |
40288 | <method name="GetContent" type="String" overloaded="no"> | |
781d2982 | 40289 | <autodoc>GetContent(self) -> String</autodoc> |
f32fc4bc RD |
40290 | </method> |
40291 | <method name="GetParent" type="XmlNode" overloaded="no"> | |
781d2982 | 40292 | <autodoc>GetParent(self) -> XmlNode</autodoc> |
f32fc4bc RD |
40293 | </method> |
40294 | <method name="GetNext" type="XmlNode" overloaded="no"> | |
781d2982 | 40295 | <autodoc>GetNext(self) -> XmlNode</autodoc> |
f32fc4bc RD |
40296 | </method> |
40297 | <method name="GetChildren" type="XmlNode" overloaded="no"> | |
781d2982 | 40298 | <autodoc>GetChildren(self) -> XmlNode</autodoc> |
f32fc4bc RD |
40299 | </method> |
40300 | <method name="GetProperties" type="XmlProperty" overloaded="no"> | |
781d2982 | 40301 | <autodoc>GetProperties(self) -> XmlProperty</autodoc> |
f32fc4bc RD |
40302 | </method> |
40303 | <method name="GetPropVal" type="String" overloaded="no"> | |
781d2982 | 40304 | <autodoc>GetPropVal(self, String propName, String defaultVal) -> String</autodoc> |
f32fc4bc RD |
40305 | <paramlist> |
40306 | <param name="propName" type="String" default=""/> | |
40307 | <param name="defaultVal" type="String" default=""/> | |
40308 | </paramlist> | |
40309 | </method> | |
40310 | <method name="HasProp" type="bool" overloaded="no"> | |
781d2982 | 40311 | <autodoc>HasProp(self, String propName) -> bool</autodoc> |
f32fc4bc RD |
40312 | <paramlist> |
40313 | <param name="propName" type="String" default=""/> | |
40314 | </paramlist> | |
40315 | </method> | |
40316 | <method name="SetType" type="" overloaded="no"> | |
781d2982 | 40317 | <autodoc>SetType(self, int type)</autodoc> |
f32fc4bc RD |
40318 | <paramlist> |
40319 | <param name="type" type="wxXmlNodeType" default=""/> | |
40320 | </paramlist> | |
40321 | </method> | |
40322 | <method name="SetName" type="" overloaded="no"> | |
781d2982 | 40323 | <autodoc>SetName(self, String name)</autodoc> |
f32fc4bc RD |
40324 | <paramlist> |
40325 | <param name="name" type="String" default=""/> | |
40326 | </paramlist> | |
40327 | </method> | |
40328 | <method name="SetContent" type="" overloaded="no"> | |
781d2982 | 40329 | <autodoc>SetContent(self, String con)</autodoc> |
f32fc4bc RD |
40330 | <paramlist> |
40331 | <param name="con" type="String" default=""/> | |
40332 | </paramlist> | |
40333 | </method> | |
40334 | <method name="SetParent" type="" overloaded="no"> | |
781d2982 | 40335 | <autodoc>SetParent(self, XmlNode parent)</autodoc> |
f32fc4bc RD |
40336 | <paramlist> |
40337 | <param name="parent" type="XmlNode" default=""/> | |
40338 | </paramlist> | |
40339 | </method> | |
40340 | <method name="SetNext" type="" overloaded="no"> | |
781d2982 | 40341 | <autodoc>SetNext(self, XmlNode next)</autodoc> |
f32fc4bc RD |
40342 | <paramlist> |
40343 | <param name="next" type="XmlNode" default=""/> | |
40344 | </paramlist> | |
40345 | </method> | |
40346 | <method name="SetChildren" type="" overloaded="no"> | |
781d2982 | 40347 | <autodoc>SetChildren(self, XmlNode child)</autodoc> |
f32fc4bc RD |
40348 | <paramlist> |
40349 | <param name="child" type="XmlNode" default=""/> | |
40350 | </paramlist> | |
40351 | </method> | |
40352 | <method name="SetProperties" type="" overloaded="no"> | |
781d2982 | 40353 | <autodoc>SetProperties(self, XmlProperty prop)</autodoc> |
f32fc4bc RD |
40354 | <paramlist> |
40355 | <param name="prop" type="XmlProperty" default=""/> | |
40356 | </paramlist> | |
40357 | </method> | |
40358 | </class> | |
40359 | <class name="XmlDocument" oldname="wxXmlDocument" module="xrc"> | |
40360 | <baseclass name="Object"/> | |
40361 | <constructor name="XmlDocument" overloaded="no"> | |
781d2982 | 40362 | <autodoc>__init__(self, String filename, String encoding=UTF8String) -> XmlDocument</autodoc> |
f32fc4bc RD |
40363 | <paramlist> |
40364 | <param name="filename" type="String" default=""/> | |
40365 | <param name="encoding" type="String" default="wxPyUTF8String"/> | |
40366 | </paramlist> | |
40367 | </constructor> | |
40368 | <constructor name="XmlDocumentFromStream" overloaded="no"> | |
40369 | <autodoc>XmlDocumentFromStream(InputStream stream, String encoding=UTF8String) -> XmlDocument</autodoc> | |
40370 | <paramlist> | |
40371 | <param name="stream" type="wxInputStream" default=""/> | |
40372 | <param name="encoding" type="String" default="wxPyUTF8String"/> | |
40373 | </paramlist> | |
40374 | </constructor> | |
40375 | <constructor name="EmptyXmlDocument" overloaded="no"> | |
40376 | <autodoc>EmptyXmlDocument() -> XmlDocument</autodoc> | |
40377 | </constructor> | |
40378 | <destructor name="~wxXmlDocument" overloaded="no"> | |
781d2982 | 40379 | <autodoc>__del__(self)</autodoc> |
f32fc4bc RD |
40380 | </destructor> |
40381 | <method name="Load" type="bool" overloaded="no"> | |
781d2982 | 40382 | <autodoc>Load(self, String filename, String encoding=UTF8String) -> bool</autodoc> |
f32fc4bc RD |
40383 | <paramlist> |
40384 | <param name="filename" type="String" default=""/> | |
40385 | <param name="encoding" type="String" default="wxPyUTF8String"/> | |
40386 | </paramlist> | |
40387 | </method> | |
40388 | <method name="LoadFromStream" type="bool" overloaded="no"> | |
781d2982 | 40389 | <autodoc>LoadFromStream(self, InputStream stream, String encoding=UTF8String) -> bool</autodoc> |
f32fc4bc RD |
40390 | <paramlist> |
40391 | <param name="stream" type="wxInputStream" default=""/> | |
40392 | <param name="encoding" type="String" default="wxPyUTF8String"/> | |
40393 | </paramlist> | |
40394 | </method> | |
40395 | <method name="Save" type="bool" overloaded="no"> | |
781d2982 | 40396 | <autodoc>Save(self, String filename) -> bool</autodoc> |
f32fc4bc RD |
40397 | <paramlist> |
40398 | <param name="filename" type="String" default=""/> | |
40399 | </paramlist> | |
40400 | </method> | |
40401 | <method name="SaveToStream" type="bool" overloaded="no"> | |
781d2982 | 40402 | <autodoc>SaveToStream(self, OutputStream stream) -> bool</autodoc> |
f32fc4bc RD |
40403 | <paramlist> |
40404 | <param name="stream" type="OutputStream" default=""/> | |
40405 | </paramlist> | |
40406 | </method> | |
40407 | <method name="IsOk" type="bool" overloaded="no"> | |
781d2982 | 40408 | <autodoc>IsOk(self) -> bool</autodoc> |
f32fc4bc RD |
40409 | </method> |
40410 | <method name="GetRoot" type="XmlNode" overloaded="no"> | |
781d2982 | 40411 | <autodoc>GetRoot(self) -> XmlNode</autodoc> |
f32fc4bc RD |
40412 | </method> |
40413 | <method name="GetVersion" type="String" overloaded="no"> | |
781d2982 | 40414 | <autodoc>GetVersion(self) -> String</autodoc> |
f32fc4bc RD |
40415 | </method> |
40416 | <method name="GetFileEncoding" type="String" overloaded="no"> | |
781d2982 | 40417 | <autodoc>GetFileEncoding(self) -> String</autodoc> |
f32fc4bc RD |
40418 | </method> |
40419 | <method name="SetRoot" type="" overloaded="no"> | |
781d2982 | 40420 | <autodoc>SetRoot(self, XmlNode node)</autodoc> |
f32fc4bc RD |
40421 | <paramlist> |
40422 | <param name="node" type="XmlNode" default=""/> | |
40423 | </paramlist> | |
40424 | </method> | |
40425 | <method name="SetVersion" type="" overloaded="no"> | |
781d2982 | 40426 | <autodoc>SetVersion(self, String version)</autodoc> |
f32fc4bc RD |
40427 | <paramlist> |
40428 | <param name="version" type="String" default=""/> | |
40429 | </paramlist> | |
40430 | </method> | |
40431 | <method name="SetFileEncoding" type="" overloaded="no"> | |
781d2982 | 40432 | <autodoc>SetFileEncoding(self, String encoding)</autodoc> |
f32fc4bc RD |
40433 | <paramlist> |
40434 | <param name="encoding" type="String" default=""/> | |
40435 | </paramlist> | |
40436 | </method> | |
40437 | </class> | |
40438 | <pythoncode> | |
40439 | #--------------------------------------------------------------------------- | |
40440 | </pythoncode> | |
40441 | <class name="XmlResourceHandler" oldname="wxPyXmlResourceHandler" module="xrc"> | |
40442 | <baseclass name="Object"/> | |
40443 | <constructor name="wxPyXmlResourceHandler" overloaded="no"> | |
781d2982 | 40444 | <autodoc>__init__(self) -> XmlResourceHandler</autodoc> |
f32fc4bc RD |
40445 | </constructor> |
40446 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 40447 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
40448 | <paramlist> |
40449 | <param name="self" type="PyObject" default=""/> | |
40450 | <param name="_class" type="PyObject" default=""/> | |
40451 | </paramlist> | |
40452 | </method> | |
40453 | <method name="CreateResource" type="Object" overloaded="no"> | |
781d2982 | 40454 | <autodoc>CreateResource(self, XmlNode node, Object parent, Object instance) -> Object</autodoc> |
f32fc4bc RD |
40455 | <paramlist> |
40456 | <param name="node" type="XmlNode" default=""/> | |
40457 | <param name="parent" type="Object" default=""/> | |
40458 | <param name="instance" type="Object" default=""/> | |
40459 | </paramlist> | |
40460 | </method> | |
40461 | <method name="SetParentResource" type="" overloaded="no"> | |
781d2982 | 40462 | <autodoc>SetParentResource(self, XmlResource res)</autodoc> |
f32fc4bc RD |
40463 | <paramlist> |
40464 | <param name="res" type="XmlResource" default=""/> | |
40465 | </paramlist> | |
40466 | </method> | |
40467 | <method name="GetResource" type="XmlResource" overloaded="no"> | |
781d2982 | 40468 | <autodoc>GetResource(self) -> XmlResource</autodoc> |
f32fc4bc RD |
40469 | </method> |
40470 | <method name="GetNode" type="XmlNode" overloaded="no"> | |
781d2982 | 40471 | <autodoc>GetNode(self) -> XmlNode</autodoc> |
f32fc4bc RD |
40472 | </method> |
40473 | <method name="GetClass" type="String" overloaded="no"> | |
781d2982 | 40474 | <autodoc>GetClass(self) -> String</autodoc> |
f32fc4bc RD |
40475 | </method> |
40476 | <method name="GetParent" type="Object" overloaded="no"> | |
781d2982 | 40477 | <autodoc>GetParent(self) -> Object</autodoc> |
f32fc4bc RD |
40478 | </method> |
40479 | <method name="GetInstance" type="Object" overloaded="no"> | |
781d2982 | 40480 | <autodoc>GetInstance(self) -> Object</autodoc> |
f32fc4bc RD |
40481 | </method> |
40482 | <method name="GetParentAsWindow" type="Window" overloaded="no"> | |
781d2982 | 40483 | <autodoc>GetParentAsWindow(self) -> Window</autodoc> |
f32fc4bc RD |
40484 | </method> |
40485 | <method name="GetInstanceAsWindow" type="Window" overloaded="no"> | |
781d2982 | 40486 | <autodoc>GetInstanceAsWindow(self) -> Window</autodoc> |
f32fc4bc RD |
40487 | </method> |
40488 | <method name="IsOfClass" type="bool" overloaded="no"> | |
781d2982 | 40489 | <autodoc>IsOfClass(self, XmlNode node, String classname) -> bool</autodoc> |
f32fc4bc RD |
40490 | <paramlist> |
40491 | <param name="node" type="XmlNode" default=""/> | |
40492 | <param name="classname" type="String" default=""/> | |
40493 | </paramlist> | |
40494 | </method> | |
40495 | <method name="GetNodeContent" type="String" overloaded="no"> | |
781d2982 | 40496 | <autodoc>GetNodeContent(self, XmlNode node) -> String</autodoc> |
f32fc4bc RD |
40497 | <paramlist> |
40498 | <param name="node" type="XmlNode" default=""/> | |
40499 | </paramlist> | |
40500 | </method> | |
40501 | <method name="HasParam" type="bool" overloaded="no"> | |
781d2982 | 40502 | <autodoc>HasParam(self, String param) -> bool</autodoc> |
f32fc4bc RD |
40503 | <paramlist> |
40504 | <param name="param" type="String" default=""/> | |
40505 | </paramlist> | |
40506 | </method> | |
40507 | <method name="GetParamNode" type="XmlNode" overloaded="no"> | |
781d2982 | 40508 | <autodoc>GetParamNode(self, String param) -> XmlNode</autodoc> |
f32fc4bc RD |
40509 | <paramlist> |
40510 | <param name="param" type="String" default=""/> | |
40511 | </paramlist> | |
40512 | </method> | |
40513 | <method name="GetParamValue" type="String" overloaded="no"> | |
781d2982 | 40514 | <autodoc>GetParamValue(self, String param) -> String</autodoc> |
f32fc4bc RD |
40515 | <paramlist> |
40516 | <param name="param" type="String" default=""/> | |
40517 | </paramlist> | |
40518 | </method> | |
40519 | <method name="AddStyle" type="" overloaded="no"> | |
781d2982 | 40520 | <autodoc>AddStyle(self, String name, int value)</autodoc> |
f32fc4bc RD |
40521 | <paramlist> |
40522 | <param name="name" type="String" default=""/> | |
40523 | <param name="value" type="int" default=""/> | |
40524 | </paramlist> | |
40525 | </method> | |
40526 | <method name="AddWindowStyles" type="" overloaded="no"> | |
781d2982 | 40527 | <autodoc>AddWindowStyles(self)</autodoc> |
f32fc4bc RD |
40528 | </method> |
40529 | <method name="GetStyle" type="int" overloaded="no"> | |
781d2982 | 40530 | <autodoc>GetStyle(self, String param=StyleString, int defaults=0) -> int</autodoc> |
f32fc4bc RD |
40531 | <paramlist> |
40532 | <param name="param" type="String" default="wxPyStyleString"/> | |
40533 | <param name="defaults" type="int" default="0"/> | |
40534 | </paramlist> | |
40535 | </method> | |
40536 | <method name="GetText" type="String" overloaded="no"> | |
781d2982 | 40537 | <autodoc>GetText(self, String param, bool translate=True) -> String</autodoc> |
f32fc4bc RD |
40538 | <paramlist> |
40539 | <param name="param" type="String" default=""/> | |
40540 | <param name="translate" type="bool" default="True"/> | |
40541 | </paramlist> | |
40542 | </method> | |
40543 | <method name="GetID" type="int" overloaded="no"> | |
781d2982 | 40544 | <autodoc>GetID(self) -> int</autodoc> |
f32fc4bc RD |
40545 | </method> |
40546 | <method name="GetName" type="String" overloaded="no"> | |
781d2982 | 40547 | <autodoc>GetName(self) -> String</autodoc> |
f32fc4bc RD |
40548 | </method> |
40549 | <method name="GetBool" type="bool" overloaded="no"> | |
781d2982 | 40550 | <autodoc>GetBool(self, String param, bool defaultv=False) -> bool</autodoc> |
f32fc4bc RD |
40551 | <paramlist> |
40552 | <param name="param" type="String" default=""/> | |
40553 | <param name="defaultv" type="bool" default="False"/> | |
40554 | </paramlist> | |
40555 | </method> | |
40556 | <method name="GetLong" type="long" overloaded="no"> | |
781d2982 | 40557 | <autodoc>GetLong(self, String param, long defaultv=0) -> long</autodoc> |
f32fc4bc RD |
40558 | <paramlist> |
40559 | <param name="param" type="String" default=""/> | |
40560 | <param name="defaultv" type="long" default="0"/> | |
40561 | </paramlist> | |
40562 | </method> | |
40563 | <method name="GetColour" type="Colour" overloaded="no"> | |
781d2982 | 40564 | <autodoc>GetColour(self, String param) -> Colour</autodoc> |
f32fc4bc RD |
40565 | <paramlist> |
40566 | <param name="param" type="String" default=""/> | |
40567 | </paramlist> | |
40568 | </method> | |
40569 | <method name="GetSize" type="Size" overloaded="no"> | |
781d2982 | 40570 | <autodoc>GetSize(self, String param=SizeString) -> Size</autodoc> |
f32fc4bc RD |
40571 | <paramlist> |
40572 | <param name="param" type="String" default="wxPySizeString"/> | |
40573 | </paramlist> | |
40574 | </method> | |
40575 | <method name="GetPosition" type="Point" overloaded="no"> | |
781d2982 | 40576 | <autodoc>GetPosition(self, String param=PosString) -> Point</autodoc> |
f32fc4bc RD |
40577 | <paramlist> |
40578 | <param name="param" type="String" default="wxPyPosString"/> | |
40579 | </paramlist> | |
40580 | </method> | |
40581 | <method name="GetDimension" type="int" overloaded="no"> | |
781d2982 | 40582 | <autodoc>GetDimension(self, String param, int defaultv=0) -> int</autodoc> |
f32fc4bc RD |
40583 | <paramlist> |
40584 | <param name="param" type="String" default=""/> | |
40585 | <param name="defaultv" type="int" default="0"/> | |
40586 | </paramlist> | |
40587 | </method> | |
40588 | <method name="GetBitmap" type="Bitmap" overloaded="no"> | |
781d2982 | 40589 | <autodoc>GetBitmap(self, String param=BitmapString, wxArtClient defaultArtClient=wxART_OTHER, |
f32fc4bc RD |
40590 | Size size=DefaultSize) -> Bitmap</autodoc> |
40591 | <paramlist> | |
40592 | <param name="param" type="String" default="wxPyBitmapString"/> | |
40593 | <param name="defaultArtClient" type="wxArtClient" default="wxART_OTHER"/> | |
40594 | <param name="size" type="Size" default="wxDefaultSize"/> | |
40595 | </paramlist> | |
40596 | </method> | |
40597 | <method name="GetIcon" type="Icon" overloaded="no"> | |
781d2982 | 40598 | <autodoc>GetIcon(self, String param=IconString, wxArtClient defaultArtClient=wxART_OTHER, |
f32fc4bc RD |
40599 | Size size=DefaultSize) -> Icon</autodoc> |
40600 | <paramlist> | |
40601 | <param name="param" type="String" default="wxPyIconString"/> | |
40602 | <param name="defaultArtClient" type="wxArtClient" default="wxART_OTHER"/> | |
40603 | <param name="size" type="Size" default="wxDefaultSize"/> | |
40604 | </paramlist> | |
40605 | </method> | |
40606 | <method name="GetFont" type="Font" overloaded="no"> | |
781d2982 | 40607 | <autodoc>GetFont(self, String param=FontString) -> Font</autodoc> |
f32fc4bc RD |
40608 | <paramlist> |
40609 | <param name="param" type="String" default="wxPyFontString"/> | |
40610 | </paramlist> | |
40611 | </method> | |
40612 | <method name="SetupWindow" type="" overloaded="no"> | |
781d2982 | 40613 | <autodoc>SetupWindow(self, Window wnd)</autodoc> |
f32fc4bc RD |
40614 | <paramlist> |
40615 | <param name="wnd" type="Window" default=""/> | |
40616 | </paramlist> | |
40617 | </method> | |
40618 | <method name="CreateChildren" type="" overloaded="no"> | |
781d2982 | 40619 | <autodoc>CreateChildren(self, Object parent, bool this_hnd_only=False)</autodoc> |
f32fc4bc RD |
40620 | <paramlist> |
40621 | <param name="parent" type="Object" default=""/> | |
40622 | <param name="this_hnd_only" type="bool" default="False"/> | |
40623 | </paramlist> | |
40624 | </method> | |
40625 | <method name="CreateChildrenPrivately" type="" overloaded="no"> | |
781d2982 | 40626 | <autodoc>CreateChildrenPrivately(self, Object parent, XmlNode rootnode=None)</autodoc> |
f32fc4bc RD |
40627 | <paramlist> |
40628 | <param name="parent" type="Object" default=""/> | |
40629 | <param name="rootnode" type="XmlNode" default="NULL"/> | |
40630 | </paramlist> | |
40631 | </method> | |
40632 | <method name="CreateResFromNode" type="Object" overloaded="no"> | |
781d2982 | 40633 | <autodoc>CreateResFromNode(self, XmlNode node, Object parent, Object instance=None) -> Object</autodoc> |
f32fc4bc RD |
40634 | <paramlist> |
40635 | <param name="node" type="XmlNode" default=""/> | |
40636 | <param name="parent" type="Object" default=""/> | |
40637 | <param name="instance" type="Object" default="NULL"/> | |
40638 | </paramlist> | |
40639 | </method> | |
40640 | <method name="GetCurFileSystem" type="FileSystem" overloaded="no"> | |
781d2982 | 40641 | <autodoc>GetCurFileSystem(self) -> FileSystem</autodoc> |
f32fc4bc RD |
40642 | </method> |
40643 | </class> | |
40644 | <pythoncode>#---------------------------------------------------------------------------- | |
40645 | # The global was removed in favor of static accessor functions. This is for | |
40646 | # backwards compatibility: | |
40647 | ||
40648 | TheXmlResource = XmlResource_Get() | |
40649 | ||
40650 | ||
40651 | #---------------------------------------------------------------------------- | |
40652 | # Create a factory for handling the subclass property of the object tag. | |
40653 | ||
40654 | ||
40655 | def _my_import(name): | |
40656 | mod = __import__(name) | |
40657 | components = name.split('.') | |
40658 | for comp in components[1:]: | |
40659 | mod = getattr(mod, comp) | |
40660 | return mod | |
40661 | ||
40662 | ||
40663 | class XmlSubclassFactory_Python(XmlSubclassFactory): | |
40664 | def __init__(self): | |
40665 | XmlSubclassFactory.__init__(self) | |
40666 | ||
40667 | def Create(self, className): | |
40668 | assert className.find('.') != -1, "Module name must be specified!" | |
40669 | mname = className[:className.rfind('.')] | |
40670 | cname = className[className.rfind('.')+1:] | |
40671 | module = _my_import(mname) | |
40672 | klass = getattr(module, cname) | |
40673 | inst = klass() | |
40674 | return inst | |
40675 | ||
40676 | ||
40677 | XmlResource_AddSubclassFactory(XmlSubclassFactory_Python()) | |
40678 | ||
40679 | #---------------------------------------------------------------------------- | |
40680 | </pythoncode> | |
40681 | </module> | |
40682 | <module name="gizmos"> | |
781d2982 RD |
40683 | <import name="_windows"/> |
40684 | <import name="_controls"/> | |
ce6878e6 RD |
40685 | <pythoncode> import wx </pythoncode> |
40686 | <pythoncode> __docfilter__ = wx._core.__DocFilter(globals()) </pythoncode> | |
f32fc4bc RD |
40687 | <class name="DynamicSashSplitEvent" oldname="wxDynamicSashSplitEvent" module="gizmos"> |
40688 | <baseclass name="CommandEvent"/> | |
40689 | <constructor name="DynamicSashSplitEvent" overloaded="no"> | |
781d2982 | 40690 | <autodoc>__init__(self, Object target) -> DynamicSashSplitEvent</autodoc> |
f32fc4bc RD |
40691 | <paramlist> |
40692 | <param name="target" type="Object" default=""/> | |
40693 | </paramlist> | |
40694 | </constructor> | |
40695 | </class> | |
40696 | <class name="DynamicSashUnifyEvent" oldname="wxDynamicSashUnifyEvent" module="gizmos"> | |
40697 | <baseclass name="CommandEvent"/> | |
40698 | <constructor name="DynamicSashUnifyEvent" overloaded="no"> | |
781d2982 | 40699 | <autodoc>__init__(self, Object target) -> DynamicSashUnifyEvent</autodoc> |
f32fc4bc RD |
40700 | <paramlist> |
40701 | <param name="target" type="Object" default=""/> | |
40702 | </paramlist> | |
40703 | </constructor> | |
40704 | </class> | |
40705 | <class name="DynamicSashWindow" oldname="wxDynamicSashWindow" module="gizmos"> | |
40706 | <baseclass name="Window"/> | |
40707 | <constructor name="DynamicSashWindow" overloaded="no"> | |
781d2982 RD |
40708 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
40709 | Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, | |
f32fc4bc RD |
40710 | String name=DynamicSashNameStr) -> DynamicSashWindow</autodoc> |
40711 | <paramlist> | |
40712 | <param name="parent" type="Window" default=""/> | |
781d2982 | 40713 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
40714 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
40715 | <param name="size" type="Size" default="wxDefaultSize"/> | |
40716 | <param name="style" type="long" default="wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER"/> | |
40717 | <param name="name" type="String" default="wxPyDynamicSashNameStr"/> | |
40718 | </paramlist> | |
40719 | </constructor> | |
40720 | <constructor name="PreDynamicSashWindow" overloaded="no"> | |
40721 | <autodoc>PreDynamicSashWindow() -> DynamicSashWindow</autodoc> | |
40722 | </constructor> | |
40723 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 RD |
40724 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
40725 | Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, | |
f32fc4bc RD |
40726 | String name=DynamicSashNameStr) -> bool</autodoc> |
40727 | <paramlist> | |
40728 | <param name="parent" type="Window" default=""/> | |
781d2982 | 40729 | <param name="id" type="int" default="-1"/> |
f32fc4bc RD |
40730 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
40731 | <param name="size" type="Size" default="wxDefaultSize"/> | |
40732 | <param name="style" type="long" default="wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER"/> | |
40733 | <param name="name" type="String" default="wxPyDynamicSashNameStr"/> | |
40734 | </paramlist> | |
40735 | </method> | |
40736 | <method name="GetHScrollBar" type="ScrollBar" overloaded="no"> | |
781d2982 | 40737 | <autodoc>GetHScrollBar(self, Window child) -> ScrollBar</autodoc> |
f32fc4bc RD |
40738 | <paramlist> |
40739 | <param name="child" type="Window" default=""/> | |
40740 | </paramlist> | |
40741 | </method> | |
40742 | <method name="GetVScrollBar" type="ScrollBar" overloaded="no"> | |
781d2982 | 40743 | <autodoc>GetVScrollBar(self, Window child) -> ScrollBar</autodoc> |
f32fc4bc RD |
40744 | <paramlist> |
40745 | <param name="child" type="Window" default=""/> | |
40746 | </paramlist> | |
40747 | </method> | |
40748 | </class> | |
40749 | <pythoncode> | |
40750 | EVT_DYNAMIC_SASH_SPLIT = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT, 1 ) | |
40751 | EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) | |
40752 | </pythoncode> | |
40753 | <class name="EditableListBox" oldname="wxEditableListBox" module="gizmos"> | |
40754 | <baseclass name="Panel"/> | |
40755 | <constructor name="EditableListBox" overloaded="no"> | |
781d2982 RD |
40756 | <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString, |
40757 | Point pos=DefaultPosition, Size size=DefaultSize, | |
40758 | long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE, | |
f32fc4bc RD |
40759 | String name=EditableListBoxNameStr) -> EditableListBox</autodoc> |
40760 | <paramlist> | |
40761 | <param name="parent" type="Window" default=""/> | |
781d2982 RD |
40762 | <param name="id" type="int" default="-1"/> |
40763 | <param name="label" type="String" default="wxPyEmptyString"/> | |
f32fc4bc RD |
40764 | <param name="pos" type="Point" default="wxDefaultPosition"/> |
40765 | <param name="size" type="Size" default="wxDefaultSize"/> | |
40766 | <param name="style" type="long" default="wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE"/> | |
40767 | <param name="name" type="String" default="wxPyEditableListBoxNameStr"/> | |
40768 | </paramlist> | |
40769 | </constructor> | |
40770 | <method name="SetStrings" type="" overloaded="no"> | |
781d2982 | 40771 | <autodoc>SetStrings(self, wxArrayString strings)</autodoc> |
f32fc4bc RD |
40772 | <paramlist> |
40773 | <param name="strings" type="wxArrayString" default=""/> | |
40774 | </paramlist> | |
40775 | </method> | |
40776 | <method name="GetStrings" type="PyObject" overloaded="no"> | |
781d2982 | 40777 | <autodoc>GetStrings(self) -> PyObject</autodoc> |
f32fc4bc | 40778 | </method> |
0190c472 RD |
40779 | <method name="GetListCtrl" type="ListCtrl" overloaded="no"> |
40780 | <autodoc>GetListCtrl(self) -> ListCtrl</autodoc> | |
f32fc4bc RD |
40781 | </method> |
40782 | <method name="GetDelButton" type="BitmapButton" overloaded="no"> | |
781d2982 | 40783 | <autodoc>GetDelButton(self) -> BitmapButton</autodoc> |
f32fc4bc RD |
40784 | </method> |
40785 | <method name="GetNewButton" type="BitmapButton" overloaded="no"> | |
781d2982 | 40786 | <autodoc>GetNewButton(self) -> BitmapButton</autodoc> |
f32fc4bc RD |
40787 | </method> |
40788 | <method name="GetUpButton" type="BitmapButton" overloaded="no"> | |
781d2982 | 40789 | <autodoc>GetUpButton(self) -> BitmapButton</autodoc> |
f32fc4bc RD |
40790 | </method> |
40791 | <method name="GetDownButton" type="BitmapButton" overloaded="no"> | |
781d2982 | 40792 | <autodoc>GetDownButton(self) -> BitmapButton</autodoc> |
f32fc4bc RD |
40793 | </method> |
40794 | <method name="GetEditButton" type="BitmapButton" overloaded="no"> | |
781d2982 | 40795 | <autodoc>GetEditButton(self) -> BitmapButton</autodoc> |
f32fc4bc RD |
40796 | </method> |
40797 | </class> | |
40798 | <class name="RemotelyScrolledTreeCtrl" oldname="wxRemotelyScrolledTreeCtrl" module="gizmos"> | |
40799 | <baseclass name="TreeCtrl"/> | |
40800 | <constructor name="RemotelyScrolledTreeCtrl" overloaded="no"> | |
781d2982 | 40801 | <autodoc>__init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, |
f32fc4bc RD |
40802 | long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl</autodoc> |
40803 | <paramlist> | |
40804 | <param name="parent" type="Window" default=""/> | |
40805 | <param name="id" type="int" default=""/> | |
40806 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
40807 | <param name="size" type="Size" default="wxDefaultSize"/> | |
40808 | <param name="style" type="long" default="wxTR_HAS_BUTTONS"/> | |
40809 | </paramlist> | |
40810 | </constructor> | |
40811 | <method name="HideVScrollbar" type="" overloaded="no"> | |
781d2982 | 40812 | <autodoc>HideVScrollbar(self)</autodoc> |
f32fc4bc RD |
40813 | </method> |
40814 | <method name="AdjustRemoteScrollbars" type="" overloaded="no"> | |
781d2982 | 40815 | <autodoc>AdjustRemoteScrollbars(self)</autodoc> |
f32fc4bc RD |
40816 | </method> |
40817 | <method name="GetScrolledWindow" type="ScrolledWindow" overloaded="no"> | |
781d2982 | 40818 | <autodoc>GetScrolledWindow(self) -> ScrolledWindow</autodoc> |
f32fc4bc RD |
40819 | </method> |
40820 | <method name="ScrollToLine" type="" overloaded="no"> | |
781d2982 | 40821 | <autodoc>ScrollToLine(self, int posHoriz, int posVert)</autodoc> |
f32fc4bc RD |
40822 | <paramlist> |
40823 | <param name="posHoriz" type="int" default=""/> | |
40824 | <param name="posVert" type="int" default=""/> | |
40825 | </paramlist> | |
40826 | </method> | |
40827 | <method name="SetCompanionWindow" type="" overloaded="no"> | |
781d2982 | 40828 | <autodoc>SetCompanionWindow(self, Window companion)</autodoc> |
f32fc4bc RD |
40829 | <paramlist> |
40830 | <param name="companion" type="Window" default=""/> | |
40831 | </paramlist> | |
40832 | </method> | |
40833 | <method name="GetCompanionWindow" type="Window" overloaded="no"> | |
781d2982 | 40834 | <autodoc>GetCompanionWindow(self) -> Window</autodoc> |
f32fc4bc RD |
40835 | </method> |
40836 | </class> | |
40837 | <class name="TreeCompanionWindow" oldname="wxPyTreeCompanionWindow" module="gizmos"> | |
40838 | <baseclass name="Window"/> | |
40839 | <constructor name="wxPyTreeCompanionWindow" overloaded="no"> | |
781d2982 | 40840 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
f32fc4bc RD |
40841 | Size size=DefaultSize, long style=0) -> TreeCompanionWindow</autodoc> |
40842 | <paramlist> | |
40843 | <param name="parent" type="Window" default=""/> | |
40844 | <param name="id" type="int" default="-1"/> | |
40845 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
40846 | <param name="size" type="Size" default="wxDefaultSize"/> | |
40847 | <param name="style" type="long" default="0"/> | |
40848 | </paramlist> | |
40849 | </constructor> | |
40850 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 40851 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
40852 | <paramlist> |
40853 | <param name="self" type="PyObject" default=""/> | |
40854 | <param name="_class" type="PyObject" default=""/> | |
40855 | </paramlist> | |
40856 | </method> | |
40857 | <method name="GetTreeCtrl" type="RemotelyScrolledTreeCtrl" overloaded="no"> | |
781d2982 | 40858 | <autodoc>GetTreeCtrl(self) -> RemotelyScrolledTreeCtrl</autodoc> |
f32fc4bc RD |
40859 | </method> |
40860 | <method name="SetTreeCtrl" type="" overloaded="no"> | |
781d2982 | 40861 | <autodoc>SetTreeCtrl(self, RemotelyScrolledTreeCtrl treeCtrl)</autodoc> |
f32fc4bc RD |
40862 | <paramlist> |
40863 | <param name="treeCtrl" type="RemotelyScrolledTreeCtrl" default=""/> | |
40864 | </paramlist> | |
40865 | </method> | |
40866 | </class> | |
40867 | <class name="ThinSplitterWindow" oldname="wxThinSplitterWindow" module="gizmos"> | |
40868 | <baseclass name="SplitterWindow"/> | |
40869 | <constructor name="ThinSplitterWindow" overloaded="no"> | |
781d2982 | 40870 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
f32fc4bc RD |
40871 | Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow</autodoc> |
40872 | <paramlist> | |
40873 | <param name="parent" type="Window" default=""/> | |
40874 | <param name="id" type="int" default="-1"/> | |
40875 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
40876 | <param name="size" type="Size" default="wxDefaultSize"/> | |
40877 | <param name="style" type="long" default="wxSP_3D|wxCLIP_CHILDREN"/> | |
40878 | </paramlist> | |
40879 | </constructor> | |
40880 | </class> | |
40881 | <class name="SplitterScrolledWindow" oldname="wxSplitterScrolledWindow" module="gizmos"> | |
40882 | <baseclass name="ScrolledWindow"/> | |
40883 | <constructor name="SplitterScrolledWindow" overloaded="no"> | |
781d2982 | 40884 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
f32fc4bc RD |
40885 | Size size=DefaultSize, long style=0) -> SplitterScrolledWindow</autodoc> |
40886 | <paramlist> | |
40887 | <param name="parent" type="Window" default=""/> | |
40888 | <param name="id" type="int" default="-1"/> | |
40889 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
40890 | <param name="size" type="Size" default="wxDefaultSize"/> | |
40891 | <param name="style" type="long" default="0"/> | |
40892 | </paramlist> | |
40893 | </constructor> | |
40894 | </class> | |
40895 | <class name="LEDNumberCtrl" oldname="wxLEDNumberCtrl" module="gizmos"> | |
40896 | <baseclass name="Control"/> | |
40897 | <constructor name="LEDNumberCtrl" overloaded="no"> | |
781d2982 | 40898 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
f32fc4bc RD |
40899 | Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl</autodoc> |
40900 | <paramlist> | |
40901 | <param name="parent" type="Window" default=""/> | |
40902 | <param name="id" type="int" default="-1"/> | |
40903 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
40904 | <param name="size" type="Size" default="wxDefaultSize"/> | |
40905 | <param name="style" type="long" default="wxLED_ALIGN_LEFT|wxLED_DRAW_FADED"/> | |
40906 | </paramlist> | |
40907 | </constructor> | |
40908 | <constructor name="PreLEDNumberCtrl" overloaded="no"> | |
40909 | <autodoc>PreLEDNumberCtrl() -> LEDNumberCtrl</autodoc> | |
40910 | </constructor> | |
40911 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 40912 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
f32fc4bc RD |
40913 | Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool</autodoc> |
40914 | <paramlist> | |
40915 | <param name="parent" type="Window" default=""/> | |
40916 | <param name="id" type="int" default="-1"/> | |
40917 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
40918 | <param name="size" type="Size" default="wxDefaultSize"/> | |
40919 | <param name="style" type="long" default="wxLED_ALIGN_LEFT|wxLED_DRAW_FADED"/> | |
40920 | </paramlist> | |
40921 | </method> | |
40922 | <method name="GetAlignment" type="wxLEDValueAlign" overloaded="no"> | |
781d2982 | 40923 | <autodoc>GetAlignment(self) -> int</autodoc> |
f32fc4bc RD |
40924 | </method> |
40925 | <method name="GetDrawFaded" type="bool" overloaded="no"> | |
781d2982 | 40926 | <autodoc>GetDrawFaded(self) -> bool</autodoc> |
f32fc4bc RD |
40927 | </method> |
40928 | <method name="GetValue" type="String" overloaded="no"> | |
781d2982 | 40929 | <autodoc>GetValue(self) -> String</autodoc> |
f32fc4bc RD |
40930 | </method> |
40931 | <method name="SetAlignment" type="" overloaded="no"> | |
781d2982 | 40932 | <autodoc>SetAlignment(self, int Alignment, bool Redraw=true)</autodoc> |
f32fc4bc RD |
40933 | <paramlist> |
40934 | <param name="Alignment" type="wxLEDValueAlign" default=""/> | |
40935 | <param name="Redraw" type="bool" default="true"/> | |
40936 | </paramlist> | |
40937 | </method> | |
40938 | <method name="SetDrawFaded" type="" overloaded="no"> | |
781d2982 | 40939 | <autodoc>SetDrawFaded(self, bool DrawFaded, bool Redraw=true)</autodoc> |
f32fc4bc RD |
40940 | <paramlist> |
40941 | <param name="DrawFaded" type="bool" default=""/> | |
40942 | <param name="Redraw" type="bool" default="true"/> | |
40943 | </paramlist> | |
40944 | </method> | |
40945 | <method name="SetValue" type="" overloaded="no"> | |
781d2982 | 40946 | <autodoc>SetValue(self, String Value, bool Redraw=true)</autodoc> |
f32fc4bc RD |
40947 | <paramlist> |
40948 | <param name="Value" type="String" default=""/> | |
40949 | <param name="Redraw" type="bool" default="true"/> | |
40950 | </paramlist> | |
40951 | </method> | |
40952 | </class> | |
ce6878e6 | 40953 | <pythoncode> wx.TR_DONT_ADJUST_MAC = TR_DONT_ADJUST_MAC </pythoncode> |
f32fc4bc RD |
40954 | <class name="TreeListColumnInfo" oldname="wxTreeListColumnInfo" module="gizmos"> |
40955 | <baseclass name="Object"/> | |
40956 | <constructor name="TreeListColumnInfo" overloaded="no"> | |
781d2982 RD |
40957 | <autodoc>__init__(self, String text=EmptyString, int image=-1, size_t width=100, |
40958 | bool shown=True, int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo</autodoc> | |
f32fc4bc RD |
40959 | <paramlist> |
40960 | <param name="text" type="String" default="wxPyEmptyString"/> | |
40961 | <param name="image" type="int" default="-1"/> | |
40962 | <param name="width" type="size_t" default="100"/> | |
781d2982 | 40963 | <param name="shown" type="bool" default="True"/> |
f32fc4bc RD |
40964 | <param name="alignment" type="wxTreeListColumnAlign" default="wxTL_ALIGN_LEFT"/> |
40965 | </paramlist> | |
40966 | </constructor> | |
781d2982 RD |
40967 | <method name="GetShown" type="bool" overloaded="no"> |
40968 | <autodoc>GetShown(self) -> bool</autodoc> | |
40969 | </method> | |
f32fc4bc | 40970 | <method name="GetAlignment" type="wxTreeListColumnAlign" overloaded="no"> |
781d2982 | 40971 | <autodoc>GetAlignment(self) -> int</autodoc> |
f32fc4bc RD |
40972 | </method> |
40973 | <method name="GetText" type="String" overloaded="no"> | |
781d2982 | 40974 | <autodoc>GetText(self) -> String</autodoc> |
f32fc4bc RD |
40975 | </method> |
40976 | <method name="GetImage" type="int" overloaded="no"> | |
781d2982 | 40977 | <autodoc>GetImage(self) -> int</autodoc> |
f32fc4bc RD |
40978 | </method> |
40979 | <method name="GetSelectedImage" type="int" overloaded="no"> | |
781d2982 | 40980 | <autodoc>GetSelectedImage(self) -> int</autodoc> |
f32fc4bc RD |
40981 | </method> |
40982 | <method name="GetWidth" type="size_t" overloaded="no"> | |
781d2982 RD |
40983 | <autodoc>GetWidth(self) -> size_t</autodoc> |
40984 | </method> | |
40985 | <method name="SetShown" type="" overloaded="no"> | |
40986 | <autodoc>SetShown(self, bool shown)</autodoc> | |
40987 | <paramlist> | |
40988 | <param name="shown" type="bool" default=""/> | |
40989 | </paramlist> | |
f32fc4bc RD |
40990 | </method> |
40991 | <method name="SetAlignment" type="" overloaded="no"> | |
781d2982 | 40992 | <autodoc>SetAlignment(self, int alignment)</autodoc> |
f32fc4bc RD |
40993 | <paramlist> |
40994 | <param name="alignment" type="wxTreeListColumnAlign" default=""/> | |
40995 | </paramlist> | |
40996 | </method> | |
40997 | <method name="SetText" type="" overloaded="no"> | |
781d2982 | 40998 | <autodoc>SetText(self, String text)</autodoc> |
f32fc4bc RD |
40999 | <paramlist> |
41000 | <param name="text" type="String" default=""/> | |
41001 | </paramlist> | |
41002 | </method> | |
41003 | <method name="SetImage" type="" overloaded="no"> | |
781d2982 | 41004 | <autodoc>SetImage(self, int image)</autodoc> |
f32fc4bc RD |
41005 | <paramlist> |
41006 | <param name="image" type="int" default=""/> | |
41007 | </paramlist> | |
41008 | </method> | |
41009 | <method name="SetSelectedImage" type="" overloaded="no"> | |
781d2982 | 41010 | <autodoc>SetSelectedImage(self, int image)</autodoc> |
f32fc4bc RD |
41011 | <paramlist> |
41012 | <param name="image" type="int" default=""/> | |
41013 | </paramlist> | |
41014 | </method> | |
41015 | <method name="SetWidth" type="" overloaded="no"> | |
781d2982 | 41016 | <autodoc>SetWidth(self, size_t with)</autodoc> |
f32fc4bc RD |
41017 | <paramlist> |
41018 | <param name="with" type="size_t" default=""/> | |
41019 | </paramlist> | |
41020 | </method> | |
41021 | </class> | |
41022 | <class name="TreeListCtrl" oldname="wxPyTreeListCtrl" module="gizmos"> | |
41023 | <baseclass name="Control"/> | |
41024 | <constructor name="wxPyTreeListCtrl" overloaded="no"> | |
781d2982 | 41025 | <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
f32fc4bc RD |
41026 | Size size=DefaultSize, long style=TR_DEFAULT_STYLE, |
41027 | Validator validator=DefaultValidator, | |
41028 | String name=TreeListCtrlNameStr) -> TreeListCtrl</autodoc> | |
41029 | <paramlist> | |
41030 | <param name="parent" type="Window" default=""/> | |
41031 | <param name="id" type="int" default="-1"/> | |
41032 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
41033 | <param name="size" type="Size" default="wxDefaultSize"/> | |
41034 | <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/> | |
41035 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
41036 | <param name="name" type="String" default="wxPyTreeListCtrlNameStr"/> | |
41037 | </paramlist> | |
41038 | </constructor> | |
41039 | <constructor name="PreTreeListCtrl" overloaded="no"> | |
41040 | <autodoc>PreTreeListCtrl() -> TreeListCtrl</autodoc> | |
41041 | </constructor> | |
41042 | <method name="Create" type="bool" overloaded="no"> | |
781d2982 | 41043 | <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
f32fc4bc RD |
41044 | Size size=DefaultSize, long style=TR_DEFAULT_STYLE, |
41045 | Validator validator=DefaultValidator, | |
41046 | String name=TreeListCtrlNameStr) -> bool</autodoc> | |
c2dda882 | 41047 | <docstring>Do the 2nd phase and create the GUI control.</docstring> |
f32fc4bc RD |
41048 | <paramlist> |
41049 | <param name="parent" type="Window" default=""/> | |
41050 | <param name="id" type="int" default="-1"/> | |
41051 | <param name="pos" type="Point" default="wxDefaultPosition"/> | |
41052 | <param name="size" type="Size" default="wxDefaultSize"/> | |
41053 | <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/> | |
41054 | <param name="validator" type="Validator" default="wxDefaultValidator"/> | |
41055 | <param name="name" type="String" default="wxPyTreeListCtrlNameStr"/> | |
41056 | </paramlist> | |
41057 | </method> | |
41058 | <method name="_setCallbackInfo" type="" overloaded="no"> | |
781d2982 | 41059 | <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc> |
f32fc4bc RD |
41060 | <paramlist> |
41061 | <param name="self" type="PyObject" default=""/> | |
41062 | <param name="_class" type="PyObject" default=""/> | |
41063 | </paramlist> | |
41064 | </method> | |
41065 | <method name="GetCount" type="size_t" overloaded="no"> | |
781d2982 | 41066 | <autodoc>GetCount(self) -> size_t</autodoc> |
f32fc4bc RD |
41067 | </method> |
41068 | <method name="GetIndent" type="unsigned int" overloaded="no"> | |
781d2982 | 41069 | <autodoc>GetIndent(self) -> unsigned int</autodoc> |
f32fc4bc RD |
41070 | </method> |
41071 | <method name="SetIndent" type="" overloaded="no"> | |
781d2982 | 41072 | <autodoc>SetIndent(self, unsigned int indent)</autodoc> |
f32fc4bc RD |
41073 | <paramlist> |
41074 | <param name="indent" type="unsigned int" default=""/> | |
41075 | </paramlist> | |
41076 | </method> | |
f32fc4bc | 41077 | <method name="GetLineSpacing" type="unsigned int" overloaded="no"> |
781d2982 | 41078 | <autodoc>GetLineSpacing(self) -> unsigned int</autodoc> |
f32fc4bc RD |
41079 | </method> |
41080 | <method name="SetLineSpacing" type="" overloaded="no"> | |
781d2982 | 41081 | <autodoc>SetLineSpacing(self, unsigned int spacing)</autodoc> |
f32fc4bc RD |
41082 | <paramlist> |
41083 | <param name="spacing" type="unsigned int" default=""/> | |
41084 | </paramlist> | |
41085 | </method> | |
41086 | <method name="GetImageList" type="ImageList" overloaded="no"> | |
781d2982 | 41087 | <autodoc>GetImageList(self) -> ImageList</autodoc> |
f32fc4bc RD |
41088 | </method> |
41089 | <method name="GetStateImageList" type="ImageList" overloaded="no"> | |
781d2982 | 41090 | <autodoc>GetStateImageList(self) -> ImageList</autodoc> |
f32fc4bc RD |
41091 | </method> |
41092 | <method name="GetButtonsImageList" type="ImageList" overloaded="no"> | |
781d2982 | 41093 | <autodoc>GetButtonsImageList(self) -> ImageList</autodoc> |
f32fc4bc RD |
41094 | </method> |
41095 | <method name="SetImageList" type="" overloaded="no"> | |
781d2982 | 41096 | <autodoc>SetImageList(self, ImageList imageList)</autodoc> |
f32fc4bc RD |
41097 | <paramlist> |
41098 | <param name="imageList" type="ImageList" default=""/> | |
41099 | </paramlist> | |
41100 | </method> | |
41101 | <method name="SetStateImageList" type="" overloaded="no"> | |
781d2982 | 41102 | <autodoc>SetStateImageList(self, ImageList imageList)</autodoc> |
f32fc4bc RD |
41103 | <paramlist> |
41104 | <param name="imageList" type="ImageList" default=""/> | |
41105 | </paramlist> | |
41106 | </method> | |
41107 | <method name="SetButtonsImageList" type="" overloaded="no"> | |
781d2982 | 41108 | <autodoc>SetButtonsImageList(self, ImageList imageList)</autodoc> |
f32fc4bc RD |
41109 | <paramlist> |
41110 | <param name="imageList" type="ImageList" default=""/> | |
41111 | </paramlist> | |
41112 | </method> | |
41113 | <method name="AssignImageList" type="" overloaded="no"> | |
781d2982 | 41114 | <autodoc>AssignImageList(self, ImageList imageList)</autodoc> |
f32fc4bc RD |
41115 | <paramlist> |
41116 | <param name="imageList" type="ImageList" default=""/> | |
41117 | </paramlist> | |
41118 | </method> | |
41119 | <method name="AssignStateImageList" type="" overloaded="no"> | |
781d2982 | 41120 | <autodoc>AssignStateImageList(self, ImageList imageList)</autodoc> |
f32fc4bc RD |
41121 | <paramlist> |
41122 | <param name="imageList" type="ImageList" default=""/> | |
41123 | </paramlist> | |
41124 | </method> | |
41125 | <method name="AssignButtonsImageList" type="" overloaded="no"> | |
781d2982 | 41126 | <autodoc>AssignButtonsImageList(self, ImageList imageList)</autodoc> |
f32fc4bc RD |
41127 | <paramlist> |
41128 | <param name="imageList" type="ImageList" default=""/> | |
41129 | </paramlist> | |
41130 | </method> | |
41131 | <method name="AddColumn" type="" overloaded="no"> | |
781d2982 | 41132 | <autodoc>AddColumn(self, String text)</autodoc> |
f32fc4bc RD |
41133 | <paramlist> |
41134 | <param name="text" type="String" default=""/> | |
41135 | </paramlist> | |
41136 | </method> | |
41137 | <method name="AddColumnInfo" type="" overloaded="no"> | |
781d2982 | 41138 | <autodoc>AddColumnInfo(self, TreeListColumnInfo col)</autodoc> |
f32fc4bc RD |
41139 | <paramlist> |
41140 | <param name="col" type="TreeListColumnInfo" default=""/> | |
41141 | </paramlist> | |
41142 | </method> | |
41143 | <method name="InsertColumn" type="" overloaded="no"> | |
781d2982 | 41144 | <autodoc>InsertColumn(self, size_t before, String text)</autodoc> |
f32fc4bc RD |
41145 | <paramlist> |
41146 | <param name="before" type="size_t" default=""/> | |
41147 | <param name="text" type="String" default=""/> | |
41148 | </paramlist> | |
41149 | </method> | |
41150 | <method name="InsertColumnInfo" type="" overloaded="no"> | |
781d2982 | 41151 | <autodoc>InsertColumnInfo(self, size_t before, TreeListColumnInfo col)</autodoc> |
f32fc4bc RD |
41152 | <paramlist> |
41153 | <param name="before" type="size_t" default=""/> | |
41154 | <param name="col" type="TreeListColumnInfo" default=""/> | |
41155 | </paramlist> | |
41156 | </method> | |
41157 | <method name="RemoveColumn" type="" overloaded="no"> | |
781d2982 | 41158 | <autodoc>RemoveColumn(self, size_t column)</autodoc> |
f32fc4bc RD |
41159 | <paramlist> |
41160 | <param name="column" type="size_t" default=""/> | |
41161 | </paramlist> | |
41162 | </method> | |
41163 | <method name="GetColumnCount" type="size_t" overloaded="no"> | |
781d2982 | 41164 | <autodoc>GetColumnCount(self) -> size_t</autodoc> |
f32fc4bc RD |
41165 | </method> |
41166 | <method name="SetColumnWidth" type="" overloaded="no"> | |
781d2982 | 41167 | <autodoc>SetColumnWidth(self, size_t column, size_t width)</autodoc> |
f32fc4bc RD |
41168 | <paramlist> |
41169 | <param name="column" type="size_t" default=""/> | |
41170 | <param name="width" type="size_t" default=""/> | |
41171 | </paramlist> | |
41172 | </method> | |
41173 | <method name="GetColumnWidth" type="int" overloaded="no"> | |
781d2982 | 41174 | <autodoc>GetColumnWidth(self, size_t column) -> int</autodoc> |
f32fc4bc RD |
41175 | <paramlist> |
41176 | <param name="column" type="size_t" default=""/> | |
41177 | </paramlist> | |
41178 | </method> | |
41179 | <method name="SetMainColumn" type="" overloaded="no"> | |
781d2982 | 41180 | <autodoc>SetMainColumn(self, size_t column)</autodoc> |
f32fc4bc RD |
41181 | <paramlist> |
41182 | <param name="column" type="size_t" default=""/> | |
41183 | </paramlist> | |
41184 | </method> | |
41185 | <method name="GetMainColumn" type="size_t" overloaded="no"> | |
781d2982 | 41186 | <autodoc>GetMainColumn(self) -> size_t</autodoc> |
f32fc4bc RD |
41187 | </method> |
41188 | <method name="SetColumnText" type="" overloaded="no"> | |
781d2982 | 41189 | <autodoc>SetColumnText(self, size_t column, String text)</autodoc> |
f32fc4bc RD |
41190 | <paramlist> |
41191 | <param name="column" type="size_t" default=""/> | |
41192 | <param name="text" type="String" default=""/> | |
41193 | </paramlist> | |
41194 | </method> | |
41195 | <method name="GetColumnText" type="String" overloaded="no"> | |
781d2982 | 41196 | <autodoc>GetColumnText(self, size_t column) -> String</autodoc> |
f32fc4bc RD |
41197 | <paramlist> |
41198 | <param name="column" type="size_t" default=""/> | |
41199 | </paramlist> | |
41200 | </method> | |
41201 | <method name="SetColumn" type="" overloaded="no"> | |
781d2982 | 41202 | <autodoc>SetColumn(self, size_t column, TreeListColumnInfo info)</autodoc> |
f32fc4bc RD |
41203 | <paramlist> |
41204 | <param name="column" type="size_t" default=""/> | |
41205 | <param name="info" type="TreeListColumnInfo" default=""/> | |
41206 | </paramlist> | |
41207 | </method> | |
41208 | <method name="GetColumn" type="TreeListColumnInfo" overloaded="no"> | |
781d2982 | 41209 | <autodoc>GetColumn(self, size_t column) -> TreeListColumnInfo</autodoc> |
f32fc4bc RD |
41210 | <paramlist> |
41211 | <param name="column" type="size_t" default=""/> | |
41212 | </paramlist> | |
41213 | </method> | |
41214 | <method name="SetColumnAlignment" type="" overloaded="no"> | |
781d2982 | 41215 | <autodoc>SetColumnAlignment(self, size_t column, int align)</autodoc> |
f32fc4bc RD |
41216 | <paramlist> |
41217 | <param name="column" type="size_t" default=""/> | |
41218 | <param name="align" type="wxTreeListColumnAlign" default=""/> | |
41219 | </paramlist> | |
41220 | </method> | |
41221 | <method name="GetColumnAlignment" type="wxTreeListColumnAlign" overloaded="no"> | |
781d2982 | 41222 | <autodoc>GetColumnAlignment(self, size_t column) -> int</autodoc> |
f32fc4bc RD |
41223 | <paramlist> |
41224 | <param name="column" type="size_t" default=""/> | |
41225 | </paramlist> | |
41226 | </method> | |
41227 | <method name="SetColumnImage" type="" overloaded="no"> | |
781d2982 | 41228 | <autodoc>SetColumnImage(self, size_t column, int image)</autodoc> |
f32fc4bc RD |
41229 | <paramlist> |
41230 | <param name="column" type="size_t" default=""/> | |
41231 | <param name="image" type="int" default=""/> | |
41232 | </paramlist> | |
41233 | </method> | |
41234 | <method name="GetColumnImage" type="int" overloaded="no"> | |
781d2982 RD |
41235 | <autodoc>GetColumnImage(self, size_t column) -> int</autodoc> |
41236 | <paramlist> | |
41237 | <param name="column" type="size_t" default=""/> | |
41238 | </paramlist> | |
41239 | </method> | |
41240 | <method name="ShowColumn" type="" overloaded="no"> | |
41241 | <autodoc>ShowColumn(self, size_t column, bool shown)</autodoc> | |
41242 | <paramlist> | |
41243 | <param name="column" type="size_t" default=""/> | |
41244 | <param name="shown" type="bool" default=""/> | |
41245 | </paramlist> | |
41246 | </method> | |
41247 | <method name="IsColumnShown" type="bool" overloaded="no"> | |
41248 | <autodoc>IsColumnShown(self, size_t column) -> bool</autodoc> | |
f32fc4bc RD |
41249 | <paramlist> |
41250 | <param name="column" type="size_t" default=""/> | |
41251 | </paramlist> | |
41252 | </method> | |
41253 | <method name="GetItemText" type="String" overloaded="no"> | |
781d2982 | 41254 | <autodoc>GetItemText(self, TreeItemId item, int column=-1) -> String</autodoc> |
f32fc4bc RD |
41255 | <paramlist> |
41256 | <param name="item" type="TreeItemId" default=""/> | |
41257 | <param name="column" type="int" default="-1"/> | |
41258 | </paramlist> | |
41259 | </method> | |
41260 | <method name="GetItemImage" type="int" overloaded="no"> | |
781d2982 | 41261 | <autodoc>GetItemImage(self, TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int</autodoc> |
f32fc4bc RD |
41262 | <paramlist> |
41263 | <param name="item" type="TreeItemId" default=""/> | |
41264 | <param name="column" type="int" default="-1"/> | |
41265 | <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/> | |
41266 | </paramlist> | |
41267 | </method> | |
41268 | <method name="SetItemText" type="" overloaded="no"> | |
781d2982 | 41269 | <autodoc>SetItemText(self, TreeItemId item, String text, int column=-1)</autodoc> |
f32fc4bc RD |
41270 | <paramlist> |
41271 | <param name="item" type="TreeItemId" default=""/> | |
41272 | <param name="text" type="String" default=""/> | |
41273 | <param name="column" type="int" default="-1"/> | |
41274 | </paramlist> | |
41275 | </method> | |
41276 | <method name="SetItemImage" type="" overloaded="no"> | |
781d2982 | 41277 | <autodoc>SetItemImage(self, TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)</autodoc> |
f32fc4bc RD |
41278 | <paramlist> |
41279 | <param name="item" type="TreeItemId" default=""/> | |
41280 | <param name="image" type="int" default=""/> | |
41281 | <param name="column" type="int" default="-1"/> | |
41282 | <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/> | |
41283 | </paramlist> | |
41284 | </method> | |
41285 | <method name="GetItemData" type="TreeItemData" overloaded="no"> | |
781d2982 | 41286 | <autodoc>GetItemData(self, TreeItemId item) -> TreeItemData</autodoc> |
f32fc4bc RD |
41287 | <paramlist> |
41288 | <param name="item" type="TreeItemId" default=""/> | |
41289 | </paramlist> | |
41290 | </method> | |
41291 | <method name="SetItemData" type="" overloaded="no"> | |
781d2982 | 41292 | <autodoc>SetItemData(self, TreeItemId item, TreeItemData data)</autodoc> |
f32fc4bc RD |
41293 | <paramlist> |
41294 | <param name="item" type="TreeItemId" default=""/> | |
41295 | <param name="data" type="TreeItemData" default=""/> | |
41296 | </paramlist> | |
41297 | </method> | |
41298 | <method name="GetItemPyData" type="PyObject" overloaded="no"> | |
781d2982 | 41299 | <autodoc>GetItemPyData(self, TreeItemId item) -> PyObject</autodoc> |
f32fc4bc RD |
41300 | <paramlist> |
41301 | <param name="item" type="TreeItemId" default=""/> | |
41302 | </paramlist> | |
41303 | </method> | |
41304 | <method name="SetItemPyData" type="" overloaded="no"> | |
781d2982 | 41305 | <autodoc>SetItemPyData(self, TreeItemId item, PyObject obj)</autodoc> |
f32fc4bc RD |
41306 | <paramlist> |
41307 | <param name="item" type="TreeItemId" default=""/> | |
41308 | <param name="obj" type="PyObject" default=""/> | |
41309 | </paramlist> | |
41310 | </method> | |
41311 | <method name="SetItemHasChildren" type="" overloaded="no"> | |
781d2982 | 41312 | <autodoc>SetItemHasChildren(self, TreeItemId item, bool has=True)</autodoc> |
f32fc4bc RD |
41313 | <paramlist> |
41314 | <param name="item" type="TreeItemId" default=""/> | |
41315 | <param name="has" type="bool" default="True"/> | |
41316 | </paramlist> | |
41317 | </method> | |
41318 | <method name="SetItemBold" type="" overloaded="no"> | |
781d2982 | 41319 | <autodoc>SetItemBold(self, TreeItemId item, bool bold=True)</autodoc> |
f32fc4bc RD |
41320 | <paramlist> |
41321 | <param name="item" type="TreeItemId" default=""/> | |
41322 | <param name="bold" type="bool" default="True"/> | |
41323 | </paramlist> | |
41324 | </method> | |
41325 | <method name="SetItemTextColour" type="" overloaded="no"> | |
781d2982 | 41326 | <autodoc>SetItemTextColour(self, TreeItemId item, Colour colour)</autodoc> |
f32fc4bc RD |
41327 | <paramlist> |
41328 | <param name="item" type="TreeItemId" default=""/> | |
781d2982 | 41329 | <param name="colour" type="Colour" default=""/> |
f32fc4bc RD |
41330 | </paramlist> |
41331 | </method> | |
41332 | <method name="SetItemBackgroundColour" type="" overloaded="no"> | |
781d2982 | 41333 | <autodoc>SetItemBackgroundColour(self, TreeItemId item, Colour colour)</autodoc> |
f32fc4bc RD |
41334 | <paramlist> |
41335 | <param name="item" type="TreeItemId" default=""/> | |
781d2982 | 41336 | <param name="colour" type="Colour" default=""/> |
f32fc4bc RD |
41337 | </paramlist> |
41338 | </method> | |
41339 | <method name="SetItemFont" type="" overloaded="no"> | |
781d2982 | 41340 | <autodoc>SetItemFont(self, TreeItemId item, Font font)</autodoc> |
f32fc4bc RD |
41341 | <paramlist> |
41342 | <param name="item" type="TreeItemId" default=""/> | |
41343 | <param name="font" type="Font" default=""/> | |
41344 | </paramlist> | |
41345 | </method> | |
41346 | <method name="GetItemBold" type="bool" overloaded="no"> | |
781d2982 | 41347 | <autodoc>GetItemBold(self, TreeItemId item) -> bool</autodoc> |
f32fc4bc RD |
41348 | <paramlist> |
41349 | <param name="item" type="TreeItemId" default=""/> | |
41350 | </paramlist> | |
41351 | </method> | |
41352 | <method name="GetItemTextColour" type="Colour" overloaded="no"> | |
781d2982 | 41353 | <autodoc>GetItemTextColour(self, TreeItemId item) -> Colour</autodoc> |
f32fc4bc RD |
41354 | <paramlist> |
41355 | <param name="item" type="TreeItemId" default=""/> | |
41356 | </paramlist> | |
41357 | </method> | |
41358 | <method name="GetItemBackgroundColour" type="Colour" overloaded="no"> | |
781d2982 | 41359 | <autodoc>GetItemBackgroundColour(self, TreeItemId item) -> Colour</autodoc> |
f32fc4bc RD |
41360 | <paramlist> |
41361 | <param name="item" type="TreeItemId" default=""/> | |
41362 | </paramlist> | |
41363 | </method> | |
41364 | <method name="GetItemFont" type="Font" overloaded="no"> | |
781d2982 | 41365 | <autodoc>GetItemFont(self, TreeItemId item) -> Font</autodoc> |
f32fc4bc RD |
41366 | <paramlist> |
41367 | <param name="item" type="TreeItemId" default=""/> | |
41368 | </paramlist> | |
41369 | </method> | |
41370 | <method name="IsVisible" type="bool" overloaded="no"> | |
781d2982 | 41371 | <autodoc>IsVisible(self, TreeItemId item) -> bool</autodoc> |
f32fc4bc RD |
41372 | <paramlist> |
41373 | <param name="item" type="TreeItemId" default=""/> | |
41374 | </paramlist> | |
41375 | </method> | |
41376 | <method name="ItemHasChildren" type="bool" overloaded="no"> | |
781d2982 | 41377 | <autodoc>ItemHasChildren(self, TreeItemId item) -> bool</autodoc> |
f32fc4bc RD |
41378 | <paramlist> |
41379 | <param name="item" type="TreeItemId" default=""/> | |
41380 | </paramlist> | |
41381 | </method> | |
41382 | <method name="IsExpanded" type="bool" overloaded="no"> | |
781d2982 | 41383 | <autodoc>IsExpanded(self, TreeItemId item) -> bool</autodoc> |
f32fc4bc RD |
41384 | <paramlist> |
41385 | <param name="item" type="TreeItemId" default=""/> | |
41386 | </paramlist> | |
41387 | </method> | |
41388 | <method name="IsSelected" type="bool" overloaded="no"> | |
781d2982 | 41389 | <autodoc>IsSelected(self, TreeItemId item) -> bool</autodoc> |
f32fc4bc RD |
41390 | <paramlist> |
41391 | <param name="item" type="TreeItemId" default=""/> | |
41392 | </paramlist> | |
41393 | </method> | |
41394 | <method name="IsBold" type="bool" overloaded="no"> | |
781d2982 | 41395 | <autodoc>IsBold(self, TreeItemId item) -> bool</autodoc> |
f32fc4bc RD |
41396 | <paramlist> |
41397 | <param name="item" type="TreeItemId" default=""/> | |
41398 | </paramlist> | |
41399 | </method> | |
41400 | <method name="GetChildrenCount" type="size_t" overloaded="no"> | |
781d2982 | 41401 | <autodoc>GetChildrenCount(self, TreeItemId item, bool recursively=True) -> size_t</autodoc> |
f32fc4bc RD |
41402 | <paramlist> |
41403 | <param name="item" type="TreeItemId" default=""/> | |
41404 | <param name="recursively" type="bool" default="True"/> | |
41405 | </paramlist> | |
41406 | </method> | |
41407 | <method name="GetRootItem" type="TreeItemId" overloaded="no"> | |
781d2982 | 41408 | <autodoc>GetRootItem(self) -> TreeItemId</autodoc> |
f32fc4bc RD |
41409 | </method> |
41410 | <method name="GetSelection" type="TreeItemId" overloaded="no"> | |
781d2982 | 41411 | <autodoc>GetSelection(self) -> TreeItemId</autodoc> |
f32fc4bc RD |
41412 | </method> |
41413 | <method name="GetSelections" type="PyObject" overloaded="no"> | |
781d2982 | 41414 | <autodoc>GetSelections(self) -> PyObject</autodoc> |
f32fc4bc RD |
41415 | </method> |
41416 | <method name="GetItemParent" type="TreeItemId" overloaded="no"> | |
781d2982 | 41417 | <autodoc>GetItemParent(self, TreeItemId item) -> TreeItemId</autodoc> |
f32fc4bc RD |
41418 | <paramlist> |
41419 | <param name="item" type="TreeItemId" default=""/> | |
41420 | </paramlist> | |
41421 | </method> | |
41422 | <method name="GetFirstChild" type="PyObject" overloaded="no"> | |
781d2982 | 41423 | <autodoc>GetFirstChild(self, TreeItemId item) -> PyObject</autodoc> |
f32fc4bc RD |
41424 | <paramlist> |
41425 | <param name="item" type="TreeItemId" default=""/> | |
41426 | </paramlist> | |
41427 | </method> | |
41428 | <method name="GetNextChild" type="PyObject" overloaded="no"> | |
781d2982 | 41429 | <autodoc>GetNextChild(self, TreeItemId item, void cookie) -> PyObject</autodoc> |
f32fc4bc RD |
41430 | <paramlist> |
41431 | <param name="item" type="TreeItemId" default=""/> | |
781d2982 | 41432 | <param name="cookie" type="" default=""/> |
f32fc4bc RD |
41433 | </paramlist> |
41434 | </method> | |
41435 | <method name="GetLastChild" type="TreeItemId" overloaded="no"> | |
781d2982 | 41436 | <autodoc>GetLastChild(self, TreeItemId item) -> TreeItemId</autodoc> |
f32fc4bc RD |
41437 | <paramlist> |
41438 | <param name="item" type="TreeItemId" default=""/> | |
41439 | </paramlist> | |
41440 | </method> | |
41441 | <method name="GetNextSibling" type="TreeItemId" overloaded="no"> | |
781d2982 | 41442 | <autodoc>GetNextSibling(self, TreeItemId item) -> TreeItemId</autodoc> |
f32fc4bc RD |
41443 | <paramlist> |
41444 | <param name="item" type="TreeItemId" default=""/> | |
41445 | </paramlist> | |
41446 | </method> | |
41447 | <method name="GetPrevSibling" type="TreeItemId" overloaded="no"> | |
781d2982 | 41448 | <autodoc>GetPrevSibling(self, TreeItemId item) -> TreeItemId</autodoc> |
f32fc4bc RD |
41449 | <paramlist> |
41450 | <param name="item" type="TreeItemId" default=""/> | |
41451 | </paramlist> | |
41452 | </method> | |
41453 | <method name="GetFirstVisibleItem" type="TreeItemId" overloaded="no"> | |
781d2982 | 41454 | <autodoc>GetFirstVisibleItem(self) -> TreeItemId</autodoc> |
f32fc4bc RD |
41455 | </method> |
41456 | <method name="GetNextVisible" type="TreeItemId" overloaded="no"> | |
781d2982 | 41457 | <autodoc>GetNextVisible(self, TreeItemId item) -> TreeItemId</autodoc> |
f32fc4bc RD |
41458 | <paramlist> |
41459 | <param name="item" type="TreeItemId" default=""/> | |
41460 | </paramlist> | |
41461 | </method> | |
41462 | <method name="GetPrevVisible" type="TreeItemId" overloaded="no"> | |
781d2982 | 41463 | <autodoc>GetPrevVisible(self, TreeItemId item) -> TreeItemId</autodoc> |
f32fc4bc RD |
41464 | <paramlist> |
41465 | <param name="item" type="TreeItemId" default=""/> | |
41466 | </paramlist> | |
41467 | </method> | |
41468 | <method name="GetNext" type="TreeItemId" overloaded="no"> | |
781d2982 | 41469 | <autodoc>GetNext(self, TreeItemId item) -> TreeItemId</autodoc> |
f32fc4bc RD |
41470 | <paramlist> |
41471 | <param name="item" type="TreeItemId" default=""/> | |
41472 | </paramlist> | |
41473 | </method> | |
41474 | <method name="AddRoot" type="TreeItemId" overloaded="no"> | |
781d2982 | 41475 | <autodoc>AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc> |
f32fc4bc RD |
41476 | <paramlist> |
41477 | <param name="text" type="String" default=""/> | |
41478 | <param name="image" type="int" default="-1"/> | |
41479 | <param name="selectedImage" type="int" default="-1"/> | |
41480 | <param name="data" type="TreeItemData" default="NULL"/> | |
41481 | </paramlist> | |
41482 | </method> | |
41483 | <method name="PrependItem" type="TreeItemId" overloaded="no"> | |
781d2982 | 41484 | <autodoc>PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1, |
0f43fbdf | 41485 | TreeItemData data=None) -> TreeItemId</autodoc> |
f32fc4bc RD |
41486 | <paramlist> |
41487 | <param name="parent" type="TreeItemId" default=""/> | |
41488 | <param name="text" type="String" default=""/> | |
41489 | <param name="image" type="int" default="-1"/> | |
41490 | <param name="selectedImage" type="int" default="-1"/> | |
41491 | <param name="data" type="TreeItemData" default="NULL"/> | |
41492 | </paramlist> | |
41493 | </method> | |
41494 | <method name="InsertItem" type="TreeItemId" overloaded="no"> | |
781d2982 | 41495 | <autodoc>InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text, |
0f43fbdf | 41496 | int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc> |
f32fc4bc RD |
41497 | <paramlist> |
41498 | <param name="parent" type="TreeItemId" default=""/> | |
41499 | <param name="idPrevious" type="TreeItemId" default=""/> | |
41500 | <param name="text" type="String" default=""/> | |
41501 | <param name="image" type="int" default="-1"/> | |
41502 | <param name="selectedImage" type="int" default="-1"/> | |
41503 | <param name="data" type="TreeItemData" default="NULL"/> | |
41504 | </paramlist> | |
41505 | </method> | |
41506 | <method name="InsertItemBefore" type="TreeItemId" overloaded="no"> | |
781d2982 | 41507 | <autodoc>InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1, |
0f43fbdf | 41508 | int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc> |
f32fc4bc RD |
41509 | <paramlist> |
41510 | <param name="parent" type="TreeItemId" default=""/> | |
41511 | <param name="index" type="size_t" default=""/> | |
41512 | <param name="text" type="String" default=""/> | |
41513 | <param name="image" type="int" default="-1"/> | |
41514 | <param name="selectedImage" type="int" default="-1"/> | |
41515 | <param name="data" type="TreeItemData" default="NULL"/> | |
41516 | </paramlist> | |
41517 | </method> | |
41518 | <method name="AppendItem" type="TreeItemId" overloaded="no"> | |
781d2982 | 41519 | <autodoc>AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1, |
0f43fbdf | 41520 | TreeItemData data=None) -> TreeItemId</autodoc> |
f32fc4bc RD |
41521 | <paramlist> |
41522 | <param name="parent" type="TreeItemId" default=""/> | |
41523 | <param name="text" type="String" default=""/> | |
41524 | <param name="image" type="int" default="-1"/> | |
41525 | <param name="selectedImage" type="int" default="-1"/> | |
41526 | <param name="data" type="TreeItemData" default="NULL"/> | |
41527 | </paramlist> | |
41528 | </method> | |
41529 | <method name="Delete" type="" overloaded="no"> | |
781d2982 | 41530 | <autodoc>Delete(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
41531 | <paramlist> |
41532 | <param name="item" type="TreeItemId" default=""/> | |
41533 | </paramlist> | |
41534 | </method> | |
41535 | <method name="DeleteChildren" type="" overloaded="no"> | |
781d2982 | 41536 | <autodoc>DeleteChildren(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
41537 | <paramlist> |
41538 | <param name="item" type="TreeItemId" default=""/> | |
41539 | </paramlist> | |
41540 | </method> | |
41541 | <method name="DeleteAllItems" type="" overloaded="no"> | |
781d2982 | 41542 | <autodoc>DeleteAllItems(self)</autodoc> |
f32fc4bc RD |
41543 | </method> |
41544 | <method name="Expand" type="" overloaded="no"> | |
781d2982 | 41545 | <autodoc>Expand(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
41546 | <paramlist> |
41547 | <param name="item" type="TreeItemId" default=""/> | |
41548 | </paramlist> | |
41549 | </method> | |
41550 | <method name="ExpandAll" type="" overloaded="no"> | |
781d2982 | 41551 | <autodoc>ExpandAll(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
41552 | <paramlist> |
41553 | <param name="item" type="TreeItemId" default=""/> | |
41554 | </paramlist> | |
41555 | </method> | |
41556 | <method name="Collapse" type="" overloaded="no"> | |
781d2982 | 41557 | <autodoc>Collapse(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
41558 | <paramlist> |
41559 | <param name="item" type="TreeItemId" default=""/> | |
41560 | </paramlist> | |
41561 | </method> | |
41562 | <method name="CollapseAndReset" type="" overloaded="no"> | |
781d2982 | 41563 | <autodoc>CollapseAndReset(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
41564 | <paramlist> |
41565 | <param name="item" type="TreeItemId" default=""/> | |
41566 | </paramlist> | |
41567 | </method> | |
41568 | <method name="Toggle" type="" overloaded="no"> | |
781d2982 | 41569 | <autodoc>Toggle(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
41570 | <paramlist> |
41571 | <param name="item" type="TreeItemId" default=""/> | |
41572 | </paramlist> | |
41573 | </method> | |
41574 | <method name="Unselect" type="" overloaded="no"> | |
781d2982 | 41575 | <autodoc>Unselect(self)</autodoc> |
f32fc4bc RD |
41576 | </method> |
41577 | <method name="UnselectAll" type="" overloaded="no"> | |
781d2982 | 41578 | <autodoc>UnselectAll(self)</autodoc> |
f32fc4bc RD |
41579 | </method> |
41580 | <method name="SelectItem" type="" overloaded="no"> | |
781d2982 | 41581 | <autodoc>SelectItem(self, TreeItemId item, bool unselect_others=True, bool extended_select=False)</autodoc> |
f32fc4bc RD |
41582 | <paramlist> |
41583 | <param name="item" type="TreeItemId" default=""/> | |
41584 | <param name="unselect_others" type="bool" default="True"/> | |
41585 | <param name="extended_select" type="bool" default="False"/> | |
41586 | </paramlist> | |
41587 | </method> | |
781d2982 RD |
41588 | <method name="SelectAll" type="" overloaded="no"> |
41589 | <autodoc>SelectAll(self, bool extended_select=False)</autodoc> | |
41590 | <paramlist> | |
41591 | <param name="extended_select" type="bool" default="False"/> | |
41592 | </paramlist> | |
41593 | </method> | |
f32fc4bc | 41594 | <method name="EnsureVisible" type="" overloaded="no"> |
781d2982 | 41595 | <autodoc>EnsureVisible(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
41596 | <paramlist> |
41597 | <param name="item" type="TreeItemId" default=""/> | |
41598 | </paramlist> | |
41599 | </method> | |
41600 | <method name="ScrollTo" type="" overloaded="no"> | |
781d2982 | 41601 | <autodoc>ScrollTo(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
41602 | <paramlist> |
41603 | <param name="item" type="TreeItemId" default=""/> | |
41604 | </paramlist> | |
41605 | </method> | |
41606 | <method name="HitTest" type="TreeItemId" overloaded="no"> | |
781d2982 | 41607 | <autodoc>HitTest(self, Point point, int OUTPUT, int OUTPUT) -> TreeItemId</autodoc> |
f32fc4bc RD |
41608 | <paramlist> |
41609 | <param name="point" type="Point" default=""/> | |
41610 | <param name="OUTPUT" type="int" default=""/> | |
41611 | <param name="OUTPUT" type="int" default=""/> | |
41612 | </paramlist> | |
41613 | </method> | |
41614 | <method name="GetBoundingRect" type="PyObject" overloaded="no"> | |
781d2982 | 41615 | <autodoc>GetBoundingRect(self, TreeItemId item, bool textOnly=False) -> PyObject</autodoc> |
f32fc4bc RD |
41616 | <paramlist> |
41617 | <param name="item" type="TreeItemId" default=""/> | |
41618 | <param name="textOnly" type="bool" default="False"/> | |
41619 | </paramlist> | |
41620 | </method> | |
41621 | <method name="EditLabel" type="" overloaded="no"> | |
781d2982 | 41622 | <autodoc>EditLabel(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
41623 | <paramlist> |
41624 | <param name="item" type="TreeItemId" default=""/> | |
41625 | </paramlist> | |
41626 | </method> | |
41627 | <method name="Edit" type="" overloaded="no"> | |
781d2982 | 41628 | <autodoc>Edit(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
41629 | <paramlist> |
41630 | <param name="item" type="TreeItemId" default=""/> | |
41631 | </paramlist> | |
41632 | </method> | |
41633 | <method name="SortChildren" type="" overloaded="no"> | |
781d2982 | 41634 | <autodoc>SortChildren(self, TreeItemId item)</autodoc> |
f32fc4bc RD |
41635 | <paramlist> |
41636 | <param name="item" type="TreeItemId" default=""/> | |
41637 | </paramlist> | |
41638 | </method> | |
781d2982 RD |
41639 | <method name="FindItem" type="TreeItemId" overloaded="no"> |
41640 | <autodoc>FindItem(self, TreeItemId item, String str, int flags=0) -> TreeItemId</autodoc> | |
f32fc4bc RD |
41641 | <paramlist> |
41642 | <param name="item" type="TreeItemId" default=""/> | |
781d2982 RD |
41643 | <param name="str" type="String" default=""/> |
41644 | <param name="flags" type="int" default="0"/> | |
f32fc4bc RD |
41645 | </paramlist> |
41646 | </method> | |
41647 | <method name="GetHeaderWindow" type="Window" overloaded="no"> | |
781d2982 | 41648 | <autodoc>GetHeaderWindow(self) -> Window</autodoc> |
f32fc4bc | 41649 | </method> |
ce6878e6 RD |
41650 | <method name="GetMainWindow" type="ScrolledWindow" overloaded="no"> |
41651 | <autodoc>GetMainWindow(self) -> ScrolledWindow</autodoc> | |
f32fc4bc RD |
41652 | </method> |
41653 | </class> | |
41654 | </module> | |
0dd25e81 | 41655 | </wxPython-metadata> |