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
)
125 return "<C wxCommandEvent instance at %s>" % (self
.this
,)
126 class wxCommandEvent(wxCommandEventPtr
):
127 def __init__(self
,*_args
,**_kwargs
):
128 self
.this
= apply(eventsc
.new_wxCommandEvent
,_args
,_kwargs
)
134 class wxScrollEventPtr(wxCommandEventPtr
):
135 def __init__(self
,this
):
138 def GetOrientation(self
, *_args
, **_kwargs
):
139 val
= apply(eventsc
.wxScrollEvent_GetOrientation
,(self
,) + _args
, _kwargs
)
141 def GetPosition(self
, *_args
, **_kwargs
):
142 val
= apply(eventsc
.wxScrollEvent_GetPosition
,(self
,) + _args
, _kwargs
)
145 return "<C wxScrollEvent instance at %s>" % (self
.this
,)
146 class wxScrollEvent(wxScrollEventPtr
):
147 def __init__(self
,*_args
,**_kwargs
):
148 self
.this
= apply(eventsc
.new_wxScrollEvent
,_args
,_kwargs
)
154 class wxScrollWinEventPtr(wxEventPtr
):
155 def __init__(self
,this
):
158 def GetOrientation(self
, *_args
, **_kwargs
):
159 val
= apply(eventsc
.wxScrollWinEvent_GetOrientation
,(self
,) + _args
, _kwargs
)
161 def GetPosition(self
, *_args
, **_kwargs
):
162 val
= apply(eventsc
.wxScrollWinEvent_GetPosition
,(self
,) + _args
, _kwargs
)
165 return "<C wxScrollWinEvent instance at %s>" % (self
.this
,)
166 class wxScrollWinEvent(wxScrollWinEventPtr
):
167 def __init__(self
,*_args
,**_kwargs
):
168 self
.this
= apply(eventsc
.new_wxScrollWinEvent
,_args
,_kwargs
)
174 class wxSpinEventPtr(wxScrollEventPtr
):
175 def __init__(self
,this
):
179 return "<C wxSpinEvent instance at %s>" % (self
.this
,)
180 class wxSpinEvent(wxSpinEventPtr
):
181 def __init__(self
,*_args
,**_kwargs
):
182 self
.this
= apply(eventsc
.new_wxSpinEvent
,_args
,_kwargs
)
188 class wxMouseEventPtr(wxEventPtr
):
189 def __init__(self
,this
):
192 def IsButton(self
, *_args
, **_kwargs
):
193 val
= apply(eventsc
.wxMouseEvent_IsButton
,(self
,) + _args
, _kwargs
)
195 def ButtonDown(self
, *_args
, **_kwargs
):
196 val
= apply(eventsc
.wxMouseEvent_ButtonDown
,(self
,) + _args
, _kwargs
)
198 def ButtonDClick(self
, *_args
, **_kwargs
):
199 val
= apply(eventsc
.wxMouseEvent_ButtonDClick
,(self
,) + _args
, _kwargs
)
201 def ButtonUp(self
, *_args
, **_kwargs
):
202 val
= apply(eventsc
.wxMouseEvent_ButtonUp
,(self
,) + _args
, _kwargs
)
204 def Button(self
, *_args
, **_kwargs
):
205 val
= apply(eventsc
.wxMouseEvent_Button
,(self
,) + _args
, _kwargs
)
207 def ButtonIsDown(self
, *_args
, **_kwargs
):
208 val
= apply(eventsc
.wxMouseEvent_ButtonIsDown
,(self
,) + _args
, _kwargs
)
210 def ControlDown(self
, *_args
, **_kwargs
):
211 val
= apply(eventsc
.wxMouseEvent_ControlDown
,(self
,) + _args
, _kwargs
)
213 def MetaDown(self
, *_args
, **_kwargs
):
214 val
= apply(eventsc
.wxMouseEvent_MetaDown
,(self
,) + _args
, _kwargs
)
216 def AltDown(self
, *_args
, **_kwargs
):
217 val
= apply(eventsc
.wxMouseEvent_AltDown
,(self
,) + _args
, _kwargs
)
219 def ShiftDown(self
, *_args
, **_kwargs
):
220 val
= apply(eventsc
.wxMouseEvent_ShiftDown
,(self
,) + _args
, _kwargs
)
222 def LeftDown(self
, *_args
, **_kwargs
):
223 val
= apply(eventsc
.wxMouseEvent_LeftDown
,(self
,) + _args
, _kwargs
)
225 def MiddleDown(self
, *_args
, **_kwargs
):
226 val
= apply(eventsc
.wxMouseEvent_MiddleDown
,(self
,) + _args
, _kwargs
)
228 def RightDown(self
, *_args
, **_kwargs
):
229 val
= apply(eventsc
.wxMouseEvent_RightDown
,(self
,) + _args
, _kwargs
)
231 def LeftUp(self
, *_args
, **_kwargs
):
232 val
= apply(eventsc
.wxMouseEvent_LeftUp
,(self
,) + _args
, _kwargs
)
234 def MiddleUp(self
, *_args
, **_kwargs
):
235 val
= apply(eventsc
.wxMouseEvent_MiddleUp
,(self
,) + _args
, _kwargs
)
237 def RightUp(self
, *_args
, **_kwargs
):
238 val
= apply(eventsc
.wxMouseEvent_RightUp
,(self
,) + _args
, _kwargs
)
240 def LeftDClick(self
, *_args
, **_kwargs
):
241 val
= apply(eventsc
.wxMouseEvent_LeftDClick
,(self
,) + _args
, _kwargs
)
243 def MiddleDClick(self
, *_args
, **_kwargs
):
244 val
= apply(eventsc
.wxMouseEvent_MiddleDClick
,(self
,) + _args
, _kwargs
)
246 def RightDClick(self
, *_args
, **_kwargs
):
247 val
= apply(eventsc
.wxMouseEvent_RightDClick
,(self
,) + _args
, _kwargs
)
249 def LeftIsDown(self
, *_args
, **_kwargs
):
250 val
= apply(eventsc
.wxMouseEvent_LeftIsDown
,(self
,) + _args
, _kwargs
)
252 def MiddleIsDown(self
, *_args
, **_kwargs
):
253 val
= apply(eventsc
.wxMouseEvent_MiddleIsDown
,(self
,) + _args
, _kwargs
)
255 def RightIsDown(self
, *_args
, **_kwargs
):
256 val
= apply(eventsc
.wxMouseEvent_RightIsDown
,(self
,) + _args
, _kwargs
)
258 def Dragging(self
, *_args
, **_kwargs
):
259 val
= apply(eventsc
.wxMouseEvent_Dragging
,(self
,) + _args
, _kwargs
)
261 def Moving(self
, *_args
, **_kwargs
):
262 val
= apply(eventsc
.wxMouseEvent_Moving
,(self
,) + _args
, _kwargs
)
264 def Entering(self
, *_args
, **_kwargs
):
265 val
= apply(eventsc
.wxMouseEvent_Entering
,(self
,) + _args
, _kwargs
)
267 def Leaving(self
, *_args
, **_kwargs
):
268 val
= apply(eventsc
.wxMouseEvent_Leaving
,(self
,) + _args
, _kwargs
)
270 def Position(self
, *_args
, **_kwargs
):
271 val
= apply(eventsc
.wxMouseEvent_Position
,(self
,) + _args
, _kwargs
)
273 def GetPosition(self
, *_args
, **_kwargs
):
274 val
= apply(eventsc
.wxMouseEvent_GetPosition
,(self
,) + _args
, _kwargs
)
275 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
277 def GetLogicalPosition(self
, *_args
, **_kwargs
):
278 val
= apply(eventsc
.wxMouseEvent_GetLogicalPosition
,(self
,) + _args
, _kwargs
)
279 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
281 def GetX(self
, *_args
, **_kwargs
):
282 val
= apply(eventsc
.wxMouseEvent_GetX
,(self
,) + _args
, _kwargs
)
284 def GetY(self
, *_args
, **_kwargs
):
285 val
= apply(eventsc
.wxMouseEvent_GetY
,(self
,) + _args
, _kwargs
)
288 return "<C wxMouseEvent instance at %s>" % (self
.this
,)
289 class wxMouseEvent(wxMouseEventPtr
):
290 def __init__(self
,*_args
,**_kwargs
):
291 self
.this
= apply(eventsc
.new_wxMouseEvent
,_args
,_kwargs
)
297 class wxKeyEventPtr(wxEventPtr
):
298 def __init__(self
,this
):
301 def ControlDown(self
, *_args
, **_kwargs
):
302 val
= apply(eventsc
.wxKeyEvent_ControlDown
,(self
,) + _args
, _kwargs
)
304 def MetaDown(self
, *_args
, **_kwargs
):
305 val
= apply(eventsc
.wxKeyEvent_MetaDown
,(self
,) + _args
, _kwargs
)
307 def AltDown(self
, *_args
, **_kwargs
):
308 val
= apply(eventsc
.wxKeyEvent_AltDown
,(self
,) + _args
, _kwargs
)
310 def ShiftDown(self
, *_args
, **_kwargs
):
311 val
= apply(eventsc
.wxKeyEvent_ShiftDown
,(self
,) + _args
, _kwargs
)
313 def KeyCode(self
, *_args
, **_kwargs
):
314 val
= apply(eventsc
.wxKeyEvent_KeyCode
,(self
,) + _args
, _kwargs
)
316 def GetX(self
, *_args
, **_kwargs
):
317 val
= apply(eventsc
.wxKeyEvent_GetX
,(self
,) + _args
, _kwargs
)
319 def GetY(self
, *_args
, **_kwargs
):
320 val
= apply(eventsc
.wxKeyEvent_GetY
,(self
,) + _args
, _kwargs
)
322 def GetPosition(self
, *_args
, **_kwargs
):
323 val
= apply(eventsc
.wxKeyEvent_GetPosition
,(self
,) + _args
, _kwargs
)
324 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
326 def GetPositionTuple(self
, *_args
, **_kwargs
):
327 val
= apply(eventsc
.wxKeyEvent_GetPositionTuple
,(self
,) + _args
, _kwargs
)
330 return "<C wxKeyEvent instance at %s>" % (self
.this
,)
331 class wxKeyEvent(wxKeyEventPtr
):
332 def __init__(self
,*_args
,**_kwargs
):
333 self
.this
= apply(eventsc
.new_wxKeyEvent
,_args
,_kwargs
)
339 class wxNavigationKeyEventPtr(wxCommandEventPtr
):
340 def __init__(self
,this
):
343 def GetDirection(self
, *_args
, **_kwargs
):
344 val
= apply(eventsc
.wxNavigationKeyEvent_GetDirection
,(self
,) + _args
, _kwargs
)
346 def SetDirection(self
, *_args
, **_kwargs
):
347 val
= apply(eventsc
.wxNavigationKeyEvent_SetDirection
,(self
,) + _args
, _kwargs
)
349 def IsWindowChange(self
, *_args
, **_kwargs
):
350 val
= apply(eventsc
.wxNavigationKeyEvent_IsWindowChange
,(self
,) + _args
, _kwargs
)
352 def SetWindowChange(self
, *_args
, **_kwargs
):
353 val
= apply(eventsc
.wxNavigationKeyEvent_SetWindowChange
,(self
,) + _args
, _kwargs
)
355 def GetCurrentFocus(self
, *_args
, **_kwargs
):
356 val
= apply(eventsc
.wxNavigationKeyEvent_GetCurrentFocus
,(self
,) + _args
, _kwargs
)
357 if val
: val
= wxWindowPtr(val
)
359 def SetCurrentFocus(self
, *_args
, **_kwargs
):
360 val
= apply(eventsc
.wxNavigationKeyEvent_SetCurrentFocus
,(self
,) + _args
, _kwargs
)
363 return "<C wxNavigationKeyEvent instance at %s>" % (self
.this
,)
364 class wxNavigationKeyEvent(wxNavigationKeyEventPtr
):
365 def __init__(self
,*_args
,**_kwargs
):
366 self
.this
= apply(eventsc
.new_wxNavigationKeyEvent
,_args
,_kwargs
)
372 class wxMoveEventPtr(wxEventPtr
):
373 def __init__(self
,this
):
376 def GetPosition(self
, *_args
, **_kwargs
):
377 val
= apply(eventsc
.wxMoveEvent_GetPosition
,(self
,) + _args
, _kwargs
)
378 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
381 return "<C wxMoveEvent instance at %s>" % (self
.this
,)
382 class wxMoveEvent(wxMoveEventPtr
):
383 def __init__(self
,*_args
,**_kwargs
):
384 self
.this
= apply(eventsc
.new_wxMoveEvent
,_args
,_kwargs
)
390 class wxPaintEventPtr(wxEventPtr
):
391 def __init__(self
,this
):
395 return "<C wxPaintEvent instance at %s>" % (self
.this
,)
396 class wxPaintEvent(wxPaintEventPtr
):
397 def __init__(self
,*_args
,**_kwargs
):
398 self
.this
= apply(eventsc
.new_wxPaintEvent
,_args
,_kwargs
)
404 class wxEraseEventPtr(wxEventPtr
):
405 def __init__(self
,this
):
408 def GetDC(self
, *_args
, **_kwargs
):
409 val
= apply(eventsc
.wxEraseEvent_GetDC
,(self
,) + _args
, _kwargs
)
410 if val
: val
= wxDCPtr(val
)
413 return "<C wxEraseEvent instance at %s>" % (self
.this
,)
414 class wxEraseEvent(wxEraseEventPtr
):
415 def __init__(self
,*_args
,**_kwargs
):
416 self
.this
= apply(eventsc
.new_wxEraseEvent
,_args
,_kwargs
)
422 class wxFocusEventPtr(wxEventPtr
):
423 def __init__(self
,this
):
427 return "<C wxFocusEvent instance at %s>" % (self
.this
,)
428 class wxFocusEvent(wxFocusEventPtr
):
429 def __init__(self
,*_args
,**_kwargs
):
430 self
.this
= apply(eventsc
.new_wxFocusEvent
,_args
,_kwargs
)
436 class wxActivateEventPtr(wxEventPtr
):
437 def __init__(self
,this
):
440 def GetActive(self
, *_args
, **_kwargs
):
441 val
= apply(eventsc
.wxActivateEvent_GetActive
,(self
,) + _args
, _kwargs
)
444 return "<C wxActivateEvent instance at %s>" % (self
.this
,)
445 class wxActivateEvent(wxActivateEventPtr
):
446 def __init__(self
,*_args
,**_kwargs
):
447 self
.this
= apply(eventsc
.new_wxActivateEvent
,_args
,_kwargs
)
453 class wxInitDialogEventPtr(wxEventPtr
):
454 def __init__(self
,this
):
458 return "<C wxInitDialogEvent instance at %s>" % (self
.this
,)
459 class wxInitDialogEvent(wxInitDialogEventPtr
):
460 def __init__(self
,*_args
,**_kwargs
):
461 self
.this
= apply(eventsc
.new_wxInitDialogEvent
,_args
,_kwargs
)
467 class wxMenuEventPtr(wxEventPtr
):
468 def __init__(self
,this
):
471 def GetMenuId(self
, *_args
, **_kwargs
):
472 val
= apply(eventsc
.wxMenuEvent_GetMenuId
,(self
,) + _args
, _kwargs
)
475 return "<C wxMenuEvent instance at %s>" % (self
.this
,)
476 class wxMenuEvent(wxMenuEventPtr
):
477 def __init__(self
,*_args
,**_kwargs
):
478 self
.this
= apply(eventsc
.new_wxMenuEvent
,_args
,_kwargs
)
484 class wxShowEventPtr(wxEventPtr
):
485 def __init__(self
,this
):
488 def SetShow(self
, *_args
, **_kwargs
):
489 val
= apply(eventsc
.wxShowEvent_SetShow
,(self
,) + _args
, _kwargs
)
491 def GetShow(self
, *_args
, **_kwargs
):
492 val
= apply(eventsc
.wxShowEvent_GetShow
,(self
,) + _args
, _kwargs
)
495 return "<C wxShowEvent instance at %s>" % (self
.this
,)
496 class wxShowEvent(wxShowEventPtr
):
497 def __init__(self
,*_args
,**_kwargs
):
498 self
.this
= apply(eventsc
.new_wxShowEvent
,_args
,_kwargs
)
504 class wxIconizeEventPtr(wxEventPtr
):
505 def __init__(self
,this
):
509 return "<C wxIconizeEvent instance at %s>" % (self
.this
,)
510 class wxIconizeEvent(wxIconizeEventPtr
):
511 def __init__(self
,*_args
,**_kwargs
):
512 self
.this
= apply(eventsc
.new_wxIconizeEvent
,_args
,_kwargs
)
518 class wxMaximizeEventPtr(wxEventPtr
):
519 def __init__(self
,this
):
523 return "<C wxMaximizeEvent instance at %s>" % (self
.this
,)
524 class wxMaximizeEvent(wxMaximizeEventPtr
):
525 def __init__(self
,*_args
,**_kwargs
):
526 self
.this
= apply(eventsc
.new_wxMaximizeEvent
,_args
,_kwargs
)
532 class wxJoystickEventPtr(wxEventPtr
):
533 def __init__(self
,this
):
536 def GetPosition(self
, *_args
, **_kwargs
):
537 val
= apply(eventsc
.wxJoystickEvent_GetPosition
,(self
,) + _args
, _kwargs
)
538 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
540 def GetZPosition(self
, *_args
, **_kwargs
):
541 val
= apply(eventsc
.wxJoystickEvent_GetZPosition
,(self
,) + _args
, _kwargs
)
543 def GetButtonState(self
, *_args
, **_kwargs
):
544 val
= apply(eventsc
.wxJoystickEvent_GetButtonState
,(self
,) + _args
, _kwargs
)
546 def GetButtonChange(self
, *_args
, **_kwargs
):
547 val
= apply(eventsc
.wxJoystickEvent_GetButtonChange
,(self
,) + _args
, _kwargs
)
549 def GetJoystick(self
, *_args
, **_kwargs
):
550 val
= apply(eventsc
.wxJoystickEvent_GetJoystick
,(self
,) + _args
, _kwargs
)
552 def SetJoystick(self
, *_args
, **_kwargs
):
553 val
= apply(eventsc
.wxJoystickEvent_SetJoystick
,(self
,) + _args
, _kwargs
)
555 def SetButtonState(self
, *_args
, **_kwargs
):
556 val
= apply(eventsc
.wxJoystickEvent_SetButtonState
,(self
,) + _args
, _kwargs
)
558 def SetButtonChange(self
, *_args
, **_kwargs
):
559 val
= apply(eventsc
.wxJoystickEvent_SetButtonChange
,(self
,) + _args
, _kwargs
)
561 def SetPosition(self
, *_args
, **_kwargs
):
562 val
= apply(eventsc
.wxJoystickEvent_SetPosition
,(self
,) + _args
, _kwargs
)
564 def SetZPosition(self
, *_args
, **_kwargs
):
565 val
= apply(eventsc
.wxJoystickEvent_SetZPosition
,(self
,) + _args
, _kwargs
)
567 def IsButton(self
, *_args
, **_kwargs
):
568 val
= apply(eventsc
.wxJoystickEvent_IsButton
,(self
,) + _args
, _kwargs
)
570 def IsMove(self
, *_args
, **_kwargs
):
571 val
= apply(eventsc
.wxJoystickEvent_IsMove
,(self
,) + _args
, _kwargs
)
573 def IsZMove(self
, *_args
, **_kwargs
):
574 val
= apply(eventsc
.wxJoystickEvent_IsZMove
,(self
,) + _args
, _kwargs
)
576 def ButtonDown(self
, *_args
, **_kwargs
):
577 val
= apply(eventsc
.wxJoystickEvent_ButtonDown
,(self
,) + _args
, _kwargs
)
579 def ButtonUp(self
, *_args
, **_kwargs
):
580 val
= apply(eventsc
.wxJoystickEvent_ButtonUp
,(self
,) + _args
, _kwargs
)
582 def ButtonIsDown(self
, *_args
, **_kwargs
):
583 val
= apply(eventsc
.wxJoystickEvent_ButtonIsDown
,(self
,) + _args
, _kwargs
)
586 return "<C wxJoystickEvent instance at %s>" % (self
.this
,)
587 class wxJoystickEvent(wxJoystickEventPtr
):
588 def __init__(self
,*_args
,**_kwargs
):
589 self
.this
= apply(eventsc
.new_wxJoystickEvent
,_args
,_kwargs
)
595 class wxDropFilesEventPtr(wxEventPtr
):
596 def __init__(self
,this
):
599 def GetPosition(self
, *_args
, **_kwargs
):
600 val
= apply(eventsc
.wxDropFilesEvent_GetPosition
,(self
,) + _args
, _kwargs
)
601 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
603 def GetNumberOfFiles(self
, *_args
, **_kwargs
):
604 val
= apply(eventsc
.wxDropFilesEvent_GetNumberOfFiles
,(self
,) + _args
, _kwargs
)
606 def GetFiles(self
, *_args
, **_kwargs
):
607 val
= apply(eventsc
.wxDropFilesEvent_GetFiles
,(self
,) + _args
, _kwargs
)
610 return "<C wxDropFilesEvent instance at %s>" % (self
.this
,)
611 class wxDropFilesEvent(wxDropFilesEventPtr
):
612 def __init__(self
,this
):
618 class wxIdleEventPtr(wxEventPtr
):
619 def __init__(self
,this
):
622 def RequestMore(self
, *_args
, **_kwargs
):
623 val
= apply(eventsc
.wxIdleEvent_RequestMore
,(self
,) + _args
, _kwargs
)
625 def MoreRequested(self
, *_args
, **_kwargs
):
626 val
= apply(eventsc
.wxIdleEvent_MoreRequested
,(self
,) + _args
, _kwargs
)
629 return "<C wxIdleEvent instance at %s>" % (self
.this
,)
630 class wxIdleEvent(wxIdleEventPtr
):
631 def __init__(self
,*_args
,**_kwargs
):
632 self
.this
= apply(eventsc
.new_wxIdleEvent
,_args
,_kwargs
)
638 class wxUpdateUIEventPtr(wxEventPtr
):
639 def __init__(self
,this
):
642 def GetChecked(self
, *_args
, **_kwargs
):
643 val
= apply(eventsc
.wxUpdateUIEvent_GetChecked
,(self
,) + _args
, _kwargs
)
645 def GetEnabled(self
, *_args
, **_kwargs
):
646 val
= apply(eventsc
.wxUpdateUIEvent_GetEnabled
,(self
,) + _args
, _kwargs
)
648 def GetText(self
, *_args
, **_kwargs
):
649 val
= apply(eventsc
.wxUpdateUIEvent_GetText
,(self
,) + _args
, _kwargs
)
651 def GetSetText(self
, *_args
, **_kwargs
):
652 val
= apply(eventsc
.wxUpdateUIEvent_GetSetText
,(self
,) + _args
, _kwargs
)
654 def GetSetChecked(self
, *_args
, **_kwargs
):
655 val
= apply(eventsc
.wxUpdateUIEvent_GetSetChecked
,(self
,) + _args
, _kwargs
)
657 def GetSetEnabled(self
, *_args
, **_kwargs
):
658 val
= apply(eventsc
.wxUpdateUIEvent_GetSetEnabled
,(self
,) + _args
, _kwargs
)
660 def Check(self
, *_args
, **_kwargs
):
661 val
= apply(eventsc
.wxUpdateUIEvent_Check
,(self
,) + _args
, _kwargs
)
663 def Enable(self
, *_args
, **_kwargs
):
664 val
= apply(eventsc
.wxUpdateUIEvent_Enable
,(self
,) + _args
, _kwargs
)
666 def SetText(self
, *_args
, **_kwargs
):
667 val
= apply(eventsc
.wxUpdateUIEvent_SetText
,(self
,) + _args
, _kwargs
)
670 return "<C wxUpdateUIEvent instance at %s>" % (self
.this
,)
671 class wxUpdateUIEvent(wxUpdateUIEventPtr
):
672 def __init__(self
,*_args
,**_kwargs
):
673 self
.this
= apply(eventsc
.new_wxUpdateUIEvent
,_args
,_kwargs
)
679 class wxSysColourChangedEventPtr(wxEventPtr
):
680 def __init__(self
,this
):
684 return "<C wxSysColourChangedEvent instance at %s>" % (self
.this
,)
685 class wxSysColourChangedEvent(wxSysColourChangedEventPtr
):
686 def __init__(self
,*_args
,**_kwargs
):
687 self
.this
= apply(eventsc
.new_wxSysColourChangedEvent
,_args
,_kwargs
)
693 class wxNotifyEventPtr(wxCommandEventPtr
):
694 def __init__(self
,this
):
697 def IsAllowed(self
, *_args
, **_kwargs
):
698 val
= apply(eventsc
.wxNotifyEvent_IsAllowed
,(self
,) + _args
, _kwargs
)
700 def Veto(self
, *_args
, **_kwargs
):
701 val
= apply(eventsc
.wxNotifyEvent_Veto
,(self
,) + _args
, _kwargs
)
704 return "<C wxNotifyEvent instance at %s>" % (self
.this
,)
705 class wxNotifyEvent(wxNotifyEventPtr
):
706 def __init__(self
,*_args
,**_kwargs
):
707 self
.this
= apply(eventsc
.new_wxNotifyEvent
,_args
,_kwargs
)
713 class wxPaletteChangedEventPtr(wxEventPtr
):
714 def __init__(self
,this
):
717 def SetChangedWindow(self
, *_args
, **_kwargs
):
718 val
= apply(eventsc
.wxPaletteChangedEvent_SetChangedWindow
,(self
,) + _args
, _kwargs
)
720 def GetChangedWindow(self
, *_args
, **_kwargs
):
721 val
= apply(eventsc
.wxPaletteChangedEvent_GetChangedWindow
,(self
,) + _args
, _kwargs
)
722 if val
: val
= wxWindowPtr(val
)
725 return "<C wxPaletteChangedEvent instance at %s>" % (self
.this
,)
726 class wxPaletteChangedEvent(wxPaletteChangedEventPtr
):
727 def __init__(self
,*_args
,**_kwargs
):
728 self
.this
= apply(eventsc
.new_wxPaletteChangedEvent
,_args
,_kwargs
)
734 class wxQueryNewPaletteEventPtr(wxEventPtr
):
735 def __init__(self
,this
):
738 def SetPaletteRealized(self
, *_args
, **_kwargs
):
739 val
= apply(eventsc
.wxQueryNewPaletteEvent_SetPaletteRealized
,(self
,) + _args
, _kwargs
)
741 def GetPaletteRealized(self
, *_args
, **_kwargs
):
742 val
= apply(eventsc
.wxQueryNewPaletteEvent_GetPaletteRealized
,(self
,) + _args
, _kwargs
)
745 return "<C wxQueryNewPaletteEvent instance at %s>" % (self
.this
,)
746 class wxQueryNewPaletteEvent(wxQueryNewPaletteEventPtr
):
747 def __init__(self
,*_args
,**_kwargs
):
748 self
.this
= apply(eventsc
.new_wxQueryNewPaletteEvent
,_args
,_kwargs
)
754 class wxWindowCreateEventPtr(wxEventPtr
):
755 def __init__(self
,this
):
758 def GetWindow(self
, *_args
, **_kwargs
):
759 val
= apply(eventsc
.wxWindowCreateEvent_GetWindow
,(self
,) + _args
, _kwargs
)
760 if val
: val
= wxWindowPtr(val
)
763 return "<C wxWindowCreateEvent instance at %s>" % (self
.this
,)
764 class wxWindowCreateEvent(wxWindowCreateEventPtr
):
765 def __init__(self
,*_args
,**_kwargs
):
766 self
.this
= apply(eventsc
.new_wxWindowCreateEvent
,_args
,_kwargs
)
772 class wxWindowDestroyEventPtr(wxEventPtr
):
773 def __init__(self
,this
):
776 def GetWindow(self
, *_args
, **_kwargs
):
777 val
= apply(eventsc
.wxWindowDestroyEvent_GetWindow
,(self
,) + _args
, _kwargs
)
778 if val
: val
= wxWindowPtr(val
)
781 return "<C wxWindowDestroyEvent instance at %s>" % (self
.this
,)
782 class wxWindowDestroyEvent(wxWindowDestroyEventPtr
):
783 def __init__(self
,*_args
,**_kwargs
):
784 self
.this
= apply(eventsc
.new_wxWindowDestroyEvent
,_args
,_kwargs
)
790 class wxPyEventPtr(wxEventPtr
):
791 def __init__(self
,this
):
794 def __del__(self
,eventsc
=eventsc
):
795 if self
.thisown
== 1 :
796 eventsc
.delete_wxPyEvent(self
)
797 def SetPyData(self
, *_args
, **_kwargs
):
798 val
= apply(eventsc
.wxPyEvent_SetPyData
,(self
,) + _args
, _kwargs
)
800 def GetPyData(self
, *_args
, **_kwargs
):
801 val
= apply(eventsc
.wxPyEvent_GetPyData
,(self
,) + _args
, _kwargs
)
804 return "<C wxPyEvent instance at %s>" % (self
.this
,)
805 class wxPyEvent(wxPyEventPtr
):
806 def __init__(self
,*_args
,**_kwargs
):
807 self
.this
= apply(eventsc
.new_wxPyEvent
,_args
,_kwargs
)
813 class wxPyCommandEventPtr(wxCommandEventPtr
):
814 def __init__(self
,this
):
817 def __del__(self
,eventsc
=eventsc
):
818 if self
.thisown
== 1 :
819 eventsc
.delete_wxPyCommandEvent(self
)
820 def SetPyData(self
, *_args
, **_kwargs
):
821 val
= apply(eventsc
.wxPyCommandEvent_SetPyData
,(self
,) + _args
, _kwargs
)
823 def GetPyData(self
, *_args
, **_kwargs
):
824 val
= apply(eventsc
.wxPyCommandEvent_GetPyData
,(self
,) + _args
, _kwargs
)
827 return "<C wxPyCommandEvent instance at %s>" % (self
.this
,)
828 class wxPyCommandEvent(wxPyCommandEventPtr
):
829 def __init__(self
,*_args
,**_kwargs
):
830 self
.this
= apply(eventsc
.new_wxPyCommandEvent
,_args
,_kwargs
)
838 #-------------- FUNCTION WRAPPERS ------------------
842 #-------------- VARIABLE WRAPPERS ------------------