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