hi, what I want to do is put a function result(output) into gtext area.
short example is following,

require("gWidgetstcltk")
options(guiToolkit = "tcltk")

win<-gwindow()
input<-gedit("",con=win)
run<-gbutton("run",con=win,handler=function(h,...){
y<<-as.numeric(svalue(input))+1
})
outarea<-gtext("",con=win)


in this case, I want to put "y" value into "outarea" whenever click the
"run" button.
specifically, I want to solve this problem by gWidgetstcltk.

Thanks

--
View this message in context: 
http://r.789695.n4.nabble.com/gWidgetstcltk-gtext-problem-tp4522879p4522879.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to