widget-convert-button

widget-convert-button is a compiled Lisp function in `wid-edit.el'.

(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.