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
):
71 val
= eventsc
.wxCloseEvent_CanVeto(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
)
85 def SetCanVeto(self
,arg0
):
86 val
= eventsc
.wxCloseEvent_SetCanVeto(self
.this
,arg0
)
88 def SetLoggingOff(self
,arg0
):
89 val
= eventsc
.wxCloseEvent_SetLoggingOff(self
.this
,arg0
)
92 val
= eventsc
.wxCloseEvent_GetForce(self
.this
)
95 return "<C wxCloseEvent instance>"
96 class wxCloseEvent(wxCloseEventPtr
):
97 def __init__(self
,this
):
103 class wxCommandEventPtr(wxEventPtr
):
104 def __init__(self
,this
):
108 val
= eventsc
.wxCommandEvent_Checked(self
.this
)
110 def GetExtraLong(self
):
111 val
= eventsc
.wxCommandEvent_GetExtraLong(self
.this
)
114 val
= eventsc
.wxCommandEvent_GetInt(self
.this
)
116 def GetSelection(self
):
117 val
= eventsc
.wxCommandEvent_GetSelection(self
.this
)
120 val
= eventsc
.wxCommandEvent_GetString(self
.this
)
122 def IsSelection(self
):
123 val
= eventsc
.wxCommandEvent_IsSelection(self
.this
)
126 return "<C wxCommandEvent instance>"
127 class wxCommandEvent(wxCommandEventPtr
):
128 def __init__(self
,this
):
134 class wxScrollEventPtr(wxCommandEventPtr
):
135 def __init__(self
,this
):
138 def GetOrientation(self
):
139 val
= eventsc
.wxScrollEvent_GetOrientation(self
.this
)
141 def GetPosition(self
):
142 val
= eventsc
.wxScrollEvent_GetPosition(self
.this
)
145 return "<C wxScrollEvent instance>"
146 class wxScrollEvent(wxScrollEventPtr
):
147 def __init__(self
,this
):
153 class wxSpinEventPtr(wxScrollEventPtr
):
154 def __init__(self
,this
):
158 return "<C wxSpinEvent instance>"
159 class wxSpinEvent(wxSpinEventPtr
):
160 def __init__(self
,this
):
166 class wxMouseEventPtr(wxEventPtr
):
167 def __init__(self
,this
):
171 val
= eventsc
.wxMouseEvent_IsButton(self
.this
)
173 def ButtonDown(self
,*args
):
174 val
= apply(eventsc
.wxMouseEvent_ButtonDown
,(self
.this
,)+args
)
176 def ButtonDClick(self
,*args
):
177 val
= apply(eventsc
.wxMouseEvent_ButtonDClick
,(self
.this
,)+args
)
179 def ButtonUp(self
,*args
):
180 val
= apply(eventsc
.wxMouseEvent_ButtonUp
,(self
.this
,)+args
)
182 def Button(self
,arg0
):
183 val
= eventsc
.wxMouseEvent_Button(self
.this
,arg0
)
185 def ButtonIsDown(self
,arg0
):
186 val
= eventsc
.wxMouseEvent_ButtonIsDown(self
.this
,arg0
)
188 def ControlDown(self
):
189 val
= eventsc
.wxMouseEvent_ControlDown(self
.this
)
192 val
= eventsc
.wxMouseEvent_MetaDown(self
.this
)
195 val
= eventsc
.wxMouseEvent_AltDown(self
.this
)
198 val
= eventsc
.wxMouseEvent_ShiftDown(self
.this
)
201 val
= eventsc
.wxMouseEvent_LeftDown(self
.this
)
203 def MiddleDown(self
):
204 val
= eventsc
.wxMouseEvent_MiddleDown(self
.this
)
207 val
= eventsc
.wxMouseEvent_RightDown(self
.this
)
210 val
= eventsc
.wxMouseEvent_LeftUp(self
.this
)
213 val
= eventsc
.wxMouseEvent_MiddleUp(self
.this
)
216 val
= eventsc
.wxMouseEvent_RightUp(self
.this
)
218 def LeftDClick(self
):
219 val
= eventsc
.wxMouseEvent_LeftDClick(self
.this
)
221 def MiddleDClick(self
):
222 val
= eventsc
.wxMouseEvent_MiddleDClick(self
.this
)
224 def RightDClick(self
):
225 val
= eventsc
.wxMouseEvent_RightDClick(self
.this
)
227 def LeftIsDown(self
):
228 val
= eventsc
.wxMouseEvent_LeftIsDown(self
.this
)
230 def MiddleIsDown(self
):
231 val
= eventsc
.wxMouseEvent_MiddleIsDown(self
.this
)
233 def RightIsDown(self
):
234 val
= eventsc
.wxMouseEvent_RightIsDown(self
.this
)
237 val
= eventsc
.wxMouseEvent_Dragging(self
.this
)
240 val
= eventsc
.wxMouseEvent_Moving(self
.this
)
243 val
= eventsc
.wxMouseEvent_Entering(self
.this
)
246 val
= eventsc
.wxMouseEvent_Leaving(self
.this
)
249 val
= eventsc
.wxMouseEvent_Position(self
.this
)
251 def GetPosition(self
):
252 val
= eventsc
.wxMouseEvent_GetPosition(self
.this
)
253 val
= wxPointPtr(val
)
256 def GetLogicalPosition(self
,arg0
):
257 val
= eventsc
.wxMouseEvent_GetLogicalPosition(self
.this
,arg0
.this
)
258 val
= wxPointPtr(val
)
262 val
= eventsc
.wxMouseEvent_GetX(self
.this
)
265 val
= eventsc
.wxMouseEvent_GetY(self
.this
)
268 return "<C wxMouseEvent instance>"
269 class wxMouseEvent(wxMouseEventPtr
):
270 def __init__(self
,this
):
276 class wxKeyEventPtr(wxEventPtr
):
277 def __init__(self
,this
):
280 def ControlDown(self
):
281 val
= eventsc
.wxKeyEvent_ControlDown(self
.this
)
284 val
= eventsc
.wxKeyEvent_MetaDown(self
.this
)
287 val
= eventsc
.wxKeyEvent_AltDown(self
.this
)
290 val
= eventsc
.wxKeyEvent_ShiftDown(self
.this
)
293 val
= eventsc
.wxKeyEvent_KeyCode(self
.this
)
296 val
= eventsc
.wxKeyEvent_Position(self
.this
)
299 val
= eventsc
.wxKeyEvent_GetX(self
.this
)
302 val
= eventsc
.wxKeyEvent_GetY(self
.this
)
305 return "<C wxKeyEvent instance>"
306 class wxKeyEvent(wxKeyEventPtr
):
307 def __init__(self
,this
):
313 class wxMoveEventPtr(wxEventPtr
):
314 def __init__(self
,this
):
317 def GetPosition(self
):
318 val
= eventsc
.wxMoveEvent_GetPosition(self
.this
)
319 val
= wxPointPtr(val
)
323 return "<C wxMoveEvent instance>"
324 class wxMoveEvent(wxMoveEventPtr
):
325 def __init__(self
,this
):
331 class wxPaintEventPtr(wxEventPtr
):
332 def __init__(self
,this
):
336 return "<C wxPaintEvent instance>"
337 class wxPaintEvent(wxPaintEventPtr
):
338 def __init__(self
,this
):
344 class wxEraseEventPtr(wxEventPtr
):
345 def __init__(self
,this
):
349 val
= eventsc
.wxEraseEvent_GetDC(self
.this
)
353 return "<C wxEraseEvent instance>"
354 class wxEraseEvent(wxEraseEventPtr
):
355 def __init__(self
,this
):
361 class wxFocusEventPtr(wxEventPtr
):
362 def __init__(self
,this
):
366 return "<C wxFocusEvent instance>"
367 class wxFocusEvent(wxFocusEventPtr
):
368 def __init__(self
,this
):
374 class wxActivateEventPtr(wxEventPtr
):
375 def __init__(self
,this
):
379 val
= eventsc
.wxActivateEvent_GetActive(self
.this
)
382 return "<C wxActivateEvent instance>"
383 class wxActivateEvent(wxActivateEventPtr
):
384 def __init__(self
,this
):
390 class wxInitDialogEventPtr(wxEventPtr
):
391 def __init__(self
,this
):
395 return "<C wxInitDialogEvent instance>"
396 class wxInitDialogEvent(wxInitDialogEventPtr
):
397 def __init__(self
,this
):
403 class wxMenuEventPtr(wxEventPtr
):
404 def __init__(self
,this
):
408 val
= eventsc
.wxMenuEvent_GetMenuId(self
.this
)
411 return "<C wxMenuEvent instance>"
412 class wxMenuEvent(wxMenuEventPtr
):
413 def __init__(self
,this
):
419 class wxShowEventPtr(wxEventPtr
):
420 def __init__(self
,this
):
423 def SetShow(self
,arg0
):
424 val
= eventsc
.wxShowEvent_SetShow(self
.this
,arg0
)
427 val
= eventsc
.wxShowEvent_GetShow(self
.this
)
430 return "<C wxShowEvent instance>"
431 class wxShowEvent(wxShowEventPtr
):
432 def __init__(self
,this
):
438 class wxIconizeEventPtr(wxEventPtr
):
439 def __init__(self
,this
):
443 return "<C wxIconizeEvent instance>"
444 class wxIconizeEvent(wxIconizeEventPtr
):
445 def __init__(self
,this
):
451 class wxMaximizeEventPtr(wxEventPtr
):
452 def __init__(self
,this
):
456 return "<C wxMaximizeEvent instance>"
457 class wxMaximizeEvent(wxMaximizeEventPtr
):
458 def __init__(self
,this
):
464 class wxJoystickEventPtr(wxEventPtr
):
465 def __init__(self
,this
):
468 def GetPosition(self
):
469 val
= eventsc
.wxJoystickEvent_GetPosition(self
.this
)
470 val
= wxPointPtr(val
)
473 def GetZPosition(self
):
474 val
= eventsc
.wxJoystickEvent_GetZPosition(self
.this
)
476 def GetButtonState(self
):
477 val
= eventsc
.wxJoystickEvent_GetButtonState(self
.this
)
479 def GetButtonChange(self
):
480 val
= eventsc
.wxJoystickEvent_GetButtonChange(self
.this
)
482 def GetJoystick(self
):
483 val
= eventsc
.wxJoystickEvent_GetJoystick(self
.this
)
485 def SetJoystick(self
,arg0
):
486 val
= eventsc
.wxJoystickEvent_SetJoystick(self
.this
,arg0
)
488 def SetButtonState(self
,arg0
):
489 val
= eventsc
.wxJoystickEvent_SetButtonState(self
.this
,arg0
)
491 def SetButtonChange(self
,arg0
):
492 val
= eventsc
.wxJoystickEvent_SetButtonChange(self
.this
,arg0
)
494 def SetPosition(self
,arg0
):
495 val
= eventsc
.wxJoystickEvent_SetPosition(self
.this
,arg0
.this
)
497 def SetZPosition(self
,arg0
):
498 val
= eventsc
.wxJoystickEvent_SetZPosition(self
.this
,arg0
)
501 val
= eventsc
.wxJoystickEvent_IsButton(self
.this
)
504 val
= eventsc
.wxJoystickEvent_IsMove(self
.this
)
507 val
= eventsc
.wxJoystickEvent_IsZMove(self
.this
)
509 def ButtonDown(self
,*args
):
510 val
= apply(eventsc
.wxJoystickEvent_ButtonDown
,(self
.this
,)+args
)
512 def ButtonUp(self
,*args
):
513 val
= apply(eventsc
.wxJoystickEvent_ButtonUp
,(self
.this
,)+args
)
515 def ButtonIsDown(self
,*args
):
516 val
= apply(eventsc
.wxJoystickEvent_ButtonIsDown
,(self
.this
,)+args
)
519 return "<C wxJoystickEvent instance>"
520 class wxJoystickEvent(wxJoystickEventPtr
):
521 def __init__(self
,this
):
527 class wxDropFilesEventPtr(wxEventPtr
):
528 def __init__(self
,this
):
531 def GetPosition(self
):
532 val
= eventsc
.wxDropFilesEvent_GetPosition(self
.this
)
533 val
= wxPointPtr(val
)
536 def GetNumberOfFiles(self
):
537 val
= eventsc
.wxDropFilesEvent_GetNumberOfFiles(self
.this
)
540 val
= eventsc
.wxDropFilesEvent_GetFiles(self
.this
)
543 return "<C wxDropFilesEvent instance>"
544 class wxDropFilesEvent(wxDropFilesEventPtr
):
545 def __init__(self
,this
):
551 class wxIdleEventPtr(wxEventPtr
):
552 def __init__(self
,this
):
555 def RequestMore(self
,*args
):
556 val
= apply(eventsc
.wxIdleEvent_RequestMore
,(self
.this
,)+args
)
558 def MoreRequested(self
):
559 val
= eventsc
.wxIdleEvent_MoreRequested(self
.this
)
562 return "<C wxIdleEvent instance>"
563 class wxIdleEvent(wxIdleEventPtr
):
564 def __init__(self
,this
):
570 class wxUpdateUIEventPtr(wxEventPtr
):
571 def __init__(self
,this
):
574 def GetChecked(self
):
575 val
= eventsc
.wxUpdateUIEvent_GetChecked(self
.this
)
577 def GetEnabled(self
):
578 val
= eventsc
.wxUpdateUIEvent_GetEnabled(self
.this
)
581 val
= eventsc
.wxUpdateUIEvent_GetText(self
.this
)
583 def GetSetText(self
):
584 val
= eventsc
.wxUpdateUIEvent_GetSetText(self
.this
)
586 def GetSetChecked(self
):
587 val
= eventsc
.wxUpdateUIEvent_GetSetChecked(self
.this
)
589 def GetSetEnabled(self
):
590 val
= eventsc
.wxUpdateUIEvent_GetSetEnabled(self
.this
)
592 def Check(self
,arg0
):
593 val
= eventsc
.wxUpdateUIEvent_Check(self
.this
,arg0
)
595 def Enable(self
,arg0
):
596 val
= eventsc
.wxUpdateUIEvent_Enable(self
.this
,arg0
)
598 def SetText(self
,arg0
):
599 val
= eventsc
.wxUpdateUIEvent_SetText(self
.this
,arg0
)
602 return "<C wxUpdateUIEvent instance>"
603 class wxUpdateUIEvent(wxUpdateUIEventPtr
):
604 def __init__(self
,this
):
610 class wxSysColourChangedEventPtr(wxEventPtr
):
611 def __init__(self
,this
):
615 return "<C wxSysColourChangedEvent instance>"
616 class wxSysColourChangedEvent(wxSysColourChangedEventPtr
):
617 def __init__(self
,this
):
625 #-------------- FUNCTION WRAPPERS ------------------
629 #-------------- VARIABLE WRAPPERS ------------------