Hi Thomas, The GUI classes are not supposed to work in batch mode. You should use directly TCanvas. Rene Brun On Fri, 21 Nov 2003, Thomas Bretz wrote: > Hi Rene, > > I have a class displaying several histograms in several > TRootEmbeddedCanvases in TGMainFrame. > >From this display I create nice Postscript files. > This I want to do in Batch-mode, too. > > In older root version it was very simple: I replaced my > TRootEmbeddedCanvas Canvases by TCanvases and everything worked fine. Now > the constructor of TGMainFrame crashes... > > Thomas. > > > On Fri, 21 Nov 2003, Rene Brun wrote: > > > Hi Thomas, > > > > Are you sure that you are not confusing TGMainFrame and TCanvas ? > > What is the meaning of instantiating a GUI class in batch mode? > > > > Rene Brun > > > > Thomas Bretz wrote: > > > > > > Dear all, > > > > > > I have a TGMainFrame(0, 100, 100) in my program. In later root versions, > > > this worked fine also in batch mode. With root 3.05/07 I get a crash in > > > the constructor of TGMainFrame... any idea? > > > > > > Sorry, I have no more information. To reproduce it it is enough to do: > > > root -b > > > [0] TGMainFrame frame(0, 100, 100); > > > > > > Thanks, > > > Thomas. > > > > ----- > Würden Sie Windows 95 die Kontrolle eines AKWs überlassen? > Hiroshima '45...! Tschernobyl '86...!! Windows 95...!!! > Unix ist benutzerfreundlich - es ist nur etwas wählerisch..." (Walter Misar) > Was sagt ein arbeitsloser Physiker zu einem Physiker mit Arbeit? > - "Eine Currywurst mit Pommes bitte!" >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET