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