Next: The variable-link Widget, Previous: The info-link Widget, Up: Basic Types   [Contents][Index]


8.1.6 The function-link Widget

Syntax:

type ::= (function-link [keyword argument]...  function)

A widget to represent a link to an Emacs function. Its super is the link widget.

It overrides the :action property, to a function to describe function.

Example:

(widget-create 'function-link
               :button-prefix ""
               :button-suffix ""
               :tag "Describe the function that gets called"
               #'widget-function-link-action)