]>
Commit | Line | Data |
---|---|---|
70551f47 RD |
1 | # This file was created automatically by SWIG. |
2 | import miscc | |
3 | class wxSizePtr : | |
4 | def __init__(self,this): | |
5 | self.this = this | |
6 | self.thisown = 0 | |
2d091820 | 7 | def __del__(self,miscc=miscc): |
70551f47 | 8 | if self.thisown == 1 : |
2d091820 RD |
9 | miscc.delete_wxSize(self) |
10 | def Set(self, *_args, **_kwargs): | |
11 | val = apply(miscc.wxSize_Set,(self,) + _args, _kwargs) | |
70551f47 | 12 | return val |
2d091820 RD |
13 | def GetX(self, *_args, **_kwargs): |
14 | val = apply(miscc.wxSize_GetX,(self,) + _args, _kwargs) | |
21f8d7ea | 15 | return val |
2d091820 RD |
16 | def GetY(self, *_args, **_kwargs): |
17 | val = apply(miscc.wxSize_GetY,(self,) + _args, _kwargs) | |
21f8d7ea | 18 | return val |
2d091820 RD |
19 | def GetWidth(self, *_args, **_kwargs): |
20 | val = apply(miscc.wxSize_GetWidth,(self,) + _args, _kwargs) | |
70551f47 | 21 | return val |
2d091820 RD |
22 | def GetHeight(self, *_args, **_kwargs): |
23 | val = apply(miscc.wxSize_GetHeight,(self,) + _args, _kwargs) | |
70551f47 | 24 | return val |
2d091820 RD |
25 | def SetWidth(self, *_args, **_kwargs): |
26 | val = apply(miscc.wxSize_SetWidth,(self,) + _args, _kwargs) | |
d24a34bb | 27 | return val |
2d091820 RD |
28 | def SetHeight(self, *_args, **_kwargs): |
29 | val = apply(miscc.wxSize_SetHeight,(self,) + _args, _kwargs) | |
d24a34bb | 30 | return val |
2d091820 RD |
31 | def asTuple(self, *_args, **_kwargs): |
32 | val = apply(miscc.wxSize_asTuple,(self,) + _args, _kwargs) | |
70551f47 RD |
33 | return val |
34 | def __setattr__(self,name,value): | |
21f8d7ea | 35 | if name == "x" : |
2d091820 | 36 | miscc.wxSize_x_set(self,value) |
21f8d7ea RD |
37 | return |
38 | if name == "y" : | |
2d091820 | 39 | miscc.wxSize_y_set(self,value) |
21f8d7ea | 40 | return |
70551f47 | 41 | if name == "width" : |
2d091820 | 42 | miscc.wxSize_width_set(self,value) |
70551f47 RD |
43 | return |
44 | if name == "height" : | |
2d091820 | 45 | miscc.wxSize_height_set(self,value) |
70551f47 RD |
46 | return |
47 | self.__dict__[name] = value | |
48 | def __getattr__(self,name): | |
21f8d7ea | 49 | if name == "x" : |
2d091820 | 50 | return miscc.wxSize_x_get(self) |
21f8d7ea | 51 | if name == "y" : |
2d091820 | 52 | return miscc.wxSize_y_get(self) |
70551f47 | 53 | if name == "width" : |
2d091820 | 54 | return miscc.wxSize_width_get(self) |
70551f47 | 55 | if name == "height" : |
2d091820 | 56 | return miscc.wxSize_height_get(self) |
70551f47 RD |
57 | raise AttributeError,name |
58 | def __repr__(self): | |
2d091820 | 59 | return "<C wxSize instance at %s>" % (self.this,) |
21f8d7ea RD |
60 | def __str__(self): return str(self.asTuple()) |
61 | def __repr__(self): return str(self.asTuple()) | |
70551f47 | 62 | class wxSize(wxSizePtr): |
2d091820 RD |
63 | def __init__(self,*_args,**_kwargs): |
64 | self.this = apply(miscc.new_wxSize,_args,_kwargs) | |
70551f47 RD |
65 | self.thisown = 1 |
66 | ||
67 | ||
68 | ||
69 | ||
70 | class wxRealPointPtr : | |
71 | def __init__(self,this): | |
72 | self.this = this | |
73 | self.thisown = 0 | |
2d091820 | 74 | def __del__(self,miscc=miscc): |
70551f47 | 75 | if self.thisown == 1 : |
2d091820 | 76 | miscc.delete_wxRealPoint(self) |
70551f47 RD |
77 | def __setattr__(self,name,value): |
78 | if name == "x" : | |
2d091820 | 79 | miscc.wxRealPoint_x_set(self,value) |
70551f47 RD |
80 | return |
81 | if name == "y" : | |
2d091820 | 82 | miscc.wxRealPoint_y_set(self,value) |
70551f47 RD |
83 | return |
84 | self.__dict__[name] = value | |
85 | def __getattr__(self,name): | |
86 | if name == "x" : | |
2d091820 | 87 | return miscc.wxRealPoint_x_get(self) |
70551f47 | 88 | if name == "y" : |
2d091820 | 89 | return miscc.wxRealPoint_y_get(self) |
70551f47 RD |
90 | raise AttributeError,name |
91 | def __repr__(self): | |
2d091820 | 92 | return "<C wxRealPoint instance at %s>" % (self.this,) |
70551f47 | 93 | class wxRealPoint(wxRealPointPtr): |
2d091820 RD |
94 | def __init__(self,*_args,**_kwargs): |
95 | self.this = apply(miscc.new_wxRealPoint,_args,_kwargs) | |
70551f47 RD |
96 | self.thisown = 1 |
97 | ||
98 | ||
99 | ||
100 | ||
101 | class wxPointPtr : | |
102 | def __init__(self,this): | |
103 | self.this = this | |
104 | self.thisown = 0 | |
2d091820 | 105 | def __del__(self,miscc=miscc): |
70551f47 | 106 | if self.thisown == 1 : |
2d091820 RD |
107 | miscc.delete_wxPoint(self) |
108 | def Set(self, *_args, **_kwargs): | |
109 | val = apply(miscc.wxPoint_Set,(self,) + _args, _kwargs) | |
70551f47 | 110 | return val |
2d091820 RD |
111 | def asTuple(self, *_args, **_kwargs): |
112 | val = apply(miscc.wxPoint_asTuple,(self,) + _args, _kwargs) | |
70551f47 RD |
113 | return val |
114 | def __setattr__(self,name,value): | |
115 | if name == "x" : | |
2d091820 | 116 | miscc.wxPoint_x_set(self,value) |
70551f47 RD |
117 | return |
118 | if name == "y" : | |
2d091820 | 119 | miscc.wxPoint_y_set(self,value) |
70551f47 RD |
120 | return |
121 | self.__dict__[name] = value | |
122 | def __getattr__(self,name): | |
123 | if name == "x" : | |
2d091820 | 124 | return miscc.wxPoint_x_get(self) |
70551f47 | 125 | if name == "y" : |
2d091820 | 126 | return miscc.wxPoint_y_get(self) |
70551f47 RD |
127 | raise AttributeError,name |
128 | def __repr__(self): | |
2d091820 | 129 | return "<C wxPoint instance at %s>" % (self.this,) |
21f8d7ea RD |
130 | def __str__(self): return str(self.asTuple()) |
131 | def __repr__(self): return str(self.asTuple()) | |
70551f47 | 132 | class wxPoint(wxPointPtr): |
2d091820 RD |
133 | def __init__(self,*_args,**_kwargs): |
134 | self.this = apply(miscc.new_wxPoint,_args,_kwargs) | |
70551f47 RD |
135 | self.thisown = 1 |
136 | ||
137 | ||
138 | ||
139 | ||
140 | class wxRectPtr : | |
141 | def __init__(self,this): | |
142 | self.this = this | |
143 | self.thisown = 0 | |
2d091820 | 144 | def __del__(self,miscc=miscc): |
70551f47 | 145 | if self.thisown == 1 : |
2d091820 RD |
146 | miscc.delete_wxRect(self) |
147 | def GetX(self, *_args, **_kwargs): | |
148 | val = apply(miscc.wxRect_GetX,(self,) + _args, _kwargs) | |
70551f47 | 149 | return val |
2d091820 RD |
150 | def SetX(self, *_args, **_kwargs): |
151 | val = apply(miscc.wxRect_SetX,(self,) + _args, _kwargs) | |
70551f47 | 152 | return val |
2d091820 RD |
153 | def GetY(self, *_args, **_kwargs): |
154 | val = apply(miscc.wxRect_GetY,(self,) + _args, _kwargs) | |
70551f47 | 155 | return val |
2d091820 RD |
156 | def SetY(self, *_args, **_kwargs): |
157 | val = apply(miscc.wxRect_SetY,(self,) + _args, _kwargs) | |
70551f47 | 158 | return val |
2d091820 RD |
159 | def GetWidth(self, *_args, **_kwargs): |
160 | val = apply(miscc.wxRect_GetWidth,(self,) + _args, _kwargs) | |
70551f47 | 161 | return val |
2d091820 RD |
162 | def SetWidth(self, *_args, **_kwargs): |
163 | val = apply(miscc.wxRect_SetWidth,(self,) + _args, _kwargs) | |
70551f47 | 164 | return val |
2d091820 RD |
165 | def GetHeight(self, *_args, **_kwargs): |
166 | val = apply(miscc.wxRect_GetHeight,(self,) + _args, _kwargs) | |
70551f47 | 167 | return val |
2d091820 RD |
168 | def SetHeight(self, *_args, **_kwargs): |
169 | val = apply(miscc.wxRect_SetHeight,(self,) + _args, _kwargs) | |
70551f47 | 170 | return val |
2d091820 RD |
171 | def GetPosition(self, *_args, **_kwargs): |
172 | val = apply(miscc.wxRect_GetPosition,(self,) + _args, _kwargs) | |
173 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
70551f47 | 174 | return val |
2d091820 RD |
175 | def GetSize(self, *_args, **_kwargs): |
176 | val = apply(miscc.wxRect_GetSize,(self,) + _args, _kwargs) | |
177 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
70551f47 | 178 | return val |
2d091820 RD |
179 | def GetLeft(self, *_args, **_kwargs): |
180 | val = apply(miscc.wxRect_GetLeft,(self,) + _args, _kwargs) | |
70551f47 | 181 | return val |
2d091820 RD |
182 | def GetTop(self, *_args, **_kwargs): |
183 | val = apply(miscc.wxRect_GetTop,(self,) + _args, _kwargs) | |
70551f47 | 184 | return val |
2d091820 RD |
185 | def GetBottom(self, *_args, **_kwargs): |
186 | val = apply(miscc.wxRect_GetBottom,(self,) + _args, _kwargs) | |
70551f47 | 187 | return val |
2d091820 RD |
188 | def GetRight(self, *_args, **_kwargs): |
189 | val = apply(miscc.wxRect_GetRight,(self,) + _args, _kwargs) | |
70551f47 | 190 | return val |
2d091820 RD |
191 | def asTuple(self, *_args, **_kwargs): |
192 | val = apply(miscc.wxRect_asTuple,(self,) + _args, _kwargs) | |
21f8d7ea | 193 | return val |
70551f47 RD |
194 | def __setattr__(self,name,value): |
195 | if name == "x" : | |
2d091820 | 196 | miscc.wxRect_x_set(self,value) |
70551f47 RD |
197 | return |
198 | if name == "y" : | |
2d091820 | 199 | miscc.wxRect_y_set(self,value) |
70551f47 RD |
200 | return |
201 | if name == "width" : | |
2d091820 | 202 | miscc.wxRect_width_set(self,value) |
70551f47 RD |
203 | return |
204 | if name == "height" : | |
2d091820 | 205 | miscc.wxRect_height_set(self,value) |
70551f47 RD |
206 | return |
207 | self.__dict__[name] = value | |
208 | def __getattr__(self,name): | |
209 | if name == "x" : | |
2d091820 | 210 | return miscc.wxRect_x_get(self) |
70551f47 | 211 | if name == "y" : |
2d091820 | 212 | return miscc.wxRect_y_get(self) |
70551f47 | 213 | if name == "width" : |
2d091820 | 214 | return miscc.wxRect_width_get(self) |
70551f47 | 215 | if name == "height" : |
2d091820 | 216 | return miscc.wxRect_height_get(self) |
70551f47 RD |
217 | raise AttributeError,name |
218 | def __repr__(self): | |
2d091820 | 219 | return "<C wxRect instance at %s>" % (self.this,) |
21f8d7ea RD |
220 | def __str__(self): return str(self.asTuple()) |
221 | def __repr__(self): return str(self.asTuple()) | |
70551f47 | 222 | class wxRect(wxRectPtr): |
2d091820 RD |
223 | def __init__(self,*_args,**_kwargs): |
224 | self.this = apply(miscc.new_wxRect,_args,_kwargs) | |
70551f47 RD |
225 | self.thisown = 1 |
226 | ||
227 | ||
228 | ||
229 | ||
230 | class wxPyTimerPtr : | |
231 | def __init__(self,this): | |
232 | self.this = this | |
233 | self.thisown = 0 | |
2d091820 | 234 | def __del__(self,miscc=miscc): |
70551f47 | 235 | if self.thisown == 1 : |
2d091820 RD |
236 | miscc.delete_wxPyTimer(self) |
237 | def Interval(self, *_args, **_kwargs): | |
238 | val = apply(miscc.wxPyTimer_Interval,(self,) + _args, _kwargs) | |
70551f47 | 239 | return val |
2d091820 RD |
240 | def Start(self, *_args, **_kwargs): |
241 | val = apply(miscc.wxPyTimer_Start,(self,) + _args, _kwargs) | |
70551f47 | 242 | return val |
2d091820 RD |
243 | def Stop(self, *_args, **_kwargs): |
244 | val = apply(miscc.wxPyTimer_Stop,(self,) + _args, _kwargs) | |
70551f47 RD |
245 | return val |
246 | def __repr__(self): | |
2d091820 | 247 | return "<C wxPyTimer instance at %s>" % (self.this,) |
70551f47 | 248 | class wxPyTimer(wxPyTimerPtr): |
2d091820 RD |
249 | def __init__(self,*_args,**_kwargs): |
250 | self.this = apply(miscc.new_wxPyTimer,_args,_kwargs) | |
70551f47 RD |
251 | self.thisown = 1 |
252 | ||
253 | ||
254 | ||
255 | ||
256 | class wxIndividualLayoutConstraintPtr : | |
257 | def __init__(self,this): | |
258 | self.this = this | |
259 | self.thisown = 0 | |
2d091820 RD |
260 | def Above(self, *_args, **_kwargs): |
261 | val = apply(miscc.wxIndividualLayoutConstraint_Above,(self,) + _args, _kwargs) | |
70551f47 | 262 | return val |
2d091820 RD |
263 | def Absolute(self, *_args, **_kwargs): |
264 | val = apply(miscc.wxIndividualLayoutConstraint_Absolute,(self,) + _args, _kwargs) | |
70551f47 | 265 | return val |
2d091820 RD |
266 | def AsIs(self, *_args, **_kwargs): |
267 | val = apply(miscc.wxIndividualLayoutConstraint_AsIs,(self,) + _args, _kwargs) | |
70551f47 | 268 | return val |
2d091820 RD |
269 | def Below(self, *_args, **_kwargs): |
270 | val = apply(miscc.wxIndividualLayoutConstraint_Below,(self,) + _args, _kwargs) | |
70551f47 | 271 | return val |
2d091820 RD |
272 | def Unconstrained(self, *_args, **_kwargs): |
273 | val = apply(miscc.wxIndividualLayoutConstraint_Unconstrained,(self,) + _args, _kwargs) | |
70551f47 | 274 | return val |
2d091820 RD |
275 | def LeftOf(self, *_args, **_kwargs): |
276 | val = apply(miscc.wxIndividualLayoutConstraint_LeftOf,(self,) + _args, _kwargs) | |
70551f47 | 277 | return val |
2d091820 RD |
278 | def PercentOf(self, *_args, **_kwargs): |
279 | val = apply(miscc.wxIndividualLayoutConstraint_PercentOf,(self,) + _args, _kwargs) | |
70551f47 | 280 | return val |
2d091820 RD |
281 | def RightOf(self, *_args, **_kwargs): |
282 | val = apply(miscc.wxIndividualLayoutConstraint_RightOf,(self,) + _args, _kwargs) | |
70551f47 | 283 | return val |
2d091820 RD |
284 | def SameAs(self, *_args, **_kwargs): |
285 | val = apply(miscc.wxIndividualLayoutConstraint_SameAs,(self,) + _args, _kwargs) | |
70551f47 | 286 | return val |
2d091820 RD |
287 | def Set(self, *_args, **_kwargs): |
288 | val = apply(miscc.wxIndividualLayoutConstraint_Set,(self,) + _args, _kwargs) | |
70551f47 RD |
289 | return val |
290 | def __repr__(self): | |
2d091820 | 291 | return "<C wxIndividualLayoutConstraint instance at %s>" % (self.this,) |
70551f47 RD |
292 | class wxIndividualLayoutConstraint(wxIndividualLayoutConstraintPtr): |
293 | def __init__(self,this): | |
294 | self.this = this | |
295 | ||
296 | ||
297 | ||
298 | ||
299 | class wxLayoutConstraintsPtr : | |
300 | def __init__(self,this): | |
301 | self.this = this | |
302 | self.thisown = 0 | |
303 | def __setattr__(self,name,value): | |
304 | if name == "bottom" : | |
2d091820 | 305 | miscc.wxLayoutConstraints_bottom_set(self,value.this) |
70551f47 RD |
306 | return |
307 | if name == "centreX" : | |
2d091820 | 308 | miscc.wxLayoutConstraints_centreX_set(self,value.this) |
70551f47 RD |
309 | return |
310 | if name == "centreY" : | |
2d091820 | 311 | miscc.wxLayoutConstraints_centreY_set(self,value.this) |
70551f47 RD |
312 | return |
313 | if name == "height" : | |
2d091820 | 314 | miscc.wxLayoutConstraints_height_set(self,value.this) |
70551f47 RD |
315 | return |
316 | if name == "left" : | |
2d091820 | 317 | miscc.wxLayoutConstraints_left_set(self,value.this) |
70551f47 RD |
318 | return |
319 | if name == "right" : | |
2d091820 | 320 | miscc.wxLayoutConstraints_right_set(self,value.this) |
70551f47 RD |
321 | return |
322 | if name == "top" : | |
2d091820 | 323 | miscc.wxLayoutConstraints_top_set(self,value.this) |
70551f47 RD |
324 | return |
325 | if name == "width" : | |
2d091820 | 326 | miscc.wxLayoutConstraints_width_set(self,value.this) |
70551f47 RD |
327 | return |
328 | self.__dict__[name] = value | |
329 | def __getattr__(self,name): | |
330 | if name == "bottom" : | |
2d091820 | 331 | return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_bottom_get(self)) |
70551f47 | 332 | if name == "centreX" : |
2d091820 | 333 | return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_centreX_get(self)) |
70551f47 | 334 | if name == "centreY" : |
2d091820 | 335 | return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_centreY_get(self)) |
70551f47 | 336 | if name == "height" : |
2d091820 | 337 | return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_height_get(self)) |
70551f47 | 338 | if name == "left" : |
2d091820 | 339 | return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_left_get(self)) |
70551f47 | 340 | if name == "right" : |
2d091820 | 341 | return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_right_get(self)) |
70551f47 | 342 | if name == "top" : |
2d091820 | 343 | return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_top_get(self)) |
70551f47 | 344 | if name == "width" : |
2d091820 | 345 | return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_width_get(self)) |
70551f47 RD |
346 | raise AttributeError,name |
347 | def __repr__(self): | |
2d091820 | 348 | return "<C wxLayoutConstraints instance at %s>" % (self.this,) |
70551f47 | 349 | class wxLayoutConstraints(wxLayoutConstraintsPtr): |
2d091820 RD |
350 | def __init__(self,*_args,**_kwargs): |
351 | self.this = apply(miscc.new_wxLayoutConstraints,_args,_kwargs) | |
70551f47 RD |
352 | self.thisown = 1 |
353 | ||
354 | ||
355 | ||
356 | ||
105e45b9 RD |
357 | class wxRegionPtr : |
358 | def __init__(self,this): | |
359 | self.this = this | |
360 | self.thisown = 0 | |
2d091820 | 361 | def __del__(self,miscc=miscc): |
105e45b9 | 362 | if self.thisown == 1 : |
2d091820 RD |
363 | miscc.delete_wxRegion(self) |
364 | def Clear(self, *_args, **_kwargs): | |
365 | val = apply(miscc.wxRegion_Clear,(self,) + _args, _kwargs) | |
105e45b9 | 366 | return val |
2d091820 RD |
367 | def Contains(self, *_args, **_kwargs): |
368 | val = apply(miscc.wxRegion_Contains,(self,) + _args, _kwargs) | |
105e45b9 | 369 | return val |
2d091820 RD |
370 | def ContainsPoint(self, *_args, **_kwargs): |
371 | val = apply(miscc.wxRegion_ContainsPoint,(self,) + _args, _kwargs) | |
105e45b9 | 372 | return val |
2d091820 RD |
373 | def ContainsRect(self, *_args, **_kwargs): |
374 | val = apply(miscc.wxRegion_ContainsRect,(self,) + _args, _kwargs) | |
105e45b9 | 375 | return val |
2d091820 RD |
376 | def GetBox(self, *_args, **_kwargs): |
377 | val = apply(miscc.wxRegion_GetBox,(self,) + _args, _kwargs) | |
378 | if val: val = wxRectPtr(val) ; val.thisown = 1 | |
105e45b9 | 379 | return val |
2d091820 RD |
380 | def Intersect(self, *_args, **_kwargs): |
381 | val = apply(miscc.wxRegion_Intersect,(self,) + _args, _kwargs) | |
105e45b9 | 382 | return val |
2d091820 RD |
383 | def Subtract(self, *_args, **_kwargs): |
384 | val = apply(miscc.wxRegion_Subtract,(self,) + _args, _kwargs) | |
105e45b9 | 385 | return val |
2d091820 RD |
386 | def Union(self, *_args, **_kwargs): |
387 | val = apply(miscc.wxRegion_Union,(self,) + _args, _kwargs) | |
105e45b9 | 388 | return val |
2d091820 RD |
389 | def Xor(self, *_args, **_kwargs): |
390 | val = apply(miscc.wxRegion_Xor,(self,) + _args, _kwargs) | |
105e45b9 RD |
391 | return val |
392 | def __repr__(self): | |
2d091820 | 393 | return "<C wxRegion instance at %s>" % (self.this,) |
105e45b9 | 394 | class wxRegion(wxRegionPtr): |
2d091820 RD |
395 | def __init__(self,*_args,**_kwargs): |
396 | self.this = apply(miscc.new_wxRegion,_args,_kwargs) | |
105e45b9 RD |
397 | self.thisown = 1 |
398 | ||
399 | ||
400 | ||
401 | ||
402 | class wxRegionIteratorPtr : | |
403 | def __init__(self,this): | |
404 | self.this = this | |
405 | self.thisown = 0 | |
2d091820 | 406 | def __del__(self,miscc=miscc): |
105e45b9 | 407 | if self.thisown == 1 : |
2d091820 RD |
408 | miscc.delete_wxRegionIterator(self) |
409 | def GetX(self, *_args, **_kwargs): | |
410 | val = apply(miscc.wxRegionIterator_GetX,(self,) + _args, _kwargs) | |
105e45b9 | 411 | return val |
2d091820 RD |
412 | def GetY(self, *_args, **_kwargs): |
413 | val = apply(miscc.wxRegionIterator_GetY,(self,) + _args, _kwargs) | |
105e45b9 | 414 | return val |
2d091820 RD |
415 | def GetW(self, *_args, **_kwargs): |
416 | val = apply(miscc.wxRegionIterator_GetW,(self,) + _args, _kwargs) | |
105e45b9 | 417 | return val |
2d091820 RD |
418 | def GetWidth(self, *_args, **_kwargs): |
419 | val = apply(miscc.wxRegionIterator_GetWidth,(self,) + _args, _kwargs) | |
105e45b9 | 420 | return val |
2d091820 RD |
421 | def GetH(self, *_args, **_kwargs): |
422 | val = apply(miscc.wxRegionIterator_GetH,(self,) + _args, _kwargs) | |
105e45b9 | 423 | return val |
2d091820 RD |
424 | def GetHeight(self, *_args, **_kwargs): |
425 | val = apply(miscc.wxRegionIterator_GetHeight,(self,) + _args, _kwargs) | |
105e45b9 | 426 | return val |
2d091820 RD |
427 | def GetRect(self, *_args, **_kwargs): |
428 | val = apply(miscc.wxRegionIterator_GetRect,(self,) + _args, _kwargs) | |
429 | if val: val = wxRectPtr(val) ; val.thisown = 1 | |
105e45b9 | 430 | return val |
2d091820 RD |
431 | def HaveRects(self, *_args, **_kwargs): |
432 | val = apply(miscc.wxRegionIterator_HaveRects,(self,) + _args, _kwargs) | |
105e45b9 | 433 | return val |
2d091820 RD |
434 | def Reset(self, *_args, **_kwargs): |
435 | val = apply(miscc.wxRegionIterator_Reset,(self,) + _args, _kwargs) | |
105e45b9 | 436 | return val |
2d091820 RD |
437 | def Next(self, *_args, **_kwargs): |
438 | val = apply(miscc.wxRegionIterator_Next,(self,) + _args, _kwargs) | |
105e45b9 RD |
439 | return val |
440 | def __repr__(self): | |
2d091820 | 441 | return "<C wxRegionIterator instance at %s>" % (self.this,) |
105e45b9 | 442 | class wxRegionIterator(wxRegionIteratorPtr): |
2d091820 RD |
443 | def __init__(self,*_args,**_kwargs): |
444 | self.this = apply(miscc.new_wxRegionIterator,_args,_kwargs) | |
105e45b9 RD |
445 | self.thisown = 1 |
446 | ||
447 | ||
448 | ||
449 | ||
faf3cb35 RD |
450 | class wxAcceleratorEntryPtr : |
451 | def __init__(self,this): | |
452 | self.this = this | |
453 | self.thisown = 0 | |
2d091820 RD |
454 | def Set(self, *_args, **_kwargs): |
455 | val = apply(miscc.wxAcceleratorEntry_Set,(self,) + _args, _kwargs) | |
faf3cb35 | 456 | return val |
2d091820 RD |
457 | def GetFlags(self, *_args, **_kwargs): |
458 | val = apply(miscc.wxAcceleratorEntry_GetFlags,(self,) + _args, _kwargs) | |
faf3cb35 | 459 | return val |
2d091820 RD |
460 | def GetKeyCode(self, *_args, **_kwargs): |
461 | val = apply(miscc.wxAcceleratorEntry_GetKeyCode,(self,) + _args, _kwargs) | |
faf3cb35 | 462 | return val |
2d091820 RD |
463 | def GetCommand(self, *_args, **_kwargs): |
464 | val = apply(miscc.wxAcceleratorEntry_GetCommand,(self,) + _args, _kwargs) | |
faf3cb35 RD |
465 | return val |
466 | def __repr__(self): | |
2d091820 | 467 | return "<C wxAcceleratorEntry instance at %s>" % (self.this,) |
faf3cb35 | 468 | class wxAcceleratorEntry(wxAcceleratorEntryPtr): |
2d091820 RD |
469 | def __init__(self,*_args,**_kwargs): |
470 | self.this = apply(miscc.new_wxAcceleratorEntry,_args,_kwargs) | |
faf3cb35 RD |
471 | self.thisown = 1 |
472 | ||
473 | ||
474 | ||
475 | ||
476 | class wxAcceleratorTablePtr : | |
477 | def __init__(self,this): | |
478 | self.this = this | |
479 | self.thisown = 0 | |
480 | def __repr__(self): | |
2d091820 | 481 | return "<C wxAcceleratorTable instance at %s>" % (self.this,) |
faf3cb35 | 482 | class wxAcceleratorTable(wxAcceleratorTablePtr): |
2d091820 RD |
483 | def __init__(self,*_args,**_kwargs): |
484 | self.this = apply(miscc.new_wxAcceleratorTable,_args,_kwargs) | |
faf3cb35 RD |
485 | self.thisown = 1 |
486 | ||
487 | ||
488 | ||
489 | ||
70551f47 RD |
490 | |
491 | ||
492 | #-------------- FUNCTION WRAPPERS ------------------ | |
493 | ||
2d091820 | 494 | wxFileSelector = miscc.wxFileSelector |
70551f47 | 495 | |
2d091820 | 496 | wxGetTextFromUser = miscc.wxGetTextFromUser |
70551f47 | 497 | |
2d091820 | 498 | wxGetSingleChoice = miscc.wxGetSingleChoice |
70551f47 | 499 | |
2d091820 | 500 | wxGetSingleChoiceIndex = miscc.wxGetSingleChoiceIndex |
70551f47 | 501 | |
2d091820 | 502 | wxMessageBox = miscc.wxMessageBox |
70551f47 | 503 | |
2d091820 | 504 | wxGetNumberFromUser = miscc.wxGetNumberFromUser |
8bf5d46e | 505 | |
70551f47 RD |
506 | wxColourDisplay = miscc.wxColourDisplay |
507 | ||
508 | wxDisplayDepth = miscc.wxDisplayDepth | |
509 | ||
2d091820 | 510 | wxSetCursor = miscc.wxSetCursor |
70551f47 | 511 | |
ab9bc19b RD |
512 | wxNewId = miscc.wxNewId |
513 | ||
514 | wxRegisterId = miscc.wxRegisterId | |
515 | ||
70551f47 RD |
516 | NewId = miscc.NewId |
517 | ||
518 | RegisterId = miscc.RegisterId | |
519 | ||
2d091820 | 520 | wxBeginBusyCursor = miscc.wxBeginBusyCursor |
70551f47 RD |
521 | |
522 | wxBell = miscc.wxBell | |
523 | ||
524 | wxDisplaySize = miscc.wxDisplaySize | |
525 | ||
526 | wxEndBusyCursor = miscc.wxEndBusyCursor | |
527 | ||
528 | wxExecute = miscc.wxExecute | |
529 | ||
70551f47 RD |
530 | wxGetMousePosition = miscc.wxGetMousePosition |
531 | ||
532 | wxIsBusy = miscc.wxIsBusy | |
533 | ||
534 | wxNow = miscc.wxNow | |
535 | ||
d24a34bb RD |
536 | wxSleep = miscc.wxSleep |
537 | ||
70551f47 RD |
538 | wxYield = miscc.wxYield |
539 | ||
ab9bc19b RD |
540 | wxSafeYield = miscc.wxSafeYield |
541 | ||
d24a34bb RD |
542 | wxEnableTopLevelWindows = miscc.wxEnableTopLevelWindows |
543 | ||
70551f47 RD |
544 | wxGetResource = miscc.wxGetResource |
545 | ||
546 | wxResourceAddIdentifier = miscc.wxResourceAddIdentifier | |
547 | ||
548 | wxResourceClear = miscc.wxResourceClear | |
549 | ||
2d091820 RD |
550 | def wxResourceCreateBitmap(*_args, **_kwargs): |
551 | val = apply(miscc.wxResourceCreateBitmap,_args,_kwargs) | |
552 | if val: val = wxBitmapPtr(val); val.thisown = 1 | |
70551f47 RD |
553 | return val |
554 | ||
2d091820 RD |
555 | def wxResourceCreateIcon(*_args, **_kwargs): |
556 | val = apply(miscc.wxResourceCreateIcon,_args,_kwargs) | |
557 | if val: val = wxIconPtr(val); val.thisown = 1 | |
70551f47 RD |
558 | return val |
559 | ||
2d091820 RD |
560 | def wxResourceCreateMenuBar(*_args, **_kwargs): |
561 | val = apply(miscc.wxResourceCreateMenuBar,_args,_kwargs) | |
562 | if val: val = wxMenuBarPtr(val) | |
70551f47 RD |
563 | return val |
564 | ||
565 | wxResourceGetIdentifier = miscc.wxResourceGetIdentifier | |
566 | ||
567 | wxResourceParseData = miscc.wxResourceParseData | |
568 | ||
569 | wxResourceParseFile = miscc.wxResourceParseFile | |
570 | ||
571 | wxResourceParseString = miscc.wxResourceParseString | |
572 | ||
2d091820 RD |
573 | def wxSystemSettings_GetSystemColour(*_args, **_kwargs): |
574 | val = apply(miscc.wxSystemSettings_GetSystemColour,_args,_kwargs) | |
575 | if val: val = wxColourPtr(val); val.thisown = 1 | |
8bf5d46e RD |
576 | return val |
577 | ||
2d091820 RD |
578 | def wxSystemSettings_GetSystemFont(*_args, **_kwargs): |
579 | val = apply(miscc.wxSystemSettings_GetSystemFont,_args,_kwargs) | |
580 | if val: val = wxFontPtr(val); val.thisown = 1 | |
8bf5d46e RD |
581 | return val |
582 | ||
583 | wxSystemSettings_GetSystemMetric = miscc.wxSystemSettings_GetSystemMetric | |
584 | ||
70551f47 RD |
585 | |
586 | ||
587 | #-------------- VARIABLE WRAPPERS ------------------ | |
588 | ||
589 | wxLeft = miscc.wxLeft | |
590 | wxTop = miscc.wxTop | |
591 | wxRight = miscc.wxRight | |
592 | wxBottom = miscc.wxBottom | |
593 | wxWidth = miscc.wxWidth | |
594 | wxHeight = miscc.wxHeight | |
595 | wxCentre = miscc.wxCentre | |
596 | wxCenter = miscc.wxCenter | |
597 | wxCentreX = miscc.wxCentreX | |
598 | wxCentreY = miscc.wxCentreY | |
599 | wxUnconstrained = miscc.wxUnconstrained | |
600 | wxAsIs = miscc.wxAsIs | |
601 | wxPercentOf = miscc.wxPercentOf | |
602 | wxAbove = miscc.wxAbove | |
603 | wxBelow = miscc.wxBelow | |
604 | wxLeftOf = miscc.wxLeftOf | |
605 | wxRightOf = miscc.wxRightOf | |
606 | wxSameAs = miscc.wxSameAs | |
607 | wxAbsolute = miscc.wxAbsolute | |
105e45b9 RD |
608 | wxOutRegion = miscc.wxOutRegion |
609 | wxPartRegion = miscc.wxPartRegion | |
610 | wxInRegion = miscc.wxInRegion | |
8bf5d46e RD |
611 | wxSYS_WHITE_BRUSH = miscc.wxSYS_WHITE_BRUSH |
612 | wxSYS_LTGRAY_BRUSH = miscc.wxSYS_LTGRAY_BRUSH | |
613 | wxSYS_GRAY_BRUSH = miscc.wxSYS_GRAY_BRUSH | |
614 | wxSYS_DKGRAY_BRUSH = miscc.wxSYS_DKGRAY_BRUSH | |
615 | wxSYS_BLACK_BRUSH = miscc.wxSYS_BLACK_BRUSH | |
616 | wxSYS_NULL_BRUSH = miscc.wxSYS_NULL_BRUSH | |
617 | wxSYS_HOLLOW_BRUSH = miscc.wxSYS_HOLLOW_BRUSH | |
618 | wxSYS_WHITE_PEN = miscc.wxSYS_WHITE_PEN | |
619 | wxSYS_BLACK_PEN = miscc.wxSYS_BLACK_PEN | |
620 | wxSYS_NULL_PEN = miscc.wxSYS_NULL_PEN | |
621 | wxSYS_OEM_FIXED_FONT = miscc.wxSYS_OEM_FIXED_FONT | |
622 | wxSYS_ANSI_FIXED_FONT = miscc.wxSYS_ANSI_FIXED_FONT | |
623 | wxSYS_ANSI_VAR_FONT = miscc.wxSYS_ANSI_VAR_FONT | |
624 | wxSYS_SYSTEM_FONT = miscc.wxSYS_SYSTEM_FONT | |
625 | wxSYS_DEVICE_DEFAULT_FONT = miscc.wxSYS_DEVICE_DEFAULT_FONT | |
626 | wxSYS_DEFAULT_PALETTE = miscc.wxSYS_DEFAULT_PALETTE | |
627 | wxSYS_SYSTEM_FIXED_FONT = miscc.wxSYS_SYSTEM_FIXED_FONT | |
628 | wxSYS_DEFAULT_GUI_FONT = miscc.wxSYS_DEFAULT_GUI_FONT | |
629 | wxSYS_COLOUR_SCROLLBAR = miscc.wxSYS_COLOUR_SCROLLBAR | |
630 | wxSYS_COLOUR_BACKGROUND = miscc.wxSYS_COLOUR_BACKGROUND | |
631 | wxSYS_COLOUR_ACTIVECAPTION = miscc.wxSYS_COLOUR_ACTIVECAPTION | |
632 | wxSYS_COLOUR_INACTIVECAPTION = miscc.wxSYS_COLOUR_INACTIVECAPTION | |
633 | wxSYS_COLOUR_MENU = miscc.wxSYS_COLOUR_MENU | |
634 | wxSYS_COLOUR_WINDOW = miscc.wxSYS_COLOUR_WINDOW | |
635 | wxSYS_COLOUR_WINDOWFRAME = miscc.wxSYS_COLOUR_WINDOWFRAME | |
636 | wxSYS_COLOUR_MENUTEXT = miscc.wxSYS_COLOUR_MENUTEXT | |
637 | wxSYS_COLOUR_WINDOWTEXT = miscc.wxSYS_COLOUR_WINDOWTEXT | |
638 | wxSYS_COLOUR_CAPTIONTEXT = miscc.wxSYS_COLOUR_CAPTIONTEXT | |
639 | wxSYS_COLOUR_ACTIVEBORDER = miscc.wxSYS_COLOUR_ACTIVEBORDER | |
640 | wxSYS_COLOUR_INACTIVEBORDER = miscc.wxSYS_COLOUR_INACTIVEBORDER | |
641 | wxSYS_COLOUR_APPWORKSPACE = miscc.wxSYS_COLOUR_APPWORKSPACE | |
642 | wxSYS_COLOUR_HIGHLIGHT = miscc.wxSYS_COLOUR_HIGHLIGHT | |
643 | wxSYS_COLOUR_HIGHLIGHTTEXT = miscc.wxSYS_COLOUR_HIGHLIGHTTEXT | |
644 | wxSYS_COLOUR_BTNFACE = miscc.wxSYS_COLOUR_BTNFACE | |
645 | wxSYS_COLOUR_BTNSHADOW = miscc.wxSYS_COLOUR_BTNSHADOW | |
646 | wxSYS_COLOUR_GRAYTEXT = miscc.wxSYS_COLOUR_GRAYTEXT | |
647 | wxSYS_COLOUR_BTNTEXT = miscc.wxSYS_COLOUR_BTNTEXT | |
648 | wxSYS_COLOUR_INACTIVECAPTIONTEXT = miscc.wxSYS_COLOUR_INACTIVECAPTIONTEXT | |
649 | wxSYS_COLOUR_BTNHIGHLIGHT = miscc.wxSYS_COLOUR_BTNHIGHLIGHT | |
650 | wxSYS_COLOUR_3DDKSHADOW = miscc.wxSYS_COLOUR_3DDKSHADOW | |
651 | wxSYS_COLOUR_3DLIGHT = miscc.wxSYS_COLOUR_3DLIGHT | |
652 | wxSYS_COLOUR_INFOTEXT = miscc.wxSYS_COLOUR_INFOTEXT | |
653 | wxSYS_COLOUR_INFOBK = miscc.wxSYS_COLOUR_INFOBK | |
654 | wxSYS_COLOUR_DESKTOP = miscc.wxSYS_COLOUR_DESKTOP | |
655 | wxSYS_COLOUR_3DFACE = miscc.wxSYS_COLOUR_3DFACE | |
656 | wxSYS_COLOUR_3DSHADOW = miscc.wxSYS_COLOUR_3DSHADOW | |
657 | wxSYS_COLOUR_3DHIGHLIGHT = miscc.wxSYS_COLOUR_3DHIGHLIGHT | |
658 | wxSYS_COLOUR_3DHILIGHT = miscc.wxSYS_COLOUR_3DHILIGHT | |
659 | wxSYS_COLOUR_BTNHILIGHT = miscc.wxSYS_COLOUR_BTNHILIGHT | |
660 | wxSYS_MOUSE_BUTTONS = miscc.wxSYS_MOUSE_BUTTONS | |
661 | wxSYS_BORDER_X = miscc.wxSYS_BORDER_X | |
662 | wxSYS_BORDER_Y = miscc.wxSYS_BORDER_Y | |
663 | wxSYS_CURSOR_X = miscc.wxSYS_CURSOR_X | |
664 | wxSYS_CURSOR_Y = miscc.wxSYS_CURSOR_Y | |
665 | wxSYS_DCLICK_X = miscc.wxSYS_DCLICK_X | |
666 | wxSYS_DCLICK_Y = miscc.wxSYS_DCLICK_Y | |
667 | wxSYS_DRAG_X = miscc.wxSYS_DRAG_X | |
668 | wxSYS_DRAG_Y = miscc.wxSYS_DRAG_Y | |
669 | wxSYS_EDGE_X = miscc.wxSYS_EDGE_X | |
670 | wxSYS_EDGE_Y = miscc.wxSYS_EDGE_Y | |
671 | wxSYS_HSCROLL_ARROW_X = miscc.wxSYS_HSCROLL_ARROW_X | |
672 | wxSYS_HSCROLL_ARROW_Y = miscc.wxSYS_HSCROLL_ARROW_Y | |
673 | wxSYS_HTHUMB_X = miscc.wxSYS_HTHUMB_X | |
674 | wxSYS_ICON_X = miscc.wxSYS_ICON_X | |
675 | wxSYS_ICON_Y = miscc.wxSYS_ICON_Y | |
676 | wxSYS_ICONSPACING_X = miscc.wxSYS_ICONSPACING_X | |
677 | wxSYS_ICONSPACING_Y = miscc.wxSYS_ICONSPACING_Y | |
678 | wxSYS_WINDOWMIN_X = miscc.wxSYS_WINDOWMIN_X | |
679 | wxSYS_WINDOWMIN_Y = miscc.wxSYS_WINDOWMIN_Y | |
680 | wxSYS_SCREEN_X = miscc.wxSYS_SCREEN_X | |
681 | wxSYS_SCREEN_Y = miscc.wxSYS_SCREEN_Y | |
682 | wxSYS_FRAMESIZE_X = miscc.wxSYS_FRAMESIZE_X | |
683 | wxSYS_FRAMESIZE_Y = miscc.wxSYS_FRAMESIZE_Y | |
684 | wxSYS_SMALLICON_X = miscc.wxSYS_SMALLICON_X | |
685 | wxSYS_SMALLICON_Y = miscc.wxSYS_SMALLICON_Y | |
686 | wxSYS_HSCROLL_Y = miscc.wxSYS_HSCROLL_Y | |
687 | wxSYS_VSCROLL_X = miscc.wxSYS_VSCROLL_X | |
688 | wxSYS_VSCROLL_ARROW_X = miscc.wxSYS_VSCROLL_ARROW_X | |
689 | wxSYS_VSCROLL_ARROW_Y = miscc.wxSYS_VSCROLL_ARROW_Y | |
690 | wxSYS_VTHUMB_Y = miscc.wxSYS_VTHUMB_Y | |
691 | wxSYS_CAPTION_Y = miscc.wxSYS_CAPTION_Y | |
692 | wxSYS_MENU_Y = miscc.wxSYS_MENU_Y | |
693 | wxSYS_NETWORK_PRESENT = miscc.wxSYS_NETWORK_PRESENT | |
694 | wxSYS_PENWINDOWS_PRESENT = miscc.wxSYS_PENWINDOWS_PRESENT | |
695 | wxSYS_SHOW_SOUNDS = miscc.wxSYS_SHOW_SOUNDS | |
696 | wxSYS_SWAP_BUTTONS = miscc.wxSYS_SWAP_BUTTONS |