Function: widget-create

widget-create is an autoloaded and byte-compiled function defined in wid-edit.el.gz.

Signature

(widget-create TYPE &rest ARGS)

Documentation

Create widget of TYPE.

The optional ARGS are additional keyword arguments.

Source Code

;; Defined in /usr/src/emacs/lisp/wid-edit.el.gz
;;; Creating Widgets.

;;;###autoload
(defun widget-create (type &rest args)
  "Create widget of TYPE.
The optional ARGS are additional keyword arguments."
  (let ((widget (apply #'widget-convert type args)))
    (widget-apply widget :create)
    widget))