wx.FileDataObject Class Reference

Inheritance diagram for wx.FileDataObject:

wx.DataObjectSimple wx.DataObject wx.Object

List of all members.

Public Member Functions

void AddFile (string filename)
 FileDataObject ()
 FileDataObject (IntPtr wxObject)

Protected Member Functions

override void CallDTor ()


string[] Filenames [get]

Detailed 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. PS: GTK2 should work as well.

Constructor & Destructor Documentation

wx.FileDataObject.FileDataObject ( IntPtr  wxObject  ) 

wx.FileDataObject.FileDataObject (  ) 

Member Function Documentation

void wx.FileDataObject.AddFile ( string  filename  ) 

override void wx.FileDataObject.CallDTor (  )  [protected, virtual]

This will be called by Dispose() to delete the C++ object. Overload this if you have to use another DTor.

Reimplemented from wx.Object.

Property Documentation

string [] wx.FileDataObject.Filenames [get]

Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads