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