]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/wx/py/wxd/ClipDragDrop.py
1 """Decorator classes for documentation and shell scripting.
4 __author__
= "Patrick K. O'Brien <pobrien@orbtech.com>"
6 __revision__
= "$Revision$"[11:-2]
9 # These are not the real wxPython classes. These are Python versions
10 # for documentation purposes. They are also used to apply docstrings
11 # to the real wxPython classes, which are SWIG-generated wrappers for
15 from Base
import Object
16 import Parameters
as wx
19 class Clipboard(Object
):
46 def IsSupported(self
):
58 def UsePrimarySelection(self
):
98 def GetAllFormats(self
):
102 def GetDataHere(self
):
106 def GetDataSize(self
):
110 def GetFormatCount(self
):
114 def GetPreferredFormat(self
):
118 def IsSupportedFormat(self
):
135 class DataObjectComposite(DataObject
):
147 class DataObjectSimple(DataObject
):
163 class PyDataObjectSimple(DataObjectSimple
):
170 def _setCallbackInfo(self
):
175 class BitmapDataObject(DataObjectSimple
):
191 class PyBitmapDataObject(BitmapDataObject
):
198 def _setCallbackInfo(self
):
203 class CustomDataObject(DataObjectSimple
):
227 class DragImage(Object
):
234 def BeginDrag2(self
):
242 def GetImageRect(self
):
254 def RedrawImage(self
):
258 def SetBackingBitmap(self
):
278 def DoDragDrop(self
):
282 def GetDataObject(self
):
302 def _setCallbackInfo(self
):
306 def base_GiveFeedback(self
):
319 class PyDropTarget(DropTarget
):
326 def GetDataObject(self
):
330 def SetDataObject(self
):
342 def _setCallbackInfo(self
):
346 def base_OnDragOver(self
):
350 def base_OnDrop(self
):
354 def base_OnEnter(self
):
358 def base_OnLeave(self
):
363 class FileDataObject(DataObjectSimple
):
366 def GetFilenames(self
):
375 class FileDropTarget(PyDropTarget
):
382 def _setCallbackInfo(self
):
386 def base_OnData(self
):
390 def base_OnDragOver(self
):
394 def base_OnDrop(self
):
398 def base_OnEnter(self
):
402 def base_OnLeave(self
):
407 class TextDataObject(DataObjectSimple
):
414 def GetTextLength(self
):
427 class PyTextDataObject(TextDataObject
):
434 def _setCallbackInfo(self
):
439 class TextDropTarget(PyDropTarget
):
446 def _setCallbackInfo(self
):
450 def base_OnData(self
):
454 def base_OnDragOver(self
):
458 def base_OnDrop(self
):
462 def base_OnEnter(self
):
466 def base_OnLeave(self
):
471 class URLDataObject(DataObjectComposite
):