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