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 wxMutexGuiLockerPtr
:
166 def __init__(self
,this
):
169 def __del__(self
,misc2c
=misc2c
):
170 if self
.thisown
== 1 :
171 misc2c
.delete_wxMutexGuiLocker(self
)
173 return "<C wxMutexGuiLocker instance at %s>" % (self
.this
,)
174 class wxMutexGuiLocker(wxMutexGuiLockerPtr
):
175 def __init__(self
,*_args
,**_kwargs
):
176 self
.this
= apply(misc2c
.new_wxMutexGuiLocker
,_args
,_kwargs
)
182 class wxTipProviderPtr
:
183 def __init__(self
,this
):
186 def __del__(self
,misc2c
=misc2c
):
187 if self
.thisown
== 1 :
188 misc2c
.delete_wxTipProvider(self
)
189 def GetTip(self
, *_args
, **_kwargs
):
190 val
= apply(misc2c
.wxTipProvider_GetTip
,(self
,) + _args
, _kwargs
)
192 def GetCurrentTip(self
, *_args
, **_kwargs
):
193 val
= apply(misc2c
.wxTipProvider_GetCurrentTip
,(self
,) + _args
, _kwargs
)
196 return "<C wxTipProvider instance at %s>" % (self
.this
,)
197 class wxTipProvider(wxTipProviderPtr
):
198 def __init__(self
,this
):
204 class wxPyTipProviderPtr(wxTipProviderPtr
):
205 def __init__(self
,this
):
209 return "<C wxPyTipProvider instance at %s>" % (self
.this
,)
210 class wxPyTipProvider(wxPyTipProviderPtr
):
211 def __init__(self
,*_args
,**_kwargs
):
212 self
.this
= apply(misc2c
.new_wxPyTipProvider
,_args
,_kwargs
)
218 class wxDragImagePtr
:
219 def __init__(self
,this
):
222 def __del__(self
,misc2c
=misc2c
):
223 if self
.thisown
== 1 :
224 misc2c
.delete_wxDragImage(self
)
225 def BeginDrag(self
, *_args
, **_kwargs
):
226 val
= apply(misc2c
.wxDragImage_BeginDrag
,(self
,) + _args
, _kwargs
)
228 def BeginDrag2(self
, *_args
, **_kwargs
):
229 val
= apply(misc2c
.wxDragImage_BeginDrag2
,(self
,) + _args
, _kwargs
)
231 def EndDrag(self
, *_args
, **_kwargs
):
232 val
= apply(misc2c
.wxDragImage_EndDrag
,(self
,) + _args
, _kwargs
)
234 def Move(self
, *_args
, **_kwargs
):
235 val
= apply(misc2c
.wxDragImage_Move
,(self
,) + _args
, _kwargs
)
237 def Show(self
, *_args
, **_kwargs
):
238 val
= apply(misc2c
.wxDragImage_Show
,(self
,) + _args
, _kwargs
)
240 def Hide(self
, *_args
, **_kwargs
):
241 val
= apply(misc2c
.wxDragImage_Hide
,(self
,) + _args
, _kwargs
)
243 def GetImageRect(self
, *_args
, **_kwargs
):
244 val
= apply(misc2c
.wxDragImage_GetImageRect
,(self
,) + _args
, _kwargs
)
245 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
247 def RedrawImage(self
, *_args
, **_kwargs
):
248 val
= apply(misc2c
.wxDragImage_RedrawImage
,(self
,) + _args
, _kwargs
)
251 return "<C wxDragImage instance at %s>" % (self
.this
,)
252 class wxDragImage(wxDragImagePtr
):
253 def __init__(self
,*_args
,**_kwargs
):
254 self
.this
= apply(misc2c
.new_wxDragImage
,_args
,_kwargs
)
261 def __init__(self
,this
):
264 def __del__(self
,misc2c
=misc2c
):
265 if self
.thisown
== 1 :
266 misc2c
.delete_wxPyTimer(self
)
267 def GetInterval(self
, *_args
, **_kwargs
):
268 val
= apply(misc2c
.wxPyTimer_GetInterval
,(self
,) + _args
, _kwargs
)
270 def IsOneShot(self
, *_args
, **_kwargs
):
271 val
= apply(misc2c
.wxPyTimer_IsOneShot
,(self
,) + _args
, _kwargs
)
273 def IsRunning(self
, *_args
, **_kwargs
):
274 val
= apply(misc2c
.wxPyTimer_IsRunning
,(self
,) + _args
, _kwargs
)
276 def SetOwner(self
, *_args
, **_kwargs
):
277 val
= apply(misc2c
.wxPyTimer_SetOwner
,(self
,) + _args
, _kwargs
)
279 def Start(self
, *_args
, **_kwargs
):
280 val
= apply(misc2c
.wxPyTimer_Start
,(self
,) + _args
, _kwargs
)
282 def Stop(self
, *_args
, **_kwargs
):
283 val
= apply(misc2c
.wxPyTimer_Stop
,(self
,) + _args
, _kwargs
)
286 return "<C wxPyTimer instance at %s>" % (self
.this
,)
287 class wxPyTimer(wxPyTimerPtr
):
288 def __init__(self
,*_args
,**_kwargs
):
289 self
.this
= apply(misc2c
.new_wxPyTimer
,_args
,_kwargs
)
296 def __init__(self
,this
):
299 def Flush(self
, *_args
, **_kwargs
):
300 val
= apply(misc2c
.wxLog_Flush
,(self
,) + _args
, _kwargs
)
302 def HasPendingMessages(self
, *_args
, **_kwargs
):
303 val
= apply(misc2c
.wxLog_HasPendingMessages
,(self
,) + _args
, _kwargs
)
305 def SetVerbose(self
, *_args
, **_kwargs
):
306 val
= apply(misc2c
.wxLog_SetVerbose
,(self
,) + _args
, _kwargs
)
308 def GetVerbose(self
, *_args
, **_kwargs
):
309 val
= apply(misc2c
.wxLog_GetVerbose
,(self
,) + _args
, _kwargs
)
312 return "<C wxLog instance at %s>" % (self
.this
,)
313 class wxLog(wxLogPtr
):
314 def __init__(self
,*_args
,**_kwargs
):
315 self
.this
= apply(misc2c
.new_wxLog
,_args
,_kwargs
)
321 class wxLogStderrPtr(wxLogPtr
):
322 def __init__(self
,this
):
326 return "<C wxLogStderr instance at %s>" % (self
.this
,)
327 class wxLogStderr(wxLogStderrPtr
):
328 def __init__(self
,*_args
,**_kwargs
):
329 self
.this
= apply(misc2c
.new_wxLogStderr
,_args
,_kwargs
)
335 class wxLogTextCtrlPtr(wxLogPtr
):
336 def __init__(self
,this
):
340 return "<C wxLogTextCtrl instance at %s>" % (self
.this
,)
341 class wxLogTextCtrl(wxLogTextCtrlPtr
):
342 def __init__(self
,*_args
,**_kwargs
):
343 self
.this
= apply(misc2c
.new_wxLogTextCtrl
,_args
,_kwargs
)
349 class wxLogGuiPtr(wxLogPtr
):
350 def __init__(self
,this
):
354 return "<C wxLogGui instance at %s>" % (self
.this
,)
355 class wxLogGui(wxLogGuiPtr
):
356 def __init__(self
,*_args
,**_kwargs
):
357 self
.this
= apply(misc2c
.new_wxLogGui
,_args
,_kwargs
)
363 class wxLogWindowPtr(wxLogPtr
):
364 def __init__(self
,this
):
367 def Show(self
, *_args
, **_kwargs
):
368 val
= apply(misc2c
.wxLogWindow_Show
,(self
,) + _args
, _kwargs
)
370 def GetFrame(self
, *_args
, **_kwargs
):
371 val
= apply(misc2c
.wxLogWindow_GetFrame
,(self
,) + _args
, _kwargs
)
372 if val
: val
= wxFramePtr(val
)
374 def GetOldLog(self
, *_args
, **_kwargs
):
375 val
= apply(misc2c
.wxLogWindow_GetOldLog
,(self
,) + _args
, _kwargs
)
376 if val
: val
= wxLogPtr(val
)
378 def IsPassingMessages(self
, *_args
, **_kwargs
):
379 val
= apply(misc2c
.wxLogWindow_IsPassingMessages
,(self
,) + _args
, _kwargs
)
381 def PassMessages(self
, *_args
, **_kwargs
):
382 val
= apply(misc2c
.wxLogWindow_PassMessages
,(self
,) + _args
, _kwargs
)
385 return "<C wxLogWindow instance at %s>" % (self
.this
,)
386 class wxLogWindow(wxLogWindowPtr
):
387 def __init__(self
,*_args
,**_kwargs
):
388 self
.this
= apply(misc2c
.new_wxLogWindow
,_args
,_kwargs
)
395 def __init__(self
,this
):
398 def __del__(self
,misc2c
=misc2c
):
399 if self
.thisown
== 1 :
400 misc2c
.delete_wxLogNull(self
)
402 return "<C wxLogNull instance at %s>" % (self
.this
,)
403 class wxLogNull(wxLogNullPtr
):
404 def __init__(self
,*_args
,**_kwargs
):
405 self
.this
= apply(misc2c
.new_wxLogNull
,_args
,_kwargs
)
411 class wxProcessEventPtr(wxEventPtr
):
412 def __init__(self
,this
):
415 def GetPid(self
, *_args
, **_kwargs
):
416 val
= apply(misc2c
.wxProcessEvent_GetPid
,(self
,) + _args
, _kwargs
)
418 def GetExitCode(self
, *_args
, **_kwargs
):
419 val
= apply(misc2c
.wxProcessEvent_GetExitCode
,(self
,) + _args
, _kwargs
)
421 def __setattr__(self
,name
,value
):
423 misc2c
.wxProcessEvent_m_pid_set(self
,value
)
425 if name
== "m_exitcode" :
426 misc2c
.wxProcessEvent_m_exitcode_set(self
,value
)
428 self
.__dict
__[name
] = value
429 def __getattr__(self
,name
):
431 return misc2c
.wxProcessEvent_m_pid_get(self
)
432 if name
== "m_exitcode" :
433 return misc2c
.wxProcessEvent_m_exitcode_get(self
)
434 raise AttributeError,name
436 return "<C wxProcessEvent instance at %s>" % (self
.this
,)
437 class wxProcessEvent(wxProcessEventPtr
):
438 def __init__(self
,*_args
,**_kwargs
):
439 self
.this
= apply(misc2c
.new_wxProcessEvent
,_args
,_kwargs
)
445 class wxProcessPtr(wxEvtHandlerPtr
):
446 def __init__(self
,this
):
449 def Destroy(self
, *_args
, **_kwargs
):
450 val
= apply(misc2c
.wxProcess_Destroy
,(self
,) + _args
, _kwargs
)
452 def _setSelf(self
, *_args
, **_kwargs
):
453 val
= apply(misc2c
.wxProcess__setSelf
,(self
,) + _args
, _kwargs
)
455 def base_OnTerminate(self
, *_args
, **_kwargs
):
456 val
= apply(misc2c
.wxProcess_base_OnTerminate
,(self
,) + _args
, _kwargs
)
458 def Redirect(self
, *_args
, **_kwargs
):
459 val
= apply(misc2c
.wxProcess_Redirect
,(self
,) + _args
, _kwargs
)
461 def IsRedirected(self
, *_args
, **_kwargs
):
462 val
= apply(misc2c
.wxProcess_IsRedirected
,(self
,) + _args
, _kwargs
)
464 def Detach(self
, *_args
, **_kwargs
):
465 val
= apply(misc2c
.wxProcess_Detach
,(self
,) + _args
, _kwargs
)
467 def GetInputStream(self
, *_args
, **_kwargs
):
468 val
= apply(misc2c
.wxProcess_GetInputStream
,(self
,) + _args
, _kwargs
)
470 def GetErrorStream(self
, *_args
, **_kwargs
):
471 val
= apply(misc2c
.wxProcess_GetErrorStream
,(self
,) + _args
, _kwargs
)
473 def GetOutputStream(self
, *_args
, **_kwargs
):
474 val
= apply(misc2c
.wxProcess_GetOutputStream
,(self
,) + _args
, _kwargs
)
475 if val
: val
= wxOutputStreamPtr(val
)
477 def CloseOutput(self
, *_args
, **_kwargs
):
478 val
= apply(misc2c
.wxProcess_CloseOutput
,(self
,) + _args
, _kwargs
)
481 return "<C wxProcess instance at %s>" % (self
.this
,)
482 class wxProcess(wxProcessPtr
):
483 def __init__(self
,*_args
,**_kwargs
):
484 self
.this
= apply(misc2c
.new_wxProcess
,_args
,_kwargs
)
486 self
._setSelf
(self
, wxProcess
)
491 class wxJoystickPtr
:
492 def __init__(self
,this
):
495 def GetPosition(self
, *_args
, **_kwargs
):
496 val
= apply(misc2c
.wxJoystick_GetPosition
,(self
,) + _args
, _kwargs
)
497 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
499 def GetZPosition(self
, *_args
, **_kwargs
):
500 val
= apply(misc2c
.wxJoystick_GetZPosition
,(self
,) + _args
, _kwargs
)
502 def GetButtonState(self
, *_args
, **_kwargs
):
503 val
= apply(misc2c
.wxJoystick_GetButtonState
,(self
,) + _args
, _kwargs
)
505 def GetPOVPosition(self
, *_args
, **_kwargs
):
506 val
= apply(misc2c
.wxJoystick_GetPOVPosition
,(self
,) + _args
, _kwargs
)
508 def GetPOVCTSPosition(self
, *_args
, **_kwargs
):
509 val
= apply(misc2c
.wxJoystick_GetPOVCTSPosition
,(self
,) + _args
, _kwargs
)
511 def GetRudderPosition(self
, *_args
, **_kwargs
):
512 val
= apply(misc2c
.wxJoystick_GetRudderPosition
,(self
,) + _args
, _kwargs
)
514 def GetUPosition(self
, *_args
, **_kwargs
):
515 val
= apply(misc2c
.wxJoystick_GetUPosition
,(self
,) + _args
, _kwargs
)
517 def GetVPosition(self
, *_args
, **_kwargs
):
518 val
= apply(misc2c
.wxJoystick_GetVPosition
,(self
,) + _args
, _kwargs
)
520 def GetMovementThreshold(self
, *_args
, **_kwargs
):
521 val
= apply(misc2c
.wxJoystick_GetMovementThreshold
,(self
,) + _args
, _kwargs
)
523 def SetMovementThreshold(self
, *_args
, **_kwargs
):
524 val
= apply(misc2c
.wxJoystick_SetMovementThreshold
,(self
,) + _args
, _kwargs
)
526 def IsOk(self
, *_args
, **_kwargs
):
527 val
= apply(misc2c
.wxJoystick_IsOk
,(self
,) + _args
, _kwargs
)
529 def GetNumberJoysticks(self
, *_args
, **_kwargs
):
530 val
= apply(misc2c
.wxJoystick_GetNumberJoysticks
,(self
,) + _args
, _kwargs
)
532 def GetManufacturerId(self
, *_args
, **_kwargs
):
533 val
= apply(misc2c
.wxJoystick_GetManufacturerId
,(self
,) + _args
, _kwargs
)
535 def GetProductId(self
, *_args
, **_kwargs
):
536 val
= apply(misc2c
.wxJoystick_GetProductId
,(self
,) + _args
, _kwargs
)
538 def GetProductName(self
, *_args
, **_kwargs
):
539 val
= apply(misc2c
.wxJoystick_GetProductName
,(self
,) + _args
, _kwargs
)
541 def GetXMin(self
, *_args
, **_kwargs
):
542 val
= apply(misc2c
.wxJoystick_GetXMin
,(self
,) + _args
, _kwargs
)
544 def GetYMin(self
, *_args
, **_kwargs
):
545 val
= apply(misc2c
.wxJoystick_GetYMin
,(self
,) + _args
, _kwargs
)
547 def GetZMin(self
, *_args
, **_kwargs
):
548 val
= apply(misc2c
.wxJoystick_GetZMin
,(self
,) + _args
, _kwargs
)
550 def GetXMax(self
, *_args
, **_kwargs
):
551 val
= apply(misc2c
.wxJoystick_GetXMax
,(self
,) + _args
, _kwargs
)
553 def GetYMax(self
, *_args
, **_kwargs
):
554 val
= apply(misc2c
.wxJoystick_GetYMax
,(self
,) + _args
, _kwargs
)
556 def GetZMax(self
, *_args
, **_kwargs
):
557 val
= apply(misc2c
.wxJoystick_GetZMax
,(self
,) + _args
, _kwargs
)
559 def GetNumberButtons(self
, *_args
, **_kwargs
):
560 val
= apply(misc2c
.wxJoystick_GetNumberButtons
,(self
,) + _args
, _kwargs
)
562 def GetNumberAxes(self
, *_args
, **_kwargs
):
563 val
= apply(misc2c
.wxJoystick_GetNumberAxes
,(self
,) + _args
, _kwargs
)
565 def GetMaxButtons(self
, *_args
, **_kwargs
):
566 val
= apply(misc2c
.wxJoystick_GetMaxButtons
,(self
,) + _args
, _kwargs
)
568 def GetMaxAxes(self
, *_args
, **_kwargs
):
569 val
= apply(misc2c
.wxJoystick_GetMaxAxes
,(self
,) + _args
, _kwargs
)
571 def GetPollingMin(self
, *_args
, **_kwargs
):
572 val
= apply(misc2c
.wxJoystick_GetPollingMin
,(self
,) + _args
, _kwargs
)
574 def GetPollingMax(self
, *_args
, **_kwargs
):
575 val
= apply(misc2c
.wxJoystick_GetPollingMax
,(self
,) + _args
, _kwargs
)
577 def GetRudderMin(self
, *_args
, **_kwargs
):
578 val
= apply(misc2c
.wxJoystick_GetRudderMin
,(self
,) + _args
, _kwargs
)
580 def GetRudderMax(self
, *_args
, **_kwargs
):
581 val
= apply(misc2c
.wxJoystick_GetRudderMax
,(self
,) + _args
, _kwargs
)
583 def GetUMin(self
, *_args
, **_kwargs
):
584 val
= apply(misc2c
.wxJoystick_GetUMin
,(self
,) + _args
, _kwargs
)
586 def GetUMax(self
, *_args
, **_kwargs
):
587 val
= apply(misc2c
.wxJoystick_GetUMax
,(self
,) + _args
, _kwargs
)
589 def GetVMin(self
, *_args
, **_kwargs
):
590 val
= apply(misc2c
.wxJoystick_GetVMin
,(self
,) + _args
, _kwargs
)
592 def GetVMax(self
, *_args
, **_kwargs
):
593 val
= apply(misc2c
.wxJoystick_GetVMax
,(self
,) + _args
, _kwargs
)
595 def HasRudder(self
, *_args
, **_kwargs
):
596 val
= apply(misc2c
.wxJoystick_HasRudder
,(self
,) + _args
, _kwargs
)
598 def HasZ(self
, *_args
, **_kwargs
):
599 val
= apply(misc2c
.wxJoystick_HasZ
,(self
,) + _args
, _kwargs
)
601 def HasU(self
, *_args
, **_kwargs
):
602 val
= apply(misc2c
.wxJoystick_HasU
,(self
,) + _args
, _kwargs
)
604 def HasV(self
, *_args
, **_kwargs
):
605 val
= apply(misc2c
.wxJoystick_HasV
,(self
,) + _args
, _kwargs
)
607 def HasPOV(self
, *_args
, **_kwargs
):
608 val
= apply(misc2c
.wxJoystick_HasPOV
,(self
,) + _args
, _kwargs
)
610 def HasPOV4Dir(self
, *_args
, **_kwargs
):
611 val
= apply(misc2c
.wxJoystick_HasPOV4Dir
,(self
,) + _args
, _kwargs
)
613 def HasPOVCTS(self
, *_args
, **_kwargs
):
614 val
= apply(misc2c
.wxJoystick_HasPOVCTS
,(self
,) + _args
, _kwargs
)
616 def SetCapture(self
, *_args
, **_kwargs
):
617 val
= apply(misc2c
.wxJoystick_SetCapture
,(self
,) + _args
, _kwargs
)
619 def ReleaseCapture(self
, *_args
, **_kwargs
):
620 val
= apply(misc2c
.wxJoystick_ReleaseCapture
,(self
,) + _args
, _kwargs
)
623 return "<C wxJoystick instance at %s>" % (self
.this
,)
624 class wxJoystick(wxJoystickPtr
):
625 def __init__(self
,*_args
,**_kwargs
):
626 self
.this
= apply(misc2c
.new_wxJoystick
,_args
,_kwargs
)
634 #-------------- FUNCTION WRAPPERS ------------------
636 wxFileSelector
= misc2c
.wxFileSelector
638 wxGetTextFromUser
= misc2c
.wxGetTextFromUser
640 wxGetPasswordFromUser
= misc2c
.wxGetPasswordFromUser
642 wxGetSingleChoice
= misc2c
.wxGetSingleChoice
644 wxGetSingleChoiceIndex
= misc2c
.wxGetSingleChoiceIndex
646 wxMessageBox
= misc2c
.wxMessageBox
648 wxGetNumberFromUser
= misc2c
.wxGetNumberFromUser
650 wxColourDisplay
= misc2c
.wxColourDisplay
652 wxDisplayDepth
= misc2c
.wxDisplayDepth
654 wxGetDisplayDepth
= misc2c
.wxGetDisplayDepth
656 wxDisplaySize
= misc2c
.wxDisplaySize
658 def wxGetDisplaySize(*_args
, **_kwargs
):
659 val
= apply(misc2c
.wxGetDisplaySize
,_args
,_kwargs
)
660 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
663 wxDisplaySizeMM
= misc2c
.wxDisplaySizeMM
665 def wxGetDisplaySizeMM(*_args
, **_kwargs
):
666 val
= apply(misc2c
.wxGetDisplaySizeMM
,_args
,_kwargs
)
667 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
670 wxClientDisplayRect
= misc2c
.wxClientDisplayRect
672 def wxGetClientDisplayRect(*_args
, **_kwargs
):
673 val
= apply(misc2c
.wxGetClientDisplayRect
,_args
,_kwargs
)
674 if val
: val
= wxRectPtr(val
); val
.thisown
= 1
677 wxSetCursor
= misc2c
.wxSetCursor
679 def wxFindWindowByLabel(*_args
, **_kwargs
):
680 val
= apply(misc2c
.wxFindWindowByLabel
,_args
,_kwargs
)
681 if val
: val
= wxWindowPtr(val
)
684 def wxFindWindowByName(*_args
, **_kwargs
):
685 val
= apply(misc2c
.wxFindWindowByName
,_args
,_kwargs
)
686 if val
: val
= wxWindowPtr(val
)
689 wxBeginBusyCursor
= misc2c
.wxBeginBusyCursor
691 def wxGetActiveWindow(*_args
, **_kwargs
):
692 val
= apply(misc2c
.wxGetActiveWindow
,_args
,_kwargs
)
693 if val
: val
= wxWindowPtr(val
)
696 wxResourceAddIdentifier
= misc2c
.wxResourceAddIdentifier
698 wxResourceClear
= misc2c
.wxResourceClear
700 def wxResourceCreateBitmap(*_args
, **_kwargs
):
701 val
= apply(misc2c
.wxResourceCreateBitmap
,_args
,_kwargs
)
702 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
705 def wxResourceCreateIcon(*_args
, **_kwargs
):
706 val
= apply(misc2c
.wxResourceCreateIcon
,_args
,_kwargs
)
707 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
710 def wxResourceCreateMenuBar(*_args
, **_kwargs
):
711 val
= apply(misc2c
.wxResourceCreateMenuBar
,_args
,_kwargs
)
712 if val
: val
= wxMenuBarPtr(val
)
715 wxResourceGetIdentifier
= misc2c
.wxResourceGetIdentifier
717 wxResourceParseData
= misc2c
.wxResourceParseData
719 wxResourceParseFile
= misc2c
.wxResourceParseFile
721 wxResourceParseString
= misc2c
.wxResourceParseString
723 def wxSystemSettings_GetSystemColour(*_args
, **_kwargs
):
724 val
= apply(misc2c
.wxSystemSettings_GetSystemColour
,_args
,_kwargs
)
725 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
728 def wxSystemSettings_GetSystemFont(*_args
, **_kwargs
):
729 val
= apply(misc2c
.wxSystemSettings_GetSystemFont
,_args
,_kwargs
)
730 if val
: val
= wxFontPtr(val
); val
.thisown
= 1
733 wxSystemSettings_GetSystemMetric
= misc2c
.wxSystemSettings_GetSystemMetric
735 wxToolTip_Enable
= misc2c
.wxToolTip_Enable
737 wxToolTip_SetDelay
= misc2c
.wxToolTip_SetDelay
739 wxCaret_GetBlinkTime
= misc2c
.wxCaret_GetBlinkTime
741 wxCaret_SetBlinkTime
= misc2c
.wxCaret_SetBlinkTime
743 wxSafeYield
= misc2c
.wxSafeYield
745 wxPostEvent
= misc2c
.wxPostEvent
747 wxWakeUpIdle
= misc2c
.wxWakeUpIdle
749 wxWakeUpMainThread
= misc2c
.wxWakeUpMainThread
751 wxMutexGuiEnter
= misc2c
.wxMutexGuiEnter
753 wxMutexGuiLeave
= misc2c
.wxMutexGuiLeave
755 wxThread_IsMain
= misc2c
.wxThread_IsMain
757 wxShowTip
= misc2c
.wxShowTip
759 def wxCreateFileTipProvider(*_args
, **_kwargs
):
760 val
= apply(misc2c
.wxCreateFileTipProvider
,_args
,_kwargs
)
761 if val
: val
= wxTipProviderPtr(val
); val
.thisown
= 1
764 def wxDragIcon(*_args
, **_kwargs
):
765 val
= apply(misc2c
.wxDragIcon
,_args
,_kwargs
)
766 if val
: val
= wxDragImagePtr(val
); val
.thisown
= 1
769 def wxDragString(*_args
, **_kwargs
):
770 val
= apply(misc2c
.wxDragString
,_args
,_kwargs
)
771 if val
: val
= wxDragImagePtr(val
); val
.thisown
= 1
774 def wxDragTreeItem(*_args
, **_kwargs
):
775 val
= apply(misc2c
.wxDragTreeItem
,_args
,_kwargs
)
776 if val
: val
= wxDragImagePtr(val
); val
.thisown
= 1
779 def wxDragListItem(*_args
, **_kwargs
):
780 val
= apply(misc2c
.wxDragListItem
,_args
,_kwargs
)
781 if val
: val
= wxDragImagePtr(val
); val
.thisown
= 1
784 wxSysErrorCode
= misc2c
.wxSysErrorCode
786 wxSysErrorMsg
= misc2c
.wxSysErrorMsg
788 wxLogFatalError
= misc2c
.wxLogFatalError
790 wxLogError
= misc2c
.wxLogError
792 wxLogWarning
= misc2c
.wxLogWarning
794 wxLogMessage
= misc2c
.wxLogMessage
796 wxLogInfo
= misc2c
.wxLogInfo
798 wxLogVerbose
= misc2c
.wxLogVerbose
800 wxLogStatus
= misc2c
.wxLogStatus
802 wxLogStatusFrame
= misc2c
.wxLogStatusFrame
804 wxLogSysError
= misc2c
.wxLogSysError
806 wxExecute
= misc2c
.wxExecute
808 wxLog_IsEnabled
= misc2c
.wxLog_IsEnabled
810 wxLog_EnableLogging
= misc2c
.wxLog_EnableLogging
812 wxLog_OnLog
= misc2c
.wxLog_OnLog
814 wxLog_FlushActive
= misc2c
.wxLog_FlushActive
816 def wxLog_GetActiveTarget(*_args
, **_kwargs
):
817 val
= apply(misc2c
.wxLog_GetActiveTarget
,_args
,_kwargs
)
818 if val
: val
= wxLogPtr(val
)
821 def wxLog_SetActiveTarget(*_args
, **_kwargs
):
822 val
= apply(misc2c
.wxLog_SetActiveTarget
,_args
,_kwargs
)
823 if val
: val
= wxLogPtr(val
)
826 wxLog_Suspend
= misc2c
.wxLog_Suspend
828 wxLog_Resume
= misc2c
.wxLog_Resume
830 wxLog_DontCreateOnDemand
= misc2c
.wxLog_DontCreateOnDemand
832 wxLog_SetTraceMask
= misc2c
.wxLog_SetTraceMask
834 wxLog_AddTraceMask
= misc2c
.wxLog_AddTraceMask
836 wxLog_RemoveTraceMask
= misc2c
.wxLog_RemoveTraceMask
838 wxLog_GetTraceMask
= misc2c
.wxLog_GetTraceMask
840 wxLog_IsAllowedTraceMask
= misc2c
.wxLog_IsAllowedTraceMask
844 #-------------- VARIABLE WRAPPERS ------------------
846 wxSYS_WHITE_BRUSH
= misc2c
.wxSYS_WHITE_BRUSH
847 wxSYS_LTGRAY_BRUSH
= misc2c
.wxSYS_LTGRAY_BRUSH
848 wxSYS_GRAY_BRUSH
= misc2c
.wxSYS_GRAY_BRUSH
849 wxSYS_DKGRAY_BRUSH
= misc2c
.wxSYS_DKGRAY_BRUSH
850 wxSYS_BLACK_BRUSH
= misc2c
.wxSYS_BLACK_BRUSH
851 wxSYS_NULL_BRUSH
= misc2c
.wxSYS_NULL_BRUSH
852 wxSYS_HOLLOW_BRUSH
= misc2c
.wxSYS_HOLLOW_BRUSH
853 wxSYS_WHITE_PEN
= misc2c
.wxSYS_WHITE_PEN
854 wxSYS_BLACK_PEN
= misc2c
.wxSYS_BLACK_PEN
855 wxSYS_NULL_PEN
= misc2c
.wxSYS_NULL_PEN
856 wxSYS_OEM_FIXED_FONT
= misc2c
.wxSYS_OEM_FIXED_FONT
857 wxSYS_ANSI_FIXED_FONT
= misc2c
.wxSYS_ANSI_FIXED_FONT
858 wxSYS_ANSI_VAR_FONT
= misc2c
.wxSYS_ANSI_VAR_FONT
859 wxSYS_SYSTEM_FONT
= misc2c
.wxSYS_SYSTEM_FONT
860 wxSYS_DEVICE_DEFAULT_FONT
= misc2c
.wxSYS_DEVICE_DEFAULT_FONT
861 wxSYS_DEFAULT_PALETTE
= misc2c
.wxSYS_DEFAULT_PALETTE
862 wxSYS_SYSTEM_FIXED_FONT
= misc2c
.wxSYS_SYSTEM_FIXED_FONT
863 wxSYS_DEFAULT_GUI_FONT
= misc2c
.wxSYS_DEFAULT_GUI_FONT
864 wxSYS_COLOUR_SCROLLBAR
= misc2c
.wxSYS_COLOUR_SCROLLBAR
865 wxSYS_COLOUR_BACKGROUND
= misc2c
.wxSYS_COLOUR_BACKGROUND
866 wxSYS_COLOUR_ACTIVECAPTION
= misc2c
.wxSYS_COLOUR_ACTIVECAPTION
867 wxSYS_COLOUR_INACTIVECAPTION
= misc2c
.wxSYS_COLOUR_INACTIVECAPTION
868 wxSYS_COLOUR_MENU
= misc2c
.wxSYS_COLOUR_MENU
869 wxSYS_COLOUR_WINDOW
= misc2c
.wxSYS_COLOUR_WINDOW
870 wxSYS_COLOUR_WINDOWFRAME
= misc2c
.wxSYS_COLOUR_WINDOWFRAME
871 wxSYS_COLOUR_MENUTEXT
= misc2c
.wxSYS_COLOUR_MENUTEXT
872 wxSYS_COLOUR_WINDOWTEXT
= misc2c
.wxSYS_COLOUR_WINDOWTEXT
873 wxSYS_COLOUR_CAPTIONTEXT
= misc2c
.wxSYS_COLOUR_CAPTIONTEXT
874 wxSYS_COLOUR_ACTIVEBORDER
= misc2c
.wxSYS_COLOUR_ACTIVEBORDER
875 wxSYS_COLOUR_INACTIVEBORDER
= misc2c
.wxSYS_COLOUR_INACTIVEBORDER
876 wxSYS_COLOUR_APPWORKSPACE
= misc2c
.wxSYS_COLOUR_APPWORKSPACE
877 wxSYS_COLOUR_HIGHLIGHT
= misc2c
.wxSYS_COLOUR_HIGHLIGHT
878 wxSYS_COLOUR_HIGHLIGHTTEXT
= misc2c
.wxSYS_COLOUR_HIGHLIGHTTEXT
879 wxSYS_COLOUR_BTNFACE
= misc2c
.wxSYS_COLOUR_BTNFACE
880 wxSYS_COLOUR_BTNSHADOW
= misc2c
.wxSYS_COLOUR_BTNSHADOW
881 wxSYS_COLOUR_GRAYTEXT
= misc2c
.wxSYS_COLOUR_GRAYTEXT
882 wxSYS_COLOUR_BTNTEXT
= misc2c
.wxSYS_COLOUR_BTNTEXT
883 wxSYS_COLOUR_INACTIVECAPTIONTEXT
= misc2c
.wxSYS_COLOUR_INACTIVECAPTIONTEXT
884 wxSYS_COLOUR_BTNHIGHLIGHT
= misc2c
.wxSYS_COLOUR_BTNHIGHLIGHT
885 wxSYS_COLOUR_3DDKSHADOW
= misc2c
.wxSYS_COLOUR_3DDKSHADOW
886 wxSYS_COLOUR_3DLIGHT
= misc2c
.wxSYS_COLOUR_3DLIGHT
887 wxSYS_COLOUR_INFOTEXT
= misc2c
.wxSYS_COLOUR_INFOTEXT
888 wxSYS_COLOUR_INFOBK
= misc2c
.wxSYS_COLOUR_INFOBK
889 wxSYS_COLOUR_DESKTOP
= misc2c
.wxSYS_COLOUR_DESKTOP
890 wxSYS_COLOUR_3DFACE
= misc2c
.wxSYS_COLOUR_3DFACE
891 wxSYS_COLOUR_3DSHADOW
= misc2c
.wxSYS_COLOUR_3DSHADOW
892 wxSYS_COLOUR_3DHIGHLIGHT
= misc2c
.wxSYS_COLOUR_3DHIGHLIGHT
893 wxSYS_COLOUR_3DHILIGHT
= misc2c
.wxSYS_COLOUR_3DHILIGHT
894 wxSYS_COLOUR_BTNHILIGHT
= misc2c
.wxSYS_COLOUR_BTNHILIGHT
895 wxSYS_MOUSE_BUTTONS
= misc2c
.wxSYS_MOUSE_BUTTONS
896 wxSYS_BORDER_X
= misc2c
.wxSYS_BORDER_X
897 wxSYS_BORDER_Y
= misc2c
.wxSYS_BORDER_Y
898 wxSYS_CURSOR_X
= misc2c
.wxSYS_CURSOR_X
899 wxSYS_CURSOR_Y
= misc2c
.wxSYS_CURSOR_Y
900 wxSYS_DCLICK_X
= misc2c
.wxSYS_DCLICK_X
901 wxSYS_DCLICK_Y
= misc2c
.wxSYS_DCLICK_Y
902 wxSYS_DRAG_X
= misc2c
.wxSYS_DRAG_X
903 wxSYS_DRAG_Y
= misc2c
.wxSYS_DRAG_Y
904 wxSYS_EDGE_X
= misc2c
.wxSYS_EDGE_X
905 wxSYS_EDGE_Y
= misc2c
.wxSYS_EDGE_Y
906 wxSYS_HSCROLL_ARROW_X
= misc2c
.wxSYS_HSCROLL_ARROW_X
907 wxSYS_HSCROLL_ARROW_Y
= misc2c
.wxSYS_HSCROLL_ARROW_Y
908 wxSYS_HTHUMB_X
= misc2c
.wxSYS_HTHUMB_X
909 wxSYS_ICON_X
= misc2c
.wxSYS_ICON_X
910 wxSYS_ICON_Y
= misc2c
.wxSYS_ICON_Y
911 wxSYS_ICONSPACING_X
= misc2c
.wxSYS_ICONSPACING_X
912 wxSYS_ICONSPACING_Y
= misc2c
.wxSYS_ICONSPACING_Y
913 wxSYS_WINDOWMIN_X
= misc2c
.wxSYS_WINDOWMIN_X
914 wxSYS_WINDOWMIN_Y
= misc2c
.wxSYS_WINDOWMIN_Y
915 wxSYS_SCREEN_X
= misc2c
.wxSYS_SCREEN_X
916 wxSYS_SCREEN_Y
= misc2c
.wxSYS_SCREEN_Y
917 wxSYS_FRAMESIZE_X
= misc2c
.wxSYS_FRAMESIZE_X
918 wxSYS_FRAMESIZE_Y
= misc2c
.wxSYS_FRAMESIZE_Y
919 wxSYS_SMALLICON_X
= misc2c
.wxSYS_SMALLICON_X
920 wxSYS_SMALLICON_Y
= misc2c
.wxSYS_SMALLICON_Y
921 wxSYS_HSCROLL_Y
= misc2c
.wxSYS_HSCROLL_Y
922 wxSYS_VSCROLL_X
= misc2c
.wxSYS_VSCROLL_X
923 wxSYS_VSCROLL_ARROW_X
= misc2c
.wxSYS_VSCROLL_ARROW_X
924 wxSYS_VSCROLL_ARROW_Y
= misc2c
.wxSYS_VSCROLL_ARROW_Y
925 wxSYS_VTHUMB_Y
= misc2c
.wxSYS_VTHUMB_Y
926 wxSYS_CAPTION_Y
= misc2c
.wxSYS_CAPTION_Y
927 wxSYS_MENU_Y
= misc2c
.wxSYS_MENU_Y
928 wxSYS_NETWORK_PRESENT
= misc2c
.wxSYS_NETWORK_PRESENT
929 wxSYS_PENWINDOWS_PRESENT
= misc2c
.wxSYS_PENWINDOWS_PRESENT
930 wxSYS_SHOW_SOUNDS
= misc2c
.wxSYS_SHOW_SOUNDS
931 wxSYS_SWAP_BUTTONS
= misc2c
.wxSYS_SWAP_BUTTONS
932 wxLOG_FatalError
= misc2c
.wxLOG_FatalError
933 wxLOG_Error
= misc2c
.wxLOG_Error
934 wxLOG_Warning
= misc2c
.wxLOG_Warning
935 wxLOG_Message
= misc2c
.wxLOG_Message
936 wxLOG_Info
= misc2c
.wxLOG_Info
937 wxLOG_Status
= misc2c
.wxLOG_Status
938 wxLOG_Debug
= misc2c
.wxLOG_Debug
939 wxLOG_Trace
= misc2c
.wxLOG_Trace
940 wxLOG_Progress
= misc2c
.wxLOG_Progress
941 wxLOG_User
= misc2c
.wxLOG_User
942 wxEVT_END_PROCESS
= misc2c
.wxEVT_END_PROCESS