--
> John Fox, Professor
> McMaster University
> Hamilton, Ontario
> Canada L8S 4M4
> Web: socserv.mcmaster.ca/jfox
>
>
> > -Original Message-
> > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of
> Dalthorp,
> > Daniel
> >
1:42 PM
> To: r-help@R-project.org (r-help@r-project.org)
> Subject: [R] tcltk: click and return table cell index
>
> I'm struggling mightily with what should be a simple task...when a user clicks
> on a cell in a tcltk table widget, I need to know which cell was c
I'm struggling mightily with what should be a simple task...when a user
clicks on a cell in a tcltk table widget, I need to know which cell was
clicked.
One idea that gives a cryptic error:
tkbind(table1, "", function(x, y){
tcl(table1, "index", x, y)
}
# x, y give pixel coordinates; "index" sh
3 matches
Mail list logo