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

Description Usage Arguments Value See Also

View source: R/dialogs.R

Description

Constructor for modal dialog to collect a line of text

generic for toolkit dispatch

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
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


gWidgets2 documentation built on Jan. 11, 2022, 1:07 a.m.