Re: [ROOT] Unwanted TRootBrowser

From: Simon Dean (sdean@hep.man.ac.uk)
Date: Sun Mar 17 2002 - 00:57:37 MET


Well, I'm not sure I understand it myself. I have basically attempted to
start modifying the TRootBrowser code to suit my own needs. TRootBrowser
accepts a TBrowser as input and within the ROOT code, this is a pure
TBrowser. However, in my case the TBrowser is already supplied as a
TRootBrowser so my program produces a modified TRootBrowser based on
another TRootBrowser! 

cheers,

Simon

On Sat, 16 Mar 2002, Valeri Fine wrote:

> The implementation of TBrowserImp is provided but TGuiFactory class.
> This means to get his own TBrowserImp one has to provide the custom
> version of  TGuiFactory. So far so good. Alas the name of the share libary
> with the "custom" version of TGuiFactory class implementation is hardcoded
> by TApplication class
> 
> See:
> http://root.cern.ch/root/htmldoc/src/TApplication.cxx.html#TApplication:Load
> GraphicsLibs
> 
> It  sounds it is not trivial  to do what you want.
> (May be Fons will correct me). By the way I can image why you did
> get TRootBrowser but how did you manange to get your browser as well ?
> 
>         Cheers, Valeri
> 
> 
> ----- Original Message -----
> From: "Simon Dean" <sdean@hep.man.ac.uk>
> To: <roottalk@pcroot.cern.ch>
> Sent: Saturday, March 16, 2002 6:09 PM
> Subject: [ROOT] Unwanted TRootBrowser
> 
> 
> > Hi there,
> >
> > I'm trying to code a class which inherits from TBrowserImp. The problem is
> > that whenever I initialise a TBrowser to pass into my class, the system
> > decides for me that I actually want a TRootBrowser. This is quite annoying
> > and I end up with two GUIs on screen neither of which is what I want.
> >
> > How can I get round this?
> >
> > cheers,
> >
> > Simon
> >
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:46 MET