[BioC] widgetTools wFuns problem

mattia mattia.pelizzola at unimib.it
Thu Feb 2 12:03:13 CET 2006


Hi,

I have a problem with widgetTools.
I created a simple button that I would like to be associated with the 
"fileBrowser" function (returning a vector of file names).

>library(tkWidgets) 
>browserButton<-button(wName="browserButton",wValue="Browse",wEnv=globalenv(),wFuns=list(command=fileBrowser))
> browserList<-list(browser=list(browserButton=browserButton))
> test<-widget(wTitle="test",pWidgets=browserList,env=globalenv())

.. fileBrowser seems to work fine, I select some files, but I'm not able to 
retrieve the "returned" vector of file names..

> test at pWidgets[[1]][[1]]@wValue
[1] "Browse"

Where does the file-names disappear?

this is my configuration:

R version 2.1.1, 2005-06-20, x86_64-unknown-linux-gnu

attached base packages:
[1] "tools"     "tcltk"     "methods"   "stats"     "graphics"  "grDevices"
[7] "utils"     "datasets"  "base"

other attached packages:
  tkWidgets      DynDoc  reposTools widgetTools
   "1.5.23"     "1.5.5"    "1.5.19"     "1.4.7"


thanks for any suggestion!

Mattia


-- 
Mattia Pelizzola
PhD Student
Genopolis Consortium
Milano-Bicocca University
P.zza della Scienza 4
20126 Milano (Italy)
tel:+390264483556
fax:+390264483552



More information about the Bioconductor mailing list