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 SetLoggingOff(self
,arg0
):
71 val
= eventsc
.wxCloseEvent_SetLoggingOff(self
.this
,arg0
)
73 def GetLoggingOff(self
):
74 val
= eventsc
.wxCloseEvent_GetLoggingOff(self
.this
)
77 val
= apply(eventsc
.wxCloseEvent_Veto
,(self
.this
,)+args
)
80 val
= eventsc
.wxCloseEvent_CanVeto(self
.this
)
83 val
= eventsc
.wxCloseEvent_GetVeto(self
.this
)
85 def SetCanVeto(self
,arg0
):
86 val
= eventsc
.wxCloseEvent_SetCanVeto(self
.this
,arg0
)
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 wxSpinEventPtr(wxScrollEventPtr
):
148 def __init__(self
,this
):
152 return "<C wxSpinEvent instance>"
153 class wxSpinEvent(wxSpinEventPtr
):
154 def __init__(self
,this
):
160 class wxMouseEventPtr(wxEventPtr
):
161 def __init__(self
,this
):
165 val
= eventsc
.wxMouseEvent_IsButton(self
.this
)
167 def ButtonDown(self
,*args
):
168 val
= apply(eventsc
.wxMouseEvent_ButtonDown
,(self
.this
,)+args
)
170 def ButtonDClick(self
,*args
):
171 val
= apply(eventsc
.wxMouseEvent_ButtonDClick
,(self
.this
,)+args
)
173 def ButtonUp(self
,*args
):
174 val
= apply(eventsc
.wxMouseEvent_ButtonUp
,(self
.this
,)+args
)
176 def Button(self
,arg0
):
177 val
= eventsc
.wxMouseEvent_Button(self
.this
,arg0
)
179 def ButtonIsDown(self
,arg0
):
180 val
= eventsc
.wxMouseEvent_ButtonIsDown(self
.this
,arg0
)
182 def ControlDown(self
):
183 val
= eventsc
.wxMouseEvent_ControlDown(self
.this
)
186 val
= eventsc
.wxMouseEvent_MetaDown(self
.this
)
189 val
= eventsc
.wxMouseEvent_AltDown(self
.this
)
192 val
= eventsc
.wxMouseEvent_ShiftDown(self
.this
)
195 val
= eventsc
.wxMouseEvent_LeftDown(self
.this
)
197 def MiddleDown(self
):
198 val
= eventsc
.wxMouseEvent_MiddleDown(self
.this
)
201 val
= eventsc
.wxMouseEvent_RightDown(self
.this
)
204 val
= eventsc
.wxMouseEvent_LeftUp(self
.this
)
207 val
= eventsc
.wxMouseEvent_MiddleUp(self
.this
)
210 val
= eventsc
.wxMouseEvent_RightUp(self
.this
)
212 def LeftDClick(self
):
213 val
= eventsc
.wxMouseEvent_LeftDClick(self
.this
)
215 def MiddleDClick(self
):
216 val
= eventsc
.wxMouseEvent_MiddleDClick(self
.this
)
218 def RightDClick(self
):
219 val
= eventsc
.wxMouseEvent_RightDClick(self
.this
)
221 def LeftIsDown(self
):
222 val
= eventsc
.wxMouseEvent_LeftIsDown(self
.this
)
224 def MiddleIsDown(self
):
225 val
= eventsc
.wxMouseEvent_MiddleIsDown(self
.this
)
227 def RightIsDown(self
):
228 val
= eventsc
.wxMouseEvent_RightIsDown(self
.this
)
231 val
= eventsc
.wxMouseEvent_Dragging(self
.this
)
234 val
= eventsc
.wxMouseEvent_Moving(self
.this
)
237 val
= eventsc
.wxMouseEvent_Entering(self
.this
)
240 val
= eventsc
.wxMouseEvent_Leaving(self
.this
)
243 val
= eventsc
.wxMouseEvent_Position(self
.this
)
245 def GetPosition(self
):
246 val
= eventsc
.wxMouseEvent_GetPosition(self
.this
)
247 val
= wxPointPtr(val
)
250 def GetLogicalPosition(self
,arg0
):
251 val
= eventsc
.wxMouseEvent_GetLogicalPosition(self
.this
,arg0
.this
)
252 val
= wxPointPtr(val
)
256 val
= eventsc
.wxMouseEvent_GetX(self
.this
)
259 val
= eventsc
.wxMouseEvent_GetY(self
.this
)
262 return "<C wxMouseEvent instance>"
263 class wxMouseEvent(wxMouseEventPtr
):
264 def __init__(self
,this
):
270 class wxKeyEventPtr(wxEventPtr
):
271 def __init__(self
,this
):
274 def ControlDown(self
):
275 val
= eventsc
.wxKeyEvent_ControlDown(self
.this
)
278 val
= eventsc
.wxKeyEvent_MetaDown(self
.this
)
281 val
= eventsc
.wxKeyEvent_AltDown(self
.this
)
284 val
= eventsc
.wxKeyEvent_ShiftDown(self
.this
)
287 val
= eventsc
.wxKeyEvent_KeyCode(self
.this
)
290 return "<C wxKeyEvent instance>"
291 class wxKeyEvent(wxKeyEventPtr
):
292 def __init__(self
,this
):
298 class wxMoveEventPtr(wxEventPtr
):
299 def __init__(self
,this
):
302 def GetPosition(self
):
303 val
= eventsc
.wxMoveEvent_GetPosition(self
.this
)
304 val
= wxPointPtr(val
)
308 return "<C wxMoveEvent instance>"
309 class wxMoveEvent(wxMoveEventPtr
):
310 def __init__(self
,this
):
316 class wxPaintEventPtr(wxEventPtr
):
317 def __init__(self
,this
):
321 return "<C wxPaintEvent instance>"
322 class wxPaintEvent(wxPaintEventPtr
):
323 def __init__(self
,this
):
329 class wxEraseEventPtr(wxEventPtr
):
330 def __init__(self
,this
):
334 val
= eventsc
.wxEraseEvent_GetDC(self
.this
)
338 return "<C wxEraseEvent instance>"
339 class wxEraseEvent(wxEraseEventPtr
):
340 def __init__(self
,this
):
346 class wxFocusEventPtr(wxEventPtr
):
347 def __init__(self
,this
):
351 return "<C wxFocusEvent instance>"
352 class wxFocusEvent(wxFocusEventPtr
):
353 def __init__(self
,this
):
359 class wxActivateEventPtr(wxEventPtr
):
360 def __init__(self
,this
):
364 val
= eventsc
.wxActivateEvent_GetActive(self
.this
)
367 return "<C wxActivateEvent instance>"
368 class wxActivateEvent(wxActivateEventPtr
):
369 def __init__(self
,this
):
375 class wxInitDialogEventPtr(wxEventPtr
):
376 def __init__(self
,this
):
380 return "<C wxInitDialogEvent instance>"
381 class wxInitDialogEvent(wxInitDialogEventPtr
):
382 def __init__(self
,this
):
388 class wxMenuEventPtr(wxEventPtr
):
389 def __init__(self
,this
):
393 val
= eventsc
.wxMenuEvent_GetMenuId(self
.this
)
396 return "<C wxMenuEvent instance>"
397 class wxMenuEvent(wxMenuEventPtr
):
398 def __init__(self
,this
):
404 class wxShowEventPtr(wxEventPtr
):
405 def __init__(self
,this
):
408 def SetShow(self
,arg0
):
409 val
= eventsc
.wxShowEvent_SetShow(self
.this
,arg0
)
412 val
= eventsc
.wxShowEvent_GetShow(self
.this
)
415 return "<C wxShowEvent instance>"
416 class wxShowEvent(wxShowEventPtr
):
417 def __init__(self
,this
):
423 class wxIconizeEventPtr(wxEventPtr
):
424 def __init__(self
,this
):
428 return "<C wxIconizeEvent instance>"
429 class wxIconizeEvent(wxIconizeEventPtr
):
430 def __init__(self
,this
):
436 class wxMaximizeEventPtr(wxEventPtr
):
437 def __init__(self
,this
):
441 return "<C wxMaximizeEvent instance>"
442 class wxMaximizeEvent(wxMaximizeEventPtr
):
443 def __init__(self
,this
):
449 class wxJoystickEventPtr(wxEventPtr
):
450 def __init__(self
,this
):
453 def GetPosition(self
):
454 val
= eventsc
.wxJoystickEvent_GetPosition(self
.this
)
455 val
= wxPointPtr(val
)
458 def GetZPosition(self
):
459 val
= eventsc
.wxJoystickEvent_GetZPosition(self
.this
)
461 def GetButtonState(self
):
462 val
= eventsc
.wxJoystickEvent_GetButtonState(self
.this
)
464 def GetButtonChange(self
):
465 val
= eventsc
.wxJoystickEvent_GetButtonChange(self
.this
)
467 def GetJoystick(self
):
468 val
= eventsc
.wxJoystickEvent_GetJoystick(self
.this
)
470 def SetJoystick(self
,arg0
):
471 val
= eventsc
.wxJoystickEvent_SetJoystick(self
.this
,arg0
)
473 def SetButtonState(self
,arg0
):
474 val
= eventsc
.wxJoystickEvent_SetButtonState(self
.this
,arg0
)
476 def SetButtonChange(self
,arg0
):
477 val
= eventsc
.wxJoystickEvent_SetButtonChange(self
.this
,arg0
)
479 def SetPosition(self
,arg0
):
480 val
= eventsc
.wxJoystickEvent_SetPosition(self
.this
,arg0
.this
)
482 def SetZPosition(self
,arg0
):
483 val
= eventsc
.wxJoystickEvent_SetZPosition(self
.this
,arg0
)
486 val
= eventsc
.wxJoystickEvent_IsButton(self
.this
)
489 val
= eventsc
.wxJoystickEvent_IsMove(self
.this
)
492 val
= eventsc
.wxJoystickEvent_IsZMove(self
.this
)
494 def ButtonDown(self
,*args
):
495 val
= apply(eventsc
.wxJoystickEvent_ButtonDown
,(self
.this
,)+args
)
497 def ButtonUp(self
,*args
):
498 val
= apply(eventsc
.wxJoystickEvent_ButtonUp
,(self
.this
,)+args
)
500 def ButtonIsDown(self
,*args
):
501 val
= apply(eventsc
.wxJoystickEvent_ButtonIsDown
,(self
.this
,)+args
)
504 return "<C wxJoystickEvent instance>"
505 class wxJoystickEvent(wxJoystickEventPtr
):
506 def __init__(self
,this
):
512 class wxDropFilesEventPtr(wxEventPtr
):
513 def __init__(self
,this
):
516 def GetPosition(self
):
517 val
= eventsc
.wxDropFilesEvent_GetPosition(self
.this
)
518 val
= wxPointPtr(val
)
521 def GetNumberOfFiles(self
):
522 val
= eventsc
.wxDropFilesEvent_GetNumberOfFiles(self
.this
)
525 val
= eventsc
.wxDropFilesEvent_GetFiles(self
.this
)
528 return "<C wxDropFilesEvent instance>"
529 class wxDropFilesEvent(wxDropFilesEventPtr
):
530 def __init__(self
,this
):
536 class wxIdleEventPtr(wxEventPtr
):
537 def __init__(self
,this
):
540 def RequestMore(self
,*args
):
541 val
= apply(eventsc
.wxIdleEvent_RequestMore
,(self
.this
,)+args
)
543 def MoreRequested(self
):
544 val
= eventsc
.wxIdleEvent_MoreRequested(self
.this
)
547 return "<C wxIdleEvent instance>"
548 class wxIdleEvent(wxIdleEventPtr
):
549 def __init__(self
,this
):
555 class wxUpdateUIEventPtr(wxEventPtr
):
556 def __init__(self
,this
):
559 def GetChecked(self
):
560 val
= eventsc
.wxUpdateUIEvent_GetChecked(self
.this
)
562 def GetEnabled(self
):
563 val
= eventsc
.wxUpdateUIEvent_GetEnabled(self
.this
)
566 val
= eventsc
.wxUpdateUIEvent_GetText(self
.this
)
568 def GetSetText(self
):
569 val
= eventsc
.wxUpdateUIEvent_GetSetText(self
.this
)
571 def GetSetChecked(self
):
572 val
= eventsc
.wxUpdateUIEvent_GetSetChecked(self
.this
)
574 def GetSetEnabled(self
):
575 val
= eventsc
.wxUpdateUIEvent_GetSetEnabled(self
.this
)
577 def Check(self
,arg0
):
578 val
= eventsc
.wxUpdateUIEvent_Check(self
.this
,arg0
)
580 def Enable(self
,arg0
):
581 val
= eventsc
.wxUpdateUIEvent_Enable(self
.this
,arg0
)
583 def SetText(self
,arg0
):
584 val
= eventsc
.wxUpdateUIEvent_SetText(self
.this
,arg0
)
587 return "<C wxUpdateUIEvent instance>"
588 class wxUpdateUIEvent(wxUpdateUIEventPtr
):
589 def __init__(self
,this
):
595 class wxSysColourChangedEventPtr(wxEventPtr
):
596 def __init__(self
,this
):
600 return "<C wxSysColourChangedEvent instance>"
601 class wxSysColourChangedEvent(wxSysColourChangedEventPtr
):
602 def __init__(self
,this
):
610 #-------------- FUNCTION WRAPPERS ------------------
614 #-------------- VARIABLE WRAPPERS ------------------