Function: widget-apply-action

widget-apply-action is a byte-compiled function defined in wid-edit.el.gz.

Signature

(widget-apply-action WIDGET &optional EVENT)

Documentation

Apply :action in WIDGET in response to EVENT.

Source Code

;; Defined in /usr/src/emacs/lisp/wid-edit.el.gz
(defun widget-apply-action (widget &optional event)
  "Apply :action in WIDGET in response to EVENT."
  (if (widget-apply widget :active)
      (widget-apply widget :action event)
    (error "Attempt to perform action on inactive widget")))