Thomas Lauf <thl_at_hll.mpg.de> writes:
> So far, so good. I now want to have a thread clicking the button for me.
> I created a thread routine to which I hand over a pointer to the
> producer and the thread then calls the same function as the button on
> a regular basis. This works as long as I do not draw to a canvas, or
> more exactly as long as I do not update the canvas within the thread.
How about replacing your button pushing thread with a TTimer?
http://root.cern.ch/root/html/TTimer.html
-Brett.
This archive was generated by hypermail 2.2.0 : Mon Aug 22 2011 - 17:50:02 CEST