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