Text entry field to manipulate a string variable

Description

entry creates a text entry field twiddlerControl for manipulating a string variable. The variable is updated on each keypress or when the input focus enters or leaves the text field. See the eval parameter for details.

Usage

1
2
  entry(default = "", label = as.character(NA),
    length = 38, eval = "key")

Arguments

default

The default string to display in the entry, default to "".

label

The text label of the entry.

length

The length of the entry in characters, defaults to 38.

eval

When to update the string variable manipulated by this entry. Possible values for this parameter are: "key" - update on every keystroke (the default), "focus" - update when the entry loses focus, or "return" - update when the return key is pressed.

Value

An object of class twiddlerControl.

See Also

twiddle