]>
Commit | Line | Data |
---|---|---|
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 __del__(self,eventsc=eventsc): | |
10 | if self.thisown == 1 : | |
11 | eventsc.delete_wxEvent(self) | |
12 | def GetEventObject(self, *_args, **_kwargs): | |
13 | val = apply(eventsc.wxEvent_GetEventObject,(self,) + _args, _kwargs) | |
14 | return val | |
15 | def GetEventType(self, *_args, **_kwargs): | |
16 | val = apply(eventsc.wxEvent_GetEventType,(self,) + _args, _kwargs) | |
17 | return val | |
18 | def GetId(self, *_args, **_kwargs): | |
19 | val = apply(eventsc.wxEvent_GetId,(self,) + _args, _kwargs) | |
20 | return val | |
21 | def GetSkipped(self, *_args, **_kwargs): | |
22 | val = apply(eventsc.wxEvent_GetSkipped,(self,) + _args, _kwargs) | |
23 | return val | |
24 | def GetTimestamp(self, *_args, **_kwargs): | |
25 | val = apply(eventsc.wxEvent_GetTimestamp,(self,) + _args, _kwargs) | |
26 | return val | |
27 | def SetEventObject(self, *_args, **_kwargs): | |
28 | val = apply(eventsc.wxEvent_SetEventObject,(self,) + _args, _kwargs) | |
29 | return val | |
30 | def SetEventType(self, *_args, **_kwargs): | |
31 | val = apply(eventsc.wxEvent_SetEventType,(self,) + _args, _kwargs) | |
32 | return val | |
33 | def SetId(self, *_args, **_kwargs): | |
34 | val = apply(eventsc.wxEvent_SetId,(self,) + _args, _kwargs) | |
35 | return val | |
36 | def SetTimestamp(self, *_args, **_kwargs): | |
37 | val = apply(eventsc.wxEvent_SetTimestamp,(self,) + _args, _kwargs) | |
38 | return val | |
39 | def Skip(self, *_args, **_kwargs): | |
40 | val = apply(eventsc.wxEvent_Skip,(self,) + _args, _kwargs) | |
41 | return val | |
42 | def __repr__(self): | |
43 | return "<C wxEvent instance at %s>" % (self.this,) | |
44 | class wxEvent(wxEventPtr): | |
45 | def __init__(self,*_args,**_kwargs): | |
46 | self.this = apply(eventsc.new_wxEvent,_args,_kwargs) | |
47 | self.thisown = 1 | |
48 | ||
49 | ||
50 | ||
51 | ||
52 | class wxSizeEventPtr(wxEventPtr): | |
53 | def __init__(self,this): | |
54 | self.this = this | |
55 | self.thisown = 0 | |
56 | def GetSize(self, *_args, **_kwargs): | |
57 | val = apply(eventsc.wxSizeEvent_GetSize,(self,) + _args, _kwargs) | |
58 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
59 | return val | |
60 | def __repr__(self): | |
61 | return "<C wxSizeEvent instance at %s>" % (self.this,) | |
62 | class wxSizeEvent(wxSizeEventPtr): | |
63 | def __init__(self,*_args,**_kwargs): | |
64 | self.this = apply(eventsc.new_wxSizeEvent,_args,_kwargs) | |
65 | self.thisown = 1 | |
66 | ||
67 | ||
68 | ||
69 | ||
70 | class wxCloseEventPtr(wxEventPtr): | |
71 | def __init__(self,this): | |
72 | self.this = this | |
73 | self.thisown = 0 | |
74 | def SetLoggingOff(self, *_args, **_kwargs): | |
75 | val = apply(eventsc.wxCloseEvent_SetLoggingOff,(self,) + _args, _kwargs) | |
76 | return val | |
77 | def GetLoggingOff(self, *_args, **_kwargs): | |
78 | val = apply(eventsc.wxCloseEvent_GetLoggingOff,(self,) + _args, _kwargs) | |
79 | return val | |
80 | def Veto(self, *_args, **_kwargs): | |
81 | val = apply(eventsc.wxCloseEvent_Veto,(self,) + _args, _kwargs) | |
82 | return val | |
83 | def CanVeto(self, *_args, **_kwargs): | |
84 | val = apply(eventsc.wxCloseEvent_CanVeto,(self,) + _args, _kwargs) | |
85 | return val | |
86 | def GetVeto(self, *_args, **_kwargs): | |
87 | val = apply(eventsc.wxCloseEvent_GetVeto,(self,) + _args, _kwargs) | |
88 | return val | |
89 | def SetCanVeto(self, *_args, **_kwargs): | |
90 | val = apply(eventsc.wxCloseEvent_SetCanVeto,(self,) + _args, _kwargs) | |
91 | return val | |
92 | def __repr__(self): | |
93 | return "<C wxCloseEvent instance at %s>" % (self.this,) | |
94 | class wxCloseEvent(wxCloseEventPtr): | |
95 | def __init__(self,*_args,**_kwargs): | |
96 | self.this = apply(eventsc.new_wxCloseEvent,_args,_kwargs) | |
97 | self.thisown = 1 | |
98 | ||
99 | ||
100 | ||
101 | ||
102 | class wxCommandEventPtr(wxEventPtr): | |
103 | def __init__(self,this): | |
104 | self.this = this | |
105 | self.thisown = 0 | |
106 | def Checked(self, *_args, **_kwargs): | |
107 | val = apply(eventsc.wxCommandEvent_Checked,(self,) + _args, _kwargs) | |
108 | return val | |
109 | def GetExtraLong(self, *_args, **_kwargs): | |
110 | val = apply(eventsc.wxCommandEvent_GetExtraLong,(self,) + _args, _kwargs) | |
111 | return val | |
112 | def GetInt(self, *_args, **_kwargs): | |
113 | val = apply(eventsc.wxCommandEvent_GetInt,(self,) + _args, _kwargs) | |
114 | return val | |
115 | def GetSelection(self, *_args, **_kwargs): | |
116 | val = apply(eventsc.wxCommandEvent_GetSelection,(self,) + _args, _kwargs) | |
117 | return val | |
118 | def GetString(self, *_args, **_kwargs): | |
119 | val = apply(eventsc.wxCommandEvent_GetString,(self,) + _args, _kwargs) | |
120 | return val | |
121 | def IsSelection(self, *_args, **_kwargs): | |
122 | val = apply(eventsc.wxCommandEvent_IsSelection,(self,) + _args, _kwargs) | |
123 | return val | |
124 | def SetString(self, *_args, **_kwargs): | |
125 | val = apply(eventsc.wxCommandEvent_SetString,(self,) + _args, _kwargs) | |
126 | return val | |
127 | def SetExtraLong(self, *_args, **_kwargs): | |
128 | val = apply(eventsc.wxCommandEvent_SetExtraLong,(self,) + _args, _kwargs) | |
129 | return val | |
130 | def SetInt(self, *_args, **_kwargs): | |
131 | val = apply(eventsc.wxCommandEvent_SetInt,(self,) + _args, _kwargs) | |
132 | return val | |
133 | def __repr__(self): | |
134 | return "<C wxCommandEvent instance at %s>" % (self.this,) | |
135 | class wxCommandEvent(wxCommandEventPtr): | |
136 | def __init__(self,*_args,**_kwargs): | |
137 | self.this = apply(eventsc.new_wxCommandEvent,_args,_kwargs) | |
138 | self.thisown = 1 | |
139 | ||
140 | ||
141 | ||
142 | ||
143 | class wxScrollEventPtr(wxCommandEventPtr): | |
144 | def __init__(self,this): | |
145 | self.this = this | |
146 | self.thisown = 0 | |
147 | def GetOrientation(self, *_args, **_kwargs): | |
148 | val = apply(eventsc.wxScrollEvent_GetOrientation,(self,) + _args, _kwargs) | |
149 | return val | |
150 | def GetPosition(self, *_args, **_kwargs): | |
151 | val = apply(eventsc.wxScrollEvent_GetPosition,(self,) + _args, _kwargs) | |
152 | return val | |
153 | def __repr__(self): | |
154 | return "<C wxScrollEvent instance at %s>" % (self.this,) | |
155 | class wxScrollEvent(wxScrollEventPtr): | |
156 | def __init__(self,*_args,**_kwargs): | |
157 | self.this = apply(eventsc.new_wxScrollEvent,_args,_kwargs) | |
158 | self.thisown = 1 | |
159 | ||
160 | ||
161 | ||
162 | ||
163 | class wxScrollWinEventPtr(wxEventPtr): | |
164 | def __init__(self,this): | |
165 | self.this = this | |
166 | self.thisown = 0 | |
167 | def GetOrientation(self, *_args, **_kwargs): | |
168 | val = apply(eventsc.wxScrollWinEvent_GetOrientation,(self,) + _args, _kwargs) | |
169 | return val | |
170 | def GetPosition(self, *_args, **_kwargs): | |
171 | val = apply(eventsc.wxScrollWinEvent_GetPosition,(self,) + _args, _kwargs) | |
172 | return val | |
173 | def __repr__(self): | |
174 | return "<C wxScrollWinEvent instance at %s>" % (self.this,) | |
175 | class wxScrollWinEvent(wxScrollWinEventPtr): | |
176 | def __init__(self,*_args,**_kwargs): | |
177 | self.this = apply(eventsc.new_wxScrollWinEvent,_args,_kwargs) | |
178 | self.thisown = 1 | |
179 | ||
180 | ||
181 | ||
182 | ||
183 | class wxSpinEventPtr(wxScrollEventPtr): | |
184 | def __init__(self,this): | |
185 | self.this = this | |
186 | self.thisown = 0 | |
187 | def __repr__(self): | |
188 | return "<C wxSpinEvent instance at %s>" % (self.this,) | |
189 | class wxSpinEvent(wxSpinEventPtr): | |
190 | def __init__(self,*_args,**_kwargs): | |
191 | self.this = apply(eventsc.new_wxSpinEvent,_args,_kwargs) | |
192 | self.thisown = 1 | |
193 | ||
194 | ||
195 | ||
196 | ||
197 | class wxMouseEventPtr(wxEventPtr): | |
198 | def __init__(self,this): | |
199 | self.this = this | |
200 | self.thisown = 0 | |
201 | def IsButton(self, *_args, **_kwargs): | |
202 | val = apply(eventsc.wxMouseEvent_IsButton,(self,) + _args, _kwargs) | |
203 | return val | |
204 | def ButtonDown(self, *_args, **_kwargs): | |
205 | val = apply(eventsc.wxMouseEvent_ButtonDown,(self,) + _args, _kwargs) | |
206 | return val | |
207 | def ButtonDClick(self, *_args, **_kwargs): | |
208 | val = apply(eventsc.wxMouseEvent_ButtonDClick,(self,) + _args, _kwargs) | |
209 | return val | |
210 | def ButtonUp(self, *_args, **_kwargs): | |
211 | val = apply(eventsc.wxMouseEvent_ButtonUp,(self,) + _args, _kwargs) | |
212 | return val | |
213 | def Button(self, *_args, **_kwargs): | |
214 | val = apply(eventsc.wxMouseEvent_Button,(self,) + _args, _kwargs) | |
215 | return val | |
216 | def ButtonIsDown(self, *_args, **_kwargs): | |
217 | val = apply(eventsc.wxMouseEvent_ButtonIsDown,(self,) + _args, _kwargs) | |
218 | return val | |
219 | def ControlDown(self, *_args, **_kwargs): | |
220 | val = apply(eventsc.wxMouseEvent_ControlDown,(self,) + _args, _kwargs) | |
221 | return val | |
222 | def MetaDown(self, *_args, **_kwargs): | |
223 | val = apply(eventsc.wxMouseEvent_MetaDown,(self,) + _args, _kwargs) | |
224 | return val | |
225 | def AltDown(self, *_args, **_kwargs): | |
226 | val = apply(eventsc.wxMouseEvent_AltDown,(self,) + _args, _kwargs) | |
227 | return val | |
228 | def ShiftDown(self, *_args, **_kwargs): | |
229 | val = apply(eventsc.wxMouseEvent_ShiftDown,(self,) + _args, _kwargs) | |
230 | return val | |
231 | def LeftDown(self, *_args, **_kwargs): | |
232 | val = apply(eventsc.wxMouseEvent_LeftDown,(self,) + _args, _kwargs) | |
233 | return val | |
234 | def MiddleDown(self, *_args, **_kwargs): | |
235 | val = apply(eventsc.wxMouseEvent_MiddleDown,(self,) + _args, _kwargs) | |
236 | return val | |
237 | def RightDown(self, *_args, **_kwargs): | |
238 | val = apply(eventsc.wxMouseEvent_RightDown,(self,) + _args, _kwargs) | |
239 | return val | |
240 | def LeftUp(self, *_args, **_kwargs): | |
241 | val = apply(eventsc.wxMouseEvent_LeftUp,(self,) + _args, _kwargs) | |
242 | return val | |
243 | def MiddleUp(self, *_args, **_kwargs): | |
244 | val = apply(eventsc.wxMouseEvent_MiddleUp,(self,) + _args, _kwargs) | |
245 | return val | |
246 | def RightUp(self, *_args, **_kwargs): | |
247 | val = apply(eventsc.wxMouseEvent_RightUp,(self,) + _args, _kwargs) | |
248 | return val | |
249 | def LeftDClick(self, *_args, **_kwargs): | |
250 | val = apply(eventsc.wxMouseEvent_LeftDClick,(self,) + _args, _kwargs) | |
251 | return val | |
252 | def MiddleDClick(self, *_args, **_kwargs): | |
253 | val = apply(eventsc.wxMouseEvent_MiddleDClick,(self,) + _args, _kwargs) | |
254 | return val | |
255 | def RightDClick(self, *_args, **_kwargs): | |
256 | val = apply(eventsc.wxMouseEvent_RightDClick,(self,) + _args, _kwargs) | |
257 | return val | |
258 | def LeftIsDown(self, *_args, **_kwargs): | |
259 | val = apply(eventsc.wxMouseEvent_LeftIsDown,(self,) + _args, _kwargs) | |
260 | return val | |
261 | def MiddleIsDown(self, *_args, **_kwargs): | |
262 | val = apply(eventsc.wxMouseEvent_MiddleIsDown,(self,) + _args, _kwargs) | |
263 | return val | |
264 | def RightIsDown(self, *_args, **_kwargs): | |
265 | val = apply(eventsc.wxMouseEvent_RightIsDown,(self,) + _args, _kwargs) | |
266 | return val | |
267 | def Dragging(self, *_args, **_kwargs): | |
268 | val = apply(eventsc.wxMouseEvent_Dragging,(self,) + _args, _kwargs) | |
269 | return val | |
270 | def Moving(self, *_args, **_kwargs): | |
271 | val = apply(eventsc.wxMouseEvent_Moving,(self,) + _args, _kwargs) | |
272 | return val | |
273 | def Entering(self, *_args, **_kwargs): | |
274 | val = apply(eventsc.wxMouseEvent_Entering,(self,) + _args, _kwargs) | |
275 | return val | |
276 | def Leaving(self, *_args, **_kwargs): | |
277 | val = apply(eventsc.wxMouseEvent_Leaving,(self,) + _args, _kwargs) | |
278 | return val | |
279 | def GetPosition(self, *_args, **_kwargs): | |
280 | val = apply(eventsc.wxMouseEvent_GetPosition,(self,) + _args, _kwargs) | |
281 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
282 | return val | |
283 | def GetPositionTuple(self, *_args, **_kwargs): | |
284 | val = apply(eventsc.wxMouseEvent_GetPositionTuple,(self,) + _args, _kwargs) | |
285 | return val | |
286 | def GetLogicalPosition(self, *_args, **_kwargs): | |
287 | val = apply(eventsc.wxMouseEvent_GetLogicalPosition,(self,) + _args, _kwargs) | |
288 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
289 | return val | |
290 | def GetX(self, *_args, **_kwargs): | |
291 | val = apply(eventsc.wxMouseEvent_GetX,(self,) + _args, _kwargs) | |
292 | return val | |
293 | def GetY(self, *_args, **_kwargs): | |
294 | val = apply(eventsc.wxMouseEvent_GetY,(self,) + _args, _kwargs) | |
295 | return val | |
296 | def __repr__(self): | |
297 | return "<C wxMouseEvent instance at %s>" % (self.this,) | |
298 | class wxMouseEvent(wxMouseEventPtr): | |
299 | def __init__(self,*_args,**_kwargs): | |
300 | self.this = apply(eventsc.new_wxMouseEvent,_args,_kwargs) | |
301 | self.thisown = 1 | |
302 | ||
303 | ||
304 | ||
305 | ||
306 | class wxKeyEventPtr(wxEventPtr): | |
307 | def __init__(self,this): | |
308 | self.this = this | |
309 | self.thisown = 0 | |
310 | def ControlDown(self, *_args, **_kwargs): | |
311 | val = apply(eventsc.wxKeyEvent_ControlDown,(self,) + _args, _kwargs) | |
312 | return val | |
313 | def MetaDown(self, *_args, **_kwargs): | |
314 | val = apply(eventsc.wxKeyEvent_MetaDown,(self,) + _args, _kwargs) | |
315 | return val | |
316 | def AltDown(self, *_args, **_kwargs): | |
317 | val = apply(eventsc.wxKeyEvent_AltDown,(self,) + _args, _kwargs) | |
318 | return val | |
319 | def ShiftDown(self, *_args, **_kwargs): | |
320 | val = apply(eventsc.wxKeyEvent_ShiftDown,(self,) + _args, _kwargs) | |
321 | return val | |
322 | def KeyCode(self, *_args, **_kwargs): | |
323 | val = apply(eventsc.wxKeyEvent_KeyCode,(self,) + _args, _kwargs) | |
324 | return val | |
325 | def GetX(self, *_args, **_kwargs): | |
326 | val = apply(eventsc.wxKeyEvent_GetX,(self,) + _args, _kwargs) | |
327 | return val | |
328 | def GetY(self, *_args, **_kwargs): | |
329 | val = apply(eventsc.wxKeyEvent_GetY,(self,) + _args, _kwargs) | |
330 | return val | |
331 | def GetPosition(self, *_args, **_kwargs): | |
332 | val = apply(eventsc.wxKeyEvent_GetPosition,(self,) + _args, _kwargs) | |
333 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
334 | return val | |
335 | def GetPositionTuple(self, *_args, **_kwargs): | |
336 | val = apply(eventsc.wxKeyEvent_GetPositionTuple,(self,) + _args, _kwargs) | |
337 | return val | |
338 | def __repr__(self): | |
339 | return "<C wxKeyEvent instance at %s>" % (self.this,) | |
340 | class wxKeyEvent(wxKeyEventPtr): | |
341 | def __init__(self,*_args,**_kwargs): | |
342 | self.this = apply(eventsc.new_wxKeyEvent,_args,_kwargs) | |
343 | self.thisown = 1 | |
344 | ||
345 | ||
346 | ||
347 | ||
348 | class wxNavigationKeyEventPtr(wxCommandEventPtr): | |
349 | def __init__(self,this): | |
350 | self.this = this | |
351 | self.thisown = 0 | |
352 | def GetDirection(self, *_args, **_kwargs): | |
353 | val = apply(eventsc.wxNavigationKeyEvent_GetDirection,(self,) + _args, _kwargs) | |
354 | return val | |
355 | def SetDirection(self, *_args, **_kwargs): | |
356 | val = apply(eventsc.wxNavigationKeyEvent_SetDirection,(self,) + _args, _kwargs) | |
357 | return val | |
358 | def IsWindowChange(self, *_args, **_kwargs): | |
359 | val = apply(eventsc.wxNavigationKeyEvent_IsWindowChange,(self,) + _args, _kwargs) | |
360 | return val | |
361 | def SetWindowChange(self, *_args, **_kwargs): | |
362 | val = apply(eventsc.wxNavigationKeyEvent_SetWindowChange,(self,) + _args, _kwargs) | |
363 | return val | |
364 | def GetCurrentFocus(self, *_args, **_kwargs): | |
365 | val = apply(eventsc.wxNavigationKeyEvent_GetCurrentFocus,(self,) + _args, _kwargs) | |
366 | if val: val = wxWindowPtr(val) | |
367 | return val | |
368 | def SetCurrentFocus(self, *_args, **_kwargs): | |
369 | val = apply(eventsc.wxNavigationKeyEvent_SetCurrentFocus,(self,) + _args, _kwargs) | |
370 | return val | |
371 | def __repr__(self): | |
372 | return "<C wxNavigationKeyEvent instance at %s>" % (self.this,) | |
373 | class wxNavigationKeyEvent(wxNavigationKeyEventPtr): | |
374 | def __init__(self,*_args,**_kwargs): | |
375 | self.this = apply(eventsc.new_wxNavigationKeyEvent,_args,_kwargs) | |
376 | self.thisown = 1 | |
377 | ||
378 | ||
379 | ||
380 | ||
381 | class wxMoveEventPtr(wxEventPtr): | |
382 | def __init__(self,this): | |
383 | self.this = this | |
384 | self.thisown = 0 | |
385 | def GetPosition(self, *_args, **_kwargs): | |
386 | val = apply(eventsc.wxMoveEvent_GetPosition,(self,) + _args, _kwargs) | |
387 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
388 | return val | |
389 | def __repr__(self): | |
390 | return "<C wxMoveEvent instance at %s>" % (self.this,) | |
391 | class wxMoveEvent(wxMoveEventPtr): | |
392 | def __init__(self,*_args,**_kwargs): | |
393 | self.this = apply(eventsc.new_wxMoveEvent,_args,_kwargs) | |
394 | self.thisown = 1 | |
395 | ||
396 | ||
397 | ||
398 | ||
399 | class wxPaintEventPtr(wxEventPtr): | |
400 | def __init__(self,this): | |
401 | self.this = this | |
402 | self.thisown = 0 | |
403 | def __repr__(self): | |
404 | return "<C wxPaintEvent instance at %s>" % (self.this,) | |
405 | class wxPaintEvent(wxPaintEventPtr): | |
406 | def __init__(self,*_args,**_kwargs): | |
407 | self.this = apply(eventsc.new_wxPaintEvent,_args,_kwargs) | |
408 | self.thisown = 1 | |
409 | ||
410 | ||
411 | ||
412 | ||
413 | class wxEraseEventPtr(wxEventPtr): | |
414 | def __init__(self,this): | |
415 | self.this = this | |
416 | self.thisown = 0 | |
417 | def GetDC(self, *_args, **_kwargs): | |
418 | val = apply(eventsc.wxEraseEvent_GetDC,(self,) + _args, _kwargs) | |
419 | if val: val = wxDCPtr(val) | |
420 | return val | |
421 | def __repr__(self): | |
422 | return "<C wxEraseEvent instance at %s>" % (self.this,) | |
423 | class wxEraseEvent(wxEraseEventPtr): | |
424 | def __init__(self,*_args,**_kwargs): | |
425 | self.this = apply(eventsc.new_wxEraseEvent,_args,_kwargs) | |
426 | self.thisown = 1 | |
427 | ||
428 | ||
429 | ||
430 | ||
431 | class wxFocusEventPtr(wxEventPtr): | |
432 | def __init__(self,this): | |
433 | self.this = this | |
434 | self.thisown = 0 | |
435 | def __repr__(self): | |
436 | return "<C wxFocusEvent instance at %s>" % (self.this,) | |
437 | class wxFocusEvent(wxFocusEventPtr): | |
438 | def __init__(self,*_args,**_kwargs): | |
439 | self.this = apply(eventsc.new_wxFocusEvent,_args,_kwargs) | |
440 | self.thisown = 1 | |
441 | ||
442 | ||
443 | ||
444 | ||
445 | class wxActivateEventPtr(wxEventPtr): | |
446 | def __init__(self,this): | |
447 | self.this = this | |
448 | self.thisown = 0 | |
449 | def GetActive(self, *_args, **_kwargs): | |
450 | val = apply(eventsc.wxActivateEvent_GetActive,(self,) + _args, _kwargs) | |
451 | return val | |
452 | def __repr__(self): | |
453 | return "<C wxActivateEvent instance at %s>" % (self.this,) | |
454 | class wxActivateEvent(wxActivateEventPtr): | |
455 | def __init__(self,*_args,**_kwargs): | |
456 | self.this = apply(eventsc.new_wxActivateEvent,_args,_kwargs) | |
457 | self.thisown = 1 | |
458 | ||
459 | ||
460 | ||
461 | ||
462 | class wxInitDialogEventPtr(wxEventPtr): | |
463 | def __init__(self,this): | |
464 | self.this = this | |
465 | self.thisown = 0 | |
466 | def __repr__(self): | |
467 | return "<C wxInitDialogEvent instance at %s>" % (self.this,) | |
468 | class wxInitDialogEvent(wxInitDialogEventPtr): | |
469 | def __init__(self,*_args,**_kwargs): | |
470 | self.this = apply(eventsc.new_wxInitDialogEvent,_args,_kwargs) | |
471 | self.thisown = 1 | |
472 | ||
473 | ||
474 | ||
475 | ||
476 | class wxMenuEventPtr(wxEventPtr): | |
477 | def __init__(self,this): | |
478 | self.this = this | |
479 | self.thisown = 0 | |
480 | def GetMenuId(self, *_args, **_kwargs): | |
481 | val = apply(eventsc.wxMenuEvent_GetMenuId,(self,) + _args, _kwargs) | |
482 | return val | |
483 | def __repr__(self): | |
484 | return "<C wxMenuEvent instance at %s>" % (self.this,) | |
485 | class wxMenuEvent(wxMenuEventPtr): | |
486 | def __init__(self,*_args,**_kwargs): | |
487 | self.this = apply(eventsc.new_wxMenuEvent,_args,_kwargs) | |
488 | self.thisown = 1 | |
489 | ||
490 | ||
491 | ||
492 | ||
493 | class wxShowEventPtr(wxEventPtr): | |
494 | def __init__(self,this): | |
495 | self.this = this | |
496 | self.thisown = 0 | |
497 | def SetShow(self, *_args, **_kwargs): | |
498 | val = apply(eventsc.wxShowEvent_SetShow,(self,) + _args, _kwargs) | |
499 | return val | |
500 | def GetShow(self, *_args, **_kwargs): | |
501 | val = apply(eventsc.wxShowEvent_GetShow,(self,) + _args, _kwargs) | |
502 | return val | |
503 | def __repr__(self): | |
504 | return "<C wxShowEvent instance at %s>" % (self.this,) | |
505 | class wxShowEvent(wxShowEventPtr): | |
506 | def __init__(self,*_args,**_kwargs): | |
507 | self.this = apply(eventsc.new_wxShowEvent,_args,_kwargs) | |
508 | self.thisown = 1 | |
509 | ||
510 | ||
511 | ||
512 | ||
513 | class wxIconizeEventPtr(wxEventPtr): | |
514 | def __init__(self,this): | |
515 | self.this = this | |
516 | self.thisown = 0 | |
517 | def __repr__(self): | |
518 | return "<C wxIconizeEvent instance at %s>" % (self.this,) | |
519 | class wxIconizeEvent(wxIconizeEventPtr): | |
520 | def __init__(self,*_args,**_kwargs): | |
521 | self.this = apply(eventsc.new_wxIconizeEvent,_args,_kwargs) | |
522 | self.thisown = 1 | |
523 | ||
524 | ||
525 | ||
526 | ||
527 | class wxMaximizeEventPtr(wxEventPtr): | |
528 | def __init__(self,this): | |
529 | self.this = this | |
530 | self.thisown = 0 | |
531 | def __repr__(self): | |
532 | return "<C wxMaximizeEvent instance at %s>" % (self.this,) | |
533 | class wxMaximizeEvent(wxMaximizeEventPtr): | |
534 | def __init__(self,*_args,**_kwargs): | |
535 | self.this = apply(eventsc.new_wxMaximizeEvent,_args,_kwargs) | |
536 | self.thisown = 1 | |
537 | ||
538 | ||
539 | ||
540 | ||
541 | class wxJoystickEventPtr(wxEventPtr): | |
542 | def __init__(self,this): | |
543 | self.this = this | |
544 | self.thisown = 0 | |
545 | def GetPosition(self, *_args, **_kwargs): | |
546 | val = apply(eventsc.wxJoystickEvent_GetPosition,(self,) + _args, _kwargs) | |
547 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
548 | return val | |
549 | def GetZPosition(self, *_args, **_kwargs): | |
550 | val = apply(eventsc.wxJoystickEvent_GetZPosition,(self,) + _args, _kwargs) | |
551 | return val | |
552 | def GetButtonState(self, *_args, **_kwargs): | |
553 | val = apply(eventsc.wxJoystickEvent_GetButtonState,(self,) + _args, _kwargs) | |
554 | return val | |
555 | def GetButtonChange(self, *_args, **_kwargs): | |
556 | val = apply(eventsc.wxJoystickEvent_GetButtonChange,(self,) + _args, _kwargs) | |
557 | return val | |
558 | def GetJoystick(self, *_args, **_kwargs): | |
559 | val = apply(eventsc.wxJoystickEvent_GetJoystick,(self,) + _args, _kwargs) | |
560 | return val | |
561 | def SetJoystick(self, *_args, **_kwargs): | |
562 | val = apply(eventsc.wxJoystickEvent_SetJoystick,(self,) + _args, _kwargs) | |
563 | return val | |
564 | def SetButtonState(self, *_args, **_kwargs): | |
565 | val = apply(eventsc.wxJoystickEvent_SetButtonState,(self,) + _args, _kwargs) | |
566 | return val | |
567 | def SetButtonChange(self, *_args, **_kwargs): | |
568 | val = apply(eventsc.wxJoystickEvent_SetButtonChange,(self,) + _args, _kwargs) | |
569 | return val | |
570 | def SetPosition(self, *_args, **_kwargs): | |
571 | val = apply(eventsc.wxJoystickEvent_SetPosition,(self,) + _args, _kwargs) | |
572 | return val | |
573 | def SetZPosition(self, *_args, **_kwargs): | |
574 | val = apply(eventsc.wxJoystickEvent_SetZPosition,(self,) + _args, _kwargs) | |
575 | return val | |
576 | def IsButton(self, *_args, **_kwargs): | |
577 | val = apply(eventsc.wxJoystickEvent_IsButton,(self,) + _args, _kwargs) | |
578 | return val | |
579 | def IsMove(self, *_args, **_kwargs): | |
580 | val = apply(eventsc.wxJoystickEvent_IsMove,(self,) + _args, _kwargs) | |
581 | return val | |
582 | def IsZMove(self, *_args, **_kwargs): | |
583 | val = apply(eventsc.wxJoystickEvent_IsZMove,(self,) + _args, _kwargs) | |
584 | return val | |
585 | def ButtonDown(self, *_args, **_kwargs): | |
586 | val = apply(eventsc.wxJoystickEvent_ButtonDown,(self,) + _args, _kwargs) | |
587 | return val | |
588 | def ButtonUp(self, *_args, **_kwargs): | |
589 | val = apply(eventsc.wxJoystickEvent_ButtonUp,(self,) + _args, _kwargs) | |
590 | return val | |
591 | def ButtonIsDown(self, *_args, **_kwargs): | |
592 | val = apply(eventsc.wxJoystickEvent_ButtonIsDown,(self,) + _args, _kwargs) | |
593 | return val | |
594 | def __repr__(self): | |
595 | return "<C wxJoystickEvent instance at %s>" % (self.this,) | |
596 | class wxJoystickEvent(wxJoystickEventPtr): | |
597 | def __init__(self,*_args,**_kwargs): | |
598 | self.this = apply(eventsc.new_wxJoystickEvent,_args,_kwargs) | |
599 | self.thisown = 1 | |
600 | ||
601 | ||
602 | ||
603 | ||
604 | class wxDropFilesEventPtr(wxEventPtr): | |
605 | def __init__(self,this): | |
606 | self.this = this | |
607 | self.thisown = 0 | |
608 | def GetPosition(self, *_args, **_kwargs): | |
609 | val = apply(eventsc.wxDropFilesEvent_GetPosition,(self,) + _args, _kwargs) | |
610 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
611 | return val | |
612 | def GetNumberOfFiles(self, *_args, **_kwargs): | |
613 | val = apply(eventsc.wxDropFilesEvent_GetNumberOfFiles,(self,) + _args, _kwargs) | |
614 | return val | |
615 | def GetFiles(self, *_args, **_kwargs): | |
616 | val = apply(eventsc.wxDropFilesEvent_GetFiles,(self,) + _args, _kwargs) | |
617 | return val | |
618 | def __repr__(self): | |
619 | return "<C wxDropFilesEvent instance at %s>" % (self.this,) | |
620 | class wxDropFilesEvent(wxDropFilesEventPtr): | |
621 | def __init__(self,this): | |
622 | self.this = this | |
623 | ||
624 | ||
625 | ||
626 | ||
627 | class wxIdleEventPtr(wxEventPtr): | |
628 | def __init__(self,this): | |
629 | self.this = this | |
630 | self.thisown = 0 | |
631 | def RequestMore(self, *_args, **_kwargs): | |
632 | val = apply(eventsc.wxIdleEvent_RequestMore,(self,) + _args, _kwargs) | |
633 | return val | |
634 | def MoreRequested(self, *_args, **_kwargs): | |
635 | val = apply(eventsc.wxIdleEvent_MoreRequested,(self,) + _args, _kwargs) | |
636 | return val | |
637 | def __repr__(self): | |
638 | return "<C wxIdleEvent instance at %s>" % (self.this,) | |
639 | class wxIdleEvent(wxIdleEventPtr): | |
640 | def __init__(self,*_args,**_kwargs): | |
641 | self.this = apply(eventsc.new_wxIdleEvent,_args,_kwargs) | |
642 | self.thisown = 1 | |
643 | ||
644 | ||
645 | ||
646 | ||
647 | class wxUpdateUIEventPtr(wxEventPtr): | |
648 | def __init__(self,this): | |
649 | self.this = this | |
650 | self.thisown = 0 | |
651 | def GetChecked(self, *_args, **_kwargs): | |
652 | val = apply(eventsc.wxUpdateUIEvent_GetChecked,(self,) + _args, _kwargs) | |
653 | return val | |
654 | def GetEnabled(self, *_args, **_kwargs): | |
655 | val = apply(eventsc.wxUpdateUIEvent_GetEnabled,(self,) + _args, _kwargs) | |
656 | return val | |
657 | def GetText(self, *_args, **_kwargs): | |
658 | val = apply(eventsc.wxUpdateUIEvent_GetText,(self,) + _args, _kwargs) | |
659 | return val | |
660 | def GetSetText(self, *_args, **_kwargs): | |
661 | val = apply(eventsc.wxUpdateUIEvent_GetSetText,(self,) + _args, _kwargs) | |
662 | return val | |
663 | def GetSetChecked(self, *_args, **_kwargs): | |
664 | val = apply(eventsc.wxUpdateUIEvent_GetSetChecked,(self,) + _args, _kwargs) | |
665 | return val | |
666 | def GetSetEnabled(self, *_args, **_kwargs): | |
667 | val = apply(eventsc.wxUpdateUIEvent_GetSetEnabled,(self,) + _args, _kwargs) | |
668 | return val | |
669 | def Check(self, *_args, **_kwargs): | |
670 | val = apply(eventsc.wxUpdateUIEvent_Check,(self,) + _args, _kwargs) | |
671 | return val | |
672 | def Enable(self, *_args, **_kwargs): | |
673 | val = apply(eventsc.wxUpdateUIEvent_Enable,(self,) + _args, _kwargs) | |
674 | return val | |
675 | def SetText(self, *_args, **_kwargs): | |
676 | val = apply(eventsc.wxUpdateUIEvent_SetText,(self,) + _args, _kwargs) | |
677 | return val | |
678 | def __repr__(self): | |
679 | return "<C wxUpdateUIEvent instance at %s>" % (self.this,) | |
680 | class wxUpdateUIEvent(wxUpdateUIEventPtr): | |
681 | def __init__(self,*_args,**_kwargs): | |
682 | self.this = apply(eventsc.new_wxUpdateUIEvent,_args,_kwargs) | |
683 | self.thisown = 1 | |
684 | ||
685 | ||
686 | ||
687 | ||
688 | class wxSysColourChangedEventPtr(wxEventPtr): | |
689 | def __init__(self,this): | |
690 | self.this = this | |
691 | self.thisown = 0 | |
692 | def __repr__(self): | |
693 | return "<C wxSysColourChangedEvent instance at %s>" % (self.this,) | |
694 | class wxSysColourChangedEvent(wxSysColourChangedEventPtr): | |
695 | def __init__(self,*_args,**_kwargs): | |
696 | self.this = apply(eventsc.new_wxSysColourChangedEvent,_args,_kwargs) | |
697 | self.thisown = 1 | |
698 | ||
699 | ||
700 | ||
701 | ||
702 | class wxNotifyEventPtr(wxCommandEventPtr): | |
703 | def __init__(self,this): | |
704 | self.this = this | |
705 | self.thisown = 0 | |
706 | def IsAllowed(self, *_args, **_kwargs): | |
707 | val = apply(eventsc.wxNotifyEvent_IsAllowed,(self,) + _args, _kwargs) | |
708 | return val | |
709 | def Veto(self, *_args, **_kwargs): | |
710 | val = apply(eventsc.wxNotifyEvent_Veto,(self,) + _args, _kwargs) | |
711 | return val | |
712 | def __repr__(self): | |
713 | return "<C wxNotifyEvent instance at %s>" % (self.this,) | |
714 | class wxNotifyEvent(wxNotifyEventPtr): | |
715 | def __init__(self,*_args,**_kwargs): | |
716 | self.this = apply(eventsc.new_wxNotifyEvent,_args,_kwargs) | |
717 | self.thisown = 1 | |
718 | ||
719 | ||
720 | ||
721 | ||
722 | class wxPaletteChangedEventPtr(wxEventPtr): | |
723 | def __init__(self,this): | |
724 | self.this = this | |
725 | self.thisown = 0 | |
726 | def SetChangedWindow(self, *_args, **_kwargs): | |
727 | val = apply(eventsc.wxPaletteChangedEvent_SetChangedWindow,(self,) + _args, _kwargs) | |
728 | return val | |
729 | def GetChangedWindow(self, *_args, **_kwargs): | |
730 | val = apply(eventsc.wxPaletteChangedEvent_GetChangedWindow,(self,) + _args, _kwargs) | |
731 | if val: val = wxWindowPtr(val) | |
732 | return val | |
733 | def __repr__(self): | |
734 | return "<C wxPaletteChangedEvent instance at %s>" % (self.this,) | |
735 | class wxPaletteChangedEvent(wxPaletteChangedEventPtr): | |
736 | def __init__(self,*_args,**_kwargs): | |
737 | self.this = apply(eventsc.new_wxPaletteChangedEvent,_args,_kwargs) | |
738 | self.thisown = 1 | |
739 | ||
740 | ||
741 | ||
742 | ||
743 | class wxQueryNewPaletteEventPtr(wxEventPtr): | |
744 | def __init__(self,this): | |
745 | self.this = this | |
746 | self.thisown = 0 | |
747 | def SetPaletteRealized(self, *_args, **_kwargs): | |
748 | val = apply(eventsc.wxQueryNewPaletteEvent_SetPaletteRealized,(self,) + _args, _kwargs) | |
749 | return val | |
750 | def GetPaletteRealized(self, *_args, **_kwargs): | |
751 | val = apply(eventsc.wxQueryNewPaletteEvent_GetPaletteRealized,(self,) + _args, _kwargs) | |
752 | return val | |
753 | def __repr__(self): | |
754 | return "<C wxQueryNewPaletteEvent instance at %s>" % (self.this,) | |
755 | class wxQueryNewPaletteEvent(wxQueryNewPaletteEventPtr): | |
756 | def __init__(self,*_args,**_kwargs): | |
757 | self.this = apply(eventsc.new_wxQueryNewPaletteEvent,_args,_kwargs) | |
758 | self.thisown = 1 | |
759 | ||
760 | ||
761 | ||
762 | ||
763 | class wxWindowCreateEventPtr(wxEventPtr): | |
764 | def __init__(self,this): | |
765 | self.this = this | |
766 | self.thisown = 0 | |
767 | def GetWindow(self, *_args, **_kwargs): | |
768 | val = apply(eventsc.wxWindowCreateEvent_GetWindow,(self,) + _args, _kwargs) | |
769 | if val: val = wxWindowPtr(val) | |
770 | return val | |
771 | def __repr__(self): | |
772 | return "<C wxWindowCreateEvent instance at %s>" % (self.this,) | |
773 | class wxWindowCreateEvent(wxWindowCreateEventPtr): | |
774 | def __init__(self,*_args,**_kwargs): | |
775 | self.this = apply(eventsc.new_wxWindowCreateEvent,_args,_kwargs) | |
776 | self.thisown = 1 | |
777 | ||
778 | ||
779 | ||
780 | ||
781 | class wxWindowDestroyEventPtr(wxEventPtr): | |
782 | def __init__(self,this): | |
783 | self.this = this | |
784 | self.thisown = 0 | |
785 | def GetWindow(self, *_args, **_kwargs): | |
786 | val = apply(eventsc.wxWindowDestroyEvent_GetWindow,(self,) + _args, _kwargs) | |
787 | if val: val = wxWindowPtr(val) | |
788 | return val | |
789 | def __repr__(self): | |
790 | return "<C wxWindowDestroyEvent instance at %s>" % (self.this,) | |
791 | class wxWindowDestroyEvent(wxWindowDestroyEventPtr): | |
792 | def __init__(self,*_args,**_kwargs): | |
793 | self.this = apply(eventsc.new_wxWindowDestroyEvent,_args,_kwargs) | |
794 | self.thisown = 1 | |
795 | ||
796 | ||
797 | ||
798 | ||
799 | class wxPyEventPtr(wxEventPtr): | |
800 | def __init__(self,this): | |
801 | self.this = this | |
802 | self.thisown = 0 | |
803 | def __del__(self,eventsc=eventsc): | |
804 | if self.thisown == 1 : | |
805 | eventsc.delete_wxPyEvent(self) | |
806 | def SetSelf(self, *_args, **_kwargs): | |
807 | val = apply(eventsc.wxPyEvent_SetSelf,(self,) + _args, _kwargs) | |
808 | return val | |
809 | def GetSelf(self, *_args, **_kwargs): | |
810 | val = apply(eventsc.wxPyEvent_GetSelf,(self,) + _args, _kwargs) | |
811 | return val | |
812 | def __repr__(self): | |
813 | return "<C wxPyEvent instance at %s>" % (self.this,) | |
814 | class wxPyEvent(wxPyEventPtr): | |
815 | def __init__(self,*_args,**_kwargs): | |
816 | self.this = apply(eventsc.new_wxPyEvent,_args,_kwargs) | |
817 | self.thisown = 1 | |
818 | self.SetSelf(self) | |
819 | ||
820 | ||
821 | ||
822 | ||
823 | class wxPyCommandEventPtr(wxCommandEventPtr): | |
824 | def __init__(self,this): | |
825 | self.this = this | |
826 | self.thisown = 0 | |
827 | def __del__(self,eventsc=eventsc): | |
828 | if self.thisown == 1 : | |
829 | eventsc.delete_wxPyCommandEvent(self) | |
830 | def SetSelf(self, *_args, **_kwargs): | |
831 | val = apply(eventsc.wxPyCommandEvent_SetSelf,(self,) + _args, _kwargs) | |
832 | return val | |
833 | def GetSelf(self, *_args, **_kwargs): | |
834 | val = apply(eventsc.wxPyCommandEvent_GetSelf,(self,) + _args, _kwargs) | |
835 | return val | |
836 | def __repr__(self): | |
837 | return "<C wxPyCommandEvent instance at %s>" % (self.this,) | |
838 | class wxPyCommandEvent(wxPyCommandEventPtr): | |
839 | def __init__(self,*_args,**_kwargs): | |
840 | self.this = apply(eventsc.new_wxPyCommandEvent,_args,_kwargs) | |
841 | self.thisown = 1 | |
842 | self.SetSelf(self) | |
843 | ||
844 | ||
845 | ||
846 | ||
847 | ||
848 | ||
849 | #-------------- FUNCTION WRAPPERS ------------------ | |
850 | ||
851 | ||
852 | ||
853 | #-------------- VARIABLE WRAPPERS ------------------ | |
854 |