]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/events.py
*** empty log message ***
[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, *_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 wxSpinEventPtr(wxScrollEventPtr):
147 def __init__(self,this):
148 self.this = this
149 self.thisown = 0
150 def __repr__(self):
151 return "<C wxSpinEvent instance at %s>" % (self.this,)
152 class wxSpinEvent(wxSpinEventPtr):
153 def __init__(self,this):
154 self.this = this
155
156
157
158
159 class wxMouseEventPtr(wxEventPtr):
160 def __init__(self,this):
161 self.this = this
162 self.thisown = 0
163 def IsButton(self, *_args, **_kwargs):
164 val = apply(eventsc.wxMouseEvent_IsButton,(self,) + _args, _kwargs)
165 return val
166 def ButtonDown(self, *_args, **_kwargs):
167 val = apply(eventsc.wxMouseEvent_ButtonDown,(self,) + _args, _kwargs)
168 return val
169 def ButtonDClick(self, *_args, **_kwargs):
170 val = apply(eventsc.wxMouseEvent_ButtonDClick,(self,) + _args, _kwargs)
171 return val
172 def ButtonUp(self, *_args, **_kwargs):
173 val = apply(eventsc.wxMouseEvent_ButtonUp,(self,) + _args, _kwargs)
174 return val
175 def Button(self, *_args, **_kwargs):
176 val = apply(eventsc.wxMouseEvent_Button,(self,) + _args, _kwargs)
177 return val
178 def ButtonIsDown(self, *_args, **_kwargs):
179 val = apply(eventsc.wxMouseEvent_ButtonIsDown,(self,) + _args, _kwargs)
180 return val
181 def ControlDown(self, *_args, **_kwargs):
182 val = apply(eventsc.wxMouseEvent_ControlDown,(self,) + _args, _kwargs)
183 return val
184 def MetaDown(self, *_args, **_kwargs):
185 val = apply(eventsc.wxMouseEvent_MetaDown,(self,) + _args, _kwargs)
186 return val
187 def AltDown(self, *_args, **_kwargs):
188 val = apply(eventsc.wxMouseEvent_AltDown,(self,) + _args, _kwargs)
189 return val
190 def ShiftDown(self, *_args, **_kwargs):
191 val = apply(eventsc.wxMouseEvent_ShiftDown,(self,) + _args, _kwargs)
192 return val
193 def LeftDown(self, *_args, **_kwargs):
194 val = apply(eventsc.wxMouseEvent_LeftDown,(self,) + _args, _kwargs)
195 return val
196 def MiddleDown(self, *_args, **_kwargs):
197 val = apply(eventsc.wxMouseEvent_MiddleDown,(self,) + _args, _kwargs)
198 return val
199 def RightDown(self, *_args, **_kwargs):
200 val = apply(eventsc.wxMouseEvent_RightDown,(self,) + _args, _kwargs)
201 return val
202 def LeftUp(self, *_args, **_kwargs):
203 val = apply(eventsc.wxMouseEvent_LeftUp,(self,) + _args, _kwargs)
204 return val
205 def MiddleUp(self, *_args, **_kwargs):
206 val = apply(eventsc.wxMouseEvent_MiddleUp,(self,) + _args, _kwargs)
207 return val
208 def RightUp(self, *_args, **_kwargs):
209 val = apply(eventsc.wxMouseEvent_RightUp,(self,) + _args, _kwargs)
210 return val
211 def LeftDClick(self, *_args, **_kwargs):
212 val = apply(eventsc.wxMouseEvent_LeftDClick,(self,) + _args, _kwargs)
213 return val
214 def MiddleDClick(self, *_args, **_kwargs):
215 val = apply(eventsc.wxMouseEvent_MiddleDClick,(self,) + _args, _kwargs)
216 return val
217 def RightDClick(self, *_args, **_kwargs):
218 val = apply(eventsc.wxMouseEvent_RightDClick,(self,) + _args, _kwargs)
219 return val
220 def LeftIsDown(self, *_args, **_kwargs):
221 val = apply(eventsc.wxMouseEvent_LeftIsDown,(self,) + _args, _kwargs)
222 return val
223 def MiddleIsDown(self, *_args, **_kwargs):
224 val = apply(eventsc.wxMouseEvent_MiddleIsDown,(self,) + _args, _kwargs)
225 return val
226 def RightIsDown(self, *_args, **_kwargs):
227 val = apply(eventsc.wxMouseEvent_RightIsDown,(self,) + _args, _kwargs)
228 return val
229 def Dragging(self, *_args, **_kwargs):
230 val = apply(eventsc.wxMouseEvent_Dragging,(self,) + _args, _kwargs)
231 return val
232 def Moving(self, *_args, **_kwargs):
233 val = apply(eventsc.wxMouseEvent_Moving,(self,) + _args, _kwargs)
234 return val
235 def Entering(self, *_args, **_kwargs):
236 val = apply(eventsc.wxMouseEvent_Entering,(self,) + _args, _kwargs)
237 return val
238 def Leaving(self, *_args, **_kwargs):
239 val = apply(eventsc.wxMouseEvent_Leaving,(self,) + _args, _kwargs)
240 return val
241 def Position(self, *_args, **_kwargs):
242 val = apply(eventsc.wxMouseEvent_Position,(self,) + _args, _kwargs)
243 return val
244 def GetPosition(self, *_args, **_kwargs):
245 val = apply(eventsc.wxMouseEvent_GetPosition,(self,) + _args, _kwargs)
246 if val: val = wxPointPtr(val) ; val.thisown = 1
247 return val
248 def GetLogicalPosition(self, *_args, **_kwargs):
249 val = apply(eventsc.wxMouseEvent_GetLogicalPosition,(self,) + _args, _kwargs)
250 if val: val = wxPointPtr(val) ; val.thisown = 1
251 return val
252 def GetX(self, *_args, **_kwargs):
253 val = apply(eventsc.wxMouseEvent_GetX,(self,) + _args, _kwargs)
254 return val
255 def GetY(self, *_args, **_kwargs):
256 val = apply(eventsc.wxMouseEvent_GetY,(self,) + _args, _kwargs)
257 return val
258 def __repr__(self):
259 return "<C wxMouseEvent instance at %s>" % (self.this,)
260 class wxMouseEvent(wxMouseEventPtr):
261 def __init__(self,this):
262 self.this = this
263
264
265
266
267 class wxKeyEventPtr(wxEventPtr):
268 def __init__(self,this):
269 self.this = this
270 self.thisown = 0
271 def ControlDown(self, *_args, **_kwargs):
272 val = apply(eventsc.wxKeyEvent_ControlDown,(self,) + _args, _kwargs)
273 return val
274 def MetaDown(self, *_args, **_kwargs):
275 val = apply(eventsc.wxKeyEvent_MetaDown,(self,) + _args, _kwargs)
276 return val
277 def AltDown(self, *_args, **_kwargs):
278 val = apply(eventsc.wxKeyEvent_AltDown,(self,) + _args, _kwargs)
279 return val
280 def ShiftDown(self, *_args, **_kwargs):
281 val = apply(eventsc.wxKeyEvent_ShiftDown,(self,) + _args, _kwargs)
282 return val
283 def KeyCode(self, *_args, **_kwargs):
284 val = apply(eventsc.wxKeyEvent_KeyCode,(self,) + _args, _kwargs)
285 return val
286 def __repr__(self):
287 return "<C wxKeyEvent instance at %s>" % (self.this,)
288 class wxKeyEvent(wxKeyEventPtr):
289 def __init__(self,this):
290 self.this = this
291
292
293
294
295 class wxMoveEventPtr(wxEventPtr):
296 def __init__(self,this):
297 self.this = this
298 self.thisown = 0
299 def GetPosition(self, *_args, **_kwargs):
300 val = apply(eventsc.wxMoveEvent_GetPosition,(self,) + _args, _kwargs)
301 if val: val = wxPointPtr(val) ; val.thisown = 1
302 return val
303 def __repr__(self):
304 return "<C wxMoveEvent instance at %s>" % (self.this,)
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 at %s>" % (self.this,)
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, *_args, **_kwargs):
330 val = apply(eventsc.wxEraseEvent_GetDC,(self,) + _args, _kwargs)
331 if val: val = wxDCPtr(val)
332 return val
333 def __repr__(self):
334 return "<C wxEraseEvent instance at %s>" % (self.this,)
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 at %s>" % (self.this,)
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, *_args, **_kwargs):
360 val = apply(eventsc.wxActivateEvent_GetActive,(self,) + _args, _kwargs)
361 return val
362 def __repr__(self):
363 return "<C wxActivateEvent instance at %s>" % (self.this,)
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 at %s>" % (self.this,)
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, *_args, **_kwargs):
389 val = apply(eventsc.wxMenuEvent_GetMenuId,(self,) + _args, _kwargs)
390 return val
391 def __repr__(self):
392 return "<C wxMenuEvent instance at %s>" % (self.this,)
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, *_args, **_kwargs):
405 val = apply(eventsc.wxShowEvent_SetShow,(self,) + _args, _kwargs)
406 return val
407 def GetShow(self, *_args, **_kwargs):
408 val = apply(eventsc.wxShowEvent_GetShow,(self,) + _args, _kwargs)
409 return val
410 def __repr__(self):
411 return "<C wxShowEvent instance at %s>" % (self.this,)
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 at %s>" % (self.this,)
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 at %s>" % (self.this,)
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, *_args, **_kwargs):
450 val = apply(eventsc.wxJoystickEvent_GetPosition,(self,) + _args, _kwargs)
451 if val: val = wxPointPtr(val) ; val.thisown = 1
452 return val
453 def GetZPosition(self, *_args, **_kwargs):
454 val = apply(eventsc.wxJoystickEvent_GetZPosition,(self,) + _args, _kwargs)
455 return val
456 def GetButtonState(self, *_args, **_kwargs):
457 val = apply(eventsc.wxJoystickEvent_GetButtonState,(self,) + _args, _kwargs)
458 return val
459 def GetButtonChange(self, *_args, **_kwargs):
460 val = apply(eventsc.wxJoystickEvent_GetButtonChange,(self,) + _args, _kwargs)
461 return val
462 def GetJoystick(self, *_args, **_kwargs):
463 val = apply(eventsc.wxJoystickEvent_GetJoystick,(self,) + _args, _kwargs)
464 return val
465 def SetJoystick(self, *_args, **_kwargs):
466 val = apply(eventsc.wxJoystickEvent_SetJoystick,(self,) + _args, _kwargs)
467 return val
468 def SetButtonState(self, *_args, **_kwargs):
469 val = apply(eventsc.wxJoystickEvent_SetButtonState,(self,) + _args, _kwargs)
470 return val
471 def SetButtonChange(self, *_args, **_kwargs):
472 val = apply(eventsc.wxJoystickEvent_SetButtonChange,(self,) + _args, _kwargs)
473 return val
474 def SetPosition(self, *_args, **_kwargs):
475 val = apply(eventsc.wxJoystickEvent_SetPosition,(self,) + _args, _kwargs)
476 return val
477 def SetZPosition(self, *_args, **_kwargs):
478 val = apply(eventsc.wxJoystickEvent_SetZPosition,(self,) + _args, _kwargs)
479 return val
480 def IsButton(self, *_args, **_kwargs):
481 val = apply(eventsc.wxJoystickEvent_IsButton,(self,) + _args, _kwargs)
482 return val
483 def IsMove(self, *_args, **_kwargs):
484 val = apply(eventsc.wxJoystickEvent_IsMove,(self,) + _args, _kwargs)
485 return val
486 def IsZMove(self, *_args, **_kwargs):
487 val = apply(eventsc.wxJoystickEvent_IsZMove,(self,) + _args, _kwargs)
488 return val
489 def ButtonDown(self, *_args, **_kwargs):
490 val = apply(eventsc.wxJoystickEvent_ButtonDown,(self,) + _args, _kwargs)
491 return val
492 def ButtonUp(self, *_args, **_kwargs):
493 val = apply(eventsc.wxJoystickEvent_ButtonUp,(self,) + _args, _kwargs)
494 return val
495 def ButtonIsDown(self, *_args, **_kwargs):
496 val = apply(eventsc.wxJoystickEvent_ButtonIsDown,(self,) + _args, _kwargs)
497 return val
498 def __repr__(self):
499 return "<C wxJoystickEvent instance at %s>" % (self.this,)
500 class wxJoystickEvent(wxJoystickEventPtr):
501 def __init__(self,this):
502 self.this = this
503
504
505
506
507 class wxDropFilesEventPtr(wxEventPtr):
508 def __init__(self,this):
509 self.this = this
510 self.thisown = 0
511 def GetPosition(self, *_args, **_kwargs):
512 val = apply(eventsc.wxDropFilesEvent_GetPosition,(self,) + _args, _kwargs)
513 if val: val = wxPointPtr(val) ; val.thisown = 1
514 return val
515 def GetNumberOfFiles(self, *_args, **_kwargs):
516 val = apply(eventsc.wxDropFilesEvent_GetNumberOfFiles,(self,) + _args, _kwargs)
517 return val
518 def GetFiles(self, *_args, **_kwargs):
519 val = apply(eventsc.wxDropFilesEvent_GetFiles,(self,) + _args, _kwargs)
520 return val
521 def __repr__(self):
522 return "<C wxDropFilesEvent instance at %s>" % (self.this,)
523 class wxDropFilesEvent(wxDropFilesEventPtr):
524 def __init__(self,this):
525 self.this = this
526
527
528
529
530 class wxIdleEventPtr(wxEventPtr):
531 def __init__(self,this):
532 self.this = this
533 self.thisown = 0
534 def RequestMore(self, *_args, **_kwargs):
535 val = apply(eventsc.wxIdleEvent_RequestMore,(self,) + _args, _kwargs)
536 return val
537 def MoreRequested(self, *_args, **_kwargs):
538 val = apply(eventsc.wxIdleEvent_MoreRequested,(self,) + _args, _kwargs)
539 return val
540 def __repr__(self):
541 return "<C wxIdleEvent instance at %s>" % (self.this,)
542 class wxIdleEvent(wxIdleEventPtr):
543 def __init__(self,this):
544 self.this = this
545
546
547
548
549 class wxUpdateUIEventPtr(wxEventPtr):
550 def __init__(self,this):
551 self.this = this
552 self.thisown = 0
553 def GetChecked(self, *_args, **_kwargs):
554 val = apply(eventsc.wxUpdateUIEvent_GetChecked,(self,) + _args, _kwargs)
555 return val
556 def GetEnabled(self, *_args, **_kwargs):
557 val = apply(eventsc.wxUpdateUIEvent_GetEnabled,(self,) + _args, _kwargs)
558 return val
559 def GetText(self, *_args, **_kwargs):
560 val = apply(eventsc.wxUpdateUIEvent_GetText,(self,) + _args, _kwargs)
561 return val
562 def GetSetText(self, *_args, **_kwargs):
563 val = apply(eventsc.wxUpdateUIEvent_GetSetText,(self,) + _args, _kwargs)
564 return val
565 def GetSetChecked(self, *_args, **_kwargs):
566 val = apply(eventsc.wxUpdateUIEvent_GetSetChecked,(self,) + _args, _kwargs)
567 return val
568 def GetSetEnabled(self, *_args, **_kwargs):
569 val = apply(eventsc.wxUpdateUIEvent_GetSetEnabled,(self,) + _args, _kwargs)
570 return val
571 def Check(self, *_args, **_kwargs):
572 val = apply(eventsc.wxUpdateUIEvent_Check,(self,) + _args, _kwargs)
573 return val
574 def Enable(self, *_args, **_kwargs):
575 val = apply(eventsc.wxUpdateUIEvent_Enable,(self,) + _args, _kwargs)
576 return val
577 def SetText(self, *_args, **_kwargs):
578 val = apply(eventsc.wxUpdateUIEvent_SetText,(self,) + _args, _kwargs)
579 return val
580 def __repr__(self):
581 return "<C wxUpdateUIEvent instance at %s>" % (self.this,)
582 class wxUpdateUIEvent(wxUpdateUIEventPtr):
583 def __init__(self,this):
584 self.this = this
585
586
587
588
589 class wxSysColourChangedEventPtr(wxEventPtr):
590 def __init__(self,this):
591 self.this = this
592 self.thisown = 0
593 def __repr__(self):
594 return "<C wxSysColourChangedEvent instance at %s>" % (self.this,)
595 class wxSysColourChangedEvent(wxSysColourChangedEventPtr):
596 def __init__(self,this):
597 self.this = this
598
599
600
601
602 class wxPyEventPtr(wxCommandEventPtr):
603 def __init__(self,this):
604 self.this = this
605 self.thisown = 0
606 def __del__(self,eventsc=eventsc):
607 if self.thisown == 1 :
608 eventsc.delete_wxPyEvent(self)
609 def SetUserData(self, *_args, **_kwargs):
610 val = apply(eventsc.wxPyEvent_SetUserData,(self,) + _args, _kwargs)
611 return val
612 def GetUserData(self, *_args, **_kwargs):
613 val = apply(eventsc.wxPyEvent_GetUserData,(self,) + _args, _kwargs)
614 return val
615 def __repr__(self):
616 return "<C wxPyEvent instance at %s>" % (self.this,)
617 class wxPyEvent(wxPyEventPtr):
618 def __init__(self,*_args,**_kwargs):
619 self.this = apply(eventsc.new_wxPyEvent,_args,_kwargs)
620 self.thisown = 1
621
622
623
624
625 class wxNotifyEventPtr(wxCommandEventPtr):
626 def __init__(self,this):
627 self.this = this
628 self.thisown = 0
629 def IsAllowed(self, *_args, **_kwargs):
630 val = apply(eventsc.wxNotifyEvent_IsAllowed,(self,) + _args, _kwargs)
631 return val
632 def Veto(self, *_args, **_kwargs):
633 val = apply(eventsc.wxNotifyEvent_Veto,(self,) + _args, _kwargs)
634 return val
635 def __repr__(self):
636 return "<C wxNotifyEvent instance at %s>" % (self.this,)
637 class wxNotifyEvent(wxNotifyEventPtr):
638 def __init__(self,this):
639 self.this = this
640
641
642
643
644
645
646 #-------------- FUNCTION WRAPPERS ------------------
647
648
649
650 #-------------- VARIABLE WRAPPERS ------------------
651