[R] setvalue of a combobox

From: Andreas Posch <andreas.posch_at_boku.ac.at>
Date: Tue, 17 Jun 2008 10:52:02 +0200


if I wanted to set the value of a combobox

tt <- tktoplevel()
box <- tkwidget(tt,"ComboBox",values=c(1,2,3)) tkgrid(box)
tcl(box,"setvalue","first")

does anybody know how I would access an index other than the first? as second, and numbers do not work..

thanks in advance

Andreas Posch



R-help_at_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. Received on Tue 17 Jun 2008 - 08:57:00 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 17 Jun 2008 - 10:30:42 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive