guiDlgMessage {svDialogs}R Documentation

Display a message box

Description

A classical message box with icon, text, and one to three buttons

Usage

guiDlgMessage(message, title = "Message",
    type = c("ok", "okcancel", "yesno", "yesnocancel"),
    default = 1, icon = c("info", "question", "error", "warning"), parent = 0,
    GUI = getOption("guiWidgets"))

Arguments

message the message to display in the dialog box
title the title of the dialog box
type the type of dialog box: ok, okcancel, yesno or yesnocancel
default the default button (if more than one)
icon the icon: info, question, error or warning
parent the parent of this dialog box (not implemented yet)
GUI which GUI widgets do you want to use (tcltk ...)

Value

A string with the caption of the button that the user pressed.

Author(s)

Philippe Grosjean (phgrosjean@sciviews.org)

See Also

guiDlgInput

Examples

#### TO DO...

[Package svDialogs version 0.9-42 Index]