1 # This file was created automatically by SWIG.
10 class wxDataFormatPtr
:
11 def __init__(self
,this
):
14 def __del__(self
, delfunc
=clip_dndc
.delete_wxDataFormat
):
20 def SetType(self
, *_args
, **_kwargs
):
21 val
= apply(clip_dndc
.wxDataFormat_SetType
,(self
,) + _args
, _kwargs
)
23 def GetType(self
, *_args
, **_kwargs
):
24 val
= apply(clip_dndc
.wxDataFormat_GetType
,(self
,) + _args
, _kwargs
)
26 def GetId(self
, *_args
, **_kwargs
):
27 val
= apply(clip_dndc
.wxDataFormat_GetId
,(self
,) + _args
, _kwargs
)
29 def SetId(self
, *_args
, **_kwargs
):
30 val
= apply(clip_dndc
.wxDataFormat_SetId
,(self
,) + _args
, _kwargs
)
33 return "<C wxDataFormat instance at %s>" % (self
.this
,)
34 class wxDataFormat(wxDataFormatPtr
):
35 def __init__(self
,*_args
,**_kwargs
):
36 self
.this
= apply(clip_dndc
.new_wxDataFormat
,_args
,_kwargs
)
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
):
49 def __del__(self
, delfunc
=clip_dndc
.delete_wxDataObject
):
55 def GetPreferredFormat(self
, *_args
, **_kwargs
):
56 val
= apply(clip_dndc
.wxDataObject_GetPreferredFormat
,(self
,) + _args
, _kwargs
)
57 if val
: val
= wxDataFormatPtr(val
) ; val
.thisown
= 1
59 def GetFormatCount(self
, *_args
, **_kwargs
):
60 val
= apply(clip_dndc
.wxDataObject_GetFormatCount
,(self
,) + _args
, _kwargs
)
62 def GetAllFormats(self
, *_args
, **_kwargs
):
63 val
= apply(clip_dndc
.wxDataObject_GetAllFormats
,(self
,) + _args
, _kwargs
)
65 def GetDataHere(self
, *_args
, **_kwargs
):
66 val
= apply(clip_dndc
.wxDataObject_GetDataHere
,(self
,) + _args
, _kwargs
)
68 def GetDataSize(self
, *_args
, **_kwargs
):
69 val
= apply(clip_dndc
.wxDataObject_GetDataSize
,(self
,) + _args
, _kwargs
)
71 def SetData(self
, *_args
, **_kwargs
):
72 val
= apply(clip_dndc
.wxDataObject_SetData
,(self
,) + _args
, _kwargs
)
74 def IsSupportedFormat(self
, *_args
, **_kwargs
):
75 val
= apply(clip_dndc
.wxDataObject_IsSupportedFormat
,(self
,) + _args
, _kwargs
)
78 return "<C wxDataObject instance at %s>" % (self
.this
,)
79 class wxDataObject(wxDataObjectPtr
):
80 def __init__(self
,this
):
86 class wxDataObjectSimplePtr(wxDataObjectPtr
):
87 def __init__(self
,this
):
90 def GetFormat(self
, *_args
, **_kwargs
):
91 val
= apply(clip_dndc
.wxDataObjectSimple_GetFormat
,(self
,) + _args
, _kwargs
)
92 if val
: val
= wxDataFormatPtr(val
)
94 def SetFormat(self
, *_args
, **_kwargs
):
95 val
= apply(clip_dndc
.wxDataObjectSimple_SetFormat
,(self
,) + _args
, _kwargs
)
98 return "<C wxDataObjectSimple instance at %s>" % (self
.this
,)
99 class wxDataObjectSimple(wxDataObjectSimplePtr
):
100 def __init__(self
,*_args
,**_kwargs
):
101 self
.this
= apply(clip_dndc
.new_wxDataObjectSimple
,_args
,_kwargs
)
107 class wxPyDataObjectSimplePtr(wxDataObjectSimplePtr
):
108 def __init__(self
,this
):
111 def _setCallbackInfo(self
, *_args
, **_kwargs
):
112 val
= apply(clip_dndc
.wxPyDataObjectSimple__setCallbackInfo
,(self
,) + _args
, _kwargs
)
115 return "<C wxPyDataObjectSimple instance at %s>" % (self
.this
,)
116 class wxPyDataObjectSimple(wxPyDataObjectSimplePtr
):
117 def __init__(self
,*_args
,**_kwargs
):
118 self
.this
= apply(clip_dndc
.new_wxPyDataObjectSimple
,_args
,_kwargs
)
120 self
._setCallbackInfo
(self
, wxPyDataObjectSimple
)
125 class wxDataObjectCompositePtr(wxDataObjectPtr
):
126 def __init__(self
,this
):
129 def Add(self
, *_args
, **_kwargs
):
130 val
= apply(clip_dndc
.wxDataObjectComposite_Add
,(self
,) + _args
, _kwargs
)
134 return "<C wxDataObjectComposite instance at %s>" % (self
.this
,)
135 class wxDataObjectComposite(wxDataObjectCompositePtr
):
136 def __init__(self
,*_args
,**_kwargs
):
137 self
.this
= apply(clip_dndc
.new_wxDataObjectComposite
,_args
,_kwargs
)
143 class wxTextDataObjectPtr(wxDataObjectSimplePtr
):
144 def __init__(self
,this
):
147 def GetTextLength(self
, *_args
, **_kwargs
):
148 val
= apply(clip_dndc
.wxTextDataObject_GetTextLength
,(self
,) + _args
, _kwargs
)
150 def GetText(self
, *_args
, **_kwargs
):
151 val
= apply(clip_dndc
.wxTextDataObject_GetText
,(self
,) + _args
, _kwargs
)
153 def SetText(self
, *_args
, **_kwargs
):
154 val
= apply(clip_dndc
.wxTextDataObject_SetText
,(self
,) + _args
, _kwargs
)
157 return "<C wxTextDataObject instance at %s>" % (self
.this
,)
158 class wxTextDataObject(wxTextDataObjectPtr
):
159 def __init__(self
,*_args
,**_kwargs
):
160 self
.this
= apply(clip_dndc
.new_wxTextDataObject
,_args
,_kwargs
)
166 class wxPyTextDataObjectPtr(wxTextDataObjectPtr
):
167 def __init__(self
,this
):
170 def _setCallbackInfo(self
, *_args
, **_kwargs
):
171 val
= apply(clip_dndc
.wxPyTextDataObject__setCallbackInfo
,(self
,) + _args
, _kwargs
)
174 return "<C wxPyTextDataObject instance at %s>" % (self
.this
,)
175 class wxPyTextDataObject(wxPyTextDataObjectPtr
):
176 def __init__(self
,*_args
,**_kwargs
):
177 self
.this
= apply(clip_dndc
.new_wxPyTextDataObject
,_args
,_kwargs
)
179 self
._setCallbackInfo
(self
, wxPyTextDataObject
)
184 class wxBitmapDataObjectPtr(wxDataObjectSimplePtr
):
185 def __init__(self
,this
):
188 def GetBitmap(self
, *_args
, **_kwargs
):
189 val
= apply(clip_dndc
.wxBitmapDataObject_GetBitmap
,(self
,) + _args
, _kwargs
)
190 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
192 def SetBitmap(self
, *_args
, **_kwargs
):
193 val
= apply(clip_dndc
.wxBitmapDataObject_SetBitmap
,(self
,) + _args
, _kwargs
)
196 return "<C wxBitmapDataObject instance at %s>" % (self
.this
,)
197 class wxBitmapDataObject(wxBitmapDataObjectPtr
):
198 def __init__(self
,*_args
,**_kwargs
):
199 self
.this
= apply(clip_dndc
.new_wxBitmapDataObject
,_args
,_kwargs
)
205 class wxPyBitmapDataObjectPtr(wxBitmapDataObjectPtr
):
206 def __init__(self
,this
):
209 def _setCallbackInfo(self
, *_args
, **_kwargs
):
210 val
= apply(clip_dndc
.wxPyBitmapDataObject__setCallbackInfo
,(self
,) + _args
, _kwargs
)
213 return "<C wxPyBitmapDataObject instance at %s>" % (self
.this
,)
214 class wxPyBitmapDataObject(wxPyBitmapDataObjectPtr
):
215 def __init__(self
,*_args
,**_kwargs
):
216 self
.this
= apply(clip_dndc
.new_wxPyBitmapDataObject
,_args
,_kwargs
)
218 self
._setCallbackInfo
(self
, wxPyBitmapDataObject
)
223 class wxFileDataObjectPtr(wxDataObjectSimplePtr
):
224 def __init__(self
,this
):
227 def GetFilenames(self
, *_args
, **_kwargs
):
228 val
= apply(clip_dndc
.wxFileDataObject_GetFilenames
,(self
,) + _args
, _kwargs
)
231 return "<C wxFileDataObject instance at %s>" % (self
.this
,)
232 class wxFileDataObject(wxFileDataObjectPtr
):
233 def __init__(self
,*_args
,**_kwargs
):
234 self
.this
= apply(clip_dndc
.new_wxFileDataObject
,_args
,_kwargs
)
240 class wxCustomDataObjectPtr(wxDataObjectSimplePtr
):
241 def __init__(self
,this
):
244 def TakeData(self
, *_args
, **_kwargs
):
245 val
= apply(clip_dndc
.wxCustomDataObject_TakeData
,(self
,) + _args
, _kwargs
)
247 def SetData(self
, *_args
, **_kwargs
):
248 val
= apply(clip_dndc
.wxCustomDataObject_SetData
,(self
,) + _args
, _kwargs
)
250 def GetSize(self
, *_args
, **_kwargs
):
251 val
= apply(clip_dndc
.wxCustomDataObject_GetSize
,(self
,) + _args
, _kwargs
)
253 def GetData(self
, *_args
, **_kwargs
):
254 val
= apply(clip_dndc
.wxCustomDataObject_GetData
,(self
,) + _args
, _kwargs
)
257 return "<C wxCustomDataObject instance at %s>" % (self
.this
,)
258 class wxCustomDataObject(wxCustomDataObjectPtr
):
259 def __init__(self
,*_args
,**_kwargs
):
260 self
.this
= apply(clip_dndc
.new_wxCustomDataObject
,_args
,_kwargs
)
266 class wxURLDataObjectPtr(wxDataObjectCompositePtr
):
267 def __init__(self
,this
):
270 def GetURL(self
, *_args
, **_kwargs
):
271 val
= apply(clip_dndc
.wxURLDataObject_GetURL
,(self
,) + _args
, _kwargs
)
273 def SetURL(self
, *_args
, **_kwargs
):
274 val
= apply(clip_dndc
.wxURLDataObject_SetURL
,(self
,) + _args
, _kwargs
)
277 return "<C wxURLDataObject instance at %s>" % (self
.this
,)
278 class wxURLDataObject(wxURLDataObjectPtr
):
279 def __init__(self
,*_args
,**_kwargs
):
280 self
.this
= apply(clip_dndc
.new_wxURLDataObject
,_args
,_kwargs
)
286 class wxMetafileDataObjectPtr(wxDataObjectSimplePtr
):
287 def __init__(self
,this
):
290 def SetMetafile(self
, *_args
, **_kwargs
):
291 val
= apply(clip_dndc
.wxMetafileDataObject_SetMetafile
,(self
,) + _args
, _kwargs
)
293 def GetMetafile(self
, *_args
, **_kwargs
):
294 val
= apply(clip_dndc
.wxMetafileDataObject_GetMetafile
,(self
,) + _args
, _kwargs
)
297 return "<C wxMetafileDataObject instance at %s>" % (self
.this
,)
298 class wxMetafileDataObject(wxMetafileDataObjectPtr
):
299 def __init__(self
,*_args
,**_kwargs
):
300 self
.this
= apply(clip_dndc
.new_wxMetafileDataObject
,_args
,_kwargs
)
306 class wxClipboardPtr(wxObjectPtr
):
307 def __init__(self
,this
):
310 def Open(self
, *_args
, **_kwargs
):
311 val
= apply(clip_dndc
.wxClipboard_Open
,(self
,) + _args
, _kwargs
)
313 def Close(self
, *_args
, **_kwargs
):
314 val
= apply(clip_dndc
.wxClipboard_Close
,(self
,) + _args
, _kwargs
)
316 def IsOpened(self
, *_args
, **_kwargs
):
317 val
= apply(clip_dndc
.wxClipboard_IsOpened
,(self
,) + _args
, _kwargs
)
319 def AddData(self
, *_args
, **_kwargs
):
320 val
= apply(clip_dndc
.wxClipboard_AddData
,(self
,) + _args
, _kwargs
)
323 def SetData(self
, *_args
, **_kwargs
):
324 val
= apply(clip_dndc
.wxClipboard_SetData
,(self
,) + _args
, _kwargs
)
327 def IsSupported(self
, *_args
, **_kwargs
):
328 val
= apply(clip_dndc
.wxClipboard_IsSupported
,(self
,) + _args
, _kwargs
)
330 def GetData(self
, *_args
, **_kwargs
):
331 val
= apply(clip_dndc
.wxClipboard_GetData
,(self
,) + _args
, _kwargs
)
333 def Clear(self
, *_args
, **_kwargs
):
334 val
= apply(clip_dndc
.wxClipboard_Clear
,(self
,) + _args
, _kwargs
)
336 def Flush(self
, *_args
, **_kwargs
):
337 val
= apply(clip_dndc
.wxClipboard_Flush
,(self
,) + _args
, _kwargs
)
339 def UsePrimarySelection(self
, *_args
, **_kwargs
):
340 val
= apply(clip_dndc
.wxClipboard_UsePrimarySelection
,(self
,) + _args
, _kwargs
)
343 return "<C wxClipboard instance at %s>" % (self
.this
,)
344 class wxClipboard(wxClipboardPtr
):
345 def __init__(self
,*_args
,**_kwargs
):
346 self
.this
= apply(clip_dndc
.new_wxClipboard
,_args
,_kwargs
)
352 class wxDropSourcePtr
:
353 def __init__(self
,this
):
356 def _setCallbackInfo(self
, *_args
, **_kwargs
):
357 val
= apply(clip_dndc
.wxDropSource__setCallbackInfo
,(self
,) + _args
, _kwargs
)
359 def __del__(self
, delfunc
=clip_dndc
.delete_wxDropSource
):
360 if self
.thisown
== 1:
365 def SetData(self
, *_args
, **_kwargs
):
366 val
= apply(clip_dndc
.wxDropSource_SetData
,(self
,) + _args
, _kwargs
)
368 def GetDataObject(self
, *_args
, **_kwargs
):
369 val
= apply(clip_dndc
.wxDropSource_GetDataObject
,(self
,) + _args
, _kwargs
)
370 if val
: val
= wxDataObjectPtr(val
)
372 def SetCursor(self
, *_args
, **_kwargs
):
373 val
= apply(clip_dndc
.wxDropSource_SetCursor
,(self
,) + _args
, _kwargs
)
375 def DoDragDrop(self
, *_args
, **_kwargs
):
376 val
= apply(clip_dndc
.wxDropSource_DoDragDrop
,(self
,) + _args
, _kwargs
)
378 def base_GiveFeedback(self
, *_args
, **_kwargs
):
379 val
= apply(clip_dndc
.wxDropSource_base_GiveFeedback
,(self
,) + _args
, _kwargs
)
382 return "<C wxDropSource instance at %s>" % (self
.this
,)
383 class wxDropSource(wxDropSourcePtr
):
384 def __init__(self
,*_args
,**_kwargs
):
385 self
.this
= apply(clip_dndc
.new_wxDropSource
,_args
,_kwargs
)
387 self
._setCallbackInfo
(self
, wxDropSource
, 0)
392 class wxDropTargetPtr
:
393 def __init__(self
,this
):
397 return "<C wxDropTarget instance at %s>" % (self
.this
,)
398 class wxDropTarget(wxDropTargetPtr
):
399 def __init__(self
,this
):
405 class wxPyDropTargetPtr(wxDropTargetPtr
):
406 def __init__(self
,this
):
409 def _setCallbackInfo(self
, *_args
, **_kwargs
):
410 val
= apply(clip_dndc
.wxPyDropTarget__setCallbackInfo
,(self
,) + _args
, _kwargs
)
412 def __del__(self
, delfunc
=clip_dndc
.delete_wxPyDropTarget
):
413 if self
.thisown
== 1:
418 def GetDataObject(self
, *_args
, **_kwargs
):
419 val
= apply(clip_dndc
.wxPyDropTarget_GetDataObject
,(self
,) + _args
, _kwargs
)
420 if val
: val
= wxDataObjectPtr(val
)
422 def SetDataObject(self
, *_args
, **_kwargs
):
423 val
= apply(clip_dndc
.wxPyDropTarget_SetDataObject
,(self
,) + _args
, _kwargs
)
424 if _args
:_args
[0].thisown
= 0
426 def base_OnEnter(self
, *_args
, **_kwargs
):
427 val
= apply(clip_dndc
.wxPyDropTarget_base_OnEnter
,(self
,) + _args
, _kwargs
)
429 def base_OnDragOver(self
, *_args
, **_kwargs
):
430 val
= apply(clip_dndc
.wxPyDropTarget_base_OnDragOver
,(self
,) + _args
, _kwargs
)
432 def base_OnLeave(self
, *_args
, **_kwargs
):
433 val
= apply(clip_dndc
.wxPyDropTarget_base_OnLeave
,(self
,) + _args
, _kwargs
)
435 def base_OnDrop(self
, *_args
, **_kwargs
):
436 val
= apply(clip_dndc
.wxPyDropTarget_base_OnDrop
,(self
,) + _args
, _kwargs
)
438 def GetData(self
, *_args
, **_kwargs
):
439 val
= apply(clip_dndc
.wxPyDropTarget_GetData
,(self
,) + _args
, _kwargs
)
442 return "<C wxPyDropTarget instance at %s>" % (self
.this
,)
443 class wxPyDropTarget(wxPyDropTargetPtr
):
444 def __init__(self
,*_args
,**_kwargs
):
445 self
.this
= apply(clip_dndc
.new_wxPyDropTarget
,_args
,_kwargs
)
447 if _args
:_args
[0].thisown
= 0
448 self
._setCallbackInfo
(self
, wxPyDropTarget
)
453 class wxTextDropTargetPtr(wxPyDropTargetPtr
):
454 def __init__(self
,this
):
457 def _setCallbackInfo(self
, *_args
, **_kwargs
):
458 val
= apply(clip_dndc
.wxTextDropTarget__setCallbackInfo
,(self
,) + _args
, _kwargs
)
460 def base_OnEnter(self
, *_args
, **_kwargs
):
461 val
= apply(clip_dndc
.wxTextDropTarget_base_OnEnter
,(self
,) + _args
, _kwargs
)
463 def base_OnDragOver(self
, *_args
, **_kwargs
):
464 val
= apply(clip_dndc
.wxTextDropTarget_base_OnDragOver
,(self
,) + _args
, _kwargs
)
466 def base_OnLeave(self
, *_args
, **_kwargs
):
467 val
= apply(clip_dndc
.wxTextDropTarget_base_OnLeave
,(self
,) + _args
, _kwargs
)
469 def base_OnDrop(self
, *_args
, **_kwargs
):
470 val
= apply(clip_dndc
.wxTextDropTarget_base_OnDrop
,(self
,) + _args
, _kwargs
)
472 def base_OnData(self
, *_args
, **_kwargs
):
473 val
= apply(clip_dndc
.wxTextDropTarget_base_OnData
,(self
,) + _args
, _kwargs
)
476 return "<C wxTextDropTarget instance at %s>" % (self
.this
,)
477 class wxTextDropTarget(wxTextDropTargetPtr
):
478 def __init__(self
,*_args
,**_kwargs
):
479 self
.this
= apply(clip_dndc
.new_wxTextDropTarget
,_args
,_kwargs
)
481 self
._setCallbackInfo
(self
, wxTextDropTarget
)
486 class wxFileDropTargetPtr(wxPyDropTargetPtr
):
487 def __init__(self
,this
):
490 def _setCallbackInfo(self
, *_args
, **_kwargs
):
491 val
= apply(clip_dndc
.wxFileDropTarget__setCallbackInfo
,(self
,) + _args
, _kwargs
)
493 def base_OnEnter(self
, *_args
, **_kwargs
):
494 val
= apply(clip_dndc
.wxFileDropTarget_base_OnEnter
,(self
,) + _args
, _kwargs
)
496 def base_OnDragOver(self
, *_args
, **_kwargs
):
497 val
= apply(clip_dndc
.wxFileDropTarget_base_OnDragOver
,(self
,) + _args
, _kwargs
)
499 def base_OnLeave(self
, *_args
, **_kwargs
):
500 val
= apply(clip_dndc
.wxFileDropTarget_base_OnLeave
,(self
,) + _args
, _kwargs
)
502 def base_OnDrop(self
, *_args
, **_kwargs
):
503 val
= apply(clip_dndc
.wxFileDropTarget_base_OnDrop
,(self
,) + _args
, _kwargs
)
505 def base_OnData(self
, *_args
, **_kwargs
):
506 val
= apply(clip_dndc
.wxFileDropTarget_base_OnData
,(self
,) + _args
, _kwargs
)
509 return "<C wxFileDropTarget instance at %s>" % (self
.this
,)
510 class wxFileDropTarget(wxFileDropTargetPtr
):
511 def __init__(self
,*_args
,**_kwargs
):
512 self
.this
= apply(clip_dndc
.new_wxFileDropTarget
,_args
,_kwargs
)
514 self
._setCallbackInfo
(self
, wxFileDropTarget
)
521 #-------------- FUNCTION WRAPPERS ------------------
523 def wxCustomDataFormat(*_args
, **_kwargs
):
524 val
= apply(clip_dndc
.wxCustomDataFormat
,_args
,_kwargs
)
525 if val
: val
= wxDataFormatPtr(val
); val
.thisown
= 1
528 wxIsDragResultOk
= clip_dndc
.wxIsDragResultOk
532 #-------------- VARIABLE WRAPPERS ------------------
534 wxDF_INVALID
= clip_dndc
.wxDF_INVALID
535 wxDF_TEXT
= clip_dndc
.wxDF_TEXT
536 wxDF_BITMAP
= clip_dndc
.wxDF_BITMAP
537 wxDF_METAFILE
= clip_dndc
.wxDF_METAFILE
538 wxDF_SYLK
= clip_dndc
.wxDF_SYLK
539 wxDF_DIF
= clip_dndc
.wxDF_DIF
540 wxDF_TIFF
= clip_dndc
.wxDF_TIFF
541 wxDF_OEMTEXT
= clip_dndc
.wxDF_OEMTEXT
542 wxDF_DIB
= clip_dndc
.wxDF_DIB
543 wxDF_PALETTE
= clip_dndc
.wxDF_PALETTE
544 wxDF_PENDATA
= clip_dndc
.wxDF_PENDATA
545 wxDF_RIFF
= clip_dndc
.wxDF_RIFF
546 wxDF_WAVE
= clip_dndc
.wxDF_WAVE
547 wxDF_UNICODETEXT
= clip_dndc
.wxDF_UNICODETEXT
548 wxDF_ENHMETAFILE
= clip_dndc
.wxDF_ENHMETAFILE
549 wxDF_FILENAME
= clip_dndc
.wxDF_FILENAME
550 wxDF_LOCALE
= clip_dndc
.wxDF_LOCALE
551 wxDF_PRIVATE
= clip_dndc
.wxDF_PRIVATE
552 wxDF_HTML
= clip_dndc
.wxDF_HTML
553 wxDF_MAX
= clip_dndc
.wxDF_MAX
554 cvar
= clip_dndc
.cvar
555 wxFormatInvalid
= wxDataFormatPtr(clip_dndc
.cvar
.wxFormatInvalid
)
556 wxTheClipboard
= wxClipboardPtr(clip_dndc
.cvar
.wxTheClipboard
)
557 wxDrag_CopyOnly
= clip_dndc
.wxDrag_CopyOnly
558 wxDrag_AllowMove
= clip_dndc
.wxDrag_AllowMove
559 wxDrag_DefaultMove
= clip_dndc
.wxDrag_DefaultMove
560 wxDragError
= clip_dndc
.wxDragError
561 wxDragNone
= clip_dndc
.wxDragNone
562 wxDragCopy
= clip_dndc
.wxDragCopy
563 wxDragMove
= clip_dndc
.wxDragMove
564 wxDragLink
= clip_dndc
.wxDragLink
565 wxDragCancel
= clip_dndc
.wxDragCancel