tk_messageBox             package:tcltk             R Documentation

_T_k _M_e_s_s_a_g_e _B_o_x

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

     An implementation of a generic message box using Tk

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

     tk_messageBox(type = c("ok", "okcancel", "yesno", "yesnocancel",
                            "retrycancel", "aburtretrycancel"),
                   message, caption = "", 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.

 caption: the caption on the widget displayed.

 default: character. The name of the button to be used as the default.

     ...: additional named arguments to be passed to the Tk function of
          this name.  An example is 'icon="warning"'.

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

     A character string giving the name of the button pressed.

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

     'tkmessageBox' for a 'raw' interface.

