]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/msw/events.py
Added event class constructors
[wxWidgets.git] / utils / wxPython / src / msw / events.py
CommitLineData
8ab979d7
RD
1# This file was created automatically by SWIG.
2import eventsc
3
4from misc import *
5class wxEventPtr :
6 def __init__(self,this):
7 self.this = this
8 self.thisown = 0
1d99702e
RD
9 def GetEventObject(self, *_args, **_kwargs):
10 val = apply(eventsc.wxEvent_GetEventObject,(self,) + _args, _kwargs)
8ab979d7 11 return val
1d99702e
RD
12 def GetEventType(self, *_args, **_kwargs):
13 val = apply(eventsc.wxEvent_GetEventType,(self,) + _args, _kwargs)
8ab979d7 14 return val
1d99702e
RD
15 def GetId(self, *_args, **_kwargs):
16 val = apply(eventsc.wxEvent_GetId,(self,) + _args, _kwargs)
8ab979d7 17 return val
1d99702e
RD
18 def GetSkipped(self, *_args, **_kwargs):
19 val = apply(eventsc.wxEvent_GetSkipped,(self,) + _args, _kwargs)
8ab979d7 20 return val
1d99702e
RD
21 def GetTimestamp(self, *_args, **_kwargs):
22 val = apply(eventsc.wxEvent_GetTimestamp,(self,) + _args, _kwargs)
8ab979d7 23 return val
1d99702e
RD
24 def SetEventObject(self, *_args, **_kwargs):
25 val = apply(eventsc.wxEvent_SetEventObject,(self,) + _args, _kwargs)
8ab979d7 26 return val
1d99702e
RD
27 def SetEventType(self, *_args, **_kwargs):
28 val = apply(eventsc.wxEvent_SetEventType,(self,) + _args, _kwargs)
8ab979d7 29 return val
1d99702e
RD
30 def SetId(self, *_args, **_kwargs):
31 val = apply(eventsc.wxEvent_SetId,(self,) + _args, _kwargs)
8ab979d7 32 return val
1d99702e
RD
33 def SetTimestamp(self, *_args, **_kwargs):
34 val = apply(eventsc.wxEvent_SetTimestamp,(self,) + _args, _kwargs)
8ab979d7 35 return val
1d99702e
RD
36 def Skip(self, *_args, **_kwargs):
37 val = apply(eventsc.wxEvent_Skip,(self,) + _args, _kwargs)
8ab979d7
RD
38 return val
39 def __repr__(self):
1d99702e 40 return "<C wxEvent instance at %s>" % (self.this,)
8ab979d7
RD
41class wxEvent(wxEventPtr):
42 def __init__(self,this):
43 self.this = this
44
45
46
47
48class wxSizeEventPtr(wxEventPtr):
49 def __init__(self,this):
50 self.this = this
51 self.thisown = 0
1d99702e
RD
52 def GetSize(self, *_args, **_kwargs):
53 val = apply(eventsc.wxSizeEvent_GetSize,(self,) + _args, _kwargs)
54 if val: val = wxSizePtr(val) ; val.thisown = 1
8ab979d7
RD
55 return val
56 def __repr__(self):
1d99702e 57 return "<C wxSizeEvent instance at %s>" % (self.this,)
8ab979d7
RD
58class wxSizeEvent(wxSizeEventPtr):
59 def __init__(self,this):
60 self.this = this
61
62
63
64
65class wxCloseEventPtr(wxEventPtr):
66 def __init__(self,this):
67 self.this = this
68 self.thisown = 0
1d99702e
RD
69 def SetLoggingOff(self, *_args, **_kwargs):
70 val = apply(eventsc.wxCloseEvent_SetLoggingOff,(self,) + _args, _kwargs)
b8b8dda7 71 return val
1d99702e
RD
72 def GetLoggingOff(self, *_args, **_kwargs):
73 val = apply(eventsc.wxCloseEvent_GetLoggingOff,(self,) + _args, _kwargs)
8ab979d7 74 return val
1d99702e
RD
75 def Veto(self, *_args, **_kwargs):
76 val = apply(eventsc.wxCloseEvent_Veto,(self,) + _args, _kwargs)
8ab979d7 77 return val
1d99702e
RD
78 def CanVeto(self, *_args, **_kwargs):
79 val = apply(eventsc.wxCloseEvent_CanVeto,(self,) + _args, _kwargs)
e980740a 80 return val
1d99702e
RD
81 def GetVeto(self, *_args, **_kwargs):
82 val = apply(eventsc.wxCloseEvent_GetVeto,(self,) + _args, _kwargs)
8ab979d7 83 return val
1d99702e
RD
84 def SetCanVeto(self, *_args, **_kwargs):
85 val = apply(eventsc.wxCloseEvent_SetCanVeto,(self,) + _args, _kwargs)
b8b8dda7 86 return val
8ab979d7 87 def __repr__(self):
1d99702e 88 return "<C wxCloseEvent instance at %s>" % (self.this,)
8ab979d7
RD
89class wxCloseEvent(wxCloseEventPtr):
90 def __init__(self,this):
91 self.this = this
92
93
94
95
96class wxCommandEventPtr(wxEventPtr):
97 def __init__(self,this):
98 self.this = this
99 self.thisown = 0
1d99702e
RD
100 def Checked(self, *_args, **_kwargs):
101 val = apply(eventsc.wxCommandEvent_Checked,(self,) + _args, _kwargs)
8ab979d7 102 return val
1d99702e
RD
103 def GetExtraLong(self, *_args, **_kwargs):
104 val = apply(eventsc.wxCommandEvent_GetExtraLong,(self,) + _args, _kwargs)
8ab979d7 105 return val
1d99702e
RD
106 def GetInt(self, *_args, **_kwargs):
107 val = apply(eventsc.wxCommandEvent_GetInt,(self,) + _args, _kwargs)
8ab979d7 108 return val
1d99702e
RD
109 def GetSelection(self, *_args, **_kwargs):
110 val = apply(eventsc.wxCommandEvent_GetSelection,(self,) + _args, _kwargs)
8ab979d7 111 return val
1d99702e
RD
112 def GetString(self, *_args, **_kwargs):
113 val = apply(eventsc.wxCommandEvent_GetString,(self,) + _args, _kwargs)
8ab979d7 114 return val
1d99702e
RD
115 def IsSelection(self, *_args, **_kwargs):
116 val = apply(eventsc.wxCommandEvent_IsSelection,(self,) + _args, _kwargs)
8ab979d7
RD
117 return val
118 def __repr__(self):
1d99702e 119 return "<C wxCommandEvent instance at %s>" % (self.this,)
8ab979d7
RD
120class wxCommandEvent(wxCommandEventPtr):
121 def __init__(self,this):
122 self.this = this
123
124
125
126
127class wxScrollEventPtr(wxCommandEventPtr):
128 def __init__(self,this):
129 self.this = this
130 self.thisown = 0
1d99702e
RD
131 def GetOrientation(self, *_args, **_kwargs):
132 val = apply(eventsc.wxScrollEvent_GetOrientation,(self,) + _args, _kwargs)
8ab979d7 133 return val
1d99702e
RD
134 def GetPosition(self, *_args, **_kwargs):
135 val = apply(eventsc.wxScrollEvent_GetPosition,(self,) + _args, _kwargs)
8ab979d7
RD
136 return val
137 def __repr__(self):
1d99702e 138 return "<C wxScrollEvent instance at %s>" % (self.this,)
8ab979d7
RD
139class wxScrollEvent(wxScrollEventPtr):
140 def __init__(self,this):
141 self.this = this
142
143
144
145
d426c97e
RD
146class wxScrollWinEventPtr(wxEventPtr):
147 def __init__(self,this):
148 self.this = this
149 self.thisown = 0
150 def GetOrientation(self, *_args, **_kwargs):
151 val = apply(eventsc.wxScrollWinEvent_GetOrientation,(self,) + _args, _kwargs)
152 return val
153 def GetPosition(self, *_args, **_kwargs):
154 val = apply(eventsc.wxScrollWinEvent_GetPosition,(self,) + _args, _kwargs)
155 return val
156 def __repr__(self):
157 return "<C wxScrollWinEvent instance at %s>" % (self.this,)
158class wxScrollWinEvent(wxScrollWinEventPtr):
159 def __init__(self,this):
160 self.this = this
161
162
163
164
b639c3c5
RD
165class wxSpinEventPtr(wxScrollEventPtr):
166 def __init__(self,this):
167 self.this = this
168 self.thisown = 0
169 def __repr__(self):
1d99702e 170 return "<C wxSpinEvent instance at %s>" % (self.this,)
b639c3c5
RD
171class wxSpinEvent(wxSpinEventPtr):
172 def __init__(self,this):
173 self.this = this
174
175
176
177
8ab979d7
RD
178class wxMouseEventPtr(wxEventPtr):
179 def __init__(self,this):
180 self.this = this
181 self.thisown = 0
1d99702e
RD
182 def IsButton(self, *_args, **_kwargs):
183 val = apply(eventsc.wxMouseEvent_IsButton,(self,) + _args, _kwargs)
8ab979d7 184 return val
1d99702e
RD
185 def ButtonDown(self, *_args, **_kwargs):
186 val = apply(eventsc.wxMouseEvent_ButtonDown,(self,) + _args, _kwargs)
8ab979d7 187 return val
1d99702e
RD
188 def ButtonDClick(self, *_args, **_kwargs):
189 val = apply(eventsc.wxMouseEvent_ButtonDClick,(self,) + _args, _kwargs)
8ab979d7 190 return val
1d99702e
RD
191 def ButtonUp(self, *_args, **_kwargs):
192 val = apply(eventsc.wxMouseEvent_ButtonUp,(self,) + _args, _kwargs)
8ab979d7 193 return val
1d99702e
RD
194 def Button(self, *_args, **_kwargs):
195 val = apply(eventsc.wxMouseEvent_Button,(self,) + _args, _kwargs)
8ab979d7 196 return val
1d99702e
RD
197 def ButtonIsDown(self, *_args, **_kwargs):
198 val = apply(eventsc.wxMouseEvent_ButtonIsDown,(self,) + _args, _kwargs)
8ab979d7 199 return val
1d99702e
RD
200 def ControlDown(self, *_args, **_kwargs):
201 val = apply(eventsc.wxMouseEvent_ControlDown,(self,) + _args, _kwargs)
8ab979d7 202 return val
1d99702e
RD
203 def MetaDown(self, *_args, **_kwargs):
204 val = apply(eventsc.wxMouseEvent_MetaDown,(self,) + _args, _kwargs)
8ab979d7 205 return val
1d99702e
RD
206 def AltDown(self, *_args, **_kwargs):
207 val = apply(eventsc.wxMouseEvent_AltDown,(self,) + _args, _kwargs)
8ab979d7 208 return val
1d99702e
RD
209 def ShiftDown(self, *_args, **_kwargs):
210 val = apply(eventsc.wxMouseEvent_ShiftDown,(self,) + _args, _kwargs)
8ab979d7 211 return val
1d99702e
RD
212 def LeftDown(self, *_args, **_kwargs):
213 val = apply(eventsc.wxMouseEvent_LeftDown,(self,) + _args, _kwargs)
8ab979d7 214 return val
1d99702e
RD
215 def MiddleDown(self, *_args, **_kwargs):
216 val = apply(eventsc.wxMouseEvent_MiddleDown,(self,) + _args, _kwargs)
8ab979d7 217 return val
1d99702e
RD
218 def RightDown(self, *_args, **_kwargs):
219 val = apply(eventsc.wxMouseEvent_RightDown,(self,) + _args, _kwargs)
8ab979d7 220 return val
1d99702e
RD
221 def LeftUp(self, *_args, **_kwargs):
222 val = apply(eventsc.wxMouseEvent_LeftUp,(self,) + _args, _kwargs)
8ab979d7 223 return val
1d99702e
RD
224 def MiddleUp(self, *_args, **_kwargs):
225 val = apply(eventsc.wxMouseEvent_MiddleUp,(self,) + _args, _kwargs)
8ab979d7 226 return val
1d99702e
RD
227 def RightUp(self, *_args, **_kwargs):
228 val = apply(eventsc.wxMouseEvent_RightUp,(self,) + _args, _kwargs)
8ab979d7 229 return val
1d99702e
RD
230 def LeftDClick(self, *_args, **_kwargs):
231 val = apply(eventsc.wxMouseEvent_LeftDClick,(self,) + _args, _kwargs)
8ab979d7 232 return val
1d99702e
RD
233 def MiddleDClick(self, *_args, **_kwargs):
234 val = apply(eventsc.wxMouseEvent_MiddleDClick,(self,) + _args, _kwargs)
8ab979d7 235 return val
1d99702e
RD
236 def RightDClick(self, *_args, **_kwargs):
237 val = apply(eventsc.wxMouseEvent_RightDClick,(self,) + _args, _kwargs)
8ab979d7 238 return val
1d99702e
RD
239 def LeftIsDown(self, *_args, **_kwargs):
240 val = apply(eventsc.wxMouseEvent_LeftIsDown,(self,) + _args, _kwargs)
8ab979d7 241 return val
1d99702e
RD
242 def MiddleIsDown(self, *_args, **_kwargs):
243 val = apply(eventsc.wxMouseEvent_MiddleIsDown,(self,) + _args, _kwargs)
8ab979d7 244 return val
1d99702e
RD
245 def RightIsDown(self, *_args, **_kwargs):
246 val = apply(eventsc.wxMouseEvent_RightIsDown,(self,) + _args, _kwargs)
8ab979d7 247 return val
1d99702e
RD
248 def Dragging(self, *_args, **_kwargs):
249 val = apply(eventsc.wxMouseEvent_Dragging,(self,) + _args, _kwargs)
8ab979d7 250 return val
1d99702e
RD
251 def Moving(self, *_args, **_kwargs):
252 val = apply(eventsc.wxMouseEvent_Moving,(self,) + _args, _kwargs)
8ab979d7 253 return val
1d99702e
RD
254 def Entering(self, *_args, **_kwargs):
255 val = apply(eventsc.wxMouseEvent_Entering,(self,) + _args, _kwargs)
8ab979d7 256 return val
1d99702e
RD
257 def Leaving(self, *_args, **_kwargs):
258 val = apply(eventsc.wxMouseEvent_Leaving,(self,) + _args, _kwargs)
8ab979d7 259 return val
1d99702e
RD
260 def Position(self, *_args, **_kwargs):
261 val = apply(eventsc.wxMouseEvent_Position,(self,) + _args, _kwargs)
8ab979d7 262 return val
1d99702e
RD
263 def GetPosition(self, *_args, **_kwargs):
264 val = apply(eventsc.wxMouseEvent_GetPosition,(self,) + _args, _kwargs)
265 if val: val = wxPointPtr(val) ; val.thisown = 1
8ab979d7 266 return val
1d99702e
RD
267 def GetLogicalPosition(self, *_args, **_kwargs):
268 val = apply(eventsc.wxMouseEvent_GetLogicalPosition,(self,) + _args, _kwargs)
269 if val: val = wxPointPtr(val) ; val.thisown = 1
8ab979d7 270 return val
1d99702e
RD
271 def GetX(self, *_args, **_kwargs):
272 val = apply(eventsc.wxMouseEvent_GetX,(self,) + _args, _kwargs)
8ab979d7 273 return val
1d99702e
RD
274 def GetY(self, *_args, **_kwargs):
275 val = apply(eventsc.wxMouseEvent_GetY,(self,) + _args, _kwargs)
8ab979d7
RD
276 return val
277 def __repr__(self):
1d99702e 278 return "<C wxMouseEvent instance at %s>" % (self.this,)
8ab979d7
RD
279class wxMouseEvent(wxMouseEventPtr):
280 def __init__(self,this):
281 self.this = this
282
283
284
285
286class wxKeyEventPtr(wxEventPtr):
287 def __init__(self,this):
288 self.this = this
289 self.thisown = 0
1d99702e
RD
290 def ControlDown(self, *_args, **_kwargs):
291 val = apply(eventsc.wxKeyEvent_ControlDown,(self,) + _args, _kwargs)
8ab979d7 292 return val
1d99702e
RD
293 def MetaDown(self, *_args, **_kwargs):
294 val = apply(eventsc.wxKeyEvent_MetaDown,(self,) + _args, _kwargs)
8ab979d7 295 return val
1d99702e
RD
296 def AltDown(self, *_args, **_kwargs):
297 val = apply(eventsc.wxKeyEvent_AltDown,(self,) + _args, _kwargs)
8ab979d7 298 return val
1d99702e
RD
299 def ShiftDown(self, *_args, **_kwargs):
300 val = apply(eventsc.wxKeyEvent_ShiftDown,(self,) + _args, _kwargs)
8ab979d7 301 return val
1d99702e
RD
302 def KeyCode(self, *_args, **_kwargs):
303 val = apply(eventsc.wxKeyEvent_KeyCode,(self,) + _args, _kwargs)
8ab979d7 304 return val
8ab979d7 305 def __repr__(self):
1d99702e 306 return "<C wxKeyEvent instance at %s>" % (self.this,)
8ab979d7
RD
307class wxKeyEvent(wxKeyEventPtr):
308 def __init__(self,this):
309 self.this = this
310
311
312
313
314class wxMoveEventPtr(wxEventPtr):
315 def __init__(self,this):
316 self.this = this
317 self.thisown = 0
1d99702e
RD
318 def GetPosition(self, *_args, **_kwargs):
319 val = apply(eventsc.wxMoveEvent_GetPosition,(self,) + _args, _kwargs)
320 if val: val = wxPointPtr(val) ; val.thisown = 1
8ab979d7
RD
321 return val
322 def __repr__(self):
1d99702e 323 return "<C wxMoveEvent instance at %s>" % (self.this,)
8ab979d7
RD
324class wxMoveEvent(wxMoveEventPtr):
325 def __init__(self,this):
326 self.this = this
327
328
329
330
331class wxPaintEventPtr(wxEventPtr):
332 def __init__(self,this):
333 self.this = this
334 self.thisown = 0
335 def __repr__(self):
1d99702e 336 return "<C wxPaintEvent instance at %s>" % (self.this,)
8ab979d7
RD
337class wxPaintEvent(wxPaintEventPtr):
338 def __init__(self,this):
339 self.this = this
340
341
342
343
344class wxEraseEventPtr(wxEventPtr):
345 def __init__(self,this):
346 self.this = this
347 self.thisown = 0
1d99702e
RD
348 def GetDC(self, *_args, **_kwargs):
349 val = apply(eventsc.wxEraseEvent_GetDC,(self,) + _args, _kwargs)
350 if val: val = wxDCPtr(val)
8ab979d7
RD
351 return val
352 def __repr__(self):
1d99702e 353 return "<C wxEraseEvent instance at %s>" % (self.this,)
8ab979d7
RD
354class wxEraseEvent(wxEraseEventPtr):
355 def __init__(self,this):
356 self.this = this
357
358
359
360
361class wxFocusEventPtr(wxEventPtr):
362 def __init__(self,this):
363 self.this = this
364 self.thisown = 0
365 def __repr__(self):
1d99702e 366 return "<C wxFocusEvent instance at %s>" % (self.this,)
8ab979d7
RD
367class wxFocusEvent(wxFocusEventPtr):
368 def __init__(self,this):
369 self.this = this
370
371
372
373
374class wxActivateEventPtr(wxEventPtr):
375 def __init__(self,this):
376 self.this = this
377 self.thisown = 0
1d99702e
RD
378 def GetActive(self, *_args, **_kwargs):
379 val = apply(eventsc.wxActivateEvent_GetActive,(self,) + _args, _kwargs)
8ab979d7
RD
380 return val
381 def __repr__(self):
1d99702e 382 return "<C wxActivateEvent instance at %s>" % (self.this,)
8ab979d7
RD
383class wxActivateEvent(wxActivateEventPtr):
384 def __init__(self,this):
385 self.this = this
386
387
388
389
390class wxInitDialogEventPtr(wxEventPtr):
391 def __init__(self,this):
392 self.this = this
393 self.thisown = 0
394 def __repr__(self):
1d99702e 395 return "<C wxInitDialogEvent instance at %s>" % (self.this,)
8ab979d7
RD
396class wxInitDialogEvent(wxInitDialogEventPtr):
397 def __init__(self,this):
398 self.this = this
399
400
401
402
403class wxMenuEventPtr(wxEventPtr):
404 def __init__(self,this):
405 self.this = this
406 self.thisown = 0
1d99702e
RD
407 def GetMenuId(self, *_args, **_kwargs):
408 val = apply(eventsc.wxMenuEvent_GetMenuId,(self,) + _args, _kwargs)
8ab979d7
RD
409 return val
410 def __repr__(self):
1d99702e 411 return "<C wxMenuEvent instance at %s>" % (self.this,)
8ab979d7
RD
412class wxMenuEvent(wxMenuEventPtr):
413 def __init__(self,this):
414 self.this = this
415
416
417
418
419class wxShowEventPtr(wxEventPtr):
420 def __init__(self,this):
421 self.this = this
422 self.thisown = 0
1d99702e
RD
423 def SetShow(self, *_args, **_kwargs):
424 val = apply(eventsc.wxShowEvent_SetShow,(self,) + _args, _kwargs)
8ab979d7 425 return val
1d99702e
RD
426 def GetShow(self, *_args, **_kwargs):
427 val = apply(eventsc.wxShowEvent_GetShow,(self,) + _args, _kwargs)
8ab979d7
RD
428 return val
429 def __repr__(self):
1d99702e 430 return "<C wxShowEvent instance at %s>" % (self.this,)
8ab979d7
RD
431class wxShowEvent(wxShowEventPtr):
432 def __init__(self,this):
433 self.this = this
434
435
436
437
438class wxIconizeEventPtr(wxEventPtr):
439 def __init__(self,this):
440 self.this = this
441 self.thisown = 0
442 def __repr__(self):
1d99702e 443 return "<C wxIconizeEvent instance at %s>" % (self.this,)
8ab979d7
RD
444class wxIconizeEvent(wxIconizeEventPtr):
445 def __init__(self,this):
446 self.this = this
447
448
449
450
451class wxMaximizeEventPtr(wxEventPtr):
452 def __init__(self,this):
453 self.this = this
454 self.thisown = 0
455 def __repr__(self):
1d99702e 456 return "<C wxMaximizeEvent instance at %s>" % (self.this,)
8ab979d7
RD
457class wxMaximizeEvent(wxMaximizeEventPtr):
458 def __init__(self,this):
459 self.this = this
460
461
462
463
464class wxJoystickEventPtr(wxEventPtr):
465 def __init__(self,this):
466 self.this = this
467 self.thisown = 0
1d99702e
RD
468 def GetPosition(self, *_args, **_kwargs):
469 val = apply(eventsc.wxJoystickEvent_GetPosition,(self,) + _args, _kwargs)
470 if val: val = wxPointPtr(val) ; val.thisown = 1
8ab979d7 471 return val
1d99702e
RD
472 def GetZPosition(self, *_args, **_kwargs):
473 val = apply(eventsc.wxJoystickEvent_GetZPosition,(self,) + _args, _kwargs)
8ab979d7 474 return val
1d99702e
RD
475 def GetButtonState(self, *_args, **_kwargs):
476 val = apply(eventsc.wxJoystickEvent_GetButtonState,(self,) + _args, _kwargs)
8ab979d7 477 return val
1d99702e
RD
478 def GetButtonChange(self, *_args, **_kwargs):
479 val = apply(eventsc.wxJoystickEvent_GetButtonChange,(self,) + _args, _kwargs)
8ab979d7 480 return val
1d99702e
RD
481 def GetJoystick(self, *_args, **_kwargs):
482 val = apply(eventsc.wxJoystickEvent_GetJoystick,(self,) + _args, _kwargs)
8ab979d7 483 return val
1d99702e
RD
484 def SetJoystick(self, *_args, **_kwargs):
485 val = apply(eventsc.wxJoystickEvent_SetJoystick,(self,) + _args, _kwargs)
8ab979d7 486 return val
1d99702e
RD
487 def SetButtonState(self, *_args, **_kwargs):
488 val = apply(eventsc.wxJoystickEvent_SetButtonState,(self,) + _args, _kwargs)
8ab979d7 489 return val
1d99702e
RD
490 def SetButtonChange(self, *_args, **_kwargs):
491 val = apply(eventsc.wxJoystickEvent_SetButtonChange,(self,) + _args, _kwargs)
8ab979d7 492 return val
1d99702e
RD
493 def SetPosition(self, *_args, **_kwargs):
494 val = apply(eventsc.wxJoystickEvent_SetPosition,(self,) + _args, _kwargs)
8ab979d7 495 return val
1d99702e
RD
496 def SetZPosition(self, *_args, **_kwargs):
497 val = apply(eventsc.wxJoystickEvent_SetZPosition,(self,) + _args, _kwargs)
8ab979d7 498 return val
1d99702e
RD
499 def IsButton(self, *_args, **_kwargs):
500 val = apply(eventsc.wxJoystickEvent_IsButton,(self,) + _args, _kwargs)
8ab979d7 501 return val
1d99702e
RD
502 def IsMove(self, *_args, **_kwargs):
503 val = apply(eventsc.wxJoystickEvent_IsMove,(self,) + _args, _kwargs)
8ab979d7 504 return val
1d99702e
RD
505 def IsZMove(self, *_args, **_kwargs):
506 val = apply(eventsc.wxJoystickEvent_IsZMove,(self,) + _args, _kwargs)
8ab979d7 507 return val
1d99702e
RD
508 def ButtonDown(self, *_args, **_kwargs):
509 val = apply(eventsc.wxJoystickEvent_ButtonDown,(self,) + _args, _kwargs)
8ab979d7 510 return val
1d99702e
RD
511 def ButtonUp(self, *_args, **_kwargs):
512 val = apply(eventsc.wxJoystickEvent_ButtonUp,(self,) + _args, _kwargs)
8ab979d7 513 return val
1d99702e
RD
514 def ButtonIsDown(self, *_args, **_kwargs):
515 val = apply(eventsc.wxJoystickEvent_ButtonIsDown,(self,) + _args, _kwargs)
8ab979d7
RD
516 return val
517 def __repr__(self):
1d99702e 518 return "<C wxJoystickEvent instance at %s>" % (self.this,)
8ab979d7
RD
519class wxJoystickEvent(wxJoystickEventPtr):
520 def __init__(self,this):
521 self.this = this
522
523
524
525
526class wxDropFilesEventPtr(wxEventPtr):
527 def __init__(self,this):
528 self.this = this
529 self.thisown = 0
1d99702e
RD
530 def GetPosition(self, *_args, **_kwargs):
531 val = apply(eventsc.wxDropFilesEvent_GetPosition,(self,) + _args, _kwargs)
532 if val: val = wxPointPtr(val) ; val.thisown = 1
8ab979d7 533 return val
1d99702e
RD
534 def GetNumberOfFiles(self, *_args, **_kwargs):
535 val = apply(eventsc.wxDropFilesEvent_GetNumberOfFiles,(self,) + _args, _kwargs)
8ab979d7 536 return val
1d99702e
RD
537 def GetFiles(self, *_args, **_kwargs):
538 val = apply(eventsc.wxDropFilesEvent_GetFiles,(self,) + _args, _kwargs)
8ab979d7
RD
539 return val
540 def __repr__(self):
1d99702e 541 return "<C wxDropFilesEvent instance at %s>" % (self.this,)
8ab979d7
RD
542class wxDropFilesEvent(wxDropFilesEventPtr):
543 def __init__(self,this):
544 self.this = this
545
546
547
548
549class wxIdleEventPtr(wxEventPtr):
550 def __init__(self,this):
551 self.this = this
552 self.thisown = 0
1d99702e
RD
553 def RequestMore(self, *_args, **_kwargs):
554 val = apply(eventsc.wxIdleEvent_RequestMore,(self,) + _args, _kwargs)
8ab979d7 555 return val
1d99702e
RD
556 def MoreRequested(self, *_args, **_kwargs):
557 val = apply(eventsc.wxIdleEvent_MoreRequested,(self,) + _args, _kwargs)
8ab979d7
RD
558 return val
559 def __repr__(self):
1d99702e 560 return "<C wxIdleEvent instance at %s>" % (self.this,)
8ab979d7
RD
561class wxIdleEvent(wxIdleEventPtr):
562 def __init__(self,this):
563 self.this = this
564
565
566
567
568class wxUpdateUIEventPtr(wxEventPtr):
569 def __init__(self,this):
570 self.this = this
571 self.thisown = 0
1d99702e
RD
572 def GetChecked(self, *_args, **_kwargs):
573 val = apply(eventsc.wxUpdateUIEvent_GetChecked,(self,) + _args, _kwargs)
8ab979d7 574 return val
1d99702e
RD
575 def GetEnabled(self, *_args, **_kwargs):
576 val = apply(eventsc.wxUpdateUIEvent_GetEnabled,(self,) + _args, _kwargs)
8ab979d7 577 return val
1d99702e
RD
578 def GetText(self, *_args, **_kwargs):
579 val = apply(eventsc.wxUpdateUIEvent_GetText,(self,) + _args, _kwargs)
8ab979d7 580 return val
1d99702e
RD
581 def GetSetText(self, *_args, **_kwargs):
582 val = apply(eventsc.wxUpdateUIEvent_GetSetText,(self,) + _args, _kwargs)
8ab979d7 583 return val
1d99702e
RD
584 def GetSetChecked(self, *_args, **_kwargs):
585 val = apply(eventsc.wxUpdateUIEvent_GetSetChecked,(self,) + _args, _kwargs)
8ab979d7 586 return val
1d99702e
RD
587 def GetSetEnabled(self, *_args, **_kwargs):
588 val = apply(eventsc.wxUpdateUIEvent_GetSetEnabled,(self,) + _args, _kwargs)
8ab979d7 589 return val
1d99702e
RD
590 def Check(self, *_args, **_kwargs):
591 val = apply(eventsc.wxUpdateUIEvent_Check,(self,) + _args, _kwargs)
8ab979d7 592 return val
1d99702e
RD
593 def Enable(self, *_args, **_kwargs):
594 val = apply(eventsc.wxUpdateUIEvent_Enable,(self,) + _args, _kwargs)
8ab979d7 595 return val
1d99702e
RD
596 def SetText(self, *_args, **_kwargs):
597 val = apply(eventsc.wxUpdateUIEvent_SetText,(self,) + _args, _kwargs)
8ab979d7
RD
598 return val
599 def __repr__(self):
1d99702e 600 return "<C wxUpdateUIEvent instance at %s>" % (self.this,)
8ab979d7
RD
601class wxUpdateUIEvent(wxUpdateUIEventPtr):
602 def __init__(self,this):
603 self.this = this
604
605
606
607
608class wxSysColourChangedEventPtr(wxEventPtr):
609 def __init__(self,this):
610 self.this = this
611 self.thisown = 0
612 def __repr__(self):
1d99702e 613 return "<C wxSysColourChangedEvent instance at %s>" % (self.this,)
8ab979d7
RD
614class wxSysColourChangedEvent(wxSysColourChangedEventPtr):
615 def __init__(self,this):
616 self.this = this
617
618
619
620
2f90df85
RD
621class wxNotifyEventPtr(wxCommandEventPtr):
622 def __init__(self,this):
623 self.this = this
624 self.thisown = 0
625 def IsAllowed(self, *_args, **_kwargs):
626 val = apply(eventsc.wxNotifyEvent_IsAllowed,(self,) + _args, _kwargs)
627 return val
628 def Veto(self, *_args, **_kwargs):
629 val = apply(eventsc.wxNotifyEvent_Veto,(self,) + _args, _kwargs)
630 return val
631 def __repr__(self):
632 return "<C wxNotifyEvent instance at %s>" % (self.this,)
633class wxNotifyEvent(wxNotifyEventPtr):
634 def __init__(self,this):
635 self.this = this
636
637
638
639
640class wxPyEventPtr(wxEventPtr):
cf694132
RD
641 def __init__(self,this):
642 self.this = this
643 self.thisown = 0
1d99702e 644 def __del__(self,eventsc=eventsc):
cf694132 645 if self.thisown == 1 :
1d99702e 646 eventsc.delete_wxPyEvent(self)
2f90df85
RD
647 def SetPyData(self, *_args, **_kwargs):
648 val = apply(eventsc.wxPyEvent_SetPyData,(self,) + _args, _kwargs)
cf694132 649 return val
2f90df85
RD
650 def GetPyData(self, *_args, **_kwargs):
651 val = apply(eventsc.wxPyEvent_GetPyData,(self,) + _args, _kwargs)
cf694132
RD
652 return val
653 def __repr__(self):
1d99702e 654 return "<C wxPyEvent instance at %s>" % (self.this,)
cf694132 655class wxPyEvent(wxPyEventPtr):
1d99702e
RD
656 def __init__(self,*_args,**_kwargs):
657 self.this = apply(eventsc.new_wxPyEvent,_args,_kwargs)
cf694132
RD
658 self.thisown = 1
659
660
661
662
2f90df85 663class wxPyCommandEventPtr(wxCommandEventPtr):
bb0054cd
RD
664 def __init__(self,this):
665 self.this = this
666 self.thisown = 0
2f90df85
RD
667 def __del__(self,eventsc=eventsc):
668 if self.thisown == 1 :
669 eventsc.delete_wxPyCommandEvent(self)
670 def SetPyData(self, *_args, **_kwargs):
671 val = apply(eventsc.wxPyCommandEvent_SetPyData,(self,) + _args, _kwargs)
bb0054cd 672 return val
2f90df85
RD
673 def GetPyData(self, *_args, **_kwargs):
674 val = apply(eventsc.wxPyCommandEvent_GetPyData,(self,) + _args, _kwargs)
bb0054cd
RD
675 return val
676 def __repr__(self):
2f90df85
RD
677 return "<C wxPyCommandEvent instance at %s>" % (self.this,)
678class wxPyCommandEvent(wxPyCommandEventPtr):
679 def __init__(self,*_args,**_kwargs):
680 self.this = apply(eventsc.new_wxPyCommandEvent,_args,_kwargs)
681 self.thisown = 1
bb0054cd
RD
682
683
684
685
8ab979d7
RD
686
687
688#-------------- FUNCTION WRAPPERS ------------------
689
690
691
692#-------------- VARIABLE WRAPPERS ------------------
693