[R] gWidgets - gtable returning multiple values

michaelyb cel81009759 at gmail.com
Wed Jun 13 18:55:52 CEST 2012


Hello,

I am having some trouble finding a solution for a probleIm I am facing with
the package gWidgets.

Here is the code:

flavors<-c("vanilla", "chocolate", "strawberry")

f<-function(h,...)print(svalue(h$obj))

w <- gwindow("checkbox example")
gp <- ggroup(container=w)
glabel("Favorite flavors:",cont=gp)
cbg <- gtable(flavors, cont=gp, handler=f,multiple=T)

I get only 1 value, instead of all of the selected values. Does anybody know
how to return all the selected values?

Any help will be greatly appreciated! 
Thanks in advance


--
View this message in context: http://r.789695.n4.nabble.com/gWidgets-gtable-returning-multiple-values-tp4633296.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list