1 # This file was created automatically by SWIG.
10 from clip_dnd
import *
15 class wxToolTipPtr(wxObjectPtr
):
16 def __init__(self
,this
):
19 def SetTip(self
, *_args
, **_kwargs
):
20 val
= apply(misc2c
.wxToolTip_SetTip
,(self
,) + _args
, _kwargs
)
22 def GetTip(self
, *_args
, **_kwargs
):
23 val
= apply(misc2c
.wxToolTip_GetTip
,(self
,) + _args
, _kwargs
)
25 def GetWindow(self
, *_args
, **_kwargs
):
26 val
= apply(misc2c
.wxToolTip_GetWindow
,(self
,) + _args
, _kwargs
)
29 return "<C wxToolTip instance at %s>" % (self
.this
,)
30 class wxToolTip(wxToolTipPtr
):
31 def __init__(self
,*_args
,**_kwargs
):
32 self
.this
= apply(misc2c
.new_wxToolTip
,_args
,_kwargs
)
39 def __init__(self
,this
):
42 def __del__(self
,misc2c
=misc2c
):
43 if self
.thisown
== 1 :
44 misc2c
.delete_wxCaret(self
)
45 def IsOk(self
, *_args
, **_kwargs
):
46 val
= apply(misc2c
.wxCaret_IsOk
,(self
,) + _args
, _kwargs
)
48 def IsVisible(self
, *_args
, **_kwargs
):
49 val
= apply(misc2c
.wxCaret_IsVisible
,(self
,) + _args
, _kwargs
)
51 def GetPositionTuple(self
, *_args
, **_kwargs
):
52 val
= apply(misc2c
.wxCaret_GetPositionTuple
,(self
,) + _args
, _kwargs
)
54 def GetPosition(self
, *_args
, **_kwargs
):
55 val
= apply(misc2c
.wxCaret_GetPosition
,(self
,) + _args
, _kwargs
)
56 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
58 def GetSizeTuple(self
, *_args
, **_kwargs
):
59 val
= apply(misc2c
.wxCaret_GetSizeTuple
,(self
,) + _args
, _kwargs
)
61 def GetSize(self
, *_args
, **_kwargs
):
62 val
= apply(misc2c
.wxCaret_GetSize
,(self
,) + _args
, _kwargs
)
63 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
65 def GetWindow(self
, *_args
, **_kwargs
):
66 val
= apply(misc2c
.wxCaret_GetWindow
,(self
,) + _args
, _kwargs
)
68 def MoveXY(self
, *_args
, **_kwargs
):
69 val
= apply(misc2c
.wxCaret_MoveXY
,(self
,) + _args
, _kwargs
)
71 def Move(self
, *_args
, **_kwargs
):
72 val
= apply(misc2c
.wxCaret_Move
,(self
,) + _args
, _kwargs
)
74 def SetSizeWH(self
, *_args
, **_kwargs
):
75 val
= apply(misc2c
.wxCaret_SetSizeWH
,(self
,) + _args
, _kwargs
)
77 def SetSize(self
, *_args
, **_kwargs
):
78 val
= apply(misc2c
.wxCaret_SetSize
,(self
,) + _args
, _kwargs
)
80 def Show(self
, *_args
, **_kwargs
):
81 val
= apply(misc2c
.wxCaret_Show
,(self
,) + _args
, _kwargs
)
83 def Hide(self
, *_args
, **_kwargs
):
84 val
= apply(misc2c
.wxCaret_Hide
,(self
,) + _args
, _kwargs
)
87 return "<C wxCaret instance at %s>" % (self
.this
,)
88 class wxCaret(wxCaretPtr
):
89 def __init__(self
,*_args
,**_kwargs
):
90 self
.this
= apply(misc2c
.new_wxCaret
,_args
,_kwargs
)
96 class wxFontEnumeratorPtr
:
97 def __init__(self
,this
):
100 def __del__(self
,misc2c
=misc2c
):
101 if self
.thisown
== 1 :
102 misc2c
.delete_wxFontEnumerator(self
)
103 def _setSelf(self
, *_args
, **_kwargs
):
104 val
= apply(misc2c
.wxFontEnumerator__setSelf
,(self
,) + _args
, _kwargs
)
106 def EnumerateFacenames(self
, *_args
, **_kwargs
):
107 val
= apply(misc2c
.wxFontEnumerator_EnumerateFacenames
,(self
,) + _args
, _kwargs
)
109 def EnumerateEncodings(self
, *_args
, **_kwargs
):
110 val
= apply(misc2c
.wxFontEnumerator_EnumerateEncodings
,(self
,) + _args
, _kwargs
)
112 def GetEncodings(self
, *_args
, **_kwargs
):
113 val
= apply(misc2c
.wxFontEnumerator_GetEncodings
,(self
,) + _args
, _kwargs
)
115 def GetFacenames(self
, *_args
, **_kwargs
):
116 val
= apply(misc2c
.wxFontEnumerator_GetFacenames
,(self
,) + _args
, _kwargs
)
119 return "<C wxFontEnumerator instance at %s>" % (self
.this
,)
120 class wxFontEnumerator(wxFontEnumeratorPtr
):
121 def __init__(self
,*_args
,**_kwargs
):
122 self
.this
= apply(misc2c
.new_wxFontEnumerator
,_args
,_kwargs
)
124 self
._setSelf
(self
, wxFontEnumerator
)
129 class wxBusyCursorPtr
:
130 def __init__(self
,this
):
133 def __del__(self
,misc2c
=misc2c
):
134 if self
.thisown
== 1 :
135 misc2c
.delete_wxBusyCursor(self
)
137 return "<C wxBusyCursor instance at %s>" % (self
.this
,)
138 class wxBusyCursor(wxBusyCursorPtr
):
139 def __init__(self
,*_args
,**_kwargs
):
140 self
.this
= apply(misc2c
.new_wxBusyCursor
,_args
,_kwargs
)
146 class wxWindowDisablerPtr
:
147 def __init__(self
,this
):
150 def __del__(self
,misc2c
=misc2c
):
151 if self
.thisown
== 1 :
152 misc2c
.delete_wxWindowDisabler(self
)
154 return "<C wxWindowDisabler instance at %s>" % (self
.this
,)
155 class wxWindowDisabler(wxWindowDisablerPtr
):
156 def __init__(self
,*_args
,**_kwargs
):
157 self
.this
= apply(misc2c
.new_wxWindowDisabler
,_args
,_kwargs
)
163 class wxMutexGuiLockerPtr
:
164 def __init__(self
,this
):
167 def __del__(self
,misc2c
=misc2c
):
168 if self
.thisown
== 1 :
169 misc2c
.delete_wxMutexGuiLocker(self
)
171 return "<C wxMutexGuiLocker instance at %s>" % (self
.this
,)
172 class wxMutexGuiLocker(wxMutexGuiLockerPtr
):
173 def __init__(self
,*_args
,**_kwargs
):
174 self
.this
= apply(misc2c
.new_wxMutexGuiLocker
,_args
,_kwargs
)
180 class wxTipProviderPtr
:
181 def __init__(self
,this
):
184 def __del__(self
,misc2c
=misc2c
):
185 if self
.thisown
== 1 :
186 misc2c
.delete_wxTipProvider(self
)
187 def GetTip(self
, *_args
, **_kwargs
):
188 val
= apply(misc2c
.wxTipProvider_GetTip
,(self
,) + _args
, _kwargs
)
190 def GetCurrentTip(self
, *_args
, **_kwargs
):
191 val
= apply(misc2c
.wxTipProvider_GetCurrentTip
,(self
,) + _args
, _kwargs
)
194 return "<C wxTipProvider instance at %s>" % (self
.this
,)
195 class wxTipProvider(wxTipProviderPtr
):
196 def __init__(self
,this
):
202 class wxPyTipProviderPtr(wxTipProviderPtr
):
203 def __init__(self
,this
):
207 return "<C wxPyTipProvider instance at %s>" % (self
.this
,)
208 class wxPyTipProvider(wxPyTipProviderPtr
):
209 def __init__(self
,*_args
,**_kwargs
):
210 self
.this
= apply(misc2c
.new_wxPyTipProvider
,_args
,_kwargs
)
216 class wxDragImagePtr(wxObjectPtr
):
217 def __init__(self
,this
):
220 def __del__(self
,misc2c
=misc2c
):
221 if self
.thisown
== 1 :
222 misc2c
.delete_wxDragImage(self
)
223 def SetBackingBitmap(self
, *_args
, **_kwargs
):
224 val
= apply(misc2c
.wxDragImage_SetBackingBitmap
,(self
,) + _args
, _kwargs
)
226 def BeginDrag(self
, *_args
, **_kwargs
):
227 val
= apply(misc2c
.wxDragImage_BeginDrag
,(self
,) + _args
, _kwargs
)
229 def BeginDrag2(self
, *_args
, **_kwargs
):
230 val
= apply(misc2c
.wxDragImage_BeginDrag2
,(self
,) + _args
, _kwargs
)
232 def EndDrag(self
, *_args
, **_kwargs
):
233 val
= apply(misc2c
.wxDragImage_EndDrag
,(self
,) + _args
, _kwargs
)
235 def Move(self
, *_args
, **_kwargs
):
236 val
= apply(misc2c
.wxDragImage_Move
,(self
,) + _args
, _kwargs
)
238 def Show(self
, *_args
, **_kwargs
):
239 val
= apply(misc2c
.wxDragImage_Show
,(self
,) + _args
, _kwargs
)
241 def Hide(self
, *_args
, **_kwargs
):
242 val
= apply(misc2c
.wxDragImage_Hide
,(self
,) + _args
, _kwargs
)
244 def GetImageRect(self
, *_args
, **_kwargs
):
245 val
= apply(misc2c
.wxDragImage_GetImageRect
,(self
,) + _args
, _kwargs
)
246 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
248 def RedrawImage(self
, *_args
, **_kwargs
):
249 val
= apply(misc2c
.wxDragImage_RedrawImage
,(self
,) + _args
, _kwargs
)
252 return "<C wxDragImage instance at %s>" % (self
.this
,)
253 class wxDragImage(wxDragImagePtr
):
254 def __init__(self
,*_args
,**_kwargs
):
255 self
.this
= apply(misc2c
.new_wxDragImage
,_args
,_kwargs
)
260 def wxDragIcon(*_args
,**_kwargs
):
261 val
= wxDragImagePtr(apply(misc2c
.new_wxDragIcon
,_args
,_kwargs
))
265 def wxDragString(*_args
,**_kwargs
):
266 val
= wxDragImagePtr(apply(misc2c
.new_wxDragString
,_args
,_kwargs
))
270 def wxDragTreeItem(*_args
,**_kwargs
):
271 val
= wxDragImagePtr(apply(misc2c
.new_wxDragTreeItem
,_args
,_kwargs
))
275 def wxDragListItem(*_args
,**_kwargs
):
276 val
= wxDragImagePtr(apply(misc2c
.new_wxDragListItem
,_args
,_kwargs
))
281 class wxPyTimerPtr(wxObjectPtr
):
282 def __init__(self
,this
):
285 def __del__(self
,misc2c
=misc2c
):
286 if self
.thisown
== 1 :
287 misc2c
.delete_wxPyTimer(self
)
288 def GetInterval(self
, *_args
, **_kwargs
):
289 val
= apply(misc2c
.wxPyTimer_GetInterval
,(self
,) + _args
, _kwargs
)
291 def IsOneShot(self
, *_args
, **_kwargs
):
292 val
= apply(misc2c
.wxPyTimer_IsOneShot
,(self
,) + _args
, _kwargs
)
294 def IsRunning(self
, *_args
, **_kwargs
):
295 val
= apply(misc2c
.wxPyTimer_IsRunning
,(self
,) + _args
, _kwargs
)
297 def SetOwner(self
, *_args
, **_kwargs
):
298 val
= apply(misc2c
.wxPyTimer_SetOwner
,(self
,) + _args
, _kwargs
)
300 def Start(self
, *_args
, **_kwargs
):
301 val
= apply(misc2c
.wxPyTimer_Start
,(self
,) + _args
, _kwargs
)
303 def Stop(self
, *_args
, **_kwargs
):
304 val
= apply(misc2c
.wxPyTimer_Stop
,(self
,) + _args
, _kwargs
)
307 return "<C wxPyTimer instance at %s>" % (self
.this
,)
308 class wxPyTimer(wxPyTimerPtr
):
309 def __init__(self
,*_args
,**_kwargs
):
310 self
.this
= apply(misc2c
.new_wxPyTimer
,_args
,_kwargs
)
317 def __init__(self
,this
):
320 def Flush(self
, *_args
, **_kwargs
):
321 val
= apply(misc2c
.wxLog_Flush
,(self
,) + _args
, _kwargs
)
323 def HasPendingMessages(self
, *_args
, **_kwargs
):
324 val
= apply(misc2c
.wxLog_HasPendingMessages
,(self
,) + _args
, _kwargs
)
326 def SetVerbose(self
, *_args
, **_kwargs
):
327 val
= apply(misc2c
.wxLog_SetVerbose
,(self
,) + _args
, _kwargs
)
329 def GetVerbose(self
, *_args
, **_kwargs
):
330 val
= apply(misc2c
.wxLog_GetVerbose
,(self
,) + _args
, _kwargs
)
333 return "<C wxLog instance at %s>" % (self
.this
,)
334 class wxLog(wxLogPtr
):
335 def __init__(self
,*_args
,**_kwargs
):
336 self
.this
= apply(misc2c
.new_wxLog
,_args
,_kwargs
)
342 class wxLogStderrPtr(wxLogPtr
):
343 def __init__(self
,this
):
347 return "<C wxLogStderr instance at %s>" % (self
.this
,)
348 class wxLogStderr(wxLogStderrPtr
):
349 def __init__(self
,*_args
,**_kwargs
):
350 self
.this
= apply(misc2c
.new_wxLogStderr
,_args
,_kwargs
)
356 class wxLogTextCtrlPtr(wxLogPtr
):
357 def __init__(self
,this
):
361 return "<C wxLogTextCtrl instance at %s>" % (self
.this
,)
362 class wxLogTextCtrl(wxLogTextCtrlPtr
):
363 def __init__(self
,*_args
,**_kwargs
):
364 self
.this
= apply(misc2c
.new_wxLogTextCtrl
,_args
,_kwargs
)
370 class wxLogGuiPtr(wxLogPtr
):
371 def __init__(self
,this
):
375 return "<C wxLogGui instance at %s>" % (self
.this
,)
376 class wxLogGui(wxLogGuiPtr
):
377 def __init__(self
,*_args
,**_kwargs
):
378 self
.this
= apply(misc2c
.new_wxLogGui
,_args
,_kwargs
)
384 class wxLogWindowPtr(wxLogPtr
):
385 def __init__(self
,this
):
388 def Show(self
, *_args
, **_kwargs
):
389 val
= apply(misc2c
.wxLogWindow_Show
,(self
,) + _args
, _kwargs
)
391 def GetFrame(self
, *_args
, **_kwargs
):
392 val
= apply(misc2c
.wxLogWindow_GetFrame
,(self
,) + _args
, _kwargs
)
394 def GetOldLog(self
, *_args
, **_kwargs
):
395 val
= apply(misc2c
.wxLogWindow_GetOldLog
,(self
,) + _args
, _kwargs
)
396 if val
: val
= wxLogPtr(val
)
398 def IsPassingMessages(self
, *_args
, **_kwargs
):
399 val
= apply(misc2c
.wxLogWindow_IsPassingMessages
,(self
,) + _args
, _kwargs
)
401 def PassMessages(self
, *_args
, **_kwargs
):
402 val
= apply(misc2c
.wxLogWindow_PassMessages
,(self
,) + _args
, _kwargs
)
405 return "<C wxLogWindow instance at %s>" % (self
.this
,)
406 class wxLogWindow(wxLogWindowPtr
):
407 def __init__(self
,*_args
,**_kwargs
):
408 self
.this
= apply(misc2c
.new_wxLogWindow
,_args
,_kwargs
)
415 def __init__(self
,this
):
418 def __del__(self
,misc2c
=misc2c
):
419 if self
.thisown
== 1 :
420 misc2c
.delete_wxLogNull(self
)
422 return "<C wxLogNull instance at %s>" % (self
.this
,)
423 class wxLogNull(wxLogNullPtr
):
424 def __init__(self
,*_args
,**_kwargs
):
425 self
.this
= apply(misc2c
.new_wxLogNull
,_args
,_kwargs
)
431 class wxProcessEventPtr(wxEventPtr
):
432 def __init__(self
,this
):
435 def GetPid(self
, *_args
, **_kwargs
):
436 val
= apply(misc2c
.wxProcessEvent_GetPid
,(self
,) + _args
, _kwargs
)
438 def GetExitCode(self
, *_args
, **_kwargs
):
439 val
= apply(misc2c
.wxProcessEvent_GetExitCode
,(self
,) + _args
, _kwargs
)
441 def __setattr__(self
,name
,value
):
443 misc2c
.wxProcessEvent_m_pid_set(self
,value
)
445 if name
== "m_exitcode" :
446 misc2c
.wxProcessEvent_m_exitcode_set(self
,value
)
448 self
.__dict
__[name
] = value
449 def __getattr__(self
,name
):
451 return misc2c
.wxProcessEvent_m_pid_get(self
)
452 if name
== "m_exitcode" :
453 return misc2c
.wxProcessEvent_m_exitcode_get(self
)
454 raise AttributeError,name
456 return "<C wxProcessEvent instance at %s>" % (self
.this
,)
457 class wxProcessEvent(wxProcessEventPtr
):
458 def __init__(self
,*_args
,**_kwargs
):
459 self
.this
= apply(misc2c
.new_wxProcessEvent
,_args
,_kwargs
)
465 class wxProcessPtr(wxEvtHandlerPtr
):
466 def __init__(self
,this
):
469 def Destroy(self
, *_args
, **_kwargs
):
470 val
= apply(misc2c
.wxProcess_Destroy
,(self
,) + _args
, _kwargs
)
472 def _setSelf(self
, *_args
, **_kwargs
):
473 val
= apply(misc2c
.wxProcess__setSelf
,(self
,) + _args
, _kwargs
)
475 def base_OnTerminate(self
, *_args
, **_kwargs
):
476 val
= apply(misc2c
.wxProcess_base_OnTerminate
,(self
,) + _args
, _kwargs
)
478 def Redirect(self
, *_args
, **_kwargs
):
479 val
= apply(misc2c
.wxProcess_Redirect
,(self
,) + _args
, _kwargs
)
481 def IsRedirected(self
, *_args
, **_kwargs
):
482 val
= apply(misc2c
.wxProcess_IsRedirected
,(self
,) + _args
, _kwargs
)
484 def Detach(self
, *_args
, **_kwargs
):
485 val
= apply(misc2c
.wxProcess_Detach
,(self
,) + _args
, _kwargs
)
487 def GetInputStream(self
, *_args
, **_kwargs
):
488 val
= apply(misc2c
.wxProcess_GetInputStream
,(self
,) + _args
, _kwargs
)
490 def GetErrorStream(self
, *_args
, **_kwargs
):
491 val
= apply(misc2c
.wxProcess_GetErrorStream
,(self
,) + _args
, _kwargs
)
493 def GetOutputStream(self
, *_args
, **_kwargs
):
494 val
= apply(misc2c
.wxProcess_GetOutputStream
,(self
,) + _args
, _kwargs
)
495 if val
: val
= wxOutputStreamPtr(val
)
497 def CloseOutput(self
, *_args
, **_kwargs
):
498 val
= apply(misc2c
.wxProcess_CloseOutput
,(self
,) + _args
, _kwargs
)
501 return "<C wxProcess instance at %s>" % (self
.this
,)
502 class wxProcess(wxProcessPtr
):
503 def __init__(self
,*_args
,**_kwargs
):
504 self
.this
= apply(misc2c
.new_wxProcess
,_args
,_kwargs
)
506 self
._setSelf
(self
, wxProcess
)
511 class wxJoystickPtr(wxObjectPtr
):
512 def __init__(self
,this
):
515 def __del__(self
,misc2c
=misc2c
):
516 if self
.thisown
== 1 :
517 misc2c
.delete_wxJoystick(self
)
518 def GetPosition(self
, *_args
, **_kwargs
):
519 val
= apply(misc2c
.wxJoystick_GetPosition
,(self
,) + _args
, _kwargs
)
520 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
522 def GetZPosition(self
, *_args
, **_kwargs
):
523 val
= apply(misc2c
.wxJoystick_GetZPosition
,(self
,) + _args
, _kwargs
)
525 def GetButtonState(self
, *_args
, **_kwargs
):
526 val
= apply(misc2c
.wxJoystick_GetButtonState
,(self
,) + _args
, _kwargs
)
528 def GetPOVPosition(self
, *_args
, **_kwargs
):
529 val
= apply(misc2c
.wxJoystick_GetPOVPosition
,(self
,) + _args
, _kwargs
)
531 def GetPOVCTSPosition(self
, *_args
, **_kwargs
):
532 val
= apply(misc2c
.wxJoystick_GetPOVCTSPosition
,(self
,) + _args
, _kwargs
)
534 def GetRudderPosition(self
, *_args
, **_kwargs
):
535 val
= apply(misc2c
.wxJoystick_GetRudderPosition
,(self
,) + _args
, _kwargs
)
537 def GetUPosition(self
, *_args
, **_kwargs
):
538 val
= apply(misc2c
.wxJoystick_GetUPosition
,(self
,) + _args
, _kwargs
)
540 def GetVPosition(self
, *_args
, **_kwargs
):
541 val
= apply(misc2c
.wxJoystick_GetVPosition
,(self
,) + _args
, _kwargs
)
543 def GetMovementThreshold(self
, *_args
, **_kwargs
):
544 val
= apply(misc2c
.wxJoystick_GetMovementThreshold
,(self
,) + _args
, _kwargs
)
546 def SetMovementThreshold(self
, *_args
, **_kwargs
):
547 val
= apply(misc2c
.wxJoystick_SetMovementThreshold
,(self
,) + _args
, _kwargs
)
549 def IsOk(self
, *_args
, **_kwargs
):
550 val
= apply(misc2c
.wxJoystick_IsOk
,(self
,) + _args
, _kwargs
)
552 def GetNumberJoysticks(self
, *_args
, **_kwargs
):
553 val
= apply(misc2c
.wxJoystick_GetNumberJoysticks
,(self
,) + _args
, _kwargs
)
555 def GetManufacturerId(self
, *_args
, **_kwargs
):
556 val
= apply(misc2c
.wxJoystick_GetManufacturerId
,(self
,) + _args
, _kwargs
)
558 def GetProductId(self
, *_args
, **_kwargs
):
559 val
= apply(misc2c
.wxJoystick_GetProductId
,(self
,) + _args
, _kwargs
)
561 def GetProductName(self
, *_args
, **_kwargs
):
562 val
= apply(misc2c
.wxJoystick_GetProductName
,(self
,) + _args
, _kwargs
)
564 def GetXMin(self
, *_args
, **_kwargs
):
565 val
= apply(misc2c
.wxJoystick_GetXMin
,(self
,) + _args
, _kwargs
)
567 def GetYMin(self
, *_args
, **_kwargs
):
568 val
= apply(misc2c
.wxJoystick_GetYMin
,(self
,) + _args
, _kwargs
)
570 def GetZMin(self
, *_args
, **_kwargs
):
571 val
= apply(misc2c
.wxJoystick_GetZMin
,(self
,) + _args
, _kwargs
)
573 def GetXMax(self
, *_args
, **_kwargs
):
574 val
= apply(misc2c
.wxJoystick_GetXMax
,(self
,) + _args
, _kwargs
)
576 def GetYMax(self
, *_args
, **_kwargs
):
577 val
= apply(misc2c
.wxJoystick_GetYMax
,(self
,) + _args
, _kwargs
)
579 def GetZMax(self
, *_args
, **_kwargs
):
580 val
= apply(misc2c
.wxJoystick_GetZMax
,(self
,) + _args
, _kwargs
)
582 def GetNumberButtons(self
, *_args
, **_kwargs
):
583 val
= apply(misc2c
.wxJoystick_GetNumberButtons
,(self
,) + _args
, _kwargs
)
585 def GetNumberAxes(self
, *_args
, **_kwargs
):
586 val
= apply(misc2c
.wxJoystick_GetNumberAxes
,(self
,) + _args
, _kwargs
)
588 def GetMaxButtons(self
, *_args
, **_kwargs
):
589 val
= apply(misc2c
.wxJoystick_GetMaxButtons
,(self
,) + _args
, _kwargs
)
591 def GetMaxAxes(self
, *_args
, **_kwargs
):
592 val
= apply(misc2c
.wxJoystick_GetMaxAxes
,(self
,) + _args
, _kwargs
)
594 def GetPollingMin(self
, *_args
, **_kwargs
):
595 val
= apply(misc2c
.wxJoystick_GetPollingMin
,(self
,) + _args
, _kwargs
)
597 def GetPollingMax(self
, *_args
, **_kwargs
):
598 val
= apply(misc2c
.wxJoystick_GetPollingMax
,(self
,) + _args
, _kwargs
)
600 def GetRudderMin(self
, *_args
, **_kwargs
):
601 val
= apply(misc2c
.wxJoystick_GetRudderMin
,(self
,) + _args
, _kwargs
)
603 def GetRudderMax(self
, *_args
, **_kwargs
):
604 val
= apply(misc2c
.wxJoystick_GetRudderMax
,(self
,) + _args
, _kwargs
)
606 def GetUMin(self
, *_args
, **_kwargs
):
607 val
= apply(misc2c
.wxJoystick_GetUMin
,(self
,) + _args
, _kwargs
)
609 def GetUMax(self
, *_args
, **_kwargs
):
610 val
= apply(misc2c
.wxJoystick_GetUMax
,(self
,) + _args
, _kwargs
)
612 def GetVMin(self
, *_args
, **_kwargs
):
613 val
= apply(misc2c
.wxJoystick_GetVMin
,(self
,) + _args
, _kwargs
)
615 def GetVMax(self
, *_args
, **_kwargs
):
616 val
= apply(misc2c
.wxJoystick_GetVMax
,(self
,) + _args
, _kwargs
)
618 def HasRudder(self
, *_args
, **_kwargs
):
619 val
= apply(misc2c
.wxJoystick_HasRudder
,(self
,) + _args
, _kwargs
)
621 def HasZ(self
, *_args
, **_kwargs
):
622 val
= apply(misc2c
.wxJoystick_HasZ
,(self
,) + _args
, _kwargs
)
624 def HasU(self
, *_args
, **_kwargs
):
625 val
= apply(misc2c
.wxJoystick_HasU
,(self
,) + _args
, _kwargs
)
627 def HasV(self
, *_args
, **_kwargs
):
628 val
= apply(misc2c
.wxJoystick_HasV
,(self
,) + _args
, _kwargs
)
630 def HasPOV(self
, *_args
, **_kwargs
):
631 val
= apply(misc2c
.wxJoystick_HasPOV
,(self
,) + _args
, _kwargs
)
633 def HasPOV4Dir(self
, *_args
, **_kwargs
):
634 val
= apply(misc2c
.wxJoystick_HasPOV4Dir
,(self
,) + _args
, _kwargs
)
636 def HasPOVCTS(self
, *_args
, **_kwargs
):
637 val
= apply(misc2c
.wxJoystick_HasPOVCTS
,(self
,) + _args
, _kwargs
)
639 def SetCapture(self
, *_args
, **_kwargs
):
640 val
= apply(misc2c
.wxJoystick_SetCapture
,(self
,) + _args
, _kwargs
)
642 def ReleaseCapture(self
, *_args
, **_kwargs
):
643 val
= apply(misc2c
.wxJoystick_ReleaseCapture
,(self
,) + _args
, _kwargs
)
646 return "<C wxJoystick instance at %s>" % (self
.this
,)
647 class wxJoystick(wxJoystickPtr
):
648 def __init__(self
,*_args
,**_kwargs
):
649 self
.this
= apply(misc2c
.new_wxJoystick
,_args
,_kwargs
)
655 class wxWavePtr(wxObjectPtr
):
656 def __init__(self
,this
):
659 def __del__(self
,misc2c
=misc2c
):
660 if self
.thisown
== 1 :
661 misc2c
.delete_wxWave(self
)
662 def IsOk(self
, *_args
, **_kwargs
):
663 val
= apply(misc2c
.wxWave_IsOk
,(self
,) + _args
, _kwargs
)
665 def Play(self
, *_args
, **_kwargs
):
666 val
= apply(misc2c
.wxWave_Play
,(self
,) + _args
, _kwargs
)
669 return "<C wxWave instance at %s>" % (self
.this
,)
670 class wxWave(wxWavePtr
):
671 def __init__(self
,*_args
,**_kwargs
):
672 self
.this
= apply(misc2c
.new_wxWave
,_args
,_kwargs
)
680 #-------------- FUNCTION WRAPPERS ------------------
682 wxFileSelector
= misc2c
.wxFileSelector
684 wxGetTextFromUser
= misc2c
.wxGetTextFromUser
686 wxGetPasswordFromUser
= misc2c
.wxGetPasswordFromUser
688 wxGetSingleChoice
= misc2c
.wxGetSingleChoice
690 wxGetSingleChoiceIndex
= misc2c
.wxGetSingleChoiceIndex
692 wxMessageBox
= misc2c
.wxMessageBox
694 wxGetNumberFromUser
= misc2c
.wxGetNumberFromUser
696 wxColourDisplay
= misc2c
.wxColourDisplay
698 wxDisplayDepth
= misc2c
.wxDisplayDepth
700 wxGetDisplayDepth
= misc2c
.wxGetDisplayDepth
702 wxDisplaySize
= misc2c
.wxDisplaySize
704 def wxGetDisplaySize(*_args
, **_kwargs
):
705 val
= apply(misc2c
.wxGetDisplaySize
,_args
,_kwargs
)
706 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
709 wxDisplaySizeMM
= misc2c
.wxDisplaySizeMM
711 def wxGetDisplaySizeMM(*_args
, **_kwargs
):
712 val
= apply(misc2c
.wxGetDisplaySizeMM
,_args
,_kwargs
)
713 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
716 wxClientDisplayRect
= misc2c
.wxClientDisplayRect
718 def wxGetClientDisplayRect(*_args
, **_kwargs
):
719 val
= apply(misc2c
.wxGetClientDisplayRect
,_args
,_kwargs
)
720 if val
: val
= wxRectPtr(val
); val
.thisown
= 1
723 wxSetCursor
= misc2c
.wxSetCursor
725 def wxFindWindowByLabel(*_args
, **_kwargs
):
726 val
= apply(misc2c
.wxFindWindowByLabel
,_args
,_kwargs
)
729 def wxFindWindowByName(*_args
, **_kwargs
):
730 val
= apply(misc2c
.wxFindWindowByName
,_args
,_kwargs
)
733 wxBeginBusyCursor
= misc2c
.wxBeginBusyCursor
735 def wxGetActiveWindow(*_args
, **_kwargs
):
736 val
= apply(misc2c
.wxGetActiveWindow
,_args
,_kwargs
)
739 def wxGenericFindWindowAtPoint(*_args
, **_kwargs
):
740 val
= apply(misc2c
.wxGenericFindWindowAtPoint
,_args
,_kwargs
)
743 def wxFindWindowAtPoint(*_args
, **_kwargs
):
744 val
= apply(misc2c
.wxFindWindowAtPoint
,_args
,_kwargs
)
747 wxCheckForInterrupt
= misc2c
.wxCheckForInterrupt
749 wxFlushEvents
= misc2c
.wxFlushEvents
751 wxResourceAddIdentifier
= misc2c
.wxResourceAddIdentifier
753 wxResourceClear
= misc2c
.wxResourceClear
755 def wxResourceCreateBitmap(*_args
, **_kwargs
):
756 val
= apply(misc2c
.wxResourceCreateBitmap
,_args
,_kwargs
)
757 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
760 def wxResourceCreateIcon(*_args
, **_kwargs
):
761 val
= apply(misc2c
.wxResourceCreateIcon
,_args
,_kwargs
)
762 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
765 def wxResourceCreateMenuBar(*_args
, **_kwargs
):
766 val
= apply(misc2c
.wxResourceCreateMenuBar
,_args
,_kwargs
)
769 wxResourceGetIdentifier
= misc2c
.wxResourceGetIdentifier
771 wxResourceParseData
= misc2c
.wxResourceParseData
773 wxResourceParseFile
= misc2c
.wxResourceParseFile
775 wxResourceParseString
= misc2c
.wxResourceParseString
777 def wxSystemSettings_GetSystemColour(*_args
, **_kwargs
):
778 val
= apply(misc2c
.wxSystemSettings_GetSystemColour
,_args
,_kwargs
)
779 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
782 def wxSystemSettings_GetSystemFont(*_args
, **_kwargs
):
783 val
= apply(misc2c
.wxSystemSettings_GetSystemFont
,_args
,_kwargs
)
784 if val
: val
= wxFontPtr(val
); val
.thisown
= 1
787 wxSystemSettings_GetSystemMetric
= misc2c
.wxSystemSettings_GetSystemMetric
789 wxCaret_GetBlinkTime
= misc2c
.wxCaret_GetBlinkTime
791 wxCaret_SetBlinkTime
= misc2c
.wxCaret_SetBlinkTime
793 wxSafeYield
= misc2c
.wxSafeYield
795 wxPostEvent
= misc2c
.wxPostEvent
797 wxWakeUpIdle
= misc2c
.wxWakeUpIdle
799 wxWakeUpMainThread
= misc2c
.wxWakeUpMainThread
801 wxMutexGuiEnter
= misc2c
.wxMutexGuiEnter
803 wxMutexGuiLeave
= misc2c
.wxMutexGuiLeave
805 wxThread_IsMain
= misc2c
.wxThread_IsMain
807 wxShowTip
= misc2c
.wxShowTip
809 def wxCreateFileTipProvider(*_args
, **_kwargs
):
810 val
= apply(misc2c
.wxCreateFileTipProvider
,_args
,_kwargs
)
811 if val
: val
= wxTipProviderPtr(val
); val
.thisown
= 1
814 wxSysErrorCode
= misc2c
.wxSysErrorCode
816 wxSysErrorMsg
= misc2c
.wxSysErrorMsg
818 wxLogFatalError
= misc2c
.wxLogFatalError
820 wxLogError
= misc2c
.wxLogError
822 wxLogWarning
= misc2c
.wxLogWarning
824 wxLogMessage
= misc2c
.wxLogMessage
826 wxLogInfo
= misc2c
.wxLogInfo
828 wxLogVerbose
= misc2c
.wxLogVerbose
830 wxLogStatus
= misc2c
.wxLogStatus
832 wxLogStatusFrame
= misc2c
.wxLogStatusFrame
834 wxLogSysError
= misc2c
.wxLogSysError
836 wxExecute
= misc2c
.wxExecute
838 def wxWaveData(*_args
, **_kwargs
):
839 val
= apply(misc2c
.wxWaveData
,_args
,_kwargs
)
840 if val
: val
= wxWavePtr(val
); val
.thisown
= 1
843 wxToolTip_Enable
= misc2c
.wxToolTip_Enable
845 wxToolTip_SetDelay
= misc2c
.wxToolTip_SetDelay
847 wxLog_IsEnabled
= misc2c
.wxLog_IsEnabled
849 wxLog_EnableLogging
= misc2c
.wxLog_EnableLogging
851 wxLog_OnLog
= misc2c
.wxLog_OnLog
853 wxLog_FlushActive
= misc2c
.wxLog_FlushActive
855 def wxLog_GetActiveTarget(*_args
, **_kwargs
):
856 val
= apply(misc2c
.wxLog_GetActiveTarget
,_args
,_kwargs
)
857 if val
: val
= wxLogPtr(val
)
860 def wxLog_SetActiveTarget(*_args
, **_kwargs
):
861 val
= apply(misc2c
.wxLog_SetActiveTarget
,_args
,_kwargs
)
862 if val
: val
= wxLogPtr(val
)
865 wxLog_Suspend
= misc2c
.wxLog_Suspend
867 wxLog_Resume
= misc2c
.wxLog_Resume
869 wxLog_DontCreateOnDemand
= misc2c
.wxLog_DontCreateOnDemand
871 wxLog_SetTraceMask
= misc2c
.wxLog_SetTraceMask
873 wxLog_AddTraceMask
= misc2c
.wxLog_AddTraceMask
875 wxLog_RemoveTraceMask
= misc2c
.wxLog_RemoveTraceMask
877 wxLog_GetTraceMask
= misc2c
.wxLog_GetTraceMask
879 wxLog_IsAllowedTraceMask
= misc2c
.wxLog_IsAllowedTraceMask
883 #-------------- VARIABLE WRAPPERS ------------------
885 wxSYS_WHITE_BRUSH
= misc2c
.wxSYS_WHITE_BRUSH
886 wxSYS_LTGRAY_BRUSH
= misc2c
.wxSYS_LTGRAY_BRUSH
887 wxSYS_GRAY_BRUSH
= misc2c
.wxSYS_GRAY_BRUSH
888 wxSYS_DKGRAY_BRUSH
= misc2c
.wxSYS_DKGRAY_BRUSH
889 wxSYS_BLACK_BRUSH
= misc2c
.wxSYS_BLACK_BRUSH
890 wxSYS_NULL_BRUSH
= misc2c
.wxSYS_NULL_BRUSH
891 wxSYS_HOLLOW_BRUSH
= misc2c
.wxSYS_HOLLOW_BRUSH
892 wxSYS_WHITE_PEN
= misc2c
.wxSYS_WHITE_PEN
893 wxSYS_BLACK_PEN
= misc2c
.wxSYS_BLACK_PEN
894 wxSYS_NULL_PEN
= misc2c
.wxSYS_NULL_PEN
895 wxSYS_OEM_FIXED_FONT
= misc2c
.wxSYS_OEM_FIXED_FONT
896 wxSYS_ANSI_FIXED_FONT
= misc2c
.wxSYS_ANSI_FIXED_FONT
897 wxSYS_ANSI_VAR_FONT
= misc2c
.wxSYS_ANSI_VAR_FONT
898 wxSYS_SYSTEM_FONT
= misc2c
.wxSYS_SYSTEM_FONT
899 wxSYS_DEVICE_DEFAULT_FONT
= misc2c
.wxSYS_DEVICE_DEFAULT_FONT
900 wxSYS_DEFAULT_PALETTE
= misc2c
.wxSYS_DEFAULT_PALETTE
901 wxSYS_SYSTEM_FIXED_FONT
= misc2c
.wxSYS_SYSTEM_FIXED_FONT
902 wxSYS_DEFAULT_GUI_FONT
= misc2c
.wxSYS_DEFAULT_GUI_FONT
903 wxSYS_COLOUR_SCROLLBAR
= misc2c
.wxSYS_COLOUR_SCROLLBAR
904 wxSYS_COLOUR_BACKGROUND
= misc2c
.wxSYS_COLOUR_BACKGROUND
905 wxSYS_COLOUR_ACTIVECAPTION
= misc2c
.wxSYS_COLOUR_ACTIVECAPTION
906 wxSYS_COLOUR_INACTIVECAPTION
= misc2c
.wxSYS_COLOUR_INACTIVECAPTION
907 wxSYS_COLOUR_MENU
= misc2c
.wxSYS_COLOUR_MENU
908 wxSYS_COLOUR_WINDOW
= misc2c
.wxSYS_COLOUR_WINDOW
909 wxSYS_COLOUR_WINDOWFRAME
= misc2c
.wxSYS_COLOUR_WINDOWFRAME
910 wxSYS_COLOUR_MENUTEXT
= misc2c
.wxSYS_COLOUR_MENUTEXT
911 wxSYS_COLOUR_WINDOWTEXT
= misc2c
.wxSYS_COLOUR_WINDOWTEXT
912 wxSYS_COLOUR_CAPTIONTEXT
= misc2c
.wxSYS_COLOUR_CAPTIONTEXT
913 wxSYS_COLOUR_ACTIVEBORDER
= misc2c
.wxSYS_COLOUR_ACTIVEBORDER
914 wxSYS_COLOUR_INACTIVEBORDER
= misc2c
.wxSYS_COLOUR_INACTIVEBORDER
915 wxSYS_COLOUR_APPWORKSPACE
= misc2c
.wxSYS_COLOUR_APPWORKSPACE
916 wxSYS_COLOUR_HIGHLIGHT
= misc2c
.wxSYS_COLOUR_HIGHLIGHT
917 wxSYS_COLOUR_HIGHLIGHTTEXT
= misc2c
.wxSYS_COLOUR_HIGHLIGHTTEXT
918 wxSYS_COLOUR_BTNFACE
= misc2c
.wxSYS_COLOUR_BTNFACE
919 wxSYS_COLOUR_BTNSHADOW
= misc2c
.wxSYS_COLOUR_BTNSHADOW
920 wxSYS_COLOUR_GRAYTEXT
= misc2c
.wxSYS_COLOUR_GRAYTEXT
921 wxSYS_COLOUR_BTNTEXT
= misc2c
.wxSYS_COLOUR_BTNTEXT
922 wxSYS_COLOUR_INACTIVECAPTIONTEXT
= misc2c
.wxSYS_COLOUR_INACTIVECAPTIONTEXT
923 wxSYS_COLOUR_BTNHIGHLIGHT
= misc2c
.wxSYS_COLOUR_BTNHIGHLIGHT
924 wxSYS_COLOUR_3DDKSHADOW
= misc2c
.wxSYS_COLOUR_3DDKSHADOW
925 wxSYS_COLOUR_3DLIGHT
= misc2c
.wxSYS_COLOUR_3DLIGHT
926 wxSYS_COLOUR_INFOTEXT
= misc2c
.wxSYS_COLOUR_INFOTEXT
927 wxSYS_COLOUR_INFOBK
= misc2c
.wxSYS_COLOUR_INFOBK
928 wxSYS_COLOUR_DESKTOP
= misc2c
.wxSYS_COLOUR_DESKTOP
929 wxSYS_COLOUR_3DFACE
= misc2c
.wxSYS_COLOUR_3DFACE
930 wxSYS_COLOUR_3DSHADOW
= misc2c
.wxSYS_COLOUR_3DSHADOW
931 wxSYS_COLOUR_3DHIGHLIGHT
= misc2c
.wxSYS_COLOUR_3DHIGHLIGHT
932 wxSYS_COLOUR_3DHILIGHT
= misc2c
.wxSYS_COLOUR_3DHILIGHT
933 wxSYS_COLOUR_BTNHILIGHT
= misc2c
.wxSYS_COLOUR_BTNHILIGHT
934 wxSYS_MOUSE_BUTTONS
= misc2c
.wxSYS_MOUSE_BUTTONS
935 wxSYS_BORDER_X
= misc2c
.wxSYS_BORDER_X
936 wxSYS_BORDER_Y
= misc2c
.wxSYS_BORDER_Y
937 wxSYS_CURSOR_X
= misc2c
.wxSYS_CURSOR_X
938 wxSYS_CURSOR_Y
= misc2c
.wxSYS_CURSOR_Y
939 wxSYS_DCLICK_X
= misc2c
.wxSYS_DCLICK_X
940 wxSYS_DCLICK_Y
= misc2c
.wxSYS_DCLICK_Y
941 wxSYS_DRAG_X
= misc2c
.wxSYS_DRAG_X
942 wxSYS_DRAG_Y
= misc2c
.wxSYS_DRAG_Y
943 wxSYS_EDGE_X
= misc2c
.wxSYS_EDGE_X
944 wxSYS_EDGE_Y
= misc2c
.wxSYS_EDGE_Y
945 wxSYS_HSCROLL_ARROW_X
= misc2c
.wxSYS_HSCROLL_ARROW_X
946 wxSYS_HSCROLL_ARROW_Y
= misc2c
.wxSYS_HSCROLL_ARROW_Y
947 wxSYS_HTHUMB_X
= misc2c
.wxSYS_HTHUMB_X
948 wxSYS_ICON_X
= misc2c
.wxSYS_ICON_X
949 wxSYS_ICON_Y
= misc2c
.wxSYS_ICON_Y
950 wxSYS_ICONSPACING_X
= misc2c
.wxSYS_ICONSPACING_X
951 wxSYS_ICONSPACING_Y
= misc2c
.wxSYS_ICONSPACING_Y
952 wxSYS_WINDOWMIN_X
= misc2c
.wxSYS_WINDOWMIN_X
953 wxSYS_WINDOWMIN_Y
= misc2c
.wxSYS_WINDOWMIN_Y
954 wxSYS_SCREEN_X
= misc2c
.wxSYS_SCREEN_X
955 wxSYS_SCREEN_Y
= misc2c
.wxSYS_SCREEN_Y
956 wxSYS_FRAMESIZE_X
= misc2c
.wxSYS_FRAMESIZE_X
957 wxSYS_FRAMESIZE_Y
= misc2c
.wxSYS_FRAMESIZE_Y
958 wxSYS_SMALLICON_X
= misc2c
.wxSYS_SMALLICON_X
959 wxSYS_SMALLICON_Y
= misc2c
.wxSYS_SMALLICON_Y
960 wxSYS_HSCROLL_Y
= misc2c
.wxSYS_HSCROLL_Y
961 wxSYS_VSCROLL_X
= misc2c
.wxSYS_VSCROLL_X
962 wxSYS_VSCROLL_ARROW_X
= misc2c
.wxSYS_VSCROLL_ARROW_X
963 wxSYS_VSCROLL_ARROW_Y
= misc2c
.wxSYS_VSCROLL_ARROW_Y
964 wxSYS_VTHUMB_Y
= misc2c
.wxSYS_VTHUMB_Y
965 wxSYS_CAPTION_Y
= misc2c
.wxSYS_CAPTION_Y
966 wxSYS_MENU_Y
= misc2c
.wxSYS_MENU_Y
967 wxSYS_NETWORK_PRESENT
= misc2c
.wxSYS_NETWORK_PRESENT
968 wxSYS_PENWINDOWS_PRESENT
= misc2c
.wxSYS_PENWINDOWS_PRESENT
969 wxSYS_SHOW_SOUNDS
= misc2c
.wxSYS_SHOW_SOUNDS
970 wxSYS_SWAP_BUTTONS
= misc2c
.wxSYS_SWAP_BUTTONS
971 wxLOG_FatalError
= misc2c
.wxLOG_FatalError
972 wxLOG_Error
= misc2c
.wxLOG_Error
973 wxLOG_Warning
= misc2c
.wxLOG_Warning
974 wxLOG_Message
= misc2c
.wxLOG_Message
975 wxLOG_Info
= misc2c
.wxLOG_Info
976 wxLOG_Status
= misc2c
.wxLOG_Status
977 wxLOG_Debug
= misc2c
.wxLOG_Debug
978 wxLOG_Trace
= misc2c
.wxLOG_Trace
979 wxLOG_Progress
= misc2c
.wxLOG_Progress
980 wxLOG_User
= misc2c
.wxLOG_User
981 wxEVT_END_PROCESS
= misc2c
.wxEVT_END_PROCESS