\HeaderA{tk\_messageBox}{Tk Message Box}{tk.Rul.messageBox}
\keyword{utilities}{tk\_messageBox}
\begin{Description}\relax
An implementation of a generic message box using Tk
\end{Description}
\begin{Usage}
\begin{verbatim}
tk_messageBox(type = c("ok", "okcancel", "yesno", "yesnocancel",
                       "retrycancel", "aburtretrycancel"),
              message, caption = "", default = "", ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{type}] character. The type of dialog box. It will have the
buttons implied by its name.
\item[\code{message}] character. The information field of the dialog box.
\item[\code{caption}] the caption on the widget displayed.
\item[\code{default}] character. The name of the button to be used as the
default.
\item[\code{...}] additional named arguments to be passed to the Tk
function of this name.  An example is \code{icon="warning"}.
\end{ldescription}
\end{Arguments}
\begin{Value}
A character string giving the name of the button pressed.
\end{Value}
\begin{SeeAlso}\relax
\code{\LinkA{tkmessageBox}{tkmessageBox}} for a \sQuote{raw} interface.
\end{SeeAlso}

