You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
0 commit comments