guiDlgText: A simple text display/editor window
Description
Display or edit the content of ASCII files.Usage
guiDlgText(text, file = NULL, title = deparse(substitute(text)), edit = TRUE,
submit = TRUE, parent = -1, GUI = getOption("guiWidgets"))Arguments
file
the name of a file, if the text is contained in a file.
title
the title of the window.
edit
do we allow to edit this text?
submit
if this text is R code, allow to submit it to R.
parent
which window is the parent of this text window?
GUI
which GUI toolkit to use to display this window?
Value
- The modified text, or the path to the file containing the modified text.
concept
GUI API dialog boxes