Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

wxFileDataObject (3erl)

Name

wxFileDataObject - Functions for wxFileDataObject class

Synopsis

Please see following description for synopsis

Description

wxFileDataObject(3)        Erlang Module Definition        wxFileDataObject(3)



NAME
       wxFileDataObject - Functions for wxFileDataObject class

DESCRIPTION
       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:  wxDataObject, wxDataObjectSimple (not implemented in wx), wxText-
       DataObject, wxBitmapDataObject, wxDataObject

       This class is derived (and can use functions) from: wxDataObject

       wxWidgets docs: wxFileDataObject

DATA TYPES
       wxFileDataObject() = wx:wx_object()

EXPORTS
       new() -> wxFileDataObject()

              Constructor.

       addFile(This, File) -> ok

              Types:

                 This = wxFileDataObject()
                 File = unicode:chardata()

              Adds a file to the file list represented  by  this  data  object
              (Windows only).

       getFilenames(This) -> [unicode:charlist()]

              Types:

                 This = wxFileDataObject()

              Returns the array of file names.

       destroy(This :: wxFileDataObject()) -> ok

              Destroys the object.



wxWidgets team.                    wx 2.1.1                wxFileDataObject(3)