Example

Here is a very simple example, demonstrating a drag and drop Copy operation:

Figure 15.1. Drag and Drop

Source Code

There is a more complex example in examples/dnd.