Skip to content
Snippets Groups Projects
Commit c55608a9 authored by Fons Rademakers's avatar Fons Rademakers
Browse files

added method RefreshBrowsers().

git-svn-id: http://root.cern.ch/svn/root/trunk@5016 27541ba8-7e3a-0410-8455-c3a389f83636
parent de7f6512
Branches
Tags
No related merge requests found
// @(#)root/base:$Name: $:$Id: TROOT.h,v 1.27 2002/07/09 21:13:28 brun Exp $ // @(#)root/base:$Name: $:$Id: TROOT.h,v 1.28 2002/07/19 11:42:32 rdm Exp $
// Author: Rene Brun 08/12/94 // Author: Rene Brun 08/12/94
/************************************************************************* /*************************************************************************
...@@ -204,6 +204,7 @@ public: ...@@ -204,6 +204,7 @@ public:
Long_t ProcessLineFast(const char *line, Int_t *error = 0); Long_t ProcessLineFast(const char *line, Int_t *error = 0);
void Proof(const char *cluster = "proof://localhost"); void Proof(const char *cluster = "proof://localhost");
Bool_t ReadingObject() const { return fReadingObject; } Bool_t ReadingObject() const { return fReadingObject; }
void RefreshBrowsers();
void RemoveClass(TClass *); void RemoveClass(TClass *);
void Reset(Option_t *option=""); void Reset(Option_t *option="");
void SaveContext(); void SaveContext();
......
// @(#)root/base:$Name: $:$Id: TROOT.cxx,v 1.74 2002/07/13 16:19:26 brun Exp $ // @(#)root/base:$Name: $:$Id: TROOT.cxx,v 1.75 2002/07/24 13:21:08 rdm Exp $
// Author: Rene Brun 08/12/94 // Author: Rene Brun 08/12/94
/************************************************************************* /*************************************************************************
...@@ -1474,6 +1474,21 @@ void TROOT::Proof(const char *cluster) ...@@ -1474,6 +1474,21 @@ void TROOT::Proof(const char *cluster)
ProcessLine(Form("new TProof(\"%s\");", cluster)); ProcessLine(Form("new TProof(\"%s\");", cluster));
} }
//______________________________________________________________________________
void TROOT::RefreshBrowsers()
{
// Refresh all browsers. Call this method when some command line
// command or script has changed the browser contents. Not needed
// for objects that have the kMustCleanup bit set. Most useful to
// update browsers that show the file system or other objects external
// to the running ROOT session.
TIter next(GetListOfBrowsers());
TBrowser *b;
while ((b = (TBrowser*) next()))
b->SetRefreshFlag(kTRUE);
}
//______________________________________________________________________________ //______________________________________________________________________________
void TROOT::RemoveClass(TClass *oldcl) void TROOT::RemoveClass(TClass *oldcl)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment