Function: widget-convert-button
widget-convert-button is a byte-compiled function defined in
wid-edit.el.gz.
Signature
(widget-convert-button TYPE FROM TO &rest ARGS)
Documentation
Return a widget of type TYPE with endpoint FROM TO.
Optional ARGS are extra keyword arguments for TYPE. No text will be inserted to the buffer, instead the text between FROM and TO will be used as the widgets end points, as well as the widgets button end points.
Source Code
;; Defined in /usr/src/emacs/lisp/wid-edit.el.gz
(defun widget-convert-button (type from to &rest args)
"Return a widget of type TYPE with endpoint FROM TO.
Optional ARGS are extra keyword arguments for TYPE.
No text will be inserted to the buffer, instead the text between FROM
and TO will be used as the widgets end points, as well as the widgets
button end points."
(apply 'widget-convert-text type from to from to args))