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