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