gmessage: A simple message dialog.

Description Usage Arguments Value Examples

View source: R/gdialogs.R

Description

A simple message dialog.

Usage

1
gmessage(message, title = "message", icon = NULL, parent = NULL, ...)

Arguments

message

main message.

title

Title for dialog's window

icon

icon to decorate dialog. One of c("info", "warning", "error", "question").

parent

parent container (the main window instance)

...

ignored

Value

return value ignored

Examples

1
2
3
4
w <- gwindow()
gbutton("click me for a message", cont=w, handler=function(h,...) {
gmessage("Hello there", parent=w)
})

jverzani/gWidgetsWWW2 documentation built on May 18, 2017, 2 p.m.