Re: TSystemFile::Browse()

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon Nov 02 1998 - 17:45:50 MET


Hi Faouzi,

   the TSystemFile class is internally used by the TBrowser to represent
files. Don't use this class by hand. To access the file system via the TBrowser
just create a browser (new TBrowser) and click on the entry /home/xxxx. There
you
will see the TSystemFile objects. Double clicking on an icon executes the action
specified in the mime types file.

Cheers, Fons.



Faouzi Attallah wrote:
> 
> Hi
> 
> I tryed unsuccessfully  to use the browser and $Home/.root.mimes or
> $ROOTSYS/root.mimes, to open files according to their type (ps, txt...).
> I used
> 
>   TSystemFile tsf = new TSystemFile() ;
>   TBrowser *br = new TBrowser() ;
>   tsf.Browse (br) ;
> 
> Something is wrong !
> 
> Greetings,
> 
> F. Attallah
> GSI mbH
> Planckstr 1
> D-64291 Darmstadt
>   Tel: +49 (0)6159 71 2142
>   Fax: +49 (0)6159 71 2901
> Email: F.Attallah@gsi.de
>          attallah@axp605.gsi.de
>                  @clri6f.gsi.de

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:39 MET