Version: 2.9.4
Public Member Functions
wxFileDropTarget Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/dnd.h>

Inheritance diagram for wxFileDropTarget:

Detailed Description

これは (ファイルマネージャやエクスプローラからドラッグされた) ファイルを受け付けるドロップ先です。

Library:  wxCore
Category:  Clipboard and Drag & Drop
参照:
Drag and Drop Overview, wxDropSource, wxDropTarget, wxTextDropTarget

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.

List of all members.


Constructor & Destructor Documentation

wxFileDropTarget::wxFileDropTarget ( )

Constructor.


Member Function Documentation

virtual bool wxFileDropTarget::OnDrop ( wxCoord  x,
wxCoord  y 
) [virtual]

See wxDropTarget::OnDrop().

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.

Parameters:
xThe x coordinate of the mouse.
yThe y coordinate of the mouse.
filenamesAn array of filenames.

Return true to accept the data, or false to veto the operation.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines