Classes | |
| class | wxDropTarget |
| This class represents a target for a drag and drop operation. More... | |
| class | wxDropSource |
| This class represents a source for a drag and drop operation. More... | |
| class | wxTextDropTarget |
| A predefined drop target for dealing with text data. More... | |
| class | wxFileDropTarget |
| This is a drop target which accepts files (dragged from File Manager or Explorer). More... | |
Macros | |
| #define | wxDROP_ICON(name) |
This macro creates either a cursor (MSW) or an icon (elsewhere) with the given name (of type const char*). | |
Enumerations | |
| enum | { wxDrag_CopyOnly = 0 , wxDrag_AllowMove = 1 , wxDrag_DefaultMove = 3 } |
| Possible flags for drag and drop operations. More... | |
| enum | wxDragResult { wxDragError , wxDragNone , wxDragCopy , wxDragMove , wxDragLink , wxDragCancel } |
| Result returned from a wxDropSource::DoDragDrop() call. More... | |
Functions | |
| bool | wxIsDragResultOk (wxDragResult res) |
| Returns true if res indicates that something was done during a DnD operation, i.e. | |
| #define wxDROP_ICON | ( | name | ) |
This macro creates either a cursor (MSW) or an icon (elsewhere) with the given name (of type const char*).
Under MSW, the cursor is loaded from the resource file and the icon is loaded from XPM file under other platforms.
This macro should be used with wxDropSource::wxDropSource().
Include file:
#include <wx/dnd.h>
| anonymous enum |
| enum wxDragResult |
Result returned from a wxDropSource::DoDragDrop() call.
| bool wxIsDragResultOk | ( | wxDragResult | res | ) |
Returns true if res indicates that something was done during a DnD operation, i.e.
is neither error nor none nor cancel.