1 # This file was created automatically by SWIG.
6 def __init__(self
,this
):
9 def GetEventObject(self
):
10 val
= eventsc
.wxEvent_GetEventObject(self
.this
)
12 def GetEventType(self
):
13 val
= eventsc
.wxEvent_GetEventType(self
.this
)
16 val
= eventsc
.wxEvent_GetId(self
.this
)
19 val
= eventsc
.wxEvent_GetSkipped(self
.this
)
21 def GetTimestamp(self
):
22 val
= eventsc
.wxEvent_GetTimestamp(self
.this
)
24 def SetEventObject(self
,arg0
):
25 val
= eventsc
.wxEvent_SetEventObject(self
.this
,arg0
)
27 def SetEventType(self
,arg0
):
28 val
= eventsc
.wxEvent_SetEventType(self
.this
,arg0
)
31 val
= eventsc
.wxEvent_SetId(self
.this
,arg0
)
33 def SetTimestamp(self
,arg0
):
34 val
= eventsc
.wxEvent_SetTimestamp(self
.this
,arg0
)
37 val
= apply(eventsc
.wxEvent_Skip
,(self
.this
,)+args
)
40 return "<C wxEvent instance>"
41 class wxEvent(wxEventPtr
):
42 def __init__(self
,this
):
48 class wxSizeEventPtr(wxEventPtr
):
49 def __init__(self
,this
):
53 val
= eventsc
.wxSizeEvent_GetSize(self
.this
)
58 return "<C wxSizeEvent instance>"
59 class wxSizeEvent(wxSizeEventPtr
):
60 def __init__(self
,this
):
66 class wxCloseEventPtr(wxEventPtr
):
67 def __init__(self
,this
):
70 def GetSessionEnding(self
):
71 val
= eventsc
.wxCloseEvent_GetSessionEnding(self
.this
)
73 def GetLoggingOff(self
):
74 val
= eventsc
.wxCloseEvent_GetLoggingOff(self
.this
)
77 val
= apply(eventsc
.wxCloseEvent_Veto
,(self
.this
,)+args
)
80 val
= eventsc
.wxCloseEvent_GetVeto(self
.this
)
82 def SetForce(self
,arg0
):
83 val
= eventsc
.wxCloseEvent_SetForce(self
.this
,arg0
)
86 val
= eventsc
.wxCloseEvent_GetForce(self
.this
)
89 return "<C wxCloseEvent instance>"
90 class wxCloseEvent(wxCloseEventPtr
):
91 def __init__(self
,this
):
97 class wxCommandEventPtr(wxEventPtr
):
98 def __init__(self
,this
):
102 val
= eventsc
.wxCommandEvent_Checked(self
.this
)
104 def GetExtraLong(self
):
105 val
= eventsc
.wxCommandEvent_GetExtraLong(self
.this
)
108 val
= eventsc
.wxCommandEvent_GetInt(self
.this
)
110 def GetSelection(self
):
111 val
= eventsc
.wxCommandEvent_GetSelection(self
.this
)
114 val
= eventsc
.wxCommandEvent_GetString(self
.this
)
116 def IsSelection(self
):
117 val
= eventsc
.wxCommandEvent_IsSelection(self
.this
)
120 return "<C wxCommandEvent instance>"
121 class wxCommandEvent(wxCommandEventPtr
):
122 def __init__(self
,this
):
128 class wxScrollEventPtr(wxCommandEventPtr
):
129 def __init__(self
,this
):
132 def GetOrientation(self
):
133 val
= eventsc
.wxScrollEvent_GetOrientation(self
.this
)
135 def GetPosition(self
):
136 val
= eventsc
.wxScrollEvent_GetPosition(self
.this
)
139 return "<C wxScrollEvent instance>"
140 class wxScrollEvent(wxScrollEventPtr
):
141 def __init__(self
,this
):
147 class wxMouseEventPtr(wxEventPtr
):
148 def __init__(self
,this
):
152 val
= eventsc
.wxMouseEvent_IsButton(self
.this
)
154 def ButtonDown(self
,*args
):
155 val
= apply(eventsc
.wxMouseEvent_ButtonDown
,(self
.this
,)+args
)
157 def ButtonDClick(self
,*args
):
158 val
= apply(eventsc
.wxMouseEvent_ButtonDClick
,(self
.this
,)+args
)
160 def ButtonUp(self
,*args
):
161 val
= apply(eventsc
.wxMouseEvent_ButtonUp
,(self
.this
,)+args
)
163 def Button(self
,arg0
):
164 val
= eventsc
.wxMouseEvent_Button(self
.this
,arg0
)
166 def ButtonIsDown(self
,arg0
):
167 val
= eventsc
.wxMouseEvent_ButtonIsDown(self
.this
,arg0
)
169 def ControlDown(self
):
170 val
= eventsc
.wxMouseEvent_ControlDown(self
.this
)
173 val
= eventsc
.wxMouseEvent_MetaDown(self
.this
)
176 val
= eventsc
.wxMouseEvent_AltDown(self
.this
)
179 val
= eventsc
.wxMouseEvent_ShiftDown(self
.this
)
182 val
= eventsc
.wxMouseEvent_LeftDown(self
.this
)
184 def MiddleDown(self
):
185 val
= eventsc
.wxMouseEvent_MiddleDown(self
.this
)
188 val
= eventsc
.wxMouseEvent_RightDown(self
.this
)
191 val
= eventsc
.wxMouseEvent_LeftUp(self
.this
)
194 val
= eventsc
.wxMouseEvent_MiddleUp(self
.this
)
197 val
= eventsc
.wxMouseEvent_RightUp(self
.this
)
199 def LeftDClick(self
):
200 val
= eventsc
.wxMouseEvent_LeftDClick(self
.this
)
202 def MiddleDClick(self
):
203 val
= eventsc
.wxMouseEvent_MiddleDClick(self
.this
)
205 def RightDClick(self
):
206 val
= eventsc
.wxMouseEvent_RightDClick(self
.this
)
208 def LeftIsDown(self
):
209 val
= eventsc
.wxMouseEvent_LeftIsDown(self
.this
)
211 def MiddleIsDown(self
):
212 val
= eventsc
.wxMouseEvent_MiddleIsDown(self
.this
)
214 def RightIsDown(self
):
215 val
= eventsc
.wxMouseEvent_RightIsDown(self
.this
)
218 val
= eventsc
.wxMouseEvent_Dragging(self
.this
)
221 val
= eventsc
.wxMouseEvent_Moving(self
.this
)
224 val
= eventsc
.wxMouseEvent_Entering(self
.this
)
227 val
= eventsc
.wxMouseEvent_Leaving(self
.this
)
230 val
= eventsc
.wxMouseEvent_Position(self
.this
)
232 def GetPosition(self
):
233 val
= eventsc
.wxMouseEvent_GetPosition(self
.this
)
234 val
= wxPointPtr(val
)
237 def GetLogicalPosition(self
,arg0
):
238 val
= eventsc
.wxMouseEvent_GetLogicalPosition(self
.this
,arg0
.this
)
239 val
= wxPointPtr(val
)
243 val
= eventsc
.wxMouseEvent_GetX(self
.this
)
246 val
= eventsc
.wxMouseEvent_GetY(self
.this
)
249 return "<C wxMouseEvent instance>"
250 class wxMouseEvent(wxMouseEventPtr
):
251 def __init__(self
,this
):
257 class wxKeyEventPtr(wxEventPtr
):
258 def __init__(self
,this
):
261 def ControlDown(self
):
262 val
= eventsc
.wxKeyEvent_ControlDown(self
.this
)
265 val
= eventsc
.wxKeyEvent_MetaDown(self
.this
)
268 val
= eventsc
.wxKeyEvent_AltDown(self
.this
)
271 val
= eventsc
.wxKeyEvent_ShiftDown(self
.this
)
274 val
= eventsc
.wxKeyEvent_KeyCode(self
.this
)
277 val
= eventsc
.wxKeyEvent_Position(self
.this
)
280 val
= eventsc
.wxKeyEvent_GetX(self
.this
)
283 val
= eventsc
.wxKeyEvent_GetY(self
.this
)
286 return "<C wxKeyEvent instance>"
287 class wxKeyEvent(wxKeyEventPtr
):
288 def __init__(self
,this
):
294 class wxMoveEventPtr(wxEventPtr
):
295 def __init__(self
,this
):
298 def GetPosition(self
):
299 val
= eventsc
.wxMoveEvent_GetPosition(self
.this
)
300 val
= wxPointPtr(val
)
304 return "<C wxMoveEvent instance>"
305 class wxMoveEvent(wxMoveEventPtr
):
306 def __init__(self
,this
):
312 class wxPaintEventPtr(wxEventPtr
):
313 def __init__(self
,this
):
317 return "<C wxPaintEvent instance>"
318 class wxPaintEvent(wxPaintEventPtr
):
319 def __init__(self
,this
):
325 class wxEraseEventPtr(wxEventPtr
):
326 def __init__(self
,this
):
330 val
= eventsc
.wxEraseEvent_GetDC(self
.this
)
334 return "<C wxEraseEvent instance>"
335 class wxEraseEvent(wxEraseEventPtr
):
336 def __init__(self
,this
):
342 class wxFocusEventPtr(wxEventPtr
):
343 def __init__(self
,this
):
347 return "<C wxFocusEvent instance>"
348 class wxFocusEvent(wxFocusEventPtr
):
349 def __init__(self
,this
):
355 class wxActivateEventPtr(wxEventPtr
):
356 def __init__(self
,this
):
360 val
= eventsc
.wxActivateEvent_GetActive(self
.this
)
363 return "<C wxActivateEvent instance>"
364 class wxActivateEvent(wxActivateEventPtr
):
365 def __init__(self
,this
):
371 class wxInitDialogEventPtr(wxEventPtr
):
372 def __init__(self
,this
):
376 return "<C wxInitDialogEvent instance>"
377 class wxInitDialogEvent(wxInitDialogEventPtr
):
378 def __init__(self
,this
):
384 class wxMenuEventPtr(wxEventPtr
):
385 def __init__(self
,this
):
389 val
= eventsc
.wxMenuEvent_GetMenuId(self
.this
)
392 return "<C wxMenuEvent instance>"
393 class wxMenuEvent(wxMenuEventPtr
):
394 def __init__(self
,this
):
400 class wxShowEventPtr(wxEventPtr
):
401 def __init__(self
,this
):
404 def SetShow(self
,arg0
):
405 val
= eventsc
.wxShowEvent_SetShow(self
.this
,arg0
)
408 val
= eventsc
.wxShowEvent_GetShow(self
.this
)
411 return "<C wxShowEvent instance>"
412 class wxShowEvent(wxShowEventPtr
):
413 def __init__(self
,this
):
419 class wxIconizeEventPtr(wxEventPtr
):
420 def __init__(self
,this
):
424 return "<C wxIconizeEvent instance>"
425 class wxIconizeEvent(wxIconizeEventPtr
):
426 def __init__(self
,this
):
432 class wxMaximizeEventPtr(wxEventPtr
):
433 def __init__(self
,this
):
437 return "<C wxMaximizeEvent instance>"
438 class wxMaximizeEvent(wxMaximizeEventPtr
):
439 def __init__(self
,this
):
445 class wxJoystickEventPtr(wxEventPtr
):
446 def __init__(self
,this
):
449 def GetPosition(self
):
450 val
= eventsc
.wxJoystickEvent_GetPosition(self
.this
)
451 val
= wxPointPtr(val
)
454 def GetZPosition(self
):
455 val
= eventsc
.wxJoystickEvent_GetZPosition(self
.this
)
457 def GetButtonState(self
):
458 val
= eventsc
.wxJoystickEvent_GetButtonState(self
.this
)
460 def GetButtonChange(self
):
461 val
= eventsc
.wxJoystickEvent_GetButtonChange(self
.this
)
463 def GetJoystick(self
):
464 val
= eventsc
.wxJoystickEvent_GetJoystick(self
.this
)
466 def SetJoystick(self
,arg0
):
467 val
= eventsc
.wxJoystickEvent_SetJoystick(self
.this
,arg0
)
469 def SetButtonState(self
,arg0
):
470 val
= eventsc
.wxJoystickEvent_SetButtonState(self
.this
,arg0
)
472 def SetButtonChange(self
,arg0
):
473 val
= eventsc
.wxJoystickEvent_SetButtonChange(self
.this
,arg0
)
475 def SetPosition(self
,arg0
):
476 val
= eventsc
.wxJoystickEvent_SetPosition(self
.this
,arg0
.this
)
478 def SetZPosition(self
,arg0
):
479 val
= eventsc
.wxJoystickEvent_SetZPosition(self
.this
,arg0
)
482 val
= eventsc
.wxJoystickEvent_IsButton(self
.this
)
485 val
= eventsc
.wxJoystickEvent_IsMove(self
.this
)
488 val
= eventsc
.wxJoystickEvent_IsZMove(self
.this
)
490 def ButtonDown(self
,*args
):
491 val
= apply(eventsc
.wxJoystickEvent_ButtonDown
,(self
.this
,)+args
)
493 def ButtonUp(self
,*args
):
494 val
= apply(eventsc
.wxJoystickEvent_ButtonUp
,(self
.this
,)+args
)
496 def ButtonIsDown(self
,*args
):
497 val
= apply(eventsc
.wxJoystickEvent_ButtonIsDown
,(self
.this
,)+args
)
500 return "<C wxJoystickEvent instance>"
501 class wxJoystickEvent(wxJoystickEventPtr
):
502 def __init__(self
,this
):
508 class wxDropFilesEventPtr(wxEventPtr
):
509 def __init__(self
,this
):
512 def GetPosition(self
):
513 val
= eventsc
.wxDropFilesEvent_GetPosition(self
.this
)
514 val
= wxPointPtr(val
)
517 def GetNumberOfFiles(self
):
518 val
= eventsc
.wxDropFilesEvent_GetNumberOfFiles(self
.this
)
521 val
= eventsc
.wxDropFilesEvent_GetFiles(self
.this
)
524 return "<C wxDropFilesEvent instance>"
525 class wxDropFilesEvent(wxDropFilesEventPtr
):
526 def __init__(self
,this
):
532 class wxIdleEventPtr(wxEventPtr
):
533 def __init__(self
,this
):
536 def RequestMore(self
,*args
):
537 val
= apply(eventsc
.wxIdleEvent_RequestMore
,(self
.this
,)+args
)
539 def MoreRequested(self
):
540 val
= eventsc
.wxIdleEvent_MoreRequested(self
.this
)
543 return "<C wxIdleEvent instance>"
544 class wxIdleEvent(wxIdleEventPtr
):
545 def __init__(self
,this
):
551 class wxUpdateUIEventPtr(wxEventPtr
):
552 def __init__(self
,this
):
555 def GetChecked(self
):
556 val
= eventsc
.wxUpdateUIEvent_GetChecked(self
.this
)
558 def GetEnabled(self
):
559 val
= eventsc
.wxUpdateUIEvent_GetEnabled(self
.this
)
562 val
= eventsc
.wxUpdateUIEvent_GetText(self
.this
)
564 def GetSetText(self
):
565 val
= eventsc
.wxUpdateUIEvent_GetSetText(self
.this
)
567 def GetSetChecked(self
):
568 val
= eventsc
.wxUpdateUIEvent_GetSetChecked(self
.this
)
570 def GetSetEnabled(self
):
571 val
= eventsc
.wxUpdateUIEvent_GetSetEnabled(self
.this
)
573 def Check(self
,arg0
):
574 val
= eventsc
.wxUpdateUIEvent_Check(self
.this
,arg0
)
576 def Enable(self
,arg0
):
577 val
= eventsc
.wxUpdateUIEvent_Enable(self
.this
,arg0
)
579 def SetText(self
,arg0
):
580 val
= eventsc
.wxUpdateUIEvent_SetText(self
.this
,arg0
)
583 return "<C wxUpdateUIEvent instance>"
584 class wxUpdateUIEvent(wxUpdateUIEventPtr
):
585 def __init__(self
,this
):
591 class wxSysColourChangedEventPtr(wxEventPtr
):
592 def __init__(self
,this
):
596 return "<C wxSysColourChangedEvent instance>"
597 class wxSysColourChangedEvent(wxSysColourChangedEventPtr
):
598 def __init__(self
,this
):
606 #-------------- FUNCTION WRAPPERS ------------------
610 #-------------- VARIABLE WRAPPERS ------------------