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