Re: New GUI HowTo...

From: Fons Rademakers (rdm@pcsalo.cern.ch)
Date: Thu Jun 24 1999 - 00:24:52 MEST


Hi Jayoung,

   the XClass tutorial is only meant to give a taste of the flavour of
the toolkit from which the ROOT GUI classes are derived. All ROOT GUI
classes start with TGxxxxx and the member function names have been made
compliant with the ROOT conventions. For ROOT code examples see everything
except the XClass tutorials. Everything should work fine on Dec Alpha.

Cheers, Fons.



> 
> I have trouble with XClass Tutorials in web site "How to Use the ROOT GUI
> Classes".
> 
> For example, when I tried to compile the following simple example
> I have compile error. It does not locate xclass/OXClient.h.
> Is that xclass for Window95 only? My machine is Dec Alpha(OSF1).
> 
> Where can I get the xclass for Dec Alpha(OSF1)? 
> 
> 
> 
>   1   // simple.cc: simple xclass application
>   2 
>   3   #include <xclass/OXClient.h>
>   4   #include <xclass/OXFrame.h>
>   5
>   6   main()
>   7   {
>   8     OXClient *clientX = new OXClient;
>   9
>  10     OXMainFrame mainWindow(clientX->GetRoot(), 150, 100);
>  11     mainWindow.MapWindow();
>  12     clientX->Run();
>  13   } 
> 
> Thanks,
> Jayoung
> 
> 

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:34 MET