Dear Valeriy Thank you for the link to your example. Best regards Christian Valeriy Onuchin wrote: > Hi Christian > > > >>Dear Fons, dear Rooters >> >>Sorrowly, I am still confused: >>What do I need to do in order to implement both TGListTree and >>TRootIconBox of TRootBrowser as frames embedded in my own >>GUI application? >> >>a) Is it possible to create the following class: >> class TBrowseFrame: public TGCompositeFrame, public TBrowserImp >>Can I then embed this class in my own application? >>Does TBrowserImp then call my class TBrowseFrame or does >>it always call TRootBrowser? >> >>b) Since all objects which inherit from TObject have a method: >>TObject::Browse(TBrowser *b), is it possible to overwrite class >>TBrowser with the following class: >> class MyBrowser: public TBrowser >>Will then class MyBrowser be called? >>If I do this, how can I avoid that the constructor of TBrowser >>calls: fImp = gGuiFactory->CreateBrowserImp(this, title, w, h); >> >> >> > >Good example of class derived from TBrowser is >http://carrot.cern.ch/CarrotExamples/classref/TApacheBrowser.html > >HTH. Regards. Valeriy > > > > > >>Thank you in advance for your help >> >>Best regards >>Christian >> >> >> >>Fons Rademakers wrote: >> >> >>
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET