#include </home/zeitlin/src/wx/github/interface/wx/dnd.h>
これは (ファイルマネージャやエクスプローラからドラッグされた) ファイルを受け付けるドロップ先です。
Public Member Functions | |
wxFileDropTarget () | |
Constructor. | |
virtual bool | OnDrop (wxCoord x, wxCoord y) |
See wxDropTarget::OnDrop(). | |
virtual bool | OnDropFiles (wxCoord x, wxCoord y, const wxArrayString &filenames)=0 |
Override this function to receive dropped files. |
wxFileDropTarget::wxFileDropTarget | ( | ) |
Constructor.
This function is implemented appropriately for files, and calls OnDropFiles().
Reimplemented from wxDropTarget.
virtual bool wxFileDropTarget::OnDropFiles | ( | wxCoord | x, |
wxCoord | y, | ||
const wxArrayString & | filenames | ||
) | [pure virtual] |
Override this function to receive dropped files.
x | The x coordinate of the mouse. |
y | The y coordinate of the mouse. |
filenames | An array of filenames. |
Return true to accept the data, or false to veto the operation.