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