1 # This file was created automatically by SWIG.
10 class wxDataFormatPtr
:
11 def __init__(self
,this
):
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
)
20 def GetType(self
, *_args
, **_kwargs
):
21 val
= apply(clip_dndc
.wxDataFormat_GetType
,(self
,) + _args
, _kwargs
)
23 def GetId(self
, *_args
, **_kwargs
):
24 val
= apply(clip_dndc
.wxDataFormat_GetId
,(self
,) + _args
, _kwargs
)
26 def SetId(self
, *_args
, **_kwargs
):
27 val
= apply(clip_dndc
.wxDataFormat_SetId
,(self
,) + _args
, _kwargs
)
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
)
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
):
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
53 def GetFormatCount(self
, *_args
, **_kwargs
):
54 val
= apply(clip_dndc
.wxDataObject_GetFormatCount
,(self
,) + _args
, _kwargs
)
56 def GetAllFormats(self
, *_args
, **_kwargs
):
57 val
= apply(clip_dndc
.wxDataObject_GetAllFormats
,(self
,) + _args
, _kwargs
)
59 def GetDataSize(self
, *_args
, **_kwargs
):
60 val
= apply(clip_dndc
.wxDataObject_GetDataSize
,(self
,) + _args
, _kwargs
)
62 def GetDataHere(self
, *_args
, **_kwargs
):
63 val
= apply(clip_dndc
.wxDataObject_GetDataHere
,(self
,) + _args
, _kwargs
)
65 def SetData(self
, *_args
, **_kwargs
):
66 val
= apply(clip_dndc
.wxDataObject_SetData
,(self
,) + _args
, _kwargs
)
68 def IsSupportedFormat(self
, *_args
, **_kwargs
):
69 val
= apply(clip_dndc
.wxDataObject_IsSupportedFormat
,(self
,) + _args
, _kwargs
)
72 return "<C wxDataObject instance at %s>" % (self
.this
,)
73 class wxDataObject(wxDataObjectPtr
):
74 def __init__(self
,this
):
80 class wxDataObjectSimplePtr(wxDataObjectPtr
):
81 def __init__(self
,this
):
84 def GetFormat(self
, *_args
, **_kwargs
):
85 val
= apply(clip_dndc
.wxDataObjectSimple_GetFormat
,(self
,) + _args
, _kwargs
)
86 if val
: val
= wxDataFormatPtr(val
)
88 def SetFormat(self
, *_args
, **_kwargs
):
89 val
= apply(clip_dndc
.wxDataObjectSimple_SetFormat
,(self
,) + _args
, _kwargs
)
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
)
101 class wxPyDataObjectSimplePtr(wxDataObjectSimplePtr
):
102 def __init__(self
,this
):
105 def _setCallbackInfo(self
, *_args
, **_kwargs
):
106 val
= apply(clip_dndc
.wxPyDataObjectSimple__setCallbackInfo
,(self
,) + _args
, _kwargs
)
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
)
114 self
._setCallbackInfo
(self
, wxPyDataObjectSimple
)
119 class wxDataObjectCompositePtr(wxDataObjectPtr
):
120 def __init__(self
,this
):
123 def Add(self
, *_args
, **_kwargs
):
124 val
= apply(clip_dndc
.wxDataObjectComposite_Add
,(self
,) + _args
, _kwargs
)
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
)
137 class wxTextDataObjectPtr(wxDataObjectSimplePtr
):
138 def __init__(self
,this
):
141 def GetTextLength(self
, *_args
, **_kwargs
):
142 val
= apply(clip_dndc
.wxTextDataObject_GetTextLength
,(self
,) + _args
, _kwargs
)
144 def GetText(self
, *_args
, **_kwargs
):
145 val
= apply(clip_dndc
.wxTextDataObject_GetText
,(self
,) + _args
, _kwargs
)
147 def SetText(self
, *_args
, **_kwargs
):
148 val
= apply(clip_dndc
.wxTextDataObject_SetText
,(self
,) + _args
, _kwargs
)
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
)
160 class wxPyTextDataObjectPtr(wxTextDataObjectPtr
):
161 def __init__(self
,this
):
164 def _setCallbackInfo(self
, *_args
, **_kwargs
):
165 val
= apply(clip_dndc
.wxPyTextDataObject__setCallbackInfo
,(self
,) + _args
, _kwargs
)
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
)
173 self
._setCallbackInfo
(self
, wxPyTextDataObject
)
178 class wxBitmapDataObjectPtr(wxDataObjectSimplePtr
):
179 def __init__(self
,this
):
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
186 def SetBitmap(self
, *_args
, **_kwargs
):
187 val
= apply(clip_dndc
.wxBitmapDataObject_SetBitmap
,(self
,) + _args
, _kwargs
)
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
)
199 class wxPyBitmapDataObjectPtr(wxBitmapDataObjectPtr
):
200 def __init__(self
,this
):
203 def _setCallbackInfo(self
, *_args
, **_kwargs
):
204 val
= apply(clip_dndc
.wxPyBitmapDataObject__setCallbackInfo
,(self
,) + _args
, _kwargs
)
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
)
212 self
._setCallbackInfo
(self
, wxPyBitmapDataObject
)
217 class wxFileDataObjectPtr(wxDataObjectSimplePtr
):
218 def __init__(self
,this
):
221 def GetFilenames(self
, *_args
, **_kwargs
):
222 val
= apply(clip_dndc
.wxFileDataObject_GetFilenames
,(self
,) + _args
, _kwargs
)
224 def AddFile(self
, *_args
, **_kwargs
):
225 val
= apply(clip_dndc
.wxFileDataObject_AddFile
,(self
,) + _args
, _kwargs
)
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
)
237 class wxCustomDataObjectPtr(wxDataObjectSimplePtr
):
238 def __init__(self
,this
):
241 def TakeData(self
, *_args
, **_kwargs
):
242 val
= apply(clip_dndc
.wxCustomDataObject_TakeData
,(self
,) + _args
, _kwargs
)
244 def SetData(self
, *_args
, **_kwargs
):
245 val
= apply(clip_dndc
.wxCustomDataObject_SetData
,(self
,) + _args
, _kwargs
)
247 def GetSize(self
, *_args
, **_kwargs
):
248 val
= apply(clip_dndc
.wxCustomDataObject_GetSize
,(self
,) + _args
, _kwargs
)
250 def GetData(self
, *_args
, **_kwargs
):
251 val
= apply(clip_dndc
.wxCustomDataObject_GetData
,(self
,) + _args
, _kwargs
)
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
)
263 class wxURLDataObjectPtr(wxDataObjectCompositePtr
):
264 def __init__(self
,this
):
267 def GetURL(self
, *_args
, **_kwargs
):
268 val
= apply(clip_dndc
.wxURLDataObject_GetURL
,(self
,) + _args
, _kwargs
)
270 def SetURL(self
, *_args
, **_kwargs
):
271 val
= apply(clip_dndc
.wxURLDataObject_SetURL
,(self
,) + _args
, _kwargs
)
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
)
283 class wxMetafileDataObjectPtr(wxDataObjectSimplePtr
):
284 def __init__(self
,this
):
287 def SetMetafile(self
, *_args
, **_kwargs
):
288 val
= apply(clip_dndc
.wxMetafileDataObject_SetMetafile
,(self
,) + _args
, _kwargs
)
290 def GetMetafile(self
, *_args
, **_kwargs
):
291 val
= apply(clip_dndc
.wxMetafileDataObject_GetMetafile
,(self
,) + _args
, _kwargs
)
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
)
303 class wxClipboardPtr(wxObjectPtr
):
304 def __init__(self
,this
):
307 def Open(self
, *_args
, **_kwargs
):
308 val
= apply(clip_dndc
.wxClipboard_Open
,(self
,) + _args
, _kwargs
)
310 def Close(self
, *_args
, **_kwargs
):
311 val
= apply(clip_dndc
.wxClipboard_Close
,(self
,) + _args
, _kwargs
)
313 def IsOpened(self
, *_args
, **_kwargs
):
314 val
= apply(clip_dndc
.wxClipboard_IsOpened
,(self
,) + _args
, _kwargs
)
316 def AddData(self
, *_args
, **_kwargs
):
317 val
= apply(clip_dndc
.wxClipboard_AddData
,(self
,) + _args
, _kwargs
)
320 def SetData(self
, *_args
, **_kwargs
):
321 val
= apply(clip_dndc
.wxClipboard_SetData
,(self
,) + _args
, _kwargs
)
324 def IsSupported(self
, *_args
, **_kwargs
):
325 val
= apply(clip_dndc
.wxClipboard_IsSupported
,(self
,) + _args
, _kwargs
)
327 def GetData(self
, *_args
, **_kwargs
):
328 val
= apply(clip_dndc
.wxClipboard_GetData
,(self
,) + _args
, _kwargs
)
330 def Clear(self
, *_args
, **_kwargs
):
331 val
= apply(clip_dndc
.wxClipboard_Clear
,(self
,) + _args
, _kwargs
)
333 def Flush(self
, *_args
, **_kwargs
):
334 val
= apply(clip_dndc
.wxClipboard_Flush
,(self
,) + _args
, _kwargs
)
336 def UsePrimarySelection(self
, *_args
, **_kwargs
):
337 val
= apply(clip_dndc
.wxClipboard_UsePrimarySelection
,(self
,) + _args
, _kwargs
)
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
)
349 class wxDropSourcePtr
:
350 def __init__(self
,this
):
353 def _setCallbackInfo(self
, *_args
, **_kwargs
):
354 val
= apply(clip_dndc
.wxDropSource__setCallbackInfo
,(self
,) + _args
, _kwargs
)
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
)
362 def GetDataObject(self
, *_args
, **_kwargs
):
363 val
= apply(clip_dndc
.wxDropSource_GetDataObject
,(self
,) + _args
, _kwargs
)
364 if val
: val
= wxDataObjectPtr(val
)
366 def SetCursor(self
, *_args
, **_kwargs
):
367 val
= apply(clip_dndc
.wxDropSource_SetCursor
,(self
,) + _args
, _kwargs
)
369 def DoDragDrop(self
, *_args
, **_kwargs
):
370 val
= apply(clip_dndc
.wxDropSource_DoDragDrop
,(self
,) + _args
, _kwargs
)
372 def base_GiveFeedback(self
, *_args
, **_kwargs
):
373 val
= apply(clip_dndc
.wxDropSource_base_GiveFeedback
,(self
,) + _args
, _kwargs
)
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
)
381 self
._setCallbackInfo
(self
, wxDropSource
, 0)
386 class wxDropTargetPtr
:
387 def __init__(self
,this
):
391 return "<C wxDropTarget instance at %s>" % (self
.this
,)
392 class wxDropTarget(wxDropTargetPtr
):
393 def __init__(self
,this
):
399 class wxPyDropTargetPtr(wxDropTargetPtr
):
400 def __init__(self
,this
):
403 def _setCallbackInfo(self
, *_args
, **_kwargs
):
404 val
= apply(clip_dndc
.wxPyDropTarget__setCallbackInfo
,(self
,) + _args
, _kwargs
)
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
)
413 def SetDataObject(self
, *_args
, **_kwargs
):
414 val
= apply(clip_dndc
.wxPyDropTarget_SetDataObject
,(self
,) + _args
, _kwargs
)
415 if _args
:_args
[0].thisown
= 0
417 def base_OnEnter(self
, *_args
, **_kwargs
):
418 val
= apply(clip_dndc
.wxPyDropTarget_base_OnEnter
,(self
,) + _args
, _kwargs
)
420 def base_OnDragOver(self
, *_args
, **_kwargs
):
421 val
= apply(clip_dndc
.wxPyDropTarget_base_OnDragOver
,(self
,) + _args
, _kwargs
)
423 def base_OnLeave(self
, *_args
, **_kwargs
):
424 val
= apply(clip_dndc
.wxPyDropTarget_base_OnLeave
,(self
,) + _args
, _kwargs
)
426 def base_OnDrop(self
, *_args
, **_kwargs
):
427 val
= apply(clip_dndc
.wxPyDropTarget_base_OnDrop
,(self
,) + _args
, _kwargs
)
429 def GetData(self
, *_args
, **_kwargs
):
430 val
= apply(clip_dndc
.wxPyDropTarget_GetData
,(self
,) + _args
, _kwargs
)
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
)
438 if _args
:_args
[0].thisown
= 0
439 self
._setCallbackInfo
(self
, wxPyDropTarget
)
444 class wxTextDropTargetPtr(wxPyDropTargetPtr
):
445 def __init__(self
,this
):
448 def _setCallbackInfo(self
, *_args
, **_kwargs
):
449 val
= apply(clip_dndc
.wxTextDropTarget__setCallbackInfo
,(self
,) + _args
, _kwargs
)
451 def base_OnEnter(self
, *_args
, **_kwargs
):
452 val
= apply(clip_dndc
.wxTextDropTarget_base_OnEnter
,(self
,) + _args
, _kwargs
)
454 def base_OnDragOver(self
, *_args
, **_kwargs
):
455 val
= apply(clip_dndc
.wxTextDropTarget_base_OnDragOver
,(self
,) + _args
, _kwargs
)
457 def base_OnLeave(self
, *_args
, **_kwargs
):
458 val
= apply(clip_dndc
.wxTextDropTarget_base_OnLeave
,(self
,) + _args
, _kwargs
)
460 def base_OnDrop(self
, *_args
, **_kwargs
):
461 val
= apply(clip_dndc
.wxTextDropTarget_base_OnDrop
,(self
,) + _args
, _kwargs
)
463 def base_OnData(self
, *_args
, **_kwargs
):
464 val
= apply(clip_dndc
.wxTextDropTarget_base_OnData
,(self
,) + _args
, _kwargs
)
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
)
472 self
._setCallbackInfo
(self
, wxTextDropTarget
)
477 class wxFileDropTargetPtr(wxPyDropTargetPtr
):
478 def __init__(self
,this
):
481 def _setCallbackInfo(self
, *_args
, **_kwargs
):
482 val
= apply(clip_dndc
.wxFileDropTarget__setCallbackInfo
,(self
,) + _args
, _kwargs
)
484 def base_OnEnter(self
, *_args
, **_kwargs
):
485 val
= apply(clip_dndc
.wxFileDropTarget_base_OnEnter
,(self
,) + _args
, _kwargs
)
487 def base_OnDragOver(self
, *_args
, **_kwargs
):
488 val
= apply(clip_dndc
.wxFileDropTarget_base_OnDragOver
,(self
,) + _args
, _kwargs
)
490 def base_OnLeave(self
, *_args
, **_kwargs
):
491 val
= apply(clip_dndc
.wxFileDropTarget_base_OnLeave
,(self
,) + _args
, _kwargs
)
493 def base_OnDrop(self
, *_args
, **_kwargs
):
494 val
= apply(clip_dndc
.wxFileDropTarget_base_OnDrop
,(self
,) + _args
, _kwargs
)
496 def base_OnData(self
, *_args
, **_kwargs
):
497 val
= apply(clip_dndc
.wxFileDropTarget_base_OnData
,(self
,) + _args
, _kwargs
)
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
)
505 self
._setCallbackInfo
(self
, wxFileDropTarget
)
512 #-------------- FUNCTION WRAPPERS ------------------
514 def wxCustomDataFormat(*_args
, **_kwargs
):
515 val
= apply(clip_dndc
.wxCustomDataFormat
,_args
,_kwargs
)
516 if val
: val
= wxDataFormatPtr(val
); val
.thisown
= 1
519 wxIsDragResultOk
= clip_dndc
.wxIsDragResultOk
523 #-------------- VARIABLE WRAPPERS ------------------
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
543 wxDF_MAX
= clip_dndc
.wxDF_MAX
544 cvar
= clip_dndc
.cvar
545 wxFormatInvalid
= wxDataFormatPtr(clip_dndc
.cvar
.wxFormatInvalid
)
546 wxTheClipboard
= wxClipboardPtr(clip_dndc
.cvar
.wxTheClipboard
)
547 wxDragError
= clip_dndc
.wxDragError
548 wxDragNone
= clip_dndc
.wxDragNone
549 wxDragCopy
= clip_dndc
.wxDragCopy
550 wxDragMove
= clip_dndc
.wxDragMove
551 wxDragLink
= clip_dndc
.wxDragLink
552 wxDragCancel
= clip_dndc
.wxDragCancel