]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/misc2.py
SWIGged updates for wxGTK
[wxWidgets.git] / wxPython / src / gtk / misc2.py
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 _setCallbackInfo(self, *_args, **_kwargs):
191 val = apply(misc2c.wxPyTipProvider__setCallbackInfo,(self,) + _args, _kwargs)
192 return val
193 def __repr__(self):
194 return "<C wxPyTipProvider instance at %s>" % (self.this,)
195 class wxPyTipProvider(wxPyTipProviderPtr):
196 def __init__(self,*_args,**_kwargs):
197 self.this = apply(misc2c.new_wxPyTipProvider,_args,_kwargs)
198 self.thisown = 1
199 self._setCallbackInfo(self, wxPyTipProvider)
200
201
202
203
204 class wxDragImagePtr(wxObjectPtr):
205 def __init__(self,this):
206 self.this = this
207 self.thisown = 0
208 def __del__(self,misc2c=misc2c):
209 if self.thisown == 1 :
210 misc2c.delete_wxDragImage(self)
211 def SetBackingBitmap(self, *_args, **_kwargs):
212 val = apply(misc2c.wxDragImage_SetBackingBitmap,(self,) + _args, _kwargs)
213 return val
214 def BeginDrag(self, *_args, **_kwargs):
215 val = apply(misc2c.wxDragImage_BeginDrag,(self,) + _args, _kwargs)
216 return val
217 def BeginDrag2(self, *_args, **_kwargs):
218 val = apply(misc2c.wxDragImage_BeginDrag2,(self,) + _args, _kwargs)
219 return val
220 def EndDrag(self, *_args, **_kwargs):
221 val = apply(misc2c.wxDragImage_EndDrag,(self,) + _args, _kwargs)
222 return val
223 def Move(self, *_args, **_kwargs):
224 val = apply(misc2c.wxDragImage_Move,(self,) + _args, _kwargs)
225 return val
226 def Show(self, *_args, **_kwargs):
227 val = apply(misc2c.wxDragImage_Show,(self,) + _args, _kwargs)
228 return val
229 def Hide(self, *_args, **_kwargs):
230 val = apply(misc2c.wxDragImage_Hide,(self,) + _args, _kwargs)
231 return val
232 def GetImageRect(self, *_args, **_kwargs):
233 val = apply(misc2c.wxDragImage_GetImageRect,(self,) + _args, _kwargs)
234 if val: val = wxRectPtr(val) ; val.thisown = 1
235 return val
236 def RedrawImage(self, *_args, **_kwargs):
237 val = apply(misc2c.wxDragImage_RedrawImage,(self,) + _args, _kwargs)
238 return val
239 def __repr__(self):
240 return "<C wxDragImage instance at %s>" % (self.this,)
241 class wxDragImage(wxDragImagePtr):
242 def __init__(self,*_args,**_kwargs):
243 self.this = apply(misc2c.new_wxDragImage,_args,_kwargs)
244 self.thisown = 1
245
246
247
248 def wxDragIcon(*_args,**_kwargs):
249 val = wxDragImagePtr(apply(misc2c.new_wxDragIcon,_args,_kwargs))
250 val.thisown = 1
251 return val
252
253 def wxDragString(*_args,**_kwargs):
254 val = wxDragImagePtr(apply(misc2c.new_wxDragString,_args,_kwargs))
255 val.thisown = 1
256 return val
257
258 def wxDragTreeItem(*_args,**_kwargs):
259 val = wxDragImagePtr(apply(misc2c.new_wxDragTreeItem,_args,_kwargs))
260 val.thisown = 1
261 return val
262
263 def wxDragListItem(*_args,**_kwargs):
264 val = wxDragImagePtr(apply(misc2c.new_wxDragListItem,_args,_kwargs))
265 val.thisown = 1
266 return val
267
268
269 class wxPyTimerPtr(wxObjectPtr):
270 def __init__(self,this):
271 self.this = this
272 self.thisown = 0
273 def __del__(self,misc2c=misc2c):
274 if self.thisown == 1 :
275 misc2c.delete_wxPyTimer(self)
276 def GetInterval(self, *_args, **_kwargs):
277 val = apply(misc2c.wxPyTimer_GetInterval,(self,) + _args, _kwargs)
278 return val
279 def IsOneShot(self, *_args, **_kwargs):
280 val = apply(misc2c.wxPyTimer_IsOneShot,(self,) + _args, _kwargs)
281 return val
282 def IsRunning(self, *_args, **_kwargs):
283 val = apply(misc2c.wxPyTimer_IsRunning,(self,) + _args, _kwargs)
284 return val
285 def SetOwner(self, *_args, **_kwargs):
286 val = apply(misc2c.wxPyTimer_SetOwner,(self,) + _args, _kwargs)
287 return val
288 def Start(self, *_args, **_kwargs):
289 val = apply(misc2c.wxPyTimer_Start,(self,) + _args, _kwargs)
290 return val
291 def Stop(self, *_args, **_kwargs):
292 val = apply(misc2c.wxPyTimer_Stop,(self,) + _args, _kwargs)
293 return val
294 def __repr__(self):
295 return "<C wxPyTimer instance at %s>" % (self.this,)
296 class wxPyTimer(wxPyTimerPtr):
297 def __init__(self,*_args,**_kwargs):
298 self.this = apply(misc2c.new_wxPyTimer,_args,_kwargs)
299 self.thisown = 1
300
301
302
303
304 class wxStopWatchPtr :
305 def __init__(self,this):
306 self.this = this
307 self.thisown = 0
308 def __del__(self,misc2c=misc2c):
309 if self.thisown == 1 :
310 misc2c.delete_wxStopWatch(self)
311 def Start(self, *_args, **_kwargs):
312 val = apply(misc2c.wxStopWatch_Start,(self,) + _args, _kwargs)
313 return val
314 def Pause(self, *_args, **_kwargs):
315 val = apply(misc2c.wxStopWatch_Pause,(self,) + _args, _kwargs)
316 return val
317 def Resume(self, *_args, **_kwargs):
318 val = apply(misc2c.wxStopWatch_Resume,(self,) + _args, _kwargs)
319 return val
320 def Time(self, *_args, **_kwargs):
321 val = apply(misc2c.wxStopWatch_Time,(self,) + _args, _kwargs)
322 return val
323 def __repr__(self):
324 return "<C wxStopWatch instance at %s>" % (self.this,)
325 class wxStopWatch(wxStopWatchPtr):
326 def __init__(self,*_args,**_kwargs):
327 self.this = apply(misc2c.new_wxStopWatch,_args,_kwargs)
328 self.thisown = 1
329
330
331
332
333 class wxLogPtr :
334 def __init__(self,this):
335 self.this = this
336 self.thisown = 0
337 def Flush(self, *_args, **_kwargs):
338 val = apply(misc2c.wxLog_Flush,(self,) + _args, _kwargs)
339 return val
340 def HasPendingMessages(self, *_args, **_kwargs):
341 val = apply(misc2c.wxLog_HasPendingMessages,(self,) + _args, _kwargs)
342 return val
343 def GetVerbose(self, *_args, **_kwargs):
344 val = apply(misc2c.wxLog_GetVerbose,(self,) + _args, _kwargs)
345 return val
346 def TimeStamp(self, *_args, **_kwargs):
347 val = apply(misc2c.wxLog_TimeStamp,(self,) + _args, _kwargs)
348 return val
349 def __repr__(self):
350 return "<C wxLog instance at %s>" % (self.this,)
351 class wxLog(wxLogPtr):
352 def __init__(self,*_args,**_kwargs):
353 self.this = apply(misc2c.new_wxLog,_args,_kwargs)
354 self.thisown = 1
355
356
357
358
359 class wxLogStderrPtr(wxLogPtr):
360 def __init__(self,this):
361 self.this = this
362 self.thisown = 0
363 def __repr__(self):
364 return "<C wxLogStderr instance at %s>" % (self.this,)
365 class wxLogStderr(wxLogStderrPtr):
366 def __init__(self,*_args,**_kwargs):
367 self.this = apply(misc2c.new_wxLogStderr,_args,_kwargs)
368 self.thisown = 1
369
370
371
372
373 class wxLogTextCtrlPtr(wxLogPtr):
374 def __init__(self,this):
375 self.this = this
376 self.thisown = 0
377 def __repr__(self):
378 return "<C wxLogTextCtrl instance at %s>" % (self.this,)
379 class wxLogTextCtrl(wxLogTextCtrlPtr):
380 def __init__(self,*_args,**_kwargs):
381 self.this = apply(misc2c.new_wxLogTextCtrl,_args,_kwargs)
382 self.thisown = 1
383
384
385
386
387 class wxLogGuiPtr(wxLogPtr):
388 def __init__(self,this):
389 self.this = this
390 self.thisown = 0
391 def __repr__(self):
392 return "<C wxLogGui instance at %s>" % (self.this,)
393 class wxLogGui(wxLogGuiPtr):
394 def __init__(self,*_args,**_kwargs):
395 self.this = apply(misc2c.new_wxLogGui,_args,_kwargs)
396 self.thisown = 1
397
398
399
400
401 class wxLogWindowPtr(wxLogPtr):
402 def __init__(self,this):
403 self.this = this
404 self.thisown = 0
405 def Show(self, *_args, **_kwargs):
406 val = apply(misc2c.wxLogWindow_Show,(self,) + _args, _kwargs)
407 return val
408 def GetFrame(self, *_args, **_kwargs):
409 val = apply(misc2c.wxLogWindow_GetFrame,(self,) + _args, _kwargs)
410 return val
411 def GetOldLog(self, *_args, **_kwargs):
412 val = apply(misc2c.wxLogWindow_GetOldLog,(self,) + _args, _kwargs)
413 if val: val = wxLogPtr(val)
414 return val
415 def IsPassingMessages(self, *_args, **_kwargs):
416 val = apply(misc2c.wxLogWindow_IsPassingMessages,(self,) + _args, _kwargs)
417 return val
418 def PassMessages(self, *_args, **_kwargs):
419 val = apply(misc2c.wxLogWindow_PassMessages,(self,) + _args, _kwargs)
420 return val
421 def __repr__(self):
422 return "<C wxLogWindow instance at %s>" % (self.this,)
423 class wxLogWindow(wxLogWindowPtr):
424 def __init__(self,*_args,**_kwargs):
425 self.this = apply(misc2c.new_wxLogWindow,_args,_kwargs)
426 self.thisown = 1
427
428
429
430
431 class wxLogChainPtr(wxLogPtr):
432 def __init__(self,this):
433 self.this = this
434 self.thisown = 0
435 def SetLog(self, *_args, **_kwargs):
436 val = apply(misc2c.wxLogChain_SetLog,(self,) + _args, _kwargs)
437 return val
438 def PassMessages(self, *_args, **_kwargs):
439 val = apply(misc2c.wxLogChain_PassMessages,(self,) + _args, _kwargs)
440 return val
441 def IsPassingMessages(self, *_args, **_kwargs):
442 val = apply(misc2c.wxLogChain_IsPassingMessages,(self,) + _args, _kwargs)
443 return val
444 def GetOldLog(self, *_args, **_kwargs):
445 val = apply(misc2c.wxLogChain_GetOldLog,(self,) + _args, _kwargs)
446 if val: val = wxLogPtr(val)
447 return val
448 def __repr__(self):
449 return "<C wxLogChain instance at %s>" % (self.this,)
450 class wxLogChain(wxLogChainPtr):
451 def __init__(self,*_args,**_kwargs):
452 self.this = apply(misc2c.new_wxLogChain,_args,_kwargs)
453 self.thisown = 1
454
455
456
457
458 class wxLogNullPtr :
459 def __init__(self,this):
460 self.this = this
461 self.thisown = 0
462 def __del__(self,misc2c=misc2c):
463 if self.thisown == 1 :
464 misc2c.delete_wxLogNull(self)
465 def __repr__(self):
466 return "<C wxLogNull instance at %s>" % (self.this,)
467 class wxLogNull(wxLogNullPtr):
468 def __init__(self,*_args,**_kwargs):
469 self.this = apply(misc2c.new_wxLogNull,_args,_kwargs)
470 self.thisown = 1
471
472
473
474
475 class wxPyLogPtr(wxLogPtr):
476 def __init__(self,this):
477 self.this = this
478 self.thisown = 0
479 def _setCallbackInfo(self, *_args, **_kwargs):
480 val = apply(misc2c.wxPyLog__setCallbackInfo,(self,) + _args, _kwargs)
481 return val
482 def Destroy(self, *_args, **_kwargs):
483 val = apply(misc2c.wxPyLog_Destroy,(self,) + _args, _kwargs)
484 return val
485 def __repr__(self):
486 return "<C wxPyLog instance at %s>" % (self.this,)
487 class wxPyLog(wxPyLogPtr):
488 def __init__(self,*_args,**_kwargs):
489 self.this = apply(misc2c.new_wxPyLog,_args,_kwargs)
490 self.thisown = 1
491 self._setCallbackInfo(self, wxPyLog)
492
493
494
495
496 class wxProcessEventPtr(wxEventPtr):
497 def __init__(self,this):
498 self.this = this
499 self.thisown = 0
500 def GetPid(self, *_args, **_kwargs):
501 val = apply(misc2c.wxProcessEvent_GetPid,(self,) + _args, _kwargs)
502 return val
503 def GetExitCode(self, *_args, **_kwargs):
504 val = apply(misc2c.wxProcessEvent_GetExitCode,(self,) + _args, _kwargs)
505 return val
506 def __setattr__(self,name,value):
507 if name == "m_pid" :
508 misc2c.wxProcessEvent_m_pid_set(self,value)
509 return
510 if name == "m_exitcode" :
511 misc2c.wxProcessEvent_m_exitcode_set(self,value)
512 return
513 self.__dict__[name] = value
514 def __getattr__(self,name):
515 if name == "m_pid" :
516 return misc2c.wxProcessEvent_m_pid_get(self)
517 if name == "m_exitcode" :
518 return misc2c.wxProcessEvent_m_exitcode_get(self)
519 raise AttributeError,name
520 def __repr__(self):
521 return "<C wxProcessEvent instance at %s>" % (self.this,)
522 class wxProcessEvent(wxProcessEventPtr):
523 def __init__(self,*_args,**_kwargs):
524 self.this = apply(misc2c.new_wxProcessEvent,_args,_kwargs)
525 self.thisown = 1
526
527
528
529
530 class wxProcessPtr(wxEvtHandlerPtr):
531 def __init__(self,this):
532 self.this = this
533 self.thisown = 0
534 def Destroy(self, *_args, **_kwargs):
535 val = apply(misc2c.wxProcess_Destroy,(self,) + _args, _kwargs)
536 return val
537 def _setCallbackInfo(self, *_args, **_kwargs):
538 val = apply(misc2c.wxProcess__setCallbackInfo,(self,) + _args, _kwargs)
539 return val
540 def base_OnTerminate(self, *_args, **_kwargs):
541 val = apply(misc2c.wxProcess_base_OnTerminate,(self,) + _args, _kwargs)
542 return val
543 def Redirect(self, *_args, **_kwargs):
544 val = apply(misc2c.wxProcess_Redirect,(self,) + _args, _kwargs)
545 return val
546 def IsRedirected(self, *_args, **_kwargs):
547 val = apply(misc2c.wxProcess_IsRedirected,(self,) + _args, _kwargs)
548 return val
549 def Detach(self, *_args, **_kwargs):
550 val = apply(misc2c.wxProcess_Detach,(self,) + _args, _kwargs)
551 return val
552 def GetInputStream(self, *_args, **_kwargs):
553 val = apply(misc2c.wxProcess_GetInputStream,(self,) + _args, _kwargs)
554 return val
555 def GetErrorStream(self, *_args, **_kwargs):
556 val = apply(misc2c.wxProcess_GetErrorStream,(self,) + _args, _kwargs)
557 return val
558 def GetOutputStream(self, *_args, **_kwargs):
559 val = apply(misc2c.wxProcess_GetOutputStream,(self,) + _args, _kwargs)
560 if val: val = wxOutputStreamPtr(val)
561 return val
562 def CloseOutput(self, *_args, **_kwargs):
563 val = apply(misc2c.wxProcess_CloseOutput,(self,) + _args, _kwargs)
564 return val
565 def __repr__(self):
566 return "<C wxProcess instance at %s>" % (self.this,)
567 class wxProcess(wxProcessPtr):
568 def __init__(self,*_args,**_kwargs):
569 self.this = apply(misc2c.new_wxProcess,_args,_kwargs)
570 self.thisown = 1
571 self._setCallbackInfo(self, wxProcess)
572
573
574
575
576 class wxJoystickPtr(wxObjectPtr):
577 def __init__(self,this):
578 self.this = this
579 self.thisown = 0
580 def __del__(self,misc2c=misc2c):
581 if self.thisown == 1 :
582 misc2c.delete_wxJoystick(self)
583 def GetPosition(self, *_args, **_kwargs):
584 val = apply(misc2c.wxJoystick_GetPosition,(self,) + _args, _kwargs)
585 if val: val = wxPointPtr(val) ; val.thisown = 1
586 return val
587 def GetZPosition(self, *_args, **_kwargs):
588 val = apply(misc2c.wxJoystick_GetZPosition,(self,) + _args, _kwargs)
589 return val
590 def GetButtonState(self, *_args, **_kwargs):
591 val = apply(misc2c.wxJoystick_GetButtonState,(self,) + _args, _kwargs)
592 return val
593 def GetPOVPosition(self, *_args, **_kwargs):
594 val = apply(misc2c.wxJoystick_GetPOVPosition,(self,) + _args, _kwargs)
595 return val
596 def GetPOVCTSPosition(self, *_args, **_kwargs):
597 val = apply(misc2c.wxJoystick_GetPOVCTSPosition,(self,) + _args, _kwargs)
598 return val
599 def GetRudderPosition(self, *_args, **_kwargs):
600 val = apply(misc2c.wxJoystick_GetRudderPosition,(self,) + _args, _kwargs)
601 return val
602 def GetUPosition(self, *_args, **_kwargs):
603 val = apply(misc2c.wxJoystick_GetUPosition,(self,) + _args, _kwargs)
604 return val
605 def GetVPosition(self, *_args, **_kwargs):
606 val = apply(misc2c.wxJoystick_GetVPosition,(self,) + _args, _kwargs)
607 return val
608 def GetMovementThreshold(self, *_args, **_kwargs):
609 val = apply(misc2c.wxJoystick_GetMovementThreshold,(self,) + _args, _kwargs)
610 return val
611 def SetMovementThreshold(self, *_args, **_kwargs):
612 val = apply(misc2c.wxJoystick_SetMovementThreshold,(self,) + _args, _kwargs)
613 return val
614 def IsOk(self, *_args, **_kwargs):
615 val = apply(misc2c.wxJoystick_IsOk,(self,) + _args, _kwargs)
616 return val
617 def GetNumberJoysticks(self, *_args, **_kwargs):
618 val = apply(misc2c.wxJoystick_GetNumberJoysticks,(self,) + _args, _kwargs)
619 return val
620 def GetManufacturerId(self, *_args, **_kwargs):
621 val = apply(misc2c.wxJoystick_GetManufacturerId,(self,) + _args, _kwargs)
622 return val
623 def GetProductId(self, *_args, **_kwargs):
624 val = apply(misc2c.wxJoystick_GetProductId,(self,) + _args, _kwargs)
625 return val
626 def GetProductName(self, *_args, **_kwargs):
627 val = apply(misc2c.wxJoystick_GetProductName,(self,) + _args, _kwargs)
628 return val
629 def GetXMin(self, *_args, **_kwargs):
630 val = apply(misc2c.wxJoystick_GetXMin,(self,) + _args, _kwargs)
631 return val
632 def GetYMin(self, *_args, **_kwargs):
633 val = apply(misc2c.wxJoystick_GetYMin,(self,) + _args, _kwargs)
634 return val
635 def GetZMin(self, *_args, **_kwargs):
636 val = apply(misc2c.wxJoystick_GetZMin,(self,) + _args, _kwargs)
637 return val
638 def GetXMax(self, *_args, **_kwargs):
639 val = apply(misc2c.wxJoystick_GetXMax,(self,) + _args, _kwargs)
640 return val
641 def GetYMax(self, *_args, **_kwargs):
642 val = apply(misc2c.wxJoystick_GetYMax,(self,) + _args, _kwargs)
643 return val
644 def GetZMax(self, *_args, **_kwargs):
645 val = apply(misc2c.wxJoystick_GetZMax,(self,) + _args, _kwargs)
646 return val
647 def GetNumberButtons(self, *_args, **_kwargs):
648 val = apply(misc2c.wxJoystick_GetNumberButtons,(self,) + _args, _kwargs)
649 return val
650 def GetNumberAxes(self, *_args, **_kwargs):
651 val = apply(misc2c.wxJoystick_GetNumberAxes,(self,) + _args, _kwargs)
652 return val
653 def GetMaxButtons(self, *_args, **_kwargs):
654 val = apply(misc2c.wxJoystick_GetMaxButtons,(self,) + _args, _kwargs)
655 return val
656 def GetMaxAxes(self, *_args, **_kwargs):
657 val = apply(misc2c.wxJoystick_GetMaxAxes,(self,) + _args, _kwargs)
658 return val
659 def GetPollingMin(self, *_args, **_kwargs):
660 val = apply(misc2c.wxJoystick_GetPollingMin,(self,) + _args, _kwargs)
661 return val
662 def GetPollingMax(self, *_args, **_kwargs):
663 val = apply(misc2c.wxJoystick_GetPollingMax,(self,) + _args, _kwargs)
664 return val
665 def GetRudderMin(self, *_args, **_kwargs):
666 val = apply(misc2c.wxJoystick_GetRudderMin,(self,) + _args, _kwargs)
667 return val
668 def GetRudderMax(self, *_args, **_kwargs):
669 val = apply(misc2c.wxJoystick_GetRudderMax,(self,) + _args, _kwargs)
670 return val
671 def GetUMin(self, *_args, **_kwargs):
672 val = apply(misc2c.wxJoystick_GetUMin,(self,) + _args, _kwargs)
673 return val
674 def GetUMax(self, *_args, **_kwargs):
675 val = apply(misc2c.wxJoystick_GetUMax,(self,) + _args, _kwargs)
676 return val
677 def GetVMin(self, *_args, **_kwargs):
678 val = apply(misc2c.wxJoystick_GetVMin,(self,) + _args, _kwargs)
679 return val
680 def GetVMax(self, *_args, **_kwargs):
681 val = apply(misc2c.wxJoystick_GetVMax,(self,) + _args, _kwargs)
682 return val
683 def HasRudder(self, *_args, **_kwargs):
684 val = apply(misc2c.wxJoystick_HasRudder,(self,) + _args, _kwargs)
685 return val
686 def HasZ(self, *_args, **_kwargs):
687 val = apply(misc2c.wxJoystick_HasZ,(self,) + _args, _kwargs)
688 return val
689 def HasU(self, *_args, **_kwargs):
690 val = apply(misc2c.wxJoystick_HasU,(self,) + _args, _kwargs)
691 return val
692 def HasV(self, *_args, **_kwargs):
693 val = apply(misc2c.wxJoystick_HasV,(self,) + _args, _kwargs)
694 return val
695 def HasPOV(self, *_args, **_kwargs):
696 val = apply(misc2c.wxJoystick_HasPOV,(self,) + _args, _kwargs)
697 return val
698 def HasPOV4Dir(self, *_args, **_kwargs):
699 val = apply(misc2c.wxJoystick_HasPOV4Dir,(self,) + _args, _kwargs)
700 return val
701 def HasPOVCTS(self, *_args, **_kwargs):
702 val = apply(misc2c.wxJoystick_HasPOVCTS,(self,) + _args, _kwargs)
703 return val
704 def SetCapture(self, *_args, **_kwargs):
705 val = apply(misc2c.wxJoystick_SetCapture,(self,) + _args, _kwargs)
706 return val
707 def ReleaseCapture(self, *_args, **_kwargs):
708 val = apply(misc2c.wxJoystick_ReleaseCapture,(self,) + _args, _kwargs)
709 return val
710 def __repr__(self):
711 return "<C wxJoystick instance at %s>" % (self.this,)
712 class wxJoystick(wxJoystickPtr):
713 def __init__(self,*_args,**_kwargs):
714 self.this = apply(misc2c.new_wxJoystick,_args,_kwargs)
715 self.thisown = 1
716
717
718
719
720 class wxWavePtr(wxObjectPtr):
721 def __init__(self,this):
722 self.this = this
723 self.thisown = 0
724 def __del__(self,misc2c=misc2c):
725 if self.thisown == 1 :
726 misc2c.delete_wxWave(self)
727 def IsOk(self, *_args, **_kwargs):
728 val = apply(misc2c.wxWave_IsOk,(self,) + _args, _kwargs)
729 return val
730 def Play(self, *_args, **_kwargs):
731 val = apply(misc2c.wxWave_Play,(self,) + _args, _kwargs)
732 return val
733 def __repr__(self):
734 return "<C wxWave instance at %s>" % (self.this,)
735 class wxWave(wxWavePtr):
736 def __init__(self,*_args,**_kwargs):
737 self.this = apply(misc2c.new_wxWave,_args,_kwargs)
738 self.thisown = 1
739
740
741
742
743 class wxFileTypeInfoPtr :
744 def __init__(self,this):
745 self.this = this
746 self.thisown = 0
747 def IsValid(self, *_args, **_kwargs):
748 val = apply(misc2c.wxFileTypeInfo_IsValid,(self,) + _args, _kwargs)
749 return val
750 def SetIcon(self, *_args, **_kwargs):
751 val = apply(misc2c.wxFileTypeInfo_SetIcon,(self,) + _args, _kwargs)
752 return val
753 def SetShortDesc(self, *_args, **_kwargs):
754 val = apply(misc2c.wxFileTypeInfo_SetShortDesc,(self,) + _args, _kwargs)
755 return val
756 def GetMimeType(self, *_args, **_kwargs):
757 val = apply(misc2c.wxFileTypeInfo_GetMimeType,(self,) + _args, _kwargs)
758 return val
759 def GetOpenCommand(self, *_args, **_kwargs):
760 val = apply(misc2c.wxFileTypeInfo_GetOpenCommand,(self,) + _args, _kwargs)
761 return val
762 def GetPrintCommand(self, *_args, **_kwargs):
763 val = apply(misc2c.wxFileTypeInfo_GetPrintCommand,(self,) + _args, _kwargs)
764 return val
765 def GetShortDesc(self, *_args, **_kwargs):
766 val = apply(misc2c.wxFileTypeInfo_GetShortDesc,(self,) + _args, _kwargs)
767 return val
768 def GetDescription(self, *_args, **_kwargs):
769 val = apply(misc2c.wxFileTypeInfo_GetDescription,(self,) + _args, _kwargs)
770 return val
771 def GetExtensions(self, *_args, **_kwargs):
772 val = apply(misc2c.wxFileTypeInfo_GetExtensions,(self,) + _args, _kwargs)
773 return val
774 def GetExtensionsCount(self, *_args, **_kwargs):
775 val = apply(misc2c.wxFileTypeInfo_GetExtensionsCount,(self,) + _args, _kwargs)
776 return val
777 def GetIconFile(self, *_args, **_kwargs):
778 val = apply(misc2c.wxFileTypeInfo_GetIconFile,(self,) + _args, _kwargs)
779 return val
780 def GetIconIndex(self, *_args, **_kwargs):
781 val = apply(misc2c.wxFileTypeInfo_GetIconIndex,(self,) + _args, _kwargs)
782 return val
783 def __repr__(self):
784 return "<C wxFileTypeInfo instance at %s>" % (self.this,)
785 class wxFileTypeInfo(wxFileTypeInfoPtr):
786 def __init__(self,*_args,**_kwargs):
787 self.this = apply(misc2c.new_wxFileTypeInfo,_args,_kwargs)
788 self.thisown = 1
789
790
791
792 def wxFileTypeInfoSequence(*_args,**_kwargs):
793 val = wxFileTypeInfoPtr(apply(misc2c.new_wxFileTypeInfoSequence,_args,_kwargs))
794 val.thisown = 1
795 return val
796
797 def wxNullFileTypeInfo(*_args,**_kwargs):
798 val = wxFileTypeInfoPtr(apply(misc2c.new_wxNullFileTypeInfo,_args,_kwargs))
799 val.thisown = 1
800 return val
801
802
803 class wxFileTypePtr :
804 def __init__(self,this):
805 self.this = this
806 self.thisown = 0
807 def GetMimeType(self, *_args, **_kwargs):
808 val = apply(misc2c.wxFileType_GetMimeType,(self,) + _args, _kwargs)
809 return val
810 def GetMimeTypes(self, *_args, **_kwargs):
811 val = apply(misc2c.wxFileType_GetMimeTypes,(self,) + _args, _kwargs)
812 return val
813 def GetExtensions(self, *_args, **_kwargs):
814 val = apply(misc2c.wxFileType_GetExtensions,(self,) + _args, _kwargs)
815 return val
816 def GetIcon(self, *_args, **_kwargs):
817 val = apply(misc2c.wxFileType_GetIcon,(self,) + _args, _kwargs)
818 if val: val = wxIconPtr(val) ; val.thisown = 1
819 return val
820 def GetIconInfo(self, *_args, **_kwargs):
821 val = apply(misc2c.wxFileType_GetIconInfo,(self,) + _args, _kwargs)
822 return val
823 def GetDescription(self, *_args, **_kwargs):
824 val = apply(misc2c.wxFileType_GetDescription,(self,) + _args, _kwargs)
825 return val
826 def GetOpenCommand(self, *_args, **_kwargs):
827 val = apply(misc2c.wxFileType_GetOpenCommand,(self,) + _args, _kwargs)
828 return val
829 def GetPrintCommand(self, *_args, **_kwargs):
830 val = apply(misc2c.wxFileType_GetPrintCommand,(self,) + _args, _kwargs)
831 return val
832 def GetAllCommands(self, *_args, **_kwargs):
833 val = apply(misc2c.wxFileType_GetAllCommands,(self,) + _args, _kwargs)
834 return val
835 def SetCommand(self, *_args, **_kwargs):
836 val = apply(misc2c.wxFileType_SetCommand,(self,) + _args, _kwargs)
837 return val
838 def SetDefaultIcon(self, *_args, **_kwargs):
839 val = apply(misc2c.wxFileType_SetDefaultIcon,(self,) + _args, _kwargs)
840 return val
841 def Unassociate(self, *_args, **_kwargs):
842 val = apply(misc2c.wxFileType_Unassociate,(self,) + _args, _kwargs)
843 return val
844 def __del__(self,misc2c=misc2c):
845 if self.thisown == 1 :
846 misc2c.delete_wxFileType(self)
847 def __repr__(self):
848 return "<C wxFileType instance at %s>" % (self.this,)
849 class wxFileType(wxFileTypePtr):
850 def __init__(self,*_args,**_kwargs):
851 self.this = apply(misc2c.new_wxFileType,_args,_kwargs)
852 self.thisown = 1
853
854
855
856
857 class wxMimeTypesManagerPtr :
858 def __init__(self,this):
859 self.this = this
860 self.thisown = 0
861 def Initialize(self, *_args, **_kwargs):
862 val = apply(misc2c.wxMimeTypesManager_Initialize,(self,) + _args, _kwargs)
863 return val
864 def ClearData(self, *_args, **_kwargs):
865 val = apply(misc2c.wxMimeTypesManager_ClearData,(self,) + _args, _kwargs)
866 return val
867 def GetFileTypeFromExtension(self, *_args, **_kwargs):
868 val = apply(misc2c.wxMimeTypesManager_GetFileTypeFromExtension,(self,) + _args, _kwargs)
869 if val: val = wxFileTypePtr(val) ; val.thisown = 1
870 return val
871 def GetFileTypeFromMimeType(self, *_args, **_kwargs):
872 val = apply(misc2c.wxMimeTypesManager_GetFileTypeFromMimeType,(self,) + _args, _kwargs)
873 if val: val = wxFileTypePtr(val) ; val.thisown = 1
874 return val
875 def ReadMailcap(self, *_args, **_kwargs):
876 val = apply(misc2c.wxMimeTypesManager_ReadMailcap,(self,) + _args, _kwargs)
877 return val
878 def ReadMimeTypes(self, *_args, **_kwargs):
879 val = apply(misc2c.wxMimeTypesManager_ReadMimeTypes,(self,) + _args, _kwargs)
880 return val
881 def EnumAllFileTypes(self, *_args, **_kwargs):
882 val = apply(misc2c.wxMimeTypesManager_EnumAllFileTypes,(self,) + _args, _kwargs)
883 return val
884 def AddFallback(self, *_args, **_kwargs):
885 val = apply(misc2c.wxMimeTypesManager_AddFallback,(self,) + _args, _kwargs)
886 return val
887 def Associate(self, *_args, **_kwargs):
888 val = apply(misc2c.wxMimeTypesManager_Associate,(self,) + _args, _kwargs)
889 if val: val = wxFileTypePtr(val) ; val.thisown = 1
890 return val
891 def Unassociate(self, *_args, **_kwargs):
892 val = apply(misc2c.wxMimeTypesManager_Unassociate,(self,) + _args, _kwargs)
893 return val
894 def __del__(self,misc2c=misc2c):
895 if self.thisown == 1 :
896 misc2c.delete_wxMimeTypesManager(self)
897 def __repr__(self):
898 return "<C wxMimeTypesManager instance at %s>" % (self.this,)
899 class wxMimeTypesManager(wxMimeTypesManagerPtr):
900 def __init__(self,*_args,**_kwargs):
901 self.this = apply(misc2c.new_wxMimeTypesManager,_args,_kwargs)
902 self.thisown = 1
903
904
905
906
907 class wxArtProviderPtr(wxObjectPtr):
908 def __init__(self,this):
909 self.this = this
910 self.thisown = 0
911 def _setCallbackInfo(self, *_args, **_kwargs):
912 val = apply(misc2c.wxArtProvider__setCallbackInfo,(self,) + _args, _kwargs)
913 return val
914 def __repr__(self):
915 return "<C wxArtProvider instance at %s>" % (self.this,)
916 class wxArtProvider(wxArtProviderPtr):
917 def __init__(self,*_args,**_kwargs):
918 self.this = apply(misc2c.new_wxArtProvider,_args,_kwargs)
919 self.thisown = 1
920 self._setCallbackInfo(self, wxArtProvider)
921
922
923
924
925 class wxFileHistoryPtr(wxObjectPtr):
926 def __init__(self,this):
927 self.this = this
928 self.thisown = 0
929 def __del__(self,misc2c=misc2c):
930 if self.thisown == 1 :
931 misc2c.delete_wxFileHistory(self)
932 def AddFileToHistory(self, *_args, **_kwargs):
933 val = apply(misc2c.wxFileHistory_AddFileToHistory,(self,) + _args, _kwargs)
934 return val
935 def RemoveFileFromHistory(self, *_args, **_kwargs):
936 val = apply(misc2c.wxFileHistory_RemoveFileFromHistory,(self,) + _args, _kwargs)
937 return val
938 def GetMaxFiles(self, *_args, **_kwargs):
939 val = apply(misc2c.wxFileHistory_GetMaxFiles,(self,) + _args, _kwargs)
940 return val
941 def UseMenu(self, *_args, **_kwargs):
942 val = apply(misc2c.wxFileHistory_UseMenu,(self,) + _args, _kwargs)
943 return val
944 def RemoveMenu(self, *_args, **_kwargs):
945 val = apply(misc2c.wxFileHistory_RemoveMenu,(self,) + _args, _kwargs)
946 return val
947 def Load(self, *_args, **_kwargs):
948 val = apply(misc2c.wxFileHistory_Load,(self,) + _args, _kwargs)
949 return val
950 def Save(self, *_args, **_kwargs):
951 val = apply(misc2c.wxFileHistory_Save,(self,) + _args, _kwargs)
952 return val
953 def AddFilesToMenu(self, *_args, **_kwargs):
954 val = apply(misc2c.wxFileHistory_AddFilesToMenu,(self,) + _args, _kwargs)
955 return val
956 def AddFilesToThisMenu(self, *_args, **_kwargs):
957 val = apply(misc2c.wxFileHistory_AddFilesToThisMenu,(self,) + _args, _kwargs)
958 return val
959 def GetHistoryFile(self, *_args, **_kwargs):
960 val = apply(misc2c.wxFileHistory_GetHistoryFile,(self,) + _args, _kwargs)
961 return val
962 def GetCount(self, *_args, **_kwargs):
963 val = apply(misc2c.wxFileHistory_GetCount,(self,) + _args, _kwargs)
964 return val
965 def GetNoHistoryFiles(self, *_args, **_kwargs):
966 val = apply(misc2c.wxFileHistory_GetNoHistoryFiles,(self,) + _args, _kwargs)
967 return val
968 def __repr__(self):
969 return "<C wxFileHistory instance at %s>" % (self.this,)
970 class wxFileHistory(wxFileHistoryPtr):
971 def __init__(self,*_args,**_kwargs):
972 self.this = apply(misc2c.new_wxFileHistory,_args,_kwargs)
973 self.thisown = 1
974
975
976
977
978
979
980 #-------------- FUNCTION WRAPPERS ------------------
981
982 wxFileSelector = misc2c.wxFileSelector
983
984 wxLoadFileSelector = misc2c.wxLoadFileSelector
985
986 wxSaveFileSelector = misc2c.wxSaveFileSelector
987
988 wxDirSelector = misc2c.wxDirSelector
989
990 wxGetTextFromUser = misc2c.wxGetTextFromUser
991
992 wxGetPasswordFromUser = misc2c.wxGetPasswordFromUser
993
994 wxGetSingleChoice = misc2c.wxGetSingleChoice
995
996 wxGetSingleChoiceIndex = misc2c.wxGetSingleChoiceIndex
997
998 wxMessageBox = misc2c.wxMessageBox
999
1000 wxGetNumberFromUser = misc2c.wxGetNumberFromUser
1001
1002 wxColourDisplay = misc2c.wxColourDisplay
1003
1004 wxDisplayDepth = misc2c.wxDisplayDepth
1005
1006 wxGetDisplayDepth = misc2c.wxGetDisplayDepth
1007
1008 wxDisplaySize = misc2c.wxDisplaySize
1009
1010 def wxGetDisplaySize(*_args, **_kwargs):
1011 val = apply(misc2c.wxGetDisplaySize,_args,_kwargs)
1012 if val: val = wxSizePtr(val); val.thisown = 1
1013 return val
1014
1015 wxDisplaySizeMM = misc2c.wxDisplaySizeMM
1016
1017 def wxGetDisplaySizeMM(*_args, **_kwargs):
1018 val = apply(misc2c.wxGetDisplaySizeMM,_args,_kwargs)
1019 if val: val = wxSizePtr(val); val.thisown = 1
1020 return val
1021
1022 wxClientDisplayRect = misc2c.wxClientDisplayRect
1023
1024 def wxGetClientDisplayRect(*_args, **_kwargs):
1025 val = apply(misc2c.wxGetClientDisplayRect,_args,_kwargs)
1026 if val: val = wxRectPtr(val); val.thisown = 1
1027 return val
1028
1029 wxSetCursor = misc2c.wxSetCursor
1030
1031 wxBeginBusyCursor = misc2c.wxBeginBusyCursor
1032
1033 def wxGetActiveWindow(*_args, **_kwargs):
1034 val = apply(misc2c.wxGetActiveWindow,_args,_kwargs)
1035 return val
1036
1037 def wxGenericFindWindowAtPoint(*_args, **_kwargs):
1038 val = apply(misc2c.wxGenericFindWindowAtPoint,_args,_kwargs)
1039 return val
1040
1041 def wxFindWindowAtPoint(*_args, **_kwargs):
1042 val = apply(misc2c.wxFindWindowAtPoint,_args,_kwargs)
1043 return val
1044
1045 def wxGetTopLevelParent(*_args, **_kwargs):
1046 val = apply(misc2c.wxGetTopLevelParent,_args,_kwargs)
1047 return val
1048
1049 wxResourceAddIdentifier = misc2c.wxResourceAddIdentifier
1050
1051 wxResourceClear = misc2c.wxResourceClear
1052
1053 def wxResourceCreateBitmap(*_args, **_kwargs):
1054 val = apply(misc2c.wxResourceCreateBitmap,_args,_kwargs)
1055 if val: val = wxBitmapPtr(val); val.thisown = 1
1056 return val
1057
1058 def wxResourceCreateIcon(*_args, **_kwargs):
1059 val = apply(misc2c.wxResourceCreateIcon,_args,_kwargs)
1060 if val: val = wxIconPtr(val); val.thisown = 1
1061 return val
1062
1063 def wxResourceCreateMenuBar(*_args, **_kwargs):
1064 val = apply(misc2c.wxResourceCreateMenuBar,_args,_kwargs)
1065 return val
1066
1067 wxResourceGetIdentifier = misc2c.wxResourceGetIdentifier
1068
1069 wxResourceParseData = misc2c.wxResourceParseData
1070
1071 wxResourceParseFile = misc2c.wxResourceParseFile
1072
1073 wxResourceParseString = misc2c.wxResourceParseString
1074
1075 wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime
1076
1077 wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime
1078
1079 wxSafeYield = misc2c.wxSafeYield
1080
1081 wxPostEvent = misc2c.wxPostEvent
1082
1083 wxWakeUpIdle = misc2c.wxWakeUpIdle
1084
1085 wxMutexGuiEnter = misc2c.wxMutexGuiEnter
1086
1087 wxMutexGuiLeave = misc2c.wxMutexGuiLeave
1088
1089 wxThread_IsMain = misc2c.wxThread_IsMain
1090
1091 wxShowTip = misc2c.wxShowTip
1092
1093 def wxCreateFileTipProvider(*_args, **_kwargs):
1094 val = apply(misc2c.wxCreateFileTipProvider,_args,_kwargs)
1095 if val: val = wxTipProviderPtr(val); val.thisown = 1
1096 return val
1097
1098 wxSysErrorCode = misc2c.wxSysErrorCode
1099
1100 wxSysErrorMsg = misc2c.wxSysErrorMsg
1101
1102 wxLogFatalError = misc2c.wxLogFatalError
1103
1104 wxLogError = misc2c.wxLogError
1105
1106 wxLogWarning = misc2c.wxLogWarning
1107
1108 wxLogMessage = misc2c.wxLogMessage
1109
1110 wxLogInfo = misc2c.wxLogInfo
1111
1112 wxLogVerbose = misc2c.wxLogVerbose
1113
1114 wxLogStatus = misc2c.wxLogStatus
1115
1116 wxLogStatusFrame = misc2c.wxLogStatusFrame
1117
1118 wxLogSysError = misc2c.wxLogSysError
1119
1120 wxLogTrace = misc2c.wxLogTrace
1121
1122 wxLogTraceMask = misc2c.wxLogTraceMask
1123
1124 wxLogGeneric = misc2c.wxLogGeneric
1125
1126 wxSafeShowMessage = misc2c.wxSafeShowMessage
1127
1128 wxExecute = misc2c.wxExecute
1129
1130 def wxWaveData(*_args, **_kwargs):
1131 val = apply(misc2c.wxWaveData,_args,_kwargs)
1132 if val: val = wxWavePtr(val); val.thisown = 1
1133 return val
1134
1135 def wxSystemSettings_GetColour(*_args, **_kwargs):
1136 val = apply(misc2c.wxSystemSettings_GetColour,_args,_kwargs)
1137 if val: val = wxColourPtr(val); val.thisown = 1
1138 return val
1139
1140 def wxSystemSettings_GetFont(*_args, **_kwargs):
1141 val = apply(misc2c.wxSystemSettings_GetFont,_args,_kwargs)
1142 if val: val = wxFontPtr(val); val.thisown = 1
1143 return val
1144
1145 wxSystemSettings_GetMetric = misc2c.wxSystemSettings_GetMetric
1146
1147 wxSystemSettings_HasFeature = misc2c.wxSystemSettings_HasFeature
1148
1149 wxSystemSettings_GetScreenType = misc2c.wxSystemSettings_GetScreenType
1150
1151 wxSystemSettings_SetScreenType = misc2c.wxSystemSettings_SetScreenType
1152
1153 wxToolTip_Enable = misc2c.wxToolTip_Enable
1154
1155 wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
1156
1157 wxLog_IsEnabled = misc2c.wxLog_IsEnabled
1158
1159 wxLog_EnableLogging = misc2c.wxLog_EnableLogging
1160
1161 wxLog_OnLog = misc2c.wxLog_OnLog
1162
1163 wxLog_FlushActive = misc2c.wxLog_FlushActive
1164
1165 def wxLog_GetActiveTarget(*_args, **_kwargs):
1166 val = apply(misc2c.wxLog_GetActiveTarget,_args,_kwargs)
1167 if val: val = wxLogPtr(val)
1168 return val
1169
1170 def wxLog_SetActiveTarget(*_args, **_kwargs):
1171 val = apply(misc2c.wxLog_SetActiveTarget,_args,_kwargs)
1172 if val: val = wxLogPtr(val)
1173 return val
1174
1175 wxLog_Suspend = misc2c.wxLog_Suspend
1176
1177 wxLog_Resume = misc2c.wxLog_Resume
1178
1179 wxLog_SetVerbose = misc2c.wxLog_SetVerbose
1180
1181 wxLog_DontCreateOnDemand = misc2c.wxLog_DontCreateOnDemand
1182
1183 wxLog_SetTraceMask = misc2c.wxLog_SetTraceMask
1184
1185 wxLog_AddTraceMask = misc2c.wxLog_AddTraceMask
1186
1187 wxLog_RemoveTraceMask = misc2c.wxLog_RemoveTraceMask
1188
1189 wxLog_ClearTraceMasks = misc2c.wxLog_ClearTraceMasks
1190
1191 wxLog_SetTimestamp = misc2c.wxLog_SetTimestamp
1192
1193 wxLog_GetTimestamp = misc2c.wxLog_GetTimestamp
1194
1195 wxLog_GetTraceMask = misc2c.wxLog_GetTraceMask
1196
1197 wxLog_IsAllowedTraceMask = misc2c.wxLog_IsAllowedTraceMask
1198
1199 wxProcess_Kill = misc2c.wxProcess_Kill
1200
1201 wxProcess_Exists = misc2c.wxProcess_Exists
1202
1203 def wxProcess_Open(*_args, **_kwargs):
1204 val = apply(misc2c.wxProcess_Open,_args,_kwargs)
1205 if val: val = wxProcessPtr(val)
1206 return val
1207
1208 wxFileType_ExpandCommand = misc2c.wxFileType_ExpandCommand
1209
1210 wxMimeTypesManager_IsOfType = misc2c.wxMimeTypesManager_IsOfType
1211
1212 wxArtProvider_PushProvider = misc2c.wxArtProvider_PushProvider
1213
1214 wxArtProvider_PopProvider = misc2c.wxArtProvider_PopProvider
1215
1216 wxArtProvider_RemoveProvider = misc2c.wxArtProvider_RemoveProvider
1217
1218 def wxArtProvider_GetBitmap(*_args, **_kwargs):
1219 val = apply(misc2c.wxArtProvider_GetBitmap,_args,_kwargs)
1220 if val: val = wxBitmapPtr(val); val.thisown = 1
1221 return val
1222
1223 def wxArtProvider_GetIcon(*_args, **_kwargs):
1224 val = apply(misc2c.wxArtProvider_GetIcon,_args,_kwargs)
1225 if val: val = wxIconPtr(val); val.thisown = 1
1226 return val
1227
1228 wxArtProvider_CleanUpProviders = misc2c.wxArtProvider_CleanUpProviders
1229
1230
1231
1232 #-------------- VARIABLE WRAPPERS ------------------
1233
1234 wxSYS_OEM_FIXED_FONT = misc2c.wxSYS_OEM_FIXED_FONT
1235 wxSYS_ANSI_FIXED_FONT = misc2c.wxSYS_ANSI_FIXED_FONT
1236 wxSYS_ANSI_VAR_FONT = misc2c.wxSYS_ANSI_VAR_FONT
1237 wxSYS_SYSTEM_FONT = misc2c.wxSYS_SYSTEM_FONT
1238 wxSYS_DEVICE_DEFAULT_FONT = misc2c.wxSYS_DEVICE_DEFAULT_FONT
1239 wxSYS_DEFAULT_PALETTE = misc2c.wxSYS_DEFAULT_PALETTE
1240 wxSYS_SYSTEM_FIXED_FONT = misc2c.wxSYS_SYSTEM_FIXED_FONT
1241 wxSYS_DEFAULT_GUI_FONT = misc2c.wxSYS_DEFAULT_GUI_FONT
1242 wxSYS_COLOUR_SCROLLBAR = misc2c.wxSYS_COLOUR_SCROLLBAR
1243 wxSYS_COLOUR_BACKGROUND = misc2c.wxSYS_COLOUR_BACKGROUND
1244 wxSYS_COLOUR_DESKTOP = misc2c.wxSYS_COLOUR_DESKTOP
1245 wxSYS_COLOUR_ACTIVECAPTION = misc2c.wxSYS_COLOUR_ACTIVECAPTION
1246 wxSYS_COLOUR_INACTIVECAPTION = misc2c.wxSYS_COLOUR_INACTIVECAPTION
1247 wxSYS_COLOUR_MENU = misc2c.wxSYS_COLOUR_MENU
1248 wxSYS_COLOUR_WINDOW = misc2c.wxSYS_COLOUR_WINDOW
1249 wxSYS_COLOUR_WINDOWFRAME = misc2c.wxSYS_COLOUR_WINDOWFRAME
1250 wxSYS_COLOUR_MENUTEXT = misc2c.wxSYS_COLOUR_MENUTEXT
1251 wxSYS_COLOUR_WINDOWTEXT = misc2c.wxSYS_COLOUR_WINDOWTEXT
1252 wxSYS_COLOUR_CAPTIONTEXT = misc2c.wxSYS_COLOUR_CAPTIONTEXT
1253 wxSYS_COLOUR_ACTIVEBORDER = misc2c.wxSYS_COLOUR_ACTIVEBORDER
1254 wxSYS_COLOUR_INACTIVEBORDER = misc2c.wxSYS_COLOUR_INACTIVEBORDER
1255 wxSYS_COLOUR_APPWORKSPACE = misc2c.wxSYS_COLOUR_APPWORKSPACE
1256 wxSYS_COLOUR_HIGHLIGHT = misc2c.wxSYS_COLOUR_HIGHLIGHT
1257 wxSYS_COLOUR_HIGHLIGHTTEXT = misc2c.wxSYS_COLOUR_HIGHLIGHTTEXT
1258 wxSYS_COLOUR_BTNFACE = misc2c.wxSYS_COLOUR_BTNFACE
1259 wxSYS_COLOUR_3DFACE = misc2c.wxSYS_COLOUR_3DFACE
1260 wxSYS_COLOUR_BTNSHADOW = misc2c.wxSYS_COLOUR_BTNSHADOW
1261 wxSYS_COLOUR_3DSHADOW = misc2c.wxSYS_COLOUR_3DSHADOW
1262 wxSYS_COLOUR_GRAYTEXT = misc2c.wxSYS_COLOUR_GRAYTEXT
1263 wxSYS_COLOUR_BTNTEXT = misc2c.wxSYS_COLOUR_BTNTEXT
1264 wxSYS_COLOUR_INACTIVECAPTIONTEXT = misc2c.wxSYS_COLOUR_INACTIVECAPTIONTEXT
1265 wxSYS_COLOUR_BTNHIGHLIGHT = misc2c.wxSYS_COLOUR_BTNHIGHLIGHT
1266 wxSYS_COLOUR_BTNHILIGHT = misc2c.wxSYS_COLOUR_BTNHILIGHT
1267 wxSYS_COLOUR_3DHIGHLIGHT = misc2c.wxSYS_COLOUR_3DHIGHLIGHT
1268 wxSYS_COLOUR_3DHILIGHT = misc2c.wxSYS_COLOUR_3DHILIGHT
1269 wxSYS_COLOUR_3DDKSHADOW = misc2c.wxSYS_COLOUR_3DDKSHADOW
1270 wxSYS_COLOUR_3DLIGHT = misc2c.wxSYS_COLOUR_3DLIGHT
1271 wxSYS_COLOUR_INFOTEXT = misc2c.wxSYS_COLOUR_INFOTEXT
1272 wxSYS_COLOUR_INFOBK = misc2c.wxSYS_COLOUR_INFOBK
1273 wxSYS_COLOUR_LISTBOX = misc2c.wxSYS_COLOUR_LISTBOX
1274 wxSYS_COLOUR_HOTLIGHT = misc2c.wxSYS_COLOUR_HOTLIGHT
1275 wxSYS_COLOUR_GRADIENTACTIVECAPTION = misc2c.wxSYS_COLOUR_GRADIENTACTIVECAPTION
1276 wxSYS_COLOUR_GRADIENTINACTIVECAPTION = misc2c.wxSYS_COLOUR_GRADIENTINACTIVECAPTION
1277 wxSYS_COLOUR_MENUHILIGHT = misc2c.wxSYS_COLOUR_MENUHILIGHT
1278 wxSYS_COLOUR_MENUBAR = misc2c.wxSYS_COLOUR_MENUBAR
1279 wxSYS_COLOUR_MAX = misc2c.wxSYS_COLOUR_MAX
1280 wxSYS_MOUSE_BUTTONS = misc2c.wxSYS_MOUSE_BUTTONS
1281 wxSYS_BORDER_X = misc2c.wxSYS_BORDER_X
1282 wxSYS_BORDER_Y = misc2c.wxSYS_BORDER_Y
1283 wxSYS_CURSOR_X = misc2c.wxSYS_CURSOR_X
1284 wxSYS_CURSOR_Y = misc2c.wxSYS_CURSOR_Y
1285 wxSYS_DCLICK_X = misc2c.wxSYS_DCLICK_X
1286 wxSYS_DCLICK_Y = misc2c.wxSYS_DCLICK_Y
1287 wxSYS_DRAG_X = misc2c.wxSYS_DRAG_X
1288 wxSYS_DRAG_Y = misc2c.wxSYS_DRAG_Y
1289 wxSYS_EDGE_X = misc2c.wxSYS_EDGE_X
1290 wxSYS_EDGE_Y = misc2c.wxSYS_EDGE_Y
1291 wxSYS_HSCROLL_ARROW_X = misc2c.wxSYS_HSCROLL_ARROW_X
1292 wxSYS_HSCROLL_ARROW_Y = misc2c.wxSYS_HSCROLL_ARROW_Y
1293 wxSYS_HTHUMB_X = misc2c.wxSYS_HTHUMB_X
1294 wxSYS_ICON_X = misc2c.wxSYS_ICON_X
1295 wxSYS_ICON_Y = misc2c.wxSYS_ICON_Y
1296 wxSYS_ICONSPACING_X = misc2c.wxSYS_ICONSPACING_X
1297 wxSYS_ICONSPACING_Y = misc2c.wxSYS_ICONSPACING_Y
1298 wxSYS_WINDOWMIN_X = misc2c.wxSYS_WINDOWMIN_X
1299 wxSYS_WINDOWMIN_Y = misc2c.wxSYS_WINDOWMIN_Y
1300 wxSYS_SCREEN_X = misc2c.wxSYS_SCREEN_X
1301 wxSYS_SCREEN_Y = misc2c.wxSYS_SCREEN_Y
1302 wxSYS_FRAMESIZE_X = misc2c.wxSYS_FRAMESIZE_X
1303 wxSYS_FRAMESIZE_Y = misc2c.wxSYS_FRAMESIZE_Y
1304 wxSYS_SMALLICON_X = misc2c.wxSYS_SMALLICON_X
1305 wxSYS_SMALLICON_Y = misc2c.wxSYS_SMALLICON_Y
1306 wxSYS_HSCROLL_Y = misc2c.wxSYS_HSCROLL_Y
1307 wxSYS_VSCROLL_X = misc2c.wxSYS_VSCROLL_X
1308 wxSYS_VSCROLL_ARROW_X = misc2c.wxSYS_VSCROLL_ARROW_X
1309 wxSYS_VSCROLL_ARROW_Y = misc2c.wxSYS_VSCROLL_ARROW_Y
1310 wxSYS_VTHUMB_Y = misc2c.wxSYS_VTHUMB_Y
1311 wxSYS_CAPTION_Y = misc2c.wxSYS_CAPTION_Y
1312 wxSYS_MENU_Y = misc2c.wxSYS_MENU_Y
1313 wxSYS_NETWORK_PRESENT = misc2c.wxSYS_NETWORK_PRESENT
1314 wxSYS_PENWINDOWS_PRESENT = misc2c.wxSYS_PENWINDOWS_PRESENT
1315 wxSYS_SHOW_SOUNDS = misc2c.wxSYS_SHOW_SOUNDS
1316 wxSYS_SWAP_BUTTONS = misc2c.wxSYS_SWAP_BUTTONS
1317 wxSYS_CAN_DRAW_FRAME_DECORATIONS = misc2c.wxSYS_CAN_DRAW_FRAME_DECORATIONS
1318 wxSYS_CAN_ICONIZE_FRAME = misc2c.wxSYS_CAN_ICONIZE_FRAME
1319 wxSYS_SCREEN_NONE = misc2c.wxSYS_SCREEN_NONE
1320 wxSYS_SCREEN_TINY = misc2c.wxSYS_SCREEN_TINY
1321 wxSYS_SCREEN_PDA = misc2c.wxSYS_SCREEN_PDA
1322 wxSYS_SCREEN_SMALL = misc2c.wxSYS_SCREEN_SMALL
1323 wxSYS_SCREEN_DESKTOP = misc2c.wxSYS_SCREEN_DESKTOP
1324 wxLOG_FatalError = misc2c.wxLOG_FatalError
1325 wxLOG_Error = misc2c.wxLOG_Error
1326 wxLOG_Warning = misc2c.wxLOG_Warning
1327 wxLOG_Message = misc2c.wxLOG_Message
1328 wxLOG_Info = misc2c.wxLOG_Info
1329 wxLOG_Status = misc2c.wxLOG_Status
1330 wxLOG_Debug = misc2c.wxLOG_Debug
1331 wxLOG_Trace = misc2c.wxLOG_Trace
1332 wxLOG_Progress = misc2c.wxLOG_Progress
1333 wxLOG_User = misc2c.wxLOG_User
1334 wxTRACE_MemAlloc = misc2c.wxTRACE_MemAlloc
1335 wxTRACE_Messages = misc2c.wxTRACE_Messages
1336 wxTRACE_ResAlloc = misc2c.wxTRACE_ResAlloc
1337 wxTRACE_RefCount = misc2c.wxTRACE_RefCount
1338 wxTraceMemAlloc = misc2c.wxTraceMemAlloc
1339 wxTraceMessages = misc2c.wxTraceMessages
1340 wxTraceResAlloc = misc2c.wxTraceResAlloc
1341 wxTraceRefCount = misc2c.wxTraceRefCount
1342 wxKILL_OK = misc2c.wxKILL_OK
1343 wxKILL_BAD_SIGNAL = misc2c.wxKILL_BAD_SIGNAL
1344 wxKILL_ACCESS_DENIED = misc2c.wxKILL_ACCESS_DENIED
1345 wxKILL_NO_PROCESS = misc2c.wxKILL_NO_PROCESS
1346 wxKILL_ERROR = misc2c.wxKILL_ERROR
1347 wxSIGNONE = misc2c.wxSIGNONE
1348 wxSIGHUP = misc2c.wxSIGHUP
1349 wxSIGINT = misc2c.wxSIGINT
1350 wxSIGQUIT = misc2c.wxSIGQUIT
1351 wxSIGILL = misc2c.wxSIGILL
1352 wxSIGTRAP = misc2c.wxSIGTRAP
1353 wxSIGABRT = misc2c.wxSIGABRT
1354 wxSIGIOT = misc2c.wxSIGIOT
1355 wxSIGEMT = misc2c.wxSIGEMT
1356 wxSIGFPE = misc2c.wxSIGFPE
1357 wxSIGKILL = misc2c.wxSIGKILL
1358 wxSIGBUS = misc2c.wxSIGBUS
1359 wxSIGSEGV = misc2c.wxSIGSEGV
1360 wxSIGSYS = misc2c.wxSIGSYS
1361 wxSIGPIPE = misc2c.wxSIGPIPE
1362 wxSIGALRM = misc2c.wxSIGALRM
1363 wxSIGTERM = misc2c.wxSIGTERM
1364 wxEVT_END_PROCESS = misc2c.wxEVT_END_PROCESS
1365 wxEXEC_ASYNC = misc2c.wxEXEC_ASYNC
1366 wxEXEC_SYNC = misc2c.wxEXEC_SYNC
1367 wxEXEC_NOHIDE = misc2c.wxEXEC_NOHIDE
1368 wxEXEC_MAKE_GROUP_LEADER = misc2c.wxEXEC_MAKE_GROUP_LEADER
1369 wxJOYSTICK1 = misc2c.wxJOYSTICK1
1370 wxJOYSTICK2 = misc2c.wxJOYSTICK2
1371 wxJOY_BUTTON_ANY = misc2c.wxJOY_BUTTON_ANY
1372 wxJOY_BUTTON1 = misc2c.wxJOY_BUTTON1
1373 wxJOY_BUTTON2 = misc2c.wxJOY_BUTTON2
1374 wxJOY_BUTTON3 = misc2c.wxJOY_BUTTON3
1375 wxJOY_BUTTON4 = misc2c.wxJOY_BUTTON4
1376 wxMAILCAP_STANDARD = misc2c.wxMAILCAP_STANDARD
1377 wxMAILCAP_NETSCAPE = misc2c.wxMAILCAP_NETSCAPE
1378 wxMAILCAP_KDE = misc2c.wxMAILCAP_KDE
1379 wxMAILCAP_GNOME = misc2c.wxMAILCAP_GNOME
1380 wxMAILCAP_ALL = misc2c.wxMAILCAP_ALL
1381 cvar = misc2c.cvar
1382 wxTheMimeTypesManager = wxMimeTypesManagerPtr(misc2c.cvar.wxTheMimeTypesManager)
1383 wxART_TOOLBAR = misc2c.wxART_TOOLBAR
1384 wxART_MENU = misc2c.wxART_MENU
1385 wxART_FRAME_ICON = misc2c.wxART_FRAME_ICON
1386 wxART_CMN_DIALOG = misc2c.wxART_CMN_DIALOG
1387 wxART_HELP_BROWSER = misc2c.wxART_HELP_BROWSER
1388 wxART_MESSAGE_BOX = misc2c.wxART_MESSAGE_BOX
1389 wxART_OTHER = misc2c.wxART_OTHER
1390 wxART_ADD_BOOKMARK = misc2c.wxART_ADD_BOOKMARK
1391 wxART_DEL_BOOKMARK = misc2c.wxART_DEL_BOOKMARK
1392 wxART_HELP_SIDE_PANEL = misc2c.wxART_HELP_SIDE_PANEL
1393 wxART_HELP_SETTINGS = misc2c.wxART_HELP_SETTINGS
1394 wxART_HELP_BOOK = misc2c.wxART_HELP_BOOK
1395 wxART_HELP_FOLDER = misc2c.wxART_HELP_FOLDER
1396 wxART_HELP_PAGE = misc2c.wxART_HELP_PAGE
1397 wxART_GO_BACK = misc2c.wxART_GO_BACK
1398 wxART_GO_FORWARD = misc2c.wxART_GO_FORWARD
1399 wxART_GO_UP = misc2c.wxART_GO_UP
1400 wxART_GO_DOWN = misc2c.wxART_GO_DOWN
1401 wxART_GO_TO_PARENT = misc2c.wxART_GO_TO_PARENT
1402 wxART_GO_HOME = misc2c.wxART_GO_HOME
1403 wxART_FILE_OPEN = misc2c.wxART_FILE_OPEN
1404 wxART_PRINT = misc2c.wxART_PRINT
1405 wxART_HELP = misc2c.wxART_HELP
1406 wxART_TIP = misc2c.wxART_TIP
1407 wxART_REPORT_VIEW = misc2c.wxART_REPORT_VIEW
1408 wxART_LIST_VIEW = misc2c.wxART_LIST_VIEW
1409 wxART_NEW_DIR = misc2c.wxART_NEW_DIR
1410 wxART_FOLDER = misc2c.wxART_FOLDER
1411 wxART_GO_DIR_UP = misc2c.wxART_GO_DIR_UP
1412 wxART_EXECUTABLE_FILE = misc2c.wxART_EXECUTABLE_FILE
1413 wxART_NORMAL_FILE = misc2c.wxART_NORMAL_FILE
1414 wxART_TICK_MARK = misc2c.wxART_TICK_MARK
1415 wxART_CROSS_MARK = misc2c.wxART_CROSS_MARK
1416 wxART_ERROR = misc2c.wxART_ERROR
1417 wxART_QUESTION = misc2c.wxART_QUESTION
1418 wxART_WARNING = misc2c.wxART_WARNING
1419 wxART_INFORMATION = misc2c.wxART_INFORMATION