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