]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/msw/events.py
incremented wxPython version number
[wxWidgets.git] / utils / wxPython / src / msw / events.py
CommitLineData
8ab979d7
RD
1# This file was created automatically by SWIG.
2import eventsc
3
4from misc import *
5class wxEventPtr :
6 def __init__(self,this):
7 self.this = this
8 self.thisown = 0
48115f4a
RD
9 def __del__(self,eventsc=eventsc):
10 if self.thisown == 1 :
11 eventsc.delete_wxEvent(self)
1d99702e
RD
12 def GetEventObject(self, *_args, **_kwargs):
13 val = apply(eventsc.wxEvent_GetEventObject,(self,) + _args, _kwargs)
8ab979d7 14 return val
1d99702e
RD
15 def GetEventType(self, *_args, **_kwargs):
16 val = apply(eventsc.wxEvent_GetEventType,(self,) + _args, _kwargs)
8ab979d7 17 return val
1d99702e
RD
18 def GetId(self, *_args, **_kwargs):
19 val = apply(eventsc.wxEvent_GetId,(self,) + _args, _kwargs)
8ab979d7 20 return val
1d99702e
RD
21 def GetSkipped(self, *_args, **_kwargs):
22 val = apply(eventsc.wxEvent_GetSkipped,(self,) + _args, _kwargs)
8ab979d7 23 return val
1d99702e
RD
24 def GetTimestamp(self, *_args, **_kwargs):
25 val = apply(eventsc.wxEvent_GetTimestamp,(self,) + _args, _kwargs)
8ab979d7 26 return val
1d99702e
RD
27 def SetEventObject(self, *_args, **_kwargs):
28 val = apply(eventsc.wxEvent_SetEventObject,(self,) + _args, _kwargs)
8ab979d7 29 return val
1d99702e
RD
30 def SetEventType(self, *_args, **_kwargs):
31 val = apply(eventsc.wxEvent_SetEventType,(self,) + _args, _kwargs)
8ab979d7 32 return val
1d99702e
RD
33 def SetId(self, *_args, **_kwargs):
34 val = apply(eventsc.wxEvent_SetId,(self,) + _args, _kwargs)
8ab979d7 35 return val
1d99702e
RD
36 def SetTimestamp(self, *_args, **_kwargs):
37 val = apply(eventsc.wxEvent_SetTimestamp,(self,) + _args, _kwargs)
8ab979d7 38 return val
1d99702e
RD
39 def Skip(self, *_args, **_kwargs):
40 val = apply(eventsc.wxEvent_Skip,(self,) + _args, _kwargs)
8ab979d7
RD
41 return val
42 def __repr__(self):
1d99702e 43 return "<C wxEvent instance at %s>" % (self.this,)
8ab979d7 44class wxEvent(wxEventPtr):
48115f4a
RD
45 def __init__(self,*_args,**_kwargs):
46 self.this = apply(eventsc.new_wxEvent,_args,_kwargs)
47 self.thisown = 1
8ab979d7
RD
48
49
50
51
52class wxSizeEventPtr(wxEventPtr):
53 def __init__(self,this):
54 self.this = this
55 self.thisown = 0
1d99702e
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
8ab979d7
RD
59 return val
60 def __repr__(self):
1d99702e 61 return "<C wxSizeEvent instance at %s>" % (self.this,)
8ab979d7 62class wxSizeEvent(wxSizeEventPtr):
48115f4a
RD
63 def __init__(self,*_args,**_kwargs):
64 self.this = apply(eventsc.new_wxSizeEvent,_args,_kwargs)
65 self.thisown = 1
8ab979d7
RD
66
67
68
69
70class wxCloseEventPtr(wxEventPtr):
71 def __init__(self,this):
72 self.this = this
73 self.thisown = 0
1d99702e
RD
74 def SetLoggingOff(self, *_args, **_kwargs):
75 val = apply(eventsc.wxCloseEvent_SetLoggingOff,(self,) + _args, _kwargs)
b8b8dda7 76 return val
1d99702e
RD
77 def GetLoggingOff(self, *_args, **_kwargs):
78 val = apply(eventsc.wxCloseEvent_GetLoggingOff,(self,) + _args, _kwargs)
8ab979d7 79 return val
1d99702e
RD
80 def Veto(self, *_args, **_kwargs):
81 val = apply(eventsc.wxCloseEvent_Veto,(self,) + _args, _kwargs)
8ab979d7 82 return val
1d99702e
RD
83 def CanVeto(self, *_args, **_kwargs):
84 val = apply(eventsc.wxCloseEvent_CanVeto,(self,) + _args, _kwargs)
e980740a 85 return val
1d99702e
RD
86 def GetVeto(self, *_args, **_kwargs):
87 val = apply(eventsc.wxCloseEvent_GetVeto,(self,) + _args, _kwargs)
8ab979d7 88 return val
1d99702e
RD
89 def SetCanVeto(self, *_args, **_kwargs):
90 val = apply(eventsc.wxCloseEvent_SetCanVeto,(self,) + _args, _kwargs)
b8b8dda7 91 return val
8ab979d7 92 def __repr__(self):
1d99702e 93 return "<C wxCloseEvent instance at %s>" % (self.this,)
8ab979d7 94class wxCloseEvent(wxCloseEventPtr):
48115f4a
RD
95 def __init__(self,*_args,**_kwargs):
96 self.this = apply(eventsc.new_wxCloseEvent,_args,_kwargs)
97 self.thisown = 1
8ab979d7
RD
98
99
100
101
102class wxCommandEventPtr(wxEventPtr):
103 def __init__(self,this):
104 self.this = this
105 self.thisown = 0
1d99702e
RD
106 def Checked(self, *_args, **_kwargs):
107 val = apply(eventsc.wxCommandEvent_Checked,(self,) + _args, _kwargs)
8ab979d7 108 return val
1d99702e
RD
109 def GetExtraLong(self, *_args, **_kwargs):
110 val = apply(eventsc.wxCommandEvent_GetExtraLong,(self,) + _args, _kwargs)
8ab979d7 111 return val
1d99702e
RD
112 def GetInt(self, *_args, **_kwargs):
113 val = apply(eventsc.wxCommandEvent_GetInt,(self,) + _args, _kwargs)
8ab979d7 114 return val
1d99702e
RD
115 def GetSelection(self, *_args, **_kwargs):
116 val = apply(eventsc.wxCommandEvent_GetSelection,(self,) + _args, _kwargs)
8ab979d7 117 return val
1d99702e
RD
118 def GetString(self, *_args, **_kwargs):
119 val = apply(eventsc.wxCommandEvent_GetString,(self,) + _args, _kwargs)
8ab979d7 120 return val
1d99702e
RD
121 def IsSelection(self, *_args, **_kwargs):
122 val = apply(eventsc.wxCommandEvent_IsSelection,(self,) + _args, _kwargs)
8ab979d7
RD
123 return val
124 def __repr__(self):
1d99702e 125 return "<C wxCommandEvent instance at %s>" % (self.this,)
8ab979d7 126class wxCommandEvent(wxCommandEventPtr):
48115f4a
RD
127 def __init__(self,*_args,**_kwargs):
128 self.this = apply(eventsc.new_wxCommandEvent,_args,_kwargs)
129 self.thisown = 1
8ab979d7
RD
130
131
132
133
134class wxScrollEventPtr(wxCommandEventPtr):
135 def __init__(self,this):
136 self.this = this
137 self.thisown = 0
1d99702e
RD
138 def GetOrientation(self, *_args, **_kwargs):
139 val = apply(eventsc.wxScrollEvent_GetOrientation,(self,) + _args, _kwargs)
8ab979d7 140 return val
1d99702e
RD
141 def GetPosition(self, *_args, **_kwargs):
142 val = apply(eventsc.wxScrollEvent_GetPosition,(self,) + _args, _kwargs)
8ab979d7
RD
143 return val
144 def __repr__(self):
1d99702e 145 return "<C wxScrollEvent instance at %s>" % (self.this,)
8ab979d7 146class wxScrollEvent(wxScrollEventPtr):
48115f4a
RD
147 def __init__(self,*_args,**_kwargs):
148 self.this = apply(eventsc.new_wxScrollEvent,_args,_kwargs)
149 self.thisown = 1
8ab979d7
RD
150
151
152
153
d426c97e
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):
48115f4a
RD
167 def __init__(self,*_args,**_kwargs):
168 self.this = apply(eventsc.new_wxScrollWinEvent,_args,_kwargs)
169 self.thisown = 1
d426c97e
RD
170
171
172
173
b639c3c5
RD
174class wxSpinEventPtr(wxScrollEventPtr):
175 def __init__(self,this):
176 self.this = this
177 self.thisown = 0
178 def __repr__(self):
1d99702e 179 return "<C wxSpinEvent instance at %s>" % (self.this,)
b639c3c5 180class wxSpinEvent(wxSpinEventPtr):
48115f4a
RD
181 def __init__(self,*_args,**_kwargs):
182 self.this = apply(eventsc.new_wxSpinEvent,_args,_kwargs)
183 self.thisown = 1
b639c3c5
RD
184
185
186
187
8ab979d7
RD
188class wxMouseEventPtr(wxEventPtr):
189 def __init__(self,this):
190 self.this = this
191 self.thisown = 0
1d99702e
RD
192 def IsButton(self, *_args, **_kwargs):
193 val = apply(eventsc.wxMouseEvent_IsButton,(self,) + _args, _kwargs)
8ab979d7 194 return val
1d99702e
RD
195 def ButtonDown(self, *_args, **_kwargs):
196 val = apply(eventsc.wxMouseEvent_ButtonDown,(self,) + _args, _kwargs)
8ab979d7 197 return val
1d99702e
RD
198 def ButtonDClick(self, *_args, **_kwargs):
199 val = apply(eventsc.wxMouseEvent_ButtonDClick,(self,) + _args, _kwargs)
8ab979d7 200 return val
1d99702e
RD
201 def ButtonUp(self, *_args, **_kwargs):
202 val = apply(eventsc.wxMouseEvent_ButtonUp,(self,) + _args, _kwargs)
8ab979d7 203 return val
1d99702e
RD
204 def Button(self, *_args, **_kwargs):
205 val = apply(eventsc.wxMouseEvent_Button,(self,) + _args, _kwargs)
8ab979d7 206 return val
1d99702e
RD
207 def ButtonIsDown(self, *_args, **_kwargs):
208 val = apply(eventsc.wxMouseEvent_ButtonIsDown,(self,) + _args, _kwargs)
8ab979d7 209 return val
1d99702e
RD
210 def ControlDown(self, *_args, **_kwargs):
211 val = apply(eventsc.wxMouseEvent_ControlDown,(self,) + _args, _kwargs)
8ab979d7 212 return val
1d99702e
RD
213 def MetaDown(self, *_args, **_kwargs):
214 val = apply(eventsc.wxMouseEvent_MetaDown,(self,) + _args, _kwargs)
8ab979d7 215 return val
1d99702e
RD
216 def AltDown(self, *_args, **_kwargs):
217 val = apply(eventsc.wxMouseEvent_AltDown,(self,) + _args, _kwargs)
8ab979d7 218 return val
1d99702e
RD
219 def ShiftDown(self, *_args, **_kwargs):
220 val = apply(eventsc.wxMouseEvent_ShiftDown,(self,) + _args, _kwargs)
8ab979d7 221 return val
1d99702e
RD
222 def LeftDown(self, *_args, **_kwargs):
223 val = apply(eventsc.wxMouseEvent_LeftDown,(self,) + _args, _kwargs)
8ab979d7 224 return val
1d99702e
RD
225 def MiddleDown(self, *_args, **_kwargs):
226 val = apply(eventsc.wxMouseEvent_MiddleDown,(self,) + _args, _kwargs)
8ab979d7 227 return val
1d99702e
RD
228 def RightDown(self, *_args, **_kwargs):
229 val = apply(eventsc.wxMouseEvent_RightDown,(self,) + _args, _kwargs)
8ab979d7 230 return val
1d99702e
RD
231 def LeftUp(self, *_args, **_kwargs):
232 val = apply(eventsc.wxMouseEvent_LeftUp,(self,) + _args, _kwargs)
8ab979d7 233 return val
1d99702e
RD
234 def MiddleUp(self, *_args, **_kwargs):
235 val = apply(eventsc.wxMouseEvent_MiddleUp,(self,) + _args, _kwargs)
8ab979d7 236 return val
1d99702e
RD
237 def RightUp(self, *_args, **_kwargs):
238 val = apply(eventsc.wxMouseEvent_RightUp,(self,) + _args, _kwargs)
8ab979d7 239 return val
1d99702e
RD
240 def LeftDClick(self, *_args, **_kwargs):
241 val = apply(eventsc.wxMouseEvent_LeftDClick,(self,) + _args, _kwargs)
8ab979d7 242 return val
1d99702e
RD
243 def MiddleDClick(self, *_args, **_kwargs):
244 val = apply(eventsc.wxMouseEvent_MiddleDClick,(self,) + _args, _kwargs)
8ab979d7 245 return val
1d99702e
RD
246 def RightDClick(self, *_args, **_kwargs):
247 val = apply(eventsc.wxMouseEvent_RightDClick,(self,) + _args, _kwargs)
8ab979d7 248 return val
1d99702e
RD
249 def LeftIsDown(self, *_args, **_kwargs):
250 val = apply(eventsc.wxMouseEvent_LeftIsDown,(self,) + _args, _kwargs)
8ab979d7 251 return val
1d99702e
RD
252 def MiddleIsDown(self, *_args, **_kwargs):
253 val = apply(eventsc.wxMouseEvent_MiddleIsDown,(self,) + _args, _kwargs)
8ab979d7 254 return val
1d99702e
RD
255 def RightIsDown(self, *_args, **_kwargs):
256 val = apply(eventsc.wxMouseEvent_RightIsDown,(self,) + _args, _kwargs)
8ab979d7 257 return val
1d99702e
RD
258 def Dragging(self, *_args, **_kwargs):
259 val = apply(eventsc.wxMouseEvent_Dragging,(self,) + _args, _kwargs)
8ab979d7 260 return val
1d99702e
RD
261 def Moving(self, *_args, **_kwargs):
262 val = apply(eventsc.wxMouseEvent_Moving,(self,) + _args, _kwargs)
8ab979d7 263 return val
1d99702e
RD
264 def Entering(self, *_args, **_kwargs):
265 val = apply(eventsc.wxMouseEvent_Entering,(self,) + _args, _kwargs)
8ab979d7 266 return val
1d99702e
RD
267 def Leaving(self, *_args, **_kwargs):
268 val = apply(eventsc.wxMouseEvent_Leaving,(self,) + _args, _kwargs)
8ab979d7 269 return val
1d99702e
RD
270 def Position(self, *_args, **_kwargs):
271 val = apply(eventsc.wxMouseEvent_Position,(self,) + _args, _kwargs)
8ab979d7 272 return val
1d99702e
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
8ab979d7 276 return val
1d99702e
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
8ab979d7 280 return val
1d99702e
RD
281 def GetX(self, *_args, **_kwargs):
282 val = apply(eventsc.wxMouseEvent_GetX,(self,) + _args, _kwargs)
8ab979d7 283 return val
1d99702e
RD
284 def GetY(self, *_args, **_kwargs):
285 val = apply(eventsc.wxMouseEvent_GetY,(self,) + _args, _kwargs)
8ab979d7
RD
286 return val
287 def __repr__(self):
1d99702e 288 return "<C wxMouseEvent instance at %s>" % (self.this,)
8ab979d7 289class wxMouseEvent(wxMouseEventPtr):
48115f4a
RD
290 def __init__(self,*_args,**_kwargs):
291 self.this = apply(eventsc.new_wxMouseEvent,_args,_kwargs)
292 self.thisown = 1
8ab979d7
RD
293
294
295
296
297class wxKeyEventPtr(wxEventPtr):
298 def __init__(self,this):
299 self.this = this
300 self.thisown = 0
1d99702e
RD
301 def ControlDown(self, *_args, **_kwargs):
302 val = apply(eventsc.wxKeyEvent_ControlDown,(self,) + _args, _kwargs)
8ab979d7 303 return val
1d99702e
RD
304 def MetaDown(self, *_args, **_kwargs):
305 val = apply(eventsc.wxKeyEvent_MetaDown,(self,) + _args, _kwargs)
8ab979d7 306 return val
1d99702e
RD
307 def AltDown(self, *_args, **_kwargs):
308 val = apply(eventsc.wxKeyEvent_AltDown,(self,) + _args, _kwargs)
8ab979d7 309 return val
1d99702e
RD
310 def ShiftDown(self, *_args, **_kwargs):
311 val = apply(eventsc.wxKeyEvent_ShiftDown,(self,) + _args, _kwargs)
8ab979d7 312 return val
1d99702e
RD
313 def KeyCode(self, *_args, **_kwargs):
314 val = apply(eventsc.wxKeyEvent_KeyCode,(self,) + _args, _kwargs)
8ab979d7 315 return val
48115f4a
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
8ab979d7 329 def __repr__(self):
1d99702e 330 return "<C wxKeyEvent instance at %s>" % (self.this,)
8ab979d7 331class wxKeyEvent(wxKeyEventPtr):
48115f4a
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):
8ab979d7
RD
340 def __init__(self,this):
341 self.this = this
48115f4a
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
8ab979d7
RD
368
369
370
371
372class wxMoveEventPtr(wxEventPtr):
373 def __init__(self,this):
374 self.this = this
375 self.thisown = 0
1d99702e
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
8ab979d7
RD
379 return val
380 def __repr__(self):
1d99702e 381 return "<C wxMoveEvent instance at %s>" % (self.this,)
8ab979d7 382class wxMoveEvent(wxMoveEventPtr):
48115f4a
RD
383 def __init__(self,*_args,**_kwargs):
384 self.this = apply(eventsc.new_wxMoveEvent,_args,_kwargs)
385 self.thisown = 1
8ab979d7
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):
1d99702e 395 return "<C wxPaintEvent instance at %s>" % (self.this,)
8ab979d7 396class wxPaintEvent(wxPaintEventPtr):
48115f4a
RD
397 def __init__(self,*_args,**_kwargs):
398 self.this = apply(eventsc.new_wxPaintEvent,_args,_kwargs)
399 self.thisown = 1
8ab979d7
RD
400
401
402
403
404class wxEraseEventPtr(wxEventPtr):
405 def __init__(self,this):
406 self.this = this
407 self.thisown = 0
1d99702e
RD
408 def GetDC(self, *_args, **_kwargs):
409 val = apply(eventsc.wxEraseEvent_GetDC,(self,) + _args, _kwargs)
410 if val: val = wxDCPtr(val)
8ab979d7
RD
411 return val
412 def __repr__(self):
1d99702e 413 return "<C wxEraseEvent instance at %s>" % (self.this,)
8ab979d7 414class wxEraseEvent(wxEraseEventPtr):
48115f4a
RD
415 def __init__(self,*_args,**_kwargs):
416 self.this = apply(eventsc.new_wxEraseEvent,_args,_kwargs)
417 self.thisown = 1
8ab979d7
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):
1d99702e 427 return "<C wxFocusEvent instance at %s>" % (self.this,)
8ab979d7 428class wxFocusEvent(wxFocusEventPtr):
48115f4a
RD
429 def __init__(self,*_args,**_kwargs):
430 self.this = apply(eventsc.new_wxFocusEvent,_args,_kwargs)
431 self.thisown = 1
8ab979d7
RD
432
433
434
435
436class wxActivateEventPtr(wxEventPtr):
437 def __init__(self,this):
438 self.this = this
439 self.thisown = 0
1d99702e
RD
440 def GetActive(self, *_args, **_kwargs):
441 val = apply(eventsc.wxActivateEvent_GetActive,(self,) + _args, _kwargs)
8ab979d7
RD
442 return val
443 def __repr__(self):
1d99702e 444 return "<C wxActivateEvent instance at %s>" % (self.this,)
8ab979d7 445class wxActivateEvent(wxActivateEventPtr):
48115f4a
RD
446 def __init__(self,*_args,**_kwargs):
447 self.this = apply(eventsc.new_wxActivateEvent,_args,_kwargs)
448 self.thisown = 1
8ab979d7
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):
1d99702e 458 return "<C wxInitDialogEvent instance at %s>" % (self.this,)
8ab979d7 459class wxInitDialogEvent(wxInitDialogEventPtr):
48115f4a
RD
460 def __init__(self,*_args,**_kwargs):
461 self.this = apply(eventsc.new_wxInitDialogEvent,_args,_kwargs)
462 self.thisown = 1
8ab979d7
RD
463
464
465
466
467class wxMenuEventPtr(wxEventPtr):
468 def __init__(self,this):
469 self.this = this
470 self.thisown = 0
1d99702e
RD
471 def GetMenuId(self, *_args, **_kwargs):
472 val = apply(eventsc.wxMenuEvent_GetMenuId,(self,) + _args, _kwargs)
8ab979d7
RD
473 return val
474 def __repr__(self):
1d99702e 475 return "<C wxMenuEvent instance at %s>" % (self.this,)
8ab979d7 476class wxMenuEvent(wxMenuEventPtr):
48115f4a
RD
477 def __init__(self,*_args,**_kwargs):
478 self.this = apply(eventsc.new_wxMenuEvent,_args,_kwargs)
479 self.thisown = 1
8ab979d7
RD
480
481
482
483
484class wxShowEventPtr(wxEventPtr):
485 def __init__(self,this):
486 self.this = this
487 self.thisown = 0
1d99702e
RD
488 def SetShow(self, *_args, **_kwargs):
489 val = apply(eventsc.wxShowEvent_SetShow,(self,) + _args, _kwargs)
8ab979d7 490 return val
1d99702e
RD
491 def GetShow(self, *_args, **_kwargs):
492 val = apply(eventsc.wxShowEvent_GetShow,(self,) + _args, _kwargs)
8ab979d7
RD
493 return val
494 def __repr__(self):
1d99702e 495 return "<C wxShowEvent instance at %s>" % (self.this,)
8ab979d7 496class wxShowEvent(wxShowEventPtr):
48115f4a
RD
497 def __init__(self,*_args,**_kwargs):
498 self.this = apply(eventsc.new_wxShowEvent,_args,_kwargs)
499 self.thisown = 1
8ab979d7
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):
1d99702e 509 return "<C wxIconizeEvent instance at %s>" % (self.this,)
8ab979d7 510class wxIconizeEvent(wxIconizeEventPtr):
48115f4a
RD
511 def __init__(self,*_args,**_kwargs):
512 self.this = apply(eventsc.new_wxIconizeEvent,_args,_kwargs)
513 self.thisown = 1
8ab979d7
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):
1d99702e 523 return "<C wxMaximizeEvent instance at %s>" % (self.this,)
8ab979d7 524class wxMaximizeEvent(wxMaximizeEventPtr):
48115f4a
RD
525 def __init__(self,*_args,**_kwargs):
526 self.this = apply(eventsc.new_wxMaximizeEvent,_args,_kwargs)
527 self.thisown = 1
8ab979d7
RD
528
529
530
531
532class wxJoystickEventPtr(wxEventPtr):
533 def __init__(self,this):
534 self.this = this
535 self.thisown = 0
1d99702e
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
8ab979d7 539 return val
1d99702e
RD
540 def GetZPosition(self, *_args, **_kwargs):
541 val = apply(eventsc.wxJoystickEvent_GetZPosition,(self,) + _args, _kwargs)
8ab979d7 542 return val
1d99702e
RD
543 def GetButtonState(self, *_args, **_kwargs):
544 val = apply(eventsc.wxJoystickEvent_GetButtonState,(self,) + _args, _kwargs)
8ab979d7 545 return val
1d99702e
RD
546 def GetButtonChange(self, *_args, **_kwargs):
547 val = apply(eventsc.wxJoystickEvent_GetButtonChange,(self,) + _args, _kwargs)
8ab979d7 548 return val
1d99702e
RD
549 def GetJoystick(self, *_args, **_kwargs):
550 val = apply(eventsc.wxJoystickEvent_GetJoystick,(self,) + _args, _kwargs)
8ab979d7 551 return val
1d99702e
RD
552 def SetJoystick(self, *_args, **_kwargs):
553 val = apply(eventsc.wxJoystickEvent_SetJoystick,(self,) + _args, _kwargs)
8ab979d7 554 return val
1d99702e
RD
555 def SetButtonState(self, *_args, **_kwargs):
556 val = apply(eventsc.wxJoystickEvent_SetButtonState,(self,) + _args, _kwargs)
8ab979d7 557 return val
1d99702e
RD
558 def SetButtonChange(self, *_args, **_kwargs):
559 val = apply(eventsc.wxJoystickEvent_SetButtonChange,(self,) + _args, _kwargs)
8ab979d7 560 return val
1d99702e
RD
561 def SetPosition(self, *_args, **_kwargs):
562 val = apply(eventsc.wxJoystickEvent_SetPosition,(self,) + _args, _kwargs)
8ab979d7 563 return val
1d99702e
RD
564 def SetZPosition(self, *_args, **_kwargs):
565 val = apply(eventsc.wxJoystickEvent_SetZPosition,(self,) + _args, _kwargs)
8ab979d7 566 return val
1d99702e
RD
567 def IsButton(self, *_args, **_kwargs):
568 val = apply(eventsc.wxJoystickEvent_IsButton,(self,) + _args, _kwargs)
8ab979d7 569 return val
1d99702e
RD
570 def IsMove(self, *_args, **_kwargs):
571 val = apply(eventsc.wxJoystickEvent_IsMove,(self,) + _args, _kwargs)
8ab979d7 572 return val
1d99702e
RD
573 def IsZMove(self, *_args, **_kwargs):
574 val = apply(eventsc.wxJoystickEvent_IsZMove,(self,) + _args, _kwargs)
8ab979d7 575 return val
1d99702e
RD
576 def ButtonDown(self, *_args, **_kwargs):
577 val = apply(eventsc.wxJoystickEvent_ButtonDown,(self,) + _args, _kwargs)
8ab979d7 578 return val
1d99702e
RD
579 def ButtonUp(self, *_args, **_kwargs):
580 val = apply(eventsc.wxJoystickEvent_ButtonUp,(self,) + _args, _kwargs)
8ab979d7 581 return val
1d99702e
RD
582 def ButtonIsDown(self, *_args, **_kwargs):
583 val = apply(eventsc.wxJoystickEvent_ButtonIsDown,(self,) + _args, _kwargs)
8ab979d7
RD
584 return val
585 def __repr__(self):
1d99702e 586 return "<C wxJoystickEvent instance at %s>" % (self.this,)
8ab979d7 587class wxJoystickEvent(wxJoystickEventPtr):
48115f4a
RD
588 def __init__(self,*_args,**_kwargs):
589 self.this = apply(eventsc.new_wxJoystickEvent,_args,_kwargs)
590 self.thisown = 1
8ab979d7
RD
591
592
593
594
595class wxDropFilesEventPtr(wxEventPtr):
596 def __init__(self,this):
597 self.this = this
598 self.thisown = 0
1d99702e
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
8ab979d7 602 return val
1d99702e
RD
603 def GetNumberOfFiles(self, *_args, **_kwargs):
604 val = apply(eventsc.wxDropFilesEvent_GetNumberOfFiles,(self,) + _args, _kwargs)
8ab979d7 605 return val
1d99702e
RD
606 def GetFiles(self, *_args, **_kwargs):
607 val = apply(eventsc.wxDropFilesEvent_GetFiles,(self,) + _args, _kwargs)
8ab979d7
RD
608 return val
609 def __repr__(self):
1d99702e 610 return "<C wxDropFilesEvent instance at %s>" % (self.this,)
8ab979d7
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
1d99702e
RD
622 def RequestMore(self, *_args, **_kwargs):
623 val = apply(eventsc.wxIdleEvent_RequestMore,(self,) + _args, _kwargs)
8ab979d7 624 return val
1d99702e
RD
625 def MoreRequested(self, *_args, **_kwargs):
626 val = apply(eventsc.wxIdleEvent_MoreRequested,(self,) + _args, _kwargs)
8ab979d7
RD
627 return val
628 def __repr__(self):
1d99702e 629 return "<C wxIdleEvent instance at %s>" % (self.this,)
8ab979d7 630class wxIdleEvent(wxIdleEventPtr):
48115f4a
RD
631 def __init__(self,*_args,**_kwargs):
632 self.this = apply(eventsc.new_wxIdleEvent,_args,_kwargs)
633 self.thisown = 1
8ab979d7
RD
634
635
636
637
638class wxUpdateUIEventPtr(wxEventPtr):
639 def __init__(self,this):
640 self.this = this
641 self.thisown = 0
1d99702e
RD
642 def GetChecked(self, *_args, **_kwargs):
643 val = apply(eventsc.wxUpdateUIEvent_GetChecked,(self,) + _args, _kwargs)
8ab979d7 644 return val
1d99702e
RD
645 def GetEnabled(self, *_args, **_kwargs):
646 val = apply(eventsc.wxUpdateUIEvent_GetEnabled,(self,) + _args, _kwargs)
8ab979d7 647 return val
1d99702e
RD
648 def GetText(self, *_args, **_kwargs):
649 val = apply(eventsc.wxUpdateUIEvent_GetText,(self,) + _args, _kwargs)
8ab979d7 650 return val
1d99702e
RD
651 def GetSetText(self, *_args, **_kwargs):
652 val = apply(eventsc.wxUpdateUIEvent_GetSetText,(self,) + _args, _kwargs)
8ab979d7 653 return val
1d99702e
RD
654 def GetSetChecked(self, *_args, **_kwargs):
655 val = apply(eventsc.wxUpdateUIEvent_GetSetChecked,(self,) + _args, _kwargs)
8ab979d7 656 return val
1d99702e
RD
657 def GetSetEnabled(self, *_args, **_kwargs):
658 val = apply(eventsc.wxUpdateUIEvent_GetSetEnabled,(self,) + _args, _kwargs)
8ab979d7 659 return val
1d99702e
RD
660 def Check(self, *_args, **_kwargs):
661 val = apply(eventsc.wxUpdateUIEvent_Check,(self,) + _args, _kwargs)
8ab979d7 662 return val
1d99702e
RD
663 def Enable(self, *_args, **_kwargs):
664 val = apply(eventsc.wxUpdateUIEvent_Enable,(self,) + _args, _kwargs)
8ab979d7 665 return val
1d99702e
RD
666 def SetText(self, *_args, **_kwargs):
667 val = apply(eventsc.wxUpdateUIEvent_SetText,(self,) + _args, _kwargs)
8ab979d7
RD
668 return val
669 def __repr__(self):
1d99702e 670 return "<C wxUpdateUIEvent instance at %s>" % (self.this,)
8ab979d7 671class wxUpdateUIEvent(wxUpdateUIEventPtr):
48115f4a
RD
672 def __init__(self,*_args,**_kwargs):
673 self.this = apply(eventsc.new_wxUpdateUIEvent,_args,_kwargs)
674 self.thisown = 1
8ab979d7
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):
1d99702e 684 return "<C wxSysColourChangedEvent instance at %s>" % (self.this,)
8ab979d7 685class wxSysColourChangedEvent(wxSysColourChangedEventPtr):
48115f4a
RD
686 def __init__(self,*_args,**_kwargs):
687 self.this = apply(eventsc.new_wxSysColourChangedEvent,_args,_kwargs)
688 self.thisown = 1
8ab979d7
RD
689
690
691
692
2f90df85
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):
48115f4a
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):
2f90df85
RD
714 def __init__(self,this):
715 self.this = this
48115f4a
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
2f90df85
RD
786
787
788
789
790class wxPyEventPtr(wxEventPtr):
cf694132
RD
791 def __init__(self,this):
792 self.this = this
793 self.thisown = 0
1d99702e 794 def __del__(self,eventsc=eventsc):
cf694132 795 if self.thisown == 1 :
1d99702e 796 eventsc.delete_wxPyEvent(self)
2f90df85
RD
797 def SetPyData(self, *_args, **_kwargs):
798 val = apply(eventsc.wxPyEvent_SetPyData,(self,) + _args, _kwargs)
cf694132 799 return val
2f90df85
RD
800 def GetPyData(self, *_args, **_kwargs):
801 val = apply(eventsc.wxPyEvent_GetPyData,(self,) + _args, _kwargs)
cf694132
RD
802 return val
803 def __repr__(self):
1d99702e 804 return "<C wxPyEvent instance at %s>" % (self.this,)
cf694132 805class wxPyEvent(wxPyEventPtr):
1d99702e
RD
806 def __init__(self,*_args,**_kwargs):
807 self.this = apply(eventsc.new_wxPyEvent,_args,_kwargs)
cf694132
RD
808 self.thisown = 1
809
810
811
812
2f90df85 813class wxPyCommandEventPtr(wxCommandEventPtr):
bb0054cd
RD
814 def __init__(self,this):
815 self.this = this
816 self.thisown = 0
2f90df85
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)
bb0054cd 822 return val
2f90df85
RD
823 def GetPyData(self, *_args, **_kwargs):
824 val = apply(eventsc.wxPyCommandEvent_GetPyData,(self,) + _args, _kwargs)
bb0054cd
RD
825 return val
826 def __repr__(self):
2f90df85
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
bb0054cd
RD
832
833
834
835
8ab979d7
RD
836
837
838#-------------- FUNCTION WRAPPERS ------------------
839
840
841
842#-------------- VARIABLE WRAPPERS ------------------
843