]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/clip_dnd.py
Oops, forgot to remove the #includ
[wxWidgets.git] / wxPython / src / mac / clip_dnd.py
CommitLineData
e6056257
RD
1# This file was created automatically by SWIG.
2import clip_dndc
3
d18c7c6d
RD
4from misc import *
5
6from gdi import *
7
8from fonts import *
9import wx
10class wxDataFormatPtr :
11 def __init__(self,this):
12 self.this = this
13 self.thisown = 0
7108497a
RD
14 def __del__(self, delfunc=clip_dndc.delete_wxDataFormat):
15 if self.thisown == 1:
16 try:
17 delfunc(self)
18 except:
19 pass
d18c7c6d 20 def SetType(self, *_args, **_kwargs):
d84a9306 21 val = clip_dndc.wxDataFormat_SetType(self, *_args, **_kwargs)
d18c7c6d
RD
22 return val
23 def GetType(self, *_args, **_kwargs):
d84a9306 24 val = clip_dndc.wxDataFormat_GetType(self, *_args, **_kwargs)
d18c7c6d
RD
25 return val
26 def GetId(self, *_args, **_kwargs):
d84a9306 27 val = clip_dndc.wxDataFormat_GetId(self, *_args, **_kwargs)
d18c7c6d
RD
28 return val
29 def SetId(self, *_args, **_kwargs):
d84a9306 30 val = clip_dndc.wxDataFormat_SetId(self, *_args, **_kwargs)
d18c7c6d
RD
31 return val
32 def __repr__(self):
d84a9306 33 return "<%s.%s instance; proxy of C++ wxDataFormat instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
d18c7c6d
RD
34class wxDataFormat(wxDataFormatPtr):
35 def __init__(self,*_args,**_kwargs):
d84a9306 36 self.this = clip_dndc.new_wxDataFormat(*_args,**_kwargs)
d18c7c6d
RD
37 self.thisown = 1
38
39
40
41
42class wxDataObjectPtr :
43 Get = clip_dndc.wxDataObject_Get
44 Set = clip_dndc.wxDataObject_Set
45 Both = clip_dndc.wxDataObject_Both
46 def __init__(self,this):
47 self.this = this
48 self.thisown = 0
7108497a
RD
49 def __del__(self, delfunc=clip_dndc.delete_wxDataObject):
50 if self.thisown == 1:
51 try:
52 delfunc(self)
53 except:
54 pass
d18c7c6d 55 def GetPreferredFormat(self, *_args, **_kwargs):
d84a9306 56 val = clip_dndc.wxDataObject_GetPreferredFormat(self, *_args, **_kwargs)
d18c7c6d
RD
57 if val: val = wxDataFormatPtr(val) ; val.thisown = 1
58 return val
59 def GetFormatCount(self, *_args, **_kwargs):
d84a9306 60 val = clip_dndc.wxDataObject_GetFormatCount(self, *_args, **_kwargs)
d18c7c6d
RD
61 return val
62 def GetAllFormats(self, *_args, **_kwargs):
d84a9306 63 val = clip_dndc.wxDataObject_GetAllFormats(self, *_args, **_kwargs)
d18c7c6d 64 return val
d18c7c6d 65 def GetDataHere(self, *_args, **_kwargs):
d84a9306 66 val = clip_dndc.wxDataObject_GetDataHere(self, *_args, **_kwargs)
d18c7c6d 67 return val
7108497a 68 def GetDataSize(self, *_args, **_kwargs):
d84a9306 69 val = clip_dndc.wxDataObject_GetDataSize(self, *_args, **_kwargs)
7108497a 70 return val
d18c7c6d 71 def SetData(self, *_args, **_kwargs):
d84a9306 72 val = clip_dndc.wxDataObject_SetData(self, *_args, **_kwargs)
d18c7c6d
RD
73 return val
74 def IsSupportedFormat(self, *_args, **_kwargs):
d84a9306 75 val = clip_dndc.wxDataObject_IsSupportedFormat(self, *_args, **_kwargs)
d18c7c6d
RD
76 return val
77 def __repr__(self):
d84a9306 78 return "<%s.%s instance; proxy of C++ wxDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
d18c7c6d
RD
79class wxDataObject(wxDataObjectPtr):
80 def __init__(self,this):
81 self.this = this
82
83
84
85
86class wxDataObjectSimplePtr(wxDataObjectPtr):
87 def __init__(self,this):
88 self.this = this
89 self.thisown = 0
90 def GetFormat(self, *_args, **_kwargs):
d84a9306 91 val = clip_dndc.wxDataObjectSimple_GetFormat(self, *_args, **_kwargs)
d18c7c6d
RD
92 if val: val = wxDataFormatPtr(val)
93 return val
94 def SetFormat(self, *_args, **_kwargs):
d84a9306 95 val = clip_dndc.wxDataObjectSimple_SetFormat(self, *_args, **_kwargs)
d18c7c6d
RD
96 return val
97 def __repr__(self):
d84a9306 98 return "<%s.%s instance; proxy of C++ wxDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
d18c7c6d
RD
99class wxDataObjectSimple(wxDataObjectSimplePtr):
100 def __init__(self,*_args,**_kwargs):
d84a9306 101 self.this = clip_dndc.new_wxDataObjectSimple(*_args,**_kwargs)
d18c7c6d
RD
102 self.thisown = 1
103
104
105
106
107class wxPyDataObjectSimplePtr(wxDataObjectSimplePtr):
108 def __init__(self,this):
109 self.this = this
110 self.thisown = 0
111 def _setCallbackInfo(self, *_args, **_kwargs):
d84a9306 112 val = clip_dndc.wxPyDataObjectSimple__setCallbackInfo(self, *_args, **_kwargs)
d18c7c6d
RD
113 return val
114 def __repr__(self):
d84a9306 115 return "<%s.%s instance; proxy of C++ wxPyDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
d18c7c6d
RD
116class wxPyDataObjectSimple(wxPyDataObjectSimplePtr):
117 def __init__(self,*_args,**_kwargs):
d84a9306 118 self.this = clip_dndc.new_wxPyDataObjectSimple(*_args,**_kwargs)
d18c7c6d
RD
119 self.thisown = 1
120 self._setCallbackInfo(self, wxPyDataObjectSimple)
121
122
123
124
125class wxDataObjectCompositePtr(wxDataObjectPtr):
126 def __init__(self,this):
127 self.this = this
128 self.thisown = 0
129 def Add(self, *_args, **_kwargs):
d84a9306 130 val = clip_dndc.wxDataObjectComposite_Add(self, *_args, **_kwargs)
d18c7c6d
RD
131 _args[0].thisown = 0
132 return val
133 def __repr__(self):
d84a9306 134 return "<%s.%s instance; proxy of C++ wxDataObjectComposite instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
d18c7c6d
RD
135class wxDataObjectComposite(wxDataObjectCompositePtr):
136 def __init__(self,*_args,**_kwargs):
d84a9306 137 self.this = clip_dndc.new_wxDataObjectComposite(*_args,**_kwargs)
d18c7c6d
RD
138 self.thisown = 1
139
140
141
142
143class wxTextDataObjectPtr(wxDataObjectSimplePtr):
144 def __init__(self,this):
145 self.this = this
146 self.thisown = 0
147 def GetTextLength(self, *_args, **_kwargs):
d84a9306 148 val = clip_dndc.wxTextDataObject_GetTextLength(self, *_args, **_kwargs)
d18c7c6d
RD
149 return val
150 def GetText(self, *_args, **_kwargs):
d84a9306 151 val = clip_dndc.wxTextDataObject_GetText(self, *_args, **_kwargs)
d18c7c6d
RD
152 return val
153 def SetText(self, *_args, **_kwargs):
d84a9306 154 val = clip_dndc.wxTextDataObject_SetText(self, *_args, **_kwargs)
d18c7c6d
RD
155 return val
156 def __repr__(self):
d84a9306 157 return "<%s.%s instance; proxy of C++ wxTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
d18c7c6d
RD
158class wxTextDataObject(wxTextDataObjectPtr):
159 def __init__(self,*_args,**_kwargs):
d84a9306 160 self.this = clip_dndc.new_wxTextDataObject(*_args,**_kwargs)
d18c7c6d
RD
161 self.thisown = 1
162
163
164
165
166class wxPyTextDataObjectPtr(wxTextDataObjectPtr):
167 def __init__(self,this):
168 self.this = this
169 self.thisown = 0
170 def _setCallbackInfo(self, *_args, **_kwargs):
d84a9306 171 val = clip_dndc.wxPyTextDataObject__setCallbackInfo(self, *_args, **_kwargs)
d18c7c6d
RD
172 return val
173 def __repr__(self):
d84a9306 174 return "<%s.%s instance; proxy of C++ wxPyTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
d18c7c6d
RD
175class wxPyTextDataObject(wxPyTextDataObjectPtr):
176 def __init__(self,*_args,**_kwargs):
d84a9306 177 self.this = clip_dndc.new_wxPyTextDataObject(*_args,**_kwargs)
d18c7c6d
RD
178 self.thisown = 1
179 self._setCallbackInfo(self, wxPyTextDataObject)
180
181
182
183
184class wxBitmapDataObjectPtr(wxDataObjectSimplePtr):
185 def __init__(self,this):
186 self.this = this
187 self.thisown = 0
188 def GetBitmap(self, *_args, **_kwargs):
d84a9306 189 val = clip_dndc.wxBitmapDataObject_GetBitmap(self, *_args, **_kwargs)
d18c7c6d
RD
190 if val: val = wxBitmapPtr(val) ; val.thisown = 1
191 return val
192 def SetBitmap(self, *_args, **_kwargs):
d84a9306 193 val = clip_dndc.wxBitmapDataObject_SetBitmap(self, *_args, **_kwargs)
d18c7c6d
RD
194 return val
195 def __repr__(self):
d84a9306 196 return "<%s.%s instance; proxy of C++ wxBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
d18c7c6d
RD
197class wxBitmapDataObject(wxBitmapDataObjectPtr):
198 def __init__(self,*_args,**_kwargs):
d84a9306 199 self.this = clip_dndc.new_wxBitmapDataObject(*_args,**_kwargs)
d18c7c6d
RD
200 self.thisown = 1
201
202
203
204
205class wxPyBitmapDataObjectPtr(wxBitmapDataObjectPtr):
206 def __init__(self,this):
207 self.this = this
208 self.thisown = 0
209 def _setCallbackInfo(self, *_args, **_kwargs):
d84a9306 210 val = clip_dndc.wxPyBitmapDataObject__setCallbackInfo(self, *_args, **_kwargs)
d18c7c6d
RD
211 return val
212 def __repr__(self):
d84a9306 213 return "<%s.%s instance; proxy of C++ wxPyBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
d18c7c6d
RD
214class wxPyBitmapDataObject(wxPyBitmapDataObjectPtr):
215 def __init__(self,*_args,**_kwargs):
d84a9306 216 self.this = clip_dndc.new_wxPyBitmapDataObject(*_args,**_kwargs)
d18c7c6d
RD
217 self.thisown = 1
218 self._setCallbackInfo(self, wxPyBitmapDataObject)
219
220
221
222
223class wxFileDataObjectPtr(wxDataObjectSimplePtr):
224 def __init__(self,this):
225 self.this = this
226 self.thisown = 0
227 def GetFilenames(self, *_args, **_kwargs):
d84a9306 228 val = clip_dndc.wxFileDataObject_GetFilenames(self, *_args, **_kwargs)
d18c7c6d
RD
229 return val
230 def __repr__(self):
d84a9306 231 return "<%s.%s instance; proxy of C++ wxFileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
d18c7c6d
RD
232class wxFileDataObject(wxFileDataObjectPtr):
233 def __init__(self,*_args,**_kwargs):
d84a9306 234 self.this = clip_dndc.new_wxFileDataObject(*_args,**_kwargs)
d18c7c6d
RD
235 self.thisown = 1
236
237
238
239
240class wxCustomDataObjectPtr(wxDataObjectSimplePtr):
241 def __init__(self,this):
242 self.this = this
243 self.thisown = 0
244 def TakeData(self, *_args, **_kwargs):
d84a9306 245 val = clip_dndc.wxCustomDataObject_TakeData(self, *_args, **_kwargs)
d18c7c6d
RD
246 return val
247 def SetData(self, *_args, **_kwargs):
d84a9306 248 val = clip_dndc.wxCustomDataObject_SetData(self, *_args, **_kwargs)
d18c7c6d
RD
249 return val
250 def GetSize(self, *_args, **_kwargs):
d84a9306 251 val = clip_dndc.wxCustomDataObject_GetSize(self, *_args, **_kwargs)
d18c7c6d
RD
252 return val
253 def GetData(self, *_args, **_kwargs):
d84a9306 254 val = clip_dndc.wxCustomDataObject_GetData(self, *_args, **_kwargs)
d18c7c6d
RD
255 return val
256 def __repr__(self):
d84a9306 257 return "<%s.%s instance; proxy of C++ wxCustomDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
d18c7c6d
RD
258class wxCustomDataObject(wxCustomDataObjectPtr):
259 def __init__(self,*_args,**_kwargs):
d84a9306 260 self.this = clip_dndc.new_wxCustomDataObject(*_args,**_kwargs)
d18c7c6d
RD
261 self.thisown = 1
262
263
264
265
266class wxURLDataObjectPtr(wxDataObjectCompositePtr):
267 def __init__(self,this):
268 self.this = this
269 self.thisown = 0
270 def GetURL(self, *_args, **_kwargs):
d84a9306 271 val = clip_dndc.wxURLDataObject_GetURL(self, *_args, **_kwargs)
d18c7c6d
RD
272 return val
273 def SetURL(self, *_args, **_kwargs):
d84a9306 274 val = clip_dndc.wxURLDataObject_SetURL(self, *_args, **_kwargs)
d18c7c6d
RD
275 return val
276 def __repr__(self):
d84a9306 277 return "<%s.%s instance; proxy of C++ wxURLDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
d18c7c6d
RD
278class wxURLDataObject(wxURLDataObjectPtr):
279 def __init__(self,*_args,**_kwargs):
d84a9306 280 self.this = clip_dndc.new_wxURLDataObject(*_args,**_kwargs)
d18c7c6d
RD
281 self.thisown = 1
282
283
284
285
286class wxMetafileDataObjectPtr(wxDataObjectSimplePtr):
287 def __init__(self,this):
288 self.this = this
289 self.thisown = 0
290 def SetMetafile(self, *_args, **_kwargs):
d84a9306 291 val = clip_dndc.wxMetafileDataObject_SetMetafile(self, *_args, **_kwargs)
d18c7c6d
RD
292 return val
293 def GetMetafile(self, *_args, **_kwargs):
d84a9306 294 val = clip_dndc.wxMetafileDataObject_GetMetafile(self, *_args, **_kwargs)
d18c7c6d
RD
295 return val
296 def __repr__(self):
d84a9306 297 return "<%s.%s instance; proxy of C++ wxMetafileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
d18c7c6d
RD
298class wxMetafileDataObject(wxMetafileDataObjectPtr):
299 def __init__(self,*_args,**_kwargs):
d84a9306 300 self.this = clip_dndc.new_wxMetafileDataObject(*_args,**_kwargs)
d18c7c6d
RD
301 self.thisown = 1
302
303
304
305
306class wxClipboardPtr(wxObjectPtr):
307 def __init__(self,this):
308 self.this = this
309 self.thisown = 0
310 def Open(self, *_args, **_kwargs):
d84a9306 311 val = clip_dndc.wxClipboard_Open(self, *_args, **_kwargs)
d18c7c6d
RD
312 return val
313 def Close(self, *_args, **_kwargs):
d84a9306 314 val = clip_dndc.wxClipboard_Close(self, *_args, **_kwargs)
d18c7c6d
RD
315 return val
316 def IsOpened(self, *_args, **_kwargs):
d84a9306 317 val = clip_dndc.wxClipboard_IsOpened(self, *_args, **_kwargs)
d18c7c6d
RD
318 return val
319 def AddData(self, *_args, **_kwargs):
d84a9306 320 val = clip_dndc.wxClipboard_AddData(self, *_args, **_kwargs)
d18c7c6d
RD
321 _args[0].thisown = 0
322 return val
323 def SetData(self, *_args, **_kwargs):
d84a9306 324 val = clip_dndc.wxClipboard_SetData(self, *_args, **_kwargs)
d18c7c6d
RD
325 _args[0].thisown = 0
326 return val
327 def IsSupported(self, *_args, **_kwargs):
d84a9306 328 val = clip_dndc.wxClipboard_IsSupported(self, *_args, **_kwargs)
d18c7c6d
RD
329 return val
330 def GetData(self, *_args, **_kwargs):
d84a9306 331 val = clip_dndc.wxClipboard_GetData(self, *_args, **_kwargs)
d18c7c6d
RD
332 return val
333 def Clear(self, *_args, **_kwargs):
d84a9306 334 val = clip_dndc.wxClipboard_Clear(self, *_args, **_kwargs)
d18c7c6d
RD
335 return val
336 def Flush(self, *_args, **_kwargs):
d84a9306 337 val = clip_dndc.wxClipboard_Flush(self, *_args, **_kwargs)
d18c7c6d
RD
338 return val
339 def UsePrimarySelection(self, *_args, **_kwargs):
d84a9306 340 val = clip_dndc.wxClipboard_UsePrimarySelection(self, *_args, **_kwargs)
d18c7c6d
RD
341 return val
342 def __repr__(self):
d84a9306 343 return "<%s.%s instance; proxy of C++ wxClipboard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
d18c7c6d
RD
344class wxClipboard(wxClipboardPtr):
345 def __init__(self,*_args,**_kwargs):
d84a9306 346 self.this = clip_dndc.new_wxClipboard(*_args,**_kwargs)
d18c7c6d
RD
347 self.thisown = 1
348
349
350
351
352class wxDropSourcePtr :
353 def __init__(self,this):
354 self.this = this
355 self.thisown = 0
356 def _setCallbackInfo(self, *_args, **_kwargs):
d84a9306 357 val = clip_dndc.wxDropSource__setCallbackInfo(self, *_args, **_kwargs)
d18c7c6d 358 return val
7108497a
RD
359 def __del__(self, delfunc=clip_dndc.delete_wxDropSource):
360 if self.thisown == 1:
361 try:
362 delfunc(self)
363 except:
364 pass
d18c7c6d 365 def SetData(self, *_args, **_kwargs):
d84a9306 366 val = clip_dndc.wxDropSource_SetData(self, *_args, **_kwargs)
d18c7c6d
RD
367 return val
368 def GetDataObject(self, *_args, **_kwargs):
d84a9306 369 val = clip_dndc.wxDropSource_GetDataObject(self, *_args, **_kwargs)
d18c7c6d
RD
370 if val: val = wxDataObjectPtr(val)
371 return val
372 def SetCursor(self, *_args, **_kwargs):
d84a9306 373 val = clip_dndc.wxDropSource_SetCursor(self, *_args, **_kwargs)
d18c7c6d
RD
374 return val
375 def DoDragDrop(self, *_args, **_kwargs):
d84a9306 376 val = clip_dndc.wxDropSource_DoDragDrop(self, *_args, **_kwargs)
d18c7c6d
RD
377 return val
378 def base_GiveFeedback(self, *_args, **_kwargs):
d84a9306 379 val = clip_dndc.wxDropSource_base_GiveFeedback(self, *_args, **_kwargs)
d18c7c6d
RD
380 return val
381 def __repr__(self):
d84a9306 382 return "<%s.%s instance; proxy of C++ wxDropSource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
d18c7c6d
RD
383class wxDropSource(wxDropSourcePtr):
384 def __init__(self,*_args,**_kwargs):
d84a9306 385 self.this = clip_dndc.new_wxDropSource(*_args,**_kwargs)
d18c7c6d
RD
386 self.thisown = 1
387 self._setCallbackInfo(self, wxDropSource, 0)
388
389
390
391
392class wxDropTargetPtr :
393 def __init__(self,this):
394 self.this = this
395 self.thisown = 0
396 def __repr__(self):
d84a9306 397 return "<%s.%s instance; proxy of C++ wxDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
d18c7c6d
RD
398class wxDropTarget(wxDropTargetPtr):
399 def __init__(self,this):
400 self.this = this
401
402
403
404
405class wxPyDropTargetPtr(wxDropTargetPtr):
406 def __init__(self,this):
407 self.this = this
408 self.thisown = 0
409 def _setCallbackInfo(self, *_args, **_kwargs):
d84a9306 410 val = clip_dndc.wxPyDropTarget__setCallbackInfo(self, *_args, **_kwargs)
d18c7c6d 411 return val
7108497a
RD
412 def __del__(self, delfunc=clip_dndc.delete_wxPyDropTarget):
413 if self.thisown == 1:
414 try:
415 delfunc(self)
416 except:
417 pass
d18c7c6d 418 def GetDataObject(self, *_args, **_kwargs):
d84a9306 419 val = clip_dndc.wxPyDropTarget_GetDataObject(self, *_args, **_kwargs)
d18c7c6d
RD
420 if val: val = wxDataObjectPtr(val)
421 return val
422 def SetDataObject(self, *_args, **_kwargs):
d84a9306 423 val = clip_dndc.wxPyDropTarget_SetDataObject(self, *_args, **_kwargs)
d18c7c6d
RD
424 if _args:_args[0].thisown = 0
425 return val
426 def base_OnEnter(self, *_args, **_kwargs):
d84a9306 427 val = clip_dndc.wxPyDropTarget_base_OnEnter(self, *_args, **_kwargs)
d18c7c6d
RD
428 return val
429 def base_OnDragOver(self, *_args, **_kwargs):
d84a9306 430 val = clip_dndc.wxPyDropTarget_base_OnDragOver(self, *_args, **_kwargs)
d18c7c6d
RD
431 return val
432 def base_OnLeave(self, *_args, **_kwargs):
d84a9306 433 val = clip_dndc.wxPyDropTarget_base_OnLeave(self, *_args, **_kwargs)
d18c7c6d
RD
434 return val
435 def base_OnDrop(self, *_args, **_kwargs):
d84a9306 436 val = clip_dndc.wxPyDropTarget_base_OnDrop(self, *_args, **_kwargs)
d18c7c6d
RD
437 return val
438 def GetData(self, *_args, **_kwargs):
d84a9306 439 val = clip_dndc.wxPyDropTarget_GetData(self, *_args, **_kwargs)
d18c7c6d
RD
440 return val
441 def __repr__(self):
d84a9306 442 return "<%s.%s instance; proxy of C++ wxPyDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
d18c7c6d
RD
443class wxPyDropTarget(wxPyDropTargetPtr):
444 def __init__(self,*_args,**_kwargs):
d84a9306 445 self.this = clip_dndc.new_wxPyDropTarget(*_args,**_kwargs)
d18c7c6d
RD
446 self.thisown = 1
447 if _args:_args[0].thisown = 0
448 self._setCallbackInfo(self, wxPyDropTarget)
449
450
451
452
453class wxTextDropTargetPtr(wxPyDropTargetPtr):
454 def __init__(self,this):
455 self.this = this
456 self.thisown = 0
457 def _setCallbackInfo(self, *_args, **_kwargs):
d84a9306 458 val = clip_dndc.wxTextDropTarget__setCallbackInfo(self, *_args, **_kwargs)
d18c7c6d
RD
459 return val
460 def base_OnEnter(self, *_args, **_kwargs):
d84a9306 461 val = clip_dndc.wxTextDropTarget_base_OnEnter(self, *_args, **_kwargs)
d18c7c6d
RD
462 return val
463 def base_OnDragOver(self, *_args, **_kwargs):
d84a9306 464 val = clip_dndc.wxTextDropTarget_base_OnDragOver(self, *_args, **_kwargs)
d18c7c6d
RD
465 return val
466 def base_OnLeave(self, *_args, **_kwargs):
d84a9306 467 val = clip_dndc.wxTextDropTarget_base_OnLeave(self, *_args, **_kwargs)
d18c7c6d
RD
468 return val
469 def base_OnDrop(self, *_args, **_kwargs):
d84a9306 470 val = clip_dndc.wxTextDropTarget_base_OnDrop(self, *_args, **_kwargs)
d18c7c6d
RD
471 return val
472 def base_OnData(self, *_args, **_kwargs):
d84a9306 473 val = clip_dndc.wxTextDropTarget_base_OnData(self, *_args, **_kwargs)
d18c7c6d
RD
474 return val
475 def __repr__(self):
d84a9306 476 return "<%s.%s instance; proxy of C++ wxTextDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
d18c7c6d
RD
477class wxTextDropTarget(wxTextDropTargetPtr):
478 def __init__(self,*_args,**_kwargs):
d84a9306 479 self.this = clip_dndc.new_wxTextDropTarget(*_args,**_kwargs)
d18c7c6d
RD
480 self.thisown = 1
481 self._setCallbackInfo(self, wxTextDropTarget)
482
483
484
485
486class wxFileDropTargetPtr(wxPyDropTargetPtr):
487 def __init__(self,this):
488 self.this = this
489 self.thisown = 0
490 def _setCallbackInfo(self, *_args, **_kwargs):
d84a9306 491 val = clip_dndc.wxFileDropTarget__setCallbackInfo(self, *_args, **_kwargs)
d18c7c6d
RD
492 return val
493 def base_OnEnter(self, *_args, **_kwargs):
d84a9306 494 val = clip_dndc.wxFileDropTarget_base_OnEnter(self, *_args, **_kwargs)
d18c7c6d
RD
495 return val
496 def base_OnDragOver(self, *_args, **_kwargs):
d84a9306 497 val = clip_dndc.wxFileDropTarget_base_OnDragOver(self, *_args, **_kwargs)
d18c7c6d
RD
498 return val
499 def base_OnLeave(self, *_args, **_kwargs):
d84a9306 500 val = clip_dndc.wxFileDropTarget_base_OnLeave(self, *_args, **_kwargs)
d18c7c6d
RD
501 return val
502 def base_OnDrop(self, *_args, **_kwargs):
d84a9306 503 val = clip_dndc.wxFileDropTarget_base_OnDrop(self, *_args, **_kwargs)
d18c7c6d
RD
504 return val
505 def base_OnData(self, *_args, **_kwargs):
d84a9306 506 val = clip_dndc.wxFileDropTarget_base_OnData(self, *_args, **_kwargs)
d18c7c6d
RD
507 return val
508 def __repr__(self):
d84a9306 509 return "<%s.%s instance; proxy of C++ wxFileDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
d18c7c6d
RD
510class wxFileDropTarget(wxFileDropTargetPtr):
511 def __init__(self,*_args,**_kwargs):
d84a9306 512 self.this = clip_dndc.new_wxFileDropTarget(*_args,**_kwargs)
d18c7c6d
RD
513 self.thisown = 1
514 self._setCallbackInfo(self, wxFileDropTarget)
515
516
517
518
519
e6056257
RD
520
521#-------------- FUNCTION WRAPPERS ------------------
522
d18c7c6d 523def wxCustomDataFormat(*_args, **_kwargs):
d84a9306 524 val = clip_dndc.wxCustomDataFormat(*_args,**_kwargs)
d18c7c6d
RD
525 if val: val = wxDataFormatPtr(val); val.thisown = 1
526 return val
527
528wxIsDragResultOk = clip_dndc.wxIsDragResultOk
529
e6056257
RD
530
531
532#-------------- VARIABLE WRAPPERS ------------------
533
d18c7c6d
RD
534wxDF_INVALID = clip_dndc.wxDF_INVALID
535wxDF_TEXT = clip_dndc.wxDF_TEXT
536wxDF_BITMAP = clip_dndc.wxDF_BITMAP
537wxDF_METAFILE = clip_dndc.wxDF_METAFILE
538wxDF_SYLK = clip_dndc.wxDF_SYLK
539wxDF_DIF = clip_dndc.wxDF_DIF
540wxDF_TIFF = clip_dndc.wxDF_TIFF
541wxDF_OEMTEXT = clip_dndc.wxDF_OEMTEXT
542wxDF_DIB = clip_dndc.wxDF_DIB
543wxDF_PALETTE = clip_dndc.wxDF_PALETTE
544wxDF_PENDATA = clip_dndc.wxDF_PENDATA
545wxDF_RIFF = clip_dndc.wxDF_RIFF
546wxDF_WAVE = clip_dndc.wxDF_WAVE
547wxDF_UNICODETEXT = clip_dndc.wxDF_UNICODETEXT
548wxDF_ENHMETAFILE = clip_dndc.wxDF_ENHMETAFILE
549wxDF_FILENAME = clip_dndc.wxDF_FILENAME
550wxDF_LOCALE = clip_dndc.wxDF_LOCALE
551wxDF_PRIVATE = clip_dndc.wxDF_PRIVATE
552wxDF_HTML = clip_dndc.wxDF_HTML
553wxDF_MAX = clip_dndc.wxDF_MAX
554cvar = clip_dndc.cvar
555wxFormatInvalid = wxDataFormatPtr(clip_dndc.cvar.wxFormatInvalid)
556wxTheClipboard = wxClipboardPtr(clip_dndc.cvar.wxTheClipboard)
557wxDrag_CopyOnly = clip_dndc.wxDrag_CopyOnly
558wxDrag_AllowMove = clip_dndc.wxDrag_AllowMove
559wxDrag_DefaultMove = clip_dndc.wxDrag_DefaultMove
560wxDragError = clip_dndc.wxDragError
561wxDragNone = clip_dndc.wxDragNone
562wxDragCopy = clip_dndc.wxDragCopy
563wxDragMove = clip_dndc.wxDragMove
564wxDragLink = clip_dndc.wxDragLink
565wxDragCancel = clip_dndc.wxDragCancel