tk.value: Tk interface utilities

Description Usage Arguments Value Author(s)

Description

This function prompt for a single value in a Tcl-tk interface.

Usage

1
2
  tk.value(parent = NULL, type = c("character", "integer", "double"),
    title = "Enter a value", default = "", allowEmpty = FALSE)

Arguments

parent

Tcl-tk top-level to bind the popup window to.

type

Single character value defining the type of the expected value.

title

Single character value that will be displayed as the title of the popup window.

default

Single value that will be used as default.

allowEmpty

Single logical value, whether to raise an error if the user does not provide any value or not.

Value

Returns the entered value, casted to type.

Author(s)

Sylvain Mareschal


cghRA documentation built on May 2, 2019, 3:34 a.m.