Re: [ROOT] echo mouse click events on CINT command line?

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Mar 12 2004 - 02:00:58 MET


Hi Jianglai,

  you get this when you use the TTreeViewer. Right click on a TTree or
TNtuple in the TBrowser and select StartViewer, using this tree viewer
the commands are echoed to stdout. You can also start the viewer doing:
tree->StartViewer().

-- Fons



  
On Thu, 2004-03-11 at 20:54, Jianglai Liu wrote:
> Dear Rooters,
> 
> This is a very dump question. Is there an easy way to set up ROOT to
> display the actual commands that being launched by any mouse click, like
> in TBrowser if I hit the leaf of a tree, it displays
> "tree->Draw("leaf")" on the command line of a CINT? I've seen people using
> ROOT with this feature, but they couldn't tell what was the magic. I tried
> to look into .rootrc file to see whether there's any obvious flag that I
> could set, with no suscess. I am using ROOT 3.05/07 with gcc 3.0.4 on a
> RH9 box. 
> 
> Thanks in advance!
> Jianglai
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET