1 # This file was created automatically by SWIG.
10 from clip_dnd
import *
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
)
27 if val
: val
= wxWindowPtr(val
)
30 return "<C wxToolTip instance at %s>" % (self
.this
,)
31 class wxToolTip(wxToolTipPtr
):
32 def __init__(self
,*_args
,**_kwargs
):
33 self
.this
= apply(misc2c
.new_wxToolTip
,_args
,_kwargs
)
40 def __init__(self
,this
):
43 def __del__(self
,misc2c
=misc2c
):
44 if self
.thisown
== 1 :
45 misc2c
.delete_wxCaret(self
)
46 def IsOk(self
, *_args
, **_kwargs
):
47 val
= apply(misc2c
.wxCaret_IsOk
,(self
,) + _args
, _kwargs
)
49 def IsVisible(self
, *_args
, **_kwargs
):
50 val
= apply(misc2c
.wxCaret_IsVisible
,(self
,) + _args
, _kwargs
)
52 def GetPositionTuple(self
, *_args
, **_kwargs
):
53 val
= apply(misc2c
.wxCaret_GetPositionTuple
,(self
,) + _args
, _kwargs
)
55 def GetPosition(self
, *_args
, **_kwargs
):
56 val
= apply(misc2c
.wxCaret_GetPosition
,(self
,) + _args
, _kwargs
)
57 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
59 def GetSizeTuple(self
, *_args
, **_kwargs
):
60 val
= apply(misc2c
.wxCaret_GetSizeTuple
,(self
,) + _args
, _kwargs
)
62 def GetSize(self
, *_args
, **_kwargs
):
63 val
= apply(misc2c
.wxCaret_GetSize
,(self
,) + _args
, _kwargs
)
64 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
66 def GetWindow(self
, *_args
, **_kwargs
):
67 val
= apply(misc2c
.wxCaret_GetWindow
,(self
,) + _args
, _kwargs
)
68 if val
: val
= wxWindowPtr(val
)
70 def MoveXY(self
, *_args
, **_kwargs
):
71 val
= apply(misc2c
.wxCaret_MoveXY
,(self
,) + _args
, _kwargs
)
73 def Move(self
, *_args
, **_kwargs
):
74 val
= apply(misc2c
.wxCaret_Move
,(self
,) + _args
, _kwargs
)
76 def SetSizeWH(self
, *_args
, **_kwargs
):
77 val
= apply(misc2c
.wxCaret_SetSizeWH
,(self
,) + _args
, _kwargs
)
79 def SetSize(self
, *_args
, **_kwargs
):
80 val
= apply(misc2c
.wxCaret_SetSize
,(self
,) + _args
, _kwargs
)
82 def Show(self
, *_args
, **_kwargs
):
83 val
= apply(misc2c
.wxCaret_Show
,(self
,) + _args
, _kwargs
)
85 def Hide(self
, *_args
, **_kwargs
):
86 val
= apply(misc2c
.wxCaret_Hide
,(self
,) + _args
, _kwargs
)
89 return "<C wxCaret instance at %s>" % (self
.this
,)
90 class wxCaret(wxCaretPtr
):
91 def __init__(self
,*_args
,**_kwargs
):
92 self
.this
= apply(misc2c
.new_wxCaret
,_args
,_kwargs
)
98 class wxFontEnumeratorPtr
:
99 def __init__(self
,this
):
102 def __del__(self
,misc2c
=misc2c
):
103 if self
.thisown
== 1 :
104 misc2c
.delete_wxFontEnumerator(self
)
105 def _setSelf(self
, *_args
, **_kwargs
):
106 val
= apply(misc2c
.wxFontEnumerator__setSelf
,(self
,) + _args
, _kwargs
)
108 def EnumerateFacenames(self
, *_args
, **_kwargs
):
109 val
= apply(misc2c
.wxFontEnumerator_EnumerateFacenames
,(self
,) + _args
, _kwargs
)
111 def EnumerateEncodings(self
, *_args
, **_kwargs
):
112 val
= apply(misc2c
.wxFontEnumerator_EnumerateEncodings
,(self
,) + _args
, _kwargs
)
114 def GetEncodings(self
, *_args
, **_kwargs
):
115 val
= apply(misc2c
.wxFontEnumerator_GetEncodings
,(self
,) + _args
, _kwargs
)
117 def GetFacenames(self
, *_args
, **_kwargs
):
118 val
= apply(misc2c
.wxFontEnumerator_GetFacenames
,(self
,) + _args
, _kwargs
)
121 return "<C wxFontEnumerator instance at %s>" % (self
.this
,)
122 class wxFontEnumerator(wxFontEnumeratorPtr
):
123 def __init__(self
,*_args
,**_kwargs
):
124 self
.this
= apply(misc2c
.new_wxFontEnumerator
,_args
,_kwargs
)
126 self
._setSelf
(self
, wxFontEnumerator
)
131 class wxBusyCursorPtr
:
132 def __init__(self
,this
):
135 def __del__(self
,misc2c
=misc2c
):
136 if self
.thisown
== 1 :
137 misc2c
.delete_wxBusyCursor(self
)
139 return "<C wxBusyCursor instance at %s>" % (self
.this
,)
140 class wxBusyCursor(wxBusyCursorPtr
):
141 def __init__(self
,*_args
,**_kwargs
):
142 self
.this
= apply(misc2c
.new_wxBusyCursor
,_args
,_kwargs
)
148 class wxWindowDisablerPtr
:
149 def __init__(self
,this
):
152 def __del__(self
,misc2c
=misc2c
):
153 if self
.thisown
== 1 :
154 misc2c
.delete_wxWindowDisabler(self
)
156 return "<C wxWindowDisabler instance at %s>" % (self
.this
,)
157 class wxWindowDisabler(wxWindowDisablerPtr
):
158 def __init__(self
,*_args
,**_kwargs
):
159 self
.this
= apply(misc2c
.new_wxWindowDisabler
,_args
,_kwargs
)
165 class wxTipProviderPtr
:
166 def __init__(self
,this
):
169 def __del__(self
,misc2c
=misc2c
):
170 if self
.thisown
== 1 :
171 misc2c
.delete_wxTipProvider(self
)
172 def GetTip(self
, *_args
, **_kwargs
):
173 val
= apply(misc2c
.wxTipProvider_GetTip
,(self
,) + _args
, _kwargs
)
175 def GetCurrentTip(self
, *_args
, **_kwargs
):
176 val
= apply(misc2c
.wxTipProvider_GetCurrentTip
,(self
,) + _args
, _kwargs
)
179 return "<C wxTipProvider instance at %s>" % (self
.this
,)
180 class wxTipProvider(wxTipProviderPtr
):
181 def __init__(self
,this
):
187 class wxPyTipProviderPtr(wxTipProviderPtr
):
188 def __init__(self
,this
):
192 return "<C wxPyTipProvider instance at %s>" % (self
.this
,)
193 class wxPyTipProvider(wxPyTipProviderPtr
):
194 def __init__(self
,*_args
,**_kwargs
):
195 self
.this
= apply(misc2c
.new_wxPyTipProvider
,_args
,_kwargs
)
201 class wxDragImagePtr
:
202 def __init__(self
,this
):
205 def __del__(self
,misc2c
=misc2c
):
206 if self
.thisown
== 1 :
207 misc2c
.delete_wxDragImage(self
)
208 def BeginDrag(self
, *_args
, **_kwargs
):
209 val
= apply(misc2c
.wxDragImage_BeginDrag
,(self
,) + _args
, _kwargs
)
211 def BeginDrag2(self
, *_args
, **_kwargs
):
212 val
= apply(misc2c
.wxDragImage_BeginDrag2
,(self
,) + _args
, _kwargs
)
214 def EndDrag(self
, *_args
, **_kwargs
):
215 val
= apply(misc2c
.wxDragImage_EndDrag
,(self
,) + _args
, _kwargs
)
217 def Move(self
, *_args
, **_kwargs
):
218 val
= apply(misc2c
.wxDragImage_Move
,(self
,) + _args
, _kwargs
)
220 def Show(self
, *_args
, **_kwargs
):
221 val
= apply(misc2c
.wxDragImage_Show
,(self
,) + _args
, _kwargs
)
223 def Hide(self
, *_args
, **_kwargs
):
224 val
= apply(misc2c
.wxDragImage_Hide
,(self
,) + _args
, _kwargs
)
226 def GetImageRect(self
, *_args
, **_kwargs
):
227 val
= apply(misc2c
.wxDragImage_GetImageRect
,(self
,) + _args
, _kwargs
)
228 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
230 def RedrawImage(self
, *_args
, **_kwargs
):
231 val
= apply(misc2c
.wxDragImage_RedrawImage
,(self
,) + _args
, _kwargs
)
234 return "<C wxDragImage instance at %s>" % (self
.this
,)
235 class wxDragImage(wxDragImagePtr
):
236 def __init__(self
,*_args
,**_kwargs
):
237 self
.this
= apply(misc2c
.new_wxDragImage
,_args
,_kwargs
)
244 def __init__(self
,this
):
247 def __del__(self
,misc2c
=misc2c
):
248 if self
.thisown
== 1 :
249 misc2c
.delete_wxPyTimer(self
)
250 def GetInterval(self
, *_args
, **_kwargs
):
251 val
= apply(misc2c
.wxPyTimer_GetInterval
,(self
,) + _args
, _kwargs
)
253 def IsOneShot(self
, *_args
, **_kwargs
):
254 val
= apply(misc2c
.wxPyTimer_IsOneShot
,(self
,) + _args
, _kwargs
)
256 def IsRunning(self
, *_args
, **_kwargs
):
257 val
= apply(misc2c
.wxPyTimer_IsRunning
,(self
,) + _args
, _kwargs
)
259 def SetOwner(self
, *_args
, **_kwargs
):
260 val
= apply(misc2c
.wxPyTimer_SetOwner
,(self
,) + _args
, _kwargs
)
262 def Start(self
, *_args
, **_kwargs
):
263 val
= apply(misc2c
.wxPyTimer_Start
,(self
,) + _args
, _kwargs
)
265 def Stop(self
, *_args
, **_kwargs
):
266 val
= apply(misc2c
.wxPyTimer_Stop
,(self
,) + _args
, _kwargs
)
269 return "<C wxPyTimer instance at %s>" % (self
.this
,)
270 class wxPyTimer(wxPyTimerPtr
):
271 def __init__(self
,*_args
,**_kwargs
):
272 self
.this
= apply(misc2c
.new_wxPyTimer
,_args
,_kwargs
)
279 def __init__(self
,this
):
282 def Flush(self
, *_args
, **_kwargs
):
283 val
= apply(misc2c
.wxLog_Flush
,(self
,) + _args
, _kwargs
)
285 def HasPendingMessages(self
, *_args
, **_kwargs
):
286 val
= apply(misc2c
.wxLog_HasPendingMessages
,(self
,) + _args
, _kwargs
)
288 def SetVerbose(self
, *_args
, **_kwargs
):
289 val
= apply(misc2c
.wxLog_SetVerbose
,(self
,) + _args
, _kwargs
)
291 def GetVerbose(self
, *_args
, **_kwargs
):
292 val
= apply(misc2c
.wxLog_GetVerbose
,(self
,) + _args
, _kwargs
)
295 return "<C wxLog instance at %s>" % (self
.this
,)
296 class wxLog(wxLogPtr
):
297 def __init__(self
,*_args
,**_kwargs
):
298 self
.this
= apply(misc2c
.new_wxLog
,_args
,_kwargs
)
304 class wxLogStderrPtr(wxLogPtr
):
305 def __init__(self
,this
):
309 return "<C wxLogStderr instance at %s>" % (self
.this
,)
310 class wxLogStderr(wxLogStderrPtr
):
311 def __init__(self
,*_args
,**_kwargs
):
312 self
.this
= apply(misc2c
.new_wxLogStderr
,_args
,_kwargs
)
318 class wxLogTextCtrlPtr(wxLogPtr
):
319 def __init__(self
,this
):
323 return "<C wxLogTextCtrl instance at %s>" % (self
.this
,)
324 class wxLogTextCtrl(wxLogTextCtrlPtr
):
325 def __init__(self
,*_args
,**_kwargs
):
326 self
.this
= apply(misc2c
.new_wxLogTextCtrl
,_args
,_kwargs
)
332 class wxLogGuiPtr(wxLogPtr
):
333 def __init__(self
,this
):
337 return "<C wxLogGui instance at %s>" % (self
.this
,)
338 class wxLogGui(wxLogGuiPtr
):
339 def __init__(self
,*_args
,**_kwargs
):
340 self
.this
= apply(misc2c
.new_wxLogGui
,_args
,_kwargs
)
346 class wxLogWindowPtr(wxLogPtr
):
347 def __init__(self
,this
):
350 def Show(self
, *_args
, **_kwargs
):
351 val
= apply(misc2c
.wxLogWindow_Show
,(self
,) + _args
, _kwargs
)
353 def GetFrame(self
, *_args
, **_kwargs
):
354 val
= apply(misc2c
.wxLogWindow_GetFrame
,(self
,) + _args
, _kwargs
)
355 if val
: val
= wxFramePtr(val
)
357 def GetOldLog(self
, *_args
, **_kwargs
):
358 val
= apply(misc2c
.wxLogWindow_GetOldLog
,(self
,) + _args
, _kwargs
)
359 if val
: val
= wxLogPtr(val
)
361 def IsPassingMessages(self
, *_args
, **_kwargs
):
362 val
= apply(misc2c
.wxLogWindow_IsPassingMessages
,(self
,) + _args
, _kwargs
)
364 def PassMessages(self
, *_args
, **_kwargs
):
365 val
= apply(misc2c
.wxLogWindow_PassMessages
,(self
,) + _args
, _kwargs
)
368 return "<C wxLogWindow instance at %s>" % (self
.this
,)
369 class wxLogWindow(wxLogWindowPtr
):
370 def __init__(self
,*_args
,**_kwargs
):
371 self
.this
= apply(misc2c
.new_wxLogWindow
,_args
,_kwargs
)
378 def __init__(self
,this
):
381 def __del__(self
,misc2c
=misc2c
):
382 if self
.thisown
== 1 :
383 misc2c
.delete_wxLogNull(self
)
385 return "<C wxLogNull instance at %s>" % (self
.this
,)
386 class wxLogNull(wxLogNullPtr
):
387 def __init__(self
,*_args
,**_kwargs
):
388 self
.this
= apply(misc2c
.new_wxLogNull
,_args
,_kwargs
)
394 class wxProcessEventPtr(wxEventPtr
):
395 def __init__(self
,this
):
398 def GetPid(self
, *_args
, **_kwargs
):
399 val
= apply(misc2c
.wxProcessEvent_GetPid
,(self
,) + _args
, _kwargs
)
401 def GetExitCode(self
, *_args
, **_kwargs
):
402 val
= apply(misc2c
.wxProcessEvent_GetExitCode
,(self
,) + _args
, _kwargs
)
404 def __setattr__(self
,name
,value
):
406 misc2c
.wxProcessEvent_m_pid_set(self
,value
)
408 if name
== "m_exitcode" :
409 misc2c
.wxProcessEvent_m_exitcode_set(self
,value
)
411 self
.__dict
__[name
] = value
412 def __getattr__(self
,name
):
414 return misc2c
.wxProcessEvent_m_pid_get(self
)
415 if name
== "m_exitcode" :
416 return misc2c
.wxProcessEvent_m_exitcode_get(self
)
417 raise AttributeError,name
419 return "<C wxProcessEvent instance at %s>" % (self
.this
,)
420 class wxProcessEvent(wxProcessEventPtr
):
421 def __init__(self
,*_args
,**_kwargs
):
422 self
.this
= apply(misc2c
.new_wxProcessEvent
,_args
,_kwargs
)
428 class wxProcessPtr(wxEvtHandlerPtr
):
429 def __init__(self
,this
):
432 def Destroy(self
, *_args
, **_kwargs
):
433 val
= apply(misc2c
.wxProcess_Destroy
,(self
,) + _args
, _kwargs
)
435 def _setSelf(self
, *_args
, **_kwargs
):
436 val
= apply(misc2c
.wxProcess__setSelf
,(self
,) + _args
, _kwargs
)
438 def base_OnTerminate(self
, *_args
, **_kwargs
):
439 val
= apply(misc2c
.wxProcess_base_OnTerminate
,(self
,) + _args
, _kwargs
)
441 def Redirect(self
, *_args
, **_kwargs
):
442 val
= apply(misc2c
.wxProcess_Redirect
,(self
,) + _args
, _kwargs
)
444 def IsRedirected(self
, *_args
, **_kwargs
):
445 val
= apply(misc2c
.wxProcess_IsRedirected
,(self
,) + _args
, _kwargs
)
447 def Detach(self
, *_args
, **_kwargs
):
448 val
= apply(misc2c
.wxProcess_Detach
,(self
,) + _args
, _kwargs
)
450 def GetInputStream(self
, *_args
, **_kwargs
):
451 val
= apply(misc2c
.wxProcess_GetInputStream
,(self
,) + _args
, _kwargs
)
453 def GetErrorStream(self
, *_args
, **_kwargs
):
454 val
= apply(misc2c
.wxProcess_GetErrorStream
,(self
,) + _args
, _kwargs
)
456 def GetOutputStream(self
, *_args
, **_kwargs
):
457 val
= apply(misc2c
.wxProcess_GetOutputStream
,(self
,) + _args
, _kwargs
)
458 if val
: val
= wxOutputStreamPtr(val
)
460 def CloseOutput(self
, *_args
, **_kwargs
):
461 val
= apply(misc2c
.wxProcess_CloseOutput
,(self
,) + _args
, _kwargs
)
464 return "<C wxProcess instance at %s>" % (self
.this
,)
465 class wxProcess(wxProcessPtr
):
466 def __init__(self
,*_args
,**_kwargs
):
467 self
.this
= apply(misc2c
.new_wxProcess
,_args
,_kwargs
)
469 self
._setSelf
(self
, wxProcess
)
474 class wxJoystickPtr
:
475 def __init__(self
,this
):
478 def GetPosition(self
, *_args
, **_kwargs
):
479 val
= apply(misc2c
.wxJoystick_GetPosition
,(self
,) + _args
, _kwargs
)
480 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
482 def GetZPosition(self
, *_args
, **_kwargs
):
483 val
= apply(misc2c
.wxJoystick_GetZPosition
,(self
,) + _args
, _kwargs
)
485 def GetButtonState(self
, *_args
, **_kwargs
):
486 val
= apply(misc2c
.wxJoystick_GetButtonState
,(self
,) + _args
, _kwargs
)
488 def GetPOVPosition(self
, *_args
, **_kwargs
):
489 val
= apply(misc2c
.wxJoystick_GetPOVPosition
,(self
,) + _args
, _kwargs
)
491 def GetPOVCTSPosition(self
, *_args
, **_kwargs
):
492 val
= apply(misc2c
.wxJoystick_GetPOVCTSPosition
,(self
,) + _args
, _kwargs
)
494 def GetRudderPosition(self
, *_args
, **_kwargs
):
495 val
= apply(misc2c
.wxJoystick_GetRudderPosition
,(self
,) + _args
, _kwargs
)
497 def GetUPosition(self
, *_args
, **_kwargs
):
498 val
= apply(misc2c
.wxJoystick_GetUPosition
,(self
,) + _args
, _kwargs
)
500 def GetVPosition(self
, *_args
, **_kwargs
):
501 val
= apply(misc2c
.wxJoystick_GetVPosition
,(self
,) + _args
, _kwargs
)
503 def GetMovementThreshold(self
, *_args
, **_kwargs
):
504 val
= apply(misc2c
.wxJoystick_GetMovementThreshold
,(self
,) + _args
, _kwargs
)
506 def SetMovementThreshold(self
, *_args
, **_kwargs
):
507 val
= apply(misc2c
.wxJoystick_SetMovementThreshold
,(self
,) + _args
, _kwargs
)
509 def IsOk(self
, *_args
, **_kwargs
):
510 val
= apply(misc2c
.wxJoystick_IsOk
,(self
,) + _args
, _kwargs
)
512 def GetNumberJoysticks(self
, *_args
, **_kwargs
):
513 val
= apply(misc2c
.wxJoystick_GetNumberJoysticks
,(self
,) + _args
, _kwargs
)
515 def GetManufacturerId(self
, *_args
, **_kwargs
):
516 val
= apply(misc2c
.wxJoystick_GetManufacturerId
,(self
,) + _args
, _kwargs
)
518 def GetProductId(self
, *_args
, **_kwargs
):
519 val
= apply(misc2c
.wxJoystick_GetProductId
,(self
,) + _args
, _kwargs
)
521 def GetProductName(self
, *_args
, **_kwargs
):
522 val
= apply(misc2c
.wxJoystick_GetProductName
,(self
,) + _args
, _kwargs
)
524 def GetXMin(self
, *_args
, **_kwargs
):
525 val
= apply(misc2c
.wxJoystick_GetXMin
,(self
,) + _args
, _kwargs
)
527 def GetYMin(self
, *_args
, **_kwargs
):
528 val
= apply(misc2c
.wxJoystick_GetYMin
,(self
,) + _args
, _kwargs
)
530 def GetZMin(self
, *_args
, **_kwargs
):
531 val
= apply(misc2c
.wxJoystick_GetZMin
,(self
,) + _args
, _kwargs
)
533 def GetXMax(self
, *_args
, **_kwargs
):
534 val
= apply(misc2c
.wxJoystick_GetXMax
,(self
,) + _args
, _kwargs
)
536 def GetYMax(self
, *_args
, **_kwargs
):
537 val
= apply(misc2c
.wxJoystick_GetYMax
,(self
,) + _args
, _kwargs
)
539 def GetZMax(self
, *_args
, **_kwargs
):
540 val
= apply(misc2c
.wxJoystick_GetZMax
,(self
,) + _args
, _kwargs
)
542 def GetNumberButtons(self
, *_args
, **_kwargs
):
543 val
= apply(misc2c
.wxJoystick_GetNumberButtons
,(self
,) + _args
, _kwargs
)
545 def GetNumberAxes(self
, *_args
, **_kwargs
):
546 val
= apply(misc2c
.wxJoystick_GetNumberAxes
,(self
,) + _args
, _kwargs
)
548 def GetMaxButtons(self
, *_args
, **_kwargs
):
549 val
= apply(misc2c
.wxJoystick_GetMaxButtons
,(self
,) + _args
, _kwargs
)
551 def GetMaxAxes(self
, *_args
, **_kwargs
):
552 val
= apply(misc2c
.wxJoystick_GetMaxAxes
,(self
,) + _args
, _kwargs
)
554 def GetPollingMin(self
, *_args
, **_kwargs
):
555 val
= apply(misc2c
.wxJoystick_GetPollingMin
,(self
,) + _args
, _kwargs
)
557 def GetPollingMax(self
, *_args
, **_kwargs
):
558 val
= apply(misc2c
.wxJoystick_GetPollingMax
,(self
,) + _args
, _kwargs
)
560 def GetRudderMin(self
, *_args
, **_kwargs
):
561 val
= apply(misc2c
.wxJoystick_GetRudderMin
,(self
,) + _args
, _kwargs
)
563 def GetRudderMax(self
, *_args
, **_kwargs
):
564 val
= apply(misc2c
.wxJoystick_GetRudderMax
,(self
,) + _args
, _kwargs
)
566 def GetUMin(self
, *_args
, **_kwargs
):
567 val
= apply(misc2c
.wxJoystick_GetUMin
,(self
,) + _args
, _kwargs
)
569 def GetUMax(self
, *_args
, **_kwargs
):
570 val
= apply(misc2c
.wxJoystick_GetUMax
,(self
,) + _args
, _kwargs
)
572 def GetVMin(self
, *_args
, **_kwargs
):
573 val
= apply(misc2c
.wxJoystick_GetVMin
,(self
,) + _args
, _kwargs
)
575 def GetVMax(self
, *_args
, **_kwargs
):
576 val
= apply(misc2c
.wxJoystick_GetVMax
,(self
,) + _args
, _kwargs
)
578 def HasRudder(self
, *_args
, **_kwargs
):
579 val
= apply(misc2c
.wxJoystick_HasRudder
,(self
,) + _args
, _kwargs
)
581 def HasZ(self
, *_args
, **_kwargs
):
582 val
= apply(misc2c
.wxJoystick_HasZ
,(self
,) + _args
, _kwargs
)
584 def HasU(self
, *_args
, **_kwargs
):
585 val
= apply(misc2c
.wxJoystick_HasU
,(self
,) + _args
, _kwargs
)
587 def HasV(self
, *_args
, **_kwargs
):
588 val
= apply(misc2c
.wxJoystick_HasV
,(self
,) + _args
, _kwargs
)
590 def HasPOV(self
, *_args
, **_kwargs
):
591 val
= apply(misc2c
.wxJoystick_HasPOV
,(self
,) + _args
, _kwargs
)
593 def HasPOV4Dir(self
, *_args
, **_kwargs
):
594 val
= apply(misc2c
.wxJoystick_HasPOV4Dir
,(self
,) + _args
, _kwargs
)
596 def HasPOVCTS(self
, *_args
, **_kwargs
):
597 val
= apply(misc2c
.wxJoystick_HasPOVCTS
,(self
,) + _args
, _kwargs
)
599 def SetCapture(self
, *_args
, **_kwargs
):
600 val
= apply(misc2c
.wxJoystick_SetCapture
,(self
,) + _args
, _kwargs
)
602 def ReleaseCapture(self
, *_args
, **_kwargs
):
603 val
= apply(misc2c
.wxJoystick_ReleaseCapture
,(self
,) + _args
, _kwargs
)
606 return "<C wxJoystick instance at %s>" % (self
.this
,)
607 class wxJoystick(wxJoystickPtr
):
608 def __init__(self
,*_args
,**_kwargs
):
609 self
.this
= apply(misc2c
.new_wxJoystick
,_args
,_kwargs
)
617 #-------------- FUNCTION WRAPPERS ------------------
619 wxFileSelector
= misc2c
.wxFileSelector
621 wxGetTextFromUser
= misc2c
.wxGetTextFromUser
623 wxGetPasswordFromUser
= misc2c
.wxGetPasswordFromUser
625 wxGetSingleChoice
= misc2c
.wxGetSingleChoice
627 wxGetSingleChoiceIndex
= misc2c
.wxGetSingleChoiceIndex
629 wxMessageBox
= misc2c
.wxMessageBox
631 wxGetNumberFromUser
= misc2c
.wxGetNumberFromUser
633 wxColourDisplay
= misc2c
.wxColourDisplay
635 wxDisplayDepth
= misc2c
.wxDisplayDepth
637 wxGetDisplayDepth
= misc2c
.wxGetDisplayDepth
639 wxDisplaySize
= misc2c
.wxDisplaySize
641 def wxGetDisplaySize(*_args
, **_kwargs
):
642 val
= apply(misc2c
.wxGetDisplaySize
,_args
,_kwargs
)
643 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
646 wxDisplaySizeMM
= misc2c
.wxDisplaySizeMM
648 def wxGetDisplaySizeMM(*_args
, **_kwargs
):
649 val
= apply(misc2c
.wxGetDisplaySizeMM
,_args
,_kwargs
)
650 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
653 wxSetCursor
= misc2c
.wxSetCursor
655 def wxFindWindowByLabel(*_args
, **_kwargs
):
656 val
= apply(misc2c
.wxFindWindowByLabel
,_args
,_kwargs
)
657 if val
: val
= wxWindowPtr(val
)
660 def wxFindWindowByName(*_args
, **_kwargs
):
661 val
= apply(misc2c
.wxFindWindowByName
,_args
,_kwargs
)
662 if val
: val
= wxWindowPtr(val
)
665 wxBeginBusyCursor
= misc2c
.wxBeginBusyCursor
667 def wxGetActiveWindow(*_args
, **_kwargs
):
668 val
= apply(misc2c
.wxGetActiveWindow
,_args
,_kwargs
)
669 if val
: val
= wxWindowPtr(val
)
672 wxResourceAddIdentifier
= misc2c
.wxResourceAddIdentifier
674 wxResourceClear
= misc2c
.wxResourceClear
676 def wxResourceCreateBitmap(*_args
, **_kwargs
):
677 val
= apply(misc2c
.wxResourceCreateBitmap
,_args
,_kwargs
)
678 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
681 def wxResourceCreateIcon(*_args
, **_kwargs
):
682 val
= apply(misc2c
.wxResourceCreateIcon
,_args
,_kwargs
)
683 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
686 def wxResourceCreateMenuBar(*_args
, **_kwargs
):
687 val
= apply(misc2c
.wxResourceCreateMenuBar
,_args
,_kwargs
)
688 if val
: val
= wxMenuBarPtr(val
)
691 wxResourceGetIdentifier
= misc2c
.wxResourceGetIdentifier
693 wxResourceParseData
= misc2c
.wxResourceParseData
695 wxResourceParseFile
= misc2c
.wxResourceParseFile
697 wxResourceParseString
= misc2c
.wxResourceParseString
699 def wxSystemSettings_GetSystemColour(*_args
, **_kwargs
):
700 val
= apply(misc2c
.wxSystemSettings_GetSystemColour
,_args
,_kwargs
)
701 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
704 def wxSystemSettings_GetSystemFont(*_args
, **_kwargs
):
705 val
= apply(misc2c
.wxSystemSettings_GetSystemFont
,_args
,_kwargs
)
706 if val
: val
= wxFontPtr(val
); val
.thisown
= 1
709 wxSystemSettings_GetSystemMetric
= misc2c
.wxSystemSettings_GetSystemMetric
711 wxToolTip_Enable
= misc2c
.wxToolTip_Enable
713 wxToolTip_SetDelay
= misc2c
.wxToolTip_SetDelay
715 wxCaret_GetBlinkTime
= misc2c
.wxCaret_GetBlinkTime
717 wxCaret_SetBlinkTime
= misc2c
.wxCaret_SetBlinkTime
719 wxPostEvent
= misc2c
.wxPostEvent
721 wxWakeUpIdle
= misc2c
.wxWakeUpIdle
723 wxSafeYield
= misc2c
.wxSafeYield
725 wxShowTip
= misc2c
.wxShowTip
727 def wxCreateFileTipProvider(*_args
, **_kwargs
):
728 val
= apply(misc2c
.wxCreateFileTipProvider
,_args
,_kwargs
)
729 if val
: val
= wxTipProviderPtr(val
); val
.thisown
= 1
732 def wxDragIcon(*_args
, **_kwargs
):
733 val
= apply(misc2c
.wxDragIcon
,_args
,_kwargs
)
734 if val
: val
= wxDragImagePtr(val
); val
.thisown
= 1
737 def wxDragString(*_args
, **_kwargs
):
738 val
= apply(misc2c
.wxDragString
,_args
,_kwargs
)
739 if val
: val
= wxDragImagePtr(val
); val
.thisown
= 1
742 def wxDragTreeItem(*_args
, **_kwargs
):
743 val
= apply(misc2c
.wxDragTreeItem
,_args
,_kwargs
)
744 if val
: val
= wxDragImagePtr(val
); val
.thisown
= 1
747 def wxDragListItem(*_args
, **_kwargs
):
748 val
= apply(misc2c
.wxDragListItem
,_args
,_kwargs
)
749 if val
: val
= wxDragImagePtr(val
); val
.thisown
= 1
752 wxSysErrorCode
= misc2c
.wxSysErrorCode
754 wxSysErrorMsg
= misc2c
.wxSysErrorMsg
756 wxLogFatalError
= misc2c
.wxLogFatalError
758 wxLogError
= misc2c
.wxLogError
760 wxLogWarning
= misc2c
.wxLogWarning
762 wxLogMessage
= misc2c
.wxLogMessage
764 wxLogInfo
= misc2c
.wxLogInfo
766 wxLogVerbose
= misc2c
.wxLogVerbose
768 wxLogStatus
= misc2c
.wxLogStatus
770 wxLogStatusFrame
= misc2c
.wxLogStatusFrame
772 wxLogSysError
= misc2c
.wxLogSysError
774 wxExecute
= misc2c
.wxExecute
776 wxLog_IsEnabled
= misc2c
.wxLog_IsEnabled
778 wxLog_EnableLogging
= misc2c
.wxLog_EnableLogging
780 wxLog_OnLog
= misc2c
.wxLog_OnLog
782 wxLog_FlushActive
= misc2c
.wxLog_FlushActive
784 def wxLog_GetActiveTarget(*_args
, **_kwargs
):
785 val
= apply(misc2c
.wxLog_GetActiveTarget
,_args
,_kwargs
)
786 if val
: val
= wxLogPtr(val
)
789 def wxLog_SetActiveTarget(*_args
, **_kwargs
):
790 val
= apply(misc2c
.wxLog_SetActiveTarget
,_args
,_kwargs
)
791 if val
: val
= wxLogPtr(val
)
794 wxLog_Suspend
= misc2c
.wxLog_Suspend
796 wxLog_Resume
= misc2c
.wxLog_Resume
798 wxLog_DontCreateOnDemand
= misc2c
.wxLog_DontCreateOnDemand
800 wxLog_SetTraceMask
= misc2c
.wxLog_SetTraceMask
802 wxLog_AddTraceMask
= misc2c
.wxLog_AddTraceMask
804 wxLog_RemoveTraceMask
= misc2c
.wxLog_RemoveTraceMask
806 wxLog_GetTraceMask
= misc2c
.wxLog_GetTraceMask
808 wxLog_IsAllowedTraceMask
= misc2c
.wxLog_IsAllowedTraceMask
812 #-------------- VARIABLE WRAPPERS ------------------
814 wxSYS_WHITE_BRUSH
= misc2c
.wxSYS_WHITE_BRUSH
815 wxSYS_LTGRAY_BRUSH
= misc2c
.wxSYS_LTGRAY_BRUSH
816 wxSYS_GRAY_BRUSH
= misc2c
.wxSYS_GRAY_BRUSH
817 wxSYS_DKGRAY_BRUSH
= misc2c
.wxSYS_DKGRAY_BRUSH
818 wxSYS_BLACK_BRUSH
= misc2c
.wxSYS_BLACK_BRUSH
819 wxSYS_NULL_BRUSH
= misc2c
.wxSYS_NULL_BRUSH
820 wxSYS_HOLLOW_BRUSH
= misc2c
.wxSYS_HOLLOW_BRUSH
821 wxSYS_WHITE_PEN
= misc2c
.wxSYS_WHITE_PEN
822 wxSYS_BLACK_PEN
= misc2c
.wxSYS_BLACK_PEN
823 wxSYS_NULL_PEN
= misc2c
.wxSYS_NULL_PEN
824 wxSYS_OEM_FIXED_FONT
= misc2c
.wxSYS_OEM_FIXED_FONT
825 wxSYS_ANSI_FIXED_FONT
= misc2c
.wxSYS_ANSI_FIXED_FONT
826 wxSYS_ANSI_VAR_FONT
= misc2c
.wxSYS_ANSI_VAR_FONT
827 wxSYS_SYSTEM_FONT
= misc2c
.wxSYS_SYSTEM_FONT
828 wxSYS_DEVICE_DEFAULT_FONT
= misc2c
.wxSYS_DEVICE_DEFAULT_FONT
829 wxSYS_DEFAULT_PALETTE
= misc2c
.wxSYS_DEFAULT_PALETTE
830 wxSYS_SYSTEM_FIXED_FONT
= misc2c
.wxSYS_SYSTEM_FIXED_FONT
831 wxSYS_DEFAULT_GUI_FONT
= misc2c
.wxSYS_DEFAULT_GUI_FONT
832 wxSYS_COLOUR_SCROLLBAR
= misc2c
.wxSYS_COLOUR_SCROLLBAR
833 wxSYS_COLOUR_BACKGROUND
= misc2c
.wxSYS_COLOUR_BACKGROUND
834 wxSYS_COLOUR_ACTIVECAPTION
= misc2c
.wxSYS_COLOUR_ACTIVECAPTION
835 wxSYS_COLOUR_INACTIVECAPTION
= misc2c
.wxSYS_COLOUR_INACTIVECAPTION
836 wxSYS_COLOUR_MENU
= misc2c
.wxSYS_COLOUR_MENU
837 wxSYS_COLOUR_WINDOW
= misc2c
.wxSYS_COLOUR_WINDOW
838 wxSYS_COLOUR_WINDOWFRAME
= misc2c
.wxSYS_COLOUR_WINDOWFRAME
839 wxSYS_COLOUR_MENUTEXT
= misc2c
.wxSYS_COLOUR_MENUTEXT
840 wxSYS_COLOUR_WINDOWTEXT
= misc2c
.wxSYS_COLOUR_WINDOWTEXT
841 wxSYS_COLOUR_CAPTIONTEXT
= misc2c
.wxSYS_COLOUR_CAPTIONTEXT
842 wxSYS_COLOUR_ACTIVEBORDER
= misc2c
.wxSYS_COLOUR_ACTIVEBORDER
843 wxSYS_COLOUR_INACTIVEBORDER
= misc2c
.wxSYS_COLOUR_INACTIVEBORDER
844 wxSYS_COLOUR_APPWORKSPACE
= misc2c
.wxSYS_COLOUR_APPWORKSPACE
845 wxSYS_COLOUR_HIGHLIGHT
= misc2c
.wxSYS_COLOUR_HIGHLIGHT
846 wxSYS_COLOUR_HIGHLIGHTTEXT
= misc2c
.wxSYS_COLOUR_HIGHLIGHTTEXT
847 wxSYS_COLOUR_BTNFACE
= misc2c
.wxSYS_COLOUR_BTNFACE
848 wxSYS_COLOUR_BTNSHADOW
= misc2c
.wxSYS_COLOUR_BTNSHADOW
849 wxSYS_COLOUR_GRAYTEXT
= misc2c
.wxSYS_COLOUR_GRAYTEXT
850 wxSYS_COLOUR_BTNTEXT
= misc2c
.wxSYS_COLOUR_BTNTEXT
851 wxSYS_COLOUR_INACTIVECAPTIONTEXT
= misc2c
.wxSYS_COLOUR_INACTIVECAPTIONTEXT
852 wxSYS_COLOUR_BTNHIGHLIGHT
= misc2c
.wxSYS_COLOUR_BTNHIGHLIGHT
853 wxSYS_COLOUR_3DDKSHADOW
= misc2c
.wxSYS_COLOUR_3DDKSHADOW
854 wxSYS_COLOUR_3DLIGHT
= misc2c
.wxSYS_COLOUR_3DLIGHT
855 wxSYS_COLOUR_INFOTEXT
= misc2c
.wxSYS_COLOUR_INFOTEXT
856 wxSYS_COLOUR_INFOBK
= misc2c
.wxSYS_COLOUR_INFOBK
857 wxSYS_COLOUR_DESKTOP
= misc2c
.wxSYS_COLOUR_DESKTOP
858 wxSYS_COLOUR_3DFACE
= misc2c
.wxSYS_COLOUR_3DFACE
859 wxSYS_COLOUR_3DSHADOW
= misc2c
.wxSYS_COLOUR_3DSHADOW
860 wxSYS_COLOUR_3DHIGHLIGHT
= misc2c
.wxSYS_COLOUR_3DHIGHLIGHT
861 wxSYS_COLOUR_3DHILIGHT
= misc2c
.wxSYS_COLOUR_3DHILIGHT
862 wxSYS_COLOUR_BTNHILIGHT
= misc2c
.wxSYS_COLOUR_BTNHILIGHT
863 wxSYS_MOUSE_BUTTONS
= misc2c
.wxSYS_MOUSE_BUTTONS
864 wxSYS_BORDER_X
= misc2c
.wxSYS_BORDER_X
865 wxSYS_BORDER_Y
= misc2c
.wxSYS_BORDER_Y
866 wxSYS_CURSOR_X
= misc2c
.wxSYS_CURSOR_X
867 wxSYS_CURSOR_Y
= misc2c
.wxSYS_CURSOR_Y
868 wxSYS_DCLICK_X
= misc2c
.wxSYS_DCLICK_X
869 wxSYS_DCLICK_Y
= misc2c
.wxSYS_DCLICK_Y
870 wxSYS_DRAG_X
= misc2c
.wxSYS_DRAG_X
871 wxSYS_DRAG_Y
= misc2c
.wxSYS_DRAG_Y
872 wxSYS_EDGE_X
= misc2c
.wxSYS_EDGE_X
873 wxSYS_EDGE_Y
= misc2c
.wxSYS_EDGE_Y
874 wxSYS_HSCROLL_ARROW_X
= misc2c
.wxSYS_HSCROLL_ARROW_X
875 wxSYS_HSCROLL_ARROW_Y
= misc2c
.wxSYS_HSCROLL_ARROW_Y
876 wxSYS_HTHUMB_X
= misc2c
.wxSYS_HTHUMB_X
877 wxSYS_ICON_X
= misc2c
.wxSYS_ICON_X
878 wxSYS_ICON_Y
= misc2c
.wxSYS_ICON_Y
879 wxSYS_ICONSPACING_X
= misc2c
.wxSYS_ICONSPACING_X
880 wxSYS_ICONSPACING_Y
= misc2c
.wxSYS_ICONSPACING_Y
881 wxSYS_WINDOWMIN_X
= misc2c
.wxSYS_WINDOWMIN_X
882 wxSYS_WINDOWMIN_Y
= misc2c
.wxSYS_WINDOWMIN_Y
883 wxSYS_SCREEN_X
= misc2c
.wxSYS_SCREEN_X
884 wxSYS_SCREEN_Y
= misc2c
.wxSYS_SCREEN_Y
885 wxSYS_FRAMESIZE_X
= misc2c
.wxSYS_FRAMESIZE_X
886 wxSYS_FRAMESIZE_Y
= misc2c
.wxSYS_FRAMESIZE_Y
887 wxSYS_SMALLICON_X
= misc2c
.wxSYS_SMALLICON_X
888 wxSYS_SMALLICON_Y
= misc2c
.wxSYS_SMALLICON_Y
889 wxSYS_HSCROLL_Y
= misc2c
.wxSYS_HSCROLL_Y
890 wxSYS_VSCROLL_X
= misc2c
.wxSYS_VSCROLL_X
891 wxSYS_VSCROLL_ARROW_X
= misc2c
.wxSYS_VSCROLL_ARROW_X
892 wxSYS_VSCROLL_ARROW_Y
= misc2c
.wxSYS_VSCROLL_ARROW_Y
893 wxSYS_VTHUMB_Y
= misc2c
.wxSYS_VTHUMB_Y
894 wxSYS_CAPTION_Y
= misc2c
.wxSYS_CAPTION_Y
895 wxSYS_MENU_Y
= misc2c
.wxSYS_MENU_Y
896 wxSYS_NETWORK_PRESENT
= misc2c
.wxSYS_NETWORK_PRESENT
897 wxSYS_PENWINDOWS_PRESENT
= misc2c
.wxSYS_PENWINDOWS_PRESENT
898 wxSYS_SHOW_SOUNDS
= misc2c
.wxSYS_SHOW_SOUNDS
899 wxSYS_SWAP_BUTTONS
= misc2c
.wxSYS_SWAP_BUTTONS
900 wxLOG_FatalError
= misc2c
.wxLOG_FatalError
901 wxLOG_Error
= misc2c
.wxLOG_Error
902 wxLOG_Warning
= misc2c
.wxLOG_Warning
903 wxLOG_Message
= misc2c
.wxLOG_Message
904 wxLOG_Info
= misc2c
.wxLOG_Info
905 wxLOG_Status
= misc2c
.wxLOG_Status
906 wxLOG_Debug
= misc2c
.wxLOG_Debug
907 wxLOG_Trace
= misc2c
.wxLOG_Trace
908 wxLOG_Progress
= misc2c
.wxLOG_Progress
909 wxLOG_User
= misc2c
.wxLOG_User
910 wxEVT_END_PROCESS
= misc2c
.wxEVT_END_PROCESS