[ROOT] TGFileInfo

From: Antonio Kanaan (kanaan@astro.ufsc.br)
Date: Tue May 01 2001 - 13:54:09 MEST


Hello,

I am trying to read about TGFileInfo but I can't get to the docs:

Not Found

The requested URL /root/htmldoc/TGFileInfo.html was not found on this server.


Apache/1.3.9 Server at root.cern.ch Port 80

In particular I am studying the guitest.cxx example on the test
directory and am trying to read a file adding a few lines to the Open
option in the File menu:

                  case M_FILE_OPEN:
                     {
                        TGFileInfo fi;
                        fi.fFileTypes = (char **)filetypes;
                        new TGFileDialog(fClient->GetRoot(), this, kFDOpen,&fi);
                        printf("%s\n",fi.fFileName);
                     }
                     break;

when compiling I get this error message:

a.cxx: In method `Bool_t TestMainFrame::ProcessMessage(Long_t, Long_t, Long_t)':
a.cxx:474: `class TGFileInfo' has no member named `fFileName'


Any suggestion?  Thanks.


Antonio



Antônio Kanaan
Departamento de Física - Universidade Federal de Santa Catarina
CP 476 --  CEP 88040-900  --  Florianópolis  --  SC  --  Brasil
http://www.astro.ufsc.br/~kanaan   e-mail: kanaan@astro.ufsc.br
Phone: 55,48,3319069                       FAX  : 55,48,3319946



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:44 MET