Learn R Programming

gWidgets2 (version 1.0-9)

ginput: Constructor for modal dialog to collect a line of text

Description

Constructor for modal dialog to collect a line of text

generic for toolkit dispatch

Usage

ginput(
  msg,
  text = "",
  title = "Input",
  icon = c("info", "warning", "error", "question"),
  parent = NULL,
  ...,
  toolkit = guiToolkit()
)

.ginput( toolkit, msg, text = "", title = "Input", icon = c("info", "warning", "error", "question"), parent = NULL, ... )

Arguments

msg

Character. Message to display.

text

Character. Initial text

title

Character. Title of window

icon

which icon to display

parent

gives hint as to where to place dialog

...

ignored

toolkit

toolkit

Value

value typed into box or character(0)

See Also

gmessage, gconfirm, gbasicdialog, galert