Function: tree-widget-icon-help-echo

tree-widget-icon-help-echo is a byte-compiled function defined in tree-widget.el.gz.

Signature

(tree-widget-icon-help-echo ICON)

Documentation

Return the help-echo string of ICON.

If ICON :node is a leaf node it handles the :help-echo. The tree-widget parent of ICON handles the :help-echo otherwise.

Source Code

;; Defined in /usr/src/emacs/lisp/tree-widget.el.gz
(defun tree-widget-icon-help-echo (icon)
  "Return the help-echo string of ICON.
If ICON :node is a leaf node it handles the :help-echo.  The tree-widget
parent of ICON handles the :help-echo otherwise."
  (let* ((node (widget-get icon (if (tree-widget-leaf-node-icon-p icon)
                                    :node :parent)))
         (help-echo (widget-get node :help-echo)))
    (if (functionp help-echo)
        (funcall help-echo node)
      help-echo)))