Message-ID: <1353090895263-4649780.post@n4.nabble.com>
Date: 2012-11-16T18:34:55Z
From: j verzani
Subject: GUI Development reg
In-Reply-To: <OF63CD3A2A.A5913A27-ON65257AB7.00233A5A-65257AB7.0023D44C@itc.in>
You can use the `gWidgets` package to do this kind of thing easily enough:
require(gWidgets)
my_vec <- character(0)
items <- state.name ## some values
handler <- function(h,...) my_vec <<- svalue(h$obj)
w <- gwindow()
g <- ggroup(cont=w, horizontal=FALSE)
## one way to select one or more from many
gcheckboxgroup(items, cont=g, use.table=TRUE, handler=handler)
--
View this message in context: http://r.789695.n4.nabble.com/GUI-Development-reg-tp4649569p4649780.html
Sent from the R help mailing list archive at Nabble.com.