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 GetLoggingOff(self
):
71 val
= eventsc
.wxCloseEvent_GetLoggingOff(self
.this
)
74 val
= apply(eventsc
.wxCloseEvent_Veto
,(self
.this
,)+args
)
77 val
= eventsc
.wxCloseEvent_GetVeto(self
.this
)
79 def SetForce(self
,arg0
):
80 val
= eventsc
.wxCloseEvent_SetForce(self
.this
,arg0
)
83 val
= eventsc
.wxCloseEvent_GetForce(self
.this
)
86 return "<C wxCloseEvent instance>"
87 class wxCloseEvent(wxCloseEventPtr
):
88 def __init__(self
,this
):
94 class wxCommandEventPtr(wxEventPtr
):
95 def __init__(self
,this
):
99 val
= eventsc
.wxCommandEvent_Checked(self
.this
)
101 def GetExtraLong(self
):
102 val
= eventsc
.wxCommandEvent_GetExtraLong(self
.this
)
105 val
= eventsc
.wxCommandEvent_GetInt(self
.this
)
107 def GetSelection(self
):
108 val
= eventsc
.wxCommandEvent_GetSelection(self
.this
)
111 val
= eventsc
.wxCommandEvent_GetString(self
.this
)
113 def IsSelection(self
):
114 val
= eventsc
.wxCommandEvent_IsSelection(self
.this
)
117 return "<C wxCommandEvent instance>"
118 class wxCommandEvent(wxCommandEventPtr
):
119 def __init__(self
,this
):
125 class wxScrollEventPtr(wxCommandEventPtr
):
126 def __init__(self
,this
):
129 def GetOrientation(self
):
130 val
= eventsc
.wxScrollEvent_GetOrientation(self
.this
)
132 def GetPosition(self
):
133 val
= eventsc
.wxScrollEvent_GetPosition(self
.this
)
136 return "<C wxScrollEvent instance>"
137 class wxScrollEvent(wxScrollEventPtr
):
138 def __init__(self
,this
):
144 class wxSpinEventPtr(wxScrollEventPtr
):
145 def __init__(self
,this
):
149 return "<C wxSpinEvent instance>"
150 class wxSpinEvent(wxSpinEventPtr
):
151 def __init__(self
,this
):
157 class wxMouseEventPtr(wxEventPtr
):
158 def __init__(self
,this
):
162 val
= eventsc
.wxMouseEvent_IsButton(self
.this
)
164 def ButtonDown(self
,*args
):
165 val
= apply(eventsc
.wxMouseEvent_ButtonDown
,(self
.this
,)+args
)
167 def ButtonDClick(self
,*args
):
168 val
= apply(eventsc
.wxMouseEvent_ButtonDClick
,(self
.this
,)+args
)
170 def ButtonUp(self
,*args
):
171 val
= apply(eventsc
.wxMouseEvent_ButtonUp
,(self
.this
,)+args
)
173 def Button(self
,arg0
):
174 val
= eventsc
.wxMouseEvent_Button(self
.this
,arg0
)
176 def ButtonIsDown(self
,arg0
):
177 val
= eventsc
.wxMouseEvent_ButtonIsDown(self
.this
,arg0
)
179 def ControlDown(self
):
180 val
= eventsc
.wxMouseEvent_ControlDown(self
.this
)
183 val
= eventsc
.wxMouseEvent_MetaDown(self
.this
)
186 val
= eventsc
.wxMouseEvent_AltDown(self
.this
)
189 val
= eventsc
.wxMouseEvent_ShiftDown(self
.this
)
192 val
= eventsc
.wxMouseEvent_LeftDown(self
.this
)
194 def MiddleDown(self
):
195 val
= eventsc
.wxMouseEvent_MiddleDown(self
.this
)
198 val
= eventsc
.wxMouseEvent_RightDown(self
.this
)
201 val
= eventsc
.wxMouseEvent_LeftUp(self
.this
)
204 val
= eventsc
.wxMouseEvent_MiddleUp(self
.this
)
207 val
= eventsc
.wxMouseEvent_RightUp(self
.this
)
209 def LeftDClick(self
):
210 val
= eventsc
.wxMouseEvent_LeftDClick(self
.this
)
212 def MiddleDClick(self
):
213 val
= eventsc
.wxMouseEvent_MiddleDClick(self
.this
)
215 def RightDClick(self
):
216 val
= eventsc
.wxMouseEvent_RightDClick(self
.this
)
218 def LeftIsDown(self
):
219 val
= eventsc
.wxMouseEvent_LeftIsDown(self
.this
)
221 def MiddleIsDown(self
):
222 val
= eventsc
.wxMouseEvent_MiddleIsDown(self
.this
)
224 def RightIsDown(self
):
225 val
= eventsc
.wxMouseEvent_RightIsDown(self
.this
)
228 val
= eventsc
.wxMouseEvent_Dragging(self
.this
)
231 val
= eventsc
.wxMouseEvent_Moving(self
.this
)
234 val
= eventsc
.wxMouseEvent_Entering(self
.this
)
237 val
= eventsc
.wxMouseEvent_Leaving(self
.this
)
240 val
= eventsc
.wxMouseEvent_Position(self
.this
)
242 def GetPosition(self
):
243 val
= eventsc
.wxMouseEvent_GetPosition(self
.this
)
244 val
= wxPointPtr(val
)
247 def GetLogicalPosition(self
,arg0
):
248 val
= eventsc
.wxMouseEvent_GetLogicalPosition(self
.this
,arg0
.this
)
249 val
= wxPointPtr(val
)
253 val
= eventsc
.wxMouseEvent_GetX(self
.this
)
256 val
= eventsc
.wxMouseEvent_GetY(self
.this
)
259 return "<C wxMouseEvent instance>"
260 class wxMouseEvent(wxMouseEventPtr
):
261 def __init__(self
,this
):
267 class wxKeyEventPtr(wxEventPtr
):
268 def __init__(self
,this
):
271 def ControlDown(self
):
272 val
= eventsc
.wxKeyEvent_ControlDown(self
.this
)
275 val
= eventsc
.wxKeyEvent_MetaDown(self
.this
)
278 val
= eventsc
.wxKeyEvent_AltDown(self
.this
)
281 val
= eventsc
.wxKeyEvent_ShiftDown(self
.this
)
284 val
= eventsc
.wxKeyEvent_KeyCode(self
.this
)
287 val
= eventsc
.wxKeyEvent_Position(self
.this
)
290 val
= eventsc
.wxKeyEvent_GetX(self
.this
)
293 val
= eventsc
.wxKeyEvent_GetY(self
.this
)
296 return "<C wxKeyEvent instance>"
297 class wxKeyEvent(wxKeyEventPtr
):
298 def __init__(self
,this
):
304 class wxMoveEventPtr(wxEventPtr
):
305 def __init__(self
,this
):
308 def GetPosition(self
):
309 val
= eventsc
.wxMoveEvent_GetPosition(self
.this
)
310 val
= wxPointPtr(val
)
314 return "<C wxMoveEvent instance>"
315 class wxMoveEvent(wxMoveEventPtr
):
316 def __init__(self
,this
):
322 class wxPaintEventPtr(wxEventPtr
):
323 def __init__(self
,this
):
327 return "<C wxPaintEvent instance>"
328 class wxPaintEvent(wxPaintEventPtr
):
329 def __init__(self
,this
):
335 class wxEraseEventPtr(wxEventPtr
):
336 def __init__(self
,this
):
340 val
= eventsc
.wxEraseEvent_GetDC(self
.this
)
344 return "<C wxEraseEvent instance>"
345 class wxEraseEvent(wxEraseEventPtr
):
346 def __init__(self
,this
):
352 class wxFocusEventPtr(wxEventPtr
):
353 def __init__(self
,this
):
357 return "<C wxFocusEvent instance>"
358 class wxFocusEvent(wxFocusEventPtr
):
359 def __init__(self
,this
):
365 class wxActivateEventPtr(wxEventPtr
):
366 def __init__(self
,this
):
370 val
= eventsc
.wxActivateEvent_GetActive(self
.this
)
373 return "<C wxActivateEvent instance>"
374 class wxActivateEvent(wxActivateEventPtr
):
375 def __init__(self
,this
):
381 class wxInitDialogEventPtr(wxEventPtr
):
382 def __init__(self
,this
):
386 return "<C wxInitDialogEvent instance>"
387 class wxInitDialogEvent(wxInitDialogEventPtr
):
388 def __init__(self
,this
):
394 class wxMenuEventPtr(wxEventPtr
):
395 def __init__(self
,this
):
399 val
= eventsc
.wxMenuEvent_GetMenuId(self
.this
)
402 return "<C wxMenuEvent instance>"
403 class wxMenuEvent(wxMenuEventPtr
):
404 def __init__(self
,this
):
410 class wxShowEventPtr(wxEventPtr
):
411 def __init__(self
,this
):
414 def SetShow(self
,arg0
):
415 val
= eventsc
.wxShowEvent_SetShow(self
.this
,arg0
)
418 val
= eventsc
.wxShowEvent_GetShow(self
.this
)
421 return "<C wxShowEvent instance>"
422 class wxShowEvent(wxShowEventPtr
):
423 def __init__(self
,this
):
429 class wxIconizeEventPtr(wxEventPtr
):
430 def __init__(self
,this
):
434 return "<C wxIconizeEvent instance>"
435 class wxIconizeEvent(wxIconizeEventPtr
):
436 def __init__(self
,this
):
442 class wxMaximizeEventPtr(wxEventPtr
):
443 def __init__(self
,this
):
447 return "<C wxMaximizeEvent instance>"
448 class wxMaximizeEvent(wxMaximizeEventPtr
):
449 def __init__(self
,this
):
455 class wxJoystickEventPtr(wxEventPtr
):
456 def __init__(self
,this
):
459 def GetPosition(self
):
460 val
= eventsc
.wxJoystickEvent_GetPosition(self
.this
)
461 val
= wxPointPtr(val
)
464 def GetZPosition(self
):
465 val
= eventsc
.wxJoystickEvent_GetZPosition(self
.this
)
467 def GetButtonState(self
):
468 val
= eventsc
.wxJoystickEvent_GetButtonState(self
.this
)
470 def GetButtonChange(self
):
471 val
= eventsc
.wxJoystickEvent_GetButtonChange(self
.this
)
473 def GetJoystick(self
):
474 val
= eventsc
.wxJoystickEvent_GetJoystick(self
.this
)
476 def SetJoystick(self
,arg0
):
477 val
= eventsc
.wxJoystickEvent_SetJoystick(self
.this
,arg0
)
479 def SetButtonState(self
,arg0
):
480 val
= eventsc
.wxJoystickEvent_SetButtonState(self
.this
,arg0
)
482 def SetButtonChange(self
,arg0
):
483 val
= eventsc
.wxJoystickEvent_SetButtonChange(self
.this
,arg0
)
485 def SetPosition(self
,arg0
):
486 val
= eventsc
.wxJoystickEvent_SetPosition(self
.this
,arg0
.this
)
488 def SetZPosition(self
,arg0
):
489 val
= eventsc
.wxJoystickEvent_SetZPosition(self
.this
,arg0
)
492 val
= eventsc
.wxJoystickEvent_IsButton(self
.this
)
495 val
= eventsc
.wxJoystickEvent_IsMove(self
.this
)
498 val
= eventsc
.wxJoystickEvent_IsZMove(self
.this
)
500 def ButtonDown(self
,*args
):
501 val
= apply(eventsc
.wxJoystickEvent_ButtonDown
,(self
.this
,)+args
)
503 def ButtonUp(self
,*args
):
504 val
= apply(eventsc
.wxJoystickEvent_ButtonUp
,(self
.this
,)+args
)
506 def ButtonIsDown(self
,*args
):
507 val
= apply(eventsc
.wxJoystickEvent_ButtonIsDown
,(self
.this
,)+args
)
510 return "<C wxJoystickEvent instance>"
511 class wxJoystickEvent(wxJoystickEventPtr
):
512 def __init__(self
,this
):
518 class wxDropFilesEventPtr(wxEventPtr
):
519 def __init__(self
,this
):
522 def GetPosition(self
):
523 val
= eventsc
.wxDropFilesEvent_GetPosition(self
.this
)
524 val
= wxPointPtr(val
)
527 def GetNumberOfFiles(self
):
528 val
= eventsc
.wxDropFilesEvent_GetNumberOfFiles(self
.this
)
531 val
= eventsc
.wxDropFilesEvent_GetFiles(self
.this
)
534 return "<C wxDropFilesEvent instance>"
535 class wxDropFilesEvent(wxDropFilesEventPtr
):
536 def __init__(self
,this
):
542 class wxIdleEventPtr(wxEventPtr
):
543 def __init__(self
,this
):
546 def RequestMore(self
,*args
):
547 val
= apply(eventsc
.wxIdleEvent_RequestMore
,(self
.this
,)+args
)
549 def MoreRequested(self
):
550 val
= eventsc
.wxIdleEvent_MoreRequested(self
.this
)
553 return "<C wxIdleEvent instance>"
554 class wxIdleEvent(wxIdleEventPtr
):
555 def __init__(self
,this
):
561 class wxUpdateUIEventPtr(wxEventPtr
):
562 def __init__(self
,this
):
565 def GetChecked(self
):
566 val
= eventsc
.wxUpdateUIEvent_GetChecked(self
.this
)
568 def GetEnabled(self
):
569 val
= eventsc
.wxUpdateUIEvent_GetEnabled(self
.this
)
572 val
= eventsc
.wxUpdateUIEvent_GetText(self
.this
)
574 def GetSetText(self
):
575 val
= eventsc
.wxUpdateUIEvent_GetSetText(self
.this
)
577 def GetSetChecked(self
):
578 val
= eventsc
.wxUpdateUIEvent_GetSetChecked(self
.this
)
580 def GetSetEnabled(self
):
581 val
= eventsc
.wxUpdateUIEvent_GetSetEnabled(self
.this
)
583 def Check(self
,arg0
):
584 val
= eventsc
.wxUpdateUIEvent_Check(self
.this
,arg0
)
586 def Enable(self
,arg0
):
587 val
= eventsc
.wxUpdateUIEvent_Enable(self
.this
,arg0
)
589 def SetText(self
,arg0
):
590 val
= eventsc
.wxUpdateUIEvent_SetText(self
.this
,arg0
)
593 return "<C wxUpdateUIEvent instance>"
594 class wxUpdateUIEvent(wxUpdateUIEventPtr
):
595 def __init__(self
,this
):
601 class wxSysColourChangedEventPtr(wxEventPtr
):
602 def __init__(self
,this
):
606 return "<C wxSysColourChangedEvent instance>"
607 class wxSysColourChangedEvent(wxSysColourChangedEventPtr
):
608 def __init__(self
,this
):
616 #-------------- FUNCTION WRAPPERS ------------------
620 #-------------- VARIABLE WRAPPERS ------------------