tk_messageBox {tcltk} | R Documentation |
An implementation of a generic message box using Tk.
tk_messageBox(type = c("ok", "okcancel", "yesno", "yesnocancel", "retrycancel", "abortretryignore"), message, caption = "", default = "", ...)
type |
character. The type of dialog box. It will have the buttons implied by its name. Can be abbreviated. |
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 |
A character string giving the name of the button pressed.
tkmessageBox
for a ‘raw’ interface.