| tkSelectVariable {GCDkit} | R Documentation | 
Function to select a single variable using the Tcl/Tk-based Graphical User Interface (GUI).
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")
| 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 | character; either 'normal' or 'disabled' | 
The buttons are: Reset, SortUp, SortDown, OK, Cancel.
Vojtěch Janoušek, vojtech.janousek@geology.cz