Function: xwidget-at

xwidget-at is a byte-compiled function defined in xwidget.el.gz.

Signature

(xwidget-at POS)

Documentation

Return xwidget at POS.

Source Code

;; Defined in /usr/src/emacs/lisp/xwidget.el.gz
(defun xwidget-at (pos)
  "Return xwidget at POS."
  ;; TODO this function is a bit tedious because the C layer isn't well
  ;; protected yet and xwidgetp apparently doesn't work yet.
  (let* ((disp (get-text-property pos 'display))
         (xw (car (cdr (cdr  disp)))))
    ;;(if (xwidgetp  xw) xw nil)
    (if (equal 'xwidget (car disp)) xw)))