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