Pick default widget type

DESCRIPTION:

Decides on the default widget type for one of the initial value components of the list passed in to the dialog.create function.

Note: This function is deprecated. For more information, see .

USAGE:

dialog.widget(value) 

REQUIRED ARGUMENTS:

value
a data item that is a component of the initial values list used in the creation of a dialog.

VALUE:

a character string to be used as a widget creation command in the dialog.create function.

DETAILS:

The dialog handling system understands certain commands that control the creation of various widgets within a dialog. This function returns the command name to be used for the creation of a specific widget in the dialog currently being created by dialog.create. This is called via an lapply function call in dialog.create, and is not intended for general use.

SEE ALSO:

EXAMPLES:

widgets <- lapply (values, dialog.widget)