]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/gtk/events.py
new contributions
[wxWidgets.git] / utils / wxPython / src / gtk / events.py
CommitLineData
70551f47
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
2d091820
RD
9 def GetEventObject(self, *_args, **_kwargs):
10 val = apply(eventsc.wxEvent_GetEventObject,(self,) + _args, _kwargs)
70551f47 11 return val
2d091820
RD
12 def GetEventType(self, *_args, **_kwargs):
13 val = apply(eventsc.wxEvent_GetEventType,(self,) + _args, _kwargs)
70551f47 14 return val
2d091820
RD
15 def GetId(self, *_args, **_kwargs):
16 val = apply(eventsc.wxEvent_GetId,(self,) + _args, _kwargs)
70551f47 17 return val
2d091820
RD
18 def GetSkipped(self, *_args, **_kwargs):
19 val = apply(eventsc.wxEvent_GetSkipped,(self,) + _args, _kwargs)
70551f47 20 return val
2d091820
RD
21 def GetTimestamp(self, *_args, **_kwargs):
22 val = apply(eventsc.wxEvent_GetTimestamp,(self,) + _args, _kwargs)
70551f47 23 return val
2d091820
RD
24 def SetEventObject(self, *_args, **_kwargs):
25 val = apply(eventsc.wxEvent_SetEventObject,(self,) + _args, _kwargs)
70551f47 26 return val
2d091820
RD
27 def SetEventType(self, *_args, **_kwargs):
28 val = apply(eventsc.wxEvent_SetEventType,(self,) + _args, _kwargs)
70551f47 29 return val
2d091820
RD
30 def SetId(self, *_args, **_kwargs):
31 val = apply(eventsc.wxEvent_SetId,(self,) + _args, _kwargs)
70551f47 32 return val
2d091820
RD
33 def SetTimestamp(self, *_args, **_kwargs):
34 val = apply(eventsc.wxEvent_SetTimestamp,(self,) + _args, _kwargs)
70551f47 35 return val
2d091820
RD
36 def Skip(self, *_args, **_kwargs):
37 val = apply(eventsc.wxEvent_Skip,(self,) + _args, _kwargs)
70551f47
RD
38 return val
39 def __repr__(self):
2d091820 40 return "<C wxEvent instance at %s>" % (self.this,)
70551f47
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
2d091820
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
70551f47
RD
55 return val
56 def __repr__(self):
2d091820 57 return "<C wxSizeEvent instance at %s>" % (self.this,)
70551f47
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
2d091820
RD
69 def SetLoggingOff(self, *_args, **_kwargs):
70 val = apply(eventsc.wxCloseEvent_SetLoggingOff,(self,) + _args, _kwargs)
105e45b9 71 return val
2d091820
RD
72 def GetLoggingOff(self, *_args, **_kwargs):
73 val = apply(eventsc.wxCloseEvent_GetLoggingOff,(self,) + _args, _kwargs)
70551f47 74 return val
2d091820
RD
75 def Veto(self, *_args, **_kwargs):
76 val = apply(eventsc.wxCloseEvent_Veto,(self,) + _args, _kwargs)
70551f47 77 return val
2d091820
RD
78 def CanVeto(self, *_args, **_kwargs):
79 val = apply(eventsc.wxCloseEvent_CanVeto,(self,) + _args, _kwargs)
d1e586e4 80 return val
2d091820
RD
81 def GetVeto(self, *_args, **_kwargs):
82 val = apply(eventsc.wxCloseEvent_GetVeto,(self,) + _args, _kwargs)
70551f47 83 return val
2d091820
RD
84 def SetCanVeto(self, *_args, **_kwargs):
85 val = apply(eventsc.wxCloseEvent_SetCanVeto,(self,) + _args, _kwargs)
105e45b9 86 return val
70551f47 87 def __repr__(self):
2d091820 88 return "<C wxCloseEvent instance at %s>" % (self.this,)
70551f47
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
2d091820
RD
100 def Checked(self, *_args, **_kwargs):
101 val = apply(eventsc.wxCommandEvent_Checked,(self,) + _args, _kwargs)
70551f47 102 return val
2d091820
RD
103 def GetExtraLong(self, *_args, **_kwargs):
104 val = apply(eventsc.wxCommandEvent_GetExtraLong,(self,) + _args, _kwargs)
70551f47 105 return val
2d091820
RD
106 def GetInt(self, *_args, **_kwargs):
107 val = apply(eventsc.wxCommandEvent_GetInt,(self,) + _args, _kwargs)
70551f47 108 return val
2d091820
RD
109 def GetSelection(self, *_args, **_kwargs):
110 val = apply(eventsc.wxCommandEvent_GetSelection,(self,) + _args, _kwargs)
70551f47 111 return val
2d091820
RD
112 def GetString(self, *_args, **_kwargs):
113 val = apply(eventsc.wxCommandEvent_GetString,(self,) + _args, _kwargs)
70551f47 114 return val
2d091820
RD
115 def IsSelection(self, *_args, **_kwargs):
116 val = apply(eventsc.wxCommandEvent_IsSelection,(self,) + _args, _kwargs)
70551f47
RD
117 return val
118 def __repr__(self):
2d091820 119 return "<C wxCommandEvent instance at %s>" % (self.this,)
70551f47
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
2d091820
RD
131 def GetOrientation(self, *_args, **_kwargs):
132 val = apply(eventsc.wxScrollEvent_GetOrientation,(self,) + _args, _kwargs)
70551f47 133 return val
2d091820
RD
134 def GetPosition(self, *_args, **_kwargs):
135 val = apply(eventsc.wxScrollEvent_GetPosition,(self,) + _args, _kwargs)
70551f47
RD
136 return val
137 def __repr__(self):
2d091820 138 return "<C wxScrollEvent instance at %s>" % (self.this,)
70551f47
RD
139class wxScrollEvent(wxScrollEventPtr):
140 def __init__(self,this):
141 self.this = this
142
143
144
145
9cce9de1
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
62bd0874
RD
165class wxSpinEventPtr(wxScrollEventPtr):
166 def __init__(self,this):
167 self.this = this
168 self.thisown = 0
169 def __repr__(self):
2d091820 170 return "<C wxSpinEvent instance at %s>" % (self.this,)
62bd0874
RD
171class wxSpinEvent(wxSpinEventPtr):
172 def __init__(self,this):
173 self.this = this
174
175
176
177
70551f47
RD
178class wxMouseEventPtr(wxEventPtr):
179 def __init__(self,this):
180 self.this = this
181 self.thisown = 0
2d091820
RD
182 def IsButton(self, *_args, **_kwargs):
183 val = apply(eventsc.wxMouseEvent_IsButton,(self,) + _args, _kwargs)
70551f47 184 return val
2d091820
RD
185 def ButtonDown(self, *_args, **_kwargs):
186 val = apply(eventsc.wxMouseEvent_ButtonDown,(self,) + _args, _kwargs)
70551f47 187 return val
2d091820
RD
188 def ButtonDClick(self, *_args, **_kwargs):
189 val = apply(eventsc.wxMouseEvent_ButtonDClick,(self,) + _args, _kwargs)
70551f47 190 return val
2d091820
RD
191 def ButtonUp(self, *_args, **_kwargs):
192 val = apply(eventsc.wxMouseEvent_ButtonUp,(self,) + _args, _kwargs)
70551f47 193 return val
2d091820
RD
194 def Button(self, *_args, **_kwargs):
195 val = apply(eventsc.wxMouseEvent_Button,(self,) + _args, _kwargs)
70551f47 196 return val
2d091820
RD
197 def ButtonIsDown(self, *_args, **_kwargs):
198 val = apply(eventsc.wxMouseEvent_ButtonIsDown,(self,) + _args, _kwargs)
70551f47 199 return val
2d091820
RD
200 def ControlDown(self, *_args, **_kwargs):
201 val = apply(eventsc.wxMouseEvent_ControlDown,(self,) + _args, _kwargs)
70551f47 202 return val
2d091820
RD
203 def MetaDown(self, *_args, **_kwargs):
204 val = apply(eventsc.wxMouseEvent_MetaDown,(self,) + _args, _kwargs)
70551f47 205 return val
2d091820
RD
206 def AltDown(self, *_args, **_kwargs):
207 val = apply(eventsc.wxMouseEvent_AltDown,(self,) + _args, _kwargs)
70551f47 208 return val
2d091820
RD
209 def ShiftDown(self, *_args, **_kwargs):
210 val = apply(eventsc.wxMouseEvent_ShiftDown,(self,) + _args, _kwargs)
70551f47 211 return val
2d091820
RD
212 def LeftDown(self, *_args, **_kwargs):
213 val = apply(eventsc.wxMouseEvent_LeftDown,(self,) + _args, _kwargs)
70551f47 214 return val
2d091820
RD
215 def MiddleDown(self, *_args, **_kwargs):
216 val = apply(eventsc.wxMouseEvent_MiddleDown,(self,) + _args, _kwargs)
70551f47 217 return val
2d091820
RD
218 def RightDown(self, *_args, **_kwargs):
219 val = apply(eventsc.wxMouseEvent_RightDown,(self,) + _args, _kwargs)
70551f47 220 return val
2d091820
RD
221 def LeftUp(self, *_args, **_kwargs):
222 val = apply(eventsc.wxMouseEvent_LeftUp,(self,) + _args, _kwargs)
70551f47 223 return val
2d091820
RD
224 def MiddleUp(self, *_args, **_kwargs):
225 val = apply(eventsc.wxMouseEvent_MiddleUp,(self,) + _args, _kwargs)
70551f47 226 return val
2d091820
RD
227 def RightUp(self, *_args, **_kwargs):
228 val = apply(eventsc.wxMouseEvent_RightUp,(self,) + _args, _kwargs)
70551f47 229 return val
2d091820
RD
230 def LeftDClick(self, *_args, **_kwargs):
231 val = apply(eventsc.wxMouseEvent_LeftDClick,(self,) + _args, _kwargs)
70551f47 232 return val
2d091820
RD
233 def MiddleDClick(self, *_args, **_kwargs):
234 val = apply(eventsc.wxMouseEvent_MiddleDClick,(self,) + _args, _kwargs)
70551f47 235 return val
2d091820
RD
236 def RightDClick(self, *_args, **_kwargs):
237 val = apply(eventsc.wxMouseEvent_RightDClick,(self,) + _args, _kwargs)
70551f47 238 return val
2d091820
RD
239 def LeftIsDown(self, *_args, **_kwargs):
240 val = apply(eventsc.wxMouseEvent_LeftIsDown,(self,) + _args, _kwargs)
70551f47 241 return val
2d091820
RD
242 def MiddleIsDown(self, *_args, **_kwargs):
243 val = apply(eventsc.wxMouseEvent_MiddleIsDown,(self,) + _args, _kwargs)
70551f47 244 return val
2d091820
RD
245 def RightIsDown(self, *_args, **_kwargs):
246 val = apply(eventsc.wxMouseEvent_RightIsDown,(self,) + _args, _kwargs)
70551f47 247 return val
2d091820
RD
248 def Dragging(self, *_args, **_kwargs):
249 val = apply(eventsc.wxMouseEvent_Dragging,(self,) + _args, _kwargs)
70551f47 250 return val
2d091820
RD
251 def Moving(self, *_args, **_kwargs):
252 val = apply(eventsc.wxMouseEvent_Moving,(self,) + _args, _kwargs)
70551f47 253 return val
2d091820
RD
254 def Entering(self, *_args, **_kwargs):
255 val = apply(eventsc.wxMouseEvent_Entering,(self,) + _args, _kwargs)
70551f47 256 return val
2d091820
RD
257 def Leaving(self, *_args, **_kwargs):
258 val = apply(eventsc.wxMouseEvent_Leaving,(self,) + _args, _kwargs)
70551f47 259 return val
2d091820
RD
260 def Position(self, *_args, **_kwargs):
261 val = apply(eventsc.wxMouseEvent_Position,(self,) + _args, _kwargs)
70551f47 262 return val
2d091820
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
70551f47 266 return val
2d091820
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
70551f47 270 return val
2d091820
RD
271 def GetX(self, *_args, **_kwargs):
272 val = apply(eventsc.wxMouseEvent_GetX,(self,) + _args, _kwargs)
70551f47 273 return val
2d091820
RD
274 def GetY(self, *_args, **_kwargs):
275 val = apply(eventsc.wxMouseEvent_GetY,(self,) + _args, _kwargs)
70551f47
RD
276 return val
277 def __repr__(self):
2d091820 278 return "<C wxMouseEvent instance at %s>" % (self.this,)
70551f47
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
2d091820
RD
290 def ControlDown(self, *_args, **_kwargs):
291 val = apply(eventsc.wxKeyEvent_ControlDown,(self,) + _args, _kwargs)
70551f47 292 return val
2d091820
RD
293 def MetaDown(self, *_args, **_kwargs):
294 val = apply(eventsc.wxKeyEvent_MetaDown,(self,) + _args, _kwargs)
70551f47 295 return val
2d091820
RD
296 def AltDown(self, *_args, **_kwargs):
297 val = apply(eventsc.wxKeyEvent_AltDown,(self,) + _args, _kwargs)
70551f47 298 return val
2d091820
RD
299 def ShiftDown(self, *_args, **_kwargs):
300 val = apply(eventsc.wxKeyEvent_ShiftDown,(self,) + _args, _kwargs)
70551f47 301 return val
2d091820
RD
302 def KeyCode(self, *_args, **_kwargs):
303 val = apply(eventsc.wxKeyEvent_KeyCode,(self,) + _args, _kwargs)
70551f47 304 return val
70551f47 305 def __repr__(self):
2d091820 306 return "<C wxKeyEvent instance at %s>" % (self.this,)
70551f47
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
2d091820
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
70551f47
RD
321 return val
322 def __repr__(self):
2d091820 323 return "<C wxMoveEvent instance at %s>" % (self.this,)
70551f47
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):
2d091820 336 return "<C wxPaintEvent instance at %s>" % (self.this,)
70551f47
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
2d091820
RD
348 def GetDC(self, *_args, **_kwargs):
349 val = apply(eventsc.wxEraseEvent_GetDC,(self,) + _args, _kwargs)
350 if val: val = wxDCPtr(val)
70551f47
RD
351 return val
352 def __repr__(self):
2d091820 353 return "<C wxEraseEvent instance at %s>" % (self.this,)
70551f47
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):
2d091820 366 return "<C wxFocusEvent instance at %s>" % (self.this,)
70551f47
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
2d091820
RD
378 def GetActive(self, *_args, **_kwargs):
379 val = apply(eventsc.wxActivateEvent_GetActive,(self,) + _args, _kwargs)
70551f47
RD
380 return val
381 def __repr__(self):
2d091820 382 return "<C wxActivateEvent instance at %s>" % (self.this,)
70551f47
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):
2d091820 395 return "<C wxInitDialogEvent instance at %s>" % (self.this,)
70551f47
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
2d091820
RD
407 def GetMenuId(self, *_args, **_kwargs):
408 val = apply(eventsc.wxMenuEvent_GetMenuId,(self,) + _args, _kwargs)
70551f47
RD
409 return val
410 def __repr__(self):
2d091820 411 return "<C wxMenuEvent instance at %s>" % (self.this,)
70551f47
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
2d091820
RD
423 def SetShow(self, *_args, **_kwargs):
424 val = apply(eventsc.wxShowEvent_SetShow,(self,) + _args, _kwargs)
70551f47 425 return val
2d091820
RD
426 def GetShow(self, *_args, **_kwargs):
427 val = apply(eventsc.wxShowEvent_GetShow,(self,) + _args, _kwargs)
70551f47
RD
428 return val
429 def __repr__(self):
2d091820 430 return "<C wxShowEvent instance at %s>" % (self.this,)
70551f47
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):
2d091820 443 return "<C wxIconizeEvent instance at %s>" % (self.this,)
70551f47
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):
2d091820 456 return "<C wxMaximizeEvent instance at %s>" % (self.this,)
70551f47
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
2d091820
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
70551f47 471 return val
2d091820
RD
472 def GetZPosition(self, *_args, **_kwargs):
473 val = apply(eventsc.wxJoystickEvent_GetZPosition,(self,) + _args, _kwargs)
70551f47 474 return val
2d091820
RD
475 def GetButtonState(self, *_args, **_kwargs):
476 val = apply(eventsc.wxJoystickEvent_GetButtonState,(self,) + _args, _kwargs)
70551f47 477 return val
2d091820
RD
478 def GetButtonChange(self, *_args, **_kwargs):
479 val = apply(eventsc.wxJoystickEvent_GetButtonChange,(self,) + _args, _kwargs)
70551f47 480 return val
2d091820
RD
481 def GetJoystick(self, *_args, **_kwargs):
482 val = apply(eventsc.wxJoystickEvent_GetJoystick,(self,) + _args, _kwargs)
70551f47 483 return val
2d091820
RD
484 def SetJoystick(self, *_args, **_kwargs):
485 val = apply(eventsc.wxJoystickEvent_SetJoystick,(self,) + _args, _kwargs)
70551f47 486 return val
2d091820
RD
487 def SetButtonState(self, *_args, **_kwargs):
488 val = apply(eventsc.wxJoystickEvent_SetButtonState,(self,) + _args, _kwargs)
70551f47 489 return val
2d091820
RD
490 def SetButtonChange(self, *_args, **_kwargs):
491 val = apply(eventsc.wxJoystickEvent_SetButtonChange,(self,) + _args, _kwargs)
70551f47 492 return val
2d091820
RD
493 def SetPosition(self, *_args, **_kwargs):
494 val = apply(eventsc.wxJoystickEvent_SetPosition,(self,) + _args, _kwargs)
70551f47 495 return val
2d091820
RD
496 def SetZPosition(self, *_args, **_kwargs):
497 val = apply(eventsc.wxJoystickEvent_SetZPosition,(self,) + _args, _kwargs)
70551f47 498 return val
2d091820
RD
499 def IsButton(self, *_args, **_kwargs):
500 val = apply(eventsc.wxJoystickEvent_IsButton,(self,) + _args, _kwargs)
70551f47 501 return val
2d091820
RD
502 def IsMove(self, *_args, **_kwargs):
503 val = apply(eventsc.wxJoystickEvent_IsMove,(self,) + _args, _kwargs)
70551f47 504 return val
2d091820
RD
505 def IsZMove(self, *_args, **_kwargs):
506 val = apply(eventsc.wxJoystickEvent_IsZMove,(self,) + _args, _kwargs)
70551f47 507 return val
2d091820
RD
508 def ButtonDown(self, *_args, **_kwargs):
509 val = apply(eventsc.wxJoystickEvent_ButtonDown,(self,) + _args, _kwargs)
70551f47 510 return val
2d091820
RD
511 def ButtonUp(self, *_args, **_kwargs):
512 val = apply(eventsc.wxJoystickEvent_ButtonUp,(self,) + _args, _kwargs)
70551f47 513 return val
2d091820
RD
514 def ButtonIsDown(self, *_args, **_kwargs):
515 val = apply(eventsc.wxJoystickEvent_ButtonIsDown,(self,) + _args, _kwargs)
70551f47
RD
516 return val
517 def __repr__(self):
2d091820 518 return "<C wxJoystickEvent instance at %s>" % (self.this,)
70551f47
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
2d091820
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
70551f47 533 return val
2d091820
RD
534 def GetNumberOfFiles(self, *_args, **_kwargs):
535 val = apply(eventsc.wxDropFilesEvent_GetNumberOfFiles,(self,) + _args, _kwargs)
70551f47 536 return val
2d091820
RD
537 def GetFiles(self, *_args, **_kwargs):
538 val = apply(eventsc.wxDropFilesEvent_GetFiles,(self,) + _args, _kwargs)
70551f47
RD
539 return val
540 def __repr__(self):
2d091820 541 return "<C wxDropFilesEvent instance at %s>" % (self.this,)
70551f47
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
2d091820
RD
553 def RequestMore(self, *_args, **_kwargs):
554 val = apply(eventsc.wxIdleEvent_RequestMore,(self,) + _args, _kwargs)
70551f47 555 return val
2d091820
RD
556 def MoreRequested(self, *_args, **_kwargs):
557 val = apply(eventsc.wxIdleEvent_MoreRequested,(self,) + _args, _kwargs)
70551f47
RD
558 return val
559 def __repr__(self):
2d091820 560 return "<C wxIdleEvent instance at %s>" % (self.this,)
70551f47
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
2d091820
RD
572 def GetChecked(self, *_args, **_kwargs):
573 val = apply(eventsc.wxUpdateUIEvent_GetChecked,(self,) + _args, _kwargs)
70551f47 574 return val
2d091820
RD
575 def GetEnabled(self, *_args, **_kwargs):
576 val = apply(eventsc.wxUpdateUIEvent_GetEnabled,(self,) + _args, _kwargs)
70551f47 577 return val
2d091820
RD
578 def GetText(self, *_args, **_kwargs):
579 val = apply(eventsc.wxUpdateUIEvent_GetText,(self,) + _args, _kwargs)
70551f47 580 return val
2d091820
RD
581 def GetSetText(self, *_args, **_kwargs):
582 val = apply(eventsc.wxUpdateUIEvent_GetSetText,(self,) + _args, _kwargs)
70551f47 583 return val
2d091820
RD
584 def GetSetChecked(self, *_args, **_kwargs):
585 val = apply(eventsc.wxUpdateUIEvent_GetSetChecked,(self,) + _args, _kwargs)
70551f47 586 return val
2d091820
RD
587 def GetSetEnabled(self, *_args, **_kwargs):
588 val = apply(eventsc.wxUpdateUIEvent_GetSetEnabled,(self,) + _args, _kwargs)
70551f47 589 return val
2d091820
RD
590 def Check(self, *_args, **_kwargs):
591 val = apply(eventsc.wxUpdateUIEvent_Check,(self,) + _args, _kwargs)
70551f47 592 return val
2d091820
RD
593 def Enable(self, *_args, **_kwargs):
594 val = apply(eventsc.wxUpdateUIEvent_Enable,(self,) + _args, _kwargs)
70551f47 595 return val
2d091820
RD
596 def SetText(self, *_args, **_kwargs):
597 val = apply(eventsc.wxUpdateUIEvent_SetText,(self,) + _args, _kwargs)
70551f47
RD
598 return val
599 def __repr__(self):
2d091820 600 return "<C wxUpdateUIEvent instance at %s>" % (self.this,)
70551f47
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):
2d091820 613 return "<C wxSysColourChangedEvent instance at %s>" % (self.this,)
70551f47
RD
614class wxSysColourChangedEvent(wxSysColourChangedEventPtr):
615 def __init__(self,this):
616 self.this = this
617
618
619
620
37f6a977
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):
ab9bc19b
RD
641 def __init__(self,this):
642 self.this = this
643 self.thisown = 0
2d091820 644 def __del__(self,eventsc=eventsc):
ab9bc19b 645 if self.thisown == 1 :
2d091820 646 eventsc.delete_wxPyEvent(self)
37f6a977
RD
647 def SetPyData(self, *_args, **_kwargs):
648 val = apply(eventsc.wxPyEvent_SetPyData,(self,) + _args, _kwargs)
ab9bc19b 649 return val
37f6a977
RD
650 def GetPyData(self, *_args, **_kwargs):
651 val = apply(eventsc.wxPyEvent_GetPyData,(self,) + _args, _kwargs)
ab9bc19b
RD
652 return val
653 def __repr__(self):
2d091820 654 return "<C wxPyEvent instance at %s>" % (self.this,)
ab9bc19b 655class wxPyEvent(wxPyEventPtr):
2d091820
RD
656 def __init__(self,*_args,**_kwargs):
657 self.this = apply(eventsc.new_wxPyEvent,_args,_kwargs)
ab9bc19b
RD
658 self.thisown = 1
659
660
661
662
37f6a977 663class wxPyCommandEventPtr(wxCommandEventPtr):
d24a34bb
RD
664 def __init__(self,this):
665 self.this = this
666 self.thisown = 0
37f6a977
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)
d24a34bb 672 return val
37f6a977
RD
673 def GetPyData(self, *_args, **_kwargs):
674 val = apply(eventsc.wxPyCommandEvent_GetPyData,(self,) + _args, _kwargs)
d24a34bb
RD
675 return val
676 def __repr__(self):
37f6a977
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
d24a34bb
RD
682
683
684
685
70551f47
RD
686
687
688#-------------- FUNCTION WRAPPERS ------------------
689
690
691
692#-------------- VARIABLE WRAPPERS ------------------
693