RE: [ROOT] Recursive usage of the tab completion

From: Philippe Canal (pcanal@fnal.gov)
Date: Tue Mar 09 2004 - 21:49:38 MET


Hi Stelios,

> Is this a feature of ROOT or do I have to set something up on my
environment?

This is a current limitation of the system.
To emulate this behavior you have to use 2 steps:
        l = gROOT->GetListOfCanvases();
        l->FindObj<TAB>

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Stilianos Kesisoglou
Sent: Saturday, March 06, 2004 9:53 PM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] Recursive usage of the tab completion


Hi,

    When working with ROOT interactively, someone can complete
the line he/she is typing by hitting the TAB button.

    This is very useful because it helps finding methods etc associated
with the object (although doesn't provide the full list).

    But this completion doesn't seem to work in more than one level deep.

    For example:

        TCanvas c1("c1");
        TCanvas c2("c2");

        gROOT->GetListOfCanv<TAB>

works ok, but

        gROOT->GetListOfCanvases()->FindObj<TAB>

doesn't


    Is this a feature of ROOT or do I have to set something up on my
environment?

    Thanks!

Stelios.


#################################################################
#################################################################
#################################################################
#####
#####
#####
#################################################################
#################################################################
#################################################################



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