]>
Commit | Line | Data |
---|---|---|
70551f47 RD |
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 | |
2d091820 RD |
9 | def GetEventObject(self, *_args, **_kwargs): |
10 | val = apply(eventsc.wxEvent_GetEventObject,(self,) + _args, _kwargs) | |
70551f47 | 11 | return val |
2d091820 RD |
12 | def GetEventType(self, *_args, **_kwargs): |
13 | val = apply(eventsc.wxEvent_GetEventType,(self,) + _args, _kwargs) | |
70551f47 | 14 | return val |
2d091820 RD |
15 | def GetId(self, *_args, **_kwargs): |
16 | val = apply(eventsc.wxEvent_GetId,(self,) + _args, _kwargs) | |
70551f47 | 17 | return val |
2d091820 RD |
18 | def GetSkipped(self, *_args, **_kwargs): |
19 | val = apply(eventsc.wxEvent_GetSkipped,(self,) + _args, _kwargs) | |
70551f47 | 20 | return val |
2d091820 RD |
21 | def GetTimestamp(self, *_args, **_kwargs): |
22 | val = apply(eventsc.wxEvent_GetTimestamp,(self,) + _args, _kwargs) | |
70551f47 | 23 | return val |
2d091820 RD |
24 | def SetEventObject(self, *_args, **_kwargs): |
25 | val = apply(eventsc.wxEvent_SetEventObject,(self,) + _args, _kwargs) | |
70551f47 | 26 | return val |
2d091820 RD |
27 | def SetEventType(self, *_args, **_kwargs): |
28 | val = apply(eventsc.wxEvent_SetEventType,(self,) + _args, _kwargs) | |
70551f47 | 29 | return val |
2d091820 RD |
30 | def SetId(self, *_args, **_kwargs): |
31 | val = apply(eventsc.wxEvent_SetId,(self,) + _args, _kwargs) | |
70551f47 | 32 | return val |
2d091820 RD |
33 | def SetTimestamp(self, *_args, **_kwargs): |
34 | val = apply(eventsc.wxEvent_SetTimestamp,(self,) + _args, _kwargs) | |
70551f47 | 35 | return val |
2d091820 RD |
36 | def Skip(self, *_args, **_kwargs): |
37 | val = apply(eventsc.wxEvent_Skip,(self,) + _args, _kwargs) | |
70551f47 RD |
38 | return val |
39 | def __repr__(self): | |
2d091820 | 40 | return "<C wxEvent instance at %s>" % (self.this,) |
70551f47 RD |
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 | |
2d091820 RD |
52 | def GetSize(self, *_args, **_kwargs): |
53 | val = apply(eventsc.wxSizeEvent_GetSize,(self,) + _args, _kwargs) | |
54 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
70551f47 RD |
55 | return val |
56 | def __repr__(self): | |
2d091820 | 57 | return "<C wxSizeEvent instance at %s>" % (self.this,) |
70551f47 RD |
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 | |
2d091820 RD |
69 | def SetLoggingOff(self, *_args, **_kwargs): |
70 | val = apply(eventsc.wxCloseEvent_SetLoggingOff,(self,) + _args, _kwargs) | |
105e45b9 | 71 | return val |
2d091820 RD |
72 | def GetLoggingOff(self, *_args, **_kwargs): |
73 | val = apply(eventsc.wxCloseEvent_GetLoggingOff,(self,) + _args, _kwargs) | |
70551f47 | 74 | return val |
2d091820 RD |
75 | def Veto(self, *_args, **_kwargs): |
76 | val = apply(eventsc.wxCloseEvent_Veto,(self,) + _args, _kwargs) | |
70551f47 | 77 | return val |
2d091820 RD |
78 | def CanVeto(self, *_args, **_kwargs): |
79 | val = apply(eventsc.wxCloseEvent_CanVeto,(self,) + _args, _kwargs) | |
d1e586e4 | 80 | return val |
2d091820 RD |
81 | def GetVeto(self, *_args, **_kwargs): |
82 | val = apply(eventsc.wxCloseEvent_GetVeto,(self,) + _args, _kwargs) | |
70551f47 | 83 | return val |
2d091820 RD |
84 | def SetCanVeto(self, *_args, **_kwargs): |
85 | val = apply(eventsc.wxCloseEvent_SetCanVeto,(self,) + _args, _kwargs) | |
105e45b9 | 86 | return val |
70551f47 | 87 | def __repr__(self): |
2d091820 | 88 | return "<C wxCloseEvent instance at %s>" % (self.this,) |
70551f47 RD |
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 | |
2d091820 RD |
100 | def Checked(self, *_args, **_kwargs): |
101 | val = apply(eventsc.wxCommandEvent_Checked,(self,) + _args, _kwargs) | |
70551f47 | 102 | return val |
2d091820 RD |
103 | def GetExtraLong(self, *_args, **_kwargs): |
104 | val = apply(eventsc.wxCommandEvent_GetExtraLong,(self,) + _args, _kwargs) | |
70551f47 | 105 | return val |
2d091820 RD |
106 | def GetInt(self, *_args, **_kwargs): |
107 | val = apply(eventsc.wxCommandEvent_GetInt,(self,) + _args, _kwargs) | |
70551f47 | 108 | return val |
2d091820 RD |
109 | def GetSelection(self, *_args, **_kwargs): |
110 | val = apply(eventsc.wxCommandEvent_GetSelection,(self,) + _args, _kwargs) | |
70551f47 | 111 | return val |
2d091820 RD |
112 | def GetString(self, *_args, **_kwargs): |
113 | val = apply(eventsc.wxCommandEvent_GetString,(self,) + _args, _kwargs) | |
70551f47 | 114 | return val |
2d091820 RD |
115 | def IsSelection(self, *_args, **_kwargs): |
116 | val = apply(eventsc.wxCommandEvent_IsSelection,(self,) + _args, _kwargs) | |
70551f47 RD |
117 | return val |
118 | def __repr__(self): | |
2d091820 | 119 | return "<C wxCommandEvent instance at %s>" % (self.this,) |
70551f47 RD |
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 | |
2d091820 RD |
131 | def GetOrientation(self, *_args, **_kwargs): |
132 | val = apply(eventsc.wxScrollEvent_GetOrientation,(self,) + _args, _kwargs) | |
70551f47 | 133 | return val |
2d091820 RD |
134 | def GetPosition(self, *_args, **_kwargs): |
135 | val = apply(eventsc.wxScrollEvent_GetPosition,(self,) + _args, _kwargs) | |
70551f47 RD |
136 | return val |
137 | def __repr__(self): | |
2d091820 | 138 | return "<C wxScrollEvent instance at %s>" % (self.this,) |
70551f47 RD |
139 | class wxScrollEvent(wxScrollEventPtr): |
140 | def __init__(self,this): | |
141 | self.this = this | |
142 | ||
143 | ||
144 | ||
145 | ||
62bd0874 RD |
146 | class wxSpinEventPtr(wxScrollEventPtr): |
147 | def __init__(self,this): | |
148 | self.this = this | |
149 | self.thisown = 0 | |
150 | def __repr__(self): | |
2d091820 | 151 | return "<C wxSpinEvent instance at %s>" % (self.this,) |
62bd0874 RD |
152 | class wxSpinEvent(wxSpinEventPtr): |
153 | def __init__(self,this): | |
154 | self.this = this | |
155 | ||
156 | ||
157 | ||
158 | ||
70551f47 RD |
159 | class wxMouseEventPtr(wxEventPtr): |
160 | def __init__(self,this): | |
161 | self.this = this | |
162 | self.thisown = 0 | |
2d091820 RD |
163 | def IsButton(self, *_args, **_kwargs): |
164 | val = apply(eventsc.wxMouseEvent_IsButton,(self,) + _args, _kwargs) | |
70551f47 | 165 | return val |
2d091820 RD |
166 | def ButtonDown(self, *_args, **_kwargs): |
167 | val = apply(eventsc.wxMouseEvent_ButtonDown,(self,) + _args, _kwargs) | |
70551f47 | 168 | return val |
2d091820 RD |
169 | def ButtonDClick(self, *_args, **_kwargs): |
170 | val = apply(eventsc.wxMouseEvent_ButtonDClick,(self,) + _args, _kwargs) | |
70551f47 | 171 | return val |
2d091820 RD |
172 | def ButtonUp(self, *_args, **_kwargs): |
173 | val = apply(eventsc.wxMouseEvent_ButtonUp,(self,) + _args, _kwargs) | |
70551f47 | 174 | return val |
2d091820 RD |
175 | def Button(self, *_args, **_kwargs): |
176 | val = apply(eventsc.wxMouseEvent_Button,(self,) + _args, _kwargs) | |
70551f47 | 177 | return val |
2d091820 RD |
178 | def ButtonIsDown(self, *_args, **_kwargs): |
179 | val = apply(eventsc.wxMouseEvent_ButtonIsDown,(self,) + _args, _kwargs) | |
70551f47 | 180 | return val |
2d091820 RD |
181 | def ControlDown(self, *_args, **_kwargs): |
182 | val = apply(eventsc.wxMouseEvent_ControlDown,(self,) + _args, _kwargs) | |
70551f47 | 183 | return val |
2d091820 RD |
184 | def MetaDown(self, *_args, **_kwargs): |
185 | val = apply(eventsc.wxMouseEvent_MetaDown,(self,) + _args, _kwargs) | |
70551f47 | 186 | return val |
2d091820 RD |
187 | def AltDown(self, *_args, **_kwargs): |
188 | val = apply(eventsc.wxMouseEvent_AltDown,(self,) + _args, _kwargs) | |
70551f47 | 189 | return val |
2d091820 RD |
190 | def ShiftDown(self, *_args, **_kwargs): |
191 | val = apply(eventsc.wxMouseEvent_ShiftDown,(self,) + _args, _kwargs) | |
70551f47 | 192 | return val |
2d091820 RD |
193 | def LeftDown(self, *_args, **_kwargs): |
194 | val = apply(eventsc.wxMouseEvent_LeftDown,(self,) + _args, _kwargs) | |
70551f47 | 195 | return val |
2d091820 RD |
196 | def MiddleDown(self, *_args, **_kwargs): |
197 | val = apply(eventsc.wxMouseEvent_MiddleDown,(self,) + _args, _kwargs) | |
70551f47 | 198 | return val |
2d091820 RD |
199 | def RightDown(self, *_args, **_kwargs): |
200 | val = apply(eventsc.wxMouseEvent_RightDown,(self,) + _args, _kwargs) | |
70551f47 | 201 | return val |
2d091820 RD |
202 | def LeftUp(self, *_args, **_kwargs): |
203 | val = apply(eventsc.wxMouseEvent_LeftUp,(self,) + _args, _kwargs) | |
70551f47 | 204 | return val |
2d091820 RD |
205 | def MiddleUp(self, *_args, **_kwargs): |
206 | val = apply(eventsc.wxMouseEvent_MiddleUp,(self,) + _args, _kwargs) | |
70551f47 | 207 | return val |
2d091820 RD |
208 | def RightUp(self, *_args, **_kwargs): |
209 | val = apply(eventsc.wxMouseEvent_RightUp,(self,) + _args, _kwargs) | |
70551f47 | 210 | return val |
2d091820 RD |
211 | def LeftDClick(self, *_args, **_kwargs): |
212 | val = apply(eventsc.wxMouseEvent_LeftDClick,(self,) + _args, _kwargs) | |
70551f47 | 213 | return val |
2d091820 RD |
214 | def MiddleDClick(self, *_args, **_kwargs): |
215 | val = apply(eventsc.wxMouseEvent_MiddleDClick,(self,) + _args, _kwargs) | |
70551f47 | 216 | return val |
2d091820 RD |
217 | def RightDClick(self, *_args, **_kwargs): |
218 | val = apply(eventsc.wxMouseEvent_RightDClick,(self,) + _args, _kwargs) | |
70551f47 | 219 | return val |
2d091820 RD |
220 | def LeftIsDown(self, *_args, **_kwargs): |
221 | val = apply(eventsc.wxMouseEvent_LeftIsDown,(self,) + _args, _kwargs) | |
70551f47 | 222 | return val |
2d091820 RD |
223 | def MiddleIsDown(self, *_args, **_kwargs): |
224 | val = apply(eventsc.wxMouseEvent_MiddleIsDown,(self,) + _args, _kwargs) | |
70551f47 | 225 | return val |
2d091820 RD |
226 | def RightIsDown(self, *_args, **_kwargs): |
227 | val = apply(eventsc.wxMouseEvent_RightIsDown,(self,) + _args, _kwargs) | |
70551f47 | 228 | return val |
2d091820 RD |
229 | def Dragging(self, *_args, **_kwargs): |
230 | val = apply(eventsc.wxMouseEvent_Dragging,(self,) + _args, _kwargs) | |
70551f47 | 231 | return val |
2d091820 RD |
232 | def Moving(self, *_args, **_kwargs): |
233 | val = apply(eventsc.wxMouseEvent_Moving,(self,) + _args, _kwargs) | |
70551f47 | 234 | return val |
2d091820 RD |
235 | def Entering(self, *_args, **_kwargs): |
236 | val = apply(eventsc.wxMouseEvent_Entering,(self,) + _args, _kwargs) | |
70551f47 | 237 | return val |
2d091820 RD |
238 | def Leaving(self, *_args, **_kwargs): |
239 | val = apply(eventsc.wxMouseEvent_Leaving,(self,) + _args, _kwargs) | |
70551f47 | 240 | return val |
2d091820 RD |
241 | def Position(self, *_args, **_kwargs): |
242 | val = apply(eventsc.wxMouseEvent_Position,(self,) + _args, _kwargs) | |
70551f47 | 243 | return val |
2d091820 RD |
244 | def GetPosition(self, *_args, **_kwargs): |
245 | val = apply(eventsc.wxMouseEvent_GetPosition,(self,) + _args, _kwargs) | |
246 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
70551f47 | 247 | return val |
2d091820 RD |
248 | def GetLogicalPosition(self, *_args, **_kwargs): |
249 | val = apply(eventsc.wxMouseEvent_GetLogicalPosition,(self,) + _args, _kwargs) | |
250 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
70551f47 | 251 | return val |
2d091820 RD |
252 | def GetX(self, *_args, **_kwargs): |
253 | val = apply(eventsc.wxMouseEvent_GetX,(self,) + _args, _kwargs) | |
70551f47 | 254 | return val |
2d091820 RD |
255 | def GetY(self, *_args, **_kwargs): |
256 | val = apply(eventsc.wxMouseEvent_GetY,(self,) + _args, _kwargs) | |
70551f47 RD |
257 | return val |
258 | def __repr__(self): | |
2d091820 | 259 | return "<C wxMouseEvent instance at %s>" % (self.this,) |
70551f47 RD |
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 | |
2d091820 RD |
271 | def ControlDown(self, *_args, **_kwargs): |
272 | val = apply(eventsc.wxKeyEvent_ControlDown,(self,) + _args, _kwargs) | |
70551f47 | 273 | return val |
2d091820 RD |
274 | def MetaDown(self, *_args, **_kwargs): |
275 | val = apply(eventsc.wxKeyEvent_MetaDown,(self,) + _args, _kwargs) | |
70551f47 | 276 | return val |
2d091820 RD |
277 | def AltDown(self, *_args, **_kwargs): |
278 | val = apply(eventsc.wxKeyEvent_AltDown,(self,) + _args, _kwargs) | |
70551f47 | 279 | return val |
2d091820 RD |
280 | def ShiftDown(self, *_args, **_kwargs): |
281 | val = apply(eventsc.wxKeyEvent_ShiftDown,(self,) + _args, _kwargs) | |
70551f47 | 282 | return val |
2d091820 RD |
283 | def KeyCode(self, *_args, **_kwargs): |
284 | val = apply(eventsc.wxKeyEvent_KeyCode,(self,) + _args, _kwargs) | |
70551f47 | 285 | return val |
70551f47 | 286 | def __repr__(self): |
2d091820 | 287 | return "<C wxKeyEvent instance at %s>" % (self.this,) |
70551f47 RD |
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 | |
2d091820 RD |
299 | def GetPosition(self, *_args, **_kwargs): |
300 | val = apply(eventsc.wxMoveEvent_GetPosition,(self,) + _args, _kwargs) | |
301 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
70551f47 RD |
302 | return val |
303 | def __repr__(self): | |
2d091820 | 304 | return "<C wxMoveEvent instance at %s>" % (self.this,) |
70551f47 RD |
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): | |
2d091820 | 317 | return "<C wxPaintEvent instance at %s>" % (self.this,) |
70551f47 RD |
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 | |
2d091820 RD |
329 | def GetDC(self, *_args, **_kwargs): |
330 | val = apply(eventsc.wxEraseEvent_GetDC,(self,) + _args, _kwargs) | |
331 | if val: val = wxDCPtr(val) | |
70551f47 RD |
332 | return val |
333 | def __repr__(self): | |
2d091820 | 334 | return "<C wxEraseEvent instance at %s>" % (self.this,) |
70551f47 RD |
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): | |
2d091820 | 347 | return "<C wxFocusEvent instance at %s>" % (self.this,) |
70551f47 RD |
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 | |
2d091820 RD |
359 | def GetActive(self, *_args, **_kwargs): |
360 | val = apply(eventsc.wxActivateEvent_GetActive,(self,) + _args, _kwargs) | |
70551f47 RD |
361 | return val |
362 | def __repr__(self): | |
2d091820 | 363 | return "<C wxActivateEvent instance at %s>" % (self.this,) |
70551f47 RD |
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): | |
2d091820 | 376 | return "<C wxInitDialogEvent instance at %s>" % (self.this,) |
70551f47 RD |
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 | |
2d091820 RD |
388 | def GetMenuId(self, *_args, **_kwargs): |
389 | val = apply(eventsc.wxMenuEvent_GetMenuId,(self,) + _args, _kwargs) | |
70551f47 RD |
390 | return val |
391 | def __repr__(self): | |
2d091820 | 392 | return "<C wxMenuEvent instance at %s>" % (self.this,) |
70551f47 RD |
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 | |
2d091820 RD |
404 | def SetShow(self, *_args, **_kwargs): |
405 | val = apply(eventsc.wxShowEvent_SetShow,(self,) + _args, _kwargs) | |
70551f47 | 406 | return val |
2d091820 RD |
407 | def GetShow(self, *_args, **_kwargs): |
408 | val = apply(eventsc.wxShowEvent_GetShow,(self,) + _args, _kwargs) | |
70551f47 RD |
409 | return val |
410 | def __repr__(self): | |
2d091820 | 411 | return "<C wxShowEvent instance at %s>" % (self.this,) |
70551f47 RD |
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): | |
2d091820 | 424 | return "<C wxIconizeEvent instance at %s>" % (self.this,) |
70551f47 RD |
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): | |
2d091820 | 437 | return "<C wxMaximizeEvent instance at %s>" % (self.this,) |
70551f47 RD |
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 | |
2d091820 RD |
449 | def GetPosition(self, *_args, **_kwargs): |
450 | val = apply(eventsc.wxJoystickEvent_GetPosition,(self,) + _args, _kwargs) | |
451 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
70551f47 | 452 | return val |
2d091820 RD |
453 | def GetZPosition(self, *_args, **_kwargs): |
454 | val = apply(eventsc.wxJoystickEvent_GetZPosition,(self,) + _args, _kwargs) | |
70551f47 | 455 | return val |
2d091820 RD |
456 | def GetButtonState(self, *_args, **_kwargs): |
457 | val = apply(eventsc.wxJoystickEvent_GetButtonState,(self,) + _args, _kwargs) | |
70551f47 | 458 | return val |
2d091820 RD |
459 | def GetButtonChange(self, *_args, **_kwargs): |
460 | val = apply(eventsc.wxJoystickEvent_GetButtonChange,(self,) + _args, _kwargs) | |
70551f47 | 461 | return val |
2d091820 RD |
462 | def GetJoystick(self, *_args, **_kwargs): |
463 | val = apply(eventsc.wxJoystickEvent_GetJoystick,(self,) + _args, _kwargs) | |
70551f47 | 464 | return val |
2d091820 RD |
465 | def SetJoystick(self, *_args, **_kwargs): |
466 | val = apply(eventsc.wxJoystickEvent_SetJoystick,(self,) + _args, _kwargs) | |
70551f47 | 467 | return val |
2d091820 RD |
468 | def SetButtonState(self, *_args, **_kwargs): |
469 | val = apply(eventsc.wxJoystickEvent_SetButtonState,(self,) + _args, _kwargs) | |
70551f47 | 470 | return val |
2d091820 RD |
471 | def SetButtonChange(self, *_args, **_kwargs): |
472 | val = apply(eventsc.wxJoystickEvent_SetButtonChange,(self,) + _args, _kwargs) | |
70551f47 | 473 | return val |
2d091820 RD |
474 | def SetPosition(self, *_args, **_kwargs): |
475 | val = apply(eventsc.wxJoystickEvent_SetPosition,(self,) + _args, _kwargs) | |
70551f47 | 476 | return val |
2d091820 RD |
477 | def SetZPosition(self, *_args, **_kwargs): |
478 | val = apply(eventsc.wxJoystickEvent_SetZPosition,(self,) + _args, _kwargs) | |
70551f47 | 479 | return val |
2d091820 RD |
480 | def IsButton(self, *_args, **_kwargs): |
481 | val = apply(eventsc.wxJoystickEvent_IsButton,(self,) + _args, _kwargs) | |
70551f47 | 482 | return val |
2d091820 RD |
483 | def IsMove(self, *_args, **_kwargs): |
484 | val = apply(eventsc.wxJoystickEvent_IsMove,(self,) + _args, _kwargs) | |
70551f47 | 485 | return val |
2d091820 RD |
486 | def IsZMove(self, *_args, **_kwargs): |
487 | val = apply(eventsc.wxJoystickEvent_IsZMove,(self,) + _args, _kwargs) | |
70551f47 | 488 | return val |
2d091820 RD |
489 | def ButtonDown(self, *_args, **_kwargs): |
490 | val = apply(eventsc.wxJoystickEvent_ButtonDown,(self,) + _args, _kwargs) | |
70551f47 | 491 | return val |
2d091820 RD |
492 | def ButtonUp(self, *_args, **_kwargs): |
493 | val = apply(eventsc.wxJoystickEvent_ButtonUp,(self,) + _args, _kwargs) | |
70551f47 | 494 | return val |
2d091820 RD |
495 | def ButtonIsDown(self, *_args, **_kwargs): |
496 | val = apply(eventsc.wxJoystickEvent_ButtonIsDown,(self,) + _args, _kwargs) | |
70551f47 RD |
497 | return val |
498 | def __repr__(self): | |
2d091820 | 499 | return "<C wxJoystickEvent instance at %s>" % (self.this,) |
70551f47 RD |
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 | |
2d091820 RD |
511 | def GetPosition(self, *_args, **_kwargs): |
512 | val = apply(eventsc.wxDropFilesEvent_GetPosition,(self,) + _args, _kwargs) | |
513 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
70551f47 | 514 | return val |
2d091820 RD |
515 | def GetNumberOfFiles(self, *_args, **_kwargs): |
516 | val = apply(eventsc.wxDropFilesEvent_GetNumberOfFiles,(self,) + _args, _kwargs) | |
70551f47 | 517 | return val |
2d091820 RD |
518 | def GetFiles(self, *_args, **_kwargs): |
519 | val = apply(eventsc.wxDropFilesEvent_GetFiles,(self,) + _args, _kwargs) | |
70551f47 RD |
520 | return val |
521 | def __repr__(self): | |
2d091820 | 522 | return "<C wxDropFilesEvent instance at %s>" % (self.this,) |
70551f47 RD |
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 | |
2d091820 RD |
534 | def RequestMore(self, *_args, **_kwargs): |
535 | val = apply(eventsc.wxIdleEvent_RequestMore,(self,) + _args, _kwargs) | |
70551f47 | 536 | return val |
2d091820 RD |
537 | def MoreRequested(self, *_args, **_kwargs): |
538 | val = apply(eventsc.wxIdleEvent_MoreRequested,(self,) + _args, _kwargs) | |
70551f47 RD |
539 | return val |
540 | def __repr__(self): | |
2d091820 | 541 | return "<C wxIdleEvent instance at %s>" % (self.this,) |
70551f47 RD |
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 | |
2d091820 RD |
553 | def GetChecked(self, *_args, **_kwargs): |
554 | val = apply(eventsc.wxUpdateUIEvent_GetChecked,(self,) + _args, _kwargs) | |
70551f47 | 555 | return val |
2d091820 RD |
556 | def GetEnabled(self, *_args, **_kwargs): |
557 | val = apply(eventsc.wxUpdateUIEvent_GetEnabled,(self,) + _args, _kwargs) | |
70551f47 | 558 | return val |
2d091820 RD |
559 | def GetText(self, *_args, **_kwargs): |
560 | val = apply(eventsc.wxUpdateUIEvent_GetText,(self,) + _args, _kwargs) | |
70551f47 | 561 | return val |
2d091820 RD |
562 | def GetSetText(self, *_args, **_kwargs): |
563 | val = apply(eventsc.wxUpdateUIEvent_GetSetText,(self,) + _args, _kwargs) | |
70551f47 | 564 | return val |
2d091820 RD |
565 | def GetSetChecked(self, *_args, **_kwargs): |
566 | val = apply(eventsc.wxUpdateUIEvent_GetSetChecked,(self,) + _args, _kwargs) | |
70551f47 | 567 | return val |
2d091820 RD |
568 | def GetSetEnabled(self, *_args, **_kwargs): |
569 | val = apply(eventsc.wxUpdateUIEvent_GetSetEnabled,(self,) + _args, _kwargs) | |
70551f47 | 570 | return val |
2d091820 RD |
571 | def Check(self, *_args, **_kwargs): |
572 | val = apply(eventsc.wxUpdateUIEvent_Check,(self,) + _args, _kwargs) | |
70551f47 | 573 | return val |
2d091820 RD |
574 | def Enable(self, *_args, **_kwargs): |
575 | val = apply(eventsc.wxUpdateUIEvent_Enable,(self,) + _args, _kwargs) | |
70551f47 | 576 | return val |
2d091820 RD |
577 | def SetText(self, *_args, **_kwargs): |
578 | val = apply(eventsc.wxUpdateUIEvent_SetText,(self,) + _args, _kwargs) | |
70551f47 RD |
579 | return val |
580 | def __repr__(self): | |
2d091820 | 581 | return "<C wxUpdateUIEvent instance at %s>" % (self.this,) |
70551f47 RD |
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): | |
2d091820 | 594 | return "<C wxSysColourChangedEvent instance at %s>" % (self.this,) |
70551f47 RD |
595 | class wxSysColourChangedEvent(wxSysColourChangedEventPtr): |
596 | def __init__(self,this): | |
597 | self.this = this | |
598 | ||
599 | ||
600 | ||
601 | ||
ab9bc19b RD |
602 | class wxPyEventPtr(wxCommandEventPtr): |
603 | def __init__(self,this): | |
604 | self.this = this | |
605 | self.thisown = 0 | |
2d091820 | 606 | def __del__(self,eventsc=eventsc): |
ab9bc19b | 607 | if self.thisown == 1 : |
2d091820 RD |
608 | eventsc.delete_wxPyEvent(self) |
609 | def SetUserData(self, *_args, **_kwargs): | |
610 | val = apply(eventsc.wxPyEvent_SetUserData,(self,) + _args, _kwargs) | |
ab9bc19b | 611 | return val |
2d091820 RD |
612 | def GetUserData(self, *_args, **_kwargs): |
613 | val = apply(eventsc.wxPyEvent_GetUserData,(self,) + _args, _kwargs) | |
ab9bc19b RD |
614 | return val |
615 | def __repr__(self): | |
2d091820 | 616 | return "<C wxPyEvent instance at %s>" % (self.this,) |
ab9bc19b | 617 | class wxPyEvent(wxPyEventPtr): |
2d091820 RD |
618 | def __init__(self,*_args,**_kwargs): |
619 | self.this = apply(eventsc.new_wxPyEvent,_args,_kwargs) | |
ab9bc19b RD |
620 | self.thisown = 1 |
621 | ||
622 | ||
623 | ||
624 | ||
d24a34bb RD |
625 | class wxNotifyEventPtr(wxCommandEventPtr): |
626 | def __init__(self,this): | |
627 | self.this = this | |
628 | self.thisown = 0 | |
2d091820 RD |
629 | def IsAllowed(self, *_args, **_kwargs): |
630 | val = apply(eventsc.wxNotifyEvent_IsAllowed,(self,) + _args, _kwargs) | |
d24a34bb | 631 | return val |
2d091820 RD |
632 | def Veto(self, *_args, **_kwargs): |
633 | val = apply(eventsc.wxNotifyEvent_Veto,(self,) + _args, _kwargs) | |
d24a34bb RD |
634 | return val |
635 | def __repr__(self): | |
2d091820 | 636 | return "<C wxNotifyEvent instance at %s>" % (self.this,) |
d24a34bb RD |
637 | class wxNotifyEvent(wxNotifyEventPtr): |
638 | def __init__(self,this): | |
639 | self.this = this | |
640 | ||
641 | ||
642 | ||
643 | ||
70551f47 RD |
644 | |
645 | ||
646 | #-------------- FUNCTION WRAPPERS ------------------ | |
647 | ||
648 | ||
649 | ||
650 | #-------------- VARIABLE WRAPPERS ------------------ | |
651 |