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 GetTimestamp(self
, *_args
, **_kwargs
):
29 val
= eventsc
.wxEvent_GetTimestamp(self
, *_args
, **_kwargs
)
31 def SetEventObject(self
, *_args
, **_kwargs
):
32 val
= eventsc
.wxEvent_SetEventObject(self
, *_args
, **_kwargs
)
34 def SetEventType(self
, *_args
, **_kwargs
):
35 val
= eventsc
.wxEvent_SetEventType(self
, *_args
, **_kwargs
)
37 def SetId(self
, *_args
, **_kwargs
):
38 val
= eventsc
.wxEvent_SetId(self
, *_args
, **_kwargs
)
40 def SetTimestamp(self
, *_args
, **_kwargs
):
41 val
= eventsc
.wxEvent_SetTimestamp(self
, *_args
, **_kwargs
)
43 def IsCommandEvent(self
, *_args
, **_kwargs
):
44 val
= eventsc
.wxEvent_IsCommandEvent(self
, *_args
, **_kwargs
)
46 def Skip(self
, *_args
, **_kwargs
):
47 val
= eventsc
.wxEvent_Skip(self
, *_args
, **_kwargs
)
49 def GetSkipped(self
, *_args
, **_kwargs
):
50 val
= eventsc
.wxEvent_GetSkipped(self
, *_args
, **_kwargs
)
52 def ShouldPropagate(self
, *_args
, **_kwargs
):
53 val
= eventsc
.wxEvent_ShouldPropagate(self
, *_args
, **_kwargs
)
55 def StopPropagation(self
, *_args
, **_kwargs
):
56 val
= eventsc
.wxEvent_StopPropagation(self
, *_args
, **_kwargs
)
58 def ResumePropagation(self
, *_args
, **_kwargs
):
59 val
= eventsc
.wxEvent_ResumePropagation(self
, *_args
, **_kwargs
)
61 def Clone(self
, *_args
, **_kwargs
):
62 val
= eventsc
.wxEvent_Clone(self
, *_args
, **_kwargs
)
63 if val
: val
= wxEventPtr(val
)
66 return "<%s.%s instance; proxy of C++ wxEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
67 class wxEvent(wxEventPtr
):
68 def __init__(self
,this
):
74 class wxPropagationDisablerPtr
:
75 def __init__(self
,this
):
78 def __del__(self
, delfunc
=eventsc
.delete_wxPropagationDisabler
):
85 return "<%s.%s instance; proxy of C++ wxPropagationDisabler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
86 class wxPropagationDisabler(wxPropagationDisablerPtr
):
87 def __init__(self
,*_args
,**_kwargs
):
88 self
.this
= eventsc
.new_wxPropagationDisabler(*_args
,**_kwargs
)
94 class wxPropagateOncePtr
:
95 def __init__(self
,this
):
98 def __del__(self
, delfunc
=eventsc
.delete_wxPropagateOnce
):
105 return "<%s.%s instance; proxy of C++ wxPropagateOnce instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
106 class wxPropagateOnce(wxPropagateOncePtr
):
107 def __init__(self
,*_args
,**_kwargs
):
108 self
.this
= eventsc
.new_wxPropagateOnce(*_args
,**_kwargs
)
114 class wxSizeEventPtr(wxEventPtr
):
115 def __init__(self
,this
):
118 def GetSize(self
, *_args
, **_kwargs
):
119 val
= eventsc
.wxSizeEvent_GetSize(self
, *_args
, **_kwargs
)
120 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
122 def GetRect(self
, *_args
, **_kwargs
):
123 val
= eventsc
.wxSizeEvent_GetRect(self
, *_args
, **_kwargs
)
124 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
126 def SetRect(self
, *_args
, **_kwargs
):
127 val
= eventsc
.wxSizeEvent_SetRect(self
, *_args
, **_kwargs
)
130 return "<%s.%s instance; proxy of C++ wxSizeEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
131 class wxSizeEvent(wxSizeEventPtr
):
132 def __init__(self
,*_args
,**_kwargs
):
133 self
.this
= eventsc
.new_wxSizeEvent(*_args
,**_kwargs
)
139 class wxCloseEventPtr(wxEventPtr
):
140 def __init__(self
,this
):
143 def SetLoggingOff(self
, *_args
, **_kwargs
):
144 val
= eventsc
.wxCloseEvent_SetLoggingOff(self
, *_args
, **_kwargs
)
146 def GetLoggingOff(self
, *_args
, **_kwargs
):
147 val
= eventsc
.wxCloseEvent_GetLoggingOff(self
, *_args
, **_kwargs
)
149 def Veto(self
, *_args
, **_kwargs
):
150 val
= eventsc
.wxCloseEvent_Veto(self
, *_args
, **_kwargs
)
152 def CanVeto(self
, *_args
, **_kwargs
):
153 val
= eventsc
.wxCloseEvent_CanVeto(self
, *_args
, **_kwargs
)
155 def GetVeto(self
, *_args
, **_kwargs
):
156 val
= eventsc
.wxCloseEvent_GetVeto(self
, *_args
, **_kwargs
)
158 def SetCanVeto(self
, *_args
, **_kwargs
):
159 val
= eventsc
.wxCloseEvent_SetCanVeto(self
, *_args
, **_kwargs
)
162 return "<%s.%s instance; proxy of C++ wxCloseEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
163 class wxCloseEvent(wxCloseEventPtr
):
164 def __init__(self
,*_args
,**_kwargs
):
165 self
.this
= eventsc
.new_wxCloseEvent(*_args
,**_kwargs
)
171 class wxCommandEventPtr(wxEventPtr
):
172 def __init__(self
,this
):
175 def IsChecked(self
, *_args
, **_kwargs
):
176 val
= eventsc
.wxCommandEvent_IsChecked(self
, *_args
, **_kwargs
)
178 def Checked(self
, *_args
, **_kwargs
):
179 val
= eventsc
.wxCommandEvent_Checked(self
, *_args
, **_kwargs
)
181 def GetExtraLong(self
, *_args
, **_kwargs
):
182 val
= eventsc
.wxCommandEvent_GetExtraLong(self
, *_args
, **_kwargs
)
184 def GetInt(self
, *_args
, **_kwargs
):
185 val
= eventsc
.wxCommandEvent_GetInt(self
, *_args
, **_kwargs
)
187 def GetSelection(self
, *_args
, **_kwargs
):
188 val
= eventsc
.wxCommandEvent_GetSelection(self
, *_args
, **_kwargs
)
190 def GetString(self
, *_args
, **_kwargs
):
191 val
= eventsc
.wxCommandEvent_GetString(self
, *_args
, **_kwargs
)
193 def IsSelection(self
, *_args
, **_kwargs
):
194 val
= eventsc
.wxCommandEvent_IsSelection(self
, *_args
, **_kwargs
)
196 def SetString(self
, *_args
, **_kwargs
):
197 val
= eventsc
.wxCommandEvent_SetString(self
, *_args
, **_kwargs
)
199 def SetExtraLong(self
, *_args
, **_kwargs
):
200 val
= eventsc
.wxCommandEvent_SetExtraLong(self
, *_args
, **_kwargs
)
202 def SetInt(self
, *_args
, **_kwargs
):
203 val
= eventsc
.wxCommandEvent_SetInt(self
, *_args
, **_kwargs
)
205 def GetClientData(self
, *_args
, **_kwargs
):
206 val
= eventsc
.wxCommandEvent_GetClientData(self
, *_args
, **_kwargs
)
209 return "<%s.%s instance; proxy of C++ wxCommandEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
210 class wxCommandEvent(wxCommandEventPtr
):
211 def __init__(self
,*_args
,**_kwargs
):
212 self
.this
= eventsc
.new_wxCommandEvent(*_args
,**_kwargs
)
218 class wxScrollEventPtr(wxCommandEventPtr
):
219 def __init__(self
,this
):
222 def GetOrientation(self
, *_args
, **_kwargs
):
223 val
= eventsc
.wxScrollEvent_GetOrientation(self
, *_args
, **_kwargs
)
225 def GetPosition(self
, *_args
, **_kwargs
):
226 val
= eventsc
.wxScrollEvent_GetPosition(self
, *_args
, **_kwargs
)
229 return "<%s.%s instance; proxy of C++ wxScrollEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
230 class wxScrollEvent(wxScrollEventPtr
):
231 def __init__(self
,*_args
,**_kwargs
):
232 self
.this
= eventsc
.new_wxScrollEvent(*_args
,**_kwargs
)
238 class wxScrollWinEventPtr(wxEventPtr
):
239 def __init__(self
,this
):
242 def GetOrientation(self
, *_args
, **_kwargs
):
243 val
= eventsc
.wxScrollWinEvent_GetOrientation(self
, *_args
, **_kwargs
)
245 def GetPosition(self
, *_args
, **_kwargs
):
246 val
= eventsc
.wxScrollWinEvent_GetPosition(self
, *_args
, **_kwargs
)
249 return "<%s.%s instance; proxy of C++ wxScrollWinEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
250 class wxScrollWinEvent(wxScrollWinEventPtr
):
251 def __init__(self
,*_args
,**_kwargs
):
252 self
.this
= eventsc
.new_wxScrollWinEvent(*_args
,**_kwargs
)
258 class wxSpinEventPtr(wxScrollEventPtr
):
259 def __init__(self
,this
):
263 return "<%s.%s instance; proxy of C++ wxSpinEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
264 class wxSpinEvent(wxSpinEventPtr
):
265 def __init__(self
,*_args
,**_kwargs
):
266 self
.this
= eventsc
.new_wxSpinEvent(*_args
,**_kwargs
)
272 class wxMouseEventPtr(wxEventPtr
):
273 def __init__(self
,this
):
276 def IsButton(self
, *_args
, **_kwargs
):
277 val
= eventsc
.wxMouseEvent_IsButton(self
, *_args
, **_kwargs
)
279 def ButtonDown(self
, *_args
, **_kwargs
):
280 val
= eventsc
.wxMouseEvent_ButtonDown(self
, *_args
, **_kwargs
)
282 def ButtonDClick(self
, *_args
, **_kwargs
):
283 val
= eventsc
.wxMouseEvent_ButtonDClick(self
, *_args
, **_kwargs
)
285 def ButtonUp(self
, *_args
, **_kwargs
):
286 val
= eventsc
.wxMouseEvent_ButtonUp(self
, *_args
, **_kwargs
)
288 def Button(self
, *_args
, **_kwargs
):
289 val
= eventsc
.wxMouseEvent_Button(self
, *_args
, **_kwargs
)
291 def ButtonIsDown(self
, *_args
, **_kwargs
):
292 val
= eventsc
.wxMouseEvent_ButtonIsDown(self
, *_args
, **_kwargs
)
294 def ControlDown(self
, *_args
, **_kwargs
):
295 val
= eventsc
.wxMouseEvent_ControlDown(self
, *_args
, **_kwargs
)
297 def MetaDown(self
, *_args
, **_kwargs
):
298 val
= eventsc
.wxMouseEvent_MetaDown(self
, *_args
, **_kwargs
)
300 def AltDown(self
, *_args
, **_kwargs
):
301 val
= eventsc
.wxMouseEvent_AltDown(self
, *_args
, **_kwargs
)
303 def ShiftDown(self
, *_args
, **_kwargs
):
304 val
= eventsc
.wxMouseEvent_ShiftDown(self
, *_args
, **_kwargs
)
306 def LeftDown(self
, *_args
, **_kwargs
):
307 val
= eventsc
.wxMouseEvent_LeftDown(self
, *_args
, **_kwargs
)
309 def MiddleDown(self
, *_args
, **_kwargs
):
310 val
= eventsc
.wxMouseEvent_MiddleDown(self
, *_args
, **_kwargs
)
312 def RightDown(self
, *_args
, **_kwargs
):
313 val
= eventsc
.wxMouseEvent_RightDown(self
, *_args
, **_kwargs
)
315 def LeftUp(self
, *_args
, **_kwargs
):
316 val
= eventsc
.wxMouseEvent_LeftUp(self
, *_args
, **_kwargs
)
318 def MiddleUp(self
, *_args
, **_kwargs
):
319 val
= eventsc
.wxMouseEvent_MiddleUp(self
, *_args
, **_kwargs
)
321 def RightUp(self
, *_args
, **_kwargs
):
322 val
= eventsc
.wxMouseEvent_RightUp(self
, *_args
, **_kwargs
)
324 def LeftDClick(self
, *_args
, **_kwargs
):
325 val
= eventsc
.wxMouseEvent_LeftDClick(self
, *_args
, **_kwargs
)
327 def MiddleDClick(self
, *_args
, **_kwargs
):
328 val
= eventsc
.wxMouseEvent_MiddleDClick(self
, *_args
, **_kwargs
)
330 def RightDClick(self
, *_args
, **_kwargs
):
331 val
= eventsc
.wxMouseEvent_RightDClick(self
, *_args
, **_kwargs
)
333 def LeftIsDown(self
, *_args
, **_kwargs
):
334 val
= eventsc
.wxMouseEvent_LeftIsDown(self
, *_args
, **_kwargs
)
336 def MiddleIsDown(self
, *_args
, **_kwargs
):
337 val
= eventsc
.wxMouseEvent_MiddleIsDown(self
, *_args
, **_kwargs
)
339 def RightIsDown(self
, *_args
, **_kwargs
):
340 val
= eventsc
.wxMouseEvent_RightIsDown(self
, *_args
, **_kwargs
)
342 def Dragging(self
, *_args
, **_kwargs
):
343 val
= eventsc
.wxMouseEvent_Dragging(self
, *_args
, **_kwargs
)
345 def Moving(self
, *_args
, **_kwargs
):
346 val
= eventsc
.wxMouseEvent_Moving(self
, *_args
, **_kwargs
)
348 def Entering(self
, *_args
, **_kwargs
):
349 val
= eventsc
.wxMouseEvent_Entering(self
, *_args
, **_kwargs
)
351 def Leaving(self
, *_args
, **_kwargs
):
352 val
= eventsc
.wxMouseEvent_Leaving(self
, *_args
, **_kwargs
)
354 def GetPosition(self
, *_args
, **_kwargs
):
355 val
= eventsc
.wxMouseEvent_GetPosition(self
, *_args
, **_kwargs
)
356 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
358 def GetPositionTuple(self
, *_args
, **_kwargs
):
359 val
= eventsc
.wxMouseEvent_GetPositionTuple(self
, *_args
, **_kwargs
)
361 def GetLogicalPosition(self
, *_args
, **_kwargs
):
362 val
= eventsc
.wxMouseEvent_GetLogicalPosition(self
, *_args
, **_kwargs
)
363 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
365 def GetX(self
, *_args
, **_kwargs
):
366 val
= eventsc
.wxMouseEvent_GetX(self
, *_args
, **_kwargs
)
368 def GetY(self
, *_args
, **_kwargs
):
369 val
= eventsc
.wxMouseEvent_GetY(self
, *_args
, **_kwargs
)
371 def GetWheelRotation(self
, *_args
, **_kwargs
):
372 val
= eventsc
.wxMouseEvent_GetWheelRotation(self
, *_args
, **_kwargs
)
374 def GetWheelDelta(self
, *_args
, **_kwargs
):
375 val
= eventsc
.wxMouseEvent_GetWheelDelta(self
, *_args
, **_kwargs
)
377 def GetLinesPerAction(self
, *_args
, **_kwargs
):
378 val
= eventsc
.wxMouseEvent_GetLinesPerAction(self
, *_args
, **_kwargs
)
380 def __setattr__(self
,name
,value
):
382 eventsc
.wxMouseEvent_m_x_set(self
,value
)
385 eventsc
.wxMouseEvent_m_y_set(self
,value
)
387 if name
== "m_leftDown" :
388 eventsc
.wxMouseEvent_m_leftDown_set(self
,value
)
390 if name
== "m_middleDown" :
391 eventsc
.wxMouseEvent_m_middleDown_set(self
,value
)
393 if name
== "m_rightDown" :
394 eventsc
.wxMouseEvent_m_rightDown_set(self
,value
)
396 if name
== "m_controlDown" :
397 eventsc
.wxMouseEvent_m_controlDown_set(self
,value
)
399 if name
== "m_shiftDown" :
400 eventsc
.wxMouseEvent_m_shiftDown_set(self
,value
)
402 if name
== "m_altDown" :
403 eventsc
.wxMouseEvent_m_altDown_set(self
,value
)
405 if name
== "m_metaDown" :
406 eventsc
.wxMouseEvent_m_metaDown_set(self
,value
)
408 if name
== "m_wheelRotation" :
409 eventsc
.wxMouseEvent_m_wheelRotation_set(self
,value
)
411 if name
== "m_wheelDelta" :
412 eventsc
.wxMouseEvent_m_wheelDelta_set(self
,value
)
414 if name
== "m_linesPerAction" :
415 eventsc
.wxMouseEvent_m_linesPerAction_set(self
,value
)
417 self
.__dict
__[name
] = value
418 def __getattr__(self
,name
):
420 return eventsc
.wxMouseEvent_m_x_get(self
)
422 return eventsc
.wxMouseEvent_m_y_get(self
)
423 if name
== "m_leftDown" :
424 return eventsc
.wxMouseEvent_m_leftDown_get(self
)
425 if name
== "m_middleDown" :
426 return eventsc
.wxMouseEvent_m_middleDown_get(self
)
427 if name
== "m_rightDown" :
428 return eventsc
.wxMouseEvent_m_rightDown_get(self
)
429 if name
== "m_controlDown" :
430 return eventsc
.wxMouseEvent_m_controlDown_get(self
)
431 if name
== "m_shiftDown" :
432 return eventsc
.wxMouseEvent_m_shiftDown_get(self
)
433 if name
== "m_altDown" :
434 return eventsc
.wxMouseEvent_m_altDown_get(self
)
435 if name
== "m_metaDown" :
436 return eventsc
.wxMouseEvent_m_metaDown_get(self
)
437 if name
== "m_wheelRotation" :
438 return eventsc
.wxMouseEvent_m_wheelRotation_get(self
)
439 if name
== "m_wheelDelta" :
440 return eventsc
.wxMouseEvent_m_wheelDelta_get(self
)
441 if name
== "m_linesPerAction" :
442 return eventsc
.wxMouseEvent_m_linesPerAction_get(self
)
443 raise AttributeError,name
445 return "<%s.%s instance; proxy of C++ wxMouseEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
446 class wxMouseEvent(wxMouseEventPtr
):
447 def __init__(self
,*_args
,**_kwargs
):
448 self
.this
= eventsc
.new_wxMouseEvent(*_args
,**_kwargs
)
454 class wxMouseCaptureChangedEventPtr(wxEventPtr
):
455 def __init__(self
,this
):
458 def GetCapturedWindow(self
, *_args
, **_kwargs
):
459 val
= eventsc
.wxMouseCaptureChangedEvent_GetCapturedWindow(self
, *_args
, **_kwargs
)
462 return "<%s.%s instance; proxy of C++ wxMouseCaptureChangedEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
463 class wxMouseCaptureChangedEvent(wxMouseCaptureChangedEventPtr
):
464 def __init__(self
,*_args
,**_kwargs
):
465 self
.this
= eventsc
.new_wxMouseCaptureChangedEvent(*_args
,**_kwargs
)
471 class wxSetCursorEventPtr(wxEventPtr
):
472 def __init__(self
,this
):
475 def GetX(self
, *_args
, **_kwargs
):
476 val
= eventsc
.wxSetCursorEvent_GetX(self
, *_args
, **_kwargs
)
478 def GetY(self
, *_args
, **_kwargs
):
479 val
= eventsc
.wxSetCursorEvent_GetY(self
, *_args
, **_kwargs
)
481 def SetCursor(self
, *_args
, **_kwargs
):
482 val
= eventsc
.wxSetCursorEvent_SetCursor(self
, *_args
, **_kwargs
)
484 def GetCursor(self
, *_args
, **_kwargs
):
485 val
= eventsc
.wxSetCursorEvent_GetCursor(self
, *_args
, **_kwargs
)
486 if val
: val
= wxCursorPtr(val
)
488 def HasCursor(self
, *_args
, **_kwargs
):
489 val
= eventsc
.wxSetCursorEvent_HasCursor(self
, *_args
, **_kwargs
)
492 return "<%s.%s instance; proxy of C++ wxSetCursorEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
493 class wxSetCursorEvent(wxSetCursorEventPtr
):
494 def __init__(self
,*_args
,**_kwargs
):
495 self
.this
= eventsc
.new_wxSetCursorEvent(*_args
,**_kwargs
)
501 class wxKeyEventPtr(wxEventPtr
):
502 def __init__(self
,this
):
505 def ControlDown(self
, *_args
, **_kwargs
):
506 val
= eventsc
.wxKeyEvent_ControlDown(self
, *_args
, **_kwargs
)
508 def MetaDown(self
, *_args
, **_kwargs
):
509 val
= eventsc
.wxKeyEvent_MetaDown(self
, *_args
, **_kwargs
)
511 def AltDown(self
, *_args
, **_kwargs
):
512 val
= eventsc
.wxKeyEvent_AltDown(self
, *_args
, **_kwargs
)
514 def ShiftDown(self
, *_args
, **_kwargs
):
515 val
= eventsc
.wxKeyEvent_ShiftDown(self
, *_args
, **_kwargs
)
517 def GetKeyCode(self
, *_args
, **_kwargs
):
518 val
= eventsc
.wxKeyEvent_GetKeyCode(self
, *_args
, **_kwargs
)
520 def HasModifiers(self
, *_args
, **_kwargs
):
521 val
= eventsc
.wxKeyEvent_HasModifiers(self
, *_args
, **_kwargs
)
523 def GetRawKeyCode(self
, *_args
, **_kwargs
):
524 val
= eventsc
.wxKeyEvent_GetRawKeyCode(self
, *_args
, **_kwargs
)
526 def GetRawKeyFlags(self
, *_args
, **_kwargs
):
527 val
= eventsc
.wxKeyEvent_GetRawKeyFlags(self
, *_args
, **_kwargs
)
529 def GetX(self
, *_args
, **_kwargs
):
530 val
= eventsc
.wxKeyEvent_GetX(self
, *_args
, **_kwargs
)
532 def GetY(self
, *_args
, **_kwargs
):
533 val
= eventsc
.wxKeyEvent_GetY(self
, *_args
, **_kwargs
)
535 def GetPosition(self
, *_args
, **_kwargs
):
536 val
= eventsc
.wxKeyEvent_GetPosition(self
, *_args
, **_kwargs
)
537 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
539 def GetPositionTuple(self
, *_args
, **_kwargs
):
540 val
= eventsc
.wxKeyEvent_GetPositionTuple(self
, *_args
, **_kwargs
)
542 def __setattr__(self
,name
,value
):
544 eventsc
.wxKeyEvent_m_x_set(self
,value
)
547 eventsc
.wxKeyEvent_m_y_set(self
,value
)
549 if name
== "m_keyCode" :
550 eventsc
.wxKeyEvent_m_keyCode_set(self
,value
)
552 if name
== "m_controlDown" :
553 eventsc
.wxKeyEvent_m_controlDown_set(self
,value
)
555 if name
== "m_shiftDown" :
556 eventsc
.wxKeyEvent_m_shiftDown_set(self
,value
)
558 if name
== "m_altDown" :
559 eventsc
.wxKeyEvent_m_altDown_set(self
,value
)
561 if name
== "m_metaDown" :
562 eventsc
.wxKeyEvent_m_metaDown_set(self
,value
)
564 if name
== "m_scanCode" :
565 eventsc
.wxKeyEvent_m_scanCode_set(self
,value
)
567 if name
== "m_rawCode" :
568 eventsc
.wxKeyEvent_m_rawCode_set(self
,value
)
570 if name
== "m_rawFlags" :
571 eventsc
.wxKeyEvent_m_rawFlags_set(self
,value
)
573 self
.__dict
__[name
] = value
574 def __getattr__(self
,name
):
576 return eventsc
.wxKeyEvent_m_x_get(self
)
578 return eventsc
.wxKeyEvent_m_y_get(self
)
579 if name
== "m_keyCode" :
580 return eventsc
.wxKeyEvent_m_keyCode_get(self
)
581 if name
== "m_controlDown" :
582 return eventsc
.wxKeyEvent_m_controlDown_get(self
)
583 if name
== "m_shiftDown" :
584 return eventsc
.wxKeyEvent_m_shiftDown_get(self
)
585 if name
== "m_altDown" :
586 return eventsc
.wxKeyEvent_m_altDown_get(self
)
587 if name
== "m_metaDown" :
588 return eventsc
.wxKeyEvent_m_metaDown_get(self
)
589 if name
== "m_scanCode" :
590 return eventsc
.wxKeyEvent_m_scanCode_get(self
)
591 if name
== "m_rawCode" :
592 return eventsc
.wxKeyEvent_m_rawCode_get(self
)
593 if name
== "m_rawFlags" :
594 return eventsc
.wxKeyEvent_m_rawFlags_get(self
)
595 raise AttributeError,name
597 return "<%s.%s instance; proxy of C++ wxKeyEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
599 class wxKeyEvent(wxKeyEventPtr
):
600 def __init__(self
,*_args
,**_kwargs
):
601 self
.this
= eventsc
.new_wxKeyEvent(*_args
,**_kwargs
)
607 class wxNavigationKeyEventPtr(wxEventPtr
):
608 def __init__(self
,this
):
611 def GetDirection(self
, *_args
, **_kwargs
):
612 val
= eventsc
.wxNavigationKeyEvent_GetDirection(self
, *_args
, **_kwargs
)
614 def SetDirection(self
, *_args
, **_kwargs
):
615 val
= eventsc
.wxNavigationKeyEvent_SetDirection(self
, *_args
, **_kwargs
)
617 def IsWindowChange(self
, *_args
, **_kwargs
):
618 val
= eventsc
.wxNavigationKeyEvent_IsWindowChange(self
, *_args
, **_kwargs
)
620 def SetWindowChange(self
, *_args
, **_kwargs
):
621 val
= eventsc
.wxNavigationKeyEvent_SetWindowChange(self
, *_args
, **_kwargs
)
623 def GetCurrentFocus(self
, *_args
, **_kwargs
):
624 val
= eventsc
.wxNavigationKeyEvent_GetCurrentFocus(self
, *_args
, **_kwargs
)
626 def SetCurrentFocus(self
, *_args
, **_kwargs
):
627 val
= eventsc
.wxNavigationKeyEvent_SetCurrentFocus(self
, *_args
, **_kwargs
)
630 return "<%s.%s instance; proxy of C++ wxNavigationKeyEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
631 class wxNavigationKeyEvent(wxNavigationKeyEventPtr
):
632 def __init__(self
,*_args
,**_kwargs
):
633 self
.this
= eventsc
.new_wxNavigationKeyEvent(*_args
,**_kwargs
)
639 class wxMoveEventPtr(wxEventPtr
):
640 def __init__(self
,this
):
643 def GetPosition(self
, *_args
, **_kwargs
):
644 val
= eventsc
.wxMoveEvent_GetPosition(self
, *_args
, **_kwargs
)
645 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
647 def GetRect(self
, *_args
, **_kwargs
):
648 val
= eventsc
.wxMoveEvent_GetRect(self
, *_args
, **_kwargs
)
649 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
651 def SetRect(self
, *_args
, **_kwargs
):
652 val
= eventsc
.wxMoveEvent_SetRect(self
, *_args
, **_kwargs
)
655 return "<%s.%s instance; proxy of C++ wxMoveEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
656 class wxMoveEvent(wxMoveEventPtr
):
657 def __init__(self
,*_args
,**_kwargs
):
658 self
.this
= eventsc
.new_wxMoveEvent(*_args
,**_kwargs
)
664 class wxPaintEventPtr(wxEventPtr
):
665 def __init__(self
,this
):
669 return "<%s.%s instance; proxy of C++ wxPaintEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
670 class wxPaintEvent(wxPaintEventPtr
):
671 def __init__(self
,*_args
,**_kwargs
):
672 self
.this
= eventsc
.new_wxPaintEvent(*_args
,**_kwargs
)
678 class wxEraseEventPtr(wxEventPtr
):
679 def __init__(self
,this
):
682 def GetDC(self
, *_args
, **_kwargs
):
683 val
= eventsc
.wxEraseEvent_GetDC(self
, *_args
, **_kwargs
)
686 return "<%s.%s instance; proxy of C++ wxEraseEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
687 class wxEraseEvent(wxEraseEventPtr
):
688 def __init__(self
,*_args
,**_kwargs
):
689 self
.this
= eventsc
.new_wxEraseEvent(*_args
,**_kwargs
)
695 class wxFocusEventPtr(wxEventPtr
):
696 def __init__(self
,this
):
700 return "<%s.%s instance; proxy of C++ wxFocusEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
701 class wxFocusEvent(wxFocusEventPtr
):
702 def __init__(self
,*_args
,**_kwargs
):
703 self
.this
= eventsc
.new_wxFocusEvent(*_args
,**_kwargs
)
709 class wxChildFocusEventPtr(wxCommandEventPtr
):
710 def __init__(self
,this
):
713 def GetWindow(self
, *_args
, **_kwargs
):
714 val
= eventsc
.wxChildFocusEvent_GetWindow(self
, *_args
, **_kwargs
)
717 return "<%s.%s instance; proxy of C++ wxChildFocusEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
718 class wxChildFocusEvent(wxChildFocusEventPtr
):
719 def __init__(self
,*_args
,**_kwargs
):
720 self
.this
= eventsc
.new_wxChildFocusEvent(*_args
,**_kwargs
)
726 class wxActivateEventPtr(wxEventPtr
):
727 def __init__(self
,this
):
730 def GetActive(self
, *_args
, **_kwargs
):
731 val
= eventsc
.wxActivateEvent_GetActive(self
, *_args
, **_kwargs
)
734 return "<%s.%s instance; proxy of C++ wxActivateEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
735 class wxActivateEvent(wxActivateEventPtr
):
736 def __init__(self
,*_args
,**_kwargs
):
737 self
.this
= eventsc
.new_wxActivateEvent(*_args
,**_kwargs
)
743 class wxInitDialogEventPtr(wxEventPtr
):
744 def __init__(self
,this
):
748 return "<%s.%s instance; proxy of C++ wxInitDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
749 class wxInitDialogEvent(wxInitDialogEventPtr
):
750 def __init__(self
,*_args
,**_kwargs
):
751 self
.this
= eventsc
.new_wxInitDialogEvent(*_args
,**_kwargs
)
757 class wxMenuEventPtr(wxEventPtr
):
758 def __init__(self
,this
):
761 def GetMenuId(self
, *_args
, **_kwargs
):
762 val
= eventsc
.wxMenuEvent_GetMenuId(self
, *_args
, **_kwargs
)
764 def IsPopup(self
, *_args
, **_kwargs
):
765 val
= eventsc
.wxMenuEvent_IsPopup(self
, *_args
, **_kwargs
)
767 def GetMenu(self
, *_args
, **_kwargs
):
768 val
= eventsc
.wxMenuEvent_GetMenu(self
, *_args
, **_kwargs
)
771 return "<%s.%s instance; proxy of C++ wxMenuEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
772 class wxMenuEvent(wxMenuEventPtr
):
773 def __init__(self
,*_args
,**_kwargs
):
774 self
.this
= eventsc
.new_wxMenuEvent(*_args
,**_kwargs
)
780 class wxShowEventPtr(wxEventPtr
):
781 def __init__(self
,this
):
784 def SetShow(self
, *_args
, **_kwargs
):
785 val
= eventsc
.wxShowEvent_SetShow(self
, *_args
, **_kwargs
)
787 def GetShow(self
, *_args
, **_kwargs
):
788 val
= eventsc
.wxShowEvent_GetShow(self
, *_args
, **_kwargs
)
791 return "<%s.%s instance; proxy of C++ wxShowEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
792 class wxShowEvent(wxShowEventPtr
):
793 def __init__(self
,*_args
,**_kwargs
):
794 self
.this
= eventsc
.new_wxShowEvent(*_args
,**_kwargs
)
800 class wxIconizeEventPtr(wxEventPtr
):
801 def __init__(self
,this
):
804 def Iconized(self
, *_args
, **_kwargs
):
805 val
= eventsc
.wxIconizeEvent_Iconized(self
, *_args
, **_kwargs
)
808 return "<%s.%s instance; proxy of C++ wxIconizeEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
809 class wxIconizeEvent(wxIconizeEventPtr
):
810 def __init__(self
,*_args
,**_kwargs
):
811 self
.this
= eventsc
.new_wxIconizeEvent(*_args
,**_kwargs
)
817 class wxMaximizeEventPtr(wxEventPtr
):
818 def __init__(self
,this
):
822 return "<%s.%s instance; proxy of C++ wxMaximizeEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
823 class wxMaximizeEvent(wxMaximizeEventPtr
):
824 def __init__(self
,*_args
,**_kwargs
):
825 self
.this
= eventsc
.new_wxMaximizeEvent(*_args
,**_kwargs
)
831 class wxJoystickEventPtr(wxEventPtr
):
832 def __init__(self
,this
):
835 def GetPosition(self
, *_args
, **_kwargs
):
836 val
= eventsc
.wxJoystickEvent_GetPosition(self
, *_args
, **_kwargs
)
837 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
839 def GetZPosition(self
, *_args
, **_kwargs
):
840 val
= eventsc
.wxJoystickEvent_GetZPosition(self
, *_args
, **_kwargs
)
842 def GetButtonState(self
, *_args
, **_kwargs
):
843 val
= eventsc
.wxJoystickEvent_GetButtonState(self
, *_args
, **_kwargs
)
845 def GetButtonChange(self
, *_args
, **_kwargs
):
846 val
= eventsc
.wxJoystickEvent_GetButtonChange(self
, *_args
, **_kwargs
)
848 def GetJoystick(self
, *_args
, **_kwargs
):
849 val
= eventsc
.wxJoystickEvent_GetJoystick(self
, *_args
, **_kwargs
)
851 def SetJoystick(self
, *_args
, **_kwargs
):
852 val
= eventsc
.wxJoystickEvent_SetJoystick(self
, *_args
, **_kwargs
)
854 def SetButtonState(self
, *_args
, **_kwargs
):
855 val
= eventsc
.wxJoystickEvent_SetButtonState(self
, *_args
, **_kwargs
)
857 def SetButtonChange(self
, *_args
, **_kwargs
):
858 val
= eventsc
.wxJoystickEvent_SetButtonChange(self
, *_args
, **_kwargs
)
860 def SetPosition(self
, *_args
, **_kwargs
):
861 val
= eventsc
.wxJoystickEvent_SetPosition(self
, *_args
, **_kwargs
)
863 def SetZPosition(self
, *_args
, **_kwargs
):
864 val
= eventsc
.wxJoystickEvent_SetZPosition(self
, *_args
, **_kwargs
)
866 def IsButton(self
, *_args
, **_kwargs
):
867 val
= eventsc
.wxJoystickEvent_IsButton(self
, *_args
, **_kwargs
)
869 def IsMove(self
, *_args
, **_kwargs
):
870 val
= eventsc
.wxJoystickEvent_IsMove(self
, *_args
, **_kwargs
)
872 def IsZMove(self
, *_args
, **_kwargs
):
873 val
= eventsc
.wxJoystickEvent_IsZMove(self
, *_args
, **_kwargs
)
875 def ButtonDown(self
, *_args
, **_kwargs
):
876 val
= eventsc
.wxJoystickEvent_ButtonDown(self
, *_args
, **_kwargs
)
878 def ButtonUp(self
, *_args
, **_kwargs
):
879 val
= eventsc
.wxJoystickEvent_ButtonUp(self
, *_args
, **_kwargs
)
881 def ButtonIsDown(self
, *_args
, **_kwargs
):
882 val
= eventsc
.wxJoystickEvent_ButtonIsDown(self
, *_args
, **_kwargs
)
885 return "<%s.%s instance; proxy of C++ wxJoystickEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
886 class wxJoystickEvent(wxJoystickEventPtr
):
887 def __init__(self
,*_args
,**_kwargs
):
888 self
.this
= eventsc
.new_wxJoystickEvent(*_args
,**_kwargs
)
894 class wxDropFilesEventPtr(wxEventPtr
):
895 def __init__(self
,this
):
898 def GetPosition(self
, *_args
, **_kwargs
):
899 val
= eventsc
.wxDropFilesEvent_GetPosition(self
, *_args
, **_kwargs
)
900 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
902 def GetNumberOfFiles(self
, *_args
, **_kwargs
):
903 val
= eventsc
.wxDropFilesEvent_GetNumberOfFiles(self
, *_args
, **_kwargs
)
905 def GetFiles(self
, *_args
, **_kwargs
):
906 val
= eventsc
.wxDropFilesEvent_GetFiles(self
, *_args
, **_kwargs
)
909 return "<%s.%s instance; proxy of C++ wxDropFilesEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
910 class wxDropFilesEvent(wxDropFilesEventPtr
):
911 def __init__(self
,this
):
917 class wxIdleEventPtr(wxEventPtr
):
918 def __init__(self
,this
):
921 def RequestMore(self
, *_args
, **_kwargs
):
922 val
= eventsc
.wxIdleEvent_RequestMore(self
, *_args
, **_kwargs
)
924 def MoreRequested(self
, *_args
, **_kwargs
):
925 val
= eventsc
.wxIdleEvent_MoreRequested(self
, *_args
, **_kwargs
)
928 return "<%s.%s instance; proxy of C++ wxIdleEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
929 class wxIdleEvent(wxIdleEventPtr
):
930 def __init__(self
,*_args
,**_kwargs
):
931 self
.this
= eventsc
.new_wxIdleEvent(*_args
,**_kwargs
)
937 class wxUpdateUIEventPtr(wxEventPtr
):
938 def __init__(self
,this
):
941 def GetChecked(self
, *_args
, **_kwargs
):
942 val
= eventsc
.wxUpdateUIEvent_GetChecked(self
, *_args
, **_kwargs
)
944 def GetEnabled(self
, *_args
, **_kwargs
):
945 val
= eventsc
.wxUpdateUIEvent_GetEnabled(self
, *_args
, **_kwargs
)
947 def GetText(self
, *_args
, **_kwargs
):
948 val
= eventsc
.wxUpdateUIEvent_GetText(self
, *_args
, **_kwargs
)
950 def GetSetText(self
, *_args
, **_kwargs
):
951 val
= eventsc
.wxUpdateUIEvent_GetSetText(self
, *_args
, **_kwargs
)
953 def GetSetChecked(self
, *_args
, **_kwargs
):
954 val
= eventsc
.wxUpdateUIEvent_GetSetChecked(self
, *_args
, **_kwargs
)
956 def GetSetEnabled(self
, *_args
, **_kwargs
):
957 val
= eventsc
.wxUpdateUIEvent_GetSetEnabled(self
, *_args
, **_kwargs
)
959 def Check(self
, *_args
, **_kwargs
):
960 val
= eventsc
.wxUpdateUIEvent_Check(self
, *_args
, **_kwargs
)
962 def Enable(self
, *_args
, **_kwargs
):
963 val
= eventsc
.wxUpdateUIEvent_Enable(self
, *_args
, **_kwargs
)
965 def SetText(self
, *_args
, **_kwargs
):
966 val
= eventsc
.wxUpdateUIEvent_SetText(self
, *_args
, **_kwargs
)
969 return "<%s.%s instance; proxy of C++ wxUpdateUIEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
970 class wxUpdateUIEvent(wxUpdateUIEventPtr
):
971 def __init__(self
,*_args
,**_kwargs
):
972 self
.this
= eventsc
.new_wxUpdateUIEvent(*_args
,**_kwargs
)
978 class wxSysColourChangedEventPtr(wxEventPtr
):
979 def __init__(self
,this
):
983 return "<%s.%s instance; proxy of C++ wxSysColourChangedEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
984 class wxSysColourChangedEvent(wxSysColourChangedEventPtr
):
985 def __init__(self
,*_args
,**_kwargs
):
986 self
.this
= eventsc
.new_wxSysColourChangedEvent(*_args
,**_kwargs
)
992 class wxNotifyEventPtr(wxCommandEventPtr
):
993 def __init__(self
,this
):
996 def IsAllowed(self
, *_args
, **_kwargs
):
997 val
= eventsc
.wxNotifyEvent_IsAllowed(self
, *_args
, **_kwargs
)
999 def Allow(self
, *_args
, **_kwargs
):
1000 val
= eventsc
.wxNotifyEvent_Allow(self
, *_args
, **_kwargs
)
1002 def Veto(self
, *_args
, **_kwargs
):
1003 val
= eventsc
.wxNotifyEvent_Veto(self
, *_args
, **_kwargs
)
1006 return "<%s.%s instance; proxy of C++ wxNotifyEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1007 class wxNotifyEvent(wxNotifyEventPtr
):
1008 def __init__(self
,*_args
,**_kwargs
):
1009 self
.this
= eventsc
.new_wxNotifyEvent(*_args
,**_kwargs
)
1015 class wxDisplayChangedEventPtr(wxEventPtr
):
1016 def __init__(self
,this
):
1020 return "<%s.%s instance; proxy of C++ wxDisplayChangedEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1021 class wxDisplayChangedEvent(wxDisplayChangedEventPtr
):
1022 def __init__(self
,*_args
,**_kwargs
):
1023 self
.this
= eventsc
.new_wxDisplayChangedEvent(*_args
,**_kwargs
)
1029 class wxPaletteChangedEventPtr(wxEventPtr
):
1030 def __init__(self
,this
):
1033 def SetChangedWindow(self
, *_args
, **_kwargs
):
1034 val
= eventsc
.wxPaletteChangedEvent_SetChangedWindow(self
, *_args
, **_kwargs
)
1036 def GetChangedWindow(self
, *_args
, **_kwargs
):
1037 val
= eventsc
.wxPaletteChangedEvent_GetChangedWindow(self
, *_args
, **_kwargs
)
1040 return "<%s.%s instance; proxy of C++ wxPaletteChangedEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1041 class wxPaletteChangedEvent(wxPaletteChangedEventPtr
):
1042 def __init__(self
,*_args
,**_kwargs
):
1043 self
.this
= eventsc
.new_wxPaletteChangedEvent(*_args
,**_kwargs
)
1049 class wxQueryNewPaletteEventPtr(wxEventPtr
):
1050 def __init__(self
,this
):
1053 def SetPaletteRealized(self
, *_args
, **_kwargs
):
1054 val
= eventsc
.wxQueryNewPaletteEvent_SetPaletteRealized(self
, *_args
, **_kwargs
)
1056 def GetPaletteRealized(self
, *_args
, **_kwargs
):
1057 val
= eventsc
.wxQueryNewPaletteEvent_GetPaletteRealized(self
, *_args
, **_kwargs
)
1060 return "<%s.%s instance; proxy of C++ wxQueryNewPaletteEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1061 class wxQueryNewPaletteEvent(wxQueryNewPaletteEventPtr
):
1062 def __init__(self
,*_args
,**_kwargs
):
1063 self
.this
= eventsc
.new_wxQueryNewPaletteEvent(*_args
,**_kwargs
)
1069 class wxWindowCreateEventPtr(wxCommandEventPtr
):
1070 def __init__(self
,this
):
1073 def GetWindow(self
, *_args
, **_kwargs
):
1074 val
= eventsc
.wxWindowCreateEvent_GetWindow(self
, *_args
, **_kwargs
)
1077 return "<%s.%s instance; proxy of C++ wxWindowCreateEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1078 class wxWindowCreateEvent(wxWindowCreateEventPtr
):
1079 def __init__(self
,*_args
,**_kwargs
):
1080 self
.this
= eventsc
.new_wxWindowCreateEvent(*_args
,**_kwargs
)
1086 class wxWindowDestroyEventPtr(wxCommandEventPtr
):
1087 def __init__(self
,this
):
1090 def GetWindow(self
, *_args
, **_kwargs
):
1091 val
= eventsc
.wxWindowDestroyEvent_GetWindow(self
, *_args
, **_kwargs
)
1094 return "<%s.%s instance; proxy of C++ wxWindowDestroyEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1095 class wxWindowDestroyEvent(wxWindowDestroyEventPtr
):
1096 def __init__(self
,*_args
,**_kwargs
):
1097 self
.this
= eventsc
.new_wxWindowDestroyEvent(*_args
,**_kwargs
)
1103 class wxContextMenuEventPtr(wxCommandEventPtr
):
1104 def __init__(self
,this
):
1107 def GetPosition(self
, *_args
, **_kwargs
):
1108 val
= eventsc
.wxContextMenuEvent_GetPosition(self
, *_args
, **_kwargs
)
1109 if val
: val
= wxPointPtr(val
)
1111 def SetPosition(self
, *_args
, **_kwargs
):
1112 val
= eventsc
.wxContextMenuEvent_SetPosition(self
, *_args
, **_kwargs
)
1115 return "<%s.%s instance; proxy of C++ wxContextMenuEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1116 class wxContextMenuEvent(wxContextMenuEventPtr
):
1117 def __init__(self
,*_args
,**_kwargs
):
1118 self
.this
= eventsc
.new_wxContextMenuEvent(*_args
,**_kwargs
)
1124 class wxTimerEventPtr(wxEventPtr
):
1125 def __init__(self
,this
):
1128 def GetInterval(self
, *_args
, **_kwargs
):
1129 val
= eventsc
.wxTimerEvent_GetInterval(self
, *_args
, **_kwargs
)
1132 return "<%s.%s instance; proxy of C++ wxTimerEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1133 class wxTimerEvent(wxTimerEventPtr
):
1134 def __init__(self
,*_args
,**_kwargs
):
1135 self
.this
= eventsc
.new_wxTimerEvent(*_args
,**_kwargs
)
1141 class wxTextUrlEventPtr(wxCommandEventPtr
):
1142 def __init__(self
,this
):
1145 def GetMouseEvent(self
, *_args
, **_kwargs
):
1146 val
= eventsc
.wxTextUrlEvent_GetMouseEvent(self
, *_args
, **_kwargs
)
1148 def GetURLStart(self
, *_args
, **_kwargs
):
1149 val
= eventsc
.wxTextUrlEvent_GetURLStart(self
, *_args
, **_kwargs
)
1151 def GetURLEnd(self
, *_args
, **_kwargs
):
1152 val
= eventsc
.wxTextUrlEvent_GetURLEnd(self
, *_args
, **_kwargs
)
1155 return "<%s.%s instance; proxy of C++ wxTextUrlEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1156 class wxTextUrlEvent(wxTextUrlEventPtr
):
1157 def __init__(self
,*_args
,**_kwargs
):
1158 self
.this
= eventsc
.new_wxTextUrlEvent(*_args
,**_kwargs
)
1164 class wxPyEventPtr(wxEventPtr
):
1165 def __init__(self
,this
):
1168 def __del__(self
, delfunc
=eventsc
.delete_wxPyEvent
):
1169 if self
.thisown
== 1:
1174 def SetSelf(self
, *_args
, **_kwargs
):
1175 val
= eventsc
.wxPyEvent_SetSelf(self
, *_args
, **_kwargs
)
1177 def GetSelf(self
, *_args
, **_kwargs
):
1178 val
= eventsc
.wxPyEvent_GetSelf(self
, *_args
, **_kwargs
)
1181 return "<%s.%s instance; proxy of C++ wxPyEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1182 class wxPyEvent(wxPyEventPtr
):
1183 def __init__(self
,*_args
,**_kwargs
):
1184 self
.this
= eventsc
.new_wxPyEvent(*_args
,**_kwargs
)
1191 class wxPyCommandEventPtr(wxCommandEventPtr
):
1192 def __init__(self
,this
):
1195 def __del__(self
, delfunc
=eventsc
.delete_wxPyCommandEvent
):
1196 if self
.thisown
== 1:
1201 def SetSelf(self
, *_args
, **_kwargs
):
1202 val
= eventsc
.wxPyCommandEvent_SetSelf(self
, *_args
, **_kwargs
)
1204 def GetSelf(self
, *_args
, **_kwargs
):
1205 val
= eventsc
.wxPyCommandEvent_GetSelf(self
, *_args
, **_kwargs
)
1208 return "<%s.%s instance; proxy of C++ wxPyCommandEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1209 class wxPyCommandEvent(wxPyCommandEventPtr
):
1210 def __init__(self
,*_args
,**_kwargs
):
1211 self
.this
= eventsc
.new_wxPyCommandEvent(*_args
,**_kwargs
)
1220 #-------------- FUNCTION WRAPPERS ------------------
1222 wxNewEventType
= eventsc
.wxNewEventType
1224 wxIdleEvent_SetMode
= eventsc
.wxIdleEvent_SetMode
1226 wxIdleEvent_GetMode
= eventsc
.wxIdleEvent_GetMode
1228 wxIdleEvent_CanSend
= eventsc
.wxIdleEvent_CanSend
1230 wxUpdateUIEvent_SetUpdateInterval
= eventsc
.wxUpdateUIEvent_SetUpdateInterval
1232 wxUpdateUIEvent_GetUpdateInterval
= eventsc
.wxUpdateUIEvent_GetUpdateInterval
1234 wxUpdateUIEvent_CanUpdate
= eventsc
.wxUpdateUIEvent_CanUpdate
1236 wxUpdateUIEvent_ResetUpdateTime
= eventsc
.wxUpdateUIEvent_ResetUpdateTime
1238 wxUpdateUIEvent_SetMode
= eventsc
.wxUpdateUIEvent_SetMode
1240 wxUpdateUIEvent_GetMode
= eventsc
.wxUpdateUIEvent_GetMode
1244 #-------------- VARIABLE WRAPPERS ------------------
1246 wxEVENT_PROPAGATE_NONE
= eventsc
.wxEVENT_PROPAGATE_NONE
1247 wxEVENT_PROPAGATE_MAX
= eventsc
.wxEVENT_PROPAGATE_MAX
1248 wxIDLE_PROCESS_ALL
= eventsc
.wxIDLE_PROCESS_ALL
1249 wxIDLE_PROCESS_SPECIFIED
= eventsc
.wxIDLE_PROCESS_SPECIFIED
1250 wxUPDATE_UI_PROCESS_ALL
= eventsc
.wxUPDATE_UI_PROCESS_ALL
1251 wxUPDATE_UI_PROCESS_SPECIFIED
= eventsc
.wxUPDATE_UI_PROCESS_SPECIFIED