Function: pgtk-dnd-handle-drag-n-drop-event

pgtk-dnd-handle-drag-n-drop-event is an interactive and byte-compiled function defined in pgtk-dnd.el.gz.

Signature

(pgtk-dnd-handle-drag-n-drop-event EVENT)

Documentation

Receive drag and drop events (X client messages).

Currently XDND, Motif and old KDE 1.x protocols are recognized.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/pgtk-dnd.el.gz
(defun pgtk-dnd-handle-drag-n-drop-event (event)
  "Receive drag and drop events (X client messages).
Currently XDND, Motif and old KDE 1.x protocols are recognized."
  (interactive "e")
  (let* ((client-message (car (cdr (cdr event))))
	 (window (posn-window (event-start event)))
         (frame (if (framep window)
                    window
                  (window-frame window))))
    (pgtk-dnd-handle-gdk event frame window client-message)))