wx.FileDropTarget¶This is a drop target which accepts files (dragged from File Manager or Explorer).
See also
Drag and Drop Overview, wx.DropSource, wx.DropTarget, wx.TextDropTarget
Class Hierarchy¶
Inheritance diagram for class FileDropTarget:

Methods Summary¶Constructor. |
|
See |
|
Override this function to receive dropped files. |
Class API¶wx.FileDropTarget(DropTarget)¶Possible constructors:
FileDropTarget()
This is a drop target which accepts files (dragged from File Manager or Explorer).
__init__(self)¶Constructor.
OnDrop(self, x, y)¶See wx.DropTarget.OnDrop .
This function is implemented appropriately for files, and calls OnDropFiles .
x (int) –
y (int) –
bool
OnDropFiles(self, x, y, filenames)¶Override this function to receive dropped files.
x (int) – The x coordinate of the mouse.
y (int) – The y coordinate of the mouse.
filenames (list of strings) – An array of filenames.
bool