Learn R Programming

SciViews (version 0.8-8)

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"))

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?

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