winDialog                package:base                R Documentation

_D_i_a_l_o_g _B_o_x_e_s _u_n_d_e_r _W_i_n_d_o_w_s

_D_e_s_c_r_i_p_t_i_o_n:

     Put up a Windows dialog box to communicate with the user. There
     are various types, either for the user to select from a set of
     buttons or to edit a string.

_U_s_a_g_e:

     winDialog(type = c("ok", "okcancel", "yesno", "yesnocancel"), message)
     winDialogString(message, default)

_A_r_g_u_m_e_n_t_s:

    type: character. The type of dialog box. It will have the buttons
          implied by its name.

 message: character. The information field of the dialog box.

 default: character. The default string.

_V_a_l_u_e:

     For `winDialog' a character string giving the name of the button
     pressed (in capitals) or `NULL' (invisibly) if the user had no
     choice.

     For `winDialogString' a string giving the contents of the text box
     when `Ok' was pressed, or `NULL' if `Cancel' was pressed.

_N_o_t_e:

     The standard keyboard accelerators work with these dialog boxes:
     where appropriate `Return' accepts the default action, `Esc'
     cancels and the underlined initial letter (`Y' or `N') can be
     used.

_S_e_e _A_l_s_o:

     `winMenus'
     `file.choose' to select a file
     package `windlgs' in the package source distribution for ways to
     program dialogs in C in the `GraphApp' toolkit.

_E_x_a_m_p_l_e_s:

     winDialog("yesno", "Is it OK to delete file blah")

