1 # This file was created automatically by SWIG.
4 def __init__(self
,this
):
7 def __del__(self
,miscc
=miscc
):
9 miscc
.delete_wxSize(self
)
10 def Set(self
, *_args
, **_kwargs
):
11 val
= apply(miscc
.wxSize_Set
,(self
,) + _args
, _kwargs
)
13 def GetX(self
, *_args
, **_kwargs
):
14 val
= apply(miscc
.wxSize_GetX
,(self
,) + _args
, _kwargs
)
16 def GetY(self
, *_args
, **_kwargs
):
17 val
= apply(miscc
.wxSize_GetY
,(self
,) + _args
, _kwargs
)
19 def GetWidth(self
, *_args
, **_kwargs
):
20 val
= apply(miscc
.wxSize_GetWidth
,(self
,) + _args
, _kwargs
)
22 def GetHeight(self
, *_args
, **_kwargs
):
23 val
= apply(miscc
.wxSize_GetHeight
,(self
,) + _args
, _kwargs
)
25 def SetWidth(self
, *_args
, **_kwargs
):
26 val
= apply(miscc
.wxSize_SetWidth
,(self
,) + _args
, _kwargs
)
28 def SetHeight(self
, *_args
, **_kwargs
):
29 val
= apply(miscc
.wxSize_SetHeight
,(self
,) + _args
, _kwargs
)
31 def asTuple(self
, *_args
, **_kwargs
):
32 val
= apply(miscc
.wxSize_asTuple
,(self
,) + _args
, _kwargs
)
34 def __setattr__(self
,name
,value
):
36 miscc
.wxSize_x_set(self
,value
)
39 miscc
.wxSize_y_set(self
,value
)
42 miscc
.wxSize_width_set(self
,value
)
45 miscc
.wxSize_height_set(self
,value
)
47 self
.__dict
__[name
] = value
48 def __getattr__(self
,name
):
50 return miscc
.wxSize_x_get(self
)
52 return miscc
.wxSize_y_get(self
)
54 return miscc
.wxSize_width_get(self
)
56 return miscc
.wxSize_height_get(self
)
57 raise AttributeError,name
59 return "<C wxSize instance at %s>" % (self
.this
,)
61 def __str__(self
): return str(self
.asTuple())
62 def __repr__(self
): return str(self
.asTuple())
63 def __len__(self
): return len(self
.asTuple())
64 def __getitem__(self
, index
): return self
.asTuple()[index
]
65 def __setitem__(self
, index
, val
):
66 if index
== 0: self
.width
= val
67 elif index
== 1: self
.height
= val
68 else: raise IndexError
70 class wxSize(wxSizePtr
):
71 def __init__(self
,*_args
,**_kwargs
):
72 self
.this
= apply(miscc
.new_wxSize
,_args
,_kwargs
)
78 class wxRealPointPtr
:
79 def __init__(self
,this
):
82 def __del__(self
,miscc
=miscc
):
83 if self
.thisown
== 1 :
84 miscc
.delete_wxRealPoint(self
)
85 def Set(self
, *_args
, **_kwargs
):
86 val
= apply(miscc
.wxRealPoint_Set
,(self
,) + _args
, _kwargs
)
88 def asTuple(self
, *_args
, **_kwargs
):
89 val
= apply(miscc
.wxRealPoint_asTuple
,(self
,) + _args
, _kwargs
)
91 def __add__(self
, *_args
, **_kwargs
):
92 val
= apply(miscc
.wxRealPoint___add__
,(self
,) + _args
, _kwargs
)
93 if val
: val
= wxRealPointPtr(val
) ; val
.thisown
= 1
95 def __sub__(self
, *_args
, **_kwargs
):
96 val
= apply(miscc
.wxRealPoint___sub__
,(self
,) + _args
, _kwargs
)
97 if val
: val
= wxRealPointPtr(val
) ; val
.thisown
= 1
99 def __cmp__(self
, *_args
, **_kwargs
):
100 val
= apply(miscc
.wxRealPoint___cmp__
,(self
,) + _args
, _kwargs
)
102 def __setattr__(self
,name
,value
):
104 miscc
.wxRealPoint_x_set(self
,value
)
107 miscc
.wxRealPoint_y_set(self
,value
)
109 self
.__dict
__[name
] = value
110 def __getattr__(self
,name
):
112 return miscc
.wxRealPoint_x_get(self
)
114 return miscc
.wxRealPoint_y_get(self
)
115 raise AttributeError,name
117 return "<C wxRealPoint instance at %s>" % (self
.this
,)
119 def __str__(self
): return str(self
.asTuple())
120 def __repr__(self
): return str(self
.asTuple())
121 def __len__(self
): return len(self
.asTuple())
122 def __getitem__(self
, index
): return self
.asTuple()[index
]
123 def __setitem__(self
, index
, val
):
124 if index
== 0: self
.width
= val
125 elif index
== 1: self
.height
= val
126 else: raise IndexError
128 class wxRealPoint(wxRealPointPtr
):
129 def __init__(self
,*_args
,**_kwargs
):
130 self
.this
= apply(miscc
.new_wxRealPoint
,_args
,_kwargs
)
137 def __init__(self
,this
):
140 def __del__(self
,miscc
=miscc
):
141 if self
.thisown
== 1 :
142 miscc
.delete_wxPoint(self
)
143 def Set(self
, *_args
, **_kwargs
):
144 val
= apply(miscc
.wxPoint_Set
,(self
,) + _args
, _kwargs
)
146 def asTuple(self
, *_args
, **_kwargs
):
147 val
= apply(miscc
.wxPoint_asTuple
,(self
,) + _args
, _kwargs
)
149 def __add__(self
, *_args
, **_kwargs
):
150 val
= apply(miscc
.wxPoint___add__
,(self
,) + _args
, _kwargs
)
151 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
153 def __sub__(self
, *_args
, **_kwargs
):
154 val
= apply(miscc
.wxPoint___sub__
,(self
,) + _args
, _kwargs
)
155 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
157 def __cmp__(self
, *_args
, **_kwargs
):
158 val
= apply(miscc
.wxPoint___cmp__
,(self
,) + _args
, _kwargs
)
160 def __setattr__(self
,name
,value
):
162 miscc
.wxPoint_x_set(self
,value
)
165 miscc
.wxPoint_y_set(self
,value
)
167 self
.__dict
__[name
] = value
168 def __getattr__(self
,name
):
170 return miscc
.wxPoint_x_get(self
)
172 return miscc
.wxPoint_y_get(self
)
173 raise AttributeError,name
175 return "<C wxPoint instance at %s>" % (self
.this
,)
177 def __str__(self
): return str(self
.asTuple())
178 def __repr__(self
): return str(self
.asTuple())
179 def __len__(self
): return len(self
.asTuple())
180 def __getitem__(self
, index
): return self
.asTuple()[index
]
181 def __setitem__(self
, index
, val
):
182 if index
== 0: self
.x
= val
183 elif index
== 1: self
.y
= val
184 else: raise IndexError
186 class wxPoint(wxPointPtr
):
187 def __init__(self
,*_args
,**_kwargs
):
188 self
.this
= apply(miscc
.new_wxPoint
,_args
,_kwargs
)
195 def __init__(self
,this
):
198 def __del__(self
,miscc
=miscc
):
199 if self
.thisown
== 1 :
200 miscc
.delete_wxRect(self
)
201 def GetX(self
, *_args
, **_kwargs
):
202 val
= apply(miscc
.wxRect_GetX
,(self
,) + _args
, _kwargs
)
204 def SetX(self
, *_args
, **_kwargs
):
205 val
= apply(miscc
.wxRect_SetX
,(self
,) + _args
, _kwargs
)
207 def GetY(self
, *_args
, **_kwargs
):
208 val
= apply(miscc
.wxRect_GetY
,(self
,) + _args
, _kwargs
)
210 def SetY(self
, *_args
, **_kwargs
):
211 val
= apply(miscc
.wxRect_SetY
,(self
,) + _args
, _kwargs
)
213 def GetWidth(self
, *_args
, **_kwargs
):
214 val
= apply(miscc
.wxRect_GetWidth
,(self
,) + _args
, _kwargs
)
216 def SetWidth(self
, *_args
, **_kwargs
):
217 val
= apply(miscc
.wxRect_SetWidth
,(self
,) + _args
, _kwargs
)
219 def GetHeight(self
, *_args
, **_kwargs
):
220 val
= apply(miscc
.wxRect_GetHeight
,(self
,) + _args
, _kwargs
)
222 def SetHeight(self
, *_args
, **_kwargs
):
223 val
= apply(miscc
.wxRect_SetHeight
,(self
,) + _args
, _kwargs
)
225 def GetPosition(self
, *_args
, **_kwargs
):
226 val
= apply(miscc
.wxRect_GetPosition
,(self
,) + _args
, _kwargs
)
227 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
229 def GetSize(self
, *_args
, **_kwargs
):
230 val
= apply(miscc
.wxRect_GetSize
,(self
,) + _args
, _kwargs
)
231 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
233 def GetLeft(self
, *_args
, **_kwargs
):
234 val
= apply(miscc
.wxRect_GetLeft
,(self
,) + _args
, _kwargs
)
236 def GetTop(self
, *_args
, **_kwargs
):
237 val
= apply(miscc
.wxRect_GetTop
,(self
,) + _args
, _kwargs
)
239 def GetBottom(self
, *_args
, **_kwargs
):
240 val
= apply(miscc
.wxRect_GetBottom
,(self
,) + _args
, _kwargs
)
242 def GetRight(self
, *_args
, **_kwargs
):
243 val
= apply(miscc
.wxRect_GetRight
,(self
,) + _args
, _kwargs
)
245 def SetLeft(self
, *_args
, **_kwargs
):
246 val
= apply(miscc
.wxRect_SetLeft
,(self
,) + _args
, _kwargs
)
248 def SetRight(self
, *_args
, **_kwargs
):
249 val
= apply(miscc
.wxRect_SetRight
,(self
,) + _args
, _kwargs
)
251 def SetTop(self
, *_args
, **_kwargs
):
252 val
= apply(miscc
.wxRect_SetTop
,(self
,) + _args
, _kwargs
)
254 def SetBottom(self
, *_args
, **_kwargs
):
255 val
= apply(miscc
.wxRect_SetBottom
,(self
,) + _args
, _kwargs
)
257 def Inflate(self
, *_args
, **_kwargs
):
258 val
= apply(miscc
.wxRect_Inflate
,(self
,) + _args
, _kwargs
)
260 def Inside(self
, *_args
, **_kwargs
):
261 val
= apply(miscc
.wxRect_Inside
,(self
,) + _args
, _kwargs
)
263 def asTuple(self
, *_args
, **_kwargs
):
264 val
= apply(miscc
.wxRect_asTuple
,(self
,) + _args
, _kwargs
)
266 def __add__(self
, *_args
, **_kwargs
):
267 val
= apply(miscc
.wxRect___add__
,(self
,) + _args
, _kwargs
)
268 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
270 def __cmp__(self
, *_args
, **_kwargs
):
271 val
= apply(miscc
.wxRect___cmp__
,(self
,) + _args
, _kwargs
)
273 def __setattr__(self
,name
,value
):
275 miscc
.wxRect_x_set(self
,value
)
278 miscc
.wxRect_y_set(self
,value
)
281 miscc
.wxRect_width_set(self
,value
)
283 if name
== "height" :
284 miscc
.wxRect_height_set(self
,value
)
286 self
.__dict
__[name
] = value
287 def __getattr__(self
,name
):
289 return miscc
.wxRect_x_get(self
)
291 return miscc
.wxRect_y_get(self
)
293 return miscc
.wxRect_width_get(self
)
294 if name
== "height" :
295 return miscc
.wxRect_height_get(self
)
296 raise AttributeError,name
298 return "<C wxRect instance at %s>" % (self
.this
,)
300 def __str__(self
): return str(self
.asTuple())
301 def __repr__(self
): return str(self
.asTuple())
302 def __len__(self
): return len(self
.asTuple())
303 def __getitem__(self
, index
): return self
.asTuple()[index
]
304 def __setitem__(self
, index
, val
):
305 if index
== 0: self
.x
= val
306 elif index
== 1: self
.y
= val
307 elif index
== 2: self
.width
= val
308 elif index
== 3: self
.height
= val
309 else: raise IndexError
311 # override the __getattr__ made by SWIG
312 def __getattr__(self
, name
):
314 'x' : miscc
.wxRect_x_get
,
315 'y' : miscc
.wxRect_y_get
,
316 'width' : miscc
.wxRect_width_get
,
317 'height' : miscc
.wxRect_height_get
,
318 'top' : miscc
.wxRect_GetTop
,
319 'bottom' : miscc
.wxRect_GetBottom
,
320 'left' : miscc
.wxRect_GetLeft
,
321 'right' : miscc
.wxRect_GetRight
,
326 raise AttributeError,name
329 # and also the __setattr__
330 def __setattr__(self
, name
, value
):
332 'x' : miscc
.wxRect_x_set
,
333 'y' : miscc
.wxRect_y_set
,
334 'width' : miscc
.wxRect_width_set
,
335 'height' : miscc
.wxRect_height_set
,
336 'top' : miscc
.wxRect_SetTop
,
337 'bottom' : miscc
.wxRect_SetBottom
,
338 'left' : miscc
.wxRect_SetLeft
,
339 'right' : miscc
.wxRect_SetRight
,
344 self
.__dict
__[name
] = value
348 class wxRect(wxRectPtr
):
349 def __init__(self
,*_args
,**_kwargs
):
350 self
.this
= apply(miscc
.new_wxRect
,_args
,_kwargs
)
356 class wxIndividualLayoutConstraintPtr
:
357 def __init__(self
,this
):
360 def Above(self
, *_args
, **_kwargs
):
361 val
= apply(miscc
.wxIndividualLayoutConstraint_Above
,(self
,) + _args
, _kwargs
)
363 def Absolute(self
, *_args
, **_kwargs
):
364 val
= apply(miscc
.wxIndividualLayoutConstraint_Absolute
,(self
,) + _args
, _kwargs
)
366 def AsIs(self
, *_args
, **_kwargs
):
367 val
= apply(miscc
.wxIndividualLayoutConstraint_AsIs
,(self
,) + _args
, _kwargs
)
369 def Below(self
, *_args
, **_kwargs
):
370 val
= apply(miscc
.wxIndividualLayoutConstraint_Below
,(self
,) + _args
, _kwargs
)
372 def Unconstrained(self
, *_args
, **_kwargs
):
373 val
= apply(miscc
.wxIndividualLayoutConstraint_Unconstrained
,(self
,) + _args
, _kwargs
)
375 def LeftOf(self
, *_args
, **_kwargs
):
376 val
= apply(miscc
.wxIndividualLayoutConstraint_LeftOf
,(self
,) + _args
, _kwargs
)
378 def PercentOf(self
, *_args
, **_kwargs
):
379 val
= apply(miscc
.wxIndividualLayoutConstraint_PercentOf
,(self
,) + _args
, _kwargs
)
381 def RightOf(self
, *_args
, **_kwargs
):
382 val
= apply(miscc
.wxIndividualLayoutConstraint_RightOf
,(self
,) + _args
, _kwargs
)
384 def SameAs(self
, *_args
, **_kwargs
):
385 val
= apply(miscc
.wxIndividualLayoutConstraint_SameAs
,(self
,) + _args
, _kwargs
)
387 def Set(self
, *_args
, **_kwargs
):
388 val
= apply(miscc
.wxIndividualLayoutConstraint_Set
,(self
,) + _args
, _kwargs
)
391 return "<C wxIndividualLayoutConstraint instance at %s>" % (self
.this
,)
392 class wxIndividualLayoutConstraint(wxIndividualLayoutConstraintPtr
):
393 def __init__(self
,this
):
399 class wxLayoutConstraintsPtr
:
400 def __init__(self
,this
):
403 def __setattr__(self
,name
,value
):
404 if name
== "bottom" :
405 miscc
.wxLayoutConstraints_bottom_set(self
,value
.this
)
407 if name
== "centreX" :
408 miscc
.wxLayoutConstraints_centreX_set(self
,value
.this
)
410 if name
== "centreY" :
411 miscc
.wxLayoutConstraints_centreY_set(self
,value
.this
)
413 if name
== "height" :
414 miscc
.wxLayoutConstraints_height_set(self
,value
.this
)
417 miscc
.wxLayoutConstraints_left_set(self
,value
.this
)
420 miscc
.wxLayoutConstraints_right_set(self
,value
.this
)
423 miscc
.wxLayoutConstraints_top_set(self
,value
.this
)
426 miscc
.wxLayoutConstraints_width_set(self
,value
.this
)
428 self
.__dict
__[name
] = value
429 def __getattr__(self
,name
):
430 if name
== "bottom" :
431 return wxIndividualLayoutConstraintPtr(miscc
.wxLayoutConstraints_bottom_get(self
))
432 if name
== "centreX" :
433 return wxIndividualLayoutConstraintPtr(miscc
.wxLayoutConstraints_centreX_get(self
))
434 if name
== "centreY" :
435 return wxIndividualLayoutConstraintPtr(miscc
.wxLayoutConstraints_centreY_get(self
))
436 if name
== "height" :
437 return wxIndividualLayoutConstraintPtr(miscc
.wxLayoutConstraints_height_get(self
))
439 return wxIndividualLayoutConstraintPtr(miscc
.wxLayoutConstraints_left_get(self
))
441 return wxIndividualLayoutConstraintPtr(miscc
.wxLayoutConstraints_right_get(self
))
443 return wxIndividualLayoutConstraintPtr(miscc
.wxLayoutConstraints_top_get(self
))
445 return wxIndividualLayoutConstraintPtr(miscc
.wxLayoutConstraints_width_get(self
))
446 raise AttributeError,name
448 return "<C wxLayoutConstraints instance at %s>" % (self
.this
,)
449 class wxLayoutConstraints(wxLayoutConstraintsPtr
):
450 def __init__(self
,*_args
,**_kwargs
):
451 self
.this
= apply(miscc
.new_wxLayoutConstraints
,_args
,_kwargs
)
458 def __init__(self
,this
):
461 def __del__(self
,miscc
=miscc
):
462 if self
.thisown
== 1 :
463 miscc
.delete_wxRegion(self
)
464 def Clear(self
, *_args
, **_kwargs
):
465 val
= apply(miscc
.wxRegion_Clear
,(self
,) + _args
, _kwargs
)
467 def Contains(self
, *_args
, **_kwargs
):
468 val
= apply(miscc
.wxRegion_Contains
,(self
,) + _args
, _kwargs
)
470 def ContainsPoint(self
, *_args
, **_kwargs
):
471 val
= apply(miscc
.wxRegion_ContainsPoint
,(self
,) + _args
, _kwargs
)
473 def ContainsRect(self
, *_args
, **_kwargs
):
474 val
= apply(miscc
.wxRegion_ContainsRect
,(self
,) + _args
, _kwargs
)
476 def ContainsRectDim(self
, *_args
, **_kwargs
):
477 val
= apply(miscc
.wxRegion_ContainsRectDim
,(self
,) + _args
, _kwargs
)
479 def GetBox(self
, *_args
, **_kwargs
):
480 val
= apply(miscc
.wxRegion_GetBox
,(self
,) + _args
, _kwargs
)
481 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
483 def Intersect(self
, *_args
, **_kwargs
):
484 val
= apply(miscc
.wxRegion_Intersect
,(self
,) + _args
, _kwargs
)
486 def IntersectRect(self
, *_args
, **_kwargs
):
487 val
= apply(miscc
.wxRegion_IntersectRect
,(self
,) + _args
, _kwargs
)
489 def IntersectRegion(self
, *_args
, **_kwargs
):
490 val
= apply(miscc
.wxRegion_IntersectRegion
,(self
,) + _args
, _kwargs
)
492 def IsEmpty(self
, *_args
, **_kwargs
):
493 val
= apply(miscc
.wxRegion_IsEmpty
,(self
,) + _args
, _kwargs
)
495 def Union(self
, *_args
, **_kwargs
):
496 val
= apply(miscc
.wxRegion_Union
,(self
,) + _args
, _kwargs
)
498 def UnionRect(self
, *_args
, **_kwargs
):
499 val
= apply(miscc
.wxRegion_UnionRect
,(self
,) + _args
, _kwargs
)
501 def UnionRegion(self
, *_args
, **_kwargs
):
502 val
= apply(miscc
.wxRegion_UnionRegion
,(self
,) + _args
, _kwargs
)
504 def Subtract(self
, *_args
, **_kwargs
):
505 val
= apply(miscc
.wxRegion_Subtract
,(self
,) + _args
, _kwargs
)
507 def SubtractRect(self
, *_args
, **_kwargs
):
508 val
= apply(miscc
.wxRegion_SubtractRect
,(self
,) + _args
, _kwargs
)
510 def SubtractRegion(self
, *_args
, **_kwargs
):
511 val
= apply(miscc
.wxRegion_SubtractRegion
,(self
,) + _args
, _kwargs
)
513 def Xor(self
, *_args
, **_kwargs
):
514 val
= apply(miscc
.wxRegion_Xor
,(self
,) + _args
, _kwargs
)
516 def XorRect(self
, *_args
, **_kwargs
):
517 val
= apply(miscc
.wxRegion_XorRect
,(self
,) + _args
, _kwargs
)
519 def XorRegion(self
, *_args
, **_kwargs
):
520 val
= apply(miscc
.wxRegion_XorRegion
,(self
,) + _args
, _kwargs
)
523 return "<C wxRegion instance at %s>" % (self
.this
,)
524 class wxRegion(wxRegionPtr
):
525 def __init__(self
,*_args
,**_kwargs
):
526 self
.this
= apply(miscc
.new_wxRegion
,_args
,_kwargs
)
532 class wxRegionIteratorPtr
:
533 def __init__(self
,this
):
536 def __del__(self
,miscc
=miscc
):
537 if self
.thisown
== 1 :
538 miscc
.delete_wxRegionIterator(self
)
539 def GetX(self
, *_args
, **_kwargs
):
540 val
= apply(miscc
.wxRegionIterator_GetX
,(self
,) + _args
, _kwargs
)
542 def GetY(self
, *_args
, **_kwargs
):
543 val
= apply(miscc
.wxRegionIterator_GetY
,(self
,) + _args
, _kwargs
)
545 def GetW(self
, *_args
, **_kwargs
):
546 val
= apply(miscc
.wxRegionIterator_GetW
,(self
,) + _args
, _kwargs
)
548 def GetWidth(self
, *_args
, **_kwargs
):
549 val
= apply(miscc
.wxRegionIterator_GetWidth
,(self
,) + _args
, _kwargs
)
551 def GetH(self
, *_args
, **_kwargs
):
552 val
= apply(miscc
.wxRegionIterator_GetH
,(self
,) + _args
, _kwargs
)
554 def GetHeight(self
, *_args
, **_kwargs
):
555 val
= apply(miscc
.wxRegionIterator_GetHeight
,(self
,) + _args
, _kwargs
)
557 def GetRect(self
, *_args
, **_kwargs
):
558 val
= apply(miscc
.wxRegionIterator_GetRect
,(self
,) + _args
, _kwargs
)
559 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
561 def HaveRects(self
, *_args
, **_kwargs
):
562 val
= apply(miscc
.wxRegionIterator_HaveRects
,(self
,) + _args
, _kwargs
)
564 def Reset(self
, *_args
, **_kwargs
):
565 val
= apply(miscc
.wxRegionIterator_Reset
,(self
,) + _args
, _kwargs
)
567 def Next(self
, *_args
, **_kwargs
):
568 val
= apply(miscc
.wxRegionIterator_Next
,(self
,) + _args
, _kwargs
)
571 return "<C wxRegionIterator instance at %s>" % (self
.this
,)
572 class wxRegionIterator(wxRegionIteratorPtr
):
573 def __init__(self
,*_args
,**_kwargs
):
574 self
.this
= apply(miscc
.new_wxRegionIterator
,_args
,_kwargs
)
580 class wxAcceleratorEntryPtr
:
581 def __init__(self
,this
):
584 def __del__(self
,miscc
=miscc
):
585 if self
.thisown
== 1 :
586 miscc
.delete_wxAcceleratorEntry(self
)
587 def Set(self
, *_args
, **_kwargs
):
588 val
= apply(miscc
.wxAcceleratorEntry_Set
,(self
,) + _args
, _kwargs
)
590 def GetFlags(self
, *_args
, **_kwargs
):
591 val
= apply(miscc
.wxAcceleratorEntry_GetFlags
,(self
,) + _args
, _kwargs
)
593 def GetKeyCode(self
, *_args
, **_kwargs
):
594 val
= apply(miscc
.wxAcceleratorEntry_GetKeyCode
,(self
,) + _args
, _kwargs
)
596 def GetCommand(self
, *_args
, **_kwargs
):
597 val
= apply(miscc
.wxAcceleratorEntry_GetCommand
,(self
,) + _args
, _kwargs
)
600 return "<C wxAcceleratorEntry instance at %s>" % (self
.this
,)
601 class wxAcceleratorEntry(wxAcceleratorEntryPtr
):
602 def __init__(self
,*_args
,**_kwargs
):
603 self
.this
= apply(miscc
.new_wxAcceleratorEntry
,_args
,_kwargs
)
609 class wxAcceleratorTablePtr
:
610 def __init__(self
,this
):
613 def __del__(self
,miscc
=miscc
):
614 if self
.thisown
== 1 :
615 miscc
.delete_wxAcceleratorTable(self
)
617 return "<C wxAcceleratorTable instance at %s>" % (self
.this
,)
618 class wxAcceleratorTable(wxAcceleratorTablePtr
):
619 def __init__(self
,*_args
,**_kwargs
):
620 self
.this
= apply(miscc
.new_wxAcceleratorTable
,_args
,_kwargs
)
626 class wxBusyInfoPtr
:
627 def __init__(self
,this
):
630 def __del__(self
,miscc
=miscc
):
631 if self
.thisown
== 1 :
632 miscc
.delete_wxBusyInfo(self
)
634 return "<C wxBusyInfo instance at %s>" % (self
.this
,)
635 class wxBusyInfo(wxBusyInfoPtr
):
636 def __init__(self
,*_args
,**_kwargs
):
637 self
.this
= apply(miscc
.new_wxBusyInfo
,_args
,_kwargs
)
645 #-------------- FUNCTION WRAPPERS ------------------
647 wxIntersectRect
= miscc
.wxIntersectRect
649 wxNewId
= miscc
.wxNewId
651 wxRegisterId
= miscc
.wxRegisterId
655 RegisterId
= miscc
.RegisterId
657 wxBell
= miscc
.wxBell
659 wxDisplaySize
= miscc
.wxDisplaySize
661 wxEndBusyCursor
= miscc
.wxEndBusyCursor
663 wxGetElapsedTime
= miscc
.wxGetElapsedTime
665 wxGetMousePosition
= miscc
.wxGetMousePosition
667 wxIsBusy
= miscc
.wxIsBusy
671 wxShell
= miscc
.wxShell
673 wxStartTimer
= miscc
.wxStartTimer
675 wxGetOsVersion
= miscc
.wxGetOsVersion
677 wxGetOsDescription
= miscc
.wxGetOsDescription
679 wxSleep
= miscc
.wxSleep
681 wxUsleep
= miscc
.wxUsleep
683 wxYield
= miscc
.wxYield
685 wxEnableTopLevelWindows
= miscc
.wxEnableTopLevelWindows
687 wxGetResource
= miscc
.wxGetResource
689 wxStripMenuCodes
= miscc
.wxStripMenuCodes
691 wxGetEmailAddress
= miscc
.wxGetEmailAddress
693 wxGetHostName
= miscc
.wxGetHostName
695 wxGetFullHostName
= miscc
.wxGetFullHostName
697 wxGetUserId
= miscc
.wxGetUserId
699 wxGetUserName
= miscc
.wxGetUserName
701 wxGetHomeDir
= miscc
.wxGetHomeDir
703 def wxGetAccelFromString(*_args
, **_kwargs
):
704 val
= apply(miscc
.wxGetAccelFromString
,_args
,_kwargs
)
705 if val
: val
= wxAcceleratorEntryPtr(val
)
710 #-------------- VARIABLE WRAPPERS ------------------
712 wxLeft
= miscc
.wxLeft
714 wxRight
= miscc
.wxRight
715 wxBottom
= miscc
.wxBottom
716 wxWidth
= miscc
.wxWidth
717 wxHeight
= miscc
.wxHeight
718 wxCentre
= miscc
.wxCentre
719 wxCenter
= miscc
.wxCenter
720 wxCentreX
= miscc
.wxCentreX
721 wxCentreY
= miscc
.wxCentreY
722 wxUnconstrained
= miscc
.wxUnconstrained
723 wxAsIs
= miscc
.wxAsIs
724 wxPercentOf
= miscc
.wxPercentOf
725 wxAbove
= miscc
.wxAbove
726 wxBelow
= miscc
.wxBelow
727 wxLeftOf
= miscc
.wxLeftOf
728 wxRightOf
= miscc
.wxRightOf
729 wxSameAs
= miscc
.wxSameAs
730 wxAbsolute
= miscc
.wxAbsolute
731 wxOutRegion
= miscc
.wxOutRegion
732 wxPartRegion
= miscc
.wxPartRegion
733 wxInRegion
= miscc
.wxInRegion
735 wxNullAcceleratorTable
= wxAcceleratorTablePtr(miscc
.cvar
.wxNullAcceleratorTable
)