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