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