Learn R Programming

svDialogs (version 0.9-41)

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.

See Also

display, guiEval, guiPane.tcltk

Examples

Run this code
### TO DO...

Run the code above in your browser using DataLab