***************** wx.FileDataObject ***************** Inheritance diagram for `wx.FileDataObject`: | .. inheritance-diagram:: wx.FileDataObject | Description =========== `wx.FileDataObject` is a specialization of `wx.DataObject `_ for file names. The program works with it just as if it were a list of absolute file names, but internally it uses the same format as Explorer and other compatible programs under Windows or GNOME/KDE filemanager under Unix which makes it possible to receive files from them using this class. .. warning:: Under all non-Windows platforms this class is currently "input-only", i.e. you can receive the files from another application, but copying (or dragging) file(s) from a wxWidgets application is not currently supported. GTK2 should work as well. .. seealso:: `wx.DataObject `_, `wx.DataObjectSimple `_, `wx.TextDataObject `_, `wx.BitmapDataObject `_, `wx.DataObject `_ Derived From ^^^^^^^^^^^^^ * `wx.DataObjectSimple `_ * `wx.DataObject `_ Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `AddFile <#AddFile>`_ * `GetFilenames <#GetFilenames>`_ Properties Summary ^^^^^^^^^^^^^^^^^^ * `Filenames <#Filenames>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__() `No docstrings available for this method.` -------- .. method:: AddFile(file) Adds a file to the file list represented by this data object. **Parameters:** * `file` (string) .. warning:: This method is available only under wxMSW. -------- .. method:: GetFilenames() Returns the array of file names. | **Returns:** `list of strings` -------- Properties ^^^^^^^^^^ .. attribute:: Filenames See `GetFilenames <#GetFilenames>`_