]>
Commit | Line | Data |
---|---|---|
d24a34bb RD |
1 | # This file was created automatically by SWIG. |
2 | import misc2c | |
3 | ||
4 | from windows import * | |
5 | ||
6 | from misc import * | |
7 | ||
8 | from gdi import * | |
4120ef2b RD |
9 | |
10 | from clip_dnd import * | |
11 | ||
12 | from events import * | |
c368d904 RD |
13 | |
14 | from streams import * | |
9df61a29 | 15 | class wxToolTipPtr(wxObjectPtr): |
d24a34bb RD |
16 | def __init__(self,this): |
17 | self.this = this | |
18 | self.thisown = 0 | |
2d091820 RD |
19 | def SetTip(self, *_args, **_kwargs): |
20 | val = apply(misc2c.wxToolTip_SetTip,(self,) + _args, _kwargs) | |
d24a34bb | 21 | return val |
2d091820 RD |
22 | def GetTip(self, *_args, **_kwargs): |
23 | val = apply(misc2c.wxToolTip_GetTip,(self,) + _args, _kwargs) | |
d24a34bb | 24 | return val |
2d091820 RD |
25 | def GetWindow(self, *_args, **_kwargs): |
26 | val = apply(misc2c.wxToolTip_GetWindow,(self,) + _args, _kwargs) | |
d24a34bb RD |
27 | return val |
28 | def __repr__(self): | |
2d091820 | 29 | return "<C wxToolTip instance at %s>" % (self.this,) |
d24a34bb | 30 | class wxToolTip(wxToolTipPtr): |
2d091820 RD |
31 | def __init__(self,*_args,**_kwargs): |
32 | self.this = apply(misc2c.new_wxToolTip,_args,_kwargs) | |
d24a34bb RD |
33 | self.thisown = 1 |
34 | ||
35 | ||
36 | ||
37 | ||
8f17924e RD |
38 | class wxCaretPtr : |
39 | def __init__(self,this): | |
40 | self.this = this | |
41 | self.thisown = 0 | |
42 | def __del__(self,misc2c=misc2c): | |
43 | if self.thisown == 1 : | |
44 | misc2c.delete_wxCaret(self) | |
45 | def IsOk(self, *_args, **_kwargs): | |
46 | val = apply(misc2c.wxCaret_IsOk,(self,) + _args, _kwargs) | |
47 | return val | |
48 | def IsVisible(self, *_args, **_kwargs): | |
49 | val = apply(misc2c.wxCaret_IsVisible,(self,) + _args, _kwargs) | |
50 | return val | |
51 | def GetPositionTuple(self, *_args, **_kwargs): | |
52 | val = apply(misc2c.wxCaret_GetPositionTuple,(self,) + _args, _kwargs) | |
53 | return val | |
54 | def GetPosition(self, *_args, **_kwargs): | |
55 | val = apply(misc2c.wxCaret_GetPosition,(self,) + _args, _kwargs) | |
56 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
57 | return val | |
58 | def GetSizeTuple(self, *_args, **_kwargs): | |
59 | val = apply(misc2c.wxCaret_GetSizeTuple,(self,) + _args, _kwargs) | |
60 | return val | |
61 | def GetSize(self, *_args, **_kwargs): | |
62 | val = apply(misc2c.wxCaret_GetSize,(self,) + _args, _kwargs) | |
63 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
64 | return val | |
65 | def GetWindow(self, *_args, **_kwargs): | |
66 | val = apply(misc2c.wxCaret_GetWindow,(self,) + _args, _kwargs) | |
8f17924e RD |
67 | return val |
68 | def MoveXY(self, *_args, **_kwargs): | |
69 | val = apply(misc2c.wxCaret_MoveXY,(self,) + _args, _kwargs) | |
70 | return val | |
71 | def Move(self, *_args, **_kwargs): | |
72 | val = apply(misc2c.wxCaret_Move,(self,) + _args, _kwargs) | |
73 | return val | |
e02c03a4 RD |
74 | def SetSizeWH(self, *_args, **_kwargs): |
75 | val = apply(misc2c.wxCaret_SetSizeWH,(self,) + _args, _kwargs) | |
76 | return val | |
77 | def SetSize(self, *_args, **_kwargs): | |
78 | val = apply(misc2c.wxCaret_SetSize,(self,) + _args, _kwargs) | |
79 | return val | |
8f17924e RD |
80 | def Show(self, *_args, **_kwargs): |
81 | val = apply(misc2c.wxCaret_Show,(self,) + _args, _kwargs) | |
82 | return val | |
83 | def Hide(self, *_args, **_kwargs): | |
84 | val = apply(misc2c.wxCaret_Hide,(self,) + _args, _kwargs) | |
85 | return val | |
8f17924e RD |
86 | def __repr__(self): |
87 | return "<C wxCaret instance at %s>" % (self.this,) | |
88 | class wxCaret(wxCaretPtr): | |
89 | def __init__(self,*_args,**_kwargs): | |
90 | self.this = apply(misc2c.new_wxCaret,_args,_kwargs) | |
91 | self.thisown = 1 | |
92 | ||
93 | ||
94 | ||
95 | ||
4120ef2b RD |
96 | class wxFontEnumeratorPtr : |
97 | def __init__(self,this): | |
98 | self.this = this | |
99 | self.thisown = 0 | |
100 | def __del__(self,misc2c=misc2c): | |
101 | if self.thisown == 1 : | |
102 | misc2c.delete_wxFontEnumerator(self) | |
0220cbc1 RD |
103 | def _setCallbackInfo(self, *_args, **_kwargs): |
104 | val = apply(misc2c.wxFontEnumerator__setCallbackInfo,(self,) + _args, _kwargs) | |
4120ef2b RD |
105 | return val |
106 | def EnumerateFacenames(self, *_args, **_kwargs): | |
107 | val = apply(misc2c.wxFontEnumerator_EnumerateFacenames,(self,) + _args, _kwargs) | |
108 | return val | |
109 | def EnumerateEncodings(self, *_args, **_kwargs): | |
110 | val = apply(misc2c.wxFontEnumerator_EnumerateEncodings,(self,) + _args, _kwargs) | |
111 | return val | |
112 | def GetEncodings(self, *_args, **_kwargs): | |
113 | val = apply(misc2c.wxFontEnumerator_GetEncodings,(self,) + _args, _kwargs) | |
114 | return val | |
115 | def GetFacenames(self, *_args, **_kwargs): | |
116 | val = apply(misc2c.wxFontEnumerator_GetFacenames,(self,) + _args, _kwargs) | |
117 | return val | |
118 | def __repr__(self): | |
119 | return "<C wxFontEnumerator instance at %s>" % (self.this,) | |
120 | class wxFontEnumerator(wxFontEnumeratorPtr): | |
121 | def __init__(self,*_args,**_kwargs): | |
122 | self.this = apply(misc2c.new_wxFontEnumerator,_args,_kwargs) | |
123 | self.thisown = 1 | |
0220cbc1 | 124 | self._setCallbackInfo(self, wxFontEnumerator) |
4120ef2b RD |
125 | |
126 | ||
127 | ||
128 | ||
129 | class wxBusyCursorPtr : | |
130 | def __init__(self,this): | |
131 | self.this = this | |
132 | self.thisown = 0 | |
133 | def __del__(self,misc2c=misc2c): | |
134 | if self.thisown == 1 : | |
135 | misc2c.delete_wxBusyCursor(self) | |
136 | def __repr__(self): | |
137 | return "<C wxBusyCursor instance at %s>" % (self.this,) | |
138 | class wxBusyCursor(wxBusyCursorPtr): | |
139 | def __init__(self,*_args,**_kwargs): | |
140 | self.this = apply(misc2c.new_wxBusyCursor,_args,_kwargs) | |
141 | self.thisown = 1 | |
142 | ||
143 | ||
144 | ||
145 | ||
c368d904 RD |
146 | class wxWindowDisablerPtr : |
147 | def __init__(self,this): | |
148 | self.this = this | |
149 | self.thisown = 0 | |
150 | def __del__(self,misc2c=misc2c): | |
151 | if self.thisown == 1 : | |
152 | misc2c.delete_wxWindowDisabler(self) | |
153 | def __repr__(self): | |
154 | return "<C wxWindowDisabler instance at %s>" % (self.this,) | |
155 | class wxWindowDisabler(wxWindowDisablerPtr): | |
156 | def __init__(self,*_args,**_kwargs): | |
157 | self.this = apply(misc2c.new_wxWindowDisabler,_args,_kwargs) | |
158 | self.thisown = 1 | |
159 | ||
160 | ||
161 | ||
162 | ||
4662be59 RD |
163 | class wxMutexGuiLockerPtr : |
164 | def __init__(self,this): | |
165 | self.this = this | |
166 | self.thisown = 0 | |
167 | def __del__(self,misc2c=misc2c): | |
168 | if self.thisown == 1 : | |
169 | misc2c.delete_wxMutexGuiLocker(self) | |
170 | def __repr__(self): | |
171 | return "<C wxMutexGuiLocker instance at %s>" % (self.this,) | |
172 | class wxMutexGuiLocker(wxMutexGuiLockerPtr): | |
173 | def __init__(self,*_args,**_kwargs): | |
174 | self.this = apply(misc2c.new_wxMutexGuiLocker,_args,_kwargs) | |
175 | self.thisown = 1 | |
176 | ||
177 | ||
178 | ||
179 | ||
f6bcfd97 BP |
180 | class wxTipProviderPtr : |
181 | def __init__(self,this): | |
182 | self.this = this | |
183 | self.thisown = 0 | |
184 | def __del__(self,misc2c=misc2c): | |
185 | if self.thisown == 1 : | |
186 | misc2c.delete_wxTipProvider(self) | |
187 | def GetTip(self, *_args, **_kwargs): | |
188 | val = apply(misc2c.wxTipProvider_GetTip,(self,) + _args, _kwargs) | |
189 | return val | |
190 | def GetCurrentTip(self, *_args, **_kwargs): | |
191 | val = apply(misc2c.wxTipProvider_GetCurrentTip,(self,) + _args, _kwargs) | |
192 | return val | |
193 | def __repr__(self): | |
194 | return "<C wxTipProvider instance at %s>" % (self.this,) | |
195 | class wxTipProvider(wxTipProviderPtr): | |
196 | def __init__(self,this): | |
197 | self.this = this | |
198 | ||
199 | ||
200 | ||
201 | ||
202 | class wxPyTipProviderPtr(wxTipProviderPtr): | |
203 | def __init__(self,this): | |
204 | self.this = this | |
205 | self.thisown = 0 | |
206 | def __repr__(self): | |
207 | return "<C wxPyTipProvider instance at %s>" % (self.this,) | |
208 | class wxPyTipProvider(wxPyTipProviderPtr): | |
209 | def __init__(self,*_args,**_kwargs): | |
210 | self.this = apply(misc2c.new_wxPyTipProvider,_args,_kwargs) | |
211 | self.thisown = 1 | |
212 | ||
213 | ||
214 | ||
215 | ||
9df61a29 | 216 | class wxDragImagePtr(wxObjectPtr): |
f6bcfd97 BP |
217 | def __init__(self,this): |
218 | self.this = this | |
219 | self.thisown = 0 | |
220 | def __del__(self,misc2c=misc2c): | |
221 | if self.thisown == 1 : | |
222 | misc2c.delete_wxDragImage(self) | |
4dfaa61e RD |
223 | def SetBackingBitmap(self, *_args, **_kwargs): |
224 | val = apply(misc2c.wxDragImage_SetBackingBitmap,(self,) + _args, _kwargs) | |
225 | return val | |
f6bcfd97 BP |
226 | def BeginDrag(self, *_args, **_kwargs): |
227 | val = apply(misc2c.wxDragImage_BeginDrag,(self,) + _args, _kwargs) | |
228 | return val | |
229 | def BeginDrag2(self, *_args, **_kwargs): | |
230 | val = apply(misc2c.wxDragImage_BeginDrag2,(self,) + _args, _kwargs) | |
231 | return val | |
232 | def EndDrag(self, *_args, **_kwargs): | |
233 | val = apply(misc2c.wxDragImage_EndDrag,(self,) + _args, _kwargs) | |
234 | return val | |
235 | def Move(self, *_args, **_kwargs): | |
236 | val = apply(misc2c.wxDragImage_Move,(self,) + _args, _kwargs) | |
237 | return val | |
238 | def Show(self, *_args, **_kwargs): | |
239 | val = apply(misc2c.wxDragImage_Show,(self,) + _args, _kwargs) | |
240 | return val | |
241 | def Hide(self, *_args, **_kwargs): | |
242 | val = apply(misc2c.wxDragImage_Hide,(self,) + _args, _kwargs) | |
243 | return val | |
244 | def GetImageRect(self, *_args, **_kwargs): | |
245 | val = apply(misc2c.wxDragImage_GetImageRect,(self,) + _args, _kwargs) | |
246 | if val: val = wxRectPtr(val) ; val.thisown = 1 | |
247 | return val | |
248 | def RedrawImage(self, *_args, **_kwargs): | |
249 | val = apply(misc2c.wxDragImage_RedrawImage,(self,) + _args, _kwargs) | |
250 | return val | |
251 | def __repr__(self): | |
252 | return "<C wxDragImage instance at %s>" % (self.this,) | |
253 | class wxDragImage(wxDragImagePtr): | |
254 | def __init__(self,*_args,**_kwargs): | |
255 | self.this = apply(misc2c.new_wxDragImage,_args,_kwargs) | |
256 | self.thisown = 1 | |
257 | ||
258 | ||
259 | ||
059a841c RD |
260 | def wxDragIcon(*_args,**_kwargs): |
261 | val = wxDragImagePtr(apply(misc2c.new_wxDragIcon,_args,_kwargs)) | |
262 | val.thisown = 1 | |
263 | return val | |
264 | ||
265 | def wxDragString(*_args,**_kwargs): | |
266 | val = wxDragImagePtr(apply(misc2c.new_wxDragString,_args,_kwargs)) | |
267 | val.thisown = 1 | |
268 | return val | |
269 | ||
270 | def wxDragTreeItem(*_args,**_kwargs): | |
271 | val = wxDragImagePtr(apply(misc2c.new_wxDragTreeItem,_args,_kwargs)) | |
272 | val.thisown = 1 | |
273 | return val | |
274 | ||
275 | def wxDragListItem(*_args,**_kwargs): | |
276 | val = wxDragImagePtr(apply(misc2c.new_wxDragListItem,_args,_kwargs)) | |
277 | val.thisown = 1 | |
278 | return val | |
279 | ||
f6bcfd97 | 280 | |
9df61a29 | 281 | class wxPyTimerPtr(wxObjectPtr): |
f6bcfd97 BP |
282 | def __init__(self,this): |
283 | self.this = this | |
284 | self.thisown = 0 | |
285 | def __del__(self,misc2c=misc2c): | |
286 | if self.thisown == 1 : | |
287 | misc2c.delete_wxPyTimer(self) | |
288 | def GetInterval(self, *_args, **_kwargs): | |
289 | val = apply(misc2c.wxPyTimer_GetInterval,(self,) + _args, _kwargs) | |
290 | return val | |
291 | def IsOneShot(self, *_args, **_kwargs): | |
292 | val = apply(misc2c.wxPyTimer_IsOneShot,(self,) + _args, _kwargs) | |
293 | return val | |
294 | def IsRunning(self, *_args, **_kwargs): | |
295 | val = apply(misc2c.wxPyTimer_IsRunning,(self,) + _args, _kwargs) | |
296 | return val | |
297 | def SetOwner(self, *_args, **_kwargs): | |
298 | val = apply(misc2c.wxPyTimer_SetOwner,(self,) + _args, _kwargs) | |
299 | return val | |
300 | def Start(self, *_args, **_kwargs): | |
301 | val = apply(misc2c.wxPyTimer_Start,(self,) + _args, _kwargs) | |
302 | return val | |
303 | def Stop(self, *_args, **_kwargs): | |
304 | val = apply(misc2c.wxPyTimer_Stop,(self,) + _args, _kwargs) | |
305 | return val | |
306 | def __repr__(self): | |
307 | return "<C wxPyTimer instance at %s>" % (self.this,) | |
308 | class wxPyTimer(wxPyTimerPtr): | |
309 | def __init__(self,*_args,**_kwargs): | |
310 | self.this = apply(misc2c.new_wxPyTimer,_args,_kwargs) | |
311 | self.thisown = 1 | |
312 | ||
313 | ||
314 | ||
315 | ||
5c0282d5 RD |
316 | class wxStopWatchPtr : |
317 | def __init__(self,this): | |
318 | self.this = this | |
319 | self.thisown = 0 | |
320 | def Start(self, *_args, **_kwargs): | |
321 | val = apply(misc2c.wxStopWatch_Start,(self,) + _args, _kwargs) | |
322 | return val | |
323 | def Pause(self, *_args, **_kwargs): | |
324 | val = apply(misc2c.wxStopWatch_Pause,(self,) + _args, _kwargs) | |
325 | return val | |
326 | def Resume(self, *_args, **_kwargs): | |
327 | val = apply(misc2c.wxStopWatch_Resume,(self,) + _args, _kwargs) | |
328 | return val | |
329 | def Time(self, *_args, **_kwargs): | |
330 | val = apply(misc2c.wxStopWatch_Time,(self,) + _args, _kwargs) | |
331 | return val | |
332 | def __repr__(self): | |
333 | return "<C wxStopWatch instance at %s>" % (self.this,) | |
334 | class wxStopWatch(wxStopWatchPtr): | |
335 | def __init__(self,*_args,**_kwargs): | |
336 | self.this = apply(misc2c.new_wxStopWatch,_args,_kwargs) | |
337 | self.thisown = 1 | |
338 | ||
339 | ||
340 | ||
341 | ||
f6bcfd97 BP |
342 | class wxLogPtr : |
343 | def __init__(self,this): | |
344 | self.this = this | |
345 | self.thisown = 0 | |
346 | def Flush(self, *_args, **_kwargs): | |
347 | val = apply(misc2c.wxLog_Flush,(self,) + _args, _kwargs) | |
348 | return val | |
349 | def HasPendingMessages(self, *_args, **_kwargs): | |
350 | val = apply(misc2c.wxLog_HasPendingMessages,(self,) + _args, _kwargs) | |
351 | return val | |
352 | def SetVerbose(self, *_args, **_kwargs): | |
353 | val = apply(misc2c.wxLog_SetVerbose,(self,) + _args, _kwargs) | |
354 | return val | |
355 | def GetVerbose(self, *_args, **_kwargs): | |
356 | val = apply(misc2c.wxLog_GetVerbose,(self,) + _args, _kwargs) | |
357 | return val | |
0220cbc1 RD |
358 | def TimeStamp(self, *_args, **_kwargs): |
359 | val = apply(misc2c.wxLog_TimeStamp,(self,) + _args, _kwargs) | |
360 | return val | |
f6bcfd97 BP |
361 | def __repr__(self): |
362 | return "<C wxLog instance at %s>" % (self.this,) | |
363 | class wxLog(wxLogPtr): | |
364 | def __init__(self,*_args,**_kwargs): | |
365 | self.this = apply(misc2c.new_wxLog,_args,_kwargs) | |
366 | self.thisown = 1 | |
367 | ||
368 | ||
369 | ||
370 | ||
371 | class wxLogStderrPtr(wxLogPtr): | |
372 | def __init__(self,this): | |
373 | self.this = this | |
374 | self.thisown = 0 | |
375 | def __repr__(self): | |
376 | return "<C wxLogStderr instance at %s>" % (self.this,) | |
377 | class wxLogStderr(wxLogStderrPtr): | |
378 | def __init__(self,*_args,**_kwargs): | |
379 | self.this = apply(misc2c.new_wxLogStderr,_args,_kwargs) | |
380 | self.thisown = 1 | |
381 | ||
382 | ||
383 | ||
384 | ||
385 | class wxLogTextCtrlPtr(wxLogPtr): | |
386 | def __init__(self,this): | |
387 | self.this = this | |
388 | self.thisown = 0 | |
389 | def __repr__(self): | |
390 | return "<C wxLogTextCtrl instance at %s>" % (self.this,) | |
391 | class wxLogTextCtrl(wxLogTextCtrlPtr): | |
392 | def __init__(self,*_args,**_kwargs): | |
393 | self.this = apply(misc2c.new_wxLogTextCtrl,_args,_kwargs) | |
394 | self.thisown = 1 | |
395 | ||
396 | ||
397 | ||
398 | ||
399 | class wxLogGuiPtr(wxLogPtr): | |
400 | def __init__(self,this): | |
401 | self.this = this | |
402 | self.thisown = 0 | |
403 | def __repr__(self): | |
404 | return "<C wxLogGui instance at %s>" % (self.this,) | |
405 | class wxLogGui(wxLogGuiPtr): | |
406 | def __init__(self,*_args,**_kwargs): | |
407 | self.this = apply(misc2c.new_wxLogGui,_args,_kwargs) | |
408 | self.thisown = 1 | |
409 | ||
410 | ||
411 | ||
412 | ||
413 | class wxLogWindowPtr(wxLogPtr): | |
414 | def __init__(self,this): | |
415 | self.this = this | |
416 | self.thisown = 0 | |
417 | def Show(self, *_args, **_kwargs): | |
418 | val = apply(misc2c.wxLogWindow_Show,(self,) + _args, _kwargs) | |
419 | return val | |
420 | def GetFrame(self, *_args, **_kwargs): | |
421 | val = apply(misc2c.wxLogWindow_GetFrame,(self,) + _args, _kwargs) | |
f6bcfd97 BP |
422 | return val |
423 | def GetOldLog(self, *_args, **_kwargs): | |
424 | val = apply(misc2c.wxLogWindow_GetOldLog,(self,) + _args, _kwargs) | |
425 | if val: val = wxLogPtr(val) | |
426 | return val | |
427 | def IsPassingMessages(self, *_args, **_kwargs): | |
428 | val = apply(misc2c.wxLogWindow_IsPassingMessages,(self,) + _args, _kwargs) | |
429 | return val | |
430 | def PassMessages(self, *_args, **_kwargs): | |
431 | val = apply(misc2c.wxLogWindow_PassMessages,(self,) + _args, _kwargs) | |
432 | return val | |
433 | def __repr__(self): | |
434 | return "<C wxLogWindow instance at %s>" % (self.this,) | |
435 | class wxLogWindow(wxLogWindowPtr): | |
436 | def __init__(self,*_args,**_kwargs): | |
437 | self.this = apply(misc2c.new_wxLogWindow,_args,_kwargs) | |
438 | self.thisown = 1 | |
439 | ||
440 | ||
441 | ||
442 | ||
443 | class wxLogNullPtr : | |
444 | def __init__(self,this): | |
445 | self.this = this | |
446 | self.thisown = 0 | |
447 | def __del__(self,misc2c=misc2c): | |
448 | if self.thisown == 1 : | |
449 | misc2c.delete_wxLogNull(self) | |
450 | def __repr__(self): | |
451 | return "<C wxLogNull instance at %s>" % (self.this,) | |
452 | class wxLogNull(wxLogNullPtr): | |
453 | def __init__(self,*_args,**_kwargs): | |
454 | self.this = apply(misc2c.new_wxLogNull,_args,_kwargs) | |
455 | self.thisown = 1 | |
456 | ||
457 | ||
458 | ||
459 | ||
0220cbc1 RD |
460 | class wxLogChainPtr(wxLogPtr): |
461 | def __init__(self,this): | |
462 | self.this = this | |
463 | self.thisown = 0 | |
464 | def SetLog(self, *_args, **_kwargs): | |
465 | val = apply(misc2c.wxLogChain_SetLog,(self,) + _args, _kwargs) | |
466 | return val | |
467 | def PassMessages(self, *_args, **_kwargs): | |
468 | val = apply(misc2c.wxLogChain_PassMessages,(self,) + _args, _kwargs) | |
469 | return val | |
470 | def IsPassingMessages(self, *_args, **_kwargs): | |
471 | val = apply(misc2c.wxLogChain_IsPassingMessages,(self,) + _args, _kwargs) | |
472 | return val | |
473 | def GetOldLog(self, *_args, **_kwargs): | |
474 | val = apply(misc2c.wxLogChain_GetOldLog,(self,) + _args, _kwargs) | |
475 | if val: val = wxLogPtr(val) | |
476 | return val | |
477 | def __repr__(self): | |
478 | return "<C wxLogChain instance at %s>" % (self.this,) | |
479 | class wxLogChain(wxLogChainPtr): | |
480 | def __init__(self,*_args,**_kwargs): | |
481 | self.this = apply(misc2c.new_wxLogChain,_args,_kwargs) | |
482 | self.thisown = 1 | |
483 | ||
484 | ||
485 | ||
486 | ||
487 | class wxPyLogPtr(wxLogPtr): | |
488 | def __init__(self,this): | |
489 | self.this = this | |
490 | self.thisown = 0 | |
491 | def _setCallbackInfo(self, *_args, **_kwargs): | |
492 | val = apply(misc2c.wxPyLog__setCallbackInfo,(self,) + _args, _kwargs) | |
493 | return val | |
494 | def Destroy(self, *_args, **_kwargs): | |
495 | val = apply(misc2c.wxPyLog_Destroy,(self,) + _args, _kwargs) | |
496 | return val | |
497 | def __repr__(self): | |
498 | return "<C wxPyLog instance at %s>" % (self.this,) | |
499 | class wxPyLog(wxPyLogPtr): | |
500 | def __init__(self,*_args,**_kwargs): | |
501 | self.this = apply(misc2c.new_wxPyLog,_args,_kwargs) | |
502 | self.thisown = 1 | |
503 | self._setCallbackInfo(self, wxPyLog) | |
504 | ||
505 | ||
506 | ||
507 | ||
c368d904 RD |
508 | class wxProcessEventPtr(wxEventPtr): |
509 | def __init__(self,this): | |
510 | self.this = this | |
511 | self.thisown = 0 | |
512 | def GetPid(self, *_args, **_kwargs): | |
513 | val = apply(misc2c.wxProcessEvent_GetPid,(self,) + _args, _kwargs) | |
514 | return val | |
515 | def GetExitCode(self, *_args, **_kwargs): | |
516 | val = apply(misc2c.wxProcessEvent_GetExitCode,(self,) + _args, _kwargs) | |
517 | return val | |
518 | def __setattr__(self,name,value): | |
519 | if name == "m_pid" : | |
520 | misc2c.wxProcessEvent_m_pid_set(self,value) | |
521 | return | |
522 | if name == "m_exitcode" : | |
523 | misc2c.wxProcessEvent_m_exitcode_set(self,value) | |
524 | return | |
525 | self.__dict__[name] = value | |
526 | def __getattr__(self,name): | |
527 | if name == "m_pid" : | |
528 | return misc2c.wxProcessEvent_m_pid_get(self) | |
529 | if name == "m_exitcode" : | |
530 | return misc2c.wxProcessEvent_m_exitcode_get(self) | |
531 | raise AttributeError,name | |
532 | def __repr__(self): | |
533 | return "<C wxProcessEvent instance at %s>" % (self.this,) | |
534 | class wxProcessEvent(wxProcessEventPtr): | |
535 | def __init__(self,*_args,**_kwargs): | |
536 | self.this = apply(misc2c.new_wxProcessEvent,_args,_kwargs) | |
537 | self.thisown = 1 | |
538 | ||
539 | ||
540 | ||
541 | ||
542 | class wxProcessPtr(wxEvtHandlerPtr): | |
543 | def __init__(self,this): | |
544 | self.this = this | |
545 | self.thisown = 0 | |
546 | def Destroy(self, *_args, **_kwargs): | |
547 | val = apply(misc2c.wxProcess_Destroy,(self,) + _args, _kwargs) | |
548 | return val | |
0220cbc1 RD |
549 | def _setCallbackInfo(self, *_args, **_kwargs): |
550 | val = apply(misc2c.wxProcess__setCallbackInfo,(self,) + _args, _kwargs) | |
c368d904 RD |
551 | return val |
552 | def base_OnTerminate(self, *_args, **_kwargs): | |
553 | val = apply(misc2c.wxProcess_base_OnTerminate,(self,) + _args, _kwargs) | |
554 | return val | |
555 | def Redirect(self, *_args, **_kwargs): | |
556 | val = apply(misc2c.wxProcess_Redirect,(self,) + _args, _kwargs) | |
557 | return val | |
558 | def IsRedirected(self, *_args, **_kwargs): | |
559 | val = apply(misc2c.wxProcess_IsRedirected,(self,) + _args, _kwargs) | |
560 | return val | |
561 | def Detach(self, *_args, **_kwargs): | |
562 | val = apply(misc2c.wxProcess_Detach,(self,) + _args, _kwargs) | |
563 | return val | |
564 | def GetInputStream(self, *_args, **_kwargs): | |
565 | val = apply(misc2c.wxProcess_GetInputStream,(self,) + _args, _kwargs) | |
566 | return val | |
567 | def GetErrorStream(self, *_args, **_kwargs): | |
568 | val = apply(misc2c.wxProcess_GetErrorStream,(self,) + _args, _kwargs) | |
569 | return val | |
570 | def GetOutputStream(self, *_args, **_kwargs): | |
571 | val = apply(misc2c.wxProcess_GetOutputStream,(self,) + _args, _kwargs) | |
572 | if val: val = wxOutputStreamPtr(val) | |
573 | return val | |
574 | def CloseOutput(self, *_args, **_kwargs): | |
575 | val = apply(misc2c.wxProcess_CloseOutput,(self,) + _args, _kwargs) | |
576 | return val | |
577 | def __repr__(self): | |
578 | return "<C wxProcess instance at %s>" % (self.this,) | |
579 | class wxProcess(wxProcessPtr): | |
580 | def __init__(self,*_args,**_kwargs): | |
581 | self.this = apply(misc2c.new_wxProcess,_args,_kwargs) | |
582 | self.thisown = 1 | |
0220cbc1 | 583 | self._setCallbackInfo(self, wxProcess) |
c368d904 RD |
584 | |
585 | ||
586 | ||
587 | ||
4dfaa61e RD |
588 | class wxJoystickPtr(wxObjectPtr): |
589 | def __init__(self,this): | |
590 | self.this = this | |
591 | self.thisown = 0 | |
25d73e0f RD |
592 | def __del__(self,misc2c=misc2c): |
593 | if self.thisown == 1 : | |
594 | misc2c.delete_wxJoystick(self) | |
4dfaa61e RD |
595 | def GetPosition(self, *_args, **_kwargs): |
596 | val = apply(misc2c.wxJoystick_GetPosition,(self,) + _args, _kwargs) | |
597 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
598 | return val | |
599 | def GetZPosition(self, *_args, **_kwargs): | |
600 | val = apply(misc2c.wxJoystick_GetZPosition,(self,) + _args, _kwargs) | |
601 | return val | |
602 | def GetButtonState(self, *_args, **_kwargs): | |
603 | val = apply(misc2c.wxJoystick_GetButtonState,(self,) + _args, _kwargs) | |
604 | return val | |
605 | def GetPOVPosition(self, *_args, **_kwargs): | |
606 | val = apply(misc2c.wxJoystick_GetPOVPosition,(self,) + _args, _kwargs) | |
607 | return val | |
608 | def GetPOVCTSPosition(self, *_args, **_kwargs): | |
609 | val = apply(misc2c.wxJoystick_GetPOVCTSPosition,(self,) + _args, _kwargs) | |
610 | return val | |
611 | def GetRudderPosition(self, *_args, **_kwargs): | |
612 | val = apply(misc2c.wxJoystick_GetRudderPosition,(self,) + _args, _kwargs) | |
613 | return val | |
614 | def GetUPosition(self, *_args, **_kwargs): | |
615 | val = apply(misc2c.wxJoystick_GetUPosition,(self,) + _args, _kwargs) | |
616 | return val | |
617 | def GetVPosition(self, *_args, **_kwargs): | |
618 | val = apply(misc2c.wxJoystick_GetVPosition,(self,) + _args, _kwargs) | |
619 | return val | |
620 | def GetMovementThreshold(self, *_args, **_kwargs): | |
621 | val = apply(misc2c.wxJoystick_GetMovementThreshold,(self,) + _args, _kwargs) | |
622 | return val | |
623 | def SetMovementThreshold(self, *_args, **_kwargs): | |
624 | val = apply(misc2c.wxJoystick_SetMovementThreshold,(self,) + _args, _kwargs) | |
625 | return val | |
626 | def IsOk(self, *_args, **_kwargs): | |
627 | val = apply(misc2c.wxJoystick_IsOk,(self,) + _args, _kwargs) | |
628 | return val | |
629 | def GetNumberJoysticks(self, *_args, **_kwargs): | |
630 | val = apply(misc2c.wxJoystick_GetNumberJoysticks,(self,) + _args, _kwargs) | |
631 | return val | |
632 | def GetManufacturerId(self, *_args, **_kwargs): | |
633 | val = apply(misc2c.wxJoystick_GetManufacturerId,(self,) + _args, _kwargs) | |
634 | return val | |
635 | def GetProductId(self, *_args, **_kwargs): | |
636 | val = apply(misc2c.wxJoystick_GetProductId,(self,) + _args, _kwargs) | |
637 | return val | |
638 | def GetProductName(self, *_args, **_kwargs): | |
639 | val = apply(misc2c.wxJoystick_GetProductName,(self,) + _args, _kwargs) | |
640 | return val | |
641 | def GetXMin(self, *_args, **_kwargs): | |
642 | val = apply(misc2c.wxJoystick_GetXMin,(self,) + _args, _kwargs) | |
643 | return val | |
644 | def GetYMin(self, *_args, **_kwargs): | |
645 | val = apply(misc2c.wxJoystick_GetYMin,(self,) + _args, _kwargs) | |
646 | return val | |
647 | def GetZMin(self, *_args, **_kwargs): | |
648 | val = apply(misc2c.wxJoystick_GetZMin,(self,) + _args, _kwargs) | |
649 | return val | |
650 | def GetXMax(self, *_args, **_kwargs): | |
651 | val = apply(misc2c.wxJoystick_GetXMax,(self,) + _args, _kwargs) | |
652 | return val | |
653 | def GetYMax(self, *_args, **_kwargs): | |
654 | val = apply(misc2c.wxJoystick_GetYMax,(self,) + _args, _kwargs) | |
655 | return val | |
656 | def GetZMax(self, *_args, **_kwargs): | |
657 | val = apply(misc2c.wxJoystick_GetZMax,(self,) + _args, _kwargs) | |
658 | return val | |
659 | def GetNumberButtons(self, *_args, **_kwargs): | |
660 | val = apply(misc2c.wxJoystick_GetNumberButtons,(self,) + _args, _kwargs) | |
661 | return val | |
662 | def GetNumberAxes(self, *_args, **_kwargs): | |
663 | val = apply(misc2c.wxJoystick_GetNumberAxes,(self,) + _args, _kwargs) | |
664 | return val | |
665 | def GetMaxButtons(self, *_args, **_kwargs): | |
666 | val = apply(misc2c.wxJoystick_GetMaxButtons,(self,) + _args, _kwargs) | |
667 | return val | |
668 | def GetMaxAxes(self, *_args, **_kwargs): | |
669 | val = apply(misc2c.wxJoystick_GetMaxAxes,(self,) + _args, _kwargs) | |
670 | return val | |
671 | def GetPollingMin(self, *_args, **_kwargs): | |
672 | val = apply(misc2c.wxJoystick_GetPollingMin,(self,) + _args, _kwargs) | |
673 | return val | |
674 | def GetPollingMax(self, *_args, **_kwargs): | |
675 | val = apply(misc2c.wxJoystick_GetPollingMax,(self,) + _args, _kwargs) | |
676 | return val | |
677 | def GetRudderMin(self, *_args, **_kwargs): | |
678 | val = apply(misc2c.wxJoystick_GetRudderMin,(self,) + _args, _kwargs) | |
679 | return val | |
680 | def GetRudderMax(self, *_args, **_kwargs): | |
681 | val = apply(misc2c.wxJoystick_GetRudderMax,(self,) + _args, _kwargs) | |
682 | return val | |
683 | def GetUMin(self, *_args, **_kwargs): | |
684 | val = apply(misc2c.wxJoystick_GetUMin,(self,) + _args, _kwargs) | |
685 | return val | |
686 | def GetUMax(self, *_args, **_kwargs): | |
687 | val = apply(misc2c.wxJoystick_GetUMax,(self,) + _args, _kwargs) | |
688 | return val | |
689 | def GetVMin(self, *_args, **_kwargs): | |
690 | val = apply(misc2c.wxJoystick_GetVMin,(self,) + _args, _kwargs) | |
691 | return val | |
692 | def GetVMax(self, *_args, **_kwargs): | |
693 | val = apply(misc2c.wxJoystick_GetVMax,(self,) + _args, _kwargs) | |
694 | return val | |
695 | def HasRudder(self, *_args, **_kwargs): | |
696 | val = apply(misc2c.wxJoystick_HasRudder,(self,) + _args, _kwargs) | |
697 | return val | |
698 | def HasZ(self, *_args, **_kwargs): | |
699 | val = apply(misc2c.wxJoystick_HasZ,(self,) + _args, _kwargs) | |
700 | return val | |
701 | def HasU(self, *_args, **_kwargs): | |
702 | val = apply(misc2c.wxJoystick_HasU,(self,) + _args, _kwargs) | |
703 | return val | |
704 | def HasV(self, *_args, **_kwargs): | |
705 | val = apply(misc2c.wxJoystick_HasV,(self,) + _args, _kwargs) | |
706 | return val | |
707 | def HasPOV(self, *_args, **_kwargs): | |
708 | val = apply(misc2c.wxJoystick_HasPOV,(self,) + _args, _kwargs) | |
709 | return val | |
710 | def HasPOV4Dir(self, *_args, **_kwargs): | |
711 | val = apply(misc2c.wxJoystick_HasPOV4Dir,(self,) + _args, _kwargs) | |
712 | return val | |
713 | def HasPOVCTS(self, *_args, **_kwargs): | |
714 | val = apply(misc2c.wxJoystick_HasPOVCTS,(self,) + _args, _kwargs) | |
715 | return val | |
716 | def SetCapture(self, *_args, **_kwargs): | |
717 | val = apply(misc2c.wxJoystick_SetCapture,(self,) + _args, _kwargs) | |
718 | return val | |
719 | def ReleaseCapture(self, *_args, **_kwargs): | |
720 | val = apply(misc2c.wxJoystick_ReleaseCapture,(self,) + _args, _kwargs) | |
721 | return val | |
722 | def __repr__(self): | |
723 | return "<C wxJoystick instance at %s>" % (self.this,) | |
724 | class wxJoystick(wxJoystickPtr): | |
725 | def __init__(self,*_args,**_kwargs): | |
726 | self.this = apply(misc2c.new_wxJoystick,_args,_kwargs) | |
727 | self.thisown = 1 | |
728 | ||
729 | ||
730 | ||
731 | ||
732 | class wxWavePtr(wxObjectPtr): | |
733 | def __init__(self,this): | |
734 | self.this = this | |
735 | self.thisown = 0 | |
736 | def __del__(self,misc2c=misc2c): | |
737 | if self.thisown == 1 : | |
738 | misc2c.delete_wxWave(self) | |
739 | def IsOk(self, *_args, **_kwargs): | |
740 | val = apply(misc2c.wxWave_IsOk,(self,) + _args, _kwargs) | |
741 | return val | |
742 | def Play(self, *_args, **_kwargs): | |
743 | val = apply(misc2c.wxWave_Play,(self,) + _args, _kwargs) | |
744 | return val | |
745 | def __repr__(self): | |
746 | return "<C wxWave instance at %s>" % (self.this,) | |
747 | class wxWave(wxWavePtr): | |
748 | def __init__(self,*_args,**_kwargs): | |
749 | self.this = apply(misc2c.new_wxWave,_args,_kwargs) | |
750 | self.thisown = 1 | |
751 | ||
752 | ||
753 | ||
754 | ||
5c0282d5 RD |
755 | class wxFileTypeInfoPtr : |
756 | def __init__(self,this): | |
757 | self.this = this | |
758 | self.thisown = 0 | |
759 | def IsValid(self, *_args, **_kwargs): | |
760 | val = apply(misc2c.wxFileTypeInfo_IsValid,(self,) + _args, _kwargs) | |
761 | return val | |
762 | def SetIcon(self, *_args, **_kwargs): | |
763 | val = apply(misc2c.wxFileTypeInfo_SetIcon,(self,) + _args, _kwargs) | |
764 | return val | |
765 | def SetShortDesc(self, *_args, **_kwargs): | |
766 | val = apply(misc2c.wxFileTypeInfo_SetShortDesc,(self,) + _args, _kwargs) | |
767 | return val | |
768 | def GetMimeType(self, *_args, **_kwargs): | |
769 | val = apply(misc2c.wxFileTypeInfo_GetMimeType,(self,) + _args, _kwargs) | |
770 | return val | |
771 | def GetOpenCommand(self, *_args, **_kwargs): | |
772 | val = apply(misc2c.wxFileTypeInfo_GetOpenCommand,(self,) + _args, _kwargs) | |
773 | return val | |
774 | def GetPrintCommand(self, *_args, **_kwargs): | |
775 | val = apply(misc2c.wxFileTypeInfo_GetPrintCommand,(self,) + _args, _kwargs) | |
776 | return val | |
777 | def GetShortDesc(self, *_args, **_kwargs): | |
778 | val = apply(misc2c.wxFileTypeInfo_GetShortDesc,(self,) + _args, _kwargs) | |
779 | return val | |
780 | def GetDescription(self, *_args, **_kwargs): | |
781 | val = apply(misc2c.wxFileTypeInfo_GetDescription,(self,) + _args, _kwargs) | |
782 | return val | |
783 | def GetExtensions(self, *_args, **_kwargs): | |
784 | val = apply(misc2c.wxFileTypeInfo_GetExtensions,(self,) + _args, _kwargs) | |
785 | return val | |
786 | def GetExtensionsCount(self, *_args, **_kwargs): | |
787 | val = apply(misc2c.wxFileTypeInfo_GetExtensionsCount,(self,) + _args, _kwargs) | |
788 | return val | |
789 | def GetIconFile(self, *_args, **_kwargs): | |
790 | val = apply(misc2c.wxFileTypeInfo_GetIconFile,(self,) + _args, _kwargs) | |
791 | return val | |
792 | def GetIconIndex(self, *_args, **_kwargs): | |
793 | val = apply(misc2c.wxFileTypeInfo_GetIconIndex,(self,) + _args, _kwargs) | |
794 | return val | |
795 | def __repr__(self): | |
796 | return "<C wxFileTypeInfo instance at %s>" % (self.this,) | |
797 | class wxFileTypeInfo(wxFileTypeInfoPtr): | |
798 | def __init__(self,*_args,**_kwargs): | |
799 | self.this = apply(misc2c.new_wxFileTypeInfo,_args,_kwargs) | |
800 | self.thisown = 1 | |
801 | ||
802 | ||
803 | ||
804 | def wxFileTypeInfoSequence(*_args,**_kwargs): | |
805 | val = wxFileTypeInfoPtr(apply(misc2c.new_wxFileTypeInfoSequence,_args,_kwargs)) | |
806 | val.thisown = 1 | |
807 | return val | |
808 | ||
809 | def wxNullFileTypeInfo(*_args,**_kwargs): | |
810 | val = wxFileTypeInfoPtr(apply(misc2c.new_wxNullFileTypeInfo,_args,_kwargs)) | |
811 | val.thisown = 1 | |
812 | return val | |
813 | ||
814 | ||
815 | class wxFileTypePtr : | |
816 | def __init__(self,this): | |
817 | self.this = this | |
818 | self.thisown = 0 | |
819 | def GetMimeType(self, *_args, **_kwargs): | |
820 | val = apply(misc2c.wxFileType_GetMimeType,(self,) + _args, _kwargs) | |
821 | return val | |
822 | def GetMimeTypes(self, *_args, **_kwargs): | |
823 | val = apply(misc2c.wxFileType_GetMimeTypes,(self,) + _args, _kwargs) | |
824 | return val | |
825 | def GetExtensions(self, *_args, **_kwargs): | |
826 | val = apply(misc2c.wxFileType_GetExtensions,(self,) + _args, _kwargs) | |
827 | return val | |
828 | def GetIcon(self, *_args, **_kwargs): | |
829 | val = apply(misc2c.wxFileType_GetIcon,(self,) + _args, _kwargs) | |
830 | if val: val = wxIconPtr(val) ; val.thisown = 1 | |
831 | return val | |
832 | def GetIconInfo(self, *_args, **_kwargs): | |
833 | val = apply(misc2c.wxFileType_GetIconInfo,(self,) + _args, _kwargs) | |
834 | return val | |
835 | def GetDescription(self, *_args, **_kwargs): | |
836 | val = apply(misc2c.wxFileType_GetDescription,(self,) + _args, _kwargs) | |
837 | return val | |
838 | def GetOpenCommand(self, *_args, **_kwargs): | |
839 | val = apply(misc2c.wxFileType_GetOpenCommand,(self,) + _args, _kwargs) | |
840 | return val | |
841 | def GetPrintCommand(self, *_args, **_kwargs): | |
842 | val = apply(misc2c.wxFileType_GetPrintCommand,(self,) + _args, _kwargs) | |
843 | return val | |
844 | def GetAllCommands(self, *_args, **_kwargs): | |
845 | val = apply(misc2c.wxFileType_GetAllCommands,(self,) + _args, _kwargs) | |
846 | return val | |
847 | def SetCommand(self, *_args, **_kwargs): | |
848 | val = apply(misc2c.wxFileType_SetCommand,(self,) + _args, _kwargs) | |
849 | return val | |
850 | def SetDefaultIcon(self, *_args, **_kwargs): | |
851 | val = apply(misc2c.wxFileType_SetDefaultIcon,(self,) + _args, _kwargs) | |
852 | return val | |
853 | def Unassociate(self, *_args, **_kwargs): | |
854 | val = apply(misc2c.wxFileType_Unassociate,(self,) + _args, _kwargs) | |
855 | return val | |
856 | def __del__(self,misc2c=misc2c): | |
857 | if self.thisown == 1 : | |
858 | misc2c.delete_wxFileType(self) | |
859 | def __repr__(self): | |
860 | return "<C wxFileType instance at %s>" % (self.this,) | |
861 | class wxFileType(wxFileTypePtr): | |
862 | def __init__(self,*_args,**_kwargs): | |
863 | self.this = apply(misc2c.new_wxFileType,_args,_kwargs) | |
864 | self.thisown = 1 | |
865 | ||
866 | ||
867 | ||
868 | ||
869 | class wxMimeTypesManagerPtr : | |
870 | def __init__(self,this): | |
871 | self.this = this | |
872 | self.thisown = 0 | |
873 | def Initialize(self, *_args, **_kwargs): | |
874 | val = apply(misc2c.wxMimeTypesManager_Initialize,(self,) + _args, _kwargs) | |
875 | return val | |
876 | def ClearData(self, *_args, **_kwargs): | |
877 | val = apply(misc2c.wxMimeTypesManager_ClearData,(self,) + _args, _kwargs) | |
878 | return val | |
879 | def GetFileTypeFromExtension(self, *_args, **_kwargs): | |
880 | val = apply(misc2c.wxMimeTypesManager_GetFileTypeFromExtension,(self,) + _args, _kwargs) | |
881 | if val: val = wxFileTypePtr(val) ; val.thisown = 1 | |
882 | return val | |
883 | def GetFileTypeFromMimeType(self, *_args, **_kwargs): | |
884 | val = apply(misc2c.wxMimeTypesManager_GetFileTypeFromMimeType,(self,) + _args, _kwargs) | |
885 | if val: val = wxFileTypePtr(val) ; val.thisown = 1 | |
886 | return val | |
887 | def ReadMailcap(self, *_args, **_kwargs): | |
888 | val = apply(misc2c.wxMimeTypesManager_ReadMailcap,(self,) + _args, _kwargs) | |
889 | return val | |
890 | def ReadMimeTypes(self, *_args, **_kwargs): | |
891 | val = apply(misc2c.wxMimeTypesManager_ReadMimeTypes,(self,) + _args, _kwargs) | |
892 | return val | |
893 | def EnumAllFileTypes(self, *_args, **_kwargs): | |
894 | val = apply(misc2c.wxMimeTypesManager_EnumAllFileTypes,(self,) + _args, _kwargs) | |
895 | return val | |
896 | def AddFallback(self, *_args, **_kwargs): | |
897 | val = apply(misc2c.wxMimeTypesManager_AddFallback,(self,) + _args, _kwargs) | |
898 | return val | |
899 | def Associate(self, *_args, **_kwargs): | |
900 | val = apply(misc2c.wxMimeTypesManager_Associate,(self,) + _args, _kwargs) | |
901 | if val: val = wxFileTypePtr(val) ; val.thisown = 1 | |
902 | return val | |
903 | def Unassociate(self, *_args, **_kwargs): | |
904 | val = apply(misc2c.wxMimeTypesManager_Unassociate,(self,) + _args, _kwargs) | |
905 | return val | |
906 | def __del__(self,misc2c=misc2c): | |
907 | if self.thisown == 1 : | |
908 | misc2c.delete_wxMimeTypesManager(self) | |
909 | def __repr__(self): | |
910 | return "<C wxMimeTypesManager instance at %s>" % (self.this,) | |
911 | class wxMimeTypesManager(wxMimeTypesManagerPtr): | |
912 | def __init__(self,*_args,**_kwargs): | |
913 | self.this = apply(misc2c.new_wxMimeTypesManager,_args,_kwargs) | |
914 | self.thisown = 1 | |
915 | ||
916 | ||
917 | ||
918 | ||
d24a34bb RD |
919 | |
920 | ||
921 | #-------------- FUNCTION WRAPPERS ------------------ | |
922 | ||
bc29c5e0 RD |
923 | wxFileSelector = misc2c.wxFileSelector |
924 | ||
925 | wxGetTextFromUser = misc2c.wxGetTextFromUser | |
926 | ||
1b62f00d RD |
927 | wxGetPasswordFromUser = misc2c.wxGetPasswordFromUser |
928 | ||
bc29c5e0 RD |
929 | wxGetSingleChoice = misc2c.wxGetSingleChoice |
930 | ||
931 | wxGetSingleChoiceIndex = misc2c.wxGetSingleChoiceIndex | |
932 | ||
933 | wxMessageBox = misc2c.wxMessageBox | |
934 | ||
935 | wxGetNumberFromUser = misc2c.wxGetNumberFromUser | |
936 | ||
937 | wxColourDisplay = misc2c.wxColourDisplay | |
938 | ||
939 | wxDisplayDepth = misc2c.wxDisplayDepth | |
940 | ||
b68dc582 RD |
941 | wxGetDisplayDepth = misc2c.wxGetDisplayDepth |
942 | ||
943 | wxDisplaySize = misc2c.wxDisplaySize | |
944 | ||
945 | def wxGetDisplaySize(*_args, **_kwargs): | |
946 | val = apply(misc2c.wxGetDisplaySize,_args,_kwargs) | |
947 | if val: val = wxSizePtr(val); val.thisown = 1 | |
948 | return val | |
949 | ||
9c4165ad RD |
950 | wxDisplaySizeMM = misc2c.wxDisplaySizeMM |
951 | ||
952 | def wxGetDisplaySizeMM(*_args, **_kwargs): | |
953 | val = apply(misc2c.wxGetDisplaySizeMM,_args,_kwargs) | |
954 | if val: val = wxSizePtr(val); val.thisown = 1 | |
955 | return val | |
956 | ||
9e689c06 RD |
957 | wxClientDisplayRect = misc2c.wxClientDisplayRect |
958 | ||
959 | def wxGetClientDisplayRect(*_args, **_kwargs): | |
960 | val = apply(misc2c.wxGetClientDisplayRect,_args,_kwargs) | |
961 | if val: val = wxRectPtr(val); val.thisown = 1 | |
962 | return val | |
963 | ||
bc29c5e0 RD |
964 | wxSetCursor = misc2c.wxSetCursor |
965 | ||
2d091820 RD |
966 | def wxFindWindowByLabel(*_args, **_kwargs): |
967 | val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs) | |
d24a34bb RD |
968 | return val |
969 | ||
2d091820 RD |
970 | def wxFindWindowByName(*_args, **_kwargs): |
971 | val = apply(misc2c.wxFindWindowByName,_args,_kwargs) | |
d24a34bb RD |
972 | return val |
973 | ||
bc29c5e0 RD |
974 | wxBeginBusyCursor = misc2c.wxBeginBusyCursor |
975 | ||
976 | def wxGetActiveWindow(*_args, **_kwargs): | |
977 | val = apply(misc2c.wxGetActiveWindow,_args,_kwargs) | |
bc29c5e0 RD |
978 | return val |
979 | ||
4dfaa61e RD |
980 | def wxGenericFindWindowAtPoint(*_args, **_kwargs): |
981 | val = apply(misc2c.wxGenericFindWindowAtPoint,_args,_kwargs) | |
982 | return val | |
983 | ||
984 | def wxFindWindowAtPoint(*_args, **_kwargs): | |
985 | val = apply(misc2c.wxFindWindowAtPoint,_args,_kwargs) | |
986 | return val | |
987 | ||
bc29c5e0 RD |
988 | wxResourceAddIdentifier = misc2c.wxResourceAddIdentifier |
989 | ||
990 | wxResourceClear = misc2c.wxResourceClear | |
991 | ||
992 | def wxResourceCreateBitmap(*_args, **_kwargs): | |
993 | val = apply(misc2c.wxResourceCreateBitmap,_args,_kwargs) | |
994 | if val: val = wxBitmapPtr(val); val.thisown = 1 | |
995 | return val | |
996 | ||
997 | def wxResourceCreateIcon(*_args, **_kwargs): | |
998 | val = apply(misc2c.wxResourceCreateIcon,_args,_kwargs) | |
999 | if val: val = wxIconPtr(val); val.thisown = 1 | |
1000 | return val | |
1001 | ||
1002 | def wxResourceCreateMenuBar(*_args, **_kwargs): | |
1003 | val = apply(misc2c.wxResourceCreateMenuBar,_args,_kwargs) | |
bc29c5e0 RD |
1004 | return val |
1005 | ||
1006 | wxResourceGetIdentifier = misc2c.wxResourceGetIdentifier | |
1007 | ||
1008 | wxResourceParseData = misc2c.wxResourceParseData | |
1009 | ||
1010 | wxResourceParseFile = misc2c.wxResourceParseFile | |
1011 | ||
1012 | wxResourceParseString = misc2c.wxResourceParseString | |
1013 | ||
1014 | def wxSystemSettings_GetSystemColour(*_args, **_kwargs): | |
1015 | val = apply(misc2c.wxSystemSettings_GetSystemColour,_args,_kwargs) | |
1016 | if val: val = wxColourPtr(val); val.thisown = 1 | |
1017 | return val | |
1018 | ||
1019 | def wxSystemSettings_GetSystemFont(*_args, **_kwargs): | |
1020 | val = apply(misc2c.wxSystemSettings_GetSystemFont,_args,_kwargs) | |
1021 | if val: val = wxFontPtr(val); val.thisown = 1 | |
1022 | return val | |
1023 | ||
1024 | wxSystemSettings_GetSystemMetric = misc2c.wxSystemSettings_GetSystemMetric | |
1025 | ||
8f17924e RD |
1026 | wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime |
1027 | ||
1028 | wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime | |
1029 | ||
4662be59 RD |
1030 | wxSafeYield = misc2c.wxSafeYield |
1031 | ||
4120ef2b RD |
1032 | wxPostEvent = misc2c.wxPostEvent |
1033 | ||
d29aba2f RD |
1034 | wxWakeUpIdle = misc2c.wxWakeUpIdle |
1035 | ||
4662be59 RD |
1036 | wxMutexGuiEnter = misc2c.wxMutexGuiEnter |
1037 | ||
1038 | wxMutexGuiLeave = misc2c.wxMutexGuiLeave | |
1039 | ||
1040 | wxThread_IsMain = misc2c.wxThread_IsMain | |
c368d904 | 1041 | |
f6bcfd97 BP |
1042 | wxShowTip = misc2c.wxShowTip |
1043 | ||
1044 | def wxCreateFileTipProvider(*_args, **_kwargs): | |
1045 | val = apply(misc2c.wxCreateFileTipProvider,_args,_kwargs) | |
1046 | if val: val = wxTipProviderPtr(val); val.thisown = 1 | |
1047 | return val | |
1048 | ||
f6bcfd97 BP |
1049 | wxSysErrorCode = misc2c.wxSysErrorCode |
1050 | ||
1051 | wxSysErrorMsg = misc2c.wxSysErrorMsg | |
1052 | ||
1053 | wxLogFatalError = misc2c.wxLogFatalError | |
1054 | ||
1055 | wxLogError = misc2c.wxLogError | |
1056 | ||
1057 | wxLogWarning = misc2c.wxLogWarning | |
1058 | ||
1059 | wxLogMessage = misc2c.wxLogMessage | |
1060 | ||
1061 | wxLogInfo = misc2c.wxLogInfo | |
1062 | ||
1063 | wxLogVerbose = misc2c.wxLogVerbose | |
1064 | ||
1065 | wxLogStatus = misc2c.wxLogStatus | |
1066 | ||
1067 | wxLogStatusFrame = misc2c.wxLogStatusFrame | |
1068 | ||
1069 | wxLogSysError = misc2c.wxLogSysError | |
1070 | ||
c368d904 RD |
1071 | wxExecute = misc2c.wxExecute |
1072 | ||
4dfaa61e RD |
1073 | def wxWaveData(*_args, **_kwargs): |
1074 | val = apply(misc2c.wxWaveData,_args,_kwargs) | |
1075 | if val: val = wxWavePtr(val); val.thisown = 1 | |
1076 | return val | |
1077 | ||
9a08cd12 RD |
1078 | wxToolTip_Enable = misc2c.wxToolTip_Enable |
1079 | ||
1080 | wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay | |
1081 | ||
f6bcfd97 BP |
1082 | wxLog_IsEnabled = misc2c.wxLog_IsEnabled |
1083 | ||
1084 | wxLog_EnableLogging = misc2c.wxLog_EnableLogging | |
1085 | ||
1086 | wxLog_OnLog = misc2c.wxLog_OnLog | |
1087 | ||
1088 | wxLog_FlushActive = misc2c.wxLog_FlushActive | |
1089 | ||
1090 | def wxLog_GetActiveTarget(*_args, **_kwargs): | |
1091 | val = apply(misc2c.wxLog_GetActiveTarget,_args,_kwargs) | |
1092 | if val: val = wxLogPtr(val) | |
1093 | return val | |
1094 | ||
1095 | def wxLog_SetActiveTarget(*_args, **_kwargs): | |
1096 | val = apply(misc2c.wxLog_SetActiveTarget,_args,_kwargs) | |
1097 | if val: val = wxLogPtr(val) | |
1098 | return val | |
1099 | ||
1100 | wxLog_Suspend = misc2c.wxLog_Suspend | |
1101 | ||
1102 | wxLog_Resume = misc2c.wxLog_Resume | |
1103 | ||
1104 | wxLog_DontCreateOnDemand = misc2c.wxLog_DontCreateOnDemand | |
1105 | ||
1106 | wxLog_SetTraceMask = misc2c.wxLog_SetTraceMask | |
1107 | ||
1108 | wxLog_AddTraceMask = misc2c.wxLog_AddTraceMask | |
1109 | ||
1110 | wxLog_RemoveTraceMask = misc2c.wxLog_RemoveTraceMask | |
1111 | ||
0220cbc1 RD |
1112 | wxLog_ClearTraceMasks = misc2c.wxLog_ClearTraceMasks |
1113 | ||
1114 | wxLog_SetTimestamp = misc2c.wxLog_SetTimestamp | |
1115 | ||
1116 | wxLog_GetTimestamp = misc2c.wxLog_GetTimestamp | |
1117 | ||
f6bcfd97 BP |
1118 | wxLog_GetTraceMask = misc2c.wxLog_GetTraceMask |
1119 | ||
1120 | wxLog_IsAllowedTraceMask = misc2c.wxLog_IsAllowedTraceMask | |
1121 | ||
5c0282d5 RD |
1122 | wxFileType_ExpandCommand = misc2c.wxFileType_ExpandCommand |
1123 | ||
1124 | wxMimeTypesManager_IsOfType = misc2c.wxMimeTypesManager_IsOfType | |
1125 | ||
d24a34bb RD |
1126 | |
1127 | ||
1128 | #-------------- VARIABLE WRAPPERS ------------------ | |
1129 | ||
bc29c5e0 RD |
1130 | wxSYS_WHITE_BRUSH = misc2c.wxSYS_WHITE_BRUSH |
1131 | wxSYS_LTGRAY_BRUSH = misc2c.wxSYS_LTGRAY_BRUSH | |
1132 | wxSYS_GRAY_BRUSH = misc2c.wxSYS_GRAY_BRUSH | |
1133 | wxSYS_DKGRAY_BRUSH = misc2c.wxSYS_DKGRAY_BRUSH | |
1134 | wxSYS_BLACK_BRUSH = misc2c.wxSYS_BLACK_BRUSH | |
1135 | wxSYS_NULL_BRUSH = misc2c.wxSYS_NULL_BRUSH | |
1136 | wxSYS_HOLLOW_BRUSH = misc2c.wxSYS_HOLLOW_BRUSH | |
1137 | wxSYS_WHITE_PEN = misc2c.wxSYS_WHITE_PEN | |
1138 | wxSYS_BLACK_PEN = misc2c.wxSYS_BLACK_PEN | |
1139 | wxSYS_NULL_PEN = misc2c.wxSYS_NULL_PEN | |
1140 | wxSYS_OEM_FIXED_FONT = misc2c.wxSYS_OEM_FIXED_FONT | |
1141 | wxSYS_ANSI_FIXED_FONT = misc2c.wxSYS_ANSI_FIXED_FONT | |
1142 | wxSYS_ANSI_VAR_FONT = misc2c.wxSYS_ANSI_VAR_FONT | |
1143 | wxSYS_SYSTEM_FONT = misc2c.wxSYS_SYSTEM_FONT | |
1144 | wxSYS_DEVICE_DEFAULT_FONT = misc2c.wxSYS_DEVICE_DEFAULT_FONT | |
1145 | wxSYS_DEFAULT_PALETTE = misc2c.wxSYS_DEFAULT_PALETTE | |
1146 | wxSYS_SYSTEM_FIXED_FONT = misc2c.wxSYS_SYSTEM_FIXED_FONT | |
1147 | wxSYS_DEFAULT_GUI_FONT = misc2c.wxSYS_DEFAULT_GUI_FONT | |
1148 | wxSYS_COLOUR_SCROLLBAR = misc2c.wxSYS_COLOUR_SCROLLBAR | |
1149 | wxSYS_COLOUR_BACKGROUND = misc2c.wxSYS_COLOUR_BACKGROUND | |
1150 | wxSYS_COLOUR_ACTIVECAPTION = misc2c.wxSYS_COLOUR_ACTIVECAPTION | |
1151 | wxSYS_COLOUR_INACTIVECAPTION = misc2c.wxSYS_COLOUR_INACTIVECAPTION | |
1152 | wxSYS_COLOUR_MENU = misc2c.wxSYS_COLOUR_MENU | |
1153 | wxSYS_COLOUR_WINDOW = misc2c.wxSYS_COLOUR_WINDOW | |
1154 | wxSYS_COLOUR_WINDOWFRAME = misc2c.wxSYS_COLOUR_WINDOWFRAME | |
1155 | wxSYS_COLOUR_MENUTEXT = misc2c.wxSYS_COLOUR_MENUTEXT | |
1156 | wxSYS_COLOUR_WINDOWTEXT = misc2c.wxSYS_COLOUR_WINDOWTEXT | |
1157 | wxSYS_COLOUR_CAPTIONTEXT = misc2c.wxSYS_COLOUR_CAPTIONTEXT | |
1158 | wxSYS_COLOUR_ACTIVEBORDER = misc2c.wxSYS_COLOUR_ACTIVEBORDER | |
1159 | wxSYS_COLOUR_INACTIVEBORDER = misc2c.wxSYS_COLOUR_INACTIVEBORDER | |
1160 | wxSYS_COLOUR_APPWORKSPACE = misc2c.wxSYS_COLOUR_APPWORKSPACE | |
1161 | wxSYS_COLOUR_HIGHLIGHT = misc2c.wxSYS_COLOUR_HIGHLIGHT | |
1162 | wxSYS_COLOUR_HIGHLIGHTTEXT = misc2c.wxSYS_COLOUR_HIGHLIGHTTEXT | |
1163 | wxSYS_COLOUR_BTNFACE = misc2c.wxSYS_COLOUR_BTNFACE | |
1164 | wxSYS_COLOUR_BTNSHADOW = misc2c.wxSYS_COLOUR_BTNSHADOW | |
1165 | wxSYS_COLOUR_GRAYTEXT = misc2c.wxSYS_COLOUR_GRAYTEXT | |
1166 | wxSYS_COLOUR_BTNTEXT = misc2c.wxSYS_COLOUR_BTNTEXT | |
1167 | wxSYS_COLOUR_INACTIVECAPTIONTEXT = misc2c.wxSYS_COLOUR_INACTIVECAPTIONTEXT | |
1168 | wxSYS_COLOUR_BTNHIGHLIGHT = misc2c.wxSYS_COLOUR_BTNHIGHLIGHT | |
1169 | wxSYS_COLOUR_3DDKSHADOW = misc2c.wxSYS_COLOUR_3DDKSHADOW | |
1170 | wxSYS_COLOUR_3DLIGHT = misc2c.wxSYS_COLOUR_3DLIGHT | |
1171 | wxSYS_COLOUR_INFOTEXT = misc2c.wxSYS_COLOUR_INFOTEXT | |
1172 | wxSYS_COLOUR_INFOBK = misc2c.wxSYS_COLOUR_INFOBK | |
1173 | wxSYS_COLOUR_DESKTOP = misc2c.wxSYS_COLOUR_DESKTOP | |
1174 | wxSYS_COLOUR_3DFACE = misc2c.wxSYS_COLOUR_3DFACE | |
1175 | wxSYS_COLOUR_3DSHADOW = misc2c.wxSYS_COLOUR_3DSHADOW | |
1176 | wxSYS_COLOUR_3DHIGHLIGHT = misc2c.wxSYS_COLOUR_3DHIGHLIGHT | |
1177 | wxSYS_COLOUR_3DHILIGHT = misc2c.wxSYS_COLOUR_3DHILIGHT | |
1178 | wxSYS_COLOUR_BTNHILIGHT = misc2c.wxSYS_COLOUR_BTNHILIGHT | |
1179 | wxSYS_MOUSE_BUTTONS = misc2c.wxSYS_MOUSE_BUTTONS | |
1180 | wxSYS_BORDER_X = misc2c.wxSYS_BORDER_X | |
1181 | wxSYS_BORDER_Y = misc2c.wxSYS_BORDER_Y | |
1182 | wxSYS_CURSOR_X = misc2c.wxSYS_CURSOR_X | |
1183 | wxSYS_CURSOR_Y = misc2c.wxSYS_CURSOR_Y | |
1184 | wxSYS_DCLICK_X = misc2c.wxSYS_DCLICK_X | |
1185 | wxSYS_DCLICK_Y = misc2c.wxSYS_DCLICK_Y | |
1186 | wxSYS_DRAG_X = misc2c.wxSYS_DRAG_X | |
1187 | wxSYS_DRAG_Y = misc2c.wxSYS_DRAG_Y | |
1188 | wxSYS_EDGE_X = misc2c.wxSYS_EDGE_X | |
1189 | wxSYS_EDGE_Y = misc2c.wxSYS_EDGE_Y | |
1190 | wxSYS_HSCROLL_ARROW_X = misc2c.wxSYS_HSCROLL_ARROW_X | |
1191 | wxSYS_HSCROLL_ARROW_Y = misc2c.wxSYS_HSCROLL_ARROW_Y | |
1192 | wxSYS_HTHUMB_X = misc2c.wxSYS_HTHUMB_X | |
1193 | wxSYS_ICON_X = misc2c.wxSYS_ICON_X | |
1194 | wxSYS_ICON_Y = misc2c.wxSYS_ICON_Y | |
1195 | wxSYS_ICONSPACING_X = misc2c.wxSYS_ICONSPACING_X | |
1196 | wxSYS_ICONSPACING_Y = misc2c.wxSYS_ICONSPACING_Y | |
1197 | wxSYS_WINDOWMIN_X = misc2c.wxSYS_WINDOWMIN_X | |
1198 | wxSYS_WINDOWMIN_Y = misc2c.wxSYS_WINDOWMIN_Y | |
1199 | wxSYS_SCREEN_X = misc2c.wxSYS_SCREEN_X | |
1200 | wxSYS_SCREEN_Y = misc2c.wxSYS_SCREEN_Y | |
1201 | wxSYS_FRAMESIZE_X = misc2c.wxSYS_FRAMESIZE_X | |
1202 | wxSYS_FRAMESIZE_Y = misc2c.wxSYS_FRAMESIZE_Y | |
1203 | wxSYS_SMALLICON_X = misc2c.wxSYS_SMALLICON_X | |
1204 | wxSYS_SMALLICON_Y = misc2c.wxSYS_SMALLICON_Y | |
1205 | wxSYS_HSCROLL_Y = misc2c.wxSYS_HSCROLL_Y | |
1206 | wxSYS_VSCROLL_X = misc2c.wxSYS_VSCROLL_X | |
1207 | wxSYS_VSCROLL_ARROW_X = misc2c.wxSYS_VSCROLL_ARROW_X | |
1208 | wxSYS_VSCROLL_ARROW_Y = misc2c.wxSYS_VSCROLL_ARROW_Y | |
1209 | wxSYS_VTHUMB_Y = misc2c.wxSYS_VTHUMB_Y | |
1210 | wxSYS_CAPTION_Y = misc2c.wxSYS_CAPTION_Y | |
1211 | wxSYS_MENU_Y = misc2c.wxSYS_MENU_Y | |
1212 | wxSYS_NETWORK_PRESENT = misc2c.wxSYS_NETWORK_PRESENT | |
1213 | wxSYS_PENWINDOWS_PRESENT = misc2c.wxSYS_PENWINDOWS_PRESENT | |
1214 | wxSYS_SHOW_SOUNDS = misc2c.wxSYS_SHOW_SOUNDS | |
1215 | wxSYS_SWAP_BUTTONS = misc2c.wxSYS_SWAP_BUTTONS | |
f6bcfd97 BP |
1216 | wxLOG_FatalError = misc2c.wxLOG_FatalError |
1217 | wxLOG_Error = misc2c.wxLOG_Error | |
1218 | wxLOG_Warning = misc2c.wxLOG_Warning | |
1219 | wxLOG_Message = misc2c.wxLOG_Message | |
1220 | wxLOG_Info = misc2c.wxLOG_Info | |
1221 | wxLOG_Status = misc2c.wxLOG_Status | |
1222 | wxLOG_Debug = misc2c.wxLOG_Debug | |
1223 | wxLOG_Trace = misc2c.wxLOG_Trace | |
1224 | wxLOG_Progress = misc2c.wxLOG_Progress | |
1225 | wxLOG_User = misc2c.wxLOG_User | |
9c4165ad | 1226 | wxEVT_END_PROCESS = misc2c.wxEVT_END_PROCESS |
5c0282d5 RD |
1227 | wxMAILCAP_STANDARD = misc2c.wxMAILCAP_STANDARD |
1228 | wxMAILCAP_NETSCAPE = misc2c.wxMAILCAP_NETSCAPE | |
1229 | wxMAILCAP_KDE = misc2c.wxMAILCAP_KDE | |
1230 | wxMAILCAP_GNOME = misc2c.wxMAILCAP_GNOME | |
1231 | wxMAILCAP_ALL = misc2c.wxMAILCAP_ALL | |
1232 | cvar = misc2c.cvar | |
1233 | wxTheMimeTypesManager = wxMimeTypesManagerPtr(misc2c.cvar.wxTheMimeTypesManager) |