Learn R Programming

svDialogs (version 0.9-50)

guiDlg: Create a flexible dialog box

Description

This function creates a flexible dialog boxe, constituted by one or several 'panes'

Usage

guiDlg(title = "Input", message = NULL, help = NULL, sep = NULL, width = 50,
    labelwidth = 0, panes = list(list(type = "entry", message = "Enter data:",
    default = NULL)), GUI = getOption("guiWidgets"))

## S3 method for class 'guiDlg':
display(x, parent = 0, GUI = getOption("guiWidgets"),
    debug = FALSE, ...)

Arguments

title
the title of the dialog box.
message
the message to display on top of the dialog box.
help
the help topic to trigger with the button 'help'.
sep
do we use separators?
width
the width of the dialog box.
labelwidth
the width reserved for labels.
panes
a list with the panes to add to this flexible dialog box.
GUI
which GUI toolkit do we use to display this dialog box?
x
a guiDlg object that accepts a display method
parent
which window is the perent of this flexible dialog box?
debug
do we debug this dialog box?
...
further arguments passed to the display method.

Value

  • Returns a guiDlg object that can be shown using display method.

concept

GUI API dialog boxes

See Also

display, guiEval, guiPane.tcltk

Examples

Run this code
### TODO...

Run the code above in your browser using DataLab