Re: TControlBar

From: Michael Katz-Hyman (michaelk@jlab.org)
Date: Fri Jul 30 1999 - 14:08:04 MEST


No,

it is more like calling a function which connnects to a running analyzer
and gets the next event.  According to the documentation TControlBar can
only call functions known to the interpreter, right? or is there a way to
have it call functions in compile c++-code.

Mike

On Fri, 30 Jul 1999, Rene Brun wrote:

> Hi Michael,
> Yes this is possible.
> I suspect that in your code you have a statement like
>   gROOT->Reset();
> 
> Rene Brun
> 
> > 
> > Can I get buttons in TControlBar to call a function defined in the same
> > class as a TControlBar is defined?  That is, when I try to call a function
> > (which is defined in the same class that a TControlBar is created)
> > from TControlBar I get a:
> > 
> > Error: No symbol function_name() in current scope  FILE:/tmp/12437aaa LINE:1
> > 
> > Basically i don't want TControlBar to be passing function names to root to
> > interprete it, I want TControlBar to be calling functions directly.
> > 
> > Michaelk
> 



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