Function: pdf-util-tooltip-in-window
pdf-util-tooltip-in-window is a natively compiled function defined in
pdf-util.el.
Signature
(pdf-util-tooltip-in-window TEXT X Y &optional WINDOW)
Source Code
;; Defined in /nix/store/63h5z2vmzn0mfavcxi2idi23g5xcgkbl-emacs-packages-deps/share/emacs/site-lisp/elpa/pdf-tools-20260102.1101/pdf-util.el
(defun pdf-util-tooltip-in-window (text x y &optional window)
(let* ((we (window-inside-absolute-pixel-edges window))
(dx (round (+ x (nth 0 we))))
(dy (round (+ y (nth 1 we))))
(tooltip-frame-parameters
`((left . ,dx)
(top . ,dy)
,@tooltip-frame-parameters)))
(tooltip-show text)))