]>
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 * | |
a323d3bd RD |
7 | |
8 | from fonts import * | |
9df61a29 | 9 | class wxEventPtr(wxObjectPtr): |
8ab979d7 RD |
10 | def __init__(self,this): |
11 | self.this = this | |
12 | self.thisown = 0 | |
48115f4a RD |
13 | def __del__(self,eventsc=eventsc): |
14 | if self.thisown == 1 : | |
15 | eventsc.delete_wxEvent(self) | |
1d99702e RD |
16 | def GetEventObject(self, *_args, **_kwargs): |
17 | val = apply(eventsc.wxEvent_GetEventObject,(self,) + _args, _kwargs) | |
8ab979d7 | 18 | return val |
1d99702e RD |
19 | def GetEventType(self, *_args, **_kwargs): |
20 | val = apply(eventsc.wxEvent_GetEventType,(self,) + _args, _kwargs) | |
8ab979d7 | 21 | return val |
1d99702e RD |
22 | def GetId(self, *_args, **_kwargs): |
23 | val = apply(eventsc.wxEvent_GetId,(self,) + _args, _kwargs) | |
8ab979d7 | 24 | return val |
1d99702e RD |
25 | def GetSkipped(self, *_args, **_kwargs): |
26 | val = apply(eventsc.wxEvent_GetSkipped,(self,) + _args, _kwargs) | |
8ab979d7 | 27 | return val |
1d99702e RD |
28 | def GetTimestamp(self, *_args, **_kwargs): |
29 | val = apply(eventsc.wxEvent_GetTimestamp,(self,) + _args, _kwargs) | |
8ab979d7 | 30 | return val |
1d99702e RD |
31 | def SetEventObject(self, *_args, **_kwargs): |
32 | val = apply(eventsc.wxEvent_SetEventObject,(self,) + _args, _kwargs) | |
8ab979d7 | 33 | return val |
1d99702e RD |
34 | def SetEventType(self, *_args, **_kwargs): |
35 | val = apply(eventsc.wxEvent_SetEventType,(self,) + _args, _kwargs) | |
8ab979d7 | 36 | return val |
1d99702e RD |
37 | def SetId(self, *_args, **_kwargs): |
38 | val = apply(eventsc.wxEvent_SetId,(self,) + _args, _kwargs) | |
8ab979d7 | 39 | return val |
1d99702e RD |
40 | def SetTimestamp(self, *_args, **_kwargs): |
41 | val = apply(eventsc.wxEvent_SetTimestamp,(self,) + _args, _kwargs) | |
8ab979d7 | 42 | return val |
1d99702e RD |
43 | def Skip(self, *_args, **_kwargs): |
44 | val = apply(eventsc.wxEvent_Skip,(self,) + _args, _kwargs) | |
8ab979d7 | 45 | return val |
07b2e1cd RD |
46 | def Clone(self, *_args, **_kwargs): |
47 | val = apply(eventsc.wxEvent_Clone,(self,) + _args, _kwargs) | |
48 | if val: val = wxEventPtr(val) | |
49 | return val | |
8ab979d7 | 50 | def __repr__(self): |
1d99702e | 51 | return "<C wxEvent instance at %s>" % (self.this,) |
8ab979d7 | 52 | class wxEvent(wxEventPtr): |
6e8a778a RD |
53 | def __init__(self,this): |
54 | self.this = this | |
8ab979d7 RD |
55 | |
56 | ||
57 | ||
58 | ||
59 | class wxSizeEventPtr(wxEventPtr): | |
60 | def __init__(self,this): | |
61 | self.this = this | |
62 | self.thisown = 0 | |
1d99702e RD |
63 | def GetSize(self, *_args, **_kwargs): |
64 | val = apply(eventsc.wxSizeEvent_GetSize,(self,) + _args, _kwargs) | |
65 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
8ab979d7 RD |
66 | return val |
67 | def __repr__(self): | |
1d99702e | 68 | return "<C wxSizeEvent instance at %s>" % (self.this,) |
8ab979d7 | 69 | class wxSizeEvent(wxSizeEventPtr): |
48115f4a RD |
70 | def __init__(self,*_args,**_kwargs): |
71 | self.this = apply(eventsc.new_wxSizeEvent,_args,_kwargs) | |
72 | self.thisown = 1 | |
8ab979d7 RD |
73 | |
74 | ||
75 | ||
76 | ||
77 | class wxCloseEventPtr(wxEventPtr): | |
78 | def __init__(self,this): | |
79 | self.this = this | |
80 | self.thisown = 0 | |
1d99702e RD |
81 | def SetLoggingOff(self, *_args, **_kwargs): |
82 | val = apply(eventsc.wxCloseEvent_SetLoggingOff,(self,) + _args, _kwargs) | |
b8b8dda7 | 83 | return val |
1d99702e RD |
84 | def GetLoggingOff(self, *_args, **_kwargs): |
85 | val = apply(eventsc.wxCloseEvent_GetLoggingOff,(self,) + _args, _kwargs) | |
8ab979d7 | 86 | return val |
1d99702e RD |
87 | def Veto(self, *_args, **_kwargs): |
88 | val = apply(eventsc.wxCloseEvent_Veto,(self,) + _args, _kwargs) | |
8ab979d7 | 89 | return val |
1d99702e RD |
90 | def CanVeto(self, *_args, **_kwargs): |
91 | val = apply(eventsc.wxCloseEvent_CanVeto,(self,) + _args, _kwargs) | |
e980740a | 92 | return val |
1d99702e RD |
93 | def GetVeto(self, *_args, **_kwargs): |
94 | val = apply(eventsc.wxCloseEvent_GetVeto,(self,) + _args, _kwargs) | |
8ab979d7 | 95 | return val |
1d99702e RD |
96 | def SetCanVeto(self, *_args, **_kwargs): |
97 | val = apply(eventsc.wxCloseEvent_SetCanVeto,(self,) + _args, _kwargs) | |
b8b8dda7 | 98 | return val |
8ab979d7 | 99 | def __repr__(self): |
1d99702e | 100 | return "<C wxCloseEvent instance at %s>" % (self.this,) |
8ab979d7 | 101 | class wxCloseEvent(wxCloseEventPtr): |
48115f4a RD |
102 | def __init__(self,*_args,**_kwargs): |
103 | self.this = apply(eventsc.new_wxCloseEvent,_args,_kwargs) | |
104 | self.thisown = 1 | |
8ab979d7 RD |
105 | |
106 | ||
107 | ||
108 | ||
109 | class wxCommandEventPtr(wxEventPtr): | |
110 | def __init__(self,this): | |
111 | self.this = this | |
112 | self.thisown = 0 | |
3ca6a5f0 BP |
113 | def IsChecked(self, *_args, **_kwargs): |
114 | val = apply(eventsc.wxCommandEvent_IsChecked,(self,) + _args, _kwargs) | |
115 | return val | |
1d99702e RD |
116 | def Checked(self, *_args, **_kwargs): |
117 | val = apply(eventsc.wxCommandEvent_Checked,(self,) + _args, _kwargs) | |
8ab979d7 | 118 | return val |
1d99702e RD |
119 | def GetExtraLong(self, *_args, **_kwargs): |
120 | val = apply(eventsc.wxCommandEvent_GetExtraLong,(self,) + _args, _kwargs) | |
8ab979d7 | 121 | return val |
1d99702e RD |
122 | def GetInt(self, *_args, **_kwargs): |
123 | val = apply(eventsc.wxCommandEvent_GetInt,(self,) + _args, _kwargs) | |
8ab979d7 | 124 | return val |
1d99702e RD |
125 | def GetSelection(self, *_args, **_kwargs): |
126 | val = apply(eventsc.wxCommandEvent_GetSelection,(self,) + _args, _kwargs) | |
8ab979d7 | 127 | return val |
1d99702e RD |
128 | def GetString(self, *_args, **_kwargs): |
129 | val = apply(eventsc.wxCommandEvent_GetString,(self,) + _args, _kwargs) | |
8ab979d7 | 130 | return val |
1d99702e RD |
131 | def IsSelection(self, *_args, **_kwargs): |
132 | val = apply(eventsc.wxCommandEvent_IsSelection,(self,) + _args, _kwargs) | |
8ab979d7 | 133 | return val |
6999b0d8 RD |
134 | def SetString(self, *_args, **_kwargs): |
135 | val = apply(eventsc.wxCommandEvent_SetString,(self,) + _args, _kwargs) | |
136 | return val | |
137 | def SetExtraLong(self, *_args, **_kwargs): | |
138 | val = apply(eventsc.wxCommandEvent_SetExtraLong,(self,) + _args, _kwargs) | |
139 | return val | |
140 | def SetInt(self, *_args, **_kwargs): | |
141 | val = apply(eventsc.wxCommandEvent_SetInt,(self,) + _args, _kwargs) | |
142 | return val | |
65191ae8 RD |
143 | def GetClientData(self, *_args, **_kwargs): |
144 | val = apply(eventsc.wxCommandEvent_GetClientData,(self,) + _args, _kwargs) | |
145 | return val | |
8ab979d7 | 146 | def __repr__(self): |
1d99702e | 147 | return "<C wxCommandEvent instance at %s>" % (self.this,) |
8ab979d7 | 148 | class wxCommandEvent(wxCommandEventPtr): |
48115f4a RD |
149 | def __init__(self,*_args,**_kwargs): |
150 | self.this = apply(eventsc.new_wxCommandEvent,_args,_kwargs) | |
151 | self.thisown = 1 | |
8ab979d7 RD |
152 | |
153 | ||
154 | ||
155 | ||
156 | class wxScrollEventPtr(wxCommandEventPtr): | |
157 | def __init__(self,this): | |
158 | self.this = this | |
159 | self.thisown = 0 | |
1d99702e RD |
160 | def GetOrientation(self, *_args, **_kwargs): |
161 | val = apply(eventsc.wxScrollEvent_GetOrientation,(self,) + _args, _kwargs) | |
8ab979d7 | 162 | return val |
1d99702e RD |
163 | def GetPosition(self, *_args, **_kwargs): |
164 | val = apply(eventsc.wxScrollEvent_GetPosition,(self,) + _args, _kwargs) | |
8ab979d7 RD |
165 | return val |
166 | def __repr__(self): | |
1d99702e | 167 | return "<C wxScrollEvent instance at %s>" % (self.this,) |
8ab979d7 | 168 | class wxScrollEvent(wxScrollEventPtr): |
48115f4a RD |
169 | def __init__(self,*_args,**_kwargs): |
170 | self.this = apply(eventsc.new_wxScrollEvent,_args,_kwargs) | |
171 | self.thisown = 1 | |
8ab979d7 RD |
172 | |
173 | ||
174 | ||
175 | ||
d426c97e RD |
176 | class wxScrollWinEventPtr(wxEventPtr): |
177 | def __init__(self,this): | |
178 | self.this = this | |
179 | self.thisown = 0 | |
180 | def GetOrientation(self, *_args, **_kwargs): | |
181 | val = apply(eventsc.wxScrollWinEvent_GetOrientation,(self,) + _args, _kwargs) | |
182 | return val | |
183 | def GetPosition(self, *_args, **_kwargs): | |
184 | val = apply(eventsc.wxScrollWinEvent_GetPosition,(self,) + _args, _kwargs) | |
185 | return val | |
186 | def __repr__(self): | |
187 | return "<C wxScrollWinEvent instance at %s>" % (self.this,) | |
188 | class wxScrollWinEvent(wxScrollWinEventPtr): | |
48115f4a RD |
189 | def __init__(self,*_args,**_kwargs): |
190 | self.this = apply(eventsc.new_wxScrollWinEvent,_args,_kwargs) | |
191 | self.thisown = 1 | |
d426c97e RD |
192 | |
193 | ||
194 | ||
195 | ||
b639c3c5 RD |
196 | class wxSpinEventPtr(wxScrollEventPtr): |
197 | def __init__(self,this): | |
198 | self.this = this | |
199 | self.thisown = 0 | |
200 | def __repr__(self): | |
1d99702e | 201 | return "<C wxSpinEvent instance at %s>" % (self.this,) |
b639c3c5 | 202 | class wxSpinEvent(wxSpinEventPtr): |
48115f4a RD |
203 | def __init__(self,*_args,**_kwargs): |
204 | self.this = apply(eventsc.new_wxSpinEvent,_args,_kwargs) | |
205 | self.thisown = 1 | |
b639c3c5 RD |
206 | |
207 | ||
208 | ||
209 | ||
8ab979d7 RD |
210 | class wxMouseEventPtr(wxEventPtr): |
211 | def __init__(self,this): | |
212 | self.this = this | |
213 | self.thisown = 0 | |
1d99702e RD |
214 | def IsButton(self, *_args, **_kwargs): |
215 | val = apply(eventsc.wxMouseEvent_IsButton,(self,) + _args, _kwargs) | |
8ab979d7 | 216 | return val |
1d99702e RD |
217 | def ButtonDown(self, *_args, **_kwargs): |
218 | val = apply(eventsc.wxMouseEvent_ButtonDown,(self,) + _args, _kwargs) | |
8ab979d7 | 219 | return val |
1d99702e RD |
220 | def ButtonDClick(self, *_args, **_kwargs): |
221 | val = apply(eventsc.wxMouseEvent_ButtonDClick,(self,) + _args, _kwargs) | |
8ab979d7 | 222 | return val |
1d99702e RD |
223 | def ButtonUp(self, *_args, **_kwargs): |
224 | val = apply(eventsc.wxMouseEvent_ButtonUp,(self,) + _args, _kwargs) | |
8ab979d7 | 225 | return val |
1d99702e RD |
226 | def Button(self, *_args, **_kwargs): |
227 | val = apply(eventsc.wxMouseEvent_Button,(self,) + _args, _kwargs) | |
8ab979d7 | 228 | return val |
1d99702e RD |
229 | def ButtonIsDown(self, *_args, **_kwargs): |
230 | val = apply(eventsc.wxMouseEvent_ButtonIsDown,(self,) + _args, _kwargs) | |
8ab979d7 | 231 | return val |
1d99702e RD |
232 | def ControlDown(self, *_args, **_kwargs): |
233 | val = apply(eventsc.wxMouseEvent_ControlDown,(self,) + _args, _kwargs) | |
8ab979d7 | 234 | return val |
1d99702e RD |
235 | def MetaDown(self, *_args, **_kwargs): |
236 | val = apply(eventsc.wxMouseEvent_MetaDown,(self,) + _args, _kwargs) | |
8ab979d7 | 237 | return val |
1d99702e RD |
238 | def AltDown(self, *_args, **_kwargs): |
239 | val = apply(eventsc.wxMouseEvent_AltDown,(self,) + _args, _kwargs) | |
8ab979d7 | 240 | return val |
1d99702e RD |
241 | def ShiftDown(self, *_args, **_kwargs): |
242 | val = apply(eventsc.wxMouseEvent_ShiftDown,(self,) + _args, _kwargs) | |
8ab979d7 | 243 | return val |
1d99702e RD |
244 | def LeftDown(self, *_args, **_kwargs): |
245 | val = apply(eventsc.wxMouseEvent_LeftDown,(self,) + _args, _kwargs) | |
8ab979d7 | 246 | return val |
1d99702e RD |
247 | def MiddleDown(self, *_args, **_kwargs): |
248 | val = apply(eventsc.wxMouseEvent_MiddleDown,(self,) + _args, _kwargs) | |
8ab979d7 | 249 | return val |
1d99702e RD |
250 | def RightDown(self, *_args, **_kwargs): |
251 | val = apply(eventsc.wxMouseEvent_RightDown,(self,) + _args, _kwargs) | |
8ab979d7 | 252 | return val |
1d99702e RD |
253 | def LeftUp(self, *_args, **_kwargs): |
254 | val = apply(eventsc.wxMouseEvent_LeftUp,(self,) + _args, _kwargs) | |
8ab979d7 | 255 | return val |
1d99702e RD |
256 | def MiddleUp(self, *_args, **_kwargs): |
257 | val = apply(eventsc.wxMouseEvent_MiddleUp,(self,) + _args, _kwargs) | |
8ab979d7 | 258 | return val |
1d99702e RD |
259 | def RightUp(self, *_args, **_kwargs): |
260 | val = apply(eventsc.wxMouseEvent_RightUp,(self,) + _args, _kwargs) | |
8ab979d7 | 261 | return val |
1d99702e RD |
262 | def LeftDClick(self, *_args, **_kwargs): |
263 | val = apply(eventsc.wxMouseEvent_LeftDClick,(self,) + _args, _kwargs) | |
8ab979d7 | 264 | return val |
1d99702e RD |
265 | def MiddleDClick(self, *_args, **_kwargs): |
266 | val = apply(eventsc.wxMouseEvent_MiddleDClick,(self,) + _args, _kwargs) | |
8ab979d7 | 267 | return val |
1d99702e RD |
268 | def RightDClick(self, *_args, **_kwargs): |
269 | val = apply(eventsc.wxMouseEvent_RightDClick,(self,) + _args, _kwargs) | |
8ab979d7 | 270 | return val |
1d99702e RD |
271 | def LeftIsDown(self, *_args, **_kwargs): |
272 | val = apply(eventsc.wxMouseEvent_LeftIsDown,(self,) + _args, _kwargs) | |
8ab979d7 | 273 | return val |
1d99702e RD |
274 | def MiddleIsDown(self, *_args, **_kwargs): |
275 | val = apply(eventsc.wxMouseEvent_MiddleIsDown,(self,) + _args, _kwargs) | |
8ab979d7 | 276 | return val |
1d99702e RD |
277 | def RightIsDown(self, *_args, **_kwargs): |
278 | val = apply(eventsc.wxMouseEvent_RightIsDown,(self,) + _args, _kwargs) | |
8ab979d7 | 279 | return val |
1d99702e RD |
280 | def Dragging(self, *_args, **_kwargs): |
281 | val = apply(eventsc.wxMouseEvent_Dragging,(self,) + _args, _kwargs) | |
8ab979d7 | 282 | return val |
1d99702e RD |
283 | def Moving(self, *_args, **_kwargs): |
284 | val = apply(eventsc.wxMouseEvent_Moving,(self,) + _args, _kwargs) | |
8ab979d7 | 285 | return val |
1d99702e RD |
286 | def Entering(self, *_args, **_kwargs): |
287 | val = apply(eventsc.wxMouseEvent_Entering,(self,) + _args, _kwargs) | |
8ab979d7 | 288 | return val |
1d99702e RD |
289 | def Leaving(self, *_args, **_kwargs): |
290 | val = apply(eventsc.wxMouseEvent_Leaving,(self,) + _args, _kwargs) | |
8ab979d7 | 291 | return val |
1d99702e RD |
292 | def GetPosition(self, *_args, **_kwargs): |
293 | val = apply(eventsc.wxMouseEvent_GetPosition,(self,) + _args, _kwargs) | |
294 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
8ab979d7 | 295 | return val |
b1462dfa RD |
296 | def GetPositionTuple(self, *_args, **_kwargs): |
297 | val = apply(eventsc.wxMouseEvent_GetPositionTuple,(self,) + _args, _kwargs) | |
298 | return val | |
1d99702e RD |
299 | def GetLogicalPosition(self, *_args, **_kwargs): |
300 | val = apply(eventsc.wxMouseEvent_GetLogicalPosition,(self,) + _args, _kwargs) | |
301 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
8ab979d7 | 302 | return val |
1d99702e RD |
303 | def GetX(self, *_args, **_kwargs): |
304 | val = apply(eventsc.wxMouseEvent_GetX,(self,) + _args, _kwargs) | |
8ab979d7 | 305 | return val |
1d99702e RD |
306 | def GetY(self, *_args, **_kwargs): |
307 | val = apply(eventsc.wxMouseEvent_GetY,(self,) + _args, _kwargs) | |
8ab979d7 | 308 | return val |
7a446686 RD |
309 | def GetWheelRotation(self, *_args, **_kwargs): |
310 | val = apply(eventsc.wxMouseEvent_GetWheelRotation,(self,) + _args, _kwargs) | |
311 | return val | |
312 | def GetWheelDelta(self, *_args, **_kwargs): | |
313 | val = apply(eventsc.wxMouseEvent_GetWheelDelta,(self,) + _args, _kwargs) | |
314 | return val | |
315 | def GetLinesPerAction(self, *_args, **_kwargs): | |
316 | val = apply(eventsc.wxMouseEvent_GetLinesPerAction,(self,) + _args, _kwargs) | |
317 | return val | |
c368d904 RD |
318 | def __setattr__(self,name,value): |
319 | if name == "m_x" : | |
320 | eventsc.wxMouseEvent_m_x_set(self,value) | |
321 | return | |
322 | if name == "m_y" : | |
323 | eventsc.wxMouseEvent_m_y_set(self,value) | |
324 | return | |
325 | if name == "m_leftDown" : | |
326 | eventsc.wxMouseEvent_m_leftDown_set(self,value) | |
327 | return | |
328 | if name == "m_middleDown" : | |
329 | eventsc.wxMouseEvent_m_middleDown_set(self,value) | |
330 | return | |
331 | if name == "m_rightDown" : | |
332 | eventsc.wxMouseEvent_m_rightDown_set(self,value) | |
333 | return | |
334 | if name == "m_controlDown" : | |
335 | eventsc.wxMouseEvent_m_controlDown_set(self,value) | |
336 | return | |
337 | if name == "m_shiftDown" : | |
338 | eventsc.wxMouseEvent_m_shiftDown_set(self,value) | |
339 | return | |
340 | if name == "m_altDown" : | |
341 | eventsc.wxMouseEvent_m_altDown_set(self,value) | |
342 | return | |
343 | if name == "m_metaDown" : | |
344 | eventsc.wxMouseEvent_m_metaDown_set(self,value) | |
345 | return | |
7a446686 RD |
346 | if name == "m_wheelRotation" : |
347 | eventsc.wxMouseEvent_m_wheelRotation_set(self,value) | |
348 | return | |
349 | if name == "m_wheelDelta" : | |
350 | eventsc.wxMouseEvent_m_wheelDelta_set(self,value) | |
351 | return | |
352 | if name == "m_linesPerAction" : | |
353 | eventsc.wxMouseEvent_m_linesPerAction_set(self,value) | |
354 | return | |
c368d904 RD |
355 | self.__dict__[name] = value |
356 | def __getattr__(self,name): | |
357 | if name == "m_x" : | |
358 | return eventsc.wxMouseEvent_m_x_get(self) | |
359 | if name == "m_y" : | |
360 | return eventsc.wxMouseEvent_m_y_get(self) | |
361 | if name == "m_leftDown" : | |
362 | return eventsc.wxMouseEvent_m_leftDown_get(self) | |
363 | if name == "m_middleDown" : | |
364 | return eventsc.wxMouseEvent_m_middleDown_get(self) | |
365 | if name == "m_rightDown" : | |
366 | return eventsc.wxMouseEvent_m_rightDown_get(self) | |
367 | if name == "m_controlDown" : | |
368 | return eventsc.wxMouseEvent_m_controlDown_get(self) | |
369 | if name == "m_shiftDown" : | |
370 | return eventsc.wxMouseEvent_m_shiftDown_get(self) | |
371 | if name == "m_altDown" : | |
372 | return eventsc.wxMouseEvent_m_altDown_get(self) | |
373 | if name == "m_metaDown" : | |
374 | return eventsc.wxMouseEvent_m_metaDown_get(self) | |
7a446686 RD |
375 | if name == "m_wheelRotation" : |
376 | return eventsc.wxMouseEvent_m_wheelRotation_get(self) | |
377 | if name == "m_wheelDelta" : | |
378 | return eventsc.wxMouseEvent_m_wheelDelta_get(self) | |
379 | if name == "m_linesPerAction" : | |
380 | return eventsc.wxMouseEvent_m_linesPerAction_get(self) | |
c368d904 | 381 | raise AttributeError,name |
8ab979d7 | 382 | def __repr__(self): |
1d99702e | 383 | return "<C wxMouseEvent instance at %s>" % (self.this,) |
8ab979d7 | 384 | class wxMouseEvent(wxMouseEventPtr): |
48115f4a RD |
385 | def __init__(self,*_args,**_kwargs): |
386 | self.this = apply(eventsc.new_wxMouseEvent,_args,_kwargs) | |
387 | self.thisown = 1 | |
8ab979d7 RD |
388 | |
389 | ||
390 | ||
391 | ||
94c16279 RD |
392 | class wxMouseCaptureChangedEventPtr(wxEventPtr): |
393 | def __init__(self,this): | |
394 | self.this = this | |
395 | self.thisown = 0 | |
396 | def GetCapturedWindow(self, *_args, **_kwargs): | |
397 | val = apply(eventsc.wxMouseCaptureChangedEvent_GetCapturedWindow,(self,) + _args, _kwargs) | |
398 | return val | |
399 | def __repr__(self): | |
400 | return "<C wxMouseCaptureChangedEvent instance at %s>" % (self.this,) | |
401 | class wxMouseCaptureChangedEvent(wxMouseCaptureChangedEventPtr): | |
402 | def __init__(self,*_args,**_kwargs): | |
403 | self.this = apply(eventsc.new_wxMouseCaptureChangedEvent,_args,_kwargs) | |
404 | self.thisown = 1 | |
405 | ||
406 | ||
407 | ||
408 | ||
8ab979d7 RD |
409 | class wxKeyEventPtr(wxEventPtr): |
410 | def __init__(self,this): | |
411 | self.this = this | |
412 | self.thisown = 0 | |
1d99702e RD |
413 | def ControlDown(self, *_args, **_kwargs): |
414 | val = apply(eventsc.wxKeyEvent_ControlDown,(self,) + _args, _kwargs) | |
8ab979d7 | 415 | return val |
1d99702e RD |
416 | def MetaDown(self, *_args, **_kwargs): |
417 | val = apply(eventsc.wxKeyEvent_MetaDown,(self,) + _args, _kwargs) | |
8ab979d7 | 418 | return val |
1d99702e RD |
419 | def AltDown(self, *_args, **_kwargs): |
420 | val = apply(eventsc.wxKeyEvent_AltDown,(self,) + _args, _kwargs) | |
8ab979d7 | 421 | return val |
1d99702e RD |
422 | def ShiftDown(self, *_args, **_kwargs): |
423 | val = apply(eventsc.wxKeyEvent_ShiftDown,(self,) + _args, _kwargs) | |
8ab979d7 | 424 | return val |
1d99702e RD |
425 | def KeyCode(self, *_args, **_kwargs): |
426 | val = apply(eventsc.wxKeyEvent_KeyCode,(self,) + _args, _kwargs) | |
8ab979d7 | 427 | return val |
f6bcfd97 BP |
428 | def GetKeyCode(self, *_args, **_kwargs): |
429 | val = apply(eventsc.wxKeyEvent_GetKeyCode,(self,) + _args, _kwargs) | |
430 | return val | |
431 | def HasModifiers(self, *_args, **_kwargs): | |
432 | val = apply(eventsc.wxKeyEvent_HasModifiers,(self,) + _args, _kwargs) | |
433 | return val | |
87439dd8 RD |
434 | def GetRawKeyCode(self, *_args, **_kwargs): |
435 | val = apply(eventsc.wxKeyEvent_GetRawKeyCode,(self,) + _args, _kwargs) | |
436 | return val | |
437 | def GetRawKeyFlags(self, *_args, **_kwargs): | |
438 | val = apply(eventsc.wxKeyEvent_GetRawKeyFlags,(self,) + _args, _kwargs) | |
439 | return val | |
48115f4a RD |
440 | def GetX(self, *_args, **_kwargs): |
441 | val = apply(eventsc.wxKeyEvent_GetX,(self,) + _args, _kwargs) | |
442 | return val | |
443 | def GetY(self, *_args, **_kwargs): | |
444 | val = apply(eventsc.wxKeyEvent_GetY,(self,) + _args, _kwargs) | |
445 | return val | |
446 | def GetPosition(self, *_args, **_kwargs): | |
447 | val = apply(eventsc.wxKeyEvent_GetPosition,(self,) + _args, _kwargs) | |
448 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
449 | return val | |
450 | def GetPositionTuple(self, *_args, **_kwargs): | |
451 | val = apply(eventsc.wxKeyEvent_GetPositionTuple,(self,) + _args, _kwargs) | |
452 | return val | |
c368d904 RD |
453 | def __setattr__(self,name,value): |
454 | if name == "m_x" : | |
455 | eventsc.wxKeyEvent_m_x_set(self,value) | |
456 | return | |
457 | if name == "m_y" : | |
458 | eventsc.wxKeyEvent_m_y_set(self,value) | |
459 | return | |
460 | if name == "m_keyCode" : | |
461 | eventsc.wxKeyEvent_m_keyCode_set(self,value) | |
462 | return | |
463 | if name == "m_controlDown" : | |
464 | eventsc.wxKeyEvent_m_controlDown_set(self,value) | |
465 | return | |
466 | if name == "m_shiftDown" : | |
467 | eventsc.wxKeyEvent_m_shiftDown_set(self,value) | |
468 | return | |
469 | if name == "m_altDown" : | |
470 | eventsc.wxKeyEvent_m_altDown_set(self,value) | |
471 | return | |
472 | if name == "m_metaDown" : | |
473 | eventsc.wxKeyEvent_m_metaDown_set(self,value) | |
474 | return | |
475 | if name == "m_scanCode" : | |
476 | eventsc.wxKeyEvent_m_scanCode_set(self,value) | |
477 | return | |
87439dd8 RD |
478 | if name == "m_rawCode" : |
479 | eventsc.wxKeyEvent_m_rawCode_set(self,value) | |
480 | return | |
481 | if name == "m_rawFlags" : | |
482 | eventsc.wxKeyEvent_m_rawFlags_set(self,value) | |
483 | return | |
c368d904 RD |
484 | self.__dict__[name] = value |
485 | def __getattr__(self,name): | |
486 | if name == "m_x" : | |
487 | return eventsc.wxKeyEvent_m_x_get(self) | |
488 | if name == "m_y" : | |
489 | return eventsc.wxKeyEvent_m_y_get(self) | |
490 | if name == "m_keyCode" : | |
491 | return eventsc.wxKeyEvent_m_keyCode_get(self) | |
492 | if name == "m_controlDown" : | |
493 | return eventsc.wxKeyEvent_m_controlDown_get(self) | |
494 | if name == "m_shiftDown" : | |
495 | return eventsc.wxKeyEvent_m_shiftDown_get(self) | |
496 | if name == "m_altDown" : | |
497 | return eventsc.wxKeyEvent_m_altDown_get(self) | |
498 | if name == "m_metaDown" : | |
499 | return eventsc.wxKeyEvent_m_metaDown_get(self) | |
500 | if name == "m_scanCode" : | |
501 | return eventsc.wxKeyEvent_m_scanCode_get(self) | |
87439dd8 RD |
502 | if name == "m_rawCode" : |
503 | return eventsc.wxKeyEvent_m_rawCode_get(self) | |
504 | if name == "m_rawFlags" : | |
505 | return eventsc.wxKeyEvent_m_rawFlags_get(self) | |
c368d904 | 506 | raise AttributeError,name |
8ab979d7 | 507 | def __repr__(self): |
1d99702e | 508 | return "<C wxKeyEvent instance at %s>" % (self.this,) |
8ab979d7 | 509 | class wxKeyEvent(wxKeyEventPtr): |
48115f4a RD |
510 | def __init__(self,*_args,**_kwargs): |
511 | self.this = apply(eventsc.new_wxKeyEvent,_args,_kwargs) | |
512 | self.thisown = 1 | |
513 | ||
514 | ||
515 | ||
516 | ||
eec92d76 | 517 | class wxNavigationKeyEventPtr(wxEventPtr): |
8ab979d7 RD |
518 | def __init__(self,this): |
519 | self.this = this | |
48115f4a RD |
520 | self.thisown = 0 |
521 | def GetDirection(self, *_args, **_kwargs): | |
522 | val = apply(eventsc.wxNavigationKeyEvent_GetDirection,(self,) + _args, _kwargs) | |
523 | return val | |
524 | def SetDirection(self, *_args, **_kwargs): | |
525 | val = apply(eventsc.wxNavigationKeyEvent_SetDirection,(self,) + _args, _kwargs) | |
526 | return val | |
527 | def IsWindowChange(self, *_args, **_kwargs): | |
528 | val = apply(eventsc.wxNavigationKeyEvent_IsWindowChange,(self,) + _args, _kwargs) | |
529 | return val | |
530 | def SetWindowChange(self, *_args, **_kwargs): | |
531 | val = apply(eventsc.wxNavigationKeyEvent_SetWindowChange,(self,) + _args, _kwargs) | |
532 | return val | |
533 | def GetCurrentFocus(self, *_args, **_kwargs): | |
534 | val = apply(eventsc.wxNavigationKeyEvent_GetCurrentFocus,(self,) + _args, _kwargs) | |
48115f4a RD |
535 | return val |
536 | def SetCurrentFocus(self, *_args, **_kwargs): | |
537 | val = apply(eventsc.wxNavigationKeyEvent_SetCurrentFocus,(self,) + _args, _kwargs) | |
538 | return val | |
539 | def __repr__(self): | |
540 | return "<C wxNavigationKeyEvent instance at %s>" % (self.this,) | |
541 | class wxNavigationKeyEvent(wxNavigationKeyEventPtr): | |
542 | def __init__(self,*_args,**_kwargs): | |
543 | self.this = apply(eventsc.new_wxNavigationKeyEvent,_args,_kwargs) | |
544 | self.thisown = 1 | |
8ab979d7 RD |
545 | |
546 | ||
547 | ||
548 | ||
549 | class wxMoveEventPtr(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.wxMoveEvent_GetPosition,(self,) + _args, _kwargs) | |
555 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
8ab979d7 RD |
556 | return val |
557 | def __repr__(self): | |
1d99702e | 558 | return "<C wxMoveEvent instance at %s>" % (self.this,) |
8ab979d7 | 559 | class wxMoveEvent(wxMoveEventPtr): |
48115f4a RD |
560 | def __init__(self,*_args,**_kwargs): |
561 | self.this = apply(eventsc.new_wxMoveEvent,_args,_kwargs) | |
562 | self.thisown = 1 | |
8ab979d7 RD |
563 | |
564 | ||
565 | ||
566 | ||
567 | class wxPaintEventPtr(wxEventPtr): | |
568 | def __init__(self,this): | |
569 | self.this = this | |
570 | self.thisown = 0 | |
571 | def __repr__(self): | |
1d99702e | 572 | return "<C wxPaintEvent instance at %s>" % (self.this,) |
8ab979d7 | 573 | class wxPaintEvent(wxPaintEventPtr): |
48115f4a RD |
574 | def __init__(self,*_args,**_kwargs): |
575 | self.this = apply(eventsc.new_wxPaintEvent,_args,_kwargs) | |
576 | self.thisown = 1 | |
8ab979d7 RD |
577 | |
578 | ||
579 | ||
580 | ||
581 | class wxEraseEventPtr(wxEventPtr): | |
582 | def __init__(self,this): | |
583 | self.this = this | |
584 | self.thisown = 0 | |
1d99702e RD |
585 | def GetDC(self, *_args, **_kwargs): |
586 | val = apply(eventsc.wxEraseEvent_GetDC,(self,) + _args, _kwargs) | |
8ab979d7 RD |
587 | return val |
588 | def __repr__(self): | |
1d99702e | 589 | return "<C wxEraseEvent instance at %s>" % (self.this,) |
8ab979d7 | 590 | class wxEraseEvent(wxEraseEventPtr): |
48115f4a RD |
591 | def __init__(self,*_args,**_kwargs): |
592 | self.this = apply(eventsc.new_wxEraseEvent,_args,_kwargs) | |
593 | self.thisown = 1 | |
8ab979d7 RD |
594 | |
595 | ||
596 | ||
597 | ||
598 | class wxFocusEventPtr(wxEventPtr): | |
599 | def __init__(self,this): | |
600 | self.this = this | |
601 | self.thisown = 0 | |
602 | def __repr__(self): | |
1d99702e | 603 | return "<C wxFocusEvent instance at %s>" % (self.this,) |
8ab979d7 | 604 | class wxFocusEvent(wxFocusEventPtr): |
48115f4a RD |
605 | def __init__(self,*_args,**_kwargs): |
606 | self.this = apply(eventsc.new_wxFocusEvent,_args,_kwargs) | |
607 | self.thisown = 1 | |
8ab979d7 RD |
608 | |
609 | ||
610 | ||
611 | ||
3e212503 RD |
612 | class wxChildFocusEventPtr(wxCommandEventPtr): |
613 | def __init__(self,this): | |
614 | self.this = this | |
615 | self.thisown = 0 | |
616 | def GetWindow(self, *_args, **_kwargs): | |
617 | val = apply(eventsc.wxChildFocusEvent_GetWindow,(self,) + _args, _kwargs) | |
618 | return val | |
619 | def __repr__(self): | |
620 | return "<C wxChildFocusEvent instance at %s>" % (self.this,) | |
621 | class wxChildFocusEvent(wxChildFocusEventPtr): | |
622 | def __init__(self,*_args,**_kwargs): | |
623 | self.this = apply(eventsc.new_wxChildFocusEvent,_args,_kwargs) | |
624 | self.thisown = 1 | |
625 | ||
626 | ||
627 | ||
628 | ||
8ab979d7 RD |
629 | class wxActivateEventPtr(wxEventPtr): |
630 | def __init__(self,this): | |
631 | self.this = this | |
632 | self.thisown = 0 | |
1d99702e RD |
633 | def GetActive(self, *_args, **_kwargs): |
634 | val = apply(eventsc.wxActivateEvent_GetActive,(self,) + _args, _kwargs) | |
8ab979d7 RD |
635 | return val |
636 | def __repr__(self): | |
1d99702e | 637 | return "<C wxActivateEvent instance at %s>" % (self.this,) |
8ab979d7 | 638 | class wxActivateEvent(wxActivateEventPtr): |
48115f4a RD |
639 | def __init__(self,*_args,**_kwargs): |
640 | self.this = apply(eventsc.new_wxActivateEvent,_args,_kwargs) | |
641 | self.thisown = 1 | |
8ab979d7 RD |
642 | |
643 | ||
644 | ||
645 | ||
646 | class wxInitDialogEventPtr(wxEventPtr): | |
647 | def __init__(self,this): | |
648 | self.this = this | |
649 | self.thisown = 0 | |
650 | def __repr__(self): | |
1d99702e | 651 | return "<C wxInitDialogEvent instance at %s>" % (self.this,) |
8ab979d7 | 652 | class wxInitDialogEvent(wxInitDialogEventPtr): |
48115f4a RD |
653 | def __init__(self,*_args,**_kwargs): |
654 | self.this = apply(eventsc.new_wxInitDialogEvent,_args,_kwargs) | |
655 | self.thisown = 1 | |
8ab979d7 RD |
656 | |
657 | ||
658 | ||
659 | ||
660 | class wxMenuEventPtr(wxEventPtr): | |
661 | def __init__(self,this): | |
662 | self.this = this | |
663 | self.thisown = 0 | |
1d99702e RD |
664 | def GetMenuId(self, *_args, **_kwargs): |
665 | val = apply(eventsc.wxMenuEvent_GetMenuId,(self,) + _args, _kwargs) | |
8ab979d7 | 666 | return val |
4152e8b9 RD |
667 | def IsPopup(self, *_args, **_kwargs): |
668 | val = apply(eventsc.wxMenuEvent_IsPopup,(self,) + _args, _kwargs) | |
669 | return val | |
8ab979d7 | 670 | def __repr__(self): |
1d99702e | 671 | return "<C wxMenuEvent instance at %s>" % (self.this,) |
8ab979d7 | 672 | class wxMenuEvent(wxMenuEventPtr): |
48115f4a RD |
673 | def __init__(self,*_args,**_kwargs): |
674 | self.this = apply(eventsc.new_wxMenuEvent,_args,_kwargs) | |
675 | self.thisown = 1 | |
8ab979d7 RD |
676 | |
677 | ||
678 | ||
679 | ||
680 | class wxShowEventPtr(wxEventPtr): | |
681 | def __init__(self,this): | |
682 | self.this = this | |
683 | self.thisown = 0 | |
1d99702e RD |
684 | def SetShow(self, *_args, **_kwargs): |
685 | val = apply(eventsc.wxShowEvent_SetShow,(self,) + _args, _kwargs) | |
8ab979d7 | 686 | return val |
1d99702e RD |
687 | def GetShow(self, *_args, **_kwargs): |
688 | val = apply(eventsc.wxShowEvent_GetShow,(self,) + _args, _kwargs) | |
8ab979d7 RD |
689 | return val |
690 | def __repr__(self): | |
1d99702e | 691 | return "<C wxShowEvent instance at %s>" % (self.this,) |
8ab979d7 | 692 | class wxShowEvent(wxShowEventPtr): |
48115f4a RD |
693 | def __init__(self,*_args,**_kwargs): |
694 | self.this = apply(eventsc.new_wxShowEvent,_args,_kwargs) | |
695 | self.thisown = 1 | |
8ab979d7 RD |
696 | |
697 | ||
698 | ||
699 | ||
700 | class wxIconizeEventPtr(wxEventPtr): | |
701 | def __init__(self,this): | |
702 | self.this = this | |
703 | self.thisown = 0 | |
9d6da64a RD |
704 | def Iconized(self, *_args, **_kwargs): |
705 | val = apply(eventsc.wxIconizeEvent_Iconized,(self,) + _args, _kwargs) | |
706 | return val | |
8ab979d7 | 707 | def __repr__(self): |
1d99702e | 708 | return "<C wxIconizeEvent instance at %s>" % (self.this,) |
8ab979d7 | 709 | class wxIconizeEvent(wxIconizeEventPtr): |
48115f4a RD |
710 | def __init__(self,*_args,**_kwargs): |
711 | self.this = apply(eventsc.new_wxIconizeEvent,_args,_kwargs) | |
712 | self.thisown = 1 | |
8ab979d7 RD |
713 | |
714 | ||
715 | ||
716 | ||
717 | class wxMaximizeEventPtr(wxEventPtr): | |
718 | def __init__(self,this): | |
719 | self.this = this | |
720 | self.thisown = 0 | |
721 | def __repr__(self): | |
1d99702e | 722 | return "<C wxMaximizeEvent instance at %s>" % (self.this,) |
8ab979d7 | 723 | class wxMaximizeEvent(wxMaximizeEventPtr): |
48115f4a RD |
724 | def __init__(self,*_args,**_kwargs): |
725 | self.this = apply(eventsc.new_wxMaximizeEvent,_args,_kwargs) | |
726 | self.thisown = 1 | |
8ab979d7 RD |
727 | |
728 | ||
729 | ||
730 | ||
731 | class wxJoystickEventPtr(wxEventPtr): | |
732 | def __init__(self,this): | |
733 | self.this = this | |
734 | self.thisown = 0 | |
1d99702e RD |
735 | def GetPosition(self, *_args, **_kwargs): |
736 | val = apply(eventsc.wxJoystickEvent_GetPosition,(self,) + _args, _kwargs) | |
737 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
8ab979d7 | 738 | return val |
1d99702e RD |
739 | def GetZPosition(self, *_args, **_kwargs): |
740 | val = apply(eventsc.wxJoystickEvent_GetZPosition,(self,) + _args, _kwargs) | |
8ab979d7 | 741 | return val |
1d99702e RD |
742 | def GetButtonState(self, *_args, **_kwargs): |
743 | val = apply(eventsc.wxJoystickEvent_GetButtonState,(self,) + _args, _kwargs) | |
8ab979d7 | 744 | return val |
1d99702e RD |
745 | def GetButtonChange(self, *_args, **_kwargs): |
746 | val = apply(eventsc.wxJoystickEvent_GetButtonChange,(self,) + _args, _kwargs) | |
8ab979d7 | 747 | return val |
1d99702e RD |
748 | def GetJoystick(self, *_args, **_kwargs): |
749 | val = apply(eventsc.wxJoystickEvent_GetJoystick,(self,) + _args, _kwargs) | |
8ab979d7 | 750 | return val |
1d99702e RD |
751 | def SetJoystick(self, *_args, **_kwargs): |
752 | val = apply(eventsc.wxJoystickEvent_SetJoystick,(self,) + _args, _kwargs) | |
8ab979d7 | 753 | return val |
1d99702e RD |
754 | def SetButtonState(self, *_args, **_kwargs): |
755 | val = apply(eventsc.wxJoystickEvent_SetButtonState,(self,) + _args, _kwargs) | |
8ab979d7 | 756 | return val |
1d99702e RD |
757 | def SetButtonChange(self, *_args, **_kwargs): |
758 | val = apply(eventsc.wxJoystickEvent_SetButtonChange,(self,) + _args, _kwargs) | |
8ab979d7 | 759 | return val |
1d99702e RD |
760 | def SetPosition(self, *_args, **_kwargs): |
761 | val = apply(eventsc.wxJoystickEvent_SetPosition,(self,) + _args, _kwargs) | |
8ab979d7 | 762 | return val |
1d99702e RD |
763 | def SetZPosition(self, *_args, **_kwargs): |
764 | val = apply(eventsc.wxJoystickEvent_SetZPosition,(self,) + _args, _kwargs) | |
8ab979d7 | 765 | return val |
1d99702e RD |
766 | def IsButton(self, *_args, **_kwargs): |
767 | val = apply(eventsc.wxJoystickEvent_IsButton,(self,) + _args, _kwargs) | |
8ab979d7 | 768 | return val |
1d99702e RD |
769 | def IsMove(self, *_args, **_kwargs): |
770 | val = apply(eventsc.wxJoystickEvent_IsMove,(self,) + _args, _kwargs) | |
8ab979d7 | 771 | return val |
1d99702e RD |
772 | def IsZMove(self, *_args, **_kwargs): |
773 | val = apply(eventsc.wxJoystickEvent_IsZMove,(self,) + _args, _kwargs) | |
8ab979d7 | 774 | return val |
1d99702e RD |
775 | def ButtonDown(self, *_args, **_kwargs): |
776 | val = apply(eventsc.wxJoystickEvent_ButtonDown,(self,) + _args, _kwargs) | |
8ab979d7 | 777 | return val |
1d99702e RD |
778 | def ButtonUp(self, *_args, **_kwargs): |
779 | val = apply(eventsc.wxJoystickEvent_ButtonUp,(self,) + _args, _kwargs) | |
8ab979d7 | 780 | return val |
1d99702e RD |
781 | def ButtonIsDown(self, *_args, **_kwargs): |
782 | val = apply(eventsc.wxJoystickEvent_ButtonIsDown,(self,) + _args, _kwargs) | |
8ab979d7 RD |
783 | return val |
784 | def __repr__(self): | |
1d99702e | 785 | return "<C wxJoystickEvent instance at %s>" % (self.this,) |
8ab979d7 | 786 | class wxJoystickEvent(wxJoystickEventPtr): |
48115f4a RD |
787 | def __init__(self,*_args,**_kwargs): |
788 | self.this = apply(eventsc.new_wxJoystickEvent,_args,_kwargs) | |
789 | self.thisown = 1 | |
8ab979d7 RD |
790 | |
791 | ||
792 | ||
793 | ||
794 | class wxDropFilesEventPtr(wxEventPtr): | |
795 | def __init__(self,this): | |
796 | self.this = this | |
797 | self.thisown = 0 | |
1d99702e RD |
798 | def GetPosition(self, *_args, **_kwargs): |
799 | val = apply(eventsc.wxDropFilesEvent_GetPosition,(self,) + _args, _kwargs) | |
800 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
8ab979d7 | 801 | return val |
1d99702e RD |
802 | def GetNumberOfFiles(self, *_args, **_kwargs): |
803 | val = apply(eventsc.wxDropFilesEvent_GetNumberOfFiles,(self,) + _args, _kwargs) | |
8ab979d7 | 804 | return val |
1d99702e RD |
805 | def GetFiles(self, *_args, **_kwargs): |
806 | val = apply(eventsc.wxDropFilesEvent_GetFiles,(self,) + _args, _kwargs) | |
8ab979d7 RD |
807 | return val |
808 | def __repr__(self): | |
1d99702e | 809 | return "<C wxDropFilesEvent instance at %s>" % (self.this,) |
8ab979d7 RD |
810 | class wxDropFilesEvent(wxDropFilesEventPtr): |
811 | def __init__(self,this): | |
812 | self.this = this | |
813 | ||
814 | ||
815 | ||
816 | ||
817 | class wxIdleEventPtr(wxEventPtr): | |
818 | def __init__(self,this): | |
819 | self.this = this | |
820 | self.thisown = 0 | |
1d99702e RD |
821 | def RequestMore(self, *_args, **_kwargs): |
822 | val = apply(eventsc.wxIdleEvent_RequestMore,(self,) + _args, _kwargs) | |
8ab979d7 | 823 | return val |
1d99702e RD |
824 | def MoreRequested(self, *_args, **_kwargs): |
825 | val = apply(eventsc.wxIdleEvent_MoreRequested,(self,) + _args, _kwargs) | |
8ab979d7 RD |
826 | return val |
827 | def __repr__(self): | |
1d99702e | 828 | return "<C wxIdleEvent instance at %s>" % (self.this,) |
8ab979d7 | 829 | class wxIdleEvent(wxIdleEventPtr): |
48115f4a RD |
830 | def __init__(self,*_args,**_kwargs): |
831 | self.this = apply(eventsc.new_wxIdleEvent,_args,_kwargs) | |
832 | self.thisown = 1 | |
8ab979d7 RD |
833 | |
834 | ||
835 | ||
836 | ||
837 | class wxUpdateUIEventPtr(wxEventPtr): | |
838 | def __init__(self,this): | |
839 | self.this = this | |
840 | self.thisown = 0 | |
1d99702e RD |
841 | def GetChecked(self, *_args, **_kwargs): |
842 | val = apply(eventsc.wxUpdateUIEvent_GetChecked,(self,) + _args, _kwargs) | |
8ab979d7 | 843 | return val |
1d99702e RD |
844 | def GetEnabled(self, *_args, **_kwargs): |
845 | val = apply(eventsc.wxUpdateUIEvent_GetEnabled,(self,) + _args, _kwargs) | |
8ab979d7 | 846 | return val |
1d99702e RD |
847 | def GetText(self, *_args, **_kwargs): |
848 | val = apply(eventsc.wxUpdateUIEvent_GetText,(self,) + _args, _kwargs) | |
8ab979d7 | 849 | return val |
1d99702e RD |
850 | def GetSetText(self, *_args, **_kwargs): |
851 | val = apply(eventsc.wxUpdateUIEvent_GetSetText,(self,) + _args, _kwargs) | |
8ab979d7 | 852 | return val |
1d99702e RD |
853 | def GetSetChecked(self, *_args, **_kwargs): |
854 | val = apply(eventsc.wxUpdateUIEvent_GetSetChecked,(self,) + _args, _kwargs) | |
8ab979d7 | 855 | return val |
1d99702e RD |
856 | def GetSetEnabled(self, *_args, **_kwargs): |
857 | val = apply(eventsc.wxUpdateUIEvent_GetSetEnabled,(self,) + _args, _kwargs) | |
8ab979d7 | 858 | return val |
1d99702e RD |
859 | def Check(self, *_args, **_kwargs): |
860 | val = apply(eventsc.wxUpdateUIEvent_Check,(self,) + _args, _kwargs) | |
8ab979d7 | 861 | return val |
1d99702e RD |
862 | def Enable(self, *_args, **_kwargs): |
863 | val = apply(eventsc.wxUpdateUIEvent_Enable,(self,) + _args, _kwargs) | |
8ab979d7 | 864 | return val |
1d99702e RD |
865 | def SetText(self, *_args, **_kwargs): |
866 | val = apply(eventsc.wxUpdateUIEvent_SetText,(self,) + _args, _kwargs) | |
8ab979d7 RD |
867 | return val |
868 | def __repr__(self): | |
1d99702e | 869 | return "<C wxUpdateUIEvent instance at %s>" % (self.this,) |
8ab979d7 | 870 | class wxUpdateUIEvent(wxUpdateUIEventPtr): |
48115f4a RD |
871 | def __init__(self,*_args,**_kwargs): |
872 | self.this = apply(eventsc.new_wxUpdateUIEvent,_args,_kwargs) | |
873 | self.thisown = 1 | |
8ab979d7 RD |
874 | |
875 | ||
876 | ||
877 | ||
878 | class wxSysColourChangedEventPtr(wxEventPtr): | |
879 | def __init__(self,this): | |
880 | self.this = this | |
881 | self.thisown = 0 | |
882 | def __repr__(self): | |
1d99702e | 883 | return "<C wxSysColourChangedEvent instance at %s>" % (self.this,) |
8ab979d7 | 884 | class wxSysColourChangedEvent(wxSysColourChangedEventPtr): |
48115f4a RD |
885 | def __init__(self,*_args,**_kwargs): |
886 | self.this = apply(eventsc.new_wxSysColourChangedEvent,_args,_kwargs) | |
887 | self.thisown = 1 | |
8ab979d7 RD |
888 | |
889 | ||
890 | ||
891 | ||
2f90df85 RD |
892 | class wxNotifyEventPtr(wxCommandEventPtr): |
893 | def __init__(self,this): | |
894 | self.this = this | |
895 | self.thisown = 0 | |
896 | def IsAllowed(self, *_args, **_kwargs): | |
897 | val = apply(eventsc.wxNotifyEvent_IsAllowed,(self,) + _args, _kwargs) | |
898 | return val | |
2cd2fac8 RD |
899 | def Allow(self, *_args, **_kwargs): |
900 | val = apply(eventsc.wxNotifyEvent_Allow,(self,) + _args, _kwargs) | |
901 | return val | |
2f90df85 RD |
902 | def Veto(self, *_args, **_kwargs): |
903 | val = apply(eventsc.wxNotifyEvent_Veto,(self,) + _args, _kwargs) | |
904 | return val | |
905 | def __repr__(self): | |
906 | return "<C wxNotifyEvent instance at %s>" % (self.this,) | |
907 | class wxNotifyEvent(wxNotifyEventPtr): | |
48115f4a RD |
908 | def __init__(self,*_args,**_kwargs): |
909 | self.this = apply(eventsc.new_wxNotifyEvent,_args,_kwargs) | |
910 | self.thisown = 1 | |
911 | ||
912 | ||
913 | ||
914 | ||
ef2060fa RD |
915 | class wxDisplayChangedEventPtr(wxEventPtr): |
916 | def __init__(self,this): | |
917 | self.this = this | |
918 | self.thisown = 0 | |
919 | def __repr__(self): | |
920 | return "<C wxDisplayChangedEvent instance at %s>" % (self.this,) | |
921 | class wxDisplayChangedEvent(wxDisplayChangedEventPtr): | |
922 | def __init__(self,*_args,**_kwargs): | |
923 | self.this = apply(eventsc.new_wxDisplayChangedEvent,_args,_kwargs) | |
924 | self.thisown = 1 | |
925 | ||
926 | ||
927 | ||
928 | ||
48115f4a | 929 | class wxPaletteChangedEventPtr(wxEventPtr): |
2f90df85 RD |
930 | def __init__(self,this): |
931 | self.this = this | |
48115f4a RD |
932 | self.thisown = 0 |
933 | def SetChangedWindow(self, *_args, **_kwargs): | |
934 | val = apply(eventsc.wxPaletteChangedEvent_SetChangedWindow,(self,) + _args, _kwargs) | |
935 | return val | |
936 | def GetChangedWindow(self, *_args, **_kwargs): | |
937 | val = apply(eventsc.wxPaletteChangedEvent_GetChangedWindow,(self,) + _args, _kwargs) | |
48115f4a RD |
938 | return val |
939 | def __repr__(self): | |
940 | return "<C wxPaletteChangedEvent instance at %s>" % (self.this,) | |
941 | class wxPaletteChangedEvent(wxPaletteChangedEventPtr): | |
942 | def __init__(self,*_args,**_kwargs): | |
943 | self.this = apply(eventsc.new_wxPaletteChangedEvent,_args,_kwargs) | |
944 | self.thisown = 1 | |
945 | ||
946 | ||
947 | ||
948 | ||
949 | class wxQueryNewPaletteEventPtr(wxEventPtr): | |
950 | def __init__(self,this): | |
951 | self.this = this | |
952 | self.thisown = 0 | |
953 | def SetPaletteRealized(self, *_args, **_kwargs): | |
954 | val = apply(eventsc.wxQueryNewPaletteEvent_SetPaletteRealized,(self,) + _args, _kwargs) | |
955 | return val | |
956 | def GetPaletteRealized(self, *_args, **_kwargs): | |
957 | val = apply(eventsc.wxQueryNewPaletteEvent_GetPaletteRealized,(self,) + _args, _kwargs) | |
958 | return val | |
959 | def __repr__(self): | |
960 | return "<C wxQueryNewPaletteEvent instance at %s>" % (self.this,) | |
961 | class wxQueryNewPaletteEvent(wxQueryNewPaletteEventPtr): | |
962 | def __init__(self,*_args,**_kwargs): | |
963 | self.this = apply(eventsc.new_wxQueryNewPaletteEvent,_args,_kwargs) | |
964 | self.thisown = 1 | |
965 | ||
966 | ||
967 | ||
968 | ||
f6bcfd97 | 969 | class wxWindowCreateEventPtr(wxCommandEventPtr): |
48115f4a RD |
970 | def __init__(self,this): |
971 | self.this = this | |
972 | self.thisown = 0 | |
973 | def GetWindow(self, *_args, **_kwargs): | |
974 | val = apply(eventsc.wxWindowCreateEvent_GetWindow,(self,) + _args, _kwargs) | |
48115f4a RD |
975 | return val |
976 | def __repr__(self): | |
977 | return "<C wxWindowCreateEvent instance at %s>" % (self.this,) | |
978 | class wxWindowCreateEvent(wxWindowCreateEventPtr): | |
979 | def __init__(self,*_args,**_kwargs): | |
980 | self.this = apply(eventsc.new_wxWindowCreateEvent,_args,_kwargs) | |
981 | self.thisown = 1 | |
982 | ||
983 | ||
984 | ||
985 | ||
f6bcfd97 | 986 | class wxWindowDestroyEventPtr(wxCommandEventPtr): |
48115f4a RD |
987 | def __init__(self,this): |
988 | self.this = this | |
989 | self.thisown = 0 | |
990 | def GetWindow(self, *_args, **_kwargs): | |
991 | val = apply(eventsc.wxWindowDestroyEvent_GetWindow,(self,) + _args, _kwargs) | |
48115f4a RD |
992 | return val |
993 | def __repr__(self): | |
994 | return "<C wxWindowDestroyEvent instance at %s>" % (self.this,) | |
995 | class wxWindowDestroyEvent(wxWindowDestroyEventPtr): | |
996 | def __init__(self,*_args,**_kwargs): | |
997 | self.this = apply(eventsc.new_wxWindowDestroyEvent,_args,_kwargs) | |
998 | self.thisown = 1 | |
2f90df85 RD |
999 | |
1000 | ||
1001 | ||
1002 | ||
f6bcfd97 BP |
1003 | class wxTimerEventPtr(wxEventPtr): |
1004 | def __init__(self,this): | |
1005 | self.this = this | |
1006 | self.thisown = 0 | |
1007 | def GetInterval(self, *_args, **_kwargs): | |
1008 | val = apply(eventsc.wxTimerEvent_GetInterval,(self,) + _args, _kwargs) | |
1009 | return val | |
1010 | def __repr__(self): | |
1011 | return "<C wxTimerEvent instance at %s>" % (self.this,) | |
1012 | class wxTimerEvent(wxTimerEventPtr): | |
1013 | def __init__(self,*_args,**_kwargs): | |
1014 | self.this = apply(eventsc.new_wxTimerEvent,_args,_kwargs) | |
1015 | self.thisown = 1 | |
1016 | ||
1017 | ||
1018 | ||
1019 | ||
cd096152 RD |
1020 | class wxTextUrlEventPtr(wxCommandEventPtr): |
1021 | def __init__(self,this): | |
1022 | self.this = this | |
1023 | self.thisown = 0 | |
1024 | def GetMouseEvent(self, *_args, **_kwargs): | |
1025 | val = apply(eventsc.wxTextUrlEvent_GetMouseEvent,(self,) + _args, _kwargs) | |
1026 | return val | |
1027 | def GetURLStart(self, *_args, **_kwargs): | |
1028 | val = apply(eventsc.wxTextUrlEvent_GetURLStart,(self,) + _args, _kwargs) | |
1029 | return val | |
1030 | def GetURLEnd(self, *_args, **_kwargs): | |
1031 | val = apply(eventsc.wxTextUrlEvent_GetURLEnd,(self,) + _args, _kwargs) | |
1032 | return val | |
1033 | def __repr__(self): | |
1034 | return "<C wxTextUrlEvent instance at %s>" % (self.this,) | |
1035 | class wxTextUrlEvent(wxTextUrlEventPtr): | |
1036 | def __init__(self,*_args,**_kwargs): | |
1037 | self.this = apply(eventsc.new_wxTextUrlEvent,_args,_kwargs) | |
1038 | self.thisown = 1 | |
1039 | ||
1040 | ||
1041 | ||
1042 | ||
2f90df85 | 1043 | class wxPyEventPtr(wxEventPtr): |
cf694132 RD |
1044 | def __init__(self,this): |
1045 | self.this = this | |
1046 | self.thisown = 0 | |
1d99702e | 1047 | def __del__(self,eventsc=eventsc): |
cf694132 | 1048 | if self.thisown == 1 : |
1d99702e | 1049 | eventsc.delete_wxPyEvent(self) |
65dd82cb RD |
1050 | def SetSelf(self, *_args, **_kwargs): |
1051 | val = apply(eventsc.wxPyEvent_SetSelf,(self,) + _args, _kwargs) | |
cf694132 | 1052 | return val |
65dd82cb RD |
1053 | def GetSelf(self, *_args, **_kwargs): |
1054 | val = apply(eventsc.wxPyEvent_GetSelf,(self,) + _args, _kwargs) | |
cf694132 RD |
1055 | return val |
1056 | def __repr__(self): | |
1d99702e | 1057 | return "<C wxPyEvent instance at %s>" % (self.this,) |
cf694132 | 1058 | class wxPyEvent(wxPyEventPtr): |
1d99702e RD |
1059 | def __init__(self,*_args,**_kwargs): |
1060 | self.this = apply(eventsc.new_wxPyEvent,_args,_kwargs) | |
cf694132 | 1061 | self.thisown = 1 |
65dd82cb | 1062 | self.SetSelf(self) |
cf694132 RD |
1063 | |
1064 | ||
1065 | ||
1066 | ||
2f90df85 | 1067 | class wxPyCommandEventPtr(wxCommandEventPtr): |
bb0054cd RD |
1068 | def __init__(self,this): |
1069 | self.this = this | |
1070 | self.thisown = 0 | |
2f90df85 RD |
1071 | def __del__(self,eventsc=eventsc): |
1072 | if self.thisown == 1 : | |
1073 | eventsc.delete_wxPyCommandEvent(self) | |
65dd82cb RD |
1074 | def SetSelf(self, *_args, **_kwargs): |
1075 | val = apply(eventsc.wxPyCommandEvent_SetSelf,(self,) + _args, _kwargs) | |
bb0054cd | 1076 | return val |
65dd82cb RD |
1077 | def GetSelf(self, *_args, **_kwargs): |
1078 | val = apply(eventsc.wxPyCommandEvent_GetSelf,(self,) + _args, _kwargs) | |
bb0054cd RD |
1079 | return val |
1080 | def __repr__(self): | |
2f90df85 RD |
1081 | return "<C wxPyCommandEvent instance at %s>" % (self.this,) |
1082 | class wxPyCommandEvent(wxPyCommandEventPtr): | |
1083 | def __init__(self,*_args,**_kwargs): | |
1084 | self.this = apply(eventsc.new_wxPyCommandEvent,_args,_kwargs) | |
1085 | self.thisown = 1 | |
65dd82cb | 1086 | self.SetSelf(self) |
bb0054cd RD |
1087 | |
1088 | ||
1089 | ||
1090 | ||
8ab979d7 RD |
1091 | |
1092 | ||
1093 | #-------------- FUNCTION WRAPPERS ------------------ | |
1094 | ||
5e40f9dd RD |
1095 | wxNewEventType = eventsc.wxNewEventType |
1096 | ||
8ab979d7 RD |
1097 | |
1098 | ||
1099 | #-------------- VARIABLE WRAPPERS ------------------ | |
1100 |