[ROOT] GUI for Object browsing

From: Anthony A. Faust (afaust@dres.dnd.ca)
Date: Tue Oct 17 2000 - 19:57:28 MEST


	I Have a *.root file which contains a number of objects for
analysis. In my GUI I would like to open a file with a TGFileDialog, such
as in dialogs.C,

      TGFileInfo fi;
      fi.fFileTypes = (char **)filetypes;
      new TGFileDialog(fClient->GetRoot(),this,kFDOpen,&fi);
      TFile* rf = new TFile( (char*)fi.fFilename );

but then I would like to select an object contained in the file in a
similar fashion, with just a double click which returns a TObject* which I
could them cast to my analysis type.

	Is there a way to leverage the existing root classes to accomplish
this?
	
	Thanks.
			Anthony Faust



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:35 MET