Next: , Previous: , Up: Drag and Drop   [Contents][Index]


32.2 Drop Interface

For each activated low-level protocol, an internal routine will catch incoming drops and convert them to a dragdrop-drop type misc-user-event.

This misc-user-event has its function argument set to dragdrop-drop-dispatch and the object contains the data of the drop (converted to URL/MIME specific data). This function will search the variable experimental-dragdrop-drop-functions for a function that can handle the dropped data.

To modify the drop behavior, the user can modify the variable experimental-dragdrop-drop-functions. Each element of this list specifies a possible handler for dropped data. The first one that can handle the data will return t and exit. Another possibility is to set a extent-property with the same name. Extents are checked prior to the variable.

The customization group drag-n-drop shows all variables of user interest.