]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/events.py
Added wxSashWindow, wxSashEvent, wxLayoutAlgorithm, etc.
[wxWidgets.git] / utils / wxPython / src / msw / 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 CanVeto(self):
71 val = eventsc.wxCloseEvent_CanVeto(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 SetCanVeto(self,arg0):
86 val = eventsc.wxCloseEvent_SetCanVeto(self.this,arg0)
87 return val
88 def SetLoggingOff(self,arg0):
89 val = eventsc.wxCloseEvent_SetLoggingOff(self.this,arg0)
90 return val
91 def GetForce(self):
92 val = eventsc.wxCloseEvent_GetForce(self.this)
93 return val
94 def __repr__(self):
95 return "<C wxCloseEvent instance>"
96 class wxCloseEvent(wxCloseEventPtr):
97 def __init__(self,this):
98 self.this = this
99
100
101
102
103 class wxCommandEventPtr(wxEventPtr):
104 def __init__(self,this):
105 self.this = this
106 self.thisown = 0
107 def Checked(self):
108 val = eventsc.wxCommandEvent_Checked(self.this)
109 return val
110 def GetExtraLong(self):
111 val = eventsc.wxCommandEvent_GetExtraLong(self.this)
112 return val
113 def GetInt(self):
114 val = eventsc.wxCommandEvent_GetInt(self.this)
115 return val
116 def GetSelection(self):
117 val = eventsc.wxCommandEvent_GetSelection(self.this)
118 return val
119 def GetString(self):
120 val = eventsc.wxCommandEvent_GetString(self.this)
121 return val
122 def IsSelection(self):
123 val = eventsc.wxCommandEvent_IsSelection(self.this)
124 return val
125 def __repr__(self):
126 return "<C wxCommandEvent instance>"
127 class wxCommandEvent(wxCommandEventPtr):
128 def __init__(self,this):
129 self.this = this
130
131
132
133
134 class wxScrollEventPtr(wxCommandEventPtr):
135 def __init__(self,this):
136 self.this = this
137 self.thisown = 0
138 def GetOrientation(self):
139 val = eventsc.wxScrollEvent_GetOrientation(self.this)
140 return val
141 def GetPosition(self):
142 val = eventsc.wxScrollEvent_GetPosition(self.this)
143 return val
144 def __repr__(self):
145 return "<C wxScrollEvent instance>"
146 class wxScrollEvent(wxScrollEventPtr):
147 def __init__(self,this):
148 self.this = this
149
150
151
152
153 class wxSpinEventPtr(wxScrollEventPtr):
154 def __init__(self,this):
155 self.this = this
156 self.thisown = 0
157 def __repr__(self):
158 return "<C wxSpinEvent instance>"
159 class wxSpinEvent(wxSpinEventPtr):
160 def __init__(self,this):
161 self.this = this
162
163
164
165
166 class wxMouseEventPtr(wxEventPtr):
167 def __init__(self,this):
168 self.this = this
169 self.thisown = 0
170 def IsButton(self):
171 val = eventsc.wxMouseEvent_IsButton(self.this)
172 return val
173 def ButtonDown(self,*args):
174 val = apply(eventsc.wxMouseEvent_ButtonDown,(self.this,)+args)
175 return val
176 def ButtonDClick(self,*args):
177 val = apply(eventsc.wxMouseEvent_ButtonDClick,(self.this,)+args)
178 return val
179 def ButtonUp(self,*args):
180 val = apply(eventsc.wxMouseEvent_ButtonUp,(self.this,)+args)
181 return val
182 def Button(self,arg0):
183 val = eventsc.wxMouseEvent_Button(self.this,arg0)
184 return val
185 def ButtonIsDown(self,arg0):
186 val = eventsc.wxMouseEvent_ButtonIsDown(self.this,arg0)
187 return val
188 def ControlDown(self):
189 val = eventsc.wxMouseEvent_ControlDown(self.this)
190 return val
191 def MetaDown(self):
192 val = eventsc.wxMouseEvent_MetaDown(self.this)
193 return val
194 def AltDown(self):
195 val = eventsc.wxMouseEvent_AltDown(self.this)
196 return val
197 def ShiftDown(self):
198 val = eventsc.wxMouseEvent_ShiftDown(self.this)
199 return val
200 def LeftDown(self):
201 val = eventsc.wxMouseEvent_LeftDown(self.this)
202 return val
203 def MiddleDown(self):
204 val = eventsc.wxMouseEvent_MiddleDown(self.this)
205 return val
206 def RightDown(self):
207 val = eventsc.wxMouseEvent_RightDown(self.this)
208 return val
209 def LeftUp(self):
210 val = eventsc.wxMouseEvent_LeftUp(self.this)
211 return val
212 def MiddleUp(self):
213 val = eventsc.wxMouseEvent_MiddleUp(self.this)
214 return val
215 def RightUp(self):
216 val = eventsc.wxMouseEvent_RightUp(self.this)
217 return val
218 def LeftDClick(self):
219 val = eventsc.wxMouseEvent_LeftDClick(self.this)
220 return val
221 def MiddleDClick(self):
222 val = eventsc.wxMouseEvent_MiddleDClick(self.this)
223 return val
224 def RightDClick(self):
225 val = eventsc.wxMouseEvent_RightDClick(self.this)
226 return val
227 def LeftIsDown(self):
228 val = eventsc.wxMouseEvent_LeftIsDown(self.this)
229 return val
230 def MiddleIsDown(self):
231 val = eventsc.wxMouseEvent_MiddleIsDown(self.this)
232 return val
233 def RightIsDown(self):
234 val = eventsc.wxMouseEvent_RightIsDown(self.this)
235 return val
236 def Dragging(self):
237 val = eventsc.wxMouseEvent_Dragging(self.this)
238 return val
239 def Moving(self):
240 val = eventsc.wxMouseEvent_Moving(self.this)
241 return val
242 def Entering(self):
243 val = eventsc.wxMouseEvent_Entering(self.this)
244 return val
245 def Leaving(self):
246 val = eventsc.wxMouseEvent_Leaving(self.this)
247 return val
248 def Position(self):
249 val = eventsc.wxMouseEvent_Position(self.this)
250 return val
251 def GetPosition(self):
252 val = eventsc.wxMouseEvent_GetPosition(self.this)
253 val = wxPointPtr(val)
254 val.thisown = 1
255 return val
256 def GetLogicalPosition(self,arg0):
257 val = eventsc.wxMouseEvent_GetLogicalPosition(self.this,arg0.this)
258 val = wxPointPtr(val)
259 val.thisown = 1
260 return val
261 def GetX(self):
262 val = eventsc.wxMouseEvent_GetX(self.this)
263 return val
264 def GetY(self):
265 val = eventsc.wxMouseEvent_GetY(self.this)
266 return val
267 def __repr__(self):
268 return "<C wxMouseEvent instance>"
269 class wxMouseEvent(wxMouseEventPtr):
270 def __init__(self,this):
271 self.this = this
272
273
274
275
276 class wxKeyEventPtr(wxEventPtr):
277 def __init__(self,this):
278 self.this = this
279 self.thisown = 0
280 def ControlDown(self):
281 val = eventsc.wxKeyEvent_ControlDown(self.this)
282 return val
283 def MetaDown(self):
284 val = eventsc.wxKeyEvent_MetaDown(self.this)
285 return val
286 def AltDown(self):
287 val = eventsc.wxKeyEvent_AltDown(self.this)
288 return val
289 def ShiftDown(self):
290 val = eventsc.wxKeyEvent_ShiftDown(self.this)
291 return val
292 def KeyCode(self):
293 val = eventsc.wxKeyEvent_KeyCode(self.this)
294 return val
295 def Position(self):
296 val = eventsc.wxKeyEvent_Position(self.this)
297 return val
298 def GetX(self):
299 val = eventsc.wxKeyEvent_GetX(self.this)
300 return val
301 def GetY(self):
302 val = eventsc.wxKeyEvent_GetY(self.this)
303 return val
304 def __repr__(self):
305 return "<C wxKeyEvent instance>"
306 class wxKeyEvent(wxKeyEventPtr):
307 def __init__(self,this):
308 self.this = this
309
310
311
312
313 class wxMoveEventPtr(wxEventPtr):
314 def __init__(self,this):
315 self.this = this
316 self.thisown = 0
317 def GetPosition(self):
318 val = eventsc.wxMoveEvent_GetPosition(self.this)
319 val = wxPointPtr(val)
320 val.thisown = 1
321 return val
322 def __repr__(self):
323 return "<C wxMoveEvent instance>"
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>"
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):
349 val = eventsc.wxEraseEvent_GetDC(self.this)
350 val = wxDCPtr(val)
351 return val
352 def __repr__(self):
353 return "<C wxEraseEvent instance>"
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>"
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):
379 val = eventsc.wxActivateEvent_GetActive(self.this)
380 return val
381 def __repr__(self):
382 return "<C wxActivateEvent instance>"
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>"
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):
408 val = eventsc.wxMenuEvent_GetMenuId(self.this)
409 return val
410 def __repr__(self):
411 return "<C wxMenuEvent instance>"
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,arg0):
424 val = eventsc.wxShowEvent_SetShow(self.this,arg0)
425 return val
426 def GetShow(self):
427 val = eventsc.wxShowEvent_GetShow(self.this)
428 return val
429 def __repr__(self):
430 return "<C wxShowEvent instance>"
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>"
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>"
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):
469 val = eventsc.wxJoystickEvent_GetPosition(self.this)
470 val = wxPointPtr(val)
471 val.thisown = 1
472 return val
473 def GetZPosition(self):
474 val = eventsc.wxJoystickEvent_GetZPosition(self.this)
475 return val
476 def GetButtonState(self):
477 val = eventsc.wxJoystickEvent_GetButtonState(self.this)
478 return val
479 def GetButtonChange(self):
480 val = eventsc.wxJoystickEvent_GetButtonChange(self.this)
481 return val
482 def GetJoystick(self):
483 val = eventsc.wxJoystickEvent_GetJoystick(self.this)
484 return val
485 def SetJoystick(self,arg0):
486 val = eventsc.wxJoystickEvent_SetJoystick(self.this,arg0)
487 return val
488 def SetButtonState(self,arg0):
489 val = eventsc.wxJoystickEvent_SetButtonState(self.this,arg0)
490 return val
491 def SetButtonChange(self,arg0):
492 val = eventsc.wxJoystickEvent_SetButtonChange(self.this,arg0)
493 return val
494 def SetPosition(self,arg0):
495 val = eventsc.wxJoystickEvent_SetPosition(self.this,arg0.this)
496 return val
497 def SetZPosition(self,arg0):
498 val = eventsc.wxJoystickEvent_SetZPosition(self.this,arg0)
499 return val
500 def IsButton(self):
501 val = eventsc.wxJoystickEvent_IsButton(self.this)
502 return val
503 def IsMove(self):
504 val = eventsc.wxJoystickEvent_IsMove(self.this)
505 return val
506 def IsZMove(self):
507 val = eventsc.wxJoystickEvent_IsZMove(self.this)
508 return val
509 def ButtonDown(self,*args):
510 val = apply(eventsc.wxJoystickEvent_ButtonDown,(self.this,)+args)
511 return val
512 def ButtonUp(self,*args):
513 val = apply(eventsc.wxJoystickEvent_ButtonUp,(self.this,)+args)
514 return val
515 def ButtonIsDown(self,*args):
516 val = apply(eventsc.wxJoystickEvent_ButtonIsDown,(self.this,)+args)
517 return val
518 def __repr__(self):
519 return "<C wxJoystickEvent instance>"
520 class wxJoystickEvent(wxJoystickEventPtr):
521 def __init__(self,this):
522 self.this = this
523
524
525
526
527 class wxDropFilesEventPtr(wxEventPtr):
528 def __init__(self,this):
529 self.this = this
530 self.thisown = 0
531 def GetPosition(self):
532 val = eventsc.wxDropFilesEvent_GetPosition(self.this)
533 val = wxPointPtr(val)
534 val.thisown = 1
535 return val
536 def GetNumberOfFiles(self):
537 val = eventsc.wxDropFilesEvent_GetNumberOfFiles(self.this)
538 return val
539 def GetFiles(self):
540 val = eventsc.wxDropFilesEvent_GetFiles(self.this)
541 return val
542 def __repr__(self):
543 return "<C wxDropFilesEvent instance>"
544 class wxDropFilesEvent(wxDropFilesEventPtr):
545 def __init__(self,this):
546 self.this = this
547
548
549
550
551 class wxIdleEventPtr(wxEventPtr):
552 def __init__(self,this):
553 self.this = this
554 self.thisown = 0
555 def RequestMore(self,*args):
556 val = apply(eventsc.wxIdleEvent_RequestMore,(self.this,)+args)
557 return val
558 def MoreRequested(self):
559 val = eventsc.wxIdleEvent_MoreRequested(self.this)
560 return val
561 def __repr__(self):
562 return "<C wxIdleEvent instance>"
563 class wxIdleEvent(wxIdleEventPtr):
564 def __init__(self,this):
565 self.this = this
566
567
568
569
570 class wxUpdateUIEventPtr(wxEventPtr):
571 def __init__(self,this):
572 self.this = this
573 self.thisown = 0
574 def GetChecked(self):
575 val = eventsc.wxUpdateUIEvent_GetChecked(self.this)
576 return val
577 def GetEnabled(self):
578 val = eventsc.wxUpdateUIEvent_GetEnabled(self.this)
579 return val
580 def GetText(self):
581 val = eventsc.wxUpdateUIEvent_GetText(self.this)
582 return val
583 def GetSetText(self):
584 val = eventsc.wxUpdateUIEvent_GetSetText(self.this)
585 return val
586 def GetSetChecked(self):
587 val = eventsc.wxUpdateUIEvent_GetSetChecked(self.this)
588 return val
589 def GetSetEnabled(self):
590 val = eventsc.wxUpdateUIEvent_GetSetEnabled(self.this)
591 return val
592 def Check(self,arg0):
593 val = eventsc.wxUpdateUIEvent_Check(self.this,arg0)
594 return val
595 def Enable(self,arg0):
596 val = eventsc.wxUpdateUIEvent_Enable(self.this,arg0)
597 return val
598 def SetText(self,arg0):
599 val = eventsc.wxUpdateUIEvent_SetText(self.this,arg0)
600 return val
601 def __repr__(self):
602 return "<C wxUpdateUIEvent instance>"
603 class wxUpdateUIEvent(wxUpdateUIEventPtr):
604 def __init__(self,this):
605 self.this = this
606
607
608
609
610 class wxSysColourChangedEventPtr(wxEventPtr):
611 def __init__(self,this):
612 self.this = this
613 self.thisown = 0
614 def __repr__(self):
615 return "<C wxSysColourChangedEvent instance>"
616 class wxSysColourChangedEvent(wxSysColourChangedEventPtr):
617 def __init__(self,this):
618 self.this = this
619
620
621
622
623
624
625 #-------------- FUNCTION WRAPPERS ------------------
626
627
628
629 #-------------- VARIABLE WRAPPERS ------------------
630