EditText: GUI: Edit Text

Description Usage Arguments Value Author(s) Examples

Description

A graphical user interface (GUI) for viewing and editing text.

Usage

1
2
EditText(txt, read.only = FALSE, win.title = "View Text",
  is.fixed.width.font = FALSE, parent = NULL)

Arguments

txt

character. Text used to populate the window.

read.only

logical. Specifies whether the text is read only.

win.title

character. Title of the dialog box.

is.fixed.width.font

logical. Specifies whether a fixed-width font be used.

parent

tkwin. GUI parent window

Value

Returns an object of class character with edited text.

Author(s)

J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
  txt <- c("\"Hills cherish the ambition",
           "    to turn into partial",
           "   differential equations\"",
           "",
           "        -Donald Hall")
  new.txt <- EditText(txt, is.fixed.width.font = TRUE)

  EditText(txt, read.only = TRUE)

## End(Not run)

USGS-R/RSurvey documentation built on May 9, 2019, 6:10 p.m.