]>
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) |
107e4716 RD |
77 | def Set(self, *_args, **_kwargs): |
78 | val = apply(miscc.wxRealPoint_Set,(self,) + _args, _kwargs) | |
79 | return val | |
80 | def asTuple(self, *_args, **_kwargs): | |
81 | val = apply(miscc.wxRealPoint_asTuple,(self,) + _args, _kwargs) | |
82 | return val | |
70551f47 RD |
83 | def __setattr__(self,name,value): |
84 | if name == "x" : | |
2d091820 | 85 | miscc.wxRealPoint_x_set(self,value) |
70551f47 RD |
86 | return |
87 | if name == "y" : | |
2d091820 | 88 | miscc.wxRealPoint_y_set(self,value) |
70551f47 RD |
89 | return |
90 | self.__dict__[name] = value | |
91 | def __getattr__(self,name): | |
92 | if name == "x" : | |
2d091820 | 93 | return miscc.wxRealPoint_x_get(self) |
70551f47 | 94 | if name == "y" : |
2d091820 | 95 | return miscc.wxRealPoint_y_get(self) |
70551f47 RD |
96 | raise AttributeError,name |
97 | def __repr__(self): | |
2d091820 | 98 | return "<C wxRealPoint instance at %s>" % (self.this,) |
107e4716 RD |
99 | def __str__(self): return str(self.asTuple()) |
100 | def __repr__(self): return str(self.asTuple()) | |
70551f47 | 101 | class wxRealPoint(wxRealPointPtr): |
2d091820 RD |
102 | def __init__(self,*_args,**_kwargs): |
103 | self.this = apply(miscc.new_wxRealPoint,_args,_kwargs) | |
70551f47 RD |
104 | self.thisown = 1 |
105 | ||
106 | ||
107 | ||
108 | ||
109 | class wxPointPtr : | |
110 | def __init__(self,this): | |
111 | self.this = this | |
112 | self.thisown = 0 | |
2d091820 | 113 | def __del__(self,miscc=miscc): |
70551f47 | 114 | if self.thisown == 1 : |
2d091820 RD |
115 | miscc.delete_wxPoint(self) |
116 | def Set(self, *_args, **_kwargs): | |
117 | val = apply(miscc.wxPoint_Set,(self,) + _args, _kwargs) | |
70551f47 | 118 | return val |
2d091820 RD |
119 | def asTuple(self, *_args, **_kwargs): |
120 | val = apply(miscc.wxPoint_asTuple,(self,) + _args, _kwargs) | |
70551f47 RD |
121 | return val |
122 | def __setattr__(self,name,value): | |
123 | if name == "x" : | |
2d091820 | 124 | miscc.wxPoint_x_set(self,value) |
70551f47 RD |
125 | return |
126 | if name == "y" : | |
2d091820 | 127 | miscc.wxPoint_y_set(self,value) |
70551f47 RD |
128 | return |
129 | self.__dict__[name] = value | |
130 | def __getattr__(self,name): | |
131 | if name == "x" : | |
2d091820 | 132 | return miscc.wxPoint_x_get(self) |
70551f47 | 133 | if name == "y" : |
2d091820 | 134 | return miscc.wxPoint_y_get(self) |
70551f47 RD |
135 | raise AttributeError,name |
136 | def __repr__(self): | |
2d091820 | 137 | return "<C wxPoint instance at %s>" % (self.this,) |
21f8d7ea RD |
138 | def __str__(self): return str(self.asTuple()) |
139 | def __repr__(self): return str(self.asTuple()) | |
70551f47 | 140 | class wxPoint(wxPointPtr): |
2d091820 RD |
141 | def __init__(self,*_args,**_kwargs): |
142 | self.this = apply(miscc.new_wxPoint,_args,_kwargs) | |
70551f47 RD |
143 | self.thisown = 1 |
144 | ||
145 | ||
146 | ||
147 | ||
148 | class wxRectPtr : | |
149 | def __init__(self,this): | |
150 | self.this = this | |
151 | self.thisown = 0 | |
2d091820 | 152 | def __del__(self,miscc=miscc): |
70551f47 | 153 | if self.thisown == 1 : |
2d091820 RD |
154 | miscc.delete_wxRect(self) |
155 | def GetX(self, *_args, **_kwargs): | |
156 | val = apply(miscc.wxRect_GetX,(self,) + _args, _kwargs) | |
70551f47 | 157 | return val |
2d091820 RD |
158 | def SetX(self, *_args, **_kwargs): |
159 | val = apply(miscc.wxRect_SetX,(self,) + _args, _kwargs) | |
70551f47 | 160 | return val |
2d091820 RD |
161 | def GetY(self, *_args, **_kwargs): |
162 | val = apply(miscc.wxRect_GetY,(self,) + _args, _kwargs) | |
70551f47 | 163 | return val |
2d091820 RD |
164 | def SetY(self, *_args, **_kwargs): |
165 | val = apply(miscc.wxRect_SetY,(self,) + _args, _kwargs) | |
70551f47 | 166 | return val |
2d091820 RD |
167 | def GetWidth(self, *_args, **_kwargs): |
168 | val = apply(miscc.wxRect_GetWidth,(self,) + _args, _kwargs) | |
70551f47 | 169 | return val |
2d091820 RD |
170 | def SetWidth(self, *_args, **_kwargs): |
171 | val = apply(miscc.wxRect_SetWidth,(self,) + _args, _kwargs) | |
70551f47 | 172 | return val |
2d091820 RD |
173 | def GetHeight(self, *_args, **_kwargs): |
174 | val = apply(miscc.wxRect_GetHeight,(self,) + _args, _kwargs) | |
70551f47 | 175 | return val |
2d091820 RD |
176 | def SetHeight(self, *_args, **_kwargs): |
177 | val = apply(miscc.wxRect_SetHeight,(self,) + _args, _kwargs) | |
70551f47 | 178 | return val |
2d091820 RD |
179 | def GetPosition(self, *_args, **_kwargs): |
180 | val = apply(miscc.wxRect_GetPosition,(self,) + _args, _kwargs) | |
181 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
70551f47 | 182 | return val |
2d091820 RD |
183 | def GetSize(self, *_args, **_kwargs): |
184 | val = apply(miscc.wxRect_GetSize,(self,) + _args, _kwargs) | |
185 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
70551f47 | 186 | return val |
2d091820 RD |
187 | def GetLeft(self, *_args, **_kwargs): |
188 | val = apply(miscc.wxRect_GetLeft,(self,) + _args, _kwargs) | |
70551f47 | 189 | return val |
2d091820 RD |
190 | def GetTop(self, *_args, **_kwargs): |
191 | val = apply(miscc.wxRect_GetTop,(self,) + _args, _kwargs) | |
70551f47 | 192 | return val |
2d091820 RD |
193 | def GetBottom(self, *_args, **_kwargs): |
194 | val = apply(miscc.wxRect_GetBottom,(self,) + _args, _kwargs) | |
70551f47 | 195 | return val |
2d091820 RD |
196 | def GetRight(self, *_args, **_kwargs): |
197 | val = apply(miscc.wxRect_GetRight,(self,) + _args, _kwargs) | |
70551f47 | 198 | return val |
56f5d962 RD |
199 | def SetLeft(self, *_args, **_kwargs): |
200 | val = apply(miscc.wxRect_SetLeft,(self,) + _args, _kwargs) | |
201 | return val | |
202 | def SetRight(self, *_args, **_kwargs): | |
203 | val = apply(miscc.wxRect_SetRight,(self,) + _args, _kwargs) | |
204 | return val | |
205 | def SetTop(self, *_args, **_kwargs): | |
206 | val = apply(miscc.wxRect_SetTop,(self,) + _args, _kwargs) | |
207 | return val | |
208 | def SetBottom(self, *_args, **_kwargs): | |
209 | val = apply(miscc.wxRect_SetBottom,(self,) + _args, _kwargs) | |
210 | return val | |
2d091820 RD |
211 | def asTuple(self, *_args, **_kwargs): |
212 | val = apply(miscc.wxRect_asTuple,(self,) + _args, _kwargs) | |
21f8d7ea | 213 | return val |
70551f47 RD |
214 | def __setattr__(self,name,value): |
215 | if name == "x" : | |
2d091820 | 216 | miscc.wxRect_x_set(self,value) |
70551f47 RD |
217 | return |
218 | if name == "y" : | |
2d091820 | 219 | miscc.wxRect_y_set(self,value) |
70551f47 RD |
220 | return |
221 | if name == "width" : | |
2d091820 | 222 | miscc.wxRect_width_set(self,value) |
70551f47 RD |
223 | return |
224 | if name == "height" : | |
2d091820 | 225 | miscc.wxRect_height_set(self,value) |
70551f47 RD |
226 | return |
227 | self.__dict__[name] = value | |
228 | def __getattr__(self,name): | |
229 | if name == "x" : | |
2d091820 | 230 | return miscc.wxRect_x_get(self) |
70551f47 | 231 | if name == "y" : |
2d091820 | 232 | return miscc.wxRect_y_get(self) |
70551f47 | 233 | if name == "width" : |
2d091820 | 234 | return miscc.wxRect_width_get(self) |
70551f47 | 235 | if name == "height" : |
2d091820 | 236 | return miscc.wxRect_height_get(self) |
70551f47 RD |
237 | raise AttributeError,name |
238 | def __repr__(self): | |
2d091820 | 239 | return "<C wxRect instance at %s>" % (self.this,) |
21f8d7ea RD |
240 | def __str__(self): return str(self.asTuple()) |
241 | def __repr__(self): return str(self.asTuple()) | |
70551f47 | 242 | class wxRect(wxRectPtr): |
2d091820 RD |
243 | def __init__(self,*_args,**_kwargs): |
244 | self.this = apply(miscc.new_wxRect,_args,_kwargs) | |
70551f47 RD |
245 | self.thisown = 1 |
246 | ||
247 | ||
248 | ||
249 | ||
250 | class wxPyTimerPtr : | |
251 | def __init__(self,this): | |
252 | self.this = this | |
253 | self.thisown = 0 | |
2d091820 | 254 | def __del__(self,miscc=miscc): |
70551f47 | 255 | if self.thisown == 1 : |
2d091820 | 256 | miscc.delete_wxPyTimer(self) |
d29aba2f RD |
257 | def GetInterval(self, *_args, **_kwargs): |
258 | val = apply(miscc.wxPyTimer_GetInterval,(self,) + _args, _kwargs) | |
259 | return val | |
260 | def IsOneShot(self, *_args, **_kwargs): | |
261 | val = apply(miscc.wxPyTimer_IsOneShot,(self,) + _args, _kwargs) | |
70551f47 | 262 | return val |
2d091820 RD |
263 | def Start(self, *_args, **_kwargs): |
264 | val = apply(miscc.wxPyTimer_Start,(self,) + _args, _kwargs) | |
70551f47 | 265 | return val |
2d091820 RD |
266 | def Stop(self, *_args, **_kwargs): |
267 | val = apply(miscc.wxPyTimer_Stop,(self,) + _args, _kwargs) | |
70551f47 RD |
268 | return val |
269 | def __repr__(self): | |
2d091820 | 270 | return "<C wxPyTimer instance at %s>" % (self.this,) |
70551f47 | 271 | class wxPyTimer(wxPyTimerPtr): |
2d091820 RD |
272 | def __init__(self,*_args,**_kwargs): |
273 | self.this = apply(miscc.new_wxPyTimer,_args,_kwargs) | |
70551f47 RD |
274 | self.thisown = 1 |
275 | ||
276 | ||
277 | ||
278 | ||
279 | class wxIndividualLayoutConstraintPtr : | |
280 | def __init__(self,this): | |
281 | self.this = this | |
282 | self.thisown = 0 | |
2d091820 RD |
283 | def Above(self, *_args, **_kwargs): |
284 | val = apply(miscc.wxIndividualLayoutConstraint_Above,(self,) + _args, _kwargs) | |
70551f47 | 285 | return val |
2d091820 RD |
286 | def Absolute(self, *_args, **_kwargs): |
287 | val = apply(miscc.wxIndividualLayoutConstraint_Absolute,(self,) + _args, _kwargs) | |
70551f47 | 288 | return val |
2d091820 RD |
289 | def AsIs(self, *_args, **_kwargs): |
290 | val = apply(miscc.wxIndividualLayoutConstraint_AsIs,(self,) + _args, _kwargs) | |
70551f47 | 291 | return val |
2d091820 RD |
292 | def Below(self, *_args, **_kwargs): |
293 | val = apply(miscc.wxIndividualLayoutConstraint_Below,(self,) + _args, _kwargs) | |
70551f47 | 294 | return val |
2d091820 RD |
295 | def Unconstrained(self, *_args, **_kwargs): |
296 | val = apply(miscc.wxIndividualLayoutConstraint_Unconstrained,(self,) + _args, _kwargs) | |
70551f47 | 297 | return val |
2d091820 RD |
298 | def LeftOf(self, *_args, **_kwargs): |
299 | val = apply(miscc.wxIndividualLayoutConstraint_LeftOf,(self,) + _args, _kwargs) | |
70551f47 | 300 | return val |
2d091820 RD |
301 | def PercentOf(self, *_args, **_kwargs): |
302 | val = apply(miscc.wxIndividualLayoutConstraint_PercentOf,(self,) + _args, _kwargs) | |
70551f47 | 303 | return val |
2d091820 RD |
304 | def RightOf(self, *_args, **_kwargs): |
305 | val = apply(miscc.wxIndividualLayoutConstraint_RightOf,(self,) + _args, _kwargs) | |
70551f47 | 306 | return val |
2d091820 RD |
307 | def SameAs(self, *_args, **_kwargs): |
308 | val = apply(miscc.wxIndividualLayoutConstraint_SameAs,(self,) + _args, _kwargs) | |
70551f47 | 309 | return val |
2d091820 RD |
310 | def Set(self, *_args, **_kwargs): |
311 | val = apply(miscc.wxIndividualLayoutConstraint_Set,(self,) + _args, _kwargs) | |
70551f47 RD |
312 | return val |
313 | def __repr__(self): | |
2d091820 | 314 | return "<C wxIndividualLayoutConstraint instance at %s>" % (self.this,) |
70551f47 RD |
315 | class wxIndividualLayoutConstraint(wxIndividualLayoutConstraintPtr): |
316 | def __init__(self,this): | |
317 | self.this = this | |
318 | ||
319 | ||
320 | ||
321 | ||
322 | class wxLayoutConstraintsPtr : | |
323 | def __init__(self,this): | |
324 | self.this = this | |
325 | self.thisown = 0 | |
326 | def __setattr__(self,name,value): | |
327 | if name == "bottom" : | |
2d091820 | 328 | miscc.wxLayoutConstraints_bottom_set(self,value.this) |
70551f47 RD |
329 | return |
330 | if name == "centreX" : | |
2d091820 | 331 | miscc.wxLayoutConstraints_centreX_set(self,value.this) |
70551f47 RD |
332 | return |
333 | if name == "centreY" : | |
2d091820 | 334 | miscc.wxLayoutConstraints_centreY_set(self,value.this) |
70551f47 RD |
335 | return |
336 | if name == "height" : | |
2d091820 | 337 | miscc.wxLayoutConstraints_height_set(self,value.this) |
70551f47 RD |
338 | return |
339 | if name == "left" : | |
2d091820 | 340 | miscc.wxLayoutConstraints_left_set(self,value.this) |
70551f47 RD |
341 | return |
342 | if name == "right" : | |
2d091820 | 343 | miscc.wxLayoutConstraints_right_set(self,value.this) |
70551f47 RD |
344 | return |
345 | if name == "top" : | |
2d091820 | 346 | miscc.wxLayoutConstraints_top_set(self,value.this) |
70551f47 RD |
347 | return |
348 | if name == "width" : | |
2d091820 | 349 | miscc.wxLayoutConstraints_width_set(self,value.this) |
70551f47 RD |
350 | return |
351 | self.__dict__[name] = value | |
352 | def __getattr__(self,name): | |
353 | if name == "bottom" : | |
2d091820 | 354 | return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_bottom_get(self)) |
70551f47 | 355 | if name == "centreX" : |
2d091820 | 356 | return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_centreX_get(self)) |
70551f47 | 357 | if name == "centreY" : |
2d091820 | 358 | return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_centreY_get(self)) |
70551f47 | 359 | if name == "height" : |
2d091820 | 360 | return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_height_get(self)) |
70551f47 | 361 | if name == "left" : |
2d091820 | 362 | return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_left_get(self)) |
70551f47 | 363 | if name == "right" : |
2d091820 | 364 | return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_right_get(self)) |
70551f47 | 365 | if name == "top" : |
2d091820 | 366 | return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_top_get(self)) |
70551f47 | 367 | if name == "width" : |
2d091820 | 368 | return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_width_get(self)) |
70551f47 RD |
369 | raise AttributeError,name |
370 | def __repr__(self): | |
2d091820 | 371 | return "<C wxLayoutConstraints instance at %s>" % (self.this,) |
70551f47 | 372 | class wxLayoutConstraints(wxLayoutConstraintsPtr): |
2d091820 RD |
373 | def __init__(self,*_args,**_kwargs): |
374 | self.this = apply(miscc.new_wxLayoutConstraints,_args,_kwargs) | |
70551f47 RD |
375 | self.thisown = 1 |
376 | ||
377 | ||
378 | ||
379 | ||
105e45b9 RD |
380 | class wxRegionPtr : |
381 | def __init__(self,this): | |
382 | self.this = this | |
383 | self.thisown = 0 | |
2d091820 | 384 | def __del__(self,miscc=miscc): |
105e45b9 | 385 | if self.thisown == 1 : |
2d091820 RD |
386 | miscc.delete_wxRegion(self) |
387 | def Clear(self, *_args, **_kwargs): | |
388 | val = apply(miscc.wxRegion_Clear,(self,) + _args, _kwargs) | |
105e45b9 | 389 | return val |
2d091820 RD |
390 | def Contains(self, *_args, **_kwargs): |
391 | val = apply(miscc.wxRegion_Contains,(self,) + _args, _kwargs) | |
105e45b9 | 392 | return val |
2d091820 RD |
393 | def ContainsPoint(self, *_args, **_kwargs): |
394 | val = apply(miscc.wxRegion_ContainsPoint,(self,) + _args, _kwargs) | |
105e45b9 | 395 | return val |
2d091820 RD |
396 | def ContainsRect(self, *_args, **_kwargs): |
397 | val = apply(miscc.wxRegion_ContainsRect,(self,) + _args, _kwargs) | |
105e45b9 | 398 | return val |
56f5d962 RD |
399 | def ContainsRectDim(self, *_args, **_kwargs): |
400 | val = apply(miscc.wxRegion_ContainsRectDim,(self,) + _args, _kwargs) | |
401 | return val | |
2d091820 RD |
402 | def GetBox(self, *_args, **_kwargs): |
403 | val = apply(miscc.wxRegion_GetBox,(self,) + _args, _kwargs) | |
404 | if val: val = wxRectPtr(val) ; val.thisown = 1 | |
105e45b9 | 405 | return val |
2d091820 RD |
406 | def Intersect(self, *_args, **_kwargs): |
407 | val = apply(miscc.wxRegion_Intersect,(self,) + _args, _kwargs) | |
105e45b9 | 408 | return val |
56f5d962 RD |
409 | def IntersectRect(self, *_args, **_kwargs): |
410 | val = apply(miscc.wxRegion_IntersectRect,(self,) + _args, _kwargs) | |
411 | return val | |
412 | def IntersectRegion(self, *_args, **_kwargs): | |
413 | val = apply(miscc.wxRegion_IntersectRegion,(self,) + _args, _kwargs) | |
414 | return val | |
bc29c5e0 RD |
415 | def IsEmpty(self, *_args, **_kwargs): |
416 | val = apply(miscc.wxRegion_IsEmpty,(self,) + _args, _kwargs) | |
417 | return val | |
56f5d962 RD |
418 | def Union(self, *_args, **_kwargs): |
419 | val = apply(miscc.wxRegion_Union,(self,) + _args, _kwargs) | |
420 | return val | |
421 | def UnionRect(self, *_args, **_kwargs): | |
422 | val = apply(miscc.wxRegion_UnionRect,(self,) + _args, _kwargs) | |
423 | return val | |
424 | def UnionRegion(self, *_args, **_kwargs): | |
425 | val = apply(miscc.wxRegion_UnionRegion,(self,) + _args, _kwargs) | |
426 | return val | |
2d091820 RD |
427 | def Subtract(self, *_args, **_kwargs): |
428 | val = apply(miscc.wxRegion_Subtract,(self,) + _args, _kwargs) | |
105e45b9 | 429 | return val |
56f5d962 RD |
430 | def SubtractRect(self, *_args, **_kwargs): |
431 | val = apply(miscc.wxRegion_SubtractRect,(self,) + _args, _kwargs) | |
432 | return val | |
433 | def SubtractRegion(self, *_args, **_kwargs): | |
434 | val = apply(miscc.wxRegion_SubtractRegion,(self,) + _args, _kwargs) | |
105e45b9 | 435 | return val |
2d091820 RD |
436 | def Xor(self, *_args, **_kwargs): |
437 | val = apply(miscc.wxRegion_Xor,(self,) + _args, _kwargs) | |
105e45b9 | 438 | return val |
56f5d962 RD |
439 | def XorRect(self, *_args, **_kwargs): |
440 | val = apply(miscc.wxRegion_XorRect,(self,) + _args, _kwargs) | |
441 | return val | |
442 | def XorRegion(self, *_args, **_kwargs): | |
443 | val = apply(miscc.wxRegion_XorRegion,(self,) + _args, _kwargs) | |
444 | return val | |
105e45b9 | 445 | def __repr__(self): |
2d091820 | 446 | return "<C wxRegion instance at %s>" % (self.this,) |
105e45b9 | 447 | class wxRegion(wxRegionPtr): |
2d091820 RD |
448 | def __init__(self,*_args,**_kwargs): |
449 | self.this = apply(miscc.new_wxRegion,_args,_kwargs) | |
105e45b9 RD |
450 | self.thisown = 1 |
451 | ||
452 | ||
453 | ||
454 | ||
455 | class wxRegionIteratorPtr : | |
456 | def __init__(self,this): | |
457 | self.this = this | |
458 | self.thisown = 0 | |
2d091820 | 459 | def __del__(self,miscc=miscc): |
105e45b9 | 460 | if self.thisown == 1 : |
2d091820 RD |
461 | miscc.delete_wxRegionIterator(self) |
462 | def GetX(self, *_args, **_kwargs): | |
463 | val = apply(miscc.wxRegionIterator_GetX,(self,) + _args, _kwargs) | |
105e45b9 | 464 | return val |
2d091820 RD |
465 | def GetY(self, *_args, **_kwargs): |
466 | val = apply(miscc.wxRegionIterator_GetY,(self,) + _args, _kwargs) | |
105e45b9 | 467 | return val |
2d091820 RD |
468 | def GetW(self, *_args, **_kwargs): |
469 | val = apply(miscc.wxRegionIterator_GetW,(self,) + _args, _kwargs) | |
105e45b9 | 470 | return val |
2d091820 RD |
471 | def GetWidth(self, *_args, **_kwargs): |
472 | val = apply(miscc.wxRegionIterator_GetWidth,(self,) + _args, _kwargs) | |
105e45b9 | 473 | return val |
2d091820 RD |
474 | def GetH(self, *_args, **_kwargs): |
475 | val = apply(miscc.wxRegionIterator_GetH,(self,) + _args, _kwargs) | |
105e45b9 | 476 | return val |
2d091820 RD |
477 | def GetHeight(self, *_args, **_kwargs): |
478 | val = apply(miscc.wxRegionIterator_GetHeight,(self,) + _args, _kwargs) | |
105e45b9 | 479 | return val |
2d091820 RD |
480 | def GetRect(self, *_args, **_kwargs): |
481 | val = apply(miscc.wxRegionIterator_GetRect,(self,) + _args, _kwargs) | |
482 | if val: val = wxRectPtr(val) ; val.thisown = 1 | |
105e45b9 | 483 | return val |
2d091820 RD |
484 | def HaveRects(self, *_args, **_kwargs): |
485 | val = apply(miscc.wxRegionIterator_HaveRects,(self,) + _args, _kwargs) | |
105e45b9 | 486 | return val |
2d091820 RD |
487 | def Reset(self, *_args, **_kwargs): |
488 | val = apply(miscc.wxRegionIterator_Reset,(self,) + _args, _kwargs) | |
105e45b9 | 489 | return val |
2d091820 RD |
490 | def Next(self, *_args, **_kwargs): |
491 | val = apply(miscc.wxRegionIterator_Next,(self,) + _args, _kwargs) | |
105e45b9 RD |
492 | return val |
493 | def __repr__(self): | |
2d091820 | 494 | return "<C wxRegionIterator instance at %s>" % (self.this,) |
105e45b9 | 495 | class wxRegionIterator(wxRegionIteratorPtr): |
2d091820 RD |
496 | def __init__(self,*_args,**_kwargs): |
497 | self.this = apply(miscc.new_wxRegionIterator,_args,_kwargs) | |
105e45b9 RD |
498 | self.thisown = 1 |
499 | ||
500 | ||
501 | ||
502 | ||
faf3cb35 RD |
503 | class wxAcceleratorEntryPtr : |
504 | def __init__(self,this): | |
505 | self.this = this | |
506 | self.thisown = 0 | |
37f6a977 RD |
507 | def __del__(self,miscc=miscc): |
508 | if self.thisown == 1 : | |
509 | miscc.delete_wxAcceleratorEntry(self) | |
2d091820 RD |
510 | def Set(self, *_args, **_kwargs): |
511 | val = apply(miscc.wxAcceleratorEntry_Set,(self,) + _args, _kwargs) | |
faf3cb35 | 512 | return val |
2d091820 RD |
513 | def GetFlags(self, *_args, **_kwargs): |
514 | val = apply(miscc.wxAcceleratorEntry_GetFlags,(self,) + _args, _kwargs) | |
faf3cb35 | 515 | return val |
2d091820 RD |
516 | def GetKeyCode(self, *_args, **_kwargs): |
517 | val = apply(miscc.wxAcceleratorEntry_GetKeyCode,(self,) + _args, _kwargs) | |
faf3cb35 | 518 | return val |
2d091820 RD |
519 | def GetCommand(self, *_args, **_kwargs): |
520 | val = apply(miscc.wxAcceleratorEntry_GetCommand,(self,) + _args, _kwargs) | |
faf3cb35 RD |
521 | return val |
522 | def __repr__(self): | |
2d091820 | 523 | return "<C wxAcceleratorEntry instance at %s>" % (self.this,) |
faf3cb35 | 524 | class wxAcceleratorEntry(wxAcceleratorEntryPtr): |
2d091820 RD |
525 | def __init__(self,*_args,**_kwargs): |
526 | self.this = apply(miscc.new_wxAcceleratorEntry,_args,_kwargs) | |
faf3cb35 RD |
527 | self.thisown = 1 |
528 | ||
529 | ||
530 | ||
531 | ||
532 | class wxAcceleratorTablePtr : | |
533 | def __init__(self,this): | |
534 | self.this = this | |
535 | self.thisown = 0 | |
37f6a977 RD |
536 | def __del__(self,miscc=miscc): |
537 | if self.thisown == 1 : | |
538 | miscc.delete_wxAcceleratorTable(self) | |
faf3cb35 | 539 | def __repr__(self): |
2d091820 | 540 | return "<C wxAcceleratorTable instance at %s>" % (self.this,) |
faf3cb35 | 541 | class wxAcceleratorTable(wxAcceleratorTablePtr): |
2d091820 RD |
542 | def __init__(self,*_args,**_kwargs): |
543 | self.this = apply(miscc.new_wxAcceleratorTable,_args,_kwargs) | |
faf3cb35 RD |
544 | self.thisown = 1 |
545 | ||
546 | ||
547 | ||
548 | ||
4120ef2b RD |
549 | class wxBusyInfoPtr : |
550 | def __init__(self,this): | |
551 | self.this = this | |
552 | self.thisown = 0 | |
553 | def __del__(self,miscc=miscc): | |
554 | if self.thisown == 1 : | |
555 | miscc.delete_wxBusyInfo(self) | |
556 | def __repr__(self): | |
557 | return "<C wxBusyInfo instance at %s>" % (self.this,) | |
558 | class wxBusyInfo(wxBusyInfoPtr): | |
559 | def __init__(self,*_args,**_kwargs): | |
560 | self.this = apply(miscc.new_wxBusyInfo,_args,_kwargs) | |
561 | self.thisown = 1 | |
562 | ||
563 | ||
564 | ||
565 | ||
70551f47 RD |
566 | |
567 | ||
568 | #-------------- FUNCTION WRAPPERS ------------------ | |
569 | ||
56f5d962 RD |
570 | wxIntersectRect = miscc.wxIntersectRect |
571 | ||
ab9bc19b RD |
572 | wxNewId = miscc.wxNewId |
573 | ||
574 | wxRegisterId = miscc.wxRegisterId | |
575 | ||
70551f47 RD |
576 | NewId = miscc.NewId |
577 | ||
578 | RegisterId = miscc.RegisterId | |
579 | ||
70551f47 RD |
580 | wxBell = miscc.wxBell |
581 | ||
582 | wxDisplaySize = miscc.wxDisplaySize | |
583 | ||
584 | wxEndBusyCursor = miscc.wxEndBusyCursor | |
585 | ||
586 | wxExecute = miscc.wxExecute | |
587 | ||
bc29c5e0 RD |
588 | wxGetElapsedTime = miscc.wxGetElapsedTime |
589 | ||
70551f47 RD |
590 | wxGetMousePosition = miscc.wxGetMousePosition |
591 | ||
592 | wxIsBusy = miscc.wxIsBusy | |
593 | ||
594 | wxNow = miscc.wxNow | |
595 | ||
bc29c5e0 RD |
596 | wxShell = miscc.wxShell |
597 | ||
598 | wxStartTimer = miscc.wxStartTimer | |
599 | ||
600 | wxGetOsVersion = miscc.wxGetOsVersion | |
601 | ||
d24a34bb RD |
602 | wxSleep = miscc.wxSleep |
603 | ||
70551f47 RD |
604 | wxYield = miscc.wxYield |
605 | ||
ab9bc19b RD |
606 | wxSafeYield = miscc.wxSafeYield |
607 | ||
d24a34bb RD |
608 | wxEnableTopLevelWindows = miscc.wxEnableTopLevelWindows |
609 | ||
70551f47 RD |
610 | wxGetResource = miscc.wxGetResource |
611 | ||
d29aba2f RD |
612 | wxStripMenuCodes = miscc.wxStripMenuCodes |
613 | ||
70551f47 RD |
614 | |
615 | ||
616 | #-------------- VARIABLE WRAPPERS ------------------ | |
617 | ||
618 | wxLeft = miscc.wxLeft | |
619 | wxTop = miscc.wxTop | |
620 | wxRight = miscc.wxRight | |
621 | wxBottom = miscc.wxBottom | |
622 | wxWidth = miscc.wxWidth | |
623 | wxHeight = miscc.wxHeight | |
624 | wxCentre = miscc.wxCentre | |
625 | wxCenter = miscc.wxCenter | |
626 | wxCentreX = miscc.wxCentreX | |
627 | wxCentreY = miscc.wxCentreY | |
628 | wxUnconstrained = miscc.wxUnconstrained | |
629 | wxAsIs = miscc.wxAsIs | |
630 | wxPercentOf = miscc.wxPercentOf | |
631 | wxAbove = miscc.wxAbove | |
632 | wxBelow = miscc.wxBelow | |
633 | wxLeftOf = miscc.wxLeftOf | |
634 | wxRightOf = miscc.wxRightOf | |
635 | wxSameAs = miscc.wxSameAs | |
636 | wxAbsolute = miscc.wxAbsolute | |
105e45b9 RD |
637 | wxOutRegion = miscc.wxOutRegion |
638 | wxPartRegion = miscc.wxPartRegion | |
639 | wxInRegion = miscc.wxInRegion |