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.

