Variable: widget-keymap

widget-keymap is a variable defined in wid-edit.el.gz.

Value

<backtab>            widget-backward
<down-mouse-1>       widget-button-click
<down-mouse-2>       widget-button-click
<touchscreen-begin>  widget-button-click
C-M-i                widget-backward
RET                  widget-button-press
S-<tab>              widget-backward
TAB                  widget-forward

Documentation

Keymap containing useful binding for buffers containing widgets.

Recommended as a parent keymap for modes using widgets. Note that such modes will need to require wid-edit.

Source Code

;; Defined in /usr/src/emacs/lisp/wid-edit.el.gz
;;;###autoload
(defvar widget-keymap
  (let ((map (make-sparse-keymap)))
    (define-key map "\t" 'widget-forward)
    (define-key map "\e\t" 'widget-backward)
    (define-key map [(shift tab)] 'widget-backward)
    (put 'widget-backward :advertised-binding [(shift tab)])
    (define-key map [backtab] 'widget-backward)
    (define-key map [down-mouse-2] 'widget-button-click)
    (define-key map [down-mouse-1] 'widget-button-click)
    (define-key map [touchscreen-begin] 'widget-button-click)
    ;; The following definition needs to avoid using escape sequences that
    ;; might get converted to ^M when building loaddefs.el
    (define-key map [(control ?m)] 'widget-button-press)
    map)
  "Keymap containing useful binding for buffers containing widgets.
Recommended as a parent keymap for modes using widgets.
Note that such modes will need to require wid-edit.")