]>
Commit | Line | Data |
---|---|---|
1 | # This file was created automatically by SWIG. | |
2 | import eventsc | |
3 | ||
4 | from misc import * | |
5 | class wxEventPtr : | |
6 | def __init__(self,this): | |
7 | self.this = this | |
8 | self.thisown = 0 | |
9 | def GetEventObject(self, *_args, **_kwargs): | |
10 | val = apply(eventsc.wxEvent_GetEventObject,(self,) + _args, _kwargs) | |
11 | return val | |
12 | def GetEventType(self, *_args, **_kwargs): | |
13 | val = apply(eventsc.wxEvent_GetEventType,(self,) + _args, _kwargs) | |
14 | return val | |
15 | def GetId(self, *_args, **_kwargs): | |
16 | val = apply(eventsc.wxEvent_GetId,(self,) + _args, _kwargs) | |
17 | return val | |
18 | def GetSkipped(self, *_args, **_kwargs): | |
19 | val = apply(eventsc.wxEvent_GetSkipped,(self,) + _args, _kwargs) | |
20 | return val | |
21 | def GetTimestamp(self, *_args, **_kwargs): | |
22 | val = apply(eventsc.wxEvent_GetTimestamp,(self,) + _args, _kwargs) | |
23 | return val | |
24 | def SetEventObject(self, *_args, **_kwargs): | |
25 | val = apply(eventsc.wxEvent_SetEventObject,(self,) + _args, _kwargs) | |
26 | return val | |
27 | def SetEventType(self, *_args, **_kwargs): | |
28 | val = apply(eventsc.wxEvent_SetEventType,(self,) + _args, _kwargs) | |
29 | return val | |
30 | def SetId(self, *_args, **_kwargs): | |
31 | val = apply(eventsc.wxEvent_SetId,(self,) + _args, _kwargs) | |
32 | return val | |
33 | def SetTimestamp(self, *_args, **_kwargs): | |
34 | val = apply(eventsc.wxEvent_SetTimestamp,(self,) + _args, _kwargs) | |
35 | return val | |
36 | def Skip(self, *_args, **_kwargs): | |
37 | val = apply(eventsc.wxEvent_Skip,(self,) + _args, _kwargs) | |
38 | return val | |
39 | def __repr__(self): | |
40 | return "<C wxEvent instance at %s>" % (self.this,) | |
41 | class wxEvent(wxEventPtr): | |
42 | def __init__(self,this): | |
43 | self.this = this | |
44 | ||
45 | ||
46 | ||
47 | ||
48 | class wxSizeEventPtr(wxEventPtr): | |
49 | def __init__(self,this): | |
50 | self.this = this | |
51 | self.thisown = 0 | |
52 | def GetSize(self, *_args, **_kwargs): | |
53 | val = apply(eventsc.wxSizeEvent_GetSize,(self,) + _args, _kwargs) | |
54 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
55 | return val | |
56 | def __repr__(self): | |
57 | return "<C wxSizeEvent instance at %s>" % (self.this,) | |
58 | class wxSizeEvent(wxSizeEventPtr): | |
59 | def __init__(self,this): | |
60 | self.this = this | |
61 | ||
62 | ||
63 | ||
64 | ||
65 | class wxCloseEventPtr(wxEventPtr): | |
66 | def __init__(self,this): | |
67 | self.this = this | |
68 | self.thisown = 0 | |
69 | def SetLoggingOff(self, *_args, **_kwargs): | |
70 | val = apply(eventsc.wxCloseEvent_SetLoggingOff,(self,) + _args, _kwargs) | |
71 | return val | |
72 | def GetLoggingOff(self, *_args, **_kwargs): | |
73 | val = apply(eventsc.wxCloseEvent_GetLoggingOff,(self,) + _args, _kwargs) | |
74 | return val | |
75 | def Veto(self, *_args, **_kwargs): | |
76 | val = apply(eventsc.wxCloseEvent_Veto,(self,) + _args, _kwargs) | |
77 | return val | |
78 | def CanVeto(self, *_args, **_kwargs): | |
79 | val = apply(eventsc.wxCloseEvent_CanVeto,(self,) + _args, _kwargs) | |
80 | return val | |
81 | def GetVeto(self, *_args, **_kwargs): | |
82 | val = apply(eventsc.wxCloseEvent_GetVeto,(self,) + _args, _kwargs) | |
83 | return val | |
84 | def SetCanVeto(self, *_args, **_kwargs): | |
85 | val = apply(eventsc.wxCloseEvent_SetCanVeto,(self,) + _args, _kwargs) | |
86 | return val | |
87 | def __repr__(self): | |
88 | return "<C wxCloseEvent instance at %s>" % (self.this,) | |
89 | class wxCloseEvent(wxCloseEventPtr): | |
90 | def __init__(self,this): | |
91 | self.this = this | |
92 | ||
93 | ||
94 | ||
95 | ||
96 | class wxCommandEventPtr(wxEventPtr): | |
97 | def __init__(self,this): | |
98 | self.this = this | |
99 | self.thisown = 0 | |
100 | def Checked(self, *_args, **_kwargs): | |
101 | val = apply(eventsc.wxCommandEvent_Checked,(self,) + _args, _kwargs) | |
102 | return val | |
103 | def GetExtraLong(self, *_args, **_kwargs): | |
104 | val = apply(eventsc.wxCommandEvent_GetExtraLong,(self,) + _args, _kwargs) | |
105 | return val | |
106 | def GetInt(self, *_args, **_kwargs): | |
107 | val = apply(eventsc.wxCommandEvent_GetInt,(self,) + _args, _kwargs) | |
108 | return val | |
109 | def GetSelection(self, *_args, **_kwargs): | |
110 | val = apply(eventsc.wxCommandEvent_GetSelection,(self,) + _args, _kwargs) | |
111 | return val | |
112 | def GetString(self, *_args, **_kwargs): | |
113 | val = apply(eventsc.wxCommandEvent_GetString,(self,) + _args, _kwargs) | |
114 | return val | |
115 | def IsSelection(self, *_args, **_kwargs): | |
116 | val = apply(eventsc.wxCommandEvent_IsSelection,(self,) + _args, _kwargs) | |
117 | return val | |
118 | def __repr__(self): | |
119 | return "<C wxCommandEvent instance at %s>" % (self.this,) | |
120 | class wxCommandEvent(wxCommandEventPtr): | |
121 | def __init__(self,this): | |
122 | self.this = this | |
123 | ||
124 | ||
125 | ||
126 | ||
127 | class wxScrollEventPtr(wxCommandEventPtr): | |
128 | def __init__(self,this): | |
129 | self.this = this | |
130 | self.thisown = 0 | |
131 | def GetOrientation(self, *_args, **_kwargs): | |
132 | val = apply(eventsc.wxScrollEvent_GetOrientation,(self,) + _args, _kwargs) | |
133 | return val | |
134 | def GetPosition(self, *_args, **_kwargs): | |
135 | val = apply(eventsc.wxScrollEvent_GetPosition,(self,) + _args, _kwargs) | |
136 | return val | |
137 | def __repr__(self): | |
138 | return "<C wxScrollEvent instance at %s>" % (self.this,) | |
139 | class wxScrollEvent(wxScrollEventPtr): | |
140 | def __init__(self,this): | |
141 | self.this = this | |
142 | ||
143 | ||
144 | ||
145 | ||
146 | class wxScrollWinEventPtr(wxEventPtr): | |
147 | def __init__(self,this): | |
148 | self.this = this | |
149 | self.thisown = 0 | |
150 | def GetOrientation(self, *_args, **_kwargs): | |
151 | val = apply(eventsc.wxScrollWinEvent_GetOrientation,(self,) + _args, _kwargs) | |
152 | return val | |
153 | def GetPosition(self, *_args, **_kwargs): | |
154 | val = apply(eventsc.wxScrollWinEvent_GetPosition,(self,) + _args, _kwargs) | |
155 | return val | |
156 | def __repr__(self): | |
157 | return "<C wxScrollWinEvent instance at %s>" % (self.this,) | |
158 | class wxScrollWinEvent(wxScrollWinEventPtr): | |
159 | def __init__(self,this): | |
160 | self.this = this | |
161 | ||
162 | ||
163 | ||
164 | ||
165 | class wxSpinEventPtr(wxScrollEventPtr): | |
166 | def __init__(self,this): | |
167 | self.this = this | |
168 | self.thisown = 0 | |
169 | def __repr__(self): | |
170 | return "<C wxSpinEvent instance at %s>" % (self.this,) | |
171 | class wxSpinEvent(wxSpinEventPtr): | |
172 | def __init__(self,this): | |
173 | self.this = this | |
174 | ||
175 | ||
176 | ||
177 | ||
178 | class wxMouseEventPtr(wxEventPtr): | |
179 | def __init__(self,this): | |
180 | self.this = this | |
181 | self.thisown = 0 | |
182 | def IsButton(self, *_args, **_kwargs): | |
183 | val = apply(eventsc.wxMouseEvent_IsButton,(self,) + _args, _kwargs) | |
184 | return val | |
185 | def ButtonDown(self, *_args, **_kwargs): | |
186 | val = apply(eventsc.wxMouseEvent_ButtonDown,(self,) + _args, _kwargs) | |
187 | return val | |
188 | def ButtonDClick(self, *_args, **_kwargs): | |
189 | val = apply(eventsc.wxMouseEvent_ButtonDClick,(self,) + _args, _kwargs) | |
190 | return val | |
191 | def ButtonUp(self, *_args, **_kwargs): | |
192 | val = apply(eventsc.wxMouseEvent_ButtonUp,(self,) + _args, _kwargs) | |
193 | return val | |
194 | def Button(self, *_args, **_kwargs): | |
195 | val = apply(eventsc.wxMouseEvent_Button,(self,) + _args, _kwargs) | |
196 | return val | |
197 | def ButtonIsDown(self, *_args, **_kwargs): | |
198 | val = apply(eventsc.wxMouseEvent_ButtonIsDown,(self,) + _args, _kwargs) | |
199 | return val | |
200 | def ControlDown(self, *_args, **_kwargs): | |
201 | val = apply(eventsc.wxMouseEvent_ControlDown,(self,) + _args, _kwargs) | |
202 | return val | |
203 | def MetaDown(self, *_args, **_kwargs): | |
204 | val = apply(eventsc.wxMouseEvent_MetaDown,(self,) + _args, _kwargs) | |
205 | return val | |
206 | def AltDown(self, *_args, **_kwargs): | |
207 | val = apply(eventsc.wxMouseEvent_AltDown,(self,) + _args, _kwargs) | |
208 | return val | |
209 | def ShiftDown(self, *_args, **_kwargs): | |
210 | val = apply(eventsc.wxMouseEvent_ShiftDown,(self,) + _args, _kwargs) | |
211 | return val | |
212 | def LeftDown(self, *_args, **_kwargs): | |
213 | val = apply(eventsc.wxMouseEvent_LeftDown,(self,) + _args, _kwargs) | |
214 | return val | |
215 | def MiddleDown(self, *_args, **_kwargs): | |
216 | val = apply(eventsc.wxMouseEvent_MiddleDown,(self,) + _args, _kwargs) | |
217 | return val | |
218 | def RightDown(self, *_args, **_kwargs): | |
219 | val = apply(eventsc.wxMouseEvent_RightDown,(self,) + _args, _kwargs) | |
220 | return val | |
221 | def LeftUp(self, *_args, **_kwargs): | |
222 | val = apply(eventsc.wxMouseEvent_LeftUp,(self,) + _args, _kwargs) | |
223 | return val | |
224 | def MiddleUp(self, *_args, **_kwargs): | |
225 | val = apply(eventsc.wxMouseEvent_MiddleUp,(self,) + _args, _kwargs) | |
226 | return val | |
227 | def RightUp(self, *_args, **_kwargs): | |
228 | val = apply(eventsc.wxMouseEvent_RightUp,(self,) + _args, _kwargs) | |
229 | return val | |
230 | def LeftDClick(self, *_args, **_kwargs): | |
231 | val = apply(eventsc.wxMouseEvent_LeftDClick,(self,) + _args, _kwargs) | |
232 | return val | |
233 | def MiddleDClick(self, *_args, **_kwargs): | |
234 | val = apply(eventsc.wxMouseEvent_MiddleDClick,(self,) + _args, _kwargs) | |
235 | return val | |
236 | def RightDClick(self, *_args, **_kwargs): | |
237 | val = apply(eventsc.wxMouseEvent_RightDClick,(self,) + _args, _kwargs) | |
238 | return val | |
239 | def LeftIsDown(self, *_args, **_kwargs): | |
240 | val = apply(eventsc.wxMouseEvent_LeftIsDown,(self,) + _args, _kwargs) | |
241 | return val | |
242 | def MiddleIsDown(self, *_args, **_kwargs): | |
243 | val = apply(eventsc.wxMouseEvent_MiddleIsDown,(self,) + _args, _kwargs) | |
244 | return val | |
245 | def RightIsDown(self, *_args, **_kwargs): | |
246 | val = apply(eventsc.wxMouseEvent_RightIsDown,(self,) + _args, _kwargs) | |
247 | return val | |
248 | def Dragging(self, *_args, **_kwargs): | |
249 | val = apply(eventsc.wxMouseEvent_Dragging,(self,) + _args, _kwargs) | |
250 | return val | |
251 | def Moving(self, *_args, **_kwargs): | |
252 | val = apply(eventsc.wxMouseEvent_Moving,(self,) + _args, _kwargs) | |
253 | return val | |
254 | def Entering(self, *_args, **_kwargs): | |
255 | val = apply(eventsc.wxMouseEvent_Entering,(self,) + _args, _kwargs) | |
256 | return val | |
257 | def Leaving(self, *_args, **_kwargs): | |
258 | val = apply(eventsc.wxMouseEvent_Leaving,(self,) + _args, _kwargs) | |
259 | return val | |
260 | def Position(self, *_args, **_kwargs): | |
261 | val = apply(eventsc.wxMouseEvent_Position,(self,) + _args, _kwargs) | |
262 | return val | |
263 | def GetPosition(self, *_args, **_kwargs): | |
264 | val = apply(eventsc.wxMouseEvent_GetPosition,(self,) + _args, _kwargs) | |
265 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
266 | return val | |
267 | def GetLogicalPosition(self, *_args, **_kwargs): | |
268 | val = apply(eventsc.wxMouseEvent_GetLogicalPosition,(self,) + _args, _kwargs) | |
269 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
270 | return val | |
271 | def GetX(self, *_args, **_kwargs): | |
272 | val = apply(eventsc.wxMouseEvent_GetX,(self,) + _args, _kwargs) | |
273 | return val | |
274 | def GetY(self, *_args, **_kwargs): | |
275 | val = apply(eventsc.wxMouseEvent_GetY,(self,) + _args, _kwargs) | |
276 | return val | |
277 | def __repr__(self): | |
278 | return "<C wxMouseEvent instance at %s>" % (self.this,) | |
279 | class wxMouseEvent(wxMouseEventPtr): | |
280 | def __init__(self,this): | |
281 | self.this = this | |
282 | ||
283 | ||
284 | ||
285 | ||
286 | class wxKeyEventPtr(wxEventPtr): | |
287 | def __init__(self,this): | |
288 | self.this = this | |
289 | self.thisown = 0 | |
290 | def ControlDown(self, *_args, **_kwargs): | |
291 | val = apply(eventsc.wxKeyEvent_ControlDown,(self,) + _args, _kwargs) | |
292 | return val | |
293 | def MetaDown(self, *_args, **_kwargs): | |
294 | val = apply(eventsc.wxKeyEvent_MetaDown,(self,) + _args, _kwargs) | |
295 | return val | |
296 | def AltDown(self, *_args, **_kwargs): | |
297 | val = apply(eventsc.wxKeyEvent_AltDown,(self,) + _args, _kwargs) | |
298 | return val | |
299 | def ShiftDown(self, *_args, **_kwargs): | |
300 | val = apply(eventsc.wxKeyEvent_ShiftDown,(self,) + _args, _kwargs) | |
301 | return val | |
302 | def KeyCode(self, *_args, **_kwargs): | |
303 | val = apply(eventsc.wxKeyEvent_KeyCode,(self,) + _args, _kwargs) | |
304 | return val | |
305 | def __repr__(self): | |
306 | return "<C wxKeyEvent instance at %s>" % (self.this,) | |
307 | class wxKeyEvent(wxKeyEventPtr): | |
308 | def __init__(self,this): | |
309 | self.this = this | |
310 | ||
311 | ||
312 | ||
313 | ||
314 | class wxMoveEventPtr(wxEventPtr): | |
315 | def __init__(self,this): | |
316 | self.this = this | |
317 | self.thisown = 0 | |
318 | def GetPosition(self, *_args, **_kwargs): | |
319 | val = apply(eventsc.wxMoveEvent_GetPosition,(self,) + _args, _kwargs) | |
320 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
321 | return val | |
322 | def __repr__(self): | |
323 | return "<C wxMoveEvent instance at %s>" % (self.this,) | |
324 | class wxMoveEvent(wxMoveEventPtr): | |
325 | def __init__(self,this): | |
326 | self.this = this | |
327 | ||
328 | ||
329 | ||
330 | ||
331 | class wxPaintEventPtr(wxEventPtr): | |
332 | def __init__(self,this): | |
333 | self.this = this | |
334 | self.thisown = 0 | |
335 | def __repr__(self): | |
336 | return "<C wxPaintEvent instance at %s>" % (self.this,) | |
337 | class wxPaintEvent(wxPaintEventPtr): | |
338 | def __init__(self,this): | |
339 | self.this = this | |
340 | ||
341 | ||
342 | ||
343 | ||
344 | class wxEraseEventPtr(wxEventPtr): | |
345 | def __init__(self,this): | |
346 | self.this = this | |
347 | self.thisown = 0 | |
348 | def GetDC(self, *_args, **_kwargs): | |
349 | val = apply(eventsc.wxEraseEvent_GetDC,(self,) + _args, _kwargs) | |
350 | if val: val = wxDCPtr(val) | |
351 | return val | |
352 | def __repr__(self): | |
353 | return "<C wxEraseEvent instance at %s>" % (self.this,) | |
354 | class wxEraseEvent(wxEraseEventPtr): | |
355 | def __init__(self,this): | |
356 | self.this = this | |
357 | ||
358 | ||
359 | ||
360 | ||
361 | class wxFocusEventPtr(wxEventPtr): | |
362 | def __init__(self,this): | |
363 | self.this = this | |
364 | self.thisown = 0 | |
365 | def __repr__(self): | |
366 | return "<C wxFocusEvent instance at %s>" % (self.this,) | |
367 | class wxFocusEvent(wxFocusEventPtr): | |
368 | def __init__(self,this): | |
369 | self.this = this | |
370 | ||
371 | ||
372 | ||
373 | ||
374 | class wxActivateEventPtr(wxEventPtr): | |
375 | def __init__(self,this): | |
376 | self.this = this | |
377 | self.thisown = 0 | |
378 | def GetActive(self, *_args, **_kwargs): | |
379 | val = apply(eventsc.wxActivateEvent_GetActive,(self,) + _args, _kwargs) | |
380 | return val | |
381 | def __repr__(self): | |
382 | return "<C wxActivateEvent instance at %s>" % (self.this,) | |
383 | class wxActivateEvent(wxActivateEventPtr): | |
384 | def __init__(self,this): | |
385 | self.this = this | |
386 | ||
387 | ||
388 | ||
389 | ||
390 | class wxInitDialogEventPtr(wxEventPtr): | |
391 | def __init__(self,this): | |
392 | self.this = this | |
393 | self.thisown = 0 | |
394 | def __repr__(self): | |
395 | return "<C wxInitDialogEvent instance at %s>" % (self.this,) | |
396 | class wxInitDialogEvent(wxInitDialogEventPtr): | |
397 | def __init__(self,this): | |
398 | self.this = this | |
399 | ||
400 | ||
401 | ||
402 | ||
403 | class wxMenuEventPtr(wxEventPtr): | |
404 | def __init__(self,this): | |
405 | self.this = this | |
406 | self.thisown = 0 | |
407 | def GetMenuId(self, *_args, **_kwargs): | |
408 | val = apply(eventsc.wxMenuEvent_GetMenuId,(self,) + _args, _kwargs) | |
409 | return val | |
410 | def __repr__(self): | |
411 | return "<C wxMenuEvent instance at %s>" % (self.this,) | |
412 | class wxMenuEvent(wxMenuEventPtr): | |
413 | def __init__(self,this): | |
414 | self.this = this | |
415 | ||
416 | ||
417 | ||
418 | ||
419 | class wxShowEventPtr(wxEventPtr): | |
420 | def __init__(self,this): | |
421 | self.this = this | |
422 | self.thisown = 0 | |
423 | def SetShow(self, *_args, **_kwargs): | |
424 | val = apply(eventsc.wxShowEvent_SetShow,(self,) + _args, _kwargs) | |
425 | return val | |
426 | def GetShow(self, *_args, **_kwargs): | |
427 | val = apply(eventsc.wxShowEvent_GetShow,(self,) + _args, _kwargs) | |
428 | return val | |
429 | def __repr__(self): | |
430 | return "<C wxShowEvent instance at %s>" % (self.this,) | |
431 | class wxShowEvent(wxShowEventPtr): | |
432 | def __init__(self,this): | |
433 | self.this = this | |
434 | ||
435 | ||
436 | ||
437 | ||
438 | class wxIconizeEventPtr(wxEventPtr): | |
439 | def __init__(self,this): | |
440 | self.this = this | |
441 | self.thisown = 0 | |
442 | def __repr__(self): | |
443 | return "<C wxIconizeEvent instance at %s>" % (self.this,) | |
444 | class wxIconizeEvent(wxIconizeEventPtr): | |
445 | def __init__(self,this): | |
446 | self.this = this | |
447 | ||
448 | ||
449 | ||
450 | ||
451 | class wxMaximizeEventPtr(wxEventPtr): | |
452 | def __init__(self,this): | |
453 | self.this = this | |
454 | self.thisown = 0 | |
455 | def __repr__(self): | |
456 | return "<C wxMaximizeEvent instance at %s>" % (self.this,) | |
457 | class wxMaximizeEvent(wxMaximizeEventPtr): | |
458 | def __init__(self,this): | |
459 | self.this = this | |
460 | ||
461 | ||
462 | ||
463 | ||
464 | class wxJoystickEventPtr(wxEventPtr): | |
465 | def __init__(self,this): | |
466 | self.this = this | |
467 | self.thisown = 0 | |
468 | def GetPosition(self, *_args, **_kwargs): | |
469 | val = apply(eventsc.wxJoystickEvent_GetPosition,(self,) + _args, _kwargs) | |
470 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
471 | return val | |
472 | def GetZPosition(self, *_args, **_kwargs): | |
473 | val = apply(eventsc.wxJoystickEvent_GetZPosition,(self,) + _args, _kwargs) | |
474 | return val | |
475 | def GetButtonState(self, *_args, **_kwargs): | |
476 | val = apply(eventsc.wxJoystickEvent_GetButtonState,(self,) + _args, _kwargs) | |
477 | return val | |
478 | def GetButtonChange(self, *_args, **_kwargs): | |
479 | val = apply(eventsc.wxJoystickEvent_GetButtonChange,(self,) + _args, _kwargs) | |
480 | return val | |
481 | def GetJoystick(self, *_args, **_kwargs): | |
482 | val = apply(eventsc.wxJoystickEvent_GetJoystick,(self,) + _args, _kwargs) | |
483 | return val | |
484 | def SetJoystick(self, *_args, **_kwargs): | |
485 | val = apply(eventsc.wxJoystickEvent_SetJoystick,(self,) + _args, _kwargs) | |
486 | return val | |
487 | def SetButtonState(self, *_args, **_kwargs): | |
488 | val = apply(eventsc.wxJoystickEvent_SetButtonState,(self,) + _args, _kwargs) | |
489 | return val | |
490 | def SetButtonChange(self, *_args, **_kwargs): | |
491 | val = apply(eventsc.wxJoystickEvent_SetButtonChange,(self,) + _args, _kwargs) | |
492 | return val | |
493 | def SetPosition(self, *_args, **_kwargs): | |
494 | val = apply(eventsc.wxJoystickEvent_SetPosition,(self,) + _args, _kwargs) | |
495 | return val | |
496 | def SetZPosition(self, *_args, **_kwargs): | |
497 | val = apply(eventsc.wxJoystickEvent_SetZPosition,(self,) + _args, _kwargs) | |
498 | return val | |
499 | def IsButton(self, *_args, **_kwargs): | |
500 | val = apply(eventsc.wxJoystickEvent_IsButton,(self,) + _args, _kwargs) | |
501 | return val | |
502 | def IsMove(self, *_args, **_kwargs): | |
503 | val = apply(eventsc.wxJoystickEvent_IsMove,(self,) + _args, _kwargs) | |
504 | return val | |
505 | def IsZMove(self, *_args, **_kwargs): | |
506 | val = apply(eventsc.wxJoystickEvent_IsZMove,(self,) + _args, _kwargs) | |
507 | return val | |
508 | def ButtonDown(self, *_args, **_kwargs): | |
509 | val = apply(eventsc.wxJoystickEvent_ButtonDown,(self,) + _args, _kwargs) | |
510 | return val | |
511 | def ButtonUp(self, *_args, **_kwargs): | |
512 | val = apply(eventsc.wxJoystickEvent_ButtonUp,(self,) + _args, _kwargs) | |
513 | return val | |
514 | def ButtonIsDown(self, *_args, **_kwargs): | |
515 | val = apply(eventsc.wxJoystickEvent_ButtonIsDown,(self,) + _args, _kwargs) | |
516 | return val | |
517 | def __repr__(self): | |
518 | return "<C wxJoystickEvent instance at %s>" % (self.this,) | |
519 | class wxJoystickEvent(wxJoystickEventPtr): | |
520 | def __init__(self,this): | |
521 | self.this = this | |
522 | ||
523 | ||
524 | ||
525 | ||
526 | class wxDropFilesEventPtr(wxEventPtr): | |
527 | def __init__(self,this): | |
528 | self.this = this | |
529 | self.thisown = 0 | |
530 | def GetPosition(self, *_args, **_kwargs): | |
531 | val = apply(eventsc.wxDropFilesEvent_GetPosition,(self,) + _args, _kwargs) | |
532 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
533 | return val | |
534 | def GetNumberOfFiles(self, *_args, **_kwargs): | |
535 | val = apply(eventsc.wxDropFilesEvent_GetNumberOfFiles,(self,) + _args, _kwargs) | |
536 | return val | |
537 | def GetFiles(self, *_args, **_kwargs): | |
538 | val = apply(eventsc.wxDropFilesEvent_GetFiles,(self,) + _args, _kwargs) | |
539 | return val | |
540 | def __repr__(self): | |
541 | return "<C wxDropFilesEvent instance at %s>" % (self.this,) | |
542 | class wxDropFilesEvent(wxDropFilesEventPtr): | |
543 | def __init__(self,this): | |
544 | self.this = this | |
545 | ||
546 | ||
547 | ||
548 | ||
549 | class wxIdleEventPtr(wxEventPtr): | |
550 | def __init__(self,this): | |
551 | self.this = this | |
552 | self.thisown = 0 | |
553 | def RequestMore(self, *_args, **_kwargs): | |
554 | val = apply(eventsc.wxIdleEvent_RequestMore,(self,) + _args, _kwargs) | |
555 | return val | |
556 | def MoreRequested(self, *_args, **_kwargs): | |
557 | val = apply(eventsc.wxIdleEvent_MoreRequested,(self,) + _args, _kwargs) | |
558 | return val | |
559 | def __repr__(self): | |
560 | return "<C wxIdleEvent instance at %s>" % (self.this,) | |
561 | class wxIdleEvent(wxIdleEventPtr): | |
562 | def __init__(self,this): | |
563 | self.this = this | |
564 | ||
565 | ||
566 | ||
567 | ||
568 | class wxUpdateUIEventPtr(wxEventPtr): | |
569 | def __init__(self,this): | |
570 | self.this = this | |
571 | self.thisown = 0 | |
572 | def GetChecked(self, *_args, **_kwargs): | |
573 | val = apply(eventsc.wxUpdateUIEvent_GetChecked,(self,) + _args, _kwargs) | |
574 | return val | |
575 | def GetEnabled(self, *_args, **_kwargs): | |
576 | val = apply(eventsc.wxUpdateUIEvent_GetEnabled,(self,) + _args, _kwargs) | |
577 | return val | |
578 | def GetText(self, *_args, **_kwargs): | |
579 | val = apply(eventsc.wxUpdateUIEvent_GetText,(self,) + _args, _kwargs) | |
580 | return val | |
581 | def GetSetText(self, *_args, **_kwargs): | |
582 | val = apply(eventsc.wxUpdateUIEvent_GetSetText,(self,) + _args, _kwargs) | |
583 | return val | |
584 | def GetSetChecked(self, *_args, **_kwargs): | |
585 | val = apply(eventsc.wxUpdateUIEvent_GetSetChecked,(self,) + _args, _kwargs) | |
586 | return val | |
587 | def GetSetEnabled(self, *_args, **_kwargs): | |
588 | val = apply(eventsc.wxUpdateUIEvent_GetSetEnabled,(self,) + _args, _kwargs) | |
589 | return val | |
590 | def Check(self, *_args, **_kwargs): | |
591 | val = apply(eventsc.wxUpdateUIEvent_Check,(self,) + _args, _kwargs) | |
592 | return val | |
593 | def Enable(self, *_args, **_kwargs): | |
594 | val = apply(eventsc.wxUpdateUIEvent_Enable,(self,) + _args, _kwargs) | |
595 | return val | |
596 | def SetText(self, *_args, **_kwargs): | |
597 | val = apply(eventsc.wxUpdateUIEvent_SetText,(self,) + _args, _kwargs) | |
598 | return val | |
599 | def __repr__(self): | |
600 | return "<C wxUpdateUIEvent instance at %s>" % (self.this,) | |
601 | class wxUpdateUIEvent(wxUpdateUIEventPtr): | |
602 | def __init__(self,this): | |
603 | self.this = this | |
604 | ||
605 | ||
606 | ||
607 | ||
608 | class wxSysColourChangedEventPtr(wxEventPtr): | |
609 | def __init__(self,this): | |
610 | self.this = this | |
611 | self.thisown = 0 | |
612 | def __repr__(self): | |
613 | return "<C wxSysColourChangedEvent instance at %s>" % (self.this,) | |
614 | class wxSysColourChangedEvent(wxSysColourChangedEventPtr): | |
615 | def __init__(self,this): | |
616 | self.this = this | |
617 | ||
618 | ||
619 | ||
620 | ||
621 | class wxNotifyEventPtr(wxCommandEventPtr): | |
622 | def __init__(self,this): | |
623 | self.this = this | |
624 | self.thisown = 0 | |
625 | def IsAllowed(self, *_args, **_kwargs): | |
626 | val = apply(eventsc.wxNotifyEvent_IsAllowed,(self,) + _args, _kwargs) | |
627 | return val | |
628 | def Veto(self, *_args, **_kwargs): | |
629 | val = apply(eventsc.wxNotifyEvent_Veto,(self,) + _args, _kwargs) | |
630 | return val | |
631 | def __repr__(self): | |
632 | return "<C wxNotifyEvent instance at %s>" % (self.this,) | |
633 | class wxNotifyEvent(wxNotifyEventPtr): | |
634 | def __init__(self,this): | |
635 | self.this = this | |
636 | ||
637 | ||
638 | ||
639 | ||
640 | class wxPyEventPtr(wxEventPtr): | |
641 | def __init__(self,this): | |
642 | self.this = this | |
643 | self.thisown = 0 | |
644 | def __del__(self,eventsc=eventsc): | |
645 | if self.thisown == 1 : | |
646 | eventsc.delete_wxPyEvent(self) | |
647 | def SetPyData(self, *_args, **_kwargs): | |
648 | val = apply(eventsc.wxPyEvent_SetPyData,(self,) + _args, _kwargs) | |
649 | return val | |
650 | def GetPyData(self, *_args, **_kwargs): | |
651 | val = apply(eventsc.wxPyEvent_GetPyData,(self,) + _args, _kwargs) | |
652 | return val | |
653 | def __repr__(self): | |
654 | return "<C wxPyEvent instance at %s>" % (self.this,) | |
655 | class wxPyEvent(wxPyEventPtr): | |
656 | def __init__(self,*_args,**_kwargs): | |
657 | self.this = apply(eventsc.new_wxPyEvent,_args,_kwargs) | |
658 | self.thisown = 1 | |
659 | ||
660 | ||
661 | ||
662 | ||
663 | class wxPyCommandEventPtr(wxCommandEventPtr): | |
664 | def __init__(self,this): | |
665 | self.this = this | |
666 | self.thisown = 0 | |
667 | def __del__(self,eventsc=eventsc): | |
668 | if self.thisown == 1 : | |
669 | eventsc.delete_wxPyCommandEvent(self) | |
670 | def SetPyData(self, *_args, **_kwargs): | |
671 | val = apply(eventsc.wxPyCommandEvent_SetPyData,(self,) + _args, _kwargs) | |
672 | return val | |
673 | def GetPyData(self, *_args, **_kwargs): | |
674 | val = apply(eventsc.wxPyCommandEvent_GetPyData,(self,) + _args, _kwargs) | |
675 | return val | |
676 | def __repr__(self): | |
677 | return "<C wxPyCommandEvent instance at %s>" % (self.this,) | |
678 | class wxPyCommandEvent(wxPyCommandEventPtr): | |
679 | def __init__(self,*_args,**_kwargs): | |
680 | self.this = apply(eventsc.new_wxPyCommandEvent,_args,_kwargs) | |
681 | self.thisown = 1 | |
682 | ||
683 | ||
684 | ||
685 | ||
686 | ||
687 | ||
688 | #-------------- FUNCTION WRAPPERS ------------------ | |
689 | ||
690 | ||
691 | ||
692 | #-------------- VARIABLE WRAPPERS ------------------ | |
693 |