]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/gtk/misc.py
Moved wxPy_ConvertList function from oglhelpers to helpers
[wxWidgets.git] / utils / wxPython / src / gtk / misc.py
CommitLineData
70551f47
RD
1# This file was created automatically by SWIG.
2import miscc
3class 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 62class 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
70class 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 101class 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
109class 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 140class 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
148class 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
2d091820
RD
199 def asTuple(self, *_args, **_kwargs):
200 val = apply(miscc.wxRect_asTuple,(self,) + _args, _kwargs)
21f8d7ea 201 return val
70551f47
RD
202 def __setattr__(self,name,value):
203 if name == "x" :
2d091820 204 miscc.wxRect_x_set(self,value)
70551f47
RD
205 return
206 if name == "y" :
2d091820 207 miscc.wxRect_y_set(self,value)
70551f47
RD
208 return
209 if name == "width" :
2d091820 210 miscc.wxRect_width_set(self,value)
70551f47
RD
211 return
212 if name == "height" :
2d091820 213 miscc.wxRect_height_set(self,value)
70551f47
RD
214 return
215 self.__dict__[name] = value
216 def __getattr__(self,name):
217 if name == "x" :
2d091820 218 return miscc.wxRect_x_get(self)
70551f47 219 if name == "y" :
2d091820 220 return miscc.wxRect_y_get(self)
70551f47 221 if name == "width" :
2d091820 222 return miscc.wxRect_width_get(self)
70551f47 223 if name == "height" :
2d091820 224 return miscc.wxRect_height_get(self)
70551f47
RD
225 raise AttributeError,name
226 def __repr__(self):
2d091820 227 return "<C wxRect instance at %s>" % (self.this,)
21f8d7ea
RD
228 def __str__(self): return str(self.asTuple())
229 def __repr__(self): return str(self.asTuple())
70551f47 230class wxRect(wxRectPtr):
2d091820
RD
231 def __init__(self,*_args,**_kwargs):
232 self.this = apply(miscc.new_wxRect,_args,_kwargs)
70551f47
RD
233 self.thisown = 1
234
235
236
237
238class wxPyTimerPtr :
239 def __init__(self,this):
240 self.this = this
241 self.thisown = 0
2d091820 242 def __del__(self,miscc=miscc):
70551f47 243 if self.thisown == 1 :
2d091820
RD
244 miscc.delete_wxPyTimer(self)
245 def Interval(self, *_args, **_kwargs):
246 val = apply(miscc.wxPyTimer_Interval,(self,) + _args, _kwargs)
70551f47 247 return val
2d091820
RD
248 def Start(self, *_args, **_kwargs):
249 val = apply(miscc.wxPyTimer_Start,(self,) + _args, _kwargs)
70551f47 250 return val
2d091820
RD
251 def Stop(self, *_args, **_kwargs):
252 val = apply(miscc.wxPyTimer_Stop,(self,) + _args, _kwargs)
70551f47
RD
253 return val
254 def __repr__(self):
2d091820 255 return "<C wxPyTimer instance at %s>" % (self.this,)
70551f47 256class wxPyTimer(wxPyTimerPtr):
2d091820
RD
257 def __init__(self,*_args,**_kwargs):
258 self.this = apply(miscc.new_wxPyTimer,_args,_kwargs)
70551f47
RD
259 self.thisown = 1
260
261
262
263
264class wxIndividualLayoutConstraintPtr :
265 def __init__(self,this):
266 self.this = this
267 self.thisown = 0
2d091820
RD
268 def Above(self, *_args, **_kwargs):
269 val = apply(miscc.wxIndividualLayoutConstraint_Above,(self,) + _args, _kwargs)
70551f47 270 return val
2d091820
RD
271 def Absolute(self, *_args, **_kwargs):
272 val = apply(miscc.wxIndividualLayoutConstraint_Absolute,(self,) + _args, _kwargs)
70551f47 273 return val
2d091820
RD
274 def AsIs(self, *_args, **_kwargs):
275 val = apply(miscc.wxIndividualLayoutConstraint_AsIs,(self,) + _args, _kwargs)
70551f47 276 return val
2d091820
RD
277 def Below(self, *_args, **_kwargs):
278 val = apply(miscc.wxIndividualLayoutConstraint_Below,(self,) + _args, _kwargs)
70551f47 279 return val
2d091820
RD
280 def Unconstrained(self, *_args, **_kwargs):
281 val = apply(miscc.wxIndividualLayoutConstraint_Unconstrained,(self,) + _args, _kwargs)
70551f47 282 return val
2d091820
RD
283 def LeftOf(self, *_args, **_kwargs):
284 val = apply(miscc.wxIndividualLayoutConstraint_LeftOf,(self,) + _args, _kwargs)
70551f47 285 return val
2d091820
RD
286 def PercentOf(self, *_args, **_kwargs):
287 val = apply(miscc.wxIndividualLayoutConstraint_PercentOf,(self,) + _args, _kwargs)
70551f47 288 return val
2d091820
RD
289 def RightOf(self, *_args, **_kwargs):
290 val = apply(miscc.wxIndividualLayoutConstraint_RightOf,(self,) + _args, _kwargs)
70551f47 291 return val
2d091820
RD
292 def SameAs(self, *_args, **_kwargs):
293 val = apply(miscc.wxIndividualLayoutConstraint_SameAs,(self,) + _args, _kwargs)
70551f47 294 return val
2d091820
RD
295 def Set(self, *_args, **_kwargs):
296 val = apply(miscc.wxIndividualLayoutConstraint_Set,(self,) + _args, _kwargs)
70551f47
RD
297 return val
298 def __repr__(self):
2d091820 299 return "<C wxIndividualLayoutConstraint instance at %s>" % (self.this,)
70551f47
RD
300class wxIndividualLayoutConstraint(wxIndividualLayoutConstraintPtr):
301 def __init__(self,this):
302 self.this = this
303
304
305
306
307class wxLayoutConstraintsPtr :
308 def __init__(self,this):
309 self.this = this
310 self.thisown = 0
311 def __setattr__(self,name,value):
312 if name == "bottom" :
2d091820 313 miscc.wxLayoutConstraints_bottom_set(self,value.this)
70551f47
RD
314 return
315 if name == "centreX" :
2d091820 316 miscc.wxLayoutConstraints_centreX_set(self,value.this)
70551f47
RD
317 return
318 if name == "centreY" :
2d091820 319 miscc.wxLayoutConstraints_centreY_set(self,value.this)
70551f47
RD
320 return
321 if name == "height" :
2d091820 322 miscc.wxLayoutConstraints_height_set(self,value.this)
70551f47
RD
323 return
324 if name == "left" :
2d091820 325 miscc.wxLayoutConstraints_left_set(self,value.this)
70551f47
RD
326 return
327 if name == "right" :
2d091820 328 miscc.wxLayoutConstraints_right_set(self,value.this)
70551f47
RD
329 return
330 if name == "top" :
2d091820 331 miscc.wxLayoutConstraints_top_set(self,value.this)
70551f47
RD
332 return
333 if name == "width" :
2d091820 334 miscc.wxLayoutConstraints_width_set(self,value.this)
70551f47
RD
335 return
336 self.__dict__[name] = value
337 def __getattr__(self,name):
338 if name == "bottom" :
2d091820 339 return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_bottom_get(self))
70551f47 340 if name == "centreX" :
2d091820 341 return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_centreX_get(self))
70551f47 342 if name == "centreY" :
2d091820 343 return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_centreY_get(self))
70551f47 344 if name == "height" :
2d091820 345 return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_height_get(self))
70551f47 346 if name == "left" :
2d091820 347 return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_left_get(self))
70551f47 348 if name == "right" :
2d091820 349 return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_right_get(self))
70551f47 350 if name == "top" :
2d091820 351 return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_top_get(self))
70551f47 352 if name == "width" :
2d091820 353 return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_width_get(self))
70551f47
RD
354 raise AttributeError,name
355 def __repr__(self):
2d091820 356 return "<C wxLayoutConstraints instance at %s>" % (self.this,)
70551f47 357class wxLayoutConstraints(wxLayoutConstraintsPtr):
2d091820
RD
358 def __init__(self,*_args,**_kwargs):
359 self.this = apply(miscc.new_wxLayoutConstraints,_args,_kwargs)
70551f47
RD
360 self.thisown = 1
361
362
363
364
105e45b9
RD
365class wxRegionPtr :
366 def __init__(self,this):
367 self.this = this
368 self.thisown = 0
2d091820 369 def __del__(self,miscc=miscc):
105e45b9 370 if self.thisown == 1 :
2d091820
RD
371 miscc.delete_wxRegion(self)
372 def Clear(self, *_args, **_kwargs):
373 val = apply(miscc.wxRegion_Clear,(self,) + _args, _kwargs)
105e45b9 374 return val
2d091820
RD
375 def Contains(self, *_args, **_kwargs):
376 val = apply(miscc.wxRegion_Contains,(self,) + _args, _kwargs)
105e45b9 377 return val
2d091820
RD
378 def ContainsPoint(self, *_args, **_kwargs):
379 val = apply(miscc.wxRegion_ContainsPoint,(self,) + _args, _kwargs)
105e45b9 380 return val
2d091820
RD
381 def ContainsRect(self, *_args, **_kwargs):
382 val = apply(miscc.wxRegion_ContainsRect,(self,) + _args, _kwargs)
105e45b9 383 return val
2d091820
RD
384 def GetBox(self, *_args, **_kwargs):
385 val = apply(miscc.wxRegion_GetBox,(self,) + _args, _kwargs)
386 if val: val = wxRectPtr(val) ; val.thisown = 1
105e45b9 387 return val
2d091820
RD
388 def Intersect(self, *_args, **_kwargs):
389 val = apply(miscc.wxRegion_Intersect,(self,) + _args, _kwargs)
105e45b9 390 return val
2d091820
RD
391 def Subtract(self, *_args, **_kwargs):
392 val = apply(miscc.wxRegion_Subtract,(self,) + _args, _kwargs)
105e45b9 393 return val
2d091820
RD
394 def Union(self, *_args, **_kwargs):
395 val = apply(miscc.wxRegion_Union,(self,) + _args, _kwargs)
105e45b9 396 return val
2d091820
RD
397 def Xor(self, *_args, **_kwargs):
398 val = apply(miscc.wxRegion_Xor,(self,) + _args, _kwargs)
105e45b9
RD
399 return val
400 def __repr__(self):
2d091820 401 return "<C wxRegion instance at %s>" % (self.this,)
105e45b9 402class wxRegion(wxRegionPtr):
2d091820
RD
403 def __init__(self,*_args,**_kwargs):
404 self.this = apply(miscc.new_wxRegion,_args,_kwargs)
105e45b9
RD
405 self.thisown = 1
406
407
408
409
410class wxRegionIteratorPtr :
411 def __init__(self,this):
412 self.this = this
413 self.thisown = 0
2d091820 414 def __del__(self,miscc=miscc):
105e45b9 415 if self.thisown == 1 :
2d091820
RD
416 miscc.delete_wxRegionIterator(self)
417 def GetX(self, *_args, **_kwargs):
418 val = apply(miscc.wxRegionIterator_GetX,(self,) + _args, _kwargs)
105e45b9 419 return val
2d091820
RD
420 def GetY(self, *_args, **_kwargs):
421 val = apply(miscc.wxRegionIterator_GetY,(self,) + _args, _kwargs)
105e45b9 422 return val
2d091820
RD
423 def GetW(self, *_args, **_kwargs):
424 val = apply(miscc.wxRegionIterator_GetW,(self,) + _args, _kwargs)
105e45b9 425 return val
2d091820
RD
426 def GetWidth(self, *_args, **_kwargs):
427 val = apply(miscc.wxRegionIterator_GetWidth,(self,) + _args, _kwargs)
105e45b9 428 return val
2d091820
RD
429 def GetH(self, *_args, **_kwargs):
430 val = apply(miscc.wxRegionIterator_GetH,(self,) + _args, _kwargs)
105e45b9 431 return val
2d091820
RD
432 def GetHeight(self, *_args, **_kwargs):
433 val = apply(miscc.wxRegionIterator_GetHeight,(self,) + _args, _kwargs)
105e45b9 434 return val
2d091820
RD
435 def GetRect(self, *_args, **_kwargs):
436 val = apply(miscc.wxRegionIterator_GetRect,(self,) + _args, _kwargs)
437 if val: val = wxRectPtr(val) ; val.thisown = 1
105e45b9 438 return val
2d091820
RD
439 def HaveRects(self, *_args, **_kwargs):
440 val = apply(miscc.wxRegionIterator_HaveRects,(self,) + _args, _kwargs)
105e45b9 441 return val
2d091820
RD
442 def Reset(self, *_args, **_kwargs):
443 val = apply(miscc.wxRegionIterator_Reset,(self,) + _args, _kwargs)
105e45b9 444 return val
2d091820
RD
445 def Next(self, *_args, **_kwargs):
446 val = apply(miscc.wxRegionIterator_Next,(self,) + _args, _kwargs)
105e45b9
RD
447 return val
448 def __repr__(self):
2d091820 449 return "<C wxRegionIterator instance at %s>" % (self.this,)
105e45b9 450class wxRegionIterator(wxRegionIteratorPtr):
2d091820
RD
451 def __init__(self,*_args,**_kwargs):
452 self.this = apply(miscc.new_wxRegionIterator,_args,_kwargs)
105e45b9
RD
453 self.thisown = 1
454
455
456
457
faf3cb35
RD
458class wxAcceleratorEntryPtr :
459 def __init__(self,this):
460 self.this = this
461 self.thisown = 0
2d091820
RD
462 def Set(self, *_args, **_kwargs):
463 val = apply(miscc.wxAcceleratorEntry_Set,(self,) + _args, _kwargs)
faf3cb35 464 return val
2d091820
RD
465 def GetFlags(self, *_args, **_kwargs):
466 val = apply(miscc.wxAcceleratorEntry_GetFlags,(self,) + _args, _kwargs)
faf3cb35 467 return val
2d091820
RD
468 def GetKeyCode(self, *_args, **_kwargs):
469 val = apply(miscc.wxAcceleratorEntry_GetKeyCode,(self,) + _args, _kwargs)
faf3cb35 470 return val
2d091820
RD
471 def GetCommand(self, *_args, **_kwargs):
472 val = apply(miscc.wxAcceleratorEntry_GetCommand,(self,) + _args, _kwargs)
faf3cb35
RD
473 return val
474 def __repr__(self):
2d091820 475 return "<C wxAcceleratorEntry instance at %s>" % (self.this,)
faf3cb35 476class wxAcceleratorEntry(wxAcceleratorEntryPtr):
2d091820
RD
477 def __init__(self,*_args,**_kwargs):
478 self.this = apply(miscc.new_wxAcceleratorEntry,_args,_kwargs)
faf3cb35
RD
479 self.thisown = 1
480
481
482
483
484class wxAcceleratorTablePtr :
485 def __init__(self,this):
486 self.this = this
487 self.thisown = 0
488 def __repr__(self):
2d091820 489 return "<C wxAcceleratorTable instance at %s>" % (self.this,)
faf3cb35 490class wxAcceleratorTable(wxAcceleratorTablePtr):
2d091820
RD
491 def __init__(self,*_args,**_kwargs):
492 self.this = apply(miscc.new_wxAcceleratorTable,_args,_kwargs)
faf3cb35
RD
493 self.thisown = 1
494
495
496
497
70551f47
RD
498
499
500#-------------- FUNCTION WRAPPERS ------------------
501
2d091820 502wxFileSelector = miscc.wxFileSelector
70551f47 503
2d091820 504wxGetTextFromUser = miscc.wxGetTextFromUser
70551f47 505
2d091820 506wxGetSingleChoice = miscc.wxGetSingleChoice
70551f47 507
2d091820 508wxGetSingleChoiceIndex = miscc.wxGetSingleChoiceIndex
70551f47 509
2d091820 510wxMessageBox = miscc.wxMessageBox
70551f47 511
2d091820 512wxGetNumberFromUser = miscc.wxGetNumberFromUser
8bf5d46e 513
70551f47
RD
514wxColourDisplay = miscc.wxColourDisplay
515
516wxDisplayDepth = miscc.wxDisplayDepth
517
2d091820 518wxSetCursor = miscc.wxSetCursor
70551f47 519
ab9bc19b
RD
520wxNewId = miscc.wxNewId
521
522wxRegisterId = miscc.wxRegisterId
523
70551f47
RD
524NewId = miscc.NewId
525
526RegisterId = miscc.RegisterId
527
2d091820 528wxBeginBusyCursor = miscc.wxBeginBusyCursor
70551f47
RD
529
530wxBell = miscc.wxBell
531
532wxDisplaySize = miscc.wxDisplaySize
533
534wxEndBusyCursor = miscc.wxEndBusyCursor
535
536wxExecute = miscc.wxExecute
537
70551f47
RD
538wxGetMousePosition = miscc.wxGetMousePosition
539
540wxIsBusy = miscc.wxIsBusy
541
542wxNow = miscc.wxNow
543
d24a34bb
RD
544wxSleep = miscc.wxSleep
545
70551f47
RD
546wxYield = miscc.wxYield
547
ab9bc19b
RD
548wxSafeYield = miscc.wxSafeYield
549
d24a34bb
RD
550wxEnableTopLevelWindows = miscc.wxEnableTopLevelWindows
551
70551f47
RD
552wxGetResource = miscc.wxGetResource
553
554wxResourceAddIdentifier = miscc.wxResourceAddIdentifier
555
556wxResourceClear = miscc.wxResourceClear
557
2d091820
RD
558def wxResourceCreateBitmap(*_args, **_kwargs):
559 val = apply(miscc.wxResourceCreateBitmap,_args,_kwargs)
560 if val: val = wxBitmapPtr(val); val.thisown = 1
70551f47
RD
561 return val
562
2d091820
RD
563def wxResourceCreateIcon(*_args, **_kwargs):
564 val = apply(miscc.wxResourceCreateIcon,_args,_kwargs)
565 if val: val = wxIconPtr(val); val.thisown = 1
70551f47
RD
566 return val
567
2d091820
RD
568def wxResourceCreateMenuBar(*_args, **_kwargs):
569 val = apply(miscc.wxResourceCreateMenuBar,_args,_kwargs)
570 if val: val = wxMenuBarPtr(val)
70551f47
RD
571 return val
572
573wxResourceGetIdentifier = miscc.wxResourceGetIdentifier
574
575wxResourceParseData = miscc.wxResourceParseData
576
577wxResourceParseFile = miscc.wxResourceParseFile
578
579wxResourceParseString = miscc.wxResourceParseString
580
2d091820
RD
581def wxSystemSettings_GetSystemColour(*_args, **_kwargs):
582 val = apply(miscc.wxSystemSettings_GetSystemColour,_args,_kwargs)
583 if val: val = wxColourPtr(val); val.thisown = 1
8bf5d46e
RD
584 return val
585
2d091820
RD
586def wxSystemSettings_GetSystemFont(*_args, **_kwargs):
587 val = apply(miscc.wxSystemSettings_GetSystemFont,_args,_kwargs)
588 if val: val = wxFontPtr(val); val.thisown = 1
8bf5d46e
RD
589 return val
590
591wxSystemSettings_GetSystemMetric = miscc.wxSystemSettings_GetSystemMetric
592
70551f47
RD
593
594
595#-------------- VARIABLE WRAPPERS ------------------
596
597wxLeft = miscc.wxLeft
598wxTop = miscc.wxTop
599wxRight = miscc.wxRight
600wxBottom = miscc.wxBottom
601wxWidth = miscc.wxWidth
602wxHeight = miscc.wxHeight
603wxCentre = miscc.wxCentre
604wxCenter = miscc.wxCenter
605wxCentreX = miscc.wxCentreX
606wxCentreY = miscc.wxCentreY
607wxUnconstrained = miscc.wxUnconstrained
608wxAsIs = miscc.wxAsIs
609wxPercentOf = miscc.wxPercentOf
610wxAbove = miscc.wxAbove
611wxBelow = miscc.wxBelow
612wxLeftOf = miscc.wxLeftOf
613wxRightOf = miscc.wxRightOf
614wxSameAs = miscc.wxSameAs
615wxAbsolute = miscc.wxAbsolute
105e45b9
RD
616wxOutRegion = miscc.wxOutRegion
617wxPartRegion = miscc.wxPartRegion
618wxInRegion = miscc.wxInRegion
8bf5d46e
RD
619wxSYS_WHITE_BRUSH = miscc.wxSYS_WHITE_BRUSH
620wxSYS_LTGRAY_BRUSH = miscc.wxSYS_LTGRAY_BRUSH
621wxSYS_GRAY_BRUSH = miscc.wxSYS_GRAY_BRUSH
622wxSYS_DKGRAY_BRUSH = miscc.wxSYS_DKGRAY_BRUSH
623wxSYS_BLACK_BRUSH = miscc.wxSYS_BLACK_BRUSH
624wxSYS_NULL_BRUSH = miscc.wxSYS_NULL_BRUSH
625wxSYS_HOLLOW_BRUSH = miscc.wxSYS_HOLLOW_BRUSH
626wxSYS_WHITE_PEN = miscc.wxSYS_WHITE_PEN
627wxSYS_BLACK_PEN = miscc.wxSYS_BLACK_PEN
628wxSYS_NULL_PEN = miscc.wxSYS_NULL_PEN
629wxSYS_OEM_FIXED_FONT = miscc.wxSYS_OEM_FIXED_FONT
630wxSYS_ANSI_FIXED_FONT = miscc.wxSYS_ANSI_FIXED_FONT
631wxSYS_ANSI_VAR_FONT = miscc.wxSYS_ANSI_VAR_FONT
632wxSYS_SYSTEM_FONT = miscc.wxSYS_SYSTEM_FONT
633wxSYS_DEVICE_DEFAULT_FONT = miscc.wxSYS_DEVICE_DEFAULT_FONT
634wxSYS_DEFAULT_PALETTE = miscc.wxSYS_DEFAULT_PALETTE
635wxSYS_SYSTEM_FIXED_FONT = miscc.wxSYS_SYSTEM_FIXED_FONT
636wxSYS_DEFAULT_GUI_FONT = miscc.wxSYS_DEFAULT_GUI_FONT
637wxSYS_COLOUR_SCROLLBAR = miscc.wxSYS_COLOUR_SCROLLBAR
638wxSYS_COLOUR_BACKGROUND = miscc.wxSYS_COLOUR_BACKGROUND
639wxSYS_COLOUR_ACTIVECAPTION = miscc.wxSYS_COLOUR_ACTIVECAPTION
640wxSYS_COLOUR_INACTIVECAPTION = miscc.wxSYS_COLOUR_INACTIVECAPTION
641wxSYS_COLOUR_MENU = miscc.wxSYS_COLOUR_MENU
642wxSYS_COLOUR_WINDOW = miscc.wxSYS_COLOUR_WINDOW
643wxSYS_COLOUR_WINDOWFRAME = miscc.wxSYS_COLOUR_WINDOWFRAME
644wxSYS_COLOUR_MENUTEXT = miscc.wxSYS_COLOUR_MENUTEXT
645wxSYS_COLOUR_WINDOWTEXT = miscc.wxSYS_COLOUR_WINDOWTEXT
646wxSYS_COLOUR_CAPTIONTEXT = miscc.wxSYS_COLOUR_CAPTIONTEXT
647wxSYS_COLOUR_ACTIVEBORDER = miscc.wxSYS_COLOUR_ACTIVEBORDER
648wxSYS_COLOUR_INACTIVEBORDER = miscc.wxSYS_COLOUR_INACTIVEBORDER
649wxSYS_COLOUR_APPWORKSPACE = miscc.wxSYS_COLOUR_APPWORKSPACE
650wxSYS_COLOUR_HIGHLIGHT = miscc.wxSYS_COLOUR_HIGHLIGHT
651wxSYS_COLOUR_HIGHLIGHTTEXT = miscc.wxSYS_COLOUR_HIGHLIGHTTEXT
652wxSYS_COLOUR_BTNFACE = miscc.wxSYS_COLOUR_BTNFACE
653wxSYS_COLOUR_BTNSHADOW = miscc.wxSYS_COLOUR_BTNSHADOW
654wxSYS_COLOUR_GRAYTEXT = miscc.wxSYS_COLOUR_GRAYTEXT
655wxSYS_COLOUR_BTNTEXT = miscc.wxSYS_COLOUR_BTNTEXT
656wxSYS_COLOUR_INACTIVECAPTIONTEXT = miscc.wxSYS_COLOUR_INACTIVECAPTIONTEXT
657wxSYS_COLOUR_BTNHIGHLIGHT = miscc.wxSYS_COLOUR_BTNHIGHLIGHT
658wxSYS_COLOUR_3DDKSHADOW = miscc.wxSYS_COLOUR_3DDKSHADOW
659wxSYS_COLOUR_3DLIGHT = miscc.wxSYS_COLOUR_3DLIGHT
660wxSYS_COLOUR_INFOTEXT = miscc.wxSYS_COLOUR_INFOTEXT
661wxSYS_COLOUR_INFOBK = miscc.wxSYS_COLOUR_INFOBK
662wxSYS_COLOUR_DESKTOP = miscc.wxSYS_COLOUR_DESKTOP
663wxSYS_COLOUR_3DFACE = miscc.wxSYS_COLOUR_3DFACE
664wxSYS_COLOUR_3DSHADOW = miscc.wxSYS_COLOUR_3DSHADOW
665wxSYS_COLOUR_3DHIGHLIGHT = miscc.wxSYS_COLOUR_3DHIGHLIGHT
666wxSYS_COLOUR_3DHILIGHT = miscc.wxSYS_COLOUR_3DHILIGHT
667wxSYS_COLOUR_BTNHILIGHT = miscc.wxSYS_COLOUR_BTNHILIGHT
668wxSYS_MOUSE_BUTTONS = miscc.wxSYS_MOUSE_BUTTONS
669wxSYS_BORDER_X = miscc.wxSYS_BORDER_X
670wxSYS_BORDER_Y = miscc.wxSYS_BORDER_Y
671wxSYS_CURSOR_X = miscc.wxSYS_CURSOR_X
672wxSYS_CURSOR_Y = miscc.wxSYS_CURSOR_Y
673wxSYS_DCLICK_X = miscc.wxSYS_DCLICK_X
674wxSYS_DCLICK_Y = miscc.wxSYS_DCLICK_Y
675wxSYS_DRAG_X = miscc.wxSYS_DRAG_X
676wxSYS_DRAG_Y = miscc.wxSYS_DRAG_Y
677wxSYS_EDGE_X = miscc.wxSYS_EDGE_X
678wxSYS_EDGE_Y = miscc.wxSYS_EDGE_Y
679wxSYS_HSCROLL_ARROW_X = miscc.wxSYS_HSCROLL_ARROW_X
680wxSYS_HSCROLL_ARROW_Y = miscc.wxSYS_HSCROLL_ARROW_Y
681wxSYS_HTHUMB_X = miscc.wxSYS_HTHUMB_X
682wxSYS_ICON_X = miscc.wxSYS_ICON_X
683wxSYS_ICON_Y = miscc.wxSYS_ICON_Y
684wxSYS_ICONSPACING_X = miscc.wxSYS_ICONSPACING_X
685wxSYS_ICONSPACING_Y = miscc.wxSYS_ICONSPACING_Y
686wxSYS_WINDOWMIN_X = miscc.wxSYS_WINDOWMIN_X
687wxSYS_WINDOWMIN_Y = miscc.wxSYS_WINDOWMIN_Y
688wxSYS_SCREEN_X = miscc.wxSYS_SCREEN_X
689wxSYS_SCREEN_Y = miscc.wxSYS_SCREEN_Y
690wxSYS_FRAMESIZE_X = miscc.wxSYS_FRAMESIZE_X
691wxSYS_FRAMESIZE_Y = miscc.wxSYS_FRAMESIZE_Y
692wxSYS_SMALLICON_X = miscc.wxSYS_SMALLICON_X
693wxSYS_SMALLICON_Y = miscc.wxSYS_SMALLICON_Y
694wxSYS_HSCROLL_Y = miscc.wxSYS_HSCROLL_Y
695wxSYS_VSCROLL_X = miscc.wxSYS_VSCROLL_X
696wxSYS_VSCROLL_ARROW_X = miscc.wxSYS_VSCROLL_ARROW_X
697wxSYS_VSCROLL_ARROW_Y = miscc.wxSYS_VSCROLL_ARROW_Y
698wxSYS_VTHUMB_Y = miscc.wxSYS_VTHUMB_Y
699wxSYS_CAPTION_Y = miscc.wxSYS_CAPTION_Y
700wxSYS_MENU_Y = miscc.wxSYS_MENU_Y
701wxSYS_NETWORK_PRESENT = miscc.wxSYS_NETWORK_PRESENT
702wxSYS_PENWINDOWS_PRESENT = miscc.wxSYS_PENWINDOWS_PRESENT
703wxSYS_SHOW_SOUNDS = miscc.wxSYS_SHOW_SOUNDS
704wxSYS_SWAP_BUTTONS = miscc.wxSYS_SWAP_BUTTONS