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