tkSelectVariable {GCDkit}R Documentation

TclTk GUI: Select a single variable

Description

Function to select a single variable using the Tcl/Tk-based Graphical User Interface (GUI).

Usage

tkSelectVariable(top.frame = NULL, where = colnames(WR), preselect = 2, 
    pack = FALSE, message = "Select a variable", background = "wheat", 
    variable = "x", on.leave = function() {}, row = 0, column = 0, height = 15, 
    width = 50, buttons = FALSE, state = "normal")

Arguments

top.frame

name of the parental frame

where

character; names of variables to be chosen from

preselect

numeric; which item is to be preselected

pack

logical; pack the frame?

message

character; textual prompt

background

colour for the frame background

variable

character; variable name with the output

on.leave

function to be invoked upon leave

row, column

coordinates within the parental frame

height, width

size of the frame

buttons

logical; should the frame have also buttons?

state

???

Details

The buttons are: Reset, SortUp, SortDown, OK, Cancel.

Author(s)

Vojtěch Janoušek, vojtech.janousek@geology.cz

See Also

tcltk-package


[Package GCDkit version 6.1 Index]