1 # This file was created automatically by SWIG.
9 class wxEventPtr(wxObjectPtr
):
10 def __init__(self
,this
):
13 def __del__(self
, delfunc
=eventsc
.delete_wxEvent
):
19 def GetEventObject(self
, *_args
, **_kwargs
):
20 val
= eventsc
.wxEvent_GetEventObject(self
, *_args
, **_kwargs
)
22 def GetEventType(self
, *_args
, **_kwargs
):
23 val
= eventsc
.wxEvent_GetEventType(self
, *_args
, **_kwargs
)
25 def GetId(self
, *_args
, **_kwargs
):
26 val
= eventsc
.wxEvent_GetId(self
, *_args
, **_kwargs
)
28 def GetSkipped(self
, *_args
, **_kwargs
):
29 val
= eventsc
.wxEvent_GetSkipped(self
, *_args
, **_kwargs
)
31 def GetTimestamp(self
, *_args
, **_kwargs
):
32 val
= eventsc
.wxEvent_GetTimestamp(self
, *_args
, **_kwargs
)
34 def SetEventObject(self
, *_args
, **_kwargs
):
35 val
= eventsc
.wxEvent_SetEventObject(self
, *_args
, **_kwargs
)
37 def SetEventType(self
, *_args
, **_kwargs
):
38 val
= eventsc
.wxEvent_SetEventType(self
, *_args
, **_kwargs
)
40 def SetId(self
, *_args
, **_kwargs
):
41 val
= eventsc
.wxEvent_SetId(self
, *_args
, **_kwargs
)
43 def SetTimestamp(self
, *_args
, **_kwargs
):
44 val
= eventsc
.wxEvent_SetTimestamp(self
, *_args
, **_kwargs
)
46 def Skip(self
, *_args
, **_kwargs
):
47 val
= eventsc
.wxEvent_Skip(self
, *_args
, **_kwargs
)
49 def Clone(self
, *_args
, **_kwargs
):
50 val
= eventsc
.wxEvent_Clone(self
, *_args
, **_kwargs
)
51 if val
: val
= wxEventPtr(val
)
54 return "<%s.%s instance; proxy of C++ wxEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
55 class wxEvent(wxEventPtr
):
56 def __init__(self
,this
):
62 class wxSizeEventPtr(wxEventPtr
):
63 def __init__(self
,this
):
66 def GetSize(self
, *_args
, **_kwargs
):
67 val
= eventsc
.wxSizeEvent_GetSize(self
, *_args
, **_kwargs
)
68 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
71 return "<%s.%s instance; proxy of C++ wxSizeEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
72 class wxSizeEvent(wxSizeEventPtr
):
73 def __init__(self
,*_args
,**_kwargs
):
74 self
.this
= eventsc
.new_wxSizeEvent(*_args
,**_kwargs
)
80 class wxCloseEventPtr(wxEventPtr
):
81 def __init__(self
,this
):
84 def SetLoggingOff(self
, *_args
, **_kwargs
):
85 val
= eventsc
.wxCloseEvent_SetLoggingOff(self
, *_args
, **_kwargs
)
87 def GetLoggingOff(self
, *_args
, **_kwargs
):
88 val
= eventsc
.wxCloseEvent_GetLoggingOff(self
, *_args
, **_kwargs
)
90 def Veto(self
, *_args
, **_kwargs
):
91 val
= eventsc
.wxCloseEvent_Veto(self
, *_args
, **_kwargs
)
93 def CanVeto(self
, *_args
, **_kwargs
):
94 val
= eventsc
.wxCloseEvent_CanVeto(self
, *_args
, **_kwargs
)
96 def GetVeto(self
, *_args
, **_kwargs
):
97 val
= eventsc
.wxCloseEvent_GetVeto(self
, *_args
, **_kwargs
)
99 def SetCanVeto(self
, *_args
, **_kwargs
):
100 val
= eventsc
.wxCloseEvent_SetCanVeto(self
, *_args
, **_kwargs
)
103 return "<%s.%s instance; proxy of C++ wxCloseEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
104 class wxCloseEvent(wxCloseEventPtr
):
105 def __init__(self
,*_args
,**_kwargs
):
106 self
.this
= eventsc
.new_wxCloseEvent(*_args
,**_kwargs
)
112 class wxCommandEventPtr(wxEventPtr
):
113 def __init__(self
,this
):
116 def IsChecked(self
, *_args
, **_kwargs
):
117 val
= eventsc
.wxCommandEvent_IsChecked(self
, *_args
, **_kwargs
)
119 def Checked(self
, *_args
, **_kwargs
):
120 val
= eventsc
.wxCommandEvent_Checked(self
, *_args
, **_kwargs
)
122 def GetExtraLong(self
, *_args
, **_kwargs
):
123 val
= eventsc
.wxCommandEvent_GetExtraLong(self
, *_args
, **_kwargs
)
125 def GetInt(self
, *_args
, **_kwargs
):
126 val
= eventsc
.wxCommandEvent_GetInt(self
, *_args
, **_kwargs
)
128 def GetSelection(self
, *_args
, **_kwargs
):
129 val
= eventsc
.wxCommandEvent_GetSelection(self
, *_args
, **_kwargs
)
131 def GetString(self
, *_args
, **_kwargs
):
132 val
= eventsc
.wxCommandEvent_GetString(self
, *_args
, **_kwargs
)
134 def IsSelection(self
, *_args
, **_kwargs
):
135 val
= eventsc
.wxCommandEvent_IsSelection(self
, *_args
, **_kwargs
)
137 def SetString(self
, *_args
, **_kwargs
):
138 val
= eventsc
.wxCommandEvent_SetString(self
, *_args
, **_kwargs
)
140 def SetExtraLong(self
, *_args
, **_kwargs
):
141 val
= eventsc
.wxCommandEvent_SetExtraLong(self
, *_args
, **_kwargs
)
143 def SetInt(self
, *_args
, **_kwargs
):
144 val
= eventsc
.wxCommandEvent_SetInt(self
, *_args
, **_kwargs
)
146 def GetClientData(self
, *_args
, **_kwargs
):
147 val
= eventsc
.wxCommandEvent_GetClientData(self
, *_args
, **_kwargs
)
150 return "<%s.%s instance; proxy of C++ wxCommandEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
151 class wxCommandEvent(wxCommandEventPtr
):
152 def __init__(self
,*_args
,**_kwargs
):
153 self
.this
= eventsc
.new_wxCommandEvent(*_args
,**_kwargs
)
159 class wxScrollEventPtr(wxCommandEventPtr
):
160 def __init__(self
,this
):
163 def GetOrientation(self
, *_args
, **_kwargs
):
164 val
= eventsc
.wxScrollEvent_GetOrientation(self
, *_args
, **_kwargs
)
166 def GetPosition(self
, *_args
, **_kwargs
):
167 val
= eventsc
.wxScrollEvent_GetPosition(self
, *_args
, **_kwargs
)
170 return "<%s.%s instance; proxy of C++ wxScrollEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
171 class wxScrollEvent(wxScrollEventPtr
):
172 def __init__(self
,*_args
,**_kwargs
):
173 self
.this
= eventsc
.new_wxScrollEvent(*_args
,**_kwargs
)
179 class wxScrollWinEventPtr(wxEventPtr
):
180 def __init__(self
,this
):
183 def GetOrientation(self
, *_args
, **_kwargs
):
184 val
= eventsc
.wxScrollWinEvent_GetOrientation(self
, *_args
, **_kwargs
)
186 def GetPosition(self
, *_args
, **_kwargs
):
187 val
= eventsc
.wxScrollWinEvent_GetPosition(self
, *_args
, **_kwargs
)
190 return "<%s.%s instance; proxy of C++ wxScrollWinEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
191 class wxScrollWinEvent(wxScrollWinEventPtr
):
192 def __init__(self
,*_args
,**_kwargs
):
193 self
.this
= eventsc
.new_wxScrollWinEvent(*_args
,**_kwargs
)
199 class wxSpinEventPtr(wxScrollEventPtr
):
200 def __init__(self
,this
):
204 return "<%s.%s instance; proxy of C++ wxSpinEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
205 class wxSpinEvent(wxSpinEventPtr
):
206 def __init__(self
,*_args
,**_kwargs
):
207 self
.this
= eventsc
.new_wxSpinEvent(*_args
,**_kwargs
)
213 class wxMouseEventPtr(wxEventPtr
):
214 def __init__(self
,this
):
217 def IsButton(self
, *_args
, **_kwargs
):
218 val
= eventsc
.wxMouseEvent_IsButton(self
, *_args
, **_kwargs
)
220 def ButtonDown(self
, *_args
, **_kwargs
):
221 val
= eventsc
.wxMouseEvent_ButtonDown(self
, *_args
, **_kwargs
)
223 def ButtonDClick(self
, *_args
, **_kwargs
):
224 val
= eventsc
.wxMouseEvent_ButtonDClick(self
, *_args
, **_kwargs
)
226 def ButtonUp(self
, *_args
, **_kwargs
):
227 val
= eventsc
.wxMouseEvent_ButtonUp(self
, *_args
, **_kwargs
)
229 def Button(self
, *_args
, **_kwargs
):
230 val
= eventsc
.wxMouseEvent_Button(self
, *_args
, **_kwargs
)
232 def ButtonIsDown(self
, *_args
, **_kwargs
):
233 val
= eventsc
.wxMouseEvent_ButtonIsDown(self
, *_args
, **_kwargs
)
235 def ControlDown(self
, *_args
, **_kwargs
):
236 val
= eventsc
.wxMouseEvent_ControlDown(self
, *_args
, **_kwargs
)
238 def MetaDown(self
, *_args
, **_kwargs
):
239 val
= eventsc
.wxMouseEvent_MetaDown(self
, *_args
, **_kwargs
)
241 def AltDown(self
, *_args
, **_kwargs
):
242 val
= eventsc
.wxMouseEvent_AltDown(self
, *_args
, **_kwargs
)
244 def ShiftDown(self
, *_args
, **_kwargs
):
245 val
= eventsc
.wxMouseEvent_ShiftDown(self
, *_args
, **_kwargs
)
247 def LeftDown(self
, *_args
, **_kwargs
):
248 val
= eventsc
.wxMouseEvent_LeftDown(self
, *_args
, **_kwargs
)
250 def MiddleDown(self
, *_args
, **_kwargs
):
251 val
= eventsc
.wxMouseEvent_MiddleDown(self
, *_args
, **_kwargs
)
253 def RightDown(self
, *_args
, **_kwargs
):
254 val
= eventsc
.wxMouseEvent_RightDown(self
, *_args
, **_kwargs
)
256 def LeftUp(self
, *_args
, **_kwargs
):
257 val
= eventsc
.wxMouseEvent_LeftUp(self
, *_args
, **_kwargs
)
259 def MiddleUp(self
, *_args
, **_kwargs
):
260 val
= eventsc
.wxMouseEvent_MiddleUp(self
, *_args
, **_kwargs
)
262 def RightUp(self
, *_args
, **_kwargs
):
263 val
= eventsc
.wxMouseEvent_RightUp(self
, *_args
, **_kwargs
)
265 def LeftDClick(self
, *_args
, **_kwargs
):
266 val
= eventsc
.wxMouseEvent_LeftDClick(self
, *_args
, **_kwargs
)
268 def MiddleDClick(self
, *_args
, **_kwargs
):
269 val
= eventsc
.wxMouseEvent_MiddleDClick(self
, *_args
, **_kwargs
)
271 def RightDClick(self
, *_args
, **_kwargs
):
272 val
= eventsc
.wxMouseEvent_RightDClick(self
, *_args
, **_kwargs
)
274 def LeftIsDown(self
, *_args
, **_kwargs
):
275 val
= eventsc
.wxMouseEvent_LeftIsDown(self
, *_args
, **_kwargs
)
277 def MiddleIsDown(self
, *_args
, **_kwargs
):
278 val
= eventsc
.wxMouseEvent_MiddleIsDown(self
, *_args
, **_kwargs
)
280 def RightIsDown(self
, *_args
, **_kwargs
):
281 val
= eventsc
.wxMouseEvent_RightIsDown(self
, *_args
, **_kwargs
)
283 def Dragging(self
, *_args
, **_kwargs
):
284 val
= eventsc
.wxMouseEvent_Dragging(self
, *_args
, **_kwargs
)
286 def Moving(self
, *_args
, **_kwargs
):
287 val
= eventsc
.wxMouseEvent_Moving(self
, *_args
, **_kwargs
)
289 def Entering(self
, *_args
, **_kwargs
):
290 val
= eventsc
.wxMouseEvent_Entering(self
, *_args
, **_kwargs
)
292 def Leaving(self
, *_args
, **_kwargs
):
293 val
= eventsc
.wxMouseEvent_Leaving(self
, *_args
, **_kwargs
)
295 def GetPosition(self
, *_args
, **_kwargs
):
296 val
= eventsc
.wxMouseEvent_GetPosition(self
, *_args
, **_kwargs
)
297 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
299 def GetPositionTuple(self
, *_args
, **_kwargs
):
300 val
= eventsc
.wxMouseEvent_GetPositionTuple(self
, *_args
, **_kwargs
)
302 def GetLogicalPosition(self
, *_args
, **_kwargs
):
303 val
= eventsc
.wxMouseEvent_GetLogicalPosition(self
, *_args
, **_kwargs
)
304 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
306 def GetX(self
, *_args
, **_kwargs
):
307 val
= eventsc
.wxMouseEvent_GetX(self
, *_args
, **_kwargs
)
309 def GetY(self
, *_args
, **_kwargs
):
310 val
= eventsc
.wxMouseEvent_GetY(self
, *_args
, **_kwargs
)
312 def GetWheelRotation(self
, *_args
, **_kwargs
):
313 val
= eventsc
.wxMouseEvent_GetWheelRotation(self
, *_args
, **_kwargs
)
315 def GetWheelDelta(self
, *_args
, **_kwargs
):
316 val
= eventsc
.wxMouseEvent_GetWheelDelta(self
, *_args
, **_kwargs
)
318 def GetLinesPerAction(self
, *_args
, **_kwargs
):
319 val
= eventsc
.wxMouseEvent_GetLinesPerAction(self
, *_args
, **_kwargs
)
321 def __setattr__(self
,name
,value
):
323 eventsc
.wxMouseEvent_m_x_set(self
,value
)
326 eventsc
.wxMouseEvent_m_y_set(self
,value
)
328 if name
== "m_leftDown" :
329 eventsc
.wxMouseEvent_m_leftDown_set(self
,value
)
331 if name
== "m_middleDown" :
332 eventsc
.wxMouseEvent_m_middleDown_set(self
,value
)
334 if name
== "m_rightDown" :
335 eventsc
.wxMouseEvent_m_rightDown_set(self
,value
)
337 if name
== "m_controlDown" :
338 eventsc
.wxMouseEvent_m_controlDown_set(self
,value
)
340 if name
== "m_shiftDown" :
341 eventsc
.wxMouseEvent_m_shiftDown_set(self
,value
)
343 if name
== "m_altDown" :
344 eventsc
.wxMouseEvent_m_altDown_set(self
,value
)
346 if name
== "m_metaDown" :
347 eventsc
.wxMouseEvent_m_metaDown_set(self
,value
)
349 if name
== "m_wheelRotation" :
350 eventsc
.wxMouseEvent_m_wheelRotation_set(self
,value
)
352 if name
== "m_wheelDelta" :
353 eventsc
.wxMouseEvent_m_wheelDelta_set(self
,value
)
355 if name
== "m_linesPerAction" :
356 eventsc
.wxMouseEvent_m_linesPerAction_set(self
,value
)
358 self
.__dict
__[name
] = value
359 def __getattr__(self
,name
):
361 return eventsc
.wxMouseEvent_m_x_get(self
)
363 return eventsc
.wxMouseEvent_m_y_get(self
)
364 if name
== "m_leftDown" :
365 return eventsc
.wxMouseEvent_m_leftDown_get(self
)
366 if name
== "m_middleDown" :
367 return eventsc
.wxMouseEvent_m_middleDown_get(self
)
368 if name
== "m_rightDown" :
369 return eventsc
.wxMouseEvent_m_rightDown_get(self
)
370 if name
== "m_controlDown" :
371 return eventsc
.wxMouseEvent_m_controlDown_get(self
)
372 if name
== "m_shiftDown" :
373 return eventsc
.wxMouseEvent_m_shiftDown_get(self
)
374 if name
== "m_altDown" :
375 return eventsc
.wxMouseEvent_m_altDown_get(self
)
376 if name
== "m_metaDown" :
377 return eventsc
.wxMouseEvent_m_metaDown_get(self
)
378 if name
== "m_wheelRotation" :
379 return eventsc
.wxMouseEvent_m_wheelRotation_get(self
)
380 if name
== "m_wheelDelta" :
381 return eventsc
.wxMouseEvent_m_wheelDelta_get(self
)
382 if name
== "m_linesPerAction" :
383 return eventsc
.wxMouseEvent_m_linesPerAction_get(self
)
384 raise AttributeError,name
386 return "<%s.%s instance; proxy of C++ wxMouseEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
387 class wxMouseEvent(wxMouseEventPtr
):
388 def __init__(self
,*_args
,**_kwargs
):
389 self
.this
= eventsc
.new_wxMouseEvent(*_args
,**_kwargs
)
395 class wxMouseCaptureChangedEventPtr(wxEventPtr
):
396 def __init__(self
,this
):
399 def GetCapturedWindow(self
, *_args
, **_kwargs
):
400 val
= eventsc
.wxMouseCaptureChangedEvent_GetCapturedWindow(self
, *_args
, **_kwargs
)
403 return "<%s.%s instance; proxy of C++ wxMouseCaptureChangedEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
404 class wxMouseCaptureChangedEvent(wxMouseCaptureChangedEventPtr
):
405 def __init__(self
,*_args
,**_kwargs
):
406 self
.this
= eventsc
.new_wxMouseCaptureChangedEvent(*_args
,**_kwargs
)
412 class wxSetCursorEventPtr(wxEventPtr
):
413 def __init__(self
,this
):
416 def GetX(self
, *_args
, **_kwargs
):
417 val
= eventsc
.wxSetCursorEvent_GetX(self
, *_args
, **_kwargs
)
419 def GetY(self
, *_args
, **_kwargs
):
420 val
= eventsc
.wxSetCursorEvent_GetY(self
, *_args
, **_kwargs
)
422 def SetCursor(self
, *_args
, **_kwargs
):
423 val
= eventsc
.wxSetCursorEvent_SetCursor(self
, *_args
, **_kwargs
)
425 def GetCursor(self
, *_args
, **_kwargs
):
426 val
= eventsc
.wxSetCursorEvent_GetCursor(self
, *_args
, **_kwargs
)
427 if val
: val
= wxCursorPtr(val
)
429 def HasCursor(self
, *_args
, **_kwargs
):
430 val
= eventsc
.wxSetCursorEvent_HasCursor(self
, *_args
, **_kwargs
)
433 return "<%s.%s instance; proxy of C++ wxSetCursorEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
434 class wxSetCursorEvent(wxSetCursorEventPtr
):
435 def __init__(self
,*_args
,**_kwargs
):
436 self
.this
= eventsc
.new_wxSetCursorEvent(*_args
,**_kwargs
)
442 class wxKeyEventPtr(wxEventPtr
):
443 def __init__(self
,this
):
446 def ControlDown(self
, *_args
, **_kwargs
):
447 val
= eventsc
.wxKeyEvent_ControlDown(self
, *_args
, **_kwargs
)
449 def MetaDown(self
, *_args
, **_kwargs
):
450 val
= eventsc
.wxKeyEvent_MetaDown(self
, *_args
, **_kwargs
)
452 def AltDown(self
, *_args
, **_kwargs
):
453 val
= eventsc
.wxKeyEvent_AltDown(self
, *_args
, **_kwargs
)
455 def ShiftDown(self
, *_args
, **_kwargs
):
456 val
= eventsc
.wxKeyEvent_ShiftDown(self
, *_args
, **_kwargs
)
458 def GetKeyCode(self
, *_args
, **_kwargs
):
459 val
= eventsc
.wxKeyEvent_GetKeyCode(self
, *_args
, **_kwargs
)
461 def HasModifiers(self
, *_args
, **_kwargs
):
462 val
= eventsc
.wxKeyEvent_HasModifiers(self
, *_args
, **_kwargs
)
464 def GetRawKeyCode(self
, *_args
, **_kwargs
):
465 val
= eventsc
.wxKeyEvent_GetRawKeyCode(self
, *_args
, **_kwargs
)
467 def GetRawKeyFlags(self
, *_args
, **_kwargs
):
468 val
= eventsc
.wxKeyEvent_GetRawKeyFlags(self
, *_args
, **_kwargs
)
470 def GetX(self
, *_args
, **_kwargs
):
471 val
= eventsc
.wxKeyEvent_GetX(self
, *_args
, **_kwargs
)
473 def GetY(self
, *_args
, **_kwargs
):
474 val
= eventsc
.wxKeyEvent_GetY(self
, *_args
, **_kwargs
)
476 def GetPosition(self
, *_args
, **_kwargs
):
477 val
= eventsc
.wxKeyEvent_GetPosition(self
, *_args
, **_kwargs
)
478 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
480 def GetPositionTuple(self
, *_args
, **_kwargs
):
481 val
= eventsc
.wxKeyEvent_GetPositionTuple(self
, *_args
, **_kwargs
)
483 def __setattr__(self
,name
,value
):
485 eventsc
.wxKeyEvent_m_x_set(self
,value
)
488 eventsc
.wxKeyEvent_m_y_set(self
,value
)
490 if name
== "m_keyCode" :
491 eventsc
.wxKeyEvent_m_keyCode_set(self
,value
)
493 if name
== "m_controlDown" :
494 eventsc
.wxKeyEvent_m_controlDown_set(self
,value
)
496 if name
== "m_shiftDown" :
497 eventsc
.wxKeyEvent_m_shiftDown_set(self
,value
)
499 if name
== "m_altDown" :
500 eventsc
.wxKeyEvent_m_altDown_set(self
,value
)
502 if name
== "m_metaDown" :
503 eventsc
.wxKeyEvent_m_metaDown_set(self
,value
)
505 if name
== "m_scanCode" :
506 eventsc
.wxKeyEvent_m_scanCode_set(self
,value
)
508 if name
== "m_rawCode" :
509 eventsc
.wxKeyEvent_m_rawCode_set(self
,value
)
511 if name
== "m_rawFlags" :
512 eventsc
.wxKeyEvent_m_rawFlags_set(self
,value
)
514 self
.__dict
__[name
] = value
515 def __getattr__(self
,name
):
517 return eventsc
.wxKeyEvent_m_x_get(self
)
519 return eventsc
.wxKeyEvent_m_y_get(self
)
520 if name
== "m_keyCode" :
521 return eventsc
.wxKeyEvent_m_keyCode_get(self
)
522 if name
== "m_controlDown" :
523 return eventsc
.wxKeyEvent_m_controlDown_get(self
)
524 if name
== "m_shiftDown" :
525 return eventsc
.wxKeyEvent_m_shiftDown_get(self
)
526 if name
== "m_altDown" :
527 return eventsc
.wxKeyEvent_m_altDown_get(self
)
528 if name
== "m_metaDown" :
529 return eventsc
.wxKeyEvent_m_metaDown_get(self
)
530 if name
== "m_scanCode" :
531 return eventsc
.wxKeyEvent_m_scanCode_get(self
)
532 if name
== "m_rawCode" :
533 return eventsc
.wxKeyEvent_m_rawCode_get(self
)
534 if name
== "m_rawFlags" :
535 return eventsc
.wxKeyEvent_m_rawFlags_get(self
)
536 raise AttributeError,name
538 return "<%s.%s instance; proxy of C++ wxKeyEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
540 class wxKeyEvent(wxKeyEventPtr
):
541 def __init__(self
,*_args
,**_kwargs
):
542 self
.this
= eventsc
.new_wxKeyEvent(*_args
,**_kwargs
)
548 class wxNavigationKeyEventPtr(wxEventPtr
):
549 def __init__(self
,this
):
552 def GetDirection(self
, *_args
, **_kwargs
):
553 val
= eventsc
.wxNavigationKeyEvent_GetDirection(self
, *_args
, **_kwargs
)
555 def SetDirection(self
, *_args
, **_kwargs
):
556 val
= eventsc
.wxNavigationKeyEvent_SetDirection(self
, *_args
, **_kwargs
)
558 def IsWindowChange(self
, *_args
, **_kwargs
):
559 val
= eventsc
.wxNavigationKeyEvent_IsWindowChange(self
, *_args
, **_kwargs
)
561 def SetWindowChange(self
, *_args
, **_kwargs
):
562 val
= eventsc
.wxNavigationKeyEvent_SetWindowChange(self
, *_args
, **_kwargs
)
564 def GetCurrentFocus(self
, *_args
, **_kwargs
):
565 val
= eventsc
.wxNavigationKeyEvent_GetCurrentFocus(self
, *_args
, **_kwargs
)
567 def SetCurrentFocus(self
, *_args
, **_kwargs
):
568 val
= eventsc
.wxNavigationKeyEvent_SetCurrentFocus(self
, *_args
, **_kwargs
)
571 return "<%s.%s instance; proxy of C++ wxNavigationKeyEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
572 class wxNavigationKeyEvent(wxNavigationKeyEventPtr
):
573 def __init__(self
,*_args
,**_kwargs
):
574 self
.this
= eventsc
.new_wxNavigationKeyEvent(*_args
,**_kwargs
)
580 class wxMoveEventPtr(wxEventPtr
):
581 def __init__(self
,this
):
584 def GetPosition(self
, *_args
, **_kwargs
):
585 val
= eventsc
.wxMoveEvent_GetPosition(self
, *_args
, **_kwargs
)
586 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
589 return "<%s.%s instance; proxy of C++ wxMoveEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
590 class wxMoveEvent(wxMoveEventPtr
):
591 def __init__(self
,*_args
,**_kwargs
):
592 self
.this
= eventsc
.new_wxMoveEvent(*_args
,**_kwargs
)
598 class wxPaintEventPtr(wxEventPtr
):
599 def __init__(self
,this
):
603 return "<%s.%s instance; proxy of C++ wxPaintEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
604 class wxPaintEvent(wxPaintEventPtr
):
605 def __init__(self
,*_args
,**_kwargs
):
606 self
.this
= eventsc
.new_wxPaintEvent(*_args
,**_kwargs
)
612 class wxEraseEventPtr(wxEventPtr
):
613 def __init__(self
,this
):
616 def GetDC(self
, *_args
, **_kwargs
):
617 val
= eventsc
.wxEraseEvent_GetDC(self
, *_args
, **_kwargs
)
620 return "<%s.%s instance; proxy of C++ wxEraseEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
621 class wxEraseEvent(wxEraseEventPtr
):
622 def __init__(self
,*_args
,**_kwargs
):
623 self
.this
= eventsc
.new_wxEraseEvent(*_args
,**_kwargs
)
629 class wxFocusEventPtr(wxEventPtr
):
630 def __init__(self
,this
):
634 return "<%s.%s instance; proxy of C++ wxFocusEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
635 class wxFocusEvent(wxFocusEventPtr
):
636 def __init__(self
,*_args
,**_kwargs
):
637 self
.this
= eventsc
.new_wxFocusEvent(*_args
,**_kwargs
)
643 class wxChildFocusEventPtr(wxCommandEventPtr
):
644 def __init__(self
,this
):
647 def GetWindow(self
, *_args
, **_kwargs
):
648 val
= eventsc
.wxChildFocusEvent_GetWindow(self
, *_args
, **_kwargs
)
651 return "<%s.%s instance; proxy of C++ wxChildFocusEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
652 class wxChildFocusEvent(wxChildFocusEventPtr
):
653 def __init__(self
,*_args
,**_kwargs
):
654 self
.this
= eventsc
.new_wxChildFocusEvent(*_args
,**_kwargs
)
660 class wxActivateEventPtr(wxEventPtr
):
661 def __init__(self
,this
):
664 def GetActive(self
, *_args
, **_kwargs
):
665 val
= eventsc
.wxActivateEvent_GetActive(self
, *_args
, **_kwargs
)
668 return "<%s.%s instance; proxy of C++ wxActivateEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
669 class wxActivateEvent(wxActivateEventPtr
):
670 def __init__(self
,*_args
,**_kwargs
):
671 self
.this
= eventsc
.new_wxActivateEvent(*_args
,**_kwargs
)
677 class wxInitDialogEventPtr(wxEventPtr
):
678 def __init__(self
,this
):
682 return "<%s.%s instance; proxy of C++ wxInitDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
683 class wxInitDialogEvent(wxInitDialogEventPtr
):
684 def __init__(self
,*_args
,**_kwargs
):
685 self
.this
= eventsc
.new_wxInitDialogEvent(*_args
,**_kwargs
)
691 class wxMenuEventPtr(wxEventPtr
):
692 def __init__(self
,this
):
695 def GetMenuId(self
, *_args
, **_kwargs
):
696 val
= eventsc
.wxMenuEvent_GetMenuId(self
, *_args
, **_kwargs
)
698 def IsPopup(self
, *_args
, **_kwargs
):
699 val
= eventsc
.wxMenuEvent_IsPopup(self
, *_args
, **_kwargs
)
702 return "<%s.%s instance; proxy of C++ wxMenuEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
703 class wxMenuEvent(wxMenuEventPtr
):
704 def __init__(self
,*_args
,**_kwargs
):
705 self
.this
= eventsc
.new_wxMenuEvent(*_args
,**_kwargs
)
711 class wxShowEventPtr(wxEventPtr
):
712 def __init__(self
,this
):
715 def SetShow(self
, *_args
, **_kwargs
):
716 val
= eventsc
.wxShowEvent_SetShow(self
, *_args
, **_kwargs
)
718 def GetShow(self
, *_args
, **_kwargs
):
719 val
= eventsc
.wxShowEvent_GetShow(self
, *_args
, **_kwargs
)
722 return "<%s.%s instance; proxy of C++ wxShowEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
723 class wxShowEvent(wxShowEventPtr
):
724 def __init__(self
,*_args
,**_kwargs
):
725 self
.this
= eventsc
.new_wxShowEvent(*_args
,**_kwargs
)
731 class wxIconizeEventPtr(wxEventPtr
):
732 def __init__(self
,this
):
735 def Iconized(self
, *_args
, **_kwargs
):
736 val
= eventsc
.wxIconizeEvent_Iconized(self
, *_args
, **_kwargs
)
739 return "<%s.%s instance; proxy of C++ wxIconizeEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
740 class wxIconizeEvent(wxIconizeEventPtr
):
741 def __init__(self
,*_args
,**_kwargs
):
742 self
.this
= eventsc
.new_wxIconizeEvent(*_args
,**_kwargs
)
748 class wxMaximizeEventPtr(wxEventPtr
):
749 def __init__(self
,this
):
753 return "<%s.%s instance; proxy of C++ wxMaximizeEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
754 class wxMaximizeEvent(wxMaximizeEventPtr
):
755 def __init__(self
,*_args
,**_kwargs
):
756 self
.this
= eventsc
.new_wxMaximizeEvent(*_args
,**_kwargs
)
762 class wxJoystickEventPtr(wxEventPtr
):
763 def __init__(self
,this
):
766 def GetPosition(self
, *_args
, **_kwargs
):
767 val
= eventsc
.wxJoystickEvent_GetPosition(self
, *_args
, **_kwargs
)
768 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
770 def GetZPosition(self
, *_args
, **_kwargs
):
771 val
= eventsc
.wxJoystickEvent_GetZPosition(self
, *_args
, **_kwargs
)
773 def GetButtonState(self
, *_args
, **_kwargs
):
774 val
= eventsc
.wxJoystickEvent_GetButtonState(self
, *_args
, **_kwargs
)
776 def GetButtonChange(self
, *_args
, **_kwargs
):
777 val
= eventsc
.wxJoystickEvent_GetButtonChange(self
, *_args
, **_kwargs
)
779 def GetJoystick(self
, *_args
, **_kwargs
):
780 val
= eventsc
.wxJoystickEvent_GetJoystick(self
, *_args
, **_kwargs
)
782 def SetJoystick(self
, *_args
, **_kwargs
):
783 val
= eventsc
.wxJoystickEvent_SetJoystick(self
, *_args
, **_kwargs
)
785 def SetButtonState(self
, *_args
, **_kwargs
):
786 val
= eventsc
.wxJoystickEvent_SetButtonState(self
, *_args
, **_kwargs
)
788 def SetButtonChange(self
, *_args
, **_kwargs
):
789 val
= eventsc
.wxJoystickEvent_SetButtonChange(self
, *_args
, **_kwargs
)
791 def SetPosition(self
, *_args
, **_kwargs
):
792 val
= eventsc
.wxJoystickEvent_SetPosition(self
, *_args
, **_kwargs
)
794 def SetZPosition(self
, *_args
, **_kwargs
):
795 val
= eventsc
.wxJoystickEvent_SetZPosition(self
, *_args
, **_kwargs
)
797 def IsButton(self
, *_args
, **_kwargs
):
798 val
= eventsc
.wxJoystickEvent_IsButton(self
, *_args
, **_kwargs
)
800 def IsMove(self
, *_args
, **_kwargs
):
801 val
= eventsc
.wxJoystickEvent_IsMove(self
, *_args
, **_kwargs
)
803 def IsZMove(self
, *_args
, **_kwargs
):
804 val
= eventsc
.wxJoystickEvent_IsZMove(self
, *_args
, **_kwargs
)
806 def ButtonDown(self
, *_args
, **_kwargs
):
807 val
= eventsc
.wxJoystickEvent_ButtonDown(self
, *_args
, **_kwargs
)
809 def ButtonUp(self
, *_args
, **_kwargs
):
810 val
= eventsc
.wxJoystickEvent_ButtonUp(self
, *_args
, **_kwargs
)
812 def ButtonIsDown(self
, *_args
, **_kwargs
):
813 val
= eventsc
.wxJoystickEvent_ButtonIsDown(self
, *_args
, **_kwargs
)
816 return "<%s.%s instance; proxy of C++ wxJoystickEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
817 class wxJoystickEvent(wxJoystickEventPtr
):
818 def __init__(self
,*_args
,**_kwargs
):
819 self
.this
= eventsc
.new_wxJoystickEvent(*_args
,**_kwargs
)
825 class wxDropFilesEventPtr(wxEventPtr
):
826 def __init__(self
,this
):
829 def GetPosition(self
, *_args
, **_kwargs
):
830 val
= eventsc
.wxDropFilesEvent_GetPosition(self
, *_args
, **_kwargs
)
831 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
833 def GetNumberOfFiles(self
, *_args
, **_kwargs
):
834 val
= eventsc
.wxDropFilesEvent_GetNumberOfFiles(self
, *_args
, **_kwargs
)
836 def GetFiles(self
, *_args
, **_kwargs
):
837 val
= eventsc
.wxDropFilesEvent_GetFiles(self
, *_args
, **_kwargs
)
840 return "<%s.%s instance; proxy of C++ wxDropFilesEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
841 class wxDropFilesEvent(wxDropFilesEventPtr
):
842 def __init__(self
,this
):
848 class wxIdleEventPtr(wxEventPtr
):
849 def __init__(self
,this
):
852 def RequestMore(self
, *_args
, **_kwargs
):
853 val
= eventsc
.wxIdleEvent_RequestMore(self
, *_args
, **_kwargs
)
855 def MoreRequested(self
, *_args
, **_kwargs
):
856 val
= eventsc
.wxIdleEvent_MoreRequested(self
, *_args
, **_kwargs
)
859 return "<%s.%s instance; proxy of C++ wxIdleEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
860 class wxIdleEvent(wxIdleEventPtr
):
861 def __init__(self
,*_args
,**_kwargs
):
862 self
.this
= eventsc
.new_wxIdleEvent(*_args
,**_kwargs
)
868 class wxUpdateUIEventPtr(wxEventPtr
):
869 def __init__(self
,this
):
872 def GetChecked(self
, *_args
, **_kwargs
):
873 val
= eventsc
.wxUpdateUIEvent_GetChecked(self
, *_args
, **_kwargs
)
875 def GetEnabled(self
, *_args
, **_kwargs
):
876 val
= eventsc
.wxUpdateUIEvent_GetEnabled(self
, *_args
, **_kwargs
)
878 def GetText(self
, *_args
, **_kwargs
):
879 val
= eventsc
.wxUpdateUIEvent_GetText(self
, *_args
, **_kwargs
)
881 def GetSetText(self
, *_args
, **_kwargs
):
882 val
= eventsc
.wxUpdateUIEvent_GetSetText(self
, *_args
, **_kwargs
)
884 def GetSetChecked(self
, *_args
, **_kwargs
):
885 val
= eventsc
.wxUpdateUIEvent_GetSetChecked(self
, *_args
, **_kwargs
)
887 def GetSetEnabled(self
, *_args
, **_kwargs
):
888 val
= eventsc
.wxUpdateUIEvent_GetSetEnabled(self
, *_args
, **_kwargs
)
890 def Check(self
, *_args
, **_kwargs
):
891 val
= eventsc
.wxUpdateUIEvent_Check(self
, *_args
, **_kwargs
)
893 def Enable(self
, *_args
, **_kwargs
):
894 val
= eventsc
.wxUpdateUIEvent_Enable(self
, *_args
, **_kwargs
)
896 def SetText(self
, *_args
, **_kwargs
):
897 val
= eventsc
.wxUpdateUIEvent_SetText(self
, *_args
, **_kwargs
)
900 return "<%s.%s instance; proxy of C++ wxUpdateUIEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
901 class wxUpdateUIEvent(wxUpdateUIEventPtr
):
902 def __init__(self
,*_args
,**_kwargs
):
903 self
.this
= eventsc
.new_wxUpdateUIEvent(*_args
,**_kwargs
)
909 class wxSysColourChangedEventPtr(wxEventPtr
):
910 def __init__(self
,this
):
914 return "<%s.%s instance; proxy of C++ wxSysColourChangedEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
915 class wxSysColourChangedEvent(wxSysColourChangedEventPtr
):
916 def __init__(self
,*_args
,**_kwargs
):
917 self
.this
= eventsc
.new_wxSysColourChangedEvent(*_args
,**_kwargs
)
923 class wxNotifyEventPtr(wxCommandEventPtr
):
924 def __init__(self
,this
):
927 def IsAllowed(self
, *_args
, **_kwargs
):
928 val
= eventsc
.wxNotifyEvent_IsAllowed(self
, *_args
, **_kwargs
)
930 def Allow(self
, *_args
, **_kwargs
):
931 val
= eventsc
.wxNotifyEvent_Allow(self
, *_args
, **_kwargs
)
933 def Veto(self
, *_args
, **_kwargs
):
934 val
= eventsc
.wxNotifyEvent_Veto(self
, *_args
, **_kwargs
)
937 return "<%s.%s instance; proxy of C++ wxNotifyEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
938 class wxNotifyEvent(wxNotifyEventPtr
):
939 def __init__(self
,*_args
,**_kwargs
):
940 self
.this
= eventsc
.new_wxNotifyEvent(*_args
,**_kwargs
)
946 class wxDisplayChangedEventPtr(wxEventPtr
):
947 def __init__(self
,this
):
951 return "<%s.%s instance; proxy of C++ wxDisplayChangedEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
952 class wxDisplayChangedEvent(wxDisplayChangedEventPtr
):
953 def __init__(self
,*_args
,**_kwargs
):
954 self
.this
= eventsc
.new_wxDisplayChangedEvent(*_args
,**_kwargs
)
960 class wxPaletteChangedEventPtr(wxEventPtr
):
961 def __init__(self
,this
):
964 def SetChangedWindow(self
, *_args
, **_kwargs
):
965 val
= eventsc
.wxPaletteChangedEvent_SetChangedWindow(self
, *_args
, **_kwargs
)
967 def GetChangedWindow(self
, *_args
, **_kwargs
):
968 val
= eventsc
.wxPaletteChangedEvent_GetChangedWindow(self
, *_args
, **_kwargs
)
971 return "<%s.%s instance; proxy of C++ wxPaletteChangedEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
972 class wxPaletteChangedEvent(wxPaletteChangedEventPtr
):
973 def __init__(self
,*_args
,**_kwargs
):
974 self
.this
= eventsc
.new_wxPaletteChangedEvent(*_args
,**_kwargs
)
980 class wxQueryNewPaletteEventPtr(wxEventPtr
):
981 def __init__(self
,this
):
984 def SetPaletteRealized(self
, *_args
, **_kwargs
):
985 val
= eventsc
.wxQueryNewPaletteEvent_SetPaletteRealized(self
, *_args
, **_kwargs
)
987 def GetPaletteRealized(self
, *_args
, **_kwargs
):
988 val
= eventsc
.wxQueryNewPaletteEvent_GetPaletteRealized(self
, *_args
, **_kwargs
)
991 return "<%s.%s instance; proxy of C++ wxQueryNewPaletteEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
992 class wxQueryNewPaletteEvent(wxQueryNewPaletteEventPtr
):
993 def __init__(self
,*_args
,**_kwargs
):
994 self
.this
= eventsc
.new_wxQueryNewPaletteEvent(*_args
,**_kwargs
)
1000 class wxWindowCreateEventPtr(wxCommandEventPtr
):
1001 def __init__(self
,this
):
1004 def GetWindow(self
, *_args
, **_kwargs
):
1005 val
= eventsc
.wxWindowCreateEvent_GetWindow(self
, *_args
, **_kwargs
)
1008 return "<%s.%s instance; proxy of C++ wxWindowCreateEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1009 class wxWindowCreateEvent(wxWindowCreateEventPtr
):
1010 def __init__(self
,*_args
,**_kwargs
):
1011 self
.this
= eventsc
.new_wxWindowCreateEvent(*_args
,**_kwargs
)
1017 class wxWindowDestroyEventPtr(wxCommandEventPtr
):
1018 def __init__(self
,this
):
1021 def GetWindow(self
, *_args
, **_kwargs
):
1022 val
= eventsc
.wxWindowDestroyEvent_GetWindow(self
, *_args
, **_kwargs
)
1025 return "<%s.%s instance; proxy of C++ wxWindowDestroyEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1026 class wxWindowDestroyEvent(wxWindowDestroyEventPtr
):
1027 def __init__(self
,*_args
,**_kwargs
):
1028 self
.this
= eventsc
.new_wxWindowDestroyEvent(*_args
,**_kwargs
)
1034 class wxContextMenuEventPtr(wxCommandEventPtr
):
1035 def __init__(self
,this
):
1038 def GetPosition(self
, *_args
, **_kwargs
):
1039 val
= eventsc
.wxContextMenuEvent_GetPosition(self
, *_args
, **_kwargs
)
1040 if val
: val
= wxPointPtr(val
)
1042 def SetPosition(self
, *_args
, **_kwargs
):
1043 val
= eventsc
.wxContextMenuEvent_SetPosition(self
, *_args
, **_kwargs
)
1046 return "<%s.%s instance; proxy of C++ wxContextMenuEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1047 class wxContextMenuEvent(wxContextMenuEventPtr
):
1048 def __init__(self
,*_args
,**_kwargs
):
1049 self
.this
= eventsc
.new_wxContextMenuEvent(*_args
,**_kwargs
)
1055 class wxTimerEventPtr(wxEventPtr
):
1056 def __init__(self
,this
):
1059 def GetInterval(self
, *_args
, **_kwargs
):
1060 val
= eventsc
.wxTimerEvent_GetInterval(self
, *_args
, **_kwargs
)
1063 return "<%s.%s instance; proxy of C++ wxTimerEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1064 class wxTimerEvent(wxTimerEventPtr
):
1065 def __init__(self
,*_args
,**_kwargs
):
1066 self
.this
= eventsc
.new_wxTimerEvent(*_args
,**_kwargs
)
1072 class wxTextUrlEventPtr(wxCommandEventPtr
):
1073 def __init__(self
,this
):
1076 def GetMouseEvent(self
, *_args
, **_kwargs
):
1077 val
= eventsc
.wxTextUrlEvent_GetMouseEvent(self
, *_args
, **_kwargs
)
1079 def GetURLStart(self
, *_args
, **_kwargs
):
1080 val
= eventsc
.wxTextUrlEvent_GetURLStart(self
, *_args
, **_kwargs
)
1082 def GetURLEnd(self
, *_args
, **_kwargs
):
1083 val
= eventsc
.wxTextUrlEvent_GetURLEnd(self
, *_args
, **_kwargs
)
1086 return "<%s.%s instance; proxy of C++ wxTextUrlEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1087 class wxTextUrlEvent(wxTextUrlEventPtr
):
1088 def __init__(self
,*_args
,**_kwargs
):
1089 self
.this
= eventsc
.new_wxTextUrlEvent(*_args
,**_kwargs
)
1095 class wxPyEventPtr(wxEventPtr
):
1096 def __init__(self
,this
):
1099 def __del__(self
, delfunc
=eventsc
.delete_wxPyEvent
):
1100 if self
.thisown
== 1:
1105 def SetSelf(self
, *_args
, **_kwargs
):
1106 val
= eventsc
.wxPyEvent_SetSelf(self
, *_args
, **_kwargs
)
1108 def GetSelf(self
, *_args
, **_kwargs
):
1109 val
= eventsc
.wxPyEvent_GetSelf(self
, *_args
, **_kwargs
)
1112 return "<%s.%s instance; proxy of C++ wxPyEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1113 class wxPyEvent(wxPyEventPtr
):
1114 def __init__(self
,*_args
,**_kwargs
):
1115 self
.this
= eventsc
.new_wxPyEvent(*_args
,**_kwargs
)
1122 class wxPyCommandEventPtr(wxCommandEventPtr
):
1123 def __init__(self
,this
):
1126 def __del__(self
, delfunc
=eventsc
.delete_wxPyCommandEvent
):
1127 if self
.thisown
== 1:
1132 def SetSelf(self
, *_args
, **_kwargs
):
1133 val
= eventsc
.wxPyCommandEvent_SetSelf(self
, *_args
, **_kwargs
)
1135 def GetSelf(self
, *_args
, **_kwargs
):
1136 val
= eventsc
.wxPyCommandEvent_GetSelf(self
, *_args
, **_kwargs
)
1139 return "<%s.%s instance; proxy of C++ wxPyCommandEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1140 class wxPyCommandEvent(wxPyCommandEventPtr
):
1141 def __init__(self
,*_args
,**_kwargs
):
1142 self
.this
= eventsc
.new_wxPyCommandEvent(*_args
,**_kwargs
)
1151 #-------------- FUNCTION WRAPPERS ------------------
1153 wxNewEventType
= eventsc
.wxNewEventType
1157 #-------------- VARIABLE WRAPPERS ------------------