Function: widget-get
widget-get is an autoloaded and byte-compiled function defined in
wid-edit.el.gz.
Signature
(widget-get WIDGET PROPERTY)
Documentation
In WIDGET, get the value of PROPERTY.
The value could either be specified when the widget was created, or
later with widget-put.
Source Code
;; Defined in /usr/src/emacs/lisp/wid-edit.el.gz
;;;###autoload
(defun widget-get (widget property)
"In WIDGET, get the value of PROPERTY.
The value could either be specified when the widget was created, or
later with `widget-put'."
(let (value)
(while (and widget
(let ((found (plist-member (cdr widget) property)))
(cond (found
(setq value (cadr found))
nil)
(t
(setq widget (get (widget-type widget) 'widget-type))
t)))))
value))