[ROOT] using TTimer

From: Ivan Storgaard Vogelius (ivansv@ifa.au.dk)
Date: Mon May 07 2001 - 16:04:21 MEST


Hi!
	I want to create a TTimer to update interactions with canvas
regularly. I tried to do the following:
  TTimer *timer= new TTimer(500, kTRUE); 
  timer->SetCommand("gSystem->ProcessEvents()"); 
  timer->TurnOn();

But It causes the programme to crash(in CINT or compiled). How should it
be done?

	Thanks
	Ivan



This archive was generated by hypermail 2b29 : Fri Jun 08 2001 - 11:51:24 MEST