# only a update the R code (with strange behavior)
library( tcltk ); tclRequire( "Tktable" )
top <- tktoplevel()
tcl('variable', 'myarray')
tcl('array', 'unset', 'myarray')
x <- 0
tabCmd <- function() {
x <<- x + 1
return( as.tclObj( paste(x) ) )
}
tab <- tkwidget( top, 'table', rows=2,
How to capture the output from the "command" option of tktable and how
to send input to it?
As far as I understand, the most appropriate way to use the tktable is
through the flag usecommand and command.
It fires the string information and cell coordinates and wait for a new
string to set a
2 matches
Mail list logo