Type DropFilesEvent
object
--+
|
Object
--+
|
Event
--+
|
DropFilesEvent
This class is used for drop files events, that is, when files have
been dropped onto the window. This functionality is only available
under Windows. The window must have previously been enabled for
dropping by calling wx.Window.DragAcceptFiles
.
Important note: this is a separate implementation to the more general
drag and drop implementation using wx.FileDropTarget
, and etc. This
implementation uses the older, Windows message-based approach of
dropping files.
Use wx.EVT_DROP_FILES to bind an event handler to receive file drop
events.
Method Summary |
|
__init__(self)
|
PyObject |
GetFiles (self)
Returns a list of the filenames that were dropped. |
int |
GetNumberOfFiles (self)
Returns the number of files dropped. |
Point |
GetPosition (self)
Returns the position at which the files were dropped. |
GetFiles(self)
Returns a list of the filenames that were dropped.
-
- Returns:
-
PyObject
|
GetNumberOfFiles(self)
Returns the number of files dropped.
-
- Returns:
-
int
|
GetPosition(self)
Returns the position at which the files were dropped.
-
- Returns:
-
Point
|
thisown
The membership flag
-
|