Re: [ROOT] TRootBrowser: Browse OS directory

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon Jun 23 2003 - 12:50:08 MEST


Hi Christian,


On Sun, 2003-06-22 at 22:32, cstrato wrote:
> Dear Rooters
> 
> Since TRootBrowser is able to browse the system directories, I am
> trying to extract the code for  TGListTree in my own app.
> 
> I have already managed to display a system directory in TGListTree,
> but double-clicking does not show the contents.
> 

there is a cooperation between TSystemFile and TSystemDirectory and the
TRootBrowser to browse system file directories.

> It is not quite clear to me if some of the needed code is in other
> classes such as TBrowserImp, TBrowser, TGuiFactory??
> 
TBrowserImp is not needed, it is just an abstract interface to
TRootBrowser, TGuiFactory just creates a TRootBrowser for the TBrowser
and TBrowser delegates most of its work to the actual TRootBrowser,
except for the timer refreshing the browser.

You will have to look at TSystemFile and TSystemDirectory.

Cheers, Fons.


-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET