]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/events.py
some little fixes
[wxWidgets.git] / wxPython / src / gtk / events.py
CommitLineData
8ab979d7
RD
1# This file was created automatically by SWIG.
2import eventsc
3
4from misc import *
f6bcfd97
BP
5
6from gdi import *
8ab979d7
RD
7class wxEventPtr :
8 def __init__(self,this):
9 self.this = this
10 self.thisown = 0
48115f4a
RD
11 def __del__(self,eventsc=eventsc):
12 if self.thisown == 1 :
13 eventsc.delete_wxEvent(self)
1d99702e
RD
14 def GetEventObject(self, *_args, **_kwargs):
15 val = apply(eventsc.wxEvent_GetEventObject,(self,) + _args, _kwargs)
8ab979d7 16 return val
1d99702e
RD
17 def GetEventType(self, *_args, **_kwargs):
18 val = apply(eventsc.wxEvent_GetEventType,(self,) + _args, _kwargs)
8ab979d7 19 return val
1d99702e
RD
20 def GetId(self, *_args, **_kwargs):
21 val = apply(eventsc.wxEvent_GetId,(self,) + _args, _kwargs)
8ab979d7 22 return val
1d99702e
RD
23 def GetSkipped(self, *_args, **_kwargs):
24 val = apply(eventsc.wxEvent_GetSkipped,(self,) + _args, _kwargs)
8ab979d7 25 return val
1d99702e
RD
26 def GetTimestamp(self, *_args, **_kwargs):
27 val = apply(eventsc.wxEvent_GetTimestamp,(self,) + _args, _kwargs)
8ab979d7 28 return val
1d99702e
RD
29 def SetEventObject(self, *_args, **_kwargs):
30 val = apply(eventsc.wxEvent_SetEventObject,(self,) + _args, _kwargs)
8ab979d7 31 return val
1d99702e
RD
32 def SetEventType(self, *_args, **_kwargs):
33 val = apply(eventsc.wxEvent_SetEventType,(self,) + _args, _kwargs)
8ab979d7 34 return val
1d99702e
RD
35 def SetId(self, *_args, **_kwargs):
36 val = apply(eventsc.wxEvent_SetId,(self,) + _args, _kwargs)
8ab979d7 37 return val
1d99702e
RD
38 def SetTimestamp(self, *_args, **_kwargs):
39 val = apply(eventsc.wxEvent_SetTimestamp,(self,) + _args, _kwargs)
8ab979d7 40 return val
1d99702e
RD
41 def Skip(self, *_args, **_kwargs):
42 val = apply(eventsc.wxEvent_Skip,(self,) + _args, _kwargs)
8ab979d7
RD
43 return val
44 def __repr__(self):
1d99702e 45 return "<C wxEvent instance at %s>" % (self.this,)
8ab979d7 46class wxEvent(wxEventPtr):
48115f4a
RD
47 def __init__(self,*_args,**_kwargs):
48 self.this = apply(eventsc.new_wxEvent,_args,_kwargs)
49 self.thisown = 1
8ab979d7
RD
50
51
52
53
54class wxSizeEventPtr(wxEventPtr):
55 def __init__(self,this):
56 self.this = this
57 self.thisown = 0
1d99702e
RD
58 def GetSize(self, *_args, **_kwargs):
59 val = apply(eventsc.wxSizeEvent_GetSize,(self,) + _args, _kwargs)
60 if val: val = wxSizePtr(val) ; val.thisown = 1
8ab979d7
RD
61 return val
62 def __repr__(self):
1d99702e 63 return "<C wxSizeEvent instance at %s>" % (self.this,)
8ab979d7 64class wxSizeEvent(wxSizeEventPtr):
48115f4a
RD
65 def __init__(self,*_args,**_kwargs):
66 self.this = apply(eventsc.new_wxSizeEvent,_args,_kwargs)
67 self.thisown = 1
8ab979d7
RD
68
69
70
71
72class wxCloseEventPtr(wxEventPtr):
73 def __init__(self,this):
74 self.this = this
75 self.thisown = 0
1d99702e
RD
76 def SetLoggingOff(self, *_args, **_kwargs):
77 val = apply(eventsc.wxCloseEvent_SetLoggingOff,(self,) + _args, _kwargs)
b8b8dda7 78 return val
1d99702e
RD
79 def GetLoggingOff(self, *_args, **_kwargs):
80 val = apply(eventsc.wxCloseEvent_GetLoggingOff,(self,) + _args, _kwargs)
8ab979d7 81 return val
1d99702e
RD
82 def Veto(self, *_args, **_kwargs):
83 val = apply(eventsc.wxCloseEvent_Veto,(self,) + _args, _kwargs)
8ab979d7 84 return val
1d99702e
RD
85 def CanVeto(self, *_args, **_kwargs):
86 val = apply(eventsc.wxCloseEvent_CanVeto,(self,) + _args, _kwargs)
e980740a 87 return val
1d99702e
RD
88 def GetVeto(self, *_args, **_kwargs):
89 val = apply(eventsc.wxCloseEvent_GetVeto,(self,) + _args, _kwargs)
8ab979d7 90 return val
1d99702e
RD
91 def SetCanVeto(self, *_args, **_kwargs):
92 val = apply(eventsc.wxCloseEvent_SetCanVeto,(self,) + _args, _kwargs)
b8b8dda7 93 return val
8ab979d7 94 def __repr__(self):
1d99702e 95 return "<C wxCloseEvent instance at %s>" % (self.this,)
8ab979d7 96class wxCloseEvent(wxCloseEventPtr):
48115f4a
RD
97 def __init__(self,*_args,**_kwargs):
98 self.this = apply(eventsc.new_wxCloseEvent,_args,_kwargs)
99 self.thisown = 1
8ab979d7
RD
100
101
102
103
104class wxCommandEventPtr(wxEventPtr):
105 def __init__(self,this):
106 self.this = this
107 self.thisown = 0
3ca6a5f0
BP
108 def IsChecked(self, *_args, **_kwargs):
109 val = apply(eventsc.wxCommandEvent_IsChecked,(self,) + _args, _kwargs)
110 return val
1d99702e
RD
111 def Checked(self, *_args, **_kwargs):
112 val = apply(eventsc.wxCommandEvent_Checked,(self,) + _args, _kwargs)
8ab979d7 113 return val
1d99702e
RD
114 def GetExtraLong(self, *_args, **_kwargs):
115 val = apply(eventsc.wxCommandEvent_GetExtraLong,(self,) + _args, _kwargs)
8ab979d7 116 return val
1d99702e
RD
117 def GetInt(self, *_args, **_kwargs):
118 val = apply(eventsc.wxCommandEvent_GetInt,(self,) + _args, _kwargs)
8ab979d7 119 return val
1d99702e
RD
120 def GetSelection(self, *_args, **_kwargs):
121 val = apply(eventsc.wxCommandEvent_GetSelection,(self,) + _args, _kwargs)
8ab979d7 122 return val
1d99702e
RD
123 def GetString(self, *_args, **_kwargs):
124 val = apply(eventsc.wxCommandEvent_GetString,(self,) + _args, _kwargs)
8ab979d7 125 return val
1d99702e
RD
126 def IsSelection(self, *_args, **_kwargs):
127 val = apply(eventsc.wxCommandEvent_IsSelection,(self,) + _args, _kwargs)
8ab979d7 128 return val
6999b0d8
RD
129 def SetString(self, *_args, **_kwargs):
130 val = apply(eventsc.wxCommandEvent_SetString,(self,) + _args, _kwargs)
131 return val
132 def SetExtraLong(self, *_args, **_kwargs):
133 val = apply(eventsc.wxCommandEvent_SetExtraLong,(self,) + _args, _kwargs)
134 return val
135 def SetInt(self, *_args, **_kwargs):
136 val = apply(eventsc.wxCommandEvent_SetInt,(self,) + _args, _kwargs)
137 return val
8ab979d7 138 def __repr__(self):
1d99702e 139 return "<C wxCommandEvent instance at %s>" % (self.this,)
8ab979d7 140class wxCommandEvent(wxCommandEventPtr):
48115f4a
RD
141 def __init__(self,*_args,**_kwargs):
142 self.this = apply(eventsc.new_wxCommandEvent,_args,_kwargs)
143 self.thisown = 1
8ab979d7
RD
144
145
146
147
148class wxScrollEventPtr(wxCommandEventPtr):
149 def __init__(self,this):
150 self.this = this
151 self.thisown = 0
1d99702e
RD
152 def GetOrientation(self, *_args, **_kwargs):
153 val = apply(eventsc.wxScrollEvent_GetOrientation,(self,) + _args, _kwargs)
8ab979d7 154 return val
1d99702e
RD
155 def GetPosition(self, *_args, **_kwargs):
156 val = apply(eventsc.wxScrollEvent_GetPosition,(self,) + _args, _kwargs)
8ab979d7
RD
157 return val
158 def __repr__(self):
1d99702e 159 return "<C wxScrollEvent instance at %s>" % (self.this,)
8ab979d7 160class wxScrollEvent(wxScrollEventPtr):
48115f4a
RD
161 def __init__(self,*_args,**_kwargs):
162 self.this = apply(eventsc.new_wxScrollEvent,_args,_kwargs)
163 self.thisown = 1
8ab979d7
RD
164
165
166
167
d426c97e
RD
168class wxScrollWinEventPtr(wxEventPtr):
169 def __init__(self,this):
170 self.this = this
171 self.thisown = 0
172 def GetOrientation(self, *_args, **_kwargs):
173 val = apply(eventsc.wxScrollWinEvent_GetOrientation,(self,) + _args, _kwargs)
174 return val
175 def GetPosition(self, *_args, **_kwargs):
176 val = apply(eventsc.wxScrollWinEvent_GetPosition,(self,) + _args, _kwargs)
177 return val
178 def __repr__(self):
179 return "<C wxScrollWinEvent instance at %s>" % (self.this,)
180class wxScrollWinEvent(wxScrollWinEventPtr):
48115f4a
RD
181 def __init__(self,*_args,**_kwargs):
182 self.this = apply(eventsc.new_wxScrollWinEvent,_args,_kwargs)
183 self.thisown = 1
d426c97e
RD
184
185
186
187
b639c3c5
RD
188class wxSpinEventPtr(wxScrollEventPtr):
189 def __init__(self,this):
190 self.this = this
191 self.thisown = 0
192 def __repr__(self):
1d99702e 193 return "<C wxSpinEvent instance at %s>" % (self.this,)
b639c3c5 194class wxSpinEvent(wxSpinEventPtr):
48115f4a
RD
195 def __init__(self,*_args,**_kwargs):
196 self.this = apply(eventsc.new_wxSpinEvent,_args,_kwargs)
197 self.thisown = 1
b639c3c5
RD
198
199
200
201
8ab979d7
RD
202class wxMouseEventPtr(wxEventPtr):
203 def __init__(self,this):
204 self.this = this
205 self.thisown = 0
1d99702e
RD
206 def IsButton(self, *_args, **_kwargs):
207 val = apply(eventsc.wxMouseEvent_IsButton,(self,) + _args, _kwargs)
8ab979d7 208 return val
1d99702e
RD
209 def ButtonDown(self, *_args, **_kwargs):
210 val = apply(eventsc.wxMouseEvent_ButtonDown,(self,) + _args, _kwargs)
8ab979d7 211 return val
1d99702e
RD
212 def ButtonDClick(self, *_args, **_kwargs):
213 val = apply(eventsc.wxMouseEvent_ButtonDClick,(self,) + _args, _kwargs)
8ab979d7 214 return val
1d99702e
RD
215 def ButtonUp(self, *_args, **_kwargs):
216 val = apply(eventsc.wxMouseEvent_ButtonUp,(self,) + _args, _kwargs)
8ab979d7 217 return val
1d99702e
RD
218 def Button(self, *_args, **_kwargs):
219 val = apply(eventsc.wxMouseEvent_Button,(self,) + _args, _kwargs)
8ab979d7 220 return val
1d99702e
RD
221 def ButtonIsDown(self, *_args, **_kwargs):
222 val = apply(eventsc.wxMouseEvent_ButtonIsDown,(self,) + _args, _kwargs)
8ab979d7 223 return val
1d99702e
RD
224 def ControlDown(self, *_args, **_kwargs):
225 val = apply(eventsc.wxMouseEvent_ControlDown,(self,) + _args, _kwargs)
8ab979d7 226 return val
1d99702e
RD
227 def MetaDown(self, *_args, **_kwargs):
228 val = apply(eventsc.wxMouseEvent_MetaDown,(self,) + _args, _kwargs)
8ab979d7 229 return val
1d99702e
RD
230 def AltDown(self, *_args, **_kwargs):
231 val = apply(eventsc.wxMouseEvent_AltDown,(self,) + _args, _kwargs)
8ab979d7 232 return val
1d99702e
RD
233 def ShiftDown(self, *_args, **_kwargs):
234 val = apply(eventsc.wxMouseEvent_ShiftDown,(self,) + _args, _kwargs)
8ab979d7 235 return val
1d99702e
RD
236 def LeftDown(self, *_args, **_kwargs):
237 val = apply(eventsc.wxMouseEvent_LeftDown,(self,) + _args, _kwargs)
8ab979d7 238 return val
1d99702e
RD
239 def MiddleDown(self, *_args, **_kwargs):
240 val = apply(eventsc.wxMouseEvent_MiddleDown,(self,) + _args, _kwargs)
8ab979d7 241 return val
1d99702e
RD
242 def RightDown(self, *_args, **_kwargs):
243 val = apply(eventsc.wxMouseEvent_RightDown,(self,) + _args, _kwargs)
8ab979d7 244 return val
1d99702e
RD
245 def LeftUp(self, *_args, **_kwargs):
246 val = apply(eventsc.wxMouseEvent_LeftUp,(self,) + _args, _kwargs)
8ab979d7 247 return val
1d99702e
RD
248 def MiddleUp(self, *_args, **_kwargs):
249 val = apply(eventsc.wxMouseEvent_MiddleUp,(self,) + _args, _kwargs)
8ab979d7 250 return val
1d99702e
RD
251 def RightUp(self, *_args, **_kwargs):
252 val = apply(eventsc.wxMouseEvent_RightUp,(self,) + _args, _kwargs)
8ab979d7 253 return val
1d99702e
RD
254 def LeftDClick(self, *_args, **_kwargs):
255 val = apply(eventsc.wxMouseEvent_LeftDClick,(self,) + _args, _kwargs)
8ab979d7 256 return val
1d99702e
RD
257 def MiddleDClick(self, *_args, **_kwargs):
258 val = apply(eventsc.wxMouseEvent_MiddleDClick,(self,) + _args, _kwargs)
8ab979d7 259 return val
1d99702e
RD
260 def RightDClick(self, *_args, **_kwargs):
261 val = apply(eventsc.wxMouseEvent_RightDClick,(self,) + _args, _kwargs)
8ab979d7 262 return val
1d99702e
RD
263 def LeftIsDown(self, *_args, **_kwargs):
264 val = apply(eventsc.wxMouseEvent_LeftIsDown,(self,) + _args, _kwargs)
8ab979d7 265 return val
1d99702e
RD
266 def MiddleIsDown(self, *_args, **_kwargs):
267 val = apply(eventsc.wxMouseEvent_MiddleIsDown,(self,) + _args, _kwargs)
8ab979d7 268 return val
1d99702e
RD
269 def RightIsDown(self, *_args, **_kwargs):
270 val = apply(eventsc.wxMouseEvent_RightIsDown,(self,) + _args, _kwargs)
8ab979d7 271 return val
1d99702e
RD
272 def Dragging(self, *_args, **_kwargs):
273 val = apply(eventsc.wxMouseEvent_Dragging,(self,) + _args, _kwargs)
8ab979d7 274 return val
1d99702e
RD
275 def Moving(self, *_args, **_kwargs):
276 val = apply(eventsc.wxMouseEvent_Moving,(self,) + _args, _kwargs)
8ab979d7 277 return val
1d99702e
RD
278 def Entering(self, *_args, **_kwargs):
279 val = apply(eventsc.wxMouseEvent_Entering,(self,) + _args, _kwargs)
8ab979d7 280 return val
1d99702e
RD
281 def Leaving(self, *_args, **_kwargs):
282 val = apply(eventsc.wxMouseEvent_Leaving,(self,) + _args, _kwargs)
8ab979d7 283 return val
1d99702e
RD
284 def GetPosition(self, *_args, **_kwargs):
285 val = apply(eventsc.wxMouseEvent_GetPosition,(self,) + _args, _kwargs)
286 if val: val = wxPointPtr(val) ; val.thisown = 1
8ab979d7 287 return val
b1462dfa
RD
288 def GetPositionTuple(self, *_args, **_kwargs):
289 val = apply(eventsc.wxMouseEvent_GetPositionTuple,(self,) + _args, _kwargs)
290 return val
1d99702e
RD
291 def GetLogicalPosition(self, *_args, **_kwargs):
292 val = apply(eventsc.wxMouseEvent_GetLogicalPosition,(self,) + _args, _kwargs)
293 if val: val = wxPointPtr(val) ; val.thisown = 1
8ab979d7 294 return val
1d99702e
RD
295 def GetX(self, *_args, **_kwargs):
296 val = apply(eventsc.wxMouseEvent_GetX,(self,) + _args, _kwargs)
8ab979d7 297 return val
1d99702e
RD
298 def GetY(self, *_args, **_kwargs):
299 val = apply(eventsc.wxMouseEvent_GetY,(self,) + _args, _kwargs)
8ab979d7 300 return val
c368d904
RD
301 def __setattr__(self,name,value):
302 if name == "m_x" :
303 eventsc.wxMouseEvent_m_x_set(self,value)
304 return
305 if name == "m_y" :
306 eventsc.wxMouseEvent_m_y_set(self,value)
307 return
308 if name == "m_leftDown" :
309 eventsc.wxMouseEvent_m_leftDown_set(self,value)
310 return
311 if name == "m_middleDown" :
312 eventsc.wxMouseEvent_m_middleDown_set(self,value)
313 return
314 if name == "m_rightDown" :
315 eventsc.wxMouseEvent_m_rightDown_set(self,value)
316 return
317 if name == "m_controlDown" :
318 eventsc.wxMouseEvent_m_controlDown_set(self,value)
319 return
320 if name == "m_shiftDown" :
321 eventsc.wxMouseEvent_m_shiftDown_set(self,value)
322 return
323 if name == "m_altDown" :
324 eventsc.wxMouseEvent_m_altDown_set(self,value)
325 return
326 if name == "m_metaDown" :
327 eventsc.wxMouseEvent_m_metaDown_set(self,value)
328 return
329 self.__dict__[name] = value
330 def __getattr__(self,name):
331 if name == "m_x" :
332 return eventsc.wxMouseEvent_m_x_get(self)
333 if name == "m_y" :
334 return eventsc.wxMouseEvent_m_y_get(self)
335 if name == "m_leftDown" :
336 return eventsc.wxMouseEvent_m_leftDown_get(self)
337 if name == "m_middleDown" :
338 return eventsc.wxMouseEvent_m_middleDown_get(self)
339 if name == "m_rightDown" :
340 return eventsc.wxMouseEvent_m_rightDown_get(self)
341 if name == "m_controlDown" :
342 return eventsc.wxMouseEvent_m_controlDown_get(self)
343 if name == "m_shiftDown" :
344 return eventsc.wxMouseEvent_m_shiftDown_get(self)
345 if name == "m_altDown" :
346 return eventsc.wxMouseEvent_m_altDown_get(self)
347 if name == "m_metaDown" :
348 return eventsc.wxMouseEvent_m_metaDown_get(self)
349 raise AttributeError,name
8ab979d7 350 def __repr__(self):
1d99702e 351 return "<C wxMouseEvent instance at %s>" % (self.this,)
8ab979d7 352class wxMouseEvent(wxMouseEventPtr):
48115f4a
RD
353 def __init__(self,*_args,**_kwargs):
354 self.this = apply(eventsc.new_wxMouseEvent,_args,_kwargs)
355 self.thisown = 1
8ab979d7
RD
356
357
358
359
360class wxKeyEventPtr(wxEventPtr):
361 def __init__(self,this):
362 self.this = this
363 self.thisown = 0
1d99702e
RD
364 def ControlDown(self, *_args, **_kwargs):
365 val = apply(eventsc.wxKeyEvent_ControlDown,(self,) + _args, _kwargs)
8ab979d7 366 return val
1d99702e
RD
367 def MetaDown(self, *_args, **_kwargs):
368 val = apply(eventsc.wxKeyEvent_MetaDown,(self,) + _args, _kwargs)
8ab979d7 369 return val
1d99702e
RD
370 def AltDown(self, *_args, **_kwargs):
371 val = apply(eventsc.wxKeyEvent_AltDown,(self,) + _args, _kwargs)
8ab979d7 372 return val
1d99702e
RD
373 def ShiftDown(self, *_args, **_kwargs):
374 val = apply(eventsc.wxKeyEvent_ShiftDown,(self,) + _args, _kwargs)
8ab979d7 375 return val
1d99702e
RD
376 def KeyCode(self, *_args, **_kwargs):
377 val = apply(eventsc.wxKeyEvent_KeyCode,(self,) + _args, _kwargs)
8ab979d7 378 return val
f6bcfd97
BP
379 def GetKeyCode(self, *_args, **_kwargs):
380 val = apply(eventsc.wxKeyEvent_GetKeyCode,(self,) + _args, _kwargs)
381 return val
382 def HasModifiers(self, *_args, **_kwargs):
383 val = apply(eventsc.wxKeyEvent_HasModifiers,(self,) + _args, _kwargs)
384 return val
48115f4a
RD
385 def GetX(self, *_args, **_kwargs):
386 val = apply(eventsc.wxKeyEvent_GetX,(self,) + _args, _kwargs)
387 return val
388 def GetY(self, *_args, **_kwargs):
389 val = apply(eventsc.wxKeyEvent_GetY,(self,) + _args, _kwargs)
390 return val
391 def GetPosition(self, *_args, **_kwargs):
392 val = apply(eventsc.wxKeyEvent_GetPosition,(self,) + _args, _kwargs)
393 if val: val = wxPointPtr(val) ; val.thisown = 1
394 return val
395 def GetPositionTuple(self, *_args, **_kwargs):
396 val = apply(eventsc.wxKeyEvent_GetPositionTuple,(self,) + _args, _kwargs)
397 return val
c368d904
RD
398 def __setattr__(self,name,value):
399 if name == "m_x" :
400 eventsc.wxKeyEvent_m_x_set(self,value)
401 return
402 if name == "m_y" :
403 eventsc.wxKeyEvent_m_y_set(self,value)
404 return
405 if name == "m_keyCode" :
406 eventsc.wxKeyEvent_m_keyCode_set(self,value)
407 return
408 if name == "m_controlDown" :
409 eventsc.wxKeyEvent_m_controlDown_set(self,value)
410 return
411 if name == "m_shiftDown" :
412 eventsc.wxKeyEvent_m_shiftDown_set(self,value)
413 return
414 if name == "m_altDown" :
415 eventsc.wxKeyEvent_m_altDown_set(self,value)
416 return
417 if name == "m_metaDown" :
418 eventsc.wxKeyEvent_m_metaDown_set(self,value)
419 return
420 if name == "m_scanCode" :
421 eventsc.wxKeyEvent_m_scanCode_set(self,value)
422 return
423 self.__dict__[name] = value
424 def __getattr__(self,name):
425 if name == "m_x" :
426 return eventsc.wxKeyEvent_m_x_get(self)
427 if name == "m_y" :
428 return eventsc.wxKeyEvent_m_y_get(self)
429 if name == "m_keyCode" :
430 return eventsc.wxKeyEvent_m_keyCode_get(self)
431 if name == "m_controlDown" :
432 return eventsc.wxKeyEvent_m_controlDown_get(self)
433 if name == "m_shiftDown" :
434 return eventsc.wxKeyEvent_m_shiftDown_get(self)
435 if name == "m_altDown" :
436 return eventsc.wxKeyEvent_m_altDown_get(self)
437 if name == "m_metaDown" :
438 return eventsc.wxKeyEvent_m_metaDown_get(self)
439 if name == "m_scanCode" :
440 return eventsc.wxKeyEvent_m_scanCode_get(self)
441 raise AttributeError,name
8ab979d7 442 def __repr__(self):
1d99702e 443 return "<C wxKeyEvent instance at %s>" % (self.this,)
8ab979d7 444class wxKeyEvent(wxKeyEventPtr):
48115f4a
RD
445 def __init__(self,*_args,**_kwargs):
446 self.this = apply(eventsc.new_wxKeyEvent,_args,_kwargs)
447 self.thisown = 1
448
449
450
451
eec92d76 452class wxNavigationKeyEventPtr(wxEventPtr):
8ab979d7
RD
453 def __init__(self,this):
454 self.this = this
48115f4a
RD
455 self.thisown = 0
456 def GetDirection(self, *_args, **_kwargs):
457 val = apply(eventsc.wxNavigationKeyEvent_GetDirection,(self,) + _args, _kwargs)
458 return val
459 def SetDirection(self, *_args, **_kwargs):
460 val = apply(eventsc.wxNavigationKeyEvent_SetDirection,(self,) + _args, _kwargs)
461 return val
462 def IsWindowChange(self, *_args, **_kwargs):
463 val = apply(eventsc.wxNavigationKeyEvent_IsWindowChange,(self,) + _args, _kwargs)
464 return val
465 def SetWindowChange(self, *_args, **_kwargs):
466 val = apply(eventsc.wxNavigationKeyEvent_SetWindowChange,(self,) + _args, _kwargs)
467 return val
468 def GetCurrentFocus(self, *_args, **_kwargs):
469 val = apply(eventsc.wxNavigationKeyEvent_GetCurrentFocus,(self,) + _args, _kwargs)
470 if val: val = wxWindowPtr(val)
471 return val
472 def SetCurrentFocus(self, *_args, **_kwargs):
473 val = apply(eventsc.wxNavigationKeyEvent_SetCurrentFocus,(self,) + _args, _kwargs)
474 return val
475 def __repr__(self):
476 return "<C wxNavigationKeyEvent instance at %s>" % (self.this,)
477class wxNavigationKeyEvent(wxNavigationKeyEventPtr):
478 def __init__(self,*_args,**_kwargs):
479 self.this = apply(eventsc.new_wxNavigationKeyEvent,_args,_kwargs)
480 self.thisown = 1
8ab979d7
RD
481
482
483
484
485class wxMoveEventPtr(wxEventPtr):
486 def __init__(self,this):
487 self.this = this
488 self.thisown = 0
1d99702e
RD
489 def GetPosition(self, *_args, **_kwargs):
490 val = apply(eventsc.wxMoveEvent_GetPosition,(self,) + _args, _kwargs)
491 if val: val = wxPointPtr(val) ; val.thisown = 1
8ab979d7
RD
492 return val
493 def __repr__(self):
1d99702e 494 return "<C wxMoveEvent instance at %s>" % (self.this,)
8ab979d7 495class wxMoveEvent(wxMoveEventPtr):
48115f4a
RD
496 def __init__(self,*_args,**_kwargs):
497 self.this = apply(eventsc.new_wxMoveEvent,_args,_kwargs)
498 self.thisown = 1
8ab979d7
RD
499
500
501
502
503class wxPaintEventPtr(wxEventPtr):
504 def __init__(self,this):
505 self.this = this
506 self.thisown = 0
507 def __repr__(self):
1d99702e 508 return "<C wxPaintEvent instance at %s>" % (self.this,)
8ab979d7 509class wxPaintEvent(wxPaintEventPtr):
48115f4a
RD
510 def __init__(self,*_args,**_kwargs):
511 self.this = apply(eventsc.new_wxPaintEvent,_args,_kwargs)
512 self.thisown = 1
8ab979d7
RD
513
514
515
516
517class wxEraseEventPtr(wxEventPtr):
518 def __init__(self,this):
519 self.this = this
520 self.thisown = 0
1d99702e
RD
521 def GetDC(self, *_args, **_kwargs):
522 val = apply(eventsc.wxEraseEvent_GetDC,(self,) + _args, _kwargs)
523 if val: val = wxDCPtr(val)
8ab979d7
RD
524 return val
525 def __repr__(self):
1d99702e 526 return "<C wxEraseEvent instance at %s>" % (self.this,)
8ab979d7 527class wxEraseEvent(wxEraseEventPtr):
48115f4a
RD
528 def __init__(self,*_args,**_kwargs):
529 self.this = apply(eventsc.new_wxEraseEvent,_args,_kwargs)
530 self.thisown = 1
8ab979d7
RD
531
532
533
534
535class wxFocusEventPtr(wxEventPtr):
536 def __init__(self,this):
537 self.this = this
538 self.thisown = 0
539 def __repr__(self):
1d99702e 540 return "<C wxFocusEvent instance at %s>" % (self.this,)
8ab979d7 541class wxFocusEvent(wxFocusEventPtr):
48115f4a
RD
542 def __init__(self,*_args,**_kwargs):
543 self.this = apply(eventsc.new_wxFocusEvent,_args,_kwargs)
544 self.thisown = 1
8ab979d7
RD
545
546
547
548
549class wxActivateEventPtr(wxEventPtr):
550 def __init__(self,this):
551 self.this = this
552 self.thisown = 0
1d99702e
RD
553 def GetActive(self, *_args, **_kwargs):
554 val = apply(eventsc.wxActivateEvent_GetActive,(self,) + _args, _kwargs)
8ab979d7
RD
555 return val
556 def __repr__(self):
1d99702e 557 return "<C wxActivateEvent instance at %s>" % (self.this,)
8ab979d7 558class wxActivateEvent(wxActivateEventPtr):
48115f4a
RD
559 def __init__(self,*_args,**_kwargs):
560 self.this = apply(eventsc.new_wxActivateEvent,_args,_kwargs)
561 self.thisown = 1
8ab979d7
RD
562
563
564
565
566class wxInitDialogEventPtr(wxEventPtr):
567 def __init__(self,this):
568 self.this = this
569 self.thisown = 0
570 def __repr__(self):
1d99702e 571 return "<C wxInitDialogEvent instance at %s>" % (self.this,)
8ab979d7 572class wxInitDialogEvent(wxInitDialogEventPtr):
48115f4a
RD
573 def __init__(self,*_args,**_kwargs):
574 self.this = apply(eventsc.new_wxInitDialogEvent,_args,_kwargs)
575 self.thisown = 1
8ab979d7
RD
576
577
578
579
580class wxMenuEventPtr(wxEventPtr):
581 def __init__(self,this):
582 self.this = this
583 self.thisown = 0
1d99702e
RD
584 def GetMenuId(self, *_args, **_kwargs):
585 val = apply(eventsc.wxMenuEvent_GetMenuId,(self,) + _args, _kwargs)
8ab979d7
RD
586 return val
587 def __repr__(self):
1d99702e 588 return "<C wxMenuEvent instance at %s>" % (self.this,)
8ab979d7 589class wxMenuEvent(wxMenuEventPtr):
48115f4a
RD
590 def __init__(self,*_args,**_kwargs):
591 self.this = apply(eventsc.new_wxMenuEvent,_args,_kwargs)
592 self.thisown = 1
8ab979d7
RD
593
594
595
596
597class wxShowEventPtr(wxEventPtr):
598 def __init__(self,this):
599 self.this = this
600 self.thisown = 0
1d99702e
RD
601 def SetShow(self, *_args, **_kwargs):
602 val = apply(eventsc.wxShowEvent_SetShow,(self,) + _args, _kwargs)
8ab979d7 603 return val
1d99702e
RD
604 def GetShow(self, *_args, **_kwargs):
605 val = apply(eventsc.wxShowEvent_GetShow,(self,) + _args, _kwargs)
8ab979d7
RD
606 return val
607 def __repr__(self):
1d99702e 608 return "<C wxShowEvent instance at %s>" % (self.this,)
8ab979d7 609class wxShowEvent(wxShowEventPtr):
48115f4a
RD
610 def __init__(self,*_args,**_kwargs):
611 self.this = apply(eventsc.new_wxShowEvent,_args,_kwargs)
612 self.thisown = 1
8ab979d7
RD
613
614
615
616
617class wxIconizeEventPtr(wxEventPtr):
618 def __init__(self,this):
619 self.this = this
620 self.thisown = 0
621 def __repr__(self):
1d99702e 622 return "<C wxIconizeEvent instance at %s>" % (self.this,)
8ab979d7 623class wxIconizeEvent(wxIconizeEventPtr):
48115f4a
RD
624 def __init__(self,*_args,**_kwargs):
625 self.this = apply(eventsc.new_wxIconizeEvent,_args,_kwargs)
626 self.thisown = 1
8ab979d7
RD
627
628
629
630
631class wxMaximizeEventPtr(wxEventPtr):
632 def __init__(self,this):
633 self.this = this
634 self.thisown = 0
635 def __repr__(self):
1d99702e 636 return "<C wxMaximizeEvent instance at %s>" % (self.this,)
8ab979d7 637class wxMaximizeEvent(wxMaximizeEventPtr):
48115f4a
RD
638 def __init__(self,*_args,**_kwargs):
639 self.this = apply(eventsc.new_wxMaximizeEvent,_args,_kwargs)
640 self.thisown = 1
8ab979d7
RD
641
642
643
644
645class wxJoystickEventPtr(wxEventPtr):
646 def __init__(self,this):
647 self.this = this
648 self.thisown = 0
1d99702e
RD
649 def GetPosition(self, *_args, **_kwargs):
650 val = apply(eventsc.wxJoystickEvent_GetPosition,(self,) + _args, _kwargs)
651 if val: val = wxPointPtr(val) ; val.thisown = 1
8ab979d7 652 return val
1d99702e
RD
653 def GetZPosition(self, *_args, **_kwargs):
654 val = apply(eventsc.wxJoystickEvent_GetZPosition,(self,) + _args, _kwargs)
8ab979d7 655 return val
1d99702e
RD
656 def GetButtonState(self, *_args, **_kwargs):
657 val = apply(eventsc.wxJoystickEvent_GetButtonState,(self,) + _args, _kwargs)
8ab979d7 658 return val
1d99702e
RD
659 def GetButtonChange(self, *_args, **_kwargs):
660 val = apply(eventsc.wxJoystickEvent_GetButtonChange,(self,) + _args, _kwargs)
8ab979d7 661 return val
1d99702e
RD
662 def GetJoystick(self, *_args, **_kwargs):
663 val = apply(eventsc.wxJoystickEvent_GetJoystick,(self,) + _args, _kwargs)
8ab979d7 664 return val
1d99702e
RD
665 def SetJoystick(self, *_args, **_kwargs):
666 val = apply(eventsc.wxJoystickEvent_SetJoystick,(self,) + _args, _kwargs)
8ab979d7 667 return val
1d99702e
RD
668 def SetButtonState(self, *_args, **_kwargs):
669 val = apply(eventsc.wxJoystickEvent_SetButtonState,(self,) + _args, _kwargs)
8ab979d7 670 return val
1d99702e
RD
671 def SetButtonChange(self, *_args, **_kwargs):
672 val = apply(eventsc.wxJoystickEvent_SetButtonChange,(self,) + _args, _kwargs)
8ab979d7 673 return val
1d99702e
RD
674 def SetPosition(self, *_args, **_kwargs):
675 val = apply(eventsc.wxJoystickEvent_SetPosition,(self,) + _args, _kwargs)
8ab979d7 676 return val
1d99702e
RD
677 def SetZPosition(self, *_args, **_kwargs):
678 val = apply(eventsc.wxJoystickEvent_SetZPosition,(self,) + _args, _kwargs)
8ab979d7 679 return val
1d99702e
RD
680 def IsButton(self, *_args, **_kwargs):
681 val = apply(eventsc.wxJoystickEvent_IsButton,(self,) + _args, _kwargs)
8ab979d7 682 return val
1d99702e
RD
683 def IsMove(self, *_args, **_kwargs):
684 val = apply(eventsc.wxJoystickEvent_IsMove,(self,) + _args, _kwargs)
8ab979d7 685 return val
1d99702e
RD
686 def IsZMove(self, *_args, **_kwargs):
687 val = apply(eventsc.wxJoystickEvent_IsZMove,(self,) + _args, _kwargs)
8ab979d7 688 return val
1d99702e
RD
689 def ButtonDown(self, *_args, **_kwargs):
690 val = apply(eventsc.wxJoystickEvent_ButtonDown,(self,) + _args, _kwargs)
8ab979d7 691 return val
1d99702e
RD
692 def ButtonUp(self, *_args, **_kwargs):
693 val = apply(eventsc.wxJoystickEvent_ButtonUp,(self,) + _args, _kwargs)
8ab979d7 694 return val
1d99702e
RD
695 def ButtonIsDown(self, *_args, **_kwargs):
696 val = apply(eventsc.wxJoystickEvent_ButtonIsDown,(self,) + _args, _kwargs)
8ab979d7
RD
697 return val
698 def __repr__(self):
1d99702e 699 return "<C wxJoystickEvent instance at %s>" % (self.this,)
8ab979d7 700class wxJoystickEvent(wxJoystickEventPtr):
48115f4a
RD
701 def __init__(self,*_args,**_kwargs):
702 self.this = apply(eventsc.new_wxJoystickEvent,_args,_kwargs)
703 self.thisown = 1
8ab979d7
RD
704
705
706
707
708class wxDropFilesEventPtr(wxEventPtr):
709 def __init__(self,this):
710 self.this = this
711 self.thisown = 0
1d99702e
RD
712 def GetPosition(self, *_args, **_kwargs):
713 val = apply(eventsc.wxDropFilesEvent_GetPosition,(self,) + _args, _kwargs)
714 if val: val = wxPointPtr(val) ; val.thisown = 1
8ab979d7 715 return val
1d99702e
RD
716 def GetNumberOfFiles(self, *_args, **_kwargs):
717 val = apply(eventsc.wxDropFilesEvent_GetNumberOfFiles,(self,) + _args, _kwargs)
8ab979d7 718 return val
1d99702e
RD
719 def GetFiles(self, *_args, **_kwargs):
720 val = apply(eventsc.wxDropFilesEvent_GetFiles,(self,) + _args, _kwargs)
8ab979d7
RD
721 return val
722 def __repr__(self):
1d99702e 723 return "<C wxDropFilesEvent instance at %s>" % (self.this,)
8ab979d7
RD
724class wxDropFilesEvent(wxDropFilesEventPtr):
725 def __init__(self,this):
726 self.this = this
727
728
729
730
731class wxIdleEventPtr(wxEventPtr):
732 def __init__(self,this):
733 self.this = this
734 self.thisown = 0
1d99702e
RD
735 def RequestMore(self, *_args, **_kwargs):
736 val = apply(eventsc.wxIdleEvent_RequestMore,(self,) + _args, _kwargs)
8ab979d7 737 return val
1d99702e
RD
738 def MoreRequested(self, *_args, **_kwargs):
739 val = apply(eventsc.wxIdleEvent_MoreRequested,(self,) + _args, _kwargs)
8ab979d7
RD
740 return val
741 def __repr__(self):
1d99702e 742 return "<C wxIdleEvent instance at %s>" % (self.this,)
8ab979d7 743class wxIdleEvent(wxIdleEventPtr):
48115f4a
RD
744 def __init__(self,*_args,**_kwargs):
745 self.this = apply(eventsc.new_wxIdleEvent,_args,_kwargs)
746 self.thisown = 1
8ab979d7
RD
747
748
749
750
751class wxUpdateUIEventPtr(wxEventPtr):
752 def __init__(self,this):
753 self.this = this
754 self.thisown = 0
1d99702e
RD
755 def GetChecked(self, *_args, **_kwargs):
756 val = apply(eventsc.wxUpdateUIEvent_GetChecked,(self,) + _args, _kwargs)
8ab979d7 757 return val
1d99702e
RD
758 def GetEnabled(self, *_args, **_kwargs):
759 val = apply(eventsc.wxUpdateUIEvent_GetEnabled,(self,) + _args, _kwargs)
8ab979d7 760 return val
1d99702e
RD
761 def GetText(self, *_args, **_kwargs):
762 val = apply(eventsc.wxUpdateUIEvent_GetText,(self,) + _args, _kwargs)
8ab979d7 763 return val
1d99702e
RD
764 def GetSetText(self, *_args, **_kwargs):
765 val = apply(eventsc.wxUpdateUIEvent_GetSetText,(self,) + _args, _kwargs)
8ab979d7 766 return val
1d99702e
RD
767 def GetSetChecked(self, *_args, **_kwargs):
768 val = apply(eventsc.wxUpdateUIEvent_GetSetChecked,(self,) + _args, _kwargs)
8ab979d7 769 return val
1d99702e
RD
770 def GetSetEnabled(self, *_args, **_kwargs):
771 val = apply(eventsc.wxUpdateUIEvent_GetSetEnabled,(self,) + _args, _kwargs)
8ab979d7 772 return val
1d99702e
RD
773 def Check(self, *_args, **_kwargs):
774 val = apply(eventsc.wxUpdateUIEvent_Check,(self,) + _args, _kwargs)
8ab979d7 775 return val
1d99702e
RD
776 def Enable(self, *_args, **_kwargs):
777 val = apply(eventsc.wxUpdateUIEvent_Enable,(self,) + _args, _kwargs)
8ab979d7 778 return val
1d99702e
RD
779 def SetText(self, *_args, **_kwargs):
780 val = apply(eventsc.wxUpdateUIEvent_SetText,(self,) + _args, _kwargs)
8ab979d7
RD
781 return val
782 def __repr__(self):
1d99702e 783 return "<C wxUpdateUIEvent instance at %s>" % (self.this,)
8ab979d7 784class wxUpdateUIEvent(wxUpdateUIEventPtr):
48115f4a
RD
785 def __init__(self,*_args,**_kwargs):
786 self.this = apply(eventsc.new_wxUpdateUIEvent,_args,_kwargs)
787 self.thisown = 1
8ab979d7
RD
788
789
790
791
792class wxSysColourChangedEventPtr(wxEventPtr):
793 def __init__(self,this):
794 self.this = this
795 self.thisown = 0
796 def __repr__(self):
1d99702e 797 return "<C wxSysColourChangedEvent instance at %s>" % (self.this,)
8ab979d7 798class wxSysColourChangedEvent(wxSysColourChangedEventPtr):
48115f4a
RD
799 def __init__(self,*_args,**_kwargs):
800 self.this = apply(eventsc.new_wxSysColourChangedEvent,_args,_kwargs)
801 self.thisown = 1
8ab979d7
RD
802
803
804
805
2f90df85
RD
806class wxNotifyEventPtr(wxCommandEventPtr):
807 def __init__(self,this):
808 self.this = this
809 self.thisown = 0
810 def IsAllowed(self, *_args, **_kwargs):
811 val = apply(eventsc.wxNotifyEvent_IsAllowed,(self,) + _args, _kwargs)
812 return val
2cd2fac8
RD
813 def Allow(self, *_args, **_kwargs):
814 val = apply(eventsc.wxNotifyEvent_Allow,(self,) + _args, _kwargs)
815 return val
2f90df85
RD
816 def Veto(self, *_args, **_kwargs):
817 val = apply(eventsc.wxNotifyEvent_Veto,(self,) + _args, _kwargs)
818 return val
819 def __repr__(self):
820 return "<C wxNotifyEvent instance at %s>" % (self.this,)
821class wxNotifyEvent(wxNotifyEventPtr):
48115f4a
RD
822 def __init__(self,*_args,**_kwargs):
823 self.this = apply(eventsc.new_wxNotifyEvent,_args,_kwargs)
824 self.thisown = 1
825
826
827
828
829class wxPaletteChangedEventPtr(wxEventPtr):
2f90df85
RD
830 def __init__(self,this):
831 self.this = this
48115f4a
RD
832 self.thisown = 0
833 def SetChangedWindow(self, *_args, **_kwargs):
834 val = apply(eventsc.wxPaletteChangedEvent_SetChangedWindow,(self,) + _args, _kwargs)
835 return val
836 def GetChangedWindow(self, *_args, **_kwargs):
837 val = apply(eventsc.wxPaletteChangedEvent_GetChangedWindow,(self,) + _args, _kwargs)
838 if val: val = wxWindowPtr(val)
839 return val
840 def __repr__(self):
841 return "<C wxPaletteChangedEvent instance at %s>" % (self.this,)
842class wxPaletteChangedEvent(wxPaletteChangedEventPtr):
843 def __init__(self,*_args,**_kwargs):
844 self.this = apply(eventsc.new_wxPaletteChangedEvent,_args,_kwargs)
845 self.thisown = 1
846
847
848
849
850class wxQueryNewPaletteEventPtr(wxEventPtr):
851 def __init__(self,this):
852 self.this = this
853 self.thisown = 0
854 def SetPaletteRealized(self, *_args, **_kwargs):
855 val = apply(eventsc.wxQueryNewPaletteEvent_SetPaletteRealized,(self,) + _args, _kwargs)
856 return val
857 def GetPaletteRealized(self, *_args, **_kwargs):
858 val = apply(eventsc.wxQueryNewPaletteEvent_GetPaletteRealized,(self,) + _args, _kwargs)
859 return val
860 def __repr__(self):
861 return "<C wxQueryNewPaletteEvent instance at %s>" % (self.this,)
862class wxQueryNewPaletteEvent(wxQueryNewPaletteEventPtr):
863 def __init__(self,*_args,**_kwargs):
864 self.this = apply(eventsc.new_wxQueryNewPaletteEvent,_args,_kwargs)
865 self.thisown = 1
866
867
868
869
f6bcfd97 870class wxWindowCreateEventPtr(wxCommandEventPtr):
48115f4a
RD
871 def __init__(self,this):
872 self.this = this
873 self.thisown = 0
874 def GetWindow(self, *_args, **_kwargs):
875 val = apply(eventsc.wxWindowCreateEvent_GetWindow,(self,) + _args, _kwargs)
876 if val: val = wxWindowPtr(val)
877 return val
878 def __repr__(self):
879 return "<C wxWindowCreateEvent instance at %s>" % (self.this,)
880class wxWindowCreateEvent(wxWindowCreateEventPtr):
881 def __init__(self,*_args,**_kwargs):
882 self.this = apply(eventsc.new_wxWindowCreateEvent,_args,_kwargs)
883 self.thisown = 1
884
885
886
887
f6bcfd97 888class wxWindowDestroyEventPtr(wxCommandEventPtr):
48115f4a
RD
889 def __init__(self,this):
890 self.this = this
891 self.thisown = 0
892 def GetWindow(self, *_args, **_kwargs):
893 val = apply(eventsc.wxWindowDestroyEvent_GetWindow,(self,) + _args, _kwargs)
894 if val: val = wxWindowPtr(val)
895 return val
896 def __repr__(self):
897 return "<C wxWindowDestroyEvent instance at %s>" % (self.this,)
898class wxWindowDestroyEvent(wxWindowDestroyEventPtr):
899 def __init__(self,*_args,**_kwargs):
900 self.this = apply(eventsc.new_wxWindowDestroyEvent,_args,_kwargs)
901 self.thisown = 1
2f90df85
RD
902
903
904
905
f6bcfd97
BP
906class wxTimerEventPtr(wxEventPtr):
907 def __init__(self,this):
908 self.this = this
909 self.thisown = 0
910 def GetInterval(self, *_args, **_kwargs):
911 val = apply(eventsc.wxTimerEvent_GetInterval,(self,) + _args, _kwargs)
912 return val
913 def __repr__(self):
914 return "<C wxTimerEvent instance at %s>" % (self.this,)
915class wxTimerEvent(wxTimerEventPtr):
916 def __init__(self,*_args,**_kwargs):
917 self.this = apply(eventsc.new_wxTimerEvent,_args,_kwargs)
918 self.thisown = 1
919
920
921
922
2f90df85 923class wxPyEventPtr(wxEventPtr):
cf694132
RD
924 def __init__(self,this):
925 self.this = this
926 self.thisown = 0
1d99702e 927 def __del__(self,eventsc=eventsc):
cf694132 928 if self.thisown == 1 :
1d99702e 929 eventsc.delete_wxPyEvent(self)
65dd82cb
RD
930 def SetSelf(self, *_args, **_kwargs):
931 val = apply(eventsc.wxPyEvent_SetSelf,(self,) + _args, _kwargs)
cf694132 932 return val
65dd82cb
RD
933 def GetSelf(self, *_args, **_kwargs):
934 val = apply(eventsc.wxPyEvent_GetSelf,(self,) + _args, _kwargs)
cf694132
RD
935 return val
936 def __repr__(self):
1d99702e 937 return "<C wxPyEvent instance at %s>" % (self.this,)
cf694132 938class wxPyEvent(wxPyEventPtr):
1d99702e
RD
939 def __init__(self,*_args,**_kwargs):
940 self.this = apply(eventsc.new_wxPyEvent,_args,_kwargs)
cf694132 941 self.thisown = 1
65dd82cb 942 self.SetSelf(self)
cf694132
RD
943
944
945
946
2f90df85 947class wxPyCommandEventPtr(wxCommandEventPtr):
bb0054cd
RD
948 def __init__(self,this):
949 self.this = this
950 self.thisown = 0
2f90df85
RD
951 def __del__(self,eventsc=eventsc):
952 if self.thisown == 1 :
953 eventsc.delete_wxPyCommandEvent(self)
65dd82cb
RD
954 def SetSelf(self, *_args, **_kwargs):
955 val = apply(eventsc.wxPyCommandEvent_SetSelf,(self,) + _args, _kwargs)
bb0054cd 956 return val
65dd82cb
RD
957 def GetSelf(self, *_args, **_kwargs):
958 val = apply(eventsc.wxPyCommandEvent_GetSelf,(self,) + _args, _kwargs)
bb0054cd
RD
959 return val
960 def __repr__(self):
2f90df85
RD
961 return "<C wxPyCommandEvent instance at %s>" % (self.this,)
962class wxPyCommandEvent(wxPyCommandEventPtr):
963 def __init__(self,*_args,**_kwargs):
964 self.this = apply(eventsc.new_wxPyCommandEvent,_args,_kwargs)
965 self.thisown = 1
65dd82cb 966 self.SetSelf(self)
bb0054cd
RD
967
968
969
970
8ab979d7
RD
971
972
973#-------------- FUNCTION WRAPPERS ------------------
974
975
976
977#-------------- VARIABLE WRAPPERS ------------------
978