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 wxMouseEventPtr(wxEventPtr
):
145 def __init__(self
,this
):
149 val
= eventsc
.wxMouseEvent_IsButton(self
.this
)
151 def ButtonDown(self
,*args
):
152 val
= apply(eventsc
.wxMouseEvent_ButtonDown
,(self
.this
,)+args
)
154 def ButtonDClick(self
,*args
):
155 val
= apply(eventsc
.wxMouseEvent_ButtonDClick
,(self
.this
,)+args
)
157 def ButtonUp(self
,*args
):
158 val
= apply(eventsc
.wxMouseEvent_ButtonUp
,(self
.this
,)+args
)
160 def Button(self
,arg0
):
161 val
= eventsc
.wxMouseEvent_Button(self
.this
,arg0
)
163 def ButtonIsDown(self
,arg0
):
164 val
= eventsc
.wxMouseEvent_ButtonIsDown(self
.this
,arg0
)
166 def ControlDown(self
):
167 val
= eventsc
.wxMouseEvent_ControlDown(self
.this
)
170 val
= eventsc
.wxMouseEvent_MetaDown(self
.this
)
173 val
= eventsc
.wxMouseEvent_AltDown(self
.this
)
176 val
= eventsc
.wxMouseEvent_ShiftDown(self
.this
)
179 val
= eventsc
.wxMouseEvent_LeftDown(self
.this
)
181 def MiddleDown(self
):
182 val
= eventsc
.wxMouseEvent_MiddleDown(self
.this
)
185 val
= eventsc
.wxMouseEvent_RightDown(self
.this
)
188 val
= eventsc
.wxMouseEvent_LeftUp(self
.this
)
191 val
= eventsc
.wxMouseEvent_MiddleUp(self
.this
)
194 val
= eventsc
.wxMouseEvent_RightUp(self
.this
)
196 def LeftDClick(self
):
197 val
= eventsc
.wxMouseEvent_LeftDClick(self
.this
)
199 def MiddleDClick(self
):
200 val
= eventsc
.wxMouseEvent_MiddleDClick(self
.this
)
202 def RightDClick(self
):
203 val
= eventsc
.wxMouseEvent_RightDClick(self
.this
)
205 def LeftIsDown(self
):
206 val
= eventsc
.wxMouseEvent_LeftIsDown(self
.this
)
208 def MiddleIsDown(self
):
209 val
= eventsc
.wxMouseEvent_MiddleIsDown(self
.this
)
211 def RightIsDown(self
):
212 val
= eventsc
.wxMouseEvent_RightIsDown(self
.this
)
215 val
= eventsc
.wxMouseEvent_Dragging(self
.this
)
218 val
= eventsc
.wxMouseEvent_Moving(self
.this
)
221 val
= eventsc
.wxMouseEvent_Entering(self
.this
)
224 val
= eventsc
.wxMouseEvent_Leaving(self
.this
)
227 val
= eventsc
.wxMouseEvent_Position(self
.this
)
229 def GetPosition(self
):
230 val
= eventsc
.wxMouseEvent_GetPosition(self
.this
)
231 val
= wxPointPtr(val
)
234 def GetLogicalPosition(self
,arg0
):
235 val
= eventsc
.wxMouseEvent_GetLogicalPosition(self
.this
,arg0
.this
)
236 val
= wxPointPtr(val
)
240 val
= eventsc
.wxMouseEvent_GetX(self
.this
)
243 val
= eventsc
.wxMouseEvent_GetY(self
.this
)
246 return "<C wxMouseEvent instance>"
247 class wxMouseEvent(wxMouseEventPtr
):
248 def __init__(self
,this
):
254 class wxKeyEventPtr(wxEventPtr
):
255 def __init__(self
,this
):
258 def ControlDown(self
):
259 val
= eventsc
.wxKeyEvent_ControlDown(self
.this
)
262 val
= eventsc
.wxKeyEvent_MetaDown(self
.this
)
265 val
= eventsc
.wxKeyEvent_AltDown(self
.this
)
268 val
= eventsc
.wxKeyEvent_ShiftDown(self
.this
)
271 val
= eventsc
.wxKeyEvent_KeyCode(self
.this
)
274 val
= eventsc
.wxKeyEvent_Position(self
.this
)
277 val
= eventsc
.wxKeyEvent_GetX(self
.this
)
280 val
= eventsc
.wxKeyEvent_GetY(self
.this
)
283 return "<C wxKeyEvent instance>"
284 class wxKeyEvent(wxKeyEventPtr
):
285 def __init__(self
,this
):
291 class wxMoveEventPtr(wxEventPtr
):
292 def __init__(self
,this
):
295 def GetPosition(self
):
296 val
= eventsc
.wxMoveEvent_GetPosition(self
.this
)
297 val
= wxPointPtr(val
)
301 return "<C wxMoveEvent instance>"
302 class wxMoveEvent(wxMoveEventPtr
):
303 def __init__(self
,this
):
309 class wxPaintEventPtr(wxEventPtr
):
310 def __init__(self
,this
):
314 return "<C wxPaintEvent instance>"
315 class wxPaintEvent(wxPaintEventPtr
):
316 def __init__(self
,this
):
322 class wxEraseEventPtr(wxEventPtr
):
323 def __init__(self
,this
):
327 val
= eventsc
.wxEraseEvent_GetDC(self
.this
)
331 return "<C wxEraseEvent instance>"
332 class wxEraseEvent(wxEraseEventPtr
):
333 def __init__(self
,this
):
339 class wxFocusEventPtr(wxEventPtr
):
340 def __init__(self
,this
):
344 return "<C wxFocusEvent instance>"
345 class wxFocusEvent(wxFocusEventPtr
):
346 def __init__(self
,this
):
352 class wxActivateEventPtr(wxEventPtr
):
353 def __init__(self
,this
):
357 val
= eventsc
.wxActivateEvent_GetActive(self
.this
)
360 return "<C wxActivateEvent instance>"
361 class wxActivateEvent(wxActivateEventPtr
):
362 def __init__(self
,this
):
368 class wxInitDialogEventPtr(wxEventPtr
):
369 def __init__(self
,this
):
373 return "<C wxInitDialogEvent instance>"
374 class wxInitDialogEvent(wxInitDialogEventPtr
):
375 def __init__(self
,this
):
381 class wxMenuEventPtr(wxEventPtr
):
382 def __init__(self
,this
):
386 val
= eventsc
.wxMenuEvent_GetMenuId(self
.this
)
389 return "<C wxMenuEvent instance>"
390 class wxMenuEvent(wxMenuEventPtr
):
391 def __init__(self
,this
):
397 class wxShowEventPtr(wxEventPtr
):
398 def __init__(self
,this
):
401 def SetShow(self
,arg0
):
402 val
= eventsc
.wxShowEvent_SetShow(self
.this
,arg0
)
405 val
= eventsc
.wxShowEvent_GetShow(self
.this
)
408 return "<C wxShowEvent instance>"
409 class wxShowEvent(wxShowEventPtr
):
410 def __init__(self
,this
):
416 class wxIconizeEventPtr(wxEventPtr
):
417 def __init__(self
,this
):
421 return "<C wxIconizeEvent instance>"
422 class wxIconizeEvent(wxIconizeEventPtr
):
423 def __init__(self
,this
):
429 class wxMaximizeEventPtr(wxEventPtr
):
430 def __init__(self
,this
):
434 return "<C wxMaximizeEvent instance>"
435 class wxMaximizeEvent(wxMaximizeEventPtr
):
436 def __init__(self
,this
):
442 class wxJoystickEventPtr(wxEventPtr
):
443 def __init__(self
,this
):
446 def GetPosition(self
):
447 val
= eventsc
.wxJoystickEvent_GetPosition(self
.this
)
448 val
= wxPointPtr(val
)
451 def GetZPosition(self
):
452 val
= eventsc
.wxJoystickEvent_GetZPosition(self
.this
)
454 def GetButtonState(self
):
455 val
= eventsc
.wxJoystickEvent_GetButtonState(self
.this
)
457 def GetButtonChange(self
):
458 val
= eventsc
.wxJoystickEvent_GetButtonChange(self
.this
)
460 def GetJoystick(self
):
461 val
= eventsc
.wxJoystickEvent_GetJoystick(self
.this
)
463 def SetJoystick(self
,arg0
):
464 val
= eventsc
.wxJoystickEvent_SetJoystick(self
.this
,arg0
)
466 def SetButtonState(self
,arg0
):
467 val
= eventsc
.wxJoystickEvent_SetButtonState(self
.this
,arg0
)
469 def SetButtonChange(self
,arg0
):
470 val
= eventsc
.wxJoystickEvent_SetButtonChange(self
.this
,arg0
)
472 def SetPosition(self
,arg0
):
473 val
= eventsc
.wxJoystickEvent_SetPosition(self
.this
,arg0
.this
)
475 def SetZPosition(self
,arg0
):
476 val
= eventsc
.wxJoystickEvent_SetZPosition(self
.this
,arg0
)
479 val
= eventsc
.wxJoystickEvent_IsButton(self
.this
)
482 val
= eventsc
.wxJoystickEvent_IsMove(self
.this
)
485 val
= eventsc
.wxJoystickEvent_IsZMove(self
.this
)
487 def ButtonDown(self
,*args
):
488 val
= apply(eventsc
.wxJoystickEvent_ButtonDown
,(self
.this
,)+args
)
490 def ButtonUp(self
,*args
):
491 val
= apply(eventsc
.wxJoystickEvent_ButtonUp
,(self
.this
,)+args
)
493 def ButtonIsDown(self
,*args
):
494 val
= apply(eventsc
.wxJoystickEvent_ButtonIsDown
,(self
.this
,)+args
)
497 return "<C wxJoystickEvent instance>"
498 class wxJoystickEvent(wxJoystickEventPtr
):
499 def __init__(self
,this
):
505 class wxDropFilesEventPtr(wxEventPtr
):
506 def __init__(self
,this
):
509 def GetPosition(self
):
510 val
= eventsc
.wxDropFilesEvent_GetPosition(self
.this
)
511 val
= wxPointPtr(val
)
514 def GetNumberOfFiles(self
):
515 val
= eventsc
.wxDropFilesEvent_GetNumberOfFiles(self
.this
)
518 val
= eventsc
.wxDropFilesEvent_GetFiles(self
.this
)
521 return "<C wxDropFilesEvent instance>"
522 class wxDropFilesEvent(wxDropFilesEventPtr
):
523 def __init__(self
,this
):
529 class wxIdleEventPtr(wxEventPtr
):
530 def __init__(self
,this
):
533 def RequestMore(self
,*args
):
534 val
= apply(eventsc
.wxIdleEvent_RequestMore
,(self
.this
,)+args
)
536 def MoreRequested(self
):
537 val
= eventsc
.wxIdleEvent_MoreRequested(self
.this
)
540 return "<C wxIdleEvent instance>"
541 class wxIdleEvent(wxIdleEventPtr
):
542 def __init__(self
,this
):
548 class wxUpdateUIEventPtr(wxEventPtr
):
549 def __init__(self
,this
):
552 def GetChecked(self
):
553 val
= eventsc
.wxUpdateUIEvent_GetChecked(self
.this
)
555 def GetEnabled(self
):
556 val
= eventsc
.wxUpdateUIEvent_GetEnabled(self
.this
)
559 val
= eventsc
.wxUpdateUIEvent_GetText(self
.this
)
561 def GetSetText(self
):
562 val
= eventsc
.wxUpdateUIEvent_GetSetText(self
.this
)
564 def GetSetChecked(self
):
565 val
= eventsc
.wxUpdateUIEvent_GetSetChecked(self
.this
)
567 def GetSetEnabled(self
):
568 val
= eventsc
.wxUpdateUIEvent_GetSetEnabled(self
.this
)
570 def Check(self
,arg0
):
571 val
= eventsc
.wxUpdateUIEvent_Check(self
.this
,arg0
)
573 def Enable(self
,arg0
):
574 val
= eventsc
.wxUpdateUIEvent_Enable(self
.this
,arg0
)
576 def SetText(self
,arg0
):
577 val
= eventsc
.wxUpdateUIEvent_SetText(self
.this
,arg0
)
580 return "<C wxUpdateUIEvent instance>"
581 class wxUpdateUIEvent(wxUpdateUIEventPtr
):
582 def __init__(self
,this
):
588 class wxSysColourChangedEventPtr(wxEventPtr
):
589 def __init__(self
,this
):
593 return "<C wxSysColourChangedEvent instance>"
594 class wxSysColourChangedEvent(wxSysColourChangedEventPtr
):
595 def __init__(self
,this
):
603 #-------------- FUNCTION WRAPPERS ------------------
607 #-------------- VARIABLE WRAPPERS ------------------