I get strange behavior when a GUI has more than one list box.  Variable
selection between the two boxes appears to be mutually exclusive!

So, for the contrived example below:

library(tcltk)
>
> root = tktoplevel()
>
> foo = c("foo","bar", "baz", "quux")
>
> foo.list <- tclVar()
>
> tclObj(foo.list) <- foo
>
> foo.lb <- tklistbox(root, height = 5, listvariable = foo.list)
>
>
> tkpack(foo.lb)
>
>
> bar = c("one","two", "three", "four")
>
> bar.list <- tclVar()
>
> tclObj(bar.list) <- bar
>
> bar.lb <- tklistbox(root, listvariable = bar.list)
>
> tkpack(bar.lb)
>
>
I cannot select items in both list boxes at the same time.  Selecting items
in one unselects all the items of the other.

Am I doing something wrong, or is this a bug?  If the former, what did I
screw up?

Cheers,

Mark
-- 
I'm taking reality in small doses to build immunity.

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to