1 # This file was created automatically by SWIG.
6 def __init__(self
,this
):
9 def __del__(self
,eventsc
=eventsc
):
10 if self
.thisown
== 1 :
11 eventsc
.delete_wxEvent(self
)
12 def GetEventObject(self
, *_args
, **_kwargs
):
13 val
= apply(eventsc
.wxEvent_GetEventObject
,(self
,) + _args
, _kwargs
)
15 def GetEventType(self
, *_args
, **_kwargs
):
16 val
= apply(eventsc
.wxEvent_GetEventType
,(self
,) + _args
, _kwargs
)
18 def GetId(self
, *_args
, **_kwargs
):
19 val
= apply(eventsc
.wxEvent_GetId
,(self
,) + _args
, _kwargs
)
21 def GetSkipped(self
, *_args
, **_kwargs
):
22 val
= apply(eventsc
.wxEvent_GetSkipped
,(self
,) + _args
, _kwargs
)
24 def GetTimestamp(self
, *_args
, **_kwargs
):
25 val
= apply(eventsc
.wxEvent_GetTimestamp
,(self
,) + _args
, _kwargs
)
27 def SetEventObject(self
, *_args
, **_kwargs
):
28 val
= apply(eventsc
.wxEvent_SetEventObject
,(self
,) + _args
, _kwargs
)
30 def SetEventType(self
, *_args
, **_kwargs
):
31 val
= apply(eventsc
.wxEvent_SetEventType
,(self
,) + _args
, _kwargs
)
33 def SetId(self
, *_args
, **_kwargs
):
34 val
= apply(eventsc
.wxEvent_SetId
,(self
,) + _args
, _kwargs
)
36 def SetTimestamp(self
, *_args
, **_kwargs
):
37 val
= apply(eventsc
.wxEvent_SetTimestamp
,(self
,) + _args
, _kwargs
)
39 def Skip(self
, *_args
, **_kwargs
):
40 val
= apply(eventsc
.wxEvent_Skip
,(self
,) + _args
, _kwargs
)
43 return "<C wxEvent instance at %s>" % (self
.this
,)
44 class wxEvent(wxEventPtr
):
45 def __init__(self
,*_args
,**_kwargs
):
46 self
.this
= apply(eventsc
.new_wxEvent
,_args
,_kwargs
)
52 class wxSizeEventPtr(wxEventPtr
):
53 def __init__(self
,this
):
56 def GetSize(self
, *_args
, **_kwargs
):
57 val
= apply(eventsc
.wxSizeEvent_GetSize
,(self
,) + _args
, _kwargs
)
58 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
61 return "<C wxSizeEvent instance at %s>" % (self
.this
,)
62 class wxSizeEvent(wxSizeEventPtr
):
63 def __init__(self
,*_args
,**_kwargs
):
64 self
.this
= apply(eventsc
.new_wxSizeEvent
,_args
,_kwargs
)
70 class wxCloseEventPtr(wxEventPtr
):
71 def __init__(self
,this
):
74 def SetLoggingOff(self
, *_args
, **_kwargs
):
75 val
= apply(eventsc
.wxCloseEvent_SetLoggingOff
,(self
,) + _args
, _kwargs
)
77 def GetLoggingOff(self
, *_args
, **_kwargs
):
78 val
= apply(eventsc
.wxCloseEvent_GetLoggingOff
,(self
,) + _args
, _kwargs
)
80 def Veto(self
, *_args
, **_kwargs
):
81 val
= apply(eventsc
.wxCloseEvent_Veto
,(self
,) + _args
, _kwargs
)
83 def CanVeto(self
, *_args
, **_kwargs
):
84 val
= apply(eventsc
.wxCloseEvent_CanVeto
,(self
,) + _args
, _kwargs
)
86 def GetVeto(self
, *_args
, **_kwargs
):
87 val
= apply(eventsc
.wxCloseEvent_GetVeto
,(self
,) + _args
, _kwargs
)
89 def SetCanVeto(self
, *_args
, **_kwargs
):
90 val
= apply(eventsc
.wxCloseEvent_SetCanVeto
,(self
,) + _args
, _kwargs
)
93 return "<C wxCloseEvent instance at %s>" % (self
.this
,)
94 class wxCloseEvent(wxCloseEventPtr
):
95 def __init__(self
,*_args
,**_kwargs
):
96 self
.this
= apply(eventsc
.new_wxCloseEvent
,_args
,_kwargs
)
102 class wxCommandEventPtr(wxEventPtr
):
103 def __init__(self
,this
):
106 def Checked(self
, *_args
, **_kwargs
):
107 val
= apply(eventsc
.wxCommandEvent_Checked
,(self
,) + _args
, _kwargs
)
109 def GetExtraLong(self
, *_args
, **_kwargs
):
110 val
= apply(eventsc
.wxCommandEvent_GetExtraLong
,(self
,) + _args
, _kwargs
)
112 def GetInt(self
, *_args
, **_kwargs
):
113 val
= apply(eventsc
.wxCommandEvent_GetInt
,(self
,) + _args
, _kwargs
)
115 def GetSelection(self
, *_args
, **_kwargs
):
116 val
= apply(eventsc
.wxCommandEvent_GetSelection
,(self
,) + _args
, _kwargs
)
118 def GetString(self
, *_args
, **_kwargs
):
119 val
= apply(eventsc
.wxCommandEvent_GetString
,(self
,) + _args
, _kwargs
)
121 def IsSelection(self
, *_args
, **_kwargs
):
122 val
= apply(eventsc
.wxCommandEvent_IsSelection
,(self
,) + _args
, _kwargs
)
124 def SetString(self
, *_args
, **_kwargs
):
125 val
= apply(eventsc
.wxCommandEvent_SetString
,(self
,) + _args
, _kwargs
)
127 def SetExtraLong(self
, *_args
, **_kwargs
):
128 val
= apply(eventsc
.wxCommandEvent_SetExtraLong
,(self
,) + _args
, _kwargs
)
130 def SetInt(self
, *_args
, **_kwargs
):
131 val
= apply(eventsc
.wxCommandEvent_SetInt
,(self
,) + _args
, _kwargs
)
134 return "<C wxCommandEvent instance at %s>" % (self
.this
,)
135 class wxCommandEvent(wxCommandEventPtr
):
136 def __init__(self
,*_args
,**_kwargs
):
137 self
.this
= apply(eventsc
.new_wxCommandEvent
,_args
,_kwargs
)
143 class wxScrollEventPtr(wxCommandEventPtr
):
144 def __init__(self
,this
):
147 def GetOrientation(self
, *_args
, **_kwargs
):
148 val
= apply(eventsc
.wxScrollEvent_GetOrientation
,(self
,) + _args
, _kwargs
)
150 def GetPosition(self
, *_args
, **_kwargs
):
151 val
= apply(eventsc
.wxScrollEvent_GetPosition
,(self
,) + _args
, _kwargs
)
154 return "<C wxScrollEvent instance at %s>" % (self
.this
,)
155 class wxScrollEvent(wxScrollEventPtr
):
156 def __init__(self
,*_args
,**_kwargs
):
157 self
.this
= apply(eventsc
.new_wxScrollEvent
,_args
,_kwargs
)
163 class wxScrollWinEventPtr(wxEventPtr
):
164 def __init__(self
,this
):
167 def GetOrientation(self
, *_args
, **_kwargs
):
168 val
= apply(eventsc
.wxScrollWinEvent_GetOrientation
,(self
,) + _args
, _kwargs
)
170 def GetPosition(self
, *_args
, **_kwargs
):
171 val
= apply(eventsc
.wxScrollWinEvent_GetPosition
,(self
,) + _args
, _kwargs
)
174 return "<C wxScrollWinEvent instance at %s>" % (self
.this
,)
175 class wxScrollWinEvent(wxScrollWinEventPtr
):
176 def __init__(self
,*_args
,**_kwargs
):
177 self
.this
= apply(eventsc
.new_wxScrollWinEvent
,_args
,_kwargs
)
183 class wxSpinEventPtr(wxScrollEventPtr
):
184 def __init__(self
,this
):
188 return "<C wxSpinEvent instance at %s>" % (self
.this
,)
189 class wxSpinEvent(wxSpinEventPtr
):
190 def __init__(self
,*_args
,**_kwargs
):
191 self
.this
= apply(eventsc
.new_wxSpinEvent
,_args
,_kwargs
)
197 class wxMouseEventPtr(wxEventPtr
):
198 def __init__(self
,this
):
201 def IsButton(self
, *_args
, **_kwargs
):
202 val
= apply(eventsc
.wxMouseEvent_IsButton
,(self
,) + _args
, _kwargs
)
204 def ButtonDown(self
, *_args
, **_kwargs
):
205 val
= apply(eventsc
.wxMouseEvent_ButtonDown
,(self
,) + _args
, _kwargs
)
207 def ButtonDClick(self
, *_args
, **_kwargs
):
208 val
= apply(eventsc
.wxMouseEvent_ButtonDClick
,(self
,) + _args
, _kwargs
)
210 def ButtonUp(self
, *_args
, **_kwargs
):
211 val
= apply(eventsc
.wxMouseEvent_ButtonUp
,(self
,) + _args
, _kwargs
)
213 def Button(self
, *_args
, **_kwargs
):
214 val
= apply(eventsc
.wxMouseEvent_Button
,(self
,) + _args
, _kwargs
)
216 def ButtonIsDown(self
, *_args
, **_kwargs
):
217 val
= apply(eventsc
.wxMouseEvent_ButtonIsDown
,(self
,) + _args
, _kwargs
)
219 def ControlDown(self
, *_args
, **_kwargs
):
220 val
= apply(eventsc
.wxMouseEvent_ControlDown
,(self
,) + _args
, _kwargs
)
222 def MetaDown(self
, *_args
, **_kwargs
):
223 val
= apply(eventsc
.wxMouseEvent_MetaDown
,(self
,) + _args
, _kwargs
)
225 def AltDown(self
, *_args
, **_kwargs
):
226 val
= apply(eventsc
.wxMouseEvent_AltDown
,(self
,) + _args
, _kwargs
)
228 def ShiftDown(self
, *_args
, **_kwargs
):
229 val
= apply(eventsc
.wxMouseEvent_ShiftDown
,(self
,) + _args
, _kwargs
)
231 def LeftDown(self
, *_args
, **_kwargs
):
232 val
= apply(eventsc
.wxMouseEvent_LeftDown
,(self
,) + _args
, _kwargs
)
234 def MiddleDown(self
, *_args
, **_kwargs
):
235 val
= apply(eventsc
.wxMouseEvent_MiddleDown
,(self
,) + _args
, _kwargs
)
237 def RightDown(self
, *_args
, **_kwargs
):
238 val
= apply(eventsc
.wxMouseEvent_RightDown
,(self
,) + _args
, _kwargs
)
240 def LeftUp(self
, *_args
, **_kwargs
):
241 val
= apply(eventsc
.wxMouseEvent_LeftUp
,(self
,) + _args
, _kwargs
)
243 def MiddleUp(self
, *_args
, **_kwargs
):
244 val
= apply(eventsc
.wxMouseEvent_MiddleUp
,(self
,) + _args
, _kwargs
)
246 def RightUp(self
, *_args
, **_kwargs
):
247 val
= apply(eventsc
.wxMouseEvent_RightUp
,(self
,) + _args
, _kwargs
)
249 def LeftDClick(self
, *_args
, **_kwargs
):
250 val
= apply(eventsc
.wxMouseEvent_LeftDClick
,(self
,) + _args
, _kwargs
)
252 def MiddleDClick(self
, *_args
, **_kwargs
):
253 val
= apply(eventsc
.wxMouseEvent_MiddleDClick
,(self
,) + _args
, _kwargs
)
255 def RightDClick(self
, *_args
, **_kwargs
):
256 val
= apply(eventsc
.wxMouseEvent_RightDClick
,(self
,) + _args
, _kwargs
)
258 def LeftIsDown(self
, *_args
, **_kwargs
):
259 val
= apply(eventsc
.wxMouseEvent_LeftIsDown
,(self
,) + _args
, _kwargs
)
261 def MiddleIsDown(self
, *_args
, **_kwargs
):
262 val
= apply(eventsc
.wxMouseEvent_MiddleIsDown
,(self
,) + _args
, _kwargs
)
264 def RightIsDown(self
, *_args
, **_kwargs
):
265 val
= apply(eventsc
.wxMouseEvent_RightIsDown
,(self
,) + _args
, _kwargs
)
267 def Dragging(self
, *_args
, **_kwargs
):
268 val
= apply(eventsc
.wxMouseEvent_Dragging
,(self
,) + _args
, _kwargs
)
270 def Moving(self
, *_args
, **_kwargs
):
271 val
= apply(eventsc
.wxMouseEvent_Moving
,(self
,) + _args
, _kwargs
)
273 def Entering(self
, *_args
, **_kwargs
):
274 val
= apply(eventsc
.wxMouseEvent_Entering
,(self
,) + _args
, _kwargs
)
276 def Leaving(self
, *_args
, **_kwargs
):
277 val
= apply(eventsc
.wxMouseEvent_Leaving
,(self
,) + _args
, _kwargs
)
279 def GetPosition(self
, *_args
, **_kwargs
):
280 val
= apply(eventsc
.wxMouseEvent_GetPosition
,(self
,) + _args
, _kwargs
)
281 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
283 def GetPositionTuple(self
, *_args
, **_kwargs
):
284 val
= apply(eventsc
.wxMouseEvent_GetPositionTuple
,(self
,) + _args
, _kwargs
)
286 def GetLogicalPosition(self
, *_args
, **_kwargs
):
287 val
= apply(eventsc
.wxMouseEvent_GetLogicalPosition
,(self
,) + _args
, _kwargs
)
288 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
290 def GetX(self
, *_args
, **_kwargs
):
291 val
= apply(eventsc
.wxMouseEvent_GetX
,(self
,) + _args
, _kwargs
)
293 def GetY(self
, *_args
, **_kwargs
):
294 val
= apply(eventsc
.wxMouseEvent_GetY
,(self
,) + _args
, _kwargs
)
297 return "<C wxMouseEvent instance at %s>" % (self
.this
,)
298 class wxMouseEvent(wxMouseEventPtr
):
299 def __init__(self
,*_args
,**_kwargs
):
300 self
.this
= apply(eventsc
.new_wxMouseEvent
,_args
,_kwargs
)
306 class wxKeyEventPtr(wxEventPtr
):
307 def __init__(self
,this
):
310 def ControlDown(self
, *_args
, **_kwargs
):
311 val
= apply(eventsc
.wxKeyEvent_ControlDown
,(self
,) + _args
, _kwargs
)
313 def MetaDown(self
, *_args
, **_kwargs
):
314 val
= apply(eventsc
.wxKeyEvent_MetaDown
,(self
,) + _args
, _kwargs
)
316 def AltDown(self
, *_args
, **_kwargs
):
317 val
= apply(eventsc
.wxKeyEvent_AltDown
,(self
,) + _args
, _kwargs
)
319 def ShiftDown(self
, *_args
, **_kwargs
):
320 val
= apply(eventsc
.wxKeyEvent_ShiftDown
,(self
,) + _args
, _kwargs
)
322 def KeyCode(self
, *_args
, **_kwargs
):
323 val
= apply(eventsc
.wxKeyEvent_KeyCode
,(self
,) + _args
, _kwargs
)
325 def GetX(self
, *_args
, **_kwargs
):
326 val
= apply(eventsc
.wxKeyEvent_GetX
,(self
,) + _args
, _kwargs
)
328 def GetY(self
, *_args
, **_kwargs
):
329 val
= apply(eventsc
.wxKeyEvent_GetY
,(self
,) + _args
, _kwargs
)
331 def GetPosition(self
, *_args
, **_kwargs
):
332 val
= apply(eventsc
.wxKeyEvent_GetPosition
,(self
,) + _args
, _kwargs
)
333 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
335 def GetPositionTuple(self
, *_args
, **_kwargs
):
336 val
= apply(eventsc
.wxKeyEvent_GetPositionTuple
,(self
,) + _args
, _kwargs
)
339 return "<C wxKeyEvent instance at %s>" % (self
.this
,)
340 class wxKeyEvent(wxKeyEventPtr
):
341 def __init__(self
,*_args
,**_kwargs
):
342 self
.this
= apply(eventsc
.new_wxKeyEvent
,_args
,_kwargs
)
348 class wxNavigationKeyEventPtr(wxCommandEventPtr
):
349 def __init__(self
,this
):
352 def GetDirection(self
, *_args
, **_kwargs
):
353 val
= apply(eventsc
.wxNavigationKeyEvent_GetDirection
,(self
,) + _args
, _kwargs
)
355 def SetDirection(self
, *_args
, **_kwargs
):
356 val
= apply(eventsc
.wxNavigationKeyEvent_SetDirection
,(self
,) + _args
, _kwargs
)
358 def IsWindowChange(self
, *_args
, **_kwargs
):
359 val
= apply(eventsc
.wxNavigationKeyEvent_IsWindowChange
,(self
,) + _args
, _kwargs
)
361 def SetWindowChange(self
, *_args
, **_kwargs
):
362 val
= apply(eventsc
.wxNavigationKeyEvent_SetWindowChange
,(self
,) + _args
, _kwargs
)
364 def GetCurrentFocus(self
, *_args
, **_kwargs
):
365 val
= apply(eventsc
.wxNavigationKeyEvent_GetCurrentFocus
,(self
,) + _args
, _kwargs
)
366 if val
: val
= wxWindowPtr(val
)
368 def SetCurrentFocus(self
, *_args
, **_kwargs
):
369 val
= apply(eventsc
.wxNavigationKeyEvent_SetCurrentFocus
,(self
,) + _args
, _kwargs
)
372 return "<C wxNavigationKeyEvent instance at %s>" % (self
.this
,)
373 class wxNavigationKeyEvent(wxNavigationKeyEventPtr
):
374 def __init__(self
,*_args
,**_kwargs
):
375 self
.this
= apply(eventsc
.new_wxNavigationKeyEvent
,_args
,_kwargs
)
381 class wxMoveEventPtr(wxEventPtr
):
382 def __init__(self
,this
):
385 def GetPosition(self
, *_args
, **_kwargs
):
386 val
= apply(eventsc
.wxMoveEvent_GetPosition
,(self
,) + _args
, _kwargs
)
387 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
390 return "<C wxMoveEvent instance at %s>" % (self
.this
,)
391 class wxMoveEvent(wxMoveEventPtr
):
392 def __init__(self
,*_args
,**_kwargs
):
393 self
.this
= apply(eventsc
.new_wxMoveEvent
,_args
,_kwargs
)
399 class wxPaintEventPtr(wxEventPtr
):
400 def __init__(self
,this
):
404 return "<C wxPaintEvent instance at %s>" % (self
.this
,)
405 class wxPaintEvent(wxPaintEventPtr
):
406 def __init__(self
,*_args
,**_kwargs
):
407 self
.this
= apply(eventsc
.new_wxPaintEvent
,_args
,_kwargs
)
413 class wxEraseEventPtr(wxEventPtr
):
414 def __init__(self
,this
):
417 def GetDC(self
, *_args
, **_kwargs
):
418 val
= apply(eventsc
.wxEraseEvent_GetDC
,(self
,) + _args
, _kwargs
)
419 if val
: val
= wxDCPtr(val
)
422 return "<C wxEraseEvent instance at %s>" % (self
.this
,)
423 class wxEraseEvent(wxEraseEventPtr
):
424 def __init__(self
,*_args
,**_kwargs
):
425 self
.this
= apply(eventsc
.new_wxEraseEvent
,_args
,_kwargs
)
431 class wxFocusEventPtr(wxEventPtr
):
432 def __init__(self
,this
):
436 return "<C wxFocusEvent instance at %s>" % (self
.this
,)
437 class wxFocusEvent(wxFocusEventPtr
):
438 def __init__(self
,*_args
,**_kwargs
):
439 self
.this
= apply(eventsc
.new_wxFocusEvent
,_args
,_kwargs
)
445 class wxActivateEventPtr(wxEventPtr
):
446 def __init__(self
,this
):
449 def GetActive(self
, *_args
, **_kwargs
):
450 val
= apply(eventsc
.wxActivateEvent_GetActive
,(self
,) + _args
, _kwargs
)
453 return "<C wxActivateEvent instance at %s>" % (self
.this
,)
454 class wxActivateEvent(wxActivateEventPtr
):
455 def __init__(self
,*_args
,**_kwargs
):
456 self
.this
= apply(eventsc
.new_wxActivateEvent
,_args
,_kwargs
)
462 class wxInitDialogEventPtr(wxEventPtr
):
463 def __init__(self
,this
):
467 return "<C wxInitDialogEvent instance at %s>" % (self
.this
,)
468 class wxInitDialogEvent(wxInitDialogEventPtr
):
469 def __init__(self
,*_args
,**_kwargs
):
470 self
.this
= apply(eventsc
.new_wxInitDialogEvent
,_args
,_kwargs
)
476 class wxMenuEventPtr(wxEventPtr
):
477 def __init__(self
,this
):
480 def GetMenuId(self
, *_args
, **_kwargs
):
481 val
= apply(eventsc
.wxMenuEvent_GetMenuId
,(self
,) + _args
, _kwargs
)
484 return "<C wxMenuEvent instance at %s>" % (self
.this
,)
485 class wxMenuEvent(wxMenuEventPtr
):
486 def __init__(self
,*_args
,**_kwargs
):
487 self
.this
= apply(eventsc
.new_wxMenuEvent
,_args
,_kwargs
)
493 class wxShowEventPtr(wxEventPtr
):
494 def __init__(self
,this
):
497 def SetShow(self
, *_args
, **_kwargs
):
498 val
= apply(eventsc
.wxShowEvent_SetShow
,(self
,) + _args
, _kwargs
)
500 def GetShow(self
, *_args
, **_kwargs
):
501 val
= apply(eventsc
.wxShowEvent_GetShow
,(self
,) + _args
, _kwargs
)
504 return "<C wxShowEvent instance at %s>" % (self
.this
,)
505 class wxShowEvent(wxShowEventPtr
):
506 def __init__(self
,*_args
,**_kwargs
):
507 self
.this
= apply(eventsc
.new_wxShowEvent
,_args
,_kwargs
)
513 class wxIconizeEventPtr(wxEventPtr
):
514 def __init__(self
,this
):
518 return "<C wxIconizeEvent instance at %s>" % (self
.this
,)
519 class wxIconizeEvent(wxIconizeEventPtr
):
520 def __init__(self
,*_args
,**_kwargs
):
521 self
.this
= apply(eventsc
.new_wxIconizeEvent
,_args
,_kwargs
)
527 class wxMaximizeEventPtr(wxEventPtr
):
528 def __init__(self
,this
):
532 return "<C wxMaximizeEvent instance at %s>" % (self
.this
,)
533 class wxMaximizeEvent(wxMaximizeEventPtr
):
534 def __init__(self
,*_args
,**_kwargs
):
535 self
.this
= apply(eventsc
.new_wxMaximizeEvent
,_args
,_kwargs
)
541 class wxJoystickEventPtr(wxEventPtr
):
542 def __init__(self
,this
):
545 def GetPosition(self
, *_args
, **_kwargs
):
546 val
= apply(eventsc
.wxJoystickEvent_GetPosition
,(self
,) + _args
, _kwargs
)
547 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
549 def GetZPosition(self
, *_args
, **_kwargs
):
550 val
= apply(eventsc
.wxJoystickEvent_GetZPosition
,(self
,) + _args
, _kwargs
)
552 def GetButtonState(self
, *_args
, **_kwargs
):
553 val
= apply(eventsc
.wxJoystickEvent_GetButtonState
,(self
,) + _args
, _kwargs
)
555 def GetButtonChange(self
, *_args
, **_kwargs
):
556 val
= apply(eventsc
.wxJoystickEvent_GetButtonChange
,(self
,) + _args
, _kwargs
)
558 def GetJoystick(self
, *_args
, **_kwargs
):
559 val
= apply(eventsc
.wxJoystickEvent_GetJoystick
,(self
,) + _args
, _kwargs
)
561 def SetJoystick(self
, *_args
, **_kwargs
):
562 val
= apply(eventsc
.wxJoystickEvent_SetJoystick
,(self
,) + _args
, _kwargs
)
564 def SetButtonState(self
, *_args
, **_kwargs
):
565 val
= apply(eventsc
.wxJoystickEvent_SetButtonState
,(self
,) + _args
, _kwargs
)
567 def SetButtonChange(self
, *_args
, **_kwargs
):
568 val
= apply(eventsc
.wxJoystickEvent_SetButtonChange
,(self
,) + _args
, _kwargs
)
570 def SetPosition(self
, *_args
, **_kwargs
):
571 val
= apply(eventsc
.wxJoystickEvent_SetPosition
,(self
,) + _args
, _kwargs
)
573 def SetZPosition(self
, *_args
, **_kwargs
):
574 val
= apply(eventsc
.wxJoystickEvent_SetZPosition
,(self
,) + _args
, _kwargs
)
576 def IsButton(self
, *_args
, **_kwargs
):
577 val
= apply(eventsc
.wxJoystickEvent_IsButton
,(self
,) + _args
, _kwargs
)
579 def IsMove(self
, *_args
, **_kwargs
):
580 val
= apply(eventsc
.wxJoystickEvent_IsMove
,(self
,) + _args
, _kwargs
)
582 def IsZMove(self
, *_args
, **_kwargs
):
583 val
= apply(eventsc
.wxJoystickEvent_IsZMove
,(self
,) + _args
, _kwargs
)
585 def ButtonDown(self
, *_args
, **_kwargs
):
586 val
= apply(eventsc
.wxJoystickEvent_ButtonDown
,(self
,) + _args
, _kwargs
)
588 def ButtonUp(self
, *_args
, **_kwargs
):
589 val
= apply(eventsc
.wxJoystickEvent_ButtonUp
,(self
,) + _args
, _kwargs
)
591 def ButtonIsDown(self
, *_args
, **_kwargs
):
592 val
= apply(eventsc
.wxJoystickEvent_ButtonIsDown
,(self
,) + _args
, _kwargs
)
595 return "<C wxJoystickEvent instance at %s>" % (self
.this
,)
596 class wxJoystickEvent(wxJoystickEventPtr
):
597 def __init__(self
,*_args
,**_kwargs
):
598 self
.this
= apply(eventsc
.new_wxJoystickEvent
,_args
,_kwargs
)
604 class wxDropFilesEventPtr(wxEventPtr
):
605 def __init__(self
,this
):
608 def GetPosition(self
, *_args
, **_kwargs
):
609 val
= apply(eventsc
.wxDropFilesEvent_GetPosition
,(self
,) + _args
, _kwargs
)
610 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
612 def GetNumberOfFiles(self
, *_args
, **_kwargs
):
613 val
= apply(eventsc
.wxDropFilesEvent_GetNumberOfFiles
,(self
,) + _args
, _kwargs
)
615 def GetFiles(self
, *_args
, **_kwargs
):
616 val
= apply(eventsc
.wxDropFilesEvent_GetFiles
,(self
,) + _args
, _kwargs
)
619 return "<C wxDropFilesEvent instance at %s>" % (self
.this
,)
620 class wxDropFilesEvent(wxDropFilesEventPtr
):
621 def __init__(self
,this
):
627 class wxIdleEventPtr(wxEventPtr
):
628 def __init__(self
,this
):
631 def RequestMore(self
, *_args
, **_kwargs
):
632 val
= apply(eventsc
.wxIdleEvent_RequestMore
,(self
,) + _args
, _kwargs
)
634 def MoreRequested(self
, *_args
, **_kwargs
):
635 val
= apply(eventsc
.wxIdleEvent_MoreRequested
,(self
,) + _args
, _kwargs
)
638 return "<C wxIdleEvent instance at %s>" % (self
.this
,)
639 class wxIdleEvent(wxIdleEventPtr
):
640 def __init__(self
,*_args
,**_kwargs
):
641 self
.this
= apply(eventsc
.new_wxIdleEvent
,_args
,_kwargs
)
647 class wxUpdateUIEventPtr(wxEventPtr
):
648 def __init__(self
,this
):
651 def GetChecked(self
, *_args
, **_kwargs
):
652 val
= apply(eventsc
.wxUpdateUIEvent_GetChecked
,(self
,) + _args
, _kwargs
)
654 def GetEnabled(self
, *_args
, **_kwargs
):
655 val
= apply(eventsc
.wxUpdateUIEvent_GetEnabled
,(self
,) + _args
, _kwargs
)
657 def GetText(self
, *_args
, **_kwargs
):
658 val
= apply(eventsc
.wxUpdateUIEvent_GetText
,(self
,) + _args
, _kwargs
)
660 def GetSetText(self
, *_args
, **_kwargs
):
661 val
= apply(eventsc
.wxUpdateUIEvent_GetSetText
,(self
,) + _args
, _kwargs
)
663 def GetSetChecked(self
, *_args
, **_kwargs
):
664 val
= apply(eventsc
.wxUpdateUIEvent_GetSetChecked
,(self
,) + _args
, _kwargs
)
666 def GetSetEnabled(self
, *_args
, **_kwargs
):
667 val
= apply(eventsc
.wxUpdateUIEvent_GetSetEnabled
,(self
,) + _args
, _kwargs
)
669 def Check(self
, *_args
, **_kwargs
):
670 val
= apply(eventsc
.wxUpdateUIEvent_Check
,(self
,) + _args
, _kwargs
)
672 def Enable(self
, *_args
, **_kwargs
):
673 val
= apply(eventsc
.wxUpdateUIEvent_Enable
,(self
,) + _args
, _kwargs
)
675 def SetText(self
, *_args
, **_kwargs
):
676 val
= apply(eventsc
.wxUpdateUIEvent_SetText
,(self
,) + _args
, _kwargs
)
679 return "<C wxUpdateUIEvent instance at %s>" % (self
.this
,)
680 class wxUpdateUIEvent(wxUpdateUIEventPtr
):
681 def __init__(self
,*_args
,**_kwargs
):
682 self
.this
= apply(eventsc
.new_wxUpdateUIEvent
,_args
,_kwargs
)
688 class wxSysColourChangedEventPtr(wxEventPtr
):
689 def __init__(self
,this
):
693 return "<C wxSysColourChangedEvent instance at %s>" % (self
.this
,)
694 class wxSysColourChangedEvent(wxSysColourChangedEventPtr
):
695 def __init__(self
,*_args
,**_kwargs
):
696 self
.this
= apply(eventsc
.new_wxSysColourChangedEvent
,_args
,_kwargs
)
702 class wxNotifyEventPtr(wxCommandEventPtr
):
703 def __init__(self
,this
):
706 def IsAllowed(self
, *_args
, **_kwargs
):
707 val
= apply(eventsc
.wxNotifyEvent_IsAllowed
,(self
,) + _args
, _kwargs
)
709 def Veto(self
, *_args
, **_kwargs
):
710 val
= apply(eventsc
.wxNotifyEvent_Veto
,(self
,) + _args
, _kwargs
)
713 return "<C wxNotifyEvent instance at %s>" % (self
.this
,)
714 class wxNotifyEvent(wxNotifyEventPtr
):
715 def __init__(self
,*_args
,**_kwargs
):
716 self
.this
= apply(eventsc
.new_wxNotifyEvent
,_args
,_kwargs
)
722 class wxPaletteChangedEventPtr(wxEventPtr
):
723 def __init__(self
,this
):
726 def SetChangedWindow(self
, *_args
, **_kwargs
):
727 val
= apply(eventsc
.wxPaletteChangedEvent_SetChangedWindow
,(self
,) + _args
, _kwargs
)
729 def GetChangedWindow(self
, *_args
, **_kwargs
):
730 val
= apply(eventsc
.wxPaletteChangedEvent_GetChangedWindow
,(self
,) + _args
, _kwargs
)
731 if val
: val
= wxWindowPtr(val
)
734 return "<C wxPaletteChangedEvent instance at %s>" % (self
.this
,)
735 class wxPaletteChangedEvent(wxPaletteChangedEventPtr
):
736 def __init__(self
,*_args
,**_kwargs
):
737 self
.this
= apply(eventsc
.new_wxPaletteChangedEvent
,_args
,_kwargs
)
743 class wxQueryNewPaletteEventPtr(wxEventPtr
):
744 def __init__(self
,this
):
747 def SetPaletteRealized(self
, *_args
, **_kwargs
):
748 val
= apply(eventsc
.wxQueryNewPaletteEvent_SetPaletteRealized
,(self
,) + _args
, _kwargs
)
750 def GetPaletteRealized(self
, *_args
, **_kwargs
):
751 val
= apply(eventsc
.wxQueryNewPaletteEvent_GetPaletteRealized
,(self
,) + _args
, _kwargs
)
754 return "<C wxQueryNewPaletteEvent instance at %s>" % (self
.this
,)
755 class wxQueryNewPaletteEvent(wxQueryNewPaletteEventPtr
):
756 def __init__(self
,*_args
,**_kwargs
):
757 self
.this
= apply(eventsc
.new_wxQueryNewPaletteEvent
,_args
,_kwargs
)
763 class wxWindowCreateEventPtr(wxEventPtr
):
764 def __init__(self
,this
):
767 def GetWindow(self
, *_args
, **_kwargs
):
768 val
= apply(eventsc
.wxWindowCreateEvent_GetWindow
,(self
,) + _args
, _kwargs
)
769 if val
: val
= wxWindowPtr(val
)
772 return "<C wxWindowCreateEvent instance at %s>" % (self
.this
,)
773 class wxWindowCreateEvent(wxWindowCreateEventPtr
):
774 def __init__(self
,*_args
,**_kwargs
):
775 self
.this
= apply(eventsc
.new_wxWindowCreateEvent
,_args
,_kwargs
)
781 class wxWindowDestroyEventPtr(wxEventPtr
):
782 def __init__(self
,this
):
785 def GetWindow(self
, *_args
, **_kwargs
):
786 val
= apply(eventsc
.wxWindowDestroyEvent_GetWindow
,(self
,) + _args
, _kwargs
)
787 if val
: val
= wxWindowPtr(val
)
790 return "<C wxWindowDestroyEvent instance at %s>" % (self
.this
,)
791 class wxWindowDestroyEvent(wxWindowDestroyEventPtr
):
792 def __init__(self
,*_args
,**_kwargs
):
793 self
.this
= apply(eventsc
.new_wxWindowDestroyEvent
,_args
,_kwargs
)
799 class wxPyEventPtr(wxEventPtr
):
800 def __init__(self
,this
):
803 def __del__(self
,eventsc
=eventsc
):
804 if self
.thisown
== 1 :
805 eventsc
.delete_wxPyEvent(self
)
806 def SetSelf(self
, *_args
, **_kwargs
):
807 val
= apply(eventsc
.wxPyEvent_SetSelf
,(self
,) + _args
, _kwargs
)
809 def GetSelf(self
, *_args
, **_kwargs
):
810 val
= apply(eventsc
.wxPyEvent_GetSelf
,(self
,) + _args
, _kwargs
)
813 return "<C wxPyEvent instance at %s>" % (self
.this
,)
814 class wxPyEvent(wxPyEventPtr
):
815 def __init__(self
,*_args
,**_kwargs
):
816 self
.this
= apply(eventsc
.new_wxPyEvent
,_args
,_kwargs
)
823 class wxPyCommandEventPtr(wxCommandEventPtr
):
824 def __init__(self
,this
):
827 def __del__(self
,eventsc
=eventsc
):
828 if self
.thisown
== 1 :
829 eventsc
.delete_wxPyCommandEvent(self
)
830 def SetSelf(self
, *_args
, **_kwargs
):
831 val
= apply(eventsc
.wxPyCommandEvent_SetSelf
,(self
,) + _args
, _kwargs
)
833 def GetSelf(self
, *_args
, **_kwargs
):
834 val
= apply(eventsc
.wxPyCommandEvent_GetSelf
,(self
,) + _args
, _kwargs
)
837 return "<C wxPyCommandEvent instance at %s>" % (self
.this
,)
838 class wxPyCommandEvent(wxPyCommandEventPtr
):
839 def __init__(self
,*_args
,**_kwargs
):
840 self
.this
= apply(eventsc
.new_wxPyCommandEvent
,_args
,_kwargs
)
849 #-------------- FUNCTION WRAPPERS ------------------
853 #-------------- VARIABLE WRAPPERS ------------------