Re: [BLAST_ANAWARE] monitor

From: Adrian T Sindile (asindile@cisunix.unh.edu)
Date: Sun May 23 2004 - 16:39:38 EDT


Hi, Pete!

> I will take a
> look at VZ's OnlineGUI (unless there is a simpler model out there that
> someone can recommend?)

Here is the simplest GUI example I wrote three years ago. For the TGui.h
class I wrote for the automated TOF gainmatcher in the DTF, please look in
the /home/blast/adrian/TOF/ directory (I was using an older ROOT version
then, some ROOT functions might be different now):

#include "TGui.h"

extern void InitGui();

VoidFuncPtr_t initfuncs[] = {InitGui, 0};

TROOT root("GUI", "GUI test environment", initfuncs);

int main(int argc, char **argv)
{

  TApplication theApp("App", &argc, argv);

  TGui *gui;
  gui = new TGui(gClient->GetRoot(), 800, 400);

  theApp.Run();

  return 0;

}



This archive was generated by hypermail 2.1.2 : Mon Feb 24 2014 - 14:07:31 EST