Function: tree-widget-button-click
tree-widget-button-click is an interactive and byte-compiled function
defined in tree-widget.el.gz.
Signature
(tree-widget-button-click EVENT)
Documentation
Move to the position clicked on, and if it is a button, invoke it.
EVENT is the mouse event received.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/tree-widget.el.gz
;;; Widgets
;;
(defun tree-widget-button-click (event)
"Move to the position clicked on, and if it is a button, invoke it.
EVENT is the mouse event received."
(interactive "e")
(mouse-set-point event)
(let ((pos (widget-event-point event)))
(if (get-char-property pos 'button)
(widget-button-click event))))