speedbar-make-button

speedbar-make-button is a compiled Lisp function in `speedbar.el'.

(speedbar-make-button START END FACE MOUSE FUNCTION &optional TOKEN)

Create a button from START to END, with FACE as the display face.
MOUSE is the mouse face. When this button is clicked on FUNCTION
will be run with the TOKEN parameter (any Lisp object). If FACE
is t use the text properties of the string that is passed as an
argument.