Function: semantic-displayer-tooltip-show
semantic-displayer-tooltip-show is a byte-compiled function defined in
complete.el.gz.
Signature
(semantic-displayer-tooltip-show TEXT)
Documentation
Display a tooltip with TEXT near cursor.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/complete.el.gz
(defun semantic-displayer-tooltip-show (text)
"Display a tooltip with TEXT near cursor."
(let ((point-pix-pos (semantic-displayer-point-position))
(tooltip-frame-parameters
(append tooltip-frame-parameters nil)))
(push
(cons 'left (+ (car point-pix-pos) (frame-char-width)))
tooltip-frame-parameters)
(push
(cons 'top (+ (cdr point-pix-pos) (frame-char-height)))
tooltip-frame-parameters)
(tooltip-show text)))