Function: widget-mouse-help

widget-mouse-help is a byte-compiled function defined in wid-edit.el.gz.

Signature

(widget-mouse-help WINDOW OVERLAY POINT)

Documentation

Help-echo callback for widgets whose :help-echo is a function.

Source Code

;; Defined in /usr/src/emacs/lisp/wid-edit.el.gz
(defun widget-mouse-help (_window overlay _point)
  "Help-echo callback for widgets whose :help-echo is a function."
  (with-current-buffer (overlay-buffer overlay)
    (let* ((widget (widget-at (overlay-start overlay)))
	   (help-echo (if widget (widget-get widget :help-echo))))
      (if (functionp help-echo)
	  (funcall help-echo widget)
	help-echo))))