Displaying 1 result from an estimated 1 matches for "tcl1".
Did you mean:
tcl
2008 Oct 30
1
tklistbox selection
Hi,
I'm posting yet another question about tcltk since I'm still struggling
with the package. I'm trying to create a tklistbox and a ttkcombobox on
the same parent and am having a problem. Here's an example:
library(tcltk)
tt <- tktoplevel()
tcl1 <- tclVar()
tcl2 <- tclVar()
tclObj(tcl1) <- letters[1:5]
tclObj(tcl2) <- LETTERS[1]
tb1 <- tklistbox(tt, listvariable = tcl1,
selectmode = "multiple")
tb2 <- ttkcombobox(tt, values = LETTERS[1:2],
textvariable = tcl2)
tkpack(tb1, tb...