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