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