Prompt for a value matching widget, using prompt.
The current value is assumed to be value, unless unbound is
Get the item which widget is assumed to toggle. This is only meaningful for radio buttons or checkboxes in a list.
Prompt the user to choose an item from a list of options.
title is the name of the list of options. items should be
a menu, with its items in the simple format or in the extended format.
See Defining Menus in the Emacs Lisp Reference
Manual. Independently of the format, you don’t have to provide a
title for the menu, just pass the desired title in title. The
optional event is an input event. If event is a mouse
event and the number of elements in items is less than the user
widget-choose uses a
popup menu to prompt the user. Otherwise,
When items is a keymap menu, the returned value is the symbol in
the key vector, as in the argument of
(see Changing Key Bindings in the Emacs Lisp Reference
Manual). When items is a list whose selectable items are of
the form (name . value) (i.e., the simplified format),
then the return value is the value of the chosen element.