15   const char *current = 
gROOT->GetMacroPath();
 
   19   bar->
AddButton(
"Help Demos",    
".x demoshelp.C",          
"Click Here For Help on Running the Demos");
 
   20   bar->
AddButton(
"browser",       
"new TBrowser;",           
"Start the ROOT Browser");
 
   21   bar->
AddButton(
"framework",     
".x visualisation/graphics/framework.C", 
"An Example of Object Oriented User Interface");
 
   22   bar->
AddButton(
"first",         
".x visualisation/graphics/first.C",     
"An Example of Slide with Root");
 
   23   bar->
AddButton(
"hsimple",       
".x hsimple.C",            
"An Example Creating Histograms/Ntuples on File");
 
   24   bar->
AddButton(
"hsum",          
".x hist/hist007_TH1_liveupdate.C",  
"Filling and live update of histogram");
 
   25   bar->
AddButton(
"formula1",      
".x visualisation/graphics/formula1.C",  
"Simple Formula and Functions");
 
   26   bar->
AddButton(
"surfaces",      
".x visualisation/graphics/surfaces.C",    
"Surface Drawing Options");
 
   27   bar->
AddButton(
"fillrandom",    
".x hist/hist001_TH1_fillrandom.C",   
"Histograms with Random Numbers from a Function");
 
   28   bar->
AddButton(
"fit1",          
".x math/fit/fit1.C", 
"A Simple Fitting Example");
 
   29   bar->
AddButton(
"multifit",      
".x math/fit/multifit.C", 
"Fitting in Subranges of Histograms");
 
   30   bar->
AddButton(
"h1ReadAndDraw", 
".x hist/hist015_TH1_read_and_draw.C", 
"Drawing Options for 1D Histograms");
 
   31   bar->
AddButton(
"graph",         
".x visualisation/graphs/gr001_simple.C",  
"Example of a Simple Graph");
 
   32   bar->
AddButton(
"gerrors",       
".x visualisation/graphs/gr002_errors.C",  
"Example of a Graph with Error Bars");
 
   33   bar->
AddButton(
"tornado",       
".x visualisation/graphics/tornado.C",   
"Examples of 3-D PolyMarkers");
 
   34   bar->
AddButton(
"geometry",      
".x visualisation/geom/rootgeom.C",      
"Example of TGeoManager drawing");
 
   35   bar->
AddButton(
"file",          
".x io/file.C",            
"The ROOT File Format");
 
   36   bar->
AddButton(
"fildir",        
".x io/fildir.C",          
"The ROOT File, Directories and Keys");
 
   37   bar->
AddButton(
"tree",          
".x legacy/tree/tree.C",   
"The Tree Data Structure");
 
   38   bar->
AddButton(
"ntuple1",       
".x io/tree/tree120_ntuple.C", 
"Ntuples and Selections");
 
   39   bar->
AddButton(
"benchmarks",    
".x legacy/benchmarks.C",  
"Runs several tests and produces an benchmark report");
 
   40   bar->
AddButton(
"rootmarks",     
".x legacy/rootmarks.C",   
"Prints an Estimated ROOTMARKS for Your Machine");
 
R__EXTERN TSystem * gSystem
A Control Bar is a fully user configurable tool which provides fast access to frequently used operati...
void Show()
Show control bar.
void SetButtonWidth(UInt_t width)
Sets the width in pixels for control bar button.
void AddButton(TControlBarButton *button)
Add button.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
virtual TString GetDirName(const char *pathname)
Return the directory name in pathname.