wxFileDataObject is a specialization of wxDataObject 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 file manager under Unix which makes it possible to receive files from them using this class.
See:
This class is derived, and can use functions, from:
wxWidgets docs: wxFileDataObject
Summary
Functions
Adds a file to the file list represented by this data object (Windows only).
Destroys the object
Returns the array of file names.
Constructor.
Types
-type wxFileDataObject() :: wx:wx_object().
Functions
addFile(This :: wxFileDataObject(), File :: unicode:chardata()) -> ok
Adds a file to the file list represented by this data object (Windows only).
destroy(This :: wxFileDataObject()) -> ok
Destroys the object
getFilenames(This :: wxFileDataObject()) -> Result
Types
Result = [unicode:charlist()]
Returns the array of file names.
new() -> wxFileDataObject()
Constructor.