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

From Bertrand:

merged bertrand dev branch changes r20120:20514 into the trunk.

Main new feature is the new TBrowser. To turn it on by default
change the Browser.Name option in rootrc.

Here the detailed ChangeLog:

- Renamed TRootBrowser TRootBrowserLite
 - Introduced the new class TRootBrowser, consisting of three 
   main tabs, as shown below:
    ______________
   |   |          |
   |   |          |
   |   |__________|
   |   |          |
   |___|__________|
   
   All tabs can 'swallow' frames, thanks to the new method:
      ExecPlugin(const char *name = 0, const char *fname = 0, 
                 const char *cmd = 0, Int_t pos = kRight, 
                 Int_t subpos = -1)
   allowing to select plugins (can be a macro or a command) 
   to be executed, and where to embed the frame created by 
   the plugin. Examples:

   // create a new browser:
   TBrowser b;

   // create a new TCanvas in a new top right tab element:
   b.ExecPlugin("Canvas", 0, "new TCanvas()");
   
   // creates a new top right tab element embedding the 
   // TGMainFrame created by the macro 'myMacro.C': 
   b.ExecPlugin("MyPlugin", "myMacro.C");
 
   // creates a new bottom tab element embedding the 
   // TGMainFrame created by the macro 'myMacro.C': 
   b.ExecPlugin("MyPlugin", "myMacro.C", 0, TRootBrowser::kBottom);
 
 - new class TGFileBrowser, a file browser plugin for the new TRootBrowser
 - new class TGCommandPlugin, a command I/O plugin for the new TRootBrowser
 - new class TGHtmlBrowser, a html browser plugin for the new TRootBrowser
 - new TBrowserImp plugin used to load the selected TBrowser implementation
 - the browser implementation can be selected via the env 'Browser.Name' in
   .rootrc, (can be TRootBrowser or TRootBrowserLite) the default being
   TRootBrowserLite
 - a list of options (plugins) for the new TRootBrowser is also specified
   via the env 'Browser.Options' in .rootrc, default being: FEHCI
   Here is the list of available options:
   F: File browser E: Text Editor H: HTML browser C: Canvas I: I/O
   redirection P: Proof G: GL viewer
 - modified TRootGuiFactory, used to create the real TBrowser
   implementation.


git-svn-id: http://root.cern.ch/svn/root/trunk@20516 27541ba8-7e3a-0410-8455-c3a389f83636
parent 455f80e8
No related branches found
No related tags found
Loading
Showing
with 5560 additions and 3019 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment