]>
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 | |
7e50db3f 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): |
5a2a9da2 | 21 | val = clip_dndc.wxDataFormat_SetType(self, *_args, **_kwargs) |
b1462dfa RD |
22 | return val |
23 | def GetType(self, *_args, **_kwargs): | |
5a2a9da2 | 24 | val = clip_dndc.wxDataFormat_GetType(self, *_args, **_kwargs) |
b1462dfa RD |
25 | return val |
26 | def GetId(self, *_args, **_kwargs): | |
5a2a9da2 | 27 | val = clip_dndc.wxDataFormat_GetId(self, *_args, **_kwargs) |
b1462dfa RD |
28 | return val |
29 | def SetId(self, *_args, **_kwargs): | |
5a2a9da2 | 30 | val = clip_dndc.wxDataFormat_SetId(self, *_args, **_kwargs) |
b1462dfa RD |
31 | return val |
32 | def __repr__(self): | |
5a2a9da2 | 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): | |
5a2a9da2 | 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 | |
7e50db3f 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): |
5a2a9da2 | 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): | |
5a2a9da2 | 60 | val = clip_dndc.wxDataObject_GetFormatCount(self, *_args, **_kwargs) |
b1462dfa RD |
61 | return val |
62 | def GetAllFormats(self, *_args, **_kwargs): | |
5a2a9da2 | 63 | val = clip_dndc.wxDataObject_GetAllFormats(self, *_args, **_kwargs) |
b1462dfa | 64 | return val |
b1462dfa | 65 | def GetDataHere(self, *_args, **_kwargs): |
5a2a9da2 | 66 | val = clip_dndc.wxDataObject_GetDataHere(self, *_args, **_kwargs) |
b1462dfa | 67 | return val |
7e50db3f | 68 | def GetDataSize(self, *_args, **_kwargs): |
5a2a9da2 | 69 | val = clip_dndc.wxDataObject_GetDataSize(self, *_args, **_kwargs) |
7e50db3f | 70 | return val |
b1462dfa | 71 | def SetData(self, *_args, **_kwargs): |
5a2a9da2 | 72 | val = clip_dndc.wxDataObject_SetData(self, *_args, **_kwargs) |
b1462dfa RD |
73 | return val |
74 | def IsSupportedFormat(self, *_args, **_kwargs): | |
5a2a9da2 | 75 | val = clip_dndc.wxDataObject_IsSupportedFormat(self, *_args, **_kwargs) |
b1462dfa RD |
76 | return val |
77 | def __repr__(self): | |
5a2a9da2 | 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): | |
5a2a9da2 | 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): | |
5a2a9da2 | 95 | val = clip_dndc.wxDataObjectSimple_SetFormat(self, *_args, **_kwargs) |
b1462dfa RD |
96 | return val |
97 | def __repr__(self): | |
5a2a9da2 | 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): | |
5a2a9da2 | 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 | |
0122b7e3 | 111 | def _setCallbackInfo(self, *_args, **_kwargs): |
5a2a9da2 | 112 | val = clip_dndc.wxPyDataObjectSimple__setCallbackInfo(self, *_args, **_kwargs) |
b1462dfa RD |
113 | return val |
114 | def __repr__(self): | |
5a2a9da2 | 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): | |
5a2a9da2 | 118 | self.this = clip_dndc.new_wxPyDataObjectSimple(*_args,**_kwargs) |
b1462dfa | 119 | self.thisown = 1 |
0122b7e3 | 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): | |
5a2a9da2 | 130 | val = clip_dndc.wxDataObjectComposite_Add(self, *_args, **_kwargs) |
b1462dfa RD |
131 | _args[0].thisown = 0 |
132 | return val | |
133 | def __repr__(self): | |
5a2a9da2 | 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): | |
5a2a9da2 | 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): | |
5a2a9da2 | 148 | val = clip_dndc.wxTextDataObject_GetTextLength(self, *_args, **_kwargs) |
b1462dfa RD |
149 | return val |
150 | def GetText(self, *_args, **_kwargs): | |
5a2a9da2 | 151 | val = clip_dndc.wxTextDataObject_GetText(self, *_args, **_kwargs) |
b1462dfa RD |
152 | return val |
153 | def SetText(self, *_args, **_kwargs): | |
5a2a9da2 | 154 | val = clip_dndc.wxTextDataObject_SetText(self, *_args, **_kwargs) |
b1462dfa RD |
155 | return val |
156 | def __repr__(self): | |
5a2a9da2 | 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): | |
5a2a9da2 | 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 | |
0122b7e3 | 170 | def _setCallbackInfo(self, *_args, **_kwargs): |
5a2a9da2 | 171 | val = clip_dndc.wxPyTextDataObject__setCallbackInfo(self, *_args, **_kwargs) |
b1462dfa RD |
172 | return val |
173 | def __repr__(self): | |
5a2a9da2 | 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): | |
5a2a9da2 | 177 | self.this = clip_dndc.new_wxPyTextDataObject(*_args,**_kwargs) |
b1462dfa | 178 | self.thisown = 1 |
0122b7e3 | 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): | |
5a2a9da2 | 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): | |
5a2a9da2 | 193 | val = clip_dndc.wxBitmapDataObject_SetBitmap(self, *_args, **_kwargs) |
b1462dfa RD |
194 | return val |
195 | def __repr__(self): | |
5a2a9da2 | 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): | |
5a2a9da2 | 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 | |
0122b7e3 | 209 | def _setCallbackInfo(self, *_args, **_kwargs): |
5a2a9da2 | 210 | val = clip_dndc.wxPyBitmapDataObject__setCallbackInfo(self, *_args, **_kwargs) |
b1462dfa RD |
211 | return val |
212 | def __repr__(self): | |
5a2a9da2 | 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): | |
5a2a9da2 | 216 | self.this = clip_dndc.new_wxPyBitmapDataObject(*_args,**_kwargs) |
b1462dfa | 217 | self.thisown = 1 |
0122b7e3 | 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): | |
5a2a9da2 | 228 | val = clip_dndc.wxFileDataObject_GetFilenames(self, *_args, **_kwargs) |
b1462dfa | 229 | return val |
3ca6a5f0 | 230 | def AddFile(self, *_args, **_kwargs): |
5a2a9da2 | 231 | val = clip_dndc.wxFileDataObject_AddFile(self, *_args, **_kwargs) |
3ca6a5f0 | 232 | return val |
b1462dfa | 233 | def __repr__(self): |
5a2a9da2 | 234 | return "<%s.%s instance; proxy of C++ wxFileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
b1462dfa RD |
235 | class wxFileDataObject(wxFileDataObjectPtr): |
236 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 237 | self.this = clip_dndc.new_wxFileDataObject(*_args,**_kwargs) |
b1462dfa RD |
238 | self.thisown = 1 |
239 | ||
240 | ||
241 | ||
242 | ||
243 | class wxCustomDataObjectPtr(wxDataObjectSimplePtr): | |
244 | def __init__(self,this): | |
245 | self.this = this | |
246 | self.thisown = 0 | |
247 | def TakeData(self, *_args, **_kwargs): | |
5a2a9da2 | 248 | val = clip_dndc.wxCustomDataObject_TakeData(self, *_args, **_kwargs) |
b1462dfa RD |
249 | return val |
250 | def SetData(self, *_args, **_kwargs): | |
5a2a9da2 | 251 | val = clip_dndc.wxCustomDataObject_SetData(self, *_args, **_kwargs) |
b1462dfa RD |
252 | return val |
253 | def GetSize(self, *_args, **_kwargs): | |
5a2a9da2 | 254 | val = clip_dndc.wxCustomDataObject_GetSize(self, *_args, **_kwargs) |
b1462dfa RD |
255 | return val |
256 | def GetData(self, *_args, **_kwargs): | |
5a2a9da2 | 257 | val = clip_dndc.wxCustomDataObject_GetData(self, *_args, **_kwargs) |
b1462dfa RD |
258 | return val |
259 | def __repr__(self): | |
5a2a9da2 | 260 | return "<%s.%s instance; proxy of C++ wxCustomDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
b1462dfa RD |
261 | class wxCustomDataObject(wxCustomDataObjectPtr): |
262 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 263 | self.this = clip_dndc.new_wxCustomDataObject(*_args,**_kwargs) |
b1462dfa RD |
264 | self.thisown = 1 |
265 | ||
266 | ||
267 | ||
268 | ||
c9a1416a RD |
269 | class wxURLDataObjectPtr(wxDataObjectCompositePtr): |
270 | def __init__(self,this): | |
271 | self.this = this | |
272 | self.thisown = 0 | |
273 | def GetURL(self, *_args, **_kwargs): | |
5a2a9da2 | 274 | val = clip_dndc.wxURLDataObject_GetURL(self, *_args, **_kwargs) |
c9a1416a RD |
275 | return val |
276 | def SetURL(self, *_args, **_kwargs): | |
5a2a9da2 | 277 | val = clip_dndc.wxURLDataObject_SetURL(self, *_args, **_kwargs) |
c9a1416a RD |
278 | return val |
279 | def __repr__(self): | |
5a2a9da2 | 280 | return "<%s.%s instance; proxy of C++ wxURLDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
c9a1416a RD |
281 | class wxURLDataObject(wxURLDataObjectPtr): |
282 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 283 | self.this = clip_dndc.new_wxURLDataObject(*_args,**_kwargs) |
c9a1416a RD |
284 | self.thisown = 1 |
285 | ||
286 | ||
287 | ||
288 | ||
f54a35fe RD |
289 | class wxMetafileDataObjectPtr(wxDataObjectSimplePtr): |
290 | def __init__(self,this): | |
291 | self.this = this | |
292 | self.thisown = 0 | |
293 | def SetMetafile(self, *_args, **_kwargs): | |
5a2a9da2 | 294 | val = clip_dndc.wxMetafileDataObject_SetMetafile(self, *_args, **_kwargs) |
f54a35fe RD |
295 | return val |
296 | def GetMetafile(self, *_args, **_kwargs): | |
5a2a9da2 | 297 | val = clip_dndc.wxMetafileDataObject_GetMetafile(self, *_args, **_kwargs) |
f54a35fe RD |
298 | return val |
299 | def __repr__(self): | |
5a2a9da2 | 300 | return "<%s.%s instance; proxy of C++ wxMetafileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
f54a35fe RD |
301 | class wxMetafileDataObject(wxMetafileDataObjectPtr): |
302 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 303 | self.this = clip_dndc.new_wxMetafileDataObject(*_args,**_kwargs) |
f54a35fe RD |
304 | self.thisown = 1 |
305 | ||
306 | ||
307 | ||
308 | ||
9416aa89 | 309 | class wxClipboardPtr(wxObjectPtr): |
b1462dfa RD |
310 | def __init__(self,this): |
311 | self.this = this | |
312 | self.thisown = 0 | |
313 | def Open(self, *_args, **_kwargs): | |
5a2a9da2 | 314 | val = clip_dndc.wxClipboard_Open(self, *_args, **_kwargs) |
b1462dfa RD |
315 | return val |
316 | def Close(self, *_args, **_kwargs): | |
5a2a9da2 | 317 | val = clip_dndc.wxClipboard_Close(self, *_args, **_kwargs) |
b1462dfa RD |
318 | return val |
319 | def IsOpened(self, *_args, **_kwargs): | |
5a2a9da2 | 320 | val = clip_dndc.wxClipboard_IsOpened(self, *_args, **_kwargs) |
b1462dfa RD |
321 | return val |
322 | def AddData(self, *_args, **_kwargs): | |
5a2a9da2 | 323 | val = clip_dndc.wxClipboard_AddData(self, *_args, **_kwargs) |
b1462dfa RD |
324 | _args[0].thisown = 0 |
325 | return val | |
326 | def SetData(self, *_args, **_kwargs): | |
5a2a9da2 | 327 | val = clip_dndc.wxClipboard_SetData(self, *_args, **_kwargs) |
b1462dfa RD |
328 | _args[0].thisown = 0 |
329 | return val | |
330 | def IsSupported(self, *_args, **_kwargs): | |
5a2a9da2 | 331 | val = clip_dndc.wxClipboard_IsSupported(self, *_args, **_kwargs) |
b1462dfa RD |
332 | return val |
333 | def GetData(self, *_args, **_kwargs): | |
5a2a9da2 | 334 | val = clip_dndc.wxClipboard_GetData(self, *_args, **_kwargs) |
b1462dfa RD |
335 | return val |
336 | def Clear(self, *_args, **_kwargs): | |
5a2a9da2 | 337 | val = clip_dndc.wxClipboard_Clear(self, *_args, **_kwargs) |
b1462dfa RD |
338 | return val |
339 | def Flush(self, *_args, **_kwargs): | |
5a2a9da2 | 340 | val = clip_dndc.wxClipboard_Flush(self, *_args, **_kwargs) |
b1462dfa RD |
341 | return val |
342 | def UsePrimarySelection(self, *_args, **_kwargs): | |
5a2a9da2 | 343 | val = clip_dndc.wxClipboard_UsePrimarySelection(self, *_args, **_kwargs) |
b1462dfa RD |
344 | return val |
345 | def __repr__(self): | |
5a2a9da2 | 346 | return "<%s.%s instance; proxy of C++ wxClipboard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
b1462dfa RD |
347 | class wxClipboard(wxClipboardPtr): |
348 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 349 | self.this = clip_dndc.new_wxClipboard(*_args,**_kwargs) |
b1462dfa RD |
350 | self.thisown = 1 |
351 | ||
352 | ||
353 | ||
354 | ||
355 | class wxDropSourcePtr : | |
356 | def __init__(self,this): | |
357 | self.this = this | |
358 | self.thisown = 0 | |
0122b7e3 | 359 | def _setCallbackInfo(self, *_args, **_kwargs): |
5a2a9da2 | 360 | val = clip_dndc.wxDropSource__setCallbackInfo(self, *_args, **_kwargs) |
b1462dfa | 361 | return val |
7e50db3f RD |
362 | def __del__(self, delfunc=clip_dndc.delete_wxDropSource): |
363 | if self.thisown == 1: | |
364 | try: | |
365 | delfunc(self) | |
366 | except: | |
367 | pass | |
b1462dfa | 368 | def SetData(self, *_args, **_kwargs): |
5a2a9da2 | 369 | val = clip_dndc.wxDropSource_SetData(self, *_args, **_kwargs) |
b1462dfa RD |
370 | return val |
371 | def GetDataObject(self, *_args, **_kwargs): | |
5a2a9da2 | 372 | val = clip_dndc.wxDropSource_GetDataObject(self, *_args, **_kwargs) |
b1462dfa RD |
373 | if val: val = wxDataObjectPtr(val) |
374 | return val | |
375 | def SetCursor(self, *_args, **_kwargs): | |
5a2a9da2 | 376 | val = clip_dndc.wxDropSource_SetCursor(self, *_args, **_kwargs) |
b1462dfa RD |
377 | return val |
378 | def DoDragDrop(self, *_args, **_kwargs): | |
5a2a9da2 | 379 | val = clip_dndc.wxDropSource_DoDragDrop(self, *_args, **_kwargs) |
b1462dfa RD |
380 | return val |
381 | def base_GiveFeedback(self, *_args, **_kwargs): | |
5a2a9da2 | 382 | val = clip_dndc.wxDropSource_base_GiveFeedback(self, *_args, **_kwargs) |
b1462dfa RD |
383 | return val |
384 | def __repr__(self): | |
5a2a9da2 | 385 | return "<%s.%s instance; proxy of C++ wxDropSource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
b1462dfa RD |
386 | class wxDropSource(wxDropSourcePtr): |
387 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 388 | self.this = clip_dndc.new_wxDropSource(*_args,**_kwargs) |
b1462dfa | 389 | self.thisown = 1 |
0122b7e3 | 390 | self._setCallbackInfo(self, wxDropSource, 0) |
b1462dfa RD |
391 | |
392 | ||
393 | ||
394 | ||
395 | class wxDropTargetPtr : | |
396 | def __init__(self,this): | |
397 | self.this = this | |
398 | self.thisown = 0 | |
399 | def __repr__(self): | |
5a2a9da2 | 400 | return "<%s.%s instance; proxy of C++ wxDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
b1462dfa RD |
401 | class wxDropTarget(wxDropTargetPtr): |
402 | def __init__(self,this): | |
403 | self.this = this | |
404 | ||
405 | ||
406 | ||
407 | ||
408 | class wxPyDropTargetPtr(wxDropTargetPtr): | |
409 | def __init__(self,this): | |
410 | self.this = this | |
411 | self.thisown = 0 | |
0122b7e3 | 412 | def _setCallbackInfo(self, *_args, **_kwargs): |
5a2a9da2 | 413 | val = clip_dndc.wxPyDropTarget__setCallbackInfo(self, *_args, **_kwargs) |
b1462dfa | 414 | return val |
7e50db3f RD |
415 | def __del__(self, delfunc=clip_dndc.delete_wxPyDropTarget): |
416 | if self.thisown == 1: | |
417 | try: | |
418 | delfunc(self) | |
419 | except: | |
420 | pass | |
b1462dfa | 421 | def GetDataObject(self, *_args, **_kwargs): |
5a2a9da2 | 422 | val = clip_dndc.wxPyDropTarget_GetDataObject(self, *_args, **_kwargs) |
b1462dfa RD |
423 | if val: val = wxDataObjectPtr(val) |
424 | return val | |
425 | def SetDataObject(self, *_args, **_kwargs): | |
5a2a9da2 | 426 | val = clip_dndc.wxPyDropTarget_SetDataObject(self, *_args, **_kwargs) |
b1462dfa RD |
427 | if _args:_args[0].thisown = 0 |
428 | return val | |
429 | def base_OnEnter(self, *_args, **_kwargs): | |
5a2a9da2 | 430 | val = clip_dndc.wxPyDropTarget_base_OnEnter(self, *_args, **_kwargs) |
b1462dfa RD |
431 | return val |
432 | def base_OnDragOver(self, *_args, **_kwargs): | |
5a2a9da2 | 433 | val = clip_dndc.wxPyDropTarget_base_OnDragOver(self, *_args, **_kwargs) |
b1462dfa RD |
434 | return val |
435 | def base_OnLeave(self, *_args, **_kwargs): | |
5a2a9da2 | 436 | val = clip_dndc.wxPyDropTarget_base_OnLeave(self, *_args, **_kwargs) |
b1462dfa RD |
437 | return val |
438 | def base_OnDrop(self, *_args, **_kwargs): | |
5a2a9da2 | 439 | val = clip_dndc.wxPyDropTarget_base_OnDrop(self, *_args, **_kwargs) |
b1462dfa RD |
440 | return val |
441 | def GetData(self, *_args, **_kwargs): | |
5a2a9da2 | 442 | val = clip_dndc.wxPyDropTarget_GetData(self, *_args, **_kwargs) |
b1462dfa RD |
443 | return val |
444 | def __repr__(self): | |
5a2a9da2 | 445 | return "<%s.%s instance; proxy of C++ wxPyDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
b1462dfa RD |
446 | class wxPyDropTarget(wxPyDropTargetPtr): |
447 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 448 | self.this = clip_dndc.new_wxPyDropTarget(*_args,**_kwargs) |
b1462dfa RD |
449 | self.thisown = 1 |
450 | if _args:_args[0].thisown = 0 | |
0122b7e3 | 451 | self._setCallbackInfo(self, wxPyDropTarget) |
b1462dfa RD |
452 | |
453 | ||
454 | ||
455 | ||
456 | class wxTextDropTargetPtr(wxPyDropTargetPtr): | |
457 | def __init__(self,this): | |
458 | self.this = this | |
459 | self.thisown = 0 | |
0122b7e3 | 460 | def _setCallbackInfo(self, *_args, **_kwargs): |
5a2a9da2 | 461 | val = clip_dndc.wxTextDropTarget__setCallbackInfo(self, *_args, **_kwargs) |
b1462dfa RD |
462 | return val |
463 | def base_OnEnter(self, *_args, **_kwargs): | |
5a2a9da2 | 464 | val = clip_dndc.wxTextDropTarget_base_OnEnter(self, *_args, **_kwargs) |
b1462dfa RD |
465 | return val |
466 | def base_OnDragOver(self, *_args, **_kwargs): | |
5a2a9da2 | 467 | val = clip_dndc.wxTextDropTarget_base_OnDragOver(self, *_args, **_kwargs) |
b1462dfa RD |
468 | return val |
469 | def base_OnLeave(self, *_args, **_kwargs): | |
5a2a9da2 | 470 | val = clip_dndc.wxTextDropTarget_base_OnLeave(self, *_args, **_kwargs) |
b1462dfa RD |
471 | return val |
472 | def base_OnDrop(self, *_args, **_kwargs): | |
5a2a9da2 | 473 | val = clip_dndc.wxTextDropTarget_base_OnDrop(self, *_args, **_kwargs) |
b1462dfa RD |
474 | return val |
475 | def base_OnData(self, *_args, **_kwargs): | |
5a2a9da2 | 476 | val = clip_dndc.wxTextDropTarget_base_OnData(self, *_args, **_kwargs) |
b1462dfa RD |
477 | return val |
478 | def __repr__(self): | |
5a2a9da2 | 479 | return "<%s.%s instance; proxy of C++ wxTextDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
b1462dfa RD |
480 | class wxTextDropTarget(wxTextDropTargetPtr): |
481 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 482 | self.this = clip_dndc.new_wxTextDropTarget(*_args,**_kwargs) |
b1462dfa | 483 | self.thisown = 1 |
0122b7e3 | 484 | self._setCallbackInfo(self, wxTextDropTarget) |
b1462dfa RD |
485 | |
486 | ||
487 | ||
488 | ||
489 | class wxFileDropTargetPtr(wxPyDropTargetPtr): | |
490 | def __init__(self,this): | |
491 | self.this = this | |
492 | self.thisown = 0 | |
0122b7e3 | 493 | def _setCallbackInfo(self, *_args, **_kwargs): |
5a2a9da2 | 494 | val = clip_dndc.wxFileDropTarget__setCallbackInfo(self, *_args, **_kwargs) |
b1462dfa RD |
495 | return val |
496 | def base_OnEnter(self, *_args, **_kwargs): | |
5a2a9da2 | 497 | val = clip_dndc.wxFileDropTarget_base_OnEnter(self, *_args, **_kwargs) |
b1462dfa RD |
498 | return val |
499 | def base_OnDragOver(self, *_args, **_kwargs): | |
5a2a9da2 | 500 | val = clip_dndc.wxFileDropTarget_base_OnDragOver(self, *_args, **_kwargs) |
b1462dfa RD |
501 | return val |
502 | def base_OnLeave(self, *_args, **_kwargs): | |
5a2a9da2 | 503 | val = clip_dndc.wxFileDropTarget_base_OnLeave(self, *_args, **_kwargs) |
b1462dfa RD |
504 | return val |
505 | def base_OnDrop(self, *_args, **_kwargs): | |
5a2a9da2 | 506 | val = clip_dndc.wxFileDropTarget_base_OnDrop(self, *_args, **_kwargs) |
b1462dfa RD |
507 | return val |
508 | def base_OnData(self, *_args, **_kwargs): | |
5a2a9da2 | 509 | val = clip_dndc.wxFileDropTarget_base_OnData(self, *_args, **_kwargs) |
b1462dfa RD |
510 | return val |
511 | def __repr__(self): | |
5a2a9da2 | 512 | return "<%s.%s instance; proxy of C++ wxFileDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
b1462dfa RD |
513 | class wxFileDropTarget(wxFileDropTargetPtr): |
514 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 515 | self.this = clip_dndc.new_wxFileDropTarget(*_args,**_kwargs) |
b1462dfa | 516 | self.thisown = 1 |
0122b7e3 | 517 | self._setCallbackInfo(self, wxFileDropTarget) |
b1462dfa RD |
518 | |
519 | ||
520 | ||
521 | ||
522 | ||
523 | ||
524 | #-------------- FUNCTION WRAPPERS ------------------ | |
525 | ||
526 | def wxCustomDataFormat(*_args, **_kwargs): | |
5a2a9da2 | 527 | val = clip_dndc.wxCustomDataFormat(*_args,**_kwargs) |
b1462dfa RD |
528 | if val: val = wxDataFormatPtr(val); val.thisown = 1 |
529 | return val | |
530 | ||
531 | wxIsDragResultOk = clip_dndc.wxIsDragResultOk | |
532 | ||
533 | ||
534 | ||
535 | #-------------- VARIABLE WRAPPERS ------------------ | |
536 | ||
537 | wxDF_INVALID = clip_dndc.wxDF_INVALID | |
538 | wxDF_TEXT = clip_dndc.wxDF_TEXT | |
539 | wxDF_BITMAP = clip_dndc.wxDF_BITMAP | |
540 | wxDF_METAFILE = clip_dndc.wxDF_METAFILE | |
541 | wxDF_SYLK = clip_dndc.wxDF_SYLK | |
542 | wxDF_DIF = clip_dndc.wxDF_DIF | |
543 | wxDF_TIFF = clip_dndc.wxDF_TIFF | |
544 | wxDF_OEMTEXT = clip_dndc.wxDF_OEMTEXT | |
545 | wxDF_DIB = clip_dndc.wxDF_DIB | |
546 | wxDF_PALETTE = clip_dndc.wxDF_PALETTE | |
547 | wxDF_PENDATA = clip_dndc.wxDF_PENDATA | |
548 | wxDF_RIFF = clip_dndc.wxDF_RIFF | |
549 | wxDF_WAVE = clip_dndc.wxDF_WAVE | |
550 | wxDF_UNICODETEXT = clip_dndc.wxDF_UNICODETEXT | |
551 | wxDF_ENHMETAFILE = clip_dndc.wxDF_ENHMETAFILE | |
552 | wxDF_FILENAME = clip_dndc.wxDF_FILENAME | |
553 | wxDF_LOCALE = clip_dndc.wxDF_LOCALE | |
554 | wxDF_PRIVATE = clip_dndc.wxDF_PRIVATE | |
d394edca | 555 | wxDF_HTML = clip_dndc.wxDF_HTML |
b1462dfa RD |
556 | wxDF_MAX = clip_dndc.wxDF_MAX |
557 | cvar = clip_dndc.cvar | |
558 | wxFormatInvalid = wxDataFormatPtr(clip_dndc.cvar.wxFormatInvalid) | |
559 | wxTheClipboard = wxClipboardPtr(clip_dndc.cvar.wxTheClipboard) | |
3bd1e033 RD |
560 | wxDrag_CopyOnly = clip_dndc.wxDrag_CopyOnly |
561 | wxDrag_AllowMove = clip_dndc.wxDrag_AllowMove | |
562 | wxDrag_DefaultMove = clip_dndc.wxDrag_DefaultMove | |
b1462dfa RD |
563 | wxDragError = clip_dndc.wxDragError |
564 | wxDragNone = clip_dndc.wxDragNone | |
565 | wxDragCopy = clip_dndc.wxDragCopy | |
566 | wxDragMove = clip_dndc.wxDragMove | |
c9a1416a | 567 | wxDragLink = clip_dndc.wxDragLink |
b1462dfa | 568 | wxDragCancel = clip_dndc.wxDragCancel |