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 BeginDrag(self
, *_args
, **_kwargs
):
224 val
= apply(misc2c
.wxDragImage_BeginDrag
,(self
,) + _args
, _kwargs
)
226 def BeginDrag2(self
, *_args
, **_kwargs
):
227 val
= apply(misc2c
.wxDragImage_BeginDrag2
,(self
,) + _args
, _kwargs
)
229 def EndDrag(self
, *_args
, **_kwargs
):
230 val
= apply(misc2c
.wxDragImage_EndDrag
,(self
,) + _args
, _kwargs
)
232 def Move(self
, *_args
, **_kwargs
):
233 val
= apply(misc2c
.wxDragImage_Move
,(self
,) + _args
, _kwargs
)
235 def Show(self
, *_args
, **_kwargs
):
236 val
= apply(misc2c
.wxDragImage_Show
,(self
,) + _args
, _kwargs
)
238 def Hide(self
, *_args
, **_kwargs
):
239 val
= apply(misc2c
.wxDragImage_Hide
,(self
,) + _args
, _kwargs
)
241 def GetImageRect(self
, *_args
, **_kwargs
):
242 val
= apply(misc2c
.wxDragImage_GetImageRect
,(self
,) + _args
, _kwargs
)
243 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
245 def RedrawImage(self
, *_args
, **_kwargs
):
246 val
= apply(misc2c
.wxDragImage_RedrawImage
,(self
,) + _args
, _kwargs
)
249 return "<C wxDragImage instance at %s>" % (self
.this
,)
250 class wxDragImage(wxDragImagePtr
):
251 def __init__(self
,*_args
,**_kwargs
):
252 self
.this
= apply(misc2c
.new_wxDragImage
,_args
,_kwargs
)
258 class wxPyTimerPtr(wxObjectPtr
):
259 def __init__(self
,this
):
262 def __del__(self
,misc2c
=misc2c
):
263 if self
.thisown
== 1 :
264 misc2c
.delete_wxPyTimer(self
)
265 def GetInterval(self
, *_args
, **_kwargs
):
266 val
= apply(misc2c
.wxPyTimer_GetInterval
,(self
,) + _args
, _kwargs
)
268 def IsOneShot(self
, *_args
, **_kwargs
):
269 val
= apply(misc2c
.wxPyTimer_IsOneShot
,(self
,) + _args
, _kwargs
)
271 def IsRunning(self
, *_args
, **_kwargs
):
272 val
= apply(misc2c
.wxPyTimer_IsRunning
,(self
,) + _args
, _kwargs
)
274 def SetOwner(self
, *_args
, **_kwargs
):
275 val
= apply(misc2c
.wxPyTimer_SetOwner
,(self
,) + _args
, _kwargs
)
277 def Start(self
, *_args
, **_kwargs
):
278 val
= apply(misc2c
.wxPyTimer_Start
,(self
,) + _args
, _kwargs
)
280 def Stop(self
, *_args
, **_kwargs
):
281 val
= apply(misc2c
.wxPyTimer_Stop
,(self
,) + _args
, _kwargs
)
284 return "<C wxPyTimer instance at %s>" % (self
.this
,)
285 class wxPyTimer(wxPyTimerPtr
):
286 def __init__(self
,*_args
,**_kwargs
):
287 self
.this
= apply(misc2c
.new_wxPyTimer
,_args
,_kwargs
)
294 def __init__(self
,this
):
297 def Flush(self
, *_args
, **_kwargs
):
298 val
= apply(misc2c
.wxLog_Flush
,(self
,) + _args
, _kwargs
)
300 def HasPendingMessages(self
, *_args
, **_kwargs
):
301 val
= apply(misc2c
.wxLog_HasPendingMessages
,(self
,) + _args
, _kwargs
)
303 def SetVerbose(self
, *_args
, **_kwargs
):
304 val
= apply(misc2c
.wxLog_SetVerbose
,(self
,) + _args
, _kwargs
)
306 def GetVerbose(self
, *_args
, **_kwargs
):
307 val
= apply(misc2c
.wxLog_GetVerbose
,(self
,) + _args
, _kwargs
)
310 return "<C wxLog instance at %s>" % (self
.this
,)
311 class wxLog(wxLogPtr
):
312 def __init__(self
,*_args
,**_kwargs
):
313 self
.this
= apply(misc2c
.new_wxLog
,_args
,_kwargs
)
319 class wxLogStderrPtr(wxLogPtr
):
320 def __init__(self
,this
):
324 return "<C wxLogStderr instance at %s>" % (self
.this
,)
325 class wxLogStderr(wxLogStderrPtr
):
326 def __init__(self
,*_args
,**_kwargs
):
327 self
.this
= apply(misc2c
.new_wxLogStderr
,_args
,_kwargs
)
333 class wxLogTextCtrlPtr(wxLogPtr
):
334 def __init__(self
,this
):
338 return "<C wxLogTextCtrl instance at %s>" % (self
.this
,)
339 class wxLogTextCtrl(wxLogTextCtrlPtr
):
340 def __init__(self
,*_args
,**_kwargs
):
341 self
.this
= apply(misc2c
.new_wxLogTextCtrl
,_args
,_kwargs
)
347 class wxLogGuiPtr(wxLogPtr
):
348 def __init__(self
,this
):
352 return "<C wxLogGui instance at %s>" % (self
.this
,)
353 class wxLogGui(wxLogGuiPtr
):
354 def __init__(self
,*_args
,**_kwargs
):
355 self
.this
= apply(misc2c
.new_wxLogGui
,_args
,_kwargs
)
361 class wxLogWindowPtr(wxLogPtr
):
362 def __init__(self
,this
):
365 def Show(self
, *_args
, **_kwargs
):
366 val
= apply(misc2c
.wxLogWindow_Show
,(self
,) + _args
, _kwargs
)
368 def GetFrame(self
, *_args
, **_kwargs
):
369 val
= apply(misc2c
.wxLogWindow_GetFrame
,(self
,) + _args
, _kwargs
)
371 def GetOldLog(self
, *_args
, **_kwargs
):
372 val
= apply(misc2c
.wxLogWindow_GetOldLog
,(self
,) + _args
, _kwargs
)
373 if val
: val
= wxLogPtr(val
)
375 def IsPassingMessages(self
, *_args
, **_kwargs
):
376 val
= apply(misc2c
.wxLogWindow_IsPassingMessages
,(self
,) + _args
, _kwargs
)
378 def PassMessages(self
, *_args
, **_kwargs
):
379 val
= apply(misc2c
.wxLogWindow_PassMessages
,(self
,) + _args
, _kwargs
)
382 return "<C wxLogWindow instance at %s>" % (self
.this
,)
383 class wxLogWindow(wxLogWindowPtr
):
384 def __init__(self
,*_args
,**_kwargs
):
385 self
.this
= apply(misc2c
.new_wxLogWindow
,_args
,_kwargs
)
392 def __init__(self
,this
):
395 def __del__(self
,misc2c
=misc2c
):
396 if self
.thisown
== 1 :
397 misc2c
.delete_wxLogNull(self
)
399 return "<C wxLogNull instance at %s>" % (self
.this
,)
400 class wxLogNull(wxLogNullPtr
):
401 def __init__(self
,*_args
,**_kwargs
):
402 self
.this
= apply(misc2c
.new_wxLogNull
,_args
,_kwargs
)
408 class wxProcessEventPtr(wxEventPtr
):
409 def __init__(self
,this
):
412 def GetPid(self
, *_args
, **_kwargs
):
413 val
= apply(misc2c
.wxProcessEvent_GetPid
,(self
,) + _args
, _kwargs
)
415 def GetExitCode(self
, *_args
, **_kwargs
):
416 val
= apply(misc2c
.wxProcessEvent_GetExitCode
,(self
,) + _args
, _kwargs
)
418 def __setattr__(self
,name
,value
):
420 misc2c
.wxProcessEvent_m_pid_set(self
,value
)
422 if name
== "m_exitcode" :
423 misc2c
.wxProcessEvent_m_exitcode_set(self
,value
)
425 self
.__dict
__[name
] = value
426 def __getattr__(self
,name
):
428 return misc2c
.wxProcessEvent_m_pid_get(self
)
429 if name
== "m_exitcode" :
430 return misc2c
.wxProcessEvent_m_exitcode_get(self
)
431 raise AttributeError,name
433 return "<C wxProcessEvent instance at %s>" % (self
.this
,)
434 class wxProcessEvent(wxProcessEventPtr
):
435 def __init__(self
,*_args
,**_kwargs
):
436 self
.this
= apply(misc2c
.new_wxProcessEvent
,_args
,_kwargs
)
442 class wxProcessPtr(wxEvtHandlerPtr
):
443 def __init__(self
,this
):
446 def Destroy(self
, *_args
, **_kwargs
):
447 val
= apply(misc2c
.wxProcess_Destroy
,(self
,) + _args
, _kwargs
)
449 def _setSelf(self
, *_args
, **_kwargs
):
450 val
= apply(misc2c
.wxProcess__setSelf
,(self
,) + _args
, _kwargs
)
452 def base_OnTerminate(self
, *_args
, **_kwargs
):
453 val
= apply(misc2c
.wxProcess_base_OnTerminate
,(self
,) + _args
, _kwargs
)
455 def Redirect(self
, *_args
, **_kwargs
):
456 val
= apply(misc2c
.wxProcess_Redirect
,(self
,) + _args
, _kwargs
)
458 def IsRedirected(self
, *_args
, **_kwargs
):
459 val
= apply(misc2c
.wxProcess_IsRedirected
,(self
,) + _args
, _kwargs
)
461 def Detach(self
, *_args
, **_kwargs
):
462 val
= apply(misc2c
.wxProcess_Detach
,(self
,) + _args
, _kwargs
)
464 def GetInputStream(self
, *_args
, **_kwargs
):
465 val
= apply(misc2c
.wxProcess_GetInputStream
,(self
,) + _args
, _kwargs
)
467 def GetErrorStream(self
, *_args
, **_kwargs
):
468 val
= apply(misc2c
.wxProcess_GetErrorStream
,(self
,) + _args
, _kwargs
)
470 def GetOutputStream(self
, *_args
, **_kwargs
):
471 val
= apply(misc2c
.wxProcess_GetOutputStream
,(self
,) + _args
, _kwargs
)
472 if val
: val
= wxOutputStreamPtr(val
)
474 def CloseOutput(self
, *_args
, **_kwargs
):
475 val
= apply(misc2c
.wxProcess_CloseOutput
,(self
,) + _args
, _kwargs
)
478 return "<C wxProcess instance at %s>" % (self
.this
,)
479 class wxProcess(wxProcessPtr
):
480 def __init__(self
,*_args
,**_kwargs
):
481 self
.this
= apply(misc2c
.new_wxProcess
,_args
,_kwargs
)
483 self
._setSelf
(self
, wxProcess
)
488 class wxJoystickPtr(wxObjectPtr
):
489 def __init__(self
,this
):
492 def GetPosition(self
, *_args
, **_kwargs
):
493 val
= apply(misc2c
.wxJoystick_GetPosition
,(self
,) + _args
, _kwargs
)
494 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
496 def GetZPosition(self
, *_args
, **_kwargs
):
497 val
= apply(misc2c
.wxJoystick_GetZPosition
,(self
,) + _args
, _kwargs
)
499 def GetButtonState(self
, *_args
, **_kwargs
):
500 val
= apply(misc2c
.wxJoystick_GetButtonState
,(self
,) + _args
, _kwargs
)
502 def GetPOVPosition(self
, *_args
, **_kwargs
):
503 val
= apply(misc2c
.wxJoystick_GetPOVPosition
,(self
,) + _args
, _kwargs
)
505 def GetPOVCTSPosition(self
, *_args
, **_kwargs
):
506 val
= apply(misc2c
.wxJoystick_GetPOVCTSPosition
,(self
,) + _args
, _kwargs
)
508 def GetRudderPosition(self
, *_args
, **_kwargs
):
509 val
= apply(misc2c
.wxJoystick_GetRudderPosition
,(self
,) + _args
, _kwargs
)
511 def GetUPosition(self
, *_args
, **_kwargs
):
512 val
= apply(misc2c
.wxJoystick_GetUPosition
,(self
,) + _args
, _kwargs
)
514 def GetVPosition(self
, *_args
, **_kwargs
):
515 val
= apply(misc2c
.wxJoystick_GetVPosition
,(self
,) + _args
, _kwargs
)
517 def GetMovementThreshold(self
, *_args
, **_kwargs
):
518 val
= apply(misc2c
.wxJoystick_GetMovementThreshold
,(self
,) + _args
, _kwargs
)
520 def SetMovementThreshold(self
, *_args
, **_kwargs
):
521 val
= apply(misc2c
.wxJoystick_SetMovementThreshold
,(self
,) + _args
, _kwargs
)
523 def IsOk(self
, *_args
, **_kwargs
):
524 val
= apply(misc2c
.wxJoystick_IsOk
,(self
,) + _args
, _kwargs
)
526 def GetNumberJoysticks(self
, *_args
, **_kwargs
):
527 val
= apply(misc2c
.wxJoystick_GetNumberJoysticks
,(self
,) + _args
, _kwargs
)
529 def GetManufacturerId(self
, *_args
, **_kwargs
):
530 val
= apply(misc2c
.wxJoystick_GetManufacturerId
,(self
,) + _args
, _kwargs
)
532 def GetProductId(self
, *_args
, **_kwargs
):
533 val
= apply(misc2c
.wxJoystick_GetProductId
,(self
,) + _args
, _kwargs
)
535 def GetProductName(self
, *_args
, **_kwargs
):
536 val
= apply(misc2c
.wxJoystick_GetProductName
,(self
,) + _args
, _kwargs
)
538 def GetXMin(self
, *_args
, **_kwargs
):
539 val
= apply(misc2c
.wxJoystick_GetXMin
,(self
,) + _args
, _kwargs
)
541 def GetYMin(self
, *_args
, **_kwargs
):
542 val
= apply(misc2c
.wxJoystick_GetYMin
,(self
,) + _args
, _kwargs
)
544 def GetZMin(self
, *_args
, **_kwargs
):
545 val
= apply(misc2c
.wxJoystick_GetZMin
,(self
,) + _args
, _kwargs
)
547 def GetXMax(self
, *_args
, **_kwargs
):
548 val
= apply(misc2c
.wxJoystick_GetXMax
,(self
,) + _args
, _kwargs
)
550 def GetYMax(self
, *_args
, **_kwargs
):
551 val
= apply(misc2c
.wxJoystick_GetYMax
,(self
,) + _args
, _kwargs
)
553 def GetZMax(self
, *_args
, **_kwargs
):
554 val
= apply(misc2c
.wxJoystick_GetZMax
,(self
,) + _args
, _kwargs
)
556 def GetNumberButtons(self
, *_args
, **_kwargs
):
557 val
= apply(misc2c
.wxJoystick_GetNumberButtons
,(self
,) + _args
, _kwargs
)
559 def GetNumberAxes(self
, *_args
, **_kwargs
):
560 val
= apply(misc2c
.wxJoystick_GetNumberAxes
,(self
,) + _args
, _kwargs
)
562 def GetMaxButtons(self
, *_args
, **_kwargs
):
563 val
= apply(misc2c
.wxJoystick_GetMaxButtons
,(self
,) + _args
, _kwargs
)
565 def GetMaxAxes(self
, *_args
, **_kwargs
):
566 val
= apply(misc2c
.wxJoystick_GetMaxAxes
,(self
,) + _args
, _kwargs
)
568 def GetPollingMin(self
, *_args
, **_kwargs
):
569 val
= apply(misc2c
.wxJoystick_GetPollingMin
,(self
,) + _args
, _kwargs
)
571 def GetPollingMax(self
, *_args
, **_kwargs
):
572 val
= apply(misc2c
.wxJoystick_GetPollingMax
,(self
,) + _args
, _kwargs
)
574 def GetRudderMin(self
, *_args
, **_kwargs
):
575 val
= apply(misc2c
.wxJoystick_GetRudderMin
,(self
,) + _args
, _kwargs
)
577 def GetRudderMax(self
, *_args
, **_kwargs
):
578 val
= apply(misc2c
.wxJoystick_GetRudderMax
,(self
,) + _args
, _kwargs
)
580 def GetUMin(self
, *_args
, **_kwargs
):
581 val
= apply(misc2c
.wxJoystick_GetUMin
,(self
,) + _args
, _kwargs
)
583 def GetUMax(self
, *_args
, **_kwargs
):
584 val
= apply(misc2c
.wxJoystick_GetUMax
,(self
,) + _args
, _kwargs
)
586 def GetVMin(self
, *_args
, **_kwargs
):
587 val
= apply(misc2c
.wxJoystick_GetVMin
,(self
,) + _args
, _kwargs
)
589 def GetVMax(self
, *_args
, **_kwargs
):
590 val
= apply(misc2c
.wxJoystick_GetVMax
,(self
,) + _args
, _kwargs
)
592 def HasRudder(self
, *_args
, **_kwargs
):
593 val
= apply(misc2c
.wxJoystick_HasRudder
,(self
,) + _args
, _kwargs
)
595 def HasZ(self
, *_args
, **_kwargs
):
596 val
= apply(misc2c
.wxJoystick_HasZ
,(self
,) + _args
, _kwargs
)
598 def HasU(self
, *_args
, **_kwargs
):
599 val
= apply(misc2c
.wxJoystick_HasU
,(self
,) + _args
, _kwargs
)
601 def HasV(self
, *_args
, **_kwargs
):
602 val
= apply(misc2c
.wxJoystick_HasV
,(self
,) + _args
, _kwargs
)
604 def HasPOV(self
, *_args
, **_kwargs
):
605 val
= apply(misc2c
.wxJoystick_HasPOV
,(self
,) + _args
, _kwargs
)
607 def HasPOV4Dir(self
, *_args
, **_kwargs
):
608 val
= apply(misc2c
.wxJoystick_HasPOV4Dir
,(self
,) + _args
, _kwargs
)
610 def HasPOVCTS(self
, *_args
, **_kwargs
):
611 val
= apply(misc2c
.wxJoystick_HasPOVCTS
,(self
,) + _args
, _kwargs
)
613 def SetCapture(self
, *_args
, **_kwargs
):
614 val
= apply(misc2c
.wxJoystick_SetCapture
,(self
,) + _args
, _kwargs
)
616 def ReleaseCapture(self
, *_args
, **_kwargs
):
617 val
= apply(misc2c
.wxJoystick_ReleaseCapture
,(self
,) + _args
, _kwargs
)
620 return "<C wxJoystick instance at %s>" % (self
.this
,)
621 class wxJoystick(wxJoystickPtr
):
622 def __init__(self
,*_args
,**_kwargs
):
623 self
.this
= apply(misc2c
.new_wxJoystick
,_args
,_kwargs
)
629 class wxWavePtr(wxObjectPtr
):
630 def __init__(self
,this
):
633 def __del__(self
,misc2c
=misc2c
):
634 if self
.thisown
== 1 :
635 misc2c
.delete_wxWave(self
)
636 def IsOk(self
, *_args
, **_kwargs
):
637 val
= apply(misc2c
.wxWave_IsOk
,(self
,) + _args
, _kwargs
)
639 def Play(self
, *_args
, **_kwargs
):
640 val
= apply(misc2c
.wxWave_Play
,(self
,) + _args
, _kwargs
)
643 return "<C wxWave instance at %s>" % (self
.this
,)
644 class wxWave(wxWavePtr
):
645 def __init__(self
,*_args
,**_kwargs
):
646 self
.this
= apply(misc2c
.new_wxWave
,_args
,_kwargs
)
654 #-------------- FUNCTION WRAPPERS ------------------
656 wxFileSelector
= misc2c
.wxFileSelector
658 wxGetTextFromUser
= misc2c
.wxGetTextFromUser
660 wxGetPasswordFromUser
= misc2c
.wxGetPasswordFromUser
662 wxGetSingleChoice
= misc2c
.wxGetSingleChoice
664 wxGetSingleChoiceIndex
= misc2c
.wxGetSingleChoiceIndex
666 wxMessageBox
= misc2c
.wxMessageBox
668 wxGetNumberFromUser
= misc2c
.wxGetNumberFromUser
670 wxColourDisplay
= misc2c
.wxColourDisplay
672 wxDisplayDepth
= misc2c
.wxDisplayDepth
674 wxGetDisplayDepth
= misc2c
.wxGetDisplayDepth
676 wxDisplaySize
= misc2c
.wxDisplaySize
678 def wxGetDisplaySize(*_args
, **_kwargs
):
679 val
= apply(misc2c
.wxGetDisplaySize
,_args
,_kwargs
)
680 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
683 wxDisplaySizeMM
= misc2c
.wxDisplaySizeMM
685 def wxGetDisplaySizeMM(*_args
, **_kwargs
):
686 val
= apply(misc2c
.wxGetDisplaySizeMM
,_args
,_kwargs
)
687 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
690 wxClientDisplayRect
= misc2c
.wxClientDisplayRect
692 def wxGetClientDisplayRect(*_args
, **_kwargs
):
693 val
= apply(misc2c
.wxGetClientDisplayRect
,_args
,_kwargs
)
694 if val
: val
= wxRectPtr(val
); val
.thisown
= 1
697 wxSetCursor
= misc2c
.wxSetCursor
699 def wxFindWindowByLabel(*_args
, **_kwargs
):
700 val
= apply(misc2c
.wxFindWindowByLabel
,_args
,_kwargs
)
703 def wxFindWindowByName(*_args
, **_kwargs
):
704 val
= apply(misc2c
.wxFindWindowByName
,_args
,_kwargs
)
707 wxBeginBusyCursor
= misc2c
.wxBeginBusyCursor
709 def wxGetActiveWindow(*_args
, **_kwargs
):
710 val
= apply(misc2c
.wxGetActiveWindow
,_args
,_kwargs
)
713 def wxGenericFindWindowAtPoint(*_args
, **_kwargs
):
714 val
= apply(misc2c
.wxGenericFindWindowAtPoint
,_args
,_kwargs
)
717 def wxFindWindowAtPoint(*_args
, **_kwargs
):
718 val
= apply(misc2c
.wxFindWindowAtPoint
,_args
,_kwargs
)
721 wxCheckForInterrupt
= misc2c
.wxCheckForInterrupt
723 wxResourceAddIdentifier
= misc2c
.wxResourceAddIdentifier
725 wxResourceClear
= misc2c
.wxResourceClear
727 def wxResourceCreateBitmap(*_args
, **_kwargs
):
728 val
= apply(misc2c
.wxResourceCreateBitmap
,_args
,_kwargs
)
729 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
732 def wxResourceCreateIcon(*_args
, **_kwargs
):
733 val
= apply(misc2c
.wxResourceCreateIcon
,_args
,_kwargs
)
734 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
737 def wxResourceCreateMenuBar(*_args
, **_kwargs
):
738 val
= apply(misc2c
.wxResourceCreateMenuBar
,_args
,_kwargs
)
741 wxResourceGetIdentifier
= misc2c
.wxResourceGetIdentifier
743 wxResourceParseData
= misc2c
.wxResourceParseData
745 wxResourceParseFile
= misc2c
.wxResourceParseFile
747 wxResourceParseString
= misc2c
.wxResourceParseString
749 def wxSystemSettings_GetSystemColour(*_args
, **_kwargs
):
750 val
= apply(misc2c
.wxSystemSettings_GetSystemColour
,_args
,_kwargs
)
751 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
754 def wxSystemSettings_GetSystemFont(*_args
, **_kwargs
):
755 val
= apply(misc2c
.wxSystemSettings_GetSystemFont
,_args
,_kwargs
)
756 if val
: val
= wxFontPtr(val
); val
.thisown
= 1
759 wxSystemSettings_GetSystemMetric
= misc2c
.wxSystemSettings_GetSystemMetric
761 wxToolTip_Enable
= misc2c
.wxToolTip_Enable
763 wxToolTip_SetDelay
= misc2c
.wxToolTip_SetDelay
765 wxCaret_GetBlinkTime
= misc2c
.wxCaret_GetBlinkTime
767 wxCaret_SetBlinkTime
= misc2c
.wxCaret_SetBlinkTime
769 wxSafeYield
= misc2c
.wxSafeYield
771 wxPostEvent
= misc2c
.wxPostEvent
773 wxWakeUpIdle
= misc2c
.wxWakeUpIdle
775 wxWakeUpMainThread
= misc2c
.wxWakeUpMainThread
777 wxMutexGuiEnter
= misc2c
.wxMutexGuiEnter
779 wxMutexGuiLeave
= misc2c
.wxMutexGuiLeave
781 wxThread_IsMain
= misc2c
.wxThread_IsMain
783 wxShowTip
= misc2c
.wxShowTip
785 def wxCreateFileTipProvider(*_args
, **_kwargs
):
786 val
= apply(misc2c
.wxCreateFileTipProvider
,_args
,_kwargs
)
787 if val
: val
= wxTipProviderPtr(val
); val
.thisown
= 1
790 def wxDragIcon(*_args
, **_kwargs
):
791 val
= apply(misc2c
.wxDragIcon
,_args
,_kwargs
)
792 if val
: val
= wxDragImagePtr(val
); val
.thisown
= 1
795 def wxDragString(*_args
, **_kwargs
):
796 val
= apply(misc2c
.wxDragString
,_args
,_kwargs
)
797 if val
: val
= wxDragImagePtr(val
); val
.thisown
= 1
800 def wxDragTreeItem(*_args
, **_kwargs
):
801 val
= apply(misc2c
.wxDragTreeItem
,_args
,_kwargs
)
802 if val
: val
= wxDragImagePtr(val
); val
.thisown
= 1
805 def wxDragListItem(*_args
, **_kwargs
):
806 val
= apply(misc2c
.wxDragListItem
,_args
,_kwargs
)
807 if val
: val
= wxDragImagePtr(val
); val
.thisown
= 1
810 wxSysErrorCode
= misc2c
.wxSysErrorCode
812 wxSysErrorMsg
= misc2c
.wxSysErrorMsg
814 wxLogFatalError
= misc2c
.wxLogFatalError
816 wxLogError
= misc2c
.wxLogError
818 wxLogWarning
= misc2c
.wxLogWarning
820 wxLogMessage
= misc2c
.wxLogMessage
822 wxLogInfo
= misc2c
.wxLogInfo
824 wxLogVerbose
= misc2c
.wxLogVerbose
826 wxLogStatus
= misc2c
.wxLogStatus
828 wxLogStatusFrame
= misc2c
.wxLogStatusFrame
830 wxLogSysError
= misc2c
.wxLogSysError
832 wxExecute
= misc2c
.wxExecute
834 def wxWaveData(*_args
, **_kwargs
):
835 val
= apply(misc2c
.wxWaveData
,_args
,_kwargs
)
836 if val
: val
= wxWavePtr(val
); val
.thisown
= 1
839 wxLog_IsEnabled
= misc2c
.wxLog_IsEnabled
841 wxLog_EnableLogging
= misc2c
.wxLog_EnableLogging
843 wxLog_OnLog
= misc2c
.wxLog_OnLog
845 wxLog_FlushActive
= misc2c
.wxLog_FlushActive
847 def wxLog_GetActiveTarget(*_args
, **_kwargs
):
848 val
= apply(misc2c
.wxLog_GetActiveTarget
,_args
,_kwargs
)
849 if val
: val
= wxLogPtr(val
)
852 def wxLog_SetActiveTarget(*_args
, **_kwargs
):
853 val
= apply(misc2c
.wxLog_SetActiveTarget
,_args
,_kwargs
)
854 if val
: val
= wxLogPtr(val
)
857 wxLog_Suspend
= misc2c
.wxLog_Suspend
859 wxLog_Resume
= misc2c
.wxLog_Resume
861 wxLog_DontCreateOnDemand
= misc2c
.wxLog_DontCreateOnDemand
863 wxLog_SetTraceMask
= misc2c
.wxLog_SetTraceMask
865 wxLog_AddTraceMask
= misc2c
.wxLog_AddTraceMask
867 wxLog_RemoveTraceMask
= misc2c
.wxLog_RemoveTraceMask
869 wxLog_GetTraceMask
= misc2c
.wxLog_GetTraceMask
871 wxLog_IsAllowedTraceMask
= misc2c
.wxLog_IsAllowedTraceMask
875 #-------------- VARIABLE WRAPPERS ------------------
877 wxSYS_WHITE_BRUSH
= misc2c
.wxSYS_WHITE_BRUSH
878 wxSYS_LTGRAY_BRUSH
= misc2c
.wxSYS_LTGRAY_BRUSH
879 wxSYS_GRAY_BRUSH
= misc2c
.wxSYS_GRAY_BRUSH
880 wxSYS_DKGRAY_BRUSH
= misc2c
.wxSYS_DKGRAY_BRUSH
881 wxSYS_BLACK_BRUSH
= misc2c
.wxSYS_BLACK_BRUSH
882 wxSYS_NULL_BRUSH
= misc2c
.wxSYS_NULL_BRUSH
883 wxSYS_HOLLOW_BRUSH
= misc2c
.wxSYS_HOLLOW_BRUSH
884 wxSYS_WHITE_PEN
= misc2c
.wxSYS_WHITE_PEN
885 wxSYS_BLACK_PEN
= misc2c
.wxSYS_BLACK_PEN
886 wxSYS_NULL_PEN
= misc2c
.wxSYS_NULL_PEN
887 wxSYS_OEM_FIXED_FONT
= misc2c
.wxSYS_OEM_FIXED_FONT
888 wxSYS_ANSI_FIXED_FONT
= misc2c
.wxSYS_ANSI_FIXED_FONT
889 wxSYS_ANSI_VAR_FONT
= misc2c
.wxSYS_ANSI_VAR_FONT
890 wxSYS_SYSTEM_FONT
= misc2c
.wxSYS_SYSTEM_FONT
891 wxSYS_DEVICE_DEFAULT_FONT
= misc2c
.wxSYS_DEVICE_DEFAULT_FONT
892 wxSYS_DEFAULT_PALETTE
= misc2c
.wxSYS_DEFAULT_PALETTE
893 wxSYS_SYSTEM_FIXED_FONT
= misc2c
.wxSYS_SYSTEM_FIXED_FONT
894 wxSYS_DEFAULT_GUI_FONT
= misc2c
.wxSYS_DEFAULT_GUI_FONT
895 wxSYS_COLOUR_SCROLLBAR
= misc2c
.wxSYS_COLOUR_SCROLLBAR
896 wxSYS_COLOUR_BACKGROUND
= misc2c
.wxSYS_COLOUR_BACKGROUND
897 wxSYS_COLOUR_ACTIVECAPTION
= misc2c
.wxSYS_COLOUR_ACTIVECAPTION
898 wxSYS_COLOUR_INACTIVECAPTION
= misc2c
.wxSYS_COLOUR_INACTIVECAPTION
899 wxSYS_COLOUR_MENU
= misc2c
.wxSYS_COLOUR_MENU
900 wxSYS_COLOUR_WINDOW
= misc2c
.wxSYS_COLOUR_WINDOW
901 wxSYS_COLOUR_WINDOWFRAME
= misc2c
.wxSYS_COLOUR_WINDOWFRAME
902 wxSYS_COLOUR_MENUTEXT
= misc2c
.wxSYS_COLOUR_MENUTEXT
903 wxSYS_COLOUR_WINDOWTEXT
= misc2c
.wxSYS_COLOUR_WINDOWTEXT
904 wxSYS_COLOUR_CAPTIONTEXT
= misc2c
.wxSYS_COLOUR_CAPTIONTEXT
905 wxSYS_COLOUR_ACTIVEBORDER
= misc2c
.wxSYS_COLOUR_ACTIVEBORDER
906 wxSYS_COLOUR_INACTIVEBORDER
= misc2c
.wxSYS_COLOUR_INACTIVEBORDER
907 wxSYS_COLOUR_APPWORKSPACE
= misc2c
.wxSYS_COLOUR_APPWORKSPACE
908 wxSYS_COLOUR_HIGHLIGHT
= misc2c
.wxSYS_COLOUR_HIGHLIGHT
909 wxSYS_COLOUR_HIGHLIGHTTEXT
= misc2c
.wxSYS_COLOUR_HIGHLIGHTTEXT
910 wxSYS_COLOUR_BTNFACE
= misc2c
.wxSYS_COLOUR_BTNFACE
911 wxSYS_COLOUR_BTNSHADOW
= misc2c
.wxSYS_COLOUR_BTNSHADOW
912 wxSYS_COLOUR_GRAYTEXT
= misc2c
.wxSYS_COLOUR_GRAYTEXT
913 wxSYS_COLOUR_BTNTEXT
= misc2c
.wxSYS_COLOUR_BTNTEXT
914 wxSYS_COLOUR_INACTIVECAPTIONTEXT
= misc2c
.wxSYS_COLOUR_INACTIVECAPTIONTEXT
915 wxSYS_COLOUR_BTNHIGHLIGHT
= misc2c
.wxSYS_COLOUR_BTNHIGHLIGHT
916 wxSYS_COLOUR_3DDKSHADOW
= misc2c
.wxSYS_COLOUR_3DDKSHADOW
917 wxSYS_COLOUR_3DLIGHT
= misc2c
.wxSYS_COLOUR_3DLIGHT
918 wxSYS_COLOUR_INFOTEXT
= misc2c
.wxSYS_COLOUR_INFOTEXT
919 wxSYS_COLOUR_INFOBK
= misc2c
.wxSYS_COLOUR_INFOBK
920 wxSYS_COLOUR_DESKTOP
= misc2c
.wxSYS_COLOUR_DESKTOP
921 wxSYS_COLOUR_3DFACE
= misc2c
.wxSYS_COLOUR_3DFACE
922 wxSYS_COLOUR_3DSHADOW
= misc2c
.wxSYS_COLOUR_3DSHADOW
923 wxSYS_COLOUR_3DHIGHLIGHT
= misc2c
.wxSYS_COLOUR_3DHIGHLIGHT
924 wxSYS_COLOUR_3DHILIGHT
= misc2c
.wxSYS_COLOUR_3DHILIGHT
925 wxSYS_COLOUR_BTNHILIGHT
= misc2c
.wxSYS_COLOUR_BTNHILIGHT
926 wxSYS_MOUSE_BUTTONS
= misc2c
.wxSYS_MOUSE_BUTTONS
927 wxSYS_BORDER_X
= misc2c
.wxSYS_BORDER_X
928 wxSYS_BORDER_Y
= misc2c
.wxSYS_BORDER_Y
929 wxSYS_CURSOR_X
= misc2c
.wxSYS_CURSOR_X
930 wxSYS_CURSOR_Y
= misc2c
.wxSYS_CURSOR_Y
931 wxSYS_DCLICK_X
= misc2c
.wxSYS_DCLICK_X
932 wxSYS_DCLICK_Y
= misc2c
.wxSYS_DCLICK_Y
933 wxSYS_DRAG_X
= misc2c
.wxSYS_DRAG_X
934 wxSYS_DRAG_Y
= misc2c
.wxSYS_DRAG_Y
935 wxSYS_EDGE_X
= misc2c
.wxSYS_EDGE_X
936 wxSYS_EDGE_Y
= misc2c
.wxSYS_EDGE_Y
937 wxSYS_HSCROLL_ARROW_X
= misc2c
.wxSYS_HSCROLL_ARROW_X
938 wxSYS_HSCROLL_ARROW_Y
= misc2c
.wxSYS_HSCROLL_ARROW_Y
939 wxSYS_HTHUMB_X
= misc2c
.wxSYS_HTHUMB_X
940 wxSYS_ICON_X
= misc2c
.wxSYS_ICON_X
941 wxSYS_ICON_Y
= misc2c
.wxSYS_ICON_Y
942 wxSYS_ICONSPACING_X
= misc2c
.wxSYS_ICONSPACING_X
943 wxSYS_ICONSPACING_Y
= misc2c
.wxSYS_ICONSPACING_Y
944 wxSYS_WINDOWMIN_X
= misc2c
.wxSYS_WINDOWMIN_X
945 wxSYS_WINDOWMIN_Y
= misc2c
.wxSYS_WINDOWMIN_Y
946 wxSYS_SCREEN_X
= misc2c
.wxSYS_SCREEN_X
947 wxSYS_SCREEN_Y
= misc2c
.wxSYS_SCREEN_Y
948 wxSYS_FRAMESIZE_X
= misc2c
.wxSYS_FRAMESIZE_X
949 wxSYS_FRAMESIZE_Y
= misc2c
.wxSYS_FRAMESIZE_Y
950 wxSYS_SMALLICON_X
= misc2c
.wxSYS_SMALLICON_X
951 wxSYS_SMALLICON_Y
= misc2c
.wxSYS_SMALLICON_Y
952 wxSYS_HSCROLL_Y
= misc2c
.wxSYS_HSCROLL_Y
953 wxSYS_VSCROLL_X
= misc2c
.wxSYS_VSCROLL_X
954 wxSYS_VSCROLL_ARROW_X
= misc2c
.wxSYS_VSCROLL_ARROW_X
955 wxSYS_VSCROLL_ARROW_Y
= misc2c
.wxSYS_VSCROLL_ARROW_Y
956 wxSYS_VTHUMB_Y
= misc2c
.wxSYS_VTHUMB_Y
957 wxSYS_CAPTION_Y
= misc2c
.wxSYS_CAPTION_Y
958 wxSYS_MENU_Y
= misc2c
.wxSYS_MENU_Y
959 wxSYS_NETWORK_PRESENT
= misc2c
.wxSYS_NETWORK_PRESENT
960 wxSYS_PENWINDOWS_PRESENT
= misc2c
.wxSYS_PENWINDOWS_PRESENT
961 wxSYS_SHOW_SOUNDS
= misc2c
.wxSYS_SHOW_SOUNDS
962 wxSYS_SWAP_BUTTONS
= misc2c
.wxSYS_SWAP_BUTTONS
963 wxLOG_FatalError
= misc2c
.wxLOG_FatalError
964 wxLOG_Error
= misc2c
.wxLOG_Error
965 wxLOG_Warning
= misc2c
.wxLOG_Warning
966 wxLOG_Message
= misc2c
.wxLOG_Message
967 wxLOG_Info
= misc2c
.wxLOG_Info
968 wxLOG_Status
= misc2c
.wxLOG_Status
969 wxLOG_Debug
= misc2c
.wxLOG_Debug
970 wxLOG_Trace
= misc2c
.wxLOG_Trace
971 wxLOG_Progress
= misc2c
.wxLOG_Progress
972 wxLOG_User
= misc2c
.wxLOG_User
973 wxEVT_END_PROCESS
= misc2c
.wxEVT_END_PROCESS