Rene Brun
//////////////////////////////////////////////////////////////////////////
// //
// RMain //
// //
// Main program used to create RINT application. //
// //
//////////////////////////////////////////////////////////////////////////
//*KEEP,TROOT.
#include "TROOT.h"
//*KEEP,TRint.
#include "TRint.h"
//*KEND.
extern void InitGui();
VoidFuncPtr_t initfuncs[] = { InitGui, 0 };
TROOT root("Rint","The ROOT Interactive Interface", initfuncs);
//______________________________________________________________________________
int main(int argc, char **argv)
{
#ifndef WIN32
char appname[] = "Rint";
#else
char appname[] = "Root_Rint";
#endif
TRint *theApp = new TRint(appname, &argc, argv, 0, 0);
// Init Intrinsics, build all windows, and enter event loop
theApp->Run();
delete theApp;
return(0);
}
On Mon, 24 May 1999, Ulrich Jost wrote:
> Hello,
>
> is it possible to get a 'full' root session within a program using a TRint
> object? Eg when you have a TGraph, in a root session you can select the
> graph or points of it, pop up a menu to change its properties etc which is
> not possible using a program. Maybe via one of the options of the TRint
> constructor? I couldn't find them explained.
>
> Thanks, Ulrich
>
>