This is a drop target which accepts files (dragged from File Manager or Explorer).
__init__ |
Constructor. |
OnDrop |
See wx.DropTarget.OnDrop . |
OnDropFiles |
Override this function to receive dropped files. |
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
.
Parameters: |
|
---|---|
Return type: | bool |
OnDropFiles
(self, x, y, filenames)¶Override this function to receive dropped files.
Parameters: |
|
---|---|
Return type: | bool |