Datum: 09.08.2006 23:19

> I think you want something like this:
> 
>   require(tcltk) || stop("Package tcltk is not available.")
>   version.BWidget <- tclvalue(tclRequire("BWidget"))
> 
>   modify_command <- function() {
>     print("Hey, I'm modified...")
>   }
> 
>   tt <- tktoplevel()
> 
>   values = c("foo", "bar", "jeebee")
>   combo <- tkwidget(tt, "ComboBox", "-modifycmd", 
>                     modify_command, values=values)
>   tkgrid(combo)

That is exactly what I was looking for! Thanks

______________________________________________
[email protected] 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