Package wx :: Class DropFilesEvent
[frames | no frames]

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)
  __repr__(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.

Method Details

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

Generated by Epydoc 2.1.20050511.rpd on Sun Mar 26 10:03:57 2006 http://epydoc.sf.net