1 # This file was created automatically by SWIG.
6 def __init__(self
,this
):
9 def GetEventObject(self
, *_args
, **_kwargs
):
10 val
= apply(eventsc
.wxEvent_GetEventObject
,(self
,) + _args
, _kwargs
)
12 def GetEventType(self
, *_args
, **_kwargs
):
13 val
= apply(eventsc
.wxEvent_GetEventType
,(self
,) + _args
, _kwargs
)
15 def GetId(self
, *_args
, **_kwargs
):
16 val
= apply(eventsc
.wxEvent_GetId
,(self
,) + _args
, _kwargs
)
18 def GetSkipped(self
, *_args
, **_kwargs
):
19 val
= apply(eventsc
.wxEvent_GetSkipped
,(self
,) + _args
, _kwargs
)
21 def GetTimestamp(self
, *_args
, **_kwargs
):
22 val
= apply(eventsc
.wxEvent_GetTimestamp
,(self
,) + _args
, _kwargs
)
24 def SetEventObject(self
, *_args
, **_kwargs
):
25 val
= apply(eventsc
.wxEvent_SetEventObject
,(self
,) + _args
, _kwargs
)
27 def SetEventType(self
, *_args
, **_kwargs
):
28 val
= apply(eventsc
.wxEvent_SetEventType
,(self
,) + _args
, _kwargs
)
30 def SetId(self
, *_args
, **_kwargs
):
31 val
= apply(eventsc
.wxEvent_SetId
,(self
,) + _args
, _kwargs
)
33 def SetTimestamp(self
, *_args
, **_kwargs
):
34 val
= apply(eventsc
.wxEvent_SetTimestamp
,(self
,) + _args
, _kwargs
)
36 def Skip(self
, *_args
, **_kwargs
):
37 val
= apply(eventsc
.wxEvent_Skip
,(self
,) + _args
, _kwargs
)
40 return "<C wxEvent instance at %s>" % (self
.this
,)
41 class wxEvent(wxEventPtr
):
42 def __init__(self
,this
):
48 class wxSizeEventPtr(wxEventPtr
):
49 def __init__(self
,this
):
52 def GetSize(self
, *_args
, **_kwargs
):
53 val
= apply(eventsc
.wxSizeEvent_GetSize
,(self
,) + _args
, _kwargs
)
54 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
57 return "<C wxSizeEvent instance at %s>" % (self
.this
,)
58 class wxSizeEvent(wxSizeEventPtr
):
59 def __init__(self
,this
):
65 class wxCloseEventPtr(wxEventPtr
):
66 def __init__(self
,this
):
69 def SetLoggingOff(self
, *_args
, **_kwargs
):
70 val
= apply(eventsc
.wxCloseEvent_SetLoggingOff
,(self
,) + _args
, _kwargs
)
72 def GetLoggingOff(self
, *_args
, **_kwargs
):
73 val
= apply(eventsc
.wxCloseEvent_GetLoggingOff
,(self
,) + _args
, _kwargs
)
75 def Veto(self
, *_args
, **_kwargs
):
76 val
= apply(eventsc
.wxCloseEvent_Veto
,(self
,) + _args
, _kwargs
)
78 def CanVeto(self
, *_args
, **_kwargs
):
79 val
= apply(eventsc
.wxCloseEvent_CanVeto
,(self
,) + _args
, _kwargs
)
81 def GetVeto(self
, *_args
, **_kwargs
):
82 val
= apply(eventsc
.wxCloseEvent_GetVeto
,(self
,) + _args
, _kwargs
)
84 def SetCanVeto(self
, *_args
, **_kwargs
):
85 val
= apply(eventsc
.wxCloseEvent_SetCanVeto
,(self
,) + _args
, _kwargs
)
88 return "<C wxCloseEvent instance at %s>" % (self
.this
,)
89 class wxCloseEvent(wxCloseEventPtr
):
90 def __init__(self
,this
):
96 class wxCommandEventPtr(wxEventPtr
):
97 def __init__(self
,this
):
100 def Checked(self
, *_args
, **_kwargs
):
101 val
= apply(eventsc
.wxCommandEvent_Checked
,(self
,) + _args
, _kwargs
)
103 def GetExtraLong(self
, *_args
, **_kwargs
):
104 val
= apply(eventsc
.wxCommandEvent_GetExtraLong
,(self
,) + _args
, _kwargs
)
106 def GetInt(self
, *_args
, **_kwargs
):
107 val
= apply(eventsc
.wxCommandEvent_GetInt
,(self
,) + _args
, _kwargs
)
109 def GetSelection(self
, *_args
, **_kwargs
):
110 val
= apply(eventsc
.wxCommandEvent_GetSelection
,(self
,) + _args
, _kwargs
)
112 def GetString(self
, *_args
, **_kwargs
):
113 val
= apply(eventsc
.wxCommandEvent_GetString
,(self
,) + _args
, _kwargs
)
115 def IsSelection(self
, *_args
, **_kwargs
):
116 val
= apply(eventsc
.wxCommandEvent_IsSelection
,(self
,) + _args
, _kwargs
)
119 return "<C wxCommandEvent instance at %s>" % (self
.this
,)
120 class wxCommandEvent(wxCommandEventPtr
):
121 def __init__(self
,this
):
127 class wxScrollEventPtr(wxCommandEventPtr
):
128 def __init__(self
,this
):
131 def GetOrientation(self
, *_args
, **_kwargs
):
132 val
= apply(eventsc
.wxScrollEvent_GetOrientation
,(self
,) + _args
, _kwargs
)
134 def GetPosition(self
, *_args
, **_kwargs
):
135 val
= apply(eventsc
.wxScrollEvent_GetPosition
,(self
,) + _args
, _kwargs
)
138 return "<C wxScrollEvent instance at %s>" % (self
.this
,)
139 class wxScrollEvent(wxScrollEventPtr
):
140 def __init__(self
,this
):
146 class wxScrollWinEventPtr(wxEventPtr
):
147 def __init__(self
,this
):
150 def GetOrientation(self
, *_args
, **_kwargs
):
151 val
= apply(eventsc
.wxScrollWinEvent_GetOrientation
,(self
,) + _args
, _kwargs
)
153 def GetPosition(self
, *_args
, **_kwargs
):
154 val
= apply(eventsc
.wxScrollWinEvent_GetPosition
,(self
,) + _args
, _kwargs
)
157 return "<C wxScrollWinEvent instance at %s>" % (self
.this
,)
158 class wxScrollWinEvent(wxScrollWinEventPtr
):
159 def __init__(self
,this
):
165 class wxSpinEventPtr(wxScrollEventPtr
):
166 def __init__(self
,this
):
170 return "<C wxSpinEvent instance at %s>" % (self
.this
,)
171 class wxSpinEvent(wxSpinEventPtr
):
172 def __init__(self
,this
):
178 class wxMouseEventPtr(wxEventPtr
):
179 def __init__(self
,this
):
182 def IsButton(self
, *_args
, **_kwargs
):
183 val
= apply(eventsc
.wxMouseEvent_IsButton
,(self
,) + _args
, _kwargs
)
185 def ButtonDown(self
, *_args
, **_kwargs
):
186 val
= apply(eventsc
.wxMouseEvent_ButtonDown
,(self
,) + _args
, _kwargs
)
188 def ButtonDClick(self
, *_args
, **_kwargs
):
189 val
= apply(eventsc
.wxMouseEvent_ButtonDClick
,(self
,) + _args
, _kwargs
)
191 def ButtonUp(self
, *_args
, **_kwargs
):
192 val
= apply(eventsc
.wxMouseEvent_ButtonUp
,(self
,) + _args
, _kwargs
)
194 def Button(self
, *_args
, **_kwargs
):
195 val
= apply(eventsc
.wxMouseEvent_Button
,(self
,) + _args
, _kwargs
)
197 def ButtonIsDown(self
, *_args
, **_kwargs
):
198 val
= apply(eventsc
.wxMouseEvent_ButtonIsDown
,(self
,) + _args
, _kwargs
)
200 def ControlDown(self
, *_args
, **_kwargs
):
201 val
= apply(eventsc
.wxMouseEvent_ControlDown
,(self
,) + _args
, _kwargs
)
203 def MetaDown(self
, *_args
, **_kwargs
):
204 val
= apply(eventsc
.wxMouseEvent_MetaDown
,(self
,) + _args
, _kwargs
)
206 def AltDown(self
, *_args
, **_kwargs
):
207 val
= apply(eventsc
.wxMouseEvent_AltDown
,(self
,) + _args
, _kwargs
)
209 def ShiftDown(self
, *_args
, **_kwargs
):
210 val
= apply(eventsc
.wxMouseEvent_ShiftDown
,(self
,) + _args
, _kwargs
)
212 def LeftDown(self
, *_args
, **_kwargs
):
213 val
= apply(eventsc
.wxMouseEvent_LeftDown
,(self
,) + _args
, _kwargs
)
215 def MiddleDown(self
, *_args
, **_kwargs
):
216 val
= apply(eventsc
.wxMouseEvent_MiddleDown
,(self
,) + _args
, _kwargs
)
218 def RightDown(self
, *_args
, **_kwargs
):
219 val
= apply(eventsc
.wxMouseEvent_RightDown
,(self
,) + _args
, _kwargs
)
221 def LeftUp(self
, *_args
, **_kwargs
):
222 val
= apply(eventsc
.wxMouseEvent_LeftUp
,(self
,) + _args
, _kwargs
)
224 def MiddleUp(self
, *_args
, **_kwargs
):
225 val
= apply(eventsc
.wxMouseEvent_MiddleUp
,(self
,) + _args
, _kwargs
)
227 def RightUp(self
, *_args
, **_kwargs
):
228 val
= apply(eventsc
.wxMouseEvent_RightUp
,(self
,) + _args
, _kwargs
)
230 def LeftDClick(self
, *_args
, **_kwargs
):
231 val
= apply(eventsc
.wxMouseEvent_LeftDClick
,(self
,) + _args
, _kwargs
)
233 def MiddleDClick(self
, *_args
, **_kwargs
):
234 val
= apply(eventsc
.wxMouseEvent_MiddleDClick
,(self
,) + _args
, _kwargs
)
236 def RightDClick(self
, *_args
, **_kwargs
):
237 val
= apply(eventsc
.wxMouseEvent_RightDClick
,(self
,) + _args
, _kwargs
)
239 def LeftIsDown(self
, *_args
, **_kwargs
):
240 val
= apply(eventsc
.wxMouseEvent_LeftIsDown
,(self
,) + _args
, _kwargs
)
242 def MiddleIsDown(self
, *_args
, **_kwargs
):
243 val
= apply(eventsc
.wxMouseEvent_MiddleIsDown
,(self
,) + _args
, _kwargs
)
245 def RightIsDown(self
, *_args
, **_kwargs
):
246 val
= apply(eventsc
.wxMouseEvent_RightIsDown
,(self
,) + _args
, _kwargs
)
248 def Dragging(self
, *_args
, **_kwargs
):
249 val
= apply(eventsc
.wxMouseEvent_Dragging
,(self
,) + _args
, _kwargs
)
251 def Moving(self
, *_args
, **_kwargs
):
252 val
= apply(eventsc
.wxMouseEvent_Moving
,(self
,) + _args
, _kwargs
)
254 def Entering(self
, *_args
, **_kwargs
):
255 val
= apply(eventsc
.wxMouseEvent_Entering
,(self
,) + _args
, _kwargs
)
257 def Leaving(self
, *_args
, **_kwargs
):
258 val
= apply(eventsc
.wxMouseEvent_Leaving
,(self
,) + _args
, _kwargs
)
260 def Position(self
, *_args
, **_kwargs
):
261 val
= apply(eventsc
.wxMouseEvent_Position
,(self
,) + _args
, _kwargs
)
263 def GetPosition(self
, *_args
, **_kwargs
):
264 val
= apply(eventsc
.wxMouseEvent_GetPosition
,(self
,) + _args
, _kwargs
)
265 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
267 def GetLogicalPosition(self
, *_args
, **_kwargs
):
268 val
= apply(eventsc
.wxMouseEvent_GetLogicalPosition
,(self
,) + _args
, _kwargs
)
269 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
271 def GetX(self
, *_args
, **_kwargs
):
272 val
= apply(eventsc
.wxMouseEvent_GetX
,(self
,) + _args
, _kwargs
)
274 def GetY(self
, *_args
, **_kwargs
):
275 val
= apply(eventsc
.wxMouseEvent_GetY
,(self
,) + _args
, _kwargs
)
278 return "<C wxMouseEvent instance at %s>" % (self
.this
,)
279 class wxMouseEvent(wxMouseEventPtr
):
280 def __init__(self
,this
):
286 class wxKeyEventPtr(wxEventPtr
):
287 def __init__(self
,this
):
290 def ControlDown(self
, *_args
, **_kwargs
):
291 val
= apply(eventsc
.wxKeyEvent_ControlDown
,(self
,) + _args
, _kwargs
)
293 def MetaDown(self
, *_args
, **_kwargs
):
294 val
= apply(eventsc
.wxKeyEvent_MetaDown
,(self
,) + _args
, _kwargs
)
296 def AltDown(self
, *_args
, **_kwargs
):
297 val
= apply(eventsc
.wxKeyEvent_AltDown
,(self
,) + _args
, _kwargs
)
299 def ShiftDown(self
, *_args
, **_kwargs
):
300 val
= apply(eventsc
.wxKeyEvent_ShiftDown
,(self
,) + _args
, _kwargs
)
302 def KeyCode(self
, *_args
, **_kwargs
):
303 val
= apply(eventsc
.wxKeyEvent_KeyCode
,(self
,) + _args
, _kwargs
)
306 return "<C wxKeyEvent instance at %s>" % (self
.this
,)
307 class wxKeyEvent(wxKeyEventPtr
):
308 def __init__(self
,this
):
314 class wxMoveEventPtr(wxEventPtr
):
315 def __init__(self
,this
):
318 def GetPosition(self
, *_args
, **_kwargs
):
319 val
= apply(eventsc
.wxMoveEvent_GetPosition
,(self
,) + _args
, _kwargs
)
320 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
323 return "<C wxMoveEvent instance at %s>" % (self
.this
,)
324 class wxMoveEvent(wxMoveEventPtr
):
325 def __init__(self
,this
):
331 class wxPaintEventPtr(wxEventPtr
):
332 def __init__(self
,this
):
336 return "<C wxPaintEvent instance at %s>" % (self
.this
,)
337 class wxPaintEvent(wxPaintEventPtr
):
338 def __init__(self
,this
):
344 class wxEraseEventPtr(wxEventPtr
):
345 def __init__(self
,this
):
348 def GetDC(self
, *_args
, **_kwargs
):
349 val
= apply(eventsc
.wxEraseEvent_GetDC
,(self
,) + _args
, _kwargs
)
350 if val
: val
= wxDCPtr(val
)
353 return "<C wxEraseEvent instance at %s>" % (self
.this
,)
354 class wxEraseEvent(wxEraseEventPtr
):
355 def __init__(self
,this
):
361 class wxFocusEventPtr(wxEventPtr
):
362 def __init__(self
,this
):
366 return "<C wxFocusEvent instance at %s>" % (self
.this
,)
367 class wxFocusEvent(wxFocusEventPtr
):
368 def __init__(self
,this
):
374 class wxActivateEventPtr(wxEventPtr
):
375 def __init__(self
,this
):
378 def GetActive(self
, *_args
, **_kwargs
):
379 val
= apply(eventsc
.wxActivateEvent_GetActive
,(self
,) + _args
, _kwargs
)
382 return "<C wxActivateEvent instance at %s>" % (self
.this
,)
383 class wxActivateEvent(wxActivateEventPtr
):
384 def __init__(self
,this
):
390 class wxInitDialogEventPtr(wxEventPtr
):
391 def __init__(self
,this
):
395 return "<C wxInitDialogEvent instance at %s>" % (self
.this
,)
396 class wxInitDialogEvent(wxInitDialogEventPtr
):
397 def __init__(self
,this
):
403 class wxMenuEventPtr(wxEventPtr
):
404 def __init__(self
,this
):
407 def GetMenuId(self
, *_args
, **_kwargs
):
408 val
= apply(eventsc
.wxMenuEvent_GetMenuId
,(self
,) + _args
, _kwargs
)
411 return "<C wxMenuEvent instance at %s>" % (self
.this
,)
412 class wxMenuEvent(wxMenuEventPtr
):
413 def __init__(self
,this
):
419 class wxShowEventPtr(wxEventPtr
):
420 def __init__(self
,this
):
423 def SetShow(self
, *_args
, **_kwargs
):
424 val
= apply(eventsc
.wxShowEvent_SetShow
,(self
,) + _args
, _kwargs
)
426 def GetShow(self
, *_args
, **_kwargs
):
427 val
= apply(eventsc
.wxShowEvent_GetShow
,(self
,) + _args
, _kwargs
)
430 return "<C wxShowEvent instance at %s>" % (self
.this
,)
431 class wxShowEvent(wxShowEventPtr
):
432 def __init__(self
,this
):
438 class wxIconizeEventPtr(wxEventPtr
):
439 def __init__(self
,this
):
443 return "<C wxIconizeEvent instance at %s>" % (self
.this
,)
444 class wxIconizeEvent(wxIconizeEventPtr
):
445 def __init__(self
,this
):
451 class wxMaximizeEventPtr(wxEventPtr
):
452 def __init__(self
,this
):
456 return "<C wxMaximizeEvent instance at %s>" % (self
.this
,)
457 class wxMaximizeEvent(wxMaximizeEventPtr
):
458 def __init__(self
,this
):
464 class wxJoystickEventPtr(wxEventPtr
):
465 def __init__(self
,this
):
468 def GetPosition(self
, *_args
, **_kwargs
):
469 val
= apply(eventsc
.wxJoystickEvent_GetPosition
,(self
,) + _args
, _kwargs
)
470 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
472 def GetZPosition(self
, *_args
, **_kwargs
):
473 val
= apply(eventsc
.wxJoystickEvent_GetZPosition
,(self
,) + _args
, _kwargs
)
475 def GetButtonState(self
, *_args
, **_kwargs
):
476 val
= apply(eventsc
.wxJoystickEvent_GetButtonState
,(self
,) + _args
, _kwargs
)
478 def GetButtonChange(self
, *_args
, **_kwargs
):
479 val
= apply(eventsc
.wxJoystickEvent_GetButtonChange
,(self
,) + _args
, _kwargs
)
481 def GetJoystick(self
, *_args
, **_kwargs
):
482 val
= apply(eventsc
.wxJoystickEvent_GetJoystick
,(self
,) + _args
, _kwargs
)
484 def SetJoystick(self
, *_args
, **_kwargs
):
485 val
= apply(eventsc
.wxJoystickEvent_SetJoystick
,(self
,) + _args
, _kwargs
)
487 def SetButtonState(self
, *_args
, **_kwargs
):
488 val
= apply(eventsc
.wxJoystickEvent_SetButtonState
,(self
,) + _args
, _kwargs
)
490 def SetButtonChange(self
, *_args
, **_kwargs
):
491 val
= apply(eventsc
.wxJoystickEvent_SetButtonChange
,(self
,) + _args
, _kwargs
)
493 def SetPosition(self
, *_args
, **_kwargs
):
494 val
= apply(eventsc
.wxJoystickEvent_SetPosition
,(self
,) + _args
, _kwargs
)
496 def SetZPosition(self
, *_args
, **_kwargs
):
497 val
= apply(eventsc
.wxJoystickEvent_SetZPosition
,(self
,) + _args
, _kwargs
)
499 def IsButton(self
, *_args
, **_kwargs
):
500 val
= apply(eventsc
.wxJoystickEvent_IsButton
,(self
,) + _args
, _kwargs
)
502 def IsMove(self
, *_args
, **_kwargs
):
503 val
= apply(eventsc
.wxJoystickEvent_IsMove
,(self
,) + _args
, _kwargs
)
505 def IsZMove(self
, *_args
, **_kwargs
):
506 val
= apply(eventsc
.wxJoystickEvent_IsZMove
,(self
,) + _args
, _kwargs
)
508 def ButtonDown(self
, *_args
, **_kwargs
):
509 val
= apply(eventsc
.wxJoystickEvent_ButtonDown
,(self
,) + _args
, _kwargs
)
511 def ButtonUp(self
, *_args
, **_kwargs
):
512 val
= apply(eventsc
.wxJoystickEvent_ButtonUp
,(self
,) + _args
, _kwargs
)
514 def ButtonIsDown(self
, *_args
, **_kwargs
):
515 val
= apply(eventsc
.wxJoystickEvent_ButtonIsDown
,(self
,) + _args
, _kwargs
)
518 return "<C wxJoystickEvent instance at %s>" % (self
.this
,)
519 class wxJoystickEvent(wxJoystickEventPtr
):
520 def __init__(self
,this
):
526 class wxDropFilesEventPtr(wxEventPtr
):
527 def __init__(self
,this
):
530 def GetPosition(self
, *_args
, **_kwargs
):
531 val
= apply(eventsc
.wxDropFilesEvent_GetPosition
,(self
,) + _args
, _kwargs
)
532 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
534 def GetNumberOfFiles(self
, *_args
, **_kwargs
):
535 val
= apply(eventsc
.wxDropFilesEvent_GetNumberOfFiles
,(self
,) + _args
, _kwargs
)
537 def GetFiles(self
, *_args
, **_kwargs
):
538 val
= apply(eventsc
.wxDropFilesEvent_GetFiles
,(self
,) + _args
, _kwargs
)
541 return "<C wxDropFilesEvent instance at %s>" % (self
.this
,)
542 class wxDropFilesEvent(wxDropFilesEventPtr
):
543 def __init__(self
,this
):
549 class wxIdleEventPtr(wxEventPtr
):
550 def __init__(self
,this
):
553 def RequestMore(self
, *_args
, **_kwargs
):
554 val
= apply(eventsc
.wxIdleEvent_RequestMore
,(self
,) + _args
, _kwargs
)
556 def MoreRequested(self
, *_args
, **_kwargs
):
557 val
= apply(eventsc
.wxIdleEvent_MoreRequested
,(self
,) + _args
, _kwargs
)
560 return "<C wxIdleEvent instance at %s>" % (self
.this
,)
561 class wxIdleEvent(wxIdleEventPtr
):
562 def __init__(self
,this
):
568 class wxUpdateUIEventPtr(wxEventPtr
):
569 def __init__(self
,this
):
572 def GetChecked(self
, *_args
, **_kwargs
):
573 val
= apply(eventsc
.wxUpdateUIEvent_GetChecked
,(self
,) + _args
, _kwargs
)
575 def GetEnabled(self
, *_args
, **_kwargs
):
576 val
= apply(eventsc
.wxUpdateUIEvent_GetEnabled
,(self
,) + _args
, _kwargs
)
578 def GetText(self
, *_args
, **_kwargs
):
579 val
= apply(eventsc
.wxUpdateUIEvent_GetText
,(self
,) + _args
, _kwargs
)
581 def GetSetText(self
, *_args
, **_kwargs
):
582 val
= apply(eventsc
.wxUpdateUIEvent_GetSetText
,(self
,) + _args
, _kwargs
)
584 def GetSetChecked(self
, *_args
, **_kwargs
):
585 val
= apply(eventsc
.wxUpdateUIEvent_GetSetChecked
,(self
,) + _args
, _kwargs
)
587 def GetSetEnabled(self
, *_args
, **_kwargs
):
588 val
= apply(eventsc
.wxUpdateUIEvent_GetSetEnabled
,(self
,) + _args
, _kwargs
)
590 def Check(self
, *_args
, **_kwargs
):
591 val
= apply(eventsc
.wxUpdateUIEvent_Check
,(self
,) + _args
, _kwargs
)
593 def Enable(self
, *_args
, **_kwargs
):
594 val
= apply(eventsc
.wxUpdateUIEvent_Enable
,(self
,) + _args
, _kwargs
)
596 def SetText(self
, *_args
, **_kwargs
):
597 val
= apply(eventsc
.wxUpdateUIEvent_SetText
,(self
,) + _args
, _kwargs
)
600 return "<C wxUpdateUIEvent instance at %s>" % (self
.this
,)
601 class wxUpdateUIEvent(wxUpdateUIEventPtr
):
602 def __init__(self
,this
):
608 class wxSysColourChangedEventPtr(wxEventPtr
):
609 def __init__(self
,this
):
613 return "<C wxSysColourChangedEvent instance at %s>" % (self
.this
,)
614 class wxSysColourChangedEvent(wxSysColourChangedEventPtr
):
615 def __init__(self
,this
):
621 class wxPyEventPtr(wxCommandEventPtr
):
622 def __init__(self
,this
):
625 def __del__(self
,eventsc
=eventsc
):
626 if self
.thisown
== 1 :
627 eventsc
.delete_wxPyEvent(self
)
628 def SetUserData(self
, *_args
, **_kwargs
):
629 val
= apply(eventsc
.wxPyEvent_SetUserData
,(self
,) + _args
, _kwargs
)
631 def GetUserData(self
, *_args
, **_kwargs
):
632 val
= apply(eventsc
.wxPyEvent_GetUserData
,(self
,) + _args
, _kwargs
)
635 return "<C wxPyEvent instance at %s>" % (self
.this
,)
636 class wxPyEvent(wxPyEventPtr
):
637 def __init__(self
,*_args
,**_kwargs
):
638 self
.this
= apply(eventsc
.new_wxPyEvent
,_args
,_kwargs
)
644 class wxNotifyEventPtr(wxCommandEventPtr
):
645 def __init__(self
,this
):
648 def IsAllowed(self
, *_args
, **_kwargs
):
649 val
= apply(eventsc
.wxNotifyEvent_IsAllowed
,(self
,) + _args
, _kwargs
)
651 def Veto(self
, *_args
, **_kwargs
):
652 val
= apply(eventsc
.wxNotifyEvent_Veto
,(self
,) + _args
, _kwargs
)
655 return "<C wxNotifyEvent instance at %s>" % (self
.this
,)
656 class wxNotifyEvent(wxNotifyEventPtr
):
657 def __init__(self
,this
):
665 #-------------- FUNCTION WRAPPERS ------------------
669 #-------------- VARIABLE WRAPPERS ------------------