dnd_done()
This function is called by the application that is receiving the drop. It is called after
the drop operation is completed. The function informs the toolkit that the drag and
drop operation has been completed.
dnd_done(sel_object)
Selection_requestor sel_object;
sel_object is the Selection_requestor object that was previously passed
into dnd_decode_drop().
dnd_is_forwarded()
Allows applications to detect when a drop event has been forwarded from some other
drop-site. Generally this happens when the user drops on the window manager’s decor
window or on an icon with the attribute DROP_SITE_DEFAULT set. The corresponding
preview/drop event will have the flags field set with the DND_FORWARDED flag. This is
tested for by using dnd_is_forwarded(event).
In general, if the application handles previewing, it should check to see if the preview
event was forwarded and not invert/highlight the drop site.
dnd_is_forwarded(event)
dnd_is_local()
Returns whether the ACTION_DRAG_COPY or ACTION_DROP_MOVE event was generated
locally within the client.
dnd_is_local(event)
dnd_send_drop()
This initiates a drag. After the drag and drop object is created, an application calls
dnd_send_drop(). This changes the cursor to the drag cursor, sends preview
events to valid drop-sites and sends the trigger event (if a valid drop-site is dropped
on). Trigger events are either ACTION_DRAG_COPY or ACTION_DRAG_MOVE.
A drag operation can be aborted by hitting the STOP key, or its equivalent.
dnd_send_drop() reverts the drag cursor ...