Re: [ROOT] Unwanted TRootBrowser

From: Valeri Fine (fine@bnl.gov)
Date: Sun Mar 17 2002 - 00:32:03 MET


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